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
|
@@ -1,69 +1,70 @@
|
|
|
1
1
|
import { B as e, G as t, M as n, P as r, R as i, qt as a, r as o, t as ee, xt as te, yt as ne, z as re } from "./lib-JqW18y5I.js";
|
|
2
2
|
import { t as s } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
3
|
-
import { c, r as
|
|
4
|
-
import { t as
|
|
5
|
-
import { t as
|
|
6
|
-
import {
|
|
3
|
+
import { c as ie, r as c } from "./canvas-lib-BOP_HS11.js";
|
|
4
|
+
import { t as ae } from "./useResponsive-BfnK0KxU.js";
|
|
5
|
+
import { t as oe } from "./BaseIcon-UdRAvP2h.js";
|
|
6
|
+
import { t as se } from "./DefGrad-DVBqDjhO.js";
|
|
7
|
+
import { Fragment as l, computed as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createVNode as ce, mergeProps as le, nextTick as ue, normalizeClass as m, normalizeProps as de, normalizeStyle as h, onBeforeUnmount as fe, onMounted as pe, onUpdated as me, openBlock as g, ref as _, renderList as v, renderSlot as he, toDisplayString as ge, unref as _e, useCssVars as ve, vModelText as ye, watch as y, withDirectives as be, withKeys as xe, withModifiers as Se } from "vue";
|
|
7
8
|
//#region src/atoms/SlicerPreview.vue
|
|
8
|
-
var
|
|
9
|
+
var Ce = ["data-minimap"], we = {
|
|
9
10
|
class: "vue-data-ui-slicer-labels",
|
|
10
11
|
style: {
|
|
11
12
|
position: "relative",
|
|
12
13
|
"z-index": "1",
|
|
13
14
|
"pointer-events": "none"
|
|
14
15
|
}
|
|
15
|
-
},
|
|
16
|
+
}, Te = {
|
|
16
17
|
key: 0,
|
|
17
18
|
style: {
|
|
18
19
|
width: "100%",
|
|
19
20
|
position: "relative",
|
|
20
21
|
"pointer-events": "all"
|
|
21
22
|
}
|
|
22
|
-
},
|
|
23
|
+
}, Ee = {
|
|
23
24
|
key: 0,
|
|
24
25
|
class: "minimap",
|
|
25
26
|
style: { width: "100%" }
|
|
26
|
-
},
|
|
27
|
+
}, De = ["xmlns", "viewBox"], Oe = ["id"], ke = [
|
|
27
28
|
"x",
|
|
28
29
|
"width",
|
|
29
30
|
"height"
|
|
30
|
-
],
|
|
31
|
+
], Ae = [
|
|
31
32
|
"width",
|
|
32
33
|
"height",
|
|
33
34
|
"stroke"
|
|
34
|
-
],
|
|
35
|
+
], je = ["d", "stroke"], Me = ["d", "fill"], Ne = [
|
|
35
36
|
"x",
|
|
36
37
|
"y",
|
|
37
38
|
"width",
|
|
38
39
|
"height",
|
|
39
40
|
"fill"
|
|
40
|
-
],
|
|
41
|
+
], Pe = [
|
|
41
42
|
"d",
|
|
42
43
|
"stroke",
|
|
43
44
|
"stroke-dasharray"
|
|
44
|
-
],
|
|
45
|
+
], Fe = [
|
|
45
46
|
"cx",
|
|
46
47
|
"cy",
|
|
47
48
|
"fill",
|
|
48
49
|
"stroke"
|
|
49
|
-
],
|
|
50
|
+
], Ie = [
|
|
50
51
|
"cx",
|
|
51
52
|
"cy",
|
|
52
53
|
"fill",
|
|
53
54
|
"stroke"
|
|
54
|
-
],
|
|
55
|
+
], Le = [
|
|
55
56
|
"x",
|
|
56
57
|
"width",
|
|
57
58
|
"height",
|
|
58
59
|
"fill",
|
|
59
60
|
"rx"
|
|
60
|
-
],
|
|
61
|
+
], Re = [
|
|
61
62
|
"x",
|
|
62
63
|
"width",
|
|
63
64
|
"height",
|
|
64
65
|
"rx",
|
|
65
66
|
"fill"
|
|
66
|
-
],
|
|
67
|
+
], ze = [
|
|
67
68
|
"x",
|
|
68
69
|
"width",
|
|
69
70
|
"height",
|
|
@@ -73,128 +74,128 @@ var Se = ["data-minimap"], Ce = {
|
|
|
73
74
|
"aria-valuemax",
|
|
74
75
|
"aria-valuenow",
|
|
75
76
|
"aria-valuetext"
|
|
76
|
-
],
|
|
77
|
+
], Be = [
|
|
77
78
|
"x2",
|
|
78
79
|
"y1",
|
|
79
80
|
"y2",
|
|
80
81
|
"stroke"
|
|
81
|
-
],
|
|
82
|
+
], Ve = { key: "merged-tree" }, He = ["d", "stroke"], Ue = [
|
|
82
83
|
"cx",
|
|
83
84
|
"cy",
|
|
84
85
|
"stroke",
|
|
85
86
|
"fill"
|
|
86
|
-
],
|
|
87
|
+
], We = [
|
|
87
88
|
"cx",
|
|
88
89
|
"cy",
|
|
89
90
|
"stroke",
|
|
90
91
|
"fill"
|
|
91
|
-
],
|
|
92
|
+
], Ge = { key: "split-tree" }, Ke = [
|
|
92
93
|
"x",
|
|
93
94
|
"y",
|
|
94
95
|
"width",
|
|
95
96
|
"height",
|
|
96
97
|
"fill"
|
|
97
|
-
],
|
|
98
|
+
], qe = [
|
|
98
99
|
"d",
|
|
99
100
|
"stroke",
|
|
100
101
|
"stroke-dasharray"
|
|
101
|
-
],
|
|
102
|
+
], Je = [
|
|
102
103
|
"cx",
|
|
103
104
|
"cy",
|
|
104
105
|
"fill",
|
|
105
106
|
"stroke"
|
|
106
|
-
],
|
|
107
|
+
], Ye = ["width", "height"], Xe = [
|
|
107
108
|
"x",
|
|
108
109
|
"width",
|
|
109
110
|
"height",
|
|
110
111
|
"fill",
|
|
111
112
|
"stroke",
|
|
112
113
|
"stroke-width"
|
|
113
|
-
],
|
|
114
|
+
], Ze = ["transform"], Qe = ["width", "height"], $e = ["fill", "stroke"], et = ["stroke"], tt = ["fill"], nt = [
|
|
114
115
|
"x",
|
|
115
116
|
"width",
|
|
116
117
|
"height",
|
|
117
118
|
"fill",
|
|
118
119
|
"stroke",
|
|
119
120
|
"stroke-width"
|
|
120
|
-
],
|
|
121
|
+
], rt = ["transform"], it = ["width", "height"], at = ["fill", "stroke"], ot = ["stroke"], st = ["fill"], ct = {
|
|
121
122
|
key: "merged-tree",
|
|
122
123
|
style: { "pointer-events": "none" }
|
|
123
|
-
},
|
|
124
|
+
}, lt = [
|
|
124
125
|
"cx",
|
|
125
126
|
"cy",
|
|
126
127
|
"stroke",
|
|
127
128
|
"fill"
|
|
128
|
-
],
|
|
129
|
+
], ut = [
|
|
129
130
|
"cx",
|
|
130
131
|
"cy",
|
|
131
132
|
"fill"
|
|
132
|
-
],
|
|
133
|
+
], dt = [
|
|
133
134
|
"cx",
|
|
134
135
|
"cy",
|
|
135
136
|
"stroke",
|
|
136
137
|
"fill"
|
|
137
|
-
],
|
|
138
|
+
], ft = [
|
|
138
139
|
"cx",
|
|
139
140
|
"cy",
|
|
140
141
|
"fill"
|
|
141
|
-
],
|
|
142
|
+
], pt = {
|
|
142
143
|
key: 1,
|
|
143
144
|
style: { "pointer-events": "none" }
|
|
144
|
-
},
|
|
145
|
+
}, mt = [
|
|
145
146
|
"d",
|
|
146
147
|
"stroke",
|
|
147
148
|
"stroke-dasharray"
|
|
148
|
-
],
|
|
149
|
+
], ht = [
|
|
149
150
|
"cx",
|
|
150
151
|
"cy",
|
|
151
152
|
"fill",
|
|
152
153
|
"stroke"
|
|
153
|
-
],
|
|
154
|
+
], gt = [
|
|
154
155
|
"cx",
|
|
155
156
|
"cy",
|
|
156
157
|
"stroke",
|
|
157
158
|
"fill"
|
|
158
|
-
],
|
|
159
|
+
], _t = [
|
|
159
160
|
"cx",
|
|
160
161
|
"cy",
|
|
161
162
|
"fill"
|
|
162
|
-
],
|
|
163
|
+
], vt = [
|
|
163
164
|
"cx",
|
|
164
165
|
"cy",
|
|
165
166
|
"stroke",
|
|
166
167
|
"fill"
|
|
167
|
-
],
|
|
168
|
+
], yt = [
|
|
168
169
|
"cx",
|
|
169
170
|
"cy",
|
|
170
171
|
"fill"
|
|
171
|
-
],
|
|
172
|
+
], bt = [
|
|
172
173
|
"cx",
|
|
173
174
|
"cy",
|
|
174
175
|
"fill",
|
|
175
176
|
"stroke"
|
|
176
|
-
],
|
|
177
|
+
], xt = [
|
|
177
178
|
"step",
|
|
178
179
|
"min",
|
|
179
180
|
"max",
|
|
180
181
|
"tabindex"
|
|
181
|
-
],
|
|
182
|
+
], St = [
|
|
182
183
|
"step",
|
|
183
184
|
"min",
|
|
184
185
|
"max",
|
|
185
186
|
"tabindex"
|
|
186
|
-
],
|
|
187
|
+
], Ct = {
|
|
187
188
|
key: 3,
|
|
188
189
|
class: "minimap-handle-overlay"
|
|
189
|
-
},
|
|
190
|
+
}, wt = ["xmlns", "viewBox"], Tt = [
|
|
190
191
|
"x",
|
|
191
192
|
"width",
|
|
192
193
|
"height"
|
|
193
|
-
],
|
|
194
|
+
], Et = [
|
|
194
195
|
"x",
|
|
195
196
|
"width",
|
|
196
197
|
"height"
|
|
197
|
-
],
|
|
198
|
+
], Dt = 48, Ot = /*#__PURE__*/ s({
|
|
198
199
|
__name: "SlicerPreview",
|
|
199
200
|
props: {
|
|
200
201
|
uuid: {
|
|
@@ -422,95 +423,95 @@ var Se = ["data-minimap"], Ce = {
|
|
|
422
423
|
"trapMouse",
|
|
423
424
|
"trapMouseValue"
|
|
424
425
|
],
|
|
425
|
-
setup(s, { expose:
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
426
|
+
setup(s, { expose: Ot, emit: kt }) {
|
|
427
|
+
ve((e) => ({
|
|
428
|
+
v387ab4e8: nn.value,
|
|
429
|
+
v7bb82e00: P.value,
|
|
430
|
+
v42303b71: an.value,
|
|
431
|
+
v5bed6f30: s.selectColor,
|
|
432
|
+
v99127c84: rn.value,
|
|
433
|
+
v27b98ef0: b.additionalMinimapHeight
|
|
433
434
|
}));
|
|
434
435
|
let b = s;
|
|
435
|
-
function
|
|
436
|
+
function At(e) {
|
|
436
437
|
let t = Number(e) || 0;
|
|
437
438
|
return b.precision <= 0 ? Math.round(t) : Number(t.toFixed(b.precision));
|
|
438
439
|
}
|
|
439
|
-
let x = _(null), S = _(b.min), C = _(b.max), w =
|
|
440
|
+
let x = _(null), S = _(b.min), C = _(b.max), w = u(() => !!b.allMinimaps.length), jt = _(t()), T = _(!1), E = u(() => w.value && b.minimapCompact), D = _(null), Mt = _(!1), Nt = _(0), Pt = _(0), Ft = _(null), It = _(!1), Lt = u(() => D.value !== null), Rt = u(() => b.useValueRange ? C.value : C.value - 1), zt = u(() => Math.max(1, Number(b.max) - Number(b.min)));
|
|
441
|
+
function Bt(e) {
|
|
442
|
+
return (Number(e) - Number(b.min)) / zt.value * 100;
|
|
443
|
+
}
|
|
440
444
|
function Vt(e) {
|
|
441
|
-
return (
|
|
445
|
+
return I.value.width * (Bt(e) / 100);
|
|
442
446
|
}
|
|
443
447
|
function Ht(e) {
|
|
444
|
-
return I.value.width * (Vt(e) / 100);
|
|
445
|
-
}
|
|
446
|
-
function Ut(e) {
|
|
447
448
|
let t = Math.min(1, Math.max(0, e / Math.max(1, I.value.width)));
|
|
448
|
-
return
|
|
449
|
+
return At(Number(b.min) + zt.value * t);
|
|
449
450
|
}
|
|
450
|
-
function
|
|
451
|
+
function Ut(e) {
|
|
451
452
|
let t = b.useValueRange ? e?.y : e;
|
|
452
453
|
return te(t) ? Number(t) : null;
|
|
453
454
|
}
|
|
454
|
-
function
|
|
455
|
+
function Wt(e, t) {
|
|
455
456
|
return b.useValueRange ? Number(e?.x) : t + Number(b.min);
|
|
456
457
|
}
|
|
457
|
-
function
|
|
458
|
-
return b.useValueRange ?
|
|
458
|
+
function Gt(e, t) {
|
|
459
|
+
return b.useValueRange ? Vt(Wt(e, t)) : V.value * t + (b.minimapCompact ? 0 : V.value / 2);
|
|
459
460
|
}
|
|
460
|
-
let
|
|
461
|
+
let Kt = u(() => Math.min(40, Math.max(20, b.handleWidth))), qt = _(0), Jt = ie((e) => M("futureStart", e), 0), Yt = ie((e) => M("futureEnd", e), 0), O = u(() => b.precision > 0 ? 1 / 10 ** b.precision : 1), k = u({
|
|
461
462
|
get: () => S.value,
|
|
462
463
|
set(e) {
|
|
463
464
|
let t = Math.min(Number(e), Number(C.value) - O.value);
|
|
464
|
-
t !== S.value && (S.value = t,
|
|
465
|
+
t !== S.value && (S.value = t, zn.value && (zn.value.value = String(t)), b.immediate ? M("update:start", Number(t)) : T.value && Jt(t));
|
|
465
466
|
}
|
|
466
|
-
}), A =
|
|
467
|
+
}), A = u({
|
|
467
468
|
get: () => C.value,
|
|
468
469
|
set(e) {
|
|
469
470
|
let t = Math.max(Number(e), Number(S.value) + O.value);
|
|
470
|
-
t !== C.value && (C.value = t,
|
|
471
|
+
t !== C.value && (C.value = t, Bn.value && (Bn.value.value = String(t)), b.immediate ? M("update:end", Number(t)) : T.value && Yt(t));
|
|
471
472
|
}
|
|
472
473
|
});
|
|
473
474
|
function j() {
|
|
474
475
|
clearTimeout(null), b.immediate || (M("update:start", Number(S.value)), M("update:end", Number(C.value))), T.value = !1;
|
|
475
476
|
}
|
|
476
|
-
let
|
|
477
|
-
if (b.useValueRange) return
|
|
477
|
+
let Xt = u(() => b.refreshEndPoint === null ? b.max : b.refreshEndPoint), M = kt, Zt = u(() => {
|
|
478
|
+
if (b.useValueRange) return Bt(S.value);
|
|
478
479
|
if (E.value) {
|
|
479
480
|
let e = Math.max(1, R.value - 1);
|
|
480
|
-
return
|
|
481
|
+
return An.value / e * 100;
|
|
481
482
|
}
|
|
482
483
|
let e = Math.max(1, b.max - b.min);
|
|
483
484
|
return (S.value - b.min) / e * 100;
|
|
484
|
-
}),
|
|
485
|
-
if (b.useValueRange) return
|
|
485
|
+
}), Qt = u(() => {
|
|
486
|
+
if (b.useValueRange) return Bt(C.value);
|
|
486
487
|
if (E.value) {
|
|
487
488
|
let e = Math.max(1, R.value - 1);
|
|
488
|
-
return
|
|
489
|
+
return jn.value / e * 100;
|
|
489
490
|
}
|
|
490
491
|
let e = Math.max(1, b.max - b.min);
|
|
491
492
|
return (C.value - b.min) / e * 100;
|
|
492
|
-
}),
|
|
493
|
+
}), $t = u(() => (Zt.value + Qt.value) / 2), en = u(() => {
|
|
493
494
|
if (!x.value) return !1;
|
|
494
495
|
let e = Math.max(1, b.max - b.min);
|
|
495
|
-
return x.value.getBoundingClientRect().width * ((S.value - b.min) / e) -
|
|
496
|
-
}),
|
|
496
|
+
return x.value.getBoundingClientRect().width * ((S.value - b.min) / e) - hr.value / 2 < 0;
|
|
497
|
+
}), tn = u(() => {
|
|
497
498
|
if (!x.value) return !1;
|
|
498
499
|
let e = Math.max(1, b.max - b.min), t = x.value.getBoundingClientRect().width;
|
|
499
|
-
return t * ((C.value - b.min) / e) +
|
|
500
|
-
}), N =
|
|
501
|
-
let e =
|
|
500
|
+
return t * ((C.value - b.min) / e) + gr.value / 2 > t;
|
|
501
|
+
}), N = u(() => {
|
|
502
|
+
let e = tn.value ? `calc(${$t.value}% - ${Sr.value.width}px)` : en.value ? `calc(${$t.value}% - 8px)` : `calc(${$t.value}% - ${Sr.value.width / 2}px)`;
|
|
502
503
|
return {
|
|
503
|
-
left: `${
|
|
504
|
-
width: `${Math.max(0,
|
|
504
|
+
left: `${Zt.value}%`,
|
|
505
|
+
width: `${Math.max(0, Qt.value - Zt.value)}%`,
|
|
505
506
|
background: b.selectColor,
|
|
506
|
-
tooltipLeft: `calc(${
|
|
507
|
-
tooltipRight: `calc(${
|
|
507
|
+
tooltipLeft: `calc(${Zt.value}% - ${en.value ? 9 : hr.value / 2}px)`,
|
|
508
|
+
tooltipRight: `calc(${Qt.value}% - ${tn.value ? gr.value - 9 : gr.value / 2}px)`,
|
|
508
509
|
tooltipCenter: e,
|
|
509
|
-
arrowLeft: !
|
|
510
|
-
arrowRight: !
|
|
510
|
+
arrowLeft: !en.value,
|
|
511
|
+
arrowRight: !tn.value
|
|
511
512
|
};
|
|
512
|
-
}),
|
|
513
|
-
function
|
|
513
|
+
}), nn = u(() => b.inputColor), rn = u(() => b.background), an = u(() => `${b.selectColor}33`), P = u(() => b.borderColor), on = u(() => Number(b.max) > Number(b.min));
|
|
514
|
+
function sn() {
|
|
514
515
|
M("reset");
|
|
515
516
|
}
|
|
516
517
|
y(() => b.min, (e) => {
|
|
@@ -522,44 +523,44 @@ var Se = ["data-minimap"], Ce = {
|
|
|
522
523
|
width: 1,
|
|
523
524
|
height: 1
|
|
524
525
|
}), L = _(null);
|
|
525
|
-
|
|
526
|
+
pe(() => {
|
|
526
527
|
if (w.value) {
|
|
527
|
-
let e =
|
|
528
|
+
let e = ie(() => {
|
|
528
529
|
if (!F.value) return;
|
|
529
|
-
let { width: e, height: t } =
|
|
530
|
+
let { width: e, height: t } = ae({ chart: F.value }), n = Math.max(0, Math.round(e)), r = Math.max(0, Math.round(t - 47));
|
|
530
531
|
(n !== I.value.width || r !== I.value.height) && (I.value.width = n, I.value.height = r + b.additionalMinimapHeight);
|
|
531
532
|
}, 0);
|
|
532
533
|
L.value = new ResizeObserver(e), L.value.observe(F.value);
|
|
533
534
|
}
|
|
534
|
-
}),
|
|
535
|
+
}), fe(() => {
|
|
535
536
|
L.value && L.value.disconnect();
|
|
536
537
|
});
|
|
537
|
-
let R =
|
|
538
|
-
function
|
|
538
|
+
let R = u(() => Math.max(1, b.max - b.min));
|
|
539
|
+
function cn(e) {
|
|
539
540
|
let t = Math.floor(e - b.min);
|
|
540
541
|
return Math.min(Math.max(0, t), R.value);
|
|
541
542
|
}
|
|
542
|
-
function
|
|
543
|
+
function ln(e) {
|
|
543
544
|
let t = Math.ceil(e - b.min);
|
|
544
545
|
return Math.min(Math.max(0, t), R.value);
|
|
545
546
|
}
|
|
546
|
-
let z =
|
|
547
|
-
|
|
548
|
-
let V =
|
|
547
|
+
let z = u(() => cn(S.value)), B = u(() => ln(C.value)), un = u(() => Math.max(...b.allMinimaps.map((e) => e.series.length))), dn = u(() => w.value && b.minimapCompact ? 40 : 0), fn = u(() => dn.value / 2);
|
|
548
|
+
u(() => Math.max(1, I.value.width - fn.value * 2));
|
|
549
|
+
let V = u(() => {
|
|
549
550
|
if (b.minimapCompact && !b.useValueRange) return I.value.width / Math.max(1, R.value - 1);
|
|
550
|
-
let e = Math.max(1,
|
|
551
|
+
let e = Math.max(1, un.value - +!!b.minimapCompact);
|
|
551
552
|
return I.value.width / e;
|
|
552
|
-
}),
|
|
553
|
-
function
|
|
554
|
-
let r =
|
|
553
|
+
}), pn = u(() => b.allMinimaps.length ? b.allMinimaps.filter((e) => e.type === "bar" && e.isVisible).length : 0), mn = u(() => V.value / (pn.value || 1) * .8);
|
|
554
|
+
function hn(e, t, n) {
|
|
555
|
+
let r = mn.value, i = Math.max(1, pn.value), a = un.value - 1;
|
|
555
556
|
return n === 0 ? e + r / 2 * t : n === a ? e - r / 2 * (i - t) : e - i * r / 2 + t * r;
|
|
556
557
|
}
|
|
557
|
-
function
|
|
558
|
-
return [0,
|
|
558
|
+
function gn(e, t) {
|
|
559
|
+
return [0, un.value - 1].includes(t) ? mn.value / 2 : mn.value;
|
|
559
560
|
}
|
|
560
|
-
let
|
|
561
|
+
let _n = u(() => {
|
|
561
562
|
let e = [];
|
|
562
|
-
if (Array.isArray(b.minimap) && b.minimap.length && b.minimapMerged && e.push(...b.minimap.map(
|
|
563
|
+
if (Array.isArray(b.minimap) && b.minimap.length && b.minimapMerged && e.push(...b.minimap.map(Ut).filter(Number.isFinite)), Array.isArray(b.allMinimaps) && b.allMinimaps.length) for (let t of b.allMinimaps) t?.isVisible && Array.isArray(t?.series) && e.push(...t.series.map(Ut).filter(Number.isFinite));
|
|
563
564
|
return e.length ? {
|
|
564
565
|
min: Math.min(...e),
|
|
565
566
|
max: Math.max(...e)
|
|
@@ -567,25 +568,25 @@ var Se = ["data-minimap"], Ce = {
|
|
|
567
568
|
min: 0,
|
|
568
569
|
max: 1
|
|
569
570
|
};
|
|
570
|
-
}),
|
|
571
|
+
}), vn = u(() => {
|
|
571
572
|
if (b.minScale == null && b.forceZeroCenter) return null;
|
|
572
573
|
let e = Number(b.minScale);
|
|
573
574
|
return Number.isFinite(e) ? e : null;
|
|
574
|
-
}),
|
|
575
|
+
}), yn = u(() => {
|
|
575
576
|
if (b.maxScale == null && b.forceZeroCenter) return null;
|
|
576
577
|
let e = Number(b.maxScale);
|
|
577
578
|
return Number.isFinite(e) ? e : null;
|
|
578
|
-
}),
|
|
579
|
-
let { min: e, max: t } =
|
|
579
|
+
}), bn = u(() => vn.value !== null && yn.value !== null), xn = u(() => {
|
|
580
|
+
let { min: e, max: t } = _n.value, n = vn.value, r = yn.value, i, a;
|
|
580
581
|
return n !== null && r !== null ? (i = Math.min(n, e), a = Math.max(r, t)) : (i = n === null ? e : n, a = r === null ? t : r), Number.isFinite(i) || (i = 0), Number.isFinite(a) || (a = 1), i === a ? a = i + 1 : i > a && ([i, a] = [a, i]), {
|
|
581
582
|
min: i,
|
|
582
583
|
max: a
|
|
583
584
|
};
|
|
584
|
-
}),
|
|
585
|
+
}), Sn = u(() => xn.value.min), Cn = u(() => xn.value.max), wn = u(() => Sn.value < 0 && Cn.value > 0 || Cn.value <= 0 ? Sn.value : 0), Tn = (e) => {
|
|
585
586
|
let t = Math.max(1, I.value.height);
|
|
586
|
-
return
|
|
587
|
-
},
|
|
588
|
-
function
|
|
587
|
+
return Dn(Sn.value, Cn.value, t, bn.value)(e);
|
|
588
|
+
}, En = u(() => Tn(0));
|
|
589
|
+
function Dn(e, t, n, r = !1) {
|
|
589
590
|
let i = (e, t, n) => Math.max(t, Math.min(n, e)), a = 1e-9, o = Math.max(a, t - e);
|
|
590
591
|
if (r) return (t) => n - (t - e) / o * n;
|
|
591
592
|
if (t <= 0) {
|
|
@@ -599,7 +600,7 @@ var Se = ["data-minimap"], Ce = {
|
|
|
599
600
|
return (e) => (1 - (i(e / r, -1, 1) + 1) / 2) * n;
|
|
600
601
|
}
|
|
601
602
|
}
|
|
602
|
-
function
|
|
603
|
+
function On(t, a = !1, o = !1) {
|
|
603
604
|
if (!t || !t.length) return {
|
|
604
605
|
fullSet: "",
|
|
605
606
|
points: [],
|
|
@@ -613,8 +614,8 @@ var Se = ["data-minimap"], Ce = {
|
|
|
613
614
|
selectionMarkers: [],
|
|
614
615
|
dashed: !1
|
|
615
616
|
};
|
|
616
|
-
let ee = Math.max(1, I.value.height), te =
|
|
617
|
-
let n =
|
|
617
|
+
let ee = Math.max(1, I.value.height), te = Dn(Sn.value, Cn.value, ee, bn.value), ne = t.length, s = Math.min(Math.max(0, z.value), Math.max(0, ne - 1)), ie = Math.min(ne, Math.max(s + 1, B.value)), c = t.map((e, t) => {
|
|
618
|
+
let n = Ut(e), r = Number.isFinite(n), i = Gt(e, t), a = te(bn.value ? ((e, t, n) => Math.max(t, Math.min(n, e)))(0, Sn.value, Cn.value) : 0);
|
|
618
619
|
return {
|
|
619
620
|
x: i,
|
|
620
621
|
y: r ? te(n) : NaN,
|
|
@@ -622,24 +623,24 @@ var Se = ["data-minimap"], Ce = {
|
|
|
622
623
|
value: r ? n : null,
|
|
623
624
|
y0: a,
|
|
624
625
|
i: t,
|
|
625
|
-
xValue:
|
|
626
|
+
xValue: Wt(e, t)
|
|
626
627
|
};
|
|
627
|
-
}),
|
|
628
|
+
}), ae = (e) => e >= 0 && e < c.length && Number.isFinite(c[e]?.value), oe = c.filter((e) => Number.isFinite(e.value) && !ae(e.i - 1) && !ae(e.i + 1)), se = b.useValueRange ? oe.filter((e) => e.xValue >= Number(S.value) && e.xValue <= Number(C.value)) : oe.filter((e) => e.i >= s && e.i < ie), l = b.useValueRange ? c.filter((e) => e.xValue >= Number(S.value) && e.xValue <= Number(C.value)) : c.slice(s, ie);
|
|
628
629
|
return {
|
|
629
|
-
fullSet:
|
|
630
|
-
points:
|
|
631
|
-
selectionSet:
|
|
632
|
-
sliced:
|
|
633
|
-
firstPlot: b.useValueRange ?
|
|
634
|
-
lastPlot: b.useValueRange ?
|
|
635
|
-
hasFull:
|
|
636
|
-
hasSelection:
|
|
637
|
-
fullMarkers:
|
|
638
|
-
selectionMarkers:
|
|
630
|
+
fullSet: c.length >= 2 ? o ? i(b.cutNullValues ? c : c.filter((e) => e.value != null)) : b.smoothMinimap || a ? b.cutNullValues ? r(c) : n(c.filter((e) => e.value != null)) : b.cutNullValues ? e(c) : re(c.filter((e) => e.value != null)) : "",
|
|
631
|
+
points: c,
|
|
632
|
+
selectionSet: l.length >= 2 ? o ? i(b.cutNullValues ? l : l.filter((e) => e.value != null)) : b.smoothMinimap || a ? b.cutNullValues ? r(l) : n(l.filter((e) => e.value != null)) : b.cutNullValues ? e(l) : re(l.filter((e) => e.value != null)) : "",
|
|
633
|
+
sliced: l,
|
|
634
|
+
firstPlot: b.useValueRange ? l[0] || null : c[s] || null,
|
|
635
|
+
lastPlot: b.useValueRange ? l[l.length - 1] || null : c[Math.max(0, ie - 1)] || null,
|
|
636
|
+
hasFull: c.length >= 2,
|
|
637
|
+
hasSelection: l.length >= 2,
|
|
638
|
+
fullMarkers: oe,
|
|
639
|
+
selectionMarkers: se
|
|
639
640
|
};
|
|
640
641
|
}
|
|
641
|
-
let H =
|
|
642
|
-
let n =
|
|
642
|
+
let H = u(() => b.minimap.length ? On(b.minimap) : []), U = u(() => b.allMinimaps.length ? b.allMinimaps.map((e, t) => {
|
|
643
|
+
let n = On(e?.series || [], !!e.smooth, !!e.useStepper), r = e?.id ?? e?.name ?? t;
|
|
643
644
|
return {
|
|
644
645
|
key: typeof r == "object" ? JSON.stringify(r) : String(r),
|
|
645
646
|
color: e?.color,
|
|
@@ -650,9 +651,9 @@ var Se = ["data-minimap"], Ce = {
|
|
|
650
651
|
dashed: e.dashed ?? !1,
|
|
651
652
|
useStepper: !!e.useStepper
|
|
652
653
|
};
|
|
653
|
-
}) : []), W =
|
|
654
|
+
}) : []), W = u(() => {
|
|
654
655
|
if (b.useValueRange) {
|
|
655
|
-
let e =
|
|
656
|
+
let e = Vt(S.value), t = Vt(C.value);
|
|
656
657
|
return {
|
|
657
658
|
x: e,
|
|
658
659
|
width: Math.max(0, t - e)
|
|
@@ -663,66 +664,66 @@ var Se = ["data-minimap"], Ce = {
|
|
|
663
664
|
x: V.value * e + (b.minimapCompact ? 0 : V.value / 2),
|
|
664
665
|
width: V.value * (t - e) - V.value
|
|
665
666
|
};
|
|
666
|
-
}), G = _(b.minimapSelectedIndex),
|
|
667
|
+
}), G = _(b.minimapSelectedIndex), kn = (e) => Math.round(b.min + e), An = u({
|
|
667
668
|
get() {
|
|
668
669
|
return E.value ? z.value : Number(k.value);
|
|
669
670
|
},
|
|
670
671
|
set(e) {
|
|
671
672
|
if (E.value) {
|
|
672
673
|
if (b.useValueRange) {
|
|
673
|
-
let t =
|
|
674
|
-
|
|
674
|
+
let t = At(e);
|
|
675
|
+
Un(Math.min(Math.max(Number(b.min), t), Number(C.value) - O.value));
|
|
675
676
|
return;
|
|
676
677
|
}
|
|
677
|
-
|
|
678
|
+
Un(kn(Math.round(+e || 0)));
|
|
678
679
|
} else {
|
|
679
|
-
let t =
|
|
680
|
-
|
|
680
|
+
let t = At(e), n = Number(C.value) - O.value, r = Math.min(Math.max(b.min, t), n);
|
|
681
|
+
zn.value && (zn.value.valueAsNumber = r), Un(r);
|
|
681
682
|
}
|
|
682
683
|
}
|
|
683
|
-
}),
|
|
684
|
+
}), jn = u({
|
|
684
685
|
get() {
|
|
685
686
|
return E.value ? Math.max(z.value, B.value - 1) : Number(A.value);
|
|
686
687
|
},
|
|
687
688
|
set(e) {
|
|
688
689
|
if (E.value) {
|
|
689
690
|
if (b.useValueRange) {
|
|
690
|
-
let t =
|
|
691
|
-
|
|
691
|
+
let t = At(e);
|
|
692
|
+
Gn(Math.max(Number(S.value) + O.value, Math.min(t, Number(b.max))));
|
|
692
693
|
return;
|
|
693
694
|
}
|
|
694
|
-
|
|
695
|
+
Gn(kn(Math.round(+e || 0) + 1));
|
|
695
696
|
} else {
|
|
696
|
-
let t =
|
|
697
|
-
|
|
697
|
+
let t = At(e), n = Number(S.value) + O.value, r = Math.max(n, Math.min(t, b.max));
|
|
698
|
+
Bn.value && (Bn.value.valueAsNumber = r), Gn(r);
|
|
698
699
|
}
|
|
699
700
|
}
|
|
700
|
-
}),
|
|
701
|
-
function
|
|
702
|
-
if (t ===
|
|
701
|
+
}), Mn = 0;
|
|
702
|
+
function Nn(e, t) {
|
|
703
|
+
if (t === Mn) {
|
|
703
704
|
if (b.useValueRange) {
|
|
704
|
-
G.value = Number.isFinite(Number(e)) ?
|
|
705
|
+
G.value = Number.isFinite(Number(e)) ? Vt(Number(e)) : null;
|
|
705
706
|
return;
|
|
706
707
|
}
|
|
707
|
-
G.value =
|
|
708
|
+
G.value = cn(b.valueStart) + e;
|
|
708
709
|
}
|
|
709
710
|
}
|
|
710
|
-
let
|
|
711
|
+
let Pn = c(Nn, 60);
|
|
711
712
|
y(() => b.minimapSelectedIndex, (e, t) => {
|
|
712
|
-
if (
|
|
713
|
+
if (Mn += 1, [null, void 0].includes(e)) {
|
|
713
714
|
G.value = null;
|
|
714
715
|
return;
|
|
715
716
|
}
|
|
716
|
-
e !== t &&
|
|
717
|
+
e !== t && Pn(e, Mn);
|
|
717
718
|
}, { immediate: !0 });
|
|
718
|
-
function
|
|
719
|
-
if (
|
|
719
|
+
function Fn(e) {
|
|
720
|
+
if (Lt.value) return;
|
|
720
721
|
G.value = e;
|
|
721
722
|
let t = z.value, n = B.value;
|
|
722
723
|
e >= t && e < n && !X.value && M("trapMouse", e - t);
|
|
723
724
|
}
|
|
724
|
-
function
|
|
725
|
-
let t =
|
|
725
|
+
function In(e) {
|
|
726
|
+
let t = Ht(e), n = b.allMinimaps.flatMap((e) => (e.series || []).map((e, n) => ({
|
|
726
727
|
point: e,
|
|
727
728
|
index: n,
|
|
728
729
|
x: Number(e?.x),
|
|
@@ -730,25 +731,25 @@ var Se = ["data-minimap"], Ce = {
|
|
|
730
731
|
}))).filter((e) => Number.isFinite(e.x));
|
|
731
732
|
return n.length ? n.reduce((e, t) => t.distance < e.distance ? t : e, n[0]) : null;
|
|
732
733
|
}
|
|
733
|
-
function
|
|
734
|
-
if (!
|
|
735
|
-
let t =
|
|
734
|
+
function Ln(e) {
|
|
735
|
+
if (!on.value || Lt.value) return;
|
|
736
|
+
let t = Rr(e.clientX);
|
|
736
737
|
if (b.useValueRange) {
|
|
737
|
-
let e =
|
|
738
|
+
let e = In(t);
|
|
738
739
|
if (!e) {
|
|
739
|
-
|
|
740
|
+
Rn();
|
|
740
741
|
return;
|
|
741
742
|
}
|
|
742
|
-
G.value =
|
|
743
|
+
G.value = Vt(e.x), M("trapMouse", e.index), M("trapMouseValue", e.x);
|
|
743
744
|
return;
|
|
744
745
|
}
|
|
745
|
-
|
|
746
|
+
Fn(zr(t));
|
|
746
747
|
}
|
|
747
|
-
function
|
|
748
|
-
G.value = null, !
|
|
748
|
+
function Rn() {
|
|
749
|
+
G.value = null, !Lt.value && (M("trapMouse", null), M("trapMouseValue", null));
|
|
749
750
|
}
|
|
750
|
-
let
|
|
751
|
-
function
|
|
751
|
+
let zn = _(null), Bn = _(null);
|
|
752
|
+
function Vn(e) {
|
|
752
753
|
if (typeof e == "object" && e && "target" in e) {
|
|
753
754
|
let t = e.target, n = "valueAsNumber" in t ? t.valueAsNumber : +t.value;
|
|
754
755
|
return Number.isFinite(n) ? n : NaN;
|
|
@@ -756,128 +757,128 @@ var Se = ["data-minimap"], Ce = {
|
|
|
756
757
|
let t = +e;
|
|
757
758
|
return Number.isFinite(t) ? t : NaN;
|
|
758
759
|
}
|
|
759
|
-
let
|
|
760
|
-
function
|
|
760
|
+
let Hn = 0;
|
|
761
|
+
function Un(e) {
|
|
761
762
|
T.value = !0;
|
|
762
|
-
let t =
|
|
763
|
-
Number.isFinite(t) && (cancelAnimationFrame(
|
|
763
|
+
let t = Vn(e);
|
|
764
|
+
Number.isFinite(t) && (cancelAnimationFrame(Hn), Hn = requestAnimationFrame(() => {
|
|
764
765
|
k.value = t;
|
|
765
766
|
}));
|
|
766
767
|
}
|
|
767
|
-
let
|
|
768
|
-
function
|
|
768
|
+
let Wn = 0;
|
|
769
|
+
function Gn(e) {
|
|
769
770
|
T.value = !0;
|
|
770
|
-
let t =
|
|
771
|
-
Number.isFinite(t) && (cancelAnimationFrame(
|
|
771
|
+
let t = Vn(e);
|
|
772
|
+
Number.isFinite(t) && (cancelAnimationFrame(Wn), Wn = requestAnimationFrame(() => {
|
|
772
773
|
A.value = t;
|
|
773
774
|
}));
|
|
774
775
|
}
|
|
775
|
-
|
|
776
|
-
cancelAnimationFrame(
|
|
776
|
+
fe(() => {
|
|
777
|
+
cancelAnimationFrame(Hn), cancelAnimationFrame(Wn);
|
|
777
778
|
});
|
|
778
|
-
let
|
|
779
|
-
function
|
|
779
|
+
let Kn = u(() => b.valueEnd - b.valueStart), qn = u(() => Kn.value < b.max - b.min), Jn = _(!1), Yn = _(null), Xn = u(() => (qt.value - 48) / (b.max - b.min) * Kn.value), Zn = u(() => Math.max(1, qt.value - Dt - Xn.value)), Qn = u(() => Math.max(1, b.max - b.min - Kn.value)), $n = u(() => Qn.value / Zn.value), er = _(0), tr = _(0), nr = _(0), rr = _(0), K = null, q = null, J = null, Y = null, ir = _(b.min);
|
|
780
|
+
function ar(e) {
|
|
780
781
|
if (!x.value) return b.min;
|
|
781
|
-
let t = x.value.getBoundingClientRect(), n = t.left +
|
|
782
|
+
let t = x.value.getBoundingClientRect(), n = t.left + Dt / 2, r = t.right - Dt / 2, i = Math.max(1, r - n), a = (Math.max(n, Math.min(e, r)) - n) / i, o = Math.max(1, b.max - b.min);
|
|
782
783
|
return Math.round(b.min + a * o);
|
|
783
784
|
}
|
|
784
|
-
let
|
|
785
|
+
let or = async (e) => {
|
|
785
786
|
if (T.value = !0, Z.value = !0, !b.enableSelectionDrag) return;
|
|
786
787
|
let t = e.type === "touchstart";
|
|
787
788
|
t || e.stopPropagation();
|
|
788
789
|
let n = t && e.targetTouches && e.targetTouches[0] ? e.targetTouches[0] : null, r = t ? n ? n.target : null : e.target;
|
|
789
790
|
if (!r || !(r instanceof Element) || r.classList?.contains("range-handle") || r.classList?.contains("vue-ui-zoom-compact-minimap-handle") || r.closest(".vue-ui-zoom-compact-minimap-handle")) return;
|
|
790
|
-
|
|
791
|
+
Jn.value = !0;
|
|
791
792
|
let i = t ? n ? n.clientX : 0 : e.clientX;
|
|
792
|
-
if (
|
|
793
|
-
|
|
793
|
+
if (Yn.value = i, er.value = i, b.focusOnDrag && !qn.value && x.value && !It.value) {
|
|
794
|
+
It.value = !0;
|
|
794
795
|
try {
|
|
795
|
-
|
|
796
|
-
let e = Math.min(.95, Math.max(.05, b.focusRangeRatio)), t = Number(b.max) - Number(b.min), n = Math.max(1, Math.round(t * e)), r = Math.floor(n / 2), o =
|
|
796
|
+
ir.value = ar(i);
|
|
797
|
+
let e = Math.min(.95, Math.max(.05, b.focusRangeRatio)), t = Number(b.max) - Number(b.min), n = Math.max(1, Math.round(t * e)), r = Math.floor(n / 2), o = ir.value - r;
|
|
797
798
|
o = Math.max(Number(b.min), Math.min(o, Number(b.max) - n));
|
|
798
799
|
let ee = Math.min(Number(b.max), o + n);
|
|
799
|
-
k.value = o, A.value = ee,
|
|
800
|
+
k.value = o, A.value = ee, Jt(o), Yt(ee), a(x.value, "mouseup"), await ue(), a(x.value, "mousedown", { clientX: i });
|
|
800
801
|
} finally {
|
|
801
|
-
|
|
802
|
+
It.value = !1;
|
|
802
803
|
}
|
|
803
804
|
return;
|
|
804
805
|
}
|
|
805
|
-
|
|
806
|
+
tr.value = S.value, nr.value = C.value, rr.value = $n.value, K = t ? "touchmove" : "mousemove", q = t ? "touchend" : "mouseup", J = t ? cr : sr, Y = t ? dr : ur, window.addEventListener(K, J, { passive: !1 }), window.addEventListener(q, Y);
|
|
806
807
|
};
|
|
807
|
-
function
|
|
808
|
-
|
|
808
|
+
function sr(e) {
|
|
809
|
+
Jn.value && lr(e.clientX);
|
|
809
810
|
}
|
|
810
|
-
function
|
|
811
|
-
if (!
|
|
811
|
+
function cr(e) {
|
|
812
|
+
if (!Jn.value || !x.value) return;
|
|
812
813
|
let t = e.target;
|
|
813
814
|
if (!(t instanceof Element) || !x.value.contains(t) || t.classList && t.classList.contains("range-handle")) return;
|
|
814
815
|
e.preventDefault();
|
|
815
816
|
let n = e.targetTouches && e.targetTouches[0] ? e.targetTouches[0] : null;
|
|
816
|
-
n &&
|
|
817
|
+
n && lr(n.clientX);
|
|
818
|
+
}
|
|
819
|
+
function lr(e) {
|
|
820
|
+
if (!Jn.value) return;
|
|
821
|
+
let t = ar(er.value), n = ar(e) - t, r = Math.round(tr.value + n);
|
|
822
|
+
r = Math.max(b.min, Math.min(r, b.max - Kn.value));
|
|
823
|
+
let i = r + Kn.value;
|
|
824
|
+
k.value = r, A.value = i, Jt(r), Yt(i);
|
|
817
825
|
}
|
|
818
|
-
function ur(
|
|
819
|
-
|
|
820
|
-
let t = or(tr.value), n = or(e) - t, r = Math.round(nr.value + n);
|
|
821
|
-
r = Math.max(b.min, Math.min(r, b.max - qn.value));
|
|
822
|
-
let i = r + qn.value;
|
|
823
|
-
k.value = r, A.value = i, Yt(r), Xt(i);
|
|
826
|
+
function ur() {
|
|
827
|
+
fr();
|
|
824
828
|
}
|
|
825
829
|
function dr() {
|
|
826
|
-
|
|
830
|
+
fr();
|
|
827
831
|
}
|
|
828
832
|
function fr() {
|
|
829
|
-
|
|
833
|
+
Jn.value = !1, K && J && window.removeEventListener(K, J), q && Y && window.removeEventListener(q, Y), K = q = null, J = Y = null, j();
|
|
830
834
|
}
|
|
831
|
-
|
|
832
|
-
|
|
835
|
+
let X = _(!1), pr = _(null), mr = _(null), hr = _(1), gr = _(1), Z = _(!1);
|
|
836
|
+
function _r() {
|
|
837
|
+
if (pr.value) {
|
|
838
|
+
let e = Math.round(pr.value.getBoundingClientRect().width);
|
|
839
|
+
e !== hr.value && (hr.value = e);
|
|
840
|
+
}
|
|
833
841
|
}
|
|
834
|
-
let X = _(!1), mr = _(null), hr = _(null), gr = _(1), _r = _(1), Z = _(!1);
|
|
835
842
|
function vr() {
|
|
836
843
|
if (mr.value) {
|
|
837
844
|
let e = Math.round(mr.value.getBoundingClientRect().width);
|
|
838
845
|
e !== gr.value && (gr.value = e);
|
|
839
846
|
}
|
|
840
847
|
}
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
let e = Math.round(hr.value.getBoundingClientRect().width);
|
|
844
|
-
e !== _r.value && (_r.value = e);
|
|
845
|
-
}
|
|
846
|
-
}
|
|
847
|
-
pe(() => {
|
|
848
|
-
vr(), yr();
|
|
848
|
+
me(() => {
|
|
849
|
+
_r(), vr();
|
|
849
850
|
});
|
|
850
|
-
let
|
|
851
|
-
function
|
|
852
|
-
|
|
851
|
+
let yr = _(0);
|
|
852
|
+
function br(e) {
|
|
853
|
+
yr.value = +(e === "start");
|
|
853
854
|
}
|
|
854
|
-
let
|
|
855
|
+
let xr = _(!1), Sr = _({
|
|
855
856
|
width: 0,
|
|
856
857
|
left: 0
|
|
857
858
|
});
|
|
858
859
|
y([S, C], async () => {
|
|
859
|
-
if (await
|
|
860
|
-
|
|
860
|
+
if (await ue(), !pr.value || !mr.value) {
|
|
861
|
+
xr.value = !1, Sr.value = {
|
|
861
862
|
width: 0,
|
|
862
863
|
left: 0
|
|
863
864
|
};
|
|
864
865
|
return;
|
|
865
866
|
}
|
|
866
|
-
let e =
|
|
867
|
-
|
|
867
|
+
let e = pr.value.getBoundingClientRect(), t = mr.value.getBoundingClientRect();
|
|
868
|
+
xr.value = e.x + e.width > t.x;
|
|
868
869
|
let n = e.x + e.width / 2, r = t.x + t.width / 2, i = e.width + t.width;
|
|
869
|
-
|
|
870
|
+
Sr.value = {
|
|
870
871
|
width: i,
|
|
871
872
|
left: (n + r) / 2 - i / 2
|
|
872
873
|
};
|
|
873
|
-
}),
|
|
874
|
-
|
|
874
|
+
}), me(() => {
|
|
875
|
+
_r(), vr();
|
|
875
876
|
}), y(() => b.labelLeft, () => {
|
|
876
|
-
|
|
877
|
+
ue(_r);
|
|
877
878
|
}, { deep: !0 }), y(() => b.labelRight, () => {
|
|
878
|
-
|
|
879
|
+
ue(vr);
|
|
879
880
|
}, { deep: !0 });
|
|
880
|
-
let Q =
|
|
881
|
+
let Q = u(() => {
|
|
881
882
|
let e = "", t = "", n = !1;
|
|
882
883
|
if (ne(b.customFormat)) try {
|
|
883
884
|
let r = b.customFormat({
|
|
@@ -887,10 +888,10 @@ var Se = ["data-minimap"], Ce = {
|
|
|
887
888
|
timeLabel: b.preciseLabels[S.value],
|
|
888
889
|
side: "left"
|
|
889
890
|
}), i = b.customFormat({
|
|
890
|
-
absoluteIndex:
|
|
891
|
+
absoluteIndex: Rt.value,
|
|
891
892
|
seriesIndex: -1,
|
|
892
893
|
datapoint: b.selectedSeries,
|
|
893
|
-
timeLabel: b.useValueRange ? null : b.preciseLabels[
|
|
894
|
+
timeLabel: b.useValueRange ? null : b.preciseLabels[Rt.value],
|
|
894
895
|
side: "right"
|
|
895
896
|
});
|
|
896
897
|
typeof r == "string" && typeof i == "string" && (e = r, t = i, n = !0);
|
|
@@ -898,7 +899,7 @@ var Se = ["data-minimap"], Ce = {
|
|
|
898
899
|
n = !1;
|
|
899
900
|
}
|
|
900
901
|
if (!n) {
|
|
901
|
-
let n = b.useValueRange ? { text: String(Math.round(S.value * 1e3) / 1e3) } : b.usePreciseLabels ? b.preciseLabels.find((e) => e.absoluteIndex === S.value) : b.timeLabels.find((e) => e.absoluteIndex === S.value), r = b.useValueRange ? { text: String(Math.round(C.value * 1e3) / 1e3) } : b.usePreciseLabels ? b.preciseLabels.find((e) => e.absoluteIndex ===
|
|
902
|
+
let n = b.useValueRange ? { text: String(Math.round(S.value * 1e3) / 1e3) } : b.usePreciseLabels ? b.preciseLabels.find((e) => e.absoluteIndex === S.value) : b.timeLabels.find((e) => e.absoluteIndex === S.value), r = b.useValueRange ? { text: String(Math.round(C.value * 1e3) / 1e3) } : b.usePreciseLabels ? b.preciseLabels.find((e) => e.absoluteIndex === Rt.value) : b.timeLabels.find((e) => e.absoluteIndex === Rt.value);
|
|
902
903
|
e = n ? n.text : "", t = r ? r.text : "";
|
|
903
904
|
}
|
|
904
905
|
return {
|
|
@@ -906,11 +907,11 @@ var Se = ["data-minimap"], Ce = {
|
|
|
906
907
|
right: t
|
|
907
908
|
};
|
|
908
909
|
});
|
|
909
|
-
|
|
910
|
+
fe(() => {
|
|
910
911
|
L.value && L.value.disconnect(), K && J && window.removeEventListener(K, J), q && Y && window.removeEventListener(q, Y), K = q = null, J = Y = null, clearTimeout(null);
|
|
911
912
|
});
|
|
912
|
-
let
|
|
913
|
-
if (!
|
|
913
|
+
let Cr = u(() => {
|
|
914
|
+
if (!on.value || G.value === null) return null;
|
|
914
915
|
if (b.useValueRange) {
|
|
915
916
|
let e = G.value;
|
|
916
917
|
return e < W.value.x || e > W.value.x + W.value.width ? null : {
|
|
@@ -938,54 +939,54 @@ var Se = ["data-minimap"], Ce = {
|
|
|
938
939
|
};
|
|
939
940
|
}
|
|
940
941
|
return null;
|
|
941
|
-
}),
|
|
942
|
-
function
|
|
942
|
+
}), wr = u(() => Number(S.value) < Number(C.value) - 1), Tr = u(() => Number(S.value) > Number(b.min)), Er = u(() => Number(C.value) < Number(b.max)), Dr = u(() => Number(C.value) > Number(S.value) + 1);
|
|
943
|
+
function Or(e) {
|
|
943
944
|
let t = Number(S.value) + e;
|
|
944
|
-
e > 0 && !
|
|
945
|
+
e > 0 && !wr.value || e < 0 && !Tr.value || (T.value = !0, k.value = t, j());
|
|
945
946
|
}
|
|
946
|
-
function
|
|
947
|
+
function kr(e) {
|
|
947
948
|
let t = Number(C.value) + e;
|
|
948
|
-
e > 0 && !
|
|
949
|
+
e > 0 && !Er.value || e < 0 && !Dr.value || (T.value = !0, A.value = t, j());
|
|
949
950
|
}
|
|
950
|
-
let
|
|
951
|
+
let Ar = {
|
|
952
|
+
plus: () => Or(1),
|
|
953
|
+
minus: () => Or(-1),
|
|
954
|
+
canPlus: wr,
|
|
955
|
+
canMinus: Tr
|
|
956
|
+
}, jr = {
|
|
951
957
|
plus: () => kr(1),
|
|
952
958
|
minus: () => kr(-1),
|
|
953
|
-
canPlus:
|
|
954
|
-
canMinus:
|
|
955
|
-
}, Mr = {
|
|
956
|
-
plus: () => Ar(1),
|
|
957
|
-
minus: () => Ar(-1),
|
|
958
|
-
canPlus: Dr,
|
|
959
|
-
canMinus: Or
|
|
959
|
+
canPlus: Er,
|
|
960
|
+
canMinus: Dr
|
|
960
961
|
};
|
|
961
|
-
function
|
|
962
|
-
if (!e ||
|
|
962
|
+
function Mr(e) {
|
|
963
|
+
if (!e || Nr(e.target)) return;
|
|
963
964
|
let t = e.key, n = t === "ArrowLeft" || t === "ArrowDown" || t === "-" || t === "Subtract", r = t === "ArrowRight" || t === "ArrowUp" || t === "+" || t === "Add";
|
|
964
|
-
!n && !r || (e.preventDefault(), e.stopPropagation(), r ? (
|
|
965
|
+
!n && !r || (e.preventDefault(), e.stopPropagation(), r ? (Ar.plus(), jr.plus()) : (Ar.minus(), jr.minus()));
|
|
965
966
|
}
|
|
966
|
-
function
|
|
967
|
+
function Nr(e) {
|
|
967
968
|
return e instanceof HTMLElement && (e.isContentEditable || e.tagName === "INPUT" || e.tagName === "TEXTAREA" || e.tagName === "SELECT");
|
|
968
969
|
}
|
|
969
|
-
function
|
|
970
|
+
function Pr(e) {
|
|
970
971
|
if (!w.value || !b.minimapCompact) return;
|
|
971
972
|
let t = x.value;
|
|
972
973
|
if (!t) return;
|
|
973
974
|
let n = e === "start" ? "[data-cy=\"slicer-compact-handle-left\"]" : "[data-cy=\"slicer-compact-handle-right\"]", r = t.querySelector(n);
|
|
974
975
|
r && r instanceof SVGElement && typeof r.focus == "function" && r.focus();
|
|
975
976
|
}
|
|
976
|
-
function
|
|
977
|
-
if (!t ||
|
|
977
|
+
function Fr(e, t) {
|
|
978
|
+
if (!t || Nr(t.target)) return;
|
|
978
979
|
let n = t.key, r = n === "ArrowLeft" || n === "ArrowDown" || n === "-" || n === "Subtract", i = n === "ArrowRight" || n === "ArrowUp" || n === "+" || n === "Add";
|
|
979
|
-
!r && !i || (t.preventDefault(), t.stopPropagation(), e === "start" ? i ?
|
|
980
|
+
!r && !i || (t.preventDefault(), t.stopPropagation(), e === "start" ? i ? Ar.plus() : Ar.minus() : i ? jr.plus() : jr.minus(), ue(() => Pr(e)));
|
|
980
981
|
}
|
|
981
|
-
let
|
|
982
|
+
let Ir = u(() => ({
|
|
982
983
|
tabindex: 0,
|
|
983
984
|
role: "slider",
|
|
984
985
|
"aria-label": "Range start",
|
|
985
986
|
"aria-valuemin": Number(b.min),
|
|
986
987
|
"aria-valuemax": Math.max(Number(b.min), Number(C.value) - 1),
|
|
987
988
|
"aria-valuenow": Number(S.value)
|
|
988
|
-
})),
|
|
989
|
+
})), Lr = u(() => ({
|
|
989
990
|
tabindex: 0,
|
|
990
991
|
role: "slider",
|
|
991
992
|
"aria-label": "Range end",
|
|
@@ -993,69 +994,69 @@ var Se = ["data-minimap"], Ce = {
|
|
|
993
994
|
"aria-valuemax": Number(b.max),
|
|
994
995
|
"aria-valuenow": Number(C.value)
|
|
995
996
|
}));
|
|
996
|
-
function
|
|
997
|
-
if (!
|
|
998
|
-
let t =
|
|
997
|
+
function Rr(e) {
|
|
998
|
+
if (!Ft.value) return 0;
|
|
999
|
+
let t = Ft.value.getBoundingClientRect();
|
|
999
1000
|
if (!t.width) return 0;
|
|
1000
1001
|
let n = (e - t.left) / t.width;
|
|
1001
1002
|
return Math.min(1, Math.max(0, n)) * I.value.width;
|
|
1002
1003
|
}
|
|
1003
|
-
function
|
|
1004
|
+
function zr(e) {
|
|
1004
1005
|
let t = Math.max(0, R.value - 1), n = Math.max(1, I.value.width), r = Math.min(1, Math.max(0, e / n));
|
|
1005
1006
|
return Math.min(t, Math.max(0, Math.round(r * t)));
|
|
1006
1007
|
}
|
|
1007
|
-
function
|
|
1008
|
+
function Br(e) {
|
|
1008
1009
|
let t = Math.min(Math.max(0, e), Math.max(1, I.value.width));
|
|
1009
1010
|
if (b.useValueRange) {
|
|
1010
|
-
let e =
|
|
1011
|
+
let e = Ht(t);
|
|
1011
1012
|
if (D.value === "start") {
|
|
1012
1013
|
let t = Math.min(e, Number(C.value) - O.value);
|
|
1013
|
-
k.value = t,
|
|
1014
|
+
k.value = t, Jt(t);
|
|
1014
1015
|
return;
|
|
1015
1016
|
}
|
|
1016
1017
|
if (D.value === "end") {
|
|
1017
1018
|
let t = Math.max(Number(S.value) + O.value, e), n = Math.min(Number(b.max), t);
|
|
1018
|
-
A.value = n,
|
|
1019
|
+
A.value = n, Yt(n);
|
|
1019
1020
|
return;
|
|
1020
1021
|
}
|
|
1021
1022
|
}
|
|
1022
|
-
let n =
|
|
1023
|
+
let n = zr(t);
|
|
1023
1024
|
if (D.value === "start") {
|
|
1024
1025
|
let e = Math.min(b.min + n, Number(C.value) - 1);
|
|
1025
|
-
k.value = e,
|
|
1026
|
+
k.value = e, Jt(e);
|
|
1026
1027
|
return;
|
|
1027
1028
|
}
|
|
1028
1029
|
if (D.value === "end") {
|
|
1029
1030
|
let e = Math.max(Number(S.value) + 1, b.min + n + 1), t = Math.min(b.max, e);
|
|
1030
|
-
A.value = t,
|
|
1031
|
+
A.value = t, Yt(t);
|
|
1031
1032
|
}
|
|
1032
1033
|
}
|
|
1033
|
-
function
|
|
1034
|
+
function Vr(e) {
|
|
1034
1035
|
if (!D.value || !F.value) return;
|
|
1035
|
-
let t = e.clientX -
|
|
1036
|
-
if (!
|
|
1036
|
+
let t = e.clientX - Nt.value;
|
|
1037
|
+
if (!Mt.value) {
|
|
1037
1038
|
if (Math.abs(t) < 4) return;
|
|
1038
|
-
|
|
1039
|
+
Mt.value = !0, T.value = !0, Z.value = !0;
|
|
1039
1040
|
}
|
|
1040
|
-
let n =
|
|
1041
|
-
|
|
1041
|
+
let n = Rr(e.clientX) - Pt.value;
|
|
1042
|
+
Br(D.value === "start" ? n + Kt.value : n);
|
|
1042
1043
|
}
|
|
1043
|
-
function
|
|
1044
|
+
function Hr() {
|
|
1044
1045
|
if (!D.value) return;
|
|
1045
|
-
window.removeEventListener("mousemove",
|
|
1046
|
-
let e =
|
|
1047
|
-
D.value = null,
|
|
1046
|
+
window.removeEventListener("mousemove", Vr, !0), window.removeEventListener("mouseup", Hr, !0);
|
|
1047
|
+
let e = Mt.value;
|
|
1048
|
+
D.value = null, Mt.value = !1, Nt.value = 0, Pt.value = 0, e && j();
|
|
1048
1049
|
}
|
|
1049
|
-
function
|
|
1050
|
+
function Ur(e, t) {
|
|
1050
1051
|
if (!w.value || !b.minimapCompact || !F.value) return;
|
|
1051
1052
|
t.preventDefault(), t.stopPropagation(), G.value = null;
|
|
1052
|
-
let n =
|
|
1053
|
-
D.value = e,
|
|
1053
|
+
let n = Rr(t.clientX), r = e === "start" ? W.value.x - Kt.value : W.value.x + W.value.width;
|
|
1054
|
+
D.value = e, Mt.value = !1, Nt.value = t.clientX, Pt.value = n - r, window.addEventListener("mousemove", Vr, !0), window.addEventListener("mouseup", Hr, !0);
|
|
1054
1055
|
}
|
|
1055
|
-
let
|
|
1056
|
-
|
|
1056
|
+
let Wr = u(() => z.value), Gr = u(() => Math.max(z.value, B.value - 1));
|
|
1057
|
+
u(() => {
|
|
1057
1058
|
if (!w.value || !b.minimapCompact || !b.allMinimaps.length) return [];
|
|
1058
|
-
let e =
|
|
1059
|
+
let e = Wr.value, t = Gr.value;
|
|
1059
1060
|
return U.value.flatMap((n) => {
|
|
1060
1061
|
if (!n?.isVisible || !["line", "plot"].includes(n.type) || !n.type) return [];
|
|
1061
1062
|
let r = [], i = n.points?.find((t) => t.i === e && t.value !== null), a = n.points?.find((e) => e.i === t && e.value !== null);
|
|
@@ -1072,11 +1073,11 @@ var Se = ["data-minimap"], Ce = {
|
|
|
1072
1073
|
}), r;
|
|
1073
1074
|
});
|
|
1074
1075
|
});
|
|
1075
|
-
let $ =
|
|
1076
|
-
return
|
|
1077
|
-
setStartValue:
|
|
1078
|
-
setEndValue:
|
|
1079
|
-
}), (e, t) => (g(),
|
|
1076
|
+
let $ = u(() => Math.min(40, Math.max(20, b.handleWidth))), Kr = u(() => W.value.x - $.value), qr = u(() => W.value.x + W.value.width);
|
|
1077
|
+
return Ot({
|
|
1078
|
+
setStartValue: Un,
|
|
1079
|
+
setEndValue: Gn
|
|
1080
|
+
}), (e, t) => (g(), f("div", {
|
|
1080
1081
|
"data-minimap": w.value,
|
|
1081
1082
|
"data-dom-to-png-ignore": "",
|
|
1082
1083
|
"data-dom-to-png-ignore-layout": "",
|
|
@@ -1087,9 +1088,9 @@ var Se = ["data-minimap"], Ce = {
|
|
|
1087
1088
|
class: "vue-data-ui-zoom",
|
|
1088
1089
|
ref_key: "zoomWrapper",
|
|
1089
1090
|
ref: x,
|
|
1090
|
-
onMousedown:
|
|
1091
|
-
onTouchstart:
|
|
1092
|
-
}, [
|
|
1091
|
+
onMousedown: or,
|
|
1092
|
+
onTouchstart: or
|
|
1093
|
+
}, [p("div", we, [s.valueStart !== s.refreshStartPoint || s.valueEnd !== Xt.value ? (g(), f("div", Te, [he(e.$slots, "reset-action", { reset: sn }, () => [p("button", {
|
|
1093
1094
|
tabindex: "0",
|
|
1094
1095
|
role: "button",
|
|
1095
1096
|
class: "vue-data-ui-refresh-button",
|
|
@@ -1097,11 +1098,11 @@ var Se = ["data-minimap"], Ce = {
|
|
|
1097
1098
|
top: w.value ? "36px" : "-16px",
|
|
1098
1099
|
cursor: s.isCursorPointer ? "pointer" : "default"
|
|
1099
1100
|
}),
|
|
1100
|
-
onClick:
|
|
1101
|
-
}, [oe
|
|
1101
|
+
onClick: sn
|
|
1102
|
+
}, [ce(oe, {
|
|
1102
1103
|
name: "refresh",
|
|
1103
1104
|
stroke: s.textColor
|
|
1104
|
-
}, null, 8, ["stroke"])], 4)], !0)])) :
|
|
1105
|
+
}, null, 8, ["stroke"])], 4)], !0)])) : d("", !0)]), p("div", {
|
|
1105
1106
|
class: "double-range-slider",
|
|
1106
1107
|
ref_key: "minimapWrapper",
|
|
1107
1108
|
ref: F,
|
|
@@ -1112,33 +1113,37 @@ var Se = ["data-minimap"], Ce = {
|
|
|
1112
1113
|
onMouseenter: t[18] ||= (e) => Z.value = !0,
|
|
1113
1114
|
onMouseleave: t[19] ||= (e) => Z.value = !1
|
|
1114
1115
|
}, [
|
|
1115
|
-
w.value ? (g(),
|
|
1116
|
+
w.value ? (g(), f("div", Ee, [(g(), f("svg", {
|
|
1116
1117
|
ref_key: "minimapSvg",
|
|
1117
|
-
ref:
|
|
1118
|
+
ref: Ft,
|
|
1118
1119
|
key: `mm-${s.minimapMerged ? "merged" : "split"}-${s.minimapCompact ? "compact" : "normal"}`,
|
|
1119
|
-
xmlns:
|
|
1120
|
+
xmlns: _e(ee),
|
|
1120
1121
|
viewBox: `0 0 ${Math.max(0, I.value.width)} ${Math.max(0, I.value.height)}`,
|
|
1121
1122
|
preserveAspectRatio: "none"
|
|
1122
1123
|
}, [
|
|
1123
|
-
|
|
1124
|
-
|
|
1124
|
+
p("defs", null, [ce(se, {
|
|
1125
|
+
t: "linear",
|
|
1126
|
+
id: jt.value,
|
|
1125
1127
|
x1: "0%",
|
|
1126
1128
|
y1: "0%",
|
|
1127
1129
|
x2: "0%",
|
|
1128
|
-
y2: "100%"
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1130
|
+
y2: "100%",
|
|
1131
|
+
stops: [[
|
|
1132
|
+
"0%",
|
|
1133
|
+
s.minimapLineColor,
|
|
1134
|
+
.31
|
|
1135
|
+
], [
|
|
1136
|
+
"100%",
|
|
1137
|
+
"transparent",
|
|
1138
|
+
0
|
|
1139
|
+
]]
|
|
1140
|
+
}, null, 8, ["id", "stops"]), p("clipPath", { id: `selection_clip_${jt.value}` }, [p("rect", {
|
|
1136
1141
|
x: W.value.x,
|
|
1137
1142
|
y: "0",
|
|
1138
1143
|
width: Math.max(0, W.value.width),
|
|
1139
1144
|
height: Math.max(I.value.height, 0)
|
|
1140
|
-
}, null, 8,
|
|
1141
|
-
s.minimapCompact ? (g(),
|
|
1145
|
+
}, null, 8, ke)], 8, Oe)]),
|
|
1146
|
+
s.minimapCompact ? (g(), f("rect", {
|
|
1142
1147
|
key: 0,
|
|
1143
1148
|
class: "vue-ui-zoom-minimap-frame",
|
|
1144
1149
|
x: 0,
|
|
@@ -1148,8 +1153,8 @@ var Se = ["data-minimap"], Ce = {
|
|
|
1148
1153
|
fill: "none",
|
|
1149
1154
|
stroke: s.minimapFrameColor,
|
|
1150
1155
|
rx: 3
|
|
1151
|
-
}, null, 8,
|
|
1152
|
-
e.$slots.slotMap ?
|
|
1156
|
+
}, null, 8, Ae)) : d("", !0),
|
|
1157
|
+
e.$slots.slotMap ? d("", !0) : (g(), f(l, { key: 1 }, [s.minimapMerged ? (g(), f("path", {
|
|
1153
1158
|
key: 0,
|
|
1154
1159
|
d: `M${H.value.fullSet}`,
|
|
1155
1160
|
stroke: `${s.minimapLineColor}`,
|
|
@@ -1158,30 +1163,30 @@ var Se = ["data-minimap"], Ce = {
|
|
|
1158
1163
|
"stroke-linecap": "round",
|
|
1159
1164
|
"stroke-linejoin": "round",
|
|
1160
1165
|
style: { opacity: "0.6" }
|
|
1161
|
-
}, null, 8,
|
|
1166
|
+
}, null, 8, je)) : d("", !0), s.minimapMerged && !s.minimapCompact ? (g(), f("path", {
|
|
1162
1167
|
key: 1,
|
|
1163
1168
|
d: `M${V.value / 2},${Math.max(I.value.height, 0)} ${H.value.fullSet} L${I.value.width - V.value / 2},${Math.max(I.value.height, 0)}Z`,
|
|
1164
|
-
fill: `url(#${
|
|
1169
|
+
fill: `url(#${jt.value})`,
|
|
1165
1170
|
stroke: "none",
|
|
1166
1171
|
style: { opacity: "0.6" }
|
|
1167
|
-
}, null, 8,
|
|
1168
|
-
(g(!0),
|
|
1172
|
+
}, null, 8, Me)) : s.minimapMerged ? d("", !0) : (g(), f(l, { key: 2 }, [
|
|
1173
|
+
(g(!0), f(l, null, v(U.value.filter((e) => e.type === "bar" && e.isVisible), (e, t) => (g(), f("g", null, [(g(!0), f(l, null, v(e.points, (n, r) => (g(), f(l, null, [e && !isNaN(n.y) ? (g(), f("rect", {
|
|
1169
1174
|
key: 0,
|
|
1170
|
-
x:
|
|
1175
|
+
x: hn(n.x, t, r),
|
|
1171
1176
|
y: n.v >= 0 ? n.y : n.y0,
|
|
1172
|
-
width:
|
|
1177
|
+
width: gn(t, r),
|
|
1173
1178
|
height: n.v >= 0 ? n.y0 - n.y : n.y - n.y0,
|
|
1174
1179
|
fill: e.color,
|
|
1175
1180
|
style: { opacity: .6 }
|
|
1176
|
-
}, null, 8,
|
|
1177
|
-
(g(!0),
|
|
1181
|
+
}, null, 8, Ne)) : d("", !0)], 64))), 256))]))), 256)),
|
|
1182
|
+
(g(!0), f(l, null, v(U.value.filter((e) => e.type === "line"), (e) => (g(), f("g", null, [e.isVisible ? (g(), f("path", {
|
|
1178
1183
|
key: 0,
|
|
1179
1184
|
d: `M ${e.fullSet}`,
|
|
1180
1185
|
fill: "none",
|
|
1181
1186
|
stroke: e.color,
|
|
1182
1187
|
style: { opacity: "0.6" },
|
|
1183
1188
|
"stroke-dasharray": e.dashed ? "2 4" : 0
|
|
1184
|
-
}, null, 8,
|
|
1189
|
+
}, null, 8, Pe)) : d("", !0), e.isVisible && s.cutNullValues ? (g(!0), f(l, { key: 1 }, v(e.fullMarkers, (t) => (g(), f("circle", {
|
|
1185
1190
|
key: `sel-dot-under-${e.key}-${t.i}`,
|
|
1186
1191
|
cx: t.x,
|
|
1187
1192
|
cy: t.y,
|
|
@@ -1190,8 +1195,8 @@ var Se = ["data-minimap"], Ce = {
|
|
|
1190
1195
|
stroke: P.value,
|
|
1191
1196
|
"stroke-width": "0.5",
|
|
1192
1197
|
style: { opacity: "0.6" }
|
|
1193
|
-
}, null, 8,
|
|
1194
|
-
(g(!0),
|
|
1198
|
+
}, null, 8, Fe))), 128)) : d("", !0)]))), 256)),
|
|
1199
|
+
(g(!0), f(l, null, v(U.value.filter((e) => e.type === "plot"), (e) => (g(), f("g", null, [(g(!0), f(l, null, v(e.points, (t) => (g(), f("g", null, [e.isVisible && t.value !== null ? (g(), f("circle", {
|
|
1195
1200
|
key: `sel-plot-under-${e.key}-${t.i}`,
|
|
1196
1201
|
cx: t.x,
|
|
1197
1202
|
cy: t.y,
|
|
@@ -1200,9 +1205,9 @@ var Se = ["data-minimap"], Ce = {
|
|
|
1200
1205
|
stroke: P.value,
|
|
1201
1206
|
"stroke-width": "0.5",
|
|
1202
1207
|
style: { opacity: "0.6" }
|
|
1203
|
-
}, null, 8,
|
|
1208
|
+
}, null, 8, Ie)) : d("", !0)]))), 256))]))), 256))
|
|
1204
1209
|
], 64))], 64)),
|
|
1205
|
-
|
|
1210
|
+
p("rect", {
|
|
1206
1211
|
x: W.value.x,
|
|
1207
1212
|
y: 0,
|
|
1208
1213
|
width: Math.max(0, W.value.width),
|
|
@@ -1210,17 +1215,17 @@ var Se = ["data-minimap"], Ce = {
|
|
|
1210
1215
|
fill: P.value,
|
|
1211
1216
|
rx: s.minimapSelectionRadius,
|
|
1212
1217
|
stroke: "none"
|
|
1213
|
-
}, null, 8,
|
|
1214
|
-
|
|
1218
|
+
}, null, 8, Le),
|
|
1219
|
+
p("rect", {
|
|
1215
1220
|
x: W.value.x,
|
|
1216
1221
|
y: 0,
|
|
1217
1222
|
width: W.value.width < 0 ? 0 : W.value.width,
|
|
1218
1223
|
height: Math.max(I.value.height, 0),
|
|
1219
1224
|
rx: s.minimapSelectionRadius,
|
|
1220
1225
|
fill: P.value,
|
|
1221
|
-
style: h({ opacity:
|
|
1222
|
-
}, null, 12,
|
|
1223
|
-
|
|
1226
|
+
style: h({ opacity: Jn.value || T.value ? 0 : 1 })
|
|
1227
|
+
}, null, 12, Re),
|
|
1228
|
+
p("rect", {
|
|
1224
1229
|
x: W.value.x,
|
|
1225
1230
|
y: 0,
|
|
1226
1231
|
width: W.value.width < 0 ? 0 : W.value.width,
|
|
@@ -1235,20 +1240,20 @@ var Se = ["data-minimap"], Ce = {
|
|
|
1235
1240
|
"aria-valuemax": Number(b.max),
|
|
1236
1241
|
"aria-valuenow": Number(S.value),
|
|
1237
1242
|
"aria-valuetext": Q.value.left && Q.value.right ? `${Q.value.left} – ${Q.value.right}` : void 0,
|
|
1238
|
-
onKeydown:
|
|
1239
|
-
}, null, 44,
|
|
1240
|
-
!s.minimapMerged &&
|
|
1243
|
+
onKeydown: Mr
|
|
1244
|
+
}, null, 44, ze),
|
|
1245
|
+
!s.minimapMerged && wn.value < 0 ? (g(), f("line", {
|
|
1241
1246
|
key: 2,
|
|
1242
1247
|
class: "slicer-minimap-zero-line",
|
|
1243
1248
|
x1: 0,
|
|
1244
1249
|
x2: I.value.width,
|
|
1245
|
-
y1:
|
|
1246
|
-
y2:
|
|
1250
|
+
y1: En.value,
|
|
1251
|
+
y2: En.value,
|
|
1247
1252
|
stroke: s.minimapFrameColor,
|
|
1248
1253
|
"stroke-width": "0.5"
|
|
1249
|
-
}, null, 8,
|
|
1250
|
-
e.$slots.slotMap ?
|
|
1251
|
-
H.value && H.value.sliced && H.value.sliced.length ? (g(),
|
|
1254
|
+
}, null, 8, Be)) : d("", !0),
|
|
1255
|
+
e.$slots.slotMap ? d("", !0) : (g(), f(l, { key: 3 }, [s.minimapMerged ? (g(), f("g", Ve, [
|
|
1256
|
+
H.value && H.value.sliced && H.value.sliced.length ? (g(), f(l, { key: 0 }, [H.value.selectionSet ? (g(), f("path", {
|
|
1252
1257
|
key: 0,
|
|
1253
1258
|
d: `M ${H.value.selectionSet}`,
|
|
1254
1259
|
stroke: `${s.minimapLineColor}`,
|
|
@@ -1256,8 +1261,8 @@ var Se = ["data-minimap"], Ce = {
|
|
|
1256
1261
|
"stroke-width": "2",
|
|
1257
1262
|
"stroke-linecap": "round",
|
|
1258
1263
|
"stroke-linejoin": "round"
|
|
1259
|
-
}, null, 8,
|
|
1260
|
-
H.value && H.value.firstPlot ? (g(),
|
|
1264
|
+
}, null, 8, He)) : d("", !0)], 64)) : d("", !0),
|
|
1265
|
+
H.value && H.value.firstPlot ? (g(), f("circle", {
|
|
1261
1266
|
key: 1,
|
|
1262
1267
|
cx: H.value.firstPlot.x,
|
|
1263
1268
|
cy: H.value.firstPlot.y,
|
|
@@ -1265,8 +1270,8 @@ var Se = ["data-minimap"], Ce = {
|
|
|
1265
1270
|
stroke: P.value,
|
|
1266
1271
|
r: "3",
|
|
1267
1272
|
fill: s.minimapLineColor
|
|
1268
|
-
}, null, 8,
|
|
1269
|
-
H.value && H.value.lastPlot ? (g(),
|
|
1273
|
+
}, null, 8, Ue)) : d("", !0),
|
|
1274
|
+
H.value && H.value.lastPlot ? (g(), f("circle", {
|
|
1270
1275
|
key: 2,
|
|
1271
1276
|
cx: H.value.lastPlot.x,
|
|
1272
1277
|
cy: H.value.lastPlot.y,
|
|
@@ -1274,18 +1279,18 @@ var Se = ["data-minimap"], Ce = {
|
|
|
1274
1279
|
stroke: P.value,
|
|
1275
1280
|
r: "3",
|
|
1276
1281
|
fill: s.minimapLineColor
|
|
1277
|
-
}, null, 8,
|
|
1278
|
-
])) : (g(),
|
|
1279
|
-
(g(!0),
|
|
1282
|
+
}, null, 8, We)) : d("", !0)
|
|
1283
|
+
])) : (g(), f("g", Ge, [
|
|
1284
|
+
(g(!0), f(l, null, v(U.value.filter((e) => e.type === "bar" && e.isVisible), (e, t) => (g(), f("g", null, [(g(!0), f(l, null, v(e.points, (n, r) => (g(), f(l, null, [e && !isNaN(n.y) ? (g(), f("rect", {
|
|
1280
1285
|
key: 0,
|
|
1281
|
-
x:
|
|
1286
|
+
x: hn(n.x, t, r),
|
|
1282
1287
|
y: n.v >= 0 ? n.y : n.y0,
|
|
1283
|
-
width:
|
|
1288
|
+
width: gn(t, r),
|
|
1284
1289
|
height: n.v >= 0 ? n.y0 - n.y : n.y - n.y0,
|
|
1285
1290
|
fill: e.color,
|
|
1286
1291
|
style: h({ opacity: +(r >= k.value && r < A.value) })
|
|
1287
|
-
}, null, 12,
|
|
1288
|
-
(g(!0),
|
|
1292
|
+
}, null, 12, Ke)) : d("", !0)], 64))), 256))]))), 256)),
|
|
1293
|
+
(g(!0), f(l, null, v(U.value.filter((e) => e.type === "line"), (e, t) => (g(), f("g", { key: String(e.key) }, [e && e.hasSelection && e.selectionSet && e.isVisible ? (g(), f("path", {
|
|
1289
1294
|
key: 0,
|
|
1290
1295
|
d: `M ${e.selectionSet}`,
|
|
1291
1296
|
stroke: e.temperatureColors ? `url(#temperature_grad_line_${t}_${s.uuid})` : e.color,
|
|
@@ -1294,8 +1299,8 @@ var Se = ["data-minimap"], Ce = {
|
|
|
1294
1299
|
"stroke-linecap": "round",
|
|
1295
1300
|
"stroke-linejoin": "round",
|
|
1296
1301
|
"stroke-dasharray": e.dashed ? "2 4" : 0
|
|
1297
|
-
}, null, 8,
|
|
1298
|
-
(g(!0),
|
|
1302
|
+
}, null, 8, qe)) : d("", !0)]))), 128)),
|
|
1303
|
+
(g(!0), f(l, null, v(U.value.filter((e) => e.type === "plot"), (e) => (g(), f("g", { key: String(e.key) }, [(g(!0), f(l, null, v(e.sliced, (t) => (g(), f("g", null, [e.isVisible && t.value !== null ? (g(), f("circle", {
|
|
1299
1304
|
key: 0,
|
|
1300
1305
|
cx: t.x,
|
|
1301
1306
|
cy: t.y,
|
|
@@ -1304,16 +1309,16 @@ var Se = ["data-minimap"], Ce = {
|
|
|
1304
1309
|
stroke: P.value,
|
|
1305
1310
|
"stroke-width": "0.5",
|
|
1306
1311
|
style: { opacity: "0.6" }
|
|
1307
|
-
}, null, 8,
|
|
1312
|
+
}, null, 8, Je)) : d("", !0)]))), 256))]))), 128))
|
|
1308
1313
|
]))], 64)),
|
|
1309
|
-
e.$slots.slotMap ?
|
|
1314
|
+
e.$slots.slotMap ? he(e.$slots, "slotMap", de(le({ key: 4 }, {
|
|
1310
1315
|
width: Math.max(0, I.value.width),
|
|
1311
1316
|
height: Math.max(0, I.value.height),
|
|
1312
|
-
zeroY:
|
|
1317
|
+
zeroY: En.value,
|
|
1313
1318
|
unitW: Math.max(0, V.value)
|
|
1314
|
-
})), void 0, !0) :
|
|
1315
|
-
G.value !== null && !X.value ? (g(),
|
|
1316
|
-
|
|
1319
|
+
})), void 0, !0) : d("", !0),
|
|
1320
|
+
G.value !== null && !X.value ? (g(), f("line", de(le({ key: 5 }, Cr.value)), null, 16)) : d("", !0),
|
|
1321
|
+
p("rect", {
|
|
1317
1322
|
x: 0,
|
|
1318
1323
|
y: 0,
|
|
1319
1324
|
width: Math.max(0, I.value.width),
|
|
@@ -1322,13 +1327,13 @@ var Se = ["data-minimap"], Ce = {
|
|
|
1322
1327
|
style: h([{ "pointer-events": "all !important" }, { cursor: s.enableSelectionDrag ? X.value ? "grabbing" : "grab" : "default" }]),
|
|
1323
1328
|
onMousedown: t[0] ||= (e) => X.value = !0,
|
|
1324
1329
|
onMouseup: t[1] ||= (e) => X.value = !1,
|
|
1325
|
-
onMousemove:
|
|
1326
|
-
onMouseleave:
|
|
1327
|
-
}, null, 44,
|
|
1328
|
-
w.value && s.minimapCompact ? (g(),
|
|
1329
|
-
|
|
1330
|
+
onMousemove: Ln,
|
|
1331
|
+
onMouseleave: Rn
|
|
1332
|
+
}, null, 44, Ye),
|
|
1333
|
+
w.value && s.minimapCompact ? (g(), f(l, { key: 6 }, [
|
|
1334
|
+
p("rect", {
|
|
1330
1335
|
class: "vue-ui-zoom-compact-minimap-handle",
|
|
1331
|
-
x:
|
|
1336
|
+
x: Kr.value,
|
|
1332
1337
|
y: 0,
|
|
1333
1338
|
width: $.value,
|
|
1334
1339
|
height: I.value.height,
|
|
@@ -1336,18 +1341,18 @@ var Se = ["data-minimap"], Ce = {
|
|
|
1336
1341
|
stroke: s.handleBorderColor || s.textColor,
|
|
1337
1342
|
"stroke-width": s.handleBorderWidth,
|
|
1338
1343
|
rx: 3
|
|
1339
|
-
}, null, 8,
|
|
1340
|
-
s.handleType && s.handleType !== "empty" ? (g(),
|
|
1344
|
+
}, null, 8, Xe),
|
|
1345
|
+
s.handleType && s.handleType !== "empty" ? (g(), f("g", {
|
|
1341
1346
|
key: 0,
|
|
1342
1347
|
class: "compact-handle-icon",
|
|
1343
|
-
transform: `translate(${
|
|
1348
|
+
transform: `translate(${Kr.value}, 0)`,
|
|
1344
1349
|
style: { "pointer-events": "none" }
|
|
1345
|
-
}, [(g(),
|
|
1350
|
+
}, [(g(), f("svg", {
|
|
1346
1351
|
width: $.value,
|
|
1347
1352
|
height: I.value.height,
|
|
1348
1353
|
viewBox: "0 0 20 20",
|
|
1349
1354
|
preserveAspectRatio: "xMidYMid meet"
|
|
1350
|
-
}, [s.handleType === "arrow" ? (g(),
|
|
1355
|
+
}, [s.handleType === "arrow" ? (g(), f("path", {
|
|
1351
1356
|
key: 0,
|
|
1352
1357
|
d: "M 7 7 L 3 10 L 7 13 L 7 7 M 13 7 L 17 10 L 13 13 L 13 7",
|
|
1353
1358
|
fill: P.value,
|
|
@@ -1355,7 +1360,7 @@ var Se = ["data-minimap"], Ce = {
|
|
|
1355
1360
|
"stroke-width": .618,
|
|
1356
1361
|
"stroke-linejoin": "round",
|
|
1357
1362
|
"stroke-linecap": "round"
|
|
1358
|
-
}, null, 8,
|
|
1363
|
+
}, null, 8, $e)) : s.handleType === "chevron" ? (g(), f("path", {
|
|
1359
1364
|
key: 1,
|
|
1360
1365
|
d: "M 6 7 L 4 10 L 6 13 M 14 7 L 16 10 L 14 13",
|
|
1361
1366
|
fill: "none",
|
|
@@ -1363,16 +1368,16 @@ var Se = ["data-minimap"], Ce = {
|
|
|
1363
1368
|
"stroke-width": .618,
|
|
1364
1369
|
"stroke-linejoin": "round",
|
|
1365
1370
|
"stroke-linecap": "round"
|
|
1366
|
-
}, null, 8,
|
|
1371
|
+
}, null, 8, et)) : s.handleType === "grab" ? (g(), f("path", {
|
|
1367
1372
|
key: 2,
|
|
1368
1373
|
d: "M 8 5 A 1 1 0 0 0 8 7 A 1 1 0 0 0 8 5 M 8 9 A 1 1 0 0 0 8 11 A 1 1 0 0 0 8 9 M 8 13 A 1 1 0 0 0 8 15 A 1 1 0 0 0 8 13 M 12 5 A 1 1 0 0 0 12 7 A 1 1 0 0 0 12 5 M 12 9 A 1 1 0 0 0 12 11 A 1 1 0 0 0 12 9 M 12 13 A 1 1 0 0 0 12 15 A 1 1 0 0 0 12 13",
|
|
1369
1374
|
fill: s.handleIconColor || s.textColor,
|
|
1370
1375
|
stroke: "none",
|
|
1371
1376
|
opacity: "0.6"
|
|
1372
|
-
}, null, 8,
|
|
1373
|
-
|
|
1377
|
+
}, null, 8, tt)) : d("", !0)], 8, Qe))], 8, Ze)) : d("", !0),
|
|
1378
|
+
p("rect", {
|
|
1374
1379
|
class: "vue-ui-zoom-compact-minimap-handle",
|
|
1375
|
-
x:
|
|
1380
|
+
x: qr.value,
|
|
1376
1381
|
y: 0,
|
|
1377
1382
|
width: $.value,
|
|
1378
1383
|
height: I.value.height,
|
|
@@ -1380,18 +1385,18 @@ var Se = ["data-minimap"], Ce = {
|
|
|
1380
1385
|
stroke: s.handleBorderColor || s.textColor,
|
|
1381
1386
|
"stroke-width": s.handleBorderWidth,
|
|
1382
1387
|
rx: 3
|
|
1383
|
-
}, null, 8,
|
|
1384
|
-
s.handleType && s.handleType !== "empty" ? (g(),
|
|
1388
|
+
}, null, 8, nt),
|
|
1389
|
+
s.handleType && s.handleType !== "empty" ? (g(), f("g", {
|
|
1385
1390
|
key: 1,
|
|
1386
1391
|
class: "compact-handle-icon",
|
|
1387
|
-
transform: `translate(${
|
|
1392
|
+
transform: `translate(${qr.value}, 0)`,
|
|
1388
1393
|
style: { "pointer-events": "none" }
|
|
1389
|
-
}, [(g(),
|
|
1394
|
+
}, [(g(), f("svg", {
|
|
1390
1395
|
width: $.value,
|
|
1391
1396
|
height: I.value.height,
|
|
1392
1397
|
viewBox: "0 0 20 20",
|
|
1393
1398
|
preserveAspectRatio: "xMidYMid meet"
|
|
1394
|
-
}, [s.handleType === "arrow" ? (g(),
|
|
1399
|
+
}, [s.handleType === "arrow" ? (g(), f("path", {
|
|
1395
1400
|
key: 0,
|
|
1396
1401
|
d: "M 7 7 L 3 10 L 7 13 L 7 7 M 13 7 L 17 10 L 13 13 L 13 7",
|
|
1397
1402
|
fill: P.value,
|
|
@@ -1399,7 +1404,7 @@ var Se = ["data-minimap"], Ce = {
|
|
|
1399
1404
|
"stroke-width": .618,
|
|
1400
1405
|
"stroke-linejoin": "round",
|
|
1401
1406
|
"stroke-linecap": "round"
|
|
1402
|
-
}, null, 8,
|
|
1407
|
+
}, null, 8, at)) : s.handleType === "chevron" ? (g(), f("path", {
|
|
1403
1408
|
key: 1,
|
|
1404
1409
|
d: "M 6 7 L 4 10 L 6 13 M 14 7 L 16 10 L 14 13",
|
|
1405
1410
|
fill: "none",
|
|
@@ -1407,16 +1412,16 @@ var Se = ["data-minimap"], Ce = {
|
|
|
1407
1412
|
"stroke-width": .618,
|
|
1408
1413
|
"stroke-linejoin": "round",
|
|
1409
1414
|
"stroke-linecap": "round"
|
|
1410
|
-
}, null, 8,
|
|
1415
|
+
}, null, 8, ot)) : s.handleType === "grab" ? (g(), f("path", {
|
|
1411
1416
|
key: 2,
|
|
1412
1417
|
d: "M 8 5 A 1 1 0 0 0 8 7 A 1 1 0 0 0 8 5 M 8 9 A 1 1 0 0 0 8 11 A 1 1 0 0 0 8 9 M 8 13 A 1 1 0 0 0 8 15 A 1 1 0 0 0 8 13 M 12 5 A 1 1 0 0 0 12 7 A 1 1 0 0 0 12 5 M 12 9 A 1 1 0 0 0 12 11 A 1 1 0 0 0 12 9 M 12 13 A 1 1 0 0 0 12 15 A 1 1 0 0 0 12 13",
|
|
1413
1418
|
fill: s.handleIconColor || s.textColor,
|
|
1414
1419
|
stroke: "none",
|
|
1415
1420
|
opacity: "0.6"
|
|
1416
|
-
}, null, 8,
|
|
1417
|
-
], 64)) :
|
|
1418
|
-
e.$slots.slotMap ?
|
|
1419
|
-
H.value && H.value.firstPlot && H.value.firstPlot.value !== null ? (g(),
|
|
1421
|
+
}, null, 8, st)) : d("", !0)], 8, it))], 8, rt)) : d("", !0)
|
|
1422
|
+
], 64)) : d("", !0),
|
|
1423
|
+
e.$slots.slotMap ? d("", !0) : (g(), f(l, { key: 7 }, [s.minimapMerged ? (g(), f("g", ct, [
|
|
1424
|
+
H.value && H.value.firstPlot && H.value.firstPlot.value !== null ? (g(), f("circle", {
|
|
1420
1425
|
key: 0,
|
|
1421
1426
|
cx: H.value.firstPlot.x,
|
|
1422
1427
|
cy: H.value.firstPlot.y,
|
|
@@ -1424,15 +1429,15 @@ var Se = ["data-minimap"], Ce = {
|
|
|
1424
1429
|
stroke: P.value,
|
|
1425
1430
|
r: "4",
|
|
1426
1431
|
fill: s.minimapLineColor
|
|
1427
|
-
}, null, 8,
|
|
1428
|
-
H.value && H.value.firstPlot && H.value.firstPlot.value !== null ? (g(),
|
|
1432
|
+
}, null, 8, lt)) : d("", !0),
|
|
1433
|
+
H.value && H.value.firstPlot && H.value.firstPlot.value !== null ? (g(), f("circle", {
|
|
1429
1434
|
key: 1,
|
|
1430
1435
|
cx: H.value.firstPlot.x,
|
|
1431
1436
|
cy: H.value.firstPlot.y,
|
|
1432
1437
|
r: 2,
|
|
1433
1438
|
fill: P.value
|
|
1434
|
-
}, null, 8,
|
|
1435
|
-
H.value && H.value.lastPlot && H.value.lastPlot.value !== null ? (g(),
|
|
1439
|
+
}, null, 8, ut)) : d("", !0),
|
|
1440
|
+
H.value && H.value.lastPlot && H.value.lastPlot.value !== null ? (g(), f("circle", {
|
|
1436
1441
|
key: 2,
|
|
1437
1442
|
cx: H.value.lastPlot.x,
|
|
1438
1443
|
cy: H.value.lastPlot.y,
|
|
@@ -1440,16 +1445,16 @@ var Se = ["data-minimap"], Ce = {
|
|
|
1440
1445
|
stroke: P.value,
|
|
1441
1446
|
r: "4",
|
|
1442
1447
|
fill: s.minimapLineColor
|
|
1443
|
-
}, null, 8,
|
|
1444
|
-
H.value && H.value.lastPlot && H.value.lastPlot.value !== null ? (g(),
|
|
1448
|
+
}, null, 8, dt)) : d("", !0),
|
|
1449
|
+
H.value && H.value.lastPlot && H.value.lastPlot.value !== null ? (g(), f("circle", {
|
|
1445
1450
|
key: 3,
|
|
1446
1451
|
cx: H.value.lastPlot.x,
|
|
1447
1452
|
cy: H.value.lastPlot.y,
|
|
1448
1453
|
r: "2",
|
|
1449
1454
|
fill: P.value
|
|
1450
|
-
}, null, 8,
|
|
1451
|
-
])) : (g(),
|
|
1452
|
-
e && e.hasSelection && e.selectionSet && e.isVisible ? (g(),
|
|
1455
|
+
}, null, 8, ft)) : d("", !0)
|
|
1456
|
+
])) : (g(), f("g", pt, [(g(!0), f(l, null, v(U.value.filter((e) => e.type === "line"), (e, t) => (g(), f("g", { key: String(e.key) }, [
|
|
1457
|
+
e && e.hasSelection && e.selectionSet && e.isVisible ? (g(), f("path", {
|
|
1453
1458
|
key: 0,
|
|
1454
1459
|
d: `M ${e.selectionSet}`,
|
|
1455
1460
|
stroke: e.temperatureColors ? `url(#temperature_grad_line_${t}_${s.uuid})` : e.color,
|
|
@@ -1458,8 +1463,8 @@ var Se = ["data-minimap"], Ce = {
|
|
|
1458
1463
|
"stroke-linecap": "round",
|
|
1459
1464
|
"stroke-linejoin": "round",
|
|
1460
1465
|
"stroke-dasharray": e.dashed ? "2 4" : 0
|
|
1461
|
-
}, null, 8,
|
|
1462
|
-
e.isVisible && s.cutNullValues ? (g(!0),
|
|
1466
|
+
}, null, 8, mt)) : d("", !0),
|
|
1467
|
+
e.isVisible && s.cutNullValues ? (g(!0), f(l, { key: 1 }, v(e.selectionMarkers, (t) => (g(), f("circle", {
|
|
1463
1468
|
key: `sel-dot-${e.key}-${t.i}`,
|
|
1464
1469
|
cx: t.x,
|
|
1465
1470
|
cy: t.y,
|
|
@@ -1467,8 +1472,8 @@ var Se = ["data-minimap"], Ce = {
|
|
|
1467
1472
|
fill: e.color,
|
|
1468
1473
|
stroke: P.value,
|
|
1469
1474
|
"stroke-width": "0.5"
|
|
1470
|
-
}, null, 8,
|
|
1471
|
-
e && e.firstPlot && e.isVisible && e.firstPlot.value !== null ? (g(),
|
|
1475
|
+
}, null, 8, ht))), 128)) : d("", !0),
|
|
1476
|
+
e && e.firstPlot && e.isVisible && e.firstPlot.value !== null ? (g(), f("circle", {
|
|
1472
1477
|
key: 2,
|
|
1473
1478
|
cx: e.firstPlot.x,
|
|
1474
1479
|
cy: e.firstPlot.y,
|
|
@@ -1476,15 +1481,15 @@ var Se = ["data-minimap"], Ce = {
|
|
|
1476
1481
|
stroke: P.value,
|
|
1477
1482
|
r: "4",
|
|
1478
1483
|
fill: e.color
|
|
1479
|
-
}, null, 8,
|
|
1480
|
-
e && e.firstPlot && e.isVisible && e.firstPlot.value !== null ? (g(),
|
|
1484
|
+
}, null, 8, gt)) : d("", !0),
|
|
1485
|
+
e && e.firstPlot && e.isVisible && e.firstPlot.value !== null ? (g(), f("circle", {
|
|
1481
1486
|
key: 3,
|
|
1482
1487
|
cx: e.firstPlot.x,
|
|
1483
1488
|
cy: e.firstPlot.y,
|
|
1484
1489
|
r: "2",
|
|
1485
1490
|
fill: P.value
|
|
1486
|
-
}, null, 8,
|
|
1487
|
-
e && e.lastPlot && e.isVisible && e.lastPlot.value !== null ? (g(),
|
|
1491
|
+
}, null, 8, _t)) : d("", !0),
|
|
1492
|
+
e && e.lastPlot && e.isVisible && e.lastPlot.value !== null ? (g(), f("circle", {
|
|
1488
1493
|
key: 4,
|
|
1489
1494
|
cx: e.lastPlot.x,
|
|
1490
1495
|
cy: e.lastPlot.y,
|
|
@@ -1492,15 +1497,15 @@ var Se = ["data-minimap"], Ce = {
|
|
|
1492
1497
|
stroke: P.value,
|
|
1493
1498
|
r: "4",
|
|
1494
1499
|
fill: e.color
|
|
1495
|
-
}, null, 8,
|
|
1496
|
-
e && e.lastPlot && e.isVisible && e.lastPlot.value !== null ? (g(),
|
|
1500
|
+
}, null, 8, vt)) : d("", !0),
|
|
1501
|
+
e && e.lastPlot && e.isVisible && e.lastPlot.value !== null ? (g(), f("circle", {
|
|
1497
1502
|
key: 5,
|
|
1498
1503
|
cx: e.lastPlot.x,
|
|
1499
1504
|
cy: e.lastPlot.y,
|
|
1500
1505
|
r: "2",
|
|
1501
1506
|
fill: P.value
|
|
1502
|
-
}, null, 8,
|
|
1503
|
-
]))), 128)), (g(!0),
|
|
1507
|
+
}, null, 8, yt)) : d("", !0)
|
|
1508
|
+
]))), 128)), (g(!0), f(l, null, v(U.value.filter((e) => e.type === "plot"), (e) => (g(), f("g", { key: String(e.key) }, [(g(!0), f(l, null, v(e.points, (t) => (g(), f("g", null, [e.isVisible && s.cutNullValues && t.value !== null ? (g(), f("circle", {
|
|
1504
1509
|
key: `sel-plot-${e.key}-${t.i}`,
|
|
1505
1510
|
cx: t.x,
|
|
1506
1511
|
cy: t.y,
|
|
@@ -1508,14 +1513,14 @@ var Se = ["data-minimap"], Ce = {
|
|
|
1508
1513
|
fill: e.color,
|
|
1509
1514
|
stroke: P.value,
|
|
1510
1515
|
"stroke-width": "0.5"
|
|
1511
|
-
}, null, 8,
|
|
1512
|
-
], 8,
|
|
1513
|
-
|
|
1516
|
+
}, null, 8, bt)) : d("", !0)]))), 256))]))), 128))]))], 64))
|
|
1517
|
+
], 8, De))])) : d("", !0),
|
|
1518
|
+
p("div", {
|
|
1514
1519
|
class: "slider-track",
|
|
1515
1520
|
style: h({ visibility: w.value && s.minimapCompact ? "hidden" : "visible" })
|
|
1516
1521
|
}, null, 4),
|
|
1517
|
-
|
|
1518
|
-
class:
|
|
1522
|
+
p("div", {
|
|
1523
|
+
class: m({
|
|
1519
1524
|
"range-highlight": !0,
|
|
1520
1525
|
move: s.enableSelectionDrag
|
|
1521
1526
|
}),
|
|
@@ -1527,14 +1532,14 @@ var Se = ["data-minimap"], Ce = {
|
|
|
1527
1532
|
visibility: w.value && s.minimapCompact ? "hidden" : "visible"
|
|
1528
1533
|
})
|
|
1529
1534
|
}, null, 38),
|
|
1530
|
-
s.enableRangeHandles ?
|
|
1535
|
+
s.enableRangeHandles ? be((g(), f("input", {
|
|
1531
1536
|
key: 1,
|
|
1532
1537
|
"aria-label": "range-handle-left",
|
|
1533
1538
|
ref_key: "rangeStart",
|
|
1534
|
-
ref:
|
|
1539
|
+
ref: zn,
|
|
1535
1540
|
type: "range",
|
|
1536
1541
|
step: s.precision > 0 ? 1 / 10 ** s.precision : 1,
|
|
1537
|
-
class:
|
|
1542
|
+
class: m({
|
|
1538
1543
|
"range-left": !0,
|
|
1539
1544
|
"range-handle": !0,
|
|
1540
1545
|
"range-minimap": w.value && s.verticalHandles,
|
|
@@ -1543,28 +1548,28 @@ var Se = ["data-minimap"], Ce = {
|
|
|
1543
1548
|
min: s.min,
|
|
1544
1549
|
max: s.minimapCompact && w.value && !s.useValueRange ? Math.max(0, R.value - 1) : s.max,
|
|
1545
1550
|
tabindex: w.value ? -1 : 0,
|
|
1546
|
-
"onUpdate:modelValue": t[4] ||= (e) =>
|
|
1551
|
+
"onUpdate:modelValue": t[4] ||= (e) => An.value = e,
|
|
1547
1552
|
onFocus: t[5] ||= (e) => w.value && e.target.blur(),
|
|
1548
|
-
onInput: t[6] ||= (e) =>
|
|
1553
|
+
onInput: t[6] ||= (e) => An.value = e.target.valueAsNumber,
|
|
1549
1554
|
onChange: j,
|
|
1550
|
-
onKeyup:
|
|
1555
|
+
onKeyup: xe(j, ["enter"]),
|
|
1551
1556
|
onBlur: j,
|
|
1552
|
-
onMouseenter: t[7] ||= (e) =>
|
|
1557
|
+
onMouseenter: t[7] ||= (e) => br("start"),
|
|
1553
1558
|
onPointerup: j
|
|
1554
|
-
}, null, 42,
|
|
1555
|
-
|
|
1556
|
-
|
|
1559
|
+
}, null, 42, xt)), [[
|
|
1560
|
+
ye,
|
|
1561
|
+
An.value,
|
|
1557
1562
|
void 0,
|
|
1558
1563
|
{ number: !0 }
|
|
1559
|
-
]]) :
|
|
1560
|
-
s.enableRangeHandles ?
|
|
1564
|
+
]]) : d("", !0),
|
|
1565
|
+
s.enableRangeHandles ? be((g(), f("input", {
|
|
1561
1566
|
key: 2,
|
|
1562
1567
|
"aria-label": "range-handle-right",
|
|
1563
1568
|
ref_key: "rangeEnd",
|
|
1564
|
-
ref:
|
|
1569
|
+
ref: Bn,
|
|
1565
1570
|
type: "range",
|
|
1566
1571
|
step: s.precision > 0 ? 1 / 10 ** s.precision : 1,
|
|
1567
|
-
class:
|
|
1572
|
+
class: m({
|
|
1568
1573
|
"range-right": !0,
|
|
1569
1574
|
"range-handle": !0,
|
|
1570
1575
|
"range-minimap": w.value && s.verticalHandles,
|
|
@@ -1574,53 +1579,53 @@ var Se = ["data-minimap"], Ce = {
|
|
|
1574
1579
|
max: s.minimapCompact && w.value && !s.useValueRange ? Math.max(0, R.value - 1) : s.max,
|
|
1575
1580
|
tabindex: w.value ? -1 : 0,
|
|
1576
1581
|
onFocus: t[8] ||= (e) => w.value && e.target.blur(),
|
|
1577
|
-
"onUpdate:modelValue": t[9] ||= (e) =>
|
|
1578
|
-
onInput: t[10] ||= (e) =>
|
|
1582
|
+
"onUpdate:modelValue": t[9] ||= (e) => jn.value = e,
|
|
1583
|
+
onInput: t[10] ||= (e) => jn.value = e.target.valueAsNumber,
|
|
1579
1584
|
onChange: j,
|
|
1580
|
-
onKeyup:
|
|
1585
|
+
onKeyup: xe(j, ["enter"]),
|
|
1581
1586
|
onBlur: j,
|
|
1582
|
-
onMouseenter: t[11] ||= (e) =>
|
|
1587
|
+
onMouseenter: t[11] ||= (e) => br("end"),
|
|
1583
1588
|
onPointerup: j
|
|
1584
|
-
}, null, 42,
|
|
1585
|
-
|
|
1586
|
-
|
|
1589
|
+
}, null, 42, St)), [[
|
|
1590
|
+
ye,
|
|
1591
|
+
jn.value,
|
|
1587
1592
|
void 0,
|
|
1588
1593
|
{ number: !0 }
|
|
1589
|
-
]]) :
|
|
1590
|
-
w.value && s.minimapCompact ? (g(),
|
|
1591
|
-
xmlns:
|
|
1594
|
+
]]) : d("", !0),
|
|
1595
|
+
w.value && s.minimapCompact ? (g(), f("div", Ct, [(g(), f("svg", {
|
|
1596
|
+
xmlns: _e(ee),
|
|
1592
1597
|
viewBox: `0 0 ${Math.max(0, I.value.width)} ${Math.max(0, I.value.height + 1)}`
|
|
1593
|
-
}, [
|
|
1598
|
+
}, [p("rect", le({
|
|
1594
1599
|
class: "vue-ui-zoom-compact-minimap-handle",
|
|
1595
|
-
x:
|
|
1600
|
+
x: Kr.value,
|
|
1596
1601
|
y: 0,
|
|
1597
1602
|
width: $.value,
|
|
1598
1603
|
height: I.value.height,
|
|
1599
1604
|
fill: "transparent",
|
|
1600
1605
|
stroke: "none"
|
|
1601
|
-
},
|
|
1602
|
-
onKeydown: t[12] ||= (e) =>
|
|
1603
|
-
onMousedown: t[13] ||=
|
|
1604
|
-
onClick: t[14] ||=
|
|
1605
|
-
}), null, 16,
|
|
1606
|
+
}, Ir.value, {
|
|
1607
|
+
onKeydown: t[12] ||= (e) => Fr("start", e),
|
|
1608
|
+
onMousedown: t[13] ||= Se((e) => Ur("start", e), ["stop", "prevent"]),
|
|
1609
|
+
onClick: t[14] ||= Se(() => {}, ["stop", "prevent"])
|
|
1610
|
+
}), null, 16, Tt), p("rect", le({
|
|
1606
1611
|
class: "vue-ui-zoom-compact-minimap-handle",
|
|
1607
|
-
x:
|
|
1612
|
+
x: qr.value,
|
|
1608
1613
|
y: 0,
|
|
1609
1614
|
width: $.value,
|
|
1610
1615
|
height: I.value.height,
|
|
1611
1616
|
fill: "transparent",
|
|
1612
1617
|
stroke: "none",
|
|
1613
1618
|
rx: 3
|
|
1614
|
-
},
|
|
1615
|
-
onKeydown: t[15] ||= (e) =>
|
|
1616
|
-
onMousedown: t[16] ||=
|
|
1617
|
-
onClick: t[17] ||=
|
|
1618
|
-
}), null, 16,
|
|
1619
|
-
Q.value.left ? (g(),
|
|
1619
|
+
}, Lr.value, {
|
|
1620
|
+
onKeydown: t[15] ||= (e) => Fr("end", e),
|
|
1621
|
+
onMousedown: t[16] ||= Se((e) => Ur("end", e), ["stop", "prevent"]),
|
|
1622
|
+
onClick: t[17] ||= Se(() => {}, ["stop", "prevent"])
|
|
1623
|
+
}), null, 16, Et)], 8, wt))])) : d("", !0),
|
|
1624
|
+
Q.value.left ? (g(), f("div", {
|
|
1620
1625
|
key: 4,
|
|
1621
1626
|
ref_key: "tooltipLeft",
|
|
1622
|
-
ref:
|
|
1623
|
-
class:
|
|
1627
|
+
ref: pr,
|
|
1628
|
+
class: m({
|
|
1624
1629
|
"range-tooltip": !0,
|
|
1625
1630
|
"range-tooltip-visible": Z.value,
|
|
1626
1631
|
"range-tooltip-arrow": N.value.arrowLeft && !s.verticalHandles,
|
|
@@ -1628,18 +1633,18 @@ var Se = ["data-minimap"], Ce = {
|
|
|
1628
1633
|
}),
|
|
1629
1634
|
style: h({
|
|
1630
1635
|
left: N.value.tooltipLeft,
|
|
1631
|
-
color:
|
|
1636
|
+
color: _e(o)(s.selectColor),
|
|
1632
1637
|
backgroundColor: s.selectColor,
|
|
1633
1638
|
border: `1px solid ${P.value}`,
|
|
1634
|
-
zIndex: `${
|
|
1635
|
-
visibility:
|
|
1639
|
+
zIndex: `${yr.value + 4}`,
|
|
1640
|
+
visibility: xr.value || Q.value.left === Q.value.right ? "hidden" : "visible",
|
|
1636
1641
|
top: w.value && s.minimapCompact ? "calc(-100% - 12px)" : "-100%"
|
|
1637
1642
|
})
|
|
1638
|
-
},
|
|
1639
|
-
(
|
|
1643
|
+
}, ge(Q.value.left), 7)) : d("", !0),
|
|
1644
|
+
(xr.value || Q.value.left === Q.value.right) && (Q.value.left || Q.value.right) ? (g(), f("div", {
|
|
1640
1645
|
key: 5,
|
|
1641
1646
|
ref: "tooltipMerge",
|
|
1642
|
-
class:
|
|
1647
|
+
class: m({
|
|
1643
1648
|
"range-tooltip": !0,
|
|
1644
1649
|
"range-tooltip-visible": Z.value,
|
|
1645
1650
|
"range-tooltip-arrow": !0,
|
|
@@ -1648,19 +1653,19 @@ var Se = ["data-minimap"], Ce = {
|
|
|
1648
1653
|
}),
|
|
1649
1654
|
style: h({
|
|
1650
1655
|
left: N.value.tooltipCenter,
|
|
1651
|
-
width:
|
|
1652
|
-
color:
|
|
1656
|
+
width: Sr.value.width + "px",
|
|
1657
|
+
color: _e(o)(s.selectColor),
|
|
1653
1658
|
backgroundColor: s.selectColor,
|
|
1654
1659
|
border: `1px solid ${P.value}`,
|
|
1655
1660
|
zIndex: "4",
|
|
1656
1661
|
top: w.value && s.minimapCompact ? "calc(-100% - 12px)" : "-100%"
|
|
1657
1662
|
})
|
|
1658
|
-
},
|
|
1659
|
-
Q.value.right ? (g(),
|
|
1663
|
+
}, ge(Q.value.left === Q.value.right ? Q.value.left : `${Q.value.left} - ${Q.value.right}`), 7)) : d("", !0),
|
|
1664
|
+
Q.value.right ? (g(), f("div", {
|
|
1660
1665
|
key: 6,
|
|
1661
1666
|
ref_key: "tooltipRight",
|
|
1662
|
-
ref:
|
|
1663
|
-
class:
|
|
1667
|
+
ref: mr,
|
|
1668
|
+
class: m({
|
|
1664
1669
|
"range-tooltip": !0,
|
|
1665
1670
|
"range-tooltip-visible": Z.value,
|
|
1666
1671
|
"range-tooltip-arrow": N.value.arrowRight && !s.verticalHandles,
|
|
@@ -1668,16 +1673,16 @@ var Se = ["data-minimap"], Ce = {
|
|
|
1668
1673
|
}),
|
|
1669
1674
|
style: h({
|
|
1670
1675
|
left: N.value.tooltipRight,
|
|
1671
|
-
color:
|
|
1676
|
+
color: _e(o)(s.selectColor),
|
|
1672
1677
|
backgroundColor: s.selectColor,
|
|
1673
1678
|
border: `1px solid ${P.value}`,
|
|
1674
1679
|
zIndex: "4",
|
|
1675
|
-
visibility:
|
|
1680
|
+
visibility: xr.value || Q.value.left === Q.value.right ? "hidden" : "visible",
|
|
1676
1681
|
top: w.value && s.minimapCompact ? "calc(-100% - 12px)" : "-100%"
|
|
1677
1682
|
})
|
|
1678
|
-
},
|
|
1679
|
-
], 36)], 44,
|
|
1683
|
+
}, ge(Q.value.right), 7)) : d("", !0)
|
|
1684
|
+
], 36)], 44, Ce));
|
|
1680
1685
|
}
|
|
1681
|
-
}, [["__scopeId", "data-v-
|
|
1686
|
+
}, [["__scopeId", "data-v-86199147"]]);
|
|
1682
1687
|
//#endregion
|
|
1683
|
-
export {
|
|
1688
|
+
export { Ot as t };
|