vue-data-ui 3.3.3 → 3.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Arrow-ayTeSvpe.js → Arrow-CRe_nKB4.js} +1 -1
- package/dist/{BaseDraggableDialog-Cysanw8-.js → BaseDraggableDialog-CbuLbfrc.js} +2 -2
- package/dist/{BaseIcon-DG6cvf2h.js → BaseIcon-B5KaGWWC.js} +1 -1
- package/dist/{ColorPicker-CA8kKZjZ.js → ColorPicker-BMztHpBp.js} +10 -10
- package/dist/{DataTable-DUpZ_s2c.js → DataTable-DOx3zgih.js} +2 -2
- package/dist/{Legend-CCBZ2x8T.js → Legend-C8u37J42.js} +2 -2
- package/dist/{NonSvgPenAndPaper-D2IMGwaN.js → NonSvgPenAndPaper-BcxfJ-r2.js} +3 -3
- package/dist/{PackageVersion-CQvYRebC.js → PackageVersion-VpPtLYhK.js} +1 -1
- package/dist/{PenAndPaper-D9LruJaM.js → PenAndPaper-Dj2diYr0.js} +3 -3
- package/dist/{Shape-BS9UGhNq.js → Shape-BhNvlGIN.js} +1 -1
- package/dist/{Slicer-BOki89CB.js → Slicer-BHgEsIBU.js} +111 -111
- package/dist/SlicerPreview-Cobmb_1S.js +1148 -0
- package/dist/{SparkTooltip-svd8Hb6c.js → SparkTooltip-CL3cNRQ_.js} +1 -1
- package/dist/{Title-B6rAo9Oz.js → Title-CFmv95In.js} +1 -1
- package/dist/{Tooltip-DaInVNiV.js → Tooltip-Cs4v8OnI.js} +1 -1
- package/dist/{UserOptions-CJXSEhan.js → UserOptions-C0YT60JN.js} +2 -2
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/{dom-to-png-Tq92GZKA.js → dom-to-png-xQ7LXrxp.js} +1 -1
- package/dist/{img-DI-W68vp.js → img-CFY3JivG.js} +1 -1
- package/dist/{lib-CSDxt1Zh.js → lib-BcBZIm6u.js} +439 -395
- package/dist/{pdf-BzVpWnNO.js → pdf-O34i6EQX.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +82 -8
- package/dist/{useAutoSizeLabelsInsideViewbox-CtQ7pJ8G.js → useAutoSizeLabelsInsideViewbox-BHq4FD8x.js} +1 -1
- package/dist/{useNestedProp-Dh-ldrr5.js → useNestedProp-B7CiTRDS.js} +327 -240
- package/dist/{usePrinter-Cq8Pt6Lh.js → usePrinter-C1GiglOH.js} +2 -2
- package/dist/{vue-data-ui-CDY7snWF.js → vue-data-ui-oDJui39L.js} +64 -64
- package/dist/vue-data-ui.js +100 -100
- package/dist/{vue-ui-3d-bar-DbpiTjGu.js → vue-ui-3d-bar-wycTM073.js} +56 -56
- package/dist/{vue-ui-accordion-CaClZrCp.js → vue-ui-accordion-BKkTS12x.js} +3 -3
- package/dist/{vue-ui-age-pyramid-DuIxXz5p.js → vue-ui-age-pyramid-C5NUZ_Y7.js} +39 -39
- package/dist/{vue-ui-annotator-C2efSKQK.js → vue-ui-annotator-DkSYrnwb.js} +7 -7
- package/dist/{vue-ui-bullet-qpcqLKmp.js → vue-ui-bullet-CIsX5UJw.js} +7 -7
- package/dist/vue-ui-candlestick-BRFx3_KK.js +1334 -0
- package/dist/{vue-ui-carousel-table-CCTtArFX.js → vue-ui-carousel-table-hJySHJTu.js} +29 -29
- package/dist/{vue-ui-chestnut-CbvxJ8hy.js → vue-ui-chestnut-D4GjvQh0.js} +70 -70
- package/dist/{vue-ui-chord-Cp9nyIdv.js → vue-ui-chord-By2NOs0N.js} +35 -35
- package/dist/{vue-ui-circle-pack-kHzd0UYO.js → vue-ui-circle-pack-OCmAkTNs.js} +59 -59
- package/dist/{vue-ui-cursor-DEvkJRCz.js → vue-ui-cursor-iuati4v1.js} +2 -2
- package/dist/{vue-ui-dashboard-k_mz9iwy.js → vue-ui-dashboard-C7fwU9xb.js} +67 -67
- package/dist/{vue-ui-digits-CqWCkEu2.js → vue-ui-digits-eYxf3UFN.js} +2 -2
- package/dist/{vue-ui-donut-CDKS6sVu.js → vue-ui-donut-dVVBUQJz.js} +189 -189
- package/dist/{vue-ui-donut-evolution-C6cGI_P3.js → vue-ui-donut-evolution-BoWGaQP0.js} +82 -82
- package/dist/{vue-ui-dumbbell-ZjJst3xs.js → vue-ui-dumbbell-YMPZ3CVA.js} +66 -66
- package/dist/{vue-ui-flow-sX1PYIkr.js → vue-ui-flow-BE62rVS3.js} +75 -75
- package/dist/{vue-ui-funnel--VViM9gH.js → vue-ui-funnel-kNpDFAWo.js} +63 -63
- package/dist/{vue-ui-galaxy-Du0V9GF8.js → vue-ui-galaxy-BBBiXXyk.js} +62 -62
- package/dist/{vue-ui-gauge-BAe4p2g-.js → vue-ui-gauge-PQNTTl3Y.js} +58 -58
- package/dist/{vue-ui-gizmo-CfjwAt38.js → vue-ui-gizmo-D3gQxQz3.js} +3 -3
- package/dist/{vue-ui-heatmap-Q0jrPM5h.js → vue-ui-heatmap-CKWQButF.js} +104 -104
- package/dist/{vue-ui-history-plot-CLSN3mPy.js → vue-ui-history-plot-DYFzdR4Z.js} +91 -91
- package/dist/{vue-ui-kpi-CBRgXD1s.js → vue-ui-kpi-N8s0i48S.js} +3 -3
- package/dist/{vue-ui-mini-loader-3yCeDEPK.js → vue-ui-mini-loader-Db-9iQcC.js} +2 -2
- package/dist/{vue-ui-molecule-Ddh4hbX0.js → vue-ui-molecule-Cklyb74B.js} +102 -102
- package/dist/{vue-ui-mood-radar-CK8UF-ka.js → vue-ui-mood-radar-Cvq4ZuLe.js} +28 -28
- package/dist/{vue-ui-nested-donuts-DO0FV0tU.js → vue-ui-nested-donuts-Bm78P1ES.js} +60 -60
- package/dist/{vue-ui-onion-DXLqoj-4.js → vue-ui-onion-Bh5jTb31.js} +46 -46
- package/dist/{vue-ui-parallel-coordinate-plot-BlffHAHB.js → vue-ui-parallel-coordinate-plot-BKdN2OsW.js} +64 -64
- package/dist/{vue-ui-quadrant-pw2ALj7p.js → vue-ui-quadrant-BPhJzots.js} +8 -8
- package/dist/{vue-ui-quick-chart-9oGbV593.js → vue-ui-quick-chart-DbJR9CN3.js} +86 -86
- package/dist/vue-ui-radar-CrenQprr.js +938 -0
- package/dist/{vue-ui-rating-C4yZY1sb.js → vue-ui-rating-fR2WRHYO.js} +2 -2
- package/dist/{vue-ui-relation-circle-Duxv-A4H.js → vue-ui-relation-circle-BJ5RuZ0j.js} +31 -31
- package/dist/{vue-ui-ridgeline-B-q7J-C0.js → vue-ui-ridgeline-CKuom5Bu.js} +97 -97
- package/dist/{vue-ui-rings-PRAcmP1H.js → vue-ui-rings-B84GAEf4.js} +50 -50
- package/dist/{vue-ui-scatter-BLW4MJtJ.js → vue-ui-scatter-CBX-g9w3.js} +100 -100
- package/dist/{vue-ui-skeleton-D0PF0jxa.js → vue-ui-skeleton-CZ8xxpEU.js} +3 -3
- package/dist/{vue-ui-smiley-Be44gMTh.js → vue-ui-smiley-BKXuAviQ.js} +2 -2
- package/dist/{vue-ui-spark-trend-B2XY2dRa.js → vue-ui-spark-trend-DOf7-cIf.js} +18 -18
- package/dist/{vue-ui-sparkbar-DWQN4gvR.js → vue-ui-sparkbar-D-MPA2zf.js} +3 -3
- package/dist/{vue-ui-sparkgauge-fDhQGQ12.js → vue-ui-sparkgauge-B9xRiVSU.js} +6 -6
- package/dist/{vue-ui-sparkhistogram-f7Acvipt.js → vue-ui-sparkhistogram-BWb0lqQP.js} +4 -4
- package/dist/{vue-ui-sparkline-Ys3JW7Ap.js → vue-ui-sparkline-BF-qr8Ti.js} +23 -23
- package/dist/{vue-ui-sparkstackbar-Dv0HeSna.js → vue-ui-sparkstackbar-DnCUpk50.js} +17 -17
- package/dist/vue-ui-stackbar-DvJ8Hahn.js +1695 -0
- package/dist/{vue-ui-strip-plot-DN13ntF-.js → vue-ui-strip-plot-SAh1gIs5.js} +52 -52
- package/dist/{vue-ui-table-Qb5tDX1n.js → vue-ui-table-BJdDfMYD.js} +18 -18
- package/dist/{vue-ui-table-heatmap-hMrgJ25a.js → vue-ui-table-heatmap-DU6GKPVy.js} +32 -32
- package/dist/{vue-ui-table-sparkline-CdkFyJjv.js → vue-ui-table-sparkline-BBFEJ8c6.js} +28 -28
- package/dist/{vue-ui-thermometer-D7U2C7kJ.js → vue-ui-thermometer-D8DH6QSN.js} +22 -22
- package/dist/{vue-ui-timer-KtA4M2mV.js → vue-ui-timer-CaUdAHBE.js} +29 -29
- package/dist/{vue-ui-tiremarks-C6GTGszq.js → vue-ui-tiremarks-_sUH1d3J.js} +14 -14
- package/dist/{vue-ui-treemap-rhnl1TW9.js → vue-ui-treemap-DXduzuW4.js} +78 -78
- package/dist/{vue-ui-vertical-bar-n_Lvbd_X.js → vue-ui-vertical-bar-JdjmgwQj.js} +94 -94
- package/dist/{vue-ui-waffle-D-4whGLN.js → vue-ui-waffle-h8zoi4Rc.js} +68 -68
- package/dist/{vue-ui-wheel-D92HLjfr.js → vue-ui-wheel-Ck1Mx37j.js} +21 -21
- package/dist/{vue-ui-word-cloud-Df9AMw6v.js → vue-ui-word-cloud-CjWvuukM.js} +47 -47
- package/dist/{vue-ui-world-Bg9S35ug.js → vue-ui-world-Dw71_Mu2.js} +6 -6
- package/dist/vue-ui-xy-canvas-Dct7tf8w.js +1548 -0
- package/dist/vue-ui-xy-tSMgXqqb.js +3375 -0
- package/package.json +2 -2
- package/dist/vue-ui-candlestick-DTWbbdGH.js +0 -1073
- package/dist/vue-ui-radar-Csznqw19.js +0 -891
- package/dist/vue-ui-stackbar-DUlN5QiM.js +0 -1457
- package/dist/vue-ui-xy-Da6oy2rm.js +0 -4527
- package/dist/vue-ui-xy-canvas-0CLSIKpO.js +0 -1305
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { useCssVars as Ot, computed as s, ref as
|
|
2
|
-
import { c as Kt, X as Qt,
|
|
1
|
+
import { useCssVars as Ot, computed as s, ref as d, onMounted as lt, onBeforeUnmount as Le, watch as Z, nextTick as ve, onUpdated as Ut, createElementBlock as i, openBlock as u, createElementVNode as P, createCommentVNode as m, renderSlot as Zt, normalizeStyle as L, createVNode as Jt, withDirectives as at, unref as me, Fragment as M, renderList as R, normalizeProps as Yt, mergeProps as qt, normalizeClass as J, vModelText as nt, toDisplayString as $e } from "vue";
|
|
2
|
+
import { c as Kt, X as Qt, J as Ee, y as it, z as ut, A as ot, B as rt, am as st } from "./lib-BcBZIm6u.js";
|
|
3
3
|
import { t as ct, d as jt, u as _t } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import el from "./BaseIcon-
|
|
4
|
+
import el from "./BaseIcon-B5KaGWWC.js";
|
|
5
5
|
import { _ as tl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
6
|
const ll = {
|
|
7
7
|
class: "vue-data-ui-slicer-labels",
|
|
@@ -13,7 +13,7 @@ const ll = {
|
|
|
13
13
|
key: 0,
|
|
14
14
|
class: "minimap",
|
|
15
15
|
style: { width: "100%" }
|
|
16
|
-
}, il = ["xmlns", "viewBox"], ul = ["id"], ol = ["stop-color"], rl = ["width", "height", "stroke"], sl = ["d", "stroke"], cl = ["x", "width", "y", "height", "fill"], vl = ["d", "stroke"], ml = ["cx", "cy", "fill", "stroke"],
|
|
16
|
+
}, il = ["xmlns", "viewBox"], ul = ["id"], ol = ["stop-color"], rl = ["width", "height", "stroke"], sl = ["d", "stroke"], cl = ["x", "width", "y", "height", "fill"], vl = ["d", "stroke"], ml = ["cx", "cy", "fill", "stroke"], hl = ["x", "width", "height", "fill", "rx"], dl = ["x", "width", "height", "rx", "fill"], fl = ["x", "width", "height", "fill", "rx"], gl = ["x2", "y1", "y2", "stroke"], yl = ["d", "fill"], xl = ["d", "stroke"], Ml = { key: 6 }, bl = ["x", "width", "y", "height", "fill"], pl = ["d", "stroke"], kl = ["x", "height", "fill", "stroke"], wl = ["x", "height", "fill", "stroke"], Sl = ["cx", "cy", "stroke", "fill"], Cl = ["cx", "cy", "fill"], Pl = ["cx", "cy", "stroke", "fill"], Nl = ["cx", "cy", "fill"], Rl = { key: 10 }, Ll = ["cx", "cy", "fill", "stroke"], $l = ["cx", "cy", "stroke", "fill"], El = ["cx", "cy", "fill"], Tl = ["cx", "cy", "stroke", "fill"], Al = ["cx", "cy", "fill"], Bl = ["height", "x", "width", "onMouseenter"], Vl = ["min", "max"], Fl = ["min", "max"], Te = 48, Il = {
|
|
17
17
|
__name: "Slicer",
|
|
18
18
|
props: {
|
|
19
19
|
background: {
|
|
@@ -155,15 +155,15 @@ const ll = {
|
|
|
155
155
|
setup(n, { expose: vt, emit: mt }) {
|
|
156
156
|
Ot((e) => ({
|
|
157
157
|
v703bd703: gt.value,
|
|
158
|
-
v08315f77:
|
|
159
|
-
v784637a8:
|
|
158
|
+
v08315f77: y.value,
|
|
159
|
+
v784637a8: xt.value,
|
|
160
160
|
v2f32beb2: n.selectColor,
|
|
161
|
-
v147c5fb5:
|
|
161
|
+
v147c5fb5: yt.value
|
|
162
162
|
}));
|
|
163
|
-
const a = n, k =
|
|
163
|
+
const a = n, k = d(null), w = d(a.min), S = d(a.max), b = s(() => !!a.minimap.length), Ae = d(Kt()), $ = s(() => b.value && a.minimapCompact), he = d(0);
|
|
164
164
|
lt(() => {
|
|
165
165
|
const e = () => {
|
|
166
|
-
k.value && (
|
|
166
|
+
k.value && (he.value = k.value.getBoundingClientRect().width);
|
|
167
167
|
};
|
|
168
168
|
e();
|
|
169
169
|
const l = ct(e, 50);
|
|
@@ -171,10 +171,10 @@ const ll = {
|
|
|
171
171
|
window.removeEventListener("resize", l);
|
|
172
172
|
});
|
|
173
173
|
});
|
|
174
|
-
const
|
|
174
|
+
const ht = s(() => a.refreshEndPoint === null ? a.max : a.refreshEndPoint), Y = mt, q = s(() => {
|
|
175
175
|
if ($.value) {
|
|
176
176
|
const l = Math.max(1, ue.value - 1);
|
|
177
|
-
return
|
|
177
|
+
return xe.value / l * 100;
|
|
178
178
|
}
|
|
179
179
|
const e = Math.max(1, a.max - a.min);
|
|
180
180
|
return (w.value - a.min) / e * 100;
|
|
@@ -185,7 +185,7 @@ const ll = {
|
|
|
185
185
|
}
|
|
186
186
|
const e = Math.max(1, a.max - a.min);
|
|
187
187
|
return (S.value - a.min) / e * 100;
|
|
188
|
-
}),
|
|
188
|
+
}), de = s(() => (q.value + re.value) / 2), fe = s(() => {
|
|
189
189
|
if (!k.value) return !1;
|
|
190
190
|
const e = k.value.getBoundingClientRect().width;
|
|
191
191
|
return q.value / 100 * e - Ne.value / 2 < 0;
|
|
@@ -194,7 +194,7 @@ const ll = {
|
|
|
194
194
|
const e = k.value.getBoundingClientRect().width;
|
|
195
195
|
return re.value / 100 * e + ce.value / 2 > e;
|
|
196
196
|
}), N = s(() => {
|
|
197
|
-
const e = ge.value ? `calc(${
|
|
197
|
+
const e = ge.value ? `calc(${de.value}% - ${ie.value.width}px - 2px)` : fe.value ? `calc(${de.value}% - 8px)` : `calc(${de.value}% - ${ie.value.width / 2}px - 4px)`;
|
|
198
198
|
return {
|
|
199
199
|
left: `${q.value}%`,
|
|
200
200
|
width: `${Math.max(0, re.value - q.value)}%`,
|
|
@@ -205,21 +205,21 @@ const ll = {
|
|
|
205
205
|
arrowLeft: !fe.value,
|
|
206
206
|
arrowRight: !ge.value
|
|
207
207
|
};
|
|
208
|
-
}), K = s(() => Math.max(0, (Q.value || 1) - 1)),
|
|
208
|
+
}), K = s(() => Math.max(0, (Q.value || 1) - 1)), ye = s(() => Math.max(0, (ue.value || 1) - 1));
|
|
209
209
|
function se(e) {
|
|
210
|
-
return
|
|
210
|
+
return ye.value === 0 ? 0 : Math.round(e / ye.value * K.value);
|
|
211
211
|
}
|
|
212
212
|
function Be(e) {
|
|
213
|
-
return K.value === 0 ? 0 : Math.round(e / K.value *
|
|
213
|
+
return K.value === 0 ? 0 : Math.round(e / K.value * ye.value);
|
|
214
214
|
}
|
|
215
|
-
const
|
|
215
|
+
const dt = (e) => Math.floor(a.min + e), ft = (e) => Math.ceil(a.min + e), xe = s({
|
|
216
216
|
get() {
|
|
217
217
|
return $.value ? se(I.value) : Number(w.value);
|
|
218
218
|
},
|
|
219
219
|
set(e) {
|
|
220
220
|
if ($.value) {
|
|
221
221
|
const l = Math.round(+e || 0), t = Math.max(0, se(Math.max(0, X.value - 1))), o = Math.min(Math.max(0, l), t), r = Be(o);
|
|
222
|
-
_(
|
|
222
|
+
_(dt(r));
|
|
223
223
|
} else {
|
|
224
224
|
let l = Math.round(+e || 0);
|
|
225
225
|
const t = Number(S.value) - 1, o = Math.min(Math.max(a.min, l), t);
|
|
@@ -240,14 +240,14 @@ const ll = {
|
|
|
240
240
|
ee(o);
|
|
241
241
|
}
|
|
242
242
|
}
|
|
243
|
-
}), gt = s(() => a.inputColor),
|
|
243
|
+
}), gt = s(() => a.inputColor), yt = s(() => a.background), xt = s(() => `${a.selectColor}33`), y = s(() => a.borderColor), Ve = s(() => {
|
|
244
244
|
const e = [];
|
|
245
245
|
for (let l = 0; l < a.max; l += 1)
|
|
246
246
|
e.push(l);
|
|
247
247
|
return e;
|
|
248
248
|
});
|
|
249
249
|
function Fe() {
|
|
250
|
-
|
|
250
|
+
Y("reset");
|
|
251
251
|
}
|
|
252
252
|
Z(
|
|
253
253
|
() => a.min,
|
|
@@ -260,10 +260,10 @@ const ll = {
|
|
|
260
260
|
Number(w.value) > Number(e) && (w.value = Number(e)), Number(S.value) > Number(e) && (S.value = Number(e));
|
|
261
261
|
}
|
|
262
262
|
);
|
|
263
|
-
const be =
|
|
263
|
+
const be = d(null), g = d({
|
|
264
264
|
width: 1,
|
|
265
265
|
height: 1
|
|
266
|
-
}), O =
|
|
266
|
+
}), O = d(null);
|
|
267
267
|
lt(() => {
|
|
268
268
|
if (b.value) {
|
|
269
269
|
const e = ct(() => {
|
|
@@ -287,35 +287,35 @@ const ll = {
|
|
|
287
287
|
for (const l of a.allMinimaps)
|
|
288
288
|
l?.isVisible && Array.isArray(l?.series) && e.push(...l.series.filter(Number.isFinite));
|
|
289
289
|
return e.length ? { min: Math.min(...e), max: Math.max(...e) } : { min: 0, max: 1 };
|
|
290
|
-
}),
|
|
290
|
+
}), D = s(() => Ie.value.min), U = s(() => Ie.value.max), Mt = s(() => D.value < 0 && U.value > 0 || U.value <= 0 ? D.value : 0), bt = s(() => Math.max(1e-9, Math.max(Math.abs(D.value), Math.abs(U.value)))), pt = s(() => D.value < 0 && U.value > 0), kt = (e) => {
|
|
291
291
|
const l = Math.max(1, g.value.height);
|
|
292
292
|
if (pt.value) {
|
|
293
293
|
const t = bt.value;
|
|
294
294
|
return (1 - (Math.max(-1, Math.min(1, e / t)) + 1) / 2) * l;
|
|
295
295
|
} else {
|
|
296
|
-
const t = Math.min(0,
|
|
296
|
+
const t = Math.min(0, D.value), o = Math.max(0, U.value);
|
|
297
297
|
return l - (e - t) / Math.max(1e-9, o - t) * l;
|
|
298
298
|
}
|
|
299
|
-
},
|
|
299
|
+
}, ze = s(() => kt(0)), De = s(() => a.allMinimaps.length ? a.allMinimaps.filter((e) => e.type === "bar").length : 0), pe = s(() => p.value / (De.value || 1) * 0.8);
|
|
300
300
|
function We(e, l, t) {
|
|
301
|
-
const o = pe.value, r = Math.max(1,
|
|
302
|
-
return t === 0 ? e + o / 2 * l : t ===
|
|
301
|
+
const o = pe.value, r = Math.max(1, De.value), h = Q.value - 1;
|
|
302
|
+
return t === 0 ? e + o / 2 * l : t === h ? e - o / 2 * (r - l) : e - r * o / 2 + l * o;
|
|
303
303
|
}
|
|
304
304
|
function Xe(e, l) {
|
|
305
305
|
return [0, Q.value - 1].includes(l) ? pe.value / 2 : pe.value;
|
|
306
306
|
}
|
|
307
307
|
function wt(e, l, t) {
|
|
308
|
-
const o = (
|
|
308
|
+
const o = (x, v, z) => Math.max(v, Math.min(z, x));
|
|
309
309
|
if (l <= 0) {
|
|
310
|
-
const
|
|
311
|
-
return (v) => t - (v - e) /
|
|
310
|
+
const x = Math.max(1e-9, 0 - e);
|
|
311
|
+
return (v) => t - (v - e) / x * t;
|
|
312
312
|
}
|
|
313
313
|
if (e >= 0) {
|
|
314
|
-
const
|
|
315
|
-
return (v) => t - (v - 0) /
|
|
314
|
+
const x = Math.max(1e-9, l - 0);
|
|
315
|
+
return (v) => t - (v - 0) / x * t;
|
|
316
316
|
}
|
|
317
|
-
const
|
|
318
|
-
return (
|
|
317
|
+
const h = Math.max(1e-9, Math.max(Math.abs(e), Math.abs(l)));
|
|
318
|
+
return (x) => (1 - (o(x / h, -1, 1) + 1) / 2) * t;
|
|
319
319
|
}
|
|
320
320
|
function He(e, l = !1) {
|
|
321
321
|
if (!e || !e.length)
|
|
@@ -331,7 +331,7 @@ const ll = {
|
|
|
331
331
|
fullMarkers: [],
|
|
332
332
|
selectionMarkers: []
|
|
333
333
|
};
|
|
334
|
-
const t = Math.max(1, g.value.height), o = wt(
|
|
334
|
+
const t = Math.max(1, g.value.height), o = wt(D.value, U.value, t), r = e.length, h = Math.min(Math.max(0, I.value), Math.max(0, r - 1)), x = Math.min(r, Math.max(h + 1, X.value)), v = e.map((f, et) => {
|
|
335
335
|
const oe = f, tt = Number.isFinite(oe), Ht = p.value * et + (a.minimapCompact ? 0 : p.value / 2), Gt = o(0);
|
|
336
336
|
return {
|
|
337
337
|
x: Ht,
|
|
@@ -341,14 +341,14 @@ const ll = {
|
|
|
341
341
|
y0: Gt,
|
|
342
342
|
i: et
|
|
343
343
|
};
|
|
344
|
-
}),
|
|
344
|
+
}), z = (f) => f >= 0 && f < v.length && Number.isFinite(v[f]?.value), H = v.filter((f) => Number.isFinite(f.value) && !z(f.i - 1) && !z(f.i + 1)), Re = H.filter((f) => f.i >= h && f.i < x), G = v.slice(h, x), Wt = v.length >= 2 ? a.smoothMinimap || l ? a.cutNullValues ? it(v) : ut(v.filter((f) => f.value != null)) : a.cutNullValues ? ot(v) : rt(v.filter((f) => f.value != null)) : "", Xt = G.length >= 2 ? a.smoothMinimap || l ? a.cutNullValues ? it(G) : ut(G.filter((f) => f.value != null)) : a.cutNullValues ? ot(G) : rt(G.filter((f) => f.value != null)) : "";
|
|
345
345
|
return {
|
|
346
346
|
fullSet: Wt,
|
|
347
347
|
points: v,
|
|
348
348
|
selectionSet: Xt,
|
|
349
349
|
sliced: G,
|
|
350
|
-
firstPlot: v[
|
|
351
|
-
lastPlot: v[Math.max(0,
|
|
350
|
+
firstPlot: v[h] || null,
|
|
351
|
+
lastPlot: v[Math.max(0, x - 1)] || null,
|
|
352
352
|
hasFull: v.length >= 2,
|
|
353
353
|
hasSelection: G.length >= 2,
|
|
354
354
|
fullMarkers: H,
|
|
@@ -378,7 +378,7 @@ const ll = {
|
|
|
378
378
|
x: p.value * e + (a.minimapCompact ? 0 : p.value / 2),
|
|
379
379
|
width: p.value * (l - e) - p.value
|
|
380
380
|
};
|
|
381
|
-
}), E =
|
|
381
|
+
}), E = d(a.minimapSelectedIndex);
|
|
382
382
|
function St(e) {
|
|
383
383
|
E.value = _e(a.valueStart) + e;
|
|
384
384
|
}
|
|
@@ -393,24 +393,24 @@ const ll = {
|
|
|
393
393
|
function Pt(e) {
|
|
394
394
|
E.value = e;
|
|
395
395
|
const l = I.value, t = X.value;
|
|
396
|
-
e >= l && e < t && !F.value &&
|
|
396
|
+
e >= l && e < t && !F.value && Y("trapMouse", e - l);
|
|
397
397
|
}
|
|
398
|
-
const ke =
|
|
398
|
+
const ke = d(null), we = d(null);
|
|
399
399
|
function _(e) {
|
|
400
|
-
w.value = e, ke.value && (ke.value.value = e),
|
|
400
|
+
w.value = e, ke.value && (ke.value.value = e), Y("update:start", Number(w.value));
|
|
401
401
|
}
|
|
402
402
|
function ee(e) {
|
|
403
|
-
S.value = e, we.value && (we.value.value = e),
|
|
403
|
+
S.value = e, we.value && (we.value.value = e), Y("update:end", Number(S.value));
|
|
404
404
|
}
|
|
405
|
-
const Se = s(() => a.valueEnd - a.valueStart), Nt = s(() => Se.value < a.max - a.min), te =
|
|
406
|
-
let Rt =
|
|
407
|
-
const Lt = s(() => (
|
|
405
|
+
const Se = s(() => a.valueEnd - a.valueStart), Nt = s(() => Se.value < a.max - a.min), te = d(!1);
|
|
406
|
+
let Rt = d(null);
|
|
407
|
+
const Lt = s(() => (he.value - 48) / (a.max - a.min) * Se.value), $t = s(() => Math.max(1, he.value - Te - Lt.value)), Et = s(() => Math.max(1, a.max - a.min - Se.value)), Tt = s(() => Et.value / $t.value), Ge = d(0), Ce = d(0), Oe = d(0), At = d(0);
|
|
408
408
|
let T = null, A = null, B = null, V = null;
|
|
409
|
-
const Ue =
|
|
409
|
+
const Ue = d(a.min);
|
|
410
410
|
function Pe(e) {
|
|
411
411
|
if (!k.value) return a.min;
|
|
412
|
-
const l = k.value.getBoundingClientRect(), t = l.left + Te / 2, o = l.right - Te / 2, r = Math.max(1, o - t),
|
|
413
|
-
return Math.round(a.min +
|
|
412
|
+
const l = k.value.getBoundingClientRect(), t = l.left + Te / 2, o = l.right - Te / 2, r = Math.max(1, o - t), x = (Math.max(t, Math.min(e, o)) - t) / r, v = Math.max(1, a.max - a.min);
|
|
413
|
+
return Math.round(a.min + x * v);
|
|
414
414
|
}
|
|
415
415
|
const Ze = async (e) => {
|
|
416
416
|
if (W.value = !0, !a.enableSelectionDrag) return;
|
|
@@ -422,8 +422,8 @@ const ll = {
|
|
|
422
422
|
const r = l ? t ? t.clientX : 0 : e.clientX;
|
|
423
423
|
if (Rt.value = r, Ge.value = r, a.focusOnDrag && !Nt.value && k.value) {
|
|
424
424
|
Ue.value = Pe(r);
|
|
425
|
-
const
|
|
426
|
-
let H = Ue.value -
|
|
425
|
+
const h = Math.min(0.95, Math.max(0.05, a.focusRangeRatio)), x = a.max - a.min, v = Math.max(1, Math.round(x * h)), z = Math.floor(v / 2);
|
|
426
|
+
let H = Ue.value - z;
|
|
427
427
|
H = Math.max(a.min, Math.min(H, a.max - v));
|
|
428
428
|
const Re = Math.min(a.max, H + v);
|
|
429
429
|
_(H), ee(Re), st(k.value, "mouseup"), await ve(), st(k.value, "mousedown", { clientX: r });
|
|
@@ -431,7 +431,7 @@ const ll = {
|
|
|
431
431
|
Ce.value = Number(w.value), Oe.value = Number(S.value), At.value = Tt.value, T = l ? "touchmove" : "mousemove", A = l ? "touchend" : "mouseup", B = l ? Vt : Bt, V = l ? It : Ft, window.addEventListener(T, B, { passive: !1 }), window.addEventListener(A, V);
|
|
432
432
|
};
|
|
433
433
|
function Bt(e) {
|
|
434
|
-
te.value &&
|
|
434
|
+
te.value && Je(e.clientX);
|
|
435
435
|
}
|
|
436
436
|
function Vt(e) {
|
|
437
437
|
if (!te.value || !k.value) return;
|
|
@@ -439,38 +439,38 @@ const ll = {
|
|
|
439
439
|
if (!(l instanceof Element) || !k.value.contains(l) || l.classList && l.classList.contains("range-handle")) return;
|
|
440
440
|
e.preventDefault();
|
|
441
441
|
const t = e.targetTouches && e.targetTouches[0] ? e.targetTouches[0] : null;
|
|
442
|
-
t &&
|
|
442
|
+
t && Je(t.clientX);
|
|
443
443
|
}
|
|
444
|
-
function
|
|
444
|
+
function Je(e) {
|
|
445
445
|
if (!te.value) return;
|
|
446
446
|
const l = Pe(Ge.value), o = Pe(e) - l, r = Math.max(1, Oe.value - Ce.value);
|
|
447
|
-
let
|
|
448
|
-
const
|
|
449
|
-
|
|
450
|
-
const
|
|
451
|
-
_(
|
|
447
|
+
let h = Math.round(Ce.value + o);
|
|
448
|
+
const x = a.min, v = a.max - r;
|
|
449
|
+
h < x && (h = x), h > v && (h = v);
|
|
450
|
+
const z = h + r;
|
|
451
|
+
_(h), ee(z);
|
|
452
452
|
}
|
|
453
453
|
function Ft() {
|
|
454
|
-
|
|
454
|
+
Ye();
|
|
455
455
|
}
|
|
456
456
|
function It() {
|
|
457
|
-
|
|
457
|
+
Ye();
|
|
458
458
|
}
|
|
459
|
-
function
|
|
459
|
+
function Ye() {
|
|
460
460
|
te.value = !1, T && B && window.removeEventListener(T, B), A && V && window.removeEventListener(A, V), T = A = null, B = V = null;
|
|
461
461
|
}
|
|
462
|
-
const F =
|
|
462
|
+
const F = d(!1), le = d(null), ae = d(null), Ne = d(1), ce = d(1), W = d(!1);
|
|
463
463
|
function qe() {
|
|
464
464
|
le.value && (Ne.value = le.value.getBoundingClientRect().width);
|
|
465
465
|
}
|
|
466
466
|
function Ke() {
|
|
467
467
|
ae.value && (ce.value = ae.value.getBoundingClientRect().width);
|
|
468
468
|
}
|
|
469
|
-
const Qe =
|
|
469
|
+
const Qe = d(0);
|
|
470
470
|
function je(e) {
|
|
471
471
|
Qe.value = e === "start" ? 1 : 0;
|
|
472
472
|
}
|
|
473
|
-
const ne =
|
|
473
|
+
const ne = d(!1), ie = d({
|
|
474
474
|
width: 0,
|
|
475
475
|
left: 0
|
|
476
476
|
});
|
|
@@ -481,10 +481,10 @@ const ll = {
|
|
|
481
481
|
}
|
|
482
482
|
const e = le.value.getBoundingClientRect(), l = ae.value.getBoundingClientRect();
|
|
483
483
|
ne.value = e.x + e.width > l.x;
|
|
484
|
-
const t = e.x + e.width / 2, o = l.x + l.width / 2, r = e.width + l.width,
|
|
484
|
+
const t = e.x + e.width / 2, o = l.x + l.width / 2, r = e.width + l.width, h = (t + o) / 2;
|
|
485
485
|
ie.value = {
|
|
486
486
|
width: r,
|
|
487
|
-
left:
|
|
487
|
+
left: h - r / 2
|
|
488
488
|
};
|
|
489
489
|
}), Ut(() => {
|
|
490
490
|
qe(), Ke();
|
|
@@ -511,11 +511,11 @@ const ll = {
|
|
|
511
511
|
const l = Math.floor(e - a.min);
|
|
512
512
|
return Math.min(Math.max(0, l), ue.value);
|
|
513
513
|
}
|
|
514
|
-
function
|
|
514
|
+
function zt(e) {
|
|
515
515
|
const l = Math.ceil(e - a.min);
|
|
516
516
|
return Math.min(Math.max(0, l), ue.value);
|
|
517
517
|
}
|
|
518
|
-
const I = s(() => _e(w.value)), X = s(() =>
|
|
518
|
+
const I = s(() => _e(w.value)), X = s(() => zt(S.value)), Dt = s(() => {
|
|
519
519
|
if (!Ve.value.length) return null;
|
|
520
520
|
if (E.value >= I.value && E.value < X.value) {
|
|
521
521
|
const e = E.value;
|
|
@@ -543,7 +543,7 @@ const ll = {
|
|
|
543
543
|
onTouchend: l[11] || (l[11] = (t) => W.value = !1)
|
|
544
544
|
}, [
|
|
545
545
|
P("div", ll, [
|
|
546
|
-
n.valueStart !== n.refreshStartPoint || n.valueEnd !==
|
|
546
|
+
n.valueStart !== n.refreshStartPoint || n.valueEnd !== ht.value ? (u(), i("div", al, [
|
|
547
547
|
n.useResetSlot ? Zt(e.$slots, "reset-action", {
|
|
548
548
|
key: 1,
|
|
549
549
|
reset: Fe
|
|
@@ -558,7 +558,7 @@ const ll = {
|
|
|
558
558
|
}),
|
|
559
559
|
onClick: Fe
|
|
560
560
|
}, [
|
|
561
|
-
|
|
561
|
+
Jt(el, {
|
|
562
562
|
name: "refresh",
|
|
563
563
|
stroke: n.textColor
|
|
564
564
|
}, null, 8, ["stroke"])
|
|
@@ -619,11 +619,11 @@ const ll = {
|
|
|
619
619
|
style: { opacity: "0.6" }
|
|
620
620
|
}, null, 8, sl)) : (u(), i(M, { key: 2 }, [
|
|
621
621
|
(u(!0), i(M, null, R(j.value.filter((t) => t.type === "bar"), (t, o) => (u(), i("g", null, [
|
|
622
|
-
(u(!0), i(M, null, R(t.points, (r,
|
|
622
|
+
(u(!0), i(M, null, R(t.points, (r, h) => (u(), i(M, null, [
|
|
623
623
|
t.isVisible && !isNaN(r.y) ? (u(), i("rect", {
|
|
624
624
|
key: 0,
|
|
625
|
-
x: We(r.x, o,
|
|
626
|
-
width: Xe(o,
|
|
625
|
+
x: We(r.x, o, h),
|
|
626
|
+
width: Xe(o, h),
|
|
627
627
|
y: r.v >= 0 ? r.y : r.y0,
|
|
628
628
|
height: r.v >= 0 ? r.y0 - r.y : r.y - r.y0,
|
|
629
629
|
fill: t.color,
|
|
@@ -647,7 +647,7 @@ const ll = {
|
|
|
647
647
|
cy: o.y,
|
|
648
648
|
r: "2",
|
|
649
649
|
fill: t.color,
|
|
650
|
-
stroke:
|
|
650
|
+
stroke: y.value,
|
|
651
651
|
"stroke-width": "0.5",
|
|
652
652
|
style: { opacity: "0.6" }
|
|
653
653
|
}, null, 8, ml))), 128)) : m("", !0)
|
|
@@ -658,18 +658,18 @@ const ll = {
|
|
|
658
658
|
width: C.value.width < 0 ? 0 : C.value.width,
|
|
659
659
|
height: Math.max(g.value.height, 0),
|
|
660
660
|
y: 0,
|
|
661
|
-
fill:
|
|
661
|
+
fill: y.value,
|
|
662
662
|
rx: n.minimapSelectionRadius,
|
|
663
663
|
stroke: "none"
|
|
664
|
-
}, null, 8,
|
|
664
|
+
}, null, 8, hl),
|
|
665
665
|
P("rect", {
|
|
666
666
|
x: C.value.x,
|
|
667
667
|
width: C.value.width < 0 ? 0 : C.value.width,
|
|
668
668
|
height: Math.max(g.value.height, 0),
|
|
669
669
|
y: 0,
|
|
670
670
|
rx: n.minimapSelectionRadius,
|
|
671
|
-
fill:
|
|
672
|
-
}, null, 8,
|
|
671
|
+
fill: y.value
|
|
672
|
+
}, null, 8, dl),
|
|
673
673
|
P("rect", {
|
|
674
674
|
x: C.value.x,
|
|
675
675
|
width: C.value.width < 0 ? 0 : C.value.width,
|
|
@@ -681,14 +681,14 @@ const ll = {
|
|
|
681
681
|
opacity: n.minimapSelectedColorOpacity
|
|
682
682
|
})
|
|
683
683
|
}, null, 12, fl),
|
|
684
|
-
E.value !== null && !F.value ? (u(), i("line",
|
|
684
|
+
E.value !== null && !F.value ? (u(), i("line", Yt(qt({ key: 3 }, Dt.value)), null, 16)) : m("", !0),
|
|
685
685
|
!n.minimapMerged && Mt.value < 0 ? (u(), i("line", {
|
|
686
686
|
key: 4,
|
|
687
687
|
class: "slicer-minimap-zero-line",
|
|
688
688
|
x1: 0,
|
|
689
689
|
x2: g.value.width,
|
|
690
|
-
y1:
|
|
691
|
-
y2:
|
|
690
|
+
y1: ze.value,
|
|
691
|
+
y2: ze.value,
|
|
692
692
|
stroke: n.minimapFrameColor,
|
|
693
693
|
"stroke-width": "0.5"
|
|
694
694
|
}, null, 8, gl)) : m("", !0),
|
|
@@ -700,7 +700,7 @@ const ll = {
|
|
|
700
700
|
fill: `url(#${Ae.value})`,
|
|
701
701
|
stroke: "none",
|
|
702
702
|
style: { opacity: "1" }
|
|
703
|
-
}, null, 8,
|
|
703
|
+
}, null, 8, yl)) : m("", !0),
|
|
704
704
|
c.value.selectionSet ? (u(), i("path", {
|
|
705
705
|
key: 1,
|
|
706
706
|
d: `M ${c.value.selectionSet}`,
|
|
@@ -709,20 +709,20 @@ const ll = {
|
|
|
709
709
|
"stroke-width": "2",
|
|
710
710
|
"stroke-linecap": "round",
|
|
711
711
|
"stroke-linejoin": "round"
|
|
712
|
-
}, null, 8,
|
|
712
|
+
}, null, 8, xl)) : m("", !0)
|
|
713
713
|
], 64)) : m("", !0)
|
|
714
714
|
], 64)) : (u(), i("g", Ml, [
|
|
715
715
|
(u(!0), i(M, null, R(j.value.filter((t) => t.type === "bar"), (t, o) => (u(), i("g", null, [
|
|
716
|
-
(u(!0), i(M, null, R(t.points, (r,
|
|
716
|
+
(u(!0), i(M, null, R(t.points, (r, h) => (u(), i(M, null, [
|
|
717
717
|
t.isVisible && !isNaN(r.y) ? (u(), i("rect", {
|
|
718
718
|
key: 0,
|
|
719
|
-
x: We(r.x, o,
|
|
720
|
-
width: Xe(o,
|
|
719
|
+
x: We(r.x, o, h),
|
|
720
|
+
width: Xe(o, h),
|
|
721
721
|
y: r.v >= 0 ? r.y : r.y0,
|
|
722
722
|
height: r.v >= 0 ? r.y0 - r.y : r.y - r.y0,
|
|
723
723
|
fill: t.color,
|
|
724
724
|
style: L({
|
|
725
|
-
opacity:
|
|
725
|
+
opacity: h >= n.valueStart && h <= n.valueEnd - 1 ? 1 : 0
|
|
726
726
|
})
|
|
727
727
|
}, null, 12, bl)) : m("", !0)
|
|
728
728
|
], 64))), 256))
|
|
@@ -748,7 +748,7 @@ const ll = {
|
|
|
748
748
|
y: 0,
|
|
749
749
|
width: 8,
|
|
750
750
|
height: g.value.height,
|
|
751
|
-
fill:
|
|
751
|
+
fill: y.value,
|
|
752
752
|
stroke: n.textColor,
|
|
753
753
|
rx: 3
|
|
754
754
|
}, null, 8, kl)) : m("", !0),
|
|
@@ -759,7 +759,7 @@ const ll = {
|
|
|
759
759
|
y: 0,
|
|
760
760
|
width: 8,
|
|
761
761
|
height: g.value.height,
|
|
762
|
-
fill:
|
|
762
|
+
fill: y.value,
|
|
763
763
|
stroke: n.textColor,
|
|
764
764
|
rx: 3
|
|
765
765
|
}, null, 8, wl)) : m("", !0),
|
|
@@ -769,7 +769,7 @@ const ll = {
|
|
|
769
769
|
cx: c.value.firstPlot.x,
|
|
770
770
|
cy: c.value.firstPlot.y,
|
|
771
771
|
"stroke-width": "0.5",
|
|
772
|
-
stroke:
|
|
772
|
+
stroke: y.value,
|
|
773
773
|
r: "4",
|
|
774
774
|
fill: n.minimapLineColor
|
|
775
775
|
}, null, 8, Sl)) : m("", !0),
|
|
@@ -778,14 +778,14 @@ const ll = {
|
|
|
778
778
|
cx: c.value.firstPlot.x,
|
|
779
779
|
cy: c.value.firstPlot.y,
|
|
780
780
|
r: "2",
|
|
781
|
-
fill:
|
|
781
|
+
fill: y.value
|
|
782
782
|
}, null, 8, Cl)) : m("", !0),
|
|
783
783
|
c.value && c.value.lastPlot && c.value.lastPlot.value !== null ? (u(), i("circle", {
|
|
784
784
|
key: 2,
|
|
785
785
|
cx: c.value.lastPlot.x,
|
|
786
786
|
cy: c.value.lastPlot.y,
|
|
787
787
|
"stroke-width": "0.5",
|
|
788
|
-
stroke:
|
|
788
|
+
stroke: y.value,
|
|
789
789
|
r: "4",
|
|
790
790
|
fill: n.minimapLineColor
|
|
791
791
|
}, null, 8, Pl)) : m("", !0),
|
|
@@ -794,7 +794,7 @@ const ll = {
|
|
|
794
794
|
cx: c.value.lastPlot.x,
|
|
795
795
|
cy: c.value.lastPlot.y,
|
|
796
796
|
r: "2",
|
|
797
|
-
fill:
|
|
797
|
+
fill: y.value
|
|
798
798
|
}, null, 8, Nl)) : m("", !0)
|
|
799
799
|
], 64)) : (u(), i("g", Rl, [
|
|
800
800
|
(u(!0), i(M, null, R(j.value.filter((t) => t.type === "line"), (t) => (u(), i("g", {
|
|
@@ -806,7 +806,7 @@ const ll = {
|
|
|
806
806
|
cy: o.y,
|
|
807
807
|
r: "2.5",
|
|
808
808
|
fill: t.color,
|
|
809
|
-
stroke:
|
|
809
|
+
stroke: y.value,
|
|
810
810
|
"stroke-width": "0.5"
|
|
811
811
|
}, null, 8, Ll))), 128)) : m("", !0),
|
|
812
812
|
t && t.firstPlot && t.isVisible && t.firstPlot.value !== null ? (u(), i("circle", {
|
|
@@ -814,7 +814,7 @@ const ll = {
|
|
|
814
814
|
cx: t.firstPlot.x,
|
|
815
815
|
cy: t.firstPlot.y,
|
|
816
816
|
"stroke-width": "0.5",
|
|
817
|
-
stroke:
|
|
817
|
+
stroke: y.value,
|
|
818
818
|
r: "4",
|
|
819
819
|
fill: t.color
|
|
820
820
|
}, null, 8, $l)) : m("", !0),
|
|
@@ -823,14 +823,14 @@ const ll = {
|
|
|
823
823
|
cx: t.firstPlot.x,
|
|
824
824
|
cy: t.firstPlot.y,
|
|
825
825
|
r: "2",
|
|
826
|
-
fill:
|
|
826
|
+
fill: y.value
|
|
827
827
|
}, null, 8, El)) : m("", !0),
|
|
828
828
|
t && t.lastPlot && t.isVisible && t.lastPlot.value !== null ? (u(), i("circle", {
|
|
829
829
|
key: 3,
|
|
830
830
|
cx: t.lastPlot.x,
|
|
831
831
|
cy: t.lastPlot.y,
|
|
832
832
|
"stroke-width": "0.5",
|
|
833
|
-
stroke:
|
|
833
|
+
stroke: y.value,
|
|
834
834
|
r: "4",
|
|
835
835
|
fill: t.color
|
|
836
836
|
}, null, 8, Tl)) : m("", !0),
|
|
@@ -839,7 +839,7 @@ const ll = {
|
|
|
839
839
|
cx: t.lastPlot.x,
|
|
840
840
|
cy: t.lastPlot.y,
|
|
841
841
|
r: "2",
|
|
842
|
-
fill:
|
|
842
|
+
fill: y.value
|
|
843
843
|
}, null, 8, Al)) : m("", !0)
|
|
844
844
|
]))), 128))
|
|
845
845
|
])),
|
|
@@ -856,7 +856,7 @@ const ll = {
|
|
|
856
856
|
onMouseup: l[1] || (l[1] = (r) => F.value = !1),
|
|
857
857
|
onMouseenter: (r) => Pt(t),
|
|
858
858
|
onMouseleave: l[2] || (l[2] = (r) => {
|
|
859
|
-
E.value = null,
|
|
859
|
+
E.value = null, Y("trapMouse", null);
|
|
860
860
|
})
|
|
861
861
|
}, null, 44, Bl))), 256))
|
|
862
862
|
], 8, il))
|
|
@@ -866,7 +866,7 @@ const ll = {
|
|
|
866
866
|
style: L({ visibility: b.value && n.minimapCompact ? "hidden" : "visible" })
|
|
867
867
|
}, null, 4),
|
|
868
868
|
P("div", {
|
|
869
|
-
class:
|
|
869
|
+
class: J({
|
|
870
870
|
"range-highlight": !0,
|
|
871
871
|
move: n.enableSelectionDrag
|
|
872
872
|
}),
|
|
@@ -883,7 +883,7 @@ const ll = {
|
|
|
883
883
|
ref_key: "rangeStart",
|
|
884
884
|
ref: ke,
|
|
885
885
|
type: "range",
|
|
886
|
-
class:
|
|
886
|
+
class: J({
|
|
887
887
|
"range-left": !0,
|
|
888
888
|
"range-handle": !0,
|
|
889
889
|
"range-minimap": b.value && n.verticalHandles,
|
|
@@ -892,12 +892,12 @@ const ll = {
|
|
|
892
892
|
min: n.min,
|
|
893
893
|
max: $.value && n.minimapCompact ? K.value : n.max,
|
|
894
894
|
step: 1,
|
|
895
|
-
"onUpdate:modelValue": l[5] || (l[5] = (t) =>
|
|
895
|
+
"onUpdate:modelValue": l[5] || (l[5] = (t) => xe.value = t),
|
|
896
896
|
onMouseenter: l[6] || (l[6] = (t) => je("start"))
|
|
897
897
|
}, null, 42, Vl)), [
|
|
898
898
|
[
|
|
899
899
|
nt,
|
|
900
|
-
|
|
900
|
+
xe.value,
|
|
901
901
|
void 0,
|
|
902
902
|
{ number: !0 }
|
|
903
903
|
]
|
|
@@ -907,7 +907,7 @@ const ll = {
|
|
|
907
907
|
ref_key: "rangeEnd",
|
|
908
908
|
ref: we,
|
|
909
909
|
type: "range",
|
|
910
|
-
class:
|
|
910
|
+
class: J({
|
|
911
911
|
"range-right": !0,
|
|
912
912
|
"range-handle": !0,
|
|
913
913
|
"range-minimap": b.value && n.verticalHandles,
|
|
@@ -930,7 +930,7 @@ const ll = {
|
|
|
930
930
|
key: 3,
|
|
931
931
|
ref_key: "tooltipLeft",
|
|
932
932
|
ref: le,
|
|
933
|
-
class:
|
|
933
|
+
class: J({
|
|
934
934
|
"range-tooltip": !0,
|
|
935
935
|
"range-tooltip-visible": W.value,
|
|
936
936
|
"range-tooltip-arrow": N.value.arrowLeft && !n.verticalHandles,
|
|
@@ -940,7 +940,7 @@ const ll = {
|
|
|
940
940
|
left: N.value.tooltipLeft,
|
|
941
941
|
color: me(Ee)(n.selectColor),
|
|
942
942
|
backgroundColor: n.selectColor,
|
|
943
|
-
border: `1px solid ${
|
|
943
|
+
border: `1px solid ${y.value}`,
|
|
944
944
|
zIndex: `${Qe.value + 4}`,
|
|
945
945
|
visibility: ne.value || n.labelLeft === n.labelRight ? "hidden" : "visible",
|
|
946
946
|
top: b.value && n.minimapCompact ? "calc(-100% - 18px)" : "-100%"
|
|
@@ -949,7 +949,7 @@ const ll = {
|
|
|
949
949
|
(ne.value || n.labelLeft === n.labelRight) && (n.labelLeft || n.labelRight) ? (u(), i("div", {
|
|
950
950
|
key: 4,
|
|
951
951
|
ref: "tooltipMerge",
|
|
952
|
-
class:
|
|
952
|
+
class: J({
|
|
953
953
|
"range-tooltip": !0,
|
|
954
954
|
"range-tooltip-visible": W.value,
|
|
955
955
|
"range-tooltip-arrow": !0,
|
|
@@ -961,7 +961,7 @@ const ll = {
|
|
|
961
961
|
width: ie.value.width + "px",
|
|
962
962
|
color: me(Ee)(n.selectColor),
|
|
963
963
|
backgroundColor: n.selectColor,
|
|
964
|
-
border: `1px solid ${
|
|
964
|
+
border: `1px solid ${y.value}`,
|
|
965
965
|
zIndex: "4",
|
|
966
966
|
top: b.value && n.minimapCompact ? "calc(-100% - 18px)" : "-100%"
|
|
967
967
|
})
|
|
@@ -970,7 +970,7 @@ const ll = {
|
|
|
970
970
|
key: 5,
|
|
971
971
|
ref_key: "tooltipRight",
|
|
972
972
|
ref: ae,
|
|
973
|
-
class:
|
|
973
|
+
class: J({
|
|
974
974
|
"range-tooltip": !0,
|
|
975
975
|
"range-tooltip-visible": W.value,
|
|
976
976
|
"range-tooltip-arrow": N.value.arrowRight && !n.verticalHandles,
|
|
@@ -980,7 +980,7 @@ const ll = {
|
|
|
980
980
|
left: N.value.tooltipRight,
|
|
981
981
|
color: me(Ee)(n.selectColor),
|
|
982
982
|
backgroundColor: n.selectColor,
|
|
983
|
-
border: `1px solid ${
|
|
983
|
+
border: `1px solid ${y.value}`,
|
|
984
984
|
zIndex: "4",
|
|
985
985
|
visibility: ne.value || n.labelLeft === n.labelRight ? "hidden" : "visible",
|
|
986
986
|
top: b.value && n.minimapCompact ? "calc(-100% - 18px)" : "-100%"
|