vue-data-ui 2.12.6 → 2.12.7-beta.0
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-CmqjRRUl.js} +1 -1
- package/dist/BaseDraggableDialog-BMlyvt7E.js +180 -0
- package/dist/{BaseIcon-CNbwMh_-.js → BaseIcon-CZdMutjs.js} +1 -1
- package/dist/{ColorPicker-B_FoQwtO.js → ColorPicker-DvVKgyAl.js} +23 -24
- package/dist/{DataTable-Rajdtaf6.js → DataTable-Cv9CIz-a.js} +11 -11
- package/dist/{Legend-BxtDQCIv.js → Legend-DFunFf8i.js} +8 -8
- package/dist/NonSvgPenAndPaper-pVuHj6_A.js +467 -0
- package/dist/PackageVersion-CLY-udAA.js +10 -0
- package/dist/{PenAndPaper-BkP3J-Ft.js → PenAndPaper-B9na2mbr.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-D3w9qas1.js} +2 -2
- package/dist/{Slicer-7qFdY-bT.js → Slicer-ncY8krrM.js} +2 -2
- package/dist/SparkTooltip-CwThutH2.js +68 -0
- package/dist/{Title-CzaCeCOm.js → Title-B5qqUI3M.js} +2 -2
- package/dist/Tooltip-C9rxJ-Ru.js +149 -0
- package/dist/{usePrinter-C5bLp34h.js → UserOptions-Ddy6CuLC.js} +172 -231
- package/dist/{dom-to-png-Bm0D0yPL.js → dom-to-png-DDlooC9r.js} +1 -1
- package/dist/{img-BN9AzqUr.js → img-m9g7lR5d.js} +1 -1
- package/dist/{index-BFzQMJda.js → index-BiHmNd1-.js} +21 -21
- package/dist/{pdf-uTbs813M.js → pdf-BqM953uL.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-tRqS0ZAM.js} +1 -1
- package/dist/{usePanZoom-CUkkqW81.js → usePanZoom-BQMvRXEQ.js} +16 -17
- package/dist/usePrinter-CRCbl1WG.js +53 -0
- package/dist/vClickOutside-C6WiFswA.js +13 -0
- package/dist/{vue-data-ui-D1k8FeRp.js → vue-data-ui-D9uTDt73.js} +63 -63
- package/dist/vue-data-ui.js +19 -19
- package/dist/{vue-ui-3d-bar-DoklA4DT.js → vue-ui-3d-bar-rtuSc8FS.js} +397 -402
- package/dist/{vue-ui-accordion-BUz4JIIX.js → vue-ui-accordion-CmCs2yR2.js} +3 -3
- package/dist/{vue-ui-age-pyramid-4kyBq-Dy.js → vue-ui-age-pyramid-BrzMSiyu.js} +215 -218
- package/dist/{vue-ui-annotator-Bq1ZeFfb.js → vue-ui-annotator-CYxmTpf6.js} +2 -2
- package/dist/{vue-ui-bullet-DU10avvA.js → vue-ui-bullet-D25qNQfb.js} +137 -140
- package/dist/{vue-ui-candlestick-BI1t3flz.js → vue-ui-candlestick-BuerNa-r.js} +265 -271
- package/dist/{vue-ui-carousel-table-VowLf_oc.js → vue-ui-carousel-table-aN0HLsOO.js} +137 -137
- package/dist/{vue-ui-chestnut-BHjV3d94.js → vue-ui-chestnut-oUj2ocsZ.js} +397 -400
- package/dist/{vue-ui-chord-CPr7r-2_.js → vue-ui-chord-C4evlXYB.js} +356 -365
- package/dist/vue-ui-circle-pack-CWrNiKTY.js +656 -0
- package/dist/{vue-ui-cursor-C9teAbVI.js → vue-ui-cursor-DgpSttlt.js} +2 -2
- package/dist/{vue-ui-dashboard-CwDYB8tP.js → vue-ui-dashboard-BN2ha1Eh.js} +62 -62
- package/dist/{vue-ui-digits-CHmkL0hn.js → vue-ui-digits-BhjAxXgm.js} +2 -2
- package/dist/vue-ui-donut-D3_z61HI.js +1291 -0
- package/dist/vue-ui-donut-evolution-oKtmZPx4.js +864 -0
- package/dist/{vue-ui-dumbbell-DTKLLd1N.js → vue-ui-dumbbell-C8Lokx-F.js} +265 -270
- package/dist/{vue-ui-flow-BLBhsU2n.js → vue-ui-flow-BVRkH0PS.js} +291 -300
- package/dist/{vue-ui-funnel-CIrWdeBk.js → vue-ui-funnel-DFxcmAB5.js} +216 -219
- package/dist/{vue-ui-galaxy-ByhKyIV4.js → vue-ui-galaxy-CGE0hlBC.js} +227 -235
- package/dist/{vue-ui-gauge-BbfBMpng.js → vue-ui-gauge-B48eMvOR.js} +240 -243
- package/dist/{vue-ui-gizmo-BM-_QfHM.js → vue-ui-gizmo-zTKNpjvv.js} +57 -58
- package/dist/{vue-ui-heatmap-BA4z4hsw.js → vue-ui-heatmap-UNfTt8SM.js} +239 -242
- package/dist/{vue-ui-history-plot-8vM_IUy8.js → vue-ui-history-plot-CbCWmvtg.js} +257 -262
- package/dist/{vue-ui-kpi-D57QLK6A.js → vue-ui-kpi-Drf_lrlh.js} +29 -30
- package/dist/{vue-ui-mini-loader-CR4c-xJQ.js → vue-ui-mini-loader-DU3G6BVs.js} +2 -2
- package/dist/vue-ui-molecule-B5MOXYEA.js +580 -0
- package/dist/{vue-ui-mood-radar-Brc9cxoD.js → vue-ui-mood-radar-CC_CVLvn.js} +180 -186
- package/dist/{vue-ui-nested-donuts-W3Z5F--L.js → vue-ui-nested-donuts-D_H962kk.js} +366 -374
- package/dist/{vue-ui-onion-BNBlGNlF.js → vue-ui-onion-P8k6T724.js} +252 -258
- package/dist/{vue-ui-parallel-coordinate-plot-B5G3jyvg.js → vue-ui-parallel-coordinate-plot-B5Los0vX.js} +296 -303
- package/dist/{vue-ui-quadrant-CUy9mVIA.js → vue-ui-quadrant-B3wzCTxK.js} +402 -409
- package/dist/{vue-ui-quick-chart-D4_8mRXU.js → vue-ui-quick-chart-oucj6hXk.js} +611 -616
- package/dist/{vue-ui-radar-BUk56jGL.js → vue-ui-radar-Cjqlyu6d.js} +270 -277
- package/dist/{vue-ui-rating-B9TQl5KP.js → vue-ui-rating-gryk_h_6.js} +2 -2
- package/dist/vue-ui-relation-circle-ielvWC-1.js +525 -0
- package/dist/{vue-ui-ridgeline-Cl06bGom.js → vue-ui-ridgeline-Dydqo68b.js} +321 -326
- package/dist/{vue-ui-rings-B6bpFlFp.js → vue-ui-rings-BRBXektJ.js} +262 -269
- package/dist/{vue-ui-scatter--WUuVw5G.js → vue-ui-scatter-Df-BM7Ts.js} +372 -379
- package/dist/{vue-ui-skeleton-B_YI7Yuc.js → vue-ui-skeleton-CbYQYRvD.js} +19 -19
- package/dist/{vue-ui-smiley-Bbam2fDz.js → vue-ui-smiley-BfHaQMaW.js} +2 -2
- package/dist/{vue-ui-spark-trend-DavXuwGt.js → vue-ui-spark-trend-z3fUChs_.js} +114 -117
- package/dist/{vue-ui-sparkbar-9N1FU9-J.js → vue-ui-sparkbar-ChtFIugH.js} +104 -106
- package/dist/{vue-ui-sparkgauge-_9ntq4EK.js → vue-ui-sparkgauge-DtpODCww.js} +72 -74
- package/dist/{vue-ui-sparkhistogram-BEzOV4HV.js → vue-ui-sparkhistogram-C3XnYiXI.js} +83 -86
- package/dist/vue-ui-sparkline-CoL8jiX8.js +459 -0
- package/dist/{vue-ui-sparkstackbar-BSWcs3v0.js → vue-ui-sparkstackbar-CYk3mZJH.js} +102 -105
- package/dist/{vue-ui-stackbar-gG5BLlAr.js → vue-ui-stackbar-D9LGbuG5.js} +433 -437
- package/dist/{vue-ui-strip-plot-BJouRmxh.js → vue-ui-strip-plot-C5r1Ee2R.js} +245 -252
- package/dist/{vue-ui-table-D9Ry8s4N.js → vue-ui-table-DBaT_TfA.js} +3 -3
- package/dist/{vue-ui-table-heatmap-Bizzpi31.js → vue-ui-table-heatmap-CYW4YfKN.js} +93 -94
- package/dist/{vue-ui-table-sparkline-Dg54Ovs2.js → vue-ui-table-sparkline-Di0MYR4p.js} +212 -212
- package/dist/{vue-ui-thermometer-6MSdF_Gm.js → vue-ui-thermometer-BF1btHY2.js} +154 -157
- package/dist/{vue-ui-timer-ByaKokk8.js → vue-ui-timer-D9FfRWN5.js} +180 -181
- package/dist/vue-ui-tiremarks-CQ0lk8fJ.js +341 -0
- package/dist/vue-ui-treemap-1Lx7YRtc.js +947 -0
- package/dist/{vue-ui-vertical-bar-CE4oBwBv.js → vue-ui-vertical-bar-DdVVQ1ED.js} +397 -403
- package/dist/{vue-ui-waffle-DNEEnY_G.js → vue-ui-waffle-BhnuPiRD.js} +317 -324
- package/dist/vue-ui-wheel-BIjJ0fg8.js +335 -0
- package/dist/vue-ui-word-cloud-3-r8HwO_.js +642 -0
- package/dist/{vue-ui-world-Brhq17TE.js → vue-ui-world-CPIGEswq.js} +430 -442
- package/dist/{vue-ui-xy-K2G7QQxG.js → vue-ui-xy-9e_epIN4.js} +845 -846
- package/dist/vue-ui-xy-canvas-DcGgQ7s4.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,24 +1,17 @@
|
|
|
1
|
-
import { computed as
|
|
2
|
-
import { u as
|
|
3
|
-
import { t as
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
|
|
12
|
-
import { u as Ne } from "./useNestedProp-v7KPpwuP.js";
|
|
13
|
-
import { _ as Ct } from "./PackageVersion-BjrblLPQ.js";
|
|
14
|
-
import { _ as At } from "./PenAndPaper-BkP3J-Ft.js";
|
|
15
|
-
import { u as Tt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
16
|
-
import { u as _t } from "./useChartAccessibility-BWojgys7.js";
|
|
17
|
-
import { _ as Mt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
18
|
-
const zt = ["id"], It = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"], Pt = { style: { "pointer-events": "none" } }, Nt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ot = ["x", "y", "fill", "font-size", "font-weight"], Lt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], St = ["x", "y", "fill", "font-size", "font-weight"], Dt = { key: 0 }, Rt = ["x", "y", "font-size", "fill"], Ut = ["width", "x", "y"], Vt = { style: { width: "100%" } }, Wt = ["x", "y", "fill", "font-weight", "font-size", "onMouseenter"], Et = ["d", "stroke", "stroke-width", "onMouseenter"], jt = ["d", "onMouseenter"], Bt = {
|
|
1
|
+
import { defineAsyncComponent as F, computed as x, ref as d, watch as ot, shallowRef as Fe, onMounted as st, onBeforeUnmount as nt, createElementBlock as i, openBlock as u, unref as c, normalizeStyle as T, normalizeClass as j, createBlock as P, createCommentVNode as m, createElementVNode as N, createVNode as Pe, createSlots as ut, withCtx as k, renderSlot as g, normalizeProps as V, guardReactiveProps as E, Fragment as C, renderList as _, toDisplayString as U, createTextVNode as it } from "vue";
|
|
2
|
+
import { u as rt, c as ae, t as ct, p as X, a as vt, o as dt, e as _e, g as ht, b as pt, d as yt, D as mt, T as ft, U as gt, V as bt, X as xt, x as Ne, F as Y, q as kt, r as wt, i as Oe, f as Se, y as Ct } from "./index-BiHmNd1-.js";
|
|
3
|
+
import { t as $t, u as At } from "./useResponsive-JZ9xq-JV.js";
|
|
4
|
+
import { u as Le } from "./useNestedProp-tRqS0ZAM.js";
|
|
5
|
+
import { u as Tt } from "./usePrinter-CRCbl1WG.js";
|
|
6
|
+
import { u as Mt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
7
|
+
import { u as zt } from "./useChartAccessibility-9icAAmYg.js";
|
|
8
|
+
import It from "./Title-B5qqUI3M.js";
|
|
9
|
+
import Ft from "./Legend-DFunFf8i.js";
|
|
10
|
+
import { _ as Pt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
11
|
+
const _t = ["id"], Nt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"], St = { style: { "pointer-events": "none" } }, Lt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Dt = ["x", "y", "fill", "font-size", "font-weight"], Rt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Vt = ["x", "y", "fill", "font-size", "font-weight"], Et = { key: 0 }, Ut = ["x", "y", "font-size", "fill"], Wt = ["width", "x", "y"], jt = { style: { width: "100%" } }, Bt = ["x", "y", "fill", "font-weight", "font-size", "onMouseenter"], Ht = ["d", "stroke", "stroke-width", "onMouseenter"], Gt = ["d", "onMouseenter"], Xt = {
|
|
19
12
|
key: 5,
|
|
20
13
|
class: "vue-data-ui-watermark"
|
|
21
|
-
},
|
|
14
|
+
}, Yt = ["onClick"], qt = ["innerHTML"], Jt = {
|
|
22
15
|
__name: "vue-ui-parallel-coordinate-plot",
|
|
23
16
|
props: {
|
|
24
17
|
config: {
|
|
@@ -35,52 +28,52 @@ const zt = ["id"], It = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
|
|
|
35
28
|
}
|
|
36
29
|
},
|
|
37
30
|
emits: ["selectLegend", "selectDatapoint"],
|
|
38
|
-
setup(
|
|
39
|
-
const { vue_ui_parallel_coordinate_plot:
|
|
31
|
+
setup(De, { expose: Re, emit: Ve }) {
|
|
32
|
+
const Ee = F(() => import("./vue-ui-accordion-CmCs2yR2.js")), Ue = F(() => import("./DataTable-Cv9CIz-a.js")), We = F(() => import("./PackageVersion-CLY-udAA.js")), je = F(() => import("./PenAndPaper-B9na2mbr.js")), Be = F(() => import("./Shape-D3w9qas1.js")), He = F(() => import("./vue-ui-skeleton-CbYQYRvD.js")), Ge = F(() => import("./Tooltip-C9rxJ-Ru.js")), Xe = F(() => import("./UserOptions-Ddy6CuLC.js")), { vue_ui_parallel_coordinate_plot: Ye } = rt(), M = De, O = x({
|
|
40
33
|
get() {
|
|
41
|
-
return !!
|
|
34
|
+
return !!M.dataset && M.dataset.length;
|
|
42
35
|
},
|
|
43
36
|
set(t) {
|
|
44
37
|
return t;
|
|
45
38
|
}
|
|
46
|
-
}),
|
|
47
|
-
function
|
|
48
|
-
|
|
39
|
+
}), le = d(0), W = d(null), oe = d(null), se = d(null), ne = d(null), ue = d(null), ie = d(0), re = d(0), ce = d(0), q = d(ae()), S = d(!1);
|
|
40
|
+
function qe(t) {
|
|
41
|
+
S.value = t, le.value += 1;
|
|
49
42
|
}
|
|
50
|
-
const e =
|
|
51
|
-
get: () =>
|
|
43
|
+
const e = x({
|
|
44
|
+
get: () => pe(),
|
|
52
45
|
set: (t) => t
|
|
53
|
-
}), { userOptionsVisible:
|
|
54
|
-
function
|
|
55
|
-
const t =
|
|
56
|
-
userConfig:
|
|
57
|
-
defaultConfig:
|
|
46
|
+
}), { userOptionsVisible: J, setUserOptionsVisibility: ve, keepUserOptionState: de } = Mt({ config: e.value }), { svgRef: he } = zt({ config: e.value.style.chart.title });
|
|
47
|
+
function pe() {
|
|
48
|
+
const t = Le({
|
|
49
|
+
userConfig: M.config,
|
|
50
|
+
defaultConfig: Ye
|
|
58
51
|
});
|
|
59
52
|
return t.theme ? {
|
|
60
|
-
...
|
|
61
|
-
userConfig:
|
|
53
|
+
...Le({
|
|
54
|
+
userConfig: vt.vue_ui_parallel_coordinate_plot[t.theme] || M.config,
|
|
62
55
|
defaultConfig: t
|
|
63
56
|
}),
|
|
64
|
-
customPalette:
|
|
57
|
+
customPalette: ct[t.theme] || X
|
|
65
58
|
} : t;
|
|
66
59
|
}
|
|
67
|
-
|
|
68
|
-
e.value =
|
|
60
|
+
ot(() => M.config, (t) => {
|
|
61
|
+
e.value = pe(), J.value = !e.value.userOptions.showOnChartHover, ye(), ie.value += 1, ce.value += 1, re.value += 1, p.value.dataLabels.show = e.value.style.chart.yAxis.labels.datapoints.show, p.value.showTable = e.value.table.show, p.value.showTooltip = e.value.style.chart.tooltip.show;
|
|
69
62
|
}, { deep: !0 });
|
|
70
|
-
const
|
|
71
|
-
|
|
72
|
-
|
|
63
|
+
const z = Fe(null), L = Fe(null);
|
|
64
|
+
st(() => {
|
|
65
|
+
ye();
|
|
73
66
|
});
|
|
74
|
-
function
|
|
75
|
-
if (
|
|
67
|
+
function ye() {
|
|
68
|
+
if (dt(M.dataset) ? _e({
|
|
76
69
|
componentName: "VueUiParallelCoordinatePlot",
|
|
77
70
|
type: "dataset"
|
|
78
|
-
}) :
|
|
79
|
-
|
|
71
|
+
}) : M.dataset.forEach((t, l) => {
|
|
72
|
+
ht({
|
|
80
73
|
datasetObject: t,
|
|
81
74
|
requiredAttributes: ["name", "series"]
|
|
82
75
|
}).forEach((a) => {
|
|
83
|
-
|
|
76
|
+
O.value = !1, _e({
|
|
84
77
|
componentName: "VueUiParallelCoordinatePlot",
|
|
85
78
|
type: "datasetSerieAttribute",
|
|
86
79
|
property: a,
|
|
@@ -88,34 +81,34 @@ const zt = ["id"], It = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
|
|
|
88
81
|
});
|
|
89
82
|
});
|
|
90
83
|
}), e.value.responsive) {
|
|
91
|
-
const t =
|
|
92
|
-
const { width: l, height: a } =
|
|
93
|
-
chart:
|
|
94
|
-
title: e.value.style.chart.title.text ?
|
|
95
|
-
legend: e.value.style.chart.legend.show ?
|
|
96
|
-
source:
|
|
97
|
-
noTitle:
|
|
84
|
+
const t = $t(() => {
|
|
85
|
+
const { width: l, height: a } = At({
|
|
86
|
+
chart: W.value,
|
|
87
|
+
title: e.value.style.chart.title.text ? oe.value : null,
|
|
88
|
+
legend: e.value.style.chart.legend.show ? se.value : null,
|
|
89
|
+
source: ne.value,
|
|
90
|
+
noTitle: ue.value
|
|
98
91
|
});
|
|
99
92
|
requestAnimationFrame(() => {
|
|
100
|
-
|
|
93
|
+
h.value.width = l, h.value.height = a, h.value.plotSize = Y({
|
|
101
94
|
relator: Math.min(l, a),
|
|
102
95
|
adjuster: 600,
|
|
103
96
|
source: e.value.style.chart.plots.radius,
|
|
104
97
|
threshold: 2,
|
|
105
98
|
fallback: 2
|
|
106
|
-
}),
|
|
99
|
+
}), h.value.ticksFontSize = Y({
|
|
107
100
|
relator: Math.min(l, a),
|
|
108
101
|
adjuster: 600,
|
|
109
102
|
source: e.value.style.chart.yAxis.labels.ticks.fontSize,
|
|
110
103
|
threshold: 10,
|
|
111
104
|
fallback: 10
|
|
112
|
-
}),
|
|
105
|
+
}), h.value.datapointFontSize = Y({
|
|
113
106
|
relator: Math.min(l, a),
|
|
114
107
|
adjuster: 600,
|
|
115
108
|
source: e.value.style.chart.yAxis.labels.datapoints.fontSize,
|
|
116
109
|
threshold: 10,
|
|
117
110
|
fallback: 10
|
|
118
|
-
}),
|
|
111
|
+
}), h.value.axisNameFontSize = Y({
|
|
119
112
|
relator: Math.min(l, a),
|
|
120
113
|
adjuster: 600,
|
|
121
114
|
source: e.value.style.chart.yAxis.labels.axisNamesFontSize,
|
|
@@ -124,17 +117,17 @@ const zt = ["id"], It = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
|
|
|
124
117
|
});
|
|
125
118
|
});
|
|
126
119
|
});
|
|
127
|
-
|
|
120
|
+
z.value && (L.value && z.value.unobserve(L.value), z.value.disconnect()), z.value = new ResizeObserver(t), L.value = W.value.parentNode, z.value.observe(L.value);
|
|
128
121
|
}
|
|
129
122
|
}
|
|
130
|
-
|
|
131
|
-
|
|
123
|
+
nt(() => {
|
|
124
|
+
z.value && (L.value && z.value.unobserve(L.value), z.value.disconnect());
|
|
132
125
|
});
|
|
133
|
-
const { isPrinting:
|
|
134
|
-
elementId: `pcp_${
|
|
126
|
+
const { isPrinting: me, isImaging: fe, generatePdf: ge, generateImage: be } = Tt({
|
|
127
|
+
elementId: `pcp_${q.value}`,
|
|
135
128
|
fileName: e.value.style.chart.title.text || "vue-ui-parallel-coordinate-plot",
|
|
136
129
|
options: e.value.userOptions.print
|
|
137
|
-
}),
|
|
130
|
+
}), Je = x(() => e.value.userOptions.show && !e.value.style.chart.title.text), h = d({
|
|
138
131
|
height: e.value.style.chart.height,
|
|
139
132
|
width: e.value.style.chart.width,
|
|
140
133
|
plotSize: e.value.style.chart.plots.radius,
|
|
@@ -143,8 +136,8 @@ const zt = ["id"], It = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
|
|
|
143
136
|
// ratio 42.85
|
|
144
137
|
datapointFontSize: e.value.style.chart.yAxis.labels.datapoints.fontSize,
|
|
145
138
|
axisNameFontSize: e.value.style.chart.yAxis.labels.axisNamesFontSize
|
|
146
|
-
}),
|
|
147
|
-
const { top: t, right: l, bottom: a, left: o } = e.value.style.chart.padding, n =
|
|
139
|
+
}), v = x(() => {
|
|
140
|
+
const { top: t, right: l, bottom: a, left: o } = e.value.style.chart.padding, n = h.value.height, s = h.value.width;
|
|
148
141
|
return {
|
|
149
142
|
chartHeight: n,
|
|
150
143
|
chartWidth: s,
|
|
@@ -155,53 +148,53 @@ const zt = ["id"], It = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
|
|
|
155
148
|
right: s - l,
|
|
156
149
|
bottom: n - a
|
|
157
150
|
};
|
|
158
|
-
}),
|
|
151
|
+
}), Ke = x(() => pt(e.value.customPalette)), p = d({
|
|
159
152
|
dataLabels: {
|
|
160
153
|
show: e.value.style.chart.yAxis.labels.datapoints.show
|
|
161
154
|
},
|
|
162
155
|
showTable: e.value.table.show,
|
|
163
156
|
showTooltip: e.value.style.chart.tooltip.show
|
|
164
|
-
}),
|
|
165
|
-
function
|
|
166
|
-
|
|
157
|
+
}), $ = d([]);
|
|
158
|
+
function xe(t) {
|
|
159
|
+
$.value.includes(t) ? $.value = $.value.filter((l) => l !== t) : $.value.push(t);
|
|
167
160
|
}
|
|
168
|
-
const
|
|
169
|
-
const a =
|
|
161
|
+
const I = x(() => M.dataset.map((t, l) => {
|
|
162
|
+
const a = yt(t.color) || Ke.value[l] || X[l] || X[l % X.length];
|
|
170
163
|
return {
|
|
171
164
|
...t,
|
|
172
165
|
series: t.series.map((o) => ({
|
|
173
166
|
...o,
|
|
174
|
-
id:
|
|
167
|
+
id: ae(),
|
|
175
168
|
color: a
|
|
176
169
|
})),
|
|
177
170
|
seriesIndex: l,
|
|
178
171
|
color: a,
|
|
179
|
-
id:
|
|
172
|
+
id: ae(),
|
|
180
173
|
shape: t.shape || "circle"
|
|
181
174
|
};
|
|
182
|
-
})),
|
|
175
|
+
})), Qe = x(() => I.value.map((t) => ({
|
|
183
176
|
...t,
|
|
184
|
-
opacity:
|
|
185
|
-
segregate: () =>
|
|
186
|
-
isSegregated:
|
|
187
|
-
}))),
|
|
177
|
+
opacity: $.value.includes(t.id) ? 0.5 : 1,
|
|
178
|
+
segregate: () => xe(t.id),
|
|
179
|
+
isSegregated: $.value.includes(t.id)
|
|
180
|
+
}))), Ze = x(() => ({
|
|
188
181
|
cy: "pcp-div-legend",
|
|
189
182
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
190
183
|
color: e.value.style.chart.legend.color,
|
|
191
184
|
fontSize: e.value.style.chart.legend.fontSize,
|
|
192
185
|
paddingBottom: 12,
|
|
193
186
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
194
|
-
})),
|
|
195
|
-
...
|
|
196
|
-
)), w =
|
|
187
|
+
})), ke = x(() => Math.max(
|
|
188
|
+
...I.value.filter((t) => !$.value.includes(t.id)).map((t) => Math.max(...t.series.flatMap((l) => l.values.length)))
|
|
189
|
+
)), w = x(() => v.value.width / ke.value), K = x(() => I.value.filter((t) => !$.value.includes(t.id))), b = x(() => {
|
|
197
190
|
let t = [];
|
|
198
|
-
for (let l = 0; l <
|
|
199
|
-
const a = Math.min(...
|
|
200
|
-
const
|
|
191
|
+
for (let l = 0; l < ke.value; l += 1) {
|
|
192
|
+
const a = Math.min(...K.value.flatMap((y) => y.series.map((G) => G.values[l] || 0) || 0)), o = Math.max(...K.value.flatMap((y) => y.series.map((G) => G.values[l] || 0) || 0)), n = o === a ? a / 4 : a, s = o === a ? o * 2 : o, r = mt(n, s, e.value.style.chart.yAxis.scaleTicks), A = r.ticks.map((y, G) => {
|
|
193
|
+
const at = r.min < 0 ? y + Math.abs(r.min) : y - Math.abs(r.min), lt = r.min < 0 ? r.max + Math.abs(r.min) : r.max - Math.abs(r.min);
|
|
201
194
|
return {
|
|
202
|
-
y:
|
|
203
|
-
x:
|
|
204
|
-
value:
|
|
195
|
+
y: v.value.bottom - v.value.height * (at / lt),
|
|
196
|
+
x: v.value.left + w.value * l + w.value / 2,
|
|
197
|
+
value: y
|
|
205
198
|
};
|
|
206
199
|
});
|
|
207
200
|
t.push({
|
|
@@ -211,12 +204,12 @@ const zt = ["id"], It = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
|
|
|
211
204
|
});
|
|
212
205
|
}
|
|
213
206
|
return t;
|
|
214
|
-
}),
|
|
207
|
+
}), Q = x(() => K.value.map((t, l) => ({
|
|
215
208
|
...t,
|
|
216
209
|
series: t.series.map((a, o) => ({
|
|
217
210
|
...a,
|
|
218
211
|
datapoints: a.values.map((n, s) => {
|
|
219
|
-
const r =
|
|
212
|
+
const r = b.value[s].scale.min < 0 ? (n || 0) + Math.abs(b.value[s].scale.min) : (n || 0) - Math.abs(b.value[s].scale.min), A = b.value[s].scale.min < 0 ? b.value[s].scale.max + Math.abs(b.value[s].scale.min) : b.value[s].scale.max - Math.abs(b.value[s].scale.min);
|
|
220
213
|
return {
|
|
221
214
|
name: a.name,
|
|
222
215
|
seriesName: t.name,
|
|
@@ -224,8 +217,8 @@ const zt = ["id"], It = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
|
|
|
224
217
|
datapointIndex: o,
|
|
225
218
|
seriesIndex: l,
|
|
226
219
|
value: n || 0,
|
|
227
|
-
x:
|
|
228
|
-
y:
|
|
220
|
+
x: v.value.left + w.value * s + w.value / 2,
|
|
221
|
+
y: v.value.bottom - v.value.height * (r / A),
|
|
229
222
|
comment: a.comments && a.comments[s] || ""
|
|
230
223
|
};
|
|
231
224
|
})
|
|
@@ -233,7 +226,7 @@ const zt = ["id"], It = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
|
|
|
233
226
|
})).map((t) => ({
|
|
234
227
|
...t,
|
|
235
228
|
series: t.series.map((l) => {
|
|
236
|
-
const a =
|
|
229
|
+
const a = ft(l.datapoints), o = gt(l.datapoints), n = bt(e.value.style.chart.lines.smooth ? `M ${o}` : `M ${a}`);
|
|
237
230
|
return {
|
|
238
231
|
...l,
|
|
239
232
|
smoothPath: o,
|
|
@@ -242,11 +235,11 @@ const zt = ["id"], It = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
|
|
|
242
235
|
};
|
|
243
236
|
})
|
|
244
237
|
})));
|
|
245
|
-
function
|
|
246
|
-
return
|
|
238
|
+
function we({ value: t, index: l, datapoint: a }) {
|
|
239
|
+
return Oe(
|
|
247
240
|
e.value.style.chart.yAxis.labels.formatters[l] || null,
|
|
248
241
|
t,
|
|
249
|
-
|
|
242
|
+
Se({
|
|
250
243
|
p: e.value.style.chart.yAxis.labels.prefixes[l] || "",
|
|
251
244
|
v: t,
|
|
252
245
|
s: e.value.style.chart.yAxis.labels.suffixes[l] || "",
|
|
@@ -255,49 +248,49 @@ const zt = ["id"], It = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
|
|
|
255
248
|
{ datapoint: a, seriesIndex: l }
|
|
256
249
|
);
|
|
257
250
|
}
|
|
258
|
-
const
|
|
259
|
-
function
|
|
260
|
-
|
|
251
|
+
const f = d(null), Z = d(null), D = d(!1), ee = d("");
|
|
252
|
+
function B({ shape: t, serieName: l, serie: a, relativeIndex: o, seriesIndex: n }) {
|
|
253
|
+
Z.value = { serie: a, relativeIndex: o, seriesIndex: n, series: I.value, scales: b.value }, D.value = !0, f.value = a.id;
|
|
261
254
|
let s = "";
|
|
262
255
|
const r = e.value.style.chart.tooltip.customFormat;
|
|
263
|
-
|
|
256
|
+
Ne(r) && Ct(() => r({
|
|
264
257
|
serie: a,
|
|
265
258
|
seriesIndex: a.seriesIndex,
|
|
266
|
-
series:
|
|
259
|
+
series: I.value,
|
|
267
260
|
config: e.value,
|
|
268
|
-
scales:
|
|
269
|
-
})) ?
|
|
261
|
+
scales: b.value
|
|
262
|
+
})) ? ee.value = r({
|
|
270
263
|
serie: a,
|
|
271
264
|
seriesIndex: a.seriesIndex,
|
|
272
|
-
series:
|
|
265
|
+
series: I.value,
|
|
273
266
|
config: e.value,
|
|
274
|
-
scales:
|
|
275
|
-
}) : (s += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${l ? l + " - " : ""}${a.name}</div>`,
|
|
267
|
+
scales: b.value
|
|
268
|
+
}) : (s += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${l ? l + " - " : ""}${a.name}</div>`, b.value.map((A) => A.name).forEach((A, y) => {
|
|
276
269
|
s += `
|
|
277
270
|
<div class="vue-ui-tooltip-item" style="text-align:left">
|
|
278
271
|
<span>${A}: </span>
|
|
279
272
|
<span>
|
|
280
|
-
${
|
|
281
|
-
e.value.style.chart.yAxis.labels.formatters[
|
|
282
|
-
a.datapoints[
|
|
283
|
-
|
|
284
|
-
p: e.value.style.chart.yAxis.labels.prefixes[
|
|
285
|
-
v: a.datapoints[
|
|
286
|
-
s: e.value.style.chart.yAxis.labels.suffixes[
|
|
287
|
-
r: e.value.style.chart.yAxis.labels.roundings[
|
|
273
|
+
${Oe(
|
|
274
|
+
e.value.style.chart.yAxis.labels.formatters[y] || null,
|
|
275
|
+
a.datapoints[y].value,
|
|
276
|
+
Se({
|
|
277
|
+
p: e.value.style.chart.yAxis.labels.prefixes[y] || "",
|
|
278
|
+
v: a.datapoints[y].value,
|
|
279
|
+
s: e.value.style.chart.yAxis.labels.suffixes[y] || "",
|
|
280
|
+
r: e.value.style.chart.yAxis.labels.roundings[y] || ""
|
|
288
281
|
}),
|
|
289
|
-
{ datapoint: a.datapoints[
|
|
282
|
+
{ datapoint: a.datapoints[y], seriesIndex: y }
|
|
290
283
|
)}
|
|
291
284
|
</span>
|
|
292
285
|
</div>
|
|
293
|
-
`, e.value.style.chart.comments.showInTooltip && a.datapoints[
|
|
294
|
-
}),
|
|
286
|
+
`, e.value.style.chart.comments.showInTooltip && a.datapoints[y].comment && (s += `<div class="vue-data-ui-tooltip-comment" style="background:${a.color}20; padding: 6px; margin-bottom: 6px; border-left: 1px solid ${a.color}">${a.datapoints[y].comment}</div>`);
|
|
287
|
+
}), ee.value = `<div>${s}</div>`);
|
|
295
288
|
}
|
|
296
|
-
function
|
|
297
|
-
return
|
|
289
|
+
function et() {
|
|
290
|
+
return I.value;
|
|
298
291
|
}
|
|
299
|
-
const
|
|
300
|
-
const t = [e.value.table.columnNames.series].concat([e.value.table.columnNames.item]).concat(
|
|
292
|
+
const R = x(() => {
|
|
293
|
+
const t = [e.value.table.columnNames.series].concat([e.value.table.columnNames.item]).concat(b.value.map((n) => n.name)), l = Q.value.flatMap((n, s) => n.series.map((r) => [n.name].concat([r.name]).concat(r.values))), a = {
|
|
301
294
|
th: {
|
|
302
295
|
backgroundColor: e.value.table.th.backgroundColor,
|
|
303
296
|
color: e.value.table.th.color,
|
|
@@ -309,86 +302,86 @@ const zt = ["id"], It = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
|
|
|
309
302
|
outline: e.value.table.td.outline
|
|
310
303
|
},
|
|
311
304
|
breakpoint: e.value.table.responsiveBreakpoint
|
|
312
|
-
}, o = [e.value.table.columnNames.series].concat([e.value.table.columnNames.item]).concat(
|
|
305
|
+
}, o = [e.value.table.columnNames.series].concat([e.value.table.columnNames.item]).concat(b.value.map((n) => n.name));
|
|
313
306
|
return {
|
|
314
307
|
body: l,
|
|
315
308
|
head: t,
|
|
316
309
|
config: a,
|
|
317
310
|
colNames: o
|
|
318
311
|
};
|
|
319
|
-
}),
|
|
320
|
-
head:
|
|
321
|
-
body:
|
|
312
|
+
}), Ce = x(() => Q.value.length === 0 ? { head: [], body: [], config: {}, columnNames: [] } : {
|
|
313
|
+
head: R.value.head,
|
|
314
|
+
body: R.value.body
|
|
322
315
|
});
|
|
323
|
-
function
|
|
324
|
-
const t = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], l =
|
|
325
|
-
|
|
316
|
+
function $e() {
|
|
317
|
+
const t = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], l = Ce.value.head, a = Ce.value.body, o = t.concat([l]).concat(a), n = kt(o);
|
|
318
|
+
wt({ csvContent: n, title: e.value.style.chart.title.text || "vue-ui-parallel-coordinate-plot" });
|
|
326
319
|
}
|
|
327
|
-
const
|
|
328
|
-
function
|
|
329
|
-
|
|
320
|
+
const Ae = Ve;
|
|
321
|
+
function tt(t) {
|
|
322
|
+
Ae("selectDatapoint", t);
|
|
330
323
|
}
|
|
331
|
-
function
|
|
332
|
-
|
|
324
|
+
function Te(t) {
|
|
325
|
+
Ae("selectLegend", {
|
|
333
326
|
...t,
|
|
334
327
|
isSegregated: !t.isSegregated,
|
|
335
328
|
opacity: t.isSegregated ? 1 : 0.5
|
|
336
329
|
});
|
|
337
330
|
}
|
|
338
|
-
function
|
|
339
|
-
|
|
331
|
+
function Me() {
|
|
332
|
+
p.value.showTable = !p.value.showTable;
|
|
340
333
|
}
|
|
341
|
-
function
|
|
342
|
-
|
|
334
|
+
function ze() {
|
|
335
|
+
p.value.dataLabels.show = !p.value.dataLabels.show;
|
|
343
336
|
}
|
|
344
|
-
function
|
|
345
|
-
|
|
337
|
+
function Ie() {
|
|
338
|
+
p.value.showTooltip = !p.value.showTooltip;
|
|
346
339
|
}
|
|
347
|
-
const
|
|
348
|
-
function
|
|
349
|
-
|
|
340
|
+
const H = d(!1);
|
|
341
|
+
function te() {
|
|
342
|
+
H.value = !H.value;
|
|
350
343
|
}
|
|
351
|
-
return
|
|
352
|
-
getData:
|
|
353
|
-
generateCsv:
|
|
354
|
-
generatePdf:
|
|
355
|
-
generateImage:
|
|
356
|
-
toggleTable:
|
|
357
|
-
toggleLabels:
|
|
358
|
-
toggleTooltip:
|
|
359
|
-
toggleAnnotator:
|
|
344
|
+
return Re({
|
|
345
|
+
getData: et,
|
|
346
|
+
generateCsv: $e,
|
|
347
|
+
generatePdf: ge,
|
|
348
|
+
generateImage: be,
|
|
349
|
+
toggleTable: Me,
|
|
350
|
+
toggleLabels: ze,
|
|
351
|
+
toggleTooltip: Ie,
|
|
352
|
+
toggleAnnotator: te
|
|
360
353
|
}), (t, l) => (u(), i("div", {
|
|
361
354
|
ref_key: "pcpChart",
|
|
362
|
-
ref:
|
|
363
|
-
class:
|
|
355
|
+
ref: W,
|
|
356
|
+
class: j(`vue-ui-pcp ${S.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
364
357
|
style: T(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height:100%" : ""}`),
|
|
365
|
-
id: `pcp_${
|
|
366
|
-
onMouseenter: l[6] || (l[6] = () =>
|
|
367
|
-
onMouseleave: l[7] || (l[7] = () =>
|
|
358
|
+
id: `pcp_${q.value}`,
|
|
359
|
+
onMouseenter: l[6] || (l[6] = () => c(ve)(!0)),
|
|
360
|
+
onMouseleave: l[7] || (l[7] = () => c(ve)(!1))
|
|
368
361
|
}, [
|
|
369
|
-
e.value.userOptions.buttons.annotator ? (u(),
|
|
362
|
+
e.value.userOptions.buttons.annotator ? (u(), P(c(je), {
|
|
370
363
|
key: 0,
|
|
371
|
-
svgRef:
|
|
364
|
+
svgRef: c(he),
|
|
372
365
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
373
366
|
color: e.value.style.chart.color,
|
|
374
|
-
active:
|
|
375
|
-
onClose:
|
|
367
|
+
active: H.value,
|
|
368
|
+
onClose: te
|
|
376
369
|
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : m("", !0),
|
|
377
|
-
|
|
370
|
+
Je.value ? (u(), i("div", {
|
|
378
371
|
key: 1,
|
|
379
372
|
ref_key: "noTitle",
|
|
380
|
-
ref:
|
|
373
|
+
ref: ue,
|
|
381
374
|
class: "vue-data-ui-no-title-space",
|
|
382
375
|
style: "height:36px; width: 100%;background:transparent"
|
|
383
376
|
}, null, 512)) : m("", !0),
|
|
384
377
|
e.value.style.chart.title.text ? (u(), i("div", {
|
|
385
378
|
key: 2,
|
|
386
379
|
ref_key: "chartTitle",
|
|
387
|
-
ref:
|
|
380
|
+
ref: oe,
|
|
388
381
|
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
389
382
|
}, [
|
|
390
|
-
(u(),
|
|
391
|
-
key: `title_${
|
|
383
|
+
(u(), P(It, {
|
|
384
|
+
key: `title_${ie.value}`,
|
|
392
385
|
config: {
|
|
393
386
|
title: {
|
|
394
387
|
cy: "pcp-div-title",
|
|
@@ -401,14 +394,14 @@ const zt = ["id"], It = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
|
|
|
401
394
|
}
|
|
402
395
|
}, null, 8, ["config"]))
|
|
403
396
|
], 512)) : m("", !0),
|
|
404
|
-
e.value.userOptions.show &&
|
|
397
|
+
e.value.userOptions.show && O.value && (c(de) || c(J)) ? (u(), P(c(Xe), {
|
|
405
398
|
ref: "details",
|
|
406
|
-
key: `user_options_${
|
|
399
|
+
key: `user_options_${le.value}`,
|
|
407
400
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
408
401
|
color: e.value.style.chart.color,
|
|
409
|
-
isPrinting:
|
|
410
|
-
isImaging:
|
|
411
|
-
uid:
|
|
402
|
+
isPrinting: c(me),
|
|
403
|
+
isImaging: c(fe),
|
|
404
|
+
uid: q.value,
|
|
412
405
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
|
|
413
406
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
414
407
|
hasXls: e.value.userOptions.buttons.csv,
|
|
@@ -416,153 +409,153 @@ const zt = ["id"], It = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
|
|
|
416
409
|
hasTable: e.value.userOptions.buttons.table,
|
|
417
410
|
hasLabel: e.value.userOptions.buttons.labels,
|
|
418
411
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
419
|
-
isFullscreen:
|
|
420
|
-
isTooltip:
|
|
412
|
+
isFullscreen: S.value,
|
|
413
|
+
isTooltip: p.value.showTooltip,
|
|
421
414
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
422
|
-
chartElement:
|
|
415
|
+
chartElement: W.value,
|
|
423
416
|
position: e.value.userOptions.position,
|
|
424
417
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
425
|
-
isAnnotation:
|
|
426
|
-
onToggleFullscreen:
|
|
427
|
-
onGeneratePdf:
|
|
428
|
-
onGenerateCsv:
|
|
429
|
-
onGenerateImage:
|
|
430
|
-
onToggleTable:
|
|
431
|
-
onToggleLabels:
|
|
432
|
-
onToggleTooltip:
|
|
433
|
-
onToggleAnnotator:
|
|
418
|
+
isAnnotation: H.value,
|
|
419
|
+
onToggleFullscreen: qe,
|
|
420
|
+
onGeneratePdf: c(ge),
|
|
421
|
+
onGenerateCsv: $e,
|
|
422
|
+
onGenerateImage: c(be),
|
|
423
|
+
onToggleTable: Me,
|
|
424
|
+
onToggleLabels: ze,
|
|
425
|
+
onToggleTooltip: Ie,
|
|
426
|
+
onToggleAnnotator: te,
|
|
434
427
|
style: T({
|
|
435
|
-
visibility:
|
|
428
|
+
visibility: c(de) ? c(J) ? "visible" : "hidden" : "visible"
|
|
436
429
|
})
|
|
437
|
-
},
|
|
430
|
+
}, ut({ _: 2 }, [
|
|
438
431
|
t.$slots.menuIcon ? {
|
|
439
432
|
name: "menuIcon",
|
|
440
433
|
fn: k(({ isOpen: a, color: o }) => [
|
|
441
|
-
|
|
434
|
+
g(t.$slots, "menuIcon", V(E({ isOpen: a, color: o })), void 0, !0)
|
|
442
435
|
]),
|
|
443
436
|
key: "0"
|
|
444
437
|
} : void 0,
|
|
445
438
|
t.$slots.optionPdf ? {
|
|
446
439
|
name: "optionPdf",
|
|
447
440
|
fn: k(() => [
|
|
448
|
-
|
|
441
|
+
g(t.$slots, "optionPdf", {}, void 0, !0)
|
|
449
442
|
]),
|
|
450
443
|
key: "1"
|
|
451
444
|
} : void 0,
|
|
452
445
|
t.$slots.optionCsv ? {
|
|
453
446
|
name: "optionCsv",
|
|
454
447
|
fn: k(() => [
|
|
455
|
-
|
|
448
|
+
g(t.$slots, "optionCsv", {}, void 0, !0)
|
|
456
449
|
]),
|
|
457
450
|
key: "2"
|
|
458
451
|
} : void 0,
|
|
459
452
|
t.$slots.optionImg ? {
|
|
460
453
|
name: "optionImg",
|
|
461
454
|
fn: k(() => [
|
|
462
|
-
|
|
455
|
+
g(t.$slots, "optionImg", {}, void 0, !0)
|
|
463
456
|
]),
|
|
464
457
|
key: "3"
|
|
465
458
|
} : void 0,
|
|
466
459
|
t.$slots.optionTable ? {
|
|
467
460
|
name: "optionTable",
|
|
468
461
|
fn: k(() => [
|
|
469
|
-
|
|
462
|
+
g(t.$slots, "optionTable", {}, void 0, !0)
|
|
470
463
|
]),
|
|
471
464
|
key: "4"
|
|
472
465
|
} : void 0,
|
|
473
466
|
t.$slots.optionLabels ? {
|
|
474
467
|
name: "optionLabels",
|
|
475
468
|
fn: k(() => [
|
|
476
|
-
|
|
469
|
+
g(t.$slots, "optionLabels", {}, void 0, !0)
|
|
477
470
|
]),
|
|
478
471
|
key: "5"
|
|
479
472
|
} : void 0,
|
|
480
473
|
t.$slots.optionFullscreen ? {
|
|
481
474
|
name: "optionFullscreen",
|
|
482
475
|
fn: k(({ toggleFullscreen: a, isFullscreen: o }) => [
|
|
483
|
-
|
|
476
|
+
g(t.$slots, "optionFullscreen", V(E({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
|
|
484
477
|
]),
|
|
485
478
|
key: "6"
|
|
486
479
|
} : void 0,
|
|
487
480
|
t.$slots.optionAnnotator ? {
|
|
488
481
|
name: "optionAnnotator",
|
|
489
482
|
fn: k(({ toggleAnnotator: a, isAnnotator: o }) => [
|
|
490
|
-
|
|
483
|
+
g(t.$slots, "optionAnnotator", V(E({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
|
|
491
484
|
]),
|
|
492
485
|
key: "7"
|
|
493
486
|
} : void 0
|
|
494
487
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : m("", !0),
|
|
495
|
-
|
|
488
|
+
O.value ? (u(), i("svg", {
|
|
496
489
|
key: 4,
|
|
497
490
|
ref_key: "svgRef",
|
|
498
|
-
ref:
|
|
499
|
-
xmlns:
|
|
500
|
-
class:
|
|
501
|
-
viewBox: `0 0 ${
|
|
491
|
+
ref: he,
|
|
492
|
+
xmlns: c(xt),
|
|
493
|
+
class: j({ "vue-data-ui-fullscreen--on": S.value, "vue-data-ui-fulscreen--off": !S.value }),
|
|
494
|
+
viewBox: `0 0 ${v.value.chartWidth <= 0 ? 10 : v.value.chartWidth} ${v.value.chartHeight <= 0 ? 10 : v.value.chartHeight}`,
|
|
502
495
|
style: T(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
|
|
503
496
|
}, [
|
|
504
|
-
|
|
497
|
+
Pe(c(We)),
|
|
505
498
|
t.$slots["chart-background"] ? (u(), i("foreignObject", {
|
|
506
499
|
key: 0,
|
|
507
|
-
x:
|
|
508
|
-
y:
|
|
509
|
-
width:
|
|
510
|
-
height:
|
|
500
|
+
x: v.value.left,
|
|
501
|
+
y: v.value.top,
|
|
502
|
+
width: v.value.width,
|
|
503
|
+
height: v.value.height,
|
|
511
504
|
style: {
|
|
512
505
|
pointerEvents: "none"
|
|
513
506
|
}
|
|
514
507
|
}, [
|
|
515
|
-
|
|
516
|
-
], 8,
|
|
517
|
-
(u(!0), i(
|
|
518
|
-
|
|
519
|
-
x1:
|
|
520
|
-
x2:
|
|
521
|
-
y1:
|
|
522
|
-
y2:
|
|
508
|
+
g(t.$slots, "chart-background", {}, void 0, !0)
|
|
509
|
+
], 8, Ot)) : m("", !0),
|
|
510
|
+
(u(!0), i(C, null, _(b.value, (a, o) => (u(), i("g", St, [
|
|
511
|
+
N("line", {
|
|
512
|
+
x1: v.value.left + w.value * o + w.value / 2,
|
|
513
|
+
x2: v.value.left + w.value * o + w.value / 2,
|
|
514
|
+
y1: v.value.top,
|
|
515
|
+
y2: v.value.bottom,
|
|
523
516
|
stroke: e.value.style.chart.yAxis.stroke,
|
|
524
517
|
"stroke-width": e.value.style.chart.yAxis.strokeWidth
|
|
525
|
-
}, null, 8,
|
|
526
|
-
|
|
527
|
-
x:
|
|
528
|
-
y:
|
|
518
|
+
}, null, 8, Lt),
|
|
519
|
+
N("text", {
|
|
520
|
+
x: v.value.left + w.value * o + w.value / 2,
|
|
521
|
+
y: v.value.top - 24,
|
|
529
522
|
fill: e.value.style.chart.yAxis.labels.axisNamesColor,
|
|
530
|
-
"font-size":
|
|
523
|
+
"font-size": h.value.axisNameFontSize,
|
|
531
524
|
"font-weight": e.value.style.chart.yAxis.labels.axisNamesBold ? "bold" : "",
|
|
532
525
|
"text-anchor": "middle"
|
|
533
|
-
},
|
|
534
|
-
e.value.style.chart.yAxis.labels.ticks.show ? (u(), i(
|
|
535
|
-
(u(!0), i(
|
|
526
|
+
}, U(a.name), 9, Dt),
|
|
527
|
+
e.value.style.chart.yAxis.labels.ticks.show ? (u(), i(C, { key: 0 }, [
|
|
528
|
+
(u(!0), i(C, null, _(a.ticks, (n) => (u(), i("line", {
|
|
536
529
|
x1: n.x,
|
|
537
530
|
x2: n.x - 10,
|
|
538
531
|
y1: n.y,
|
|
539
532
|
y2: n.y,
|
|
540
533
|
stroke: e.value.style.chart.yAxis.stroke,
|
|
541
534
|
"stroke-width": e.value.style.chart.yAxis.strokeWidth,
|
|
542
|
-
style: T(`opacity:${
|
|
543
|
-
}, null, 12,
|
|
544
|
-
(u(!0), i(
|
|
535
|
+
style: T(`opacity:${f.value && !p.value.showTooltip ? 0.2 : 1}`)
|
|
536
|
+
}, null, 12, Rt))), 256)),
|
|
537
|
+
(u(!0), i(C, null, _(a.ticks, (n) => (u(), i("text", {
|
|
545
538
|
x: n.x - 12 + e.value.style.chart.yAxis.labels.ticks.offsetX,
|
|
546
|
-
y: n.y + e.value.style.chart.yAxis.labels.ticks.offsetY +
|
|
539
|
+
y: n.y + e.value.style.chart.yAxis.labels.ticks.offsetY + h.value.ticksFontSize / 3,
|
|
547
540
|
fill: e.value.style.chart.yAxis.labels.ticks.color,
|
|
548
541
|
"text-anchor": "end",
|
|
549
|
-
"font-size":
|
|
542
|
+
"font-size": h.value.ticksFontSize,
|
|
550
543
|
"font-weight": e.value.style.chart.yAxis.labels.ticks.bold ? "bold" : "normal",
|
|
551
|
-
style: T(`opacity:${
|
|
552
|
-
},
|
|
544
|
+
style: T(`opacity:${f.value && !p.value.showTooltip ? 0.2 : 1}`)
|
|
545
|
+
}, U(we({ value: n.value, index: o, datapoint: n })), 13, Vt))), 256))
|
|
553
546
|
], 64)) : m("", !0)
|
|
554
547
|
]))), 256)),
|
|
555
|
-
(u(!0), i(
|
|
556
|
-
(u(!0), i(
|
|
557
|
-
e.value.style.chart.plots.show ? (u(), i("g",
|
|
558
|
-
(u(!0), i(
|
|
548
|
+
(u(!0), i(C, null, _(Q.value, (a) => (u(), i("g", null, [
|
|
549
|
+
(u(!0), i(C, null, _(a.series, (o, n) => (u(), i("g", null, [
|
|
550
|
+
e.value.style.chart.plots.show ? (u(), i("g", Et, [
|
|
551
|
+
(u(!0), i(C, null, _(o.datapoints, (s) => (u(), P(c(Be), {
|
|
559
552
|
plot: { x: s.x, y: s.y },
|
|
560
553
|
color: a.color,
|
|
561
554
|
shape: a.shape,
|
|
562
|
-
radius: a.shape === "triangle" ?
|
|
555
|
+
radius: a.shape === "triangle" ? h.value.plotSize * 1.2 : h.value.plotSize,
|
|
563
556
|
stroke: e.value.style.chart.backgroundColor,
|
|
564
557
|
strokeWidth: 0.5,
|
|
565
|
-
onMouseenter: (r) =>
|
|
558
|
+
onMouseenter: (r) => B({
|
|
566
559
|
shape: a.shape,
|
|
567
560
|
serieName: a.name,
|
|
568
561
|
serie: o,
|
|
@@ -570,23 +563,23 @@ const zt = ["id"], It = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
|
|
|
570
563
|
seriesIndex: o.seriesIndex
|
|
571
564
|
}),
|
|
572
565
|
onMouseleave: l[0] || (l[0] = (r) => {
|
|
573
|
-
|
|
566
|
+
f.value = null, D.value = !1;
|
|
574
567
|
}),
|
|
575
|
-
style: T(`opacity:${
|
|
576
|
-
onClick: () =>
|
|
568
|
+
style: T(`opacity:${f.value ? f.value === o.id ? e.value.style.chart.plots.opacity : 0.2 : e.value.style.chart.plots.opacity}`),
|
|
569
|
+
onClick: () => tt(s)
|
|
577
570
|
}, null, 8, ["plot", "color", "shape", "radius", "stroke", "onMouseenter", "style", "onClick"]))), 256)),
|
|
578
|
-
|
|
579
|
-
|
|
571
|
+
p.value.showTooltip ? m("", !0) : (u(), i(C, { key: 0 }, [
|
|
572
|
+
f.value && f.value === o.id && o.datapoints.length ? (u(), i("text", {
|
|
580
573
|
key: 0,
|
|
581
|
-
x: o.datapoints[0].x -
|
|
582
|
-
y: o.datapoints[0].y +
|
|
574
|
+
x: o.datapoints[0].x - h.value.ticksFontSize,
|
|
575
|
+
y: o.datapoints[0].y + h.value.ticksFontSize / 3,
|
|
583
576
|
"text-anchor": "end",
|
|
584
|
-
"font-size":
|
|
577
|
+
"font-size": h.value.ticksFontSize,
|
|
585
578
|
fill: a.color,
|
|
586
579
|
"font-weight": "bold"
|
|
587
|
-
},
|
|
580
|
+
}, U(o.name), 9, Ut)) : m("", !0)
|
|
588
581
|
], 64)),
|
|
589
|
-
e.value.style.chart.comments.show ? (u(!0), i(
|
|
582
|
+
e.value.style.chart.comments.show ? (u(!0), i(C, { key: 1 }, _(o.datapoints, (s) => (u(), i("g", null, [
|
|
590
583
|
s.comment ? (u(), i("foreignObject", {
|
|
591
584
|
key: 0,
|
|
592
585
|
style: { overflow: "visible" },
|
|
@@ -595,23 +588,23 @@ const zt = ["id"], It = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
|
|
|
595
588
|
x: s.x - e.value.style.chart.comments.width / 2 + e.value.style.chart.comments.offsetX,
|
|
596
589
|
y: s.y + e.value.style.chart.comments.offsetY + 6
|
|
597
590
|
}, [
|
|
598
|
-
|
|
599
|
-
|
|
591
|
+
N("div", jt, [
|
|
592
|
+
g(t.$slots, "plot-comment", {
|
|
600
593
|
plot: { ...s, color: a.color }
|
|
601
594
|
}, void 0, !0)
|
|
602
595
|
])
|
|
603
|
-
], 8,
|
|
596
|
+
], 8, Wt)) : m("", !0)
|
|
604
597
|
]))), 256)) : m("", !0)
|
|
605
598
|
])) : m("", !0),
|
|
606
|
-
|
|
599
|
+
p.value.dataLabels.show || f.value && f.value === o.id ? (u(!0), i(C, { key: 1 }, _(o.datapoints, (s, r) => (u(), i("text", {
|
|
607
600
|
x: s.x + 12 + e.value.style.chart.yAxis.labels.datapoints.offsetX,
|
|
608
|
-
y: s.y + e.value.style.chart.yAxis.labels.datapoints.offsetY +
|
|
601
|
+
y: s.y + e.value.style.chart.yAxis.labels.datapoints.offsetY + h.value.datapointFontSize / 3,
|
|
609
602
|
fill: e.value.style.chart.yAxis.labels.datapoints.useSerieColor ? a.color : e.value.style.chart.yAxis.labels.datapoints.color,
|
|
610
603
|
"text-anchor": "start",
|
|
611
604
|
"font-weight": e.value.style.chart.yAxis.labels.datapoints.bold ? "bold" : "normal",
|
|
612
|
-
class:
|
|
613
|
-
"font-size":
|
|
614
|
-
onMouseenter: (A) =>
|
|
605
|
+
class: j({ "vue-ui-pcp-animated": !1, "vue-ui-pcp-transition": !0 }),
|
|
606
|
+
"font-size": h.value.datapointFontSize,
|
|
607
|
+
onMouseenter: (A) => B({
|
|
615
608
|
shape: a.shape,
|
|
616
609
|
serieName: a.name,
|
|
617
610
|
serie: o,
|
|
@@ -619,17 +612,17 @@ const zt = ["id"], It = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
|
|
|
619
612
|
seriesIndex: o.seriesIndex
|
|
620
613
|
}),
|
|
621
614
|
onMouseleave: l[1] || (l[1] = (A) => {
|
|
622
|
-
|
|
615
|
+
f.value = null, D.value = !1;
|
|
623
616
|
}),
|
|
624
|
-
style: T(`opacity:${
|
|
625
|
-
},
|
|
626
|
-
|
|
617
|
+
style: T(`opacity:${f.value ? f.value === o.id ? 1 : 0.2 : 1}`)
|
|
618
|
+
}, U(we({ value: s.value, index: r, datapoint: s })), 45, Bt))), 256)) : m("", !0),
|
|
619
|
+
N("path", {
|
|
627
620
|
d: `M${e.value.style.chart.lines.smooth ? o.smoothPath : o.straightPath}`,
|
|
628
621
|
stroke: a.color,
|
|
629
622
|
"stroke-width": e.value.style.chart.lines.strokeWidth,
|
|
630
623
|
fill: "none",
|
|
631
|
-
class:
|
|
632
|
-
onMouseenter: (s) =>
|
|
624
|
+
class: j({ "vue-ui-pcp-animated vue-data-ui-line-animated": e.value.useCssAnimation, "vue-ui-pcp-transition": !0 }),
|
|
625
|
+
onMouseenter: (s) => B({
|
|
633
626
|
shape: a.shape,
|
|
634
627
|
serieName: a.name,
|
|
635
628
|
serie: o,
|
|
@@ -637,18 +630,18 @@ const zt = ["id"], It = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
|
|
|
637
630
|
seriesIndex: o.seriesIndex
|
|
638
631
|
}),
|
|
639
632
|
onMouseleave: l[2] || (l[2] = (s) => {
|
|
640
|
-
|
|
633
|
+
f.value = null, D.value = !1;
|
|
641
634
|
}),
|
|
642
|
-
style: T(`opacity:${
|
|
643
|
-
}, null, 46,
|
|
644
|
-
|
|
635
|
+
style: T(`opacity:${f.value ? f.value === o.id ? e.value.style.chart.lines.opacity : 0.2 : e.value.style.chart.lines.opacity}; stroke-dasharray:${o.pathLength}; stroke-dashoffset: ${e.value.useCssAnimation ? o.pathLength : 0}`)
|
|
636
|
+
}, null, 46, Ht),
|
|
637
|
+
p.value.showTooltip ? (u(), i("path", {
|
|
645
638
|
key: 2,
|
|
646
639
|
d: `M${e.value.style.chart.lines.smooth ? o.smoothPath : o.straightPath}`,
|
|
647
640
|
stroke: "transparent",
|
|
648
641
|
"stroke-width": 12,
|
|
649
642
|
fill: "none",
|
|
650
|
-
class:
|
|
651
|
-
onMouseenter: (s) =>
|
|
643
|
+
class: j({ "vue-ui-pcp-animated vue-data-ui-line-animated": e.value.useCssAnimation, "vue-ui-pcp-transition": !0 }),
|
|
644
|
+
onMouseenter: (s) => B({
|
|
652
645
|
shape: a.shape,
|
|
653
646
|
serieName: a.name,
|
|
654
647
|
serie: o,
|
|
@@ -656,18 +649,18 @@ const zt = ["id"], It = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
|
|
|
656
649
|
seriesIndex: o.seriesIndex
|
|
657
650
|
}),
|
|
658
651
|
onMouseleave: l[3] || (l[3] = (s) => {
|
|
659
|
-
|
|
652
|
+
f.value = null, D.value = !1;
|
|
660
653
|
}),
|
|
661
654
|
style: { opacity: "0" }
|
|
662
|
-
}, null, 42,
|
|
655
|
+
}, null, 42, Gt)) : m("", !0)
|
|
663
656
|
]))), 256))
|
|
664
657
|
]))), 256)),
|
|
665
|
-
|
|
666
|
-
], 14,
|
|
667
|
-
t.$slots.watermark ? (u(), i("div",
|
|
668
|
-
|
|
658
|
+
g(t.$slots, "svg", { svg: v.value }, void 0, !0)
|
|
659
|
+
], 14, Nt)) : m("", !0),
|
|
660
|
+
t.$slots.watermark ? (u(), i("div", Xt, [
|
|
661
|
+
g(t.$slots, "watermark", V(E({ isPrinting: c(me) || c(fe) })), void 0, !0)
|
|
669
662
|
])) : m("", !0),
|
|
670
|
-
|
|
663
|
+
O.value ? m("", !0) : (u(), P(c(He), {
|
|
671
664
|
key: 6,
|
|
672
665
|
config: {
|
|
673
666
|
type: "parallelCoordinatePlot",
|
|
@@ -676,42 +669,42 @@ const zt = ["id"], It = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
|
|
|
676
669
|
}
|
|
677
670
|
}
|
|
678
671
|
}, null, 8, ["config"])),
|
|
679
|
-
|
|
672
|
+
N("div", {
|
|
680
673
|
ref_key: "chartLegend",
|
|
681
|
-
ref:
|
|
674
|
+
ref: se
|
|
682
675
|
}, [
|
|
683
|
-
e.value.style.chart.legend.show &&
|
|
684
|
-
key: `legend_${
|
|
685
|
-
legendSet:
|
|
686
|
-
config:
|
|
676
|
+
e.value.style.chart.legend.show && O.value ? (u(), P(Ft, {
|
|
677
|
+
key: `legend_${re.value}`,
|
|
678
|
+
legendSet: Qe.value,
|
|
679
|
+
config: Ze.value,
|
|
687
680
|
onClickMarker: l[4] || (l[4] = ({ legend: a }) => {
|
|
688
|
-
|
|
681
|
+
xe(a.id), Te(a);
|
|
689
682
|
})
|
|
690
683
|
}, {
|
|
691
684
|
item: k(({ legend: a, index: o }) => [
|
|
692
|
-
|
|
685
|
+
N("div", {
|
|
693
686
|
onClick: (n) => {
|
|
694
|
-
a.segregate(),
|
|
687
|
+
a.segregate(), Te(a);
|
|
695
688
|
},
|
|
696
|
-
style: T(`opacity:${
|
|
697
|
-
},
|
|
689
|
+
style: T(`opacity:${$.value.includes(a.id) ? 0.5 : 1}`)
|
|
690
|
+
}, U(a.name), 13, Yt)
|
|
698
691
|
]),
|
|
699
692
|
_: 1
|
|
700
|
-
}, 8, ["legendSet", "config"])) :
|
|
693
|
+
}, 8, ["legendSet", "config"])) : g(t.$slots, "legend", {
|
|
701
694
|
key: 1,
|
|
702
|
-
legend:
|
|
695
|
+
legend: I.value
|
|
703
696
|
}, void 0, !0)
|
|
704
697
|
], 512),
|
|
705
698
|
t.$slots.source ? (u(), i("div", {
|
|
706
699
|
key: 7,
|
|
707
700
|
ref_key: "source",
|
|
708
|
-
ref:
|
|
701
|
+
ref: ne,
|
|
709
702
|
dir: "auto"
|
|
710
703
|
}, [
|
|
711
|
-
|
|
704
|
+
g(t.$slots, "source", {}, void 0, !0)
|
|
712
705
|
], 512)) : m("", !0),
|
|
713
|
-
|
|
714
|
-
show:
|
|
706
|
+
Pe(c(Ge), {
|
|
707
|
+
show: p.value.showTooltip && D.value,
|
|
715
708
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
716
709
|
color: e.value.style.chart.tooltip.color,
|
|
717
710
|
fontSize: e.value.style.chart.tooltip.fontSize,
|
|
@@ -721,24 +714,24 @@ const zt = ["id"], It = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
|
|
|
721
714
|
backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
|
|
722
715
|
position: e.value.style.chart.tooltip.position,
|
|
723
716
|
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
724
|
-
parent:
|
|
725
|
-
content:
|
|
726
|
-
isFullscreen:
|
|
727
|
-
isCustom:
|
|
717
|
+
parent: W.value,
|
|
718
|
+
content: ee.value,
|
|
719
|
+
isFullscreen: S.value,
|
|
720
|
+
isCustom: c(Ne)(e.value.style.chart.tooltip.customFormat)
|
|
728
721
|
}, {
|
|
729
722
|
"tooltip-before": k(() => [
|
|
730
|
-
|
|
723
|
+
g(t.$slots, "tooltip-before", V(E({ ...Z.value })), void 0, !0)
|
|
731
724
|
]),
|
|
732
725
|
"tooltip-after": k(() => [
|
|
733
|
-
|
|
726
|
+
g(t.$slots, "tooltip-after", V(E({ ...Z.value })), void 0, !0)
|
|
734
727
|
]),
|
|
735
728
|
_: 3
|
|
736
729
|
}, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
|
|
737
|
-
|
|
730
|
+
O.value ? (u(), P(c(Ee), {
|
|
738
731
|
key: 8,
|
|
739
732
|
hideDetails: "",
|
|
740
733
|
config: {
|
|
741
|
-
open:
|
|
734
|
+
open: p.value.showTable,
|
|
742
735
|
maxHeight: 1e4,
|
|
743
736
|
body: {
|
|
744
737
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -751,29 +744,29 @@ const zt = ["id"], It = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
|
|
|
751
744
|
}
|
|
752
745
|
}, {
|
|
753
746
|
content: k(() => [
|
|
754
|
-
(u(),
|
|
755
|
-
key: `table_${
|
|
756
|
-
colNames:
|
|
757
|
-
head:
|
|
758
|
-
body:
|
|
759
|
-
config:
|
|
747
|
+
(u(), P(c(Ue), {
|
|
748
|
+
key: `table_${ce.value}`,
|
|
749
|
+
colNames: R.value.colNames,
|
|
750
|
+
head: R.value.head,
|
|
751
|
+
body: R.value.body,
|
|
752
|
+
config: R.value.config,
|
|
760
753
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
761
|
-
onClose: l[5] || (l[5] = (a) =>
|
|
754
|
+
onClose: l[5] || (l[5] = (a) => p.value.showTable = !1)
|
|
762
755
|
}, {
|
|
763
756
|
th: k(({ th: a }) => [
|
|
764
|
-
|
|
757
|
+
N("div", { innerHTML: a }, null, 8, qt)
|
|
765
758
|
]),
|
|
766
759
|
td: k(({ td: a }) => [
|
|
767
|
-
|
|
760
|
+
it(U(a), 1)
|
|
768
761
|
]),
|
|
769
762
|
_: 1
|
|
770
763
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
771
764
|
]),
|
|
772
765
|
_: 1
|
|
773
766
|
}, 8, ["config"])) : m("", !0)
|
|
774
|
-
], 46,
|
|
767
|
+
], 46, _t));
|
|
775
768
|
}
|
|
776
|
-
},
|
|
769
|
+
}, ua = /* @__PURE__ */ Pt(Jt, [["__scopeId", "data-v-a02c9ee1"]]);
|
|
777
770
|
export {
|
|
778
|
-
|
|
771
|
+
ua as default
|
|
779
772
|
};
|