vue-data-ui 3.0.0-next.9 → 3.0.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/README.md +32 -30
- package/dist/{Arrow-B6OlqyCG.js → Arrow-DQoWnUfD.js} +1 -1
- package/dist/{BaseDraggableDialog-CA8QOk7L.js → BaseDraggableDialog-DEw6oieL.js} +4 -4
- package/dist/{BaseIcon-DxUUKVlt.js → BaseIcon-DEl03NUZ.js} +1 -1
- package/dist/{ColorPicker-Bh1dfgXt.js → ColorPicker-CrivFZqC.js} +2 -2
- package/dist/{DataTable--paavNqF.js → DataTable-ClgCsiJA.js} +2 -2
- package/dist/{Legend-BZ06qU55.js → Legend-CMvJ6X5j.js} +2 -2
- package/dist/{NonSvgPenAndPaper-DN9XjEHv.js → NonSvgPenAndPaper-B2Wvbl3p.js} +3 -3
- package/dist/{PackageVersion-2QvaZf9_.js → PackageVersion-CD5VH_Al.js} +3 -3
- package/dist/{PenAndPaper-hGgW0EHz.js → PenAndPaper-D3WRn-G2.js} +32 -32
- package/dist/{RecursiveCircles-Dn3TGoL6.js → RecursiveCircles-BcLb1aRS.js} +15 -13
- package/dist/RecursiveLabels-Bgcv0pzu.js +50 -0
- package/dist/{RecursiveLinks-ld_gDZH4.js → RecursiveLinks-00zGWPf9.js} +20 -18
- package/dist/{Shape-Mr1eIp_G.js → Shape-Adi9i_-f.js} +43 -37
- package/dist/Slicer-t6e1t2iM.js +602 -0
- package/dist/{SparkTooltip-Czhz446b.js → SparkTooltip-B8OnBSvk.js} +7 -7
- package/dist/{Title-B2dA6-uH.js → Title-xTWR-Vil.js} +1 -1
- package/dist/{Tooltip-O_hCvqgF.js → Tooltip-BH3CiANh.js} +23 -19
- package/dist/{UserOptions-Bk03FRqW.js → UserOptions-CKKPgDLV.js} +2 -2
- package/dist/{dom-to-png-Bt5F9TXw.js → dom-to-png-C4hj491O.js} +1 -1
- package/dist/{img-C_9wps3s.js → img-Vb4QHAHI.js} +1 -1
- package/dist/{index-CgShIRes.js → index-Dzc2Gi60.js} +2885 -2010
- package/dist/{pdf-CXdbjyRJ.js → pdf-ddpqw-dt.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +753 -65
- package/dist/types/vue-data-ui.d.ts +753 -65
- package/dist/useAutoSizeLabelsInsideViewbox-CN_Jh8Hr.js +81 -0
- package/dist/useFitSvgText-2crs6Fv5.js +69 -0
- package/dist/useLoading-D7YHNtLX.js +29 -0
- package/dist/useNestedProp-CjnS13nF.js +13 -0
- package/dist/usePanZoom-BVca3eMk.js +122 -0
- package/dist/{usePrinter-rIrqBbbm.js → usePrinter-DBRh8ZvS.js} +2 -2
- package/dist/useTimeLabelCollider-CIsgDrl9.js +78 -0
- package/dist/{useTimeLabels-DG97x2hL.js → useTimeLabels-DkzmKfZn.js} +208 -156
- package/dist/{vue-data-ui-DiwfJSwC.js → vue-data-ui-B7ztqj9-.js} +105 -100
- package/dist/vue-data-ui.js +26 -25
- package/dist/vue-ui-3d-bar-DUmYPtHl.js +1323 -0
- package/dist/{vue-ui-accordion-hlzscmAS.js → vue-ui-accordion-CPk8wAuj.js} +3 -3
- package/dist/vue-ui-age-pyramid-Bv5HmeXj.js +835 -0
- package/dist/{vue-ui-annotator-BHwBUNRO.js → vue-ui-annotator-KXWlIhtd.js} +12 -12
- package/dist/vue-ui-bullet-B4N4mBk9.js +571 -0
- package/dist/vue-ui-candlestick-DENvPnUO.js +1000 -0
- package/dist/{vue-ui-carousel-table-6MTDYf-H.js → vue-ui-carousel-table-vC2bHBaY.js} +29 -29
- package/dist/{vue-ui-chestnut-Cr6dK21e.js → vue-ui-chestnut-2nS0StrY.js} +664 -536
- package/dist/vue-ui-chord-CyfS6vNM.js +1038 -0
- package/dist/vue-ui-circle-pack-C4JR-0fx.js +709 -0
- package/dist/{vue-ui-cursor-Ch5yUxNn.js → vue-ui-cursor-BgeSDtQh.js} +2 -2
- package/dist/{vue-ui-dashboard-tVZ9aEHo.js → vue-ui-dashboard-9DWUBJ-I.js} +64 -64
- package/dist/{vue-ui-digits-BOlYLluF.js → vue-ui-digits-BQO7IBFA.js} +2 -2
- package/dist/{vue-ui-donut-BKwAnTKA.js → vue-ui-donut-C-ZJXJ74.js} +431 -422
- package/dist/vue-ui-donut-evolution-B870IrQA.js +1076 -0
- package/dist/vue-ui-dumbbell-Cfs2Uotx.js +1120 -0
- package/dist/vue-ui-flow-DnaUVVAD.js +841 -0
- package/dist/{vue-ui-funnel-CAV6A--C.js → vue-ui-funnel-B9s-H5ZG.js} +16 -16
- package/dist/vue-ui-galaxy-BoJOczdh.js +680 -0
- package/dist/vue-ui-gauge-qjm4BqZR.js +791 -0
- package/dist/vue-ui-gizmo-fn7ZaMTI.js +210 -0
- package/dist/vue-ui-heatmap-CIBDKhh8.js +1078 -0
- package/dist/vue-ui-history-plot-bbNxldYG.js +1074 -0
- package/dist/{vue-ui-kpi-DjHXc1Z9.js → vue-ui-kpi-BX-2jhLx.js} +26 -26
- package/dist/{vue-ui-mini-loader-C68r9wbr.js → vue-ui-mini-loader-Bn1Bb8-J.js} +2 -2
- package/dist/vue-ui-molecule-DQ3qFtBq.js +656 -0
- package/dist/vue-ui-mood-radar-Cf-ehIo1.js +785 -0
- package/dist/vue-ui-nested-donuts-CWg5BEi-.js +1284 -0
- package/dist/vue-ui-onion-sHgQTYfa.js +776 -0
- package/dist/vue-ui-parallel-coordinate-plot-Ki3ITp_s.js +916 -0
- package/dist/{vue-ui-quadrant-ULvVhjjq.js → vue-ui-quadrant-BIVqW7U7.js} +512 -459
- package/dist/vue-ui-quick-chart-C_hvHc1b.js +1762 -0
- package/dist/vue-ui-radar-RZUPyPwB.js +796 -0
- package/dist/{vue-ui-rating-CkdVnYpj.js → vue-ui-rating-BI8Vk7dO.js} +2 -2
- package/dist/vue-ui-relation-circle-TVMUEtxK.js +598 -0
- package/dist/vue-ui-ridgeline-DQeXHQG4.js +1157 -0
- package/dist/vue-ui-rings-BH81WmMS.js +728 -0
- package/dist/vue-ui-scatter-Cy7Tz_An.js +1178 -0
- package/dist/{vue-ui-skeleton-BsBaCvoE.js → vue-ui-skeleton-CF50qQxr.js} +13 -13
- package/dist/{vue-ui-smiley-B2sBY2Q-.js → vue-ui-smiley-CrFXEbJs.js} +46 -46
- package/dist/vue-ui-spark-trend-DtHArnot.js +315 -0
- package/dist/vue-ui-sparkbar-CIOwFFgA.js +351 -0
- package/dist/vue-ui-sparkgauge-E0DdGotz.js +232 -0
- package/dist/vue-ui-sparkhistogram-Dm7WoyjY.js +380 -0
- package/dist/vue-ui-sparkline-DoW6DDKT.js +513 -0
- package/dist/vue-ui-sparkstackbar-BJnPUWY4.js +421 -0
- package/dist/vue-ui-stackbar-Du42smPs.js +1371 -0
- package/dist/vue-ui-strip-plot-DnenGI-d.js +916 -0
- package/dist/{vue-ui-table-DaE8lQuo.js → vue-ui-table-BQOQVlHr.js} +17 -17
- package/dist/{vue-ui-table-heatmap--dSEG8cU.js → vue-ui-table-heatmap-BzK4_gsP.js} +5 -5
- package/dist/{vue-ui-table-sparkline-D4DkGvDP.js → vue-ui-table-sparkline-B-IwcT8I.js} +19 -16
- package/dist/vue-ui-thermometer-06ao_Pj5.js +541 -0
- package/dist/{vue-ui-timer-CYXTAh6x.js → vue-ui-timer-CxQq4roK.js} +5 -5
- package/dist/vue-ui-tiremarks-CuTxkByj.js +406 -0
- package/dist/vue-ui-treemap-BgHhRpiV.js +1035 -0
- package/dist/{vue-ui-vertical-bar-CO9eR1ty.js → vue-ui-vertical-bar-CAcsUUCo.js} +104 -102
- package/dist/vue-ui-waffle-Ct3Upw3m.js +910 -0
- package/dist/vue-ui-wheel-oz06Kt-p.js +379 -0
- package/dist/vue-ui-word-cloud-BRy7fg4S.js +765 -0
- package/dist/{vue-ui-world-P45Plcqw.js → vue-ui-world-CTV-YfFN.js} +364 -327
- package/dist/vue-ui-xy-DqCy9dpa.js +3808 -0
- package/dist/{vue-ui-xy-canvas-DgNBgUak.js → vue-ui-xy-canvas-BZdhKUIp.js} +265 -264
- package/package.json +4 -4
- package/dist/RecursiveLabels-NTMB9w5C.js +0 -49
- package/dist/Slicer-3t0HimeE.js +0 -577
- package/dist/useLoading-Bt5Doa8m.js +0 -28
- package/dist/useNestedProp-BC4Ciblw.js +0 -13
- package/dist/usePanZoom-BQMvRXEQ.js +0 -115
- package/dist/vue-ui-3d-bar-BqmzX9u4.js +0 -1227
- package/dist/vue-ui-age-pyramid-eRPt0BJb.js +0 -746
- package/dist/vue-ui-bullet-BSnF2gql.js +0 -513
- package/dist/vue-ui-candlestick-kMbNnoYe.js +0 -873
- package/dist/vue-ui-chord-Dxy_bfIE.js +0 -949
- package/dist/vue-ui-circle-pack-I_p4FPiW.js +0 -673
- package/dist/vue-ui-donut-evolution-DQhZJ4Sa.js +0 -903
- package/dist/vue-ui-dumbbell-DdN-7b3g.js +0 -753
- package/dist/vue-ui-flow-MvORTthN.js +0 -765
- package/dist/vue-ui-galaxy-B0PLMAn8.js +0 -617
- package/dist/vue-ui-gauge-C4FTzDFt.js +0 -738
- package/dist/vue-ui-gizmo-Dl5FHFb4.js +0 -192
- package/dist/vue-ui-heatmap-C3dee43W.js +0 -877
- package/dist/vue-ui-history-plot-dqv4u1Oa.js +0 -924
- package/dist/vue-ui-molecule-DtRAlfhC.js +0 -597
- package/dist/vue-ui-mood-radar-BZj2G0zE.js +0 -670
- package/dist/vue-ui-nested-donuts-OqJTwMb2.js +0 -1212
- package/dist/vue-ui-onion-DXLokGec.js +0 -701
- package/dist/vue-ui-parallel-coordinate-plot-tg7QhtIE.js +0 -807
- package/dist/vue-ui-quick-chart-4EODniQ3.js +0 -1612
- package/dist/vue-ui-radar-Dt5p5oSy.js +0 -741
- package/dist/vue-ui-relation-circle-_SysXj9T.js +0 -542
- package/dist/vue-ui-ridgeline-Cs5UihNN.js +0 -969
- package/dist/vue-ui-rings-Duay-EmS.js +0 -685
- package/dist/vue-ui-scatter-C6oGQcbL.js +0 -1045
- package/dist/vue-ui-spark-trend-CEAqGu3d.js +0 -291
- package/dist/vue-ui-sparkbar-ByPUDc6x.js +0 -301
- package/dist/vue-ui-sparkgauge-C-GKwevJ.js +0 -201
- package/dist/vue-ui-sparkhistogram-Dz0DdaVW.js +0 -313
- package/dist/vue-ui-sparkline-BULntz_U.js +0 -459
- package/dist/vue-ui-sparkstackbar-DXjHOeeU.js +0 -381
- package/dist/vue-ui-stackbar-CeP9n7zy.js +0 -1207
- package/dist/vue-ui-strip-plot-CaFQkWV8.js +0 -761
- package/dist/vue-ui-thermometer-BXf14CYH.js +0 -495
- package/dist/vue-ui-tiremarks-D6hJ1cd4.js +0 -358
- package/dist/vue-ui-treemap-tBurCrdn.js +0 -965
- package/dist/vue-ui-waffle-BNzs_BxY.js +0 -863
- package/dist/vue-ui-wheel-tydUATi8.js +0 -352
- package/dist/vue-ui-word-cloud-DUUc_tj6.js +0 -659
- package/dist/vue-ui-xy--HToGdle.js +0 -2982
|
@@ -0,0 +1,916 @@
|
|
|
1
|
+
import { defineAsyncComponent as D, computed as y, ref as d, toRefs as bt, watch as re, shallowRef as Be, onMounted as gt, onBeforeUnmount as xt, watchEffect as kt, createElementBlock as u, openBlock as n, unref as v, normalizeStyle as M, normalizeClass as V, createBlock as L, createCommentVNode as m, createElementVNode as E, createVNode as We, createSlots as wt, withCtx as w, renderSlot as b, normalizeProps as H, guardReactiveProps as B, Fragment as C, renderList as N, toDisplayString as W, createTextVNode as At } from "vue";
|
|
2
|
+
import { u as Ct, c as ce, t as $t, a as Tt, p as J, b as zt, o as Ue, f as Ve, g as Mt, d as Nt, e as Ft, D as _t, U as It, V as Lt, W as Pt, X as Ot, I as St, y as je, E as K, v as Rt, w as Dt, k as Ge, i as Xe, z as Et } from "./index-Dzc2Gi60.js";
|
|
3
|
+
import { t as Ye, u as Ht } from "./useResponsive-DfdjqQps.js";
|
|
4
|
+
import { u as Bt } from "./usePrinter-DBRh8ZvS.js";
|
|
5
|
+
import { u as Wt, B as Ut } from "./useLoading-D7YHNtLX.js";
|
|
6
|
+
import { u as qe } from "./useNestedProp-CjnS13nF.js";
|
|
7
|
+
import { u as Vt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
8
|
+
import { u as jt } from "./useChartAccessibility-9icAAmYg.js";
|
|
9
|
+
import { u as Gt } from "./useTimeLabelCollider-CIsgDrl9.js";
|
|
10
|
+
import Xt from "./Title-xTWR-Vil.js";
|
|
11
|
+
import Yt from "./Legend-CMvJ6X5j.js";
|
|
12
|
+
import { _ as qt } from "./Shape-Adi9i_-f.js";
|
|
13
|
+
import Jt from "./img-Vb4QHAHI.js";
|
|
14
|
+
import { _ as Kt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
15
|
+
const Qt = ["id"], Zt = ["xmlns", "viewBox"], ea = ["x", "y", "width", "height"], ta = { style: { "pointer-events": "none" } }, aa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], la = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], oa = { key: 0 }, sa = ["x", "y", "fill", "font-size", "font-weight"], na = ["fill", "font-size", "font-weight", "text-anchor", "transform"], ia = ["fill", "font-size", "font-weight", "text-anchor", "transform", "innerHTML"], ua = { key: 0 }, ra = ["x", "y", "font-size", "fill"], ca = ["width", "x", "y"], va = { style: { width: "100%" } }, da = ["x", "y", "fill", "font-weight", "font-size", "onMouseenter", "onMouseleave", "onClick"], ha = ["d", "stroke", "stroke-width", "onMouseenter", "onMouseleave", "onClick"], pa = ["d", "onMouseenter", "onMouseleave", "onClick"], ma = {
|
|
16
|
+
key: 4,
|
|
17
|
+
class: "vue-data-ui-watermark"
|
|
18
|
+
}, ya = ["onClick"], fa = ["innerHTML"], ba = {
|
|
19
|
+
__name: "vue-ui-parallel-coordinate-plot",
|
|
20
|
+
props: {
|
|
21
|
+
config: {
|
|
22
|
+
type: Object,
|
|
23
|
+
default() {
|
|
24
|
+
return {};
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
dataset: {
|
|
28
|
+
type: Array,
|
|
29
|
+
default() {
|
|
30
|
+
return [];
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
emits: ["selectLegend", "selectDatapoint"],
|
|
35
|
+
setup(Je, { expose: Ke, emit: Qe }) {
|
|
36
|
+
const Ze = D(() => import("./vue-ui-accordion-CPk8wAuj.js")), et = D(() => import("./DataTable-ClgCsiJA.js")), tt = D(() => import("./PackageVersion-CD5VH_Al.js")), at = D(() => import("./PenAndPaper-D3WRn-G2.js")), lt = D(() => import("./Tooltip-BH3CiANh.js")), ot = D(() => import("./UserOptions-CKKPgDLV.js")), { vue_ui_parallel_coordinate_plot: st } = Ct(), $ = Je, j = y({
|
|
37
|
+
get() {
|
|
38
|
+
return !!$.dataset && $.dataset.length;
|
|
39
|
+
},
|
|
40
|
+
set(a) {
|
|
41
|
+
return a;
|
|
42
|
+
}
|
|
43
|
+
}), ve = d(0), F = d(null), de = d(null), he = d(null), pe = d(null), me = d(null), ye = d(0), fe = d(0), be = d(0), Q = d(null), Z = d(ce()), O = d(!1);
|
|
44
|
+
function ge(a) {
|
|
45
|
+
O.value = a, ve.value += 1;
|
|
46
|
+
}
|
|
47
|
+
const e = d(ae()), { loading: P, FINAL_DATASET: nt, manualLoading: ee } = Wt({
|
|
48
|
+
...bt($),
|
|
49
|
+
FINAL_CONFIG: e,
|
|
50
|
+
prepareConfig: ae,
|
|
51
|
+
skeletonDataset: [
|
|
52
|
+
{
|
|
53
|
+
name: "",
|
|
54
|
+
shape: "circle",
|
|
55
|
+
color: "transparent",
|
|
56
|
+
series: [
|
|
57
|
+
{
|
|
58
|
+
name: "",
|
|
59
|
+
values: [1, 10, 100, 1e3]
|
|
60
|
+
}
|
|
61
|
+
]
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
name: "",
|
|
65
|
+
shape: "circle",
|
|
66
|
+
color: "#CACACA",
|
|
67
|
+
series: [
|
|
68
|
+
{
|
|
69
|
+
name: "",
|
|
70
|
+
values: [0.2, 3, 50, 800]
|
|
71
|
+
}
|
|
72
|
+
]
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
name: "",
|
|
76
|
+
shape: "circle",
|
|
77
|
+
color: "transparent",
|
|
78
|
+
series: [
|
|
79
|
+
{
|
|
80
|
+
name: "",
|
|
81
|
+
values: [0, 0, 0, 0]
|
|
82
|
+
}
|
|
83
|
+
]
|
|
84
|
+
}
|
|
85
|
+
],
|
|
86
|
+
skeletonConfig: $t({
|
|
87
|
+
defaultConfig: e.value,
|
|
88
|
+
userConfig: {
|
|
89
|
+
useCssAnimation: !1,
|
|
90
|
+
userOptions: { show: !1 },
|
|
91
|
+
table: { show: !1 },
|
|
92
|
+
style: {
|
|
93
|
+
chart: {
|
|
94
|
+
backgroundColor: "#99999930",
|
|
95
|
+
legend: {
|
|
96
|
+
show: !0,
|
|
97
|
+
backgroundColor: "transparent"
|
|
98
|
+
},
|
|
99
|
+
yAxis: {
|
|
100
|
+
stroke: "#6A6A6A",
|
|
101
|
+
labels: {
|
|
102
|
+
showAxisNames: !1,
|
|
103
|
+
axisNames: [],
|
|
104
|
+
ticks: {
|
|
105
|
+
color: "#6A6A6A"
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
})
|
|
113
|
+
}), { userOptionsVisible: te, setUserOptionsVisibility: xe, keepUserOptionState: ke } = Vt({ config: e.value }), { svgRef: we } = jt({ config: e.value.style.chart.title });
|
|
114
|
+
function ae() {
|
|
115
|
+
const a = qe({
|
|
116
|
+
userConfig: $.config,
|
|
117
|
+
defaultConfig: st
|
|
118
|
+
});
|
|
119
|
+
return a.theme ? {
|
|
120
|
+
...qe({
|
|
121
|
+
userConfig: zt.vue_ui_parallel_coordinate_plot[a.theme] || $.config,
|
|
122
|
+
defaultConfig: a
|
|
123
|
+
}),
|
|
124
|
+
customPalette: Tt[a.theme] || J
|
|
125
|
+
} : a;
|
|
126
|
+
}
|
|
127
|
+
re(() => $.config, (a) => {
|
|
128
|
+
P.value || (e.value = ae()), te.value = !e.value.userOptions.showOnChartHover, Ce(), ye.value += 1, be.value += 1, fe.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;
|
|
129
|
+
}, { deep: !0 }), re(() => $.dataset, (a) => {
|
|
130
|
+
Array.isArray(a) && a.length > 0 && (ee.value = !1);
|
|
131
|
+
}, { deep: !0 });
|
|
132
|
+
const _ = Be(null), S = Be(null);
|
|
133
|
+
gt(() => {
|
|
134
|
+
Ce();
|
|
135
|
+
});
|
|
136
|
+
const Ae = y(() => !!e.value.debug);
|
|
137
|
+
function Ce() {
|
|
138
|
+
if (Ue($.dataset) ? (Ve({
|
|
139
|
+
componentName: "VueUiParallelCoordinatePlot",
|
|
140
|
+
type: "dataset",
|
|
141
|
+
debug: Ae.value
|
|
142
|
+
}), ee.value = !0) : $.dataset.forEach((a, o) => {
|
|
143
|
+
Mt({
|
|
144
|
+
datasetObject: a,
|
|
145
|
+
requiredAttributes: ["name", "series"]
|
|
146
|
+
}).forEach((t) => {
|
|
147
|
+
j.value = !1, Ve({
|
|
148
|
+
componentName: "VueUiParallelCoordinatePlot",
|
|
149
|
+
type: "datasetSerieAttribute",
|
|
150
|
+
property: t,
|
|
151
|
+
index: o,
|
|
152
|
+
debug: Ae.value
|
|
153
|
+
});
|
|
154
|
+
});
|
|
155
|
+
}), Ue($.dataset) || (ee.value = e.value.loading), e.value.responsive) {
|
|
156
|
+
const a = Ye(() => {
|
|
157
|
+
const { width: o, height: t } = Ht({
|
|
158
|
+
chart: F.value,
|
|
159
|
+
title: e.value.style.chart.title.text ? de.value : null,
|
|
160
|
+
legend: e.value.style.chart.legend.show ? he.value : null,
|
|
161
|
+
source: pe.value,
|
|
162
|
+
noTitle: me.value
|
|
163
|
+
});
|
|
164
|
+
requestAnimationFrame(() => {
|
|
165
|
+
c.value.width = o, c.value.height = t - 12, e.value.responsiveProportionalSizing ? (c.value.plotSize = K({
|
|
166
|
+
relator: Math.min(o, t),
|
|
167
|
+
adjuster: 600,
|
|
168
|
+
source: e.value.style.chart.plots.radius,
|
|
169
|
+
threshold: 2,
|
|
170
|
+
fallback: 2
|
|
171
|
+
}), c.value.ticksFontSize = K({
|
|
172
|
+
relator: Math.min(o, t),
|
|
173
|
+
adjuster: 600,
|
|
174
|
+
source: e.value.style.chart.yAxis.labels.ticks.fontSize,
|
|
175
|
+
threshold: 10,
|
|
176
|
+
fallback: 10
|
|
177
|
+
}), c.value.datapointFontSize = K({
|
|
178
|
+
relator: Math.min(o, t),
|
|
179
|
+
adjuster: 600,
|
|
180
|
+
source: e.value.style.chart.yAxis.labels.datapoints.fontSize,
|
|
181
|
+
threshold: 10,
|
|
182
|
+
fallback: 10
|
|
183
|
+
}), c.value.axisNameFontSize = K({
|
|
184
|
+
relator: Math.min(o, t),
|
|
185
|
+
adjuster: 600,
|
|
186
|
+
source: e.value.style.chart.yAxis.labels.axisNamesFontSize,
|
|
187
|
+
threshold: 12,
|
|
188
|
+
fallback: 12
|
|
189
|
+
})) : (c.value.plotSize = e.value.style.chart.plots.radius, c.value.ticksFontSize = e.value.style.chart.yAxis.labels.ticks.fontSize, c.value.datapointFontSize = e.value.style.chart.yAxis.labels.datapoints.fontSize, c.value.axisNameFontSize = e.value.style.chart.yAxis.labels.axisNamesFontSize);
|
|
190
|
+
});
|
|
191
|
+
});
|
|
192
|
+
_.value && (S.value && _.value.unobserve(S.value), _.value.disconnect()), _.value = new ResizeObserver(a), S.value = F.value.parentNode, _.value.observe(S.value);
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
xt(() => {
|
|
196
|
+
_.value && (S.value && _.value.unobserve(S.value), _.value.disconnect());
|
|
197
|
+
});
|
|
198
|
+
const { isPrinting: $e, isImaging: Te, generatePdf: ze, generateImage: Me } = Bt({
|
|
199
|
+
elementId: `pcp_${Z.value}`,
|
|
200
|
+
fileName: e.value.style.chart.title.text || "vue-ui-parallel-coordinate-plot",
|
|
201
|
+
options: e.value.userOptions.print
|
|
202
|
+
}), it = y(() => e.value.userOptions.show && !e.value.style.chart.title.text), c = d({
|
|
203
|
+
height: e.value.style.chart.height,
|
|
204
|
+
width: e.value.style.chart.width,
|
|
205
|
+
plotSize: e.value.style.chart.plots.radius,
|
|
206
|
+
// ratio 100
|
|
207
|
+
ticksFontSize: e.value.style.chart.yAxis.labels.ticks.fontSize,
|
|
208
|
+
// ratio 42.85
|
|
209
|
+
datapointFontSize: e.value.style.chart.yAxis.labels.datapoints.fontSize,
|
|
210
|
+
axisNameFontSize: e.value.style.chart.yAxis.labels.axisNamesFontSize
|
|
211
|
+
}), Ne = y(() => c.value.width), Fe = y(() => c.value.height), U = d(0), ut = Ye((a) => {
|
|
212
|
+
U.value = a;
|
|
213
|
+
}, 100);
|
|
214
|
+
kt((a) => {
|
|
215
|
+
const o = Q.value;
|
|
216
|
+
if (!o) return;
|
|
217
|
+
const t = new ResizeObserver((s) => {
|
|
218
|
+
ut(s[0].contentRect.height);
|
|
219
|
+
});
|
|
220
|
+
t.observe(o), a(() => t.disconnect());
|
|
221
|
+
});
|
|
222
|
+
const h = y(() => {
|
|
223
|
+
const { top: a, right: o, bottom: t, left: s } = e.value.style.chart.padding, l = Fe.value, r = Ne.value;
|
|
224
|
+
return {
|
|
225
|
+
chartHeight: Math.max(1e-3, l),
|
|
226
|
+
chartWidth: Math.max(1e-3, r),
|
|
227
|
+
height: Math.max(1e-3, l - a - t - U.value - c.value.datapointFontSize * 2),
|
|
228
|
+
width: Math.max(1e-3, r - s - o),
|
|
229
|
+
top: a + U.value + c.value.datapointFontSize,
|
|
230
|
+
left: s,
|
|
231
|
+
right: r - o,
|
|
232
|
+
bottom: l - t - c.value.datapointFontSize
|
|
233
|
+
};
|
|
234
|
+
}), rt = y(() => Nt(e.value.customPalette)), p = d({
|
|
235
|
+
dataLabels: {
|
|
236
|
+
show: e.value.style.chart.yAxis.labels.datapoints.show
|
|
237
|
+
},
|
|
238
|
+
showTable: e.value.table.show,
|
|
239
|
+
showTooltip: e.value.style.chart.tooltip.show
|
|
240
|
+
});
|
|
241
|
+
re(e, () => {
|
|
242
|
+
p.value = {
|
|
243
|
+
dataLabels: {
|
|
244
|
+
show: e.value.style.chart.yAxis.labels.datapoints.show
|
|
245
|
+
},
|
|
246
|
+
showTable: e.value.table.show,
|
|
247
|
+
showTooltip: e.value.style.chart.tooltip.show
|
|
248
|
+
};
|
|
249
|
+
}, { immediate: !0 });
|
|
250
|
+
const z = d([]);
|
|
251
|
+
function _e(a) {
|
|
252
|
+
z.value.includes(a) ? z.value = z.value.filter((o) => o !== a) : z.value.push(a);
|
|
253
|
+
}
|
|
254
|
+
const I = y(() => nt.value.map((a, o) => {
|
|
255
|
+
const t = Ft(a.color) || rt.value[o] || J[o] || J[o % J.length];
|
|
256
|
+
return {
|
|
257
|
+
...a,
|
|
258
|
+
series: a.series.map((s) => ({
|
|
259
|
+
...s,
|
|
260
|
+
id: ce(),
|
|
261
|
+
color: t
|
|
262
|
+
})),
|
|
263
|
+
seriesIndex: o,
|
|
264
|
+
color: t,
|
|
265
|
+
id: ce(),
|
|
266
|
+
shape: a.shape || "circle"
|
|
267
|
+
};
|
|
268
|
+
})), ct = y(() => I.value.map((a) => ({
|
|
269
|
+
...a,
|
|
270
|
+
opacity: z.value.includes(a.id) ? 0.5 : 1,
|
|
271
|
+
segregate: () => _e(a.id),
|
|
272
|
+
isSegregated: z.value.includes(a.id)
|
|
273
|
+
}))), vt = y(() => ({
|
|
274
|
+
cy: "pcp-div-legend",
|
|
275
|
+
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
276
|
+
color: e.value.style.chart.legend.color,
|
|
277
|
+
fontSize: e.value.style.chart.legend.fontSize,
|
|
278
|
+
paddingBottom: 12,
|
|
279
|
+
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
280
|
+
})), Ie = y(() => Math.max(
|
|
281
|
+
...I.value.filter((a) => !z.value.includes(a.id)).map((a) => Math.max(...a.series.flatMap((o) => o.values.length)))
|
|
282
|
+
)), A = y(() => h.value.width / Ie.value), le = y(() => I.value.filter((a) => !z.value.includes(a.id))), f = y(() => {
|
|
283
|
+
let a = [];
|
|
284
|
+
for (let o = 0; o < Ie.value; o += 1) {
|
|
285
|
+
const t = Math.min(...le.value.flatMap((g) => g.series.map((x) => x.values[o] || 0) || 0)), s = Math.max(...le.value.flatMap((g) => g.series.map((x) => x.values[o] || 0) || 0)), l = s === t ? t / 4 : t, r = s === t ? s * 2 : s, i = _t(l, r, e.value.style.chart.yAxis.scaleTicks), T = i.ticks.map((g, x) => {
|
|
286
|
+
const yt = i.min < 0 ? g + Math.abs(i.min) : g - Math.abs(i.min), ft = i.min < 0 ? i.max + Math.abs(i.min) : i.max - Math.abs(i.min);
|
|
287
|
+
return {
|
|
288
|
+
y: h.value.bottom - h.value.height * (yt / ft),
|
|
289
|
+
x: h.value.left + A.value * o + A.value / 2,
|
|
290
|
+
value: g
|
|
291
|
+
};
|
|
292
|
+
});
|
|
293
|
+
a.push({
|
|
294
|
+
scale: i,
|
|
295
|
+
ticks: T,
|
|
296
|
+
name: e.value.style.chart.yAxis.labels.axisNames[o] || `Y-${o + 1}`
|
|
297
|
+
});
|
|
298
|
+
}
|
|
299
|
+
return a;
|
|
300
|
+
}), oe = y(() => le.value.map((a, o) => ({
|
|
301
|
+
...a,
|
|
302
|
+
series: a.series.map((t, s) => ({
|
|
303
|
+
...t,
|
|
304
|
+
datapoints: t.values.map((l, r) => {
|
|
305
|
+
const i = f.value[r].scale.min < 0 ? (l || 0) + Math.abs(f.value[r].scale.min) : (l || 0) - Math.abs(f.value[r].scale.min), T = f.value[r].scale.min < 0 ? f.value[r].scale.max + Math.abs(f.value[r].scale.min) : f.value[r].scale.max - Math.abs(f.value[r].scale.min);
|
|
306
|
+
return {
|
|
307
|
+
name: t.name,
|
|
308
|
+
seriesName: a.name,
|
|
309
|
+
axisIndex: r,
|
|
310
|
+
datapointIndex: s,
|
|
311
|
+
seriesIndex: o,
|
|
312
|
+
value: l || 0,
|
|
313
|
+
x: h.value.left + A.value * r + A.value / 2,
|
|
314
|
+
y: h.value.bottom - h.value.height * (i / T),
|
|
315
|
+
comment: t.comments && t.comments[r] || ""
|
|
316
|
+
};
|
|
317
|
+
})
|
|
318
|
+
}))
|
|
319
|
+
})).map((a) => ({
|
|
320
|
+
...a,
|
|
321
|
+
series: a.series.map((o) => {
|
|
322
|
+
const t = It(o.datapoints), s = Lt(o.datapoints), l = Pt(e.value.style.chart.lines.smooth ? `M ${s}` : `M ${t}`);
|
|
323
|
+
return {
|
|
324
|
+
...o,
|
|
325
|
+
smoothPath: s,
|
|
326
|
+
straightPath: t,
|
|
327
|
+
pathLength: l
|
|
328
|
+
};
|
|
329
|
+
})
|
|
330
|
+
})));
|
|
331
|
+
function Le({ value: a, index: o, datapoint: t }) {
|
|
332
|
+
return Ge(
|
|
333
|
+
e.value.style.chart.yAxis.labels.formatters[o] || null,
|
|
334
|
+
a,
|
|
335
|
+
Xe({
|
|
336
|
+
p: e.value.style.chart.yAxis.labels.prefixes[o] || "",
|
|
337
|
+
v: a,
|
|
338
|
+
s: e.value.style.chart.yAxis.labels.suffixes[o] || "",
|
|
339
|
+
r: e.value.style.chart.yAxis.labels.roundings[o] || 0
|
|
340
|
+
}),
|
|
341
|
+
{ datapoint: t, seriesIndex: o }
|
|
342
|
+
);
|
|
343
|
+
}
|
|
344
|
+
const k = d(null), se = d(null), ne = d(!1), ie = d("");
|
|
345
|
+
function G({ shape: a, serie: o, S: t }) {
|
|
346
|
+
e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: { ...o, shape: a }, seriesIndex: t }), k.value = null, ne.value = null;
|
|
347
|
+
}
|
|
348
|
+
function X({ shape: a, serieName: o, serie: t, relativeIndex: s, seriesIndex: l, S: r }) {
|
|
349
|
+
e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: { ...t, shape: a }, seriesIndex: r }), se.value = { serie: t, relativeIndex: s, seriesIndex: l, series: I.value, scales: f.value }, ne.value = !0, k.value = t.id;
|
|
350
|
+
let i = "";
|
|
351
|
+
const T = e.value.style.chart.tooltip.customFormat;
|
|
352
|
+
je(T) && Et(() => T({
|
|
353
|
+
serie: t,
|
|
354
|
+
seriesIndex: t.seriesIndex,
|
|
355
|
+
series: I.value,
|
|
356
|
+
config: e.value,
|
|
357
|
+
scales: f.value
|
|
358
|
+
})) ? ie.value = T({
|
|
359
|
+
serie: t,
|
|
360
|
+
seriesIndex: t.seriesIndex,
|
|
361
|
+
series: I.value,
|
|
362
|
+
config: e.value,
|
|
363
|
+
scales: f.value
|
|
364
|
+
}) : (i += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${o ? o + " - " : ""}${t.name}</div>`, f.value.map((g) => g.name).forEach((g, x) => {
|
|
365
|
+
i += `
|
|
366
|
+
<div class="vue-ui-tooltip-item" style="text-align:left">
|
|
367
|
+
<span>${g}: </span>
|
|
368
|
+
<span>
|
|
369
|
+
${Ge(
|
|
370
|
+
e.value.style.chart.yAxis.labels.formatters[x] || null,
|
|
371
|
+
t.datapoints[x].value,
|
|
372
|
+
Xe({
|
|
373
|
+
p: e.value.style.chart.yAxis.labels.prefixes[x] || "",
|
|
374
|
+
v: t.datapoints[x].value,
|
|
375
|
+
s: e.value.style.chart.yAxis.labels.suffixes[x] || "",
|
|
376
|
+
r: e.value.style.chart.yAxis.labels.roundings[x] || ""
|
|
377
|
+
}),
|
|
378
|
+
{ datapoint: t.datapoints[x], seriesIndex: x }
|
|
379
|
+
)}
|
|
380
|
+
</span>
|
|
381
|
+
</div>
|
|
382
|
+
`, e.value.style.chart.comments.showInTooltip && t.datapoints[x].comment && (i += `<div class="vue-data-ui-tooltip-comment" style="background:${t.color}20; padding: 6px; margin-bottom: 6px; border-left: 1px solid ${t.color}">${t.datapoints[x].comment}</div>`);
|
|
383
|
+
}), ie.value = `<div>${i}</div>`);
|
|
384
|
+
}
|
|
385
|
+
function dt() {
|
|
386
|
+
return I.value;
|
|
387
|
+
}
|
|
388
|
+
const R = y(() => {
|
|
389
|
+
const a = [e.value.table.columnNames.series].concat([e.value.table.columnNames.item]).concat(f.value.map((l) => l.name)), o = oe.value.flatMap((l, r) => l.series.map((i) => [l.name].concat([i.name]).concat(i.values))), t = {
|
|
390
|
+
th: {
|
|
391
|
+
backgroundColor: e.value.table.th.backgroundColor,
|
|
392
|
+
color: e.value.table.th.color,
|
|
393
|
+
outline: e.value.table.th.outline
|
|
394
|
+
},
|
|
395
|
+
td: {
|
|
396
|
+
backgroundColor: e.value.table.td.backgroundColor,
|
|
397
|
+
color: e.value.table.td.color,
|
|
398
|
+
outline: e.value.table.td.outline
|
|
399
|
+
},
|
|
400
|
+
breakpoint: e.value.table.responsiveBreakpoint
|
|
401
|
+
}, s = [e.value.table.columnNames.series].concat([e.value.table.columnNames.item]).concat(f.value.map((l) => l.name));
|
|
402
|
+
return {
|
|
403
|
+
body: o,
|
|
404
|
+
head: a,
|
|
405
|
+
config: t,
|
|
406
|
+
colNames: s
|
|
407
|
+
};
|
|
408
|
+
}), Pe = y(() => oe.value.length === 0 ? { head: [], body: [], config: {}, columnNames: [] } : {
|
|
409
|
+
head: R.value.head,
|
|
410
|
+
body: R.value.body
|
|
411
|
+
});
|
|
412
|
+
function Oe(a = null) {
|
|
413
|
+
const o = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], t = Pe.value.head, s = Pe.value.body, l = o.concat([t]).concat(s), r = Rt(l);
|
|
414
|
+
a ? a(r) : Dt({ csvContent: r, title: e.value.style.chart.title.text || "vue-ui-parallel-coordinate-plot" });
|
|
415
|
+
}
|
|
416
|
+
const Se = Qe;
|
|
417
|
+
function Y({ serie: a, shape: o, S: t }) {
|
|
418
|
+
e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: { ...a, shape: o }, seriesIndex: t }), Se("selectDatapoint", a);
|
|
419
|
+
}
|
|
420
|
+
function Re(a) {
|
|
421
|
+
Se("selectLegend", {
|
|
422
|
+
...a,
|
|
423
|
+
isSegregated: !a.isSegregated,
|
|
424
|
+
opacity: a.isSegregated ? 1 : 0.5
|
|
425
|
+
});
|
|
426
|
+
}
|
|
427
|
+
function De() {
|
|
428
|
+
p.value.showTable = !p.value.showTable;
|
|
429
|
+
}
|
|
430
|
+
function Ee() {
|
|
431
|
+
p.value.dataLabels.show = !p.value.dataLabels.show;
|
|
432
|
+
}
|
|
433
|
+
function He() {
|
|
434
|
+
p.value.showTooltip = !p.value.showTooltip;
|
|
435
|
+
}
|
|
436
|
+
const q = d(!1);
|
|
437
|
+
function ue() {
|
|
438
|
+
q.value = !q.value;
|
|
439
|
+
}
|
|
440
|
+
async function ht({ scale: a = 2 } = {}) {
|
|
441
|
+
if (!F.value) return;
|
|
442
|
+
const { width: o, height: t } = F.value.getBoundingClientRect(), s = o / t, { imageUri: l, base64: r } = await Jt({ domElement: F.value, base64: !0, img: !0, scale: a });
|
|
443
|
+
return {
|
|
444
|
+
imageUri: l,
|
|
445
|
+
base64: r,
|
|
446
|
+
title: e.value.style.chart.title.text,
|
|
447
|
+
width: o,
|
|
448
|
+
height: t,
|
|
449
|
+
aspectRatio: s
|
|
450
|
+
};
|
|
451
|
+
}
|
|
452
|
+
const pt = d({ start: 0, end: 1 }), mt = y(() => f.value.map((a) => a.name));
|
|
453
|
+
return Gt({
|
|
454
|
+
timeLabelsEls: Q,
|
|
455
|
+
timeLabels: mt,
|
|
456
|
+
slicer: pt,
|
|
457
|
+
configRef: e,
|
|
458
|
+
rotationPath: ["style", "chart", "yAxis", "labels", "axisNamesRotation"],
|
|
459
|
+
autoRotatePath: ["style", "chart", "yAxis", "labels", "axisNamesAutoRotate", "enable"],
|
|
460
|
+
isAutoSize: !1,
|
|
461
|
+
width: Ne,
|
|
462
|
+
height: Fe,
|
|
463
|
+
targetClass: ".vue-ui-parallel-coordinate-plot-x-label",
|
|
464
|
+
rotation: e.value.style.chart.yAxis.labels.axisNamesAutoRotate.angle
|
|
465
|
+
}), Ke({
|
|
466
|
+
getData: dt,
|
|
467
|
+
getImage: ht,
|
|
468
|
+
generateCsv: Oe,
|
|
469
|
+
generatePdf: ze,
|
|
470
|
+
generateImage: Me,
|
|
471
|
+
toggleTable: De,
|
|
472
|
+
toggleLabels: Ee,
|
|
473
|
+
toggleTooltip: He,
|
|
474
|
+
toggleAnnotator: ue,
|
|
475
|
+
toggleFullscreen: ge
|
|
476
|
+
}), (a, o) => (n(), u("div", {
|
|
477
|
+
ref_key: "pcpChart",
|
|
478
|
+
ref: F,
|
|
479
|
+
class: V(`vue-ui-pcp ${O.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
480
|
+
style: M(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height:100%" : ""}`),
|
|
481
|
+
id: `pcp_${Z.value}`,
|
|
482
|
+
onMouseenter: o[2] || (o[2] = () => v(xe)(!0)),
|
|
483
|
+
onMouseleave: o[3] || (o[3] = () => v(xe)(!1))
|
|
484
|
+
}, [
|
|
485
|
+
e.value.userOptions.buttons.annotator ? (n(), L(v(at), {
|
|
486
|
+
key: 0,
|
|
487
|
+
svgRef: v(we),
|
|
488
|
+
backgroundColor: e.value.style.chart.backgroundColor,
|
|
489
|
+
color: e.value.style.chart.color,
|
|
490
|
+
active: q.value,
|
|
491
|
+
onClose: ue
|
|
492
|
+
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : m("", !0),
|
|
493
|
+
it.value ? (n(), u("div", {
|
|
494
|
+
key: 1,
|
|
495
|
+
ref_key: "noTitle",
|
|
496
|
+
ref: me,
|
|
497
|
+
class: "vue-data-ui-no-title-space",
|
|
498
|
+
style: "height:36px; width: 100%;background:transparent"
|
|
499
|
+
}, null, 512)) : m("", !0),
|
|
500
|
+
e.value.style.chart.title.text ? (n(), u("div", {
|
|
501
|
+
key: 2,
|
|
502
|
+
ref_key: "chartTitle",
|
|
503
|
+
ref: de,
|
|
504
|
+
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
505
|
+
}, [
|
|
506
|
+
(n(), L(Xt, {
|
|
507
|
+
key: `title_${ye.value}`,
|
|
508
|
+
config: {
|
|
509
|
+
title: {
|
|
510
|
+
cy: "pcp-div-title",
|
|
511
|
+
...e.value.style.chart.title
|
|
512
|
+
},
|
|
513
|
+
subtitle: {
|
|
514
|
+
cy: "pcp-div-subtitle",
|
|
515
|
+
...e.value.style.chart.title.subtitle
|
|
516
|
+
}
|
|
517
|
+
}
|
|
518
|
+
}, null, 8, ["config"]))
|
|
519
|
+
], 512)) : m("", !0),
|
|
520
|
+
e.value.userOptions.show && j.value && (v(ke) || v(te)) ? (n(), L(v(ot), {
|
|
521
|
+
ref: "details",
|
|
522
|
+
key: `user_options_${ve.value}`,
|
|
523
|
+
backgroundColor: e.value.style.chart.backgroundColor,
|
|
524
|
+
color: e.value.style.chart.color,
|
|
525
|
+
isPrinting: v($e),
|
|
526
|
+
isImaging: v(Te),
|
|
527
|
+
uid: Z.value,
|
|
528
|
+
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
|
|
529
|
+
hasPdf: e.value.userOptions.buttons.pdf,
|
|
530
|
+
hasXls: e.value.userOptions.buttons.csv,
|
|
531
|
+
hasImg: e.value.userOptions.buttons.img,
|
|
532
|
+
hasTable: e.value.userOptions.buttons.table,
|
|
533
|
+
hasLabel: e.value.userOptions.buttons.labels,
|
|
534
|
+
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
535
|
+
isFullscreen: O.value,
|
|
536
|
+
isTooltip: p.value.showTooltip,
|
|
537
|
+
titles: { ...e.value.userOptions.buttonTitles },
|
|
538
|
+
chartElement: F.value,
|
|
539
|
+
position: e.value.userOptions.position,
|
|
540
|
+
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
541
|
+
isAnnotation: q.value,
|
|
542
|
+
callbacks: e.value.userOptions.callbacks,
|
|
543
|
+
printScale: e.value.userOptions.print.scale,
|
|
544
|
+
onToggleFullscreen: ge,
|
|
545
|
+
onGeneratePdf: v(ze),
|
|
546
|
+
onGenerateCsv: Oe,
|
|
547
|
+
onGenerateImage: v(Me),
|
|
548
|
+
onToggleTable: De,
|
|
549
|
+
onToggleLabels: Ee,
|
|
550
|
+
onToggleTooltip: He,
|
|
551
|
+
onToggleAnnotator: ue,
|
|
552
|
+
style: M({
|
|
553
|
+
visibility: v(ke) ? v(te) ? "visible" : "hidden" : "visible"
|
|
554
|
+
})
|
|
555
|
+
}, wt({ _: 2 }, [
|
|
556
|
+
a.$slots.menuIcon ? {
|
|
557
|
+
name: "menuIcon",
|
|
558
|
+
fn: w(({ isOpen: t, color: s }) => [
|
|
559
|
+
b(a.$slots, "menuIcon", H(B({ isOpen: t, color: s })), void 0, !0)
|
|
560
|
+
]),
|
|
561
|
+
key: "0"
|
|
562
|
+
} : void 0,
|
|
563
|
+
a.$slots.optionPdf ? {
|
|
564
|
+
name: "optionPdf",
|
|
565
|
+
fn: w(() => [
|
|
566
|
+
b(a.$slots, "optionPdf", {}, void 0, !0)
|
|
567
|
+
]),
|
|
568
|
+
key: "1"
|
|
569
|
+
} : void 0,
|
|
570
|
+
a.$slots.optionCsv ? {
|
|
571
|
+
name: "optionCsv",
|
|
572
|
+
fn: w(() => [
|
|
573
|
+
b(a.$slots, "optionCsv", {}, void 0, !0)
|
|
574
|
+
]),
|
|
575
|
+
key: "2"
|
|
576
|
+
} : void 0,
|
|
577
|
+
a.$slots.optionImg ? {
|
|
578
|
+
name: "optionImg",
|
|
579
|
+
fn: w(() => [
|
|
580
|
+
b(a.$slots, "optionImg", {}, void 0, !0)
|
|
581
|
+
]),
|
|
582
|
+
key: "3"
|
|
583
|
+
} : void 0,
|
|
584
|
+
a.$slots.optionTable ? {
|
|
585
|
+
name: "optionTable",
|
|
586
|
+
fn: w(() => [
|
|
587
|
+
b(a.$slots, "optionTable", {}, void 0, !0)
|
|
588
|
+
]),
|
|
589
|
+
key: "4"
|
|
590
|
+
} : void 0,
|
|
591
|
+
a.$slots.optionLabels ? {
|
|
592
|
+
name: "optionLabels",
|
|
593
|
+
fn: w(() => [
|
|
594
|
+
b(a.$slots, "optionLabels", {}, void 0, !0)
|
|
595
|
+
]),
|
|
596
|
+
key: "5"
|
|
597
|
+
} : void 0,
|
|
598
|
+
a.$slots.optionFullscreen ? {
|
|
599
|
+
name: "optionFullscreen",
|
|
600
|
+
fn: w(({ toggleFullscreen: t, isFullscreen: s }) => [
|
|
601
|
+
b(a.$slots, "optionFullscreen", H(B({ toggleFullscreen: t, isFullscreen: s })), void 0, !0)
|
|
602
|
+
]),
|
|
603
|
+
key: "6"
|
|
604
|
+
} : void 0,
|
|
605
|
+
a.$slots.optionAnnotator ? {
|
|
606
|
+
name: "optionAnnotator",
|
|
607
|
+
fn: w(({ toggleAnnotator: t, isAnnotator: s }) => [
|
|
608
|
+
b(a.$slots, "optionAnnotator", H(B({ toggleAnnotator: t, isAnnotator: s })), void 0, !0)
|
|
609
|
+
]),
|
|
610
|
+
key: "7"
|
|
611
|
+
} : void 0
|
|
612
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : m("", !0),
|
|
613
|
+
(n(), u("svg", {
|
|
614
|
+
ref_key: "svgRef",
|
|
615
|
+
ref: we,
|
|
616
|
+
xmlns: v(Ot),
|
|
617
|
+
class: V({ "vue-data-ui-fullscreen--on": O.value, "vue-data-ui-fulscreen--off": !O.value }),
|
|
618
|
+
viewBox: `0 0 ${h.value.chartWidth <= 0 ? 10 : h.value.chartWidth} ${h.value.chartHeight <= 0 ? 10 : h.value.chartHeight}`,
|
|
619
|
+
style: M(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
|
|
620
|
+
}, [
|
|
621
|
+
We(v(tt)),
|
|
622
|
+
a.$slots["chart-background"] ? (n(), u("foreignObject", {
|
|
623
|
+
key: 0,
|
|
624
|
+
x: h.value.left,
|
|
625
|
+
y: h.value.top,
|
|
626
|
+
width: h.value.width,
|
|
627
|
+
height: h.value.height,
|
|
628
|
+
style: {
|
|
629
|
+
pointerEvents: "none"
|
|
630
|
+
}
|
|
631
|
+
}, [
|
|
632
|
+
b(a.$slots, "chart-background", {}, void 0, !0)
|
|
633
|
+
], 8, ea)) : m("", !0),
|
|
634
|
+
(n(!0), u(C, null, N(f.value, (t, s) => (n(), u("g", ta, [
|
|
635
|
+
E("line", {
|
|
636
|
+
x1: h.value.left + A.value * s + A.value / 2,
|
|
637
|
+
x2: h.value.left + A.value * s + A.value / 2,
|
|
638
|
+
y1: h.value.top,
|
|
639
|
+
y2: h.value.bottom,
|
|
640
|
+
stroke: e.value.style.chart.yAxis.stroke,
|
|
641
|
+
"stroke-width": e.value.style.chart.yAxis.strokeWidth
|
|
642
|
+
}, null, 8, aa),
|
|
643
|
+
e.value.style.chart.yAxis.labels.ticks.show ? (n(), u(C, { key: 0 }, [
|
|
644
|
+
(n(!0), u(C, null, N(t.ticks, (l) => (n(), u("line", {
|
|
645
|
+
x1: l.x,
|
|
646
|
+
x2: l.x - 10,
|
|
647
|
+
y1: l.y,
|
|
648
|
+
y2: l.y,
|
|
649
|
+
stroke: e.value.style.chart.yAxis.stroke,
|
|
650
|
+
"stroke-width": e.value.style.chart.yAxis.strokeWidth,
|
|
651
|
+
style: M(`opacity:${k.value && !p.value.showTooltip ? 0.2 : 1}`)
|
|
652
|
+
}, null, 12, la))), 256)),
|
|
653
|
+
v(P) ? m("", !0) : (n(), u("g", oa, [
|
|
654
|
+
(n(!0), u(C, null, N(t.ticks, (l) => (n(), u("text", {
|
|
655
|
+
x: l.x - 12 + e.value.style.chart.yAxis.labels.ticks.offsetX,
|
|
656
|
+
y: l.y + e.value.style.chart.yAxis.labels.ticks.offsetY + c.value.ticksFontSize / 3,
|
|
657
|
+
fill: e.value.style.chart.yAxis.labels.ticks.color,
|
|
658
|
+
"text-anchor": "end",
|
|
659
|
+
"font-size": c.value.ticksFontSize,
|
|
660
|
+
"font-weight": e.value.style.chart.yAxis.labels.ticks.bold ? "bold" : "normal",
|
|
661
|
+
style: M(`opacity:${k.value && !p.value.showTooltip ? 0.2 : 1}`)
|
|
662
|
+
}, W(Le({ value: l.value, index: s, datapoint: l })), 13, sa))), 256))
|
|
663
|
+
]))
|
|
664
|
+
], 64)) : m("", !0)
|
|
665
|
+
]))), 256)),
|
|
666
|
+
e.value.style.chart.yAxis.labels.showAxisNames ? (n(), u("g", {
|
|
667
|
+
key: 1,
|
|
668
|
+
ref_key: "xAxisLabels",
|
|
669
|
+
ref: Q
|
|
670
|
+
}, [
|
|
671
|
+
(n(!0), u(C, null, N(f.value, (t, s) => (n(), u(C, null, [
|
|
672
|
+
String(t.name).includes(`
|
|
673
|
+
`) ? (n(), u("text", {
|
|
674
|
+
key: 1,
|
|
675
|
+
class: "vue-ui-parallel-coordinate-plot-x-label",
|
|
676
|
+
fill: e.value.style.chart.yAxis.labels.axisNamesColor,
|
|
677
|
+
"font-size": c.value.axisNameFontSize,
|
|
678
|
+
"font-weight": e.value.style.chart.yAxis.labels.axisNamesBold ? "bold" : "",
|
|
679
|
+
"text-anchor": e.value.style.chart.yAxis.labels.axisNamesRotation === 0 ? "middle" : e.value.style.chart.yAxis.labels.axisNamesRotation < 0 ? "start" : "end",
|
|
680
|
+
transform: `translate(${h.value.left + A.value * s + A.value / 2}, ${U.value - c.value.axisNameFontSize}), rotate(${e.value.style.chart.yAxis.labels.axisNamesRotation})`,
|
|
681
|
+
innerHTML: v(St)({
|
|
682
|
+
content: String(t.name),
|
|
683
|
+
fontSize: c.value.axisNameFontSize,
|
|
684
|
+
fill: e.value.style.chart.yAxis.labels.axisNamesColor,
|
|
685
|
+
x: 0,
|
|
686
|
+
y: 0
|
|
687
|
+
})
|
|
688
|
+
}, null, 8, ia)) : (n(), u("text", {
|
|
689
|
+
key: 0,
|
|
690
|
+
class: "vue-ui-parallel-coordinate-plot-x-label",
|
|
691
|
+
fill: e.value.style.chart.yAxis.labels.axisNamesColor,
|
|
692
|
+
"font-size": c.value.axisNameFontSize,
|
|
693
|
+
"font-weight": e.value.style.chart.yAxis.labels.axisNamesBold ? "bold" : "",
|
|
694
|
+
"text-anchor": e.value.style.chart.yAxis.labels.axisNamesRotation === 0 ? "middle" : e.value.style.chart.yAxis.labels.axisNamesRotation < 0 ? "start" : "end",
|
|
695
|
+
transform: `translate(${h.value.left + A.value * s + A.value / 2}, ${U.value - c.value.axisNameFontSize}), rotate(${e.value.style.chart.yAxis.labels.axisNamesRotation})`
|
|
696
|
+
}, W(t.name), 9, na))
|
|
697
|
+
], 64))), 256))
|
|
698
|
+
], 512)) : m("", !0),
|
|
699
|
+
(n(!0), u(C, null, N(oe.value, (t, s) => (n(), u("g", null, [
|
|
700
|
+
(n(!0), u(C, null, N(t.series, (l, r) => (n(), u("g", null, [
|
|
701
|
+
e.value.style.chart.plots.show ? (n(), u("g", ua, [
|
|
702
|
+
(n(!0), u(C, null, N(l.datapoints, (i, T) => (n(), L(qt, {
|
|
703
|
+
plot: { x: i.x, y: i.y },
|
|
704
|
+
color: t.color,
|
|
705
|
+
shape: t.shape,
|
|
706
|
+
radius: t.shape === "triangle" ? c.value.plotSize * 1.2 : c.value.plotSize,
|
|
707
|
+
stroke: e.value.style.chart.backgroundColor,
|
|
708
|
+
strokeWidth: 0.5,
|
|
709
|
+
onMouseenter: (g) => X({
|
|
710
|
+
shape: t.shape,
|
|
711
|
+
serieName: t.name,
|
|
712
|
+
serie: l,
|
|
713
|
+
relativeIndex: r,
|
|
714
|
+
seriesIndex: l.seriesIndex,
|
|
715
|
+
S: s
|
|
716
|
+
}),
|
|
717
|
+
onMouseleave: (g) => G({ serie: l, shape: t.shape, S: s }),
|
|
718
|
+
style: M(`opacity:${k.value ? k.value === l.id ? e.value.style.chart.plots.opacity : 0.2 : e.value.style.chart.plots.opacity}`),
|
|
719
|
+
onClick: () => Y({ serie: l, shape: t.shape, S: s })
|
|
720
|
+
}, null, 8, ["plot", "color", "shape", "radius", "stroke", "onMouseenter", "onMouseleave", "style", "onClick"]))), 256)),
|
|
721
|
+
p.value.showTooltip ? m("", !0) : (n(), u(C, { key: 0 }, [
|
|
722
|
+
k.value && k.value === l.id && l.datapoints.length ? (n(), u("text", {
|
|
723
|
+
key: 0,
|
|
724
|
+
x: l.datapoints[0].x - c.value.ticksFontSize,
|
|
725
|
+
y: l.datapoints[0].y + c.value.ticksFontSize / 3,
|
|
726
|
+
"text-anchor": "end",
|
|
727
|
+
"font-size": c.value.ticksFontSize,
|
|
728
|
+
fill: t.color,
|
|
729
|
+
"font-weight": "bold"
|
|
730
|
+
}, W(l.name), 9, ra)) : m("", !0)
|
|
731
|
+
], 64)),
|
|
732
|
+
e.value.style.chart.comments.show ? (n(!0), u(C, { key: 1 }, N(l.datapoints, (i) => (n(), u("g", null, [
|
|
733
|
+
i.comment ? (n(), u("foreignObject", {
|
|
734
|
+
key: 0,
|
|
735
|
+
style: { overflow: "visible" },
|
|
736
|
+
height: "12",
|
|
737
|
+
width: e.value.style.chart.comments.width,
|
|
738
|
+
x: i.x - e.value.style.chart.comments.width / 2 + e.value.style.chart.comments.offsetX,
|
|
739
|
+
y: i.y + e.value.style.chart.comments.offsetY + 6
|
|
740
|
+
}, [
|
|
741
|
+
E("div", va, [
|
|
742
|
+
b(a.$slots, "plot-comment", {
|
|
743
|
+
plot: { ...i, color: t.color }
|
|
744
|
+
}, void 0, !0)
|
|
745
|
+
])
|
|
746
|
+
], 8, ca)) : m("", !0)
|
|
747
|
+
]))), 256)) : m("", !0)
|
|
748
|
+
])) : m("", !0),
|
|
749
|
+
!v(P) && (p.value.dataLabels.show || k.value && k.value === l.id) ? (n(!0), u(C, { key: 1 }, N(l.datapoints, (i, T) => (n(), u("text", {
|
|
750
|
+
x: i.x + 12 + e.value.style.chart.yAxis.labels.datapoints.offsetX,
|
|
751
|
+
y: i.y + e.value.style.chart.yAxis.labels.datapoints.offsetY + c.value.datapointFontSize / 3,
|
|
752
|
+
fill: e.value.style.chart.yAxis.labels.datapoints.useSerieColor ? t.color : e.value.style.chart.yAxis.labels.datapoints.color,
|
|
753
|
+
"text-anchor": "start",
|
|
754
|
+
"font-weight": e.value.style.chart.yAxis.labels.datapoints.bold ? "bold" : "normal",
|
|
755
|
+
class: V({ "vue-ui-pcp-animated": !1, "vue-ui-pcp-transition": !v(P) }),
|
|
756
|
+
"font-size": c.value.datapointFontSize,
|
|
757
|
+
onMouseenter: (g) => X({
|
|
758
|
+
shape: t.shape,
|
|
759
|
+
serieName: t.name,
|
|
760
|
+
serie: l,
|
|
761
|
+
relativeIndex: r,
|
|
762
|
+
seriesIndex: l.seriesIndex,
|
|
763
|
+
S: s
|
|
764
|
+
}),
|
|
765
|
+
onMouseleave: (g) => G({ serie: l, shape: t.shape, S: s }),
|
|
766
|
+
onClick: () => Y({ serie: l, shape: t.shape, S: s }),
|
|
767
|
+
style: M(`opacity:${k.value ? k.value === l.id ? 1 : 0.2 : 1}`)
|
|
768
|
+
}, W(Le({ value: i.value, index: T, datapoint: i })), 47, da))), 256)) : m("", !0),
|
|
769
|
+
E("path", {
|
|
770
|
+
d: `M${e.value.style.chart.lines.smooth ? l.smoothPath : l.straightPath}`,
|
|
771
|
+
stroke: t.color,
|
|
772
|
+
"stroke-width": e.value.style.chart.lines.strokeWidth,
|
|
773
|
+
fill: "none",
|
|
774
|
+
class: V({ "vue-ui-pcp-animated vue-data-ui-line-animated": e.value.useCssAnimation, "vue-ui-pcp-transition": !v(P) }),
|
|
775
|
+
onMouseenter: (i) => X({
|
|
776
|
+
shape: t.shape,
|
|
777
|
+
serieName: t.name,
|
|
778
|
+
serie: l,
|
|
779
|
+
relativeIndex: r,
|
|
780
|
+
seriesIndex: l.seriesIndex,
|
|
781
|
+
S: s
|
|
782
|
+
}),
|
|
783
|
+
onMouseleave: (i) => G({ serie: l, shape: t.shape, S: s }),
|
|
784
|
+
onClick: () => Y({ serie: l, shape: t.shape, S: s }),
|
|
785
|
+
style: M(`opacity:${k.value ? k.value === l.id ? e.value.style.chart.lines.opacity : 0.2 : e.value.style.chart.lines.opacity}; stroke-dasharray:${l.pathLength}; stroke-dashoffset: ${e.value.useCssAnimation ? l.pathLength : 0}`)
|
|
786
|
+
}, null, 46, ha),
|
|
787
|
+
p.value.showTooltip ? (n(), u("path", {
|
|
788
|
+
key: 2,
|
|
789
|
+
d: `M${e.value.style.chart.lines.smooth ? l.smoothPath : l.straightPath}`,
|
|
790
|
+
stroke: "transparent",
|
|
791
|
+
"stroke-width": 12,
|
|
792
|
+
fill: "none",
|
|
793
|
+
class: V({ "vue-ui-pcp-animated vue-data-ui-line-animated": e.value.useCssAnimation, "vue-ui-pcp-transition": !v(P) }),
|
|
794
|
+
onMouseenter: (i) => X({
|
|
795
|
+
shape: t.shape,
|
|
796
|
+
serieName: t.name,
|
|
797
|
+
serie: l,
|
|
798
|
+
relativeIndex: r,
|
|
799
|
+
seriesIndex: l.seriesIndex,
|
|
800
|
+
S: s
|
|
801
|
+
}),
|
|
802
|
+
onMouseleave: (i) => G({ serie: l, shape: t.shape, S: s }),
|
|
803
|
+
onClick: () => Y({ serie: l, shape: t.shape, S: s }),
|
|
804
|
+
style: { opacity: "0" }
|
|
805
|
+
}, null, 42, pa)) : m("", !0)
|
|
806
|
+
]))), 256))
|
|
807
|
+
]))), 256)),
|
|
808
|
+
b(a.$slots, "svg", { svg: h.value }, void 0, !0)
|
|
809
|
+
], 14, Zt)),
|
|
810
|
+
a.$slots.watermark ? (n(), u("div", ma, [
|
|
811
|
+
b(a.$slots, "watermark", H(B({ isPrinting: v($e) || v(Te) })), void 0, !0)
|
|
812
|
+
])) : m("", !0),
|
|
813
|
+
E("div", {
|
|
814
|
+
ref_key: "chartLegend",
|
|
815
|
+
ref: he
|
|
816
|
+
}, [
|
|
817
|
+
e.value.style.chart.legend.show && j.value ? (n(), L(Yt, {
|
|
818
|
+
key: `legend_${fe.value}`,
|
|
819
|
+
legendSet: ct.value,
|
|
820
|
+
config: vt.value,
|
|
821
|
+
onClickMarker: o[0] || (o[0] = ({ legend: t }) => {
|
|
822
|
+
_e(t.id), Re(t);
|
|
823
|
+
})
|
|
824
|
+
}, {
|
|
825
|
+
item: w(({ legend: t, index: s }) => [
|
|
826
|
+
E("div", {
|
|
827
|
+
onClick: (l) => {
|
|
828
|
+
t.segregate(), Re(t);
|
|
829
|
+
},
|
|
830
|
+
style: M(`opacity:${z.value.includes(t.id) ? 0.5 : 1}`)
|
|
831
|
+
}, W(t.name), 13, ya)
|
|
832
|
+
]),
|
|
833
|
+
_: 1
|
|
834
|
+
}, 8, ["legendSet", "config"])) : b(a.$slots, "legend", {
|
|
835
|
+
key: 1,
|
|
836
|
+
legend: I.value
|
|
837
|
+
}, void 0, !0)
|
|
838
|
+
], 512),
|
|
839
|
+
a.$slots.source ? (n(), u("div", {
|
|
840
|
+
key: 5,
|
|
841
|
+
ref_key: "source",
|
|
842
|
+
ref: pe,
|
|
843
|
+
dir: "auto"
|
|
844
|
+
}, [
|
|
845
|
+
b(a.$slots, "source", {}, void 0, !0)
|
|
846
|
+
], 512)) : m("", !0),
|
|
847
|
+
We(v(lt), {
|
|
848
|
+
show: p.value.showTooltip && ne.value,
|
|
849
|
+
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
850
|
+
color: e.value.style.chart.tooltip.color,
|
|
851
|
+
fontSize: e.value.style.chart.tooltip.fontSize,
|
|
852
|
+
borderRadius: e.value.style.chart.tooltip.borderRadius,
|
|
853
|
+
borderColor: e.value.style.chart.tooltip.borderColor,
|
|
854
|
+
borderWidth: e.value.style.chart.tooltip.borderWidth,
|
|
855
|
+
backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
|
|
856
|
+
position: e.value.style.chart.tooltip.position,
|
|
857
|
+
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
858
|
+
parent: F.value,
|
|
859
|
+
content: ie.value,
|
|
860
|
+
isFullscreen: O.value,
|
|
861
|
+
isCustom: v(je)(e.value.style.chart.tooltip.customFormat),
|
|
862
|
+
smooth: e.value.style.chart.tooltip.smooth,
|
|
863
|
+
backdropFilter: e.value.style.chart.tooltip.backdropFilter
|
|
864
|
+
}, {
|
|
865
|
+
"tooltip-before": w(() => [
|
|
866
|
+
b(a.$slots, "tooltip-before", H(B({ ...se.value })), void 0, !0)
|
|
867
|
+
]),
|
|
868
|
+
"tooltip-after": w(() => [
|
|
869
|
+
b(a.$slots, "tooltip-after", H(B({ ...se.value })), void 0, !0)
|
|
870
|
+
]),
|
|
871
|
+
_: 3
|
|
872
|
+
}, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter"]),
|
|
873
|
+
j.value ? (n(), L(v(Ze), {
|
|
874
|
+
key: 6,
|
|
875
|
+
hideDetails: "",
|
|
876
|
+
config: {
|
|
877
|
+
open: p.value.showTable,
|
|
878
|
+
maxHeight: 1e4,
|
|
879
|
+
body: {
|
|
880
|
+
backgroundColor: e.value.style.chart.backgroundColor,
|
|
881
|
+
color: e.value.style.chart.color
|
|
882
|
+
},
|
|
883
|
+
head: {
|
|
884
|
+
backgroundColor: e.value.style.chart.backgroundColor,
|
|
885
|
+
color: e.value.style.chart.color
|
|
886
|
+
}
|
|
887
|
+
}
|
|
888
|
+
}, {
|
|
889
|
+
content: w(() => [
|
|
890
|
+
(n(), L(v(et), {
|
|
891
|
+
key: `table_${be.value}`,
|
|
892
|
+
colNames: R.value.colNames,
|
|
893
|
+
head: R.value.head,
|
|
894
|
+
body: R.value.body,
|
|
895
|
+
config: R.value.config,
|
|
896
|
+
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
897
|
+
onClose: o[1] || (o[1] = (t) => p.value.showTable = !1)
|
|
898
|
+
}, {
|
|
899
|
+
th: w(({ th: t }) => [
|
|
900
|
+
E("div", { innerHTML: t }, null, 8, fa)
|
|
901
|
+
]),
|
|
902
|
+
td: w(({ td: t }) => [
|
|
903
|
+
At(W(t), 1)
|
|
904
|
+
]),
|
|
905
|
+
_: 1
|
|
906
|
+
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
907
|
+
]),
|
|
908
|
+
_: 1
|
|
909
|
+
}, 8, ["config"])) : m("", !0),
|
|
910
|
+
v(P) ? (n(), L(Ut, { key: 7 })) : m("", !0)
|
|
911
|
+
], 46, Qt));
|
|
912
|
+
}
|
|
913
|
+
}, La = /* @__PURE__ */ Kt(ba, [["__scopeId", "data-v-4df81816"]]);
|
|
914
|
+
export {
|
|
915
|
+
La as default
|
|
916
|
+
};
|