vue-data-ui 3.20.10 → 3.21.0
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-D6j6ocXm.js → Arrow-_pDGXl76.js} +1 -1
- package/dist/{BaseDraggableDialog-4hDW-Rj2.js → BaseDraggableDialog-BvaFJWHb.js} +2 -2
- package/dist/{BaseIcon-DfLoHNUj.js → BaseIcon-CbDazQLH.js} +1 -1
- package/dist/{BaseLegendToggle-C_Db-y7s.js → BaseLegendToggle-BNRi408o.js} +1 -1
- package/dist/{BaseZoomControls-CG7hI_1P.js → BaseZoomControls-Dbtq9oyx.js} +2 -2
- package/dist/{ColorPicker-Bjwxnvfh.js → ColorPicker-B4ob7JgP.js} +2 -2
- package/dist/{DataTable-B--IN22e.js → DataTable-DweDyHc1.js} +2 -2
- package/dist/{Legend-Cz2uQ5gs.js → Legend-BLhREbj7.js} +2 -2
- package/dist/{NonSvgPenAndPaper-gLNJ1Lmr.js → NonSvgPenAndPaper-BzZyMJBF.js} +3 -3
- package/dist/{PackageVersion-BbgWxFC4.js → PackageVersion-DYLo3MRd.js} +1 -1
- package/dist/{PenAndPaper-DqrClVfb.js → PenAndPaper-D4aFMYZf.js} +3 -3
- package/dist/{Shape-BPCJfphn.js → Shape-BxFtoF1z.js} +1 -1
- package/dist/{Slicer-SHBj0VaV.js → Slicer-GABgkLkB.js} +2 -2
- package/dist/SlicerPreview-CXLgqXX8.js +1676 -0
- package/dist/{SparkTooltip-CfE6yCad.js → SparkTooltip-CdSRUoZN.js} +6 -6
- package/dist/{Title-NWp4qB4K.js → Title-DH6G8_cZ.js} +1 -1
- package/dist/{Tooltip-BENq327o.js → Tooltip-979Ytd8R.js} +1 -1
- package/dist/{UserOptions-C1NgoGu6.js → UserOptions-qFz-9Pnw.js} +2 -2
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-bump.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.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 +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.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 +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- 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 +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- 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 +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/{dom-to-png-BYtB4BF3.js → dom-to-png-CtV3uxDJ.js} +1 -1
- package/dist/exposedLib-BJbE_A8E.js +19 -0
- package/dist/{img-1cKsci8e.js → img-C_RNNswI.js} +1 -1
- package/dist/{labelUtils-CUctkYoA.js → labelUtils-Bycs-017.js} +1 -1
- package/dist/{lib-DUeYQsS0.js → lib-AJRHFE5U.js} +12 -6
- package/dist/{pdf-D0eZ99cP.js → pdf-CdX23zf1.js} +1 -1
- package/dist/ssr.js +1366 -0
- package/dist/style.css +1 -1
- package/dist/types/ssr.d.ts +128 -0
- package/dist/types/vue-data-ui.d.ts +135 -1
- package/dist/{useAutoSizeLabelsInsideViewbox-BIVntRZp.js → useAutoSizeLabelsInsideViewbox-kjVKQz36.js} +1 -1
- package/dist/{useNestedProp-CNcoy38D.js → useNestedProp-DtcXIg7n.js} +1 -1
- package/dist/{usePrinter-C1Gqt_Sp.js → usePrinter-6n2MzVyV.js} +2 -2
- package/dist/utils.js +8 -8
- package/dist/{vue-data-ui-CBjd88aV.js → vue-data-ui-D2dM3IQZ.js} +68 -68
- package/dist/vue-data-ui.js +72 -72
- package/dist/vue-ui-3d-bar-0C_yshya.js +1757 -0
- package/dist/{vue-ui-accordion-Bpbv-VHE.js → vue-ui-accordion-DLnwuQda.js} +3 -3
- package/dist/vue-ui-age-pyramid-DFNELwbT.js +1238 -0
- package/dist/{vue-ui-annotator-Q57JevNc.js → vue-ui-annotator-BljP5cB7.js} +8 -8
- package/dist/vue-ui-bullet-ChQq42AN.js +710 -0
- package/dist/{vue-ui-bump-S-FGGlPW.js → vue-ui-bump-BVCYywuS.js} +253 -253
- package/dist/{vue-ui-candlestick-BaaswVai.js → vue-ui-candlestick-CQ0nfkmL.js} +276 -276
- package/dist/vue-ui-carousel-table-Cvi1gsKR.js +455 -0
- package/dist/vue-ui-chestnut-DeWbKqze.js +2010 -0
- package/dist/vue-ui-chord-bRXYWpGT.js +1391 -0
- package/dist/{vue-ui-circle-pack--4oUO8hO.js → vue-ui-circle-pack-DWO8x9gf.js} +36 -36
- package/dist/{vue-ui-cursor-C7zZVebz.js → vue-ui-cursor-BKGUvOWO.js} +3 -3
- package/dist/{vue-ui-dag-DsCnV6f0.js → vue-ui-dag-lL0juBzN.js} +20 -20
- package/dist/{vue-ui-dashboard-CmTnG8CS.js → vue-ui-dashboard-CEk2z8v9.js} +69 -69
- package/dist/{vue-ui-digits-BQ0e9Czq.js → vue-ui-digits-BAjr0eIJ.js} +3 -3
- package/dist/vue-ui-donut-BsSpIinL.js +2410 -0
- package/dist/vue-ui-donut-evolution-1UhFKEgG.js +1510 -0
- package/dist/vue-ui-dumbbell-ChqJicg9.js +1530 -0
- package/dist/{vue-ui-flow-jBINqYMb.js → vue-ui-flow-BXfzMTXx.js} +57 -57
- package/dist/{vue-ui-funnel-B9DsneCv.js → vue-ui-funnel-BpnC82m0.js} +32 -32
- package/dist/{vue-ui-galaxy-SAZjgllD.js → vue-ui-galaxy-FNzwDOH1.js} +330 -330
- package/dist/vue-ui-gauge-D6I78FZr.js +920 -0
- package/dist/{vue-ui-geo-B41ZRCPC.js → vue-ui-geo-Z1xuH8r6.js} +18 -18
- package/dist/{vue-ui-gizmo-PL2TAIV_.js → vue-ui-gizmo-ZlmJIh0_.js} +62 -62
- package/dist/{vue-ui-heatmap-NkJ_KGMs.js → vue-ui-heatmap-BWN0UBKE.js} +264 -264
- package/dist/{vue-ui-history-plot-B9KX1kKs.js → vue-ui-history-plot-2E6KrNhv.js} +74 -74
- package/dist/vue-ui-horizontal-bar-BzP7k_3J.js +1681 -0
- package/dist/{vue-ui-kpi-Bo4x1-vC.js → vue-ui-kpi-B9bdicir.js} +3 -3
- package/dist/{vue-ui-mini-loader-Bi0nsbao.js → vue-ui-mini-loader-BnLOdRA0.js} +2 -2
- package/dist/vue-ui-molecule-B-69fE_1.js +925 -0
- package/dist/{vue-ui-mood-radar-DE71e1H_.js → vue-ui-mood-radar-D3kF7iHz.js} +21 -21
- package/dist/{vue-ui-nested-donuts-DQhSwNYF.js → vue-ui-nested-donuts-CTmomXj1.js} +256 -256
- package/dist/{vue-ui-onion-X9anqRDz.js → vue-ui-onion-3fJB4mfC.js} +45 -45
- package/dist/{vue-ui-parallel-coordinate-plot-aN0OHwgH.js → vue-ui-parallel-coordinate-plot-CKKkbBlu.js} +39 -39
- package/dist/{vue-ui-quadrant-CpKMBoX9.js → vue-ui-quadrant-DGLnjwva.js} +355 -355
- package/dist/{vue-ui-quick-chart-BwD7IGYx.js → vue-ui-quick-chart-DJnhlEXi.js} +359 -359
- package/dist/vue-ui-radar-AIBX0QYs.js +1229 -0
- package/dist/{vue-ui-rating-D8QQctnQ.js → vue-ui-rating-pDVqT08V.js} +33 -33
- package/dist/vue-ui-relation-circle-BQVR8L9Y.js +924 -0
- package/dist/{vue-ui-ridgeline-68X0PTKo.js → vue-ui-ridgeline-CYq3APPQ.js} +54 -54
- package/dist/{vue-ui-rings-cDPIzhPb.js → vue-ui-rings-BgFO7NYF.js} +81 -81
- package/dist/vue-ui-scatter-BPu5DwaJ.js +2413 -0
- package/dist/{vue-ui-skeleton-BD0JzrcV.js → vue-ui-skeleton-qpdvvWtx.js} +41 -41
- package/dist/{vue-ui-smiley-CqwB6Uhu.js → vue-ui-smiley-DUI5n89s.js} +16 -16
- package/dist/{vue-ui-spark-trend-DLXJpfGh.js → vue-ui-spark-trend-CQ9ZN5sL.js} +27 -27
- package/dist/{vue-ui-sparkbar-5pFFPu5l.js → vue-ui-sparkbar-d6ctWlLA.js} +83 -83
- package/dist/{vue-ui-sparkgauge--CihPbUW.js → vue-ui-sparkgauge-HX_rqLxX.js} +44 -44
- package/dist/{vue-ui-sparkhistogram-CjrIcako.js → vue-ui-sparkhistogram-B_zxKMHv.js} +110 -110
- package/dist/vue-ui-sparkline-BSdOdtKu.js +1507 -0
- package/dist/{vue-ui-sparkstackbar-Dlg1W_fF.js → vue-ui-sparkstackbar-B2sqpW-w.js} +155 -155
- package/dist/{vue-ui-stackbar-DltfPoDm.js → vue-ui-stackbar-DH75CCpy.js} +81 -81
- package/dist/vue-ui-stackline-CXodezD1.js +2398 -0
- package/dist/{vue-ui-strip-plot-CEE-cw3d.js → vue-ui-strip-plot-C1un5Mku.js} +90 -90
- package/dist/{vue-ui-table-C7AvFChf.js → vue-ui-table-R-aXpHvF.js} +86 -86
- package/dist/{vue-ui-table-heatmap-xwfStZrD.js → vue-ui-table-heatmap-C1e_7MJ2.js} +16 -16
- package/dist/{vue-ui-table-sparkline-DgTHhaZI.js → vue-ui-table-sparkline-Dy-6i82F.js} +22 -22
- package/dist/{vue-ui-thermometer-Cg7jcmgc.js → vue-ui-thermometer-CIse_lcE.js} +21 -21
- package/dist/{vue-ui-timer-U045embk.js → vue-ui-timer-AlYvthQ6.js} +23 -23
- package/dist/{vue-ui-tiremarks-T55IpHYP.js → vue-ui-tiremarks-CP_bw6by.js} +19 -19
- package/dist/{vue-ui-treemap-BPQ-Ekq4.js → vue-ui-treemap-BXrV5VAp.js} +65 -65
- package/dist/{vue-ui-waffle-DNCJGwEA.js → vue-ui-waffle-uoqEnQ30.js} +232 -232
- package/dist/{vue-ui-wheel-5GuVbUOq.js → vue-ui-wheel-DLgw_xfe.js} +36 -36
- package/dist/{vue-ui-word-cloud-Cs-MBJJU.js → vue-ui-word-cloud-Bgu-qbcp.js} +35 -35
- package/dist/{vue-ui-world-D3v5f6dU.js → vue-ui-world-B93iq1ZM.js} +445 -445
- package/dist/vue-ui-xy-DzuOBbPL.js +4744 -0
- package/dist/{vue-ui-xy-canvas-Ww81eEZ6.js → vue-ui-xy-canvas-DjxM7y3T.js} +60 -60
- package/package.json +6 -2
- package/dist/SlicerPreview-CpvCUAIM.js +0 -1669
- package/dist/exposedLib-CI8ji8G-.js +0 -19
- package/dist/vue-ui-3d-bar-DmMi_eVe.js +0 -1757
- package/dist/vue-ui-age-pyramid-CbJDodNj.js +0 -1238
- package/dist/vue-ui-bullet-rCmOch09.js +0 -710
- package/dist/vue-ui-carousel-table-DFUP6c1B.js +0 -455
- package/dist/vue-ui-chestnut-DKNsQA7h.js +0 -2010
- package/dist/vue-ui-chord-BMkz02R6.js +0 -1391
- package/dist/vue-ui-donut-BLlR2VgI.js +0 -2410
- package/dist/vue-ui-donut-evolution-kXDchwtH.js +0 -1510
- package/dist/vue-ui-dumbbell-BWuXbccQ.js +0 -1530
- package/dist/vue-ui-gauge-NSzY9L6X.js +0 -920
- package/dist/vue-ui-horizontal-bar-mmoqYnkA.js +0 -1681
- package/dist/vue-ui-molecule-QoXYCfyP.js +0 -925
- package/dist/vue-ui-radar-TfxsgQrA.js +0 -1229
- package/dist/vue-ui-relation-circle-CMqV9U6C.js +0 -924
- package/dist/vue-ui-scatter-8nirnHQi.js +0 -2413
- package/dist/vue-ui-sparkline-DPZm7RqN.js +0 -1507
- package/dist/vue-ui-stackline-6agFEYxZ.js +0 -2398
- package/dist/vue-ui-xy-C0kcCaFA.js +0 -4747
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
2
|
+
import { Ft as t, G as n, H as r, P as i, Tt as a, X as o, i as s, t as c } from "./lib-AJRHFE5U.js";
|
|
3
3
|
import { t as l } from "./useConfig-DnH7Pf_2.js";
|
|
4
|
-
import { t as u } from "./useNestedProp-
|
|
4
|
+
import { t as u } from "./useNestedProp-DtcXIg7n.js";
|
|
5
5
|
import { t as d } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
6
6
|
import { Fragment as f, computed as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, mergeProps as _, normalizeStyle as v, onMounted as y, openBlock as b, ref as x, renderList as ee, renderSlot as S, toDisplayString as C, unref as w, useSlots as te, watch as ne, withKeys as re } from "vue";
|
|
7
7
|
//#region src/components/vue-ui-rating.vue
|
|
@@ -113,7 +113,7 @@ var T = /* @__PURE__ */ e({ default: () => L }), ie = {
|
|
|
113
113
|
X();
|
|
114
114
|
});
|
|
115
115
|
function X() {
|
|
116
|
-
(!Object.hasOwn(R.dataset, "rating") ||
|
|
116
|
+
(!Object.hasOwn(R.dataset, "rating") || a(R.dataset)) && o({
|
|
117
117
|
componentName: "VueUiRating",
|
|
118
118
|
type: "datasetAttribute",
|
|
119
119
|
property: "rating"
|
|
@@ -143,11 +143,11 @@ var T = /* @__PURE__ */ e({ default: () => L }), ie = {
|
|
|
143
143
|
return d({
|
|
144
144
|
getData: _e,
|
|
145
145
|
toggleReadonly: ve
|
|
146
|
-
}), (e,
|
|
146
|
+
}), (e, r) => (b(), h("div", {
|
|
147
147
|
style: v(`background:${G.value.style.backgroundColor};font-family:${G.value.style.fontFamily};width:100%`),
|
|
148
148
|
class: "vue-data-ui-component vue-ui-rating",
|
|
149
|
-
onMouseover:
|
|
150
|
-
onMouseleave:
|
|
149
|
+
onMouseover: r[4] ||= (e) => B.value = !0,
|
|
150
|
+
onMouseleave: r[5] ||= (e) => {
|
|
151
151
|
B.value = !1, V.value = void 0;
|
|
152
152
|
}
|
|
153
153
|
}, [
|
|
@@ -173,17 +173,17 @@ var T = /* @__PURE__ */ e({ default: () => L }), ie = {
|
|
|
173
173
|
v: q.value,
|
|
174
174
|
r: G.value.style.rating.roundingValue
|
|
175
175
|
}), G.value)), 5)) : m("", !0),
|
|
176
|
-
(b(!0), h(f, null, ee(U.value, (
|
|
176
|
+
(b(!0), h(f, null, ee(U.value, (a, o) => (b(), h("div", {
|
|
177
177
|
class: "vue-ui-rating-unit-container",
|
|
178
178
|
style: v(`position:relative;height:${G.value.style.itemSize}px;width:${G.value.style.itemSize}px`)
|
|
179
179
|
}, [
|
|
180
180
|
e.$slots["layer-under"] || e.$slots["layer-above"] ? (b(), h("div", E, [e.$slots["layer-under"] ? (b(), h("div", D, [S(e.$slots, "layer-under", _({ ref_for: !0 }, {
|
|
181
|
-
value:
|
|
181
|
+
value: a,
|
|
182
182
|
size: G.value.style.itemSize,
|
|
183
183
|
hoveredValue: V.value,
|
|
184
184
|
focusedValue: H.value
|
|
185
185
|
}), void 0, !0)])) : m("", !0), e.$slots["layer-above"] ? (b(), h("div", O, [S(e.$slots, "layer-above", _({ ref_for: !0 }, {
|
|
186
|
-
value:
|
|
186
|
+
value: a,
|
|
187
187
|
size: G.value.style.itemSize,
|
|
188
188
|
hoveredValue: V.value,
|
|
189
189
|
focusedValue: H.value
|
|
@@ -193,7 +193,7 @@ var T = /* @__PURE__ */ e({ default: () => L }), ie = {
|
|
|
193
193
|
height: G.value.style.itemSize,
|
|
194
194
|
width: G.value.style.itemSize,
|
|
195
195
|
class: "vue-ui-rating-unit",
|
|
196
|
-
style: v(`position:absolute;top:0;left:0;opacity:${isNaN(V.value) ? G.value.style.image.inactiveOpacity : Z(
|
|
196
|
+
style: v(`position:absolute;top:0;left:0;opacity:${isNaN(V.value) ? G.value.style.image.inactiveOpacity : Z(a, !0)}`)
|
|
197
197
|
}, null, 12, ae)) : (b(), h("svg", {
|
|
198
198
|
key: 1,
|
|
199
199
|
xmlns: w(c),
|
|
@@ -210,12 +210,12 @@ var T = /* @__PURE__ */ e({ default: () => L }), ie = {
|
|
|
210
210
|
id: `star_gradient_under_${z.value}`
|
|
211
211
|
}, [g("stop", {
|
|
212
212
|
offset: "0%",
|
|
213
|
-
"stop-color": `${w(
|
|
213
|
+
"stop-color": `${w(t)(G.value.style.star.activeColor, .05)}`
|
|
214
214
|
}, null, 8, ce), g("stop", {
|
|
215
215
|
offset: "100%",
|
|
216
216
|
"stop-color": G.value.style.star.activeColor
|
|
217
217
|
}, null, 8, le)], 8, se)]), g("polygon", {
|
|
218
|
-
points: w(
|
|
218
|
+
points: w(i)({
|
|
219
219
|
plot: {
|
|
220
220
|
x: 50,
|
|
221
221
|
y: 50
|
|
@@ -223,18 +223,18 @@ var T = /* @__PURE__ */ e({ default: () => L }), ie = {
|
|
|
223
223
|
radius: 30,
|
|
224
224
|
apexes: G.value.style.star.apexes
|
|
225
225
|
}),
|
|
226
|
-
fill: isNaN(V.value) ? G.value.style.star.inactiveColor : Z(
|
|
227
|
-
stroke: G.value.style.star.borderColor ? G.value.style.star.borderColor : V.value ? Z(
|
|
226
|
+
fill: isNaN(V.value) ? G.value.style.star.inactiveColor : Z(a),
|
|
227
|
+
stroke: G.value.style.star.borderColor ? G.value.style.star.borderColor : V.value ? Z(a) : G.value.style.star.inactiveColor,
|
|
228
228
|
"stroke-width": G.value.style.star.borderWidth,
|
|
229
229
|
"stroke-linecap": "round",
|
|
230
230
|
"stroke-linejoin": "round"
|
|
231
231
|
}, null, 8, ue)], 8, oe)), J.value ? (b(), h("img", {
|
|
232
232
|
key: 2,
|
|
233
233
|
src: G.value.style.image.src,
|
|
234
|
-
alt: `${G.value.style.image.alt} ${
|
|
234
|
+
alt: `${G.value.style.image.alt} ${a}`,
|
|
235
235
|
height: G.value.style.itemSize,
|
|
236
236
|
width: G.value.style.itemSize,
|
|
237
|
-
id: `active_${z.value}_${
|
|
237
|
+
id: `active_${z.value}_${a}`,
|
|
238
238
|
class: "vue-ui-rating-unit",
|
|
239
239
|
style: v(`position:absolute;top:0;left:0;clip:rect(0px,${Q(o, !0) * G.value.style.itemSize}px,${G.value.style.itemSize}px,0px`)
|
|
240
240
|
}, null, 12, de)) : (b(), h("svg", {
|
|
@@ -243,7 +243,7 @@ var T = /* @__PURE__ */ e({ default: () => L }), ie = {
|
|
|
243
243
|
viewBox: `0 0 ${Q(o)} 100`,
|
|
244
244
|
height: G.value.style.itemSize,
|
|
245
245
|
class: "vue-ui-rating-unit",
|
|
246
|
-
id: `active_${z.value}_${
|
|
246
|
+
id: `active_${z.value}_${a}`,
|
|
247
247
|
style: {
|
|
248
248
|
position: "absolute",
|
|
249
249
|
top: "0",
|
|
@@ -258,12 +258,12 @@ var T = /* @__PURE__ */ e({ default: () => L }), ie = {
|
|
|
258
258
|
id: `star_gradient_over_${z.value}`
|
|
259
259
|
}, [g("stop", {
|
|
260
260
|
offset: "0%",
|
|
261
|
-
"stop-color": `${w(
|
|
261
|
+
"stop-color": `${w(t)(G.value.style.star.activeColor, .05)}`
|
|
262
262
|
}, null, 8, j), g("stop", {
|
|
263
263
|
offset: "100%",
|
|
264
264
|
"stop-color": G.value.style.star.activeColor
|
|
265
265
|
}, null, 8, M)], 8, A)]), g("polygon", {
|
|
266
|
-
points: w(
|
|
266
|
+
points: w(i)({
|
|
267
267
|
plot: {
|
|
268
268
|
x: 50,
|
|
269
269
|
y: 50
|
|
@@ -288,13 +288,13 @@ var T = /* @__PURE__ */ e({ default: () => L }), ie = {
|
|
|
288
288
|
width: 100,
|
|
289
289
|
height: 100,
|
|
290
290
|
fill: "transparent",
|
|
291
|
-
onClick: (e) => $(
|
|
292
|
-
onMouseenter: (e) => V.value =
|
|
293
|
-
onMouseleave:
|
|
294
|
-
onFocus: (e) => H.value =
|
|
295
|
-
onBlur:
|
|
291
|
+
onClick: (e) => $(a),
|
|
292
|
+
onMouseenter: (e) => V.value = a,
|
|
293
|
+
onMouseleave: r[0] ||= (e) => V.value = void 0,
|
|
294
|
+
onFocus: (e) => H.value = a,
|
|
295
|
+
onBlur: r[1] ||= (e) => H.value = void 0,
|
|
296
296
|
tabindex: "0",
|
|
297
|
-
onKeyup: re((e) => $(
|
|
297
|
+
onKeyup: re((e) => $(a), ["enter"])
|
|
298
298
|
}, null, 40, F)), Y.value ? (b(), h("rect", {
|
|
299
299
|
key: 1,
|
|
300
300
|
class: "vue-ui-rating-mouse-trap",
|
|
@@ -303,19 +303,19 @@ var T = /* @__PURE__ */ e({ default: () => L }), ie = {
|
|
|
303
303
|
width: 100,
|
|
304
304
|
height: 100,
|
|
305
305
|
fill: "transparent",
|
|
306
|
-
onMouseenter: (e) => V.value =
|
|
307
|
-
onMouseleave:
|
|
308
|
-
onFocus: (e) => H.value =
|
|
309
|
-
onBlur:
|
|
306
|
+
onMouseenter: (e) => V.value = a,
|
|
307
|
+
onMouseleave: r[2] ||= (e) => V.value = void 0,
|
|
308
|
+
onFocus: (e) => H.value = a,
|
|
309
|
+
onBlur: r[3] ||= (e) => H.value = void 0
|
|
310
310
|
}, null, 40, I)) : m("", !0)], 12, P)),
|
|
311
311
|
G.value.style.tooltip.show && he.value && Y.value ? (b(), h("div", {
|
|
312
312
|
key: 2,
|
|
313
313
|
class: "vue-ui-rating-tooltip",
|
|
314
|
-
style: v(`border:1px solid ${G.value.style.tooltip.borderColor};position:absolute;top:${-48 + G.value.style.tooltip.offsetY}px;left:50%;transform:translateX(-50%);width:fit-content;text-align:center;background:${G.value.style.tooltip.backgroundColor};display:${V.value ===
|
|
314
|
+
style: v(`border:1px solid ${G.value.style.tooltip.borderColor};position:absolute;top:${-48 + G.value.style.tooltip.offsetY}px;left:50%;transform:translateX(-50%);width:fit-content;text-align:center;background:${G.value.style.tooltip.backgroundColor};display:${V.value === a ? "block" : "none"};padding:2px 12px;border-radius:${G.value.style.tooltip.borderRadius}px;box-shadow:${G.value.style.tooltip.boxShadow}`)
|
|
315
315
|
}, [g("div", { style: v(`width:100%;display:flex;flex-direction:row;gap:6px;position:relative;text-align:center;color:${G.value.style.tooltip.color}`) }, [
|
|
316
|
-
g("span", { style: v(`font-size:${G.value.style.tooltip.fontSize}px`) }, C(
|
|
317
|
-
g("span", { style: v(`font-weight:${G.value.style.tooltip.bold ? "bold" : "normal"};font-size:${G.value.style.tooltip.fontSize}px`) }, C(w(s)(G.value.style.tooltip.formatter, R.dataset.rating[
|
|
318
|
-
v: R.dataset.rating[
|
|
316
|
+
g("span", { style: v(`font-size:${G.value.style.tooltip.fontSize}px`) }, C(a) + ":", 5),
|
|
317
|
+
g("span", { style: v(`font-weight:${G.value.style.tooltip.bold ? "bold" : "normal"};font-size:${G.value.style.tooltip.fontSize}px`) }, C(w(s)(G.value.style.tooltip.formatter, R.dataset.rating[a], w(n)({
|
|
318
|
+
v: R.dataset.rating[a],
|
|
319
319
|
r: G.value.style.tooltip.roundingValue
|
|
320
320
|
}), G.value)), 5),
|
|
321
321
|
g("div", { style: v(`font-family:Arial !important;position:absolute;top:calc(100% - 4px);left:50%;transform:translateX(-50%);color:${G.value.style.tooltip.borderColor}`) }, " ▼ ", 4)
|