vue-data-ui 3.23.9 → 3.23.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +40 -40
- package/dist/{Arrow-CF0VFcBH.js → Arrow-DrF4NNJO.js} +1 -1
- package/dist/{BaseDraggableDialog-LoqqwRtV.js → BaseDraggableDialog-Dr_Q6Yt5.js} +2 -2
- package/dist/{BaseIcon-BfndwIWE.js → BaseIcon-BbElSC8_.js} +1 -1
- package/dist/{BaseLegendToggle-DZVucLnv.js → BaseLegendToggle-CtEdLr4R.js} +1 -1
- package/dist/{BaseZoomControls-BZvCnZEi.js → BaseZoomControls-Cvq4UmNG.js} +2 -2
- package/dist/{ColorPicker--ayG2YHf.js → ColorPicker-ChOgAmCi.js} +2 -2
- package/dist/{DataTable-BbKgJ5UI.js → DataTable-CmyEubtT.js} +2 -2
- package/dist/{HillActions-BD9j_sOU.js → HillActions-3HneGJhS.js} +1 -1
- package/dist/{Legend-CQxUgOd-.js → Legend-BJtY2RA9.js} +2 -2
- package/dist/{NonSvgPenAndPaper-4ypecDg1.js → NonSvgPenAndPaper-DmxzHJtV.js} +3 -3
- package/dist/{PackageVersion-B629oKuX.js → PackageVersion-C0b7KAMa.js} +1 -1
- package/dist/{PenAndPaper-C0UZ74fa.js → PenAndPaper-CIa1F5Jq.js} +3 -3
- package/dist/{Shape-C21CMlWS.js → Shape-BAL5bQmA.js} +1 -1
- package/dist/{SlicerPreview-wUw1hFwe.js → SlicerPreview-BRRyc1p7.js} +426 -426
- package/dist/{SparkTooltip-CjsbIhzi.js → SparkTooltip-Bou05CV_.js} +1 -1
- package/dist/{Title-BE3qg9xl.js → Title-CaVA8EIw.js} +1 -1
- package/dist/{Tooltip-DhjyfHwz.js → Tooltip-CVxJe3UW.js} +1 -1
- package/dist/{UserOptions-Dt98of5H.js → UserOptions-WH7-49V0.js} +2 -2
- package/dist/components/arrow.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-hill.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-icon.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/{dom-to-png-BYIvdTe8.js → dom-to-png-COvyU2SG.js} +1 -1
- package/dist/exposedLib-DrUEXSyf.js +28 -0
- package/dist/{img-Bnokohej.js → img-Bkzj3lDD.js} +1 -1
- package/dist/{labelUtils-BeVpDvTJ.js → labelUtils-iX76cA2-.js} +1 -1
- package/dist/{lib-Bttd6u5E.js → lib-Dqr_-I6Y.js} +166 -163
- package/dist/{package-C01DAl-Z.js → package-D7_0M69J.js} +1 -1
- package/dist/{pdf-CVIDfCrS.js → pdf-Bk_9lTdQ.js} +1 -1
- package/dist/{render-common-Dv5BvuwZ.js → render-common-B0f5NTO9.js} +12 -12
- package/dist/ssr/vue-ui-donut.js +1 -1
- package/dist/ssr/vue-ui-xy.js +1 -1
- package/dist/ssr.js +2 -2
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +13 -2
- package/dist/types/vue-ui-dag.d.ts +2 -0
- package/dist/{useNestedProp-vPNvh7rV.js → useNestedProp-CulPqtou.js} +1 -1
- package/dist/{usePrinter-DN5bYhTG.js → usePrinter-CEiH1b6R.js} +2 -2
- package/dist/utils.js +9 -9
- package/dist/{vue-data-ui-DDZLOx_v.js → vue-data-ui-BlZHZHoH.js} +69 -69
- package/dist/vue-data-ui.js +73 -73
- package/dist/{vue-ui-3d-bar-C9Y9Uklb.js → vue-ui-3d-bar-CtT2BovY.js} +379 -381
- package/dist/{vue-ui-accordion-CLU_su1P.js → vue-ui-accordion-C6L7glHU.js} +3 -3
- package/dist/{vue-ui-age-pyramid-D98P16h3.js → vue-ui-age-pyramid-BhGNgnLB.js} +27 -27
- package/dist/{vue-ui-annotator-QjHngrui.js → vue-ui-annotator-BwIu0JUV.js} +9 -9
- package/dist/vue-ui-bullet-BI7KJyJx.js +700 -0
- package/dist/{vue-ui-bump-BP7UOMFX.js → vue-ui-bump-BCQ97z1G.js} +325 -325
- package/dist/{vue-ui-candlestick-XPQeeduK.js → vue-ui-candlestick-Cs7I5MQS.js} +245 -245
- package/dist/{vue-ui-carousel-table-D39rMqRb.js → vue-ui-carousel-table-CDjAjc4b.js} +108 -108
- package/dist/{vue-ui-chestnut-B0xezYHS.js → vue-ui-chestnut-d6GxjfcP.js} +86 -86
- package/dist/vue-ui-chord-BuConnPN.js +1345 -0
- package/dist/vue-ui-circle-pack-CmxANHap.js +1633 -0
- package/dist/{vue-ui-cursor-JXCd2JAw.js → vue-ui-cursor-CQcnZYBv.js} +3 -3
- package/dist/{vue-ui-dag-D42c5rJN.js → vue-ui-dag-DKUZN-aQ.js} +923 -885
- package/dist/{vue-ui-dashboard-9-9eUWEy.js → vue-ui-dashboard-ciI4wMe6.js} +69 -69
- package/dist/{vue-ui-digits-CCkSVNpz.js → vue-ui-digits-DWf1vzYE.js} +3 -3
- package/dist/{vue-ui-donut-BnVCS9Ll.js → vue-ui-donut-CvCViwSI.js} +64 -64
- package/dist/vue-ui-donut-DZTtuFAG.js +2413 -0
- package/dist/{vue-ui-donut-evolution-CgjBE6EG.js → vue-ui-donut-evolution-BvZX3Gi8.js} +347 -347
- package/dist/{vue-ui-dumbbell-CVX2tGDU.js → vue-ui-dumbbell-BZywCpHd.js} +233 -236
- package/dist/vue-ui-flow-D5jcKr_S.js +1214 -0
- package/dist/vue-ui-funnel-7zX5QnQx.js +747 -0
- package/dist/{vue-ui-galaxy-CThLjvdQ.js → vue-ui-galaxy-BuGd-Ojm.js} +323 -325
- package/dist/vue-ui-gauge-BlDQIpBk.js +932 -0
- package/dist/{vue-ui-geo-DwNCnH_W.js → vue-ui-geo-PWGZw4Un.js} +34 -34
- package/dist/{vue-ui-gizmo-BkQUnPvN.js → vue-ui-gizmo-CTxB3PAl.js} +10 -10
- package/dist/{vue-ui-heatmap-COX6rafn.js → vue-ui-heatmap-sFF5IbM8.js} +472 -472
- package/dist/{vue-ui-hill-7BisXEYH.js → vue-ui-hill-DO3r2s-i.js} +10 -10
- package/dist/vue-ui-history-plot-Cj-Olvhn.js +1695 -0
- package/dist/vue-ui-horizontal-bar-B34aYuDZ.js +1708 -0
- package/dist/{vue-ui-kpi-R9bl7je_.js → vue-ui-kpi-Co6y1YlE.js} +3 -3
- package/dist/{vue-ui-mini-loader-SNMKnmMa.js → vue-ui-mini-loader-BVSIAFYi.js} +2 -2
- package/dist/{vue-ui-molecule-CNtY2_yF.js → vue-ui-molecule-ERAB4YzZ.js} +157 -163
- package/dist/{vue-ui-mood-radar-DUxhOQpR.js → vue-ui-mood-radar-BPp7L6OP.js} +302 -304
- package/dist/{vue-ui-nested-donuts-Bbub_wCe.js → vue-ui-nested-donuts-CX5ut2yp.js} +110 -113
- package/dist/vue-ui-onion-CWYJTUCq.js +1233 -0
- package/dist/vue-ui-parallel-coordinate-plot-DJrV-dVt.js +1430 -0
- package/dist/{vue-ui-quadrant-CFvonilu.js → vue-ui-quadrant-wj8Up03L.js} +32 -32
- package/dist/{vue-ui-quick-chart-iEJt6333.js → vue-ui-quick-chart-CPYdScHL.js} +153 -153
- package/dist/{vue-ui-radar-ClZ_OIr5.js → vue-ui-radar-D3gLQcI5.js} +41 -41
- package/dist/{vue-ui-rating-BnXrMeGg.js → vue-ui-rating-dBCk6ECe.js} +26 -26
- package/dist/vue-ui-relation-circle-DeNBOPjz.js +903 -0
- package/dist/vue-ui-ridgeline-DQcZJ_hv.js +1614 -0
- package/dist/vue-ui-rings-CF9NfFW2.js +1250 -0
- package/dist/vue-ui-scatter-U_xxKOte.js +2403 -0
- package/dist/{vue-ui-skeleton-Drk48XZi.js → vue-ui-skeleton-GA4wzjXV.js} +3 -3
- package/dist/{vue-ui-smiley-BQuXRW4o.js → vue-ui-smiley-D1pW2Fdy.js} +23 -23
- package/dist/{vue-ui-spark-trend-CYcS6-FN.js → vue-ui-spark-trend-BXRGMn5-.js} +23 -23
- package/dist/{vue-ui-sparkbar-eqLrT50j.js → vue-ui-sparkbar-96D0eR-o.js} +24 -24
- package/dist/{vue-ui-sparkgauge-C_b1h4DY.js → vue-ui-sparkgauge-BWBek2u2.js} +61 -61
- package/dist/{vue-ui-sparkhistogram-BzJr83-i.js → vue-ui-sparkhistogram-Cqs068RX.js} +15 -15
- package/dist/vue-ui-sparkline-B8cyY_P1.js +1584 -0
- package/dist/{vue-ui-sparkstackbar-O6Ojc2m8.js → vue-ui-sparkstackbar-C0BkLc2b.js} +207 -207
- package/dist/vue-ui-stackbar-DtsOc7B_.js +2332 -0
- package/dist/{vue-ui-stackline-D7d_Yqid.js → vue-ui-stackline-MSs0pdhE.js} +751 -747
- package/dist/{vue-ui-strip-plot-AljSBqsw.js → vue-ui-strip-plot-Df-TomML.js} +63 -66
- package/dist/vue-ui-table-BKSRQGVK.js +1352 -0
- package/dist/{vue-ui-table-heatmap-DRABMw2H.js → vue-ui-table-heatmap-CglQqfWH.js} +84 -84
- package/dist/{vue-ui-table-sparkline-OScDr7Z5.js → vue-ui-table-sparkline-B7Dh-fN2.js} +11 -11
- package/dist/vue-ui-thermometer-DXuLn8NC.js +756 -0
- package/dist/{vue-ui-timer--q-f8RPJ.js → vue-ui-timer-orCjVwS4.js} +12 -12
- package/dist/{vue-ui-tiremarks-B2Fji5g0.js → vue-ui-tiremarks-DNoQ6Fl2.js} +12 -12
- package/dist/{vue-ui-treemap-CHqCU3Mt.js → vue-ui-treemap-90_Clj0e.js} +51 -54
- package/dist/vue-ui-waffle-BSQXyJ1S.js +1610 -0
- package/dist/{vue-ui-wheel-Dz2QzZcJ.js → vue-ui-wheel-CfU0Nnn0.js} +28 -28
- package/dist/{vue-ui-word-cloud-DBp8kZ4A.js → vue-ui-word-cloud-AgMvmPlI.js} +38 -41
- package/dist/{vue-ui-world-DbYSOiC4.js → vue-ui-world-D0Z9B6M2.js} +120 -123
- package/dist/{vue-ui-xy-C23skZ-G.js → vue-ui-xy-5Te2TfRK.js} +1645 -1641
- package/dist/vue-ui-xy-canvas-BHpBO5dS.js +1823 -0
- package/dist/{vue-ui-xy-CrHCmWhv.js → vue-ui-xy-ua_mFu_a.js} +99 -99
- package/package.json +1 -1
- package/dist/exposedLib-C0DPCgFj.js +0 -28
- package/dist/vue-ui-bullet-GgRg9sbN.js +0 -700
- package/dist/vue-ui-chord-eOIKOfDO.js +0 -1345
- package/dist/vue-ui-circle-pack-kCN1R-pw.js +0 -1636
- package/dist/vue-ui-donut-HrEXYDqO.js +0 -2415
- package/dist/vue-ui-flow-R-fW_EeT.js +0 -1217
- package/dist/vue-ui-funnel-CT3ixpCM.js +0 -750
- package/dist/vue-ui-gauge-DRXsVxYq.js +0 -932
- package/dist/vue-ui-history-plot-Bn_M0AFg.js +0 -1698
- package/dist/vue-ui-horizontal-bar-CkRRidx3.js +0 -1708
- package/dist/vue-ui-onion-Bix9MN3w.js +0 -1233
- package/dist/vue-ui-parallel-coordinate-plot-6SI2vJOo.js +0 -1430
- package/dist/vue-ui-relation-circle-CZ68uWhc.js +0 -903
- package/dist/vue-ui-ridgeline-BSiPLA08.js +0 -1614
- package/dist/vue-ui-rings-mGN_bpo1.js +0 -1252
- package/dist/vue-ui-scatter-C0PouRMY.js +0 -2403
- package/dist/vue-ui-sparkline-CyJKVGYw.js +0 -1584
- package/dist/vue-ui-stackbar-J5QzbBaA.js +0 -2328
- package/dist/vue-ui-table-CBdCPS2r.js +0 -1352
- package/dist/vue-ui-thermometer-DWmM_Hn9.js +0 -756
- package/dist/vue-ui-waffle-C1ksX6OD.js +0 -1612
- package/dist/vue-ui-xy-canvas-B-KxaFGF.js +0 -1819
|
@@ -1,69 +1,69 @@
|
|
|
1
|
-
import { B as e,
|
|
1
|
+
import { B as e, H as t, I as n, P as r, St as i, V as a, Zt as o, q as ee, r as te, t as ne, wt as re } from "./lib-Dqr_-I6Y.js";
|
|
2
2
|
import { t as s } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
3
3
|
import { i as ie, l as c, t as ae } from "./useResponsive-ZtArZtUf.js";
|
|
4
|
-
import { t as oe } from "./BaseIcon-
|
|
4
|
+
import { t as oe } from "./BaseIcon-BbElSC8_.js";
|
|
5
5
|
import { t as se } from "./DefGrad-DVBqDjhO.js";
|
|
6
|
-
import { Fragment as l, computed as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createVNode as ce, guardReactiveProps as le, mergeProps as ue, nextTick as de, normalizeClass as m, normalizeProps as fe, normalizeStyle as h, onBeforeUnmount as pe, onMounted as me, onUpdated as he, openBlock as g, ref as _, renderList as v, renderSlot as ge, toDisplayString as _e, unref as ve, useCssVars as ye, vModelText as be, watch as
|
|
6
|
+
import { Fragment as l, computed as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createVNode as ce, guardReactiveProps as le, mergeProps as ue, nextTick as de, normalizeClass as m, normalizeProps as fe, normalizeStyle as h, onBeforeUnmount as pe, onMounted as me, onUpdated as he, openBlock as g, ref as _, renderList as v, renderSlot as ge, toDisplayString as _e, unref as ve, useCssVars as ye, vModelText as be, watch as y, withDirectives as xe, withKeys as Se, withModifiers as Ce } from "vue";
|
|
7
7
|
//#region src/atoms/SlicerPreview.vue
|
|
8
|
-
var
|
|
8
|
+
var we = ["data-minimap"], Te = {
|
|
9
9
|
class: "vue-data-ui-slicer-labels",
|
|
10
10
|
style: {
|
|
11
11
|
position: "relative",
|
|
12
12
|
"z-index": "1",
|
|
13
13
|
"pointer-events": "none"
|
|
14
14
|
}
|
|
15
|
-
},
|
|
15
|
+
}, Ee = {
|
|
16
16
|
key: 0,
|
|
17
17
|
style: {
|
|
18
18
|
width: "100%",
|
|
19
19
|
position: "relative",
|
|
20
20
|
"pointer-events": "all"
|
|
21
21
|
}
|
|
22
|
-
},
|
|
22
|
+
}, De = {
|
|
23
23
|
key: 0,
|
|
24
24
|
class: "minimap",
|
|
25
25
|
style: { width: "100%" }
|
|
26
|
-
},
|
|
26
|
+
}, Oe = ["xmlns", "viewBox"], ke = ["id"], Ae = [
|
|
27
27
|
"x",
|
|
28
28
|
"width",
|
|
29
29
|
"height"
|
|
30
|
-
],
|
|
30
|
+
], je = [
|
|
31
31
|
"width",
|
|
32
32
|
"height",
|
|
33
33
|
"stroke"
|
|
34
|
-
],
|
|
34
|
+
], Me = ["d", "stroke"], Ne = ["d", "fill"], Pe = [
|
|
35
35
|
"x",
|
|
36
36
|
"y",
|
|
37
37
|
"width",
|
|
38
38
|
"height",
|
|
39
39
|
"fill"
|
|
40
|
-
],
|
|
40
|
+
], Fe = [
|
|
41
41
|
"d",
|
|
42
42
|
"stroke",
|
|
43
43
|
"stroke-dasharray"
|
|
44
|
-
],
|
|
44
|
+
], Ie = [
|
|
45
45
|
"cx",
|
|
46
46
|
"cy",
|
|
47
47
|
"fill",
|
|
48
48
|
"stroke"
|
|
49
|
-
],
|
|
49
|
+
], Le = [
|
|
50
50
|
"cx",
|
|
51
51
|
"cy",
|
|
52
52
|
"fill",
|
|
53
53
|
"stroke"
|
|
54
|
-
],
|
|
54
|
+
], Re = [
|
|
55
55
|
"x",
|
|
56
56
|
"width",
|
|
57
57
|
"height",
|
|
58
58
|
"fill",
|
|
59
59
|
"rx"
|
|
60
|
-
],
|
|
60
|
+
], ze = [
|
|
61
61
|
"x",
|
|
62
62
|
"width",
|
|
63
63
|
"height",
|
|
64
64
|
"rx",
|
|
65
65
|
"fill"
|
|
66
|
-
],
|
|
66
|
+
], Be = [
|
|
67
67
|
"x",
|
|
68
68
|
"width",
|
|
69
69
|
"height",
|
|
@@ -73,128 +73,128 @@ var Te = ["data-minimap"], Ee = {
|
|
|
73
73
|
"aria-valuemax",
|
|
74
74
|
"aria-valuenow",
|
|
75
75
|
"aria-valuetext"
|
|
76
|
-
],
|
|
76
|
+
], Ve = [
|
|
77
77
|
"x2",
|
|
78
78
|
"y1",
|
|
79
79
|
"y2",
|
|
80
80
|
"stroke"
|
|
81
|
-
],
|
|
81
|
+
], He = { key: "merged-tree" }, Ue = ["d", "stroke"], We = [
|
|
82
82
|
"cx",
|
|
83
83
|
"cy",
|
|
84
84
|
"stroke",
|
|
85
85
|
"fill"
|
|
86
|
-
],
|
|
86
|
+
], Ge = [
|
|
87
87
|
"cx",
|
|
88
88
|
"cy",
|
|
89
89
|
"stroke",
|
|
90
90
|
"fill"
|
|
91
|
-
],
|
|
91
|
+
], Ke = { key: "split-tree" }, qe = [
|
|
92
92
|
"x",
|
|
93
93
|
"y",
|
|
94
94
|
"width",
|
|
95
95
|
"height",
|
|
96
96
|
"fill"
|
|
97
|
-
],
|
|
97
|
+
], Je = [
|
|
98
98
|
"d",
|
|
99
99
|
"stroke",
|
|
100
100
|
"stroke-dasharray"
|
|
101
|
-
],
|
|
101
|
+
], Ye = [
|
|
102
102
|
"cx",
|
|
103
103
|
"cy",
|
|
104
104
|
"fill",
|
|
105
105
|
"stroke"
|
|
106
|
-
],
|
|
106
|
+
], Xe = ["width", "height"], Ze = [
|
|
107
107
|
"x",
|
|
108
108
|
"width",
|
|
109
109
|
"height",
|
|
110
110
|
"fill",
|
|
111
111
|
"stroke",
|
|
112
112
|
"stroke-width"
|
|
113
|
-
],
|
|
113
|
+
], Qe = ["transform"], $e = ["width", "height"], et = ["fill", "stroke"], tt = ["stroke"], nt = ["fill"], rt = [
|
|
114
114
|
"x",
|
|
115
115
|
"width",
|
|
116
116
|
"height",
|
|
117
117
|
"fill",
|
|
118
118
|
"stroke",
|
|
119
119
|
"stroke-width"
|
|
120
|
-
],
|
|
120
|
+
], it = ["transform"], at = ["width", "height"], ot = ["fill", "stroke"], st = ["stroke"], ct = ["fill"], lt = {
|
|
121
121
|
key: "merged-tree",
|
|
122
122
|
style: { "pointer-events": "none" }
|
|
123
|
-
},
|
|
123
|
+
}, ut = [
|
|
124
124
|
"cx",
|
|
125
125
|
"cy",
|
|
126
126
|
"stroke",
|
|
127
127
|
"fill"
|
|
128
|
-
],
|
|
128
|
+
], dt = [
|
|
129
129
|
"cx",
|
|
130
130
|
"cy",
|
|
131
131
|
"fill"
|
|
132
|
-
],
|
|
132
|
+
], ft = [
|
|
133
133
|
"cx",
|
|
134
134
|
"cy",
|
|
135
135
|
"stroke",
|
|
136
136
|
"fill"
|
|
137
|
-
],
|
|
137
|
+
], pt = [
|
|
138
138
|
"cx",
|
|
139
139
|
"cy",
|
|
140
140
|
"fill"
|
|
141
|
-
],
|
|
141
|
+
], mt = {
|
|
142
142
|
key: 1,
|
|
143
143
|
style: { "pointer-events": "none" }
|
|
144
|
-
},
|
|
144
|
+
}, ht = [
|
|
145
145
|
"d",
|
|
146
146
|
"stroke",
|
|
147
147
|
"stroke-dasharray"
|
|
148
|
-
],
|
|
148
|
+
], gt = [
|
|
149
149
|
"cx",
|
|
150
150
|
"cy",
|
|
151
151
|
"fill",
|
|
152
152
|
"stroke"
|
|
153
|
-
],
|
|
153
|
+
], _t = [
|
|
154
154
|
"cx",
|
|
155
155
|
"cy",
|
|
156
156
|
"stroke",
|
|
157
157
|
"fill"
|
|
158
|
-
],
|
|
158
|
+
], vt = [
|
|
159
159
|
"cx",
|
|
160
160
|
"cy",
|
|
161
161
|
"fill"
|
|
162
|
-
],
|
|
162
|
+
], yt = [
|
|
163
163
|
"cx",
|
|
164
164
|
"cy",
|
|
165
165
|
"stroke",
|
|
166
166
|
"fill"
|
|
167
|
-
],
|
|
167
|
+
], bt = [
|
|
168
168
|
"cx",
|
|
169
169
|
"cy",
|
|
170
170
|
"fill"
|
|
171
|
-
],
|
|
171
|
+
], xt = [
|
|
172
172
|
"cx",
|
|
173
173
|
"cy",
|
|
174
174
|
"fill",
|
|
175
175
|
"stroke"
|
|
176
|
-
],
|
|
176
|
+
], St = [
|
|
177
177
|
"step",
|
|
178
178
|
"min",
|
|
179
179
|
"max",
|
|
180
180
|
"tabindex"
|
|
181
|
-
],
|
|
181
|
+
], Ct = [
|
|
182
182
|
"step",
|
|
183
183
|
"min",
|
|
184
184
|
"max",
|
|
185
185
|
"tabindex"
|
|
186
|
-
],
|
|
186
|
+
], wt = {
|
|
187
187
|
key: 3,
|
|
188
188
|
class: "minimap-handle-overlay"
|
|
189
|
-
},
|
|
189
|
+
}, Tt = ["xmlns", "viewBox"], Et = [
|
|
190
190
|
"x",
|
|
191
191
|
"width",
|
|
192
192
|
"height"
|
|
193
|
-
],
|
|
193
|
+
], Dt = [
|
|
194
194
|
"x",
|
|
195
195
|
"width",
|
|
196
196
|
"height"
|
|
197
|
-
],
|
|
197
|
+
], Ot = 48, kt = /*#__PURE__*/ s({
|
|
198
198
|
__name: "SlicerPreview",
|
|
199
199
|
props: {
|
|
200
200
|
uuid: {
|
|
@@ -430,141 +430,141 @@ var Te = ["data-minimap"], Ee = {
|
|
|
430
430
|
"trapMouse",
|
|
431
431
|
"trapMouseValue"
|
|
432
432
|
],
|
|
433
|
-
setup(s, { expose:
|
|
433
|
+
setup(s, { expose: kt, emit: At }) {
|
|
434
434
|
ye((e) => ({
|
|
435
|
-
v13222322:
|
|
436
|
-
a9d0a8d4:
|
|
437
|
-
cfb69ef2:
|
|
435
|
+
v13222322: on.value,
|
|
436
|
+
a9d0a8d4: P.value,
|
|
437
|
+
cfb69ef2: cn.value,
|
|
438
438
|
e9662674: s.selectColor,
|
|
439
|
-
v05118454:
|
|
440
|
-
de2dd9f4:
|
|
439
|
+
v05118454: sn.value,
|
|
440
|
+
de2dd9f4: b.additionalMinimapHeight
|
|
441
441
|
}));
|
|
442
|
-
let
|
|
443
|
-
function
|
|
442
|
+
let b = s;
|
|
443
|
+
function jt(e) {
|
|
444
444
|
let t = Number(e) || 0;
|
|
445
|
-
return
|
|
445
|
+
return b.precision <= 0 ? Math.round(t) : Number(t.toFixed(b.precision));
|
|
446
446
|
}
|
|
447
|
-
let
|
|
448
|
-
let e = Math.min(1, Math.max(0,
|
|
447
|
+
let x = _(null), S = _(b.min), C = _(b.max), w = u(() => !!b.allMinimaps.length), Mt = u(() => re(b.minimapLeftInsetRatio) && re(b.minimapRightInsetRatio)), Nt = u(() => {
|
|
448
|
+
let e = Math.min(1, Math.max(0, b.minimapLeftInsetRatio)) * 100, t = Math.min(1, Math.max(0, b.minimapRightInsetRatio)) * 100;
|
|
449
449
|
return {
|
|
450
|
-
padding:
|
|
451
|
-
maxWidth:
|
|
452
|
-
margin:
|
|
450
|
+
padding: Mt.value ? `0 ${t}% 0 ${e}%` : "0 48px",
|
|
451
|
+
maxWidth: b.maxWidth && !Mt.value ? `${b.maxWidth}px` : void 0,
|
|
452
|
+
margin: b.maxWidth && !Mt.value ? "0 auto" : void 0
|
|
453
453
|
};
|
|
454
|
-
}),
|
|
454
|
+
}), Pt = _(ee()), T = _(!1), E = u(() => w.value && b.minimapCompact), D = _(null), Ft = _(!1), It = _(0), Lt = _(0), Rt = _(null), zt = _(!1), Bt = u(() => D.value !== null), Vt = u(() => b.useValueRange ? C.value : C.value - 1), Ht = u(() => Math.max(1, Number(b.max) - Number(b.min)));
|
|
455
|
+
function Ut(e) {
|
|
456
|
+
return (Number(e) - Number(b.min)) / Ht.value * 100;
|
|
457
|
+
}
|
|
455
458
|
function Wt(e) {
|
|
456
|
-
return (
|
|
459
|
+
return I.value.width * (Ut(e) / 100);
|
|
457
460
|
}
|
|
458
461
|
function Gt(e) {
|
|
459
|
-
|
|
462
|
+
let t = Math.min(1, Math.max(0, e / Math.max(1, I.value.width)));
|
|
463
|
+
return jt(Number(b.min) + Ht.value * t);
|
|
460
464
|
}
|
|
461
465
|
function Kt(e) {
|
|
462
|
-
let t =
|
|
463
|
-
return
|
|
466
|
+
let t = b.useValueRange ? e?.y : e;
|
|
467
|
+
return re(t) ? Number(t) : null;
|
|
464
468
|
}
|
|
465
|
-
function qt(e) {
|
|
466
|
-
|
|
467
|
-
return t(n) ? Number(n) : null;
|
|
469
|
+
function qt(e, t) {
|
|
470
|
+
return b.useValueRange ? Number(e?.x) : t + Number(b.min);
|
|
468
471
|
}
|
|
469
472
|
function Jt(e, t) {
|
|
470
|
-
return
|
|
473
|
+
return b.useValueRange ? Wt(qt(e, t)) : B.value * t + (b.minimapCompact ? 0 : B.value / 2);
|
|
471
474
|
}
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
}
|
|
475
|
-
let Xt = u(() => Math.min(40, Math.max(20, y.handleWidth))), Zt = _(0), Qt = c((e) => j("futureStart", e), 0), $t = c((e) => j("futureEnd", e), 0), D = u(() => y.precision > 0 ? 1 / 10 ** y.precision : 1), O = u({
|
|
476
|
-
get: () => x.value,
|
|
475
|
+
let Yt = u(() => Math.min(40, Math.max(20, b.handleWidth))), Xt = _(0), Zt = c((e) => M("futureStart", e), 0), Qt = c((e) => M("futureEnd", e), 0), O = u(() => b.precision > 0 ? 1 / 10 ** b.precision : 1), k = u({
|
|
476
|
+
get: () => S.value,
|
|
477
477
|
set(e) {
|
|
478
|
-
let t = Math.min(Number(e), Number(
|
|
479
|
-
t !==
|
|
478
|
+
let t = Math.min(Number(e), Number(C.value) - O.value);
|
|
479
|
+
t !== S.value && (S.value = t, Un.value && (Un.value.value = String(t)), b.immediate ? M("update:start", Number(t)) : T.value && Zt(t));
|
|
480
480
|
}
|
|
481
|
-
}),
|
|
482
|
-
get: () =>
|
|
481
|
+
}), A = u({
|
|
482
|
+
get: () => C.value,
|
|
483
483
|
set(e) {
|
|
484
|
-
let t = Math.max(Number(e), Number(
|
|
485
|
-
t !==
|
|
484
|
+
let t = Math.max(Number(e), Number(S.value) + O.value);
|
|
485
|
+
t !== C.value && (C.value = t, Wn.value && (Wn.value.value = String(t)), b.immediate ? M("update:end", Number(t)) : T.value && Qt(t));
|
|
486
486
|
}
|
|
487
487
|
});
|
|
488
|
-
function
|
|
489
|
-
clearTimeout(null),
|
|
488
|
+
function j() {
|
|
489
|
+
clearTimeout(null), b.immediate || (M("update:start", Number(S.value)), M("update:end", Number(C.value))), T.value = !1;
|
|
490
490
|
}
|
|
491
|
-
let
|
|
492
|
-
if (
|
|
493
|
-
if (
|
|
494
|
-
let e = Math.max(1,
|
|
491
|
+
let $t = u(() => b.refreshEndPoint === null ? b.max : b.refreshEndPoint), M = At, en = u(() => {
|
|
492
|
+
if (b.useValueRange) return Ut(S.value);
|
|
493
|
+
if (E.value) {
|
|
494
|
+
let e = Math.max(1, R.value - 1);
|
|
495
495
|
return Pn.value / e * 100;
|
|
496
496
|
}
|
|
497
|
-
let e = Math.max(1,
|
|
498
|
-
return (
|
|
499
|
-
}),
|
|
500
|
-
if (
|
|
501
|
-
if (
|
|
502
|
-
let e = Math.max(1,
|
|
497
|
+
let e = Math.max(1, b.max - b.min);
|
|
498
|
+
return (S.value - b.min) / e * 100;
|
|
499
|
+
}), tn = u(() => {
|
|
500
|
+
if (b.useValueRange) return Ut(C.value);
|
|
501
|
+
if (E.value) {
|
|
502
|
+
let e = Math.max(1, R.value - 1);
|
|
503
503
|
return Fn.value / e * 100;
|
|
504
504
|
}
|
|
505
|
-
let e = Math.max(1,
|
|
506
|
-
return (
|
|
507
|
-
}),
|
|
508
|
-
if (!
|
|
509
|
-
let e = Math.max(1,
|
|
510
|
-
return
|
|
511
|
-
}),
|
|
512
|
-
if (!
|
|
513
|
-
let e = Math.max(1,
|
|
514
|
-
return t * ((
|
|
515
|
-
}),
|
|
516
|
-
let e =
|
|
505
|
+
let e = Math.max(1, b.max - b.min);
|
|
506
|
+
return (C.value - b.min) / e * 100;
|
|
507
|
+
}), nn = u(() => (en.value + tn.value) / 2), rn = u(() => {
|
|
508
|
+
if (!x.value) return !1;
|
|
509
|
+
let e = Math.max(1, b.max - b.min);
|
|
510
|
+
return x.value.getBoundingClientRect().width * ((S.value - b.min) / e) - vr.value / 2 < 0;
|
|
511
|
+
}), an = u(() => {
|
|
512
|
+
if (!x.value) return !1;
|
|
513
|
+
let e = Math.max(1, b.max - b.min), t = x.value.getBoundingClientRect().width;
|
|
514
|
+
return t * ((C.value - b.min) / e) + yr.value / 2 > t;
|
|
515
|
+
}), N = u(() => {
|
|
516
|
+
let e = an.value ? `calc(${nn.value}% - ${Tr.value.width}px)` : rn.value ? `calc(${nn.value}% - 8px)` : `calc(${nn.value}% - ${Tr.value.width / 2}px)`;
|
|
517
517
|
return {
|
|
518
|
-
left: `${
|
|
519
|
-
width: `${Math.max(0,
|
|
520
|
-
background:
|
|
521
|
-
tooltipLeft: `calc(${
|
|
522
|
-
tooltipRight: `calc(${
|
|
518
|
+
left: `${en.value}%`,
|
|
519
|
+
width: `${Math.max(0, tn.value - en.value)}%`,
|
|
520
|
+
background: b.selectColor,
|
|
521
|
+
tooltipLeft: `calc(${en.value}% - ${rn.value ? 9 : vr.value / 2}px)`,
|
|
522
|
+
tooltipRight: `calc(${tn.value}% - ${an.value ? yr.value - 9 : yr.value / 2}px)`,
|
|
523
523
|
tooltipCenter: e,
|
|
524
|
-
arrowLeft: !
|
|
525
|
-
arrowRight: !
|
|
524
|
+
arrowLeft: !rn.value,
|
|
525
|
+
arrowRight: !an.value
|
|
526
526
|
};
|
|
527
|
-
}),
|
|
528
|
-
function
|
|
529
|
-
|
|
527
|
+
}), on = u(() => b.inputColor), sn = u(() => b.background), cn = u(() => `${b.selectColor}33`), P = u(() => b.borderColor), ln = u(() => Number(b.max) > Number(b.min));
|
|
528
|
+
function un() {
|
|
529
|
+
M("reset");
|
|
530
530
|
}
|
|
531
|
-
|
|
532
|
-
Number(
|
|
533
|
-
}),
|
|
534
|
-
Number(
|
|
531
|
+
y(() => b.min, (e) => {
|
|
532
|
+
Number(S.value) < Number(e) && (S.value = Number(e)), Number(C.value) < Number(e) && (C.value = Number(e));
|
|
533
|
+
}), y(() => b.max, (e) => {
|
|
534
|
+
Number(S.value) > Number(e) && (S.value = Number(e)), Number(C.value) > Number(e) && (C.value = Number(e));
|
|
535
535
|
});
|
|
536
|
-
let
|
|
536
|
+
let F = _(null), I = _({
|
|
537
537
|
width: 1,
|
|
538
538
|
height: 1
|
|
539
|
-
}),
|
|
539
|
+
}), L = _(null);
|
|
540
540
|
me(() => {
|
|
541
|
-
if (
|
|
541
|
+
if (w.value) {
|
|
542
542
|
let e = c(() => {
|
|
543
|
-
if (!
|
|
544
|
-
let { width: e, height: t } = ae({ chart:
|
|
545
|
-
(n !==
|
|
543
|
+
if (!F.value) return;
|
|
544
|
+
let { width: e, height: t } = ae({ chart: F.value }), n = Math.max(0, Math.round(e)), r = Math.max(0, Math.round(t - 47));
|
|
545
|
+
(n !== I.value.width || r !== I.value.height) && (I.value.width = n, I.value.height = r + b.additionalMinimapHeight);
|
|
546
546
|
}, 0);
|
|
547
|
-
|
|
547
|
+
L.value = new ResizeObserver(e), L.value.observe(F.value);
|
|
548
548
|
}
|
|
549
549
|
}), pe(() => {
|
|
550
|
-
|
|
550
|
+
L.value && L.value.disconnect();
|
|
551
551
|
});
|
|
552
|
-
let
|
|
553
|
-
function
|
|
554
|
-
let t = Math.floor(e -
|
|
555
|
-
return Math.min(Math.max(0, t),
|
|
552
|
+
let R = u(() => Math.max(1, b.max - b.min));
|
|
553
|
+
function dn(e) {
|
|
554
|
+
let t = Math.floor(e - b.min);
|
|
555
|
+
return Math.min(Math.max(0, t), R.value);
|
|
556
556
|
}
|
|
557
|
-
function
|
|
558
|
-
let t = Math.ceil(e -
|
|
559
|
-
return Math.min(Math.max(0, t),
|
|
557
|
+
function fn(e) {
|
|
558
|
+
let t = Math.ceil(e - b.min);
|
|
559
|
+
return Math.min(Math.max(0, t), R.value);
|
|
560
560
|
}
|
|
561
|
-
let
|
|
562
|
-
u(() => Math.max(1,
|
|
561
|
+
let z = u(() => dn(S.value)), pn = u(() => fn(C.value)), mn = u(() => Math.max(...b.allMinimaps.map((e) => e.series.length))), hn = u(() => w.value && b.minimapCompact ? 40 : 0), gn = u(() => hn.value / 2);
|
|
562
|
+
u(() => Math.max(1, I.value.width - gn.value * 2));
|
|
563
563
|
let B = u(() => {
|
|
564
|
-
if (
|
|
565
|
-
let e = Math.max(1, mn.value - +!!
|
|
566
|
-
return
|
|
567
|
-
}), _n = u(() =>
|
|
564
|
+
if (b.minimapCompact && !b.useValueRange) return I.value.width / Math.max(1, R.value - 1);
|
|
565
|
+
let e = Math.max(1, mn.value - +!!b.minimapCompact);
|
|
566
|
+
return I.value.width / e;
|
|
567
|
+
}), _n = u(() => b.allMinimaps.length ? b.allMinimaps.filter((e) => e.type === "bar" && e.isVisible).length : 0), vn = u(() => B.value / (_n.value || 1) * .8);
|
|
568
568
|
function yn(e, t, n) {
|
|
569
569
|
let r = vn.value, i = Math.max(1, _n.value), a = mn.value - 1;
|
|
570
570
|
return n === 0 ? e + r / 2 * t : n === a ? e - r / 2 * (i - t) : e - i * r / 2 + t * r;
|
|
@@ -574,7 +574,7 @@ var Te = ["data-minimap"], Ee = {
|
|
|
574
574
|
}
|
|
575
575
|
let xn = u(() => {
|
|
576
576
|
let e = [];
|
|
577
|
-
if (Array.isArray(
|
|
577
|
+
if (Array.isArray(b.minimap) && b.minimap.length && b.minimapMerged && e.push(...b.minimap.map(Kt).filter(Number.isFinite)), Array.isArray(b.allMinimaps) && b.allMinimaps.length) for (let t of b.allMinimaps) t?.isVisible && Array.isArray(t?.series) && e.push(...t.series.map(Kt).filter(Number.isFinite));
|
|
578
578
|
return e.length ? {
|
|
579
579
|
min: Math.min(...e),
|
|
580
580
|
max: Math.max(...e)
|
|
@@ -583,12 +583,12 @@ var Te = ["data-minimap"], Ee = {
|
|
|
583
583
|
max: 1
|
|
584
584
|
};
|
|
585
585
|
}), Sn = u(() => {
|
|
586
|
-
if (
|
|
587
|
-
let e = Number(
|
|
586
|
+
if (b.minScale == null && b.forceZeroCenter) return null;
|
|
587
|
+
let e = Number(b.minScale);
|
|
588
588
|
return Number.isFinite(e) ? e : null;
|
|
589
589
|
}), Cn = u(() => {
|
|
590
|
-
if (
|
|
591
|
-
let e = Number(
|
|
590
|
+
if (b.maxScale == null && b.forceZeroCenter) return null;
|
|
591
|
+
let e = Number(b.maxScale);
|
|
592
592
|
return Number.isFinite(e) ? e : null;
|
|
593
593
|
}), wn = u(() => Sn.value !== null && Cn.value !== null), Tn = u(() => {
|
|
594
594
|
let { min: e, max: t } = xn.value, n = Sn.value, r = Cn.value, i, a;
|
|
@@ -597,7 +597,7 @@ var Te = ["data-minimap"], Ee = {
|
|
|
597
597
|
max: a
|
|
598
598
|
};
|
|
599
599
|
}), En = u(() => Tn.value.min), Dn = u(() => Tn.value.max), On = u(() => En.value < 0 && Dn.value > 0 || Dn.value <= 0 ? En.value : 0), kn = (e) => {
|
|
600
|
-
let t = Math.max(1,
|
|
600
|
+
let t = Math.max(1, I.value.height);
|
|
601
601
|
return jn(En.value, Dn.value, t, wn.value)(e);
|
|
602
602
|
}, An = u(() => kn(0));
|
|
603
603
|
function jn(e, t, n, r = !1) {
|
|
@@ -616,8 +616,8 @@ var Te = ["data-minimap"], Ee = {
|
|
|
616
616
|
return (e) => (1 - (i(e / r, -1, 1) + 1) / 2) * n;
|
|
617
617
|
}
|
|
618
618
|
}
|
|
619
|
-
function Mn(
|
|
620
|
-
if (!
|
|
619
|
+
function Mn(i, o = !1, ee = !1) {
|
|
620
|
+
if (!i || !i.length) return {
|
|
621
621
|
fullSet: "",
|
|
622
622
|
points: [],
|
|
623
623
|
selectionSet: "",
|
|
@@ -630,8 +630,8 @@ var Te = ["data-minimap"], Ee = {
|
|
|
630
630
|
selectionMarkers: [],
|
|
631
631
|
dashed: !1
|
|
632
632
|
};
|
|
633
|
-
let te = Math.max(1,
|
|
634
|
-
let n =
|
|
633
|
+
let te = Math.max(1, I.value.height), ne = jn(En.value, Dn.value, te, wn.value), re = i.length, s = Math.min(Math.max(0, z.value), Math.max(0, re - 1)), ie = Math.min(re, Math.max(s + 1, pn.value)), c = i.map((e, t) => {
|
|
634
|
+
let n = Kt(e), r = Number.isFinite(n), i = Jt(e, t), a = wn.value ? ((e, t, n) => Math.max(t, Math.min(n, e)))(0, En.value, Dn.value) : 0, o = ne(a);
|
|
635
635
|
return {
|
|
636
636
|
x: i,
|
|
637
637
|
y: r ? ne(n) : NaN,
|
|
@@ -639,23 +639,23 @@ var Te = ["data-minimap"], Ee = {
|
|
|
639
639
|
value: r ? n : null,
|
|
640
640
|
y0: o,
|
|
641
641
|
i: t,
|
|
642
|
-
xValue:
|
|
642
|
+
xValue: qt(e, t)
|
|
643
643
|
};
|
|
644
|
-
}), ae = (e) => e >= 0 && e < c.length && Number.isFinite(c[e]?.value), oe = c.filter((e) => Number.isFinite(e.value) && !ae(e.i - 1) && !ae(e.i + 1)), se =
|
|
644
|
+
}), ae = (e) => e >= 0 && e < c.length && Number.isFinite(c[e]?.value), oe = c.filter((e) => Number.isFinite(e.value) && !ae(e.i - 1) && !ae(e.i + 1)), se = b.useValueRange ? oe.filter((e) => e.xValue >= Number(S.value) && e.xValue <= Number(C.value)) : oe.filter((e) => e.i >= s && e.i < ie), l = b.useValueRange ? c.filter((e) => e.xValue >= Number(S.value) && e.xValue <= Number(C.value)) : c.slice(s, ie);
|
|
645
645
|
return {
|
|
646
|
-
fullSet: c.length >= 2 ? ee ? e(
|
|
646
|
+
fullSet: c.length >= 2 ? ee ? e(b.cutNullValues ? c : c.filter((e) => e.value != null)) : b.smoothMinimap || o ? b.cutNullValues ? n(c) : r(c.filter((e) => e.value != null)) : b.cutNullValues ? t(c) : a(c.filter((e) => e.value != null)) : "",
|
|
647
647
|
points: c,
|
|
648
|
-
selectionSet: l.length >= 2 ? ee ? e(
|
|
648
|
+
selectionSet: l.length >= 2 ? ee ? e(b.cutNullValues ? l : l.filter((e) => e.value != null)) : b.smoothMinimap || o ? b.cutNullValues ? n(l) : r(l.filter((e) => e.value != null)) : b.cutNullValues ? t(l) : a(l.filter((e) => e.value != null)) : "",
|
|
649
649
|
sliced: l,
|
|
650
|
-
firstPlot:
|
|
651
|
-
lastPlot:
|
|
650
|
+
firstPlot: b.useValueRange ? l[0] || null : c[s] || null,
|
|
651
|
+
lastPlot: b.useValueRange ? l[l.length - 1] || null : c[Math.max(0, ie - 1)] || null,
|
|
652
652
|
hasFull: c.length >= 2,
|
|
653
653
|
hasSelection: l.length >= 2,
|
|
654
654
|
fullMarkers: oe,
|
|
655
655
|
selectionMarkers: se
|
|
656
656
|
};
|
|
657
657
|
}
|
|
658
|
-
let V = u(() =>
|
|
658
|
+
let V = u(() => b.minimap.length ? Mn(b.minimap) : []), H = u(() => b.allMinimaps.length ? b.allMinimaps.map((e, t) => {
|
|
659
659
|
let n = Mn(e?.series || [], !!e.smooth, !!e.useStepper), r = e?.id ?? e?.name ?? t;
|
|
660
660
|
return {
|
|
661
661
|
key: typeof r == "object" ? JSON.stringify(r) : String(r),
|
|
@@ -668,66 +668,66 @@ var Te = ["data-minimap"], Ee = {
|
|
|
668
668
|
useStepper: !!e.useStepper
|
|
669
669
|
};
|
|
670
670
|
}) : []), U = u(() => {
|
|
671
|
-
if (
|
|
672
|
-
let e =
|
|
671
|
+
if (b.useValueRange) {
|
|
672
|
+
let e = Wt(S.value), t = Wt(C.value);
|
|
673
673
|
return {
|
|
674
674
|
x: e,
|
|
675
675
|
width: Math.max(0, t - e)
|
|
676
676
|
};
|
|
677
677
|
}
|
|
678
|
-
let e =
|
|
678
|
+
let e = z.value, t = Math.max(e + 1, pn.value);
|
|
679
679
|
return {
|
|
680
|
-
x: B.value * e + (
|
|
680
|
+
x: B.value * e + (b.minimapCompact ? 0 : B.value / 2),
|
|
681
681
|
width: B.value * (t - e) - B.value
|
|
682
682
|
};
|
|
683
|
-
}), W = _(
|
|
683
|
+
}), W = _(b.minimapSelectedIndex), Nn = (e) => Math.round(b.min + e), Pn = u({
|
|
684
684
|
get() {
|
|
685
|
-
return
|
|
685
|
+
return E.value ? z.value : Number(k.value);
|
|
686
686
|
},
|
|
687
687
|
set(e) {
|
|
688
|
-
if (
|
|
689
|
-
if (
|
|
690
|
-
let t =
|
|
691
|
-
qn(Math.min(Math.max(Number(
|
|
688
|
+
if (E.value) {
|
|
689
|
+
if (b.useValueRange) {
|
|
690
|
+
let t = jt(e);
|
|
691
|
+
qn(Math.min(Math.max(Number(b.min), t), Number(C.value) - O.value));
|
|
692
692
|
return;
|
|
693
693
|
}
|
|
694
694
|
let t = Math.round(+e || 0);
|
|
695
695
|
qn(Nn(t));
|
|
696
696
|
} else {
|
|
697
|
-
let t =
|
|
697
|
+
let t = jt(e), n = Number(C.value) - O.value, r = Math.min(Math.max(b.min, t), n);
|
|
698
698
|
Un.value && (Un.value.valueAsNumber = r), qn(r);
|
|
699
699
|
}
|
|
700
700
|
}
|
|
701
701
|
}), Fn = u({
|
|
702
702
|
get() {
|
|
703
|
-
return
|
|
703
|
+
return E.value ? Math.max(z.value, pn.value - 1) : Number(A.value);
|
|
704
704
|
},
|
|
705
705
|
set(e) {
|
|
706
|
-
if (
|
|
707
|
-
if (
|
|
708
|
-
let t =
|
|
709
|
-
Yn(Math.max(Number(
|
|
706
|
+
if (E.value) {
|
|
707
|
+
if (b.useValueRange) {
|
|
708
|
+
let t = jt(e);
|
|
709
|
+
Yn(Math.max(Number(S.value) + O.value, Math.min(t, Number(b.max))));
|
|
710
710
|
return;
|
|
711
711
|
}
|
|
712
712
|
let t = Math.round(+e || 0);
|
|
713
713
|
Yn(Nn(t + 1));
|
|
714
714
|
} else {
|
|
715
|
-
let t =
|
|
715
|
+
let t = jt(e), n = Number(S.value) + O.value, r = Math.max(n, Math.min(t, b.max));
|
|
716
716
|
Wn.value && (Wn.value.valueAsNumber = r), Yn(r);
|
|
717
717
|
}
|
|
718
718
|
}
|
|
719
719
|
}), In = 0;
|
|
720
720
|
function Ln(e, t) {
|
|
721
721
|
if (t === In) {
|
|
722
|
-
if (
|
|
723
|
-
W.value = Number.isFinite(Number(e)) ?
|
|
722
|
+
if (b.useValueRange) {
|
|
723
|
+
W.value = Number.isFinite(Number(e)) ? Wt(Number(e)) : null;
|
|
724
724
|
return;
|
|
725
725
|
}
|
|
726
|
-
W.value =
|
|
726
|
+
W.value = dn(b.valueStart) + e;
|
|
727
727
|
}
|
|
728
728
|
}
|
|
729
729
|
let Rn = ie(Ln, 60);
|
|
730
|
-
|
|
730
|
+
y(() => b.minimapSelectedIndex, (e, t) => {
|
|
731
731
|
if (In += 1, [null, void 0].includes(e)) {
|
|
732
732
|
W.value = null;
|
|
733
733
|
return;
|
|
@@ -735,13 +735,13 @@ var Te = ["data-minimap"], Ee = {
|
|
|
735
735
|
e !== t && Rn(e, In);
|
|
736
736
|
}, { immediate: !0 });
|
|
737
737
|
function zn(e) {
|
|
738
|
-
if (
|
|
738
|
+
if (Bt.value) return;
|
|
739
739
|
W.value = e;
|
|
740
|
-
let t =
|
|
741
|
-
e >= t && e < n && !X.value &&
|
|
740
|
+
let t = z.value, n = pn.value;
|
|
741
|
+
e >= t && e < n && !X.value && M("trapMouse", e - t);
|
|
742
742
|
}
|
|
743
743
|
function Bn(e) {
|
|
744
|
-
let t =
|
|
744
|
+
let t = Gt(e), n = b.allMinimaps.flatMap((e) => (e.series || []).map((e, n) => ({
|
|
745
745
|
point: e,
|
|
746
746
|
index: n,
|
|
747
747
|
x: Number(e?.x),
|
|
@@ -750,21 +750,21 @@ var Te = ["data-minimap"], Ee = {
|
|
|
750
750
|
return n.length ? n.reduce((e, t) => t.distance < e.distance ? t : e, n[0]) : null;
|
|
751
751
|
}
|
|
752
752
|
function Vn(e) {
|
|
753
|
-
if (!
|
|
753
|
+
if (!ln.value || Bt.value) return;
|
|
754
754
|
let t = Vr(e.clientX);
|
|
755
|
-
if (
|
|
755
|
+
if (b.useValueRange) {
|
|
756
756
|
let e = Bn(t);
|
|
757
757
|
if (!e) {
|
|
758
758
|
Hn();
|
|
759
759
|
return;
|
|
760
760
|
}
|
|
761
|
-
W.value =
|
|
761
|
+
W.value = Wt(e.x), M("trapMouse", e.index), M("trapMouseValue", e.x);
|
|
762
762
|
return;
|
|
763
763
|
}
|
|
764
764
|
zn(Hr(t));
|
|
765
765
|
}
|
|
766
766
|
function Hn() {
|
|
767
|
-
W.value = null, !
|
|
767
|
+
W.value = null, !Bt.value && (M("trapMouse", null), M("trapMouseValue", null));
|
|
768
768
|
}
|
|
769
769
|
let Un = _(null), Wn = _(null);
|
|
770
770
|
function Gn(e) {
|
|
@@ -777,59 +777,59 @@ var Te = ["data-minimap"], Ee = {
|
|
|
777
777
|
}
|
|
778
778
|
let Kn = 0;
|
|
779
779
|
function qn(e) {
|
|
780
|
-
|
|
780
|
+
T.value = !0;
|
|
781
781
|
let t = Gn(e);
|
|
782
782
|
Number.isFinite(t) && (cancelAnimationFrame(Kn), Kn = requestAnimationFrame(() => {
|
|
783
|
-
|
|
783
|
+
k.value = t;
|
|
784
784
|
}));
|
|
785
785
|
}
|
|
786
786
|
let Jn = 0;
|
|
787
787
|
function Yn(e) {
|
|
788
|
-
|
|
788
|
+
T.value = !0;
|
|
789
789
|
let t = Gn(e);
|
|
790
790
|
Number.isFinite(t) && (cancelAnimationFrame(Jn), Jn = requestAnimationFrame(() => {
|
|
791
|
-
|
|
791
|
+
A.value = t;
|
|
792
792
|
}));
|
|
793
793
|
}
|
|
794
794
|
pe(() => {
|
|
795
795
|
cancelAnimationFrame(Kn), cancelAnimationFrame(Jn);
|
|
796
796
|
});
|
|
797
|
-
let Xn = u(() =>
|
|
797
|
+
let Xn = u(() => b.valueEnd - b.valueStart), Zn = u(() => Xn.value < b.max - b.min), G = _(!1), Qn = _(null), $n = u(() => (Xt.value - 48) / (b.max - b.min) * Xn.value), er = u(() => Math.max(1, Xt.value - Ot - $n.value)), tr = u(() => Math.max(1, b.max - b.min - Xn.value)), nr = u(() => tr.value / er.value), rr = _(0), ir = _(0), ar = _(0), or = _(0), K = null, q = null, J = null, Y = null, sr = _(b.min);
|
|
798
798
|
function cr(e) {
|
|
799
|
-
if (!
|
|
800
|
-
let t =
|
|
801
|
-
return Math.round(
|
|
799
|
+
if (!x.value) return b.min;
|
|
800
|
+
let t = x.value.getBoundingClientRect(), n = t.left + Ot / 2, r = t.right - Ot / 2, i = Math.max(1, r - n), a = (Math.max(n, Math.min(e, r)) - n) / i, o = Math.max(1, b.max - b.min);
|
|
801
|
+
return Math.round(b.min + a * o);
|
|
802
802
|
}
|
|
803
803
|
let lr = async (e) => {
|
|
804
|
-
if (
|
|
804
|
+
if (T.value = !0, Z.value = !0, !b.enableSelectionDrag) return;
|
|
805
805
|
let t = e.type === "touchstart";
|
|
806
806
|
t || e.stopPropagation();
|
|
807
807
|
let n = t && e.targetTouches && e.targetTouches[0] ? e.targetTouches[0] : null, r = t ? n ? n.target : null : e.target;
|
|
808
808
|
if (!r || !(r instanceof Element) || r.classList?.contains("range-handle") || r.classList?.contains("vue-ui-zoom-compact-minimap-handle") || r.closest(".vue-ui-zoom-compact-minimap-handle")) return;
|
|
809
809
|
G.value = !0;
|
|
810
810
|
let i = t ? n ? n.clientX : 0 : e.clientX;
|
|
811
|
-
if (Qn.value = i, rr.value = i,
|
|
812
|
-
|
|
811
|
+
if (Qn.value = i, rr.value = i, b.focusOnDrag && !Zn.value && x.value && !zt.value) {
|
|
812
|
+
zt.value = !0;
|
|
813
813
|
try {
|
|
814
814
|
sr.value = cr(i);
|
|
815
|
-
let e = Math.min(.95, Math.max(.05,
|
|
816
|
-
a = Math.max(Number(
|
|
817
|
-
let ee = Math.min(Number(
|
|
818
|
-
|
|
815
|
+
let e = Math.min(.95, Math.max(.05, b.focusRangeRatio)), t = Number(b.max) - Number(b.min), n = Math.max(1, Math.round(t * e)), r = Math.floor(n / 2), a = sr.value - r;
|
|
816
|
+
a = Math.max(Number(b.min), Math.min(a, Number(b.max) - n));
|
|
817
|
+
let ee = Math.min(Number(b.max), a + n);
|
|
818
|
+
k.value = a, A.value = ee, Zt(a), Qt(ee), o(x.value, "mouseup"), await de(), o(x.value, "mousedown", { clientX: i });
|
|
819
819
|
} finally {
|
|
820
|
-
|
|
820
|
+
zt.value = !1;
|
|
821
821
|
}
|
|
822
822
|
return;
|
|
823
823
|
}
|
|
824
|
-
ir.value =
|
|
824
|
+
ir.value = S.value, ar.value = C.value, or.value = nr.value, K = t ? "touchmove" : "mousemove", q = t ? "touchend" : "mouseup", J = t ? dr : ur, Y = t ? mr : pr, window.addEventListener(K, J, { passive: !1 }), window.addEventListener(q, Y);
|
|
825
825
|
};
|
|
826
826
|
function ur(e) {
|
|
827
827
|
G.value && fr(e.clientX);
|
|
828
828
|
}
|
|
829
829
|
function dr(e) {
|
|
830
|
-
if (!G.value || !
|
|
830
|
+
if (!G.value || !x.value) return;
|
|
831
831
|
let t = e.target;
|
|
832
|
-
if (!(t instanceof Element) || !
|
|
832
|
+
if (!(t instanceof Element) || !x.value.contains(t) || t.classList && t.classList.contains("range-handle")) return;
|
|
833
833
|
e.preventDefault();
|
|
834
834
|
let n = e.targetTouches && e.targetTouches[0] ? e.targetTouches[0] : null;
|
|
835
835
|
n && fr(n.clientX);
|
|
@@ -837,9 +837,9 @@ var Te = ["data-minimap"], Ee = {
|
|
|
837
837
|
function fr(e) {
|
|
838
838
|
if (!G.value) return;
|
|
839
839
|
let t = cr(rr.value), n = cr(e) - t, r = Math.round(ir.value + n);
|
|
840
|
-
r = Math.max(
|
|
840
|
+
r = Math.max(b.min, Math.min(r, b.max - Xn.value));
|
|
841
841
|
let i = r + Xn.value;
|
|
842
|
-
|
|
842
|
+
k.value = r, A.value = i, Zt(r), Qt(i);
|
|
843
843
|
}
|
|
844
844
|
function pr() {
|
|
845
845
|
hr();
|
|
@@ -848,7 +848,7 @@ var Te = ["data-minimap"], Ee = {
|
|
|
848
848
|
hr();
|
|
849
849
|
}
|
|
850
850
|
function hr() {
|
|
851
|
-
G.value = !1, K && J && window.removeEventListener(K, J), q && Y && window.removeEventListener(q, Y), K = q = null, J = Y = null,
|
|
851
|
+
G.value = !1, K && J && window.removeEventListener(K, J), q && Y && window.removeEventListener(q, Y), K = q = null, J = Y = null, j();
|
|
852
852
|
}
|
|
853
853
|
let X = _(!1), gr = _(null), _r = _(null), vr = _(1), yr = _(1), Z = _(!1);
|
|
854
854
|
function br() {
|
|
@@ -874,7 +874,7 @@ var Te = ["data-minimap"], Ee = {
|
|
|
874
874
|
width: 0,
|
|
875
875
|
left: 0
|
|
876
876
|
});
|
|
877
|
-
|
|
877
|
+
y([S, C], async () => {
|
|
878
878
|
if (await de(), !gr.value || !_r.value) {
|
|
879
879
|
wr.value = !1, Tr.value = {
|
|
880
880
|
width: 0,
|
|
@@ -891,25 +891,25 @@ var Te = ["data-minimap"], Ee = {
|
|
|
891
891
|
};
|
|
892
892
|
}), he(() => {
|
|
893
893
|
br(), xr();
|
|
894
|
-
}),
|
|
894
|
+
}), y(() => b.labelLeft, () => {
|
|
895
895
|
de(br);
|
|
896
|
-
}, { deep: !0 }),
|
|
896
|
+
}, { deep: !0 }), y(() => b.labelRight, () => {
|
|
897
897
|
de(xr);
|
|
898
898
|
}, { deep: !0 });
|
|
899
899
|
let Q = u(() => {
|
|
900
900
|
let e = "", t = "", n = !1;
|
|
901
|
-
if (
|
|
902
|
-
let r =
|
|
903
|
-
absoluteIndex:
|
|
904
|
-
seriesIndex:
|
|
905
|
-
datapoint:
|
|
906
|
-
timeLabel:
|
|
901
|
+
if (i(b.customFormat)) try {
|
|
902
|
+
let r = b.customFormat({
|
|
903
|
+
absoluteIndex: S.value,
|
|
904
|
+
seriesIndex: S.value,
|
|
905
|
+
datapoint: b.selectedSeries,
|
|
906
|
+
timeLabel: b.preciseLabels[S.value],
|
|
907
907
|
side: "left"
|
|
908
|
-
}), i =
|
|
909
|
-
absoluteIndex:
|
|
908
|
+
}), i = b.customFormat({
|
|
909
|
+
absoluteIndex: Vt.value,
|
|
910
910
|
seriesIndex: -1,
|
|
911
|
-
datapoint:
|
|
912
|
-
timeLabel:
|
|
911
|
+
datapoint: b.selectedSeries,
|
|
912
|
+
timeLabel: b.useValueRange ? null : b.preciseLabels[Vt.value],
|
|
913
913
|
side: "right"
|
|
914
914
|
});
|
|
915
915
|
typeof r == "string" && typeof i == "string" && (e = r, t = i, n = !0);
|
|
@@ -917,7 +917,7 @@ var Te = ["data-minimap"], Ee = {
|
|
|
917
917
|
n = !1;
|
|
918
918
|
}
|
|
919
919
|
if (!n) {
|
|
920
|
-
let n =
|
|
920
|
+
let n = b.useValueRange ? { text: String(Math.round(S.value * 1e3) / 1e3) } : b.usePreciseLabels ? b.preciseLabels.find((e) => e.absoluteIndex === S.value) : b.timeLabels.find((e) => e.absoluteIndex === S.value), r = b.useValueRange ? { text: String(Math.round(C.value * 1e3) / 1e3) } : b.usePreciseLabels ? b.preciseLabels.find((e) => e.absoluteIndex === Vt.value) : b.timeLabels.find((e) => e.absoluteIndex === Vt.value);
|
|
921
921
|
e = n ? n.text : "", t = r ? r.text : "";
|
|
922
922
|
}
|
|
923
923
|
return {
|
|
@@ -926,45 +926,45 @@ var Te = ["data-minimap"], Ee = {
|
|
|
926
926
|
};
|
|
927
927
|
});
|
|
928
928
|
pe(() => {
|
|
929
|
-
|
|
929
|
+
L.value && L.value.disconnect(), K && J && window.removeEventListener(K, J), q && Y && window.removeEventListener(q, Y), K = q = null, J = Y = null, clearTimeout(null);
|
|
930
930
|
});
|
|
931
931
|
let Er = u(() => {
|
|
932
|
-
if (!
|
|
933
|
-
if (
|
|
932
|
+
if (!ln.value || W.value === null) return null;
|
|
933
|
+
if (b.useValueRange) {
|
|
934
934
|
let e = W.value;
|
|
935
935
|
return e < U.value.x || e > U.value.x + U.value.width ? null : {
|
|
936
936
|
x1: e,
|
|
937
937
|
x2: e,
|
|
938
938
|
y1: 0,
|
|
939
|
-
y2: Math.max(
|
|
940
|
-
stroke:
|
|
939
|
+
y2: Math.max(I.value.height, 0),
|
|
940
|
+
stroke: b.minimapIndicatorColor,
|
|
941
941
|
"stroke-linecap": "round",
|
|
942
942
|
"stroke-dasharray": 2,
|
|
943
943
|
"stroke-width": 1
|
|
944
944
|
};
|
|
945
945
|
}
|
|
946
|
-
if (W.value >=
|
|
947
|
-
let e = W.value, t = B.value * e + (
|
|
946
|
+
if (W.value >= z.value && W.value < pn.value) {
|
|
947
|
+
let e = W.value, t = B.value * e + (b.minimapCompact ? 0 : B.value / 2);
|
|
948
948
|
return {
|
|
949
949
|
x1: t,
|
|
950
950
|
x2: t,
|
|
951
951
|
y1: 0,
|
|
952
|
-
y2: Math.max(
|
|
953
|
-
stroke:
|
|
952
|
+
y2: Math.max(I.value.height, 0),
|
|
953
|
+
stroke: b.minimapIndicatorColor,
|
|
954
954
|
"stroke-linecap": "round",
|
|
955
955
|
"stroke-dasharray": 2,
|
|
956
956
|
"stroke-width": 1
|
|
957
957
|
};
|
|
958
958
|
}
|
|
959
959
|
return null;
|
|
960
|
-
}), Dr = u(() => Number(
|
|
960
|
+
}), Dr = u(() => Number(S.value) < Number(C.value) - 1), Or = u(() => Number(S.value) > Number(b.min)), kr = u(() => Number(C.value) < Number(b.max)), Ar = u(() => Number(C.value) > Number(S.value) + 1);
|
|
961
961
|
function jr(e) {
|
|
962
|
-
let t = Number(
|
|
963
|
-
e > 0 && !Dr.value || e < 0 && !Or.value || (
|
|
962
|
+
let t = Number(S.value) + e;
|
|
963
|
+
e > 0 && !Dr.value || e < 0 && !Or.value || (T.value = !0, k.value = t, j());
|
|
964
964
|
}
|
|
965
965
|
function Mr(e) {
|
|
966
|
-
let t = Number(
|
|
967
|
-
e > 0 && !kr.value || e < 0 && !Ar.value || (
|
|
966
|
+
let t = Number(C.value) + e;
|
|
967
|
+
e > 0 && !kr.value || e < 0 && !Ar.value || (T.value = !0, A.value = t, j());
|
|
968
968
|
}
|
|
969
969
|
let Nr = {
|
|
970
970
|
plus: () => jr(1),
|
|
@@ -986,8 +986,8 @@ var Te = ["data-minimap"], Ee = {
|
|
|
986
986
|
return e instanceof HTMLElement && (e.isContentEditable || e.tagName === "INPUT" || e.tagName === "TEXTAREA" || e.tagName === "SELECT");
|
|
987
987
|
}
|
|
988
988
|
function Lr(e) {
|
|
989
|
-
if (!
|
|
990
|
-
let t =
|
|
989
|
+
if (!w.value || !b.minimapCompact) return;
|
|
990
|
+
let t = x.value;
|
|
991
991
|
if (!t) return;
|
|
992
992
|
let n = e === "start" ? "[data-cy=\"slicer-compact-handle-left\"]" : "[data-cy=\"slicer-compact-handle-right\"]", r = t.querySelector(n);
|
|
993
993
|
r && r instanceof SVGElement && typeof r.focus == "function" && r.focus();
|
|
@@ -1001,79 +1001,79 @@ var Te = ["data-minimap"], Ee = {
|
|
|
1001
1001
|
tabindex: 0,
|
|
1002
1002
|
role: "slider",
|
|
1003
1003
|
"aria-label": "Range start",
|
|
1004
|
-
"aria-valuemin": Number(
|
|
1005
|
-
"aria-valuemax": Math.max(Number(
|
|
1006
|
-
"aria-valuenow": Number(
|
|
1004
|
+
"aria-valuemin": Number(b.min),
|
|
1005
|
+
"aria-valuemax": Math.max(Number(b.min), Number(C.value) - 1),
|
|
1006
|
+
"aria-valuenow": Number(S.value)
|
|
1007
1007
|
})), Br = u(() => ({
|
|
1008
1008
|
tabindex: 0,
|
|
1009
1009
|
role: "slider",
|
|
1010
1010
|
"aria-label": "Range end",
|
|
1011
|
-
"aria-valuemin": Math.min(Number(
|
|
1012
|
-
"aria-valuemax": Number(
|
|
1013
|
-
"aria-valuenow": Number(
|
|
1011
|
+
"aria-valuemin": Math.min(Number(b.max), Number(S.value) + 1),
|
|
1012
|
+
"aria-valuemax": Number(b.max),
|
|
1013
|
+
"aria-valuenow": Number(C.value)
|
|
1014
1014
|
}));
|
|
1015
1015
|
function Vr(e) {
|
|
1016
|
-
if (!
|
|
1017
|
-
let t =
|
|
1016
|
+
if (!Rt.value) return 0;
|
|
1017
|
+
let t = Rt.value.getBoundingClientRect();
|
|
1018
1018
|
if (!t.width) return 0;
|
|
1019
1019
|
let n = (e - t.left) / t.width;
|
|
1020
|
-
return Math.min(1, Math.max(0, n)) *
|
|
1020
|
+
return Math.min(1, Math.max(0, n)) * I.value.width;
|
|
1021
1021
|
}
|
|
1022
1022
|
function Hr(e) {
|
|
1023
|
-
let t = Math.max(0,
|
|
1023
|
+
let t = Math.max(0, R.value - 1), n = Math.max(1, I.value.width), r = Math.min(1, Math.max(0, e / n));
|
|
1024
1024
|
return Math.min(t, Math.max(0, Math.round(r * t)));
|
|
1025
1025
|
}
|
|
1026
1026
|
function Ur(e) {
|
|
1027
|
-
let t = Math.min(Math.max(0, e), Math.max(1,
|
|
1028
|
-
if (
|
|
1029
|
-
let e =
|
|
1030
|
-
if (
|
|
1031
|
-
let t = Math.min(e, Number(
|
|
1032
|
-
|
|
1027
|
+
let t = Math.min(Math.max(0, e), Math.max(1, I.value.width));
|
|
1028
|
+
if (b.useValueRange) {
|
|
1029
|
+
let e = Gt(t);
|
|
1030
|
+
if (D.value === "start") {
|
|
1031
|
+
let t = Math.min(e, Number(C.value) - O.value);
|
|
1032
|
+
k.value = t, Zt(t);
|
|
1033
1033
|
return;
|
|
1034
1034
|
}
|
|
1035
|
-
if (
|
|
1036
|
-
let t = Math.max(Number(
|
|
1037
|
-
|
|
1035
|
+
if (D.value === "end") {
|
|
1036
|
+
let t = Math.max(Number(S.value) + O.value, e), n = Math.min(Number(b.max), t);
|
|
1037
|
+
A.value = n, Qt(n);
|
|
1038
1038
|
return;
|
|
1039
1039
|
}
|
|
1040
1040
|
}
|
|
1041
1041
|
let n = Hr(t);
|
|
1042
|
-
if (
|
|
1043
|
-
let e = Math.min(
|
|
1044
|
-
|
|
1042
|
+
if (D.value === "start") {
|
|
1043
|
+
let e = Math.min(b.min + n, Number(C.value) - 1);
|
|
1044
|
+
k.value = e, Zt(e);
|
|
1045
1045
|
return;
|
|
1046
1046
|
}
|
|
1047
|
-
if (
|
|
1048
|
-
let e = Math.max(Number(
|
|
1049
|
-
|
|
1047
|
+
if (D.value === "end") {
|
|
1048
|
+
let e = Math.max(Number(S.value) + 1, b.min + n + 1), t = Math.min(b.max, e);
|
|
1049
|
+
A.value = t, Qt(t);
|
|
1050
1050
|
}
|
|
1051
1051
|
}
|
|
1052
1052
|
function Wr(e) {
|
|
1053
|
-
if (!
|
|
1054
|
-
let t = e.clientX -
|
|
1055
|
-
if (!
|
|
1053
|
+
if (!D.value || !F.value) return;
|
|
1054
|
+
let t = e.clientX - It.value;
|
|
1055
|
+
if (!Ft.value) {
|
|
1056
1056
|
if (Math.abs(t) < 4) return;
|
|
1057
|
-
|
|
1057
|
+
Ft.value = !0, T.value = !0, Z.value = !0;
|
|
1058
1058
|
}
|
|
1059
|
-
let n = Vr(e.clientX) -
|
|
1060
|
-
Ur(
|
|
1059
|
+
let n = Vr(e.clientX) - Lt.value;
|
|
1060
|
+
Ur(D.value === "start" ? n + Yt.value : n);
|
|
1061
1061
|
}
|
|
1062
1062
|
function Gr() {
|
|
1063
|
-
if (!
|
|
1063
|
+
if (!D.value) return;
|
|
1064
1064
|
window.removeEventListener("mousemove", Wr, !0), window.removeEventListener("mouseup", Gr, !0);
|
|
1065
|
-
let e =
|
|
1066
|
-
|
|
1065
|
+
let e = Ft.value;
|
|
1066
|
+
D.value = null, Ft.value = !1, It.value = 0, Lt.value = 0, e && j();
|
|
1067
1067
|
}
|
|
1068
1068
|
function Kr(e, t) {
|
|
1069
|
-
if (!
|
|
1069
|
+
if (!w.value || !b.minimapCompact || !F.value) return;
|
|
1070
1070
|
t.preventDefault(), t.stopPropagation(), W.value = null;
|
|
1071
|
-
let n = Vr(t.clientX), r = e === "start" ? U.value.x -
|
|
1072
|
-
|
|
1071
|
+
let n = Vr(t.clientX), r = e === "start" ? U.value.x - Yt.value : U.value.x + U.value.width;
|
|
1072
|
+
D.value = e, Ft.value = !1, It.value = t.clientX, Lt.value = n - r, window.addEventListener("mousemove", Wr, !0), window.addEventListener("mouseup", Gr, !0);
|
|
1073
1073
|
}
|
|
1074
|
-
let qr = u(() =>
|
|
1074
|
+
let qr = u(() => z.value), Jr = u(() => Math.max(z.value, pn.value - 1));
|
|
1075
1075
|
u(() => {
|
|
1076
|
-
if (!
|
|
1076
|
+
if (!w.value || !b.minimapCompact || !b.allMinimaps.length) return [];
|
|
1077
1077
|
let e = qr.value, t = Jr.value;
|
|
1078
1078
|
return H.value.flatMap((n) => {
|
|
1079
1079
|
if (!n?.isVisible || !["line", "plot"].includes(n.type) || !n.type) return [];
|
|
@@ -1091,54 +1091,54 @@ var Te = ["data-minimap"], Ee = {
|
|
|
1091
1091
|
}), r;
|
|
1092
1092
|
});
|
|
1093
1093
|
});
|
|
1094
|
-
let $ = u(() => Math.min(40, Math.max(20,
|
|
1095
|
-
return
|
|
1094
|
+
let $ = u(() => Math.min(40, Math.max(20, b.handleWidth))), Yr = u(() => U.value.x - $.value), Xr = u(() => U.value.x + U.value.width);
|
|
1095
|
+
return kt({
|
|
1096
1096
|
setStartValue: qn,
|
|
1097
1097
|
setEndValue: Yn
|
|
1098
1098
|
}), (e, t) => (g(), f("div", {
|
|
1099
|
-
"data-minimap":
|
|
1099
|
+
"data-minimap": w.value,
|
|
1100
1100
|
"data-dom-to-png-ignore": "",
|
|
1101
1101
|
"data-dom-to-png-ignore-layout": "",
|
|
1102
1102
|
class: "vue-data-ui-zoom",
|
|
1103
1103
|
ref_key: "zoomWrapper",
|
|
1104
|
-
ref:
|
|
1104
|
+
ref: x,
|
|
1105
1105
|
onMousedown: lr,
|
|
1106
1106
|
onTouchstart: lr,
|
|
1107
|
-
style: h(
|
|
1108
|
-
}, [p("div",
|
|
1107
|
+
style: h(Nt.value)
|
|
1108
|
+
}, [p("div", Te, [s.valueStart !== s.refreshStartPoint || s.valueEnd !== $t.value ? (g(), f("div", Ee, [ge(e.$slots, "reset-action", { reset: un }, () => [p("button", {
|
|
1109
1109
|
tabindex: "0",
|
|
1110
1110
|
role: "button",
|
|
1111
1111
|
class: "vue-data-ui-refresh-button",
|
|
1112
1112
|
style: h({
|
|
1113
|
-
top:
|
|
1113
|
+
top: w.value ? "36px" : "-16px",
|
|
1114
1114
|
cursor: s.isCursorPointer ? "pointer" : "default"
|
|
1115
1115
|
}),
|
|
1116
|
-
onClick:
|
|
1116
|
+
onClick: un
|
|
1117
1117
|
}, [ce(oe, {
|
|
1118
1118
|
name: "refresh",
|
|
1119
1119
|
stroke: s.textColor
|
|
1120
1120
|
}, null, 8, ["stroke"])], 4)], !0)])) : d("", !0)]), p("div", {
|
|
1121
1121
|
class: "double-range-slider",
|
|
1122
1122
|
ref_key: "minimapWrapper",
|
|
1123
|
-
ref:
|
|
1124
|
-
style: h([{ "z-index": "0" },
|
|
1123
|
+
ref: F,
|
|
1124
|
+
style: h([{ "z-index": "0" }, w.value ? {
|
|
1125
1125
|
"--minimap-unit-px": B.value + "px",
|
|
1126
1126
|
"--minimap-offset-px": (s.minimapCompact ? 0 : B.value / 2) + "px"
|
|
1127
1127
|
} : void 0]),
|
|
1128
1128
|
onMouseenter: t[18] ||= (e) => Z.value = !0,
|
|
1129
1129
|
onMouseleave: t[19] ||= (e) => Z.value = !1
|
|
1130
1130
|
}, [
|
|
1131
|
-
|
|
1131
|
+
w.value ? (g(), f("div", De, [(g(), f("svg", {
|
|
1132
1132
|
ref_key: "minimapSvg",
|
|
1133
|
-
ref:
|
|
1133
|
+
ref: Rt,
|
|
1134
1134
|
key: `mm-${s.minimapMerged ? "merged" : "split"}-${s.minimapCompact ? "compact" : "normal"}`,
|
|
1135
1135
|
xmlns: ve(ne),
|
|
1136
|
-
viewBox: `0 0 ${Math.max(0,
|
|
1136
|
+
viewBox: `0 0 ${Math.max(0, I.value.width)} ${Math.max(0, I.value.height)}`,
|
|
1137
1137
|
preserveAspectRatio: "none"
|
|
1138
1138
|
}, [
|
|
1139
1139
|
p("defs", null, [ce(se, {
|
|
1140
1140
|
t: "linear",
|
|
1141
|
-
id:
|
|
1141
|
+
id: Pt.value,
|
|
1142
1142
|
x1: "0%",
|
|
1143
1143
|
y1: "0%",
|
|
1144
1144
|
x2: "0%",
|
|
@@ -1152,23 +1152,23 @@ var Te = ["data-minimap"], Ee = {
|
|
|
1152
1152
|
"transparent",
|
|
1153
1153
|
0
|
|
1154
1154
|
]]
|
|
1155
|
-
}, null, 8, ["id", "stops"]), p("clipPath", { id: `selection_clip_${
|
|
1155
|
+
}, null, 8, ["id", "stops"]), p("clipPath", { id: `selection_clip_${Pt.value}` }, [p("rect", {
|
|
1156
1156
|
x: U.value.x,
|
|
1157
1157
|
y: "0",
|
|
1158
1158
|
width: Math.max(0, U.value.width),
|
|
1159
|
-
height: Math.max(
|
|
1160
|
-
}, null, 8,
|
|
1159
|
+
height: Math.max(I.value.height, 0)
|
|
1160
|
+
}, null, 8, Ae)], 8, ke)]),
|
|
1161
1161
|
s.minimapCompact ? (g(), f("rect", {
|
|
1162
1162
|
key: 0,
|
|
1163
1163
|
class: "vue-ui-zoom-minimap-frame",
|
|
1164
1164
|
x: 0,
|
|
1165
1165
|
y: 0,
|
|
1166
|
-
width:
|
|
1167
|
-
height:
|
|
1166
|
+
width: I.value.width,
|
|
1167
|
+
height: I.value.height,
|
|
1168
1168
|
fill: "none",
|
|
1169
1169
|
stroke: s.minimapFrameColor,
|
|
1170
1170
|
rx: 3
|
|
1171
|
-
}, null, 8,
|
|
1171
|
+
}, null, 8, je)) : d("", !0),
|
|
1172
1172
|
e.$slots.slotMap ? d("", !0) : (g(), f(l, { key: 1 }, [s.minimapMerged ? (g(), f("path", {
|
|
1173
1173
|
key: 0,
|
|
1174
1174
|
d: `M${V.value.fullSet}`,
|
|
@@ -1178,13 +1178,13 @@ var Te = ["data-minimap"], Ee = {
|
|
|
1178
1178
|
"stroke-linecap": "round",
|
|
1179
1179
|
"stroke-linejoin": "round",
|
|
1180
1180
|
style: { opacity: "0.6" }
|
|
1181
|
-
}, null, 8,
|
|
1181
|
+
}, null, 8, Me)) : d("", !0), s.minimapMerged && !s.minimapCompact ? (g(), f("path", {
|
|
1182
1182
|
key: 1,
|
|
1183
|
-
d: `M${B.value / 2},${Math.max(
|
|
1184
|
-
fill: `url(#${
|
|
1183
|
+
d: `M${B.value / 2},${Math.max(I.value.height, 0)} ${V.value.fullSet} L${I.value.width - B.value / 2},${Math.max(I.value.height, 0)}Z`,
|
|
1184
|
+
fill: `url(#${Pt.value})`,
|
|
1185
1185
|
stroke: "none",
|
|
1186
1186
|
style: { opacity: "0.6" }
|
|
1187
|
-
}, null, 8,
|
|
1187
|
+
}, null, 8, Ne)) : s.minimapMerged ? d("", !0) : (g(), f(l, { key: 2 }, [
|
|
1188
1188
|
(g(!0), f(l, null, v(H.value.filter((e) => e.type === "bar" && e.isVisible), (e, t) => (g(), f("g", null, [(g(!0), f(l, null, v(e.points, (n, r) => (g(), f(l, null, [e && !isNaN(n.y) ? (g(), f("rect", {
|
|
1189
1189
|
key: 0,
|
|
1190
1190
|
x: yn(n.x, t, r),
|
|
@@ -1193,7 +1193,7 @@ var Te = ["data-minimap"], Ee = {
|
|
|
1193
1193
|
height: n.v >= 0 ? n.y0 - n.y : n.y - n.y0,
|
|
1194
1194
|
fill: e.color,
|
|
1195
1195
|
style: { opacity: .6 }
|
|
1196
|
-
}, null, 8,
|
|
1196
|
+
}, null, 8, Pe)) : d("", !0)], 64))), 256))]))), 256)),
|
|
1197
1197
|
(g(!0), f(l, null, v(H.value.filter((e) => e.type === "line"), (e) => (g(), f("g", null, [e.isVisible ? (g(), f("path", {
|
|
1198
1198
|
key: 0,
|
|
1199
1199
|
d: `M ${e.fullSet}`,
|
|
@@ -1201,73 +1201,73 @@ var Te = ["data-minimap"], Ee = {
|
|
|
1201
1201
|
stroke: e.color,
|
|
1202
1202
|
style: { opacity: "0.6" },
|
|
1203
1203
|
"stroke-dasharray": e.dashed ? "2 4" : 0
|
|
1204
|
-
}, null, 8,
|
|
1204
|
+
}, null, 8, Fe)) : d("", !0), e.isVisible && s.cutNullValues ? (g(!0), f(l, { key: 1 }, v(e.fullMarkers, (t) => (g(), f("circle", {
|
|
1205
1205
|
key: `sel-dot-under-${e.key}-${t.i}`,
|
|
1206
1206
|
cx: t.x,
|
|
1207
1207
|
cy: t.y,
|
|
1208
1208
|
r: "2",
|
|
1209
1209
|
fill: e.color,
|
|
1210
|
-
stroke:
|
|
1210
|
+
stroke: P.value,
|
|
1211
1211
|
"stroke-width": "0.5",
|
|
1212
1212
|
style: { opacity: "0.6" }
|
|
1213
|
-
}, null, 8,
|
|
1213
|
+
}, null, 8, Ie))), 128)) : d("", !0)]))), 256)),
|
|
1214
1214
|
(g(!0), f(l, null, v(H.value.filter((e) => e.type === "plot"), (e) => (g(), f("g", null, [(g(!0), f(l, null, v(e.points, (t) => (g(), f("g", null, [e.isVisible && t.value !== null ? (g(), f("circle", {
|
|
1215
1215
|
key: `sel-plot-under-${e.key}-${t.i}`,
|
|
1216
1216
|
cx: t.x,
|
|
1217
1217
|
cy: t.y,
|
|
1218
1218
|
r: "2",
|
|
1219
1219
|
fill: e.color,
|
|
1220
|
-
stroke:
|
|
1220
|
+
stroke: P.value,
|
|
1221
1221
|
"stroke-width": "0.5",
|
|
1222
1222
|
style: { opacity: "0.6" }
|
|
1223
|
-
}, null, 8,
|
|
1223
|
+
}, null, 8, Le)) : d("", !0)]))), 256))]))), 256))
|
|
1224
1224
|
], 64))], 64)),
|
|
1225
1225
|
p("rect", {
|
|
1226
1226
|
x: U.value.x,
|
|
1227
1227
|
y: 0,
|
|
1228
1228
|
width: Math.max(0, U.value.width),
|
|
1229
|
-
height: Math.max(
|
|
1230
|
-
fill:
|
|
1229
|
+
height: Math.max(I.value.height, 0),
|
|
1230
|
+
fill: P.value,
|
|
1231
1231
|
rx: s.minimapSelectionRadius,
|
|
1232
1232
|
stroke: "none"
|
|
1233
|
-
}, null, 8,
|
|
1233
|
+
}, null, 8, Re),
|
|
1234
1234
|
p("rect", {
|
|
1235
1235
|
x: U.value.x,
|
|
1236
1236
|
y: 0,
|
|
1237
1237
|
width: U.value.width < 0 ? 0 : U.value.width,
|
|
1238
|
-
height: Math.max(
|
|
1238
|
+
height: Math.max(I.value.height, 0),
|
|
1239
1239
|
rx: s.minimapSelectionRadius,
|
|
1240
|
-
fill:
|
|
1241
|
-
style: h({ opacity: G.value ||
|
|
1242
|
-
}, null, 12,
|
|
1240
|
+
fill: P.value,
|
|
1241
|
+
style: h({ opacity: G.value || T.value ? 0 : 1 })
|
|
1242
|
+
}, null, 12, ze),
|
|
1243
1243
|
p("rect", {
|
|
1244
1244
|
x: U.value.x,
|
|
1245
1245
|
y: 0,
|
|
1246
1246
|
width: U.value.width < 0 ? 0 : U.value.width,
|
|
1247
|
-
height: Math.max(
|
|
1247
|
+
height: Math.max(I.value.height, 0),
|
|
1248
1248
|
fill: s.minimapSelectedColor,
|
|
1249
1249
|
rx: s.minimapSelectionRadius,
|
|
1250
1250
|
style: h({ opacity: s.minimapSelectedColorOpacity }),
|
|
1251
1251
|
tabindex: "0",
|
|
1252
1252
|
role: "slider",
|
|
1253
1253
|
"aria-label": "Selected range",
|
|
1254
|
-
"aria-valuemin": Number(
|
|
1255
|
-
"aria-valuemax": Number(
|
|
1256
|
-
"aria-valuenow": Number(
|
|
1254
|
+
"aria-valuemin": Number(b.min),
|
|
1255
|
+
"aria-valuemax": Number(b.max),
|
|
1256
|
+
"aria-valuenow": Number(S.value),
|
|
1257
1257
|
"aria-valuetext": Q.value.left && Q.value.right ? `${Q.value.left} – ${Q.value.right}` : void 0,
|
|
1258
1258
|
onKeydown: Fr
|
|
1259
|
-
}, null, 44,
|
|
1259
|
+
}, null, 44, Be),
|
|
1260
1260
|
!s.minimapMerged && On.value < 0 ? (g(), f("line", {
|
|
1261
1261
|
key: 2,
|
|
1262
1262
|
class: "slicer-minimap-zero-line",
|
|
1263
1263
|
x1: 0,
|
|
1264
|
-
x2:
|
|
1264
|
+
x2: I.value.width,
|
|
1265
1265
|
y1: An.value,
|
|
1266
1266
|
y2: An.value,
|
|
1267
1267
|
stroke: s.minimapFrameColor,
|
|
1268
1268
|
"stroke-width": "0.5"
|
|
1269
|
-
}, null, 8,
|
|
1270
|
-
e.$slots.slotMap ? d("", !0) : (g(), f(l, { key: 3 }, [s.minimapMerged ? (g(), f("g",
|
|
1269
|
+
}, null, 8, Ve)) : d("", !0),
|
|
1270
|
+
e.$slots.slotMap ? d("", !0) : (g(), f(l, { key: 3 }, [s.minimapMerged ? (g(), f("g", He, [
|
|
1271
1271
|
V.value && V.value.sliced && V.value.sliced.length ? (g(), f(l, { key: 0 }, [V.value.selectionSet ? (g(), f("path", {
|
|
1272
1272
|
key: 0,
|
|
1273
1273
|
d: `M ${V.value.selectionSet}`,
|
|
@@ -1276,26 +1276,26 @@ var Te = ["data-minimap"], Ee = {
|
|
|
1276
1276
|
"stroke-width": "2",
|
|
1277
1277
|
"stroke-linecap": "round",
|
|
1278
1278
|
"stroke-linejoin": "round"
|
|
1279
|
-
}, null, 8,
|
|
1279
|
+
}, null, 8, Ue)) : d("", !0)], 64)) : d("", !0),
|
|
1280
1280
|
V.value && V.value.firstPlot ? (g(), f("circle", {
|
|
1281
1281
|
key: 1,
|
|
1282
1282
|
cx: V.value.firstPlot.x,
|
|
1283
1283
|
cy: V.value.firstPlot.y,
|
|
1284
1284
|
"stroke-width": "0.5",
|
|
1285
|
-
stroke:
|
|
1285
|
+
stroke: P.value,
|
|
1286
1286
|
r: "3",
|
|
1287
1287
|
fill: s.minimapLineColor
|
|
1288
|
-
}, null, 8,
|
|
1288
|
+
}, null, 8, We)) : d("", !0),
|
|
1289
1289
|
V.value && V.value.lastPlot ? (g(), f("circle", {
|
|
1290
1290
|
key: 2,
|
|
1291
1291
|
cx: V.value.lastPlot.x,
|
|
1292
1292
|
cy: V.value.lastPlot.y,
|
|
1293
1293
|
"stroke-width": "0.5",
|
|
1294
|
-
stroke:
|
|
1294
|
+
stroke: P.value,
|
|
1295
1295
|
r: "3",
|
|
1296
1296
|
fill: s.minimapLineColor
|
|
1297
|
-
}, null, 8,
|
|
1298
|
-
])) : (g(), f("g",
|
|
1297
|
+
}, null, 8, Ge)) : d("", !0)
|
|
1298
|
+
])) : (g(), f("g", Ke, [
|
|
1299
1299
|
(g(!0), f(l, null, v(H.value.filter((e) => e.type === "bar" && e.isVisible), (e, t) => (g(), f("g", null, [(g(!0), f(l, null, v(e.points, (n, r) => (g(), f(l, null, [e && !isNaN(n.y) ? (g(), f("rect", {
|
|
1300
1300
|
key: 0,
|
|
1301
1301
|
x: yn(n.x, t, r),
|
|
@@ -1303,8 +1303,8 @@ var Te = ["data-minimap"], Ee = {
|
|
|
1303
1303
|
width: bn(t, r),
|
|
1304
1304
|
height: n.v >= 0 ? n.y0 - n.y : n.y - n.y0,
|
|
1305
1305
|
fill: e.color,
|
|
1306
|
-
style: h({ opacity: +(r >=
|
|
1307
|
-
}, null, 12,
|
|
1306
|
+
style: h({ opacity: +(r >= k.value && r < A.value) })
|
|
1307
|
+
}, null, 12, qe)) : d("", !0)], 64))), 256))]))), 256)),
|
|
1308
1308
|
(g(!0), f(l, null, v(H.value.filter((e) => e.type === "line"), (e, t) => (g(), f("g", { key: String(e.key) }, [e && e.hasSelection && e.selectionSet && e.isVisible ? (g(), f("path", {
|
|
1309
1309
|
key: 0,
|
|
1310
1310
|
d: `M ${e.selectionSet}`,
|
|
@@ -1314,21 +1314,21 @@ var Te = ["data-minimap"], Ee = {
|
|
|
1314
1314
|
"stroke-linecap": "round",
|
|
1315
1315
|
"stroke-linejoin": "round",
|
|
1316
1316
|
"stroke-dasharray": e.dashed ? "2 4" : 0
|
|
1317
|
-
}, null, 8,
|
|
1317
|
+
}, null, 8, Je)) : d("", !0)]))), 128)),
|
|
1318
1318
|
(g(!0), f(l, null, v(H.value.filter((e) => e.type === "plot"), (e) => (g(), f("g", { key: String(e.key) }, [(g(!0), f(l, null, v(e.sliced, (t) => (g(), f("g", null, [e.isVisible && t.value !== null ? (g(), f("circle", {
|
|
1319
1319
|
key: 0,
|
|
1320
1320
|
cx: t.x,
|
|
1321
1321
|
cy: t.y,
|
|
1322
1322
|
r: "2",
|
|
1323
1323
|
fill: e.color,
|
|
1324
|
-
stroke:
|
|
1324
|
+
stroke: P.value,
|
|
1325
1325
|
"stroke-width": "0.5",
|
|
1326
1326
|
style: { opacity: "0.6" }
|
|
1327
|
-
}, null, 8,
|
|
1327
|
+
}, null, 8, Ye)) : d("", !0)]))), 256))]))), 128))
|
|
1328
1328
|
]))], 64)),
|
|
1329
1329
|
e.$slots.slotMap ? ge(e.$slots, "slotMap", fe(le({
|
|
1330
|
-
width: Math.max(0,
|
|
1331
|
-
height: Math.max(0,
|
|
1330
|
+
width: Math.max(0, I.value.width),
|
|
1331
|
+
height: Math.max(0, I.value.height),
|
|
1332
1332
|
zeroY: An.value,
|
|
1333
1333
|
unitW: Math.max(0, B.value)
|
|
1334
1334
|
})), void 0, !0, 4) : d("", !0),
|
|
@@ -1336,27 +1336,27 @@ var Te = ["data-minimap"], Ee = {
|
|
|
1336
1336
|
p("rect", {
|
|
1337
1337
|
x: 0,
|
|
1338
1338
|
y: 0,
|
|
1339
|
-
width: Math.max(0,
|
|
1340
|
-
height: Math.max(0,
|
|
1339
|
+
width: Math.max(0, I.value.width),
|
|
1340
|
+
height: Math.max(0, I.value.height),
|
|
1341
1341
|
fill: "transparent",
|
|
1342
1342
|
style: h([{ "pointer-events": "all !important" }, { cursor: s.enableSelectionDrag ? X.value ? "grabbing" : "grab" : "default" }]),
|
|
1343
1343
|
onMousedown: t[0] ||= (e) => X.value = !0,
|
|
1344
1344
|
onMouseup: t[1] ||= (e) => X.value = !1,
|
|
1345
1345
|
onMousemove: Vn,
|
|
1346
1346
|
onMouseleave: Hn
|
|
1347
|
-
}, null, 44,
|
|
1348
|
-
|
|
1347
|
+
}, null, 44, Xe),
|
|
1348
|
+
w.value && s.minimapCompact ? (g(), f(l, { key: 6 }, [
|
|
1349
1349
|
p("rect", {
|
|
1350
1350
|
class: "vue-ui-zoom-compact-minimap-handle",
|
|
1351
1351
|
x: Yr.value,
|
|
1352
1352
|
y: 0,
|
|
1353
1353
|
width: $.value,
|
|
1354
|
-
height:
|
|
1355
|
-
fill: s.handleFill ||
|
|
1354
|
+
height: I.value.height,
|
|
1355
|
+
fill: s.handleFill || P.value,
|
|
1356
1356
|
stroke: s.handleBorderColor || s.textColor,
|
|
1357
1357
|
"stroke-width": s.handleBorderWidth,
|
|
1358
1358
|
rx: 3
|
|
1359
|
-
}, null, 8,
|
|
1359
|
+
}, null, 8, Ze),
|
|
1360
1360
|
s.handleType && s.handleType !== "empty" ? (g(), f("g", {
|
|
1361
1361
|
key: 0,
|
|
1362
1362
|
class: "compact-handle-icon",
|
|
@@ -1364,18 +1364,18 @@ var Te = ["data-minimap"], Ee = {
|
|
|
1364
1364
|
style: { "pointer-events": "none" }
|
|
1365
1365
|
}, [(g(), f("svg", {
|
|
1366
1366
|
width: $.value,
|
|
1367
|
-
height:
|
|
1367
|
+
height: I.value.height,
|
|
1368
1368
|
viewBox: "0 0 20 20",
|
|
1369
1369
|
preserveAspectRatio: "xMidYMid meet"
|
|
1370
1370
|
}, [s.handleType === "arrow" ? (g(), f("path", {
|
|
1371
1371
|
key: 0,
|
|
1372
1372
|
d: "M 7 7 L 3 10 L 7 13 L 7 7 M 13 7 L 17 10 L 13 13 L 13 7",
|
|
1373
|
-
fill:
|
|
1373
|
+
fill: P.value,
|
|
1374
1374
|
stroke: s.handleIconColor || s.textColor,
|
|
1375
1375
|
"stroke-width": .618,
|
|
1376
1376
|
"stroke-linejoin": "round",
|
|
1377
1377
|
"stroke-linecap": "round"
|
|
1378
|
-
}, null, 8,
|
|
1378
|
+
}, null, 8, et)) : s.handleType === "chevron" ? (g(), f("path", {
|
|
1379
1379
|
key: 1,
|
|
1380
1380
|
d: "M 6 7 L 4 10 L 6 13 M 14 7 L 16 10 L 14 13",
|
|
1381
1381
|
fill: "none",
|
|
@@ -1383,24 +1383,24 @@ var Te = ["data-minimap"], Ee = {
|
|
|
1383
1383
|
"stroke-width": .618,
|
|
1384
1384
|
"stroke-linejoin": "round",
|
|
1385
1385
|
"stroke-linecap": "round"
|
|
1386
|
-
}, null, 8,
|
|
1386
|
+
}, null, 8, tt)) : s.handleType === "grab" ? (g(), f("path", {
|
|
1387
1387
|
key: 2,
|
|
1388
1388
|
d: "M 8 5 A 1 1 0 0 0 8 7 A 1 1 0 0 0 8 5 M 8 9 A 1 1 0 0 0 8 11 A 1 1 0 0 0 8 9 M 8 13 A 1 1 0 0 0 8 15 A 1 1 0 0 0 8 13 M 12 5 A 1 1 0 0 0 12 7 A 1 1 0 0 0 12 5 M 12 9 A 1 1 0 0 0 12 11 A 1 1 0 0 0 12 9 M 12 13 A 1 1 0 0 0 12 15 A 1 1 0 0 0 12 13",
|
|
1389
1389
|
fill: s.handleIconColor || s.textColor,
|
|
1390
1390
|
stroke: "none",
|
|
1391
1391
|
opacity: "0.6"
|
|
1392
|
-
}, null, 8,
|
|
1392
|
+
}, null, 8, nt)) : d("", !0)], 8, $e))], 8, Qe)) : d("", !0),
|
|
1393
1393
|
p("rect", {
|
|
1394
1394
|
class: "vue-ui-zoom-compact-minimap-handle",
|
|
1395
1395
|
x: Xr.value,
|
|
1396
1396
|
y: 0,
|
|
1397
1397
|
width: $.value,
|
|
1398
|
-
height:
|
|
1399
|
-
fill: s.handleFill ||
|
|
1398
|
+
height: I.value.height,
|
|
1399
|
+
fill: s.handleFill || P.value,
|
|
1400
1400
|
stroke: s.handleBorderColor || s.textColor,
|
|
1401
1401
|
"stroke-width": s.handleBorderWidth,
|
|
1402
1402
|
rx: 3
|
|
1403
|
-
}, null, 8,
|
|
1403
|
+
}, null, 8, rt),
|
|
1404
1404
|
s.handleType && s.handleType !== "empty" ? (g(), f("g", {
|
|
1405
1405
|
key: 1,
|
|
1406
1406
|
class: "compact-handle-icon",
|
|
@@ -1408,18 +1408,18 @@ var Te = ["data-minimap"], Ee = {
|
|
|
1408
1408
|
style: { "pointer-events": "none" }
|
|
1409
1409
|
}, [(g(), f("svg", {
|
|
1410
1410
|
width: $.value,
|
|
1411
|
-
height:
|
|
1411
|
+
height: I.value.height,
|
|
1412
1412
|
viewBox: "0 0 20 20",
|
|
1413
1413
|
preserveAspectRatio: "xMidYMid meet"
|
|
1414
1414
|
}, [s.handleType === "arrow" ? (g(), f("path", {
|
|
1415
1415
|
key: 0,
|
|
1416
1416
|
d: "M 7 7 L 3 10 L 7 13 L 7 7 M 13 7 L 17 10 L 13 13 L 13 7",
|
|
1417
|
-
fill:
|
|
1417
|
+
fill: P.value,
|
|
1418
1418
|
stroke: s.handleIconColor || s.textColor,
|
|
1419
1419
|
"stroke-width": .618,
|
|
1420
1420
|
"stroke-linejoin": "round",
|
|
1421
1421
|
"stroke-linecap": "round"
|
|
1422
|
-
}, null, 8,
|
|
1422
|
+
}, null, 8, ot)) : s.handleType === "chevron" ? (g(), f("path", {
|
|
1423
1423
|
key: 1,
|
|
1424
1424
|
d: "M 6 7 L 4 10 L 6 13 M 14 7 L 16 10 L 14 13",
|
|
1425
1425
|
fill: "none",
|
|
@@ -1427,48 +1427,48 @@ var Te = ["data-minimap"], Ee = {
|
|
|
1427
1427
|
"stroke-width": .618,
|
|
1428
1428
|
"stroke-linejoin": "round",
|
|
1429
1429
|
"stroke-linecap": "round"
|
|
1430
|
-
}, null, 8,
|
|
1430
|
+
}, null, 8, st)) : s.handleType === "grab" ? (g(), f("path", {
|
|
1431
1431
|
key: 2,
|
|
1432
1432
|
d: "M 8 5 A 1 1 0 0 0 8 7 A 1 1 0 0 0 8 5 M 8 9 A 1 1 0 0 0 8 11 A 1 1 0 0 0 8 9 M 8 13 A 1 1 0 0 0 8 15 A 1 1 0 0 0 8 13 M 12 5 A 1 1 0 0 0 12 7 A 1 1 0 0 0 12 5 M 12 9 A 1 1 0 0 0 12 11 A 1 1 0 0 0 12 9 M 12 13 A 1 1 0 0 0 12 15 A 1 1 0 0 0 12 13",
|
|
1433
1433
|
fill: s.handleIconColor || s.textColor,
|
|
1434
1434
|
stroke: "none",
|
|
1435
1435
|
opacity: "0.6"
|
|
1436
|
-
}, null, 8,
|
|
1436
|
+
}, null, 8, ct)) : d("", !0)], 8, at))], 8, it)) : d("", !0)
|
|
1437
1437
|
], 64)) : d("", !0),
|
|
1438
|
-
e.$slots.slotMap ? d("", !0) : (g(), f(l, { key: 7 }, [s.minimapMerged ? (g(), f("g",
|
|
1438
|
+
e.$slots.slotMap ? d("", !0) : (g(), f(l, { key: 7 }, [s.minimapMerged ? (g(), f("g", lt, [
|
|
1439
1439
|
V.value && V.value.firstPlot && V.value.firstPlot.value !== null ? (g(), f("circle", {
|
|
1440
1440
|
key: 0,
|
|
1441
1441
|
cx: V.value.firstPlot.x,
|
|
1442
1442
|
cy: V.value.firstPlot.y,
|
|
1443
1443
|
"stroke-width": "0.5",
|
|
1444
|
-
stroke:
|
|
1444
|
+
stroke: P.value,
|
|
1445
1445
|
r: "4",
|
|
1446
1446
|
fill: s.minimapLineColor
|
|
1447
|
-
}, null, 8,
|
|
1447
|
+
}, null, 8, ut)) : d("", !0),
|
|
1448
1448
|
V.value && V.value.firstPlot && V.value.firstPlot.value !== null ? (g(), f("circle", {
|
|
1449
1449
|
key: 1,
|
|
1450
1450
|
cx: V.value.firstPlot.x,
|
|
1451
1451
|
cy: V.value.firstPlot.y,
|
|
1452
1452
|
r: 2,
|
|
1453
|
-
fill:
|
|
1454
|
-
}, null, 8,
|
|
1453
|
+
fill: P.value
|
|
1454
|
+
}, null, 8, dt)) : d("", !0),
|
|
1455
1455
|
V.value && V.value.lastPlot && V.value.lastPlot.value !== null ? (g(), f("circle", {
|
|
1456
1456
|
key: 2,
|
|
1457
1457
|
cx: V.value.lastPlot.x,
|
|
1458
1458
|
cy: V.value.lastPlot.y,
|
|
1459
1459
|
"stroke-width": "0.5",
|
|
1460
|
-
stroke:
|
|
1460
|
+
stroke: P.value,
|
|
1461
1461
|
r: "4",
|
|
1462
1462
|
fill: s.minimapLineColor
|
|
1463
|
-
}, null, 8,
|
|
1463
|
+
}, null, 8, ft)) : d("", !0),
|
|
1464
1464
|
V.value && V.value.lastPlot && V.value.lastPlot.value !== null ? (g(), f("circle", {
|
|
1465
1465
|
key: 3,
|
|
1466
1466
|
cx: V.value.lastPlot.x,
|
|
1467
1467
|
cy: V.value.lastPlot.y,
|
|
1468
1468
|
r: "2",
|
|
1469
|
-
fill:
|
|
1470
|
-
}, null, 8,
|
|
1471
|
-
])) : (g(), f("g",
|
|
1469
|
+
fill: P.value
|
|
1470
|
+
}, null, 8, pt)) : d("", !0)
|
|
1471
|
+
])) : (g(), f("g", mt, [(g(!0), f(l, null, v(H.value.filter((e) => e.type === "line"), (e, t) => (g(), f("g", { key: String(e.key) }, [
|
|
1472
1472
|
e && e.hasSelection && e.selectionSet && e.isVisible ? (g(), f("path", {
|
|
1473
1473
|
key: 0,
|
|
1474
1474
|
d: `M ${e.selectionSet}`,
|
|
@@ -1478,61 +1478,61 @@ var Te = ["data-minimap"], Ee = {
|
|
|
1478
1478
|
"stroke-linecap": "round",
|
|
1479
1479
|
"stroke-linejoin": "round",
|
|
1480
1480
|
"stroke-dasharray": e.dashed ? "2 4" : 0
|
|
1481
|
-
}, null, 8,
|
|
1481
|
+
}, null, 8, ht)) : d("", !0),
|
|
1482
1482
|
e.isVisible && s.cutNullValues ? (g(!0), f(l, { key: 1 }, v(e.selectionMarkers, (t) => (g(), f("circle", {
|
|
1483
1483
|
key: `sel-dot-${e.key}-${t.i}`,
|
|
1484
1484
|
cx: t.x,
|
|
1485
1485
|
cy: t.y,
|
|
1486
1486
|
r: "2.5",
|
|
1487
1487
|
fill: e.color,
|
|
1488
|
-
stroke:
|
|
1488
|
+
stroke: P.value,
|
|
1489
1489
|
"stroke-width": "0.5"
|
|
1490
|
-
}, null, 8,
|
|
1490
|
+
}, null, 8, gt))), 128)) : d("", !0),
|
|
1491
1491
|
e && e.firstPlot && e.isVisible && e.firstPlot.value !== null ? (g(), f("circle", {
|
|
1492
1492
|
key: 2,
|
|
1493
1493
|
cx: e.firstPlot.x,
|
|
1494
1494
|
cy: e.firstPlot.y,
|
|
1495
1495
|
"stroke-width": "0.5",
|
|
1496
|
-
stroke:
|
|
1496
|
+
stroke: P.value,
|
|
1497
1497
|
r: "4",
|
|
1498
1498
|
fill: e.color
|
|
1499
|
-
}, null, 8,
|
|
1499
|
+
}, null, 8, _t)) : d("", !0),
|
|
1500
1500
|
e && e.firstPlot && e.isVisible && e.firstPlot.value !== null ? (g(), f("circle", {
|
|
1501
1501
|
key: 3,
|
|
1502
1502
|
cx: e.firstPlot.x,
|
|
1503
1503
|
cy: e.firstPlot.y,
|
|
1504
1504
|
r: "2",
|
|
1505
|
-
fill:
|
|
1506
|
-
}, null, 8,
|
|
1505
|
+
fill: P.value
|
|
1506
|
+
}, null, 8, vt)) : d("", !0),
|
|
1507
1507
|
e && e.lastPlot && e.isVisible && e.lastPlot.value !== null ? (g(), f("circle", {
|
|
1508
1508
|
key: 4,
|
|
1509
1509
|
cx: e.lastPlot.x,
|
|
1510
1510
|
cy: e.lastPlot.y,
|
|
1511
1511
|
"stroke-width": "0.5",
|
|
1512
|
-
stroke:
|
|
1512
|
+
stroke: P.value,
|
|
1513
1513
|
r: "4",
|
|
1514
1514
|
fill: e.color
|
|
1515
|
-
}, null, 8,
|
|
1515
|
+
}, null, 8, yt)) : d("", !0),
|
|
1516
1516
|
e && e.lastPlot && e.isVisible && e.lastPlot.value !== null ? (g(), f("circle", {
|
|
1517
1517
|
key: 5,
|
|
1518
1518
|
cx: e.lastPlot.x,
|
|
1519
1519
|
cy: e.lastPlot.y,
|
|
1520
1520
|
r: "2",
|
|
1521
|
-
fill:
|
|
1522
|
-
}, null, 8,
|
|
1521
|
+
fill: P.value
|
|
1522
|
+
}, null, 8, bt)) : d("", !0)
|
|
1523
1523
|
]))), 128)), (g(!0), f(l, null, v(H.value.filter((e) => e.type === "plot"), (e) => (g(), f("g", { key: String(e.key) }, [(g(!0), f(l, null, v(e.points, (t) => (g(), f("g", null, [e.isVisible && s.cutNullValues && t.value !== null ? (g(), f("circle", {
|
|
1524
1524
|
key: `sel-plot-${e.key}-${t.i}`,
|
|
1525
1525
|
cx: t.x,
|
|
1526
1526
|
cy: t.y,
|
|
1527
1527
|
r: "2.5",
|
|
1528
1528
|
fill: e.color,
|
|
1529
|
-
stroke:
|
|
1529
|
+
stroke: P.value,
|
|
1530
1530
|
"stroke-width": "0.5"
|
|
1531
|
-
}, null, 8,
|
|
1532
|
-
], 8,
|
|
1531
|
+
}, null, 8, xt)) : d("", !0)]))), 256))]))), 128))]))], 64))
|
|
1532
|
+
], 8, Oe))])) : d("", !0),
|
|
1533
1533
|
p("div", {
|
|
1534
1534
|
class: "slider-track",
|
|
1535
|
-
style: h({ visibility:
|
|
1535
|
+
style: h({ visibility: w.value && s.minimapCompact ? "hidden" : "visible" })
|
|
1536
1536
|
}, null, 4),
|
|
1537
1537
|
p("div", {
|
|
1538
1538
|
class: m({
|
|
@@ -1542,12 +1542,12 @@ var Te = ["data-minimap"], Ee = {
|
|
|
1542
1542
|
onMousedown: t[2] ||= (e) => X.value = !0,
|
|
1543
1543
|
onMouseup: t[3] ||= (e) => X.value = !1,
|
|
1544
1544
|
style: h({
|
|
1545
|
-
...
|
|
1545
|
+
...N.value,
|
|
1546
1546
|
cursor: X.value ? "grabbing" : "grab",
|
|
1547
|
-
visibility:
|
|
1547
|
+
visibility: w.value && s.minimapCompact ? "hidden" : "visible"
|
|
1548
1548
|
})
|
|
1549
1549
|
}, null, 38),
|
|
1550
|
-
s.enableRangeHandles ?
|
|
1550
|
+
s.enableRangeHandles ? xe((g(), f("input", {
|
|
1551
1551
|
key: 1,
|
|
1552
1552
|
"aria-label": "range-handle-left",
|
|
1553
1553
|
ref_key: "rangeStart",
|
|
@@ -1557,27 +1557,27 @@ var Te = ["data-minimap"], Ee = {
|
|
|
1557
1557
|
class: m({
|
|
1558
1558
|
"range-left": !0,
|
|
1559
1559
|
"range-handle": !0,
|
|
1560
|
-
"range-minimap":
|
|
1561
|
-
"range-invisible":
|
|
1560
|
+
"range-minimap": w.value && s.verticalHandles,
|
|
1561
|
+
"range-invisible": w.value && s.minimapCompact
|
|
1562
1562
|
}),
|
|
1563
1563
|
min: s.min,
|
|
1564
|
-
max: s.minimapCompact &&
|
|
1565
|
-
tabindex:
|
|
1564
|
+
max: s.minimapCompact && w.value && !s.useValueRange ? Math.max(0, R.value - 1) : s.max,
|
|
1565
|
+
tabindex: w.value ? -1 : 0,
|
|
1566
1566
|
"onUpdate:modelValue": t[4] ||= (e) => Pn.value = e,
|
|
1567
|
-
onFocus: t[5] ||= (e) =>
|
|
1567
|
+
onFocus: t[5] ||= (e) => w.value && e.target.blur(),
|
|
1568
1568
|
onInput: t[6] ||= (e) => Pn.value = e.target.valueAsNumber,
|
|
1569
|
-
onChange:
|
|
1570
|
-
onKeyup:
|
|
1571
|
-
onBlur:
|
|
1569
|
+
onChange: j,
|
|
1570
|
+
onKeyup: Se(j, ["enter"]),
|
|
1571
|
+
onBlur: j,
|
|
1572
1572
|
onMouseenter: t[7] ||= (e) => Cr("start"),
|
|
1573
|
-
onPointerup:
|
|
1574
|
-
}, null, 42,
|
|
1573
|
+
onPointerup: j
|
|
1574
|
+
}, null, 42, St)), [[
|
|
1575
1575
|
be,
|
|
1576
1576
|
Pn.value,
|
|
1577
1577
|
void 0,
|
|
1578
1578
|
{ number: !0 }
|
|
1579
1579
|
]]) : d("", !0),
|
|
1580
|
-
s.enableRangeHandles ?
|
|
1580
|
+
s.enableRangeHandles ? xe((g(), f("input", {
|
|
1581
1581
|
key: 2,
|
|
1582
1582
|
"aria-label": "range-handle-right",
|
|
1583
1583
|
ref_key: "rangeEnd",
|
|
@@ -1587,55 +1587,55 @@ var Te = ["data-minimap"], Ee = {
|
|
|
1587
1587
|
class: m({
|
|
1588
1588
|
"range-right": !0,
|
|
1589
1589
|
"range-handle": !0,
|
|
1590
|
-
"range-minimap":
|
|
1591
|
-
"range-invisible":
|
|
1590
|
+
"range-minimap": w.value && s.verticalHandles,
|
|
1591
|
+
"range-invisible": w.value && s.minimapCompact
|
|
1592
1592
|
}),
|
|
1593
1593
|
min: s.min,
|
|
1594
|
-
max: s.minimapCompact &&
|
|
1595
|
-
tabindex:
|
|
1596
|
-
onFocus: t[8] ||= (e) =>
|
|
1594
|
+
max: s.minimapCompact && w.value && !s.useValueRange ? Math.max(0, R.value - 1) : s.max,
|
|
1595
|
+
tabindex: w.value ? -1 : 0,
|
|
1596
|
+
onFocus: t[8] ||= (e) => w.value && e.target.blur(),
|
|
1597
1597
|
"onUpdate:modelValue": t[9] ||= (e) => Fn.value = e,
|
|
1598
1598
|
onInput: t[10] ||= (e) => Fn.value = e.target.valueAsNumber,
|
|
1599
|
-
onChange:
|
|
1600
|
-
onKeyup:
|
|
1601
|
-
onBlur:
|
|
1599
|
+
onChange: j,
|
|
1600
|
+
onKeyup: Se(j, ["enter"]),
|
|
1601
|
+
onBlur: j,
|
|
1602
1602
|
onMouseenter: t[11] ||= (e) => Cr("end"),
|
|
1603
|
-
onPointerup:
|
|
1604
|
-
}, null, 42,
|
|
1603
|
+
onPointerup: j
|
|
1604
|
+
}, null, 42, Ct)), [[
|
|
1605
1605
|
be,
|
|
1606
1606
|
Fn.value,
|
|
1607
1607
|
void 0,
|
|
1608
1608
|
{ number: !0 }
|
|
1609
1609
|
]]) : d("", !0),
|
|
1610
|
-
|
|
1610
|
+
w.value && s.minimapCompact ? (g(), f("div", wt, [(g(), f("svg", {
|
|
1611
1611
|
xmlns: ve(ne),
|
|
1612
|
-
viewBox: `0 0 ${Math.max(0,
|
|
1612
|
+
viewBox: `0 0 ${Math.max(0, I.value.width)} ${Math.max(0, I.value.height + 1)}`
|
|
1613
1613
|
}, [p("rect", ue({
|
|
1614
1614
|
class: "vue-ui-zoom-compact-minimap-handle",
|
|
1615
1615
|
x: Yr.value,
|
|
1616
1616
|
y: 0,
|
|
1617
1617
|
width: $.value,
|
|
1618
|
-
height:
|
|
1618
|
+
height: I.value.height,
|
|
1619
1619
|
fill: "transparent",
|
|
1620
1620
|
stroke: "none"
|
|
1621
1621
|
}, zr.value, {
|
|
1622
1622
|
onKeydown: t[12] ||= (e) => Rr("start", e),
|
|
1623
|
-
onMousedown: t[13] ||=
|
|
1624
|
-
onClick: t[14] ||=
|
|
1625
|
-
}), null, 16,
|
|
1623
|
+
onMousedown: t[13] ||= Ce((e) => Kr("start", e), ["stop", "prevent"]),
|
|
1624
|
+
onClick: t[14] ||= Ce(() => {}, ["stop", "prevent"])
|
|
1625
|
+
}), null, 16, Et), p("rect", ue({
|
|
1626
1626
|
class: "vue-ui-zoom-compact-minimap-handle",
|
|
1627
1627
|
x: Xr.value,
|
|
1628
1628
|
y: 0,
|
|
1629
1629
|
width: $.value,
|
|
1630
|
-
height:
|
|
1630
|
+
height: I.value.height,
|
|
1631
1631
|
fill: "transparent",
|
|
1632
1632
|
stroke: "none",
|
|
1633
1633
|
rx: 3
|
|
1634
1634
|
}, Br.value, {
|
|
1635
1635
|
onKeydown: t[15] ||= (e) => Rr("end", e),
|
|
1636
|
-
onMousedown: t[16] ||=
|
|
1637
|
-
onClick: t[17] ||=
|
|
1638
|
-
}), null, 16,
|
|
1636
|
+
onMousedown: t[16] ||= Ce((e) => Kr("end", e), ["stop", "prevent"]),
|
|
1637
|
+
onClick: t[17] ||= Ce(() => {}, ["stop", "prevent"])
|
|
1638
|
+
}), null, 16, Dt)], 8, Tt))])) : d("", !0),
|
|
1639
1639
|
Q.value.left ? (g(), f("div", {
|
|
1640
1640
|
key: 4,
|
|
1641
1641
|
ref_key: "tooltipLeft",
|
|
@@ -1643,17 +1643,17 @@ var Te = ["data-minimap"], Ee = {
|
|
|
1643
1643
|
class: m({
|
|
1644
1644
|
"range-tooltip": !0,
|
|
1645
1645
|
"range-tooltip-visible": Z.value,
|
|
1646
|
-
"range-tooltip-arrow":
|
|
1647
|
-
"range-tooltip-arrow-left": !
|
|
1646
|
+
"range-tooltip-arrow": N.value.arrowLeft && !s.verticalHandles,
|
|
1647
|
+
"range-tooltip-arrow-left": !N.value.arrowLeft && !s.verticalHandles
|
|
1648
1648
|
}),
|
|
1649
1649
|
style: h({
|
|
1650
|
-
left:
|
|
1650
|
+
left: N.value.tooltipLeft,
|
|
1651
1651
|
color: ve(te)(s.selectColor),
|
|
1652
1652
|
backgroundColor: s.selectColor,
|
|
1653
|
-
border: `1px solid ${
|
|
1653
|
+
border: `1px solid ${P.value}`,
|
|
1654
1654
|
zIndex: `${Sr.value + 4}`,
|
|
1655
1655
|
visibility: wr.value || Q.value.left === Q.value.right ? "hidden" : "visible",
|
|
1656
|
-
top:
|
|
1656
|
+
top: w.value && s.minimapCompact ? "calc(-100% - 12px)" : "-100%"
|
|
1657
1657
|
})
|
|
1658
1658
|
}, _e(Q.value.left), 7)) : d("", !0),
|
|
1659
1659
|
(wr.value || Q.value.left === Q.value.right) && (Q.value.left || Q.value.right) ? (g(), f("div", {
|
|
@@ -1663,17 +1663,17 @@ var Te = ["data-minimap"], Ee = {
|
|
|
1663
1663
|
"range-tooltip": !0,
|
|
1664
1664
|
"range-tooltip-visible": Z.value,
|
|
1665
1665
|
"range-tooltip-arrow": !0,
|
|
1666
|
-
"range-tooltip-arrow-left": !
|
|
1667
|
-
"range-tooltip-arrow-right": !
|
|
1666
|
+
"range-tooltip-arrow-left": !N.value.arrowLeft && !s.verticalHandles,
|
|
1667
|
+
"range-tooltip-arrow-right": !N.value.arrowRight && !s.verticalHandles
|
|
1668
1668
|
}),
|
|
1669
1669
|
style: h({
|
|
1670
|
-
left:
|
|
1670
|
+
left: N.value.tooltipCenter,
|
|
1671
1671
|
width: Tr.value.width + "px",
|
|
1672
1672
|
color: ve(te)(s.selectColor),
|
|
1673
1673
|
backgroundColor: s.selectColor,
|
|
1674
|
-
border: `1px solid ${
|
|
1674
|
+
border: `1px solid ${P.value}`,
|
|
1675
1675
|
zIndex: "4",
|
|
1676
|
-
top:
|
|
1676
|
+
top: w.value && s.minimapCompact ? "calc(-100% - 12px)" : "-100%"
|
|
1677
1677
|
})
|
|
1678
1678
|
}, _e(Q.value.left === Q.value.right ? Q.value.left : `${Q.value.left} - ${Q.value.right}`), 7)) : d("", !0),
|
|
1679
1679
|
Q.value.right ? (g(), f("div", {
|
|
@@ -1683,21 +1683,21 @@ var Te = ["data-minimap"], Ee = {
|
|
|
1683
1683
|
class: m({
|
|
1684
1684
|
"range-tooltip": !0,
|
|
1685
1685
|
"range-tooltip-visible": Z.value,
|
|
1686
|
-
"range-tooltip-arrow":
|
|
1687
|
-
"range-tooltip-arrow-right": !
|
|
1686
|
+
"range-tooltip-arrow": N.value.arrowRight && !s.verticalHandles,
|
|
1687
|
+
"range-tooltip-arrow-right": !N.value.arrowRight && !s.verticalHandles
|
|
1688
1688
|
}),
|
|
1689
1689
|
style: h({
|
|
1690
|
-
left:
|
|
1690
|
+
left: N.value.tooltipRight,
|
|
1691
1691
|
color: ve(te)(s.selectColor),
|
|
1692
1692
|
backgroundColor: s.selectColor,
|
|
1693
|
-
border: `1px solid ${
|
|
1693
|
+
border: `1px solid ${P.value}`,
|
|
1694
1694
|
zIndex: "4",
|
|
1695
1695
|
visibility: wr.value || Q.value.left === Q.value.right ? "hidden" : "visible",
|
|
1696
|
-
top:
|
|
1696
|
+
top: w.value && s.minimapCompact ? "calc(-100% - 12px)" : "-100%"
|
|
1697
1697
|
})
|
|
1698
1698
|
}, _e(Q.value.right), 7)) : d("", !0)
|
|
1699
|
-
], 36)], 44,
|
|
1699
|
+
], 36)], 44, we));
|
|
1700
1700
|
}
|
|
1701
1701
|
}, [["__scopeId", "data-v-023703bd"]]);
|
|
1702
1702
|
//#endregion
|
|
1703
|
-
export {
|
|
1703
|
+
export { kt as t };
|