vue-data-ui 3.1.11 → 3.1.13
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-CFqqlnrM.js → Arrow-CVLA4XvK.js} +1 -1
- package/dist/{BaseDraggableDialog-DaoUhyXv.js → BaseDraggableDialog-R8VpARJu.js} +2 -2
- package/dist/{BaseIcon-BNwyRcFi.js → BaseIcon-CBGEVS_a.js} +1 -1
- package/dist/{ColorPicker-CCDghcL_.js → ColorPicker-YzV_LGZx.js} +2 -2
- package/dist/{DataTable-i6SuA55J.js → DataTable-DQRJv8EE.js} +2 -2
- package/dist/{Legend-SKqDy1gS.js → Legend-CC3LegoH.js} +2 -2
- package/dist/{NonSvgPenAndPaper-qyGnSyvC.js → NonSvgPenAndPaper-CmIOGkib.js} +3 -3
- package/dist/{PackageVersion-ybAEJLG7.js → PackageVersion-bFI66Iee.js} +1 -1
- package/dist/{PenAndPaper-DDBikbi2.js → PenAndPaper-CHT5QaP8.js} +3 -3
- package/dist/{Shape-BjFZpeHY.js → Shape-BWIW_Vmn.js} +1 -1
- package/dist/{Slicer-BHmT0yAl.js → Slicer-C7BMIgYA.js} +344 -344
- package/dist/{SparkTooltip-CDYMoiKx.js → SparkTooltip-BP53cKq5.js} +1 -1
- package/dist/{Title-Cuz9tE8Z.js → Title-BKsDkvCV.js} +1 -1
- package/dist/{Tooltip-CzMk3xqn.js → Tooltip-BA5KTZ2e.js} +1 -1
- package/dist/{UserOptions-1SNweLDC.js → UserOptions-usqWO4wC.js} +2 -2
- package/dist/{dom-to-png-B-oEiNKy.js → dom-to-png-BnO878iN.js} +1 -1
- package/dist/{img-O4yv-68E.js → img-CVbbqgGH.js} +1 -1
- package/dist/{index-CUHa1rnE.js → index-CdN9MkL7.js} +1 -1
- package/dist/{pdf-ubyH-SWK.js → pdf-D8ryJvtA.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useAutoSizeLabelsInsideViewbox-dxhIPVQp.js → useAutoSizeLabelsInsideViewbox-CXgpnPOp.js} +1 -1
- package/dist/{useNestedProp-BI65hZqY.js → useNestedProp-oNhYagej.js} +1 -1
- package/dist/{usePrinter-C34C5HuI.js → usePrinter-CLVErK_G.js} +2 -2
- package/dist/{vue-data-ui-B5GGY8uZ.js → vue-data-ui-ESVJfqTI.js} +64 -64
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-CXK2mPP1.js → vue-ui-3d-bar-BEColjG7.js} +6 -6
- package/dist/{vue-ui-accordion-DV3dB5Vt.js → vue-ui-accordion-BoGANFKn.js} +3 -3
- package/dist/{vue-ui-age-pyramid-BeLV24oy.js → vue-ui-age-pyramid-D4hV5Mm5.js} +6 -6
- package/dist/{vue-ui-annotator-DE8wmV9X.js → vue-ui-annotator-Bd14Ihi4.js} +2 -2
- package/dist/{vue-ui-bullet-B8MGNXu_.js → vue-ui-bullet-B3HG400j.js} +7 -7
- package/dist/{vue-ui-candlestick-Di-SVMyV.js → vue-ui-candlestick-B6l4oAdh.js} +7 -7
- package/dist/{vue-ui-carousel-table-DfgC0-Nx.js → vue-ui-carousel-table-vCbymZEo.js} +4 -4
- package/dist/{vue-ui-chestnut-lBARfeQM.js → vue-ui-chestnut-BQ6iufUt.js} +5 -5
- package/dist/{vue-ui-chord-D-bsMDsI.js → vue-ui-chord-DW8T8npL.js} +8 -8
- package/dist/{vue-ui-circle-pack-DGkT5xMh.js → vue-ui-circle-pack-DjWtxYMQ.js} +6 -6
- package/dist/{vue-ui-cursor-BVHNt_Ng.js → vue-ui-cursor-CtBfAk5K.js} +2 -2
- package/dist/{vue-ui-dashboard-DEBpYnDq.js → vue-ui-dashboard-CWuz7g2D.js} +67 -67
- package/dist/{vue-ui-digits-U4sxi5jK.js → vue-ui-digits-D1b_EIv1.js} +2 -2
- package/dist/{vue-ui-donut-BE3-IWza.js → vue-ui-donut-BwdvzYGF.js} +8 -8
- package/dist/{vue-ui-donut-evolution-D7MQyuaS.js → vue-ui-donut-evolution-DXbshH8-.js} +8 -8
- package/dist/{vue-ui-dumbbell-BrzGWK7r.js → vue-ui-dumbbell-Bt2y7QMw.js} +7 -7
- package/dist/{vue-ui-flow-BbD6gzpE.js → vue-ui-flow-CiG_qIh_.js} +7 -7
- package/dist/{vue-ui-funnel-Oytdvn2D.js → vue-ui-funnel-BGCE6fqp.js} +6 -6
- package/dist/{vue-ui-galaxy-CuMC-W8t.js → vue-ui-galaxy-BCEyVfRW.js} +7 -7
- package/dist/{vue-ui-gauge-BeV6uj4d.js → vue-ui-gauge-Cfq8G4nD.js} +7 -7
- package/dist/{vue-ui-gizmo-CVp0dL5m.js → vue-ui-gizmo-CBOoJgxB.js} +3 -3
- package/dist/{vue-ui-heatmap-CVfH03pI.js → vue-ui-heatmap-BefuX3hT.js} +7 -7
- package/dist/{vue-ui-history-plot-O4eXAAVL.js → vue-ui-history-plot-BqLyfnJn.js} +7 -7
- package/dist/{vue-ui-kpi-C-56W27h.js → vue-ui-kpi-6IbtwB7F.js} +3 -3
- package/dist/{vue-ui-mini-loader-C6EfeHr3.js → vue-ui-mini-loader-BwbFaE7B.js} +2 -2
- package/dist/{vue-ui-molecule-DkfKAmEy.js → vue-ui-molecule-BbhQfFdx.js} +5 -5
- package/dist/{vue-ui-mood-radar-qzf3YS1D.js → vue-ui-mood-radar-B-wVmA-t.js} +7 -7
- package/dist/{vue-ui-nested-donuts-qRBde3ef.js → vue-ui-nested-donuts-qKtWmJsI.js} +7 -7
- package/dist/{vue-ui-onion-CDIwmczc.js → vue-ui-onion-BpbpizLk.js} +8 -8
- package/dist/{vue-ui-parallel-coordinate-plot-2qYx_7aY.js → vue-ui-parallel-coordinate-plot-BFK9LT6V.js} +8 -8
- package/dist/{vue-ui-quadrant-u_Utp2Fq.js → vue-ui-quadrant-D6_0xe-_.js} +8 -8
- package/dist/{vue-ui-quick-chart-BzUo2RV6.js → vue-ui-quick-chart-Du7852v9.js} +6 -6
- package/dist/{vue-ui-radar-D-B8r-nf.js → vue-ui-radar-kEKg-NL7.js} +8 -8
- package/dist/{vue-ui-rating-CEUsbt4_.js → vue-ui-rating-7yatRVbx.js} +2 -2
- package/dist/{vue-ui-relation-circle-B6sJBAzs.js → vue-ui-relation-circle-_1W7NdYE.js} +7 -7
- package/dist/{vue-ui-ridgeline-BteCVeFC.js → vue-ui-ridgeline-BSAVhIDE.js} +8 -8
- package/dist/{vue-ui-rings-CFh97maF.js → vue-ui-rings-jK9EjGrJ.js} +8 -8
- package/dist/{vue-ui-scatter-C6VU6SQk.js → vue-ui-scatter-BPthb9-8.js} +8 -8
- package/dist/{vue-ui-skeleton-h-gregQy.js → vue-ui-skeleton-VW0h-sRm.js} +3 -3
- package/dist/{vue-ui-smiley-Coy_k4yC.js → vue-ui-smiley-DLOiHo-v.js} +2 -2
- package/dist/{vue-ui-spark-trend-njuc_Hat.js → vue-ui-spark-trend-BIYEAoE_.js} +3 -3
- package/dist/{vue-ui-sparkbar-DI3hhJ3x.js → vue-ui-sparkbar-BfTF_hnD.js} +3 -3
- package/dist/{vue-ui-sparkgauge-D6hQixh0.js → vue-ui-sparkgauge-chrEmdPw.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-Dv8CiZia.js → vue-ui-sparkhistogram-Dr0-iYVk.js} +4 -4
- package/dist/{vue-ui-sparkline-BIUzJPmY.js → vue-ui-sparkline-B-R7lTuD.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-Cdc5964Q.js → vue-ui-sparkstackbar-CGTlNpJY.js} +3 -3
- package/dist/{vue-ui-stackbar-DvBTM4pm.js → vue-ui-stackbar-Dl2ks6xV.js} +9 -9
- package/dist/{vue-ui-strip-plot-qxut93FA.js → vue-ui-strip-plot-DyCzm2FQ.js} +7 -7
- package/dist/{vue-ui-table-CHrmN7Oo.js → vue-ui-table-CMxWcytp.js} +4 -4
- package/dist/{vue-ui-table-heatmap-BG6ioJSC.js → vue-ui-table-heatmap-Cy56aBvN.js} +5 -5
- package/dist/{vue-ui-table-sparkline-CSkOCGgA.js → vue-ui-table-sparkline-BYoEkczS.js} +4 -4
- package/dist/{vue-ui-thermometer-ClKy8a8O.js → vue-ui-thermometer-B7wec2mE.js} +7 -7
- package/dist/{vue-ui-timer-BpTShWjZ.js → vue-ui-timer-CE61Pm8_.js} +5 -5
- package/dist/{vue-ui-tiremarks-CH48OzV3.js → vue-ui-tiremarks-BKfbwgE0.js} +6 -6
- package/dist/{vue-ui-treemap-DP9s7qNT.js → vue-ui-treemap-CDgTxZQG.js} +8 -8
- package/dist/{vue-ui-vertical-bar-CqjVuwTE.js → vue-ui-vertical-bar-BDU24Fw1.js} +9 -9
- package/dist/{vue-ui-waffle-Dm8IowIh.js → vue-ui-waffle-hdT1HxNy.js} +8 -8
- package/dist/{vue-ui-wheel-CC9Rn0jk.js → vue-ui-wheel-CB5VCBnY.js} +6 -6
- package/dist/{vue-ui-word-cloud-jP8Uz38i.js → vue-ui-word-cloud-BGmRwhgL.js} +6 -6
- package/dist/{vue-ui-world-CbIdf6nN.js → vue-ui-world-Dgo59nPi.js} +6 -6
- package/dist/{vue-ui-xy-BWRFJFy2.js → vue-ui-xy-C9oTa60U.js} +1239 -1239
- package/dist/{vue-ui-xy-canvas-DjOXF2lr.js → vue-ui-xy-canvas--NNe3yOn.js} +10 -10
- package/package.json +1 -1
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { useCssVars as
|
|
2
|
-
import { c as
|
|
3
|
-
import { t as
|
|
4
|
-
import
|
|
5
|
-
import { _ as
|
|
6
|
-
const
|
|
1
|
+
import { useCssVars as It, computed as s, ref as m, onMounted as je, onBeforeUnmount as Se, watch as O, nextTick as Ce, onUpdated as Wt, createElementBlock as i, openBlock as u, createElementVNode as C, createCommentVNode as v, renderSlot as Ht, normalizeStyle as L, createVNode as Xt, withDirectives as _e, unref as ve, Fragment as y, renderList as N, normalizeProps as Gt, mergeProps as Ot, normalizeClass as U, vModelText as et, toDisplayString as Pe } from "vue";
|
|
2
|
+
import { c as Ut, X as Zt, F as Ne, $ as tt, V as lt, a0 as at, U as nt } from "./index-CdN9MkL7.js";
|
|
3
|
+
import { t as it, d as Yt, u as Jt } from "./useResponsive-DfdjqQps.js";
|
|
4
|
+
import qt from "./BaseIcon-CBGEVS_a.js";
|
|
5
|
+
import { _ as Kt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
|
+
const Qt = {
|
|
7
7
|
class: "vue-data-ui-slicer-labels",
|
|
8
8
|
style: { position: "relative", "z-index": "1", "pointer-events": "none" }
|
|
9
|
-
},
|
|
9
|
+
}, jt = {
|
|
10
10
|
key: 0,
|
|
11
11
|
style: { width: "100%", position: "relative" }
|
|
12
|
-
},
|
|
12
|
+
}, _t = {
|
|
13
13
|
key: 0,
|
|
14
14
|
class: "minimap",
|
|
15
15
|
style: { width: "100%" }
|
|
16
|
-
},
|
|
16
|
+
}, el = ["xmlns", "viewBox"], tl = ["id"], ll = ["stop-color"], al = ["width", "height", "stroke"], nl = ["d", "stroke"], il = ["x", "width", "y", "height", "fill"], ul = ["d", "stroke"], ol = ["cx", "cy", "fill", "stroke"], rl = ["x", "width", "height", "fill", "rx"], sl = ["x", "width", "height", "rx", "fill"], cl = ["x", "width", "height", "fill", "rx"], vl = ["x2", "y1", "y2", "stroke"], ml = ["d", "fill"], dl = ["d", "stroke"], hl = { key: 6 }, fl = ["x", "width", "y", "height", "fill"], gl = ["d", "stroke"], yl = ["x", "height", "fill", "stroke"], xl = ["x", "height", "fill", "stroke"], bl = ["cx", "cy", "stroke", "fill"], Ml = ["cx", "cy", "fill"], kl = ["cx", "cy", "stroke", "fill"], pl = ["cx", "cy", "fill"], wl = { key: 10 }, Sl = ["cx", "cy", "fill", "stroke"], Cl = ["cx", "cy", "stroke", "fill"], Pl = ["cx", "cy", "fill"], Nl = ["cx", "cy", "stroke", "fill"], $l = ["cx", "cy", "fill"], Ll = ["height", "x", "width", "onMouseenter"], Rl = ["min", "max"], El = ["min", "max"], Tl = 48, Vl = {
|
|
17
17
|
__name: "Slicer",
|
|
18
18
|
props: {
|
|
19
19
|
background: {
|
|
@@ -144,172 +144,172 @@ const el = {
|
|
|
144
144
|
}
|
|
145
145
|
},
|
|
146
146
|
emits: ["update:start", "update:end", "reset", "trapMouse"],
|
|
147
|
-
setup(a, { expose:
|
|
148
|
-
|
|
149
|
-
"
|
|
150
|
-
|
|
151
|
-
"
|
|
152
|
-
"
|
|
153
|
-
"
|
|
147
|
+
setup(a, { expose: ut, emit: ot }) {
|
|
148
|
+
It((e) => ({
|
|
149
|
+
"0aad4c70": vt.value,
|
|
150
|
+
dac23b88: f.value,
|
|
151
|
+
"5c35d2ad": dt.value,
|
|
152
|
+
"72d4236c": a.selectColor,
|
|
153
|
+
"599e100c": mt.value
|
|
154
154
|
}));
|
|
155
|
-
const n = a, $ = m(null), k = m(n.min), p = m(n.max),
|
|
156
|
-
|
|
155
|
+
const n = a, $ = m(null), k = m(n.min), p = m(n.max), x = s(() => !!n.minimap.length), $e = m(Ut()), R = s(() => x.value && n.minimapCompact), me = m(0);
|
|
156
|
+
je(() => {
|
|
157
157
|
const e = () => {
|
|
158
|
-
$.value && (
|
|
158
|
+
$.value && (me.value = $.value.getBoundingClientRect().width);
|
|
159
159
|
};
|
|
160
160
|
e();
|
|
161
|
-
const l =
|
|
162
|
-
window.addEventListener("resize", l),
|
|
161
|
+
const l = it(e, 50);
|
|
162
|
+
window.addEventListener("resize", l), Se(() => {
|
|
163
163
|
window.removeEventListener("resize", l);
|
|
164
164
|
});
|
|
165
165
|
});
|
|
166
|
-
const
|
|
167
|
-
if (
|
|
168
|
-
const l = Math.max(1,
|
|
169
|
-
return
|
|
166
|
+
const rt = s(() => n.refreshEndPoint === null ? n.max : n.refreshEndPoint), Z = ot, Y = s(() => {
|
|
167
|
+
if (R.value) {
|
|
168
|
+
const l = Math.max(1, le.value - 1);
|
|
169
|
+
return ye.value / l * 100;
|
|
170
170
|
}
|
|
171
171
|
const e = Math.max(1, n.max - n.min);
|
|
172
172
|
return (k.value - n.min) / e * 100;
|
|
173
|
-
}),
|
|
174
|
-
if (
|
|
175
|
-
const l = Math.max(1,
|
|
176
|
-
return
|
|
173
|
+
}), ae = s(() => {
|
|
174
|
+
if (R.value) {
|
|
175
|
+
const l = Math.max(1, le.value - 1);
|
|
176
|
+
return xe.value / l * 100;
|
|
177
177
|
}
|
|
178
178
|
const e = Math.max(1, n.max - n.min);
|
|
179
179
|
return (p.value - n.min) / e * 100;
|
|
180
|
-
}), de = s(() => (
|
|
180
|
+
}), de = s(() => (Y.value + ae.value) / 2), he = s(() => {
|
|
181
181
|
if (!$.value) return !1;
|
|
182
182
|
const e = $.value.getBoundingClientRect().width;
|
|
183
|
-
return
|
|
184
|
-
}),
|
|
183
|
+
return Y.value / 100 * e - we.value / 2 < 0;
|
|
184
|
+
}), fe = s(() => {
|
|
185
185
|
if (!$.value) return !1;
|
|
186
186
|
const e = $.value.getBoundingClientRect().width;
|
|
187
|
-
return
|
|
187
|
+
return ae.value / 100 * e + re.value / 2 > e;
|
|
188
188
|
}), P = s(() => {
|
|
189
|
-
const e =
|
|
189
|
+
const e = fe.value ? `calc(${de.value}% - ${te.value.width}px - 2px)` : he.value ? `calc(${de.value}% - 8px)` : `calc(${de.value}% - ${te.value.width / 2}px - 4px)`;
|
|
190
190
|
return {
|
|
191
|
-
left: `${
|
|
192
|
-
width: `${Math.max(0,
|
|
191
|
+
left: `${Y.value}%`,
|
|
192
|
+
width: `${Math.max(0, ae.value - Y.value)}%`,
|
|
193
193
|
background: n.selectColor,
|
|
194
|
-
tooltipLeft: `calc(${
|
|
195
|
-
tooltipRight: `calc(${
|
|
194
|
+
tooltipLeft: `calc(${Y.value}% - ${he.value ? 9 : we.value / 2 + 3.5}px)`,
|
|
195
|
+
tooltipRight: `calc(${ae.value}% - ${fe.value ? re.value - 9 : re.value / 2 - 3.5}px)`,
|
|
196
196
|
tooltipCenter: e,
|
|
197
|
-
arrowLeft: !
|
|
198
|
-
arrowRight: !
|
|
197
|
+
arrowLeft: !he.value,
|
|
198
|
+
arrowRight: !fe.value
|
|
199
199
|
};
|
|
200
|
-
}),
|
|
201
|
-
function
|
|
202
|
-
return
|
|
200
|
+
}), J = s(() => Math.max(0, (q.value || 1) - 1)), ge = s(() => Math.max(0, (le.value || 1) - 1));
|
|
201
|
+
function ne(e) {
|
|
202
|
+
return ge.value === 0 ? 0 : Math.round(e / ge.value * J.value);
|
|
203
203
|
}
|
|
204
|
-
function
|
|
205
|
-
return
|
|
204
|
+
function Le(e) {
|
|
205
|
+
return J.value === 0 ? 0 : Math.round(e / J.value * ge.value);
|
|
206
206
|
}
|
|
207
|
-
const
|
|
207
|
+
const st = (e) => Math.floor(n.min + e), ct = (e) => Math.ceil(n.min + e), ye = s({
|
|
208
208
|
get() {
|
|
209
|
-
return
|
|
209
|
+
return R.value ? ne(z.value) : Number(k.value);
|
|
210
210
|
},
|
|
211
211
|
set(e) {
|
|
212
|
-
if (
|
|
213
|
-
const l = Math.round(+e || 0), t = Math.max(0,
|
|
214
|
-
|
|
212
|
+
if (R.value) {
|
|
213
|
+
const l = Math.round(+e || 0), t = Math.max(0, ne(Math.max(0, W.value - 1))), o = Math.min(Math.max(0, l), t), r = Le(o);
|
|
214
|
+
ie(st(r));
|
|
215
215
|
} else {
|
|
216
216
|
let l = Math.round(+e || 0);
|
|
217
217
|
const t = Number(p.value) - 1, o = Math.min(Math.max(n.min, l), t);
|
|
218
|
-
|
|
218
|
+
ie(o);
|
|
219
219
|
}
|
|
220
220
|
}
|
|
221
|
-
}),
|
|
221
|
+
}), xe = s({
|
|
222
222
|
get() {
|
|
223
|
-
return
|
|
223
|
+
return R.value ? ne(Math.max(z.value, W.value - 1)) : Number(p.value);
|
|
224
224
|
},
|
|
225
225
|
set(e) {
|
|
226
|
-
if (
|
|
227
|
-
const l = Math.round(+e || 0), t =
|
|
228
|
-
|
|
226
|
+
if (R.value) {
|
|
227
|
+
const l = Math.round(+e || 0), t = ne(z.value), o = Math.max(l, t), r = Le(o);
|
|
228
|
+
ue(ct(r + 1));
|
|
229
229
|
} else {
|
|
230
230
|
let l = Math.round(+e || 0);
|
|
231
231
|
const t = Number(k.value) + 1, o = Math.max(t, Math.min(l, n.max));
|
|
232
|
-
|
|
232
|
+
ue(o);
|
|
233
233
|
}
|
|
234
234
|
}
|
|
235
|
-
}),
|
|
235
|
+
}), vt = s(() => n.inputColor), mt = s(() => n.background), dt = s(() => `${n.selectColor}33`), f = s(() => n.borderColor), Re = s(() => {
|
|
236
236
|
const e = [];
|
|
237
237
|
for (let l = 0; l < n.max; l += 1)
|
|
238
238
|
e.push(l);
|
|
239
239
|
return e;
|
|
240
240
|
});
|
|
241
|
-
function
|
|
242
|
-
|
|
241
|
+
function Ee() {
|
|
242
|
+
Z("reset");
|
|
243
243
|
}
|
|
244
|
-
|
|
244
|
+
O(
|
|
245
245
|
() => n.min,
|
|
246
246
|
(e) => {
|
|
247
247
|
Number(k.value) < Number(e) && (k.value = Number(e)), Number(p.value) < Number(e) && (p.value = Number(e));
|
|
248
248
|
}
|
|
249
|
-
),
|
|
249
|
+
), O(
|
|
250
250
|
() => n.max,
|
|
251
251
|
(e) => {
|
|
252
252
|
Number(k.value) > Number(e) && (k.value = Number(e)), Number(p.value) > Number(e) && (p.value = Number(e));
|
|
253
253
|
}
|
|
254
254
|
);
|
|
255
|
-
const
|
|
255
|
+
const be = m(null), h = m({
|
|
256
256
|
width: 1,
|
|
257
257
|
height: 1
|
|
258
258
|
}), X = m(null);
|
|
259
|
-
|
|
260
|
-
if (
|
|
261
|
-
const e =
|
|
262
|
-
const { width: l, height: t } =
|
|
263
|
-
chart:
|
|
259
|
+
je(() => {
|
|
260
|
+
if (x.value) {
|
|
261
|
+
const e = it(() => {
|
|
262
|
+
const { width: l, height: t } = Jt({
|
|
263
|
+
chart: be.value
|
|
264
264
|
});
|
|
265
265
|
h.value.width = l, h.value.height = t - 47;
|
|
266
266
|
});
|
|
267
|
-
X.value = new ResizeObserver(e), X.value.observe(
|
|
267
|
+
X.value = new ResizeObserver(e), X.value.observe(be.value);
|
|
268
268
|
}
|
|
269
|
-
}),
|
|
269
|
+
}), Se(() => {
|
|
270
270
|
X.value && X.value.disconnect();
|
|
271
271
|
});
|
|
272
|
-
const
|
|
273
|
-
if (!
|
|
274
|
-
const e = Math.max(1,
|
|
272
|
+
const q = s(() => Math.max(...n.allMinimaps.map((e) => e.series.length), n.minimap.length || 0)), b = s(() => {
|
|
273
|
+
if (!q.value) return 0;
|
|
274
|
+
const e = Math.max(1, q.value - (n.minimapCompact ? 1 : 0));
|
|
275
275
|
return h.value.width / e;
|
|
276
|
-
}),
|
|
276
|
+
}), Te = s(() => {
|
|
277
277
|
const e = [];
|
|
278
|
-
if (Array.isArray(n.minimap) && n.minimap.length && e.push(...n.minimap.filter(Number.isFinite)), Array.isArray(n.allMinimaps) && n.allMinimaps.length)
|
|
278
|
+
if (Array.isArray(n.minimap) && n.minimap.length && n.minimapMerged && e.push(...n.minimap.filter(Number.isFinite)), Array.isArray(n.allMinimaps) && n.allMinimaps.length)
|
|
279
279
|
for (const l of n.allMinimaps)
|
|
280
280
|
l?.isVisible && Array.isArray(l?.series) && e.push(...l.series.filter(Number.isFinite));
|
|
281
281
|
return e.length ? { min: Math.min(...e), max: Math.max(...e) } : { min: 0, max: 1 };
|
|
282
|
-
}),
|
|
282
|
+
}), D = s(() => Te.value.min), G = s(() => Te.value.max), ht = s(() => D.value < 0 && G.value > 0 || G.value <= 0 ? D.value : 0), ft = s(() => Math.max(1e-9, Math.max(Math.abs(D.value), Math.abs(G.value)))), gt = s(() => D.value < 0 && G.value > 0), yt = (e) => {
|
|
283
283
|
const l = Math.max(1, h.value.height);
|
|
284
|
-
if (
|
|
285
|
-
const t =
|
|
284
|
+
if (gt.value) {
|
|
285
|
+
const t = ft.value;
|
|
286
286
|
return (1 - (Math.max(-1, Math.min(1, e / t)) + 1) / 2) * l;
|
|
287
287
|
} else {
|
|
288
|
-
const t = Math.min(0,
|
|
288
|
+
const t = Math.min(0, D.value), o = Math.max(0, G.value);
|
|
289
289
|
return l - (e - t) / Math.max(1e-9, o - t) * l;
|
|
290
290
|
}
|
|
291
|
-
},
|
|
292
|
-
function
|
|
293
|
-
const o =
|
|
294
|
-
return t === 0 ? e + o / 2 * l : t ===
|
|
291
|
+
}, Ve = s(() => yt(0)), Ae = s(() => n.allMinimaps.length ? n.allMinimaps.filter((e) => e.type === "bar").length : 0), Me = s(() => b.value / (Ae.value || 1) * 0.8);
|
|
292
|
+
function Fe(e, l, t) {
|
|
293
|
+
const o = Me.value, r = Math.max(1, Ae.value), g = q.value - 1;
|
|
294
|
+
return t === 0 ? e + o / 2 * l : t === g ? e - o / 2 * (r - l) : e - r * o / 2 + l * o;
|
|
295
295
|
}
|
|
296
|
-
function
|
|
297
|
-
return [0,
|
|
296
|
+
function Be(e, l) {
|
|
297
|
+
return [0, q.value - 1].includes(l) ? Me.value / 2 : Me.value;
|
|
298
298
|
}
|
|
299
|
-
function
|
|
300
|
-
const o = (S,
|
|
299
|
+
function xt(e, l, t) {
|
|
300
|
+
const o = (S, d, se) => Math.max(d, Math.min(se, S));
|
|
301
301
|
if (l <= 0) {
|
|
302
302
|
const S = Math.max(1e-9, 0 - e);
|
|
303
|
-
return (
|
|
303
|
+
return (d) => t - (d - e) / S * t;
|
|
304
304
|
}
|
|
305
305
|
if (e >= 0) {
|
|
306
306
|
const S = Math.max(1e-9, l - 0);
|
|
307
|
-
return (
|
|
307
|
+
return (d) => t - (d - 0) / S * t;
|
|
308
308
|
}
|
|
309
|
-
const
|
|
310
|
-
return (S) => (1 - (o(S /
|
|
309
|
+
const g = Math.max(1e-9, Math.max(Math.abs(e), Math.abs(l)));
|
|
310
|
+
return (S) => (1 - (o(S / g, -1, 1) + 1) / 2) * t;
|
|
311
311
|
}
|
|
312
|
-
function
|
|
312
|
+
function ze(e, l = !1) {
|
|
313
313
|
if (!e || !e.length)
|
|
314
314
|
return {
|
|
315
315
|
fullSet: "",
|
|
@@ -323,31 +323,31 @@ const el = {
|
|
|
323
323
|
fullMarkers: [],
|
|
324
324
|
selectionMarkers: []
|
|
325
325
|
};
|
|
326
|
-
const t = Math.max(1, h.value.height), o =
|
|
327
|
-
const
|
|
326
|
+
const t = Math.max(1, h.value.height), o = xt(D.value, G.value, t), r = e.length, g = Math.min(Math.max(0, z.value), Math.max(0, r - 1)), S = Math.min(r, Math.max(g + 1, W.value)), d = e.map((M, Ke) => {
|
|
327
|
+
const ce = n.cutNullValues ? M : M === null ? 0 : M, Qe = Number.isFinite(ce), zt = b.value * Ke + (n.minimapCompact ? 0 : b.value / 2), Dt = o(0);
|
|
328
328
|
return {
|
|
329
|
-
x:
|
|
330
|
-
y:
|
|
331
|
-
v:
|
|
332
|
-
value:
|
|
333
|
-
y0:
|
|
334
|
-
i:
|
|
329
|
+
x: zt,
|
|
330
|
+
y: Qe ? o(ce) : NaN,
|
|
331
|
+
v: ce,
|
|
332
|
+
value: Qe ? ce : null,
|
|
333
|
+
y0: Dt,
|
|
334
|
+
i: Ke
|
|
335
335
|
};
|
|
336
|
-
}),
|
|
336
|
+
}), se = (M) => M >= 0 && M < d.length && Number.isFinite(d[M]?.value), qe = d.filter((M) => Number.isFinite(M.value) && !se(M.i - 1) && !se(M.i + 1)), At = qe.filter((M) => M.i >= g && M.i < S), H = d.slice(g, S), Ft = d.length >= 2 ? n.smoothMinimap || l ? n.cutNullValues ? tt(d) : lt(d) : n.cutNullValues ? at(d) : nt(d) : "", Bt = H.length >= 2 ? n.smoothMinimap || l ? n.cutNullValues ? tt(H) : lt(H) : n.cutNullValues ? at(H) : nt(H) : "";
|
|
337
337
|
return {
|
|
338
|
-
fullSet:
|
|
339
|
-
points:
|
|
340
|
-
selectionSet:
|
|
338
|
+
fullSet: Ft,
|
|
339
|
+
points: d,
|
|
340
|
+
selectionSet: Bt,
|
|
341
341
|
sliced: H,
|
|
342
|
-
firstPlot:
|
|
343
|
-
lastPlot:
|
|
344
|
-
hasFull:
|
|
342
|
+
firstPlot: d[g] || null,
|
|
343
|
+
lastPlot: d[Math.max(0, S - 1)] || null,
|
|
344
|
+
hasFull: d.length >= 2,
|
|
345
345
|
hasSelection: H.length >= 2,
|
|
346
|
-
fullMarkers:
|
|
347
|
-
selectionMarkers:
|
|
346
|
+
fullMarkers: qe,
|
|
347
|
+
selectionMarkers: At
|
|
348
348
|
};
|
|
349
349
|
}
|
|
350
|
-
const c = s(() => n.minimap.length ?
|
|
350
|
+
const c = s(() => n.minimap.length ? ze(n.minimap) : {
|
|
351
351
|
fullSet: "",
|
|
352
352
|
selectionSet: "",
|
|
353
353
|
sliced: [],
|
|
@@ -355,8 +355,8 @@ const el = {
|
|
|
355
355
|
lastPlot: null,
|
|
356
356
|
hasFull: !1,
|
|
357
357
|
hasSelection: !1
|
|
358
|
-
}),
|
|
359
|
-
const t =
|
|
358
|
+
}), K = s(() => n.allMinimaps.length ? n.allMinimaps.map((e, l) => {
|
|
359
|
+
const t = ze(e?.series || [], !!e.smooth), o = e?.id ?? e?.name ?? l;
|
|
360
360
|
return {
|
|
361
361
|
key: typeof o == "object" ? JSON.stringify(o) : String(o),
|
|
362
362
|
color: e?.color,
|
|
@@ -365,140 +365,140 @@ const el = {
|
|
|
365
365
|
type: e.type || "line"
|
|
366
366
|
};
|
|
367
367
|
}) : []), w = s(() => {
|
|
368
|
-
const e =
|
|
368
|
+
const e = z.value, l = Math.max(e + 1, W.value);
|
|
369
369
|
return {
|
|
370
|
-
x:
|
|
371
|
-
width:
|
|
370
|
+
x: b.value * e + (n.minimapCompact ? 0 : b.value / 2),
|
|
371
|
+
width: b.value * (l - e) - b.value
|
|
372
372
|
};
|
|
373
|
-
}),
|
|
374
|
-
function
|
|
375
|
-
|
|
373
|
+
}), E = m(n.minimapSelectedIndex);
|
|
374
|
+
function bt(e) {
|
|
375
|
+
E.value = Je(n.valueStart) + e;
|
|
376
376
|
}
|
|
377
|
-
const
|
|
378
|
-
|
|
377
|
+
const Mt = Yt(bt, 60);
|
|
378
|
+
O(() => n.minimapSelectedIndex, (e, l) => {
|
|
379
379
|
if ([null, void 0].includes(e)) {
|
|
380
|
-
|
|
380
|
+
E.value = null;
|
|
381
381
|
return;
|
|
382
382
|
}
|
|
383
|
-
e !== l &&
|
|
383
|
+
e !== l && Mt(e);
|
|
384
384
|
}, { immediate: !0 });
|
|
385
|
-
function
|
|
386
|
-
|
|
387
|
-
const l =
|
|
388
|
-
e >= l && e < t && !
|
|
385
|
+
function kt(e) {
|
|
386
|
+
E.value = e;
|
|
387
|
+
const l = z.value, t = W.value;
|
|
388
|
+
e >= l && e < t && !B.value && Z("trapMouse", e - l);
|
|
389
389
|
}
|
|
390
|
-
const
|
|
391
|
-
function
|
|
392
|
-
k.value = e,
|
|
390
|
+
const ke = m(null), pe = m(null);
|
|
391
|
+
function ie(e) {
|
|
392
|
+
k.value = e, ke.value && (ke.value.value = e), Z("update:start", Number(k.value));
|
|
393
393
|
}
|
|
394
|
-
function
|
|
395
|
-
p.value = e,
|
|
394
|
+
function ue(e) {
|
|
395
|
+
p.value = e, pe.value && (pe.value.value = e), Z("update:end", Number(p.value));
|
|
396
396
|
}
|
|
397
|
-
const
|
|
398
|
-
let
|
|
399
|
-
const
|
|
400
|
-
let
|
|
401
|
-
const
|
|
397
|
+
const oe = s(() => n.valueEnd - n.valueStart), Q = m(!1);
|
|
398
|
+
let pt = m(null);
|
|
399
|
+
const wt = s(() => (me.value - 48) / (n.max - n.min) * oe.value), St = s(() => Math.max(1, me.value - Tl - wt.value)), Ct = s(() => Math.max(1, n.max - n.min - oe.value)), Pt = s(() => Ct.value / St.value), De = m(0), Ie = m(0), Nt = m(0), We = m(0);
|
|
400
|
+
let T = null, V = null, A = null, F = null;
|
|
401
|
+
const He = (e) => {
|
|
402
402
|
if (I.value = !0, !n.enableSelectionDrag) return;
|
|
403
403
|
const l = e.type === "touchstart";
|
|
404
404
|
l || e.stopPropagation();
|
|
405
405
|
const t = l && e.targetTouches && e.targetTouches[0] ? e.targetTouches[0] : null, o = l ? t ? t.target : null : e.target;
|
|
406
406
|
if (!o || !(o instanceof Element) || o.classList && o.classList.contains("range-handle")) return;
|
|
407
|
-
|
|
407
|
+
Q.value = !0;
|
|
408
408
|
const r = l ? t ? t.clientX : 0 : e.clientX;
|
|
409
|
-
|
|
409
|
+
pt.value = r, De.value = r, Ie.value = Number(k.value), Nt.value = Number(p.value), We.value = Pt.value, T = l ? "touchmove" : "mousemove", V = l ? "touchend" : "mouseup", A = l ? Lt : $t, F = l ? Et : Rt, window.addEventListener(T, A, { passive: !1 }), window.addEventListener(V, F);
|
|
410
410
|
};
|
|
411
|
-
function
|
|
412
|
-
|
|
411
|
+
function $t(e) {
|
|
412
|
+
Q.value && Xe(e.clientX);
|
|
413
413
|
}
|
|
414
|
-
function
|
|
415
|
-
if (!
|
|
414
|
+
function Lt(e) {
|
|
415
|
+
if (!Q.value || !$.value) return;
|
|
416
416
|
const l = e.target;
|
|
417
417
|
if (!(l instanceof Element) || !$.value.contains(l) || l.classList && l.classList.contains("range-handle")) return;
|
|
418
418
|
e.preventDefault();
|
|
419
419
|
const t = e.targetTouches && e.targetTouches[0] ? e.targetTouches[0] : null;
|
|
420
|
-
t &&
|
|
420
|
+
t && Xe(t.clientX);
|
|
421
421
|
}
|
|
422
|
-
function
|
|
423
|
-
if (!
|
|
424
|
-
const t = (e -
|
|
425
|
-
let o = Math.round(
|
|
426
|
-
o = Math.max(n.min, Math.min(o, n.max -
|
|
427
|
-
const r = o +
|
|
428
|
-
|
|
422
|
+
function Xe(e) {
|
|
423
|
+
if (!Q.value) return;
|
|
424
|
+
const t = (e - De.value) * We.value;
|
|
425
|
+
let o = Math.round(Ie.value + t);
|
|
426
|
+
o = Math.max(n.min, Math.min(o, n.max - oe.value));
|
|
427
|
+
const r = o + oe.value;
|
|
428
|
+
ie(o), ue(r);
|
|
429
429
|
}
|
|
430
|
-
function
|
|
431
|
-
|
|
430
|
+
function Rt() {
|
|
431
|
+
Ge();
|
|
432
432
|
}
|
|
433
|
-
function
|
|
434
|
-
|
|
433
|
+
function Et() {
|
|
434
|
+
Ge();
|
|
435
435
|
}
|
|
436
|
-
function
|
|
437
|
-
|
|
436
|
+
function Ge() {
|
|
437
|
+
Q.value = !1, T && A && window.removeEventListener(T, A), V && F && window.removeEventListener(V, F), T = V = null, A = F = null;
|
|
438
438
|
}
|
|
439
|
-
const
|
|
440
|
-
function
|
|
441
|
-
|
|
439
|
+
const B = m(!1), j = m(null), _ = m(null), we = m(1), re = m(1), I = m(!1);
|
|
440
|
+
function Oe() {
|
|
441
|
+
j.value && (we.value = j.value.getBoundingClientRect().width);
|
|
442
442
|
}
|
|
443
|
-
function
|
|
444
|
-
|
|
443
|
+
function Ue() {
|
|
444
|
+
_.value && (re.value = _.value.getBoundingClientRect().width);
|
|
445
445
|
}
|
|
446
|
-
const
|
|
447
|
-
function
|
|
448
|
-
|
|
446
|
+
const Ze = m(0);
|
|
447
|
+
function Ye(e) {
|
|
448
|
+
Ze.value = e === "start" ? 1 : 0;
|
|
449
449
|
}
|
|
450
|
-
const
|
|
450
|
+
const ee = m(!1), te = m({
|
|
451
451
|
width: 0,
|
|
452
452
|
left: 0
|
|
453
453
|
});
|
|
454
|
-
|
|
455
|
-
if (await
|
|
456
|
-
|
|
454
|
+
O([k, p], async () => {
|
|
455
|
+
if (await Ce(), !j.value || !_.value) {
|
|
456
|
+
ee.value = !1, te.value = { width: 0, left: 0 };
|
|
457
457
|
return;
|
|
458
458
|
}
|
|
459
|
-
const e =
|
|
460
|
-
|
|
461
|
-
const t = e.x + e.width / 2, o = l.x + l.width / 2, r = e.width + l.width,
|
|
462
|
-
|
|
459
|
+
const e = j.value.getBoundingClientRect(), l = _.value.getBoundingClientRect();
|
|
460
|
+
ee.value = e.x + e.width > l.x;
|
|
461
|
+
const t = e.x + e.width / 2, o = l.x + l.width / 2, r = e.width + l.width, g = (t + o) / 2;
|
|
462
|
+
te.value = {
|
|
463
463
|
width: r,
|
|
464
|
-
left:
|
|
464
|
+
left: g - r / 2
|
|
465
465
|
};
|
|
466
|
-
}),
|
|
467
|
-
|
|
468
|
-
}),
|
|
466
|
+
}), Wt(() => {
|
|
467
|
+
Oe(), Ue();
|
|
468
|
+
}), O(
|
|
469
469
|
() => n.labelLeft,
|
|
470
470
|
() => {
|
|
471
|
-
|
|
471
|
+
Ce(Oe);
|
|
472
472
|
},
|
|
473
473
|
{ deep: !0 }
|
|
474
|
-
),
|
|
474
|
+
), O(
|
|
475
475
|
() => n.labelRight,
|
|
476
476
|
() => {
|
|
477
|
-
|
|
477
|
+
Ce(Ue);
|
|
478
478
|
},
|
|
479
479
|
{ deep: !0 }
|
|
480
|
-
),
|
|
481
|
-
setStartValue:
|
|
482
|
-
setEndValue:
|
|
483
|
-
}),
|
|
484
|
-
X.value && X.value.disconnect(),
|
|
480
|
+
), ut({
|
|
481
|
+
setStartValue: ie,
|
|
482
|
+
setEndValue: ue
|
|
483
|
+
}), Se(() => {
|
|
484
|
+
X.value && X.value.disconnect(), T && A && window.removeEventListener(T, A), V && F && window.removeEventListener(V, F), T = V = null, A = F = null;
|
|
485
485
|
});
|
|
486
|
-
const
|
|
487
|
-
function
|
|
486
|
+
const le = s(() => Math.max(1, n.max - n.min));
|
|
487
|
+
function Je(e) {
|
|
488
488
|
const l = Math.floor(e - n.min);
|
|
489
|
-
return Math.min(Math.max(0, l),
|
|
489
|
+
return Math.min(Math.max(0, l), le.value);
|
|
490
490
|
}
|
|
491
|
-
function
|
|
491
|
+
function Tt(e) {
|
|
492
492
|
const l = Math.ceil(e - n.min);
|
|
493
|
-
return Math.min(Math.max(0, l),
|
|
493
|
+
return Math.min(Math.max(0, l), le.value);
|
|
494
494
|
}
|
|
495
|
-
const
|
|
496
|
-
if (!
|
|
497
|
-
if (
|
|
498
|
-
const e =
|
|
495
|
+
const z = s(() => Je(k.value)), W = s(() => Tt(p.value)), Vt = s(() => {
|
|
496
|
+
if (!Re.value.length) return null;
|
|
497
|
+
if (E.value >= z.value && E.value < W.value) {
|
|
498
|
+
const e = E.value;
|
|
499
499
|
return {
|
|
500
|
-
x1:
|
|
501
|
-
x2:
|
|
500
|
+
x1: b.value * e + (n.minimapCompact ? 0 : b.value / 2),
|
|
501
|
+
x2: b.value * e + (n.minimapCompact ? 0 : b.value / 2),
|
|
502
502
|
y1: 0,
|
|
503
503
|
y2: Math.max(h.value.height, 0),
|
|
504
504
|
stroke: n.minimapIndicatorColor,
|
|
@@ -515,27 +515,27 @@ const el = {
|
|
|
515
515
|
class: "vue-data-ui-zoom",
|
|
516
516
|
ref_key: "zoomWrapper",
|
|
517
517
|
ref: $,
|
|
518
|
-
onMousedown:
|
|
519
|
-
onTouchstart:
|
|
518
|
+
onMousedown: He,
|
|
519
|
+
onTouchstart: He,
|
|
520
520
|
onTouchend: l[11] || (l[11] = (t) => I.value = !1)
|
|
521
521
|
}, [
|
|
522
|
-
C("div",
|
|
523
|
-
a.valueStart !== a.refreshStartPoint || a.valueEnd !==
|
|
524
|
-
a.useResetSlot ?
|
|
522
|
+
C("div", Qt, [
|
|
523
|
+
a.valueStart !== a.refreshStartPoint || a.valueEnd !== rt.value ? (u(), i("div", jt, [
|
|
524
|
+
a.useResetSlot ? Ht(e.$slots, "reset-action", {
|
|
525
525
|
key: 1,
|
|
526
|
-
reset:
|
|
526
|
+
reset: Ee
|
|
527
527
|
}, void 0, !0) : (u(), i("button", {
|
|
528
528
|
key: 0,
|
|
529
529
|
tabindex: "0",
|
|
530
530
|
role: "button",
|
|
531
531
|
class: "vue-data-ui-refresh-button",
|
|
532
|
-
style:
|
|
533
|
-
top:
|
|
532
|
+
style: L({
|
|
533
|
+
top: x.value ? "36px" : "-16px",
|
|
534
534
|
pointerEvents: "all !important"
|
|
535
535
|
}),
|
|
536
|
-
onClick:
|
|
536
|
+
onClick: Ee
|
|
537
537
|
}, [
|
|
538
|
-
|
|
538
|
+
Xt(qt, {
|
|
539
539
|
name: "refresh",
|
|
540
540
|
stroke: a.textColor
|
|
541
541
|
}, null, 8, ["stroke"])
|
|
@@ -545,20 +545,20 @@ const el = {
|
|
|
545
545
|
C("div", {
|
|
546
546
|
class: "double-range-slider",
|
|
547
547
|
ref_key: "minimapWrapper",
|
|
548
|
-
ref:
|
|
548
|
+
ref: be,
|
|
549
549
|
style: { "z-index": "0" },
|
|
550
550
|
onMouseenter: l[9] || (l[9] = (t) => I.value = !0),
|
|
551
551
|
onMouseleave: l[10] || (l[10] = (t) => I.value = !1)
|
|
552
552
|
}, [
|
|
553
|
-
|
|
553
|
+
x.value ? (u(), i("div", _t, [
|
|
554
554
|
(u(), i("svg", {
|
|
555
555
|
key: `mm-${a.minimapMerged ? "merged" : "split"}-${a.minimapCompact ? "compact" : "normal"}`,
|
|
556
|
-
xmlns:
|
|
556
|
+
xmlns: ve(Zt),
|
|
557
557
|
viewBox: `0 0 ${Math.max(0, h.value.width)} ${Math.max(0, h.value.height)}`
|
|
558
558
|
}, [
|
|
559
559
|
C("defs", null, [
|
|
560
560
|
C("linearGradient", {
|
|
561
|
-
id:
|
|
561
|
+
id: $e.value,
|
|
562
562
|
x1: "0%",
|
|
563
563
|
y1: "0%",
|
|
564
564
|
x2: "0%",
|
|
@@ -567,12 +567,12 @@ const el = {
|
|
|
567
567
|
C("stop", {
|
|
568
568
|
offset: "0%",
|
|
569
569
|
"stop-color": `${a.minimapLineColor}50`
|
|
570
|
-
}, null, 8,
|
|
570
|
+
}, null, 8, ll),
|
|
571
571
|
l[12] || (l[12] = C("stop", {
|
|
572
572
|
offset: "100%",
|
|
573
573
|
"stop-color": "transparent"
|
|
574
574
|
}, null, -1))
|
|
575
|
-
], 8,
|
|
575
|
+
], 8, tl)
|
|
576
576
|
]),
|
|
577
577
|
a.minimapCompact ? (u(), i("rect", {
|
|
578
578
|
key: 0,
|
|
@@ -584,7 +584,7 @@ const el = {
|
|
|
584
584
|
fill: "none",
|
|
585
585
|
stroke: a.minimapFrameColor,
|
|
586
586
|
rx: 3
|
|
587
|
-
}, null, 8,
|
|
587
|
+
}, null, 8, al)) : v("", !0),
|
|
588
588
|
a.minimapMerged ? (u(), i("path", {
|
|
589
589
|
key: 1,
|
|
590
590
|
d: `M${c.value.fullSet}`,
|
|
@@ -594,21 +594,21 @@ const el = {
|
|
|
594
594
|
"stroke-linecap": "round",
|
|
595
595
|
"stroke-linejoin": "round",
|
|
596
596
|
style: { opacity: "0.6" }
|
|
597
|
-
}, null, 8,
|
|
598
|
-
(u(!0), i(
|
|
599
|
-
(u(!0), i(
|
|
597
|
+
}, null, 8, nl)) : (u(), i(y, { key: 2 }, [
|
|
598
|
+
(u(!0), i(y, null, N(K.value.filter((t) => t.type === "bar"), (t, o) => (u(), i("g", null, [
|
|
599
|
+
(u(!0), i(y, null, N(t.points, (r, g) => (u(), i(y, null, [
|
|
600
600
|
t.isVisible && !isNaN(r.y) ? (u(), i("rect", {
|
|
601
601
|
key: 0,
|
|
602
|
-
x:
|
|
603
|
-
width:
|
|
602
|
+
x: Fe(r.x, o, g),
|
|
603
|
+
width: Be(o, g),
|
|
604
604
|
y: r.v >= 0 ? r.y : r.y0,
|
|
605
605
|
height: r.v >= 0 ? r.y0 - r.y : r.y - r.y0,
|
|
606
606
|
fill: t.color,
|
|
607
607
|
style: { opacity: "0.6" }
|
|
608
|
-
}, null, 8,
|
|
608
|
+
}, null, 8, il)) : v("", !0)
|
|
609
609
|
], 64))), 256))
|
|
610
610
|
]))), 256)),
|
|
611
|
-
(u(!0), i(
|
|
611
|
+
(u(!0), i(y, null, N(K.value.filter((t) => t.type === "line"), (t) => (u(), i("g", {
|
|
612
612
|
key: String(t.key)
|
|
613
613
|
}, [
|
|
614
614
|
t.isVisible ? (u(), i("path", {
|
|
@@ -617,17 +617,17 @@ const el = {
|
|
|
617
617
|
fill: "none",
|
|
618
618
|
stroke: t.color,
|
|
619
619
|
style: { opacity: "0.6" }
|
|
620
|
-
}, null, 8,
|
|
621
|
-
t.isVisible ? (u(!0), i(
|
|
620
|
+
}, null, 8, ul)) : v("", !0),
|
|
621
|
+
t.isVisible ? (u(!0), i(y, { key: 1 }, N(t.fullMarkers, (o) => (u(), i("circle", {
|
|
622
622
|
key: `sel-dot-under-${t.key}-${o.i}`,
|
|
623
623
|
cx: o.x,
|
|
624
624
|
cy: o.y,
|
|
625
625
|
r: "2",
|
|
626
626
|
fill: t.color,
|
|
627
|
-
stroke:
|
|
627
|
+
stroke: f.value,
|
|
628
628
|
"stroke-width": "0.5",
|
|
629
629
|
style: { opacity: "0.6" }
|
|
630
|
-
}, null, 8,
|
|
630
|
+
}, null, 8, ol))), 128)) : v("", !0)
|
|
631
631
|
]))), 128))
|
|
632
632
|
], 64)),
|
|
633
633
|
C("rect", {
|
|
@@ -635,18 +635,18 @@ const el = {
|
|
|
635
635
|
width: w.value.width < 0 ? 0 : w.value.width,
|
|
636
636
|
height: Math.max(h.value.height, 0),
|
|
637
637
|
y: 0,
|
|
638
|
-
fill:
|
|
638
|
+
fill: f.value,
|
|
639
639
|
rx: a.minimapSelectionRadius,
|
|
640
640
|
stroke: "none"
|
|
641
|
-
}, null, 8,
|
|
641
|
+
}, null, 8, rl),
|
|
642
642
|
C("rect", {
|
|
643
643
|
x: w.value.x,
|
|
644
644
|
width: w.value.width < 0 ? 0 : w.value.width,
|
|
645
645
|
height: Math.max(h.value.height, 0),
|
|
646
646
|
y: 0,
|
|
647
647
|
rx: a.minimapSelectionRadius,
|
|
648
|
-
fill:
|
|
649
|
-
}, null, 8,
|
|
648
|
+
fill: f.value
|
|
649
|
+
}, null, 8, sl),
|
|
650
650
|
C("rect", {
|
|
651
651
|
x: w.value.x,
|
|
652
652
|
width: w.value.width < 0 ? 0 : w.value.width,
|
|
@@ -654,30 +654,30 @@ const el = {
|
|
|
654
654
|
y: 0,
|
|
655
655
|
fill: a.minimapSelectedColor,
|
|
656
656
|
rx: a.minimapSelectionRadius,
|
|
657
|
-
style:
|
|
657
|
+
style: L({
|
|
658
658
|
opacity: a.minimapSelectedColorOpacity
|
|
659
659
|
})
|
|
660
|
-
}, null, 12,
|
|
661
|
-
|
|
662
|
-
!a.minimapMerged &&
|
|
660
|
+
}, null, 12, cl),
|
|
661
|
+
E.value !== null && !B.value ? (u(), i("line", Gt(Ot({ key: 3 }, Vt.value)), null, 16)) : v("", !0),
|
|
662
|
+
!a.minimapMerged && ht.value < 0 ? (u(), i("line", {
|
|
663
663
|
key: 4,
|
|
664
664
|
class: "slicer-minimap-zero-line",
|
|
665
665
|
x1: 0,
|
|
666
666
|
x2: h.value.width,
|
|
667
|
-
y1:
|
|
668
|
-
y2:
|
|
667
|
+
y1: Ve.value,
|
|
668
|
+
y2: Ve.value,
|
|
669
669
|
stroke: a.minimapFrameColor,
|
|
670
670
|
"stroke-width": "0.5"
|
|
671
|
-
}, null, 8,
|
|
672
|
-
a.minimapMerged ? (u(), i(
|
|
673
|
-
c.value && c.value.sliced && c.value.sliced.length ? (u(), i(
|
|
671
|
+
}, null, 8, vl)) : v("", !0),
|
|
672
|
+
a.minimapMerged ? (u(), i(y, { key: 5 }, [
|
|
673
|
+
c.value && c.value.sliced && c.value.sliced.length ? (u(), i(y, { key: 0 }, [
|
|
674
674
|
c.value.selectionSet ? (u(), i("path", {
|
|
675
675
|
key: 0,
|
|
676
676
|
d: `M${c.value.sliced[0].x},${Math.max(h.value.height, 0)} ${c.value.selectionSet} L${c.value.sliced[c.value.sliced.length - 1].x},${Math.max(h.value.height, 0)}Z`,
|
|
677
|
-
fill: `url(#${
|
|
677
|
+
fill: `url(#${$e.value})`,
|
|
678
678
|
stroke: "none",
|
|
679
679
|
style: { opacity: "1" }
|
|
680
|
-
}, null, 8,
|
|
680
|
+
}, null, 8, ml)) : v("", !0),
|
|
681
681
|
c.value.selectionSet ? (u(), i("path", {
|
|
682
682
|
key: 1,
|
|
683
683
|
d: `M ${c.value.selectionSet}`,
|
|
@@ -686,25 +686,25 @@ const el = {
|
|
|
686
686
|
"stroke-width": "2",
|
|
687
687
|
"stroke-linecap": "round",
|
|
688
688
|
"stroke-linejoin": "round"
|
|
689
|
-
}, null, 8,
|
|
689
|
+
}, null, 8, dl)) : v("", !0)
|
|
690
690
|
], 64)) : v("", !0)
|
|
691
|
-
], 64)) : (u(), i("g",
|
|
692
|
-
(u(!0), i(
|
|
693
|
-
(u(!0), i(
|
|
691
|
+
], 64)) : (u(), i("g", hl, [
|
|
692
|
+
(u(!0), i(y, null, N(K.value.filter((t) => t.type === "bar"), (t, o) => (u(), i("g", null, [
|
|
693
|
+
(u(!0), i(y, null, N(t.points, (r, g) => (u(), i(y, null, [
|
|
694
694
|
t.isVisible && !isNaN(r.y) ? (u(), i("rect", {
|
|
695
695
|
key: 0,
|
|
696
|
-
x:
|
|
697
|
-
width:
|
|
696
|
+
x: Fe(r.x, o, g),
|
|
697
|
+
width: Be(o, g),
|
|
698
698
|
y: r.v >= 0 ? r.y : r.y0,
|
|
699
699
|
height: r.v >= 0 ? r.y0 - r.y : r.y - r.y0,
|
|
700
700
|
fill: t.color,
|
|
701
|
-
style:
|
|
702
|
-
opacity:
|
|
701
|
+
style: L({
|
|
702
|
+
opacity: g >= a.valueStart && g <= a.valueEnd - 1 ? 1 : 0
|
|
703
703
|
})
|
|
704
|
-
}, null, 12,
|
|
704
|
+
}, null, 12, fl)) : v("", !0)
|
|
705
705
|
], 64))), 256))
|
|
706
706
|
]))), 256)),
|
|
707
|
-
(u(!0), i(
|
|
707
|
+
(u(!0), i(y, null, N(K.value.filter((t) => t.type === "line"), (t) => (u(), i("g", {
|
|
708
708
|
key: String(t.key)
|
|
709
709
|
}, [
|
|
710
710
|
t && t.hasSelection && t.selectionSet && t.isVisible ? (u(), i("path", {
|
|
@@ -715,190 +715,190 @@ const el = {
|
|
|
715
715
|
"stroke-width": "2",
|
|
716
716
|
"stroke-linecap": "round",
|
|
717
717
|
"stroke-linejoin": "round"
|
|
718
|
-
}, null, 8,
|
|
718
|
+
}, null, 8, gl)) : v("", !0)
|
|
719
719
|
]))), 128))
|
|
720
720
|
])),
|
|
721
|
-
|
|
721
|
+
x.value && a.minimapCompact ? (u(), i("rect", {
|
|
722
722
|
key: 7,
|
|
723
723
|
class: "vue-ui-zoom-compact-minimap-handle",
|
|
724
724
|
x: w.value.x - 8,
|
|
725
725
|
y: 0,
|
|
726
726
|
width: 8,
|
|
727
727
|
height: h.value.height,
|
|
728
|
-
fill:
|
|
728
|
+
fill: f.value,
|
|
729
729
|
stroke: a.textColor,
|
|
730
730
|
rx: 3
|
|
731
|
-
}, null, 8,
|
|
732
|
-
|
|
731
|
+
}, null, 8, yl)) : v("", !0),
|
|
732
|
+
x.value && a.minimapCompact ? (u(), i("rect", {
|
|
733
733
|
key: 8,
|
|
734
734
|
class: "vue-ui-zoom-compact-minimap-handle",
|
|
735
735
|
x: w.value.x + w.value.width,
|
|
736
736
|
y: 0,
|
|
737
737
|
width: 8,
|
|
738
738
|
height: h.value.height,
|
|
739
|
-
fill:
|
|
739
|
+
fill: f.value,
|
|
740
740
|
stroke: a.textColor,
|
|
741
741
|
rx: 3
|
|
742
|
-
}, null, 8,
|
|
743
|
-
a.minimapMerged ? (u(), i(
|
|
742
|
+
}, null, 8, xl)) : v("", !0),
|
|
743
|
+
a.minimapMerged ? (u(), i(y, { key: 9 }, [
|
|
744
744
|
c.value && c.value.firstPlot && c.value.firstPlot.value !== null ? (u(), i("circle", {
|
|
745
745
|
key: 0,
|
|
746
746
|
cx: c.value.firstPlot.x,
|
|
747
747
|
cy: c.value.firstPlot.y,
|
|
748
748
|
"stroke-width": "0.5",
|
|
749
|
-
stroke:
|
|
749
|
+
stroke: f.value,
|
|
750
750
|
r: "4",
|
|
751
751
|
fill: a.minimapLineColor
|
|
752
|
-
}, null, 8,
|
|
752
|
+
}, null, 8, bl)) : v("", !0),
|
|
753
753
|
c.value && c.value.firstPlot && c.value.firstPlot.value !== null ? (u(), i("circle", {
|
|
754
754
|
key: 1,
|
|
755
755
|
cx: c.value.firstPlot.x,
|
|
756
756
|
cy: c.value.firstPlot.y,
|
|
757
757
|
r: "2",
|
|
758
|
-
fill:
|
|
759
|
-
}, null, 8,
|
|
758
|
+
fill: f.value
|
|
759
|
+
}, null, 8, Ml)) : v("", !0),
|
|
760
760
|
c.value && c.value.lastPlot && c.value.lastPlot.value !== null ? (u(), i("circle", {
|
|
761
761
|
key: 2,
|
|
762
762
|
cx: c.value.lastPlot.x,
|
|
763
763
|
cy: c.value.lastPlot.y,
|
|
764
764
|
"stroke-width": "0.5",
|
|
765
|
-
stroke:
|
|
765
|
+
stroke: f.value,
|
|
766
766
|
r: "4",
|
|
767
767
|
fill: a.minimapLineColor
|
|
768
|
-
}, null, 8,
|
|
768
|
+
}, null, 8, kl)) : v("", !0),
|
|
769
769
|
c.value && c.value.lastPlot && c.value.lastPlot.value !== null ? (u(), i("circle", {
|
|
770
770
|
key: 3,
|
|
771
771
|
cx: c.value.lastPlot.x,
|
|
772
772
|
cy: c.value.lastPlot.y,
|
|
773
773
|
r: "2",
|
|
774
|
-
fill:
|
|
775
|
-
}, null, 8,
|
|
776
|
-
], 64)) : (u(), i("g",
|
|
777
|
-
(u(!0), i(
|
|
774
|
+
fill: f.value
|
|
775
|
+
}, null, 8, pl)) : v("", !0)
|
|
776
|
+
], 64)) : (u(), i("g", wl, [
|
|
777
|
+
(u(!0), i(y, null, N(K.value.filter((t) => t.type === "line"), (t) => (u(), i("g", {
|
|
778
778
|
key: String(t.key)
|
|
779
779
|
}, [
|
|
780
|
-
t.isVisible ? (u(!0), i(
|
|
780
|
+
t.isVisible ? (u(!0), i(y, { key: 0 }, N(t.selectionMarkers, (o) => (u(), i("circle", {
|
|
781
781
|
key: `sel-dot-${t.key}-${o.i}`,
|
|
782
782
|
cx: o.x,
|
|
783
783
|
cy: o.y,
|
|
784
784
|
r: "2.5",
|
|
785
785
|
fill: t.color,
|
|
786
|
-
stroke:
|
|
786
|
+
stroke: f.value,
|
|
787
787
|
"stroke-width": "0.5"
|
|
788
|
-
}, null, 8,
|
|
788
|
+
}, null, 8, Sl))), 128)) : v("", !0),
|
|
789
789
|
t && t.firstPlot && t.isVisible && t.firstPlot.value !== null ? (u(), i("circle", {
|
|
790
790
|
key: 1,
|
|
791
791
|
cx: t.firstPlot.x,
|
|
792
792
|
cy: t.firstPlot.y,
|
|
793
793
|
"stroke-width": "0.5",
|
|
794
|
-
stroke:
|
|
794
|
+
stroke: f.value,
|
|
795
795
|
r: "4",
|
|
796
796
|
fill: t.color
|
|
797
|
-
}, null, 8,
|
|
797
|
+
}, null, 8, Cl)) : v("", !0),
|
|
798
798
|
t && t.firstPlot && t.isVisible && t.firstPlot.value !== null ? (u(), i("circle", {
|
|
799
799
|
key: 2,
|
|
800
800
|
cx: t.firstPlot.x,
|
|
801
801
|
cy: t.firstPlot.y,
|
|
802
802
|
r: "2",
|
|
803
|
-
fill:
|
|
804
|
-
}, null, 8,
|
|
803
|
+
fill: f.value
|
|
804
|
+
}, null, 8, Pl)) : v("", !0),
|
|
805
805
|
t && t.lastPlot && t.isVisible && t.lastPlot.value !== null ? (u(), i("circle", {
|
|
806
806
|
key: 3,
|
|
807
807
|
cx: t.lastPlot.x,
|
|
808
808
|
cy: t.lastPlot.y,
|
|
809
809
|
"stroke-width": "0.5",
|
|
810
|
-
stroke:
|
|
810
|
+
stroke: f.value,
|
|
811
811
|
r: "4",
|
|
812
812
|
fill: t.color
|
|
813
|
-
}, null, 8,
|
|
813
|
+
}, null, 8, Nl)) : v("", !0),
|
|
814
814
|
t && t.lastPlot && t.isVisible && t.lastPlot.value !== null ? (u(), i("circle", {
|
|
815
815
|
key: 4,
|
|
816
816
|
cx: t.lastPlot.x,
|
|
817
817
|
cy: t.lastPlot.y,
|
|
818
818
|
r: "2",
|
|
819
|
-
fill:
|
|
820
|
-
}, null, 8,
|
|
819
|
+
fill: f.value
|
|
820
|
+
}, null, 8, $l)) : v("", !0)
|
|
821
821
|
]))), 128))
|
|
822
822
|
])),
|
|
823
|
-
(u(!0), i(
|
|
823
|
+
(u(!0), i(y, null, N(Re.value, (t, o) => (u(), i("rect", {
|
|
824
824
|
y: 0,
|
|
825
825
|
height: Math.max(h.value.height, 0),
|
|
826
826
|
fill: "transparent",
|
|
827
|
-
style:
|
|
828
|
-
cursor: t >=
|
|
827
|
+
style: L([{ "pointer-events": "all !important" }, {
|
|
828
|
+
cursor: t >= z.value && t < W.value && a.enableSelectionDrag ? B.value ? "grabbing" : "grab" : "default"
|
|
829
829
|
}]),
|
|
830
|
-
x:
|
|
831
|
-
width:
|
|
832
|
-
onMousedown: l[0] || (l[0] = (r) =>
|
|
833
|
-
onMouseup: l[1] || (l[1] = (r) =>
|
|
834
|
-
onMouseenter: (r) =>
|
|
830
|
+
x: b.value * o - (a.minimapCompact ? b.value / 2 : 0),
|
|
831
|
+
width: b.value < 0 ? 0 : b.value,
|
|
832
|
+
onMousedown: l[0] || (l[0] = (r) => B.value = !0),
|
|
833
|
+
onMouseup: l[1] || (l[1] = (r) => B.value = !1),
|
|
834
|
+
onMouseenter: (r) => kt(t),
|
|
835
835
|
onMouseleave: l[2] || (l[2] = (r) => {
|
|
836
|
-
|
|
836
|
+
E.value = null, Z("trapMouse", null);
|
|
837
837
|
})
|
|
838
|
-
}, null, 44,
|
|
839
|
-
], 8,
|
|
838
|
+
}, null, 44, Ll))), 256))
|
|
839
|
+
], 8, el))
|
|
840
840
|
])) : v("", !0),
|
|
841
841
|
C("div", {
|
|
842
842
|
class: "slider-track",
|
|
843
|
-
style:
|
|
843
|
+
style: L({ visibility: x.value && a.minimapCompact ? "hidden" : "visible" })
|
|
844
844
|
}, null, 4),
|
|
845
845
|
C("div", {
|
|
846
|
-
class:
|
|
846
|
+
class: U({
|
|
847
847
|
"range-highlight": !0,
|
|
848
848
|
move: a.enableSelectionDrag
|
|
849
849
|
}),
|
|
850
|
-
onMousedown: l[3] || (l[3] = (t) =>
|
|
851
|
-
onMouseup: l[4] || (l[4] = (t) =>
|
|
852
|
-
style:
|
|
850
|
+
onMousedown: l[3] || (l[3] = (t) => B.value = !0),
|
|
851
|
+
onMouseup: l[4] || (l[4] = (t) => B.value = !1),
|
|
852
|
+
style: L({
|
|
853
853
|
...P.value,
|
|
854
|
-
cursor:
|
|
855
|
-
visibility:
|
|
854
|
+
cursor: B.value ? "grabbing" : "grab",
|
|
855
|
+
visibility: x.value && a.minimapCompact ? "hidden" : "visible"
|
|
856
856
|
})
|
|
857
857
|
}, null, 38),
|
|
858
|
-
a.enableRangeHandles ?
|
|
858
|
+
a.enableRangeHandles ? _e((u(), i("input", {
|
|
859
859
|
key: 1,
|
|
860
860
|
ref_key: "rangeStart",
|
|
861
|
-
ref:
|
|
861
|
+
ref: ke,
|
|
862
862
|
type: "range",
|
|
863
|
-
class:
|
|
863
|
+
class: U({
|
|
864
864
|
"range-left": !0,
|
|
865
865
|
"range-handle": !0,
|
|
866
|
-
"range-minimap":
|
|
867
|
-
"range-invisible":
|
|
866
|
+
"range-minimap": x.value && a.verticalHandles,
|
|
867
|
+
"range-invisible": x.value && a.minimapCompact
|
|
868
868
|
}),
|
|
869
869
|
min: a.min,
|
|
870
|
-
max:
|
|
870
|
+
max: R.value && a.minimapCompact ? J.value : a.max,
|
|
871
871
|
step: 1,
|
|
872
|
-
"onUpdate:modelValue": l[5] || (l[5] = (t) =>
|
|
873
|
-
onMouseenter: l[6] || (l[6] = (t) =>
|
|
874
|
-
}, null, 42,
|
|
872
|
+
"onUpdate:modelValue": l[5] || (l[5] = (t) => ye.value = t),
|
|
873
|
+
onMouseenter: l[6] || (l[6] = (t) => Ye("start"))
|
|
874
|
+
}, null, 42, Rl)), [
|
|
875
875
|
[
|
|
876
|
-
|
|
877
|
-
|
|
876
|
+
et,
|
|
877
|
+
ye.value,
|
|
878
878
|
void 0,
|
|
879
879
|
{ number: !0 }
|
|
880
880
|
]
|
|
881
881
|
]) : v("", !0),
|
|
882
|
-
a.enableRangeHandles ?
|
|
882
|
+
a.enableRangeHandles ? _e((u(), i("input", {
|
|
883
883
|
key: 2,
|
|
884
884
|
ref_key: "rangeEnd",
|
|
885
|
-
ref:
|
|
885
|
+
ref: pe,
|
|
886
886
|
type: "range",
|
|
887
|
-
class:
|
|
887
|
+
class: U({
|
|
888
888
|
"range-right": !0,
|
|
889
889
|
"range-handle": !0,
|
|
890
|
-
"range-minimap":
|
|
891
|
-
"range-invisible":
|
|
890
|
+
"range-minimap": x.value && a.verticalHandles,
|
|
891
|
+
"range-invisible": x.value && a.minimapCompact
|
|
892
892
|
}),
|
|
893
893
|
min: a.min,
|
|
894
|
-
max:
|
|
894
|
+
max: R.value && a.minimapCompact ? J.value : a.max,
|
|
895
895
|
step: 1,
|
|
896
|
-
"onUpdate:modelValue": l[7] || (l[7] = (t) =>
|
|
897
|
-
onMouseenter: l[8] || (l[8] = (t) =>
|
|
898
|
-
}, null, 42,
|
|
896
|
+
"onUpdate:modelValue": l[7] || (l[7] = (t) => xe.value = t),
|
|
897
|
+
onMouseenter: l[8] || (l[8] = (t) => Ye("end"))
|
|
898
|
+
}, null, 42, El)), [
|
|
899
899
|
[
|
|
900
|
-
|
|
901
|
-
|
|
900
|
+
et,
|
|
901
|
+
xe.value,
|
|
902
902
|
void 0,
|
|
903
903
|
{ number: !0 }
|
|
904
904
|
]
|
|
@@ -906,67 +906,67 @@ const el = {
|
|
|
906
906
|
a.labelLeft ? (u(), i("div", {
|
|
907
907
|
key: 3,
|
|
908
908
|
ref_key: "tooltipLeft",
|
|
909
|
-
ref:
|
|
910
|
-
class:
|
|
909
|
+
ref: j,
|
|
910
|
+
class: U({
|
|
911
911
|
"range-tooltip": !0,
|
|
912
912
|
"range-tooltip-visible": I.value,
|
|
913
913
|
"range-tooltip-arrow": P.value.arrowLeft && !a.verticalHandles,
|
|
914
914
|
"range-tooltip-arrow-left": !P.value.arrowLeft && !a.verticalHandles
|
|
915
915
|
}),
|
|
916
|
-
style:
|
|
916
|
+
style: L({
|
|
917
917
|
left: P.value.tooltipLeft,
|
|
918
|
-
color:
|
|
918
|
+
color: ve(Ne)(a.selectColor),
|
|
919
919
|
backgroundColor: a.selectColor,
|
|
920
|
-
border: `1px solid ${
|
|
921
|
-
zIndex: `${
|
|
922
|
-
visibility:
|
|
923
|
-
top:
|
|
920
|
+
border: `1px solid ${f.value}`,
|
|
921
|
+
zIndex: `${Ze.value + 4}`,
|
|
922
|
+
visibility: ee.value || a.labelLeft === a.labelRight ? "hidden" : "visible",
|
|
923
|
+
top: x.value && a.minimapCompact ? "calc(-100% - 18px)" : "-100%"
|
|
924
924
|
})
|
|
925
|
-
},
|
|
926
|
-
(
|
|
925
|
+
}, Pe(a.labelLeft), 7)) : v("", !0),
|
|
926
|
+
(ee.value || a.labelLeft === a.labelRight) && (a.labelLeft || a.labelRight) ? (u(), i("div", {
|
|
927
927
|
key: 4,
|
|
928
928
|
ref: "tooltipMerge",
|
|
929
|
-
class:
|
|
929
|
+
class: U({
|
|
930
930
|
"range-tooltip": !0,
|
|
931
931
|
"range-tooltip-visible": I.value,
|
|
932
932
|
"range-tooltip-arrow": !0,
|
|
933
933
|
"range-tooltip-arrow-left": !P.value.arrowLeft && !a.verticalHandles,
|
|
934
934
|
"range-tooltip-arrow-right": !P.value.arrowRight && !a.verticalHandles
|
|
935
935
|
}),
|
|
936
|
-
style:
|
|
936
|
+
style: L({
|
|
937
937
|
left: P.value.tooltipCenter,
|
|
938
|
-
width:
|
|
939
|
-
color:
|
|
938
|
+
width: te.value.width + "px",
|
|
939
|
+
color: ve(Ne)(a.selectColor),
|
|
940
940
|
backgroundColor: a.selectColor,
|
|
941
|
-
border: `1px solid ${
|
|
941
|
+
border: `1px solid ${f.value}`,
|
|
942
942
|
zIndex: "4",
|
|
943
|
-
top:
|
|
943
|
+
top: x.value && a.minimapCompact ? "calc(-100% - 18px)" : "-100%"
|
|
944
944
|
})
|
|
945
|
-
},
|
|
945
|
+
}, Pe(a.labelLeft === a.labelRight ? a.labelLeft : `${a.labelLeft} - ${a.labelRight}`), 7)) : v("", !0),
|
|
946
946
|
a.labelRight ? (u(), i("div", {
|
|
947
947
|
key: 5,
|
|
948
948
|
ref_key: "tooltipRight",
|
|
949
|
-
ref:
|
|
950
|
-
class:
|
|
949
|
+
ref: _,
|
|
950
|
+
class: U({
|
|
951
951
|
"range-tooltip": !0,
|
|
952
952
|
"range-tooltip-visible": I.value,
|
|
953
953
|
"range-tooltip-arrow": P.value.arrowRight && !a.verticalHandles,
|
|
954
954
|
"range-tooltip-arrow-right": !P.value.arrowRight && !a.verticalHandles
|
|
955
955
|
}),
|
|
956
|
-
style:
|
|
956
|
+
style: L({
|
|
957
957
|
left: P.value.tooltipRight,
|
|
958
|
-
color:
|
|
958
|
+
color: ve(Ne)(a.selectColor),
|
|
959
959
|
backgroundColor: a.selectColor,
|
|
960
|
-
border: `1px solid ${
|
|
960
|
+
border: `1px solid ${f.value}`,
|
|
961
961
|
zIndex: "4",
|
|
962
|
-
visibility:
|
|
963
|
-
top:
|
|
962
|
+
visibility: ee.value || a.labelLeft === a.labelRight ? "hidden" : "visible",
|
|
963
|
+
top: x.value && a.minimapCompact ? "calc(-100% - 18px)" : "-100%"
|
|
964
964
|
})
|
|
965
|
-
},
|
|
965
|
+
}, Pe(a.labelRight), 7)) : v("", !0)
|
|
966
966
|
], 544)
|
|
967
967
|
], 544));
|
|
968
968
|
}
|
|
969
|
-
},
|
|
969
|
+
}, Il = /* @__PURE__ */ Kt(Vl, [["__scopeId", "data-v-b7301f20"]]);
|
|
970
970
|
export {
|
|
971
|
-
|
|
971
|
+
Il as S
|
|
972
972
|
};
|