vue-data-ui 3.17.0 → 3.17.1
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-B3kmPxTR.js → PackageVersion-BsoZuuHw.js} +1 -1
- package/dist/{SlicerPreview-BIvxyb5W.js → SlicerPreview-BMx3cqgX.js} +133 -133
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-bump.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/style.css +1 -1
- package/dist/{vue-data-ui-BX3I-ZQt.js → vue-data-ui-QwRPnKF7.js} +61 -61
- package/dist/vue-data-ui.js +61 -61
- package/dist/{vue-ui-3d-bar-DsSxN6Xl.js → vue-ui-3d-bar-BfNCTkJM.js} +1 -1
- package/dist/{vue-ui-age-pyramid-DgAJXx1F.js → vue-ui-age-pyramid-xeDAxQtf.js} +1 -1
- package/dist/{vue-ui-bullet-BCuT1zVr.js → vue-ui-bullet-wZd5-rn-.js} +1 -1
- package/dist/{vue-ui-bump-BTnwgB5Q.js → vue-ui-bump-z7nLFbIM.js} +1 -1
- package/dist/{vue-ui-candlestick-BMvM7WIc.js → vue-ui-candlestick-HMOUtySY.js} +2 -2
- package/dist/{vue-ui-carousel-table-DCtWIG49.js → vue-ui-carousel-table-DMuP07s-.js} +1 -1
- package/dist/{vue-ui-chestnut-DJ0R3Aqx.js → vue-ui-chestnut-B4irb5V2.js} +1 -1
- package/dist/{vue-ui-chord-BbWToSBq.js → vue-ui-chord-BrW7tRqY.js} +1 -1
- package/dist/{vue-ui-circle-pack-CwuEfQPE.js → vue-ui-circle-pack-QxFpROdc.js} +1 -1
- package/dist/{vue-ui-cursor-C4MnK_CE.js → vue-ui-cursor-DFp4uEMQ.js} +1 -1
- package/dist/{vue-ui-dag-HKbeFOit.js → vue-ui-dag-Dr369vOS.js} +1 -1
- package/dist/{vue-ui-dashboard-DTYz-idn.js → vue-ui-dashboard-NRPnkhg3.js} +58 -58
- package/dist/{vue-ui-digits-CrFH4BlD.js → vue-ui-digits-DnFPYC_f.js} +1 -1
- package/dist/{vue-ui-donut-B1C7vzFY.js → vue-ui-donut-CarXGPCp.js} +1 -1
- package/dist/{vue-ui-donut-evolution-BUIQwZ-c.js → vue-ui-donut-evolution-B6JpnTLM.js} +1 -1
- package/dist/{vue-ui-dumbbell-Bq-X5L24.js → vue-ui-dumbbell-B77a5xel.js} +1 -1
- package/dist/{vue-ui-flow-DUn9hp_J.js → vue-ui-flow-u-d87wQV.js} +1 -1
- package/dist/{vue-ui-funnel-CNF2ULOQ.js → vue-ui-funnel-CtLaACja.js} +1 -1
- package/dist/{vue-ui-galaxy-BzlU9OSU.js → vue-ui-galaxy-WHdw5nGN.js} +1 -1
- package/dist/{vue-ui-gauge-aF_V6ynK.js → vue-ui-gauge-Bz5mj8lp.js} +1 -1
- package/dist/{vue-ui-geo-xaZvHjAP.js → vue-ui-geo-_xkrOV2I.js} +1 -1
- package/dist/{vue-ui-gizmo-BGvS_AHj.js → vue-ui-gizmo-DHJflepE.js} +1 -1
- package/dist/{vue-ui-heatmap-B_BmpyVy.js → vue-ui-heatmap-ZwHHJWae.js} +1 -1
- package/dist/{vue-ui-history-plot-DsoLp3aL.js → vue-ui-history-plot-CrjjEQ7W.js} +1 -1
- package/dist/{vue-ui-horizontal-bar-JVjE88ZW.js → vue-ui-horizontal-bar-mNda_AP8.js} +1 -1
- package/dist/{vue-ui-kpi-B-v1zpd4.js → vue-ui-kpi-Dw9tUq7D.js} +1 -1
- package/dist/{vue-ui-molecule-Di9_wsME.js → vue-ui-molecule-KD4eBVpd.js} +1 -1
- package/dist/{vue-ui-mood-radar-CetQpdnu.js → vue-ui-mood-radar-CFaoRvfp.js} +1 -1
- package/dist/{vue-ui-nested-donuts-Y-UMjjYV.js → vue-ui-nested-donuts-goSM60if.js} +1 -1
- package/dist/{vue-ui-onion-MM3QZLzF.js → vue-ui-onion-hzfd8mmr.js} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-CcHmB0MQ.js → vue-ui-parallel-coordinate-plot-KimsvB0z.js} +1 -1
- package/dist/{vue-ui-quadrant-CQIMUggy.js → vue-ui-quadrant-BBCRnDi3.js} +1 -1
- package/dist/{vue-ui-quick-chart-lwGufdDj.js → vue-ui-quick-chart-Bestt35B.js} +1 -1
- package/dist/{vue-ui-radar-CS74L65M.js → vue-ui-radar-Cg-blCRM.js} +1 -1
- package/dist/{vue-ui-relation-circle-D3dO8RTC.js → vue-ui-relation-circle-C1hu5buI.js} +1 -1
- package/dist/{vue-ui-ridgeline-Dpvq9yp2.js → vue-ui-ridgeline-CihubDmE.js} +1 -1
- package/dist/{vue-ui-rings-D-45pPpZ.js → vue-ui-rings-CuoGouLA.js} +1 -1
- package/dist/{vue-ui-scatter-BzCjfGB9.js → vue-ui-scatter-D7XDXi9q.js} +1 -1
- package/dist/{vue-ui-skeleton-Dai-bZZw.js → vue-ui-skeleton-Df9kRTno.js} +1 -1
- package/dist/{vue-ui-spark-trend-DiC9V0VU.js → vue-ui-spark-trend-CoIhut26.js} +1 -1
- package/dist/{vue-ui-sparkbar-D6EsbW6u.js → vue-ui-sparkbar-hzFfEGbB.js} +1 -1
- package/dist/{vue-ui-sparkgauge-BHDXZgJH.js → vue-ui-sparkgauge-CUYvDR0P.js} +1 -1
- package/dist/{vue-ui-sparkhistogram-DzuOjuNH.js → vue-ui-sparkhistogram-CUhHTlT2.js} +1 -1
- package/dist/{vue-ui-sparkline-B-zOqzrC.js → vue-ui-sparkline-DLprVCRI.js} +1 -1
- package/dist/{vue-ui-sparkstackbar-bqKzIKSg.js → vue-ui-sparkstackbar-BAiNL0YG.js} +1 -1
- package/dist/{vue-ui-stackbar-DPfxqQUG.js → vue-ui-stackbar-CW5vdT-C.js} +2 -2
- package/dist/{vue-ui-stackline-Ctqe1OuF.js → vue-ui-stackline-6Ck5Pcab.js} +2 -2
- package/dist/{vue-ui-strip-plot-Dg2URhvc.js → vue-ui-strip-plot-DwWEI_oX.js} +1 -1
- package/dist/{vue-ui-table-xrD-xqis.js → vue-ui-table-B4XcIRq_.js} +2 -2
- package/dist/{vue-ui-table-sparkline-Bkv6Qz6V.js → vue-ui-table-sparkline-CD4I2kGA.js} +1 -1
- package/dist/{vue-ui-thermometer-D7VVeA2i.js → vue-ui-thermometer-BsedVnae.js} +1 -1
- package/dist/{vue-ui-timer-D7XYgZfb.js → vue-ui-timer-DkAprhb_.js} +1 -1
- package/dist/{vue-ui-tiremarks-i6e8GTI9.js → vue-ui-tiremarks-DLP287zM.js} +1 -1
- package/dist/{vue-ui-treemap-D8Mbfeuc.js → vue-ui-treemap-Cy-WXcRy.js} +1 -1
- package/dist/{vue-ui-waffle-7rVD530d.js → vue-ui-waffle-CdrJhbWb.js} +1 -1
- package/dist/{vue-ui-wheel-HQNWtsvJ.js → vue-ui-wheel-D8NMMTEo.js} +1 -1
- package/dist/{vue-ui-word-cloud-DFAEbzUa.js → vue-ui-word-cloud-CD6qLQQ3.js} +1 -1
- package/dist/{vue-ui-world-YvmrdfIm.js → vue-ui-world-DP1bH4Zv.js} +1 -1
- package/dist/{vue-ui-xy-n4juEarQ.js → vue-ui-xy-CgwzrN2l.js} +2 -2
- package/dist/{vue-ui-xy-canvas-CEaAQ_tr.js → vue-ui-xy-canvas-DFhxqDzK.js} +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useCssVars as Dl, ref as h, computed as s, watch as le, onMounted as Xl, onBeforeUnmount as je, onUpdated as It, nextTick as fe, openBlock as u, createElementBlock as r, normalizeStyle as F, createElementVNode as N, renderSlot as Wt, createVNode as Hl, createCommentVNode as v, Fragment as
|
|
1
|
+
import { useCssVars as Dl, ref as h, computed as s, watch as le, onMounted as Xl, onBeforeUnmount as je, onUpdated as It, nextTick as fe, openBlock as u, createElementBlock as r, normalizeStyle as F, createElementVNode as N, renderSlot as Wt, createVNode as Hl, createCommentVNode as v, Fragment as b, unref as ye, renderList as S, normalizeProps as Vt, mergeProps as Ne, withModifiers as Le, normalizeClass as ae, withDirectives as Dt, withKeys as Xt, vModelText as Ht, toDisplayString as Ue } from "vue";
|
|
2
2
|
import { j as zl, T as Kl, X as zt, W as qe, L as Kt, c as Ot, M as Zt, b as jt, av as Ut } from "./lib-DBptbyyI.js";
|
|
3
3
|
import { t as Ye, u as Ol, d as Zl } from "./useResponsive-DfdjqQps.js";
|
|
4
4
|
import jl from "./BaseIcon-Cb3zzG6s.js";
|
|
@@ -12,7 +12,7 @@ const ql = ["data-minimap"], Yl = {
|
|
|
12
12
|
}, Jl = {
|
|
13
13
|
class: "minimap",
|
|
14
14
|
style: { width: "100%" }
|
|
15
|
-
}, Ql = ["xmlns", "viewBox"], _l = ["id"], ea = ["stop-color"], ta = ["width", "height", "stroke"], la = ["d", "stroke"], aa = ["d", "fill"], na = ["x", "y", "width", "height", "fill"], ia = ["d", "stroke", "stroke-dasharray"], ua = ["cx", "cy", "fill", "stroke"], ra = ["cx", "cy", "fill", "stroke"], oa = ["x", "width", "height", "fill", "rx"], sa = ["x", "width", "height", "rx", "fill"], ca = ["x", "width", "height", "fill", "rx", "aria-valuemin", "aria-valuemax", "aria-valuenow", "aria-valuetext"], va = ["x2", "y1", "y2", "stroke"], ma = { key: "merged-tree" }, da = ["d", "fill"], ha = ["d", "stroke"], fa = ["cx", "cy", "stroke", "fill"],
|
|
15
|
+
}, Ql = ["xmlns", "viewBox"], _l = ["id"], ea = ["stop-color"], ta = ["width", "height", "stroke"], la = ["d", "stroke"], aa = ["d", "fill"], na = ["x", "y", "width", "height", "fill"], ia = ["d", "stroke", "stroke-dasharray"], ua = ["cx", "cy", "fill", "stroke"], ra = ["cx", "cy", "fill", "stroke"], oa = ["x", "width", "height", "fill", "rx"], sa = ["x", "width", "height", "rx", "fill"], ca = ["x", "width", "height", "fill", "rx", "aria-valuemin", "aria-valuemax", "aria-valuenow", "aria-valuetext"], va = ["x2", "y1", "y2", "stroke"], ma = { key: "merged-tree" }, da = ["d", "fill"], ha = ["d", "stroke"], fa = ["cx", "cy", "stroke", "fill"], ya = ["cx", "cy", "stroke", "fill"], ga = { key: "split-tree" }, xa = ["x", "y", "width", "height", "fill"], Ma = ["d", "stroke", "stroke-dasharray"], ba = ["cx", "cy", "fill", "stroke"], pa = { key: "merged-tree" }, ka = ["cx", "cy", "stroke", "fill"], wa = ["cx", "cy", "fill"], Sa = ["cx", "cy", "stroke", "fill"], Ca = ["cx", "cy", "fill"], Na = { key: 1 }, La = ["d", "stroke", "stroke-dasharray"], Pa = ["cx", "cy", "fill", "stroke"], $a = ["cx", "cy", "stroke", "fill"], Aa = ["cx", "cy", "fill"], Fa = ["cx", "cy", "stroke", "fill"], Ea = ["cx", "cy", "fill"], Ra = ["cx", "cy", "fill", "stroke"], Ta = ["x", "height", "width", "onMouseenter"], Ba = {
|
|
16
16
|
key: 0,
|
|
17
17
|
class: "minimap-handle-overlay"
|
|
18
18
|
}, Ia = ["xmlns", "viewBox"], Wa = ["x", "width", "height", "fill", "stroke", "stroke-width"], Va = ["transform"], Da = ["width", "height"], Xa = ["fill", "stroke"], Ha = ["stroke"], za = ["fill"], Ka = ["x", "width", "height", "fill", "stroke", "stroke-width"], Oa = ["transform"], Za = ["width", "height"], ja = ["fill", "stroke"], Ua = ["stroke"], qa = ["fill"], Ya = {
|
|
@@ -239,48 +239,48 @@ const ql = ["data-minimap"], Yl = {
|
|
|
239
239
|
emits: ["futureStart", "futureEnd", "update:start", "update:end", "reset", "trapMouse"],
|
|
240
240
|
setup(n, { expose: qt, emit: Yt }) {
|
|
241
241
|
Dl((t) => ({
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
242
|
+
v75911abb: Jt.value,
|
|
243
|
+
v0d86a32f: g.value,
|
|
244
|
+
v9e505d40: _t.value,
|
|
245
|
+
v24883742: n.selectColor,
|
|
246
|
+
v2199076d: Qt.value,
|
|
247
|
+
v7a069342: a.additionalMinimapHeight
|
|
248
248
|
}));
|
|
249
|
-
const a = n, $ = h(null),
|
|
250
|
-
get: () =>
|
|
249
|
+
const a = n, $ = h(null), y = h(a.min), x = h(a.max), M = s(() => !!a.allMinimaps.length), Pe = h(zl()), R = h(!1), Q = s(() => M.value && a.minimapCompact), Z = h(null), ne = h(!1), $e = h(0), Ae = h(0), Je = s(() => Math.min(40, Math.max(20, a.handleWidth))), Qe = h(0), ge = Ye((t) => B("futureStart", t), 0), xe = Ye((t) => B("futureEnd", t), 0), j = s({
|
|
250
|
+
get: () => y.value,
|
|
251
251
|
set(t) {
|
|
252
252
|
const l = Math.min(t, x.value - 1);
|
|
253
|
-
l !==
|
|
253
|
+
l !== y.value && (y.value = l, ue.value && (ue.value.value = String(l)), a.immediate ? B("update:start", Number(l)) : R.value && ge(l));
|
|
254
254
|
}
|
|
255
255
|
}), U = s({
|
|
256
256
|
get: () => x.value,
|
|
257
257
|
set(t) {
|
|
258
|
-
const l = Math.max(t,
|
|
258
|
+
const l = Math.max(t, y.value + 1);
|
|
259
259
|
l !== x.value && (x.value = l, re.value && (re.value.value = String(l)), a.immediate ? B("update:end", Number(l)) : R.value && xe(l));
|
|
260
260
|
}
|
|
261
261
|
});
|
|
262
262
|
let _e = null;
|
|
263
263
|
function A() {
|
|
264
|
-
clearTimeout(_e), a.immediate || (B("update:start", Number(
|
|
264
|
+
clearTimeout(_e), a.immediate || (B("update:start", Number(y.value)), B("update:end", Number(x.value))), R.value = !1;
|
|
265
265
|
}
|
|
266
266
|
const Gt = s(() => a.refreshEndPoint === null ? a.max : a.refreshEndPoint), B = Yt, Me = s(() => {
|
|
267
267
|
if (Q.value) {
|
|
268
268
|
const l = Math.max(1, q.value - 1);
|
|
269
|
-
return
|
|
269
|
+
return be.value / l * 100;
|
|
270
270
|
}
|
|
271
271
|
const t = Math.max(1, a.max - a.min);
|
|
272
|
-
return (
|
|
272
|
+
return (y.value - a.min) / t * 100;
|
|
273
273
|
}), Fe = s(() => {
|
|
274
274
|
if (Q.value) {
|
|
275
275
|
const l = Math.max(1, q.value - 1);
|
|
276
|
-
return
|
|
276
|
+
return pe.value / l * 100;
|
|
277
277
|
}
|
|
278
278
|
const t = Math.max(1, a.max - a.min);
|
|
279
279
|
return (x.value - a.min) / t * 100;
|
|
280
280
|
}), Ee = s(() => (Me.value + Fe.value) / 2), Re = s(() => {
|
|
281
281
|
if (!$.value) return !1;
|
|
282
282
|
const t = Math.max(1, a.max - a.min);
|
|
283
|
-
return $.value.getBoundingClientRect().width * ((
|
|
283
|
+
return $.value.getBoundingClientRect().width * ((y.value - a.min) / t) - ke.value / 2 < 0;
|
|
284
284
|
}), Te = s(() => {
|
|
285
285
|
if (!$.value) return !1;
|
|
286
286
|
const t = Math.max(1, a.max - a.min), l = $.value.getBoundingClientRect().width;
|
|
@@ -297,7 +297,7 @@ const ql = ["data-minimap"], Yl = {
|
|
|
297
297
|
arrowLeft: !Re.value,
|
|
298
298
|
arrowRight: !Te.value
|
|
299
299
|
};
|
|
300
|
-
}), Jt = s(() => a.inputColor), Qt = s(() => a.background), _t = s(() => `${a.selectColor}33`),
|
|
300
|
+
}), Jt = s(() => a.inputColor), Qt = s(() => a.background), _t = s(() => `${a.selectColor}33`), g = s(() => a.borderColor), et = s(() => {
|
|
301
301
|
let t = [];
|
|
302
302
|
for (let l = 0; l < a.max; l += 1)
|
|
303
303
|
t.push(l);
|
|
@@ -309,12 +309,12 @@ const ql = ["data-minimap"], Yl = {
|
|
|
309
309
|
le(
|
|
310
310
|
() => a.min,
|
|
311
311
|
(t) => {
|
|
312
|
-
Number(
|
|
312
|
+
Number(y.value) < Number(t) && (y.value = Number(t)), Number(x.value) < Number(t) && (x.value = Number(t));
|
|
313
313
|
}
|
|
314
314
|
), le(
|
|
315
315
|
() => a.max,
|
|
316
316
|
(t) => {
|
|
317
|
-
Number(
|
|
317
|
+
Number(y.value) > Number(t) && (y.value = Number(t)), Number(x.value) > Number(t) && (x.value = Number(t));
|
|
318
318
|
}
|
|
319
319
|
);
|
|
320
320
|
const V = h(null), d = h({
|
|
@@ -342,7 +342,7 @@ const ql = ["data-minimap"], Yl = {
|
|
|
342
342
|
const l = Math.ceil(t - a.min);
|
|
343
343
|
return Math.min(Math.max(0, l), q.value);
|
|
344
344
|
}
|
|
345
|
-
const I = s(() => lt(
|
|
345
|
+
const I = s(() => lt(y.value)), Y = s(() => el(x.value)), Be = s(() => Math.max(...a.allMinimaps.map((t) => t.series.length))), tl = s(() => M.value && a.minimapCompact ? 40 : 0), ll = s(() => tl.value / 2);
|
|
346
346
|
s(() => Math.max(1, d.value.width - ll.value * 2));
|
|
347
347
|
const k = s(() => {
|
|
348
348
|
const t = Math.max(1, Be.value - (a.minimapCompact ? 1 : 0));
|
|
@@ -447,7 +447,7 @@ const ql = ["data-minimap"], Yl = {
|
|
|
447
447
|
...e,
|
|
448
448
|
temperatureColors: t?.temperatureColors ?? null,
|
|
449
449
|
isVisible: t.isVisible,
|
|
450
|
-
type: t.type ||
|
|
450
|
+
type: t.type || void 0,
|
|
451
451
|
dashed: t.dashed ?? !1
|
|
452
452
|
};
|
|
453
453
|
}) : []), C = s(() => {
|
|
@@ -456,7 +456,7 @@ const ql = ["data-minimap"], Yl = {
|
|
|
456
456
|
x: k.value * t + (a.minimapCompact ? 0 : k.value / 2),
|
|
457
457
|
width: k.value * (l - t) - k.value
|
|
458
458
|
};
|
|
459
|
-
}), D = h(a.minimapSelectedIndex), vt = (t) => Math.round(a.min + t),
|
|
459
|
+
}), D = h(a.minimapSelectedIndex), vt = (t) => Math.round(a.min + t), be = s({
|
|
460
460
|
get() {
|
|
461
461
|
return Q.value ? I.value : Number(j.value);
|
|
462
462
|
},
|
|
@@ -470,7 +470,7 @@ const ql = ["data-minimap"], Yl = {
|
|
|
470
470
|
ue.value && (ue.value.valueAsNumber = i), Xe(i);
|
|
471
471
|
}
|
|
472
472
|
}
|
|
473
|
-
}),
|
|
473
|
+
}), pe = s({
|
|
474
474
|
get() {
|
|
475
475
|
return Q.value ? Math.max(I.value, Y.value - 1) : Number(U.value);
|
|
476
476
|
},
|
|
@@ -480,7 +480,7 @@ const ql = ["data-minimap"], Yl = {
|
|
|
480
480
|
ze(vt(l + 1));
|
|
481
481
|
} else {
|
|
482
482
|
let l = Math.round(+t || 0);
|
|
483
|
-
const e = Number(
|
|
483
|
+
const e = Number(y.value) + 1, i = Math.max(e, Math.min(l, a.max));
|
|
484
484
|
re.value && (re.value.valueAsNumber = i), ze(i);
|
|
485
485
|
}
|
|
486
486
|
}
|
|
@@ -531,7 +531,7 @@ const ql = ["data-minimap"], Yl = {
|
|
|
531
531
|
});
|
|
532
532
|
const oe = s(() => a.valueEnd - a.valueStart), sl = s(() => oe.value < a.max - a.min), te = h(!1);
|
|
533
533
|
let cl = h(null);
|
|
534
|
-
const vl = s(() => (Qe.value - 48) / (a.max - a.min) * oe.value), ml = s(() => Math.max(1, Qe.value - Ge - vl.value)), dl = s(() => Math.max(1, a.max - a.min - oe.value)), hl = s(() => dl.value / ml.value), dt = h(0), ht = h(0), fl = h(0),
|
|
534
|
+
const vl = s(() => (Qe.value - 48) / (a.max - a.min) * oe.value), ml = s(() => Math.max(1, Qe.value - Ge - vl.value)), dl = s(() => Math.max(1, a.max - a.min - oe.value)), hl = s(() => dl.value / ml.value), dt = h(0), ht = h(0), fl = h(0), yl = h(0);
|
|
535
535
|
let X = null, H = null, z = null, K = null;
|
|
536
536
|
const ft = h(a.min);
|
|
537
537
|
function Ke(t) {
|
|
@@ -539,7 +539,7 @@ const ql = ["data-minimap"], Yl = {
|
|
|
539
539
|
const l = $.value.getBoundingClientRect(), e = l.left + Ge / 2, i = l.right - Ge / 2, o = Math.max(1, i - e), L = (Math.max(e, Math.min(t, i)) - e) / o, f = Math.max(1, a.max - a.min);
|
|
540
540
|
return Math.round(a.min + L * f);
|
|
541
541
|
}
|
|
542
|
-
const
|
|
542
|
+
const yt = async (t) => {
|
|
543
543
|
if (R.value = !0, G.value = !0, !a.enableSelectionDrag) return;
|
|
544
544
|
const l = t.type === "touchstart";
|
|
545
545
|
l || t.stopPropagation();
|
|
@@ -554,12 +554,12 @@ const ql = ["data-minimap"], Yl = {
|
|
|
554
554
|
let E = ft.value - P;
|
|
555
555
|
E = Math.max(a.min, Math.min(E, a.max - f));
|
|
556
556
|
const Ce = Math.min(a.max, E + f);
|
|
557
|
-
j.value = E, U.value = Ce,
|
|
557
|
+
j.value = E, U.value = Ce, ge(E), xe(Ce), Ut($.value, "mouseup"), await fe(), Ut($.value, "mousedown", { clientX: o });
|
|
558
558
|
}
|
|
559
|
-
ht.value =
|
|
559
|
+
ht.value = y.value, fl.value = x.value, yl.value = hl.value, X = l ? "touchmove" : "mousemove", H = l ? "touchend" : "mouseup", z = l ? xl : gl, K = l ? bl : Ml, window.addEventListener(X, z, { passive: !1 }), window.addEventListener(H, K);
|
|
560
560
|
};
|
|
561
|
-
function
|
|
562
|
-
te.value &&
|
|
561
|
+
function gl(t) {
|
|
562
|
+
te.value && gt(t.clientX);
|
|
563
563
|
}
|
|
564
564
|
function xl(t) {
|
|
565
565
|
if (!te.value || !$.value) return;
|
|
@@ -567,20 +567,20 @@ const ql = ["data-minimap"], Yl = {
|
|
|
567
567
|
if (!(l instanceof Element) || !$.value.contains(l) || l.classList && l.classList.contains("range-handle")) return;
|
|
568
568
|
t.preventDefault();
|
|
569
569
|
const e = t.targetTouches && t.targetTouches[0] ? t.targetTouches[0] : null;
|
|
570
|
-
e &&
|
|
570
|
+
e && gt(e.clientX);
|
|
571
571
|
}
|
|
572
|
-
function
|
|
572
|
+
function gt(t) {
|
|
573
573
|
if (!te.value) return;
|
|
574
574
|
const l = Ke(dt.value), i = Ke(t) - l;
|
|
575
575
|
let o = Math.round(ht.value + i);
|
|
576
576
|
o = Math.max(a.min, Math.min(o, a.max - oe.value));
|
|
577
577
|
const c = o + oe.value;
|
|
578
|
-
j.value = o, U.value = c,
|
|
578
|
+
j.value = o, U.value = c, ge(o), xe(c);
|
|
579
579
|
}
|
|
580
580
|
function Ml() {
|
|
581
581
|
xt();
|
|
582
582
|
}
|
|
583
|
-
function
|
|
583
|
+
function bl() {
|
|
584
584
|
xt();
|
|
585
585
|
}
|
|
586
586
|
function xt() {
|
|
@@ -603,14 +603,14 @@ const ql = ["data-minimap"], Yl = {
|
|
|
603
603
|
Oe(), Ze();
|
|
604
604
|
});
|
|
605
605
|
const Mt = h(0);
|
|
606
|
-
function
|
|
606
|
+
function bt(t) {
|
|
607
607
|
Mt.value = t === "start" ? 1 : 0;
|
|
608
608
|
}
|
|
609
609
|
const me = h(!1), de = h({
|
|
610
610
|
width: 0,
|
|
611
611
|
left: 0
|
|
612
612
|
});
|
|
613
|
-
le([
|
|
613
|
+
le([y, x], async () => {
|
|
614
614
|
if (await fe(), !se.value || !ce.value) {
|
|
615
615
|
me.value = !1, de.value = { width: 0, left: 0 };
|
|
616
616
|
return;
|
|
@@ -629,15 +629,15 @@ const ql = ["data-minimap"], Yl = {
|
|
|
629
629
|
}, { deep: !0 }), le(() => a.labelRight, () => {
|
|
630
630
|
fe(Ze);
|
|
631
631
|
}, { deep: !0 });
|
|
632
|
-
const
|
|
632
|
+
const p = s(() => {
|
|
633
633
|
let t = "", l = "", e = !1;
|
|
634
634
|
if (Kl(a.customFormat))
|
|
635
635
|
try {
|
|
636
636
|
const i = a.customFormat({
|
|
637
|
-
absoluteIndex:
|
|
638
|
-
seriesIndex:
|
|
637
|
+
absoluteIndex: y.value,
|
|
638
|
+
seriesIndex: y.value,
|
|
639
639
|
datapoint: a.selectedSeries,
|
|
640
|
-
timeLabel: a.preciseLabels[
|
|
640
|
+
timeLabel: a.preciseLabels[y.value],
|
|
641
641
|
side: "left"
|
|
642
642
|
}), o = a.customFormat({
|
|
643
643
|
absoluteIndex: x.value - 1,
|
|
@@ -651,7 +651,7 @@ const ql = ["data-minimap"], Yl = {
|
|
|
651
651
|
e = !1;
|
|
652
652
|
}
|
|
653
653
|
if (!e) {
|
|
654
|
-
const i = a.usePreciseLabels ? a.preciseLabels.find((c) => c.absoluteIndex ===
|
|
654
|
+
const i = a.usePreciseLabels ? a.preciseLabels.find((c) => c.absoluteIndex === y.value) : a.timeLabels.find((c) => c.absoluteIndex === y.value), o = a.usePreciseLabels ? a.preciseLabels.find((c) => c.absoluteIndex === x.value - 1) : a.timeLabels.find((c) => c.absoluteIndex === x.value - 1);
|
|
655
655
|
t = i ? i.text : "", l = o ? o.text : "";
|
|
656
656
|
}
|
|
657
657
|
return { left: t, right: l };
|
|
@@ -659,7 +659,7 @@ const ql = ["data-minimap"], Yl = {
|
|
|
659
659
|
je(() => {
|
|
660
660
|
_.value && _.value.disconnect(), X && z && window.removeEventListener(X, z), H && K && window.removeEventListener(H, K), X = H = null, z = K = null, clearTimeout(_e);
|
|
661
661
|
});
|
|
662
|
-
const
|
|
662
|
+
const pl = s(() => {
|
|
663
663
|
if (!et.value.length) return null;
|
|
664
664
|
if (D.value >= I.value && D.value < Y.value) {
|
|
665
665
|
const t = D.value, l = k.value * t + (a.minimapCompact ? 0 : k.value / 2);
|
|
@@ -675,10 +675,10 @@ const ql = ["data-minimap"], Yl = {
|
|
|
675
675
|
};
|
|
676
676
|
}
|
|
677
677
|
return null;
|
|
678
|
-
}),
|
|
678
|
+
}), pt = s(() => Number(y.value) < Number(x.value) - 1), kt = s(() => Number(y.value) > Number(a.min)), wt = s(() => Number(x.value) < Number(a.max)), St = s(() => Number(x.value) > Number(y.value) + 1);
|
|
679
679
|
function Ct(t) {
|
|
680
|
-
const l = Number(
|
|
681
|
-
t > 0 && !
|
|
680
|
+
const l = Number(y.value) + t;
|
|
681
|
+
t > 0 && !pt.value || t < 0 && !kt.value || (R.value = !0, j.value = l, A());
|
|
682
682
|
}
|
|
683
683
|
function Nt(t) {
|
|
684
684
|
const l = Number(x.value) + t;
|
|
@@ -687,7 +687,7 @@ const ql = ["data-minimap"], Yl = {
|
|
|
687
687
|
const we = {
|
|
688
688
|
plus: () => Ct(1),
|
|
689
689
|
minus: () => Ct(-1),
|
|
690
|
-
canPlus:
|
|
690
|
+
canPlus: pt,
|
|
691
691
|
canMinus: kt
|
|
692
692
|
}, Se = {
|
|
693
693
|
plus: () => Nt(1),
|
|
@@ -721,12 +721,12 @@ const ql = ["data-minimap"], Yl = {
|
|
|
721
721
|
"aria-label": "Range start",
|
|
722
722
|
"aria-valuemin": Number(a.min),
|
|
723
723
|
"aria-valuemax": Math.max(Number(a.min), Number(x.value) - 1),
|
|
724
|
-
"aria-valuenow": Number(
|
|
724
|
+
"aria-valuenow": Number(y.value)
|
|
725
725
|
})), Cl = s(() => ({
|
|
726
726
|
tabindex: 0,
|
|
727
727
|
role: "slider",
|
|
728
728
|
"aria-label": "Range end",
|
|
729
|
-
"aria-valuemin": Math.min(Number(a.max), Number(
|
|
729
|
+
"aria-valuemin": Math.min(Number(a.max), Number(y.value) + 1),
|
|
730
730
|
"aria-valuemax": Number(a.max),
|
|
731
731
|
"aria-valuenow": Number(x.value)
|
|
732
732
|
}));
|
|
@@ -748,11 +748,11 @@ const ql = ["data-minimap"], Yl = {
|
|
|
748
748
|
const l = Nl(t);
|
|
749
749
|
if (Z.value === "start") {
|
|
750
750
|
const e = Math.min(a.min + l, Number(x.value) - 1);
|
|
751
|
-
j.value = e,
|
|
751
|
+
j.value = e, ge(e);
|
|
752
752
|
return;
|
|
753
753
|
}
|
|
754
754
|
if (Z.value === "end") {
|
|
755
|
-
const e = Math.max(Number(
|
|
755
|
+
const e = Math.max(Number(y.value) + 1, a.min + l + 1), i = Math.min(a.max, e);
|
|
756
756
|
U.value = i, xe(i);
|
|
757
757
|
}
|
|
758
758
|
}
|
|
@@ -783,7 +783,7 @@ const ql = ["data-minimap"], Yl = {
|
|
|
783
783
|
const t = Pl.value, l = $l.value;
|
|
784
784
|
return W.value.flatMap((e) => {
|
|
785
785
|
if (!e?.isVisible) return [];
|
|
786
|
-
if (!["line", "plot"].includes(e.type)) return [];
|
|
786
|
+
if (!["line", "plot"].includes(e.type) || !e.type) return [];
|
|
787
787
|
const i = [], o = e.points?.find((L) => L.i === t && L.value !== null), c = e.points?.find((L) => L.i === l && L.value !== null);
|
|
788
788
|
return o && i.push({
|
|
789
789
|
key: `${e.key}-left-${o.i}`,
|
|
@@ -811,8 +811,8 @@ const ql = ["data-minimap"], Yl = {
|
|
|
811
811
|
class: "vue-data-ui-zoom",
|
|
812
812
|
ref_key: "zoomWrapper",
|
|
813
813
|
ref: $,
|
|
814
|
-
onMousedown:
|
|
815
|
-
onTouchstart:
|
|
814
|
+
onMousedown: yt,
|
|
815
|
+
onTouchstart: yt
|
|
816
816
|
}, [
|
|
817
817
|
N("div", Yl, [
|
|
818
818
|
n.valueStart !== n.refreshStartPoint || n.valueEnd !== Gt.value ? (u(), r("div", Gl, [
|
|
@@ -846,11 +846,11 @@ const ql = ["data-minimap"], Yl = {
|
|
|
846
846
|
onMouseenter: l[19] || (l[19] = (e) => G.value = !0),
|
|
847
847
|
onMouseleave: l[20] || (l[20] = (e) => G.value = !1)
|
|
848
848
|
}, [
|
|
849
|
-
M.value ? (u(), r(
|
|
849
|
+
M.value ? (u(), r(b, { key: 0 }, [
|
|
850
850
|
N("div", Jl, [
|
|
851
851
|
(u(), r("svg", {
|
|
852
852
|
key: `mm-${n.minimapMerged ? "merged" : "split"}-${n.minimapCompact ? "compact" : "normal"}`,
|
|
853
|
-
xmlns:
|
|
853
|
+
xmlns: ye(zt),
|
|
854
854
|
viewBox: `0 0 ${Math.max(0, d.value.width)} ${Math.max(0, d.value.height)}`
|
|
855
855
|
}, [
|
|
856
856
|
N("defs", null, [
|
|
@@ -882,7 +882,7 @@ const ql = ["data-minimap"], Yl = {
|
|
|
882
882
|
stroke: n.minimapFrameColor,
|
|
883
883
|
rx: 3
|
|
884
884
|
}, null, 8, ta)) : v("", !0),
|
|
885
|
-
t.$slots.slotMap ? v("", !0) : (u(), r(
|
|
885
|
+
t.$slots.slotMap ? v("", !0) : (u(), r(b, { key: 1 }, [
|
|
886
886
|
n.minimapMerged ? (u(), r("path", {
|
|
887
887
|
key: 0,
|
|
888
888
|
d: `M${m.value.fullSet}`,
|
|
@@ -899,9 +899,9 @@ const ql = ["data-minimap"], Yl = {
|
|
|
899
899
|
fill: `url(#${Pe.value})`,
|
|
900
900
|
stroke: "none",
|
|
901
901
|
style: { opacity: "0.6" }
|
|
902
|
-
}, null, 8, aa)) : n.minimapMerged ? v("", !0) : (u(), r(
|
|
903
|
-
(u(!0), r(
|
|
904
|
-
(u(!0), r(
|
|
902
|
+
}, null, 8, aa)) : n.minimapMerged ? v("", !0) : (u(), r(b, { key: 2 }, [
|
|
903
|
+
(u(!0), r(b, null, S(W.value.filter((e) => e.type === "bar" && e.isVisible), (e, i) => (u(), r("g", null, [
|
|
904
|
+
(u(!0), r(b, null, S(e.points, (o, c) => (u(), r(b, null, [
|
|
905
905
|
e && !isNaN(o.y) ? (u(), r("rect", {
|
|
906
906
|
key: 0,
|
|
907
907
|
x: nt(o.x, i, c),
|
|
@@ -913,7 +913,7 @@ const ql = ["data-minimap"], Yl = {
|
|
|
913
913
|
}, null, 8, na)) : v("", !0)
|
|
914
914
|
], 64))), 256))
|
|
915
915
|
]))), 256)),
|
|
916
|
-
(u(!0), r(
|
|
916
|
+
(u(!0), r(b, null, S(W.value.filter((e) => e.type === "line"), (e) => (u(), r("g", null, [
|
|
917
917
|
e.isVisible ? (u(), r("path", {
|
|
918
918
|
key: 0,
|
|
919
919
|
d: `M ${e.fullSet}`,
|
|
@@ -922,26 +922,26 @@ const ql = ["data-minimap"], Yl = {
|
|
|
922
922
|
style: { opacity: "0.6" },
|
|
923
923
|
"stroke-dasharray": e.dashed ? "2 4" : 0
|
|
924
924
|
}, null, 8, ia)) : v("", !0),
|
|
925
|
-
e.isVisible && n.cutNullValues ? (u(!0), r(
|
|
925
|
+
e.isVisible && n.cutNullValues ? (u(!0), r(b, { key: 1 }, S(e.fullMarkers, (i) => (u(), r("circle", {
|
|
926
926
|
key: `sel-dot-under-${e.key}-${i.i}`,
|
|
927
927
|
cx: i.x,
|
|
928
928
|
cy: i.y,
|
|
929
929
|
r: "2",
|
|
930
930
|
fill: e.color,
|
|
931
|
-
stroke:
|
|
931
|
+
stroke: g.value,
|
|
932
932
|
"stroke-width": "0.5",
|
|
933
933
|
style: { opacity: "0.6" }
|
|
934
934
|
}, null, 8, ua))), 128)) : v("", !0)
|
|
935
935
|
]))), 256)),
|
|
936
|
-
(u(!0), r(
|
|
937
|
-
(u(!0), r(
|
|
936
|
+
(u(!0), r(b, null, S(W.value.filter((e) => e.type === "plot"), (e) => (u(), r("g", null, [
|
|
937
|
+
(u(!0), r(b, null, S(e.points, (i) => (u(), r("g", null, [
|
|
938
938
|
e.isVisible && i.value !== null ? (u(), r("circle", {
|
|
939
939
|
key: `sel-plot-under-${e.key}-${i.i}`,
|
|
940
940
|
cx: i.x,
|
|
941
941
|
cy: i.y,
|
|
942
942
|
r: "2",
|
|
943
943
|
fill: e.color,
|
|
944
|
-
stroke:
|
|
944
|
+
stroke: g.value,
|
|
945
945
|
"stroke-width": "0.5",
|
|
946
946
|
style: { opacity: "0.6" }
|
|
947
947
|
}, null, 8, ra)) : v("", !0)
|
|
@@ -954,7 +954,7 @@ const ql = ["data-minimap"], Yl = {
|
|
|
954
954
|
y: 0,
|
|
955
955
|
width: Math.max(0, C.value.width),
|
|
956
956
|
height: Math.max(d.value.height, 0),
|
|
957
|
-
fill:
|
|
957
|
+
fill: g.value,
|
|
958
958
|
rx: n.minimapSelectionRadius,
|
|
959
959
|
stroke: "none"
|
|
960
960
|
}, null, 8, oa),
|
|
@@ -964,7 +964,7 @@ const ql = ["data-minimap"], Yl = {
|
|
|
964
964
|
width: C.value.width < 0 ? 0 : C.value.width,
|
|
965
965
|
height: Math.max(d.value.height, 0),
|
|
966
966
|
rx: n.minimapSelectionRadius,
|
|
967
|
-
fill:
|
|
967
|
+
fill: g.value,
|
|
968
968
|
style: F({ opacity: te.value || R.value ? 0 : 1 })
|
|
969
969
|
}, null, 12, sa),
|
|
970
970
|
N("rect", {
|
|
@@ -980,8 +980,8 @@ const ql = ["data-minimap"], Yl = {
|
|
|
980
980
|
"aria-label": "Selected range",
|
|
981
981
|
"aria-valuemin": Number(a.min),
|
|
982
982
|
"aria-valuemax": Number(a.max),
|
|
983
|
-
"aria-valuenow": Number(
|
|
984
|
-
"aria-valuetext":
|
|
983
|
+
"aria-valuenow": Number(y.value),
|
|
984
|
+
"aria-valuetext": p.value.left && p.value.right ? `${p.value.left} – ${p.value.right}` : void 0,
|
|
985
985
|
onKeydown: kl
|
|
986
986
|
}, null, 44, ca),
|
|
987
987
|
!n.minimapMerged && nl.value < 0 ? (u(), r("line", {
|
|
@@ -994,9 +994,9 @@ const ql = ["data-minimap"], Yl = {
|
|
|
994
994
|
stroke: n.minimapFrameColor,
|
|
995
995
|
"stroke-width": "0.5"
|
|
996
996
|
}, null, 8, va)) : v("", !0),
|
|
997
|
-
t.$slots.slotMap ? v("", !0) : (u(), r(
|
|
997
|
+
t.$slots.slotMap ? v("", !0) : (u(), r(b, { key: 3 }, [
|
|
998
998
|
n.minimapMerged ? (u(), r("g", ma, [
|
|
999
|
-
m.value && m.value.sliced && m.value.sliced.length ? (u(), r(
|
|
999
|
+
m.value && m.value.sliced && m.value.sliced.length ? (u(), r(b, { key: 0 }, [
|
|
1000
1000
|
m.value.selectionSet ? (u(), r("path", {
|
|
1001
1001
|
key: 0,
|
|
1002
1002
|
d: `M${m.value.sliced[0].x},${Math.max(d.value.height, 0)} ${m.value.selectionSet} L${m.value.sliced[m.value.sliced.length - 1].x},${Math.max(d.value.height, 0)}Z`,
|
|
@@ -1019,7 +1019,7 @@ const ql = ["data-minimap"], Yl = {
|
|
|
1019
1019
|
cx: m.value.firstPlot.x,
|
|
1020
1020
|
cy: m.value.firstPlot.y,
|
|
1021
1021
|
"stroke-width": "0.5",
|
|
1022
|
-
stroke:
|
|
1022
|
+
stroke: g.value,
|
|
1023
1023
|
r: "3",
|
|
1024
1024
|
fill: n.minimapLineColor
|
|
1025
1025
|
}, null, 8, fa)) : v("", !0),
|
|
@@ -1028,13 +1028,13 @@ const ql = ["data-minimap"], Yl = {
|
|
|
1028
1028
|
cx: m.value.lastPlot.x,
|
|
1029
1029
|
cy: m.value.lastPlot.y,
|
|
1030
1030
|
"stroke-width": "0.5",
|
|
1031
|
-
stroke:
|
|
1031
|
+
stroke: g.value,
|
|
1032
1032
|
r: "3",
|
|
1033
1033
|
fill: n.minimapLineColor
|
|
1034
|
-
}, null, 8,
|
|
1035
|
-
])) : (u(), r("g",
|
|
1036
|
-
(u(!0), r(
|
|
1037
|
-
(u(!0), r(
|
|
1034
|
+
}, null, 8, ya)) : v("", !0)
|
|
1035
|
+
])) : (u(), r("g", ga, [
|
|
1036
|
+
(u(!0), r(b, null, S(W.value.filter((e) => e.type === "bar" && e.isVisible), (e, i) => (u(), r("g", null, [
|
|
1037
|
+
(u(!0), r(b, null, S(e.points, (o, c) => (u(), r(b, null, [
|
|
1038
1038
|
e && !isNaN(o.y) ? (u(), r("rect", {
|
|
1039
1039
|
key: 0,
|
|
1040
1040
|
x: nt(o.x, i, c),
|
|
@@ -1046,7 +1046,7 @@ const ql = ["data-minimap"], Yl = {
|
|
|
1046
1046
|
}, null, 12, xa)) : v("", !0)
|
|
1047
1047
|
], 64))), 256))
|
|
1048
1048
|
]))), 256)),
|
|
1049
|
-
(u(!0), r(
|
|
1049
|
+
(u(!0), r(b, null, S(W.value.filter((e) => e.type === "line"), (e, i) => (u(), r("g", {
|
|
1050
1050
|
key: String(e.key)
|
|
1051
1051
|
}, [
|
|
1052
1052
|
e && e.hasSelection && e.selectionSet && e.isVisible ? (u(), r("path", {
|
|
@@ -1060,20 +1060,20 @@ const ql = ["data-minimap"], Yl = {
|
|
|
1060
1060
|
"stroke-dasharray": e.dashed ? "2 4" : 0
|
|
1061
1061
|
}, null, 8, Ma)) : v("", !0)
|
|
1062
1062
|
]))), 128)),
|
|
1063
|
-
(u(!0), r(
|
|
1063
|
+
(u(!0), r(b, null, S(W.value.filter((e) => e.type === "plot"), (e) => (u(), r("g", {
|
|
1064
1064
|
key: String(e.key)
|
|
1065
1065
|
}, [
|
|
1066
|
-
(u(!0), r(
|
|
1066
|
+
(u(!0), r(b, null, S(e.points, (i) => (u(), r("g", null, [
|
|
1067
1067
|
e.isVisible && i.value !== null ? (u(), r("circle", {
|
|
1068
1068
|
key: 0,
|
|
1069
1069
|
cx: i.x,
|
|
1070
1070
|
cy: i.y,
|
|
1071
1071
|
r: "2",
|
|
1072
1072
|
fill: e.color,
|
|
1073
|
-
stroke:
|
|
1073
|
+
stroke: g.value,
|
|
1074
1074
|
"stroke-width": "0.5",
|
|
1075
1075
|
style: { opacity: "0.6" }
|
|
1076
|
-
}, null, 8,
|
|
1076
|
+
}, null, 8, ba)) : v("", !0)
|
|
1077
1077
|
]))), 256))
|
|
1078
1078
|
]))), 128))
|
|
1079
1079
|
]))
|
|
@@ -1084,15 +1084,15 @@ const ql = ["data-minimap"], Yl = {
|
|
|
1084
1084
|
zeroY: Ve.value,
|
|
1085
1085
|
unitW: Math.max(0, k.value)
|
|
1086
1086
|
})), void 0, !0) : v("", !0),
|
|
1087
|
-
D.value !== null && !O.value ? (u(), r("line", Vt(Ne({ key: 5 },
|
|
1088
|
-
t.$slots.slotMap ? v("", !0) : (u(), r(
|
|
1089
|
-
n.minimapMerged ? (u(), r("g",
|
|
1087
|
+
D.value !== null && !O.value ? (u(), r("line", Vt(Ne({ key: 5 }, pl.value)), null, 16)) : v("", !0),
|
|
1088
|
+
t.$slots.slotMap ? v("", !0) : (u(), r(b, { key: 6 }, [
|
|
1089
|
+
n.minimapMerged ? (u(), r("g", pa, [
|
|
1090
1090
|
m.value && m.value.firstPlot && m.value.firstPlot.value !== null ? (u(), r("circle", {
|
|
1091
1091
|
key: 0,
|
|
1092
1092
|
cx: m.value.firstPlot.x,
|
|
1093
1093
|
cy: m.value.firstPlot.y,
|
|
1094
1094
|
"stroke-width": "0.5",
|
|
1095
|
-
stroke:
|
|
1095
|
+
stroke: g.value,
|
|
1096
1096
|
r: "4",
|
|
1097
1097
|
fill: n.minimapLineColor
|
|
1098
1098
|
}, null, 8, ka)) : v("", !0),
|
|
@@ -1101,14 +1101,14 @@ const ql = ["data-minimap"], Yl = {
|
|
|
1101
1101
|
cx: m.value.firstPlot.x,
|
|
1102
1102
|
cy: m.value.firstPlot.y,
|
|
1103
1103
|
r: 2,
|
|
1104
|
-
fill:
|
|
1104
|
+
fill: g.value
|
|
1105
1105
|
}, null, 8, wa)) : v("", !0),
|
|
1106
1106
|
m.value && m.value.lastPlot && m.value.lastPlot.value !== null ? (u(), r("circle", {
|
|
1107
1107
|
key: 2,
|
|
1108
1108
|
cx: m.value.lastPlot.x,
|
|
1109
1109
|
cy: m.value.lastPlot.y,
|
|
1110
1110
|
"stroke-width": "0.5",
|
|
1111
|
-
stroke:
|
|
1111
|
+
stroke: g.value,
|
|
1112
1112
|
r: "4",
|
|
1113
1113
|
fill: n.minimapLineColor
|
|
1114
1114
|
}, null, 8, Sa)) : v("", !0),
|
|
@@ -1117,10 +1117,10 @@ const ql = ["data-minimap"], Yl = {
|
|
|
1117
1117
|
cx: m.value.lastPlot.x,
|
|
1118
1118
|
cy: m.value.lastPlot.y,
|
|
1119
1119
|
r: "2",
|
|
1120
|
-
fill:
|
|
1120
|
+
fill: g.value
|
|
1121
1121
|
}, null, 8, Ca)) : v("", !0)
|
|
1122
1122
|
])) : (u(), r("g", Na, [
|
|
1123
|
-
(u(!0), r(
|
|
1123
|
+
(u(!0), r(b, null, S(W.value.filter((e) => e.type === "line"), (e, i) => (u(), r("g", {
|
|
1124
1124
|
key: String(e.key)
|
|
1125
1125
|
}, [
|
|
1126
1126
|
e && e.hasSelection && e.selectionSet && e.isVisible ? (u(), r("path", {
|
|
@@ -1133,13 +1133,13 @@ const ql = ["data-minimap"], Yl = {
|
|
|
1133
1133
|
"stroke-linejoin": "round",
|
|
1134
1134
|
"stroke-dasharray": e.dashed ? "2 4" : 0
|
|
1135
1135
|
}, null, 8, La)) : v("", !0),
|
|
1136
|
-
e.isVisible && n.cutNullValues ? (u(!0), r(
|
|
1136
|
+
e.isVisible && n.cutNullValues ? (u(!0), r(b, { key: 1 }, S(e.selectionMarkers, (o) => (u(), r("circle", {
|
|
1137
1137
|
key: `sel-dot-${e.key}-${o.i}`,
|
|
1138
1138
|
cx: o.x,
|
|
1139
1139
|
cy: o.y,
|
|
1140
1140
|
r: "2.5",
|
|
1141
1141
|
fill: e.color,
|
|
1142
|
-
stroke:
|
|
1142
|
+
stroke: g.value,
|
|
1143
1143
|
"stroke-width": "0.5"
|
|
1144
1144
|
}, null, 8, Pa))), 128)) : v("", !0),
|
|
1145
1145
|
e && e.firstPlot && e.isVisible && e.firstPlot.value !== null ? (u(), r("circle", {
|
|
@@ -1147,7 +1147,7 @@ const ql = ["data-minimap"], Yl = {
|
|
|
1147
1147
|
cx: e.firstPlot.x,
|
|
1148
1148
|
cy: e.firstPlot.y,
|
|
1149
1149
|
"stroke-width": "0.5",
|
|
1150
|
-
stroke:
|
|
1150
|
+
stroke: g.value,
|
|
1151
1151
|
r: "4",
|
|
1152
1152
|
fill: e.color
|
|
1153
1153
|
}, null, 8, $a)) : v("", !0),
|
|
@@ -1156,14 +1156,14 @@ const ql = ["data-minimap"], Yl = {
|
|
|
1156
1156
|
cx: e.firstPlot.x,
|
|
1157
1157
|
cy: e.firstPlot.y,
|
|
1158
1158
|
r: "2",
|
|
1159
|
-
fill:
|
|
1159
|
+
fill: g.value
|
|
1160
1160
|
}, null, 8, Aa)) : v("", !0),
|
|
1161
1161
|
e && e.lastPlot && e.isVisible && e.lastPlot.value !== null ? (u(), r("circle", {
|
|
1162
1162
|
key: 4,
|
|
1163
1163
|
cx: e.lastPlot.x,
|
|
1164
1164
|
cy: e.lastPlot.y,
|
|
1165
1165
|
"stroke-width": "0.5",
|
|
1166
|
-
stroke:
|
|
1166
|
+
stroke: g.value,
|
|
1167
1167
|
r: "4",
|
|
1168
1168
|
fill: e.color
|
|
1169
1169
|
}, null, 8, Fa)) : v("", !0),
|
|
@@ -1172,27 +1172,27 @@ const ql = ["data-minimap"], Yl = {
|
|
|
1172
1172
|
cx: e.lastPlot.x,
|
|
1173
1173
|
cy: e.lastPlot.y,
|
|
1174
1174
|
r: "2",
|
|
1175
|
-
fill:
|
|
1175
|
+
fill: g.value
|
|
1176
1176
|
}, null, 8, Ea)) : v("", !0)
|
|
1177
1177
|
]))), 128)),
|
|
1178
|
-
(u(!0), r(
|
|
1178
|
+
(u(!0), r(b, null, S(W.value.filter((e) => e.type === "plot"), (e) => (u(), r("g", {
|
|
1179
1179
|
key: String(e.key)
|
|
1180
1180
|
}, [
|
|
1181
|
-
(u(!0), r(
|
|
1181
|
+
(u(!0), r(b, null, S(e.points, (i) => (u(), r("g", null, [
|
|
1182
1182
|
e.isVisible && n.cutNullValues && i.value !== null ? (u(), r("circle", {
|
|
1183
1183
|
key: `sel-plot-${e.key}-${i.i}`,
|
|
1184
1184
|
cx: i.x,
|
|
1185
1185
|
cy: i.y,
|
|
1186
1186
|
r: "2.5",
|
|
1187
1187
|
fill: e.color,
|
|
1188
|
-
stroke:
|
|
1188
|
+
stroke: g.value,
|
|
1189
1189
|
"stroke-width": "0.5"
|
|
1190
1190
|
}, null, 8, Ra)) : v("", !0)
|
|
1191
1191
|
]))), 256))
|
|
1192
1192
|
]))), 128))
|
|
1193
1193
|
]))
|
|
1194
1194
|
], 64)),
|
|
1195
|
-
(u(!0), r(
|
|
1195
|
+
(u(!0), r(b, null, S(et.value, (e, i) => (u(), r("rect", {
|
|
1196
1196
|
x: k.value * i - (n.minimapCompact ? k.value / 2 : 0),
|
|
1197
1197
|
y: 0,
|
|
1198
1198
|
height: Math.max(d.value.height, 0),
|
|
@@ -1210,7 +1210,7 @@ const ql = ["data-minimap"], Yl = {
|
|
|
1210
1210
|
]),
|
|
1211
1211
|
M.value && n.minimapCompact ? (u(), r("div", Ba, [
|
|
1212
1212
|
(u(), r("svg", {
|
|
1213
|
-
xmlns:
|
|
1213
|
+
xmlns: ye(zt),
|
|
1214
1214
|
viewBox: `0 0 ${Math.max(0, d.value.width)} ${Math.max(0, d.value.height)}`,
|
|
1215
1215
|
preserveAspectRatio: "none"
|
|
1216
1216
|
}, [
|
|
@@ -1220,7 +1220,7 @@ const ql = ["data-minimap"], Yl = {
|
|
|
1220
1220
|
y: 0,
|
|
1221
1221
|
width: Math.min(40, Math.max(20, n.handleWidth)),
|
|
1222
1222
|
height: d.value.height,
|
|
1223
|
-
fill: n.handleFill ||
|
|
1223
|
+
fill: n.handleFill || g.value,
|
|
1224
1224
|
stroke: n.handleBorderColor || n.textColor,
|
|
1225
1225
|
"stroke-width": n.handleBorderWidth,
|
|
1226
1226
|
rx: 3
|
|
@@ -1244,7 +1244,7 @@ const ql = ["data-minimap"], Yl = {
|
|
|
1244
1244
|
n.handleType === "arrow" ? (u(), r("path", {
|
|
1245
1245
|
key: 0,
|
|
1246
1246
|
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",
|
|
1247
|
-
fill:
|
|
1247
|
+
fill: g.value,
|
|
1248
1248
|
stroke: n.handleIconColor || n.textColor,
|
|
1249
1249
|
"stroke-width": 0.618,
|
|
1250
1250
|
"stroke-linejoin": "round",
|
|
@@ -1272,7 +1272,7 @@ const ql = ["data-minimap"], Yl = {
|
|
|
1272
1272
|
y: 0,
|
|
1273
1273
|
width: Math.min(40, Math.max(20, n.handleWidth)),
|
|
1274
1274
|
height: d.value.height,
|
|
1275
|
-
fill: n.handleFill ||
|
|
1275
|
+
fill: n.handleFill || g.value,
|
|
1276
1276
|
stroke: n.handleBorderColor || n.textColor,
|
|
1277
1277
|
"stroke-width": n.handleBorderWidth,
|
|
1278
1278
|
rx: 3
|
|
@@ -1296,7 +1296,7 @@ const ql = ["data-minimap"], Yl = {
|
|
|
1296
1296
|
n.handleType === "arrow" ? (u(), r("path", {
|
|
1297
1297
|
key: 0,
|
|
1298
1298
|
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",
|
|
1299
|
-
fill:
|
|
1299
|
+
fill: g.value,
|
|
1300
1300
|
stroke: n.handleIconColor || n.textColor,
|
|
1301
1301
|
"stroke-width": 0.618,
|
|
1302
1302
|
"stroke-linejoin": "round",
|
|
@@ -1319,21 +1319,21 @@ const ql = ["data-minimap"], Yl = {
|
|
|
1319
1319
|
], 8, Za))
|
|
1320
1320
|
], 8, Oa)) : v("", !0),
|
|
1321
1321
|
N("g", Ya, [
|
|
1322
|
-
(u(!0), r(
|
|
1322
|
+
(u(!0), r(b, null, S(Rt.value, (e) => (u(), r("circle", {
|
|
1323
1323
|
key: e.key,
|
|
1324
1324
|
cx: e.x,
|
|
1325
1325
|
cy: e.y,
|
|
1326
1326
|
r: "4",
|
|
1327
1327
|
fill: e.color,
|
|
1328
|
-
stroke:
|
|
1328
|
+
stroke: g.value,
|
|
1329
1329
|
"stroke-width": "0.5"
|
|
1330
1330
|
}, null, 8, Ga))), 128)),
|
|
1331
|
-
(u(!0), r(
|
|
1331
|
+
(u(!0), r(b, null, S(Rt.value, (e) => (u(), r("circle", {
|
|
1332
1332
|
key: `${e.key}-inner`,
|
|
1333
1333
|
cx: e.x,
|
|
1334
1334
|
cy: e.y,
|
|
1335
1335
|
r: "2",
|
|
1336
|
-
fill:
|
|
1336
|
+
fill: g.value
|
|
1337
1337
|
}, null, 8, Ja))), 128))
|
|
1338
1338
|
])
|
|
1339
1339
|
], 8, Ia))
|
|
@@ -1368,18 +1368,18 @@ const ql = ["data-minimap"], Yl = {
|
|
|
1368
1368
|
min: n.min,
|
|
1369
1369
|
max: n.minimapCompact && M.value ? Math.max(0, q.value - 1) : n.max,
|
|
1370
1370
|
tabindex: M.value ? -1 : 0,
|
|
1371
|
-
"onUpdate:modelValue": l[11] || (l[11] = (e) =>
|
|
1371
|
+
"onUpdate:modelValue": l[11] || (l[11] = (e) => be.value = e),
|
|
1372
1372
|
onFocus: l[12] || (l[12] = (e) => M.value && e.target.blur()),
|
|
1373
|
-
onInput: l[13] || (l[13] = (e) =>
|
|
1373
|
+
onInput: l[13] || (l[13] = (e) => be.value = e.target.valueAsNumber),
|
|
1374
1374
|
onChange: A,
|
|
1375
1375
|
onKeyup: Xt(A, ["enter"]),
|
|
1376
1376
|
onBlur: A,
|
|
1377
|
-
onMouseenter: l[14] || (l[14] = (e) =>
|
|
1377
|
+
onMouseenter: l[14] || (l[14] = (e) => bt("start")),
|
|
1378
1378
|
onPointerup: A
|
|
1379
1379
|
}, null, 42, Qa)), [
|
|
1380
1380
|
[
|
|
1381
1381
|
Ht,
|
|
1382
|
-
|
|
1382
|
+
be.value,
|
|
1383
1383
|
void 0,
|
|
1384
1384
|
{ number: !0 }
|
|
1385
1385
|
]
|
|
@@ -1400,22 +1400,22 @@ const ql = ["data-minimap"], Yl = {
|
|
|
1400
1400
|
max: n.minimapCompact && M.value ? Math.max(0, q.value - 1) : n.max,
|
|
1401
1401
|
tabindex: M.value ? -1 : 0,
|
|
1402
1402
|
onFocus: l[15] || (l[15] = (e) => M.value && e.target.blur()),
|
|
1403
|
-
"onUpdate:modelValue": l[16] || (l[16] = (e) =>
|
|
1404
|
-
onInput: l[17] || (l[17] = (e) =>
|
|
1403
|
+
"onUpdate:modelValue": l[16] || (l[16] = (e) => pe.value = e),
|
|
1404
|
+
onInput: l[17] || (l[17] = (e) => pe.value = e.target.valueAsNumber),
|
|
1405
1405
|
onChange: A,
|
|
1406
1406
|
onKeyup: Xt(A, ["enter"]),
|
|
1407
1407
|
onBlur: A,
|
|
1408
|
-
onMouseenter: l[18] || (l[18] = (e) =>
|
|
1408
|
+
onMouseenter: l[18] || (l[18] = (e) => bt("end")),
|
|
1409
1409
|
onPointerup: A
|
|
1410
1410
|
}, null, 42, _a)), [
|
|
1411
1411
|
[
|
|
1412
1412
|
Ht,
|
|
1413
|
-
|
|
1413
|
+
pe.value,
|
|
1414
1414
|
void 0,
|
|
1415
1415
|
{ number: !0 }
|
|
1416
1416
|
]
|
|
1417
1417
|
]) : v("", !0),
|
|
1418
|
-
|
|
1418
|
+
p.value.left ? (u(), r("div", {
|
|
1419
1419
|
key: 3,
|
|
1420
1420
|
ref_key: "tooltipLeft",
|
|
1421
1421
|
ref: se,
|
|
@@ -1427,15 +1427,15 @@ const ql = ["data-minimap"], Yl = {
|
|
|
1427
1427
|
}),
|
|
1428
1428
|
style: F({
|
|
1429
1429
|
left: T.value.tooltipLeft,
|
|
1430
|
-
color:
|
|
1430
|
+
color: ye(qe)(n.selectColor),
|
|
1431
1431
|
backgroundColor: n.selectColor,
|
|
1432
|
-
border: `1px solid ${
|
|
1432
|
+
border: `1px solid ${g.value}`,
|
|
1433
1433
|
zIndex: `${Mt.value + 4}`,
|
|
1434
|
-
visibility: me.value ||
|
|
1434
|
+
visibility: me.value || p.value.left === p.value.right ? "hidden" : "visible",
|
|
1435
1435
|
top: M.value && n.minimapCompact ? "calc(-100% - 12px)" : "-100%"
|
|
1436
1436
|
})
|
|
1437
|
-
}, Ue(
|
|
1438
|
-
(me.value ||
|
|
1437
|
+
}, Ue(p.value.left), 7)) : v("", !0),
|
|
1438
|
+
(me.value || p.value.left === p.value.right) && (p.value.left || p.value.right) ? (u(), r("div", {
|
|
1439
1439
|
key: 4,
|
|
1440
1440
|
ref: "tooltipMerge",
|
|
1441
1441
|
class: ae({
|
|
@@ -1448,14 +1448,14 @@ const ql = ["data-minimap"], Yl = {
|
|
|
1448
1448
|
style: F({
|
|
1449
1449
|
left: T.value.tooltipCenter,
|
|
1450
1450
|
width: de.value.width + "px",
|
|
1451
|
-
color:
|
|
1451
|
+
color: ye(qe)(n.selectColor),
|
|
1452
1452
|
backgroundColor: n.selectColor,
|
|
1453
|
-
border: `1px solid ${
|
|
1453
|
+
border: `1px solid ${g.value}`,
|
|
1454
1454
|
zIndex: "4",
|
|
1455
1455
|
top: M.value && n.minimapCompact ? "calc(-100% - 12px)" : "-100%"
|
|
1456
1456
|
})
|
|
1457
|
-
}, Ue(
|
|
1458
|
-
|
|
1457
|
+
}, Ue(p.value.left === p.value.right ? p.value.left : `${p.value.left} - ${p.value.right}`), 7)) : v("", !0),
|
|
1458
|
+
p.value.right ? (u(), r("div", {
|
|
1459
1459
|
key: 5,
|
|
1460
1460
|
ref_key: "tooltipRight",
|
|
1461
1461
|
ref: ce,
|
|
@@ -1467,18 +1467,18 @@ const ql = ["data-minimap"], Yl = {
|
|
|
1467
1467
|
}),
|
|
1468
1468
|
style: F({
|
|
1469
1469
|
left: T.value.tooltipRight,
|
|
1470
|
-
color:
|
|
1470
|
+
color: ye(qe)(n.selectColor),
|
|
1471
1471
|
backgroundColor: n.selectColor,
|
|
1472
|
-
border: `1px solid ${
|
|
1472
|
+
border: `1px solid ${g.value}`,
|
|
1473
1473
|
zIndex: "4",
|
|
1474
|
-
visibility: me.value ||
|
|
1474
|
+
visibility: me.value || p.value.left === p.value.right ? "hidden" : "visible",
|
|
1475
1475
|
top: M.value && n.minimapCompact ? "calc(-100% - 12px)" : "-100%"
|
|
1476
1476
|
})
|
|
1477
|
-
}, Ue(
|
|
1477
|
+
}, Ue(p.value.right), 7)) : v("", !0)
|
|
1478
1478
|
], 36)
|
|
1479
1479
|
], 44, ql));
|
|
1480
1480
|
}
|
|
1481
|
-
}, rn = /* @__PURE__ */ Ul(en, [["__scopeId", "data-v-
|
|
1481
|
+
}, rn = /* @__PURE__ */ Ul(en, [["__scopeId", "data-v-763b0cd5"]]);
|
|
1482
1482
|
export {
|
|
1483
1483
|
rn as S
|
|
1484
1484
|
};
|