vue-data-ui 3.22.13 → 3.23.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (224) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +13 -1
  3. package/dist/{Arrow-DKx74WtM.js → Arrow-o2qHNvrC.js} +1 -1
  4. package/dist/{BaseDraggableDialog-3n8udWmh.js → BaseDraggableDialog-qTnfhLBz.js} +2 -2
  5. package/dist/{BaseIcon-CP5RWnqt.js → BaseIcon-91MZoczJ.js} +4 -3
  6. package/dist/{BaseLegendToggle-DsWphmIb.js → BaseLegendToggle-CtAPwzr2.js} +1 -1
  7. package/dist/{BaseZoomControls-C9_ygNN4.js → BaseZoomControls-rdzlicuz.js} +2 -2
  8. package/dist/{ColorPicker-3N_HVgXs.js → ColorPicker-CIAkdPrj.js} +2 -2
  9. package/dist/{DataTable-DzPEVvSo.js → DataTable-D4tM9s5Y.js} +2 -2
  10. package/dist/HillActions-BWhxHlrj.js +187 -0
  11. package/dist/{Legend-C0xAnJdO.js → Legend-CQTRlzK-.js} +2 -2
  12. package/dist/{NonSvgPenAndPaper-B_mE5UbR.js → NonSvgPenAndPaper-Cawacw1W.js} +19 -19
  13. package/dist/{PackageVersion-B6Hokxw9.js → PackageVersion--QCMh5k_.js} +1 -1
  14. package/dist/{PenAndPaper-CSMVXpg2.js → PenAndPaper-cE4J8-rA.js} +11 -11
  15. package/dist/{Shape-BfnXr1nJ.js → Shape-BPMV94Ij.js} +3 -3
  16. package/dist/{Slicer-C6qNUmZ4.js → Slicer-5yIrdoJv.js} +15 -15
  17. package/dist/SlicerPreview-DvjLV2TW.js +1689 -0
  18. package/dist/{SparkTooltip-uoUiL_P8.js → SparkTooltip-BaYtEKS6.js} +6 -6
  19. package/dist/Title-BODtwViI.js +87 -0
  20. package/dist/{Tooltip-CA1rtSyl.js → Tooltip-CMTGxeYO.js} +1 -1
  21. package/dist/{UserOptions-DzAFK9cY.js → UserOptions-3ujTo3LD.js} +2 -2
  22. package/dist/components/arrow.js +1 -1
  23. package/dist/components/vue-ui-3d-bar.js +1 -1
  24. package/dist/components/vue-ui-accordion.js +1 -1
  25. package/dist/components/vue-ui-age-pyramid.js +1 -1
  26. package/dist/components/vue-ui-annotator.js +1 -1
  27. package/dist/components/vue-ui-bullet.js +1 -1
  28. package/dist/components/vue-ui-bump.js +1 -1
  29. package/dist/components/vue-ui-candlestick.js +1 -1
  30. package/dist/components/vue-ui-carousel-table.js +1 -1
  31. package/dist/components/vue-ui-chestnut.js +1 -1
  32. package/dist/components/vue-ui-chord.js +1 -1
  33. package/dist/components/vue-ui-circle-pack.js +1 -1
  34. package/dist/components/vue-ui-cursor.js +1 -1
  35. package/dist/components/vue-ui-dag.js +1 -1
  36. package/dist/components/vue-ui-dashboard.js +1 -1
  37. package/dist/components/vue-ui-digits.js +1 -1
  38. package/dist/components/vue-ui-donut-evolution.js +1 -1
  39. package/dist/components/vue-ui-donut.js +1 -1
  40. package/dist/components/vue-ui-dumbbell.js +1 -1
  41. package/dist/components/vue-ui-flow.js +1 -1
  42. package/dist/components/vue-ui-funnel.js +1 -1
  43. package/dist/components/vue-ui-galaxy.js +1 -1
  44. package/dist/components/vue-ui-gauge.js +1 -1
  45. package/dist/components/vue-ui-geo.js +1 -1
  46. package/dist/components/vue-ui-gizmo.js +1 -1
  47. package/dist/components/vue-ui-heatmap.js +1 -1
  48. package/dist/components/vue-ui-hill.js +2 -0
  49. package/dist/components/vue-ui-history-plot.js +1 -1
  50. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  51. package/dist/components/vue-ui-icon.js +1 -1
  52. package/dist/components/vue-ui-kpi.js +1 -1
  53. package/dist/components/vue-ui-mini-loader.js +1 -1
  54. package/dist/components/vue-ui-molecule.js +1 -1
  55. package/dist/components/vue-ui-mood-radar.js +1 -1
  56. package/dist/components/vue-ui-nested-donuts.js +1 -1
  57. package/dist/components/vue-ui-onion.js +1 -1
  58. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  59. package/dist/components/vue-ui-quadrant.js +1 -1
  60. package/dist/components/vue-ui-quick-chart.js +1 -1
  61. package/dist/components/vue-ui-radar.js +1 -1
  62. package/dist/components/vue-ui-rating.js +1 -1
  63. package/dist/components/vue-ui-relation-circle.js +1 -1
  64. package/dist/components/vue-ui-ridgeline.js +1 -1
  65. package/dist/components/vue-ui-rings.js +1 -1
  66. package/dist/components/vue-ui-scatter.js +1 -1
  67. package/dist/components/vue-ui-skeleton.js +1 -1
  68. package/dist/components/vue-ui-smiley.js +1 -1
  69. package/dist/components/vue-ui-spark-trend.js +1 -1
  70. package/dist/components/vue-ui-sparkbar.js +1 -1
  71. package/dist/components/vue-ui-sparkgauge.js +1 -1
  72. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  73. package/dist/components/vue-ui-sparkline.js +1 -1
  74. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  75. package/dist/components/vue-ui-stackbar.js +1 -1
  76. package/dist/components/vue-ui-stackline.js +1 -1
  77. package/dist/components/vue-ui-strip-plot.js +1 -1
  78. package/dist/components/vue-ui-table-heatmap.js +1 -1
  79. package/dist/components/vue-ui-table-sparkline.js +1 -1
  80. package/dist/components/vue-ui-table.js +1 -1
  81. package/dist/components/vue-ui-thermometer.js +1 -1
  82. package/dist/components/vue-ui-timer.js +1 -1
  83. package/dist/components/vue-ui-tiremarks.js +1 -1
  84. package/dist/components/vue-ui-treemap.js +1 -1
  85. package/dist/components/vue-ui-vertical-bar.js +1 -1
  86. package/dist/components/vue-ui-waffle.js +1 -1
  87. package/dist/components/vue-ui-wheel.js +1 -1
  88. package/dist/components/vue-ui-word-cloud.js +1 -1
  89. package/dist/components/vue-ui-world.js +1 -1
  90. package/dist/components/vue-ui-xy-canvas.js +1 -1
  91. package/dist/components/vue-ui-xy.js +1 -1
  92. package/dist/{dom-to-png-BdAFKZQg.js → dom-to-png-4tdMNGPX.js} +1 -1
  93. package/dist/exposedLib-DWLRqRhv.js +25 -0
  94. package/dist/{img-Bikk1dGb.js → img-DIQG5q8T.js} +1 -1
  95. package/dist/{labelUtils-BUhssos9.js → labelUtils-C5lnc_xc.js} +1 -1
  96. package/dist/{lib-CFm_J26b.js → lib-BuMGJ_a0.js} +216 -173
  97. package/dist/{package-DmDydylu.js → package-BMc_ZieJ.js} +1 -1
  98. package/dist/{pdf-zmz3l2uy.js → pdf-Cnz4NKM9.js} +1 -1
  99. package/dist/{render-common-BIG8JYGK.js → render-common-Ktg2LZFG.js} +21 -21
  100. package/dist/ssr/vue-ui-donut.js +1 -1
  101. package/dist/ssr/vue-ui-xy.js +1 -1
  102. package/dist/ssr.js +2 -2
  103. package/dist/style.css +1 -1
  104. package/dist/types/vue-data-ui.d.ts +493 -0
  105. package/dist/types/vue-ui-hill.d.ts +90 -0
  106. package/dist/useAutoSizeLabelsInsideViewbox-DvDwcwi_.js +122 -0
  107. package/dist/{useConfig-C0V0eG7L.js → useConfig-BilxnBNr.js} +767 -476
  108. package/dist/useHints-Dq_w2E8B.js +66 -0
  109. package/dist/{useNestedProp-BY6DNN3i.js → useNestedProp--NSEmhOH.js} +1 -1
  110. package/dist/{useObjectBindings-Djwpii4d.js → useObjectBindings-Cwq7NcQz.js} +3 -2
  111. package/dist/{usePrinter-BH-xle1O.js → usePrinter-BFvi4jVy.js} +2 -2
  112. package/dist/useTransitions-g_zBREk2.js +39 -0
  113. package/dist/utils.js +14 -14
  114. package/dist/{vue-data-ui-rkzh6EkO.js → vue-data-ui-EsawKe_W.js} +85 -81
  115. package/dist/vue-data-ui.js +77 -76
  116. package/dist/vue-ui-3d-bar-RSUS2xpL.js +1849 -0
  117. package/dist/{vue-ui-accordion-UA88lv4d.js → vue-ui-accordion-61MlW-Ge.js} +4 -4
  118. package/dist/vue-ui-age-pyramid-CgnPWA93.js +1263 -0
  119. package/dist/vue-ui-annotator-DBRT85HG.js +2913 -0
  120. package/dist/vue-ui-bullet-Bc3-WaN1.js +724 -0
  121. package/dist/{vue-ui-bump-BS7RCf0Z.js → vue-ui-bump-Dvv3iSKr.js} +332 -295
  122. package/dist/{vue-ui-candlestick-BZSGDKrM.js → vue-ui-candlestick-DvvsrIdp.js} +464 -440
  123. package/dist/vue-ui-carousel-table-DtsNVim8.js +463 -0
  124. package/dist/vue-ui-chestnut-ArloORzP.js +2068 -0
  125. package/dist/{vue-ui-chord-D6G7ceE-.js → vue-ui-chord-xX5gWZy8.js} +430 -424
  126. package/dist/vue-ui-circle-pack-D8wykmqg.js +1638 -0
  127. package/dist/{vue-ui-cursor-BpN5MsXM.js → vue-ui-cursor-CxgE6Phh.js} +61 -61
  128. package/dist/{vue-ui-dag-BzgOgXzU.js → vue-ui-dag-C9Sf9vH7.js} +924 -916
  129. package/dist/vue-ui-dashboard-bGmaglAj.js +520 -0
  130. package/dist/{vue-ui-digits-OMPrn8fb.js → vue-ui-digits-DgDE-_Fn.js} +58 -50
  131. package/dist/vue-ui-donut-B_n6wF6B.js +2440 -0
  132. package/dist/{vue-ui-donut-Cp5NbZ1r.js → vue-ui-donut-Bmo149AR.js} +113 -113
  133. package/dist/{vue-ui-donut-evolution-DHVi5rOn.js → vue-ui-donut-evolution-D6vH_hfx.js} +528 -447
  134. package/dist/vue-ui-dumbbell-BX4Ao_wR.js +1582 -0
  135. package/dist/{vue-ui-flow-BusUK3H0.js → vue-ui-flow-Bshw8pT_.js} +415 -407
  136. package/dist/vue-ui-funnel-CjYosIik.js +797 -0
  137. package/dist/vue-ui-galaxy-CvXgy-dy.js +1111 -0
  138. package/dist/vue-ui-gauge-CByT0_vF.js +953 -0
  139. package/dist/{vue-ui-geo-CyFgFKlh.js → vue-ui-geo-C-gSZL2q.js} +378 -363
  140. package/dist/{vue-ui-gizmo-DdeXwCQp.js → vue-ui-gizmo-CJdxyPID.js} +57 -49
  141. package/dist/{vue-ui-heatmap-D8-qJ7fg.js → vue-ui-heatmap-DEEKv8ip.js} +498 -490
  142. package/dist/vue-ui-hill-D7LYAgAL.js +1768 -0
  143. package/dist/{vue-ui-history-plot-C2Aqk2ON.js → vue-ui-history-plot-BhcU94Pt.js} +553 -556
  144. package/dist/vue-ui-horizontal-bar-CfFye5tL.js +1733 -0
  145. package/dist/vue-ui-kpi-DCBnNfTb.js +104 -0
  146. package/dist/vue-ui-mini-loader-CtWpqnLW.js +133 -0
  147. package/dist/vue-ui-molecule-D3igGyOy.js +958 -0
  148. package/dist/{vue-ui-mood-radar-BiOjxFEN.js → vue-ui-mood-radar-sl6DMxqR.js} +349 -341
  149. package/dist/{vue-ui-nested-donuts-Cl1HVvDp.js → vue-ui-nested-donuts-aS4YzaB3.js} +449 -413
  150. package/dist/vue-ui-onion-EhPTZpW_.js +1258 -0
  151. package/dist/vue-ui-parallel-coordinate-plot-DE9wTmQQ.js +1455 -0
  152. package/dist/{vue-ui-quadrant-B21LkUc8.js → vue-ui-quadrant-SaY_RPSE.js} +625 -617
  153. package/dist/vue-ui-quick-chart-CJ9rejnj.js +2389 -0
  154. package/dist/{vue-ui-radar-CyzAyVos.js → vue-ui-radar-CaNen5Fj.js} +356 -310
  155. package/dist/vue-ui-rating--K7rX2an.js +360 -0
  156. package/dist/vue-ui-relation-circle-FLs8vOxQ.js +925 -0
  157. package/dist/vue-ui-ridgeline-Beg5hshN.js +1663 -0
  158. package/dist/{vue-ui-rings-FtcdX8xl.js → vue-ui-rings-BevKD8P-.js} +449 -423
  159. package/dist/{vue-ui-scatter-Cp_-2ahf.js → vue-ui-scatter-CNA7jF-o.js} +721 -702
  160. package/dist/{vue-ui-skeleton-COytVrfN.js → vue-ui-skeleton-B9ZP1w-i.js} +395 -387
  161. package/dist/{vue-ui-smiley-Da2jgkb7.js → vue-ui-smiley-DYnqqk6u.js} +128 -120
  162. package/dist/{vue-ui-spark-trend-DC2KUlEY.js → vue-ui-spark-trend-R0ebpg-G.js} +132 -117
  163. package/dist/{vue-ui-sparkbar-DdxQOFIF.js → vue-ui-sparkbar-DYC3By0v.js} +119 -111
  164. package/dist/{vue-ui-sparkgauge-DTA-fORH.js → vue-ui-sparkgauge-Bw6no-In.js} +76 -68
  165. package/dist/vue-ui-sparkhistogram-DvRKy8rq.js +590 -0
  166. package/dist/{vue-ui-sparkline-DcR_N-zT.js → vue-ui-sparkline-Dz1uzBos.js} +389 -364
  167. package/dist/vue-ui-sparkstackbar-DlnPdZih.js +692 -0
  168. package/dist/vue-ui-stackbar-B-THcavY.js +2350 -0
  169. package/dist/vue-ui-stackline-3dBPoI0h.js +2464 -0
  170. package/dist/{vue-ui-strip-plot-NLCwYvyw.js → vue-ui-strip-plot-ACeYOoHj.js} +505 -484
  171. package/dist/vue-ui-table-heatmap-DVwMqzje.js +364 -0
  172. package/dist/{vue-ui-table-AM9brdwU.js → vue-ui-table-rFy16bp0.js} +512 -504
  173. package/dist/{vue-ui-table-sparkline-BE6DAvur.js → vue-ui-table-sparkline-CABJzK8p.js} +207 -181
  174. package/dist/vue-ui-thermometer-CVQ-H69Q.js +777 -0
  175. package/dist/{vue-ui-timer-BZM5ITG9.js → vue-ui-timer-Bm8LpsnI.js} +66 -58
  176. package/dist/{vue-ui-tiremarks-BCncDpHX.js → vue-ui-tiremarks-DB3f5qiz.js} +127 -119
  177. package/dist/vue-ui-treemap-DP0Sx8Y8.js +1760 -0
  178. package/dist/vue-ui-waffle-iPpdk1Bm.js +1412 -0
  179. package/dist/vue-ui-wheel-BJkEYfLj.js +892 -0
  180. package/dist/{vue-ui-word-cloud-D7R7nhk1.js → vue-ui-word-cloud-B2sxtel9.js} +440 -432
  181. package/dist/{vue-ui-world-DZBt-07p.js → vue-ui-world-BBQZLnzm.js} +343 -335
  182. package/dist/vue-ui-xy-ChZg7AtI.js +1364 -0
  183. package/dist/{vue-ui-xy-CluEZ7lS.js → vue-ui-xy-DZj5DT-q.js} +1633 -1587
  184. package/dist/{vue-ui-xy-canvas-7YSYRdwr.js → vue-ui-xy-canvas-BN2u0bOJ.js} +456 -430
  185. package/dist/vue_ui_hill-dnltu0L-.js +368 -0
  186. package/package.json +2 -2
  187. package/dist/SlicerPreview-Cw6WMVhG.js +0 -1689
  188. package/dist/Title-BuPs74IB.js +0 -87
  189. package/dist/exposedLib-Ciw6TGtP.js +0 -25
  190. package/dist/useAutoSizeLabelsInsideViewbox-C9RNjsGv.js +0 -50
  191. package/dist/useMountedDelay-BAjrhRJb.js +0 -14
  192. package/dist/vue-ui-3d-bar-D5xHEWr1.js +0 -1824
  193. package/dist/vue-ui-age-pyramid-CAJg01c7.js +0 -1246
  194. package/dist/vue-ui-annotator-q3ZKx6ua.js +0 -2905
  195. package/dist/vue-ui-bullet-ByeaWGfI.js +0 -709
  196. package/dist/vue-ui-carousel-table-DO5NRXvX.js +0 -455
  197. package/dist/vue-ui-chestnut-BfeSPeEh.js +0 -2042
  198. package/dist/vue-ui-circle-pack-Cqmlw7AV.js +0 -1610
  199. package/dist/vue-ui-dashboard-DLvGJXJY.js +0 -512
  200. package/dist/vue-ui-donut-ZIRebAWc.js +0 -2418
  201. package/dist/vue-ui-dumbbell-gDYjU2oF.js +0 -1564
  202. package/dist/vue-ui-funnel-BtaYaU0r.js +0 -781
  203. package/dist/vue-ui-galaxy-BMp-HzDh.js +0 -1076
  204. package/dist/vue-ui-gauge-CBou0cFE.js +0 -925
  205. package/dist/vue-ui-horizontal-bar-BuwxI7d1.js +0 -1689
  206. package/dist/vue-ui-kpi-ByxoO01r.js +0 -96
  207. package/dist/vue-ui-mini-loader-D9pprk2c.js +0 -125
  208. package/dist/vue-ui-molecule-BqJJq49_.js +0 -932
  209. package/dist/vue-ui-onion-CRQOxurS.js +0 -1199
  210. package/dist/vue-ui-parallel-coordinate-plot-Dhn18RtR.js +0 -1412
  211. package/dist/vue-ui-quick-chart-DAhSXYnp.js +0 -2443
  212. package/dist/vue-ui-rating-DbxK-ftN.js +0 -352
  213. package/dist/vue-ui-relation-circle-Cb33DMZo.js +0 -917
  214. package/dist/vue-ui-ridgeline-D7aArzQk.js +0 -1627
  215. package/dist/vue-ui-sparkhistogram-D1oFTrvt.js +0 -575
  216. package/dist/vue-ui-sparkstackbar-BlFio0lP.js +0 -674
  217. package/dist/vue-ui-stackbar-Cu13EdVa.js +0 -2322
  218. package/dist/vue-ui-stackline-DKL0o_-3.js +0 -2427
  219. package/dist/vue-ui-table-heatmap-CSI482KG.js +0 -338
  220. package/dist/vue-ui-thermometer-D6Czx7Fb.js +0 -769
  221. package/dist/vue-ui-treemap-BOEYCOdk.js +0 -1727
  222. package/dist/vue-ui-waffle-BrM8IHdG.js +0 -1367
  223. package/dist/vue-ui-wheel-BNsajigQ.js +0 -884
  224. package/dist/vue-ui-xy-Dt_1bSBT.js +0 -1364
