vue-data-ui 3.1.1 → 3.1.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-xQM7mBzd.js → Arrow-DBaAWGvq.js} +1 -1
- package/dist/{BaseDraggableDialog-B2BQC0-h.js → BaseDraggableDialog-BmN9jTP8.js} +2 -2
- package/dist/{BaseIcon-DLesaZpW.js → BaseIcon-BcOSijbz.js} +5 -3
- package/dist/{ColorPicker-BKvJvFtX.js → ColorPicker-D1yNPt76.js} +2 -2
- package/dist/{DataTable-BAf4Obr9.js → DataTable-Cm8Tt9PQ.js} +2 -2
- package/dist/Legend-5qvgVkrY.js +85 -0
- package/dist/{NonSvgPenAndPaper-Cq4fHmA0.js → NonSvgPenAndPaper-D3QGd7vP.js} +3 -3
- package/dist/{PackageVersion-Cv_ypT0N.js → PackageVersion-0XlRFsI_.js} +1 -1
- package/dist/{PenAndPaper-B6OvfyHH.js → PenAndPaper-CyH7Ip2i.js} +3 -3
- package/dist/{Shape-Cjca5zta.js → Shape-DiplSMFy.js} +1 -1
- package/dist/{Slicer-6w3K8gAc.js → Slicer-DG99wPTy.js} +11 -9
- package/dist/{SparkTooltip-BV4Z-NMp.js → SparkTooltip-VveQSwlw.js} +1 -1
- package/dist/Title-CqYBs02Y.js +88 -0
- package/dist/{Tooltip-BTGOEC7w.js → Tooltip-CP0tVHAf.js} +1 -1
- package/dist/{UserOptions-CsDlFB0L.js → UserOptions-ZmwlARCV.js} +125 -108
- package/dist/{dom-to-png-BOu5-Ohz.js → dom-to-png-DGA4a3xT.js} +1 -1
- package/dist/{img-gBDz7xQQ.js → img-DSrvx9J6.js} +1 -1
- package/dist/{index-BKQqb9lF.js → index-CaxArMHL.js} +97 -74
- package/dist/pdf-BG8PiGFH.js +79 -0
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +28 -3
- package/dist/types/vue-data-ui.d.ts +28 -3
- package/dist/{useAutoSizeLabelsInsideViewbox-IO2dh0Uq.js → useAutoSizeLabelsInsideViewbox-DmtFf4bt.js} +1 -1
- package/dist/{useNestedProp-aBOhgs4U.js → useNestedProp-tWT02_6S.js} +1 -1
- package/dist/{usePrinter-BzuXiubT.js → usePrinter-BYtPmEo8.js} +13 -12
- package/dist/{vue-data-ui-B6eM6hF3.js → vue-data-ui-DVb8r5z7.js} +64 -64
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-DBeWmnvH.js → vue-ui-3d-bar-BLKyWpz7.js} +371 -366
- package/dist/{vue-ui-accordion-B5QeV3BK.js → vue-ui-accordion-DUlNpLir.js} +3 -3
- package/dist/{vue-ui-age-pyramid-rZFdUsgz.js → vue-ui-age-pyramid-LLqbXP1m.js} +200 -195
- package/dist/{vue-ui-annotator-CCCuslrT.js → vue-ui-annotator-CcYIlcKF.js} +2 -2
- package/dist/{vue-ui-bullet-DhJf9mvK.js → vue-ui-bullet-BKmts_u4.js} +7 -7
- package/dist/{vue-ui-candlestick-CGVtDKqZ.js → vue-ui-candlestick-C9l_NpXu.js} +225 -220
- package/dist/{vue-ui-carousel-table-DLAR3WY8.js → vue-ui-carousel-table-H7xS6aBC.js} +4 -4
- package/dist/{vue-ui-chestnut-BXnSxoXB.js → vue-ui-chestnut-CAW0IOdY.js} +344 -340
- package/dist/{vue-ui-chord-DH_MwAKX.js → vue-ui-chord-CK5YhCqM.js} +272 -266
- package/dist/{vue-ui-circle-pack-Cx_E1R63.js → vue-ui-circle-pack-NLyZgTGF.js} +6 -6
- package/dist/{vue-ui-cursor-CEvH1qDS.js → vue-ui-cursor-CyGUrKWU.js} +2 -2
- package/dist/vue-ui-dashboard-Cf5pvEzD.js +412 -0
- package/dist/{vue-ui-digits-PTozKs3l.js → vue-ui-digits-BZWwwp7c.js} +2 -2
- package/dist/{vue-ui-donut-evolution-DD7o-CxF.js → vue-ui-donut-evolution-CaEYMVZj.js} +310 -304
- package/dist/{vue-ui-donut-CsEtKJJD.js → vue-ui-donut-g1WHrj6G.js} +348 -343
- package/dist/{vue-ui-dumbbell-DfPYl3fu.js → vue-ui-dumbbell-BArS1nXS.js} +293 -287
- package/dist/{vue-ui-flow-CSTTZHwg.js → vue-ui-flow-BR0CB5qt.js} +263 -257
- package/dist/{vue-ui-funnel-C-NUZqIo.js → vue-ui-funnel-D2OCItvq.js} +206 -200
- package/dist/{vue-ui-galaxy-BwsZnU6T.js → vue-ui-galaxy-qgGF1AAf.js} +243 -238
- package/dist/{vue-ui-gauge-D9MUneq0.js → vue-ui-gauge-BIXmGyQL.js} +7 -7
- package/dist/{vue-ui-gizmo-Dnzs9wSf.js → vue-ui-gizmo-DHEoS051.js} +3 -3
- package/dist/{vue-ui-heatmap-CYaQIhy8.js → vue-ui-heatmap-tRzq9BnI.js} +405 -401
- package/dist/{vue-ui-history-plot-DMTFzl-_.js → vue-ui-history-plot-DmwHhrDk.js} +305 -299
- package/dist/{vue-ui-kpi-CkPotdff.js → vue-ui-kpi-C2b2R5i1.js} +3 -3
- package/dist/{vue-ui-mini-loader-CCE-bDOJ.js → vue-ui-mini-loader-Bs1Mi1tD.js} +2 -2
- package/dist/{vue-ui-molecule-DaN5lroq.js → vue-ui-molecule-BsUvf2v7.js} +188 -183
- package/dist/{vue-ui-mood-radar-tM0mmZh8.js → vue-ui-mood-radar-D3JIpVvX.js} +197 -192
- package/dist/{vue-ui-nested-donuts-RB4r6beI.js → vue-ui-nested-donuts-dJEgQXTH.js} +326 -320
- package/dist/{vue-ui-onion-CxDozHg3.js → vue-ui-onion-D8dF1DdA.js} +8 -8
- package/dist/{vue-ui-parallel-coordinate-plot-CK9nNExU.js → vue-ui-parallel-coordinate-plot-LmFsg7UA.js} +401 -395
- package/dist/{vue-ui-quadrant-C7tLJYn7.js → vue-ui-quadrant-C4O8ki4N.js} +339 -334
- package/dist/{vue-ui-quick-chart-MUBAkrHb.js → vue-ui-quick-chart-6bEtTQBG.js} +6 -6
- package/dist/{vue-ui-radar-Br4K80I9.js → vue-ui-radar-CfjGWGk3.js} +248 -243
- package/dist/{vue-ui-rating-NtvT9r_M.js → vue-ui-rating-D3WSs2OD.js} +2 -2
- package/dist/{vue-ui-relation-circle-CPQjAy1g.js → vue-ui-relation-circle-DzTfi7Tf.js} +7 -7
- package/dist/{vue-ui-ridgeline-C2M_Cjlh.js → vue-ui-ridgeline-NtYOJvDy.js} +267 -263
- package/dist/{vue-ui-rings-DEru-cWN.js → vue-ui-rings-CYQ4i71V.js} +229 -224
- package/dist/{vue-ui-scatter-CJKkiKle.js → vue-ui-scatter-meJEHdAD.js} +359 -354
- package/dist/{vue-ui-skeleton--twnjS2t.js → vue-ui-skeleton-BtILTxx-.js} +3 -3
- package/dist/{vue-ui-smiley-CNccdPZ7.js → vue-ui-smiley-B5bELpYD.js} +2 -2
- package/dist/{vue-ui-spark-trend-9BFkkC0u.js → vue-ui-spark-trend-lixdWq_N.js} +3 -3
- package/dist/{vue-ui-sparkbar-RYAThoA4.js → vue-ui-sparkbar-CaGPav-J.js} +3 -3
- package/dist/{vue-ui-sparkgauge-DkPlmgMF.js → vue-ui-sparkgauge-BZBGYDjs.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-6EkCyYRF.js → vue-ui-sparkhistogram-Bp6KxpjH.js} +4 -4
- package/dist/{vue-ui-sparkline-Bl3nj8zd.js → vue-ui-sparkline-CF-EAZa6.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-B88lA7iy.js → vue-ui-sparkstackbar-Cj1LAYC8.js} +3 -3
- package/dist/{vue-ui-stackbar-Csj7NhT6.js → vue-ui-stackbar-BrzKhqAK.js} +310 -304
- package/dist/{vue-ui-strip-plot-yY9NsUUI.js → vue-ui-strip-plot-BfVVaSFn.js} +246 -240
- package/dist/{vue-ui-table-Dg6U31ex.js → vue-ui-table-CBzNgzVP.js} +3 -3
- package/dist/{vue-ui-table-heatmap-BWU7CAWP.js → vue-ui-table-heatmap-CKz5bA7N.js} +5 -5
- package/dist/{vue-ui-table-sparkline-DV4Y9aRL.js → vue-ui-table-sparkline-O-Z0YH6u.js} +4 -4
- package/dist/{vue-ui-thermometer-C3fKamV-.js → vue-ui-thermometer-DpNyTGNH.js} +7 -7
- package/dist/{vue-ui-timer-6VAK9XyF.js → vue-ui-timer-uvshaRMI.js} +5 -5
- package/dist/{vue-ui-tiremarks-BB-KAkF7.js → vue-ui-tiremarks-A8Akuz-q.js} +6 -6
- package/dist/{vue-ui-treemap-GrXkD_3Z.js → vue-ui-treemap-Dvmuo3tM.js} +262 -256
- package/dist/{vue-ui-vertical-bar-Mmz6u4aX.js → vue-ui-vertical-bar-eMgRMSKN.js} +310 -306
- package/dist/{vue-ui-waffle-DzPVRUOA.js → vue-ui-waffle-Cm8VfnG8.js} +257 -252
- package/dist/{vue-ui-wheel-idRCvS5t.js → vue-ui-wheel-Bhsklf_m.js} +6 -6
- package/dist/vue-ui-word-cloud-C9HGLsG4.js +817 -0
- package/dist/{vue-ui-world-D6s5Eph8.js → vue-ui-world-B_MrjwGJ.js} +257 -252
- package/dist/{vue-ui-xy-BKTGSvfU.js → vue-ui-xy-DnYJw2aS.js} +1448 -1438
- package/dist/{vue-ui-xy-canvas-BOQyxVRl.js → vue-ui-xy-canvas-C0Snw0Dz.js} +235 -229
- package/package.json +1 -1
- package/dist/Legend-8_V5egWW.js +0 -72
- package/dist/Title-Dz-j6ERs.js +0 -61
- package/dist/pdf-Cjsn5GEE.js +0 -61
- package/dist/vue-ui-dashboard-CvduVgEy.js +0 -325
- package/dist/vue-ui-word-cloud-B2641uNP.js +0 -811
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
import { defineAsyncComponent as se, computed as W, ref as M, toRefs as
|
|
2
|
-
import { u as
|
|
3
|
-
import { t as
|
|
4
|
-
import { u as
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as
|
|
7
|
-
import { u as
|
|
1
|
+
import { defineAsyncComponent as se, computed as W, ref as M, toRefs as il, watch as Be, shallowRef as Lt, onMounted as rl, onBeforeUnmount as vl, createElementBlock as y, openBlock as r, unref as c, normalizeStyle as ne, normalizeClass as Bt, createBlock as le, createCommentVNode as x, createElementVNode as w, createVNode as $e, createSlots as Tt, withCtx as X, renderSlot as V, normalizeProps as fe, guardReactiveProps as pe, Fragment as Z, renderList as K, toDisplayString as G, Teleport as yl, resolveDynamicComponent as cl, mergeProps as dl, createTextVNode as zt, nextTick as hl } from "vue";
|
|
2
|
+
import { u as fl, c as pl, t as gl, a as ml, p as ye, b as xl, o as Pt, f as Je, d as bl, g as Ot, Y as kl, e as Ke, a3 as wl, V as _l, s as Te, X as $l, Z as Ml, k as ue, h as q, i as Q, v as Cl, w as Al, y as Sl, z as Ll } from "./index-CaxArMHL.js";
|
|
3
|
+
import { t as Bl, u as Tl } from "./useResponsive-DfdjqQps.js";
|
|
4
|
+
import { u as zl, B as Pl } from "./BaseScanner-BgWxam9d.js";
|
|
5
|
+
import { u as Ol } from "./usePrinter-BYtPmEo8.js";
|
|
6
|
+
import { u as Dt } from "./useNestedProp-tWT02_6S.js";
|
|
7
|
+
import { u as Dl } from "./useUserOptionState-BIvW1Kz7.js";
|
|
8
8
|
import { u as El } from "./useChartAccessibility-9icAAmYg.js";
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import { _ as
|
|
12
|
-
import
|
|
13
|
-
import { _ as
|
|
14
|
-
const
|
|
9
|
+
import Wl from "./Legend-5qvgVkrY.js";
|
|
10
|
+
import Nl from "./Title-CqYBs02Y.js";
|
|
11
|
+
import { _ as Qe } from "./Shape-DiplSMFy.js";
|
|
12
|
+
import Fl from "./img-DSrvx9J6.js";
|
|
13
|
+
import { _ as Il } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
14
|
+
const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], Vl = ["width", "height"], jl = { key: 1 }, Ul = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Gl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ql = { key: 2 }, Hl = ["id"], Zl = ["stop-color"], Jl = ["stop-color"], Kl = ["id"], Ql = ["stop-color"], ea = ["stop-color"], ta = ["x", "y", "width", "height", "fill", "stroke", "stroke-width", "rx"], la = ["x", "y", "width", "height", "onMouseenter"], aa = {
|
|
15
15
|
key: 2,
|
|
16
16
|
style: { "pointer-events": "none" }
|
|
17
|
-
},
|
|
17
|
+
}, oa = ["x", "y", "width", "height", "fill", "fill-opacity"], sa = ["x1", "x2", "y2", "stroke", "stroke-dasharray", "stroke-width"], na = ["x1", "x2", "y2", "stroke", "stroke-dasharray", "stroke-width"], ua = ["x", "y", "height", "width", "fill", "stroke", "stroke-width", "rx"], ia = ["x", "y", "width", "height", "onMouseenter"], ra = {
|
|
18
18
|
key: 2,
|
|
19
19
|
style: { "pointer-events": "none" }
|
|
20
|
-
},
|
|
20
|
+
}, va = ["x", "y", "width", "height", "fill", "fill-opacity"], ya = ["x1", "x2", "y1", "y2", "stroke", "stroke-dasharray", "stroke-width"], ca = ["x1", "x2", "y1", "y2", "stroke", "stroke-dasharray", "stroke-width"], da = {
|
|
21
21
|
key: 0,
|
|
22
22
|
style: { "pointer-events": "none" }
|
|
23
|
-
},
|
|
23
|
+
}, ha = ["d", "stroke", "stroke-width"], fa = ["d", "stroke", "stroke-width"], pa = ["d", "stroke", "stroke-width"], ga = ["d", "stroke", "stroke-width"], ma = { key: 3 }, xa = ["points", "fill", "stroke-width", "stroke-dasharray", "stroke"], ba = { key: 0 }, ka = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onMouseover", "onMouseleave", "onClick"], wa = { key: 1 }, _a = ["clip-path"], $a = ["d", "fill", "stroke", "stroke-width", "stroke-opacity"], Ma = {
|
|
24
24
|
key: 0,
|
|
25
25
|
style: { "pointer-events": "none" }
|
|
26
|
-
},
|
|
26
|
+
}, Ca = ["x", "y", "width", "height"], Aa = {
|
|
27
27
|
key: 6,
|
|
28
28
|
style: { "pointer-events": "none !important" }
|
|
29
|
-
},
|
|
29
|
+
}, Sa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], La = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Ba = ["x", "y", "font-size", "fill", "font-weight", "text-anchor"], Ta = ["x", "y", "font-size", "fill", "font-weight"], za = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Pa = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Oa = ["x", "y", "font-size", "fill", "font-weight", "text-anchor"], Da = ["id", "transform", "font-size", "font-weight", "fill"], Ea = ["font-size", "fill", "transform"], Wa = ["transform", "font-size", "fill"], Na = ["x", "y", "font-size", "fill"], Fa = ["x", "y", "font-size", "fill"], Ia = ["font-size", "font-weight", "fill", "x", "y"], Xa = ["id"], Ya = ["x", "y", "width", "height"], Ra = {
|
|
30
30
|
key: 11,
|
|
31
31
|
style: { pointerEvents: "none" }
|
|
32
|
-
},
|
|
32
|
+
}, Va = ["x1", "x2", "y1", "y2", "stroke-dasharray", "stroke", "stroke-width", "clip-path"], ja = ["x", "y", "fill", "font-size", "font-weight"], Ua = {
|
|
33
33
|
key: 4,
|
|
34
34
|
class: "vue-data-ui-watermark"
|
|
35
|
-
},
|
|
35
|
+
}, Ga = ["id"], qa = ["onClick"], Ha = {
|
|
36
36
|
key: 0,
|
|
37
37
|
style: { width: "100%", display: "flex", "align-items": "center", "justify-content": "center" }
|
|
38
|
-
},
|
|
38
|
+
}, Za = {
|
|
39
39
|
viewBox: "0 0 20 20",
|
|
40
40
|
height: "20",
|
|
41
41
|
width: "20",
|
|
42
42
|
style: { overflow: "hidden", background: "transparent" }
|
|
43
|
-
},
|
|
43
|
+
}, Ja = { key: 0 }, Ka = ["innerHTML"], Qa = {
|
|
44
44
|
__name: "vue-ui-scatter",
|
|
45
45
|
props: {
|
|
46
46
|
config: {
|
|
@@ -56,9 +56,9 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
|
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
},
|
|
59
|
-
setup(
|
|
60
|
-
const
|
|
61
|
-
function
|
|
59
|
+
setup(Et, { expose: Wt }) {
|
|
60
|
+
const Nt = se(() => import("./Tooltip-CP0tVHAf.js")), Ft = se(() => import("./BaseIcon-BcOSijbz.js")), It = se(() => import("./vue-ui-accordion-DUlNpLir.js")), Xt = se(() => import("./DataTable-Cm8Tt9PQ.js")), Yt = se(() => import("./PenAndPaper-CyH7Ip2i.js")), Rt = se(() => import("./UserOptions-ZmwlARCV.js")), Vt = se(() => import("./PackageVersion-0XlRFsI_.js")), jt = se(() => import("./BaseDraggableDialog-BmN9jTP8.js")), { vue_ui_scatter: Ut } = fl(), ee = Et, et = W(() => !!ee.dataset && ee.dataset.length), N = M(pl()), ze = M(!1), Pe = M(""), tt = M(0), te = M(null), lt = M(null), at = M(null), ot = M(null), st = M(null), nt = M(0), ut = M(0), it = M(0), F = M([]), rt = M(!1), ge = M(null), me = M(null), xe = M(null), Oe = M(null), De = M(null), Gt = M(null), qt = M(null), Ee = M(null), e = M(Xe());
|
|
61
|
+
function Ht(l = 100, s = 0.8, t = {}) {
|
|
62
62
|
const { meanX: o = 0, sdX: a = 1, meanY: u = 0, sdY: i = 1, seed: f } = t;
|
|
63
63
|
let v = (f ?? Math.floor(Math.random() * 2 ** 31)) >>> 0;
|
|
64
64
|
const g = () => (v = v * 1664525 + 1013904223 >>> 0, v / 2 ** 32), L = () => {
|
|
@@ -66,31 +66,31 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
|
|
|
66
66
|
for (; m === 0; ) m = g();
|
|
67
67
|
for (; O === 0; ) O = g();
|
|
68
68
|
return Math.sqrt(-2 * Math.log(m)) * Math.cos(2 * Math.PI * O);
|
|
69
|
-
}, d = l / 2,
|
|
69
|
+
}, d = l / 2, $ = Array.from({ length: d }, L), P = Array.from({ length: d }, L), C = (m) => m.reduce((O, _e) => O + _e, 0) / m.length, T = C($), I = C(P);
|
|
70
70
|
for (let m = 0; m < d; m += 1)
|
|
71
|
-
|
|
72
|
-
const B = (m, O) => m.reduce((
|
|
71
|
+
$[m] -= T, P[m] -= I;
|
|
72
|
+
const B = (m, O) => m.reduce((_e, Le, Ze) => _e + Le * O[Ze], 0), _ = (m) => B(m, m), h = B(P, $) / _($), S = P.map((m, O) => m - h * $[O]), U = _($) / d, J = _(S) / d, oe = Math.sqrt((1 - s * s) * U / J), R = $.map((m, O) => s * m + oe * S[O]), ve = $.concat($.map((m) => -m)), He = R.concat(R.map((m) => -m)), ke = (m) => Math.sqrt(_(m) / m.length), de = (m, O, _e) => {
|
|
73
73
|
const Le = ke(m);
|
|
74
|
-
return m.map((
|
|
75
|
-
}, he = de(ve, a, o), we = de(
|
|
74
|
+
return m.map((Ze) => _e + (Le ? Ze / Le * O : 0));
|
|
75
|
+
}, he = de(ve, a, o), we = de(He, i, u);
|
|
76
76
|
for (let m = he.length - 1; m > 0; m -= 1) {
|
|
77
77
|
const O = Math.floor(g() * (m + 1));
|
|
78
78
|
[he[m], he[O]] = [he[O], he[m]], [we[m], we[O]] = [we[O], we[m]];
|
|
79
79
|
}
|
|
80
80
|
return he.map((m, O) => ({ x: m, y: we[O] }));
|
|
81
81
|
}
|
|
82
|
-
const { loading:
|
|
83
|
-
...
|
|
82
|
+
const { loading: vt, FINAL_DATASET: We, manualLoading: Ne } = zl({
|
|
83
|
+
...il(ee),
|
|
84
84
|
FINAL_CONFIG: e,
|
|
85
|
-
prepareConfig:
|
|
85
|
+
prepareConfig: Xe,
|
|
86
86
|
skeletonDataset: [
|
|
87
87
|
{
|
|
88
88
|
name: "",
|
|
89
89
|
color: "#999999",
|
|
90
|
-
values:
|
|
90
|
+
values: Ht(100, 0.5, { seed: 42 })
|
|
91
91
|
}
|
|
92
92
|
],
|
|
93
|
-
skeletonConfig:
|
|
93
|
+
skeletonConfig: gl({
|
|
94
94
|
defaultConfig: e.value,
|
|
95
95
|
userConfig: {
|
|
96
96
|
userOptions: { show: !1 },
|
|
@@ -123,22 +123,22 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
|
|
|
123
123
|
}
|
|
124
124
|
}
|
|
125
125
|
})
|
|
126
|
-
}), { userOptionsVisible:
|
|
127
|
-
function
|
|
128
|
-
const l =
|
|
126
|
+
}), { userOptionsVisible: Fe, setUserOptionsVisibility: yt, keepUserOptionState: ct } = Dl({ config: e.value }), { svgRef: Ie } = El({ config: e.value.style.title });
|
|
127
|
+
function Xe() {
|
|
128
|
+
const l = Dt({
|
|
129
129
|
userConfig: ee.config,
|
|
130
|
-
defaultConfig:
|
|
130
|
+
defaultConfig: Ut
|
|
131
131
|
});
|
|
132
132
|
return l.theme ? {
|
|
133
|
-
...
|
|
134
|
-
userConfig:
|
|
133
|
+
...Dt({
|
|
134
|
+
userConfig: xl.vue_ui_scatter[l.theme] || ee.config,
|
|
135
135
|
defaultConfig: l
|
|
136
136
|
}),
|
|
137
|
-
customPalette:
|
|
137
|
+
customPalette: ml[l.theme] || ye
|
|
138
138
|
} : l;
|
|
139
139
|
}
|
|
140
140
|
Be(() => ee.config, (l) => {
|
|
141
|
-
|
|
141
|
+
vt.value || (e.value = Xe()), Fe.value = !e.value.userOptions.showOnChartHover, ht(), nt.value += 1, ut.value += 1, it.value += 1, H.value.showTable = e.value.table.show, H.value.showTooltip = e.value.style.tooltip.show, dt.value && e.value.usePerformanceMode && console.warn(`VueUiScatter : You are using performance mode
|
|
142
142
|
|
|
143
143
|
- downsampling is disabled in this mode, all plots are rendered
|
|
144
144
|
|
|
@@ -148,82 +148,82 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
|
|
|
148
148
|
|
|
149
149
|
ℹ️ To remove this warning, set config.debug to false.`);
|
|
150
150
|
}, { deep: !0 }), Be(() => ee.dataset, (l) => {
|
|
151
|
-
Array.isArray(l) && l.length > 0 && (
|
|
151
|
+
Array.isArray(l) && l.length > 0 && (Ne.value = !1);
|
|
152
152
|
}, { deep: !0 });
|
|
153
|
-
const ae =
|
|
154
|
-
|
|
155
|
-
|
|
153
|
+
const ae = Lt(null), ce = Lt(null);
|
|
154
|
+
rl(() => {
|
|
155
|
+
rt.value = !0, ht();
|
|
156
156
|
});
|
|
157
|
-
const
|
|
158
|
-
function
|
|
159
|
-
if (
|
|
157
|
+
const dt = W(() => !!e.value.debug);
|
|
158
|
+
function ht() {
|
|
159
|
+
if (Pt(ee.dataset) && (Je({
|
|
160
160
|
componentName: "VueUiScatter",
|
|
161
161
|
type: "dataset",
|
|
162
|
-
debug:
|
|
163
|
-
}),
|
|
164
|
-
const l =
|
|
165
|
-
const { width: s, height: t } =
|
|
162
|
+
debug: dt.value
|
|
163
|
+
}), Ne.value = !0), Pt(ee.dataset) || (Ne.value = e.value.loading), e.value.responsive) {
|
|
164
|
+
const l = Bl(() => {
|
|
165
|
+
const { width: s, height: t } = Tl({
|
|
166
166
|
chart: te.value,
|
|
167
|
-
title: e.value.style.title.text ?
|
|
168
|
-
legend: e.value.style.legend.show ?
|
|
169
|
-
source:
|
|
170
|
-
noTitle:
|
|
167
|
+
title: e.value.style.title.text ? lt.value : null,
|
|
168
|
+
legend: e.value.style.legend.show ? at.value : null,
|
|
169
|
+
source: ot.value,
|
|
170
|
+
noTitle: st.value
|
|
171
171
|
});
|
|
172
172
|
requestAnimationFrame(() => {
|
|
173
|
-
|
|
173
|
+
D.value.width = s, D.value.height = t;
|
|
174
174
|
});
|
|
175
175
|
});
|
|
176
176
|
ae.value && (ce.value && ae.value.unobserve(ce.value), ae.value.disconnect()), ae.value = new ResizeObserver(l), ce.value = te.value.parentNode, ae.value.observe(ce.value);
|
|
177
177
|
}
|
|
178
178
|
}
|
|
179
|
-
|
|
179
|
+
vl(() => {
|
|
180
180
|
ae.value && (ce.value && ae.value.unobserve(ce.value), ae.value.disconnect());
|
|
181
181
|
});
|
|
182
|
-
const { isPrinting:
|
|
182
|
+
const { isPrinting: ft, isImaging: pt, generatePdf: gt, generateImage: mt } = Ol({
|
|
183
183
|
elementId: `vue-ui-scatter_${N.value}`,
|
|
184
184
|
fileName: e.value.style.title.text || "vue-ui-scatter",
|
|
185
185
|
options: e.value.userOptions.print
|
|
186
|
-
}),
|
|
186
|
+
}), Zt = W(() => e.value.userOptions.show && !e.value.style.title.text), xt = W(() => bl(e.value.customPalette)), H = M({
|
|
187
187
|
showTable: e.value.table.show,
|
|
188
188
|
showTooltip: e.value.style.tooltip.show
|
|
189
189
|
});
|
|
190
190
|
Be(e, () => {
|
|
191
|
-
|
|
191
|
+
H.value = {
|
|
192
192
|
showTable: e.value.table.show,
|
|
193
193
|
showTooltip: e.value.style.tooltip.show
|
|
194
194
|
};
|
|
195
195
|
}, { immediate: !0 });
|
|
196
|
-
const
|
|
196
|
+
const D = M({
|
|
197
197
|
height: e.value.style.layout.height,
|
|
198
198
|
width: e.value.style.layout.width
|
|
199
199
|
}), Me = W(() => e.value.style.layout.marginalBars.show ? e.value.style.layout.marginalBars.size + e.value.style.layout.marginalBars.offset : 0), n = W(() => {
|
|
200
200
|
let l = 0, s = 0;
|
|
201
|
-
return
|
|
201
|
+
return De.value && (l = De.value.getBBox().width + 6), Ee.value && (s = Ee.value.getBBox().height + 6), {
|
|
202
202
|
top: e.value.style.layout.padding.top + Me.value + e.value.style.layout.dataLabels.yAxis.fontSize * 2,
|
|
203
|
-
right:
|
|
204
|
-
bottom:
|
|
203
|
+
right: D.value.width - e.value.style.layout.padding.right - Me.value - 6,
|
|
204
|
+
bottom: D.value.height - e.value.style.layout.padding.bottom - s,
|
|
205
205
|
left: e.value.style.layout.padding.left + l,
|
|
206
|
-
height:
|
|
207
|
-
width:
|
|
206
|
+
height: D.value.height - e.value.style.layout.padding.top - e.value.style.layout.padding.bottom - Me.value - s - e.value.style.layout.dataLabels.yAxis.fontSize * 2,
|
|
207
|
+
width: D.value.width - e.value.style.layout.padding.left - e.value.style.layout.padding.right - Me.value - l - 6
|
|
208
208
|
};
|
|
209
209
|
}), z = W(() => {
|
|
210
|
-
|
|
211
|
-
|
|
210
|
+
We.value.forEach((a, u) => {
|
|
211
|
+
Ot({
|
|
212
212
|
datasetObject: a,
|
|
213
213
|
requiredAttributes: ["values"]
|
|
214
214
|
}).forEach((i) => {
|
|
215
|
-
|
|
215
|
+
Je({
|
|
216
216
|
componentName: "VueUiScatter",
|
|
217
217
|
type: "datasetSerieAttribute",
|
|
218
218
|
property: i,
|
|
219
219
|
index: u
|
|
220
220
|
});
|
|
221
221
|
}), a.values && a.values.forEach((i, f) => {
|
|
222
|
-
|
|
222
|
+
Ot({
|
|
223
223
|
datasetObject: i,
|
|
224
224
|
requiredAttributes: ["x", "y"]
|
|
225
225
|
}).forEach((v) => {
|
|
226
|
-
|
|
226
|
+
Je({
|
|
227
227
|
componentName: "VueUiScatter",
|
|
228
228
|
type: "datasetSerieAttribute",
|
|
229
229
|
property: `values.${v}`,
|
|
@@ -234,32 +234,32 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
|
|
|
234
234
|
});
|
|
235
235
|
const l = Math.min(...ie.value.filter((a) => !F.value.includes(a.id)).flatMap((a) => a.values.map((u) => u.x))), s = Math.max(...ie.value.filter((a) => !F.value.includes(a.id)).flatMap((a) => a.values.map((u) => u.x))), t = Math.min(...ie.value.filter((a) => !F.value.includes(a.id)).flatMap((a) => a.values.map((u) => u.y))), o = Math.max(...ie.value.filter((a) => !F.value.includes(a.id)).flatMap((a) => a.values.map((u) => u.y)));
|
|
236
236
|
return { xMin: l >= 0 ? 0 : l, xMax: s, yMin: t >= 0 ? 0 : t, yMax: o };
|
|
237
|
-
}),
|
|
237
|
+
}), E = W(() => ({
|
|
238
238
|
x: n.value.left + Math.abs(z.value.xMin) / (z.value.xMax + Math.abs(z.value.xMin)) * n.value.width,
|
|
239
239
|
y: n.value.bottom - Math.abs(z.value.yMin) / (z.value.yMax + Math.abs(z.value.yMin)) * n.value.height
|
|
240
|
-
})), ie = W(() =>
|
|
240
|
+
})), ie = W(() => We.value.map((l, s) => {
|
|
241
241
|
const t = `cluster_${N.value}_${s}`;
|
|
242
242
|
return {
|
|
243
243
|
...l,
|
|
244
|
-
values:
|
|
244
|
+
values: kl({
|
|
245
245
|
data: l.values,
|
|
246
246
|
threshold: e.value.usePerformanceMode ? l.values.length + 1 : e.value.downsample.threshold
|
|
247
247
|
}),
|
|
248
248
|
id: t,
|
|
249
|
-
color: l.color ? l.color :
|
|
249
|
+
color: l.color ? l.color : xt.value[s] || ye[s] || ye[s % ye.length],
|
|
250
250
|
opacity: F.value.includes(t) ? 0.5 : 1,
|
|
251
251
|
shape: l.shape ?? "circle",
|
|
252
|
-
segregate: () =>
|
|
252
|
+
segregate: () => wt(t),
|
|
253
253
|
isSegregated: F.value.includes(t)
|
|
254
254
|
};
|
|
255
|
-
})),
|
|
255
|
+
})), Jt = W(() => ({
|
|
256
256
|
cy: "scatter-div-legend",
|
|
257
257
|
backgroundColor: e.value.style.legend.backgroundColor,
|
|
258
258
|
color: e.value.style.legend.color,
|
|
259
259
|
fontSize: e.value.style.legend.fontSize,
|
|
260
260
|
paddingBottom: 12,
|
|
261
261
|
fontWeight: e.value.style.legend.bold ? "bold" : ""
|
|
262
|
-
})),
|
|
262
|
+
})), Ye = W(() => ie.value.map((l, s) => ({
|
|
263
263
|
...l,
|
|
264
264
|
plots: l.values.map((t) => ({
|
|
265
265
|
x: n.value.left + (t.x + Math.abs(z.value.xMin)) / (z.value.xMax + Math.abs(z.value.xMin)) * n.value.width,
|
|
@@ -269,29 +269,29 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
|
|
|
269
269
|
name: t.name || ""
|
|
270
270
|
},
|
|
271
271
|
clusterName: l.name,
|
|
272
|
-
color: l.color ? l.color :
|
|
272
|
+
color: l.color ? l.color : xt.value[s] || ye[s] || ye[s % ye.length],
|
|
273
273
|
id: `plot_${N.value}_${Math.random()}`,
|
|
274
274
|
weight: t.weight ?? e.value.style.layout.plots.radius
|
|
275
275
|
}))
|
|
276
276
|
})).filter((l) => !F.value.includes(l.id))), j = W(() => {
|
|
277
277
|
const s = ({ m: t, b: o, rect: a, verticalX: u = null }) => {
|
|
278
|
-
const { left: i, right: f, top: v, bottom: g } = a, L = [], d = (
|
|
279
|
-
Number.isFinite(
|
|
280
|
-
},
|
|
278
|
+
const { left: i, right: f, top: v, bottom: g } = a, L = [], d = (_, h) => {
|
|
279
|
+
Number.isFinite(_) && Number.isFinite(h) && L.push({ x: _, y: h });
|
|
280
|
+
}, $ = ({ x: _, y: h }) => _ >= i - 1e-9 && _ <= f + 1e-9 && h >= v - 1e-9 && h <= g + 1e-9;
|
|
281
281
|
u !== null ? u >= i - 1e-9 && u <= f + 1e-9 && (d(u, v), d(u, g)) : Number.isFinite(t) && (d(i, t * i + o), d(f, t * f + o), Math.abs(t) > 1e-9 ? (d((v - o) / t, v), d((g - o) / t, g)) : o >= v - 1e-9 && o <= g + 1e-9 && (d(i, o), d(f, o)));
|
|
282
|
-
const P = L.filter(
|
|
283
|
-
for (const
|
|
284
|
-
C.some((h) => Math.abs(h.x -
|
|
282
|
+
const P = L.filter($), C = [];
|
|
283
|
+
for (const _ of P)
|
|
284
|
+
C.some((h) => Math.abs(h.x - _.x) < 1e-6 && Math.abs(h.y - _.y) < 1e-6) || C.push(_);
|
|
285
285
|
if (C.length < 2) return null;
|
|
286
286
|
let T = C[0], I = C[1], B = 0;
|
|
287
|
-
for (let
|
|
288
|
-
for (let h =
|
|
289
|
-
const S = C[
|
|
290
|
-
J > B && (B = J, T = C[
|
|
287
|
+
for (let _ = 0; _ < C.length; _ += 1)
|
|
288
|
+
for (let h = _ + 1; h < C.length; h += 1) {
|
|
289
|
+
const S = C[_].x - C[h].x, U = C[_].y - C[h].y, J = S * S + U * U;
|
|
290
|
+
J > B && (B = J, T = C[_], I = C[h]);
|
|
291
291
|
}
|
|
292
292
|
return { x1: T.x, y1: T.y, x2: I.x, y2: I.y };
|
|
293
293
|
};
|
|
294
|
-
return
|
|
294
|
+
return Ye.value.map((t) => {
|
|
295
295
|
const o = t.plots.length, a = t.plots.reduce((h, S) => h + S.x, 0) / o, u = t.plots.reduce((h, S) => h + S.y, 0) / o;
|
|
296
296
|
let i = 0, f = 0;
|
|
297
297
|
for (const h of t.plots) {
|
|
@@ -300,8 +300,8 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
|
|
|
300
300
|
}
|
|
301
301
|
let v, g, L = null;
|
|
302
302
|
f < 1e-9 ? (L = a, v = 1 / 0, g = null) : (v = i / f, g = u - v * a);
|
|
303
|
-
let d,
|
|
304
|
-
L !== null ? (d = 1 / 0,
|
|
303
|
+
let d, $;
|
|
304
|
+
L !== null ? (d = 1 / 0, $ = null) : (d = v, $ = g);
|
|
305
305
|
const P = t.plots.every((h) => h.v && typeof h.v.x == "number" && typeof h.v.y == "number");
|
|
306
306
|
let C = NaN;
|
|
307
307
|
if (o >= 2) {
|
|
@@ -309,7 +309,7 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
|
|
|
309
309
|
P ? (h = t.plots.reduce((R, ve) => R + ve.v.x, 0) / o, S = t.plots.reduce((R, ve) => R + ve.v.y, 0) / o) : (h = a, S = -u);
|
|
310
310
|
let U = 0, J = 0, oe = 0;
|
|
311
311
|
for (const R of t.plots) {
|
|
312
|
-
const ve = P ? R.v.x : R.x,
|
|
312
|
+
const ve = P ? R.v.x : R.x, He = P ? R.v.y : -R.y, ke = ve - h, de = He - S;
|
|
313
313
|
U += ke * de, J += ke * ke, oe += de * de;
|
|
314
314
|
}
|
|
315
315
|
if (J >= 1e-9 && oe >= 1e-9) {
|
|
@@ -317,7 +317,7 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
|
|
|
317
317
|
C = Math.max(-1, Math.min(1, R));
|
|
318
318
|
}
|
|
319
319
|
}
|
|
320
|
-
const T = s({ m: d, b:
|
|
320
|
+
const T = s({ m: d, b: $, rect: n.value, verticalX: L });
|
|
321
321
|
if (!T)
|
|
322
322
|
return {
|
|
323
323
|
...t,
|
|
@@ -327,69 +327,69 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
|
|
|
327
327
|
...h,
|
|
328
328
|
deviation: 0,
|
|
329
329
|
shape: t.shape,
|
|
330
|
-
color:
|
|
330
|
+
color: Ke(t.color)
|
|
331
331
|
}))
|
|
332
332
|
};
|
|
333
|
-
const I = (T.x1 + T.x2) / 2, B = (T.y1 + T.y2) / 2,
|
|
333
|
+
const I = (T.x1 + T.x2) / 2, B = (T.y1 + T.y2) / 2, _ = { x: I, y: B };
|
|
334
334
|
return {
|
|
335
335
|
...t,
|
|
336
|
-
color:
|
|
336
|
+
color: Ke(t.color),
|
|
337
337
|
correlation: {
|
|
338
338
|
...T,
|
|
339
339
|
coefficient: C
|
|
340
340
|
},
|
|
341
|
-
label:
|
|
341
|
+
label: _,
|
|
342
342
|
plots: t.plots.map((h) => {
|
|
343
343
|
let S, U;
|
|
344
|
-
L !== null ? (S = L, U = h.y) : Math.abs(d) < 1e-9 ? (S = h.x, U =
|
|
344
|
+
L !== null ? (S = L, U = h.y) : Math.abs(d) < 1e-9 ? (S = h.x, U = $) : (S = (h.x + d * h.y - d * $) / (1 + d * d), U = (d * h.x + d * d * h.y + $) / (1 + d * d));
|
|
345
345
|
const J = h.x - S, oe = h.y - U, R = Math.sqrt(J * J + oe * oe);
|
|
346
346
|
return {
|
|
347
347
|
...h,
|
|
348
348
|
deviation: R,
|
|
349
349
|
shape: t.shape,
|
|
350
|
-
color:
|
|
350
|
+
color: Ke(t.color)
|
|
351
351
|
};
|
|
352
352
|
})
|
|
353
353
|
};
|
|
354
354
|
});
|
|
355
|
-
}),
|
|
356
|
-
function
|
|
355
|
+
}), bt = W(() => Math.max(...j.value.flatMap((l) => l.plots.map((s) => Math.abs(s.deviation)))));
|
|
356
|
+
function Kt() {
|
|
357
357
|
return j.value;
|
|
358
358
|
}
|
|
359
|
-
function
|
|
360
|
-
const t = Array.isArray(l) ? l.flatMap((B) => B.plots.map((
|
|
361
|
-
x:
|
|
362
|
-
y:
|
|
359
|
+
function kt(l, s) {
|
|
360
|
+
const t = Array.isArray(l) ? l.flatMap((B) => B.plots.map((_) => ({
|
|
361
|
+
x: _.x,
|
|
362
|
+
y: _.y
|
|
363
363
|
}))) : l.plots.map((B) => ({
|
|
364
364
|
x: B.x,
|
|
365
365
|
y: B.y
|
|
366
366
|
}));
|
|
367
367
|
let o = 1 / 0, a = -1 / 0, u = 1 / 0, i = -1 / 0;
|
|
368
|
-
t.forEach(({ x: B, y:
|
|
369
|
-
o = Math.min(o, B), a = Math.max(a, B), u = Math.min(u,
|
|
368
|
+
t.forEach(({ x: B, y: _ }) => {
|
|
369
|
+
o = Math.min(o, B), a = Math.max(a, B), u = Math.min(u, _), i = Math.max(i, _);
|
|
370
370
|
});
|
|
371
|
-
const f = a - o, v = i - u, g = f / s, L = v / s, d = Array(s).fill(0),
|
|
372
|
-
t.forEach(({ x: B, y:
|
|
373
|
-
const h = Math.floor((B - o) / g), S = Math.floor((
|
|
374
|
-
d[h] || (d[h] = 0),
|
|
371
|
+
const f = a - o, v = i - u, g = f / s, L = v / s, d = Array(s).fill(0), $ = Array(s).fill(0);
|
|
372
|
+
t.forEach(({ x: B, y: _ }) => {
|
|
373
|
+
const h = Math.floor((B - o) / g), S = Math.floor((_ - u) / L);
|
|
374
|
+
d[h] || (d[h] = 0), $[S] || ($[S] = 0), d[h] += 1, $[S] += 1;
|
|
375
375
|
});
|
|
376
376
|
const P = [], C = [];
|
|
377
377
|
for (let B = 0; B < s; B += 1)
|
|
378
378
|
P.push(o + (B + 0.5) * g), C.push(u + (B + 0.5) * L);
|
|
379
|
-
const T = Math.max(...d), I = Math.max(
|
|
380
|
-
return { x: d, y:
|
|
379
|
+
const T = Math.max(...d), I = Math.max(...$);
|
|
380
|
+
return { x: d, y: $, avgX: P, avgY: C, maxX: T, maxY: I };
|
|
381
381
|
}
|
|
382
|
-
const b = W(() => e.value.style.layout.marginalBars.tranches), A = W(() =>
|
|
382
|
+
const b = W(() => e.value.style.layout.marginalBars.tranches), A = W(() => kt(Ye.value, b.value)), Qt = W(() => {
|
|
383
383
|
const l = n.value.top - e.value.style.layout.marginalBars.offset, s = n.value.right + e.value.style.layout.marginalBars.offset;
|
|
384
|
-
return
|
|
385
|
-
const o =
|
|
384
|
+
return Ye.value.map((t) => {
|
|
385
|
+
const o = kt(t, b.value);
|
|
386
386
|
return {
|
|
387
387
|
coords: o,
|
|
388
|
-
dX:
|
|
388
|
+
dX: _l(o.avgX.map((a, u) => ({
|
|
389
389
|
x: a,
|
|
390
390
|
y: l - o.x[u] / o.maxX * e.value.style.layout.marginalBars.size
|
|
391
391
|
}))),
|
|
392
|
-
dY:
|
|
392
|
+
dY: wl(o.avgY.map((a, u) => ({
|
|
393
393
|
y: a,
|
|
394
394
|
x: s + e.value.style.layout.marginalBars.size * o.y[u] / o.maxY
|
|
395
395
|
}))),
|
|
@@ -397,18 +397,18 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
|
|
|
397
397
|
id: t.id
|
|
398
398
|
};
|
|
399
399
|
});
|
|
400
|
-
}), Y = M(void 0), p = M(null),
|
|
401
|
-
function
|
|
400
|
+
}), Y = M(void 0), p = M(null), Re = M(null);
|
|
401
|
+
function Ve(l, s) {
|
|
402
402
|
Y.value = l.id, p.value = l;
|
|
403
403
|
let t = "";
|
|
404
|
-
e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: l, seriesIndex: s }),
|
|
404
|
+
e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: l, seriesIndex: s }), Re.value = {
|
|
405
405
|
datapoint: l,
|
|
406
406
|
seriesIndex: s,
|
|
407
407
|
series: j.value,
|
|
408
408
|
config: e.value
|
|
409
409
|
};
|
|
410
410
|
const o = e.value.style.tooltip.customFormat;
|
|
411
|
-
|
|
411
|
+
Sl(o) && Ll(() => o({
|
|
412
412
|
datapoint: l,
|
|
413
413
|
seriesIndex: s,
|
|
414
414
|
series: j.value,
|
|
@@ -446,22 +446,22 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
|
|
|
446
446
|
function Ce(l, s) {
|
|
447
447
|
e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: l, seriesIndex: s }), ze.value = !1, Y.value = void 0, p.value = null;
|
|
448
448
|
}
|
|
449
|
-
function
|
|
449
|
+
function je(l, s) {
|
|
450
450
|
e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: l, seriesIndex: s });
|
|
451
451
|
}
|
|
452
|
-
function
|
|
453
|
-
F.value.includes(l) ? F.value = F.value.filter((s) => s !== l) : F.value.length <
|
|
452
|
+
function wt(l) {
|
|
453
|
+
F.value.includes(l) ? F.value = F.value.filter((s) => s !== l) : F.value.length < We.value.length - 1 && F.value.push(l);
|
|
454
454
|
}
|
|
455
|
-
function
|
|
456
|
-
|
|
455
|
+
function Ue(l = null) {
|
|
456
|
+
hl(() => {
|
|
457
457
|
const s = ["", 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}`], t = j.value.map((u) => [
|
|
458
458
|
u.name,
|
|
459
459
|
u.correlation.coefficient,
|
|
460
460
|
u.plots.length,
|
|
461
461
|
u.plots.map((i) => i.v.x).reduce((i, f) => i + f, 0) / u.plots.length,
|
|
462
462
|
u.plots.map((i) => i.v.y).reduce((i, f) => i + f, 0) / u.plots.length
|
|
463
|
-
]), o = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([s]).concat(t), a =
|
|
464
|
-
l ? l(a) :
|
|
463
|
+
]), o = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([s]).concat(t), a = Cl(o);
|
|
464
|
+
l ? l(a) : Al({ csvContent: a, title: e.value.style.title.text || "vue-ui-heatmap" });
|
|
465
465
|
});
|
|
466
466
|
}
|
|
467
467
|
const Ae = W(() => {
|
|
@@ -496,22 +496,22 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
|
|
|
496
496
|
};
|
|
497
497
|
return { head: l, body: s, config: t, colNames: l };
|
|
498
498
|
}), re = M(!1);
|
|
499
|
-
function
|
|
500
|
-
re.value = l,
|
|
499
|
+
function _t(l) {
|
|
500
|
+
re.value = l, tt.value += 1;
|
|
501
501
|
}
|
|
502
502
|
function $t() {
|
|
503
|
-
|
|
503
|
+
H.value.showTable = !H.value.showTable;
|
|
504
504
|
}
|
|
505
|
-
function
|
|
506
|
-
|
|
505
|
+
function Mt() {
|
|
506
|
+
H.value.showTooltip = !H.value.showTooltip;
|
|
507
507
|
}
|
|
508
508
|
const Se = M(!1);
|
|
509
|
-
function
|
|
509
|
+
function Ge() {
|
|
510
510
|
Se.value = !Se.value;
|
|
511
511
|
}
|
|
512
|
-
async function
|
|
512
|
+
async function el({ scale: l = 2 } = {}) {
|
|
513
513
|
if (!te.value) return;
|
|
514
|
-
const { width: s, height: t } = te.value.getBoundingClientRect(), o = s / t, { imageUri: a, base64: u } = await
|
|
514
|
+
const { width: s, height: t } = te.value.getBoundingClientRect(), o = s / t, { imageUri: a, base64: u } = await Fl({ domElement: te.value, base64: !0, img: !0, scale: l });
|
|
515
515
|
return {
|
|
516
516
|
imageUri: a,
|
|
517
517
|
base64: u,
|
|
@@ -521,16 +521,16 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
|
|
|
521
521
|
aspectRatio: o
|
|
522
522
|
};
|
|
523
523
|
}
|
|
524
|
-
function
|
|
524
|
+
function tl(l) {
|
|
525
525
|
ge.value = l, e.value.style.layout.marginalBars.highlighter.highlightBothAxes && (me.value = A.value.y.length - 2 - l);
|
|
526
526
|
}
|
|
527
|
-
function
|
|
527
|
+
function ll(l) {
|
|
528
528
|
me.value = l, e.value.style.layout.marginalBars.highlighter.highlightBothAxes && (ge.value = l);
|
|
529
529
|
}
|
|
530
|
-
function
|
|
530
|
+
function qe() {
|
|
531
531
|
ge.value = null, me.value = null;
|
|
532
532
|
}
|
|
533
|
-
const
|
|
533
|
+
const Ct = {
|
|
534
534
|
circle: 1,
|
|
535
535
|
square: 1,
|
|
536
536
|
diamond: 1,
|
|
@@ -539,9 +539,9 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
|
|
|
539
539
|
pentagon: 1.3,
|
|
540
540
|
hexagon: 1.3
|
|
541
541
|
}, k = (l) => l.toFixed(3);
|
|
542
|
-
function
|
|
542
|
+
function al({ shape: l = "circle", cx: s, cy: t, r: o }) {
|
|
543
543
|
if (!e.value.usePerformanceMode) return "";
|
|
544
|
-
const a =
|
|
544
|
+
const a = Ct[l] * o;
|
|
545
545
|
switch (l) {
|
|
546
546
|
case "circle": {
|
|
547
547
|
const u = k(s - a), i = k(t), f = k(s + a), v = k(a);
|
|
@@ -596,27 +596,27 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
|
|
|
596
596
|
}
|
|
597
597
|
}
|
|
598
598
|
}
|
|
599
|
-
const
|
|
599
|
+
const ol = W(() => {
|
|
600
600
|
if (!e.value.usePerformanceMode) return [""];
|
|
601
601
|
const { left: l, right: s, top: t, bottom: o } = n.value, a = Math.max(1, (s - l) * (o - t)), u = (d) => d / a * 1e4, i = 2.5, f = 1e3, v = e.value.style.layout.plots.stroke, g = e.value.style.layout.plots.strokeWidth, L = e.value.style.layout.plots.opacity;
|
|
602
602
|
return j.value.map((d) => {
|
|
603
|
-
const
|
|
603
|
+
const $ = [];
|
|
604
604
|
for (const C of d.plots) {
|
|
605
605
|
const T = C.x, I = C.y;
|
|
606
606
|
if (T < l || T > s || I < t || I > o) continue;
|
|
607
607
|
const B = Math.max(e.value.style.layout.plots.radius, C.weight);
|
|
608
|
-
|
|
608
|
+
$.push(al({
|
|
609
609
|
shape: d.shape || "circle",
|
|
610
610
|
cx: T,
|
|
611
611
|
cy: I,
|
|
612
612
|
r: B
|
|
613
613
|
}));
|
|
614
614
|
}
|
|
615
|
-
if (
|
|
615
|
+
if (!$.length) return null;
|
|
616
616
|
const P = u(d.plots.length) > i || d.plots.length > f;
|
|
617
617
|
return {
|
|
618
618
|
id: d.id,
|
|
619
|
-
d:
|
|
619
|
+
d: $.join(""),
|
|
620
620
|
fill: Te(d.color, L * 100),
|
|
621
621
|
stroke: P ? "none" : v,
|
|
622
622
|
strokeWidth: P ? 0 : g,
|
|
@@ -624,9 +624,9 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
|
|
|
624
624
|
};
|
|
625
625
|
}).filter(Boolean);
|
|
626
626
|
});
|
|
627
|
-
function
|
|
627
|
+
function sl() {
|
|
628
628
|
return e.value.usePerformanceMode ? (l) => {
|
|
629
|
-
const s =
|
|
629
|
+
const s = Ie.value;
|
|
630
630
|
if (!s) return;
|
|
631
631
|
const t = s.createSVGPoint();
|
|
632
632
|
t.x = l.clientX, t.y = l.clientY;
|
|
@@ -634,37 +634,37 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
|
|
|
634
634
|
if (!o) return;
|
|
635
635
|
const a = o.inverse(), u = t.matrixTransform(a), i = 8, f = i * i;
|
|
636
636
|
let v = null, g = 1 / 0, L = -1;
|
|
637
|
-
if (j.value.forEach((d,
|
|
637
|
+
if (j.value.forEach((d, $) => {
|
|
638
638
|
d.plots.forEach((P) => {
|
|
639
639
|
const C = P.x - u.x, T = P.y - u.y, I = C * C + T * T;
|
|
640
|
-
I <= f && I < g && (g = I, v = P, L =
|
|
640
|
+
I <= f && I < g && (g = I, v = P, L = $);
|
|
641
641
|
});
|
|
642
642
|
}), v)
|
|
643
|
-
Y.value !== v.id && (Y.value = v.id,
|
|
643
|
+
Y.value !== v.id && (Y.value = v.id, Ve(v, L));
|
|
644
644
|
else if (Y.value) {
|
|
645
645
|
const d = p.value;
|
|
646
646
|
Y.value = void 0, Ce(d, L);
|
|
647
647
|
}
|
|
648
648
|
} : () => null;
|
|
649
649
|
}
|
|
650
|
-
const
|
|
651
|
-
function
|
|
650
|
+
const At = sl();
|
|
651
|
+
function nl() {
|
|
652
652
|
if (Y.value) {
|
|
653
653
|
const l = p.value;
|
|
654
654
|
Y.value = void 0, Ce(l, null);
|
|
655
655
|
}
|
|
656
656
|
}
|
|
657
|
-
function
|
|
657
|
+
function ul(l) {
|
|
658
658
|
const s = p.value;
|
|
659
659
|
if (s) {
|
|
660
660
|
const t = j.value.findIndex((o) => o.id === s.clusterId);
|
|
661
|
-
|
|
661
|
+
je(s, t >= 0 ? t : 0);
|
|
662
662
|
}
|
|
663
663
|
}
|
|
664
664
|
const be = W(() => {
|
|
665
|
-
const l = e.value.table.useDialog && !e.value.table.show, s =
|
|
665
|
+
const l = e.value.table.useDialog && !e.value.table.show, s = H.value.showTable;
|
|
666
666
|
return {
|
|
667
|
-
component: l ?
|
|
667
|
+
component: l ? jt : It,
|
|
668
668
|
title: `${e.value.style.title.text}${e.value.style.title.subtitle.text ? `: ${e.value.style.title.subtitle.text}` : ""}`,
|
|
669
669
|
props: l ? {
|
|
670
670
|
backgroundColor: e.value.table.th.backgroundColor,
|
|
@@ -691,50 +691,54 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
|
|
|
691
691
|
}
|
|
692
692
|
};
|
|
693
693
|
});
|
|
694
|
-
|
|
694
|
+
Be(() => H.value.showTable, (l) => {
|
|
695
695
|
e.value.table.show || (l && e.value.table.useDialog && xe.value ? xe.value.open() : "close" in xe.value && xe.value.close());
|
|
696
|
-
})
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
696
|
+
});
|
|
697
|
+
function St() {
|
|
698
|
+
H.value.showTable = !1, Oe.value && Oe.value.setTableIconState(!1);
|
|
699
|
+
}
|
|
700
|
+
return Wt({
|
|
701
|
+
getData: Kt,
|
|
702
|
+
getImage: el,
|
|
703
|
+
generatePdf: gt,
|
|
704
|
+
generateCsv: Ue,
|
|
705
|
+
generateImage: mt,
|
|
702
706
|
toggleTable: $t,
|
|
703
|
-
toggleTooltip:
|
|
704
|
-
toggleAnnotator:
|
|
705
|
-
toggleFullscreen:
|
|
707
|
+
toggleTooltip: Mt,
|
|
708
|
+
toggleAnnotator: Ge,
|
|
709
|
+
toggleFullscreen: _t
|
|
706
710
|
}), (l, s) => (r(), y("div", {
|
|
707
|
-
class:
|
|
711
|
+
class: Bt(`vue-ui-scatter ${re.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
708
712
|
ref_key: "scatterChart",
|
|
709
713
|
ref: te,
|
|
710
714
|
id: `vue-ui-scatter_${N.value}`,
|
|
711
715
|
style: ne(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`),
|
|
712
|
-
onMouseenter: s[
|
|
713
|
-
onMouseleave: s[
|
|
716
|
+
onMouseenter: s[5] || (s[5] = () => c(yt)(!0)),
|
|
717
|
+
onMouseleave: s[6] || (s[6] = () => c(yt)(!1))
|
|
714
718
|
}, [
|
|
715
|
-
e.value.userOptions.buttons.annotator ? (r(), le(c(
|
|
719
|
+
e.value.userOptions.buttons.annotator ? (r(), le(c(Yt), {
|
|
716
720
|
key: 0,
|
|
717
|
-
svgRef: c(
|
|
721
|
+
svgRef: c(Ie),
|
|
718
722
|
backgroundColor: e.value.style.backgroundColor,
|
|
719
723
|
color: e.value.style.color,
|
|
720
724
|
active: Se.value,
|
|
721
|
-
onClose:
|
|
725
|
+
onClose: Ge
|
|
722
726
|
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : x("", !0),
|
|
723
|
-
|
|
727
|
+
Zt.value ? (r(), y("div", {
|
|
724
728
|
key: 1,
|
|
725
729
|
ref_key: "noTitle",
|
|
726
|
-
ref:
|
|
730
|
+
ref: st,
|
|
727
731
|
class: "vue-data-ui-no-title-space",
|
|
728
732
|
style: "height:36px; width: 100%;background:transparent"
|
|
729
733
|
}, null, 512)) : x("", !0),
|
|
730
734
|
e.value.style.title.text ? (r(), y("div", {
|
|
731
735
|
key: 2,
|
|
732
736
|
ref_key: "chartTitle",
|
|
733
|
-
ref:
|
|
737
|
+
ref: lt,
|
|
734
738
|
style: "width:100%;background:transparent"
|
|
735
739
|
}, [
|
|
736
|
-
(r(), le(
|
|
737
|
-
key: `title_${
|
|
740
|
+
(r(), le(Nl, {
|
|
741
|
+
key: `title_${nt.value}`,
|
|
738
742
|
config: {
|
|
739
743
|
title: {
|
|
740
744
|
cy: "scatter-div-title",
|
|
@@ -749,15 +753,15 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
|
|
|
749
753
|
], 512)) : x("", !0),
|
|
750
754
|
w("div", {
|
|
751
755
|
id: `legend-top-${N.value}`
|
|
752
|
-
}, null, 8,
|
|
753
|
-
e.value.userOptions.show &&
|
|
754
|
-
ref_key: "
|
|
755
|
-
ref:
|
|
756
|
-
key: `user_options_${
|
|
756
|
+
}, null, 8, Yl),
|
|
757
|
+
e.value.userOptions.show && et.value && (c(ct) || c(Fe)) ? (r(), le(c(Rt), {
|
|
758
|
+
ref_key: "userOptionsRef",
|
|
759
|
+
ref: Oe,
|
|
760
|
+
key: `user_options_${tt.value}`,
|
|
757
761
|
backgroundColor: e.value.style.backgroundColor,
|
|
758
762
|
color: e.value.style.color,
|
|
759
|
-
isImaging: c(
|
|
760
|
-
isPrinting: c(
|
|
763
|
+
isImaging: c(pt),
|
|
764
|
+
isPrinting: c(ft),
|
|
761
765
|
uid: N.value,
|
|
762
766
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.tooltip.show,
|
|
763
767
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
@@ -765,7 +769,7 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
|
|
|
765
769
|
hasXls: e.value.userOptions.buttons.csv,
|
|
766
770
|
hasTable: e.value.userOptions.buttons.table,
|
|
767
771
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
768
|
-
isTooltip:
|
|
772
|
+
isTooltip: H.value.showTooltip,
|
|
769
773
|
isFullscreen: re.value,
|
|
770
774
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
771
775
|
chartElement: te.value,
|
|
@@ -774,17 +778,18 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
|
|
|
774
778
|
isAnnotation: Se.value,
|
|
775
779
|
callbacks: e.value.userOptions.callbacks,
|
|
776
780
|
printScale: e.value.userOptions.print.scale,
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
+
tableDialog: e.value.table.useDialog,
|
|
782
|
+
onToggleFullscreen: _t,
|
|
783
|
+
onGeneratePdf: c(gt),
|
|
784
|
+
onGenerateCsv: Ue,
|
|
785
|
+
onGenerateImage: c(mt),
|
|
781
786
|
onToggleTable: $t,
|
|
782
|
-
onToggleTooltip:
|
|
783
|
-
onToggleAnnotator:
|
|
787
|
+
onToggleTooltip: Mt,
|
|
788
|
+
onToggleAnnotator: Ge,
|
|
784
789
|
style: ne({
|
|
785
|
-
visibility: c(
|
|
790
|
+
visibility: c(ct) ? c(Fe) ? "visible" : "hidden" : "visible"
|
|
786
791
|
})
|
|
787
|
-
},
|
|
792
|
+
}, Tt({ _: 2 }, [
|
|
788
793
|
l.$slots.menuIcon ? {
|
|
789
794
|
name: "menuIcon",
|
|
790
795
|
fn: X(({ isOpen: t, color: o }) => [
|
|
@@ -841,50 +846,50 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
|
|
|
841
846
|
]),
|
|
842
847
|
key: "7"
|
|
843
848
|
} : void 0
|
|
844
|
-
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : x("", !0),
|
|
849
|
+
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : x("", !0),
|
|
845
850
|
(r(), y("svg", {
|
|
846
851
|
ref_key: "svgRef",
|
|
847
|
-
ref:
|
|
852
|
+
ref: Ie,
|
|
848
853
|
xmlns: c($l),
|
|
849
|
-
class:
|
|
850
|
-
viewBox: `0 0 ${
|
|
854
|
+
class: Bt({ "vue-data-ui-fullscreen--on": re.value, "vue-data-ui-fulscreen--off": !re.value, animated: e.value.useCssAnimation }),
|
|
855
|
+
viewBox: `0 0 ${D.value.width <= 0 ? 10 : D.value.width} ${D.value.height <= 0 ? 10 : D.value.height}`,
|
|
851
856
|
style: ne(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`),
|
|
852
|
-
onMouseleave:
|
|
857
|
+
onMouseleave: qe
|
|
853
858
|
}, [
|
|
854
|
-
|
|
859
|
+
$e(c(Vt)),
|
|
855
860
|
l.$slots["chart-background"] ? (r(), y("foreignObject", {
|
|
856
861
|
key: 0,
|
|
857
862
|
x: 0,
|
|
858
863
|
y: 0,
|
|
859
|
-
width:
|
|
860
|
-
height:
|
|
864
|
+
width: D.value.width <= 0 ? 10 : D.value.width,
|
|
865
|
+
height: D.value.height <= 0 ? 10 : D.value.height,
|
|
861
866
|
style: {
|
|
862
867
|
pointerEvents: "none"
|
|
863
868
|
}
|
|
864
869
|
}, [
|
|
865
870
|
V(l.$slots, "chart-background", {}, void 0, !0)
|
|
866
|
-
], 8,
|
|
867
|
-
e.value.style.layout.axis.show ? (r(), y("g",
|
|
871
|
+
], 8, Vl)) : x("", !0),
|
|
872
|
+
e.value.style.layout.axis.show ? (r(), y("g", jl, [
|
|
868
873
|
w("line", {
|
|
869
|
-
x1:
|
|
870
|
-
x2:
|
|
874
|
+
x1: E.value.x,
|
|
875
|
+
x2: E.value.x,
|
|
871
876
|
y1: n.value.top,
|
|
872
877
|
y2: n.value.bottom,
|
|
873
878
|
stroke: e.value.style.layout.axis.stroke,
|
|
874
879
|
"stroke-width": e.value.style.layout.axis.strokeWidth,
|
|
875
880
|
"stroke-linecap": "round"
|
|
876
|
-
}, null, 8,
|
|
881
|
+
}, null, 8, Ul),
|
|
877
882
|
w("line", {
|
|
878
883
|
x1: n.value.left,
|
|
879
884
|
x2: n.value.right,
|
|
880
|
-
y1:
|
|
881
|
-
y2:
|
|
885
|
+
y1: E.value.y,
|
|
886
|
+
y2: E.value.y,
|
|
882
887
|
stroke: e.value.style.layout.axis.stroke,
|
|
883
888
|
"stroke-width": e.value.style.layout.axis.strokeWidth,
|
|
884
889
|
"stroke-linecap": "round"
|
|
885
|
-
}, null, 8,
|
|
890
|
+
}, null, 8, Gl)
|
|
886
891
|
])) : x("", !0),
|
|
887
|
-
e.value.style.layout.marginalBars.show ? (r(), y("g",
|
|
892
|
+
e.value.style.layout.marginalBars.show ? (r(), y("g", ql, [
|
|
888
893
|
w("defs", null, [
|
|
889
894
|
w("linearGradient", {
|
|
890
895
|
id: `marginal_x_${N.value}`,
|
|
@@ -896,12 +901,12 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
|
|
|
896
901
|
w("stop", {
|
|
897
902
|
offset: "0%",
|
|
898
903
|
"stop-color": e.value.style.layout.marginalBars.fill
|
|
899
|
-
}, null, 8,
|
|
904
|
+
}, null, 8, Zl),
|
|
900
905
|
w("stop", {
|
|
901
906
|
offset: "100%",
|
|
902
907
|
"stop-color": e.value.style.backgroundColor
|
|
903
|
-
}, null, 8,
|
|
904
|
-
], 8,
|
|
908
|
+
}, null, 8, Jl)
|
|
909
|
+
], 8, Hl),
|
|
905
910
|
w("linearGradient", {
|
|
906
911
|
id: `marginal_y_${N.value}`,
|
|
907
912
|
x1: "0%",
|
|
@@ -912,12 +917,12 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
|
|
|
912
917
|
w("stop", {
|
|
913
918
|
offset: "0%",
|
|
914
919
|
"stop-color": e.value.style.backgroundColor
|
|
915
|
-
}, null, 8,
|
|
920
|
+
}, null, 8, Ql),
|
|
916
921
|
w("stop", {
|
|
917
922
|
offset: "100%",
|
|
918
923
|
"stop-color": e.value.style.layout.marginalBars.fill
|
|
919
|
-
}, null, 8,
|
|
920
|
-
], 8,
|
|
924
|
+
}, null, 8, ea)
|
|
925
|
+
], 8, Kl)
|
|
921
926
|
]),
|
|
922
927
|
(r(!0), y(Z, null, K(A.value.x, (t, o) => (r(), y("g", null, [
|
|
923
928
|
t && A.value.avgX[o] ? (r(), y("rect", {
|
|
@@ -931,7 +936,7 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
|
|
|
931
936
|
stroke: e.value.style.backgroundColor,
|
|
932
937
|
"stroke-width": e.value.style.layout.marginalBars.strokeWidth,
|
|
933
938
|
rx: e.value.style.layout.marginalBars.borderRadius
|
|
934
|
-
}, null, 12,
|
|
939
|
+
}, null, 12, ta)) : x("", !0),
|
|
935
940
|
A.value.avgX[o] ? (r(), y("rect", {
|
|
936
941
|
key: 1,
|
|
937
942
|
x: A.value.avgX[o] - n.value.width / b.value / 2,
|
|
@@ -939,10 +944,10 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
|
|
|
939
944
|
width: n.value.width / b.value <= 0 ? 1e-4 : n.value.width / b.value,
|
|
940
945
|
height: Math.max(0.1, e.value.style.layout.marginalBars.size),
|
|
941
946
|
fill: "transparent",
|
|
942
|
-
onMouseenter: (a) =>
|
|
943
|
-
onMouseleave: s[0] || (s[0] = (a) =>
|
|
944
|
-
}, null, 40,
|
|
945
|
-
A.value.avgX[o] && ge.value != null && ge.value === o ? (r(), y("g",
|
|
947
|
+
onMouseenter: (a) => tl(o),
|
|
948
|
+
onMouseleave: s[0] || (s[0] = (a) => qe())
|
|
949
|
+
}, null, 40, la)) : x("", !0),
|
|
950
|
+
A.value.avgX[o] && ge.value != null && ge.value === o ? (r(), y("g", aa, [
|
|
946
951
|
w("rect", {
|
|
947
952
|
x: A.value.avgX[o] - n.value.width / b.value / 2,
|
|
948
953
|
y: n.value.top,
|
|
@@ -950,7 +955,7 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
|
|
|
950
955
|
height: n.value.height,
|
|
951
956
|
fill: e.value.style.layout.marginalBars.highlighter.color,
|
|
952
957
|
"fill-opacity": e.value.style.layout.marginalBars.highlighter.opacity
|
|
953
|
-
}, null, 8,
|
|
958
|
+
}, null, 8, oa),
|
|
954
959
|
w("line", {
|
|
955
960
|
x1: A.value.avgX[o] - n.value.width / b.value / 2,
|
|
956
961
|
x2: A.value.avgX[o] - n.value.width / b.value / 2,
|
|
@@ -960,7 +965,7 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
|
|
|
960
965
|
"stroke-dasharray": e.value.style.layout.marginalBars.highlighter.strokeDasharray,
|
|
961
966
|
"stroke-width": e.value.style.layout.marginalBars.highlighter.strokeWidth,
|
|
962
967
|
style: { transition: "none !important", animation: "none !important" }
|
|
963
|
-
}, null, 8,
|
|
968
|
+
}, null, 8, sa),
|
|
964
969
|
w("line", {
|
|
965
970
|
x1: A.value.avgX[o] - n.value.width / b.value / 2 + (n.value.width / b.value <= 0 ? 1e-4 : n.value.width / b.value),
|
|
966
971
|
x2: A.value.avgX[o] - n.value.width / b.value / 2 + (n.value.width / b.value <= 0 ? 1e-4 : n.value.width / b.value),
|
|
@@ -970,7 +975,7 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
|
|
|
970
975
|
"stroke-dasharray": e.value.style.layout.marginalBars.highlighter.strokeDasharray,
|
|
971
976
|
"stroke-width": e.value.style.layout.marginalBars.highlighter.strokeWidth,
|
|
972
977
|
style: { transition: "none !important", animation: "none !important" }
|
|
973
|
-
}, null, 8,
|
|
978
|
+
}, null, 8, na)
|
|
974
979
|
])) : x("", !0)
|
|
975
980
|
]))), 256)),
|
|
976
981
|
(r(!0), y(Z, null, K(A.value.y, (t, o) => (r(), y("g", null, [
|
|
@@ -985,7 +990,7 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
|
|
|
985
990
|
stroke: e.value.style.backgroundColor,
|
|
986
991
|
"stroke-width": e.value.style.layout.marginalBars.strokeWidth,
|
|
987
992
|
rx: e.value.style.layout.marginalBars.borderRadius
|
|
988
|
-
}, null, 12,
|
|
993
|
+
}, null, 12, ua)) : x("", !0),
|
|
989
994
|
A.value.avgY[o] ? (r(), y("rect", {
|
|
990
995
|
key: 1,
|
|
991
996
|
x: n.value.right + e.value.style.layout.marginalBars.offset,
|
|
@@ -993,10 +998,10 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
|
|
|
993
998
|
width: Math.max(0.1, e.value.style.layout.marginalBars.size),
|
|
994
999
|
height: n.value.height / b.value <= 0 ? 1e-4 : n.value.height / b.value,
|
|
995
1000
|
fill: "transparent",
|
|
996
|
-
onMouseenter: (a) =>
|
|
997
|
-
onMouseleave: s[1] || (s[1] = (a) =>
|
|
998
|
-
}, null, 40,
|
|
999
|
-
A.value.avgY[o] && me.value != null && me.value === o ? (r(), y("g",
|
|
1001
|
+
onMouseenter: (a) => ll(o),
|
|
1002
|
+
onMouseleave: s[1] || (s[1] = (a) => qe())
|
|
1003
|
+
}, null, 40, ia)) : x("", !0),
|
|
1004
|
+
A.value.avgY[o] && me.value != null && me.value === o ? (r(), y("g", ra, [
|
|
1000
1005
|
w("rect", {
|
|
1001
1006
|
x: n.value.left,
|
|
1002
1007
|
y: A.value.avgY[o] - n.value.height / b.value / 2,
|
|
@@ -1004,31 +1009,31 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
|
|
|
1004
1009
|
height: n.value.height / b.value <= 0 ? 1e-4 : n.value.height / b.value,
|
|
1005
1010
|
fill: e.value.style.layout.marginalBars.highlighter.color,
|
|
1006
1011
|
"fill-opacity": e.value.style.layout.marginalBars.highlighter.opacity
|
|
1007
|
-
}, null, 8,
|
|
1012
|
+
}, null, 8, va),
|
|
1008
1013
|
w("line", {
|
|
1009
1014
|
x1: n.value.left,
|
|
1010
|
-
x2:
|
|
1015
|
+
x2: D.value.width,
|
|
1011
1016
|
y1: A.value.avgY[o] - n.value.height / b.value / 2,
|
|
1012
1017
|
y2: A.value.avgY[o] - n.value.height / b.value / 2,
|
|
1013
1018
|
stroke: e.value.style.layout.marginalBars.highlighter.stroke,
|
|
1014
1019
|
"stroke-dasharray": e.value.style.layout.marginalBars.highlighter.strokeDasharray,
|
|
1015
1020
|
"stroke-width": e.value.style.layout.marginalBars.highlighter.strokeWidth,
|
|
1016
1021
|
style: { transition: "none !important", animation: "none !important" }
|
|
1017
|
-
}, null, 8,
|
|
1022
|
+
}, null, 8, ya),
|
|
1018
1023
|
w("line", {
|
|
1019
1024
|
x1: n.value.left,
|
|
1020
|
-
x2:
|
|
1025
|
+
x2: D.value.width,
|
|
1021
1026
|
y1: A.value.avgY[o] - n.value.height / b.value / 2 + (n.value.height / b.value <= 0 ? 1e-4 : n.value.height / b.value),
|
|
1022
1027
|
y2: A.value.avgY[o] - n.value.height / b.value / 2 + (n.value.height / b.value <= 0 ? 1e-4 : n.value.height / b.value),
|
|
1023
1028
|
stroke: e.value.style.layout.marginalBars.highlighter.stroke,
|
|
1024
1029
|
"stroke-dasharray": e.value.style.layout.marginalBars.highlighter.strokeDasharray,
|
|
1025
1030
|
"stroke-width": e.value.style.layout.marginalBars.highlighter.strokeWidth,
|
|
1026
1031
|
style: { transition: "none !important", animation: "none !important" }
|
|
1027
|
-
}, null, 8,
|
|
1032
|
+
}, null, 8, ca)
|
|
1028
1033
|
])) : x("", !0)
|
|
1029
1034
|
]))), 256)),
|
|
1030
|
-
e.value.style.layout.marginalBars.showLines ? (r(), y("g",
|
|
1031
|
-
(r(!0), y(Z, null, K(
|
|
1035
|
+
e.value.style.layout.marginalBars.showLines ? (r(), y("g", da, [
|
|
1036
|
+
(r(!0), y(Z, null, K(Qt.value, (t) => (r(), y(Z, null, [
|
|
1032
1037
|
F.value.includes(t.id) ? x("", !0) : (r(), y("path", {
|
|
1033
1038
|
key: 0,
|
|
1034
1039
|
d: `M ${t.dX}`,
|
|
@@ -1037,7 +1042,7 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
|
|
|
1037
1042
|
"stroke-linecap": "round",
|
|
1038
1043
|
"stroke-linejoin": "round",
|
|
1039
1044
|
fill: "none"
|
|
1040
|
-
}, null, 8,
|
|
1045
|
+
}, null, 8, ha)),
|
|
1041
1046
|
F.value.includes(t.id) ? x("", !0) : (r(), y("path", {
|
|
1042
1047
|
key: 1,
|
|
1043
1048
|
d: `M ${t.dX}`,
|
|
@@ -1046,7 +1051,7 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
|
|
|
1046
1051
|
"stroke-linecap": "round",
|
|
1047
1052
|
"stroke-linejoin": "round",
|
|
1048
1053
|
fill: "none"
|
|
1049
|
-
}, null, 8,
|
|
1054
|
+
}, null, 8, fa)),
|
|
1050
1055
|
F.value.includes(t.id) ? x("", !0) : (r(), y("path", {
|
|
1051
1056
|
key: 2,
|
|
1052
1057
|
d: `M ${t.dY}`,
|
|
@@ -1055,7 +1060,7 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
|
|
|
1055
1060
|
"stroke-linecap": "round",
|
|
1056
1061
|
"stroke-linejoin": "round",
|
|
1057
1062
|
fill: "none"
|
|
1058
|
-
}, null, 8,
|
|
1063
|
+
}, null, 8, pa)),
|
|
1059
1064
|
F.value.includes(t.id) ? x("", !0) : (r(), y("path", {
|
|
1060
1065
|
key: 3,
|
|
1061
1066
|
d: `M ${t.dY}`,
|
|
@@ -1064,26 +1069,26 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
|
|
|
1064
1069
|
"stroke-linecap": "round",
|
|
1065
1070
|
"stroke-linejoin": "round",
|
|
1066
1071
|
fill: "none"
|
|
1067
|
-
}, null, 8,
|
|
1072
|
+
}, null, 8, ga))
|
|
1068
1073
|
], 64))), 256))
|
|
1069
1074
|
])) : x("", !0)
|
|
1070
1075
|
])) : x("", !0),
|
|
1071
|
-
e.value.style.layout.plots.giftWrap.show ? (r(), y("g",
|
|
1076
|
+
e.value.style.layout.plots.giftWrap.show ? (r(), y("g", ma, [
|
|
1072
1077
|
(r(!0), y(Z, null, K(j.value, (t, o) => (r(), y("g", null, [
|
|
1073
1078
|
t.plots.length > 2 ? (r(), y("polygon", {
|
|
1074
1079
|
key: 0,
|
|
1075
|
-
points: c(
|
|
1080
|
+
points: c(Ml)({ series: t.plots }),
|
|
1076
1081
|
fill: c(Te)(t.color, e.value.style.layout.plots.giftWrap.fillOpacity * 100),
|
|
1077
1082
|
"stroke-width": e.value.style.layout.plots.giftWrap.strokeWidth,
|
|
1078
1083
|
"stroke-dasharray": e.value.style.layout.plots.giftWrap.strokeDasharray,
|
|
1079
1084
|
stroke: t.color,
|
|
1080
1085
|
"stroke-linejoin": "round",
|
|
1081
1086
|
"stroke-linecap": "round"
|
|
1082
|
-
}, null, 8,
|
|
1087
|
+
}, null, 8, xa)) : x("", !0)
|
|
1083
1088
|
]))), 256))
|
|
1084
1089
|
])) : x("", !0),
|
|
1085
1090
|
e.value.usePerformanceMode ? x("", !0) : (r(!0), y(Z, { key: 4 }, K(j.value, (t, o) => (r(), y("g", null, [
|
|
1086
|
-
!t.shape || t.shape === "circle" ? (r(), y("g",
|
|
1091
|
+
!t.shape || t.shape === "circle" ? (r(), y("g", ba, [
|
|
1087
1092
|
(r(!0), y(Z, null, K(t.plots, (a, u) => (r(), y("circle", {
|
|
1088
1093
|
cx: a.x,
|
|
1089
1094
|
cy: a.y,
|
|
@@ -1091,23 +1096,23 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
|
|
|
1091
1096
|
fill: c(Te)(t.color, e.value.style.layout.plots.opacity * 100),
|
|
1092
1097
|
stroke: e.value.style.layout.plots.stroke,
|
|
1093
1098
|
"stroke-width": e.value.style.layout.plots.strokeWidth,
|
|
1094
|
-
style: ne(`opacity:${Y.value && Y.value === a.id ? 1 : e.value.style.layout.plots.significance.useDistanceOpacity ? 1 - Math.abs(a.deviation) /
|
|
1095
|
-
onMouseover: (i) =>
|
|
1099
|
+
style: ne(`opacity:${Y.value && Y.value === a.id ? 1 : e.value.style.layout.plots.significance.useDistanceOpacity ? 1 - Math.abs(a.deviation) / bt.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}`),
|
|
1100
|
+
onMouseover: (i) => Ve(a, o),
|
|
1096
1101
|
onMouseleave: (i) => Ce(a, o),
|
|
1097
|
-
onClick: (i) =>
|
|
1098
|
-
}, null, 44,
|
|
1099
|
-
])) : (r(), y("g",
|
|
1100
|
-
(r(!0), y(Z, null, K(t.plots, (a, u) => (r(), le(
|
|
1102
|
+
onClick: (i) => je(a, o)
|
|
1103
|
+
}, null, 44, ka))), 256))
|
|
1104
|
+
])) : (r(), y("g", wa, [
|
|
1105
|
+
(r(!0), y(Z, null, K(t.plots, (a, u) => (r(), le(Qe, {
|
|
1101
1106
|
plot: { x: a.x, y: a.y },
|
|
1102
1107
|
radius: Y.value && Y.value === a.id ? a.weight * 2 : a.weight,
|
|
1103
1108
|
shape: t.shape,
|
|
1104
1109
|
color: c(Te)(t.color, e.value.style.layout.plots.opacity * 100),
|
|
1105
1110
|
stroke: e.value.style.layout.plots.stroke,
|
|
1106
1111
|
strokeWidth: e.value.style.layout.plots.strokeWidth,
|
|
1107
|
-
style: ne(`opacity:${Y.value && Y.value === a.id ? 1 : e.value.style.layout.plots.significance.useDistanceOpacity ? 1 - Math.abs(a.deviation) /
|
|
1108
|
-
onMouseover: (i) =>
|
|
1112
|
+
style: ne(`opacity:${Y.value && Y.value === a.id ? 1 : e.value.style.layout.plots.significance.useDistanceOpacity ? 1 - Math.abs(a.deviation) / bt.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}`),
|
|
1113
|
+
onMouseover: (i) => Ve(a, o),
|
|
1109
1114
|
onMouseleave: (i) => Ce(a, o),
|
|
1110
|
-
onClick: (i) =>
|
|
1115
|
+
onClick: (i) => je(a, o)
|
|
1111
1116
|
}, null, 8, ["plot", "radius", "shape", "color", "stroke", "strokeWidth", "style", "onMouseover", "onMouseleave", "onClick"]))), 256))
|
|
1112
1117
|
]))
|
|
1113
1118
|
]))), 256)),
|
|
@@ -1115,7 +1120,7 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
|
|
|
1115
1120
|
w("g", {
|
|
1116
1121
|
"clip-path": `url(#clip_path_${N.value})`
|
|
1117
1122
|
}, [
|
|
1118
|
-
(r(!0), y(Z, null, K(
|
|
1123
|
+
(r(!0), y(Z, null, K(ol.value, (t) => (r(), y("path", {
|
|
1119
1124
|
key: t.id,
|
|
1120
1125
|
d: t.d,
|
|
1121
1126
|
fill: t.fill,
|
|
@@ -1125,13 +1130,13 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
|
|
|
1125
1130
|
"vector-effect": "non-scaling-stroke",
|
|
1126
1131
|
"paint-order": "fill"
|
|
1127
1132
|
}, null, 8, $a))), 128))
|
|
1128
|
-
], 8,
|
|
1129
|
-
p.value && e.value.style.layout.plots.selectors.show ? (r(), y("g",
|
|
1130
|
-
|
|
1133
|
+
], 8, _a),
|
|
1134
|
+
p.value && e.value.style.layout.plots.selectors.show ? (r(), y("g", Ma, [
|
|
1135
|
+
$e(Qe, {
|
|
1131
1136
|
shape: p.value.shape || "circle",
|
|
1132
1137
|
color: p.value.color,
|
|
1133
1138
|
plot: { x: p.value.x, y: p.value.y },
|
|
1134
|
-
radius: Math.max(4 *
|
|
1139
|
+
radius: Math.max(4 * Ct[p.value.shape || "circle"], p.value.weight * 2),
|
|
1135
1140
|
stroke: e.value.style.layout.plots.stroke,
|
|
1136
1141
|
strokeWidth: e.value.style.layout.plots.strokeWidth
|
|
1137
1142
|
}, null, 8, ["shape", "color", "plot", "radius", "stroke", "strokeWidth"])
|
|
@@ -1142,14 +1147,14 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
|
|
|
1142
1147
|
width: Math.max(1e-4, n.value.width),
|
|
1143
1148
|
height: Math.max(1e-4, n.value.height),
|
|
1144
1149
|
fill: "transparent",
|
|
1145
|
-
onMousemove: s[2] || (s[2] = (...t) => c(
|
|
1146
|
-
onMouseleave:
|
|
1147
|
-
onClick:
|
|
1148
|
-
}, null, 40,
|
|
1150
|
+
onMousemove: s[2] || (s[2] = (...t) => c(At) && c(At)(...t)),
|
|
1151
|
+
onMouseleave: nl,
|
|
1152
|
+
onClick: ul
|
|
1153
|
+
}, null, 40, Ca)
|
|
1149
1154
|
], 64)) : x("", !0),
|
|
1150
|
-
p.value && e.value.style.layout.plots.selectors.show ? (r(), y("g",
|
|
1155
|
+
p.value && e.value.style.layout.plots.selectors.show ? (r(), y("g", Aa, [
|
|
1151
1156
|
w("line", {
|
|
1152
|
-
x1:
|
|
1157
|
+
x1: E.value.x,
|
|
1153
1158
|
x2: p.value.x,
|
|
1154
1159
|
y1: p.value.y,
|
|
1155
1160
|
y2: p.value.y,
|
|
@@ -1158,86 +1163,86 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
|
|
|
1158
1163
|
"stroke-dasharray": e.value.style.layout.plots.selectors.strokeDasharray,
|
|
1159
1164
|
"stroke-linecap": "round",
|
|
1160
1165
|
class: "line-pointer"
|
|
1161
|
-
}, null, 8,
|
|
1166
|
+
}, null, 8, Sa),
|
|
1162
1167
|
w("line", {
|
|
1163
1168
|
x1: p.value.x,
|
|
1164
1169
|
x2: p.value.x,
|
|
1165
|
-
y1:
|
|
1170
|
+
y1: E.value.y,
|
|
1166
1171
|
y2: p.value.y,
|
|
1167
1172
|
stroke: e.value.style.layout.plots.selectors.stroke,
|
|
1168
1173
|
"stroke-width": e.value.style.layout.plots.selectors.strokeWidth,
|
|
1169
1174
|
"stroke-dasharray": e.value.style.layout.plots.selectors.strokeDasharray,
|
|
1170
1175
|
"stroke-linecap": "round",
|
|
1171
1176
|
class: "line-pointer"
|
|
1172
|
-
}, null, 8,
|
|
1177
|
+
}, null, 8, La),
|
|
1173
1178
|
w("text", {
|
|
1174
|
-
x:
|
|
1179
|
+
x: E.value.x + (p.value.x > E.value.x ? -6 : 6),
|
|
1175
1180
|
y: p.value.y + e.value.style.layout.plots.selectors.labels.fontSize / 3,
|
|
1176
1181
|
"font-size": e.value.style.layout.plots.selectors.labels.fontSize,
|
|
1177
1182
|
fill: e.value.style.layout.plots.selectors.labels.color,
|
|
1178
1183
|
"font-weight": e.value.style.layout.plots.selectors.labels.bold ? "bold" : "normal",
|
|
1179
|
-
"text-anchor": p.value.x >
|
|
1184
|
+
"text-anchor": p.value.x > E.value.x ? "end" : "start"
|
|
1180
1185
|
}, G(c(ue)(
|
|
1181
1186
|
e.value.style.layout.plots.selectors.labels.y.formatter,
|
|
1182
|
-
c(
|
|
1187
|
+
c(q)(p.value.v.y),
|
|
1183
1188
|
c(Q)({
|
|
1184
1189
|
p: e.value.style.layout.plots.selectors.labels.prefix,
|
|
1185
|
-
v: c(
|
|
1190
|
+
v: c(q)(p.value.v.y),
|
|
1186
1191
|
s: e.value.style.layout.plots.selectors.labels.suffix,
|
|
1187
1192
|
r: e.value.style.layout.plots.selectors.labels.rounding
|
|
1188
1193
|
}),
|
|
1189
1194
|
{ datapoint: p.value }
|
|
1190
|
-
)), 9,
|
|
1195
|
+
)), 9, Ba),
|
|
1191
1196
|
w("text", {
|
|
1192
1197
|
x: p.value.x,
|
|
1193
|
-
y:
|
|
1198
|
+
y: E.value.y + (p.value.y > E.value.y ? -6 : e.value.style.layout.plots.selectors.labels.fontSize + 6),
|
|
1194
1199
|
"font-size": e.value.style.layout.plots.selectors.labels.fontSize,
|
|
1195
1200
|
fill: e.value.style.layout.plots.selectors.labels.color,
|
|
1196
1201
|
"font-weight": e.value.style.layout.plots.selectors.labels.bold ? "bold" : "normal",
|
|
1197
1202
|
"text-anchor": "middle"
|
|
1198
1203
|
}, G(c(ue)(
|
|
1199
1204
|
e.value.style.layout.plots.selectors.labels.y.formatter,
|
|
1200
|
-
c(
|
|
1205
|
+
c(q)(p.value.v.x),
|
|
1201
1206
|
c(Q)({
|
|
1202
1207
|
p: e.value.style.layout.plots.selectors.labels.prefix,
|
|
1203
|
-
v: c(
|
|
1208
|
+
v: c(q)(p.value.v.x),
|
|
1204
1209
|
s: e.value.style.layout.plots.selectors.labels.suffix,
|
|
1205
1210
|
r: e.value.style.layout.plots.selectors.labels.rounding
|
|
1206
1211
|
}),
|
|
1207
1212
|
{ datapoint: p.value }
|
|
1208
|
-
)), 9,
|
|
1213
|
+
)), 9, Ta),
|
|
1209
1214
|
w("circle", {
|
|
1210
|
-
cx:
|
|
1215
|
+
cx: E.value.x,
|
|
1211
1216
|
cy: p.value.y,
|
|
1212
1217
|
r: e.value.style.layout.plots.selectors.markers.radius,
|
|
1213
1218
|
fill: e.value.style.layout.plots.selectors.markers.fill,
|
|
1214
1219
|
stroke: e.value.style.layout.plots.selectors.markers.stroke,
|
|
1215
1220
|
"stroke-width": e.value.style.layout.plots.selectors.markers.strokeWidth,
|
|
1216
1221
|
class: "line-pointer"
|
|
1217
|
-
}, null, 8,
|
|
1222
|
+
}, null, 8, za),
|
|
1218
1223
|
w("circle", {
|
|
1219
1224
|
cx: p.value.x,
|
|
1220
|
-
cy:
|
|
1225
|
+
cy: E.value.y,
|
|
1221
1226
|
r: e.value.style.layout.plots.selectors.markers.radius,
|
|
1222
1227
|
fill: e.value.style.layout.plots.selectors.markers.fill,
|
|
1223
1228
|
stroke: e.value.style.layout.plots.selectors.markers.stroke,
|
|
1224
1229
|
"stroke-width": e.value.style.layout.plots.selectors.markers.strokeWidth,
|
|
1225
1230
|
class: "line-pointer"
|
|
1226
|
-
}, null, 8,
|
|
1231
|
+
}, null, 8, Pa),
|
|
1227
1232
|
e.value.style.layout.plots.selectors.labels.showName ? (r(), y("text", {
|
|
1228
1233
|
key: 0,
|
|
1229
1234
|
x: p.value.x,
|
|
1230
|
-
y: p.value.y + (p.value.y <
|
|
1235
|
+
y: p.value.y + (p.value.y < E.value.y ? -e.value.style.layout.plots.selectors.labels.fontSize / 2 : e.value.style.layout.plots.selectors.labels.fontSize),
|
|
1231
1236
|
"font-size": e.value.style.layout.plots.selectors.labels.fontSize,
|
|
1232
1237
|
fill: e.value.style.layout.plots.selectors.labels.color,
|
|
1233
1238
|
"font-weight": e.value.style.layout.plots.selectors.labels.bold ? "bold" : "normal",
|
|
1234
|
-
"text-anchor": p.value.x < n.value.left + 100 ? "start" : p.value.x > n.value.right - 100 ? "end" : p.value.x >
|
|
1235
|
-
}, G(p.value.v.name), 9,
|
|
1239
|
+
"text-anchor": p.value.x < n.value.left + 100 ? "start" : p.value.x > n.value.right - 100 ? "end" : p.value.x > E.value.x ? "start" : "end"
|
|
1240
|
+
}, G(p.value.v.name), 9, Oa)) : x("", !0)
|
|
1236
1241
|
])) : x("", !0),
|
|
1237
1242
|
e.value.style.layout.dataLabels.xAxis.show ? (r(), y("g", {
|
|
1238
1243
|
key: 7,
|
|
1239
1244
|
ref_key: "xAxisLabelLeft",
|
|
1240
|
-
ref:
|
|
1245
|
+
ref: De
|
|
1241
1246
|
}, [
|
|
1242
1247
|
w("text", {
|
|
1243
1248
|
id: `vue-ui-scatter-xAxis-label-${N.value}`,
|
|
@@ -1246,18 +1251,18 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
|
|
|
1246
1251
|
"font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
|
|
1247
1252
|
"font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
|
|
1248
1253
|
fill: e.value.style.layout.dataLabels.xAxis.color
|
|
1249
|
-
}, G(e.value.style.layout.dataLabels.xAxis.name), 9,
|
|
1254
|
+
}, G(e.value.style.layout.dataLabels.xAxis.name), 9, Da),
|
|
1250
1255
|
w("text", {
|
|
1251
1256
|
"text-anchor": "middle",
|
|
1252
1257
|
"font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
|
|
1253
1258
|
fill: e.value.style.layout.dataLabels.xAxis.color,
|
|
1254
|
-
transform: `translate(${e.value.style.layout.dataLabels.xAxis.name ? e.value.style.layout.dataLabels.xAxis.fontSize * 3 : 0}, ${
|
|
1259
|
+
transform: `translate(${e.value.style.layout.dataLabels.xAxis.name ? e.value.style.layout.dataLabels.xAxis.fontSize * 3 : 0}, ${E.value.y + e.value.style.layout.dataLabels.xAxis.fontSize / 3}), rotate(-90)`
|
|
1255
1260
|
}, G(c(ue)(
|
|
1256
1261
|
e.value.style.layout.plots.selectors.labels.x.formatter,
|
|
1257
|
-
c(
|
|
1262
|
+
c(q)(z.value.xMin),
|
|
1258
1263
|
c(Q)({
|
|
1259
1264
|
p: e.value.style.layout.plots.selectors.labels.prefix,
|
|
1260
|
-
v: c(
|
|
1265
|
+
v: c(q)(z.value.xMin),
|
|
1261
1266
|
s: e.value.style.layout.plots.selectors.labels.suffix,
|
|
1262
1267
|
r: e.value.style.layout.dataLabels.xAxis.rounding
|
|
1263
1268
|
})
|
|
@@ -1266,69 +1271,69 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
|
|
|
1266
1271
|
e.value.style.layout.dataLabels.xAxis.show ? (r(), y("text", {
|
|
1267
1272
|
key: 8,
|
|
1268
1273
|
ref_key: "xAxisLabelRight",
|
|
1269
|
-
ref:
|
|
1274
|
+
ref: Gt,
|
|
1270
1275
|
"text-anchor": "middle",
|
|
1271
|
-
transform: `translate(${n.value.right + e.value.style.layout.padding.right + 6}, ${
|
|
1276
|
+
transform: `translate(${n.value.right + e.value.style.layout.padding.right + 6}, ${E.value.y + e.value.style.layout.dataLabels.xAxis.fontSize / 3}), rotate(-90)`,
|
|
1272
1277
|
"font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
|
|
1273
1278
|
fill: e.value.style.layout.dataLabels.xAxis.color
|
|
1274
1279
|
}, G(c(ue)(
|
|
1275
1280
|
e.value.style.layout.plots.selectors.labels.x.formatter,
|
|
1276
|
-
c(
|
|
1281
|
+
c(q)(z.value.xMax),
|
|
1277
1282
|
c(Q)({
|
|
1278
1283
|
p: e.value.style.layout.plots.selectors.labels.prefix,
|
|
1279
|
-
v: c(
|
|
1284
|
+
v: c(q)(z.value.xMax),
|
|
1280
1285
|
s: e.value.style.layout.plots.selectors.labels.suffix,
|
|
1281
1286
|
r: e.value.style.layout.dataLabels.xAxis.rounding
|
|
1282
1287
|
})
|
|
1283
|
-
)), 9,
|
|
1288
|
+
)), 9, Wa)) : x("", !0),
|
|
1284
1289
|
e.value.style.layout.dataLabels.yAxis.show ? (r(), y("text", {
|
|
1285
1290
|
key: 9,
|
|
1286
1291
|
ref_key: "yAxisLabelTop",
|
|
1287
|
-
ref:
|
|
1288
|
-
x:
|
|
1292
|
+
ref: qt,
|
|
1293
|
+
x: E.value.x,
|
|
1289
1294
|
y: n.value.top - e.value.style.layout.dataLabels.yAxis.fontSize,
|
|
1290
1295
|
"text-anchor": "middle",
|
|
1291
1296
|
"font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
|
|
1292
1297
|
fill: e.value.style.layout.dataLabels.yAxis.color
|
|
1293
1298
|
}, G(c(ue)(
|
|
1294
1299
|
e.value.style.layout.plots.selectors.labels.y.formatter,
|
|
1295
|
-
c(
|
|
1300
|
+
c(q)(z.value.yMax),
|
|
1296
1301
|
c(Q)({
|
|
1297
1302
|
p: e.value.style.layout.plots.selectors.labels.prefix,
|
|
1298
|
-
v: c(
|
|
1303
|
+
v: c(q)(z.value.yMax),
|
|
1299
1304
|
s: e.value.style.layout.plots.selectors.labels.suffix,
|
|
1300
1305
|
r: e.value.style.layout.dataLabels.yAxis.rounding
|
|
1301
1306
|
})
|
|
1302
|
-
)), 9,
|
|
1307
|
+
)), 9, Na)) : x("", !0),
|
|
1303
1308
|
e.value.style.layout.dataLabels.yAxis.show ? (r(), y("g", {
|
|
1304
1309
|
key: 10,
|
|
1305
1310
|
ref_key: "yAxisLabelBottom",
|
|
1306
1311
|
ref: Ee
|
|
1307
1312
|
}, [
|
|
1308
1313
|
w("text", {
|
|
1309
|
-
x:
|
|
1310
|
-
y:
|
|
1314
|
+
x: E.value.x,
|
|
1315
|
+
y: D.value.height - e.value.style.layout.dataLabels.yAxis.fontSize * 2,
|
|
1311
1316
|
"text-anchor": "middle",
|
|
1312
1317
|
"font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
|
|
1313
1318
|
fill: e.value.style.layout.dataLabels.yAxis.color
|
|
1314
1319
|
}, G(c(ue)(
|
|
1315
1320
|
e.value.style.layout.plots.selectors.labels.y.formatter,
|
|
1316
|
-
c(
|
|
1321
|
+
c(q)(z.value.yMin),
|
|
1317
1322
|
c(Q)({
|
|
1318
1323
|
p: e.value.style.layout.plots.selectors.labels.prefix,
|
|
1319
|
-
v: c(
|
|
1324
|
+
v: c(q)(z.value.yMin),
|
|
1320
1325
|
s: e.value.style.layout.plots.selectors.labels.suffix,
|
|
1321
1326
|
r: e.value.style.layout.dataLabels.yAxis.rounding
|
|
1322
1327
|
})
|
|
1323
|
-
)), 9,
|
|
1328
|
+
)), 9, Fa),
|
|
1324
1329
|
w("text", {
|
|
1325
1330
|
"text-anchor": "middle",
|
|
1326
1331
|
"font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
|
|
1327
1332
|
"font-weight": e.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal",
|
|
1328
1333
|
fill: e.value.style.layout.dataLabels.yAxis.color,
|
|
1329
1334
|
x: n.value.left + n.value.width / 2,
|
|
1330
|
-
y:
|
|
1331
|
-
}, G(e.value.style.layout.dataLabels.yAxis.name), 9,
|
|
1335
|
+
y: D.value.height
|
|
1336
|
+
}, G(e.value.style.layout.dataLabels.yAxis.name), 9, Ia)
|
|
1332
1337
|
], 512)) : x("", !0),
|
|
1333
1338
|
w("clipPath", {
|
|
1334
1339
|
id: `clip_path_${N.value}`
|
|
@@ -1338,9 +1343,9 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
|
|
|
1338
1343
|
y: n.value.top,
|
|
1339
1344
|
width: n.value.width <= 0 ? 1e-4 : n.value.width,
|
|
1340
1345
|
height: n.value.height <= 0 ? 1e-4 : n.value.height
|
|
1341
|
-
}, null, 8,
|
|
1342
|
-
], 8,
|
|
1343
|
-
e.value.style.layout.correlation.show ? (r(), y("g",
|
|
1346
|
+
}, null, 8, Ya)
|
|
1347
|
+
], 8, Xa),
|
|
1348
|
+
e.value.style.layout.correlation.show ? (r(), y("g", Ra, [
|
|
1344
1349
|
(r(!0), y(Z, null, K(j.value, (t, o) => (r(), y("line", {
|
|
1345
1350
|
x1: t.correlation.x1,
|
|
1346
1351
|
x2: t.correlation.x2,
|
|
@@ -1350,7 +1355,7 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
|
|
|
1350
1355
|
stroke: t.color,
|
|
1351
1356
|
"stroke-width": e.value.style.layout.correlation.strokeWidth,
|
|
1352
1357
|
"clip-path": `url(#clip_path_${N.value})`
|
|
1353
|
-
}, null, 8,
|
|
1358
|
+
}, null, 8, Va))), 256)),
|
|
1354
1359
|
(r(!0), y(Z, null, K(j.value, (t, o) => (r(), y("g", null, [
|
|
1355
1360
|
e.value.style.layout.correlation.label.show ? (r(), y("text", {
|
|
1356
1361
|
key: 0,
|
|
@@ -1361,38 +1366,38 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
|
|
|
1361
1366
|
"font-size": e.value.style.layout.correlation.label.fontSize,
|
|
1362
1367
|
"font-weight": e.value.style.layout.correlation.label.bold ? "bold" : "normal"
|
|
1363
1368
|
}, G(c(Q)({
|
|
1364
|
-
v: c(
|
|
1369
|
+
v: c(q)(t.correlation.coefficient),
|
|
1365
1370
|
r: e.value.style.layout.correlation.label.roundingValue
|
|
1366
|
-
})), 9,
|
|
1371
|
+
})), 9, ja)) : x("", !0)
|
|
1367
1372
|
]))), 256))
|
|
1368
1373
|
])) : x("", !0),
|
|
1369
|
-
V(l.$slots, "svg", { svg:
|
|
1370
|
-
], 46,
|
|
1371
|
-
l.$slots.watermark ? (r(), y("div",
|
|
1372
|
-
V(l.$slots, "watermark", fe(pe({ isPrinting: c(
|
|
1374
|
+
V(l.$slots, "svg", { svg: D.value }, void 0, !0)
|
|
1375
|
+
], 46, Rl)),
|
|
1376
|
+
l.$slots.watermark ? (r(), y("div", Ua, [
|
|
1377
|
+
V(l.$slots, "watermark", fe(pe({ isPrinting: c(ft) || c(pt) })), void 0, !0)
|
|
1373
1378
|
])) : x("", !0),
|
|
1374
1379
|
w("div", {
|
|
1375
1380
|
id: `legend-bottom-${N.value}`
|
|
1376
|
-
}, null, 8,
|
|
1377
|
-
|
|
1381
|
+
}, null, 8, Ga),
|
|
1382
|
+
rt.value ? (r(), le(yl, {
|
|
1378
1383
|
key: 5,
|
|
1379
1384
|
to: e.value.style.legend.position === "top" ? `#legend-top-${N.value}` : `#legend-bottom-${N.value}`
|
|
1380
1385
|
}, [
|
|
1381
1386
|
w("div", {
|
|
1382
1387
|
ref_key: "chartLegend",
|
|
1383
|
-
ref:
|
|
1388
|
+
ref: at
|
|
1384
1389
|
}, [
|
|
1385
|
-
e.value.style.legend.show ? (r(), le(
|
|
1386
|
-
key: `legend_${
|
|
1390
|
+
e.value.style.legend.show ? (r(), le(Wl, {
|
|
1391
|
+
key: `legend_${it.value}`,
|
|
1387
1392
|
legendSet: ie.value,
|
|
1388
|
-
config:
|
|
1389
|
-
onClickMarker: s[3] || (s[3] = ({ legend: t }) =>
|
|
1393
|
+
config: Jt.value,
|
|
1394
|
+
onClickMarker: s[3] || (s[3] = ({ legend: t }) => wt(t.id))
|
|
1390
1395
|
}, {
|
|
1391
1396
|
item: X(({ legend: t }) => [
|
|
1392
1397
|
w("div", {
|
|
1393
1398
|
onClick: (o) => t.segregate(),
|
|
1394
1399
|
style: ne(`opacity:${F.value.includes(t.id) ? 0.5 : 1}`)
|
|
1395
|
-
}, G(t.name), 13,
|
|
1400
|
+
}, G(t.name), 13, qa)
|
|
1396
1401
|
]),
|
|
1397
1402
|
_: 1
|
|
1398
1403
|
}, 8, ["legendSet", "config"])) : V(l.$slots, "legend", {
|
|
@@ -1404,13 +1409,13 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
|
|
|
1404
1409
|
l.$slots.source ? (r(), y("div", {
|
|
1405
1410
|
key: 6,
|
|
1406
1411
|
ref_key: "source",
|
|
1407
|
-
ref:
|
|
1412
|
+
ref: ot,
|
|
1408
1413
|
dir: "auto"
|
|
1409
1414
|
}, [
|
|
1410
1415
|
V(l.$slots, "source", {}, void 0, !0)
|
|
1411
1416
|
], 512)) : x("", !0),
|
|
1412
|
-
|
|
1413
|
-
show:
|
|
1417
|
+
$e(c(Nt), {
|
|
1418
|
+
show: H.value.showTooltip && ze.value,
|
|
1414
1419
|
backgroundColor: e.value.style.tooltip.backgroundColor,
|
|
1415
1420
|
color: e.value.style.tooltip.color,
|
|
1416
1421
|
borderRadius: e.value.style.tooltip.borderRadius,
|
|
@@ -1428,15 +1433,15 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
|
|
|
1428
1433
|
backdropFilter: e.value.style.tooltip.backdropFilter
|
|
1429
1434
|
}, {
|
|
1430
1435
|
"tooltip-before": X(() => [
|
|
1431
|
-
V(l.$slots, "tooltip-before", fe(pe({ ...
|
|
1436
|
+
V(l.$slots, "tooltip-before", fe(pe({ ...Re.value })), void 0, !0)
|
|
1432
1437
|
]),
|
|
1433
1438
|
"tooltip-after": X(() => [
|
|
1434
|
-
V(l.$slots, "tooltip-after", fe(pe({ ...
|
|
1439
|
+
V(l.$slots, "tooltip-after", fe(pe({ ...Re.value })), void 0, !0)
|
|
1435
1440
|
]),
|
|
1436
1441
|
default: X(() => [
|
|
1437
|
-
e.value.style.tooltip.showShape ? (r(), y("div",
|
|
1438
|
-
(r(), y("svg",
|
|
1439
|
-
|
|
1442
|
+
e.value.style.tooltip.showShape ? (r(), y("div", Ha, [
|
|
1443
|
+
(r(), y("svg", Za, [
|
|
1444
|
+
$e(Qe, {
|
|
1440
1445
|
shape: p.value.shape,
|
|
1441
1446
|
color: p.value.color,
|
|
1442
1447
|
plot: { x: 10, y: 10 },
|
|
@@ -1447,32 +1452,32 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
|
|
|
1447
1452
|
]),
|
|
1448
1453
|
_: 3
|
|
1449
1454
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter"]),
|
|
1450
|
-
|
|
1455
|
+
et.value ? (r(), le(cl(be.value.component), dl({ key: 7 }, be.value.props, {
|
|
1451
1456
|
ref_key: "tableUnit",
|
|
1452
1457
|
ref: xe,
|
|
1453
|
-
onClose:
|
|
1454
|
-
}),
|
|
1458
|
+
onClose: St
|
|
1459
|
+
}), Tt({
|
|
1455
1460
|
content: X(() => [
|
|
1456
|
-
(r(), le(c(
|
|
1457
|
-
key: `table_${
|
|
1461
|
+
(r(), le(c(Xt), {
|
|
1462
|
+
key: `table_${ut.value}`,
|
|
1458
1463
|
colNames: Ae.value.colNames,
|
|
1459
1464
|
head: Ae.value.head,
|
|
1460
1465
|
body: Ae.value.body,
|
|
1461
1466
|
config: Ae.value.config,
|
|
1462
1467
|
title: e.value.table.useDialog ? "" : be.value.title,
|
|
1463
1468
|
withCloseButton: !e.value.table.useDialog,
|
|
1464
|
-
onClose:
|
|
1469
|
+
onClose: St
|
|
1465
1470
|
}, {
|
|
1466
1471
|
th: X(({ th: t }) => [
|
|
1467
|
-
|
|
1472
|
+
zt(G(t), 1)
|
|
1468
1473
|
]),
|
|
1469
1474
|
td: X(({ td: t }) => [
|
|
1470
|
-
t.shape ? (r(), y("div",
|
|
1475
|
+
t.shape ? (r(), y("div", Ja, [
|
|
1471
1476
|
w("span", null, G(t.content), 1)
|
|
1472
1477
|
])) : (r(), y("div", {
|
|
1473
1478
|
key: 1,
|
|
1474
1479
|
innerHTML: t
|
|
1475
|
-
}, null, 8,
|
|
1480
|
+
}, null, 8, Ka))
|
|
1476
1481
|
]),
|
|
1477
1482
|
_: 1
|
|
1478
1483
|
}, 8, ["colNames", "head", "body", "config", "title", "withCloseButton"]))
|
|
@@ -1482,7 +1487,7 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
|
|
|
1482
1487
|
e.value.table.useDialog ? {
|
|
1483
1488
|
name: "title",
|
|
1484
1489
|
fn: X(() => [
|
|
1485
|
-
|
|
1490
|
+
zt(G(be.value.title), 1)
|
|
1486
1491
|
]),
|
|
1487
1492
|
key: "0"
|
|
1488
1493
|
} : void 0,
|
|
@@ -1492,9 +1497,9 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
|
|
|
1492
1497
|
w("button", {
|
|
1493
1498
|
tabindex: "0",
|
|
1494
1499
|
class: "vue-ui-user-options-button",
|
|
1495
|
-
onClick: s[4] || (s[4] = (t) =>
|
|
1500
|
+
onClick: s[4] || (s[4] = (t) => Ue(e.value.userOptions.callbacks.csv))
|
|
1496
1501
|
}, [
|
|
1497
|
-
|
|
1502
|
+
$e(c(Ft), {
|
|
1498
1503
|
name: "excel",
|
|
1499
1504
|
stroke: be.value.props.color
|
|
1500
1505
|
}, null, 8, ["stroke"])
|
|
@@ -1503,10 +1508,10 @@ const Il = ["id"], Xl = ["id"], Yl = ["xmlns", "viewBox"], Rl = ["width", "heigh
|
|
|
1503
1508
|
key: "1"
|
|
1504
1509
|
} : void 0
|
|
1505
1510
|
]), 1040)) : x("", !0),
|
|
1506
|
-
c(
|
|
1507
|
-
], 46,
|
|
1511
|
+
c(vt) ? (r(), le(Pl, { key: 8 })) : x("", !0)
|
|
1512
|
+
], 46, Xl));
|
|
1508
1513
|
}
|
|
1509
|
-
},
|
|
1514
|
+
}, ho = /* @__PURE__ */ Il(Qa, [["__scopeId", "data-v-e292711d"]]);
|
|
1510
1515
|
export {
|
|
1511
|
-
|
|
1516
|
+
ho as default
|
|
1512
1517
|
};
|