vue-data-ui 3.22.9 → 3.22.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/dist/{Arrow-DdymhUfY.js → Arrow-DKx74WtM.js} +1 -1
- package/dist/{BaseDraggableDialog-Av7Uxq5V.js → BaseDraggableDialog-3n8udWmh.js} +2 -2
- package/dist/{BaseIcon-UdRAvP2h.js → BaseIcon-CP5RWnqt.js} +1 -1
- package/dist/{BaseLegendToggle-DWtet-Hh.js → BaseLegendToggle-DsWphmIb.js} +1 -1
- package/dist/{BaseZoomControls-BY2KLqs6.js → BaseZoomControls-C9_ygNN4.js} +2 -2
- package/dist/{ColorPicker-DR_ummtM.js → ColorPicker-3N_HVgXs.js} +2 -2
- package/dist/{DataTable-BxpTMgfK.js → DataTable-DzPEVvSo.js} +2 -2
- package/dist/{Legend-ROt6ugzW.js → Legend-C0xAnJdO.js} +2 -2
- package/dist/{NonSvgPenAndPaper-B6EG_Sga.js → NonSvgPenAndPaper-B_mE5UbR.js} +3 -3
- package/dist/{PackageVersion-D__dRVRA.js → PackageVersion-1MNr72Bz.js} +1 -1
- package/dist/{PenAndPaper-DsXi7GJ-.js → PenAndPaper-CSMVXpg2.js} +3 -3
- package/dist/{Shape-UpH0a4Ur.js → Shape-BfnXr1nJ.js} +3 -3
- package/dist/Slicer-C6qNUmZ4.js +1149 -0
- package/dist/{SlicerPreview-CTz41lOu.js → SlicerPreview-BIdvqU32.js} +554 -553
- package/dist/{SparkTooltip-BTLN-Kex.js → SparkTooltip-uoUiL_P8.js} +1 -1
- package/dist/{Title-CcNiYzEo.js → Title-BuPs74IB.js} +1 -1
- package/dist/{Tooltip-CxOrWlFy.js → Tooltip-CA1rtSyl.js} +1 -1
- package/dist/{UserOptions-trvJ26nz.js → UserOptions-B69xBEVP.js} +6 -5
- 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-BbwhsRIr.js → dom-to-png-BdAFKZQg.js} +1 -1
- package/dist/exposedLib-Ciw6TGtP.js +25 -0
- package/dist/{geoProjections-BbN7z57k.js → geoProjections-BCP_PoiB.js} +94 -94
- package/dist/{img-DnP3eXuv.js → img-Bikk1dGb.js} +1 -1
- package/dist/{labelUtils-DBEh078l.js → labelUtils-BUhssos9.js} +1 -1
- package/dist/{lib-JqW18y5I.js → lib-CFm_J26b.js} +121 -110
- package/dist/{package-ByOT60IK.js → package-Bf-Nk9qU.js} +1 -1
- package/dist/{pdf-hj3gzrE7.js → pdf-zmz3l2uy.js} +1 -1
- package/dist/{render-common-D18VrP0h.js → render-common-DEb-WjM1.js} +10 -10
- 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 +40 -0
- package/dist/types/vue-data-ui.d.ts +1 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-BGnDfZdg.js → useAutoSizeLabelsInsideViewbox-C9RNjsGv.js} +4 -4
- package/dist/{useConfig-DYM3f6EI.js → useConfig-C0V0eG7L.js} +1 -0
- package/dist/{useFitSvgText-CT3nmlaS.js → useFitSvgText-CXTzBplU.js} +3 -1
- package/dist/{useNestedProp-DIuuzG1r.js → useNestedProp-BY6DNN3i.js} +2 -2
- package/dist/{useObjectBindings-CD31syQb.js → useObjectBindings-Djwpii4d.js} +1 -1
- package/dist/{usePrinter-CqqHmnBI.js → usePrinter-BH-xle1O.js} +2 -2
- package/dist/{canvas-lib-BOP_HS11.js → useResponsive-ZtArZtUf.js} +19 -1
- package/dist/{useSvgExport-SVIsDot8.js → useSvgExport-Ba9qBr9M.js} +6 -5
- package/dist/{useTableResponsive-B24Uwt2E.js → useTableResponsive-BAqJPR68.js} +2 -1
- package/dist/{useTimeLabels-BmBRv27Y.js → useTimeLabels-B9CEuiLZ.js} +1 -1
- package/dist/utils.js +26 -24
- package/dist/{vue-data-ui-ub3fCh6P.js → vue-data-ui-Bme9usjG.js} +68 -68
- package/dist/vue-data-ui.js +77 -77
- package/dist/vue-ui-3d-bar-Ds1BPxqb.js +1824 -0
- package/dist/{vue-ui-accordion-CjAGqEJg.js → vue-ui-accordion-nNxnZTg9.js} +4 -4
- package/dist/vue-ui-age-pyramid-CNCrH8Kd.js +1246 -0
- package/dist/{vue-ui-annotator-BIucnT0L.js → vue-ui-annotator-BfZ8RTzJ.js} +17 -11
- package/dist/vue-ui-bullet-DscMmM2b.js +709 -0
- package/dist/vue-ui-bump-BvwU1_-N.js +1248 -0
- package/dist/{vue-ui-candlestick-DULUMU-Q.js → vue-ui-candlestick-Cp6r8ktf.js} +288 -288
- package/dist/vue-ui-carousel-table-CbtccW1g.js +455 -0
- package/dist/vue-ui-chestnut-C3Hmf1-m.js +2042 -0
- package/dist/{vue-ui-chord-DL1M7cgL.js → vue-ui-chord-DJk9j45J.js} +45 -46
- package/dist/{vue-ui-circle-pack-C1Pgq6si.js → vue-ui-circle-pack-CJe2wETT.js} +50 -51
- package/dist/{vue-ui-cursor-d2uLAKTQ.js → vue-ui-cursor-BAi9omna.js} +6 -6
- package/dist/{vue-ui-dag-CVh9FpZr.js → vue-ui-dag-D7BEbS71.js} +41 -39
- package/dist/{vue-ui-dashboard-BH0N3ebj.js → vue-ui-dashboard-BYFQjwgC.js} +70 -70
- package/dist/{vue-ui-digits-R6wi3J-Y.js → vue-ui-digits-Bx8nZl9d.js} +4 -4
- package/dist/{vue-ui-donut-BWDeVzLc.js → vue-ui-donut-BUX4ybT6.js} +208 -208
- package/dist/vue-ui-donut-evolution-MWDjQPQ5.js +1521 -0
- package/dist/vue-ui-donut-jXRV-3ON.js +2418 -0
- package/dist/vue-ui-dumbbell-CnwsHaIy.js +1564 -0
- package/dist/{vue-ui-flow-CNczKwTh.js → vue-ui-flow-CKXGk4Lm.js} +74 -75
- package/dist/vue-ui-funnel-CJwD7s7e.js +781 -0
- package/dist/{vue-ui-galaxy-v3cTbUiM.js → vue-ui-galaxy-DL85_SWR.js} +275 -276
- package/dist/{vue-ui-gauge-DxvMjfoc.js → vue-ui-gauge-Dkx-aUQr.js} +177 -178
- package/dist/{vue-ui-geo-BgmLkZZ2.js → vue-ui-geo-fkLF1rHB.js} +28 -27
- package/dist/{vue-ui-gizmo-n1kmcGeE.js → vue-ui-gizmo-S8w_p769.js} +9 -9
- package/dist/{vue-ui-heatmap-dSTh8ah_.js → vue-ui-heatmap-Dopkbn2N.js} +330 -331
- package/dist/{vue-ui-history-plot-N8BqMFVU.js → vue-ui-history-plot-DDYpEapS.js} +413 -414
- package/dist/vue-ui-horizontal-bar-Bi8WvKeD.js +1689 -0
- package/dist/{vue-ui-kpi-BKrUk9o8.js → vue-ui-kpi-BeJ-ajaS.js} +4 -4
- package/dist/{vue-ui-mini-loader-D5we7V_W.js → vue-ui-mini-loader-D9pprk2c.js} +3 -3
- package/dist/vue-ui-molecule-CBTgGZ-s.js +932 -0
- package/dist/{vue-ui-mood-radar-CpBRHQo_.js → vue-ui-mood-radar-CF83PcCx.js} +260 -261
- package/dist/vue-ui-nested-donuts-D5dO-Uyg.js +1492 -0
- package/dist/vue-ui-onion-BxjaQKo8.js +1199 -0
- package/dist/vue-ui-parallel-coordinate-plot-Dz6ozRAM.js +1415 -0
- package/dist/vue-ui-quadrant-Bnxpa6m5.js +1985 -0
- package/dist/{vue-ui-quick-chart-BO98uEPl.js → vue-ui-quick-chart-CAE0-NYj.js} +112 -113
- package/dist/vue-ui-radar-O4BhBOyp.js +1286 -0
- package/dist/{vue-ui-rating-CN-ZiAES.js → vue-ui-rating-DbxK-ftN.js} +101 -101
- package/dist/vue-ui-relation-circle-BZ0Xf-Nc.js +923 -0
- package/dist/vue-ui-ridgeline-DHVTPiM6.js +1627 -0
- package/dist/vue-ui-rings-DAfY1V--.js +1251 -0
- package/dist/vue-ui-scatter-Cb63SWJT.js +2421 -0
- package/dist/{vue-ui-skeleton-DC2bZ0nk.js → vue-ui-skeleton-DoIqQtIV.js} +100 -100
- package/dist/{vue-ui-smiley-Dyyu1je3.js → vue-ui-smiley-Da2jgkb7.js} +18 -18
- package/dist/vue-ui-spark-trend-Db-FsXch.js +442 -0
- package/dist/{vue-ui-sparkbar-DhIo1qsW.js → vue-ui-sparkbar-Ce55FP_3.js} +67 -67
- package/dist/{vue-ui-sparkgauge-D0Fo3Hts.js → vue-ui-sparkgauge-hB59dXm7.js} +65 -65
- package/dist/vue-ui-sparkhistogram-DjnaStBw.js +575 -0
- package/dist/{vue-ui-sparkline-ApivEMBP.js → vue-ui-sparkline-D1dyhLvG.js} +54 -55
- package/dist/vue-ui-sparkstackbar-BhOBFjts.js +674 -0
- package/dist/{vue-ui-stackbar-Ds4hXATH.js → vue-ui-stackbar-BZKw8WYn.js} +123 -122
- package/dist/vue-ui-stackline-DLFNVbAz.js +2425 -0
- package/dist/{vue-ui-strip-plot-C3ZHf4bD.js → vue-ui-strip-plot-DyN2WELD.js} +68 -69
- package/dist/vue-ui-table-DL_R4ppI.js +1339 -0
- package/dist/{vue-ui-table-heatmap-CNXNXXBU.js → vue-ui-table-heatmap-C9gF__Np.js} +16 -16
- package/dist/{vue-ui-table-sparkline-B9JJ4pFF.js → vue-ui-table-sparkline-CT-0w9-a.js} +26 -24
- package/dist/vue-ui-thermometer-MP0dliC3.js +769 -0
- package/dist/{vue-ui-timer-5NAWw5BN.js → vue-ui-timer-B5S-6Da4.js} +7 -8
- package/dist/{vue-ui-tiremarks-Caz_g1c5.js → vue-ui-tiremarks-DcJiLDsm.js} +20 -21
- package/dist/{vue-ui-treemap-F9upPyOI.js → vue-ui-treemap-CjldCPnX.js} +615 -603
- package/dist/vue-ui-waffle-dZM-9z1J.js +1367 -0
- package/dist/{vue-ui-wheel-DD6Q39BA.js → vue-ui-wheel-or7a6-Ce.js} +47 -48
- package/dist/{vue-ui-word-cloud-BZLT5svo.js → vue-ui-word-cloud-8BwQ0cuB.js} +40 -37
- package/dist/{vue-ui-world-DbEJN5NA.js → vue-ui-world-Q0KZb7A_.js} +210 -210
- package/dist/{vue-ui-xy-Cn9Q8YPr.js → vue-ui-xy-4uzwZJcj.js} +141 -141
- package/dist/{vue-ui-xy-BYMAITk_.js → vue-ui-xy-DZIs53tH.js} +791 -783
- package/dist/vue-ui-xy-canvas-Dz9aii7f.js +1790 -0
- package/package.json +2 -2
- package/dist/Slicer-CW_XPIKL.js +0 -1150
- package/dist/exposedLib-VXFp3Z2c.js +0 -19
- package/dist/useResponsive-BfnK0KxU.js +0 -19
- package/dist/vue-ui-3d-bar-taPI41_I.js +0 -1825
- package/dist/vue-ui-age-pyramid-jvQZbF8E.js +0 -1247
- package/dist/vue-ui-bullet-CIATzlsk.js +0 -710
- package/dist/vue-ui-bump-D8MxltQE.js +0 -1249
- package/dist/vue-ui-carousel-table-BSmdexG7.js +0 -455
- package/dist/vue-ui-chestnut-BIh1nQ7q.js +0 -2042
- package/dist/vue-ui-donut-BoZdciGh.js +0 -2419
- package/dist/vue-ui-donut-evolution-CpC9EMro.js +0 -1522
- package/dist/vue-ui-dumbbell-DGA5Bfnl.js +0 -1564
- package/dist/vue-ui-funnel-CaD2tZCT.js +0 -782
- package/dist/vue-ui-horizontal-bar-CwiQxYzv.js +0 -1689
- package/dist/vue-ui-molecule--kK1JfnP.js +0 -931
- package/dist/vue-ui-nested-donuts-8Ehwcuns.js +0 -1493
- package/dist/vue-ui-onion-Cf6JiYTH.js +0 -1200
- package/dist/vue-ui-parallel-coordinate-plot-Blnqp1DB.js +0 -1416
- package/dist/vue-ui-quadrant-CxU0jiOm.js +0 -1984
- package/dist/vue-ui-radar-eH2Qih4_.js +0 -1287
- package/dist/vue-ui-relation-circle-BIcP-aAt.js +0 -924
- package/dist/vue-ui-ridgeline-ChXHzEJw.js +0 -1628
- package/dist/vue-ui-rings-J990vNbX.js +0 -1252
- package/dist/vue-ui-scatter-BeJB0EKg.js +0 -2422
- package/dist/vue-ui-spark-trend-CpDX85H3.js +0 -443
- package/dist/vue-ui-sparkhistogram-CUjFiuAh.js +0 -576
- package/dist/vue-ui-sparkstackbar-DsKQJx_n.js +0 -674
- package/dist/vue-ui-stackline-DJbcVvmN.js +0 -2425
- package/dist/vue-ui-table-uudidrYt.js +0 -1338
- package/dist/vue-ui-thermometer-Bvw3oQb3.js +0 -770
- package/dist/vue-ui-waffle-Bk9AsrPp.js +0 -1368
- package/dist/vue-ui-xy-canvas-Dcm2ftwm.js +0 -1790
|
@@ -1,70 +1,69 @@
|
|
|
1
|
-
import { B as e,
|
|
1
|
+
import { B as e, F as t, Jt as n, K as r, N as i, St as a, V as o, bt as ee, r as te, t as ne, z as re } from "./lib-CFm_J26b.js";
|
|
2
2
|
import { t as s } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
3
|
-
import {
|
|
4
|
-
import { t as
|
|
5
|
-
import { t as oe } from "./BaseIcon-UdRAvP2h.js";
|
|
3
|
+
import { i as ie, l as c, t as ae } from "./useResponsive-ZtArZtUf.js";
|
|
4
|
+
import { t as oe } from "./BaseIcon-CP5RWnqt.js";
|
|
6
5
|
import { t as se } from "./DefGrad-DVBqDjhO.js";
|
|
7
|
-
import { Fragment as l, computed as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createVNode as ce, mergeProps as le, nextTick as ue, normalizeClass as m, normalizeProps as de, normalizeStyle as h, onBeforeUnmount as fe, onMounted as pe, onUpdated as me, openBlock as g, ref as _, renderList as v, renderSlot as he, toDisplayString as ge, unref as _e, useCssVars as ve, vModelText as ye, watch as
|
|
6
|
+
import { Fragment as l, computed as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createVNode as ce, mergeProps as le, nextTick as ue, normalizeClass as m, normalizeProps as de, normalizeStyle as h, onBeforeUnmount as fe, onMounted as pe, onUpdated as me, openBlock as g, ref as _, renderList as v, renderSlot as he, toDisplayString as ge, unref as _e, useCssVars as ve, vModelText as ye, watch as be, withDirectives as xe, withKeys as Se, withModifiers as Ce } from "vue";
|
|
8
7
|
//#region src/atoms/SlicerPreview.vue
|
|
9
|
-
var
|
|
8
|
+
var we = ["data-minimap"], Te = {
|
|
10
9
|
class: "vue-data-ui-slicer-labels",
|
|
11
10
|
style: {
|
|
12
11
|
position: "relative",
|
|
13
12
|
"z-index": "1",
|
|
14
13
|
"pointer-events": "none"
|
|
15
14
|
}
|
|
16
|
-
},
|
|
15
|
+
}, Ee = {
|
|
17
16
|
key: 0,
|
|
18
17
|
style: {
|
|
19
18
|
width: "100%",
|
|
20
19
|
position: "relative",
|
|
21
20
|
"pointer-events": "all"
|
|
22
21
|
}
|
|
23
|
-
},
|
|
22
|
+
}, De = {
|
|
24
23
|
key: 0,
|
|
25
24
|
class: "minimap",
|
|
26
25
|
style: { width: "100%" }
|
|
27
|
-
},
|
|
26
|
+
}, Oe = ["xmlns", "viewBox"], ke = ["id"], Ae = [
|
|
28
27
|
"x",
|
|
29
28
|
"width",
|
|
30
29
|
"height"
|
|
31
|
-
],
|
|
30
|
+
], je = [
|
|
32
31
|
"width",
|
|
33
32
|
"height",
|
|
34
33
|
"stroke"
|
|
35
|
-
],
|
|
34
|
+
], Me = ["d", "stroke"], Ne = ["d", "fill"], Pe = [
|
|
36
35
|
"x",
|
|
37
36
|
"y",
|
|
38
37
|
"width",
|
|
39
38
|
"height",
|
|
40
39
|
"fill"
|
|
41
|
-
],
|
|
40
|
+
], Fe = [
|
|
42
41
|
"d",
|
|
43
42
|
"stroke",
|
|
44
43
|
"stroke-dasharray"
|
|
45
|
-
],
|
|
44
|
+
], Ie = [
|
|
46
45
|
"cx",
|
|
47
46
|
"cy",
|
|
48
47
|
"fill",
|
|
49
48
|
"stroke"
|
|
50
|
-
],
|
|
49
|
+
], Le = [
|
|
51
50
|
"cx",
|
|
52
51
|
"cy",
|
|
53
52
|
"fill",
|
|
54
53
|
"stroke"
|
|
55
|
-
],
|
|
54
|
+
], Re = [
|
|
56
55
|
"x",
|
|
57
56
|
"width",
|
|
58
57
|
"height",
|
|
59
58
|
"fill",
|
|
60
59
|
"rx"
|
|
61
|
-
],
|
|
60
|
+
], ze = [
|
|
62
61
|
"x",
|
|
63
62
|
"width",
|
|
64
63
|
"height",
|
|
65
64
|
"rx",
|
|
66
65
|
"fill"
|
|
67
|
-
],
|
|
66
|
+
], Be = [
|
|
68
67
|
"x",
|
|
69
68
|
"width",
|
|
70
69
|
"height",
|
|
@@ -74,128 +73,128 @@ var Ce = ["data-minimap"], we = {
|
|
|
74
73
|
"aria-valuemax",
|
|
75
74
|
"aria-valuenow",
|
|
76
75
|
"aria-valuetext"
|
|
77
|
-
],
|
|
76
|
+
], Ve = [
|
|
78
77
|
"x2",
|
|
79
78
|
"y1",
|
|
80
79
|
"y2",
|
|
81
80
|
"stroke"
|
|
82
|
-
],
|
|
81
|
+
], He = { key: "merged-tree" }, Ue = ["d", "stroke"], We = [
|
|
83
82
|
"cx",
|
|
84
83
|
"cy",
|
|
85
84
|
"stroke",
|
|
86
85
|
"fill"
|
|
87
|
-
],
|
|
86
|
+
], Ge = [
|
|
88
87
|
"cx",
|
|
89
88
|
"cy",
|
|
90
89
|
"stroke",
|
|
91
90
|
"fill"
|
|
92
|
-
],
|
|
91
|
+
], Ke = { key: "split-tree" }, qe = [
|
|
93
92
|
"x",
|
|
94
93
|
"y",
|
|
95
94
|
"width",
|
|
96
95
|
"height",
|
|
97
96
|
"fill"
|
|
98
|
-
],
|
|
97
|
+
], Je = [
|
|
99
98
|
"d",
|
|
100
99
|
"stroke",
|
|
101
100
|
"stroke-dasharray"
|
|
102
|
-
],
|
|
101
|
+
], Ye = [
|
|
103
102
|
"cx",
|
|
104
103
|
"cy",
|
|
105
104
|
"fill",
|
|
106
105
|
"stroke"
|
|
107
|
-
],
|
|
106
|
+
], Xe = ["width", "height"], Ze = [
|
|
108
107
|
"x",
|
|
109
108
|
"width",
|
|
110
109
|
"height",
|
|
111
110
|
"fill",
|
|
112
111
|
"stroke",
|
|
113
112
|
"stroke-width"
|
|
114
|
-
],
|
|
113
|
+
], Qe = ["transform"], $e = ["width", "height"], et = ["fill", "stroke"], tt = ["stroke"], nt = ["fill"], rt = [
|
|
115
114
|
"x",
|
|
116
115
|
"width",
|
|
117
116
|
"height",
|
|
118
117
|
"fill",
|
|
119
118
|
"stroke",
|
|
120
119
|
"stroke-width"
|
|
121
|
-
],
|
|
120
|
+
], it = ["transform"], at = ["width", "height"], ot = ["fill", "stroke"], st = ["stroke"], ct = ["fill"], lt = {
|
|
122
121
|
key: "merged-tree",
|
|
123
122
|
style: { "pointer-events": "none" }
|
|
124
|
-
},
|
|
123
|
+
}, ut = [
|
|
125
124
|
"cx",
|
|
126
125
|
"cy",
|
|
127
126
|
"stroke",
|
|
128
127
|
"fill"
|
|
129
|
-
],
|
|
128
|
+
], dt = [
|
|
130
129
|
"cx",
|
|
131
130
|
"cy",
|
|
132
131
|
"fill"
|
|
133
|
-
],
|
|
132
|
+
], ft = [
|
|
134
133
|
"cx",
|
|
135
134
|
"cy",
|
|
136
135
|
"stroke",
|
|
137
136
|
"fill"
|
|
138
|
-
],
|
|
137
|
+
], pt = [
|
|
139
138
|
"cx",
|
|
140
139
|
"cy",
|
|
141
140
|
"fill"
|
|
142
|
-
],
|
|
141
|
+
], mt = {
|
|
143
142
|
key: 1,
|
|
144
143
|
style: { "pointer-events": "none" }
|
|
145
|
-
},
|
|
144
|
+
}, ht = [
|
|
146
145
|
"d",
|
|
147
146
|
"stroke",
|
|
148
147
|
"stroke-dasharray"
|
|
149
|
-
],
|
|
148
|
+
], gt = [
|
|
150
149
|
"cx",
|
|
151
150
|
"cy",
|
|
152
151
|
"fill",
|
|
153
152
|
"stroke"
|
|
154
|
-
],
|
|
153
|
+
], _t = [
|
|
155
154
|
"cx",
|
|
156
155
|
"cy",
|
|
157
156
|
"stroke",
|
|
158
157
|
"fill"
|
|
159
|
-
],
|
|
158
|
+
], vt = [
|
|
160
159
|
"cx",
|
|
161
160
|
"cy",
|
|
162
161
|
"fill"
|
|
163
|
-
],
|
|
162
|
+
], yt = [
|
|
164
163
|
"cx",
|
|
165
164
|
"cy",
|
|
166
165
|
"stroke",
|
|
167
166
|
"fill"
|
|
168
|
-
],
|
|
167
|
+
], bt = [
|
|
169
168
|
"cx",
|
|
170
169
|
"cy",
|
|
171
170
|
"fill"
|
|
172
|
-
],
|
|
171
|
+
], xt = [
|
|
173
172
|
"cx",
|
|
174
173
|
"cy",
|
|
175
174
|
"fill",
|
|
176
175
|
"stroke"
|
|
177
|
-
],
|
|
176
|
+
], St = [
|
|
178
177
|
"step",
|
|
179
178
|
"min",
|
|
180
179
|
"max",
|
|
181
180
|
"tabindex"
|
|
182
|
-
],
|
|
181
|
+
], Ct = [
|
|
183
182
|
"step",
|
|
184
183
|
"min",
|
|
185
184
|
"max",
|
|
186
185
|
"tabindex"
|
|
187
|
-
],
|
|
186
|
+
], wt = {
|
|
188
187
|
key: 3,
|
|
189
188
|
class: "minimap-handle-overlay"
|
|
190
|
-
},
|
|
189
|
+
}, Tt = ["xmlns", "viewBox"], Et = [
|
|
191
190
|
"x",
|
|
192
191
|
"width",
|
|
193
192
|
"height"
|
|
194
|
-
],
|
|
193
|
+
], Dt = [
|
|
195
194
|
"x",
|
|
196
195
|
"width",
|
|
197
196
|
"height"
|
|
198
|
-
],
|
|
197
|
+
], Ot = 48, kt = /*#__PURE__*/ s({
|
|
199
198
|
__name: "SlicerPreview",
|
|
200
199
|
props: {
|
|
201
200
|
uuid: {
|
|
@@ -423,144 +422,144 @@ var Ce = ["data-minimap"], we = {
|
|
|
423
422
|
"trapMouse",
|
|
424
423
|
"trapMouseValue"
|
|
425
424
|
],
|
|
426
|
-
setup(s, { expose:
|
|
425
|
+
setup(s, { expose: kt, emit: At }) {
|
|
427
426
|
ve((e) => ({
|
|
428
|
-
v387ab4e8:
|
|
429
|
-
v7bb82e00:
|
|
430
|
-
v42303b71:
|
|
427
|
+
v387ab4e8: rn.value,
|
|
428
|
+
v7bb82e00: N.value,
|
|
429
|
+
v42303b71: on.value,
|
|
431
430
|
v5bed6f30: s.selectColor,
|
|
432
|
-
v99127c84:
|
|
433
|
-
v27b98ef0:
|
|
431
|
+
v99127c84: an.value,
|
|
432
|
+
v27b98ef0: y.additionalMinimapHeight
|
|
434
433
|
}));
|
|
435
|
-
let
|
|
436
|
-
function
|
|
434
|
+
let y = s;
|
|
435
|
+
function jt(e) {
|
|
437
436
|
let t = Number(e) || 0;
|
|
438
|
-
return
|
|
439
|
-
}
|
|
440
|
-
let x = _(null), S = _(b.min), C = _(b.max), w = u(() => !!b.allMinimaps.length), jt = _(t()), T = _(!1), E = u(() => w.value && b.minimapCompact), D = _(null), Mt = _(!1), Nt = _(0), Pt = _(0), Ft = _(null), It = _(!1), Lt = u(() => D.value !== null), Rt = u(() => b.useValueRange ? C.value : C.value - 1), zt = u(() => Math.max(1, Number(b.max) - Number(b.min)));
|
|
441
|
-
function Bt(e) {
|
|
442
|
-
return (Number(e) - Number(b.min)) / zt.value * 100;
|
|
437
|
+
return y.precision <= 0 ? Math.round(t) : Number(t.toFixed(y.precision));
|
|
443
438
|
}
|
|
439
|
+
let b = _(null), x = _(y.min), S = _(y.max), C = u(() => !!y.allMinimaps.length), Mt = _(r()), w = _(!1), T = u(() => C.value && y.minimapCompact), E = _(null), Nt = _(!1), Pt = _(0), Ft = _(0), It = _(null), Lt = _(!1), Rt = u(() => E.value !== null), zt = u(() => y.useValueRange ? S.value : S.value - 1), Bt = u(() => Math.max(1, Number(y.max) - Number(y.min)));
|
|
444
440
|
function Vt(e) {
|
|
445
|
-
return
|
|
441
|
+
return (Number(e) - Number(y.min)) / Bt.value * 100;
|
|
446
442
|
}
|
|
447
443
|
function Ht(e) {
|
|
448
|
-
|
|
449
|
-
return At(Number(b.min) + zt.value * t);
|
|
444
|
+
return F.value.width * (Vt(e) / 100);
|
|
450
445
|
}
|
|
451
446
|
function Ut(e) {
|
|
452
|
-
let t =
|
|
453
|
-
return
|
|
447
|
+
let t = Math.min(1, Math.max(0, e / Math.max(1, F.value.width)));
|
|
448
|
+
return jt(Number(y.min) + Bt.value * t);
|
|
454
449
|
}
|
|
455
|
-
function Wt(e
|
|
456
|
-
|
|
450
|
+
function Wt(e) {
|
|
451
|
+
let t = y.useValueRange ? e?.y : e;
|
|
452
|
+
return a(t) ? Number(t) : null;
|
|
457
453
|
}
|
|
458
454
|
function Gt(e, t) {
|
|
459
|
-
return
|
|
455
|
+
return y.useValueRange ? Number(e?.x) : t + Number(y.min);
|
|
460
456
|
}
|
|
461
|
-
|
|
462
|
-
|
|
457
|
+
function Kt(e, t) {
|
|
458
|
+
return y.useValueRange ? Ht(Gt(e, t)) : B.value * t + (y.minimapCompact ? 0 : B.value / 2);
|
|
459
|
+
}
|
|
460
|
+
let qt = u(() => Math.min(40, Math.max(20, y.handleWidth))), Jt = _(0), Yt = c((e) => j("futureStart", e), 0), Xt = c((e) => j("futureEnd", e), 0), D = u(() => y.precision > 0 ? 1 / 10 ** y.precision : 1), O = u({
|
|
461
|
+
get: () => x.value,
|
|
463
462
|
set(e) {
|
|
464
|
-
let t = Math.min(Number(e), Number(
|
|
465
|
-
t !==
|
|
463
|
+
let t = Math.min(Number(e), Number(S.value) - D.value);
|
|
464
|
+
t !== x.value && (x.value = t, Bn.value && (Bn.value.value = String(t)), y.immediate ? j("update:start", Number(t)) : w.value && Yt(t));
|
|
466
465
|
}
|
|
467
|
-
}),
|
|
468
|
-
get: () =>
|
|
466
|
+
}), k = u({
|
|
467
|
+
get: () => S.value,
|
|
469
468
|
set(e) {
|
|
470
|
-
let t = Math.max(Number(e), Number(
|
|
471
|
-
t !==
|
|
469
|
+
let t = Math.max(Number(e), Number(x.value) + D.value);
|
|
470
|
+
t !== S.value && (S.value = t, Vn.value && (Vn.value.value = String(t)), y.immediate ? j("update:end", Number(t)) : w.value && Xt(t));
|
|
472
471
|
}
|
|
473
472
|
});
|
|
474
|
-
function
|
|
475
|
-
clearTimeout(null),
|
|
473
|
+
function A() {
|
|
474
|
+
clearTimeout(null), y.immediate || (j("update:start", Number(x.value)), j("update:end", Number(S.value))), w.value = !1;
|
|
476
475
|
}
|
|
477
|
-
let
|
|
478
|
-
if (
|
|
479
|
-
if (
|
|
480
|
-
let e = Math.max(1,
|
|
481
|
-
return An.value / e * 100;
|
|
482
|
-
}
|
|
483
|
-
let e = Math.max(1, b.max - b.min);
|
|
484
|
-
return (S.value - b.min) / e * 100;
|
|
485
|
-
}), Qt = u(() => {
|
|
486
|
-
if (b.useValueRange) return Bt(C.value);
|
|
487
|
-
if (E.value) {
|
|
488
|
-
let e = Math.max(1, R.value - 1);
|
|
476
|
+
let Zt = u(() => y.refreshEndPoint === null ? y.max : y.refreshEndPoint), j = At, Qt = u(() => {
|
|
477
|
+
if (y.useValueRange) return Vt(x.value);
|
|
478
|
+
if (T.value) {
|
|
479
|
+
let e = Math.max(1, L.value - 1);
|
|
489
480
|
return jn.value / e * 100;
|
|
490
481
|
}
|
|
491
|
-
let e = Math.max(1,
|
|
492
|
-
return (
|
|
493
|
-
}), $t = u(() =>
|
|
494
|
-
if (
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
let e = Math.max(1,
|
|
500
|
-
return
|
|
501
|
-
}),
|
|
502
|
-
|
|
482
|
+
let e = Math.max(1, y.max - y.min);
|
|
483
|
+
return (x.value - y.min) / e * 100;
|
|
484
|
+
}), $t = u(() => {
|
|
485
|
+
if (y.useValueRange) return Vt(S.value);
|
|
486
|
+
if (T.value) {
|
|
487
|
+
let e = Math.max(1, L.value - 1);
|
|
488
|
+
return Mn.value / e * 100;
|
|
489
|
+
}
|
|
490
|
+
let e = Math.max(1, y.max - y.min);
|
|
491
|
+
return (S.value - y.min) / e * 100;
|
|
492
|
+
}), en = u(() => (Qt.value + $t.value) / 2), tn = u(() => {
|
|
493
|
+
if (!b.value) return !1;
|
|
494
|
+
let e = Math.max(1, y.max - y.min);
|
|
495
|
+
return b.value.getBoundingClientRect().width * ((x.value - y.min) / e) - hr.value / 2 < 0;
|
|
496
|
+
}), nn = u(() => {
|
|
497
|
+
if (!b.value) return !1;
|
|
498
|
+
let e = Math.max(1, y.max - y.min), t = b.value.getBoundingClientRect().width;
|
|
499
|
+
return t * ((S.value - y.min) / e) + gr.value / 2 > t;
|
|
500
|
+
}), M = u(() => {
|
|
501
|
+
let e = nn.value ? `calc(${en.value}% - ${Sr.value.width}px)` : tn.value ? `calc(${en.value}% - 8px)` : `calc(${en.value}% - ${Sr.value.width / 2}px)`;
|
|
503
502
|
return {
|
|
504
|
-
left: `${
|
|
505
|
-
width: `${Math.max(0,
|
|
506
|
-
background:
|
|
507
|
-
tooltipLeft: `calc(${
|
|
508
|
-
tooltipRight: `calc(${
|
|
503
|
+
left: `${Qt.value}%`,
|
|
504
|
+
width: `${Math.max(0, $t.value - Qt.value)}%`,
|
|
505
|
+
background: y.selectColor,
|
|
506
|
+
tooltipLeft: `calc(${Qt.value}% - ${tn.value ? 9 : hr.value / 2}px)`,
|
|
507
|
+
tooltipRight: `calc(${$t.value}% - ${nn.value ? gr.value - 9 : gr.value / 2}px)`,
|
|
509
508
|
tooltipCenter: e,
|
|
510
|
-
arrowLeft: !
|
|
511
|
-
arrowRight: !
|
|
509
|
+
arrowLeft: !tn.value,
|
|
510
|
+
arrowRight: !nn.value
|
|
512
511
|
};
|
|
513
|
-
}),
|
|
514
|
-
function
|
|
515
|
-
|
|
512
|
+
}), rn = u(() => y.inputColor), an = u(() => y.background), on = u(() => `${y.selectColor}33`), N = u(() => y.borderColor), sn = u(() => Number(y.max) > Number(y.min));
|
|
513
|
+
function cn() {
|
|
514
|
+
j("reset");
|
|
516
515
|
}
|
|
517
|
-
|
|
518
|
-
Number(
|
|
519
|
-
}),
|
|
520
|
-
Number(
|
|
516
|
+
be(() => y.min, (e) => {
|
|
517
|
+
Number(x.value) < Number(e) && (x.value = Number(e)), Number(S.value) < Number(e) && (S.value = Number(e));
|
|
518
|
+
}), be(() => y.max, (e) => {
|
|
519
|
+
Number(x.value) > Number(e) && (x.value = Number(e)), Number(S.value) > Number(e) && (S.value = Number(e));
|
|
521
520
|
});
|
|
522
|
-
let
|
|
521
|
+
let P = _(null), F = _({
|
|
523
522
|
width: 1,
|
|
524
523
|
height: 1
|
|
525
|
-
}),
|
|
524
|
+
}), I = _(null);
|
|
526
525
|
pe(() => {
|
|
527
|
-
if (
|
|
528
|
-
let e =
|
|
529
|
-
if (!
|
|
530
|
-
let { width: e, height: t } = ae({ chart:
|
|
531
|
-
(n !==
|
|
526
|
+
if (C.value) {
|
|
527
|
+
let e = c(() => {
|
|
528
|
+
if (!P.value) return;
|
|
529
|
+
let { width: e, height: t } = ae({ chart: P.value }), n = Math.max(0, Math.round(e)), r = Math.max(0, Math.round(t - 47));
|
|
530
|
+
(n !== F.value.width || r !== F.value.height) && (F.value.width = n, F.value.height = r + y.additionalMinimapHeight);
|
|
532
531
|
}, 0);
|
|
533
|
-
|
|
532
|
+
I.value = new ResizeObserver(e), I.value.observe(P.value);
|
|
534
533
|
}
|
|
535
534
|
}), fe(() => {
|
|
536
|
-
|
|
535
|
+
I.value && I.value.disconnect();
|
|
537
536
|
});
|
|
538
|
-
let
|
|
539
|
-
function cn(e) {
|
|
540
|
-
let t = Math.floor(e - b.min);
|
|
541
|
-
return Math.min(Math.max(0, t), R.value);
|
|
542
|
-
}
|
|
537
|
+
let L = u(() => Math.max(1, y.max - y.min));
|
|
543
538
|
function ln(e) {
|
|
544
|
-
let t = Math.
|
|
545
|
-
return Math.min(Math.max(0, t),
|
|
539
|
+
let t = Math.floor(e - y.min);
|
|
540
|
+
return Math.min(Math.max(0, t), L.value);
|
|
546
541
|
}
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
let
|
|
542
|
+
function un(e) {
|
|
543
|
+
let t = Math.ceil(e - y.min);
|
|
544
|
+
return Math.min(Math.max(0, t), L.value);
|
|
545
|
+
}
|
|
546
|
+
let R = u(() => ln(x.value)), z = u(() => un(S.value)), dn = u(() => Math.max(...y.allMinimaps.map((e) => e.series.length))), fn = u(() => C.value && y.minimapCompact ? 40 : 0), pn = u(() => fn.value / 2);
|
|
547
|
+
u(() => Math.max(1, F.value.width - pn.value * 2));
|
|
548
|
+
let B = u(() => {
|
|
549
|
+
if (y.minimapCompact && !y.useValueRange) return F.value.width / Math.max(1, L.value - 1);
|
|
550
|
+
let e = Math.max(1, dn.value - +!!y.minimapCompact);
|
|
551
|
+
return F.value.width / e;
|
|
552
|
+
}), mn = u(() => y.allMinimaps.length ? y.allMinimaps.filter((e) => e.type === "bar" && e.isVisible).length : 0), hn = u(() => B.value / (mn.value || 1) * .8);
|
|
553
|
+
function gn(e, t, n) {
|
|
554
|
+
let r = hn.value, i = Math.max(1, mn.value), a = dn.value - 1;
|
|
556
555
|
return n === 0 ? e + r / 2 * t : n === a ? e - r / 2 * (i - t) : e - i * r / 2 + t * r;
|
|
557
556
|
}
|
|
558
|
-
function
|
|
559
|
-
return [0,
|
|
557
|
+
function _n(e, t) {
|
|
558
|
+
return [0, dn.value - 1].includes(t) ? hn.value / 2 : hn.value;
|
|
560
559
|
}
|
|
561
|
-
let
|
|
560
|
+
let vn = u(() => {
|
|
562
561
|
let e = [];
|
|
563
|
-
if (Array.isArray(
|
|
562
|
+
if (Array.isArray(y.minimap) && y.minimap.length && y.minimapMerged && e.push(...y.minimap.map(Wt).filter(Number.isFinite)), Array.isArray(y.allMinimaps) && y.allMinimaps.length) for (let t of y.allMinimaps) t?.isVisible && Array.isArray(t?.series) && e.push(...t.series.map(Wt).filter(Number.isFinite));
|
|
564
563
|
return e.length ? {
|
|
565
564
|
min: Math.min(...e),
|
|
566
565
|
max: Math.max(...e)
|
|
@@ -568,25 +567,25 @@ var Ce = ["data-minimap"], we = {
|
|
|
568
567
|
min: 0,
|
|
569
568
|
max: 1
|
|
570
569
|
};
|
|
571
|
-
}), vn = u(() => {
|
|
572
|
-
if (b.minScale == null && b.forceZeroCenter) return null;
|
|
573
|
-
let e = Number(b.minScale);
|
|
574
|
-
return Number.isFinite(e) ? e : null;
|
|
575
570
|
}), yn = u(() => {
|
|
576
|
-
if (
|
|
577
|
-
let e = Number(
|
|
571
|
+
if (y.minScale == null && y.forceZeroCenter) return null;
|
|
572
|
+
let e = Number(y.minScale);
|
|
578
573
|
return Number.isFinite(e) ? e : null;
|
|
579
|
-
}), bn = u(() =>
|
|
580
|
-
|
|
574
|
+
}), bn = u(() => {
|
|
575
|
+
if (y.maxScale == null && y.forceZeroCenter) return null;
|
|
576
|
+
let e = Number(y.maxScale);
|
|
577
|
+
return Number.isFinite(e) ? e : null;
|
|
578
|
+
}), xn = u(() => yn.value !== null && bn.value !== null), Sn = u(() => {
|
|
579
|
+
let { min: e, max: t } = vn.value, n = yn.value, r = bn.value, i, a;
|
|
581
580
|
return n !== null && r !== null ? (i = Math.min(n, e), a = Math.max(r, t)) : (i = n === null ? e : n, a = r === null ? t : r), Number.isFinite(i) || (i = 0), Number.isFinite(a) || (a = 1), i === a ? a = i + 1 : i > a && ([i, a] = [a, i]), {
|
|
582
581
|
min: i,
|
|
583
582
|
max: a
|
|
584
583
|
};
|
|
585
|
-
}),
|
|
586
|
-
let t = Math.max(1,
|
|
587
|
-
return
|
|
588
|
-
},
|
|
589
|
-
function
|
|
584
|
+
}), Cn = u(() => Sn.value.min), wn = u(() => Sn.value.max), Tn = u(() => Cn.value < 0 && wn.value > 0 || wn.value <= 0 ? Cn.value : 0), En = (e) => {
|
|
585
|
+
let t = Math.max(1, F.value.height);
|
|
586
|
+
return On(Cn.value, wn.value, t, xn.value)(e);
|
|
587
|
+
}, Dn = u(() => En(0));
|
|
588
|
+
function On(e, t, n, r = !1) {
|
|
590
589
|
let i = (e, t, n) => Math.max(t, Math.min(n, e)), a = 1e-9, o = Math.max(a, t - e);
|
|
591
590
|
if (r) return (t) => n - (t - e) / o * n;
|
|
592
591
|
if (t <= 0) {
|
|
@@ -600,8 +599,8 @@ var Ce = ["data-minimap"], we = {
|
|
|
600
599
|
return (e) => (1 - (i(e / r, -1, 1) + 1) / 2) * n;
|
|
601
600
|
}
|
|
602
601
|
}
|
|
603
|
-
function
|
|
604
|
-
if (!
|
|
602
|
+
function kn(n, r = !1, a = !1) {
|
|
603
|
+
if (!n || !n.length) return {
|
|
605
604
|
fullSet: "",
|
|
606
605
|
points: [],
|
|
607
606
|
selectionSet: "",
|
|
@@ -614,33 +613,33 @@ var Ce = ["data-minimap"], we = {
|
|
|
614
613
|
selectionMarkers: [],
|
|
615
614
|
dashed: !1
|
|
616
615
|
};
|
|
617
|
-
let ee = Math.max(1,
|
|
618
|
-
let n =
|
|
616
|
+
let ee = Math.max(1, F.value.height), te = On(Cn.value, wn.value, ee, xn.value), ne = n.length, s = Math.min(Math.max(0, R.value), Math.max(0, ne - 1)), ie = Math.min(ne, Math.max(s + 1, z.value)), c = n.map((e, t) => {
|
|
617
|
+
let n = Wt(e), r = Number.isFinite(n), i = Kt(e, t), a = xn.value ? ((e, t, n) => Math.max(t, Math.min(n, e)))(0, Cn.value, wn.value) : 0, o = te(a);
|
|
619
618
|
return {
|
|
620
619
|
x: i,
|
|
621
620
|
y: r ? te(n) : NaN,
|
|
622
621
|
v: n,
|
|
623
622
|
value: r ? n : null,
|
|
624
|
-
y0:
|
|
623
|
+
y0: o,
|
|
625
624
|
i: t,
|
|
626
|
-
xValue:
|
|
625
|
+
xValue: Gt(e, t)
|
|
627
626
|
};
|
|
628
|
-
}), 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 =
|
|
627
|
+
}), 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 = y.useValueRange ? oe.filter((e) => e.xValue >= Number(x.value) && e.xValue <= Number(S.value)) : oe.filter((e) => e.i >= s && e.i < ie), l = y.useValueRange ? c.filter((e) => e.xValue >= Number(x.value) && e.xValue <= Number(S.value)) : c.slice(s, ie);
|
|
629
628
|
return {
|
|
630
|
-
fullSet: c.length >= 2 ?
|
|
629
|
+
fullSet: c.length >= 2 ? a ? re(y.cutNullValues ? c : c.filter((e) => e.value != null)) : y.smoothMinimap || r ? y.cutNullValues ? t(c) : i(c.filter((e) => e.value != null)) : y.cutNullValues ? o(c) : e(c.filter((e) => e.value != null)) : "",
|
|
631
630
|
points: c,
|
|
632
|
-
selectionSet: l.length >= 2 ?
|
|
631
|
+
selectionSet: l.length >= 2 ? a ? re(y.cutNullValues ? l : l.filter((e) => e.value != null)) : y.smoothMinimap || r ? y.cutNullValues ? t(l) : i(l.filter((e) => e.value != null)) : y.cutNullValues ? o(l) : e(l.filter((e) => e.value != null)) : "",
|
|
633
632
|
sliced: l,
|
|
634
|
-
firstPlot:
|
|
635
|
-
lastPlot:
|
|
633
|
+
firstPlot: y.useValueRange ? l[0] || null : c[s] || null,
|
|
634
|
+
lastPlot: y.useValueRange ? l[l.length - 1] || null : c[Math.max(0, ie - 1)] || null,
|
|
636
635
|
hasFull: c.length >= 2,
|
|
637
636
|
hasSelection: l.length >= 2,
|
|
638
637
|
fullMarkers: oe,
|
|
639
638
|
selectionMarkers: se
|
|
640
639
|
};
|
|
641
640
|
}
|
|
642
|
-
let
|
|
643
|
-
let n =
|
|
641
|
+
let V = u(() => y.minimap.length ? kn(y.minimap) : []), H = u(() => y.allMinimaps.length ? y.allMinimaps.map((e, t) => {
|
|
642
|
+
let n = kn(e?.series || [], !!e.smooth, !!e.useStepper), r = e?.id ?? e?.name ?? t;
|
|
644
643
|
return {
|
|
645
644
|
key: typeof r == "object" ? JSON.stringify(r) : String(r),
|
|
646
645
|
color: e?.color,
|
|
@@ -651,79 +650,81 @@ var Ce = ["data-minimap"], we = {
|
|
|
651
650
|
dashed: e.dashed ?? !1,
|
|
652
651
|
useStepper: !!e.useStepper
|
|
653
652
|
};
|
|
654
|
-
}) : []),
|
|
655
|
-
if (
|
|
656
|
-
let e =
|
|
653
|
+
}) : []), U = u(() => {
|
|
654
|
+
if (y.useValueRange) {
|
|
655
|
+
let e = Ht(x.value), t = Ht(S.value);
|
|
657
656
|
return {
|
|
658
657
|
x: e,
|
|
659
658
|
width: Math.max(0, t - e)
|
|
660
659
|
};
|
|
661
660
|
}
|
|
662
|
-
let e =
|
|
661
|
+
let e = R.value, t = Math.max(e + 1, z.value);
|
|
663
662
|
return {
|
|
664
|
-
x:
|
|
665
|
-
width:
|
|
663
|
+
x: B.value * e + (y.minimapCompact ? 0 : B.value / 2),
|
|
664
|
+
width: B.value * (t - e) - B.value
|
|
666
665
|
};
|
|
667
|
-
}),
|
|
666
|
+
}), W = _(y.minimapSelectedIndex), An = (e) => Math.round(y.min + e), jn = u({
|
|
668
667
|
get() {
|
|
669
|
-
return
|
|
668
|
+
return T.value ? R.value : Number(O.value);
|
|
670
669
|
},
|
|
671
670
|
set(e) {
|
|
672
|
-
if (
|
|
673
|
-
if (
|
|
674
|
-
let t =
|
|
675
|
-
|
|
671
|
+
if (T.value) {
|
|
672
|
+
if (y.useValueRange) {
|
|
673
|
+
let t = jt(e);
|
|
674
|
+
Wn(Math.min(Math.max(Number(y.min), t), Number(S.value) - D.value));
|
|
676
675
|
return;
|
|
677
676
|
}
|
|
678
|
-
|
|
677
|
+
let t = Math.round(+e || 0);
|
|
678
|
+
Wn(An(t));
|
|
679
679
|
} else {
|
|
680
|
-
let t =
|
|
681
|
-
|
|
680
|
+
let t = jt(e), n = Number(S.value) - D.value, r = Math.min(Math.max(y.min, t), n);
|
|
681
|
+
Bn.value && (Bn.value.valueAsNumber = r), Wn(r);
|
|
682
682
|
}
|
|
683
683
|
}
|
|
684
|
-
}),
|
|
684
|
+
}), Mn = u({
|
|
685
685
|
get() {
|
|
686
|
-
return
|
|
686
|
+
return T.value ? Math.max(R.value, z.value - 1) : Number(k.value);
|
|
687
687
|
},
|
|
688
688
|
set(e) {
|
|
689
|
-
if (
|
|
690
|
-
if (
|
|
691
|
-
let t =
|
|
692
|
-
|
|
689
|
+
if (T.value) {
|
|
690
|
+
if (y.useValueRange) {
|
|
691
|
+
let t = jt(e);
|
|
692
|
+
Kn(Math.max(Number(x.value) + D.value, Math.min(t, Number(y.max))));
|
|
693
693
|
return;
|
|
694
694
|
}
|
|
695
|
-
|
|
695
|
+
let t = Math.round(+e || 0);
|
|
696
|
+
Kn(An(t + 1));
|
|
696
697
|
} else {
|
|
697
|
-
let t =
|
|
698
|
-
|
|
698
|
+
let t = jt(e), n = Number(x.value) + D.value, r = Math.max(n, Math.min(t, y.max));
|
|
699
|
+
Vn.value && (Vn.value.valueAsNumber = r), Kn(r);
|
|
699
700
|
}
|
|
700
701
|
}
|
|
701
|
-
}),
|
|
702
|
-
function
|
|
703
|
-
if (t ===
|
|
704
|
-
if (
|
|
705
|
-
|
|
702
|
+
}), Nn = 0;
|
|
703
|
+
function Pn(e, t) {
|
|
704
|
+
if (t === Nn) {
|
|
705
|
+
if (y.useValueRange) {
|
|
706
|
+
W.value = Number.isFinite(Number(e)) ? Ht(Number(e)) : null;
|
|
706
707
|
return;
|
|
707
708
|
}
|
|
708
|
-
|
|
709
|
+
W.value = ln(y.valueStart) + e;
|
|
709
710
|
}
|
|
710
711
|
}
|
|
711
|
-
let
|
|
712
|
-
|
|
713
|
-
if (
|
|
714
|
-
|
|
712
|
+
let Fn = ie(Pn, 60);
|
|
713
|
+
be(() => y.minimapSelectedIndex, (e, t) => {
|
|
714
|
+
if (Nn += 1, [null, void 0].includes(e)) {
|
|
715
|
+
W.value = null;
|
|
715
716
|
return;
|
|
716
717
|
}
|
|
717
|
-
e !== t &&
|
|
718
|
+
e !== t && Fn(e, Nn);
|
|
718
719
|
}, { immediate: !0 });
|
|
719
|
-
function Fn(e) {
|
|
720
|
-
if (Lt.value) return;
|
|
721
|
-
G.value = e;
|
|
722
|
-
let t = z.value, n = B.value;
|
|
723
|
-
e >= t && e < n && !X.value && M("trapMouse", e - t);
|
|
724
|
-
}
|
|
725
720
|
function In(e) {
|
|
726
|
-
|
|
721
|
+
if (Rt.value) return;
|
|
722
|
+
W.value = e;
|
|
723
|
+
let t = R.value, n = z.value;
|
|
724
|
+
e >= t && e < n && !X.value && j("trapMouse", e - t);
|
|
725
|
+
}
|
|
726
|
+
function Ln(e) {
|
|
727
|
+
let t = Ut(e), n = y.allMinimaps.flatMap((e) => (e.series || []).map((e, n) => ({
|
|
727
728
|
point: e,
|
|
728
729
|
index: n,
|
|
729
730
|
x: Number(e?.x),
|
|
@@ -731,25 +732,25 @@ var Ce = ["data-minimap"], we = {
|
|
|
731
732
|
}))).filter((e) => Number.isFinite(e.x));
|
|
732
733
|
return n.length ? n.reduce((e, t) => t.distance < e.distance ? t : e, n[0]) : null;
|
|
733
734
|
}
|
|
734
|
-
function
|
|
735
|
-
if (!
|
|
735
|
+
function Rn(e) {
|
|
736
|
+
if (!sn.value || Rt.value) return;
|
|
736
737
|
let t = Rr(e.clientX);
|
|
737
|
-
if (
|
|
738
|
-
let e =
|
|
738
|
+
if (y.useValueRange) {
|
|
739
|
+
let e = Ln(t);
|
|
739
740
|
if (!e) {
|
|
740
|
-
|
|
741
|
+
zn();
|
|
741
742
|
return;
|
|
742
743
|
}
|
|
743
|
-
|
|
744
|
+
W.value = Ht(e.x), j("trapMouse", e.index), j("trapMouseValue", e.x);
|
|
744
745
|
return;
|
|
745
746
|
}
|
|
746
|
-
|
|
747
|
+
In(zr(t));
|
|
747
748
|
}
|
|
748
|
-
function
|
|
749
|
-
|
|
749
|
+
function zn() {
|
|
750
|
+
W.value = null, !Rt.value && (j("trapMouse", null), j("trapMouseValue", null));
|
|
750
751
|
}
|
|
751
|
-
let
|
|
752
|
-
function
|
|
752
|
+
let Bn = _(null), Vn = _(null);
|
|
753
|
+
function Hn(e) {
|
|
753
754
|
if (typeof e == "object" && e && "target" in e) {
|
|
754
755
|
let t = e.target, n = "valueAsNumber" in t ? t.valueAsNumber : +t.value;
|
|
755
756
|
return Number.isFinite(n) ? n : NaN;
|
|
@@ -757,71 +758,71 @@ var Ce = ["data-minimap"], we = {
|
|
|
757
758
|
let t = +e;
|
|
758
759
|
return Number.isFinite(t) ? t : NaN;
|
|
759
760
|
}
|
|
760
|
-
let
|
|
761
|
-
function
|
|
762
|
-
|
|
763
|
-
let t =
|
|
764
|
-
Number.isFinite(t) && (cancelAnimationFrame(
|
|
765
|
-
|
|
761
|
+
let Un = 0;
|
|
762
|
+
function Wn(e) {
|
|
763
|
+
w.value = !0;
|
|
764
|
+
let t = Hn(e);
|
|
765
|
+
Number.isFinite(t) && (cancelAnimationFrame(Un), Un = requestAnimationFrame(() => {
|
|
766
|
+
O.value = t;
|
|
766
767
|
}));
|
|
767
768
|
}
|
|
768
|
-
let
|
|
769
|
-
function
|
|
770
|
-
|
|
771
|
-
let t =
|
|
772
|
-
Number.isFinite(t) && (cancelAnimationFrame(
|
|
773
|
-
|
|
769
|
+
let Gn = 0;
|
|
770
|
+
function Kn(e) {
|
|
771
|
+
w.value = !0;
|
|
772
|
+
let t = Hn(e);
|
|
773
|
+
Number.isFinite(t) && (cancelAnimationFrame(Gn), Gn = requestAnimationFrame(() => {
|
|
774
|
+
k.value = t;
|
|
774
775
|
}));
|
|
775
776
|
}
|
|
776
777
|
fe(() => {
|
|
777
|
-
cancelAnimationFrame(
|
|
778
|
+
cancelAnimationFrame(Un), cancelAnimationFrame(Gn);
|
|
778
779
|
});
|
|
779
|
-
let
|
|
780
|
+
let qn = u(() => y.valueEnd - y.valueStart), Jn = u(() => qn.value < y.max - y.min), G = _(!1), Yn = _(null), Xn = u(() => (Jt.value - 48) / (y.max - y.min) * qn.value), Zn = u(() => Math.max(1, Jt.value - Ot - Xn.value)), Qn = u(() => Math.max(1, y.max - y.min - qn.value)), $n = u(() => Qn.value / Zn.value), er = _(0), tr = _(0), nr = _(0), rr = _(0), K = null, q = null, J = null, Y = null, ir = _(y.min);
|
|
780
781
|
function ar(e) {
|
|
781
|
-
if (!
|
|
782
|
-
let t =
|
|
783
|
-
return Math.round(
|
|
782
|
+
if (!b.value) return y.min;
|
|
783
|
+
let t = b.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, y.max - y.min);
|
|
784
|
+
return Math.round(y.min + a * o);
|
|
784
785
|
}
|
|
785
786
|
let or = async (e) => {
|
|
786
|
-
if (
|
|
787
|
+
if (w.value = !0, Z.value = !0, !y.enableSelectionDrag) return;
|
|
787
788
|
let t = e.type === "touchstart";
|
|
788
789
|
t || e.stopPropagation();
|
|
789
|
-
let
|
|
790
|
-
if (!
|
|
791
|
-
|
|
792
|
-
let
|
|
793
|
-
if (Yn.value =
|
|
794
|
-
|
|
790
|
+
let r = t && e.targetTouches && e.targetTouches[0] ? e.targetTouches[0] : null, i = t ? r ? r.target : null : e.target;
|
|
791
|
+
if (!i || !(i instanceof Element) || i.classList?.contains("range-handle") || i.classList?.contains("vue-ui-zoom-compact-minimap-handle") || i.closest(".vue-ui-zoom-compact-minimap-handle")) return;
|
|
792
|
+
G.value = !0;
|
|
793
|
+
let a = t ? r ? r.clientX : 0 : e.clientX;
|
|
794
|
+
if (Yn.value = a, er.value = a, y.focusOnDrag && !Jn.value && b.value && !Lt.value) {
|
|
795
|
+
Lt.value = !0;
|
|
795
796
|
try {
|
|
796
|
-
ir.value = ar(
|
|
797
|
-
let e = Math.min(.95, Math.max(.05,
|
|
798
|
-
o = Math.max(Number(
|
|
799
|
-
let ee = Math.min(Number(
|
|
800
|
-
|
|
797
|
+
ir.value = ar(a);
|
|
798
|
+
let e = Math.min(.95, Math.max(.05, y.focusRangeRatio)), t = Number(y.max) - Number(y.min), r = Math.max(1, Math.round(t * e)), i = Math.floor(r / 2), o = ir.value - i;
|
|
799
|
+
o = Math.max(Number(y.min), Math.min(o, Number(y.max) - r));
|
|
800
|
+
let ee = Math.min(Number(y.max), o + r);
|
|
801
|
+
O.value = o, k.value = ee, Yt(o), Xt(ee), n(b.value, "mouseup"), await ue(), n(b.value, "mousedown", { clientX: a });
|
|
801
802
|
} finally {
|
|
802
|
-
|
|
803
|
+
Lt.value = !1;
|
|
803
804
|
}
|
|
804
805
|
return;
|
|
805
806
|
}
|
|
806
|
-
tr.value =
|
|
807
|
+
tr.value = x.value, nr.value = S.value, rr.value = $n.value, K = t ? "touchmove" : "mousemove", q = t ? "touchend" : "mouseup", J = t ? cr : sr, Y = t ? dr : ur, window.addEventListener(K, J, { passive: !1 }), window.addEventListener(q, Y);
|
|
807
808
|
};
|
|
808
809
|
function sr(e) {
|
|
809
|
-
|
|
810
|
+
G.value && lr(e.clientX);
|
|
810
811
|
}
|
|
811
812
|
function cr(e) {
|
|
812
|
-
if (!
|
|
813
|
+
if (!G.value || !b.value) return;
|
|
813
814
|
let t = e.target;
|
|
814
|
-
if (!(t instanceof Element) || !
|
|
815
|
+
if (!(t instanceof Element) || !b.value.contains(t) || t.classList && t.classList.contains("range-handle")) return;
|
|
815
816
|
e.preventDefault();
|
|
816
817
|
let n = e.targetTouches && e.targetTouches[0] ? e.targetTouches[0] : null;
|
|
817
818
|
n && lr(n.clientX);
|
|
818
819
|
}
|
|
819
820
|
function lr(e) {
|
|
820
|
-
if (!
|
|
821
|
+
if (!G.value) return;
|
|
821
822
|
let t = ar(er.value), n = ar(e) - t, r = Math.round(tr.value + n);
|
|
822
|
-
r = Math.max(
|
|
823
|
-
let i = r +
|
|
824
|
-
|
|
823
|
+
r = Math.max(y.min, Math.min(r, y.max - qn.value));
|
|
824
|
+
let i = r + qn.value;
|
|
825
|
+
O.value = r, k.value = i, Yt(r), Xt(i);
|
|
825
826
|
}
|
|
826
827
|
function ur() {
|
|
827
828
|
fr();
|
|
@@ -830,7 +831,7 @@ var Ce = ["data-minimap"], we = {
|
|
|
830
831
|
fr();
|
|
831
832
|
}
|
|
832
833
|
function fr() {
|
|
833
|
-
|
|
834
|
+
G.value = !1, K && J && window.removeEventListener(K, J), q && Y && window.removeEventListener(q, Y), K = q = null, J = Y = null, A();
|
|
834
835
|
}
|
|
835
836
|
let X = _(!1), pr = _(null), mr = _(null), hr = _(1), gr = _(1), Z = _(!1);
|
|
836
837
|
function _r() {
|
|
@@ -856,7 +857,7 @@ var Ce = ["data-minimap"], we = {
|
|
|
856
857
|
width: 0,
|
|
857
858
|
left: 0
|
|
858
859
|
});
|
|
859
|
-
|
|
860
|
+
be([x, S], async () => {
|
|
860
861
|
if (await ue(), !pr.value || !mr.value) {
|
|
861
862
|
xr.value = !1, Sr.value = {
|
|
862
863
|
width: 0,
|
|
@@ -866,32 +867,32 @@ var Ce = ["data-minimap"], we = {
|
|
|
866
867
|
}
|
|
867
868
|
let e = pr.value.getBoundingClientRect(), t = mr.value.getBoundingClientRect();
|
|
868
869
|
xr.value = e.x + e.width > t.x;
|
|
869
|
-
let n = e.x + e.width / 2, r = t.x + t.width / 2, i = e.width + t.width;
|
|
870
|
+
let n = e.x + e.width / 2, r = t.x + t.width / 2, i = e.width + t.width, a = (n + r) / 2;
|
|
870
871
|
Sr.value = {
|
|
871
872
|
width: i,
|
|
872
|
-
left:
|
|
873
|
+
left: a - i / 2
|
|
873
874
|
};
|
|
874
875
|
}), me(() => {
|
|
875
876
|
_r(), vr();
|
|
876
|
-
}),
|
|
877
|
+
}), be(() => y.labelLeft, () => {
|
|
877
878
|
ue(_r);
|
|
878
|
-
}, { deep: !0 }),
|
|
879
|
+
}, { deep: !0 }), be(() => y.labelRight, () => {
|
|
879
880
|
ue(vr);
|
|
880
881
|
}, { deep: !0 });
|
|
881
882
|
let Q = u(() => {
|
|
882
883
|
let e = "", t = "", n = !1;
|
|
883
|
-
if (
|
|
884
|
-
let r =
|
|
885
|
-
absoluteIndex:
|
|
886
|
-
seriesIndex:
|
|
887
|
-
datapoint:
|
|
888
|
-
timeLabel:
|
|
884
|
+
if (ee(y.customFormat)) try {
|
|
885
|
+
let r = y.customFormat({
|
|
886
|
+
absoluteIndex: x.value,
|
|
887
|
+
seriesIndex: x.value,
|
|
888
|
+
datapoint: y.selectedSeries,
|
|
889
|
+
timeLabel: y.preciseLabels[x.value],
|
|
889
890
|
side: "left"
|
|
890
|
-
}), i =
|
|
891
|
-
absoluteIndex:
|
|
891
|
+
}), i = y.customFormat({
|
|
892
|
+
absoluteIndex: zt.value,
|
|
892
893
|
seriesIndex: -1,
|
|
893
|
-
datapoint:
|
|
894
|
-
timeLabel:
|
|
894
|
+
datapoint: y.selectedSeries,
|
|
895
|
+
timeLabel: y.useValueRange ? null : y.preciseLabels[zt.value],
|
|
895
896
|
side: "right"
|
|
896
897
|
});
|
|
897
898
|
typeof r == "string" && typeof i == "string" && (e = r, t = i, n = !0);
|
|
@@ -899,7 +900,7 @@ var Ce = ["data-minimap"], we = {
|
|
|
899
900
|
n = !1;
|
|
900
901
|
}
|
|
901
902
|
if (!n) {
|
|
902
|
-
let n =
|
|
903
|
+
let n = y.useValueRange ? { text: String(Math.round(x.value * 1e3) / 1e3) } : y.usePreciseLabels ? y.preciseLabels.find((e) => e.absoluteIndex === x.value) : y.timeLabels.find((e) => e.absoluteIndex === x.value), r = y.useValueRange ? { text: String(Math.round(S.value * 1e3) / 1e3) } : y.usePreciseLabels ? y.preciseLabels.find((e) => e.absoluteIndex === zt.value) : y.timeLabels.find((e) => e.absoluteIndex === zt.value);
|
|
903
904
|
e = n ? n.text : "", t = r ? r.text : "";
|
|
904
905
|
}
|
|
905
906
|
return {
|
|
@@ -908,45 +909,45 @@ var Ce = ["data-minimap"], we = {
|
|
|
908
909
|
};
|
|
909
910
|
});
|
|
910
911
|
fe(() => {
|
|
911
|
-
|
|
912
|
+
I.value && I.value.disconnect(), K && J && window.removeEventListener(K, J), q && Y && window.removeEventListener(q, Y), K = q = null, J = Y = null, clearTimeout(null);
|
|
912
913
|
});
|
|
913
914
|
let Cr = u(() => {
|
|
914
|
-
if (!
|
|
915
|
-
if (
|
|
916
|
-
let e =
|
|
917
|
-
return e <
|
|
915
|
+
if (!sn.value || W.value === null) return null;
|
|
916
|
+
if (y.useValueRange) {
|
|
917
|
+
let e = W.value;
|
|
918
|
+
return e < U.value.x || e > U.value.x + U.value.width ? null : {
|
|
918
919
|
x1: e,
|
|
919
920
|
x2: e,
|
|
920
921
|
y1: 0,
|
|
921
|
-
y2: Math.max(
|
|
922
|
-
stroke:
|
|
922
|
+
y2: Math.max(F.value.height, 0),
|
|
923
|
+
stroke: y.minimapIndicatorColor,
|
|
923
924
|
"stroke-linecap": "round",
|
|
924
925
|
"stroke-dasharray": 2,
|
|
925
926
|
"stroke-width": 1
|
|
926
927
|
};
|
|
927
928
|
}
|
|
928
|
-
if (
|
|
929
|
-
let e =
|
|
929
|
+
if (W.value >= R.value && W.value < z.value) {
|
|
930
|
+
let e = W.value, t = B.value * e + (y.minimapCompact ? 0 : B.value / 2);
|
|
930
931
|
return {
|
|
931
932
|
x1: t,
|
|
932
933
|
x2: t,
|
|
933
934
|
y1: 0,
|
|
934
|
-
y2: Math.max(
|
|
935
|
-
stroke:
|
|
935
|
+
y2: Math.max(F.value.height, 0),
|
|
936
|
+
stroke: y.minimapIndicatorColor,
|
|
936
937
|
"stroke-linecap": "round",
|
|
937
938
|
"stroke-dasharray": 2,
|
|
938
939
|
"stroke-width": 1
|
|
939
940
|
};
|
|
940
941
|
}
|
|
941
942
|
return null;
|
|
942
|
-
}), wr = u(() => Number(
|
|
943
|
+
}), wr = u(() => Number(x.value) < Number(S.value) - 1), Tr = u(() => Number(x.value) > Number(y.min)), Er = u(() => Number(S.value) < Number(y.max)), Dr = u(() => Number(S.value) > Number(x.value) + 1);
|
|
943
944
|
function Or(e) {
|
|
944
|
-
let t = Number(
|
|
945
|
-
e > 0 && !wr.value || e < 0 && !Tr.value || (
|
|
945
|
+
let t = Number(x.value) + e;
|
|
946
|
+
e > 0 && !wr.value || e < 0 && !Tr.value || (w.value = !0, O.value = t, A());
|
|
946
947
|
}
|
|
947
948
|
function kr(e) {
|
|
948
|
-
let t = Number(
|
|
949
|
-
e > 0 && !Er.value || e < 0 && !Dr.value || (
|
|
949
|
+
let t = Number(S.value) + e;
|
|
950
|
+
e > 0 && !Er.value || e < 0 && !Dr.value || (w.value = !0, k.value = t, A());
|
|
950
951
|
}
|
|
951
952
|
let Ar = {
|
|
952
953
|
plus: () => Or(1),
|
|
@@ -968,8 +969,8 @@ var Ce = ["data-minimap"], we = {
|
|
|
968
969
|
return e instanceof HTMLElement && (e.isContentEditable || e.tagName === "INPUT" || e.tagName === "TEXTAREA" || e.tagName === "SELECT");
|
|
969
970
|
}
|
|
970
971
|
function Pr(e) {
|
|
971
|
-
if (!
|
|
972
|
-
let t =
|
|
972
|
+
if (!C.value || !y.minimapCompact) return;
|
|
973
|
+
let t = b.value;
|
|
973
974
|
if (!t) return;
|
|
974
975
|
let n = e === "start" ? "[data-cy=\"slicer-compact-handle-left\"]" : "[data-cy=\"slicer-compact-handle-right\"]", r = t.querySelector(n);
|
|
975
976
|
r && r instanceof SVGElement && typeof r.focus == "function" && r.focus();
|
|
@@ -983,81 +984,81 @@ var Ce = ["data-minimap"], we = {
|
|
|
983
984
|
tabindex: 0,
|
|
984
985
|
role: "slider",
|
|
985
986
|
"aria-label": "Range start",
|
|
986
|
-
"aria-valuemin": Number(
|
|
987
|
-
"aria-valuemax": Math.max(Number(
|
|
988
|
-
"aria-valuenow": Number(
|
|
987
|
+
"aria-valuemin": Number(y.min),
|
|
988
|
+
"aria-valuemax": Math.max(Number(y.min), Number(S.value) - 1),
|
|
989
|
+
"aria-valuenow": Number(x.value)
|
|
989
990
|
})), Lr = u(() => ({
|
|
990
991
|
tabindex: 0,
|
|
991
992
|
role: "slider",
|
|
992
993
|
"aria-label": "Range end",
|
|
993
|
-
"aria-valuemin": Math.min(Number(
|
|
994
|
-
"aria-valuemax": Number(
|
|
995
|
-
"aria-valuenow": Number(
|
|
994
|
+
"aria-valuemin": Math.min(Number(y.max), Number(x.value) + 1),
|
|
995
|
+
"aria-valuemax": Number(y.max),
|
|
996
|
+
"aria-valuenow": Number(S.value)
|
|
996
997
|
}));
|
|
997
998
|
function Rr(e) {
|
|
998
|
-
if (!
|
|
999
|
-
let t =
|
|
999
|
+
if (!It.value) return 0;
|
|
1000
|
+
let t = It.value.getBoundingClientRect();
|
|
1000
1001
|
if (!t.width) return 0;
|
|
1001
1002
|
let n = (e - t.left) / t.width;
|
|
1002
|
-
return Math.min(1, Math.max(0, n)) *
|
|
1003
|
+
return Math.min(1, Math.max(0, n)) * F.value.width;
|
|
1003
1004
|
}
|
|
1004
1005
|
function zr(e) {
|
|
1005
|
-
let t = Math.max(0,
|
|
1006
|
+
let t = Math.max(0, L.value - 1), n = Math.max(1, F.value.width), r = Math.min(1, Math.max(0, e / n));
|
|
1006
1007
|
return Math.min(t, Math.max(0, Math.round(r * t)));
|
|
1007
1008
|
}
|
|
1008
1009
|
function Br(e) {
|
|
1009
|
-
let t = Math.min(Math.max(0, e), Math.max(1,
|
|
1010
|
-
if (
|
|
1011
|
-
let e =
|
|
1012
|
-
if (
|
|
1013
|
-
let t = Math.min(e, Number(
|
|
1014
|
-
|
|
1010
|
+
let t = Math.min(Math.max(0, e), Math.max(1, F.value.width));
|
|
1011
|
+
if (y.useValueRange) {
|
|
1012
|
+
let e = Ut(t);
|
|
1013
|
+
if (E.value === "start") {
|
|
1014
|
+
let t = Math.min(e, Number(S.value) - D.value);
|
|
1015
|
+
O.value = t, Yt(t);
|
|
1015
1016
|
return;
|
|
1016
1017
|
}
|
|
1017
|
-
if (
|
|
1018
|
-
let t = Math.max(Number(
|
|
1019
|
-
|
|
1018
|
+
if (E.value === "end") {
|
|
1019
|
+
let t = Math.max(Number(x.value) + D.value, e), n = Math.min(Number(y.max), t);
|
|
1020
|
+
k.value = n, Xt(n);
|
|
1020
1021
|
return;
|
|
1021
1022
|
}
|
|
1022
1023
|
}
|
|
1023
1024
|
let n = zr(t);
|
|
1024
|
-
if (
|
|
1025
|
-
let e = Math.min(
|
|
1026
|
-
|
|
1025
|
+
if (E.value === "start") {
|
|
1026
|
+
let e = Math.min(y.min + n, Number(S.value) - 1);
|
|
1027
|
+
O.value = e, Yt(e);
|
|
1027
1028
|
return;
|
|
1028
1029
|
}
|
|
1029
|
-
if (
|
|
1030
|
-
let e = Math.max(Number(
|
|
1031
|
-
|
|
1030
|
+
if (E.value === "end") {
|
|
1031
|
+
let e = Math.max(Number(x.value) + 1, y.min + n + 1), t = Math.min(y.max, e);
|
|
1032
|
+
k.value = t, Xt(t);
|
|
1032
1033
|
}
|
|
1033
1034
|
}
|
|
1034
1035
|
function Vr(e) {
|
|
1035
|
-
if (!
|
|
1036
|
-
let t = e.clientX -
|
|
1037
|
-
if (!
|
|
1036
|
+
if (!E.value || !P.value) return;
|
|
1037
|
+
let t = e.clientX - Pt.value;
|
|
1038
|
+
if (!Nt.value) {
|
|
1038
1039
|
if (Math.abs(t) < 4) return;
|
|
1039
|
-
|
|
1040
|
+
Nt.value = !0, w.value = !0, Z.value = !0;
|
|
1040
1041
|
}
|
|
1041
|
-
let n = Rr(e.clientX) -
|
|
1042
|
-
Br(
|
|
1042
|
+
let n = Rr(e.clientX) - Ft.value;
|
|
1043
|
+
Br(E.value === "start" ? n + qt.value : n);
|
|
1043
1044
|
}
|
|
1044
1045
|
function Hr() {
|
|
1045
|
-
if (!
|
|
1046
|
+
if (!E.value) return;
|
|
1046
1047
|
window.removeEventListener("mousemove", Vr, !0), window.removeEventListener("mouseup", Hr, !0);
|
|
1047
|
-
let e =
|
|
1048
|
-
|
|
1048
|
+
let e = Nt.value;
|
|
1049
|
+
E.value = null, Nt.value = !1, Pt.value = 0, Ft.value = 0, e && A();
|
|
1049
1050
|
}
|
|
1050
1051
|
function Ur(e, t) {
|
|
1051
|
-
if (!
|
|
1052
|
-
t.preventDefault(), t.stopPropagation(),
|
|
1053
|
-
let n = Rr(t.clientX), r = e === "start" ?
|
|
1054
|
-
|
|
1052
|
+
if (!C.value || !y.minimapCompact || !P.value) return;
|
|
1053
|
+
t.preventDefault(), t.stopPropagation(), W.value = null;
|
|
1054
|
+
let n = Rr(t.clientX), r = e === "start" ? U.value.x - qt.value : U.value.x + U.value.width;
|
|
1055
|
+
E.value = e, Nt.value = !1, Pt.value = t.clientX, Ft.value = n - r, window.addEventListener("mousemove", Vr, !0), window.addEventListener("mouseup", Hr, !0);
|
|
1055
1056
|
}
|
|
1056
|
-
let Wr = u(() =>
|
|
1057
|
+
let Wr = u(() => R.value), Gr = u(() => Math.max(R.value, z.value - 1));
|
|
1057
1058
|
u(() => {
|
|
1058
|
-
if (!
|
|
1059
|
+
if (!C.value || !y.minimapCompact || !y.allMinimaps.length) return [];
|
|
1059
1060
|
let e = Wr.value, t = Gr.value;
|
|
1060
|
-
return
|
|
1061
|
+
return H.value.flatMap((n) => {
|
|
1061
1062
|
if (!n?.isVisible || !["line", "plot"].includes(n.type) || !n.type) return [];
|
|
1062
1063
|
let r = [], i = n.points?.find((t) => t.i === e && t.value !== null), a = n.points?.find((e) => e.i === t && e.value !== null);
|
|
1063
1064
|
return i && r.push({
|
|
@@ -1073,12 +1074,12 @@ var Ce = ["data-minimap"], we = {
|
|
|
1073
1074
|
}), r;
|
|
1074
1075
|
});
|
|
1075
1076
|
});
|
|
1076
|
-
let $ = u(() => Math.min(40, Math.max(20,
|
|
1077
|
-
return
|
|
1078
|
-
setStartValue:
|
|
1079
|
-
setEndValue:
|
|
1077
|
+
let $ = u(() => Math.min(40, Math.max(20, y.handleWidth))), Kr = u(() => U.value.x - $.value), qr = u(() => U.value.x + U.value.width);
|
|
1078
|
+
return kt({
|
|
1079
|
+
setStartValue: Wn,
|
|
1080
|
+
setEndValue: Kn
|
|
1080
1081
|
}), (e, t) => (g(), f("div", {
|
|
1081
|
-
"data-minimap":
|
|
1082
|
+
"data-minimap": C.value,
|
|
1082
1083
|
"data-dom-to-png-ignore": "",
|
|
1083
1084
|
"data-dom-to-png-ignore-layout": "",
|
|
1084
1085
|
style: h([{ padding: "0 48px" }, {
|
|
@@ -1087,43 +1088,43 @@ var Ce = ["data-minimap"], we = {
|
|
|
1087
1088
|
}]),
|
|
1088
1089
|
class: "vue-data-ui-zoom",
|
|
1089
1090
|
ref_key: "zoomWrapper",
|
|
1090
|
-
ref:
|
|
1091
|
+
ref: b,
|
|
1091
1092
|
onMousedown: or,
|
|
1092
1093
|
onTouchstart: or
|
|
1093
|
-
}, [p("div",
|
|
1094
|
+
}, [p("div", Te, [s.valueStart !== s.refreshStartPoint || s.valueEnd !== Zt.value ? (g(), f("div", Ee, [he(e.$slots, "reset-action", { reset: cn }, () => [p("button", {
|
|
1094
1095
|
tabindex: "0",
|
|
1095
1096
|
role: "button",
|
|
1096
1097
|
class: "vue-data-ui-refresh-button",
|
|
1097
1098
|
style: h({
|
|
1098
|
-
top:
|
|
1099
|
+
top: C.value ? "36px" : "-16px",
|
|
1099
1100
|
cursor: s.isCursorPointer ? "pointer" : "default"
|
|
1100
1101
|
}),
|
|
1101
|
-
onClick:
|
|
1102
|
+
onClick: cn
|
|
1102
1103
|
}, [ce(oe, {
|
|
1103
1104
|
name: "refresh",
|
|
1104
1105
|
stroke: s.textColor
|
|
1105
1106
|
}, null, 8, ["stroke"])], 4)], !0)])) : d("", !0)]), p("div", {
|
|
1106
1107
|
class: "double-range-slider",
|
|
1107
1108
|
ref_key: "minimapWrapper",
|
|
1108
|
-
ref:
|
|
1109
|
-
style: h([{ "z-index": "0" },
|
|
1110
|
-
"--minimap-unit-px":
|
|
1111
|
-
"--minimap-offset-px": (s.minimapCompact ? 0 :
|
|
1109
|
+
ref: P,
|
|
1110
|
+
style: h([{ "z-index": "0" }, C.value ? {
|
|
1111
|
+
"--minimap-unit-px": B.value + "px",
|
|
1112
|
+
"--minimap-offset-px": (s.minimapCompact ? 0 : B.value / 2) + "px"
|
|
1112
1113
|
} : void 0]),
|
|
1113
1114
|
onMouseenter: t[18] ||= (e) => Z.value = !0,
|
|
1114
1115
|
onMouseleave: t[19] ||= (e) => Z.value = !1
|
|
1115
1116
|
}, [
|
|
1116
|
-
|
|
1117
|
+
C.value ? (g(), f("div", De, [(g(), f("svg", {
|
|
1117
1118
|
ref_key: "minimapSvg",
|
|
1118
|
-
ref:
|
|
1119
|
+
ref: It,
|
|
1119
1120
|
key: `mm-${s.minimapMerged ? "merged" : "split"}-${s.minimapCompact ? "compact" : "normal"}`,
|
|
1120
|
-
xmlns: _e(
|
|
1121
|
-
viewBox: `0 0 ${Math.max(0,
|
|
1121
|
+
xmlns: _e(ne),
|
|
1122
|
+
viewBox: `0 0 ${Math.max(0, F.value.width)} ${Math.max(0, F.value.height)}`,
|
|
1122
1123
|
preserveAspectRatio: "none"
|
|
1123
1124
|
}, [
|
|
1124
1125
|
p("defs", null, [ce(se, {
|
|
1125
1126
|
t: "linear",
|
|
1126
|
-
id:
|
|
1127
|
+
id: Mt.value,
|
|
1127
1128
|
x1: "0%",
|
|
1128
1129
|
y1: "0%",
|
|
1129
1130
|
x2: "0%",
|
|
@@ -1137,160 +1138,160 @@ var Ce = ["data-minimap"], we = {
|
|
|
1137
1138
|
"transparent",
|
|
1138
1139
|
0
|
|
1139
1140
|
]]
|
|
1140
|
-
}, null, 8, ["id", "stops"]), p("clipPath", { id: `selection_clip_${
|
|
1141
|
-
x:
|
|
1141
|
+
}, null, 8, ["id", "stops"]), p("clipPath", { id: `selection_clip_${Mt.value}` }, [p("rect", {
|
|
1142
|
+
x: U.value.x,
|
|
1142
1143
|
y: "0",
|
|
1143
|
-
width: Math.max(0,
|
|
1144
|
-
height: Math.max(
|
|
1145
|
-
}, null, 8,
|
|
1144
|
+
width: Math.max(0, U.value.width),
|
|
1145
|
+
height: Math.max(F.value.height, 0)
|
|
1146
|
+
}, null, 8, Ae)], 8, ke)]),
|
|
1146
1147
|
s.minimapCompact ? (g(), f("rect", {
|
|
1147
1148
|
key: 0,
|
|
1148
1149
|
class: "vue-ui-zoom-minimap-frame",
|
|
1149
1150
|
x: 0,
|
|
1150
1151
|
y: 0,
|
|
1151
|
-
width:
|
|
1152
|
-
height:
|
|
1152
|
+
width: F.value.width,
|
|
1153
|
+
height: F.value.height,
|
|
1153
1154
|
fill: "none",
|
|
1154
1155
|
stroke: s.minimapFrameColor,
|
|
1155
1156
|
rx: 3
|
|
1156
|
-
}, null, 8,
|
|
1157
|
+
}, null, 8, je)) : d("", !0),
|
|
1157
1158
|
e.$slots.slotMap ? d("", !0) : (g(), f(l, { key: 1 }, [s.minimapMerged ? (g(), f("path", {
|
|
1158
1159
|
key: 0,
|
|
1159
|
-
d: `M${
|
|
1160
|
+
d: `M${V.value.fullSet}`,
|
|
1160
1161
|
stroke: `${s.minimapLineColor}`,
|
|
1161
1162
|
fill: "none",
|
|
1162
1163
|
"stroke-width": "1",
|
|
1163
1164
|
"stroke-linecap": "round",
|
|
1164
1165
|
"stroke-linejoin": "round",
|
|
1165
1166
|
style: { opacity: "0.6" }
|
|
1166
|
-
}, null, 8,
|
|
1167
|
+
}, null, 8, Me)) : d("", !0), s.minimapMerged && !s.minimapCompact ? (g(), f("path", {
|
|
1167
1168
|
key: 1,
|
|
1168
|
-
d: `M${
|
|
1169
|
-
fill: `url(#${
|
|
1169
|
+
d: `M${B.value / 2},${Math.max(F.value.height, 0)} ${V.value.fullSet} L${F.value.width - B.value / 2},${Math.max(F.value.height, 0)}Z`,
|
|
1170
|
+
fill: `url(#${Mt.value})`,
|
|
1170
1171
|
stroke: "none",
|
|
1171
1172
|
style: { opacity: "0.6" }
|
|
1172
|
-
}, null, 8,
|
|
1173
|
-
(g(!0), f(l, null, v(
|
|
1173
|
+
}, null, 8, Ne)) : s.minimapMerged ? d("", !0) : (g(), f(l, { key: 2 }, [
|
|
1174
|
+
(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", {
|
|
1174
1175
|
key: 0,
|
|
1175
|
-
x:
|
|
1176
|
+
x: gn(n.x, t, r),
|
|
1176
1177
|
y: n.v >= 0 ? n.y : n.y0,
|
|
1177
|
-
width:
|
|
1178
|
+
width: _n(t, r),
|
|
1178
1179
|
height: n.v >= 0 ? n.y0 - n.y : n.y - n.y0,
|
|
1179
1180
|
fill: e.color,
|
|
1180
1181
|
style: { opacity: .6 }
|
|
1181
|
-
}, null, 8,
|
|
1182
|
-
(g(!0), f(l, null, v(
|
|
1182
|
+
}, null, 8, Pe)) : d("", !0)], 64))), 256))]))), 256)),
|
|
1183
|
+
(g(!0), f(l, null, v(H.value.filter((e) => e.type === "line"), (e) => (g(), f("g", null, [e.isVisible ? (g(), f("path", {
|
|
1183
1184
|
key: 0,
|
|
1184
1185
|
d: `M ${e.fullSet}`,
|
|
1185
1186
|
fill: "none",
|
|
1186
1187
|
stroke: e.color,
|
|
1187
1188
|
style: { opacity: "0.6" },
|
|
1188
1189
|
"stroke-dasharray": e.dashed ? "2 4" : 0
|
|
1189
|
-
}, null, 8,
|
|
1190
|
+
}, null, 8, Fe)) : d("", !0), e.isVisible && s.cutNullValues ? (g(!0), f(l, { key: 1 }, v(e.fullMarkers, (t) => (g(), f("circle", {
|
|
1190
1191
|
key: `sel-dot-under-${e.key}-${t.i}`,
|
|
1191
1192
|
cx: t.x,
|
|
1192
1193
|
cy: t.y,
|
|
1193
1194
|
r: "2",
|
|
1194
1195
|
fill: e.color,
|
|
1195
|
-
stroke:
|
|
1196
|
+
stroke: N.value,
|
|
1196
1197
|
"stroke-width": "0.5",
|
|
1197
1198
|
style: { opacity: "0.6" }
|
|
1198
|
-
}, null, 8,
|
|
1199
|
-
(g(!0), f(l, null, v(
|
|
1199
|
+
}, null, 8, Ie))), 128)) : d("", !0)]))), 256)),
|
|
1200
|
+
(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", {
|
|
1200
1201
|
key: `sel-plot-under-${e.key}-${t.i}`,
|
|
1201
1202
|
cx: t.x,
|
|
1202
1203
|
cy: t.y,
|
|
1203
1204
|
r: "2",
|
|
1204
1205
|
fill: e.color,
|
|
1205
|
-
stroke:
|
|
1206
|
+
stroke: N.value,
|
|
1206
1207
|
"stroke-width": "0.5",
|
|
1207
1208
|
style: { opacity: "0.6" }
|
|
1208
|
-
}, null, 8,
|
|
1209
|
+
}, null, 8, Le)) : d("", !0)]))), 256))]))), 256))
|
|
1209
1210
|
], 64))], 64)),
|
|
1210
1211
|
p("rect", {
|
|
1211
|
-
x:
|
|
1212
|
+
x: U.value.x,
|
|
1212
1213
|
y: 0,
|
|
1213
|
-
width: Math.max(0,
|
|
1214
|
-
height: Math.max(
|
|
1215
|
-
fill:
|
|
1214
|
+
width: Math.max(0, U.value.width),
|
|
1215
|
+
height: Math.max(F.value.height, 0),
|
|
1216
|
+
fill: N.value,
|
|
1216
1217
|
rx: s.minimapSelectionRadius,
|
|
1217
1218
|
stroke: "none"
|
|
1218
|
-
}, null, 8,
|
|
1219
|
+
}, null, 8, Re),
|
|
1219
1220
|
p("rect", {
|
|
1220
|
-
x:
|
|
1221
|
+
x: U.value.x,
|
|
1221
1222
|
y: 0,
|
|
1222
|
-
width:
|
|
1223
|
-
height: Math.max(
|
|
1223
|
+
width: U.value.width < 0 ? 0 : U.value.width,
|
|
1224
|
+
height: Math.max(F.value.height, 0),
|
|
1224
1225
|
rx: s.minimapSelectionRadius,
|
|
1225
|
-
fill:
|
|
1226
|
-
style: h({ opacity:
|
|
1227
|
-
}, null, 12,
|
|
1226
|
+
fill: N.value,
|
|
1227
|
+
style: h({ opacity: G.value || w.value ? 0 : 1 })
|
|
1228
|
+
}, null, 12, ze),
|
|
1228
1229
|
p("rect", {
|
|
1229
|
-
x:
|
|
1230
|
+
x: U.value.x,
|
|
1230
1231
|
y: 0,
|
|
1231
|
-
width:
|
|
1232
|
-
height: Math.max(
|
|
1232
|
+
width: U.value.width < 0 ? 0 : U.value.width,
|
|
1233
|
+
height: Math.max(F.value.height, 0),
|
|
1233
1234
|
fill: s.minimapSelectedColor,
|
|
1234
1235
|
rx: s.minimapSelectionRadius,
|
|
1235
1236
|
style: h({ opacity: s.minimapSelectedColorOpacity }),
|
|
1236
1237
|
tabindex: "0",
|
|
1237
1238
|
role: "slider",
|
|
1238
1239
|
"aria-label": "Selected range",
|
|
1239
|
-
"aria-valuemin": Number(
|
|
1240
|
-
"aria-valuemax": Number(
|
|
1241
|
-
"aria-valuenow": Number(
|
|
1240
|
+
"aria-valuemin": Number(y.min),
|
|
1241
|
+
"aria-valuemax": Number(y.max),
|
|
1242
|
+
"aria-valuenow": Number(x.value),
|
|
1242
1243
|
"aria-valuetext": Q.value.left && Q.value.right ? `${Q.value.left} – ${Q.value.right}` : void 0,
|
|
1243
1244
|
onKeydown: Mr
|
|
1244
|
-
}, null, 44,
|
|
1245
|
-
!s.minimapMerged &&
|
|
1245
|
+
}, null, 44, Be),
|
|
1246
|
+
!s.minimapMerged && Tn.value < 0 ? (g(), f("line", {
|
|
1246
1247
|
key: 2,
|
|
1247
1248
|
class: "slicer-minimap-zero-line",
|
|
1248
1249
|
x1: 0,
|
|
1249
|
-
x2:
|
|
1250
|
-
y1:
|
|
1251
|
-
y2:
|
|
1250
|
+
x2: F.value.width,
|
|
1251
|
+
y1: Dn.value,
|
|
1252
|
+
y2: Dn.value,
|
|
1252
1253
|
stroke: s.minimapFrameColor,
|
|
1253
1254
|
"stroke-width": "0.5"
|
|
1254
|
-
}, null, 8,
|
|
1255
|
-
e.$slots.slotMap ? d("", !0) : (g(), f(l, { key: 3 }, [s.minimapMerged ? (g(), f("g",
|
|
1256
|
-
|
|
1255
|
+
}, null, 8, Ve)) : d("", !0),
|
|
1256
|
+
e.$slots.slotMap ? d("", !0) : (g(), f(l, { key: 3 }, [s.minimapMerged ? (g(), f("g", He, [
|
|
1257
|
+
V.value && V.value.sliced && V.value.sliced.length ? (g(), f(l, { key: 0 }, [V.value.selectionSet ? (g(), f("path", {
|
|
1257
1258
|
key: 0,
|
|
1258
|
-
d: `M ${
|
|
1259
|
+
d: `M ${V.value.selectionSet}`,
|
|
1259
1260
|
stroke: `${s.minimapLineColor}`,
|
|
1260
1261
|
fill: "transparent",
|
|
1261
1262
|
"stroke-width": "2",
|
|
1262
1263
|
"stroke-linecap": "round",
|
|
1263
1264
|
"stroke-linejoin": "round"
|
|
1264
|
-
}, null, 8,
|
|
1265
|
-
|
|
1265
|
+
}, null, 8, Ue)) : d("", !0)], 64)) : d("", !0),
|
|
1266
|
+
V.value && V.value.firstPlot ? (g(), f("circle", {
|
|
1266
1267
|
key: 1,
|
|
1267
|
-
cx:
|
|
1268
|
-
cy:
|
|
1268
|
+
cx: V.value.firstPlot.x,
|
|
1269
|
+
cy: V.value.firstPlot.y,
|
|
1269
1270
|
"stroke-width": "0.5",
|
|
1270
|
-
stroke:
|
|
1271
|
+
stroke: N.value,
|
|
1271
1272
|
r: "3",
|
|
1272
1273
|
fill: s.minimapLineColor
|
|
1273
|
-
}, null, 8,
|
|
1274
|
-
|
|
1274
|
+
}, null, 8, We)) : d("", !0),
|
|
1275
|
+
V.value && V.value.lastPlot ? (g(), f("circle", {
|
|
1275
1276
|
key: 2,
|
|
1276
|
-
cx:
|
|
1277
|
-
cy:
|
|
1277
|
+
cx: V.value.lastPlot.x,
|
|
1278
|
+
cy: V.value.lastPlot.y,
|
|
1278
1279
|
"stroke-width": "0.5",
|
|
1279
|
-
stroke:
|
|
1280
|
+
stroke: N.value,
|
|
1280
1281
|
r: "3",
|
|
1281
1282
|
fill: s.minimapLineColor
|
|
1282
|
-
}, null, 8,
|
|
1283
|
-
])) : (g(), f("g",
|
|
1284
|
-
(g(!0), f(l, null, v(
|
|
1283
|
+
}, null, 8, Ge)) : d("", !0)
|
|
1284
|
+
])) : (g(), f("g", Ke, [
|
|
1285
|
+
(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", {
|
|
1285
1286
|
key: 0,
|
|
1286
|
-
x:
|
|
1287
|
+
x: gn(n.x, t, r),
|
|
1287
1288
|
y: n.v >= 0 ? n.y : n.y0,
|
|
1288
|
-
width:
|
|
1289
|
+
width: _n(t, r),
|
|
1289
1290
|
height: n.v >= 0 ? n.y0 - n.y : n.y - n.y0,
|
|
1290
1291
|
fill: e.color,
|
|
1291
|
-
style: h({ opacity: +(r >=
|
|
1292
|
-
}, null, 12,
|
|
1293
|
-
(g(!0), f(l, null, v(
|
|
1292
|
+
style: h({ opacity: +(r >= O.value && r < k.value) })
|
|
1293
|
+
}, null, 12, qe)) : d("", !0)], 64))), 256))]))), 256)),
|
|
1294
|
+
(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", {
|
|
1294
1295
|
key: 0,
|
|
1295
1296
|
d: `M ${e.selectionSet}`,
|
|
1296
1297
|
stroke: e.temperatureColors ? `url(#temperature_grad_line_${t}_${s.uuid})` : e.color,
|
|
@@ -1299,49 +1300,49 @@ var Ce = ["data-minimap"], we = {
|
|
|
1299
1300
|
"stroke-linecap": "round",
|
|
1300
1301
|
"stroke-linejoin": "round",
|
|
1301
1302
|
"stroke-dasharray": e.dashed ? "2 4" : 0
|
|
1302
|
-
}, null, 8,
|
|
1303
|
-
(g(!0), f(l, null, v(
|
|
1303
|
+
}, null, 8, Je)) : d("", !0)]))), 128)),
|
|
1304
|
+
(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", {
|
|
1304
1305
|
key: 0,
|
|
1305
1306
|
cx: t.x,
|
|
1306
1307
|
cy: t.y,
|
|
1307
1308
|
r: "2",
|
|
1308
1309
|
fill: e.color,
|
|
1309
|
-
stroke:
|
|
1310
|
+
stroke: N.value,
|
|
1310
1311
|
"stroke-width": "0.5",
|
|
1311
1312
|
style: { opacity: "0.6" }
|
|
1312
|
-
}, null, 8,
|
|
1313
|
+
}, null, 8, Ye)) : d("", !0)]))), 256))]))), 128))
|
|
1313
1314
|
]))], 64)),
|
|
1314
1315
|
e.$slots.slotMap ? he(e.$slots, "slotMap", de(le({ key: 4 }, {
|
|
1315
|
-
width: Math.max(0,
|
|
1316
|
-
height: Math.max(0,
|
|
1317
|
-
zeroY:
|
|
1318
|
-
unitW: Math.max(0,
|
|
1316
|
+
width: Math.max(0, F.value.width),
|
|
1317
|
+
height: Math.max(0, F.value.height),
|
|
1318
|
+
zeroY: Dn.value,
|
|
1319
|
+
unitW: Math.max(0, B.value)
|
|
1319
1320
|
})), void 0, !0) : d("", !0),
|
|
1320
|
-
|
|
1321
|
+
W.value !== null && !X.value ? (g(), f("line", de(le({ key: 5 }, Cr.value)), null, 16)) : d("", !0),
|
|
1321
1322
|
p("rect", {
|
|
1322
1323
|
x: 0,
|
|
1323
1324
|
y: 0,
|
|
1324
|
-
width: Math.max(0,
|
|
1325
|
-
height: Math.max(0,
|
|
1325
|
+
width: Math.max(0, F.value.width),
|
|
1326
|
+
height: Math.max(0, F.value.height),
|
|
1326
1327
|
fill: "transparent",
|
|
1327
1328
|
style: h([{ "pointer-events": "all !important" }, { cursor: s.enableSelectionDrag ? X.value ? "grabbing" : "grab" : "default" }]),
|
|
1328
1329
|
onMousedown: t[0] ||= (e) => X.value = !0,
|
|
1329
1330
|
onMouseup: t[1] ||= (e) => X.value = !1,
|
|
1330
|
-
onMousemove:
|
|
1331
|
-
onMouseleave:
|
|
1332
|
-
}, null, 44,
|
|
1333
|
-
|
|
1331
|
+
onMousemove: Rn,
|
|
1332
|
+
onMouseleave: zn
|
|
1333
|
+
}, null, 44, Xe),
|
|
1334
|
+
C.value && s.minimapCompact ? (g(), f(l, { key: 6 }, [
|
|
1334
1335
|
p("rect", {
|
|
1335
1336
|
class: "vue-ui-zoom-compact-minimap-handle",
|
|
1336
1337
|
x: Kr.value,
|
|
1337
1338
|
y: 0,
|
|
1338
1339
|
width: $.value,
|
|
1339
|
-
height:
|
|
1340
|
-
fill: s.handleFill ||
|
|
1340
|
+
height: F.value.height,
|
|
1341
|
+
fill: s.handleFill || N.value,
|
|
1341
1342
|
stroke: s.handleBorderColor || s.textColor,
|
|
1342
1343
|
"stroke-width": s.handleBorderWidth,
|
|
1343
1344
|
rx: 3
|
|
1344
|
-
}, null, 8,
|
|
1345
|
+
}, null, 8, Ze),
|
|
1345
1346
|
s.handleType && s.handleType !== "empty" ? (g(), f("g", {
|
|
1346
1347
|
key: 0,
|
|
1347
1348
|
class: "compact-handle-icon",
|
|
@@ -1349,18 +1350,18 @@ var Ce = ["data-minimap"], we = {
|
|
|
1349
1350
|
style: { "pointer-events": "none" }
|
|
1350
1351
|
}, [(g(), f("svg", {
|
|
1351
1352
|
width: $.value,
|
|
1352
|
-
height:
|
|
1353
|
+
height: F.value.height,
|
|
1353
1354
|
viewBox: "0 0 20 20",
|
|
1354
1355
|
preserveAspectRatio: "xMidYMid meet"
|
|
1355
1356
|
}, [s.handleType === "arrow" ? (g(), f("path", {
|
|
1356
1357
|
key: 0,
|
|
1357
1358
|
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",
|
|
1358
|
-
fill:
|
|
1359
|
+
fill: N.value,
|
|
1359
1360
|
stroke: s.handleIconColor || s.textColor,
|
|
1360
1361
|
"stroke-width": .618,
|
|
1361
1362
|
"stroke-linejoin": "round",
|
|
1362
1363
|
"stroke-linecap": "round"
|
|
1363
|
-
}, null, 8,
|
|
1364
|
+
}, null, 8, et)) : s.handleType === "chevron" ? (g(), f("path", {
|
|
1364
1365
|
key: 1,
|
|
1365
1366
|
d: "M 6 7 L 4 10 L 6 13 M 14 7 L 16 10 L 14 13",
|
|
1366
1367
|
fill: "none",
|
|
@@ -1368,24 +1369,24 @@ var Ce = ["data-minimap"], we = {
|
|
|
1368
1369
|
"stroke-width": .618,
|
|
1369
1370
|
"stroke-linejoin": "round",
|
|
1370
1371
|
"stroke-linecap": "round"
|
|
1371
|
-
}, null, 8,
|
|
1372
|
+
}, null, 8, tt)) : s.handleType === "grab" ? (g(), f("path", {
|
|
1372
1373
|
key: 2,
|
|
1373
1374
|
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",
|
|
1374
1375
|
fill: s.handleIconColor || s.textColor,
|
|
1375
1376
|
stroke: "none",
|
|
1376
1377
|
opacity: "0.6"
|
|
1377
|
-
}, null, 8,
|
|
1378
|
+
}, null, 8, nt)) : d("", !0)], 8, $e))], 8, Qe)) : d("", !0),
|
|
1378
1379
|
p("rect", {
|
|
1379
1380
|
class: "vue-ui-zoom-compact-minimap-handle",
|
|
1380
1381
|
x: qr.value,
|
|
1381
1382
|
y: 0,
|
|
1382
1383
|
width: $.value,
|
|
1383
|
-
height:
|
|
1384
|
-
fill: s.handleFill ||
|
|
1384
|
+
height: F.value.height,
|
|
1385
|
+
fill: s.handleFill || N.value,
|
|
1385
1386
|
stroke: s.handleBorderColor || s.textColor,
|
|
1386
1387
|
"stroke-width": s.handleBorderWidth,
|
|
1387
1388
|
rx: 3
|
|
1388
|
-
}, null, 8,
|
|
1389
|
+
}, null, 8, rt),
|
|
1389
1390
|
s.handleType && s.handleType !== "empty" ? (g(), f("g", {
|
|
1390
1391
|
key: 1,
|
|
1391
1392
|
class: "compact-handle-icon",
|
|
@@ -1393,18 +1394,18 @@ var Ce = ["data-minimap"], we = {
|
|
|
1393
1394
|
style: { "pointer-events": "none" }
|
|
1394
1395
|
}, [(g(), f("svg", {
|
|
1395
1396
|
width: $.value,
|
|
1396
|
-
height:
|
|
1397
|
+
height: F.value.height,
|
|
1397
1398
|
viewBox: "0 0 20 20",
|
|
1398
1399
|
preserveAspectRatio: "xMidYMid meet"
|
|
1399
1400
|
}, [s.handleType === "arrow" ? (g(), f("path", {
|
|
1400
1401
|
key: 0,
|
|
1401
1402
|
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",
|
|
1402
|
-
fill:
|
|
1403
|
+
fill: N.value,
|
|
1403
1404
|
stroke: s.handleIconColor || s.textColor,
|
|
1404
1405
|
"stroke-width": .618,
|
|
1405
1406
|
"stroke-linejoin": "round",
|
|
1406
1407
|
"stroke-linecap": "round"
|
|
1407
|
-
}, null, 8,
|
|
1408
|
+
}, null, 8, ot)) : s.handleType === "chevron" ? (g(), f("path", {
|
|
1408
1409
|
key: 1,
|
|
1409
1410
|
d: "M 6 7 L 4 10 L 6 13 M 14 7 L 16 10 L 14 13",
|
|
1410
1411
|
fill: "none",
|
|
@@ -1412,48 +1413,48 @@ var Ce = ["data-minimap"], we = {
|
|
|
1412
1413
|
"stroke-width": .618,
|
|
1413
1414
|
"stroke-linejoin": "round",
|
|
1414
1415
|
"stroke-linecap": "round"
|
|
1415
|
-
}, null, 8,
|
|
1416
|
+
}, null, 8, st)) : s.handleType === "grab" ? (g(), f("path", {
|
|
1416
1417
|
key: 2,
|
|
1417
1418
|
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",
|
|
1418
1419
|
fill: s.handleIconColor || s.textColor,
|
|
1419
1420
|
stroke: "none",
|
|
1420
1421
|
opacity: "0.6"
|
|
1421
|
-
}, null, 8,
|
|
1422
|
+
}, null, 8, ct)) : d("", !0)], 8, at))], 8, it)) : d("", !0)
|
|
1422
1423
|
], 64)) : d("", !0),
|
|
1423
|
-
e.$slots.slotMap ? d("", !0) : (g(), f(l, { key: 7 }, [s.minimapMerged ? (g(), f("g",
|
|
1424
|
-
|
|
1424
|
+
e.$slots.slotMap ? d("", !0) : (g(), f(l, { key: 7 }, [s.minimapMerged ? (g(), f("g", lt, [
|
|
1425
|
+
V.value && V.value.firstPlot && V.value.firstPlot.value !== null ? (g(), f("circle", {
|
|
1425
1426
|
key: 0,
|
|
1426
|
-
cx:
|
|
1427
|
-
cy:
|
|
1427
|
+
cx: V.value.firstPlot.x,
|
|
1428
|
+
cy: V.value.firstPlot.y,
|
|
1428
1429
|
"stroke-width": "0.5",
|
|
1429
|
-
stroke:
|
|
1430
|
+
stroke: N.value,
|
|
1430
1431
|
r: "4",
|
|
1431
1432
|
fill: s.minimapLineColor
|
|
1432
|
-
}, null, 8,
|
|
1433
|
-
|
|
1433
|
+
}, null, 8, ut)) : d("", !0),
|
|
1434
|
+
V.value && V.value.firstPlot && V.value.firstPlot.value !== null ? (g(), f("circle", {
|
|
1434
1435
|
key: 1,
|
|
1435
|
-
cx:
|
|
1436
|
-
cy:
|
|
1436
|
+
cx: V.value.firstPlot.x,
|
|
1437
|
+
cy: V.value.firstPlot.y,
|
|
1437
1438
|
r: 2,
|
|
1438
|
-
fill:
|
|
1439
|
-
}, null, 8,
|
|
1440
|
-
|
|
1439
|
+
fill: N.value
|
|
1440
|
+
}, null, 8, dt)) : d("", !0),
|
|
1441
|
+
V.value && V.value.lastPlot && V.value.lastPlot.value !== null ? (g(), f("circle", {
|
|
1441
1442
|
key: 2,
|
|
1442
|
-
cx:
|
|
1443
|
-
cy:
|
|
1443
|
+
cx: V.value.lastPlot.x,
|
|
1444
|
+
cy: V.value.lastPlot.y,
|
|
1444
1445
|
"stroke-width": "0.5",
|
|
1445
|
-
stroke:
|
|
1446
|
+
stroke: N.value,
|
|
1446
1447
|
r: "4",
|
|
1447
1448
|
fill: s.minimapLineColor
|
|
1448
|
-
}, null, 8,
|
|
1449
|
-
|
|
1449
|
+
}, null, 8, ft)) : d("", !0),
|
|
1450
|
+
V.value && V.value.lastPlot && V.value.lastPlot.value !== null ? (g(), f("circle", {
|
|
1450
1451
|
key: 3,
|
|
1451
|
-
cx:
|
|
1452
|
-
cy:
|
|
1452
|
+
cx: V.value.lastPlot.x,
|
|
1453
|
+
cy: V.value.lastPlot.y,
|
|
1453
1454
|
r: "2",
|
|
1454
|
-
fill:
|
|
1455
|
-
}, null, 8,
|
|
1456
|
-
])) : (g(), f("g",
|
|
1455
|
+
fill: N.value
|
|
1456
|
+
}, null, 8, pt)) : d("", !0)
|
|
1457
|
+
])) : (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) }, [
|
|
1457
1458
|
e && e.hasSelection && e.selectionSet && e.isVisible ? (g(), f("path", {
|
|
1458
1459
|
key: 0,
|
|
1459
1460
|
d: `M ${e.selectionSet}`,
|
|
@@ -1463,61 +1464,61 @@ var Ce = ["data-minimap"], we = {
|
|
|
1463
1464
|
"stroke-linecap": "round",
|
|
1464
1465
|
"stroke-linejoin": "round",
|
|
1465
1466
|
"stroke-dasharray": e.dashed ? "2 4" : 0
|
|
1466
|
-
}, null, 8,
|
|
1467
|
+
}, null, 8, ht)) : d("", !0),
|
|
1467
1468
|
e.isVisible && s.cutNullValues ? (g(!0), f(l, { key: 1 }, v(e.selectionMarkers, (t) => (g(), f("circle", {
|
|
1468
1469
|
key: `sel-dot-${e.key}-${t.i}`,
|
|
1469
1470
|
cx: t.x,
|
|
1470
1471
|
cy: t.y,
|
|
1471
1472
|
r: "2.5",
|
|
1472
1473
|
fill: e.color,
|
|
1473
|
-
stroke:
|
|
1474
|
+
stroke: N.value,
|
|
1474
1475
|
"stroke-width": "0.5"
|
|
1475
|
-
}, null, 8,
|
|
1476
|
+
}, null, 8, gt))), 128)) : d("", !0),
|
|
1476
1477
|
e && e.firstPlot && e.isVisible && e.firstPlot.value !== null ? (g(), f("circle", {
|
|
1477
1478
|
key: 2,
|
|
1478
1479
|
cx: e.firstPlot.x,
|
|
1479
1480
|
cy: e.firstPlot.y,
|
|
1480
1481
|
"stroke-width": "0.5",
|
|
1481
|
-
stroke:
|
|
1482
|
+
stroke: N.value,
|
|
1482
1483
|
r: "4",
|
|
1483
1484
|
fill: e.color
|
|
1484
|
-
}, null, 8,
|
|
1485
|
+
}, null, 8, _t)) : d("", !0),
|
|
1485
1486
|
e && e.firstPlot && e.isVisible && e.firstPlot.value !== null ? (g(), f("circle", {
|
|
1486
1487
|
key: 3,
|
|
1487
1488
|
cx: e.firstPlot.x,
|
|
1488
1489
|
cy: e.firstPlot.y,
|
|
1489
1490
|
r: "2",
|
|
1490
|
-
fill:
|
|
1491
|
-
}, null, 8,
|
|
1491
|
+
fill: N.value
|
|
1492
|
+
}, null, 8, vt)) : d("", !0),
|
|
1492
1493
|
e && e.lastPlot && e.isVisible && e.lastPlot.value !== null ? (g(), f("circle", {
|
|
1493
1494
|
key: 4,
|
|
1494
1495
|
cx: e.lastPlot.x,
|
|
1495
1496
|
cy: e.lastPlot.y,
|
|
1496
1497
|
"stroke-width": "0.5",
|
|
1497
|
-
stroke:
|
|
1498
|
+
stroke: N.value,
|
|
1498
1499
|
r: "4",
|
|
1499
1500
|
fill: e.color
|
|
1500
|
-
}, null, 8,
|
|
1501
|
+
}, null, 8, yt)) : d("", !0),
|
|
1501
1502
|
e && e.lastPlot && e.isVisible && e.lastPlot.value !== null ? (g(), f("circle", {
|
|
1502
1503
|
key: 5,
|
|
1503
1504
|
cx: e.lastPlot.x,
|
|
1504
1505
|
cy: e.lastPlot.y,
|
|
1505
1506
|
r: "2",
|
|
1506
|
-
fill:
|
|
1507
|
-
}, null, 8,
|
|
1508
|
-
]))), 128)), (g(!0), f(l, null, v(
|
|
1507
|
+
fill: N.value
|
|
1508
|
+
}, null, 8, bt)) : d("", !0)
|
|
1509
|
+
]))), 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", {
|
|
1509
1510
|
key: `sel-plot-${e.key}-${t.i}`,
|
|
1510
1511
|
cx: t.x,
|
|
1511
1512
|
cy: t.y,
|
|
1512
1513
|
r: "2.5",
|
|
1513
1514
|
fill: e.color,
|
|
1514
|
-
stroke:
|
|
1515
|
+
stroke: N.value,
|
|
1515
1516
|
"stroke-width": "0.5"
|
|
1516
|
-
}, null, 8,
|
|
1517
|
-
], 8,
|
|
1517
|
+
}, null, 8, xt)) : d("", !0)]))), 256))]))), 128))]))], 64))
|
|
1518
|
+
], 8, Oe))])) : d("", !0),
|
|
1518
1519
|
p("div", {
|
|
1519
1520
|
class: "slider-track",
|
|
1520
|
-
style: h({ visibility:
|
|
1521
|
+
style: h({ visibility: C.value && s.minimapCompact ? "hidden" : "visible" })
|
|
1521
1522
|
}, null, 4),
|
|
1522
1523
|
p("div", {
|
|
1523
1524
|
class: m({
|
|
@@ -1527,100 +1528,100 @@ var Ce = ["data-minimap"], we = {
|
|
|
1527
1528
|
onMousedown: t[2] ||= (e) => X.value = !0,
|
|
1528
1529
|
onMouseup: t[3] ||= (e) => X.value = !1,
|
|
1529
1530
|
style: h({
|
|
1530
|
-
...
|
|
1531
|
+
...M.value,
|
|
1531
1532
|
cursor: X.value ? "grabbing" : "grab",
|
|
1532
|
-
visibility:
|
|
1533
|
+
visibility: C.value && s.minimapCompact ? "hidden" : "visible"
|
|
1533
1534
|
})
|
|
1534
1535
|
}, null, 38),
|
|
1535
|
-
s.enableRangeHandles ?
|
|
1536
|
+
s.enableRangeHandles ? xe((g(), f("input", {
|
|
1536
1537
|
key: 1,
|
|
1537
1538
|
"aria-label": "range-handle-left",
|
|
1538
1539
|
ref_key: "rangeStart",
|
|
1539
|
-
ref:
|
|
1540
|
+
ref: Bn,
|
|
1540
1541
|
type: "range",
|
|
1541
1542
|
step: s.precision > 0 ? 1 / 10 ** s.precision : 1,
|
|
1542
1543
|
class: m({
|
|
1543
1544
|
"range-left": !0,
|
|
1544
1545
|
"range-handle": !0,
|
|
1545
|
-
"range-minimap":
|
|
1546
|
-
"range-invisible":
|
|
1546
|
+
"range-minimap": C.value && s.verticalHandles,
|
|
1547
|
+
"range-invisible": C.value && s.minimapCompact
|
|
1547
1548
|
}),
|
|
1548
1549
|
min: s.min,
|
|
1549
|
-
max: s.minimapCompact &&
|
|
1550
|
-
tabindex:
|
|
1551
|
-
"onUpdate:modelValue": t[4] ||= (e) =>
|
|
1552
|
-
onFocus: t[5] ||= (e) =>
|
|
1553
|
-
onInput: t[6] ||= (e) =>
|
|
1554
|
-
onChange:
|
|
1555
|
-
onKeyup:
|
|
1556
|
-
onBlur:
|
|
1550
|
+
max: s.minimapCompact && C.value && !s.useValueRange ? Math.max(0, L.value - 1) : s.max,
|
|
1551
|
+
tabindex: C.value ? -1 : 0,
|
|
1552
|
+
"onUpdate:modelValue": t[4] ||= (e) => jn.value = e,
|
|
1553
|
+
onFocus: t[5] ||= (e) => C.value && e.target.blur(),
|
|
1554
|
+
onInput: t[6] ||= (e) => jn.value = e.target.valueAsNumber,
|
|
1555
|
+
onChange: A,
|
|
1556
|
+
onKeyup: Se(A, ["enter"]),
|
|
1557
|
+
onBlur: A,
|
|
1557
1558
|
onMouseenter: t[7] ||= (e) => br("start"),
|
|
1558
|
-
onPointerup:
|
|
1559
|
-
}, null, 42,
|
|
1559
|
+
onPointerup: A
|
|
1560
|
+
}, null, 42, St)), [[
|
|
1560
1561
|
ye,
|
|
1561
|
-
|
|
1562
|
+
jn.value,
|
|
1562
1563
|
void 0,
|
|
1563
1564
|
{ number: !0 }
|
|
1564
1565
|
]]) : d("", !0),
|
|
1565
|
-
s.enableRangeHandles ?
|
|
1566
|
+
s.enableRangeHandles ? xe((g(), f("input", {
|
|
1566
1567
|
key: 2,
|
|
1567
1568
|
"aria-label": "range-handle-right",
|
|
1568
1569
|
ref_key: "rangeEnd",
|
|
1569
|
-
ref:
|
|
1570
|
+
ref: Vn,
|
|
1570
1571
|
type: "range",
|
|
1571
1572
|
step: s.precision > 0 ? 1 / 10 ** s.precision : 1,
|
|
1572
1573
|
class: m({
|
|
1573
1574
|
"range-right": !0,
|
|
1574
1575
|
"range-handle": !0,
|
|
1575
|
-
"range-minimap":
|
|
1576
|
-
"range-invisible":
|
|
1576
|
+
"range-minimap": C.value && s.verticalHandles,
|
|
1577
|
+
"range-invisible": C.value && s.minimapCompact
|
|
1577
1578
|
}),
|
|
1578
1579
|
min: s.min,
|
|
1579
|
-
max: s.minimapCompact &&
|
|
1580
|
-
tabindex:
|
|
1581
|
-
onFocus: t[8] ||= (e) =>
|
|
1582
|
-
"onUpdate:modelValue": t[9] ||= (e) =>
|
|
1583
|
-
onInput: t[10] ||= (e) =>
|
|
1584
|
-
onChange:
|
|
1585
|
-
onKeyup:
|
|
1586
|
-
onBlur:
|
|
1580
|
+
max: s.minimapCompact && C.value && !s.useValueRange ? Math.max(0, L.value - 1) : s.max,
|
|
1581
|
+
tabindex: C.value ? -1 : 0,
|
|
1582
|
+
onFocus: t[8] ||= (e) => C.value && e.target.blur(),
|
|
1583
|
+
"onUpdate:modelValue": t[9] ||= (e) => Mn.value = e,
|
|
1584
|
+
onInput: t[10] ||= (e) => Mn.value = e.target.valueAsNumber,
|
|
1585
|
+
onChange: A,
|
|
1586
|
+
onKeyup: Se(A, ["enter"]),
|
|
1587
|
+
onBlur: A,
|
|
1587
1588
|
onMouseenter: t[11] ||= (e) => br("end"),
|
|
1588
|
-
onPointerup:
|
|
1589
|
-
}, null, 42,
|
|
1589
|
+
onPointerup: A
|
|
1590
|
+
}, null, 42, Ct)), [[
|
|
1590
1591
|
ye,
|
|
1591
|
-
|
|
1592
|
+
Mn.value,
|
|
1592
1593
|
void 0,
|
|
1593
1594
|
{ number: !0 }
|
|
1594
1595
|
]]) : d("", !0),
|
|
1595
|
-
|
|
1596
|
-
xmlns: _e(
|
|
1597
|
-
viewBox: `0 0 ${Math.max(0,
|
|
1596
|
+
C.value && s.minimapCompact ? (g(), f("div", wt, [(g(), f("svg", {
|
|
1597
|
+
xmlns: _e(ne),
|
|
1598
|
+
viewBox: `0 0 ${Math.max(0, F.value.width)} ${Math.max(0, F.value.height + 1)}`
|
|
1598
1599
|
}, [p("rect", le({
|
|
1599
1600
|
class: "vue-ui-zoom-compact-minimap-handle",
|
|
1600
1601
|
x: Kr.value,
|
|
1601
1602
|
y: 0,
|
|
1602
1603
|
width: $.value,
|
|
1603
|
-
height:
|
|
1604
|
+
height: F.value.height,
|
|
1604
1605
|
fill: "transparent",
|
|
1605
1606
|
stroke: "none"
|
|
1606
1607
|
}, Ir.value, {
|
|
1607
1608
|
onKeydown: t[12] ||= (e) => Fr("start", e),
|
|
1608
|
-
onMousedown: t[13] ||=
|
|
1609
|
-
onClick: t[14] ||=
|
|
1610
|
-
}), null, 16,
|
|
1609
|
+
onMousedown: t[13] ||= Ce((e) => Ur("start", e), ["stop", "prevent"]),
|
|
1610
|
+
onClick: t[14] ||= Ce(() => {}, ["stop", "prevent"])
|
|
1611
|
+
}), null, 16, Et), p("rect", le({
|
|
1611
1612
|
class: "vue-ui-zoom-compact-minimap-handle",
|
|
1612
1613
|
x: qr.value,
|
|
1613
1614
|
y: 0,
|
|
1614
1615
|
width: $.value,
|
|
1615
|
-
height:
|
|
1616
|
+
height: F.value.height,
|
|
1616
1617
|
fill: "transparent",
|
|
1617
1618
|
stroke: "none",
|
|
1618
1619
|
rx: 3
|
|
1619
1620
|
}, Lr.value, {
|
|
1620
1621
|
onKeydown: t[15] ||= (e) => Fr("end", e),
|
|
1621
|
-
onMousedown: t[16] ||=
|
|
1622
|
-
onClick: t[17] ||=
|
|
1623
|
-
}), null, 16,
|
|
1622
|
+
onMousedown: t[16] ||= Ce((e) => Ur("end", e), ["stop", "prevent"]),
|
|
1623
|
+
onClick: t[17] ||= Ce(() => {}, ["stop", "prevent"])
|
|
1624
|
+
}), null, 16, Dt)], 8, Tt))])) : d("", !0),
|
|
1624
1625
|
Q.value.left ? (g(), f("div", {
|
|
1625
1626
|
key: 4,
|
|
1626
1627
|
ref_key: "tooltipLeft",
|
|
@@ -1628,17 +1629,17 @@ var Ce = ["data-minimap"], we = {
|
|
|
1628
1629
|
class: m({
|
|
1629
1630
|
"range-tooltip": !0,
|
|
1630
1631
|
"range-tooltip-visible": Z.value,
|
|
1631
|
-
"range-tooltip-arrow":
|
|
1632
|
-
"range-tooltip-arrow-left": !
|
|
1632
|
+
"range-tooltip-arrow": M.value.arrowLeft && !s.verticalHandles,
|
|
1633
|
+
"range-tooltip-arrow-left": !M.value.arrowLeft && !s.verticalHandles
|
|
1633
1634
|
}),
|
|
1634
1635
|
style: h({
|
|
1635
|
-
left:
|
|
1636
|
-
color: _e(
|
|
1636
|
+
left: M.value.tooltipLeft,
|
|
1637
|
+
color: _e(te)(s.selectColor),
|
|
1637
1638
|
backgroundColor: s.selectColor,
|
|
1638
|
-
border: `1px solid ${
|
|
1639
|
+
border: `1px solid ${N.value}`,
|
|
1639
1640
|
zIndex: `${yr.value + 4}`,
|
|
1640
1641
|
visibility: xr.value || Q.value.left === Q.value.right ? "hidden" : "visible",
|
|
1641
|
-
top:
|
|
1642
|
+
top: C.value && s.minimapCompact ? "calc(-100% - 12px)" : "-100%"
|
|
1642
1643
|
})
|
|
1643
1644
|
}, ge(Q.value.left), 7)) : d("", !0),
|
|
1644
1645
|
(xr.value || Q.value.left === Q.value.right) && (Q.value.left || Q.value.right) ? (g(), f("div", {
|
|
@@ -1648,17 +1649,17 @@ var Ce = ["data-minimap"], we = {
|
|
|
1648
1649
|
"range-tooltip": !0,
|
|
1649
1650
|
"range-tooltip-visible": Z.value,
|
|
1650
1651
|
"range-tooltip-arrow": !0,
|
|
1651
|
-
"range-tooltip-arrow-left": !
|
|
1652
|
-
"range-tooltip-arrow-right": !
|
|
1652
|
+
"range-tooltip-arrow-left": !M.value.arrowLeft && !s.verticalHandles,
|
|
1653
|
+
"range-tooltip-arrow-right": !M.value.arrowRight && !s.verticalHandles
|
|
1653
1654
|
}),
|
|
1654
1655
|
style: h({
|
|
1655
|
-
left:
|
|
1656
|
+
left: M.value.tooltipCenter,
|
|
1656
1657
|
width: Sr.value.width + "px",
|
|
1657
|
-
color: _e(
|
|
1658
|
+
color: _e(te)(s.selectColor),
|
|
1658
1659
|
backgroundColor: s.selectColor,
|
|
1659
|
-
border: `1px solid ${
|
|
1660
|
+
border: `1px solid ${N.value}`,
|
|
1660
1661
|
zIndex: "4",
|
|
1661
|
-
top:
|
|
1662
|
+
top: C.value && s.minimapCompact ? "calc(-100% - 12px)" : "-100%"
|
|
1662
1663
|
})
|
|
1663
1664
|
}, ge(Q.value.left === Q.value.right ? Q.value.left : `${Q.value.left} - ${Q.value.right}`), 7)) : d("", !0),
|
|
1664
1665
|
Q.value.right ? (g(), f("div", {
|
|
@@ -1668,21 +1669,21 @@ var Ce = ["data-minimap"], we = {
|
|
|
1668
1669
|
class: m({
|
|
1669
1670
|
"range-tooltip": !0,
|
|
1670
1671
|
"range-tooltip-visible": Z.value,
|
|
1671
|
-
"range-tooltip-arrow":
|
|
1672
|
-
"range-tooltip-arrow-right": !
|
|
1672
|
+
"range-tooltip-arrow": M.value.arrowRight && !s.verticalHandles,
|
|
1673
|
+
"range-tooltip-arrow-right": !M.value.arrowRight && !s.verticalHandles
|
|
1673
1674
|
}),
|
|
1674
1675
|
style: h({
|
|
1675
|
-
left:
|
|
1676
|
-
color: _e(
|
|
1676
|
+
left: M.value.tooltipRight,
|
|
1677
|
+
color: _e(te)(s.selectColor),
|
|
1677
1678
|
backgroundColor: s.selectColor,
|
|
1678
|
-
border: `1px solid ${
|
|
1679
|
+
border: `1px solid ${N.value}`,
|
|
1679
1680
|
zIndex: "4",
|
|
1680
1681
|
visibility: xr.value || Q.value.left === Q.value.right ? "hidden" : "visible",
|
|
1681
|
-
top:
|
|
1682
|
+
top: C.value && s.minimapCompact ? "calc(-100% - 12px)" : "-100%"
|
|
1682
1683
|
})
|
|
1683
1684
|
}, ge(Q.value.right), 7)) : d("", !0)
|
|
1684
|
-
], 36)], 44,
|
|
1685
|
+
], 36)], 44, we));
|
|
1685
1686
|
}
|
|
1686
1687
|
}, [["__scopeId", "data-v-86199147"]]);
|
|
1687
1688
|
//#endregion
|
|
1688
|
-
export {
|
|
1689
|
+
export { kt as t };
|