vue-data-ui 3.22.11 → 3.22.13
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/{PackageVersion-1MNr72Bz.js → PackageVersion-B6Hokxw9.js} +1 -1
- package/dist/{SlicerPreview-BIdvqU32.js → SlicerPreview-Cw6WMVhG.js} +434 -434
- package/dist/{UserOptions-B69xBEVP.js → UserOptions-DzAFK9cY.js} +438 -438
- 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-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-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-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-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-Bf-Nk9qU.js → package-DmDydylu.js} +1 -1
- package/dist/{render-common-DEb-WjM1.js → render-common-BIG8JYGK.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/composables.d.ts +28 -11
- package/dist/types/vue-data-ui.d.ts +26 -9
- package/dist/useMountedDelay-BAjrhRJb.js +14 -0
- package/dist/{vue-data-ui-Bme9usjG.js → vue-data-ui-rkzh6EkO.js} +64 -64
- package/dist/vue-data-ui.js +64 -64
- package/dist/{vue-ui-3d-bar-Ds1BPxqb.js → vue-ui-3d-bar-D5xHEWr1.js} +1 -1
- package/dist/vue-ui-accordion-UA88lv4d.js +81 -0
- package/dist/{vue-ui-age-pyramid-CNCrH8Kd.js → vue-ui-age-pyramid-CAJg01c7.js} +1 -1
- package/dist/{vue-ui-annotator-BfZ8RTzJ.js → vue-ui-annotator-q3ZKx6ua.js} +1 -1
- package/dist/{vue-ui-bullet-DscMmM2b.js → vue-ui-bullet-ByeaWGfI.js} +1 -1
- package/dist/{vue-ui-bump-BvwU1_-N.js → vue-ui-bump-BS7RCf0Z.js} +1 -1
- package/dist/{vue-ui-candlestick-Cp6r8ktf.js → vue-ui-candlestick-BZSGDKrM.js} +470 -470
- package/dist/{vue-ui-carousel-table-CbtccW1g.js → vue-ui-carousel-table-DO5NRXvX.js} +1 -1
- package/dist/{vue-ui-chestnut-C3Hmf1-m.js → vue-ui-chestnut-BfeSPeEh.js} +1 -1
- package/dist/{vue-ui-chord-DJk9j45J.js → vue-ui-chord-D6G7ceE-.js} +1 -1
- package/dist/{vue-ui-circle-pack-CJe2wETT.js → vue-ui-circle-pack-Cqmlw7AV.js} +3 -6
- package/dist/{vue-ui-cursor-BAi9omna.js → vue-ui-cursor-BpN5MsXM.js} +1 -1
- package/dist/{vue-ui-dag-D7BEbS71.js → vue-ui-dag-BzgOgXzU.js} +1 -1
- package/dist/{vue-ui-dashboard-BYFQjwgC.js → vue-ui-dashboard-DLvGJXJY.js} +63 -64
- package/dist/{vue-ui-digits-Bx8nZl9d.js → vue-ui-digits-OMPrn8fb.js} +1 -1
- package/dist/{vue-ui-donut-BUX4ybT6.js → vue-ui-donut-Cp5NbZ1r.js} +1 -1
- package/dist/{vue-ui-donut-jXRV-3ON.js → vue-ui-donut-ZIRebAWc.js} +1 -1
- package/dist/{vue-ui-donut-evolution-MWDjQPQ5.js → vue-ui-donut-evolution-DHVi5rOn.js} +351 -355
- package/dist/{vue-ui-dumbbell-CnwsHaIy.js → vue-ui-dumbbell-gDYjU2oF.js} +1 -1
- package/dist/{vue-ui-flow-CKXGk4Lm.js → vue-ui-flow-BusUK3H0.js} +1 -1
- package/dist/{vue-ui-funnel-CJwD7s7e.js → vue-ui-funnel-BtaYaU0r.js} +1 -1
- package/dist/{vue-ui-galaxy-DL85_SWR.js → vue-ui-galaxy-BMp-HzDh.js} +1 -1
- package/dist/{vue-ui-gauge-Dkx-aUQr.js → vue-ui-gauge-CBou0cFE.js} +1 -1
- package/dist/{vue-ui-geo-fkLF1rHB.js → vue-ui-geo-CyFgFKlh.js} +1 -1
- package/dist/{vue-ui-gizmo-S8w_p769.js → vue-ui-gizmo-DdeXwCQp.js} +1 -1
- package/dist/{vue-ui-heatmap-Dopkbn2N.js → vue-ui-heatmap-D8-qJ7fg.js} +2 -2
- package/dist/{vue-ui-history-plot-DDYpEapS.js → vue-ui-history-plot-C2Aqk2ON.js} +1 -1
- package/dist/{vue-ui-horizontal-bar-Bi8WvKeD.js → vue-ui-horizontal-bar-BuwxI7d1.js} +2 -2
- package/dist/{vue-ui-kpi-BeJ-ajaS.js → vue-ui-kpi-ByxoO01r.js} +1 -1
- package/dist/{vue-ui-molecule-CBTgGZ-s.js → vue-ui-molecule-BqJJq49_.js} +1 -1
- package/dist/{vue-ui-mood-radar-CF83PcCx.js → vue-ui-mood-radar-BiOjxFEN.js} +1 -1
- package/dist/{vue-ui-nested-donuts-D5dO-Uyg.js → vue-ui-nested-donuts-Cl1HVvDp.js} +1 -1
- package/dist/{vue-ui-onion-BxjaQKo8.js → vue-ui-onion-CRQOxurS.js} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-Dz6ozRAM.js → vue-ui-parallel-coordinate-plot-Dhn18RtR.js} +298 -301
- package/dist/{vue-ui-quadrant-Bnxpa6m5.js → vue-ui-quadrant-B21LkUc8.js} +1 -1
- package/dist/{vue-ui-quick-chart-CAE0-NYj.js → vue-ui-quick-chart-DAhSXYnp.js} +600 -625
- package/dist/{vue-ui-radar-O4BhBOyp.js → vue-ui-radar-CyzAyVos.js} +1 -1
- package/dist/{vue-ui-relation-circle-BZ0Xf-Nc.js → vue-ui-relation-circle-Cb33DMZo.js} +5 -11
- package/dist/{vue-ui-ridgeline-DHVTPiM6.js → vue-ui-ridgeline-D7aArzQk.js} +1 -1
- package/dist/{vue-ui-rings-DAfY1V--.js → vue-ui-rings-FtcdX8xl.js} +1 -1
- package/dist/vue-ui-scatter-Cp_-2ahf.js +2409 -0
- package/dist/{vue-ui-skeleton-DoIqQtIV.js → vue-ui-skeleton-COytVrfN.js} +1 -1
- package/dist/{vue-ui-spark-trend-Db-FsXch.js → vue-ui-spark-trend-DC2KUlEY.js} +1 -1
- package/dist/{vue-ui-sparkbar-Ce55FP_3.js → vue-ui-sparkbar-DdxQOFIF.js} +48 -51
- package/dist/{vue-ui-sparkgauge-hB59dXm7.js → vue-ui-sparkgauge-DTA-fORH.js} +1 -1
- package/dist/{vue-ui-sparkhistogram-DjnaStBw.js → vue-ui-sparkhistogram-D1oFTrvt.js} +1 -1
- package/dist/{vue-ui-sparkline-D1dyhLvG.js → vue-ui-sparkline-DcR_N-zT.js} +1 -1
- package/dist/{vue-ui-sparkstackbar-BhOBFjts.js → vue-ui-sparkstackbar-BlFio0lP.js} +1 -1
- package/dist/vue-ui-stackbar-Cu13EdVa.js +2322 -0
- package/dist/{vue-ui-stackline-DLFNVbAz.js → vue-ui-stackline-DKL0o_-3.js} +572 -570
- package/dist/vue-ui-strip-plot-NLCwYvyw.js +1736 -0
- package/dist/{vue-ui-table-DL_R4ppI.js → vue-ui-table-AM9brdwU.js} +2 -2
- package/dist/{vue-ui-table-heatmap-C9gF__Np.js → vue-ui-table-heatmap-CSI482KG.js} +4 -10
- package/dist/{vue-ui-table-sparkline-CT-0w9-a.js → vue-ui-table-sparkline-BE6DAvur.js} +1 -1
- package/dist/{vue-ui-thermometer-MP0dliC3.js → vue-ui-thermometer-D6Czx7Fb.js} +1 -1
- package/dist/{vue-ui-timer-B5S-6Da4.js → vue-ui-timer-BZM5ITG9.js} +1 -1
- package/dist/{vue-ui-tiremarks-DcJiLDsm.js → vue-ui-tiremarks-BCncDpHX.js} +1 -1
- package/dist/{vue-ui-treemap-CjldCPnX.js → vue-ui-treemap-BOEYCOdk.js} +3 -6
- package/dist/{vue-ui-waffle-dZM-9z1J.js → vue-ui-waffle-BrM8IHdG.js} +1 -1
- package/dist/{vue-ui-wheel-or7a6-Ce.js → vue-ui-wheel-BNsajigQ.js} +1 -1
- package/dist/{vue-ui-word-cloud-8BwQ0cuB.js → vue-ui-word-cloud-D7R7nhk1.js} +1 -1
- package/dist/{vue-ui-world-Q0KZb7A_.js → vue-ui-world-DZBt-07p.js} +1 -1
- package/dist/{vue-ui-xy-DZIs53tH.js → vue-ui-xy-CluEZ7lS.js} +1253 -1251
- package/dist/{vue-ui-xy-4uzwZJcj.js → vue-ui-xy-Dt_1bSBT.js} +1 -1
- package/dist/{vue-ui-xy-canvas-Dz9aii7f.js → vue-ui-xy-canvas-7YSYRdwr.js} +3 -3
- package/package.json +2 -2
- package/dist/vue-ui-accordion-nNxnZTg9.js +0 -81
- package/dist/vue-ui-scatter-Cb63SWJT.js +0 -2421
- package/dist/vue-ui-stackbar-BZKw8WYn.js +0 -2340
- package/dist/vue-ui-strip-plot-DyN2WELD.js +0 -1735
|
@@ -6,72 +6,69 @@ import { n as ve, t as ye } from "./BaseScanner-DZvpgOjM.js";
|
|
|
6
6
|
import { t as be } from "./useSvgExport-Ba9qBr9M.js";
|
|
7
7
|
import { t as xe } from "./useNestedProp-BY6DNN3i.js";
|
|
8
8
|
import { t as Se } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
|
-
import { t as Ce } from "./
|
|
10
|
-
import { t as we } from "./
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import { t as De } from "./
|
|
14
|
-
import {
|
|
15
|
-
import { t as Ae } from "./
|
|
16
|
-
import { t as je } from "./
|
|
17
|
-
import { t as Me } from "./
|
|
18
|
-
import { t as Ne } from "./
|
|
19
|
-
import { t as Pe } from "./
|
|
20
|
-
import { t as Fe } from "./
|
|
21
|
-
import {
|
|
9
|
+
import { t as Ce } from "./useMountedDelay-BAjrhRJb.js";
|
|
10
|
+
import { t as we } from "./useTimeLabelCollider-AEcY4Ioe.js";
|
|
11
|
+
import { t as Te } from "./img-Bikk1dGb.js";
|
|
12
|
+
import { n as Ee } from "./Title-BuPs74IB.js";
|
|
13
|
+
import { t as De } from "./Shape-BfnXr1nJ.js";
|
|
14
|
+
import { t as Oe } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
15
|
+
import { l as ke, t as Ae } from "./useResponsive-ZtArZtUf.js";
|
|
16
|
+
import { t as je } from "./BaseLegendToggle-DsWphmIb.js";
|
|
17
|
+
import { t as Me } from "./A11yDataTable-DdRsVULz.js";
|
|
18
|
+
import { t as Ne } from "./useUserOptionState-DK-_1ddE.js";
|
|
19
|
+
import { t as Pe } from "./useChartAccessibility-DYqac8yF.js";
|
|
20
|
+
import { t as Fe } from "./Legend-C0xAnJdO.js";
|
|
21
|
+
import { t as Ie } from "./vue_ui_parallel_coordinate_plot-CBiOBira.js";
|
|
22
|
+
import { Fragment as c, Teleport as Le, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createSlots as Re, createTextVNode as ze, createVNode as Be, defineAsyncComponent as m, guardReactiveProps as h, mergeProps as Ve, nextTick as He, normalizeClass as g, normalizeProps as _, normalizeStyle as v, onBeforeUnmount as Ue, onMounted as We, openBlock as y, ref as b, renderList as x, renderSlot as S, resolveDynamicComponent as Ge, shallowRef as Ke, toDisplayString as C, toRefs as qe, unref as w, watch as Je, watchEffect as Ye, withCtx as T } from "vue";
|
|
22
23
|
//#region src/components/vue-ui-parallel-coordinate-plot.vue
|
|
23
|
-
var
|
|
24
|
+
var Xe = /* @__PURE__ */ e({ default: () => St }), Ze = ["id"], Qe = ["id"], $e = ["id"], et = { style: { position: "relative" } }, tt = [
|
|
24
25
|
"xmlns",
|
|
25
26
|
"aria-describedby",
|
|
26
27
|
"viewBox"
|
|
27
|
-
],
|
|
28
|
+
], nt = [
|
|
28
29
|
"x",
|
|
29
30
|
"y",
|
|
30
31
|
"width",
|
|
31
32
|
"height"
|
|
32
|
-
],
|
|
33
|
+
], rt = { style: { "pointer-events": "none" } }, it = [
|
|
33
34
|
"x1",
|
|
34
35
|
"x2",
|
|
35
36
|
"y1",
|
|
36
37
|
"y2",
|
|
37
38
|
"stroke",
|
|
38
39
|
"stroke-width"
|
|
39
|
-
],
|
|
40
|
-
"
|
|
41
|
-
"x2",
|
|
42
|
-
"y1",
|
|
43
|
-
"y2",
|
|
40
|
+
], at = [
|
|
41
|
+
"d",
|
|
44
42
|
"stroke",
|
|
45
43
|
"stroke-width"
|
|
46
|
-
],
|
|
47
|
-
"
|
|
48
|
-
"y",
|
|
44
|
+
], ot = { key: 0 }, st = [
|
|
45
|
+
"transform",
|
|
49
46
|
"fill",
|
|
50
47
|
"font-size",
|
|
51
48
|
"font-weight"
|
|
52
|
-
],
|
|
49
|
+
], ct = [
|
|
53
50
|
"fill",
|
|
54
51
|
"font-size",
|
|
55
52
|
"font-weight",
|
|
56
53
|
"text-anchor",
|
|
57
54
|
"transform"
|
|
58
|
-
],
|
|
55
|
+
], lt = [
|
|
59
56
|
"fill",
|
|
60
57
|
"font-size",
|
|
61
58
|
"font-weight",
|
|
62
59
|
"text-anchor",
|
|
63
60
|
"transform",
|
|
64
61
|
"innerHTML"
|
|
65
|
-
],
|
|
62
|
+
], ut = { key: 0 }, dt = [
|
|
66
63
|
"x",
|
|
67
64
|
"y",
|
|
68
65
|
"font-size",
|
|
69
66
|
"fill"
|
|
70
|
-
],
|
|
67
|
+
], ft = [
|
|
71
68
|
"width",
|
|
72
69
|
"x",
|
|
73
70
|
"y"
|
|
74
|
-
],
|
|
71
|
+
], pt = { style: { width: "100%" } }, mt = [
|
|
75
72
|
"x",
|
|
76
73
|
"y",
|
|
77
74
|
"fill",
|
|
@@ -80,19 +77,19 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
80
77
|
"onMouseenter",
|
|
81
78
|
"onMouseleave",
|
|
82
79
|
"onClick"
|
|
83
|
-
],
|
|
80
|
+
], ht = [
|
|
84
81
|
"d",
|
|
85
82
|
"stroke",
|
|
86
83
|
"stroke-width",
|
|
87
84
|
"onMouseenter",
|
|
88
85
|
"onMouseleave",
|
|
89
86
|
"onClick"
|
|
90
|
-
],
|
|
87
|
+
], gt = [
|
|
91
88
|
"d",
|
|
92
89
|
"onMouseenter",
|
|
93
90
|
"onMouseleave",
|
|
94
91
|
"onClick"
|
|
95
|
-
],
|
|
92
|
+
], _t = {
|
|
96
93
|
key: 0,
|
|
97
94
|
style: {
|
|
98
95
|
position: "absolute",
|
|
@@ -102,10 +99,10 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
102
99
|
},
|
|
103
100
|
"data-dom-to-png-ignore": "",
|
|
104
101
|
"aria-hidden": "true"
|
|
105
|
-
},
|
|
102
|
+
}, vt = {
|
|
106
103
|
key: 5,
|
|
107
104
|
class: "vue-data-ui-watermark"
|
|
108
|
-
},
|
|
105
|
+
}, yt = ["id"], bt = ["onClick"], xt = ["innerHTML"], St = /*#__PURE__*/ Oe({
|
|
109
106
|
__name: "vue-ui-parallel-coordinate-plot",
|
|
110
107
|
props: {
|
|
111
108
|
config: {
|
|
@@ -126,22 +123,22 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
126
123
|
"selectDatapoint",
|
|
127
124
|
"copyAlt"
|
|
128
125
|
],
|
|
129
|
-
setup(e, { expose:
|
|
130
|
-
let
|
|
126
|
+
setup(e, { expose: Oe, emit: Xe }) {
|
|
127
|
+
let St = m(() => import("./Tooltip-CA1rtSyl.js")), Ct = m(() => import("./BaseIcon-CP5RWnqt.js").then((e) => e.n)), wt = m(() => import("./vue-ui-accordion-UA88lv4d.js").then((e) => e.n)), Tt = m(() => import("./DataTable-DzPEVvSo.js")), Et = m(() => import("./PenAndPaper-CSMVXpg2.js").then((e) => e.t)), Dt = m(() => import("./UserOptions-DzAFK9cY.js").then((e) => e.n)), Ot = m(() => import("./PackageVersion-B6Hokxw9.js").then((e) => e.t)), kt = m(() => import("./BaseDraggableDialog-3n8udWmh.js").then((e) => e.n)), { vue_ui_parallel_coordinate_plot: At } = ge(), { isThemeValid: jt, warnInvalidTheme: Mt } = Se(), { isReady: Nt } = Ce(300), E = e, Pt = l({
|
|
131
128
|
get() {
|
|
132
129
|
return !!E.dataset && E.dataset.length;
|
|
133
130
|
},
|
|
134
131
|
set(e) {
|
|
135
132
|
return e;
|
|
136
133
|
}
|
|
137
|
-
}),
|
|
134
|
+
}), Ft = b(0), D = b(null), It = b(null), Lt = b(null), Rt = b(null), zt = b(null), Bt = b(0), Vt = b(0), Ht = b(0), Ut = b(!1), O = b(null), Wt = b(null), Gt = b(!1), Kt = b(!1), qt = b(null), k = b(null), Jt = b({
|
|
138
135
|
x: 0,
|
|
139
136
|
y: 0
|
|
140
|
-
}),
|
|
141
|
-
function
|
|
142
|
-
j.value = e,
|
|
137
|
+
}), Yt = b("pointer"), Xt = b(!1), A = b(o()), j = b(!1);
|
|
138
|
+
function Zt(e) {
|
|
139
|
+
j.value = e, Ft.value += 1;
|
|
143
140
|
}
|
|
144
|
-
let M = b(
|
|
141
|
+
let M = b(an()), N = l(() => M.value.userOptions.useCursorPointer), Qt = l(() => fe({
|
|
145
142
|
defaultConfig: {
|
|
146
143
|
useCssAnimation: !1,
|
|
147
144
|
userOptions: { show: !1 },
|
|
@@ -163,13 +160,13 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
163
160
|
} }
|
|
164
161
|
},
|
|
165
162
|
userConfig: M.value.skeletonConfig ?? {}
|
|
166
|
-
})), { loading: P, FINAL_DATASET:
|
|
167
|
-
...
|
|
163
|
+
})), { loading: P, FINAL_DATASET: $t, manualLoading: en } = ve({
|
|
164
|
+
...qe(E),
|
|
168
165
|
FINAL_CONFIG: M,
|
|
169
|
-
prepareConfig:
|
|
166
|
+
prepareConfig: an,
|
|
170
167
|
callback: () => {
|
|
171
168
|
Promise.resolve().then(async () => {
|
|
172
|
-
await
|
|
169
|
+
await He(), V.value.showTable = M.value.table.show;
|
|
173
170
|
});
|
|
174
171
|
},
|
|
175
172
|
skeletonDataset: E.config?.skeletonDataset ?? [
|
|
@@ -218,18 +215,18 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
218
215
|
],
|
|
219
216
|
skeletonConfig: fe({
|
|
220
217
|
defaultConfig: M.value,
|
|
221
|
-
userConfig:
|
|
218
|
+
userConfig: Qt.value
|
|
222
219
|
})
|
|
223
|
-
}), { userOptionsVisible:
|
|
224
|
-
function
|
|
220
|
+
}), { userOptionsVisible: tn, setUserOptionsVisibility: nn, keepUserOptionState: rn } = Ne({ config: M.value }), { svgRef: F } = Pe({ config: M.value.style.chart.title });
|
|
221
|
+
function an() {
|
|
225
222
|
let e = xe({
|
|
226
223
|
userConfig: E.config,
|
|
227
|
-
defaultConfig:
|
|
224
|
+
defaultConfig: At
|
|
228
225
|
}), t = e.theme;
|
|
229
226
|
if (!t) return e;
|
|
230
|
-
if (!
|
|
227
|
+
if (!jt.value(e)) return Mt(e), e;
|
|
231
228
|
let n = xe({
|
|
232
|
-
userConfig:
|
|
229
|
+
userConfig: Ie[t] || E.config,
|
|
233
230
|
defaultConfig: e
|
|
234
231
|
}), r = xe({
|
|
235
232
|
userConfig: E.config,
|
|
@@ -240,42 +237,42 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
240
237
|
customPalette: r.customPalette.length ? r.customPalette : a[t] || te
|
|
241
238
|
};
|
|
242
239
|
}
|
|
243
|
-
|
|
244
|
-
P.value || (M.value =
|
|
245
|
-
}, { deep: !0 }),
|
|
246
|
-
Array.isArray(e) && e.length > 0 && (
|
|
240
|
+
Je(() => E.config, (e) => {
|
|
241
|
+
P.value || (M.value = an()), tn.value = !M.value.userOptions.showOnChartHover, sn(), Bt.value += 1, Ht.value += 1, Vt.value += 1, V.value.dataLabels.show = M.value.style.chart.yAxis.labels.datapoints.show, V.value.showTable = M.value.table.show, V.value.showTooltip = M.value.style.chart.tooltip.show;
|
|
242
|
+
}, { deep: !0 }), Je(() => E.dataset, (e) => {
|
|
243
|
+
Array.isArray(e) && e.length > 0 && (en.value = !1);
|
|
247
244
|
}, { deep: !0 });
|
|
248
|
-
let I =
|
|
249
|
-
|
|
250
|
-
|
|
245
|
+
let I = Ke(null), L = Ke(null);
|
|
246
|
+
We(() => {
|
|
247
|
+
Ut.value = !0, sn();
|
|
251
248
|
});
|
|
252
|
-
let
|
|
253
|
-
function
|
|
249
|
+
let on = l(() => !!M.value.debug);
|
|
250
|
+
function sn() {
|
|
254
251
|
if (t(E.dataset) ? (se({
|
|
255
252
|
componentName: "VueUiParallelCoordinatePlot",
|
|
256
253
|
type: "dataset",
|
|
257
|
-
debug:
|
|
258
|
-
}),
|
|
254
|
+
debug: on.value
|
|
255
|
+
}), en.value = !0) : E.dataset.forEach((e, t) => {
|
|
259
256
|
ce({
|
|
260
257
|
datasetObject: e,
|
|
261
258
|
requiredAttributes: ["name", "series"]
|
|
262
259
|
}).forEach((e) => {
|
|
263
|
-
|
|
260
|
+
Pt.value = !1, se({
|
|
264
261
|
componentName: "VueUiParallelCoordinatePlot",
|
|
265
262
|
type: "datasetSerieAttribute",
|
|
266
263
|
property: e,
|
|
267
264
|
index: t,
|
|
268
|
-
debug:
|
|
265
|
+
debug: on.value
|
|
269
266
|
});
|
|
270
267
|
});
|
|
271
|
-
}), t(E.dataset) || (
|
|
272
|
-
let e =
|
|
273
|
-
let { width: e, height: t } =
|
|
268
|
+
}), t(E.dataset) || (en.value = M.value.loading), M.value.responsive) {
|
|
269
|
+
let e = ke(() => {
|
|
270
|
+
let { width: e, height: t } = Ae({
|
|
274
271
|
chart: D.value,
|
|
275
|
-
title: M.value.style.chart.title.text ?
|
|
276
|
-
legend: M.value.style.chart.legend.show ?
|
|
277
|
-
source:
|
|
278
|
-
noTitle:
|
|
272
|
+
title: M.value.style.chart.title.text ? It.value : null,
|
|
273
|
+
legend: M.value.style.chart.legend.show ? Lt.value : null,
|
|
274
|
+
source: Rt.value,
|
|
275
|
+
noTitle: zt.value
|
|
279
276
|
});
|
|
280
277
|
requestAnimationFrame(() => {
|
|
281
278
|
R.value.width = e, R.value.height = t - 12, M.value.responsiveProportionalSizing ? (R.value.plotSize = s({
|
|
@@ -308,33 +305,33 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
308
305
|
I.value && (L.value && I.value.unobserve(L.value), I.value.disconnect()), I.value = new ResizeObserver(e), L.value = D.value.parentNode, I.value.observe(L.value);
|
|
309
306
|
}
|
|
310
307
|
}
|
|
311
|
-
|
|
308
|
+
Ue(() => {
|
|
312
309
|
I.value && (L.value && I.value.unobserve(L.value), I.value.disconnect());
|
|
313
310
|
});
|
|
314
|
-
let { isPrinting:
|
|
311
|
+
let { isPrinting: cn, isImaging: ln, generatePdf: un, generateImage: dn } = _e({
|
|
315
312
|
elementId: `pcp_${A.value}`,
|
|
316
313
|
fileName: M.value.style.chart.title.text || "vue-ui-parallel-coordinate-plot",
|
|
317
314
|
options: M.value.userOptions.print
|
|
318
|
-
}),
|
|
315
|
+
}), fn = l(() => M.value.userOptions.show && !M.value.style.chart.title.text), R = b({
|
|
319
316
|
height: M.value.style.chart.height,
|
|
320
317
|
width: M.value.style.chart.width,
|
|
321
318
|
plotSize: M.value.style.chart.plots.radius,
|
|
322
319
|
ticksFontSize: M.value.style.chart.yAxis.labels.ticks.fontSize,
|
|
323
320
|
datapointFontSize: M.value.style.chart.yAxis.labels.datapoints.fontSize,
|
|
324
321
|
axisNameFontSize: M.value.style.chart.yAxis.labels.axisNamesFontSize
|
|
325
|
-
}),
|
|
322
|
+
}), pn = l(() => R.value.width), mn = l(() => R.value.height), z = b(0), hn = ke((e) => {
|
|
326
323
|
z.value = e;
|
|
327
324
|
}, 100);
|
|
328
|
-
|
|
329
|
-
let t =
|
|
325
|
+
Ye((e) => {
|
|
326
|
+
let t = qt.value;
|
|
330
327
|
if (!t) return;
|
|
331
328
|
let n = new ResizeObserver((e) => {
|
|
332
|
-
|
|
329
|
+
hn(e[0].contentRect.height);
|
|
333
330
|
});
|
|
334
331
|
n.observe(t), e(() => n.disconnect());
|
|
335
332
|
});
|
|
336
333
|
let B = l(() => {
|
|
337
|
-
let { top: e, right: t, bottom: n, left: r } = M.value.style.chart.padding, i =
|
|
334
|
+
let { top: e, right: t, bottom: n, left: r } = M.value.style.chart.padding, i = mn.value, a = pn.value;
|
|
338
335
|
return {
|
|
339
336
|
chartHeight: Math.max(.001, i),
|
|
340
337
|
chartWidth: Math.max(.001, a),
|
|
@@ -345,12 +342,12 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
345
342
|
right: a - t,
|
|
346
343
|
bottom: i - n - R.value.datapointFontSize
|
|
347
344
|
};
|
|
348
|
-
}),
|
|
345
|
+
}), gn = l(() => r(M.value.customPalette)), V = b({
|
|
349
346
|
dataLabels: { show: M.value.style.chart.yAxis.labels.datapoints.show },
|
|
350
347
|
showTable: M.value.table.show,
|
|
351
348
|
showTooltip: M.value.style.chart.tooltip.show
|
|
352
349
|
});
|
|
353
|
-
|
|
350
|
+
Je(M, () => {
|
|
354
351
|
V.value = {
|
|
355
352
|
dataLabels: { show: M.value.style.chart.yAxis.labels.datapoints.show },
|
|
356
353
|
showTable: M.value.table.show,
|
|
@@ -358,16 +355,16 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
358
355
|
};
|
|
359
356
|
}, { immediate: !0 });
|
|
360
357
|
let H = b([]);
|
|
361
|
-
function
|
|
358
|
+
function _n() {
|
|
362
359
|
H.value.length ? H.value = [] : W.value.forEach((e) => {
|
|
363
360
|
H.value.push(e.id);
|
|
364
|
-
}),
|
|
361
|
+
}), Mn("selectLegend", K.value);
|
|
365
362
|
}
|
|
366
|
-
function
|
|
367
|
-
H.value.includes(e) ? H.value = H.value.filter((t) => t !== e) : H.value.push(e),
|
|
363
|
+
function vn(e) {
|
|
364
|
+
H.value.includes(e) ? H.value = H.value.filter((t) => t !== e) : H.value.push(e), Mn("selectLegend", K.value);
|
|
368
365
|
}
|
|
369
|
-
let U = l(() =>
|
|
370
|
-
let n = he(e.color) ||
|
|
366
|
+
let U = l(() => $t.value.map((e, t) => {
|
|
367
|
+
let n = he(e.color) || gn.value[t] || te[t] || te[t % te.length];
|
|
371
368
|
return {
|
|
372
369
|
...e,
|
|
373
370
|
series: e.series.map((e) => ({
|
|
@@ -381,33 +378,33 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
381
378
|
shape: e.shape || "circle"
|
|
382
379
|
};
|
|
383
380
|
}));
|
|
384
|
-
function
|
|
381
|
+
function yn(e) {
|
|
385
382
|
return U.value.length ? U.value.find((t) => t.name === e) || (M.value.debug && console.warn(`VueUiParallelCoordinatePlot - Series name not found "${e}"`), null) : (M.value.debug && console.warn("VueUiParallelCoordinatePlot - There are no series to show."), null);
|
|
386
383
|
}
|
|
387
|
-
function
|
|
388
|
-
let t =
|
|
389
|
-
t !== null && H.value.includes(t.id) &&
|
|
384
|
+
function bn(e) {
|
|
385
|
+
let t = yn(e);
|
|
386
|
+
t !== null && H.value.includes(t.id) && vn(t.id);
|
|
390
387
|
}
|
|
391
|
-
function
|
|
392
|
-
let t =
|
|
393
|
-
t !== null && (H.value.includes(t.id) ||
|
|
388
|
+
function xn(e) {
|
|
389
|
+
let t = yn(e);
|
|
390
|
+
t !== null && (H.value.includes(t.id) || vn(t.id));
|
|
394
391
|
}
|
|
395
392
|
let W = l(() => U.value.map((e) => ({
|
|
396
393
|
...e,
|
|
397
394
|
opacity: H.value.includes(e.id) ? .5 : 1,
|
|
398
|
-
segregate: () =>
|
|
395
|
+
segregate: () => vn(e.id),
|
|
399
396
|
isSegregated: H.value.includes(e.id),
|
|
400
397
|
shape: e.shape || "circle"
|
|
401
|
-
}))),
|
|
398
|
+
}))), Sn = l(() => ({
|
|
402
399
|
cy: "pcp-div-legend",
|
|
403
400
|
backgroundColor: M.value.style.chart.legend.backgroundColor,
|
|
404
401
|
color: M.value.style.chart.legend.color,
|
|
405
402
|
fontSize: M.value.style.chart.legend.fontSize,
|
|
406
403
|
paddingBottom: 12,
|
|
407
404
|
fontWeight: M.value.style.chart.legend.bold ? "bold" : ""
|
|
408
|
-
})),
|
|
405
|
+
})), Cn = l(() => Math.max(...U.value.filter((e) => !H.value.includes(e.id)).map((e) => Math.max(...e.series.flatMap((e) => e.values.length))))), G = l(() => B.value.width / Cn.value), K = l(() => U.value.filter((e) => !H.value.includes(e.id))), q = l(() => {
|
|
409
406
|
let e = [];
|
|
410
|
-
for (let t = 0; t <
|
|
407
|
+
for (let t = 0; t < Cn.value; t += 1) {
|
|
411
408
|
let n = Math.min(...K.value.flatMap((e) => e.series.map((e) => e.values[t] || 0) || 0)), r = Math.max(...K.value.flatMap((e) => e.series.map((e) => e.values[t] || 0) || 0)), i = le(r === n ? n / 4 : n, r === n ? r * 2 : r, M.value.style.chart.yAxis.scaleTicks), a = i.ticks.map((e, n) => {
|
|
412
409
|
let r = i.min < 0 ? e + Math.abs(i.min) : e - Math.abs(i.min), a = i.min < 0 ? i.max + Math.abs(i.min) : i.max - Math.abs(i.min);
|
|
413
410
|
return {
|
|
@@ -462,7 +459,7 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
462
459
|
S: t,
|
|
463
460
|
key: `${t}_${r}`
|
|
464
461
|
}))));
|
|
465
|
-
function
|
|
462
|
+
function wn({ value: e, index: t, datapoint: n }) {
|
|
466
463
|
return ue(M.value.style.chart.yAxis.labels.formatters[t] || null, e, ae({
|
|
467
464
|
p: M.value.style.chart.yAxis.labels.prefixes[t] || "",
|
|
468
465
|
v: e,
|
|
@@ -473,7 +470,7 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
473
470
|
seriesIndex: t
|
|
474
471
|
});
|
|
475
472
|
}
|
|
476
|
-
let X = b(null),
|
|
473
|
+
let X = b(null), Tn = b(null), En = b(!1), Dn = b("");
|
|
477
474
|
function Z({ shape: e, serie: t, S: n }) {
|
|
478
475
|
M.value.events.datapointLeave && M.value.events.datapointLeave({
|
|
479
476
|
datapoint: {
|
|
@@ -483,23 +480,23 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
483
480
|
seriesIndex: n
|
|
484
481
|
});
|
|
485
482
|
let r = k.value === null ? null : Y.value[k.value];
|
|
486
|
-
|
|
483
|
+
Yt.value === "keyboard" && r && r.serie.id === t.id || (X.value = null, En.value = !1);
|
|
487
484
|
}
|
|
488
|
-
function
|
|
485
|
+
function On(e) {
|
|
489
486
|
if (!F.value || !e?.datapoints?.length) return;
|
|
490
487
|
let t = e.datapoints[Math.floor(e.datapoints.length / 2)];
|
|
491
488
|
if (!t) return;
|
|
492
489
|
let n = ie(t.x, t.y, F.value);
|
|
493
|
-
n && (
|
|
490
|
+
n && (Jt.value = n);
|
|
494
491
|
}
|
|
495
|
-
function
|
|
492
|
+
function Q({ shape: e, serieName: t, serie: n, relativeIndex: r, seriesIndex: i, S: a, triggerMode: o = "pointer" }) {
|
|
496
493
|
M.value.events.datapointEnter && M.value.events.datapointEnter({
|
|
497
494
|
datapoint: {
|
|
498
495
|
...n,
|
|
499
496
|
shape: e
|
|
500
497
|
},
|
|
501
498
|
seriesIndex: a
|
|
502
|
-
}),
|
|
499
|
+
}), Yt.value = o, Tn.value = {
|
|
503
500
|
config: M.value,
|
|
504
501
|
datapoint: n,
|
|
505
502
|
serie: n,
|
|
@@ -507,7 +504,7 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
507
504
|
seriesIndex: i,
|
|
508
505
|
series: U.value,
|
|
509
506
|
scales: q.value
|
|
510
|
-
},
|
|
507
|
+
}, En.value = !0, X.value = n.id;
|
|
511
508
|
let s = "", ee = M.value.style.chart.tooltip.customFormat;
|
|
512
509
|
oe(ee) && pe(() => ee({
|
|
513
510
|
serie: n,
|
|
@@ -515,7 +512,7 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
515
512
|
series: U.value,
|
|
516
513
|
config: M.value,
|
|
517
514
|
scales: q.value
|
|
518
|
-
})) ?
|
|
515
|
+
})) ? Dn.value = ee({
|
|
519
516
|
serie: n,
|
|
520
517
|
seriesIndex: n.seriesIndex,
|
|
521
518
|
series: U.value,
|
|
@@ -538,14 +535,14 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
538
535
|
</span>
|
|
539
536
|
</div>
|
|
540
537
|
`, M.value.style.chart.comments.showInTooltip && n.datapoints[t].comment && (s += `<div class="vue-data-ui-tooltip-comment" style="background:${n.color}20; padding: 6px; margin-bottom: 6px; border-left: 1px solid ${n.color}">${n.datapoints[t].comment}</div>`);
|
|
541
|
-
}),
|
|
542
|
-
|
|
538
|
+
}), Dn.value = `<div>${s}</div>`), o === "keyboard" && He(() => {
|
|
539
|
+
On(n);
|
|
543
540
|
});
|
|
544
541
|
}
|
|
545
|
-
function
|
|
542
|
+
function kn() {
|
|
546
543
|
return U.value;
|
|
547
544
|
}
|
|
548
|
-
let
|
|
545
|
+
let $ = l(() => {
|
|
549
546
|
let e = [M.value.table.columnNames.series, M.value.table.columnNames.item].concat(q.value.map((e) => e.name));
|
|
550
547
|
return {
|
|
551
548
|
body: J.value.flatMap((e, t) => e.series.map((t) => [e.name, t.name].concat(t.values))),
|
|
@@ -565,52 +562,52 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
565
562
|
},
|
|
566
563
|
colNames: [M.value.table.columnNames.series, M.value.table.columnNames.item].concat(q.value.map((e) => e.name))
|
|
567
564
|
};
|
|
568
|
-
}),
|
|
565
|
+
}), An = l(() => J.value.length === 0 ? {
|
|
569
566
|
head: [],
|
|
570
567
|
body: [],
|
|
571
568
|
config: {},
|
|
572
569
|
columnNames: []
|
|
573
570
|
} : {
|
|
574
|
-
head:
|
|
575
|
-
body:
|
|
571
|
+
head: $.value.head,
|
|
572
|
+
body: $.value.body
|
|
576
573
|
});
|
|
577
|
-
function
|
|
574
|
+
function jn(e = null) {
|
|
578
575
|
let t = [
|
|
579
576
|
[M.value.style.chart.title.text],
|
|
580
577
|
[M.value.style.chart.title.subtitle.text],
|
|
581
578
|
[""]
|
|
582
|
-
], n =
|
|
579
|
+
], n = An.value.head, r = An.value.body, a = i(t.concat([n]).concat(r));
|
|
583
580
|
e ? e(a) : ne({
|
|
584
581
|
csvContent: a,
|
|
585
582
|
title: M.value.style.chart.title.text || "vue-ui-parallel-coordinate-plot"
|
|
586
583
|
});
|
|
587
584
|
}
|
|
588
|
-
let
|
|
589
|
-
function
|
|
585
|
+
let Mn = Xe;
|
|
586
|
+
function Nn({ serie: e, shape: t, S: n }) {
|
|
590
587
|
M.value.events.datapointClick && M.value.events.datapointClick({
|
|
591
588
|
datapoint: {
|
|
592
589
|
...e,
|
|
593
590
|
shape: t
|
|
594
591
|
},
|
|
595
592
|
seriesIndex: n
|
|
596
|
-
}),
|
|
593
|
+
}), Mn("selectDatapoint", e);
|
|
597
594
|
}
|
|
598
|
-
function
|
|
595
|
+
function Pn() {
|
|
599
596
|
V.value.showTable = !V.value.showTable;
|
|
600
597
|
}
|
|
601
|
-
function
|
|
598
|
+
function Fn() {
|
|
602
599
|
V.value.dataLabels.show = !V.value.dataLabels.show;
|
|
603
600
|
}
|
|
604
|
-
function
|
|
601
|
+
function In() {
|
|
605
602
|
V.value.showTooltip = !V.value.showTooltip;
|
|
606
603
|
}
|
|
607
|
-
let
|
|
608
|
-
function
|
|
609
|
-
|
|
604
|
+
let Ln = b(!1);
|
|
605
|
+
function Rn() {
|
|
606
|
+
Ln.value = !Ln.value;
|
|
610
607
|
}
|
|
611
|
-
async function
|
|
608
|
+
async function zn({ scale: e = 2 } = {}) {
|
|
612
609
|
if (!D.value) return;
|
|
613
|
-
let { width: t, height: n } = D.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await
|
|
610
|
+
let { width: t, height: n } = D.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await Te({
|
|
614
611
|
domElement: D.value,
|
|
615
612
|
base64: !0,
|
|
616
613
|
img: !0,
|
|
@@ -625,14 +622,14 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
625
622
|
aspectRatio: r
|
|
626
623
|
};
|
|
627
624
|
}
|
|
628
|
-
let
|
|
625
|
+
let Bn = b({
|
|
629
626
|
start: 0,
|
|
630
627
|
end: 1
|
|
631
628
|
});
|
|
632
|
-
|
|
633
|
-
timeLabelsEls:
|
|
629
|
+
we({
|
|
630
|
+
timeLabelsEls: qt,
|
|
634
631
|
timeLabels: l(() => q.value.map((e) => e.name)),
|
|
635
|
-
slicer:
|
|
632
|
+
slicer: Bn,
|
|
636
633
|
configRef: M,
|
|
637
634
|
rotationPath: [
|
|
638
635
|
"style",
|
|
@@ -650,15 +647,15 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
650
647
|
"enable"
|
|
651
648
|
],
|
|
652
649
|
isAutoSize: !1,
|
|
653
|
-
width:
|
|
654
|
-
height:
|
|
650
|
+
width: pn,
|
|
651
|
+
height: mn,
|
|
655
652
|
targetClass: ".vue-ui-parallel-coordinate-plot-x-label",
|
|
656
653
|
rotation: M.value.style.chart.yAxis.labels.axisNamesAutoRotate.angle
|
|
657
654
|
});
|
|
658
|
-
let
|
|
655
|
+
let Vn = l(() => {
|
|
659
656
|
let e = M.value.table.useDialog && !M.value.table.show, t = V.value.showTable;
|
|
660
657
|
return {
|
|
661
|
-
component: e ?
|
|
658
|
+
component: e ? kt : wt,
|
|
662
659
|
title: `${M.value.style.chart.title.text}${M.value.style.chart.title.subtitle.text ? `: ${M.value.style.chart.title.subtitle.text}` : ""}`,
|
|
663
660
|
props: e ? {
|
|
664
661
|
backgroundColor: M.value.table.th.backgroundColor,
|
|
@@ -686,48 +683,48 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
686
683
|
}
|
|
687
684
|
};
|
|
688
685
|
});
|
|
689
|
-
|
|
686
|
+
Je(() => V.value.showTable, (e) => {
|
|
690
687
|
M.value.table.show || (e && M.value.table.useDialog && O.value ? O.value.open() : "close" in O.value && O.value.close());
|
|
691
688
|
});
|
|
692
|
-
function
|
|
693
|
-
V.value.showTable = !1,
|
|
689
|
+
function Hn() {
|
|
690
|
+
V.value.showTable = !1, Wt.value && Wt.value.setTableIconState(!1);
|
|
694
691
|
}
|
|
695
|
-
let
|
|
692
|
+
let Un = l(() => M.value.style.chart.backgroundColor), Wn = l(() => M.value.style.chart.legend), { exportSvg: Gn, getSvg: Kn } = be({
|
|
696
693
|
svg: F,
|
|
697
694
|
title: l(() => M.value.style.chart.title),
|
|
698
|
-
legend:
|
|
695
|
+
legend: Wn,
|
|
699
696
|
legendItems: W,
|
|
700
|
-
backgroundColor:
|
|
697
|
+
backgroundColor: Un
|
|
701
698
|
});
|
|
702
|
-
async function
|
|
703
|
-
|
|
699
|
+
async function qn({ isCb: e }) {
|
|
700
|
+
Kt.value = !0, await He();
|
|
704
701
|
try {
|
|
705
702
|
if (e) {
|
|
706
|
-
let { blob: e, url: t, text: n, dataUrl: r } = await
|
|
703
|
+
let { blob: e, url: t, text: n, dataUrl: r } = await Kn();
|
|
707
704
|
await Promise.resolve(M.value.userOptions.callbacks.svg({
|
|
708
705
|
blob: e,
|
|
709
706
|
url: t,
|
|
710
707
|
text: n,
|
|
711
708
|
dataUrl: r
|
|
712
709
|
}));
|
|
713
|
-
} else await Promise.resolve(
|
|
710
|
+
} else await Promise.resolve(Gn());
|
|
714
711
|
} finally {
|
|
715
|
-
|
|
712
|
+
Kt.value = !1;
|
|
716
713
|
}
|
|
717
714
|
}
|
|
718
|
-
function
|
|
715
|
+
function Jn(e) {
|
|
719
716
|
if (e?.stage === "start") {
|
|
720
|
-
|
|
717
|
+
Gt.value = !0;
|
|
721
718
|
return;
|
|
722
719
|
}
|
|
723
720
|
if (e?.stage === "end") {
|
|
724
|
-
|
|
721
|
+
Gt.value = !1;
|
|
725
722
|
return;
|
|
726
723
|
}
|
|
727
|
-
|
|
724
|
+
dn();
|
|
728
725
|
}
|
|
729
|
-
async function
|
|
730
|
-
if (
|
|
726
|
+
async function Yn() {
|
|
727
|
+
if (Mn("copyAlt", {
|
|
731
728
|
config: M.value,
|
|
732
729
|
dataset: J.value
|
|
733
730
|
}), !M.value.userOptions.callbacks.altCopy) {
|
|
@@ -739,11 +736,11 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
739
736
|
dataset: J.value
|
|
740
737
|
}));
|
|
741
738
|
}
|
|
742
|
-
function
|
|
739
|
+
function Xn(e) {
|
|
743
740
|
let t = Y.value.length;
|
|
744
741
|
return t ? (e % t + t) % t : null;
|
|
745
742
|
}
|
|
746
|
-
function
|
|
743
|
+
function Zn() {
|
|
747
744
|
if (k.value !== null) {
|
|
748
745
|
let e = Y.value[k.value];
|
|
749
746
|
e && Z({
|
|
@@ -752,27 +749,27 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
752
749
|
S: e.S
|
|
753
750
|
});
|
|
754
751
|
}
|
|
755
|
-
k.value = null,
|
|
756
|
-
}
|
|
757
|
-
function Zn() {
|
|
758
|
-
k.value = null, Jt.value = !0;
|
|
752
|
+
k.value = null, Yt.value = "pointer", X.value = null, En.value = !1;
|
|
759
753
|
}
|
|
760
754
|
function Qn() {
|
|
761
|
-
|
|
755
|
+
k.value = null, Xt.value = !0;
|
|
762
756
|
}
|
|
763
|
-
function $n(
|
|
764
|
-
|
|
757
|
+
function $n() {
|
|
758
|
+
Zn(), Xt.value = !1;
|
|
759
|
+
}
|
|
760
|
+
function er(e) {
|
|
761
|
+
if (!F.value || Ln.value || document.activeElement !== F.value || !Y.value.length) return;
|
|
765
762
|
let t = ["ArrowUp", "ArrowLeft"].includes(e.key), n = ["ArrowDown", "ArrowRight"].includes(e.key), r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
|
|
766
763
|
if (!t && !n && !r && !i) return;
|
|
767
764
|
if (e.preventDefault(), e.stopPropagation(), i) {
|
|
768
|
-
|
|
765
|
+
Zn();
|
|
769
766
|
return;
|
|
770
767
|
}
|
|
771
768
|
if (r) {
|
|
772
769
|
if (k.value === null) return;
|
|
773
770
|
let e = Y.value[k.value];
|
|
774
771
|
if (!e) return;
|
|
775
|
-
|
|
772
|
+
Nn({
|
|
776
773
|
serie: e.serie,
|
|
777
774
|
shape: e.shape,
|
|
778
775
|
S: e.S
|
|
@@ -780,9 +777,9 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
780
777
|
return;
|
|
781
778
|
}
|
|
782
779
|
let a = k.value;
|
|
783
|
-
a = a === null ? n ? 0 : Y.value.length - 1 :
|
|
780
|
+
a = a === null ? n ? 0 : Y.value.length - 1 : Xn(a + (n ? 1 : -1));
|
|
784
781
|
let o = Y.value[a];
|
|
785
|
-
o && (k.value = a,
|
|
782
|
+
o && (k.value = a, Q({
|
|
786
783
|
shape: o.shape,
|
|
787
784
|
serieName: o.serieName,
|
|
788
785
|
serie: o.serie,
|
|
@@ -792,9 +789,9 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
792
789
|
triggerMode: "keyboard"
|
|
793
790
|
}));
|
|
794
791
|
}
|
|
795
|
-
let
|
|
796
|
-
head:
|
|
797
|
-
body:
|
|
792
|
+
let tr = l(() => ({
|
|
793
|
+
head: $.value.head,
|
|
794
|
+
body: $.value.body.map((e) => [
|
|
798
795
|
e[0] ?? "",
|
|
799
796
|
e[1] ?? "",
|
|
800
797
|
...e.slice(2)
|
|
@@ -802,41 +799,41 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
802
799
|
caption: M.value.a11y.translations.tableCaption,
|
|
803
800
|
notice: M.value.a11y.translations.tableAvailable
|
|
804
801
|
}));
|
|
805
|
-
return
|
|
806
|
-
getData:
|
|
807
|
-
getImage:
|
|
808
|
-
generateCsv:
|
|
809
|
-
generatePdf:
|
|
810
|
-
generateImage:
|
|
811
|
-
generateSvg:
|
|
812
|
-
hideSeries:
|
|
813
|
-
showSeries:
|
|
814
|
-
toggleTable:
|
|
815
|
-
toggleLabels:
|
|
816
|
-
toggleTooltip:
|
|
817
|
-
toggleAnnotator:
|
|
818
|
-
toggleFullscreen:
|
|
819
|
-
copyAlt:
|
|
802
|
+
return Oe({
|
|
803
|
+
getData: kn,
|
|
804
|
+
getImage: zn,
|
|
805
|
+
generateCsv: jn,
|
|
806
|
+
generatePdf: un,
|
|
807
|
+
generateImage: dn,
|
|
808
|
+
generateSvg: qn,
|
|
809
|
+
hideSeries: xn,
|
|
810
|
+
showSeries: bn,
|
|
811
|
+
toggleTable: Pn,
|
|
812
|
+
toggleLabels: Fn,
|
|
813
|
+
toggleTooltip: In,
|
|
814
|
+
toggleAnnotator: Rn,
|
|
815
|
+
toggleFullscreen: Zt,
|
|
816
|
+
copyAlt: Yn
|
|
820
817
|
}), (e, t) => (y(), f("div", {
|
|
821
818
|
ref_key: "pcpChart",
|
|
822
819
|
ref: D,
|
|
823
820
|
class: g(`vue-data-ui-component vue-ui-pcp ${j.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${M.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
824
821
|
style: v(`font-family:${M.value.style.fontFamily};width:100%; text-align:center;background:${M.value.style.chart.backgroundColor};${M.value.responsive ? "height:100%" : ""}`),
|
|
825
822
|
id: `pcp_${A.value}`,
|
|
826
|
-
onMouseenter: t[2] ||= () => w(
|
|
827
|
-
onMouseleave: t[3] ||= () => w(
|
|
823
|
+
onMouseenter: t[2] ||= () => w(nn)(!0),
|
|
824
|
+
onMouseleave: t[3] ||= () => w(nn)(!1)
|
|
828
825
|
}, [
|
|
829
826
|
p("div", {
|
|
830
827
|
id: `chart-instructions-${A.value}`,
|
|
831
828
|
class: "sr-only"
|
|
832
|
-
}, [p("p", null, C(M.value.a11y.translations.keyboardNavigation), 1)], 8,
|
|
833
|
-
|
|
829
|
+
}, [p("p", null, C(M.value.a11y.translations.keyboardNavigation), 1)], 8, Qe),
|
|
830
|
+
tr.value.body.length ? (y(), u(Me, {
|
|
834
831
|
key: 0,
|
|
835
832
|
uid: A.value,
|
|
836
|
-
head:
|
|
837
|
-
body:
|
|
838
|
-
caption:
|
|
839
|
-
notice:
|
|
833
|
+
head: tr.value.head,
|
|
834
|
+
body: tr.value.body,
|
|
835
|
+
caption: tr.value.caption,
|
|
836
|
+
notice: tr.value.notice
|
|
840
837
|
}, null, 8, [
|
|
841
838
|
"uid",
|
|
842
839
|
"head",
|
|
@@ -844,14 +841,14 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
844
841
|
"caption",
|
|
845
842
|
"notice"
|
|
846
843
|
])) : d("", !0),
|
|
847
|
-
M.value.userOptions.buttons.annotator ? (y(), u(w(
|
|
844
|
+
M.value.userOptions.buttons.annotator ? (y(), u(w(Et), {
|
|
848
845
|
key: 1,
|
|
849
846
|
svgRef: w(F),
|
|
850
847
|
backgroundColor: M.value.style.chart.backgroundColor,
|
|
851
848
|
color: M.value.style.chart.color,
|
|
852
|
-
active:
|
|
849
|
+
active: Ln.value,
|
|
853
850
|
isCursorPointer: N.value,
|
|
854
|
-
onClose:
|
|
851
|
+
onClose: Rn
|
|
855
852
|
}, {
|
|
856
853
|
"annotator-action-close": T(() => [S(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
857
854
|
"annotator-action-color": T(({ color: t }) => [S(e.$slots, "annotator-action-color", _(h({ color: t })), void 0, !0)]),
|
|
@@ -867,20 +864,20 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
867
864
|
"active",
|
|
868
865
|
"isCursorPointer"
|
|
869
866
|
])) : d("", !0),
|
|
870
|
-
|
|
867
|
+
fn.value ? (y(), f("div", {
|
|
871
868
|
key: 2,
|
|
872
869
|
ref_key: "noTitle",
|
|
873
|
-
ref:
|
|
870
|
+
ref: zt,
|
|
874
871
|
class: "vue-data-ui-no-title-space",
|
|
875
872
|
style: "height:36px; width: 100%;background:transparent"
|
|
876
873
|
}, null, 512)) : d("", !0),
|
|
877
874
|
M.value.style.chart.title.text ? (y(), f("div", {
|
|
878
875
|
key: 3,
|
|
879
876
|
ref_key: "chartTitle",
|
|
880
|
-
ref:
|
|
877
|
+
ref: It,
|
|
881
878
|
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
882
|
-
}, [(y(), u(
|
|
883
|
-
key: `title_${
|
|
879
|
+
}, [(y(), u(Ee, {
|
|
880
|
+
key: `title_${Bt.value}`,
|
|
884
881
|
config: {
|
|
885
882
|
title: {
|
|
886
883
|
cy: "pcp-div-title",
|
|
@@ -892,15 +889,15 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
892
889
|
}
|
|
893
890
|
}
|
|
894
891
|
}, null, 8, ["config"]))], 512)) : d("", !0),
|
|
895
|
-
p("div", { id: `legend-top-${A.value}` }, null, 8,
|
|
896
|
-
M.value.userOptions.show &&
|
|
892
|
+
p("div", { id: `legend-top-${A.value}` }, null, 8, $e),
|
|
893
|
+
M.value.userOptions.show && Pt.value && (w(rn) || w(tn)) ? (y(), u(w(Dt), {
|
|
897
894
|
ref_key: "userOptionsRef",
|
|
898
|
-
ref:
|
|
899
|
-
key: `user_options_${
|
|
895
|
+
ref: Wt,
|
|
896
|
+
key: `user_options_${Ft.value}`,
|
|
900
897
|
backgroundColor: M.value.style.chart.backgroundColor,
|
|
901
898
|
color: M.value.style.chart.color,
|
|
902
|
-
isPrinting: w(
|
|
903
|
-
isImaging: w(
|
|
899
|
+
isPrinting: w(cn),
|
|
900
|
+
isImaging: w(ln),
|
|
904
901
|
uid: A.value,
|
|
905
902
|
hasTooltip: M.value.userOptions.buttons.tooltip && M.value.style.chart.tooltip.show,
|
|
906
903
|
hasPdf: M.value.userOptions.buttons.pdf,
|
|
@@ -917,23 +914,23 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
917
914
|
chartElement: D.value,
|
|
918
915
|
position: M.value.userOptions.position,
|
|
919
916
|
hasAnnotator: M.value.userOptions.buttons.annotator,
|
|
920
|
-
isAnnotation:
|
|
917
|
+
isAnnotation: Ln.value,
|
|
921
918
|
callbacks: M.value.userOptions.callbacks,
|
|
922
919
|
printScale: M.value.userOptions.print.scale,
|
|
923
920
|
tableDialog: M.value.table.useDialog,
|
|
924
921
|
isCursorPointer: N.value,
|
|
925
|
-
onToggleFullscreen:
|
|
926
|
-
onGeneratePdf: w(
|
|
927
|
-
onGenerateCsv:
|
|
928
|
-
onGenerateImage:
|
|
929
|
-
onGenerateSvg:
|
|
930
|
-
onToggleTable:
|
|
931
|
-
onToggleLabels:
|
|
932
|
-
onToggleTooltip:
|
|
933
|
-
onToggleAnnotator:
|
|
934
|
-
onCopyAlt:
|
|
935
|
-
style: v({ visibility: w(
|
|
936
|
-
},
|
|
922
|
+
onToggleFullscreen: Zt,
|
|
923
|
+
onGeneratePdf: w(un),
|
|
924
|
+
onGenerateCsv: jn,
|
|
925
|
+
onGenerateImage: Jn,
|
|
926
|
+
onGenerateSvg: qn,
|
|
927
|
+
onToggleTable: Pn,
|
|
928
|
+
onToggleLabels: Fn,
|
|
929
|
+
onToggleTooltip: In,
|
|
930
|
+
onToggleAnnotator: Rn,
|
|
931
|
+
onCopyAlt: Yn,
|
|
932
|
+
style: v({ visibility: w(rn) ? w(tn) ? "visible" : "hidden" : "visible" })
|
|
933
|
+
}, Re({ _: 2 }, [
|
|
937
934
|
e.$slots.menuIcon ? {
|
|
938
935
|
name: "menuIcon",
|
|
939
936
|
fn: T(({ isOpen: t, color: n }) => [S(e.$slots, "menuIcon", _(h({
|
|
@@ -1009,7 +1006,7 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1009
1006
|
key: "12"
|
|
1010
1007
|
} : void 0
|
|
1011
1008
|
]), 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.style".split("."))) : d("", !0),
|
|
1012
|
-
p("div",
|
|
1009
|
+
p("div", et, [(y(), f("svg", {
|
|
1013
1010
|
ref_key: "svgRef",
|
|
1014
1011
|
ref: F,
|
|
1015
1012
|
xmlns: w(me),
|
|
@@ -1021,11 +1018,11 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1021
1018
|
viewBox: `0 0 ${B.value.chartWidth <= 0 ? 10 : B.value.chartWidth} ${B.value.chartHeight <= 0 ? 10 : B.value.chartHeight}`,
|
|
1022
1019
|
style: v(`max-width:100%; overflow: visible; background:transparent;color:${M.value.style.chart.color}`),
|
|
1023
1020
|
tabindex: "0",
|
|
1024
|
-
onFocus:
|
|
1025
|
-
onBlur:
|
|
1026
|
-
onKeydown:
|
|
1021
|
+
onFocus: Qn,
|
|
1022
|
+
onBlur: $n,
|
|
1023
|
+
onKeydown: er
|
|
1027
1024
|
}, [
|
|
1028
|
-
|
|
1025
|
+
Be(w(Ot)),
|
|
1029
1026
|
e.$slots["chart-background"] ? (y(), f("foreignObject", {
|
|
1030
1027
|
key: 0,
|
|
1031
1028
|
x: B.value.left,
|
|
@@ -1033,39 +1030,39 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1033
1030
|
width: B.value.width,
|
|
1034
1031
|
height: B.value.height,
|
|
1035
1032
|
style: { pointerEvents: "none" }
|
|
1036
|
-
}, [S(e.$slots, "chart-background", {}, void 0, !0)], 8,
|
|
1037
|
-
(y(!0), f(c, null, x(q.value, (e, t) => (y(), f("g",
|
|
1033
|
+
}, [S(e.$slots, "chart-background", {}, void 0, !0)], 8, nt)) : d("", !0),
|
|
1034
|
+
(y(!0), f(c, null, x(q.value, (e, t) => (y(), f("g", rt, [p("line", {
|
|
1038
1035
|
x1: B.value.left + G.value * t + G.value / 2,
|
|
1039
1036
|
x2: B.value.left + G.value * t + G.value / 2,
|
|
1040
1037
|
y1: B.value.top,
|
|
1041
1038
|
y2: B.value.bottom,
|
|
1042
1039
|
stroke: M.value.style.chart.yAxis.stroke,
|
|
1043
1040
|
"stroke-width": M.value.style.chart.yAxis.strokeWidth
|
|
1044
|
-
}, null, 8,
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
y2: e.y,
|
|
1041
|
+
}, null, 8, it), M.value.style.chart.yAxis.labels.ticks.show ? (y(), f(c, { key: 0 }, [(y(!0), f(c, null, x(e.ticks, (t, n) => (y(), f("path", {
|
|
1042
|
+
class: "vue-ui-pcp-transition",
|
|
1043
|
+
key: `tick_${e.name}_${n}`,
|
|
1044
|
+
d: `M${t.x},${t.y} ${t.x - 10},${t.y}`,
|
|
1049
1045
|
stroke: M.value.style.chart.yAxis.stroke,
|
|
1050
1046
|
"stroke-width": M.value.style.chart.yAxis.strokeWidth,
|
|
1051
1047
|
style: v(`opacity:${X.value && !V.value.showTooltip ? .2 : 1}`)
|
|
1052
|
-
}, null, 12,
|
|
1053
|
-
|
|
1054
|
-
|
|
1048
|
+
}, null, 12, at))), 128)), w(P) ? d("", !0) : (y(), f("g", ot, [(y(!0), f(c, null, x(e.ticks, (n, r) => (y(), f("text", {
|
|
1049
|
+
key: `tl_${e.name}_${r}`,
|
|
1050
|
+
class: g({ "vue-data-ui-datalabel": w(Nt) }),
|
|
1051
|
+
transform: `translate(${n.x - 12 + M.value.style.chart.yAxis.labels.ticks.offsetX}, ${n.y + M.value.style.chart.yAxis.labels.ticks.offsetY + R.value.ticksFontSize / 3})`,
|
|
1055
1052
|
fill: M.value.style.chart.yAxis.labels.ticks.color,
|
|
1056
1053
|
"text-anchor": "end",
|
|
1057
1054
|
"font-size": R.value.ticksFontSize,
|
|
1058
1055
|
"font-weight": M.value.style.chart.yAxis.labels.ticks.bold ? "bold" : "normal",
|
|
1059
1056
|
style: v(`opacity:${X.value && !V.value.showTooltip ? .2 : 1}`)
|
|
1060
|
-
}, C(
|
|
1061
|
-
value:
|
|
1057
|
+
}, C(wn({
|
|
1058
|
+
value: n.value,
|
|
1062
1059
|
index: t,
|
|
1063
|
-
datapoint:
|
|
1064
|
-
})),
|
|
1060
|
+
datapoint: n
|
|
1061
|
+
})), 15, st))), 128))]))], 64)) : d("", !0)]))), 256)),
|
|
1065
1062
|
M.value.style.chart.yAxis.labels.showAxisNames ? (y(), f("g", {
|
|
1066
1063
|
key: 1,
|
|
1067
1064
|
ref_key: "xAxisLabels",
|
|
1068
|
-
ref:
|
|
1065
|
+
ref: qt
|
|
1069
1066
|
}, [(y(!0), f(c, null, x(q.value, (e, t) => (y(), f(c, null, [String(e.name).includes("\n") ? (y(), f("text", {
|
|
1070
1067
|
key: 1,
|
|
1071
1068
|
class: "vue-ui-parallel-coordinate-plot-x-label",
|
|
@@ -1081,7 +1078,7 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1081
1078
|
x: 0,
|
|
1082
1079
|
y: 0
|
|
1083
1080
|
})
|
|
1084
|
-
}, null, 8,
|
|
1081
|
+
}, null, 8, lt)) : (y(), f("text", {
|
|
1085
1082
|
key: 0,
|
|
1086
1083
|
class: "vue-ui-parallel-coordinate-plot-x-label",
|
|
1087
1084
|
fill: M.value.style.chart.yAxis.labels.axisNamesColor,
|
|
@@ -1089,10 +1086,10 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1089
1086
|
"font-weight": M.value.style.chart.yAxis.labels.axisNamesBold ? "bold" : "",
|
|
1090
1087
|
"text-anchor": M.value.style.chart.yAxis.labels.axisNamesRotation === 0 ? "middle" : M.value.style.chart.yAxis.labels.axisNamesRotation < 0 ? "start" : "end",
|
|
1091
1088
|
transform: `translate(${B.value.left + G.value * t + G.value / 2}, ${z.value - R.value.axisNameFontSize}), rotate(${M.value.style.chart.yAxis.labels.axisNamesRotation})`
|
|
1092
|
-
}, C(e.name), 9,
|
|
1089
|
+
}, C(e.name), 9, ct))], 64))), 256))], 512)) : d("", !0),
|
|
1093
1090
|
(y(!0), f(c, null, x(J.value, (t, n) => (y(), f("g", null, [(y(!0), f(c, null, x(t.series, (r, i) => (y(), f("g", null, [
|
|
1094
|
-
M.value.style.chart.plots.show ? (y(), f("g",
|
|
1095
|
-
(y(!0), f(c, null, x(r.datapoints, (e, a) => (y(), u(
|
|
1091
|
+
M.value.style.chart.plots.show ? (y(), f("g", ut, [
|
|
1092
|
+
(y(!0), f(c, null, x(r.datapoints, (e, a) => (y(), u(De, {
|
|
1096
1093
|
plot: {
|
|
1097
1094
|
x: e.x,
|
|
1098
1095
|
y: e.y
|
|
@@ -1102,7 +1099,7 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1102
1099
|
radius: t.shape === "triangle" ? R.value.plotSize * 1.2 : R.value.plotSize,
|
|
1103
1100
|
stroke: M.value.style.chart.backgroundColor,
|
|
1104
1101
|
strokeWidth: .5,
|
|
1105
|
-
onMouseenter: (e) =>
|
|
1102
|
+
onMouseenter: (e) => Q({
|
|
1106
1103
|
shape: t.shape,
|
|
1107
1104
|
serieName: t.name,
|
|
1108
1105
|
serie: r,
|
|
@@ -1117,7 +1114,7 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1117
1114
|
S: n
|
|
1118
1115
|
}),
|
|
1119
1116
|
style: v(`opacity:${X.value ? X.value === r.id ? M.value.style.chart.plots.opacity : .2 : M.value.style.chart.plots.opacity}`),
|
|
1120
|
-
onClick: () =>
|
|
1117
|
+
onClick: () => Nn({
|
|
1121
1118
|
serie: r,
|
|
1122
1119
|
shape: t.shape,
|
|
1123
1120
|
S: n
|
|
@@ -1141,7 +1138,7 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1141
1138
|
"font-size": R.value.ticksFontSize,
|
|
1142
1139
|
fill: t.color,
|
|
1143
1140
|
"font-weight": "bold"
|
|
1144
|
-
}, C(r.name), 9,
|
|
1141
|
+
}, C(r.name), 9, dt)) : d("", !0)], 64)),
|
|
1145
1142
|
M.value.style.chart.comments.show ? (y(!0), f(c, { key: 1 }, x(r.datapoints, (n) => (y(), f("g", null, [n.comment ? (y(), f("foreignObject", {
|
|
1146
1143
|
key: 0,
|
|
1147
1144
|
style: { overflow: "visible" },
|
|
@@ -1149,10 +1146,10 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1149
1146
|
width: M.value.style.chart.comments.width,
|
|
1150
1147
|
x: n.x - M.value.style.chart.comments.width / 2 + M.value.style.chart.comments.offsetX,
|
|
1151
1148
|
y: n.y + M.value.style.chart.comments.offsetY + 6
|
|
1152
|
-
}, [p("div",
|
|
1149
|
+
}, [p("div", pt, [S(e.$slots, "plot-comment", { plot: {
|
|
1153
1150
|
...n,
|
|
1154
1151
|
color: t.color
|
|
1155
|
-
} }, void 0, !0)])], 8,
|
|
1152
|
+
} }, void 0, !0)])], 8, ft)) : d("", !0)]))), 256)) : d("", !0)
|
|
1156
1153
|
])) : d("", !0),
|
|
1157
1154
|
!w(P) && (V.value.dataLabels.show || X.value && X.value === r.id) ? (y(!0), f(c, { key: 1 }, x(r.datapoints, (e, a) => (y(), f("text", {
|
|
1158
1155
|
x: e.x + 12 + M.value.style.chart.yAxis.labels.datapoints.offsetX,
|
|
@@ -1165,7 +1162,7 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1165
1162
|
"vue-ui-pcp-transition": !w(P)
|
|
1166
1163
|
}),
|
|
1167
1164
|
"font-size": R.value.datapointFontSize,
|
|
1168
|
-
onMouseenter: (e) =>
|
|
1165
|
+
onMouseenter: (e) => Q({
|
|
1169
1166
|
shape: t.shape,
|
|
1170
1167
|
serieName: t.name,
|
|
1171
1168
|
serie: r,
|
|
@@ -1179,17 +1176,17 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1179
1176
|
shape: t.shape,
|
|
1180
1177
|
S: n
|
|
1181
1178
|
}),
|
|
1182
|
-
onClick: () =>
|
|
1179
|
+
onClick: () => Nn({
|
|
1183
1180
|
serie: r,
|
|
1184
1181
|
shape: t.shape,
|
|
1185
1182
|
S: n
|
|
1186
1183
|
}),
|
|
1187
1184
|
style: v(`opacity:${X.value ? X.value === r.id ? 1 : .2 : 1}`)
|
|
1188
|
-
}, C(
|
|
1185
|
+
}, C(wn({
|
|
1189
1186
|
value: e.value,
|
|
1190
1187
|
index: a,
|
|
1191
1188
|
datapoint: e
|
|
1192
|
-
})), 47,
|
|
1189
|
+
})), 47, mt))), 256)) : d("", !0),
|
|
1193
1190
|
p("path", {
|
|
1194
1191
|
d: `M${M.value.style.chart.lines.smooth ? r.smoothPath : r.straightPath}`,
|
|
1195
1192
|
stroke: t.color,
|
|
@@ -1199,7 +1196,7 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1199
1196
|
"vue-ui-pcp-animated vue-data-ui-line-animated": M.value.useCssAnimation,
|
|
1200
1197
|
"vue-ui-pcp-transition": !w(P)
|
|
1201
1198
|
}),
|
|
1202
|
-
onMouseenter: (e) =>
|
|
1199
|
+
onMouseenter: (e) => Q({
|
|
1203
1200
|
shape: t.shape,
|
|
1204
1201
|
serieName: t.name,
|
|
1205
1202
|
serie: r,
|
|
@@ -1213,13 +1210,13 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1213
1210
|
shape: t.shape,
|
|
1214
1211
|
S: n
|
|
1215
1212
|
}),
|
|
1216
|
-
onClick: () =>
|
|
1213
|
+
onClick: () => Nn({
|
|
1217
1214
|
serie: r,
|
|
1218
1215
|
shape: t.shape,
|
|
1219
1216
|
S: n
|
|
1220
1217
|
}),
|
|
1221
1218
|
style: v(`opacity:${X.value ? X.value === r.id ? M.value.style.chart.lines.opacity : .2 : M.value.style.chart.lines.opacity}; stroke-dasharray:${r.pathLength}; stroke-dashoffset: ${M.value.useCssAnimation ? r.pathLength : 0}`)
|
|
1222
|
-
}, null, 46,
|
|
1219
|
+
}, null, 46, ht),
|
|
1223
1220
|
V.value.showTooltip ? (y(), f("path", {
|
|
1224
1221
|
key: 2,
|
|
1225
1222
|
d: `M${M.value.style.chart.lines.smooth ? r.smoothPath : r.straightPath}`,
|
|
@@ -1230,7 +1227,7 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1230
1227
|
"vue-ui-pcp-animated vue-data-ui-line-animated": M.value.useCssAnimation,
|
|
1231
1228
|
"vue-ui-pcp-transition": !w(P)
|
|
1232
1229
|
}),
|
|
1233
|
-
onMouseenter: (e) =>
|
|
1230
|
+
onMouseenter: (e) => Q({
|
|
1234
1231
|
shape: t.shape,
|
|
1235
1232
|
serieName: t.name,
|
|
1236
1233
|
serie: r,
|
|
@@ -1244,52 +1241,52 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1244
1241
|
shape: t.shape,
|
|
1245
1242
|
S: n
|
|
1246
1243
|
}),
|
|
1247
|
-
onClick: () =>
|
|
1244
|
+
onClick: () => Nn({
|
|
1248
1245
|
serie: r,
|
|
1249
1246
|
shape: t.shape,
|
|
1250
1247
|
S: n
|
|
1251
1248
|
}),
|
|
1252
1249
|
style: { opacity: "0" }
|
|
1253
|
-
}, null, 42,
|
|
1250
|
+
}, null, 42, gt)) : d("", !0)
|
|
1254
1251
|
]))), 256))]))), 256)),
|
|
1255
1252
|
S(e.$slots, "svg", { svg: {
|
|
1256
1253
|
...B.value,
|
|
1257
|
-
isPrintingImg: w(
|
|
1258
|
-
isPrintingSvg:
|
|
1254
|
+
isPrintingImg: w(cn) || w(ln) || Gt.value,
|
|
1255
|
+
isPrintingSvg: Kt.value
|
|
1259
1256
|
} }, void 0, !0)
|
|
1260
|
-
], 46,
|
|
1257
|
+
], 46, tt)), e.$slots.hint ? (y(), f("div", _t, [S(e.$slots, "hint", _(h({
|
|
1261
1258
|
hint: M.value.a11y.translations.keyboardNavigation,
|
|
1262
|
-
isVisible:
|
|
1259
|
+
isVisible: Xt.value
|
|
1263
1260
|
})), void 0, !0)])) : d("", !0)]),
|
|
1264
|
-
e.$slots.watermark ? (y(), f("div",
|
|
1265
|
-
p("div", { id: `legend-bottom-${A.value}` }, null, 8,
|
|
1266
|
-
|
|
1261
|
+
e.$slots.watermark ? (y(), f("div", vt, [S(e.$slots, "watermark", _(h({ isPrinting: w(cn) || w(ln) || Gt.value || Kt.value })), void 0, !0)])) : d("", !0),
|
|
1262
|
+
p("div", { id: `legend-bottom-${A.value}` }, null, 8, yt),
|
|
1263
|
+
Ut.value && (M.value.style.chart.legend.show || e.$slots.legend) ? (y(), u(Le, {
|
|
1267
1264
|
key: 6,
|
|
1268
1265
|
to: M.value.style.chart.legend.position === "top" ? `#legend-top-${A.value}` : `#legend-bottom-${A.value}`
|
|
1269
1266
|
}, [p("div", {
|
|
1270
1267
|
ref_key: "chartLegend",
|
|
1271
|
-
ref:
|
|
1272
|
-
}, [S(e.$slots, "legend", { legend: W.value }, () => [M.value.style.chart.legend.show &&
|
|
1273
|
-
key: `legend_${
|
|
1268
|
+
ref: Lt
|
|
1269
|
+
}, [S(e.$slots, "legend", { legend: W.value }, () => [M.value.style.chart.legend.show && Pt.value ? (y(), u(Fe, {
|
|
1270
|
+
key: `legend_${Vt.value}`,
|
|
1274
1271
|
legendSet: W.value,
|
|
1275
|
-
config:
|
|
1272
|
+
config: Sn.value,
|
|
1276
1273
|
isCursorPointer: N.value,
|
|
1277
1274
|
onClickMarker: t[0] ||= ({ legend: e }) => {
|
|
1278
|
-
|
|
1275
|
+
vn(e.id);
|
|
1279
1276
|
}
|
|
1280
1277
|
}, {
|
|
1281
1278
|
item: T(({ legend: e, index: t }) => [p("div", {
|
|
1282
1279
|
onClick: (t) => e.segregate(),
|
|
1283
1280
|
style: v(`opacity:${H.value.includes(e.id) ? .5 : 1}`)
|
|
1284
|
-
}, C(e.name), 13,
|
|
1285
|
-
legendToggle: T(() => [W.value.length > 2 && M.value.style.chart.legend.selectAllToggle.show && !w(P) ? (y(), u(
|
|
1281
|
+
}, C(e.name), 13, bt)]),
|
|
1282
|
+
legendToggle: T(() => [W.value.length > 2 && M.value.style.chart.legend.selectAllToggle.show && !w(P) ? (y(), u(je, {
|
|
1286
1283
|
key: 0,
|
|
1287
1284
|
backgroundColor: M.value.style.chart.legend.selectAllToggle.backgroundColor,
|
|
1288
1285
|
color: M.value.style.chart.legend.selectAllToggle.color,
|
|
1289
1286
|
fontSize: M.value.style.chart.legend.fontSize,
|
|
1290
1287
|
checked: H.value.length > 0,
|
|
1291
1288
|
isCursorPointer: N.value,
|
|
1292
|
-
onToggle:
|
|
1289
|
+
onToggle: _n
|
|
1293
1290
|
}, null, 8, [
|
|
1294
1291
|
"backgroundColor",
|
|
1295
1292
|
"color",
|
|
@@ -1306,12 +1303,12 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1306
1303
|
e.$slots.source ? (y(), f("div", {
|
|
1307
1304
|
key: 7,
|
|
1308
1305
|
ref_key: "source",
|
|
1309
|
-
ref:
|
|
1306
|
+
ref: Rt,
|
|
1310
1307
|
dir: "auto"
|
|
1311
1308
|
}, [S(e.$slots, "source", {}, void 0, !0)], 512)) : d("", !0),
|
|
1312
|
-
|
|
1309
|
+
Be(w(St), {
|
|
1313
1310
|
teleportTo: M.value.style.chart.tooltip.teleportTo,
|
|
1314
|
-
show: V.value.showTooltip &&
|
|
1311
|
+
show: V.value.showTooltip && En.value,
|
|
1315
1312
|
backgroundColor: M.value.style.chart.tooltip.backgroundColor,
|
|
1316
1313
|
color: M.value.style.chart.tooltip.color,
|
|
1317
1314
|
fontSize: M.value.style.chart.tooltip.fontSize,
|
|
@@ -1323,19 +1320,19 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1323
1320
|
offsetX: M.value.style.chart.tooltip.offsetX,
|
|
1324
1321
|
offsetY: M.value.style.chart.tooltip.offsetY,
|
|
1325
1322
|
parent: D.value,
|
|
1326
|
-
content:
|
|
1323
|
+
content: Dn.value,
|
|
1327
1324
|
isFullscreen: j.value,
|
|
1328
1325
|
isCustom: w(oe)(M.value.style.chart.tooltip.customFormat),
|
|
1329
1326
|
smooth: M.value.style.chart.tooltip.smooth,
|
|
1330
1327
|
backdropFilter: M.value.style.chart.tooltip.backdropFilter,
|
|
1331
1328
|
smoothForce: M.value.style.chart.tooltip.smoothForce,
|
|
1332
1329
|
smoothSnapThreshold: M.value.style.chart.tooltip.smoothSnapThreshold,
|
|
1333
|
-
isA11yMode:
|
|
1334
|
-
a11yPosition:
|
|
1330
|
+
isA11yMode: Yt.value === "keyboard",
|
|
1331
|
+
a11yPosition: Jt.value
|
|
1335
1332
|
}, {
|
|
1336
|
-
"tooltip-before": T(() => [S(e.$slots, "tooltip-before", _(h({ ...
|
|
1337
|
-
tooltip: T(() => [S(e.$slots, "tooltip", _(h({ ...
|
|
1338
|
-
"tooltip-after": T(() => [S(e.$slots, "tooltip-after", _(h({ ...
|
|
1333
|
+
"tooltip-before": T(() => [S(e.$slots, "tooltip-before", _(h({ ...Tn.value })), void 0, !0)]),
|
|
1334
|
+
tooltip: T(() => [S(e.$slots, "tooltip", _(h({ ...Tn.value })), void 0, !0)]),
|
|
1335
|
+
"tooltip-after": T(() => [S(e.$slots, "tooltip-after", _(h({ ...Tn.value })), void 0, !0)]),
|
|
1339
1336
|
_: 3
|
|
1340
1337
|
}, 8, [
|
|
1341
1338
|
"teleportTo",
|
|
@@ -1361,24 +1358,24 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1361
1358
|
"isA11yMode",
|
|
1362
1359
|
"a11yPosition"
|
|
1363
1360
|
]),
|
|
1364
|
-
|
|
1361
|
+
Pt.value && M.value.userOptions.buttons.table ? (y(), u(Ge(Vn.value.component), Ve({ key: 8 }, Vn.value.props, {
|
|
1365
1362
|
ref_key: "tableUnit",
|
|
1366
1363
|
ref: O,
|
|
1367
|
-
onClose:
|
|
1368
|
-
}),
|
|
1369
|
-
content: T(() => [(y(), u(w(
|
|
1370
|
-
key: `table_${
|
|
1371
|
-
colNames:
|
|
1372
|
-
head:
|
|
1373
|
-
body:
|
|
1374
|
-
config:
|
|
1375
|
-
title: M.value.table.useDialog ? "" :
|
|
1364
|
+
onClose: Hn
|
|
1365
|
+
}), Re({
|
|
1366
|
+
content: T(() => [(y(), u(w(Tt), {
|
|
1367
|
+
key: `table_${Ht.value}`,
|
|
1368
|
+
colNames: $.value.colNames,
|
|
1369
|
+
head: $.value.head,
|
|
1370
|
+
body: $.value.body,
|
|
1371
|
+
config: $.value.config,
|
|
1372
|
+
title: M.value.table.useDialog ? "" : Vn.value.title,
|
|
1376
1373
|
withCloseButton: !M.value.table.useDialog,
|
|
1377
1374
|
isCursorPointer: N.value,
|
|
1378
|
-
onClose:
|
|
1375
|
+
onClose: Hn
|
|
1379
1376
|
}, {
|
|
1380
|
-
th: T(({ th: e }) => [p("div", { innerHTML: e }, null, 8,
|
|
1381
|
-
td: T(({ td: e }) => [
|
|
1377
|
+
th: T(({ th: e }) => [p("div", { innerHTML: e }, null, 8, xt)]),
|
|
1378
|
+
td: T(({ td: e }) => [ze(C(e), 1)]),
|
|
1382
1379
|
_: 1
|
|
1383
1380
|
}, 8, [
|
|
1384
1381
|
"colNames",
|
|
@@ -1392,24 +1389,24 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1392
1389
|
_: 2
|
|
1393
1390
|
}, [M.value.table.useDialog ? {
|
|
1394
1391
|
name: "title",
|
|
1395
|
-
fn: T(() => [
|
|
1392
|
+
fn: T(() => [ze(C(Vn.value.title), 1)]),
|
|
1396
1393
|
key: "0"
|
|
1397
1394
|
} : void 0, M.value.table.useDialog ? {
|
|
1398
1395
|
name: "actions",
|
|
1399
1396
|
fn: T(() => [p("button", {
|
|
1400
1397
|
tabindex: "0",
|
|
1401
1398
|
class: "vue-ui-user-options-button",
|
|
1402
|
-
onClick: t[1] ||= (e) =>
|
|
1399
|
+
onClick: t[1] ||= (e) => jn(M.value.userOptions.callbacks.csv),
|
|
1403
1400
|
style: v({ cursor: N.value ? "pointer" : "default" })
|
|
1404
|
-
}, [
|
|
1401
|
+
}, [Be(w(Ct), {
|
|
1405
1402
|
name: "fileCsv",
|
|
1406
|
-
stroke:
|
|
1403
|
+
stroke: Vn.value.props.color
|
|
1407
1404
|
}, null, 8, ["stroke"])], 4)]),
|
|
1408
1405
|
key: "1"
|
|
1409
1406
|
} : void 0]), 1040)) : d("", !0),
|
|
1410
1407
|
S(e.$slots, "skeleton", {}, () => [w(P) ? (y(), u(ye, { key: 0 })) : d("", !0)], !0)
|
|
1411
|
-
], 46,
|
|
1408
|
+
], 46, Ze));
|
|
1412
1409
|
}
|
|
1413
|
-
}, [["__scopeId", "data-v-
|
|
1410
|
+
}, [["__scopeId", "data-v-7916a6b4"]]);
|
|
1414
1411
|
//#endregion
|
|
1415
|
-
export {
|
|
1412
|
+
export { Xe as n, St as t };
|