@@ -1,37 +1,38 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { At as t, C as n, E as r, Gt as i, K as a, Nt as o, Q as ee, Y as te, et as ne, ft as re, i as ie, p as ae, x as oe } from "./lib-CFm_J26b.js";
3
- import { t as se } from "./useConfig-C0V0eG7L.js";
4
- import { t as ce } from "./usePrinter-BH-xle1O.js";
5
- import { t as s } from "./useNestedProp-BY6DNN3i.js";
6
- import { t as le } from "./useThemeCheck-C43Tcqmk.js";
7
- import { t as ue } from "./_plugin-vue_export-helper-B3ysoDQm.js";
8
- import { t as de } from "./useUserOptionState-DK-_1ddE.js";
9
- import { t as fe } from "./vClickOutside-DUrZWttG.js";
10
- import { t as pe } from "./vue_ui_table_sparkline-DAbkUrNz.js";
11
- import { Fragment as c, computed as l, createBlock as me, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createSlots as he, createVNode as p, defineAsyncComponent as m, mergeProps as h, nextTick as ge, normalizeClass as g, normalizeStyle as _, onBeforeUnmount as _e, onMounted as ve, openBlock as v, ref as y, renderList as b, renderSlot as x, shallowRef as ye, toDisplayString as S, unref as C, useCssVars as be, useSlots as xe, watch as Se, withCtx as w, withDirectives as Ce } from "vue";
2
+ import { $ as t, D as n, Kt as r, Pt as i, S as a, X as o, i as ee, jt as te, m as ne, pt as re, q as ie, tt as ae, w as oe } from "./lib-BuMGJ_a0.js";
3
+ import { n as se, t as ce } from "./useHints-Dq_w2E8B.js";
4
+ import { t as le } from "./useConfig-BilxnBNr.js";
5
+ import { t as ue } from "./usePrinter-BFvi4jVy.js";
6
+ import { t as s } from "./useNestedProp--NSEmhOH.js";
7
+ import { t as de } from "./useThemeCheck-C43Tcqmk.js";
8
+ import { t as fe } from "./_plugin-vue_export-helper-B3ysoDQm.js";
9
+ import { t as pe } from "./useUserOptionState-DK-_1ddE.js";
10
+ import { t as me } from "./vClickOutside-DUrZWttG.js";
11
+ import { t as he } from "./vue_ui_table_sparkline-DAbkUrNz.js";
12
+ import { Fragment as c, computed as l, createBlock as ge, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createSlots as _e, createVNode as p, defineAsyncComponent as m, mergeProps as h, nextTick as ve, normalizeClass as g, normalizeStyle as _, onBeforeUnmount as ye, onMounted as be, openBlock as v, ref as y, renderList as b, renderSlot as x, shallowRef as xe, toDisplayString as S, unref as C, useCssVars as Se, useSlots as Ce, watch as we, withCtx as w, withDirectives as Te } from "vue";
12
13
  //#region src/components/vue-ui-table-sparkline.vue
