vue-data-ui 3.0.0-next.30 → 3.0.0-next.32
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-gZkDqarC.js → Arrow-DiI9PrPS.js} +1 -1
- package/dist/{BaseDraggableDialog-Cx7MDUn7.js → BaseDraggableDialog-C0Kz_kZp.js} +2 -2
- package/dist/{BaseIcon-DEGIw8ne.js → BaseIcon-B_tGgA4H.js} +1 -1
- package/dist/{ColorPicker-dVo9qgIk.js → ColorPicker-CNsQt00F.js} +2 -2
- package/dist/{DataTable-DjL9vVfm.js → DataTable-Cm1oLidx.js} +2 -2
- package/dist/{Legend-DNs8ZSxL.js → Legend-DlUDcF1t.js} +2 -2
- package/dist/{NonSvgPenAndPaper-Bmu00306.js → NonSvgPenAndPaper-CLlxRJK1.js} +3 -3
- package/dist/{PackageVersion-SqC1iXfO.js → PackageVersion-DZMJZGOu.js} +1 -1
- package/dist/{PenAndPaper-C1bF0gIz.js → PenAndPaper-BDNLADWh.js} +3 -3
- package/dist/{Shape-CNmKltYG.js → Shape-Br_SZ_x0.js} +1 -1
- package/dist/Slicer-DMU3nifX.js +588 -0
- package/dist/{SparkTooltip-BuPeepCP.js → SparkTooltip-B6xp9zx_.js} +1 -1
- package/dist/{Title-B21jaJ0n.js → Title-B5lsq0cx.js} +1 -1
- package/dist/{Tooltip-C4HWh3fx.js → Tooltip-CrAURNKT.js} +23 -19
- package/dist/{UserOptions-DQDPN9YO.js → UserOptions-CksX2mn0.js} +2 -2
- package/dist/{dom-to-png-Z16yk8O6.js → dom-to-png-CIBDe8BB.js} +1 -1
- package/dist/{img-UQKhhbxb.js → img-CWXYkVMQ.js} +1 -1
- package/dist/{index-Bxh2efzz.js → index-DB4XIP_N.js} +16 -3
- package/dist/{pdf-D2K9GCDq.js → pdf-Dm-ieKMv.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +13 -1
- package/dist/types/vue-data-ui.d.ts +13 -1
- package/dist/{useNestedProp-BGEUK51b.js → useNestedProp-iTa19l34.js} +1 -1
- package/dist/{usePrinter-CfB_poc_.js → usePrinter-id381vkp.js} +2 -2
- package/dist/{vue-data-ui-Em_nyncZ.js → vue-data-ui-WdvK3lBL.js} +64 -64
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-KFXQhCpk.js → vue-ui-3d-bar-CtiAXSRA.js} +6 -6
- package/dist/{vue-ui-accordion-CXj3OfMj.js → vue-ui-accordion-DAT3uTMD.js} +3 -3
- package/dist/{vue-ui-age-pyramid-Bygd_6Lj.js → vue-ui-age-pyramid-LuljyG04.js} +11 -9
- package/dist/{vue-ui-annotator-CaxhGvw9.js → vue-ui-annotator-CzHa2GlG.js} +2 -2
- package/dist/{vue-ui-bullet-xsVzeIGY.js → vue-ui-bullet-BEzXYrWC.js} +7 -7
- package/dist/{vue-ui-candlestick-DT3NblSj.js → vue-ui-candlestick-DSaFw3wl.js} +12 -10
- package/dist/{vue-ui-carousel-table-Bj6Blcps.js → vue-ui-carousel-table-D1CLPWmk.js} +4 -4
- package/dist/{vue-ui-chestnut-Bzi7pvOQ.js → vue-ui-chestnut-D3FNLdep.js} +5 -5
- package/dist/{vue-ui-chord-SN0lkfJI.js → vue-ui-chord-CFT-LcE4.js} +8 -8
- package/dist/{vue-ui-circle-pack-BwH7JGeH.js → vue-ui-circle-pack-Bl_cyLTg.js} +6 -6
- package/dist/{vue-ui-cursor-BLHqKKuQ.js → vue-ui-cursor-C2XYAY0n.js} +2 -2
- package/dist/{vue-ui-dashboard-C5ye3aO2.js → vue-ui-dashboard-4ZwAsn1N.js} +62 -62
- package/dist/{vue-ui-digits-fWW_yCiA.js → vue-ui-digits-Da5mTaOQ.js} +2 -2
- package/dist/{vue-ui-donut-VI_2cil0.js → vue-ui-donut-B6QlrBEH.js} +13 -11
- package/dist/{vue-ui-donut-evolution-BMDGbLPk.js → vue-ui-donut-evolution-Tv7oj7TE.js} +8 -8
- package/dist/{vue-ui-dumbbell-DYVwpQdP.js → vue-ui-dumbbell-LNnnDec4.js} +7 -7
- package/dist/{vue-ui-flow-BP3lwS2c.js → vue-ui-flow-B618L2Da.js} +12 -10
- package/dist/{vue-ui-funnel-C2gKEJrg.js → vue-ui-funnel-DS_tcSnW.js} +6 -6
- package/dist/{vue-ui-galaxy-CHu9EpUI.js → vue-ui-galaxy-C5qk-fEV.js} +51 -49
- package/dist/{vue-ui-gauge-DXoBEk4e.js → vue-ui-gauge-C33XPj6b.js} +6 -6
- package/dist/{vue-ui-gizmo-DpWaeVxb.js → vue-ui-gizmo-Cr6zUxnq.js} +3 -3
- package/dist/{vue-ui-heatmap-C6Xh5fmd.js → vue-ui-heatmap-ksiw1nTI.js} +32 -30
- package/dist/{vue-ui-history-plot-CH4RJSqN.js → vue-ui-history-plot-DM_vTyiY.js} +12 -10
- package/dist/{vue-ui-kpi-DJrypxm5.js → vue-ui-kpi-BgFQSUVT.js} +3 -3
- package/dist/{vue-ui-mini-loader-BMaEgYp1.js → vue-ui-mini-loader-BEpehl5X.js} +2 -2
- package/dist/{vue-ui-molecule-om_udncc.js → vue-ui-molecule-BIQFbPof.js} +35 -33
- package/dist/{vue-ui-mood-radar-BOd7BMa4.js → vue-ui-mood-radar-RShxk3Bz.js} +7 -7
- package/dist/{vue-ui-nested-donuts-B6krlgFx.js → vue-ui-nested-donuts-dMBxBBnZ.js} +62 -60
- package/dist/{vue-ui-onion-COQ1H7Ft.js → vue-ui-onion-ZVZ6wpNM.js} +46 -44
- package/dist/{vue-ui-parallel-coordinate-plot-CEKsfccd.js → vue-ui-parallel-coordinate-plot-1a3BGVsh.js} +69 -67
- package/dist/{vue-ui-quadrant-C88vkF8q.js → vue-ui-quadrant-XCnxKrJd.js} +59 -57
- package/dist/{vue-ui-quick-chart-CG2lY19C.js → vue-ui-quick-chart-BQJqdHxB.js} +11 -9
- package/dist/{vue-ui-radar-CUAYzxM4.js → vue-ui-radar-CeXlq2A-.js} +12 -10
- package/dist/{vue-ui-rating-DT0BLQ1G.js → vue-ui-rating-DTq-mZyU.js} +2 -2
- package/dist/{vue-ui-relation-circle-Ek_uAHpF.js → vue-ui-relation-circle-k8viefM-.js} +6 -6
- package/dist/{vue-ui-ridgeline-73OXSMcJ.js → vue-ui-ridgeline-B8oddwmZ.js} +8 -8
- package/dist/{vue-ui-rings-D1gK_JVs.js → vue-ui-rings-9XT1ePuY.js} +13 -11
- package/dist/{vue-ui-scatter-DCy4Vb84.js → vue-ui-scatter-oM-LVerf.js} +72 -70
- package/dist/{vue-ui-skeleton-DIb-2uan.js → vue-ui-skeleton-DDLBx4bb.js} +3 -3
- package/dist/{vue-ui-smiley-DiIu0kjQ.js → vue-ui-smiley-D5ybBkdY.js} +2 -2
- package/dist/{vue-ui-spark-trend-BPczzwfH.js → vue-ui-spark-trend-Tl-sOjqa.js} +3 -3
- package/dist/{vue-ui-sparkbar-B4LpToMU.js → vue-ui-sparkbar-Ce6dYcF4.js} +3 -3
- package/dist/{vue-ui-sparkgauge-D9KwmalJ.js → vue-ui-sparkgauge-DRHrbpSl.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-h7qmzAe1.js → vue-ui-sparkhistogram-DBtPWFim.js} +4 -4
- package/dist/{vue-ui-sparkline-DYYy38Fu.js → vue-ui-sparkline-DcF2ugGh.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-DIIyxzKM.js → vue-ui-sparkstackbar-C01iI0y3.js} +55 -53
- package/dist/{vue-ui-stackbar-BhPcAjIe.js → vue-ui-stackbar-BeCCgw_v.js} +196 -194
- package/dist/{vue-ui-strip-plot-9wxxXL3R.js → vue-ui-strip-plot-CsK2a1mH.js} +30 -28
- package/dist/{vue-ui-table-FAEiGW1W.js → vue-ui-table-COjBJDmq.js} +3 -3
- package/dist/{vue-ui-table-heatmap-Cwbw5Rqy.js → vue-ui-table-heatmap-DfxMcAr9.js} +5 -5
- package/dist/{vue-ui-table-sparkline-DnZ44NiP.js → vue-ui-table-sparkline-0BC6BxKt.js} +4 -4
- package/dist/{vue-ui-thermometer-CHFtR_VC.js → vue-ui-thermometer-Bf2_qGBi.js} +6 -6
- package/dist/{vue-ui-timer-DWzZTLxC.js → vue-ui-timer-BC9tH4qB.js} +5 -5
- package/dist/{vue-ui-tiremarks-DTS-ZQRp.js → vue-ui-tiremarks-ya8ABi9I.js} +6 -6
- package/dist/{vue-ui-treemap-B5OdGgS-.js → vue-ui-treemap-BSHptMc8.js} +13 -11
- package/dist/{vue-ui-vertical-bar-CcjDg9Bc.js → vue-ui-vertical-bar-B_Oa-v87.js} +41 -39
- package/dist/{vue-ui-waffle-C1XVqncx.js → vue-ui-waffle-DHB8v3nh.js} +13 -11
- package/dist/{vue-ui-wheel-DEIJPpR4.js → vue-ui-wheel-Bi28_KVB.js} +6 -6
- package/dist/{vue-ui-word-cloud-CUzU4JpO.js → vue-ui-word-cloud-BcQ2cfcu.js} +12 -10
- package/dist/{vue-ui-world-D0pONCg9.js → vue-ui-world-aLL9NUDQ.js} +11 -9
- package/dist/vue-ui-xy-BxonzF88.js +3710 -0
- package/dist/{vue-ui-xy-canvas-Do-IpmFr.js → vue-ui-xy-canvas-sUpmc7gl.js} +30 -28
- package/package.json +1 -1
- package/dist/Slicer-DYffOkSj.js +0 -577
- package/dist/vue-ui-xy-EoeoBLu2.js +0 -3027
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { defineAsyncComponent as Z, computed as
|
|
2
|
-
import { u as
|
|
3
|
-
import { t as Pt, u as
|
|
4
|
-
import { u as Ze } from "./useNestedProp-
|
|
5
|
-
import { u as
|
|
1
|
+
import { defineAsyncComponent as Z, computed as x, ref as h, watch as ht, shallowRef as Ge, onMounted as pt, onBeforeUnmount as ft, createElementBlock as r, openBlock as s, unref as u, normalizeStyle as j, normalizeClass as qe, createBlock as E, createCommentVNode as c, createElementVNode as d, createVNode as ge, createSlots as gt, withCtx as _, renderSlot as M, normalizeProps as te, guardReactiveProps as le, Fragment as F, renderList as Y, toDisplayString as C, createTextVNode as mt, nextTick as bt } from "vue";
|
|
2
|
+
import { u as xt, c as kt, t as wt, p as J, a as _t, o as Mt, e as me, b as $t, g as He, Y as Ct, a4 as At, V as St, X as zt, s as be, Z as Tt, i as U, v as A, f as W, q as Lt, r as Bt, x as Ot, y as Nt } from "./index-DB4XIP_N.js";
|
|
3
|
+
import { t as Pt, u as Ft } from "./useResponsive-DfdjqQps.js";
|
|
4
|
+
import { u as Ze } from "./useNestedProp-iTa19l34.js";
|
|
5
|
+
import { u as Wt } from "./usePrinter-id381vkp.js";
|
|
6
6
|
import { u as It } from "./useUserOptionState-BIvW1Kz7.js";
|
|
7
7
|
import { u as Xt } from "./useChartAccessibility-9icAAmYg.js";
|
|
8
|
-
import Yt from "./Legend-
|
|
9
|
-
import Dt from "./Title-
|
|
10
|
-
import { _ as Je } from "./Shape-
|
|
11
|
-
import Rt from "./img-
|
|
8
|
+
import Yt from "./Legend-DlUDcF1t.js";
|
|
9
|
+
import Dt from "./Title-B5lsq0cx.js";
|
|
10
|
+
import { _ as Je } from "./Shape-Br_SZ_x0.js";
|
|
11
|
+
import Rt from "./img-CWXYkVMQ.js";
|
|
12
12
|
import { _ as Vt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
13
|
const jt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { key: 1 }, qt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ht = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Zt = { key: 2 }, Jt = ["points", "fill", "stroke-width", "stroke-dasharray", "stroke"], Kt = { key: 0 }, Qt = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onMouseover"], el = { key: 1 }, tl = { key: 3 }, ll = ["id"], al = ["stop-color"], ol = ["stop-color"], sl = ["id"], ul = ["stop-color"], il = ["stop-color"], rl = ["x", "y", "width", "height", "fill", "stroke", "stroke-width", "rx"], nl = ["x", "y", "height", "width", "fill", "stroke", "stroke-width", "rx"], vl = { key: 0 }, yl = ["d", "stroke", "stroke-width"], cl = ["d", "stroke", "stroke-width"], dl = ["d", "stroke", "stroke-width"], hl = ["d", "stroke", "stroke-width"], pl = {
|
|
14
14
|
key: 4,
|
|
15
15
|
style: { "pointer-events": "none !important" }
|
|
16
|
-
}, fl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], gl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], ml = ["x", "y", "font-size", "fill", "font-weight", "text-anchor"],
|
|
16
|
+
}, fl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], gl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], ml = ["x", "y", "font-size", "fill", "font-weight", "text-anchor"], bl = ["x", "y", "font-size", "fill", "font-weight"], xl = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], kl = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], wl = ["x", "y", "font-size", "fill", "font-weight", "text-anchor"], _l = { key: 5 }, Ml = ["x", "y", "font-size", "fill"], $l = ["x", "y", "font-size", "fill"], Cl = ["id", "transform", "font-size", "font-weight", "fill"], Al = { key: 6 }, Sl = ["x", "y", "font-size", "fill"], zl = ["x", "y", "font-size", "fill"], Tl = ["font-size", "font-weight", "fill", "x", "y"], Ll = ["id"], Bl = ["x", "y", "width", "height"], Ol = { key: 7 }, Nl = ["x1", "x2", "y1", "y2", "stroke-dasharray", "stroke", "stroke-width", "clip-path"], Pl = ["x", "y", "fill", "font-size", "font-weight"], Fl = {
|
|
17
17
|
key: 5,
|
|
18
18
|
class: "vue-data-ui-watermark"
|
|
19
|
-
},
|
|
19
|
+
}, Wl = ["onClick"], Il = {
|
|
20
20
|
key: 0,
|
|
21
21
|
style: { width: "100%", display: "flex", "align-items": "center", "justify-content": "center" }
|
|
22
22
|
}, Xl = {
|
|
@@ -41,7 +41,7 @@ const jt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
|
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
43
|
setup(Ke, { expose: Qe }) {
|
|
44
|
-
const et = Z(() => import("./vue-ui-accordion-
|
|
44
|
+
const et = Z(() => import("./vue-ui-accordion-DAT3uTMD.js")), tt = Z(() => import("./DataTable-Cm1oLidx.js")), lt = Z(() => import("./PackageVersion-DZMJZGOu.js")), at = Z(() => import("./PenAndPaper-BDNLADWh.js")), ot = Z(() => import("./vue-ui-skeleton-DDLBx4bb.js")), st = Z(() => import("./Tooltip-CrAURNKT.js")), ut = Z(() => import("./UserOptions-CksX2mn0.js")), { vue_ui_scatter: it } = xt(), I = Ke, ae = x(() => !!I.dataset && I.dataset.length), S = h(kt()), rt = h(null), re = h(!1), ne = h(""), xe = h(0), D = h(null), ke = h(null), we = h(null), _e = h(null), Me = h(null), $e = h(0), Ce = h(0), Ae = h(0), b = h([]), e = x({
|
|
45
45
|
get: () => Le(),
|
|
46
46
|
set: (t) => t
|
|
47
47
|
}), { userOptionsVisible: ve, setUserOptionsVisibility: Se, keepUserOptionState: ze } = It({ config: e.value }), { svgRef: Te } = Xt({ config: e.value.style.title });
|
|
@@ -71,7 +71,7 @@ const jt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
|
|
|
71
71
|
type: "dataset"
|
|
72
72
|
}), e.value.responsive) {
|
|
73
73
|
const t = Pt(() => {
|
|
74
|
-
const { width: i, height: l } =
|
|
74
|
+
const { width: i, height: l } = Ft({
|
|
75
75
|
chart: D.value,
|
|
76
76
|
title: e.value.style.title.text ? ke.value : null,
|
|
77
77
|
legend: e.value.style.legend.show ? we.value : null,
|
|
@@ -88,24 +88,24 @@ const jt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
|
|
|
88
88
|
ft(() => {
|
|
89
89
|
R.value && (K.value && R.value.unobserve(K.value), R.value.disconnect());
|
|
90
90
|
});
|
|
91
|
-
const { isPrinting: Oe, isImaging: Ne, generatePdf: Pe, generateImage:
|
|
91
|
+
const { isPrinting: Oe, isImaging: Ne, generatePdf: Pe, generateImage: Fe } = Wt({
|
|
92
92
|
elementId: `vue-ui-scatter_${S.value}`,
|
|
93
93
|
fileName: e.value.style.title.text || "vue-ui-scatter",
|
|
94
94
|
options: e.value.userOptions.print
|
|
95
|
-
}), nt =
|
|
95
|
+
}), nt = x(() => e.value.userOptions.show && !e.value.style.title.text), We = x(() => $t(e.value.customPalette)), O = h({
|
|
96
96
|
showTable: e.value.table.show,
|
|
97
97
|
showTooltip: e.value.style.tooltip.show
|
|
98
98
|
}), k = h({
|
|
99
99
|
height: e.value.style.layout.height,
|
|
100
100
|
width: e.value.style.layout.width
|
|
101
|
-
}), oe =
|
|
101
|
+
}), oe = x(() => e.value.style.layout.marginalBars.show ? e.value.style.layout.marginalBars.size + e.value.style.layout.marginalBars.offset : 0), n = x(() => ({
|
|
102
102
|
top: e.value.style.layout.padding.top + oe.value,
|
|
103
103
|
right: k.value.width - e.value.style.layout.padding.right - oe.value,
|
|
104
104
|
bottom: k.value.height - e.value.style.layout.padding.bottom,
|
|
105
105
|
left: e.value.style.layout.padding.left,
|
|
106
106
|
height: k.value.height - e.value.style.layout.padding.top - e.value.style.layout.padding.bottom - oe.value,
|
|
107
107
|
width: k.value.width - e.value.style.layout.padding.left - e.value.style.layout.padding.right - oe.value
|
|
108
|
-
})), p =
|
|
108
|
+
})), p = x(() => {
|
|
109
109
|
I.dataset.forEach((a, v) => {
|
|
110
110
|
He({
|
|
111
111
|
datasetObject: a,
|
|
@@ -131,12 +131,12 @@ const jt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
|
|
|
131
131
|
});
|
|
132
132
|
});
|
|
133
133
|
});
|
|
134
|
-
const t = Math.min(...G.value.filter((a) => !
|
|
134
|
+
const t = Math.min(...G.value.filter((a) => !b.value.includes(a.id)).flatMap((a) => a.values.map((v) => v.x))), i = Math.max(...G.value.filter((a) => !b.value.includes(a.id)).flatMap((a) => a.values.map((v) => v.x))), l = Math.min(...G.value.filter((a) => !b.value.includes(a.id)).flatMap((a) => a.values.map((v) => v.y))), o = Math.max(...G.value.filter((a) => !b.value.includes(a.id)).flatMap((a) => a.values.map((v) => v.y)));
|
|
135
135
|
return { xMin: t >= 0 ? 0 : t, xMax: i, yMin: l >= 0 ? 0 : l, yMax: o };
|
|
136
|
-
}), g =
|
|
136
|
+
}), g = x(() => ({
|
|
137
137
|
x: n.value.left + Math.abs(p.value.xMin) / (p.value.xMax + Math.abs(p.value.xMin)) * n.value.width,
|
|
138
138
|
y: n.value.bottom - Math.abs(p.value.yMin) / (p.value.yMax + Math.abs(p.value.yMin)) * n.value.height
|
|
139
|
-
})), G =
|
|
139
|
+
})), G = x(() => I.dataset.map((t, i) => {
|
|
140
140
|
const l = `cluster_${S.value}_${i}`;
|
|
141
141
|
return {
|
|
142
142
|
...t,
|
|
@@ -145,20 +145,20 @@ const jt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
|
|
|
145
145
|
threshold: e.value.downsample.threshold
|
|
146
146
|
}),
|
|
147
147
|
id: l,
|
|
148
|
-
color: t.color ? t.color :
|
|
149
|
-
opacity:
|
|
148
|
+
color: t.color ? t.color : We.value[i] || J[i] || J[i % J.length],
|
|
149
|
+
opacity: b.value.includes(l) ? 0.5 : 1,
|
|
150
150
|
shape: t.shape ?? "circle",
|
|
151
151
|
segregate: () => Re(l),
|
|
152
|
-
isSegregated:
|
|
152
|
+
isSegregated: b.value.includes(l)
|
|
153
153
|
};
|
|
154
|
-
})), vt =
|
|
154
|
+
})), vt = x(() => ({
|
|
155
155
|
cy: "scatter-div-legend",
|
|
156
156
|
backgroundColor: e.value.style.legend.backgroundColor,
|
|
157
157
|
color: e.value.style.legend.color,
|
|
158
158
|
fontSize: e.value.style.legend.fontSize,
|
|
159
159
|
paddingBottom: 12,
|
|
160
160
|
fontWeight: e.value.style.legend.bold ? "bold" : ""
|
|
161
|
-
})), ye =
|
|
161
|
+
})), ye = x(() => G.value.map((t, i) => ({
|
|
162
162
|
...t,
|
|
163
163
|
plots: t.values.map((l) => ({
|
|
164
164
|
x: n.value.left + (l.x + Math.abs(p.value.xMin)) / (p.value.xMax + Math.abs(p.value.xMin)) * n.value.width,
|
|
@@ -168,11 +168,11 @@ const jt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
|
|
|
168
168
|
name: l.name || ""
|
|
169
169
|
},
|
|
170
170
|
clusterName: t.name,
|
|
171
|
-
color: t.color ? t.color :
|
|
171
|
+
color: t.color ? t.color : We.value[i] || J[i] || J[i % J.length],
|
|
172
172
|
id: `plot_${S.value}_${Math.random()}`,
|
|
173
173
|
weight: l.weight ?? e.value.style.layout.plots.radius
|
|
174
174
|
}))
|
|
175
|
-
})).filter((t) => !
|
|
175
|
+
})).filter((t) => !b.value.includes(t.id))), z = x(() => ye.value.map((t) => {
|
|
176
176
|
const i = t.plots.reduce((m, q) => m + q.x, 0) / t.plots.length, l = t.plots.reduce((m, q) => m + q.y, 0) / t.plots.length;
|
|
177
177
|
let o = 0, a = 0, v = 0;
|
|
178
178
|
for (const m of t.plots)
|
|
@@ -201,7 +201,7 @@ const jt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
|
|
|
201
201
|
};
|
|
202
202
|
})
|
|
203
203
|
};
|
|
204
|
-
})), Ie =
|
|
204
|
+
})), Ie = x(() => Math.max(...z.value.flatMap((t) => t.plots.map((i) => Math.abs(i.deviation)))));
|
|
205
205
|
function yt() {
|
|
206
206
|
return z.value;
|
|
207
207
|
}
|
|
@@ -228,7 +228,7 @@ const jt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
|
|
|
228
228
|
const q = Math.max(...B), he = Math.max(...X);
|
|
229
229
|
return { x: B, y: X, avgX: ie, avgY: m, maxX: q, maxY: he };
|
|
230
230
|
}
|
|
231
|
-
const V =
|
|
231
|
+
const V = x(() => e.value.style.layout.marginalBars.tranches), T = x(() => Xe(ye.value, V.value)), ct = x(() => {
|
|
232
232
|
const t = n.value.top - e.value.style.layout.marginalBars.offset, i = n.value.right + e.value.style.layout.marginalBars.offset;
|
|
233
233
|
return ye.value.map((l) => {
|
|
234
234
|
const o = Xe(l, V.value);
|
|
@@ -270,7 +270,7 @@ const jt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
|
|
|
270
270
|
}) : (t.clusterName && (l += `<div style="display:flex;gap:3px;align-items:center">${t.clusterName}</div>`), t.v.name && (l += `<div>${t.v.name}</div>`), l += `<div style="text-align:left;margin-top:6px;padding-top:6px;border-top:1px solid ${e.value.style.tooltip.borderColor}">`, l += `<div>${e.value.style.layout.dataLabels.xAxis.name}: <b>${isNaN(t.v.x) ? "-" : U(
|
|
271
271
|
e.value.style.layout.plots.selectors.labels.x.formatter,
|
|
272
272
|
t.v.x,
|
|
273
|
-
|
|
273
|
+
W({
|
|
274
274
|
p: e.value.style.tooltip.prefix,
|
|
275
275
|
v: t.v.x,
|
|
276
276
|
s: e.value.style.tooltip.suffix,
|
|
@@ -280,14 +280,14 @@ const jt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
|
|
|
280
280
|
)}</b></div>`, l += `<div>${e.value.style.layout.dataLabels.yAxis.name}: <b>${isNaN(t.v.y) ? "-" : U(
|
|
281
281
|
e.value.style.layout.plots.selectors.labels.y.formatter,
|
|
282
282
|
t.v.y,
|
|
283
|
-
|
|
283
|
+
W({
|
|
284
284
|
p: e.value.style.tooltip.prefix,
|
|
285
285
|
v: t.v.y,
|
|
286
286
|
s: e.value.style.tooltip.suffix,
|
|
287
287
|
r: e.value.style.tooltip.roundingValue
|
|
288
288
|
}),
|
|
289
289
|
{ datapoint: t, seriesIndex: i }
|
|
290
|
-
)}</b></div>`, l += `${e.value.style.layout.plots.deviation.translation}: <b>${
|
|
290
|
+
)}</b></div>`, l += `${e.value.style.layout.plots.deviation.translation}: <b>${W({
|
|
291
291
|
v: t.deviation,
|
|
292
292
|
r: e.value.style.layout.plots.deviation.roundingValue
|
|
293
293
|
})}</b>`, l += "</div>", ne.value = `<div>${l}</div>`), re.value = !0;
|
|
@@ -296,10 +296,10 @@ const jt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
|
|
|
296
296
|
re.value = !1, N.value = void 0, y.value = null;
|
|
297
297
|
}
|
|
298
298
|
function Re(t) {
|
|
299
|
-
|
|
299
|
+
b.value.includes(t) ? b.value = b.value.filter((i) => i !== t) : b.value.length < I.dataset.length - 1 && b.value.push(t);
|
|
300
300
|
}
|
|
301
301
|
function Ve(t = null) {
|
|
302
|
-
|
|
302
|
+
bt(() => {
|
|
303
303
|
const i = ["", 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}`], l = z.value.map((v) => [
|
|
304
304
|
v.name,
|
|
305
305
|
v.correlation.coefficient,
|
|
@@ -310,7 +310,7 @@ const jt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
|
|
|
310
310
|
t ? t(a) : Bt({ csvContent: a, title: e.value.style.title.text || "vue-ui-heatmap" });
|
|
311
311
|
});
|
|
312
312
|
}
|
|
313
|
-
const se =
|
|
313
|
+
const se = x(() => {
|
|
314
314
|
const t = [
|
|
315
315
|
e.value.table.translations.series,
|
|
316
316
|
e.value.table.translations.correlationCoefficient,
|
|
@@ -343,7 +343,7 @@ const jt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
|
|
|
343
343
|
return { head: t, body: i, config: l, colNames: t };
|
|
344
344
|
}), Q = h(!1);
|
|
345
345
|
function je(t) {
|
|
346
|
-
Q.value = t,
|
|
346
|
+
Q.value = t, xe.value += 1;
|
|
347
347
|
}
|
|
348
348
|
function Ee() {
|
|
349
349
|
O.value.showTable = !O.value.showTable;
|
|
@@ -372,7 +372,7 @@ const jt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
|
|
|
372
372
|
getImage: dt,
|
|
373
373
|
generatePdf: Pe,
|
|
374
374
|
generateCsv: Ve,
|
|
375
|
-
generateImage:
|
|
375
|
+
generateImage: Fe,
|
|
376
376
|
toggleTable: Ee,
|
|
377
377
|
toggleTooltip: Ue,
|
|
378
378
|
toggleAnnotator: de,
|
|
@@ -424,7 +424,7 @@ const jt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
|
|
|
424
424
|
e.value.userOptions.show && ae.value && (u(ze) || u(ve)) ? (s(), E(u(ut), {
|
|
425
425
|
ref_key: "details",
|
|
426
426
|
ref: rt,
|
|
427
|
-
key: `user_options_${
|
|
427
|
+
key: `user_options_${xe.value}`,
|
|
428
428
|
backgroundColor: e.value.style.backgroundColor,
|
|
429
429
|
color: e.value.style.color,
|
|
430
430
|
isImaging: u(Ne),
|
|
@@ -448,7 +448,7 @@ const jt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
|
|
|
448
448
|
onToggleFullscreen: je,
|
|
449
449
|
onGeneratePdf: u(Pe),
|
|
450
450
|
onGenerateCsv: Ve,
|
|
451
|
-
onGenerateImage: u(
|
|
451
|
+
onGenerateImage: u(Fe),
|
|
452
452
|
onToggleTable: Ee,
|
|
453
453
|
onToggleTooltip: Ue,
|
|
454
454
|
onToggleAnnotator: de,
|
|
@@ -556,11 +556,11 @@ const jt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
|
|
|
556
556
|
}, null, 8, Ht)
|
|
557
557
|
])) : c("", !0),
|
|
558
558
|
e.value.style.layout.plots.giftWrap.show ? (s(), r("g", Zt, [
|
|
559
|
-
(s(!0), r(
|
|
559
|
+
(s(!0), r(F, null, Y(z.value, (l, o) => (s(), r("g", null, [
|
|
560
560
|
l.plots.length > 2 ? (s(), r("polygon", {
|
|
561
561
|
key: 0,
|
|
562
562
|
points: u(Tt)({ series: l.plots }),
|
|
563
|
-
fill: u(
|
|
563
|
+
fill: u(be)(l.color, e.value.style.layout.plots.giftWrap.fillOpacity * 100),
|
|
564
564
|
"stroke-width": e.value.style.layout.plots.giftWrap.strokeWidth,
|
|
565
565
|
"stroke-dasharray": e.value.style.layout.plots.giftWrap.strokeDasharray,
|
|
566
566
|
stroke: l.color,
|
|
@@ -569,13 +569,13 @@ const jt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
|
|
|
569
569
|
}, null, 8, Jt)) : c("", !0)
|
|
570
570
|
]))), 256))
|
|
571
571
|
])) : c("", !0),
|
|
572
|
-
(s(!0), r(
|
|
572
|
+
(s(!0), r(F, null, Y(z.value, (l, o) => (s(), r("g", null, [
|
|
573
573
|
!l.shape || l.shape === "circle" ? (s(), r("g", Kt, [
|
|
574
|
-
(s(!0), r(
|
|
574
|
+
(s(!0), r(F, null, Y(l.plots, (a, v) => (s(), r("circle", {
|
|
575
575
|
cx: a.x,
|
|
576
576
|
cy: a.y,
|
|
577
577
|
r: N.value && N.value === a.id ? a.weight * 2 : a.weight,
|
|
578
|
-
fill: u(
|
|
578
|
+
fill: u(be)(l.color, e.value.style.layout.plots.opacity * 100),
|
|
579
579
|
stroke: e.value.style.layout.plots.stroke,
|
|
580
580
|
"stroke-width": e.value.style.layout.plots.strokeWidth,
|
|
581
581
|
onMouseover: (f) => Ye(a, o),
|
|
@@ -583,11 +583,11 @@ const jt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
|
|
|
583
583
|
style: j(`opacity:${N.value && N.value === a.id ? 1 : e.value.style.layout.plots.significance.useDistanceOpacity ? 1 - Math.abs(a.deviation) / Ie.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}`)
|
|
584
584
|
}, null, 44, Qt))), 256))
|
|
585
585
|
])) : (s(), r("g", el, [
|
|
586
|
-
(s(!0), r(
|
|
586
|
+
(s(!0), r(F, null, Y(l.plots, (a, v) => (s(), E(Je, {
|
|
587
587
|
plot: { x: a.x, y: a.y },
|
|
588
588
|
radius: N.value && N.value === a.id ? a.weight * 2 : a.weight,
|
|
589
589
|
shape: l.shape,
|
|
590
|
-
color: u(
|
|
590
|
+
color: u(be)(l.color, e.value.style.layout.plots.opacity * 100),
|
|
591
591
|
stroke: e.value.style.layout.plots.stroke,
|
|
592
592
|
strokeWidth: e.value.style.layout.plots.strokeWidth,
|
|
593
593
|
onMouseover: (f) => Ye(a, o),
|
|
@@ -631,7 +631,7 @@ const jt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
|
|
|
631
631
|
}, null, 8, il)
|
|
632
632
|
], 8, sl)
|
|
633
633
|
]),
|
|
634
|
-
(s(!0), r(
|
|
634
|
+
(s(!0), r(F, null, Y(T.value.x, (l, o) => (s(), r("g", null, [
|
|
635
635
|
l && T.value.avgX[o] ? (s(), r("rect", {
|
|
636
636
|
key: 0,
|
|
637
637
|
x: T.value.avgX[o] - n.value.width / V.value / 2,
|
|
@@ -645,7 +645,7 @@ const jt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
|
|
|
645
645
|
rx: e.value.style.layout.marginalBars.borderRadius
|
|
646
646
|
}, null, 12, rl)) : c("", !0)
|
|
647
647
|
]))), 256)),
|
|
648
|
-
(s(!0), r(
|
|
648
|
+
(s(!0), r(F, null, Y(T.value.y, (l, o) => (s(), r("g", null, [
|
|
649
649
|
l && T.value.avgY[o] ? (s(), r("rect", {
|
|
650
650
|
key: 0,
|
|
651
651
|
x: n.value.right + e.value.style.layout.marginalBars.offset,
|
|
@@ -660,8 +660,8 @@ const jt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
|
|
|
660
660
|
}, null, 12, nl)) : c("", !0)
|
|
661
661
|
]))), 256)),
|
|
662
662
|
e.value.style.layout.marginalBars.showLines ? (s(), r("g", vl, [
|
|
663
|
-
(s(!0), r(
|
|
664
|
-
|
|
663
|
+
(s(!0), r(F, null, Y(ct.value, (l) => (s(), r(F, null, [
|
|
664
|
+
b.value.includes(l.id) ? c("", !0) : (s(), r("path", {
|
|
665
665
|
key: 0,
|
|
666
666
|
d: `M ${l.dX}`,
|
|
667
667
|
stroke: e.value.style.backgroundColor,
|
|
@@ -670,7 +670,7 @@ const jt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
|
|
|
670
670
|
"stroke-linejoin": "round",
|
|
671
671
|
fill: "none"
|
|
672
672
|
}, null, 8, yl)),
|
|
673
|
-
|
|
673
|
+
b.value.includes(l.id) ? c("", !0) : (s(), r("path", {
|
|
674
674
|
key: 1,
|
|
675
675
|
d: `M ${l.dX}`,
|
|
676
676
|
stroke: l.color,
|
|
@@ -679,7 +679,7 @@ const jt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
|
|
|
679
679
|
"stroke-linejoin": "round",
|
|
680
680
|
fill: "none"
|
|
681
681
|
}, null, 8, cl)),
|
|
682
|
-
|
|
682
|
+
b.value.includes(l.id) ? c("", !0) : (s(), r("path", {
|
|
683
683
|
key: 2,
|
|
684
684
|
d: `M ${l.dY}`,
|
|
685
685
|
stroke: e.value.style.backgroundColor,
|
|
@@ -688,7 +688,7 @@ const jt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
|
|
|
688
688
|
"stroke-linejoin": "round",
|
|
689
689
|
fill: "none"
|
|
690
690
|
}, null, 8, dl)),
|
|
691
|
-
|
|
691
|
+
b.value.includes(l.id) ? c("", !0) : (s(), r("path", {
|
|
692
692
|
key: 3,
|
|
693
693
|
d: `M ${l.dY}`,
|
|
694
694
|
stroke: l.color,
|
|
@@ -733,7 +733,7 @@ const jt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
|
|
|
733
733
|
}, C(u(U)(
|
|
734
734
|
e.value.style.layout.plots.selectors.labels.y.formatter,
|
|
735
735
|
u(A)(y.value.v.y),
|
|
736
|
-
u(
|
|
736
|
+
u(W)({
|
|
737
737
|
p: e.value.style.layout.plots.selectors.labels.prefix,
|
|
738
738
|
v: u(A)(y.value.v.y),
|
|
739
739
|
s: e.value.style.layout.plots.selectors.labels.suffix,
|
|
@@ -751,14 +751,14 @@ const jt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
|
|
|
751
751
|
}, C(u(U)(
|
|
752
752
|
e.value.style.layout.plots.selectors.labels.y.formatter,
|
|
753
753
|
u(A)(y.value.v.x),
|
|
754
|
-
u(
|
|
754
|
+
u(W)({
|
|
755
755
|
p: e.value.style.layout.plots.selectors.labels.prefix,
|
|
756
756
|
v: u(A)(y.value.v.x),
|
|
757
757
|
s: e.value.style.layout.plots.selectors.labels.suffix,
|
|
758
758
|
r: e.value.style.layout.plots.selectors.labels.rounding
|
|
759
759
|
}),
|
|
760
760
|
{ datapoint: y.value }
|
|
761
|
-
)), 9,
|
|
761
|
+
)), 9, bl),
|
|
762
762
|
d("circle", {
|
|
763
763
|
cx: g.value.x,
|
|
764
764
|
cy: y.value.y,
|
|
@@ -767,7 +767,7 @@ const jt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
|
|
|
767
767
|
stroke: e.value.style.layout.plots.selectors.markers.stroke,
|
|
768
768
|
"stroke-width": e.value.style.layout.plots.selectors.markers.strokeWidth,
|
|
769
769
|
class: "line-pointer"
|
|
770
|
-
}, null, 8,
|
|
770
|
+
}, null, 8, xl),
|
|
771
771
|
d("circle", {
|
|
772
772
|
cx: y.value.x,
|
|
773
773
|
cy: g.value.y,
|
|
@@ -797,7 +797,7 @@ const jt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
|
|
|
797
797
|
}, C(u(U)(
|
|
798
798
|
e.value.style.layout.plots.selectors.labels.x.formatter,
|
|
799
799
|
u(A)(p.value.xMin),
|
|
800
|
-
u(
|
|
800
|
+
u(W)({
|
|
801
801
|
p: e.value.style.layout.plots.selectors.labels.prefix,
|
|
802
802
|
v: u(A)(p.value.xMin),
|
|
803
803
|
s: e.value.style.layout.plots.selectors.labels.suffix,
|
|
@@ -813,7 +813,7 @@ const jt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
|
|
|
813
813
|
}, C(u(U)(
|
|
814
814
|
e.value.style.layout.plots.selectors.labels.x.formatter,
|
|
815
815
|
u(A)(p.value.xMax),
|
|
816
|
-
u(
|
|
816
|
+
u(W)({
|
|
817
817
|
p: e.value.style.layout.plots.selectors.labels.prefix,
|
|
818
818
|
v: u(A)(p.value.xMax),
|
|
819
819
|
s: e.value.style.layout.plots.selectors.labels.suffix,
|
|
@@ -839,7 +839,7 @@ const jt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
|
|
|
839
839
|
}, C(u(U)(
|
|
840
840
|
e.value.style.layout.plots.selectors.labels.y.formatter,
|
|
841
841
|
u(A)(p.value.yMin),
|
|
842
|
-
u(
|
|
842
|
+
u(W)({
|
|
843
843
|
p: e.value.style.layout.plots.selectors.labels.prefix,
|
|
844
844
|
v: u(A)(p.value.yMin),
|
|
845
845
|
s: e.value.style.layout.plots.selectors.labels.suffix,
|
|
@@ -855,7 +855,7 @@ const jt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
|
|
|
855
855
|
}, C(u(U)(
|
|
856
856
|
e.value.style.layout.plots.selectors.labels.y.formatter,
|
|
857
857
|
u(A)(p.value.yMax),
|
|
858
|
-
u(
|
|
858
|
+
u(W)({
|
|
859
859
|
p: e.value.style.layout.plots.selectors.labels.prefix,
|
|
860
860
|
v: u(A)(p.value.yMax),
|
|
861
861
|
s: e.value.style.layout.plots.selectors.labels.suffix,
|
|
@@ -882,7 +882,7 @@ const jt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
|
|
|
882
882
|
}, null, 8, Bl)
|
|
883
883
|
], 8, Ll),
|
|
884
884
|
e.value.style.layout.correlation.show ? (s(), r("g", Ol, [
|
|
885
|
-
(s(!0), r(
|
|
885
|
+
(s(!0), r(F, null, Y(z.value, (l, o) => (s(), r("line", {
|
|
886
886
|
x1: l.correlation.x1,
|
|
887
887
|
x2: l.correlation.x2,
|
|
888
888
|
y1: l.correlation.y1,
|
|
@@ -892,7 +892,7 @@ const jt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
|
|
|
892
892
|
"stroke-width": e.value.style.layout.correlation.strokeWidth,
|
|
893
893
|
"clip-path": `url(#clip_path_${S.value})`
|
|
894
894
|
}, null, 8, Nl))), 256)),
|
|
895
|
-
(s(!0), r(
|
|
895
|
+
(s(!0), r(F, null, Y(z.value, (l, o) => (s(), r("g", null, [
|
|
896
896
|
e.value.style.layout.correlation.label.show ? (s(), r("text", {
|
|
897
897
|
key: 0,
|
|
898
898
|
x: l.label.x,
|
|
@@ -900,7 +900,7 @@ const jt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
|
|
|
900
900
|
fill: e.value.style.layout.correlation.label.useSerieColor ? l.color : e.value.style.layout.correlation.label.color,
|
|
901
901
|
"font-size": e.value.style.layout.correlation.label.fontSize,
|
|
902
902
|
"font-weight": e.value.style.layout.correlation.label.bold ? "bold" : "normal"
|
|
903
|
-
}, C(u(
|
|
903
|
+
}, C(u(W)({
|
|
904
904
|
v: u(A)(l.correlation.coefficient),
|
|
905
905
|
r: e.value.style.layout.correlation.label.roundingValue
|
|
906
906
|
})), 9, Pl)) : c("", !0)
|
|
@@ -908,7 +908,7 @@ const jt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
|
|
|
908
908
|
])) : c("", !0),
|
|
909
909
|
M(t.$slots, "svg", { svg: k.value }, void 0, !0)
|
|
910
910
|
], 14, Et)) : c("", !0),
|
|
911
|
-
t.$slots.watermark ? (s(), r("div",
|
|
911
|
+
t.$slots.watermark ? (s(), r("div", Fl, [
|
|
912
912
|
M(t.$slots, "watermark", te(le({ isPrinting: u(Oe) || u(Ne) })), void 0, !0)
|
|
913
913
|
])) : c("", !0),
|
|
914
914
|
ae.value ? c("", !0) : (s(), E(u(ot), {
|
|
@@ -942,8 +942,8 @@ const jt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
|
|
|
942
942
|
item: _(({ legend: l }) => [
|
|
943
943
|
d("div", {
|
|
944
944
|
onClick: (o) => l.segregate(),
|
|
945
|
-
style: j(`opacity:${
|
|
946
|
-
}, C(l.name), 13,
|
|
945
|
+
style: j(`opacity:${b.value.includes(l.id) ? 0.5 : 1}`)
|
|
946
|
+
}, C(l.name), 13, Wl)
|
|
947
947
|
]),
|
|
948
948
|
_: 1
|
|
949
949
|
}, 8, ["legendSet", "config"])) : M(t.$slots, "legend", {
|
|
@@ -973,7 +973,9 @@ const jt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
|
|
|
973
973
|
parent: D.value,
|
|
974
974
|
content: ne.value,
|
|
975
975
|
isFullscreen: Q.value,
|
|
976
|
-
isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function"
|
|
976
|
+
isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function",
|
|
977
|
+
smooth: e.value.style.tooltip.smooth,
|
|
978
|
+
backdropFilter: e.value.style.tooltip.backdropFilter
|
|
977
979
|
}, {
|
|
978
980
|
"tooltip-before": _(() => [
|
|
979
981
|
M(t.$slots, "tooltip-before", te(le({ ...ce.value })), void 0, !0)
|
|
@@ -994,7 +996,7 @@ const jt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
|
|
|
994
996
|
])) : c("", !0)
|
|
995
997
|
]),
|
|
996
998
|
_: 3
|
|
997
|
-
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
|
|
999
|
+
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter"]),
|
|
998
1000
|
ae.value ? (s(), E(u(et), {
|
|
999
1001
|
key: 8,
|
|
1000
1002
|
hideDetails: "",
|
|
@@ -1039,7 +1041,7 @@ const jt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["width", "height"], Gt = { k
|
|
|
1039
1041
|
}, 8, ["config"])) : c("", !0)
|
|
1040
1042
|
], 46, jt));
|
|
1041
1043
|
}
|
|
1042
|
-
}, ta = /* @__PURE__ */ Vt(Rl, [["__scopeId", "data-v-
|
|
1044
|
+
}, ta = /* @__PURE__ */ Vt(Rl, [["__scopeId", "data-v-bd20363e"]]);
|
|
1043
1045
|
export {
|
|
1044
1046
|
ta as default
|
|
1045
1047
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ref as w, computed as g, createElementBlock as e, openBlock as o, normalizeStyle as n, normalizeClass as N, createCommentVNode as a, unref as s, createVNode as d, createElementVNode as t, Fragment as k, renderList as h, createStaticVNode as $ } from "vue";
|
|
2
|
-
import { u as F, R as B, X as u, s as v, _ as O } from "./index-
|
|
3
|
-
import { u as V } from "./useNestedProp-
|
|
4
|
-
import y from "./PackageVersion-
|
|
2
|
+
import { u as F, R as B, X as u, s as v, _ as O } from "./index-DB4XIP_N.js";
|
|
3
|
+
import { u as V } from "./useNestedProp-iTa19l34.js";
|
|
4
|
+
import y from "./PackageVersion-DZMJZGOu.js";
|
|
5
5
|
import { _ as X } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
6
|
const G = ["id"], R = ["xmlns"], T = { transform: "translate(300, 300)" }, U = ["d", "fill", "stroke"], Y = ["xmlns"], D = ["id"], J = ["stop-color"], K = ["stop-color"], l1 = ["stop-color"], t1 = ["stop-color"], e1 = ["fill", "stroke"], o1 = ["fill", "stroke"], s1 = ["fill", "stroke"], r1 = ["fill", "stroke"], i1 = ["fill", "stroke"], n1 = ["xmlns"], a1 = ["stroke"], u1 = ["stroke"], c1 = ["stroke"], d1 = ["fill", "stroke"], y1 = ["fill"], k1 = ["fill", "stroke"], h1 = ["fill"], v1 = ["fill", "stroke"], _1 = ["fill"], x1 = ["fill", "stroke"], p1 = ["fill"], g1 = ["fill", "stroke"], f1 = ["fill"], w1 = ["fill", "stroke"], C1 = ["fill"], m1 = ["xmlns"], b1 = ["stroke"], M1 = ["stroke"], L1 = ["stroke"], A1 = ["stroke"], $1 = ["stroke"], B1 = ["stroke"], P1 = ["stroke"], W1 = ["stroke"], j1 = ["stroke"], z1 = ["xmlns"], Z1 = ["stroke", "fill"], q1 = ["xmlns"], H1 = ["stroke", "fill"], Q1 = ["xmlns"], E1 = ["fill"], S1 = ["fill"], I1 = ["fill"], N1 = ["fill"], F1 = ["xmlns"], O1 = ["stroke"], V1 = ["fill"], X1 = ["stroke", "fill"], G1 = ["stroke", "fill"], R1 = ["fill"], T1 = ["stroke", "fill"], U1 = ["stroke", "fill"], Y1 = ["fill"], D1 = ["stroke", "fill"], J1 = ["stroke", "fill"], K1 = ["fill"], ll = ["stroke", "fill"], tl = ["stroke", "fill"], el = ["fill"], ol = ["stroke", "fill"], sl = ["stroke", "fill"], rl = ["xmlns"], il = ["stroke"], nl = ["stroke"], al = ["stroke", "fill"], ul = ["stroke", "fill"], cl = ["stroke", "fill"], dl = ["stroke", "fill"], yl = ["stroke", "fill"], kl = ["stroke", "fill"], hl = ["stroke", "fill"], vl = ["stroke", "fill"], _l = ["stroke", "fill"], xl = ["stroke", "fill"], pl = ["stroke", "fill"], gl = ["stroke", "fill"], fl = ["stroke", "fill"], wl = ["stroke", "fill"], Cl = ["stroke", "fill"], ml = ["stroke", "fill"], bl = ["stroke", "fill"], Ml = ["stroke", "fill"], Ll = ["stroke", "fill"], Al = ["stroke", "fill"], $l = ["stroke", "fill"], Bl = ["stroke", "fill"], Pl = ["stroke", "fill"], Wl = ["xmlns"], jl = ["stroke"], zl = ["xmlns"], Zl = ["stroke"], ql = ["xmlns"], Hl = ["stroke"], Ql = ["xmlns"], El = ["fill"], Sl = ["fill"], Il = ["fill"], Nl = ["fill"], Fl = ["fill"], Ol = ["fill"], Vl = ["fill"], Xl = ["fill"], Gl = ["fill"], Rl = ["fill"], Tl = ["fill"], Ul = ["fill"], Yl = ["xmlns"], Dl = ["stroke"], Jl = ["stroke"], Kl = ["stroke"], l0 = ["stroke"], t0 = ["stroke"], e0 = ["stroke"], o0 = ["xmlns"], s0 = ["stroke"], r0 = ["stroke"], i0 = ["stroke"], n0 = ["stroke"], a0 = ["stroke"], u0 = ["stroke"], c0 = ["stroke"], d0 = ["stroke"], y0 = ["stroke"], k0 = ["xmlns"], h0 = ["stroke"], v0 = ["xmlns"], _0 = ["stroke"], x0 = ["stroke"], p0 = ["stroke"], g0 = ["stroke"], f0 = ["stroke"], w0 = ["stroke"], C0 = ["stroke"], m0 = ["stroke"], b0 = ["stroke"], M0 = ["xmlns"], L0 = ["x1", "x2", "stroke"], A0 = ["xmlns"], $0 = ["x", "y", "width", "height", "fill"], B0 = ["y", "width", "height", "fill"], P0 = ["xmlns"], W0 = ["fill"], j0 = ["fill"], z0 = ["fill"], Z0 = ["xmlns"], q0 = ["x1", "x2", "y1", "y2", "stroke"], H0 = ["stroke"], Q0 = ["fill"], E0 = ["xmlns"], S0 = ["fill"], I0 = ["fill"], N0 = ["x1", "y1", "x2", "y2", "stroke-width", "stroke"], F0 = ["xmlns"], O0 = { key: 0 }, V0 = ["stroke", "stroke-width"], X0 = ["stroke", "stroke-width"], G0 = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], R0 = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], T0 = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], U0 = ["x", "y", "height", "width", "fill"], Y0 = ["xmlns", "viewBox"], D0 = ["x", "y", "stroke", "fill"], J0 = ["xmlns"], K0 = ["d", "stroke"], lt = ["cx", "cy", "r", "fill", "stroke"], tt = ["cx", "cy", "r", "fill", "stroke"], et = ["x", "y", "width", "fill"], ot = ["cx", "cy", "fill"], st = ["cx", "cy", "fill"], rt = ["stroke"], it = ["xmlns"], nt = ["stroke", "stroke-width"], at = ["stroke", "stroke-width"], ut = ["stroke", "stroke-width"], ct = ["fill"], dt = ["fill"], yt = ["fill"], kt = ["fill"], ht = ["fill"], vt = ["fill"], _t = ["xmlns"], xt = { key: 0 }, pt = ["stroke", "stroke-width"], gt = ["stroke", "stroke-width"], ft = ["stroke", "stroke-width"], wt = { key: 1 }, Ct = ["r", "fill"], mt = ["r", "fill"], bt = ["xmlns"], Mt = { key: 0 }, Lt = ["stroke", "stroke-width"], At = ["stroke", "stroke-width"], $t = ["fill", "rx", "x", "y", "width", "height"], Bt = ["xmlns"], Pt = ["stroke-width", "stroke"], Wt = ["stroke-width", "stroke"], jt = ["stroke-width", "stroke"], zt = ["xmlns"], Zt = ["stroke"], qt = ["stroke"], Ht = ["stroke"], Qt = ["stroke"], Et = ["fill"], St = ["stroke"], It = ["xmlns"], Nt = ["stroke", "stroke-width"], Ft = ["stroke", "stroke-width"], Ot = ["fill", "r"], Vt = ["fill", "r"], Xt = ["fill", "r"], Gt = ["fill", "r"], Rt = ["fill", "r"], Tt = ["fill", "r"], Ut = ["fill", "r"], Yt = ["fill", "r"], Dt = ["fill", "r"], Jt = ["xmlns"], Kt = ["d", "stroke", "stroke-width"], le = ["d", "stroke", "stroke-width"], te = ["d", "stroke", "stroke-width"], ee = ["d", "stroke", "stroke-width"], oe = ["stroke", "stroke-width"], se = ["stroke", "stroke-width"], re = ["stroke", "stroke-width"], ie = ["fill"], ne = ["fill"], ae = ["xmlns"], ue = ["x", "y", "fill"], ce = ["x", "y", "fill"], de = ["x", "y", "fill"], ye = ["xmlns"], ke = ["fill"], he = ["fill"], ve = ["y1", "y2", "stroke", "stroke-width"], _e = ["x1", "x2", "stroke", "stroke-width"], xe = ["xmlns", "stroke"], pe = ["fill"], ge = ["xmlns", "stroke"], fe = ["xmlns", "stroke"], we = ["fill"], Ce = ["xmlns", "stroke"], me = ["xmlns", "stroke"], be = ["fill"], Me = ["xmlns", "stroke"], Le = ["xmlns", "stroke"], Ae = ["fill"], $e = ["xmlns", "stroke"], Be = ["xmlns", "stroke"], Pe = ["fill"], We = ["xmlns", "stroke"], je = ["xmlns"], ze = ["points", "fill", "stroke", "stroke-width"], Ze = ["xmlns"], qe = { key: 0 }, He = ["stroke", "stroke-width"], Qe = ["y", "width", "fill", "rx"], Ee = {
|
|
7
7
|
__name: "vue-ui-skeleton",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useSlots as E, onMounted as G, ref as R, computed as _, watch as T, createElementBlock as s, openBlock as i, normalizeStyle as a, createCommentVNode as d, createElementVNode as l, toDisplayString as c, unref as o, withKeys as z, normalizeClass as M, createTextVNode as S, createStaticVNode as $ } from "vue";
|
|
2
|
-
import { u as P, o as q, e as J, i as x, f as b, X as f, w as k } from "./index-
|
|
3
|
-
import { u as Q } from "./useNestedProp-
|
|
2
|
+
import { u as P, o as q, e as J, i as x, f as b, X as f, w as k } from "./index-DB4XIP_N.js";
|
|
3
|
+
import { u as Q } from "./useNestedProp-iTa19l34.js";
|
|
4
4
|
import { _ as W } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const Z = {
|
|
6
6
|
key: 0,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineAsyncComponent as M, computed as s, ref as k, watch as D, onMounted as ee, createElementBlock as r, openBlock as o, normalizeStyle as te, createBlock as L, createCommentVNode as i, unref as u, createVNode as ae, createElementVNode as _, renderSlot as O, toDisplayString as G } from "vue";
|
|
2
|
-
import { u as le, c as ne, a as oe, a5 as I, o as se, e as ue, v as c, a6 as re, X as ie, s as F, V as U, f as P, i as de } from "./index-
|
|
3
|
-
import { u as q } from "./useNestedProp-
|
|
2
|
+
import { u as le, c as ne, a as oe, a5 as I, o as se, e as ue, v as c, a6 as re, X as ie, s as F, V as U, f as P, i as de } from "./index-DB4XIP_N.js";
|
|
3
|
+
import { u as q } from "./useNestedProp-iTa19l34.js";
|
|
4
4
|
import { _ as ve } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const he = ["id"], ce = ["xmlns", "viewBox"], ye = ["width", "height"], fe = ["id"], pe = ["stop-color"], ge = ["stop-color"], me = { key: 1 }, ke = ["d", "fill"], _e = ["d", "fill"], be = ["d", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin"], we = ["d", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin"], xe = ["height", "width", "x"], Ce = { style: { width: "100%" } }, Le = ["x", "y", "fill", "font-size", "font-weight"], $e = ["stroke", "cx", "cy", "fill"], Ne = ["x", "y", "font-size", "fill", "font-weight"], Te = {
|
|
6
6
|
key: 2,
|
|
@@ -23,7 +23,7 @@ const he = ["id"], ce = ["xmlns", "viewBox"], ye = ["width", "height"], fe = ["i
|
|
|
23
23
|
}
|
|
24
24
|
},
|
|
25
25
|
setup(W) {
|
|
26
|
-
const $ = M(() => import("./BaseIcon-
|
|
26
|
+
const $ = M(() => import("./BaseIcon-B_tGgA4H.js")), X = M(() => import("./PackageVersion-DZMJZGOu.js")), Z = M(() => import("./vue-ui-skeleton-DDLBx4bb.js")), { vue_ui_spark_trend: R } = le(), d = W, H = s(() => !!d.dataset && d.dataset.length), b = k(ne()), e = s({
|
|
27
27
|
get: () => j(),
|
|
28
28
|
set: (t) => t
|
|
29
29
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineAsyncComponent as V, useSlots as R, onMounted as z, computed as g, ref as k, watch as L, nextTick as Y, createElementBlock as c, openBlock as u, normalizeStyle as p, unref as o, renderSlot as _, createCommentVNode as v, createBlock as Z, normalizeProps as ee, mergeProps as O, createElementVNode as d, toDisplayString as f, Fragment as T, renderList as te, createVNode as le } from "vue";
|
|
2
|
-
import { u as ae, c as oe, t as se, p as x, a as ne, b as ue, o as re, e as E, g as ie, d as ce, s as $, i as b, f as w, X as ve, w as de } from "./index-
|
|
3
|
-
import { u as B } from "./useNestedProp-
|
|
2
|
+
import { u as ae, c as oe, t as se, p as x, a as ne, b as ue, o as re, e as E, g as ie, d as ce, s as $, i as b, f as w, X as ve, w as de } from "./index-DB4XIP_N.js";
|
|
3
|
+
import { u as B } from "./useNestedProp-iTa19l34.js";
|
|
4
4
|
const pe = ["onClick"], fe = { key: 1 }, ye = ["xmlns", "viewBox"], me = ["id"], ge = ["stop-color"], he = ["stop-color"], ke = ["height", "width", "fill", "rx"], xe = ["height", "width", "fill", "rx"], be = ["height", "width", "fill", "rx"], we = {
|
|
5
5
|
key: 2,
|
|
6
6
|
ref: "source",
|
|
@@ -30,7 +30,7 @@ const pe = ["onClick"], fe = { key: 1 }, ye = ["xmlns", "viewBox"], me = ["id"],
|
|
|
30
30
|
},
|
|
31
31
|
emits: ["selectDatapoint"],
|
|
32
32
|
setup(C, { emit: M }) {
|
|
33
|
-
const U = V(() => import("./PackageVersion-
|
|
33
|
+
const U = V(() => import("./PackageVersion-DZMJZGOu.js")), j = V(() => import("./vue-ui-skeleton-DDLBx4bb.js")), { vue_ui_sparkbar: G } = ae(), a = C, W = R();
|
|
34
34
|
z(() => {
|
|
35
35
|
W["chart-background"] && console.warn("VueUiSparkbar does not support the #chart-background slot.");
|
|
36
36
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineAsyncComponent as A, computed as s, onMounted as N, ref as M, watch as S, createElementBlock as r, openBlock as n, normalizeStyle as y, createCommentVNode as v, createBlock as R, toDisplayString as g, unref as i, createVNode as U, createElementVNode as d, renderSlot as z, normalizeClass as q } from "vue";
|
|
2
|
-
import { u as O } from "./useNestedProp-
|
|
3
|
-
import { u as T, o as V, e as j, g as X, c as H, a as Y, P as J, X as K, i as Q, v as m, f as W } from "./index-
|
|
2
|
+
import { u as O } from "./useNestedProp-iTa19l34.js";
|
|
3
|
+
import { u as T, o as V, e as j, g as X, c as H, a as Y, P as J, X as K, i as Q, v as m, f as W } from "./index-DB4XIP_N.js";
|
|
4
4
|
import { u as Z } from "./useChartAccessibility-9icAAmYg.js";
|
|
5
5
|
const ee = ["xmlns", "viewBox"], te = ["width", "height"], ae = ["id"], le = ["stop-color"], oe = ["stop-color"], se = ["d", "stroke", "stroke-linecap"], ue = ["d", "stroke", "stroke-linecap", "stroke-dashoffset"], ne = ["x", "y", "font-size", "fill", "font-weight"], ie = {
|
|
6
6
|
key: 4,
|
|
@@ -23,7 +23,7 @@ const ee = ["xmlns", "viewBox"], te = ["width", "height"], ae = ["id"], le = ["s
|
|
|
23
23
|
}
|
|
24
24
|
},
|
|
25
25
|
setup(E) {
|
|
26
|
-
const F = A(() => import("./PackageVersion-
|
|
26
|
+
const F = A(() => import("./PackageVersion-DZMJZGOu.js")), B = A(() => import("./vue-ui-skeleton-DDLBx4bb.js")), { vue_ui_sparkgauge: D } = T(), a = E, p = s(() => !!a.dataset && Object.keys(a.dataset).length);
|
|
27
27
|
N(() => {
|
|
28
28
|
h();
|
|
29
29
|
});
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { useCssVars as le, computed as _, defineAsyncComponent as N, onMounted as ae, ref as D, watch as se, createElementBlock as s, openBlock as a, normalizeStyle as $, createCommentVNode as c, createBlock as V, createElementVNode as h, createTextVNode as oe, toDisplayString as p, unref as n, createVNode as ie, renderSlot as I, Fragment as f, renderList as g, normalizeClass as E } from "vue";
|
|
2
|
-
import { u as ue, o as re, e as H, g as ne, c as ve, a as de, s as b, i as F, f as O, X as ce, w as z } from "./index-
|
|
3
|
-
import { u as W } from "./useNestedProp-
|
|
2
|
+
import { u as ue, o as re, e as H, g as ne, c as ve, a as de, s as b, i as F, f as O, X as ce, w as z } from "./index-DB4XIP_N.js";
|
|
3
|
+
import { u as W } from "./useNestedProp-iTa19l34.js";
|
|
4
4
|
import { u as ye } from "./useChartAccessibility-9icAAmYg.js";
|
|
5
|
-
import { _ as he } from "./Shape-
|
|
5
|
+
import { _ as he } from "./Shape-Br_SZ_x0.js";
|
|
6
6
|
import { _ as fe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
7
7
|
const ge = { key: 0 }, pe = { key: 1 }, be = ["xmlns", "viewBox"], me = ["width", "height"], _e = ["id"], xe = ["stop-color"], ke = ["stop-color"], we = ["id"], $e = ["stop-color"], Ce = ["stop-color"], Le = ["id"], ze = ["stop-color"], Se = ["stop-color"], Ae = { key: 1 }, Me = ["x", "y", "height", "width", "fill", "stroke", "stroke-width", "rx"], Ne = { key: 2 }, De = ["x", "y", "font-size", "font-weight", "fill"], Ve = ["x", "y", "font-size", "fill"], Ie = ["x", "y", "font-size", "fill"], Ee = ["height", "width", "x", "onMouseover", "stroke", "stroke-width", "rx", "stroke-dasharray", "onClick"], He = {
|
|
8
8
|
key: 2,
|
|
@@ -29,7 +29,7 @@ const ge = { key: 0 }, pe = { key: 1 }, be = ["xmlns", "viewBox"], me = ["width"
|
|
|
29
29
|
le((l) => ({
|
|
30
30
|
"2d6ebc7a": J.value
|
|
31
31
|
}));
|
|
32
|
-
const j = N(() => import("./PackageVersion-
|
|
32
|
+
const j = N(() => import("./PackageVersion-DZMJZGOu.js")), R = N(() => import("./vue-ui-skeleton-DDLBx4bb.js")), { vue_ui_sparkhistogram: X } = ue(), d = B, S = _(() => !!d.dataset && d.dataset.length);
|
|
33
33
|
ae(() => {
|
|
34
34
|
A();
|
|
35
35
|
});
|