vue-data-ui 3.22.6 → 3.22.8

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 (203) hide show
  1. package/dist/{Arrow-Ds4xmpiQ.js → Arrow-DdymhUfY.js} +1 -1
  2. package/dist/{BaseDraggableDialog-VbypEaAa.js → BaseDraggableDialog-DcfGlH8A.js} +2 -2
  3. package/dist/{BaseIcon-DcUvOfxf.js → BaseIcon-C2qlyHc7.js} +1 -1
  4. package/dist/{BaseLegendToggle-DFwIY5bE.js → BaseLegendToggle-DtQ8vyfr.js} +1 -1
  5. package/dist/{BaseZoomControls-DwolSINF.js → BaseZoomControls-C6zonwhr.js} +2 -2
  6. package/dist/{ColorPicker-UVDPcrjE.js → ColorPicker-CK2-h611.js} +2 -2
  7. package/dist/{DataTable-CXfvIulC.js → DataTable-D9NvewTT.js} +2 -2
  8. package/dist/{Legend-D-635Kag.js → Legend-ROt6ugzW.js} +2 -2
  9. package/dist/{NonSvgPenAndPaper-pR_1qp3s.js → NonSvgPenAndPaper-BHHNsVVP.js} +29 -29
  10. package/dist/{PackageVersion-Da7hl-34.js → PackageVersion-DW7zwRcm.js} +1 -1
  11. package/dist/{PenAndPaper-Bk2-E7V4.js → PenAndPaper-pcgwlYr2.js} +18 -18
  12. package/dist/{Shape-BSetplwm.js → Shape-UpH0a4Ur.js} +3 -3
  13. package/dist/{Slicer-ClIGOuoX.js → Slicer-BZ5VnOOS.js} +19 -19
  14. package/dist/{SlicerPreview-D1n9AW39.js → SlicerPreview-BQFeCw0m.js} +351 -351
  15. package/dist/{SparkTooltip-CjDAyolg.js → SparkTooltip-BTLN-Kex.js} +6 -6
  16. package/dist/{Title-C-p0ilWB.js → Title-CcNiYzEo.js} +1 -1
  17. package/dist/{Tooltip-YabpoXo1.js → Tooltip-CxOrWlFy.js} +1 -1
  18. package/dist/{UserOptions-BO4VFL8O.js → UserOptions-16uF1ayB.js} +2 -2
  19. package/dist/components/arrow.js +1 -1
  20. package/dist/components/vue-ui-3d-bar.js +1 -1
  21. package/dist/components/vue-ui-accordion.js +1 -1
  22. package/dist/components/vue-ui-age-pyramid.js +1 -1
  23. package/dist/components/vue-ui-annotator.js +1 -1
  24. package/dist/components/vue-ui-bullet.js +1 -1
  25. package/dist/components/vue-ui-bump.js +1 -1
  26. package/dist/components/vue-ui-candlestick.js +1 -1
  27. package/dist/components/vue-ui-carousel-table.js +1 -1
  28. package/dist/components/vue-ui-chestnut.js +1 -1
  29. package/dist/components/vue-ui-chord.js +1 -1
  30. package/dist/components/vue-ui-circle-pack.js +1 -1
  31. package/dist/components/vue-ui-cursor.js +1 -1
  32. package/dist/components/vue-ui-dag.js +1 -1
  33. package/dist/components/vue-ui-dashboard.js +1 -1
  34. package/dist/components/vue-ui-digits.js +1 -1
  35. package/dist/components/vue-ui-donut-evolution.js +1 -1
  36. package/dist/components/vue-ui-donut.js +1 -1
  37. package/dist/components/vue-ui-dumbbell.js +1 -1
  38. package/dist/components/vue-ui-flow.js +1 -1
  39. package/dist/components/vue-ui-funnel.js +1 -1
  40. package/dist/components/vue-ui-galaxy.js +1 -1
  41. package/dist/components/vue-ui-gauge.js +1 -1
  42. package/dist/components/vue-ui-geo.js +1 -1
  43. package/dist/components/vue-ui-gizmo.js +1 -1
  44. package/dist/components/vue-ui-heatmap.js +1 -1
  45. package/dist/components/vue-ui-history-plot.js +1 -1
  46. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  47. package/dist/components/vue-ui-icon.js +1 -1
  48. package/dist/components/vue-ui-kpi.js +1 -1
  49. package/dist/components/vue-ui-mini-loader.js +1 -1
  50. package/dist/components/vue-ui-molecule.js +1 -1
  51. package/dist/components/vue-ui-mood-radar.js +1 -1
  52. package/dist/components/vue-ui-nested-donuts.js +1 -1
  53. package/dist/components/vue-ui-onion.js +1 -1
  54. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  55. package/dist/components/vue-ui-quadrant.js +1 -1
  56. package/dist/components/vue-ui-quick-chart.js +1 -1
  57. package/dist/components/vue-ui-radar.js +1 -1
  58. package/dist/components/vue-ui-rating.js +1 -1
  59. package/dist/components/vue-ui-relation-circle.js +1 -1
  60. package/dist/components/vue-ui-ridgeline.js +1 -1
  61. package/dist/components/vue-ui-rings.js +1 -1
  62. package/dist/components/vue-ui-scatter.js +1 -1
  63. package/dist/components/vue-ui-skeleton.js +1 -1
  64. package/dist/components/vue-ui-smiley.js +1 -1
  65. package/dist/components/vue-ui-spark-trend.js +1 -1
  66. package/dist/components/vue-ui-sparkbar.js +1 -1
  67. package/dist/components/vue-ui-sparkgauge.js +1 -1
  68. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  69. package/dist/components/vue-ui-sparkline.js +1 -1
  70. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  71. package/dist/components/vue-ui-stackbar.js +1 -1
  72. package/dist/components/vue-ui-stackline.js +1 -1
  73. package/dist/components/vue-ui-strip-plot.js +1 -1
  74. package/dist/components/vue-ui-table-heatmap.js +1 -1
  75. package/dist/components/vue-ui-table-sparkline.js +1 -1
  76. package/dist/components/vue-ui-table.js +1 -1
  77. package/dist/components/vue-ui-thermometer.js +1 -1
  78. package/dist/components/vue-ui-timer.js +1 -1
  79. package/dist/components/vue-ui-tiremarks.js +1 -1
  80. package/dist/components/vue-ui-treemap.js +1 -1
  81. package/dist/components/vue-ui-vertical-bar.js +1 -1
  82. package/dist/components/vue-ui-waffle.js +1 -1
  83. package/dist/components/vue-ui-wheel.js +1 -1
  84. package/dist/components/vue-ui-word-cloud.js +1 -1
  85. package/dist/components/vue-ui-world.js +1 -1
  86. package/dist/components/vue-ui-xy-canvas.js +1 -1
  87. package/dist/components/vue-ui-xy.js +1 -1
  88. package/dist/{dom-to-png-CVJfsfwL.js → dom-to-png-BbwhsRIr.js} +1 -1
  89. package/dist/exposedLib-VXFp3Z2c.js +19 -0
  90. package/dist/{geoProjections-Czak6Jn1.js → geoProjections-BbN7z57k.js} +172 -15
  91. package/dist/{img-B_y5qDdm.js → img-DnP3eXuv.js} +1 -1
  92. package/dist/{labelUtils-CyVwqXSh.js → labelUtils-DBEh078l.js} +1 -1
  93. package/dist/{lib-DRBJCmHW.js → lib-JqW18y5I.js} +49 -30
  94. package/dist/{package-DyQ_PQis.js → package-gp9pYCfN.js} +1 -1
  95. package/dist/{pdf-CG02qhAH.js → pdf-hj3gzrE7.js} +1 -1
  96. package/dist/{render-common-CUAlQvAQ.js → render-common-CLn1VXJ9.js} +20 -20
  97. package/dist/ssr/vue-ui-donut.js +1 -1
  98. package/dist/ssr/vue-ui-xy.js +1 -1
  99. package/dist/ssr.js +2 -2
  100. package/dist/style.css +1 -1
  101. package/dist/types/utils.d.ts +18 -0
  102. package/dist/{useAutoSizeLabelsInsideViewbox-DPMOys9n.js → useAutoSizeLabelsInsideViewbox-BGnDfZdg.js} +1 -1
  103. package/dist/{useNestedProp-BEo2N1Db.js → useNestedProp-DIuuzG1r.js} +1 -1
  104. package/dist/{usePrinter-CRp5IW3v.js → usePrinter-CqqHmnBI.js} +2 -2
  105. package/dist/utils.js +23 -23
  106. package/dist/{vue-data-ui-Bpu4kxlm.js → vue-data-ui-AZZ9Cq-4.js} +68 -68
  107. package/dist/vue-data-ui.js +77 -77
  108. package/dist/{vue-ui-3d-bar-BAH0jNtT.js → vue-ui-3d-bar-B3HxJmDI.js} +124 -124
  109. package/dist/{vue-ui-accordion-CfMrbDoq.js → vue-ui-accordion-YyosvEPo.js} +3 -3
  110. package/dist/vue-ui-age-pyramid-DTAOc7fn.js +1238 -0
  111. package/dist/{vue-ui-annotator-CG6rhFpy.js → vue-ui-annotator-CfJXeAOE.js} +6 -6
  112. package/dist/vue-ui-bullet-CCLnrOLm.js +710 -0
  113. package/dist/vue-ui-bump-Rq7efdoe.js +1249 -0
  114. package/dist/vue-ui-candlestick-D-Z9pEaA.js +1829 -0
  115. package/dist/vue-ui-carousel-table-Lx5Zk4dG.js +455 -0
  116. package/dist/{vue-ui-chestnut-Cx8T3NEl.js → vue-ui-chestnut-RfWMGUD-.js} +114 -114
  117. package/dist/{vue-ui-chord-B-sauvLo.js → vue-ui-chord-Db1O_diJ.js} +57 -57
  118. package/dist/vue-ui-circle-pack-B4Ro7UuI.js +1608 -0
  119. package/dist/{vue-ui-cursor-DVsEm_4l.js → vue-ui-cursor-DLP7wxsw.js} +61 -61
  120. package/dist/{vue-ui-dag-Cfi0b9qm.js → vue-ui-dag-DL3zq0F2.js} +37 -37
  121. package/dist/{vue-ui-dashboard-F_NZ1xoQ.js → vue-ui-dashboard-C2ozZ-LI.js} +69 -69
  122. package/dist/{vue-ui-digits-BfP1kbj3.js → vue-ui-digits-ThFVNO3l.js} +3 -3
  123. package/dist/{vue-ui-donut-DlVRnVr_.js → vue-ui-donut-BuTd6dt4.js} +224 -224
  124. package/dist/{vue-ui-donut-BwAyvV3-.js → vue-ui-donut-C3Rt6j-I.js} +458 -458
  125. package/dist/vue-ui-donut-evolution-DY46UPF_.js +1510 -0
  126. package/dist/vue-ui-dumbbell-wK7vUB0x.js +1530 -0
  127. package/dist/{vue-ui-flow-D_7Idmmw.js → vue-ui-flow-BTUNfWb7.js} +122 -122
  128. package/dist/vue-ui-funnel-BhoHzyHa.js +777 -0
  129. package/dist/{vue-ui-galaxy-Bjxbg5_B.js → vue-ui-galaxy-DJ2uNYcN.js} +263 -263
  130. package/dist/{vue-ui-gauge-Dt0H7DgC.js → vue-ui-gauge-Cf4NqvrO.js} +226 -226
  131. package/dist/{vue-ui-geo-89DEQb5l.js → vue-ui-geo-ovHu_Sc9.js} +21 -21
  132. package/dist/{vue-ui-gizmo-CQyLK18v.js → vue-ui-gizmo-DDxEj-qe.js} +7 -7
  133. package/dist/{vue-ui-heatmap-o6MvoxBK.js → vue-ui-heatmap-Npqnvb1r.js} +282 -282
  134. package/dist/vue-ui-history-plot-C3Kjy2tc.js +1715 -0
  135. package/dist/vue-ui-horizontal-bar-D1rCsgqt.js +1683 -0
  136. package/dist/{vue-ui-kpi-4C-j92D-.js → vue-ui-kpi-BrlfYO-j.js} +4 -4
  137. package/dist/{vue-ui-mini-loader-Bj4Wv-i8.js → vue-ui-mini-loader-D5we7V_W.js} +2 -2
  138. package/dist/vue-ui-molecule-CExCqZ08.js +925 -0
  139. package/dist/{vue-ui-mood-radar-B5W35Fvp.js → vue-ui-mood-radar-DlVh6hwx.js} +27 -27
  140. package/dist/vue-ui-nested-donuts-3TRV8pN-.js +1487 -0
  141. package/dist/vue-ui-onion-DwKK9DXn.js +1200 -0
  142. package/dist/{vue-ui-parallel-coordinate-plot-DBpHCFxa.js → vue-ui-parallel-coordinate-plot-DSp_cwU-.js} +57 -57
  143. package/dist/vue-ui-quadrant-ByVg-NBs.js +1978 -0
  144. package/dist/{vue-ui-quick-chart-so_8PzvS.js → vue-ui-quick-chart-WMzSJxGZ.js} +188 -188
  145. package/dist/{vue-ui-radar-5fQ5AAWD.js → vue-ui-radar-DE-me6OC.js} +64 -64
  146. package/dist/vue-ui-rating-CzD3EQ3G.js +343 -0
  147. package/dist/vue-ui-relation-circle-L7-dTqet.js +924 -0
  148. package/dist/vue-ui-ridgeline-Cp3YP0xe.js +1622 -0
  149. package/dist/vue-ui-rings-WzWiEo9W.js +1246 -0
  150. package/dist/vue-ui-scatter-DwrAydha.js +2413 -0
  151. package/dist/{vue-ui-skeleton-BkxB6Dik.js → vue-ui-skeleton-CuFm4PtB.js} +58 -58
  152. package/dist/{vue-ui-smiley-C4g0iaF7.js → vue-ui-smiley-D4NnZ1mg.js} +17 -17
  153. package/dist/{vue-ui-spark-trend-0FELlq4x.js → vue-ui-spark-trend-C38ysZ-c.js} +21 -21
  154. package/dist/{vue-ui-sparkbar-D-i_VLO6.js → vue-ui-sparkbar-B03ndcUe.js} +80 -80
  155. package/dist/{vue-ui-sparkgauge-CWw6w_ng.js → vue-ui-sparkgauge-DgPc4vPT.js} +7 -7
  156. package/dist/{vue-ui-sparkhistogram-DuGpkfma.js → vue-ui-sparkhistogram-D02ff7ZI.js} +115 -115
  157. package/dist/{vue-ui-sparkline-Bi06lHQd.js → vue-ui-sparkline-DlTfNQj8.js} +464 -464
  158. package/dist/vue-ui-sparkstackbar-DrmiWFlw.js +662 -0
  159. package/dist/vue-ui-stackbar-BVdApDnY.js +2332 -0
  160. package/dist/vue-ui-stackline-QzQQ7lTy.js +2419 -0
  161. package/dist/vue-ui-strip-plot-C-TFNvgz.js +1729 -0
  162. package/dist/{vue-ui-table-DBlZswRi.js → vue-ui-table-Q3brrivC.js} +68 -68
  163. package/dist/{vue-ui-table-heatmap-3xYIDKcP.js → vue-ui-table-heatmap-D0pZbBOH.js} +14 -14
  164. package/dist/{vue-ui-table-sparkline-BH5PzEnJ.js → vue-ui-table-sparkline-Q6BHPKUn.js} +199 -199
  165. package/dist/{vue-ui-thermometer-BxMzAqoT.js → vue-ui-thermometer-Bg0RR6m4.js} +26 -26
  166. package/dist/{vue-ui-timer-ONSitYDm.js → vue-ui-timer-BdzKpoRj.js} +29 -29
  167. package/dist/{vue-ui-tiremarks-DWXM-9nR.js → vue-ui-tiremarks-DWb69ofh.js} +17 -17
  168. package/dist/{vue-ui-treemap-B03c4RIy.js → vue-ui-treemap-uUz07Prw.js} +401 -401
  169. package/dist/vue-ui-waffle-Pi9e7Ae7.js +1362 -0
  170. package/dist/{vue-ui-wheel-DRP7X8S2.js → vue-ui-wheel-DTfvWYA7.js} +137 -137
  171. package/dist/{vue-ui-word-cloud-AKpMO97a.js → vue-ui-word-cloud-DqfljAqH.js} +40 -40
  172. package/dist/vue-ui-world-BtBrH92Z.js +3016 -0
  173. package/dist/{vue-ui-xy-Bmd11BxR.js → vue-ui-xy-Bvgy2do1.js} +1598 -1596
  174. package/dist/{vue-ui-xy-DJ8YKPgs.js → vue-ui-xy-D5KsuNR2.js} +259 -259
  175. package/dist/{vue-ui-xy-canvas-DO_PDGKf.js → vue-ui-xy-canvas-BfgeE3TW.js} +440 -437
  176. package/package.json +1 -1
  177. package/dist/exposedLib-CjwriUaG.js +0 -19
  178. package/dist/vue-ui-age-pyramid-BF5ZuuyI.js +0 -1238
  179. package/dist/vue-ui-bullet-C_oBS1cr.js +0 -710
  180. package/dist/vue-ui-bump-BZB1Na8h.js +0 -1249
  181. package/dist/vue-ui-candlestick-8d_1xO8X.js +0 -1826
  182. package/dist/vue-ui-carousel-table-BfZNcwmY.js +0 -455
  183. package/dist/vue-ui-circle-pack-BLh8HnGK.js +0 -1608
  184. package/dist/vue-ui-donut-evolution-D1k4u6cA.js +0 -1510
  185. package/dist/vue-ui-dumbbell-DgmvPpK2.js +0 -1530
  186. package/dist/vue-ui-funnel-BYCFV5TD.js +0 -777
  187. package/dist/vue-ui-history-plot-B7zuCfdg.js +0 -1715
  188. package/dist/vue-ui-horizontal-bar-CwB4sc6M.js +0 -1683
  189. package/dist/vue-ui-molecule-BDrRmwmm.js +0 -925
  190. package/dist/vue-ui-nested-donuts-wfesrzle.js +0 -1487
  191. package/dist/vue-ui-onion-B8-psLbF.js +0 -1200
  192. package/dist/vue-ui-quadrant-BzyGOJR2.js +0 -1978
  193. package/dist/vue-ui-rating-CKWHDKOT.js +0 -343
  194. package/dist/vue-ui-relation-circle-Bd_ONHCz.js +0 -924
  195. package/dist/vue-ui-ridgeline-DVbYznRz.js +0 -1622
  196. package/dist/vue-ui-rings-c-yLWFHr.js +0 -1246
  197. package/dist/vue-ui-scatter-QhmE7n1H.js +0 -2413
  198. package/dist/vue-ui-sparkstackbar-DrKgBUmt.js +0 -662
  199. package/dist/vue-ui-stackbar-DDvuDGQ_.js +0 -2329
  200. package/dist/vue-ui-stackline-C0NHBUaE.js +0 -2416
  201. package/dist/vue-ui-strip-plot-_6LL45i9.js +0 -1729
  202. package/dist/vue-ui-waffle-afa8HSxz.js +0 -1362
  203. package/dist/vue-ui-world-CqS-HhZl.js +0 -14264