13
- var we = /* @__PURE__ */ e({ default: () => T }), Te = ["id"], Ee = { style: {
14
+ var Ee = /* @__PURE__ */ e({ default: () => T }), De = ["id"], Oe = { style: {
14
15
  "z-index": "1",
15
16
  "padding-right": "24px"
16
- } }, De = {
17
+ } }, ke = {
17
18
  key: 0,
18
19
  style: {
19
20
  display: "flex",
20
21
  flexDirection: "row",
21
22
  alignItems: "center"
22
23
  }
23
- }, Oe = {
24
+ }, Ae = {
24
25
  key: 0,
25
26
  style: {
26
27
  display: "flex",
27
28
  flexDirection: "row",
28
29
  alignItems: "center"
29
30
  }
30
- }, ke = ["onClick"], Ae = ["onClick"], je = ["data-cell"], Me = ["data-cell", "onPointerenter"], Ne = ["data-cell"], Pe = ["data-cell"], Fe = ["data-cell"], Ie = ["data-cell"], Le = {
31
+ }, je = ["onClick"], Me = ["onClick"], Ne = ["data-cell"], Pe = ["data-cell", "onPointerenter"], Fe = ["data-cell"], Ie = ["data-cell"], Le = ["data-cell"], Re = ["data-cell"], ze = {
31
32
  key: 1,
32
33
  ref: "source",
33
34
  dir: "auto"
34
- }, T = /*#__PURE__*/ ue({
35
+ }, T = /*#__PURE__*/ fe({
35
36
  __name: "vue-ui-table-sparkline",
36
37
  props: {
37
38
  config: {
@@ -48,93 +49,118 @@ var we = /* @__PURE__ */ e({ default: () => T }), Te = ["id"], Ee = { style: {
48
49
  }
49
50
  },
50
51
  emits: ["copyAlt"],
51
- setup(e, { expose: ue, emit: we }) {
52
- be((e) => ({ v43308e63: e.tdo }));
53
- let T = m(() => import("./vue-ui-sparkline-DcR_N-zT.js").then((e) => e.n)), E = m(() => import("./BaseIcon-CP5RWnqt.js").then((e) => e.n)), Re = m(() => import("./UserOptions-DzAFK9cY.js").then((e) => e.n)), { vue_ui_table_sparkline: ze } = se(), { isThemeValid: Be, warnInvalidTheme: Ve } = le(), D = e, He = we, O = y(a()), Ue = y(0), k = y(0), A = y(null), We = xe(), Ge = y(!1);
54
- ve(() => {
55
- We["chart-background"] && console.warn("VueUiTableSparkline does not support the #chart-background slot.");
52
+ setup(e, { expose: fe, emit: Ee }) {
53
+ Se((e) => ({ v7aad66fa: e.tdo }));
54
+ let T = m(() => import("./vue-ui-sparkline-Dz1uzBos.js").then((e) => e.n)), E = m(() => import("./BaseIcon-91MZoczJ.js").then((e) => e.n)), Be = m(() => import("./UserOptions-3ujTo3LD.js").then((e) => e.n)), { vue_ui_table_sparkline: Ve } = le(), { isThemeValid: He, warnInvalidTheme: Ue } = de(), D = e, We = Ee, O = y(ie()), Ge = y(0), k = y(0), A = y(null), Ke = Ce(), qe = y(!1);
55
+ be(() => {
56
+ Ke["chart-background"] && console.warn("VueUiTableSparkline does not support the #chart-background slot.");
56
57
  });
57
58
  let j = l({
58
- get: () => Je(),
59
+ get: () => Ze(),
59
60
  set: (e) => e
60
- }), M = l(() => j.value.userOptions.useCursorPointer), { userOptionsVisible: N, setUserOptionsVisibility: Ke, keepUserOptionState: qe } = de({ config: j.value });
61
- function Je() {
61
+ });
62
+ se({
63
+ config: () => j.value,
64
+ dataset: () => D.dataset,
65
+ component: "VueUiTableSparkline",
66
+ rules: [
67
+ ce.emptyArray,
68
+ {
69
+ test: (e) => e.some((e) => e?.values && e.values.length > 500),
70
+ message: [
71
+ "👀 One or more series have > 500 datapoints. Consider if you really need this level of detail.",
72
+ "",
73
+ "▶️ Use larger time scales, or aggregated values"
74
+ ]
75
+ },
76
+ {
77
+ test: (e) => e.some((e) => e?.values && e.values.length > 1095),
78
+ message: [
79
+ "👀 One or more series have > 1095 datapoints. Above this threshold, the dataset is computed through an LTTB algorithm, to preserve the shape of the data without increasing the number of datapoints.",
80
+ "",
81
+ "▶️ If you need this level of detail, you can change config.downsample.threshold and set a higher value. Note that performance will be impacted."
82
+ ]
83
+ }
84
+ ]
85
+ });
86
+ let M = l(() => j.value.userOptions.useCursorPointer), { userOptionsVisible: Je, setUserOptionsVisibility: Ye, keepUserOptionState: Xe } = pe({ config: j.value });
87
+ function Ze() {
62
88
  let e = s({
63
89
  userConfig: D.config,
64
- defaultConfig: ze
90
+ defaultConfig: Ve
65
91
  }), t = e.theme;
66
92
  if (!t) return e;
67
- if (!Be.value(e)) return Ve(e), e;
93
+ if (!He.value(e)) return Ue(e), e;
68
94
  let n = s({
69
- userConfig: pe[t] || D.config,
95
+ userConfig: he[t] || D.config,
70
96
  defaultConfig: e
71
- }), r = s({
97
+ }), a = s({
72
98
  userConfig: D.config,
73
99
  defaultConfig: n
74
100
  });
75
101
  return {
76
- ...r,
77
- customPalette: r.customPalette.length ? r.customPalette : i[t] || o
102
+ ...a,
103
+ customPalette: a.customPalette.length ? a.customPalette : r[t] || i
78
104
  };
79
105
  }
80
- Se(() => D.config, (e) => {
81
- j.value = Je(), N.value = !j.value.userOptions.showOnChartHover, tt(), k.value += 1;
82
- }, { deep: !0 }), Se(() => D.dataset, (e) => {
83
- H.value = V.value, k.value += 1;
106
+ we(() => D.config, (e) => {
107
+ j.value = Ze(), Je.value = !j.value.userOptions.showOnChartHover, it(), k.value += 1;
108
+ }, { deep: !0 }), we(() => D.dataset, (e) => {
109
+ U.value = H.value, k.value += 1;
84
110
  }, { deep: !0 });
85
- let { isPrinting: Ye, isImaging: Xe, generatePdf: Ze, generateImage: Qe } = ce({
111
+ let { isPrinting: Qe, isImaging: $e, generatePdf: et, generateImage: tt } = ue({
86
112
  elementId: `table_${O.value}`,
87
113
  fileName: j.value.title.text || "vue-ui-table-sparkline",
88
114
  options: j.value.userOptions.print
89
- }), $e = l(() => n(j.value.customPalette)), P = y(null), F = y(!1), et = l(() => j.value.responsiveBreakpoint);
90
- ve(() => {
91
- tt();
115
+ }), nt = l(() => oe(j.value.customPalette)), N = y(null), P = y(!1), rt = l(() => j.value.responsiveBreakpoint);
116
+ be(() => {
117
+ it();
92
118
  });
93
- let I = y(j.value.colNames), L = ye(null);
94
- function tt() {
95
- t(D.dataset) && ne({
119
+ let F = y(j.value.colNames), I = xe(null);
120
+ function it() {
121
+ te(D.dataset) && ae({
96
122
  componentName: "VueUiTableSparkline",
97
123
  type: "dataset"
98
- }), L.value && L.value.disconnect(), L.value = new ResizeObserver((e) => {
124
+ }), I.value && I.value.disconnect(), I.value = new ResizeObserver((e) => {
99
125
  e.forEach((e) => {
100
- F.value = e.contentRect.width < et.value;
126
+ P.value = e.contentRect.width < rt.value;
101
127
  });
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}`);
128
+ }), N.value && I.value.observe(N.value), F.value = [];
129
+ for (let e = 0; e < lt.value; e += 1) F.value.push(j.value.colNames[e] || `col ${e}`);
104
130
  }
105
- _e(() => {
106
- L.value && L.value.disconnect();
131
+ ye(() => {
132
+ I.value && I.value.disconnect();
107
133
  });
108
- function R(e) {
134
+ function L(e) {
109
135
  if ([null, void 0].includes(e)) return null;
110
136
  let t = Number(e);
111
137
  return Number.isFinite(t) ? t : null;
112
138
  }
113
- function nt(e) {
139
+ function R(e) {
114
140
  return typeof e == "number" && Number.isFinite(e);
115
141
  }
116
- function rt(e = []) {
117
- return e.map(R).filter(nt);
142
+ function at(e = []) {
143
+ return e.map(L).filter(R);
118
144
  }
119
- function it(e, t, n) {
120
- let r = R(e), i = R(t), a = nt(r), o = nt(i);
145
+ function z(e, t, n) {
146
+ let r = L(e), i = L(t), a = R(r), o = R(i);
121
147
  return a && o ? n === -1 ? r - i : i - r : a ? -1 : +!!o;
122
148
  }
123
- function z(e, t, n = {}) {
124
- let r = R(e);
125
- return r === null ? "-" : ie(j.value.formatter, r, te({
149
+ function B(e, t, n = {}) {
150
+ let r = L(e);
151
+ return r === null ? "-" : ee(j.value.formatter, r, o({
126
152
  p: j.value.prefix,
127
153
  v: r,
128
154
  s: j.value.suffix,
129
155
  r: t
130
156
  }), n);
131
157
  }
132
- let B = l(() => (D.dataset.forEach((e, t) => {
158
+ let V = l(() => (D.dataset.forEach((e, t) => {
133
159
  re({
134
160
  datasetObject: e,
135
161
  requiredAttributes: ["name", "values"]
136
162
  }).forEach((e) => {
137
- ne({
163
+ ae({
138
164
  componentName: "VueUiTableSparkline",
139
165
  type: "datasetSerieAttribute",
140
166
  property: e,
@@ -142,64 +168,64 @@ var we = /* @__PURE__ */ e({ default: () => T }), Te = ["id"], Ee = { style: {
142
168
  });
143
169
  });
144
170
  }), D.dataset.map((e, t) => {
145
- let n = e.values || [], r = rt(n), i = r.length ? r.reduce((e, t) => e + t, 0) : null, a = r.length ? i / r.length : null, ee = r.length ? ae(r) : null;
171
+ let n = e.values || [], r = at(n), o = r.length ? r.reduce((e, t) => e + t, 0) : null, ee = r.length ? o / r.length : null, te = r.length ? ne(r) : null;
146
172
  return {
147
173
  ...e,
148
174
  values: n,
149
- color: oe(e.color) || $e.value[t] || o[t] || o[t % o.length],
150
- sum: i,
151
- average: a,
152
- median: ee,
175
+ color: a(e.color) || nt.value[t] || i[t] || i[t % i.length],
176
+ sum: o,
177
+ average: ee,
178
+ median: te,
153
179
  sparklineDataset: n.map((e, t) => ({
154
180
  period: j.value.colNames[t] || `col ${t}`,
155
- value: R(e)
181
+ value: L(e)
156
182
  }))
157
183
  };
158
184
  })));
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) => it(e[0], t[0], 1)).map((e) => e[1]));
185
+ function ot(e) {
186
+ 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) => z(e[0], t[0], 1)).map((e) => e[1]));
161
187
  return e.map((e, n) => ({
162
188
  ...e,
163
189
  values: e.values || [],
164
190
  orders: t[n]
165
191
  }));
166
192
  }
167
- let V = l(() => at(B.value)), H = y(V.value), ot = l(() => Math.max(...H.value.map((e) => (e.values || []).length))), U = y(void 0), W = y(!1), G = y(void 0), st = y(1);
168
- function K() {
169
- W.value = !1, G.value = void 0, X.value = void 0, st.value = 1, $.value.forEach((e) => e.state = 1), Y.value = {
193
+ let H = l(() => ot(V.value)), U = y(H.value), st = l(() => Math.max(...U.value.map((e) => (e.values || []).length))), W = y(void 0), G = y(!1), K = y(void 0), ct = y(1);
194
+ function q() {
195
+ G.value = !1, K.value = void 0, Z.value = void 0, ct.value = 1, $.value.forEach((e) => e.state = 1), X.value = {
170
196
  name: 1,
171
197
  sum: 1,
172
198
  average: 1,
173
199
  median: 1
174
- }, H.value = V.value;
200
+ }, U.value = H.value;
175
201
  }
176
- function q(e, t, n) {
202
+ function J(e, t, n) {
177
203
  if ([
178
204
  "name",
179
205
  "sum",
180
206
  "average",
181
207
  "median"
182
208
  ].includes(e.type)) {
183
- lt(e.type, t, n);
209
+ ut(e.type, t, n);
184
210
  return;
185
211
  }
186
- if (!mt(t)) return;
187
- if (Z.value = t, X.value = void 0, ![null, void 0].includes(G.value) && t !== G.value && (G.value = void 0, K()), $.value[t].state === n && G.value === t) {
188
- G.value = void 0, K();
212
+ if (!gt(t)) return;
213
+ if (Q.value = t, Z.value = void 0, ![null, void 0].includes(K.value) && t !== K.value && (K.value = void 0, q()), $.value[t].state === n && K.value === t) {
214
+ K.value = void 0, q();
189
215
  return;
190
216
  }
191
- W.value = !0, G.value = t;
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;
194
- let a = r.map((e, t) => [t, e]).sort((e, t) => it(e[1], t[1], i)).map((e) => e[0]).map((e) => V.value[e]);
195
- H.value = a, k.value += 1;
217
+ G.value = !0, K.value = t;
218
+ let r = H.value.map((e) => e.values?.[t] ?? null), i = n;
219
+ $.value[t].state = i, ct.value = i, t === W.value ? W.value = void 0 : W.value = t;
220
+ let a = r.map((e, t) => [t, e]).sort((e, t) => z(e[1], t[1], i)).map((e) => e[0]).map((e) => H.value[e]);
221
+ U.value = a, k.value += 1;
196
222
  }
197
- let ct = l(() => Math.max(...D.dataset.map((e) => (e.values || []).length))), J = l(() => {
198
- let e = I.value.map((e) => ({
223
+ let lt = l(() => Math.max(...D.dataset.map((e) => (e.values || []).length))), Y = l(() => {
224
+ let e = F.value.map((e) => ({
199
225
  type: "reg",
200
226
  value: e
201
227
  }));
202
- if (!e.length) for (let t = 0; t < ct.value; t += 1) e.push({
228
+ if (!e.length) for (let t = 0; t < lt.value; t += 1) e.push({
203
229
  type: "reg",
204
230
  value: `col ${t + 1}`
205
231
  });
@@ -228,114 +254,114 @@ var we = /* @__PURE__ */ e({ default: () => T }), Te = ["id"], Ee = { style: {
228
254
  type: "chart",
229
255
  value: j.value.translations.chart
230
256
  }] : t;
231
- }), Y = y({
257
+ }), X = y({
232
258
  name: 1,
233
259
  sum: 1,
234
260
  average: 1,
235
261
  median: 1
236
- }), X = y(void 0);
237
- function lt(e, t, n) {
238
- if (!H.value || H.value.length === 0 || !ht(e)) return;
239
- if (X.value !== e && (X.value = void 0), ![null, void 0].includes(G.value) && t !== G.value && K(), G.value = void 0, Y.value[e] === n && X.value) {
240
- X.value = void 0, K();
262
+ }), Z = y(void 0);
263
+ function ut(e, t, n) {
264
+ if (!U.value || U.value.length === 0 || !_t(e)) return;
265
+ if (Z.value !== e && (Z.value = void 0), ![null, void 0].includes(K.value) && t !== K.value && q(), K.value = void 0, X.value[e] === n && Z.value) {
266
+ Z.value = void 0, q();
241
267
  return;
242
268
  }
243
- X.value = e, W.value = !0, Y.value[e] = n, [null, void 0].includes(t) || ($.value[t].state = Y.value[e]);
244
- let r = Y.value[e], i = [...H.value].sort((t, n) => {
269
+ Z.value = e, G.value = !0, X.value[e] = n, [null, void 0].includes(t) || ($.value[t].state = X.value[e]);
270
+ let r = X.value[e], i = [...U.value].sort((t, n) => {
245
271
  let i = t[e], a = n[e];
246
- return typeof i == "string" && typeof a == "string" ? r === -1 ? i.localeCompare(a) : a.localeCompare(i) : it(i, a, r);
272
+ return typeof i == "string" && typeof a == "string" ? r === -1 ? i.localeCompare(a) : a.localeCompare(i) : z(i, a, r);
247
273
  });
248
- H.value = i;
274
+ U.value = i;
249
275
  }
250
- let Z = y(void 0), Q = y(void 0);
251
- function ut({ dataIndex: e, serieIndex: t }) {
252
- Z.value = e, Q.value = t, A.value[e] && !F.value && A.value[e].scrollIntoView({
276
+ let Q = y(void 0), dt = y(void 0);
277
+ function ft({ dataIndex: e, serieIndex: t }) {
278
+ Q.value = e, dt.value = t, A.value[e] && !P.value && A.value[e].scrollIntoView({
253
279
  behavior: "smooth",
254
280
  block: "nearest",
255
281
  inline: "center"
256
282
  });
257
283
  }
258
- let dt = y(!1);
259
- function ft(e) {
260
- dt.value = e, Ue.value += 1;
284
+ let pt = y(!1);
285
+ function mt(e) {
286
+ pt.value = e, Ge.value += 1;
261
287
  }
262
- function pt(e = null) {
263
- ge(() => {
264
- let t = [j.value.translations.serie].concat(J.value), n = B.value.map((e, t) => [
288
+ function ht(e = null) {
289
+ ve(() => {
290
+ let r = [j.value.translations.serie].concat(Y.value), i = V.value.map((e, t) => [
265
291
  [e.name],
266
292
  e.values,
267
293
  [e.sum],
268
294
  [e.average],
269
295
  [e.median]
270
- ]), i = r([t].concat(n));
271
- e ? e(i) : ee({
272
- csvContent: i,
296
+ ]), a = n([r].concat(i));
297
+ e ? e(a) : t({
298
+ csvContent: a,
273
299
  title: j.value.title.text || "vue-ui-table-sparkline"
274
300
  });
275
301
  });
276
302
  }
277
- function mt(e) {
303
+ function gt(e) {
278
304
  return j.value.sortedDataColumnIndices.includes(e);
279
305
  }
280
- function ht(e) {
306
+ function _t(e) {
281
307
  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;
282
308
  }
283
- function gt(e, t, n) {
309
+ function vt(e, t, n) {
284
310
  return [
285
311
  "sum",
286
312
  "average",
287
313
  "median"
288
- ].includes(t.type) ? X.value === t.type && Y.value[t.type] === n ? 1 : .3 : e === G.value && $.value[e].state === n ? 1 : .3;
314
+ ].includes(t.type) ? Z.value === t.type && X.value[t.type] === n ? 1 : .3 : e === K.value && $.value[e].state === n ? 1 : .3;
289
315
  }
290
- function _t() {
291
- j.value.resetSortOnClickOutside && K();
316
+ function yt() {
317
+ j.value.resetSortOnClickOutside && q();
292
318
  }
293
319
  let $ = l({
294
- get: () => J.value.map((e) => ({ state: 1 })),
320
+ get: () => Y.value.map((e) => ({ state: 1 })),
295
321
  set: (e) => e
296
322
  });
297
- function vt(e) {
323
+ function bt(e) {
298
324
  if (e?.stage === "start") {
299
- Ge.value = !0;
325
+ qe.value = !0;
300
326
  return;
301
327
  }
302
328
  if (e?.stage === "end") {
303
- Ge.value = !1;
329
+ qe.value = !1;
304
330
  return;
305
331
  }
306
- Qe();
332
+ tt();
307
333
  }
308
- async function yt() {
309
- if (He("copyAlt", {
334
+ async function xt() {
335
+ if (We("copyAlt", {
310
336
  config: j.value,
311
- dataset: B.value
337
+ dataset: V.value
312
338
  }), !j.value.userOptions.callbacks.altCopy) {
313
339
  console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
314
340
  return;
315
341
  }
316
342
  await Promise.resolve(j.value.userOptions.callbacks.altCopy({
317
343
  config: j.value,
318
- dataset: B.value
344
+ dataset: V.value
319
345
  }));
320
346
  }
321
- return ue({
322
- generatePdf: Ze,
323
- generateImage: Qe,
324
- generateCsv: pt,
325
- restoreOrder: K,
326
- copyAlt: yt
347
+ return fe({
348
+ generatePdf: et,
349
+ generateImage: tt,
350
+ generateCsv: ht,
351
+ restoreOrder: q,
352
+ copyAlt: xt
327
353
  }), (e, t) => (v(), d("div", {
328
354
  ref_key: "tableContainer",
329
- ref: P,
355
+ ref: N,
330
356
  class: g({
331
357
  "vue-data-ui-component": !0,
332
358
  "vue-ui-table-sparkline": !0,
333
- "vue-ui-responsive": F.value
359
+ "vue-ui-responsive": P.value
334
360
  }),
335
361
  style: { overflow: "hidden" },
336
362
  id: `table_${O.value}`,
337
- onMouseenter: t[3] ||= () => C(Ke)(!0),
338
- onMouseleave: t[4] ||= () => C(Ke)(!1)
363
+ onMouseenter: t[3] ||= () => C(Ye)(!0),
364
+ onMouseleave: t[4] ||= () => C(Ye)(!1)
339
365
  }, [
340
366
  j.value.title.text ? (v(), d("div", {
341
367
  key: 0,
@@ -362,7 +388,7 @@ var we = /* @__PURE__ */ e({ default: () => T }), Te = ["id"], Ee = { style: {
362
388
  f("div", {
363
389
  style: { overflow: "auto" },
364
390
  onPointerleave: t[2] ||= (e) => {
365
- Q.value = void 0, Z.value = void 0;
391
+ dt.value = void 0, Q.value = void 0;
366
392
  }
367
393
  }, [f("table", {
368
394
  class: "vue-ui-data-table",
@@ -370,7 +396,7 @@ var we = /* @__PURE__ */ e({ default: () => T }), Te = ["id"], Ee = { style: {
370
396
  fontFamily: j.value.fontFamily,
371
397
  position: "relative"
372
398
  })
373
- }, [f("thead", Ee, [Ce((v(), d("tr", {
399
+ }, [f("thead", Oe, [Te((v(), d("tr", {
374
400
  role: "row",
375
401
  class: "vue-ui-data-table__thead-row",
376
402
  style: _({
@@ -392,87 +418,87 @@ var we = /* @__PURE__ */ e({ default: () => T }), Te = ["id"], Ee = { style: {
392
418
  alignItems: "center",
393
419
  gap: "3px",
394
420
  justifyContent: j.value.thead.textAlign
395
- }) }, [f("span", null, S(j.value.translations.serie), 1), H.value.length > 1 && j.value.sortedSeriesName ? (v(), d("div", De, [f("button", {
421
+ }) }, [f("span", null, S(j.value.translations.serie), 1), U.value.length > 1 && j.value.sortedSeriesName ? (v(), d("div", ke, [f("button", {
396
422
  class: "vue-ui-table-sparkline-sorting-button vue-ui-table-sparkline-sorting-button-down",
397
- onClick: t[0] ||= (e) => q({ type: "name" }, null, -1),
423
+ onClick: t[0] ||= (e) => J({ type: "name" }, null, -1),
398
424
  style: _({ cursor: M.value ? "pointer" : "default" })
399
425
  }, [p(C(E), {
400
426
  size: 12,
401
427
  name: "arrowBottom",
402
428
  stroke: j.value.thead.color,
403
- style: _({ opacity: X.value === "name" && Y.value.name === -1 ? 1 : .3 })
429
+ style: _({ opacity: Z.value === "name" && X.value.name === -1 ? 1 : .3 })
404
430
  }, null, 8, ["stroke", "style"])], 4), f("button", {
405
431
  class: "vue-ui-table-sparkline-sorting-button vue-ui-table-sparkline-sorting-button-up",
406
- onClick: t[1] ||= (e) => q({ type: "name" }, null, 1),
432
+ onClick: t[1] ||= (e) => J({ type: "name" }, null, 1),
407
433
  style: _({ cursor: M.value ? "pointer" : "default" })
408
434
  }, [p(C(E), {
409
435
  size: 12,
410
436
  name: "arrowTop",
411
437
  stroke: j.value.thead.color,
412
- style: _({ opacity: X.value === "name" && Y.value.name === 1 ? 1 : .3 })
413
- }, null, 8, ["stroke", "style"])], 4)])) : u("", !0)], 4)], 4), (v(!0), d(c, null, b(J.value, (t, n) => (v(), d("th", {
438
+ style: _({ opacity: Z.value === "name" && X.value.name === 1 ? 1 : .3 })
439
+ }, null, 8, ["stroke", "style"])], 4)])) : u("", !0)], 4)], 4), (v(!0), d(c, null, b(Y.value, (t, n) => (v(), d("th", {
414
440
  role: "cell",
415
441
  style: _({
416
442
  background: j.value.thead.backgroundColor,
417
443
  border: j.value.thead.outline,
418
444
  textAlign: j.value.thead.textAlign,
419
445
  fontWeight: j.value.thead.bold ? "bold" : "normal",
420
- minWidth: n === J.value.length - 1 ? `${j.value.sparkline.dimensions.width}px` : "48px",
421
- paddingRight: n === J.value.length - 1 && j.value.userOptions.show ? "36px" : ""
446
+ minWidth: n === Y.value.length - 1 ? `${j.value.sparkline.dimensions.width}px` : "48px",
447
+ paddingRight: n === Y.value.length - 1 && j.value.userOptions.show ? "36px" : ""
422
448
  }),
423
- class: g({ "sticky-col": n === J.value.length - 1 && j.value.showSparklines })
449
+ class: g({ "sticky-col": n === Y.value.length - 1 && j.value.showSparklines })
424
450
  }, [f("div", { style: _({
425
451
  display: "flex",
426
452
  flexDirection: "row",
427
453
  alignItems: "center",
428
454
  gap: "3px",
429
455
  justifyContent: j.value.thead.textAlign
430
- }) }, [f("span", null, S(t.value), 1), H.value.length > 1 && (mt(n) || ht(t)) ? (v(), d("div", Oe, [f("button", {
456
+ }) }, [f("span", null, S(t.value), 1), U.value.length > 1 && (gt(n) || _t(t)) ? (v(), d("div", Ae, [f("button", {
431
457
  class: "vue-ui-table-sparkline-sorting-button vue-ui-table-sparkline-sorting-button-down",
432
- onClick: () => q(t, n, -1),
458
+ onClick: () => J(t, n, -1),
433
459
  style: _({ cursor: M.value ? "pointer" : "default" })
434
460
  }, [p(C(E), {
435
461
  size: 12,
436
462
  name: "arrowBottom",
437
463
  stroke: j.value.thead.color,
438
- style: _({ opacity: gt(n, t, -1) })
439
- }, null, 8, ["stroke", "style"])], 12, ke), f("button", {
464
+ style: _({ opacity: vt(n, t, -1) })
465
+ }, null, 8, ["stroke", "style"])], 12, je), f("button", {
440
466
  class: "vue-ui-table-sparkline-sorting-button vue-ui-table-sparkline-sorting-button-up",
441
- onClick: () => q(t, n, 1),
467
+ onClick: () => J(t, n, 1),
442
468
  style: _({ cursor: M.value ? "pointer" : "default" })
443
469
  }, [p(C(E), {
444
470
  size: 12,
445
471
  name: "arrowTop",
446
472
  stroke: j.value.thead.color,
447
- style: _({ opacity: gt(n, t, 1) })
448
- }, 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), {
473
+ style: _({ opacity: vt(n, t, 1) })
474
+ }, null, 8, ["stroke", "style"])], 12, Me)])) : u("", !0)], 4), j.value.userOptions.show && n === Y.value.length - 1 && (C(Xe) || C(Je)) ? (v(), ge(C(Be), {
449
475
  ref_for: !0,
450
476
  ref: "details",
451
- key: `user_option_${Ue.value}`,
477
+ key: `user_option_${Ge.value}`,
452
478
  backgroundColor: j.value.thead.backgroundColor,
453
479
  color: j.value.thead.color,
454
- isPrinting: C(Ye),
455
- isImaging: C(Xe),
480
+ isPrinting: C(Qe),
481
+ isImaging: C($e),
456
482
  uid: O.value,
457
483
  hasPdf: j.value.userOptions.buttons.pdf,
458
484
  hasXls: j.value.userOptions.buttons.csv,
459
485
  hasImg: j.value.userOptions.buttons.img,
460
486
  hasFullscreen: j.value.userOptions.buttons.fullscreen,
461
487
  hasAltCopy: j.value.userOptions.buttons.altCopy,
462
- isFullscreen: dt.value,
488
+ isFullscreen: pt.value,
463
489
  titles: { ...j.value.userOptions.buttonTitles },
464
- chartElement: P.value,
490
+ chartElement: N.value,
465
491
  position: j.value.userOptions.position,
466
492
  callbacks: j.value.userOptions.callbacks,
467
493
  printScale: j.value.userOptions.print.scale,
468
494
  isCursorPointer: M.value,
469
- onToggleFullscreen: ft,
470
- onGeneratePdf: C(Ze),
471
- onGenerateImage: vt,
472
- onGenerateCsv: pt,
473
- onCopyAlt: yt,
474
- style: _({ visibility: C(qe) ? C(N) ? "visible" : "hidden" : "visible" })
475
- }, he({ _: 2 }, [
495
+ onToggleFullscreen: mt,
496
+ onGeneratePdf: C(et),
497
+ onGenerateImage: bt,
498
+ onGenerateCsv: ht,
499
+ onCopyAlt: xt,
500
+ style: _({ visibility: C(Xe) ? C(Je) ? "visible" : "hidden" : "visible" })
501
+ }, _e({ _: 2 }, [
476
502
  e.$slots.menuIcon ? {
477
503
  name: "menuIcon",
478
504
  fn: w(({ isOpen: t, color: n }) => [x(e.$slots, "menuIcon", h({ ref_for: !0 }, {
@@ -539,7 +565,7 @@ var we = /* @__PURE__ */ e({ default: () => T }), Te = ["id"], Ee = { style: {
539
565
  "isCursorPointer",
540
566
  "onGeneratePdf",
541
567
  "style"
542
- ])) : u("", !0)], 6))), 256))], 4)), [[C(fe), _t]])]), f("tbody", null, [(v(!0), d(c, null, b(H.value, (e, t) => (v(), d("tr", {
568
+ ])) : u("", !0)], 6))), 256))], 4)), [[C(me), yt]])]), f("tbody", null, [(v(!0), d(c, null, b(U.value, (e, t) => (v(), d("tr", {
543
569
  role: "row",
544
570
  style: _({
545
571
  backgroundColor: j.value.tbody.backgroundColor,
@@ -574,8 +600,8 @@ var we = /* @__PURE__ */ e({ default: () => T }), Te = ["id"], Ee = { style: {
574
600
  }, [j.value.tbody.showColorMarker ? (v(), d("span", {
575
601
  key: 0,
576
602
  style: _({ color: e.color })
577
- }, "⬤", 4)) : u("", !0), f("span", null, S(e.name ?? "-"), 1)], 4)], 12, je),
578
- (v(!0), d(c, null, b(ot.value, (n, r) => (v(), d("td", {
603
+ }, "⬤", 4)) : u("", !0), f("span", null, S(e.name ?? "-"), 1)], 4)], 12, Ne),
604
+ (v(!0), d(c, null, b(st.value, (n, r) => (v(), d("td", {
579
605
  dir: "auto",
580
606
  role: "cell",
581
607
  ref_for: !0,
@@ -586,18 +612,18 @@ var we = /* @__PURE__ */ e({ default: () => T }), Te = ["id"], Ee = { style: {
586
612
  fontSize: `${j.value.tbody.fontSize}px`,
587
613
  fontWeight: j.value.tbody.bold ? "bold" : "normal",
588
614
  textAlign: j.value.tbody.textAlign,
589
- 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 : ""
615
+ background: Q.value !== void 0 && r === Q.value ? j.value.tbody.selectedColor.useSerieColor ? `${e.color.length > 7 ? e.color.slice(0, -2) : e.color}33` : j.value.tbody.selectedColor.fallback : ""
590
616
  }),
591
- "data-cell": J.value[r] ? J.value[r].value : "",
617
+ "data-cell": Y.value[r] ? Y.value[r].value : "",
592
618
  class: "vue-ui-data-table__tbody__td",
593
619
  onPointerenter: (e) => {
594
- Q.value = t, Z.value = r;
620
+ dt.value = t, Q.value = r;
595
621
  }
596
- }, S(z(e.values[r], j.value.roundingValues, {
622
+ }, S(B(e.values[r], j.value.roundingValues, {
597
623
  datapoint: e,
598
624
  seriesIndex: t,
599
625
  datapointIndex: r
600
- })), 45, Me))), 256)),
626
+ })), 45, Pe))), 256)),
601
627
  j.value.showTotal ? (v(), d("td", {
602
628
  key: 0,
603
629
  dir: "auto",
@@ -610,10 +636,10 @@ var we = /* @__PURE__ */ e({ default: () => T }), Te = ["id"], Ee = { style: {
610
636
  }),
611
637
  "data-cell": j.value.translations.total,
612
638
  class: "vue-ui-data-table__tbody__td"
613
- }, S(z(e.sum, j.value.roundingTotal, {
639
+ }, S(B(e.sum, j.value.roundingTotal, {
614
640
  datapoint: e.sum,
615
641
  seriesIndex: t
616
- })), 13, Ne)) : u("", !0),
642
+ })), 13, Fe)) : u("", !0),
617
643
  j.value.showAverage ? (v(), d("td", {
618
644
  key: 1,
619
645
  dir: "auto",
@@ -626,10 +652,10 @@ var we = /* @__PURE__ */ e({ default: () => T }), Te = ["id"], Ee = { style: {
626
652
  }),
627
653
  "data-cell": j.value.translations.average,
628
654
  class: "vue-ui-data-table__tbody__td"
629
- }, S(z(e.average, j.value.roundingAverage, {
655
+ }, S(B(e.average, j.value.roundingAverage, {
630
656
  datapoint: e.average,
631
657
  seriesIndex: t
632
- })), 13, Pe)) : u("", !0),
658
+ })), 13, Ie)) : u("", !0),
633
659
  j.value.showMedian ? (v(), d("td", {
634
660
  key: 2,
635
661
  dir: "auto",
@@ -642,10 +668,10 @@ var we = /* @__PURE__ */ e({ default: () => T }), Te = ["id"], Ee = { style: {
642
668
  }),
643
669
  "data-cell": j.value.translations.median,
644
670
  class: "vue-ui-data-table__tbody__td"
645
- }, S(z(e.median, j.value.roundingMedian, {
671
+ }, S(B(e.median, j.value.roundingMedian, {
646
672
  datapoint: e.median,
647
673
  seriesIndex: t
648
- })), 13, Fe)) : u("", !0),
674
+ })), 13, Le)) : u("", !0),
649
675
  j.value.showSparklines ? (v(), d("td", {
650
676
  key: 3,
651
677
  role: "cell",
@@ -660,7 +686,7 @@ var we = /* @__PURE__ */ e({ default: () => T }), Te = ["id"], Ee = { style: {
660
686
  }),
661
687
  class: "vue-ui-data-table__tbody__td sticky-col"
662
688
  }, [p(C(T), {
663
- onHoverIndex: ({ index: e }) => ut({
689
+ onHoverIndex: ({ index: e }) => ft({
664
690
  dataIndex: e,
665
691
  serieIndex: t
666
692
  }),
@@ -668,13 +694,13 @@ var we = /* @__PURE__ */ e({ default: () => T }), Te = ["id"], Ee = { style: {
668
694
  "forced-padding": 30,
669
695
  dataset: e.sparklineDataset,
670
696
  showInfo: !1,
671
- selectedIndex: Z.value,
697
+ selectedIndex: Q.value,
672
698
  config: {
673
699
  type: j.value.sparkline.type,
674
700
  style: {
675
701
  backgroundColor: "transparent",
676
702
  animation: {
677
- show: j.value.sparkline.animation.show && !C(Ye) && !C(Xe),
703
+ show: j.value.sparkline.animation.show && !C(Qe) && !C($e),
678
704
  animationFrames: j.value.sparkline.animation.animationFrames
679
705
  },
680
706
  padding: { right: 12 },
@@ -704,11 +730,11 @@ var we = /* @__PURE__ */ e({ default: () => T }), Te = ["id"], Ee = { style: {
704
730
  "dataset",
705
731
  "selectedIndex",
706
732
  "config"
707
- ])], 12, Ie)) : u("", !0)
733
+ ])], 12, Re)) : u("", !0)
708
734
  ], 6))), 256))])], 4)], 32),
709
- e.$slots.source ? (v(), d("div", Le, [x(e.$slots, "source", {}, void 0, !0)], 512)) : u("", !0)
710
- ], 42, Te));
735
+ e.$slots.source ? (v(), d("div", ze, [x(e.$slots, "source", {}, void 0, !0)], 512)) : u("", !0)
736
+ ], 42, De));
711
737
  }
712
- }, [["__scopeId", "data-v-a657c4ca"]]);
738
+ }, [["__scopeId", "data-v-13d17c2f"]]);
713
739
  //#endregion
714
- export { we as n, T as t };
740
+ export { Ee as n, T as t };