vue-data-ui 3.23.12 → 3.23.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{PackageVersion-CT8FfP7h.js → PackageVersion-DH9mKo1i.js} +1 -1
- package/dist/{SlicerPreview-BRRyc1p7.js → SlicerPreview-lCGvUNUH.js} +491 -486
- 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-hill.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-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-CXgp_UWC.js → package-LqzHoybL.js} +1 -1
- package/dist/{render-common-D9TESN6N.js → render-common-w-CDlMO6.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-BTHfxD0A.js → vue-data-ui-D9mXY0al.js} +62 -62
- package/dist/vue-data-ui.js +62 -62
- package/dist/{vue-ui-3d-bar-qYgLQzCk.js → vue-ui-3d-bar-DRPuSQ4e.js} +1 -1
- package/dist/{vue-ui-age-pyramid-DlDqWHMv.js → vue-ui-age-pyramid-B8vOvI_t.js} +1 -1
- package/dist/{vue-ui-bullet-KPROgHpN.js → vue-ui-bullet-DVNmzl4P.js} +1 -1
- package/dist/{vue-ui-bump-_ccDjRda.js → vue-ui-bump-DWh2Z5YJ.js} +1 -1
- package/dist/{vue-ui-candlestick-C_21KIXE.js → vue-ui-candlestick-CsNB1k8H.js} +2 -2
- package/dist/{vue-ui-carousel-table--JukD8gC.js → vue-ui-carousel-table-CoVW5Fdg.js} +1 -1
- package/dist/{vue-ui-chestnut-BWvgfxnY.js → vue-ui-chestnut-HfJunSSz.js} +1 -1
- package/dist/{vue-ui-chord-CGkWt2XK.js → vue-ui-chord-BN8GOPjO.js} +1 -1
- package/dist/{vue-ui-circle-pack-BWaN2mEB.js → vue-ui-circle-pack-CADmtvmt.js} +1 -1
- package/dist/{vue-ui-cursor-YbxnsOd1.js → vue-ui-cursor-BBTOC9ZH.js} +1 -1
- package/dist/{vue-ui-dag-B-X2eE3W.js → vue-ui-dag-CwscLfEg.js} +1 -1
- package/dist/{vue-ui-dashboard-DgayqETw.js → vue-ui-dashboard-Cp7LV9rM.js} +58 -58
- package/dist/{vue-ui-digits-1ULOKtDh.js → vue-ui-digits-C1ZVKDGy.js} +1 -1
- package/dist/{vue-ui-donut-Ci2MsJLu.js → vue-ui-donut-CqRDChWd.js} +1 -1
- package/dist/{vue-ui-donut-Bz2ZI_vO.js → vue-ui-donut-DCWdRYf0.js} +1 -1
- package/dist/{vue-ui-donut-evolution-Bo54mlFQ.js → vue-ui-donut-evolution-DXxpjREd.js} +2 -2
- package/dist/{vue-ui-dumbbell-D2bJ_P7K.js → vue-ui-dumbbell-MghLKpiu.js} +1 -1
- package/dist/{vue-ui-flow-D9m-k3tM.js → vue-ui-flow-DXzy_ciZ.js} +1 -1
- package/dist/{vue-ui-funnel-DyETq2KE.js → vue-ui-funnel-BwDy1TQS.js} +1 -1
- package/dist/{vue-ui-galaxy-pjGKZLrq.js → vue-ui-galaxy-yv4i3B6M.js} +1 -1
- package/dist/{vue-ui-gauge-BO5lLCyJ.js → vue-ui-gauge-BL4r7lrw.js} +1 -1
- package/dist/{vue-ui-geo-DpyLvk_B.js → vue-ui-geo-BRAAm6-Y.js} +1 -1
- package/dist/{vue-ui-gizmo-CUl8dgmV.js → vue-ui-gizmo-D_jY1FrX.js} +1 -1
- package/dist/{vue-ui-heatmap-CiV3kCrx.js → vue-ui-heatmap-DVDTivK7.js} +1 -1
- package/dist/{vue-ui-hill-CkMtYGo2.js → vue-ui-hill-DAvWt1UH.js} +1 -1
- package/dist/{vue-ui-history-plot-X2gQI4TY.js → vue-ui-history-plot-DZWZLj6d.js} +1 -1
- package/dist/{vue-ui-horizontal-bar-DVT1wthh.js → vue-ui-horizontal-bar-BWJ0Dj9K.js} +1 -1
- package/dist/{vue-ui-kpi-CWPmkLKR.js → vue-ui-kpi-BNHQb-0T.js} +1 -1
- package/dist/{vue-ui-molecule-DnW5HYZP.js → vue-ui-molecule-2eqpaNzM.js} +1 -1
- package/dist/{vue-ui-mood-radar-FovwTDLw.js → vue-ui-mood-radar-9UgxqJAM.js} +1 -1
- package/dist/{vue-ui-nested-donuts-DHCOlxTO.js → vue-ui-nested-donuts-DT37jVnx.js} +1 -1
- package/dist/{vue-ui-onion-CzAEqZ0B.js → vue-ui-onion-DFYQimLN.js} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-BZN75P6u.js → vue-ui-parallel-coordinate-plot-DMMp9SSg.js} +1 -1
- package/dist/{vue-ui-quadrant-CNeP5WEC.js → vue-ui-quadrant-CLQkz37n.js} +1 -1
- package/dist/{vue-ui-quick-chart-Bnj8oh82.js → vue-ui-quick-chart-BHURITQ2.js} +2 -2
- package/dist/{vue-ui-radar-DMyMAtx7.js → vue-ui-radar-BQDSBbBl.js} +1 -1
- package/dist/{vue-ui-relation-circle-DFj5V39I.js → vue-ui-relation-circle-D7Jomt1J.js} +1 -1
- package/dist/{vue-ui-ridgeline-BaplQZZK.js → vue-ui-ridgeline-OnHk7xFR.js} +1 -1
- package/dist/{vue-ui-rings-B9QJ1Rnb.js → vue-ui-rings-BysAPudl.js} +1 -1
- package/dist/{vue-ui-scatter-UH0wqUO5.js → vue-ui-scatter-DyxIiCT5.js} +1 -1
- package/dist/{vue-ui-skeleton-DkoEclfa.js → vue-ui-skeleton-BQSKB3hE.js} +1 -1
- package/dist/{vue-ui-spark-trend-BW8WYOva.js → vue-ui-spark-trend-RxPrDIxb.js} +1 -1
- package/dist/{vue-ui-sparkbar-ADRsH-GZ.js → vue-ui-sparkbar-BocQ3skK.js} +1 -1
- package/dist/{vue-ui-sparkgauge-BYs1L6I7.js → vue-ui-sparkgauge-YrGOiB_b.js} +1 -1
- package/dist/{vue-ui-sparkhistogram-D1Paq9X0.js → vue-ui-sparkhistogram-BlyPOiWe.js} +1 -1
- package/dist/{vue-ui-sparkline-D2Hf_NP-.js → vue-ui-sparkline-DSXRUonI.js} +1 -1
- package/dist/{vue-ui-sparkstackbar-Uy6Q0X15.js → vue-ui-sparkstackbar-CKhn03L6.js} +1 -1
- package/dist/{vue-ui-stackbar-Vt9AjazE.js → vue-ui-stackbar-Cf9sJP68.js} +2 -2
- package/dist/{vue-ui-stackline-CBIGhWpn.js → vue-ui-stackline-Tcfr3gJO.js} +2 -2
- package/dist/{vue-ui-strip-plot-DhZV1Sl6.js → vue-ui-strip-plot-CrDJXSM_.js} +1 -1
- package/dist/{vue-ui-table-DqMxdgj4.js → vue-ui-table-iheXH88R.js} +2 -2
- package/dist/{vue-ui-table-sparkline-2KZ2UoEA.js → vue-ui-table-sparkline-LEjMz8F4.js} +1 -1
- package/dist/{vue-ui-thermometer-mVP2GqO7.js → vue-ui-thermometer-D8TwvkuL.js} +1 -1
- package/dist/{vue-ui-timer-CGrqG8H3.js → vue-ui-timer-CmWhKatt.js} +1 -1
- package/dist/{vue-ui-tiremarks-DyFUPB5s.js → vue-ui-tiremarks-DQS-i-Sx.js} +1 -1
- package/dist/{vue-ui-treemap-BVFHSTfq.js → vue-ui-treemap-CjxYVEzN.js} +1 -1
- package/dist/{vue-ui-waffle-DNZsc5x0.js → vue-ui-waffle-BxMdiOcp.js} +1 -1
- package/dist/{vue-ui-wheel-Cg4oNFmH.js → vue-ui-wheel-CLyRoRSt.js} +1 -1
- package/dist/{vue-ui-word-cloud-CUf1h_L1.js → vue-ui-word-cloud-CqP1ohPS.js} +1 -1
- package/dist/{vue-ui-world-CIcrI3zP.js → vue-ui-world-TUOWS-qf.js} +1 -1
- package/dist/{vue-ui-xy-8V-CU7No.js → vue-ui-xy-DwiTsq1m.js} +1 -1
- package/dist/{vue-ui-xy-canvas-BHpBO5dS.js → vue-ui-xy-canvas-D0ox__3z.js} +1 -1
- package/dist/{vue-ui-xy-CJ5ZixIL.js → vue-ui-xy-zgQAxUgJ.js} +2 -2
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@ import { t as s } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
|
3
3
|
import { i as ie, l as c, t as ae } from "./useResponsive-ZtArZtUf.js";
|
|
4
4
|
import { t as oe } from "./BaseIcon-BbElSC8_.js";
|
|
5
5
|
import { t as se } from "./DefGrad-DVBqDjhO.js";
|
|
6
|
-
import { Fragment as l, computed as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createVNode as ce, guardReactiveProps as le, mergeProps as ue, nextTick as de, normalizeClass as m, normalizeProps as fe, normalizeStyle as h, onBeforeUnmount as pe, onMounted as me, onUpdated as he, openBlock as g, ref as _, renderList as v, renderSlot as ge, toDisplayString as _e, unref as ve, useCssVars as ye, vModelText as be, watch as
|
|
6
|
+
import { Fragment as l, computed as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createVNode as ce, guardReactiveProps as le, mergeProps as ue, nextTick as de, normalizeClass as m, normalizeProps as fe, normalizeStyle as h, onBeforeUnmount as pe, onMounted as me, onUpdated as he, openBlock as g, ref as _, renderList as v, renderSlot as ge, toDisplayString as _e, unref as ve, useCssVars as ye, vModelText as be, watch as xe, withDirectives as Se, withKeys as Ce, withModifiers as y } from "vue";
|
|
7
7
|
//#region src/atoms/SlicerPreview.vue
|
|
8
8
|
var we = ["data-minimap"], Te = {
|
|
9
9
|
class: "vue-data-ui-slicer-labels",
|
|
@@ -103,98 +103,99 @@ var we = ["data-minimap"], Te = {
|
|
|
103
103
|
"cy",
|
|
104
104
|
"fill",
|
|
105
105
|
"stroke"
|
|
106
|
-
], Xe = ["width", "height"], Ze = [
|
|
106
|
+
], Xe = ["width", "height"], Ze = ["transform"], Qe = [
|
|
107
|
+
"x",
|
|
108
|
+
"y",
|
|
109
|
+
"width",
|
|
110
|
+
"height"
|
|
111
|
+
], $e = [
|
|
107
112
|
"x",
|
|
108
113
|
"width",
|
|
109
114
|
"height",
|
|
110
115
|
"fill",
|
|
111
116
|
"stroke",
|
|
112
117
|
"stroke-width"
|
|
113
|
-
],
|
|
114
|
-
"
|
|
118
|
+
], et = ["transform"], tt = ["width", "height"], nt = ["fill", "stroke"], rt = ["stroke"], it = ["fill"], at = ["transform"], ot = [
|
|
119
|
+
"y",
|
|
120
|
+
"width",
|
|
121
|
+
"height"
|
|
122
|
+
], st = [
|
|
115
123
|
"width",
|
|
116
124
|
"height",
|
|
117
125
|
"fill",
|
|
118
126
|
"stroke",
|
|
119
127
|
"stroke-width"
|
|
120
|
-
],
|
|
128
|
+
], ct = {
|
|
129
|
+
key: 0,
|
|
130
|
+
class: "compact-handle-icon",
|
|
131
|
+
style: { "pointer-events": "none" }
|
|
132
|
+
}, lt = ["width", "height"], ut = ["fill", "stroke"], dt = ["stroke"], ft = ["fill"], pt = {
|
|
121
133
|
key: "merged-tree",
|
|
122
134
|
style: { "pointer-events": "none" }
|
|
123
|
-
},
|
|
135
|
+
}, mt = [
|
|
124
136
|
"cx",
|
|
125
137
|
"cy",
|
|
126
138
|
"stroke",
|
|
127
139
|
"fill"
|
|
128
|
-
],
|
|
140
|
+
], ht = [
|
|
129
141
|
"cx",
|
|
130
142
|
"cy",
|
|
131
143
|
"fill"
|
|
132
|
-
],
|
|
144
|
+
], gt = [
|
|
133
145
|
"cx",
|
|
134
146
|
"cy",
|
|
135
147
|
"stroke",
|
|
136
148
|
"fill"
|
|
137
|
-
],
|
|
149
|
+
], _t = [
|
|
138
150
|
"cx",
|
|
139
151
|
"cy",
|
|
140
152
|
"fill"
|
|
141
|
-
],
|
|
153
|
+
], vt = {
|
|
142
154
|
key: 1,
|
|
143
155
|
style: { "pointer-events": "none" }
|
|
144
|
-
},
|
|
156
|
+
}, yt = [
|
|
145
157
|
"d",
|
|
146
158
|
"stroke",
|
|
147
159
|
"stroke-dasharray"
|
|
148
|
-
],
|
|
160
|
+
], bt = [
|
|
149
161
|
"cx",
|
|
150
162
|
"cy",
|
|
151
163
|
"fill",
|
|
152
164
|
"stroke"
|
|
153
|
-
],
|
|
165
|
+
], xt = [
|
|
154
166
|
"cx",
|
|
155
167
|
"cy",
|
|
156
168
|
"stroke",
|
|
157
169
|
"fill"
|
|
158
|
-
],
|
|
170
|
+
], St = [
|
|
159
171
|
"cx",
|
|
160
172
|
"cy",
|
|
161
173
|
"fill"
|
|
162
|
-
],
|
|
174
|
+
], Ct = [
|
|
163
175
|
"cx",
|
|
164
176
|
"cy",
|
|
165
177
|
"stroke",
|
|
166
178
|
"fill"
|
|
167
|
-
],
|
|
179
|
+
], wt = [
|
|
168
180
|
"cx",
|
|
169
181
|
"cy",
|
|
170
182
|
"fill"
|
|
171
|
-
],
|
|
183
|
+
], Tt = [
|
|
172
184
|
"cx",
|
|
173
185
|
"cy",
|
|
174
186
|
"fill",
|
|
175
187
|
"stroke"
|
|
176
|
-
],
|
|
188
|
+
], Et = [
|
|
177
189
|
"step",
|
|
178
190
|
"min",
|
|
179
191
|
"max",
|
|
180
192
|
"tabindex"
|
|
181
|
-
],
|
|
193
|
+
], Dt = [
|
|
182
194
|
"step",
|
|
183
195
|
"min",
|
|
184
196
|
"max",
|
|
185
197
|
"tabindex"
|
|
186
|
-
],
|
|
187
|
-
key: 3,
|
|
188
|
-
class: "minimap-handle-overlay"
|
|
189
|
-
}, Tt = ["xmlns", "viewBox"], Et = [
|
|
190
|
-
"x",
|
|
191
|
-
"width",
|
|
192
|
-
"height"
|
|
193
|
-
], Dt = [
|
|
194
|
-
"x",
|
|
195
|
-
"width",
|
|
196
|
-
"height"
|
|
197
|
-
], Ot = 48, kt = /*#__PURE__*/ s({
|
|
198
|
+
], Ot = 48, kt = 48, At = /*#__PURE__*/ s({
|
|
198
199
|
__name: "SlicerPreview",
|
|
199
200
|
props: {
|
|
200
201
|
uuid: {
|
|
@@ -430,151 +431,150 @@ var we = ["data-minimap"], Te = {
|
|
|
430
431
|
"trapMouse",
|
|
431
432
|
"trapMouseValue"
|
|
432
433
|
],
|
|
433
|
-
setup(s, { expose:
|
|
434
|
+
setup(s, { expose: At, emit: jt }) {
|
|
434
435
|
ye((e) => ({
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
de2dd9f4: b.additionalMinimapHeight
|
|
436
|
+
v4dabb502: ln.value,
|
|
437
|
+
v711fadf3: N.value,
|
|
438
|
+
v87728db8: dn.value,
|
|
439
|
+
v5154ef23: s.selectColor,
|
|
440
|
+
af31df9e: un.value
|
|
441
441
|
}));
|
|
442
442
|
let b = s;
|
|
443
|
-
function
|
|
443
|
+
function Mt(e) {
|
|
444
444
|
let t = Number(e) || 0;
|
|
445
445
|
return b.precision <= 0 ? Math.round(t) : Number(t.toFixed(b.precision));
|
|
446
446
|
}
|
|
447
|
-
let x = _(null), S = _(b.min), C = _(b.max), w = u(() => !!b.allMinimaps.length),
|
|
447
|
+
let x = _(null), S = _(b.min), C = _(b.max), w = u(() => !!b.allMinimaps.length), Nt = u(() => re(b.minimapLeftInsetRatio) && re(b.minimapRightInsetRatio)), Pt = u(() => {
|
|
448
448
|
let e = Math.min(1, Math.max(0, b.minimapLeftInsetRatio)) * 100, t = Math.min(1, Math.max(0, b.minimapRightInsetRatio)) * 100;
|
|
449
449
|
return {
|
|
450
|
-
padding:
|
|
451
|
-
maxWidth: b.maxWidth && !
|
|
452
|
-
margin: b.maxWidth && !
|
|
450
|
+
padding: Nt.value ? `0 ${t}% 0 ${e}%` : "0 48px",
|
|
451
|
+
maxWidth: b.maxWidth && !Nt.value ? `${b.maxWidth}px` : void 0,
|
|
452
|
+
margin: b.maxWidth && !Nt.value ? "0 auto" : void 0
|
|
453
453
|
};
|
|
454
|
-
}),
|
|
455
|
-
function
|
|
456
|
-
return (Number(e) - Number(b.min)) /
|
|
454
|
+
}), Ft = _(ee()), T = _(!1), E = u(() => w.value && b.minimapCompact), It = _(null), Lt = _(null), Rt = _(!1), zt = _(0), Bt = _(0), Vt = _(null), Ht = _(!1), Ut = u(() => It.value !== null), Wt = u(() => b.useValueRange ? C.value : C.value - 1), Gt = u(() => Math.max(1, Number(b.max) - Number(b.min)));
|
|
455
|
+
function Kt(e) {
|
|
456
|
+
return (Number(e) - Number(b.min)) / Gt.value * 100;
|
|
457
457
|
}
|
|
458
|
-
function
|
|
459
|
-
return
|
|
458
|
+
function qt(e) {
|
|
459
|
+
return F.value.width * (Kt(e) / 100);
|
|
460
460
|
}
|
|
461
|
-
function
|
|
462
|
-
let t = Math.min(1, Math.max(0, e / Math.max(1,
|
|
463
|
-
return
|
|
461
|
+
function Jt(e) {
|
|
462
|
+
let t = Math.min(1, Math.max(0, e / Math.max(1, F.value.width)));
|
|
463
|
+
return Mt(Number(b.min) + Gt.value * t);
|
|
464
464
|
}
|
|
465
|
-
function
|
|
465
|
+
function Yt(e) {
|
|
466
466
|
let t = b.useValueRange ? e?.y : e;
|
|
467
467
|
return re(t) ? Number(t) : null;
|
|
468
468
|
}
|
|
469
|
-
function
|
|
469
|
+
function Xt(e, t) {
|
|
470
470
|
return b.useValueRange ? Number(e?.x) : t + Number(b.min);
|
|
471
471
|
}
|
|
472
|
-
function
|
|
473
|
-
return b.useValueRange ?
|
|
472
|
+
function Zt(e, t) {
|
|
473
|
+
return b.useValueRange ? qt(Xt(e, t)) : B.value * t + (b.minimapCompact ? 0 : B.value / 2);
|
|
474
474
|
}
|
|
475
|
-
let
|
|
475
|
+
let Qt = u(() => Math.min(40, Math.max(20, b.handleWidth))), $t = _(0), en = c((e) => j("futureStart", e), 0), tn = c((e) => j("futureEnd", e), 0), D = u(() => b.precision > 0 ? 1 / 10 ** b.precision : 1), O = u({
|
|
476
476
|
get: () => S.value,
|
|
477
477
|
set(e) {
|
|
478
|
-
let t = Math.min(Number(e), Number(C.value) -
|
|
479
|
-
t !== S.value && (S.value = t,
|
|
478
|
+
let t = Math.min(Number(e), Number(C.value) - D.value);
|
|
479
|
+
t !== S.value && (S.value = t, Gn.value && (Gn.value.value = String(t)), b.immediate ? j("update:start", Number(t)) : T.value && en(t));
|
|
480
480
|
}
|
|
481
|
-
}),
|
|
481
|
+
}), k = u({
|
|
482
482
|
get: () => C.value,
|
|
483
483
|
set(e) {
|
|
484
|
-
let t = Math.max(Number(e), Number(S.value) +
|
|
485
|
-
t !== C.value && (C.value = t,
|
|
484
|
+
let t = Math.max(Number(e), Number(S.value) + D.value);
|
|
485
|
+
t !== C.value && (C.value = t, Kn.value && (Kn.value.value = String(t)), b.immediate ? j("update:end", Number(t)) : T.value && tn(t));
|
|
486
486
|
}
|
|
487
487
|
});
|
|
488
|
-
function
|
|
489
|
-
clearTimeout(null), b.immediate || (
|
|
488
|
+
function A() {
|
|
489
|
+
clearTimeout(null), b.immediate || (j("update:start", Number(S.value)), j("update:end", Number(C.value))), T.value = !1;
|
|
490
490
|
}
|
|
491
|
-
let
|
|
492
|
-
if (b.useValueRange) return
|
|
491
|
+
let nn = u(() => b.refreshEndPoint === null ? b.max : b.refreshEndPoint), j = jt, rn = u(() => {
|
|
492
|
+
if (b.useValueRange) return Kt(S.value);
|
|
493
493
|
if (E.value) {
|
|
494
|
-
let e = Math.max(1,
|
|
495
|
-
return
|
|
494
|
+
let e = Math.max(1, L.value - 1);
|
|
495
|
+
return In.value / e * 100;
|
|
496
496
|
}
|
|
497
497
|
let e = Math.max(1, b.max - b.min);
|
|
498
498
|
return (S.value - b.min) / e * 100;
|
|
499
|
-
}),
|
|
500
|
-
if (b.useValueRange) return
|
|
499
|
+
}), an = u(() => {
|
|
500
|
+
if (b.useValueRange) return Kt(C.value);
|
|
501
501
|
if (E.value) {
|
|
502
|
-
let e = Math.max(1,
|
|
503
|
-
return
|
|
502
|
+
let e = Math.max(1, L.value - 1);
|
|
503
|
+
return Ln.value / e * 100;
|
|
504
504
|
}
|
|
505
505
|
let e = Math.max(1, b.max - b.min);
|
|
506
506
|
return (C.value - b.min) / e * 100;
|
|
507
|
-
}),
|
|
507
|
+
}), on = u(() => (rn.value + an.value) / 2), sn = u(() => {
|
|
508
508
|
if (!x.value) return !1;
|
|
509
509
|
let e = Math.max(1, b.max - b.min);
|
|
510
|
-
return x.value.getBoundingClientRect().width * ((S.value - b.min) / e) -
|
|
511
|
-
}),
|
|
510
|
+
return x.value.getBoundingClientRect().width * ((S.value - b.min) / e) - br.value / 2 < 0;
|
|
511
|
+
}), cn = u(() => {
|
|
512
512
|
if (!x.value) return !1;
|
|
513
513
|
let e = Math.max(1, b.max - b.min), t = x.value.getBoundingClientRect().width;
|
|
514
|
-
return t * ((C.value - b.min) / e) +
|
|
515
|
-
}),
|
|
516
|
-
let e =
|
|
514
|
+
return t * ((C.value - b.min) / e) + xr.value / 2 > t;
|
|
515
|
+
}), M = u(() => {
|
|
516
|
+
let e = cn.value ? `calc(${on.value}% - ${Dr.value.width}px)` : sn.value ? `calc(${on.value}% - 8px)` : `calc(${on.value}% - ${Dr.value.width / 2}px)`;
|
|
517
517
|
return {
|
|
518
|
-
left: `${
|
|
519
|
-
width: `${Math.max(0,
|
|
518
|
+
left: `${rn.value}%`,
|
|
519
|
+
width: `${Math.max(0, an.value - rn.value)}%`,
|
|
520
520
|
background: b.selectColor,
|
|
521
|
-
tooltipLeft: `calc(${
|
|
522
|
-
tooltipRight: `calc(${
|
|
521
|
+
tooltipLeft: `calc(${rn.value}% - ${sn.value ? 9 : br.value / 2}px)`,
|
|
522
|
+
tooltipRight: `calc(${an.value}% - ${cn.value ? xr.value - 9 : xr.value / 2}px)`,
|
|
523
523
|
tooltipCenter: e,
|
|
524
|
-
arrowLeft: !
|
|
525
|
-
arrowRight: !
|
|
524
|
+
arrowLeft: !sn.value,
|
|
525
|
+
arrowRight: !cn.value
|
|
526
526
|
};
|
|
527
|
-
}),
|
|
528
|
-
function
|
|
529
|
-
|
|
527
|
+
}), ln = u(() => b.inputColor), un = u(() => b.background), dn = u(() => `${b.selectColor}33`), N = u(() => b.borderColor), fn = u(() => Number(b.max) > Number(b.min));
|
|
528
|
+
function pn() {
|
|
529
|
+
j("reset");
|
|
530
530
|
}
|
|
531
|
-
|
|
531
|
+
xe(() => b.min, (e) => {
|
|
532
532
|
Number(S.value) < Number(e) && (S.value = Number(e)), Number(C.value) < Number(e) && (C.value = Number(e));
|
|
533
|
-
}),
|
|
533
|
+
}), xe(() => b.max, (e) => {
|
|
534
534
|
Number(S.value) > Number(e) && (S.value = Number(e)), Number(C.value) > Number(e) && (C.value = Number(e));
|
|
535
535
|
});
|
|
536
|
-
let
|
|
536
|
+
let P = _(null), F = _({
|
|
537
537
|
width: 1,
|
|
538
538
|
height: 1
|
|
539
|
-
}),
|
|
539
|
+
}), I = _(null);
|
|
540
540
|
me(() => {
|
|
541
541
|
if (w.value) {
|
|
542
542
|
let e = c(() => {
|
|
543
|
-
if (!
|
|
544
|
-
let { width: e, height: t } = ae({ chart:
|
|
545
|
-
(n !==
|
|
543
|
+
if (!P.value) return;
|
|
544
|
+
let { width: e, height: t } = ae({ chart: P.value }), n = Math.max(0, Math.round(e)), r = Math.max(0, Math.round(t - 47));
|
|
545
|
+
(n !== F.value.width || r !== F.value.height) && (F.value.width = n, F.value.height = r + b.additionalMinimapHeight);
|
|
546
546
|
}, 0);
|
|
547
|
-
|
|
547
|
+
I.value = new ResizeObserver(e), I.value.observe(P.value);
|
|
548
548
|
}
|
|
549
549
|
}), pe(() => {
|
|
550
|
-
|
|
550
|
+
I.value && I.value.disconnect();
|
|
551
551
|
});
|
|
552
|
-
let
|
|
553
|
-
function
|
|
552
|
+
let L = u(() => Math.max(1, b.max - b.min));
|
|
553
|
+
function mn(e) {
|
|
554
554
|
let t = Math.floor(e - b.min);
|
|
555
|
-
return Math.min(Math.max(0, t),
|
|
555
|
+
return Math.min(Math.max(0, t), L.value);
|
|
556
556
|
}
|
|
557
|
-
function
|
|
557
|
+
function hn(e) {
|
|
558
558
|
let t = Math.ceil(e - b.min);
|
|
559
|
-
return Math.min(Math.max(0, t),
|
|
559
|
+
return Math.min(Math.max(0, t), L.value);
|
|
560
560
|
}
|
|
561
|
-
let
|
|
562
|
-
u(() => Math.max(1,
|
|
561
|
+
let R = u(() => mn(S.value)), z = u(() => hn(C.value)), gn = u(() => Math.max(...b.allMinimaps.map((e) => e.series.length))), _n = u(() => w.value && b.minimapCompact ? 40 : 0), vn = u(() => _n.value / 2);
|
|
562
|
+
u(() => Math.max(1, F.value.width - vn.value * 2));
|
|
563
563
|
let B = u(() => {
|
|
564
|
-
if (b.minimapCompact && !b.useValueRange) return
|
|
565
|
-
let e = Math.max(1,
|
|
566
|
-
return
|
|
567
|
-
}),
|
|
568
|
-
function
|
|
569
|
-
let r =
|
|
564
|
+
if (b.minimapCompact && !b.useValueRange) return F.value.width / Math.max(1, L.value - 1);
|
|
565
|
+
let e = Math.max(1, gn.value - +!!b.minimapCompact);
|
|
566
|
+
return F.value.width / e;
|
|
567
|
+
}), yn = u(() => b.allMinimaps.length ? b.allMinimaps.filter((e) => e.type === "bar" && e.isVisible).length : 0), bn = u(() => B.value / (yn.value || 1) * .8);
|
|
568
|
+
function xn(e, t, n) {
|
|
569
|
+
let r = bn.value, i = Math.max(1, yn.value), a = gn.value - 1;
|
|
570
570
|
return n === 0 ? e + r / 2 * t : n === a ? e - r / 2 * (i - t) : e - i * r / 2 + t * r;
|
|
571
571
|
}
|
|
572
|
-
function
|
|
573
|
-
return [0,
|
|
572
|
+
function Sn(e, t) {
|
|
573
|
+
return [0, gn.value - 1].includes(t) ? bn.value / 2 : bn.value;
|
|
574
574
|
}
|
|
575
|
-
let
|
|
575
|
+
let Cn = u(() => {
|
|
576
576
|
let e = [];
|
|
577
|
-
if (Array.isArray(b.minimap) && b.minimap.length && b.minimapMerged && e.push(...b.minimap.map(
|
|
577
|
+
if (Array.isArray(b.minimap) && b.minimap.length && b.minimapMerged && e.push(...b.minimap.map(Yt).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(Yt).filter(Number.isFinite));
|
|
578
578
|
return e.length ? {
|
|
579
579
|
min: Math.min(...e),
|
|
580
580
|
max: Math.max(...e)
|
|
@@ -582,25 +582,25 @@ var we = ["data-minimap"], Te = {
|
|
|
582
582
|
min: 0,
|
|
583
583
|
max: 1
|
|
584
584
|
};
|
|
585
|
-
}),
|
|
585
|
+
}), wn = u(() => {
|
|
586
586
|
if (b.minScale == null && b.forceZeroCenter) return null;
|
|
587
587
|
let e = Number(b.minScale);
|
|
588
588
|
return Number.isFinite(e) ? e : null;
|
|
589
|
-
}),
|
|
589
|
+
}), Tn = u(() => {
|
|
590
590
|
if (b.maxScale == null && b.forceZeroCenter) return null;
|
|
591
591
|
let e = Number(b.maxScale);
|
|
592
592
|
return Number.isFinite(e) ? e : null;
|
|
593
|
-
}),
|
|
594
|
-
let { min: e, max: t } =
|
|
593
|
+
}), En = u(() => wn.value !== null && Tn.value !== null), Dn = u(() => {
|
|
594
|
+
let { min: e, max: t } = Cn.value, n = wn.value, r = Tn.value, i, a;
|
|
595
595
|
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]), {
|
|
596
596
|
min: i,
|
|
597
597
|
max: a
|
|
598
598
|
};
|
|
599
|
-
}),
|
|
600
|
-
let t = Math.max(1,
|
|
601
|
-
return
|
|
602
|
-
},
|
|
603
|
-
function
|
|
599
|
+
}), On = u(() => Dn.value.min), kn = u(() => Dn.value.max), An = u(() => On.value < 0 && kn.value > 0 || kn.value <= 0 ? On.value : 0), jn = (e) => {
|
|
600
|
+
let t = Math.max(1, F.value.height);
|
|
601
|
+
return Nn(On.value, kn.value, t, En.value)(e);
|
|
602
|
+
}, Mn = u(() => jn(0));
|
|
603
|
+
function Nn(e, t, n, r = !1) {
|
|
604
604
|
let i = (e, t, n) => Math.max(t, Math.min(n, e)), a = 1e-9, o = Math.max(a, t - e);
|
|
605
605
|
if (r) return (t) => n - (t - e) / o * n;
|
|
606
606
|
if (t <= 0) {
|
|
@@ -616,7 +616,7 @@ var we = ["data-minimap"], Te = {
|
|
|
616
616
|
return (e) => (1 - (i(e / r, -1, 1) + 1) / 2) * n;
|
|
617
617
|
}
|
|
618
618
|
}
|
|
619
|
-
function
|
|
619
|
+
function Pn(i, o = !1, ee = !1) {
|
|
620
620
|
if (!i || !i.length) return {
|
|
621
621
|
fullSet: "",
|
|
622
622
|
points: [],
|
|
@@ -630,8 +630,8 @@ var we = ["data-minimap"], Te = {
|
|
|
630
630
|
selectionMarkers: [],
|
|
631
631
|
dashed: !1
|
|
632
632
|
};
|
|
633
|
-
let te = Math.max(1,
|
|
634
|
-
let n =
|
|
633
|
+
let te = Math.max(1, F.value.height), ne = Nn(On.value, kn.value, te, En.value), re = i.length, s = Math.min(Math.max(0, R.value), Math.max(0, re - 1)), ie = Math.min(re, Math.max(s + 1, z.value)), c = i.map((e, t) => {
|
|
634
|
+
let n = Yt(e), r = Number.isFinite(n), i = Zt(e, t), a = En.value ? ((e, t, n) => Math.max(t, Math.min(n, e)))(0, On.value, kn.value) : 0, o = ne(a);
|
|
635
635
|
return {
|
|
636
636
|
x: i,
|
|
637
637
|
y: r ? ne(n) : NaN,
|
|
@@ -639,7 +639,7 @@ var we = ["data-minimap"], Te = {
|
|
|
639
639
|
value: r ? n : null,
|
|
640
640
|
y0: o,
|
|
641
641
|
i: t,
|
|
642
|
-
xValue:
|
|
642
|
+
xValue: Xt(e, t)
|
|
643
643
|
};
|
|
644
644
|
}), 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);
|
|
645
645
|
return {
|
|
@@ -655,8 +655,8 @@ var we = ["data-minimap"], Te = {
|
|
|
655
655
|
selectionMarkers: se
|
|
656
656
|
};
|
|
657
657
|
}
|
|
658
|
-
let V = u(() => b.minimap.length ?
|
|
659
|
-
let n =
|
|
658
|
+
let V = u(() => b.minimap.length ? Pn(b.minimap) : []), H = u(() => b.allMinimaps.length ? b.allMinimaps.map((e, t) => {
|
|
659
|
+
let n = Pn(e?.series || [], !!e.smooth, !!e.useStepper), r = e?.id ?? e?.name ?? t;
|
|
660
660
|
return {
|
|
661
661
|
key: typeof r == "object" ? JSON.stringify(r) : String(r),
|
|
662
662
|
color: e?.color,
|
|
@@ -669,79 +669,79 @@ var we = ["data-minimap"], Te = {
|
|
|
669
669
|
};
|
|
670
670
|
}) : []), U = u(() => {
|
|
671
671
|
if (b.useValueRange) {
|
|
672
|
-
let e =
|
|
672
|
+
let e = qt(S.value), t = qt(C.value);
|
|
673
673
|
return {
|
|
674
674
|
x: e,
|
|
675
675
|
width: Math.max(0, t - e)
|
|
676
676
|
};
|
|
677
677
|
}
|
|
678
|
-
let e =
|
|
678
|
+
let e = R.value, t = Math.max(e + 1, z.value);
|
|
679
679
|
return {
|
|
680
680
|
x: B.value * e + (b.minimapCompact ? 0 : B.value / 2),
|
|
681
681
|
width: B.value * (t - e) - B.value
|
|
682
682
|
};
|
|
683
|
-
}), W = _(b.minimapSelectedIndex),
|
|
683
|
+
}), W = _(b.minimapSelectedIndex), Fn = (e) => Math.round(b.min + e), In = u({
|
|
684
684
|
get() {
|
|
685
|
-
return E.value ?
|
|
685
|
+
return E.value ? R.value : Number(O.value);
|
|
686
686
|
},
|
|
687
687
|
set(e) {
|
|
688
688
|
if (E.value) {
|
|
689
689
|
if (b.useValueRange) {
|
|
690
|
-
let t =
|
|
691
|
-
|
|
690
|
+
let t = Mt(e);
|
|
691
|
+
Yn(Math.min(Math.max(Number(b.min), t), Number(C.value) - D.value));
|
|
692
692
|
return;
|
|
693
693
|
}
|
|
694
694
|
let t = Math.round(+e || 0);
|
|
695
|
-
|
|
695
|
+
Yn(Fn(t));
|
|
696
696
|
} else {
|
|
697
|
-
let t =
|
|
698
|
-
|
|
697
|
+
let t = Mt(e), n = Number(C.value) - D.value, r = Math.min(Math.max(b.min, t), n);
|
|
698
|
+
Gn.value && (Gn.value.valueAsNumber = r), Yn(r);
|
|
699
699
|
}
|
|
700
700
|
}
|
|
701
|
-
}),
|
|
701
|
+
}), Ln = u({
|
|
702
702
|
get() {
|
|
703
|
-
return E.value ? Math.max(
|
|
703
|
+
return E.value ? Math.max(R.value, z.value - 1) : Number(k.value);
|
|
704
704
|
},
|
|
705
705
|
set(e) {
|
|
706
706
|
if (E.value) {
|
|
707
707
|
if (b.useValueRange) {
|
|
708
|
-
let t =
|
|
709
|
-
|
|
708
|
+
let t = Mt(e);
|
|
709
|
+
Zn(Math.max(Number(S.value) + D.value, Math.min(t, Number(b.max))));
|
|
710
710
|
return;
|
|
711
711
|
}
|
|
712
712
|
let t = Math.round(+e || 0);
|
|
713
|
-
|
|
713
|
+
Zn(Fn(t + 1));
|
|
714
714
|
} else {
|
|
715
|
-
let t =
|
|
716
|
-
|
|
715
|
+
let t = Mt(e), n = Number(S.value) + D.value, r = Math.max(n, Math.min(t, b.max));
|
|
716
|
+
Kn.value && (Kn.value.valueAsNumber = r), Zn(r);
|
|
717
717
|
}
|
|
718
718
|
}
|
|
719
|
-
}),
|
|
720
|
-
function
|
|
721
|
-
if (t ===
|
|
719
|
+
}), Rn = 0;
|
|
720
|
+
function zn(e, t) {
|
|
721
|
+
if (t === Rn) {
|
|
722
722
|
if (b.useValueRange) {
|
|
723
|
-
W.value = Number.isFinite(Number(e)) ?
|
|
723
|
+
W.value = Number.isFinite(Number(e)) ? qt(Number(e)) : null;
|
|
724
724
|
return;
|
|
725
725
|
}
|
|
726
|
-
W.value =
|
|
726
|
+
W.value = mn(b.valueStart) + e;
|
|
727
727
|
}
|
|
728
728
|
}
|
|
729
|
-
let
|
|
730
|
-
|
|
731
|
-
if (
|
|
729
|
+
let Bn = ie(zn, 60);
|
|
730
|
+
xe(() => b.minimapSelectedIndex, (e, t) => {
|
|
731
|
+
if (Rn += 1, [null, void 0].includes(e)) {
|
|
732
732
|
W.value = null;
|
|
733
733
|
return;
|
|
734
734
|
}
|
|
735
|
-
e !== t &&
|
|
735
|
+
e !== t && Bn(e, Rn);
|
|
736
736
|
}, { immediate: !0 });
|
|
737
|
-
function
|
|
738
|
-
if (
|
|
737
|
+
function Vn(e) {
|
|
738
|
+
if (Ut.value) return;
|
|
739
739
|
W.value = e;
|
|
740
|
-
let t =
|
|
741
|
-
e >= t && e < n && !X.value &&
|
|
740
|
+
let t = R.value, n = z.value;
|
|
741
|
+
e >= t && e < n && !X.value && j("trapMouse", e - t);
|
|
742
742
|
}
|
|
743
|
-
function
|
|
744
|
-
let t =
|
|
743
|
+
function Hn(e) {
|
|
744
|
+
let t = Jt(e), n = b.allMinimaps.flatMap((e) => (e.series || []).map((e, n) => ({
|
|
745
745
|
point: e,
|
|
746
746
|
index: n,
|
|
747
747
|
x: Number(e?.x),
|
|
@@ -749,25 +749,25 @@ var we = ["data-minimap"], Te = {
|
|
|
749
749
|
}))).filter((e) => Number.isFinite(e.x));
|
|
750
750
|
return n.length ? n.reduce((e, t) => t.distance < e.distance ? t : e, n[0]) : null;
|
|
751
751
|
}
|
|
752
|
-
function
|
|
753
|
-
if (!
|
|
754
|
-
let t =
|
|
752
|
+
function Un(e) {
|
|
753
|
+
if (!fn.value || Ut.value) return;
|
|
754
|
+
let t = Ur(e.clientX);
|
|
755
755
|
if (b.useValueRange) {
|
|
756
|
-
let e =
|
|
756
|
+
let e = Hn(t);
|
|
757
757
|
if (!e) {
|
|
758
|
-
|
|
758
|
+
Wn();
|
|
759
759
|
return;
|
|
760
760
|
}
|
|
761
|
-
W.value =
|
|
761
|
+
W.value = qt(e.x), j("trapMouse", e.index), j("trapMouseValue", e.x);
|
|
762
762
|
return;
|
|
763
763
|
}
|
|
764
|
-
|
|
764
|
+
Vn(Wr(t));
|
|
765
765
|
}
|
|
766
|
-
function
|
|
767
|
-
W.value = null, !
|
|
766
|
+
function Wn() {
|
|
767
|
+
W.value = null, !Ut.value && (j("trapMouse", null), j("trapMouseValue", null));
|
|
768
768
|
}
|
|
769
|
-
let
|
|
770
|
-
function
|
|
769
|
+
let Gn = _(null), Kn = _(null);
|
|
770
|
+
function qn(e) {
|
|
771
771
|
if (typeof e == "object" && e && "target" in e) {
|
|
772
772
|
let t = e.target, n = "valueAsNumber" in t ? t.valueAsNumber : +t.value;
|
|
773
773
|
return Number.isFinite(n) ? n : NaN;
|
|
@@ -775,32 +775,32 @@ var we = ["data-minimap"], Te = {
|
|
|
775
775
|
let t = +e;
|
|
776
776
|
return Number.isFinite(t) ? t : NaN;
|
|
777
777
|
}
|
|
778
|
-
let Kn = 0;
|
|
779
|
-
function qn(e) {
|
|
780
|
-
T.value = !0;
|
|
781
|
-
let t = Gn(e);
|
|
782
|
-
Number.isFinite(t) && (cancelAnimationFrame(Kn), Kn = requestAnimationFrame(() => {
|
|
783
|
-
k.value = t;
|
|
784
|
-
}));
|
|
785
|
-
}
|
|
786
778
|
let Jn = 0;
|
|
787
779
|
function Yn(e) {
|
|
788
780
|
T.value = !0;
|
|
789
|
-
let t =
|
|
781
|
+
let t = qn(e);
|
|
790
782
|
Number.isFinite(t) && (cancelAnimationFrame(Jn), Jn = requestAnimationFrame(() => {
|
|
791
|
-
|
|
783
|
+
O.value = t;
|
|
784
|
+
}));
|
|
785
|
+
}
|
|
786
|
+
let Xn = 0;
|
|
787
|
+
function Zn(e) {
|
|
788
|
+
T.value = !0;
|
|
789
|
+
let t = qn(e);
|
|
790
|
+
Number.isFinite(t) && (cancelAnimationFrame(Xn), Xn = requestAnimationFrame(() => {
|
|
791
|
+
k.value = t;
|
|
792
792
|
}));
|
|
793
793
|
}
|
|
794
794
|
pe(() => {
|
|
795
|
-
cancelAnimationFrame(
|
|
795
|
+
cancelAnimationFrame(Jn), cancelAnimationFrame(Xn);
|
|
796
796
|
});
|
|
797
|
-
let
|
|
798
|
-
function
|
|
797
|
+
let Qn = u(() => b.valueEnd - b.valueStart), $n = u(() => Qn.value < b.max - b.min), G = _(!1), er = _(null), tr = u(() => ($t.value - 48) / (b.max - b.min) * Qn.value), nr = u(() => Math.max(1, $t.value - Ot - tr.value)), rr = u(() => Math.max(1, b.max - b.min - Qn.value)), ir = u(() => rr.value / nr.value), ar = _(0), or = _(0), sr = _(0), cr = _(0), K = null, q = null, J = null, Y = null, lr = _(b.min);
|
|
798
|
+
function ur(e) {
|
|
799
799
|
if (!x.value) return b.min;
|
|
800
800
|
let t = x.value.getBoundingClientRect(), n = t.left + Ot / 2, r = t.right - Ot / 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);
|
|
801
801
|
return Math.round(b.min + a * o);
|
|
802
802
|
}
|
|
803
|
-
let
|
|
803
|
+
let dr = async (e) => {
|
|
804
804
|
if (T.value = !0, Z.value = !0, !b.enableSelectionDrag) return;
|
|
805
805
|
let t = e.type === "touchstart";
|
|
806
806
|
t || e.stopPropagation();
|
|
@@ -808,93 +808,93 @@ var we = ["data-minimap"], Te = {
|
|
|
808
808
|
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;
|
|
809
809
|
G.value = !0;
|
|
810
810
|
let i = t ? n ? n.clientX : 0 : e.clientX;
|
|
811
|
-
if (
|
|
812
|
-
|
|
811
|
+
if (er.value = i, ar.value = i, b.focusOnDrag && !$n.value && x.value && !Ht.value) {
|
|
812
|
+
Ht.value = !0;
|
|
813
813
|
try {
|
|
814
|
-
|
|
815
|
-
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), a =
|
|
814
|
+
lr.value = ur(i);
|
|
815
|
+
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), a = lr.value - r;
|
|
816
816
|
a = Math.max(Number(b.min), Math.min(a, Number(b.max) - n));
|
|
817
817
|
let ee = Math.min(Number(b.max), a + n);
|
|
818
|
-
|
|
818
|
+
O.value = a, k.value = ee, en(a), tn(ee), o(x.value, "mouseup"), await de(), o(x.value, "mousedown", { clientX: i });
|
|
819
819
|
} finally {
|
|
820
|
-
|
|
820
|
+
Ht.value = !1;
|
|
821
821
|
}
|
|
822
822
|
return;
|
|
823
823
|
}
|
|
824
|
-
|
|
824
|
+
or.value = S.value, sr.value = C.value, cr.value = ir.value, K = t ? "touchmove" : "mousemove", q = t ? "touchend" : "mouseup", J = t ? pr : fr, Y = t ? gr : hr, window.addEventListener(K, J, { passive: !1 }), window.addEventListener(q, Y);
|
|
825
825
|
};
|
|
826
|
-
function
|
|
827
|
-
G.value &&
|
|
826
|
+
function fr(e) {
|
|
827
|
+
G.value && mr(e.clientX);
|
|
828
828
|
}
|
|
829
|
-
function
|
|
829
|
+
function pr(e) {
|
|
830
830
|
if (!G.value || !x.value) return;
|
|
831
831
|
let t = e.target;
|
|
832
832
|
if (!(t instanceof Element) || !x.value.contains(t) || t.classList && t.classList.contains("range-handle")) return;
|
|
833
833
|
e.preventDefault();
|
|
834
834
|
let n = e.targetTouches && e.targetTouches[0] ? e.targetTouches[0] : null;
|
|
835
|
-
n &&
|
|
835
|
+
n && mr(n.clientX);
|
|
836
836
|
}
|
|
837
|
-
function
|
|
837
|
+
function mr(e) {
|
|
838
838
|
if (!G.value) return;
|
|
839
|
-
let t =
|
|
840
|
-
r = Math.max(b.min, Math.min(r, b.max -
|
|
841
|
-
let i = r +
|
|
842
|
-
|
|
839
|
+
let t = ur(ar.value), n = ur(e) - t, r = Math.round(or.value + n);
|
|
840
|
+
r = Math.max(b.min, Math.min(r, b.max - Qn.value));
|
|
841
|
+
let i = r + Qn.value;
|
|
842
|
+
O.value = r, k.value = i, en(r), tn(i);
|
|
843
843
|
}
|
|
844
|
-
function
|
|
845
|
-
|
|
844
|
+
function hr() {
|
|
845
|
+
_r();
|
|
846
846
|
}
|
|
847
|
-
function
|
|
848
|
-
|
|
847
|
+
function gr() {
|
|
848
|
+
_r();
|
|
849
849
|
}
|
|
850
|
-
function
|
|
851
|
-
G.value = !1, K && J && window.removeEventListener(K, J), q && Y && window.removeEventListener(q, Y), K = q = null, J = Y = null,
|
|
850
|
+
function _r() {
|
|
851
|
+
G.value = !1, K && J && window.removeEventListener(K, J), q && Y && window.removeEventListener(q, Y), K = q = null, J = Y = null, A();
|
|
852
852
|
}
|
|
853
|
-
let X = _(!1),
|
|
854
|
-
function
|
|
855
|
-
if (
|
|
856
|
-
let e = Math.round(
|
|
857
|
-
e !==
|
|
853
|
+
let X = _(!1), vr = _(null), yr = _(null), br = _(1), xr = _(1), Z = _(!1);
|
|
854
|
+
function Sr() {
|
|
855
|
+
if (vr.value) {
|
|
856
|
+
let e = Math.round(vr.value.getBoundingClientRect().width);
|
|
857
|
+
e !== br.value && (br.value = e);
|
|
858
858
|
}
|
|
859
859
|
}
|
|
860
|
-
function
|
|
861
|
-
if (
|
|
862
|
-
let e = Math.round(
|
|
863
|
-
e !==
|
|
860
|
+
function Cr() {
|
|
861
|
+
if (yr.value) {
|
|
862
|
+
let e = Math.round(yr.value.getBoundingClientRect().width);
|
|
863
|
+
e !== xr.value && (xr.value = e);
|
|
864
864
|
}
|
|
865
865
|
}
|
|
866
866
|
he(() => {
|
|
867
|
-
|
|
867
|
+
Sr(), Cr();
|
|
868
868
|
});
|
|
869
|
-
let
|
|
870
|
-
function
|
|
871
|
-
|
|
869
|
+
let wr = _(0);
|
|
870
|
+
function Tr(e) {
|
|
871
|
+
wr.value = +(e === "start");
|
|
872
872
|
}
|
|
873
|
-
let
|
|
873
|
+
let Er = _(!1), Dr = _({
|
|
874
874
|
width: 0,
|
|
875
875
|
left: 0
|
|
876
876
|
});
|
|
877
|
-
|
|
878
|
-
if (await de(), !
|
|
879
|
-
|
|
877
|
+
xe([S, C], async () => {
|
|
878
|
+
if (await de(), !vr.value || !yr.value) {
|
|
879
|
+
Er.value = !1, Dr.value = {
|
|
880
880
|
width: 0,
|
|
881
881
|
left: 0
|
|
882
882
|
};
|
|
883
883
|
return;
|
|
884
884
|
}
|
|
885
|
-
let e =
|
|
886
|
-
|
|
885
|
+
let e = vr.value.getBoundingClientRect(), t = yr.value.getBoundingClientRect();
|
|
886
|
+
Er.value = e.x + e.width > t.x;
|
|
887
887
|
let n = e.x + e.width / 2, r = t.x + t.width / 2, i = e.width + t.width, a = (n + r) / 2;
|
|
888
|
-
|
|
888
|
+
Dr.value = {
|
|
889
889
|
width: i,
|
|
890
890
|
left: a - i / 2
|
|
891
891
|
};
|
|
892
892
|
}), he(() => {
|
|
893
|
-
|
|
894
|
-
}),
|
|
895
|
-
de(
|
|
896
|
-
}, { deep: !0 }),
|
|
897
|
-
de(
|
|
893
|
+
Sr(), Cr();
|
|
894
|
+
}), xe(() => b.labelLeft, () => {
|
|
895
|
+
de(Sr);
|
|
896
|
+
}, { deep: !0 }), xe(() => b.labelRight, () => {
|
|
897
|
+
de(Cr);
|
|
898
898
|
}, { deep: !0 });
|
|
899
899
|
let Q = u(() => {
|
|
900
900
|
let e = "", t = "", n = !1;
|
|
@@ -906,10 +906,10 @@ var we = ["data-minimap"], Te = {
|
|
|
906
906
|
timeLabel: b.preciseLabels[S.value],
|
|
907
907
|
side: "left"
|
|
908
908
|
}), i = b.customFormat({
|
|
909
|
-
absoluteIndex:
|
|
909
|
+
absoluteIndex: Wt.value,
|
|
910
910
|
seriesIndex: -1,
|
|
911
911
|
datapoint: b.selectedSeries,
|
|
912
|
-
timeLabel: b.useValueRange ? null : b.preciseLabels[
|
|
912
|
+
timeLabel: b.useValueRange ? null : b.preciseLabels[Wt.value],
|
|
913
913
|
side: "right"
|
|
914
914
|
});
|
|
915
915
|
typeof r == "string" && typeof i == "string" && (e = r, t = i, n = !0);
|
|
@@ -917,7 +917,7 @@ var we = ["data-minimap"], Te = {
|
|
|
917
917
|
n = !1;
|
|
918
918
|
}
|
|
919
919
|
if (!n) {
|
|
920
|
-
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 ===
|
|
920
|
+
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 === Wt.value) : b.timeLabels.find((e) => e.absoluteIndex === Wt.value);
|
|
921
921
|
e = n ? n.text : "", t = r ? r.text : "";
|
|
922
922
|
}
|
|
923
923
|
return {
|
|
@@ -926,30 +926,30 @@ var we = ["data-minimap"], Te = {
|
|
|
926
926
|
};
|
|
927
927
|
});
|
|
928
928
|
pe(() => {
|
|
929
|
-
|
|
929
|
+
I.value && I.value.disconnect(), K && J && window.removeEventListener(K, J), q && Y && window.removeEventListener(q, Y), K = q = null, J = Y = null, clearTimeout(null);
|
|
930
930
|
});
|
|
931
|
-
let
|
|
932
|
-
if (!
|
|
931
|
+
let Or = u(() => {
|
|
932
|
+
if (!fn.value || W.value === null) return null;
|
|
933
933
|
if (b.useValueRange) {
|
|
934
934
|
let e = W.value;
|
|
935
935
|
return e < U.value.x || e > U.value.x + U.value.width ? null : {
|
|
936
936
|
x1: e,
|
|
937
937
|
x2: e,
|
|
938
938
|
y1: 0,
|
|
939
|
-
y2: Math.max(
|
|
939
|
+
y2: Math.max(F.value.height, 0),
|
|
940
940
|
stroke: b.minimapIndicatorColor,
|
|
941
941
|
"stroke-linecap": "round",
|
|
942
942
|
"stroke-dasharray": 2,
|
|
943
943
|
"stroke-width": 1
|
|
944
944
|
};
|
|
945
945
|
}
|
|
946
|
-
if (W.value >=
|
|
946
|
+
if (W.value >= R.value && W.value < z.value) {
|
|
947
947
|
let e = W.value, t = B.value * e + (b.minimapCompact ? 0 : B.value / 2);
|
|
948
948
|
return {
|
|
949
949
|
x1: t,
|
|
950
950
|
x2: t,
|
|
951
951
|
y1: 0,
|
|
952
|
-
y2: Math.max(
|
|
952
|
+
y2: Math.max(F.value.height, 0),
|
|
953
953
|
stroke: b.minimapIndicatorColor,
|
|
954
954
|
"stroke-linecap": "round",
|
|
955
955
|
"stroke-dasharray": 2,
|
|
@@ -957,54 +957,54 @@ var we = ["data-minimap"], Te = {
|
|
|
957
957
|
};
|
|
958
958
|
}
|
|
959
959
|
return null;
|
|
960
|
-
}),
|
|
961
|
-
function
|
|
960
|
+
}), kr = u(() => Number(S.value) < Number(C.value) - 1), Ar = u(() => Number(S.value) > Number(b.min)), jr = u(() => Number(C.value) < Number(b.max)), Mr = u(() => Number(C.value) > Number(S.value) + 1);
|
|
961
|
+
function Nr(e) {
|
|
962
962
|
let t = Number(S.value) + e;
|
|
963
|
-
e > 0 && !
|
|
963
|
+
e > 0 && !kr.value || e < 0 && !Ar.value || (T.value = !0, O.value = t, A());
|
|
964
964
|
}
|
|
965
|
-
function
|
|
965
|
+
function Pr(e) {
|
|
966
966
|
let t = Number(C.value) + e;
|
|
967
|
-
e > 0 && !
|
|
967
|
+
e > 0 && !jr.value || e < 0 && !Mr.value || (T.value = !0, k.value = t, A());
|
|
968
968
|
}
|
|
969
|
-
let
|
|
970
|
-
plus: () =>
|
|
971
|
-
minus: () =>
|
|
972
|
-
canPlus: Dr,
|
|
973
|
-
canMinus: Or
|
|
974
|
-
}, Pr = {
|
|
975
|
-
plus: () => Mr(1),
|
|
976
|
-
minus: () => Mr(-1),
|
|
969
|
+
let Fr = {
|
|
970
|
+
plus: () => Nr(1),
|
|
971
|
+
minus: () => Nr(-1),
|
|
977
972
|
canPlus: kr,
|
|
978
973
|
canMinus: Ar
|
|
974
|
+
}, Ir = {
|
|
975
|
+
plus: () => Pr(1),
|
|
976
|
+
minus: () => Pr(-1),
|
|
977
|
+
canPlus: jr,
|
|
978
|
+
canMinus: Mr
|
|
979
979
|
};
|
|
980
|
-
function
|
|
981
|
-
if (!e ||
|
|
980
|
+
function Lr(e) {
|
|
981
|
+
if (!e || Rr(e.target)) return;
|
|
982
982
|
let t = e.key, n = t === "ArrowLeft" || t === "ArrowDown" || t === "-" || t === "Subtract", r = t === "ArrowRight" || t === "ArrowUp" || t === "+" || t === "Add";
|
|
983
|
-
!n && !r || (e.preventDefault(), e.stopPropagation(), r ? (
|
|
983
|
+
!n && !r || (e.preventDefault(), e.stopPropagation(), r ? (Fr.plus(), Ir.plus()) : (Fr.minus(), Ir.minus()));
|
|
984
984
|
}
|
|
985
|
-
function
|
|
985
|
+
function Rr(e) {
|
|
986
986
|
return e instanceof HTMLElement && (e.isContentEditable || e.tagName === "INPUT" || e.tagName === "TEXTAREA" || e.tagName === "SELECT");
|
|
987
987
|
}
|
|
988
|
-
function
|
|
988
|
+
function zr(e) {
|
|
989
989
|
if (!w.value || !b.minimapCompact) return;
|
|
990
990
|
let t = x.value;
|
|
991
991
|
if (!t) return;
|
|
992
992
|
let n = e === "start" ? "[data-cy=\"slicer-compact-handle-left\"]" : "[data-cy=\"slicer-compact-handle-right\"]", r = t.querySelector(n);
|
|
993
993
|
r && r instanceof SVGElement && typeof r.focus == "function" && r.focus();
|
|
994
994
|
}
|
|
995
|
-
function
|
|
996
|
-
if (!t ||
|
|
995
|
+
function Br(e, t) {
|
|
996
|
+
if (!t || Rr(t.target)) return;
|
|
997
997
|
let n = t.key, r = n === "ArrowLeft" || n === "ArrowDown" || n === "-" || n === "Subtract", i = n === "ArrowRight" || n === "ArrowUp" || n === "+" || n === "Add";
|
|
998
|
-
!r && !i || (t.preventDefault(), t.stopPropagation(), e === "start" ? i ?
|
|
998
|
+
!r && !i || (t.preventDefault(), t.stopPropagation(), e === "start" ? i ? Fr.plus() : Fr.minus() : i ? Ir.plus() : Ir.minus(), de(() => zr(e)));
|
|
999
999
|
}
|
|
1000
|
-
let
|
|
1000
|
+
let Vr = u(() => ({
|
|
1001
1001
|
tabindex: 0,
|
|
1002
1002
|
role: "slider",
|
|
1003
1003
|
"aria-label": "Range start",
|
|
1004
1004
|
"aria-valuemin": Number(b.min),
|
|
1005
1005
|
"aria-valuemax": Math.max(Number(b.min), Number(C.value) - 1),
|
|
1006
1006
|
"aria-valuenow": Number(S.value)
|
|
1007
|
-
})),
|
|
1007
|
+
})), Hr = u(() => ({
|
|
1008
1008
|
tabindex: 0,
|
|
1009
1009
|
role: "slider",
|
|
1010
1010
|
"aria-label": "Range end",
|
|
@@ -1012,69 +1012,71 @@ var we = ["data-minimap"], Te = {
|
|
|
1012
1012
|
"aria-valuemax": Number(b.max),
|
|
1013
1013
|
"aria-valuenow": Number(C.value)
|
|
1014
1014
|
}));
|
|
1015
|
-
function
|
|
1016
|
-
if (!
|
|
1017
|
-
let t =
|
|
1015
|
+
function Ur(e) {
|
|
1016
|
+
if (!Vt.value) return 0;
|
|
1017
|
+
let t = Vt.value.getBoundingClientRect();
|
|
1018
1018
|
if (!t.width) return 0;
|
|
1019
1019
|
let n = (e - t.left) / t.width;
|
|
1020
|
-
return Math.min(1, Math.max(0, n)) *
|
|
1020
|
+
return Math.min(1, Math.max(0, n)) * F.value.width;
|
|
1021
1021
|
}
|
|
1022
|
-
function
|
|
1023
|
-
let t = Math.max(0,
|
|
1022
|
+
function Wr(e) {
|
|
1023
|
+
let t = Math.max(0, L.value - 1), n = Math.max(1, F.value.width), r = Math.min(1, Math.max(0, e / n));
|
|
1024
1024
|
return Math.min(t, Math.max(0, Math.round(r * t)));
|
|
1025
1025
|
}
|
|
1026
|
-
function
|
|
1027
|
-
let
|
|
1026
|
+
function Gr(e, t) {
|
|
1027
|
+
let n = Math.min(Math.max(0, t), Math.max(1, F.value.width));
|
|
1028
1028
|
if (b.useValueRange) {
|
|
1029
|
-
let
|
|
1030
|
-
if (
|
|
1031
|
-
let
|
|
1032
|
-
|
|
1029
|
+
let t = Jt(n);
|
|
1030
|
+
if (e === "start") {
|
|
1031
|
+
let e = Math.min(t, Number(C.value) - D.value);
|
|
1032
|
+
O.value = e, en(e);
|
|
1033
1033
|
return;
|
|
1034
1034
|
}
|
|
1035
|
-
if (
|
|
1036
|
-
let
|
|
1037
|
-
|
|
1035
|
+
if (e === "end") {
|
|
1036
|
+
let e = Math.max(Number(S.value) + D.value, t), n = Math.min(Number(b.max), e);
|
|
1037
|
+
k.value = n, tn(n);
|
|
1038
1038
|
return;
|
|
1039
1039
|
}
|
|
1040
1040
|
}
|
|
1041
|
-
let
|
|
1042
|
-
if (
|
|
1043
|
-
let e = Math.min(b.min +
|
|
1044
|
-
|
|
1041
|
+
let r = Wr(n);
|
|
1042
|
+
if (e === "start") {
|
|
1043
|
+
let e = Math.min(b.min + r, Number(C.value) - 1);
|
|
1044
|
+
O.value = e, en(e);
|
|
1045
1045
|
return;
|
|
1046
1046
|
}
|
|
1047
|
-
if (
|
|
1048
|
-
let e = Math.max(Number(S.value) + 1, b.min +
|
|
1049
|
-
|
|
1047
|
+
if (e === "end") {
|
|
1048
|
+
let e = Math.max(Number(S.value) + 1, b.min + r + 1), t = Math.min(b.max, e);
|
|
1049
|
+
k.value = t, tn(t);
|
|
1050
1050
|
}
|
|
1051
1051
|
}
|
|
1052
|
-
function
|
|
1053
|
-
if (
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1052
|
+
function Kr(e, t) {
|
|
1053
|
+
if (It.value !== e || Lt.value !== t.pointerId || !P.value) return;
|
|
1054
|
+
t.preventDefault();
|
|
1055
|
+
let n = t.clientX - zt.value;
|
|
1056
|
+
if (!Rt.value) {
|
|
1057
|
+
if (Math.abs(n) < 4) return;
|
|
1058
|
+
Rt.value = !0, T.value = !0, Z.value = !0;
|
|
1058
1059
|
}
|
|
1059
|
-
let
|
|
1060
|
-
|
|
1060
|
+
let r = Ur(t.clientX) - Bt.value;
|
|
1061
|
+
Gr(e, e === "start" ? r + Qt.value : r);
|
|
1061
1062
|
}
|
|
1062
|
-
function
|
|
1063
|
-
if (
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1063
|
+
function qr(e, t) {
|
|
1064
|
+
if (It.value !== e || Lt.value !== t.pointerId) return;
|
|
1065
|
+
let n = t.currentTarget;
|
|
1066
|
+
n?.hasPointerCapture?.(t.pointerId) && n.releasePointerCapture(t.pointerId);
|
|
1067
|
+
let r = Rt.value;
|
|
1068
|
+
It.value = null, Lt.value = null, Rt.value = !1, zt.value = 0, Bt.value = 0, r && A();
|
|
1067
1069
|
}
|
|
1068
|
-
function
|
|
1069
|
-
if (!w.value || !b.minimapCompact || !
|
|
1070
|
+
function Jr(e, t) {
|
|
1071
|
+
if (!w.value || !b.minimapCompact || !P.value || Lt.value !== null) return;
|
|
1070
1072
|
t.preventDefault(), t.stopPropagation(), W.value = null;
|
|
1071
|
-
let n =
|
|
1072
|
-
|
|
1073
|
+
let n = Ur(t.clientX), r = e === "start" ? U.value.x - Qt.value : U.value.x + U.value.width;
|
|
1074
|
+
It.value = e, Lt.value = t.pointerId, Rt.value = !1, zt.value = t.clientX, Bt.value = n - r, t.currentTarget?.setPointerCapture?.(t.pointerId);
|
|
1073
1075
|
}
|
|
1074
|
-
let
|
|
1076
|
+
let Yr = u(() => R.value), Xr = u(() => Math.max(R.value, z.value - 1));
|
|
1075
1077
|
u(() => {
|
|
1076
1078
|
if (!w.value || !b.minimapCompact || !b.allMinimaps.length) return [];
|
|
1077
|
-
let e =
|
|
1079
|
+
let e = Yr.value, t = Xr.value;
|
|
1078
1080
|
return H.value.flatMap((n) => {
|
|
1079
1081
|
if (!n?.isVisible || !["line", "plot"].includes(n.type) || !n.type) return [];
|
|
1080
1082
|
let r = [], i = n.points?.find((t) => t.i === e && t.value !== null), a = n.points?.find((e) => e.i === t && e.value !== null);
|
|
@@ -1091,10 +1093,10 @@ var we = ["data-minimap"], Te = {
|
|
|
1091
1093
|
}), r;
|
|
1092
1094
|
});
|
|
1093
1095
|
});
|
|
1094
|
-
let $ = u(() => Math.min(40, Math.max(20, b.handleWidth))),
|
|
1095
|
-
return
|
|
1096
|
-
setStartValue:
|
|
1097
|
-
setEndValue:
|
|
1096
|
+
let $ = u(() => Math.min(40, Math.max(20, b.handleWidth))), Zr = u(() => Math.max(kt, $.value)), Qr = u(() => Math.max(kt, Number(F.value.height) || 0)), $r = u(() => (F.value.height - Qr.value) / 2), ei = u(() => U.value.x), ti = u(() => U.value.x + U.value.width);
|
|
1097
|
+
return At({
|
|
1098
|
+
setStartValue: Yn,
|
|
1099
|
+
setEndValue: Zn
|
|
1098
1100
|
}), (e, t) => (g(), f("div", {
|
|
1099
1101
|
"data-minimap": w.value,
|
|
1100
1102
|
"data-dom-to-png-ignore": "",
|
|
@@ -1102,10 +1104,10 @@ var we = ["data-minimap"], Te = {
|
|
|
1102
1104
|
class: "vue-data-ui-zoom",
|
|
1103
1105
|
ref_key: "zoomWrapper",
|
|
1104
1106
|
ref: x,
|
|
1105
|
-
onMousedown:
|
|
1106
|
-
onTouchstart:
|
|
1107
|
-
style: h(
|
|
1108
|
-
}, [p("div", Te, [s.valueStart !== s.refreshStartPoint || s.valueEnd !==
|
|
1107
|
+
onMousedown: dr,
|
|
1108
|
+
onTouchstart: dr,
|
|
1109
|
+
style: h(Pt.value)
|
|
1110
|
+
}, [p("div", Te, [s.valueStart !== s.refreshStartPoint || s.valueEnd !== nn.value ? (g(), f("div", Ee, [ge(e.$slots, "reset-action", { reset: pn }, () => [p("button", {
|
|
1109
1111
|
tabindex: "0",
|
|
1110
1112
|
role: "button",
|
|
1111
1113
|
class: "vue-data-ui-refresh-button",
|
|
@@ -1113,32 +1115,32 @@ var we = ["data-minimap"], Te = {
|
|
|
1113
1115
|
top: w.value ? "36px" : "-16px",
|
|
1114
1116
|
cursor: s.isCursorPointer ? "pointer" : "default"
|
|
1115
1117
|
}),
|
|
1116
|
-
onClick:
|
|
1118
|
+
onClick: pn
|
|
1117
1119
|
}, [ce(oe, {
|
|
1118
1120
|
name: "refresh",
|
|
1119
1121
|
stroke: s.textColor
|
|
1120
1122
|
}, null, 8, ["stroke"])], 4)], !0)])) : d("", !0)]), p("div", {
|
|
1121
1123
|
class: "double-range-slider",
|
|
1122
1124
|
ref_key: "minimapWrapper",
|
|
1123
|
-
ref:
|
|
1125
|
+
ref: P,
|
|
1124
1126
|
style: h([{ "z-index": "0" }, w.value ? {
|
|
1125
1127
|
"--minimap-unit-px": B.value + "px",
|
|
1126
1128
|
"--minimap-offset-px": (s.minimapCompact ? 0 : B.value / 2) + "px"
|
|
1127
1129
|
} : void 0]),
|
|
1128
|
-
onMouseenter: t[
|
|
1129
|
-
onMouseleave: t[
|
|
1130
|
+
onMouseenter: t[24] ||= (e) => Z.value = !0,
|
|
1131
|
+
onMouseleave: t[25] ||= (e) => Z.value = !1
|
|
1130
1132
|
}, [
|
|
1131
1133
|
w.value ? (g(), f("div", De, [(g(), f("svg", {
|
|
1132
1134
|
ref_key: "minimapSvg",
|
|
1133
|
-
ref:
|
|
1135
|
+
ref: Vt,
|
|
1134
1136
|
key: `mm-${s.minimapMerged ? "merged" : "split"}-${s.minimapCompact ? "compact" : "normal"}`,
|
|
1135
1137
|
xmlns: ve(ne),
|
|
1136
|
-
viewBox: `0 0 ${Math.max(0,
|
|
1138
|
+
viewBox: `0 0 ${Math.max(0, F.value.width)} ${Math.max(0, F.value.height)}`,
|
|
1137
1139
|
preserveAspectRatio: "none"
|
|
1138
1140
|
}, [
|
|
1139
1141
|
p("defs", null, [ce(se, {
|
|
1140
1142
|
t: "linear",
|
|
1141
|
-
id:
|
|
1143
|
+
id: Ft.value,
|
|
1142
1144
|
x1: "0%",
|
|
1143
1145
|
y1: "0%",
|
|
1144
1146
|
x2: "0%",
|
|
@@ -1152,19 +1154,19 @@ var we = ["data-minimap"], Te = {
|
|
|
1152
1154
|
"transparent",
|
|
1153
1155
|
0
|
|
1154
1156
|
]]
|
|
1155
|
-
}, null, 8, ["id", "stops"]), p("clipPath", { id: `selection_clip_${
|
|
1157
|
+
}, null, 8, ["id", "stops"]), p("clipPath", { id: `selection_clip_${Ft.value}` }, [p("rect", {
|
|
1156
1158
|
x: U.value.x,
|
|
1157
1159
|
y: "0",
|
|
1158
1160
|
width: Math.max(0, U.value.width),
|
|
1159
|
-
height: Math.max(
|
|
1161
|
+
height: Math.max(F.value.height, 0)
|
|
1160
1162
|
}, null, 8, Ae)], 8, ke)]),
|
|
1161
1163
|
s.minimapCompact ? (g(), f("rect", {
|
|
1162
1164
|
key: 0,
|
|
1163
1165
|
class: "vue-ui-zoom-minimap-frame",
|
|
1164
1166
|
x: 0,
|
|
1165
1167
|
y: 0,
|
|
1166
|
-
width:
|
|
1167
|
-
height:
|
|
1168
|
+
width: F.value.width,
|
|
1169
|
+
height: F.value.height,
|
|
1168
1170
|
fill: "none",
|
|
1169
1171
|
stroke: s.minimapFrameColor,
|
|
1170
1172
|
rx: 3
|
|
@@ -1180,16 +1182,16 @@ var we = ["data-minimap"], Te = {
|
|
|
1180
1182
|
style: { opacity: "0.6" }
|
|
1181
1183
|
}, null, 8, Me)) : d("", !0), s.minimapMerged && !s.minimapCompact ? (g(), f("path", {
|
|
1182
1184
|
key: 1,
|
|
1183
|
-
d: `M${B.value / 2},${Math.max(
|
|
1184
|
-
fill: `url(#${
|
|
1185
|
+
d: `M${B.value / 2},${Math.max(F.value.height, 0)} ${V.value.fullSet} L${F.value.width - B.value / 2},${Math.max(F.value.height, 0)}Z`,
|
|
1186
|
+
fill: `url(#${Ft.value})`,
|
|
1185
1187
|
stroke: "none",
|
|
1186
1188
|
style: { opacity: "0.6" }
|
|
1187
1189
|
}, null, 8, Ne)) : s.minimapMerged ? d("", !0) : (g(), f(l, { key: 2 }, [
|
|
1188
1190
|
(g(!0), f(l, null, v(H.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", {
|
|
1189
1191
|
key: 0,
|
|
1190
|
-
x:
|
|
1192
|
+
x: xn(n.x, t, r),
|
|
1191
1193
|
y: n.v >= 0 ? n.y : n.y0,
|
|
1192
|
-
width:
|
|
1194
|
+
width: Sn(t, r),
|
|
1193
1195
|
height: n.v >= 0 ? n.y0 - n.y : n.y - n.y0,
|
|
1194
1196
|
fill: e.color,
|
|
1195
1197
|
style: { opacity: .6 }
|
|
@@ -1207,7 +1209,7 @@ var we = ["data-minimap"], Te = {
|
|
|
1207
1209
|
cy: t.y,
|
|
1208
1210
|
r: "2",
|
|
1209
1211
|
fill: e.color,
|
|
1210
|
-
stroke:
|
|
1212
|
+
stroke: N.value,
|
|
1211
1213
|
"stroke-width": "0.5",
|
|
1212
1214
|
style: { opacity: "0.6" }
|
|
1213
1215
|
}, null, 8, Ie))), 128)) : d("", !0)]))), 256)),
|
|
@@ -1217,7 +1219,7 @@ var we = ["data-minimap"], Te = {
|
|
|
1217
1219
|
cy: t.y,
|
|
1218
1220
|
r: "2",
|
|
1219
1221
|
fill: e.color,
|
|
1220
|
-
stroke:
|
|
1222
|
+
stroke: N.value,
|
|
1221
1223
|
"stroke-width": "0.5",
|
|
1222
1224
|
style: { opacity: "0.6" }
|
|
1223
1225
|
}, null, 8, Le)) : d("", !0)]))), 256))]))), 256))
|
|
@@ -1226,8 +1228,8 @@ var we = ["data-minimap"], Te = {
|
|
|
1226
1228
|
x: U.value.x,
|
|
1227
1229
|
y: 0,
|
|
1228
1230
|
width: Math.max(0, U.value.width),
|
|
1229
|
-
height: Math.max(
|
|
1230
|
-
fill:
|
|
1231
|
+
height: Math.max(F.value.height, 0),
|
|
1232
|
+
fill: N.value,
|
|
1231
1233
|
rx: s.minimapSelectionRadius,
|
|
1232
1234
|
stroke: "none"
|
|
1233
1235
|
}, null, 8, Re),
|
|
@@ -1235,16 +1237,16 @@ var we = ["data-minimap"], Te = {
|
|
|
1235
1237
|
x: U.value.x,
|
|
1236
1238
|
y: 0,
|
|
1237
1239
|
width: U.value.width < 0 ? 0 : U.value.width,
|
|
1238
|
-
height: Math.max(
|
|
1240
|
+
height: Math.max(F.value.height, 0),
|
|
1239
1241
|
rx: s.minimapSelectionRadius,
|
|
1240
|
-
fill:
|
|
1242
|
+
fill: N.value,
|
|
1241
1243
|
style: h({ opacity: G.value || T.value ? 0 : 1 })
|
|
1242
1244
|
}, null, 12, ze),
|
|
1243
1245
|
p("rect", {
|
|
1244
1246
|
x: U.value.x,
|
|
1245
1247
|
y: 0,
|
|
1246
1248
|
width: U.value.width < 0 ? 0 : U.value.width,
|
|
1247
|
-
height: Math.max(
|
|
1249
|
+
height: Math.max(F.value.height, 0),
|
|
1248
1250
|
fill: s.minimapSelectedColor,
|
|
1249
1251
|
rx: s.minimapSelectionRadius,
|
|
1250
1252
|
style: h({ opacity: s.minimapSelectedColorOpacity }),
|
|
@@ -1255,15 +1257,15 @@ var we = ["data-minimap"], Te = {
|
|
|
1255
1257
|
"aria-valuemax": Number(b.max),
|
|
1256
1258
|
"aria-valuenow": Number(S.value),
|
|
1257
1259
|
"aria-valuetext": Q.value.left && Q.value.right ? `${Q.value.left} – ${Q.value.right}` : void 0,
|
|
1258
|
-
onKeydown:
|
|
1260
|
+
onKeydown: Lr
|
|
1259
1261
|
}, null, 44, Be),
|
|
1260
|
-
!s.minimapMerged &&
|
|
1262
|
+
!s.minimapMerged && An.value < 0 ? (g(), f("line", {
|
|
1261
1263
|
key: 2,
|
|
1262
1264
|
class: "slicer-minimap-zero-line",
|
|
1263
1265
|
x1: 0,
|
|
1264
|
-
x2:
|
|
1265
|
-
y1:
|
|
1266
|
-
y2:
|
|
1266
|
+
x2: F.value.width,
|
|
1267
|
+
y1: Mn.value,
|
|
1268
|
+
y2: Mn.value,
|
|
1267
1269
|
stroke: s.minimapFrameColor,
|
|
1268
1270
|
"stroke-width": "0.5"
|
|
1269
1271
|
}, null, 8, Ve)) : d("", !0),
|
|
@@ -1282,7 +1284,7 @@ var we = ["data-minimap"], Te = {
|
|
|
1282
1284
|
cx: V.value.firstPlot.x,
|
|
1283
1285
|
cy: V.value.firstPlot.y,
|
|
1284
1286
|
"stroke-width": "0.5",
|
|
1285
|
-
stroke:
|
|
1287
|
+
stroke: N.value,
|
|
1286
1288
|
r: "3",
|
|
1287
1289
|
fill: s.minimapLineColor
|
|
1288
1290
|
}, null, 8, We)) : d("", !0),
|
|
@@ -1291,19 +1293,19 @@ var we = ["data-minimap"], Te = {
|
|
|
1291
1293
|
cx: V.value.lastPlot.x,
|
|
1292
1294
|
cy: V.value.lastPlot.y,
|
|
1293
1295
|
"stroke-width": "0.5",
|
|
1294
|
-
stroke:
|
|
1296
|
+
stroke: N.value,
|
|
1295
1297
|
r: "3",
|
|
1296
1298
|
fill: s.minimapLineColor
|
|
1297
1299
|
}, null, 8, Ge)) : d("", !0)
|
|
1298
1300
|
])) : (g(), f("g", Ke, [
|
|
1299
1301
|
(g(!0), f(l, null, v(H.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", {
|
|
1300
1302
|
key: 0,
|
|
1301
|
-
x:
|
|
1303
|
+
x: xn(n.x, t, r),
|
|
1302
1304
|
y: n.v >= 0 ? n.y : n.y0,
|
|
1303
|
-
width:
|
|
1305
|
+
width: Sn(t, r),
|
|
1304
1306
|
height: n.v >= 0 ? n.y0 - n.y : n.y - n.y0,
|
|
1305
1307
|
fill: e.color,
|
|
1306
|
-
style: h({ opacity: +(r >=
|
|
1308
|
+
style: h({ opacity: +(r >= O.value && r < k.value) })
|
|
1307
1309
|
}, null, 12, qe)) : d("", !0)], 64))), 256))]))), 256)),
|
|
1308
1310
|
(g(!0), f(l, null, v(H.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", {
|
|
1309
1311
|
key: 0,
|
|
@@ -1321,61 +1323,79 @@ var we = ["data-minimap"], Te = {
|
|
|
1321
1323
|
cy: t.y,
|
|
1322
1324
|
r: "2",
|
|
1323
1325
|
fill: e.color,
|
|
1324
|
-
stroke:
|
|
1326
|
+
stroke: N.value,
|
|
1325
1327
|
"stroke-width": "0.5",
|
|
1326
1328
|
style: { opacity: "0.6" }
|
|
1327
1329
|
}, null, 8, Ye)) : d("", !0)]))), 256))]))), 128))
|
|
1328
1330
|
]))], 64)),
|
|
1329
1331
|
e.$slots.slotMap ? ge(e.$slots, "slotMap", fe(le({
|
|
1330
|
-
width: Math.max(0,
|
|
1331
|
-
height: Math.max(0,
|
|
1332
|
-
zeroY:
|
|
1332
|
+
width: Math.max(0, F.value.width),
|
|
1333
|
+
height: Math.max(0, F.value.height),
|
|
1334
|
+
zeroY: Mn.value,
|
|
1333
1335
|
unitW: Math.max(0, B.value)
|
|
1334
1336
|
})), void 0, !0, 4) : d("", !0),
|
|
1335
|
-
W.value !== null && !X.value ? (g(), f("line", fe(ue({ key: 5 },
|
|
1337
|
+
W.value !== null && !X.value ? (g(), f("line", fe(ue({ key: 5 }, Or.value)), null, 16)) : d("", !0),
|
|
1336
1338
|
p("rect", {
|
|
1337
1339
|
x: 0,
|
|
1338
1340
|
y: 0,
|
|
1339
|
-
width: Math.max(0,
|
|
1340
|
-
height: Math.max(0,
|
|
1341
|
+
width: Math.max(0, F.value.width),
|
|
1342
|
+
height: Math.max(0, F.value.height),
|
|
1341
1343
|
fill: "transparent",
|
|
1342
1344
|
style: h([{ "pointer-events": "all !important" }, { cursor: s.enableSelectionDrag ? X.value ? "grabbing" : "grab" : "default" }]),
|
|
1343
1345
|
onMousedown: t[0] ||= (e) => X.value = !0,
|
|
1344
1346
|
onMouseup: t[1] ||= (e) => X.value = !1,
|
|
1345
|
-
onMousemove:
|
|
1346
|
-
onMouseleave:
|
|
1347
|
+
onMousemove: Un,
|
|
1348
|
+
onMouseleave: Wn
|
|
1347
1349
|
}, null, 44, Xe),
|
|
1348
|
-
w.value && s.minimapCompact ? (g(), f(l, { key: 6 }, [
|
|
1350
|
+
w.value && s.minimapCompact ? (g(), f(l, { key: 6 }, [p("g", ue({
|
|
1351
|
+
class: "vue-ui-zoom-compact-minimap-handle",
|
|
1352
|
+
transform: `translate(${ei.value}, 0)`
|
|
1353
|
+
}, Vr.value, {
|
|
1354
|
+
onKeydown: t[2] ||= (e) => Br("start", e),
|
|
1355
|
+
onPointerdown: t[3] ||= y((e) => Jr("start", e), ["stop", "prevent"]),
|
|
1356
|
+
onPointermove: t[4] ||= y((e) => Kr("start", e), ["stop", "prevent"]),
|
|
1357
|
+
onPointerup: t[5] ||= y((e) => qr("start", e), ["stop", "prevent"]),
|
|
1358
|
+
onPointercancel: t[6] ||= y((e) => qr("start", e), ["stop", "prevent"]),
|
|
1359
|
+
onClick: t[7] ||= y(() => {}, ["stop", "prevent"])
|
|
1360
|
+
}), [
|
|
1349
1361
|
p("rect", {
|
|
1350
|
-
class: "vue-ui-zoom-compact-minimap-handle",
|
|
1351
|
-
x:
|
|
1362
|
+
class: "vue-ui-zoom-compact-minimap-handle-hit",
|
|
1363
|
+
x: -Zr.value,
|
|
1364
|
+
y: $r.value,
|
|
1365
|
+
width: Zr.value,
|
|
1366
|
+
height: Qr.value,
|
|
1367
|
+
fill: "transparent"
|
|
1368
|
+
}, null, 8, Qe),
|
|
1369
|
+
p("rect", {
|
|
1370
|
+
class: "vue-ui-zoom-compact-minimap-handle-visual",
|
|
1371
|
+
x: -$.value,
|
|
1352
1372
|
y: 0,
|
|
1353
1373
|
width: $.value,
|
|
1354
|
-
height:
|
|
1355
|
-
fill: s.handleFill ||
|
|
1374
|
+
height: F.value.height,
|
|
1375
|
+
fill: s.handleFill || N.value,
|
|
1356
1376
|
stroke: s.handleBorderColor || s.textColor,
|
|
1357
1377
|
"stroke-width": s.handleBorderWidth,
|
|
1358
1378
|
rx: 3
|
|
1359
|
-
}, null, 8,
|
|
1379
|
+
}, null, 8, $e),
|
|
1360
1380
|
s.handleType && s.handleType !== "empty" ? (g(), f("g", {
|
|
1361
1381
|
key: 0,
|
|
1362
1382
|
class: "compact-handle-icon",
|
|
1363
|
-
transform: `translate(${
|
|
1383
|
+
transform: `translate(${-$.value}, 0)`,
|
|
1364
1384
|
style: { "pointer-events": "none" }
|
|
1365
1385
|
}, [(g(), f("svg", {
|
|
1366
1386
|
width: $.value,
|
|
1367
|
-
height:
|
|
1387
|
+
height: F.value.height,
|
|
1368
1388
|
viewBox: "0 0 20 20",
|
|
1369
1389
|
preserveAspectRatio: "xMidYMid meet"
|
|
1370
1390
|
}, [s.handleType === "arrow" ? (g(), f("path", {
|
|
1371
1391
|
key: 0,
|
|
1372
1392
|
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",
|
|
1373
|
-
fill:
|
|
1393
|
+
fill: N.value,
|
|
1374
1394
|
stroke: s.handleIconColor || s.textColor,
|
|
1375
1395
|
"stroke-width": .618,
|
|
1376
1396
|
"stroke-linejoin": "round",
|
|
1377
1397
|
"stroke-linecap": "round"
|
|
1378
|
-
}, null, 8,
|
|
1398
|
+
}, null, 8, nt)) : s.handleType === "chevron" ? (g(), f("path", {
|
|
1379
1399
|
key: 1,
|
|
1380
1400
|
d: "M 6 7 L 4 10 L 6 13 M 14 7 L 16 10 L 14 13",
|
|
1381
1401
|
fill: "none",
|
|
@@ -1383,43 +1403,57 @@ var we = ["data-minimap"], Te = {
|
|
|
1383
1403
|
"stroke-width": .618,
|
|
1384
1404
|
"stroke-linejoin": "round",
|
|
1385
1405
|
"stroke-linecap": "round"
|
|
1386
|
-
}, null, 8,
|
|
1406
|
+
}, null, 8, rt)) : s.handleType === "grab" ? (g(), f("path", {
|
|
1387
1407
|
key: 2,
|
|
1388
1408
|
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",
|
|
1389
1409
|
fill: s.handleIconColor || s.textColor,
|
|
1390
1410
|
stroke: "none",
|
|
1391
1411
|
opacity: "0.6"
|
|
1392
|
-
}, null, 8,
|
|
1412
|
+
}, null, 8, it)) : d("", !0)], 8, tt))], 8, et)) : d("", !0)
|
|
1413
|
+
], 16, Ze), p("g", ue({
|
|
1414
|
+
class: "vue-ui-zoom-compact-minimap-handle",
|
|
1415
|
+
transform: `translate(${ti.value}, 0)`
|
|
1416
|
+
}, Hr.value, {
|
|
1417
|
+
onKeydown: t[8] ||= (e) => Br("end", e),
|
|
1418
|
+
onPointerdown: t[9] ||= y((e) => Jr("end", e), ["stop", "prevent"]),
|
|
1419
|
+
onPointermove: t[10] ||= y((e) => Kr("end", e), ["stop", "prevent"]),
|
|
1420
|
+
onPointerup: t[11] ||= y((e) => qr("end", e), ["stop", "prevent"]),
|
|
1421
|
+
onPointercancel: t[12] ||= y((e) => qr("end", e), ["stop", "prevent"]),
|
|
1422
|
+
onClick: t[13] ||= y(() => {}, ["stop", "prevent"])
|
|
1423
|
+
}), [
|
|
1424
|
+
p("rect", {
|
|
1425
|
+
class: "vue-ui-zoom-compact-minimap-handle-hit",
|
|
1426
|
+
x: 0,
|
|
1427
|
+
y: $r.value,
|
|
1428
|
+
width: Zr.value,
|
|
1429
|
+
height: Qr.value,
|
|
1430
|
+
fill: "transparent"
|
|
1431
|
+
}, null, 8, ot),
|
|
1393
1432
|
p("rect", {
|
|
1394
|
-
class: "vue-ui-zoom-compact-minimap-handle",
|
|
1395
|
-
x:
|
|
1433
|
+
class: "vue-ui-zoom-compact-minimap-handle-visual",
|
|
1434
|
+
x: 0,
|
|
1396
1435
|
y: 0,
|
|
1397
1436
|
width: $.value,
|
|
1398
|
-
height:
|
|
1399
|
-
fill: s.handleFill ||
|
|
1437
|
+
height: F.value.height,
|
|
1438
|
+
fill: s.handleFill || N.value,
|
|
1400
1439
|
stroke: s.handleBorderColor || s.textColor,
|
|
1401
1440
|
"stroke-width": s.handleBorderWidth,
|
|
1402
1441
|
rx: 3
|
|
1403
|
-
}, null, 8,
|
|
1404
|
-
s.handleType && s.handleType !== "empty" ? (g(), f("g", {
|
|
1405
|
-
key: 1,
|
|
1406
|
-
class: "compact-handle-icon",
|
|
1407
|
-
transform: `translate(${Xr.value}, 0)`,
|
|
1408
|
-
style: { "pointer-events": "none" }
|
|
1409
|
-
}, [(g(), f("svg", {
|
|
1442
|
+
}, null, 8, st),
|
|
1443
|
+
s.handleType && s.handleType !== "empty" ? (g(), f("g", ct, [(g(), f("svg", {
|
|
1410
1444
|
width: $.value,
|
|
1411
|
-
height:
|
|
1445
|
+
height: F.value.height,
|
|
1412
1446
|
viewBox: "0 0 20 20",
|
|
1413
1447
|
preserveAspectRatio: "xMidYMid meet"
|
|
1414
1448
|
}, [s.handleType === "arrow" ? (g(), f("path", {
|
|
1415
1449
|
key: 0,
|
|
1416
1450
|
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",
|
|
1417
|
-
fill:
|
|
1451
|
+
fill: N.value,
|
|
1418
1452
|
stroke: s.handleIconColor || s.textColor,
|
|
1419
1453
|
"stroke-width": .618,
|
|
1420
1454
|
"stroke-linejoin": "round",
|
|
1421
1455
|
"stroke-linecap": "round"
|
|
1422
|
-
}, null, 8,
|
|
1456
|
+
}, null, 8, ut)) : s.handleType === "chevron" ? (g(), f("path", {
|
|
1423
1457
|
key: 1,
|
|
1424
1458
|
d: "M 6 7 L 4 10 L 6 13 M 14 7 L 16 10 L 14 13",
|
|
1425
1459
|
fill: "none",
|
|
@@ -1427,48 +1461,48 @@ var we = ["data-minimap"], Te = {
|
|
|
1427
1461
|
"stroke-width": .618,
|
|
1428
1462
|
"stroke-linejoin": "round",
|
|
1429
1463
|
"stroke-linecap": "round"
|
|
1430
|
-
}, null, 8,
|
|
1464
|
+
}, null, 8, dt)) : s.handleType === "grab" ? (g(), f("path", {
|
|
1431
1465
|
key: 2,
|
|
1432
1466
|
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",
|
|
1433
1467
|
fill: s.handleIconColor || s.textColor,
|
|
1434
1468
|
stroke: "none",
|
|
1435
1469
|
opacity: "0.6"
|
|
1436
|
-
}, null, 8,
|
|
1437
|
-
], 64)) : d("", !0),
|
|
1438
|
-
e.$slots.slotMap ? d("", !0) : (g(), f(l, { key: 7 }, [s.minimapMerged ? (g(), f("g",
|
|
1470
|
+
}, null, 8, ft)) : d("", !0)], 8, lt))])) : d("", !0)
|
|
1471
|
+
], 16, at)], 64)) : d("", !0),
|
|
1472
|
+
e.$slots.slotMap ? d("", !0) : (g(), f(l, { key: 7 }, [s.minimapMerged ? (g(), f("g", pt, [
|
|
1439
1473
|
V.value && V.value.firstPlot && V.value.firstPlot.value !== null ? (g(), f("circle", {
|
|
1440
1474
|
key: 0,
|
|
1441
1475
|
cx: V.value.firstPlot.x,
|
|
1442
1476
|
cy: V.value.firstPlot.y,
|
|
1443
1477
|
"stroke-width": "0.5",
|
|
1444
|
-
stroke:
|
|
1478
|
+
stroke: N.value,
|
|
1445
1479
|
r: "4",
|
|
1446
1480
|
fill: s.minimapLineColor
|
|
1447
|
-
}, null, 8,
|
|
1481
|
+
}, null, 8, mt)) : d("", !0),
|
|
1448
1482
|
V.value && V.value.firstPlot && V.value.firstPlot.value !== null ? (g(), f("circle", {
|
|
1449
1483
|
key: 1,
|
|
1450
1484
|
cx: V.value.firstPlot.x,
|
|
1451
1485
|
cy: V.value.firstPlot.y,
|
|
1452
1486
|
r: 2,
|
|
1453
|
-
fill:
|
|
1454
|
-
}, null, 8,
|
|
1487
|
+
fill: N.value
|
|
1488
|
+
}, null, 8, ht)) : d("", !0),
|
|
1455
1489
|
V.value && V.value.lastPlot && V.value.lastPlot.value !== null ? (g(), f("circle", {
|
|
1456
1490
|
key: 2,
|
|
1457
1491
|
cx: V.value.lastPlot.x,
|
|
1458
1492
|
cy: V.value.lastPlot.y,
|
|
1459
1493
|
"stroke-width": "0.5",
|
|
1460
|
-
stroke:
|
|
1494
|
+
stroke: N.value,
|
|
1461
1495
|
r: "4",
|
|
1462
1496
|
fill: s.minimapLineColor
|
|
1463
|
-
}, null, 8,
|
|
1497
|
+
}, null, 8, gt)) : d("", !0),
|
|
1464
1498
|
V.value && V.value.lastPlot && V.value.lastPlot.value !== null ? (g(), f("circle", {
|
|
1465
1499
|
key: 3,
|
|
1466
1500
|
cx: V.value.lastPlot.x,
|
|
1467
1501
|
cy: V.value.lastPlot.y,
|
|
1468
1502
|
r: "2",
|
|
1469
|
-
fill:
|
|
1470
|
-
}, null, 8,
|
|
1471
|
-
])) : (g(), f("g",
|
|
1503
|
+
fill: N.value
|
|
1504
|
+
}, null, 8, _t)) : d("", !0)
|
|
1505
|
+
])) : (g(), f("g", vt, [(g(!0), f(l, null, v(H.value.filter((e) => e.type === "line"), (e, t) => (g(), f("g", { key: String(e.key) }, [
|
|
1472
1506
|
e && e.hasSelection && e.selectionSet && e.isVisible ? (g(), f("path", {
|
|
1473
1507
|
key: 0,
|
|
1474
1508
|
d: `M ${e.selectionSet}`,
|
|
@@ -1478,57 +1512,57 @@ var we = ["data-minimap"], Te = {
|
|
|
1478
1512
|
"stroke-linecap": "round",
|
|
1479
1513
|
"stroke-linejoin": "round",
|
|
1480
1514
|
"stroke-dasharray": e.dashed ? "2 4" : 0
|
|
1481
|
-
}, null, 8,
|
|
1515
|
+
}, null, 8, yt)) : d("", !0),
|
|
1482
1516
|
e.isVisible && s.cutNullValues ? (g(!0), f(l, { key: 1 }, v(e.selectionMarkers, (t) => (g(), f("circle", {
|
|
1483
1517
|
key: `sel-dot-${e.key}-${t.i}`,
|
|
1484
1518
|
cx: t.x,
|
|
1485
1519
|
cy: t.y,
|
|
1486
1520
|
r: "2.5",
|
|
1487
1521
|
fill: e.color,
|
|
1488
|
-
stroke:
|
|
1522
|
+
stroke: N.value,
|
|
1489
1523
|
"stroke-width": "0.5"
|
|
1490
|
-
}, null, 8,
|
|
1524
|
+
}, null, 8, bt))), 128)) : d("", !0),
|
|
1491
1525
|
e && e.firstPlot && e.isVisible && e.firstPlot.value !== null ? (g(), f("circle", {
|
|
1492
1526
|
key: 2,
|
|
1493
1527
|
cx: e.firstPlot.x,
|
|
1494
1528
|
cy: e.firstPlot.y,
|
|
1495
1529
|
"stroke-width": "0.5",
|
|
1496
|
-
stroke:
|
|
1530
|
+
stroke: N.value,
|
|
1497
1531
|
r: "4",
|
|
1498
1532
|
fill: e.color
|
|
1499
|
-
}, null, 8,
|
|
1533
|
+
}, null, 8, xt)) : d("", !0),
|
|
1500
1534
|
e && e.firstPlot && e.isVisible && e.firstPlot.value !== null ? (g(), f("circle", {
|
|
1501
1535
|
key: 3,
|
|
1502
1536
|
cx: e.firstPlot.x,
|
|
1503
1537
|
cy: e.firstPlot.y,
|
|
1504
1538
|
r: "2",
|
|
1505
|
-
fill:
|
|
1506
|
-
}, null, 8,
|
|
1539
|
+
fill: N.value
|
|
1540
|
+
}, null, 8, St)) : d("", !0),
|
|
1507
1541
|
e && e.lastPlot && e.isVisible && e.lastPlot.value !== null ? (g(), f("circle", {
|
|
1508
1542
|
key: 4,
|
|
1509
1543
|
cx: e.lastPlot.x,
|
|
1510
1544
|
cy: e.lastPlot.y,
|
|
1511
1545
|
"stroke-width": "0.5",
|
|
1512
|
-
stroke:
|
|
1546
|
+
stroke: N.value,
|
|
1513
1547
|
r: "4",
|
|
1514
1548
|
fill: e.color
|
|
1515
|
-
}, null, 8,
|
|
1549
|
+
}, null, 8, Ct)) : d("", !0),
|
|
1516
1550
|
e && e.lastPlot && e.isVisible && e.lastPlot.value !== null ? (g(), f("circle", {
|
|
1517
1551
|
key: 5,
|
|
1518
1552
|
cx: e.lastPlot.x,
|
|
1519
1553
|
cy: e.lastPlot.y,
|
|
1520
1554
|
r: "2",
|
|
1521
|
-
fill:
|
|
1522
|
-
}, null, 8,
|
|
1555
|
+
fill: N.value
|
|
1556
|
+
}, null, 8, wt)) : d("", !0)
|
|
1523
1557
|
]))), 128)), (g(!0), f(l, null, v(H.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", {
|
|
1524
1558
|
key: `sel-plot-${e.key}-${t.i}`,
|
|
1525
1559
|
cx: t.x,
|
|
1526
1560
|
cy: t.y,
|
|
1527
1561
|
r: "2.5",
|
|
1528
1562
|
fill: e.color,
|
|
1529
|
-
stroke:
|
|
1563
|
+
stroke: N.value,
|
|
1530
1564
|
"stroke-width": "0.5"
|
|
1531
|
-
}, null, 8,
|
|
1565
|
+
}, null, 8, Tt)) : d("", !0)]))), 256))]))), 128))]))], 64))
|
|
1532
1566
|
], 8, Oe))])) : d("", !0),
|
|
1533
1567
|
p("div", {
|
|
1534
1568
|
class: "slider-track",
|
|
@@ -1539,19 +1573,19 @@ var we = ["data-minimap"], Te = {
|
|
|
1539
1573
|
"range-highlight": !0,
|
|
1540
1574
|
move: s.enableSelectionDrag
|
|
1541
1575
|
}),
|
|
1542
|
-
onMousedown: t[
|
|
1543
|
-
onMouseup: t[
|
|
1576
|
+
onMousedown: t[14] ||= (e) => X.value = !0,
|
|
1577
|
+
onMouseup: t[15] ||= (e) => X.value = !1,
|
|
1544
1578
|
style: h({
|
|
1545
|
-
...
|
|
1579
|
+
...M.value,
|
|
1546
1580
|
cursor: X.value ? "grabbing" : "grab",
|
|
1547
1581
|
visibility: w.value && s.minimapCompact ? "hidden" : "visible"
|
|
1548
1582
|
})
|
|
1549
1583
|
}, null, 38),
|
|
1550
|
-
s.enableRangeHandles ?
|
|
1584
|
+
s.enableRangeHandles && !(w.value && s.minimapCompact) ? Se((g(), f("input", {
|
|
1551
1585
|
key: 1,
|
|
1552
1586
|
"aria-label": "range-handle-left",
|
|
1553
1587
|
ref_key: "rangeStart",
|
|
1554
|
-
ref:
|
|
1588
|
+
ref: Gn,
|
|
1555
1589
|
type: "range",
|
|
1556
1590
|
step: s.precision > 0 ? 1 / 10 ** s.precision : 1,
|
|
1557
1591
|
class: m({
|
|
@@ -1561,27 +1595,27 @@ var we = ["data-minimap"], Te = {
|
|
|
1561
1595
|
"range-invisible": w.value && s.minimapCompact
|
|
1562
1596
|
}),
|
|
1563
1597
|
min: s.min,
|
|
1564
|
-
max: s.minimapCompact && w.value && !s.useValueRange ? Math.max(0,
|
|
1598
|
+
max: s.minimapCompact && w.value && !s.useValueRange ? Math.max(0, L.value - 1) : s.max,
|
|
1565
1599
|
tabindex: w.value ? -1 : 0,
|
|
1566
|
-
"onUpdate:modelValue": t[
|
|
1567
|
-
onFocus: t[
|
|
1568
|
-
onInput: t[
|
|
1569
|
-
onChange:
|
|
1570
|
-
onKeyup:
|
|
1571
|
-
onBlur:
|
|
1572
|
-
onMouseenter: t[
|
|
1573
|
-
onPointerup:
|
|
1574
|
-
}, null, 42,
|
|
1600
|
+
"onUpdate:modelValue": t[16] ||= (e) => In.value = e,
|
|
1601
|
+
onFocus: t[17] ||= (e) => w.value && e.target.blur(),
|
|
1602
|
+
onInput: t[18] ||= (e) => In.value = e.target.valueAsNumber,
|
|
1603
|
+
onChange: A,
|
|
1604
|
+
onKeyup: Ce(A, ["enter"]),
|
|
1605
|
+
onBlur: A,
|
|
1606
|
+
onMouseenter: t[19] ||= (e) => Tr("start"),
|
|
1607
|
+
onPointerup: A
|
|
1608
|
+
}, null, 42, Et)), [[
|
|
1575
1609
|
be,
|
|
1576
|
-
|
|
1610
|
+
In.value,
|
|
1577
1611
|
void 0,
|
|
1578
1612
|
{ number: !0 }
|
|
1579
1613
|
]]) : d("", !0),
|
|
1580
|
-
s.enableRangeHandles ?
|
|
1614
|
+
s.enableRangeHandles && !(w.value && s.minimapCompact) ? Se((g(), f("input", {
|
|
1581
1615
|
key: 2,
|
|
1582
1616
|
"aria-label": "range-handle-right",
|
|
1583
1617
|
ref_key: "rangeEnd",
|
|
1584
|
-
ref:
|
|
1618
|
+
ref: Kn,
|
|
1585
1619
|
type: "range",
|
|
1586
1620
|
step: s.precision > 0 ? 1 / 10 ** s.precision : 1,
|
|
1587
1621
|
class: m({
|
|
@@ -1591,113 +1625,84 @@ var we = ["data-minimap"], Te = {
|
|
|
1591
1625
|
"range-invisible": w.value && s.minimapCompact
|
|
1592
1626
|
}),
|
|
1593
1627
|
min: s.min,
|
|
1594
|
-
max: s.minimapCompact && w.value && !s.useValueRange ? Math.max(0,
|
|
1628
|
+
max: s.minimapCompact && w.value && !s.useValueRange ? Math.max(0, L.value - 1) : s.max,
|
|
1595
1629
|
tabindex: w.value ? -1 : 0,
|
|
1596
|
-
onFocus: t[
|
|
1597
|
-
"onUpdate:modelValue": t[
|
|
1598
|
-
onInput: t[
|
|
1599
|
-
onChange:
|
|
1600
|
-
onKeyup:
|
|
1601
|
-
onBlur:
|
|
1602
|
-
onMouseenter: t[
|
|
1603
|
-
onPointerup:
|
|
1604
|
-
}, null, 42,
|
|
1630
|
+
onFocus: t[20] ||= (e) => w.value && e.target.blur(),
|
|
1631
|
+
"onUpdate:modelValue": t[21] ||= (e) => Ln.value = e,
|
|
1632
|
+
onInput: t[22] ||= (e) => Ln.value = e.target.valueAsNumber,
|
|
1633
|
+
onChange: A,
|
|
1634
|
+
onKeyup: Ce(A, ["enter"]),
|
|
1635
|
+
onBlur: A,
|
|
1636
|
+
onMouseenter: t[23] ||= (e) => Tr("end"),
|
|
1637
|
+
onPointerup: A
|
|
1638
|
+
}, null, 42, Dt)), [[
|
|
1605
1639
|
be,
|
|
1606
|
-
|
|
1640
|
+
Ln.value,
|
|
1607
1641
|
void 0,
|
|
1608
1642
|
{ number: !0 }
|
|
1609
1643
|
]]) : d("", !0),
|
|
1610
|
-
w.value && s.minimapCompact ? (g(), f("div", wt, [(g(), f("svg", {
|
|
1611
|
-
xmlns: ve(ne),
|
|
1612
|
-
viewBox: `0 0 ${Math.max(0, I.value.width)} ${Math.max(0, I.value.height + 1)}`
|
|
1613
|
-
}, [p("rect", ue({
|
|
1614
|
-
class: "vue-ui-zoom-compact-minimap-handle",
|
|
1615
|
-
x: Yr.value,
|
|
1616
|
-
y: 0,
|
|
1617
|
-
width: $.value,
|
|
1618
|
-
height: I.value.height,
|
|
1619
|
-
fill: "transparent",
|
|
1620
|
-
stroke: "none"
|
|
1621
|
-
}, zr.value, {
|
|
1622
|
-
onKeydown: t[12] ||= (e) => Rr("start", e),
|
|
1623
|
-
onMousedown: t[13] ||= Ce((e) => Kr("start", e), ["stop", "prevent"]),
|
|
1624
|
-
onClick: t[14] ||= Ce(() => {}, ["stop", "prevent"])
|
|
1625
|
-
}), null, 16, Et), p("rect", ue({
|
|
1626
|
-
class: "vue-ui-zoom-compact-minimap-handle",
|
|
1627
|
-
x: Xr.value,
|
|
1628
|
-
y: 0,
|
|
1629
|
-
width: $.value,
|
|
1630
|
-
height: I.value.height,
|
|
1631
|
-
fill: "transparent",
|
|
1632
|
-
stroke: "none",
|
|
1633
|
-
rx: 3
|
|
1634
|
-
}, Br.value, {
|
|
1635
|
-
onKeydown: t[15] ||= (e) => Rr("end", e),
|
|
1636
|
-
onMousedown: t[16] ||= Ce((e) => Kr("end", e), ["stop", "prevent"]),
|
|
1637
|
-
onClick: t[17] ||= Ce(() => {}, ["stop", "prevent"])
|
|
1638
|
-
}), null, 16, Dt)], 8, Tt))])) : d("", !0),
|
|
1639
1644
|
Q.value.left ? (g(), f("div", {
|
|
1640
|
-
key:
|
|
1645
|
+
key: 3,
|
|
1641
1646
|
ref_key: "tooltipLeft",
|
|
1642
|
-
ref:
|
|
1647
|
+
ref: vr,
|
|
1643
1648
|
class: m({
|
|
1644
1649
|
"range-tooltip": !0,
|
|
1645
1650
|
"range-tooltip-visible": Z.value,
|
|
1646
|
-
"range-tooltip-arrow":
|
|
1647
|
-
"range-tooltip-arrow-left": !
|
|
1651
|
+
"range-tooltip-arrow": M.value.arrowLeft && !s.verticalHandles,
|
|
1652
|
+
"range-tooltip-arrow-left": !M.value.arrowLeft && !s.verticalHandles
|
|
1648
1653
|
}),
|
|
1649
1654
|
style: h({
|
|
1650
|
-
left:
|
|
1655
|
+
left: M.value.tooltipLeft,
|
|
1651
1656
|
color: ve(te)(s.selectColor),
|
|
1652
1657
|
backgroundColor: s.selectColor,
|
|
1653
|
-
border: `1px solid ${
|
|
1654
|
-
zIndex: `${
|
|
1655
|
-
visibility:
|
|
1658
|
+
border: `1px solid ${N.value}`,
|
|
1659
|
+
zIndex: `${wr.value + 4}`,
|
|
1660
|
+
visibility: Er.value || Q.value.left === Q.value.right ? "hidden" : "visible",
|
|
1656
1661
|
top: w.value && s.minimapCompact ? "calc(-100% - 12px)" : "-100%"
|
|
1657
1662
|
})
|
|
1658
1663
|
}, _e(Q.value.left), 7)) : d("", !0),
|
|
1659
|
-
(
|
|
1660
|
-
key:
|
|
1664
|
+
(Er.value || Q.value.left === Q.value.right) && (Q.value.left || Q.value.right) ? (g(), f("div", {
|
|
1665
|
+
key: 4,
|
|
1661
1666
|
ref: "tooltipMerge",
|
|
1662
1667
|
class: m({
|
|
1663
1668
|
"range-tooltip": !0,
|
|
1664
1669
|
"range-tooltip-visible": Z.value,
|
|
1665
1670
|
"range-tooltip-arrow": !0,
|
|
1666
|
-
"range-tooltip-arrow-left": !
|
|
1667
|
-
"range-tooltip-arrow-right": !
|
|
1671
|
+
"range-tooltip-arrow-left": !M.value.arrowLeft && !s.verticalHandles,
|
|
1672
|
+
"range-tooltip-arrow-right": !M.value.arrowRight && !s.verticalHandles
|
|
1668
1673
|
}),
|
|
1669
1674
|
style: h({
|
|
1670
|
-
left:
|
|
1671
|
-
width:
|
|
1675
|
+
left: M.value.tooltipCenter,
|
|
1676
|
+
width: Dr.value.width + "px",
|
|
1672
1677
|
color: ve(te)(s.selectColor),
|
|
1673
1678
|
backgroundColor: s.selectColor,
|
|
1674
|
-
border: `1px solid ${
|
|
1679
|
+
border: `1px solid ${N.value}`,
|
|
1675
1680
|
zIndex: "4",
|
|
1676
1681
|
top: w.value && s.minimapCompact ? "calc(-100% - 12px)" : "-100%"
|
|
1677
1682
|
})
|
|
1678
1683
|
}, _e(Q.value.left === Q.value.right ? Q.value.left : `${Q.value.left} - ${Q.value.right}`), 7)) : d("", !0),
|
|
1679
1684
|
Q.value.right ? (g(), f("div", {
|
|
1680
|
-
key:
|
|
1685
|
+
key: 5,
|
|
1681
1686
|
ref_key: "tooltipRight",
|
|
1682
|
-
ref:
|
|
1687
|
+
ref: yr,
|
|
1683
1688
|
class: m({
|
|
1684
1689
|
"range-tooltip": !0,
|
|
1685
1690
|
"range-tooltip-visible": Z.value,
|
|
1686
|
-
"range-tooltip-arrow":
|
|
1687
|
-
"range-tooltip-arrow-right": !
|
|
1691
|
+
"range-tooltip-arrow": M.value.arrowRight && !s.verticalHandles,
|
|
1692
|
+
"range-tooltip-arrow-right": !M.value.arrowRight && !s.verticalHandles
|
|
1688
1693
|
}),
|
|
1689
1694
|
style: h({
|
|
1690
|
-
left:
|
|
1695
|
+
left: M.value.tooltipRight,
|
|
1691
1696
|
color: ve(te)(s.selectColor),
|
|
1692
1697
|
backgroundColor: s.selectColor,
|
|
1693
|
-
border: `1px solid ${
|
|
1698
|
+
border: `1px solid ${N.value}`,
|
|
1694
1699
|
zIndex: "4",
|
|
1695
|
-
visibility:
|
|
1700
|
+
visibility: Er.value || Q.value.left === Q.value.right ? "hidden" : "visible",
|
|
1696
1701
|
top: w.value && s.minimapCompact ? "calc(-100% - 12px)" : "-100%"
|
|
1697
1702
|
})
|
|
1698
1703
|
}, _e(Q.value.right), 7)) : d("", !0)
|
|
1699
1704
|
], 36)], 44, we));
|
|
1700
1705
|
}
|
|
1701
|
-
}, [["__scopeId", "data-v-
|
|
1706
|
+
}, [["__scopeId", "data-v-cb690903"]]);
|
|
1702
1707
|
//#endregion
|
|
1703
|
-
export {
|
|
1708
|
+
export { At as t };
|