vue-data-ui 2.4.16 → 2.4.18
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-D2hqxUFF.cjs → Arrow-Bcr8E3LL.cjs} +1 -1
- package/dist/{Arrow-DjLUfj3I.js → Arrow-DJ_q8Mp-.js} +1 -1
- package/dist/{BaseIcon-Prt1oCQy.cjs → BaseIcon-DUo61uTK.cjs} +1 -1
- package/dist/{BaseIcon-CbpX2G1z.js → BaseIcon-DnSWchyz.js} +6 -4
- package/dist/{DataTable-BBgny7Xn.cjs → DataTable-BNr5UHgv.cjs} +1 -1
- package/dist/{DataTable-Dqxz-Alv.js → DataTable-Dq3jNPBZ.js} +2 -2
- package/dist/{Legend-H7RcvGcF.cjs → Legend-CPUZQjfJ.cjs} +1 -1
- package/dist/{Legend-qZAWBE89.js → Legend-CkcHowoQ.js} +1 -1
- package/dist/{PackageVersion-DkcHjYNR.js → PackageVersion-DIlyVdX8.js} +1 -1
- package/dist/{PackageVersion-D0qCtRhG.cjs → PackageVersion-jHZaGBmK.cjs} +1 -1
- package/dist/PenAndPaper-DZMrk8wy.js +415 -0
- package/dist/PenAndPaper-dZiEH0m2.cjs +1 -0
- package/dist/{Shape-BDC0jxZ3.js → Shape-BKbfblrd.js} +1 -1
- package/dist/{Shape-eSbBghIf.cjs → Shape-Ck4xWZB_.cjs} +1 -1
- package/dist/Slicer-C2JTt4Gx.cjs +1 -0
- package/dist/{Slicer-C_ffaPqq.js → Slicer-CqIGpO6o.js} +91 -89
- package/dist/{Title-BXyUVn4l.cjs → Title-CD9e6mQe.cjs} +1 -1
- package/dist/{Title-CJxJTQnv.js → Title-CXsIzom7.js} +1 -1
- package/dist/{Tooltip-Bj9mOvCn.cjs → Tooltip-DcHF6dqp.cjs} +1 -1
- package/dist/{Tooltip-D3PxH9Yr.js → Tooltip-UUJts0wh.js} +1 -1
- package/dist/{index-ConhUMxI.cjs → index-1cntUuUo.cjs} +1 -1
- package/dist/{index-DtgCF1dT.js → index-Du8vv3oo.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +1 -1
- package/dist/types/vue-data-ui.d.ts +1 -1
- package/dist/{useNestedProp-Bf_wk0w0.cjs → useNestedProp-Bf-uAsYz.cjs} +1 -1
- package/dist/{useNestedProp-BdDhoTT1.js → useNestedProp-DXOznrXc.js} +1 -1
- package/dist/{usePrinter-B47_seIG.cjs → usePrinter-BgfmrF5f.cjs} +1 -1
- package/dist/{usePrinter-NpyT5xn6.js → usePrinter-Dg442RJ0.js} +3 -2
- package/dist/{vue-data-ui-Ddtj4Mek.js → vue-data-ui-DZdNMqD1.js} +58 -58
- package/dist/{vue-data-ui-DB1uyxsy.cjs → vue-data-ui-OivfRME5.cjs} +1 -1
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-anfzldet.js → vue-ui-3d-bar-DdJ1cppR.js} +9 -9
- package/dist/{vue-ui-3d-bar-Ds4WyNIk.cjs → vue-ui-3d-bar-HiO1W-dS.cjs} +1 -1
- package/dist/{vue-ui-accordion-EBl2EIy5.cjs → vue-ui-accordion-BJSgJoOq.cjs} +1 -1
- package/dist/{vue-ui-accordion-B3F_RzZJ.js → vue-ui-accordion-CbLBormQ.js} +3 -3
- package/dist/{vue-ui-age-pyramid-LkSWkIF-.js → vue-ui-age-pyramid-BkLgQhJB.js} +10 -10
- package/dist/{vue-ui-age-pyramid-BQDPzBbb.cjs → vue-ui-age-pyramid-C-jv9x5Q.cjs} +1 -1
- package/dist/{vue-ui-annotator-hg0hrQ4M.js → vue-ui-annotator-CuH9kcj1.js} +1 -1
- package/dist/{vue-ui-annotator-BWCLVaJg.cjs → vue-ui-annotator-DboA8hvg.cjs} +1 -1
- package/dist/{vue-ui-bullet-5Ncai2bG.cjs → vue-ui-bullet-0y6Fh0jT.cjs} +1 -1
- package/dist/{vue-ui-bullet-BE4BC3Lm.js → vue-ui-bullet-Bz2EVbNp.js} +8 -8
- package/dist/{vue-ui-candlestick-CmOe5S2a.js → vue-ui-candlestick-44ZvzC6g.js} +11 -11
- package/dist/{vue-ui-candlestick-CsrO2_dW.cjs → vue-ui-candlestick-B9v0uSd-.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-OJ-EZXBN.js → vue-ui-carousel-table-BJSMAKAg.js} +4 -4
- package/dist/{vue-ui-carousel-table-DNFw32Re.cjs → vue-ui-carousel-table-DFn3nefQ.cjs} +1 -1
- package/dist/{vue-ui-chestnut-BIwKV_Me.js → vue-ui-chestnut-3-GlJF3y.js} +8 -8
- package/dist/{vue-ui-chestnut-BD5cEuau.cjs → vue-ui-chestnut-h5fYGyqN.cjs} +1 -1
- package/dist/{vue-ui-cursor-6AnJw5dW.cjs → vue-ui-cursor-CB6Y5Hna.cjs} +1 -1
- package/dist/{vue-ui-cursor-Bs22kPh_.js → vue-ui-cursor-DUcdU0jQ.js} +2 -2
- package/dist/{vue-ui-dashboard-BUHKjLLQ.js → vue-ui-dashboard-B63ZDwnY.js} +2 -2
- package/dist/{vue-ui-dashboard-B1_ZmGck.cjs → vue-ui-dashboard-DKyohtO6.cjs} +1 -1
- package/dist/{vue-ui-digits-ZRwez97T.js → vue-ui-digits-BB2CzENa.js} +2 -2
- package/dist/{vue-ui-digits-C-g6ZMiJ.cjs → vue-ui-digits-BFyJY1ZF.cjs} +1 -1
- package/dist/{vue-ui-donut-BEau-Lsx.cjs → vue-ui-donut-BvEtK4Dg.cjs} +1 -1
- package/dist/{vue-ui-donut-bpO1nC_A.js → vue-ui-donut-bp3n8bhd.js} +11 -11
- package/dist/{vue-ui-donut-evolution-P_70k4ZK.js → vue-ui-donut-evolution-CVzJyTtt.js} +11 -11
- package/dist/{vue-ui-donut-evolution-Bhtrexhs.cjs → vue-ui-donut-evolution-Cfx9RGUr.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-BF4kFnaH.js → vue-ui-dumbbell-B6lsMMoC.js} +10 -10
- package/dist/{vue-ui-dumbbell-BIhtFBfx.cjs → vue-ui-dumbbell-rz5GJY6S.cjs} +1 -1
- package/dist/{vue-ui-flow-VejnWAwC.js → vue-ui-flow-4Z8diwlc.js} +9 -9
- package/dist/{vue-ui-flow-aihghAzc.cjs → vue-ui-flow-Baw2nrEk.cjs} +1 -1
- package/dist/{vue-ui-galaxy-BYqLQviQ.js → vue-ui-galaxy-Cosob_sW.js} +11 -11
- package/dist/{vue-ui-galaxy-D9-PvHlW.cjs → vue-ui-galaxy-Cq1ilf4w.cjs} +1 -1
- package/dist/{vue-ui-gauge-DwgxIcWn.js → vue-ui-gauge-CAst0Hbz.js} +7 -7
- package/dist/{vue-ui-gauge-CNeT3j79.cjs → vue-ui-gauge-CIblJCzU.cjs} +1 -1
- package/dist/{vue-ui-gizmo-CI0Noh4J.cjs → vue-ui-gizmo-BtaLUSzF.cjs} +1 -1
- package/dist/{vue-ui-gizmo-CaIENr2y.js → vue-ui-gizmo-C0MePE-n.js} +3 -3
- package/dist/{vue-ui-heatmap-Bi41PsVf.cjs → vue-ui-heatmap-Bvl5jeq0.cjs} +1 -1
- package/dist/{vue-ui-heatmap-T0RZPJNi.js → vue-ui-heatmap-CRqwdJgL.js} +10 -10
- package/dist/{vue-ui-kpi-BjHN5ees.js → vue-ui-kpi-BYVTXzsE.js} +3 -3
- package/dist/{vue-ui-kpi-DzINo7qU.cjs → vue-ui-kpi-uDJfL92r.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-KKMt90P1.cjs → vue-ui-mini-loader-ChBgEsJH.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-Dmoycj4D.js → vue-ui-mini-loader-V4AeFcls.js} +2 -2
- package/dist/{vue-ui-molecule-CmqUJWcJ.js → vue-ui-molecule-BIG3xqX4.js} +11 -11
- package/dist/{vue-ui-molecule-BuY9zPWp.cjs → vue-ui-molecule-CTWBo6JZ.cjs} +1 -1
- package/dist/{vue-ui-mood-radar-DN6ksCAR.cjs → vue-ui-mood-radar-BjscPZ3t.cjs} +1 -1
- package/dist/{vue-ui-mood-radar-Bfxtfqhs.js → vue-ui-mood-radar-DEU3q1rh.js} +11 -11
- package/dist/{vue-ui-nested-donuts-DrWv-fzC.cjs → vue-ui-nested-donuts-CCeMqR2K.cjs} +1 -1
- package/dist/{vue-ui-nested-donuts-DhuIlTFL.js → vue-ui-nested-donuts-DzkJpv1L.js} +11 -11
- package/dist/{vue-ui-onion-DqbR_fES.js → vue-ui-onion-CG1J6PgK.js} +11 -11
- package/dist/{vue-ui-onion-BUn_3_0m.cjs → vue-ui-onion-p0jbOnJK.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-B5J5Xgsx.js → vue-ui-parallel-coordinate-plot-CPzRnr-9.js} +12 -12
- package/dist/{vue-ui-parallel-coordinate-plot-CbiA8q_i.cjs → vue-ui-parallel-coordinate-plot-CfMiFmxS.cjs} +1 -1
- package/dist/{vue-ui-quadrant-D87ZPZhF.js → vue-ui-quadrant-ClCxT2AI.js} +12 -12
- package/dist/{vue-ui-quadrant-Cw_4_8qY.cjs → vue-ui-quadrant-yRD_fDnz.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-C82CfpyH.cjs → vue-ui-quick-chart-BRS49Yjq.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-B7cVyLVD.js → vue-ui-quick-chart-C43d4yYf.js} +9 -9
- package/dist/{vue-ui-radar-DBvn8B7b.js → vue-ui-radar-DMdIKlsF.js} +12 -12
- package/dist/{vue-ui-radar-DXS6BRSk.cjs → vue-ui-radar-yGpqXIP9.cjs} +1 -1
- package/dist/{vue-ui-rating-Dk4iTClP.js → vue-ui-rating-CvyAd2pd.js} +2 -2
- package/dist/{vue-ui-rating-DdsDvtQB.cjs → vue-ui-rating-uMQV8jfO.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-CTzPZrkc.js → vue-ui-relation-circle-7OsE9dTi.js} +7 -7
- package/dist/{vue-ui-relation-circle-B3A8jwOU.cjs → vue-ui-relation-circle-CfKbE0u5.cjs} +1 -1
- package/dist/{vue-ui-rings-Boi9uLxr.js → vue-ui-rings-DEBWoZGK.js} +11 -11
- package/dist/{vue-ui-rings-Wv-ucypW.cjs → vue-ui-rings-Y-R2u7PA.cjs} +1 -1
- package/dist/{vue-ui-scatter-CM4upQYq.js → vue-ui-scatter-CcV0qPiB.js} +12 -12
- package/dist/{vue-ui-scatter-CWcULri7.cjs → vue-ui-scatter-DC1aciPf.cjs} +1 -1
- package/dist/{vue-ui-screenshot-voR3dKsx.cjs → vue-ui-screenshot-CLG6BeMj.cjs} +1 -1
- package/dist/{vue-ui-screenshot-B-bxd1nI.js → vue-ui-screenshot-OppxahJp.js} +1 -1
- package/dist/{vue-ui-skeleton-9CBMqTVb.cjs → vue-ui-skeleton-B4O4ITgh.cjs} +1 -1
- package/dist/{vue-ui-skeleton-C3iXaL49.js → vue-ui-skeleton-BTBXEZ65.js} +3 -3
- package/dist/{vue-ui-smiley-DZU3yvxd.cjs → vue-ui-smiley-BTawY9fU.cjs} +1 -1
- package/dist/{vue-ui-smiley-BtDsA0Zp.js → vue-ui-smiley-CnHeU-81.js} +2 -2
- package/dist/{vue-ui-spark-trend-a1Y1HAcb.js → vue-ui-spark-trend-Caa5WzAQ.js} +5 -5
- package/dist/{vue-ui-spark-trend-C0z3aQw0.cjs → vue-ui-spark-trend-Chx3weIR.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-n0x0Ojvl.js → vue-ui-sparkbar-CEHqnsfC.js} +4 -4
- package/dist/{vue-ui-sparkbar-B0ODWAT_.cjs → vue-ui-sparkbar-DE4Z0dai.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-BwdfA6LO.js → vue-ui-sparkgauge-BQL13REe.js} +4 -4
- package/dist/{vue-ui-sparkgauge-Dsdqik7O.cjs → vue-ui-sparkgauge-BhslFPrG.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-BSlf36JQ.js → vue-ui-sparkhistogram-BgC2lzPr.js} +5 -5
- package/dist/{vue-ui-sparkhistogram-DCi9ehzT.cjs → vue-ui-sparkhistogram-Bh5RiT33.cjs} +1 -1
- package/dist/{vue-ui-sparkline-d8aMNAFt.cjs → vue-ui-sparkline-CEgZJqSj.cjs} +1 -1
- package/dist/{vue-ui-sparkline-DSWvk3uJ.js → vue-ui-sparkline-CvkgpQZg.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-TtMuNP_L.js → vue-ui-sparkstackbar-1VakN_2O.js} +5 -5
- package/dist/{vue-ui-sparkstackbar-CPbd9U8E.cjs → vue-ui-sparkstackbar-ZX-Tn_bO.cjs} +1 -1
- package/dist/{vue-ui-stackbar-DeIWk3RT.js → vue-ui-stackbar-bKIvEvN0.js} +12 -12
- package/dist/{vue-ui-stackbar-CYf2GKcg.cjs → vue-ui-stackbar-wlLnS9_Z.cjs} +1 -1
- package/dist/{vue-ui-strip-plot-DpAJn4ei.cjs → vue-ui-strip-plot-BowR8Xm7.cjs} +1 -1
- package/dist/{vue-ui-strip-plot-CeIaBpsB.js → vue-ui-strip-plot-KAHFdtoc.js} +11 -11
- package/dist/{vue-ui-table-CSaQrbjJ.cjs → vue-ui-table-CAW-Ad5R.cjs} +1 -1
- package/dist/{vue-ui-table-utOV9nTl.js → vue-ui-table-ChRJzySp.js} +1 -1
- package/dist/{vue-ui-table-heatmap-DwHvhXeS.js → vue-ui-table-heatmap--OvflQ2g.js} +4 -4
- package/dist/{vue-ui-table-heatmap-Ccun0wVJ.cjs → vue-ui-table-heatmap-Bf7b-Mhs.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-c9KUfM5n.js → vue-ui-table-sparkline-BbvFooL9.js} +5 -5
- package/dist/{vue-ui-table-sparkline-ByDSoYwt.cjs → vue-ui-table-sparkline-D4438gRF.cjs} +1 -1
- package/dist/{vue-ui-thermometer-D7NdF_tC.js → vue-ui-thermometer-C8Li5-Bb.js} +7 -7
- package/dist/{vue-ui-thermometer-B9QVfoF-.cjs → vue-ui-thermometer-d8zTsmdG.cjs} +1 -1
- package/dist/{vue-ui-timer-BwFyHPOk.js → vue-ui-timer-BxUknIeZ.js} +5 -5
- package/dist/{vue-ui-timer-DRonyxd9.cjs → vue-ui-timer-DGi36RFA.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-DlcSqk5B.cjs → vue-ui-tiremarks-C5lbg_NJ.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-urcNYqvB.js → vue-ui-tiremarks-D1hPqv8T.js} +7 -7
- package/dist/{vue-ui-treemap-CjSxg60e.cjs → vue-ui-treemap-BEHohiHK.cjs} +1 -1
- package/dist/{vue-ui-treemap-D9FUy74E.js → vue-ui-treemap-CuRdIK-L.js} +11 -11
- package/dist/{vue-ui-vertical-bar-ChHa19St.js → vue-ui-vertical-bar-CqOh6PTa.js} +11 -11
- package/dist/{vue-ui-vertical-bar-ZbdRy4kz.cjs → vue-ui-vertical-bar-q8Owx8-z.cjs} +1 -1
- package/dist/{vue-ui-waffle-BZ2oUPvu.cjs → vue-ui-waffle-C4mx6VrB.cjs} +1 -1
- package/dist/{vue-ui-waffle-DWZglOmM.js → vue-ui-waffle-rUx7nU7Q.js} +11 -11
- package/dist/{vue-ui-wheel-MuAnDxyI.js → vue-ui-wheel-B_DzbH_p.js} +7 -7
- package/dist/{vue-ui-wheel-BcEr-D-s.cjs → vue-ui-wheel-DBm8uJhY.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-CrTlolf3.js → vue-ui-word-cloud-C_90yr14.js} +10 -10
- package/dist/{vue-ui-word-cloud-DDSWc8pR.cjs → vue-ui-word-cloud-CeTkWB_2.cjs} +1 -1
- package/dist/{vue-ui-xy-BwVbCW0Q.js → vue-ui-xy-BGH2yf8d.js} +14 -14
- package/dist/{vue-ui-xy-canvas-BtOoGLf9.js → vue-ui-xy-canvas-CR3hnJM1.js} +11 -11
- package/dist/{vue-ui-xy-canvas-DEj9NzP-.cjs → vue-ui-xy-canvas-DKlEMLm_.cjs} +1 -1
- package/dist/{vue-ui-xy-WLdlNN-D.cjs → vue-ui-xy-yM_9kBvW.cjs} +1 -1
- package/package.json +1 -1
- package/dist/PenAndPaper-DyFo40zC.cjs +0 -1
- package/dist/PenAndPaper-M_ZBYgJF.js +0 -347
- package/dist/Slicer-BXIEr9yc.cjs +0 -1
|
@@ -1,347 +0,0 @@
|
|
|
1
|
-
import { computed as I, ref as p, watch as q, openBlock as k, createElementBlock as y, normalizeStyle as w, createElementVNode as $, createVNode as F, onMounted as Z, nextTick as ee, onBeforeUnmount as te, Fragment as R, normalizeClass as P, withDirectives as oe, vModelText as ne, createCommentVNode as W, unref as le, withModifiers as Q, renderList as ae } from "vue";
|
|
2
|
-
import { F as re, l as se, X as ue } from "./index-DtgCF1dT.js";
|
|
3
|
-
import z from "./BaseIcon-CbpX2G1z.js";
|
|
4
|
-
import { _ as A } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
|
-
const ce = ["value"], ie = { class: "icon" }, de = {
|
|
6
|
-
__name: "ColorPicker",
|
|
7
|
-
props: {
|
|
8
|
-
value: {
|
|
9
|
-
type: String,
|
|
10
|
-
default: "#ffffff"
|
|
11
|
-
},
|
|
12
|
-
size: {
|
|
13
|
-
type: String,
|
|
14
|
-
default: "50px"
|
|
15
|
-
}
|
|
16
|
-
},
|
|
17
|
-
emits: ["update:value"],
|
|
18
|
-
setup(r, { emit: Y }) {
|
|
19
|
-
const v = r, f = I(() => ({
|
|
20
|
-
backgroundColor: v.value,
|
|
21
|
-
width: "100%",
|
|
22
|
-
height: "100%",
|
|
23
|
-
cursor: "pointer"
|
|
24
|
-
})), m = p(null), L = () => {
|
|
25
|
-
var u;
|
|
26
|
-
(u = m.value) == null || u.click();
|
|
27
|
-
}, x = (u) => {
|
|
28
|
-
const b = u.target.value;
|
|
29
|
-
Y("update:value", b);
|
|
30
|
-
}, C = I(() => re(v.value));
|
|
31
|
-
return q(
|
|
32
|
-
() => v.value,
|
|
33
|
-
(u) => {
|
|
34
|
-
m.value.value = u;
|
|
35
|
-
}
|
|
36
|
-
), (u, b) => (k(), y("div", {
|
|
37
|
-
style: w(f.value),
|
|
38
|
-
class: "color-picker-wrapper",
|
|
39
|
-
onClick: L
|
|
40
|
-
}, [
|
|
41
|
-
$("input", {
|
|
42
|
-
ref_key: "colorInput",
|
|
43
|
-
ref: m,
|
|
44
|
-
type: "color",
|
|
45
|
-
value: r.value,
|
|
46
|
-
class: "hidden-input",
|
|
47
|
-
onInput: x
|
|
48
|
-
}, null, 40, ce),
|
|
49
|
-
$("div", ie, [
|
|
50
|
-
F(z, {
|
|
51
|
-
name: "palette",
|
|
52
|
-
stroke: C.value,
|
|
53
|
-
size: 22
|
|
54
|
-
}, null, 8, ["stroke"])
|
|
55
|
-
])
|
|
56
|
-
], 4));
|
|
57
|
-
}
|
|
58
|
-
}, pe = /* @__PURE__ */ A(de, [["__scopeId", "data-v-d3f01240"]]), ve = {
|
|
59
|
-
class: /* @__PURE__ */ P({
|
|
60
|
-
"vue-ui-pen-and-paper-action": !0
|
|
61
|
-
}),
|
|
62
|
-
style: { padding: "0 !important" }
|
|
63
|
-
}, fe = ["disabled"], he = ["xmlns", "viewBox", "onTouchstart", "onTouchmove"], ge = ["cx", "cy", "r", "fill"], me = ["d", "stroke", "stroke-width"], ke = ["d", "stroke", "stroke-width"], ye = {
|
|
64
|
-
__name: "PenAndPaper",
|
|
65
|
-
props: {
|
|
66
|
-
parent: {
|
|
67
|
-
type: HTMLElement
|
|
68
|
-
},
|
|
69
|
-
backgroundColor: {
|
|
70
|
-
type: String,
|
|
71
|
-
default: "#FFFFFF"
|
|
72
|
-
},
|
|
73
|
-
color: {
|
|
74
|
-
type: String,
|
|
75
|
-
default: "#2D353C"
|
|
76
|
-
},
|
|
77
|
-
active: {
|
|
78
|
-
type: Boolean,
|
|
79
|
-
default: !1
|
|
80
|
-
}
|
|
81
|
-
},
|
|
82
|
-
emits: ["close"],
|
|
83
|
-
setup(r, { emit: Y }) {
|
|
84
|
-
const v = r, f = p([]), m = p([]), L = p("0 0 0 0"), x = p(v.color), C = p(1), u = I(() => se(v.color, 0.6));
|
|
85
|
-
function b({ width: o, height: t }) {
|
|
86
|
-
L.value = `0 0 ${o} ${t}`;
|
|
87
|
-
}
|
|
88
|
-
const N = p(null);
|
|
89
|
-
Z(() => {
|
|
90
|
-
ee(() => {
|
|
91
|
-
if (v.parent) {
|
|
92
|
-
N.value = new ResizeObserver((e) => {
|
|
93
|
-
for (const n of e) {
|
|
94
|
-
const { width: l, height: a } = n.contentRect;
|
|
95
|
-
b({ width: l, height: a });
|
|
96
|
-
}
|
|
97
|
-
}), N.value.observe(v.parent);
|
|
98
|
-
const { width: o, height: t } = v.parent.getBoundingClientRect();
|
|
99
|
-
b({ width: o, height: t });
|
|
100
|
-
}
|
|
101
|
-
});
|
|
102
|
-
}), te(() => {
|
|
103
|
-
N.value && N.value.disconnect();
|
|
104
|
-
}), q(
|
|
105
|
-
() => v.parent,
|
|
106
|
-
(o) => {
|
|
107
|
-
if (!o) return;
|
|
108
|
-
const { width: t, height: e } = v.parent.getBoundingClientRect();
|
|
109
|
-
b({ width: t, height: e });
|
|
110
|
-
},
|
|
111
|
-
{ immediate: !0 }
|
|
112
|
-
);
|
|
113
|
-
const M = p(!1), B = p(""), X = p(null);
|
|
114
|
-
function _(o) {
|
|
115
|
-
if (!X.value) return;
|
|
116
|
-
M.value = !0;
|
|
117
|
-
const { x: t, y: e } = U(o);
|
|
118
|
-
B.value = `M ${t} ${e}`;
|
|
119
|
-
}
|
|
120
|
-
function E(o) {
|
|
121
|
-
if (!M.value || !X.value) return;
|
|
122
|
-
const { x: t, y: e } = U(o);
|
|
123
|
-
B.value += ` ${t} ${e}`;
|
|
124
|
-
}
|
|
125
|
-
function V(o) {
|
|
126
|
-
const t = o.trim().split(/\s+/);
|
|
127
|
-
if (t.length < 4)
|
|
128
|
-
return o;
|
|
129
|
-
const e = t.slice(1).map(Number);
|
|
130
|
-
if (e.length % 2 !== 0)
|
|
131
|
-
return o;
|
|
132
|
-
const n = H(e), l = [`M ${n[0]} ${n[1]}`];
|
|
133
|
-
for (let c = 2; c < n.length - 2; c += 2) {
|
|
134
|
-
const h = n[c - 2], g = n[c - 1], i = n[c], d = n[c + 1], S = (h + i) / 2, T = (g + d) / 2;
|
|
135
|
-
l.push(`Q ${h} ${g} ${S} ${T}`);
|
|
136
|
-
}
|
|
137
|
-
const a = n[n.length - 2], s = n[n.length - 1];
|
|
138
|
-
return l.push(`L ${a} ${s}`), l.join(" ");
|
|
139
|
-
}
|
|
140
|
-
function H(o, t = 1) {
|
|
141
|
-
const e = [...o];
|
|
142
|
-
for (let n = 2; n < o.length - 2; n += 2) {
|
|
143
|
-
const l = o[n], a = o[n + 1], s = o[n - 2], c = o[n - 1], h = o[n + 2], g = o[n + 3];
|
|
144
|
-
e[n] = l + t * ((s + h) / 2 - l), e[n + 1] = a + t * ((c + g) / 2 - a);
|
|
145
|
-
}
|
|
146
|
-
return e;
|
|
147
|
-
}
|
|
148
|
-
function O(o) {
|
|
149
|
-
const t = o.trim().split(/\s+/);
|
|
150
|
-
let e = "", n = "", l = null, a = null;
|
|
151
|
-
for (let s = 0; s < t.length; s += 1) {
|
|
152
|
-
const c = t[s];
|
|
153
|
-
if (isNaN(c)) {
|
|
154
|
-
if (n = c, n === "M" || n === "L")
|
|
155
|
-
l = parseFloat(t[++s]), a = parseFloat(t[++s]), e += `${n}${l} ${a}`;
|
|
156
|
-
else if (n === "Q") {
|
|
157
|
-
const h = parseFloat(t[++s]), g = parseFloat(t[++s]), i = parseFloat(t[++s]), d = parseFloat(t[++s]);
|
|
158
|
-
h === l && g === a ? e += `t${i - l} ${d - a}` : e += `q${h - l} ${g - a} ${i - l} ${d - a}`, l = i, a = d;
|
|
159
|
-
}
|
|
160
|
-
} else {
|
|
161
|
-
const h = parseFloat(c), g = parseFloat(t[++s]);
|
|
162
|
-
if (n === "L") {
|
|
163
|
-
const i = h - l, d = g - a;
|
|
164
|
-
i === 0 ? e += `v${d}` : d === 0 ? e += `h${i}` : e += `l${i} ${d}`, l = h, a = g;
|
|
165
|
-
} else if (n === "Q") {
|
|
166
|
-
const i = h, d = g, S = parseFloat(t[++s]), T = parseFloat(t[++s]);
|
|
167
|
-
i === l && d === a ? e += `t${S - l} ${T - a}` : e += `q${i - l} ${d - a} ${S - l} ${T - a}`, l = S, a = T;
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
return e;
|
|
172
|
-
}
|
|
173
|
-
function D() {
|
|
174
|
-
M.value && (f.value.push({
|
|
175
|
-
strokeWidth: C.value,
|
|
176
|
-
path: O(V(B.value)),
|
|
177
|
-
color: x.value
|
|
178
|
-
}), m.value = [], B.value = ""), M.value = !1;
|
|
179
|
-
}
|
|
180
|
-
function U(o) {
|
|
181
|
-
if (!X.value) return { x: 0, y: 0 };
|
|
182
|
-
const t = X.value.getBoundingClientRect();
|
|
183
|
-
let e, n;
|
|
184
|
-
return o.touches && o.touches.length ? (e = o.touches[0].clientX, n = o.touches[0].clientY) : (e = o.clientX, n = o.clientY), {
|
|
185
|
-
x: e - t.left,
|
|
186
|
-
y: n - t.top
|
|
187
|
-
};
|
|
188
|
-
}
|
|
189
|
-
p(!1);
|
|
190
|
-
function j() {
|
|
191
|
-
if (f.value.length > 0) {
|
|
192
|
-
const o = f.value.pop();
|
|
193
|
-
m.value.push(o);
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
|
-
function G() {
|
|
197
|
-
if (m.value.length > 0) {
|
|
198
|
-
const o = m.value.pop();
|
|
199
|
-
f.value.push(o);
|
|
200
|
-
}
|
|
201
|
-
}
|
|
202
|
-
function J() {
|
|
203
|
-
f.value = [], m.value = [];
|
|
204
|
-
}
|
|
205
|
-
const K = p(null);
|
|
206
|
-
return (o, t) => (k(), y(R, null, [
|
|
207
|
-
r.active ? (k(), y("div", {
|
|
208
|
-
key: 0,
|
|
209
|
-
"data-html2canvas-ignore": "",
|
|
210
|
-
class: P({
|
|
211
|
-
"vue-ui-pen-and-paper-actions": !0,
|
|
212
|
-
visible: r.active
|
|
213
|
-
})
|
|
214
|
-
}, [
|
|
215
|
-
$("button", {
|
|
216
|
-
class: "vue-ui-pen-and-paper-action",
|
|
217
|
-
style: w({
|
|
218
|
-
backgroundColor: r.backgroundColor,
|
|
219
|
-
border: `1px solid ${u.value}`
|
|
220
|
-
}),
|
|
221
|
-
onClick: t[0] || (t[0] = (e) => Y("close"))
|
|
222
|
-
}, [
|
|
223
|
-
F(z, {
|
|
224
|
-
name: "close",
|
|
225
|
-
stroke: r.color
|
|
226
|
-
}, null, 8, ["stroke"])
|
|
227
|
-
], 4),
|
|
228
|
-
$("button", ve, [
|
|
229
|
-
F(pe, {
|
|
230
|
-
value: x.value,
|
|
231
|
-
"onUpdate:value": t[1] || (t[1] = (e) => x.value = e)
|
|
232
|
-
}, null, 8, ["value"])
|
|
233
|
-
]),
|
|
234
|
-
$("button", {
|
|
235
|
-
class: P({
|
|
236
|
-
"vue-ui-pen-and-paper-action": !0,
|
|
237
|
-
"vue-ui-pen-and-paper-action-disabled": !f.value.length
|
|
238
|
-
}),
|
|
239
|
-
disabled: !f.value.length,
|
|
240
|
-
style: w({
|
|
241
|
-
backgroundColor: r.backgroundColor,
|
|
242
|
-
border: `1px solid ${u.value}`
|
|
243
|
-
}),
|
|
244
|
-
onClick: j
|
|
245
|
-
}, [
|
|
246
|
-
F(z, {
|
|
247
|
-
name: "restart",
|
|
248
|
-
stroke: r.color
|
|
249
|
-
}, null, 8, ["stroke"])
|
|
250
|
-
], 14, fe),
|
|
251
|
-
$("button", {
|
|
252
|
-
class: P({
|
|
253
|
-
"vue-ui-pen-and-paper-action": !0,
|
|
254
|
-
"vue-ui-pen-and-paper-action-disabled": !m.value.length
|
|
255
|
-
}),
|
|
256
|
-
style: w({
|
|
257
|
-
backgroundColor: r.backgroundColor,
|
|
258
|
-
border: `1px solid ${u.value}`
|
|
259
|
-
}),
|
|
260
|
-
onClick: G
|
|
261
|
-
}, [
|
|
262
|
-
F(z, {
|
|
263
|
-
name: "restart",
|
|
264
|
-
stroke: r.color,
|
|
265
|
-
style: { transform: "scaleX(-1)" }
|
|
266
|
-
}, null, 8, ["stroke"])
|
|
267
|
-
], 6),
|
|
268
|
-
$("button", {
|
|
269
|
-
class: P([{
|
|
270
|
-
"vue-ui-pen-and-paper-action": !0,
|
|
271
|
-
"vue-ui-pen-and-paper-action-disabled": !f.value.length
|
|
272
|
-
}, "vue-ui-pen-and-paper-action"]),
|
|
273
|
-
style: w({
|
|
274
|
-
backgroundColor: r.backgroundColor,
|
|
275
|
-
border: `1px solid ${u.value}`
|
|
276
|
-
}),
|
|
277
|
-
onClick: J
|
|
278
|
-
}, [
|
|
279
|
-
F(z, {
|
|
280
|
-
name: "trash",
|
|
281
|
-
stroke: r.color
|
|
282
|
-
}, null, 8, ["stroke"])
|
|
283
|
-
], 6),
|
|
284
|
-
oe($("input", {
|
|
285
|
-
ref_key: "range",
|
|
286
|
-
ref: K,
|
|
287
|
-
type: "range",
|
|
288
|
-
class: "vertical-range",
|
|
289
|
-
min: 0.5,
|
|
290
|
-
max: 12,
|
|
291
|
-
step: 0.1,
|
|
292
|
-
"onUpdate:modelValue": t[2] || (t[2] = (e) => C.value = e),
|
|
293
|
-
style: w({
|
|
294
|
-
accentColor: r.color
|
|
295
|
-
})
|
|
296
|
-
}, null, 4), [
|
|
297
|
-
[ne, C.value]
|
|
298
|
-
])
|
|
299
|
-
], 2)) : W("", !0),
|
|
300
|
-
(k(), y("svg", {
|
|
301
|
-
ref_key: "svgElement",
|
|
302
|
-
ref: X,
|
|
303
|
-
xmlns: le(ue),
|
|
304
|
-
viewBox: L.value,
|
|
305
|
-
class: P({
|
|
306
|
-
"vue-ui-pen-and-paper": !0,
|
|
307
|
-
inactive: !r.active
|
|
308
|
-
}),
|
|
309
|
-
onMousedown: _,
|
|
310
|
-
onMousemove: E,
|
|
311
|
-
onMouseup: D,
|
|
312
|
-
onMouseleave: D,
|
|
313
|
-
onTouchstart: Q(_, ["prevent"]),
|
|
314
|
-
onTouchmove: Q(E, ["prevent"]),
|
|
315
|
-
onTouchend: D
|
|
316
|
-
}, [
|
|
317
|
-
(k(!0), y(R, null, ae(f.value, (e) => (k(), y(R, { key: e }, [
|
|
318
|
-
e.path.replace("M", "").split(" ").length === 2 ? (k(), y("circle", {
|
|
319
|
-
key: 0,
|
|
320
|
-
cx: e.path.replace("M", "").split(" ")[0],
|
|
321
|
-
cy: e.path.replace("M", "").split(" ")[1],
|
|
322
|
-
r: e.strokeWidth / 2,
|
|
323
|
-
fill: e.color
|
|
324
|
-
}, null, 8, ge)) : (k(), y("path", {
|
|
325
|
-
key: 1,
|
|
326
|
-
class: "vue-ui-pen-and-paper-path",
|
|
327
|
-
d: e.path,
|
|
328
|
-
stroke: e.color,
|
|
329
|
-
"stroke-width": e.strokeWidth,
|
|
330
|
-
fill: "none"
|
|
331
|
-
}, null, 8, me))
|
|
332
|
-
], 64))), 128)),
|
|
333
|
-
M.value ? (k(), y("path", {
|
|
334
|
-
key: 0,
|
|
335
|
-
class: "vue-ui-pen-and-paper-path vue-ui-pen-and-paper-path-drawing",
|
|
336
|
-
d: V(B.value),
|
|
337
|
-
stroke: x.value,
|
|
338
|
-
"stroke-width": C.value * 1.1,
|
|
339
|
-
fill: "none"
|
|
340
|
-
}, null, 8, ke)) : W("", !0)
|
|
341
|
-
], 42, he))
|
|
342
|
-
], 64));
|
|
343
|
-
}
|
|
344
|
-
}, we = /* @__PURE__ */ A(ye, [["__scopeId", "data-v-a868f599"]]);
|
|
345
|
-
export {
|
|
346
|
-
we as P
|
|
347
|
-
};
|
package/dist/Slicer-BXIEr9yc.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),O=require("./BaseIcon-Prt1oCQy.cjs"),C=require("./useResponsive-BJ7DTGpm.cjs"),v=require("./index-ConhUMxI.cjs"),T=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),w=l=>(e.pushScopeId("data-v-c810061a"),l=l(),e.popScopeId(),l),U={"data-html2canvas-ignore":"",style:{padding:"0 24px"},class:"vue-data-ui-zoom"},W={class:"vue-data-ui-slicer-labels",style:{position:"relative","z-index":"1","pointer-events":"none"}},j={key:0,style:{width:"100%",position:"relative"}},X={key:0,class:"minimap",style:{width:"100%"}},Z=["xmlns","viewBox"],_=["id"],G=["stop-color"],H=w(()=>e.createElementVNode("stop",{offset:"100%","stop-color":"transparent"},null,-1)),J=["d","stroke"],K=["x","width","height","fill","rx"],Q=["d","fill"],Y=["x","width","height","rx","fill"],ee=["x","width","height","fill","rx"],te=["d","fill"],le=["d","stroke"],ae=["cx","cy","stroke","fill"],ne=["cx","cy","stroke","fill"],oe=["x1","x2","y2","stroke"],ie=["x","height","width","onMouseenter"],re=w(()=>e.createElementVNode("div",{class:"slider-track"},null,-1)),ue=["min","max"],se=["min","max"],ce={__name:"Slicer",props:{background:{type:String,default:"#FFFFFF"},borderColor:{type:String,default:"#FFFFFF"},fontSize:{type:Number,default:14},labelLeft:{type:String,default:""},labelRight:{type:String,default:""},textColor:{type:String,default:"#1A1A1A"},inputColor:{type:String,default:"#1A1A1A"},max:{type:Number,default:0},min:{type:Number,default:0},selectColor:{type:String,default:"#4A4A4A"},useResetSlot:{type:Boolean,default:!1},valueStart:{type:[Number,String],default:0},valueEnd:{type:[Number,String],default:0},minimap:{type:Array,default:[]},smoothMinimap:{type:Boolean,default:!1},minimapSelectedColor:{type:String,default:"#1f77b4"},minimapSelectionRadius:{type:Number,default:12},minimapLineColor:{type:String,default:"#2D353C"},minimapSelectedColorOpacity:{type:Number,default:.2},minimapSelectedIndex:{type:Number,default:null},minimapIndicatorColor:{type:String,default:"#2D353C"}},emits:["update:start","update:end","reset","trapMouse"],setup(l,{emit:h}){const t=l;e.useCssVars(a=>({"7ac36b7a":$.value,"5a93d2b7":f.value,c1558a30:z.value,"3ac913e7":l.selectColor,"84199a16":B.value}));const r=e.ref(t.min),u=e.ref(t.max),p=e.computed(()=>!!t.minimap.length),S=e.ref(v.createUid()),V=e.computed(()=>{const a=t.max-t.min,o=(r.value-t.min)/a*100,i=(u.value-t.min)/a*100;return{left:`${o}%`,width:`${i-o}%`,background:t.selectColor}}),$=e.computed(()=>t.inputColor),B=e.computed(()=>t.background),z=e.computed(()=>`${t.selectColor}33`),f=e.computed(()=>t.borderColor),N=e.computed(()=>{let a=[];for(let o=0;o<t.minimap.length;o+=1)a.push(o);return a});function E(){h("reset")}function M(){Number(r.value)>Number(u.value)-1&&(r.value=Number(u.value)-1),h("update:start",Number(r.value))}function L(){Number(u.value)<Number(r.value)+1&&(u.value=Number(r.value)+1),h("update:end",Number(u.value))}e.watch(()=>t.min,a=>{Number(r.value)<Number(a)&&(r.value=Number(a)),Number(u.value)<Number(a)&&(u.value=Number(a))}),e.watch(()=>t.max,a=>{Number(r.value)>Number(a)&&(r.value=Number(a)),Number(u.value)>Number(a)&&(u.value=Number(a))});const g=e.ref(null),n=e.ref({width:1,height:1}),x=e.ref(null);e.onMounted(()=>{if(p.value&&g.value){const a=C.throttle(()=>{requestAnimationFrame(()=>{const{width:o,height:i}=C.useResponsive({chart:g.value});n.value.width=o,n.value.height=Math.max(0,i-47)})});x.value=new ResizeObserver(a),x.value.observe(g.value)}}),e.onBeforeUnmount(()=>{x.value&&x.value.disconnect()});const s=e.computed(()=>t.minimap.length?n.value.width/t.minimap.length:0),c=e.computed(()=>{if(!t.minimap.length)return[];const a=Math.max(...t.minimap),o=Math.min(...t.minimap)-10,i=a-(o>0?0:o),d=t.minimap.map((A,q)=>{const D=A-o;return{x:n.value.width/t.minimap.length*q+s.value/2,y:n.value.height-D/i*(n.value.height*.9)}}),b=t.smoothMinimap?v.createSmoothPath(d):v.createStraightPath(d),k=[...d].slice(t.valueStart,t.valueEnd),R=t.smoothMinimap?v.createSmoothPath(k):v.createStraightPath(k);return{fullSet:b,selectionSet:R,sliced:k,firstPlot:d[t.valueStart],lastPlot:d[t.valueEnd-1]}}),m=e.computed(()=>({x:s.value*r.value+s.value/2,width:n.value.width*((u.value-r.value)/t.max)-s.value})),F=e.computed(()=>({left:0,color:t.textColor,fontSize:`${t.fontSize}px`,top:p.value?"28px":"-28px",pointerEvents:"none"})),I=e.computed(()=>({right:0,color:t.textColor,fontSize:`${t.fontSize}px`,top:p.value?"28px":"-28px",direction:"rtl",pointerEvents:"none"})),y=e.ref(t.minimapSelectedIndex);e.watch(()=>t.minimapSelectedIndex,a=>{y.value=a+t.valueStart},{immediate:!0});function P(a){y.value=a,a>=t.valueStart&&a<t.valueEnd&&h("trapMouse",a-t.valueStart)}return(a,o)=>(e.openBlock(),e.createElementBlock("div",U,[e.createElementVNode("div",W,[l.valueStart>0||l.valueEnd<l.max?(e.openBlock(),e.createElementBlock("div",j,[l.useResetSlot?e.renderSlot(a.$slots,"reset-action",{key:1,reset:E},void 0,!0):(e.openBlock(),e.createElementBlock("button",{key:0,"data-cy-reset":"",tabindex:"0",role:"button",class:"vue-data-ui-refresh-button",style:e.normalizeStyle({top:p.value?"36px":"-16px",pointerEvents:"all !important"}),onClick:E},[e.createVNode(O.default,{name:"refresh",stroke:l.textColor},null,8,["stroke"])],4))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",{class:"double-range-slider",ref_key:"minimapWrapper",ref:g,style:{"z-index":"0"}},[p.value?(e.openBlock(),e.createElementBlock("div",X,[(e.openBlock(),e.createElementBlock("svg",{xmlns:e.unref(v.XMLNS),viewBox:`0 0 ${n.value.width<0?0:n.value.width} ${n.value.height<0?0:n.value.height}`},[e.createElementVNode("defs",null,[e.createElementVNode("linearGradient",{id:S.value,x1:"0%",y1:"0%",x2:"0%",y2:"100%"},[e.createElementVNode("stop",{offset:"0%","stop-color":`${l.minimapLineColor}50`},null,8,G),H],8,_)]),e.createElementVNode("path",{d:`M${c.value.fullSet}`,stroke:`${l.minimapLineColor}`,fill:"none","stroke-width":"1","stroke-linecap":"round","stroke-linejoin":"round",style:{opacity:"1"}},null,8,J),e.createElementVNode("rect",{x:m.value.x,width:m.value.width<0?0:m.value.width,height:n.value.height,y:0,fill:f.value,rx:l.minimapSelectionRadius,stroke:"none"},null,8,K),e.createElementVNode("path",{d:`M${s.value/2},${n.value.height} ${c.value.fullSet} L${n.value.width-s.value/2},${n.value.height}Z`,fill:`url(#${S.value})`,stroke:"none",style:{opacity:"1"}},null,8,Q),e.createElementVNode("rect",{x:m.value.x,width:m.value.width<0?0:m.value.width,height:n.value.height,y:0,rx:l.minimapSelectionRadius,fill:f.value},null,8,Y),e.createElementVNode("rect",{x:m.value.x,width:m.value.width<0?0:m.value.width,height:n.value.height,y:0,fill:l.minimapSelectedColor,rx:l.minimapSelectionRadius,style:e.normalizeStyle({opacity:l.minimapSelectedColorOpacity})},null,12,ee),e.createElementVNode("path",{d:`M${c.value.sliced[0].x},${n.value.height} ${c.value.selectionSet} L${c.value.sliced.at(-1).x},${n.value.height}Z`,fill:`url(#${S.value})`,stroke:"none",style:{opacity:"1"}},null,8,te),e.createElementVNode("path",{d:`M ${c.value.selectionSet}`,stroke:`${l.minimapLineColor}`,fill:"transparent","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,8,le),e.createElementVNode("circle",{cx:c.value.firstPlot.x,cy:c.value.firstPlot.y,"stroke-width":"0.5",stroke:f.value,r:"3",fill:l.minimapLineColor},null,8,ae),e.createElementVNode("circle",{cx:c.value.lastPlot.x,cy:c.value.lastPlot.y,"stroke-width":"0.5",stroke:f.value,r:"3",fill:l.minimapLineColor},null,8,ne),y.value!==null?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(N.value,(i,d)=>(e.openBlock(),e.createElementBlock("g",null,[y.value===i&&i>=l.valueStart&&i<l.valueEnd?(e.openBlock(),e.createElementBlock("line",{key:0,x1:s.value*d+s.value/2,x2:s.value*d+s.value/2,y1:0,y2:n.value.height,stroke:l.minimapIndicatorColor,"stroke-linecap":"round","stroke-dasharray":"2","stroke-width":"1"},null,8,oe)):e.createCommentVNode("",!0)]))),256)):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(N.value,(i,d)=>(e.openBlock(),e.createElementBlock("rect",{x:s.value*d,y:0,height:n.value.height,width:s.value<0?0:s.value,fill:"transparent",style:{"pointer-events":"all !important"},onMouseenter:b=>P(i),onMouseleave:o[0]||(o[0]=b=>{y.value=null,h("trapMouse",null)})},null,40,ie))),256))],8,Z))])):e.createCommentVNode("",!0),re,e.createElementVNode("div",{class:"range-highlight",style:e.normalizeStyle(V.value)},null,4),e.withDirectives(e.createElementVNode("input",{type:"range",class:"range-left",min:l.min,max:l.max,"onUpdate:modelValue":o[1]||(o[1]=i=>r.value=i),onInput:M},null,40,ue),[[e.vModelText,r.value]]),e.createElementVNode("div",{class:"thumb-label thumb-label-left",style:e.normalizeStyle(F.value)},e.toDisplayString(l.labelLeft),5),e.withDirectives(e.createElementVNode("input",{type:"range",class:"range-right",min:l.min,max:l.max,"onUpdate:modelValue":o[2]||(o[2]=i=>u.value=i),onInput:L},null,40,se),[[e.vModelText,u.value]]),e.createElementVNode("div",{class:"thumb-label thumb-label-right",style:e.normalizeStyle(I.value)},e.toDisplayString(l.labelRight),5)],512)]))}},de=T._export_sfc(ce,[["__scopeId","data-v-c810061a"]]);exports.Slicer=de;
|