vue-data-ui 3.1.7 → 3.1.9
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-BZ8rnWYn.js → Arrow-Bd2Nv1JR.js} +1 -1
- package/dist/{BaseDraggableDialog-Bdva4JFr.js → BaseDraggableDialog-DnDgu3fu.js} +2 -2
- package/dist/{BaseIcon-BCS8aIf4.js → BaseIcon-ClWpJKO3.js} +1 -1
- package/dist/{ColorPicker-DF6PDOhr.js → ColorPicker-CGqCY0f7.js} +2 -2
- package/dist/{DataTable-Ddu14t59.js → DataTable-BeFHXTQb.js} +2 -2
- package/dist/{Legend-C3I0iaLM.js → Legend-D_ryPoDQ.js} +2 -2
- package/dist/{NonSvgPenAndPaper-LSG0MLRC.js → NonSvgPenAndPaper-C0fUFsd1.js} +3 -3
- package/dist/{PackageVersion-CtYY8jBZ.js → PackageVersion-nvqupdcz.js} +1 -1
- package/dist/{PenAndPaper-DtlEAsLw.js → PenAndPaper-CdK_W5h2.js} +3 -3
- package/dist/{Shape-B8Cdu8s1.js → Shape-g1_KwK3i.js} +1 -1
- package/dist/Slicer-BbsnAAIT.js +972 -0
- package/dist/{SparkTooltip-qMi3IzXb.js → SparkTooltip-BJY8zi7K.js} +1 -1
- package/dist/{Title-BUVvr0U8.js → Title-DCLc6TCZ.js} +1 -1
- package/dist/{Tooltip-VlJQQsYu.js → Tooltip-DI84H3Yz.js} +1 -1
- package/dist/{UserOptions-sSygisu3.js → UserOptions-2XI1AOh5.js} +2 -2
- package/dist/{dom-to-png-BqX4MBZN.js → dom-to-png-BbsbFKuu.js} +1 -1
- package/dist/{img-DN0--Lx6.js → img-DQnzQcOw.js} +1 -1
- package/dist/{index-BlRUhv0O.js → index-5vhIMiMJ.js} +123 -118
- package/dist/{pdf-Cm5HZB7J.js → pdf-BbD1z_VM.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +6 -0
- package/dist/types/vue-data-ui.d.ts +6 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-wLT3gJAJ.js → useAutoSizeLabelsInsideViewbox-lO6KBU08.js} +1 -1
- package/dist/{useNestedProp-OxTlfHdh.js → useNestedProp-BBcJUXV-.js} +1 -1
- package/dist/{usePrinter-DR__HfSR.js → usePrinter-BxQRVOJV.js} +2 -2
- package/dist/{vue-data-ui-Ci8pH3va.js → vue-data-ui-CBSwx9_2.js} +64 -64
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-h-8AQQKD.js → vue-ui-3d-bar-DrVQXElH.js} +6 -6
- package/dist/{vue-ui-accordion-DejV6zJ2.js → vue-ui-accordion-CWkuC41h.js} +3 -3
- package/dist/{vue-ui-age-pyramid-yTcDoeqi.js → vue-ui-age-pyramid-hfNlu-eT.js} +6 -6
- package/dist/{vue-ui-annotator-HqsIz-FI.js → vue-ui-annotator-BdW7stIX.js} +2 -2
- package/dist/{vue-ui-bullet-Co4ZttnE.js → vue-ui-bullet-DH55M9hd.js} +7 -7
- package/dist/{vue-ui-candlestick-BQQR9K33.js → vue-ui-candlestick-BdCIu_3Z.js} +7 -7
- package/dist/{vue-ui-carousel-table-BzDik-6R.js → vue-ui-carousel-table-CYFqd5Do.js} +4 -4
- package/dist/{vue-ui-chestnut-5VG75w-T.js → vue-ui-chestnut-BAXJvE_P.js} +5 -5
- package/dist/{vue-ui-chord-5HE-ZTDA.js → vue-ui-chord-CZvpyXPS.js} +8 -8
- package/dist/{vue-ui-circle-pack-BVcr-3fG.js → vue-ui-circle-pack-DIrNW31y.js} +6 -6
- package/dist/{vue-ui-cursor-BDH4YPCA.js → vue-ui-cursor-DB5jBNc-.js} +2 -2
- package/dist/{vue-ui-dashboard-VtafJ36J.js → vue-ui-dashboard-NIsI1tyR.js} +67 -67
- package/dist/{vue-ui-digits-Bh5fmCge.js → vue-ui-digits-D1E8vS1U.js} +2 -2
- package/dist/{vue-ui-donut-PiILi3WQ.js → vue-ui-donut-Dcc640KU.js} +8 -8
- package/dist/{vue-ui-donut-evolution-DVp2UID9.js → vue-ui-donut-evolution-FvABIk1B.js} +8 -8
- package/dist/{vue-ui-dumbbell-DIX_gcC_.js → vue-ui-dumbbell-DwR1pCUC.js} +7 -7
- package/dist/{vue-ui-flow-DY64szfV.js → vue-ui-flow-DAm9A_0v.js} +7 -7
- package/dist/{vue-ui-funnel-DnQFZe9P.js → vue-ui-funnel-CBzrS5BO.js} +6 -6
- package/dist/{vue-ui-galaxy-C0TCFGXT.js → vue-ui-galaxy-IJ_oreeF.js} +7 -7
- package/dist/{vue-ui-gauge-BNIAJlUC.js → vue-ui-gauge-o72yvW6N.js} +7 -7
- package/dist/{vue-ui-gizmo-BnHruhLB.js → vue-ui-gizmo-DfyGDDpf.js} +3 -3
- package/dist/{vue-ui-heatmap-CH_twICb.js → vue-ui-heatmap-BGCYDLeT.js} +7 -7
- package/dist/{vue-ui-history-plot-CtJrkyG8.js → vue-ui-history-plot-WM4e1JlT.js} +7 -7
- package/dist/{vue-ui-kpi-Co0app61.js → vue-ui-kpi-BcDpOVCW.js} +3 -3
- package/dist/{vue-ui-mini-loader-DXrdP_7p.js → vue-ui-mini-loader-pv8BRyQQ.js} +2 -2
- package/dist/{vue-ui-molecule-C2cNArDQ.js → vue-ui-molecule-D7oF0j_4.js} +5 -5
- package/dist/{vue-ui-mood-radar-BrLLsYz5.js → vue-ui-mood-radar-iPbyJzps.js} +7 -7
- package/dist/{vue-ui-nested-donuts-DRysa4v_.js → vue-ui-nested-donuts-BLceuaiq.js} +9 -10
- package/dist/{vue-ui-onion-znQ-OGaR.js → vue-ui-onion-Dnf_fWQJ.js} +8 -8
- package/dist/{vue-ui-parallel-coordinate-plot-DIX2Hytk.js → vue-ui-parallel-coordinate-plot-DgqvrE6i.js} +8 -8
- package/dist/{vue-ui-quadrant-B4X5ePQQ.js → vue-ui-quadrant-B7_t3c1D.js} +8 -8
- package/dist/{vue-ui-quick-chart-Cm7iAsdB.js → vue-ui-quick-chart-QBNsaoSx.js} +606 -582
- package/dist/{vue-ui-radar-CMXnDLdC.js → vue-ui-radar-B5LY3bFz.js} +8 -8
- package/dist/{vue-ui-rating-wAMAKVA8.js → vue-ui-rating-M2LsJhF9.js} +2 -2
- package/dist/{vue-ui-relation-circle-snHKlhA3.js → vue-ui-relation-circle-BDgDf-UH.js} +7 -7
- package/dist/{vue-ui-ridgeline-Bx7_nnJ7.js → vue-ui-ridgeline-CF8EGKmN.js} +8 -8
- package/dist/{vue-ui-rings-BGTPLeaD.js → vue-ui-rings-CEf32Qd9.js} +8 -8
- package/dist/{vue-ui-scatter-D-rI3hK1.js → vue-ui-scatter-B1Aafuh6.js} +8 -8
- package/dist/{vue-ui-skeleton-B-6lN9xS.js → vue-ui-skeleton-DCf8RHTA.js} +3 -3
- package/dist/{vue-ui-smiley-DeLEE9m9.js → vue-ui-smiley-D9TyN2I4.js} +2 -2
- package/dist/{vue-ui-spark-trend-BvrboxYt.js → vue-ui-spark-trend-DcZNamSY.js} +3 -3
- package/dist/{vue-ui-sparkbar-nW5DeWC5.js → vue-ui-sparkbar-CNmySZRR.js} +3 -3
- package/dist/{vue-ui-sparkgauge-Isge2K7-.js → vue-ui-sparkgauge-Du3pqhHb.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-ChSw4gHY.js → vue-ui-sparkhistogram-DY33-6pA.js} +4 -4
- package/dist/{vue-ui-sparkline-DH-VRt5o.js → vue-ui-sparkline-DQO2IGma.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-l45aaRR1.js → vue-ui-sparkstackbar-BHgX0FAK.js} +3 -3
- package/dist/{vue-ui-stackbar-ByVq83Og.js → vue-ui-stackbar-DTvmplPR.js} +9 -9
- package/dist/{vue-ui-strip-plot-CwooqV7G.js → vue-ui-strip-plot-CH3BNHOX.js} +7 -7
- package/dist/{vue-ui-table-BRPcCRq-.js → vue-ui-table-DmOi42QJ.js} +554 -520
- package/dist/{vue-ui-table-heatmap-CaAadUo0.js → vue-ui-table-heatmap-D0XRMZEF.js} +5 -5
- package/dist/{vue-ui-table-sparkline-Bt7VtPKK.js → vue-ui-table-sparkline-SjzOqua1.js} +4 -4
- package/dist/{vue-ui-thermometer-B-CWjknr.js → vue-ui-thermometer-Dkb9wTy_.js} +7 -7
- package/dist/{vue-ui-timer-CxLcOKNv.js → vue-ui-timer-CeCAWDqf.js} +5 -5
- package/dist/{vue-ui-tiremarks-DYEZvwDv.js → vue-ui-tiremarks-B9XkzHFy.js} +6 -6
- package/dist/{vue-ui-treemap-CeuebtPa.js → vue-ui-treemap-BCcXO9kM.js} +8 -8
- package/dist/{vue-ui-vertical-bar-D8_txlgd.js → vue-ui-vertical-bar-CRtBBzYM.js} +9 -9
- package/dist/{vue-ui-waffle-B5Qe5PKA.js → vue-ui-waffle-DSNBPqTC.js} +8 -8
- package/dist/{vue-ui-wheel-CxpLOCGw.js → vue-ui-wheel-BXQK9I22.js} +6 -6
- package/dist/{vue-ui-word-cloud-DCoL3uD5.js → vue-ui-word-cloud-YLIzbhcv.js} +6 -6
- package/dist/{vue-ui-world-DmnwTNAv.js → vue-ui-world-eCTtZria.js} +6 -6
- package/dist/vue-ui-xy-C7u7xEoN.js +4507 -0
- package/dist/{vue-ui-xy-canvas-CJp0mlzr.js → vue-ui-xy-canvas-D_rqJLcT.js} +10 -10
- package/package.json +1 -1
- package/dist/Slicer-Bk01kWGC.js +0 -596
- package/dist/vue-ui-xy-CzdchisK.js +0 -4141
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { defineAsyncComponent as ee, ref as c, computed as L, useSlots as ea, onMounted as dl, watch as D, nextTick as hl, shallowRef as Me, onBeforeUnmount as la, createElementBlock as de, openBlock as S, unref as p, normalizeClass as aa, normalizeStyle as le, createCommentVNode as H, createElementVNode as Y, createBlock as F, createSlots as yl, withCtx as b, renderSlot as k, normalizeProps as V, guardReactiveProps as G, createVNode as fl, Teleport as ta, toDisplayString as Oe, resolveDynamicComponent as oa, mergeProps as ua, createTextVNode as gl } from "vue";
|
|
2
|
-
import { u as ra, c as sa, a as na, p as Z, b as ia, C as xe, d as va, D as Re, k as ae, i as te, e as pl,
|
|
2
|
+
import { u as ra, c as sa, a as na, p as Z, b as ia, C as xe, d as va, D as Re, k as ae, i as te, e as pl, a6 as ca, G as da, ag as ha, o as ya, f as fa, y as bl, v as ga, w as pa, z as ba, s as he, l as ma } from "./index-5vhIMiMJ.js";
|
|
3
3
|
import { d as xa, t as La, u as ka, c as Ca, a as ml, l as C, r as De, b as P, p as xl } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as Ll } from "./useNestedProp-
|
|
5
|
-
import { u as wa } from "./usePrinter-
|
|
4
|
+
import { u as Ll } from "./useNestedProp-BBcJUXV-.js";
|
|
5
|
+
import { u as wa } from "./usePrinter-BxQRVOJV.js";
|
|
6
6
|
import { u as Sa } from "./useUserOptionState-BIvW1Kz7.js";
|
|
7
7
|
import { u as za } from "./useChartAccessibility-9icAAmYg.js";
|
|
8
|
-
import $a from "./Legend-
|
|
9
|
-
import Ta from "./Title-
|
|
10
|
-
import { S as Ia } from "./Slicer-
|
|
11
|
-
import Ma from "./vue-ui-accordion-
|
|
8
|
+
import $a from "./Legend-D_ryPoDQ.js";
|
|
9
|
+
import Ta from "./Title-DCLc6TCZ.js";
|
|
10
|
+
import { S as Ia } from "./Slicer-BbsnAAIT.js";
|
|
11
|
+
import Ma from "./vue-ui-accordion-CWkuC41h.js";
|
|
12
12
|
import { u as Oa } from "./useTimeLabels-BGFjWgrv.js";
|
|
13
|
-
import Ra from "./img-
|
|
14
|
-
import Da from "./BaseIcon-
|
|
13
|
+
import Ra from "./img-DQnzQcOw.js";
|
|
14
|
+
import Da from "./BaseIcon-ClWpJKO3.js";
|
|
15
15
|
import { _ as Fa } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
16
16
|
const Pa = ["id"], Ea = ["id"], Aa = ["id"], Na = ["onClick"], Ha = {
|
|
17
17
|
key: 3,
|
|
@@ -34,7 +34,7 @@ const Pa = ["id"], Ea = ["id"], Aa = ["id"], Na = ["onClick"], Ha = {
|
|
|
34
34
|
},
|
|
35
35
|
emits: ["selectLegend"],
|
|
36
36
|
setup(Fe, { expose: kl, emit: Cl }) {
|
|
37
|
-
const wl = ee(() => import("./DataTable-
|
|
37
|
+
const wl = ee(() => import("./DataTable-BeFHXTQb.js")), Sl = ee(() => import("./NonSvgPenAndPaper-C0fUFsd1.js")), zl = ee(() => import("./vue-ui-skeleton-DCf8RHTA.js")), $l = ee(() => import("./Tooltip-DI84H3Yz.js")), Tl = ee(() => import("./UserOptions-2XI1AOh5.js")), Il = ee(() => import("./BaseDraggableDialog-DnDgu3fu.js")), { vue_ui_xy_canvas: Ml } = ra(), g = Fe, _ = c(sa()), I = c(null), oe = c(null), n = c(null), y = c(1), E = c(1), ye = c(!1), d = c(null), fe = c(""), Pe = c(null), $ = c([]), j = c(1), B = c(!0), q = c(!0), Le = c(null), Ee = c(0), Ae = c(0), ue = c(!1), Ne = c(null), He = c(null), Ye = c(null), _e = c(null), ke = c(0), Ce = c(0), we = c(0), M = c(null), Be = c(!1), re = c(null), Se = c(null), ge = L(() => !!g.dataset && g.dataset.length), Ol = Cl, Rl = ea();
|
|
38
38
|
dl(() => {
|
|
39
39
|
Rl["chart-background"] && console.warn("VueUiXyCanvas does not support the #chart-background slot.");
|
|
40
40
|
});
|
package/package.json
CHANGED
package/dist/Slicer-Bk01kWGC.js
DELETED
|
@@ -1,596 +0,0 @@
|
|
|
1
|
-
import { useCssVars as qe, computed as d, ref as i, onMounted as ge, onBeforeUnmount as Y, watch as P, nextTick as _, onUpdated as Ke, createElementBlock as m, openBlock as f, createElementVNode as v, createCommentVNode as y, renderSlot as Je, normalizeStyle as M, createVNode as Qe, withDirectives as be, unref as U, Fragment as xe, renderList as we, normalizeClass as T, vModelText as ye, toDisplayString as ee } from "vue";
|
|
2
|
-
import { c as Ye, V as pe, U as Se, X as _e, F as te } from "./index-BlRUhv0O.js";
|
|
3
|
-
import { t as Ce, u as et } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import tt from "./BaseIcon-BCS8aIf4.js";
|
|
5
|
-
import { _ as lt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
|
-
const at = {
|
|
7
|
-
class: "vue-data-ui-slicer-labels",
|
|
8
|
-
style: { position: "relative", "z-index": "1", "pointer-events": "none" }
|
|
9
|
-
}, nt = {
|
|
10
|
-
key: 0,
|
|
11
|
-
style: { width: "100%", position: "relative" }
|
|
12
|
-
}, it = {
|
|
13
|
-
key: 0,
|
|
14
|
-
class: "minimap",
|
|
15
|
-
style: { width: "100%" }
|
|
16
|
-
}, ut = ["xmlns", "viewBox"], ot = ["id"], rt = ["stop-color"], st = ["d", "stroke"], dt = ["x", "width", "height", "fill", "rx"], vt = ["d", "fill"], ct = ["x", "width", "height", "rx", "fill"], mt = ["x", "width", "height", "fill", "rx"], ft = ["d", "fill"], ht = ["d", "stroke"], gt = ["cx", "cy", "stroke", "fill"], bt = ["cx", "cy", "stroke", "fill"], xt = ["x1", "x2", "y2", "stroke"], wt = ["x", "height", "width", "onMouseenter"], yt = ["min", "max"], pt = ["min", "max"], St = 48, Ct = {
|
|
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, Number],
|
|
33
|
-
default: ""
|
|
34
|
-
},
|
|
35
|
-
labelRight: {
|
|
36
|
-
type: [String, Number],
|
|
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(l, { expose: ke, emit: $e }) {
|
|
126
|
-
qe((t) => ({
|
|
127
|
-
"27c3b9e7": Re.value,
|
|
128
|
-
"808d7b4a": p.value,
|
|
129
|
-
e82d40e8: Ne.value,
|
|
130
|
-
c022f8ea: l.selectColor,
|
|
131
|
-
"2dd03099": Me.value
|
|
132
|
-
}));
|
|
133
|
-
const a = l, g = i(null), r = i(a.min), s = i(a.max), B = d(() => !!a.minimap.length), O = i(Ye()), Z = i(0);
|
|
134
|
-
ge(() => {
|
|
135
|
-
const t = () => {
|
|
136
|
-
g.value && (Z.value = g.value.getBoundingClientRect().width);
|
|
137
|
-
};
|
|
138
|
-
t();
|
|
139
|
-
const e = Ce(t, 50);
|
|
140
|
-
window.addEventListener("resize", e), Y(() => {
|
|
141
|
-
window.removeEventListener("resize", e);
|
|
142
|
-
});
|
|
143
|
-
});
|
|
144
|
-
const Le = d(() => a.refreshEndPoint === null ? a.max : a.refreshEndPoint), L = $e, b = d(() => {
|
|
145
|
-
const t = a.max - a.min, e = (r.value - a.min) / t * 100, n = (s.value - a.min) / t * 100, u = (e + n) / 2, c = G.value ? `calc(${u}% - ${H.value.width}px)` : j.value ? `calc(${u}%)` : `calc(${u}% - ${H.value.width / 2}px)`;
|
|
146
|
-
return {
|
|
147
|
-
left: `${e}%`,
|
|
148
|
-
width: `${n - e}%`,
|
|
149
|
-
background: a.selectColor,
|
|
150
|
-
tooltipLeft: `calc(${e}% - ${j.value ? 0 : Q.value / 2}px)`,
|
|
151
|
-
tooltipRight: `calc(${n}% - ${G.value ? X.value : X.value / 2}px)`,
|
|
152
|
-
tooltipCenter: c,
|
|
153
|
-
arrowLeft: !j.value,
|
|
154
|
-
arrowRight: !G.value
|
|
155
|
-
};
|
|
156
|
-
}), j = d(() => g.value ? g.value.getBoundingClientRect().width * ((r.value - a.min) / (a.max - a.min)) - Q.value / 2 < 0 : !1), G = d(() => g.value ? g.value.getBoundingClientRect().width * ((s.value - a.min) / (a.max - a.min)) + X.value / 2 > g.value.getBoundingClientRect().width : !1), Re = d(() => a.inputColor), Me = d(() => a.background), Ne = d(() => `${a.selectColor}33`), p = d(() => a.borderColor), le = d(() => {
|
|
157
|
-
const t = [];
|
|
158
|
-
for (let e = 0; e < a.minimap.length; e += 1)
|
|
159
|
-
t.push(e);
|
|
160
|
-
return t;
|
|
161
|
-
});
|
|
162
|
-
function ae() {
|
|
163
|
-
L("reset");
|
|
164
|
-
}
|
|
165
|
-
function Ee() {
|
|
166
|
-
Number(r.value) > Number(s.value) - 1 && (r.value = Number(s.value) - 1), L("update:start", Number(r.value));
|
|
167
|
-
}
|
|
168
|
-
function Pe() {
|
|
169
|
-
Number(s.value) < Number(r.value) + 1 && (s.value = Number(r.value) + 1), L("update:end", Number(s.value));
|
|
170
|
-
}
|
|
171
|
-
P(
|
|
172
|
-
() => a.min,
|
|
173
|
-
(t) => {
|
|
174
|
-
Number(r.value) < Number(t) && (r.value = Number(t)), Number(s.value) < Number(t) && (s.value = Number(t));
|
|
175
|
-
}
|
|
176
|
-
), P(
|
|
177
|
-
() => a.max,
|
|
178
|
-
(t) => {
|
|
179
|
-
Number(r.value) > Number(t) && (r.value = Number(t)), Number(s.value) > Number(t) && (s.value = Number(t));
|
|
180
|
-
}
|
|
181
|
-
);
|
|
182
|
-
const q = i(null), o = i({
|
|
183
|
-
width: 1,
|
|
184
|
-
height: 1
|
|
185
|
-
}), N = i(null);
|
|
186
|
-
ge(() => {
|
|
187
|
-
if (B.value) {
|
|
188
|
-
const t = Ce(() => {
|
|
189
|
-
const { width: e, height: n } = et({
|
|
190
|
-
chart: q.value
|
|
191
|
-
});
|
|
192
|
-
o.value.width = e, o.value.height = n - 47;
|
|
193
|
-
});
|
|
194
|
-
N.value = new ResizeObserver(t), N.value.observe(q.value);
|
|
195
|
-
}
|
|
196
|
-
}), Y(() => {
|
|
197
|
-
N.value && N.value.disconnect();
|
|
198
|
-
});
|
|
199
|
-
const h = d(() => a.minimap.length ? o.value.width / a.minimap.length : 0), x = d(() => {
|
|
200
|
-
if (!a.minimap.length) return [];
|
|
201
|
-
const t = Math.max(...a.minimap), e = Math.min(...a.minimap) - 10, n = t - (e > 0 ? 0 : e), u = a.minimap.map((Ze, je) => {
|
|
202
|
-
const Ge = Ze - e;
|
|
203
|
-
return {
|
|
204
|
-
x: o.value.width / a.minimap.length * je + h.value / 2,
|
|
205
|
-
y: o.value.height - Ge / n * (o.value.height * 0.9)
|
|
206
|
-
};
|
|
207
|
-
}), c = a.smoothMinimap ? pe(u) : Se(u), V = [...u].slice(a.valueStart, a.valueEnd), Oe = a.smoothMinimap ? pe(V) : Se(V);
|
|
208
|
-
return {
|
|
209
|
-
fullSet: c,
|
|
210
|
-
selectionSet: Oe,
|
|
211
|
-
sliced: V,
|
|
212
|
-
firstPlot: u[a.valueStart],
|
|
213
|
-
lastPlot: u[a.valueEnd - 1]
|
|
214
|
-
};
|
|
215
|
-
}), w = d(() => ({
|
|
216
|
-
x: h.value * r.value + h.value / 2,
|
|
217
|
-
width: o.value.width * ((s.value - r.value) / a.max) - h.value
|
|
218
|
-
})), D = i(a.minimapSelectedIndex);
|
|
219
|
-
P(
|
|
220
|
-
() => a.minimapSelectedIndex,
|
|
221
|
-
(t) => {
|
|
222
|
-
D.value = t + a.valueStart;
|
|
223
|
-
},
|
|
224
|
-
{ immediate: !0 }
|
|
225
|
-
);
|
|
226
|
-
function Te(t) {
|
|
227
|
-
D.value = t, t >= a.valueStart && t < a.valueEnd && L("trapMouse", t - a.valueStart);
|
|
228
|
-
}
|
|
229
|
-
const Be = i(0), K = i(null), J = i(null);
|
|
230
|
-
function ne(t) {
|
|
231
|
-
r.value = t, K.value && (K.value.value = t), L("update:start", Number(r.value));
|
|
232
|
-
}
|
|
233
|
-
function ie(t) {
|
|
234
|
-
s.value = t, J.value && (J.value.value = t), L("update:end", Number(s.value));
|
|
235
|
-
}
|
|
236
|
-
const W = d(() => a.valueEnd - a.valueStart), z = i(!1);
|
|
237
|
-
let De = i(null);
|
|
238
|
-
const ze = d(() => (Z.value - 48) / (a.max - a.min) * W.value), Ie = d(() => Math.max(1, Z.value - St - ze.value)), Ae = d(() => Math.max(1, a.max - a.min - W.value)), Fe = d(() => Ae.value / Ie.value), ue = i(0), oe = i(0), He = i(0), re = i(0);
|
|
239
|
-
let S = null, C = null, k = null, $ = null;
|
|
240
|
-
const se = (t) => {
|
|
241
|
-
if (R.value = !0, !a.enableSelectionDrag) return;
|
|
242
|
-
const e = t.type === "touchstart";
|
|
243
|
-
e || t.stopPropagation();
|
|
244
|
-
const n = e && t.targetTouches && t.targetTouches[0] ? t.targetTouches[0] : null, u = e ? n ? n.target : null : t.target;
|
|
245
|
-
if (!u || !(u instanceof Element) || u.classList && u.classList.contains("range-handle")) return;
|
|
246
|
-
z.value = !0;
|
|
247
|
-
const c = e ? n ? n.clientX : 0 : t.clientX;
|
|
248
|
-
De.value = c, ue.value = c, oe.value = Number(r.value), He.value = Number(s.value), re.value = Fe.value, S = e ? "touchmove" : "mousemove", C = e ? "touchend" : "mouseup", k = e ? We : Ve, $ = e ? Ue : Xe, window.addEventListener(S, k, { passive: !1 }), window.addEventListener(C, $);
|
|
249
|
-
};
|
|
250
|
-
function Ve(t) {
|
|
251
|
-
z.value && de(t.clientX);
|
|
252
|
-
}
|
|
253
|
-
function We(t) {
|
|
254
|
-
if (!z.value || !g.value) return;
|
|
255
|
-
const e = t.target;
|
|
256
|
-
if (!(e instanceof Element) || !g.value.contains(e) || e.classList && e.classList.contains("range-handle")) return;
|
|
257
|
-
t.preventDefault();
|
|
258
|
-
const n = t.targetTouches && t.targetTouches[0] ? t.targetTouches[0] : null;
|
|
259
|
-
n && de(n.clientX);
|
|
260
|
-
}
|
|
261
|
-
function de(t) {
|
|
262
|
-
if (!z.value) return;
|
|
263
|
-
const n = (t - ue.value) * re.value;
|
|
264
|
-
let u = Math.round(oe.value + n);
|
|
265
|
-
u = Math.max(a.min, Math.min(u, a.max - W.value));
|
|
266
|
-
const c = u + W.value;
|
|
267
|
-
ne(u), ie(c);
|
|
268
|
-
}
|
|
269
|
-
function Xe() {
|
|
270
|
-
ve();
|
|
271
|
-
}
|
|
272
|
-
function Ue() {
|
|
273
|
-
ve();
|
|
274
|
-
}
|
|
275
|
-
function ve() {
|
|
276
|
-
z.value = !1, S && k && window.removeEventListener(S, k), C && $ && window.removeEventListener(C, $), S = C = null, k = $ = null;
|
|
277
|
-
}
|
|
278
|
-
const E = i(!1), I = i(null), A = i(null), Q = i(1), X = i(1), R = i(!1);
|
|
279
|
-
function ce() {
|
|
280
|
-
I.value && (Q.value = I.value.getBoundingClientRect().width);
|
|
281
|
-
}
|
|
282
|
-
function me() {
|
|
283
|
-
A.value && (X.value = A.value.getBoundingClientRect().width);
|
|
284
|
-
}
|
|
285
|
-
const fe = i(0);
|
|
286
|
-
function he(t) {
|
|
287
|
-
fe.value = t === "start" ? 1 : 0;
|
|
288
|
-
}
|
|
289
|
-
const F = i(!1), H = i({
|
|
290
|
-
width: 0,
|
|
291
|
-
left: 0
|
|
292
|
-
});
|
|
293
|
-
return P([r, s], async () => {
|
|
294
|
-
if (await _(), !I.value || !A.value) {
|
|
295
|
-
F.value = !1, H.value = { width: 0, left: 0 };
|
|
296
|
-
return;
|
|
297
|
-
}
|
|
298
|
-
const t = I.value.getBoundingClientRect(), e = A.value.getBoundingClientRect();
|
|
299
|
-
F.value = t.x + t.width > e.x;
|
|
300
|
-
const n = t.x + t.width / 2, u = e.x + e.width / 2, c = t.width + e.width, V = (n + u) / 2;
|
|
301
|
-
H.value = {
|
|
302
|
-
width: c,
|
|
303
|
-
left: V - c / 2
|
|
304
|
-
};
|
|
305
|
-
}), Ke(() => {
|
|
306
|
-
ce(), me();
|
|
307
|
-
}), P(
|
|
308
|
-
() => a.labelLeft,
|
|
309
|
-
() => {
|
|
310
|
-
_(ce);
|
|
311
|
-
},
|
|
312
|
-
{ deep: !0 }
|
|
313
|
-
), P(
|
|
314
|
-
() => a.labelRight,
|
|
315
|
-
() => {
|
|
316
|
-
_(me);
|
|
317
|
-
},
|
|
318
|
-
{ deep: !0 }
|
|
319
|
-
), ke({
|
|
320
|
-
setStartValue: ne,
|
|
321
|
-
setEndValue: ie
|
|
322
|
-
}), Y(() => {
|
|
323
|
-
N.value && N.value.disconnect(), S && k && window.removeEventListener(S, k), C && $ && window.removeEventListener(C, $), S = C = null, k = $ = null;
|
|
324
|
-
}), (t, e) => (f(), m("div", {
|
|
325
|
-
"data-dom-to-png-ignore": "",
|
|
326
|
-
style: { padding: "0 24px" },
|
|
327
|
-
class: "vue-data-ui-zoom",
|
|
328
|
-
ref_key: "zoomWrapper",
|
|
329
|
-
ref: g,
|
|
330
|
-
onMousedown: se,
|
|
331
|
-
onTouchstart: se,
|
|
332
|
-
onTouchend: e[11] || (e[11] = (n) => R.value = !1)
|
|
333
|
-
}, [
|
|
334
|
-
v("div", at, [
|
|
335
|
-
l.valueStart !== l.refreshStartPoint || l.valueEnd !== Le.value ? (f(), m("div", nt, [
|
|
336
|
-
l.useResetSlot ? Je(t.$slots, "reset-action", {
|
|
337
|
-
key: 1,
|
|
338
|
-
reset: ae
|
|
339
|
-
}, void 0, !0) : (f(), m("button", {
|
|
340
|
-
key: 0,
|
|
341
|
-
tabindex: "0",
|
|
342
|
-
role: "button",
|
|
343
|
-
class: "vue-data-ui-refresh-button",
|
|
344
|
-
style: M({
|
|
345
|
-
top: B.value ? "36px" : "-16px",
|
|
346
|
-
pointerEvents: "all !important"
|
|
347
|
-
}),
|
|
348
|
-
onClick: ae
|
|
349
|
-
}, [
|
|
350
|
-
Qe(tt, {
|
|
351
|
-
name: "refresh",
|
|
352
|
-
stroke: l.textColor
|
|
353
|
-
}, null, 8, ["stroke"])
|
|
354
|
-
], 4))
|
|
355
|
-
])) : y("", !0)
|
|
356
|
-
]),
|
|
357
|
-
v("div", {
|
|
358
|
-
class: "double-range-slider",
|
|
359
|
-
ref_key: "minimapWrapper",
|
|
360
|
-
ref: q,
|
|
361
|
-
style: { "z-index": "0" },
|
|
362
|
-
onMouseenter: e[9] || (e[9] = (n) => R.value = !0),
|
|
363
|
-
onMouseleave: e[10] || (e[10] = (n) => R.value = !1)
|
|
364
|
-
}, [
|
|
365
|
-
B.value ? (f(), m("div", it, [
|
|
366
|
-
(f(), m("svg", {
|
|
367
|
-
xmlns: U(_e),
|
|
368
|
-
viewBox: `0 0 ${o.value.width < 0 ? 0 : o.value.width} ${o.value.height < 0 ? 0 : o.value.height}`
|
|
369
|
-
}, [
|
|
370
|
-
v("defs", null, [
|
|
371
|
-
v("linearGradient", {
|
|
372
|
-
id: O.value,
|
|
373
|
-
x1: "0%",
|
|
374
|
-
y1: "0%",
|
|
375
|
-
x2: "0%",
|
|
376
|
-
y2: "100%"
|
|
377
|
-
}, [
|
|
378
|
-
v("stop", {
|
|
379
|
-
offset: "0%",
|
|
380
|
-
"stop-color": `${l.minimapLineColor}50`
|
|
381
|
-
}, null, 8, rt),
|
|
382
|
-
e[12] || (e[12] = v("stop", {
|
|
383
|
-
offset: "100%",
|
|
384
|
-
"stop-color": "transparent"
|
|
385
|
-
}, null, -1))
|
|
386
|
-
], 8, ot)
|
|
387
|
-
]),
|
|
388
|
-
v("path", {
|
|
389
|
-
d: `M${x.value.fullSet}`,
|
|
390
|
-
stroke: `${l.minimapLineColor}`,
|
|
391
|
-
fill: "none",
|
|
392
|
-
"stroke-width": "1",
|
|
393
|
-
"stroke-linecap": "round",
|
|
394
|
-
"stroke-linejoin": "round",
|
|
395
|
-
style: { opacity: "1" }
|
|
396
|
-
}, null, 8, st),
|
|
397
|
-
v("rect", {
|
|
398
|
-
x: w.value.x,
|
|
399
|
-
width: w.value.width < 0 ? 0 : w.value.width,
|
|
400
|
-
height: Math.max(o.value.height, 0),
|
|
401
|
-
y: 0,
|
|
402
|
-
fill: p.value,
|
|
403
|
-
rx: l.minimapSelectionRadius,
|
|
404
|
-
stroke: "none"
|
|
405
|
-
}, null, 8, dt),
|
|
406
|
-
v("path", {
|
|
407
|
-
d: `M${h.value / 2},${Math.max(o.value.height, 0)} ${x.value.fullSet} L${o.value.width - h.value / 2},${Math.max(o.value.height, 0)}Z`,
|
|
408
|
-
fill: `url(#${O.value})`,
|
|
409
|
-
stroke: "none",
|
|
410
|
-
style: { opacity: "1" }
|
|
411
|
-
}, null, 8, vt),
|
|
412
|
-
v("rect", {
|
|
413
|
-
x: w.value.x,
|
|
414
|
-
width: w.value.width < 0 ? 0 : w.value.width,
|
|
415
|
-
height: Math.max(o.value.height, 0),
|
|
416
|
-
y: 0,
|
|
417
|
-
rx: l.minimapSelectionRadius,
|
|
418
|
-
fill: p.value
|
|
419
|
-
}, null, 8, ct),
|
|
420
|
-
v("rect", {
|
|
421
|
-
x: w.value.x,
|
|
422
|
-
width: w.value.width < 0 ? 0 : w.value.width,
|
|
423
|
-
height: Math.max(o.value.height, 0),
|
|
424
|
-
y: 0,
|
|
425
|
-
fill: l.minimapSelectedColor,
|
|
426
|
-
rx: l.minimapSelectionRadius,
|
|
427
|
-
style: M({
|
|
428
|
-
opacity: l.minimapSelectedColorOpacity
|
|
429
|
-
})
|
|
430
|
-
}, null, 12, mt),
|
|
431
|
-
v("path", {
|
|
432
|
-
d: `M${x.value.sliced[0].x},${Math.max(o.value.height, 0)} ${x.value.selectionSet} L${x.value.sliced.at(-1).x},${Math.max(o.value.height, 0)}Z`,
|
|
433
|
-
fill: `url(#${O.value})`,
|
|
434
|
-
stroke: "none",
|
|
435
|
-
style: { opacity: "1" }
|
|
436
|
-
}, null, 8, ft),
|
|
437
|
-
v("path", {
|
|
438
|
-
d: `M ${x.value.selectionSet}`,
|
|
439
|
-
stroke: `${l.minimapLineColor}`,
|
|
440
|
-
fill: "transparent",
|
|
441
|
-
"stroke-width": "2",
|
|
442
|
-
"stroke-linecap": "round",
|
|
443
|
-
"stroke-linejoin": "round"
|
|
444
|
-
}, null, 8, ht),
|
|
445
|
-
v("circle", {
|
|
446
|
-
cx: x.value.firstPlot.x,
|
|
447
|
-
cy: x.value.firstPlot.y,
|
|
448
|
-
"stroke-width": "0.5",
|
|
449
|
-
stroke: p.value,
|
|
450
|
-
r: "3",
|
|
451
|
-
fill: l.minimapLineColor
|
|
452
|
-
}, null, 8, gt),
|
|
453
|
-
v("circle", {
|
|
454
|
-
cx: x.value.lastPlot.x,
|
|
455
|
-
cy: x.value.lastPlot.y,
|
|
456
|
-
"stroke-width": "0.5",
|
|
457
|
-
stroke: p.value,
|
|
458
|
-
r: "3",
|
|
459
|
-
fill: l.minimapLineColor
|
|
460
|
-
}, null, 8, bt),
|
|
461
|
-
D.value !== null ? (f(!0), m(xe, { key: 0 }, we(le.value, (n, u) => (f(), m("g", null, [
|
|
462
|
-
D.value === n && n >= l.valueStart && n < l.valueEnd ? (f(), m("line", {
|
|
463
|
-
key: 0,
|
|
464
|
-
x1: h.value * u + h.value / 2,
|
|
465
|
-
x2: h.value * u + h.value / 2,
|
|
466
|
-
y1: 0,
|
|
467
|
-
y2: Math.max(o.value.height, 0),
|
|
468
|
-
stroke: l.minimapIndicatorColor,
|
|
469
|
-
"stroke-linecap": "round",
|
|
470
|
-
"stroke-dasharray": "2",
|
|
471
|
-
"stroke-width": "1"
|
|
472
|
-
}, null, 8, xt)) : y("", !0)
|
|
473
|
-
]))), 256)) : y("", !0),
|
|
474
|
-
(f(!0), m(xe, null, we(le.value, (n, u) => (f(), m("rect", {
|
|
475
|
-
x: h.value * u,
|
|
476
|
-
y: 0,
|
|
477
|
-
height: Math.max(o.value.height, 0),
|
|
478
|
-
width: h.value < 0 ? 0 : h.value,
|
|
479
|
-
fill: "transparent",
|
|
480
|
-
style: M([{ "pointer-events": "all !important" }, {
|
|
481
|
-
cursor: n >= l.valueStart && n < l.valueEnd && l.enableSelectionDrag ? E.value ? "grabbing" : "grab" : "default"
|
|
482
|
-
}]),
|
|
483
|
-
onMousedown: e[0] || (e[0] = (c) => E.value = !0),
|
|
484
|
-
onMouseup: e[1] || (e[1] = (c) => E.value = !1),
|
|
485
|
-
onMouseenter: (c) => Te(n),
|
|
486
|
-
onMouseleave: e[2] || (e[2] = (c) => {
|
|
487
|
-
D.value = null, L("trapMouse", null);
|
|
488
|
-
})
|
|
489
|
-
}, null, 44, wt))), 256))
|
|
490
|
-
], 8, ut))
|
|
491
|
-
])) : y("", !0),
|
|
492
|
-
e[13] || (e[13] = v("div", { class: "slider-track" }, null, -1)),
|
|
493
|
-
v("div", {
|
|
494
|
-
class: T({
|
|
495
|
-
"range-highlight": !0,
|
|
496
|
-
move: l.enableSelectionDrag
|
|
497
|
-
}),
|
|
498
|
-
onMousedown: e[3] || (e[3] = (n) => E.value = !0),
|
|
499
|
-
onMouseup: e[4] || (e[4] = (n) => E.value = !1),
|
|
500
|
-
style: M({
|
|
501
|
-
...b.value,
|
|
502
|
-
cursor: E.value ? "grabbing" : "grab"
|
|
503
|
-
})
|
|
504
|
-
}, null, 38),
|
|
505
|
-
l.enableRangeHandles ? be((f(), m("input", {
|
|
506
|
-
ref_key: "rangeStart",
|
|
507
|
-
ref: K,
|
|
508
|
-
key: `range-min${Be.value}`,
|
|
509
|
-
type: "range",
|
|
510
|
-
class: T({ "range-left": !0, "range-handle": !0, "range-minimap": B.value && l.verticalHandles }),
|
|
511
|
-
min: l.min,
|
|
512
|
-
max: l.max,
|
|
513
|
-
"onUpdate:modelValue": e[5] || (e[5] = (n) => r.value = n),
|
|
514
|
-
onInput: Ee,
|
|
515
|
-
onMouseenter: e[6] || (e[6] = (n) => he("start"))
|
|
516
|
-
}, null, 42, yt)), [
|
|
517
|
-
[ye, r.value]
|
|
518
|
-
]) : y("", !0),
|
|
519
|
-
l.enableRangeHandles ? be((f(), m("input", {
|
|
520
|
-
key: 2,
|
|
521
|
-
ref_key: "rangeEnd",
|
|
522
|
-
ref: J,
|
|
523
|
-
type: "range",
|
|
524
|
-
class: T({ "range-right": !0, "range-handle": !0, "range-minimap": B.value && l.verticalHandles }),
|
|
525
|
-
min: l.min,
|
|
526
|
-
max: l.max,
|
|
527
|
-
"onUpdate:modelValue": e[7] || (e[7] = (n) => s.value = n),
|
|
528
|
-
onInput: Pe,
|
|
529
|
-
onMouseenter: e[8] || (e[8] = (n) => he("end"))
|
|
530
|
-
}, null, 42, pt)), [
|
|
531
|
-
[ye, s.value]
|
|
532
|
-
]) : y("", !0),
|
|
533
|
-
l.labelLeft ? (f(), m("div", {
|
|
534
|
-
key: 3,
|
|
535
|
-
ref_key: "tooltipLeft",
|
|
536
|
-
ref: I,
|
|
537
|
-
class: T({
|
|
538
|
-
"range-tooltip": !0,
|
|
539
|
-
"range-tooltip-visible": R.value,
|
|
540
|
-
"range-tooltip-arrow": b.value.arrowLeft && !l.verticalHandles,
|
|
541
|
-
"range-tooltip-arrow-left": !b.value.arrowLeft && !l.verticalHandles
|
|
542
|
-
}),
|
|
543
|
-
style: M({
|
|
544
|
-
left: b.value.tooltipLeft,
|
|
545
|
-
color: U(te)(l.selectColor),
|
|
546
|
-
backgroundColor: l.selectColor,
|
|
547
|
-
border: `1px solid ${p.value}`,
|
|
548
|
-
zIndex: `${fe.value + 4}`,
|
|
549
|
-
visibility: F.value || l.labelLeft === l.labelRight ? "hidden" : "visible"
|
|
550
|
-
})
|
|
551
|
-
}, ee(l.labelLeft), 7)) : y("", !0),
|
|
552
|
-
(F.value || l.labelLeft === l.labelRight) && (l.labelLeft || l.labelRight) ? (f(), m("div", {
|
|
553
|
-
key: 4,
|
|
554
|
-
ref: "tooltipMerge",
|
|
555
|
-
class: T({
|
|
556
|
-
"range-tooltip": !0,
|
|
557
|
-
"range-tooltip-visible": R.value,
|
|
558
|
-
"range-tooltip-arrow": !0,
|
|
559
|
-
"range-tooltip-arrow-left": !b.value.arrowLeft && !l.verticalHandles,
|
|
560
|
-
"range-tooltip-arrow-right": !b.value.arrowRight && !l.verticalHandles
|
|
561
|
-
}),
|
|
562
|
-
style: M({
|
|
563
|
-
left: b.value.tooltipCenter,
|
|
564
|
-
width: H.value.width + "px",
|
|
565
|
-
color: U(te)(l.selectColor),
|
|
566
|
-
backgroundColor: l.selectColor,
|
|
567
|
-
border: `1px solid ${p.value}`,
|
|
568
|
-
zIndex: "4"
|
|
569
|
-
})
|
|
570
|
-
}, ee(l.labelLeft === l.labelRight ? l.labelLeft : `${l.labelLeft} - ${l.labelRight}`), 7)) : y("", !0),
|
|
571
|
-
l.labelRight ? (f(), m("div", {
|
|
572
|
-
key: 5,
|
|
573
|
-
ref_key: "tooltipRight",
|
|
574
|
-
ref: A,
|
|
575
|
-
class: T({
|
|
576
|
-
"range-tooltip": !0,
|
|
577
|
-
"range-tooltip-visible": R.value,
|
|
578
|
-
"range-tooltip-arrow": b.value.arrowRight && !l.verticalHandles,
|
|
579
|
-
"range-tooltip-arrow-right": !b.value.arrowRight && !l.verticalHandles
|
|
580
|
-
}),
|
|
581
|
-
style: M({
|
|
582
|
-
left: b.value.tooltipRight,
|
|
583
|
-
color: U(te)(l.selectColor),
|
|
584
|
-
backgroundColor: l.selectColor,
|
|
585
|
-
border: `1px solid ${p.value}`,
|
|
586
|
-
zIndex: "4",
|
|
587
|
-
visibility: F.value || l.labelLeft === l.labelRight ? "hidden" : "visible"
|
|
588
|
-
})
|
|
589
|
-
}, ee(l.labelRight), 7)) : y("", !0)
|
|
590
|
-
], 544)
|
|
591
|
-
], 544));
|
|
592
|
-
}
|
|
593
|
-
}, Nt = /* @__PURE__ */ lt(Ct, [["__scopeId", "data-v-d86f2c1b"]]);
|
|
594
|
-
export {
|
|
595
|
-
Nt as S
|
|
596
|
-
};
|