vue-data-ui 2.13.3 → 2.13.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Arrow-BE9mfJkL.js → Arrow-Cv5RKI2K.js} +1 -1
- package/dist/{BaseDraggableDialog-B9pXvCsc.js → BaseDraggableDialog-CbNaTai1.js} +2 -2
- package/dist/{BaseIcon-5s68maMg.js → BaseIcon-B90jg7Eo.js} +1 -1
- package/dist/{ColorPicker-BGBMbOup.js → ColorPicker-DrHXo6NB.js} +2 -2
- package/dist/{DataTable-C8F2aovs.js → DataTable-DOdmEVBM.js} +2 -2
- package/dist/{Legend-CoAmfx-7.js → Legend-D7As_VVi.js} +2 -2
- package/dist/{NonSvgPenAndPaper-DqqOehOr.js → NonSvgPenAndPaper-Qe1IsvyR.js} +3 -3
- package/dist/{PackageVersion-BP504Bvs.js → PackageVersion-CJ0MHPau.js} +1 -1
- package/dist/{PenAndPaper-CXfm6LDW.js → PenAndPaper-CsV9xVqP.js} +3 -3
- package/dist/{Shape-CbwWTjj8.js → Shape-CMT3DgWJ.js} +1 -1
- package/dist/Slicer-kZ-UNW0I.js +577 -0
- package/dist/{SparkTooltip-HSZVAB1L.js → SparkTooltip-DgaaFrSC.js} +1 -1
- package/dist/{Title-VtPtUhFq.js → Title-Cuxd1Hw4.js} +1 -1
- package/dist/{Tooltip-Buu8aWuU.js → Tooltip-nm6v9SvD.js} +1 -1
- package/dist/{UserOptions-7VcV_QUc.js → UserOptions-B4olqrwb.js} +2 -2
- package/dist/{dom-to-png-BjOvlJis.js → dom-to-png-JxvpNdgk.js} +1 -1
- package/dist/{img-ClKzlGeA.js → img-BrSPXg54.js} +1 -1
- package/dist/{index-edeP1M3x.js → index-DXfqC_CG.js} +1 -1
- package/dist/{pdf-2Tyxymwm.js → pdf-CRNRsa97.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-RNi-Fxfm.js → useNestedProp-CUF1PWxQ.js} +1 -1
- package/dist/{usePrinter-B3nKJKAm.js → usePrinter-DGQh_spY.js} +2 -2
- package/dist/{vue-data-ui-BfYXPWao.js → vue-data-ui-tkhMq-bw.js} +63 -63
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-4eGejORW.js → vue-ui-3d-bar-Dwdfdqch.js} +5 -5
- package/dist/{vue-ui-accordion-C4DquMtU.js → vue-ui-accordion-D-tjbzQS.js} +3 -3
- package/dist/{vue-ui-age-pyramid-Dvrd6Gun.js → vue-ui-age-pyramid-BZmYWVrS.js} +5 -5
- package/dist/{vue-ui-annotator-Db5OBDjC.js → vue-ui-annotator-DBrXod-O.js} +2 -2
- package/dist/{vue-ui-bullet-BlT3571K.js → vue-ui-bullet-ur-PTrPw.js} +6 -6
- package/dist/{vue-ui-candlestick-0aDroQCS.js → vue-ui-candlestick-72UivaQY.js} +6 -6
- package/dist/{vue-ui-carousel-table-Dav_41vI.js → vue-ui-carousel-table-CApme8lg.js} +4 -4
- package/dist/{vue-ui-chestnut-CosLSi7b.js → vue-ui-chestnut-jcZZ8cOw.js} +4 -4
- package/dist/{vue-ui-chord-BxHp31c3.js → vue-ui-chord-A9jGFNM2.js} +7 -7
- package/dist/{vue-ui-circle-pack-BVbRVfDq.js → vue-ui-circle-pack-DPnOBq40.js} +5 -5
- package/dist/{vue-ui-cursor-ByPGYWlO.js → vue-ui-cursor-Cby6-Vrh.js} +2 -2
- package/dist/{vue-ui-dashboard-cC6brbws.js → vue-ui-dashboard-BGzORkrX.js} +62 -62
- package/dist/{vue-ui-digits-Bb-6Adj7.js → vue-ui-digits-Dhxd38mc.js} +2 -2
- package/dist/{vue-ui-donut-B3WltwRF.js → vue-ui-donut-DsFBb3Cl.js} +7 -7
- package/dist/{vue-ui-donut-evolution-21zgSmm1.js → vue-ui-donut-evolution-B-Bo4b4Y.js} +7 -7
- package/dist/{vue-ui-dumbbell-BRRWW41S.js → vue-ui-dumbbell-EVSJdr9V.js} +6 -6
- package/dist/{vue-ui-flow-1nJK3SOO.js → vue-ui-flow-Cr1-ETyc.js} +6 -6
- package/dist/{vue-ui-funnel-Bo78n4pQ.js → vue-ui-funnel-BQ0LckzE.js} +5 -5
- package/dist/{vue-ui-galaxy-DViqZ_WR.js → vue-ui-galaxy-_fwGK1PY.js} +4 -4
- package/dist/{vue-ui-gauge-B_8skcc5.js → vue-ui-gauge-BrnOoF9C.js} +5 -5
- package/dist/{vue-ui-gizmo-B06tu-EV.js → vue-ui-gizmo-tgjSYkeV.js} +3 -3
- package/dist/{vue-ui-heatmap-9cZQCsYz.js → vue-ui-heatmap-CamaTaei.js} +6 -6
- package/dist/{vue-ui-history-plot-q9GGP9lk.js → vue-ui-history-plot-DSBQu-9Y.js} +6 -6
- package/dist/{vue-ui-kpi-D6hwxL-7.js → vue-ui-kpi-OCtgONK3.js} +3 -3
- package/dist/{vue-ui-mini-loader-5K1b5iwf.js → vue-ui-mini-loader--xzmMUNI.js} +2 -2
- package/dist/{vue-ui-molecule-CZJZM3v3.js → vue-ui-molecule-DnkENzdw.js} +4 -4
- package/dist/{vue-ui-mood-radar-B4ysiT_U.js → vue-ui-mood-radar-DKP1rjSd.js} +6 -6
- package/dist/{vue-ui-nested-donuts-Bp4pT3D5.js → vue-ui-nested-donuts-CHwTDQ9J.js} +6 -6
- package/dist/{vue-ui-onion-BnCFgrkZ.js → vue-ui-onion-BxaynRPn.js} +6 -6
- package/dist/{vue-ui-parallel-coordinate-plot-B_BhXrKI.js → vue-ui-parallel-coordinate-plot-ohCDDK1Q.js} +7 -7
- package/dist/{vue-ui-quadrant-GclnmYO6.js → vue-ui-quadrant-DXZsVWe3.js} +7 -7
- package/dist/{vue-ui-quick-chart-CFaBCkfP.js → vue-ui-quick-chart-C_ofgdSY.js} +5 -5
- package/dist/{vue-ui-radar-BA45g7F0.js → vue-ui-radar-CLa2PHHK.js} +6 -6
- package/dist/{vue-ui-rating-hTWz-pBq.js → vue-ui-rating-GiRUw1Wv.js} +2 -2
- package/dist/{vue-ui-relation-circle-CkOaN_CX.js → vue-ui-relation-circle-BJ1M2Pnc.js} +5 -5
- package/dist/{vue-ui-ridgeline-B2BIUDB-.js → vue-ui-ridgeline-E_7xjHTY.js} +7 -7
- package/dist/{vue-ui-rings-CSO7Zd_g.js → vue-ui-rings-BiOAND3T.js} +7 -7
- package/dist/{vue-ui-scatter-17gG4jRb.js → vue-ui-scatter-Bai9QSqI.js} +7 -7
- package/dist/{vue-ui-skeleton-EoGn9JbB.js → vue-ui-skeleton-B2N_3mr0.js} +3 -3
- package/dist/{vue-ui-smiley-C_HkNW2f.js → vue-ui-smiley-DAvm3IGu.js} +2 -2
- package/dist/{vue-ui-spark-trend-AXaOXuBl.js → vue-ui-spark-trend-D4EwvdX0.js} +3 -3
- package/dist/{vue-ui-sparkbar-DWZCWNKx.js → vue-ui-sparkbar-DM_2iDVI.js} +3 -3
- package/dist/{vue-ui-sparkgauge-BZVcBexd.js → vue-ui-sparkgauge-UW6sVQdV.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-BrCxiefW.js → vue-ui-sparkhistogram-CF0JPKYB.js} +4 -4
- package/dist/{vue-ui-sparkline-CFwBsRfj.js → vue-ui-sparkline-Dg8j2KTF.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-bwY9BxUo.js → vue-ui-sparkstackbar-CqT_oEk7.js} +3 -3
- package/dist/{vue-ui-stackbar-Bgc7lS0v.js → vue-ui-stackbar-By7DVfJV.js} +8 -8
- package/dist/{vue-ui-strip-plot-C02lCys6.js → vue-ui-strip-plot-BR66rY0G.js} +6 -6
- package/dist/{vue-ui-table-C04CtiEi.js → vue-ui-table-Dk0eXTU9.js} +3 -3
- package/dist/{vue-ui-table-heatmap-IERP9tp0.js → vue-ui-table-heatmap-Brldpa0g.js} +5 -5
- package/dist/{vue-ui-table-sparkline-CgXchDEY.js → vue-ui-table-sparkline-DxQrZBCR.js} +4 -4
- package/dist/{vue-ui-thermometer-lf9mJ8LP.js → vue-ui-thermometer-B_OrqIjE.js} +5 -5
- package/dist/{vue-ui-timer-BZLtxymy.js → vue-ui-timer-Cz0J-s5D.js} +5 -5
- package/dist/{vue-ui-tiremarks-Cu1TXwev.js → vue-ui-tiremarks-B1B3h-Vi.js} +5 -5
- package/dist/{vue-ui-treemap-BVyxf-77.js → vue-ui-treemap-CMm6fSIO.js} +7 -7
- package/dist/{vue-ui-vertical-bar-C_euYHER.js → vue-ui-vertical-bar-DA2Xpx46.js} +8 -8
- package/dist/{vue-ui-waffle-BW6LSfBe.js → vue-ui-waffle-U3NxGQ3l.js} +7 -7
- package/dist/{vue-ui-wheel-DoARpgpJ.js → vue-ui-wheel-WNOVLYp8.js} +5 -5
- package/dist/{vue-ui-word-cloud-BVmpg5X_.js → vue-ui-word-cloud-_TBCcmAV.js} +5 -5
- package/dist/{vue-ui-world-DzbMOJbm.js → vue-ui-world-DREkLtrD.js} +5 -5
- package/dist/{vue-ui-xy-DD5417b2.js → vue-ui-xy-CIiqKrxF.js} +16 -16
- package/dist/{vue-ui-xy-canvas-9m7qMGHS.js → vue-ui-xy-canvas-ClHv-Wlu.js} +7 -7
- package/package.json +1 -1
- package/dist/Slicer-BNnP0Y2C.js +0 -537
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { computed as u, createElementBlock as k, openBlock as m, createElementVNode as t, unref as o } from "vue";
|
|
2
|
-
import { c as n } from "./index-
|
|
2
|
+
import { c as n } from "./index-DXfqC_CG.js";
|
|
3
3
|
const s = { class: "vue-ui-element-arrow" }, f = ["id", "viewBox", "refX", "refY", "markerWidth", "markerHeight"], c = ["d", "fill"], h = ["id", "viewBox", "refX", "refY", "markerWidth", "markerHeight"], y = ["d", "fill"], v = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-linecap", "stroke-dasharray", "marker-end", "marker-start"], z = {
|
|
4
4
|
__name: "Arrow",
|
|
5
5
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useCssVars as O, ref as z, reactive as T, computed as $, onUnmounted as R, createBlock as N, openBlock as v, Teleport as V, createElementBlock as E, createCommentVNode as I, withModifiers as a, normalizeStyle as y, createElementVNode as o, unref as P, renderSlot as M, createVNode as F, nextTick as j } from "vue";
|
|
2
|
-
import U from "./BaseIcon-
|
|
3
|
-
import { X as q } from "./index-
|
|
2
|
+
import U from "./BaseIcon-B90jg7Eo.js";
|
|
3
|
+
import { X as q } from "./index-DXfqC_CG.js";
|
|
4
4
|
import { _ as A } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const G = ["xmlns"], J = { class: "modal-title" }, K = { class: "modal-body" }, Q = {
|
|
6
6
|
__name: "BaseDraggableDialog",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { computed as e, createElementBlock as n, openBlock as i, normalizeClass as k, unref as L } from "vue";
|
|
2
|
-
import { X as l } from "./index-
|
|
2
|
+
import { X as l } from "./index-DXfqC_CG.js";
|
|
3
3
|
import { _ as d } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
const M = ["xmlns", "viewBox", "height", "width", "innerHTML"], h = {
|
|
5
5
|
__name: "BaseIcon",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref as l, computed as k, watch as I, withDirectives as P, createElementBlock as r, openBlock as n, withKeys as S, createElementVNode as u, createCommentVNode as z, normalizeStyle as a, createVNode as F, Fragment as E, renderList as N, unref as O } from "vue";
|
|
2
|
-
import C from "./BaseIcon-
|
|
3
|
-
import { G as V } from "./index-
|
|
2
|
+
import C from "./BaseIcon-B90jg7Eo.js";
|
|
3
|
+
import { G as V } from "./index-DXfqC_CG.js";
|
|
4
4
|
import { v as D } from "./vClickOutside-C6WiFswA.js";
|
|
5
5
|
import { _ as K } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
6
|
const $ = ["onClick"], G = { style: { position: "absolute", top: "50%", left: "50%", transform: "translate(-50%, -46%)" } }, L = ["value"], T = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useCssVars as A, unref as e, computed as D, ref as w, onMounted as E, createElementBlock as n, openBlock as a, normalizeClass as k, createElementVNode as t, withKeys as R, normalizeStyle as i, createVNode as C, toDisplayString as I, Fragment as f, renderList as m, renderSlot as N, createCommentVNode as $ } from "vue";
|
|
2
|
-
import { _ as K } from "./Shape-
|
|
3
|
-
import O from "./BaseIcon-
|
|
2
|
+
import { _ as K } from "./Shape-CMT3DgWJ.js";
|
|
3
|
+
import O from "./BaseIcon-B90jg7Eo.js";
|
|
4
4
|
import { _ as T } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const j = { class: "vue-ui-data-table" }, F = { style: { display: "flex", "align-items": "center", "justify-content": "flex-end", "padding-right": "3px", gap: "3px" } }, L = { style: { width: "12px", height: "12px" } }, M = {
|
|
6
6
|
key: 0,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createElementBlock as n, openBlock as o, normalizeStyle as d, renderSlot as l, Fragment as u, renderList as g, normalizeClass as m, createCommentVNode as h, createVNode as k, mergeProps as $, unref as y } from "vue";
|
|
2
|
-
import { $ as p } from "./index-
|
|
3
|
-
import { _ as v } from "./Shape-
|
|
2
|
+
import { $ as p } from "./index-DXfqC_CG.js";
|
|
3
|
+
import { _ as v } from "./Shape-CMT3DgWJ.js";
|
|
4
4
|
import { _ as b } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const S = ["id"], x = ["onClick", "height", "width"], z = {
|
|
6
6
|
__name: "Legend",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ref as i, computed as we, onMounted as ke, nextTick as be, onBeforeUnmount as Ce, watch as oe, createElementBlock as x, openBlock as y, Fragment as q, createCommentVNode as Y, normalizeStyle as b, normalizeClass as D, createElementVNode as C, withDirectives as ae, createVNode as M, toDisplayString as re, unref as se, vModelText as ue, withModifiers as ie, renderList as ce } from "vue";
|
|
2
|
-
import { l as $e, f as Se, X as Ae } from "./index-
|
|
3
|
-
import R from "./BaseIcon-
|
|
4
|
-
import { C as Ee } from "./ColorPicker-
|
|
2
|
+
import { l as $e, f as Se, X as Ae } from "./index-DXfqC_CG.js";
|
|
3
|
+
import R from "./BaseIcon-B90jg7Eo.js";
|
|
4
|
+
import { C as Ee } from "./ColorPicker-DrHXo6NB.js";
|
|
5
5
|
import { _ as Be } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
6
|
const Te = {
|
|
7
7
|
class: /* @__PURE__ */ D({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createElementBlock as e, openBlock as t, toDisplayString as o, unref as r } from "vue";
|
|
2
|
-
const n = "2.13.
|
|
2
|
+
const n = "2.13.4", a = { "aria-hidden": "true" }, p = {
|
|
3
3
|
__name: "PackageVersion",
|
|
4
4
|
setup(s) {
|
|
5
5
|
return (c, i) => (t(), e("desc", a, "Composed with Vue Data UI " + o(r(n)), 1));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ref as c, computed as ge, watch as X, nextTick as le, onMounted as pe, onBeforeUnmount as me, createElementBlock as Y, createCommentVNode as q, openBlock as z, normalizeStyle as x, createElementVNode as k, withDirectives as ae, createVNode as R, normalizeClass as G, toDisplayString as Ae, unref as he, vModelText as oe } from "vue";
|
|
2
|
-
import T from "./BaseIcon-
|
|
3
|
-
import { C as we } from "./ColorPicker-
|
|
4
|
-
import { l as be, f as xe } from "./index-
|
|
2
|
+
import T from "./BaseIcon-B90jg7Eo.js";
|
|
3
|
+
import { C as we } from "./ColorPicker-DrHXo6NB.js";
|
|
4
|
+
import { l as be, f as xe } from "./index-DXfqC_CG.js";
|
|
5
5
|
const ye = {
|
|
6
6
|
class: "vue-ui-pen-and-paper-action",
|
|
7
7
|
style: { padding: "0 !important" }
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { computed as u, createElementBlock as r, openBlock as l, createCommentVNode as a } from "vue";
|
|
2
|
-
import { Z as c, Q as f } from "./index-
|
|
2
|
+
import { Z as c, Q as f } from "./index-DXfqC_CG.js";
|
|
3
3
|
const y = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], g = ["d", "fill", "stroke", "stroke-width"], x = ["points", "fill", "stroke", "stroke-width"], h = {
|
|
4
4
|
__name: "Shape",
|
|
5
5
|
props: {
|
|
@@ -0,0 +1,577 @@
|
|
|
1
|
+
import { useCssVars as ze, computed as d, ref as i, watch as T, onMounted as Ae, onBeforeUnmount as He, watchEffect as Fe, nextTick as Y, onUpdated as Ve, createElementBlock as c, openBlock as m, createElementVNode as v, createCommentVNode as y, renderSlot as We, normalizeStyle as $, createVNode as Xe, withDirectives as me, unref as H, Fragment as he, renderList as fe, normalizeClass as N, vModelText as ge, toDisplayString as _ } from "vue";
|
|
2
|
+
import Ue from "./BaseIcon-B90jg7Eo.js";
|
|
3
|
+
import { t as Oe, u as Ze } from "./useResponsive-JZ9xq-JV.js";
|
|
4
|
+
import { c as je, U as pe, T as be, X as Ge, G as ee } from "./index-DXfqC_CG.js";
|
|
5
|
+
import { _ as qe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
|
+
const Je = {
|
|
7
|
+
class: "vue-data-ui-slicer-labels",
|
|
8
|
+
style: { position: "relative", "z-index": "1", "pointer-events": "none" }
|
|
9
|
+
}, Ke = {
|
|
10
|
+
key: 0,
|
|
11
|
+
style: { width: "100%", position: "relative" }
|
|
12
|
+
}, Qe = {
|
|
13
|
+
key: 0,
|
|
14
|
+
class: "minimap",
|
|
15
|
+
style: { width: "100%" }
|
|
16
|
+
}, Ye = ["xmlns", "viewBox"], _e = ["id"], et = ["stop-color"], tt = ["d", "stroke"], lt = ["x", "width", "height", "fill", "rx"], at = ["d", "fill"], nt = ["x", "width", "height", "rx", "fill"], it = ["x", "width", "height", "fill", "rx"], ot = ["d", "fill"], ut = ["d", "stroke"], rt = ["cx", "cy", "stroke", "fill"], st = ["cx", "cy", "stroke", "fill"], dt = ["x1", "x2", "y2", "stroke"], vt = ["x", "height", "width", "onMouseenter"], ct = ["min", "max"], mt = ["min", "max"], ht = {
|
|
17
|
+
__name: "Slicer",
|
|
18
|
+
props: {
|
|
19
|
+
background: {
|
|
20
|
+
type: String,
|
|
21
|
+
default: "#FFFFFF"
|
|
22
|
+
},
|
|
23
|
+
borderColor: {
|
|
24
|
+
type: String,
|
|
25
|
+
default: "#FFFFFF"
|
|
26
|
+
},
|
|
27
|
+
fontSize: {
|
|
28
|
+
type: Number,
|
|
29
|
+
default: 14
|
|
30
|
+
},
|
|
31
|
+
labelLeft: {
|
|
32
|
+
type: String,
|
|
33
|
+
default: ""
|
|
34
|
+
},
|
|
35
|
+
labelRight: {
|
|
36
|
+
type: String,
|
|
37
|
+
default: ""
|
|
38
|
+
},
|
|
39
|
+
textColor: {
|
|
40
|
+
type: String,
|
|
41
|
+
default: "#1A1A1A"
|
|
42
|
+
},
|
|
43
|
+
inputColor: {
|
|
44
|
+
type: String,
|
|
45
|
+
default: "#1A1A1A"
|
|
46
|
+
},
|
|
47
|
+
max: {
|
|
48
|
+
type: Number,
|
|
49
|
+
default: 0
|
|
50
|
+
},
|
|
51
|
+
min: {
|
|
52
|
+
type: Number,
|
|
53
|
+
default: 0
|
|
54
|
+
},
|
|
55
|
+
selectColor: {
|
|
56
|
+
type: String,
|
|
57
|
+
default: "#4A4A4A"
|
|
58
|
+
},
|
|
59
|
+
useResetSlot: {
|
|
60
|
+
type: Boolean,
|
|
61
|
+
default: !1
|
|
62
|
+
},
|
|
63
|
+
valueStart: {
|
|
64
|
+
type: [Number, String],
|
|
65
|
+
default: 0
|
|
66
|
+
},
|
|
67
|
+
valueEnd: {
|
|
68
|
+
type: [Number, String],
|
|
69
|
+
default: 0
|
|
70
|
+
},
|
|
71
|
+
minimap: {
|
|
72
|
+
type: Array,
|
|
73
|
+
default: []
|
|
74
|
+
},
|
|
75
|
+
smoothMinimap: {
|
|
76
|
+
type: Boolean,
|
|
77
|
+
default: !1
|
|
78
|
+
},
|
|
79
|
+
minimapSelectedColor: {
|
|
80
|
+
type: String,
|
|
81
|
+
default: "#1f77b4"
|
|
82
|
+
},
|
|
83
|
+
minimapSelectionRadius: {
|
|
84
|
+
type: Number,
|
|
85
|
+
default: 12
|
|
86
|
+
},
|
|
87
|
+
minimapLineColor: {
|
|
88
|
+
type: String,
|
|
89
|
+
default: "#2D353C"
|
|
90
|
+
},
|
|
91
|
+
minimapSelectedColorOpacity: {
|
|
92
|
+
type: Number,
|
|
93
|
+
default: 0.2
|
|
94
|
+
},
|
|
95
|
+
minimapSelectedIndex: {
|
|
96
|
+
type: Number,
|
|
97
|
+
default: null
|
|
98
|
+
},
|
|
99
|
+
minimapIndicatorColor: {
|
|
100
|
+
type: String,
|
|
101
|
+
default: "#2D353C"
|
|
102
|
+
},
|
|
103
|
+
refreshStartPoint: {
|
|
104
|
+
type: Number,
|
|
105
|
+
default: 0
|
|
106
|
+
},
|
|
107
|
+
refreshEndPoint: {
|
|
108
|
+
type: Number,
|
|
109
|
+
default: null
|
|
110
|
+
},
|
|
111
|
+
enableRangeHandles: {
|
|
112
|
+
type: Boolean,
|
|
113
|
+
default: !1
|
|
114
|
+
},
|
|
115
|
+
enableSelectionDrag: {
|
|
116
|
+
type: Boolean,
|
|
117
|
+
default: !0
|
|
118
|
+
},
|
|
119
|
+
verticalHandles: {
|
|
120
|
+
type: Boolean,
|
|
121
|
+
default: !1
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
emits: ["update:start", "update:end", "reset", "trapMouse"],
|
|
125
|
+
setup(a, { expose: xe, emit: ye }) {
|
|
126
|
+
ze((e) => ({
|
|
127
|
+
"4a4fd8c2": Se.value,
|
|
128
|
+
"3b753d94": w.value,
|
|
129
|
+
"5d48a3b2": ke.value,
|
|
130
|
+
"7b0abb34": a.selectColor,
|
|
131
|
+
"45a92c18": Ce.value
|
|
132
|
+
}));
|
|
133
|
+
const t = a, g = i(null), u = i(t.min), r = i(t.max), L = d(() => !!t.minimap.length), F = i(je()), we = d(() => t.refreshEndPoint === null ? t.max : t.refreshEndPoint), S = ye, p = d(() => {
|
|
134
|
+
const e = t.max - t.min, l = (u.value - t.min) / e * 100, n = (r.value - t.min) / e * 100, s = (l + n) / 2, h = W.value ? `calc(${s}% - ${A.value.width}px)` : V.value ? `calc(${s}%)` : `calc(${s}% - ${A.value.width / 2}px)`;
|
|
135
|
+
return {
|
|
136
|
+
left: `${l}%`,
|
|
137
|
+
width: `${n - l}%`,
|
|
138
|
+
background: t.selectColor,
|
|
139
|
+
tooltipLeft: `calc(${l}% - ${V.value ? 0 : K.value / 2}px)`,
|
|
140
|
+
tooltipRight: `calc(${n}% - ${W.value ? z.value : z.value / 2}px)`,
|
|
141
|
+
tooltipCenter: h,
|
|
142
|
+
arrowLeft: !V.value,
|
|
143
|
+
arrowRight: !W.value
|
|
144
|
+
};
|
|
145
|
+
}), V = d(() => g.value ? g.value.getBoundingClientRect().width * ((u.value - t.min) / (t.max - t.min)) - K.value / 2 < 0 : !1), W = d(() => g.value ? g.value.getBoundingClientRect().width * ((r.value - t.min) / (t.max - t.min)) + z.value / 2 > g.value.getBoundingClientRect().width : !1), Se = d(() => t.inputColor), Ce = d(() => t.background), ke = d(() => `${t.selectColor}33`), w = d(() => t.borderColor), te = d(() => {
|
|
146
|
+
let e = [];
|
|
147
|
+
for (let l = 0; l < t.minimap.length; l += 1)
|
|
148
|
+
e.push(l);
|
|
149
|
+
return e;
|
|
150
|
+
});
|
|
151
|
+
function le() {
|
|
152
|
+
S("reset");
|
|
153
|
+
}
|
|
154
|
+
function $e() {
|
|
155
|
+
Number(u.value) > Number(r.value) - 1 && (u.value = Number(r.value) - 1), S("update:start", Number(u.value));
|
|
156
|
+
}
|
|
157
|
+
function Re() {
|
|
158
|
+
Number(r.value) < Number(u.value) + 1 && (r.value = Number(u.value) + 1), S("update:end", Number(r.value));
|
|
159
|
+
}
|
|
160
|
+
T(
|
|
161
|
+
() => t.min,
|
|
162
|
+
(e) => {
|
|
163
|
+
Number(u.value) < Number(e) && (u.value = Number(e)), Number(r.value) < Number(e) && (r.value = Number(e));
|
|
164
|
+
}
|
|
165
|
+
), T(
|
|
166
|
+
() => t.max,
|
|
167
|
+
(e) => {
|
|
168
|
+
Number(u.value) > Number(e) && (u.value = Number(e)), Number(r.value) > Number(e) && (r.value = Number(e));
|
|
169
|
+
}
|
|
170
|
+
);
|
|
171
|
+
const X = i(null), o = i({
|
|
172
|
+
width: 1,
|
|
173
|
+
height: 1
|
|
174
|
+
}), D = i(null);
|
|
175
|
+
Ae(() => {
|
|
176
|
+
if (L.value) {
|
|
177
|
+
const e = Oe(() => {
|
|
178
|
+
const { width: l, height: n } = Ze({
|
|
179
|
+
chart: X.value
|
|
180
|
+
});
|
|
181
|
+
o.value.width = l, o.value.height = n - 47;
|
|
182
|
+
});
|
|
183
|
+
D.value = new ResizeObserver(e), D.value.observe(X.value);
|
|
184
|
+
}
|
|
185
|
+
}), He(() => {
|
|
186
|
+
D.value && D.value.disconnect();
|
|
187
|
+
});
|
|
188
|
+
const f = d(() => t.minimap.length ? o.value.width / t.minimap.length : 0), b = d(() => {
|
|
189
|
+
if (!t.minimap.length) return [];
|
|
190
|
+
const e = Math.max(...t.minimap), l = Math.min(...t.minimap) - 10, n = e - (l > 0 ? 0 : l), s = t.minimap.map((Q, Ie) => {
|
|
191
|
+
const Pe = Q - l;
|
|
192
|
+
return {
|
|
193
|
+
x: o.value.width / t.minimap.length * Ie + f.value / 2,
|
|
194
|
+
y: o.value.height - Pe / n * (o.value.height * 0.9)
|
|
195
|
+
};
|
|
196
|
+
}), h = t.smoothMinimap ? pe(s) : be(s), k = [...s].slice(t.valueStart, t.valueEnd), M = t.smoothMinimap ? pe(k) : be(k);
|
|
197
|
+
return {
|
|
198
|
+
fullSet: h,
|
|
199
|
+
selectionSet: M,
|
|
200
|
+
sliced: k,
|
|
201
|
+
firstPlot: s[t.valueStart],
|
|
202
|
+
lastPlot: s[t.valueEnd - 1]
|
|
203
|
+
};
|
|
204
|
+
}), x = d(() => ({
|
|
205
|
+
x: f.value * u.value + f.value / 2,
|
|
206
|
+
width: o.value.width * ((r.value - u.value) / t.max) - f.value
|
|
207
|
+
})), E = i(t.minimapSelectedIndex);
|
|
208
|
+
T(() => t.minimapSelectedIndex, (e) => {
|
|
209
|
+
E.value = e + t.valueStart;
|
|
210
|
+
}, { immediate: !0 });
|
|
211
|
+
function Me(e) {
|
|
212
|
+
E.value = e, e >= t.valueStart && e < t.valueEnd && S("trapMouse", e - t.valueStart);
|
|
213
|
+
}
|
|
214
|
+
const Ne = i(0), U = i(null), O = i(null);
|
|
215
|
+
function Z(e) {
|
|
216
|
+
u.value = e, U.value && (U.value.value = e), S("update:start", Number(u.value));
|
|
217
|
+
}
|
|
218
|
+
function j(e) {
|
|
219
|
+
r.value = e, O.value && (O.value.value = e), S("update:end", Number(r.value));
|
|
220
|
+
}
|
|
221
|
+
const G = d(() => t.valueEnd - t.valueStart), q = i(!1);
|
|
222
|
+
let J = i(null);
|
|
223
|
+
const Le = d(() => g.value ? (g.value.getBoundingClientRect().width - 48) / (t.max - t.min) : 20), Ee = d(() => (g.value.getBoundingClientRect().width - 48) / (t.max - t.min) * G.value), Be = i(2.5), ae = d(() => {
|
|
224
|
+
const e = g.value.getBoundingClientRect().width - 48;
|
|
225
|
+
return Math.ceil((t.max - t.min) / ((e - Ee.value) / Be.value));
|
|
226
|
+
}), ne = (e) => {
|
|
227
|
+
if (C.value = !0, !t.enableSelectionDrag)
|
|
228
|
+
return;
|
|
229
|
+
const l = e.type === "touchstart";
|
|
230
|
+
if ((l ? e.targetTouches[0].target : e.target).classList.contains("range-handle"))
|
|
231
|
+
return;
|
|
232
|
+
q.value = !0, J.value = l ? e.targetTouches[0].clientX : e.clientX;
|
|
233
|
+
const s = l ? Te : ie, h = l ? De : ue;
|
|
234
|
+
window.addEventListener(l ? "touchmove" : "mousemove", s, { passive: !1 }), window.addEventListener(l ? "touchend" : "mouseup", h);
|
|
235
|
+
};
|
|
236
|
+
function ie(e) {
|
|
237
|
+
oe(e.clientX);
|
|
238
|
+
}
|
|
239
|
+
function Te(e) {
|
|
240
|
+
g.value.contains(e.target) && (e.target.classList.contains("range-handle") || (e.preventDefault(), oe(e.targetTouches[0].clientX)));
|
|
241
|
+
}
|
|
242
|
+
function oe(e) {
|
|
243
|
+
if (!q.value) return;
|
|
244
|
+
const l = e - J.value;
|
|
245
|
+
if (Math.abs(l) > Le.value) {
|
|
246
|
+
if (l > 0) {
|
|
247
|
+
if (Number(r.value) + 1 <= t.max) {
|
|
248
|
+
const n = Math.min(t.max, Number(r.value) + ae.value);
|
|
249
|
+
j(n), Z(n - G.value);
|
|
250
|
+
}
|
|
251
|
+
} else if (Number(u.value) - 1 >= t.min) {
|
|
252
|
+
const n = Math.max(0, Number(u.value) - ae.value);
|
|
253
|
+
Z(n), j(n + G.value);
|
|
254
|
+
}
|
|
255
|
+
J.value = e;
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
function ue() {
|
|
259
|
+
re("mousemove", "mouseup");
|
|
260
|
+
}
|
|
261
|
+
function De() {
|
|
262
|
+
re("touchmove", "touchend");
|
|
263
|
+
}
|
|
264
|
+
function re(e, l) {
|
|
265
|
+
q.value = !1, window.removeEventListener(e, ie), window.removeEventListener(l, ue);
|
|
266
|
+
}
|
|
267
|
+
const R = i(!1), I = i(null), P = i(null), K = i(1), z = i(1), C = i(!1);
|
|
268
|
+
function se() {
|
|
269
|
+
I.value && (K.value = I.value.getBoundingClientRect().width);
|
|
270
|
+
}
|
|
271
|
+
function de() {
|
|
272
|
+
P.value && (z.value = P.value.getBoundingClientRect().width);
|
|
273
|
+
}
|
|
274
|
+
const ve = i(0);
|
|
275
|
+
function ce(e) {
|
|
276
|
+
ve.value = e === "start" ? 1 : 0;
|
|
277
|
+
}
|
|
278
|
+
const B = i(!1), A = i({
|
|
279
|
+
width: 0,
|
|
280
|
+
left: 0
|
|
281
|
+
});
|
|
282
|
+
return Fe(async () => {
|
|
283
|
+
const e = I.value, l = P.value;
|
|
284
|
+
u.value, r.value;
|
|
285
|
+
const n = g.value;
|
|
286
|
+
if (!e || !l || !n) {
|
|
287
|
+
B.value = !1;
|
|
288
|
+
return;
|
|
289
|
+
}
|
|
290
|
+
await Y();
|
|
291
|
+
const { x: s, width: h } = e.getBoundingClientRect(), { x: k, width: M } = l.getBoundingClientRect(), Q = k + M / 2 - (k + M / 2 - (s + h / 2));
|
|
292
|
+
B.value = s + h > k, A.value = {
|
|
293
|
+
width: h + M,
|
|
294
|
+
left: Q - (h + M / 2)
|
|
295
|
+
};
|
|
296
|
+
}), Ve(() => {
|
|
297
|
+
se(), de();
|
|
298
|
+
}), T(() => t.labelLeft, () => {
|
|
299
|
+
Y(se);
|
|
300
|
+
}, { deep: !0 }), T(() => t.labelRight, () => {
|
|
301
|
+
Y(de);
|
|
302
|
+
}, { deep: !0 }), xe({
|
|
303
|
+
setStartValue: Z,
|
|
304
|
+
setEndValue: j
|
|
305
|
+
}), (e, l) => (m(), c("div", {
|
|
306
|
+
"data-dom-to-png-ignore": "",
|
|
307
|
+
style: { padding: "0 24px" },
|
|
308
|
+
class: "vue-data-ui-zoom",
|
|
309
|
+
ref_key: "zoomWrapper",
|
|
310
|
+
ref: g,
|
|
311
|
+
onMousedown: ne,
|
|
312
|
+
onTouchstart: ne,
|
|
313
|
+
onTouchend: l[11] || (l[11] = (n) => C.value = !1)
|
|
314
|
+
}, [
|
|
315
|
+
v("div", Je, [
|
|
316
|
+
a.valueStart !== a.refreshStartPoint || a.valueEnd !== we.value ? (m(), c("div", Ke, [
|
|
317
|
+
a.useResetSlot ? We(e.$slots, "reset-action", {
|
|
318
|
+
key: 1,
|
|
319
|
+
reset: le
|
|
320
|
+
}, void 0, !0) : (m(), c("button", {
|
|
321
|
+
key: 0,
|
|
322
|
+
tabindex: "0",
|
|
323
|
+
role: "button",
|
|
324
|
+
class: "vue-data-ui-refresh-button",
|
|
325
|
+
style: $({
|
|
326
|
+
top: L.value ? "36px" : "-16px",
|
|
327
|
+
pointerEvents: "all !important"
|
|
328
|
+
}),
|
|
329
|
+
onClick: le
|
|
330
|
+
}, [
|
|
331
|
+
Xe(Ue, {
|
|
332
|
+
name: "refresh",
|
|
333
|
+
stroke: a.textColor
|
|
334
|
+
}, null, 8, ["stroke"])
|
|
335
|
+
], 4))
|
|
336
|
+
])) : y("", !0)
|
|
337
|
+
]),
|
|
338
|
+
v("div", {
|
|
339
|
+
class: "double-range-slider",
|
|
340
|
+
ref_key: "minimapWrapper",
|
|
341
|
+
ref: X,
|
|
342
|
+
style: { "z-index": "0" },
|
|
343
|
+
onMouseenter: l[9] || (l[9] = (n) => C.value = !0),
|
|
344
|
+
onMouseleave: l[10] || (l[10] = (n) => C.value = !1)
|
|
345
|
+
}, [
|
|
346
|
+
L.value ? (m(), c("div", Qe, [
|
|
347
|
+
(m(), c("svg", {
|
|
348
|
+
xmlns: H(Ge),
|
|
349
|
+
viewBox: `0 0 ${o.value.width < 0 ? 0 : o.value.width} ${o.value.height < 0 ? 0 : o.value.height}`
|
|
350
|
+
}, [
|
|
351
|
+
v("defs", null, [
|
|
352
|
+
v("linearGradient", {
|
|
353
|
+
id: F.value,
|
|
354
|
+
x1: "0%",
|
|
355
|
+
y1: "0%",
|
|
356
|
+
x2: "0%",
|
|
357
|
+
y2: "100%"
|
|
358
|
+
}, [
|
|
359
|
+
v("stop", {
|
|
360
|
+
offset: "0%",
|
|
361
|
+
"stop-color": `${a.minimapLineColor}50`
|
|
362
|
+
}, null, 8, et),
|
|
363
|
+
l[12] || (l[12] = v("stop", {
|
|
364
|
+
offset: "100%",
|
|
365
|
+
"stop-color": "transparent"
|
|
366
|
+
}, null, -1))
|
|
367
|
+
], 8, _e)
|
|
368
|
+
]),
|
|
369
|
+
v("path", {
|
|
370
|
+
d: `M${b.value.fullSet}`,
|
|
371
|
+
stroke: `${a.minimapLineColor}`,
|
|
372
|
+
fill: "none",
|
|
373
|
+
"stroke-width": "1",
|
|
374
|
+
"stroke-linecap": "round",
|
|
375
|
+
"stroke-linejoin": "round",
|
|
376
|
+
style: { opacity: "1" }
|
|
377
|
+
}, null, 8, tt),
|
|
378
|
+
v("rect", {
|
|
379
|
+
x: x.value.x,
|
|
380
|
+
width: x.value.width < 0 ? 0 : x.value.width,
|
|
381
|
+
height: Math.max(o.value.height, 0),
|
|
382
|
+
y: 0,
|
|
383
|
+
fill: w.value,
|
|
384
|
+
rx: a.minimapSelectionRadius,
|
|
385
|
+
stroke: "none"
|
|
386
|
+
}, null, 8, lt),
|
|
387
|
+
v("path", {
|
|
388
|
+
d: `M${f.value / 2},${Math.max(o.value.height, 0)} ${b.value.fullSet} L${o.value.width - f.value / 2},${Math.max(o.value.height, 0)}Z`,
|
|
389
|
+
fill: `url(#${F.value})`,
|
|
390
|
+
stroke: "none",
|
|
391
|
+
style: { opacity: "1" }
|
|
392
|
+
}, null, 8, at),
|
|
393
|
+
v("rect", {
|
|
394
|
+
x: x.value.x,
|
|
395
|
+
width: x.value.width < 0 ? 0 : x.value.width,
|
|
396
|
+
height: Math.max(o.value.height, 0),
|
|
397
|
+
y: 0,
|
|
398
|
+
rx: a.minimapSelectionRadius,
|
|
399
|
+
fill: w.value
|
|
400
|
+
}, null, 8, nt),
|
|
401
|
+
v("rect", {
|
|
402
|
+
x: x.value.x,
|
|
403
|
+
width: x.value.width < 0 ? 0 : x.value.width,
|
|
404
|
+
height: Math.max(o.value.height, 0),
|
|
405
|
+
y: 0,
|
|
406
|
+
fill: a.minimapSelectedColor,
|
|
407
|
+
rx: a.minimapSelectionRadius,
|
|
408
|
+
style: $({
|
|
409
|
+
opacity: a.minimapSelectedColorOpacity
|
|
410
|
+
})
|
|
411
|
+
}, null, 12, it),
|
|
412
|
+
v("path", {
|
|
413
|
+
d: `M${b.value.sliced[0].x},${Math.max(o.value.height, 0)} ${b.value.selectionSet} L${b.value.sliced.at(-1).x},${Math.max(o.value.height, 0)}Z`,
|
|
414
|
+
fill: `url(#${F.value})`,
|
|
415
|
+
stroke: "none",
|
|
416
|
+
style: { opacity: "1" }
|
|
417
|
+
}, null, 8, ot),
|
|
418
|
+
v("path", {
|
|
419
|
+
d: `M ${b.value.selectionSet}`,
|
|
420
|
+
stroke: `${a.minimapLineColor}`,
|
|
421
|
+
fill: "transparent",
|
|
422
|
+
"stroke-width": "2",
|
|
423
|
+
"stroke-linecap": "round",
|
|
424
|
+
"stroke-linejoin": "round"
|
|
425
|
+
}, null, 8, ut),
|
|
426
|
+
v("circle", {
|
|
427
|
+
cx: b.value.firstPlot.x,
|
|
428
|
+
cy: b.value.firstPlot.y,
|
|
429
|
+
"stroke-width": "0.5",
|
|
430
|
+
stroke: w.value,
|
|
431
|
+
r: "3",
|
|
432
|
+
fill: a.minimapLineColor
|
|
433
|
+
}, null, 8, rt),
|
|
434
|
+
v("circle", {
|
|
435
|
+
cx: b.value.lastPlot.x,
|
|
436
|
+
cy: b.value.lastPlot.y,
|
|
437
|
+
"stroke-width": "0.5",
|
|
438
|
+
stroke: w.value,
|
|
439
|
+
r: "3",
|
|
440
|
+
fill: a.minimapLineColor
|
|
441
|
+
}, null, 8, st),
|
|
442
|
+
E.value !== null ? (m(!0), c(he, { key: 0 }, fe(te.value, (n, s) => (m(), c("g", null, [
|
|
443
|
+
E.value === n && n >= a.valueStart && n < a.valueEnd ? (m(), c("line", {
|
|
444
|
+
key: 0,
|
|
445
|
+
x1: f.value * s + f.value / 2,
|
|
446
|
+
x2: f.value * s + f.value / 2,
|
|
447
|
+
y1: 0,
|
|
448
|
+
y2: Math.max(o.value.height, 0),
|
|
449
|
+
stroke: a.minimapIndicatorColor,
|
|
450
|
+
"stroke-linecap": "round",
|
|
451
|
+
"stroke-dasharray": "2",
|
|
452
|
+
"stroke-width": "1"
|
|
453
|
+
}, null, 8, dt)) : y("", !0)
|
|
454
|
+
]))), 256)) : y("", !0),
|
|
455
|
+
(m(!0), c(he, null, fe(te.value, (n, s) => (m(), c("rect", {
|
|
456
|
+
x: f.value * s,
|
|
457
|
+
y: 0,
|
|
458
|
+
height: Math.max(o.value.height, 0),
|
|
459
|
+
width: f.value < 0 ? 0 : f.value,
|
|
460
|
+
fill: "transparent",
|
|
461
|
+
style: $([{ "pointer-events": "all !important" }, {
|
|
462
|
+
cursor: n >= a.valueStart && n < a.valueEnd && a.enableSelectionDrag ? R.value ? "grabbing" : "grab" : "default"
|
|
463
|
+
}]),
|
|
464
|
+
onMousedown: l[0] || (l[0] = (h) => R.value = !0),
|
|
465
|
+
onMouseup: l[1] || (l[1] = (h) => R.value = !1),
|
|
466
|
+
onMouseenter: (h) => Me(n),
|
|
467
|
+
onMouseleave: l[2] || (l[2] = (h) => {
|
|
468
|
+
E.value = null, S("trapMouse", null);
|
|
469
|
+
})
|
|
470
|
+
}, null, 44, vt))), 256))
|
|
471
|
+
], 8, Ye))
|
|
472
|
+
])) : y("", !0),
|
|
473
|
+
l[13] || (l[13] = v("div", { class: "slider-track" }, null, -1)),
|
|
474
|
+
v("div", {
|
|
475
|
+
class: N({
|
|
476
|
+
"range-highlight": !0,
|
|
477
|
+
move: a.enableSelectionDrag
|
|
478
|
+
}),
|
|
479
|
+
onMousedown: l[3] || (l[3] = (n) => R.value = !0),
|
|
480
|
+
onMouseup: l[4] || (l[4] = (n) => R.value = !1),
|
|
481
|
+
style: $({
|
|
482
|
+
...p.value,
|
|
483
|
+
cursor: R.value ? "grabbing" : "grab"
|
|
484
|
+
})
|
|
485
|
+
}, null, 38),
|
|
486
|
+
a.enableRangeHandles ? me((m(), c("input", {
|
|
487
|
+
ref_key: "rangeStart",
|
|
488
|
+
ref: U,
|
|
489
|
+
key: `range-min${Ne.value}`,
|
|
490
|
+
type: "range",
|
|
491
|
+
class: N({ "range-left": !0, "range-handle": !0, "range-minimap": L.value && a.verticalHandles }),
|
|
492
|
+
min: a.min,
|
|
493
|
+
max: a.max,
|
|
494
|
+
"onUpdate:modelValue": l[5] || (l[5] = (n) => u.value = n),
|
|
495
|
+
onInput: $e,
|
|
496
|
+
onMouseenter: l[6] || (l[6] = (n) => ce("start"))
|
|
497
|
+
}, null, 42, ct)), [
|
|
498
|
+
[ge, u.value]
|
|
499
|
+
]) : y("", !0),
|
|
500
|
+
a.enableRangeHandles ? me((m(), c("input", {
|
|
501
|
+
key: 2,
|
|
502
|
+
ref_key: "rangeEnd",
|
|
503
|
+
ref: O,
|
|
504
|
+
type: "range",
|
|
505
|
+
class: N({ "range-right": !0, "range-handle": !0, "range-minimap": L.value && a.verticalHandles }),
|
|
506
|
+
min: a.min,
|
|
507
|
+
max: a.max,
|
|
508
|
+
"onUpdate:modelValue": l[7] || (l[7] = (n) => r.value = n),
|
|
509
|
+
onInput: Re,
|
|
510
|
+
onMouseenter: l[8] || (l[8] = (n) => ce("end"))
|
|
511
|
+
}, null, 42, mt)), [
|
|
512
|
+
[ge, r.value]
|
|
513
|
+
]) : y("", !0),
|
|
514
|
+
a.labelLeft ? (m(), c("div", {
|
|
515
|
+
key: 3,
|
|
516
|
+
ref_key: "tooltipLeft",
|
|
517
|
+
ref: I,
|
|
518
|
+
class: N({
|
|
519
|
+
"range-tooltip": !0,
|
|
520
|
+
"range-tooltip-visible": C.value,
|
|
521
|
+
"range-tooltip-arrow": p.value.arrowLeft && !a.verticalHandles,
|
|
522
|
+
"range-tooltip-arrow-left": !p.value.arrowLeft && !a.verticalHandles
|
|
523
|
+
}),
|
|
524
|
+
style: $({
|
|
525
|
+
left: p.value.tooltipLeft,
|
|
526
|
+
color: H(ee)(a.selectColor),
|
|
527
|
+
backgroundColor: a.selectColor,
|
|
528
|
+
border: `1px solid ${w.value}`,
|
|
529
|
+
zIndex: `${ve.value + 4}`,
|
|
530
|
+
visibility: B.value ? "hidden" : "visible"
|
|
531
|
+
})
|
|
532
|
+
}, _(a.labelLeft), 7)) : y("", !0),
|
|
533
|
+
B.value ? (m(), c("div", {
|
|
534
|
+
key: 4,
|
|
535
|
+
ref: "tooltipMerge",
|
|
536
|
+
class: N({
|
|
537
|
+
"range-tooltip": !0,
|
|
538
|
+
"range-tooltip-visible": C.value,
|
|
539
|
+
"range-tooltip-arrow": !0,
|
|
540
|
+
"range-tooltip-arrow-left": !p.value.arrowLeft && !a.verticalHandles,
|
|
541
|
+
"range-tooltip-arrow-right": !p.value.arrowRight && !a.verticalHandles
|
|
542
|
+
}),
|
|
543
|
+
style: $({
|
|
544
|
+
left: p.value.tooltipCenter,
|
|
545
|
+
width: A.value.width + "px",
|
|
546
|
+
color: H(ee)(a.selectColor),
|
|
547
|
+
backgroundColor: a.selectColor,
|
|
548
|
+
border: `1px solid ${w.value}`,
|
|
549
|
+
zIndex: "4"
|
|
550
|
+
})
|
|
551
|
+
}, _(a.labelLeft === a.labelRight ? a.labelLeft : `${a.labelLeft} - ${a.labelRight}`), 7)) : y("", !0),
|
|
552
|
+
a.labelRight ? (m(), c("div", {
|
|
553
|
+
key: 5,
|
|
554
|
+
ref_key: "tooltipRight",
|
|
555
|
+
ref: P,
|
|
556
|
+
class: N({
|
|
557
|
+
"range-tooltip": !0,
|
|
558
|
+
"range-tooltip-visible": C.value,
|
|
559
|
+
"range-tooltip-arrow": p.value.arrowRight && !a.verticalHandles,
|
|
560
|
+
"range-tooltip-arrow-right": !p.value.arrowRight && !a.verticalHandles
|
|
561
|
+
}),
|
|
562
|
+
style: $({
|
|
563
|
+
left: p.value.tooltipRight,
|
|
564
|
+
color: H(ee)(a.selectColor),
|
|
565
|
+
backgroundColor: a.selectColor,
|
|
566
|
+
border: `1px solid ${w.value}`,
|
|
567
|
+
zIndex: "4",
|
|
568
|
+
visibility: B.value ? "hidden" : "visible"
|
|
569
|
+
})
|
|
570
|
+
}, _(a.labelRight), 7)) : y("", !0)
|
|
571
|
+
], 544)
|
|
572
|
+
], 544));
|
|
573
|
+
}
|
|
574
|
+
}, yt = /* @__PURE__ */ qe(ht, [["__scopeId", "data-v-715ed53c"]]);
|
|
575
|
+
export {
|
|
576
|
+
yt as S
|
|
577
|
+
};
|