vue-data-ui 3.13.2 → 3.13.4
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-CdPbb2sr.js → PackageVersion-C1Ia4Osa.js} +1 -1
- package/dist/{Slicer-D6ACafGp.js → Slicer-BELCOFx-.js} +167 -160
- package/dist/{SlicerPreview-BEkr4ELo.js → SlicerPreview-BciDdnXB.js} +223 -216
- package/dist/{Title-CeMocAxM.js → Title-DPeHXmsJ.js} +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-bump.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-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 +3 -1
- package/dist/{useNestedProp-Bamwa7TH.js → useNestedProp-DjoyBYIz.js} +5 -2
- package/dist/{vue-data-ui-C_fGFzEp.js → vue-data-ui-CXMubDkQ.js} +67 -67
- package/dist/vue-data-ui.js +69 -69
- package/dist/{vue-ui-3d-bar-DP7IdUbR.js → vue-ui-3d-bar-DuIllDhC.js} +3 -3
- package/dist/{vue-ui-accordion-d_mYq_ty.js → vue-ui-accordion-DIafkLLh.js} +1 -1
- package/dist/{vue-ui-age-pyramid-NXkGU5ye.js → vue-ui-age-pyramid-F277LP_p.js} +3 -3
- package/dist/{vue-ui-annotator-K9tPH67i.js → vue-ui-annotator-CWklKU90.js} +2 -2
- package/dist/{vue-ui-bullet-BGuwKETO.js → vue-ui-bullet-DGiNmsY5.js} +3 -3
- package/dist/{vue-ui-bump-DEOPNx5y.js → vue-ui-bump-BVx3pyWE.js} +3 -3
- package/dist/{vue-ui-candlestick-BWq1wKcM.js → vue-ui-candlestick-q20Az_vC.js} +7 -6
- package/dist/{vue-ui-carousel-table-CZxffzDF.js → vue-ui-carousel-table-paln_xSL.js} +2 -2
- package/dist/{vue-ui-chestnut-50SNPqfM.js → vue-ui-chestnut-BUQVCplK.js} +2 -2
- package/dist/{vue-ui-chord-DlrZM-bY.js → vue-ui-chord-Ce3Ac3OA.js} +3 -3
- package/dist/{vue-ui-circle-pack-tbs6FbUJ.js → vue-ui-circle-pack-DjjvjEaN.js} +3 -3
- package/dist/{vue-ui-cursor-CeX4EQK5.js → vue-ui-cursor-xJGQfL6H.js} +2 -2
- package/dist/{vue-ui-dag-kSTQu200.js → vue-ui-dag-BcTqF3b0.js} +3 -3
- package/dist/{vue-ui-dashboard-CVIihTvt.js → vue-ui-dashboard-Dq3WouX5.js} +64 -64
- package/dist/{vue-ui-digits-C8-MaCF9.js → vue-ui-digits-oaX2Rgl6.js} +1 -1
- package/dist/{vue-ui-donut-CvgJGvr8.js → vue-ui-donut-BZ84Pw3F.js} +3 -3
- package/dist/{vue-ui-donut-evolution-8t3VpFBM.js → vue-ui-donut-evolution-BtuKKVDh.js} +28 -27
- package/dist/{vue-ui-dumbbell-DhsqhBMZ.js → vue-ui-dumbbell-C7sKuu8m.js} +3 -3
- package/dist/{vue-ui-flow-40_lIp68.js → vue-ui-flow-Bkx_4KR7.js} +3 -3
- package/dist/{vue-ui-funnel-B2ORn05E.js → vue-ui-funnel-C0Sqt3pg.js} +3 -3
- package/dist/{vue-ui-galaxy--TlNs2Sg.js → vue-ui-galaxy-C6ByAwPf.js} +3 -3
- package/dist/{vue-ui-gauge-DeY4BNFp.js → vue-ui-gauge-DjtuUa1j.js} +3 -3
- package/dist/{vue-ui-geo-aGn1sexm.js → vue-ui-geo-ClwaBRr4.js} +3 -3
- package/dist/{vue-ui-gizmo-CRFCxxhM.js → vue-ui-gizmo-DYwoPoKw.js} +2 -2
- package/dist/{vue-ui-heatmap-CL4ljUus.js → vue-ui-heatmap-B2cjprkn.js} +4 -4
- package/dist/{vue-ui-history-plot-DLxBpK70.js → vue-ui-history-plot-DovDgs7d.js} +3 -3
- package/dist/{vue-ui-horizontal-bar-BZk6t1_d.js → vue-ui-horizontal-bar-DRMphY-v.js} +4 -4
- package/dist/{vue-ui-kpi-C_1ELuRv.js → vue-ui-kpi-2p_HJTZq.js} +2 -2
- package/dist/{vue-ui-mini-loader-BZTxux3w.js → vue-ui-mini-loader-DirRi7mP.js} +1 -1
- package/dist/{vue-ui-molecule-BpcyfHpM.js → vue-ui-molecule-C7mCNWSS.js} +2 -2
- package/dist/{vue-ui-mood-radar-B6LV7jqY.js → vue-ui-mood-radar-DHKPV6u3.js} +3 -3
- package/dist/{vue-ui-nested-donuts-e_22lyMT.js → vue-ui-nested-donuts-Bqn7bXhu.js} +3 -3
- package/dist/{vue-ui-onion-BzOC2siQ.js → vue-ui-onion-HjD5re6K.js} +3 -3
- package/dist/{vue-ui-parallel-coordinate-plot-BVHkiOKh.js → vue-ui-parallel-coordinate-plot-C6c1w_tp.js} +3 -3
- package/dist/{vue-ui-quadrant-DGVkfAF_.js → vue-ui-quadrant-CS6dfVYx.js} +3 -3
- package/dist/{vue-ui-quick-chart-BsCVVyys.js → vue-ui-quick-chart-Bb0NyRBA.js} +66 -65
- package/dist/{vue-ui-radar-C6lj2GXI.js → vue-ui-radar-B6bvhvKt.js} +3 -3
- package/dist/{vue-ui-rating-CFH0jY6v.js → vue-ui-rating-CiFrD-_T.js} +1 -1
- package/dist/{vue-ui-relation-circle-D1sMLtFh.js → vue-ui-relation-circle-Cr_mR_Es.js} +3 -3
- package/dist/{vue-ui-ridgeline-Migykkg5.js → vue-ui-ridgeline-BUJV2OdA.js} +3 -3
- package/dist/{vue-ui-rings-C_BzwPOl.js → vue-ui-rings-T3n2Cf5q.js} +3 -3
- package/dist/{vue-ui-scatter-0N2N7p2u.js → vue-ui-scatter-4FqvwLM6.js} +3 -3
- package/dist/{vue-ui-skeleton-B2I-tk1Z.js → vue-ui-skeleton-CUTTNN7A.js} +2 -2
- package/dist/{vue-ui-smiley-CXzhTaY2.js → vue-ui-smiley-mnhG8ue5.js} +1 -1
- package/dist/{vue-ui-spark-trend-b7A0JJM8.js → vue-ui-spark-trend-C0HTcNoj.js} +2 -2
- package/dist/{vue-ui-sparkbar-Dvrm3-uj.js → vue-ui-sparkbar-uLJAjJXH.js} +2 -2
- package/dist/{vue-ui-sparkgauge-DxgBvphO.js → vue-ui-sparkgauge-DDDXxyYQ.js} +2 -2
- package/dist/{vue-ui-sparkhistogram-ukOI-h6-.js → vue-ui-sparkhistogram-Cv8MPWe7.js} +2 -2
- package/dist/{vue-ui-sparkline-Drbps9xL.js → vue-ui-sparkline-D5ghw08L.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-JIdKUFx1.js → vue-ui-sparkstackbar-CPA_xyx9.js} +2 -2
- package/dist/{vue-ui-stackbar-CXvQ4Bm_.js → vue-ui-stackbar-C3FQP-xJ.js} +94 -93
- package/dist/{vue-ui-stackline-CWRoLOhP.js → vue-ui-stackline-BxyretmG.js} +7 -6
- package/dist/{vue-ui-strip-plot-BANUvymx.js → vue-ui-strip-plot-BZ9iOWqO.js} +3 -3
- package/dist/{vue-ui-table-kCir7kax.js → vue-ui-table-NIg7DLgl.js} +3 -3
- package/dist/{vue-ui-table-heatmap-BMAWjTp_.js → vue-ui-table-heatmap-CGE28byI.js} +1 -1
- package/dist/{vue-ui-table-sparkline-brPOHGmn.js → vue-ui-table-sparkline-dGPa0o9F.js} +2 -2
- package/dist/{vue-ui-thermometer-C6v-w70_.js → vue-ui-thermometer-CaaunlPx.js} +3 -3
- package/dist/{vue-ui-timer-DQ5yKVhX.js → vue-ui-timer-D2APjrbL.js} +3 -3
- package/dist/{vue-ui-tiremarks-DdE7O4Ur.js → vue-ui-tiremarks-BiFzeEgA.js} +3 -3
- package/dist/{vue-ui-treemap-VzO40faB.js → vue-ui-treemap-B_2upayj.js} +3 -3
- package/dist/{vue-ui-waffle-CnzdJgOz.js → vue-ui-waffle-BX6WCDgf.js} +3 -3
- package/dist/{vue-ui-wheel-Cq_Iy__D.js → vue-ui-wheel-DCPU0Kts.js} +3 -3
- package/dist/{vue-ui-word-cloud-BH3iu9jm.js → vue-ui-word-cloud-BNVXwbj3.js} +3 -3
- package/dist/{vue-ui-world-92UxudT5.js → vue-ui-world-BGdgyGOZ.js} +2 -2
- package/dist/{vue-ui-xy-canvas-BH6gw0g-.js → vue-ui-xy-canvas-CQtgYpEg.js} +91 -90
- package/dist/{vue-ui-xy-CYKmyeYg.js → vue-ui-xy-un6b4oO0.js} +240 -239
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { useCssVars as
|
|
2
|
-
import { c as cl, y as vl, X as ml, x as
|
|
3
|
-
import { t as Xe, d as
|
|
4
|
-
import
|
|
1
|
+
import { useCssVars as rl, computed as s, ref as d, watch as Q, onMounted as ol, onBeforeUnmount as De, onUpdated as dt, nextTick as xe, createElementBlock as i, openBlock as u, normalizeStyle as L, createElementVNode as F, createCommentVNode as v, renderSlot as ht, createVNode as sl, withDirectives as gt, unref as pe, Fragment as y, renderList as S, normalizeProps as yt, mergeProps as xt, normalizeClass as _, withKeys as pt, vModelText as bt, toDisplayString as We } from "vue";
|
|
2
|
+
import { c as cl, y as vl, X as ml, x as ze, z as Mt, A as kt, B as wt, C as St, D as Ct } from "./lib-BrVUf7jz.js";
|
|
3
|
+
import { t as Xe, d as fl, u as dl } from "./useResponsive-DfdjqQps.js";
|
|
4
|
+
import hl from "./BaseIcon-CJ7mD4nD.js";
|
|
5
5
|
import { _ as gl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
6
|
const yl = {
|
|
7
7
|
class: "vue-data-ui-slicer-labels",
|
|
@@ -13,7 +13,7 @@ const yl = {
|
|
|
13
13
|
key: 0,
|
|
14
14
|
class: "minimap",
|
|
15
15
|
style: { width: "100%" }
|
|
16
|
-
}, bl = ["xmlns", "viewBox"], Ml = ["id"], kl = ["stop-color"], wl = ["width", "height", "stroke"], Sl = ["d", "stroke"], Cl = ["d", "fill"], Nl = ["x", "y", "width", "height", "fill"], Pl = ["d", "stroke"], $l = ["cx", "cy", "fill", "stroke"], Ll = ["cx", "cy", "fill", "stroke"], Fl = ["x", "width", "height", "fill", "rx"], Rl = ["x", "width", "height", "rx", "fill"], Al = ["x", "width", "height", "fill", "rx"], El = ["x2", "y1", "y2", "stroke"], Bl = { key: "merged-tree" }, Tl = ["d", "fill"], Vl = ["d", "stroke"], Il = ["cx", "cy", "stroke", "fill"], Dl = ["cx", "cy", "stroke", "fill"],
|
|
16
|
+
}, bl = ["xmlns", "viewBox"], Ml = ["id"], kl = ["stop-color"], wl = ["width", "height", "stroke"], Sl = ["d", "stroke"], Cl = ["d", "fill"], Nl = ["x", "y", "width", "height", "fill"], Pl = ["d", "stroke"], $l = ["cx", "cy", "fill", "stroke"], Ll = ["cx", "cy", "fill", "stroke"], Fl = ["x", "width", "height", "fill", "rx"], Rl = ["x", "width", "height", "rx", "fill"], Al = ["x", "width", "height", "fill", "rx"], El = ["x2", "y1", "y2", "stroke"], Bl = { key: "merged-tree" }, Tl = ["d", "fill"], Vl = ["d", "stroke"], Il = ["cx", "cy", "stroke", "fill"], Dl = ["cx", "cy", "stroke", "fill"], Wl = { key: "split-tree" }, zl = ["x", "y", "width", "height", "fill"], Xl = ["d", "stroke"], Hl = ["cx", "cy", "fill", "stroke"], Zl = ["x", "height", "fill", "stroke"], Ol = ["x", "height", "fill", "stroke"], Ul = { key: "merged-tree" }, Kl = ["cx", "cy", "stroke", "fill"], Yl = ["cx", "cy", "fill"], jl = ["cx", "cy", "stroke", "fill"], ql = ["cx", "cy", "fill"], Gl = { key: 1 }, Jl = ["d", "stroke"], Ql = ["cx", "cy", "fill", "stroke"], _l = ["cx", "cy", "stroke", "fill"], ea = ["cx", "cy", "fill"], ta = ["cx", "cy", "stroke", "fill"], la = ["cx", "cy", "fill"], aa = ["cx", "cy", "fill", "stroke"], na = ["x", "height", "width", "onMouseenter"], ia = ["min", "max"], ua = ["min", "max"], He = 48, ra = {
|
|
17
17
|
__name: "SlicerPreview",
|
|
18
18
|
props: {
|
|
19
19
|
immediate: {
|
|
@@ -189,18 +189,22 @@ const yl = {
|
|
|
189
189
|
forceZeroCenter: {
|
|
190
190
|
type: Boolean,
|
|
191
191
|
default: !1
|
|
192
|
+
},
|
|
193
|
+
maxWidth: {
|
|
194
|
+
type: Number,
|
|
195
|
+
default: null
|
|
192
196
|
}
|
|
193
197
|
},
|
|
194
198
|
emits: ["futureStart", "futureEnd", "update:start", "update:end", "reset", "trapMouse"],
|
|
195
|
-
setup(
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
199
|
+
setup(r, { expose: Nt, emit: Pt }) {
|
|
200
|
+
rl((e) => ({
|
|
201
|
+
v5ac2443a: Lt.value,
|
|
202
|
+
v1a9066a4: g.value,
|
|
203
|
+
v4afd9f9f: Rt.value,
|
|
204
|
+
v5a25e444: r.selectColor,
|
|
205
|
+
v4f0b596c: Ft.value
|
|
202
206
|
}));
|
|
203
|
-
const a =
|
|
207
|
+
const a = r, N = d(null), x = d(a.min), b = d(a.max), k = s(() => !!a.allMinimaps.length), be = d(cl()), H = d(!1), U = s(() => k.value && a.minimapCompact), Ze = d(0), Me = Xe((e) => E("futureStart", e), 0), ke = Xe((e) => E("futureEnd", e), 0), ee = s({
|
|
204
208
|
get: () => x.value,
|
|
205
209
|
set(e) {
|
|
206
210
|
const l = Math.min(e, b.value - 1);
|
|
@@ -227,7 +231,7 @@ const yl = {
|
|
|
227
231
|
}), we = s(() => {
|
|
228
232
|
if (U.value) {
|
|
229
233
|
const l = Math.max(1, Y.value - 1);
|
|
230
|
-
return
|
|
234
|
+
return he.value / l * 100;
|
|
231
235
|
}
|
|
232
236
|
const e = Math.max(1, a.max - a.min);
|
|
233
237
|
return (b.value - a.min) / e * 100;
|
|
@@ -238,15 +242,15 @@ const yl = {
|
|
|
238
242
|
}), Ne = s(() => {
|
|
239
243
|
if (!N.value) return !1;
|
|
240
244
|
const e = Math.max(1, a.max - a.min), l = N.value.getBoundingClientRect().width;
|
|
241
|
-
return l * ((b.value - a.min) / e) +
|
|
242
|
-
}),
|
|
245
|
+
return l * ((b.value - a.min) / e) + oe.value / 2 > l;
|
|
246
|
+
}), R = s(() => {
|
|
243
247
|
const e = Ne.value ? `calc(${Se.value}% - ${ce.value.width}px - 2px)` : Ce.value ? `calc(${Se.value}% - 8px)` : `calc(${Se.value}% - ${ce.value.width / 2}px - 4px)`;
|
|
244
248
|
return {
|
|
245
249
|
left: `${me.value}%`,
|
|
246
250
|
width: `${Math.max(0, we.value - me.value)}%`,
|
|
247
251
|
background: a.selectColor,
|
|
248
252
|
tooltipLeft: `calc(${me.value}% - ${Ce.value ? 9 : ge.value / 2 + 3.5}px)`,
|
|
249
|
-
tooltipRight: `calc(${we.value}% - ${Ne.value ?
|
|
253
|
+
tooltipRight: `calc(${we.value}% - ${Ne.value ? oe.value - 9 : oe.value / 2 - 3.5}px)`,
|
|
250
254
|
tooltipCenter: e,
|
|
251
255
|
arrowLeft: !Ce.value,
|
|
252
256
|
arrowRight: !Ne.value
|
|
@@ -271,18 +275,18 @@ const yl = {
|
|
|
271
275
|
Number(x.value) > Number(e) && (x.value = Number(e)), Number(b.value) > Number(e) && (b.value = Number(e));
|
|
272
276
|
}
|
|
273
277
|
);
|
|
274
|
-
const
|
|
278
|
+
const fe = d(null), h = d({
|
|
275
279
|
width: 1,
|
|
276
280
|
height: 1
|
|
277
281
|
}), K = d(null);
|
|
278
|
-
|
|
282
|
+
ol(() => {
|
|
279
283
|
if (k.value) {
|
|
280
284
|
const e = Xe(() => {
|
|
281
|
-
if (!
|
|
282
|
-
const { width: l, height: t } = dl({ chart:
|
|
283
|
-
(n !==
|
|
285
|
+
if (!fe.value) return;
|
|
286
|
+
const { width: l, height: t } = dl({ chart: fe.value }), n = Math.max(0, Math.round(l)), o = Math.max(0, Math.round(t - 47));
|
|
287
|
+
(n !== h.value.width || o !== h.value.height) && (h.value.width = n, h.value.height = o);
|
|
284
288
|
}, 0);
|
|
285
|
-
K.value = new ResizeObserver(e), K.value.observe(
|
|
289
|
+
K.value = new ResizeObserver(e), K.value.observe(fe.value);
|
|
286
290
|
}
|
|
287
291
|
}), De(() => {
|
|
288
292
|
K.value && K.value.disconnect();
|
|
@@ -298,11 +302,11 @@ const yl = {
|
|
|
298
302
|
}
|
|
299
303
|
const Z = s(() => Ye(x.value)), j = s(() => At(b.value)), Pe = s(() => Math.max(...a.allMinimaps.map((e) => e.series.length))), M = s(() => {
|
|
300
304
|
const e = Math.max(1, Pe.value - (a.minimapCompact ? 1 : 0));
|
|
301
|
-
return
|
|
305
|
+
return h.value.width / e;
|
|
302
306
|
}), je = s(() => a.allMinimaps.length ? a.allMinimaps.filter((e) => e.type === "bar" && e.isVisible).length : 0), $e = s(() => M.value / (je.value || 1) * 0.8);
|
|
303
307
|
function qe(e, l, t) {
|
|
304
|
-
const n = $e.value,
|
|
305
|
-
return t === 0 ? e + n / 2 * l : t === c ? e - n / 2 * (
|
|
308
|
+
const n = $e.value, o = Math.max(1, je.value), c = Pe.value - 1;
|
|
309
|
+
return t === 0 ? e + n / 2 * l : t === c ? e - n / 2 * (o - l) : e - o * n / 2 + l * n;
|
|
306
310
|
}
|
|
307
311
|
function Ge(e, l) {
|
|
308
312
|
return [0, Pe.value - 1].includes(l) ? $e.value / 2 : $e.value;
|
|
@@ -323,10 +327,10 @@ const yl = {
|
|
|
323
327
|
return Number.isFinite(e) ? e : null;
|
|
324
328
|
}), Le = s(() => Je.value !== null && Qe.value !== null), _e = s(() => {
|
|
325
329
|
const { min: e, max: l } = Et.value, t = Je.value, n = Qe.value;
|
|
326
|
-
let
|
|
327
|
-
return t !== null && n !== null ? (
|
|
330
|
+
let o, c;
|
|
331
|
+
return t !== null && n !== null ? (o = Math.min(t, e), c = Math.max(n, l)) : (o = t !== null ? t : e, c = n !== null ? n : l), Number.isFinite(o) || (o = 0), Number.isFinite(c) || (c = 1), o === c ? c = o + 1 : o > c && ([o, c] = [c, o]), { min: o, max: c };
|
|
328
332
|
}), q = s(() => _e.value.min), le = s(() => _e.value.max), Bt = s(() => q.value < 0 && le.value > 0 || le.value <= 0 ? q.value : 0), Tt = (e) => {
|
|
329
|
-
const l = Math.max(1,
|
|
333
|
+
const l = Math.max(1, h.value.height);
|
|
330
334
|
return et(
|
|
331
335
|
q.value,
|
|
332
336
|
le.value,
|
|
@@ -335,21 +339,21 @@ const yl = {
|
|
|
335
339
|
)(e);
|
|
336
340
|
}, Fe = s(() => Tt(0));
|
|
337
341
|
function et(e, l, t, n = !1) {
|
|
338
|
-
const
|
|
342
|
+
const o = (f, C, $) => Math.max(C, Math.min($, f)), B = Math.max(1e-9, l - e);
|
|
339
343
|
if (n)
|
|
340
|
-
return (
|
|
341
|
-
const C = (
|
|
344
|
+
return (f) => {
|
|
345
|
+
const C = (f - e) / B;
|
|
342
346
|
return t - C * t;
|
|
343
347
|
};
|
|
344
348
|
if (l <= 0) {
|
|
345
|
-
const
|
|
346
|
-
return (C) => t - (C - e) /
|
|
349
|
+
const f = Math.max(1e-9, 0 - e);
|
|
350
|
+
return (C) => t - (C - e) / f * t;
|
|
347
351
|
} else if (e >= 0) {
|
|
348
|
-
const
|
|
349
|
-
return (C) => t - (C - 0) /
|
|
352
|
+
const f = Math.max(1e-9, l - 0);
|
|
353
|
+
return (C) => t - (C - 0) / f * t;
|
|
350
354
|
} else {
|
|
351
|
-
const
|
|
352
|
-
return (C) => (1 - (
|
|
355
|
+
const f = Math.max(1e-9, Math.max(Math.abs(e), Math.abs(l)));
|
|
356
|
+
return (C) => (1 - (o(C / f, -1, 1) + 1) / 2) * t;
|
|
353
357
|
}
|
|
354
358
|
}
|
|
355
359
|
function tt(e, l = !1) {
|
|
@@ -366,25 +370,25 @@ const yl = {
|
|
|
366
370
|
fullMarkers: [],
|
|
367
371
|
selectionMarkers: []
|
|
368
372
|
};
|
|
369
|
-
const t = Math.max(1,
|
|
370
|
-
const ve = p,
|
|
373
|
+
const t = Math.max(1, h.value.height), n = et(q.value, le.value, t, Le.value), o = e.length, c = Math.min(Math.max(0, Z.value), Math.max(0, o - 1)), B = Math.min(o, Math.max(c + 1, j.value)), f = e.map((p, mt) => {
|
|
374
|
+
const ve = p, ft = Number.isFinite(ve), el = M.value * mt + (a.minimapCompact ? 0 : M.value / 2), tl = (nl, il, ul) => Math.max(il, Math.min(ul, nl)), ll = Le.value ? tl(0, q.value, le.value) : 0, al = n(ll);
|
|
371
375
|
return {
|
|
372
376
|
x: el,
|
|
373
|
-
y:
|
|
377
|
+
y: ft ? n(ve) : NaN,
|
|
374
378
|
v: ve,
|
|
375
|
-
value: ve == null ? null :
|
|
379
|
+
value: ve == null ? null : ft ? ve : null,
|
|
376
380
|
y0: al,
|
|
377
381
|
i: mt
|
|
378
382
|
};
|
|
379
|
-
}), C = (p) => p >= 0 && p <
|
|
383
|
+
}), C = (p) => p >= 0 && p < f.length && Number.isFinite(f[p]?.value), $ = f.filter((p) => Number.isFinite(p.value) && !C(p.i - 1) && !C(p.i + 1)), ye = $.filter((p) => p.i >= c && p.i < B), O = f.slice(c, B), Qt = f.length >= 2 ? a.smoothMinimap || l ? a.cutNullValues ? Mt(f) : kt(f.filter((p) => p.value != null)) : a.cutNullValues ? wt(f) : St(f.filter((p) => p.value != null)) : "", _t = O.length >= 2 ? a.smoothMinimap || l ? a.cutNullValues ? Mt(O) : kt(O.filter((p) => p.value != null)) : a.cutNullValues ? wt(O) : St(O.filter((p) => p.value != null)) : "";
|
|
380
384
|
return {
|
|
381
385
|
fullSet: Qt,
|
|
382
|
-
points:
|
|
386
|
+
points: f,
|
|
383
387
|
selectionSet: _t,
|
|
384
388
|
sliced: O,
|
|
385
|
-
firstPlot:
|
|
386
|
-
lastPlot:
|
|
387
|
-
hasFull:
|
|
389
|
+
firstPlot: f[c] || null,
|
|
390
|
+
lastPlot: f[Math.max(0, B - 1)] || null,
|
|
391
|
+
hasFull: f.length >= 2,
|
|
388
392
|
hasSelection: O.length >= 2,
|
|
389
393
|
fullMarkers: $,
|
|
390
394
|
selectionMarkers: ye
|
|
@@ -419,7 +423,7 @@ const yl = {
|
|
|
419
423
|
ae.value && (ae.value.valueAsNumber = n), Ae(n);
|
|
420
424
|
}
|
|
421
425
|
}
|
|
422
|
-
}),
|
|
426
|
+
}), he = s({
|
|
423
427
|
get() {
|
|
424
428
|
return U.value ? Math.max(Z.value, j.value - 1) : Number(te.value);
|
|
425
429
|
},
|
|
@@ -437,7 +441,7 @@ const yl = {
|
|
|
437
441
|
function Vt(e) {
|
|
438
442
|
V.value = Ye(a.valueStart) + e;
|
|
439
443
|
}
|
|
440
|
-
const It =
|
|
444
|
+
const It = fl(Vt, 60);
|
|
441
445
|
Q(() => a.minimapSelectedIndex, (e, l) => {
|
|
442
446
|
if ([null, void 0].includes(e)) {
|
|
443
447
|
V.value = null;
|
|
@@ -478,36 +482,36 @@ const yl = {
|
|
|
478
482
|
De(() => {
|
|
479
483
|
cancelAnimationFrame(Re), cancelAnimationFrame(Ee);
|
|
480
484
|
});
|
|
481
|
-
const ie = s(() => a.valueEnd - a.valueStart),
|
|
482
|
-
let
|
|
485
|
+
const ie = s(() => a.valueEnd - a.valueStart), Wt = s(() => ie.value < a.max - a.min), G = d(!1);
|
|
486
|
+
let zt = d(null);
|
|
483
487
|
const Xt = s(() => (Ze.value - 48) / (a.max - a.min) * ie.value), Ht = s(() => Math.max(1, Ze.value - He - Xt.value)), Zt = s(() => Math.max(1, a.max - a.min - ie.value)), Ot = s(() => Zt.value / Ht.value), nt = d(0), it = d(0), Ut = d(0), Kt = d(0);
|
|
484
|
-
let I = null, D = null,
|
|
488
|
+
let I = null, D = null, W = null, z = null;
|
|
485
489
|
const ut = d(a.min);
|
|
486
490
|
function Te(e) {
|
|
487
491
|
if (!N.value) return a.min;
|
|
488
|
-
const l = N.value.getBoundingClientRect(), t = l.left + He / 2, n = l.right - He / 2,
|
|
489
|
-
return Math.round(a.min + B *
|
|
492
|
+
const l = N.value.getBoundingClientRect(), t = l.left + He / 2, n = l.right - He / 2, o = Math.max(1, n - t), B = (Math.max(t, Math.min(e, n)) - t) / o, f = Math.max(1, a.max - a.min);
|
|
493
|
+
return Math.round(a.min + B * f);
|
|
490
494
|
}
|
|
491
|
-
const
|
|
495
|
+
const rt = async (e) => {
|
|
492
496
|
if (H.value = !0, J.value = !0, !a.enableSelectionDrag) return;
|
|
493
497
|
const l = e.type === "touchstart";
|
|
494
498
|
l || e.stopPropagation();
|
|
495
499
|
const t = l && e.targetTouches && e.targetTouches[0] ? e.targetTouches[0] : null, n = l ? t ? t.target : null : e.target;
|
|
496
500
|
if (!n || !(n instanceof Element) || n.classList && n.classList.contains("range-handle")) return;
|
|
497
501
|
G.value = !0;
|
|
498
|
-
const
|
|
499
|
-
if (
|
|
500
|
-
ut.value = Te(
|
|
501
|
-
const c = Math.min(0.95, Math.max(0.05, a.focusRangeRatio)), B = a.max - a.min,
|
|
502
|
+
const o = l ? t ? t.clientX : 0 : e.clientX;
|
|
503
|
+
if (zt.value = o, nt.value = o, a.focusOnDrag && !Wt.value && N.value) {
|
|
504
|
+
ut.value = Te(o);
|
|
505
|
+
const c = Math.min(0.95, Math.max(0.05, a.focusRangeRatio)), B = a.max - a.min, f = Math.max(1, Math.round(B * c)), C = Math.floor(f / 2);
|
|
502
506
|
let $ = ut.value - C;
|
|
503
|
-
$ = Math.max(a.min, Math.min($, a.max -
|
|
504
|
-
const ye = Math.min(a.max, $ +
|
|
505
|
-
ee.value = $, te.value = ye, Me($), ke(ye), Ct(N.value, "mouseup"), await xe(), Ct(N.value, "mousedown", { clientX:
|
|
507
|
+
$ = Math.max(a.min, Math.min($, a.max - f));
|
|
508
|
+
const ye = Math.min(a.max, $ + f);
|
|
509
|
+
ee.value = $, te.value = ye, Me($), ke(ye), Ct(N.value, "mouseup"), await xe(), Ct(N.value, "mousedown", { clientX: o });
|
|
506
510
|
}
|
|
507
|
-
it.value = x.value, Ut.value = b.value, Kt.value = Ot.value, I = l ? "touchmove" : "mousemove", D = l ? "touchend" : "mouseup",
|
|
511
|
+
it.value = x.value, Ut.value = b.value, Kt.value = Ot.value, I = l ? "touchmove" : "mousemove", D = l ? "touchend" : "mouseup", W = l ? jt : Yt, z = l ? Gt : qt, window.addEventListener(I, W, { passive: !1 }), window.addEventListener(D, z);
|
|
508
512
|
};
|
|
509
513
|
function Yt(e) {
|
|
510
|
-
G.value &&
|
|
514
|
+
G.value && ot(e.clientX);
|
|
511
515
|
}
|
|
512
516
|
function jt(e) {
|
|
513
517
|
if (!G.value || !N.value) return;
|
|
@@ -515,15 +519,15 @@ const yl = {
|
|
|
515
519
|
if (!(l instanceof Element) || !N.value.contains(l) || l.classList && l.classList.contains("range-handle")) return;
|
|
516
520
|
e.preventDefault();
|
|
517
521
|
const t = e.targetTouches && e.targetTouches[0] ? e.targetTouches[0] : null;
|
|
518
|
-
t &&
|
|
522
|
+
t && ot(t.clientX);
|
|
519
523
|
}
|
|
520
|
-
function
|
|
524
|
+
function ot(e) {
|
|
521
525
|
if (!G.value) return;
|
|
522
526
|
const l = Te(nt.value), n = Te(e) - l;
|
|
523
|
-
let
|
|
524
|
-
|
|
525
|
-
const c =
|
|
526
|
-
ee.value =
|
|
527
|
+
let o = Math.round(it.value + n);
|
|
528
|
+
o = Math.max(a.min, Math.min(o, a.max - ie.value));
|
|
529
|
+
const c = o + ie.value;
|
|
530
|
+
ee.value = o, te.value = c, Me(o), ke(c);
|
|
527
531
|
}
|
|
528
532
|
function qt() {
|
|
529
533
|
st();
|
|
@@ -532,9 +536,9 @@ const yl = {
|
|
|
532
536
|
st();
|
|
533
537
|
}
|
|
534
538
|
function st() {
|
|
535
|
-
G.value = !1, I &&
|
|
539
|
+
G.value = !1, I && W && window.removeEventListener(I, W), D && z && window.removeEventListener(D, z), I = D = null, W = z = null, A();
|
|
536
540
|
}
|
|
537
|
-
const X = d(!1), ue = d(null),
|
|
541
|
+
const X = d(!1), ue = d(null), re = d(null), ge = d(1), oe = d(1), J = d(!1);
|
|
538
542
|
function Ve() {
|
|
539
543
|
if (ue.value) {
|
|
540
544
|
const e = Math.round(ue.value.getBoundingClientRect().width);
|
|
@@ -542,9 +546,9 @@ const yl = {
|
|
|
542
546
|
}
|
|
543
547
|
}
|
|
544
548
|
function Ie() {
|
|
545
|
-
if (
|
|
546
|
-
const e = Math.round(
|
|
547
|
-
e !==
|
|
549
|
+
if (re.value) {
|
|
550
|
+
const e = Math.round(re.value.getBoundingClientRect().width);
|
|
551
|
+
e !== oe.value && (oe.value = e);
|
|
548
552
|
}
|
|
549
553
|
}
|
|
550
554
|
dt(() => {
|
|
@@ -559,16 +563,16 @@ const yl = {
|
|
|
559
563
|
left: 0
|
|
560
564
|
});
|
|
561
565
|
Q([x, b], async () => {
|
|
562
|
-
if (await xe(), !ue.value || !
|
|
566
|
+
if (await xe(), !ue.value || !re.value) {
|
|
563
567
|
se.value = !1, ce.value = { width: 0, left: 0 };
|
|
564
568
|
return;
|
|
565
569
|
}
|
|
566
|
-
const e = ue.value.getBoundingClientRect(), l =
|
|
570
|
+
const e = ue.value.getBoundingClientRect(), l = re.value.getBoundingClientRect();
|
|
567
571
|
se.value = e.x + e.width > l.x;
|
|
568
|
-
const t = e.x + e.width / 2, n = l.x + l.width / 2,
|
|
572
|
+
const t = e.x + e.width / 2, n = l.x + l.width / 2, o = e.width + l.width, c = (t + n) / 2;
|
|
569
573
|
ce.value = {
|
|
570
|
-
width:
|
|
571
|
-
left: c -
|
|
574
|
+
width: o,
|
|
575
|
+
left: c - o / 2
|
|
572
576
|
};
|
|
573
577
|
}), dt(() => {
|
|
574
578
|
Ve(), Ie();
|
|
@@ -586,24 +590,24 @@ const yl = {
|
|
|
586
590
|
seriesIndex: x.value,
|
|
587
591
|
datapoint: a.selectedSeries,
|
|
588
592
|
timeLabel: a.preciseLabels[x.value]
|
|
589
|
-
}),
|
|
593
|
+
}), o = a.customFormat({
|
|
590
594
|
absoluteIndex: b.value - 1,
|
|
591
595
|
seriesIndex: -1,
|
|
592
596
|
datapoint: a.selectedSeries,
|
|
593
597
|
timeLabel: a.preciseLabels[b.value - 1]
|
|
594
598
|
});
|
|
595
|
-
typeof n == "string" && typeof
|
|
599
|
+
typeof n == "string" && typeof o == "string" && (e = n, l = o, t = !0);
|
|
596
600
|
} catch {
|
|
597
601
|
t = !1;
|
|
598
602
|
}
|
|
599
603
|
if (!t) {
|
|
600
|
-
const n = a.usePreciseLabels ? a.preciseLabels.find((c) => c.absoluteIndex === x.value) : a.timeLabels.find((c) => c.absoluteIndex === x.value),
|
|
601
|
-
e = n ? n.text : "", l =
|
|
604
|
+
const n = a.usePreciseLabels ? a.preciseLabels.find((c) => c.absoluteIndex === x.value) : a.timeLabels.find((c) => c.absoluteIndex === x.value), o = a.usePreciseLabels ? a.preciseLabels.find((c) => c.absoluteIndex === b.value - 1) : a.timeLabels.find((c) => c.absoluteIndex === b.value - 1);
|
|
605
|
+
e = n ? n.text : "", l = o ? o.text : "";
|
|
602
606
|
}
|
|
603
607
|
return { left: e, right: l };
|
|
604
608
|
});
|
|
605
609
|
De(() => {
|
|
606
|
-
K.value && K.value.disconnect(), I &&
|
|
610
|
+
K.value && K.value.disconnect(), I && W && window.removeEventListener(I, W), D && z && window.removeEventListener(D, z), I = D = null, W = z = null, clearTimeout(Oe);
|
|
607
611
|
});
|
|
608
612
|
const Jt = s(() => {
|
|
609
613
|
if (!Ue.value.length) return null;
|
|
@@ -613,7 +617,7 @@ const yl = {
|
|
|
613
617
|
x1: M.value * e + (a.minimapCompact ? 0 : M.value / 2),
|
|
614
618
|
x2: M.value * e + (a.minimapCompact ? 0 : M.value / 2),
|
|
615
619
|
y1: 0,
|
|
616
|
-
y2: Math.max(
|
|
620
|
+
y2: Math.max(h.value.height, 0),
|
|
617
621
|
stroke: a.minimapIndicatorColor,
|
|
618
622
|
"stroke-linecap": "round",
|
|
619
623
|
"stroke-dasharray": 2,
|
|
@@ -627,16 +631,19 @@ const yl = {
|
|
|
627
631
|
setEndValue: Be
|
|
628
632
|
}), (e, l) => (u(), i("div", {
|
|
629
633
|
"data-dom-to-png-ignore": "",
|
|
630
|
-
style: { padding: "0 24px" },
|
|
634
|
+
style: L([{ padding: "0 24px" }, {
|
|
635
|
+
maxWidth: r.maxWidth ? r.maxWidth + "px" : void 0,
|
|
636
|
+
margin: r.maxWidth ? "0 auto" : void 0
|
|
637
|
+
}]),
|
|
631
638
|
class: "vue-data-ui-zoom",
|
|
632
639
|
ref_key: "zoomWrapper",
|
|
633
640
|
ref: N,
|
|
634
|
-
onMousedown:
|
|
635
|
-
onTouchstart:
|
|
641
|
+
onMousedown: rt,
|
|
642
|
+
onTouchstart: rt
|
|
636
643
|
}, [
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
644
|
+
F("div", yl, [
|
|
645
|
+
r.valueStart !== r.refreshStartPoint || r.valueEnd !== $t.value ? (u(), i("div", xl, [
|
|
646
|
+
r.useResetSlot ? ht(e.$slots, "reset-action", {
|
|
640
647
|
key: 1,
|
|
641
648
|
reset: Ke
|
|
642
649
|
}, void 0, !0) : (u(), i("button", {
|
|
@@ -644,88 +651,88 @@ const yl = {
|
|
|
644
651
|
tabindex: "0",
|
|
645
652
|
role: "button",
|
|
646
653
|
class: "vue-data-ui-refresh-button",
|
|
647
|
-
style:
|
|
654
|
+
style: L({
|
|
648
655
|
top: k.value ? "36px" : "-16px",
|
|
649
656
|
pointerEvents: "all !important"
|
|
650
657
|
}),
|
|
651
658
|
onClick: Ke
|
|
652
659
|
}, [
|
|
653
|
-
sl(
|
|
660
|
+
sl(hl, {
|
|
654
661
|
name: "refresh",
|
|
655
|
-
stroke:
|
|
662
|
+
stroke: r.textColor
|
|
656
663
|
}, null, 8, ["stroke"])
|
|
657
664
|
], 4))
|
|
658
665
|
])) : v("", !0)
|
|
659
666
|
]),
|
|
660
|
-
|
|
667
|
+
F("div", {
|
|
661
668
|
class: "double-range-slider",
|
|
662
669
|
ref_key: "minimapWrapper",
|
|
663
|
-
ref:
|
|
670
|
+
ref: fe,
|
|
664
671
|
style: { "z-index": "0" },
|
|
665
672
|
onMouseenter: l[11] || (l[11] = (t) => J.value = !0),
|
|
666
673
|
onMouseleave: l[12] || (l[12] = (t) => J.value = !1)
|
|
667
674
|
}, [
|
|
668
675
|
k.value ? (u(), i("div", pl, [
|
|
669
676
|
(u(), i("svg", {
|
|
670
|
-
key: `mm-${
|
|
677
|
+
key: `mm-${r.minimapMerged ? "merged" : "split"}-${r.minimapCompact ? "compact" : "normal"}`,
|
|
671
678
|
xmlns: pe(ml),
|
|
672
|
-
viewBox: `0 0 ${Math.max(0,
|
|
679
|
+
viewBox: `0 0 ${Math.max(0, h.value.width)} ${Math.max(0, h.value.height)}`
|
|
673
680
|
}, [
|
|
674
|
-
|
|
675
|
-
|
|
681
|
+
F("defs", null, [
|
|
682
|
+
F("linearGradient", {
|
|
676
683
|
id: be.value,
|
|
677
684
|
x1: "0%",
|
|
678
685
|
y1: "0%",
|
|
679
686
|
x2: "0%",
|
|
680
687
|
y2: "100%"
|
|
681
688
|
}, [
|
|
682
|
-
|
|
689
|
+
F("stop", {
|
|
683
690
|
offset: "0%",
|
|
684
|
-
"stop-color": `${
|
|
691
|
+
"stop-color": `${r.minimapLineColor}50`
|
|
685
692
|
}, null, 8, kl),
|
|
686
|
-
l[13] || (l[13] =
|
|
693
|
+
l[13] || (l[13] = F("stop", {
|
|
687
694
|
offset: "100%",
|
|
688
695
|
"stop-color": "transparent"
|
|
689
696
|
}, null, -1))
|
|
690
697
|
], 8, Ml)
|
|
691
698
|
]),
|
|
692
|
-
|
|
699
|
+
r.minimapCompact ? (u(), i("rect", {
|
|
693
700
|
key: 0,
|
|
694
701
|
class: "vue-ui-zoom-minimap-frame",
|
|
695
702
|
x: 0,
|
|
696
703
|
y: 0,
|
|
697
|
-
width:
|
|
698
|
-
height:
|
|
704
|
+
width: h.value.width,
|
|
705
|
+
height: h.value.height,
|
|
699
706
|
fill: "none",
|
|
700
|
-
stroke:
|
|
707
|
+
stroke: r.minimapFrameColor,
|
|
701
708
|
rx: 3
|
|
702
709
|
}, null, 8, wl)) : v("", !0),
|
|
703
710
|
e.$slots.slotMap ? v("", !0) : (u(), i(y, { key: 1 }, [
|
|
704
|
-
|
|
711
|
+
r.minimapMerged ? (u(), i("path", {
|
|
705
712
|
key: 0,
|
|
706
713
|
d: `M${m.value.fullSet}`,
|
|
707
|
-
stroke: `${
|
|
714
|
+
stroke: `${r.minimapLineColor}`,
|
|
708
715
|
fill: "none",
|
|
709
716
|
"stroke-width": "1",
|
|
710
717
|
"stroke-linecap": "round",
|
|
711
718
|
"stroke-linejoin": "round",
|
|
712
719
|
style: { opacity: "0.6" }
|
|
713
720
|
}, null, 8, Sl)) : v("", !0),
|
|
714
|
-
|
|
721
|
+
r.minimapMerged && !r.minimapCompact ? (u(), i("path", {
|
|
715
722
|
key: 1,
|
|
716
|
-
d: `M${M.value / 2},${Math.max(
|
|
723
|
+
d: `M${M.value / 2},${Math.max(h.value.height, 0)} ${m.value.fullSet} L${h.value.width - M.value / 2},${Math.max(h.value.height, 0)}Z`,
|
|
717
724
|
fill: `url(#${be.value})`,
|
|
718
725
|
stroke: "none",
|
|
719
726
|
style: { opacity: "0.6" }
|
|
720
|
-
}, null, 8, Cl)) :
|
|
727
|
+
}, null, 8, Cl)) : r.minimapMerged ? v("", !0) : (u(), i(y, { key: 2 }, [
|
|
721
728
|
(u(!0), i(y, null, S(T.value.filter((t) => t.type === "bar" && t.isVisible), (t, n) => (u(), i("g", null, [
|
|
722
|
-
(u(!0), i(y, null, S(t.points, (
|
|
723
|
-
t && !isNaN(
|
|
729
|
+
(u(!0), i(y, null, S(t.points, (o, c) => (u(), i(y, null, [
|
|
730
|
+
t && !isNaN(o.y) ? (u(), i("rect", {
|
|
724
731
|
key: 0,
|
|
725
|
-
x: qe(
|
|
726
|
-
y:
|
|
732
|
+
x: qe(o.x, n, c),
|
|
733
|
+
y: o.v >= 0 ? o.y : o.y0,
|
|
727
734
|
width: Ge(n, c),
|
|
728
|
-
height:
|
|
735
|
+
height: o.v >= 0 ? o.y0 - o.y : o.y - o.y0,
|
|
729
736
|
fill: t.color,
|
|
730
737
|
style: { opacity: 0.6 }
|
|
731
738
|
}, null, 8, Nl)) : v("", !0)
|
|
@@ -739,7 +746,7 @@ const yl = {
|
|
|
739
746
|
stroke: t.color,
|
|
740
747
|
style: { opacity: "0.6" }
|
|
741
748
|
}, null, 8, Pl)) : v("", !0),
|
|
742
|
-
t.isVisible &&
|
|
749
|
+
t.isVisible && r.cutNullValues ? (u(!0), i(y, { key: 1 }, S(t.fullMarkers, (n) => (u(), i("circle", {
|
|
743
750
|
key: `sel-dot-under-${t.key}-${n.i}`,
|
|
744
751
|
cx: n.x,
|
|
745
752
|
cy: n.y,
|
|
@@ -766,49 +773,49 @@ const yl = {
|
|
|
766
773
|
]))), 256))
|
|
767
774
|
], 64))
|
|
768
775
|
], 64)),
|
|
769
|
-
|
|
776
|
+
F("rect", {
|
|
770
777
|
x: P.value.x,
|
|
771
778
|
y: 0,
|
|
772
779
|
width: Math.max(0, P.value.width),
|
|
773
|
-
height: Math.max(
|
|
780
|
+
height: Math.max(h.value.height, 0),
|
|
774
781
|
fill: g.value,
|
|
775
|
-
rx:
|
|
782
|
+
rx: r.minimapSelectionRadius,
|
|
776
783
|
stroke: "none"
|
|
777
784
|
}, null, 8, Fl),
|
|
778
|
-
|
|
785
|
+
F("rect", {
|
|
779
786
|
x: P.value.x,
|
|
780
787
|
y: 0,
|
|
781
788
|
width: P.value.width < 0 ? 0 : P.value.width,
|
|
782
|
-
height: Math.max(
|
|
783
|
-
rx:
|
|
789
|
+
height: Math.max(h.value.height, 0),
|
|
790
|
+
rx: r.minimapSelectionRadius,
|
|
784
791
|
fill: g.value,
|
|
785
|
-
style:
|
|
792
|
+
style: L({ opacity: G.value || H.value ? 0 : 1 })
|
|
786
793
|
}, null, 12, Rl),
|
|
787
|
-
|
|
794
|
+
F("rect", {
|
|
788
795
|
x: P.value.x,
|
|
789
796
|
y: 0,
|
|
790
797
|
width: P.value.width < 0 ? 0 : P.value.width,
|
|
791
|
-
height: Math.max(
|
|
792
|
-
fill:
|
|
793
|
-
rx:
|
|
794
|
-
style:
|
|
798
|
+
height: Math.max(h.value.height, 0),
|
|
799
|
+
fill: r.minimapSelectedColor,
|
|
800
|
+
rx: r.minimapSelectionRadius,
|
|
801
|
+
style: L({ opacity: r.minimapSelectedColorOpacity })
|
|
795
802
|
}, null, 12, Al),
|
|
796
|
-
!
|
|
803
|
+
!r.minimapMerged && Bt.value < 0 ? (u(), i("line", {
|
|
797
804
|
key: 2,
|
|
798
805
|
class: "slicer-minimap-zero-line",
|
|
799
806
|
x1: 0,
|
|
800
|
-
x2:
|
|
807
|
+
x2: h.value.width,
|
|
801
808
|
y1: Fe.value,
|
|
802
809
|
y2: Fe.value,
|
|
803
|
-
stroke:
|
|
810
|
+
stroke: r.minimapFrameColor,
|
|
804
811
|
"stroke-width": "0.5"
|
|
805
812
|
}, null, 8, El)) : v("", !0),
|
|
806
813
|
e.$slots.slotMap ? v("", !0) : (u(), i(y, { key: 3 }, [
|
|
807
|
-
|
|
814
|
+
r.minimapMerged ? (u(), i("g", Bl, [
|
|
808
815
|
m.value && m.value.sliced && m.value.sliced.length ? (u(), i(y, { key: 0 }, [
|
|
809
816
|
m.value.selectionSet ? (u(), i("path", {
|
|
810
817
|
key: 0,
|
|
811
|
-
d: `M${m.value.sliced[0].x},${Math.max(
|
|
818
|
+
d: `M${m.value.sliced[0].x},${Math.max(h.value.height, 0)} ${m.value.selectionSet} L${m.value.sliced[m.value.sliced.length - 1].x},${Math.max(h.value.height, 0)}Z`,
|
|
812
819
|
fill: `url(#${be.value})`,
|
|
813
820
|
stroke: "none",
|
|
814
821
|
style: { opacity: "1" }
|
|
@@ -816,7 +823,7 @@ const yl = {
|
|
|
816
823
|
m.value.selectionSet ? (u(), i("path", {
|
|
817
824
|
key: 1,
|
|
818
825
|
d: `M ${m.value.selectionSet}`,
|
|
819
|
-
stroke: `${
|
|
826
|
+
stroke: `${r.minimapLineColor}`,
|
|
820
827
|
fill: "transparent",
|
|
821
828
|
"stroke-width": "2",
|
|
822
829
|
"stroke-linecap": "round",
|
|
@@ -830,7 +837,7 @@ const yl = {
|
|
|
830
837
|
"stroke-width": "0.5",
|
|
831
838
|
stroke: g.value,
|
|
832
839
|
r: "3",
|
|
833
|
-
fill:
|
|
840
|
+
fill: r.minimapLineColor
|
|
834
841
|
}, null, 8, Il)) : v("", !0),
|
|
835
842
|
m.value && m.value.lastPlot ? (u(), i("circle", {
|
|
836
843
|
key: 2,
|
|
@@ -839,20 +846,20 @@ const yl = {
|
|
|
839
846
|
"stroke-width": "0.5",
|
|
840
847
|
stroke: g.value,
|
|
841
848
|
r: "3",
|
|
842
|
-
fill:
|
|
849
|
+
fill: r.minimapLineColor
|
|
843
850
|
}, null, 8, Dl)) : v("", !0)
|
|
844
|
-
])) : (u(), i("g",
|
|
851
|
+
])) : (u(), i("g", Wl, [
|
|
845
852
|
(u(!0), i(y, null, S(T.value.filter((t) => t.type === "bar" && t.isVisible), (t, n) => (u(), i("g", null, [
|
|
846
|
-
(u(!0), i(y, null, S(t.points, (
|
|
847
|
-
t && !isNaN(
|
|
853
|
+
(u(!0), i(y, null, S(t.points, (o, c) => (u(), i(y, null, [
|
|
854
|
+
t && !isNaN(o.y) ? (u(), i("rect", {
|
|
848
855
|
key: 0,
|
|
849
|
-
x: qe(
|
|
850
|
-
y:
|
|
856
|
+
x: qe(o.x, n, c),
|
|
857
|
+
y: o.v >= 0 ? o.y : o.y0,
|
|
851
858
|
width: Ge(n, c),
|
|
852
|
-
height:
|
|
859
|
+
height: o.v >= 0 ? o.y0 - o.y : o.y - o.y0,
|
|
853
860
|
fill: t.color,
|
|
854
|
-
style:
|
|
855
|
-
}, null, 12,
|
|
861
|
+
style: L({ opacity: c >= ee.value && c < te.value ? 1 : 0 })
|
|
862
|
+
}, null, 12, zl)) : v("", !0)
|
|
856
863
|
], 64))), 256))
|
|
857
864
|
]))), 256)),
|
|
858
865
|
(u(!0), i(y, null, S(T.value.filter((t) => t.type === "line"), (t) => (u(), i("g", {
|
|
@@ -886,37 +893,37 @@ const yl = {
|
|
|
886
893
|
]))), 128))
|
|
887
894
|
]))
|
|
888
895
|
], 64)),
|
|
889
|
-
e.$slots.slotMap ?
|
|
890
|
-
width: Math.max(0,
|
|
891
|
-
height: Math.max(0,
|
|
896
|
+
e.$slots.slotMap ? ht(e.$slots, "slotMap", yt(xt({ key: 4 }, {
|
|
897
|
+
width: Math.max(0, h.value.width),
|
|
898
|
+
height: Math.max(0, h.value.height),
|
|
892
899
|
zeroY: Fe.value,
|
|
893
900
|
unitW: Math.max(0, M.value)
|
|
894
901
|
})), void 0, !0) : v("", !0),
|
|
895
|
-
k.value &&
|
|
902
|
+
k.value && r.minimapCompact ? (u(), i("rect", {
|
|
896
903
|
key: 5,
|
|
897
904
|
class: "vue-ui-zoom-compact-minimap-handle",
|
|
898
905
|
x: P.value.x - 8,
|
|
899
906
|
y: 0,
|
|
900
907
|
width: 8,
|
|
901
|
-
height:
|
|
908
|
+
height: h.value.height,
|
|
902
909
|
fill: g.value,
|
|
903
|
-
stroke:
|
|
910
|
+
stroke: r.textColor,
|
|
904
911
|
rx: 3
|
|
905
912
|
}, null, 8, Zl)) : v("", !0),
|
|
906
|
-
k.value &&
|
|
913
|
+
k.value && r.minimapCompact ? (u(), i("rect", {
|
|
907
914
|
key: 6,
|
|
908
915
|
class: "vue-ui-zoom-compact-minimap-handle",
|
|
909
916
|
x: P.value.x + P.value.width,
|
|
910
917
|
y: 0,
|
|
911
918
|
width: 8,
|
|
912
|
-
height:
|
|
919
|
+
height: h.value.height,
|
|
913
920
|
fill: g.value,
|
|
914
|
-
stroke:
|
|
921
|
+
stroke: r.textColor,
|
|
915
922
|
rx: 3
|
|
916
923
|
}, null, 8, Ol)) : v("", !0),
|
|
917
924
|
V.value !== null && !X.value ? (u(), i("line", yt(xt({ key: 7 }, Jt.value)), null, 16)) : v("", !0),
|
|
918
925
|
e.$slots.slotMap ? v("", !0) : (u(), i(y, { key: 8 }, [
|
|
919
|
-
|
|
926
|
+
r.minimapMerged ? (u(), i("g", Ul, [
|
|
920
927
|
m.value && m.value.firstPlot && m.value.firstPlot.value !== null ? (u(), i("circle", {
|
|
921
928
|
key: 0,
|
|
922
929
|
cx: m.value.firstPlot.x,
|
|
@@ -924,7 +931,7 @@ const yl = {
|
|
|
924
931
|
"stroke-width": "0.5",
|
|
925
932
|
stroke: g.value,
|
|
926
933
|
r: "4",
|
|
927
|
-
fill:
|
|
934
|
+
fill: r.minimapLineColor
|
|
928
935
|
}, null, 8, Kl)) : v("", !0),
|
|
929
936
|
m.value && m.value.firstPlot && m.value.firstPlot.value !== null ? (u(), i("circle", {
|
|
930
937
|
key: 1,
|
|
@@ -940,7 +947,7 @@ const yl = {
|
|
|
940
947
|
"stroke-width": "0.5",
|
|
941
948
|
stroke: g.value,
|
|
942
949
|
r: "4",
|
|
943
|
-
fill:
|
|
950
|
+
fill: r.minimapLineColor
|
|
944
951
|
}, null, 8, jl)) : v("", !0),
|
|
945
952
|
m.value && m.value.lastPlot && m.value.lastPlot.value !== null ? (u(), i("circle", {
|
|
946
953
|
key: 3,
|
|
@@ -962,7 +969,7 @@ const yl = {
|
|
|
962
969
|
"stroke-linecap": "round",
|
|
963
970
|
"stroke-linejoin": "round"
|
|
964
971
|
}, null, 8, Jl)) : v("", !0),
|
|
965
|
-
t.isVisible &&
|
|
972
|
+
t.isVisible && r.cutNullValues ? (u(!0), i(y, { key: 1 }, S(t.selectionMarkers, (n) => (u(), i("circle", {
|
|
966
973
|
key: `sel-dot-${t.key}-${n.i}`,
|
|
967
974
|
cx: n.x,
|
|
968
975
|
cy: n.y,
|
|
@@ -1008,7 +1015,7 @@ const yl = {
|
|
|
1008
1015
|
key: String(t.key)
|
|
1009
1016
|
}, [
|
|
1010
1017
|
(u(!0), i(y, null, S(t.points, (n) => (u(), i("g", null, [
|
|
1011
|
-
t.isVisible &&
|
|
1018
|
+
t.isVisible && r.cutNullValues && n.value !== null ? (u(), i("circle", {
|
|
1012
1019
|
key: `sel-plot-${t.key}-${n.i}`,
|
|
1013
1020
|
cx: n.x,
|
|
1014
1021
|
cy: n.y,
|
|
@@ -1022,36 +1029,36 @@ const yl = {
|
|
|
1022
1029
|
]))
|
|
1023
1030
|
], 64)),
|
|
1024
1031
|
(u(!0), i(y, null, S(Ue.value, (t, n) => (u(), i("rect", {
|
|
1025
|
-
x: M.value * n - (
|
|
1032
|
+
x: M.value * n - (r.minimapCompact ? M.value / 2 : 0),
|
|
1026
1033
|
y: 0,
|
|
1027
|
-
height: Math.max(
|
|
1034
|
+
height: Math.max(h.value.height, 0),
|
|
1028
1035
|
width: M.value < 0 ? 0 : M.value,
|
|
1029
1036
|
fill: "transparent",
|
|
1030
|
-
style:
|
|
1031
|
-
onMousedown: l[0] || (l[0] = (
|
|
1032
|
-
onMouseup: l[1] || (l[1] = (
|
|
1033
|
-
onMouseenter: (
|
|
1034
|
-
onMouseleave: l[2] || (l[2] = (
|
|
1037
|
+
style: L([{ "pointer-events": "all !important" }, { cursor: t >= Z.value && t < j.value && r.enableSelectionDrag ? X.value ? "grabbing" : "grab" : "default" }]),
|
|
1038
|
+
onMousedown: l[0] || (l[0] = (o) => X.value = !0),
|
|
1039
|
+
onMouseup: l[1] || (l[1] = (o) => X.value = !1),
|
|
1040
|
+
onMouseenter: (o) => Dt(t),
|
|
1041
|
+
onMouseleave: l[2] || (l[2] = (o) => {
|
|
1035
1042
|
V.value = null, E("trapMouse", null);
|
|
1036
1043
|
})
|
|
1037
1044
|
}, null, 44, na))), 256))
|
|
1038
1045
|
], 8, bl))
|
|
1039
1046
|
])) : v("", !0),
|
|
1040
|
-
|
|
1047
|
+
F("div", {
|
|
1041
1048
|
class: "slider-track",
|
|
1042
|
-
style:
|
|
1049
|
+
style: L({ visibility: k.value && r.minimapCompact ? "hidden" : "visible" })
|
|
1043
1050
|
}, null, 4),
|
|
1044
|
-
|
|
1045
|
-
class: _({ "range-highlight": !0, move:
|
|
1051
|
+
F("div", {
|
|
1052
|
+
class: _({ "range-highlight": !0, move: r.enableSelectionDrag }),
|
|
1046
1053
|
onMousedown: l[3] || (l[3] = (t) => X.value = !0),
|
|
1047
1054
|
onMouseup: l[4] || (l[4] = (t) => X.value = !1),
|
|
1048
|
-
style:
|
|
1049
|
-
...
|
|
1055
|
+
style: L({
|
|
1056
|
+
...R.value,
|
|
1050
1057
|
cursor: X.value ? "grabbing" : "grab",
|
|
1051
|
-
visibility: k.value &&
|
|
1058
|
+
visibility: k.value && r.minimapCompact ? "hidden" : "visible"
|
|
1052
1059
|
})
|
|
1053
1060
|
}, null, 38),
|
|
1054
|
-
|
|
1061
|
+
r.enableRangeHandles ? gt((u(), i("input", {
|
|
1055
1062
|
key: 1,
|
|
1056
1063
|
ref_key: "rangeStart",
|
|
1057
1064
|
ref: ae,
|
|
@@ -1059,11 +1066,11 @@ const yl = {
|
|
|
1059
1066
|
class: _({
|
|
1060
1067
|
"range-left": !0,
|
|
1061
1068
|
"range-handle": !0,
|
|
1062
|
-
"range-minimap": k.value &&
|
|
1063
|
-
"range-invisible": k.value &&
|
|
1069
|
+
"range-minimap": k.value && r.verticalHandles,
|
|
1070
|
+
"range-invisible": k.value && r.minimapCompact
|
|
1064
1071
|
}),
|
|
1065
|
-
min:
|
|
1066
|
-
max:
|
|
1072
|
+
min: r.min,
|
|
1073
|
+
max: r.minimapCompact && k.value ? Math.max(0, Y.value - 1) : r.max,
|
|
1067
1074
|
"onUpdate:modelValue": l[5] || (l[5] = (t) => de.value = t),
|
|
1068
1075
|
onInput: l[6] || (l[6] = (t) => de.value = t.target.valueAsNumber),
|
|
1069
1076
|
onChange: A,
|
|
@@ -1079,7 +1086,7 @@ const yl = {
|
|
|
1079
1086
|
{ number: !0 }
|
|
1080
1087
|
]
|
|
1081
1088
|
]) : v("", !0),
|
|
1082
|
-
|
|
1089
|
+
r.enableRangeHandles ? gt((u(), i("input", {
|
|
1083
1090
|
key: 2,
|
|
1084
1091
|
ref_key: "rangeEnd",
|
|
1085
1092
|
ref: ne,
|
|
@@ -1087,13 +1094,13 @@ const yl = {
|
|
|
1087
1094
|
class: _({
|
|
1088
1095
|
"range-right": !0,
|
|
1089
1096
|
"range-handle": !0,
|
|
1090
|
-
"range-minimap": k.value &&
|
|
1091
|
-
"range-invisible": k.value &&
|
|
1097
|
+
"range-minimap": k.value && r.verticalHandles,
|
|
1098
|
+
"range-invisible": k.value && r.minimapCompact
|
|
1092
1099
|
}),
|
|
1093
|
-
min:
|
|
1094
|
-
max:
|
|
1095
|
-
"onUpdate:modelValue": l[8] || (l[8] = (t) =>
|
|
1096
|
-
onInput: l[9] || (l[9] = (t) =>
|
|
1100
|
+
min: r.min,
|
|
1101
|
+
max: r.minimapCompact && k.value ? Math.max(0, Y.value - 1) : r.max,
|
|
1102
|
+
"onUpdate:modelValue": l[8] || (l[8] = (t) => he.value = t),
|
|
1103
|
+
onInput: l[9] || (l[9] = (t) => he.value = t.target.valueAsNumber),
|
|
1097
1104
|
onChange: A,
|
|
1098
1105
|
onKeyup: pt(A, ["enter"]),
|
|
1099
1106
|
onBlur: A,
|
|
@@ -1102,7 +1109,7 @@ const yl = {
|
|
|
1102
1109
|
}, null, 42, ua)), [
|
|
1103
1110
|
[
|
|
1104
1111
|
bt,
|
|
1105
|
-
|
|
1112
|
+
he.value,
|
|
1106
1113
|
void 0,
|
|
1107
1114
|
{ number: !0 }
|
|
1108
1115
|
]
|
|
@@ -1114,19 +1121,19 @@ const yl = {
|
|
|
1114
1121
|
class: _({
|
|
1115
1122
|
"range-tooltip": !0,
|
|
1116
1123
|
"range-tooltip-visible": J.value,
|
|
1117
|
-
"range-tooltip-arrow":
|
|
1118
|
-
"range-tooltip-arrow-left": !
|
|
1124
|
+
"range-tooltip-arrow": R.value.arrowLeft && !r.verticalHandles,
|
|
1125
|
+
"range-tooltip-arrow-left": !R.value.arrowLeft && !r.verticalHandles
|
|
1119
1126
|
}),
|
|
1120
|
-
style:
|
|
1121
|
-
left:
|
|
1122
|
-
color: pe(
|
|
1123
|
-
backgroundColor:
|
|
1127
|
+
style: L({
|
|
1128
|
+
left: R.value.tooltipLeft,
|
|
1129
|
+
color: pe(ze)(r.selectColor),
|
|
1130
|
+
backgroundColor: r.selectColor,
|
|
1124
1131
|
border: `1px solid ${g.value}`,
|
|
1125
1132
|
zIndex: `${ct.value + 4}`,
|
|
1126
1133
|
visibility: se.value || w.value.left === w.value.right ? "hidden" : "visible",
|
|
1127
|
-
top: k.value &&
|
|
1134
|
+
top: k.value && r.minimapCompact ? "calc(-100% - 12px)" : "-100%"
|
|
1128
1135
|
})
|
|
1129
|
-
},
|
|
1136
|
+
}, We(w.value.left), 7)) : v("", !0),
|
|
1130
1137
|
(se.value || w.value.left === w.value.right) && (w.value.left || w.value.right) ? (u(), i("div", {
|
|
1131
1138
|
key: 4,
|
|
1132
1139
|
ref: "tooltipMerge",
|
|
@@ -1134,43 +1141,43 @@ const yl = {
|
|
|
1134
1141
|
"range-tooltip": !0,
|
|
1135
1142
|
"range-tooltip-visible": J.value,
|
|
1136
1143
|
"range-tooltip-arrow": !0,
|
|
1137
|
-
"range-tooltip-arrow-left": !
|
|
1138
|
-
"range-tooltip-arrow-right": !
|
|
1144
|
+
"range-tooltip-arrow-left": !R.value.arrowLeft && !r.verticalHandles,
|
|
1145
|
+
"range-tooltip-arrow-right": !R.value.arrowRight && !r.verticalHandles
|
|
1139
1146
|
}),
|
|
1140
|
-
style:
|
|
1141
|
-
left:
|
|
1147
|
+
style: L({
|
|
1148
|
+
left: R.value.tooltipCenter,
|
|
1142
1149
|
width: ce.value.width + "px",
|
|
1143
|
-
color: pe(
|
|
1144
|
-
backgroundColor:
|
|
1150
|
+
color: pe(ze)(r.selectColor),
|
|
1151
|
+
backgroundColor: r.selectColor,
|
|
1145
1152
|
border: `1px solid ${g.value}`,
|
|
1146
1153
|
zIndex: "4",
|
|
1147
|
-
top: k.value &&
|
|
1154
|
+
top: k.value && r.minimapCompact ? "calc(-100% - 12px)" : "-100%"
|
|
1148
1155
|
})
|
|
1149
|
-
},
|
|
1156
|
+
}, We(w.value.left === w.value.right ? w.value.left : `${w.value.left} - ${w.value.right}`), 7)) : v("", !0),
|
|
1150
1157
|
w.value.right ? (u(), i("div", {
|
|
1151
1158
|
key: 5,
|
|
1152
1159
|
ref_key: "tooltipRight",
|
|
1153
|
-
ref:
|
|
1160
|
+
ref: re,
|
|
1154
1161
|
class: _({
|
|
1155
1162
|
"range-tooltip": !0,
|
|
1156
1163
|
"range-tooltip-visible": J.value,
|
|
1157
|
-
"range-tooltip-arrow":
|
|
1158
|
-
"range-tooltip-arrow-right": !
|
|
1164
|
+
"range-tooltip-arrow": R.value.arrowRight && !r.verticalHandles,
|
|
1165
|
+
"range-tooltip-arrow-right": !R.value.arrowRight && !r.verticalHandles
|
|
1159
1166
|
}),
|
|
1160
|
-
style:
|
|
1161
|
-
left:
|
|
1162
|
-
color: pe(
|
|
1163
|
-
backgroundColor:
|
|
1167
|
+
style: L({
|
|
1168
|
+
left: R.value.tooltipRight,
|
|
1169
|
+
color: pe(ze)(r.selectColor),
|
|
1170
|
+
backgroundColor: r.selectColor,
|
|
1164
1171
|
border: `1px solid ${g.value}`,
|
|
1165
1172
|
zIndex: "4",
|
|
1166
1173
|
visibility: se.value || w.value.left === w.value.right ? "hidden" : "visible",
|
|
1167
|
-
top: k.value &&
|
|
1174
|
+
top: k.value && r.minimapCompact ? "calc(-100% - 12px)" : "-100%"
|
|
1168
1175
|
})
|
|
1169
|
-
},
|
|
1176
|
+
}, We(w.value.right), 7)) : v("", !0)
|
|
1170
1177
|
], 544)
|
|
1171
|
-
],
|
|
1178
|
+
], 36));
|
|
1172
1179
|
}
|
|
1173
|
-
},
|
|
1180
|
+
}, fa = /* @__PURE__ */ gl(ra, [["__scopeId", "data-v-14a5fbff"]]);
|
|
1174
1181
|
export {
|
|
1175
|
-
|
|
1182
|
+
fa as S
|
|
1176
1183
|
};
|