vue-data-ui 2.3.49 → 2.3.51
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-iqIdxIKZ.cjs → Arrow-CZfcC4FD.cjs} +1 -1
- package/dist/{Arrow-Bo8pfwKs.js → Arrow-Cff5PNio.js} +1 -1
- package/dist/{BaseIcon-BoVYVkUT.js → BaseIcon-Ba8UQKhb.js} +1 -1
- package/dist/{BaseIcon-DuVD-1qH.cjs → BaseIcon-DcVSWfBH.cjs} +1 -1
- package/dist/{DataTable-CMF1l-gL.cjs → DataTable-B3aPNd32.cjs} +1 -1
- package/dist/{DataTable-Dy0vFXS7.js → DataTable-BihWxgrO.js} +2 -2
- package/dist/{Legend-BbSR193q.js → Legend-DtX2Eeib.js} +1 -1
- package/dist/{Legend-C3LgyVKP.cjs → Legend-qY1Tc3IQ.cjs} +1 -1
- package/dist/{Shape-B5VTXCQH.js → Shape-DER5-MA4.js} +1 -1
- package/dist/{Shape-BNlNwrBB.cjs → Shape-_J88zz1C.cjs} +1 -1
- package/dist/Slicer-C3gCtPac.cjs +1 -0
- package/dist/Slicer-CkI0Cper.js +304 -0
- package/dist/{Title-CSRD5z1r.cjs → Title-CUvyed9h.cjs} +1 -1
- package/dist/{Title-0px6u9U5.js → Title-DUp1cPec.js} +1 -1
- package/dist/{Tooltip-DFpYO4rz.cjs → Tooltip-B-PFj5pG.cjs} +1 -1
- package/dist/{Tooltip-TTopnCsK.js → Tooltip-nPo0iAUf.js} +1 -1
- package/dist/index-BjBz5Yjw.cjs +4 -0
- package/dist/{index-8Lp8V0TB.js → index-DKupmrlw.js} +3 -2
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +1 -0
- package/dist/types/vue-data-ui.d.ts +1 -0
- package/dist/{useNestedProp-DE-a5lMx.js → useNestedProp-3ewWPseU.js} +1 -1
- package/dist/{useNestedProp-Vjg1xsU_.cjs → useNestedProp-Bsv01LX-.cjs} +1 -1
- package/dist/{usePrinter-cCBJ71Cc.js → usePrinter-BJLwKh53.js} +1 -1
- package/dist/{usePrinter-SLYneJmG.cjs → usePrinter-Cv_HmPzF.cjs} +1 -1
- package/dist/{vue-data-ui-pmpX1nQY.js → vue-data-ui-BdXb4nz9.js} +57 -57
- package/dist/{vue-data-ui-B1ngLIqD.cjs → vue-data-ui-DwnVJD9K.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-DcoFVkRG.js → vue-ui-3d-bar-BXwQ4Zms.js} +7 -7
- package/dist/{vue-ui-3d-bar-8yOSr9F5.cjs → vue-ui-3d-bar-isNRHkA0.cjs} +1 -1
- package/dist/{vue-ui-accordion-BQfLl7n5.js → vue-ui-accordion-BAVFTn-b.js} +3 -3
- package/dist/{vue-ui-accordion-CiSEQOBc.cjs → vue-ui-accordion-E8lXS8aW.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-BRr6sDTU.cjs → vue-ui-age-pyramid-BavJjZDy.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-Cyzoxsd_.js → vue-ui-age-pyramid-DCP7C-nm.js} +8 -8
- package/dist/{vue-ui-annotator-60JYTNTN.cjs → vue-ui-annotator-0d9Ksyhl.cjs} +1 -1
- package/dist/{vue-ui-annotator-DkkEj4IE.js → vue-ui-annotator-DGpcKR3u.js} +1 -1
- package/dist/{vue-ui-candlestick-D7IRuRY-.cjs → vue-ui-candlestick-BP7NZgsM.cjs} +1 -1
- package/dist/{vue-ui-candlestick-CDLGf1AM.js → vue-ui-candlestick-XwHLleQd.js} +9 -9
- package/dist/{vue-ui-carousel-table-CGqR-L66.js → vue-ui-carousel-table-9AUDMXNP.js} +4 -4
- package/dist/{vue-ui-carousel-table-dITvFJuB.cjs → vue-ui-carousel-table-BT5VZ8_m.cjs} +1 -1
- package/dist/{vue-ui-chestnut-BGLp2adQ.js → vue-ui-chestnut-0rI802SN.js} +6 -6
- package/dist/{vue-ui-chestnut-x6ysM7Re.cjs → vue-ui-chestnut-BNc1wdx9.cjs} +1 -1
- package/dist/{vue-ui-cursor-C5gPJbwq.cjs → vue-ui-cursor-CcqXceKz.cjs} +1 -1
- package/dist/{vue-ui-cursor-X_1-s3ik.js → vue-ui-cursor-DC50hh1A.js} +2 -2
- package/dist/{vue-ui-dashboard-zfHS3YDI.js → vue-ui-dashboard-CjTsCSNQ.js} +2 -2
- package/dist/{vue-ui-dashboard-Cgtk8oJP.cjs → vue-ui-dashboard-DKF4avsF.cjs} +1 -1
- package/dist/{vue-ui-digits-DJL1XNX-.cjs → vue-ui-digits-BLH3RoNf.cjs} +1 -1
- package/dist/{vue-ui-digits-C6o6diGb.js → vue-ui-digits-DAVqZQwv.js} +2 -2
- package/dist/{vue-ui-donut-BwdyNBGR.cjs → vue-ui-donut-BBaMV1DV.cjs} +1 -1
- package/dist/{vue-ui-donut-Do84LyRn.js → vue-ui-donut-Dp9cpozS.js} +9 -9
- package/dist/{vue-ui-donut-evolution-CIjVTIAJ.cjs → vue-ui-donut-evolution-ATlw0ooo.cjs} +1 -1
- package/dist/{vue-ui-donut-evolution-DQnRpcIw.js → vue-ui-donut-evolution-CydgEE69.js} +9 -9
- package/dist/{vue-ui-dumbbell-B71pIx5Z.js → vue-ui-dumbbell-4uoxJeTs.js} +8 -8
- package/dist/{vue-ui-dumbbell-D_Bvl_1q.cjs → vue-ui-dumbbell-Cpv1FU_f.cjs} +1 -1
- package/dist/{vue-ui-flow-DpFcTi7P.cjs → vue-ui-flow-Cmk8DlL6.cjs} +1 -1
- package/dist/{vue-ui-flow-BFXzVNCo.js → vue-ui-flow-Jptqbwt3.js} +7 -7
- package/dist/{vue-ui-galaxy-DC0LoWFu.js → vue-ui-galaxy-C2y9hLcS.js} +9 -9
- package/dist/{vue-ui-galaxy-CI546a3O.cjs → vue-ui-galaxy-C8aQa0Kf.cjs} +1 -1
- package/dist/{vue-ui-gauge-COVSZG36.cjs → vue-ui-gauge-BNZcgVd9.cjs} +1 -1
- package/dist/{vue-ui-gauge-Chz7KDBu.js → vue-ui-gauge-BO0g0F0f.js} +5 -5
- package/dist/{vue-ui-gizmo-ydAuESKo.js → vue-ui-gizmo-DF1l5n1V.js} +2 -2
- package/dist/{vue-ui-gizmo-DuSQv_6q.cjs → vue-ui-gizmo-DLTZAnrK.cjs} +1 -1
- package/dist/{vue-ui-heatmap-Ba_jzJB2.js → vue-ui-heatmap-D5OMvpfL.js} +8 -8
- package/dist/{vue-ui-heatmap-CdpBaTry.cjs → vue-ui-heatmap-DhBMuMTW.cjs} +1 -1
- package/dist/{vue-ui-kpi-D2TypVZG.cjs → vue-ui-kpi-9ABn38Tx.cjs} +1 -1
- package/dist/{vue-ui-kpi-C5yFYQ19.js → vue-ui-kpi-D1Go8362.js} +3 -3
- package/dist/{vue-ui-mini-loader-DJXMipP5.cjs → vue-ui-mini-loader-DNW0UHOt.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-BD6Lu94h.js → vue-ui-mini-loader-eSri_p_3.js} +2 -2
- package/dist/{vue-ui-molecule-DCCCC-6a.cjs → vue-ui-molecule-D-jkgsF3.cjs} +1 -1
- package/dist/{vue-ui-molecule-DCsLwmnF.js → vue-ui-molecule-DDi5UB82.js} +9 -9
- package/dist/{vue-ui-mood-radar-CX6Gq6UB.cjs → vue-ui-mood-radar-BQG7vsGz.cjs} +1 -1
- package/dist/{vue-ui-mood-radar-D-FUCHS-.js → vue-ui-mood-radar-CurxybBy.js} +9 -9
- package/dist/{vue-ui-nested-donuts-CgRfdcJy.js → vue-ui-nested-donuts--8kW69mF.js} +9 -9
- package/dist/{vue-ui-nested-donuts-DWuCVtg8.cjs → vue-ui-nested-donuts-CQwqPYt_.cjs} +1 -1
- package/dist/{vue-ui-onion-BWo7GrFe.js → vue-ui-onion-DR9h3kC9.js} +9 -9
- package/dist/{vue-ui-onion-Dg-7GylY.cjs → vue-ui-onion-DpQ84hKt.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-prF4TxQD.cjs → vue-ui-parallel-coordinate-plot-BMjB8kfq.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-DSUZL2Sy.js → vue-ui-parallel-coordinate-plot-CKkgQDuN.js} +10 -10
- package/dist/{vue-ui-quadrant-Ct06vgiw.cjs → vue-ui-quadrant-IcPOU0j5.cjs} +1 -1
- package/dist/{vue-ui-quadrant-DYApa1bj.js → vue-ui-quadrant-Jf6dqxIn.js} +10 -10
- package/dist/{vue-ui-quick-chart-DOHmWoHL.js → vue-ui-quick-chart-eUYcPl2o.js} +6 -6
- package/dist/{vue-ui-quick-chart-CwIWb_LQ.cjs → vue-ui-quick-chart-ycxf6OL_.cjs} +1 -1
- package/dist/{vue-ui-radar-BJ23WOh7.cjs → vue-ui-radar-D71Y1G1k.cjs} +1 -1
- package/dist/{vue-ui-radar-C4SFHmfz.js → vue-ui-radar-DfRQpocU.js} +10 -10
- package/dist/{vue-ui-rating-BsRGR-VS.cjs → vue-ui-rating-Bn8Y-0C4.cjs} +1 -1
- package/dist/{vue-ui-rating-BSFASHFc.js → vue-ui-rating-K_2gJNkb.js} +2 -2
- package/dist/{vue-ui-relation-circle-Dg-99k9k.js → vue-ui-relation-circle-BmIzS7Rh.js} +5 -5
- package/dist/{vue-ui-relation-circle-CEzXa3yt.cjs → vue-ui-relation-circle-D_y_OgZn.cjs} +1 -1
- package/dist/{vue-ui-rings-CCcc9cFR.js → vue-ui-rings-BYnLugu0.js} +9 -9
- package/dist/{vue-ui-rings-DiQhsWx_.cjs → vue-ui-rings-DcUqBT8o.cjs} +1 -1
- package/dist/{vue-ui-scatter-D7z4c6k-.cjs → vue-ui-scatter-DiuUZkar.cjs} +1 -1
- package/dist/{vue-ui-scatter-BgsexKX4.js → vue-ui-scatter-DkLOQyAE.js} +10 -10
- package/dist/{vue-ui-screenshot-viGaG1cU.js → vue-ui-screenshot-Bc3CJS8x.js} +1 -1
- package/dist/{vue-ui-screenshot-Bj85MdEJ.cjs → vue-ui-screenshot-BwhoYRSV.cjs} +1 -1
- package/dist/{vue-ui-skeleton-Cl9Kp9yE.cjs → vue-ui-skeleton-ByMXNiln.cjs} +1 -1
- package/dist/{vue-ui-skeleton-apODtH32.js → vue-ui-skeleton-jidqpMNm.js} +2 -2
- package/dist/{vue-ui-smiley-CfDLeydH.cjs → vue-ui-smiley-B2DrLUCe.cjs} +1 -1
- package/dist/{vue-ui-smiley-BUDu21nW.js → vue-ui-smiley-Bcs4HBe0.js} +2 -2
- package/dist/{vue-ui-spark-trend-ZS_m-z6R.cjs → vue-ui-spark-trend-B5tJrpsQ.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-B1bpQlNI.js → vue-ui-spark-trend-nOAFZC3C.js} +4 -4
- package/dist/{vue-ui-sparkbar-CpwYwA2h.js → vue-ui-sparkbar-BrZrRvjo.js} +3 -3
- package/dist/{vue-ui-sparkbar-C8fgdM5i.cjs → vue-ui-sparkbar-DngY5od3.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-CGy4jbtz.cjs → vue-ui-sparkgauge-1fq-N8Cz.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-DpDoOc6V.js → vue-ui-sparkgauge-Jivkkdm1.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-CX35Cfkc.cjs → vue-ui-sparkhistogram-CdWtSPSw.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-CcEB0gwD.js → vue-ui-sparkhistogram-DpNzs9gE.js} +4 -4
- package/dist/{vue-ui-sparkline-Bk4kWGco.js → vue-ui-sparkline-B0DzEe_g.js} +3 -3
- package/dist/{vue-ui-sparkline-CdPAtBR8.cjs → vue-ui-sparkline-oiYj_EP_.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-6xwj9rme.cjs → vue-ui-sparkstackbar-CY85unIu.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-B7Pvvmo_.js → vue-ui-sparkstackbar-DY7r21nS.js} +3 -3
- package/dist/{vue-ui-stackbar-7xZmgZo4.cjs → vue-ui-stackbar-CVqiTuvG.cjs} +1 -1
- package/dist/{vue-ui-stackbar-BMhowvyb.js → vue-ui-stackbar-Dwt1W-7T.js} +10 -10
- package/dist/{vue-ui-strip-plot-CnLnX_zO.js → vue-ui-strip-plot-Cdh4_0dW.js} +9 -9
- package/dist/{vue-ui-strip-plot-DOXU1HhU.cjs → vue-ui-strip-plot-b0VKXTZ2.cjs} +1 -1
- package/dist/{vue-ui-table-Ly0OlueB.cjs → vue-ui-table-Bn5mBogW.cjs} +1 -1
- package/dist/{vue-ui-table-CoIUKpaM.js → vue-ui-table-Cd0n4DBk.js} +1 -1
- package/dist/{vue-ui-table-heatmap-CtVr--3k.js → vue-ui-table-heatmap-BFYkrRW8.js} +4 -4
- package/dist/{vue-ui-table-heatmap-cLUGY_I8.cjs → vue-ui-table-heatmap-D_tICNyx.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-Ct4n3vjB.js → vue-ui-table-sparkline-BWu9IctH.js} +5 -5
- package/dist/{vue-ui-table-sparkline-i_FQjHJt.cjs → vue-ui-table-sparkline-DBaXPv82.cjs} +1 -1
- package/dist/{vue-ui-thermometer-CELrItTb.js → vue-ui-thermometer-ChGlCPXh.js} +5 -5
- package/dist/{vue-ui-thermometer-vrEGhPDN.cjs → vue-ui-thermometer-peD4yAFd.cjs} +1 -1
- package/dist/{vue-ui-timer-BKhOVqdo.js → vue-ui-timer-B-WCkqu-.js} +4 -4
- package/dist/{vue-ui-timer-C5oaCNfC.cjs → vue-ui-timer-DFfiN8nD.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-CSbL6U73.cjs → vue-ui-tiremarks-Bf-MXFcJ.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-p6l5H8Xo.js → vue-ui-tiremarks-C_ciP2oh.js} +5 -5
- package/dist/{vue-ui-treemap-BwegaYVE.cjs → vue-ui-treemap-5CBkjKhs.cjs} +1 -1
- package/dist/{vue-ui-treemap-C4DTISo2.js → vue-ui-treemap-JQHqcaKr.js} +9 -9
- package/dist/{vue-ui-vertical-bar-B3GbC7E_.cjs → vue-ui-vertical-bar-CDbP_iEG.cjs} +1 -1
- package/dist/{vue-ui-vertical-bar-C8dwl1ez.js → vue-ui-vertical-bar-ClPGsCfw.js} +9 -9
- package/dist/{vue-ui-waffle-BjXgV05U.js → vue-ui-waffle-Ctg7vTh7.js} +9 -9
- package/dist/{vue-ui-waffle-DfhoqEtv.cjs → vue-ui-waffle-DCuIzvT7.cjs} +1 -1
- package/dist/{vue-ui-wheel-BpGLo5wJ.js → vue-ui-wheel-CElRl6su.js} +5 -5
- package/dist/{vue-ui-wheel-CtUEp9En.cjs → vue-ui-wheel-pZCxDP9H.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-BSmOL5UE.cjs → vue-ui-word-cloud-B6NPA2Hy.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-DNBF-X9H.js → vue-ui-word-cloud-CQc_JUO8.js} +7 -7
- package/dist/{vue-ui-xy-ClD6S1Ok.cjs → vue-ui-xy-Bx6CD9QL.cjs} +2 -2
- package/dist/{vue-ui-xy-W_Zawlkz.js → vue-ui-xy-Y5tjZMKb.js} +81 -80
- package/dist/{vue-ui-xy-canvas-DELc-ZEx.js → vue-ui-xy-canvas-CAnS_crM.js} +10 -10
- package/dist/{vue-ui-xy-canvas-BZTwibcy.cjs → vue-ui-xy-canvas-CwB2YUDy.cjs} +1 -1
- package/package.json +1 -1
- package/dist/Slicer-CIqhDVuv.cjs +0 -1
- package/dist/Slicer-D62jXLRQ.js +0 -257
- package/dist/index-De6Dj52h.cjs +0 -4
|
@@ -0,0 +1,304 @@
|
|
|
1
|
+
import { useCssVars as X, ref as d, computed as r, watch as w, onMounted as j, openBlock as m, createElementBlock as c, createElementVNode as i, createVNode as q, renderSlot as G, createCommentVNode as $, normalizeStyle as v, withDirectives as F, vModelText as L, toDisplayString as z, unref as T, pushScopeId as Z, popScopeId as H } from "vue";
|
|
2
|
+
import J from "./BaseIcon-Ba8UQKhb.js";
|
|
3
|
+
import { t as K, u as Q } from "./useResponsive-NZB-WLRF.js";
|
|
4
|
+
import { c as Y, M as ee, L as te, X as le } from "./index-DKupmrlw.js";
|
|
5
|
+
import { _ as ae } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
|
+
const A = (l) => (Z("data-v-435a247c"), l = l(), H(), l), ie = { "data-html2canvas-ignore": "" }, ne = { class: "vue-data-ui-slicer-labels" }, oe = {
|
|
7
|
+
key: 0,
|
|
8
|
+
style: { width: "100%", position: "relative" }
|
|
9
|
+
}, ue = /* @__PURE__ */ A(() => /* @__PURE__ */ i("div", { class: "slider-track" }, null, -1)), re = ["min", "max"], se = ["min", "max"], de = {
|
|
10
|
+
key: 0,
|
|
11
|
+
class: "minimap",
|
|
12
|
+
style: { width: "100%" }
|
|
13
|
+
}, me = ["xmlns", "viewBox"], ce = ["id"], he = ["stop-color"], ve = /* @__PURE__ */ A(() => /* @__PURE__ */ i("stop", {
|
|
14
|
+
offset: "100%",
|
|
15
|
+
"stop-color": "transparent"
|
|
16
|
+
}, null, -1)), fe = ["x", "width", "height", "rx", "fill"], pe = ["d", "stroke", "fill"], ge = ["x2", "y1", "y2", "stroke"], be = ["y2", "stroke"], ye = ["x1", "x2", "y2", "stroke"], xe = {
|
|
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
|
+
},
|
|
96
|
+
emits: ["update:start", "update:end", "reset"],
|
|
97
|
+
setup(l, { emit: f }) {
|
|
98
|
+
const e = l;
|
|
99
|
+
X((a) => ({
|
|
100
|
+
"2f808ff4": I.value,
|
|
101
|
+
"7113cf30": h.value,
|
|
102
|
+
"0842904e": V.value,
|
|
103
|
+
b0a94cd0: l.selectColor,
|
|
104
|
+
"802d8fb4": R.value
|
|
105
|
+
}));
|
|
106
|
+
const n = d(e.min), o = d(e.max), b = r(() => !!e.minimap.length), y = d(Y()), P = r(() => {
|
|
107
|
+
const a = e.max - e.min, u = (n.value - e.min) / a * 100, s = (o.value - e.min) / a * 100;
|
|
108
|
+
return {
|
|
109
|
+
left: `${u}%`,
|
|
110
|
+
width: `${s - u}%`,
|
|
111
|
+
background: e.selectColor
|
|
112
|
+
};
|
|
113
|
+
}), I = r(() => e.inputColor), R = r(() => e.background), V = r(() => `${e.selectColor}33`), h = r(() => e.borderColor);
|
|
114
|
+
function x() {
|
|
115
|
+
f("reset");
|
|
116
|
+
}
|
|
117
|
+
function E() {
|
|
118
|
+
Number(n.value) > Number(o.value) - 1 && (n.value = Number(o.value) - 1), f("update:start", Number(n.value));
|
|
119
|
+
}
|
|
120
|
+
function B() {
|
|
121
|
+
Number(o.value) < Number(n.value) + 1 && (o.value = Number(n.value) + 1), f("update:end", Number(o.value));
|
|
122
|
+
}
|
|
123
|
+
w(
|
|
124
|
+
() => e.min,
|
|
125
|
+
(a) => {
|
|
126
|
+
Number(n.value) < Number(a) && (n.value = Number(a)), Number(o.value) < Number(a) && (o.value = Number(a));
|
|
127
|
+
}
|
|
128
|
+
), w(
|
|
129
|
+
() => e.max,
|
|
130
|
+
(a) => {
|
|
131
|
+
Number(n.value) > Number(a) && (n.value = Number(a)), Number(o.value) > Number(a) && (o.value = Number(a));
|
|
132
|
+
}
|
|
133
|
+
);
|
|
134
|
+
const p = d(null), t = d({
|
|
135
|
+
width: 1,
|
|
136
|
+
height: 1
|
|
137
|
+
}), S = d(null);
|
|
138
|
+
j(() => {
|
|
139
|
+
if (b.value) {
|
|
140
|
+
const a = K(() => {
|
|
141
|
+
const { width: u, height: s } = Q({
|
|
142
|
+
chart: p.value
|
|
143
|
+
});
|
|
144
|
+
t.value.width = u, t.value.height = s - 47;
|
|
145
|
+
});
|
|
146
|
+
S.value = new ResizeObserver(a), S.value.observe(p.value);
|
|
147
|
+
}
|
|
148
|
+
});
|
|
149
|
+
const N = r(() => e.minimap.length ? t.value.width / e.minimap.length : 0), g = r(() => ({
|
|
150
|
+
x: N.value * e.valueStart,
|
|
151
|
+
width: N.value * (e.valueEnd - e.valueStart)
|
|
152
|
+
})), _ = r(() => {
|
|
153
|
+
if (!e.minimap.length) return [];
|
|
154
|
+
const a = Math.max(...e.minimap), u = Math.min(...e.minimap), s = a - (u > 0 ? 0 : u), C = e.minimap.map((D, U) => {
|
|
155
|
+
const W = D - u;
|
|
156
|
+
return {
|
|
157
|
+
x: t.value.width / (e.minimap.length - 1) * U,
|
|
158
|
+
y: t.value.height - W / s * (t.value.height * 0.9)
|
|
159
|
+
};
|
|
160
|
+
});
|
|
161
|
+
return e.smoothMinimap ? ee(C) : te(C);
|
|
162
|
+
}), k = r(() => e.max - e.min), M = r(() => ({
|
|
163
|
+
left: `calc(${(n.value - e.min) / k.value * 100}%)`,
|
|
164
|
+
// Adjust positioning as needed
|
|
165
|
+
color: e.textColor,
|
|
166
|
+
fontSize: `${e.fontSize}px`,
|
|
167
|
+
top: "-28px",
|
|
168
|
+
pointerEvents: "none"
|
|
169
|
+
})), O = r(() => ({
|
|
170
|
+
left: `calc(${(o.value - e.min) / k.value * 100}%)`,
|
|
171
|
+
// Adjust positioning as needed
|
|
172
|
+
color: e.textColor,
|
|
173
|
+
fontSize: `${e.fontSize}px`,
|
|
174
|
+
top: "28px",
|
|
175
|
+
direction: "rtl",
|
|
176
|
+
pointerEvents: "none"
|
|
177
|
+
}));
|
|
178
|
+
return (a, u) => (m(), c("div", ie, [
|
|
179
|
+
i("div", ne, [
|
|
180
|
+
l.valueStart > 0 || l.valueEnd < l.max ? (m(), c("div", oe, [
|
|
181
|
+
l.useResetSlot ? G(a.$slots, "reset-action", {
|
|
182
|
+
key: 1,
|
|
183
|
+
reset: x
|
|
184
|
+
}, void 0, !0) : (m(), c("button", {
|
|
185
|
+
key: 0,
|
|
186
|
+
"data-cy-reset": "",
|
|
187
|
+
tabindex: "0",
|
|
188
|
+
role: "button",
|
|
189
|
+
class: "vue-data-ui-refresh-button",
|
|
190
|
+
onClick: x
|
|
191
|
+
}, [
|
|
192
|
+
q(J, {
|
|
193
|
+
name: "refresh",
|
|
194
|
+
stroke: l.textColor
|
|
195
|
+
}, null, 8, ["stroke"])
|
|
196
|
+
]))
|
|
197
|
+
])) : $("", !0)
|
|
198
|
+
]),
|
|
199
|
+
i("div", {
|
|
200
|
+
class: "double-range-slider",
|
|
201
|
+
ref_key: "minimapWrapper",
|
|
202
|
+
ref: p
|
|
203
|
+
}, [
|
|
204
|
+
ue,
|
|
205
|
+
i("div", {
|
|
206
|
+
class: "range-highlight",
|
|
207
|
+
style: v(P.value)
|
|
208
|
+
}, null, 4),
|
|
209
|
+
F(i("input", {
|
|
210
|
+
type: "range",
|
|
211
|
+
min: l.min,
|
|
212
|
+
max: l.max,
|
|
213
|
+
"onUpdate:modelValue": u[0] || (u[0] = (s) => n.value = s),
|
|
214
|
+
onInput: E
|
|
215
|
+
}, null, 40, re), [
|
|
216
|
+
[L, n.value]
|
|
217
|
+
]),
|
|
218
|
+
i("div", {
|
|
219
|
+
class: "thumb-label thumb-label-left",
|
|
220
|
+
style: v(M.value)
|
|
221
|
+
}, z(l.labelLeft), 5),
|
|
222
|
+
F(i("input", {
|
|
223
|
+
type: "range",
|
|
224
|
+
min: l.min,
|
|
225
|
+
max: l.max,
|
|
226
|
+
"onUpdate:modelValue": u[1] || (u[1] = (s) => o.value = s),
|
|
227
|
+
onInput: B
|
|
228
|
+
}, null, 40, se), [
|
|
229
|
+
[L, o.value]
|
|
230
|
+
]),
|
|
231
|
+
i("div", {
|
|
232
|
+
class: "thumb-label thumb-label-right",
|
|
233
|
+
style: v(O.value)
|
|
234
|
+
}, z(l.labelRight), 5),
|
|
235
|
+
b.value ? (m(), c("div", de, [
|
|
236
|
+
(m(), c("svg", {
|
|
237
|
+
xmlns: T(le),
|
|
238
|
+
viewBox: `0 0 ${t.value.width < 0 ? 0 : t.value.width} ${t.value.height < 0 ? 0 : t.value.height}`
|
|
239
|
+
}, [
|
|
240
|
+
i("defs", null, [
|
|
241
|
+
i("linearGradient", {
|
|
242
|
+
id: y.value,
|
|
243
|
+
x1: "0%",
|
|
244
|
+
y1: "0%",
|
|
245
|
+
x2: "0%",
|
|
246
|
+
y2: "100%"
|
|
247
|
+
}, [
|
|
248
|
+
i("stop", {
|
|
249
|
+
offset: "0%",
|
|
250
|
+
"stop-color": `${l.minimapLineColor}50`
|
|
251
|
+
}, null, 8, he),
|
|
252
|
+
ve
|
|
253
|
+
], 8, ce)
|
|
254
|
+
]),
|
|
255
|
+
i("rect", {
|
|
256
|
+
x: g.value.x,
|
|
257
|
+
y: "0",
|
|
258
|
+
width: g.value.width < 0 ? 0 : g.value.width,
|
|
259
|
+
height: t.value.height < 0 ? 0 : t.value.height,
|
|
260
|
+
rx: l.minimapSelectionRadius,
|
|
261
|
+
fill: `${l.minimapSelectedColor}`,
|
|
262
|
+
style: v({ opacity: l.minimapSelectedColorOpacity })
|
|
263
|
+
}, null, 12, fe),
|
|
264
|
+
i("path", {
|
|
265
|
+
d: `M0,${t.value.height} ${_.value} L${t.value.width},${t.value.height}Z`,
|
|
266
|
+
stroke: `${l.minimapLineColor}`,
|
|
267
|
+
fill: `url(#${y.value})`,
|
|
268
|
+
"stroke-width": "1",
|
|
269
|
+
"stroke-linecap": "round",
|
|
270
|
+
"stroke-linejoin": "round"
|
|
271
|
+
}, null, 8, pe),
|
|
272
|
+
i("line", {
|
|
273
|
+
x1: 0,
|
|
274
|
+
x2: t.value.width < 0 ? 0 : t.value.width,
|
|
275
|
+
y1: (t.value.height < 0 ? 0 : t.value.height) + 1,
|
|
276
|
+
y2: (t.value.height < 0 ? 0 : t.value.height) + 1,
|
|
277
|
+
stroke: h.value,
|
|
278
|
+
"stroke-width": "3"
|
|
279
|
+
}, null, 8, ge),
|
|
280
|
+
i("line", {
|
|
281
|
+
x1: 0,
|
|
282
|
+
x2: 0,
|
|
283
|
+
y1: 0,
|
|
284
|
+
y2: t.value.height < 0 ? 0 : t.value.height,
|
|
285
|
+
stroke: h.value,
|
|
286
|
+
"stroke-width": "3"
|
|
287
|
+
}, null, 8, be),
|
|
288
|
+
i("line", {
|
|
289
|
+
x1: t.value.width < 0 ? 0 : t.value.width,
|
|
290
|
+
x2: t.value.width < 0 ? 0 : t.value.width,
|
|
291
|
+
y1: 0,
|
|
292
|
+
y2: t.value.height < 0 ? 0 : t.value.height,
|
|
293
|
+
stroke: h.value,
|
|
294
|
+
"stroke-width": "3"
|
|
295
|
+
}, null, 8, ye)
|
|
296
|
+
], 8, me))
|
|
297
|
+
])) : $("", !0)
|
|
298
|
+
], 512)
|
|
299
|
+
]));
|
|
300
|
+
}
|
|
301
|
+
}, $e = /* @__PURE__ */ ae(xe, [["__scopeId", "data-v-435a247c"]]);
|
|
302
|
+
export {
|
|
303
|
+
$e as S
|
|
304
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const t=require("vue"),r=require("./useNestedProp-
|
|
1
|
+
"use strict";const t=require("vue"),r=require("./useNestedProp-Bsv01LX-.cjs"),o={__name:"Title",props:{config:{type:Object,default(){return{}}}},setup(i){const n=i,e=r.useNestedProp({userConfig:n.config,defaultConfig:{title:{cy:"",text:"",color:"",fontSize:20,bold:!0,textAlign:"center",paddingLeft:0,paddingRight:0},subtitle:{cy:"",text:"",color:"",fontSize:14,bold:!1}}});return(l,d)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createElementVNode("div",{style:t.normalizeStyle(`width: calc(100% - ${t.unref(e).title.paddingLeft+t.unref(e).title.paddingRight}px); text-align:${t.unref(e).title.textAlign};color:${t.unref(e).title.color};font-size:${t.unref(e).title.fontSize}px;font-weight:${t.unref(e).title.bold?"bold":""};padding-left:${t.unref(e).title.paddingLeft}px;padding-right:${t.unref(e).title.paddingRight}px;`)},t.toDisplayString(t.unref(e).title.text),5),t.unref(e).subtitle.text?(t.openBlock(),t.createElementBlock("div",{key:0,style:t.normalizeStyle(`width: calc(100% - ${t.unref(e).title.paddingLeft+t.unref(e).title.paddingRight}px); text-align:${t.unref(e).title.textAlign};color:${t.unref(e).subtitle.color};font-size:${t.unref(e).subtitle.fontSize}px;font-weight:${t.unref(e).subtitle.bold?"bold":""};padding-left:${t.unref(e).title.paddingLeft}px;padding-right:${t.unref(e).title.paddingRight}px;`)},t.toDisplayString(t.unref(e).subtitle.text),5)):t.createCommentVNode("",!0),t.unref(e).subtitle.text?(t.openBlock(),t.createElementBlock("div",{key:1,style:t.normalizeStyle(`width: calc(100% - ${t.unref(e).title.paddingLeft+t.unref(e).title.paddingRight}px); text-align:${t.unref(e).title.textAlign};color:${t.unref(e).subtitle.color};font-size:${t.unref(e).subtitle.fontSize}px;font-weight:${t.unref(e).subtitle.bold?"bold":""};padding-left:${t.unref(e).title.paddingLeft}px;padding-right:${t.unref(e).title.paddingRight}px;`)},[t.renderSlot(l.$slots,"default")],4)):t.createCommentVNode("",!0)],64))}};exports._sfc_main=o;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { openBlock as i, createElementBlock as l, Fragment as a, createElementVNode as r, normalizeStyle as d, unref as e, toDisplayString as n, createCommentVNode as o, renderSlot as f } from "vue";
|
|
2
|
-
import { u as s } from "./useNestedProp-
|
|
2
|
+
import { u as s } from "./useNestedProp-3ewWPseU.js";
|
|
3
3
|
const b = {
|
|
4
4
|
__name: "Title",
|
|
5
5
|
props: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const o=require("vue"),v=require("./index-
|
|
1
|
+
"use strict";const o=require("vue"),v=require("./index-BjBz5Yjw.cjs");function y({tooltip:e,chart:n,clientPosition:t,positionPreference:l="center",defaultOffsetY:a=24}){const r=o.ref(0),f=o.ref(a);if(e&&n){const{width:u,height:s}=e.getBoundingClientRect(),{right:i,left:d,bottom:m}=n.getBoundingClientRect();l==="center"&&(t.x+u/2>i?r.value=-u+(i-t.x):t.x-u/2<d?r.value=-u+(u-(t.x-d)):r.value=-u/2),l==="right"&&(t.x+u>i?r.value=-u+(i-t.x):r.value=0),l==="left"&&(t.x<d+u?r.value=-u+(u-(t.x-d)):r.value=-u),t.y+s>m&&(f.value=-s-a)}return{top:t.y+f.value,left:t.x+r.value}}function b(e,n,t){o.onMounted(()=>e.addEventListener(n,t)),o.onUnmounted(()=>e.removeEventListener(n,t))}function c(){const e=o.ref(0),n=o.ref(0);return b(window,"mousemove",t=>{e.value=t.clientX,n.value=t.clientY}),{x:e,y:n}}const p=["innerHTML"],g={__name:"Tooltip",props:{backgroundColor:{type:String,default:"#FFFFFF"},color:{type:String,default:"#000000"},content:String,maxWidth:{type:String,default:"300px"},parent:{type:Object},show:{type:Boolean,default:!1},isCustom:{type:Boolean,default:!1},fontSize:{type:[Number,String],default:14},borderRadius:{type:Number,default:4},borderColor:{type:String,default:"#e1e5e8"},borderWidth:{type:Number,default:1},backgroundOpacity:{type:Number,default:100},position:{type:String,default:"center"},offsetY:{type:Number,default:24}},setup(e){const n=e,t=o.ref(null),l=o.ref(c()),a=o.computed(()=>y({tooltip:t.value,chart:n.parent,clientPosition:l.value,positionPreference:n.position,defaultOffsetY:n.offsetY}));return(r,f)=>e.show?(o.openBlock(),o.createElementBlock("div",{key:0,ref_key:"tooltip",ref:t,class:o.normalizeClass({"vue-data-ui-custom-tooltip":e.isCustom,"vue-data-ui-tooltip":!e.isCustom}),style:o.normalizeStyle(`pointer-events:none;top:${a.value.top}px;left:${a.value.left}px;${e.isCustom?"":`background:${e.backgroundColor}${o.unref(v.opacity)[e.backgroundOpacity]};color:${e.color};max-width:${e.maxWidth};font-size:${e.fontSize}px`};border-radius:${e.borderRadius}px;border:${e.borderWidth}px solid ${e.borderColor};`)},[o.renderSlot(r.$slots,"tooltip-before"),o.renderSlot(r.$slots,"default"),o.createElementVNode("div",{innerHTML:e.content},null,8,p),o.renderSlot(r.$slots,"tooltip-after")],6)):o.createCommentVNode("",!0)}};exports._sfc_main=g;exports.useMouse=c;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref as l, onMounted as v, onUnmounted as y, computed as p, openBlock as b, createElementBlock as g, normalizeClass as x, normalizeStyle as h, unref as $, renderSlot as s, createElementVNode as C, createCommentVNode as S } from "vue";
|
|
2
|
-
import { v as k } from "./index-
|
|
2
|
+
import { v as k } from "./index-DKupmrlw.js";
|
|
3
3
|
function N({ tooltip: e, chart: o, clientPosition: t, positionPreference: r = "center", defaultOffsetY: a = 24 }) {
|
|
4
4
|
const u = l(0), f = l(a);
|
|
5
5
|
if (e && o) {
|