vue-data-ui 3.1.6 → 3.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +37 -37
- package/dist/{Arrow-DtlAIKPQ.js → Arrow-BgpCSKiw.js} +1 -1
- package/dist/{BaseDraggableDialog-BVZPPMT9.js → BaseDraggableDialog-4cNvzMfi.js} +2 -2
- package/dist/{BaseIcon-D_BjQBAR.js → BaseIcon-BxgIVnCu.js} +1 -1
- package/dist/{ColorPicker-BeJGNqJl.js → ColorPicker-VOFdB4GY.js} +2 -2
- package/dist/{DataTable-IycMkaTU.js → DataTable-Mt5_INYw.js} +2 -2
- package/dist/{Legend-D7l8BJ7z.js → Legend-3CKwL5Wo.js} +2 -2
- package/dist/{NonSvgPenAndPaper-BK5M9Lt9.js → NonSvgPenAndPaper-BG5Mp8-S.js} +3 -3
- package/dist/{PackageVersion-BtfT0hV9.js → PackageVersion-9HA7ZN6u.js} +1 -1
- package/dist/{PenAndPaper-BdzDJYnr.js → PenAndPaper-CK3pXon8.js} +3 -3
- package/dist/{Shape-DD3SLpa4.js → Shape-DC3qeycD.js} +1 -1
- package/dist/Slicer-CRtDozJ_.js +931 -0
- package/dist/{SparkTooltip-DAfofSes.js → SparkTooltip-BIrLMERo.js} +1 -1
- package/dist/{Title-DbQthJAs.js → Title-Bjd-1xjp.js} +1 -1
- package/dist/{Tooltip-DvtYLrX2.js → Tooltip-DBkwWUMF.js} +1 -1
- package/dist/{UserOptions-Dd5XOrwq.js → UserOptions-DOc0dPiT.js} +2 -2
- package/dist/{dom-to-png-j6qE-sAL.js → dom-to-png-ib1QEVbF.js} +1 -1
- package/dist/{img-DLgjML7h.js → img-Dot7cGKX.js} +1 -1
- package/dist/{index-C0wrF8hm.js → index-D0aGpITF.js} +105 -100
- package/dist/{pdf-Csglybwj.js → pdf-plTy35oc.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-Bj3DhGbZ.js → useAutoSizeLabelsInsideViewbox-ZbX5_z1t.js} +1 -1
- package/dist/{useNestedProp-Bg2FlIgI.js → useNestedProp-24j5ySor.js} +1 -1
- package/dist/{usePrinter-C2jvouU0.js → usePrinter-83vS002b.js} +2 -2
- package/dist/{vue-data-ui-DaOijb0V.js → vue-data-ui--_tNs3PB.js} +64 -64
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-BbW6NaRc.js → vue-ui-3d-bar-BCXe_TlX.js} +6 -6
- package/dist/{vue-ui-accordion-3JuSLBjV.js → vue-ui-accordion-eylX-9G4.js} +3 -3
- package/dist/{vue-ui-age-pyramid-D94C1TOK.js → vue-ui-age-pyramid-C4qft5Bj.js} +6 -6
- package/dist/{vue-ui-annotator-Jq_yw0h7.js → vue-ui-annotator-1lcGoxDB.js} +2 -2
- package/dist/{vue-ui-bullet-ajwy7d-R.js → vue-ui-bullet-BHxaOyMm.js} +7 -7
- package/dist/{vue-ui-candlestick-vMGbmNWA.js → vue-ui-candlestick-VEUw3NHh.js} +7 -7
- package/dist/{vue-ui-carousel-table-DydTCm2Z.js → vue-ui-carousel-table-DNv0j-uW.js} +4 -4
- package/dist/{vue-ui-chestnut-D6AP76wU.js → vue-ui-chestnut-CVyfTZa1.js} +5 -5
- package/dist/{vue-ui-chord-Du8GJXPN.js → vue-ui-chord-Bf-WZRrB.js} +8 -8
- package/dist/{vue-ui-circle-pack-C-C3OGW_.js → vue-ui-circle-pack-BTcgUb9a.js} +6 -6
- package/dist/{vue-ui-cursor-B70FlDqP.js → vue-ui-cursor-CnNB_YkF.js} +2 -2
- package/dist/{vue-ui-dashboard-DrFCH7LP.js → vue-ui-dashboard-BZr26TJ1.js} +67 -67
- package/dist/{vue-ui-digits-CQy-vOC2.js → vue-ui-digits-Dru4BNMH.js} +2 -2
- package/dist/{vue-ui-donut-D0RdN18d.js → vue-ui-donut-BCn7ozHp.js} +8 -8
- package/dist/{vue-ui-donut-evolution-naYIvk-b.js → vue-ui-donut-evolution-B-SUaQKu.js} +8 -8
- package/dist/{vue-ui-dumbbell-D6b7WMTy.js → vue-ui-dumbbell-BgQX8R_K.js} +7 -7
- package/dist/{vue-ui-flow-Dh8_ii-s.js → vue-ui-flow-Dm9fGyZA.js} +7 -7
- package/dist/{vue-ui-funnel-Ct4e9chO.js → vue-ui-funnel-TxggX88y.js} +6 -6
- package/dist/{vue-ui-galaxy-Dqklv14X.js → vue-ui-galaxy-CsipGa1z.js} +7 -7
- package/dist/{vue-ui-gauge-D-vHj5J1.js → vue-ui-gauge-BosHacW2.js} +7 -7
- package/dist/{vue-ui-gizmo-Cn0d1lVH.js → vue-ui-gizmo-DFa49sEK.js} +3 -3
- package/dist/{vue-ui-heatmap-BpcoDwpi.js → vue-ui-heatmap-C9SS6Gba.js} +7 -7
- package/dist/{vue-ui-history-plot-D8tmNUHo.js → vue-ui-history-plot-BP98x8s2.js} +7 -7
- package/dist/{vue-ui-kpi-88Bguk6S.js → vue-ui-kpi-D5OUgxps.js} +3 -3
- package/dist/{vue-ui-mini-loader-VDpWxyls.js → vue-ui-mini-loader-BP3gflCh.js} +2 -2
- package/dist/{vue-ui-molecule-Cn8yeJLZ.js → vue-ui-molecule-DRHBBs-F.js} +5 -5
- package/dist/{vue-ui-mood-radar-DidC77_K.js → vue-ui-mood-radar-Ch7z83Uf.js} +7 -7
- package/dist/{vue-ui-nested-donuts-D1EZ91Wm.js → vue-ui-nested-donuts-CfUFWEjl.js} +9 -10
- package/dist/{vue-ui-onion-B_mir5Ax.js → vue-ui-onion-Bl8WwzrC.js} +8 -8
- package/dist/{vue-ui-parallel-coordinate-plot-DRbJyqiQ.js → vue-ui-parallel-coordinate-plot-BurwAXfR.js} +8 -8
- package/dist/{vue-ui-quadrant-D7ihdCkd.js → vue-ui-quadrant-CIyW030A.js} +8 -8
- package/dist/{vue-ui-quick-chart-Dwc1xJtX.js → vue-ui-quick-chart-BARjlbvR.js} +606 -582
- package/dist/{vue-ui-radar-DhsgkGwF.js → vue-ui-radar-Bmr9hUIc.js} +8 -8
- package/dist/{vue-ui-rating-D_sWv7fR.js → vue-ui-rating-Bw1x-cFB.js} +2 -2
- package/dist/{vue-ui-relation-circle-CAvYwKpm.js → vue-ui-relation-circle-CapvonjX.js} +7 -7
- package/dist/{vue-ui-ridgeline-DuWQX2OI.js → vue-ui-ridgeline-Bp48HFv-.js} +8 -8
- package/dist/{vue-ui-rings-BrBkOGZk.js → vue-ui-rings-i5VyqvGC.js} +8 -8
- package/dist/{vue-ui-scatter--kNBhPeG.js → vue-ui-scatter-uRK6iD0_.js} +8 -8
- package/dist/{vue-ui-skeleton-B6Y0yxOn.js → vue-ui-skeleton-C3SJsXcS.js} +3 -3
- package/dist/{vue-ui-smiley-B7tZsNRS.js → vue-ui-smiley-kXO2t82E.js} +2 -2
- package/dist/{vue-ui-spark-trend-Dy5C9uny.js → vue-ui-spark-trend-JFgrbzdV.js} +3 -3
- package/dist/{vue-ui-sparkbar-9NN07DOT.js → vue-ui-sparkbar-CcDvHOC5.js} +3 -3
- package/dist/{vue-ui-sparkgauge-iV-u83Ie.js → vue-ui-sparkgauge--udog0U1.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-X47TDKC2.js → vue-ui-sparkhistogram-e0iWjcGB.js} +4 -4
- package/dist/{vue-ui-sparkline-C67Y3c7l.js → vue-ui-sparkline-DRqsYKXj.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-Bzmq9peq.js → vue-ui-sparkstackbar-BtnxBp0b.js} +3 -3
- package/dist/{vue-ui-stackbar-C0cn-5Sz.js → vue-ui-stackbar-Da8gi0va.js} +9 -9
- package/dist/{vue-ui-strip-plot-D3StIxYT.js → vue-ui-strip-plot-C6pCJzC2.js} +7 -7
- package/dist/{vue-ui-table-B-wP544v.js → vue-ui-table-Cvka-9t8.js} +554 -520
- package/dist/{vue-ui-table-heatmap-_qJwOiYG.js → vue-ui-table-heatmap-B76q7OUm.js} +5 -5
- package/dist/{vue-ui-table-sparkline-C6MoeyKm.js → vue-ui-table-sparkline-BkIHosOJ.js} +4 -4
- package/dist/{vue-ui-thermometer-BmYZiNK4.js → vue-ui-thermometer-CGiCADFh.js} +7 -7
- package/dist/{vue-ui-timer-XeLnI_ia.js → vue-ui-timer-BMXfoR5s.js} +5 -5
- package/dist/{vue-ui-tiremarks-CnCSAQiH.js → vue-ui-tiremarks-Brmi2HYv.js} +6 -6
- package/dist/{vue-ui-treemap-Nd27H4H5.js → vue-ui-treemap-COkHHmNa.js} +8 -8
- package/dist/{vue-ui-vertical-bar-Dd1XUvnp.js → vue-ui-vertical-bar-Dw5MLw1I.js} +9 -9
- package/dist/{vue-ui-waffle-Czg-z9KF.js → vue-ui-waffle-DlHJ-vf3.js} +8 -8
- package/dist/{vue-ui-wheel-DfPu-QQM.js → vue-ui-wheel-Cs-mcVTV.js} +6 -6
- package/dist/{vue-ui-word-cloud-CB9_bPjO.js → vue-ui-word-cloud-BotvFbwv.js} +6 -6
- package/dist/{vue-ui-world-Bo_NzzhJ.js → vue-ui-world-CABqnS6s.js} +6 -6
- package/dist/vue-ui-xy-BBYf_jl_.js +4456 -0
- package/dist/{vue-ui-xy-canvas-D1Do33ar.js → vue-ui-xy-canvas-Cg3smgrp.js} +10 -10
- package/package.json +1 -1
- package/dist/Slicer-DoGlWyq_.js +0 -596
- package/dist/vue-ui-xy-Dc-o6Q3R.js +0 -4132
|
@@ -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, a4 as ca, G as da, ae 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-
|
|
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, a4 as ca, G as da, ae 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-D0aGpITF.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-24j5ySor.js";
|
|
5
|
+
import { u as wa } from "./usePrinter-83vS002b.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-3CKwL5Wo.js";
|
|
9
|
+
import Ta from "./Title-Bjd-1xjp.js";
|
|
10
|
+
import { S as Ia } from "./Slicer-CRtDozJ_.js";
|
|
11
|
+
import Ma from "./vue-ui-accordion-eylX-9G4.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-Dot7cGKX.js";
|
|
14
|
+
import Da from "./BaseIcon-BxgIVnCu.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-Mt5_INYw.js")), Sl = ee(() => import("./NonSvgPenAndPaper-BG5Mp8-S.js")), zl = ee(() => import("./vue-ui-skeleton-C3SJsXcS.js")), $l = ee(() => import("./Tooltip-DBkwWUMF.js")), Tl = ee(() => import("./UserOptions-DOc0dPiT.js")), Il = ee(() => import("./BaseDraggableDialog-4cNvzMfi.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-DoGlWyq_.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-C0wrF8hm.js";
|
|
3
|
-
import { t as Ce, u as et } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import tt from "./BaseIcon-D_BjQBAR.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
|
-
};
|