vue-data-ui 3.22.7 → 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 (206) hide show
  1. package/dist/{Arrow-DaGI9u-b.js → Arrow-DdymhUfY.js} +1 -1
  2. package/dist/{BaseDraggableDialog-1wwwdwV2.js → BaseDraggableDialog-Av7Uxq5V.js} +2 -2
  3. package/dist/BaseIcon-UdRAvP2h.js +483 -0
  4. package/dist/{BaseLegendToggle-CHnlKalt.js → BaseLegendToggle-DWtet-Hh.js} +1 -1
  5. package/dist/{BaseZoomControls-C9bdZSCj.js → BaseZoomControls-BY2KLqs6.js} +2 -2
  6. package/dist/{ColorPicker-TB3KhY3j.js → ColorPicker-DR_ummtM.js} +2 -2
  7. package/dist/{DataTable-CVF7DoZn.js → DataTable-BxpTMgfK.js} +2 -2
  8. package/dist/DefGrad-DVBqDjhO.js +48 -0
  9. package/dist/{Legend-kAr7Vqqu.js → Legend-ROt6ugzW.js} +2 -2
  10. package/dist/{NonSvgPenAndPaper-CEiv7_gM.js → NonSvgPenAndPaper-B6EG_Sga.js} +3 -3
  11. package/dist/{PackageVersion-Dse0n05o.js → PackageVersion-D__dRVRA.js} +1 -1
  12. package/dist/{PenAndPaper-gaV1QPpP.js → PenAndPaper-DsXi7GJ-.js} +3 -3
  13. package/dist/{Shape-CiQIxyyT.js → Shape-UpH0a4Ur.js} +3 -3
  14. package/dist/{Slicer-6FOtg9py.js → Slicer-CW_XPIKL.js} +369 -364
  15. package/dist/{SlicerPreview-DUywypFu.js → SlicerPreview-CTz41lOu.js} +542 -537
  16. package/dist/{SparkTooltip-B-qsPj68.js → SparkTooltip-BTLN-Kex.js} +6 -6
  17. package/dist/{Title-PiTKr6sp.js → Title-CcNiYzEo.js} +1 -1
  18. package/dist/{Tooltip-B8yYfISA.js → Tooltip-CxOrWlFy.js} +1 -1
  19. package/dist/{UserOptions-BL9VlHop.js → UserOptions-trvJ26nz.js} +2 -2
  20. package/dist/components/arrow.js +1 -1
  21. package/dist/components/vue-ui-3d-bar.js +1 -1
  22. package/dist/components/vue-ui-accordion.js +1 -1
  23. package/dist/components/vue-ui-age-pyramid.js +1 -1
  24. package/dist/components/vue-ui-annotator.js +1 -1
  25. package/dist/components/vue-ui-bullet.js +1 -1
  26. package/dist/components/vue-ui-bump.js +1 -1
  27. package/dist/components/vue-ui-candlestick.js +1 -1
  28. package/dist/components/vue-ui-carousel-table.js +1 -1
  29. package/dist/components/vue-ui-chestnut.js +1 -1
  30. package/dist/components/vue-ui-chord.js +1 -1
  31. package/dist/components/vue-ui-circle-pack.js +1 -1
  32. package/dist/components/vue-ui-cursor.js +1 -1
  33. package/dist/components/vue-ui-dag.js +1 -1
  34. package/dist/components/vue-ui-dashboard.js +1 -1
  35. package/dist/components/vue-ui-digits.js +1 -1
  36. package/dist/components/vue-ui-donut-evolution.js +1 -1
  37. package/dist/components/vue-ui-donut.js +1 -1
  38. package/dist/components/vue-ui-dumbbell.js +1 -1
  39. package/dist/components/vue-ui-flow.js +1 -1
  40. package/dist/components/vue-ui-funnel.js +1 -1
  41. package/dist/components/vue-ui-galaxy.js +1 -1
  42. package/dist/components/vue-ui-gauge.js +1 -1
  43. package/dist/components/vue-ui-geo.js +1 -1
  44. package/dist/components/vue-ui-gizmo.js +1 -1
  45. package/dist/components/vue-ui-heatmap.js +1 -1
  46. package/dist/components/vue-ui-history-plot.js +1 -1
  47. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  48. package/dist/components/vue-ui-icon.js +1 -1
  49. package/dist/components/vue-ui-kpi.js +1 -1
  50. package/dist/components/vue-ui-mini-loader.js +1 -1
  51. package/dist/components/vue-ui-molecule.js +1 -1
  52. package/dist/components/vue-ui-mood-radar.js +1 -1
  53. package/dist/components/vue-ui-nested-donuts.js +1 -1
  54. package/dist/components/vue-ui-onion.js +1 -1
  55. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  56. package/dist/components/vue-ui-quadrant.js +1 -1
  57. package/dist/components/vue-ui-quick-chart.js +1 -1
  58. package/dist/components/vue-ui-radar.js +1 -1
  59. package/dist/components/vue-ui-rating.js +1 -1
  60. package/dist/components/vue-ui-relation-circle.js +1 -1
  61. package/dist/components/vue-ui-ridgeline.js +1 -1
  62. package/dist/components/vue-ui-rings.js +1 -1
  63. package/dist/components/vue-ui-scatter.js +1 -1
  64. package/dist/components/vue-ui-skeleton.js +1 -1
  65. package/dist/components/vue-ui-smiley.js +1 -1
  66. package/dist/components/vue-ui-spark-trend.js +1 -1
  67. package/dist/components/vue-ui-sparkbar.js +1 -1
  68. package/dist/components/vue-ui-sparkgauge.js +1 -1
  69. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  70. package/dist/components/vue-ui-sparkline.js +1 -1
  71. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  72. package/dist/components/vue-ui-stackbar.js +1 -1
  73. package/dist/components/vue-ui-stackline.js +1 -1
  74. package/dist/components/vue-ui-strip-plot.js +1 -1
  75. package/dist/components/vue-ui-table-heatmap.js +1 -1
  76. package/dist/components/vue-ui-table-sparkline.js +1 -1
  77. package/dist/components/vue-ui-table.js +1 -1
  78. package/dist/components/vue-ui-thermometer.js +1 -1
  79. package/dist/components/vue-ui-timer.js +1 -1
  80. package/dist/components/vue-ui-tiremarks.js +1 -1
  81. package/dist/components/vue-ui-treemap.js +1 -1
  82. package/dist/components/vue-ui-vertical-bar.js +1 -1
  83. package/dist/components/vue-ui-waffle.js +1 -1
  84. package/dist/components/vue-ui-wheel.js +1 -1
  85. package/dist/components/vue-ui-word-cloud.js +1 -1
  86. package/dist/components/vue-ui-world.js +1 -1
  87. package/dist/components/vue-ui-xy-canvas.js +1 -1
  88. package/dist/components/vue-ui-xy.js +1 -1
  89. package/dist/{dom-to-png-BZjYWNEg.js → dom-to-png-BbwhsRIr.js} +1 -1
  90. package/dist/exposedLib-VXFp3Z2c.js +19 -0
  91. package/dist/{geoProjections-Czak6Jn1.js → geoProjections-BbN7z57k.js} +172 -15
  92. package/dist/{img-B_abIg0o.js → img-DnP3eXuv.js} +1 -1
  93. package/dist/{labelUtils-CTDRZdP1.js → labelUtils-DBEh078l.js} +1 -1
  94. package/dist/{lib-EAmk-PgA.js → lib-JqW18y5I.js} +36 -30
  95. package/dist/{package-DeMimPej.js → package-ByOT60IK.js} +1 -1
  96. package/dist/{pdf-B6qrdEqB.js → pdf-hj3gzrE7.js} +1 -1
  97. package/dist/{render-common-DMai0gHB.js → render-common-D18VrP0h.js} +20 -20
  98. package/dist/ssr/vue-ui-donut.js +1 -1
  99. package/dist/ssr/vue-ui-xy.js +1 -1
  100. package/dist/ssr.js +2 -2
  101. package/dist/style.css +1 -1
  102. package/dist/types/utils.d.ts +18 -0
  103. package/dist/{useAutoSizeLabelsInsideViewbox-CyOGrdD_.js → useAutoSizeLabelsInsideViewbox-BGnDfZdg.js} +1 -1
  104. package/dist/{useNestedProp-D8XqxgOU.js → useNestedProp-DIuuzG1r.js} +1 -1
  105. package/dist/{usePrinter-DnGzpp6Q.js → usePrinter-CqqHmnBI.js} +2 -2
  106. package/dist/utils.js +24 -24
  107. package/dist/{vue-data-ui-D6qVWloL.js → vue-data-ui-ub3fCh6P.js} +68 -68
  108. package/dist/vue-data-ui.js +77 -77
  109. package/dist/vue-ui-3d-bar-taPI41_I.js +1825 -0
  110. package/dist/{vue-ui-accordion-Dzz8XhX3.js → vue-ui-accordion-CjAGqEJg.js} +3 -3
  111. package/dist/vue-ui-age-pyramid-jvQZbF8E.js +1247 -0
  112. package/dist/{vue-ui-annotator-DXZumSP8.js → vue-ui-annotator-BIucnT0L.js} +67 -67
  113. package/dist/vue-ui-bullet-CIATzlsk.js +710 -0
  114. package/dist/vue-ui-bump-D8MxltQE.js +1249 -0
  115. package/dist/vue-ui-candlestick-DULUMU-Q.js +1840 -0
  116. package/dist/vue-ui-carousel-table-BSmdexG7.js +455 -0
  117. package/dist/{vue-ui-chestnut-C3IbAdkQ.js → vue-ui-chestnut-BIh1nQ7q.js} +585 -553
  118. package/dist/vue-ui-chord-DL1M7cgL.js +1391 -0
  119. package/dist/{vue-ui-circle-pack-Cq4lkmee.js → vue-ui-circle-pack-C1Pgq6si.js} +424 -418
  120. package/dist/{vue-ui-cursor-DLJcFwRZ.js → vue-ui-cursor-d2uLAKTQ.js} +61 -61
  121. package/dist/{vue-ui-dag-DemsIecS.js → vue-ui-dag-CVh9FpZr.js} +43 -43
  122. package/dist/{vue-ui-dashboard-DWHD_wNN.js → vue-ui-dashboard-BH0N3ebj.js} +69 -69
  123. package/dist/{vue-ui-digits-sIKc85vS.js → vue-ui-digits-R6wi3J-Y.js} +3 -3
  124. package/dist/{vue-ui-donut-Dp6GW0dw.js → vue-ui-donut-BWDeVzLc.js} +201 -201
  125. package/dist/{vue-ui-donut-CLheJPcO.js → vue-ui-donut-BoZdciGh.js} +825 -816
  126. package/dist/{vue-ui-donut-evolution-zmRPpJLj.js → vue-ui-donut-evolution-CpC9EMro.js} +486 -474
  127. package/dist/{vue-ui-dumbbell-bSbgHd0U.js → vue-ui-dumbbell-DGA5Bfnl.js} +520 -486
  128. package/dist/{vue-ui-flow-q_M7O1BK.js → vue-ui-flow-CNczKwTh.js} +119 -119
  129. package/dist/vue-ui-funnel-CaD2tZCT.js +782 -0
  130. package/dist/{vue-ui-galaxy-DCCWmIyH.js → vue-ui-galaxy-v3cTbUiM.js} +342 -342
  131. package/dist/vue-ui-gauge-DxvMjfoc.js +926 -0
  132. package/dist/{vue-ui-geo-CM59rpnj.js → vue-ui-geo-BgmLkZZ2.js} +14 -14
  133. package/dist/{vue-ui-gizmo-D2RL6IVp.js → vue-ui-gizmo-n1kmcGeE.js} +66 -61
  134. package/dist/{vue-ui-heatmap-BX6PQxML.js → vue-ui-heatmap-dSTh8ah_.js} +163 -163
  135. package/dist/{vue-ui-history-plot-DaHAeQph.js → vue-ui-history-plot-N8BqMFVU.js} +572 -561
  136. package/dist/vue-ui-horizontal-bar-CwiQxYzv.js +1689 -0
  137. package/dist/{vue-ui-kpi-DLbP7lJR.js → vue-ui-kpi-BKrUk9o8.js} +4 -4
  138. package/dist/{vue-ui-mini-loader-DPHzHsM7.js → vue-ui-mini-loader-D5we7V_W.js} +2 -2
  139. package/dist/vue-ui-molecule--kK1JfnP.js +931 -0
  140. package/dist/{vue-ui-mood-radar-CCWaPr0P.js → vue-ui-mood-radar-CpBRHQo_.js} +246 -241
  141. package/dist/vue-ui-nested-donuts-8Ehwcuns.js +1493 -0
  142. package/dist/vue-ui-onion-Cf6JiYTH.js +1200 -0
  143. package/dist/vue-ui-parallel-coordinate-plot-Blnqp1DB.js +1416 -0
  144. package/dist/{vue-ui-quadrant-T_UmRAAy.js → vue-ui-quadrant-CxU0jiOm.js} +410 -404
  145. package/dist/vue-ui-quick-chart-BO98uEPl.js +2469 -0
  146. package/dist/{vue-ui-radar-CHjeGOMC.js → vue-ui-radar-eH2Qih4_.js} +323 -317
  147. package/dist/{vue-ui-rating-Bek8Tgr-.js → vue-ui-rating-CN-ZiAES.js} +137 -128
  148. package/dist/{vue-ui-relation-circle-DRZGQ_UX.js → vue-ui-relation-circle-BIcP-aAt.js} +167 -167
  149. package/dist/{vue-ui-ridgeline-DIODGiu8.js → vue-ui-ridgeline-ChXHzEJw.js} +538 -532
  150. package/dist/vue-ui-rings-J990vNbX.js +1252 -0
  151. package/dist/vue-ui-scatter-BeJB0EKg.js +2422 -0
  152. package/dist/{vue-ui-skeleton-Fmue6DAG.js → vue-ui-skeleton-DC2bZ0nk.js} +385 -382
  153. package/dist/{vue-ui-smiley-BVMI5vUy.js → vue-ui-smiley-Dyyu1je3.js} +119 -106
  154. package/dist/vue-ui-spark-trend-CpDX85H3.js +443 -0
  155. package/dist/vue-ui-sparkbar-DhIo1qsW.js +398 -0
  156. package/dist/{vue-ui-sparkgauge-DDNNBIdf.js → vue-ui-sparkgauge-D0Fo3Hts.js} +79 -74
  157. package/dist/vue-ui-sparkhistogram-CUjFiuAh.js +576 -0
  158. package/dist/{vue-ui-sparkline-BNxdO-Bx.js → vue-ui-sparkline-ApivEMBP.js} +397 -384
  159. package/dist/{vue-ui-sparkstackbar-BfF5-Wg2.js → vue-ui-sparkstackbar-DsKQJx_n.js} +207 -195
  160. package/dist/{vue-ui-stackbar-B-2Me3d-.js → vue-ui-stackbar-Ds4hXATH.js} +595 -588
  161. package/dist/vue-ui-stackline-DJbcVvmN.js +2425 -0
  162. package/dist/vue-ui-strip-plot-C3ZHf4bD.js +1736 -0
  163. package/dist/{vue-ui-table-heatmap-D-Qrm3oX.js → vue-ui-table-heatmap-CNXNXXBU.js} +14 -14
  164. package/dist/vue-ui-table-sparkline-B9JJ4pFF.js +712 -0
  165. package/dist/{vue-ui-table-Dr1dK3d_.js → vue-ui-table-uudidrYt.js} +62 -62
  166. package/dist/vue-ui-thermometer-Bvw3oQb3.js +770 -0
  167. package/dist/{vue-ui-timer-B5bkNNHS.js → vue-ui-timer-5NAWw5BN.js} +94 -89
  168. package/dist/{vue-ui-tiremarks-Bn8b-ZSz.js → vue-ui-tiremarks-Caz_g1c5.js} +13 -13
  169. package/dist/vue-ui-treemap-F9upPyOI.js +1718 -0
  170. package/dist/vue-ui-waffle-Bk9AsrPp.js +1368 -0
  171. package/dist/{vue-ui-wheel-CeVwXtEX.js → vue-ui-wheel-DD6Q39BA.js} +130 -130
  172. package/dist/{vue-ui-word-cloud-D81-qJLw.js → vue-ui-word-cloud-BZLT5svo.js} +27 -27
  173. package/dist/vue-ui-world-DbEJN5NA.js +3027 -0
  174. package/dist/{vue-ui-xy-C2p9H2IX.js → vue-ui-xy-BYMAITk_.js} +1655 -1629
  175. package/dist/{vue-ui-xy-OhwS0kcZ.js → vue-ui-xy-Cn9Q8YPr.js} +116 -116
  176. package/dist/{vue-ui-xy-canvas-DLKDdH35.js → vue-ui-xy-canvas-Dcm2ftwm.js} +58 -58
  177. package/package.json +1 -1
  178. package/dist/BaseIcon-_-BX7be3.js +0 -502
  179. package/dist/exposedLib-Be0ifkti.js +0 -19
  180. package/dist/vue-ui-3d-bar-CjNuWXoA.js +0 -1757
  181. package/dist/vue-ui-age-pyramid-CC7Dxli-.js +0 -1238
  182. package/dist/vue-ui-bullet-Dde6FhbR.js +0 -710
  183. package/dist/vue-ui-bump-C5pni1JV.js +0 -1249
  184. package/dist/vue-ui-candlestick-Ctw65O4_.js +0 -1829
  185. package/dist/vue-ui-carousel-table-BEUvhUH0.js +0 -455
  186. package/dist/vue-ui-chord-5eCWG4br.js +0 -1391
  187. package/dist/vue-ui-funnel-BEZUEuuh.js +0 -777
  188. package/dist/vue-ui-gauge-B1ljgfE1.js +0 -920
  189. package/dist/vue-ui-horizontal-bar-CTW6l4n3.js +0 -1683
  190. package/dist/vue-ui-molecule-aD0SMTiX.js +0 -925
  191. package/dist/vue-ui-nested-donuts--BCPWkl7.js +0 -1487
  192. package/dist/vue-ui-onion-s4iMCGAP.js +0 -1200
  193. package/dist/vue-ui-parallel-coordinate-plot-CfgvpyoC.js +0 -1416
  194. package/dist/vue-ui-quick-chart-D1OWBgQJ.js +0 -2469
  195. package/dist/vue-ui-rings-CcdUSXGG.js +0 -1246
  196. package/dist/vue-ui-scatter-CixnqLoi.js +0 -2413
  197. package/dist/vue-ui-spark-trend-DfZeLiWA.js +0 -438
  198. package/dist/vue-ui-sparkbar-Cl1e49sw.js +0 -393
  199. package/dist/vue-ui-sparkhistogram-ny_liYa6.js +0 -560
  200. package/dist/vue-ui-stackline-CdvVPQUM.js +0 -2419
  201. package/dist/vue-ui-strip-plot-CRXPXA5V.js +0 -1729
  202. package/dist/vue-ui-table-sparkline-C31Q32My.js +0 -712
  203. package/dist/vue-ui-thermometer-BUrtIfuo.js +0 -763
  204. package/dist/vue-ui-treemap-LMWiicop.js +0 -1713
  205. package/dist/vue-ui-waffle-B_L3gkky.js +0 -1362
  206. package/dist/vue-ui-world-B7npRmTa.js +0 -14264
