vue-data-ui 3.22.8 → 3.22.9

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.
Files changed (169) hide show
  1. package/dist/{BaseDraggableDialog-DcfGlH8A.js → BaseDraggableDialog-Av7Uxq5V.js} +1 -1
  2. package/dist/BaseIcon-UdRAvP2h.js +483 -0
  3. package/dist/{BaseLegendToggle-DtQ8vyfr.js → BaseLegendToggle-DWtet-Hh.js} +1 -1
  4. package/dist/{BaseZoomControls-C6zonwhr.js → BaseZoomControls-BY2KLqs6.js} +1 -1
  5. package/dist/{ColorPicker-CK2-h611.js → ColorPicker-DR_ummtM.js} +1 -1
  6. package/dist/{DataTable-D9NvewTT.js → DataTable-BxpTMgfK.js} +1 -1
  7. package/dist/DefGrad-DVBqDjhO.js +48 -0
  8. package/dist/{NonSvgPenAndPaper-BHHNsVVP.js → NonSvgPenAndPaper-B6EG_Sga.js} +2 -2
  9. package/dist/{PackageVersion-DW7zwRcm.js → PackageVersion-D__dRVRA.js} +1 -1
  10. package/dist/{PenAndPaper-pcgwlYr2.js → PenAndPaper-DsXi7GJ-.js} +2 -2
  11. package/dist/{Slicer-BZ5VnOOS.js → Slicer-CW_XPIKL.js} +359 -354
  12. package/dist/{SlicerPreview-BQFeCw0m.js → SlicerPreview-CTz41lOu.js} +471 -466
  13. package/dist/{UserOptions-16uF1ayB.js → UserOptions-trvJ26nz.js} +1 -1
  14. package/dist/components/vue-ui-3d-bar.js +1 -1
  15. package/dist/components/vue-ui-accordion.js +1 -1
  16. package/dist/components/vue-ui-age-pyramid.js +1 -1
  17. package/dist/components/vue-ui-annotator.js +1 -1
  18. package/dist/components/vue-ui-bullet.js +1 -1
  19. package/dist/components/vue-ui-bump.js +1 -1
  20. package/dist/components/vue-ui-candlestick.js +1 -1
  21. package/dist/components/vue-ui-carousel-table.js +1 -1
  22. package/dist/components/vue-ui-chestnut.js +1 -1
  23. package/dist/components/vue-ui-chord.js +1 -1
  24. package/dist/components/vue-ui-circle-pack.js +1 -1
  25. package/dist/components/vue-ui-cursor.js +1 -1
  26. package/dist/components/vue-ui-dag.js +1 -1
  27. package/dist/components/vue-ui-dashboard.js +1 -1
  28. package/dist/components/vue-ui-digits.js +1 -1
  29. package/dist/components/vue-ui-donut-evolution.js +1 -1
  30. package/dist/components/vue-ui-donut.js +1 -1
  31. package/dist/components/vue-ui-dumbbell.js +1 -1
  32. package/dist/components/vue-ui-flow.js +1 -1
  33. package/dist/components/vue-ui-funnel.js +1 -1
  34. package/dist/components/vue-ui-galaxy.js +1 -1
  35. package/dist/components/vue-ui-gauge.js +1 -1
  36. package/dist/components/vue-ui-geo.js +1 -1
  37. package/dist/components/vue-ui-gizmo.js +1 -1
  38. package/dist/components/vue-ui-heatmap.js +1 -1
  39. package/dist/components/vue-ui-history-plot.js +1 -1
  40. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  41. package/dist/components/vue-ui-icon.js +1 -1
  42. package/dist/components/vue-ui-kpi.js +1 -1
  43. package/dist/components/vue-ui-molecule.js +1 -1
  44. package/dist/components/vue-ui-mood-radar.js +1 -1
  45. package/dist/components/vue-ui-nested-donuts.js +1 -1
  46. package/dist/components/vue-ui-onion.js +1 -1
  47. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  48. package/dist/components/vue-ui-quadrant.js +1 -1
  49. package/dist/components/vue-ui-quick-chart.js +1 -1
  50. package/dist/components/vue-ui-radar.js +1 -1
  51. package/dist/components/vue-ui-rating.js +1 -1
  52. package/dist/components/vue-ui-relation-circle.js +1 -1
  53. package/dist/components/vue-ui-ridgeline.js +1 -1
  54. package/dist/components/vue-ui-rings.js +1 -1
  55. package/dist/components/vue-ui-scatter.js +1 -1
  56. package/dist/components/vue-ui-skeleton.js +1 -1
  57. package/dist/components/vue-ui-smiley.js +1 -1
  58. package/dist/components/vue-ui-spark-trend.js +1 -1
  59. package/dist/components/vue-ui-sparkbar.js +1 -1
  60. package/dist/components/vue-ui-sparkgauge.js +1 -1
  61. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  62. package/dist/components/vue-ui-sparkline.js +1 -1
  63. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  64. package/dist/components/vue-ui-stackbar.js +1 -1
  65. package/dist/components/vue-ui-stackline.js +1 -1
  66. package/dist/components/vue-ui-strip-plot.js +1 -1
  67. package/dist/components/vue-ui-table-heatmap.js +1 -1
  68. package/dist/components/vue-ui-table-sparkline.js +1 -1
  69. package/dist/components/vue-ui-table.js +1 -1
  70. package/dist/components/vue-ui-thermometer.js +1 -1
  71. package/dist/components/vue-ui-timer.js +1 -1
  72. package/dist/components/vue-ui-tiremarks.js +1 -1
  73. package/dist/components/vue-ui-treemap.js +1 -1
  74. package/dist/components/vue-ui-vertical-bar.js +1 -1
  75. package/dist/components/vue-ui-waffle.js +1 -1
  76. package/dist/components/vue-ui-wheel.js +1 -1
  77. package/dist/components/vue-ui-word-cloud.js +1 -1
  78. package/dist/components/vue-ui-world.js +1 -1
  79. package/dist/components/vue-ui-xy-canvas.js +1 -1
  80. package/dist/components/vue-ui-xy.js +1 -1
  81. package/dist/{package-gp9pYCfN.js → package-ByOT60IK.js} +1 -1
  82. package/dist/{render-common-CLn1VXJ9.js → render-common-D18VrP0h.js} +1 -1
  83. package/dist/ssr/vue-ui-donut.js +1 -1
  84. package/dist/ssr/vue-ui-xy.js +1 -1
  85. package/dist/ssr.js +2 -2
  86. package/dist/style.css +1 -1
  87. package/dist/{vue-data-ui-AZZ9Cq-4.js → vue-data-ui-ub3fCh6P.js} +67 -67
  88. package/dist/vue-data-ui.js +67 -67
  89. package/dist/vue-ui-3d-bar-taPI41_I.js +1825 -0
  90. package/dist/{vue-ui-accordion-YyosvEPo.js → vue-ui-accordion-CjAGqEJg.js} +1 -1
  91. package/dist/{vue-ui-age-pyramid-DTAOc7fn.js → vue-ui-age-pyramid-jvQZbF8E.js} +306 -297
  92. package/dist/{vue-ui-annotator-CfJXeAOE.js → vue-ui-annotator-BIucnT0L.js} +3 -3
  93. package/dist/{vue-ui-bullet-CCLnrOLm.js → vue-ui-bullet-CIATzlsk.js} +1 -1
  94. package/dist/{vue-ui-bump-Rq7efdoe.js → vue-ui-bump-D8MxltQE.js} +2 -2
  95. package/dist/{vue-ui-candlestick-D-Z9pEaA.js → vue-ui-candlestick-DULUMU-Q.js} +513 -502
  96. package/dist/{vue-ui-carousel-table-Lx5Zk4dG.js → vue-ui-carousel-table-BSmdexG7.js} +1 -1
  97. package/dist/vue-ui-chestnut-BIh1nQ7q.js +2042 -0
  98. package/dist/{vue-ui-chord-Db1O_diJ.js → vue-ui-chord-DL1M7cgL.js} +1 -1
  99. package/dist/vue-ui-circle-pack-C1Pgq6si.js +1614 -0
  100. package/dist/{vue-ui-cursor-DLP7wxsw.js → vue-ui-cursor-d2uLAKTQ.js} +1 -1
  101. package/dist/{vue-ui-dag-DL3zq0F2.js → vue-ui-dag-CVh9FpZr.js} +2 -2
  102. package/dist/{vue-ui-dashboard-C2ozZ-LI.js → vue-ui-dashboard-BH0N3ebj.js} +65 -65
  103. package/dist/{vue-ui-digits-ThFVNO3l.js → vue-ui-digits-R6wi3J-Y.js} +1 -1
  104. package/dist/{vue-ui-donut-BuTd6dt4.js → vue-ui-donut-BWDeVzLc.js} +1 -1
  105. package/dist/{vue-ui-donut-C3Rt6j-I.js → vue-ui-donut-BoZdciGh.js} +632 -623
  106. package/dist/vue-ui-donut-evolution-CpC9EMro.js +1522 -0
  107. package/dist/{vue-ui-dumbbell-wK7vUB0x.js → vue-ui-dumbbell-DGA5Bfnl.js} +528 -494
  108. package/dist/{vue-ui-flow-BTUNfWb7.js → vue-ui-flow-CNczKwTh.js} +1 -1
  109. package/dist/vue-ui-funnel-CaD2tZCT.js +782 -0
  110. package/dist/{vue-ui-galaxy-DJ2uNYcN.js → vue-ui-galaxy-v3cTbUiM.js} +2 -2
  111. package/dist/vue-ui-gauge-DxvMjfoc.js +926 -0
  112. package/dist/{vue-ui-geo-ovHu_Sc9.js → vue-ui-geo-BgmLkZZ2.js} +2 -2
  113. package/dist/{vue-ui-gizmo-DDxEj-qe.js → vue-ui-gizmo-n1kmcGeE.js} +66 -61
  114. package/dist/{vue-ui-heatmap-Npqnvb1r.js → vue-ui-heatmap-dSTh8ah_.js} +2 -2
  115. package/dist/{vue-ui-history-plot-C3Kjy2tc.js → vue-ui-history-plot-N8BqMFVU.js} +395 -384
  116. package/dist/{vue-ui-horizontal-bar-D1rCsgqt.js → vue-ui-horizontal-bar-CwiQxYzv.js} +360 -354
  117. package/dist/{vue-ui-kpi-BrlfYO-j.js → vue-ui-kpi-BKrUk9o8.js} +1 -1
  118. package/dist/{vue-ui-molecule-CExCqZ08.js → vue-ui-molecule--kK1JfnP.js} +295 -289
  119. package/dist/{vue-ui-mood-radar-DlVh6hwx.js → vue-ui-mood-radar-CpBRHQo_.js} +209 -204
  120. package/dist/{vue-ui-nested-donuts-3TRV8pN-.js → vue-ui-nested-donuts-8Ehwcuns.js} +307 -301
  121. package/dist/{vue-ui-onion-DwKK9DXn.js → vue-ui-onion-Cf6JiYTH.js} +2 -2
  122. package/dist/{vue-ui-parallel-coordinate-plot-DSp_cwU-.js → vue-ui-parallel-coordinate-plot-Blnqp1DB.js} +2 -2
  123. package/dist/{vue-ui-quadrant-ByVg-NBs.js → vue-ui-quadrant-CxU0jiOm.js} +366 -360
  124. package/dist/{vue-ui-quick-chart-WMzSJxGZ.js → vue-ui-quick-chart-BO98uEPl.js} +3 -3
  125. package/dist/{vue-ui-radar-DE-me6OC.js → vue-ui-radar-eH2Qih4_.js} +272 -266
  126. package/dist/{vue-ui-rating-CzD3EQ3G.js → vue-ui-rating-CN-ZiAES.js} +135 -126
  127. package/dist/{vue-ui-relation-circle-L7-dTqet.js → vue-ui-relation-circle-BIcP-aAt.js} +1 -1
  128. package/dist/vue-ui-ridgeline-ChXHzEJw.js +1628 -0
  129. package/dist/{vue-ui-rings-WzWiEo9W.js → vue-ui-rings-J990vNbX.js} +262 -256
  130. package/dist/{vue-ui-scatter-DwrAydha.js → vue-ui-scatter-BeJB0EKg.js} +642 -633
  131. package/dist/{vue-ui-skeleton-CuFm4PtB.js → vue-ui-skeleton-DC2bZ0nk.js} +336 -333
  132. package/dist/{vue-ui-smiley-D4NnZ1mg.js → vue-ui-smiley-Dyyu1je3.js} +111 -98
  133. package/dist/{vue-ui-spark-trend-C38ysZ-c.js → vue-ui-spark-trend-CpDX85H3.js} +158 -153
  134. package/dist/vue-ui-sparkbar-DhIo1qsW.js +398 -0
  135. package/dist/{vue-ui-sparkgauge-DgPc4vPT.js → vue-ui-sparkgauge-D0Fo3Hts.js} +75 -70
  136. package/dist/vue-ui-sparkhistogram-CUjFiuAh.js +576 -0
  137. package/dist/vue-ui-sparkline-ApivEMBP.js +1560 -0
  138. package/dist/{vue-ui-sparkstackbar-DrmiWFlw.js → vue-ui-sparkstackbar-DsKQJx_n.js} +179 -167
  139. package/dist/{vue-ui-stackbar-BVdApDnY.js → vue-ui-stackbar-Ds4hXATH.js} +538 -531
  140. package/dist/vue-ui-stackline-DJbcVvmN.js +2425 -0
  141. package/dist/{vue-ui-strip-plot-C-TFNvgz.js → vue-ui-strip-plot-C3ZHf4bD.js} +368 -361
  142. package/dist/{vue-ui-table-heatmap-D0pZbBOH.js → vue-ui-table-heatmap-CNXNXXBU.js} +1 -1
  143. package/dist/{vue-ui-table-sparkline-Q6BHPKUn.js → vue-ui-table-sparkline-B9JJ4pFF.js} +1 -1
  144. package/dist/{vue-ui-table-Q3brrivC.js → vue-ui-table-uudidrYt.js} +4 -4
  145. package/dist/vue-ui-thermometer-Bvw3oQb3.js +770 -0
  146. package/dist/{vue-ui-timer-BdzKpoRj.js → vue-ui-timer-5NAWw5BN.js} +91 -86
  147. package/dist/{vue-ui-tiremarks-DWb69ofh.js → vue-ui-tiremarks-Caz_g1c5.js} +1 -1
  148. package/dist/{vue-ui-treemap-uUz07Prw.js → vue-ui-treemap-F9upPyOI.js} +458 -453
  149. package/dist/{vue-ui-waffle-Pi9e7Ae7.js → vue-ui-waffle-Bk9AsrPp.js} +296 -290
  150. package/dist/{vue-ui-wheel-DTfvWYA7.js → vue-ui-wheel-DD6Q39BA.js} +1 -1
  151. package/dist/{vue-ui-word-cloud-DqfljAqH.js → vue-ui-word-cloud-BZLT5svo.js} +2 -2
  152. package/dist/{vue-ui-world-BtBrH92Z.js → vue-ui-world-DbEJN5NA.js} +284 -273
  153. package/dist/{vue-ui-xy-Bvgy2do1.js → vue-ui-xy-BYMAITk_.js} +1294 -1268
  154. package/dist/{vue-ui-xy-D5KsuNR2.js → vue-ui-xy-Cn9Q8YPr.js} +1 -1
  155. package/dist/{vue-ui-xy-canvas-BfgeE3TW.js → vue-ui-xy-canvas-Dcm2ftwm.js} +5 -5
  156. package/package.json +1 -1
  157. package/dist/BaseIcon-C2qlyHc7.js +0 -502
  158. package/dist/vue-ui-3d-bar-B3HxJmDI.js +0 -1757
  159. package/dist/vue-ui-chestnut-RfWMGUD-.js +0 -2010
  160. package/dist/vue-ui-circle-pack-B4Ro7UuI.js +0 -1608
  161. package/dist/vue-ui-donut-evolution-DY46UPF_.js +0 -1510
  162. package/dist/vue-ui-funnel-BhoHzyHa.js +0 -777
  163. package/dist/vue-ui-gauge-Cf4NqvrO.js +0 -920
  164. package/dist/vue-ui-ridgeline-Cp3YP0xe.js +0 -1622
  165. package/dist/vue-ui-sparkbar-B03ndcUe.js +0 -393
  166. package/dist/vue-ui-sparkhistogram-D02ff7ZI.js +0 -560
  167. package/dist/vue-ui-sparkline-DlTfNQj8.js +0 -1547
  168. package/dist/vue-ui-stackline-QzQQ7lTy.js +0 -2419
  169. package/dist/vue-ui-thermometer-Bg0RR6m4.js +0 -763
