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