@@ -1,8 +1,8 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { At as t, Dt as n, Ht as r, Q as i, S as a, W as o, X as ee, b as te, f as ne, i as re, lt as ie, q as ae, w as oe } from "./lib-DRBJCmHW.js";
2
+ import { $ as t, G as n, J as r, Mt as i, S as a, T as o, Wt as ee, Z as te, b as ne, dt as re, f as ie, i as ae, kt as oe } from "./lib-JqW18y5I.js";
3
3
  import { t as se } from "./useConfig-DYM3f6EI.js";
4
- import { t as ce } from "./usePrinter-CRp5IW3v.js";
5
- import { t as s } from "./useNestedProp-BEo2N1Db.js";
4
+ import { t as ce } from "./usePrinter-CqqHmnBI.js";
5
+ import { t as s } from "./useNestedProp-DIuuzG1r.js";
6
6
  import { t as le } from "./useThemeCheck-C43Tcqmk.js";
7
7
  import { t as ue } from "./_plugin-vue_export-helper-B3ysoDQm.js";
8
8
  import { t as de } from "./useUserOptionState-DK-_1ddE.js";
@@ -50,114 +50,114 @@ var we = /* @__PURE__ */ e({ default: () => T }), Te = ["id"], Ee = { style: {
50
50
  emits: ["copyAlt"],
51
51
  setup(e, { expose: ue, emit: we }) {
52
52
  be((e) => ({ v43308e63: e.tdo }));
53
- let T = m(() => import("./vue-ui-sparkline-Bi06lHQd.js").then((e) => e.n)), E = m(() => import("./BaseIcon-DcUvOfxf.js").then((e) => e.n)), Re = m(() => import("./UserOptions-BO4VFL8O.js").then((e) => e.n)), { vue_ui_table_sparkline: ze } = se(), { isThemeValid: Be, warnInvalidTheme: Ve } = le(), D = e, He = we, O = y(o()), Ue = y(0), k = y(0), We = y(null), Ge = xe(), Ke = y(!1);
53
+ let T = m(() => import("./vue-ui-sparkline-DlTfNQj8.js").then((e) => e.n)), E = m(() => import("./BaseIcon-C2qlyHc7.js").then((e) => e.n)), Re = m(() => import("./UserOptions-16uF1ayB.js").then((e) => e.n)), { vue_ui_table_sparkline: ze } = se(), { isThemeValid: Be, warnInvalidTheme: Ve } = le(), D = e, He = we, O = y(n()), Ue = y(0), k = y(0), A = y(null), We = xe(), Ge = y(!1);
54
54
  ve(() => {
55
- Ge["chart-background"] && console.warn("VueUiTableSparkline does not support the #chart-background slot.");
55
+ We["chart-background"] && console.warn("VueUiTableSparkline does not support the #chart-background slot.");
56
56
  });
57
- let A = l({
58
- get: () => Ye(),
57
+ let j = l({
58
+ get: () => Je(),
59
59
  set: (e) => e
60
- }), j = l(() => A.value.userOptions.useCursorPointer), { userOptionsVisible: M, setUserOptionsVisibility: qe, keepUserOptionState: Je } = de({ config: A.value });
61
- function Ye() {
60
+ }), M = l(() => j.value.userOptions.useCursorPointer), { userOptionsVisible: N, setUserOptionsVisibility: Ke, keepUserOptionState: qe } = de({ config: j.value });
61
+ function Je() {
62
62
  let e = s({
63
63
  userConfig: D.config,
64
64
  defaultConfig: ze
65
- }), n = e.theme;
66
- if (!n) return e;
65
+ }), t = e.theme;
66
+ if (!t) return e;
67
67
  if (!Be.value(e)) return Ve(e), e;
68
- let i = s({
69
- userConfig: pe[n] || D.config,
68
+ let n = s({
69
+ userConfig: pe[t] || D.config,
70
70
  defaultConfig: e
71
- }), a = s({
71
+ }), r = s({
72
72
  userConfig: D.config,
73
- defaultConfig: i
73
+ defaultConfig: n
74
74
  });
75
75
  return {
76
- ...a,
77
- customPalette: a.customPalette.length ? a.customPalette : r[n] || t
76
+ ...r,
77
+ customPalette: r.customPalette.length ? r.customPalette : ee[t] || i
78
78
  };
79
79
  }
80
80
  Se(() => D.config, (e) => {
81
- A.value = Ye(), M.value = !A.value.userOptions.showOnChartHover, nt(), k.value += 1;
81
+ j.value = Je(), N.value = !j.value.userOptions.showOnChartHover, tt(), k.value += 1;
82
82
  }, { deep: !0 }), Se(() => D.dataset, (e) => {
83
83
  H.value = V.value, k.value += 1;
84
84
  }, { deep: !0 });
85
- let { isPrinting: Xe, isImaging: Ze, generatePdf: Qe, generateImage: $e } = ce({
85
+ let { isPrinting: Ye, isImaging: Xe, generatePdf: Ze, generateImage: Qe } = ce({
86
86
  elementId: `table_${O.value}`,
87
- fileName: A.value.title.text || "vue-ui-table-sparkline",
88
- options: A.value.userOptions.print
89
- }), et = l(() => a(A.value.customPalette)), N = y(null), P = y(!1), tt = l(() => A.value.responsiveBreakpoint);
87
+ fileName: j.value.title.text || "vue-ui-table-sparkline",
88
+ options: j.value.userOptions.print
89
+ }), $e = l(() => a(j.value.customPalette)), P = y(null), F = y(!1), et = l(() => j.value.responsiveBreakpoint);
90
90
  ve(() => {
91
- nt();
91
+ tt();
92
92
  });
93
- let F = y(A.value.colNames), I = ye(null);
94
- function nt() {
95
- n(D.dataset) && i({
93
+ let I = y(j.value.colNames), L = ye(null);
94
+ function tt() {
95
+ oe(D.dataset) && t({
96
96
  componentName: "VueUiTableSparkline",
97
97
  type: "dataset"
98
- }), I.value && I.value.disconnect(), I.value = new ResizeObserver((e) => {
98
+ }), L.value && L.value.disconnect(), L.value = new ResizeObserver((e) => {
99
99
  e.forEach((e) => {
100
- P.value = e.contentRect.width < tt.value;
100
+ F.value = e.contentRect.width < et.value;
101
101
  });
102
- }), N.value && I.value.observe(N.value), F.value = [];
103
- for (let e = 0; e < ct.value; e += 1) F.value.push(A.value.colNames[e] || `col ${e}`);
102
+ }), P.value && L.value.observe(P.value), I.value = [];
103
+ for (let e = 0; e < ct.value; e += 1) I.value.push(j.value.colNames[e] || `col ${e}`);
104
104
  }
105
105
  _e(() => {
106
- I.value && I.value.disconnect();
106
+ L.value && L.value.disconnect();
107
107
  });
108
- function L(e) {
108
+ function R(e) {
109
109
  if ([null, void 0].includes(e)) return null;
110
110
  let t = Number(e);
111
111
  return Number.isFinite(t) ? t : null;
112
112
  }
113
- function rt(e) {
113
+ function nt(e) {
114
114
  return typeof e == "number" && Number.isFinite(e);
115
115
  }
116
- function it(e = []) {
117
- return e.map(L).filter(rt);
116
+ function rt(e = []) {
117
+ return e.map(R).filter(nt);
118
118
  }
119
- function R(e, t, n) {
120
- let r = L(e), i = L(t), a = rt(r), o = rt(i);
119
+ function it(e, t, n) {
120
+ let r = R(e), i = R(t), a = nt(r), o = nt(i);
121
121
  return a && o ? n === -1 ? r - i : i - r : a ? -1 : +!!o;
122
122
  }
123
123
  function z(e, t, n = {}) {
124
- let r = L(e);
125
- return r === null ? "-" : re(A.value.formatter, r, ae({
126
- p: A.value.prefix,
127
- v: r,
128
- s: A.value.suffix,
124
+ let i = R(e);
125
+ return i === null ? "-" : ae(j.value.formatter, i, r({
126
+ p: j.value.prefix,
127
+ v: i,
128
+ s: j.value.suffix,
129
129
  r: t
130
130
  }), n);
131
131
  }
132
- let B = l(() => (D.dataset.forEach((e, t) => {
133
- ie({
132
+ let B = l(() => (D.dataset.forEach((e, n) => {
133
+ re({
134
134
  datasetObject: e,
135
135
  requiredAttributes: ["name", "values"]
136
136
  }).forEach((e) => {
137
- i({
137
+ t({
138
138
  componentName: "VueUiTableSparkline",
139
139
  type: "datasetSerieAttribute",
140
140
  property: e,
141
- index: t
141
+ index: n
142
142
  });
143
143
  });
144
- }), D.dataset.map((e, n) => {
145
- let r = e.values || [], i = it(r), a = i.length ? i.reduce((e, t) => e + t, 0) : null, o = i.length ? a / i.length : null, ee = i.length ? ne(i) : null;
144
+ }), D.dataset.map((e, t) => {
145
+ let n = e.values || [], r = rt(n), a = r.length ? r.reduce((e, t) => e + t, 0) : null, o = r.length ? a / r.length : null, ee = r.length ? ie(r) : null;
146
146
  return {
147
147
  ...e,
148
- values: r,
149
- color: te(e.color) || et.value[n] || t[n] || t[n % t.length],
148
+ values: n,
149
+ color: ne(e.color) || $e.value[t] || i[t] || i[t % i.length],
150
150
  sum: a,
151
151
  average: o,
152
152
  median: ee,
153
- sparklineDataset: r.map((e, t) => ({
154
- period: A.value.colNames[t] || `col ${t}`,
155
- value: L(e)
153
+ sparklineDataset: n.map((e, t) => ({
154
+ period: j.value.colNames[t] || `col ${t}`,
155
+ value: R(e)
156
156
  }))
157
157
  };
158
158
  })));
159
159
  function at(e) {
160
- let t = (e[0]?.values || []).map((t, n) => e.map((e) => e?.values?.[n] ?? null)).map((e) => e.map((e, t) => [e, t]).sort((e, t) => R(e[0], t[0], 1)).map((e) => e[1]));
160
+ let t = (e[0]?.values || []).map((t, n) => e.map((e) => e?.values?.[n] ?? null)).map((e) => e.map((e, t) => [e, t]).sort((e, t) => it(e[0], t[0], 1)).map((e) => e[1]));
161
161
  return e.map((e, n) => ({
162
162
  ...e,
163
163
  values: e.values || [],
@@ -190,10 +190,10 @@ var we = /* @__PURE__ */ e({ default: () => T }), Te = ["id"], Ee = { style: {
190
190
  }
191
191
  W.value = !0, G.value = t;
192
192
  let r = V.value.map((e) => e.values?.[t] ?? null), i = n;
193
- $.value[t].state = i, st.value = i, t === U.value ? U.value = void 0 : U.value = t, H.value = r.map((e, t) => [t, e]).sort((e, t) => R(e[1], t[1], i)).map((e) => e[0]).map((e) => V.value[e]), k.value += 1;
193
+ $.value[t].state = i, st.value = i, t === U.value ? U.value = void 0 : U.value = t, H.value = r.map((e, t) => [t, e]).sort((e, t) => it(e[1], t[1], i)).map((e) => e[0]).map((e) => V.value[e]), k.value += 1;
194
194
  }
195
195
  let ct = l(() => Math.max(...D.dataset.map((e) => (e.values || []).length))), J = l(() => {
196
- let e = F.value.map((e) => ({
196
+ let e = I.value.map((e) => ({
197
197
  type: "reg",
198
198
  value: e
199
199
  }));
@@ -201,30 +201,30 @@ var we = /* @__PURE__ */ e({ default: () => T }), Te = ["id"], Ee = { style: {
201
201
  type: "reg",
202
202
  value: `col ${t + 1}`
203
203
  });
204
- A.value.showTotal && (e = [...e, {
204
+ j.value.showTotal && (e = [...e, {
205
205
  type: "sum",
206
- value: A.value.translations.total
206
+ value: j.value.translations.total
207
207
  }]);
208
208
  let t;
209
- return t = A.value.showAverage && A.value.showMedian ? [
209
+ return t = j.value.showAverage && j.value.showMedian ? [
210
210
  ...e,
211
211
  {
212
212
  type: "average",
213
- value: A.value.translations.average
213
+ value: j.value.translations.average
214
214
  },
215
215
  {
216
216
  type: "median",
217
- value: A.value.translations.median
217
+ value: j.value.translations.median
218
218
  }
219
- ] : A.value.showAverage && !A.value.showMedian ? [...e, {
219
+ ] : j.value.showAverage && !j.value.showMedian ? [...e, {
220
220
  type: "average",
221
- value: A.value.translations.average
222
- }] : !A.value.showAverage && A.value.showMedian ? [...e, {
221
+ value: j.value.translations.average
222
+ }] : !j.value.showAverage && j.value.showMedian ? [...e, {
223
223
  type: "median",
224
- value: A.value.translations.median
225
- }] : e, A.value.showSparklines ? [...t, {
224
+ value: j.value.translations.median
225
+ }] : e, j.value.showSparklines ? [...t, {
226
226
  type: "chart",
227
- value: A.value.translations.chart
227
+ value: j.value.translations.chart
228
228
  }] : t;
229
229
  }), Y = y({
230
230
  name: 1,
@@ -242,12 +242,12 @@ var we = /* @__PURE__ */ e({ default: () => T }), Te = ["id"], Ee = { style: {
242
242
  let r = Y.value[e];
243
243
  H.value = [...H.value].sort((t, n) => {
244
244
  let i = t[e], a = n[e];
245
- return typeof i == "string" && typeof a == "string" ? r === -1 ? i.localeCompare(a) : a.localeCompare(i) : R(i, a, r);
245
+ return typeof i == "string" && typeof a == "string" ? r === -1 ? i.localeCompare(a) : a.localeCompare(i) : it(i, a, r);
246
246
  });
247
247
  }
248
248
  let Z = y(void 0), Q = y(void 0);
249
249
  function ut({ dataIndex: e, serieIndex: t }) {
250
- Z.value = e, Q.value = t, We.value[e] && !P.value && We.value[e].scrollIntoView({
250
+ Z.value = e, Q.value = t, A.value[e] && !F.value && A.value[e].scrollIntoView({
251
251
  behavior: "smooth",
252
252
  block: "nearest",
253
253
  inline: "center"
@@ -259,24 +259,24 @@ var we = /* @__PURE__ */ e({ default: () => T }), Te = ["id"], Ee = { style: {
259
259
  }
260
260
  function pt(e = null) {
261
261
  ge(() => {
262
- let t = [A.value.translations.serie].concat(J.value), n = B.value.map((e, t) => [
262
+ let t = [j.value.translations.serie].concat(J.value), n = B.value.map((e, t) => [
263
263
  [e.name],
264
264
  e.values,
265
265
  [e.sum],
266
266
  [e.average],
267
267
  [e.median]
268
- ]), r = oe([t].concat(n));
269
- e ? e(r) : ee({
268
+ ]), r = o([t].concat(n));
269
+ e ? e(r) : te({
270
270
  csvContent: r,
271
- title: A.value.title.text || "vue-ui-table-sparkline"
271
+ title: j.value.title.text || "vue-ui-table-sparkline"
272
272
  });
273
273
  });
274
274
  }
275
275
  function mt(e) {
276
- return A.value.sortedDataColumnIndices.includes(e);
276
+ return j.value.sortedDataColumnIndices.includes(e);
277
277
  }
278
278
  function ht(e) {
279
- return e.type === "name" || e === "name" ? A.value.sortedSeriesName : e.type === "sum" || e === "sum" ? A.value.sortedSum : e.type === "average" || e === "average" ? A.value.sortedAverage : e.type === "median" || e === "median" ? A.value.sortedMedian : !1;
279
+ return e.type === "name" || e === "name" ? j.value.sortedSeriesName : e.type === "sum" || e === "sum" ? j.value.sortedSum : e.type === "average" || e === "average" ? j.value.sortedAverage : e.type === "median" || e === "median" ? j.value.sortedMedian : !1;
280
280
  }
281
281
  function gt(e, t, n) {
282
282
  return [
@@ -286,7 +286,7 @@ var we = /* @__PURE__ */ e({ default: () => T }), Te = ["id"], Ee = { style: {
286
286
  ].includes(t.type) ? X.value === t.type && Y.value[t.type] === n ? 1 : .3 : e === G.value && $.value[e].state === n ? 1 : .3;
287
287
  }
288
288
  function _t() {
289
- A.value.resetSortOnClickOutside && K();
289
+ j.value.resetSortOnClickOutside && K();
290
290
  }
291
291
  let $ = l({
292
292
  get: () => J.value.map((e) => ({ state: 1 })),
@@ -294,69 +294,69 @@ var we = /* @__PURE__ */ e({ default: () => T }), Te = ["id"], Ee = { style: {
294
294
  });
295
295
  function vt(e) {
296
296
  if (e?.stage === "start") {
297
- Ke.value = !0;
297
+ Ge.value = !0;
298
298
  return;
299
299
  }
300
300
  if (e?.stage === "end") {
301
- Ke.value = !1;
301
+ Ge.value = !1;
302
302
  return;
303
303
  }
304
- $e();
304
+ Qe();
305
305
  }
306
306
  async function yt() {
307
307
  if (He("copyAlt", {
308
- config: A.value,
308
+ config: j.value,
309
309
  dataset: B.value
310
- }), !A.value.userOptions.callbacks.altCopy) {
310
+ }), !j.value.userOptions.callbacks.altCopy) {
311
311
  console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
312
312
  return;
313
313
  }
314
- await Promise.resolve(A.value.userOptions.callbacks.altCopy({
315
- config: A.value,
314
+ await Promise.resolve(j.value.userOptions.callbacks.altCopy({
315
+ config: j.value,
316
316
  dataset: B.value
317
317
  }));
318
318
  }
319
319
  return ue({
320
- generatePdf: Qe,
321
- generateImage: $e,
320
+ generatePdf: Ze,
321
+ generateImage: Qe,
322
322
  generateCsv: pt,
323
323
  restoreOrder: K,
324
324
  copyAlt: yt
325
325
  }), (e, t) => (v(), d("div", {
326
326
  ref_key: "tableContainer",
327
- ref: N,
327
+ ref: P,
328
328
  class: g({
329
329
  "vue-data-ui-component": !0,
330
330
  "vue-ui-table-sparkline": !0,
331
- "vue-ui-responsive": P.value
331
+ "vue-ui-responsive": F.value
332
332
  }),
333
333
  style: { overflow: "hidden" },
334
334
  id: `table_${O.value}`,
335
- onMouseenter: t[3] ||= () => C(qe)(!0),
336
- onMouseleave: t[4] ||= () => C(qe)(!1)
335
+ onMouseenter: t[3] ||= () => C(Ke)(!0),
336
+ onMouseleave: t[4] ||= () => C(Ke)(!1)
337
337
  }, [
338
- A.value.title.text ? (v(), d("div", {
338
+ j.value.title.text ? (v(), d("div", {
339
339
  key: 0,
340
340
  class: "vue-ui-table-sparkline-caption",
341
- style: _({ backgroundColor: A.value.title.backgroundColor })
341
+ style: _({ backgroundColor: j.value.title.backgroundColor })
342
342
  }, [f("div", {
343
343
  class: "atom-title",
344
344
  style: _({
345
- fontSize: `${A.value.title.fontSize}px`,
346
- fontWeight: A.value.title.bold ? "bold" : "normal",
347
- color: A.value.title.color,
348
- textAlign: A.value.title.textAlign
345
+ fontSize: `${j.value.title.fontSize}px`,
346
+ fontWeight: j.value.title.bold ? "bold" : "normal",
347
+ color: j.value.title.color,
348
+ textAlign: j.value.title.textAlign
349
349
  })
350
- }, S(A.value.title.text), 5), A.value.title.subtitle.text ? (v(), d("div", {
350
+ }, S(j.value.title.text), 5), j.value.title.subtitle.text ? (v(), d("div", {
351
351
  key: 0,
352
352
  class: "atom-subtitle",
353
353
  style: _({
354
- fontSize: `${A.value.title.subtitle.fontSize}px`,
355
- fontWeight: A.value.title.subtitle.bold ? "bold" : "normal",
356
- color: A.value.title.subtitle.color,
357
- textAlign: A.value.title.textAlign
354
+ fontSize: `${j.value.title.subtitle.fontSize}px`,
355
+ fontWeight: j.value.title.subtitle.bold ? "bold" : "normal",
356
+ color: j.value.title.subtitle.color,
357
+ textAlign: j.value.title.textAlign
358
358
  })
359
- }, S(A.value.title.subtitle.text), 5)) : u("", !0)], 4)) : u("", !0),
359
+ }, S(j.value.title.subtitle.text), 5)) : u("", !0)], 4)) : u("", !0),
360
360
  f("div", {
361
361
  style: { overflow: "auto" },
362
362
  onPointerleave: t[2] ||= (e) => {
@@ -365,23 +365,23 @@ var we = /* @__PURE__ */ e({ default: () => T }), Te = ["id"], Ee = { style: {
365
365
  }, [f("table", {
366
366
  class: "vue-ui-data-table",
367
367
  style: _({
368
- fontFamily: A.value.fontFamily,
368
+ fontFamily: j.value.fontFamily,
369
369
  position: "relative"
370
370
  })
371
371
  }, [f("thead", Ee, [Ce((v(), d("tr", {
372
372
  role: "row",
373
373
  class: "vue-ui-data-table__thead-row",
374
374
  style: _({
375
- backgroundColor: A.value.thead.backgroundColor,
376
- color: A.value.thead.color
375
+ backgroundColor: j.value.thead.backgroundColor,
376
+ color: j.value.thead.color
377
377
  })
378
378
  }, [f("th", {
379
379
  role: "cell",
380
380
  style: _({
381
- backgroundColor: A.value.thead.backgroundColor,
382
- border: A.value.thead.outline,
383
- textAlign: A.value.thead.textAlign,
384
- fontWeight: A.value.thead.bold ? "bold" : "normal"
381
+ backgroundColor: j.value.thead.backgroundColor,
382
+ border: j.value.thead.outline,
383
+ textAlign: j.value.thead.textAlign,
384
+ fontWeight: j.value.thead.bold ? "bold" : "normal"
385
385
  }),
386
386
  class: "sticky-col-first"
387
387
  }, [f("div", { style: _({
@@ -389,87 +389,87 @@ var we = /* @__PURE__ */ e({ default: () => T }), Te = ["id"], Ee = { style: {
389
389
  flexDirection: "row",
390
390
  alignItems: "center",
391
391
  gap: "3px",
392
- justifyContent: A.value.thead.textAlign
393
- }) }, [f("span", null, S(A.value.translations.serie), 1), H.value.length > 1 && A.value.sortedSeriesName ? (v(), d("div", De, [f("button", {
392
+ justifyContent: j.value.thead.textAlign
393
+ }) }, [f("span", null, S(j.value.translations.serie), 1), H.value.length > 1 && j.value.sortedSeriesName ? (v(), d("div", De, [f("button", {
394
394
  class: "vue-ui-table-sparkline-sorting-button vue-ui-table-sparkline-sorting-button-down",
395
395
  onClick: t[0] ||= (e) => q({ type: "name" }, null, -1),
396
- style: _({ cursor: j.value ? "pointer" : "default" })
396
+ style: _({ cursor: M.value ? "pointer" : "default" })
397
397
  }, [p(C(E), {
398
398
  size: 12,
399
399
  name: "arrowBottom",
400
- stroke: A.value.thead.color,
400
+ stroke: j.value.thead.color,
401
401
  style: _({ opacity: X.value === "name" && Y.value.name === -1 ? 1 : .3 })
402
402
  }, null, 8, ["stroke", "style"])], 4), f("button", {
403
403
  class: "vue-ui-table-sparkline-sorting-button vue-ui-table-sparkline-sorting-button-up",
404
404
  onClick: t[1] ||= (e) => q({ type: "name" }, null, 1),
405
- style: _({ cursor: j.value ? "pointer" : "default" })
405
+ style: _({ cursor: M.value ? "pointer" : "default" })
406
406
  }, [p(C(E), {
407
407
  size: 12,
408
408
  name: "arrowTop",
409
- stroke: A.value.thead.color,
409
+ stroke: j.value.thead.color,
410
410
  style: _({ opacity: X.value === "name" && Y.value.name === 1 ? 1 : .3 })
411
411
  }, null, 8, ["stroke", "style"])], 4)])) : u("", !0)], 4)], 4), (v(!0), d(c, null, b(J.value, (t, n) => (v(), d("th", {
412
412
  role: "cell",
413
413
  style: _({
414
- background: A.value.thead.backgroundColor,
415
- border: A.value.thead.outline,
416
- textAlign: A.value.thead.textAlign,
417
- fontWeight: A.value.thead.bold ? "bold" : "normal",
418
- minWidth: n === J.value.length - 1 ? `${A.value.sparkline.dimensions.width}px` : "48px",
419
- paddingRight: n === J.value.length - 1 && A.value.userOptions.show ? "36px" : ""
414
+ background: j.value.thead.backgroundColor,
415
+ border: j.value.thead.outline,
416
+ textAlign: j.value.thead.textAlign,
417
+ fontWeight: j.value.thead.bold ? "bold" : "normal",
418
+ minWidth: n === J.value.length - 1 ? `${j.value.sparkline.dimensions.width}px` : "48px",
419
+ paddingRight: n === J.value.length - 1 && j.value.userOptions.show ? "36px" : ""
420
420
  }),
421
- class: g({ "sticky-col": n === J.value.length - 1 && A.value.showSparklines })
421
+ class: g({ "sticky-col": n === J.value.length - 1 && j.value.showSparklines })
422
422
  }, [f("div", { style: _({
423
423
  display: "flex",
424
424
  flexDirection: "row",
425
425
  alignItems: "center",
426
426
  gap: "3px",
427
- justifyContent: A.value.thead.textAlign
427
+ justifyContent: j.value.thead.textAlign
428
428
  }) }, [f("span", null, S(t.value), 1), H.value.length > 1 && (mt(n) || ht(t)) ? (v(), d("div", Oe, [f("button", {
429
429
  class: "vue-ui-table-sparkline-sorting-button vue-ui-table-sparkline-sorting-button-down",
430
430
  onClick: () => q(t, n, -1),
431
- style: _({ cursor: j.value ? "pointer" : "default" })
431
+ style: _({ cursor: M.value ? "pointer" : "default" })
432
432
  }, [p(C(E), {
433
433
  size: 12,
434
434
  name: "arrowBottom",
435
- stroke: A.value.thead.color,
435
+ stroke: j.value.thead.color,
436
436
  style: _({ opacity: gt(n, t, -1) })
437
437
  }, null, 8, ["stroke", "style"])], 12, ke), f("button", {
438
438
  class: "vue-ui-table-sparkline-sorting-button vue-ui-table-sparkline-sorting-button-up",
439
439
  onClick: () => q(t, n, 1),
440
- style: _({ cursor: j.value ? "pointer" : "default" })
440
+ style: _({ cursor: M.value ? "pointer" : "default" })
441
441
  }, [p(C(E), {
442
442
  size: 12,
443
443
  name: "arrowTop",
444
- stroke: A.value.thead.color,
444
+ stroke: j.value.thead.color,
445
445
  style: _({ opacity: gt(n, t, 1) })
446
- }, null, 8, ["stroke", "style"])], 12, Ae)])) : u("", !0)], 4), A.value.userOptions.show && n === J.value.length - 1 && (C(Je) || C(M)) ? (v(), me(C(Re), {
446
+ }, null, 8, ["stroke", "style"])], 12, Ae)])) : u("", !0)], 4), j.value.userOptions.show && n === J.value.length - 1 && (C(qe) || C(N)) ? (v(), me(C(Re), {
447
447
  ref_for: !0,
448
448
  ref: "details",
449
449
  key: `user_option_${Ue.value}`,
450
- backgroundColor: A.value.thead.backgroundColor,
451
- color: A.value.thead.color,
452
- isPrinting: C(Xe),
453
- isImaging: C(Ze),
450
+ backgroundColor: j.value.thead.backgroundColor,
451
+ color: j.value.thead.color,
452
+ isPrinting: C(Ye),
453
+ isImaging: C(Xe),
454
454
  uid: O.value,
455
- hasPdf: A.value.userOptions.buttons.pdf,
456
- hasXls: A.value.userOptions.buttons.csv,
457
- hasImg: A.value.userOptions.buttons.img,
458
- hasFullscreen: A.value.userOptions.buttons.fullscreen,
459
- hasAltCopy: A.value.userOptions.buttons.altCopy,
455
+ hasPdf: j.value.userOptions.buttons.pdf,
456
+ hasXls: j.value.userOptions.buttons.csv,
457
+ hasImg: j.value.userOptions.buttons.img,
458
+ hasFullscreen: j.value.userOptions.buttons.fullscreen,
459
+ hasAltCopy: j.value.userOptions.buttons.altCopy,
460
460
  isFullscreen: dt.value,
461
- titles: { ...A.value.userOptions.buttonTitles },
462
- chartElement: N.value,
463
- position: A.value.userOptions.position,
464
- callbacks: A.value.userOptions.callbacks,
465
- printScale: A.value.userOptions.print.scale,
466
- isCursorPointer: j.value,
461
+ titles: { ...j.value.userOptions.buttonTitles },
462
+ chartElement: P.value,
463
+ position: j.value.userOptions.position,
464
+ callbacks: j.value.userOptions.callbacks,
465
+ printScale: j.value.userOptions.print.scale,
466
+ isCursorPointer: M.value,
467
467
  onToggleFullscreen: ft,
468
- onGeneratePdf: C(Qe),
468
+ onGeneratePdf: C(Ze),
469
469
  onGenerateImage: vt,
470
470
  onGenerateCsv: pt,
471
471
  onCopyAlt: yt,
472
- style: _({ visibility: C(Je) ? C(M) ? "visible" : "hidden" : "visible" })
472
+ style: _({ visibility: C(qe) ? C(N) ? "visible" : "hidden" : "visible" })
473
473
  }, he({ _: 2 }, [
474
474
  e.$slots.menuIcon ? {
475
475
  name: "menuIcon",
@@ -540,8 +540,8 @@ var we = /* @__PURE__ */ e({ default: () => T }), Te = ["id"], Ee = { style: {
540
540
  ])) : u("", !0)], 6))), 256))], 4)), [[C(fe), _t]])]), f("tbody", null, [(v(!0), d(c, null, b(H.value, (e, t) => (v(), d("tr", {
541
541
  role: "row",
542
542
  style: _({
543
- backgroundColor: A.value.tbody.backgroundColor,
544
- color: A.value.tbody.color
543
+ backgroundColor: j.value.tbody.backgroundColor,
544
+ color: j.value.tbody.color
545
545
  }),
546
546
  class: g({
547
547
  "vue-ui-data-table__tbody__row": !0,
@@ -552,13 +552,13 @@ var we = /* @__PURE__ */ e({ default: () => T }), Te = ["id"], Ee = { style: {
552
552
  f("td", {
553
553
  role: "cell",
554
554
  style: _({
555
- backgroundColor: A.value.tbody.backgroundColor,
556
- border: A.value.tbody.outline,
557
- fontSize: `${A.value.tbody.fontSize}px`,
558
- fontWeight: A.value.tbody.bold ? "bold" : "normal",
559
- textAlign: A.value.tbody.textAlign
555
+ backgroundColor: j.value.tbody.backgroundColor,
556
+ border: j.value.tbody.outline,
557
+ fontSize: `${j.value.tbody.fontSize}px`,
558
+ fontWeight: j.value.tbody.bold ? "bold" : "normal",
559
+ textAlign: j.value.tbody.textAlign
560
560
  }),
561
- "data-cell": A.value.translations.serie,
561
+ "data-cell": j.value.translations.serie,
562
562
  class: "vue-ui-data-table__tbody__td sticky-col-first"
563
563
  }, [f("div", {
564
564
  dir: "auto",
@@ -567,9 +567,9 @@ var we = /* @__PURE__ */ e({ default: () => T }), Te = ["id"], Ee = { style: {
567
567
  flexDirection: "row",
568
568
  alignItems: "center",
569
569
  gap: "6px",
570
- justifyContent: A.value.tbody.textAlign
570
+ justifyContent: j.value.tbody.textAlign
571
571
  })
572
- }, [A.value.tbody.showColorMarker ? (v(), d("span", {
572
+ }, [j.value.tbody.showColorMarker ? (v(), d("span", {
573
573
  key: 0,
574
574
  style: _({ color: e.color })
575
575
  }, "⬤", 4)) : u("", !0), f("span", null, S(e.name ?? "-"), 1)], 4)], 12, je),
@@ -578,82 +578,82 @@ var we = /* @__PURE__ */ e({ default: () => T }), Te = ["id"], Ee = { style: {
578
578
  role: "cell",
579
579
  ref_for: !0,
580
580
  ref_key: "TD",
581
- ref: We,
581
+ ref: A,
582
582
  style: _({
583
- border: A.value.tbody.outline,
584
- fontSize: `${A.value.tbody.fontSize}px`,
585
- fontWeight: A.value.tbody.bold ? "bold" : "normal",
586
- textAlign: A.value.tbody.textAlign,
587
- background: Z.value !== void 0 && r === Z.value ? A.value.tbody.selectedColor.useSerieColor ? `${e.color.length > 7 ? e.color.slice(0, -2) : e.color}33` : A.value.tbody.selectedColor.fallback : ""
583
+ border: j.value.tbody.outline,
584
+ fontSize: `${j.value.tbody.fontSize}px`,
585
+ fontWeight: j.value.tbody.bold ? "bold" : "normal",
586
+ textAlign: j.value.tbody.textAlign,
587
+ background: Z.value !== void 0 && r === Z.value ? j.value.tbody.selectedColor.useSerieColor ? `${e.color.length > 7 ? e.color.slice(0, -2) : e.color}33` : j.value.tbody.selectedColor.fallback : ""
588
588
  }),
589
589
  "data-cell": J.value[r] ? J.value[r].value : "",
590
590
  class: "vue-ui-data-table__tbody__td",
591
591
  onPointerenter: (e) => {
592
592
  Q.value = t, Z.value = r;
593
593
  }
594
- }, S(z(e.values[r], A.value.roundingValues, {
594
+ }, S(z(e.values[r], j.value.roundingValues, {
595
595
  datapoint: e,
596
596
  seriesIndex: t,
597
597
  datapointIndex: r
598
598
  })), 45, Me))), 256)),
599
- A.value.showTotal ? (v(), d("td", {
599
+ j.value.showTotal ? (v(), d("td", {
600
600
  key: 0,
601
601
  dir: "auto",
602
602
  role: "cell",
603
603
  style: _({
604
- border: A.value.tbody.outline,
605
- fontSize: `${A.value.tbody.fontSize}px`,
606
- fontWeight: A.value.tbody.bold ? "bold" : "normal",
607
- textAlign: A.value.tbody.textAlign
604
+ border: j.value.tbody.outline,
605
+ fontSize: `${j.value.tbody.fontSize}px`,
606
+ fontWeight: j.value.tbody.bold ? "bold" : "normal",
607
+ textAlign: j.value.tbody.textAlign
608
608
  }),
609
- "data-cell": A.value.translations.total,
609
+ "data-cell": j.value.translations.total,
610
610
  class: "vue-ui-data-table__tbody__td"
611
- }, S(z(e.sum, A.value.roundingTotal, {
611
+ }, S(z(e.sum, j.value.roundingTotal, {
612
612
  datapoint: e.sum,
613
613
  seriesIndex: t
614
614
  })), 13, Ne)) : u("", !0),
615
- A.value.showAverage ? (v(), d("td", {
615
+ j.value.showAverage ? (v(), d("td", {
616
616
  key: 1,
617
617
  dir: "auto",
618
618
  role: "cell",
619
619
  style: _({
620
- border: A.value.tbody.outline,
621
- fontSize: `${A.value.tbody.fontSize}px`,
622
- fontWeight: A.value.tbody.bold ? "bold" : "normal",
623
- textAlign: A.value.tbody.textAlign
620
+ border: j.value.tbody.outline,
621
+ fontSize: `${j.value.tbody.fontSize}px`,
622
+ fontWeight: j.value.tbody.bold ? "bold" : "normal",
623
+ textAlign: j.value.tbody.textAlign
624
624
  }),
625
- "data-cell": A.value.translations.average,
625
+ "data-cell": j.value.translations.average,
626
626
  class: "vue-ui-data-table__tbody__td"
627
- }, S(z(e.average, A.value.roundingAverage, {
627
+ }, S(z(e.average, j.value.roundingAverage, {
628
628
  datapoint: e.average,
629
629
  seriesIndex: t
630
630
  })), 13, Pe)) : u("", !0),
631
- A.value.showMedian ? (v(), d("td", {
631
+ j.value.showMedian ? (v(), d("td", {
632
632
  key: 2,
633
633
  dir: "auto",
634
634
  role: "cell",
635
635
  style: _({
636
- border: A.value.tbody.outline,
637
- fontSize: `${A.value.tbody.fontSize}px`,
638
- fontWeight: A.value.tbody.bold ? "bold" : "normal",
639
- textAlign: A.value.tbody.textAlign
636
+ border: j.value.tbody.outline,
637
+ fontSize: `${j.value.tbody.fontSize}px`,
638
+ fontWeight: j.value.tbody.bold ? "bold" : "normal",
639
+ textAlign: j.value.tbody.textAlign
640
640
  }),
641
- "data-cell": A.value.translations.median,
641
+ "data-cell": j.value.translations.median,
642
642
  class: "vue-ui-data-table__tbody__td"
643
- }, S(z(e.median, A.value.roundingMedian, {
643
+ }, S(z(e.median, j.value.roundingMedian, {
644
644
  datapoint: e.median,
645
645
  seriesIndex: t
646
646
  })), 13, Fe)) : u("", !0),
647
- A.value.showSparklines ? (v(), d("td", {
647
+ j.value.showSparklines ? (v(), d("td", {
648
648
  key: 3,
649
649
  role: "cell",
650
- "data-cell": A.value.translations.chart,
650
+ "data-cell": j.value.translations.chart,
651
651
  style: _({
652
- border: A.value.tbody.outline,
653
- fontSize: `${A.value.tbody.fontSize}px`,
654
- fontWeight: A.value.tbody.bold ? "bold" : "normal",
655
- textAlign: A.value.tbody.textAlign,
656
- backgroundColor: A.value.tbody.backgroundColor,
652
+ border: j.value.tbody.outline,
653
+ fontSize: `${j.value.tbody.fontSize}px`,
654
+ fontWeight: j.value.tbody.bold ? "bold" : "normal",
655
+ textAlign: j.value.tbody.textAlign,
656
+ backgroundColor: j.value.tbody.backgroundColor,
657
657
  padding: "0"
658
658
  }),
659
659
  class: "vue-ui-data-table__tbody__td sticky-col"
@@ -662,36 +662,36 @@ var we = /* @__PURE__ */ e({ default: () => T }), Te = ["id"], Ee = { style: {
662
662
  dataIndex: e,
663
663
  serieIndex: t
664
664
  }),
665
- "height-ratio": A.value.sparkline.dimensions.heightRatio,
665
+ "height-ratio": j.value.sparkline.dimensions.heightRatio,
666
666
  "forced-padding": 30,
667
667
  dataset: e.sparklineDataset,
668
668
  showInfo: !1,
669
669
  selectedIndex: Z.value,
670
670
  config: {
671
- type: A.value.sparkline.type,
671
+ type: j.value.sparkline.type,
672
672
  style: {
673
673
  backgroundColor: "transparent",
674
674
  animation: {
675
- show: A.value.sparkline.animation.show && !C(Xe) && !C(Ze),
676
- animationFrames: A.value.sparkline.animation.animationFrames
675
+ show: j.value.sparkline.animation.show && !C(Ye) && !C(Xe),
676
+ animationFrames: j.value.sparkline.animation.animationFrames
677
677
  },
678
678
  padding: { right: 12 },
679
679
  line: {
680
680
  color: e.color,
681
- smooth: A.value.sparkline.smooth,
682
- cutNullValues: A.value.sparkline.cutNullValues,
683
- strokeWidth: A.value.sparkline.strokeWidth
681
+ smooth: j.value.sparkline.smooth,
682
+ cutNullValues: j.value.sparkline.cutNullValues,
683
+ strokeWidth: j.value.sparkline.strokeWidth
684
684
  },
685
685
  bar: { color: e.color },
686
686
  area: {
687
687
  color: e.color,
688
- opacity: A.value.sparkline.showArea ? 16 : 0,
689
- useGradient: A.value.sparkline.useGradient
688
+ opacity: j.value.sparkline.showArea ? 16 : 0,
689
+ useGradient: j.value.sparkline.useGradient
690
690
  },
691
691
  verticalIndicator: { color: e.color },
692
692
  plot: {
693
693
  radius: 9,
694
- stroke: A.value.tbody.backgroundColor,
694
+ stroke: j.value.tbody.backgroundColor,
695
695
  strokeWidth: 3
696
696
  }
697
697
  }