vue-data-ui 2.12.7-beta.0 → 2.12.7-beta.2
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-CmqjRRUl.js → Arrow-BhI2Y-DB.js} +1 -1
- package/dist/{BaseDraggableDialog-BMlyvt7E.js → BaseDraggableDialog-DyUBiw-C.js} +68 -64
- package/dist/{BaseIcon-CZdMutjs.js → BaseIcon-PZPlJOYf.js} +1 -1
- package/dist/{ColorPicker-DvVKgyAl.js → ColorPicker-Bni7kKI_.js} +2 -2
- package/dist/{DataTable-Cv9CIz-a.js → DataTable-bcUa-A_V.js} +2 -2
- package/dist/{Legend-DFunFf8i.js → Legend-iNd1Vv1J.js} +2 -2
- package/dist/{NonSvgPenAndPaper-pVuHj6_A.js → NonSvgPenAndPaper-DwB3JfsE.js} +3 -3
- package/dist/{PackageVersion-CLY-udAA.js → PackageVersion-BVH19wf6.js} +1 -1
- package/dist/{PenAndPaper-B9na2mbr.js → PenAndPaper-U4bWifCe.js} +3 -3
- package/dist/{Shape-D3w9qas1.js → Shape-CTyy5HJi.js} +1 -1
- package/dist/{Slicer-ncY8krrM.js → Slicer-hiaHGsme.js} +2 -2
- package/dist/{SparkTooltip-CwThutH2.js → SparkTooltip-oo_wqrT6.js} +1 -1
- package/dist/{Title-B5qqUI3M.js → Title-BTCPUIcD.js} +1 -1
- package/dist/{Tooltip-C9rxJ-Ru.js → Tooltip-B9AfUFVK.js} +1 -1
- package/dist/{UserOptions-Ddy6CuLC.js → UserOptions-yZJ8noVU.js} +1 -1
- package/dist/{dom-to-png-DDlooC9r.js → dom-to-png-BgRIWz9M.js} +1 -1
- package/dist/{img-m9g7lR5d.js → img-CgYxq-UP.js} +1 -1
- package/dist/{index-BiHmNd1-.js → index-CaxNz2cE.js} +1 -1
- package/dist/{pdf-BqM953uL.js → pdf-eUy0b_yU.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-tRqS0ZAM.js → useNestedProp-DpK9-Xt0.js} +1 -1
- package/dist/{usePrinter-CRCbl1WG.js → usePrinter-BprQttno.js} +2 -2
- package/dist/{vue-data-ui-D9uTDt73.js → vue-data-ui-BkO9svuE.js} +63 -63
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-rtuSc8FS.js → vue-ui-3d-bar-Bft3k9wg.js} +5 -5
- package/dist/{vue-ui-accordion-CmCs2yR2.js → vue-ui-accordion-BZ16n4QT.js} +3 -3
- package/dist/{vue-ui-age-pyramid-BrzMSiyu.js → vue-ui-age-pyramid-BblPK5iv.js} +5 -5
- package/dist/{vue-ui-annotator-CYxmTpf6.js → vue-ui-annotator-DW3swnxO.js} +2 -2
- package/dist/{vue-ui-bullet-D25qNQfb.js → vue-ui-bullet-DybokJeh.js} +6 -6
- package/dist/{vue-ui-candlestick-BuerNa-r.js → vue-ui-candlestick-aXzuaWXT.js} +6 -6
- package/dist/{vue-ui-carousel-table-aN0HLsOO.js → vue-ui-carousel-table-D7_v27hl.js} +4 -4
- package/dist/{vue-ui-chestnut-oUj2ocsZ.js → vue-ui-chestnut-ClfPFRWK.js} +4 -4
- package/dist/{vue-ui-chord-C4evlXYB.js → vue-ui-chord-Clo2yN8x.js} +84 -83
- package/dist/{vue-ui-circle-pack-CWrNiKTY.js → vue-ui-circle-pack-B8JmpYZU.js} +5 -5
- package/dist/{vue-ui-cursor-DgpSttlt.js → vue-ui-cursor-1NiHT8ua.js} +2 -2
- package/dist/{vue-ui-dashboard-BN2ha1Eh.js → vue-ui-dashboard-Dqu8UHsY.js} +62 -62
- package/dist/{vue-ui-digits-BhjAxXgm.js → vue-ui-digits-CUtyrFQ-.js} +2 -2
- package/dist/{vue-ui-donut-D3_z61HI.js → vue-ui-donut-5_qG_tB0.js} +105 -104
- package/dist/{vue-ui-donut-evolution-oKtmZPx4.js → vue-ui-donut-evolution-1lYLTlUJ.js} +106 -104
- package/dist/{vue-ui-dumbbell-C8Lokx-F.js → vue-ui-dumbbell-CuwZfqp-.js} +6 -6
- package/dist/{vue-ui-flow-BVRkH0PS.js → vue-ui-flow-nxV5Lnel.js} +6 -6
- package/dist/{vue-ui-funnel-DFxcmAB5.js → vue-ui-funnel-tTYudPKX.js} +5 -5
- package/dist/{vue-ui-galaxy-CGE0hlBC.js → vue-ui-galaxy-CB7f2IrG.js} +4 -4
- package/dist/{vue-ui-gauge-B48eMvOR.js → vue-ui-gauge-C-GUoJrH.js} +5 -5
- package/dist/{vue-ui-gizmo-zTKNpjvv.js → vue-ui-gizmo-DJCYaqYy.js} +3 -3
- package/dist/{vue-ui-heatmap-UNfTt8SM.js → vue-ui-heatmap-Bbzq8KZx.js} +6 -6
- package/dist/{vue-ui-history-plot-CbCWmvtg.js → vue-ui-history-plot-B8-Tt_rt.js} +6 -6
- package/dist/{vue-ui-kpi-Drf_lrlh.js → vue-ui-kpi-VZWKmy4e.js} +3 -3
- package/dist/{vue-ui-mini-loader-DU3G6BVs.js → vue-ui-mini-loader-DzRSBGF2.js} +2 -2
- package/dist/{vue-ui-molecule-B5MOXYEA.js → vue-ui-molecule-Bd_c8Hcd.js} +4 -4
- package/dist/{vue-ui-mood-radar-CC_CVLvn.js → vue-ui-mood-radar-CjiJjcj8.js} +6 -6
- package/dist/{vue-ui-nested-donuts-D_H962kk.js → vue-ui-nested-donuts-CVhAGwOt.js} +6 -6
- package/dist/{vue-ui-onion-P8k6T724.js → vue-ui-onion-D9pp5ytM.js} +6 -6
- package/dist/{vue-ui-parallel-coordinate-plot-B5Los0vX.js → vue-ui-parallel-coordinate-plot-hOcz4qfM.js} +135 -134
- package/dist/{vue-ui-quadrant-B3wzCTxK.js → vue-ui-quadrant-Ht49w0AN.js} +119 -118
- package/dist/{vue-ui-quick-chart-oucj6hXk.js → vue-ui-quick-chart-SFe7EifM.js} +5 -5
- package/dist/{vue-ui-radar-Cjqlyu6d.js → vue-ui-radar-C1mc0XYY.js} +6 -6
- package/dist/{vue-ui-rating-gryk_h_6.js → vue-ui-rating-DVYexEqN.js} +2 -2
- package/dist/{vue-ui-relation-circle-ielvWC-1.js → vue-ui-relation-circle-CFkW0M7L.js} +5 -5
- package/dist/{vue-ui-ridgeline-Dydqo68b.js → vue-ui-ridgeline-DcOstg2I.js} +145 -142
- package/dist/{vue-ui-rings-BRBXektJ.js → vue-ui-rings-C56TMht1.js} +79 -78
- package/dist/{vue-ui-scatter-Df-BM7Ts.js → vue-ui-scatter-C2S6nsP6.js} +145 -144
- package/dist/{vue-ui-skeleton-CbYQYRvD.js → vue-ui-skeleton-C2paDc2u.js} +3 -3
- package/dist/{vue-ui-smiley-BfHaQMaW.js → vue-ui-smiley-gtVgClTv.js} +2 -2
- package/dist/{vue-ui-spark-trend-z3fUChs_.js → vue-ui-spark-trend-C_p-qgkO.js} +3 -3
- package/dist/{vue-ui-sparkbar-ChtFIugH.js → vue-ui-sparkbar-DIS3FVja.js} +3 -3
- package/dist/{vue-ui-sparkgauge-DtpODCww.js → vue-ui-sparkgauge-D92XnV3e.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-C3XnYiXI.js → vue-ui-sparkhistogram-BQlf7QW3.js} +62 -61
- package/dist/{vue-ui-sparkline-CoL8jiX8.js → vue-ui-sparkline-C9vOtZav.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-CYk3mZJH.js → vue-ui-sparkstackbar-B2G5fOpR.js} +3 -3
- package/dist/{vue-ui-stackbar-D9LGbuG5.js → vue-ui-stackbar-L_7f4pZj.js} +144 -143
- package/dist/{vue-ui-strip-plot-C5r1Ee2R.js → vue-ui-strip-plot-Dhj9PQvC.js} +136 -135
- package/dist/{vue-ui-table-DBaT_TfA.js → vue-ui-table-CZ1DXGtE.js} +3 -3
- package/dist/{vue-ui-table-heatmap-CYW4YfKN.js → vue-ui-table-heatmap-C8oJOBM-.js} +70 -69
- package/dist/{vue-ui-table-sparkline-Di0MYR4p.js → vue-ui-table-sparkline-D-ZfWmxu.js} +4 -4
- package/dist/{vue-ui-thermometer-BF1btHY2.js → vue-ui-thermometer-D7S49sXa.js} +5 -5
- package/dist/{vue-ui-timer-D9FfRWN5.js → vue-ui-timer-Bh_0k4fp.js} +5 -5
- package/dist/{vue-ui-tiremarks-CQ0lk8fJ.js → vue-ui-tiremarks-CQVFXHjo.js} +5 -5
- package/dist/{vue-ui-treemap-1Lx7YRtc.js → vue-ui-treemap-DshqhXXR.js} +7 -7
- package/dist/{vue-ui-vertical-bar-DdVVQ1ED.js → vue-ui-vertical-bar-64gS06ES.js} +145 -144
- package/dist/{vue-ui-waffle-BhnuPiRD.js → vue-ui-waffle-MjyNmQ85.js} +138 -137
- package/dist/{vue-ui-wheel-BIjJ0fg8.js → vue-ui-wheel-FzQbyvix.js} +5 -5
- package/dist/{vue-ui-word-cloud-3-r8HwO_.js → vue-ui-word-cloud-BHPSrRVK.js} +5 -5
- package/dist/{vue-ui-world-CPIGEswq.js → vue-ui-world-8UgjM7P9.js} +361 -360
- package/dist/{vue-ui-xy-9e_epIN4.js → vue-ui-xy-BbYuna1k.js} +16 -16
- package/dist/{vue-ui-xy-canvas-DcGgQ7s4.js → vue-ui-xy-canvas-CDNUpxZ5.js} +7 -7
- package/package.json +1 -1
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import { defineAsyncComponent as
|
|
2
|
-
import { u as
|
|
3
|
-
import { t as
|
|
4
|
-
import { u as
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as
|
|
7
|
-
import { u as
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
|
|
1
|
+
import { defineAsyncComponent as P, computed as x, ref as d, watch as lt, shallowRef as Fe, onMounted as ot, onBeforeUnmount as st, createElementBlock as i, openBlock as u, unref as v, normalizeStyle as T, normalizeClass as j, createBlock as F, createCommentVNode as y, createElementVNode as N, createVNode as _e, createSlots as nt, withCtx as k, renderSlot as g, normalizeProps as V, guardReactiveProps as E, Fragment as C, renderList as _, toDisplayString as U, createTextVNode as ut } from "vue";
|
|
2
|
+
import { u as it, c as ae, t as rt, p as X, a as ct, o as vt, e as Pe, g as dt, b as ht, d as pt, D as mt, T as yt, U as ft, V as gt, X as bt, x as Ne, F as Y, q as xt, r as kt, i as Oe, f as Le, y as wt } from "./index-CaxNz2cE.js";
|
|
3
|
+
import { t as Ct, u as $t } from "./useResponsive-JZ9xq-JV.js";
|
|
4
|
+
import { u as Se } from "./useNestedProp-DpK9-Xt0.js";
|
|
5
|
+
import { u as At } from "./usePrinter-BprQttno.js";
|
|
6
|
+
import { u as Tt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
7
|
+
import { u as Mt } from "./useChartAccessibility-9icAAmYg.js";
|
|
8
|
+
import zt from "./Title-BTCPUIcD.js";
|
|
9
|
+
import It from "./Legend-iNd1Vv1J.js";
|
|
10
|
+
import Ft from "./Shape-CTyy5HJi.js";
|
|
11
|
+
import { _ as _t } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
12
|
+
const Pt = ["id"], Nt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"], Lt = { style: { "pointer-events": "none" } }, St = ["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 = {
|
|
12
13
|
key: 5,
|
|
13
14
|
class: "vue-data-ui-watermark"
|
|
14
15
|
}, Yt = ["onClick"], qt = ["innerHTML"], Jt = {
|
|
@@ -29,51 +30,51 @@ const _t = ["id"], Nt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
29
30
|
},
|
|
30
31
|
emits: ["selectLegend", "selectDatapoint"],
|
|
31
32
|
setup(De, { expose: Re, emit: Ve }) {
|
|
32
|
-
const Ee =
|
|
33
|
+
const Ee = P(() => import("./vue-ui-accordion-BZ16n4QT.js")), Ue = P(() => import("./DataTable-bcUa-A_V.js")), We = P(() => import("./PackageVersion-BVH19wf6.js")), je = P(() => import("./PenAndPaper-U4bWifCe.js")), Be = P(() => import("./vue-ui-skeleton-C2paDc2u.js")), He = P(() => import("./Tooltip-B9AfUFVK.js")), Ge = P(() => import("./UserOptions-yZJ8noVU.js")), { vue_ui_parallel_coordinate_plot: Xe } = it(), M = De, O = x({
|
|
33
34
|
get() {
|
|
34
35
|
return !!M.dataset && M.dataset.length;
|
|
35
36
|
},
|
|
36
37
|
set(t) {
|
|
37
38
|
return t;
|
|
38
39
|
}
|
|
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()),
|
|
40
|
-
function
|
|
41
|
-
|
|
40
|
+
}), 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()), L = d(!1);
|
|
41
|
+
function Ye(t) {
|
|
42
|
+
L.value = t, le.value += 1;
|
|
42
43
|
}
|
|
43
44
|
const e = x({
|
|
44
45
|
get: () => pe(),
|
|
45
46
|
set: (t) => t
|
|
46
|
-
}), { userOptionsVisible: J, setUserOptionsVisibility: ve, keepUserOptionState: de } =
|
|
47
|
+
}), { userOptionsVisible: J, setUserOptionsVisibility: ve, keepUserOptionState: de } = Tt({ config: e.value }), { svgRef: he } = Mt({ config: e.value.style.chart.title });
|
|
47
48
|
function pe() {
|
|
48
|
-
const t =
|
|
49
|
+
const t = Se({
|
|
49
50
|
userConfig: M.config,
|
|
50
|
-
defaultConfig:
|
|
51
|
+
defaultConfig: Xe
|
|
51
52
|
});
|
|
52
53
|
return t.theme ? {
|
|
53
|
-
...
|
|
54
|
-
userConfig:
|
|
54
|
+
...Se({
|
|
55
|
+
userConfig: ct.vue_ui_parallel_coordinate_plot[t.theme] || M.config,
|
|
55
56
|
defaultConfig: t
|
|
56
57
|
}),
|
|
57
|
-
customPalette:
|
|
58
|
+
customPalette: rt[t.theme] || X
|
|
58
59
|
} : t;
|
|
59
60
|
}
|
|
60
|
-
|
|
61
|
-
e.value = pe(), J.value = !e.value.userOptions.showOnChartHover,
|
|
61
|
+
lt(() => M.config, (t) => {
|
|
62
|
+
e.value = pe(), J.value = !e.value.userOptions.showOnChartHover, me(), 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;
|
|
62
63
|
}, { deep: !0 });
|
|
63
|
-
const z = Fe(null),
|
|
64
|
-
|
|
65
|
-
|
|
64
|
+
const z = Fe(null), S = Fe(null);
|
|
65
|
+
ot(() => {
|
|
66
|
+
me();
|
|
66
67
|
});
|
|
67
|
-
function
|
|
68
|
-
if (
|
|
68
|
+
function me() {
|
|
69
|
+
if (vt(M.dataset) ? Pe({
|
|
69
70
|
componentName: "VueUiParallelCoordinatePlot",
|
|
70
71
|
type: "dataset"
|
|
71
72
|
}) : M.dataset.forEach((t, l) => {
|
|
72
|
-
|
|
73
|
+
dt({
|
|
73
74
|
datasetObject: t,
|
|
74
75
|
requiredAttributes: ["name", "series"]
|
|
75
76
|
}).forEach((a) => {
|
|
76
|
-
O.value = !1,
|
|
77
|
+
O.value = !1, Pe({
|
|
77
78
|
componentName: "VueUiParallelCoordinatePlot",
|
|
78
79
|
type: "datasetSerieAttribute",
|
|
79
80
|
property: a,
|
|
@@ -81,8 +82,8 @@ const _t = ["id"], Nt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
81
82
|
});
|
|
82
83
|
});
|
|
83
84
|
}), e.value.responsive) {
|
|
84
|
-
const t =
|
|
85
|
-
const { width: l, height: a } =
|
|
85
|
+
const t = Ct(() => {
|
|
86
|
+
const { width: l, height: a } = $t({
|
|
86
87
|
chart: W.value,
|
|
87
88
|
title: e.value.style.chart.title.text ? oe.value : null,
|
|
88
89
|
legend: e.value.style.chart.legend.show ? se.value : null,
|
|
@@ -117,17 +118,17 @@ const _t = ["id"], Nt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
117
118
|
});
|
|
118
119
|
});
|
|
119
120
|
});
|
|
120
|
-
z.value && (
|
|
121
|
+
z.value && (S.value && z.value.unobserve(S.value), z.value.disconnect()), z.value = new ResizeObserver(t), S.value = W.value.parentNode, z.value.observe(S.value);
|
|
121
122
|
}
|
|
122
123
|
}
|
|
123
|
-
|
|
124
|
-
z.value && (
|
|
124
|
+
st(() => {
|
|
125
|
+
z.value && (S.value && z.value.unobserve(S.value), z.value.disconnect());
|
|
125
126
|
});
|
|
126
|
-
const { isPrinting:
|
|
127
|
+
const { isPrinting: ye, isImaging: fe, generatePdf: ge, generateImage: be } = At({
|
|
127
128
|
elementId: `pcp_${q.value}`,
|
|
128
129
|
fileName: e.value.style.chart.title.text || "vue-ui-parallel-coordinate-plot",
|
|
129
130
|
options: e.value.userOptions.print
|
|
130
|
-
}),
|
|
131
|
+
}), qe = x(() => e.value.userOptions.show && !e.value.style.chart.title.text), h = d({
|
|
131
132
|
height: e.value.style.chart.height,
|
|
132
133
|
width: e.value.style.chart.width,
|
|
133
134
|
plotSize: e.value.style.chart.plots.radius,
|
|
@@ -136,7 +137,7 @@ const _t = ["id"], Nt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
136
137
|
// ratio 42.85
|
|
137
138
|
datapointFontSize: e.value.style.chart.yAxis.labels.datapoints.fontSize,
|
|
138
139
|
axisNameFontSize: e.value.style.chart.yAxis.labels.axisNamesFontSize
|
|
139
|
-
}),
|
|
140
|
+
}), c = x(() => {
|
|
140
141
|
const { top: t, right: l, bottom: a, left: o } = e.value.style.chart.padding, n = h.value.height, s = h.value.width;
|
|
141
142
|
return {
|
|
142
143
|
chartHeight: n,
|
|
@@ -148,7 +149,7 @@ const _t = ["id"], Nt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
148
149
|
right: s - l,
|
|
149
150
|
bottom: n - a
|
|
150
151
|
};
|
|
151
|
-
}),
|
|
152
|
+
}), Je = x(() => ht(e.value.customPalette)), p = d({
|
|
152
153
|
dataLabels: {
|
|
153
154
|
show: e.value.style.chart.yAxis.labels.datapoints.show
|
|
154
155
|
},
|
|
@@ -159,7 +160,7 @@ const _t = ["id"], Nt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
159
160
|
$.value.includes(t) ? $.value = $.value.filter((l) => l !== t) : $.value.push(t);
|
|
160
161
|
}
|
|
161
162
|
const I = x(() => M.dataset.map((t, l) => {
|
|
162
|
-
const a =
|
|
163
|
+
const a = pt(t.color) || Je.value[l] || X[l] || X[l % X.length];
|
|
163
164
|
return {
|
|
164
165
|
...t,
|
|
165
166
|
series: t.series.map((o) => ({
|
|
@@ -172,12 +173,12 @@ const _t = ["id"], Nt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
172
173
|
id: ae(),
|
|
173
174
|
shape: t.shape || "circle"
|
|
174
175
|
};
|
|
175
|
-
})),
|
|
176
|
+
})), Ke = x(() => I.value.map((t) => ({
|
|
176
177
|
...t,
|
|
177
178
|
opacity: $.value.includes(t.id) ? 0.5 : 1,
|
|
178
179
|
segregate: () => xe(t.id),
|
|
179
180
|
isSegregated: $.value.includes(t.id)
|
|
180
|
-
}))),
|
|
181
|
+
}))), Qe = x(() => ({
|
|
181
182
|
cy: "pcp-div-legend",
|
|
182
183
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
183
184
|
color: e.value.style.chart.legend.color,
|
|
@@ -186,15 +187,15 @@ const _t = ["id"], Nt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
186
187
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
187
188
|
})), ke = x(() => Math.max(
|
|
188
189
|
...I.value.filter((t) => !$.value.includes(t.id)).map((t) => Math.max(...t.series.flatMap((l) => l.values.length)))
|
|
189
|
-
)), w = x(() =>
|
|
190
|
+
)), w = x(() => c.value.width / ke.value), K = x(() => I.value.filter((t) => !$.value.includes(t.id))), b = x(() => {
|
|
190
191
|
let t = [];
|
|
191
192
|
for (let l = 0; l < ke.value; l += 1) {
|
|
192
|
-
const a = Math.min(...K.value.flatMap((
|
|
193
|
-
const
|
|
193
|
+
const a = Math.min(...K.value.flatMap((m) => m.series.map((G) => G.values[l] || 0) || 0)), o = Math.max(...K.value.flatMap((m) => m.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((m, G) => {
|
|
194
|
+
const tt = r.min < 0 ? m + Math.abs(r.min) : m - Math.abs(r.min), at = r.min < 0 ? r.max + Math.abs(r.min) : r.max - Math.abs(r.min);
|
|
194
195
|
return {
|
|
195
|
-
y:
|
|
196
|
-
x:
|
|
197
|
-
value:
|
|
196
|
+
y: c.value.bottom - c.value.height * (tt / at),
|
|
197
|
+
x: c.value.left + w.value * l + w.value / 2,
|
|
198
|
+
value: m
|
|
198
199
|
};
|
|
199
200
|
});
|
|
200
201
|
t.push({
|
|
@@ -217,8 +218,8 @@ const _t = ["id"], Nt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
217
218
|
datapointIndex: o,
|
|
218
219
|
seriesIndex: l,
|
|
219
220
|
value: n || 0,
|
|
220
|
-
x:
|
|
221
|
-
y:
|
|
221
|
+
x: c.value.left + w.value * s + w.value / 2,
|
|
222
|
+
y: c.value.bottom - c.value.height * (r / A),
|
|
222
223
|
comment: a.comments && a.comments[s] || ""
|
|
223
224
|
};
|
|
224
225
|
})
|
|
@@ -226,7 +227,7 @@ const _t = ["id"], Nt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
226
227
|
})).map((t) => ({
|
|
227
228
|
...t,
|
|
228
229
|
series: t.series.map((l) => {
|
|
229
|
-
const a =
|
|
230
|
+
const a = yt(l.datapoints), o = ft(l.datapoints), n = gt(e.value.style.chart.lines.smooth ? `M ${o}` : `M ${a}`);
|
|
230
231
|
return {
|
|
231
232
|
...l,
|
|
232
233
|
smoothPath: o,
|
|
@@ -239,7 +240,7 @@ const _t = ["id"], Nt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
239
240
|
return Oe(
|
|
240
241
|
e.value.style.chart.yAxis.labels.formatters[l] || null,
|
|
241
242
|
t,
|
|
242
|
-
|
|
243
|
+
Le({
|
|
243
244
|
p: e.value.style.chart.yAxis.labels.prefixes[l] || "",
|
|
244
245
|
v: t,
|
|
245
246
|
s: e.value.style.chart.yAxis.labels.suffixes[l] || "",
|
|
@@ -253,7 +254,7 @@ const _t = ["id"], Nt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
253
254
|
Z.value = { serie: a, relativeIndex: o, seriesIndex: n, series: I.value, scales: b.value }, D.value = !0, f.value = a.id;
|
|
254
255
|
let s = "";
|
|
255
256
|
const r = e.value.style.chart.tooltip.customFormat;
|
|
256
|
-
Ne(r) &&
|
|
257
|
+
Ne(r) && wt(() => r({
|
|
257
258
|
serie: a,
|
|
258
259
|
seriesIndex: a.seriesIndex,
|
|
259
260
|
series: I.value,
|
|
@@ -265,28 +266,28 @@ const _t = ["id"], Nt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
265
266
|
series: I.value,
|
|
266
267
|
config: e.value,
|
|
267
268
|
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,
|
|
269
|
+
}) : (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, m) => {
|
|
269
270
|
s += `
|
|
270
271
|
<div class="vue-ui-tooltip-item" style="text-align:left">
|
|
271
272
|
<span>${A}: </span>
|
|
272
273
|
<span>
|
|
273
274
|
${Oe(
|
|
274
|
-
e.value.style.chart.yAxis.labels.formatters[
|
|
275
|
-
a.datapoints[
|
|
276
|
-
|
|
277
|
-
p: e.value.style.chart.yAxis.labels.prefixes[
|
|
278
|
-
v: a.datapoints[
|
|
279
|
-
s: e.value.style.chart.yAxis.labels.suffixes[
|
|
280
|
-
r: e.value.style.chart.yAxis.labels.roundings[
|
|
275
|
+
e.value.style.chart.yAxis.labels.formatters[m] || null,
|
|
276
|
+
a.datapoints[m].value,
|
|
277
|
+
Le({
|
|
278
|
+
p: e.value.style.chart.yAxis.labels.prefixes[m] || "",
|
|
279
|
+
v: a.datapoints[m].value,
|
|
280
|
+
s: e.value.style.chart.yAxis.labels.suffixes[m] || "",
|
|
281
|
+
r: e.value.style.chart.yAxis.labels.roundings[m] || ""
|
|
281
282
|
}),
|
|
282
|
-
{ datapoint: a.datapoints[
|
|
283
|
+
{ datapoint: a.datapoints[m], seriesIndex: m }
|
|
283
284
|
)}
|
|
284
285
|
</span>
|
|
285
286
|
</div>
|
|
286
|
-
`, e.value.style.chart.comments.showInTooltip && a.datapoints[
|
|
287
|
+
`, e.value.style.chart.comments.showInTooltip && a.datapoints[m].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[m].comment}</div>`);
|
|
287
288
|
}), ee.value = `<div>${s}</div>`);
|
|
288
289
|
}
|
|
289
|
-
function
|
|
290
|
+
function Ze() {
|
|
290
291
|
return I.value;
|
|
291
292
|
}
|
|
292
293
|
const R = x(() => {
|
|
@@ -314,11 +315,11 @@ const _t = ["id"], Nt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
314
315
|
body: R.value.body
|
|
315
316
|
});
|
|
316
317
|
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 =
|
|
318
|
-
|
|
318
|
+
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 = xt(o);
|
|
319
|
+
kt({ csvContent: n, title: e.value.style.chart.title.text || "vue-ui-parallel-coordinate-plot" });
|
|
319
320
|
}
|
|
320
321
|
const Ae = Ve;
|
|
321
|
-
function
|
|
322
|
+
function et(t) {
|
|
322
323
|
Ae("selectDatapoint", t);
|
|
323
324
|
}
|
|
324
325
|
function Te(t) {
|
|
@@ -342,7 +343,7 @@ const _t = ["id"], Nt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
342
343
|
H.value = !H.value;
|
|
343
344
|
}
|
|
344
345
|
return Re({
|
|
345
|
-
getData:
|
|
346
|
+
getData: Ze,
|
|
346
347
|
generateCsv: $e,
|
|
347
348
|
generatePdf: ge,
|
|
348
349
|
generateImage: be,
|
|
@@ -353,34 +354,34 @@ const _t = ["id"], Nt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
353
354
|
}), (t, l) => (u(), i("div", {
|
|
354
355
|
ref_key: "pcpChart",
|
|
355
356
|
ref: W,
|
|
356
|
-
class: j(`vue-ui-pcp ${
|
|
357
|
+
class: j(`vue-ui-pcp ${L.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
357
358
|
style: T(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height:100%" : ""}`),
|
|
358
359
|
id: `pcp_${q.value}`,
|
|
359
|
-
onMouseenter: l[6] || (l[6] = () =>
|
|
360
|
-
onMouseleave: l[7] || (l[7] = () =>
|
|
360
|
+
onMouseenter: l[6] || (l[6] = () => v(ve)(!0)),
|
|
361
|
+
onMouseleave: l[7] || (l[7] = () => v(ve)(!1))
|
|
361
362
|
}, [
|
|
362
|
-
e.value.userOptions.buttons.annotator ? (u(),
|
|
363
|
+
e.value.userOptions.buttons.annotator ? (u(), F(v(je), {
|
|
363
364
|
key: 0,
|
|
364
|
-
svgRef:
|
|
365
|
+
svgRef: v(he),
|
|
365
366
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
366
367
|
color: e.value.style.chart.color,
|
|
367
368
|
active: H.value,
|
|
368
369
|
onClose: te
|
|
369
|
-
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) :
|
|
370
|
-
|
|
370
|
+
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : y("", !0),
|
|
371
|
+
qe.value ? (u(), i("div", {
|
|
371
372
|
key: 1,
|
|
372
373
|
ref_key: "noTitle",
|
|
373
374
|
ref: ue,
|
|
374
375
|
class: "vue-data-ui-no-title-space",
|
|
375
376
|
style: "height:36px; width: 100%;background:transparent"
|
|
376
|
-
}, null, 512)) :
|
|
377
|
+
}, null, 512)) : y("", !0),
|
|
377
378
|
e.value.style.chart.title.text ? (u(), i("div", {
|
|
378
379
|
key: 2,
|
|
379
380
|
ref_key: "chartTitle",
|
|
380
381
|
ref: oe,
|
|
381
382
|
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
382
383
|
}, [
|
|
383
|
-
(u(),
|
|
384
|
+
(u(), F(zt, {
|
|
384
385
|
key: `title_${ie.value}`,
|
|
385
386
|
config: {
|
|
386
387
|
title: {
|
|
@@ -393,14 +394,14 @@ const _t = ["id"], Nt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
393
394
|
}
|
|
394
395
|
}
|
|
395
396
|
}, null, 8, ["config"]))
|
|
396
|
-
], 512)) :
|
|
397
|
-
e.value.userOptions.show && O.value && (
|
|
397
|
+
], 512)) : y("", !0),
|
|
398
|
+
e.value.userOptions.show && O.value && (v(de) || v(J)) ? (u(), F(v(Ge), {
|
|
398
399
|
ref: "details",
|
|
399
400
|
key: `user_options_${le.value}`,
|
|
400
401
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
401
402
|
color: e.value.style.chart.color,
|
|
402
|
-
isPrinting:
|
|
403
|
-
isImaging:
|
|
403
|
+
isPrinting: v(ye),
|
|
404
|
+
isImaging: v(fe),
|
|
404
405
|
uid: q.value,
|
|
405
406
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
|
|
406
407
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
@@ -409,25 +410,25 @@ const _t = ["id"], Nt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
409
410
|
hasTable: e.value.userOptions.buttons.table,
|
|
410
411
|
hasLabel: e.value.userOptions.buttons.labels,
|
|
411
412
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
412
|
-
isFullscreen:
|
|
413
|
+
isFullscreen: L.value,
|
|
413
414
|
isTooltip: p.value.showTooltip,
|
|
414
415
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
415
416
|
chartElement: W.value,
|
|
416
417
|
position: e.value.userOptions.position,
|
|
417
418
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
418
419
|
isAnnotation: H.value,
|
|
419
|
-
onToggleFullscreen:
|
|
420
|
-
onGeneratePdf:
|
|
420
|
+
onToggleFullscreen: Ye,
|
|
421
|
+
onGeneratePdf: v(ge),
|
|
421
422
|
onGenerateCsv: $e,
|
|
422
|
-
onGenerateImage:
|
|
423
|
+
onGenerateImage: v(be),
|
|
423
424
|
onToggleTable: Me,
|
|
424
425
|
onToggleLabels: ze,
|
|
425
426
|
onToggleTooltip: Ie,
|
|
426
427
|
onToggleAnnotator: te,
|
|
427
428
|
style: T({
|
|
428
|
-
visibility:
|
|
429
|
+
visibility: v(de) ? v(J) ? "visible" : "hidden" : "visible"
|
|
429
430
|
})
|
|
430
|
-
},
|
|
431
|
+
}, nt({ _: 2 }, [
|
|
431
432
|
t.$slots.menuIcon ? {
|
|
432
433
|
name: "menuIcon",
|
|
433
434
|
fn: k(({ isOpen: a, color: o }) => [
|
|
@@ -484,41 +485,41 @@ const _t = ["id"], Nt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
484
485
|
]),
|
|
485
486
|
key: "7"
|
|
486
487
|
} : void 0
|
|
487
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) :
|
|
488
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : y("", !0),
|
|
488
489
|
O.value ? (u(), i("svg", {
|
|
489
490
|
key: 4,
|
|
490
491
|
ref_key: "svgRef",
|
|
491
492
|
ref: he,
|
|
492
|
-
xmlns:
|
|
493
|
-
class: j({ "vue-data-ui-fullscreen--on":
|
|
494
|
-
viewBox: `0 0 ${
|
|
493
|
+
xmlns: v(bt),
|
|
494
|
+
class: j({ "vue-data-ui-fullscreen--on": L.value, "vue-data-ui-fulscreen--off": !L.value }),
|
|
495
|
+
viewBox: `0 0 ${c.value.chartWidth <= 0 ? 10 : c.value.chartWidth} ${c.value.chartHeight <= 0 ? 10 : c.value.chartHeight}`,
|
|
495
496
|
style: T(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
|
|
496
497
|
}, [
|
|
497
|
-
|
|
498
|
+
_e(v(We)),
|
|
498
499
|
t.$slots["chart-background"] ? (u(), i("foreignObject", {
|
|
499
500
|
key: 0,
|
|
500
|
-
x:
|
|
501
|
-
y:
|
|
502
|
-
width:
|
|
503
|
-
height:
|
|
501
|
+
x: c.value.left,
|
|
502
|
+
y: c.value.top,
|
|
503
|
+
width: c.value.width,
|
|
504
|
+
height: c.value.height,
|
|
504
505
|
style: {
|
|
505
506
|
pointerEvents: "none"
|
|
506
507
|
}
|
|
507
508
|
}, [
|
|
508
509
|
g(t.$slots, "chart-background", {}, void 0, !0)
|
|
509
|
-
], 8, Ot)) :
|
|
510
|
-
(u(!0), i(C, null, _(b.value, (a, o) => (u(), i("g",
|
|
510
|
+
], 8, Ot)) : y("", !0),
|
|
511
|
+
(u(!0), i(C, null, _(b.value, (a, o) => (u(), i("g", Lt, [
|
|
511
512
|
N("line", {
|
|
512
|
-
x1:
|
|
513
|
-
x2:
|
|
514
|
-
y1:
|
|
515
|
-
y2:
|
|
513
|
+
x1: c.value.left + w.value * o + w.value / 2,
|
|
514
|
+
x2: c.value.left + w.value * o + w.value / 2,
|
|
515
|
+
y1: c.value.top,
|
|
516
|
+
y2: c.value.bottom,
|
|
516
517
|
stroke: e.value.style.chart.yAxis.stroke,
|
|
517
518
|
"stroke-width": e.value.style.chart.yAxis.strokeWidth
|
|
518
|
-
}, null, 8,
|
|
519
|
+
}, null, 8, St),
|
|
519
520
|
N("text", {
|
|
520
|
-
x:
|
|
521
|
-
y:
|
|
521
|
+
x: c.value.left + w.value * o + w.value / 2,
|
|
522
|
+
y: c.value.top - 24,
|
|
522
523
|
fill: e.value.style.chart.yAxis.labels.axisNamesColor,
|
|
523
524
|
"font-size": h.value.axisNameFontSize,
|
|
524
525
|
"font-weight": e.value.style.chart.yAxis.labels.axisNamesBold ? "bold" : "",
|
|
@@ -543,12 +544,12 @@ const _t = ["id"], Nt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
543
544
|
"font-weight": e.value.style.chart.yAxis.labels.ticks.bold ? "bold" : "normal",
|
|
544
545
|
style: T(`opacity:${f.value && !p.value.showTooltip ? 0.2 : 1}`)
|
|
545
546
|
}, U(we({ value: n.value, index: o, datapoint: n })), 13, Vt))), 256))
|
|
546
|
-
], 64)) :
|
|
547
|
+
], 64)) : y("", !0)
|
|
547
548
|
]))), 256)),
|
|
548
549
|
(u(!0), i(C, null, _(Q.value, (a) => (u(), i("g", null, [
|
|
549
550
|
(u(!0), i(C, null, _(a.series, (o, n) => (u(), i("g", null, [
|
|
550
551
|
e.value.style.chart.plots.show ? (u(), i("g", Et, [
|
|
551
|
-
(u(!0), i(C, null, _(o.datapoints, (s) => (u(),
|
|
552
|
+
(u(!0), i(C, null, _(o.datapoints, (s) => (u(), F(Ft, {
|
|
552
553
|
plot: { x: s.x, y: s.y },
|
|
553
554
|
color: a.color,
|
|
554
555
|
shape: a.shape,
|
|
@@ -566,9 +567,9 @@ const _t = ["id"], Nt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
566
567
|
f.value = null, D.value = !1;
|
|
567
568
|
}),
|
|
568
569
|
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: () =>
|
|
570
|
+
onClick: () => et(s)
|
|
570
571
|
}, null, 8, ["plot", "color", "shape", "radius", "stroke", "onMouseenter", "style", "onClick"]))), 256)),
|
|
571
|
-
p.value.showTooltip ?
|
|
572
|
+
p.value.showTooltip ? y("", !0) : (u(), i(C, { key: 0 }, [
|
|
572
573
|
f.value && f.value === o.id && o.datapoints.length ? (u(), i("text", {
|
|
573
574
|
key: 0,
|
|
574
575
|
x: o.datapoints[0].x - h.value.ticksFontSize,
|
|
@@ -577,7 +578,7 @@ const _t = ["id"], Nt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
577
578
|
"font-size": h.value.ticksFontSize,
|
|
578
579
|
fill: a.color,
|
|
579
580
|
"font-weight": "bold"
|
|
580
|
-
}, U(o.name), 9, Ut)) :
|
|
581
|
+
}, U(o.name), 9, Ut)) : y("", !0)
|
|
581
582
|
], 64)),
|
|
582
583
|
e.value.style.chart.comments.show ? (u(!0), i(C, { key: 1 }, _(o.datapoints, (s) => (u(), i("g", null, [
|
|
583
584
|
s.comment ? (u(), i("foreignObject", {
|
|
@@ -593,9 +594,9 @@ const _t = ["id"], Nt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
593
594
|
plot: { ...s, color: a.color }
|
|
594
595
|
}, void 0, !0)
|
|
595
596
|
])
|
|
596
|
-
], 8, Wt)) :
|
|
597
|
-
]))), 256)) :
|
|
598
|
-
])) :
|
|
597
|
+
], 8, Wt)) : y("", !0)
|
|
598
|
+
]))), 256)) : y("", !0)
|
|
599
|
+
])) : y("", !0),
|
|
599
600
|
p.value.dataLabels.show || f.value && f.value === o.id ? (u(!0), i(C, { key: 1 }, _(o.datapoints, (s, r) => (u(), i("text", {
|
|
600
601
|
x: s.x + 12 + e.value.style.chart.yAxis.labels.datapoints.offsetX,
|
|
601
602
|
y: s.y + e.value.style.chart.yAxis.labels.datapoints.offsetY + h.value.datapointFontSize / 3,
|
|
@@ -615,7 +616,7 @@ const _t = ["id"], Nt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
615
616
|
f.value = null, D.value = !1;
|
|
616
617
|
}),
|
|
617
618
|
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)) :
|
|
619
|
+
}, U(we({ value: s.value, index: r, datapoint: s })), 45, Bt))), 256)) : y("", !0),
|
|
619
620
|
N("path", {
|
|
620
621
|
d: `M${e.value.style.chart.lines.smooth ? o.smoothPath : o.straightPath}`,
|
|
621
622
|
stroke: a.color,
|
|
@@ -652,15 +653,15 @@ const _t = ["id"], Nt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
652
653
|
f.value = null, D.value = !1;
|
|
653
654
|
}),
|
|
654
655
|
style: { opacity: "0" }
|
|
655
|
-
}, null, 42, Gt)) :
|
|
656
|
+
}, null, 42, Gt)) : y("", !0)
|
|
656
657
|
]))), 256))
|
|
657
658
|
]))), 256)),
|
|
658
|
-
g(t.$slots, "svg", { svg:
|
|
659
|
-
], 14, Nt)) :
|
|
659
|
+
g(t.$slots, "svg", { svg: c.value }, void 0, !0)
|
|
660
|
+
], 14, Nt)) : y("", !0),
|
|
660
661
|
t.$slots.watermark ? (u(), i("div", Xt, [
|
|
661
|
-
g(t.$slots, "watermark", V(E({ isPrinting:
|
|
662
|
-
])) :
|
|
663
|
-
O.value ?
|
|
662
|
+
g(t.$slots, "watermark", V(E({ isPrinting: v(ye) || v(fe) })), void 0, !0)
|
|
663
|
+
])) : y("", !0),
|
|
664
|
+
O.value ? y("", !0) : (u(), F(v(Be), {
|
|
664
665
|
key: 6,
|
|
665
666
|
config: {
|
|
666
667
|
type: "parallelCoordinatePlot",
|
|
@@ -673,10 +674,10 @@ const _t = ["id"], Nt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
673
674
|
ref_key: "chartLegend",
|
|
674
675
|
ref: se
|
|
675
676
|
}, [
|
|
676
|
-
e.value.style.chart.legend.show && O.value ? (u(),
|
|
677
|
+
e.value.style.chart.legend.show && O.value ? (u(), F(It, {
|
|
677
678
|
key: `legend_${re.value}`,
|
|
678
|
-
legendSet:
|
|
679
|
-
config:
|
|
679
|
+
legendSet: Ke.value,
|
|
680
|
+
config: Qe.value,
|
|
680
681
|
onClickMarker: l[4] || (l[4] = ({ legend: a }) => {
|
|
681
682
|
xe(a.id), Te(a);
|
|
682
683
|
})
|
|
@@ -702,8 +703,8 @@ const _t = ["id"], Nt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
702
703
|
dir: "auto"
|
|
703
704
|
}, [
|
|
704
705
|
g(t.$slots, "source", {}, void 0, !0)
|
|
705
|
-
], 512)) :
|
|
706
|
-
|
|
706
|
+
], 512)) : y("", !0),
|
|
707
|
+
_e(v(He), {
|
|
707
708
|
show: p.value.showTooltip && D.value,
|
|
708
709
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
709
710
|
color: e.value.style.chart.tooltip.color,
|
|
@@ -716,8 +717,8 @@ const _t = ["id"], Nt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
716
717
|
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
717
718
|
parent: W.value,
|
|
718
719
|
content: ee.value,
|
|
719
|
-
isFullscreen:
|
|
720
|
-
isCustom:
|
|
720
|
+
isFullscreen: L.value,
|
|
721
|
+
isCustom: v(Ne)(e.value.style.chart.tooltip.customFormat)
|
|
721
722
|
}, {
|
|
722
723
|
"tooltip-before": k(() => [
|
|
723
724
|
g(t.$slots, "tooltip-before", V(E({ ...Z.value })), void 0, !0)
|
|
@@ -727,7 +728,7 @@ const _t = ["id"], Nt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
727
728
|
]),
|
|
728
729
|
_: 3
|
|
729
730
|
}, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
|
|
730
|
-
O.value ? (u(),
|
|
731
|
+
O.value ? (u(), F(v(Ee), {
|
|
731
732
|
key: 8,
|
|
732
733
|
hideDetails: "",
|
|
733
734
|
config: {
|
|
@@ -744,7 +745,7 @@ const _t = ["id"], Nt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
744
745
|
}
|
|
745
746
|
}, {
|
|
746
747
|
content: k(() => [
|
|
747
|
-
(u(),
|
|
748
|
+
(u(), F(v(Ue), {
|
|
748
749
|
key: `table_${ce.value}`,
|
|
749
750
|
colNames: R.value.colNames,
|
|
750
751
|
head: R.value.head,
|
|
@@ -757,16 +758,16 @@ const _t = ["id"], Nt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
757
758
|
N("div", { innerHTML: a }, null, 8, qt)
|
|
758
759
|
]),
|
|
759
760
|
td: k(({ td: a }) => [
|
|
760
|
-
|
|
761
|
+
ut(U(a), 1)
|
|
761
762
|
]),
|
|
762
763
|
_: 1
|
|
763
764
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
764
765
|
]),
|
|
765
766
|
_: 1
|
|
766
|
-
}, 8, ["config"])) :
|
|
767
|
-
], 46,
|
|
767
|
+
}, 8, ["config"])) : y("", !0)
|
|
768
|
+
], 46, Pt));
|
|
768
769
|
}
|
|
769
|
-
},
|
|
770
|
+
}, ia = /* @__PURE__ */ _t(Jt, [["__scopeId", "data-v-6e2cd93d"]]);
|
|
770
771
|
export {
|
|
771
|
-
|
|
772
|
+
ia as default
|
|
772
773
|
};
|