vue-data-ui 3.22.8 → 3.22.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/{BaseDraggableDialog-DcfGlH8A.js → BaseDraggableDialog-Av7Uxq5V.js} +1 -1
- package/dist/BaseIcon-UdRAvP2h.js +483 -0
- package/dist/{BaseLegendToggle-DtQ8vyfr.js → BaseLegendToggle-DWtet-Hh.js} +1 -1
- package/dist/{BaseZoomControls-C6zonwhr.js → BaseZoomControls-BY2KLqs6.js} +1 -1
- package/dist/{ColorPicker-CK2-h611.js → ColorPicker-DR_ummtM.js} +1 -1
- package/dist/{DataTable-D9NvewTT.js → DataTable-BxpTMgfK.js} +1 -1
- package/dist/DefGrad-DVBqDjhO.js +48 -0
- package/dist/{NonSvgPenAndPaper-BHHNsVVP.js → NonSvgPenAndPaper-B6EG_Sga.js} +2 -2
- package/dist/{PackageVersion-DW7zwRcm.js → PackageVersion-D__dRVRA.js} +1 -1
- package/dist/{PenAndPaper-pcgwlYr2.js → PenAndPaper-DsXi7GJ-.js} +2 -2
- package/dist/{Slicer-BZ5VnOOS.js → Slicer-CW_XPIKL.js} +359 -354
- package/dist/{SlicerPreview-BQFeCw0m.js → SlicerPreview-CTz41lOu.js} +471 -466
- package/dist/{UserOptions-16uF1ayB.js → UserOptions-trvJ26nz.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-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-icon.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-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-gp9pYCfN.js → package-ByOT60IK.js} +1 -1
- package/dist/{render-common-CLn1VXJ9.js → render-common-D18VrP0h.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/{vue-data-ui-AZZ9Cq-4.js → vue-data-ui-ub3fCh6P.js} +67 -67
- package/dist/vue-data-ui.js +67 -67
- package/dist/vue-ui-3d-bar-taPI41_I.js +1825 -0
- package/dist/{vue-ui-accordion-YyosvEPo.js → vue-ui-accordion-CjAGqEJg.js} +1 -1
- package/dist/{vue-ui-age-pyramid-DTAOc7fn.js → vue-ui-age-pyramid-jvQZbF8E.js} +306 -297
- package/dist/{vue-ui-annotator-CfJXeAOE.js → vue-ui-annotator-BIucnT0L.js} +3 -3
- package/dist/{vue-ui-bullet-CCLnrOLm.js → vue-ui-bullet-CIATzlsk.js} +1 -1
- package/dist/{vue-ui-bump-Rq7efdoe.js → vue-ui-bump-D8MxltQE.js} +2 -2
- package/dist/{vue-ui-candlestick-D-Z9pEaA.js → vue-ui-candlestick-DULUMU-Q.js} +513 -502
- package/dist/{vue-ui-carousel-table-Lx5Zk4dG.js → vue-ui-carousel-table-BSmdexG7.js} +1 -1
- package/dist/vue-ui-chestnut-BIh1nQ7q.js +2042 -0
- package/dist/{vue-ui-chord-Db1O_diJ.js → vue-ui-chord-DL1M7cgL.js} +1 -1
- package/dist/vue-ui-circle-pack-C1Pgq6si.js +1614 -0
- package/dist/{vue-ui-cursor-DLP7wxsw.js → vue-ui-cursor-d2uLAKTQ.js} +1 -1
- package/dist/{vue-ui-dag-DL3zq0F2.js → vue-ui-dag-CVh9FpZr.js} +2 -2
- package/dist/{vue-ui-dashboard-C2ozZ-LI.js → vue-ui-dashboard-BH0N3ebj.js} +65 -65
- package/dist/{vue-ui-digits-ThFVNO3l.js → vue-ui-digits-R6wi3J-Y.js} +1 -1
- package/dist/{vue-ui-donut-BuTd6dt4.js → vue-ui-donut-BWDeVzLc.js} +1 -1
- package/dist/{vue-ui-donut-C3Rt6j-I.js → vue-ui-donut-BoZdciGh.js} +632 -623
- package/dist/vue-ui-donut-evolution-CpC9EMro.js +1522 -0
- package/dist/{vue-ui-dumbbell-wK7vUB0x.js → vue-ui-dumbbell-DGA5Bfnl.js} +528 -494
- package/dist/{vue-ui-flow-BTUNfWb7.js → vue-ui-flow-CNczKwTh.js} +1 -1
- package/dist/vue-ui-funnel-CaD2tZCT.js +782 -0
- package/dist/{vue-ui-galaxy-DJ2uNYcN.js → vue-ui-galaxy-v3cTbUiM.js} +2 -2
- package/dist/vue-ui-gauge-DxvMjfoc.js +926 -0
- package/dist/{vue-ui-geo-ovHu_Sc9.js → vue-ui-geo-BgmLkZZ2.js} +2 -2
- package/dist/{vue-ui-gizmo-DDxEj-qe.js → vue-ui-gizmo-n1kmcGeE.js} +66 -61
- package/dist/{vue-ui-heatmap-Npqnvb1r.js → vue-ui-heatmap-dSTh8ah_.js} +2 -2
- package/dist/{vue-ui-history-plot-C3Kjy2tc.js → vue-ui-history-plot-N8BqMFVU.js} +395 -384
- package/dist/{vue-ui-horizontal-bar-D1rCsgqt.js → vue-ui-horizontal-bar-CwiQxYzv.js} +360 -354
- package/dist/{vue-ui-kpi-BrlfYO-j.js → vue-ui-kpi-BKrUk9o8.js} +1 -1
- package/dist/{vue-ui-molecule-CExCqZ08.js → vue-ui-molecule--kK1JfnP.js} +295 -289
- package/dist/{vue-ui-mood-radar-DlVh6hwx.js → vue-ui-mood-radar-CpBRHQo_.js} +209 -204
- package/dist/{vue-ui-nested-donuts-3TRV8pN-.js → vue-ui-nested-donuts-8Ehwcuns.js} +307 -301
- package/dist/{vue-ui-onion-DwKK9DXn.js → vue-ui-onion-Cf6JiYTH.js} +2 -2
- package/dist/{vue-ui-parallel-coordinate-plot-DSp_cwU-.js → vue-ui-parallel-coordinate-plot-Blnqp1DB.js} +2 -2
- package/dist/{vue-ui-quadrant-ByVg-NBs.js → vue-ui-quadrant-CxU0jiOm.js} +366 -360
- package/dist/{vue-ui-quick-chart-WMzSJxGZ.js → vue-ui-quick-chart-BO98uEPl.js} +3 -3
- package/dist/{vue-ui-radar-DE-me6OC.js → vue-ui-radar-eH2Qih4_.js} +272 -266
- package/dist/{vue-ui-rating-CzD3EQ3G.js → vue-ui-rating-CN-ZiAES.js} +135 -126
- package/dist/{vue-ui-relation-circle-L7-dTqet.js → vue-ui-relation-circle-BIcP-aAt.js} +1 -1
- package/dist/vue-ui-ridgeline-ChXHzEJw.js +1628 -0
- package/dist/{vue-ui-rings-WzWiEo9W.js → vue-ui-rings-J990vNbX.js} +262 -256
- package/dist/{vue-ui-scatter-DwrAydha.js → vue-ui-scatter-BeJB0EKg.js} +642 -633
- package/dist/{vue-ui-skeleton-CuFm4PtB.js → vue-ui-skeleton-DC2bZ0nk.js} +336 -333
- package/dist/{vue-ui-smiley-D4NnZ1mg.js → vue-ui-smiley-Dyyu1je3.js} +111 -98
- package/dist/{vue-ui-spark-trend-C38ysZ-c.js → vue-ui-spark-trend-CpDX85H3.js} +158 -153
- package/dist/vue-ui-sparkbar-DhIo1qsW.js +398 -0
- package/dist/{vue-ui-sparkgauge-DgPc4vPT.js → vue-ui-sparkgauge-D0Fo3Hts.js} +75 -70
- package/dist/vue-ui-sparkhistogram-CUjFiuAh.js +576 -0
- package/dist/vue-ui-sparkline-ApivEMBP.js +1560 -0
- package/dist/{vue-ui-sparkstackbar-DrmiWFlw.js → vue-ui-sparkstackbar-DsKQJx_n.js} +179 -167
- package/dist/{vue-ui-stackbar-BVdApDnY.js → vue-ui-stackbar-Ds4hXATH.js} +538 -531
- package/dist/vue-ui-stackline-DJbcVvmN.js +2425 -0
- package/dist/{vue-ui-strip-plot-C-TFNvgz.js → vue-ui-strip-plot-C3ZHf4bD.js} +368 -361
- package/dist/{vue-ui-table-heatmap-D0pZbBOH.js → vue-ui-table-heatmap-CNXNXXBU.js} +1 -1
- package/dist/{vue-ui-table-sparkline-Q6BHPKUn.js → vue-ui-table-sparkline-B9JJ4pFF.js} +1 -1
- package/dist/{vue-ui-table-Q3brrivC.js → vue-ui-table-uudidrYt.js} +4 -4
- package/dist/vue-ui-thermometer-Bvw3oQb3.js +770 -0
- package/dist/{vue-ui-timer-BdzKpoRj.js → vue-ui-timer-5NAWw5BN.js} +91 -86
- package/dist/{vue-ui-tiremarks-DWb69ofh.js → vue-ui-tiremarks-Caz_g1c5.js} +1 -1
- package/dist/{vue-ui-treemap-uUz07Prw.js → vue-ui-treemap-F9upPyOI.js} +458 -453
- package/dist/{vue-ui-waffle-Pi9e7Ae7.js → vue-ui-waffle-Bk9AsrPp.js} +296 -290
- package/dist/{vue-ui-wheel-DTfvWYA7.js → vue-ui-wheel-DD6Q39BA.js} +1 -1
- package/dist/{vue-ui-word-cloud-DqfljAqH.js → vue-ui-word-cloud-BZLT5svo.js} +2 -2
- package/dist/{vue-ui-world-BtBrH92Z.js → vue-ui-world-DbEJN5NA.js} +284 -273
- package/dist/{vue-ui-xy-Bvgy2do1.js → vue-ui-xy-BYMAITk_.js} +1294 -1268
- package/dist/{vue-ui-xy-D5KsuNR2.js → vue-ui-xy-Cn9Q8YPr.js} +1 -1
- package/dist/{vue-ui-xy-canvas-BfgeE3TW.js → vue-ui-xy-canvas-Dcm2ftwm.js} +5 -5
- package/package.json +1 -1
- package/dist/BaseIcon-C2qlyHc7.js +0 -502
- package/dist/vue-ui-3d-bar-B3HxJmDI.js +0 -1757
- package/dist/vue-ui-chestnut-RfWMGUD-.js +0 -2010
- package/dist/vue-ui-circle-pack-B4Ro7UuI.js +0 -1608
- package/dist/vue-ui-donut-evolution-DY46UPF_.js +0 -1510
- package/dist/vue-ui-funnel-BhoHzyHa.js +0 -777
- package/dist/vue-ui-gauge-Cf4NqvrO.js +0 -920
- package/dist/vue-ui-ridgeline-Cp3YP0xe.js +0 -1622
- package/dist/vue-ui-sparkbar-B03ndcUe.js +0 -393
- package/dist/vue-ui-sparkhistogram-D02ff7ZI.js +0 -560
- package/dist/vue-ui-sparkline-DlTfNQj8.js +0 -1547
- package/dist/vue-ui-stackline-QzQQ7lTy.js +0 -2419
- package/dist/vue-ui-thermometer-Bg0RR6m4.js +0 -763
|
@@ -12,78 +12,79 @@ import { t as _e } from "./Shape-UpH0a4Ur.js";
|
|
|
12
12
|
import { t as ve } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
13
13
|
import { c as ye } from "./canvas-lib-BOP_HS11.js";
|
|
14
14
|
import { t as be } from "./useResponsive-BfnK0KxU.js";
|
|
15
|
-
import { t as xe } from "./
|
|
16
|
-
import { t as Se } from "./
|
|
17
|
-
import { t as Ce } from "./
|
|
18
|
-
import { t as we } from "./
|
|
19
|
-
import { t as Te } from "./
|
|
20
|
-
import { t as Ee } from "./
|
|
21
|
-
import {
|
|
15
|
+
import { t as xe } from "./DefGrad-DVBqDjhO.js";
|
|
16
|
+
import { t as Se } from "./BaseLegendToggle-DWtet-Hh.js";
|
|
17
|
+
import { t as Ce } from "./A11yDataTable-DdRsVULz.js";
|
|
18
|
+
import { t as we } from "./useUserOptionState-DK-_1ddE.js";
|
|
19
|
+
import { t as Te } from "./useChartAccessibility-DYqac8yF.js";
|
|
20
|
+
import { t as Ee } from "./Legend-ROt6ugzW.js";
|
|
21
|
+
import { t as De } from "./vue_ui_scatter-I0POnicu.js";
|
|
22
|
+
import { Fragment as v, Teleport as Oe, computed as y, createBlock as b, createCommentVNode as x, createElementBlock as S, createElementVNode as C, createSlots as ke, createTextVNode as Ae, createVNode as je, defineAsyncComponent as Me, guardReactiveProps as w, mergeProps as Ne, nextTick as Pe, normalizeClass as Fe, normalizeProps as T, normalizeStyle as E, onBeforeUnmount as Ie, onMounted as Le, openBlock as D, ref as O, renderList as k, renderSlot as A, resolveDynamicComponent as Re, shallowRef as ze, toDisplayString as j, toRefs as Be, unref as M, watch as Ve, withCtx as N } from "vue";
|
|
22
23
|
//#region src/components/vue-ui-scatter.vue
|
|
23
|
-
var
|
|
24
|
+
var He = /* @__PURE__ */ e({ default: () => pn }), Ue = ["id"], We = ["id"], Ge = {
|
|
24
25
|
key: 0,
|
|
25
26
|
class: "sr-only",
|
|
26
27
|
"aria-live": "polite",
|
|
27
28
|
"aria-atomic": "true"
|
|
28
|
-
},
|
|
29
|
+
}, Ke = ["id"], qe = { style: { position: "relative" } }, Je = [
|
|
29
30
|
"xmlns",
|
|
30
31
|
"aria-describedby",
|
|
31
32
|
"viewBox"
|
|
32
|
-
],
|
|
33
|
+
], Ye = ["width", "height"], Xe = { key: 1 }, Ze = [
|
|
33
34
|
"x1",
|
|
34
35
|
"x2",
|
|
35
36
|
"y1",
|
|
36
37
|
"y2",
|
|
37
38
|
"stroke",
|
|
38
39
|
"stroke-width"
|
|
39
|
-
],
|
|
40
|
+
], Qe = [
|
|
40
41
|
"x1",
|
|
41
42
|
"x2",
|
|
42
43
|
"y1",
|
|
43
44
|
"y2",
|
|
44
45
|
"stroke",
|
|
45
46
|
"stroke-width"
|
|
46
|
-
],
|
|
47
|
+
], $e = { key: 2 }, et = [
|
|
47
48
|
"x1",
|
|
48
49
|
"x2",
|
|
49
50
|
"y1",
|
|
50
51
|
"y2",
|
|
51
52
|
"stroke",
|
|
52
53
|
"stroke-width"
|
|
53
|
-
],
|
|
54
|
+
], tt = ["opacity"], nt = [
|
|
54
55
|
"x1",
|
|
55
56
|
"x2",
|
|
56
57
|
"y1",
|
|
57
58
|
"y2",
|
|
58
59
|
"stroke",
|
|
59
60
|
"stroke-width"
|
|
60
|
-
],
|
|
61
|
+
], rt = [
|
|
61
62
|
"x",
|
|
62
63
|
"y",
|
|
63
64
|
"font-size",
|
|
64
65
|
"fill",
|
|
65
66
|
"stroke"
|
|
66
|
-
],
|
|
67
|
+
], it = { key: 4 }, at = [
|
|
67
68
|
"x1",
|
|
68
69
|
"x2",
|
|
69
70
|
"y1",
|
|
70
71
|
"y2",
|
|
71
72
|
"stroke",
|
|
72
73
|
"stroke-width"
|
|
73
|
-
],
|
|
74
|
+
], ot = ["opacity"], st = [
|
|
74
75
|
"x1",
|
|
75
76
|
"x2",
|
|
76
77
|
"y1",
|
|
77
78
|
"y2",
|
|
78
79
|
"stroke",
|
|
79
80
|
"stroke-width"
|
|
80
|
-
],
|
|
81
|
+
], ct = [
|
|
81
82
|
"x",
|
|
82
83
|
"y",
|
|
83
84
|
"font-size",
|
|
84
85
|
"fill",
|
|
85
86
|
"stroke"
|
|
86
|
-
],
|
|
87
|
+
], lt = { key: 6 }, ut = [
|
|
87
88
|
"x",
|
|
88
89
|
"y",
|
|
89
90
|
"width",
|
|
@@ -92,37 +93,37 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
92
93
|
"stroke",
|
|
93
94
|
"stroke-width",
|
|
94
95
|
"rx"
|
|
95
|
-
],
|
|
96
|
+
], dt = [
|
|
96
97
|
"x",
|
|
97
98
|
"y",
|
|
98
99
|
"width",
|
|
99
100
|
"height",
|
|
100
101
|
"onMouseenter"
|
|
101
|
-
],
|
|
102
|
+
], ft = {
|
|
102
103
|
key: 2,
|
|
103
104
|
style: { "pointer-events": "none" }
|
|
104
|
-
},
|
|
105
|
+
}, pt = [
|
|
105
106
|
"x",
|
|
106
107
|
"y",
|
|
107
108
|
"width",
|
|
108
109
|
"height",
|
|
109
110
|
"fill",
|
|
110
111
|
"fill-opacity"
|
|
111
|
-
],
|
|
112
|
+
], mt = [
|
|
112
113
|
"x1",
|
|
113
114
|
"x2",
|
|
114
115
|
"y2",
|
|
115
116
|
"stroke",
|
|
116
117
|
"stroke-dasharray",
|
|
117
118
|
"stroke-width"
|
|
118
|
-
],
|
|
119
|
+
], ht = [
|
|
119
120
|
"x1",
|
|
120
121
|
"x2",
|
|
121
122
|
"y2",
|
|
122
123
|
"stroke",
|
|
123
124
|
"stroke-dasharray",
|
|
124
125
|
"stroke-width"
|
|
125
|
-
],
|
|
126
|
+
], gt = [
|
|
126
127
|
"x",
|
|
127
128
|
"y",
|
|
128
129
|
"height",
|
|
@@ -131,23 +132,23 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
131
132
|
"stroke",
|
|
132
133
|
"stroke-width",
|
|
133
134
|
"rx"
|
|
134
|
-
],
|
|
135
|
+
], _t = [
|
|
135
136
|
"x",
|
|
136
137
|
"y",
|
|
137
138
|
"width",
|
|
138
139
|
"height",
|
|
139
140
|
"onMouseenter"
|
|
140
|
-
],
|
|
141
|
+
], vt = {
|
|
141
142
|
key: 2,
|
|
142
143
|
style: { "pointer-events": "none" }
|
|
143
|
-
},
|
|
144
|
+
}, yt = [
|
|
144
145
|
"x",
|
|
145
146
|
"y",
|
|
146
147
|
"width",
|
|
147
148
|
"height",
|
|
148
149
|
"fill",
|
|
149
150
|
"fill-opacity"
|
|
150
|
-
],
|
|
151
|
+
], bt = [
|
|
151
152
|
"x1",
|
|
152
153
|
"x2",
|
|
153
154
|
"y1",
|
|
@@ -155,7 +156,7 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
155
156
|
"stroke",
|
|
156
157
|
"stroke-dasharray",
|
|
157
158
|
"stroke-width"
|
|
158
|
-
],
|
|
159
|
+
], xt = [
|
|
159
160
|
"x1",
|
|
160
161
|
"x2",
|
|
161
162
|
"y1",
|
|
@@ -163,35 +164,35 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
163
164
|
"stroke",
|
|
164
165
|
"stroke-dasharray",
|
|
165
166
|
"stroke-width"
|
|
166
|
-
],
|
|
167
|
+
], St = {
|
|
167
168
|
key: 0,
|
|
168
169
|
style: { "pointer-events": "none" }
|
|
169
|
-
},
|
|
170
|
+
}, Ct = [
|
|
170
171
|
"d",
|
|
171
172
|
"stroke",
|
|
172
173
|
"stroke-width"
|
|
173
|
-
],
|
|
174
|
+
], wt = [
|
|
174
175
|
"d",
|
|
175
176
|
"stroke",
|
|
176
177
|
"stroke-width"
|
|
177
|
-
],
|
|
178
|
+
], Tt = [
|
|
178
179
|
"d",
|
|
179
180
|
"stroke",
|
|
180
181
|
"stroke-width"
|
|
181
|
-
],
|
|
182
|
+
], Et = [
|
|
182
183
|
"d",
|
|
183
184
|
"stroke",
|
|
184
185
|
"stroke-width"
|
|
185
|
-
],
|
|
186
|
+
], Dt = { key: 7 }, Ot = [
|
|
186
187
|
"points",
|
|
187
188
|
"fill",
|
|
188
189
|
"stroke-width",
|
|
189
190
|
"stroke-dasharray",
|
|
190
191
|
"stroke"
|
|
191
|
-
],
|
|
192
|
+
], kt = {
|
|
192
193
|
key: 0,
|
|
193
194
|
class: "vue-ui-scatter-datapoint"
|
|
194
|
-
},
|
|
195
|
+
}, At = [
|
|
195
196
|
"cx",
|
|
196
197
|
"cy",
|
|
197
198
|
"r",
|
|
@@ -201,31 +202,31 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
201
202
|
"onMouseover",
|
|
202
203
|
"onMouseleave",
|
|
203
204
|
"onClick"
|
|
204
|
-
],
|
|
205
|
+
], jt = { key: 1 }, Mt = [
|
|
205
206
|
"transform",
|
|
206
207
|
"font-size",
|
|
207
208
|
"fill",
|
|
208
209
|
"onMouseover",
|
|
209
210
|
"onMouseleave",
|
|
210
211
|
"onClick"
|
|
211
|
-
],
|
|
212
|
+
], Nt = ["clip-path"], Pt = [
|
|
212
213
|
"d",
|
|
213
214
|
"fill",
|
|
214
215
|
"stroke",
|
|
215
216
|
"stroke-width",
|
|
216
217
|
"stroke-opacity"
|
|
217
|
-
],
|
|
218
|
+
], Ft = {
|
|
218
219
|
key: 0,
|
|
219
220
|
style: { "pointer-events": "none" }
|
|
220
|
-
},
|
|
221
|
+
}, It = [
|
|
221
222
|
"x",
|
|
222
223
|
"y",
|
|
223
224
|
"width",
|
|
224
225
|
"height"
|
|
225
|
-
],
|
|
226
|
+
], Lt = {
|
|
226
227
|
key: 0,
|
|
227
228
|
style: { "pointer-events": "none !important" }
|
|
228
|
-
},
|
|
229
|
+
}, Rt = [
|
|
229
230
|
"x1",
|
|
230
231
|
"x2",
|
|
231
232
|
"y1",
|
|
@@ -233,7 +234,7 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
233
234
|
"stroke",
|
|
234
235
|
"stroke-width",
|
|
235
236
|
"stroke-dasharray"
|
|
236
|
-
],
|
|
237
|
+
], zt = [
|
|
237
238
|
"x1",
|
|
238
239
|
"x2",
|
|
239
240
|
"y1",
|
|
@@ -241,89 +242,89 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
241
242
|
"stroke",
|
|
242
243
|
"stroke-width",
|
|
243
244
|
"stroke-dasharray"
|
|
244
|
-
],
|
|
245
|
+
], Bt = [
|
|
245
246
|
"x",
|
|
246
247
|
"y",
|
|
247
248
|
"font-size",
|
|
248
249
|
"fill",
|
|
249
250
|
"font-weight",
|
|
250
251
|
"text-anchor"
|
|
251
|
-
],
|
|
252
|
+
], Vt = [
|
|
252
253
|
"x",
|
|
253
254
|
"y",
|
|
254
255
|
"font-size",
|
|
255
256
|
"fill",
|
|
256
257
|
"font-weight"
|
|
257
|
-
],
|
|
258
|
+
], Ht = [
|
|
258
259
|
"x",
|
|
259
260
|
"y",
|
|
260
261
|
"font-size",
|
|
261
262
|
"fill"
|
|
262
|
-
],
|
|
263
|
+
], Ut = [
|
|
263
264
|
"x",
|
|
264
265
|
"y",
|
|
265
266
|
"font-size",
|
|
266
267
|
"fill"
|
|
267
|
-
],
|
|
268
|
+
], Wt = [
|
|
268
269
|
"cx",
|
|
269
270
|
"cy",
|
|
270
271
|
"r",
|
|
271
272
|
"fill",
|
|
272
273
|
"stroke",
|
|
273
274
|
"stroke-width"
|
|
274
|
-
],
|
|
275
|
+
], Gt = [
|
|
275
276
|
"cx",
|
|
276
277
|
"cy",
|
|
277
278
|
"r",
|
|
278
279
|
"fill",
|
|
279
280
|
"stroke",
|
|
280
281
|
"stroke-width"
|
|
281
|
-
],
|
|
282
|
+
], Kt = [
|
|
282
283
|
"x",
|
|
283
284
|
"y",
|
|
284
285
|
"font-size",
|
|
285
286
|
"fill",
|
|
286
287
|
"font-weight",
|
|
287
288
|
"text-anchor"
|
|
288
|
-
],
|
|
289
|
+
], qt = [
|
|
289
290
|
"id",
|
|
290
291
|
"transform",
|
|
291
292
|
"font-size",
|
|
292
293
|
"font-weight",
|
|
293
294
|
"fill"
|
|
294
|
-
],
|
|
295
|
+
], Jt = [
|
|
295
296
|
"font-size",
|
|
296
297
|
"fill",
|
|
297
298
|
"transform"
|
|
298
|
-
],
|
|
299
|
+
], Yt = [
|
|
299
300
|
"transform",
|
|
300
301
|
"font-size",
|
|
301
302
|
"fill"
|
|
302
|
-
],
|
|
303
|
+
], Xt = [
|
|
303
304
|
"x",
|
|
304
305
|
"y",
|
|
305
306
|
"font-size",
|
|
306
307
|
"fill"
|
|
307
|
-
],
|
|
308
|
+
], Zt = [
|
|
308
309
|
"x",
|
|
309
310
|
"y",
|
|
310
311
|
"font-size",
|
|
311
312
|
"fill"
|
|
312
|
-
],
|
|
313
|
+
], Qt = [
|
|
313
314
|
"font-size",
|
|
314
315
|
"font-weight",
|
|
315
316
|
"fill",
|
|
316
317
|
"x",
|
|
317
318
|
"y"
|
|
318
|
-
],
|
|
319
|
+
], $t = ["id"], en = [
|
|
319
320
|
"x",
|
|
320
321
|
"y",
|
|
321
322
|
"width",
|
|
322
323
|
"height"
|
|
323
|
-
],
|
|
324
|
+
], tn = {
|
|
324
325
|
key: 14,
|
|
325
326
|
style: { pointerEvents: "none" }
|
|
326
|
-
},
|
|
327
|
+
}, nn = [
|
|
327
328
|
"x1",
|
|
328
329
|
"x2",
|
|
329
330
|
"y1",
|
|
@@ -332,13 +333,13 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
332
333
|
"stroke",
|
|
333
334
|
"stroke-width",
|
|
334
335
|
"clip-path"
|
|
335
|
-
],
|
|
336
|
+
], rn = [
|
|
336
337
|
"x",
|
|
337
338
|
"y",
|
|
338
339
|
"fill",
|
|
339
340
|
"font-size",
|
|
340
341
|
"font-weight"
|
|
341
|
-
],
|
|
342
|
+
], an = {
|
|
342
343
|
key: 0,
|
|
343
344
|
style: {
|
|
344
345
|
position: "absolute",
|
|
@@ -348,10 +349,10 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
348
349
|
},
|
|
349
350
|
"data-dom-to-png-ignore": "",
|
|
350
351
|
"aria-hidden": "true"
|
|
351
|
-
},
|
|
352
|
+
}, on = {
|
|
352
353
|
key: 6,
|
|
353
354
|
class: "vue-data-ui-watermark"
|
|
354
|
-
},
|
|
355
|
+
}, sn = ["id"], cn = ["onClick"], ln = {
|
|
355
356
|
key: 0,
|
|
356
357
|
style: {
|
|
357
358
|
width: "100%",
|
|
@@ -359,7 +360,7 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
359
360
|
"align-items": "center",
|
|
360
361
|
"justify-content": "center"
|
|
361
362
|
}
|
|
362
|
-
},
|
|
363
|
+
}, un = {
|
|
363
364
|
viewBox: "0 0 20 20",
|
|
364
365
|
height: "20",
|
|
365
366
|
width: "20",
|
|
@@ -367,7 +368,7 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
367
368
|
overflow: "hidden",
|
|
368
369
|
background: "transparent"
|
|
369
370
|
}
|
|
370
|
-
},
|
|
371
|
+
}, dn = { key: 0 }, fn = ["innerHTML"], pn = /*#__PURE__*/ ve({
|
|
371
372
|
__name: "vue-ui-scatter",
|
|
372
373
|
props: {
|
|
373
374
|
config: {
|
|
@@ -384,12 +385,12 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
384
385
|
}
|
|
385
386
|
},
|
|
386
387
|
emits: ["copyAlt", "selectLegend"],
|
|
387
|
-
setup(e, { expose: ve, emit:
|
|
388
|
-
let
|
|
388
|
+
setup(e, { expose: ve, emit: He }) {
|
|
389
|
+
let pn = Me(() => import("./Tooltip-CxOrWlFy.js")), mn = Me(() => import("./BaseIcon-UdRAvP2h.js").then((e) => e.n)), hn = Me(() => import("./vue-ui-accordion-CjAGqEJg.js").then((e) => e.n)), gn = Me(() => import("./DataTable-BxpTMgfK.js")), _n = Me(() => import("./PenAndPaper-DsXi7GJ-.js").then((e) => e.t)), vn = Me(() => import("./UserOptions-trvJ26nz.js").then((e) => e.n)), yn = Me(() => import("./PackageVersion-D__dRVRA.js").then((e) => e.t)), bn = Me(() => import("./BaseDraggableDialog-Av7Uxq5V.js").then((e) => e.n)), { vue_ui_scatter: xn } = ce(), { isThemeValid: Sn, warnInvalidTheme: Cn } = me(), P = e, wn = He, Tn = y(() => !!P.dataset && P.dataset.length), F = O(r()), En = O(!1), Dn = O(""), On = O(0), I = O(null), kn = O(null), An = O(null), jn = O(null), Mn = O(null), Nn = O(0), Pn = O(0), Fn = O(0), L = O([]), In = O(!1), Ln = O(null), Rn = O(null), zn = O(null), Bn = O(null), Vn = O(!1), Hn = O(!1), Un = O(null), Wn = O(null), Gn = O(null), Kn = O(null), qn = O(null), Jn = O(null), Yn = O(null), Xn = O({
|
|
389
390
|
x: 0,
|
|
390
391
|
y: 0
|
|
391
|
-
}),
|
|
392
|
-
function
|
|
392
|
+
}), Zn = O("pointer"), Qn = O(!1), $n = O(null), R = O(lr()), er = y(() => R.value.userOptions.useCursorPointer);
|
|
393
|
+
function tr(e = 100, t = .8, n = {}) {
|
|
393
394
|
let { meanX: r = 0, sdX: i = 1, meanY: a = 0, sdY: o = 1, seed: s } = n, c = (s ?? Math.floor(Math.random() * 2 ** 31)) >>> 0, l = () => (c = c * 1664525 + 1013904223 >>> 0, c / 2 ** 32), u = () => {
|
|
394
395
|
let e = 0, t = 0;
|
|
395
396
|
for (; e === 0;) e = l();
|
|
@@ -410,7 +411,7 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
410
411
|
y: fe[t]
|
|
411
412
|
}));
|
|
412
413
|
}
|
|
413
|
-
let
|
|
414
|
+
let nr = y(() => a({
|
|
414
415
|
defaultConfig: {
|
|
415
416
|
userOptions: { show: !1 },
|
|
416
417
|
table: { show: !1 },
|
|
@@ -437,29 +438,29 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
437
438
|
}
|
|
438
439
|
},
|
|
439
440
|
userConfig: R.value.skeletonConfig ?? {}
|
|
440
|
-
})), { loading:
|
|
441
|
-
...
|
|
441
|
+
})), { loading: rr, FINAL_DATASET: ir, manualLoading: ar } = ue({
|
|
442
|
+
...Be(P),
|
|
442
443
|
FINAL_CONFIG: R,
|
|
443
|
-
prepareConfig:
|
|
444
|
+
prepareConfig: lr,
|
|
444
445
|
skeletonDataset: P.config?.skeletonDataset ?? [{
|
|
445
446
|
name: "",
|
|
446
447
|
color: "#999999",
|
|
447
|
-
values:
|
|
448
|
+
values: tr(100, .5, { seed: 42 })
|
|
448
449
|
}],
|
|
449
450
|
skeletonConfig: a({
|
|
450
451
|
defaultConfig: R.value,
|
|
451
|
-
userConfig:
|
|
452
|
+
userConfig: nr.value
|
|
452
453
|
})
|
|
453
|
-
}), { userOptionsVisible:
|
|
454
|
-
function
|
|
454
|
+
}), { userOptionsVisible: or, setUserOptionsVisibility: sr, keepUserOptionState: cr } = we({ config: R.value }), { svgRef: z } = Te({ config: R.value.style.title });
|
|
455
|
+
function lr() {
|
|
455
456
|
let e = pe({
|
|
456
457
|
userConfig: P.config,
|
|
457
|
-
defaultConfig:
|
|
458
|
+
defaultConfig: xn
|
|
458
459
|
}), t = e.theme;
|
|
459
460
|
if (!t) return e;
|
|
460
|
-
if (!
|
|
461
|
+
if (!Sn.value(e)) return Cn(e), e;
|
|
461
462
|
let n = pe({
|
|
462
|
-
userConfig:
|
|
463
|
+
userConfig: De[t] || P.config,
|
|
463
464
|
defaultConfig: e
|
|
464
465
|
}), r = pe({
|
|
465
466
|
userConfig: P.config,
|
|
@@ -470,62 +471,62 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
470
471
|
customPalette: r.customPalette.length ? r.customPalette : p[t] || s
|
|
471
472
|
};
|
|
472
473
|
}
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
}, { deep: !0 }),
|
|
476
|
-
Array.isArray(e) && e.length > 0 && (
|
|
474
|
+
Ve(() => P.config, (e) => {
|
|
475
|
+
rr.value || (R.value = lr()), or.value = !R.value.userOptions.showOnChartHover, pr(), Nn.value += 1, Pn.value += 1, Fn.value += 1, B.value.showTable = R.value.table.show, B.value.showTooltip = R.value.style.tooltip.show, fr.value && R.value.usePerformanceMode && console.warn("VueUiScatter : You are using performance mode\n\n- downsampling is disabled in this mode, all plots are rendered\n\n- plot significance is not active in this mode (all plots have the same opacity) \n\n- Depending on plot density, shapes might not display a border (stroke) to avoid fuzziness \n\nℹ️ To remove this warning, set config.debug to false.");
|
|
476
|
+
}, { deep: !0 }), Ve(() => P.dataset, (e) => {
|
|
477
|
+
Array.isArray(e) && e.length > 0 && (ar.value = !1);
|
|
477
478
|
}, { deep: !0 });
|
|
478
|
-
let
|
|
479
|
-
|
|
480
|
-
|
|
479
|
+
let ur = ze(null), dr = ze(null);
|
|
480
|
+
Le(async () => {
|
|
481
|
+
pr(), await Pe(), In.value = !0;
|
|
481
482
|
});
|
|
482
|
-
let
|
|
483
|
-
function
|
|
483
|
+
let fr = y(() => !!R.value.debug);
|
|
484
|
+
function pr() {
|
|
484
485
|
if (ie(P.dataset) && (t({
|
|
485
486
|
componentName: "VueUiScatter",
|
|
486
487
|
type: "dataset",
|
|
487
|
-
debug:
|
|
488
|
-
}),
|
|
488
|
+
debug: fr.value
|
|
489
|
+
}), ar.value = !0), ie(P.dataset) || (ar.value = R.value.loading), R.value.responsive) {
|
|
489
490
|
let e = ye(() => {
|
|
490
491
|
let { width: e, height: t } = be({
|
|
491
492
|
chart: I.value,
|
|
492
|
-
title: R.value.style.title.text ?
|
|
493
|
-
legend: R.value.style.legend.show ?
|
|
494
|
-
source:
|
|
495
|
-
noTitle:
|
|
493
|
+
title: R.value.style.title.text ? kn.value : null,
|
|
494
|
+
legend: R.value.style.legend.show ? An.value : null,
|
|
495
|
+
source: jn.value,
|
|
496
|
+
noTitle: Mn.value
|
|
496
497
|
});
|
|
497
498
|
requestAnimationFrame(() => {
|
|
498
|
-
|
|
499
|
+
V.value.width = e, V.value.height = t;
|
|
499
500
|
});
|
|
500
501
|
});
|
|
501
|
-
|
|
502
|
+
ur.value && (dr.value && ur.value.unobserve(dr.value), ur.value.disconnect()), ur.value = new ResizeObserver(e), dr.value = I.value.parentNode, ur.value.observe(dr.value);
|
|
502
503
|
}
|
|
503
504
|
}
|
|
504
|
-
|
|
505
|
-
|
|
505
|
+
Ie(() => {
|
|
506
|
+
ur.value && (dr.value && ur.value.unobserve(dr.value), ur.value.disconnect());
|
|
506
507
|
});
|
|
507
|
-
let { isPrinting:
|
|
508
|
+
let { isPrinting: mr, isImaging: hr, generatePdf: gr, generateImage: _r } = le({
|
|
508
509
|
elementId: `vue-ui-scatter_${F.value}`,
|
|
509
510
|
fileName: R.value.style.title.text || "vue-ui-scatter",
|
|
510
511
|
options: R.value.userOptions.print
|
|
511
|
-
}),
|
|
512
|
+
}), vr = y(() => R.value.userOptions.show && !R.value.style.title.text), yr = y(() => u(R.value.customPalette)), B = O({
|
|
512
513
|
showTable: R.value.table.show,
|
|
513
514
|
showTooltip: R.value.style.tooltip.show
|
|
514
515
|
});
|
|
515
|
-
|
|
516
|
-
|
|
516
|
+
Ve(R, () => {
|
|
517
|
+
B.value = {
|
|
517
518
|
showTable: R.value.table.show,
|
|
518
519
|
showTooltip: R.value.style.tooltip.show
|
|
519
520
|
};
|
|
520
521
|
}, { immediate: !0 });
|
|
521
|
-
let
|
|
522
|
+
let V = O({
|
|
522
523
|
height: R.value.style.layout.height,
|
|
523
524
|
width: R.value.style.layout.width
|
|
524
|
-
}),
|
|
525
|
-
function
|
|
525
|
+
}), br = y(() => R.value.style.layout.marginalBars.show ? R.value.style.layout.marginalBars.size + R.value.style.layout.marginalBars.offset : 0);
|
|
526
|
+
function xr() {
|
|
526
527
|
let e = 0;
|
|
527
|
-
if (R.value.style.layout.dataLabels.yAxis.scales.show &&
|
|
528
|
-
e = Array.from(
|
|
528
|
+
if (R.value.style.layout.dataLabels.yAxis.scales.show && qn.value) try {
|
|
529
|
+
e = Array.from(qn.value.querySelectorAll("text")).reduce((e, t) => {
|
|
529
530
|
let n = t.getComputedTextLength();
|
|
530
531
|
return n > e ? n : e;
|
|
531
532
|
}, 0);
|
|
@@ -533,25 +534,25 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
533
534
|
e = 0;
|
|
534
535
|
}
|
|
535
536
|
let t = 0;
|
|
536
|
-
if (
|
|
537
|
-
t =
|
|
537
|
+
if (Un.value) try {
|
|
538
|
+
t = Un.value.getBBox().width;
|
|
538
539
|
} catch {
|
|
539
540
|
t = 0;
|
|
540
541
|
}
|
|
541
542
|
return Math.max(t, e ? e + 12 : 0);
|
|
542
543
|
}
|
|
543
|
-
function
|
|
544
|
+
function Sr() {
|
|
544
545
|
let e = 0;
|
|
545
|
-
if (
|
|
546
|
-
let t =
|
|
546
|
+
if (Wn.value) try {
|
|
547
|
+
let t = Wn.value.getBBox(), n = t.x + t.width - V.value.width;
|
|
547
548
|
e = n > 0 ? n + 6 : 0;
|
|
548
549
|
} catch {
|
|
549
550
|
e = 0;
|
|
550
551
|
}
|
|
551
552
|
let t = 0;
|
|
552
|
-
if (R.value.style.layout.dataLabels.xAxis.scales.show &&
|
|
553
|
-
t = Array.from(
|
|
554
|
-
let n = t.getBBox(), r = n.x + n.width -
|
|
553
|
+
if (R.value.style.layout.dataLabels.xAxis.scales.show && Jn.value) try {
|
|
554
|
+
t = Array.from(Jn.value.querySelectorAll("text")).reduce((e, t) => {
|
|
555
|
+
let n = t.getBBox(), r = n.x + n.width - V.value.width, i = r > 0 ? r + 6 : 0;
|
|
555
556
|
return i > e ? i : e;
|
|
556
557
|
}, 0);
|
|
557
558
|
} catch {
|
|
@@ -559,23 +560,23 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
559
560
|
}
|
|
560
561
|
return e > t ? e : t;
|
|
561
562
|
}
|
|
562
|
-
let
|
|
563
|
+
let H = y(() => {
|
|
563
564
|
let e = 0, t = 0, n = 0;
|
|
564
|
-
if (e =
|
|
565
|
-
n =
|
|
565
|
+
if (e = xr(), t = Sr(), Kn.value) try {
|
|
566
|
+
n = Kn.value.getBBox().height + 6;
|
|
566
567
|
} catch {
|
|
567
568
|
n = 0;
|
|
568
569
|
}
|
|
569
570
|
return {
|
|
570
|
-
top: R.value.style.layout.padding.top +
|
|
571
|
-
right:
|
|
572
|
-
bottom:
|
|
571
|
+
top: R.value.style.layout.padding.top + br.value + R.value.style.layout.dataLabels.yAxis.fontSize * 2,
|
|
572
|
+
right: V.value.width - R.value.style.layout.padding.right - br.value - 6 - t,
|
|
573
|
+
bottom: V.value.height - R.value.style.layout.padding.bottom - n,
|
|
573
574
|
left: R.value.style.layout.padding.left + e,
|
|
574
|
-
height:
|
|
575
|
-
width:
|
|
575
|
+
height: V.value.height - R.value.style.layout.padding.top - R.value.style.layout.padding.bottom - br.value - n - R.value.style.layout.dataLabels.yAxis.fontSize * 2,
|
|
576
|
+
width: V.value.width - R.value.style.layout.padding.left - R.value.style.layout.padding.right - br.value - e - t - 6
|
|
576
577
|
};
|
|
577
|
-
}),
|
|
578
|
-
|
|
578
|
+
}), Cr = y(() => {
|
|
579
|
+
ir.value.forEach((e, n) => {
|
|
579
580
|
te({
|
|
580
581
|
datasetObject: e,
|
|
581
582
|
requiredAttributes: ["values"]
|
|
@@ -600,97 +601,97 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
600
601
|
});
|
|
601
602
|
});
|
|
602
603
|
});
|
|
603
|
-
let e = Math.min(...
|
|
604
|
+
let e = Math.min(...G.value.filter((e) => !L.value.includes(e.id)).flatMap((e) => e.values.map((e) => e.x))), n = Math.max(...G.value.filter((e) => !L.value.includes(e.id)).flatMap((e) => e.values.map((e) => e.x))), r = Math.min(...G.value.filter((e) => !L.value.includes(e.id)).flatMap((e) => e.values.map((e) => e.y))), i = Math.max(...G.value.filter((e) => !L.value.includes(e.id)).flatMap((e) => e.values.map((e) => e.y)));
|
|
604
605
|
return {
|
|
605
606
|
xMin: e < 0 ? e : 0,
|
|
606
607
|
xMax: n,
|
|
607
608
|
yMin: r < 0 ? r : 0,
|
|
608
609
|
yMax: i
|
|
609
610
|
};
|
|
610
|
-
}),
|
|
611
|
+
}), wr = y(() => {
|
|
611
612
|
let e = R.value.style.layout.axis;
|
|
612
613
|
return {
|
|
613
|
-
xMin: e.xMin !== null && e.xMin !== void 0 ? e.xMin :
|
|
614
|
-
xMax: e.xMax !== null && e.xMax !== void 0 ? e.xMax :
|
|
615
|
-
yMin: e.yMin !== null && e.yMin !== void 0 ? e.yMin :
|
|
616
|
-
yMax: e.yMax !== null && e.yMax !== void 0 ? e.yMax :
|
|
614
|
+
xMin: e.xMin !== null && e.xMin !== void 0 ? e.xMin : Cr.value.xMin,
|
|
615
|
+
xMax: e.xMax !== null && e.xMax !== void 0 ? e.xMax : Cr.value.xMax,
|
|
616
|
+
yMin: e.yMin !== null && e.yMin !== void 0 ? e.yMin : Cr.value.yMin,
|
|
617
|
+
yMax: e.yMax !== null && e.yMax !== void 0 ? e.yMax : Cr.value.yMax
|
|
617
618
|
};
|
|
618
619
|
});
|
|
619
|
-
function
|
|
620
|
+
function Tr(e) {
|
|
620
621
|
return Number.isFinite(e) ? e < 2 ? 2 : Math.trunc(e) : 5;
|
|
621
622
|
}
|
|
622
|
-
function
|
|
623
|
+
function Er(e) {
|
|
623
624
|
return e.roundingValue !== void 0 && e.roundingValue !== null ? e.roundingValue : e.rounding !== void 0 && e.rounding !== null ? e.rounding : 0;
|
|
624
625
|
}
|
|
625
|
-
function
|
|
626
|
-
let i =
|
|
626
|
+
function Dr({ minimum: e, maximum: t, stepCount: n, useNiceScale: r }) {
|
|
627
|
+
let i = Tr(n);
|
|
627
628
|
if (e === t) {
|
|
628
629
|
let n = t + (e === 0 ? 1 : Math.abs(e) * .01);
|
|
629
630
|
return (r ? ne : h)(e, n, i);
|
|
630
631
|
}
|
|
631
632
|
return (r ? ne : h)(e, t, i);
|
|
632
633
|
}
|
|
633
|
-
let
|
|
634
|
+
let Or = y(() => {
|
|
634
635
|
let e = R.value.style.layout.dataLabels.xAxis;
|
|
635
|
-
return
|
|
636
|
-
minimum:
|
|
637
|
-
maximum:
|
|
636
|
+
return Dr({
|
|
637
|
+
minimum: wr.value.xMin,
|
|
638
|
+
maximum: wr.value.xMax,
|
|
638
639
|
stepCount: e.scales.steps,
|
|
639
640
|
useNiceScale: e.scales.useNiceScale
|
|
640
641
|
});
|
|
641
|
-
}),
|
|
642
|
+
}), kr = y(() => {
|
|
642
643
|
let e = R.value.style.layout.dataLabels.yAxis;
|
|
643
|
-
return
|
|
644
|
-
minimum:
|
|
645
|
-
maximum:
|
|
644
|
+
return Dr({
|
|
645
|
+
minimum: wr.value.yMin,
|
|
646
|
+
maximum: wr.value.yMax,
|
|
646
647
|
stepCount: e.scales.steps,
|
|
647
648
|
useNiceScale: e.scales.useNiceScale
|
|
648
649
|
});
|
|
649
|
-
}),
|
|
650
|
-
xMin:
|
|
651
|
-
xMax:
|
|
652
|
-
yMin:
|
|
653
|
-
yMax:
|
|
654
|
-
})),
|
|
650
|
+
}), U = y(() => ({
|
|
651
|
+
xMin: Or.value.min,
|
|
652
|
+
xMax: Or.value.max,
|
|
653
|
+
yMin: kr.value.min,
|
|
654
|
+
yMax: kr.value.max
|
|
655
|
+
})), Ar = y(() => {
|
|
655
656
|
let e = R.value.style.layout.dataLabels.xAxis, t = e.scales.labels;
|
|
656
|
-
return
|
|
657
|
+
return Or.value.ticks.map((n) => ({
|
|
657
658
|
value: n,
|
|
658
|
-
x:
|
|
659
|
+
x: Pr(n),
|
|
659
660
|
label: g(t.formatter, _(n), i({
|
|
660
661
|
p: R.value.style.layout.plots.selectors.labels.prefix,
|
|
661
662
|
v: _(n),
|
|
662
663
|
s: R.value.style.layout.plots.selectors.labels.suffix,
|
|
663
|
-
r:
|
|
664
|
+
r: Er(e)
|
|
664
665
|
}))
|
|
665
666
|
}));
|
|
666
|
-
}),
|
|
667
|
+
}), jr = y(() => {
|
|
667
668
|
let e = R.value.style.layout.dataLabels.yAxis, t = e.scales.labels;
|
|
668
|
-
return
|
|
669
|
+
return kr.value.ticks.map((n) => ({
|
|
669
670
|
value: n,
|
|
670
|
-
y:
|
|
671
|
+
y: Fr(n),
|
|
671
672
|
label: g(t.formatter, _(n), i({
|
|
672
673
|
p: R.value.style.layout.plots.selectors.labels.prefix,
|
|
673
674
|
v: _(n),
|
|
674
675
|
s: R.value.style.layout.plots.selectors.labels.suffix,
|
|
675
|
-
r:
|
|
676
|
+
r: Er(e)
|
|
676
677
|
}))
|
|
677
678
|
}));
|
|
678
|
-
}),
|
|
679
|
-
function
|
|
680
|
-
let t =
|
|
681
|
-
return t === 0 ?
|
|
679
|
+
}), Mr = y(() => Jr.value.length > 0 && R.value.style.layout.dataLabels.xAxis.scales.show), Nr = y(() => Jr.value.length > 0 && R.value.style.layout.dataLabels.yAxis.scales.show);
|
|
680
|
+
function Pr(e) {
|
|
681
|
+
let t = U.value.xMax - U.value.xMin;
|
|
682
|
+
return t === 0 ? H.value.left : H.value.left + (e - U.value.xMin) / t * H.value.width;
|
|
682
683
|
}
|
|
683
|
-
function
|
|
684
|
-
let t =
|
|
685
|
-
return t === 0 ?
|
|
684
|
+
function Fr(e) {
|
|
685
|
+
let t = U.value.yMax - U.value.yMin;
|
|
686
|
+
return t === 0 ? H.value.bottom : H.value.bottom - (e - U.value.yMin) / t * H.value.height;
|
|
686
687
|
}
|
|
687
|
-
let
|
|
688
|
-
let { xMin: e, xMax: t, yMin: n, yMax: r } =
|
|
688
|
+
let W = y(() => {
|
|
689
|
+
let { xMin: e, xMax: t, yMin: n, yMax: r } = U.value, i = e > 0 ? e : t < 0 ? t : 0, a = n > 0 ? n : r < 0 ? r : 0;
|
|
689
690
|
return {
|
|
690
|
-
x:
|
|
691
|
-
y:
|
|
691
|
+
x: Pr(i),
|
|
692
|
+
y: Fr(a)
|
|
692
693
|
};
|
|
693
|
-
}),
|
|
694
|
+
}), G = y(() => ir.value.map((e, t) => {
|
|
694
695
|
let r = `cluster_${F.value}_${t}`;
|
|
695
696
|
return {
|
|
696
697
|
...e,
|
|
@@ -699,35 +700,35 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
699
700
|
threshold: R.value.usePerformanceMode ? e.values.length + 1 : R.value.downsample.threshold
|
|
700
701
|
}),
|
|
701
702
|
id: r,
|
|
702
|
-
color: e.color ? e.color :
|
|
703
|
+
color: e.color ? e.color : yr.value[t] || s[t] || s[t % s.length],
|
|
703
704
|
opacity: L.value.includes(r) ? .5 : 1,
|
|
704
705
|
shape: e.shape ?? "circle",
|
|
705
|
-
segregate: () =>
|
|
706
|
+
segregate: () => ti(r),
|
|
706
707
|
isSegregated: L.value.includes(r),
|
|
707
|
-
hasGroupSelection: !!
|
|
708
|
-
isGroupSelected:
|
|
709
|
-
onEnter: () =>
|
|
710
|
-
onLeave: () =>
|
|
708
|
+
hasGroupSelection: !!Ur.value,
|
|
709
|
+
isGroupSelected: Ur.value === r,
|
|
710
|
+
onEnter: () => Gr(r),
|
|
711
|
+
onLeave: () => Kr()
|
|
711
712
|
};
|
|
712
|
-
})),
|
|
713
|
+
})), Ir = y(() => ({
|
|
713
714
|
cy: "scatter-div-legend",
|
|
714
715
|
backgroundColor: R.value.style.legend.backgroundColor,
|
|
715
716
|
color: R.value.style.legend.color,
|
|
716
717
|
fontSize: R.value.style.legend.fontSize,
|
|
717
718
|
paddingBottom: 12,
|
|
718
719
|
fontWeight: R.value.style.legend.bold ? "bold" : ""
|
|
719
|
-
})),
|
|
720
|
+
})), Lr = y(() => G.value.map((e, t) => ({
|
|
720
721
|
...e,
|
|
721
722
|
plots: e.values.map((n, r) => ({
|
|
722
|
-
x:
|
|
723
|
-
y:
|
|
723
|
+
x: Pr(n.x),
|
|
724
|
+
y: Fr(n.y),
|
|
724
725
|
v: {
|
|
725
726
|
...n,
|
|
726
727
|
name: n.name || ""
|
|
727
728
|
},
|
|
728
729
|
clusterName: e.name,
|
|
729
730
|
clusterId: e.id,
|
|
730
|
-
color: e.color ? e.color :
|
|
731
|
+
color: e.color ? e.color : yr.value[t] || s[t] || s[t % s.length],
|
|
731
732
|
id: `plot_${F.value}_${t}_${r}`,
|
|
732
733
|
weight: n.weight ?? R.value.style.layout.plots.radius
|
|
733
734
|
}))
|
|
@@ -755,7 +756,7 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
755
756
|
y2: ee.y
|
|
756
757
|
};
|
|
757
758
|
};
|
|
758
|
-
return
|
|
759
|
+
return Lr.value.map((n) => {
|
|
759
760
|
let r = n.plots.length, i = n.plots.reduce((e, t) => e + t.x, 0) / r, a = n.plots.reduce((e, t) => e + t.y, 0) / r, o = 0, s = 0, c = 0;
|
|
760
761
|
for (let e of n.plots) {
|
|
761
762
|
let t = e.x - i, n = e.y - a;
|
|
@@ -782,7 +783,7 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
782
783
|
let h = t({
|
|
783
784
|
m: f,
|
|
784
785
|
b: p,
|
|
785
|
-
rect:
|
|
786
|
+
rect: H.value,
|
|
786
787
|
verticalX: d
|
|
787
788
|
});
|
|
788
789
|
if (!h) return {
|
|
@@ -821,11 +822,11 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
821
822
|
})
|
|
822
823
|
};
|
|
823
824
|
});
|
|
824
|
-
}),
|
|
825
|
-
function
|
|
825
|
+
}), Rr = y(() => Math.max(...K.value.flatMap((e) => e.plots.map((e) => Math.abs(e.deviation)))));
|
|
826
|
+
function zr() {
|
|
826
827
|
return K.value;
|
|
827
828
|
}
|
|
828
|
-
function
|
|
829
|
+
function Br(e, t) {
|
|
829
830
|
let n = Array.isArray(e) ? e.flatMap((e) => e.plots.map((e) => ({
|
|
830
831
|
x: e.x,
|
|
831
832
|
y: e.y
|
|
@@ -852,10 +853,10 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
852
853
|
maxY: Math.max(...f)
|
|
853
854
|
};
|
|
854
855
|
}
|
|
855
|
-
let q = y(() => R.value.style.layout.marginalBars.tranches), J = y(() =>
|
|
856
|
-
let e =
|
|
857
|
-
return
|
|
858
|
-
let r =
|
|
856
|
+
let q = y(() => R.value.style.layout.marginalBars.tranches), J = y(() => Br(Lr.value, q.value)), Vr = y(() => {
|
|
857
|
+
let e = H.value.top - R.value.style.layout.marginalBars.offset, t = H.value.right + R.value.style.layout.marginalBars.offset;
|
|
858
|
+
return Lr.value.map((n) => {
|
|
859
|
+
let r = Br(n, q.value);
|
|
859
860
|
return {
|
|
860
861
|
coords: r,
|
|
861
862
|
dX: o(r.avgX.map((t, n) => ({
|
|
@@ -870,52 +871,52 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
870
871
|
id: n.id
|
|
871
872
|
};
|
|
872
873
|
});
|
|
873
|
-
}), Y = O(void 0), X = O(null), Z = O([]),
|
|
874
|
-
function
|
|
875
|
-
|
|
874
|
+
}), Y = O(void 0), X = O(null), Z = O([]), Hr = O(null), Ur = O(void 0);
|
|
875
|
+
function Wr() {
|
|
876
|
+
En.value = !1, Y.value = void 0, Z.value = [], X.value = null, $n.value = null, Yn.value = null, Ur.value = void 0;
|
|
876
877
|
}
|
|
877
|
-
function
|
|
878
|
+
function Gr(e) {
|
|
878
879
|
let t = K.value.find((t) => t.id === e);
|
|
879
880
|
if (!t) {
|
|
880
881
|
Z.value = [];
|
|
881
882
|
return;
|
|
882
883
|
}
|
|
883
|
-
Z.value = t.plots.map((e) => e.id),
|
|
884
|
+
Z.value = t.plots.map((e) => e.id), Ur.value = e;
|
|
884
885
|
}
|
|
885
|
-
function
|
|
886
|
-
Z.value = [],
|
|
886
|
+
function Kr() {
|
|
887
|
+
Z.value = [], Ur.value = void 0;
|
|
887
888
|
}
|
|
888
|
-
function
|
|
889
|
-
if (!
|
|
890
|
-
let t = f(e.x, e.y,
|
|
891
|
-
t && (
|
|
889
|
+
function qr(e) {
|
|
890
|
+
if (!z.value || !e) return;
|
|
891
|
+
let t = f(e.x, e.y, z.value);
|
|
892
|
+
t && (Xn.value = t);
|
|
892
893
|
}
|
|
893
|
-
let
|
|
894
|
-
function
|
|
894
|
+
let Jr = y(() => X.value ? [X.value] : Z.value.length ? K.value.flatMap((e) => e.plots).filter((e) => Z.value.includes(e.id)) : []);
|
|
895
|
+
function Yr(e) {
|
|
895
896
|
let t = R.value.style.layout.dataLabels.xAxis, n = t.scales.labels;
|
|
896
897
|
return g(n.formatter, _(e.v.x), i({
|
|
897
898
|
p: R.value.style.layout.plots.selectors.labels.prefix,
|
|
898
899
|
v: _(e.v.x),
|
|
899
900
|
s: R.value.style.layout.plots.selectors.labels.suffix,
|
|
900
|
-
r:
|
|
901
|
+
r: Er(t)
|
|
901
902
|
}), { datapoint: e });
|
|
902
903
|
}
|
|
903
|
-
function
|
|
904
|
+
function Xr(e) {
|
|
904
905
|
let t = R.value.style.layout.dataLabels.yAxis, n = t.scales.labels;
|
|
905
906
|
return g(n.formatter, _(e.v.y), i({
|
|
906
907
|
p: R.value.style.layout.plots.selectors.labels.prefix,
|
|
907
908
|
v: _(e.v.y),
|
|
908
909
|
s: R.value.style.layout.plots.selectors.labels.suffix,
|
|
909
|
-
r:
|
|
910
|
+
r: Er(t)
|
|
910
911
|
}), { datapoint: e });
|
|
911
912
|
}
|
|
912
|
-
function
|
|
913
|
-
Y.value = e.id, X.value = e,
|
|
913
|
+
function Zr(e, t, n = "pointer", r = null) {
|
|
914
|
+
Y.value = e.id, X.value = e, Zn.value = n, $n.value = r, Yn.value = e.id;
|
|
914
915
|
let a = "";
|
|
915
916
|
R.value.events.datapointEnter && R.value.events.datapointEnter({
|
|
916
917
|
datapoint: e,
|
|
917
918
|
seriesIndex: t
|
|
918
|
-
}),
|
|
919
|
+
}), Hr.value = {
|
|
919
920
|
datapoint: e,
|
|
920
921
|
seriesIndex: t,
|
|
921
922
|
series: K.value,
|
|
@@ -927,7 +928,7 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
927
928
|
seriesIndex: t,
|
|
928
929
|
series: K.value,
|
|
929
930
|
config: R.value
|
|
930
|
-
})) ?
|
|
931
|
+
})) ? Dn.value = o({
|
|
931
932
|
datapoint: e,
|
|
932
933
|
seriesIndex: t,
|
|
933
934
|
series: K.value,
|
|
@@ -951,43 +952,43 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
951
952
|
})}</b></div>`, a += `${R.value.style.layout.plots.deviation.translation}: <b>${i({
|
|
952
953
|
v: e.deviation,
|
|
953
954
|
r: R.value.style.layout.plots.deviation.roundingValue
|
|
954
|
-
})}</b>`, a += "</div>",
|
|
955
|
-
|
|
955
|
+
})}</b>`, a += "</div>", Dn.value = `<div>${a}</div>`), En.value = !0, n === "keyboard" && Pe(() => {
|
|
956
|
+
qr(e);
|
|
956
957
|
});
|
|
957
958
|
}
|
|
958
|
-
function
|
|
959
|
+
function Qr(e, t) {
|
|
959
960
|
R.value.events.datapointLeave && R.value.events.datapointLeave({
|
|
960
961
|
datapoint: e,
|
|
961
962
|
seriesIndex: t
|
|
962
|
-
}), !(
|
|
963
|
+
}), !(Zn.value === "keyboard" && Yn.value === e?.id) && (En.value = !1, Y.value = void 0, X.value = null);
|
|
963
964
|
}
|
|
964
|
-
function
|
|
965
|
+
function $r(e, t) {
|
|
965
966
|
R.value.events.datapointClick && R.value.events.datapointClick({
|
|
966
967
|
datapoint: e,
|
|
967
968
|
seriesIndex: t
|
|
968
969
|
});
|
|
969
970
|
}
|
|
970
|
-
function
|
|
971
|
-
L.value.length ? L.value = [] :
|
|
971
|
+
function ei() {
|
|
972
|
+
L.value.length ? L.value = [] : G.value.forEach((e) => {
|
|
972
973
|
L.value.push(e.id);
|
|
973
|
-
}),
|
|
974
|
+
}), wn("selectLegend", Lr.value);
|
|
974
975
|
}
|
|
975
|
-
function
|
|
976
|
-
L.value.includes(e) ? L.value = L.value.filter((t) => t !== e) : L.value.length <
|
|
976
|
+
function ti(e) {
|
|
977
|
+
L.value.includes(e) ? L.value = L.value.filter((t) => t !== e) : L.value.length < ir.value.length - 1 && L.value.push(e), wn("selectLegend", Lr.value);
|
|
977
978
|
}
|
|
978
|
-
function
|
|
979
|
-
return
|
|
979
|
+
function ni(e) {
|
|
980
|
+
return G.value.length ? G.value.find((t) => t.name === e) || (R.value.debug && console.warn(`VueUiScatter - Series name not found "${e}"`), null) : (R.value.debug && console.warn("VueUiScatter - There are no series to show."), null);
|
|
980
981
|
}
|
|
981
|
-
function
|
|
982
|
-
let t =
|
|
983
|
-
t !== null && L.value.includes(t.id) &&
|
|
982
|
+
function ri(e) {
|
|
983
|
+
let t = ni(e);
|
|
984
|
+
t !== null && L.value.includes(t.id) && ti(t.id);
|
|
984
985
|
}
|
|
985
|
-
function
|
|
986
|
-
let t =
|
|
987
|
-
t !== null && (L.value.includes(t.id) ||
|
|
986
|
+
function ii(e) {
|
|
987
|
+
let t = ni(e);
|
|
988
|
+
t !== null && (L.value.includes(t.id) || ti(t.id));
|
|
988
989
|
}
|
|
989
|
-
function
|
|
990
|
-
|
|
990
|
+
function ai(e = null) {
|
|
991
|
+
Pe(() => {
|
|
991
992
|
let t = [
|
|
992
993
|
"",
|
|
993
994
|
R.value.table.translations.correlationCoefficient,
|
|
@@ -1016,7 +1017,7 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
1016
1017
|
});
|
|
1017
1018
|
});
|
|
1018
1019
|
}
|
|
1019
|
-
let
|
|
1020
|
+
let oi = y(() => {
|
|
1020
1021
|
let e = [
|
|
1021
1022
|
R.value.table.translations.series,
|
|
1022
1023
|
R.value.table.translations.correlationCoefficient,
|
|
@@ -1053,21 +1054,21 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
1053
1054
|
},
|
|
1054
1055
|
colNames: e
|
|
1055
1056
|
};
|
|
1056
|
-
}),
|
|
1057
|
-
function
|
|
1058
|
-
|
|
1057
|
+
}), si = O(!1);
|
|
1058
|
+
function ci(e) {
|
|
1059
|
+
si.value = e, On.value += 1;
|
|
1059
1060
|
}
|
|
1060
|
-
function
|
|
1061
|
-
|
|
1061
|
+
function li() {
|
|
1062
|
+
B.value.showTable = !B.value.showTable;
|
|
1062
1063
|
}
|
|
1063
|
-
function
|
|
1064
|
-
|
|
1064
|
+
function ui() {
|
|
1065
|
+
B.value.showTooltip = !B.value.showTooltip;
|
|
1065
1066
|
}
|
|
1066
|
-
let
|
|
1067
|
-
function
|
|
1068
|
-
|
|
1067
|
+
let di = O(!1);
|
|
1068
|
+
function fi() {
|
|
1069
|
+
di.value = !di.value;
|
|
1069
1070
|
}
|
|
1070
|
-
async function
|
|
1071
|
+
async function pi({ scale: e = 2 } = {}) {
|
|
1071
1072
|
if (!I.value) return;
|
|
1072
1073
|
let { width: t, height: n } = I.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await he({
|
|
1073
1074
|
domElement: I.value,
|
|
@@ -1084,16 +1085,16 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
1084
1085
|
aspectRatio: r
|
|
1085
1086
|
};
|
|
1086
1087
|
}
|
|
1087
|
-
function
|
|
1088
|
-
|
|
1088
|
+
function mi(e) {
|
|
1089
|
+
Ln.value = e, R.value.style.layout.marginalBars.highlighter.highlightBothAxes && (Rn.value = J.value.y.length - 2 - e);
|
|
1089
1090
|
}
|
|
1090
|
-
function
|
|
1091
|
-
|
|
1091
|
+
function hi(e) {
|
|
1092
|
+
Rn.value = e, R.value.style.layout.marginalBars.highlighter.highlightBothAxes && (Ln.value = e);
|
|
1092
1093
|
}
|
|
1093
|
-
function
|
|
1094
|
-
|
|
1094
|
+
function gi() {
|
|
1095
|
+
Ln.value = null, Rn.value = null;
|
|
1095
1096
|
}
|
|
1096
|
-
let
|
|
1097
|
+
let _i = {
|
|
1097
1098
|
circle: 1,
|
|
1098
1099
|
square: 1,
|
|
1099
1100
|
diamond: 1,
|
|
@@ -1102,9 +1103,9 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
1102
1103
|
pentagon: 1.3,
|
|
1103
1104
|
hexagon: 1.3
|
|
1104
1105
|
}, Q = (e) => e.toFixed(3);
|
|
1105
|
-
function
|
|
1106
|
+
function vi({ shape: e = "circle", cx: t, cy: n, r }) {
|
|
1106
1107
|
if (!R.value.usePerformanceMode) return "";
|
|
1107
|
-
let i =
|
|
1108
|
+
let i = _i[e] * r;
|
|
1108
1109
|
switch (e) {
|
|
1109
1110
|
case "circle": {
|
|
1110
1111
|
let e = Q(t - i), r = Q(n), a = Q(t + i), o = Q(i);
|
|
@@ -1158,16 +1159,16 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
1158
1159
|
}
|
|
1159
1160
|
}
|
|
1160
1161
|
}
|
|
1161
|
-
let
|
|
1162
|
+
let yi = y(() => {
|
|
1162
1163
|
if (!R.value.usePerformanceMode) return [""];
|
|
1163
|
-
let { left: e, right: t, top: n, bottom: r } =
|
|
1164
|
+
let { left: e, right: t, top: n, bottom: r } = H.value, i = Math.max(1, (t - e) * (r - n)), a = (e) => e / i * 1e4, o = R.value.style.layout.plots.stroke, s = R.value.style.layout.plots.strokeWidth, c = R.value.style.layout.plots.opacity;
|
|
1164
1165
|
return K.value.map((i) => {
|
|
1165
1166
|
let u = [];
|
|
1166
1167
|
for (let a of i.plots) {
|
|
1167
1168
|
let o = a.x, s = a.y;
|
|
1168
1169
|
if (o < e || o > t || s < n || s > r) continue;
|
|
1169
1170
|
let c = Math.max(R.value.style.layout.plots.radius, a.weight);
|
|
1170
|
-
u.push(
|
|
1171
|
+
u.push(vi({
|
|
1171
1172
|
shape: i.shape || "circle",
|
|
1172
1173
|
cx: o,
|
|
1173
1174
|
cy: s,
|
|
@@ -1186,9 +1187,9 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
1186
1187
|
};
|
|
1187
1188
|
}).filter(Boolean);
|
|
1188
1189
|
});
|
|
1189
|
-
function
|
|
1190
|
+
function bi() {
|
|
1190
1191
|
return R.value.usePerformanceMode ? (e) => {
|
|
1191
|
-
let t =
|
|
1192
|
+
let t = z.value;
|
|
1192
1193
|
if (!t) return;
|
|
1193
1194
|
let n = t.createSVGPoint();
|
|
1194
1195
|
n.x = e.clientX, n.y = e.clientY;
|
|
@@ -1200,41 +1201,41 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
1200
1201
|
let n = e.x - a.x, r = e.y - a.y, i = n * n + r * r;
|
|
1201
1202
|
i <= 64 && i < s && (s = i, o = e, c = t);
|
|
1202
1203
|
});
|
|
1203
|
-
}), o) Y.value !== o.id && (Y.value = o.id,
|
|
1204
|
+
}), o) Y.value !== o.id && (Y.value = o.id, Zr(o, c, "pointer", $.value.get(o.id) ?? null));
|
|
1204
1205
|
else if (Y.value) {
|
|
1205
1206
|
let e = X.value;
|
|
1206
|
-
Y.value = void 0,
|
|
1207
|
+
Y.value = void 0, Qr(e, c);
|
|
1207
1208
|
}
|
|
1208
1209
|
} : () => null;
|
|
1209
1210
|
}
|
|
1210
|
-
let
|
|
1211
|
-
function
|
|
1211
|
+
let xi = bi();
|
|
1212
|
+
function Si() {
|
|
1212
1213
|
if (Y.value) {
|
|
1213
1214
|
let e = X.value;
|
|
1214
|
-
Y.value = void 0,
|
|
1215
|
+
Y.value = void 0, Qr(e, null);
|
|
1215
1216
|
}
|
|
1216
1217
|
}
|
|
1217
|
-
function
|
|
1218
|
+
function Ci(e) {
|
|
1218
1219
|
let t = X.value;
|
|
1219
1220
|
if (t) {
|
|
1220
1221
|
let e = K.value.findIndex((e) => e.id === t.clusterId);
|
|
1221
|
-
|
|
1222
|
+
$r(t, e >= 0 ? e : 0);
|
|
1222
1223
|
}
|
|
1223
1224
|
}
|
|
1224
|
-
let
|
|
1225
|
-
let e = R.value.table.useDialog && !R.value.table.show, t =
|
|
1225
|
+
let wi = y(() => {
|
|
1226
|
+
let e = R.value.table.useDialog && !R.value.table.show, t = B.value.showTable;
|
|
1226
1227
|
return {
|
|
1227
|
-
component: e ?
|
|
1228
|
+
component: e ? bn : hn,
|
|
1228
1229
|
title: `${R.value.style.title.text}${R.value.style.title.subtitle.text ? `: ${R.value.style.title.subtitle.text}` : ""}`,
|
|
1229
1230
|
props: e ? {
|
|
1230
1231
|
backgroundColor: R.value.table.th.backgroundColor,
|
|
1231
1232
|
color: R.value.table.th.color,
|
|
1232
1233
|
headerColor: R.value.table.th.color,
|
|
1233
1234
|
headerBg: R.value.table.th.backgroundColor,
|
|
1234
|
-
isFullscreen:
|
|
1235
|
+
isFullscreen: si.value,
|
|
1235
1236
|
fullscreenParent: I.value,
|
|
1236
1237
|
forcedWidth: Math.min(800, window.innerWidth * .8),
|
|
1237
|
-
isCursorPointer:
|
|
1238
|
+
isCursorPointer: er.value
|
|
1238
1239
|
} : {
|
|
1239
1240
|
hideDetails: !0,
|
|
1240
1241
|
config: {
|
|
@@ -1252,61 +1253,61 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
1252
1253
|
}
|
|
1253
1254
|
};
|
|
1254
1255
|
});
|
|
1255
|
-
|
|
1256
|
-
R.value.table.show || (e && R.value.table.useDialog &&
|
|
1256
|
+
Ve(() => B.value.showTable, (e) => {
|
|
1257
|
+
R.value.table.show || (e && R.value.table.useDialog && zn.value ? zn.value.open() : "close" in zn.value && zn.value.close());
|
|
1257
1258
|
});
|
|
1258
|
-
function
|
|
1259
|
-
|
|
1259
|
+
function Ti() {
|
|
1260
|
+
B.value.showTable = !1, Bn.value && Bn.value.setTableIconState(!1);
|
|
1260
1261
|
}
|
|
1261
|
-
let
|
|
1262
|
-
svg:
|
|
1262
|
+
let Ei = y(() => R.value.style.backgroundColor), Di = y(() => R.value.style.legend), { exportSvg: Oi, getSvg: ki } = fe({
|
|
1263
|
+
svg: z,
|
|
1263
1264
|
title: y(() => R.value.style.title),
|
|
1264
|
-
legend:
|
|
1265
|
-
legendItems:
|
|
1266
|
-
backgroundColor:
|
|
1265
|
+
legend: Di,
|
|
1266
|
+
legendItems: G,
|
|
1267
|
+
backgroundColor: Ei
|
|
1267
1268
|
});
|
|
1268
|
-
async function
|
|
1269
|
-
|
|
1269
|
+
async function Ai({ isCb: e }) {
|
|
1270
|
+
Hn.value = !0, await Pe();
|
|
1270
1271
|
try {
|
|
1271
1272
|
if (e) {
|
|
1272
|
-
let { blob: e, url: t, text: n, dataUrl: r } = await
|
|
1273
|
+
let { blob: e, url: t, text: n, dataUrl: r } = await ki();
|
|
1273
1274
|
await Promise.resolve(R.value.userOptions.callbacks.svg({
|
|
1274
1275
|
blob: e,
|
|
1275
1276
|
url: t,
|
|
1276
1277
|
text: n,
|
|
1277
1278
|
dataUrl: r
|
|
1278
1279
|
}));
|
|
1279
|
-
} else await Promise.resolve(
|
|
1280
|
+
} else await Promise.resolve(Oi());
|
|
1280
1281
|
} finally {
|
|
1281
|
-
|
|
1282
|
+
Hn.value = !1;
|
|
1282
1283
|
}
|
|
1283
1284
|
}
|
|
1284
|
-
function
|
|
1285
|
+
function ji(e) {
|
|
1285
1286
|
if (e?.stage === "start") {
|
|
1286
|
-
|
|
1287
|
+
Vn.value = !0;
|
|
1287
1288
|
return;
|
|
1288
1289
|
}
|
|
1289
1290
|
if (e?.stage === "end") {
|
|
1290
|
-
|
|
1291
|
+
Vn.value = !1;
|
|
1291
1292
|
return;
|
|
1292
1293
|
}
|
|
1293
|
-
|
|
1294
|
+
_r();
|
|
1294
1295
|
}
|
|
1295
|
-
async function
|
|
1296
|
-
if (
|
|
1296
|
+
async function Mi() {
|
|
1297
|
+
if (wn("copyAlt", {
|
|
1297
1298
|
config: R.value,
|
|
1298
|
-
dataset:
|
|
1299
|
+
dataset: Lr.value
|
|
1299
1300
|
}), !R.value.userOptions.callbacks.altCopy) {
|
|
1300
1301
|
console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
|
|
1301
1302
|
return;
|
|
1302
1303
|
}
|
|
1303
1304
|
await Promise.resolve(R.value.userOptions.callbacks.altCopy({
|
|
1304
1305
|
config: R.value,
|
|
1305
|
-
dataset:
|
|
1306
|
+
dataset: Lr.value
|
|
1306
1307
|
}));
|
|
1307
1308
|
}
|
|
1308
|
-
function
|
|
1309
|
-
let n =
|
|
1309
|
+
function Ni(e, t) {
|
|
1310
|
+
let n = Ri.value.filter((t) => t.id !== e.id);
|
|
1310
1311
|
if (!n.length) return null;
|
|
1311
1312
|
let r = ((n) => {
|
|
1312
1313
|
if (!n.length) return null;
|
|
@@ -1342,59 +1343,59 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
1342
1343
|
return Math.abs(t === "right" || t === "left" ? r.y - e.y : r.x - e.x) < i ? r : n;
|
|
1343
1344
|
}, null) : null;
|
|
1344
1345
|
}
|
|
1345
|
-
function
|
|
1346
|
-
|
|
1346
|
+
function Pi() {
|
|
1347
|
+
$n.value = null, Yn.value = null, Qn.value = !0;
|
|
1347
1348
|
}
|
|
1348
|
-
function
|
|
1349
|
-
|
|
1349
|
+
function Fi() {
|
|
1350
|
+
Wr(), Zn.value = "pointer", Qn.value = !1;
|
|
1350
1351
|
}
|
|
1351
|
-
function
|
|
1352
|
-
if (!
|
|
1352
|
+
function Ii(e) {
|
|
1353
|
+
if (!z.value || di.value || document.activeElement !== z.value || !Ri.value.length) return;
|
|
1353
1354
|
let t = e.key === "ArrowLeft", n = e.key === "ArrowRight", r = e.key === "ArrowUp", i = e.key === "ArrowDown", a = e.key === "Enter" || e.key === " ", o = e.key === "Escape";
|
|
1354
1355
|
if (!t && !n && !r && !i && !a && !o) return;
|
|
1355
1356
|
if (e.preventDefault(), e.stopPropagation(), o) {
|
|
1356
|
-
|
|
1357
|
+
Wr(), Zn.value = "pointer";
|
|
1357
1358
|
return;
|
|
1358
1359
|
}
|
|
1359
1360
|
if (a) {
|
|
1360
|
-
if (
|
|
1361
|
-
let e =
|
|
1361
|
+
if ($n.value === null) return;
|
|
1362
|
+
let e = Ri.value[$n.value];
|
|
1362
1363
|
if (!e) return;
|
|
1363
|
-
|
|
1364
|
+
$r(e, e.seriesIndex);
|
|
1364
1365
|
return;
|
|
1365
1366
|
}
|
|
1366
1367
|
let s = null;
|
|
1367
|
-
if (n && (s = "right"), t && (s = "left"), i && (s = "down"), r && (s = "up"),
|
|
1368
|
+
if (n && (s = "right"), t && (s = "left"), i && (s = "down"), r && (s = "up"), Yn.value === null) {
|
|
1368
1369
|
let e = X.value;
|
|
1369
1370
|
if (e && e.id) {
|
|
1370
|
-
let t =
|
|
1371
|
+
let t = Ni(e, s);
|
|
1371
1372
|
if (!t) {
|
|
1372
1373
|
let t = $.value.get(e.id);
|
|
1373
1374
|
if (t === void 0) return;
|
|
1374
|
-
|
|
1375
|
+
Zr(e, e.seriesIndex, "keyboard", t);
|
|
1375
1376
|
return;
|
|
1376
1377
|
}
|
|
1377
1378
|
let n = $.value.get(t.id);
|
|
1378
1379
|
if (n === void 0) return;
|
|
1379
|
-
|
|
1380
|
+
Zr(t, t.seriesIndex, "keyboard", n);
|
|
1380
1381
|
return;
|
|
1381
1382
|
}
|
|
1382
|
-
let t =
|
|
1383
|
+
let t = Ri.value[0];
|
|
1383
1384
|
if (!t) return;
|
|
1384
1385
|
let n = $.value.get(t.id) ?? 0;
|
|
1385
|
-
|
|
1386
|
+
Zr(t, t.seriesIndex, "keyboard", n);
|
|
1386
1387
|
return;
|
|
1387
1388
|
}
|
|
1388
|
-
let c = $.value.get(
|
|
1389
|
+
let c = $.value.get(Yn.value);
|
|
1389
1390
|
if (c === void 0) return;
|
|
1390
|
-
let l =
|
|
1391
|
+
let l = Ri.value[c];
|
|
1391
1392
|
if (!l) return;
|
|
1392
|
-
let u =
|
|
1393
|
+
let u = Ni(l, s);
|
|
1393
1394
|
if (!u) return;
|
|
1394
1395
|
let d = $.value.get(u.id);
|
|
1395
|
-
d !== void 0 &&
|
|
1396
|
+
d !== void 0 && Zr(u, u.seriesIndex, "keyboard", d);
|
|
1396
1397
|
}
|
|
1397
|
-
let
|
|
1398
|
+
let Li = y(() => {
|
|
1398
1399
|
if (!X.value) return "";
|
|
1399
1400
|
let e = X.value, t = isNaN(e.v.x) ? "-" : g(R.value.style.layout.plots.selectors.labels.x.formatter, e.v.x, i({
|
|
1400
1401
|
p: R.value.style.tooltip.prefix,
|
|
@@ -1419,7 +1420,7 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
1419
1420
|
`${R.value.style.layout.dataLabels.xAxis.name}: ${t}`,
|
|
1420
1421
|
`${R.value.style.layout.dataLabels.yAxis.name}: ${n}`
|
|
1421
1422
|
].filter(Boolean).join(". ");
|
|
1422
|
-
}),
|
|
1423
|
+
}), Ri = y(() => K.value.flatMap((e, t) => e.plots.map((n) => ({
|
|
1423
1424
|
...n,
|
|
1424
1425
|
seriesIndex: t,
|
|
1425
1426
|
seriesId: e.id,
|
|
@@ -1428,48 +1429,48 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
1428
1429
|
color: e.color
|
|
1429
1430
|
})))), $ = y(() => {
|
|
1430
1431
|
let e = /* @__PURE__ */ new Map();
|
|
1431
|
-
return
|
|
1432
|
+
return Ri.value.forEach((t, n) => {
|
|
1432
1433
|
e.set(t.id, n);
|
|
1433
1434
|
}), e;
|
|
1434
|
-
}),
|
|
1435
|
-
headers:
|
|
1436
|
-
rows:
|
|
1435
|
+
}), zi = y(() => ({
|
|
1436
|
+
headers: oi.value?.colNames ?? [],
|
|
1437
|
+
rows: oi.value?.a11yBody ?? []
|
|
1437
1438
|
}));
|
|
1438
1439
|
return ve({
|
|
1439
|
-
getData:
|
|
1440
|
-
getImage:
|
|
1441
|
-
generatePdf:
|
|
1442
|
-
generateCsv:
|
|
1443
|
-
generateImage:
|
|
1444
|
-
generateSvg:
|
|
1445
|
-
hideSeries:
|
|
1446
|
-
showSeries:
|
|
1447
|
-
toggleTable:
|
|
1448
|
-
toggleTooltip:
|
|
1449
|
-
toggleAnnotator:
|
|
1450
|
-
toggleFullscreen:
|
|
1451
|
-
copyAlt:
|
|
1440
|
+
getData: zr,
|
|
1441
|
+
getImage: pi,
|
|
1442
|
+
generatePdf: gr,
|
|
1443
|
+
generateCsv: ai,
|
|
1444
|
+
generateImage: _r,
|
|
1445
|
+
generateSvg: Ai,
|
|
1446
|
+
hideSeries: ii,
|
|
1447
|
+
showSeries: ri,
|
|
1448
|
+
toggleTable: li,
|
|
1449
|
+
toggleTooltip: ui,
|
|
1450
|
+
toggleAnnotator: fi,
|
|
1451
|
+
toggleFullscreen: ci,
|
|
1452
|
+
copyAlt: Mi
|
|
1452
1453
|
}), (e, t) => (D(), S("div", {
|
|
1453
|
-
class:
|
|
1454
|
+
class: Fe(`vue-data-ui-component vue-ui-scatter ${si.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${R.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
1454
1455
|
ref_key: "scatterChart",
|
|
1455
1456
|
ref: I,
|
|
1456
1457
|
id: `vue-ui-scatter_${F.value}`,
|
|
1457
1458
|
style: E(`font-family:${R.value.style.fontFamily};width:100%; text-align:center;background:${R.value.style.backgroundColor};${R.value.responsive ? "height: 100%" : ""}`),
|
|
1458
|
-
onMouseenter: t[5] ||= () => M(
|
|
1459
|
+
onMouseenter: t[5] ||= () => M(sr)(!0),
|
|
1459
1460
|
onMouseleave: t[6] ||= () => {
|
|
1460
|
-
M(
|
|
1461
|
+
M(sr)(!1), Qn.value || Wr();
|
|
1461
1462
|
}
|
|
1462
1463
|
}, [
|
|
1463
1464
|
C("div", {
|
|
1464
1465
|
id: `chart-instructions-${F.value}`,
|
|
1465
1466
|
class: "sr-only"
|
|
1466
|
-
}, [C("p", null, j(R.value.a11y.translations.keyboardNavigation), 1)], 8,
|
|
1467
|
-
|
|
1468
|
-
|
|
1467
|
+
}, [C("p", null, j(R.value.a11y.translations.keyboardNavigation), 1)], 8, We),
|
|
1468
|
+
B.value.showTooltip ? x("", !0) : (D(), S("div", Ge, j(Li.value), 1)),
|
|
1469
|
+
zi.value?.rows?.length && Tn.value ? (D(), b(Ce, {
|
|
1469
1470
|
key: 1,
|
|
1470
1471
|
uid: F.value,
|
|
1471
|
-
head:
|
|
1472
|
-
body:
|
|
1472
|
+
head: zi.value.headers,
|
|
1473
|
+
body: zi.value.rows,
|
|
1473
1474
|
notice: R.value.a11y.translations.tableAvailable,
|
|
1474
1475
|
caption: R.value.a11y.translations.tableCaption
|
|
1475
1476
|
}, null, 8, [
|
|
@@ -1479,14 +1480,14 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
1479
1480
|
"notice",
|
|
1480
1481
|
"caption"
|
|
1481
1482
|
])) : x("", !0),
|
|
1482
|
-
R.value.userOptions.buttons.annotator ? (D(), b(M(
|
|
1483
|
+
R.value.userOptions.buttons.annotator ? (D(), b(M(_n), {
|
|
1483
1484
|
key: 2,
|
|
1484
|
-
svgRef: M(
|
|
1485
|
+
svgRef: M(z),
|
|
1485
1486
|
backgroundColor: R.value.style.backgroundColor,
|
|
1486
1487
|
color: R.value.style.color,
|
|
1487
|
-
active:
|
|
1488
|
-
isCursorPointer:
|
|
1489
|
-
onClose:
|
|
1488
|
+
active: di.value,
|
|
1489
|
+
isCursorPointer: er.value,
|
|
1490
|
+
onClose: fi
|
|
1490
1491
|
}, {
|
|
1491
1492
|
"annotator-action-close": N(() => [A(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
1492
1493
|
"annotator-action-color": N(({ color: t }) => [A(e.$slots, "annotator-action-color", T(w({ color: t })), void 0, !0)]),
|
|
@@ -1502,20 +1503,20 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
1502
1503
|
"active",
|
|
1503
1504
|
"isCursorPointer"
|
|
1504
1505
|
])) : x("", !0),
|
|
1505
|
-
|
|
1506
|
+
vr.value ? (D(), S("div", {
|
|
1506
1507
|
key: 3,
|
|
1507
1508
|
ref_key: "noTitle",
|
|
1508
|
-
ref:
|
|
1509
|
+
ref: Mn,
|
|
1509
1510
|
class: "vue-data-ui-no-title-space",
|
|
1510
1511
|
style: "height:36px; width: 100%;background:transparent"
|
|
1511
1512
|
}, null, 512)) : x("", !0),
|
|
1512
1513
|
R.value.style.title.text ? (D(), S("div", {
|
|
1513
1514
|
key: 4,
|
|
1514
1515
|
ref_key: "chartTitle",
|
|
1515
|
-
ref:
|
|
1516
|
+
ref: kn,
|
|
1516
1517
|
style: "width:100%;background:transparent"
|
|
1517
1518
|
}, [(D(), b(ge, {
|
|
1518
|
-
key: `title_${
|
|
1519
|
+
key: `title_${Nn.value}`,
|
|
1519
1520
|
config: {
|
|
1520
1521
|
title: {
|
|
1521
1522
|
cy: "scatter-div-title",
|
|
@@ -1527,15 +1528,15 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
1527
1528
|
}
|
|
1528
1529
|
}
|
|
1529
1530
|
}, null, 8, ["config"]))], 512)) : x("", !0),
|
|
1530
|
-
C("div", { id: `legend-top-${F.value}` }, null, 8,
|
|
1531
|
-
R.value.userOptions.show &&
|
|
1531
|
+
C("div", { id: `legend-top-${F.value}` }, null, 8, Ke),
|
|
1532
|
+
R.value.userOptions.show && Tn.value && (M(cr) || M(or)) ? (D(), b(M(vn), {
|
|
1532
1533
|
ref_key: "userOptionsRef",
|
|
1533
|
-
ref:
|
|
1534
|
-
key: `user_options_${
|
|
1534
|
+
ref: Bn,
|
|
1535
|
+
key: `user_options_${On.value}`,
|
|
1535
1536
|
backgroundColor: R.value.style.backgroundColor,
|
|
1536
1537
|
color: R.value.style.color,
|
|
1537
|
-
isImaging: M(
|
|
1538
|
-
isPrinting: M(
|
|
1538
|
+
isImaging: M(hr),
|
|
1539
|
+
isPrinting: M(mr),
|
|
1539
1540
|
uid: F.value,
|
|
1540
1541
|
hasTooltip: R.value.userOptions.buttons.tooltip && R.value.style.tooltip.show,
|
|
1541
1542
|
hasPdf: R.value.userOptions.buttons.pdf,
|
|
@@ -1545,28 +1546,28 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
1545
1546
|
hasTable: R.value.userOptions.buttons.table,
|
|
1546
1547
|
hasFullscreen: R.value.userOptions.buttons.fullscreen,
|
|
1547
1548
|
hasAltCopy: R.value.userOptions.buttons.altCopy,
|
|
1548
|
-
isTooltip:
|
|
1549
|
-
isFullscreen:
|
|
1549
|
+
isTooltip: B.value.showTooltip,
|
|
1550
|
+
isFullscreen: si.value,
|
|
1550
1551
|
titles: { ...R.value.userOptions.buttonTitles },
|
|
1551
1552
|
chartElement: I.value,
|
|
1552
1553
|
position: R.value.userOptions.position,
|
|
1553
1554
|
hasAnnotator: R.value.userOptions.buttons.annotator,
|
|
1554
|
-
isAnnotation:
|
|
1555
|
+
isAnnotation: di.value,
|
|
1555
1556
|
callbacks: R.value.userOptions.callbacks,
|
|
1556
1557
|
printScale: R.value.userOptions.print.scale,
|
|
1557
1558
|
tableDialog: R.value.table.useDialog,
|
|
1558
|
-
isCursorPointer:
|
|
1559
|
-
onToggleFullscreen:
|
|
1560
|
-
onGeneratePdf: M(
|
|
1561
|
-
onGenerateCsv:
|
|
1562
|
-
onGenerateImage:
|
|
1563
|
-
onGenerateSvg:
|
|
1564
|
-
onToggleTable:
|
|
1565
|
-
onToggleTooltip:
|
|
1566
|
-
onToggleAnnotator:
|
|
1567
|
-
onCopyAlt:
|
|
1568
|
-
style: E({ visibility: M(
|
|
1569
|
-
},
|
|
1559
|
+
isCursorPointer: er.value,
|
|
1560
|
+
onToggleFullscreen: ci,
|
|
1561
|
+
onGeneratePdf: M(gr),
|
|
1562
|
+
onGenerateCsv: ai,
|
|
1563
|
+
onGenerateImage: ji,
|
|
1564
|
+
onGenerateSvg: Ai,
|
|
1565
|
+
onToggleTable: li,
|
|
1566
|
+
onToggleTooltip: ui,
|
|
1567
|
+
onToggleAnnotator: fi,
|
|
1568
|
+
onCopyAlt: Mi,
|
|
1569
|
+
style: E({ visibility: M(cr) ? M(or) ? "visible" : "hidden" : "visible" })
|
|
1570
|
+
}, ke({ _: 2 }, [
|
|
1570
1571
|
e.$slots.menuIcon ? {
|
|
1571
1572
|
name: "menuIcon",
|
|
1572
1573
|
fn: N(({ isOpen: t, color: n }) => [A(e.$slots, "menuIcon", T(w({
|
|
@@ -1637,114 +1638,114 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
1637
1638
|
key: "11"
|
|
1638
1639
|
} : void 0
|
|
1639
1640
|
]), 1032, /* @__PURE__ */ "backgroundColor.color.isImaging.isPrinting.uid.hasTooltip.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasFullscreen.hasAltCopy.isTooltip.isFullscreen.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.style".split("."))) : x("", !0),
|
|
1640
|
-
C("div",
|
|
1641
|
+
C("div", qe, [(D(), S("svg", {
|
|
1641
1642
|
ref_key: "svgRef",
|
|
1642
|
-
ref:
|
|
1643
|
+
ref: z,
|
|
1643
1644
|
xmlns: M(oe),
|
|
1644
1645
|
"aria-describedby": `chart-instructions-${F.value}`,
|
|
1645
|
-
class:
|
|
1646
|
-
"vue-data-ui-fullscreen--on":
|
|
1647
|
-
"vue-data-ui-fulscreen--off": !
|
|
1646
|
+
class: Fe({
|
|
1647
|
+
"vue-data-ui-fullscreen--on": si.value,
|
|
1648
|
+
"vue-data-ui-fulscreen--off": !si.value,
|
|
1648
1649
|
animated: R.value.useCssAnimation
|
|
1649
1650
|
}),
|
|
1650
|
-
viewBox: `0 0 ${
|
|
1651
|
+
viewBox: `0 0 ${V.value.width <= 0 ? 10 : V.value.width} ${V.value.height <= 0 ? 10 : V.value.height}`,
|
|
1651
1652
|
style: E(`max-width:100%;overflow:visible;background:transparent;color:${R.value.style.color}`),
|
|
1652
|
-
onMouseleave:
|
|
1653
|
+
onMouseleave: gi,
|
|
1653
1654
|
tabindex: "0",
|
|
1654
|
-
onFocus:
|
|
1655
|
-
onBlur:
|
|
1656
|
-
onKeydown:
|
|
1655
|
+
onFocus: Pi,
|
|
1656
|
+
onBlur: Fi,
|
|
1657
|
+
onKeydown: Ii
|
|
1657
1658
|
}, [
|
|
1658
|
-
|
|
1659
|
+
je(M(yn)),
|
|
1659
1660
|
e.$slots["chart-background"] ? (D(), S("foreignObject", {
|
|
1660
1661
|
key: 0,
|
|
1661
1662
|
x: 0,
|
|
1662
1663
|
y: 0,
|
|
1663
|
-
width:
|
|
1664
|
-
height:
|
|
1664
|
+
width: V.value.width <= 0 ? 10 : V.value.width,
|
|
1665
|
+
height: V.value.height <= 0 ? 10 : V.value.height,
|
|
1665
1666
|
style: { pointerEvents: "none" }
|
|
1666
|
-
}, [A(e.$slots, "chart-background", {}, void 0, !0)], 8,
|
|
1667
|
-
R.value.style.layout.axis.show ? (D(), S("g",
|
|
1668
|
-
x1:
|
|
1669
|
-
x2:
|
|
1670
|
-
y1:
|
|
1671
|
-
y2:
|
|
1667
|
+
}, [A(e.$slots, "chart-background", {}, void 0, !0)], 8, Ye)) : x("", !0),
|
|
1668
|
+
R.value.style.layout.axis.show ? (D(), S("g", Xe, [C("line", {
|
|
1669
|
+
x1: W.value.x,
|
|
1670
|
+
x2: W.value.x,
|
|
1671
|
+
y1: H.value.top,
|
|
1672
|
+
y2: H.value.bottom,
|
|
1672
1673
|
stroke: R.value.style.layout.axis.stroke,
|
|
1673
1674
|
"stroke-width": R.value.style.layout.axis.strokeWidth,
|
|
1674
1675
|
"stroke-linecap": "round"
|
|
1675
|
-
}, null, 8,
|
|
1676
|
-
x1:
|
|
1677
|
-
x2:
|
|
1678
|
-
y1:
|
|
1679
|
-
y2:
|
|
1676
|
+
}, null, 8, Ze), C("line", {
|
|
1677
|
+
x1: H.value.left,
|
|
1678
|
+
x2: H.value.right,
|
|
1679
|
+
y1: W.value.y,
|
|
1680
|
+
y2: W.value.y,
|
|
1680
1681
|
stroke: R.value.style.layout.axis.stroke,
|
|
1681
1682
|
"stroke-width": R.value.style.layout.axis.strokeWidth,
|
|
1682
1683
|
"stroke-linecap": "round"
|
|
1683
|
-
}, null, 8,
|
|
1684
|
-
R.value.style.layout.dataLabels.xAxis.scales.verticalLines.show ? (D(), S("g",
|
|
1684
|
+
}, null, 8, Qe)])) : x("", !0),
|
|
1685
|
+
R.value.style.layout.dataLabels.xAxis.scales.verticalLines.show ? (D(), S("g", $e, [(D(!0), S(v, null, k(Ar.value, (e, t) => (D(), S("line", {
|
|
1685
1686
|
key: `scatter-x-scale-line-${F.value}-${t}`,
|
|
1686
1687
|
x1: e.x,
|
|
1687
1688
|
x2: e.x,
|
|
1688
|
-
y1:
|
|
1689
|
-
y2:
|
|
1689
|
+
y1: H.value.top,
|
|
1690
|
+
y2: H.value.bottom,
|
|
1690
1691
|
stroke: R.value.style.layout.dataLabels.xAxis.scales.verticalLines.stroke,
|
|
1691
1692
|
"stroke-width": R.value.style.layout.dataLabels.xAxis.scales.verticalLines.strokeWidth,
|
|
1692
1693
|
"stroke-linecap": "round"
|
|
1693
|
-
}, null, 8,
|
|
1694
|
+
}, null, 8, et))), 128))])) : x("", !0),
|
|
1694
1695
|
R.value.style.layout.dataLabels.xAxis.scales.show ? (D(), S("g", {
|
|
1695
1696
|
key: 3,
|
|
1696
1697
|
ref_key: "xAxisScaleLabels",
|
|
1697
|
-
ref:
|
|
1698
|
-
}, [(D(!0), S(v, null, k(
|
|
1698
|
+
ref: Jn
|
|
1699
|
+
}, [(D(!0), S(v, null, k(Ar.value, (e, t) => (D(), S("g", {
|
|
1699
1700
|
class: "vue-ui-scatter-scale-group",
|
|
1700
1701
|
key: `scatter-x-scale-${F.value}-${t}`,
|
|
1701
|
-
opacity: +!
|
|
1702
|
+
opacity: +!Mr.value,
|
|
1702
1703
|
style: { transition: "opacity 0.1s ease-in-out" }
|
|
1703
1704
|
}, [C("line", {
|
|
1704
1705
|
x1: e.x,
|
|
1705
1706
|
x2: e.x,
|
|
1706
|
-
y1:
|
|
1707
|
-
y2:
|
|
1707
|
+
y1: W.value.y - 4,
|
|
1708
|
+
y2: W.value.y + 4,
|
|
1708
1709
|
stroke: R.value.style.layout.axis.stroke,
|
|
1709
1710
|
"stroke-width": R.value.style.layout.axis.strokeWidth,
|
|
1710
1711
|
"stroke-linecap": "round"
|
|
1711
|
-
}, null, 8,
|
|
1712
|
+
}, null, 8, nt), C("text", {
|
|
1712
1713
|
x: e.x,
|
|
1713
|
-
y:
|
|
1714
|
+
y: W.value.y + R.value.style.layout.dataLabels.xAxis.scales.labels.fontSize + 6 + R.value.style.layout.dataLabels.xAxis.scales.labels.offsetY,
|
|
1714
1715
|
"text-anchor": "middle",
|
|
1715
1716
|
"font-size": R.value.style.layout.dataLabels.xAxis.scales.labels.fontSize,
|
|
1716
1717
|
fill: R.value.style.layout.dataLabels.xAxis.scales.labels.color,
|
|
1717
1718
|
stroke: R.value.style.backgroundColor,
|
|
1718
1719
|
"stroke-width": "2",
|
|
1719
1720
|
"paint-order": "stroke"
|
|
1720
|
-
}, j(e.label), 9,
|
|
1721
|
-
R.value.style.layout.dataLabels.yAxis.scales.horizontalLines.show ? (D(), S("g",
|
|
1721
|
+
}, j(e.label), 9, rt)], 8, tt))), 128))], 512)) : x("", !0),
|
|
1722
|
+
R.value.style.layout.dataLabels.yAxis.scales.horizontalLines.show ? (D(), S("g", it, [(D(!0), S(v, null, k(jr.value, (e, t) => (D(), S("line", {
|
|
1722
1723
|
key: `scatter-y-scale-line-${F.value}-${t}`,
|
|
1723
|
-
x1:
|
|
1724
|
-
x2:
|
|
1724
|
+
x1: H.value.left,
|
|
1725
|
+
x2: H.value.right,
|
|
1725
1726
|
y1: e.y,
|
|
1726
1727
|
y2: e.y,
|
|
1727
1728
|
stroke: R.value.style.layout.dataLabels.yAxis.scales.horizontalLines.stroke,
|
|
1728
1729
|
"stroke-width": R.value.style.layout.dataLabels.yAxis.scales.horizontalLines.strokeWidth,
|
|
1729
1730
|
"stroke-linecap": "round"
|
|
1730
|
-
}, null, 8,
|
|
1731
|
+
}, null, 8, at))), 128))])) : x("", !0),
|
|
1731
1732
|
R.value.style.layout.dataLabels.yAxis.scales.show ? (D(), S("g", {
|
|
1732
1733
|
key: 5,
|
|
1733
1734
|
ref_key: "yAxisScaleLabels",
|
|
1734
|
-
ref:
|
|
1735
|
-
opacity: +!
|
|
1735
|
+
ref: qn,
|
|
1736
|
+
opacity: +!Nr.value,
|
|
1736
1737
|
style: { transition: "opacity 0.1s ease-in-out" },
|
|
1737
1738
|
class: "vue-ui-scatter-scale-group"
|
|
1738
|
-
}, [(D(!0), S(v, null, k(
|
|
1739
|
-
x1:
|
|
1740
|
-
x2:
|
|
1739
|
+
}, [(D(!0), S(v, null, k(jr.value, (e, t) => (D(), S("g", { key: `scatter-y-scale-${F.value}-${t}` }, [C("line", {
|
|
1740
|
+
x1: W.value.x - 4,
|
|
1741
|
+
x2: W.value.x + 4,
|
|
1741
1742
|
y1: e.y,
|
|
1742
1743
|
y2: e.y,
|
|
1743
1744
|
stroke: R.value.style.layout.axis.stroke,
|
|
1744
1745
|
"stroke-width": R.value.style.layout.axis.strokeWidth,
|
|
1745
1746
|
"stroke-linecap": "round"
|
|
1746
|
-
}, null, 8,
|
|
1747
|
-
x:
|
|
1747
|
+
}, null, 8, st), C("text", {
|
|
1748
|
+
x: W.value.x - R.value.style.layout.dataLabels.yAxis.scales.labels.fontSize / 2 - 8 + R.value.style.layout.dataLabels.yAxis.scales.labels.offsetX,
|
|
1748
1749
|
y: e.y + R.value.style.layout.dataLabels.yAxis.scales.labels.fontSize / 3,
|
|
1749
1750
|
"text-anchor": "end",
|
|
1750
1751
|
"font-size": R.value.style.layout.dataLabels.yAxis.scales.labels.fontSize,
|
|
@@ -1752,70 +1753,78 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
1752
1753
|
stroke: R.value.style.backgroundColor,
|
|
1753
1754
|
"stroke-width": "2",
|
|
1754
1755
|
"paint-order": "stroke"
|
|
1755
|
-
}, j(e.label), 9,
|
|
1756
|
-
R.value.style.layout.marginalBars.show ? (D(), S("g",
|
|
1757
|
-
C("defs", null, [
|
|
1756
|
+
}, j(e.label), 9, ct)]))), 128))], 8, ot)) : x("", !0),
|
|
1757
|
+
R.value.style.layout.marginalBars.show ? (D(), S("g", lt, [
|
|
1758
|
+
C("defs", null, [je(xe, {
|
|
1759
|
+
t: "linear",
|
|
1758
1760
|
id: `marginal_x_${F.value}`,
|
|
1759
1761
|
x1: "0%",
|
|
1760
1762
|
y1: "0%",
|
|
1761
1763
|
x2: "0%",
|
|
1762
|
-
y2: "100%"
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1764
|
+
y2: "100%",
|
|
1765
|
+
stops: [[
|
|
1766
|
+
"0%",
|
|
1767
|
+
R.value.style.layout.marginalBars.fill,
|
|
1768
|
+
1
|
|
1769
|
+
], [
|
|
1770
|
+
"100%",
|
|
1771
|
+
R.value.style.backgroundColor,
|
|
1772
|
+
1
|
|
1773
|
+
]]
|
|
1774
|
+
}, null, 8, ["id", "stops"]), je(xe, {
|
|
1775
|
+
t: "linear",
|
|
1770
1776
|
id: `marginal_y_${F.value}`,
|
|
1771
1777
|
x1: "0%",
|
|
1772
1778
|
x2: "100%",
|
|
1773
1779
|
y1: "0%",
|
|
1774
|
-
y2: "0%"
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1780
|
+
y2: "0%",
|
|
1781
|
+
stops: [[
|
|
1782
|
+
"0%",
|
|
1783
|
+
R.value.style.backgroundColor,
|
|
1784
|
+
1
|
|
1785
|
+
], [
|
|
1786
|
+
"100%",
|
|
1787
|
+
R.value.style.layout.marginalBars.fill,
|
|
1788
|
+
1
|
|
1789
|
+
]]
|
|
1790
|
+
}, null, 8, ["id", "stops"])]),
|
|
1782
1791
|
(D(!0), S(v, null, k(J.value.x, (e, n) => (D(), S("g", null, [
|
|
1783
1792
|
e && J.value.avgX[n] ? (D(), S("rect", {
|
|
1784
1793
|
key: 0,
|
|
1785
|
-
x: J.value.avgX[n] -
|
|
1786
|
-
y:
|
|
1787
|
-
width:
|
|
1794
|
+
x: J.value.avgX[n] - H.value.width / q.value / 2,
|
|
1795
|
+
y: H.value.top - R.value.style.layout.marginalBars.offset - e / J.value.maxX * R.value.style.layout.marginalBars.size,
|
|
1796
|
+
width: H.value.width / q.value <= 0 ? 1e-4 : H.value.width / q.value,
|
|
1788
1797
|
height: e / J.value.maxX * R.value.style.layout.marginalBars.size <= 0 ? 1e-4 : e / J.value.maxX * R.value.style.layout.marginalBars.size,
|
|
1789
1798
|
fill: R.value.style.layout.marginalBars.useGradient ? `url(#marginal_x_${F.value})` : R.value.style.layout.marginalBars.fill,
|
|
1790
1799
|
style: E([`opacity:${R.value.style.layout.marginalBars.opacity}`, { "pointer-events": "none" }]),
|
|
1791
1800
|
stroke: R.value.style.backgroundColor,
|
|
1792
1801
|
"stroke-width": R.value.style.layout.marginalBars.strokeWidth,
|
|
1793
1802
|
rx: R.value.style.layout.marginalBars.borderRadius
|
|
1794
|
-
}, null, 12,
|
|
1803
|
+
}, null, 12, ut)) : x("", !0),
|
|
1795
1804
|
J.value.avgX[n] ? (D(), S("rect", {
|
|
1796
1805
|
key: 1,
|
|
1797
|
-
x: J.value.avgX[n] -
|
|
1798
|
-
y:
|
|
1799
|
-
width:
|
|
1806
|
+
x: J.value.avgX[n] - H.value.width / q.value / 2,
|
|
1807
|
+
y: H.value.top - R.value.style.layout.marginalBars.offset - R.value.style.layout.marginalBars.size,
|
|
1808
|
+
width: H.value.width / q.value <= 0 ? 1e-4 : H.value.width / q.value,
|
|
1800
1809
|
height: Math.max(.1, R.value.style.layout.marginalBars.size),
|
|
1801
1810
|
fill: "transparent",
|
|
1802
|
-
onMouseenter: (e) =>
|
|
1803
|
-
onMouseleave: t[0] ||= (e) =>
|
|
1804
|
-
}, null, 40,
|
|
1805
|
-
J.value.avgX[n] &&
|
|
1811
|
+
onMouseenter: (e) => mi(n),
|
|
1812
|
+
onMouseleave: t[0] ||= (e) => gi()
|
|
1813
|
+
}, null, 40, dt)) : x("", !0),
|
|
1814
|
+
J.value.avgX[n] && Ln.value != null && Ln.value === n ? (D(), S("g", ft, [
|
|
1806
1815
|
C("rect", {
|
|
1807
|
-
x: J.value.avgX[n] -
|
|
1808
|
-
y:
|
|
1809
|
-
width:
|
|
1810
|
-
height:
|
|
1816
|
+
x: J.value.avgX[n] - H.value.width / q.value / 2,
|
|
1817
|
+
y: H.value.top,
|
|
1818
|
+
width: H.value.width / q.value <= 0 ? 1e-4 : H.value.width / q.value,
|
|
1819
|
+
height: H.value.height,
|
|
1811
1820
|
fill: R.value.style.layout.marginalBars.highlighter.color,
|
|
1812
1821
|
"fill-opacity": R.value.style.layout.marginalBars.highlighter.opacity
|
|
1813
|
-
}, null, 8,
|
|
1822
|
+
}, null, 8, pt),
|
|
1814
1823
|
C("line", {
|
|
1815
|
-
x1: J.value.avgX[n] -
|
|
1816
|
-
x2: J.value.avgX[n] -
|
|
1824
|
+
x1: J.value.avgX[n] - H.value.width / q.value / 2,
|
|
1825
|
+
x2: J.value.avgX[n] - H.value.width / q.value / 2,
|
|
1817
1826
|
y1: 0,
|
|
1818
|
-
y2:
|
|
1827
|
+
y2: H.value.top + H.value.height,
|
|
1819
1828
|
stroke: R.value.style.layout.marginalBars.highlighter.stroke,
|
|
1820
1829
|
"stroke-dasharray": R.value.style.layout.marginalBars.highlighter.strokeDasharray,
|
|
1821
1830
|
"stroke-width": R.value.style.layout.marginalBars.highlighter.strokeWidth,
|
|
@@ -1823,12 +1832,12 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
1823
1832
|
transition: "none !important",
|
|
1824
1833
|
animation: "none !important"
|
|
1825
1834
|
}
|
|
1826
|
-
}, null, 8,
|
|
1835
|
+
}, null, 8, mt),
|
|
1827
1836
|
C("line", {
|
|
1828
|
-
x1: J.value.avgX[n] -
|
|
1829
|
-
x2: J.value.avgX[n] -
|
|
1837
|
+
x1: J.value.avgX[n] - H.value.width / q.value / 2 + (H.value.width / q.value <= 0 ? 1e-4 : H.value.width / q.value),
|
|
1838
|
+
x2: J.value.avgX[n] - H.value.width / q.value / 2 + (H.value.width / q.value <= 0 ? 1e-4 : H.value.width / q.value),
|
|
1830
1839
|
y1: 0,
|
|
1831
|
-
y2:
|
|
1840
|
+
y2: H.value.top + H.value.height,
|
|
1832
1841
|
stroke: R.value.style.layout.marginalBars.highlighter.stroke,
|
|
1833
1842
|
"stroke-dasharray": R.value.style.layout.marginalBars.highlighter.strokeDasharray,
|
|
1834
1843
|
"stroke-width": R.value.style.layout.marginalBars.highlighter.strokeWidth,
|
|
@@ -1836,46 +1845,46 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
1836
1845
|
transition: "none !important",
|
|
1837
1846
|
animation: "none !important"
|
|
1838
1847
|
}
|
|
1839
|
-
}, null, 8,
|
|
1848
|
+
}, null, 8, ht)
|
|
1840
1849
|
])) : x("", !0)
|
|
1841
1850
|
]))), 256)),
|
|
1842
1851
|
(D(!0), S(v, null, k(J.value.y, (e, n) => (D(), S("g", null, [
|
|
1843
1852
|
e && J.value.avgY[n] ? (D(), S("rect", {
|
|
1844
1853
|
key: 0,
|
|
1845
|
-
x:
|
|
1846
|
-
y: J.value.avgY[n] -
|
|
1847
|
-
height:
|
|
1854
|
+
x: H.value.right + R.value.style.layout.marginalBars.offset,
|
|
1855
|
+
y: J.value.avgY[n] - H.value.height / q.value / 2,
|
|
1856
|
+
height: H.value.height / q.value <= 0 ? 1e-4 : H.value.height / q.value,
|
|
1848
1857
|
width: e / J.value.maxY * R.value.style.layout.marginalBars.size <= 0 ? 1e-4 : e / J.value.maxY * R.value.style.layout.marginalBars.size,
|
|
1849
1858
|
fill: R.value.style.layout.marginalBars.useGradient ? `url(#marginal_y_${F.value})` : R.value.style.layout.marginalBars.fill,
|
|
1850
1859
|
style: E([`opacity:${R.value.style.layout.marginalBars.opacity}`, { "pointer-events": "none" }]),
|
|
1851
1860
|
stroke: R.value.style.backgroundColor,
|
|
1852
1861
|
"stroke-width": R.value.style.layout.marginalBars.strokeWidth,
|
|
1853
1862
|
rx: R.value.style.layout.marginalBars.borderRadius
|
|
1854
|
-
}, null, 12,
|
|
1863
|
+
}, null, 12, gt)) : x("", !0),
|
|
1855
1864
|
J.value.avgY[n] ? (D(), S("rect", {
|
|
1856
1865
|
key: 1,
|
|
1857
|
-
x:
|
|
1858
|
-
y: J.value.avgY[n] -
|
|
1866
|
+
x: H.value.right + R.value.style.layout.marginalBars.offset,
|
|
1867
|
+
y: J.value.avgY[n] - H.value.height / q.value / 2,
|
|
1859
1868
|
width: Math.max(.1, R.value.style.layout.marginalBars.size),
|
|
1860
|
-
height:
|
|
1869
|
+
height: H.value.height / q.value <= 0 ? 1e-4 : H.value.height / q.value,
|
|
1861
1870
|
fill: "transparent",
|
|
1862
|
-
onMouseenter: (e) =>
|
|
1863
|
-
onMouseleave: t[1] ||= (e) =>
|
|
1864
|
-
}, null, 40,
|
|
1865
|
-
J.value.avgY[n] &&
|
|
1871
|
+
onMouseenter: (e) => hi(n),
|
|
1872
|
+
onMouseleave: t[1] ||= (e) => gi()
|
|
1873
|
+
}, null, 40, _t)) : x("", !0),
|
|
1874
|
+
J.value.avgY[n] && Rn.value != null && Rn.value === n ? (D(), S("g", vt, [
|
|
1866
1875
|
C("rect", {
|
|
1867
|
-
x:
|
|
1868
|
-
y: J.value.avgY[n] -
|
|
1869
|
-
width:
|
|
1870
|
-
height:
|
|
1876
|
+
x: H.value.left,
|
|
1877
|
+
y: J.value.avgY[n] - H.value.height / q.value / 2,
|
|
1878
|
+
width: H.value.width,
|
|
1879
|
+
height: H.value.height / q.value <= 0 ? 1e-4 : H.value.height / q.value,
|
|
1871
1880
|
fill: R.value.style.layout.marginalBars.highlighter.color,
|
|
1872
1881
|
"fill-opacity": R.value.style.layout.marginalBars.highlighter.opacity
|
|
1873
|
-
}, null, 8,
|
|
1882
|
+
}, null, 8, yt),
|
|
1874
1883
|
C("line", {
|
|
1875
|
-
x1:
|
|
1876
|
-
x2:
|
|
1877
|
-
y1: J.value.avgY[n] -
|
|
1878
|
-
y2: J.value.avgY[n] -
|
|
1884
|
+
x1: H.value.left,
|
|
1885
|
+
x2: V.value.width,
|
|
1886
|
+
y1: J.value.avgY[n] - H.value.height / q.value / 2,
|
|
1887
|
+
y2: J.value.avgY[n] - H.value.height / q.value / 2,
|
|
1879
1888
|
stroke: R.value.style.layout.marginalBars.highlighter.stroke,
|
|
1880
1889
|
"stroke-dasharray": R.value.style.layout.marginalBars.highlighter.strokeDasharray,
|
|
1881
1890
|
"stroke-width": R.value.style.layout.marginalBars.highlighter.strokeWidth,
|
|
@@ -1883,12 +1892,12 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
1883
1892
|
transition: "none !important",
|
|
1884
1893
|
animation: "none !important"
|
|
1885
1894
|
}
|
|
1886
|
-
}, null, 8,
|
|
1895
|
+
}, null, 8, bt),
|
|
1887
1896
|
C("line", {
|
|
1888
|
-
x1:
|
|
1889
|
-
x2:
|
|
1890
|
-
y1: J.value.avgY[n] -
|
|
1891
|
-
y2: J.value.avgY[n] -
|
|
1897
|
+
x1: H.value.left,
|
|
1898
|
+
x2: V.value.width,
|
|
1899
|
+
y1: J.value.avgY[n] - H.value.height / q.value / 2 + (H.value.height / q.value <= 0 ? 1e-4 : H.value.height / q.value),
|
|
1900
|
+
y2: J.value.avgY[n] - H.value.height / q.value / 2 + (H.value.height / q.value <= 0 ? 1e-4 : H.value.height / q.value),
|
|
1892
1901
|
stroke: R.value.style.layout.marginalBars.highlighter.stroke,
|
|
1893
1902
|
"stroke-dasharray": R.value.style.layout.marginalBars.highlighter.strokeDasharray,
|
|
1894
1903
|
"stroke-width": R.value.style.layout.marginalBars.highlighter.strokeWidth,
|
|
@@ -1896,10 +1905,10 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
1896
1905
|
transition: "none !important",
|
|
1897
1906
|
animation: "none !important"
|
|
1898
1907
|
}
|
|
1899
|
-
}, null, 8,
|
|
1908
|
+
}, null, 8, xt)
|
|
1900
1909
|
])) : x("", !0)
|
|
1901
1910
|
]))), 256)),
|
|
1902
|
-
R.value.style.layout.marginalBars.showLines ? (D(), S("g",
|
|
1911
|
+
R.value.style.layout.marginalBars.showLines ? (D(), S("g", St, [(D(!0), S(v, null, k(Vr.value, (e) => (D(), S(v, null, [
|
|
1903
1912
|
L.value.includes(e.id) ? x("", !0) : (D(), S("path", {
|
|
1904
1913
|
key: 0,
|
|
1905
1914
|
d: `M ${e.dX}`,
|
|
@@ -1908,7 +1917,7 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
1908
1917
|
"stroke-linecap": "round",
|
|
1909
1918
|
"stroke-linejoin": "round",
|
|
1910
1919
|
fill: "none"
|
|
1911
|
-
}, null, 8,
|
|
1920
|
+
}, null, 8, Ct)),
|
|
1912
1921
|
L.value.includes(e.id) ? x("", !0) : (D(), S("path", {
|
|
1913
1922
|
key: 1,
|
|
1914
1923
|
d: `M ${e.dX}`,
|
|
@@ -1917,7 +1926,7 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
1917
1926
|
"stroke-linecap": "round",
|
|
1918
1927
|
"stroke-linejoin": "round",
|
|
1919
1928
|
fill: "none"
|
|
1920
|
-
}, null, 8,
|
|
1929
|
+
}, null, 8, wt)),
|
|
1921
1930
|
L.value.includes(e.id) ? x("", !0) : (D(), S("path", {
|
|
1922
1931
|
key: 2,
|
|
1923
1932
|
d: `M ${e.dY}`,
|
|
@@ -1926,7 +1935,7 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
1926
1935
|
"stroke-linecap": "round",
|
|
1927
1936
|
"stroke-linejoin": "round",
|
|
1928
1937
|
fill: "none"
|
|
1929
|
-
}, null, 8,
|
|
1938
|
+
}, null, 8, Tt)),
|
|
1930
1939
|
L.value.includes(e.id) ? x("", !0) : (D(), S("path", {
|
|
1931
1940
|
key: 3,
|
|
1932
1941
|
d: `M ${e.dY}`,
|
|
@@ -1935,10 +1944,10 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
1935
1944
|
"stroke-linecap": "round",
|
|
1936
1945
|
"stroke-linejoin": "round",
|
|
1937
1946
|
fill: "none"
|
|
1938
|
-
}, null, 8,
|
|
1947
|
+
}, null, 8, Et))
|
|
1939
1948
|
], 64))), 256))])) : x("", !0)
|
|
1940
1949
|
])) : x("", !0),
|
|
1941
|
-
R.value.style.layout.plots.giftWrap.show ? (D(), S("g",
|
|
1950
|
+
R.value.style.layout.plots.giftWrap.show ? (D(), S("g", Dt, [(D(!0), S(v, null, k(K.value, (e, t) => (D(), S("g", null, [e.plots.length > 2 ? (D(), S("polygon", {
|
|
1942
1951
|
key: 0,
|
|
1943
1952
|
points: M(re)({ series: e.plots }),
|
|
1944
1953
|
fill: M(l)(e.color, R.value.style.layout.plots.giftWrap.fillOpacity * 100),
|
|
@@ -1947,8 +1956,8 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
1947
1956
|
stroke: e.color,
|
|
1948
1957
|
"stroke-linejoin": "round",
|
|
1949
1958
|
"stroke-linecap": "round"
|
|
1950
|
-
}, null, 8,
|
|
1951
|
-
R.value.usePerformanceMode ? x("", !0) : (D(!0), S(v, { key: 8 }, k(K.value, (e, t) => (D(), S("g", { key: e.id }, [!e.shape || e.shape === "circle" ? (D(), S("g",
|
|
1959
|
+
}, null, 8, Ot)) : x("", !0)]))), 256))])) : x("", !0),
|
|
1960
|
+
R.value.usePerformanceMode ? x("", !0) : (D(!0), S(v, { key: 8 }, k(K.value, (e, t) => (D(), S("g", { key: e.id }, [!e.shape || e.shape === "circle" ? (D(), S("g", kt, [(D(!0), S(v, null, k(e.plots, (n, r) => (D(), S("circle", {
|
|
1952
1961
|
key: n.id,
|
|
1953
1962
|
cx: n.x,
|
|
1954
1963
|
cy: n.y,
|
|
@@ -1956,11 +1965,11 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
1956
1965
|
fill: M(l)(e.color, Y.value && Y.value !== n.id || Z.value.length && !Z.value.includes(n.id) ? R.value.style.layout.plots.opacityNotSelected * 100 : R.value.style.layout.plots.opacity * 100),
|
|
1957
1966
|
stroke: R.value.style.layout.plots.stroke,
|
|
1958
1967
|
"stroke-width": R.value.style.layout.plots.strokeWidth,
|
|
1959
|
-
style: E(`opacity:${Y.value && Y.value === n.id || Z.value.includes(n.id) ? 1 : R.value.style.layout.plots.significance.useDistanceOpacity ? 1 - Math.abs(n.deviation) /
|
|
1960
|
-
onMouseover: (e) =>
|
|
1961
|
-
onMouseleave: (e) =>
|
|
1962
|
-
onClick: (e) =>
|
|
1963
|
-
}, null, 44,
|
|
1968
|
+
style: E(`opacity:${Y.value && Y.value === n.id || Z.value.includes(n.id) ? 1 : R.value.style.layout.plots.significance.useDistanceOpacity ? 1 - Math.abs(n.deviation) / Rr.value : R.value.style.layout.plots.significance.show && Math.abs(n.deviation) > R.value.style.layout.plots.significance.deviationThreshold ? R.value.style.layout.plots.significance.opacity : 1}`),
|
|
1969
|
+
onMouseover: (e) => Zr(n, t, "pointer", $.value.get(n.id)),
|
|
1970
|
+
onMouseleave: (e) => Qr(n, t),
|
|
1971
|
+
onClick: (e) => $r(n, t)
|
|
1972
|
+
}, null, 44, At))), 128))])) : (D(), S("g", jt, [(D(!0), S(v, null, k(e.plots, (n, r) => (D(), b(_e, {
|
|
1964
1973
|
class: "vue-ui-scatter-datapoint",
|
|
1965
1974
|
plot: {
|
|
1966
1975
|
x: n.x,
|
|
@@ -1971,10 +1980,10 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
1971
1980
|
color: M(l)(e.color, Y.value && Y.value !== n.id || Z.value.length && !Z.value.includes(n.id) ? R.value.style.layout.plots.opacityNotSelected * 100 : R.value.style.layout.plots.opacity * 100),
|
|
1972
1981
|
stroke: R.value.style.layout.plots.stroke,
|
|
1973
1982
|
strokeWidth: R.value.style.layout.plots.strokeWidth,
|
|
1974
|
-
style: E(`opacity:${Y.value && Y.value === n.id || Z.value.includes(n.id) ? 1 : R.value.style.layout.plots.significance.useDistanceOpacity ? 1 - Math.abs(n.deviation) /
|
|
1975
|
-
onMouseover: (e) =>
|
|
1976
|
-
onMouseleave: (e) =>
|
|
1977
|
-
onClick: (e) =>
|
|
1983
|
+
style: E(`opacity:${Y.value && Y.value === n.id || Z.value.includes(n.id) ? 1 : R.value.style.layout.plots.significance.useDistanceOpacity ? 1 - Math.abs(n.deviation) / Rr.value : R.value.style.layout.plots.significance.show && Math.abs(n.deviation) > R.value.style.layout.plots.significance.deviationThreshold ? R.value.style.layout.plots.significance.opacity : 1}`),
|
|
1984
|
+
onMouseover: (e) => Zr(n, t, "pointer", $.value.get(n.id)),
|
|
1985
|
+
onMouseleave: (e) => Qr(n, t),
|
|
1986
|
+
onClick: (e) => $r(n, t)
|
|
1978
1987
|
}, null, 8, [
|
|
1979
1988
|
"plot",
|
|
1980
1989
|
"radius",
|
|
@@ -1993,12 +2002,12 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
1993
2002
|
"text-anchor": "middle",
|
|
1994
2003
|
"font-size": R.value.style.layout.plots.name.fontSize,
|
|
1995
2004
|
fill: M(l)(R.value.style.layout.plots.name.color, Y.value && Y.value !== e.id || Z.value.length && !Z.value.includes(e.id) ? R.value.style.layout.plots.opacityNotSelected * 100 : 100),
|
|
1996
|
-
onMouseover: (n) =>
|
|
1997
|
-
onMouseleave: (n) =>
|
|
1998
|
-
onClick: (n) =>
|
|
1999
|
-
}, j(e.clusterName), 41,
|
|
2005
|
+
onMouseover: (n) => Zr(e, t, "pointer", $.value.get(e.id)),
|
|
2006
|
+
onMouseleave: (n) => Qr(e, t),
|
|
2007
|
+
onClick: (n) => $r(e, t)
|
|
2008
|
+
}, j(e.clusterName), 41, Mt))), 128)) : x("", !0)]))), 128)),
|
|
2000
2009
|
R.value.usePerformanceMode ? (D(), S(v, { key: 9 }, [
|
|
2001
|
-
C("g", { "clip-path": `url(#clip_path_${F.value})` }, [(D(!0), S(v, null, k(
|
|
2010
|
+
C("g", { "clip-path": `url(#clip_path_${F.value})` }, [(D(!0), S(v, null, k(yi.value, (e) => (D(), S("path", {
|
|
2002
2011
|
key: e.id,
|
|
2003
2012
|
d: e.d,
|
|
2004
2013
|
fill: e.fill,
|
|
@@ -2007,15 +2016,15 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
2007
2016
|
"stroke-opacity": e.strokeOpacity,
|
|
2008
2017
|
"vector-effect": "non-scaling-stroke",
|
|
2009
2018
|
"paint-order": "fill"
|
|
2010
|
-
}, null, 8,
|
|
2011
|
-
X.value && R.value.style.layout.plots.selectors.show ? (D(), S("g",
|
|
2019
|
+
}, null, 8, Pt))), 128))], 8, Nt),
|
|
2020
|
+
X.value && R.value.style.layout.plots.selectors.show ? (D(), S("g", Ft, [je(_e, {
|
|
2012
2021
|
shape: X.value.shape || "circle",
|
|
2013
2022
|
color: X.value.color,
|
|
2014
2023
|
plot: {
|
|
2015
2024
|
x: X.value.x,
|
|
2016
2025
|
y: X.value.y
|
|
2017
2026
|
},
|
|
2018
|
-
radius: Math.max(4 *
|
|
2027
|
+
radius: Math.max(4 * _i[X.value.shape || "circle"], X.value.weight * R.value.style.layout.plots.hoverRadiusRatio),
|
|
2019
2028
|
stroke: R.value.style.layout.plots.stroke,
|
|
2020
2029
|
strokeWidth: R.value.style.layout.plots.strokeWidth
|
|
2021
2030
|
}, null, 8, [
|
|
@@ -2027,19 +2036,19 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
2027
2036
|
"strokeWidth"
|
|
2028
2037
|
])])) : x("", !0),
|
|
2029
2038
|
C("rect", {
|
|
2030
|
-
x:
|
|
2031
|
-
y:
|
|
2032
|
-
width: Math.max(1e-4,
|
|
2033
|
-
height: Math.max(1e-4,
|
|
2039
|
+
x: H.value.left,
|
|
2040
|
+
y: H.value.top,
|
|
2041
|
+
width: Math.max(1e-4, H.value.width),
|
|
2042
|
+
height: Math.max(1e-4, H.value.height),
|
|
2034
2043
|
fill: "transparent",
|
|
2035
|
-
onMousemove: t[2] ||= (...e) => M(
|
|
2036
|
-
onMouseleave:
|
|
2037
|
-
onClick:
|
|
2038
|
-
}, null, 40,
|
|
2044
|
+
onMousemove: t[2] ||= (...e) => M(xi) && M(xi)(...e),
|
|
2045
|
+
onMouseleave: Si,
|
|
2046
|
+
onClick: Ci
|
|
2047
|
+
}, null, 40, It)
|
|
2039
2048
|
], 64)) : x("", !0),
|
|
2040
|
-
(D(!0), S(v, null, k(
|
|
2049
|
+
(D(!0), S(v, null, k(Jr.value, (e) => (D(), S(v, { key: `selector_${e.id}` }, [R.value.style.layout.plots.selectors.show ? (D(), S("g", Lt, [
|
|
2041
2050
|
C("line", {
|
|
2042
|
-
x1:
|
|
2051
|
+
x1: W.value.x,
|
|
2043
2052
|
x2: e.x,
|
|
2044
2053
|
y1: e.y,
|
|
2045
2054
|
y2: e.y,
|
|
@@ -2048,36 +2057,36 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
2048
2057
|
"stroke-dasharray": R.value.style.layout.plots.selectors.strokeDasharray,
|
|
2049
2058
|
"stroke-linecap": "round",
|
|
2050
2059
|
class: "line-pointer"
|
|
2051
|
-
}, null, 8,
|
|
2060
|
+
}, null, 8, Rt),
|
|
2052
2061
|
C("line", {
|
|
2053
2062
|
x1: e.x,
|
|
2054
2063
|
x2: e.x,
|
|
2055
|
-
y1:
|
|
2064
|
+
y1: W.value.y,
|
|
2056
2065
|
y2: e.y,
|
|
2057
2066
|
stroke: R.value.style.layout.plots.selectors.stroke,
|
|
2058
2067
|
"stroke-width": R.value.style.layout.plots.selectors.strokeWidth,
|
|
2059
2068
|
"stroke-dasharray": R.value.style.layout.plots.selectors.strokeDasharray,
|
|
2060
2069
|
"stroke-linecap": "round",
|
|
2061
2070
|
class: "line-pointer"
|
|
2062
|
-
}, null, 8,
|
|
2071
|
+
}, null, 8, zt),
|
|
2063
2072
|
R.value.style.layout.dataLabels.yAxis.scales.show ? x("", !0) : (D(), S("text", {
|
|
2064
2073
|
key: 0,
|
|
2065
|
-
x:
|
|
2074
|
+
x: W.value.x + (e.x > W.value.x ? -6 : 6),
|
|
2066
2075
|
y: e.y + R.value.style.layout.plots.selectors.labels.fontSize / 3,
|
|
2067
2076
|
"font-size": R.value.style.layout.plots.selectors.labels.fontSize,
|
|
2068
2077
|
fill: R.value.style.layout.plots.selectors.labels.color,
|
|
2069
2078
|
"font-weight": R.value.style.layout.plots.selectors.labels.bold ? "bold" : "normal",
|
|
2070
|
-
"text-anchor": e.x >
|
|
2079
|
+
"text-anchor": e.x > W.value.x ? "end" : "start"
|
|
2071
2080
|
}, j(M(g)(R.value.style.layout.plots.selectors.labels.y.formatter, M(_)(e.v.y), M(i)({
|
|
2072
2081
|
p: R.value.style.layout.plots.selectors.labels.prefix,
|
|
2073
2082
|
v: M(_)(e.v.y),
|
|
2074
2083
|
s: R.value.style.layout.plots.selectors.labels.suffix,
|
|
2075
2084
|
r: R.value.style.layout.plots.selectors.labels.rounding
|
|
2076
|
-
}), { datapoint: e })), 9,
|
|
2085
|
+
}), { datapoint: e })), 9, Bt)),
|
|
2077
2086
|
R.value.style.layout.dataLabels.xAxis.scales.show ? x("", !0) : (D(), S("text", {
|
|
2078
2087
|
key: 1,
|
|
2079
2088
|
x: e.x,
|
|
2080
|
-
y:
|
|
2089
|
+
y: W.value.y + (e.y > W.value.y ? -6 : R.value.style.layout.plots.selectors.labels.fontSize + 6),
|
|
2081
2090
|
"font-size": R.value.style.layout.plots.selectors.labels.fontSize,
|
|
2082
2091
|
fill: R.value.style.layout.plots.selectors.labels.color,
|
|
2083
2092
|
"font-weight": R.value.style.layout.plots.selectors.labels.bold ? "bold" : "normal",
|
|
@@ -2087,134 +2096,134 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
2087
2096
|
v: M(_)(e.v.x),
|
|
2088
2097
|
s: R.value.style.layout.plots.selectors.labels.suffix,
|
|
2089
2098
|
r: R.value.style.layout.plots.selectors.labels.rounding
|
|
2090
|
-
}), { datapoint: e })), 9,
|
|
2099
|
+
}), { datapoint: e })), 9, Vt)),
|
|
2091
2100
|
R.value.style.layout.dataLabels.xAxis.scales.show ? (D(), S("text", {
|
|
2092
2101
|
key: 2,
|
|
2093
2102
|
x: e.x,
|
|
2094
|
-
y:
|
|
2103
|
+
y: W.value.y + R.value.style.layout.dataLabels.xAxis.scales.labels.fontSize + 6 + R.value.style.layout.dataLabels.xAxis.scales.labels.offsetY,
|
|
2095
2104
|
"text-anchor": "middle",
|
|
2096
2105
|
"font-size": R.value.style.layout.dataLabels.xAxis.scales.labels.fontSize,
|
|
2097
2106
|
fill: R.value.style.layout.dataLabels.xAxis.scales.labels.color
|
|
2098
|
-
}, j(
|
|
2107
|
+
}, j(Yr(e)), 9, Ht)) : x("", !0),
|
|
2099
2108
|
R.value.style.layout.dataLabels.yAxis.scales.show ? (D(), S("text", {
|
|
2100
2109
|
key: 3,
|
|
2101
|
-
x:
|
|
2110
|
+
x: W.value.x - R.value.style.layout.dataLabels.yAxis.scales.labels.fontSize / 2 - 8 + R.value.style.layout.dataLabels.yAxis.scales.labels.offsetX,
|
|
2102
2111
|
y: e.y + R.value.style.layout.dataLabels.yAxis.scales.labels.fontSize / 3,
|
|
2103
2112
|
"text-anchor": "end",
|
|
2104
2113
|
"font-size": R.value.style.layout.dataLabels.yAxis.scales.labels.fontSize,
|
|
2105
2114
|
fill: R.value.style.layout.dataLabels.yAxis.scales.labels.color
|
|
2106
|
-
}, j(
|
|
2115
|
+
}, j(Xr(e)), 9, Ut)) : x("", !0),
|
|
2107
2116
|
C("circle", {
|
|
2108
|
-
cx:
|
|
2117
|
+
cx: W.value.x,
|
|
2109
2118
|
cy: e.y,
|
|
2110
2119
|
r: R.value.style.layout.plots.selectors.markers.radius,
|
|
2111
2120
|
fill: R.value.style.layout.plots.selectors.markers.fill,
|
|
2112
2121
|
stroke: R.value.style.layout.plots.selectors.markers.stroke,
|
|
2113
2122
|
"stroke-width": R.value.style.layout.plots.selectors.markers.strokeWidth,
|
|
2114
2123
|
class: "line-pointer"
|
|
2115
|
-
}, null, 8,
|
|
2124
|
+
}, null, 8, Wt),
|
|
2116
2125
|
C("circle", {
|
|
2117
2126
|
cx: e.x,
|
|
2118
|
-
cy:
|
|
2127
|
+
cy: W.value.y,
|
|
2119
2128
|
r: R.value.style.layout.plots.selectors.markers.radius,
|
|
2120
2129
|
fill: R.value.style.layout.plots.selectors.markers.fill,
|
|
2121
2130
|
stroke: R.value.style.layout.plots.selectors.markers.stroke,
|
|
2122
2131
|
"stroke-width": R.value.style.layout.plots.selectors.markers.strokeWidth,
|
|
2123
2132
|
class: "line-pointer"
|
|
2124
|
-
}, null, 8,
|
|
2133
|
+
}, null, 8, Gt),
|
|
2125
2134
|
R.value.style.layout.plots.selectors.labels.showName && !R.value.style.layout.plots.name.show ? (D(), S("text", {
|
|
2126
2135
|
key: 4,
|
|
2127
2136
|
x: e.x,
|
|
2128
|
-
y: e.y + (e.y <
|
|
2137
|
+
y: e.y + (e.y < W.value.y ? -R.value.style.layout.plots.selectors.labels.fontSize / 2 : R.value.style.layout.plots.selectors.labels.fontSize),
|
|
2129
2138
|
"font-size": R.value.style.layout.plots.selectors.labels.fontSize,
|
|
2130
2139
|
fill: R.value.style.layout.plots.selectors.labels.color,
|
|
2131
2140
|
"font-weight": R.value.style.layout.plots.selectors.labels.bold ? "bold" : "normal",
|
|
2132
|
-
"text-anchor": e.x <
|
|
2133
|
-
}, j(e.v.name), 9,
|
|
2141
|
+
"text-anchor": e.x < H.value.left + 100 ? "start" : e.x > H.value.right - 100 ? "end" : e.x > W.value.x ? "start" : "end"
|
|
2142
|
+
}, j(e.v.name), 9, Kt)) : x("", !0)
|
|
2134
2143
|
])) : x("", !0)], 64))), 128)),
|
|
2135
2144
|
R.value.style.layout.dataLabels.xAxis.show ? (D(), S("g", {
|
|
2136
2145
|
key: 10,
|
|
2137
2146
|
ref_key: "xAxisLabelLeft",
|
|
2138
|
-
ref:
|
|
2147
|
+
ref: Un
|
|
2139
2148
|
}, [C("text", {
|
|
2140
2149
|
id: `vue-ui-scatter-xAxis-label-${F.value}`,
|
|
2141
|
-
transform: `translate(${R.value.style.layout.dataLabels.xAxis.fontSize + (R.value.style.layout.dataLabels.reverseAxisLabels ? R.value.style.layout.dataLabels.yAxis.offsetX : R.value.style.layout.dataLabels.xAxis.offsetX)}, ${
|
|
2150
|
+
transform: `translate(${R.value.style.layout.dataLabels.xAxis.fontSize + (R.value.style.layout.dataLabels.reverseAxisLabels ? R.value.style.layout.dataLabels.yAxis.offsetX : R.value.style.layout.dataLabels.xAxis.offsetX)}, ${H.value.top + H.value.height / 2 + (R.value.style.layout.dataLabels.reverseAxisLabels ? R.value.style.layout.dataLabels.yAxis.offsetY : R.value.style.layout.dataLabels.xAxis.offsetY)}), rotate(-90)`,
|
|
2142
2151
|
"text-anchor": "middle",
|
|
2143
2152
|
"font-size": R.value.style.layout.dataLabels.xAxis.fontSize,
|
|
2144
2153
|
"font-weight": R.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
|
|
2145
2154
|
fill: R.value.style.layout.dataLabels.xAxis.color
|
|
2146
|
-
}, j(R.value.style.layout.dataLabels.reverseAxisLabels ? R.value.style.layout.dataLabels.yAxis.name : R.value.style.layout.dataLabels.xAxis.name), 9,
|
|
2155
|
+
}, j(R.value.style.layout.dataLabels.reverseAxisLabels ? R.value.style.layout.dataLabels.yAxis.name : R.value.style.layout.dataLabels.xAxis.name), 9, qt), R.value.style.layout.dataLabels.xAxis.showValue ? (D(), S("text", {
|
|
2147
2156
|
key: 0,
|
|
2148
2157
|
"text-anchor": "middle",
|
|
2149
2158
|
"font-size": R.value.style.layout.dataLabels.xAxis.fontSize,
|
|
2150
2159
|
fill: R.value.style.layout.dataLabels.xAxis.color,
|
|
2151
|
-
transform: `translate(${R.value.style.layout.dataLabels.xAxis.name ? R.value.style.layout.dataLabels.xAxis.fontSize * 3 : 0}, ${
|
|
2152
|
-
}, j(M(g)(R.value.style.layout.plots.selectors.labels.x.formatter, M(_)(
|
|
2160
|
+
transform: `translate(${R.value.style.layout.dataLabels.xAxis.name ? R.value.style.layout.dataLabels.xAxis.fontSize * 3 : 0}, ${W.value.y + R.value.style.layout.dataLabels.xAxis.fontSize / 3}), rotate(-90)`
|
|
2161
|
+
}, j(M(g)(R.value.style.layout.plots.selectors.labels.x.formatter, M(_)(U.value.xMin), M(i)({
|
|
2153
2162
|
p: R.value.style.layout.plots.selectors.labels.prefix,
|
|
2154
|
-
v: M(_)(
|
|
2163
|
+
v: M(_)(U.value.xMin),
|
|
2155
2164
|
s: R.value.style.layout.plots.selectors.labels.suffix,
|
|
2156
2165
|
r: R.value.style.layout.dataLabels.xAxis.rounding
|
|
2157
|
-
}))), 9,
|
|
2166
|
+
}))), 9, Jt)) : x("", !0)], 512)) : x("", !0),
|
|
2158
2167
|
R.value.style.layout.dataLabels.xAxis.show && R.value.style.layout.dataLabels.xAxis.showValue ? (D(), S("text", {
|
|
2159
2168
|
key: 11,
|
|
2160
2169
|
ref_key: "xAxisLabelRight",
|
|
2161
|
-
ref:
|
|
2170
|
+
ref: Wn,
|
|
2162
2171
|
"text-anchor": "middle",
|
|
2163
|
-
transform: `translate(${
|
|
2172
|
+
transform: `translate(${H.value.right + R.value.style.layout.padding.right + 6}, ${W.value.y + R.value.style.layout.dataLabels.xAxis.fontSize / 3}), rotate(-90)`,
|
|
2164
2173
|
"font-size": R.value.style.layout.dataLabels.xAxis.fontSize,
|
|
2165
2174
|
fill: R.value.style.layout.dataLabels.xAxis.color
|
|
2166
|
-
}, j(M(g)(R.value.style.layout.plots.selectors.labels.x.formatter, M(_)(
|
|
2175
|
+
}, j(M(g)(R.value.style.layout.plots.selectors.labels.x.formatter, M(_)(U.value.xMax), M(i)({
|
|
2167
2176
|
p: R.value.style.layout.plots.selectors.labels.prefix,
|
|
2168
|
-
v: M(_)(
|
|
2177
|
+
v: M(_)(U.value.xMax),
|
|
2169
2178
|
s: R.value.style.layout.plots.selectors.labels.suffix,
|
|
2170
2179
|
r: R.value.style.layout.dataLabels.xAxis.rounding
|
|
2171
|
-
}))), 9,
|
|
2180
|
+
}))), 9, Yt)) : x("", !0),
|
|
2172
2181
|
R.value.style.layout.dataLabels.yAxis.show && R.value.style.layout.dataLabels.yAxis.showValue ? (D(), S("text", {
|
|
2173
2182
|
key: 12,
|
|
2174
2183
|
ref_key: "yAxisLabelTop",
|
|
2175
|
-
ref:
|
|
2176
|
-
x:
|
|
2177
|
-
y:
|
|
2184
|
+
ref: Gn,
|
|
2185
|
+
x: W.value.x,
|
|
2186
|
+
y: H.value.top - R.value.style.layout.dataLabels.yAxis.fontSize,
|
|
2178
2187
|
"text-anchor": "middle",
|
|
2179
2188
|
"font-size": R.value.style.layout.dataLabels.yAxis.fontSize,
|
|
2180
2189
|
fill: R.value.style.layout.dataLabels.yAxis.color
|
|
2181
|
-
}, j(M(g)(R.value.style.layout.plots.selectors.labels.y.formatter, M(_)(
|
|
2190
|
+
}, j(M(g)(R.value.style.layout.plots.selectors.labels.y.formatter, M(_)(U.value.yMax), M(i)({
|
|
2182
2191
|
p: R.value.style.layout.plots.selectors.labels.prefix,
|
|
2183
|
-
v: M(_)(
|
|
2192
|
+
v: M(_)(U.value.yMax),
|
|
2184
2193
|
s: R.value.style.layout.plots.selectors.labels.suffix,
|
|
2185
2194
|
r: R.value.style.layout.dataLabels.yAxis.rounding
|
|
2186
|
-
}))), 9,
|
|
2195
|
+
}))), 9, Xt)) : x("", !0),
|
|
2187
2196
|
R.value.style.layout.dataLabels.yAxis.show ? (D(), S("g", {
|
|
2188
2197
|
key: 13,
|
|
2189
2198
|
ref_key: "yAxisLabelBottom",
|
|
2190
|
-
ref:
|
|
2199
|
+
ref: Kn
|
|
2191
2200
|
}, [R.value.style.layout.dataLabels.yAxis.showValue ? (D(), S("text", {
|
|
2192
2201
|
key: 0,
|
|
2193
|
-
x:
|
|
2194
|
-
y:
|
|
2202
|
+
x: W.value.x,
|
|
2203
|
+
y: V.value.height - R.value.style.layout.dataLabels.yAxis.fontSize * 2,
|
|
2195
2204
|
"text-anchor": "middle",
|
|
2196
2205
|
"font-size": R.value.style.layout.dataLabels.yAxis.fontSize,
|
|
2197
2206
|
fill: R.value.style.layout.dataLabels.yAxis.color
|
|
2198
|
-
}, j(M(g)(R.value.style.layout.plots.selectors.labels.y.formatter, M(_)(
|
|
2207
|
+
}, j(M(g)(R.value.style.layout.plots.selectors.labels.y.formatter, M(_)(U.value.yMin), M(i)({
|
|
2199
2208
|
p: R.value.style.layout.plots.selectors.labels.prefix,
|
|
2200
|
-
v: M(_)(
|
|
2209
|
+
v: M(_)(U.value.yMin),
|
|
2201
2210
|
s: R.value.style.layout.plots.selectors.labels.suffix,
|
|
2202
2211
|
r: R.value.style.layout.dataLabels.yAxis.rounding
|
|
2203
|
-
}))), 9,
|
|
2212
|
+
}))), 9, Zt)) : x("", !0), C("text", {
|
|
2204
2213
|
"text-anchor": "middle",
|
|
2205
2214
|
"font-size": R.value.style.layout.dataLabels.yAxis.fontSize,
|
|
2206
2215
|
"font-weight": R.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal",
|
|
2207
2216
|
fill: R.value.style.layout.dataLabels.yAxis.color,
|
|
2208
|
-
x:
|
|
2209
|
-
y:
|
|
2210
|
-
}, j(R.value.style.layout.dataLabels.reverseAxisLabels ? R.value.style.layout.dataLabels.xAxis.name : R.value.style.layout.dataLabels.yAxis.name), 9,
|
|
2217
|
+
x: H.value.left + H.value.width / 2 + (R.value.style.layout.dataLabels.reverseAxisLabels ? R.value.style.layout.dataLabels.xAxis.offsetX : R.value.style.layout.dataLabels.yAxis.offsetX),
|
|
2218
|
+
y: V.value.height + (R.value.style.layout.dataLabels.reverseAxisLabels ? R.value.style.layout.dataLabels.xAxis.offsetY : R.value.style.layout.dataLabels.yAxis.offsetY)
|
|
2219
|
+
}, j(R.value.style.layout.dataLabels.reverseAxisLabels ? R.value.style.layout.dataLabels.xAxis.name : R.value.style.layout.dataLabels.yAxis.name), 9, Qt)], 512)) : x("", !0),
|
|
2211
2220
|
C("clipPath", { id: `clip_path_${F.value}` }, [C("rect", {
|
|
2212
|
-
x:
|
|
2213
|
-
y:
|
|
2214
|
-
width:
|
|
2215
|
-
height:
|
|
2216
|
-
}, null, 8,
|
|
2217
|
-
R.value.style.layout.correlation.show ? (D(), S("g",
|
|
2221
|
+
x: H.value.left,
|
|
2222
|
+
y: H.value.top,
|
|
2223
|
+
width: H.value.width <= 0 ? 1e-4 : H.value.width,
|
|
2224
|
+
height: H.value.height <= 0 ? 1e-4 : H.value.height
|
|
2225
|
+
}, null, 8, en)], 8, $t),
|
|
2226
|
+
R.value.style.layout.correlation.show ? (D(), S("g", tn, [(D(!0), S(v, null, k(K.value.filter((e) => e.correlation), (e, t) => (D(), S("line", {
|
|
2218
2227
|
x1: e.correlation.x1,
|
|
2219
2228
|
x2: e.correlation.x2,
|
|
2220
2229
|
y1: e.correlation.y1,
|
|
@@ -2223,7 +2232,7 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
2223
2232
|
stroke: e.color,
|
|
2224
2233
|
"stroke-width": R.value.style.layout.correlation.strokeWidth,
|
|
2225
2234
|
"clip-path": `url(#clip_path_${F.value})`
|
|
2226
|
-
}, null, 8,
|
|
2235
|
+
}, null, 8, nn))), 256)), (D(!0), S(v, null, k(K.value.filter((e) => e.correlation), (e, t) => (D(), S("g", null, [R.value.style.layout.correlation.label.show ? (D(), S("text", {
|
|
2227
2236
|
key: 0,
|
|
2228
2237
|
x: e.correlation.x2,
|
|
2229
2238
|
y: e.correlation.y2,
|
|
@@ -2234,48 +2243,48 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
2234
2243
|
}, j(M(i)({
|
|
2235
2244
|
v: M(_)(e.correlation?.coefficient ?? 0),
|
|
2236
2245
|
r: R.value.style.layout.correlation.label.roundingValue
|
|
2237
|
-
})), 9,
|
|
2246
|
+
})), 9, rn)) : x("", !0)]))), 256))])) : x("", !0),
|
|
2238
2247
|
A(e.$slots, "svg", { svg: {
|
|
2239
|
-
...
|
|
2248
|
+
...V.value,
|
|
2240
2249
|
drawingArea: {
|
|
2241
|
-
...
|
|
2242
|
-
zero:
|
|
2250
|
+
...H.value,
|
|
2251
|
+
zero: W.value
|
|
2243
2252
|
},
|
|
2244
|
-
data:
|
|
2245
|
-
isPrintingImg: M(
|
|
2246
|
-
isPrintingSvg:
|
|
2253
|
+
data: Lr.value,
|
|
2254
|
+
isPrintingImg: M(mr) || M(hr) || Vn.value,
|
|
2255
|
+
isPrintingSvg: Hn.value
|
|
2247
2256
|
} }, void 0, !0)
|
|
2248
|
-
], 46,
|
|
2257
|
+
], 46, Je)), e.$slots.hint ? (D(), S("div", an, [A(e.$slots, "hint", T(w({
|
|
2249
2258
|
hint: R.value.a11y.translations.keyboardNavigation,
|
|
2250
|
-
isVisible:
|
|
2259
|
+
isVisible: Qn.value
|
|
2251
2260
|
})), void 0, !0)])) : x("", !0)]),
|
|
2252
|
-
e.$slots.watermark ? (D(), S("div",
|
|
2253
|
-
C("div", { id: `legend-bottom-${F.value}` }, null, 8,
|
|
2254
|
-
|
|
2261
|
+
e.$slots.watermark ? (D(), S("div", on, [A(e.$slots, "watermark", T(w({ isPrinting: M(mr) || M(hr) || Vn.value || Hn.value })), void 0, !0)])) : x("", !0),
|
|
2262
|
+
C("div", { id: `legend-bottom-${F.value}` }, null, 8, sn),
|
|
2263
|
+
Tn.value && In.value && (R.value.style.legend.show || e.$slots.legend) ? (D(), b(Oe, {
|
|
2255
2264
|
key: 7,
|
|
2256
2265
|
to: R.value.style.legend.position === "top" ? `#legend-top-${F.value}` : `#legend-bottom-${F.value}`
|
|
2257
2266
|
}, [C("div", {
|
|
2258
2267
|
ref_key: "chartLegend",
|
|
2259
|
-
ref:
|
|
2260
|
-
}, [A(e.$slots, "legend", { legend:
|
|
2261
|
-
key: `legend_${
|
|
2262
|
-
legendSet:
|
|
2263
|
-
config:
|
|
2264
|
-
isCursorPointer:
|
|
2265
|
-
onClickMarker: t[3] ||= ({ legend: e }) =>
|
|
2268
|
+
ref: An
|
|
2269
|
+
}, [A(e.$slots, "legend", { legend: G.value }, () => [R.value.style.legend.show ? (D(), b(Ee, {
|
|
2270
|
+
key: `legend_${Fn.value}`,
|
|
2271
|
+
legendSet: G.value,
|
|
2272
|
+
config: Ir.value,
|
|
2273
|
+
isCursorPointer: er.value,
|
|
2274
|
+
onClickMarker: t[3] ||= ({ legend: e }) => ti(e.id)
|
|
2266
2275
|
}, {
|
|
2267
2276
|
item: N(({ legend: e }) => [C("div", {
|
|
2268
2277
|
onClick: (t) => e.segregate(),
|
|
2269
2278
|
style: E(`opacity:${L.value.includes(e.id) ? .5 : 1}`)
|
|
2270
|
-
}, j(e.name), 13,
|
|
2271
|
-
legendToggle: N(() => [
|
|
2279
|
+
}, j(e.name), 13, cn)]),
|
|
2280
|
+
legendToggle: N(() => [G.value.length > 2 && R.value.style.legend.selectAllToggle.show && !M(rr) ? (D(), b(Se, {
|
|
2272
2281
|
key: 0,
|
|
2273
2282
|
backgroundColor: R.value.style.legend.selectAllToggle.backgroundColor,
|
|
2274
2283
|
color: R.value.style.legend.selectAllToggle.color,
|
|
2275
2284
|
fontSize: R.value.style.legend.fontSize,
|
|
2276
2285
|
checked: L.value.length > 0,
|
|
2277
|
-
isCursorPointer:
|
|
2278
|
-
onToggle:
|
|
2286
|
+
isCursorPointer: er.value,
|
|
2287
|
+
onToggle: ei
|
|
2279
2288
|
}, null, 8, [
|
|
2280
2289
|
"backgroundColor",
|
|
2281
2290
|
"color",
|
|
@@ -2292,12 +2301,12 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
2292
2301
|
e.$slots.source ? (D(), S("div", {
|
|
2293
2302
|
key: 8,
|
|
2294
2303
|
ref_key: "source",
|
|
2295
|
-
ref:
|
|
2304
|
+
ref: jn,
|
|
2296
2305
|
dir: "auto"
|
|
2297
2306
|
}, [A(e.$slots, "source", {}, void 0, !0)], 512)) : x("", !0),
|
|
2298
|
-
|
|
2307
|
+
je(M(pn), {
|
|
2299
2308
|
teleportTo: R.value.style.tooltip.teleportTo,
|
|
2300
|
-
show:
|
|
2309
|
+
show: B.value.showTooltip && En.value,
|
|
2301
2310
|
backgroundColor: R.value.style.tooltip.backgroundColor,
|
|
2302
2311
|
color: R.value.style.tooltip.color,
|
|
2303
2312
|
borderRadius: R.value.style.tooltip.borderRadius,
|
|
@@ -2309,20 +2318,20 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
2309
2318
|
offsetX: R.value.style.tooltip.offsetX,
|
|
2310
2319
|
offsetY: R.value.style.tooltip.offsetY,
|
|
2311
2320
|
parent: I.value,
|
|
2312
|
-
content:
|
|
2313
|
-
isFullscreen:
|
|
2321
|
+
content: Dn.value,
|
|
2322
|
+
isFullscreen: si.value,
|
|
2314
2323
|
isCustom: R.value.style.tooltip.customFormat && typeof R.value.style.tooltip.customFormat == "function",
|
|
2315
2324
|
smooth: R.value.style.tooltip.smooth,
|
|
2316
2325
|
backdropFilter: R.value.style.tooltip.backdropFilter,
|
|
2317
2326
|
smoothForce: R.value.style.tooltip.smoothForce,
|
|
2318
2327
|
smoothSnapThreshold: R.value.style.tooltip.smoothSnapThreshold,
|
|
2319
|
-
isA11yMode:
|
|
2320
|
-
a11yPosition:
|
|
2328
|
+
isA11yMode: Zn.value === "keyboard",
|
|
2329
|
+
a11yPosition: Xn.value
|
|
2321
2330
|
}, {
|
|
2322
|
-
"tooltip-before": N(() => [A(e.$slots, "tooltip-before", T(w({ ...
|
|
2323
|
-
tooltip: N(() => [A(e.$slots, "tooltip", T(w({ ...
|
|
2324
|
-
"tooltip-after": N(() => [A(e.$slots, "tooltip-after", T(w({ ...
|
|
2325
|
-
default: N(() => [R.value.style.tooltip.showShape ? (D(), S("div",
|
|
2331
|
+
"tooltip-before": N(() => [A(e.$slots, "tooltip-before", T(w({ ...Hr.value })), void 0, !0)]),
|
|
2332
|
+
tooltip: N(() => [A(e.$slots, "tooltip", T(w({ ...Hr.value })), void 0, !0)]),
|
|
2333
|
+
"tooltip-after": N(() => [A(e.$slots, "tooltip-after", T(w({ ...Hr.value })), void 0, !0)]),
|
|
2334
|
+
default: N(() => [R.value.style.tooltip.showShape ? (D(), S("div", ln, [(D(), S("svg", un, [je(_e, {
|
|
2326
2335
|
shape: X.value.shape,
|
|
2327
2336
|
color: X.value.color,
|
|
2328
2337
|
plot: {
|
|
@@ -2356,27 +2365,27 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
2356
2365
|
"isA11yMode",
|
|
2357
2366
|
"a11yPosition"
|
|
2358
2367
|
]),
|
|
2359
|
-
|
|
2368
|
+
Tn.value && R.value.userOptions.buttons.table ? (D(), b(Re(wi.value.component), Ne({ key: 9 }, wi.value.props, {
|
|
2360
2369
|
ref_key: "tableUnit",
|
|
2361
|
-
ref:
|
|
2362
|
-
onClose:
|
|
2363
|
-
}),
|
|
2364
|
-
content: N(() => [(D(), b(M(
|
|
2365
|
-
key: `table_${
|
|
2366
|
-
colNames:
|
|
2367
|
-
head:
|
|
2368
|
-
body:
|
|
2369
|
-
config:
|
|
2370
|
-
title: R.value.table.useDialog ? "" :
|
|
2370
|
+
ref: zn,
|
|
2371
|
+
onClose: Ti
|
|
2372
|
+
}), ke({
|
|
2373
|
+
content: N(() => [(D(), b(M(gn), {
|
|
2374
|
+
key: `table_${Pn.value}`,
|
|
2375
|
+
colNames: oi.value.colNames,
|
|
2376
|
+
head: oi.value.head,
|
|
2377
|
+
body: oi.value.body,
|
|
2378
|
+
config: oi.value.config,
|
|
2379
|
+
title: R.value.table.useDialog ? "" : wi.value.title,
|
|
2371
2380
|
withCloseButton: !R.value.table.useDialog,
|
|
2372
|
-
isCursorPointer:
|
|
2373
|
-
onClose:
|
|
2381
|
+
isCursorPointer: er.value,
|
|
2382
|
+
onClose: Ti
|
|
2374
2383
|
}, {
|
|
2375
|
-
th: N(({ th: e }) => [
|
|
2376
|
-
td: N(({ td: e }) => [e.shape ? (D(), S("div",
|
|
2384
|
+
th: N(({ th: e }) => [Ae(j(e), 1)]),
|
|
2385
|
+
td: N(({ td: e }) => [e.shape ? (D(), S("div", dn, [C("span", null, j(e.content), 1)])) : (D(), S("div", {
|
|
2377
2386
|
key: 1,
|
|
2378
2387
|
innerHTML: e
|
|
2379
|
-
}, null, 8,
|
|
2388
|
+
}, null, 8, fn))]),
|
|
2380
2389
|
_: 1
|
|
2381
2390
|
}, 8, [
|
|
2382
2391
|
"colNames",
|
|
@@ -2390,24 +2399,24 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
2390
2399
|
_: 2
|
|
2391
2400
|
}, [R.value.table.useDialog ? {
|
|
2392
2401
|
name: "title",
|
|
2393
|
-
fn: N(() => [
|
|
2402
|
+
fn: N(() => [Ae(j(wi.value.title), 1)]),
|
|
2394
2403
|
key: "0"
|
|
2395
2404
|
} : void 0, R.value.table.useDialog ? {
|
|
2396
2405
|
name: "actions",
|
|
2397
2406
|
fn: N(() => [C("button", {
|
|
2398
2407
|
tabindex: "0",
|
|
2399
2408
|
class: "vue-ui-user-options-button",
|
|
2400
|
-
onClick: t[4] ||= (e) =>
|
|
2401
|
-
style: E({ cursor:
|
|
2402
|
-
}, [
|
|
2409
|
+
onClick: t[4] ||= (e) => ai(R.value.userOptions.callbacks.csv),
|
|
2410
|
+
style: E({ cursor: er.value ? "pointer" : "default" })
|
|
2411
|
+
}, [je(M(mn), {
|
|
2403
2412
|
name: "fileCsv",
|
|
2404
|
-
stroke:
|
|
2413
|
+
stroke: wi.value.props.color
|
|
2405
2414
|
}, null, 8, ["stroke"])], 4)]),
|
|
2406
2415
|
key: "1"
|
|
2407
2416
|
} : void 0]), 1040)) : x("", !0),
|
|
2408
|
-
A(e.$slots, "skeleton", {}, () => [M(
|
|
2409
|
-
], 46,
|
|
2417
|
+
A(e.$slots, "skeleton", {}, () => [M(rr) ? (D(), b(de, { key: 0 })) : x("", !0)], !0)
|
|
2418
|
+
], 46, Ue));
|
|
2410
2419
|
}
|
|
2411
|
-
}, [["__scopeId", "data-v-
|
|
2420
|
+
}, [["__scopeId", "data-v-d28b2dc7"]]);
|
|
2412
2421
|
//#endregion
|
|
2413
|
-
export {
|
|
2422
|
+
export { He as n, pn as t };
|