vue-data-ui 2.3.50 → 2.3.52
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-Cbc6NAqW.js → Arrow-CErgNScL.js} +1 -1
- package/dist/{Arrow-D6LS6NR1.cjs → Arrow-DRgz4m5u.cjs} +1 -1
- package/dist/{BaseIcon-B_HSdFNd.js → BaseIcon-Ce0qIN6G.js} +1 -1
- package/dist/{BaseIcon-I9PxMOax.cjs → BaseIcon-DfmxSmNy.cjs} +1 -1
- package/dist/{DataTable-BxrlKXEw.cjs → DataTable-CBLhDQ1W.cjs} +1 -1
- package/dist/{DataTable-DLcvpgCk.js → DataTable-DXlMed_M.js} +2 -2
- package/dist/{Legend-CwNBujzg.js → Legend-D-M997E3.js} +1 -1
- package/dist/{Legend-CgYcO7bY.cjs → Legend-DR0OrQrM.cjs} +1 -1
- package/dist/{Shape-mlNz6Vjk.cjs → Shape-Bdt_4X5Y.cjs} +1 -1
- package/dist/{Shape-CJFH8dr8.js → Shape-De5bQjq6.js} +1 -1
- package/dist/Slicer-BbS9w8xE.js +304 -0
- package/dist/Slicer-COwJ1aeH.cjs +1 -0
- package/dist/{Title-BW1v4dLt.cjs → Title-BN-7FKeJ.cjs} +1 -1
- package/dist/{Title-DNx5ZGZC.js → Title-DFB6STE-.js} +1 -1
- package/dist/{Tooltip-C6nRg_p1.js → Tooltip-DItwjaby.js} +1 -1
- package/dist/{Tooltip-v4URJ3ID.cjs → Tooltip-i5L77ZKM.cjs} +1 -1
- package/dist/{index-kgQzkWhV.js → index-Dnd-oK7B.js} +2 -2
- package/dist/index-GoGooUVh.cjs +4 -0
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-CEBAQM_w.js → useNestedProp-BRfMKT4-.js} +1 -1
- package/dist/{useNestedProp-Csm4QEI9.cjs → useNestedProp-CgZxM5zu.cjs} +1 -1
- package/dist/{usePrinter-B04TFy_2.cjs → usePrinter-BbiybYAn.cjs} +1 -1
- package/dist/{usePrinter-DmOzyC2c.js → usePrinter-JokjSaja.js} +1 -1
- package/dist/{vue-data-ui-BBqB608Q.js → vue-data-ui-CUs6S_au.js} +57 -57
- package/dist/{vue-data-ui-Bre6ULLJ.cjs → vue-data-ui-D6-msmEX.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-T5lswnJv.cjs → vue-ui-3d-bar-CYMbjN6T.cjs} +1 -1
- package/dist/{vue-ui-3d-bar-CPoUfTww.js → vue-ui-3d-bar-DSG4hNLl.js} +7 -7
- package/dist/{vue-ui-accordion-CIiNsTrJ.cjs → vue-ui-accordion-CNAH7t0J.cjs} +1 -1
- package/dist/{vue-ui-accordion-j1e7L1IS.js → vue-ui-accordion-DhYB7WuM.js} +3 -3
- package/dist/{vue-ui-age-pyramid-D-h3pvsZ.js → vue-ui-age-pyramid-BBndSMpE.js} +8 -8
- package/dist/{vue-ui-age-pyramid-xmip0W4N.cjs → vue-ui-age-pyramid-BBxyfziM.cjs} +1 -1
- package/dist/{vue-ui-annotator-DaHz_6JN.cjs → vue-ui-annotator-BQ1oUlyb.cjs} +1 -1
- package/dist/{vue-ui-annotator-ygqoA-aS.js → vue-ui-annotator-LhH8K54Z.js} +1 -1
- package/dist/{vue-ui-candlestick-CKVofvan.cjs → vue-ui-candlestick-BGeL1Ufe.cjs} +1 -1
- package/dist/{vue-ui-candlestick-DYSSmSM2.js → vue-ui-candlestick-C1yE0Il4.js} +9 -9
- package/dist/{vue-ui-carousel-table-Ci_g2JSO.js → vue-ui-carousel-table-B2dsBYYD.js} +4 -4
- package/dist/{vue-ui-carousel-table-Cb7luV1r.cjs → vue-ui-carousel-table-DA9m2FPP.cjs} +1 -1
- package/dist/{vue-ui-chestnut-D1u8zAt6.js → vue-ui-chestnut-BaelMyCl.js} +6 -6
- package/dist/{vue-ui-chestnut-GkLVffKx.cjs → vue-ui-chestnut-Do-OEimW.cjs} +1 -1
- package/dist/{vue-ui-cursor-C5wjK645.js → vue-ui-cursor-BaIgKXR6.js} +2 -2
- package/dist/{vue-ui-cursor-BUd1Q5lA.cjs → vue-ui-cursor-CRYEomcZ.cjs} +1 -1
- package/dist/{vue-ui-dashboard-BowIqsF3.js → vue-ui-dashboard-D4eolOGw.js} +2 -2
- package/dist/{vue-ui-dashboard-DNBuurN8.cjs → vue-ui-dashboard-yyF5sGdY.cjs} +1 -1
- package/dist/{vue-ui-digits-DTCCLR7t.cjs → vue-ui-digits-Ck9RKmGy.cjs} +1 -1
- package/dist/{vue-ui-digits-BNYcmWcq.js → vue-ui-digits-JX6kKojy.js} +2 -2
- package/dist/{vue-ui-donut-EcZmPKGU.cjs → vue-ui-donut-C6uBTjrH.cjs} +1 -1
- package/dist/{vue-ui-donut-A8FFYcHL.js → vue-ui-donut-DJIYQlPg.js} +9 -9
- package/dist/{vue-ui-donut-evolution-D8FWDzbf.cjs → vue-ui-donut-evolution-CBM-F6cm.cjs} +1 -1
- package/dist/{vue-ui-donut-evolution-D2-hEcFt.js → vue-ui-donut-evolution-rzz2F-jq.js} +9 -9
- package/dist/{vue-ui-dumbbell-BzvaXl3t.js → vue-ui-dumbbell-CfLjL63i.js} +8 -8
- package/dist/{vue-ui-dumbbell-VdBbugvk.cjs → vue-ui-dumbbell-FDu076qs.cjs} +1 -1
- package/dist/{vue-ui-flow-CVxjyFFr.cjs → vue-ui-flow-C0HDFu3U.cjs} +1 -1
- package/dist/{vue-ui-flow-BNCURBYM.js → vue-ui-flow-bVYzMeGH.js} +7 -7
- package/dist/{vue-ui-galaxy-B_WO-Ise.cjs → vue-ui-galaxy-BBUyx6Hd.cjs} +1 -1
- package/dist/{vue-ui-galaxy-BOCvpGgo.js → vue-ui-galaxy-BI-8OjCq.js} +9 -9
- package/dist/{vue-ui-gauge-srBiolyY.cjs → vue-ui-gauge-BtvWQtnt.cjs} +1 -1
- package/dist/{vue-ui-gauge-CyWiOISv.js → vue-ui-gauge-i7IgC8rs.js} +5 -5
- package/dist/{vue-ui-gizmo-KBFB-176.cjs → vue-ui-gizmo-DKEdd-3S.cjs} +1 -1
- package/dist/{vue-ui-gizmo-6K5mJxXJ.js → vue-ui-gizmo-DPkKv-Jk.js} +2 -2
- package/dist/{vue-ui-heatmap-CV_qq4nz.js → vue-ui-heatmap-CMMsaAb3.js} +8 -8
- package/dist/{vue-ui-heatmap-OyGgSaiJ.cjs → vue-ui-heatmap-CgdLP9qF.cjs} +1 -1
- package/dist/{vue-ui-kpi-CUOL5B4G.cjs → vue-ui-kpi-D5Xj7iIV.cjs} +1 -1
- package/dist/{vue-ui-kpi-DDFrvbSg.js → vue-ui-kpi-Dosna5f3.js} +3 -3
- package/dist/{vue-ui-mini-loader-BXX4TjNZ.js → vue-ui-mini-loader-8i-tFhJ_.js} +2 -2
- package/dist/{vue-ui-mini-loader-D9au1UwX.cjs → vue-ui-mini-loader-CCUMczb7.cjs} +1 -1
- package/dist/{vue-ui-molecule-hDdymcRZ.js → vue-ui-molecule-BU5D3SKN.js} +9 -9
- package/dist/{vue-ui-molecule-B6KIIzQy.cjs → vue-ui-molecule-DRP0Bcje.cjs} +1 -1
- package/dist/{vue-ui-mood-radar-CG67AJHj.cjs → vue-ui-mood-radar-CkyW9ISe.cjs} +1 -1
- package/dist/{vue-ui-mood-radar-ClFJDfI5.js → vue-ui-mood-radar-Drk9gx0g.js} +9 -9
- package/dist/{vue-ui-nested-donuts-BfUniFeA.js → vue-ui-nested-donuts-BCJVAlzO.js} +9 -9
- package/dist/{vue-ui-nested-donuts-D4Lhg5RB.cjs → vue-ui-nested-donuts-BYf3Xe5C.cjs} +1 -1
- package/dist/{vue-ui-onion-BsFXxeB3.cjs → vue-ui-onion-5AukRWa2.cjs} +1 -1
- package/dist/{vue-ui-onion-tQu-2K9q.js → vue-ui-onion-D6HMeNkG.js} +9 -9
- package/dist/{vue-ui-parallel-coordinate-plot-B4V-f4GJ.js → vue-ui-parallel-coordinate-plot-B9Rl8mqF.js} +10 -10
- package/dist/{vue-ui-parallel-coordinate-plot-DxF-vbBl.cjs → vue-ui-parallel-coordinate-plot-CmTyjhOr.cjs} +1 -1
- package/dist/{vue-ui-quadrant-DxKyRd_P.js → vue-ui-quadrant-BTPuFpTe.js} +10 -10
- package/dist/{vue-ui-quadrant-EVcqra7f.cjs → vue-ui-quadrant-Co5vvMcH.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-uKmJfOpu.js → vue-ui-quick-chart-C7z7UQax.js} +6 -6
- package/dist/{vue-ui-quick-chart-BlWh80K7.cjs → vue-ui-quick-chart-Dpeb43hW.cjs} +1 -1
- package/dist/{vue-ui-radar-DvwcyN74.cjs → vue-ui-radar-Cv67jVBJ.cjs} +1 -1
- package/dist/{vue-ui-radar-BtdPKPZ7.js → vue-ui-radar-uiR6cLb9.js} +10 -10
- package/dist/{vue-ui-rating-DnjpxJ4y.js → vue-ui-rating-B6UUfcwl.js} +2 -2
- package/dist/{vue-ui-rating-cs_38Y0m.cjs → vue-ui-rating-DrxwOSd5.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-DU25q6vF.js → vue-ui-relation-circle-Bx5aeKxp.js} +5 -5
- package/dist/{vue-ui-relation-circle-D8BtbSgz.cjs → vue-ui-relation-circle-CmhqLu_h.cjs} +1 -1
- package/dist/{vue-ui-rings-Dqmq4eAz.js → vue-ui-rings-CEvna3VD.js} +9 -9
- package/dist/{vue-ui-rings-C2g_APoU.cjs → vue-ui-rings-Q60ps3hp.cjs} +1 -1
- package/dist/{vue-ui-scatter-CUTI-j6h.cjs → vue-ui-scatter-DFtHN8gw.cjs} +1 -1
- package/dist/{vue-ui-scatter-z87lbpUc.js → vue-ui-scatter-DlE-PTWd.js} +10 -10
- package/dist/{vue-ui-screenshot-CmQKWKeg.js → vue-ui-screenshot-3fSrru4d.js} +1 -1
- package/dist/{vue-ui-screenshot-5Ty4TdFu.cjs → vue-ui-screenshot-D1n2o03B.cjs} +1 -1
- package/dist/{vue-ui-skeleton-MSz3CazQ.js → vue-ui-skeleton-2unui1q4.js} +2 -2
- package/dist/{vue-ui-skeleton-C1gZzXN3.cjs → vue-ui-skeleton-CE4s90PJ.cjs} +1 -1
- package/dist/{vue-ui-smiley-BlboD1sB.js → vue-ui-smiley-BRkp988W.js} +2 -2
- package/dist/{vue-ui-smiley-CpG6hClo.cjs → vue-ui-smiley-HsgG4Co_.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-B_VmG9ei.cjs → vue-ui-spark-trend-CcYB3WDh.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-DsGonhv7.js → vue-ui-spark-trend-SzVvm6-Y.js} +4 -4
- package/dist/{vue-ui-sparkbar-CoIRuQE2.js → vue-ui-sparkbar-CQvV-ZNz.js} +3 -3
- package/dist/{vue-ui-sparkbar-CRAs4ZNh.cjs → vue-ui-sparkbar-Cs2-3Gq2.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-6NsDwbdd.js → vue-ui-sparkgauge-CG7DxX0F.js} +3 -3
- package/dist/{vue-ui-sparkgauge-DmfNx81U.cjs → vue-ui-sparkgauge-DCDLMw9Z.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-SMZKbglD.js → vue-ui-sparkhistogram-BY0RU7OD.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-BnL8pVPX.cjs → vue-ui-sparkhistogram-DA0DnVOz.cjs} +1 -1
- package/dist/{vue-ui-sparkline-DWp53BqW.cjs → vue-ui-sparkline-BM1VWyyH.cjs} +1 -1
- package/dist/{vue-ui-sparkline-ZoKe6jkf.js → vue-ui-sparkline-CZ8CSmX2.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-CY99-ucz.cjs → vue-ui-sparkstackbar-CuDYb-zJ.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-Dv7J7zxM.js → vue-ui-sparkstackbar-Dx7_pMCX.js} +3 -3
- package/dist/{vue-ui-stackbar-h6h7QGAP.js → vue-ui-stackbar-CjnXYgxB.js} +10 -10
- package/dist/{vue-ui-stackbar-Cl_-QqC5.cjs → vue-ui-stackbar-D5chuigf.cjs} +1 -1
- package/dist/{vue-ui-strip-plot-0MY0XeQZ.js → vue-ui-strip-plot-BtXfnswe.js} +9 -9
- package/dist/{vue-ui-strip-plot-ErIBdvIs.cjs → vue-ui-strip-plot-BwpnCYO1.cjs} +1 -1
- package/dist/{vue-ui-table-BI39X47u.js → vue-ui-table-BgyhMiO7.js} +1 -1
- package/dist/{vue-ui-table-heatmap-CHhTAsyi.cjs → vue-ui-table-heatmap-C087efBS.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-Dopc6yMN.js → vue-ui-table-heatmap-D2RGQO40.js} +4 -4
- package/dist/{vue-ui-table-sparkline-6gj6DDCN.js → vue-ui-table-sparkline-ClEW_2_o.js} +5 -5
- package/dist/{vue-ui-table-sparkline-Dg_Mq3rM.cjs → vue-ui-table-sparkline-bS7tQ6IO.cjs} +1 -1
- package/dist/{vue-ui-table-CM0rNUf-.cjs → vue-ui-table-sqV5qq8a.cjs} +1 -1
- package/dist/{vue-ui-thermometer-ih1L-ljO.js → vue-ui-thermometer-BwPUix1_.js} +5 -5
- package/dist/{vue-ui-thermometer-DEUwMNMZ.cjs → vue-ui-thermometer-D8vMiZB8.cjs} +1 -1
- package/dist/{vue-ui-timer-w2dLs5eZ.js → vue-ui-timer-Ba-y4pP4.js} +4 -4
- package/dist/{vue-ui-timer-Bi2yQwlN.cjs → vue-ui-timer-BnE0O94l.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-DquBFcM5.js → vue-ui-tiremarks-6GON5Rbf.js} +5 -5
- package/dist/{vue-ui-tiremarks-VRvvZ33_.cjs → vue-ui-tiremarks-BdQYdPJ2.cjs} +1 -1
- package/dist/{vue-ui-treemap-BYNEwTiA.cjs → vue-ui-treemap-BPT1J2sV.cjs} +1 -1
- package/dist/{vue-ui-treemap-DGENpszV.js → vue-ui-treemap-ChLqRJoV.js} +9 -9
- package/dist/{vue-ui-vertical-bar-DZS2Ch2k.cjs → vue-ui-vertical-bar-Bn6DyAsl.cjs} +1 -1
- package/dist/{vue-ui-vertical-bar-CfWUf6Y4.js → vue-ui-vertical-bar-DxSPkjrg.js} +9 -9
- package/dist/{vue-ui-waffle-Dx0BxOeV.js → vue-ui-waffle-ChE-WVQU.js} +9 -9
- package/dist/{vue-ui-waffle-IWjNb8gI.cjs → vue-ui-waffle-CxzEUPFU.cjs} +1 -1
- package/dist/{vue-ui-wheel-D5oFlBaQ.js → vue-ui-wheel-B73124V3.js} +5 -5
- package/dist/{vue-ui-wheel-D1kvWtkG.cjs → vue-ui-wheel-Du9wUIXU.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-DWJysat7.js → vue-ui-word-cloud-B7Ne_W2w.js} +7 -7
- package/dist/{vue-ui-word-cloud-BaIIRCDW.cjs → vue-ui-word-cloud-BPO_RbJh.cjs} +1 -1
- package/dist/{vue-ui-xy-C6uXNovT.cjs → vue-ui-xy-CXhzUE42.cjs} +1 -1
- package/dist/{vue-ui-xy-6i-4Kwwo.js → vue-ui-xy-DH4yCHIx.js} +12 -12
- package/dist/{vue-ui-xy-canvas-4ElbiIL1.js → vue-ui-xy-canvas-BEkTulwu.js} +10 -10
- package/dist/{vue-ui-xy-canvas-DR85wD3J.cjs → vue-ui-xy-canvas-CGkmyiff.cjs} +1 -1
- package/package.json +1 -1
- package/dist/Slicer-BDwoVjE2.js +0 -288
- package/dist/Slicer-DnVQnpZC.cjs +0 -1
- package/dist/index-BmJ7PKIU.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 $, unref as T, normalizeStyle as v, withDirectives as F, vModelText as L, toDisplayString as z, pushScopeId as Z, popScopeId as H } from "vue";
|
|
2
|
+
import J from "./BaseIcon-Ce0qIN6G.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-Dnd-oK7B.js";
|
|
5
|
+
import { _ as ae } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
|
+
const A = (l) => (Z("data-v-5b7baf54"), 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 = {
|
|
10
|
+
key: 0,
|
|
11
|
+
class: "minimap",
|
|
12
|
+
style: { width: "100%" }
|
|
13
|
+
}, re = ["xmlns", "viewBox"], se = ["id"], de = ["stop-color"], me = /* @__PURE__ */ A(() => /* @__PURE__ */ i("stop", {
|
|
14
|
+
offset: "100%",
|
|
15
|
+
"stop-color": "transparent"
|
|
16
|
+
}, null, -1)), ce = ["x", "width", "height", "rx", "fill"], he = ["d", "stroke", "fill"], ve = ["x2", "y1", "y2", "stroke"], fe = ["y2", "stroke"], pe = ["x1", "x2", "y2", "stroke"], be = /* @__PURE__ */ A(() => /* @__PURE__ */ i("div", { class: "slider-track" }, null, -1)), ge = ["min", "max"], ye = ["min", "max"], 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
|
+
"2660ee5e": I.value,
|
|
101
|
+
f675dd76: h.value,
|
|
102
|
+
"8a565214": V.value,
|
|
103
|
+
"64fa5275": l.selectColor,
|
|
104
|
+
"4db30afa": R.value
|
|
105
|
+
}));
|
|
106
|
+
const n = d(e.min), o = d(e.max), g = 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 (g.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), b = 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
|
+
g.value ? (m(), c("div", ue, [
|
|
205
|
+
(m(), c("svg", {
|
|
206
|
+
xmlns: T(le),
|
|
207
|
+
viewBox: `0 0 ${t.value.width < 0 ? 0 : t.value.width} ${t.value.height < 0 ? 0 : t.value.height}`
|
|
208
|
+
}, [
|
|
209
|
+
i("defs", null, [
|
|
210
|
+
i("linearGradient", {
|
|
211
|
+
id: y.value,
|
|
212
|
+
x1: "0%",
|
|
213
|
+
y1: "0%",
|
|
214
|
+
x2: "0%",
|
|
215
|
+
y2: "100%"
|
|
216
|
+
}, [
|
|
217
|
+
i("stop", {
|
|
218
|
+
offset: "0%",
|
|
219
|
+
"stop-color": `${l.minimapLineColor}50`
|
|
220
|
+
}, null, 8, de),
|
|
221
|
+
me
|
|
222
|
+
], 8, se)
|
|
223
|
+
]),
|
|
224
|
+
i("rect", {
|
|
225
|
+
x: b.value.x,
|
|
226
|
+
y: "0",
|
|
227
|
+
width: b.value.width < 0 ? 0 : b.value.width,
|
|
228
|
+
height: t.value.height < 0 ? 0 : t.value.height,
|
|
229
|
+
rx: l.minimapSelectionRadius,
|
|
230
|
+
fill: `${l.minimapSelectedColor}`,
|
|
231
|
+
style: v({ opacity: l.minimapSelectedColorOpacity })
|
|
232
|
+
}, null, 12, ce),
|
|
233
|
+
i("path", {
|
|
234
|
+
d: `M0,${t.value.height} ${_.value} L${t.value.width},${t.value.height}Z`,
|
|
235
|
+
stroke: `${l.minimapLineColor}`,
|
|
236
|
+
fill: `url(#${y.value})`,
|
|
237
|
+
"stroke-width": "1",
|
|
238
|
+
"stroke-linecap": "round",
|
|
239
|
+
"stroke-linejoin": "round"
|
|
240
|
+
}, null, 8, he),
|
|
241
|
+
i("line", {
|
|
242
|
+
x1: 0,
|
|
243
|
+
x2: t.value.width < 0 ? 0 : t.value.width,
|
|
244
|
+
y1: (t.value.height < 0 ? 0 : t.value.height) + 1,
|
|
245
|
+
y2: (t.value.height < 0 ? 0 : t.value.height) + 1,
|
|
246
|
+
stroke: h.value,
|
|
247
|
+
"stroke-width": "3"
|
|
248
|
+
}, null, 8, ve),
|
|
249
|
+
i("line", {
|
|
250
|
+
x1: 0,
|
|
251
|
+
x2: 0,
|
|
252
|
+
y1: 0,
|
|
253
|
+
y2: t.value.height < 0 ? 0 : t.value.height,
|
|
254
|
+
stroke: h.value,
|
|
255
|
+
"stroke-width": "3"
|
|
256
|
+
}, null, 8, fe),
|
|
257
|
+
i("line", {
|
|
258
|
+
x1: t.value.width < 0 ? 0 : t.value.width,
|
|
259
|
+
x2: t.value.width < 0 ? 0 : t.value.width,
|
|
260
|
+
y1: 0,
|
|
261
|
+
y2: t.value.height < 0 ? 0 : t.value.height,
|
|
262
|
+
stroke: h.value,
|
|
263
|
+
"stroke-width": "3"
|
|
264
|
+
}, null, 8, pe)
|
|
265
|
+
], 8, re))
|
|
266
|
+
])) : $("", !0),
|
|
267
|
+
be,
|
|
268
|
+
i("div", {
|
|
269
|
+
class: "range-highlight",
|
|
270
|
+
style: v(P.value)
|
|
271
|
+
}, null, 4),
|
|
272
|
+
F(i("input", {
|
|
273
|
+
type: "range",
|
|
274
|
+
min: l.min,
|
|
275
|
+
max: l.max,
|
|
276
|
+
"onUpdate:modelValue": u[0] || (u[0] = (s) => n.value = s),
|
|
277
|
+
onInput: E
|
|
278
|
+
}, null, 40, ge), [
|
|
279
|
+
[L, n.value]
|
|
280
|
+
]),
|
|
281
|
+
i("div", {
|
|
282
|
+
class: "thumb-label thumb-label-left",
|
|
283
|
+
style: v(M.value)
|
|
284
|
+
}, z(l.labelLeft), 5),
|
|
285
|
+
F(i("input", {
|
|
286
|
+
type: "range",
|
|
287
|
+
min: l.min,
|
|
288
|
+
max: l.max,
|
|
289
|
+
"onUpdate:modelValue": u[1] || (u[1] = (s) => o.value = s),
|
|
290
|
+
onInput: B
|
|
291
|
+
}, null, 40, ye), [
|
|
292
|
+
[L, o.value]
|
|
293
|
+
]),
|
|
294
|
+
i("div", {
|
|
295
|
+
class: "thumb-label thumb-label-right",
|
|
296
|
+
style: v(O.value)
|
|
297
|
+
}, z(l.labelRight), 5)
|
|
298
|
+
], 512)
|
|
299
|
+
]));
|
|
300
|
+
}
|
|
301
|
+
}, $e = /* @__PURE__ */ ae(xe, [["__scopeId", "data-v-5b7baf54"]]);
|
|
302
|
+
export {
|
|
303
|
+
$e as S
|
|
304
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("vue"),R=require("./BaseIcon-DfmxSmNy.cjs"),N=require("./useResponsive-B3TrDDIG.cjs"),d=require("./index-GoGooUVh.cjs"),I=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),S=a=>(e.pushScopeId("data-v-5b7baf54"),a=a(),e.popScopeId(),a),_={"data-html2canvas-ignore":""},q={class:"vue-data-ui-slicer-labels"},M={key:0,style:{width:"100%",position:"relative"}},D={key:0,class:"minimap",style:{width:"100%"}},O=["xmlns","viewBox"],U=["id"],W=["stop-color"],T=S(()=>e.createElementVNode("stop",{offset:"100%","stop-color":"transparent"},null,-1)),X=["x","width","height","rx","fill"],j=["d","stroke","fill"],G=["x2","y1","y2","stroke"],H=["y2","stroke"],Z=["x1","x2","y2","stroke"],J=S(()=>e.createElementVNode("div",{class:"slider-track"},null,-1)),K=["min","max"],Q=["min","max"],Y={__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}},emits:["update:start","update:end","reset"],setup(a,{emit:c}){const t=a;e.useCssVars(n=>({"2660ee5e":w.value,f675dd76:s.value,"8a565214":E.value,"64fa5275":a.selectColor,"4db30afa":C.value}));const o=e.ref(t.min),i=e.ref(t.max),v=e.computed(()=>!!t.minimap.length),p=e.ref(d.createUid()),k=e.computed(()=>{const n=t.max-t.min,r=(o.value-t.min)/n*100,u=(i.value-t.min)/n*100;return{left:`${r}%`,width:`${u-r}%`,background:t.selectColor}}),w=e.computed(()=>t.inputColor),C=e.computed(()=>t.background),E=e.computed(()=>`${t.selectColor}33`),s=e.computed(()=>t.borderColor);function f(){c("reset")}function V(){Number(o.value)>Number(i.value)-1&&(o.value=Number(i.value)-1),c("update:start",Number(o.value))}function $(){Number(i.value)<Number(o.value)+1&&(i.value=Number(o.value)+1),c("update:end",Number(i.value))}e.watch(()=>t.min,n=>{Number(o.value)<Number(n)&&(o.value=Number(n)),Number(i.value)<Number(n)&&(i.value=Number(n))}),e.watch(()=>t.max,n=>{Number(o.value)>Number(n)&&(o.value=Number(n)),Number(i.value)>Number(n)&&(i.value=Number(n))});const m=e.ref(null),l=e.ref({width:1,height:1}),g=e.ref(null);e.onMounted(()=>{if(v.value){const n=N.throttle(()=>{const{width:r,height:u}=N.useResponsive({chart:m.value});l.value.width=r,l.value.height=u-47});g.value=new ResizeObserver(n),g.value.observe(m.value)}});const b=e.computed(()=>t.minimap.length?l.value.width/t.minimap.length:0),h=e.computed(()=>({x:b.value*t.valueStart,width:b.value*(t.valueEnd-t.valueStart)})),B=e.computed(()=>{if(!t.minimap.length)return[];const n=Math.max(...t.minimap),r=Math.min(...t.minimap),u=n-(r>0?0:r),x=t.minimap.map((A,L)=>{const P=A-r;return{x:l.value.width/(t.minimap.length-1)*L,y:l.value.height-P/u*(l.value.height*.9)}});return t.smoothMinimap?d.createSmoothPath(x):d.createStraightPath(x)}),y=e.computed(()=>t.max-t.min),z=e.computed(()=>({left:`calc(${(o.value-t.min)/y.value*100}%)`,color:t.textColor,fontSize:`${t.fontSize}px`,top:"-28px",pointerEvents:"none"})),F=e.computed(()=>({left:`calc(${(i.value-t.min)/y.value*100}%)`,color:t.textColor,fontSize:`${t.fontSize}px`,top:"28px",direction:"rtl",pointerEvents:"none"}));return(n,r)=>(e.openBlock(),e.createElementBlock("div",_,[e.createElementVNode("div",q,[a.valueStart>0||a.valueEnd<a.max?(e.openBlock(),e.createElementBlock("div",M,[a.useResetSlot?e.renderSlot(n.$slots,"reset-action",{key:1,reset:f},void 0,!0):(e.openBlock(),e.createElementBlock("button",{key:0,"data-cy-reset":"",tabindex:"0",role:"button",class:"vue-data-ui-refresh-button",onClick:f},[e.createVNode(R.default,{name:"refresh",stroke:a.textColor},null,8,["stroke"])]))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",{class:"double-range-slider",ref_key:"minimapWrapper",ref:m},[v.value?(e.openBlock(),e.createElementBlock("div",D,[(e.openBlock(),e.createElementBlock("svg",{xmlns:e.unref(d.XMLNS),viewBox:`0 0 ${l.value.width<0?0:l.value.width} ${l.value.height<0?0:l.value.height}`},[e.createElementVNode("defs",null,[e.createElementVNode("linearGradient",{id:p.value,x1:"0%",y1:"0%",x2:"0%",y2:"100%"},[e.createElementVNode("stop",{offset:"0%","stop-color":`${a.minimapLineColor}50`},null,8,W),T],8,U)]),e.createElementVNode("rect",{x:h.value.x,y:"0",width:h.value.width<0?0:h.value.width,height:l.value.height<0?0:l.value.height,rx:a.minimapSelectionRadius,fill:`${a.minimapSelectedColor}`,style:e.normalizeStyle({opacity:a.minimapSelectedColorOpacity})},null,12,X),e.createElementVNode("path",{d:`M0,${l.value.height} ${B.value} L${l.value.width},${l.value.height}Z`,stroke:`${a.minimapLineColor}`,fill:`url(#${p.value})`,"stroke-width":"1","stroke-linecap":"round","stroke-linejoin":"round"},null,8,j),e.createElementVNode("line",{x1:0,x2:l.value.width<0?0:l.value.width,y1:(l.value.height<0?0:l.value.height)+1,y2:(l.value.height<0?0:l.value.height)+1,stroke:s.value,"stroke-width":"3"},null,8,G),e.createElementVNode("line",{x1:0,x2:0,y1:0,y2:l.value.height<0?0:l.value.height,stroke:s.value,"stroke-width":"3"},null,8,H),e.createElementVNode("line",{x1:l.value.width<0?0:l.value.width,x2:l.value.width<0?0:l.value.width,y1:0,y2:l.value.height<0?0:l.value.height,stroke:s.value,"stroke-width":"3"},null,8,Z)],8,O))])):e.createCommentVNode("",!0),J,e.createElementVNode("div",{class:"range-highlight",style:e.normalizeStyle(k.value)},null,4),e.withDirectives(e.createElementVNode("input",{type:"range",min:a.min,max:a.max,"onUpdate:modelValue":r[0]||(r[0]=u=>o.value=u),onInput:V},null,40,K),[[e.vModelText,o.value]]),e.createElementVNode("div",{class:"thumb-label thumb-label-left",style:e.normalizeStyle(z.value)},e.toDisplayString(a.labelLeft),5),e.withDirectives(e.createElementVNode("input",{type:"range",min:a.min,max:a.max,"onUpdate:modelValue":r[1]||(r[1]=u=>i.value=u),onInput:$},null,40,Q),[[e.vModelText,i.value]]),e.createElementVNode("div",{class:"thumb-label thumb-label-right",style:e.normalizeStyle(F.value)},e.toDisplayString(a.labelRight),5)],512)]))}},ee=I._export_sfc(Y,[["__scopeId","data-v-5b7baf54"]]);exports.Slicer=ee;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const t=require("vue"),r=require("./useNestedProp-
|
|
1
|
+
"use strict";const t=require("vue"),r=require("./useNestedProp-CgZxM5zu.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-BRfMKT4-.js";
|
|
3
3
|
const b = {
|
|
4
4
|
__name: "Title",
|
|
5
5
|
props: {
|
|
@@ -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-Dnd-oK7B.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) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const o=require("vue"),v=require("./index-
|
|
1
|
+
"use strict";const o=require("vue"),v=require("./index-GoGooUVh.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;
|
|
@@ -129,7 +129,7 @@ function jo() {
|
|
|
129
129
|
selectedColor: "#1f77b4",
|
|
130
130
|
selectedColorOpacity: 0.2,
|
|
131
131
|
lineColor: "#2D353C",
|
|
132
|
-
selectionRadius:
|
|
132
|
+
selectionRadius: 2
|
|
133
133
|
}, B = {
|
|
134
134
|
theme: "",
|
|
135
135
|
responsive: !1,
|
|
@@ -10771,7 +10771,7 @@ function Jt(o, r, e, a) {
|
|
|
10771
10771
|
function or(o, r) {
|
|
10772
10772
|
return r.split(".").every((e) => o !== null && typeof o == "object" && e in o ? (o = o[e], !0) : !1);
|
|
10773
10773
|
}
|
|
10774
|
-
const er = h(() => import("./Arrow-
|
|
10774
|
+
const er = h(() => import("./Arrow-CErgNScL.js")), tr = h(() => import("./vue-data-ui-CUs6S_au.js")), rr = h(() => import("./vue-ui-3d-bar-DSG4hNLl.js")), lr = h(() => import("./vue-ui-accordion-DhYB7WuM.js")), ar = h(() => import("./vue-ui-age-pyramid-BBndSMpE.js")), sr = h(() => import("./vue-ui-annotator-LhH8K54Z.js")), nr = h(() => import("./vue-ui-candlestick-C1yE0Il4.js")), ir = h(() => import("./vue-ui-chestnut-BaelMyCl.js")), cr = h(() => import("./vue-ui-cursor-BaIgKXR6.js")), ur = h(() => import("./vue-ui-dashboard-D4eolOGw.js")), dr = h(() => import("./vue-ui-digits-JX6kKojy.js")), fr = h(() => import("./vue-ui-donut-DJIYQlPg.js")), Ar = h(() => import("./vue-ui-donut-evolution-rzz2F-jq.js")), br = h(() => import("./vue-ui-dumbbell-CfLjL63i.js")), Cr = h(() => import("./vue-ui-flow-bVYzMeGH.js")), gr = h(() => import("./vue-ui-galaxy-BI-8OjCq.js")), hr = h(() => import("./vue-ui-gauge-i7IgC8rs.js")), kr = h(() => import("./vue-ui-heatmap-CMMsaAb3.js")), pr = h(() => import("./BaseIcon-Ce0qIN6G.js")), mr = h(() => import("./vue-ui-kpi-Dosna5f3.js")), yr = h(() => import("./vue-ui-mini-loader-8i-tFhJ_.js")), xr = h(() => import("./vue-ui-molecule-BU5D3SKN.js")), Fr = h(() => import("./vue-ui-mood-radar-Drk9gx0g.js")), Er = h(() => import("./vue-ui-nested-donuts-BCJVAlzO.js")), _r = h(() => import("./vue-ui-onion-D6HMeNkG.js")), wr = h(() => import("./vue-ui-parallel-coordinate-plot-B9Rl8mqF.js")), vr = h(() => import("./vue-ui-quadrant-BTPuFpTe.js")), Sr = h(() => import("./vue-ui-quick-chart-C7z7UQax.js")), Lr = h(() => import("./vue-ui-radar-uiR6cLb9.js")), Dr = h(() => import("./vue-ui-rating-B6UUfcwl.js")), Br = h(() => import("./vue-ui-relation-circle-Bx5aeKxp.js")), Rr = h(() => import("./vue-ui-rings-CEvna3VD.js")), zr = h(() => import("./vue-ui-scatter-DlE-PTWd.js")), Pr = h(() => import("./vue-ui-screenshot-3fSrru4d.js")), Tr = h(() => import("./vue-ui-skeleton-2unui1q4.js")), Or = h(() => import("./vue-ui-smiley-BRkp988W.js")), Vr = h(() => import("./vue-ui-sparkhistogram-BY0RU7OD.js")), Nr = h(() => import("./vue-ui-sparkstackbar-Dx7_pMCX.js")), Mr = h(() => import("./vue-ui-spark-trend-SzVvm6-Y.js")), Ir = h(() => import("./vue-ui-sparkbar-CQvV-ZNz.js")), Wr = h(() => import("./vue-ui-sparkgauge-CG7DxX0F.js")), Ur = h(() => import("./vue-ui-sparkline-CZ8CSmX2.js")), Gr = h(() => import("./vue-ui-strip-plot-BtXfnswe.js")), Hr = h(() => import("./vue-ui-table-BgyhMiO7.js")), Yr = h(() => import("./vue-ui-table-heatmap-D2RGQO40.js")), $r = h(() => import("./vue-ui-table-sparkline-ClEW_2_o.js")), Xr = h(() => import("./vue-ui-thermometer-BwPUix1_.js")), Kr = h(() => import("./vue-ui-timer-Ba-y4pP4.js")), jr = h(() => import("./vue-ui-tiremarks-6GON5Rbf.js")), qr = h(() => import("./vue-ui-treemap-ChLqRJoV.js")), Qr = h(() => import("./vue-ui-vertical-bar-DxSPkjrg.js")), Zr = h(() => import("./vue-ui-waffle-ChE-WVQU.js")), Jr = h(() => import("./vue-ui-wheel-B73124V3.js")), ol = h(() => import("./vue-ui-word-cloud-B7Ne_W2w.js")), el = h(() => import("./vue-ui-xy-DH4yCHIx.js")), tl = h(() => import("./vue-ui-xy-canvas-BEkTulwu.js")), rl = h(() => import("./vue-ui-carousel-table-B2dsBYYD.js")), ll = h(() => import("./vue-ui-gizmo-DPkKv-Jk.js")), al = h(() => import("./vue-ui-stackbar-CjnXYgxB.js"));
|
|
10775
10775
|
export {
|
|
10776
10776
|
ut as $,
|
|
10777
10777
|
zt as A,
|