vue-data-ui 3.22.6 → 3.22.8
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/{Arrow-Ds4xmpiQ.js → Arrow-DdymhUfY.js} +1 -1
- package/dist/{BaseDraggableDialog-VbypEaAa.js → BaseDraggableDialog-DcfGlH8A.js} +2 -2
- package/dist/{BaseIcon-DcUvOfxf.js → BaseIcon-C2qlyHc7.js} +1 -1
- package/dist/{BaseLegendToggle-DFwIY5bE.js → BaseLegendToggle-DtQ8vyfr.js} +1 -1
- package/dist/{BaseZoomControls-DwolSINF.js → BaseZoomControls-C6zonwhr.js} +2 -2
- package/dist/{ColorPicker-UVDPcrjE.js → ColorPicker-CK2-h611.js} +2 -2
- package/dist/{DataTable-CXfvIulC.js → DataTable-D9NvewTT.js} +2 -2
- package/dist/{Legend-D-635Kag.js → Legend-ROt6ugzW.js} +2 -2
- package/dist/{NonSvgPenAndPaper-pR_1qp3s.js → NonSvgPenAndPaper-BHHNsVVP.js} +29 -29
- package/dist/{PackageVersion-Da7hl-34.js → PackageVersion-DW7zwRcm.js} +1 -1
- package/dist/{PenAndPaper-Bk2-E7V4.js → PenAndPaper-pcgwlYr2.js} +18 -18
- package/dist/{Shape-BSetplwm.js → Shape-UpH0a4Ur.js} +3 -3
- package/dist/{Slicer-ClIGOuoX.js → Slicer-BZ5VnOOS.js} +19 -19
- package/dist/{SlicerPreview-D1n9AW39.js → SlicerPreview-BQFeCw0m.js} +351 -351
- package/dist/{SparkTooltip-CjDAyolg.js → SparkTooltip-BTLN-Kex.js} +6 -6
- package/dist/{Title-C-p0ilWB.js → Title-CcNiYzEo.js} +1 -1
- package/dist/{Tooltip-YabpoXo1.js → Tooltip-CxOrWlFy.js} +1 -1
- package/dist/{UserOptions-BO4VFL8O.js → UserOptions-16uF1ayB.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-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-CVJfsfwL.js → dom-to-png-BbwhsRIr.js} +1 -1
- package/dist/exposedLib-VXFp3Z2c.js +19 -0
- package/dist/{geoProjections-Czak6Jn1.js → geoProjections-BbN7z57k.js} +172 -15
- package/dist/{img-B_y5qDdm.js → img-DnP3eXuv.js} +1 -1
- package/dist/{labelUtils-CyVwqXSh.js → labelUtils-DBEh078l.js} +1 -1
- package/dist/{lib-DRBJCmHW.js → lib-JqW18y5I.js} +49 -30
- package/dist/{package-DyQ_PQis.js → package-gp9pYCfN.js} +1 -1
- package/dist/{pdf-CG02qhAH.js → pdf-hj3gzrE7.js} +1 -1
- package/dist/{render-common-CUAlQvAQ.js → render-common-CLn1VXJ9.js} +20 -20
- 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/utils.d.ts +18 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-DPMOys9n.js → useAutoSizeLabelsInsideViewbox-BGnDfZdg.js} +1 -1
- package/dist/{useNestedProp-BEo2N1Db.js → useNestedProp-DIuuzG1r.js} +1 -1
- package/dist/{usePrinter-CRp5IW3v.js → usePrinter-CqqHmnBI.js} +2 -2
- package/dist/utils.js +23 -23
- package/dist/{vue-data-ui-Bpu4kxlm.js → vue-data-ui-AZZ9Cq-4.js} +68 -68
- package/dist/vue-data-ui.js +77 -77
- package/dist/{vue-ui-3d-bar-BAH0jNtT.js → vue-ui-3d-bar-B3HxJmDI.js} +124 -124
- package/dist/{vue-ui-accordion-CfMrbDoq.js → vue-ui-accordion-YyosvEPo.js} +3 -3
- package/dist/vue-ui-age-pyramid-DTAOc7fn.js +1238 -0
- package/dist/{vue-ui-annotator-CG6rhFpy.js → vue-ui-annotator-CfJXeAOE.js} +6 -6
- package/dist/vue-ui-bullet-CCLnrOLm.js +710 -0
- package/dist/vue-ui-bump-Rq7efdoe.js +1249 -0
- package/dist/vue-ui-candlestick-D-Z9pEaA.js +1829 -0
- package/dist/vue-ui-carousel-table-Lx5Zk4dG.js +455 -0
- package/dist/{vue-ui-chestnut-Cx8T3NEl.js → vue-ui-chestnut-RfWMGUD-.js} +114 -114
- package/dist/{vue-ui-chord-B-sauvLo.js → vue-ui-chord-Db1O_diJ.js} +57 -57
- package/dist/vue-ui-circle-pack-B4Ro7UuI.js +1608 -0
- package/dist/{vue-ui-cursor-DVsEm_4l.js → vue-ui-cursor-DLP7wxsw.js} +61 -61
- package/dist/{vue-ui-dag-Cfi0b9qm.js → vue-ui-dag-DL3zq0F2.js} +37 -37
- package/dist/{vue-ui-dashboard-F_NZ1xoQ.js → vue-ui-dashboard-C2ozZ-LI.js} +69 -69
- package/dist/{vue-ui-digits-BfP1kbj3.js → vue-ui-digits-ThFVNO3l.js} +3 -3
- package/dist/{vue-ui-donut-DlVRnVr_.js → vue-ui-donut-BuTd6dt4.js} +224 -224
- package/dist/{vue-ui-donut-BwAyvV3-.js → vue-ui-donut-C3Rt6j-I.js} +458 -458
- package/dist/vue-ui-donut-evolution-DY46UPF_.js +1510 -0
- package/dist/vue-ui-dumbbell-wK7vUB0x.js +1530 -0
- package/dist/{vue-ui-flow-D_7Idmmw.js → vue-ui-flow-BTUNfWb7.js} +122 -122
- package/dist/vue-ui-funnel-BhoHzyHa.js +777 -0
- package/dist/{vue-ui-galaxy-Bjxbg5_B.js → vue-ui-galaxy-DJ2uNYcN.js} +263 -263
- package/dist/{vue-ui-gauge-Dt0H7DgC.js → vue-ui-gauge-Cf4NqvrO.js} +226 -226
- package/dist/{vue-ui-geo-89DEQb5l.js → vue-ui-geo-ovHu_Sc9.js} +21 -21
- package/dist/{vue-ui-gizmo-CQyLK18v.js → vue-ui-gizmo-DDxEj-qe.js} +7 -7
- package/dist/{vue-ui-heatmap-o6MvoxBK.js → vue-ui-heatmap-Npqnvb1r.js} +282 -282
- package/dist/vue-ui-history-plot-C3Kjy2tc.js +1715 -0
- package/dist/vue-ui-horizontal-bar-D1rCsgqt.js +1683 -0
- package/dist/{vue-ui-kpi-4C-j92D-.js → vue-ui-kpi-BrlfYO-j.js} +4 -4
- package/dist/{vue-ui-mini-loader-Bj4Wv-i8.js → vue-ui-mini-loader-D5we7V_W.js} +2 -2
- package/dist/vue-ui-molecule-CExCqZ08.js +925 -0
- package/dist/{vue-ui-mood-radar-B5W35Fvp.js → vue-ui-mood-radar-DlVh6hwx.js} +27 -27
- package/dist/vue-ui-nested-donuts-3TRV8pN-.js +1487 -0
- package/dist/vue-ui-onion-DwKK9DXn.js +1200 -0
- package/dist/{vue-ui-parallel-coordinate-plot-DBpHCFxa.js → vue-ui-parallel-coordinate-plot-DSp_cwU-.js} +57 -57
- package/dist/vue-ui-quadrant-ByVg-NBs.js +1978 -0
- package/dist/{vue-ui-quick-chart-so_8PzvS.js → vue-ui-quick-chart-WMzSJxGZ.js} +188 -188
- package/dist/{vue-ui-radar-5fQ5AAWD.js → vue-ui-radar-DE-me6OC.js} +64 -64
- package/dist/vue-ui-rating-CzD3EQ3G.js +343 -0
- package/dist/vue-ui-relation-circle-L7-dTqet.js +924 -0
- package/dist/vue-ui-ridgeline-Cp3YP0xe.js +1622 -0
- package/dist/vue-ui-rings-WzWiEo9W.js +1246 -0
- package/dist/vue-ui-scatter-DwrAydha.js +2413 -0
- package/dist/{vue-ui-skeleton-BkxB6Dik.js → vue-ui-skeleton-CuFm4PtB.js} +58 -58
- package/dist/{vue-ui-smiley-C4g0iaF7.js → vue-ui-smiley-D4NnZ1mg.js} +17 -17
- package/dist/{vue-ui-spark-trend-0FELlq4x.js → vue-ui-spark-trend-C38ysZ-c.js} +21 -21
- package/dist/{vue-ui-sparkbar-D-i_VLO6.js → vue-ui-sparkbar-B03ndcUe.js} +80 -80
- package/dist/{vue-ui-sparkgauge-CWw6w_ng.js → vue-ui-sparkgauge-DgPc4vPT.js} +7 -7
- package/dist/{vue-ui-sparkhistogram-DuGpkfma.js → vue-ui-sparkhistogram-D02ff7ZI.js} +115 -115
- package/dist/{vue-ui-sparkline-Bi06lHQd.js → vue-ui-sparkline-DlTfNQj8.js} +464 -464
- package/dist/vue-ui-sparkstackbar-DrmiWFlw.js +662 -0
- package/dist/vue-ui-stackbar-BVdApDnY.js +2332 -0
- package/dist/vue-ui-stackline-QzQQ7lTy.js +2419 -0
- package/dist/vue-ui-strip-plot-C-TFNvgz.js +1729 -0
- package/dist/{vue-ui-table-DBlZswRi.js → vue-ui-table-Q3brrivC.js} +68 -68
- package/dist/{vue-ui-table-heatmap-3xYIDKcP.js → vue-ui-table-heatmap-D0pZbBOH.js} +14 -14
- package/dist/{vue-ui-table-sparkline-BH5PzEnJ.js → vue-ui-table-sparkline-Q6BHPKUn.js} +199 -199
- package/dist/{vue-ui-thermometer-BxMzAqoT.js → vue-ui-thermometer-Bg0RR6m4.js} +26 -26
- package/dist/{vue-ui-timer-ONSitYDm.js → vue-ui-timer-BdzKpoRj.js} +29 -29
- package/dist/{vue-ui-tiremarks-DWXM-9nR.js → vue-ui-tiremarks-DWb69ofh.js} +17 -17
- package/dist/{vue-ui-treemap-B03c4RIy.js → vue-ui-treemap-uUz07Prw.js} +401 -401
- package/dist/vue-ui-waffle-Pi9e7Ae7.js +1362 -0
- package/dist/{vue-ui-wheel-DRP7X8S2.js → vue-ui-wheel-DTfvWYA7.js} +137 -137
- package/dist/{vue-ui-word-cloud-AKpMO97a.js → vue-ui-word-cloud-DqfljAqH.js} +40 -40
- package/dist/vue-ui-world-BtBrH92Z.js +3016 -0
- package/dist/{vue-ui-xy-Bmd11BxR.js → vue-ui-xy-Bvgy2do1.js} +1598 -1596
- package/dist/{vue-ui-xy-DJ8YKPgs.js → vue-ui-xy-D5KsuNR2.js} +259 -259
- package/dist/{vue-ui-xy-canvas-DO_PDGKf.js → vue-ui-xy-canvas-BfgeE3TW.js} +440 -437
- package/package.json +1 -1
- package/dist/exposedLib-CjwriUaG.js +0 -19
- package/dist/vue-ui-age-pyramid-BF5ZuuyI.js +0 -1238
- package/dist/vue-ui-bullet-C_oBS1cr.js +0 -710
- package/dist/vue-ui-bump-BZB1Na8h.js +0 -1249
- package/dist/vue-ui-candlestick-8d_1xO8X.js +0 -1826
- package/dist/vue-ui-carousel-table-BfZNcwmY.js +0 -455
- package/dist/vue-ui-circle-pack-BLh8HnGK.js +0 -1608
- package/dist/vue-ui-donut-evolution-D1k4u6cA.js +0 -1510
- package/dist/vue-ui-dumbbell-DgmvPpK2.js +0 -1530
- package/dist/vue-ui-funnel-BYCFV5TD.js +0 -777
- package/dist/vue-ui-history-plot-B7zuCfdg.js +0 -1715
- package/dist/vue-ui-horizontal-bar-CwB4sc6M.js +0 -1683
- package/dist/vue-ui-molecule-BDrRmwmm.js +0 -925
- package/dist/vue-ui-nested-donuts-wfesrzle.js +0 -1487
- package/dist/vue-ui-onion-B8-psLbF.js +0 -1200
- package/dist/vue-ui-quadrant-BzyGOJR2.js +0 -1978
- package/dist/vue-ui-rating-CKWHDKOT.js +0 -343
- package/dist/vue-ui-relation-circle-Bd_ONHCz.js +0 -924
- package/dist/vue-ui-ridgeline-DVbYznRz.js +0 -1622
- package/dist/vue-ui-rings-c-yLWFHr.js +0 -1246
- package/dist/vue-ui-scatter-QhmE7n1H.js +0 -2413
- package/dist/vue-ui-sparkstackbar-DrKgBUmt.js +0 -662
- package/dist/vue-ui-stackbar-DDvuDGQ_.js +0 -2329
- package/dist/vue-ui-stackline-C0NHBUaE.js +0 -2416
- package/dist/vue-ui-strip-plot-_6LL45i9.js +0 -1729
- package/dist/vue-ui-waffle-afa8HSxz.js +0 -1362
- package/dist/vue-ui-world-CqS-HhZl.js +0 -14264
|
@@ -1,69 +1,69 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { B as e, G as t, M as n, P as r, R as i, qt as a, r as o, t as ee, xt as te, yt as ne, z as re } from "./lib-JqW18y5I.js";
|
|
2
2
|
import { t as s } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
3
3
|
import { c, r as l } from "./canvas-lib-BOP_HS11.js";
|
|
4
4
|
import { t as ie } from "./useResponsive-BfnK0KxU.js";
|
|
5
|
-
import { t as ae } from "./BaseIcon-
|
|
6
|
-
import { Fragment as u, computed as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createVNode as oe, mergeProps as se, nextTick as ce, normalizeClass as
|
|
5
|
+
import { t as ae } from "./BaseIcon-C2qlyHc7.js";
|
|
6
|
+
import { Fragment as u, computed as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createVNode as oe, mergeProps as se, nextTick as ce, normalizeClass as le, normalizeProps as ue, normalizeStyle as h, onBeforeUnmount as de, onMounted as fe, onUpdated as pe, openBlock as g, ref as _, renderList as v, renderSlot as me, toDisplayString as he, unref as ge, useCssVars as _e, vModelText as ve, watch as y, withDirectives as ye, withKeys as be, withModifiers as xe } from "vue";
|
|
7
7
|
//#region src/atoms/SlicerPreview.vue
|
|
8
|
-
var
|
|
8
|
+
var Se = ["data-minimap"], Ce = {
|
|
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
|
+
}, we = {
|
|
16
16
|
key: 0,
|
|
17
17
|
style: {
|
|
18
18
|
width: "100%",
|
|
19
19
|
position: "relative",
|
|
20
20
|
"pointer-events": "all"
|
|
21
21
|
}
|
|
22
|
-
},
|
|
22
|
+
}, Te = {
|
|
23
23
|
key: 0,
|
|
24
24
|
class: "minimap",
|
|
25
25
|
style: { width: "100%" }
|
|
26
|
-
},
|
|
26
|
+
}, Ee = ["xmlns", "viewBox"], De = ["id"], Oe = ["stop-color"], 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 xe = ["data-minimap"], Se = {
|
|
|
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: {
|
|
@@ -422,134 +422,134 @@ var xe = ["data-minimap"], Se = {
|
|
|
422
422
|
"trapMouse",
|
|
423
423
|
"trapMouseValue"
|
|
424
424
|
],
|
|
425
|
-
setup(s, { expose:
|
|
426
|
-
|
|
425
|
+
setup(s, { expose: kt, emit: At }) {
|
|
426
|
+
_e((e) => ({
|
|
427
427
|
v6b97e779: rn.value,
|
|
428
428
|
v038d6fed: P.value,
|
|
429
429
|
v4475979e: on.value,
|
|
430
430
|
v387a9dc6: s.selectColor,
|
|
431
431
|
v2c6175aa: an.value,
|
|
432
|
-
v2445e0c6:
|
|
432
|
+
v2445e0c6: b.additionalMinimapHeight
|
|
433
433
|
}));
|
|
434
|
-
let
|
|
435
|
-
function
|
|
434
|
+
let b = s;
|
|
435
|
+
function jt(e) {
|
|
436
436
|
let t = Number(e) || 0;
|
|
437
|
-
return
|
|
437
|
+
return b.precision <= 0 ? Math.round(t) : Number(t.toFixed(b.precision));
|
|
438
438
|
}
|
|
439
|
-
let
|
|
439
|
+
let x = _(null), S = _(b.min), C = _(b.max), w = d(() => !!b.allMinimaps.length), Mt = _(t()), T = _(!1), E = d(() => w.value && b.minimapCompact), D = _(null), Nt = _(!1), Pt = _(0), Ft = _(0), It = _(null), Lt = _(!1), Rt = d(() => D.value !== null), zt = d(() => b.useValueRange ? C.value : C.value - 1), Bt = d(() => Math.max(1, Number(b.max) - Number(b.min)));
|
|
440
440
|
function Vt(e) {
|
|
441
|
-
return (Number(e) - Number(
|
|
441
|
+
return (Number(e) - Number(b.min)) / Bt.value * 100;
|
|
442
442
|
}
|
|
443
443
|
function Ht(e) {
|
|
444
444
|
return I.value.width * (Vt(e) / 100);
|
|
445
445
|
}
|
|
446
446
|
function Ut(e) {
|
|
447
447
|
let t = Math.min(1, Math.max(0, e / Math.max(1, I.value.width)));
|
|
448
|
-
return
|
|
448
|
+
return jt(Number(b.min) + Bt.value * t);
|
|
449
449
|
}
|
|
450
450
|
function Wt(e) {
|
|
451
|
-
let t =
|
|
452
|
-
return
|
|
451
|
+
let t = b.useValueRange ? e?.y : e;
|
|
452
|
+
return te(t) ? Number(t) : null;
|
|
453
453
|
}
|
|
454
454
|
function Gt(e, t) {
|
|
455
|
-
return
|
|
455
|
+
return b.useValueRange ? Number(e?.x) : t + Number(b.min);
|
|
456
456
|
}
|
|
457
457
|
function Kt(e, t) {
|
|
458
|
-
return
|
|
458
|
+
return b.useValueRange ? Ht(Gt(e, t)) : V.value * t + (b.minimapCompact ? 0 : V.value / 2);
|
|
459
459
|
}
|
|
460
|
-
let qt = d(() => Math.min(40, Math.max(20,
|
|
461
|
-
get: () =>
|
|
460
|
+
let qt = d(() => Math.min(40, Math.max(20, b.handleWidth))), Jt = _(0), Yt = c((e) => M("futureStart", e), 0), Xt = c((e) => M("futureEnd", e), 0), O = d(() => b.precision > 0 ? 1 / 10 ** b.precision : 1), k = d({
|
|
461
|
+
get: () => S.value,
|
|
462
462
|
set(e) {
|
|
463
|
-
let t = Math.min(Number(e), Number(
|
|
464
|
-
t !==
|
|
463
|
+
let t = Math.min(Number(e), Number(C.value) - O.value);
|
|
464
|
+
t !== S.value && (S.value = t, Bn.value && (Bn.value.value = String(t)), b.immediate ? M("update:start", Number(t)) : T.value && Yt(t));
|
|
465
465
|
}
|
|
466
466
|
}), A = d({
|
|
467
|
-
get: () =>
|
|
467
|
+
get: () => C.value,
|
|
468
468
|
set(e) {
|
|
469
|
-
let t = Math.max(Number(e), Number(
|
|
470
|
-
t !==
|
|
469
|
+
let t = Math.max(Number(e), Number(S.value) + O.value);
|
|
470
|
+
t !== C.value && (C.value = t, Vn.value && (Vn.value.value = String(t)), b.immediate ? M("update:end", Number(t)) : T.value && Xt(t));
|
|
471
471
|
}
|
|
472
472
|
});
|
|
473
473
|
function j() {
|
|
474
|
-
clearTimeout(null),
|
|
474
|
+
clearTimeout(null), b.immediate || (M("update:start", Number(S.value)), M("update:end", Number(C.value))), T.value = !1;
|
|
475
475
|
}
|
|
476
|
-
let Zt = d(() =>
|
|
477
|
-
if (
|
|
478
|
-
if (
|
|
476
|
+
let Zt = d(() => b.refreshEndPoint === null ? b.max : b.refreshEndPoint), M = At, Qt = d(() => {
|
|
477
|
+
if (b.useValueRange) return Vt(S.value);
|
|
478
|
+
if (E.value) {
|
|
479
479
|
let e = Math.max(1, R.value - 1);
|
|
480
480
|
return jn.value / e * 100;
|
|
481
481
|
}
|
|
482
|
-
let e = Math.max(1,
|
|
483
|
-
return (
|
|
482
|
+
let e = Math.max(1, b.max - b.min);
|
|
483
|
+
return (S.value - b.min) / e * 100;
|
|
484
484
|
}), $t = d(() => {
|
|
485
|
-
if (
|
|
486
|
-
if (
|
|
485
|
+
if (b.useValueRange) return Vt(C.value);
|
|
486
|
+
if (E.value) {
|
|
487
487
|
let e = Math.max(1, R.value - 1);
|
|
488
488
|
return Mn.value / e * 100;
|
|
489
489
|
}
|
|
490
|
-
let e = Math.max(1,
|
|
491
|
-
return (
|
|
490
|
+
let e = Math.max(1, b.max - b.min);
|
|
491
|
+
return (C.value - b.min) / e * 100;
|
|
492
492
|
}), en = d(() => (Qt.value + $t.value) / 2), tn = d(() => {
|
|
493
|
-
if (!
|
|
494
|
-
let e = Math.max(1,
|
|
495
|
-
return
|
|
493
|
+
if (!x.value) return !1;
|
|
494
|
+
let e = Math.max(1, b.max - b.min);
|
|
495
|
+
return x.value.getBoundingClientRect().width * ((S.value - b.min) / e) - gr.value / 2 < 0;
|
|
496
496
|
}), nn = d(() => {
|
|
497
|
-
if (!
|
|
498
|
-
let e = Math.max(1,
|
|
499
|
-
return t * ((
|
|
497
|
+
if (!x.value) return !1;
|
|
498
|
+
let e = Math.max(1, b.max - b.min), t = x.value.getBoundingClientRect().width;
|
|
499
|
+
return t * ((C.value - b.min) / e) + _r.value / 2 > t;
|
|
500
500
|
}), N = d(() => {
|
|
501
501
|
let e = nn.value ? `calc(${en.value}% - ${Cr.value.width}px)` : tn.value ? `calc(${en.value}% - 8px)` : `calc(${en.value}% - ${Cr.value.width / 2}px)`;
|
|
502
502
|
return {
|
|
503
503
|
left: `${Qt.value}%`,
|
|
504
504
|
width: `${Math.max(0, $t.value - Qt.value)}%`,
|
|
505
|
-
background:
|
|
505
|
+
background: b.selectColor,
|
|
506
506
|
tooltipLeft: `calc(${Qt.value}% - ${tn.value ? 9 : gr.value / 2}px)`,
|
|
507
507
|
tooltipRight: `calc(${$t.value}% - ${nn.value ? _r.value - 9 : _r.value / 2}px)`,
|
|
508
508
|
tooltipCenter: e,
|
|
509
509
|
arrowLeft: !tn.value,
|
|
510
510
|
arrowRight: !nn.value
|
|
511
511
|
};
|
|
512
|
-
}), rn = d(() =>
|
|
512
|
+
}), rn = d(() => b.inputColor), an = d(() => b.background), on = d(() => `${b.selectColor}33`), P = d(() => b.borderColor), sn = d(() => Number(b.max) > Number(b.min));
|
|
513
513
|
function cn() {
|
|
514
514
|
M("reset");
|
|
515
515
|
}
|
|
516
|
-
|
|
517
|
-
Number(
|
|
518
|
-
}),
|
|
519
|
-
Number(
|
|
516
|
+
y(() => b.min, (e) => {
|
|
517
|
+
Number(S.value) < Number(e) && (S.value = Number(e)), Number(C.value) < Number(e) && (C.value = Number(e));
|
|
518
|
+
}), y(() => b.max, (e) => {
|
|
519
|
+
Number(S.value) > Number(e) && (S.value = Number(e)), Number(C.value) > Number(e) && (C.value = Number(e));
|
|
520
520
|
});
|
|
521
|
-
let F =
|
|
521
|
+
let F = _(null), I = _({
|
|
522
522
|
width: 1,
|
|
523
523
|
height: 1
|
|
524
|
-
}), L =
|
|
525
|
-
|
|
526
|
-
if (
|
|
524
|
+
}), L = _(null);
|
|
525
|
+
fe(() => {
|
|
526
|
+
if (w.value) {
|
|
527
527
|
let e = c(() => {
|
|
528
528
|
if (!F.value) return;
|
|
529
529
|
let { width: e, height: t } = ie({ chart: F.value }), n = Math.max(0, Math.round(e)), r = Math.max(0, Math.round(t - 47));
|
|
530
|
-
(n !== I.value.width || r !== I.value.height) && (I.value.width = n, I.value.height = r +
|
|
530
|
+
(n !== I.value.width || r !== I.value.height) && (I.value.width = n, I.value.height = r + b.additionalMinimapHeight);
|
|
531
531
|
}, 0);
|
|
532
532
|
L.value = new ResizeObserver(e), L.value.observe(F.value);
|
|
533
533
|
}
|
|
534
|
-
}),
|
|
534
|
+
}), de(() => {
|
|
535
535
|
L.value && L.value.disconnect();
|
|
536
536
|
});
|
|
537
|
-
let R = d(() => Math.max(1,
|
|
537
|
+
let R = d(() => Math.max(1, b.max - b.min));
|
|
538
538
|
function ln(e) {
|
|
539
|
-
let t = Math.floor(e -
|
|
539
|
+
let t = Math.floor(e - b.min);
|
|
540
540
|
return Math.min(Math.max(0, t), R.value);
|
|
541
541
|
}
|
|
542
542
|
function un(e) {
|
|
543
|
-
let t = Math.ceil(e -
|
|
543
|
+
let t = Math.ceil(e - b.min);
|
|
544
544
|
return Math.min(Math.max(0, t), R.value);
|
|
545
545
|
}
|
|
546
|
-
let z = d(() => ln(
|
|
546
|
+
let z = d(() => ln(S.value)), B = d(() => un(C.value)), dn = d(() => Math.max(...b.allMinimaps.map((e) => e.series.length))), fn = d(() => w.value && b.minimapCompact ? 40 : 0), pn = d(() => fn.value / 2);
|
|
547
547
|
d(() => Math.max(1, I.value.width - pn.value * 2));
|
|
548
548
|
let V = d(() => {
|
|
549
|
-
if (
|
|
550
|
-
let e = Math.max(1, dn.value - +!!
|
|
549
|
+
if (b.minimapCompact && !b.useValueRange) return I.value.width / Math.max(1, R.value - 1);
|
|
550
|
+
let e = Math.max(1, dn.value - +!!b.minimapCompact);
|
|
551
551
|
return I.value.width / e;
|
|
552
|
-
}), mn = d(() =>
|
|
552
|
+
}), mn = d(() => b.allMinimaps.length ? b.allMinimaps.filter((e) => e.type === "bar" && e.isVisible).length : 0), hn = d(() => V.value / (mn.value || 1) * .8);
|
|
553
553
|
function gn(e, t, n) {
|
|
554
554
|
let r = hn.value, i = Math.max(1, mn.value), a = dn.value - 1;
|
|
555
555
|
return n === 0 ? e + r / 2 * t : n === a ? e - r / 2 * (i - t) : e - i * r / 2 + t * r;
|
|
@@ -559,7 +559,7 @@ var xe = ["data-minimap"], Se = {
|
|
|
559
559
|
}
|
|
560
560
|
let vn = d(() => {
|
|
561
561
|
let e = [];
|
|
562
|
-
if (Array.isArray(
|
|
562
|
+
if (Array.isArray(b.minimap) && b.minimap.length && b.minimapMerged && e.push(...b.minimap.map(Wt).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(Wt).filter(Number.isFinite));
|
|
563
563
|
return e.length ? {
|
|
564
564
|
min: Math.min(...e),
|
|
565
565
|
max: Math.max(...e)
|
|
@@ -568,12 +568,12 @@ var xe = ["data-minimap"], Se = {
|
|
|
568
568
|
max: 1
|
|
569
569
|
};
|
|
570
570
|
}), yn = d(() => {
|
|
571
|
-
if (
|
|
572
|
-
let e = Number(
|
|
571
|
+
if (b.minScale == null && b.forceZeroCenter) return null;
|
|
572
|
+
let e = Number(b.minScale);
|
|
573
573
|
return Number.isFinite(e) ? e : null;
|
|
574
574
|
}), bn = d(() => {
|
|
575
|
-
if (
|
|
576
|
-
let e = Number(
|
|
575
|
+
if (b.maxScale == null && b.forceZeroCenter) return null;
|
|
576
|
+
let e = Number(b.maxScale);
|
|
577
577
|
return Number.isFinite(e) ? e : null;
|
|
578
578
|
}), xn = d(() => yn.value !== null && bn.value !== null), Sn = d(() => {
|
|
579
579
|
let { min: e, max: t } = vn.value, n = yn.value, r = bn.value, i, a;
|
|
@@ -599,8 +599,8 @@ var xe = ["data-minimap"], Se = {
|
|
|
599
599
|
return (e) => (1 - (i(e / r, -1, 1) + 1) / 2) * n;
|
|
600
600
|
}
|
|
601
601
|
}
|
|
602
|
-
function kn(
|
|
603
|
-
if (!
|
|
602
|
+
function kn(t, a = !1, o = !1) {
|
|
603
|
+
if (!t || !t.length) return {
|
|
604
604
|
fullSet: "",
|
|
605
605
|
points: [],
|
|
606
606
|
selectionSet: "",
|
|
@@ -613,7 +613,7 @@ var xe = ["data-minimap"], Se = {
|
|
|
613
613
|
selectionMarkers: [],
|
|
614
614
|
dashed: !1
|
|
615
615
|
};
|
|
616
|
-
let ee = Math.max(1, I.value.height), te = On(Cn.value, wn.value, ee, xn.value), ne =
|
|
616
|
+
let ee = Math.max(1, I.value.height), te = On(Cn.value, wn.value, ee, xn.value), ne = t.length, s = Math.min(Math.max(0, z.value), Math.max(0, ne - 1)), c = Math.min(ne, Math.max(s + 1, B.value)), l = t.map((e, t) => {
|
|
617
617
|
let n = Wt(e), r = Number.isFinite(n), i = Kt(e, t), a = te(xn.value ? ((e, t, n) => Math.max(t, Math.min(n, e)))(0, Cn.value, wn.value) : 0);
|
|
618
618
|
return {
|
|
619
619
|
x: i,
|
|
@@ -624,21 +624,21 @@ var xe = ["data-minimap"], Se = {
|
|
|
624
624
|
i: t,
|
|
625
625
|
xValue: Gt(e, t)
|
|
626
626
|
};
|
|
627
|
-
}), ie = (e) => e >= 0 && e < l.length && Number.isFinite(l[e]?.value), ae = l.filter((e) => Number.isFinite(e.value) && !ie(e.i - 1) && !ie(e.i + 1)), u =
|
|
627
|
+
}), ie = (e) => e >= 0 && e < l.length && Number.isFinite(l[e]?.value), ae = l.filter((e) => Number.isFinite(e.value) && !ie(e.i - 1) && !ie(e.i + 1)), u = b.useValueRange ? ae.filter((e) => e.xValue >= Number(S.value) && e.xValue <= Number(C.value)) : ae.filter((e) => e.i >= s && e.i < c), d = b.useValueRange ? l.filter((e) => e.xValue >= Number(S.value) && e.xValue <= Number(C.value)) : l.slice(s, c);
|
|
628
628
|
return {
|
|
629
|
-
fullSet: l.length >= 2 ?
|
|
629
|
+
fullSet: l.length >= 2 ? o ? i(b.cutNullValues ? l : l.filter((e) => e.value != null)) : b.smoothMinimap || a ? b.cutNullValues ? r(l) : n(l.filter((e) => e.value != null)) : b.cutNullValues ? e(l) : re(l.filter((e) => e.value != null)) : "",
|
|
630
630
|
points: l,
|
|
631
|
-
selectionSet: d.length >= 2 ?
|
|
631
|
+
selectionSet: d.length >= 2 ? o ? i(b.cutNullValues ? d : d.filter((e) => e.value != null)) : b.smoothMinimap || a ? b.cutNullValues ? r(d) : n(d.filter((e) => e.value != null)) : b.cutNullValues ? e(d) : re(d.filter((e) => e.value != null)) : "",
|
|
632
632
|
sliced: d,
|
|
633
|
-
firstPlot:
|
|
634
|
-
lastPlot:
|
|
633
|
+
firstPlot: b.useValueRange ? d[0] || null : l[s] || null,
|
|
634
|
+
lastPlot: b.useValueRange ? d[d.length - 1] || null : l[Math.max(0, c - 1)] || null,
|
|
635
635
|
hasFull: l.length >= 2,
|
|
636
636
|
hasSelection: d.length >= 2,
|
|
637
637
|
fullMarkers: ae,
|
|
638
638
|
selectionMarkers: u
|
|
639
639
|
};
|
|
640
640
|
}
|
|
641
|
-
let H = d(() =>
|
|
641
|
+
let H = d(() => b.minimap.length ? kn(b.minimap) : []), U = d(() => b.allMinimaps.length ? b.allMinimaps.map((e, t) => {
|
|
642
642
|
let n = kn(e?.series || [], !!e.smooth, !!e.useStepper), r = e?.id ?? e?.name ?? t;
|
|
643
643
|
return {
|
|
644
644
|
key: typeof r == "object" ? JSON.stringify(r) : String(r),
|
|
@@ -651,8 +651,8 @@ var xe = ["data-minimap"], Se = {
|
|
|
651
651
|
useStepper: !!e.useStepper
|
|
652
652
|
};
|
|
653
653
|
}) : []), W = d(() => {
|
|
654
|
-
if (
|
|
655
|
-
let e = Ht(
|
|
654
|
+
if (b.useValueRange) {
|
|
655
|
+
let e = Ht(S.value), t = Ht(C.value);
|
|
656
656
|
return {
|
|
657
657
|
x: e,
|
|
658
658
|
width: Math.max(0, t - e)
|
|
@@ -660,55 +660,55 @@ var xe = ["data-minimap"], Se = {
|
|
|
660
660
|
}
|
|
661
661
|
let e = z.value, t = Math.max(e + 1, B.value);
|
|
662
662
|
return {
|
|
663
|
-
x: V.value * e + (
|
|
663
|
+
x: V.value * e + (b.minimapCompact ? 0 : V.value / 2),
|
|
664
664
|
width: V.value * (t - e) - V.value
|
|
665
665
|
};
|
|
666
|
-
}), G =
|
|
666
|
+
}), G = _(b.minimapSelectedIndex), An = (e) => Math.round(b.min + e), jn = d({
|
|
667
667
|
get() {
|
|
668
|
-
return
|
|
668
|
+
return E.value ? z.value : Number(k.value);
|
|
669
669
|
},
|
|
670
670
|
set(e) {
|
|
671
|
-
if (
|
|
672
|
-
if (
|
|
673
|
-
let t =
|
|
674
|
-
Wn(Math.min(Math.max(Number(
|
|
671
|
+
if (E.value) {
|
|
672
|
+
if (b.useValueRange) {
|
|
673
|
+
let t = jt(e);
|
|
674
|
+
Wn(Math.min(Math.max(Number(b.min), t), Number(C.value) - O.value));
|
|
675
675
|
return;
|
|
676
676
|
}
|
|
677
677
|
Wn(An(Math.round(+e || 0)));
|
|
678
678
|
} else {
|
|
679
|
-
let t =
|
|
679
|
+
let t = jt(e), n = Number(C.value) - O.value, r = Math.min(Math.max(b.min, t), n);
|
|
680
680
|
Bn.value && (Bn.value.valueAsNumber = r), Wn(r);
|
|
681
681
|
}
|
|
682
682
|
}
|
|
683
683
|
}), Mn = d({
|
|
684
684
|
get() {
|
|
685
|
-
return
|
|
685
|
+
return E.value ? Math.max(z.value, B.value - 1) : Number(A.value);
|
|
686
686
|
},
|
|
687
687
|
set(e) {
|
|
688
|
-
if (
|
|
689
|
-
if (
|
|
690
|
-
let t =
|
|
691
|
-
Kn(Math.max(Number(
|
|
688
|
+
if (E.value) {
|
|
689
|
+
if (b.useValueRange) {
|
|
690
|
+
let t = jt(e);
|
|
691
|
+
Kn(Math.max(Number(S.value) + O.value, Math.min(t, Number(b.max))));
|
|
692
692
|
return;
|
|
693
693
|
}
|
|
694
694
|
Kn(An(Math.round(+e || 0) + 1));
|
|
695
695
|
} else {
|
|
696
|
-
let t =
|
|
696
|
+
let t = jt(e), n = Number(S.value) + O.value, r = Math.max(n, Math.min(t, b.max));
|
|
697
697
|
Vn.value && (Vn.value.valueAsNumber = r), Kn(r);
|
|
698
698
|
}
|
|
699
699
|
}
|
|
700
700
|
}), Nn = 0;
|
|
701
701
|
function Pn(e, t) {
|
|
702
702
|
if (t === Nn) {
|
|
703
|
-
if (
|
|
703
|
+
if (b.useValueRange) {
|
|
704
704
|
G.value = Number.isFinite(Number(e)) ? Ht(Number(e)) : null;
|
|
705
705
|
return;
|
|
706
706
|
}
|
|
707
|
-
G.value = ln(
|
|
707
|
+
G.value = ln(b.valueStart) + e;
|
|
708
708
|
}
|
|
709
709
|
}
|
|
710
710
|
let Fn = l(Pn, 60);
|
|
711
|
-
|
|
711
|
+
y(() => b.minimapSelectedIndex, (e, t) => {
|
|
712
712
|
if (Nn += 1, [null, void 0].includes(e)) {
|
|
713
713
|
G.value = null;
|
|
714
714
|
return;
|
|
@@ -722,7 +722,7 @@ var xe = ["data-minimap"], Se = {
|
|
|
722
722
|
e >= t && e < n && !X.value && M("trapMouse", e - t);
|
|
723
723
|
}
|
|
724
724
|
function Ln(e) {
|
|
725
|
-
let t = Ut(e), n =
|
|
725
|
+
let t = Ut(e), n = b.allMinimaps.flatMap((e) => (e.series || []).map((e, n) => ({
|
|
726
726
|
point: e,
|
|
727
727
|
index: n,
|
|
728
728
|
x: Number(e?.x),
|
|
@@ -733,7 +733,7 @@ var xe = ["data-minimap"], Se = {
|
|
|
733
733
|
function Rn(e) {
|
|
734
734
|
if (!sn.value || Rt.value) return;
|
|
735
735
|
let t = zr(e.clientX);
|
|
736
|
-
if (
|
|
736
|
+
if (b.useValueRange) {
|
|
737
737
|
let e = Ln(t);
|
|
738
738
|
if (!e) {
|
|
739
739
|
zn();
|
|
@@ -747,7 +747,7 @@ var xe = ["data-minimap"], Se = {
|
|
|
747
747
|
function zn() {
|
|
748
748
|
G.value = null, !Rt.value && (M("trapMouse", null), M("trapMouseValue", null));
|
|
749
749
|
}
|
|
750
|
-
let Bn =
|
|
750
|
+
let Bn = _(null), Vn = _(null);
|
|
751
751
|
function Hn(e) {
|
|
752
752
|
if (typeof e == "object" && e && "target" in e) {
|
|
753
753
|
let t = e.target, n = "valueAsNumber" in t ? t.valueAsNumber : +t.value;
|
|
@@ -758,7 +758,7 @@ var xe = ["data-minimap"], Se = {
|
|
|
758
758
|
}
|
|
759
759
|
let Un = 0;
|
|
760
760
|
function Wn(e) {
|
|
761
|
-
|
|
761
|
+
T.value = !0;
|
|
762
762
|
let t = Hn(e);
|
|
763
763
|
Number.isFinite(t) && (cancelAnimationFrame(Un), Un = requestAnimationFrame(() => {
|
|
764
764
|
k.value = t;
|
|
@@ -766,51 +766,51 @@ var xe = ["data-minimap"], Se = {
|
|
|
766
766
|
}
|
|
767
767
|
let Gn = 0;
|
|
768
768
|
function Kn(e) {
|
|
769
|
-
|
|
769
|
+
T.value = !0;
|
|
770
770
|
let t = Hn(e);
|
|
771
771
|
Number.isFinite(t) && (cancelAnimationFrame(Gn), Gn = requestAnimationFrame(() => {
|
|
772
772
|
A.value = t;
|
|
773
773
|
}));
|
|
774
774
|
}
|
|
775
|
-
|
|
775
|
+
de(() => {
|
|
776
776
|
cancelAnimationFrame(Un), cancelAnimationFrame(Gn);
|
|
777
777
|
});
|
|
778
|
-
let qn = d(() =>
|
|
778
|
+
let qn = d(() => b.valueEnd - b.valueStart), Jn = d(() => qn.value < b.max - b.min), Yn = _(!1), Xn = _(null), Zn = d(() => (Jt.value - 48) / (b.max - b.min) * qn.value), Qn = d(() => Math.max(1, Jt.value - Ot - Zn.value)), $n = d(() => Math.max(1, b.max - b.min - qn.value)), er = d(() => $n.value / Qn.value), tr = _(0), nr = _(0), rr = _(0), ir = _(0), K = null, q = null, J = null, Y = null, ar = _(b.min);
|
|
779
779
|
function or(e) {
|
|
780
|
-
if (!
|
|
781
|
-
let t =
|
|
782
|
-
return Math.round(
|
|
780
|
+
if (!x.value) return b.min;
|
|
781
|
+
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);
|
|
782
|
+
return Math.round(b.min + a * o);
|
|
783
783
|
}
|
|
784
|
-
let sr = async (
|
|
785
|
-
if (
|
|
786
|
-
let
|
|
787
|
-
|
|
788
|
-
let
|
|
789
|
-
if (!
|
|
784
|
+
let sr = async (e) => {
|
|
785
|
+
if (T.value = !0, Z.value = !0, !b.enableSelectionDrag) return;
|
|
786
|
+
let t = e.type === "touchstart";
|
|
787
|
+
t || e.stopPropagation();
|
|
788
|
+
let n = t && e.targetTouches && e.targetTouches[0] ? e.targetTouches[0] : null, r = t ? n ? n.target : null : e.target;
|
|
789
|
+
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;
|
|
790
790
|
Yn.value = !0;
|
|
791
|
-
let
|
|
792
|
-
if (Xn.value =
|
|
791
|
+
let i = t ? n ? n.clientX : 0 : e.clientX;
|
|
792
|
+
if (Xn.value = i, tr.value = i, b.focusOnDrag && !Jn.value && x.value && !Lt.value) {
|
|
793
793
|
Lt.value = !0;
|
|
794
794
|
try {
|
|
795
|
-
ar.value = or(
|
|
796
|
-
let
|
|
797
|
-
o = Math.max(Number(
|
|
798
|
-
let ee = Math.min(Number(
|
|
799
|
-
k.value = o, A.value = ee, Yt(o), Xt(ee),
|
|
795
|
+
ar.value = or(i);
|
|
796
|
+
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), o = ar.value - r;
|
|
797
|
+
o = Math.max(Number(b.min), Math.min(o, Number(b.max) - n));
|
|
798
|
+
let ee = Math.min(Number(b.max), o + n);
|
|
799
|
+
k.value = o, A.value = ee, Yt(o), Xt(ee), a(x.value, "mouseup"), await ce(), a(x.value, "mousedown", { clientX: i });
|
|
800
800
|
} finally {
|
|
801
801
|
Lt.value = !1;
|
|
802
802
|
}
|
|
803
803
|
return;
|
|
804
804
|
}
|
|
805
|
-
nr.value =
|
|
805
|
+
nr.value = S.value, rr.value = C.value, ir.value = er.value, K = t ? "touchmove" : "mousemove", q = t ? "touchend" : "mouseup", J = t ? lr : cr, Y = t ? fr : dr, window.addEventListener(K, J, { passive: !1 }), window.addEventListener(q, Y);
|
|
806
806
|
};
|
|
807
807
|
function cr(e) {
|
|
808
808
|
Yn.value && ur(e.clientX);
|
|
809
809
|
}
|
|
810
810
|
function lr(e) {
|
|
811
|
-
if (!Yn.value || !
|
|
811
|
+
if (!Yn.value || !x.value) return;
|
|
812
812
|
let t = e.target;
|
|
813
|
-
if (!(t instanceof Element) || !
|
|
813
|
+
if (!(t instanceof Element) || !x.value.contains(t) || t.classList && t.classList.contains("range-handle")) return;
|
|
814
814
|
e.preventDefault();
|
|
815
815
|
let n = e.targetTouches && e.targetTouches[0] ? e.targetTouches[0] : null;
|
|
816
816
|
n && ur(n.clientX);
|
|
@@ -818,7 +818,7 @@ var xe = ["data-minimap"], Se = {
|
|
|
818
818
|
function ur(e) {
|
|
819
819
|
if (!Yn.value) return;
|
|
820
820
|
let t = or(tr.value), n = or(e) - t, r = Math.round(nr.value + n);
|
|
821
|
-
r = Math.max(
|
|
821
|
+
r = Math.max(b.min, Math.min(r, b.max - qn.value));
|
|
822
822
|
let i = r + qn.value;
|
|
823
823
|
k.value = r, A.value = i, Yt(r), Xt(i);
|
|
824
824
|
}
|
|
@@ -831,7 +831,7 @@ var xe = ["data-minimap"], Se = {
|
|
|
831
831
|
function pr() {
|
|
832
832
|
Yn.value = !1, K && J && window.removeEventListener(K, J), q && Y && window.removeEventListener(q, Y), K = q = null, J = Y = null, j();
|
|
833
833
|
}
|
|
834
|
-
let X =
|
|
834
|
+
let X = _(!1), mr = _(null), hr = _(null), gr = _(1), _r = _(1), Z = _(!1);
|
|
835
835
|
function vr() {
|
|
836
836
|
if (mr.value) {
|
|
837
837
|
let e = Math.round(mr.value.getBoundingClientRect().width);
|
|
@@ -844,18 +844,18 @@ var xe = ["data-minimap"], Se = {
|
|
|
844
844
|
e !== _r.value && (_r.value = e);
|
|
845
845
|
}
|
|
846
846
|
}
|
|
847
|
-
|
|
847
|
+
pe(() => {
|
|
848
848
|
vr(), yr();
|
|
849
849
|
});
|
|
850
|
-
let br =
|
|
850
|
+
let br = _(0);
|
|
851
851
|
function xr(e) {
|
|
852
852
|
br.value = +(e === "start");
|
|
853
853
|
}
|
|
854
|
-
let Sr =
|
|
854
|
+
let Sr = _(!1), Cr = _({
|
|
855
855
|
width: 0,
|
|
856
856
|
left: 0
|
|
857
857
|
});
|
|
858
|
-
|
|
858
|
+
y([S, C], async () => {
|
|
859
859
|
if (await ce(), !mr.value || !hr.value) {
|
|
860
860
|
Sr.value = !1, Cr.value = {
|
|
861
861
|
width: 0,
|
|
@@ -870,27 +870,27 @@ var xe = ["data-minimap"], Se = {
|
|
|
870
870
|
width: i,
|
|
871
871
|
left: (n + r) / 2 - i / 2
|
|
872
872
|
};
|
|
873
|
-
}),
|
|
873
|
+
}), pe(() => {
|
|
874
874
|
vr(), yr();
|
|
875
|
-
}),
|
|
875
|
+
}), y(() => b.labelLeft, () => {
|
|
876
876
|
ce(vr);
|
|
877
|
-
}, { deep: !0 }),
|
|
877
|
+
}, { deep: !0 }), y(() => b.labelRight, () => {
|
|
878
878
|
ce(yr);
|
|
879
879
|
}, { deep: !0 });
|
|
880
880
|
let Q = d(() => {
|
|
881
881
|
let e = "", t = "", n = !1;
|
|
882
|
-
if (
|
|
883
|
-
let r =
|
|
884
|
-
absoluteIndex:
|
|
885
|
-
seriesIndex:
|
|
886
|
-
datapoint:
|
|
887
|
-
timeLabel:
|
|
882
|
+
if (ne(b.customFormat)) try {
|
|
883
|
+
let r = b.customFormat({
|
|
884
|
+
absoluteIndex: S.value,
|
|
885
|
+
seriesIndex: S.value,
|
|
886
|
+
datapoint: b.selectedSeries,
|
|
887
|
+
timeLabel: b.preciseLabels[S.value],
|
|
888
888
|
side: "left"
|
|
889
|
-
}), i =
|
|
889
|
+
}), i = b.customFormat({
|
|
890
890
|
absoluteIndex: zt.value,
|
|
891
891
|
seriesIndex: -1,
|
|
892
|
-
datapoint:
|
|
893
|
-
timeLabel:
|
|
892
|
+
datapoint: b.selectedSeries,
|
|
893
|
+
timeLabel: b.useValueRange ? null : b.preciseLabels[zt.value],
|
|
894
894
|
side: "right"
|
|
895
895
|
});
|
|
896
896
|
typeof r == "string" && typeof i == "string" && (e = r, t = i, n = !0);
|
|
@@ -898,7 +898,7 @@ var xe = ["data-minimap"], Se = {
|
|
|
898
898
|
n = !1;
|
|
899
899
|
}
|
|
900
900
|
if (!n) {
|
|
901
|
-
let n =
|
|
901
|
+
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 === zt.value) : b.timeLabels.find((e) => e.absoluteIndex === zt.value);
|
|
902
902
|
e = n ? n.text : "", t = r ? r.text : "";
|
|
903
903
|
}
|
|
904
904
|
return {
|
|
@@ -906,46 +906,46 @@ var xe = ["data-minimap"], Se = {
|
|
|
906
906
|
right: t
|
|
907
907
|
};
|
|
908
908
|
});
|
|
909
|
-
|
|
909
|
+
de(() => {
|
|
910
910
|
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);
|
|
911
911
|
});
|
|
912
912
|
let wr = d(() => {
|
|
913
913
|
if (!sn.value || G.value === null) return null;
|
|
914
|
-
if (
|
|
914
|
+
if (b.useValueRange) {
|
|
915
915
|
let e = G.value;
|
|
916
916
|
return e < W.value.x || e > W.value.x + W.value.width ? null : {
|
|
917
917
|
x1: e,
|
|
918
918
|
x2: e,
|
|
919
919
|
y1: 0,
|
|
920
920
|
y2: Math.max(I.value.height, 0),
|
|
921
|
-
stroke:
|
|
921
|
+
stroke: b.minimapIndicatorColor,
|
|
922
922
|
"stroke-linecap": "round",
|
|
923
923
|
"stroke-dasharray": 2,
|
|
924
924
|
"stroke-width": 1
|
|
925
925
|
};
|
|
926
926
|
}
|
|
927
927
|
if (G.value >= z.value && G.value < B.value) {
|
|
928
|
-
let e = G.value, t = V.value * e + (
|
|
928
|
+
let e = G.value, t = V.value * e + (b.minimapCompact ? 0 : V.value / 2);
|
|
929
929
|
return {
|
|
930
930
|
x1: t,
|
|
931
931
|
x2: t,
|
|
932
932
|
y1: 0,
|
|
933
933
|
y2: Math.max(I.value.height, 0),
|
|
934
|
-
stroke:
|
|
934
|
+
stroke: b.minimapIndicatorColor,
|
|
935
935
|
"stroke-linecap": "round",
|
|
936
936
|
"stroke-dasharray": 2,
|
|
937
937
|
"stroke-width": 1
|
|
938
938
|
};
|
|
939
939
|
}
|
|
940
940
|
return null;
|
|
941
|
-
}), Tr = d(() => Number(
|
|
941
|
+
}), Tr = d(() => Number(S.value) < Number(C.value) - 1), Er = d(() => Number(S.value) > Number(b.min)), Dr = d(() => Number(C.value) < Number(b.max)), Or = d(() => Number(C.value) > Number(S.value) + 1);
|
|
942
942
|
function kr(e) {
|
|
943
|
-
let t = Number(
|
|
944
|
-
e > 0 && !Tr.value || e < 0 && !Er.value || (
|
|
943
|
+
let t = Number(S.value) + e;
|
|
944
|
+
e > 0 && !Tr.value || e < 0 && !Er.value || (T.value = !0, k.value = t, j());
|
|
945
945
|
}
|
|
946
946
|
function Ar(e) {
|
|
947
|
-
let t = Number(
|
|
948
|
-
e > 0 && !Dr.value || e < 0 && !Or.value || (
|
|
947
|
+
let t = Number(C.value) + e;
|
|
948
|
+
e > 0 && !Dr.value || e < 0 && !Or.value || (T.value = !0, A.value = t, j());
|
|
949
949
|
}
|
|
950
950
|
let jr = {
|
|
951
951
|
plus: () => kr(1),
|
|
@@ -967,8 +967,8 @@ var xe = ["data-minimap"], Se = {
|
|
|
967
967
|
return e instanceof HTMLElement && (e.isContentEditable || e.tagName === "INPUT" || e.tagName === "TEXTAREA" || e.tagName === "SELECT");
|
|
968
968
|
}
|
|
969
969
|
function Fr(e) {
|
|
970
|
-
if (!
|
|
971
|
-
let t =
|
|
970
|
+
if (!w.value || !b.minimapCompact) return;
|
|
971
|
+
let t = x.value;
|
|
972
972
|
if (!t) return;
|
|
973
973
|
let n = e === "start" ? "[data-cy=\"slicer-compact-handle-left\"]" : "[data-cy=\"slicer-compact-handle-right\"]", r = t.querySelector(n);
|
|
974
974
|
r && r instanceof SVGElement && typeof r.focus == "function" && r.focus();
|
|
@@ -982,16 +982,16 @@ var xe = ["data-minimap"], Se = {
|
|
|
982
982
|
tabindex: 0,
|
|
983
983
|
role: "slider",
|
|
984
984
|
"aria-label": "Range start",
|
|
985
|
-
"aria-valuemin": Number(
|
|
986
|
-
"aria-valuemax": Math.max(Number(
|
|
987
|
-
"aria-valuenow": Number(
|
|
985
|
+
"aria-valuemin": Number(b.min),
|
|
986
|
+
"aria-valuemax": Math.max(Number(b.min), Number(C.value) - 1),
|
|
987
|
+
"aria-valuenow": Number(S.value)
|
|
988
988
|
})), Rr = d(() => ({
|
|
989
989
|
tabindex: 0,
|
|
990
990
|
role: "slider",
|
|
991
991
|
"aria-label": "Range end",
|
|
992
|
-
"aria-valuemin": Math.min(Number(
|
|
993
|
-
"aria-valuemax": Number(
|
|
994
|
-
"aria-valuenow": Number(
|
|
992
|
+
"aria-valuemin": Math.min(Number(b.max), Number(S.value) + 1),
|
|
993
|
+
"aria-valuemax": Number(b.max),
|
|
994
|
+
"aria-valuenow": Number(C.value)
|
|
995
995
|
}));
|
|
996
996
|
function zr(e) {
|
|
997
997
|
if (!It.value) return 0;
|
|
@@ -1006,27 +1006,27 @@ var xe = ["data-minimap"], Se = {
|
|
|
1006
1006
|
}
|
|
1007
1007
|
function Vr(e) {
|
|
1008
1008
|
let t = Math.min(Math.max(0, e), Math.max(1, I.value.width));
|
|
1009
|
-
if (
|
|
1009
|
+
if (b.useValueRange) {
|
|
1010
1010
|
let e = Ut(t);
|
|
1011
1011
|
if (D.value === "start") {
|
|
1012
|
-
let t = Math.min(e, Number(
|
|
1012
|
+
let t = Math.min(e, Number(C.value) - O.value);
|
|
1013
1013
|
k.value = t, Yt(t);
|
|
1014
1014
|
return;
|
|
1015
1015
|
}
|
|
1016
1016
|
if (D.value === "end") {
|
|
1017
|
-
let t = Math.max(Number(
|
|
1017
|
+
let t = Math.max(Number(S.value) + O.value, e), n = Math.min(Number(b.max), t);
|
|
1018
1018
|
A.value = n, Xt(n);
|
|
1019
1019
|
return;
|
|
1020
1020
|
}
|
|
1021
1021
|
}
|
|
1022
1022
|
let n = Br(t);
|
|
1023
1023
|
if (D.value === "start") {
|
|
1024
|
-
let e = Math.min(
|
|
1024
|
+
let e = Math.min(b.min + n, Number(C.value) - 1);
|
|
1025
1025
|
k.value = e, Yt(e);
|
|
1026
1026
|
return;
|
|
1027
1027
|
}
|
|
1028
1028
|
if (D.value === "end") {
|
|
1029
|
-
let e = Math.max(Number(
|
|
1029
|
+
let e = Math.max(Number(S.value) + 1, b.min + n + 1), t = Math.min(b.max, e);
|
|
1030
1030
|
A.value = t, Xt(t);
|
|
1031
1031
|
}
|
|
1032
1032
|
}
|
|
@@ -1035,7 +1035,7 @@ var xe = ["data-minimap"], Se = {
|
|
|
1035
1035
|
let t = e.clientX - Pt.value;
|
|
1036
1036
|
if (!Nt.value) {
|
|
1037
1037
|
if (Math.abs(t) < 4) return;
|
|
1038
|
-
Nt.value = !0,
|
|
1038
|
+
Nt.value = !0, T.value = !0, Z.value = !0;
|
|
1039
1039
|
}
|
|
1040
1040
|
let n = zr(e.clientX) - Ft.value;
|
|
1041
1041
|
Vr(D.value === "start" ? n + qt.value : n);
|
|
@@ -1047,14 +1047,14 @@ var xe = ["data-minimap"], Se = {
|
|
|
1047
1047
|
D.value = null, Nt.value = !1, Pt.value = 0, Ft.value = 0, e && j();
|
|
1048
1048
|
}
|
|
1049
1049
|
function Wr(e, t) {
|
|
1050
|
-
if (!
|
|
1050
|
+
if (!w.value || !b.minimapCompact || !F.value) return;
|
|
1051
1051
|
t.preventDefault(), t.stopPropagation(), G.value = null;
|
|
1052
1052
|
let n = zr(t.clientX), r = e === "start" ? W.value.x - qt.value : W.value.x + W.value.width;
|
|
1053
1053
|
D.value = e, Nt.value = !1, Pt.value = t.clientX, Ft.value = n - r, window.addEventListener("mousemove", Hr, !0), window.addEventListener("mouseup", Ur, !0);
|
|
1054
1054
|
}
|
|
1055
1055
|
let Gr = d(() => z.value), Kr = d(() => Math.max(z.value, B.value - 1));
|
|
1056
1056
|
d(() => {
|
|
1057
|
-
if (!
|
|
1057
|
+
if (!w.value || !b.minimapCompact || !b.allMinimaps.length) return [];
|
|
1058
1058
|
let e = Gr.value, t = Kr.value;
|
|
1059
1059
|
return U.value.flatMap((n) => {
|
|
1060
1060
|
if (!n?.isVisible || !["line", "plot"].includes(n.type) || !n.type) return [];
|
|
@@ -1072,29 +1072,29 @@ var xe = ["data-minimap"], Se = {
|
|
|
1072
1072
|
}), r;
|
|
1073
1073
|
});
|
|
1074
1074
|
});
|
|
1075
|
-
let $ = d(() => Math.min(40, Math.max(20,
|
|
1076
|
-
return
|
|
1075
|
+
let $ = d(() => Math.min(40, Math.max(20, b.handleWidth))), qr = d(() => W.value.x - $.value), Jr = d(() => W.value.x + W.value.width);
|
|
1076
|
+
return kt({
|
|
1077
1077
|
setStartValue: Wn,
|
|
1078
1078
|
setEndValue: Kn
|
|
1079
|
-
}), (e, t) => (
|
|
1080
|
-
"data-minimap":
|
|
1079
|
+
}), (e, t) => (g(), p("div", {
|
|
1080
|
+
"data-minimap": w.value,
|
|
1081
1081
|
"data-dom-to-png-ignore": "",
|
|
1082
1082
|
"data-dom-to-png-ignore-layout": "",
|
|
1083
|
-
style:
|
|
1083
|
+
style: h([{ padding: "0 48px" }, {
|
|
1084
1084
|
maxWidth: s.maxWidth ? s.maxWidth + "px" : void 0,
|
|
1085
1085
|
margin: s.maxWidth ? "0 auto" : void 0
|
|
1086
1086
|
}]),
|
|
1087
1087
|
class: "vue-data-ui-zoom",
|
|
1088
1088
|
ref_key: "zoomWrapper",
|
|
1089
|
-
ref:
|
|
1089
|
+
ref: x,
|
|
1090
1090
|
onMousedown: sr,
|
|
1091
1091
|
onTouchstart: sr
|
|
1092
|
-
}, [m("div",
|
|
1092
|
+
}, [m("div", Ce, [s.valueStart !== s.refreshStartPoint || s.valueEnd !== Zt.value ? (g(), p("div", we, [me(e.$slots, "reset-action", { reset: cn }, () => [m("button", {
|
|
1093
1093
|
tabindex: "0",
|
|
1094
1094
|
role: "button",
|
|
1095
1095
|
class: "vue-data-ui-refresh-button",
|
|
1096
|
-
style:
|
|
1097
|
-
top:
|
|
1096
|
+
style: h({
|
|
1097
|
+
top: w.value ? "36px" : "-16px",
|
|
1098
1098
|
cursor: s.isCursorPointer ? "pointer" : "default"
|
|
1099
1099
|
}),
|
|
1100
1100
|
onClick: cn
|
|
@@ -1105,23 +1105,23 @@ var xe = ["data-minimap"], Se = {
|
|
|
1105
1105
|
class: "double-range-slider",
|
|
1106
1106
|
ref_key: "minimapWrapper",
|
|
1107
1107
|
ref: F,
|
|
1108
|
-
style:
|
|
1108
|
+
style: h([{ "z-index": "0" }, w.value ? {
|
|
1109
1109
|
"--minimap-unit-px": V.value + "px",
|
|
1110
1110
|
"--minimap-offset-px": (s.minimapCompact ? 0 : V.value / 2) + "px"
|
|
1111
1111
|
} : void 0]),
|
|
1112
1112
|
onMouseenter: t[18] ||= (e) => Z.value = !0,
|
|
1113
1113
|
onMouseleave: t[19] ||= (e) => Z.value = !1
|
|
1114
1114
|
}, [
|
|
1115
|
-
|
|
1115
|
+
w.value ? (g(), p("div", Te, [(g(), p("svg", {
|
|
1116
1116
|
ref_key: "minimapSvg",
|
|
1117
1117
|
ref: It,
|
|
1118
1118
|
key: `mm-${s.minimapMerged ? "merged" : "split"}-${s.minimapCompact ? "compact" : "normal"}`,
|
|
1119
|
-
xmlns:
|
|
1119
|
+
xmlns: ge(ee),
|
|
1120
1120
|
viewBox: `0 0 ${Math.max(0, I.value.width)} ${Math.max(0, I.value.height)}`,
|
|
1121
1121
|
preserveAspectRatio: "none"
|
|
1122
1122
|
}, [
|
|
1123
1123
|
m("defs", null, [m("linearGradient", {
|
|
1124
|
-
id:
|
|
1124
|
+
id: Mt.value,
|
|
1125
1125
|
x1: "0%",
|
|
1126
1126
|
y1: "0%",
|
|
1127
1127
|
x2: "0%",
|
|
@@ -1129,16 +1129,16 @@ var xe = ["data-minimap"], Se = {
|
|
|
1129
1129
|
}, [m("stop", {
|
|
1130
1130
|
offset: "0%",
|
|
1131
1131
|
"stop-color": `${s.minimapLineColor}50`
|
|
1132
|
-
}, null, 8,
|
|
1132
|
+
}, null, 8, Oe), t[20] ||= m("stop", {
|
|
1133
1133
|
offset: "100%",
|
|
1134
1134
|
"stop-color": "transparent"
|
|
1135
|
-
}, null, -1)], 8,
|
|
1135
|
+
}, null, -1)], 8, De), m("clipPath", { id: `selection_clip_${Mt.value}` }, [m("rect", {
|
|
1136
1136
|
x: W.value.x,
|
|
1137
1137
|
y: "0",
|
|
1138
1138
|
width: Math.max(0, W.value.width),
|
|
1139
1139
|
height: Math.max(I.value.height, 0)
|
|
1140
|
-
}, null, 8,
|
|
1141
|
-
s.minimapCompact ? (
|
|
1140
|
+
}, null, 8, Ae)], 8, ke)]),
|
|
1141
|
+
s.minimapCompact ? (g(), p("rect", {
|
|
1142
1142
|
key: 0,
|
|
1143
1143
|
class: "vue-ui-zoom-minimap-frame",
|
|
1144
1144
|
x: 0,
|
|
@@ -1148,8 +1148,8 @@ var xe = ["data-minimap"], Se = {
|
|
|
1148
1148
|
fill: "none",
|
|
1149
1149
|
stroke: s.minimapFrameColor,
|
|
1150
1150
|
rx: 3
|
|
1151
|
-
}, null, 8,
|
|
1152
|
-
e.$slots.slotMap ? f("", !0) : (
|
|
1151
|
+
}, null, 8, je)) : f("", !0),
|
|
1152
|
+
e.$slots.slotMap ? f("", !0) : (g(), p(u, { key: 1 }, [s.minimapMerged ? (g(), p("path", {
|
|
1153
1153
|
key: 0,
|
|
1154
1154
|
d: `M${H.value.fullSet}`,
|
|
1155
1155
|
stroke: `${s.minimapLineColor}`,
|
|
@@ -1158,14 +1158,14 @@ var xe = ["data-minimap"], Se = {
|
|
|
1158
1158
|
"stroke-linecap": "round",
|
|
1159
1159
|
"stroke-linejoin": "round",
|
|
1160
1160
|
style: { opacity: "0.6" }
|
|
1161
|
-
}, null, 8,
|
|
1161
|
+
}, null, 8, Me)) : f("", !0), s.minimapMerged && !s.minimapCompact ? (g(), p("path", {
|
|
1162
1162
|
key: 1,
|
|
1163
1163
|
d: `M${V.value / 2},${Math.max(I.value.height, 0)} ${H.value.fullSet} L${I.value.width - V.value / 2},${Math.max(I.value.height, 0)}Z`,
|
|
1164
|
-
fill: `url(#${
|
|
1164
|
+
fill: `url(#${Mt.value})`,
|
|
1165
1165
|
stroke: "none",
|
|
1166
1166
|
style: { opacity: "0.6" }
|
|
1167
|
-
}, null, 8,
|
|
1168
|
-
(
|
|
1167
|
+
}, null, 8, Ne)) : s.minimapMerged ? f("", !0) : (g(), p(u, { key: 2 }, [
|
|
1168
|
+
(g(!0), p(u, null, v(U.value.filter((e) => e.type === "bar" && e.isVisible), (e, t) => (g(), p("g", null, [(g(!0), p(u, null, v(e.points, (n, r) => (g(), p(u, null, [e && !isNaN(n.y) ? (g(), p("rect", {
|
|
1169
1169
|
key: 0,
|
|
1170
1170
|
x: gn(n.x, t, r),
|
|
1171
1171
|
y: n.v >= 0 ? n.y : n.y0,
|
|
@@ -1173,15 +1173,15 @@ var xe = ["data-minimap"], Se = {
|
|
|
1173
1173
|
height: n.v >= 0 ? n.y0 - n.y : n.y - n.y0,
|
|
1174
1174
|
fill: e.color,
|
|
1175
1175
|
style: { opacity: .6 }
|
|
1176
|
-
}, null, 8,
|
|
1177
|
-
(
|
|
1176
|
+
}, null, 8, Pe)) : f("", !0)], 64))), 256))]))), 256)),
|
|
1177
|
+
(g(!0), p(u, null, v(U.value.filter((e) => e.type === "line"), (e) => (g(), p("g", null, [e.isVisible ? (g(), p("path", {
|
|
1178
1178
|
key: 0,
|
|
1179
1179
|
d: `M ${e.fullSet}`,
|
|
1180
1180
|
fill: "none",
|
|
1181
1181
|
stroke: e.color,
|
|
1182
1182
|
style: { opacity: "0.6" },
|
|
1183
1183
|
"stroke-dasharray": e.dashed ? "2 4" : 0
|
|
1184
|
-
}, null, 8,
|
|
1184
|
+
}, null, 8, Fe)) : f("", !0), e.isVisible && s.cutNullValues ? (g(!0), p(u, { key: 1 }, v(e.fullMarkers, (t) => (g(), p("circle", {
|
|
1185
1185
|
key: `sel-dot-under-${e.key}-${t.i}`,
|
|
1186
1186
|
cx: t.x,
|
|
1187
1187
|
cy: t.y,
|
|
@@ -1190,8 +1190,8 @@ var xe = ["data-minimap"], Se = {
|
|
|
1190
1190
|
stroke: P.value,
|
|
1191
1191
|
"stroke-width": "0.5",
|
|
1192
1192
|
style: { opacity: "0.6" }
|
|
1193
|
-
}, null, 8,
|
|
1194
|
-
(
|
|
1193
|
+
}, null, 8, Ie))), 128)) : f("", !0)]))), 256)),
|
|
1194
|
+
(g(!0), p(u, null, v(U.value.filter((e) => e.type === "plot"), (e) => (g(), p("g", null, [(g(!0), p(u, null, v(e.points, (t) => (g(), p("g", null, [e.isVisible && t.value !== null ? (g(), p("circle", {
|
|
1195
1195
|
key: `sel-plot-under-${e.key}-${t.i}`,
|
|
1196
1196
|
cx: t.x,
|
|
1197
1197
|
cy: t.y,
|
|
@@ -1200,7 +1200,7 @@ var xe = ["data-minimap"], Se = {
|
|
|
1200
1200
|
stroke: P.value,
|
|
1201
1201
|
"stroke-width": "0.5",
|
|
1202
1202
|
style: { opacity: "0.6" }
|
|
1203
|
-
}, null, 8,
|
|
1203
|
+
}, null, 8, Le)) : f("", !0)]))), 256))]))), 256))
|
|
1204
1204
|
], 64))], 64)),
|
|
1205
1205
|
m("rect", {
|
|
1206
1206
|
x: W.value.x,
|
|
@@ -1210,7 +1210,7 @@ var xe = ["data-minimap"], Se = {
|
|
|
1210
1210
|
fill: P.value,
|
|
1211
1211
|
rx: s.minimapSelectionRadius,
|
|
1212
1212
|
stroke: "none"
|
|
1213
|
-
}, null, 8,
|
|
1213
|
+
}, null, 8, Re),
|
|
1214
1214
|
m("rect", {
|
|
1215
1215
|
x: W.value.x,
|
|
1216
1216
|
y: 0,
|
|
@@ -1218,8 +1218,8 @@ var xe = ["data-minimap"], Se = {
|
|
|
1218
1218
|
height: Math.max(I.value.height, 0),
|
|
1219
1219
|
rx: s.minimapSelectionRadius,
|
|
1220
1220
|
fill: P.value,
|
|
1221
|
-
style:
|
|
1222
|
-
}, null, 12,
|
|
1221
|
+
style: h({ opacity: Yn.value || T.value ? 0 : 1 })
|
|
1222
|
+
}, null, 12, ze),
|
|
1223
1223
|
m("rect", {
|
|
1224
1224
|
x: W.value.x,
|
|
1225
1225
|
y: 0,
|
|
@@ -1227,17 +1227,17 @@ var xe = ["data-minimap"], Se = {
|
|
|
1227
1227
|
height: Math.max(I.value.height, 0),
|
|
1228
1228
|
fill: s.minimapSelectedColor,
|
|
1229
1229
|
rx: s.minimapSelectionRadius,
|
|
1230
|
-
style:
|
|
1230
|
+
style: h({ opacity: s.minimapSelectedColorOpacity }),
|
|
1231
1231
|
tabindex: "0",
|
|
1232
1232
|
role: "slider",
|
|
1233
1233
|
"aria-label": "Selected range",
|
|
1234
|
-
"aria-valuemin": Number(
|
|
1235
|
-
"aria-valuemax": Number(
|
|
1236
|
-
"aria-valuenow": Number(
|
|
1234
|
+
"aria-valuemin": Number(b.min),
|
|
1235
|
+
"aria-valuemax": Number(b.max),
|
|
1236
|
+
"aria-valuenow": Number(S.value),
|
|
1237
1237
|
"aria-valuetext": Q.value.left && Q.value.right ? `${Q.value.left} – ${Q.value.right}` : void 0,
|
|
1238
1238
|
onKeydown: Nr
|
|
1239
|
-
}, null, 44,
|
|
1240
|
-
!s.minimapMerged && Tn.value < 0 ? (
|
|
1239
|
+
}, null, 44, Be),
|
|
1240
|
+
!s.minimapMerged && Tn.value < 0 ? (g(), p("line", {
|
|
1241
1241
|
key: 2,
|
|
1242
1242
|
class: "slicer-minimap-zero-line",
|
|
1243
1243
|
x1: 0,
|
|
@@ -1246,9 +1246,9 @@ var xe = ["data-minimap"], Se = {
|
|
|
1246
1246
|
y2: Dn.value,
|
|
1247
1247
|
stroke: s.minimapFrameColor,
|
|
1248
1248
|
"stroke-width": "0.5"
|
|
1249
|
-
}, null, 8,
|
|
1250
|
-
e.$slots.slotMap ? f("", !0) : (
|
|
1251
|
-
H.value && H.value.sliced && H.value.sliced.length ? (
|
|
1249
|
+
}, null, 8, Ve)) : f("", !0),
|
|
1250
|
+
e.$slots.slotMap ? f("", !0) : (g(), p(u, { key: 3 }, [s.minimapMerged ? (g(), p("g", He, [
|
|
1251
|
+
H.value && H.value.sliced && H.value.sliced.length ? (g(), p(u, { key: 0 }, [H.value.selectionSet ? (g(), p("path", {
|
|
1252
1252
|
key: 0,
|
|
1253
1253
|
d: `M ${H.value.selectionSet}`,
|
|
1254
1254
|
stroke: `${s.minimapLineColor}`,
|
|
@@ -1256,8 +1256,8 @@ var xe = ["data-minimap"], Se = {
|
|
|
1256
1256
|
"stroke-width": "2",
|
|
1257
1257
|
"stroke-linecap": "round",
|
|
1258
1258
|
"stroke-linejoin": "round"
|
|
1259
|
-
}, null, 8,
|
|
1260
|
-
H.value && H.value.firstPlot ? (
|
|
1259
|
+
}, null, 8, Ue)) : f("", !0)], 64)) : f("", !0),
|
|
1260
|
+
H.value && H.value.firstPlot ? (g(), p("circle", {
|
|
1261
1261
|
key: 1,
|
|
1262
1262
|
cx: H.value.firstPlot.x,
|
|
1263
1263
|
cy: H.value.firstPlot.y,
|
|
@@ -1265,8 +1265,8 @@ var xe = ["data-minimap"], Se = {
|
|
|
1265
1265
|
stroke: P.value,
|
|
1266
1266
|
r: "3",
|
|
1267
1267
|
fill: s.minimapLineColor
|
|
1268
|
-
}, null, 8,
|
|
1269
|
-
H.value && H.value.lastPlot ? (
|
|
1268
|
+
}, null, 8, We)) : f("", !0),
|
|
1269
|
+
H.value && H.value.lastPlot ? (g(), p("circle", {
|
|
1270
1270
|
key: 2,
|
|
1271
1271
|
cx: H.value.lastPlot.x,
|
|
1272
1272
|
cy: H.value.lastPlot.y,
|
|
@@ -1274,18 +1274,18 @@ var xe = ["data-minimap"], Se = {
|
|
|
1274
1274
|
stroke: P.value,
|
|
1275
1275
|
r: "3",
|
|
1276
1276
|
fill: s.minimapLineColor
|
|
1277
|
-
}, null, 8,
|
|
1278
|
-
])) : (
|
|
1279
|
-
(
|
|
1277
|
+
}, null, 8, Ge)) : f("", !0)
|
|
1278
|
+
])) : (g(), p("g", Ke, [
|
|
1279
|
+
(g(!0), p(u, null, v(U.value.filter((e) => e.type === "bar" && e.isVisible), (e, t) => (g(), p("g", null, [(g(!0), p(u, null, v(e.points, (n, r) => (g(), p(u, null, [e && !isNaN(n.y) ? (g(), p("rect", {
|
|
1280
1280
|
key: 0,
|
|
1281
1281
|
x: gn(n.x, t, r),
|
|
1282
1282
|
y: n.v >= 0 ? n.y : n.y0,
|
|
1283
1283
|
width: _n(t, r),
|
|
1284
1284
|
height: n.v >= 0 ? n.y0 - n.y : n.y - n.y0,
|
|
1285
1285
|
fill: e.color,
|
|
1286
|
-
style:
|
|
1287
|
-
}, null, 12,
|
|
1288
|
-
(
|
|
1286
|
+
style: h({ opacity: +(r >= k.value && r < A.value) })
|
|
1287
|
+
}, null, 12, qe)) : f("", !0)], 64))), 256))]))), 256)),
|
|
1288
|
+
(g(!0), p(u, null, v(U.value.filter((e) => e.type === "line"), (e, t) => (g(), p("g", { key: String(e.key) }, [e && e.hasSelection && e.selectionSet && e.isVisible ? (g(), p("path", {
|
|
1289
1289
|
key: 0,
|
|
1290
1290
|
d: `M ${e.selectionSet}`,
|
|
1291
1291
|
stroke: e.temperatureColors ? `url(#temperature_grad_line_${t}_${s.uuid})` : e.color,
|
|
@@ -1294,8 +1294,8 @@ var xe = ["data-minimap"], Se = {
|
|
|
1294
1294
|
"stroke-linecap": "round",
|
|
1295
1295
|
"stroke-linejoin": "round",
|
|
1296
1296
|
"stroke-dasharray": e.dashed ? "2 4" : 0
|
|
1297
|
-
}, null, 8,
|
|
1298
|
-
(
|
|
1297
|
+
}, null, 8, Je)) : f("", !0)]))), 128)),
|
|
1298
|
+
(g(!0), p(u, null, v(U.value.filter((e) => e.type === "plot"), (e) => (g(), p("g", { key: String(e.key) }, [(g(!0), p(u, null, v(e.sliced, (t) => (g(), p("g", null, [e.isVisible && t.value !== null ? (g(), p("circle", {
|
|
1299
1299
|
key: 0,
|
|
1300
1300
|
cx: t.x,
|
|
1301
1301
|
cy: t.y,
|
|
@@ -1304,28 +1304,28 @@ var xe = ["data-minimap"], Se = {
|
|
|
1304
1304
|
stroke: P.value,
|
|
1305
1305
|
"stroke-width": "0.5",
|
|
1306
1306
|
style: { opacity: "0.6" }
|
|
1307
|
-
}, null, 8,
|
|
1307
|
+
}, null, 8, Ye)) : f("", !0)]))), 256))]))), 128))
|
|
1308
1308
|
]))], 64)),
|
|
1309
|
-
e.$slots.slotMap ?
|
|
1309
|
+
e.$slots.slotMap ? me(e.$slots, "slotMap", ue(se({ key: 4 }, {
|
|
1310
1310
|
width: Math.max(0, I.value.width),
|
|
1311
1311
|
height: Math.max(0, I.value.height),
|
|
1312
1312
|
zeroY: Dn.value,
|
|
1313
1313
|
unitW: Math.max(0, V.value)
|
|
1314
1314
|
})), void 0, !0) : f("", !0),
|
|
1315
|
-
G.value !== null && !X.value ? (
|
|
1315
|
+
G.value !== null && !X.value ? (g(), p("line", ue(se({ key: 5 }, wr.value)), null, 16)) : f("", !0),
|
|
1316
1316
|
m("rect", {
|
|
1317
1317
|
x: 0,
|
|
1318
1318
|
y: 0,
|
|
1319
1319
|
width: Math.max(0, I.value.width),
|
|
1320
1320
|
height: Math.max(0, I.value.height),
|
|
1321
1321
|
fill: "transparent",
|
|
1322
|
-
style:
|
|
1322
|
+
style: h([{ "pointer-events": "all !important" }, { cursor: s.enableSelectionDrag ? X.value ? "grabbing" : "grab" : "default" }]),
|
|
1323
1323
|
onMousedown: t[0] ||= (e) => X.value = !0,
|
|
1324
1324
|
onMouseup: t[1] ||= (e) => X.value = !1,
|
|
1325
1325
|
onMousemove: Rn,
|
|
1326
1326
|
onMouseleave: zn
|
|
1327
|
-
}, null, 44,
|
|
1328
|
-
|
|
1327
|
+
}, null, 44, Xe),
|
|
1328
|
+
w.value && s.minimapCompact ? (g(), p(u, { key: 6 }, [
|
|
1329
1329
|
m("rect", {
|
|
1330
1330
|
class: "vue-ui-zoom-compact-minimap-handle",
|
|
1331
1331
|
x: qr.value,
|
|
@@ -1336,18 +1336,18 @@ var xe = ["data-minimap"], Se = {
|
|
|
1336
1336
|
stroke: s.handleBorderColor || s.textColor,
|
|
1337
1337
|
"stroke-width": s.handleBorderWidth,
|
|
1338
1338
|
rx: 3
|
|
1339
|
-
}, null, 8,
|
|
1340
|
-
s.handleType && s.handleType !== "empty" ? (
|
|
1339
|
+
}, null, 8, Ze),
|
|
1340
|
+
s.handleType && s.handleType !== "empty" ? (g(), p("g", {
|
|
1341
1341
|
key: 0,
|
|
1342
1342
|
class: "compact-handle-icon",
|
|
1343
1343
|
transform: `translate(${qr.value}, 0)`,
|
|
1344
1344
|
style: { "pointer-events": "none" }
|
|
1345
|
-
}, [(
|
|
1345
|
+
}, [(g(), p("svg", {
|
|
1346
1346
|
width: $.value,
|
|
1347
1347
|
height: I.value.height,
|
|
1348
1348
|
viewBox: "0 0 20 20",
|
|
1349
1349
|
preserveAspectRatio: "xMidYMid meet"
|
|
1350
|
-
}, [s.handleType === "arrow" ? (
|
|
1350
|
+
}, [s.handleType === "arrow" ? (g(), p("path", {
|
|
1351
1351
|
key: 0,
|
|
1352
1352
|
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",
|
|
1353
1353
|
fill: P.value,
|
|
@@ -1355,7 +1355,7 @@ var xe = ["data-minimap"], Se = {
|
|
|
1355
1355
|
"stroke-width": .618,
|
|
1356
1356
|
"stroke-linejoin": "round",
|
|
1357
1357
|
"stroke-linecap": "round"
|
|
1358
|
-
}, null, 8,
|
|
1358
|
+
}, null, 8, et)) : s.handleType === "chevron" ? (g(), p("path", {
|
|
1359
1359
|
key: 1,
|
|
1360
1360
|
d: "M 6 7 L 4 10 L 6 13 M 14 7 L 16 10 L 14 13",
|
|
1361
1361
|
fill: "none",
|
|
@@ -1363,13 +1363,13 @@ var xe = ["data-minimap"], Se = {
|
|
|
1363
1363
|
"stroke-width": .618,
|
|
1364
1364
|
"stroke-linejoin": "round",
|
|
1365
1365
|
"stroke-linecap": "round"
|
|
1366
|
-
}, null, 8,
|
|
1366
|
+
}, null, 8, tt)) : s.handleType === "grab" ? (g(), p("path", {
|
|
1367
1367
|
key: 2,
|
|
1368
1368
|
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",
|
|
1369
1369
|
fill: s.handleIconColor || s.textColor,
|
|
1370
1370
|
stroke: "none",
|
|
1371
1371
|
opacity: "0.6"
|
|
1372
|
-
}, null, 8,
|
|
1372
|
+
}, null, 8, nt)) : f("", !0)], 8, $e))], 8, Qe)) : f("", !0),
|
|
1373
1373
|
m("rect", {
|
|
1374
1374
|
class: "vue-ui-zoom-compact-minimap-handle",
|
|
1375
1375
|
x: Jr.value,
|
|
@@ -1380,18 +1380,18 @@ var xe = ["data-minimap"], Se = {
|
|
|
1380
1380
|
stroke: s.handleBorderColor || s.textColor,
|
|
1381
1381
|
"stroke-width": s.handleBorderWidth,
|
|
1382
1382
|
rx: 3
|
|
1383
|
-
}, null, 8,
|
|
1384
|
-
s.handleType && s.handleType !== "empty" ? (
|
|
1383
|
+
}, null, 8, rt),
|
|
1384
|
+
s.handleType && s.handleType !== "empty" ? (g(), p("g", {
|
|
1385
1385
|
key: 1,
|
|
1386
1386
|
class: "compact-handle-icon",
|
|
1387
1387
|
transform: `translate(${Jr.value}, 0)`,
|
|
1388
1388
|
style: { "pointer-events": "none" }
|
|
1389
|
-
}, [(
|
|
1389
|
+
}, [(g(), p("svg", {
|
|
1390
1390
|
width: $.value,
|
|
1391
1391
|
height: I.value.height,
|
|
1392
1392
|
viewBox: "0 0 20 20",
|
|
1393
1393
|
preserveAspectRatio: "xMidYMid meet"
|
|
1394
|
-
}, [s.handleType === "arrow" ? (
|
|
1394
|
+
}, [s.handleType === "arrow" ? (g(), p("path", {
|
|
1395
1395
|
key: 0,
|
|
1396
1396
|
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",
|
|
1397
1397
|
fill: P.value,
|
|
@@ -1399,7 +1399,7 @@ var xe = ["data-minimap"], Se = {
|
|
|
1399
1399
|
"stroke-width": .618,
|
|
1400
1400
|
"stroke-linejoin": "round",
|
|
1401
1401
|
"stroke-linecap": "round"
|
|
1402
|
-
}, null, 8,
|
|
1402
|
+
}, null, 8, ot)) : s.handleType === "chevron" ? (g(), p("path", {
|
|
1403
1403
|
key: 1,
|
|
1404
1404
|
d: "M 6 7 L 4 10 L 6 13 M 14 7 L 16 10 L 14 13",
|
|
1405
1405
|
fill: "none",
|
|
@@ -1407,16 +1407,16 @@ var xe = ["data-minimap"], Se = {
|
|
|
1407
1407
|
"stroke-width": .618,
|
|
1408
1408
|
"stroke-linejoin": "round",
|
|
1409
1409
|
"stroke-linecap": "round"
|
|
1410
|
-
}, null, 8,
|
|
1410
|
+
}, null, 8, st)) : s.handleType === "grab" ? (g(), p("path", {
|
|
1411
1411
|
key: 2,
|
|
1412
1412
|
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",
|
|
1413
1413
|
fill: s.handleIconColor || s.textColor,
|
|
1414
1414
|
stroke: "none",
|
|
1415
1415
|
opacity: "0.6"
|
|
1416
|
-
}, null, 8,
|
|
1416
|
+
}, null, 8, ct)) : f("", !0)], 8, at))], 8, it)) : f("", !0)
|
|
1417
1417
|
], 64)) : f("", !0),
|
|
1418
|
-
e.$slots.slotMap ? f("", !0) : (
|
|
1419
|
-
H.value && H.value.firstPlot && H.value.firstPlot.value !== null ? (
|
|
1418
|
+
e.$slots.slotMap ? f("", !0) : (g(), p(u, { key: 7 }, [s.minimapMerged ? (g(), p("g", lt, [
|
|
1419
|
+
H.value && H.value.firstPlot && H.value.firstPlot.value !== null ? (g(), p("circle", {
|
|
1420
1420
|
key: 0,
|
|
1421
1421
|
cx: H.value.firstPlot.x,
|
|
1422
1422
|
cy: H.value.firstPlot.y,
|
|
@@ -1424,15 +1424,15 @@ var xe = ["data-minimap"], Se = {
|
|
|
1424
1424
|
stroke: P.value,
|
|
1425
1425
|
r: "4",
|
|
1426
1426
|
fill: s.minimapLineColor
|
|
1427
|
-
}, null, 8,
|
|
1428
|
-
H.value && H.value.firstPlot && H.value.firstPlot.value !== null ? (
|
|
1427
|
+
}, null, 8, ut)) : f("", !0),
|
|
1428
|
+
H.value && H.value.firstPlot && H.value.firstPlot.value !== null ? (g(), p("circle", {
|
|
1429
1429
|
key: 1,
|
|
1430
1430
|
cx: H.value.firstPlot.x,
|
|
1431
1431
|
cy: H.value.firstPlot.y,
|
|
1432
1432
|
r: 2,
|
|
1433
1433
|
fill: P.value
|
|
1434
|
-
}, null, 8,
|
|
1435
|
-
H.value && H.value.lastPlot && H.value.lastPlot.value !== null ? (
|
|
1434
|
+
}, null, 8, dt)) : f("", !0),
|
|
1435
|
+
H.value && H.value.lastPlot && H.value.lastPlot.value !== null ? (g(), p("circle", {
|
|
1436
1436
|
key: 2,
|
|
1437
1437
|
cx: H.value.lastPlot.x,
|
|
1438
1438
|
cy: H.value.lastPlot.y,
|
|
@@ -1440,16 +1440,16 @@ var xe = ["data-minimap"], Se = {
|
|
|
1440
1440
|
stroke: P.value,
|
|
1441
1441
|
r: "4",
|
|
1442
1442
|
fill: s.minimapLineColor
|
|
1443
|
-
}, null, 8,
|
|
1444
|
-
H.value && H.value.lastPlot && H.value.lastPlot.value !== null ? (
|
|
1443
|
+
}, null, 8, ft)) : f("", !0),
|
|
1444
|
+
H.value && H.value.lastPlot && H.value.lastPlot.value !== null ? (g(), p("circle", {
|
|
1445
1445
|
key: 3,
|
|
1446
1446
|
cx: H.value.lastPlot.x,
|
|
1447
1447
|
cy: H.value.lastPlot.y,
|
|
1448
1448
|
r: "2",
|
|
1449
1449
|
fill: P.value
|
|
1450
|
-
}, null, 8,
|
|
1451
|
-
])) : (
|
|
1452
|
-
e && e.hasSelection && e.selectionSet && e.isVisible ? (
|
|
1450
|
+
}, null, 8, pt)) : f("", !0)
|
|
1451
|
+
])) : (g(), p("g", mt, [(g(!0), p(u, null, v(U.value.filter((e) => e.type === "line"), (e, t) => (g(), p("g", { key: String(e.key) }, [
|
|
1452
|
+
e && e.hasSelection && e.selectionSet && e.isVisible ? (g(), p("path", {
|
|
1453
1453
|
key: 0,
|
|
1454
1454
|
d: `M ${e.selectionSet}`,
|
|
1455
1455
|
stroke: e.temperatureColors ? `url(#temperature_grad_line_${t}_${s.uuid})` : e.color,
|
|
@@ -1458,8 +1458,8 @@ var xe = ["data-minimap"], Se = {
|
|
|
1458
1458
|
"stroke-linecap": "round",
|
|
1459
1459
|
"stroke-linejoin": "round",
|
|
1460
1460
|
"stroke-dasharray": e.dashed ? "2 4" : 0
|
|
1461
|
-
}, null, 8,
|
|
1462
|
-
e.isVisible && s.cutNullValues ? (
|
|
1461
|
+
}, null, 8, ht)) : f("", !0),
|
|
1462
|
+
e.isVisible && s.cutNullValues ? (g(!0), p(u, { key: 1 }, v(e.selectionMarkers, (t) => (g(), p("circle", {
|
|
1463
1463
|
key: `sel-dot-${e.key}-${t.i}`,
|
|
1464
1464
|
cx: t.x,
|
|
1465
1465
|
cy: t.y,
|
|
@@ -1467,8 +1467,8 @@ var xe = ["data-minimap"], Se = {
|
|
|
1467
1467
|
fill: e.color,
|
|
1468
1468
|
stroke: P.value,
|
|
1469
1469
|
"stroke-width": "0.5"
|
|
1470
|
-
}, null, 8,
|
|
1471
|
-
e && e.firstPlot && e.isVisible && e.firstPlot.value !== null ? (
|
|
1470
|
+
}, null, 8, gt))), 128)) : f("", !0),
|
|
1471
|
+
e && e.firstPlot && e.isVisible && e.firstPlot.value !== null ? (g(), p("circle", {
|
|
1472
1472
|
key: 2,
|
|
1473
1473
|
cx: e.firstPlot.x,
|
|
1474
1474
|
cy: e.firstPlot.y,
|
|
@@ -1476,15 +1476,15 @@ var xe = ["data-minimap"], Se = {
|
|
|
1476
1476
|
stroke: P.value,
|
|
1477
1477
|
r: "4",
|
|
1478
1478
|
fill: e.color
|
|
1479
|
-
}, null, 8,
|
|
1480
|
-
e && e.firstPlot && e.isVisible && e.firstPlot.value !== null ? (
|
|
1479
|
+
}, null, 8, _t)) : f("", !0),
|
|
1480
|
+
e && e.firstPlot && e.isVisible && e.firstPlot.value !== null ? (g(), p("circle", {
|
|
1481
1481
|
key: 3,
|
|
1482
1482
|
cx: e.firstPlot.x,
|
|
1483
1483
|
cy: e.firstPlot.y,
|
|
1484
1484
|
r: "2",
|
|
1485
1485
|
fill: P.value
|
|
1486
|
-
}, null, 8,
|
|
1487
|
-
e && e.lastPlot && e.isVisible && e.lastPlot.value !== null ? (
|
|
1486
|
+
}, null, 8, vt)) : f("", !0),
|
|
1487
|
+
e && e.lastPlot && e.isVisible && e.lastPlot.value !== null ? (g(), p("circle", {
|
|
1488
1488
|
key: 4,
|
|
1489
1489
|
cx: e.lastPlot.x,
|
|
1490
1490
|
cy: e.lastPlot.y,
|
|
@@ -1492,15 +1492,15 @@ var xe = ["data-minimap"], Se = {
|
|
|
1492
1492
|
stroke: P.value,
|
|
1493
1493
|
r: "4",
|
|
1494
1494
|
fill: e.color
|
|
1495
|
-
}, null, 8,
|
|
1496
|
-
e && e.lastPlot && e.isVisible && e.lastPlot.value !== null ? (
|
|
1495
|
+
}, null, 8, yt)) : f("", !0),
|
|
1496
|
+
e && e.lastPlot && e.isVisible && e.lastPlot.value !== null ? (g(), p("circle", {
|
|
1497
1497
|
key: 5,
|
|
1498
1498
|
cx: e.lastPlot.x,
|
|
1499
1499
|
cy: e.lastPlot.y,
|
|
1500
1500
|
r: "2",
|
|
1501
1501
|
fill: P.value
|
|
1502
|
-
}, null, 8,
|
|
1503
|
-
]))), 128)), (
|
|
1502
|
+
}, null, 8, bt)) : f("", !0)
|
|
1503
|
+
]))), 128)), (g(!0), p(u, null, v(U.value.filter((e) => e.type === "plot"), (e) => (g(), p("g", { key: String(e.key) }, [(g(!0), p(u, null, v(e.points, (t) => (g(), p("g", null, [e.isVisible && s.cutNullValues && t.value !== null ? (g(), p("circle", {
|
|
1504
1504
|
key: `sel-plot-${e.key}-${t.i}`,
|
|
1505
1505
|
cx: t.x,
|
|
1506
1506
|
cy: t.y,
|
|
@@ -1508,87 +1508,87 @@ var xe = ["data-minimap"], Se = {
|
|
|
1508
1508
|
fill: e.color,
|
|
1509
1509
|
stroke: P.value,
|
|
1510
1510
|
"stroke-width": "0.5"
|
|
1511
|
-
}, null, 8,
|
|
1512
|
-
], 8,
|
|
1511
|
+
}, null, 8, xt)) : f("", !0)]))), 256))]))), 128))]))], 64))
|
|
1512
|
+
], 8, Ee))])) : f("", !0),
|
|
1513
1513
|
m("div", {
|
|
1514
1514
|
class: "slider-track",
|
|
1515
|
-
style:
|
|
1515
|
+
style: h({ visibility: w.value && s.minimapCompact ? "hidden" : "visible" })
|
|
1516
1516
|
}, null, 4),
|
|
1517
1517
|
m("div", {
|
|
1518
|
-
class:
|
|
1518
|
+
class: le({
|
|
1519
1519
|
"range-highlight": !0,
|
|
1520
1520
|
move: s.enableSelectionDrag
|
|
1521
1521
|
}),
|
|
1522
1522
|
onMousedown: t[2] ||= (e) => X.value = !0,
|
|
1523
1523
|
onMouseup: t[3] ||= (e) => X.value = !1,
|
|
1524
|
-
style:
|
|
1524
|
+
style: h({
|
|
1525
1525
|
...N.value,
|
|
1526
1526
|
cursor: X.value ? "grabbing" : "grab",
|
|
1527
|
-
visibility:
|
|
1527
|
+
visibility: w.value && s.minimapCompact ? "hidden" : "visible"
|
|
1528
1528
|
})
|
|
1529
1529
|
}, null, 38),
|
|
1530
|
-
s.enableRangeHandles ?
|
|
1530
|
+
s.enableRangeHandles ? ye((g(), p("input", {
|
|
1531
1531
|
key: 1,
|
|
1532
1532
|
"aria-label": "range-handle-left",
|
|
1533
1533
|
ref_key: "rangeStart",
|
|
1534
1534
|
ref: Bn,
|
|
1535
1535
|
type: "range",
|
|
1536
1536
|
step: s.precision > 0 ? 1 / 10 ** s.precision : 1,
|
|
1537
|
-
class:
|
|
1537
|
+
class: le({
|
|
1538
1538
|
"range-left": !0,
|
|
1539
1539
|
"range-handle": !0,
|
|
1540
|
-
"range-minimap":
|
|
1541
|
-
"range-invisible":
|
|
1540
|
+
"range-minimap": w.value && s.verticalHandles,
|
|
1541
|
+
"range-invisible": w.value && s.minimapCompact
|
|
1542
1542
|
}),
|
|
1543
1543
|
min: s.min,
|
|
1544
|
-
max: s.minimapCompact &&
|
|
1545
|
-
tabindex:
|
|
1544
|
+
max: s.minimapCompact && w.value && !s.useValueRange ? Math.max(0, R.value - 1) : s.max,
|
|
1545
|
+
tabindex: w.value ? -1 : 0,
|
|
1546
1546
|
"onUpdate:modelValue": t[4] ||= (e) => jn.value = e,
|
|
1547
|
-
onFocus: t[5] ||= (e) =>
|
|
1547
|
+
onFocus: t[5] ||= (e) => w.value && e.target.blur(),
|
|
1548
1548
|
onInput: t[6] ||= (e) => jn.value = e.target.valueAsNumber,
|
|
1549
1549
|
onChange: j,
|
|
1550
|
-
onKeyup:
|
|
1550
|
+
onKeyup: be(j, ["enter"]),
|
|
1551
1551
|
onBlur: j,
|
|
1552
1552
|
onMouseenter: t[7] ||= (e) => xr("start"),
|
|
1553
1553
|
onPointerup: j
|
|
1554
|
-
}, null, 42,
|
|
1555
|
-
|
|
1554
|
+
}, null, 42, St)), [[
|
|
1555
|
+
ve,
|
|
1556
1556
|
jn.value,
|
|
1557
1557
|
void 0,
|
|
1558
1558
|
{ number: !0 }
|
|
1559
1559
|
]]) : f("", !0),
|
|
1560
|
-
s.enableRangeHandles ?
|
|
1560
|
+
s.enableRangeHandles ? ye((g(), p("input", {
|
|
1561
1561
|
key: 2,
|
|
1562
1562
|
"aria-label": "range-handle-right",
|
|
1563
1563
|
ref_key: "rangeEnd",
|
|
1564
1564
|
ref: Vn,
|
|
1565
1565
|
type: "range",
|
|
1566
1566
|
step: s.precision > 0 ? 1 / 10 ** s.precision : 1,
|
|
1567
|
-
class:
|
|
1567
|
+
class: le({
|
|
1568
1568
|
"range-right": !0,
|
|
1569
1569
|
"range-handle": !0,
|
|
1570
|
-
"range-minimap":
|
|
1571
|
-
"range-invisible":
|
|
1570
|
+
"range-minimap": w.value && s.verticalHandles,
|
|
1571
|
+
"range-invisible": w.value && s.minimapCompact
|
|
1572
1572
|
}),
|
|
1573
1573
|
min: s.min,
|
|
1574
|
-
max: s.minimapCompact &&
|
|
1575
|
-
tabindex:
|
|
1576
|
-
onFocus: t[8] ||= (e) =>
|
|
1574
|
+
max: s.minimapCompact && w.value && !s.useValueRange ? Math.max(0, R.value - 1) : s.max,
|
|
1575
|
+
tabindex: w.value ? -1 : 0,
|
|
1576
|
+
onFocus: t[8] ||= (e) => w.value && e.target.blur(),
|
|
1577
1577
|
"onUpdate:modelValue": t[9] ||= (e) => Mn.value = e,
|
|
1578
1578
|
onInput: t[10] ||= (e) => Mn.value = e.target.valueAsNumber,
|
|
1579
1579
|
onChange: j,
|
|
1580
|
-
onKeyup:
|
|
1580
|
+
onKeyup: be(j, ["enter"]),
|
|
1581
1581
|
onBlur: j,
|
|
1582
1582
|
onMouseenter: t[11] ||= (e) => xr("end"),
|
|
1583
1583
|
onPointerup: j
|
|
1584
|
-
}, null, 42,
|
|
1585
|
-
|
|
1584
|
+
}, null, 42, Ct)), [[
|
|
1585
|
+
ve,
|
|
1586
1586
|
Mn.value,
|
|
1587
1587
|
void 0,
|
|
1588
1588
|
{ number: !0 }
|
|
1589
1589
|
]]) : f("", !0),
|
|
1590
|
-
|
|
1591
|
-
xmlns:
|
|
1590
|
+
w.value && s.minimapCompact ? (g(), p("div", wt, [(g(), p("svg", {
|
|
1591
|
+
xmlns: ge(ee),
|
|
1592
1592
|
viewBox: `0 0 ${Math.max(0, I.value.width)} ${Math.max(0, I.value.height + 1)}`
|
|
1593
1593
|
}, [m("rect", se({
|
|
1594
1594
|
class: "vue-ui-zoom-compact-minimap-handle",
|
|
@@ -1600,9 +1600,9 @@ var xe = ["data-minimap"], Se = {
|
|
|
1600
1600
|
stroke: "none"
|
|
1601
1601
|
}, Lr.value, {
|
|
1602
1602
|
onKeydown: t[12] ||= (e) => Ir("start", e),
|
|
1603
|
-
onMousedown: t[13] ||=
|
|
1604
|
-
onClick: t[14] ||=
|
|
1605
|
-
}), null, 16,
|
|
1603
|
+
onMousedown: t[13] ||= xe((e) => Wr("start", e), ["stop", "prevent"]),
|
|
1604
|
+
onClick: t[14] ||= xe(() => {}, ["stop", "prevent"])
|
|
1605
|
+
}), null, 16, Et), m("rect", se({
|
|
1606
1606
|
class: "vue-ui-zoom-compact-minimap-handle",
|
|
1607
1607
|
x: Jr.value,
|
|
1608
1608
|
y: 0,
|
|
@@ -1613,71 +1613,71 @@ var xe = ["data-minimap"], Se = {
|
|
|
1613
1613
|
rx: 3
|
|
1614
1614
|
}, Rr.value, {
|
|
1615
1615
|
onKeydown: t[15] ||= (e) => Ir("end", e),
|
|
1616
|
-
onMousedown: t[16] ||=
|
|
1617
|
-
onClick: t[17] ||=
|
|
1618
|
-
}), null, 16,
|
|
1619
|
-
Q.value.left ? (
|
|
1616
|
+
onMousedown: t[16] ||= xe((e) => Wr("end", e), ["stop", "prevent"]),
|
|
1617
|
+
onClick: t[17] ||= xe(() => {}, ["stop", "prevent"])
|
|
1618
|
+
}), null, 16, Dt)], 8, Tt))])) : f("", !0),
|
|
1619
|
+
Q.value.left ? (g(), p("div", {
|
|
1620
1620
|
key: 4,
|
|
1621
1621
|
ref_key: "tooltipLeft",
|
|
1622
1622
|
ref: mr,
|
|
1623
|
-
class:
|
|
1623
|
+
class: le({
|
|
1624
1624
|
"range-tooltip": !0,
|
|
1625
1625
|
"range-tooltip-visible": Z.value,
|
|
1626
1626
|
"range-tooltip-arrow": N.value.arrowLeft && !s.verticalHandles,
|
|
1627
1627
|
"range-tooltip-arrow-left": !N.value.arrowLeft && !s.verticalHandles
|
|
1628
1628
|
}),
|
|
1629
|
-
style:
|
|
1629
|
+
style: h({
|
|
1630
1630
|
left: N.value.tooltipLeft,
|
|
1631
|
-
color:
|
|
1631
|
+
color: ge(o)(s.selectColor),
|
|
1632
1632
|
backgroundColor: s.selectColor,
|
|
1633
1633
|
border: `1px solid ${P.value}`,
|
|
1634
1634
|
zIndex: `${br.value + 4}`,
|
|
1635
1635
|
visibility: Sr.value || Q.value.left === Q.value.right ? "hidden" : "visible",
|
|
1636
|
-
top:
|
|
1636
|
+
top: w.value && s.minimapCompact ? "calc(-100% - 12px)" : "-100%"
|
|
1637
1637
|
})
|
|
1638
|
-
},
|
|
1639
|
-
(Sr.value || Q.value.left === Q.value.right) && (Q.value.left || Q.value.right) ? (
|
|
1638
|
+
}, he(Q.value.left), 7)) : f("", !0),
|
|
1639
|
+
(Sr.value || Q.value.left === Q.value.right) && (Q.value.left || Q.value.right) ? (g(), p("div", {
|
|
1640
1640
|
key: 5,
|
|
1641
1641
|
ref: "tooltipMerge",
|
|
1642
|
-
class:
|
|
1642
|
+
class: le({
|
|
1643
1643
|
"range-tooltip": !0,
|
|
1644
1644
|
"range-tooltip-visible": Z.value,
|
|
1645
1645
|
"range-tooltip-arrow": !0,
|
|
1646
1646
|
"range-tooltip-arrow-left": !N.value.arrowLeft && !s.verticalHandles,
|
|
1647
1647
|
"range-tooltip-arrow-right": !N.value.arrowRight && !s.verticalHandles
|
|
1648
1648
|
}),
|
|
1649
|
-
style:
|
|
1649
|
+
style: h({
|
|
1650
1650
|
left: N.value.tooltipCenter,
|
|
1651
1651
|
width: Cr.value.width + "px",
|
|
1652
|
-
color:
|
|
1652
|
+
color: ge(o)(s.selectColor),
|
|
1653
1653
|
backgroundColor: s.selectColor,
|
|
1654
1654
|
border: `1px solid ${P.value}`,
|
|
1655
1655
|
zIndex: "4",
|
|
1656
|
-
top:
|
|
1656
|
+
top: w.value && s.minimapCompact ? "calc(-100% - 12px)" : "-100%"
|
|
1657
1657
|
})
|
|
1658
|
-
},
|
|
1659
|
-
Q.value.right ? (
|
|
1658
|
+
}, he(Q.value.left === Q.value.right ? Q.value.left : `${Q.value.left} - ${Q.value.right}`), 7)) : f("", !0),
|
|
1659
|
+
Q.value.right ? (g(), p("div", {
|
|
1660
1660
|
key: 6,
|
|
1661
1661
|
ref_key: "tooltipRight",
|
|
1662
1662
|
ref: hr,
|
|
1663
|
-
class:
|
|
1663
|
+
class: le({
|
|
1664
1664
|
"range-tooltip": !0,
|
|
1665
1665
|
"range-tooltip-visible": Z.value,
|
|
1666
1666
|
"range-tooltip-arrow": N.value.arrowRight && !s.verticalHandles,
|
|
1667
1667
|
"range-tooltip-arrow-right": !N.value.arrowRight && !s.verticalHandles
|
|
1668
1668
|
}),
|
|
1669
|
-
style:
|
|
1669
|
+
style: h({
|
|
1670
1670
|
left: N.value.tooltipRight,
|
|
1671
|
-
color:
|
|
1671
|
+
color: ge(o)(s.selectColor),
|
|
1672
1672
|
backgroundColor: s.selectColor,
|
|
1673
1673
|
border: `1px solid ${P.value}`,
|
|
1674
1674
|
zIndex: "4",
|
|
1675
1675
|
visibility: Sr.value || Q.value.left === Q.value.right ? "hidden" : "visible",
|
|
1676
|
-
top:
|
|
1676
|
+
top: w.value && s.minimapCompact ? "calc(-100% - 12px)" : "-100%"
|
|
1677
1677
|
})
|
|
1678
|
-
},
|
|
1679
|
-
], 36)], 44,
|
|
1678
|
+
}, he(Q.value.right), 7)) : f("", !0)
|
|
1679
|
+
], 36)], 44, Se));
|
|
1680
1680
|
}
|
|
1681
1681
|
}, [["__scopeId", "data-v-7938d1aa"]]);
|
|
1682
1682
|
//#endregion
|
|
1683
|
-
export {
|
|
1683
|
+
export { kt as t };
|