@@ -1,18 +1,19 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { I as t, Ot as n, Q as r, Rt as i, W as a, i as o, q as s, t as c } from "./lib-EAmk-PgA.js";
3
- import { t as l } from "./useConfig-DYM3f6EI.js";
4
- import { t as u } from "./useNestedProp-D8XqxgOU.js";
5
- import { t as d } from "./_plugin-vue_export-helper-B3ysoDQm.js";
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";
2
+ 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 "./lib-JqW18y5I.js";
3
+ import { t as ee } from "./useConfig-DYM3f6EI.js";
4
+ import { t as te } from "./useNestedProp-DIuuzG1r.js";
5
+ import { t as l } from "./_plugin-vue_export-helper-B3ysoDQm.js";
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 T = /* @__PURE__ */ e({ default: () => L }), ie = {
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 T = /* @__PURE__ */ e({ default: () => L }), ie = {
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 T = /* @__PURE__ */ e({ default: () => L }), ie = {
30
31
  width: "100%",
31
32
  height: "100%"
32
33
  }
33
- }, ae = [
34
+ }, N = [
34
35
  "src",
35
36
  "height",
36
37
  "width"
37
- ], oe = [
38
+ ], re = [
38
39
  "xmlns",
39
40
  "height",
40
41
  "width"
41
- ], se = ["id"], ce = ["stop-color"], le = ["stop-color"], ue = [
42
+ ], ie = [
42
43
  "points",
43
44
  "fill",
44
45
  "stroke",
45
46
  "stroke-width"
46
- ], de = [
47
+ ], ae = [
47
48
  "src",
48
49
  "alt",
49
50
  "height",
50
51
  "width",
51
52
  "id"
52
- ], k = [
53
+ ], oe = [
53
54
  "xmlns",
54
55
  "viewBox",
55
56
  "height",
56
57
  "id"
57
- ], A = ["id"], j = ["stop-color"], M = ["stop-color"], N = [
58
+ ], se = [
58
59
  "points",
59
60
  "fill",
60
61
  "stroke"
61
- ], P = ["xmlns", "height"], F = [
62
+ ], ce = ["xmlns", "height"], P = [
62
63
  "onClick",
63
64
  "onMouseenter",
64
65
  "onFocus",
65
66
  "onKeyup"
66
- ], I = ["onMouseenter", "onFocus"], L = /*#__PURE__*/ d({
67
+ ], F = ["onMouseenter", "onFocus"], I = /*#__PURE__*/ l({
67
68
  __name: "vue-ui-rating",
68
69
  props: {
69
70
  config: {
@@ -80,26 +81,26 @@ var T = /* @__PURE__ */ e({ default: () => L }), ie = {
80
81
  }
81
82
  },
82
83
  emits: ["rate"],
83
- setup(e, { expose: d, emit: T }) {
84
- let { vue_ui_rating: L } = l(), R = e, z = x(a()), B = x(!1), V = x(void 0), H = x(void 0), U = x([]), W = te();
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();
85
86
  y(() => {
86
- W["chart-background"] && console.warn("VueUiRating does not support the #chart-background slot.");
87
+ U["chart-background"] && console.warn("VueUiRating does not support the #chart-background slot.");
87
88
  });
88
- let fe = T, G = p({
89
+ let W = O, G = f({
89
90
  get: () => K(),
90
91
  set: (e) => e
91
- }), pe = p(() => G.value.useCursorPointer);
92
+ }), le = f(() => G.value.useCursorPointer);
92
93
  function K() {
93
- return u({
94
- userConfig: R.config,
95
- defaultConfig: L
94
+ return te({
95
+ userConfig: L.config,
96
+ defaultConfig: I
96
97
  });
97
98
  }
98
- ne(() => R.config, (e) => {
99
+ E(() => L.config, (e) => {
99
100
  G.value = K(), X();
100
101
  }, { deep: !0 });
101
- let me = p(() => typeof R.dataset.rating == "object" && !Array.isArray(R.dataset.rating) ? ge(R.dataset.rating) : R.dataset.rating), he = p(() => typeof R.dataset.rating == "object" && !Array.isArray(R.dataset.rating)), q = x(me.value), J = p(() => G.value.type === "image"), Y = p(() => 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];
@@ -113,15 +114,15 @@ var T = /* @__PURE__ */ e({ default: () => L }), ie = {
113
114
  X();
114
115
  });
115
116
  function X() {
116
- (!Object.hasOwn(R.dataset, "rating") || n(R.dataset)) && r({
117
+ (!Object.hasOwn(L.dataset, "rating") || o(L.dataset)) && t({
117
118
  componentName: "VueUiRating",
118
119
  type: "datasetAttribute",
119
120
  property: "rating"
120
- }), U.value = [];
121
- for (let e = G.value.from; e <= G.value.to; e += 1) U.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 > V.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_${z.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 T = /* @__PURE__ */ e({ default: () => L }), ie = {
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
- return d({
144
- getData: _e,
145
- toggleReadonly: ve
146
- }), (e, n) => (b(), h("div", {
144
+ return l({
145
+ getData: pe,
146
+ toggleReadonly: me
147
+ }), (e, t) => (b(), m("div", {
147
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: n[4] ||= (e) => B.value = !0,
150
- onMouseleave: n[5] ||= (e) => {
151
- B.value = !1, V.value = void 0;
150
+ onMouseover: t[4] ||= (e) => z.value = !0,
151
+ onMouseleave: t[5] ||= (e) => {
152
+ z.value = !1, B.value = void 0;
152
153
  }
153
154
  }, [
154
- G.value.style.title.text ? (b(), h("div", ie, [g("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(), h("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
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"}`)
157
- }, C(G.value.style.title.subtitle.text), 5)) : m("", !0)])) : m("", !0),
158
- G.value.style.rating.show && G.value.style.rating.position === "top" ? (b(), h("div", {
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
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`)
161
- }, C(w(o)(G.value.style.rating.formatter, q.value, w(s)({
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)) : m("", !0),
165
- g("div", {
165
+ }), G.value)), 5)) : p("", !0),
166
+ h("div", {
166
167
  class: "vue-ui-rating-wrapper",
167
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" ? (b(), h("div", {
170
+ G.value.style.rating.show && G.value.style.rating.position === "left" ? (b(), m("div", {
170
171
  key: 0,
171
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`)
172
- }, C(w(o)(G.value.style.rating.formatter, q.value, w(s)({
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)) : m("", !0),
176
- (b(!0), h(f, null, ee(U.value, (r, a) => (b(), h("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
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"] ? (b(), h("div", E, [e.$slots["layer-under"] ? (b(), h("div", D, [S(e.$slots, "layer-under", _({ ref_for: !0 }, {
181
- value: r,
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 }, {
182
+ value: n,
182
183
  size: G.value.style.itemSize,
183
- hoveredValue: V.value,
184
- focusedValue: H.value
185
- }), void 0, !0)])) : m("", !0), e.$slots["layer-above"] ? (b(), h("div", O, [S(e.$slots, "layer-above", _({ ref_for: !0 }, {
186
- value: r,
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 }, {
187
+ value: n,
187
188
  size: G.value.style.itemSize,
188
- hoveredValue: V.value,
189
- focusedValue: H.value
190
- }), void 0, !0)])) : m("", !0)])) : (b(), h(f, { key: 1 }, [J.value ? (b(), h("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: v(`position:absolute;top:0;left:0;opacity:${isNaN(V.value) ? G.value.style.image.inactiveOpacity : Z(r, !0)}`)
197
- }, null, 12, ae)) : (b(), h("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: w(c),
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
- }, [g("defs", null, [g("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_${z.value}`
211
- }, [g("stop", {
212
- offset: "0%",
213
- "stop-color": `${w(i)(G.value.style.star.activeColor, .05)}`
214
- }, null, 8, ce), g("stop", {
215
- offset: "100%",
216
- "stop-color": G.value.style.star.activeColor
217
- }, null, 8, le)], 8, se)]), g("polygon", {
218
- points: w(t)({
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 T = /* @__PURE__ */ e({ default: () => L }), ie = {
223
228
  radius: 30,
224
229
  apexes: G.value.style.star.apexes
225
230
  }),
226
- fill: isNaN(V.value) ? G.value.style.star.inactiveColor : Z(r),
227
- stroke: G.value.style.star.borderColor ? G.value.style.star.borderColor : V.value ? Z(r) : 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, ue)], 8, oe)), J.value ? (b(), h("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
- alt: `${G.value.style.image.alt} ${r}`,
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_${z.value}_${r}`,
242
+ id: `active_${R.value}_${n}`,
238
243
  class: "vue-ui-rating-unit",
239
- style: v(`position:absolute;top:0;left:0;clip:rect(0px,${Q(a, !0) * G.value.style.itemSize}px,${G.value.style.itemSize}px,0px`)
240
- }, null, 12, de)) : (b(), h("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: w(c),
243
- viewBox: `0 0 ${Q(a)} 100`,
247
+ xmlns: w(s),
248
+ viewBox: `0 0 ${Q(o)} 100`,
244
249
  height: G.value.style.itemSize,
245
250
  class: "vue-ui-rating-unit",
246
- id: `active_${z.value}_${r}`,
251
+ id: `active_${R.value}_${n}`,
247
252
  style: {
248
253
  position: "absolute",
249
254
  top: "0",
250
255
  left: "0"
251
256
  }
252
- }, [g("defs", null, [g("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_${z.value}`
259
- }, [g("stop", {
260
- offset: "0%",
261
- "stop-color": `${w(i)(G.value.style.star.activeColor, .05)}`
262
- }, null, 8, j), g("stop", {
263
- offset: "100%",
264
- "stop-color": G.value.style.star.activeColor
265
- }, null, 8, M)], 8, A)]), g("polygon", {
266
- points: w(t)({
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 T = /* @__PURE__ */ e({ default: () => L }), ie = {
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_${z.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, N)], 8, k))], 64)),
277
- (b(), h("svg", {
278
- xmlns: w(c),
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: v(`position:absolute;top:0;left:0;${Y.value ? "" : pe.value ? "cursor:pointer" : ""}`)
283
- }, [Y.value ? m("", !0) : (b(), h("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,
@@ -288,14 +297,14 @@ var T = /* @__PURE__ */ e({ default: () => L }), ie = {
288
297
  width: 100,
289
298
  height: 100,
290
299
  fill: "transparent",
291
- onClick: (e) => $(r),
292
- onMouseenter: (e) => V.value = r,
293
- onMouseleave: n[0] ||= (e) => V.value = void 0,
294
- onFocus: (e) => H.value = r,
295
- onBlur: n[1] ||= (e) => H.value = void 0,
300
+ onClick: (e) => $(n),
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: re((e) => $(r), ["enter"])
298
- }, null, 40, F)), Y.value ? (b(), h("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 T = /* @__PURE__ */ e({ default: () => L }), ie = {
303
312
  width: 100,
304
313
  height: 100,
305
314
  fill: "transparent",
306
- onMouseenter: (e) => V.value = r,
307
- onMouseleave: n[2] ||= (e) => V.value = void 0,
308
- onFocus: (e) => H.value = r,
309
- onBlur: n[3] ||= (e) => H.value = void 0
310
- }, null, 40, I)) : m("", !0)], 12, P)),
311
- G.value.style.tooltip.show && he.value && Y.value ? (b(), h("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: 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 === r ? "block" : "none"};padding:2px 12px;border-radius:${G.value.style.tooltip.borderRadius}px;box-shadow:${G.value.style.tooltip.boxShadow}`)
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(r) + ":", 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(o)(G.value.style.tooltip.formatter, R.dataset.rating[r], w(s)({
318
- v: R.dataset.rating[r],
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
- 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)
322
- ], 4)], 4)) : m("", !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" ? (b(), h("div", {
333
+ G.value.style.rating.show && G.value.style.rating.position === "right" ? (b(), m("div", {
325
334
  key: 1,
326
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`)
327
- }, C(w(o)(G.value.style.rating.formatter, q.value, w(s)({
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)) : m("", !0)
339
+ }), G.value)), 5)) : p("", !0)
331
340
  ], 4),
332
- G.value.style.rating.show && G.value.style.rating.position === "bottom" ? (b(), h("div", {
341
+ G.value.style.rating.show && G.value.style.rating.position === "bottom" ? (b(), m("div", {
333
342
  key: 2,
334
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`)
335
- }, C(w(o)(G.value.style.rating.formatter, q.value, w(s)({
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)) : m("", !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 { T as n, L as t };
352
+ export { O as n, I as t };