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