vue-data-ui 3.6.0 → 3.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +26 -26
- package/dist/{Arrow-BGVin3AS.js → Arrow-CWYIBV-7.js} +1 -1
- package/dist/{BaseDraggableDialog-DhKIof09.js → BaseDraggableDialog-CRF94NJQ.js} +2 -2
- package/dist/{BaseIcon-DLFL0M4-.js → BaseIcon-CofSxalQ.js} +1 -1
- package/dist/{ColorPicker-CjIJvLdc.js → ColorPicker-e1-OSGlQ.js} +10 -10
- package/dist/{DataTable-UCyd_BQI.js → DataTable-CHaOCmsE.js} +2 -2
- package/dist/{Legend-D9ZTJKjh.js → Legend-Web3GjlR.js} +2 -2
- package/dist/{NonSvgPenAndPaper-a2UzZL0y.js → NonSvgPenAndPaper-CjYFLlns.js} +3 -3
- package/dist/{PackageVersion-D_4Hr4S4.js → PackageVersion-C82JCJOX.js} +1 -1
- package/dist/{PenAndPaper-BJSMejV9.js → PenAndPaper-HCZQTkqi.js} +20 -20
- package/dist/{Shape-CNXKB8O0.js → Shape-DE6X_t31.js} +3 -3
- package/dist/{Slicer-CJfhtoVn.js → Slicer-BFBBG6xv.js} +23 -23
- package/dist/{SlicerPreview-wXjV4LWO.js → SlicerPreview-D76aSViW.js} +2 -2
- package/dist/{SparkTooltip-BEewz-_Q.js → SparkTooltip-B2rpVWE1.js} +6 -6
- package/dist/{Title-Bb1VWCtR.js → Title-DfFUb9hd.js} +1 -1
- package/dist/{Tooltip-oWCO1HKy.js → Tooltip-WD0Ros6G.js} +1 -1
- package/dist/{UserOptions-BqmUW9Kp.js → UserOptions-B3I-s3Lw.js} +2 -2
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +3 -3
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +3 -3
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +3 -3
- package/dist/components/vue-ui-candlestick.js +3 -3
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +3 -3
- package/dist/components/vue-ui-chord.js +3 -3
- package/dist/components/vue-ui-circle-pack.js +3 -3
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +2 -2
- package/dist/components/vue-ui-donut.js +3 -3
- package/dist/components/vue-ui-dumbbell.js +3 -3
- package/dist/components/vue-ui-flow.js +3 -3
- package/dist/components/vue-ui-funnel.js +2 -2
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-history-plot.js +3 -3
- package/dist/components/vue-ui-horizontal-bar.js +3 -3
- package/dist/components/vue-ui-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +3 -3
- package/dist/components/vue-ui-mood-radar.js +3 -3
- package/dist/components/vue-ui-nested-donuts.js +2 -2
- package/dist/components/vue-ui-onion.js +3 -3
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +3 -3
- package/dist/components/vue-ui-quick-chart.js +3 -3
- package/dist/components/vue-ui-radar.js +3 -3
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +3 -3
- package/dist/components/vue-ui-ridgeline.js +3 -3
- package/dist/components/vue-ui-rings.js +3 -3
- package/dist/components/vue-ui-scatter.js +3 -3
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +2 -2
- package/dist/components/vue-ui-sparkgauge.js +3 -3
- package/dist/components/vue-ui-sparkhistogram.js +3 -3
- package/dist/components/vue-ui-sparkline.js +3 -3
- package/dist/components/vue-ui-sparkstackbar.js +2 -2
- package/dist/components/vue-ui-stackbar.js +3 -3
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +3 -3
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +2 -2
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +3 -3
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +2 -2
- package/dist/components/vue-ui-treemap.js +3 -3
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +2 -2
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +3 -3
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +3 -3
- package/dist/components/vue-ui-xy.js +3 -3
- package/dist/{dom-to-png--BNgrTZV.js → dom-to-png-CH2DfsJe.js} +1 -1
- package/dist/{img-BecE5qXd.js → img-DUzJeMlr.js} +1 -1
- package/dist/{lib-C_mNZmhD.js → lib-C5BH09_g.js} +111 -110
- package/dist/{pdf-DuG5j3Wv.js → pdf-BSWQncok.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +2 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-BhzfwQ_k.js → useAutoSizeLabelsInsideViewbox-DOALwU4q.js} +7 -7
- package/dist/{useNestedProp-CIoDlpHu.js → useNestedProp-CWo6bftQ.js} +1 -1
- package/dist/{usePrinter-DTzqpYKF.js → usePrinter-DCJzEiS8.js} +2 -2
- package/dist/useThemeCheck-DGJ31Vi5.js +32 -0
- package/dist/{useTimeLabels-BGFjWgrv.js → useTimeLabels-C5qMhpbe.js} +50 -49
- package/dist/{vue-data-ui-BWuOXu_s.js → vue-data-ui-d-OXgGG3.js} +78 -78
- package/dist/vue-data-ui.js +225 -205
- package/dist/{vue-ui-3d-bar-BNQAuLqF.js → vue-ui-3d-bar-BLbSbx2V.js} +546 -517
- package/dist/{vue-ui-accordion-SSLXLlNz.js → vue-ui-accordion-DSdZUn2C.js} +3 -3
- package/dist/vue-ui-age-pyramid-DQ-xc-if.js +960 -0
- package/dist/{vue-ui-annotator-34Ld0u5M.js → vue-ui-annotator-DRaH8hXn.js} +7 -7
- package/dist/vue-ui-bullet-BvMdxLkK.js +657 -0
- package/dist/{vue-ui-candlestick-BcChw-8c.js → vue-ui-candlestick-DIWeygxV.js} +596 -561
- package/dist/{vue-ui-carousel-table-Cp_od0lI.js → vue-ui-carousel-table-DM2HJFMH.js} +48 -48
- package/dist/{vue-ui-chestnut-DTaIsP72.js → vue-ui-chestnut-DNOG6dqY.js} +534 -505
- package/dist/vue-ui-chord-D2wPt2JV.js +1182 -0
- package/dist/vue-ui-circle-pack-D_GDv7OV.js +832 -0
- package/dist/{vue-ui-cursor-lW-dVs_k.js → vue-ui-cursor-BMe8ZiV6.js} +2 -2
- package/dist/{vue-ui-dashboard-DIymn9Cx.js → vue-ui-dashboard-BMby447A.js} +140 -140
- package/dist/{vue-ui-digits-YHA3fA0j.js → vue-ui-digits-D382I0-w.js} +2 -2
- package/dist/{vue-ui-donut-BaDmbWLh.js → vue-ui-donut-BqiNPW3q.js} +634 -602
- package/dist/vue-ui-donut-evolution-BL7HtdsP.js +1243 -0
- package/dist/vue-ui-dumbbell-BlTDnM8L.js +1258 -0
- package/dist/vue-ui-flow-BxIv20FH.js +1026 -0
- package/dist/vue-ui-funnel-Tnjg4srR.js +743 -0
- package/dist/vue-ui-galaxy-CYDVXdNj.js +837 -0
- package/dist/vue-ui-gauge-DAcpazK7.js +864 -0
- package/dist/{vue-ui-gizmo-E33_xZte.js → vue-ui-gizmo-Bg2TpPwm.js} +3 -3
- package/dist/{vue-ui-heatmap-DJXMvFPp.js → vue-ui-heatmap-BPEE_cLi.js} +501 -466
- package/dist/vue-ui-history-plot-BhfbLer8.js +1239 -0
- package/dist/{vue-ui-kpi-C-XuLBVQ.js → vue-ui-kpi-CKMZDc3n.js} +3 -3
- package/dist/{vue-ui-mini-loader-DawncJvl.js → vue-ui-mini-loader-BN72OfS0.js} +2 -2
- package/dist/vue-ui-molecule-DnzXYuUi.js +782 -0
- package/dist/vue-ui-mood-radar-CXyQEfeM.js +930 -0
- package/dist/vue-ui-nested-donuts-Dq8JoU5d.js +1454 -0
- package/dist/vue-ui-onion-D0KUHi-Z.js +944 -0
- package/dist/vue-ui-parallel-coordinate-plot-DNc2L4Rg.js +1080 -0
- package/dist/{vue-ui-quadrant-B2bLWyCm.js → vue-ui-quadrant-Cp8loNVN.js} +510 -481
- package/dist/{vue-ui-quick-chart-J_RmCwI_.js → vue-ui-quick-chart-kuTdgAKG.js} +795 -758
- package/dist/vue-ui-radar-x2Ry_IGa.js +1013 -0
- package/dist/{vue-ui-rating-CBS8zaQd.js → vue-ui-rating-DtzmtJwF.js} +26 -26
- package/dist/vue-ui-relation-circle-DbYE9UHq.js +671 -0
- package/dist/vue-ui-ridgeline-yaMl8iIE.js +1302 -0
- package/dist/vue-ui-rings-BowsO9I8.js +884 -0
- package/dist/vue-ui-scatter-C_nz0A4x.js +1619 -0
- package/dist/{vue-ui-skeleton-DsrlMELy.js → vue-ui-skeleton-DdXq2gl1.js} +3 -3
- package/dist/{vue-ui-smiley-P_8WIBDD.js → vue-ui-smiley-OYyM-ukP.js} +2 -2
- package/dist/vue-ui-spark-trend-BLticwHl.js +364 -0
- package/dist/vue-ui-sparkbar-DC2sDr9_.js +381 -0
- package/dist/vue-ui-sparkgauge-BENUfyuR.js +260 -0
- package/dist/vue-ui-sparkhistogram-BY0jsNsc.js +411 -0
- package/dist/vue-ui-sparkline-fS36LGCB.js +549 -0
- package/dist/vue-ui-sparkstackbar-C59ocU83.js +470 -0
- package/dist/vue-ui-stackbar-BtWWtzDp.js +1867 -0
- package/dist/vue-ui-stackline-CsGEHOOr.js +1963 -0
- package/dist/{vue-ui-strip-plot-CTtivaxm.js → vue-ui-strip-plot-n_rEdwkM.js} +343 -314
- package/dist/{vue-ui-table-CHt3AQiq.js → vue-ui-table-Kv2YL5OU.js} +5 -5
- package/dist/vue-ui-table-heatmap-vQEFrjCX.js +307 -0
- package/dist/{vue-ui-table-sparkline-D5MckwMl.js → vue-ui-table-sparkline-B8CCAdco.js} +292 -263
- package/dist/vue-ui-thermometer-C1Hr_LrY.js +613 -0
- package/dist/{vue-ui-timer-B-Xa6ALH.js → vue-ui-timer-CmnO99_j.js} +25 -25
- package/dist/vue-ui-tiremarks-DbZbhw6Q.js +477 -0
- package/dist/vue-ui-treemap-BGMpUu5v.js +1359 -0
- package/dist/{vue-ui-vertical-bar-D9XQe_ud.js → vue-ui-vertical-bar-CWlGQoB3.js} +520 -485
- package/dist/{vue-ui-waffle-Bk98w86A.js → vue-ui-waffle-BVVrMghT.js} +376 -347
- package/dist/vue-ui-wheel-B2pFBeKR.js +690 -0
- package/dist/vue-ui-word-cloud-BqKSDn2J.js +904 -0
- package/dist/{vue-ui-world-xOY__pp8.js → vue-ui-world-glj9mQAg.js} +57 -57
- package/dist/vue-ui-xy-BdXV4naK.js +3455 -0
- package/dist/vue-ui-xy-canvas-Cr13t9M5.js +1599 -0
- package/dist/vue_ui_vertical_bar-CELc39b8.js +18 -0
- package/package.json +5 -5
- package/dist/themes-DH-N_ePR.js +0 -54
- package/dist/vue-ui-age-pyramid-DsOlpJBh.js +0 -933
- package/dist/vue-ui-bullet-Ci4lO4_W.js +0 -630
- package/dist/vue-ui-chord-BKC--Nbq.js +0 -1153
- package/dist/vue-ui-circle-pack-B3sfU0Vo.js +0 -803
- package/dist/vue-ui-donut-evolution-BqUzmyW2.js +0 -1208
- package/dist/vue-ui-dumbbell-CWKTrzsm.js +0 -1231
- package/dist/vue-ui-flow-SMbuDPdL.js +0 -991
- package/dist/vue-ui-funnel-3fRlMBzq.js +0 -716
- package/dist/vue-ui-galaxy-CFZ1xYD5.js +0 -808
- package/dist/vue-ui-gauge-DJpbjfpL.js +0 -835
- package/dist/vue-ui-history-plot-CvPMx5Lg.js +0 -1204
- package/dist/vue-ui-molecule-CasngKZI.js +0 -753
- package/dist/vue-ui-mood-radar-DGz2TQi4.js +0 -903
- package/dist/vue-ui-nested-donuts-Bjjz2sWG.js +0 -1419
- package/dist/vue-ui-onion-DwTIY6i1.js +0 -915
- package/dist/vue-ui-parallel-coordinate-plot-DedxvtPN.js +0 -1051
- package/dist/vue-ui-radar-D1rz2RnH.js +0 -984
- package/dist/vue-ui-relation-circle-DUfRwwo1.js +0 -641
- package/dist/vue-ui-ridgeline-DKPWMWRc.js +0 -1273
- package/dist/vue-ui-rings-BY0EQGLb.js +0 -855
- package/dist/vue-ui-scatter-ky9p5Pgh.js +0 -1590
- package/dist/vue-ui-spark-trend-DkJn_3FI.js +0 -337
- package/dist/vue-ui-sparkbar-qB1fmgej.js +0 -352
- package/dist/vue-ui-sparkgauge-BezFN_Rc.js +0 -233
- package/dist/vue-ui-sparkhistogram-DGt5b8FR.js +0 -384
- package/dist/vue-ui-sparkline-D7Wx1ejg.js +0 -514
- package/dist/vue-ui-sparkstackbar-DtO7-yim.js +0 -441
- package/dist/vue-ui-stackbar-Dr48I48D.js +0 -1832
- package/dist/vue-ui-stackline-Juns5Yh4.js +0 -1928
- package/dist/vue-ui-table-heatmap-Cn-56b5F.js +0 -282
- package/dist/vue-ui-thermometer-BOidpwAZ.js +0 -584
- package/dist/vue-ui-tiremarks-BsTyVS2P.js +0 -450
- package/dist/vue-ui-treemap-BWTaY91B.js +0 -1330
- package/dist/vue-ui-wheel-nj73b_Dc.js +0 -663
- package/dist/vue-ui-word-cloud-Dcaogr-D.js +0 -875
- package/dist/vue-ui-xy-BT67faLv.js +0 -3424
- package/dist/vue-ui-xy-canvas-BoB7-4QK.js +0 -1564
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ref as $, useSlots as J, onMounted as R, computed as x, watch as Q, createElementBlock as o, openBlock as a, normalizeStyle as s, createCommentVNode as p, createElementVNode as r, toDisplayString as
|
|
2
|
-
import { c as te, o as le,
|
|
3
|
-
import { u as ae, a as ie } from "./useNestedProp-
|
|
1
|
+
import { ref as $, useSlots as J, onMounted as R, computed as x, watch as Q, createElementBlock as o, openBlock as a, normalizeStyle as s, createCommentVNode as p, createElementVNode as r, toDisplayString as g, unref as n, Fragment as B, renderList as Z, renderSlot as j, mergeProps as O, withKeys as ee } from "vue";
|
|
2
|
+
import { c as te, o as le, g as oe, a as b, d as _, X as z, h as X, b as I } from "./lib-C5BH09_g.js";
|
|
3
|
+
import { u as ae, a as ie } from "./useNestedProp-CWo6bftQ.js";
|
|
4
4
|
import { _ as se } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const ne = {
|
|
6
6
|
key: 0,
|
|
@@ -15,7 +15,7 @@ const ne = {
|
|
|
15
15
|
}, ve = {
|
|
16
16
|
key: 1,
|
|
17
17
|
style: { position: "absolute", top: "0", left: "0", width: "100%", height: "100%" }
|
|
18
|
-
}, de = ["src", "height", "width"], ye = ["xmlns", "height", "width"], pe = ["id"],
|
|
18
|
+
}, de = ["src", "height", "width"], ye = ["xmlns", "height", "width"], pe = ["id"], ge = ["stop-color"], fe = ["stop-color"], ce = ["points", "fill", "stroke", "stroke-width"], he = ["src", "alt", "height", "width", "id"], me = ["xmlns", "viewBox", "height", "id"], $e = ["id"], xe = ["stop-color"], be = ["stop-color"], _e = ["points", "fill", "stroke"], we = ["xmlns", "height"], ke = ["onClick", "onMouseenter", "onFocus", "onKeyup"], ze = ["onMouseenter", "onFocus"], Se = {
|
|
19
19
|
__name: "vue-ui-rating",
|
|
20
20
|
props: {
|
|
21
21
|
config: {
|
|
@@ -50,7 +50,7 @@ const ne = {
|
|
|
50
50
|
Q(() => u.config, (l) => {
|
|
51
51
|
e.value = C(), F();
|
|
52
52
|
}, { deep: !0 });
|
|
53
|
-
const K = x(() => typeof u.dataset.rating == "object" && !Array.isArray(u.dataset.rating) ? T(u.dataset.rating) : u.dataset.rating), P = x(() => typeof u.dataset.rating == "object" && !Array.isArray(u.dataset.rating)), y = $(K.value), V = x(() => e.value.type === "image"),
|
|
53
|
+
const K = x(() => typeof u.dataset.rating == "object" && !Array.isArray(u.dataset.rating) ? T(u.dataset.rating) : u.dataset.rating), P = x(() => typeof u.dataset.rating == "object" && !Array.isArray(u.dataset.rating)), y = $(K.value), V = x(() => e.value.type === "image"), f = x(() => e.value.readonly);
|
|
54
54
|
function T(l) {
|
|
55
55
|
let i = 0, t = 0;
|
|
56
56
|
for (const d in l) {
|
|
@@ -75,7 +75,7 @@ const ne = {
|
|
|
75
75
|
w.value.push(l);
|
|
76
76
|
}
|
|
77
77
|
function k(l, i = !1) {
|
|
78
|
-
return l > v.value ||
|
|
78
|
+
return l > v.value || f.value ? i ? e.value.style.image.inactiveOpacity : e.value.style.star.inactiveColor : i ? 1 : e.value.style.star.useGradient ? `url(#star_gradient_under_${h.value})` : e.value.style.star.activeColor;
|
|
79
79
|
}
|
|
80
80
|
function M(l, i = !1) {
|
|
81
81
|
const t = y.value - l, c = i ? 1 : 100;
|
|
@@ -89,13 +89,13 @@ const ne = {
|
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
91
|
function N(l) {
|
|
92
|
-
|
|
92
|
+
f.value || (y.value = l, E("rate", l));
|
|
93
93
|
}
|
|
94
94
|
function H() {
|
|
95
95
|
return y.value;
|
|
96
96
|
}
|
|
97
97
|
function W(l = !0) {
|
|
98
|
-
|
|
98
|
+
f.value = l;
|
|
99
99
|
}
|
|
100
100
|
return G({
|
|
101
101
|
getData: H,
|
|
@@ -111,16 +111,16 @@ const ne = {
|
|
|
111
111
|
e.value.style.title.text ? (a(), o("div", ne, [
|
|
112
112
|
r("div", {
|
|
113
113
|
style: s(`color:${e.value.style.title.color};font-weight:${e.value.style.title.bold ? "bold" : "normal"};text-align:${e.value.style.title.textAlign};margin-bottom:${e.value.style.title.offsetY}px;font-size:${e.value.style.title.fontSize}px`)
|
|
114
|
-
},
|
|
114
|
+
}, g(e.value.style.title.text), 5),
|
|
115
115
|
e.value.style.title.subtitle.text ? (a(), o("div", {
|
|
116
116
|
key: 0,
|
|
117
117
|
style: s(`color:${e.value.style.title.subtitle.color};font-size:${e.value.style.title.subtitle.fontSize}px;text-align:${e.value.style.title.textAlign};margin-bottom:${e.value.style.title.subtitle.offsetY}px;font-weight:${e.value.style.title.subtitle.bold ? "bold" : "normal"}`)
|
|
118
|
-
},
|
|
118
|
+
}, g(e.value.style.title.subtitle.text), 5)) : p("", !0)
|
|
119
119
|
])) : p("", !0),
|
|
120
120
|
e.value.style.rating.show && e.value.style.rating.position === "top" ? (a(), o("div", {
|
|
121
121
|
key: 1,
|
|
122
122
|
style: s(`width:100%;text-align:center;margin-bottom:${e.value.style.rating.offsetY}px;font-size:${e.value.style.rating.fontSize}px;font-weight:${e.value.style.rating.bold ? "bold" : "normal"};margin-left:${e.value.style.rating.offsetX}px`)
|
|
123
|
-
},
|
|
123
|
+
}, g(n(b)(
|
|
124
124
|
e.value.style.rating.formatter,
|
|
125
125
|
y.value,
|
|
126
126
|
n(_)({
|
|
@@ -136,7 +136,7 @@ const ne = {
|
|
|
136
136
|
e.value.style.rating.show && e.value.style.rating.position === "left" ? (a(), o("div", {
|
|
137
137
|
key: 0,
|
|
138
138
|
style: s(`width:fit-content;text-align:center;margin-bottom:${e.value.style.rating.offsetY}px;font-size:${e.value.style.rating.fontSize}px;font-weight:${e.value.style.rating.bold ? "bold" : "normal"};padding-right:${e.value.style.rating.offsetX}px`)
|
|
139
|
-
},
|
|
139
|
+
}, g(n(b)(
|
|
140
140
|
e.value.style.rating.formatter,
|
|
141
141
|
y.value,
|
|
142
142
|
n(_)({
|
|
@@ -145,18 +145,18 @@ const ne = {
|
|
|
145
145
|
}),
|
|
146
146
|
e.value
|
|
147
147
|
)), 5)) : p("", !0),
|
|
148
|
-
(a(!0), o(
|
|
148
|
+
(a(!0), o(B, null, Z(w.value, (t, c) => (a(), o("div", {
|
|
149
149
|
class: "vue-ui-rating-unit-container",
|
|
150
150
|
style: s(`position:relative;height:${e.value.style.itemSize}px;width:${e.value.style.itemSize}px`)
|
|
151
151
|
}, [
|
|
152
152
|
l.$slots["layer-under"] || l.$slots["layer-above"] ? (a(), o("div", re, [
|
|
153
153
|
l.$slots["layer-under"] ? (a(), o("div", ue, [
|
|
154
|
-
|
|
154
|
+
j(l.$slots, "layer-under", O({ ref_for: !0 }, { value: t, size: e.value.style.itemSize, hoveredValue: v.value, focusedValue: m.value }), void 0, !0)
|
|
155
155
|
])) : p("", !0),
|
|
156
156
|
l.$slots["layer-above"] ? (a(), o("div", ve, [
|
|
157
|
-
|
|
157
|
+
j(l.$slots, "layer-above", O({ ref_for: !0 }, { value: t, size: e.value.style.itemSize, hoveredValue: v.value, focusedValue: m.value }), void 0, !0)
|
|
158
158
|
])) : p("", !0)
|
|
159
|
-
])) : (a(), o(
|
|
159
|
+
])) : (a(), o(B, { key: 1 }, [
|
|
160
160
|
V.value ? (a(), o("img", {
|
|
161
161
|
key: 0,
|
|
162
162
|
src: e.value.style.image.src,
|
|
@@ -184,11 +184,11 @@ const ne = {
|
|
|
184
184
|
r("stop", {
|
|
185
185
|
offset: "0%",
|
|
186
186
|
"stop-color": `${n(X)(e.value.style.star.activeColor, 0.05)}`
|
|
187
|
-
}, null, 8,
|
|
187
|
+
}, null, 8, ge),
|
|
188
188
|
r("stop", {
|
|
189
189
|
offset: "100%",
|
|
190
190
|
"stop-color": e.value.style.star.activeColor
|
|
191
|
-
}, null, 8,
|
|
191
|
+
}, null, 8, fe)
|
|
192
192
|
], 8, pe)
|
|
193
193
|
]),
|
|
194
194
|
r("polygon", {
|
|
@@ -257,9 +257,9 @@ const ne = {
|
|
|
257
257
|
viewBox: "0 0 100 100",
|
|
258
258
|
height: e.value.style.itemSize,
|
|
259
259
|
class: "vue-ui-rating-unit",
|
|
260
|
-
style: s(`position:absolute;top:0;left:0;${
|
|
260
|
+
style: s(`position:absolute;top:0;left:0;${f.value ? "" : "cursor:pointer"}`)
|
|
261
261
|
}, [
|
|
262
|
-
|
|
262
|
+
f.value ? p("", !0) : (a(), o("rect", {
|
|
263
263
|
key: 0,
|
|
264
264
|
class: "vue-ui-rating-mouse-trap",
|
|
265
265
|
x: 0,
|
|
@@ -275,7 +275,7 @@ const ne = {
|
|
|
275
275
|
tabindex: "0",
|
|
276
276
|
onKeyup: ee((d) => N(t), ["enter"])
|
|
277
277
|
}, null, 40, ke)),
|
|
278
|
-
|
|
278
|
+
f.value ? (a(), o("rect", {
|
|
279
279
|
key: 1,
|
|
280
280
|
class: "vue-ui-rating-mouse-trap",
|
|
281
281
|
x: 0,
|
|
@@ -289,7 +289,7 @@ const ne = {
|
|
|
289
289
|
onBlur: i[3] || (i[3] = (d) => m.value = void 0)
|
|
290
290
|
}, null, 40, ze)) : p("", !0)
|
|
291
291
|
], 12, we)),
|
|
292
|
-
e.value.style.tooltip.show && P.value &&
|
|
292
|
+
e.value.style.tooltip.show && P.value && f.value ? (a(), o("div", {
|
|
293
293
|
key: 2,
|
|
294
294
|
class: "vue-ui-rating-tooltip",
|
|
295
295
|
style: s(`border:1px solid ${e.value.style.tooltip.borderColor};position:absolute;top:${-48 + e.value.style.tooltip.offsetY}px;left:50%;transform:translateX(-50%);width:fit-content;text-align:center;background:${e.value.style.tooltip.backgroundColor};display:${v.value === t ? "block" : "none"};padding:2px 12px;border-radius:${e.value.style.tooltip.borderRadius}px;box-shadow:${e.value.style.tooltip.boxShadow}`)
|
|
@@ -299,10 +299,10 @@ const ne = {
|
|
|
299
299
|
}, [
|
|
300
300
|
r("span", {
|
|
301
301
|
style: s(`font-size:${e.value.style.tooltip.fontSize}px`)
|
|
302
|
-
},
|
|
302
|
+
}, g(t) + ":", 5),
|
|
303
303
|
r("span", {
|
|
304
304
|
style: s(`font-weight:${e.value.style.tooltip.bold ? "bold" : "normal"};font-size:${e.value.style.tooltip.fontSize}px`)
|
|
305
|
-
},
|
|
305
|
+
}, g(n(b)(
|
|
306
306
|
e.value.style.tooltip.formatter,
|
|
307
307
|
u.dataset.rating[t],
|
|
308
308
|
n(_)({
|
|
@@ -320,7 +320,7 @@ const ne = {
|
|
|
320
320
|
e.value.style.rating.show && e.value.style.rating.position === "right" ? (a(), o("div", {
|
|
321
321
|
key: 1,
|
|
322
322
|
style: s(`width:fit-content;text-align:center;margin-bottom:${e.value.style.rating.offsetY}px;font-size:${e.value.style.rating.fontSize}px;font-weight:${e.value.style.rating.bold ? "bold" : "normal"};padding-left:${e.value.style.rating.offsetX}px`)
|
|
323
|
-
},
|
|
323
|
+
}, g(n(b)(
|
|
324
324
|
e.value.style.rating.formatter,
|
|
325
325
|
y.value,
|
|
326
326
|
n(_)({
|
|
@@ -333,7 +333,7 @@ const ne = {
|
|
|
333
333
|
e.value.style.rating.show && e.value.style.rating.position === "bottom" ? (a(), o("div", {
|
|
334
334
|
key: 2,
|
|
335
335
|
style: s(`width:100%;text-align:center;margin-top:${e.value.style.rating.offsetY}px;font-size:${e.value.style.rating.fontSize}px;font-weight:${e.value.style.rating.bold ? "bold" : "normal"};margin-left:${e.value.style.rating.offsetX}px`)
|
|
336
|
-
},
|
|
336
|
+
}, g(n(b)(
|
|
337
337
|
e.value.style.rating.formatter,
|
|
338
338
|
y.value,
|
|
339
339
|
n(_)({
|