vue-data-ui 3.23.1 → 3.23.2

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 (171) hide show
  1. package/dist/{PackageVersion-D6d8SCp9.js → PackageVersion-DXU7nRr9.js} +1 -1
  2. package/dist/components/vue-ui-3d-bar.js +1 -1
  3. package/dist/components/vue-ui-accordion.js +1 -1
  4. package/dist/components/vue-ui-age-pyramid.js +1 -1
  5. package/dist/components/vue-ui-annotator.js +1 -1
  6. package/dist/components/vue-ui-bullet.js +1 -1
  7. package/dist/components/vue-ui-bump.js +1 -1
  8. package/dist/components/vue-ui-candlestick.js +1 -1
  9. package/dist/components/vue-ui-carousel-table.js +1 -1
  10. package/dist/components/vue-ui-chestnut.js +1 -1
  11. package/dist/components/vue-ui-chord.js +1 -1
  12. package/dist/components/vue-ui-circle-pack.js +1 -1
  13. package/dist/components/vue-ui-cursor.js +1 -1
  14. package/dist/components/vue-ui-dag.js +1 -1
  15. package/dist/components/vue-ui-dashboard.js +1 -1
  16. package/dist/components/vue-ui-digits.js +1 -1
  17. package/dist/components/vue-ui-donut-evolution.js +1 -1
  18. package/dist/components/vue-ui-donut.js +1 -1
  19. package/dist/components/vue-ui-dumbbell.js +1 -1
  20. package/dist/components/vue-ui-flow.js +1 -1
  21. package/dist/components/vue-ui-funnel.js +1 -1
  22. package/dist/components/vue-ui-galaxy.js +1 -1
  23. package/dist/components/vue-ui-gauge.js +1 -1
  24. package/dist/components/vue-ui-geo.js +1 -1
  25. package/dist/components/vue-ui-gizmo.js +1 -1
  26. package/dist/components/vue-ui-heatmap.js +1 -1
  27. package/dist/components/vue-ui-hill.js +1 -1
  28. package/dist/components/vue-ui-history-plot.js +1 -1
  29. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  30. package/dist/components/vue-ui-kpi.js +1 -1
  31. package/dist/components/vue-ui-mini-loader.js +1 -1
  32. package/dist/components/vue-ui-molecule.js +1 -1
  33. package/dist/components/vue-ui-mood-radar.js +1 -1
  34. package/dist/components/vue-ui-nested-donuts.js +1 -1
  35. package/dist/components/vue-ui-onion.js +1 -1
  36. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  37. package/dist/components/vue-ui-quadrant.js +1 -1
  38. package/dist/components/vue-ui-quick-chart.js +1 -1
  39. package/dist/components/vue-ui-radar.js +1 -1
  40. package/dist/components/vue-ui-rating.js +1 -1
  41. package/dist/components/vue-ui-relation-circle.js +1 -1
  42. package/dist/components/vue-ui-ridgeline.js +1 -1
  43. package/dist/components/vue-ui-rings.js +1 -1
  44. package/dist/components/vue-ui-scatter.js +1 -1
  45. package/dist/components/vue-ui-skeleton.js +1 -1
  46. package/dist/components/vue-ui-smiley.js +1 -1
  47. package/dist/components/vue-ui-spark-trend.js +1 -1
  48. package/dist/components/vue-ui-sparkbar.js +1 -1
  49. package/dist/components/vue-ui-sparkgauge.js +1 -1
  50. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  51. package/dist/components/vue-ui-sparkline.js +1 -1
  52. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  53. package/dist/components/vue-ui-stackbar.js +1 -1
  54. package/dist/components/vue-ui-stackline.js +1 -1
  55. package/dist/components/vue-ui-strip-plot.js +1 -1
  56. package/dist/components/vue-ui-table-heatmap.js +1 -1
  57. package/dist/components/vue-ui-table-sparkline.js +1 -1
  58. package/dist/components/vue-ui-table.js +1 -1
  59. package/dist/components/vue-ui-thermometer.js +1 -1
  60. package/dist/components/vue-ui-timer.js +1 -1
  61. package/dist/components/vue-ui-tiremarks.js +1 -1
  62. package/dist/components/vue-ui-treemap.js +1 -1
  63. package/dist/components/vue-ui-vertical-bar.js +1 -1
  64. package/dist/components/vue-ui-waffle.js +1 -1
  65. package/dist/components/vue-ui-wheel.js +1 -1
  66. package/dist/components/vue-ui-word-cloud.js +1 -1
  67. package/dist/components/vue-ui-world.js +1 -1
  68. package/dist/components/vue-ui-xy-canvas.js +1 -1
  69. package/dist/components/vue-ui-xy.js +1 -1
  70. package/dist/{package-KvlL5CqE.js → package-bsfpO6y3.js} +1 -1
  71. package/dist/{render-common-oDYGTc5P.js → render-common-C0PEe9so.js} +1 -1
  72. package/dist/ssr/vue-ui-donut.js +1 -1
  73. package/dist/ssr/vue-ui-xy.js +1 -1
  74. package/dist/ssr.js +2 -2
  75. package/dist/style.css +1 -1
  76. package/dist/types/vue-data-ui.d.ts +6 -0
  77. package/dist/{useSvgExport-DH-FfcqQ.js → useChartExport-DNiwdPmb.js} +47 -1
  78. package/dist/{useConfig-D3scuR88.js → useConfig-DlNpz6P8.js} +6 -0
  79. package/dist/{useObjectBindings-Brg8mm5J.js → useObjectBindings-BeWS5v0i.js} +1 -1
  80. package/dist/utils.js +1 -1
  81. package/dist/{vue-data-ui-DGWDPCwC.js → vue-data-ui-BNxtW8pK.js} +68 -68
  82. package/dist/vue-data-ui.js +69 -69
  83. package/dist/{vue-ui-3d-bar-C_Su9fve.js → vue-ui-3d-bar-BYumVxZG.js} +164 -182
  84. package/dist/{vue-ui-accordion-BxGriZik.js → vue-ui-accordion-DegI2lzR.js} +1 -1
  85. package/dist/vue-ui-age-pyramid-tJx_hCsS.js +1241 -0
  86. package/dist/{vue-ui-annotator-CCtnM8Rv.js → vue-ui-annotator-DfG79D4r.js} +2 -2
  87. package/dist/vue-ui-bullet-DrWG4jRy.js +700 -0
  88. package/dist/{vue-ui-bump-CcdzJZ9n.js → vue-ui-bump-mKysp0KO.js} +213 -263
  89. package/dist/vue-ui-candlestick-PgKcBZdy.js +1837 -0
  90. package/dist/vue-ui-carousel-table-DRvycNBl.js +467 -0
  91. package/dist/vue-ui-chestnut-Dpklo-VE.js +2014 -0
  92. package/dist/vue-ui-chord-7PPVH_iG.js +1345 -0
  93. package/dist/vue-ui-circle-pack-DW4Os6_8.js +1636 -0
  94. package/dist/{vue-ui-cursor-BqHr0n1Z.js → vue-ui-cursor-DIt7vOwc.js} +2 -2
  95. package/dist/{vue-ui-dag-jMLVoQkb.js → vue-ui-dag-Cl0WdSLb.js} +492 -515
  96. package/dist/{vue-ui-dashboard-DVAUFETR.js → vue-ui-dashboard-BwxRLR4E.js} +65 -65
  97. package/dist/{vue-ui-digits-Dy4gG6qm.js → vue-ui-digits-Bp1OH_t1.js} +2 -2
  98. package/dist/{vue-ui-donut-C0cWRLbU.js → vue-ui-donut-BZUT7QYt.js} +333 -359
  99. package/dist/vue-ui-donut-evolution-CQy3ZKXk.js +1549 -0
  100. package/dist/{vue-ui-donut-CYpxGBhl.js → vue-ui-donut-y6tOAVyY.js} +2 -2
  101. package/dist/{vue-ui-dumbbell-DxVbRjKR.js → vue-ui-dumbbell-BtKZcAOV.js} +378 -428
  102. package/dist/{vue-ui-flow-DWaZF4FS.js → vue-ui-flow-BF_cndsv.js} +182 -207
  103. package/dist/vue-ui-funnel-z3AeiDu6.js +750 -0
  104. package/dist/{vue-ui-galaxy-CWBP9oH9.js → vue-ui-galaxy-ClWaSOmM.js} +308 -334
  105. package/dist/vue-ui-gauge-CJstpakj.js +932 -0
  106. package/dist/{vue-ui-geo-ZA7CBy8f.js → vue-ui-geo-B1tOD3HC.js} +362 -413
  107. package/dist/{vue-ui-gizmo-SQCou0bQ.js → vue-ui-gizmo-foatosAv.js} +2 -2
  108. package/dist/{vue-ui-heatmap-CHd9gs_p.js → vue-ui-heatmap-By33A9dZ.js} +292 -315
  109. package/dist/vue-ui-hill-ewqkK9s5.js +1745 -0
  110. package/dist/{vue-ui-history-plot-BwnlC1mx.js → vue-ui-history-plot-FEIwXlsz.js} +258 -283
  111. package/dist/{vue-ui-horizontal-bar-BUar2HUH.js → vue-ui-horizontal-bar-D51sAeVu.js} +273 -298
  112. package/dist/{vue-ui-kpi-BF_9WWoo.js → vue-ui-kpi-y3EkgqJQ.js} +2 -2
  113. package/dist/{vue-ui-mini-loader-CvfukjXi.js → vue-ui-mini-loader-CtTewZJG.js} +1 -1
  114. package/dist/vue-ui-molecule-paWHp18h.js +935 -0
  115. package/dist/{vue-ui-mood-radar-_zpbmvJs.js → vue-ui-mood-radar-wBRTZI5k.js} +337 -386
  116. package/dist/vue-ui-nested-donuts-CB-HOLo2.js +1503 -0
  117. package/dist/{vue-ui-onion-CB5RYIy5.js → vue-ui-onion-B2Q2n55x.js} +257 -282
  118. package/dist/{vue-ui-parallel-coordinate-plot-BUwt-apg.js → vue-ui-parallel-coordinate-plot-GpkXiIZA.js} +190 -215
  119. package/dist/{vue-ui-quadrant-CoROD3er.js → vue-ui-quadrant-DOPuejDE.js} +213 -243
  120. package/dist/{vue-ui-quick-chart-BcH7eY4-.js → vue-ui-quick-chart-CgHX9njq.js} +52 -61
  121. package/dist/{vue-ui-radar-DGbaXGme.js → vue-ui-radar-BLvG-_zE.js} +343 -370
  122. package/dist/{vue-ui-rating-Bo3zD3yW.js → vue-ui-rating-BDVSVFA0.js} +8 -9
  123. package/dist/vue-ui-relation-circle-plOXwxJ5.js +903 -0
  124. package/dist/{vue-ui-ridgeline-BCaGcyfk.js → vue-ui-ridgeline-BbrnXvBo.js} +267 -317
  125. package/dist/{vue-ui-rings-BJUBn8_b.js → vue-ui-rings-B3cKfMWy.js} +407 -432
  126. package/dist/vue-ui-scatter-BY7waF2T.js +2403 -0
  127. package/dist/{vue-ui-skeleton-EeJcGbCo.js → vue-ui-skeleton-DwKxd7fk.js} +2 -2
  128. package/dist/{vue-ui-smiley-D0gibt5c.js → vue-ui-smiley-5iHJeTPc.js} +62 -63
  129. package/dist/{vue-ui-spark-trend-BRoQ7JpQ.js → vue-ui-spark-trend-MpvrV5Wd.js} +2 -2
  130. package/dist/{vue-ui-sparkbar-DFp2k7-7.js → vue-ui-sparkbar-s-2rBmEz.js} +97 -100
  131. package/dist/{vue-ui-sparkgauge-D0Bq85Hs.js → vue-ui-sparkgauge-B-BYVv4p.js} +2 -2
  132. package/dist/{vue-ui-sparkhistogram-BPln7v63.js → vue-ui-sparkhistogram-D7D4NHdi.js} +7 -8
  133. package/dist/{vue-ui-sparkline-C6Q45Dqp.js → vue-ui-sparkline-RbeYtLWp.js} +6 -7
  134. package/dist/{vue-ui-sparkstackbar-CjK4bcQg.js → vue-ui-sparkstackbar-ohN7mtbg.js} +191 -195
  135. package/dist/{vue-ui-stackbar-Ca8EPf3e.js → vue-ui-stackbar-D2bpvQYt.js} +524 -549
  136. package/dist/{vue-ui-stackline-Pz5WWlWT.js → vue-ui-stackline-Bo1oE8yq.js} +570 -595
  137. package/dist/vue-ui-strip-plot-CZ-C4a5x.js +1734 -0
  138. package/dist/{vue-ui-table-Bjg-ujJu.js → vue-ui-table-3PPiJPV6.js} +3 -3
  139. package/dist/{vue-ui-table-heatmap-ljeYW8Wc.js → vue-ui-table-heatmap-D1bbPXKG.js} +48 -49
  140. package/dist/{vue-ui-table-sparkline-iRFmtK5S.js → vue-ui-table-sparkline-l1cUX3ny.js} +7 -9
  141. package/dist/{vue-ui-thermometer-D8uiOaeA.js → vue-ui-thermometer-DltAELO7.js} +240 -261
  142. package/dist/{vue-ui-timer-CYw983oL.js → vue-ui-timer-DWNdx47q.js} +2 -2
  143. package/dist/vue-ui-tiremarks-GYhji_fa.js +538 -0
  144. package/dist/{vue-ui-treemap-h4VbnqPA.js → vue-ui-treemap-DjNlnOG5.js} +498 -524
  145. package/dist/vue-ui-waffle-BAA9EX6O.js +1386 -0
  146. package/dist/{vue-ui-wheel-tLvJadk5.js → vue-ui-wheel-DrefGLos.js} +188 -209
  147. package/dist/{vue-ui-word-cloud-BjpGSsod.js → vue-ui-word-cloud-CQZ8AyOi.js} +375 -398
  148. package/dist/{vue-ui-world-B4fCS3jN.js → vue-ui-world-Y7a3VEjq.js} +428 -453
  149. package/dist/{vue-ui-xy-7ZT9IRD8.js → vue-ui-xy-CJcdttNL.js} +857 -883
  150. package/dist/{vue-ui-xy-gyNS0yH0.js → vue-ui-xy-DPxtkYGc.js} +2 -2
  151. package/dist/{vue-ui-xy-canvas-BnLEwBpi.js → vue-ui-xy-canvas-1rbwMA1m.js} +13 -12
  152. package/package.json +1 -1
  153. package/dist/Slicer-CIk57nL4.js +0 -1163
  154. package/dist/vue-ui-age-pyramid-D4k1MkAL.js +0 -1264
  155. package/dist/vue-ui-bullet-DLZr2Uk8.js +0 -724
  156. package/dist/vue-ui-candlestick-EEEt7ORC.js +0 -1866
  157. package/dist/vue-ui-carousel-table-BicIpNAD.js +0 -463
  158. package/dist/vue-ui-chestnut-BI7mC5dd.js +0 -2068
  159. package/dist/vue-ui-chord-DXaq8ZMu.js +0 -1396
  160. package/dist/vue-ui-circle-pack-XHJBMG51.js +0 -1659
  161. package/dist/vue-ui-donut-evolution-DwR47A2r.js +0 -1603
  162. package/dist/vue-ui-funnel-Bmpx5GHR.js +0 -797
  163. package/dist/vue-ui-gauge-ByE_txav.js +0 -953
  164. package/dist/vue-ui-hill-BT183G-_.js +0 -1768
  165. package/dist/vue-ui-molecule-Bi2CKHer.js +0 -958
  166. package/dist/vue-ui-nested-donuts-qHZAJ70u.js +0 -1528
  167. package/dist/vue-ui-relation-circle-DaU1eTsG.js +0 -925
  168. package/dist/vue-ui-scatter-Pcft1bUt.js +0 -2428
  169. package/dist/vue-ui-strip-plot-Dw4MGDSO.js +0 -1757
  170. package/dist/vue-ui-tiremarks-CekiW2Ru.js +0 -559
  171. package/dist/vue-ui-waffle-cu0w_s6L.js +0 -1412
