vue-data-ui 3.22.14 → 3.23.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/README.md +13 -1
- package/dist/{Arrow-Ci7Burxz.js → Arrow-CF0VFcBH.js} +1 -1
- package/dist/{BaseDraggableDialog-hyW32gLf.js → BaseDraggableDialog-LoqqwRtV.js} +2 -2
- package/dist/{BaseIcon-DJbOzCDs.js → BaseIcon-BfndwIWE.js} +4 -3
- package/dist/{BaseLegendToggle-DJU4VsLO.js → BaseLegendToggle-DZVucLnv.js} +1 -1
- package/dist/{BaseZoomControls-CwhpsHIL.js → BaseZoomControls-BZvCnZEi.js} +2 -2
- package/dist/{ColorPicker-BVWrKEQl.js → ColorPicker--ayG2YHf.js} +2 -2
- package/dist/{DataTable-rIsBpJMt.js → DataTable-BbKgJ5UI.js} +2 -2
- package/dist/HillActions-BD9j_sOU.js +187 -0
- package/dist/{Legend-DSPDFP3n.js → Legend-CQxUgOd-.js} +2 -2
- package/dist/{NonSvgPenAndPaper-DZyYthbM.js → NonSvgPenAndPaper-4ypecDg1.js} +22 -22
- package/dist/{PackageVersion-BUmadjVO.js → PackageVersion-D6d8SCp9.js} +1 -1
- package/dist/{PenAndPaper-D--sbRMA.js → PenAndPaper-DAE-tnEQ.js} +14 -14
- package/dist/{Shape-Dmh9jBFh.js → Shape-C21CMlWS.js} +3 -3
- package/dist/Slicer-CIk57nL4.js +1163 -0
- package/dist/{SlicerPreview-CCIb3v8u.js → SlicerPreview-wUw1hFwe.js} +384 -370
- package/dist/{SparkTooltip-GjWLZ39s.js → SparkTooltip-CjsbIhzi.js} +6 -6
- package/dist/Title-BE3qg9xl.js +87 -0
- package/dist/{Tooltip-CEbqzIhL.js → Tooltip-DhjyfHwz.js} +2 -2
- package/dist/{UserOptions-BknvMNU1.js → UserOptions-Dt98of5H.js} +2 -2
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-bump.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-hill.js +2 -0
- 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/composables.js +1 -1
- package/dist/{dom-to-png-BbPRUKX6.js → dom-to-png-BYIvdTe8.js} +1 -1
- package/dist/exposedLib-C0DPCgFj.js +28 -0
- package/dist/{geoProjections-BCP_PoiB.js → geoProjections-CEo3dVaL.js} +1 -1
- package/dist/{img-zY7_pJz1.js → img-Bnokohej.js} +1 -1
- package/dist/{labelUtils-DYdYmN_Q.js → labelUtils-BeVpDvTJ.js} +1 -1
- package/dist/{lib-C-QGo8GG.js → lib-Bttd6u5E.js} +27 -12
- package/dist/{package-QmuZcjWs.js → package-KvlL5CqE.js} +1 -1
- package/dist/{pdf-CuSS-5_j.js → pdf-CVIDfCrS.js} +1 -1
- package/dist/{render-common-DasqIYp9.js → render-common-oDYGTc5P.js} +21 -21
- package/dist/ssr/vue-ui-donut.js +1 -1
- package/dist/ssr/vue-ui-xy.js +1 -1
- package/dist/ssr.js +2 -2
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +496 -0
- package/dist/types/vue-ui-hill.d.ts +90 -0
- package/dist/useAutoSizeLabelsInsideViewbox-DvDwcwi_.js +122 -0
- package/dist/{useConfig-C0V0eG7L.js → useConfig-D3scuR88.js} +774 -477
- package/dist/useHints-Dq_w2E8B.js +66 -0
- package/dist/{useNestedProp-BYfiWVP8.js → useNestedProp-vPNvh7rV.js} +5 -3
- package/dist/{useObjectBindings-Djwpii4d.js → useObjectBindings-Brg8mm5J.js} +3 -2
- package/dist/{usePrinter-C5ordS-4.js → usePrinter-DN5bYhTG.js} +2 -2
- package/dist/{useSvgExport-Ba9qBr9M.js → useSvgExport-DH-FfcqQ.js} +1 -1
- package/dist/{useTimeLabels-B9CEuiLZ.js → useTimeLabels-d2f-W1L4.js} +2 -4
- package/dist/{useTooltipPosition-BsRysTrw.js → useTooltipPosition-DifeoeQW.js} +13 -13
- package/dist/useTransitions-g_zBREk2.js +39 -0
- package/dist/utils.js +14 -14
- package/dist/{vue-data-ui-D3jZ4lg1.js → vue-data-ui-DGWDPCwC.js} +85 -81
- package/dist/vue-data-ui.js +77 -76
- package/dist/vue-ui-3d-bar-C_Su9fve.js +1849 -0
- package/dist/{vue-ui-accordion-FimGHtuy.js → vue-ui-accordion-BxGriZik.js} +4 -4
- package/dist/vue-ui-age-pyramid-D4k1MkAL.js +1264 -0
- package/dist/vue-ui-annotator-CCtnM8Rv.js +2886 -0
- package/dist/vue-ui-bullet-DLZr2Uk8.js +724 -0
- package/dist/{vue-ui-bump-CG3WTTFy.js → vue-ui-bump-CcdzJZ9n.js} +334 -297
- package/dist/{vue-ui-candlestick-C3smYvQA.js → vue-ui-candlestick-EEEt7ORC.js} +468 -442
- package/dist/vue-ui-carousel-table-BicIpNAD.js +463 -0
- package/dist/{vue-ui-chestnut-i7FYoqi8.js → vue-ui-chestnut-BI7mC5dd.js} +523 -497
- package/dist/{vue-ui-chord-DCZo55QA.js → vue-ui-chord-DXaq8ZMu.js} +432 -426
- package/dist/vue-ui-circle-pack-XHJBMG51.js +1659 -0
- package/dist/{vue-ui-cursor-DEf_l0Xc.js → vue-ui-cursor-BqHr0n1Z.js} +61 -61
- package/dist/{vue-ui-dag-beo3-quD.js → vue-ui-dag-jMLVoQkb.js} +677 -674
- package/dist/vue-ui-dashboard-DVAUFETR.js +520 -0
- package/dist/{vue-ui-digits-BnMqGAhl.js → vue-ui-digits-Dy4gG6qm.js} +59 -51
- package/dist/vue-ui-donut-C0cWRLbU.js +2441 -0
- package/dist/{vue-ui-donut-Cr0uTWGk.js → vue-ui-donut-CYpxGBhl.js} +117 -116
- package/dist/{vue-ui-donut-evolution-D54NP3FP.js → vue-ui-donut-evolution-DwR47A2r.js} +534 -448
- package/dist/vue-ui-dumbbell-DxVbRjKR.js +1582 -0
- package/dist/{vue-ui-flow-CnateJjc.js → vue-ui-flow-DWaZF4FS.js} +415 -407
- package/dist/vue-ui-funnel-Bmpx5GHR.js +797 -0
- package/dist/vue-ui-galaxy-CWBP9oH9.js +1111 -0
- package/dist/vue-ui-gauge-ByE_txav.js +953 -0
- package/dist/{vue-ui-geo-DnO1RIFR.js → vue-ui-geo-ZA7CBy8f.js} +372 -357
- package/dist/{vue-ui-gizmo-DyxeSKIk.js → vue-ui-gizmo-SQCou0bQ.js} +57 -49
- package/dist/{vue-ui-heatmap-6Ja5LKYE.js → vue-ui-heatmap-CHd9gs_p.js} +473 -465
- package/dist/vue-ui-hill-BT183G-_.js +1768 -0
- package/dist/vue-ui-history-plot-BwnlC1mx.js +1723 -0
- package/dist/vue-ui-horizontal-bar-BUar2HUH.js +1733 -0
- package/dist/vue-ui-kpi-BF_9WWoo.js +104 -0
- package/dist/vue-ui-mini-loader-CvfukjXi.js +133 -0
- package/dist/vue-ui-molecule-Bi2CKHer.js +958 -0
- package/dist/{vue-ui-mood-radar-TWo57SKD.js → vue-ui-mood-radar-_zpbmvJs.js} +349 -341
- package/dist/{vue-ui-nested-donuts-W0TpPXIQ.js → vue-ui-nested-donuts-qHZAJ70u.js} +452 -416
- package/dist/vue-ui-onion-CB5RYIy5.js +1258 -0
- package/dist/vue-ui-parallel-coordinate-plot-BUwt-apg.js +1455 -0
- package/dist/{vue-ui-quadrant-BM9VLDcC.js → vue-ui-quadrant-CoROD3er.js} +636 -628
- package/dist/vue-ui-quick-chart-BcH7eY4-.js +2397 -0
- package/dist/{vue-ui-radar-BVz6Uq2k.js → vue-ui-radar-DGbaXGme.js} +380 -334
- package/dist/vue-ui-rating-Bo3zD3yW.js +360 -0
- package/dist/vue-ui-relation-circle-DaU1eTsG.js +925 -0
- package/dist/vue-ui-ridgeline-BCaGcyfk.js +1664 -0
- package/dist/{vue-ui-rings-DEZrfBYX.js → vue-ui-rings-BJUBn8_b.js} +450 -424
- package/dist/{vue-ui-scatter-owaIOpD0.js → vue-ui-scatter-Pcft1bUt.js} +721 -702
- package/dist/{vue-ui-skeleton-Cxszgax7.js → vue-ui-skeleton-EeJcGbCo.js} +395 -387
- package/dist/{vue-ui-smiley-DZBPvVeN.js → vue-ui-smiley-D0gibt5c.js} +128 -120
- package/dist/{vue-ui-spark-trend-CW4cLUqP.js → vue-ui-spark-trend-BRoQ7JpQ.js} +132 -117
- package/dist/{vue-ui-sparkbar-DeSSqv4v.js → vue-ui-sparkbar-DFp2k7-7.js} +119 -111
- package/dist/{vue-ui-sparkgauge-VSiPVgUQ.js → vue-ui-sparkgauge-D0Bq85Hs.js} +76 -68
- package/dist/vue-ui-sparkhistogram-BPln7v63.js +590 -0
- package/dist/{vue-ui-sparkline-DyZdAQMl.js → vue-ui-sparkline-C6Q45Dqp.js} +391 -365
- package/dist/vue-ui-sparkstackbar-CjK4bcQg.js +692 -0
- package/dist/vue-ui-stackbar-Ca8EPf3e.js +2353 -0
- package/dist/vue-ui-stackline-Pz5WWlWT.js +2467 -0
- package/dist/{vue-ui-strip-plot-BquHFKHA.js → vue-ui-strip-plot-Dw4MGDSO.js} +508 -487
- package/dist/vue-ui-table-Bjg-ujJu.js +1352 -0
- package/dist/vue-ui-table-heatmap-ljeYW8Wc.js +364 -0
- package/dist/{vue-ui-table-sparkline-CyGqW88t.js → vue-ui-table-sparkline-iRFmtK5S.js} +207 -181
- package/dist/vue-ui-thermometer-D8uiOaeA.js +777 -0
- package/dist/{vue-ui-timer-BVjydam-.js → vue-ui-timer-CYw983oL.js} +66 -58
- package/dist/vue-ui-tiremarks-CekiW2Ru.js +559 -0
- package/dist/vue-ui-treemap-h4VbnqPA.js +1760 -0
- package/dist/vue-ui-waffle-cu0w_s6L.js +1412 -0
- package/dist/{vue-ui-wheel-D-VVxvxY.js → vue-ui-wheel-tLvJadk5.js} +225 -217
- package/dist/{vue-ui-word-cloud-CcRch2t2.js → vue-ui-word-cloud-BjpGSsod.js} +440 -432
- package/dist/{vue-ui-world-BJq4PZqF.js → vue-ui-world-B4fCS3jN.js} +350 -342
- package/dist/{vue-ui-xy-D64AB5Qy.js → vue-ui-xy-7ZT9IRD8.js} +1639 -1595
- package/dist/{vue-ui-xy-canvas-mDqjPtxh.js → vue-ui-xy-canvas-BnLEwBpi.js} +459 -431
- package/dist/{vue-ui-xy-B8XBn08L.js → vue-ui-xy-gyNS0yH0.js} +216 -213
- package/dist/vue_ui_hill-dnltu0L-.js +368 -0
- package/package.json +4 -4
- package/dist/Slicer-JdCzBeYM.js +0 -1149
- package/dist/Title-Thf71-8D.js +0 -87
- package/dist/exposedLib-CfZhN94x.js +0 -25
- package/dist/useAutoSizeLabelsInsideViewbox-CSzmRywi.js +0 -50
- package/dist/useMountedDelay-BAjrhRJb.js +0 -14
- package/dist/vue-ui-3d-bar-D9-jAA5Z.js +0 -1824
- package/dist/vue-ui-age-pyramid-D4f-Agb7.js +0 -1246
- package/dist/vue-ui-annotator-P9E8hpJl.js +0 -2905
- package/dist/vue-ui-bullet-CKg0bShN.js +0 -709
- package/dist/vue-ui-carousel-table-BD_fxykj.js +0 -455
- package/dist/vue-ui-circle-pack--DUVDQx3.js +0 -1610
- package/dist/vue-ui-dashboard-mGLvP0UA.js +0 -512
- package/dist/vue-ui-donut-BCLG16Vb.js +0 -2418
- package/dist/vue-ui-dumbbell-DZ78WASa.js +0 -1564
- package/dist/vue-ui-funnel-DSpUMyDO.js +0 -781
- package/dist/vue-ui-galaxy-CxKafV1X.js +0 -1076
- package/dist/vue-ui-gauge-CegUK3FD.js +0 -925
- package/dist/vue-ui-history-plot-XOexkxeI.js +0 -1725
- package/dist/vue-ui-horizontal-bar-BCTdLxjK.js +0 -1689
- package/dist/vue-ui-kpi-EenGDZ-l.js +0 -96
- package/dist/vue-ui-mini-loader-CA7XxPk7.js +0 -125
- package/dist/vue-ui-molecule-5rpD2mlK.js +0 -932
- package/dist/vue-ui-onion-CDC9AGh1.js +0 -1199
- package/dist/vue-ui-parallel-coordinate-plot-DUOI7HoD.js +0 -1412
- package/dist/vue-ui-quick-chart-B8XCKef-.js +0 -2443
- package/dist/vue-ui-rating-B7ApWpIJ.js +0 -352
- package/dist/vue-ui-relation-circle-LVOR5VZ6.js +0 -917
- package/dist/vue-ui-ridgeline-BlyzSJHc.js +0 -1627
- package/dist/vue-ui-sparkhistogram-B5252IVr.js +0 -575
- package/dist/vue-ui-sparkstackbar-CiLgNzaI.js +0 -674
- package/dist/vue-ui-stackbar-Bwz6Z7M4.js +0 -2322
- package/dist/vue-ui-stackline-DX3YDRSg.js +0 -2427
- package/dist/vue-ui-table-DEhy61ln.js +0 -1339
- package/dist/vue-ui-table-heatmap-1LTxQfQX.js +0 -338
- package/dist/vue-ui-thermometer-CNvTQJUq.js +0 -769
- package/dist/vue-ui-tiremarks-3ZBAE8SA.js +0 -551
- package/dist/vue-ui-treemap-FqqXQvZw.js +0 -1727
- package/dist/vue-ui-waffle-B37Yx9uw.js +0 -1367
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { B as e,
|
|
1
|
+
import { B as e, Ct as t, H as n, I as r, P as i, V as a, Yt as o, q as ee, r as te, t as ne, xt as re } from "./lib-Bttd6u5E.js";
|
|
2
2
|
import { t as s } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
3
3
|
import { i as ie, l as c, t as ae } from "./useResponsive-ZtArZtUf.js";
|
|
4
|
-
import { t as oe } from "./BaseIcon-
|
|
4
|
+
import { t as oe } from "./BaseIcon-BfndwIWE.js";
|
|
5
5
|
import { t as se } from "./DefGrad-DVBqDjhO.js";
|
|
6
|
-
import { Fragment as l, computed as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createVNode as ce, guardReactiveProps as le, mergeProps as ue, nextTick as de, normalizeClass as
|
|
6
|
+
import { Fragment as l, computed as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createVNode as ce, guardReactiveProps as le, mergeProps as ue, nextTick as de, normalizeClass as m, normalizeProps as fe, normalizeStyle as h, onBeforeUnmount as pe, onMounted as me, onUpdated as he, openBlock as g, ref as _, renderList as v, renderSlot as ge, toDisplayString as _e, unref as ve, useCssVars as ye, vModelText as be, watch as xe, withDirectives as Se, withKeys as Ce, withModifiers as we } from "vue";
|
|
7
7
|
//#region src/atoms/SlicerPreview.vue
|
|
8
8
|
var Te = ["data-minimap"], Ee = {
|
|
9
9
|
class: "vue-data-ui-slicer-labels",
|
|
@@ -372,6 +372,14 @@ var Te = ["data-minimap"], Ee = {
|
|
|
372
372
|
type: Number,
|
|
373
373
|
default: null
|
|
374
374
|
},
|
|
375
|
+
minimapLeftInsetRatio: {
|
|
376
|
+
type: Number,
|
|
377
|
+
default: null
|
|
378
|
+
},
|
|
379
|
+
minimapRightInsetRatio: {
|
|
380
|
+
type: Number,
|
|
381
|
+
default: null
|
|
382
|
+
},
|
|
375
383
|
isCursorPointer: {
|
|
376
384
|
type: Boolean,
|
|
377
385
|
default: !1
|
|
@@ -423,106 +431,113 @@ var Te = ["data-minimap"], Ee = {
|
|
|
423
431
|
"trapMouseValue"
|
|
424
432
|
],
|
|
425
433
|
setup(s, { expose: At, emit: jt }) {
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
434
|
+
ye((e) => ({
|
|
435
|
+
v13222322: sn.value,
|
|
436
|
+
a9d0a8d4: N.value,
|
|
437
|
+
cfb69ef2: ln.value,
|
|
438
|
+
e9662674: s.selectColor,
|
|
439
|
+
v05118454: cn.value,
|
|
440
|
+
de2dd9f4: y.additionalMinimapHeight
|
|
433
441
|
}));
|
|
434
442
|
let y = s;
|
|
435
443
|
function Mt(e) {
|
|
436
444
|
let t = Number(e) || 0;
|
|
437
445
|
return y.precision <= 0 ? Math.round(t) : Number(t.toFixed(y.precision));
|
|
438
446
|
}
|
|
439
|
-
let b =
|
|
440
|
-
|
|
441
|
-
return
|
|
447
|
+
let b = _(null), x = _(y.min), S = _(y.max), C = u(() => !!y.allMinimaps.length), Nt = u(() => t(y.minimapLeftInsetRatio) && t(y.minimapRightInsetRatio)), Pt = u(() => {
|
|
448
|
+
let e = Math.min(1, Math.max(0, y.minimapLeftInsetRatio)) * 100, t = Math.min(1, Math.max(0, y.minimapRightInsetRatio)) * 100;
|
|
449
|
+
return {
|
|
450
|
+
padding: Nt.value ? `0 ${t}% 0 ${e}%` : "0 48px",
|
|
451
|
+
maxWidth: y.maxWidth && !Nt.value ? `${y.maxWidth}px` : void 0,
|
|
452
|
+
margin: y.maxWidth && !Nt.value ? "0 auto" : void 0
|
|
453
|
+
};
|
|
454
|
+
}), Ft = _(ee()), w = _(!1), T = u(() => C.value && y.minimapCompact), E = _(null), It = _(!1), Lt = _(0), Rt = _(0), zt = _(null), Bt = _(!1), Vt = u(() => E.value !== null), Ht = u(() => y.useValueRange ? S.value : S.value - 1), Ut = u(() => Math.max(1, Number(y.max) - Number(y.min)));
|
|
455
|
+
function Wt(e) {
|
|
456
|
+
return (Number(e) - Number(y.min)) / Ut.value * 100;
|
|
442
457
|
}
|
|
443
|
-
function
|
|
444
|
-
return F.value.width * (
|
|
458
|
+
function Gt(e) {
|
|
459
|
+
return F.value.width * (Wt(e) / 100);
|
|
445
460
|
}
|
|
446
|
-
function
|
|
461
|
+
function Kt(e) {
|
|
447
462
|
let t = Math.min(1, Math.max(0, e / Math.max(1, F.value.width)));
|
|
448
|
-
return Mt(Number(y.min) +
|
|
463
|
+
return Mt(Number(y.min) + Ut.value * t);
|
|
449
464
|
}
|
|
450
|
-
function
|
|
451
|
-
let
|
|
452
|
-
return
|
|
465
|
+
function qt(e) {
|
|
466
|
+
let n = y.useValueRange ? e?.y : e;
|
|
467
|
+
return t(n) ? Number(n) : null;
|
|
453
468
|
}
|
|
454
|
-
function
|
|
469
|
+
function Jt(e, t) {
|
|
455
470
|
return y.useValueRange ? Number(e?.x) : t + Number(y.min);
|
|
456
471
|
}
|
|
457
|
-
function
|
|
458
|
-
return y.useValueRange ?
|
|
472
|
+
function Yt(e, t) {
|
|
473
|
+
return y.useValueRange ? Gt(Jt(e, t)) : B.value * t + (y.minimapCompact ? 0 : B.value / 2);
|
|
459
474
|
}
|
|
460
|
-
let
|
|
475
|
+
let Xt = u(() => Math.min(40, Math.max(20, y.handleWidth))), Zt = _(0), Qt = c((e) => j("futureStart", e), 0), $t = c((e) => j("futureEnd", e), 0), D = u(() => y.precision > 0 ? 1 / 10 ** y.precision : 1), O = u({
|
|
461
476
|
get: () => x.value,
|
|
462
477
|
set(e) {
|
|
463
478
|
let t = Math.min(Number(e), Number(S.value) - D.value);
|
|
464
|
-
t !== x.value && (x.value = t,
|
|
479
|
+
t !== x.value && (x.value = t, Un.value && (Un.value.value = String(t)), y.immediate ? j("update:start", Number(t)) : w.value && Qt(t));
|
|
465
480
|
}
|
|
466
481
|
}), k = u({
|
|
467
482
|
get: () => S.value,
|
|
468
483
|
set(e) {
|
|
469
484
|
let t = Math.max(Number(e), Number(x.value) + D.value);
|
|
470
|
-
t !== S.value && (S.value = t,
|
|
485
|
+
t !== S.value && (S.value = t, Wn.value && (Wn.value.value = String(t)), y.immediate ? j("update:end", Number(t)) : w.value && $t(t));
|
|
471
486
|
}
|
|
472
487
|
});
|
|
473
488
|
function A() {
|
|
474
489
|
clearTimeout(null), y.immediate || (j("update:start", Number(x.value)), j("update:end", Number(S.value))), w.value = !1;
|
|
475
490
|
}
|
|
476
|
-
let
|
|
477
|
-
if (y.useValueRange) return
|
|
491
|
+
let en = u(() => y.refreshEndPoint === null ? y.max : y.refreshEndPoint), j = jt, tn = u(() => {
|
|
492
|
+
if (y.useValueRange) return Wt(x.value);
|
|
478
493
|
if (T.value) {
|
|
479
494
|
let e = Math.max(1, L.value - 1);
|
|
480
|
-
return
|
|
495
|
+
return Pn.value / e * 100;
|
|
481
496
|
}
|
|
482
497
|
let e = Math.max(1, y.max - y.min);
|
|
483
498
|
return (x.value - y.min) / e * 100;
|
|
484
|
-
}),
|
|
485
|
-
if (y.useValueRange) return
|
|
499
|
+
}), nn = u(() => {
|
|
500
|
+
if (y.useValueRange) return Wt(S.value);
|
|
486
501
|
if (T.value) {
|
|
487
502
|
let e = Math.max(1, L.value - 1);
|
|
488
|
-
return
|
|
503
|
+
return Fn.value / e * 100;
|
|
489
504
|
}
|
|
490
505
|
let e = Math.max(1, y.max - y.min);
|
|
491
506
|
return (S.value - y.min) / e * 100;
|
|
492
|
-
}),
|
|
507
|
+
}), rn = u(() => (tn.value + nn.value) / 2), an = u(() => {
|
|
493
508
|
if (!b.value) return !1;
|
|
494
509
|
let e = Math.max(1, y.max - y.min);
|
|
495
|
-
return b.value.getBoundingClientRect().width * ((x.value - y.min) / e) -
|
|
496
|
-
}),
|
|
510
|
+
return b.value.getBoundingClientRect().width * ((x.value - y.min) / e) - vr.value / 2 < 0;
|
|
511
|
+
}), on = u(() => {
|
|
497
512
|
if (!b.value) return !1;
|
|
498
513
|
let e = Math.max(1, y.max - y.min), t = b.value.getBoundingClientRect().width;
|
|
499
|
-
return t * ((S.value - y.min) / e) +
|
|
514
|
+
return t * ((S.value - y.min) / e) + yr.value / 2 > t;
|
|
500
515
|
}), M = u(() => {
|
|
501
|
-
let e =
|
|
516
|
+
let e = on.value ? `calc(${rn.value}% - ${Tr.value.width}px)` : an.value ? `calc(${rn.value}% - 8px)` : `calc(${rn.value}% - ${Tr.value.width / 2}px)`;
|
|
502
517
|
return {
|
|
503
|
-
left: `${
|
|
504
|
-
width: `${Math.max(0,
|
|
518
|
+
left: `${tn.value}%`,
|
|
519
|
+
width: `${Math.max(0, nn.value - tn.value)}%`,
|
|
505
520
|
background: y.selectColor,
|
|
506
|
-
tooltipLeft: `calc(${
|
|
507
|
-
tooltipRight: `calc(${
|
|
521
|
+
tooltipLeft: `calc(${tn.value}% - ${an.value ? 9 : vr.value / 2}px)`,
|
|
522
|
+
tooltipRight: `calc(${nn.value}% - ${on.value ? yr.value - 9 : yr.value / 2}px)`,
|
|
508
523
|
tooltipCenter: e,
|
|
509
|
-
arrowLeft: !
|
|
510
|
-
arrowRight: !
|
|
524
|
+
arrowLeft: !an.value,
|
|
525
|
+
arrowRight: !on.value
|
|
511
526
|
};
|
|
512
|
-
}),
|
|
513
|
-
function
|
|
527
|
+
}), sn = u(() => y.inputColor), cn = u(() => y.background), ln = u(() => `${y.selectColor}33`), N = u(() => y.borderColor), un = u(() => Number(y.max) > Number(y.min));
|
|
528
|
+
function dn() {
|
|
514
529
|
j("reset");
|
|
515
530
|
}
|
|
516
|
-
|
|
531
|
+
xe(() => y.min, (e) => {
|
|
517
532
|
Number(x.value) < Number(e) && (x.value = Number(e)), Number(S.value) < Number(e) && (S.value = Number(e));
|
|
518
|
-
}),
|
|
533
|
+
}), xe(() => y.max, (e) => {
|
|
519
534
|
Number(x.value) > Number(e) && (x.value = Number(e)), Number(S.value) > Number(e) && (S.value = Number(e));
|
|
520
535
|
});
|
|
521
|
-
let P =
|
|
536
|
+
let P = _(null), F = _({
|
|
522
537
|
width: 1,
|
|
523
538
|
height: 1
|
|
524
|
-
}), I =
|
|
525
|
-
|
|
539
|
+
}), I = _(null);
|
|
540
|
+
me(() => {
|
|
526
541
|
if (C.value) {
|
|
527
542
|
let e = c(() => {
|
|
528
543
|
if (!P.value) return;
|
|
@@ -531,35 +546,35 @@ var Te = ["data-minimap"], Ee = {
|
|
|
531
546
|
}, 0);
|
|
532
547
|
I.value = new ResizeObserver(e), I.value.observe(P.value);
|
|
533
548
|
}
|
|
534
|
-
}),
|
|
549
|
+
}), pe(() => {
|
|
535
550
|
I.value && I.value.disconnect();
|
|
536
551
|
});
|
|
537
552
|
let L = u(() => Math.max(1, y.max - y.min));
|
|
538
|
-
function
|
|
553
|
+
function fn(e) {
|
|
539
554
|
let t = Math.floor(e - y.min);
|
|
540
555
|
return Math.min(Math.max(0, t), L.value);
|
|
541
556
|
}
|
|
542
|
-
function
|
|
557
|
+
function pn(e) {
|
|
543
558
|
let t = Math.ceil(e - y.min);
|
|
544
559
|
return Math.min(Math.max(0, t), L.value);
|
|
545
560
|
}
|
|
546
|
-
let R = u(() =>
|
|
547
|
-
u(() => Math.max(1, F.value.width -
|
|
561
|
+
let R = u(() => fn(x.value)), z = u(() => pn(S.value)), mn = u(() => Math.max(...y.allMinimaps.map((e) => e.series.length))), hn = u(() => C.value && y.minimapCompact ? 40 : 0), gn = u(() => hn.value / 2);
|
|
562
|
+
u(() => Math.max(1, F.value.width - gn.value * 2));
|
|
548
563
|
let B = u(() => {
|
|
549
564
|
if (y.minimapCompact && !y.useValueRange) return F.value.width / Math.max(1, L.value - 1);
|
|
550
|
-
let e = Math.max(1,
|
|
565
|
+
let e = Math.max(1, mn.value - +!!y.minimapCompact);
|
|
551
566
|
return F.value.width / e;
|
|
552
|
-
}),
|
|
553
|
-
function
|
|
554
|
-
let r =
|
|
567
|
+
}), _n = u(() => y.allMinimaps.length ? y.allMinimaps.filter((e) => e.type === "bar" && e.isVisible).length : 0), vn = u(() => B.value / (_n.value || 1) * .8);
|
|
568
|
+
function yn(e, t, n) {
|
|
569
|
+
let r = vn.value, i = Math.max(1, _n.value), a = mn.value - 1;
|
|
555
570
|
return n === 0 ? e + r / 2 * t : n === a ? e - r / 2 * (i - t) : e - i * r / 2 + t * r;
|
|
556
571
|
}
|
|
557
|
-
function
|
|
558
|
-
return [0,
|
|
572
|
+
function bn(e, t) {
|
|
573
|
+
return [0, mn.value - 1].includes(t) ? vn.value / 2 : vn.value;
|
|
559
574
|
}
|
|
560
|
-
let
|
|
575
|
+
let xn = u(() => {
|
|
561
576
|
let e = [];
|
|
562
|
-
if (Array.isArray(y.minimap) && y.minimap.length && y.minimapMerged && e.push(...y.minimap.map(
|
|
577
|
+
if (Array.isArray(y.minimap) && y.minimap.length && y.minimapMerged && e.push(...y.minimap.map(qt).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(qt).filter(Number.isFinite));
|
|
563
578
|
return e.length ? {
|
|
564
579
|
min: Math.min(...e),
|
|
565
580
|
max: Math.max(...e)
|
|
@@ -567,40 +582,42 @@ var Te = ["data-minimap"], Ee = {
|
|
|
567
582
|
min: 0,
|
|
568
583
|
max: 1
|
|
569
584
|
};
|
|
570
|
-
}),
|
|
585
|
+
}), Sn = u(() => {
|
|
571
586
|
if (y.minScale == null && y.forceZeroCenter) return null;
|
|
572
587
|
let e = Number(y.minScale);
|
|
573
588
|
return Number.isFinite(e) ? e : null;
|
|
574
|
-
}),
|
|
589
|
+
}), Cn = u(() => {
|
|
575
590
|
if (y.maxScale == null && y.forceZeroCenter) return null;
|
|
576
591
|
let e = Number(y.maxScale);
|
|
577
592
|
return Number.isFinite(e) ? e : null;
|
|
578
|
-
}),
|
|
579
|
-
let { min: e, max: t } =
|
|
593
|
+
}), wn = u(() => Sn.value !== null && Cn.value !== null), Tn = u(() => {
|
|
594
|
+
let { min: e, max: t } = xn.value, n = Sn.value, r = Cn.value, i, a;
|
|
580
595
|
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]), {
|
|
581
596
|
min: i,
|
|
582
597
|
max: a
|
|
583
598
|
};
|
|
584
|
-
}),
|
|
599
|
+
}), En = u(() => Tn.value.min), Dn = u(() => Tn.value.max), On = u(() => En.value < 0 && Dn.value > 0 || Dn.value <= 0 ? En.value : 0), kn = (e) => {
|
|
585
600
|
let t = Math.max(1, F.value.height);
|
|
586
|
-
return
|
|
587
|
-
},
|
|
588
|
-
function
|
|
601
|
+
return jn(En.value, Dn.value, t, wn.value)(e);
|
|
602
|
+
}, An = u(() => kn(0));
|
|
603
|
+
function jn(e, t, n, r = !1) {
|
|
589
604
|
let i = (e, t, n) => Math.max(t, Math.min(n, e)), a = 1e-9, o = Math.max(a, t - e);
|
|
590
605
|
if (r) return (t) => n - (t - e) / o * n;
|
|
591
606
|
if (t <= 0) {
|
|
592
607
|
let t = Math.max(a, 0 - e);
|
|
593
608
|
return (r) => n - (r - e) / t * n;
|
|
594
|
-
}
|
|
609
|
+
}
|
|
610
|
+
if (e >= 0) {
|
|
595
611
|
let e = Math.max(a, t - 0);
|
|
596
612
|
return (t) => n - (t - 0) / e * n;
|
|
597
|
-
}
|
|
613
|
+
}
|
|
614
|
+
{
|
|
598
615
|
let r = Math.max(a, Math.max(Math.abs(e), Math.abs(t)));
|
|
599
616
|
return (e) => (1 - (i(e / r, -1, 1) + 1) / 2) * n;
|
|
600
617
|
}
|
|
601
618
|
}
|
|
602
|
-
function
|
|
603
|
-
if (!
|
|
619
|
+
function Mn(t, o = !1, ee = !1) {
|
|
620
|
+
if (!t || !t.length) return {
|
|
604
621
|
fullSet: "",
|
|
605
622
|
points: [],
|
|
606
623
|
selectionSet: "",
|
|
@@ -613,22 +630,22 @@ var Te = ["data-minimap"], Ee = {
|
|
|
613
630
|
selectionMarkers: [],
|
|
614
631
|
dashed: !1
|
|
615
632
|
};
|
|
616
|
-
let
|
|
617
|
-
let n =
|
|
633
|
+
let te = Math.max(1, F.value.height), ne = jn(En.value, Dn.value, te, wn.value), re = t.length, s = Math.min(Math.max(0, R.value), Math.max(0, re - 1)), ie = Math.min(re, Math.max(s + 1, z.value)), c = t.map((e, t) => {
|
|
634
|
+
let n = qt(e), r = Number.isFinite(n), i = Yt(e, t), a = wn.value ? ((e, t, n) => Math.max(t, Math.min(n, e)))(0, En.value, Dn.value) : 0, o = ne(a);
|
|
618
635
|
return {
|
|
619
636
|
x: i,
|
|
620
|
-
y: r ?
|
|
637
|
+
y: r ? ne(n) : NaN,
|
|
621
638
|
v: n,
|
|
622
639
|
value: r ? n : null,
|
|
623
640
|
y0: o,
|
|
624
641
|
i: t,
|
|
625
|
-
xValue:
|
|
642
|
+
xValue: Jt(e, t)
|
|
626
643
|
};
|
|
627
644
|
}), ae = (e) => e >= 0 && e < c.length && Number.isFinite(c[e]?.value), oe = c.filter((e) => Number.isFinite(e.value) && !ae(e.i - 1) && !ae(e.i + 1)), se = 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);
|
|
628
645
|
return {
|
|
629
|
-
fullSet: c.length >= 2 ?
|
|
646
|
+
fullSet: c.length >= 2 ? ee ? e(y.cutNullValues ? c : c.filter((e) => e.value != null)) : y.smoothMinimap || o ? y.cutNullValues ? r(c) : i(c.filter((e) => e.value != null)) : y.cutNullValues ? n(c) : a(c.filter((e) => e.value != null)) : "",
|
|
630
647
|
points: c,
|
|
631
|
-
selectionSet: l.length >= 2 ?
|
|
648
|
+
selectionSet: l.length >= 2 ? ee ? e(y.cutNullValues ? l : l.filter((e) => e.value != null)) : y.smoothMinimap || o ? y.cutNullValues ? r(l) : i(l.filter((e) => e.value != null)) : y.cutNullValues ? n(l) : a(l.filter((e) => e.value != null)) : "",
|
|
632
649
|
sliced: l,
|
|
633
650
|
firstPlot: y.useValueRange ? l[0] || null : c[s] || null,
|
|
634
651
|
lastPlot: y.useValueRange ? l[l.length - 1] || null : c[Math.max(0, ie - 1)] || null,
|
|
@@ -638,8 +655,8 @@ var Te = ["data-minimap"], Ee = {
|
|
|
638
655
|
selectionMarkers: se
|
|
639
656
|
};
|
|
640
657
|
}
|
|
641
|
-
let V = u(() => y.minimap.length ?
|
|
642
|
-
let n =
|
|
658
|
+
let V = u(() => y.minimap.length ? Mn(y.minimap) : []), H = u(() => y.allMinimaps.length ? y.allMinimaps.map((e, t) => {
|
|
659
|
+
let n = Mn(e?.series || [], !!e.smooth, !!e.useStepper), r = e?.id ?? e?.name ?? t;
|
|
643
660
|
return {
|
|
644
661
|
key: typeof r == "object" ? JSON.stringify(r) : String(r),
|
|
645
662
|
color: e?.color,
|
|
@@ -652,7 +669,7 @@ var Te = ["data-minimap"], Ee = {
|
|
|
652
669
|
};
|
|
653
670
|
}) : []), U = u(() => {
|
|
654
671
|
if (y.useValueRange) {
|
|
655
|
-
let e =
|
|
672
|
+
let e = Gt(x.value), t = Gt(S.value);
|
|
656
673
|
return {
|
|
657
674
|
x: e,
|
|
658
675
|
width: Math.max(0, t - e)
|
|
@@ -663,7 +680,7 @@ var Te = ["data-minimap"], Ee = {
|
|
|
663
680
|
x: B.value * e + (y.minimapCompact ? 0 : B.value / 2),
|
|
664
681
|
width: B.value * (t - e) - B.value
|
|
665
682
|
};
|
|
666
|
-
}), W =
|
|
683
|
+
}), W = _(y.minimapSelectedIndex), Nn = (e) => Math.round(y.min + e), Pn = u({
|
|
667
684
|
get() {
|
|
668
685
|
return T.value ? R.value : Number(O.value);
|
|
669
686
|
},
|
|
@@ -671,17 +688,17 @@ var Te = ["data-minimap"], Ee = {
|
|
|
671
688
|
if (T.value) {
|
|
672
689
|
if (y.useValueRange) {
|
|
673
690
|
let t = Mt(e);
|
|
674
|
-
|
|
691
|
+
qn(Math.min(Math.max(Number(y.min), t), Number(S.value) - D.value));
|
|
675
692
|
return;
|
|
676
693
|
}
|
|
677
694
|
let t = Math.round(+e || 0);
|
|
678
|
-
|
|
695
|
+
qn(Nn(t));
|
|
679
696
|
} else {
|
|
680
697
|
let t = Mt(e), n = Number(S.value) - D.value, r = Math.min(Math.max(y.min, t), n);
|
|
681
|
-
|
|
698
|
+
Un.value && (Un.value.valueAsNumber = r), qn(r);
|
|
682
699
|
}
|
|
683
700
|
}
|
|
684
|
-
}),
|
|
701
|
+
}), Fn = u({
|
|
685
702
|
get() {
|
|
686
703
|
return T.value ? Math.max(R.value, z.value - 1) : Number(k.value);
|
|
687
704
|
},
|
|
@@ -689,42 +706,42 @@ var Te = ["data-minimap"], Ee = {
|
|
|
689
706
|
if (T.value) {
|
|
690
707
|
if (y.useValueRange) {
|
|
691
708
|
let t = Mt(e);
|
|
692
|
-
|
|
709
|
+
Yn(Math.max(Number(x.value) + D.value, Math.min(t, Number(y.max))));
|
|
693
710
|
return;
|
|
694
711
|
}
|
|
695
712
|
let t = Math.round(+e || 0);
|
|
696
|
-
|
|
713
|
+
Yn(Nn(t + 1));
|
|
697
714
|
} else {
|
|
698
715
|
let t = Mt(e), n = Number(x.value) + D.value, r = Math.max(n, Math.min(t, y.max));
|
|
699
|
-
|
|
716
|
+
Wn.value && (Wn.value.valueAsNumber = r), Yn(r);
|
|
700
717
|
}
|
|
701
718
|
}
|
|
702
|
-
}),
|
|
703
|
-
function
|
|
704
|
-
if (t ===
|
|
719
|
+
}), In = 0;
|
|
720
|
+
function Ln(e, t) {
|
|
721
|
+
if (t === In) {
|
|
705
722
|
if (y.useValueRange) {
|
|
706
|
-
W.value = Number.isFinite(Number(e)) ?
|
|
723
|
+
W.value = Number.isFinite(Number(e)) ? Gt(Number(e)) : null;
|
|
707
724
|
return;
|
|
708
725
|
}
|
|
709
|
-
W.value =
|
|
726
|
+
W.value = fn(y.valueStart) + e;
|
|
710
727
|
}
|
|
711
728
|
}
|
|
712
|
-
let
|
|
713
|
-
|
|
714
|
-
if (
|
|
729
|
+
let Rn = ie(Ln, 60);
|
|
730
|
+
xe(() => y.minimapSelectedIndex, (e, t) => {
|
|
731
|
+
if (In += 1, [null, void 0].includes(e)) {
|
|
715
732
|
W.value = null;
|
|
716
733
|
return;
|
|
717
734
|
}
|
|
718
|
-
e !== t &&
|
|
735
|
+
e !== t && Rn(e, In);
|
|
719
736
|
}, { immediate: !0 });
|
|
720
|
-
function
|
|
721
|
-
if (
|
|
737
|
+
function zn(e) {
|
|
738
|
+
if (Vt.value) return;
|
|
722
739
|
W.value = e;
|
|
723
740
|
let t = R.value, n = z.value;
|
|
724
741
|
e >= t && e < n && !X.value && j("trapMouse", e - t);
|
|
725
742
|
}
|
|
726
|
-
function
|
|
727
|
-
let t =
|
|
743
|
+
function Bn(e) {
|
|
744
|
+
let t = Kt(e), n = y.allMinimaps.flatMap((e) => (e.series || []).map((e, n) => ({
|
|
728
745
|
point: e,
|
|
729
746
|
index: n,
|
|
730
747
|
x: Number(e?.x),
|
|
@@ -732,25 +749,25 @@ var Te = ["data-minimap"], Ee = {
|
|
|
732
749
|
}))).filter((e) => Number.isFinite(e.x));
|
|
733
750
|
return n.length ? n.reduce((e, t) => t.distance < e.distance ? t : e, n[0]) : null;
|
|
734
751
|
}
|
|
735
|
-
function
|
|
736
|
-
if (!
|
|
737
|
-
let t =
|
|
752
|
+
function Vn(e) {
|
|
753
|
+
if (!un.value || Vt.value) return;
|
|
754
|
+
let t = Vr(e.clientX);
|
|
738
755
|
if (y.useValueRange) {
|
|
739
|
-
let e =
|
|
756
|
+
let e = Bn(t);
|
|
740
757
|
if (!e) {
|
|
741
|
-
|
|
758
|
+
Hn();
|
|
742
759
|
return;
|
|
743
760
|
}
|
|
744
|
-
W.value =
|
|
761
|
+
W.value = Gt(e.x), j("trapMouse", e.index), j("trapMouseValue", e.x);
|
|
745
762
|
return;
|
|
746
763
|
}
|
|
747
|
-
|
|
764
|
+
zn(Hr(t));
|
|
748
765
|
}
|
|
749
|
-
function
|
|
750
|
-
W.value = null, !
|
|
766
|
+
function Hn() {
|
|
767
|
+
W.value = null, !Vt.value && (j("trapMouse", null), j("trapMouseValue", null));
|
|
751
768
|
}
|
|
752
|
-
let
|
|
753
|
-
function
|
|
769
|
+
let Un = _(null), Wn = _(null);
|
|
770
|
+
function Gn(e) {
|
|
754
771
|
if (typeof e == "object" && e && "target" in e) {
|
|
755
772
|
let t = e.target, n = "valueAsNumber" in t ? t.valueAsNumber : +t.value;
|
|
756
773
|
return Number.isFinite(n) ? n : NaN;
|
|
@@ -758,130 +775,130 @@ var Te = ["data-minimap"], Ee = {
|
|
|
758
775
|
let t = +e;
|
|
759
776
|
return Number.isFinite(t) ? t : NaN;
|
|
760
777
|
}
|
|
761
|
-
let
|
|
762
|
-
function
|
|
778
|
+
let Kn = 0;
|
|
779
|
+
function qn(e) {
|
|
763
780
|
w.value = !0;
|
|
764
|
-
let t =
|
|
765
|
-
Number.isFinite(t) && (cancelAnimationFrame(
|
|
781
|
+
let t = Gn(e);
|
|
782
|
+
Number.isFinite(t) && (cancelAnimationFrame(Kn), Kn = requestAnimationFrame(() => {
|
|
766
783
|
O.value = t;
|
|
767
784
|
}));
|
|
768
785
|
}
|
|
769
|
-
let
|
|
770
|
-
function
|
|
786
|
+
let Jn = 0;
|
|
787
|
+
function Yn(e) {
|
|
771
788
|
w.value = !0;
|
|
772
|
-
let t =
|
|
773
|
-
Number.isFinite(t) && (cancelAnimationFrame(
|
|
789
|
+
let t = Gn(e);
|
|
790
|
+
Number.isFinite(t) && (cancelAnimationFrame(Jn), Jn = requestAnimationFrame(() => {
|
|
774
791
|
k.value = t;
|
|
775
792
|
}));
|
|
776
793
|
}
|
|
777
|
-
|
|
778
|
-
cancelAnimationFrame(
|
|
794
|
+
pe(() => {
|
|
795
|
+
cancelAnimationFrame(Kn), cancelAnimationFrame(Jn);
|
|
779
796
|
});
|
|
780
|
-
let
|
|
781
|
-
function
|
|
797
|
+
let Xn = u(() => y.valueEnd - y.valueStart), Zn = u(() => Xn.value < y.max - y.min), G = _(!1), Qn = _(null), $n = u(() => (Zt.value - 48) / (y.max - y.min) * Xn.value), er = u(() => Math.max(1, Zt.value - kt - $n.value)), tr = u(() => Math.max(1, y.max - y.min - Xn.value)), nr = u(() => tr.value / er.value), rr = _(0), ir = _(0), ar = _(0), or = _(0), K = null, q = null, J = null, Y = null, sr = _(y.min);
|
|
798
|
+
function cr(e) {
|
|
782
799
|
if (!b.value) return y.min;
|
|
783
800
|
let t = b.value.getBoundingClientRect(), n = t.left + kt / 2, r = t.right - kt / 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
801
|
return Math.round(y.min + a * o);
|
|
785
802
|
}
|
|
786
|
-
let
|
|
803
|
+
let lr = async (e) => {
|
|
787
804
|
if (w.value = !0, Z.value = !0, !y.enableSelectionDrag) return;
|
|
788
805
|
let t = e.type === "touchstart";
|
|
789
806
|
t || e.stopPropagation();
|
|
790
|
-
let
|
|
791
|
-
if (!
|
|
807
|
+
let n = t && e.targetTouches && e.targetTouches[0] ? e.targetTouches[0] : null, r = t ? n ? n.target : null : e.target;
|
|
808
|
+
if (!r || !(r instanceof Element) || r.classList?.contains("range-handle") || r.classList?.contains("vue-ui-zoom-compact-minimap-handle") || r.closest(".vue-ui-zoom-compact-minimap-handle")) return;
|
|
792
809
|
G.value = !0;
|
|
793
|
-
let
|
|
794
|
-
if (
|
|
795
|
-
|
|
810
|
+
let i = t ? n ? n.clientX : 0 : e.clientX;
|
|
811
|
+
if (Qn.value = i, rr.value = i, y.focusOnDrag && !Zn.value && b.value && !Bt.value) {
|
|
812
|
+
Bt.value = !0;
|
|
796
813
|
try {
|
|
797
|
-
|
|
798
|
-
let e = Math.min(.95, Math.max(.05, y.focusRangeRatio)), t = Number(y.max) - Number(y.min),
|
|
799
|
-
|
|
800
|
-
let ee = Math.min(Number(y.max),
|
|
801
|
-
O.value =
|
|
814
|
+
sr.value = cr(i);
|
|
815
|
+
let e = Math.min(.95, Math.max(.05, y.focusRangeRatio)), t = Number(y.max) - Number(y.min), n = Math.max(1, Math.round(t * e)), r = Math.floor(n / 2), a = sr.value - r;
|
|
816
|
+
a = Math.max(Number(y.min), Math.min(a, Number(y.max) - n));
|
|
817
|
+
let ee = Math.min(Number(y.max), a + n);
|
|
818
|
+
O.value = a, k.value = ee, Qt(a), $t(ee), o(b.value, "mouseup"), await de(), o(b.value, "mousedown", { clientX: i });
|
|
802
819
|
} finally {
|
|
803
|
-
|
|
820
|
+
Bt.value = !1;
|
|
804
821
|
}
|
|
805
822
|
return;
|
|
806
823
|
}
|
|
807
|
-
|
|
824
|
+
ir.value = x.value, ar.value = S.value, or.value = nr.value, K = t ? "touchmove" : "mousemove", q = t ? "touchend" : "mouseup", J = t ? dr : ur, Y = t ? mr : pr, window.addEventListener(K, J, { passive: !1 }), window.addEventListener(q, Y);
|
|
808
825
|
};
|
|
809
|
-
function
|
|
810
|
-
G.value &&
|
|
826
|
+
function ur(e) {
|
|
827
|
+
G.value && fr(e.clientX);
|
|
811
828
|
}
|
|
812
|
-
function
|
|
829
|
+
function dr(e) {
|
|
813
830
|
if (!G.value || !b.value) return;
|
|
814
831
|
let t = e.target;
|
|
815
832
|
if (!(t instanceof Element) || !b.value.contains(t) || t.classList && t.classList.contains("range-handle")) return;
|
|
816
833
|
e.preventDefault();
|
|
817
834
|
let n = e.targetTouches && e.targetTouches[0] ? e.targetTouches[0] : null;
|
|
818
|
-
n &&
|
|
835
|
+
n && fr(n.clientX);
|
|
819
836
|
}
|
|
820
|
-
function
|
|
837
|
+
function fr(e) {
|
|
821
838
|
if (!G.value) return;
|
|
822
|
-
let t =
|
|
823
|
-
r = Math.max(y.min, Math.min(r, y.max -
|
|
824
|
-
let i = r +
|
|
825
|
-
O.value = r, k.value = i,
|
|
839
|
+
let t = cr(rr.value), n = cr(e) - t, r = Math.round(ir.value + n);
|
|
840
|
+
r = Math.max(y.min, Math.min(r, y.max - Xn.value));
|
|
841
|
+
let i = r + Xn.value;
|
|
842
|
+
O.value = r, k.value = i, Qt(r), $t(i);
|
|
826
843
|
}
|
|
827
|
-
function
|
|
828
|
-
|
|
844
|
+
function pr() {
|
|
845
|
+
hr();
|
|
829
846
|
}
|
|
830
|
-
function
|
|
831
|
-
|
|
847
|
+
function mr() {
|
|
848
|
+
hr();
|
|
832
849
|
}
|
|
833
|
-
function
|
|
850
|
+
function hr() {
|
|
834
851
|
G.value = !1, K && J && window.removeEventListener(K, J), q && Y && window.removeEventListener(q, Y), K = q = null, J = Y = null, A();
|
|
835
852
|
}
|
|
836
|
-
let X =
|
|
837
|
-
function
|
|
838
|
-
if (
|
|
839
|
-
let e = Math.round(
|
|
840
|
-
e !==
|
|
853
|
+
let X = _(!1), gr = _(null), _r = _(null), vr = _(1), yr = _(1), Z = _(!1);
|
|
854
|
+
function br() {
|
|
855
|
+
if (gr.value) {
|
|
856
|
+
let e = Math.round(gr.value.getBoundingClientRect().width);
|
|
857
|
+
e !== vr.value && (vr.value = e);
|
|
841
858
|
}
|
|
842
859
|
}
|
|
843
|
-
function
|
|
844
|
-
if (
|
|
845
|
-
let e = Math.round(
|
|
846
|
-
e !==
|
|
860
|
+
function xr() {
|
|
861
|
+
if (_r.value) {
|
|
862
|
+
let e = Math.round(_r.value.getBoundingClientRect().width);
|
|
863
|
+
e !== yr.value && (yr.value = e);
|
|
847
864
|
}
|
|
848
865
|
}
|
|
849
|
-
|
|
850
|
-
|
|
866
|
+
he(() => {
|
|
867
|
+
br(), xr();
|
|
851
868
|
});
|
|
852
|
-
let
|
|
853
|
-
function
|
|
854
|
-
|
|
869
|
+
let Sr = _(0);
|
|
870
|
+
function Cr(e) {
|
|
871
|
+
Sr.value = +(e === "start");
|
|
855
872
|
}
|
|
856
|
-
let
|
|
873
|
+
let wr = _(!1), Tr = _({
|
|
857
874
|
width: 0,
|
|
858
875
|
left: 0
|
|
859
876
|
});
|
|
860
|
-
|
|
861
|
-
if (await de(), !
|
|
862
|
-
|
|
877
|
+
xe([x, S], async () => {
|
|
878
|
+
if (await de(), !gr.value || !_r.value) {
|
|
879
|
+
wr.value = !1, Tr.value = {
|
|
863
880
|
width: 0,
|
|
864
881
|
left: 0
|
|
865
882
|
};
|
|
866
883
|
return;
|
|
867
884
|
}
|
|
868
|
-
let e =
|
|
869
|
-
|
|
885
|
+
let e = gr.value.getBoundingClientRect(), t = _r.value.getBoundingClientRect();
|
|
886
|
+
wr.value = e.x + e.width > t.x;
|
|
870
887
|
let n = e.x + e.width / 2, r = t.x + t.width / 2, i = e.width + t.width, a = (n + r) / 2;
|
|
871
|
-
|
|
888
|
+
Tr.value = {
|
|
872
889
|
width: i,
|
|
873
890
|
left: a - i / 2
|
|
874
891
|
};
|
|
875
|
-
}),
|
|
876
|
-
|
|
877
|
-
}),
|
|
878
|
-
de(
|
|
879
|
-
}, { deep: !0 }),
|
|
880
|
-
de(
|
|
892
|
+
}), he(() => {
|
|
893
|
+
br(), xr();
|
|
894
|
+
}), xe(() => y.labelLeft, () => {
|
|
895
|
+
de(br);
|
|
896
|
+
}, { deep: !0 }), xe(() => y.labelRight, () => {
|
|
897
|
+
de(xr);
|
|
881
898
|
}, { deep: !0 });
|
|
882
899
|
let Q = u(() => {
|
|
883
900
|
let e = "", t = "", n = !1;
|
|
884
|
-
if (
|
|
901
|
+
if (re(y.customFormat)) try {
|
|
885
902
|
let r = y.customFormat({
|
|
886
903
|
absoluteIndex: x.value,
|
|
887
904
|
seriesIndex: x.value,
|
|
@@ -889,10 +906,10 @@ var Te = ["data-minimap"], Ee = {
|
|
|
889
906
|
timeLabel: y.preciseLabels[x.value],
|
|
890
907
|
side: "left"
|
|
891
908
|
}), i = y.customFormat({
|
|
892
|
-
absoluteIndex:
|
|
909
|
+
absoluteIndex: Ht.value,
|
|
893
910
|
seriesIndex: -1,
|
|
894
911
|
datapoint: y.selectedSeries,
|
|
895
|
-
timeLabel: y.useValueRange ? null : y.preciseLabels[
|
|
912
|
+
timeLabel: y.useValueRange ? null : y.preciseLabels[Ht.value],
|
|
896
913
|
side: "right"
|
|
897
914
|
});
|
|
898
915
|
typeof r == "string" && typeof i == "string" && (e = r, t = i, n = !0);
|
|
@@ -900,7 +917,7 @@ var Te = ["data-minimap"], Ee = {
|
|
|
900
917
|
n = !1;
|
|
901
918
|
}
|
|
902
919
|
if (!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 ===
|
|
920
|
+
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 === Ht.value) : y.timeLabels.find((e) => e.absoluteIndex === Ht.value);
|
|
904
921
|
e = n ? n.text : "", t = r ? r.text : "";
|
|
905
922
|
}
|
|
906
923
|
return {
|
|
@@ -908,11 +925,11 @@ var Te = ["data-minimap"], Ee = {
|
|
|
908
925
|
right: t
|
|
909
926
|
};
|
|
910
927
|
});
|
|
911
|
-
|
|
928
|
+
pe(() => {
|
|
912
929
|
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);
|
|
913
930
|
});
|
|
914
|
-
let
|
|
915
|
-
if (!
|
|
931
|
+
let Er = u(() => {
|
|
932
|
+
if (!un.value || W.value === null) return null;
|
|
916
933
|
if (y.useValueRange) {
|
|
917
934
|
let e = W.value;
|
|
918
935
|
return e < U.value.x || e > U.value.x + U.value.width ? null : {
|
|
@@ -940,54 +957,54 @@ var Te = ["data-minimap"], Ee = {
|
|
|
940
957
|
};
|
|
941
958
|
}
|
|
942
959
|
return null;
|
|
943
|
-
}),
|
|
944
|
-
function
|
|
960
|
+
}), Dr = u(() => Number(x.value) < Number(S.value) - 1), Or = u(() => Number(x.value) > Number(y.min)), kr = u(() => Number(S.value) < Number(y.max)), Ar = u(() => Number(S.value) > Number(x.value) + 1);
|
|
961
|
+
function jr(e) {
|
|
945
962
|
let t = Number(x.value) + e;
|
|
946
|
-
e > 0 && !
|
|
963
|
+
e > 0 && !Dr.value || e < 0 && !Or.value || (w.value = !0, O.value = t, A());
|
|
947
964
|
}
|
|
948
|
-
function
|
|
965
|
+
function Mr(e) {
|
|
949
966
|
let t = Number(S.value) + e;
|
|
950
|
-
e > 0 && !
|
|
967
|
+
e > 0 && !kr.value || e < 0 && !Ar.value || (w.value = !0, k.value = t, A());
|
|
951
968
|
}
|
|
952
|
-
let
|
|
953
|
-
plus: () =>
|
|
954
|
-
minus: () =>
|
|
955
|
-
canPlus: Tr,
|
|
956
|
-
canMinus: Er
|
|
957
|
-
}, Mr = {
|
|
958
|
-
plus: () => Ar(1),
|
|
959
|
-
minus: () => Ar(-1),
|
|
969
|
+
let Nr = {
|
|
970
|
+
plus: () => jr(1),
|
|
971
|
+
minus: () => jr(-1),
|
|
960
972
|
canPlus: Dr,
|
|
961
973
|
canMinus: Or
|
|
974
|
+
}, Pr = {
|
|
975
|
+
plus: () => Mr(1),
|
|
976
|
+
minus: () => Mr(-1),
|
|
977
|
+
canPlus: kr,
|
|
978
|
+
canMinus: Ar
|
|
962
979
|
};
|
|
963
|
-
function
|
|
964
|
-
if (!e ||
|
|
980
|
+
function Fr(e) {
|
|
981
|
+
if (!e || Ir(e.target)) return;
|
|
965
982
|
let t = e.key, n = t === "ArrowLeft" || t === "ArrowDown" || t === "-" || t === "Subtract", r = t === "ArrowRight" || t === "ArrowUp" || t === "+" || t === "Add";
|
|
966
|
-
!n && !r || (e.preventDefault(), e.stopPropagation(), r ? (
|
|
983
|
+
!n && !r || (e.preventDefault(), e.stopPropagation(), r ? (Nr.plus(), Pr.plus()) : (Nr.minus(), Pr.minus()));
|
|
967
984
|
}
|
|
968
|
-
function
|
|
985
|
+
function Ir(e) {
|
|
969
986
|
return e instanceof HTMLElement && (e.isContentEditable || e.tagName === "INPUT" || e.tagName === "TEXTAREA" || e.tagName === "SELECT");
|
|
970
987
|
}
|
|
971
|
-
function
|
|
988
|
+
function Lr(e) {
|
|
972
989
|
if (!C.value || !y.minimapCompact) return;
|
|
973
990
|
let t = b.value;
|
|
974
991
|
if (!t) return;
|
|
975
992
|
let n = e === "start" ? "[data-cy=\"slicer-compact-handle-left\"]" : "[data-cy=\"slicer-compact-handle-right\"]", r = t.querySelector(n);
|
|
976
993
|
r && r instanceof SVGElement && typeof r.focus == "function" && r.focus();
|
|
977
994
|
}
|
|
978
|
-
function
|
|
979
|
-
if (!t ||
|
|
995
|
+
function Rr(e, t) {
|
|
996
|
+
if (!t || Ir(t.target)) return;
|
|
980
997
|
let n = t.key, r = n === "ArrowLeft" || n === "ArrowDown" || n === "-" || n === "Subtract", i = n === "ArrowRight" || n === "ArrowUp" || n === "+" || n === "Add";
|
|
981
|
-
!r && !i || (t.preventDefault(), t.stopPropagation(), e === "start" ? i ?
|
|
998
|
+
!r && !i || (t.preventDefault(), t.stopPropagation(), e === "start" ? i ? Nr.plus() : Nr.minus() : i ? Pr.plus() : Pr.minus(), de(() => Lr(e)));
|
|
982
999
|
}
|
|
983
|
-
let
|
|
1000
|
+
let zr = u(() => ({
|
|
984
1001
|
tabindex: 0,
|
|
985
1002
|
role: "slider",
|
|
986
1003
|
"aria-label": "Range start",
|
|
987
1004
|
"aria-valuemin": Number(y.min),
|
|
988
1005
|
"aria-valuemax": Math.max(Number(y.min), Number(S.value) - 1),
|
|
989
1006
|
"aria-valuenow": Number(x.value)
|
|
990
|
-
})),
|
|
1007
|
+
})), Br = u(() => ({
|
|
991
1008
|
tabindex: 0,
|
|
992
1009
|
role: "slider",
|
|
993
1010
|
"aria-label": "Range end",
|
|
@@ -995,69 +1012,69 @@ var Te = ["data-minimap"], Ee = {
|
|
|
995
1012
|
"aria-valuemax": Number(y.max),
|
|
996
1013
|
"aria-valuenow": Number(S.value)
|
|
997
1014
|
}));
|
|
998
|
-
function
|
|
999
|
-
if (!
|
|
1000
|
-
let t =
|
|
1015
|
+
function Vr(e) {
|
|
1016
|
+
if (!zt.value) return 0;
|
|
1017
|
+
let t = zt.value.getBoundingClientRect();
|
|
1001
1018
|
if (!t.width) return 0;
|
|
1002
1019
|
let n = (e - t.left) / t.width;
|
|
1003
1020
|
return Math.min(1, Math.max(0, n)) * F.value.width;
|
|
1004
1021
|
}
|
|
1005
|
-
function
|
|
1022
|
+
function Hr(e) {
|
|
1006
1023
|
let t = Math.max(0, L.value - 1), n = Math.max(1, F.value.width), r = Math.min(1, Math.max(0, e / n));
|
|
1007
1024
|
return Math.min(t, Math.max(0, Math.round(r * t)));
|
|
1008
1025
|
}
|
|
1009
|
-
function
|
|
1026
|
+
function Ur(e) {
|
|
1010
1027
|
let t = Math.min(Math.max(0, e), Math.max(1, F.value.width));
|
|
1011
1028
|
if (y.useValueRange) {
|
|
1012
|
-
let e =
|
|
1029
|
+
let e = Kt(t);
|
|
1013
1030
|
if (E.value === "start") {
|
|
1014
1031
|
let t = Math.min(e, Number(S.value) - D.value);
|
|
1015
|
-
O.value = t,
|
|
1032
|
+
O.value = t, Qt(t);
|
|
1016
1033
|
return;
|
|
1017
1034
|
}
|
|
1018
1035
|
if (E.value === "end") {
|
|
1019
1036
|
let t = Math.max(Number(x.value) + D.value, e), n = Math.min(Number(y.max), t);
|
|
1020
|
-
k.value = n,
|
|
1037
|
+
k.value = n, $t(n);
|
|
1021
1038
|
return;
|
|
1022
1039
|
}
|
|
1023
1040
|
}
|
|
1024
|
-
let n =
|
|
1041
|
+
let n = Hr(t);
|
|
1025
1042
|
if (E.value === "start") {
|
|
1026
1043
|
let e = Math.min(y.min + n, Number(S.value) - 1);
|
|
1027
|
-
O.value = e,
|
|
1044
|
+
O.value = e, Qt(e);
|
|
1028
1045
|
return;
|
|
1029
1046
|
}
|
|
1030
1047
|
if (E.value === "end") {
|
|
1031
1048
|
let e = Math.max(Number(x.value) + 1, y.min + n + 1), t = Math.min(y.max, e);
|
|
1032
|
-
k.value = t,
|
|
1049
|
+
k.value = t, $t(t);
|
|
1033
1050
|
}
|
|
1034
1051
|
}
|
|
1035
|
-
function
|
|
1052
|
+
function Wr(e) {
|
|
1036
1053
|
if (!E.value || !P.value) return;
|
|
1037
|
-
let t = e.clientX -
|
|
1038
|
-
if (!
|
|
1054
|
+
let t = e.clientX - Lt.value;
|
|
1055
|
+
if (!It.value) {
|
|
1039
1056
|
if (Math.abs(t) < 4) return;
|
|
1040
|
-
|
|
1057
|
+
It.value = !0, w.value = !0, Z.value = !0;
|
|
1041
1058
|
}
|
|
1042
|
-
let n =
|
|
1043
|
-
|
|
1059
|
+
let n = Vr(e.clientX) - Rt.value;
|
|
1060
|
+
Ur(E.value === "start" ? n + Xt.value : n);
|
|
1044
1061
|
}
|
|
1045
|
-
function
|
|
1062
|
+
function Gr() {
|
|
1046
1063
|
if (!E.value) return;
|
|
1047
|
-
window.removeEventListener("mousemove",
|
|
1048
|
-
let e =
|
|
1049
|
-
E.value = null,
|
|
1064
|
+
window.removeEventListener("mousemove", Wr, !0), window.removeEventListener("mouseup", Gr, !0);
|
|
1065
|
+
let e = It.value;
|
|
1066
|
+
E.value = null, It.value = !1, Lt.value = 0, Rt.value = 0, e && A();
|
|
1050
1067
|
}
|
|
1051
|
-
function
|
|
1068
|
+
function Kr(e, t) {
|
|
1052
1069
|
if (!C.value || !y.minimapCompact || !P.value) return;
|
|
1053
1070
|
t.preventDefault(), t.stopPropagation(), W.value = null;
|
|
1054
|
-
let n =
|
|
1055
|
-
E.value = e,
|
|
1071
|
+
let n = Vr(t.clientX), r = e === "start" ? U.value.x - Xt.value : U.value.x + U.value.width;
|
|
1072
|
+
E.value = e, It.value = !1, Lt.value = t.clientX, Rt.value = n - r, window.addEventListener("mousemove", Wr, !0), window.addEventListener("mouseup", Gr, !0);
|
|
1056
1073
|
}
|
|
1057
|
-
let
|
|
1074
|
+
let qr = u(() => R.value), Jr = u(() => Math.max(R.value, z.value - 1));
|
|
1058
1075
|
u(() => {
|
|
1059
1076
|
if (!C.value || !y.minimapCompact || !y.allMinimaps.length) return [];
|
|
1060
|
-
let e =
|
|
1077
|
+
let e = qr.value, t = Jr.value;
|
|
1061
1078
|
return H.value.flatMap((n) => {
|
|
1062
1079
|
if (!n?.isVisible || !["line", "plot"].includes(n.type) || !n.type) return [];
|
|
1063
1080
|
let r = [], i = n.points?.find((t) => t.i === e && t.value !== null), a = n.points?.find((e) => e.i === t && e.value !== null);
|
|
@@ -1074,32 +1091,29 @@ var Te = ["data-minimap"], Ee = {
|
|
|
1074
1091
|
}), r;
|
|
1075
1092
|
});
|
|
1076
1093
|
});
|
|
1077
|
-
let $ = u(() => Math.min(40, Math.max(20, y.handleWidth))),
|
|
1094
|
+
let $ = u(() => Math.min(40, Math.max(20, y.handleWidth))), Yr = u(() => U.value.x - $.value), Xr = u(() => U.value.x + U.value.width);
|
|
1078
1095
|
return At({
|
|
1079
|
-
setStartValue:
|
|
1080
|
-
setEndValue:
|
|
1081
|
-
}), (e, t) => (
|
|
1096
|
+
setStartValue: qn,
|
|
1097
|
+
setEndValue: Yn
|
|
1098
|
+
}), (e, t) => (g(), f("div", {
|
|
1082
1099
|
"data-minimap": C.value,
|
|
1083
1100
|
"data-dom-to-png-ignore": "",
|
|
1084
1101
|
"data-dom-to-png-ignore-layout": "",
|
|
1085
|
-
style: m([{ padding: "0 48px" }, {
|
|
1086
|
-
maxWidth: s.maxWidth ? s.maxWidth + "px" : void 0,
|
|
1087
|
-
margin: s.maxWidth ? "0 auto" : void 0
|
|
1088
|
-
}]),
|
|
1089
1102
|
class: "vue-data-ui-zoom",
|
|
1090
1103
|
ref_key: "zoomWrapper",
|
|
1091
1104
|
ref: b,
|
|
1092
|
-
onMousedown:
|
|
1093
|
-
onTouchstart:
|
|
1094
|
-
|
|
1105
|
+
onMousedown: lr,
|
|
1106
|
+
onTouchstart: lr,
|
|
1107
|
+
style: h(Pt.value)
|
|
1108
|
+
}, [p("div", Ee, [s.valueStart !== s.refreshStartPoint || s.valueEnd !== en.value ? (g(), f("div", De, [ge(e.$slots, "reset-action", { reset: dn }, () => [p("button", {
|
|
1095
1109
|
tabindex: "0",
|
|
1096
1110
|
role: "button",
|
|
1097
1111
|
class: "vue-data-ui-refresh-button",
|
|
1098
|
-
style:
|
|
1112
|
+
style: h({
|
|
1099
1113
|
top: C.value ? "36px" : "-16px",
|
|
1100
1114
|
cursor: s.isCursorPointer ? "pointer" : "default"
|
|
1101
1115
|
}),
|
|
1102
|
-
onClick:
|
|
1116
|
+
onClick: dn
|
|
1103
1117
|
}, [ce(oe, {
|
|
1104
1118
|
name: "refresh",
|
|
1105
1119
|
stroke: s.textColor
|
|
@@ -1107,24 +1121,24 @@ var Te = ["data-minimap"], Ee = {
|
|
|
1107
1121
|
class: "double-range-slider",
|
|
1108
1122
|
ref_key: "minimapWrapper",
|
|
1109
1123
|
ref: P,
|
|
1110
|
-
style:
|
|
1124
|
+
style: h([{ "z-index": "0" }, C.value ? {
|
|
1111
1125
|
"--minimap-unit-px": B.value + "px",
|
|
1112
1126
|
"--minimap-offset-px": (s.minimapCompact ? 0 : B.value / 2) + "px"
|
|
1113
1127
|
} : void 0]),
|
|
1114
1128
|
onMouseenter: t[18] ||= (e) => Z.value = !0,
|
|
1115
1129
|
onMouseleave: t[19] ||= (e) => Z.value = !1
|
|
1116
1130
|
}, [
|
|
1117
|
-
C.value ? (
|
|
1131
|
+
C.value ? (g(), f("div", Oe, [(g(), f("svg", {
|
|
1118
1132
|
ref_key: "minimapSvg",
|
|
1119
|
-
ref:
|
|
1133
|
+
ref: zt,
|
|
1120
1134
|
key: `mm-${s.minimapMerged ? "merged" : "split"}-${s.minimapCompact ? "compact" : "normal"}`,
|
|
1121
|
-
xmlns:
|
|
1135
|
+
xmlns: ve(ne),
|
|
1122
1136
|
viewBox: `0 0 ${Math.max(0, F.value.width)} ${Math.max(0, F.value.height)}`,
|
|
1123
1137
|
preserveAspectRatio: "none"
|
|
1124
1138
|
}, [
|
|
1125
1139
|
p("defs", null, [ce(se, {
|
|
1126
1140
|
t: "linear",
|
|
1127
|
-
id:
|
|
1141
|
+
id: Ft.value,
|
|
1128
1142
|
x1: "0%",
|
|
1129
1143
|
y1: "0%",
|
|
1130
1144
|
x2: "0%",
|
|
@@ -1138,13 +1152,13 @@ var Te = ["data-minimap"], Ee = {
|
|
|
1138
1152
|
"transparent",
|
|
1139
1153
|
0
|
|
1140
1154
|
]]
|
|
1141
|
-
}, null, 8, ["id", "stops"]), p("clipPath", { id: `selection_clip_${
|
|
1155
|
+
}, null, 8, ["id", "stops"]), p("clipPath", { id: `selection_clip_${Ft.value}` }, [p("rect", {
|
|
1142
1156
|
x: U.value.x,
|
|
1143
1157
|
y: "0",
|
|
1144
1158
|
width: Math.max(0, U.value.width),
|
|
1145
1159
|
height: Math.max(F.value.height, 0)
|
|
1146
1160
|
}, null, 8, je)], 8, Ae)]),
|
|
1147
|
-
s.minimapCompact ? (
|
|
1161
|
+
s.minimapCompact ? (g(), f("rect", {
|
|
1148
1162
|
key: 0,
|
|
1149
1163
|
class: "vue-ui-zoom-minimap-frame",
|
|
1150
1164
|
x: 0,
|
|
@@ -1155,7 +1169,7 @@ var Te = ["data-minimap"], Ee = {
|
|
|
1155
1169
|
stroke: s.minimapFrameColor,
|
|
1156
1170
|
rx: 3
|
|
1157
1171
|
}, null, 8, Me)) : d("", !0),
|
|
1158
|
-
e.$slots.slotMap ? d("", !0) : (
|
|
1172
|
+
e.$slots.slotMap ? d("", !0) : (g(), f(l, { key: 1 }, [s.minimapMerged ? (g(), f("path", {
|
|
1159
1173
|
key: 0,
|
|
1160
1174
|
d: `M${V.value.fullSet}`,
|
|
1161
1175
|
stroke: `${s.minimapLineColor}`,
|
|
@@ -1164,30 +1178,30 @@ var Te = ["data-minimap"], Ee = {
|
|
|
1164
1178
|
"stroke-linecap": "round",
|
|
1165
1179
|
"stroke-linejoin": "round",
|
|
1166
1180
|
style: { opacity: "0.6" }
|
|
1167
|
-
}, null, 8, Ne)) : d("", !0), s.minimapMerged && !s.minimapCompact ? (
|
|
1181
|
+
}, null, 8, Ne)) : d("", !0), s.minimapMerged && !s.minimapCompact ? (g(), f("path", {
|
|
1168
1182
|
key: 1,
|
|
1169
1183
|
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(#${
|
|
1184
|
+
fill: `url(#${Ft.value})`,
|
|
1171
1185
|
stroke: "none",
|
|
1172
1186
|
style: { opacity: "0.6" }
|
|
1173
|
-
}, null, 8, Pe)) : s.minimapMerged ? d("", !0) : (
|
|
1174
|
-
(
|
|
1187
|
+
}, null, 8, Pe)) : s.minimapMerged ? d("", !0) : (g(), f(l, { key: 2 }, [
|
|
1188
|
+
(g(!0), f(l, null, v(H.value.filter((e) => e.type === "bar" && e.isVisible), (e, t) => (g(), f("g", null, [(g(!0), f(l, null, v(e.points, (n, r) => (g(), f(l, null, [e && !isNaN(n.y) ? (g(), f("rect", {
|
|
1175
1189
|
key: 0,
|
|
1176
|
-
x:
|
|
1190
|
+
x: yn(n.x, t, r),
|
|
1177
1191
|
y: n.v >= 0 ? n.y : n.y0,
|
|
1178
|
-
width:
|
|
1192
|
+
width: bn(t, r),
|
|
1179
1193
|
height: n.v >= 0 ? n.y0 - n.y : n.y - n.y0,
|
|
1180
1194
|
fill: e.color,
|
|
1181
1195
|
style: { opacity: .6 }
|
|
1182
1196
|
}, null, 8, Fe)) : d("", !0)], 64))), 256))]))), 256)),
|
|
1183
|
-
(
|
|
1197
|
+
(g(!0), f(l, null, v(H.value.filter((e) => e.type === "line"), (e) => (g(), f("g", null, [e.isVisible ? (g(), f("path", {
|
|
1184
1198
|
key: 0,
|
|
1185
1199
|
d: `M ${e.fullSet}`,
|
|
1186
1200
|
fill: "none",
|
|
1187
1201
|
stroke: e.color,
|
|
1188
1202
|
style: { opacity: "0.6" },
|
|
1189
1203
|
"stroke-dasharray": e.dashed ? "2 4" : 0
|
|
1190
|
-
}, null, 8, Ie)) : d("", !0), e.isVisible && s.cutNullValues ? (
|
|
1204
|
+
}, null, 8, Ie)) : d("", !0), e.isVisible && s.cutNullValues ? (g(!0), f(l, { key: 1 }, v(e.fullMarkers, (t) => (g(), f("circle", {
|
|
1191
1205
|
key: `sel-dot-under-${e.key}-${t.i}`,
|
|
1192
1206
|
cx: t.x,
|
|
1193
1207
|
cy: t.y,
|
|
@@ -1197,7 +1211,7 @@ var Te = ["data-minimap"], Ee = {
|
|
|
1197
1211
|
"stroke-width": "0.5",
|
|
1198
1212
|
style: { opacity: "0.6" }
|
|
1199
1213
|
}, null, 8, Le))), 128)) : d("", !0)]))), 256)),
|
|
1200
|
-
(
|
|
1214
|
+
(g(!0), f(l, null, v(H.value.filter((e) => e.type === "plot"), (e) => (g(), f("g", null, [(g(!0), f(l, null, v(e.points, (t) => (g(), f("g", null, [e.isVisible && t.value !== null ? (g(), f("circle", {
|
|
1201
1215
|
key: `sel-plot-under-${e.key}-${t.i}`,
|
|
1202
1216
|
cx: t.x,
|
|
1203
1217
|
cy: t.y,
|
|
@@ -1224,7 +1238,7 @@ var Te = ["data-minimap"], Ee = {
|
|
|
1224
1238
|
height: Math.max(F.value.height, 0),
|
|
1225
1239
|
rx: s.minimapSelectionRadius,
|
|
1226
1240
|
fill: N.value,
|
|
1227
|
-
style:
|
|
1241
|
+
style: h({ opacity: G.value || w.value ? 0 : 1 })
|
|
1228
1242
|
}, null, 12, Be),
|
|
1229
1243
|
p("rect", {
|
|
1230
1244
|
x: U.value.x,
|
|
@@ -1233,7 +1247,7 @@ var Te = ["data-minimap"], Ee = {
|
|
|
1233
1247
|
height: Math.max(F.value.height, 0),
|
|
1234
1248
|
fill: s.minimapSelectedColor,
|
|
1235
1249
|
rx: s.minimapSelectionRadius,
|
|
1236
|
-
style:
|
|
1250
|
+
style: h({ opacity: s.minimapSelectedColorOpacity }),
|
|
1237
1251
|
tabindex: "0",
|
|
1238
1252
|
role: "slider",
|
|
1239
1253
|
"aria-label": "Selected range",
|
|
@@ -1241,20 +1255,20 @@ var Te = ["data-minimap"], Ee = {
|
|
|
1241
1255
|
"aria-valuemax": Number(y.max),
|
|
1242
1256
|
"aria-valuenow": Number(x.value),
|
|
1243
1257
|
"aria-valuetext": Q.value.left && Q.value.right ? `${Q.value.left} – ${Q.value.right}` : void 0,
|
|
1244
|
-
onKeydown:
|
|
1258
|
+
onKeydown: Fr
|
|
1245
1259
|
}, null, 44, Ve),
|
|
1246
|
-
!s.minimapMerged &&
|
|
1260
|
+
!s.minimapMerged && On.value < 0 ? (g(), f("line", {
|
|
1247
1261
|
key: 2,
|
|
1248
1262
|
class: "slicer-minimap-zero-line",
|
|
1249
1263
|
x1: 0,
|
|
1250
1264
|
x2: F.value.width,
|
|
1251
|
-
y1:
|
|
1252
|
-
y2:
|
|
1265
|
+
y1: An.value,
|
|
1266
|
+
y2: An.value,
|
|
1253
1267
|
stroke: s.minimapFrameColor,
|
|
1254
1268
|
"stroke-width": "0.5"
|
|
1255
1269
|
}, null, 8, He)) : d("", !0),
|
|
1256
|
-
e.$slots.slotMap ? d("", !0) : (
|
|
1257
|
-
V.value && V.value.sliced && V.value.sliced.length ? (
|
|
1270
|
+
e.$slots.slotMap ? d("", !0) : (g(), f(l, { key: 3 }, [s.minimapMerged ? (g(), f("g", Ue, [
|
|
1271
|
+
V.value && V.value.sliced && V.value.sliced.length ? (g(), f(l, { key: 0 }, [V.value.selectionSet ? (g(), f("path", {
|
|
1258
1272
|
key: 0,
|
|
1259
1273
|
d: `M ${V.value.selectionSet}`,
|
|
1260
1274
|
stroke: `${s.minimapLineColor}`,
|
|
@@ -1263,7 +1277,7 @@ var Te = ["data-minimap"], Ee = {
|
|
|
1263
1277
|
"stroke-linecap": "round",
|
|
1264
1278
|
"stroke-linejoin": "round"
|
|
1265
1279
|
}, null, 8, We)) : d("", !0)], 64)) : d("", !0),
|
|
1266
|
-
V.value && V.value.firstPlot ? (
|
|
1280
|
+
V.value && V.value.firstPlot ? (g(), f("circle", {
|
|
1267
1281
|
key: 1,
|
|
1268
1282
|
cx: V.value.firstPlot.x,
|
|
1269
1283
|
cy: V.value.firstPlot.y,
|
|
@@ -1272,7 +1286,7 @@ var Te = ["data-minimap"], Ee = {
|
|
|
1272
1286
|
r: "3",
|
|
1273
1287
|
fill: s.minimapLineColor
|
|
1274
1288
|
}, null, 8, Ge)) : d("", !0),
|
|
1275
|
-
V.value && V.value.lastPlot ? (
|
|
1289
|
+
V.value && V.value.lastPlot ? (g(), f("circle", {
|
|
1276
1290
|
key: 2,
|
|
1277
1291
|
cx: V.value.lastPlot.x,
|
|
1278
1292
|
cy: V.value.lastPlot.y,
|
|
@@ -1281,17 +1295,17 @@ var Te = ["data-minimap"], Ee = {
|
|
|
1281
1295
|
r: "3",
|
|
1282
1296
|
fill: s.minimapLineColor
|
|
1283
1297
|
}, null, 8, Ke)) : d("", !0)
|
|
1284
|
-
])) : (
|
|
1285
|
-
(
|
|
1298
|
+
])) : (g(), f("g", qe, [
|
|
1299
|
+
(g(!0), f(l, null, v(H.value.filter((e) => e.type === "bar" && e.isVisible), (e, t) => (g(), f("g", null, [(g(!0), f(l, null, v(e.points, (n, r) => (g(), f(l, null, [e && !isNaN(n.y) ? (g(), f("rect", {
|
|
1286
1300
|
key: 0,
|
|
1287
|
-
x:
|
|
1301
|
+
x: yn(n.x, t, r),
|
|
1288
1302
|
y: n.v >= 0 ? n.y : n.y0,
|
|
1289
|
-
width:
|
|
1303
|
+
width: bn(t, r),
|
|
1290
1304
|
height: n.v >= 0 ? n.y0 - n.y : n.y - n.y0,
|
|
1291
1305
|
fill: e.color,
|
|
1292
|
-
style:
|
|
1306
|
+
style: h({ opacity: +(r >= O.value && r < k.value) })
|
|
1293
1307
|
}, null, 12, Je)) : d("", !0)], 64))), 256))]))), 256)),
|
|
1294
|
-
(
|
|
1308
|
+
(g(!0), f(l, null, v(H.value.filter((e) => e.type === "line"), (e, t) => (g(), f("g", { key: String(e.key) }, [e && e.hasSelection && e.selectionSet && e.isVisible ? (g(), f("path", {
|
|
1295
1309
|
key: 0,
|
|
1296
1310
|
d: `M ${e.selectionSet}`,
|
|
1297
1311
|
stroke: e.temperatureColors ? `url(#temperature_grad_line_${t}_${s.uuid})` : e.color,
|
|
@@ -1301,7 +1315,7 @@ var Te = ["data-minimap"], Ee = {
|
|
|
1301
1315
|
"stroke-linejoin": "round",
|
|
1302
1316
|
"stroke-dasharray": e.dashed ? "2 4" : 0
|
|
1303
1317
|
}, null, 8, Ye)) : d("", !0)]))), 128)),
|
|
1304
|
-
(
|
|
1318
|
+
(g(!0), f(l, null, v(H.value.filter((e) => e.type === "plot"), (e) => (g(), f("g", { key: String(e.key) }, [(g(!0), f(l, null, v(e.sliced, (t) => (g(), f("g", null, [e.isVisible && t.value !== null ? (g(), f("circle", {
|
|
1305
1319
|
key: 0,
|
|
1306
1320
|
cx: t.x,
|
|
1307
1321
|
cy: t.y,
|
|
@@ -1312,29 +1326,29 @@ var Te = ["data-minimap"], Ee = {
|
|
|
1312
1326
|
style: { opacity: "0.6" }
|
|
1313
1327
|
}, null, 8, Xe)) : d("", !0)]))), 256))]))), 128))
|
|
1314
1328
|
]))], 64)),
|
|
1315
|
-
e.$slots.slotMap ?
|
|
1329
|
+
e.$slots.slotMap ? ge(e.$slots, "slotMap", fe(le({
|
|
1316
1330
|
width: Math.max(0, F.value.width),
|
|
1317
1331
|
height: Math.max(0, F.value.height),
|
|
1318
|
-
zeroY:
|
|
1332
|
+
zeroY: An.value,
|
|
1319
1333
|
unitW: Math.max(0, B.value)
|
|
1320
1334
|
})), void 0, !0, 4) : d("", !0),
|
|
1321
|
-
W.value !== null && !X.value ? (
|
|
1335
|
+
W.value !== null && !X.value ? (g(), f("line", fe(ue({ key: 5 }, Er.value)), null, 16)) : d("", !0),
|
|
1322
1336
|
p("rect", {
|
|
1323
1337
|
x: 0,
|
|
1324
1338
|
y: 0,
|
|
1325
1339
|
width: Math.max(0, F.value.width),
|
|
1326
1340
|
height: Math.max(0, F.value.height),
|
|
1327
1341
|
fill: "transparent",
|
|
1328
|
-
style:
|
|
1342
|
+
style: h([{ "pointer-events": "all !important" }, { cursor: s.enableSelectionDrag ? X.value ? "grabbing" : "grab" : "default" }]),
|
|
1329
1343
|
onMousedown: t[0] ||= (e) => X.value = !0,
|
|
1330
1344
|
onMouseup: t[1] ||= (e) => X.value = !1,
|
|
1331
|
-
onMousemove:
|
|
1332
|
-
onMouseleave:
|
|
1345
|
+
onMousemove: Vn,
|
|
1346
|
+
onMouseleave: Hn
|
|
1333
1347
|
}, null, 44, Ze),
|
|
1334
|
-
C.value && s.minimapCompact ? (
|
|
1348
|
+
C.value && s.minimapCompact ? (g(), f(l, { key: 6 }, [
|
|
1335
1349
|
p("rect", {
|
|
1336
1350
|
class: "vue-ui-zoom-compact-minimap-handle",
|
|
1337
|
-
x:
|
|
1351
|
+
x: Yr.value,
|
|
1338
1352
|
y: 0,
|
|
1339
1353
|
width: $.value,
|
|
1340
1354
|
height: F.value.height,
|
|
@@ -1343,17 +1357,17 @@ var Te = ["data-minimap"], Ee = {
|
|
|
1343
1357
|
"stroke-width": s.handleBorderWidth,
|
|
1344
1358
|
rx: 3
|
|
1345
1359
|
}, null, 8, Qe),
|
|
1346
|
-
s.handleType && s.handleType !== "empty" ? (
|
|
1360
|
+
s.handleType && s.handleType !== "empty" ? (g(), f("g", {
|
|
1347
1361
|
key: 0,
|
|
1348
1362
|
class: "compact-handle-icon",
|
|
1349
|
-
transform: `translate(${
|
|
1363
|
+
transform: `translate(${Yr.value}, 0)`,
|
|
1350
1364
|
style: { "pointer-events": "none" }
|
|
1351
|
-
}, [(
|
|
1365
|
+
}, [(g(), f("svg", {
|
|
1352
1366
|
width: $.value,
|
|
1353
1367
|
height: F.value.height,
|
|
1354
1368
|
viewBox: "0 0 20 20",
|
|
1355
1369
|
preserveAspectRatio: "xMidYMid meet"
|
|
1356
|
-
}, [s.handleType === "arrow" ? (
|
|
1370
|
+
}, [s.handleType === "arrow" ? (g(), f("path", {
|
|
1357
1371
|
key: 0,
|
|
1358
1372
|
d: "M 7 7 L 3 10 L 7 13 L 7 7 M 13 7 L 17 10 L 13 13 L 13 7",
|
|
1359
1373
|
fill: N.value,
|
|
@@ -1361,7 +1375,7 @@ var Te = ["data-minimap"], Ee = {
|
|
|
1361
1375
|
"stroke-width": .618,
|
|
1362
1376
|
"stroke-linejoin": "round",
|
|
1363
1377
|
"stroke-linecap": "round"
|
|
1364
|
-
}, null, 8, tt)) : s.handleType === "chevron" ? (
|
|
1378
|
+
}, null, 8, tt)) : s.handleType === "chevron" ? (g(), f("path", {
|
|
1365
1379
|
key: 1,
|
|
1366
1380
|
d: "M 6 7 L 4 10 L 6 13 M 14 7 L 16 10 L 14 13",
|
|
1367
1381
|
fill: "none",
|
|
@@ -1369,7 +1383,7 @@ var Te = ["data-minimap"], Ee = {
|
|
|
1369
1383
|
"stroke-width": .618,
|
|
1370
1384
|
"stroke-linejoin": "round",
|
|
1371
1385
|
"stroke-linecap": "round"
|
|
1372
|
-
}, null, 8, nt)) : s.handleType === "grab" ? (
|
|
1386
|
+
}, null, 8, nt)) : s.handleType === "grab" ? (g(), f("path", {
|
|
1373
1387
|
key: 2,
|
|
1374
1388
|
d: "M 8 5 A 1 1 0 0 0 8 7 A 1 1 0 0 0 8 5 M 8 9 A 1 1 0 0 0 8 11 A 1 1 0 0 0 8 9 M 8 13 A 1 1 0 0 0 8 15 A 1 1 0 0 0 8 13 M 12 5 A 1 1 0 0 0 12 7 A 1 1 0 0 0 12 5 M 12 9 A 1 1 0 0 0 12 11 A 1 1 0 0 0 12 9 M 12 13 A 1 1 0 0 0 12 15 A 1 1 0 0 0 12 13",
|
|
1375
1389
|
fill: s.handleIconColor || s.textColor,
|
|
@@ -1378,7 +1392,7 @@ var Te = ["data-minimap"], Ee = {
|
|
|
1378
1392
|
}, null, 8, rt)) : d("", !0)], 8, et))], 8, $e)) : d("", !0),
|
|
1379
1393
|
p("rect", {
|
|
1380
1394
|
class: "vue-ui-zoom-compact-minimap-handle",
|
|
1381
|
-
x:
|
|
1395
|
+
x: Xr.value,
|
|
1382
1396
|
y: 0,
|
|
1383
1397
|
width: $.value,
|
|
1384
1398
|
height: F.value.height,
|
|
@@ -1387,17 +1401,17 @@ var Te = ["data-minimap"], Ee = {
|
|
|
1387
1401
|
"stroke-width": s.handleBorderWidth,
|
|
1388
1402
|
rx: 3
|
|
1389
1403
|
}, null, 8, it),
|
|
1390
|
-
s.handleType && s.handleType !== "empty" ? (
|
|
1404
|
+
s.handleType && s.handleType !== "empty" ? (g(), f("g", {
|
|
1391
1405
|
key: 1,
|
|
1392
1406
|
class: "compact-handle-icon",
|
|
1393
|
-
transform: `translate(${
|
|
1407
|
+
transform: `translate(${Xr.value}, 0)`,
|
|
1394
1408
|
style: { "pointer-events": "none" }
|
|
1395
|
-
}, [(
|
|
1409
|
+
}, [(g(), f("svg", {
|
|
1396
1410
|
width: $.value,
|
|
1397
1411
|
height: F.value.height,
|
|
1398
1412
|
viewBox: "0 0 20 20",
|
|
1399
1413
|
preserveAspectRatio: "xMidYMid meet"
|
|
1400
|
-
}, [s.handleType === "arrow" ? (
|
|
1414
|
+
}, [s.handleType === "arrow" ? (g(), f("path", {
|
|
1401
1415
|
key: 0,
|
|
1402
1416
|
d: "M 7 7 L 3 10 L 7 13 L 7 7 M 13 7 L 17 10 L 13 13 L 13 7",
|
|
1403
1417
|
fill: N.value,
|
|
@@ -1405,7 +1419,7 @@ var Te = ["data-minimap"], Ee = {
|
|
|
1405
1419
|
"stroke-width": .618,
|
|
1406
1420
|
"stroke-linejoin": "round",
|
|
1407
1421
|
"stroke-linecap": "round"
|
|
1408
|
-
}, null, 8, st)) : s.handleType === "chevron" ? (
|
|
1422
|
+
}, null, 8, st)) : s.handleType === "chevron" ? (g(), f("path", {
|
|
1409
1423
|
key: 1,
|
|
1410
1424
|
d: "M 6 7 L 4 10 L 6 13 M 14 7 L 16 10 L 14 13",
|
|
1411
1425
|
fill: "none",
|
|
@@ -1413,7 +1427,7 @@ var Te = ["data-minimap"], Ee = {
|
|
|
1413
1427
|
"stroke-width": .618,
|
|
1414
1428
|
"stroke-linejoin": "round",
|
|
1415
1429
|
"stroke-linecap": "round"
|
|
1416
|
-
}, null, 8, ct)) : s.handleType === "grab" ? (
|
|
1430
|
+
}, null, 8, ct)) : s.handleType === "grab" ? (g(), f("path", {
|
|
1417
1431
|
key: 2,
|
|
1418
1432
|
d: "M 8 5 A 1 1 0 0 0 8 7 A 1 1 0 0 0 8 5 M 8 9 A 1 1 0 0 0 8 11 A 1 1 0 0 0 8 9 M 8 13 A 1 1 0 0 0 8 15 A 1 1 0 0 0 8 13 M 12 5 A 1 1 0 0 0 12 7 A 1 1 0 0 0 12 5 M 12 9 A 1 1 0 0 0 12 11 A 1 1 0 0 0 12 9 M 12 13 A 1 1 0 0 0 12 15 A 1 1 0 0 0 12 13",
|
|
1419
1433
|
fill: s.handleIconColor || s.textColor,
|
|
@@ -1421,8 +1435,8 @@ var Te = ["data-minimap"], Ee = {
|
|
|
1421
1435
|
opacity: "0.6"
|
|
1422
1436
|
}, null, 8, lt)) : d("", !0)], 8, ot))], 8, at)) : d("", !0)
|
|
1423
1437
|
], 64)) : d("", !0),
|
|
1424
|
-
e.$slots.slotMap ? d("", !0) : (
|
|
1425
|
-
V.value && V.value.firstPlot && V.value.firstPlot.value !== null ? (
|
|
1438
|
+
e.$slots.slotMap ? d("", !0) : (g(), f(l, { key: 7 }, [s.minimapMerged ? (g(), f("g", ut, [
|
|
1439
|
+
V.value && V.value.firstPlot && V.value.firstPlot.value !== null ? (g(), f("circle", {
|
|
1426
1440
|
key: 0,
|
|
1427
1441
|
cx: V.value.firstPlot.x,
|
|
1428
1442
|
cy: V.value.firstPlot.y,
|
|
@@ -1431,14 +1445,14 @@ var Te = ["data-minimap"], Ee = {
|
|
|
1431
1445
|
r: "4",
|
|
1432
1446
|
fill: s.minimapLineColor
|
|
1433
1447
|
}, null, 8, dt)) : d("", !0),
|
|
1434
|
-
V.value && V.value.firstPlot && V.value.firstPlot.value !== null ? (
|
|
1448
|
+
V.value && V.value.firstPlot && V.value.firstPlot.value !== null ? (g(), f("circle", {
|
|
1435
1449
|
key: 1,
|
|
1436
1450
|
cx: V.value.firstPlot.x,
|
|
1437
1451
|
cy: V.value.firstPlot.y,
|
|
1438
1452
|
r: 2,
|
|
1439
1453
|
fill: N.value
|
|
1440
1454
|
}, null, 8, ft)) : d("", !0),
|
|
1441
|
-
V.value && V.value.lastPlot && V.value.lastPlot.value !== null ? (
|
|
1455
|
+
V.value && V.value.lastPlot && V.value.lastPlot.value !== null ? (g(), f("circle", {
|
|
1442
1456
|
key: 2,
|
|
1443
1457
|
cx: V.value.lastPlot.x,
|
|
1444
1458
|
cy: V.value.lastPlot.y,
|
|
@@ -1447,15 +1461,15 @@ var Te = ["data-minimap"], Ee = {
|
|
|
1447
1461
|
r: "4",
|
|
1448
1462
|
fill: s.minimapLineColor
|
|
1449
1463
|
}, null, 8, pt)) : d("", !0),
|
|
1450
|
-
V.value && V.value.lastPlot && V.value.lastPlot.value !== null ? (
|
|
1464
|
+
V.value && V.value.lastPlot && V.value.lastPlot.value !== null ? (g(), f("circle", {
|
|
1451
1465
|
key: 3,
|
|
1452
1466
|
cx: V.value.lastPlot.x,
|
|
1453
1467
|
cy: V.value.lastPlot.y,
|
|
1454
1468
|
r: "2",
|
|
1455
1469
|
fill: N.value
|
|
1456
1470
|
}, null, 8, mt)) : d("", !0)
|
|
1457
|
-
])) : (
|
|
1458
|
-
e && e.hasSelection && e.selectionSet && e.isVisible ? (
|
|
1471
|
+
])) : (g(), f("g", ht, [(g(!0), f(l, null, v(H.value.filter((e) => e.type === "line"), (e, t) => (g(), f("g", { key: String(e.key) }, [
|
|
1472
|
+
e && e.hasSelection && e.selectionSet && e.isVisible ? (g(), f("path", {
|
|
1459
1473
|
key: 0,
|
|
1460
1474
|
d: `M ${e.selectionSet}`,
|
|
1461
1475
|
stroke: e.temperatureColors ? `url(#temperature_grad_line_${t}_${s.uuid})` : e.color,
|
|
@@ -1465,7 +1479,7 @@ var Te = ["data-minimap"], Ee = {
|
|
|
1465
1479
|
"stroke-linejoin": "round",
|
|
1466
1480
|
"stroke-dasharray": e.dashed ? "2 4" : 0
|
|
1467
1481
|
}, null, 8, gt)) : d("", !0),
|
|
1468
|
-
e.isVisible && s.cutNullValues ? (
|
|
1482
|
+
e.isVisible && s.cutNullValues ? (g(!0), f(l, { key: 1 }, v(e.selectionMarkers, (t) => (g(), f("circle", {
|
|
1469
1483
|
key: `sel-dot-${e.key}-${t.i}`,
|
|
1470
1484
|
cx: t.x,
|
|
1471
1485
|
cy: t.y,
|
|
@@ -1474,7 +1488,7 @@ var Te = ["data-minimap"], Ee = {
|
|
|
1474
1488
|
stroke: N.value,
|
|
1475
1489
|
"stroke-width": "0.5"
|
|
1476
1490
|
}, null, 8, _t))), 128)) : d("", !0),
|
|
1477
|
-
e && e.firstPlot && e.isVisible && e.firstPlot.value !== null ? (
|
|
1491
|
+
e && e.firstPlot && e.isVisible && e.firstPlot.value !== null ? (g(), f("circle", {
|
|
1478
1492
|
key: 2,
|
|
1479
1493
|
cx: e.firstPlot.x,
|
|
1480
1494
|
cy: e.firstPlot.y,
|
|
@@ -1483,14 +1497,14 @@ var Te = ["data-minimap"], Ee = {
|
|
|
1483
1497
|
r: "4",
|
|
1484
1498
|
fill: e.color
|
|
1485
1499
|
}, null, 8, vt)) : d("", !0),
|
|
1486
|
-
e && e.firstPlot && e.isVisible && e.firstPlot.value !== null ? (
|
|
1500
|
+
e && e.firstPlot && e.isVisible && e.firstPlot.value !== null ? (g(), f("circle", {
|
|
1487
1501
|
key: 3,
|
|
1488
1502
|
cx: e.firstPlot.x,
|
|
1489
1503
|
cy: e.firstPlot.y,
|
|
1490
1504
|
r: "2",
|
|
1491
1505
|
fill: N.value
|
|
1492
1506
|
}, null, 8, yt)) : d("", !0),
|
|
1493
|
-
e && e.lastPlot && e.isVisible && e.lastPlot.value !== null ? (
|
|
1507
|
+
e && e.lastPlot && e.isVisible && e.lastPlot.value !== null ? (g(), f("circle", {
|
|
1494
1508
|
key: 4,
|
|
1495
1509
|
cx: e.lastPlot.x,
|
|
1496
1510
|
cy: e.lastPlot.y,
|
|
@@ -1499,14 +1513,14 @@ var Te = ["data-minimap"], Ee = {
|
|
|
1499
1513
|
r: "4",
|
|
1500
1514
|
fill: e.color
|
|
1501
1515
|
}, null, 8, bt)) : d("", !0),
|
|
1502
|
-
e && e.lastPlot && e.isVisible && e.lastPlot.value !== null ? (
|
|
1516
|
+
e && e.lastPlot && e.isVisible && e.lastPlot.value !== null ? (g(), f("circle", {
|
|
1503
1517
|
key: 5,
|
|
1504
1518
|
cx: e.lastPlot.x,
|
|
1505
1519
|
cy: e.lastPlot.y,
|
|
1506
1520
|
r: "2",
|
|
1507
1521
|
fill: N.value
|
|
1508
1522
|
}, null, 8, xt)) : d("", !0)
|
|
1509
|
-
]))), 128)), (
|
|
1523
|
+
]))), 128)), (g(!0), f(l, null, v(H.value.filter((e) => e.type === "plot"), (e) => (g(), f("g", { key: String(e.key) }, [(g(!0), f(l, null, v(e.points, (t) => (g(), f("g", null, [e.isVisible && s.cutNullValues && t.value !== null ? (g(), f("circle", {
|
|
1510
1524
|
key: `sel-plot-${e.key}-${t.i}`,
|
|
1511
1525
|
cx: t.x,
|
|
1512
1526
|
cy: t.y,
|
|
@@ -1518,29 +1532,29 @@ var Te = ["data-minimap"], Ee = {
|
|
|
1518
1532
|
], 8, ke))])) : d("", !0),
|
|
1519
1533
|
p("div", {
|
|
1520
1534
|
class: "slider-track",
|
|
1521
|
-
style:
|
|
1535
|
+
style: h({ visibility: C.value && s.minimapCompact ? "hidden" : "visible" })
|
|
1522
1536
|
}, null, 4),
|
|
1523
1537
|
p("div", {
|
|
1524
|
-
class:
|
|
1538
|
+
class: m({
|
|
1525
1539
|
"range-highlight": !0,
|
|
1526
1540
|
move: s.enableSelectionDrag
|
|
1527
1541
|
}),
|
|
1528
1542
|
onMousedown: t[2] ||= (e) => X.value = !0,
|
|
1529
1543
|
onMouseup: t[3] ||= (e) => X.value = !1,
|
|
1530
|
-
style:
|
|
1544
|
+
style: h({
|
|
1531
1545
|
...M.value,
|
|
1532
1546
|
cursor: X.value ? "grabbing" : "grab",
|
|
1533
1547
|
visibility: C.value && s.minimapCompact ? "hidden" : "visible"
|
|
1534
1548
|
})
|
|
1535
1549
|
}, null, 38),
|
|
1536
|
-
s.enableRangeHandles ? Se((
|
|
1550
|
+
s.enableRangeHandles ? Se((g(), f("input", {
|
|
1537
1551
|
key: 1,
|
|
1538
1552
|
"aria-label": "range-handle-left",
|
|
1539
1553
|
ref_key: "rangeStart",
|
|
1540
|
-
ref:
|
|
1554
|
+
ref: Un,
|
|
1541
1555
|
type: "range",
|
|
1542
1556
|
step: s.precision > 0 ? 1 / 10 ** s.precision : 1,
|
|
1543
|
-
class:
|
|
1557
|
+
class: m({
|
|
1544
1558
|
"range-left": !0,
|
|
1545
1559
|
"range-handle": !0,
|
|
1546
1560
|
"range-minimap": C.value && s.verticalHandles,
|
|
@@ -1549,28 +1563,28 @@ var Te = ["data-minimap"], Ee = {
|
|
|
1549
1563
|
min: s.min,
|
|
1550
1564
|
max: s.minimapCompact && C.value && !s.useValueRange ? Math.max(0, L.value - 1) : s.max,
|
|
1551
1565
|
tabindex: C.value ? -1 : 0,
|
|
1552
|
-
"onUpdate:modelValue": t[4] ||= (e) =>
|
|
1566
|
+
"onUpdate:modelValue": t[4] ||= (e) => Pn.value = e,
|
|
1553
1567
|
onFocus: t[5] ||= (e) => C.value && e.target.blur(),
|
|
1554
|
-
onInput: t[6] ||= (e) =>
|
|
1568
|
+
onInput: t[6] ||= (e) => Pn.value = e.target.valueAsNumber,
|
|
1555
1569
|
onChange: A,
|
|
1556
1570
|
onKeyup: Ce(A, ["enter"]),
|
|
1557
1571
|
onBlur: A,
|
|
1558
|
-
onMouseenter: t[7] ||= (e) =>
|
|
1572
|
+
onMouseenter: t[7] ||= (e) => Cr("start"),
|
|
1559
1573
|
onPointerup: A
|
|
1560
1574
|
}, null, 42, Ct)), [[
|
|
1561
|
-
|
|
1562
|
-
|
|
1575
|
+
be,
|
|
1576
|
+
Pn.value,
|
|
1563
1577
|
void 0,
|
|
1564
1578
|
{ number: !0 }
|
|
1565
1579
|
]]) : d("", !0),
|
|
1566
|
-
s.enableRangeHandles ? Se((
|
|
1580
|
+
s.enableRangeHandles ? Se((g(), f("input", {
|
|
1567
1581
|
key: 2,
|
|
1568
1582
|
"aria-label": "range-handle-right",
|
|
1569
1583
|
ref_key: "rangeEnd",
|
|
1570
|
-
ref:
|
|
1584
|
+
ref: Wn,
|
|
1571
1585
|
type: "range",
|
|
1572
1586
|
step: s.precision > 0 ? 1 / 10 ** s.precision : 1,
|
|
1573
|
-
class:
|
|
1587
|
+
class: m({
|
|
1574
1588
|
"range-right": !0,
|
|
1575
1589
|
"range-handle": !0,
|
|
1576
1590
|
"range-minimap": C.value && s.verticalHandles,
|
|
@@ -1580,110 +1594,110 @@ var Te = ["data-minimap"], Ee = {
|
|
|
1580
1594
|
max: s.minimapCompact && C.value && !s.useValueRange ? Math.max(0, L.value - 1) : s.max,
|
|
1581
1595
|
tabindex: C.value ? -1 : 0,
|
|
1582
1596
|
onFocus: t[8] ||= (e) => C.value && e.target.blur(),
|
|
1583
|
-
"onUpdate:modelValue": t[9] ||= (e) =>
|
|
1584
|
-
onInput: t[10] ||= (e) =>
|
|
1597
|
+
"onUpdate:modelValue": t[9] ||= (e) => Fn.value = e,
|
|
1598
|
+
onInput: t[10] ||= (e) => Fn.value = e.target.valueAsNumber,
|
|
1585
1599
|
onChange: A,
|
|
1586
1600
|
onKeyup: Ce(A, ["enter"]),
|
|
1587
1601
|
onBlur: A,
|
|
1588
|
-
onMouseenter: t[11] ||= (e) =>
|
|
1602
|
+
onMouseenter: t[11] ||= (e) => Cr("end"),
|
|
1589
1603
|
onPointerup: A
|
|
1590
1604
|
}, null, 42, wt)), [[
|
|
1591
|
-
|
|
1592
|
-
|
|
1605
|
+
be,
|
|
1606
|
+
Fn.value,
|
|
1593
1607
|
void 0,
|
|
1594
1608
|
{ number: !0 }
|
|
1595
1609
|
]]) : d("", !0),
|
|
1596
|
-
C.value && s.minimapCompact ? (
|
|
1597
|
-
xmlns:
|
|
1610
|
+
C.value && s.minimapCompact ? (g(), f("div", Tt, [(g(), f("svg", {
|
|
1611
|
+
xmlns: ve(ne),
|
|
1598
1612
|
viewBox: `0 0 ${Math.max(0, F.value.width)} ${Math.max(0, F.value.height + 1)}`
|
|
1599
1613
|
}, [p("rect", ue({
|
|
1600
1614
|
class: "vue-ui-zoom-compact-minimap-handle",
|
|
1601
|
-
x:
|
|
1615
|
+
x: Yr.value,
|
|
1602
1616
|
y: 0,
|
|
1603
1617
|
width: $.value,
|
|
1604
1618
|
height: F.value.height,
|
|
1605
1619
|
fill: "transparent",
|
|
1606
1620
|
stroke: "none"
|
|
1607
|
-
},
|
|
1608
|
-
onKeydown: t[12] ||= (e) =>
|
|
1609
|
-
onMousedown: t[13] ||= we((e) =>
|
|
1621
|
+
}, zr.value, {
|
|
1622
|
+
onKeydown: t[12] ||= (e) => Rr("start", e),
|
|
1623
|
+
onMousedown: t[13] ||= we((e) => Kr("start", e), ["stop", "prevent"]),
|
|
1610
1624
|
onClick: t[14] ||= we(() => {}, ["stop", "prevent"])
|
|
1611
1625
|
}), null, 16, Dt), p("rect", ue({
|
|
1612
1626
|
class: "vue-ui-zoom-compact-minimap-handle",
|
|
1613
|
-
x:
|
|
1627
|
+
x: Xr.value,
|
|
1614
1628
|
y: 0,
|
|
1615
1629
|
width: $.value,
|
|
1616
1630
|
height: F.value.height,
|
|
1617
1631
|
fill: "transparent",
|
|
1618
1632
|
stroke: "none",
|
|
1619
1633
|
rx: 3
|
|
1620
|
-
},
|
|
1621
|
-
onKeydown: t[15] ||= (e) =>
|
|
1622
|
-
onMousedown: t[16] ||= we((e) =>
|
|
1634
|
+
}, Br.value, {
|
|
1635
|
+
onKeydown: t[15] ||= (e) => Rr("end", e),
|
|
1636
|
+
onMousedown: t[16] ||= we((e) => Kr("end", e), ["stop", "prevent"]),
|
|
1623
1637
|
onClick: t[17] ||= we(() => {}, ["stop", "prevent"])
|
|
1624
1638
|
}), null, 16, Ot)], 8, Et))])) : d("", !0),
|
|
1625
|
-
Q.value.left ? (
|
|
1639
|
+
Q.value.left ? (g(), f("div", {
|
|
1626
1640
|
key: 4,
|
|
1627
1641
|
ref_key: "tooltipLeft",
|
|
1628
|
-
ref:
|
|
1629
|
-
class:
|
|
1642
|
+
ref: gr,
|
|
1643
|
+
class: m({
|
|
1630
1644
|
"range-tooltip": !0,
|
|
1631
1645
|
"range-tooltip-visible": Z.value,
|
|
1632
1646
|
"range-tooltip-arrow": M.value.arrowLeft && !s.verticalHandles,
|
|
1633
1647
|
"range-tooltip-arrow-left": !M.value.arrowLeft && !s.verticalHandles
|
|
1634
1648
|
}),
|
|
1635
|
-
style:
|
|
1649
|
+
style: h({
|
|
1636
1650
|
left: M.value.tooltipLeft,
|
|
1637
|
-
color:
|
|
1651
|
+
color: ve(te)(s.selectColor),
|
|
1638
1652
|
backgroundColor: s.selectColor,
|
|
1639
1653
|
border: `1px solid ${N.value}`,
|
|
1640
|
-
zIndex: `${
|
|
1641
|
-
visibility:
|
|
1654
|
+
zIndex: `${Sr.value + 4}`,
|
|
1655
|
+
visibility: wr.value || Q.value.left === Q.value.right ? "hidden" : "visible",
|
|
1642
1656
|
top: C.value && s.minimapCompact ? "calc(-100% - 12px)" : "-100%"
|
|
1643
1657
|
})
|
|
1644
|
-
},
|
|
1645
|
-
(
|
|
1658
|
+
}, _e(Q.value.left), 7)) : d("", !0),
|
|
1659
|
+
(wr.value || Q.value.left === Q.value.right) && (Q.value.left || Q.value.right) ? (g(), f("div", {
|
|
1646
1660
|
key: 5,
|
|
1647
1661
|
ref: "tooltipMerge",
|
|
1648
|
-
class:
|
|
1662
|
+
class: m({
|
|
1649
1663
|
"range-tooltip": !0,
|
|
1650
1664
|
"range-tooltip-visible": Z.value,
|
|
1651
1665
|
"range-tooltip-arrow": !0,
|
|
1652
1666
|
"range-tooltip-arrow-left": !M.value.arrowLeft && !s.verticalHandles,
|
|
1653
1667
|
"range-tooltip-arrow-right": !M.value.arrowRight && !s.verticalHandles
|
|
1654
1668
|
}),
|
|
1655
|
-
style:
|
|
1669
|
+
style: h({
|
|
1656
1670
|
left: M.value.tooltipCenter,
|
|
1657
|
-
width:
|
|
1658
|
-
color:
|
|
1671
|
+
width: Tr.value.width + "px",
|
|
1672
|
+
color: ve(te)(s.selectColor),
|
|
1659
1673
|
backgroundColor: s.selectColor,
|
|
1660
1674
|
border: `1px solid ${N.value}`,
|
|
1661
1675
|
zIndex: "4",
|
|
1662
1676
|
top: C.value && s.minimapCompact ? "calc(-100% - 12px)" : "-100%"
|
|
1663
1677
|
})
|
|
1664
|
-
},
|
|
1665
|
-
Q.value.right ? (
|
|
1678
|
+
}, _e(Q.value.left === Q.value.right ? Q.value.left : `${Q.value.left} - ${Q.value.right}`), 7)) : d("", !0),
|
|
1679
|
+
Q.value.right ? (g(), f("div", {
|
|
1666
1680
|
key: 6,
|
|
1667
1681
|
ref_key: "tooltipRight",
|
|
1668
|
-
ref:
|
|
1669
|
-
class:
|
|
1682
|
+
ref: _r,
|
|
1683
|
+
class: m({
|
|
1670
1684
|
"range-tooltip": !0,
|
|
1671
1685
|
"range-tooltip-visible": Z.value,
|
|
1672
1686
|
"range-tooltip-arrow": M.value.arrowRight && !s.verticalHandles,
|
|
1673
1687
|
"range-tooltip-arrow-right": !M.value.arrowRight && !s.verticalHandles
|
|
1674
1688
|
}),
|
|
1675
|
-
style:
|
|
1689
|
+
style: h({
|
|
1676
1690
|
left: M.value.tooltipRight,
|
|
1677
|
-
color:
|
|
1691
|
+
color: ve(te)(s.selectColor),
|
|
1678
1692
|
backgroundColor: s.selectColor,
|
|
1679
1693
|
border: `1px solid ${N.value}`,
|
|
1680
1694
|
zIndex: "4",
|
|
1681
|
-
visibility:
|
|
1695
|
+
visibility: wr.value || Q.value.left === Q.value.right ? "hidden" : "visible",
|
|
1682
1696
|
top: C.value && s.minimapCompact ? "calc(-100% - 12px)" : "-100%"
|
|
1683
1697
|
})
|
|
1684
|
-
},
|
|
1698
|
+
}, _e(Q.value.right), 7)) : d("", !0)
|
|
1685
1699
|
], 36)], 44, Te));
|
|
1686
1700
|
}
|
|
1687
|
-
}, [["__scopeId", "data-v-
|
|
1701
|
+
}, [["__scopeId", "data-v-023703bd"]]);
|
|
1688
1702
|
//#endregion
|
|
1689
1703
|
export { At as t };
|