vue-data-ui 3.16.4 → 3.17.0
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/README.md +64 -46
- package/dist/{PackageVersion-1BHnPIBZ.js → PackageVersion-B3kmPxTR.js} +1 -1
- package/dist/{Slicer-DUycDH_N.js → Slicer-CIHwwuNR.js} +107 -110
- package/dist/SlicerPreview-BIvxyb5W.js +1484 -0
- package/dist/{Tooltip-Bf-kM3_A.js → Tooltip-C8KGyqQk.js} +19 -17
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-bump.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +1 -1
- package/dist/{useConfig-CpJA0VZa.js → useConfig-ChRble71.js} +1 -0
- package/dist/{useObjectBindings-DToqZaRC.js → useObjectBindings-BVFCsss5.js} +1 -1
- package/dist/utils.js +1 -1
- package/dist/{vue-data-ui-D28lrXzG.js → vue-data-ui-BX3I-ZQt.js} +67 -67
- package/dist/vue-data-ui.js +68 -68
- package/dist/{vue-ui-3d-bar-BOrQb1Zm.js → vue-ui-3d-bar-DsSxN6Xl.js} +2 -2
- package/dist/{vue-ui-accordion-BF4v32wv.js → vue-ui-accordion-CnDW2UQL.js} +1 -1
- package/dist/{vue-ui-age-pyramid-txthNdz1.js → vue-ui-age-pyramid-DgAJXx1F.js} +112 -109
- package/dist/{vue-ui-annotator-U961V1Kc.js → vue-ui-annotator-BA4hRkfX.js} +2 -2
- package/dist/{vue-ui-bullet-BboXC-yM.js → vue-ui-bullet-BCuT1zVr.js} +2 -2
- package/dist/{vue-ui-bump-oRhoxgeR.js → vue-ui-bump-BTnwgB5Q.js} +2 -2
- package/dist/{vue-ui-candlestick-RAgVO1Hl.js → vue-ui-candlestick-BMvM7WIc.js} +148 -145
- package/dist/{vue-ui-carousel-table-BFqP05En.js → vue-ui-carousel-table-DCtWIG49.js} +2 -2
- package/dist/{vue-ui-chestnut-ComiA10N.js → vue-ui-chestnut-DJ0R3Aqx.js} +2 -2
- package/dist/{vue-ui-chord-D9dLOTr5.js → vue-ui-chord-BbWToSBq.js} +2 -2
- package/dist/{vue-ui-circle-pack-pqOFrf-X.js → vue-ui-circle-pack-CwuEfQPE.js} +117 -114
- package/dist/{vue-ui-cursor-BmAytuMu.js → vue-ui-cursor-C4MnK_CE.js} +2 -2
- package/dist/{vue-ui-dag-CuJNCfFw.js → vue-ui-dag-HKbeFOit.js} +2 -2
- package/dist/{vue-ui-dashboard-DDuu-xwh.js → vue-ui-dashboard-DTYz-idn.js} +65 -65
- package/dist/{vue-ui-digits-DYKnwhao.js → vue-ui-digits-CrFH4BlD.js} +2 -2
- package/dist/{vue-ui-donut-CbD2wI-a.js → vue-ui-donut-B1C7vzFY.js} +100 -97
- package/dist/{vue-ui-donut-evolution-BdA0k4Eg.js → vue-ui-donut-evolution-BUIQwZ-c.js} +3 -3
- package/dist/{vue-ui-dumbbell-CPbXszE_.js → vue-ui-dumbbell-Bq-X5L24.js} +2 -2
- package/dist/{vue-ui-flow-RyxU8f22.js → vue-ui-flow-DUn9hp_J.js} +141 -138
- package/dist/{vue-ui-funnel-Cda_iN_h.js → vue-ui-funnel-CNF2ULOQ.js} +2 -2
- package/dist/{vue-ui-galaxy-BNUPKqkV.js → vue-ui-galaxy-BzlU9OSU.js} +75 -72
- package/dist/{vue-ui-gauge-CihaQBsc.js → vue-ui-gauge-aF_V6ynK.js} +2 -2
- package/dist/{vue-ui-geo-Da95dDom.js → vue-ui-geo-xaZvHjAP.js} +116 -113
- package/dist/{vue-ui-gizmo-DzHN0cW5.js → vue-ui-gizmo-BGvS_AHj.js} +2 -2
- package/dist/{vue-ui-heatmap-DqQiO1Oz.js → vue-ui-heatmap-B_BmpyVy.js} +191 -188
- package/dist/{vue-ui-history-plot-DqeaH_61.js → vue-ui-history-plot-DsoLp3aL.js} +124 -121
- package/dist/{vue-ui-horizontal-bar-CX6TPm9_.js → vue-ui-horizontal-bar-JVjE88ZW.js} +218 -215
- package/dist/{vue-ui-kpi-OxZqguE4.js → vue-ui-kpi-B-v1zpd4.js} +2 -2
- package/dist/{vue-ui-mini-loader-DSQ9kcmW.js → vue-ui-mini-loader-CPfZsqWP.js} +1 -1
- package/dist/{vue-ui-molecule-CTm126iW.js → vue-ui-molecule-Di9_wsME.js} +61 -58
- package/dist/{vue-ui-mood-radar-C0E6bq6E.js → vue-ui-mood-radar-CetQpdnu.js} +2 -2
- package/dist/{vue-ui-nested-donuts-Bh0ZICKK.js → vue-ui-nested-donuts-Y-UMjjYV.js} +131 -128
- package/dist/{vue-ui-onion-QsjwjlCa.js → vue-ui-onion-MM3QZLzF.js} +142 -139
- package/dist/{vue-ui-parallel-coordinate-plot-wJcWVLAC.js → vue-ui-parallel-coordinate-plot-CcHmB0MQ.js} +91 -88
- package/dist/{vue-ui-quadrant-lJ7T6q87.js → vue-ui-quadrant-CQIMUggy.js} +58 -55
- package/dist/{vue-ui-quick-chart-CEMQYbSC.js → vue-ui-quick-chart-lwGufdDj.js} +235 -232
- package/dist/{vue-ui-radar-d7b-Y40r.js → vue-ui-radar-CS74L65M.js} +117 -114
- package/dist/{vue-ui-rating-hudM2QS0.js → vue-ui-rating-DiLLVHq3.js} +1 -1
- package/dist/{vue-ui-relation-circle-_PoDqM8x.js → vue-ui-relation-circle-D3dO8RTC.js} +2 -2
- package/dist/{vue-ui-ridgeline-BU_EA8-u.js → vue-ui-ridgeline-Dpvq9yp2.js} +2 -2
- package/dist/{vue-ui-rings-BQKtt-FQ.js → vue-ui-rings-D-45pPpZ.js} +122 -119
- package/dist/{vue-ui-scatter-Bh95G7ZD.js → vue-ui-scatter-BzCjfGB9.js} +121 -118
- package/dist/{vue-ui-skeleton-BIw-u4zp.js → vue-ui-skeleton-Dai-bZZw.js} +2 -2
- package/dist/{vue-ui-smiley-CQ_rGHFe.js → vue-ui-smiley-BioqmYwT.js} +1 -1
- package/dist/{vue-ui-spark-trend-D4QxExdm.js → vue-ui-spark-trend-DiC9V0VU.js} +2 -2
- package/dist/{vue-ui-sparkbar-BmiEOs4E.js → vue-ui-sparkbar-D6EsbW6u.js} +2 -2
- package/dist/{vue-ui-sparkgauge-hwEkTICS.js → vue-ui-sparkgauge-BHDXZgJH.js} +2 -2
- package/dist/{vue-ui-sparkhistogram-DEkO_5i3.js → vue-ui-sparkhistogram-DzuOjuNH.js} +2 -2
- package/dist/{vue-ui-sparkline-DFnG0CrA.js → vue-ui-sparkline-B-zOqzrC.js} +288 -276
- package/dist/{vue-ui-sparkstackbar-CQqUPbkU.js → vue-ui-sparkstackbar-bqKzIKSg.js} +147 -144
- package/dist/{vue-ui-stackbar-BcP_TA9R.js → vue-ui-stackbar-DPfxqQUG.js} +435 -424
- package/dist/{vue-ui-stackline-Bnuj-z-G.js → vue-ui-stackline-Ctqe1OuF.js} +627 -609
- package/dist/{vue-ui-strip-plot-B-tszwir.js → vue-ui-strip-plot-Dg2URhvc.js} +72 -69
- package/dist/{vue-ui-table-heatmap-DU7w6PrX.js → vue-ui-table-heatmap-Da6sqBlI.js} +1 -1
- package/dist/{vue-ui-table-sparkline-DHjZyVAg.js → vue-ui-table-sparkline-Bkv6Qz6V.js} +2 -2
- package/dist/{vue-ui-table-BVQyX-Yx.js → vue-ui-table-xrD-xqis.js} +3 -3
- package/dist/{vue-ui-thermometer-ZED83TXZ.js → vue-ui-thermometer-D7VVeA2i.js} +2 -2
- package/dist/{vue-ui-timer-Xg7H9EaE.js → vue-ui-timer-D7XYgZfb.js} +2 -2
- package/dist/{vue-ui-tiremarks-BDoU-BcX.js → vue-ui-tiremarks-i6e8GTI9.js} +2 -2
- package/dist/{vue-ui-treemap-BcS1k9hJ.js → vue-ui-treemap-D8Mbfeuc.js} +220 -217
- package/dist/{vue-ui-waffle-CSvzbC5u.js → vue-ui-waffle-7rVD530d.js} +123 -120
- package/dist/{vue-ui-wheel-BrLKEar8.js → vue-ui-wheel-HQNWtsvJ.js} +2 -2
- package/dist/{vue-ui-word-cloud-D05ZR0u7.js → vue-ui-word-cloud-DFAEbzUa.js} +159 -156
- package/dist/{vue-ui-world-CtPJIK5c.js → vue-ui-world-YvmrdfIm.js} +86 -83
- package/dist/vue-ui-xy-canvas-CEaAQ_tr.js +1819 -0
- package/dist/{vue-ui-xy-5mNo0EDu.js → vue-ui-xy-n4juEarQ.js} +402 -398
- package/package.json +1 -1
- package/dist/SlicerPreview-DTjwV0iY.js +0 -1372
- package/dist/vue-ui-xy-canvas-CaoWw3AU.js +0 -1810
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { useCssVars as Ot, ref as m, computed as s, onMounted as lt, onBeforeUnmount as
|
|
2
|
-
import { j as qt, X as Kt, W as
|
|
1
|
+
import { useCssVars as Ot, ref as m, computed as s, onMounted as lt, onBeforeUnmount as $e, watch as U, nextTick as ve, onUpdated as jt, openBlock as i, createElementBlock as o, normalizeStyle as P, createElementVNode as L, renderSlot as Ut, createVNode as Zt, createCommentVNode as c, unref as de, Fragment as b, renderList as $, normalizeProps as Yt, mergeProps as Jt, normalizeClass as Z, withDirectives as at, vModelText as nt, toDisplayString as Ae } from "vue";
|
|
2
|
+
import { j as qt, X as Kt, W as Re, L as it, c as ot, M as ut, b as rt, av as st } from "./lib-DBptbyyI.js";
|
|
3
3
|
import { t as ct, u as Qt, d as _t } from "./useResponsive-DfdjqQps.js";
|
|
4
4
|
import el from "./BaseIcon-Cb3zzG6s.js";
|
|
5
5
|
import { _ as tl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -8,12 +8,12 @@ const ll = ["data-minimap"], al = {
|
|
|
8
8
|
style: { position: "relative", "z-index": "1", "pointer-events": "none" }
|
|
9
9
|
}, nl = {
|
|
10
10
|
key: 0,
|
|
11
|
-
style: { width: "100%", position: "relative" }
|
|
11
|
+
style: { width: "100%", position: "relative", "pointer-events": "all" }
|
|
12
12
|
}, il = {
|
|
13
13
|
key: 0,
|
|
14
14
|
class: "minimap",
|
|
15
15
|
style: { width: "100%" }
|
|
16
|
-
}, ol = ["xmlns", "viewBox"], ul = ["id"], rl = ["stop-color"], sl = ["width", "height", "stroke"], cl = ["d", "stroke"], vl = ["x", "width", "y", "height", "fill"], dl = ["d", "stroke"], hl = ["cx", "cy", "fill", "stroke"], ml = ["x", "width", "height", "fill", "rx"], fl = ["x", "width", "height", "rx", "fill"], gl = ["x", "width", "height", "fill", "rx"], yl = ["x2", "y1", "y2", "stroke"], xl = ["d", "fill"], Ml = ["d", "stroke"], kl = { key: 6 }, bl = ["x", "width", "y", "height", "fill"], wl = ["d", "stroke"], Cl = ["x", "width", "height", "fill", "stroke", "stroke-width"],
|
|
16
|
+
}, ol = ["xmlns", "viewBox"], ul = ["id"], rl = ["stop-color"], sl = ["width", "height", "stroke"], cl = ["d", "stroke"], vl = ["x", "width", "y", "height", "fill"], dl = ["d", "stroke"], hl = ["cx", "cy", "fill", "stroke"], ml = ["x", "width", "height", "fill", "rx"], fl = ["x", "width", "height", "rx", "fill"], gl = ["x", "width", "height", "fill", "rx"], yl = ["x2", "y1", "y2", "stroke"], xl = ["d", "fill"], Ml = ["d", "stroke"], kl = { key: 6 }, bl = ["x", "width", "y", "height", "fill"], wl = ["d", "stroke"], Cl = ["x", "width", "height", "fill", "stroke", "stroke-width"], pl = ["x", "width", "height"], Sl = ["fill", "stroke"], Ll = ["stroke"], Pl = ["fill"], Nl = ["x", "width", "height", "fill", "stroke", "stroke-width"], $l = ["x", "width", "height"], Al = ["fill", "stroke"], Rl = ["stroke"], Tl = ["fill"], El = ["cx", "cy", "stroke", "fill"], Bl = ["cx", "cy", "fill"], Wl = ["cx", "cy", "stroke", "fill"], Il = ["cx", "cy", "fill"], Fl = { key: 12 }, Vl = ["cx", "cy", "fill", "stroke"], Dl = ["cx", "cy", "stroke", "fill"], zl = ["cx", "cy", "fill"], Hl = ["cx", "cy", "stroke", "fill"], Xl = ["cx", "cy", "fill"], Gl = ["height", "x", "width", "onMouseenter"], Ol = ["min", "max"], jl = ["min", "max"], Te = 48, Ul = {
|
|
17
17
|
__name: "Slicer",
|
|
18
18
|
props: {
|
|
19
19
|
background: {
|
|
@@ -190,37 +190,37 @@ const ll = ["data-minimap"], al = {
|
|
|
190
190
|
emits: ["update:start", "update:end", "reset", "trapMouse"],
|
|
191
191
|
setup(l, { expose: vt, emit: dt }) {
|
|
192
192
|
Ot((e) => ({
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
193
|
+
v10cfc024: gt.value,
|
|
194
|
+
ae756ed0: g.value,
|
|
195
|
+
v7c350409: xt.value,
|
|
196
|
+
ee0aec70: l.selectColor,
|
|
197
|
+
v08c4d056: yt.value
|
|
198
198
|
}));
|
|
199
|
-
const n = l, C = m(null),
|
|
199
|
+
const n = l, C = m(null), p = m(n.min), S = m(n.max), M = s(() => !!n.allMinimaps.length), Ee = m(qt()), A = s(() => M.value && n.minimapCompact), he = m(0);
|
|
200
200
|
lt(() => {
|
|
201
201
|
const e = () => {
|
|
202
202
|
C.value && (he.value = C.value.getBoundingClientRect().width);
|
|
203
203
|
};
|
|
204
204
|
e();
|
|
205
205
|
const a = ct(e, 50);
|
|
206
|
-
window.addEventListener("resize", a),
|
|
206
|
+
window.addEventListener("resize", a), $e(() => {
|
|
207
207
|
window.removeEventListener("resize", a);
|
|
208
208
|
});
|
|
209
209
|
});
|
|
210
210
|
const ht = s(() => n.refreshEndPoint === null ? n.max : n.refreshEndPoint), Y = dt, J = s(() => {
|
|
211
|
-
if (
|
|
211
|
+
if (A.value) {
|
|
212
212
|
const a = Math.max(1, oe.value - 1);
|
|
213
213
|
return xe.value / a * 100;
|
|
214
214
|
}
|
|
215
215
|
const e = Math.max(1, n.max - n.min);
|
|
216
|
-
return (
|
|
216
|
+
return (p.value - n.min) / e * 100;
|
|
217
217
|
}), re = s(() => {
|
|
218
|
-
if (
|
|
218
|
+
if (A.value) {
|
|
219
219
|
const a = Math.max(1, oe.value - 1);
|
|
220
220
|
return Me.value / a * 100;
|
|
221
221
|
}
|
|
222
222
|
const e = Math.max(1, n.max - n.min);
|
|
223
|
-
return (
|
|
223
|
+
return (S.value - n.min) / e * 100;
|
|
224
224
|
}), me = s(() => (J.value + re.value) / 2), fe = s(() => {
|
|
225
225
|
if (!C.value) return !1;
|
|
226
226
|
const e = C.value.getBoundingClientRect().width;
|
|
@@ -250,29 +250,29 @@ const ll = ["data-minimap"], al = {
|
|
|
250
250
|
}
|
|
251
251
|
const mt = (e) => Math.floor(n.min + e), ft = (e) => Math.ceil(n.min + e), xe = s({
|
|
252
252
|
get() {
|
|
253
|
-
return
|
|
253
|
+
return A.value ? se(F.value) : Number(p.value);
|
|
254
254
|
},
|
|
255
255
|
set(e) {
|
|
256
|
-
if (
|
|
256
|
+
if (A.value) {
|
|
257
257
|
const a = Math.round(+e || 0), t = Math.max(0, se(Math.max(0, H.value - 1))), u = Math.min(Math.max(0, a), t), r = Be(u);
|
|
258
258
|
_(mt(r));
|
|
259
259
|
} else {
|
|
260
260
|
let a = Math.round(+e || 0);
|
|
261
|
-
const t = Number(
|
|
261
|
+
const t = Number(S.value) - 1, u = Math.min(Math.max(n.min, a), t);
|
|
262
262
|
_(u);
|
|
263
263
|
}
|
|
264
264
|
}
|
|
265
265
|
}), Me = s({
|
|
266
266
|
get() {
|
|
267
|
-
return
|
|
267
|
+
return A.value ? se(Math.max(F.value, H.value - 1)) : Number(S.value);
|
|
268
268
|
},
|
|
269
269
|
set(e) {
|
|
270
|
-
if (
|
|
270
|
+
if (A.value) {
|
|
271
271
|
const a = Math.round(+e || 0), t = se(F.value), u = Math.max(a, t), r = Be(u);
|
|
272
272
|
ee(ft(r + 1));
|
|
273
273
|
} else {
|
|
274
274
|
let a = Math.round(+e || 0);
|
|
275
|
-
const t = Number(
|
|
275
|
+
const t = Number(p.value) + 1, u = Math.max(t, Math.min(a, n.max));
|
|
276
276
|
ee(u);
|
|
277
277
|
}
|
|
278
278
|
}
|
|
@@ -288,12 +288,12 @@ const ll = ["data-minimap"], al = {
|
|
|
288
288
|
U(
|
|
289
289
|
() => n.min,
|
|
290
290
|
(e) => {
|
|
291
|
-
Number(
|
|
291
|
+
Number(p.value) < Number(e) && (p.value = Number(e)), Number(S.value) < Number(e) && (S.value = Number(e));
|
|
292
292
|
}
|
|
293
293
|
), U(
|
|
294
294
|
() => n.max,
|
|
295
295
|
(e) => {
|
|
296
|
-
Number(
|
|
296
|
+
Number(p.value) > Number(e) && (p.value = Number(e)), Number(S.value) > Number(e) && (S.value = Number(e));
|
|
297
297
|
}
|
|
298
298
|
);
|
|
299
299
|
const ke = m(null), f = m({
|
|
@@ -310,7 +310,7 @@ const ll = ["data-minimap"], al = {
|
|
|
310
310
|
});
|
|
311
311
|
O.value = new ResizeObserver(e), O.value.observe(ke.value);
|
|
312
312
|
}
|
|
313
|
-
}),
|
|
313
|
+
}), $e(() => {
|
|
314
314
|
O.value && O.value.disconnect();
|
|
315
315
|
});
|
|
316
316
|
const K = s(() => Math.max(...n.allMinimaps.map((e) => e.series.length), n.minimap.length || 0)), k = s(() => {
|
|
@@ -414,33 +414,33 @@ const ll = ["data-minimap"], al = {
|
|
|
414
414
|
x: k.value * e + (n.minimapCompact ? 0 : k.value / 2),
|
|
415
415
|
width: k.value * (a - e) - k.value
|
|
416
416
|
};
|
|
417
|
-
}),
|
|
418
|
-
function
|
|
419
|
-
|
|
417
|
+
}), R = m(n.minimapSelectedIndex);
|
|
418
|
+
function pt(e) {
|
|
419
|
+
R.value = _e(n.valueStart) + e;
|
|
420
420
|
}
|
|
421
|
-
const
|
|
421
|
+
const St = _t(pt, 60);
|
|
422
422
|
U(() => n.minimapSelectedIndex, (e, a) => {
|
|
423
423
|
if ([null, void 0].includes(e)) {
|
|
424
|
-
|
|
424
|
+
R.value = null;
|
|
425
425
|
return;
|
|
426
426
|
}
|
|
427
|
-
e !== a &&
|
|
427
|
+
e !== a && St(e);
|
|
428
428
|
}, { immediate: !0 });
|
|
429
429
|
function Lt(e) {
|
|
430
|
-
|
|
430
|
+
R.value = e;
|
|
431
431
|
const a = F.value, t = H.value;
|
|
432
432
|
e >= a && e < t && !I.value && Y("trapMouse", e - a);
|
|
433
433
|
}
|
|
434
434
|
const we = m(null), Ce = m(null);
|
|
435
435
|
function _(e) {
|
|
436
|
-
|
|
436
|
+
p.value = e, we.value && (we.value.value = e), Y("update:start", Number(p.value));
|
|
437
437
|
}
|
|
438
438
|
function ee(e) {
|
|
439
|
-
|
|
439
|
+
S.value = e, Ce.value && (Ce.value.value = e), Y("update:end", Number(S.value));
|
|
440
440
|
}
|
|
441
|
-
const
|
|
441
|
+
const pe = s(() => n.valueEnd - n.valueStart), Pt = s(() => pe.value < n.max - n.min), te = m(!1);
|
|
442
442
|
let Nt = m(null);
|
|
443
|
-
const
|
|
443
|
+
const $t = s(() => (he.value - 48) / (n.max - n.min) * pe.value), At = s(() => Math.max(1, he.value - Te - $t.value)), Rt = s(() => Math.max(1, n.max - n.min - pe.value)), Tt = s(() => Rt.value / At.value), Ge = m(0), Se = m(0), Oe = m(0), Et = m(0);
|
|
444
444
|
let T = null, E = null, B = null, W = null;
|
|
445
445
|
const je = m(n.min);
|
|
446
446
|
function Le(e) {
|
|
@@ -464,7 +464,7 @@ const ll = ["data-minimap"], al = {
|
|
|
464
464
|
const Ne = Math.min(n.max, X + d);
|
|
465
465
|
_(X), ee(Ne), st(C.value, "mouseup"), await ve(), st(C.value, "mousedown", { clientX: r });
|
|
466
466
|
}
|
|
467
|
-
|
|
467
|
+
Se.value = Number(p.value), Oe.value = Number(S.value), Et.value = Tt.value, T = a ? "touchmove" : "mousemove", E = a ? "touchend" : "mouseup", B = a ? Wt : Bt, W = a ? Ft : It, window.addEventListener(T, B, { passive: !1 }), window.addEventListener(E, W);
|
|
468
468
|
};
|
|
469
469
|
function Bt(e) {
|
|
470
470
|
te.value && Ze(e.clientX);
|
|
@@ -479,8 +479,8 @@ const ll = ["data-minimap"], al = {
|
|
|
479
479
|
}
|
|
480
480
|
function Ze(e) {
|
|
481
481
|
if (!te.value) return;
|
|
482
|
-
const a = Le(Ge.value), u = Le(e) - a, r = Math.max(1, Oe.value -
|
|
483
|
-
let h = Math.round(
|
|
482
|
+
const a = Le(Ge.value), u = Le(e) - a, r = Math.max(1, Oe.value - Se.value);
|
|
483
|
+
let h = Math.round(Se.value + u);
|
|
484
484
|
const x = n.min, d = n.max - r;
|
|
485
485
|
h < x && (h = x), h > d && (h = d);
|
|
486
486
|
const V = h + r;
|
|
@@ -510,7 +510,7 @@ const ll = ["data-minimap"], al = {
|
|
|
510
510
|
width: 0,
|
|
511
511
|
left: 0
|
|
512
512
|
});
|
|
513
|
-
U([
|
|
513
|
+
U([p, S], async () => {
|
|
514
514
|
if (await ve(), !le.value || !ae.value) {
|
|
515
515
|
ne.value = !1, ie.value = { width: 0, left: 0 };
|
|
516
516
|
return;
|
|
@@ -539,7 +539,7 @@ const ll = ["data-minimap"], al = {
|
|
|
539
539
|
), vt({
|
|
540
540
|
setStartValue: _,
|
|
541
541
|
setEndValue: ee
|
|
542
|
-
}),
|
|
542
|
+
}), $e(() => {
|
|
543
543
|
O.value && O.value.disconnect(), T && B && window.removeEventListener(T, B), E && W && window.removeEventListener(E, W), T = E = null, B = W = null;
|
|
544
544
|
});
|
|
545
545
|
const oe = s(() => Math.max(1, n.max - n.min));
|
|
@@ -551,10 +551,10 @@ const ll = ["data-minimap"], al = {
|
|
|
551
551
|
const a = Math.ceil(e - n.min);
|
|
552
552
|
return Math.min(Math.max(0, a), oe.value);
|
|
553
553
|
}
|
|
554
|
-
const F = s(() => _e(
|
|
554
|
+
const F = s(() => _e(p.value)), H = s(() => Vt(S.value)), Dt = s(() => {
|
|
555
555
|
if (!We.value.length) return null;
|
|
556
|
-
if (
|
|
557
|
-
const e =
|
|
556
|
+
if (R.value >= F.value && R.value < H.value) {
|
|
557
|
+
const e = R.value;
|
|
558
558
|
return {
|
|
559
559
|
x1: k.value * e + (n.minimapCompact ? 0 : k.value / 2),
|
|
560
560
|
x2: k.value * e + (n.minimapCompact ? 0 : k.value / 2),
|
|
@@ -571,7 +571,7 @@ const ll = ["data-minimap"], al = {
|
|
|
571
571
|
return (e, a) => (i(), o("div", {
|
|
572
572
|
"data-minimap": M.value,
|
|
573
573
|
"data-dom-to-png-ignore": "",
|
|
574
|
-
style:
|
|
574
|
+
style: P([{ padding: "0 48px" }, {
|
|
575
575
|
maxWidth: l.maxWidth ? l.maxWidth + "px" : void 0,
|
|
576
576
|
margin: l.maxWidth ? "0 auto" : void 0
|
|
577
577
|
}]),
|
|
@@ -582,35 +582,32 @@ const ll = ["data-minimap"], al = {
|
|
|
582
582
|
onTouchstart: Ue,
|
|
583
583
|
onTouchend: a[11] || (a[11] = (t) => z.value = !1)
|
|
584
584
|
}, [
|
|
585
|
-
|
|
585
|
+
L("div", al, [
|
|
586
586
|
l.valueStart !== l.refreshStartPoint || l.valueEnd !== ht.value ? (i(), o("div", nl, [
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
stroke: l.textColor
|
|
605
|
-
}, null, 8, ["stroke"])
|
|
606
|
-
], 4))
|
|
587
|
+
Ut(e.$slots, "reset-action", { reset: Ie }, () => [
|
|
588
|
+
L("button", {
|
|
589
|
+
tabindex: "0",
|
|
590
|
+
role: "button",
|
|
591
|
+
class: "vue-data-ui-refresh-button",
|
|
592
|
+
style: P({
|
|
593
|
+
top: M.value ? "36px" : "-16px",
|
|
594
|
+
cursor: l.isCursorPointer ? "pointer" : "default"
|
|
595
|
+
}),
|
|
596
|
+
onClick: Ie
|
|
597
|
+
}, [
|
|
598
|
+
Zt(el, {
|
|
599
|
+
name: "refresh",
|
|
600
|
+
stroke: l.textColor
|
|
601
|
+
}, null, 8, ["stroke"])
|
|
602
|
+
], 4)
|
|
603
|
+
], !0)
|
|
607
604
|
])) : c("", !0)
|
|
608
605
|
]),
|
|
609
|
-
|
|
606
|
+
L("div", {
|
|
610
607
|
class: "double-range-slider",
|
|
611
608
|
ref_key: "minimapWrapper",
|
|
612
609
|
ref: ke,
|
|
613
|
-
style:
|
|
610
|
+
style: P([{ "z-index": "0" }, M.value ? {
|
|
614
611
|
"--minimap-unit-px": k.value + "px",
|
|
615
612
|
"--minimap-offset-px": (l.minimapCompact ? 0 : k.value / 2) + "px"
|
|
616
613
|
} : void 0]),
|
|
@@ -623,19 +620,19 @@ const ll = ["data-minimap"], al = {
|
|
|
623
620
|
xmlns: de(Kt),
|
|
624
621
|
viewBox: `0 0 ${Math.max(0, f.value.width)} ${Math.max(0, f.value.height)}`
|
|
625
622
|
}, [
|
|
626
|
-
|
|
627
|
-
|
|
623
|
+
L("defs", null, [
|
|
624
|
+
L("linearGradient", {
|
|
628
625
|
id: Ee.value,
|
|
629
626
|
x1: "0%",
|
|
630
627
|
y1: "0%",
|
|
631
628
|
x2: "0%",
|
|
632
629
|
y2: "100%"
|
|
633
630
|
}, [
|
|
634
|
-
|
|
631
|
+
L("stop", {
|
|
635
632
|
offset: "0%",
|
|
636
633
|
"stop-color": `${l.minimapLineColor}50`
|
|
637
634
|
}, null, 8, rl),
|
|
638
|
-
a[12] || (a[12] =
|
|
635
|
+
a[12] || (a[12] = L("stop", {
|
|
639
636
|
offset: "100%",
|
|
640
637
|
"stop-color": "transparent"
|
|
641
638
|
}, null, -1))
|
|
@@ -662,8 +659,8 @@ const ll = ["data-minimap"], al = {
|
|
|
662
659
|
"stroke-linejoin": "round",
|
|
663
660
|
style: { opacity: "0.6" }
|
|
664
661
|
}, null, 8, cl)) : (i(), o(b, { key: 2 }, [
|
|
665
|
-
(i(!0), o(b, null,
|
|
666
|
-
(i(!0), o(b, null,
|
|
662
|
+
(i(!0), o(b, null, $(Q.value.filter((t) => t.type === "bar"), (t, u) => (i(), o("g", null, [
|
|
663
|
+
(i(!0), o(b, null, $(t.points, (r, h) => (i(), o(b, null, [
|
|
667
664
|
t.isVisible && !isNaN(r.y) ? (i(), o("rect", {
|
|
668
665
|
key: 0,
|
|
669
666
|
x: ze(r.x, u, h),
|
|
@@ -675,7 +672,7 @@ const ll = ["data-minimap"], al = {
|
|
|
675
672
|
}, null, 8, vl)) : c("", !0)
|
|
676
673
|
], 64))), 256))
|
|
677
674
|
]))), 256)),
|
|
678
|
-
(i(!0), o(b, null,
|
|
675
|
+
(i(!0), o(b, null, $(Q.value.filter((t) => t.type === "line"), (t) => (i(), o("g", {
|
|
679
676
|
key: String(t.key)
|
|
680
677
|
}, [
|
|
681
678
|
t.isVisible ? (i(), o("path", {
|
|
@@ -685,7 +682,7 @@ const ll = ["data-minimap"], al = {
|
|
|
685
682
|
stroke: t.color,
|
|
686
683
|
style: { opacity: "0.6" }
|
|
687
684
|
}, null, 8, dl)) : c("", !0),
|
|
688
|
-
t.isVisible ? (i(!0), o(b, { key: 1 },
|
|
685
|
+
t.isVisible ? (i(!0), o(b, { key: 1 }, $(t.fullMarkers, (u) => (i(), o("circle", {
|
|
689
686
|
key: `sel-dot-under-${t.key}-${u.i}`,
|
|
690
687
|
cx: u.x,
|
|
691
688
|
cy: u.y,
|
|
@@ -697,7 +694,7 @@ const ll = ["data-minimap"], al = {
|
|
|
697
694
|
}, null, 8, hl))), 128)) : c("", !0)
|
|
698
695
|
]))), 128))
|
|
699
696
|
], 64)),
|
|
700
|
-
|
|
697
|
+
L("rect", {
|
|
701
698
|
x: w.value.x,
|
|
702
699
|
width: w.value.width < 0 ? 0 : w.value.width,
|
|
703
700
|
height: Math.max(f.value.height, 0),
|
|
@@ -706,7 +703,7 @@ const ll = ["data-minimap"], al = {
|
|
|
706
703
|
rx: l.minimapSelectionRadius,
|
|
707
704
|
stroke: "none"
|
|
708
705
|
}, null, 8, ml),
|
|
709
|
-
|
|
706
|
+
L("rect", {
|
|
710
707
|
x: w.value.x,
|
|
711
708
|
width: w.value.width < 0 ? 0 : w.value.width,
|
|
712
709
|
height: Math.max(f.value.height, 0),
|
|
@@ -714,18 +711,18 @@ const ll = ["data-minimap"], al = {
|
|
|
714
711
|
rx: l.minimapSelectionRadius,
|
|
715
712
|
fill: g.value
|
|
716
713
|
}, null, 8, fl),
|
|
717
|
-
|
|
714
|
+
L("rect", {
|
|
718
715
|
x: w.value.x,
|
|
719
716
|
width: w.value.width < 0 ? 0 : w.value.width,
|
|
720
717
|
height: Math.max(f.value.height, 0),
|
|
721
718
|
y: 0,
|
|
722
719
|
fill: l.minimapSelectedColor,
|
|
723
720
|
rx: l.minimapSelectionRadius,
|
|
724
|
-
style:
|
|
721
|
+
style: P({
|
|
725
722
|
opacity: l.minimapSelectedColorOpacity
|
|
726
723
|
})
|
|
727
724
|
}, null, 12, gl),
|
|
728
|
-
|
|
725
|
+
R.value !== null && !I.value ? (i(), o("line", Yt(Jt({ key: 3 }, Dt.value)), null, 16)) : c("", !0),
|
|
729
726
|
!l.minimapMerged && Mt.value < 0 ? (i(), o("line", {
|
|
730
727
|
key: 4,
|
|
731
728
|
class: "slicer-minimap-zero-line",
|
|
@@ -756,8 +753,8 @@ const ll = ["data-minimap"], al = {
|
|
|
756
753
|
}, null, 8, Ml)) : c("", !0)
|
|
757
754
|
], 64)) : c("", !0)
|
|
758
755
|
], 64)) : (i(), o("g", kl, [
|
|
759
|
-
(i(!0), o(b, null,
|
|
760
|
-
(i(!0), o(b, null,
|
|
756
|
+
(i(!0), o(b, null, $(Q.value.filter((t) => t.type === "bar"), (t, u) => (i(), o("g", null, [
|
|
757
|
+
(i(!0), o(b, null, $(t.points, (r, h) => (i(), o(b, null, [
|
|
761
758
|
t.isVisible && !isNaN(r.y) ? (i(), o("rect", {
|
|
762
759
|
key: 0,
|
|
763
760
|
x: ze(r.x, u, h),
|
|
@@ -765,13 +762,13 @@ const ll = ["data-minimap"], al = {
|
|
|
765
762
|
y: r.v >= 0 ? r.y : r.y0,
|
|
766
763
|
height: r.v >= 0 ? r.y0 - r.y : r.y - r.y0,
|
|
767
764
|
fill: t.color,
|
|
768
|
-
style:
|
|
765
|
+
style: P({
|
|
769
766
|
opacity: h >= l.valueStart && h <= l.valueEnd - 1 ? 1 : 0
|
|
770
767
|
})
|
|
771
768
|
}, null, 12, bl)) : c("", !0)
|
|
772
769
|
], 64))), 256))
|
|
773
770
|
]))), 256)),
|
|
774
|
-
(i(!0), o(b, null,
|
|
771
|
+
(i(!0), o(b, null, $(Q.value.filter((t) => t.type === "line"), (t) => (i(), o("g", {
|
|
775
772
|
key: String(t.key)
|
|
776
773
|
}, [
|
|
777
774
|
t && t.hasSelection && t.selectionSet && t.isVisible ? (i(), o("path", {
|
|
@@ -813,7 +810,7 @@ const ll = ["data-minimap"], al = {
|
|
|
813
810
|
"stroke-width": 0.618,
|
|
814
811
|
"stroke-linejoin": "round",
|
|
815
812
|
"stroke-linecap": "round"
|
|
816
|
-
}, null, 8,
|
|
813
|
+
}, null, 8, Sl)) : l.handleType === "chevron" ? (i(), o("path", {
|
|
817
814
|
key: 1,
|
|
818
815
|
d: "M 6 7 L 4 10 L 6 13 M 14 7 L 16 10 L 14 13",
|
|
819
816
|
fill: "none",
|
|
@@ -828,7 +825,7 @@ const ll = ["data-minimap"], al = {
|
|
|
828
825
|
stroke: "none",
|
|
829
826
|
opacity: "0.6"
|
|
830
827
|
}, null, 8, Pl)) : c("", !0)
|
|
831
|
-
], 8,
|
|
828
|
+
], 8, pl)) : c("", !0),
|
|
832
829
|
M.value && l.minimapCompact ? (i(), o("rect", {
|
|
833
830
|
key: 9,
|
|
834
831
|
class: "vue-ui-zoom-compact-minimap-handle",
|
|
@@ -857,7 +854,7 @@ const ll = ["data-minimap"], al = {
|
|
|
857
854
|
"stroke-width": 0.618,
|
|
858
855
|
"stroke-linejoin": "round",
|
|
859
856
|
"stroke-linecap": "round"
|
|
860
|
-
}, null, 8,
|
|
857
|
+
}, null, 8, Al)) : l.handleType === "chevron" ? (i(), o("path", {
|
|
861
858
|
key: 1,
|
|
862
859
|
d: "M 6 7 L 4 10 L 6 13 M 14 7 L 16 10 L 14 13",
|
|
863
860
|
fill: "none",
|
|
@@ -865,14 +862,14 @@ const ll = ["data-minimap"], al = {
|
|
|
865
862
|
"stroke-width": 0.618,
|
|
866
863
|
"stroke-linejoin": "round",
|
|
867
864
|
"stroke-linecap": "round"
|
|
868
|
-
}, null, 8,
|
|
865
|
+
}, null, 8, Rl)) : l.handleType === "grab" ? (i(), o("path", {
|
|
869
866
|
key: 2,
|
|
870
867
|
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",
|
|
871
868
|
fill: l.handleIconColor || l.textColor,
|
|
872
869
|
stroke: "none",
|
|
873
870
|
opacity: "0.6"
|
|
874
871
|
}, null, 8, Tl)) : c("", !0)
|
|
875
|
-
], 8,
|
|
872
|
+
], 8, $l)) : c("", !0),
|
|
876
873
|
l.minimapMerged ? (i(), o(b, { key: 11 }, [
|
|
877
874
|
v.value && v.value.firstPlot && v.value.firstPlot.value !== null ? (i(), o("circle", {
|
|
878
875
|
key: 0,
|
|
@@ -907,10 +904,10 @@ const ll = ["data-minimap"], al = {
|
|
|
907
904
|
fill: g.value
|
|
908
905
|
}, null, 8, Il)) : c("", !0)
|
|
909
906
|
], 64)) : (i(), o("g", Fl, [
|
|
910
|
-
(i(!0), o(b, null,
|
|
907
|
+
(i(!0), o(b, null, $(Q.value.filter((t) => t.type === "line"), (t) => (i(), o("g", {
|
|
911
908
|
key: String(t.key)
|
|
912
909
|
}, [
|
|
913
|
-
t.isVisible ? (i(!0), o(b, { key: 0 },
|
|
910
|
+
t.isVisible ? (i(!0), o(b, { key: 0 }, $(t.selectionMarkers, (u) => (i(), o("circle", {
|
|
914
911
|
key: `sel-dot-${t.key}-${u.i}`,
|
|
915
912
|
cx: u.x,
|
|
916
913
|
cy: u.y,
|
|
@@ -953,12 +950,12 @@ const ll = ["data-minimap"], al = {
|
|
|
953
950
|
}, null, 8, Xl)) : c("", !0)
|
|
954
951
|
]))), 128))
|
|
955
952
|
])),
|
|
956
|
-
(i(!0), o(b, null,
|
|
953
|
+
(i(!0), o(b, null, $(We.value, (t, u) => (i(), o("rect", {
|
|
957
954
|
key: `trap-${u}`,
|
|
958
955
|
y: 0,
|
|
959
956
|
height: Math.max(f.value.height, 0),
|
|
960
957
|
fill: "transparent",
|
|
961
|
-
style:
|
|
958
|
+
style: P([{ "pointer-events": "all !important" }, {
|
|
962
959
|
cursor: t >= F.value && t < H.value && l.enableSelectionDrag ? I.value ? "grabbing" : "grab" : "default"
|
|
963
960
|
}]),
|
|
964
961
|
x: k.value * u - (l.minimapCompact ? k.value / 2 : 0),
|
|
@@ -967,23 +964,23 @@ const ll = ["data-minimap"], al = {
|
|
|
967
964
|
onMouseup: a[1] || (a[1] = (r) => I.value = !1),
|
|
968
965
|
onMouseenter: (r) => Lt(t),
|
|
969
966
|
onMouseleave: a[2] || (a[2] = (r) => {
|
|
970
|
-
|
|
967
|
+
R.value = null, Y("trapMouse", null);
|
|
971
968
|
})
|
|
972
969
|
}, null, 44, Gl))), 128))
|
|
973
970
|
], 8, ol))
|
|
974
971
|
])) : c("", !0),
|
|
975
|
-
|
|
972
|
+
L("div", {
|
|
976
973
|
class: "slider-track",
|
|
977
|
-
style:
|
|
974
|
+
style: P({ visibility: M.value && l.minimapCompact ? "hidden" : "visible" })
|
|
978
975
|
}, null, 4),
|
|
979
|
-
|
|
976
|
+
L("div", {
|
|
980
977
|
class: Z({
|
|
981
978
|
"range-highlight": !0,
|
|
982
979
|
move: l.enableSelectionDrag
|
|
983
980
|
}),
|
|
984
981
|
onMousedown: a[3] || (a[3] = (t) => I.value = !0),
|
|
985
982
|
onMouseup: a[4] || (a[4] = (t) => I.value = !1),
|
|
986
|
-
style:
|
|
983
|
+
style: P({
|
|
987
984
|
...N.value,
|
|
988
985
|
cursor: I.value ? "grabbing" : "grab",
|
|
989
986
|
visibility: M.value && l.minimapCompact ? "hidden" : "visible"
|
|
@@ -1001,7 +998,7 @@ const ll = ["data-minimap"], al = {
|
|
|
1001
998
|
"range-invisible": M.value && l.minimapCompact
|
|
1002
999
|
}),
|
|
1003
1000
|
min: l.min,
|
|
1004
|
-
max:
|
|
1001
|
+
max: A.value && l.minimapCompact ? q.value : l.max,
|
|
1005
1002
|
step: 1,
|
|
1006
1003
|
"onUpdate:modelValue": a[5] || (a[5] = (t) => xe.value = t),
|
|
1007
1004
|
onMouseenter: a[6] || (a[6] = (t) => Qe("start"))
|
|
@@ -1025,7 +1022,7 @@ const ll = ["data-minimap"], al = {
|
|
|
1025
1022
|
"range-invisible": M.value && l.minimapCompact
|
|
1026
1023
|
}),
|
|
1027
1024
|
min: l.min,
|
|
1028
|
-
max:
|
|
1025
|
+
max: A.value && l.minimapCompact ? q.value : l.max,
|
|
1029
1026
|
step: 1,
|
|
1030
1027
|
"onUpdate:modelValue": a[7] || (a[7] = (t) => Me.value = t),
|
|
1031
1028
|
onMouseenter: a[8] || (a[8] = (t) => Qe("end"))
|
|
@@ -1047,16 +1044,16 @@ const ll = ["data-minimap"], al = {
|
|
|
1047
1044
|
"range-tooltip-arrow": N.value.arrowLeft && !l.verticalHandles,
|
|
1048
1045
|
"range-tooltip-arrow-left": !N.value.arrowLeft && !l.verticalHandles
|
|
1049
1046
|
}),
|
|
1050
|
-
style:
|
|
1047
|
+
style: P({
|
|
1051
1048
|
left: N.value.tooltipLeft,
|
|
1052
|
-
color: de(
|
|
1049
|
+
color: de(Re)(l.selectColor),
|
|
1053
1050
|
backgroundColor: l.selectColor,
|
|
1054
1051
|
border: `1px solid ${g.value}`,
|
|
1055
1052
|
zIndex: `${Ke.value + 4}`,
|
|
1056
1053
|
visibility: ne.value || l.labelLeft === l.labelRight ? "hidden" : "visible",
|
|
1057
1054
|
top: M.value && l.minimapCompact ? "calc(-100% - 18px)" : "-100%"
|
|
1058
1055
|
})
|
|
1059
|
-
},
|
|
1056
|
+
}, Ae(l.labelLeft), 7)) : c("", !0),
|
|
1060
1057
|
(ne.value || l.labelLeft === l.labelRight) && (l.labelLeft || l.labelRight) ? (i(), o("div", {
|
|
1061
1058
|
key: 4,
|
|
1062
1059
|
ref: "tooltipMerge",
|
|
@@ -1067,16 +1064,16 @@ const ll = ["data-minimap"], al = {
|
|
|
1067
1064
|
"range-tooltip-arrow-left": !N.value.arrowLeft && !l.verticalHandles,
|
|
1068
1065
|
"range-tooltip-arrow-right": !N.value.arrowRight && !l.verticalHandles
|
|
1069
1066
|
}),
|
|
1070
|
-
style:
|
|
1067
|
+
style: P({
|
|
1071
1068
|
left: N.value.tooltipCenter,
|
|
1072
1069
|
width: ie.value.width + "px",
|
|
1073
|
-
color: de(
|
|
1070
|
+
color: de(Re)(l.selectColor),
|
|
1074
1071
|
backgroundColor: l.selectColor,
|
|
1075
1072
|
border: `1px solid ${g.value}`,
|
|
1076
1073
|
zIndex: "4",
|
|
1077
1074
|
top: M.value && l.minimapCompact ? "calc(-100% - 18px)" : "-100%"
|
|
1078
1075
|
})
|
|
1079
|
-
},
|
|
1076
|
+
}, Ae(l.labelLeft === l.labelRight ? l.labelLeft : `${l.labelLeft} - ${l.labelRight}`), 7)) : c("", !0),
|
|
1080
1077
|
l.labelRight ? (i(), o("div", {
|
|
1081
1078
|
key: 5,
|
|
1082
1079
|
ref_key: "tooltipRight",
|
|
@@ -1087,20 +1084,20 @@ const ll = ["data-minimap"], al = {
|
|
|
1087
1084
|
"range-tooltip-arrow": N.value.arrowRight && !l.verticalHandles,
|
|
1088
1085
|
"range-tooltip-arrow-right": !N.value.arrowRight && !l.verticalHandles
|
|
1089
1086
|
}),
|
|
1090
|
-
style:
|
|
1087
|
+
style: P({
|
|
1091
1088
|
left: N.value.tooltipRight,
|
|
1092
|
-
color: de(
|
|
1089
|
+
color: de(Re)(l.selectColor),
|
|
1093
1090
|
backgroundColor: l.selectColor,
|
|
1094
1091
|
border: `1px solid ${g.value}`,
|
|
1095
1092
|
zIndex: "4",
|
|
1096
1093
|
visibility: ne.value || l.labelLeft === l.labelRight ? "hidden" : "visible",
|
|
1097
1094
|
top: M.value && l.minimapCompact ? "calc(-100% - 18px)" : "-100%"
|
|
1098
1095
|
})
|
|
1099
|
-
},
|
|
1096
|
+
}, Ae(l.labelRight), 7)) : c("", !0)
|
|
1100
1097
|
], 36)
|
|
1101
1098
|
], 44, ll));
|
|
1102
1099
|
}
|
|
1103
|
-
}, Ql = /* @__PURE__ */ tl(Ul, [["__scopeId", "data-v-
|
|
1100
|
+
}, Ql = /* @__PURE__ */ tl(Ul, [["__scopeId", "data-v-9ff2710f"]]);
|
|
1104
1101
|
export {
|
|
1105
1102
|
Ql as S
|
|
1106
1103
|
};
|