vue-data-ui 2.12.6 → 2.12.7-beta.1
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-Bd9ZVBnX.js → Arrow-C5-RFd0F.js} +1 -1
- package/dist/BaseDraggableDialog-CKbomZCX.js +180 -0
- package/dist/{BaseIcon-CNbwMh_-.js → BaseIcon-DhWmrDAn.js} +1 -1
- package/dist/{ColorPicker-B_FoQwtO.js → ColorPicker-F4TctKaQ.js} +23 -24
- package/dist/{DataTable-Rajdtaf6.js → DataTable-Y5HbiUZU.js} +11 -11
- package/dist/{Legend-BxtDQCIv.js → Legend-DtTYopxf.js} +8 -8
- package/dist/NonSvgPenAndPaper-PC9Yu1K_.js +467 -0
- package/dist/PackageVersion-DaWGaZxE.js +10 -0
- package/dist/{PenAndPaper-BkP3J-Ft.js → PenAndPaper-C-CpE0NC.js} +8 -10
- package/dist/RecursiveCircles-Dn3TGoL6.js +96 -0
- package/dist/RecursiveLabels-NTMB9w5C.js +49 -0
- package/dist/RecursiveLinks-ld_gDZH4.js +64 -0
- package/dist/{Shape-C69a0f29.js → Shape-B6kIkp2s.js} +2 -2
- package/dist/{Slicer-7qFdY-bT.js → Slicer-DXpA-pZk.js} +2 -2
- package/dist/SparkTooltip-DcdMxgqn.js +68 -0
- package/dist/{Title-CzaCeCOm.js → Title-Bc66VstS.js} +2 -2
- package/dist/Tooltip-B07vY6jm.js +149 -0
- package/dist/{usePrinter-C5bLp34h.js → UserOptions-C8X2STEg.js} +172 -231
- package/dist/{dom-to-png-Bm0D0yPL.js → dom-to-png-DH-7H-9g.js} +1 -1
- package/dist/{img-BN9AzqUr.js → img-CEn9LJxg.js} +1 -1
- package/dist/{index-BFzQMJda.js → index-BHEd2dgu.js} +21 -21
- package/dist/{pdf-uTbs813M.js → pdf-BfkyEFza.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/useChartAccessibility-9icAAmYg.js +12 -0
- package/dist/useMouse-AicQS8Vf.js +13 -0
- package/dist/{useNestedProp-v7KPpwuP.js → useNestedProp-CZztHZIm.js} +1 -1
- package/dist/{usePanZoom-CUkkqW81.js → usePanZoom-BQMvRXEQ.js} +16 -17
- package/dist/usePrinter-C8URL2IU.js +53 -0
- package/dist/vClickOutside-C6WiFswA.js +13 -0
- package/dist/{vue-data-ui-D1k8FeRp.js → vue-data-ui-C0tGhjs9.js} +63 -63
- package/dist/vue-data-ui.js +19 -19
- package/dist/{vue-ui-3d-bar-DoklA4DT.js → vue-ui-3d-bar-CriyJ0Da.js} +397 -402
- package/dist/{vue-ui-accordion-BUz4JIIX.js → vue-ui-accordion-DntThSTF.js} +3 -3
- package/dist/{vue-ui-age-pyramid-4kyBq-Dy.js → vue-ui-age-pyramid-BwgozppD.js} +215 -218
- package/dist/{vue-ui-annotator-Bq1ZeFfb.js → vue-ui-annotator-B7jNrpQ0.js} +2 -2
- package/dist/{vue-ui-bullet-DU10avvA.js → vue-ui-bullet-C20X1YRt.js} +137 -140
- package/dist/{vue-ui-candlestick-BI1t3flz.js → vue-ui-candlestick-B264jwvu.js} +265 -271
- package/dist/{vue-ui-carousel-table-VowLf_oc.js → vue-ui-carousel-table-ECSEPy9m.js} +137 -137
- package/dist/{vue-ui-chestnut-BHjV3d94.js → vue-ui-chestnut-BxjeL4B6.js} +397 -400
- package/dist/{vue-ui-chord-CPr7r-2_.js → vue-ui-chord-CJNnQbPC.js} +356 -364
- package/dist/vue-ui-circle-pack-0RLVrL7y.js +656 -0
- package/dist/{vue-ui-cursor-C9teAbVI.js → vue-ui-cursor-c9pZbUX7.js} +2 -2
- package/dist/{vue-ui-dashboard-CwDYB8tP.js → vue-ui-dashboard-DJTFcJry.js} +62 -62
- package/dist/{vue-ui-digits-CHmkL0hn.js → vue-ui-digits-Cwy7WTqM.js} +2 -2
- package/dist/vue-ui-donut-BIFf4SLq.js +1292 -0
- package/dist/vue-ui-donut-evolution-mc_-1JSs.js +864 -0
- package/dist/{vue-ui-dumbbell-DTKLLd1N.js → vue-ui-dumbbell-D50S44wU.js} +265 -270
- package/dist/{vue-ui-flow-BLBhsU2n.js → vue-ui-flow-CxDTjjYn.js} +291 -300
- package/dist/{vue-ui-funnel-CIrWdeBk.js → vue-ui-funnel-DeC0U017.js} +216 -219
- package/dist/{vue-ui-galaxy-ByhKyIV4.js → vue-ui-galaxy-n0MW2u-q.js} +227 -235
- package/dist/{vue-ui-gauge-BbfBMpng.js → vue-ui-gauge-AYMCSEtU.js} +240 -243
- package/dist/{vue-ui-gizmo-BM-_QfHM.js → vue-ui-gizmo-Ckz1h7XW.js} +57 -58
- package/dist/{vue-ui-heatmap-BA4z4hsw.js → vue-ui-heatmap-m0SgFsTu.js} +239 -242
- package/dist/{vue-ui-history-plot-8vM_IUy8.js → vue-ui-history-plot-BrcF_YLL.js} +257 -262
- package/dist/{vue-ui-kpi-D57QLK6A.js → vue-ui-kpi-DiVxDYiV.js} +29 -30
- package/dist/{vue-ui-mini-loader-CR4c-xJQ.js → vue-ui-mini-loader-CqbUMft8.js} +2 -2
- package/dist/vue-ui-molecule-BCUC8QED.js +580 -0
- package/dist/{vue-ui-mood-radar-Brc9cxoD.js → vue-ui-mood-radar-DrrjD9S1.js} +180 -186
- package/dist/{vue-ui-nested-donuts-W3Z5F--L.js → vue-ui-nested-donuts-8RTss1yH.js} +366 -374
- package/dist/{vue-ui-onion-BNBlGNlF.js → vue-ui-onion-CmPLnisN.js} +252 -258
- package/dist/{vue-ui-parallel-coordinate-plot-B5G3jyvg.js → vue-ui-parallel-coordinate-plot-BsbEUu_g.js} +292 -298
- package/dist/{vue-ui-quadrant-CUy9mVIA.js → vue-ui-quadrant-CdM3bVZs.js} +403 -409
- package/dist/{vue-ui-quick-chart-D4_8mRXU.js → vue-ui-quick-chart-C-lgCI6O.js} +611 -616
- package/dist/{vue-ui-radar-BUk56jGL.js → vue-ui-radar-Dq94lb99.js} +270 -277
- package/dist/{vue-ui-rating-B9TQl5KP.js → vue-ui-rating-DceDRLFc.js} +2 -2
- package/dist/vue-ui-relation-circle-DsKddA_I.js +525 -0
- package/dist/{vue-ui-ridgeline-Cl06bGom.js → vue-ui-ridgeline-CVR7NvJ_.js} +313 -317
- package/dist/{vue-ui-rings-B6bpFlFp.js → vue-ui-rings-B0soMLZ5.js} +260 -266
- package/dist/{vue-ui-scatter--WUuVw5G.js → vue-ui-scatter-Bq4_NUfW.js} +368 -374
- package/dist/{vue-ui-skeleton-B_YI7Yuc.js → vue-ui-skeleton-CG3Pn3Zg.js} +19 -19
- package/dist/{vue-ui-smiley-Bbam2fDz.js → vue-ui-smiley-aGKTgh42.js} +2 -2
- package/dist/{vue-ui-spark-trend-DavXuwGt.js → vue-ui-spark-trend--6lA4742.js} +114 -117
- package/dist/{vue-ui-sparkbar-9N1FU9-J.js → vue-ui-sparkbar-BXx7Vglf.js} +104 -106
- package/dist/{vue-ui-sparkgauge-_9ntq4EK.js → vue-ui-sparkgauge-zM4_Tgqb.js} +72 -74
- package/dist/{vue-ui-sparkhistogram-BEzOV4HV.js → vue-ui-sparkhistogram-BDNrZbWN.js} +93 -95
- package/dist/vue-ui-sparkline-CzzyDmYJ.js +459 -0
- package/dist/{vue-ui-sparkstackbar-BSWcs3v0.js → vue-ui-sparkstackbar-tBSUQ_09.js} +102 -105
- package/dist/{vue-ui-stackbar-gG5BLlAr.js → vue-ui-stackbar-BriZOfj6.js} +409 -412
- package/dist/{vue-ui-strip-plot-BJouRmxh.js → vue-ui-strip-plot-DzYyFp3o.js} +240 -246
- package/dist/{vue-ui-table-D9Ry8s4N.js → vue-ui-table-C2qosrZR.js} +3 -3
- package/dist/{vue-ui-table-heatmap-Bizzpi31.js → vue-ui-table-heatmap-COKfg2KT.js} +90 -90
- package/dist/{vue-ui-table-sparkline-Dg54Ovs2.js → vue-ui-table-sparkline-D7C5AiCp.js} +212 -212
- package/dist/{vue-ui-thermometer-6MSdF_Gm.js → vue-ui-thermometer-CDG6vSMm.js} +154 -157
- package/dist/{vue-ui-timer-ByaKokk8.js → vue-ui-timer-DOoO0CVB.js} +180 -181
- package/dist/vue-ui-tiremarks-BSPIy1A3.js +341 -0
- package/dist/vue-ui-treemap-DsMmxgin.js +947 -0
- package/dist/{vue-ui-vertical-bar-CE4oBwBv.js → vue-ui-vertical-bar-B2_ZHuyv.js} +381 -386
- package/dist/{vue-ui-waffle-DNEEnY_G.js → vue-ui-waffle-YhkwHcUX.js} +312 -318
- package/dist/vue-ui-wheel-CWHJwyyL.js +335 -0
- package/dist/vue-ui-word-cloud-BLgEqHRF.js +642 -0
- package/dist/{vue-ui-world-Brhq17TE.js → vue-ui-world-BQelvSLD.js} +389 -400
- package/dist/{vue-ui-xy-K2G7QQxG.js → vue-ui-xy-D1luVUXJ.js} +845 -846
- package/dist/vue-ui-xy-canvas-C7Pu9RFN.js +1206 -0
- package/package.json +6 -6
- package/dist/BaseDraggableDialog-Bzwlfmy1.js +0 -186
- package/dist/PackageVersion-BjrblLPQ.js +0 -10
- package/dist/Tooltip-CWmRmhJr.js +0 -158
- package/dist/useChartAccessibility-BWojgys7.js +0 -13
- package/dist/vue-ui-circle-pack-D_jYpsuD.js +0 -659
- package/dist/vue-ui-donut-WRUDvvZa.js +0 -1292
- package/dist/vue-ui-donut-evolution-BQxV5D_L.js +0 -871
- package/dist/vue-ui-molecule-Bq69N7rC.js +0 -782
- package/dist/vue-ui-relation-circle-T6aTibIU.js +0 -528
- package/dist/vue-ui-sparkline-D__GCUAz.js +0 -519
- package/dist/vue-ui-tiremarks-Z8pjUT1g.js +0 -344
- package/dist/vue-ui-treemap-pRJ3be5l.js +0 -956
- package/dist/vue-ui-wheel-DWPYZxdT.js +0 -338
- package/dist/vue-ui-word-cloud-DAR7R8F8.js +0 -648
- package/dist/vue-ui-xy-canvas-ml44sPHS.js +0 -1673
|
@@ -1,35 +1,29 @@
|
|
|
1
|
-
import { computed as x, ref as h, watch as
|
|
2
|
-
import { u as
|
|
3
|
-
import { t as
|
|
4
|
-
import {
|
|
5
|
-
import { u as
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
|
|
13
|
-
import { _ as Nt } from "./PackageVersion-BjrblLPQ.js";
|
|
14
|
-
import { _ as Wt } from "./PenAndPaper-BkP3J-Ft.js";
|
|
15
|
-
import { u as Pt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
16
|
-
import { u as Ft } from "./useChartAccessibility-BWojgys7.js";
|
|
17
|
-
import { _ as It } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
18
|
-
const Xt = ["id"], Yt = ["xmlns", "viewBox"], Dt = ["width", "height"], jt = { key: 1 }, Vt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Rt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Et = { key: 2 }, Ut = ["points", "fill", "stroke-width", "stroke-dasharray", "stroke"], Gt = { key: 0 }, qt = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onMouseover"], Ht = { key: 1 }, Jt = { key: 3 }, Kt = ["id"], Qt = ["stop-color"], Zt = ["stop-color"], el = ["id"], tl = ["stop-color"], ll = ["stop-color"], al = ["x", "y", "width", "height", "fill", "stroke", "stroke-width", "rx"], ol = ["x", "y", "height", "width", "fill", "stroke", "stroke-width", "rx"], sl = { key: 0 }, ul = ["d", "stroke", "stroke-width"], rl = ["d", "stroke", "stroke-width"], il = ["d", "stroke", "stroke-width"], nl = ["d", "stroke", "stroke-width"], vl = {
|
|
1
|
+
import { defineAsyncComponent as H, computed as x, ref as h, watch as dt, shallowRef as Ue, onMounted as ht, onBeforeUnmount as pt, createElementBlock as i, openBlock as o, unref as u, normalizeStyle as V, normalizeClass as Ge, createBlock as j, createCommentVNode as c, createElementVNode as d, createVNode as ge, createSlots as ft, withCtx as _, renderSlot as M, normalizeProps as ee, guardReactiveProps as te, Fragment as P, renderList as X, toDisplayString as C, createTextVNode as gt, nextTick as mt } from "vue";
|
|
2
|
+
import { u as xt, c as bt, t as kt, p as J, a as wt, o as _t, e as me, b as Mt, g as qe, W as $t, a0 as Ct, U as At, X as zt, s as xe, Y as St, i as R, v as A, f as W, q as Tt, r as Lt, x as Bt, y as Ot } from "./index-BHEd2dgu.js";
|
|
3
|
+
import { t as Nt, u as Pt } from "./useResponsive-JZ9xq-JV.js";
|
|
4
|
+
import { u as He } from "./useNestedProp-CZztHZIm.js";
|
|
5
|
+
import { u as Wt } from "./usePrinter-C8URL2IU.js";
|
|
6
|
+
import { u as Ft } from "./useUserOptionState-BIvW1Kz7.js";
|
|
7
|
+
import { u as It } from "./useChartAccessibility-9icAAmYg.js";
|
|
8
|
+
import Xt from "./Legend-DtTYopxf.js";
|
|
9
|
+
import Yt from "./Title-Bc66VstS.js";
|
|
10
|
+
import Je from "./Shape-B6kIkp2s.js";
|
|
11
|
+
import { _ as Dt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
12
|
+
const Vt = ["id"], jt = ["xmlns", "viewBox"], Rt = ["width", "height"], Et = { key: 1 }, Ut = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Gt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], qt = { key: 2 }, Ht = ["points", "fill", "stroke-width", "stroke-dasharray", "stroke"], Jt = { key: 0 }, Kt = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onMouseover"], Qt = { key: 1 }, Zt = { key: 3 }, el = ["id"], tl = ["stop-color"], ll = ["stop-color"], al = ["id"], ol = ["stop-color"], sl = ["stop-color"], ul = ["x", "y", "width", "height", "fill", "stroke", "stroke-width", "rx"], rl = ["x", "y", "height", "width", "fill", "stroke", "stroke-width", "rx"], il = { key: 0 }, nl = ["d", "stroke", "stroke-width"], vl = ["d", "stroke", "stroke-width"], yl = ["d", "stroke", "stroke-width"], cl = ["d", "stroke", "stroke-width"], dl = {
|
|
19
13
|
key: 4,
|
|
20
14
|
style: { "pointer-events": "none !important" }
|
|
21
|
-
},
|
|
15
|
+
}, hl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], pl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], fl = ["x", "y", "font-size", "fill", "font-weight", "text-anchor"], gl = ["x", "y", "font-size", "fill", "font-weight"], ml = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], xl = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], bl = ["x", "y", "font-size", "fill", "font-weight", "text-anchor"], kl = { key: 5 }, wl = ["x", "y", "font-size", "fill"], _l = ["x", "y", "font-size", "fill"], Ml = ["id", "transform", "font-size", "font-weight", "fill"], $l = { key: 6 }, Cl = ["x", "y", "font-size", "fill"], Al = ["x", "y", "font-size", "fill"], zl = ["font-size", "font-weight", "fill", "x", "y"], Sl = ["id"], Tl = ["x", "y", "width", "height"], Ll = { key: 7 }, Bl = ["x1", "x2", "y1", "y2", "stroke-dasharray", "stroke", "stroke-width", "clip-path"], Ol = ["x", "y", "fill", "font-size", "font-weight"], Nl = {
|
|
22
16
|
key: 5,
|
|
23
17
|
class: "vue-data-ui-watermark"
|
|
24
|
-
},
|
|
18
|
+
}, Pl = ["onClick"], Wl = {
|
|
25
19
|
key: 0,
|
|
26
20
|
style: { width: "100%", display: "flex", "align-items": "center", "justify-content": "center" }
|
|
27
|
-
},
|
|
21
|
+
}, Fl = {
|
|
28
22
|
viewBox: "0 0 20 20",
|
|
29
23
|
height: "20",
|
|
30
24
|
width: "20",
|
|
31
25
|
style: { overflow: "hidden", background: "transparent" }
|
|
32
|
-
},
|
|
26
|
+
}, Il = { key: 0 }, Xl = ["innerHTML"], Yl = {
|
|
33
27
|
__name: "vue-ui-scatter",
|
|
34
28
|
props: {
|
|
35
29
|
config: {
|
|
@@ -45,159 +39,159 @@ const Xt = ["id"], Yt = ["xmlns", "viewBox"], Dt = ["width", "height"], jt = { k
|
|
|
45
39
|
}
|
|
46
40
|
}
|
|
47
41
|
},
|
|
48
|
-
setup(
|
|
49
|
-
const { vue_ui_scatter:
|
|
50
|
-
get: () =>
|
|
42
|
+
setup(Ke, { expose: Qe }) {
|
|
43
|
+
const Ze = H(() => import("./vue-ui-accordion-DntThSTF.js")), et = H(() => import("./DataTable-Y5HbiUZU.js")), tt = H(() => import("./PackageVersion-DaWGaZxE.js")), lt = H(() => import("./PenAndPaper-C-CpE0NC.js")), at = H(() => import("./vue-ui-skeleton-CG3Pn3Zg.js")), ot = H(() => import("./Tooltip-B07vY6jm.js")), st = H(() => import("./UserOptions-C8X2STEg.js")), { vue_ui_scatter: ut } = xt(), F = Ke, ae = x(() => !!F.dataset && F.dataset.length), z = h(bt()), rt = h(null), ie = h(!1), ne = h(""), be = h(0), le = h(null), ke = h(null), we = h(null), _e = h(null), Me = h(null), $e = h(0), Ce = h(0), Ae = h(0), e = x({
|
|
44
|
+
get: () => Le(),
|
|
51
45
|
set: (t) => t
|
|
52
|
-
}), { userOptionsVisible:
|
|
53
|
-
function
|
|
54
|
-
const t =
|
|
46
|
+
}), { userOptionsVisible: ve, setUserOptionsVisibility: ze, keepUserOptionState: Se } = Ft({ config: e.value }), { svgRef: Te } = It({ config: e.value.style.title });
|
|
47
|
+
function Le() {
|
|
48
|
+
const t = He({
|
|
55
49
|
userConfig: F.config,
|
|
56
|
-
defaultConfig:
|
|
50
|
+
defaultConfig: ut
|
|
57
51
|
});
|
|
58
52
|
return t.theme ? {
|
|
59
|
-
...
|
|
60
|
-
userConfig:
|
|
53
|
+
...He({
|
|
54
|
+
userConfig: wt.vue_ui_scatter[t.theme] || F.config,
|
|
61
55
|
defaultConfig: t
|
|
62
56
|
}),
|
|
63
|
-
customPalette:
|
|
57
|
+
customPalette: kt[t.theme] || J
|
|
64
58
|
} : t;
|
|
65
59
|
}
|
|
66
|
-
|
|
67
|
-
e.value =
|
|
60
|
+
dt(() => F.config, (t) => {
|
|
61
|
+
e.value = Le(), ve.value = !e.value.userOptions.showOnChartHover, Be(), $e.value += 1, Ce.value += 1, Ae.value += 1, B.value.showTable = e.value.table.show, B.value.showTooltip = e.value.style.tooltip.show;
|
|
68
62
|
}, { deep: !0 });
|
|
69
|
-
const
|
|
70
|
-
|
|
71
|
-
|
|
63
|
+
const Y = Ue(null), K = Ue(null);
|
|
64
|
+
ht(() => {
|
|
65
|
+
Be();
|
|
72
66
|
});
|
|
73
|
-
function
|
|
74
|
-
if (
|
|
67
|
+
function Be() {
|
|
68
|
+
if (_t(F.dataset) && me({
|
|
75
69
|
componentName: "VueUiScatter",
|
|
76
70
|
type: "dataset"
|
|
77
71
|
}), e.value.responsive) {
|
|
78
|
-
const t =
|
|
79
|
-
const { width:
|
|
80
|
-
chart:
|
|
81
|
-
title: e.value.style.title.text ?
|
|
82
|
-
legend: e.value.style.legend.show ?
|
|
83
|
-
source:
|
|
84
|
-
noTitle:
|
|
72
|
+
const t = Nt(() => {
|
|
73
|
+
const { width: r, height: l } = Pt({
|
|
74
|
+
chart: le.value,
|
|
75
|
+
title: e.value.style.title.text ? ke.value : null,
|
|
76
|
+
legend: e.value.style.legend.show ? we.value : null,
|
|
77
|
+
source: _e.value,
|
|
78
|
+
noTitle: Me.value
|
|
85
79
|
});
|
|
86
80
|
requestAnimationFrame(() => {
|
|
87
|
-
b.value.width =
|
|
81
|
+
b.value.width = r, b.value.height = l;
|
|
88
82
|
});
|
|
89
83
|
});
|
|
90
|
-
|
|
84
|
+
Y.value && (K.value && Y.value.unobserve(K.value), Y.value.disconnect()), Y.value = new ResizeObserver(t), K.value = le.value.parentNode, Y.value.observe(K.value);
|
|
91
85
|
}
|
|
92
86
|
}
|
|
93
|
-
|
|
94
|
-
|
|
87
|
+
pt(() => {
|
|
88
|
+
Y.value && (K.value && Y.value.unobserve(K.value), Y.value.disconnect());
|
|
95
89
|
});
|
|
96
|
-
const { isPrinting:
|
|
90
|
+
const { isPrinting: Oe, isImaging: Ne, generatePdf: Pe, generateImage: We } = Wt({
|
|
97
91
|
elementId: `vue-ui-scatter_${z.value}`,
|
|
98
92
|
fileName: e.value.style.title.text || "vue-ui-scatter",
|
|
99
93
|
options: e.value.userOptions.print
|
|
100
|
-
}),
|
|
94
|
+
}), it = x(() => e.value.userOptions.show && !e.value.style.title.text), Fe = x(() => Mt(e.value.customPalette)), B = h({
|
|
101
95
|
showTable: e.value.table.show,
|
|
102
96
|
showTooltip: e.value.style.tooltip.show
|
|
103
97
|
}), b = h({
|
|
104
98
|
height: e.value.style.layout.height,
|
|
105
99
|
width: e.value.style.layout.width
|
|
106
|
-
}),
|
|
107
|
-
top: e.value.style.layout.padding.top +
|
|
108
|
-
right: b.value.width - e.value.style.layout.padding.right -
|
|
100
|
+
}), oe = x(() => e.value.style.layout.marginalBars.show ? e.value.style.layout.marginalBars.size + e.value.style.layout.marginalBars.offset : 0), n = x(() => ({
|
|
101
|
+
top: e.value.style.layout.padding.top + oe.value,
|
|
102
|
+
right: b.value.width - e.value.style.layout.padding.right - oe.value,
|
|
109
103
|
bottom: b.value.height - e.value.style.layout.padding.bottom,
|
|
110
104
|
left: e.value.style.layout.padding.left,
|
|
111
|
-
height: b.value.height - e.value.style.layout.padding.top - e.value.style.layout.padding.bottom -
|
|
112
|
-
width: b.value.width - e.value.style.layout.padding.left - e.value.style.layout.padding.right -
|
|
105
|
+
height: b.value.height - e.value.style.layout.padding.top - e.value.style.layout.padding.bottom - oe.value,
|
|
106
|
+
width: b.value.width - e.value.style.layout.padding.left - e.value.style.layout.padding.right - oe.value
|
|
113
107
|
})), p = x(() => {
|
|
114
108
|
F.dataset.forEach((a, v) => {
|
|
115
|
-
|
|
109
|
+
qe({
|
|
116
110
|
datasetObject: a,
|
|
117
111
|
requiredAttributes: ["values"]
|
|
118
112
|
}).forEach((k) => {
|
|
119
|
-
|
|
113
|
+
me({
|
|
120
114
|
componentName: "VueUiScatter",
|
|
121
115
|
type: "datasetSerieAttribute",
|
|
122
116
|
property: k,
|
|
123
117
|
index: v
|
|
124
118
|
});
|
|
125
|
-
}), a.values && a.values.forEach((k,
|
|
126
|
-
|
|
119
|
+
}), a.values && a.values.forEach((k, U) => {
|
|
120
|
+
qe({
|
|
127
121
|
datasetObject: k,
|
|
128
122
|
requiredAttributes: ["x", "y"]
|
|
129
|
-
}).forEach((
|
|
130
|
-
|
|
123
|
+
}).forEach((Z) => {
|
|
124
|
+
me({
|
|
131
125
|
componentName: "VueUiScatter",
|
|
132
126
|
type: "datasetSerieAttribute",
|
|
133
|
-
property: `values.${
|
|
134
|
-
index: `${v} - ${
|
|
127
|
+
property: `values.${Z}`,
|
|
128
|
+
index: `${v} - ${U}`
|
|
135
129
|
});
|
|
136
130
|
});
|
|
137
131
|
});
|
|
138
132
|
});
|
|
139
|
-
const t = Math.min(...
|
|
140
|
-
return { xMin: t >= 0 ? 0 : t, xMax:
|
|
133
|
+
const t = Math.min(...E.value.filter((a) => !m.value.includes(a.id)).flatMap((a) => a.values.map((v) => v.x))), r = Math.max(...E.value.filter((a) => !m.value.includes(a.id)).flatMap((a) => a.values.map((v) => v.x))), l = Math.min(...E.value.filter((a) => !m.value.includes(a.id)).flatMap((a) => a.values.map((v) => v.y))), s = Math.max(...E.value.filter((a) => !m.value.includes(a.id)).flatMap((a) => a.values.map((v) => v.y)));
|
|
134
|
+
return { xMin: t >= 0 ? 0 : t, xMax: r, yMin: l >= 0 ? 0 : l, yMax: s };
|
|
141
135
|
}), f = x(() => ({
|
|
142
|
-
x:
|
|
143
|
-
y:
|
|
144
|
-
})),
|
|
145
|
-
const l = `cluster_${z.value}_${
|
|
136
|
+
x: n.value.left + Math.abs(p.value.xMin) / (p.value.xMax + Math.abs(p.value.xMin)) * n.value.width,
|
|
137
|
+
y: n.value.bottom - Math.abs(p.value.yMin) / (p.value.yMax + Math.abs(p.value.yMin)) * n.value.height
|
|
138
|
+
})), E = x(() => F.dataset.map((t, r) => {
|
|
139
|
+
const l = `cluster_${z.value}_${r}`;
|
|
146
140
|
return {
|
|
147
141
|
...t,
|
|
148
|
-
values:
|
|
142
|
+
values: $t({
|
|
149
143
|
data: t.values,
|
|
150
144
|
threshold: e.value.downsample.threshold
|
|
151
145
|
}),
|
|
152
146
|
id: l,
|
|
153
|
-
color: t.color ? t.color :
|
|
147
|
+
color: t.color ? t.color : Fe.value[r] || J[r] || J[r % J.length],
|
|
154
148
|
opacity: m.value.includes(l) ? 0.5 : 1,
|
|
155
149
|
shape: t.shape ?? "circle",
|
|
156
|
-
segregate: () =>
|
|
150
|
+
segregate: () => Ve(l),
|
|
157
151
|
isSegregated: m.value.includes(l)
|
|
158
152
|
};
|
|
159
|
-
})),
|
|
153
|
+
})), nt = x(() => ({
|
|
160
154
|
cy: "scatter-div-legend",
|
|
161
155
|
backgroundColor: e.value.style.legend.backgroundColor,
|
|
162
156
|
color: e.value.style.legend.color,
|
|
163
157
|
fontSize: e.value.style.legend.fontSize,
|
|
164
158
|
paddingBottom: 12,
|
|
165
159
|
fontWeight: e.value.style.legend.bold ? "bold" : ""
|
|
166
|
-
})),
|
|
160
|
+
})), ye = x(() => E.value.map((t, r) => ({
|
|
167
161
|
...t,
|
|
168
162
|
plots: t.values.map((l) => ({
|
|
169
|
-
x:
|
|
170
|
-
y:
|
|
163
|
+
x: n.value.left + (l.x + Math.abs(p.value.xMin)) / (p.value.xMax + Math.abs(p.value.xMin)) * n.value.width,
|
|
164
|
+
y: n.value.bottom - (l.y + Math.abs(p.value.yMin)) / (p.value.yMax + Math.abs(p.value.yMin)) * n.value.height,
|
|
171
165
|
v: {
|
|
172
166
|
...l,
|
|
173
167
|
name: l.name || ""
|
|
174
168
|
},
|
|
175
169
|
clusterName: t.name,
|
|
176
|
-
color: t.color ? t.color :
|
|
170
|
+
color: t.color ? t.color : Fe.value[r] || J[r] || J[r % J.length],
|
|
177
171
|
id: `plot_${z.value}_${Math.random()}`,
|
|
178
172
|
weight: l.weight ?? e.value.style.layout.plots.radius
|
|
179
173
|
}))
|
|
180
|
-
})).filter((t) => !m.value.includes(t.id))), S = x(() =>
|
|
181
|
-
const
|
|
174
|
+
})).filter((t) => !m.value.includes(t.id))), S = x(() => ye.value.map((t) => {
|
|
175
|
+
const r = t.plots.reduce((g, G) => g + G.x, 0) / t.plots.length, l = t.plots.reduce((g, G) => g + G.y, 0) / t.plots.length;
|
|
182
176
|
let s = 0, a = 0, v = 0;
|
|
183
177
|
for (const g of t.plots)
|
|
184
|
-
s += (g.x -
|
|
185
|
-
const k = s / Math.sqrt(a * v),
|
|
186
|
-
x1:
|
|
187
|
-
x2:
|
|
188
|
-
y1:
|
|
189
|
-
y2:
|
|
178
|
+
s += (g.x - r) * (g.y - l), a += (g.x - r) ** 2, v += (g.y - l) ** 2;
|
|
179
|
+
const k = s / Math.sqrt(a * v), U = k * (Math.sqrt(v) / Math.sqrt(a)), Z = l - U * r, N = {
|
|
180
|
+
x1: n.value.left,
|
|
181
|
+
x2: n.value.right,
|
|
182
|
+
y1: U * n.value.left + Z,
|
|
183
|
+
y2: U * n.value.right + Z,
|
|
190
184
|
coefficient: k
|
|
191
|
-
},
|
|
185
|
+
}, $ = (N.y2 - N.y1) / (N.x2 - N.x1), L = N.y1 - $ * N.x1, I = Math.min(b.value.width - e.value.style.layout.padding.right, Math.max(e.value.style.layout.padding.left, (n.value.top - L) / $)), re = {
|
|
192
186
|
x: I,
|
|
193
|
-
y:
|
|
187
|
+
y: $ * I + L <= e.value.style.layout.padding.top ? n.value.top : $ * I + L
|
|
194
188
|
};
|
|
195
189
|
return {
|
|
196
190
|
...t,
|
|
197
191
|
correlation: N,
|
|
198
|
-
label:
|
|
192
|
+
label: re,
|
|
199
193
|
plots: t.plots.map((g) => {
|
|
200
|
-
const
|
|
194
|
+
const G = (g.x + $ * g.y - $ * L) / (1 + Math.pow($, 2)), he = ($ * g.x + Math.pow($, 2) * g.y + L) / (1 + Math.pow($, 2)), w = Math.sqrt(Math.pow(g.x - G, 2) + Math.pow(g.y - he, 2));
|
|
201
195
|
return {
|
|
202
196
|
...g,
|
|
203
197
|
deviation: w,
|
|
@@ -206,124 +200,124 @@ const Xt = ["id"], Yt = ["xmlns", "viewBox"], Dt = ["width", "height"], jt = { k
|
|
|
206
200
|
};
|
|
207
201
|
})
|
|
208
202
|
};
|
|
209
|
-
})),
|
|
210
|
-
function
|
|
203
|
+
})), Ie = x(() => Math.max(...S.value.flatMap((t) => t.plots.map((r) => Math.abs(r.deviation)))));
|
|
204
|
+
function vt() {
|
|
211
205
|
return S.value;
|
|
212
206
|
}
|
|
213
|
-
function
|
|
214
|
-
const l = Array.isArray(t) ? t.flatMap((w) => w.plots.map((
|
|
215
|
-
x:
|
|
216
|
-
y:
|
|
207
|
+
function Xe(t, r) {
|
|
208
|
+
const l = Array.isArray(t) ? t.flatMap((w) => w.plots.map((q) => ({
|
|
209
|
+
x: q.x,
|
|
210
|
+
y: q.y
|
|
217
211
|
}))) : t.plots.map((w) => ({
|
|
218
212
|
x: w.x,
|
|
219
213
|
y: w.y
|
|
220
214
|
}));
|
|
221
215
|
let s = 1 / 0, a = -1 / 0, v = 1 / 0, k = -1 / 0;
|
|
222
|
-
l.forEach(({ x: w, y:
|
|
223
|
-
s = Math.min(s, w), a = Math.max(a, w), v = Math.min(v,
|
|
216
|
+
l.forEach(({ x: w, y: q }) => {
|
|
217
|
+
s = Math.min(s, w), a = Math.max(a, w), v = Math.min(v, q), k = Math.max(k, q);
|
|
224
218
|
});
|
|
225
|
-
const
|
|
226
|
-
l.forEach(({ x: w, y:
|
|
227
|
-
const
|
|
228
|
-
L[
|
|
219
|
+
const U = a - s, Z = k - v, N = U / r, $ = Z / r, L = Array(r).fill(0), I = Array(r).fill(0);
|
|
220
|
+
l.forEach(({ x: w, y: q }) => {
|
|
221
|
+
const pe = Math.floor((w - s) / N), fe = Math.floor((q - v) / $);
|
|
222
|
+
L[pe] || (L[pe] = 0), I[fe] || (I[fe] = 0), L[pe] += 1, I[fe] += 1;
|
|
229
223
|
});
|
|
230
|
-
const
|
|
231
|
-
for (let w = 0; w <
|
|
232
|
-
|
|
233
|
-
const
|
|
234
|
-
return { x: L, y: I, avgX:
|
|
224
|
+
const re = [], g = [];
|
|
225
|
+
for (let w = 0; w < r; w += 1)
|
|
226
|
+
re.push(s + (w + 0.5) * N), g.push(v + (w + 0.5) * $);
|
|
227
|
+
const G = Math.max(...L), he = Math.max(...I);
|
|
228
|
+
return { x: L, y: I, avgX: re, avgY: g, maxX: G, maxY: he };
|
|
235
229
|
}
|
|
236
|
-
const
|
|
237
|
-
const t =
|
|
238
|
-
return
|
|
239
|
-
const s =
|
|
230
|
+
const D = x(() => e.value.style.layout.marginalBars.tranches), T = x(() => Xe(ye.value, D.value)), yt = x(() => {
|
|
231
|
+
const t = n.value.top - e.value.style.layout.marginalBars.offset, r = n.value.right + e.value.style.layout.marginalBars.offset;
|
|
232
|
+
return ye.value.map((l) => {
|
|
233
|
+
const s = Xe(l, D.value);
|
|
240
234
|
return {
|
|
241
235
|
coords: s,
|
|
242
|
-
dX:
|
|
236
|
+
dX: At(s.avgX.map((a, v) => ({
|
|
243
237
|
x: a,
|
|
244
238
|
y: t - s.x[v] / s.maxX * e.value.style.layout.marginalBars.size
|
|
245
239
|
}))),
|
|
246
|
-
dY:
|
|
240
|
+
dY: Ct(s.avgY.map((a, v) => ({
|
|
247
241
|
y: a,
|
|
248
|
-
x:
|
|
242
|
+
x: r + e.value.style.layout.marginalBars.size * s.y[v] / s.maxY
|
|
249
243
|
}))),
|
|
250
244
|
color: l.color,
|
|
251
245
|
id: l.id
|
|
252
246
|
};
|
|
253
247
|
});
|
|
254
|
-
}), O = h(void 0), y = h(null),
|
|
255
|
-
function
|
|
248
|
+
}), O = h(void 0), y = h(null), ce = h(null);
|
|
249
|
+
function Ye(t, r) {
|
|
256
250
|
O.value = t.id, y.value = t;
|
|
257
251
|
let l = "";
|
|
258
|
-
|
|
252
|
+
ce.value = {
|
|
259
253
|
datapoint: t,
|
|
260
|
-
seriesIndex:
|
|
254
|
+
seriesIndex: r,
|
|
261
255
|
series: S.value,
|
|
262
256
|
config: e.value
|
|
263
257
|
};
|
|
264
258
|
const s = e.value.style.tooltip.customFormat;
|
|
265
|
-
|
|
259
|
+
Bt(s) && Ot(() => s({
|
|
266
260
|
datapoint: t,
|
|
267
|
-
seriesIndex:
|
|
261
|
+
seriesIndex: r,
|
|
268
262
|
series: S.value,
|
|
269
263
|
config: e.value
|
|
270
|
-
})) ?
|
|
264
|
+
})) ? ne.value = s({
|
|
271
265
|
datapoint: t,
|
|
272
|
-
seriesIndex:
|
|
266
|
+
seriesIndex: r,
|
|
273
267
|
series: S.value,
|
|
274
268
|
config: e.value
|
|
275
|
-
}) : (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) ? "-" :
|
|
269
|
+
}) : (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) ? "-" : R(
|
|
276
270
|
e.value.style.layout.plots.selectors.labels.x.formatter,
|
|
277
271
|
t.v.x,
|
|
278
|
-
|
|
272
|
+
W({
|
|
279
273
|
p: e.value.style.tooltip.prefix,
|
|
280
274
|
v: t.v.x,
|
|
281
275
|
s: e.value.style.tooltip.suffix,
|
|
282
276
|
r: e.value.style.tooltip.roundingValue
|
|
283
277
|
}),
|
|
284
|
-
{ datapoint: t, seriesIndex:
|
|
285
|
-
)}</b></div>`, l += `<div>${e.value.style.layout.dataLabels.yAxis.name}: <b>${isNaN(t.v.y) ? "-" :
|
|
278
|
+
{ datapoint: t, seriesIndex: r }
|
|
279
|
+
)}</b></div>`, l += `<div>${e.value.style.layout.dataLabels.yAxis.name}: <b>${isNaN(t.v.y) ? "-" : R(
|
|
286
280
|
e.value.style.layout.plots.selectors.labels.y.formatter,
|
|
287
281
|
t.v.y,
|
|
288
|
-
|
|
282
|
+
W({
|
|
289
283
|
p: e.value.style.tooltip.prefix,
|
|
290
284
|
v: t.v.y,
|
|
291
285
|
s: e.value.style.tooltip.suffix,
|
|
292
286
|
r: e.value.style.tooltip.roundingValue
|
|
293
287
|
}),
|
|
294
|
-
{ datapoint: t, seriesIndex:
|
|
295
|
-
)}</b></div>`, l += `${e.value.style.layout.plots.deviation.translation}: <b>${
|
|
288
|
+
{ datapoint: t, seriesIndex: r }
|
|
289
|
+
)}</b></div>`, l += `${e.value.style.layout.plots.deviation.translation}: <b>${W({
|
|
296
290
|
v: t.deviation,
|
|
297
291
|
r: e.value.style.layout.plots.deviation.roundingValue
|
|
298
|
-
})}</b>`, l += "</div>",
|
|
292
|
+
})}</b>`, l += "</div>", ne.value = `<div>${l}</div>`), ie.value = !0;
|
|
299
293
|
}
|
|
300
|
-
function
|
|
301
|
-
|
|
294
|
+
function De() {
|
|
295
|
+
ie.value = !1, O.value = void 0, y.value = null;
|
|
302
296
|
}
|
|
303
297
|
const m = h([]);
|
|
304
|
-
function
|
|
305
|
-
m.value.includes(t) ? m.value = m.value.filter((
|
|
298
|
+
function Ve(t) {
|
|
299
|
+
m.value.includes(t) ? m.value = m.value.filter((r) => r !== t) : m.value.length < F.dataset.length - 1 && m.value.push(t);
|
|
306
300
|
}
|
|
307
|
-
function
|
|
308
|
-
|
|
309
|
-
const t = ["", e.value.table.translations.correlationCoefficient, e.value.table.translations.nbrPlots, `${e.value.style.layout.dataLabels.xAxis.name} ${e.value.table.translations.average}`, `${e.value.style.layout.dataLabels.yAxis.name} ${e.value.table.translations.average}`],
|
|
301
|
+
function je() {
|
|
302
|
+
mt(() => {
|
|
303
|
+
const t = ["", e.value.table.translations.correlationCoefficient, e.value.table.translations.nbrPlots, `${e.value.style.layout.dataLabels.xAxis.name} ${e.value.table.translations.average}`, `${e.value.style.layout.dataLabels.yAxis.name} ${e.value.table.translations.average}`], r = S.value.map((a) => [
|
|
310
304
|
a.name,
|
|
311
305
|
a.correlation.coefficient,
|
|
312
306
|
a.plots.length,
|
|
313
307
|
a.plots.map((v) => v.v.x).reduce((v, k) => v + k, 0) / a.plots.length,
|
|
314
308
|
a.plots.map((v) => v.v.y).reduce((v, k) => v + k, 0) / a.plots.length
|
|
315
|
-
]), l = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([t]).concat(
|
|
316
|
-
|
|
309
|
+
]), l = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([t]).concat(r), s = Tt(l);
|
|
310
|
+
Lt({ csvContent: s, title: e.value.style.title.text || "vue-ui-heatmap" });
|
|
317
311
|
});
|
|
318
312
|
}
|
|
319
|
-
const
|
|
313
|
+
const se = x(() => {
|
|
320
314
|
const t = [
|
|
321
315
|
e.value.table.translations.series,
|
|
322
316
|
e.value.table.translations.correlationCoefficient,
|
|
323
317
|
e.value.table.translations.nbrPlots,
|
|
324
318
|
`${e.value.style.layout.dataLabels.xAxis.name} ${e.value.table.translations.average}`,
|
|
325
319
|
`${e.value.style.layout.dataLabels.yAxis.name} ${e.value.table.translations.average}`
|
|
326
|
-
],
|
|
320
|
+
], r = S.value.map((s) => [
|
|
327
321
|
{
|
|
328
322
|
shape: s.shape,
|
|
329
323
|
content: s.name,
|
|
@@ -346,61 +340,61 @@ const Xt = ["id"], Yt = ["xmlns", "viewBox"], Dt = ["width", "height"], jt = { k
|
|
|
346
340
|
},
|
|
347
341
|
breakpoint: e.value.table.responsiveBreakpoint
|
|
348
342
|
};
|
|
349
|
-
return { head: t, body:
|
|
350
|
-
}),
|
|
351
|
-
function
|
|
352
|
-
|
|
343
|
+
return { head: t, body: r, config: l, colNames: t };
|
|
344
|
+
}), Q = h(!1);
|
|
345
|
+
function ct(t) {
|
|
346
|
+
Q.value = t, be.value += 1;
|
|
353
347
|
}
|
|
354
|
-
function
|
|
348
|
+
function Re() {
|
|
355
349
|
B.value.showTable = !B.value.showTable;
|
|
356
350
|
}
|
|
357
|
-
function
|
|
351
|
+
function Ee() {
|
|
358
352
|
B.value.showTooltip = !B.value.showTooltip;
|
|
359
353
|
}
|
|
360
|
-
const
|
|
361
|
-
function
|
|
362
|
-
|
|
354
|
+
const ue = h(!1);
|
|
355
|
+
function de() {
|
|
356
|
+
ue.value = !ue.value;
|
|
363
357
|
}
|
|
364
|
-
return
|
|
365
|
-
getData:
|
|
366
|
-
generatePdf:
|
|
367
|
-
generateCsv:
|
|
368
|
-
generateImage:
|
|
369
|
-
toggleTable:
|
|
370
|
-
toggleTooltip:
|
|
371
|
-
toggleAnnotator:
|
|
372
|
-
}), (t,
|
|
373
|
-
class:
|
|
358
|
+
return Qe({
|
|
359
|
+
getData: vt,
|
|
360
|
+
generatePdf: Pe,
|
|
361
|
+
generateCsv: je,
|
|
362
|
+
generateImage: We,
|
|
363
|
+
toggleTable: Re,
|
|
364
|
+
toggleTooltip: Ee,
|
|
365
|
+
toggleAnnotator: de
|
|
366
|
+
}), (t, r) => (o(), i("div", {
|
|
367
|
+
class: Ge(`vue-ui-scatter ${Q.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
374
368
|
ref_key: "scatterChart",
|
|
375
|
-
ref:
|
|
369
|
+
ref: le,
|
|
376
370
|
id: `vue-ui-scatter_${z.value}`,
|
|
377
|
-
style:
|
|
378
|
-
onMouseenter:
|
|
379
|
-
onMouseleave:
|
|
371
|
+
style: V(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`),
|
|
372
|
+
onMouseenter: r[2] || (r[2] = () => u(ze)(!0)),
|
|
373
|
+
onMouseleave: r[3] || (r[3] = () => u(ze)(!1))
|
|
380
374
|
}, [
|
|
381
|
-
e.value.userOptions.buttons.annotator ? (o(), j(
|
|
375
|
+
e.value.userOptions.buttons.annotator ? (o(), j(u(lt), {
|
|
382
376
|
key: 0,
|
|
383
|
-
svgRef:
|
|
377
|
+
svgRef: u(Te),
|
|
384
378
|
backgroundColor: e.value.style.backgroundColor,
|
|
385
379
|
color: e.value.style.color,
|
|
386
|
-
active:
|
|
387
|
-
onClose:
|
|
380
|
+
active: ue.value,
|
|
381
|
+
onClose: de
|
|
388
382
|
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : c("", !0),
|
|
389
|
-
|
|
383
|
+
it.value ? (o(), i("div", {
|
|
390
384
|
key: 1,
|
|
391
385
|
ref_key: "noTitle",
|
|
392
|
-
ref:
|
|
386
|
+
ref: Me,
|
|
393
387
|
class: "vue-data-ui-no-title-space",
|
|
394
388
|
style: "height:36px; width: 100%;background:transparent"
|
|
395
389
|
}, null, 512)) : c("", !0),
|
|
396
|
-
e.value.style.title.text ? (o(),
|
|
390
|
+
e.value.style.title.text ? (o(), i("div", {
|
|
397
391
|
key: 2,
|
|
398
392
|
ref_key: "chartTitle",
|
|
399
|
-
ref:
|
|
393
|
+
ref: ke,
|
|
400
394
|
style: "width:100%;background:transparent"
|
|
401
395
|
}, [
|
|
402
|
-
(o(), j(
|
|
403
|
-
key: `title_${
|
|
396
|
+
(o(), j(Yt, {
|
|
397
|
+
key: `title_${$e.value}`,
|
|
404
398
|
config: {
|
|
405
399
|
title: {
|
|
406
400
|
cy: "scatter-div-title",
|
|
@@ -413,14 +407,14 @@ const Xt = ["id"], Yt = ["xmlns", "viewBox"], Dt = ["width", "height"], jt = { k
|
|
|
413
407
|
}
|
|
414
408
|
}, null, 8, ["config"]))
|
|
415
409
|
], 512)) : c("", !0),
|
|
416
|
-
e.value.userOptions.show &&
|
|
410
|
+
e.value.userOptions.show && ae.value && (u(Se) || u(ve)) ? (o(), j(u(st), {
|
|
417
411
|
ref_key: "details",
|
|
418
|
-
ref:
|
|
419
|
-
key: `user_options_${
|
|
412
|
+
ref: rt,
|
|
413
|
+
key: `user_options_${be.value}`,
|
|
420
414
|
backgroundColor: e.value.style.backgroundColor,
|
|
421
415
|
color: e.value.style.color,
|
|
422
|
-
isImaging:
|
|
423
|
-
isPrinting:
|
|
416
|
+
isImaging: u(Ne),
|
|
417
|
+
isPrinting: u(Oe),
|
|
424
418
|
uid: z.value,
|
|
425
419
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.tooltip.show,
|
|
426
420
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
@@ -429,91 +423,91 @@ const Xt = ["id"], Yt = ["xmlns", "viewBox"], Dt = ["width", "height"], jt = { k
|
|
|
429
423
|
hasTable: e.value.userOptions.buttons.table,
|
|
430
424
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
431
425
|
isTooltip: B.value.showTooltip,
|
|
432
|
-
isFullscreen:
|
|
426
|
+
isFullscreen: Q.value,
|
|
433
427
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
434
|
-
chartElement:
|
|
428
|
+
chartElement: le.value,
|
|
435
429
|
position: e.value.userOptions.position,
|
|
436
430
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
437
|
-
isAnnotation:
|
|
438
|
-
onToggleFullscreen:
|
|
439
|
-
onGeneratePdf:
|
|
440
|
-
onGenerateCsv:
|
|
441
|
-
onGenerateImage:
|
|
442
|
-
onToggleTable:
|
|
443
|
-
onToggleTooltip:
|
|
444
|
-
onToggleAnnotator:
|
|
445
|
-
style:
|
|
446
|
-
visibility:
|
|
431
|
+
isAnnotation: ue.value,
|
|
432
|
+
onToggleFullscreen: ct,
|
|
433
|
+
onGeneratePdf: u(Pe),
|
|
434
|
+
onGenerateCsv: je,
|
|
435
|
+
onGenerateImage: u(We),
|
|
436
|
+
onToggleTable: Re,
|
|
437
|
+
onToggleTooltip: Ee,
|
|
438
|
+
onToggleAnnotator: de,
|
|
439
|
+
style: V({
|
|
440
|
+
visibility: u(Se) ? u(ve) ? "visible" : "hidden" : "visible"
|
|
447
441
|
})
|
|
448
|
-
},
|
|
442
|
+
}, ft({ _: 2 }, [
|
|
449
443
|
t.$slots.menuIcon ? {
|
|
450
444
|
name: "menuIcon",
|
|
451
445
|
fn: _(({ isOpen: l, color: s }) => [
|
|
452
|
-
|
|
446
|
+
M(t.$slots, "menuIcon", ee(te({ isOpen: l, color: s })), void 0, !0)
|
|
453
447
|
]),
|
|
454
448
|
key: "0"
|
|
455
449
|
} : void 0,
|
|
456
450
|
t.$slots.optionTooltip ? {
|
|
457
451
|
name: "optionTooltip",
|
|
458
452
|
fn: _(() => [
|
|
459
|
-
|
|
453
|
+
M(t.$slots, "optionTooltip", {}, void 0, !0)
|
|
460
454
|
]),
|
|
461
455
|
key: "1"
|
|
462
456
|
} : void 0,
|
|
463
457
|
t.$slots.optionPdf ? {
|
|
464
458
|
name: "optionPdf",
|
|
465
459
|
fn: _(() => [
|
|
466
|
-
|
|
460
|
+
M(t.$slots, "optionPdf", {}, void 0, !0)
|
|
467
461
|
]),
|
|
468
462
|
key: "2"
|
|
469
463
|
} : void 0,
|
|
470
464
|
t.$slots.optionCsv ? {
|
|
471
465
|
name: "optionCsv",
|
|
472
466
|
fn: _(() => [
|
|
473
|
-
|
|
467
|
+
M(t.$slots, "optionCsv", {}, void 0, !0)
|
|
474
468
|
]),
|
|
475
469
|
key: "3"
|
|
476
470
|
} : void 0,
|
|
477
471
|
t.$slots.optionImg ? {
|
|
478
472
|
name: "optionImg",
|
|
479
473
|
fn: _(() => [
|
|
480
|
-
|
|
474
|
+
M(t.$slots, "optionImg", {}, void 0, !0)
|
|
481
475
|
]),
|
|
482
476
|
key: "4"
|
|
483
477
|
} : void 0,
|
|
484
478
|
t.$slots.optionTable ? {
|
|
485
479
|
name: "optionTable",
|
|
486
480
|
fn: _(() => [
|
|
487
|
-
|
|
481
|
+
M(t.$slots, "optionTable", {}, void 0, !0)
|
|
488
482
|
]),
|
|
489
483
|
key: "5"
|
|
490
484
|
} : void 0,
|
|
491
485
|
t.$slots.optionFullscreen ? {
|
|
492
486
|
name: "optionFullscreen",
|
|
493
487
|
fn: _(({ toggleFullscreen: l, isFullscreen: s }) => [
|
|
494
|
-
|
|
488
|
+
M(t.$slots, "optionFullscreen", ee(te({ toggleFullscreen: l, isFullscreen: s })), void 0, !0)
|
|
495
489
|
]),
|
|
496
490
|
key: "6"
|
|
497
491
|
} : void 0,
|
|
498
492
|
t.$slots.optionAnnotator ? {
|
|
499
493
|
name: "optionAnnotator",
|
|
500
494
|
fn: _(({ toggleAnnotator: l, isAnnotator: s }) => [
|
|
501
|
-
|
|
495
|
+
M(t.$slots, "optionAnnotator", ee(te({ toggleAnnotator: l, isAnnotator: s })), void 0, !0)
|
|
502
496
|
]),
|
|
503
497
|
key: "7"
|
|
504
498
|
} : void 0
|
|
505
499
|
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : c("", !0),
|
|
506
|
-
|
|
500
|
+
ae.value ? (o(), i("svg", {
|
|
507
501
|
key: 4,
|
|
508
502
|
ref_key: "svgRef",
|
|
509
|
-
ref:
|
|
510
|
-
xmlns:
|
|
511
|
-
class:
|
|
503
|
+
ref: Te,
|
|
504
|
+
xmlns: u(zt),
|
|
505
|
+
class: Ge({ "vue-data-ui-fullscreen--on": Q.value, "vue-data-ui-fulscreen--off": !Q.value }),
|
|
512
506
|
viewBox: `0 0 ${b.value.width <= 0 ? 10 : b.value.width} ${b.value.height <= 0 ? 10 : b.value.height}`,
|
|
513
|
-
style:
|
|
507
|
+
style: V(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`)
|
|
514
508
|
}, [
|
|
515
|
-
|
|
516
|
-
t.$slots["chart-background"] ? (o(),
|
|
509
|
+
ge(u(tt)),
|
|
510
|
+
t.$slots["chart-background"] ? (o(), i("foreignObject", {
|
|
517
511
|
key: 0,
|
|
518
512
|
x: 0,
|
|
519
513
|
y: 0,
|
|
@@ -523,70 +517,70 @@ const Xt = ["id"], Yt = ["xmlns", "viewBox"], Dt = ["width", "height"], jt = { k
|
|
|
523
517
|
pointerEvents: "none"
|
|
524
518
|
}
|
|
525
519
|
}, [
|
|
526
|
-
|
|
527
|
-
], 8,
|
|
528
|
-
e.value.style.layout.axis.show ? (o(),
|
|
520
|
+
M(t.$slots, "chart-background", {}, void 0, !0)
|
|
521
|
+
], 8, Rt)) : c("", !0),
|
|
522
|
+
e.value.style.layout.axis.show ? (o(), i("g", Et, [
|
|
529
523
|
d("line", {
|
|
530
524
|
x1: f.value.x,
|
|
531
525
|
x2: f.value.x,
|
|
532
|
-
y1:
|
|
533
|
-
y2:
|
|
526
|
+
y1: n.value.top,
|
|
527
|
+
y2: n.value.bottom,
|
|
534
528
|
stroke: e.value.style.layout.axis.stroke,
|
|
535
529
|
"stroke-width": e.value.style.layout.axis.strokeWidth,
|
|
536
530
|
"stroke-linecap": "round"
|
|
537
|
-
}, null, 8,
|
|
531
|
+
}, null, 8, Ut),
|
|
538
532
|
d("line", {
|
|
539
|
-
x1:
|
|
540
|
-
x2:
|
|
533
|
+
x1: n.value.left,
|
|
534
|
+
x2: n.value.right,
|
|
541
535
|
y1: f.value.y,
|
|
542
536
|
y2: f.value.y,
|
|
543
537
|
stroke: e.value.style.layout.axis.stroke,
|
|
544
538
|
"stroke-width": e.value.style.layout.axis.strokeWidth,
|
|
545
539
|
"stroke-linecap": "round"
|
|
546
|
-
}, null, 8,
|
|
540
|
+
}, null, 8, Gt)
|
|
547
541
|
])) : c("", !0),
|
|
548
|
-
e.value.style.layout.plots.giftWrap.show ? (o(),
|
|
549
|
-
(o(!0),
|
|
550
|
-
l.plots.length > 2 ? (o(),
|
|
542
|
+
e.value.style.layout.plots.giftWrap.show ? (o(), i("g", qt, [
|
|
543
|
+
(o(!0), i(P, null, X(S.value, (l, s) => (o(), i("g", null, [
|
|
544
|
+
l.plots.length > 2 ? (o(), i("polygon", {
|
|
551
545
|
key: 0,
|
|
552
|
-
points:
|
|
553
|
-
fill:
|
|
546
|
+
points: u(St)({ series: l.plots }),
|
|
547
|
+
fill: u(xe)(l.color, e.value.style.layout.plots.giftWrap.fillOpacity * 100),
|
|
554
548
|
"stroke-width": e.value.style.layout.plots.giftWrap.strokeWidth,
|
|
555
549
|
"stroke-dasharray": e.value.style.layout.plots.giftWrap.strokeDasharray,
|
|
556
550
|
stroke: l.color,
|
|
557
551
|
"stroke-linejoin": "round",
|
|
558
552
|
"stroke-linecap": "round"
|
|
559
|
-
}, null, 8,
|
|
553
|
+
}, null, 8, Ht)) : c("", !0)
|
|
560
554
|
]))), 256))
|
|
561
555
|
])) : c("", !0),
|
|
562
|
-
(o(!0),
|
|
563
|
-
!l.shape || l.shape === "circle" ? (o(),
|
|
564
|
-
(o(!0),
|
|
556
|
+
(o(!0), i(P, null, X(S.value, (l, s) => (o(), i("g", null, [
|
|
557
|
+
!l.shape || l.shape === "circle" ? (o(), i("g", Jt, [
|
|
558
|
+
(o(!0), i(P, null, X(l.plots, (a, v) => (o(), i("circle", {
|
|
565
559
|
cx: a.x,
|
|
566
560
|
cy: a.y,
|
|
567
561
|
r: O.value && O.value === a.id ? a.weight * 2 : a.weight,
|
|
568
|
-
fill:
|
|
562
|
+
fill: u(xe)(l.color, e.value.style.layout.plots.opacity * 100),
|
|
569
563
|
stroke: e.value.style.layout.plots.stroke,
|
|
570
564
|
"stroke-width": e.value.style.layout.plots.strokeWidth,
|
|
571
|
-
onMouseover: (k) =>
|
|
572
|
-
onMouseleave:
|
|
573
|
-
style:
|
|
574
|
-
}, null, 44,
|
|
575
|
-
])) : (o(),
|
|
576
|
-
(o(!0),
|
|
565
|
+
onMouseover: (k) => Ye(a, s),
|
|
566
|
+
onMouseleave: De,
|
|
567
|
+
style: V(`opacity:${O.value && O.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}`)
|
|
568
|
+
}, null, 44, Kt))), 256))
|
|
569
|
+
])) : (o(), i("g", Qt, [
|
|
570
|
+
(o(!0), i(P, null, X(l.plots, (a, v) => (o(), j(Je, {
|
|
577
571
|
plot: { x: a.x, y: a.y },
|
|
578
572
|
radius: O.value && O.value === a.id ? a.weight * 2 : a.weight,
|
|
579
573
|
shape: l.shape,
|
|
580
|
-
color:
|
|
574
|
+
color: u(xe)(l.color, e.value.style.layout.plots.opacity * 100),
|
|
581
575
|
stroke: e.value.style.layout.plots.stroke,
|
|
582
576
|
strokeWidth: e.value.style.layout.plots.strokeWidth,
|
|
583
|
-
onMouseover: (k) =>
|
|
584
|
-
onMouseleave:
|
|
585
|
-
style:
|
|
577
|
+
onMouseover: (k) => Ye(a, s),
|
|
578
|
+
onMouseleave: De,
|
|
579
|
+
style: V(`opacity:${O.value && O.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}`)
|
|
586
580
|
}, null, 8, ["plot", "radius", "shape", "color", "stroke", "strokeWidth", "onMouseover", "style"]))), 256))
|
|
587
581
|
]))
|
|
588
582
|
]))), 256)),
|
|
589
|
-
e.value.style.layout.marginalBars.show ? (o(),
|
|
583
|
+
e.value.style.layout.marginalBars.show ? (o(), i("g", Zt, [
|
|
590
584
|
d("defs", null, [
|
|
591
585
|
d("linearGradient", {
|
|
592
586
|
id: `marginal_x_${z.value}`,
|
|
@@ -598,12 +592,12 @@ const Xt = ["id"], Yt = ["xmlns", "viewBox"], Dt = ["width", "height"], jt = { k
|
|
|
598
592
|
d("stop", {
|
|
599
593
|
offset: "0%",
|
|
600
594
|
"stop-color": e.value.style.layout.marginalBars.fill
|
|
601
|
-
}, null, 8,
|
|
595
|
+
}, null, 8, tl),
|
|
602
596
|
d("stop", {
|
|
603
597
|
offset: "100%",
|
|
604
598
|
"stop-color": e.value.style.backgroundColor
|
|
605
|
-
}, null, 8,
|
|
606
|
-
], 8,
|
|
599
|
+
}, null, 8, ll)
|
|
600
|
+
], 8, el),
|
|
607
601
|
d("linearGradient", {
|
|
608
602
|
id: `marginal_y_${z.value}`,
|
|
609
603
|
x1: "0%",
|
|
@@ -614,44 +608,44 @@ const Xt = ["id"], Yt = ["xmlns", "viewBox"], Dt = ["width", "height"], jt = { k
|
|
|
614
608
|
d("stop", {
|
|
615
609
|
offset: "0%",
|
|
616
610
|
"stop-color": e.value.style.backgroundColor
|
|
617
|
-
}, null, 8,
|
|
611
|
+
}, null, 8, ol),
|
|
618
612
|
d("stop", {
|
|
619
613
|
offset: "100%",
|
|
620
614
|
"stop-color": e.value.style.layout.marginalBars.fill
|
|
621
|
-
}, null, 8,
|
|
622
|
-
], 8,
|
|
615
|
+
}, null, 8, sl)
|
|
616
|
+
], 8, al)
|
|
623
617
|
]),
|
|
624
|
-
(o(!0),
|
|
625
|
-
l && T.value.avgX[s] ? (o(),
|
|
618
|
+
(o(!0), i(P, null, X(T.value.x, (l, s) => (o(), i("g", null, [
|
|
619
|
+
l && T.value.avgX[s] ? (o(), i("rect", {
|
|
626
620
|
key: 0,
|
|
627
|
-
x: T.value.avgX[s] -
|
|
628
|
-
y:
|
|
629
|
-
width:
|
|
621
|
+
x: T.value.avgX[s] - n.value.width / D.value / 2,
|
|
622
|
+
y: n.value.top - e.value.style.layout.marginalBars.offset - l / T.value.maxX * e.value.style.layout.marginalBars.size,
|
|
623
|
+
width: n.value.width / D.value <= 0 ? 1e-4 : n.value.width / D.value,
|
|
630
624
|
height: l / T.value.maxX * e.value.style.layout.marginalBars.size <= 0 ? 1e-4 : l / T.value.maxX * e.value.style.layout.marginalBars.size,
|
|
631
625
|
fill: e.value.style.layout.marginalBars.useGradient ? `url(#marginal_x_${z.value})` : e.value.style.layout.marginalBars.fill,
|
|
632
|
-
style:
|
|
626
|
+
style: V(`opacity:${e.value.style.layout.marginalBars.opacity}`),
|
|
633
627
|
stroke: e.value.style.backgroundColor,
|
|
634
628
|
"stroke-width": e.value.style.layout.marginalBars.strokeWidth,
|
|
635
629
|
rx: e.value.style.layout.marginalBars.borderRadius
|
|
636
|
-
}, null, 12,
|
|
630
|
+
}, null, 12, ul)) : c("", !0)
|
|
637
631
|
]))), 256)),
|
|
638
|
-
(o(!0),
|
|
639
|
-
l && T.value.avgY[s] ? (o(),
|
|
632
|
+
(o(!0), i(P, null, X(T.value.y, (l, s) => (o(), i("g", null, [
|
|
633
|
+
l && T.value.avgY[s] ? (o(), i("rect", {
|
|
640
634
|
key: 0,
|
|
641
|
-
x:
|
|
642
|
-
y: T.value.avgY[s] -
|
|
643
|
-
height:
|
|
635
|
+
x: n.value.right + e.value.style.layout.marginalBars.offset,
|
|
636
|
+
y: T.value.avgY[s] - n.value.height / D.value / 2,
|
|
637
|
+
height: n.value.height / D.value <= 0 ? 1e-4 : n.value.height / D.value,
|
|
644
638
|
width: l / T.value.maxY * e.value.style.layout.marginalBars.size <= 0 ? 1e-4 : l / T.value.maxY * e.value.style.layout.marginalBars.size,
|
|
645
639
|
fill: e.value.style.layout.marginalBars.useGradient ? `url(#marginal_y_${z.value})` : e.value.style.layout.marginalBars.fill,
|
|
646
|
-
style:
|
|
640
|
+
style: V(`opacity:${e.value.style.layout.marginalBars.opacity}`),
|
|
647
641
|
stroke: e.value.style.backgroundColor,
|
|
648
642
|
"stroke-width": e.value.style.layout.marginalBars.strokeWidth,
|
|
649
643
|
rx: e.value.style.layout.marginalBars.borderRadius
|
|
650
|
-
}, null, 12,
|
|
644
|
+
}, null, 12, rl)) : c("", !0)
|
|
651
645
|
]))), 256)),
|
|
652
|
-
e.value.style.layout.marginalBars.showLines ? (o(),
|
|
653
|
-
(o(!0),
|
|
654
|
-
m.value.includes(l.id) ? c("", !0) : (o(),
|
|
646
|
+
e.value.style.layout.marginalBars.showLines ? (o(), i("g", il, [
|
|
647
|
+
(o(!0), i(P, null, X(yt.value, (l) => (o(), i(P, null, [
|
|
648
|
+
m.value.includes(l.id) ? c("", !0) : (o(), i("path", {
|
|
655
649
|
key: 0,
|
|
656
650
|
d: `M ${l.dX}`,
|
|
657
651
|
stroke: e.value.style.backgroundColor,
|
|
@@ -659,8 +653,8 @@ const Xt = ["id"], Yt = ["xmlns", "viewBox"], Dt = ["width", "height"], jt = { k
|
|
|
659
653
|
"stroke-linecap": "round",
|
|
660
654
|
"stroke-linejoin": "round",
|
|
661
655
|
fill: "none"
|
|
662
|
-
}, null, 8,
|
|
663
|
-
m.value.includes(l.id) ? c("", !0) : (o(),
|
|
656
|
+
}, null, 8, nl)),
|
|
657
|
+
m.value.includes(l.id) ? c("", !0) : (o(), i("path", {
|
|
664
658
|
key: 1,
|
|
665
659
|
d: `M ${l.dX}`,
|
|
666
660
|
stroke: l.color,
|
|
@@ -668,8 +662,8 @@ const Xt = ["id"], Yt = ["xmlns", "viewBox"], Dt = ["width", "height"], jt = { k
|
|
|
668
662
|
"stroke-linecap": "round",
|
|
669
663
|
"stroke-linejoin": "round",
|
|
670
664
|
fill: "none"
|
|
671
|
-
}, null, 8,
|
|
672
|
-
m.value.includes(l.id) ? c("", !0) : (o(),
|
|
665
|
+
}, null, 8, vl)),
|
|
666
|
+
m.value.includes(l.id) ? c("", !0) : (o(), i("path", {
|
|
673
667
|
key: 2,
|
|
674
668
|
d: `M ${l.dY}`,
|
|
675
669
|
stroke: e.value.style.backgroundColor,
|
|
@@ -677,8 +671,8 @@ const Xt = ["id"], Yt = ["xmlns", "viewBox"], Dt = ["width", "height"], jt = { k
|
|
|
677
671
|
"stroke-linecap": "round",
|
|
678
672
|
"stroke-linejoin": "round",
|
|
679
673
|
fill: "none"
|
|
680
|
-
}, null, 8,
|
|
681
|
-
m.value.includes(l.id) ? c("", !0) : (o(),
|
|
674
|
+
}, null, 8, yl)),
|
|
675
|
+
m.value.includes(l.id) ? c("", !0) : (o(), i("path", {
|
|
682
676
|
key: 3,
|
|
683
677
|
d: `M ${l.dY}`,
|
|
684
678
|
stroke: l.color,
|
|
@@ -686,11 +680,11 @@ const Xt = ["id"], Yt = ["xmlns", "viewBox"], Dt = ["width", "height"], jt = { k
|
|
|
686
680
|
"stroke-linecap": "round",
|
|
687
681
|
"stroke-linejoin": "round",
|
|
688
682
|
fill: "none"
|
|
689
|
-
}, null, 8,
|
|
683
|
+
}, null, 8, cl))
|
|
690
684
|
], 64))), 256))
|
|
691
685
|
])) : c("", !0)
|
|
692
686
|
])) : c("", !0),
|
|
693
|
-
y.value && e.value.style.layout.plots.selectors.show ? (o(),
|
|
687
|
+
y.value && e.value.style.layout.plots.selectors.show ? (o(), i("g", dl, [
|
|
694
688
|
d("line", {
|
|
695
689
|
x1: f.value.x,
|
|
696
690
|
x2: y.value.x,
|
|
@@ -701,7 +695,7 @@ const Xt = ["id"], Yt = ["xmlns", "viewBox"], Dt = ["width", "height"], jt = { k
|
|
|
701
695
|
"stroke-dasharray": e.value.style.layout.plots.selectors.strokeDasharray,
|
|
702
696
|
"stroke-linecap": "round",
|
|
703
697
|
class: "line-pointer"
|
|
704
|
-
}, null, 8,
|
|
698
|
+
}, null, 8, hl),
|
|
705
699
|
d("line", {
|
|
706
700
|
x1: y.value.x,
|
|
707
701
|
x2: y.value.x,
|
|
@@ -712,7 +706,7 @@ const Xt = ["id"], Yt = ["xmlns", "viewBox"], Dt = ["width", "height"], jt = { k
|
|
|
712
706
|
"stroke-dasharray": e.value.style.layout.plots.selectors.strokeDasharray,
|
|
713
707
|
"stroke-linecap": "round",
|
|
714
708
|
class: "line-pointer"
|
|
715
|
-
}, null, 8,
|
|
709
|
+
}, null, 8, pl),
|
|
716
710
|
d("text", {
|
|
717
711
|
x: f.value.x + (y.value.x > f.value.x ? -6 : 6),
|
|
718
712
|
y: y.value.y + e.value.style.layout.plots.selectors.labels.fontSize / 3,
|
|
@@ -720,17 +714,17 @@ const Xt = ["id"], Yt = ["xmlns", "viewBox"], Dt = ["width", "height"], jt = { k
|
|
|
720
714
|
fill: e.value.style.layout.plots.selectors.labels.color,
|
|
721
715
|
"font-weight": e.value.style.layout.plots.selectors.labels.bold ? "bold" : "normal",
|
|
722
716
|
"text-anchor": y.value.x > f.value.x ? "end" : "start"
|
|
723
|
-
}, C(
|
|
717
|
+
}, C(u(R)(
|
|
724
718
|
e.value.style.layout.plots.selectors.labels.y.formatter,
|
|
725
|
-
|
|
726
|
-
|
|
719
|
+
u(A)(y.value.v.y),
|
|
720
|
+
u(W)({
|
|
727
721
|
p: e.value.style.layout.plots.selectors.labels.prefix,
|
|
728
|
-
v:
|
|
722
|
+
v: u(A)(y.value.v.y),
|
|
729
723
|
s: e.value.style.layout.plots.selectors.labels.suffix,
|
|
730
724
|
r: e.value.style.layout.plots.selectors.labels.rounding
|
|
731
725
|
}),
|
|
732
726
|
{ datapoint: y.value }
|
|
733
|
-
)), 9,
|
|
727
|
+
)), 9, fl),
|
|
734
728
|
d("text", {
|
|
735
729
|
x: y.value.x,
|
|
736
730
|
y: f.value.y + (y.value.y > f.value.y ? -6 : e.value.style.layout.plots.selectors.labels.fontSize + 6),
|
|
@@ -738,17 +732,17 @@ const Xt = ["id"], Yt = ["xmlns", "viewBox"], Dt = ["width", "height"], jt = { k
|
|
|
738
732
|
fill: e.value.style.layout.plots.selectors.labels.color,
|
|
739
733
|
"font-weight": e.value.style.layout.plots.selectors.labels.bold ? "bold" : "normal",
|
|
740
734
|
"text-anchor": "middle"
|
|
741
|
-
}, C(
|
|
735
|
+
}, C(u(R)(
|
|
742
736
|
e.value.style.layout.plots.selectors.labels.y.formatter,
|
|
743
|
-
|
|
744
|
-
|
|
737
|
+
u(A)(y.value.v.x),
|
|
738
|
+
u(W)({
|
|
745
739
|
p: e.value.style.layout.plots.selectors.labels.prefix,
|
|
746
|
-
v:
|
|
740
|
+
v: u(A)(y.value.v.x),
|
|
747
741
|
s: e.value.style.layout.plots.selectors.labels.suffix,
|
|
748
742
|
r: e.value.style.layout.plots.selectors.labels.rounding
|
|
749
743
|
}),
|
|
750
744
|
{ datapoint: y.value }
|
|
751
|
-
)), 9,
|
|
745
|
+
)), 9, gl),
|
|
752
746
|
d("circle", {
|
|
753
747
|
cx: f.value.x,
|
|
754
748
|
cy: y.value.y,
|
|
@@ -757,7 +751,7 @@ const Xt = ["id"], Yt = ["xmlns", "viewBox"], Dt = ["width", "height"], jt = { k
|
|
|
757
751
|
stroke: e.value.style.layout.plots.selectors.markers.stroke,
|
|
758
752
|
"stroke-width": e.value.style.layout.plots.selectors.markers.strokeWidth,
|
|
759
753
|
class: "line-pointer"
|
|
760
|
-
}, null, 8,
|
|
754
|
+
}, null, 8, ml),
|
|
761
755
|
d("circle", {
|
|
762
756
|
cx: y.value.x,
|
|
763
757
|
cy: f.value.y,
|
|
@@ -766,113 +760,113 @@ const Xt = ["id"], Yt = ["xmlns", "viewBox"], Dt = ["width", "height"], jt = { k
|
|
|
766
760
|
stroke: e.value.style.layout.plots.selectors.markers.stroke,
|
|
767
761
|
"stroke-width": e.value.style.layout.plots.selectors.markers.strokeWidth,
|
|
768
762
|
class: "line-pointer"
|
|
769
|
-
}, null, 8,
|
|
770
|
-
e.value.style.layout.plots.selectors.labels.showName ? (o(),
|
|
763
|
+
}, null, 8, xl),
|
|
764
|
+
e.value.style.layout.plots.selectors.labels.showName ? (o(), i("text", {
|
|
771
765
|
key: 0,
|
|
772
766
|
x: y.value.x,
|
|
773
767
|
y: y.value.y + (y.value.y < f.value.y ? -e.value.style.layout.plots.selectors.labels.fontSize / 2 : e.value.style.layout.plots.selectors.labels.fontSize),
|
|
774
768
|
"font-size": e.value.style.layout.plots.selectors.labels.fontSize,
|
|
775
769
|
fill: e.value.style.layout.plots.selectors.labels.color,
|
|
776
770
|
"font-weight": e.value.style.layout.plots.selectors.labels.bold ? "bold" : "normal",
|
|
777
|
-
"text-anchor": y.value.x <
|
|
778
|
-
}, C(y.value.v.name), 9,
|
|
771
|
+
"text-anchor": y.value.x < n.value.left + 100 ? "start" : y.value.x > n.value.right - 100 ? "end" : y.value.x > f.value.x ? "start" : "end"
|
|
772
|
+
}, C(y.value.v.name), 9, bl)) : c("", !0)
|
|
779
773
|
])) : c("", !0),
|
|
780
|
-
e.value.style.layout.dataLabels.xAxis.show ? (o(),
|
|
774
|
+
e.value.style.layout.dataLabels.xAxis.show ? (o(), i("g", kl, [
|
|
781
775
|
d("text", {
|
|
782
|
-
x:
|
|
776
|
+
x: n.value.left - 5,
|
|
783
777
|
y: f.value.y + e.value.style.layout.dataLabels.xAxis.fontSize / 3,
|
|
784
778
|
"text-anchor": "end",
|
|
785
779
|
"font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
|
|
786
780
|
fill: e.value.style.layout.dataLabels.xAxis.color
|
|
787
|
-
}, C(
|
|
781
|
+
}, C(u(R)(
|
|
788
782
|
e.value.style.layout.plots.selectors.labels.x.formatter,
|
|
789
|
-
|
|
790
|
-
|
|
783
|
+
u(A)(p.value.xMin),
|
|
784
|
+
u(W)({
|
|
791
785
|
p: e.value.style.layout.plots.selectors.labels.prefix,
|
|
792
|
-
v:
|
|
786
|
+
v: u(A)(p.value.xMin),
|
|
793
787
|
s: e.value.style.layout.plots.selectors.labels.suffix,
|
|
794
788
|
r: e.value.style.layout.dataLabels.xAxis.rounding
|
|
795
789
|
})
|
|
796
|
-
)), 9,
|
|
790
|
+
)), 9, wl),
|
|
797
791
|
d("text", {
|
|
798
|
-
x:
|
|
792
|
+
x: n.value.right + 3,
|
|
799
793
|
y: f.value.y + e.value.style.layout.dataLabels.xAxis.fontSize / 3,
|
|
800
794
|
"text-anchor": "start",
|
|
801
795
|
"font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
|
|
802
796
|
fill: e.value.style.layout.dataLabels.xAxis.color
|
|
803
|
-
}, C(
|
|
797
|
+
}, C(u(R)(
|
|
804
798
|
e.value.style.layout.plots.selectors.labels.x.formatter,
|
|
805
|
-
|
|
806
|
-
|
|
799
|
+
u(A)(p.value.xMax),
|
|
800
|
+
u(W)({
|
|
807
801
|
p: e.value.style.layout.plots.selectors.labels.prefix,
|
|
808
|
-
v:
|
|
802
|
+
v: u(A)(p.value.xMax),
|
|
809
803
|
s: e.value.style.layout.plots.selectors.labels.suffix,
|
|
810
804
|
r: e.value.style.layout.dataLabels.xAxis.rounding
|
|
811
805
|
})
|
|
812
|
-
)), 9,
|
|
806
|
+
)), 9, _l),
|
|
813
807
|
d("text", {
|
|
814
808
|
id: `vue-ui-scatter-xAxis-label-${z.value}`,
|
|
815
|
-
transform: `translate(${e.value.style.layout.dataLabels.xAxis.fontSize * 2}, ${
|
|
809
|
+
transform: `translate(${e.value.style.layout.dataLabels.xAxis.fontSize * 2}, ${n.value.top + n.value.height / 2}), rotate(-90)`,
|
|
816
810
|
"text-anchor": "middle",
|
|
817
811
|
"font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
|
|
818
812
|
"font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
|
|
819
813
|
fill: e.value.style.layout.dataLabels.xAxis.color
|
|
820
|
-
}, C(e.value.style.layout.dataLabels.xAxis.name), 9,
|
|
814
|
+
}, C(e.value.style.layout.dataLabels.xAxis.name), 9, Ml)
|
|
821
815
|
])) : c("", !0),
|
|
822
|
-
e.value.style.layout.dataLabels.yAxis.show ? (o(),
|
|
816
|
+
e.value.style.layout.dataLabels.yAxis.show ? (o(), i("g", $l, [
|
|
823
817
|
d("text", {
|
|
824
818
|
x: f.value.x,
|
|
825
|
-
y:
|
|
819
|
+
y: n.value.bottom + e.value.style.layout.dataLabels.yAxis.fontSize + 3,
|
|
826
820
|
"text-anchor": "middle",
|
|
827
821
|
"font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
|
|
828
822
|
fill: e.value.style.layout.dataLabels.yAxis.color
|
|
829
|
-
}, C(
|
|
823
|
+
}, C(u(R)(
|
|
830
824
|
e.value.style.layout.plots.selectors.labels.y.formatter,
|
|
831
|
-
|
|
832
|
-
|
|
825
|
+
u(A)(p.value.yMin),
|
|
826
|
+
u(W)({
|
|
833
827
|
p: e.value.style.layout.plots.selectors.labels.prefix,
|
|
834
|
-
v:
|
|
828
|
+
v: u(A)(p.value.yMin),
|
|
835
829
|
s: e.value.style.layout.plots.selectors.labels.suffix,
|
|
836
830
|
r: e.value.style.layout.dataLabels.yAxis.rounding
|
|
837
831
|
})
|
|
838
|
-
)), 9,
|
|
832
|
+
)), 9, Cl),
|
|
839
833
|
d("text", {
|
|
840
834
|
x: f.value.x,
|
|
841
|
-
y:
|
|
835
|
+
y: n.value.top - e.value.style.layout.dataLabels.yAxis.fontSize / 2,
|
|
842
836
|
"text-anchor": "middle",
|
|
843
837
|
"font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
|
|
844
838
|
fill: e.value.style.layout.dataLabels.yAxis.color
|
|
845
|
-
}, C(
|
|
839
|
+
}, C(u(R)(
|
|
846
840
|
e.value.style.layout.plots.selectors.labels.y.formatter,
|
|
847
|
-
|
|
848
|
-
|
|
841
|
+
u(A)(p.value.yMax),
|
|
842
|
+
u(W)({
|
|
849
843
|
p: e.value.style.layout.plots.selectors.labels.prefix,
|
|
850
|
-
v:
|
|
844
|
+
v: u(A)(p.value.yMax),
|
|
851
845
|
s: e.value.style.layout.plots.selectors.labels.suffix,
|
|
852
846
|
r: e.value.style.layout.dataLabels.yAxis.rounding
|
|
853
847
|
})
|
|
854
|
-
)), 9,
|
|
848
|
+
)), 9, Al),
|
|
855
849
|
d("text", {
|
|
856
850
|
"text-anchor": "middle",
|
|
857
851
|
"font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
|
|
858
852
|
"font-weight": e.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal",
|
|
859
853
|
fill: e.value.style.layout.dataLabels.yAxis.color,
|
|
860
|
-
x:
|
|
861
|
-
y:
|
|
862
|
-
}, C(e.value.style.layout.dataLabels.yAxis.name), 9,
|
|
854
|
+
x: n.value.left + n.value.width / 2,
|
|
855
|
+
y: n.value.bottom + 8 + e.value.style.layout.dataLabels.yAxis.fontSize * 2
|
|
856
|
+
}, C(e.value.style.layout.dataLabels.yAxis.name), 9, zl)
|
|
863
857
|
])) : c("", !0),
|
|
864
858
|
d("clipPath", {
|
|
865
859
|
id: `clip_path_${z.value}`
|
|
866
860
|
}, [
|
|
867
861
|
d("rect", {
|
|
868
|
-
x:
|
|
869
|
-
y:
|
|
870
|
-
width:
|
|
871
|
-
height:
|
|
872
|
-
}, null, 8,
|
|
873
|
-
], 8,
|
|
874
|
-
e.value.style.layout.correlation.show ? (o(),
|
|
875
|
-
(o(!0),
|
|
862
|
+
x: n.value.left,
|
|
863
|
+
y: n.value.top,
|
|
864
|
+
width: n.value.width <= 0 ? 1e-4 : n.value.width,
|
|
865
|
+
height: n.value.height <= 0 ? 1e-4 : n.value.height
|
|
866
|
+
}, null, 8, Tl)
|
|
867
|
+
], 8, Sl),
|
|
868
|
+
e.value.style.layout.correlation.show ? (o(), i("g", Ll, [
|
|
869
|
+
(o(!0), i(P, null, X(S.value, (l, s) => (o(), i("line", {
|
|
876
870
|
x1: l.correlation.x1,
|
|
877
871
|
x2: l.correlation.x2,
|
|
878
872
|
y1: l.correlation.y1,
|
|
@@ -881,27 +875,27 @@ const Xt = ["id"], Yt = ["xmlns", "viewBox"], Dt = ["width", "height"], jt = { k
|
|
|
881
875
|
stroke: l.color,
|
|
882
876
|
"stroke-width": e.value.style.layout.correlation.strokeWidth,
|
|
883
877
|
"clip-path": `url(#clip_path_${z.value})`
|
|
884
|
-
}, null, 8,
|
|
885
|
-
(o(!0),
|
|
886
|
-
e.value.style.layout.correlation.label.show ? (o(),
|
|
878
|
+
}, null, 8, Bl))), 256)),
|
|
879
|
+
(o(!0), i(P, null, X(S.value, (l, s) => (o(), i("g", null, [
|
|
880
|
+
e.value.style.layout.correlation.label.show ? (o(), i("text", {
|
|
887
881
|
key: 0,
|
|
888
882
|
x: l.label.x,
|
|
889
883
|
y: l.label.y,
|
|
890
884
|
fill: e.value.style.layout.correlation.label.useSerieColor ? l.color : e.value.style.layout.correlation.label.color,
|
|
891
885
|
"font-size": e.value.style.layout.correlation.label.fontSize,
|
|
892
886
|
"font-weight": e.value.style.layout.correlation.label.bold ? "bold" : "normal"
|
|
893
|
-
}, C(
|
|
894
|
-
v:
|
|
887
|
+
}, C(u(W)({
|
|
888
|
+
v: u(A)(l.correlation.coefficient),
|
|
895
889
|
r: e.value.style.layout.correlation.label.roundingValue
|
|
896
|
-
})), 9,
|
|
890
|
+
})), 9, Ol)) : c("", !0)
|
|
897
891
|
]))), 256))
|
|
898
892
|
])) : c("", !0),
|
|
899
|
-
|
|
900
|
-
], 14,
|
|
901
|
-
t.$slots.watermark ? (o(),
|
|
902
|
-
|
|
893
|
+
M(t.$slots, "svg", { svg: b.value }, void 0, !0)
|
|
894
|
+
], 14, jt)) : c("", !0),
|
|
895
|
+
t.$slots.watermark ? (o(), i("div", Nl, [
|
|
896
|
+
M(t.$slots, "watermark", ee(te({ isPrinting: u(Oe) || u(Ne) })), void 0, !0)
|
|
903
897
|
])) : c("", !0),
|
|
904
|
-
|
|
898
|
+
ae.value ? c("", !0) : (o(), j(u(at), {
|
|
905
899
|
key: 6,
|
|
906
900
|
config: {
|
|
907
901
|
type: "quadrant",
|
|
@@ -921,36 +915,36 @@ const Xt = ["id"], Yt = ["xmlns", "viewBox"], Dt = ["width", "height"], jt = { k
|
|
|
921
915
|
}, null, 8, ["config"])),
|
|
922
916
|
d("div", {
|
|
923
917
|
ref_key: "chartLegend",
|
|
924
|
-
ref:
|
|
918
|
+
ref: we
|
|
925
919
|
}, [
|
|
926
|
-
e.value.style.legend.show ? (o(), j(
|
|
927
|
-
key: `legend_${
|
|
928
|
-
legendSet:
|
|
929
|
-
config:
|
|
930
|
-
onClickMarker:
|
|
920
|
+
e.value.style.legend.show ? (o(), j(Xt, {
|
|
921
|
+
key: `legend_${Ae.value}`,
|
|
922
|
+
legendSet: E.value,
|
|
923
|
+
config: nt.value,
|
|
924
|
+
onClickMarker: r[0] || (r[0] = ({ legend: l }) => Ve(l.id))
|
|
931
925
|
}, {
|
|
932
926
|
item: _(({ legend: l }) => [
|
|
933
927
|
d("div", {
|
|
934
928
|
onClick: (s) => l.segregate(),
|
|
935
|
-
style:
|
|
936
|
-
}, C(l.name), 13,
|
|
929
|
+
style: V(`opacity:${m.value.includes(l.id) ? 0.5 : 1}`)
|
|
930
|
+
}, C(l.name), 13, Pl)
|
|
937
931
|
]),
|
|
938
932
|
_: 1
|
|
939
|
-
}, 8, ["legendSet", "config"])) :
|
|
933
|
+
}, 8, ["legendSet", "config"])) : M(t.$slots, "legend", {
|
|
940
934
|
key: 1,
|
|
941
|
-
legend:
|
|
935
|
+
legend: E.value
|
|
942
936
|
}, void 0, !0)
|
|
943
937
|
], 512),
|
|
944
|
-
t.$slots.source ? (o(),
|
|
938
|
+
t.$slots.source ? (o(), i("div", {
|
|
945
939
|
key: 7,
|
|
946
940
|
ref_key: "source",
|
|
947
|
-
ref:
|
|
941
|
+
ref: _e,
|
|
948
942
|
dir: "auto"
|
|
949
943
|
}, [
|
|
950
|
-
|
|
944
|
+
M(t.$slots, "source", {}, void 0, !0)
|
|
951
945
|
], 512)) : c("", !0),
|
|
952
|
-
|
|
953
|
-
show: B.value.showTooltip &&
|
|
946
|
+
ge(u(ot), {
|
|
947
|
+
show: B.value.showTooltip && ie.value,
|
|
954
948
|
backgroundColor: e.value.style.tooltip.backgroundColor,
|
|
955
949
|
color: e.value.style.tooltip.color,
|
|
956
950
|
borderRadius: e.value.style.tooltip.borderRadius,
|
|
@@ -960,21 +954,21 @@ const Xt = ["id"], Yt = ["xmlns", "viewBox"], Dt = ["width", "height"], jt = { k
|
|
|
960
954
|
backgroundOpacity: e.value.style.tooltip.backgroundOpacity,
|
|
961
955
|
position: e.value.style.tooltip.position,
|
|
962
956
|
offsetY: e.value.style.tooltip.offsetY,
|
|
963
|
-
parent:
|
|
964
|
-
content:
|
|
965
|
-
isFullscreen:
|
|
957
|
+
parent: le.value,
|
|
958
|
+
content: ne.value,
|
|
959
|
+
isFullscreen: Q.value,
|
|
966
960
|
isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function"
|
|
967
961
|
}, {
|
|
968
962
|
"tooltip-before": _(() => [
|
|
969
|
-
|
|
963
|
+
M(t.$slots, "tooltip-before", ee(te({ ...ce.value })), void 0, !0)
|
|
970
964
|
]),
|
|
971
965
|
"tooltip-after": _(() => [
|
|
972
|
-
|
|
966
|
+
M(t.$slots, "tooltip-after", ee(te({ ...ce.value })), void 0, !0)
|
|
973
967
|
]),
|
|
974
968
|
default: _(() => [
|
|
975
|
-
e.value.style.tooltip.showShape ? (o(),
|
|
976
|
-
(o(),
|
|
977
|
-
|
|
969
|
+
e.value.style.tooltip.showShape ? (o(), i("div", Wl, [
|
|
970
|
+
(o(), i("svg", Fl, [
|
|
971
|
+
ge(Je, {
|
|
978
972
|
shape: y.value.shape,
|
|
979
973
|
color: y.value.color,
|
|
980
974
|
plot: { x: 10, y: 10 },
|
|
@@ -985,7 +979,7 @@ const Xt = ["id"], Yt = ["xmlns", "viewBox"], Dt = ["width", "height"], jt = { k
|
|
|
985
979
|
]),
|
|
986
980
|
_: 3
|
|
987
981
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
|
|
988
|
-
|
|
982
|
+
ae.value ? (o(), j(u(Ze), {
|
|
989
983
|
key: 8,
|
|
990
984
|
hideDetails: "",
|
|
991
985
|
config: {
|
|
@@ -1002,34 +996,34 @@ const Xt = ["id"], Yt = ["xmlns", "viewBox"], Dt = ["width", "height"], jt = { k
|
|
|
1002
996
|
}
|
|
1003
997
|
}, {
|
|
1004
998
|
content: _(() => [
|
|
1005
|
-
(o(), j(
|
|
1006
|
-
key: `table_${
|
|
1007
|
-
colNames:
|
|
1008
|
-
head:
|
|
1009
|
-
body:
|
|
1010
|
-
config:
|
|
999
|
+
(o(), j(u(et), {
|
|
1000
|
+
key: `table_${Ce.value}`,
|
|
1001
|
+
colNames: se.value.colNames,
|
|
1002
|
+
head: se.value.head,
|
|
1003
|
+
body: se.value.body,
|
|
1004
|
+
config: se.value.config,
|
|
1011
1005
|
title: `${e.value.style.title.text}${e.value.style.title.subtitle.text ? ` : ${e.value.style.title.subtitle.text}` : ""}`,
|
|
1012
|
-
onClose:
|
|
1006
|
+
onClose: r[1] || (r[1] = (l) => B.value.showTable = !1)
|
|
1013
1007
|
}, {
|
|
1014
1008
|
th: _(({ th: l }) => [
|
|
1015
|
-
|
|
1009
|
+
gt(C(l), 1)
|
|
1016
1010
|
]),
|
|
1017
1011
|
td: _(({ td: l }) => [
|
|
1018
|
-
l.shape ? (o(),
|
|
1012
|
+
l.shape ? (o(), i("div", Il, [
|
|
1019
1013
|
d("span", null, C(l.content), 1)
|
|
1020
|
-
])) : (o(),
|
|
1014
|
+
])) : (o(), i("div", {
|
|
1021
1015
|
key: 1,
|
|
1022
1016
|
innerHTML: l
|
|
1023
|
-
}, null, 8,
|
|
1017
|
+
}, null, 8, Xl))
|
|
1024
1018
|
]),
|
|
1025
1019
|
_: 1
|
|
1026
1020
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
1027
1021
|
]),
|
|
1028
1022
|
_: 1
|
|
1029
1023
|
}, 8, ["config"])) : c("", !0)
|
|
1030
|
-
], 46,
|
|
1024
|
+
], 46, Vt));
|
|
1031
1025
|
}
|
|
1032
|
-
},
|
|
1026
|
+
}, Ql = /* @__PURE__ */ Dt(Yl, [["__scopeId", "data-v-bebdc534"]]);
|
|
1033
1027
|
export {
|
|
1034
|
-
|
|
1028
|
+
Ql as default
|
|
1035
1029
|
};
|