@@ -1,11 +1,11 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
2
  import { Bt as t, M as n, q as r, t as i, z as ee } from "./lib-Bttd6u5E.js";
3
3
  import { n as te, t as ne } from "./useHints-Dq_w2E8B.js";
4
- import { t as re } from "./useConfig-D3scuR88.js";
4
+ import { t as re } from "./useConfig-DlNpz6P8.js";
5
5
  import { t as ie } from "./useNestedProp-vPNvh7rV.js";
6
6
  import { t as a } from "./_plugin-vue_export-helper-B3ysoDQm.js";
7
7
  import { t as ae } from "./DefGrad-DVBqDjhO.js";
8
- import { n as o } from "./PackageVersion-D6d8SCp9.js";
8
+ import { n as o } from "./PackageVersion-DXU7nRr9.js";
9
9
  import { Fragment as s, computed as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createStaticVNode as f, createVNode as p, normalizeClass as oe, normalizeStyle as m, openBlock as h, ref as g, renderList as _, unref as v } from "vue";
10
10
  //#region src/components/vue-ui-skeleton.vue
11
11
  var y = /* @__PURE__ */ e({ default: () => K }), se = ["id"], ce = ["xmlns"], le = { transform: "translate(300, 300)" }, b = [
@@ -1,7 +1,7 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
2
  import { Vt as t, X as n, i as r, jt as i, t as a, tt as o } from "./lib-Bttd6u5E.js";
3
3
  import { n as s, t as c } from "./useHints-Dq_w2E8B.js";
4
- import { t as l } from "./useConfig-D3scuR88.js";
4
+ import { t as l } from "./useConfig-DlNpz6P8.js";
5
5
  import { t as u } from "./useNestedProp-vPNvh7rV.js";
6
6
  import { t as d } from "./_plugin-vue_export-helper-B3ysoDQm.js";
7
7
  import { t as f } from "./DefGrad-DVBqDjhO.js";
@@ -188,43 +188,42 @@ var N = ["xmlns", "stroke"], P = ["stroke"], F = [
188
188
  },
189
189
  emits: ["rate"],
190
190
  setup(e, { expose: t, emit: a }) {
191
- let { vue_ui_smiley: d } = l(), f = e, b = k(), E = a, O = w(null);
191
+ let { vue_ui_smiley: d } = l(), f = e, b = k(), E = a, O = w(null), M = w(I()), N = m(() => M.value.debug);
192
192
  S(() => {
193
- b["chart-background"] && console.warn("VueUiSmiley does not support the #chart-background slot.");
193
+ b["chart-background"] && N.value && console.warn("VueUiSmiley does not support the #chart-background slot.");
194
194
  });
195
- function M() {
195
+ function P() {
196
196
  (!Object.hasOwn(f.dataset, "rating") || i(f.dataset)) && o({
197
197
  componentName: "VueUiSmiley",
198
198
  type: "datasetAttribute",
199
- property: "rating"
199
+ property: "rating",
200
+ debug: N.value
200
201
  });
201
202
  }
202
- S(M);
203
- let N = w(F());
204
- s({
205
- config: () => N.value,
203
+ S(P), s({
204
+ config: () => M.value,
206
205
  dataset: () => [],
207
206
  component: "VueUiSmiley",
208
207
  rules: [c.noHint]
209
208
  });
210
- let P = m(() => N.value.useCursorPointer);
211
- function F() {
209
+ let F = m(() => M.value.useCursorPointer);
210
+ function I() {
212
211
  return u({
213
212
  userConfig: f.config,
214
213
  defaultConfig: d
215
214
  });
216
215
  }
217
216
  A(() => f.config, (e) => {
218
- N.value = F(), G.value = N.value.readonly, M();
217
+ M.value = I(), K.value = M.value.readonly, P();
219
218
  }, { deep: !0 });
220
- let I = m(() => {
219
+ let R = m(() => {
221
220
  let e = f.dataset.rating;
222
- return e && typeof e == "object" && !Array.isArray(e) ? q(e) : e ?? null;
223
- }), R = m(() => typeof f.dataset.rating == "object" && !Array.isArray(f.dataset.rating)), W = w(I.value);
224
- A(I, (e) => {
225
- W.value = e;
221
+ return e && typeof e == "object" && !Array.isArray(e) ? J(e) : e ?? null;
222
+ }), W = m(() => typeof f.dataset.rating == "object" && !Array.isArray(f.dataset.rating)), G = w(R.value);
223
+ A(R, (e) => {
224
+ G.value = e;
226
225
  });
227
- let G = w(N.value.readonly), K = [
226
+ let K = w(M.value.readonly), q = [
228
227
  {
229
228
  key: "smiley_0",
230
229
  pathIconFilled: "M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-5 9.86a4.5 4.5 0 0 0 -3.214 1.35a1 1 0 1 0 1.428 1.4a2.5 2.5 0 0 1 3.572 0a1 1 0 0 0 1.428 -1.4a4.5 4.5 0 0 0 -3.214 -1.35zm-2.99 -4.2l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007zm6 0l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007z",
@@ -261,7 +260,7 @@ var N = ["xmlns", "stroke"], P = ["stroke"], F = [
261
260
  pathIconReadonly: "M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0 M9 9l.01 0 M15 9l.01 0 M8 13a4 4 0 1 0 8 0h-8"
262
261
  }
263
262
  ];
264
- function q(e) {
263
+ function J(e) {
265
264
  if (e == null) return null;
266
265
  let t = 0, n = 0;
267
266
  for (let r in e) {
@@ -270,83 +269,83 @@ var N = ["xmlns", "stroke"], P = ["stroke"], F = [
270
269
  }
271
270
  return n === 0 ? 0 : t / n;
272
271
  }
273
- function J(e) {
274
- let t = W.value - e;
272
+ function Y(e) {
273
+ let t = G.value - e;
275
274
  switch (!0) {
276
275
  case t < 0: return 0;
277
276
  case t > 1: return 24;
278
277
  default: return t * 24;
279
278
  }
280
279
  }
281
- function Y(e) {
282
- return N.value.readonly ? N.value.style.colors.inactive[e] : W.value === e + 1 || O.value !== null && O.value === e ? N.value.style.icons.useGradient && N.value.style.icons.filled ? `url(#vueUiSmiley${e})` : N.value.style.colors.active[e] : N.value.style.colors.inactive[e];
280
+ function X(e) {
281
+ return M.value.readonly ? M.value.style.colors.inactive[e] : G.value === e + 1 || O.value !== null && O.value === e ? M.value.style.icons.useGradient && M.value.style.icons.filled ? `url(#vueUiSmiley${e})` : M.value.style.colors.active[e] : M.value.style.colors.inactive[e];
283
282
  }
284
- let X = m(() => ({ value: e, tooltip: t = !1 }) => r(t ? N.value.style.tooltip.formatter : N.value.style.rating.formatter, e, n({
283
+ let Z = m(() => ({ value: e, tooltip: t = !1 }) => r(t ? M.value.style.tooltip.formatter : M.value.style.rating.formatter, e, n({
285
284
  v: e,
286
- r: t ? N.value.style.tooltip.roundingValue : N.value.style.rating.roundingValue
287
- }), N.value));
288
- function Z(e) {
289
- G.value || (W.value = e, E("rate", e));
285
+ r: t ? M.value.style.tooltip.roundingValue : M.value.style.rating.roundingValue
286
+ }), M.value));
287
+ function Q(e) {
288
+ K.value || (G.value = e, E("rate", e));
290
289
  }
291
- function Q() {
292
- return W.value;
290
+ function $() {
291
+ return G.value;
293
292
  }
294
- function $(e = !0) {
295
- G.value = e;
293
+ function ee(e = !0) {
294
+ K.value = e;
296
295
  }
297
296
  return t({
298
- getData: Q,
299
- toggleReadonly: $
297
+ getData: $,
298
+ toggleReadonly: ee
300
299
  }), (e, t) => (C(), g("div", {
301
300
  class: "vue-data-ui-component vue-ui-smiley",
302
- style: x(`background:${N.value.style.backgroundColor};font-family:${N.value.style.fontFamily};width:100%;`),
301
+ style: x(`background:${M.value.style.backgroundColor};font-family:${M.value.style.fontFamily};width:100%;`),
303
302
  onMouseleave: t[1] ||= (e) => O.value = void 0
304
303
  }, [
305
- N.value.style.title.text ? (C(), g("div", z, [_("div", { style: x(`color:${N.value.style.title.color};font-weight:${N.value.style.title.bold ? "bold" : "normal"};text-align:${N.value.style.title.textAlign};margin-bottom:${N.value.style.title.offsetY}px;font-size:${N.value.style.title.fontSize}px`) }, D(N.value.style.title.text), 5), N.value.style.title.subtitle.text ? (C(), g("div", {
304
+ M.value.style.title.text ? (C(), g("div", z, [_("div", { style: x(`color:${M.value.style.title.color};font-weight:${M.value.style.title.bold ? "bold" : "normal"};text-align:${M.value.style.title.textAlign};margin-bottom:${M.value.style.title.offsetY}px;font-size:${M.value.style.title.fontSize}px`) }, D(M.value.style.title.text), 5), M.value.style.title.subtitle.text ? (C(), g("div", {
306
305
  key: 0,
307
- style: x(`color:${N.value.style.title.subtitle.color};font-size:${N.value.style.title.subtitle.fontSize}px;text-align:${N.value.style.title.textAlign};margin-bottom:${N.value.style.title.subtitle.offsetY}px;font-weight:${N.value.style.title.subtitle.bold ? "bold" : "normal"}`)
308
- }, D(N.value.style.title.subtitle.text), 5)) : h("", !0)])) : h("", !0),
309
- N.value.style.rating.show && N.value.style.rating.position === "top" ? (C(), g("div", {
306
+ style: x(`color:${M.value.style.title.subtitle.color};font-size:${M.value.style.title.subtitle.fontSize}px;text-align:${M.value.style.title.textAlign};margin-bottom:${M.value.style.title.subtitle.offsetY}px;font-weight:${M.value.style.title.subtitle.bold ? "bold" : "normal"}`)
307
+ }, D(M.value.style.title.subtitle.text), 5)) : h("", !0)])) : h("", !0),
308
+ M.value.style.rating.show && M.value.style.rating.position === "top" ? (C(), g("div", {
310
309
  key: 1,
311
- style: x(`width:100%;text-align:center;margin-bottom:${N.value.style.rating.offsetY}px;font-size:${N.value.style.rating.fontSize}px;font-weight:${N.value.style.rating.bold ? "bold" : "normal"};margin-left:${N.value.style.rating.offsetX}px`)
312
- }, D(X.value({ value: W.value })), 5)) : h("", !0),
310
+ style: x(`width:100%;text-align:center;margin-bottom:${M.value.style.rating.offsetY}px;font-size:${M.value.style.rating.fontSize}px;font-weight:${M.value.style.rating.bold ? "bold" : "normal"};margin-left:${M.value.style.rating.offsetX}px`)
311
+ }, D(Z.value({ value: G.value })), 5)) : h("", !0),
313
312
  _("div", {
314
313
  class: "vue-ui-smiley-wrapper",
315
- style: x(`overflow:visible;height:${N.value.style.itemSize}px;width:fit-content;margin:0 auto;display:flex;align-items:center;justify-content:center;`)
314
+ style: x(`overflow:visible;height:${M.value.style.itemSize}px;width:fit-content;margin:0 auto;display:flex;align-items:center;justify-content:center;`)
316
315
  }, [
317
- N.value.style.rating.show && N.value.style.rating.position === "left" ? (C(), g("div", {
316
+ M.value.style.rating.show && M.value.style.rating.position === "left" ? (C(), g("div", {
318
317
  key: 0,
319
- style: x(`width:fit-content;text-align:center;margin-bottom:${N.value.style.rating.offsetY}px;font-size:${N.value.style.rating.fontSize}px;font-weight:${N.value.style.rating.bold ? "bold" : "normal"};padding-right:${N.value.style.rating.offsetX}px`)
320
- }, D(X.value({ value: W.value })), 5)) : h("", !0),
321
- (C(), g(p, null, T(K, (e, n) => y(L, {
318
+ style: x(`width:fit-content;text-align:center;margin-bottom:${M.value.style.rating.offsetY}px;font-size:${M.value.style.rating.fontSize}px;font-weight:${M.value.style.rating.bold ? "bold" : "normal"};padding-right:${M.value.style.rating.offsetX}px`)
319
+ }, D(Z.value({ value: G.value })), 5)) : h("", !0),
320
+ (C(), g(p, null, T(q, (e, n) => y(L, {
322
321
  key: e.key,
323
- config: N.value,
322
+ config: M.value,
324
323
  unit: n + 1,
325
- currentRating: W.value,
326
- isReadonly: G.value,
327
- hasBreakdown: R.value,
324
+ currentRating: G.value,
325
+ isReadonly: K.value,
326
+ hasBreakdown: W.value,
328
327
  hoveredValue: O.value,
329
- getActiveColor: Y,
330
- calcShapeFill: J,
331
- isCursorPointer: P.value,
328
+ getActiveColor: X,
329
+ calcShapeFill: Y,
330
+ isCursorPointer: F.value,
332
331
  onMouseenter: (e) => O.value = n,
333
332
  onMouseleave: t[0] ||= (e) => O.value = null,
334
- onRate: (e) => Z(n + 1)
333
+ onRate: (e) => Q(n + 1)
335
334
  }, {
336
- rating: j(() => [v(D(X.value({
335
+ rating: j(() => [v(D(Z.value({
337
336
  value: f.dataset.rating[String(n + 1)],
338
337
  tooltip: !0
339
338
  })), 1)]),
340
339
  "path-icon-filled": j(() => [_("path", {
341
340
  d: e.pathIconFilled,
342
341
  "stroke-width": "0",
343
- fill: Y(n)
342
+ fill: X(n)
344
343
  }, null, 8, B)]),
345
344
  "path-icon": j(() => [_("path", { d: e.pathIcon }, null, 8, V)]),
346
345
  "path-icon-filled-readonly": j(() => [_("path", {
347
346
  d: e.pathIconFilledReadonly,
348
347
  "stroke-width": "0",
349
- fill: N.value.style.icons.useGradient ? `url(#vueUiSmiley${n})` : N.value.style.colors.activeReadonly[n]
348
+ fill: M.value.style.icons.useGradient ? `url(#vueUiSmiley${n})` : M.value.style.colors.activeReadonly[n]
350
349
  }, null, 8, H)]),
351
350
  "path-icon-readonly": j(() => [_("path", { d: e.pathIconReadonly }, null, 8, U)]),
352
351
  _: 2
@@ -361,15 +360,15 @@ var N = ["xmlns", "stroke"], P = ["stroke"], F = [
361
360
  "onMouseenter",
362
361
  "onRate"
363
362
  ])), 64)),
364
- N.value.style.rating.show && N.value.style.rating.position === "right" ? (C(), g("div", {
363
+ M.value.style.rating.show && M.value.style.rating.position === "right" ? (C(), g("div", {
365
364
  key: 1,
366
- style: x(`width:fit-content;text-align:center;margin-bottom:${N.value.style.rating.offsetY}px;font-size:${N.value.style.rating.fontSize}px;font-weight:${N.value.style.rating.bold ? "bold" : "normal"};padding-left:${N.value.style.rating.offsetX}px`)
367
- }, D(X.value({ value: W.value })), 5)) : h("", !0)
365
+ style: x(`width:fit-content;text-align:center;margin-bottom:${M.value.style.rating.offsetY}px;font-size:${M.value.style.rating.fontSize}px;font-weight:${M.value.style.rating.bold ? "bold" : "normal"};padding-left:${M.value.style.rating.offsetX}px`)
366
+ }, D(Z.value({ value: G.value })), 5)) : h("", !0)
368
367
  ], 4),
369
- N.value.style.rating.show && N.value.style.rating.position === "bottom" ? (C(), g("div", {
368
+ M.value.style.rating.show && M.value.style.rating.position === "bottom" ? (C(), g("div", {
370
369
  key: 2,
371
- style: x(`width:100%;text-align:center;margin-top:${N.value.style.rating.offsetY}px;font-size:${N.value.style.rating.fontSize}px;font-weight:${N.value.style.rating.bold ? "bold" : "normal"};margin-left:${N.value.style.rating.offsetX}px`)
372
- }, D(X.value({ value: W.value })), 5)) : h("", !0)
370
+ style: x(`width:100%;text-align:center;margin-top:${M.value.style.rating.offsetY}px;font-size:${M.value.style.rating.fontSize}px;font-weight:${M.value.style.rating.bold ? "bold" : "normal"};margin-left:${M.value.style.rating.offsetX}px`)
371
+ }, D(Z.value({ value: G.value })), 5)) : h("", !0)
373
372
  ], 36));
374
373
  }
375
374
  };
@@ -1,7 +1,7 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
2
  import { Bt as t, Et as n, Jt as r, P as i, X as a, b as o, g as ee, i as s, jt as c, q as te, t as ne, tt as re } from "./lib-Bttd6u5E.js";
3
3
  import { n as ie, t as ae } from "./useHints-Dq_w2E8B.js";
4
- import { t as oe } from "./useConfig-D3scuR88.js";
4
+ import { t as oe } from "./useConfig-DlNpz6P8.js";
5
5
  import { n as se, t as ce } from "./BaseScanner-DZvpgOjM.js";
6
6
  import { t as l } from "./useNestedProp-vPNvh7rV.js";
7
7
  import { t as le } from "./useThemeCheck-C43Tcqmk.js";
@@ -64,7 +64,7 @@ var S = /* @__PURE__ */ e({ default: () => C }), Se = ["id", "aria-describedby"]
64
64
  }
65
65
  },
66
66
  setup(e) {
67
- let u = ve(() => import("./PackageVersion-D6d8SCp9.js").then((e) => e.t)), { vue_ui_spark_trend: S } = oe(), { isThemeValid: C, warnInvalidTheme: Le } = le(), w = pe(), T = e, E = _(null), Re = _(null), ze = _(null), D = _(null), O = _(null), k = _(!1), A = _(null), j = _(te()), M = _(I());
67
+ let u = ve(() => import("./PackageVersion-DXU7nRr9.js").then((e) => e.t)), { vue_ui_spark_trend: S } = oe(), { isThemeValid: C, warnInvalidTheme: Le } = le(), w = pe(), T = e, E = _(null), Re = _(null), ze = _(null), D = _(null), O = _(null), k = _(!1), A = _(null), j = _(te()), M = _(I());
68
68
  ie({
69
69
  config: () => M.value,
70
70
  dataset: () => T.dataset,