vue-data-ui 3.25.7 → 3.25.9
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/{BaseScanner-DZvpgOjM.js → BaseScanner-Dzc8VT3j.js} +6 -3
- package/dist/{PackageVersion-UfoQuPMf.js → PackageVersion-KBMdaOXg.js} +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-bump.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-hill.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-label.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/{package-B-3S5q00.js → package-BL27Ev_h.js} +1 -1
- package/dist/{render-common-CAXK7ycr.js → render-common-By8J0AE-.js} +1 -1
- package/dist/ssr/vue-ui-donut.js +1 -1
- package/dist/ssr/vue-ui-xy.js +1 -1
- package/dist/ssr.js +2 -2
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +2 -0
- package/dist/{useConfig-CIQZ6_r7.js → useConfig-D32D002m.js} +2 -0
- package/dist/{useObjectBindings---mHNfbS.js → useObjectBindings-Cd_WuYIn.js} +1 -1
- package/dist/utils.js +1 -1
- package/dist/{vue-data-ui-DlWT702n.js → vue-data-ui-CBWuUAXT.js} +69 -69
- package/dist/vue-data-ui.js +70 -70
- package/dist/{vue-ui-3d-bar-DbOk2kpM.js → vue-ui-3d-bar-BSbq90H3.js} +3 -3
- package/dist/{vue-ui-accordion-BSmBUjwZ.js → vue-ui-accordion-DmkL8A59.js} +1 -1
- package/dist/{vue-ui-age-pyramid-C7_mGIRk.js → vue-ui-age-pyramid-CrXl71iC.js} +263 -251
- package/dist/{vue-ui-annotator-CTQHAPho.js → vue-ui-annotator-BO5ihHOB.js} +2 -2
- package/dist/{vue-ui-bullet-CDy_dkYz.js → vue-ui-bullet-B2Y3Wqh9.js} +3 -3
- package/dist/{vue-ui-bump-DP24leiD.js → vue-ui-bump-DXvvjG4I.js} +3 -3
- package/dist/{vue-ui-candlestick-kJLmYaR7.js → vue-ui-candlestick-CFqR6W56.js} +453 -441
- package/dist/{vue-ui-carousel-table-BQzAQDw6.js → vue-ui-carousel-table-D-ZkPRta.js} +2 -2
- package/dist/{vue-ui-chestnut-DnnRp3Kl.js → vue-ui-chestnut-CyW3IoYC.js} +3 -3
- package/dist/{vue-ui-chord-DO15ZDCS.js → vue-ui-chord-DS0jni9A.js} +3 -3
- package/dist/{vue-ui-circle-pack-DYTllMPV.js → vue-ui-circle-pack-j2ChgLWr.js} +494 -482
- package/dist/{vue-ui-cursor-CtViSjNp.js → vue-ui-cursor-qOONOtcv.js} +2 -2
- package/dist/{vue-ui-dag-NXtGYzqg.js → vue-ui-dag-CmeFsKhR.js} +3 -3
- package/dist/{vue-ui-dashboard-D3_4QohV.js → vue-ui-dashboard-C7Z5BTN4.js} +65 -65
- package/dist/{vue-ui-digits-CB09pLQx.js → vue-ui-digits-Bf68x6fb.js} +2 -2
- package/dist/{vue-ui-donut-yTE6D8yV.js → vue-ui-donut-CkBPJW_T.js} +837 -825
- package/dist/{vue-ui-donut-eysaEyTy.js → vue-ui-donut-DzDSYgVp.js} +2 -2
- package/dist/{vue-ui-donut-evolution-DhrtxvAd.js → vue-ui-donut-evolution-CDJumo0t.js} +3 -3
- package/dist/{vue-ui-dumbbell-CmGIeULQ.js → vue-ui-dumbbell-Cr__26dN.js} +3 -3
- package/dist/vue-ui-flow-Cz6WRi2c.js +1229 -0
- package/dist/{vue-ui-funnel-CLAii4wi.js → vue-ui-funnel-BlC7KxS6.js} +2 -2
- package/dist/vue-ui-galaxy-Bg2smlcI.js +1097 -0
- package/dist/{vue-ui-gauge-D76-4Z_0.js → vue-ui-gauge-BHsaent1.js} +3 -3
- package/dist/{vue-ui-geo-BQ7-UnuG.js → vue-ui-geo-CE3Cr0or.js} +407 -395
- package/dist/{vue-ui-gizmo-C47zjcs-.js → vue-ui-gizmo-DqFUBEai.js} +3 -3
- package/dist/{vue-ui-heatmap-XJef60IZ.js → vue-ui-heatmap-DXqj9ial.js} +478 -446
- package/dist/{vue-ui-hill-D5BYGPXB.js → vue-ui-hill-B3fPAfhL.js} +2 -2
- package/dist/vue-ui-history-plot-CrnTnpaM.js +1710 -0
- package/dist/{vue-ui-horizontal-bar-BgFHi6_7.js → vue-ui-horizontal-bar-DqvN3imH.js} +432 -420
- package/dist/{vue-ui-kpi-Cb8QJeaj.js → vue-ui-kpi-Mf318HvK.js} +2 -2
- package/dist/{vue-ui-label-ClMQ5Gez.js → vue-ui-label-C1UAzvAu.js} +1 -1
- package/dist/{vue-ui-mini-loader-DtPOVIkK.js → vue-ui-mini-loader-wGeACd-Y.js} +1 -1
- package/dist/{vue-ui-molecule-BzwMl-in.js → vue-ui-molecule-CaLReo4h.js} +346 -334
- package/dist/{vue-ui-mood-radar-BUR_YCcr.js → vue-ui-mood-radar-jkE2ENX5.js} +3 -3
- package/dist/{vue-ui-nested-donuts-BEB4nfsD.js → vue-ui-nested-donuts-BgMOKjil.js} +360 -348
- package/dist/vue-ui-onion-DBN3Ev4j.js +1247 -0
- package/dist/{vue-ui-parallel-coordinate-plot-CSO4johj.js → vue-ui-parallel-coordinate-plot-BcJzEGJ-.js} +387 -375
- package/dist/{vue-ui-quadrant-CKav0I6g.js → vue-ui-quadrant-BvoVlxTI.js} +418 -406
- package/dist/{vue-ui-quick-chart-BAQNS9_2.js → vue-ui-quick-chart-2hn8-F_C.js} +550 -538
- package/dist/{vue-ui-radar-ClPAgf5I.js → vue-ui-radar-O3AjGrc-.js} +330 -318
- package/dist/{vue-ui-rating-CWFMoYpE.js → vue-ui-rating-Criq0ofQ.js} +1 -1
- package/dist/{vue-ui-relation-circle-Da2MhrVe.js → vue-ui-relation-circle-CRnH2ikm.js} +3 -3
- package/dist/{vue-ui-ridgeline-D7gFs8yR.js → vue-ui-ridgeline-Blejn8LY.js} +3 -3
- package/dist/{vue-ui-rings-DkDJ0k5b.js → vue-ui-rings-C1U38Bp0.js} +321 -309
- package/dist/{vue-ui-scatter-yv4JzJID.js → vue-ui-scatter-DTsCc9hg.js} +584 -572
- package/dist/{vue-ui-skeleton-oFnh5zWs.js → vue-ui-skeleton-BPr3u7IL.js} +2 -2
- package/dist/{vue-ui-smiley-DJVusLnp.js → vue-ui-smiley-BIjAIpJ9.js} +1 -1
- package/dist/{vue-ui-spark-trend-IqZWPvSB.js → vue-ui-spark-trend-B7w4Mg8O.js} +3 -3
- package/dist/{vue-ui-sparkbar-_FW47iYj.js → vue-ui-sparkbar-lVDnYEYA.js} +3 -3
- package/dist/{vue-ui-sparkgauge--2vk2Y23.js → vue-ui-sparkgauge-BryoGCoc.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-CFEIPa5n.js → vue-ui-sparkhistogram-BdNoLb9L.js} +3 -3
- package/dist/{vue-ui-sparkline-Cs9CJR6W.js → vue-ui-sparkline-CNFD5K6z.js} +3 -3
- package/dist/vue-ui-sparkstackbar-CZ4tGL-_.js +750 -0
- package/dist/vue-ui-stackbar-DfsgaZy7.js +2369 -0
- package/dist/vue-ui-stackline-Cx7q2sGF.js +2483 -0
- package/dist/vue-ui-strip-plot-BcYhLPHM.js +1752 -0
- package/dist/{vue-ui-table-CiccGbRB.js → vue-ui-table-BzF75YjN.js} +3 -3
- package/dist/{vue-ui-table-heatmap-DnP3pzh2.js → vue-ui-table-heatmap-BSUab4fG.js} +1 -1
- package/dist/{vue-ui-table-sparkline-Bp7RiZh4.js → vue-ui-table-sparkline-B9ICTtoE.js} +2 -2
- package/dist/{vue-ui-thermometer-CawumQKP.js → vue-ui-thermometer-Am7llqdI.js} +3 -3
- package/dist/{vue-ui-timer-CXinMW7q.js → vue-ui-timer-D6EvkM31.js} +2 -2
- package/dist/{vue-ui-tiremarks-BnI2uhki.js → vue-ui-tiremarks-DiQJu8Em.js} +3 -3
- package/dist/{vue-ui-treemap-DTlFbfD6.js → vue-ui-treemap-wUZpijpr.js} +310 -298
- package/dist/vue-ui-waffle-6hO0flDT.js +1633 -0
- package/dist/{vue-ui-wheel-B02tiG0p.js → vue-ui-wheel-DnyCE0CK.js} +3 -3
- package/dist/{vue-ui-word-cloud-BZnCOMHx.js → vue-ui-word-cloud-D_MZ3gCS.js} +385 -372
- package/dist/{vue-ui-world-DO2VZ-T-.js → vue-ui-world-QNGY2WPz.js} +474 -462
- package/dist/{vue-ui-xy-CD6BiP_g.js → vue-ui-xy-BD-ighya.js} +2 -2
- package/dist/{vue-ui-xy-BC9GVdWE.js → vue-ui-xy-Ctcwn7Rk.js} +1447 -1432
- package/dist/{vue-ui-xy-canvas-DANPuyf4.js → vue-ui-xy-canvas-DUeglcdP.js} +523 -511
- package/package.json +1 -1
- package/dist/vue-ui-flow-qYAq3Rmn.js +0 -1217
- package/dist/vue-ui-galaxy-BVX-o2f-.js +0 -1085
- package/dist/vue-ui-history-plot-D-d-1ZiM.js +0 -1698
- package/dist/vue-ui-onion-CG6myK7a.js +0 -1235
- package/dist/vue-ui-sparkstackbar-Cvbue77A.js +0 -738
- package/dist/vue-ui-stackbar-C5ANS2hd.js +0 -2355
- package/dist/vue-ui-stackline-7yajJFW4.js +0 -2469
- package/dist/vue-ui-strip-plot-BT6Eqhup.js +0 -1740
- package/dist/vue-ui-waffle-CjgRkQAp.js +0 -1621
|
@@ -1,87 +1,87 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { $ as t, Ct as n, D as r, G as i, Jt as a, Lt as o, P as s, Pt as c, S as ee, V as te, X as ne, Xt as re, Yt as ie,
|
|
3
|
-
import { n as
|
|
4
|
-
import { t as
|
|
5
|
-
import { t as
|
|
6
|
-
import { n as
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as
|
|
9
|
-
import { t as
|
|
10
|
-
import { t as
|
|
11
|
-
import { t as
|
|
12
|
-
import { t as
|
|
13
|
-
import { n as
|
|
14
|
-
import { t as
|
|
15
|
-
import { t as
|
|
16
|
-
import { l as
|
|
17
|
-
import { t as
|
|
18
|
-
import { t as
|
|
19
|
-
import { t as
|
|
20
|
-
import { t as
|
|
21
|
-
import { t as
|
|
22
|
-
import { t as
|
|
23
|
-
import { Fragment as l, Teleport as
|
|
2
|
+
import { $ as t, Ct as n, D as r, G as i, Jt as a, Lt as o, P as s, Pt as c, S as ee, V as te, X as ne, Xt as re, Yt as ie, Z as ae, Zt as oe, _ as se, _t as ce, ht as le, i as ue, lt as de, nt as fe, q as pe, t as me, w as he } from "./lib-Dql7cqyA.js";
|
|
3
|
+
import { n as ge, t as _e } from "./useHints-Dq_w2E8B.js";
|
|
4
|
+
import { t as ve } from "./useConfig-D32D002m.js";
|
|
5
|
+
import { t as ye } from "./usePrinter-DISD7q5m.js";
|
|
6
|
+
import { n as be, t as xe } from "./BaseScanner-Dzc8VT3j.js";
|
|
7
|
+
import { t as Se } from "./useNestedProp-Chvyfpl-.js";
|
|
8
|
+
import { t as Ce } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
|
+
import { t as we } from "./useChartExport-iwOqiIWX.js";
|
|
10
|
+
import { t as Te } from "./useTransitions-g_zBREk2.js";
|
|
11
|
+
import { t as Ee } from "./useTimeLabelCollider-AEcY4Ioe.js";
|
|
12
|
+
import { t as De } from "./img-DhGApYG0.js";
|
|
13
|
+
import { n as Oe } from "./Title-CPHi-evi.js";
|
|
14
|
+
import { t as ke } from "./Shape-CIqU-p2F.js";
|
|
15
|
+
import { t as Ae } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
16
|
+
import { l as je, t as Me } from "./useResponsive-ZtArZtUf.js";
|
|
17
|
+
import { t as Ne } from "./BaseLegendToggle-CXQrLjd-.js";
|
|
18
|
+
import { t as Pe } from "./A11yDataTable-DdRsVULz.js";
|
|
19
|
+
import { t as Fe } from "./useUserOptionState-DK-_1ddE.js";
|
|
20
|
+
import { t as Ie } from "./useChartAccessibility-DYqac8yF.js";
|
|
21
|
+
import { t as Le } from "./Legend-X4kF4PvW.js";
|
|
22
|
+
import { t as Re } from "./vue_ui_parallel_coordinate_plot-CBiOBira.js";
|
|
23
|
+
import { Fragment as l, Teleport as ze, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createSlots as Be, createTextVNode as Ve, createVNode as He, defineAsyncComponent as h, guardReactiveProps as g, mergeProps as Ue, nextTick as We, normalizeClass as _, normalizeProps as v, normalizeStyle as y, onBeforeUnmount as Ge, onMounted as Ke, openBlock as b, ref as x, renderList as S, renderSlot as C, resolveDynamicComponent as qe, shallowRef as Je, toDisplayString as w, toRefs as Ye, unref as T, watch as Xe, watchEffect as Ze, withCtx as E } from "vue";
|
|
24
24
|
//#region src/components/vue-ui-parallel-coordinate-plot.vue
|
|
25
|
-
var
|
|
25
|
+
var Qe = /* @__PURE__ */ e({ default: () => Ct }), $e = ["id"], et = ["id"], tt = ["id"], nt = { style: { position: "relative" } }, rt = [
|
|
26
26
|
"xmlns",
|
|
27
27
|
"aria-describedby",
|
|
28
28
|
"viewBox"
|
|
29
|
-
],
|
|
29
|
+
], it = [
|
|
30
30
|
"x",
|
|
31
31
|
"y",
|
|
32
32
|
"width",
|
|
33
33
|
"height"
|
|
34
|
-
],
|
|
34
|
+
], at = { style: { "pointer-events": "none" } }, ot = [
|
|
35
35
|
"x1",
|
|
36
36
|
"x2",
|
|
37
37
|
"y1",
|
|
38
38
|
"y2",
|
|
39
39
|
"stroke",
|
|
40
40
|
"stroke-width"
|
|
41
|
-
],
|
|
41
|
+
], st = [
|
|
42
42
|
"d",
|
|
43
43
|
"stroke",
|
|
44
44
|
"stroke-width"
|
|
45
|
-
],
|
|
45
|
+
], ct = { key: 0 }, lt = [
|
|
46
46
|
"transform",
|
|
47
47
|
"fill",
|
|
48
48
|
"font-size",
|
|
49
49
|
"font-weight"
|
|
50
|
-
],
|
|
50
|
+
], ut = [
|
|
51
51
|
"fill",
|
|
52
52
|
"font-size",
|
|
53
53
|
"font-weight",
|
|
54
54
|
"text-anchor",
|
|
55
55
|
"transform"
|
|
56
|
-
],
|
|
56
|
+
], dt = [
|
|
57
57
|
"fill",
|
|
58
58
|
"font-size",
|
|
59
59
|
"font-weight",
|
|
60
60
|
"text-anchor",
|
|
61
61
|
"transform",
|
|
62
62
|
"innerHTML"
|
|
63
|
-
],
|
|
63
|
+
], ft = { key: 0 }, pt = [
|
|
64
64
|
"x",
|
|
65
65
|
"y",
|
|
66
66
|
"font-size",
|
|
67
67
|
"fill"
|
|
68
|
-
],
|
|
68
|
+
], mt = [
|
|
69
69
|
"width",
|
|
70
70
|
"x",
|
|
71
71
|
"y"
|
|
72
|
-
],
|
|
72
|
+
], ht = { style: { width: "100%" } }, gt = [
|
|
73
73
|
"d",
|
|
74
74
|
"stroke",
|
|
75
75
|
"stroke-width",
|
|
76
76
|
"onMouseenter",
|
|
77
77
|
"onMouseleave",
|
|
78
78
|
"onClick"
|
|
79
|
-
],
|
|
79
|
+
], _t = [
|
|
80
80
|
"d",
|
|
81
81
|
"onMouseenter",
|
|
82
82
|
"onMouseleave",
|
|
83
83
|
"onClick"
|
|
84
|
-
],
|
|
84
|
+
], vt = [
|
|
85
85
|
"transform",
|
|
86
86
|
"fill",
|
|
87
87
|
"font-weight",
|
|
@@ -90,7 +90,7 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
|
|
|
90
90
|
"onMouseenter",
|
|
91
91
|
"onMouseleave",
|
|
92
92
|
"onClick"
|
|
93
|
-
],
|
|
93
|
+
], yt = {
|
|
94
94
|
key: 0,
|
|
95
95
|
style: {
|
|
96
96
|
position: "absolute",
|
|
@@ -100,10 +100,10 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
|
|
|
100
100
|
},
|
|
101
101
|
"data-dom-to-png-ignore": "",
|
|
102
102
|
"aria-hidden": "true"
|
|
103
|
-
},
|
|
103
|
+
}, bt = {
|
|
104
104
|
key: 5,
|
|
105
105
|
class: "vue-data-ui-watermark"
|
|
106
|
-
},
|
|
106
|
+
}, xt = ["id"], St = ["onClick"], Ct = /*#__PURE__*/ Ae({
|
|
107
107
|
__name: "vue-ui-parallel-coordinate-plot",
|
|
108
108
|
props: {
|
|
109
109
|
config: {
|
|
@@ -124,31 +124,31 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
|
|
|
124
124
|
"selectDatapoint",
|
|
125
125
|
"copyAlt"
|
|
126
126
|
],
|
|
127
|
-
setup(e, { expose:
|
|
128
|
-
let
|
|
127
|
+
setup(e, { expose: Ae, emit: Qe }) {
|
|
128
|
+
let Ct = h(() => import("./Tooltip-hhrkQ3Lk.js")), wt = h(() => import("./BaseIcon-D8R6_sKH.js").then((e) => e.n)), Tt = h(() => import("./vue-ui-accordion-DmkL8A59.js").then((e) => e.n)), Et = h(() => import("./DataTable-oiM9uWrQ.js")), Dt = h(() => import("./PenAndPaper-KFzKlvbi.js").then((e) => e.t)), Ot = h(() => import("./UserOptions-2x4VklMW.js").then((e) => e.n)), kt = h(() => import("./PackageVersion-KBMdaOXg.js").then((e) => e.t)), At = h(() => import("./BaseDraggableDialog-Gm4Q30j0.js").then((e) => e.n)), { vue_ui_parallel_coordinate_plot: jt } = ve(), { isThemeValid: Mt, warnInvalidTheme: Nt } = Ce(), D = e, Pt = u({
|
|
129
129
|
get() {
|
|
130
130
|
return !!D.dataset && D.dataset.length;
|
|
131
131
|
},
|
|
132
132
|
set(e) {
|
|
133
133
|
return e;
|
|
134
134
|
}
|
|
135
|
-
}),
|
|
135
|
+
}), Ft = x(0), O = x(null), It = x(null), Lt = x(null), Rt = x(null), zt = x(null), Bt = x(0), Vt = x(0), Ht = x(0), Ut = x(!1), Wt = x(null), Gt = x(null), Kt = x(null), k = x(null), qt = x({
|
|
136
136
|
x: 0,
|
|
137
137
|
y: 0
|
|
138
|
-
}),
|
|
139
|
-
function
|
|
140
|
-
j.value = e,
|
|
138
|
+
}), Jt = x("pointer"), Yt = x(!1), A = x(pe()), j = x(!1);
|
|
139
|
+
function Xt(e) {
|
|
140
|
+
j.value = e, Ft.value += 1;
|
|
141
141
|
}
|
|
142
|
-
let M = x(
|
|
142
|
+
let M = x(an()), N = u(() => M.value.userOptions), P = u(() => M.value.style.chart.yAxis.labels), F = u(() => M.value.style.chart.tooltip), I = u(() => M.value.style.chart), { transitionEnabled: L } = Te({
|
|
143
143
|
config: () => M.value.transitions,
|
|
144
144
|
dataset: () => D.dataset
|
|
145
145
|
});
|
|
146
|
-
|
|
146
|
+
ge({
|
|
147
147
|
config: () => M.value,
|
|
148
148
|
dataset: () => D.dataset,
|
|
149
149
|
component: "VueUiParallelCoordinatePlot",
|
|
150
150
|
rules: [
|
|
151
|
-
|
|
151
|
+
_e.emptyArray,
|
|
152
152
|
{
|
|
153
153
|
test: (e) => e.length > 10,
|
|
154
154
|
message: [
|
|
@@ -175,7 +175,7 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
|
|
|
175
175
|
}
|
|
176
176
|
]
|
|
177
177
|
});
|
|
178
|
-
let R = u(() => M.value.userOptions.useCursorPointer),
|
|
178
|
+
let R = u(() => M.value.userOptions.useCursorPointer), Zt = u(() => oe({
|
|
179
179
|
defaultConfig: {
|
|
180
180
|
useCssAnimation: !1,
|
|
181
181
|
userOptions: { show: !1 },
|
|
@@ -197,13 +197,13 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
|
|
|
197
197
|
} }
|
|
198
198
|
},
|
|
199
199
|
userConfig: M.value.skeletonConfig ?? {}
|
|
200
|
-
})), { loading:
|
|
201
|
-
...
|
|
200
|
+
})), { loading: Qt, FINAL_DATASET: $t, manualLoading: en } = be({
|
|
201
|
+
...Ye(D),
|
|
202
202
|
FINAL_CONFIG: M,
|
|
203
|
-
prepareConfig:
|
|
203
|
+
prepareConfig: an,
|
|
204
204
|
callback: () => {
|
|
205
205
|
Promise.resolve().then(async () => {
|
|
206
|
-
await
|
|
206
|
+
await We(), W.value.showTable = M.value.table.show;
|
|
207
207
|
});
|
|
208
208
|
},
|
|
209
209
|
skeletonDataset: D.config?.skeletonDataset ?? [
|
|
@@ -250,22 +250,22 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
|
|
|
250
250
|
}]
|
|
251
251
|
}
|
|
252
252
|
],
|
|
253
|
-
skeletonConfig:
|
|
253
|
+
skeletonConfig: oe({
|
|
254
254
|
defaultConfig: M.value,
|
|
255
|
-
userConfig:
|
|
255
|
+
userConfig: Zt.value
|
|
256
256
|
})
|
|
257
|
-
}), { userOptionsVisible:
|
|
258
|
-
function
|
|
259
|
-
let e =
|
|
257
|
+
}), { userOptionsVisible: tn, setUserOptionsVisibility: nn, keepUserOptionState: rn } = Fe({ config: M.value }), { svgRef: z } = Ie({ config: I.value.title });
|
|
258
|
+
function an() {
|
|
259
|
+
let e = Se({
|
|
260
260
|
userConfig: D.config,
|
|
261
|
-
defaultConfig:
|
|
261
|
+
defaultConfig: jt
|
|
262
262
|
}), t = e.theme;
|
|
263
263
|
if (!t) return e;
|
|
264
|
-
if (!
|
|
265
|
-
let n =
|
|
266
|
-
userConfig:
|
|
264
|
+
if (!Mt.value(e)) return Nt(e), e;
|
|
265
|
+
let n = Se({
|
|
266
|
+
userConfig: Re[t] || D.config,
|
|
267
267
|
defaultConfig: e
|
|
268
|
-
}), r =
|
|
268
|
+
}), r = Se({
|
|
269
269
|
userConfig: D.config,
|
|
270
270
|
defaultConfig: n
|
|
271
271
|
});
|
|
@@ -274,42 +274,54 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
|
|
|
274
274
|
customPalette: r.customPalette.length ? r.customPalette : ie[t] || o
|
|
275
275
|
};
|
|
276
276
|
}
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
277
|
+
function on(e) {
|
|
278
|
+
let t = ae(e);
|
|
279
|
+
return t?.style?.chart && delete t.style.chart.tooltip, JSON.stringify(t);
|
|
280
|
+
}
|
|
281
|
+
let sn = on(D.config);
|
|
282
|
+
Xe(() => D.config, (e, t) => {
|
|
283
|
+
let n = on(e), r = n !== sn;
|
|
284
|
+
sn = n;
|
|
285
|
+
let i = an();
|
|
286
|
+
if (!r) {
|
|
287
|
+
M.value.style.chart.tooltip = i.style.chart.tooltip, W.value.showTooltip = M.value.style.chart.tooltip.show;
|
|
288
|
+
return;
|
|
289
|
+
}
|
|
290
|
+
Qt.value || (M.value = i), tn.value = !M.value.userOptions.showOnChartHover, ln(), Bt.value += 1, Ht.value += 1, Vt.value += 1, W.value.dataLabels.show = P.value.datapoints.show, W.value.showTable = M.value.table.show, W.value.showTooltip = F.value.show;
|
|
291
|
+
}, { deep: !0 }), Xe(() => D.dataset, (e) => {
|
|
292
|
+
Array.isArray(e) && e.length > 0 && (en.value = !1);
|
|
281
293
|
}, { deep: !0 });
|
|
282
|
-
let B =
|
|
283
|
-
|
|
284
|
-
|
|
294
|
+
let B = Je(null), V = Je(null);
|
|
295
|
+
Ke(() => {
|
|
296
|
+
Ut.value = !0, ln();
|
|
285
297
|
});
|
|
286
|
-
let
|
|
287
|
-
function
|
|
288
|
-
if (c(D.dataset) ? (
|
|
298
|
+
let cn = u(() => M.value.debug);
|
|
299
|
+
function ln() {
|
|
300
|
+
if (c(D.dataset) ? (fe({
|
|
289
301
|
componentName: "VueUiParallelCoordinatePlot",
|
|
290
302
|
type: "dataset",
|
|
291
|
-
debug:
|
|
292
|
-
}),
|
|
293
|
-
|
|
303
|
+
debug: cn.value
|
|
304
|
+
}), en.value = !0) : D.dataset.forEach((e, t) => {
|
|
305
|
+
le({
|
|
294
306
|
datasetObject: e,
|
|
295
307
|
requiredAttributes: ["name", "series"]
|
|
296
308
|
}).forEach((e) => {
|
|
297
|
-
|
|
309
|
+
Pt.value = !1, fe({
|
|
298
310
|
componentName: "VueUiParallelCoordinatePlot",
|
|
299
311
|
type: "datasetSerieAttribute",
|
|
300
312
|
property: e,
|
|
301
313
|
index: t,
|
|
302
|
-
debug:
|
|
314
|
+
debug: cn.value
|
|
303
315
|
});
|
|
304
316
|
});
|
|
305
|
-
}), c(D.dataset) || (
|
|
306
|
-
let e =
|
|
307
|
-
let { width: e, height: t } =
|
|
317
|
+
}), c(D.dataset) || (en.value = M.value.loading), M.value.responsive) {
|
|
318
|
+
let e = je(() => {
|
|
319
|
+
let { width: e, height: t } = Me({
|
|
308
320
|
chart: O.value,
|
|
309
|
-
title: I.value.title.text ?
|
|
310
|
-
legend: I.value.legend.show ?
|
|
311
|
-
source:
|
|
312
|
-
noTitle:
|
|
321
|
+
title: I.value.title.text ? It.value : null,
|
|
322
|
+
legend: I.value.legend.show ? Lt.value : null,
|
|
323
|
+
source: Rt.value,
|
|
324
|
+
noTitle: zt.value
|
|
313
325
|
});
|
|
314
326
|
requestAnimationFrame(() => {
|
|
315
327
|
H.value.width = e, H.value.height = t - 12, M.value.responsiveProportionalSizing ? (H.value.plotSize = re({
|
|
@@ -342,111 +354,111 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
|
|
|
342
354
|
B.value && (V.value && B.value.unobserve(V.value), B.value.disconnect()), B.value = new ResizeObserver(e), V.value = O.value.parentNode, B.value.observe(V.value);
|
|
343
355
|
}
|
|
344
356
|
}
|
|
345
|
-
|
|
357
|
+
Ge(() => {
|
|
346
358
|
B.value && (V.value && B.value.unobserve(V.value), B.value.disconnect());
|
|
347
359
|
});
|
|
348
|
-
let { isPrinting:
|
|
360
|
+
let { isPrinting: un, isImaging: dn, generatePdf: fn, generateImage: pn } = ye({
|
|
349
361
|
elementId: `pcp_${A.value}`,
|
|
350
362
|
fileName: I.value.title.text || "vue-ui-parallel-coordinate-plot",
|
|
351
363
|
options: M.value.userOptions.print
|
|
352
|
-
}),
|
|
364
|
+
}), mn = u(() => M.value.userOptions.show && !I.value.title.text), H = x({
|
|
353
365
|
height: I.value.height,
|
|
354
366
|
width: I.value.width,
|
|
355
367
|
plotSize: I.value.plots.radius,
|
|
356
368
|
ticksFontSize: P.value.ticks.fontSize,
|
|
357
369
|
datapointFontSize: P.value.datapoints.fontSize,
|
|
358
370
|
axisNameFontSize: P.value.axisNamesFontSize
|
|
359
|
-
}),
|
|
360
|
-
|
|
371
|
+
}), hn = u(() => H.value.width), gn = u(() => H.value.height), _n = x(0), vn = je((e) => {
|
|
372
|
+
_n.value = e;
|
|
361
373
|
}, 100);
|
|
362
|
-
|
|
363
|
-
let t =
|
|
374
|
+
Ze((e) => {
|
|
375
|
+
let t = Kt.value;
|
|
364
376
|
if (!t) return;
|
|
365
377
|
let n = new ResizeObserver((e) => {
|
|
366
|
-
|
|
378
|
+
vn(e[0].contentRect.height);
|
|
367
379
|
});
|
|
368
380
|
n.observe(t), e(() => n.disconnect());
|
|
369
381
|
});
|
|
370
|
-
let
|
|
371
|
-
let { top: e, right: t, bottom: n, left: r } = I.value.padding, i =
|
|
382
|
+
let U = u(() => {
|
|
383
|
+
let { top: e, right: t, bottom: n, left: r } = I.value.padding, i = gn.value, a = hn.value;
|
|
372
384
|
return {
|
|
373
385
|
chartHeight: Math.max(.001, i),
|
|
374
386
|
chartWidth: Math.max(.001, a),
|
|
375
|
-
height: Math.max(.001, i - e - n -
|
|
387
|
+
height: Math.max(.001, i - e - n - _n.value - H.value.datapointFontSize * 2),
|
|
376
388
|
width: Math.max(.001, a - r - t),
|
|
377
|
-
top: e +
|
|
389
|
+
top: e + _n.value + H.value.datapointFontSize,
|
|
378
390
|
left: r,
|
|
379
391
|
right: a - t,
|
|
380
392
|
bottom: i - n - H.value.datapointFontSize
|
|
381
393
|
};
|
|
382
|
-
}),
|
|
394
|
+
}), yn = u(() => he(M.value.customPalette)), W = x({
|
|
383
395
|
dataLabels: { show: P.value.datapoints.show },
|
|
384
396
|
showTable: M.value.table.show,
|
|
385
397
|
showTooltip: F.value.show
|
|
386
398
|
});
|
|
387
|
-
|
|
388
|
-
|
|
399
|
+
Xe(M, () => {
|
|
400
|
+
W.value = {
|
|
389
401
|
dataLabels: { show: P.value.datapoints.show },
|
|
390
402
|
showTable: M.value.table.show,
|
|
391
403
|
showTooltip: F.value.show
|
|
392
404
|
};
|
|
393
405
|
}, { immediate: !0 });
|
|
394
|
-
let
|
|
395
|
-
function
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
}),
|
|
406
|
+
let G = x([]);
|
|
407
|
+
function bn() {
|
|
408
|
+
G.value.length ? G.value = [] : Tn.value.forEach((e) => {
|
|
409
|
+
G.value.push(e.id);
|
|
410
|
+
}), Rn("selectLegend", On.value);
|
|
399
411
|
}
|
|
400
|
-
function
|
|
401
|
-
|
|
412
|
+
function xn(e) {
|
|
413
|
+
G.value.includes(e) ? G.value = G.value.filter((t) => t !== e) : G.value.push(e), Rn("selectLegend", On.value);
|
|
402
414
|
}
|
|
403
|
-
let
|
|
404
|
-
let n = ee(e.color) ||
|
|
415
|
+
let K = u(() => $t.value.map((e, t) => {
|
|
416
|
+
let n = ee(e.color) || yn.value[t] || o[t] || o[t % o.length];
|
|
405
417
|
return {
|
|
406
418
|
...e,
|
|
407
419
|
series: e.series.map((e) => ({
|
|
408
420
|
...e,
|
|
409
|
-
id:
|
|
421
|
+
id: pe(),
|
|
410
422
|
color: n
|
|
411
423
|
})),
|
|
412
424
|
seriesIndex: t,
|
|
413
425
|
color: n,
|
|
414
|
-
id:
|
|
426
|
+
id: pe(),
|
|
415
427
|
shape: e.shape || "circle"
|
|
416
428
|
};
|
|
417
429
|
}));
|
|
418
|
-
function
|
|
419
|
-
return
|
|
430
|
+
function Sn(e) {
|
|
431
|
+
return K.value.length ? K.value.find((t) => t.name === e) || (cn.value && console.warn(`VueUiParallelCoordinatePlot - Series name not found "${e}"`), null) : (cn.value && console.warn("VueUiParallelCoordinatePlot - There are no series to show."), null);
|
|
420
432
|
}
|
|
421
|
-
function
|
|
422
|
-
let t =
|
|
423
|
-
t !== null &&
|
|
433
|
+
function Cn(e) {
|
|
434
|
+
let t = Sn(e);
|
|
435
|
+
t !== null && G.value.includes(t.id) && xn(t.id);
|
|
424
436
|
}
|
|
425
|
-
function
|
|
426
|
-
let t =
|
|
427
|
-
t !== null && (
|
|
437
|
+
function wn(e) {
|
|
438
|
+
let t = Sn(e);
|
|
439
|
+
t !== null && (G.value.includes(t.id) || xn(t.id));
|
|
428
440
|
}
|
|
429
|
-
let
|
|
441
|
+
let Tn = u(() => K.value.map((e) => ({
|
|
430
442
|
...e,
|
|
431
|
-
opacity:
|
|
432
|
-
segregate: () =>
|
|
433
|
-
isSegregated:
|
|
443
|
+
opacity: G.value.includes(e.id) ? .5 : 1,
|
|
444
|
+
segregate: () => xn(e.id),
|
|
445
|
+
isSegregated: G.value.includes(e.id),
|
|
434
446
|
shape: e.shape || "circle"
|
|
435
|
-
}))),
|
|
447
|
+
}))), En = u(() => ({
|
|
436
448
|
cy: "pcp-div-legend",
|
|
437
449
|
backgroundColor: I.value.legend.backgroundColor,
|
|
438
450
|
color: I.value.legend.color,
|
|
439
451
|
fontSize: I.value.legend.fontSize,
|
|
440
452
|
paddingBottom: 12,
|
|
441
453
|
fontWeight: I.value.legend.bold ? "bold" : ""
|
|
442
|
-
})),
|
|
454
|
+
})), Dn = u(() => Math.max(...K.value.filter((e) => !G.value.includes(e.id)).map((e) => Math.max(...e.series.flatMap((e) => e.values.length))))), q = u(() => U.value.width / Dn.value), On = u(() => K.value.filter((e) => !G.value.includes(e.id))), J = u(() => {
|
|
443
455
|
let e = [];
|
|
444
|
-
for (let t = 0; t <
|
|
445
|
-
let n = Math.min(...
|
|
456
|
+
for (let t = 0; t < Dn.value; t += 1) {
|
|
457
|
+
let n = Math.min(...On.value.flatMap((e) => e.series.map((e) => e.values[t] || 0) || 0)), r = Math.max(...On.value.flatMap((e) => e.series.map((e) => e.values[t] || 0) || 0)), i = r === n ? n / 4 : n, a = r === n ? r * 2 : r, o = se(i, a, I.value.yAxis.scaleTicks), s = o.ticks.map((e, n) => {
|
|
446
458
|
let r = o.min < 0 ? e + Math.abs(o.min) : e - Math.abs(o.min), i = o.min < 0 ? o.max + Math.abs(o.min) : o.max - Math.abs(o.min);
|
|
447
459
|
return {
|
|
448
|
-
y:
|
|
449
|
-
x:
|
|
460
|
+
y: U.value.bottom - U.value.height * (r / i),
|
|
461
|
+
x: U.value.left + q.value * t + q.value / 2,
|
|
450
462
|
value: e
|
|
451
463
|
};
|
|
452
464
|
});
|
|
@@ -457,12 +469,12 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
|
|
|
457
469
|
});
|
|
458
470
|
}
|
|
459
471
|
return e;
|
|
460
|
-
}),
|
|
472
|
+
}), Y = u(() => On.value.map((e, t) => ({
|
|
461
473
|
...e,
|
|
462
474
|
series: e.series.map((n, r) => ({
|
|
463
475
|
...n,
|
|
464
476
|
datapoints: n.values.map((i, a) => {
|
|
465
|
-
let o =
|
|
477
|
+
let o = J.value[a].scale.min < 0 ? (i || 0) + Math.abs(J.value[a].scale.min) : (i || 0) - Math.abs(J.value[a].scale.min), s = J.value[a].scale.min < 0 ? J.value[a].scale.max + Math.abs(J.value[a].scale.min) : J.value[a].scale.max - Math.abs(J.value[a].scale.min);
|
|
466
478
|
return {
|
|
467
479
|
name: n.name,
|
|
468
480
|
seriesName: e.name,
|
|
@@ -470,8 +482,8 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
|
|
|
470
482
|
datapointIndex: r,
|
|
471
483
|
seriesIndex: t,
|
|
472
484
|
value: i || 0,
|
|
473
|
-
x:
|
|
474
|
-
y:
|
|
485
|
+
x: U.value.left + q.value * a + q.value / 2,
|
|
486
|
+
y: U.value.bottom - U.value.height * (o / s),
|
|
475
487
|
comment: n.comments && n.comments[a] || ""
|
|
476
488
|
};
|
|
477
489
|
})
|
|
@@ -479,7 +491,7 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
|
|
|
479
491
|
})).map((e) => ({
|
|
480
492
|
...e,
|
|
481
493
|
series: e.series.map((e) => {
|
|
482
|
-
let t = te(e.datapoints), n = s(e.datapoints, .12), r =
|
|
494
|
+
let t = te(e.datapoints), n = s(e.datapoints, .12), r = ce(I.value.lines.smooth ? `M ${n}` : `M ${t}`);
|
|
483
495
|
return {
|
|
484
496
|
...e,
|
|
485
497
|
smoothPath: n,
|
|
@@ -487,7 +499,7 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
|
|
|
487
499
|
pathLength: r
|
|
488
500
|
};
|
|
489
501
|
})
|
|
490
|
-
}))),
|
|
502
|
+
}))), X = u(() => Y.value.flatMap((e, t) => e.series.map((n, r) => ({
|
|
491
503
|
shape: e.shape,
|
|
492
504
|
serieName: e.name,
|
|
493
505
|
serie: n,
|
|
@@ -496,8 +508,8 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
|
|
|
496
508
|
S: t,
|
|
497
509
|
key: `${t}_${r}`
|
|
498
510
|
}))));
|
|
499
|
-
function
|
|
500
|
-
return
|
|
511
|
+
function kn({ value: e, index: t, datapoint: n }) {
|
|
512
|
+
return ue(P.value.formatters[t] || null, e, ne({
|
|
501
513
|
p: P.value.prefixes[t] || "",
|
|
502
514
|
v: e,
|
|
503
515
|
s: P.value.suffixes[t] || "",
|
|
@@ -507,8 +519,8 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
|
|
|
507
519
|
seriesIndex: t
|
|
508
520
|
});
|
|
509
521
|
}
|
|
510
|
-
let
|
|
511
|
-
function
|
|
522
|
+
let Z = x(null), An = x(null), jn = x(!1), Mn = x("");
|
|
523
|
+
function Q({ shape: e, serie: t, S: n }) {
|
|
512
524
|
M.value.events.datapointLeave && M.value.events.datapointLeave({
|
|
513
525
|
datapoint: {
|
|
514
526
|
...t,
|
|
@@ -516,51 +528,51 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
|
|
|
516
528
|
},
|
|
517
529
|
seriesIndex: n
|
|
518
530
|
});
|
|
519
|
-
let r = k.value === null ? null :
|
|
520
|
-
|
|
531
|
+
let r = k.value === null ? null : X.value[k.value];
|
|
532
|
+
Jt.value === "keyboard" && r && r.serie.id === t.id || (Z.value = null, jn.value = !1);
|
|
521
533
|
}
|
|
522
|
-
function
|
|
534
|
+
function Nn(e) {
|
|
523
535
|
if (!z.value || !e?.datapoints?.length) return;
|
|
524
536
|
let t = e.datapoints[Math.floor(e.datapoints.length / 2)];
|
|
525
537
|
if (!t) return;
|
|
526
538
|
let n = a(t.x, t.y, z.value);
|
|
527
|
-
n && (
|
|
539
|
+
n && (qt.value = n);
|
|
528
540
|
}
|
|
529
|
-
function
|
|
541
|
+
function Pn({ shape: e, serieName: t, serie: r, relativeIndex: i, seriesIndex: a, S: o, triggerMode: s = "pointer" }) {
|
|
530
542
|
M.value.events.datapointEnter && M.value.events.datapointEnter({
|
|
531
543
|
datapoint: {
|
|
532
544
|
...r,
|
|
533
545
|
shape: e
|
|
534
546
|
},
|
|
535
547
|
seriesIndex: o
|
|
536
|
-
}),
|
|
548
|
+
}), Jt.value = s, An.value = {
|
|
537
549
|
config: M.value,
|
|
538
550
|
datapoint: r,
|
|
539
551
|
serie: r,
|
|
540
552
|
relativeIndex: i,
|
|
541
553
|
seriesIndex: a,
|
|
542
|
-
series:
|
|
543
|
-
scales:
|
|
544
|
-
},
|
|
554
|
+
series: K.value,
|
|
555
|
+
scales: J.value
|
|
556
|
+
}, jn.value = !0, Z.value = r.id;
|
|
545
557
|
let c = "", ee = F.value.customFormat;
|
|
546
|
-
n(ee) &&
|
|
558
|
+
n(ee) && de(() => ee({
|
|
547
559
|
serie: r,
|
|
548
560
|
seriesIndex: r.seriesIndex,
|
|
549
|
-
series:
|
|
561
|
+
series: K.value,
|
|
550
562
|
config: M.value,
|
|
551
|
-
scales:
|
|
552
|
-
})) ?
|
|
563
|
+
scales: J.value
|
|
564
|
+
})) ? Mn.value = ee({
|
|
553
565
|
serie: r,
|
|
554
566
|
seriesIndex: r.seriesIndex,
|
|
555
|
-
series:
|
|
567
|
+
series: K.value,
|
|
556
568
|
config: M.value,
|
|
557
|
-
scales:
|
|
558
|
-
}) : (c += `<div style="width:100%;text-align:center;border-bottom:1px solid ${F.value.borderColor};padding-bottom:6px;margin-bottom:3px;">${t ? t + " - " : ""}${r.name}</div>`,
|
|
569
|
+
scales: J.value
|
|
570
|
+
}) : (c += `<div style="width:100%;text-align:center;border-bottom:1px solid ${F.value.borderColor};padding-bottom:6px;margin-bottom:3px;">${t ? t + " - " : ""}${r.name}</div>`, J.value.map((e) => e.name).forEach((e, t) => {
|
|
559
571
|
c += `
|
|
560
572
|
<div class="vue-ui-tooltip-item" style="text-align:left">
|
|
561
573
|
<span>${e}: </span>
|
|
562
574
|
<span>
|
|
563
|
-
${
|
|
575
|
+
${ue(P.value.formatters[t] || null, r.datapoints[t].value, ne({
|
|
564
576
|
p: P.value.prefixes[t] || "",
|
|
565
577
|
v: r.datapoints[t].value,
|
|
566
578
|
s: P.value.suffixes[t] || "",
|
|
@@ -572,17 +584,17 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
|
|
|
572
584
|
</span>
|
|
573
585
|
</div>
|
|
574
586
|
`, I.value.comments.showInTooltip && r.datapoints[t].comment && (c += `<div class="vue-data-ui-tooltip-comment" style="background:${r.color}20; padding: 6px; margin-bottom: 6px; border-left: 1px solid ${r.color}">${r.datapoints[t].comment}</div>`);
|
|
575
|
-
}),
|
|
576
|
-
|
|
587
|
+
}), Mn.value = `<div>${c}</div>`), s === "keyboard" && We(() => {
|
|
588
|
+
Nn(r);
|
|
577
589
|
});
|
|
578
590
|
}
|
|
579
|
-
function
|
|
580
|
-
return
|
|
591
|
+
function Fn() {
|
|
592
|
+
return K.value;
|
|
581
593
|
}
|
|
582
594
|
let $ = u(() => {
|
|
583
|
-
let e = [M.value.table.columnNames.series, M.value.table.columnNames.item].concat(
|
|
595
|
+
let e = [M.value.table.columnNames.series, M.value.table.columnNames.item].concat(J.value.map((e) => e.name));
|
|
584
596
|
return {
|
|
585
|
-
body:
|
|
597
|
+
body: Y.value.flatMap((e, t) => e.series.map((t) => [e.name, t.name].concat(t.values))),
|
|
586
598
|
head: e,
|
|
587
599
|
config: {
|
|
588
600
|
th: {
|
|
@@ -597,9 +609,9 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
|
|
|
597
609
|
},
|
|
598
610
|
breakpoint: M.value.table.responsiveBreakpoint
|
|
599
611
|
},
|
|
600
|
-
colNames: [M.value.table.columnNames.series, M.value.table.columnNames.item].concat(
|
|
612
|
+
colNames: [M.value.table.columnNames.series, M.value.table.columnNames.item].concat(J.value.map((e) => e.name))
|
|
601
613
|
};
|
|
602
|
-
}),
|
|
614
|
+
}), In = u(() => Y.value.length === 0 ? {
|
|
603
615
|
head: [],
|
|
604
616
|
body: [],
|
|
605
617
|
config: {},
|
|
@@ -608,43 +620,43 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
|
|
|
608
620
|
head: $.value.head,
|
|
609
621
|
body: $.value.body
|
|
610
622
|
});
|
|
611
|
-
function
|
|
623
|
+
function Ln(e = null) {
|
|
612
624
|
let n = [
|
|
613
625
|
[I.value.title.text],
|
|
614
626
|
[I.value.title.subtitle.text],
|
|
615
627
|
[""]
|
|
616
|
-
], i =
|
|
628
|
+
], i = In.value.head, a = In.value.body, o = n.concat([i]).concat(a), s = r(o);
|
|
617
629
|
e ? e(s) : t({
|
|
618
630
|
csvContent: s,
|
|
619
631
|
title: I.value.title.text || "vue-ui-parallel-coordinate-plot"
|
|
620
632
|
});
|
|
621
633
|
}
|
|
622
|
-
let
|
|
623
|
-
function
|
|
634
|
+
let Rn = Qe;
|
|
635
|
+
function zn({ serie: e, shape: t, S: n }) {
|
|
624
636
|
M.value.events.datapointClick && M.value.events.datapointClick({
|
|
625
637
|
datapoint: {
|
|
626
638
|
...e,
|
|
627
639
|
shape: t
|
|
628
640
|
},
|
|
629
641
|
seriesIndex: n
|
|
630
|
-
}),
|
|
642
|
+
}), Rn("selectDatapoint", e);
|
|
631
643
|
}
|
|
632
|
-
function
|
|
633
|
-
|
|
644
|
+
function Bn() {
|
|
645
|
+
W.value.showTable = !W.value.showTable;
|
|
634
646
|
}
|
|
635
|
-
function
|
|
636
|
-
|
|
647
|
+
function Vn() {
|
|
648
|
+
W.value.dataLabels.show = !W.value.dataLabels.show;
|
|
637
649
|
}
|
|
638
|
-
function
|
|
639
|
-
|
|
650
|
+
function Hn() {
|
|
651
|
+
W.value.showTooltip = !W.value.showTooltip;
|
|
640
652
|
}
|
|
641
|
-
let
|
|
642
|
-
function
|
|
643
|
-
|
|
653
|
+
let Un = x(!1);
|
|
654
|
+
function Wn() {
|
|
655
|
+
Un.value = !Un.value;
|
|
644
656
|
}
|
|
645
|
-
async function
|
|
657
|
+
async function Gn({ scale: e = 2 } = {}) {
|
|
646
658
|
if (!O.value) return;
|
|
647
|
-
let { width: t, height: n } = O.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await
|
|
659
|
+
let { width: t, height: n } = O.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await De({
|
|
648
660
|
domElement: O.value,
|
|
649
661
|
base64: !0,
|
|
650
662
|
img: !0,
|
|
@@ -659,14 +671,14 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
|
|
|
659
671
|
aspectRatio: r
|
|
660
672
|
};
|
|
661
673
|
}
|
|
662
|
-
let
|
|
674
|
+
let Kn = x({
|
|
663
675
|
start: 0,
|
|
664
676
|
end: 1
|
|
665
|
-
}),
|
|
666
|
-
|
|
667
|
-
timeLabelsEls:
|
|
668
|
-
timeLabels:
|
|
669
|
-
slicer:
|
|
677
|
+
}), qn = u(() => J.value.map((e) => e.name));
|
|
678
|
+
Ee({
|
|
679
|
+
timeLabelsEls: Kt,
|
|
680
|
+
timeLabels: qn,
|
|
681
|
+
slicer: Kn,
|
|
670
682
|
configRef: M,
|
|
671
683
|
rotationPath: [
|
|
672
684
|
"style",
|
|
@@ -684,15 +696,15 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
|
|
|
684
696
|
"enable"
|
|
685
697
|
],
|
|
686
698
|
isAutoSize: !1,
|
|
687
|
-
width:
|
|
688
|
-
height:
|
|
699
|
+
width: hn,
|
|
700
|
+
height: gn,
|
|
689
701
|
targetClass: ".vue-ui-parallel-coordinate-plot-x-label",
|
|
690
702
|
rotation: P.value.axisNamesAutoRotate.angle
|
|
691
703
|
});
|
|
692
|
-
let
|
|
693
|
-
let e = M.value.table.useDialog && !M.value.table.show, t =
|
|
704
|
+
let Jn = u(() => {
|
|
705
|
+
let e = M.value.table.useDialog && !M.value.table.show, t = W.value.showTable;
|
|
694
706
|
return {
|
|
695
|
-
component: e ?
|
|
707
|
+
component: e ? At : Tt,
|
|
696
708
|
title: `${I.value.title.text}${I.value.title.subtitle.text ? `: ${I.value.title.subtitle.text}` : ""}`,
|
|
697
709
|
props: e ? {
|
|
698
710
|
backgroundColor: M.value.table.th.backgroundColor,
|
|
@@ -720,68 +732,68 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
|
|
|
720
732
|
}
|
|
721
733
|
};
|
|
722
734
|
});
|
|
723
|
-
|
|
724
|
-
M.value.table.show || (e && M.value.table.useDialog &&
|
|
735
|
+
Xe(() => W.value.showTable, (e) => {
|
|
736
|
+
M.value.table.show || (e && M.value.table.useDialog && Wt.value ? Wt.value.open() : "close" in Wt.value && Wt.value.close());
|
|
725
737
|
});
|
|
726
|
-
function
|
|
727
|
-
|
|
738
|
+
function Yn() {
|
|
739
|
+
W.value.showTable = !1, Gt.value && Gt.value.setTableIconState(!1);
|
|
728
740
|
}
|
|
729
|
-
let
|
|
741
|
+
let Xn = u(() => I.value.backgroundColor), Zn = u(() => I.value.legend), Qn = u(() => I.value.title), { isCallbackImaging: $n, isCallbackSvg: er, generateSvg: tr, onGenerateImage: nr } = we({
|
|
730
742
|
svg: z,
|
|
731
|
-
title:
|
|
732
|
-
legend:
|
|
733
|
-
legendItems:
|
|
734
|
-
backgroundColor:
|
|
743
|
+
title: Qn,
|
|
744
|
+
legend: Zn,
|
|
745
|
+
legendItems: Tn,
|
|
746
|
+
backgroundColor: Xn,
|
|
735
747
|
getSvgCallback: () => M.value.userOptions.callbacks.svg,
|
|
736
|
-
generateImage:
|
|
748
|
+
generateImage: pn
|
|
737
749
|
});
|
|
738
|
-
async function
|
|
739
|
-
if (
|
|
750
|
+
async function rr() {
|
|
751
|
+
if (Rn("copyAlt", {
|
|
740
752
|
config: M.value,
|
|
741
|
-
dataset:
|
|
753
|
+
dataset: Y.value
|
|
742
754
|
}), !M.value.userOptions.callbacks.altCopy) {
|
|
743
755
|
console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
|
|
744
756
|
return;
|
|
745
757
|
}
|
|
746
758
|
await Promise.resolve(M.value.userOptions.callbacks.altCopy({
|
|
747
759
|
config: M.value,
|
|
748
|
-
dataset:
|
|
760
|
+
dataset: Y.value
|
|
749
761
|
}));
|
|
750
762
|
}
|
|
751
|
-
function
|
|
752
|
-
let t =
|
|
763
|
+
function ir(e) {
|
|
764
|
+
let t = X.value.length;
|
|
753
765
|
return t ? (e % t + t) % t : null;
|
|
754
766
|
}
|
|
755
|
-
function
|
|
767
|
+
function ar() {
|
|
756
768
|
if (k.value !== null) {
|
|
757
|
-
let e =
|
|
758
|
-
e &&
|
|
769
|
+
let e = X.value[k.value];
|
|
770
|
+
e && Q({
|
|
759
771
|
shape: e.shape,
|
|
760
772
|
serie: e.serie,
|
|
761
773
|
S: e.S
|
|
762
774
|
});
|
|
763
775
|
}
|
|
764
|
-
k.value = null,
|
|
776
|
+
k.value = null, Jt.value = "pointer", Z.value = null, jn.value = !1;
|
|
765
777
|
}
|
|
766
|
-
function
|
|
767
|
-
k.value = null,
|
|
778
|
+
function or() {
|
|
779
|
+
k.value = null, Yt.value = !0;
|
|
768
780
|
}
|
|
769
|
-
function
|
|
770
|
-
|
|
781
|
+
function sr() {
|
|
782
|
+
ar(), Yt.value = !1;
|
|
771
783
|
}
|
|
772
|
-
function
|
|
773
|
-
if (!z.value ||
|
|
784
|
+
function cr(e) {
|
|
785
|
+
if (!z.value || Un.value || document.activeElement !== z.value || !X.value.length) return;
|
|
774
786
|
let t = ["ArrowUp", "ArrowLeft"].includes(e.key), n = ["ArrowDown", "ArrowRight"].includes(e.key), r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
|
|
775
787
|
if (!t && !n && !r && !i) return;
|
|
776
788
|
if (e.preventDefault(), e.stopPropagation(), i) {
|
|
777
|
-
|
|
789
|
+
ar();
|
|
778
790
|
return;
|
|
779
791
|
}
|
|
780
792
|
if (r) {
|
|
781
793
|
if (k.value === null) return;
|
|
782
|
-
let e =
|
|
794
|
+
let e = X.value[k.value];
|
|
783
795
|
if (!e) return;
|
|
784
|
-
|
|
796
|
+
zn({
|
|
785
797
|
serie: e.serie,
|
|
786
798
|
shape: e.shape,
|
|
787
799
|
S: e.S
|
|
@@ -789,9 +801,9 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
|
|
|
789
801
|
return;
|
|
790
802
|
}
|
|
791
803
|
let a = k.value;
|
|
792
|
-
a = a === null ? n ? 0 :
|
|
793
|
-
let o =
|
|
794
|
-
o && (k.value = a,
|
|
804
|
+
a = a === null ? n ? 0 : X.value.length - 1 : ir(a + (n ? 1 : -1));
|
|
805
|
+
let o = X.value[a];
|
|
806
|
+
o && (k.value = a, Pn({
|
|
795
807
|
shape: o.shape,
|
|
796
808
|
serieName: o.serieName,
|
|
797
809
|
serie: o.serie,
|
|
@@ -801,7 +813,7 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
|
|
|
801
813
|
triggerMode: "keyboard"
|
|
802
814
|
}));
|
|
803
815
|
}
|
|
804
|
-
let
|
|
816
|
+
let lr = u(() => ({
|
|
805
817
|
head: $.value.head,
|
|
806
818
|
body: $.value.body.map((e) => [
|
|
807
819
|
e[0] ?? "",
|
|
@@ -811,41 +823,41 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
|
|
|
811
823
|
caption: M.value.a11y.translations.tableCaption,
|
|
812
824
|
notice: M.value.a11y.translations.tableAvailable
|
|
813
825
|
}));
|
|
814
|
-
return
|
|
815
|
-
getData:
|
|
816
|
-
getImage:
|
|
817
|
-
generateCsv:
|
|
818
|
-
generatePdf:
|
|
819
|
-
generateImage:
|
|
820
|
-
generateSvg:
|
|
821
|
-
hideSeries:
|
|
822
|
-
showSeries:
|
|
823
|
-
toggleTable:
|
|
824
|
-
toggleLabels:
|
|
825
|
-
toggleTooltip:
|
|
826
|
-
toggleAnnotator:
|
|
827
|
-
toggleFullscreen:
|
|
828
|
-
copyAlt:
|
|
826
|
+
return Ae({
|
|
827
|
+
getData: Fn,
|
|
828
|
+
getImage: Gn,
|
|
829
|
+
generateCsv: Ln,
|
|
830
|
+
generatePdf: fn,
|
|
831
|
+
generateImage: pn,
|
|
832
|
+
generateSvg: tr,
|
|
833
|
+
hideSeries: wn,
|
|
834
|
+
showSeries: Cn,
|
|
835
|
+
toggleTable: Bn,
|
|
836
|
+
toggleLabels: Vn,
|
|
837
|
+
toggleTooltip: Hn,
|
|
838
|
+
toggleAnnotator: Wn,
|
|
839
|
+
toggleFullscreen: Xt,
|
|
840
|
+
copyAlt: rr
|
|
829
841
|
}), (e, t) => (b(), p("div", {
|
|
830
842
|
ref_key: "pcpChart",
|
|
831
843
|
ref: O,
|
|
832
844
|
class: _(`vue-data-ui-component vue-ui-pcp ${j.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${M.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
833
845
|
style: y(`font-family:${M.value.style.fontFamily};width:100%; text-align:center;background:${I.value.backgroundColor};${M.value.responsive ? "height:100%" : ""}`),
|
|
834
846
|
id: `pcp_${A.value}`,
|
|
835
|
-
onMouseenter: t[2] ||= () => T(
|
|
836
|
-
onMouseleave: t[3] ||= () => T(
|
|
847
|
+
onMouseenter: t[2] ||= () => T(nn)(!0),
|
|
848
|
+
onMouseleave: t[3] ||= () => T(nn)(!1)
|
|
837
849
|
}, [
|
|
838
850
|
m("div", {
|
|
839
851
|
id: `chart-instructions-${A.value}`,
|
|
840
852
|
class: "sr-only"
|
|
841
|
-
}, [m("p", null, w(M.value.a11y.translations.keyboardNavigation), 1)], 8,
|
|
842
|
-
|
|
853
|
+
}, [m("p", null, w(M.value.a11y.translations.keyboardNavigation), 1)], 8, et),
|
|
854
|
+
lr.value.body.length ? (b(), d(Pe, {
|
|
843
855
|
key: 0,
|
|
844
856
|
uid: A.value,
|
|
845
|
-
head:
|
|
846
|
-
body:
|
|
847
|
-
caption:
|
|
848
|
-
notice:
|
|
857
|
+
head: lr.value.head,
|
|
858
|
+
body: lr.value.body,
|
|
859
|
+
caption: lr.value.caption,
|
|
860
|
+
notice: lr.value.notice
|
|
849
861
|
}, null, 8, [
|
|
850
862
|
"uid",
|
|
851
863
|
"head",
|
|
@@ -853,15 +865,15 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
|
|
|
853
865
|
"caption",
|
|
854
866
|
"notice"
|
|
855
867
|
])) : f("", !0),
|
|
856
|
-
N.value.buttons.annotator ? (b(), d(T(
|
|
868
|
+
N.value.buttons.annotator ? (b(), d(T(Dt), {
|
|
857
869
|
key: 1,
|
|
858
870
|
svgRef: T(z),
|
|
859
871
|
backgroundColor: I.value.backgroundColor,
|
|
860
872
|
color: I.value.color,
|
|
861
|
-
active:
|
|
873
|
+
active: Un.value,
|
|
862
874
|
isCursorPointer: R.value,
|
|
863
875
|
palette: N.value.annotatorPalette,
|
|
864
|
-
onClose:
|
|
876
|
+
onClose: Wn
|
|
865
877
|
}, {
|
|
866
878
|
"annotator-action-close": E(() => [C(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
867
879
|
"annotator-action-color": E(({ color: t }) => [C(e.$slots, "annotator-action-color", v(g({ color: t })), void 0, !0)]),
|
|
@@ -878,20 +890,20 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
|
|
|
878
890
|
"isCursorPointer",
|
|
879
891
|
"palette"
|
|
880
892
|
])) : f("", !0),
|
|
881
|
-
|
|
893
|
+
mn.value ? (b(), p("div", {
|
|
882
894
|
key: 2,
|
|
883
895
|
ref_key: "noTitle",
|
|
884
|
-
ref:
|
|
896
|
+
ref: zt,
|
|
885
897
|
class: "vue-data-ui-no-title-space",
|
|
886
898
|
style: "height:36px; width: 100%;background:transparent"
|
|
887
899
|
}, null, 512)) : f("", !0),
|
|
888
900
|
I.value.title.text ? (b(), p("div", {
|
|
889
901
|
key: 3,
|
|
890
902
|
ref_key: "chartTitle",
|
|
891
|
-
ref:
|
|
903
|
+
ref: It,
|
|
892
904
|
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
893
|
-
}, [(b(), d(
|
|
894
|
-
key: `title_${
|
|
905
|
+
}, [(b(), d(Oe, {
|
|
906
|
+
key: `title_${Bt.value}`,
|
|
895
907
|
config: {
|
|
896
908
|
title: {
|
|
897
909
|
cy: "pcp-div-title",
|
|
@@ -903,15 +915,15 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
|
|
|
903
915
|
}
|
|
904
916
|
}
|
|
905
917
|
}, null, 8, ["config"]))], 512)) : f("", !0),
|
|
906
|
-
m("div", { id: `legend-top-${A.value}` }, null, 8,
|
|
907
|
-
N.value.show &&
|
|
918
|
+
m("div", { id: `legend-top-${A.value}` }, null, 8, tt),
|
|
919
|
+
N.value.show && Pt.value && (T(rn) || T(tn)) ? (b(), d(T(Ot), {
|
|
908
920
|
ref_key: "userOptionsRef",
|
|
909
|
-
ref:
|
|
910
|
-
key: `user_options_${
|
|
921
|
+
ref: Gt,
|
|
922
|
+
key: `user_options_${Ft.value}`,
|
|
911
923
|
backgroundColor: I.value.backgroundColor,
|
|
912
924
|
color: I.value.color,
|
|
913
|
-
isPrinting: T(
|
|
914
|
-
isImaging: T(
|
|
925
|
+
isPrinting: T(un),
|
|
926
|
+
isImaging: T(dn),
|
|
915
927
|
uid: A.value,
|
|
916
928
|
hasTooltip: N.value.buttons.tooltip && F.value.show,
|
|
917
929
|
hasPdf: N.value.buttons.pdf,
|
|
@@ -923,28 +935,28 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
|
|
|
923
935
|
hasFullscreen: N.value.buttons.fullscreen,
|
|
924
936
|
hasAltCopy: N.value.buttons.altCopy,
|
|
925
937
|
isFullscreen: j.value,
|
|
926
|
-
isTooltip:
|
|
938
|
+
isTooltip: W.value.showTooltip,
|
|
927
939
|
titles: { ...N.value.buttonTitles },
|
|
928
940
|
chartElement: O.value,
|
|
929
941
|
position: N.value.position,
|
|
930
942
|
hasAnnotator: N.value.buttons.annotator,
|
|
931
|
-
isAnnotation:
|
|
943
|
+
isAnnotation: Un.value,
|
|
932
944
|
callbacks: N.value.callbacks,
|
|
933
945
|
printScale: N.value.print.scale,
|
|
934
946
|
tableDialog: M.value.table.useDialog,
|
|
935
947
|
isCursorPointer: R.value,
|
|
936
|
-
onToggleFullscreen:
|
|
937
|
-
onGeneratePdf: T(
|
|
938
|
-
onGenerateCsv:
|
|
939
|
-
onGenerateImage: T(
|
|
940
|
-
onGenerateSvg: T(
|
|
941
|
-
onToggleTable:
|
|
942
|
-
onToggleLabels:
|
|
943
|
-
onToggleTooltip:
|
|
944
|
-
onToggleAnnotator:
|
|
945
|
-
onCopyAlt:
|
|
946
|
-
style: y({ visibility: T(
|
|
947
|
-
},
|
|
948
|
+
onToggleFullscreen: Xt,
|
|
949
|
+
onGeneratePdf: T(fn),
|
|
950
|
+
onGenerateCsv: Ln,
|
|
951
|
+
onGenerateImage: T(nr),
|
|
952
|
+
onGenerateSvg: T(tr),
|
|
953
|
+
onToggleTable: Bn,
|
|
954
|
+
onToggleLabels: Vn,
|
|
955
|
+
onToggleTooltip: Hn,
|
|
956
|
+
onToggleAnnotator: Wn,
|
|
957
|
+
onCopyAlt: rr,
|
|
958
|
+
style: y({ visibility: T(rn) ? T(tn) ? "visible" : "hidden" : "visible" })
|
|
959
|
+
}, Be({ _: 2 }, [
|
|
948
960
|
e.$slots.menuIcon ? {
|
|
949
961
|
name: "menuIcon",
|
|
950
962
|
fn: E(({ isOpen: t, color: n }) => [C(e.$slots, "menuIcon", v(g({
|
|
@@ -1020,47 +1032,47 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
|
|
|
1020
1032
|
key: "12"
|
|
1021
1033
|
} : void 0
|
|
1022
1034
|
]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasTooltip.hasPdf.hasXls.hasImg.hasSvg.hasTable.hasLabel.hasFullscreen.hasAltCopy.isFullscreen.isTooltip.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.onGenerateImage.onGenerateSvg.style".split("."))) : f("", !0),
|
|
1023
|
-
m("div",
|
|
1035
|
+
m("div", nt, [(b(), p("svg", {
|
|
1024
1036
|
ref_key: "svgRef",
|
|
1025
1037
|
ref: z,
|
|
1026
|
-
xmlns: T(
|
|
1038
|
+
xmlns: T(me),
|
|
1027
1039
|
"aria-describedby": `chart-instructions-${A.value}`,
|
|
1028
1040
|
class: _({
|
|
1029
1041
|
"vue-data-ui-fullscreen--on": j.value,
|
|
1030
1042
|
"vue-data-ui-fulscreen--off": !j.value,
|
|
1031
1043
|
"vue-data-ui-no-transition": !T(L)
|
|
1032
1044
|
}),
|
|
1033
|
-
viewBox: `0 0 ${
|
|
1045
|
+
viewBox: `0 0 ${U.value.chartWidth <= 0 ? 10 : U.value.chartWidth} ${U.value.chartHeight <= 0 ? 10 : U.value.chartHeight}`,
|
|
1034
1046
|
style: y(`max-width:100%; overflow: visible; background:transparent;color:${I.value.color}`),
|
|
1035
1047
|
tabindex: "0",
|
|
1036
|
-
onFocus:
|
|
1037
|
-
onBlur:
|
|
1038
|
-
onKeydown:
|
|
1048
|
+
onFocus: or,
|
|
1049
|
+
onBlur: sr,
|
|
1050
|
+
onKeydown: cr
|
|
1039
1051
|
}, [
|
|
1040
|
-
|
|
1052
|
+
He(T(kt)),
|
|
1041
1053
|
e.$slots["chart-background"] ? (b(), p("foreignObject", {
|
|
1042
1054
|
key: 0,
|
|
1043
|
-
x:
|
|
1044
|
-
y:
|
|
1045
|
-
width:
|
|
1046
|
-
height:
|
|
1055
|
+
x: U.value.left,
|
|
1056
|
+
y: U.value.top,
|
|
1057
|
+
width: U.value.width,
|
|
1058
|
+
height: U.value.height,
|
|
1047
1059
|
style: { pointerEvents: "none" }
|
|
1048
|
-
}, [C(e.$slots, "chart-background", {}, void 0, !0)], 8,
|
|
1049
|
-
(b(!0), p(l, null, S(
|
|
1050
|
-
x1:
|
|
1051
|
-
x2:
|
|
1052
|
-
y1:
|
|
1053
|
-
y2:
|
|
1060
|
+
}, [C(e.$slots, "chart-background", {}, void 0, !0)], 8, it)) : f("", !0),
|
|
1061
|
+
(b(!0), p(l, null, S(J.value, (e, t) => (b(), p("g", at, [m("line", {
|
|
1062
|
+
x1: U.value.left + q.value * t + q.value / 2,
|
|
1063
|
+
x2: U.value.left + q.value * t + q.value / 2,
|
|
1064
|
+
y1: U.value.top,
|
|
1065
|
+
y2: U.value.bottom,
|
|
1054
1066
|
stroke: I.value.yAxis.stroke,
|
|
1055
1067
|
"stroke-width": I.value.yAxis.strokeWidth
|
|
1056
|
-
}, null, 8,
|
|
1068
|
+
}, null, 8, ot), P.value.ticks.show ? (b(), p(l, { key: 0 }, [(b(!0), p(l, null, S(e.ticks, (t, n) => (b(), p("path", {
|
|
1057
1069
|
class: _({ "vue-data-ui-transition": T(L) }),
|
|
1058
1070
|
key: `tick_${e.name}_${n}`,
|
|
1059
1071
|
d: `M${t.x},${t.y} ${t.x - 10},${t.y}`,
|
|
1060
1072
|
stroke: I.value.yAxis.stroke,
|
|
1061
1073
|
"stroke-width": I.value.yAxis.strokeWidth,
|
|
1062
|
-
style: y(`opacity:${
|
|
1063
|
-
}, null, 14,
|
|
1074
|
+
style: y(`opacity:${Z.value && !W.value.showTooltip ? .2 : 1}`)
|
|
1075
|
+
}, null, 14, st))), 128)), T(Qt) ? f("", !0) : (b(), p("g", ct, [(b(!0), p(l, null, S(e.ticks, (n, r) => (b(), p("text", {
|
|
1064
1076
|
key: `tl_${e.name}_${r}`,
|
|
1065
1077
|
class: _({ "vue-data-ui-transition": T(L) }),
|
|
1066
1078
|
transform: `translate(${n.x - 12 + P.value.ticks.offsetX}, ${n.y + P.value.ticks.offsetY + H.value.ticksFontSize / 3})`,
|
|
@@ -1068,24 +1080,24 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
|
|
|
1068
1080
|
"text-anchor": "end",
|
|
1069
1081
|
"font-size": H.value.ticksFontSize,
|
|
1070
1082
|
"font-weight": P.value.ticks.bold ? "bold" : "normal",
|
|
1071
|
-
style: y(`opacity:${
|
|
1072
|
-
}, w(
|
|
1083
|
+
style: y(`opacity:${Z.value && !W.value.showTooltip ? .2 : 1}`)
|
|
1084
|
+
}, w(kn({
|
|
1073
1085
|
value: n.value,
|
|
1074
1086
|
index: t,
|
|
1075
1087
|
datapoint: n
|
|
1076
|
-
})), 15,
|
|
1088
|
+
})), 15, lt))), 128))]))], 64)) : f("", !0)]))), 256)),
|
|
1077
1089
|
P.value.showAxisNames ? (b(), p("g", {
|
|
1078
1090
|
key: 1,
|
|
1079
1091
|
ref_key: "xAxisLabels",
|
|
1080
|
-
ref:
|
|
1081
|
-
}, [(b(!0), p(l, null, S(
|
|
1092
|
+
ref: Kt
|
|
1093
|
+
}, [(b(!0), p(l, null, S(J.value, (e, t) => (b(), p(l, null, [String(e.name).includes("\n") ? (b(), p("text", {
|
|
1082
1094
|
key: 1,
|
|
1083
1095
|
class: "vue-ui-parallel-coordinate-plot-x-label",
|
|
1084
1096
|
fill: P.value.axisNamesColor,
|
|
1085
1097
|
"font-size": H.value.axisNameFontSize,
|
|
1086
1098
|
"font-weight": P.value.axisNamesBold ? "bold" : "",
|
|
1087
1099
|
"text-anchor": P.value.axisNamesRotation === 0 ? "middle" : P.value.axisNamesRotation < 0 ? "start" : "end",
|
|
1088
|
-
transform: `translate(${
|
|
1100
|
+
transform: `translate(${U.value.left + q.value * t + q.value / 2}, ${_n.value - H.value.axisNameFontSize}), rotate(${P.value.axisNamesRotation})`,
|
|
1089
1101
|
innerHTML: T(i)({
|
|
1090
1102
|
content: String(e.name),
|
|
1091
1103
|
fontSize: H.value.axisNameFontSize,
|
|
@@ -1093,18 +1105,18 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
|
|
|
1093
1105
|
x: 0,
|
|
1094
1106
|
y: 0
|
|
1095
1107
|
})
|
|
1096
|
-
}, null, 8,
|
|
1108
|
+
}, null, 8, dt)) : (b(), p("text", {
|
|
1097
1109
|
key: 0,
|
|
1098
1110
|
class: "vue-ui-parallel-coordinate-plot-x-label",
|
|
1099
1111
|
fill: P.value.axisNamesColor,
|
|
1100
1112
|
"font-size": H.value.axisNameFontSize,
|
|
1101
1113
|
"font-weight": P.value.axisNamesBold ? "bold" : "",
|
|
1102
1114
|
"text-anchor": P.value.axisNamesRotation === 0 ? "middle" : P.value.axisNamesRotation < 0 ? "start" : "end",
|
|
1103
|
-
transform: `translate(${
|
|
1104
|
-
}, w(e.name), 9,
|
|
1105
|
-
(b(!0), p(l, null, S(
|
|
1106
|
-
I.value.plots.show ? (b(), p("g",
|
|
1107
|
-
(b(!0), p(l, null, S(r.datapoints, (e, a) => (b(), d(
|
|
1115
|
+
transform: `translate(${U.value.left + q.value * t + q.value / 2}, ${_n.value - H.value.axisNameFontSize}), rotate(${P.value.axisNamesRotation})`
|
|
1116
|
+
}, w(e.name), 9, ut))], 64))), 256))], 512)) : f("", !0),
|
|
1117
|
+
(b(!0), p(l, null, S(Y.value, (t, n) => (b(), p("g", null, [(b(!0), p(l, null, S(t.series, (r, i) => (b(), p("g", null, [
|
|
1118
|
+
I.value.plots.show ? (b(), p("g", ft, [
|
|
1119
|
+
(b(!0), p(l, null, S(r.datapoints, (e, a) => (b(), d(ke, {
|
|
1108
1120
|
plot: {
|
|
1109
1121
|
x: e.x,
|
|
1110
1122
|
y: e.y
|
|
@@ -1114,7 +1126,7 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
|
|
|
1114
1126
|
radius: t.shape === "triangle" ? H.value.plotSize * 1.2 : H.value.plotSize,
|
|
1115
1127
|
stroke: I.value.backgroundColor,
|
|
1116
1128
|
strokeWidth: .5,
|
|
1117
|
-
onMouseenter: (e) =>
|
|
1129
|
+
onMouseenter: (e) => Pn({
|
|
1118
1130
|
shape: t.shape,
|
|
1119
1131
|
serieName: t.name,
|
|
1120
1132
|
serie: r,
|
|
@@ -1123,13 +1135,13 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
|
|
|
1123
1135
|
S: n,
|
|
1124
1136
|
triggerMode: "pointer"
|
|
1125
1137
|
}),
|
|
1126
|
-
onMouseleave: (e) =>
|
|
1138
|
+
onMouseleave: (e) => Q({
|
|
1127
1139
|
serie: r,
|
|
1128
1140
|
shape: t.shape,
|
|
1129
1141
|
S: n
|
|
1130
1142
|
}),
|
|
1131
|
-
style: y(`opacity:${
|
|
1132
|
-
onClick: () =>
|
|
1143
|
+
style: y(`opacity:${Z.value ? Z.value === r.id ? I.value.plots.opacity : .2 : I.value.plots.opacity}`),
|
|
1144
|
+
onClick: () => zn({
|
|
1133
1145
|
serie: r,
|
|
1134
1146
|
shape: t.shape,
|
|
1135
1147
|
S: n
|
|
@@ -1145,7 +1157,7 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
|
|
|
1145
1157
|
"style",
|
|
1146
1158
|
"onClick"
|
|
1147
1159
|
]))), 256)),
|
|
1148
|
-
|
|
1160
|
+
W.value.showTooltip ? f("", !0) : (b(), p(l, { key: 0 }, [Z.value && Z.value === r.id && r.datapoints.length ? (b(), p("text", {
|
|
1149
1161
|
key: 0,
|
|
1150
1162
|
x: r.datapoints[0].x - H.value.ticksFontSize,
|
|
1151
1163
|
y: r.datapoints[0].y + H.value.ticksFontSize / 3,
|
|
@@ -1153,7 +1165,7 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
|
|
|
1153
1165
|
"font-size": H.value.ticksFontSize,
|
|
1154
1166
|
fill: t.color,
|
|
1155
1167
|
"font-weight": "bold"
|
|
1156
|
-
}, w(r.name), 9,
|
|
1168
|
+
}, w(r.name), 9, pt)) : f("", !0)], 64)),
|
|
1157
1169
|
I.value.comments.show ? (b(!0), p(l, { key: 1 }, S(r.datapoints, (n) => (b(), p("g", null, [n.comment ? (b(), p("foreignObject", {
|
|
1158
1170
|
key: 0,
|
|
1159
1171
|
style: { overflow: "visible" },
|
|
@@ -1161,10 +1173,10 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
|
|
|
1161
1173
|
width: I.value.comments.width,
|
|
1162
1174
|
x: n.x - I.value.comments.width / 2 + I.value.comments.offsetX,
|
|
1163
1175
|
y: n.y + I.value.comments.offsetY + 6
|
|
1164
|
-
}, [m("div",
|
|
1176
|
+
}, [m("div", ht, [C(e.$slots, "plot-comment", { plot: {
|
|
1165
1177
|
...n,
|
|
1166
1178
|
color: t.color
|
|
1167
|
-
} }, void 0, !0)])], 8,
|
|
1179
|
+
} }, void 0, !0)])], 8, mt)) : f("", !0)]))), 256)) : f("", !0)
|
|
1168
1180
|
])) : f("", !0),
|
|
1169
1181
|
m("path", {
|
|
1170
1182
|
d: `M${I.value.lines.smooth ? r.smoothPath : r.straightPath}`,
|
|
@@ -1175,7 +1187,7 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
|
|
|
1175
1187
|
"vue-ui-pcp-animated vue-data-ui-line-animated": M.value.useCssAnimation,
|
|
1176
1188
|
"vue-data-ui-transition": T(L)
|
|
1177
1189
|
}),
|
|
1178
|
-
onMouseenter: (e) =>
|
|
1190
|
+
onMouseenter: (e) => Pn({
|
|
1179
1191
|
shape: t.shape,
|
|
1180
1192
|
serieName: t.name,
|
|
1181
1193
|
serie: r,
|
|
@@ -1184,19 +1196,19 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
|
|
|
1184
1196
|
S: n,
|
|
1185
1197
|
triggerMode: "pointer"
|
|
1186
1198
|
}),
|
|
1187
|
-
onMouseleave: (e) =>
|
|
1199
|
+
onMouseleave: (e) => Q({
|
|
1188
1200
|
serie: r,
|
|
1189
1201
|
shape: t.shape,
|
|
1190
1202
|
S: n
|
|
1191
1203
|
}),
|
|
1192
|
-
onClick: () =>
|
|
1204
|
+
onClick: () => zn({
|
|
1193
1205
|
serie: r,
|
|
1194
1206
|
shape: t.shape,
|
|
1195
1207
|
S: n
|
|
1196
1208
|
}),
|
|
1197
|
-
style: y(`opacity:${
|
|
1198
|
-
}, null, 46,
|
|
1199
|
-
|
|
1209
|
+
style: y(`opacity:${Z.value ? Z.value === r.id ? I.value.lines.opacity : .2 : I.value.lines.opacity}; stroke-dasharray:${r.pathLength}; stroke-dashoffset: ${M.value.useCssAnimation ? r.pathLength : 0}`)
|
|
1210
|
+
}, null, 46, gt),
|
|
1211
|
+
W.value.showTooltip ? (b(), p("path", {
|
|
1200
1212
|
key: 1,
|
|
1201
1213
|
d: `M${I.value.lines.smooth ? r.smoothPath : r.straightPath}`,
|
|
1202
1214
|
stroke: "transparent",
|
|
@@ -1206,7 +1218,7 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
|
|
|
1206
1218
|
"vue-ui-pcp-animated vue-data-ui-line-animated": M.value.useCssAnimation,
|
|
1207
1219
|
"vue-data-ui-transition": T(L)
|
|
1208
1220
|
}),
|
|
1209
|
-
onMouseenter: (e) =>
|
|
1221
|
+
onMouseenter: (e) => Pn({
|
|
1210
1222
|
shape: t.shape,
|
|
1211
1223
|
serieName: t.name,
|
|
1212
1224
|
serie: r,
|
|
@@ -1215,20 +1227,20 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
|
|
|
1215
1227
|
S: n,
|
|
1216
1228
|
triggerMode: "pointer"
|
|
1217
1229
|
}),
|
|
1218
|
-
onMouseleave: (e) =>
|
|
1230
|
+
onMouseleave: (e) => Q({
|
|
1219
1231
|
serie: r,
|
|
1220
1232
|
shape: t.shape,
|
|
1221
1233
|
S: n
|
|
1222
1234
|
}),
|
|
1223
|
-
onClick: () =>
|
|
1235
|
+
onClick: () => zn({
|
|
1224
1236
|
serie: r,
|
|
1225
1237
|
shape: t.shape,
|
|
1226
1238
|
S: n
|
|
1227
1239
|
}),
|
|
1228
1240
|
style: { opacity: "0" }
|
|
1229
|
-
}, null, 42,
|
|
1241
|
+
}, null, 42, _t)) : f("", !0)
|
|
1230
1242
|
]))), 256))]))), 256)),
|
|
1231
|
-
(b(!0), p(l, null, S(
|
|
1243
|
+
(b(!0), p(l, null, S(Y.value, (e, t) => (b(), p("g", null, [(b(!0), p(l, null, S(e.series, (n, r) => (b(), p("g", null, [!T(Qt) && (W.value.dataLabels.show || Z.value && Z.value === n.id) ? (b(!0), p(l, { key: 0 }, S(n.datapoints, (i, a) => (b(), p("text", {
|
|
1232
1244
|
key: `pl_${n.id}_${a}`,
|
|
1233
1245
|
transform: `translate(${i.x + 12 + P.value.datapoints.offsetX}, ${i.y + P.value.datapoints.offsetY + H.value.datapointFontSize / 3})`,
|
|
1234
1246
|
fill: P.value.datapoints.useSerieColor ? e.color : P.value.datapoints.color,
|
|
@@ -1244,7 +1256,7 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
|
|
|
1244
1256
|
"stroke-linecap": "round",
|
|
1245
1257
|
"stroke-linejoin": "round",
|
|
1246
1258
|
"paint-order": "stroke fill",
|
|
1247
|
-
onMouseenter: (i) =>
|
|
1259
|
+
onMouseenter: (i) => Pn({
|
|
1248
1260
|
shape: e.shape,
|
|
1249
1261
|
serieName: e.name,
|
|
1250
1262
|
serie: n,
|
|
@@ -1253,60 +1265,60 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
|
|
|
1253
1265
|
S: t,
|
|
1254
1266
|
triggerMode: "pointer"
|
|
1255
1267
|
}),
|
|
1256
|
-
onMouseleave: (r) =>
|
|
1268
|
+
onMouseleave: (r) => Q({
|
|
1257
1269
|
serie: n,
|
|
1258
1270
|
shape: e.shape,
|
|
1259
1271
|
S: t
|
|
1260
1272
|
}),
|
|
1261
|
-
onClick: () =>
|
|
1273
|
+
onClick: () => zn({
|
|
1262
1274
|
serie: n,
|
|
1263
1275
|
shape: e.shape,
|
|
1264
1276
|
S: t
|
|
1265
1277
|
}),
|
|
1266
|
-
style: y(`opacity:${
|
|
1267
|
-
}, w(
|
|
1278
|
+
style: y(`opacity:${Z.value ? Z.value === n.id ? 1 : .2 : 1}`)
|
|
1279
|
+
}, w(kn({
|
|
1268
1280
|
value: i.value,
|
|
1269
1281
|
index: a,
|
|
1270
1282
|
datapoint: i
|
|
1271
|
-
})), 47,
|
|
1283
|
+
})), 47, vt))), 128)) : f("", !0)]))), 256))]))), 256)),
|
|
1272
1284
|
C(e.$slots, "svg", { svg: {
|
|
1273
|
-
...
|
|
1274
|
-
isPrintingImg: T(
|
|
1275
|
-
isPrintingSvg: T(
|
|
1285
|
+
...U.value,
|
|
1286
|
+
isPrintingImg: T(un) || T(dn) || T($n),
|
|
1287
|
+
isPrintingSvg: T(er)
|
|
1276
1288
|
} }, void 0, !0)
|
|
1277
|
-
], 46,
|
|
1289
|
+
], 46, rt)), e.$slots.hint ? (b(), p("div", yt, [C(e.$slots, "hint", v(g({
|
|
1278
1290
|
hint: M.value.a11y.translations.keyboardNavigation,
|
|
1279
|
-
isVisible:
|
|
1291
|
+
isVisible: Yt.value
|
|
1280
1292
|
})), void 0, !0)])) : f("", !0)]),
|
|
1281
|
-
e.$slots.watermark ? (b(), p("div",
|
|
1282
|
-
m("div", { id: `legend-bottom-${A.value}` }, null, 8,
|
|
1283
|
-
|
|
1293
|
+
e.$slots.watermark ? (b(), p("div", bt, [C(e.$slots, "watermark", v(g({ isPrinting: T(un) || T(dn) || T($n) || T(er) })), void 0, !0)])) : f("", !0),
|
|
1294
|
+
m("div", { id: `legend-bottom-${A.value}` }, null, 8, xt),
|
|
1295
|
+
Ut.value && (I.value.legend.show || e.$slots.legend) ? (b(), d(ze, {
|
|
1284
1296
|
key: 6,
|
|
1285
1297
|
to: I.value.legend.position === "top" ? `#legend-top-${A.value}` : `#legend-bottom-${A.value}`
|
|
1286
1298
|
}, [m("div", {
|
|
1287
1299
|
ref_key: "chartLegend",
|
|
1288
|
-
ref:
|
|
1289
|
-
}, [C(e.$slots, "legend", { legend:
|
|
1290
|
-
key: `legend_${
|
|
1291
|
-
legendSet:
|
|
1292
|
-
config:
|
|
1300
|
+
ref: Lt
|
|
1301
|
+
}, [C(e.$slots, "legend", { legend: Tn.value }, () => [I.value.legend.show && Pt.value ? (b(), d(Le, {
|
|
1302
|
+
key: `legend_${Vt.value}`,
|
|
1303
|
+
legendSet: Tn.value,
|
|
1304
|
+
config: En.value,
|
|
1293
1305
|
isCursorPointer: R.value,
|
|
1294
1306
|
onClickMarker: t[0] ||= ({ legend: e }) => {
|
|
1295
|
-
|
|
1307
|
+
xn(e.id);
|
|
1296
1308
|
}
|
|
1297
1309
|
}, {
|
|
1298
1310
|
item: E(({ legend: e, index: t }) => [m("div", {
|
|
1299
1311
|
onClick: (t) => e.segregate(),
|
|
1300
|
-
style: y(`opacity:${
|
|
1301
|
-
}, w(e.name), 13,
|
|
1302
|
-
legendToggle: E(() => [
|
|
1312
|
+
style: y(`opacity:${G.value.includes(e.id) ? .5 : 1}`)
|
|
1313
|
+
}, w(e.name), 13, St)]),
|
|
1314
|
+
legendToggle: E(() => [Tn.value.length > 2 && I.value.legend.selectAllToggle.show && !T(Qt) ? (b(), d(Ne, {
|
|
1303
1315
|
key: 0,
|
|
1304
1316
|
backgroundColor: I.value.legend.selectAllToggle.backgroundColor,
|
|
1305
1317
|
color: I.value.legend.selectAllToggle.color,
|
|
1306
1318
|
fontSize: I.value.legend.fontSize,
|
|
1307
|
-
checked:
|
|
1319
|
+
checked: G.value.length > 0,
|
|
1308
1320
|
isCursorPointer: R.value,
|
|
1309
|
-
onToggle:
|
|
1321
|
+
onToggle: bn
|
|
1310
1322
|
}, null, 8, [
|
|
1311
1323
|
"backgroundColor",
|
|
1312
1324
|
"color",
|
|
@@ -1323,12 +1335,12 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
|
|
|
1323
1335
|
e.$slots.source ? (b(), p("div", {
|
|
1324
1336
|
key: 7,
|
|
1325
1337
|
ref_key: "source",
|
|
1326
|
-
ref:
|
|
1338
|
+
ref: Rt,
|
|
1327
1339
|
dir: "auto"
|
|
1328
1340
|
}, [C(e.$slots, "source", {}, void 0, !0)], 512)) : f("", !0),
|
|
1329
|
-
|
|
1341
|
+
He(T(Ct), {
|
|
1330
1342
|
teleportTo: F.value.teleportTo,
|
|
1331
|
-
show:
|
|
1343
|
+
show: W.value.showTooltip && jn.value,
|
|
1332
1344
|
backgroundColor: F.value.backgroundColor,
|
|
1333
1345
|
color: F.value.color,
|
|
1334
1346
|
fontSize: F.value.fontSize,
|
|
@@ -1340,19 +1352,19 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
|
|
|
1340
1352
|
offsetX: F.value.offsetX,
|
|
1341
1353
|
offsetY: F.value.offsetY,
|
|
1342
1354
|
parent: O.value,
|
|
1343
|
-
content:
|
|
1355
|
+
content: Mn.value,
|
|
1344
1356
|
isFullscreen: j.value,
|
|
1345
1357
|
isCustom: T(n)(F.value.customFormat),
|
|
1346
1358
|
smooth: F.value.smooth,
|
|
1347
1359
|
backdropFilter: F.value.backdropFilter,
|
|
1348
1360
|
smoothForce: F.value.smoothForce,
|
|
1349
1361
|
smoothSnapThreshold: F.value.smoothSnapThreshold,
|
|
1350
|
-
isA11yMode:
|
|
1351
|
-
a11yPosition:
|
|
1362
|
+
isA11yMode: Jt.value === "keyboard",
|
|
1363
|
+
a11yPosition: qt.value
|
|
1352
1364
|
}, {
|
|
1353
|
-
"tooltip-before": E(() => [C(e.$slots, "tooltip-before", v(g({ ...
|
|
1354
|
-
tooltip: E(() => [C(e.$slots, "tooltip", v(g({ ...
|
|
1355
|
-
"tooltip-after": E(() => [C(e.$slots, "tooltip-after", v(g({ ...
|
|
1365
|
+
"tooltip-before": E(() => [C(e.$slots, "tooltip-before", v(g({ ...An.value })), void 0, !0)]),
|
|
1366
|
+
tooltip: E(() => [C(e.$slots, "tooltip", v(g({ ...An.value })), void 0, !0)]),
|
|
1367
|
+
"tooltip-after": E(() => [C(e.$slots, "tooltip-after", v(g({ ...An.value })), void 0, !0)]),
|
|
1356
1368
|
_: 3
|
|
1357
1369
|
}, 8, [
|
|
1358
1370
|
"teleportTo",
|
|
@@ -1378,24 +1390,24 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
|
|
|
1378
1390
|
"isA11yMode",
|
|
1379
1391
|
"a11yPosition"
|
|
1380
1392
|
]),
|
|
1381
|
-
|
|
1393
|
+
Pt.value && N.value.buttons.table ? (b(), d(qe(Jn.value.component), Ue({ key: 8 }, Jn.value.props, {
|
|
1382
1394
|
ref_key: "tableUnit",
|
|
1383
|
-
ref:
|
|
1384
|
-
onClose:
|
|
1385
|
-
}),
|
|
1386
|
-
content: E(() => [(b(), d(T(
|
|
1387
|
-
key: `table_${
|
|
1395
|
+
ref: Wt,
|
|
1396
|
+
onClose: Yn
|
|
1397
|
+
}), Be({
|
|
1398
|
+
content: E(() => [(b(), d(T(Et), {
|
|
1399
|
+
key: `table_${Ht.value}`,
|
|
1388
1400
|
colNames: $.value.colNames,
|
|
1389
1401
|
head: $.value.head,
|
|
1390
1402
|
body: $.value.body,
|
|
1391
1403
|
config: $.value.config,
|
|
1392
|
-
title: M.value.table.useDialog ? "" :
|
|
1404
|
+
title: M.value.table.useDialog ? "" : Jn.value.title,
|
|
1393
1405
|
withCloseButton: !M.value.table.useDialog,
|
|
1394
1406
|
isCursorPointer: R.value,
|
|
1395
|
-
onClose:
|
|
1407
|
+
onClose: Yn
|
|
1396
1408
|
}, {
|
|
1397
1409
|
th: E(({ th: e }) => [m("div", null, w(e), 1)]),
|
|
1398
|
-
td: E(({ td: e }) => [
|
|
1410
|
+
td: E(({ td: e }) => [Ve(w(e), 1)]),
|
|
1399
1411
|
_: 1
|
|
1400
1412
|
}, 8, [
|
|
1401
1413
|
"colNames",
|
|
@@ -1409,24 +1421,24 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
|
|
|
1409
1421
|
_: 2
|
|
1410
1422
|
}, [M.value.table.useDialog ? {
|
|
1411
1423
|
name: "title",
|
|
1412
|
-
fn: E(() => [
|
|
1424
|
+
fn: E(() => [Ve(w(Jn.value.title), 1)]),
|
|
1413
1425
|
key: "0"
|
|
1414
1426
|
} : void 0, M.value.table.useDialog ? {
|
|
1415
1427
|
name: "actions",
|
|
1416
1428
|
fn: E(() => [m("button", {
|
|
1417
1429
|
tabindex: "0",
|
|
1418
1430
|
class: "vue-ui-user-options-button",
|
|
1419
|
-
onClick: t[1] ||= (e) =>
|
|
1431
|
+
onClick: t[1] ||= (e) => Ln(N.value.callbacks.csv),
|
|
1420
1432
|
style: y({ cursor: R.value ? "pointer" : "default" })
|
|
1421
|
-
}, [
|
|
1433
|
+
}, [He(T(wt), {
|
|
1422
1434
|
name: "fileCsv",
|
|
1423
|
-
stroke:
|
|
1435
|
+
stroke: Jn.value.props.color
|
|
1424
1436
|
}, null, 8, ["stroke"])], 4)]),
|
|
1425
1437
|
key: "1"
|
|
1426
1438
|
} : void 0]), 1040)) : f("", !0),
|
|
1427
|
-
C(e.$slots, "skeleton", {}, () => [T(
|
|
1428
|
-
], 46,
|
|
1439
|
+
C(e.$slots, "skeleton", {}, () => [T(Qt) ? (b(), d(xe, { key: 0 })) : f("", !0)], !0)
|
|
1440
|
+
], 46, $e));
|
|
1429
1441
|
}
|
|
1430
|
-
}, [["__scopeId", "data-v-
|
|
1442
|
+
}, [["__scopeId", "data-v-17b547b4"]]);
|
|
1431
1443
|
//#endregion
|
|
1432
|
-
export {
|
|
1444
|
+
export { Qe as n, Ct as t };
|