@@ -3,16 +3,17 @@ import { $ as t, G as n, J as r, L as i, i as a, kt as o, t as s, zt as c } from
3
3
  import { t as ee } from "./useConfig-DYM3f6EI.js";
4
4
  import { t as te } from "./useNestedProp-DIuuzG1r.js";
5
5
  import { t as l } from "./_plugin-vue_export-helper-B3ysoDQm.js";
6
- import { Fragment as u, computed as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, mergeProps as h, normalizeStyle as g, onMounted as _, openBlock as v, ref as y, renderList as ne, renderSlot as b, toDisplayString as x, unref as S, useSlots as re, watch as ie, withKeys as C } from "vue";
6
+ import { t as u } from "./DefGrad-DVBqDjhO.js";
7
+ import { Fragment as d, computed as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createVNode as g, mergeProps as _, normalizeStyle as v, onMounted as y, openBlock as b, ref as x, renderList as ne, renderSlot as S, toDisplayString as C, unref as w, useSlots as T, watch as E, withKeys as D } from "vue";
7
8
  //#region src/components/vue-ui-rating.vue
8
- var w = /* @__PURE__ */ e({ default: () => R }), T = {
9
+ var O = /* @__PURE__ */ e({ default: () => I }), k = {
9
10
  key: 0,
10
11
  class: "vue-ui-rating-title",
11
12
  style: { width: "100%" }
12
- }, E = {
13
+ }, A = {
13
14
  key: 0,
14
15
  style: { position: "relative" }
15
- }, D = {
16
+ }, j = {
16
17
  key: 0,
17
18
  style: {
18
19
  position: "absolute",
@@ -21,7 +22,7 @@ var w = /* @__PURE__ */ e({ default: () => R }), T = {
21
22
  width: "100%",
22
23
  height: "100%"
23
24
  }
24
- }, O = {
25
+ }, M = {
25
26
  key: 1,
26
27
  style: {
27
28
  position: "absolute",
@@ -30,40 +31,40 @@ var w = /* @__PURE__ */ e({ default: () => R }), T = {
30
31
  width: "100%",
31
32
  height: "100%"
32
33
  }
33
- }, k = [
34
+ }, N = [
34
35
  "src",
35
36
  "height",
36
37
  "width"
37
- ], ae = [
38
+ ], re = [
38
39
  "xmlns",
39
40
  "height",
40
41
  "width"
41
- ], oe = ["id"], se = ["stop-color"], ce = ["stop-color"], le = [
42
+ ], ie = [
42
43
  "points",
43
44
  "fill",
44
45
  "stroke",
45
46
  "stroke-width"
46
- ], ue = [
47
+ ], ae = [
47
48
  "src",
48
49
  "alt",
49
50
  "height",
50
51
  "width",
51
52
  "id"
52
- ], A = [
53
+ ], oe = [
53
54
  "xmlns",
54
55
  "viewBox",
55
56
  "height",
56
57
  "id"
57
- ], j = ["id"], M = ["stop-color"], N = ["stop-color"], P = [
58
+ ], se = [
58
59
  "points",
59
60
  "fill",
60
61
  "stroke"
61
- ], F = ["xmlns", "height"], I = [
62
+ ], ce = ["xmlns", "height"], P = [
62
63
  "onClick",
63
64
  "onMouseenter",
64
65
  "onFocus",
65
66
  "onKeyup"
66
- ], L = ["onMouseenter", "onFocus"], R = /*#__PURE__*/ l({
67
+ ], F = ["onMouseenter", "onFocus"], I = /*#__PURE__*/ l({
67
68
  __name: "vue-ui-rating",
68
69
  props: {
69
70
  config: {
@@ -80,26 +81,26 @@ var w = /* @__PURE__ */ e({ default: () => R }), T = {
80
81
  }
81
82
  },
82
83
  emits: ["rate"],
83
- setup(e, { expose: l, emit: w }) {
84
- let { vue_ui_rating: R } = ee(), z = e, B = y(n()), V = y(!1), H = y(void 0), U = y(void 0), W = y([]), de = re();
85
- _(() => {
86
- de["chart-background"] && console.warn("VueUiRating does not support the #chart-background slot.");
84
+ setup(e, { expose: l, emit: O }) {
85
+ let { vue_ui_rating: I } = ee(), L = e, R = x(n()), z = x(!1), B = x(void 0), V = x(void 0), H = x([]), U = T();
86
+ y(() => {
87
+ U["chart-background"] && console.warn("VueUiRating does not support the #chart-background slot.");
87
88
  });
88
- let fe = w, G = d({
89
+ let W = O, G = f({
89
90
  get: () => K(),
90
91
  set: (e) => e
91
- }), pe = d(() => G.value.useCursorPointer);
92
+ }), le = f(() => G.value.useCursorPointer);
92
93
  function K() {
93
94
  return te({
94
- userConfig: z.config,
95
- defaultConfig: R
95
+ userConfig: L.config,
96
+ defaultConfig: I
96
97
  });
97
98
  }
98
- ie(() => z.config, (e) => {
99
+ E(() => L.config, (e) => {
99
100
  G.value = K(), X();
100
101
  }, { deep: !0 });
101
- let me = d(() => typeof z.dataset.rating == "object" && !Array.isArray(z.dataset.rating) ? ge(z.dataset.rating) : z.dataset.rating), he = d(() => typeof z.dataset.rating == "object" && !Array.isArray(z.dataset.rating)), q = y(me.value), J = d(() => G.value.type === "image"), Y = d(() => G.value.readonly);
102
- function ge(e) {
102
+ let ue = f(() => typeof L.dataset.rating == "object" && !Array.isArray(L.dataset.rating) ? fe(L.dataset.rating) : L.dataset.rating), de = f(() => typeof L.dataset.rating == "object" && !Array.isArray(L.dataset.rating)), q = x(ue.value), J = f(() => G.value.type === "image"), Y = f(() => G.value.readonly);
103
+ function fe(e) {
103
104
  let t = 0, n = 0;
104
105
  for (let r in e) {
105
106
  let i = parseInt(r), a = e[r];
@@ -109,19 +110,19 @@ var w = /* @__PURE__ */ e({ default: () => R }), T = {
109
110
  let r = t / n;
110
111
  return Math.min(G.value.to, Math.max(G.value.from, r));
111
112
  }
112
- _(() => {
113
+ y(() => {
113
114
  X();
114
115
  });
115
116
  function X() {
116
- (!Object.hasOwn(z.dataset, "rating") || o(z.dataset)) && t({
117
+ (!Object.hasOwn(L.dataset, "rating") || o(L.dataset)) && t({
117
118
  componentName: "VueUiRating",
118
119
  type: "datasetAttribute",
119
120
  property: "rating"
120
- }), W.value = [];
121
- for (let e = G.value.from; e <= G.value.to; e += 1) W.value.push(e);
121
+ }), H.value = [];
122
+ for (let e = G.value.from; e <= G.value.to; e += 1) H.value.push(e);
122
123
  }
123
124
  function Z(e, t = !1) {
124
- return e > H.value || Y.value ? t ? G.value.style.image.inactiveOpacity : G.value.style.star.inactiveColor : t ? 1 : G.value.style.star.useGradient ? `url(#star_gradient_under_${B.value})` : G.value.style.star.activeColor;
125
+ return e > B.value || Y.value ? t ? G.value.style.image.inactiveOpacity : G.value.style.star.inactiveColor : t ? 1 : G.value.style.star.useGradient ? `url(#star_gradient_under_${R.value})` : G.value.style.star.activeColor;
125
126
  }
126
127
  function Q(e, t = !1) {
127
128
  let n = q.value - e, r = t ? 1 : 100;
@@ -132,90 +133,94 @@ var w = /* @__PURE__ */ e({ default: () => R }), T = {
132
133
  }
133
134
  }
134
135
  function $(e) {
135
- Y.value || (q.value = e, fe("rate", e));
136
+ Y.value || (q.value = e, W("rate", e));
136
137
  }
137
- function _e() {
138
+ function pe() {
138
139
  return q.value;
139
140
  }
140
- function ve(e = !0) {
141
+ function me(e = !0) {
141
142
  Y.value = e;
142
143
  }
143
144
  return l({
144
- getData: _e,
145
- toggleReadonly: ve
146
- }), (e, t) => (v(), p("div", {
147
- style: g(`background:${G.value.style.backgroundColor};font-family:${G.value.style.fontFamily};width:100%`),
145
+ getData: pe,
146
+ toggleReadonly: me
147
+ }), (e, t) => (b(), m("div", {
148
+ style: v(`background:${G.value.style.backgroundColor};font-family:${G.value.style.fontFamily};width:100%`),
148
149
  class: "vue-data-ui-component vue-ui-rating",
149
- onMouseover: t[4] ||= (e) => V.value = !0,
150
+ onMouseover: t[4] ||= (e) => z.value = !0,
150
151
  onMouseleave: t[5] ||= (e) => {
151
- V.value = !1, H.value = void 0;
152
+ z.value = !1, B.value = void 0;
152
153
  }
153
154
  }, [
154
- G.value.style.title.text ? (v(), p("div", T, [m("div", { style: g(`color:${G.value.style.title.color};font-weight:${G.value.style.title.bold ? "bold" : "normal"};text-align:${G.value.style.title.textAlign};margin-bottom:${G.value.style.title.offsetY}px;font-size:${G.value.style.title.fontSize}px`) }, x(G.value.style.title.text), 5), G.value.style.title.subtitle.text ? (v(), p("div", {
155
+ G.value.style.title.text ? (b(), m("div", k, [h("div", { style: v(`color:${G.value.style.title.color};font-weight:${G.value.style.title.bold ? "bold" : "normal"};text-align:${G.value.style.title.textAlign};margin-bottom:${G.value.style.title.offsetY}px;font-size:${G.value.style.title.fontSize}px`) }, C(G.value.style.title.text), 5), G.value.style.title.subtitle.text ? (b(), m("div", {
155
156
  key: 0,
156
- style: g(`color:${G.value.style.title.subtitle.color};font-size:${G.value.style.title.subtitle.fontSize}px;text-align:${G.value.style.title.textAlign};margin-bottom:${G.value.style.title.subtitle.offsetY}px;font-weight:${G.value.style.title.subtitle.bold ? "bold" : "normal"}`)
157
- }, x(G.value.style.title.subtitle.text), 5)) : f("", !0)])) : f("", !0),
158
- G.value.style.rating.show && G.value.style.rating.position === "top" ? (v(), p("div", {
157
+ style: v(`color:${G.value.style.title.subtitle.color};font-size:${G.value.style.title.subtitle.fontSize}px;text-align:${G.value.style.title.textAlign};margin-bottom:${G.value.style.title.subtitle.offsetY}px;font-weight:${G.value.style.title.subtitle.bold ? "bold" : "normal"}`)
158
+ }, C(G.value.style.title.subtitle.text), 5)) : p("", !0)])) : p("", !0),
159
+ G.value.style.rating.show && G.value.style.rating.position === "top" ? (b(), m("div", {
159
160
  key: 1,
160
- style: g(`width:100%;text-align:center;margin-bottom:${G.value.style.rating.offsetY}px;font-size:${G.value.style.rating.fontSize}px;font-weight:${G.value.style.rating.bold ? "bold" : "normal"};margin-left:${G.value.style.rating.offsetX}px`)
161
- }, x(S(a)(G.value.style.rating.formatter, q.value, S(r)({
161
+ style: v(`width:100%;text-align:center;margin-bottom:${G.value.style.rating.offsetY}px;font-size:${G.value.style.rating.fontSize}px;font-weight:${G.value.style.rating.bold ? "bold" : "normal"};margin-left:${G.value.style.rating.offsetX}px`)
162
+ }, C(w(a)(G.value.style.rating.formatter, q.value, w(r)({
162
163
  v: q.value,
163
164
  r: G.value.style.rating.roundingValue
164
- }), G.value)), 5)) : f("", !0),
165
- m("div", {
165
+ }), G.value)), 5)) : p("", !0),
166
+ h("div", {
166
167
  class: "vue-ui-rating-wrapper",
167
- style: g(`height:${G.value.style.itemSize}px;width:100%;display:flex;align-items:center;justify-content:center`)
168
+ style: v(`height:${G.value.style.itemSize}px;width:100%;display:flex;align-items:center;justify-content:center`)
168
169
  }, [
169
- G.value.style.rating.show && G.value.style.rating.position === "left" ? (v(), p("div", {
170
+ G.value.style.rating.show && G.value.style.rating.position === "left" ? (b(), m("div", {
170
171
  key: 0,
171
- style: g(`width:fit-content;text-align:center;margin-bottom:${G.value.style.rating.offsetY}px;font-size:${G.value.style.rating.fontSize}px;font-weight:${G.value.style.rating.bold ? "bold" : "normal"};padding-right:${G.value.style.rating.offsetX}px`)
172
- }, x(S(a)(G.value.style.rating.formatter, q.value, S(r)({
172
+ style: v(`width:fit-content;text-align:center;margin-bottom:${G.value.style.rating.offsetY}px;font-size:${G.value.style.rating.fontSize}px;font-weight:${G.value.style.rating.bold ? "bold" : "normal"};padding-right:${G.value.style.rating.offsetX}px`)
173
+ }, C(w(a)(G.value.style.rating.formatter, q.value, w(r)({
173
174
  v: q.value,
174
175
  r: G.value.style.rating.roundingValue
175
- }), G.value)), 5)) : f("", !0),
176
- (v(!0), p(u, null, ne(W.value, (n, o) => (v(), p("div", {
176
+ }), G.value)), 5)) : p("", !0),
177
+ (b(!0), m(d, null, ne(H.value, (n, o) => (b(), m("div", {
177
178
  class: "vue-ui-rating-unit-container",
178
- style: g(`position:relative;height:${G.value.style.itemSize}px;width:${G.value.style.itemSize}px`)
179
+ style: v(`position:relative;height:${G.value.style.itemSize}px;width:${G.value.style.itemSize}px`)
179
180
  }, [
180
- e.$slots["layer-under"] || e.$slots["layer-above"] ? (v(), p("div", E, [e.$slots["layer-under"] ? (v(), p("div", D, [b(e.$slots, "layer-under", h({ ref_for: !0 }, {
181
+ e.$slots["layer-under"] || e.$slots["layer-above"] ? (b(), m("div", A, [e.$slots["layer-under"] ? (b(), m("div", j, [S(e.$slots, "layer-under", _({ ref_for: !0 }, {
181
182
  value: n,
182
183
  size: G.value.style.itemSize,
183
- hoveredValue: H.value,
184
- focusedValue: U.value
185
- }), void 0, !0)])) : f("", !0), e.$slots["layer-above"] ? (v(), p("div", O, [b(e.$slots, "layer-above", h({ ref_for: !0 }, {
184
+ hoveredValue: B.value,
185
+ focusedValue: V.value
186
+ }), void 0, !0)])) : p("", !0), e.$slots["layer-above"] ? (b(), m("div", M, [S(e.$slots, "layer-above", _({ ref_for: !0 }, {
186
187
  value: n,
187
188
  size: G.value.style.itemSize,
188
- hoveredValue: H.value,
189
- focusedValue: U.value
190
- }), void 0, !0)])) : f("", !0)])) : (v(), p(u, { key: 1 }, [J.value ? (v(), p("img", {
189
+ hoveredValue: B.value,
190
+ focusedValue: V.value
191
+ }), void 0, !0)])) : p("", !0)])) : (b(), m(d, { key: 1 }, [J.value ? (b(), m("img", {
191
192
  key: 0,
192
193
  src: G.value.style.image.src,
193
194
  height: G.value.style.itemSize,
194
195
  width: G.value.style.itemSize,
195
196
  class: "vue-ui-rating-unit",
196
- style: g(`position:absolute;top:0;left:0;opacity:${isNaN(H.value) ? G.value.style.image.inactiveOpacity : Z(n, !0)}`)
197
- }, null, 12, k)) : (v(), p("svg", {
197
+ style: v(`position:absolute;top:0;left:0;opacity:${isNaN(B.value) ? G.value.style.image.inactiveOpacity : Z(n, !0)}`)
198
+ }, null, 12, N)) : (b(), m("svg", {
198
199
  key: 1,
199
- xmlns: S(s),
200
+ xmlns: w(s),
200
201
  viewBox: "0 0 100 100",
201
202
  height: G.value.style.itemSize,
202
203
  width: G.value.style.itemSize,
203
204
  class: "vue-ui-rating-unit"
204
- }, [m("defs", null, [m("radialGradient", {
205
+ }, [h("defs", null, [g(u, {
206
+ t: "radial",
205
207
  cx: "50%",
206
208
  cy: "50%",
207
209
  r: "50%",
208
210
  fx: "50%",
209
211
  fy: "50%",
210
- id: `star_gradient_under_${B.value}`
211
- }, [m("stop", {
212
- offset: "0%",
213
- "stop-color": `${S(c)(G.value.style.star.activeColor, .05)}`
214
- }, null, 8, se), m("stop", {
215
- offset: "100%",
216
- "stop-color": G.value.style.star.activeColor
217
- }, null, 8, ce)], 8, oe)]), m("polygon", {
218
- points: S(i)({
212
+ id: `star_gradient_under_${R.value}`,
213
+ stops: [[
214
+ "0%",
215
+ w(c)(G.value.style.star.activeColor, .05),
216
+ 1
217
+ ], [
218
+ "100%",
219
+ G.value.style.star.activeColor,
220
+ 1
221
+ ]]
222
+ }, null, 8, ["id", "stops"])]), h("polygon", {
223
+ points: w(i)({
219
224
  plot: {
220
225
  x: 50,
221
226
  y: 50
@@ -223,47 +228,51 @@ var w = /* @__PURE__ */ e({ default: () => R }), T = {
223
228
  radius: 30,
224
229
  apexes: G.value.style.star.apexes
225
230
  }),
226
- fill: isNaN(H.value) ? G.value.style.star.inactiveColor : Z(n),
227
- stroke: G.value.style.star.borderColor ? G.value.style.star.borderColor : H.value ? Z(n) : G.value.style.star.inactiveColor,
231
+ fill: isNaN(B.value) ? G.value.style.star.inactiveColor : Z(n),
232
+ stroke: G.value.style.star.borderColor ? G.value.style.star.borderColor : B.value ? Z(n) : G.value.style.star.inactiveColor,
228
233
  "stroke-width": G.value.style.star.borderWidth,
229
234
  "stroke-linecap": "round",
230
235
  "stroke-linejoin": "round"
231
- }, null, 8, le)], 8, ae)), J.value ? (v(), p("img", {
236
+ }, null, 8, ie)], 8, re)), J.value ? (b(), m("img", {
232
237
  key: 2,
233
238
  src: G.value.style.image.src,
234
239
  alt: `${G.value.style.image.alt} ${n}`,
235
240
  height: G.value.style.itemSize,
236
241
  width: G.value.style.itemSize,
237
- id: `active_${B.value}_${n}`,
242
+ id: `active_${R.value}_${n}`,
238
243
  class: "vue-ui-rating-unit",
239
- style: g(`position:absolute;top:0;left:0;clip:rect(0px,${Q(o, !0) * G.value.style.itemSize}px,${G.value.style.itemSize}px,0px`)
240
- }, null, 12, ue)) : (v(), p("svg", {
244
+ 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`)
245
+ }, null, 12, ae)) : (b(), m("svg", {
241
246
  key: 3,
242
- xmlns: S(s),
247
+ xmlns: w(s),
243
248
  viewBox: `0 0 ${Q(o)} 100`,
244
249
  height: G.value.style.itemSize,
245
250
  class: "vue-ui-rating-unit",
246
- id: `active_${B.value}_${n}`,
251
+ id: `active_${R.value}_${n}`,
247
252
  style: {
248
253
  position: "absolute",
249
254
  top: "0",
250
255
  left: "0"
251
256
  }
252
- }, [m("defs", null, [m("radialGradient", {
257
+ }, [h("defs", null, [g(u, {
258
+ t: "radial",
253
259
  cx: "50%",
254
260
  cy: "50%",
255
261
  r: "50%",
256
262
  fx: "50%",
257
263
  fy: "50%",
258
- id: `star_gradient_over_${B.value}`
259
- }, [m("stop", {
260
- offset: "0%",
261
- "stop-color": `${S(c)(G.value.style.star.activeColor, .05)}`
262
- }, null, 8, M), m("stop", {
263
- offset: "100%",
264
- "stop-color": G.value.style.star.activeColor
265
- }, null, 8, N)], 8, j)]), m("polygon", {
266
- points: S(i)({
264
+ id: `star_gradient_over_${R.value}`,
265
+ stops: [[
266
+ "0%",
267
+ w(c)(G.value.style.star.activeColor, .05),
268
+ 1
269
+ ], [
270
+ "100%",
271
+ G.value.style.star.activeColor,
272
+ 1
273
+ ]]
274
+ }, null, 8, ["id", "stops"])]), h("polygon", {
275
+ points: w(i)({
267
276
  plot: {
268
277
  x: 50,
269
278
  y: 50
@@ -271,16 +280,16 @@ var w = /* @__PURE__ */ e({ default: () => R }), T = {
271
280
  radius: 30,
272
281
  apexes: G.value.style.star.apexes
273
282
  }),
274
- fill: G.value.style.star.useGradient ? `url(#star_gradient_over_${B.value})` : G.value.style.star.activeColor,
283
+ fill: G.value.style.star.useGradient ? `url(#star_gradient_over_${R.value})` : G.value.style.star.activeColor,
275
284
  stroke: G.value.style.star.activeColor
276
- }, null, 8, P)], 8, A))], 64)),
277
- (v(), p("svg", {
278
- xmlns: S(s),
285
+ }, null, 8, se)], 8, oe))], 64)),
286
+ (b(), m("svg", {
287
+ xmlns: w(s),
279
288
  viewBox: "0 0 100 100",
280
289
  height: G.value.style.itemSize,
281
290
  class: "vue-ui-rating-unit",
282
- style: g(`position:absolute;top:0;left:0;${Y.value ? "" : pe.value ? "cursor:pointer" : ""}`)
283
- }, [Y.value ? f("", !0) : (v(), p("rect", {
291
+ style: v(`position:absolute;top:0;left:0;${Y.value ? "" : le.value ? "cursor:pointer" : ""}`)
292
+ }, [Y.value ? p("", !0) : (b(), m("rect", {
284
293
  key: 0,
285
294
  class: "vue-ui-rating-mouse-trap",
286
295
  x: 0,
@@ -289,13 +298,13 @@ var w = /* @__PURE__ */ e({ default: () => R }), T = {
289
298
  height: 100,
290
299
  fill: "transparent",
291
300
  onClick: (e) => $(n),
292
- onMouseenter: (e) => H.value = n,
293
- onMouseleave: t[0] ||= (e) => H.value = void 0,
294
- onFocus: (e) => U.value = n,
295
- onBlur: t[1] ||= (e) => U.value = void 0,
301
+ onMouseenter: (e) => B.value = n,
302
+ onMouseleave: t[0] ||= (e) => B.value = void 0,
303
+ onFocus: (e) => V.value = n,
304
+ onBlur: t[1] ||= (e) => V.value = void 0,
296
305
  tabindex: "0",
297
- onKeyup: C((e) => $(n), ["enter"])
298
- }, null, 40, I)), Y.value ? (v(), p("rect", {
306
+ onKeyup: D((e) => $(n), ["enter"])
307
+ }, null, 40, P)), Y.value ? (b(), m("rect", {
299
308
  key: 1,
300
309
  class: "vue-ui-rating-mouse-trap",
301
310
  x: 0,
@@ -303,41 +312,41 @@ var w = /* @__PURE__ */ e({ default: () => R }), T = {
303
312
  width: 100,
304
313
  height: 100,
305
314
  fill: "transparent",
306
- onMouseenter: (e) => H.value = n,
307
- onMouseleave: t[2] ||= (e) => H.value = void 0,
308
- onFocus: (e) => U.value = n,
309
- onBlur: t[3] ||= (e) => U.value = void 0
310
- }, null, 40, L)) : f("", !0)], 12, F)),
311
- G.value.style.tooltip.show && he.value && Y.value ? (v(), p("div", {
315
+ onMouseenter: (e) => B.value = n,
316
+ onMouseleave: t[2] ||= (e) => B.value = void 0,
317
+ onFocus: (e) => V.value = n,
318
+ onBlur: t[3] ||= (e) => V.value = void 0
319
+ }, null, 40, F)) : p("", !0)], 12, ce)),
320
+ G.value.style.tooltip.show && de.value && Y.value ? (b(), m("div", {
312
321
  key: 2,
313
322
  class: "vue-ui-rating-tooltip",
314
- style: g(`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:${H.value === n ? "block" : "none"};padding:2px 12px;border-radius:${G.value.style.tooltip.borderRadius}px;box-shadow:${G.value.style.tooltip.boxShadow}`)
315
- }, [m("div", { style: g(`width:100%;display:flex;flex-direction:row;gap:6px;position:relative;text-align:center;color:${G.value.style.tooltip.color}`) }, [
316
- m("span", { style: g(`font-size:${G.value.style.tooltip.fontSize}px`) }, x(n) + ":", 5),
317
- m("span", { style: g(`font-weight:${G.value.style.tooltip.bold ? "bold" : "normal"};font-size:${G.value.style.tooltip.fontSize}px`) }, x(S(a)(G.value.style.tooltip.formatter, z.dataset.rating[n], S(r)({
318
- v: z.dataset.rating[n],
323
+ 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:${B.value === n ? "block" : "none"};padding:2px 12px;border-radius:${G.value.style.tooltip.borderRadius}px;box-shadow:${G.value.style.tooltip.boxShadow}`)
324
+ }, [h("div", { style: v(`width:100%;display:flex;flex-direction:row;gap:6px;position:relative;text-align:center;color:${G.value.style.tooltip.color}`) }, [
325
+ h("span", { style: v(`font-size:${G.value.style.tooltip.fontSize}px`) }, C(n) + ":", 5),
326
+ h("span", { style: v(`font-weight:${G.value.style.tooltip.bold ? "bold" : "normal"};font-size:${G.value.style.tooltip.fontSize}px`) }, C(w(a)(G.value.style.tooltip.formatter, L.dataset.rating[n], w(r)({
327
+ v: L.dataset.rating[n],
319
328
  r: G.value.style.tooltip.roundingValue
320
329
  }), G.value)), 5),
321
- m("div", { style: g(`font-family:Arial !important;position:absolute;top:calc(100% - 4px);left:50%;transform:translateX(-50%);color:${G.value.style.tooltip.borderColor}`) }, " ▼ ", 4)
322
- ], 4)], 4)) : f("", !0)
330
+ h("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)
331
+ ], 4)], 4)) : p("", !0)
323
332
  ], 4))), 256)),
324
- G.value.style.rating.show && G.value.style.rating.position === "right" ? (v(), p("div", {
333
+ G.value.style.rating.show && G.value.style.rating.position === "right" ? (b(), m("div", {
325
334
  key: 1,
326
- style: g(`width:fit-content;text-align:center;margin-bottom:${G.value.style.rating.offsetY}px;font-size:${G.value.style.rating.fontSize}px;font-weight:${G.value.style.rating.bold ? "bold" : "normal"};padding-left:${G.value.style.rating.offsetX}px`)
327
- }, x(S(a)(G.value.style.rating.formatter, q.value, S(r)({
335
+ style: v(`width:fit-content;text-align:center;margin-bottom:${G.value.style.rating.offsetY}px;font-size:${G.value.style.rating.fontSize}px;font-weight:${G.value.style.rating.bold ? "bold" : "normal"};padding-left:${G.value.style.rating.offsetX}px`)
336
+ }, C(w(a)(G.value.style.rating.formatter, q.value, w(r)({
328
337
  v: q.value,
329
338
  r: G.value.style.rating.roundingValue
330
- }), G.value)), 5)) : f("", !0)
339
+ }), G.value)), 5)) : p("", !0)
331
340
  ], 4),
332
- G.value.style.rating.show && G.value.style.rating.position === "bottom" ? (v(), p("div", {
341
+ G.value.style.rating.show && G.value.style.rating.position === "bottom" ? (b(), m("div", {
333
342
  key: 2,
334
- style: g(`width:100%;text-align:center;margin-top:${G.value.style.rating.offsetY}px;font-size:${G.value.style.rating.fontSize}px;font-weight:${G.value.style.rating.bold ? "bold" : "normal"};margin-left:${G.value.style.rating.offsetX}px`)
335
- }, x(S(a)(G.value.style.rating.formatter, q.value, S(r)({
343
+ style: v(`width:100%;text-align:center;margin-top:${G.value.style.rating.offsetY}px;font-size:${G.value.style.rating.fontSize}px;font-weight:${G.value.style.rating.bold ? "bold" : "normal"};margin-left:${G.value.style.rating.offsetX}px`)
344
+ }, C(w(a)(G.value.style.rating.formatter, q.value, w(r)({
336
345
  v: q.value,
337
346
  r: G.value.style.rating.roundingValue
338
- }), G.value)), 5)) : f("", !0)
347
+ }), G.value)), 5)) : p("", !0)
339
348
  ], 36));
340
349
  }
341
- }, [["__scopeId", "data-v-75c80ffe"]]);
350
+ }, [["__scopeId", "data-v-b61d01b2"]]);
342
351
  //#endregion
343
- export { w as n, R as t };
352
+ export { O as n, I as t };
@@ -118,7 +118,7 @@ var Fe = /* @__PURE__ */ e({ default: () => T }), Ie = ["id"], Le = ["id"], Re =
118
118
  v309156a9: At.value,
119
119
  v6c0f80cb: Mt.value
120
120
  }));
121
- let T = m(() => import("./PenAndPaper-pcgwlYr2.js").then((e) => e.t)), nt = m(() => import("./UserOptions-16uF1ayB.js").then((e) => e.n)), rt = m(() => import("./PackageVersion-DW7zwRcm.js").then((e) => e.t)), { vue_ui_relation_circle: it } = se(), { isThemeValid: at, warnInvalidTheme: ot } = fe(), E = e, st = Fe, ct = l(() => !!E.dataset && Object.keys(E.dataset).length), D = y(n()), lt = y(0), O = y(null), ut = y(null), dt = y(null), ft = y(null), pt = y(0), k = y(!1), A = y(!1), j = y(null), M = y(!1), N = y(xt()), P = l(() => N.value.userOptions.useCursorPointer), mt = l(() => a({
121
+ let T = m(() => import("./PenAndPaper-DsXi7GJ-.js").then((e) => e.t)), nt = m(() => import("./UserOptions-trvJ26nz.js").then((e) => e.n)), rt = m(() => import("./PackageVersion-D__dRVRA.js").then((e) => e.t)), { vue_ui_relation_circle: it } = se(), { isThemeValid: at, warnInvalidTheme: ot } = fe(), E = e, st = Fe, ct = l(() => !!E.dataset && Object.keys(E.dataset).length), D = y(n()), lt = y(0), O = y(null), ut = y(null), dt = y(null), ft = y(null), pt = y(0), k = y(!1), A = y(!1), j = y(null), M = y(!1), N = y(xt()), P = l(() => N.value.userOptions.useCursorPointer), mt = l(() => a({
122
122
  defaultConfig: {
123
123
  userOptions: { show: !1 },
124
124
  customPalette: Array(7).fill("#CACACA"),