vue-data-ui 2.4.51 → 2.4.53

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 (179) hide show
  1. package/dist/{Arrow-2a_SwBgz.cjs → Arrow-BGjtcB03.cjs} +1 -1
  2. package/dist/{Arrow-BUz63pb2.js → Arrow-XbzVXHDF.js} +1 -1
  3. package/dist/{BaseIcon-CmiukQBl.js → BaseIcon-CiQzR1fE.js} +1 -1
  4. package/dist/{BaseIcon-BASl_NFX.cjs → BaseIcon-DGRZS55E.cjs} +1 -1
  5. package/dist/{DataTable-G3ICK-5h.cjs → DataTable-DWQiMziO.cjs} +1 -1
  6. package/dist/{DataTable-DGf6RrOJ.js → DataTable-jvL0XGWl.js} +2 -2
  7. package/dist/{Legend-BiuPlEMg.cjs → Legend-BstxUr4T.cjs} +1 -1
  8. package/dist/{Legend-BLaZxMge.js → Legend-DcIfRSNC.js} +1 -1
  9. package/dist/{PackageVersion-Bj34UNnQ.cjs → PackageVersion-CeJ2R9gK.cjs} +1 -1
  10. package/dist/{PackageVersion-CxJghxYD.js → PackageVersion-Ve0s76sL.js} +1 -1
  11. package/dist/{PenAndPaper-D9yQnc0e.cjs → PenAndPaper-DQPbe0G_.cjs} +1 -1
  12. package/dist/{PenAndPaper-ZdZEumki.js → PenAndPaper-IHG7xTmx.js} +3 -3
  13. package/dist/{Shape-yducHWd0.cjs → Shape-Bzx4qKcd.cjs} +1 -1
  14. package/dist/{Shape-DIKzzpFm.js → Shape-Rg6yW7m3.js} +1 -1
  15. package/dist/{Slicer-Cxdl3cDt.js → Slicer-CP2Z31Lc.js} +2 -2
  16. package/dist/{Slicer-BHS9W4MJ.cjs → Slicer-CPp7_WWa.cjs} +1 -1
  17. package/dist/{Title-Bk_55doC.cjs → Title-CSyDhu3S.cjs} +1 -1
  18. package/dist/{Title-aSAft5dl.js → Title-DLo3Zo2_.js} +1 -1
  19. package/dist/{Tooltip-smutPF--.js → Tooltip-CA1QhFeE.js} +1 -1
  20. package/dist/{Tooltip-G7ENx87_.cjs → Tooltip-D88h1zvE.cjs} +1 -1
  21. package/dist/{index-DhDYBLBe.cjs → index-C3wsuQ2C.cjs} +1 -1
  22. package/dist/{index-BbPeL8Gp.js → index-DhxnZ6ZS.js} +1 -1
  23. package/dist/style.css +1 -1
  24. package/dist/{useNestedProp-BN8claGG.js → useNestedProp-BcqToEU0.js} +1 -1
  25. package/dist/{useNestedProp-BphUExEh.cjs → useNestedProp-CFwQtnNB.cjs} +1 -1
  26. package/dist/{usePrinter-2_QjJFdH.cjs → usePrinter-Dglf1bsw.cjs} +1 -1
  27. package/dist/{usePrinter-DaybDVqP.js → usePrinter-mDGfOQZA.js} +1 -1
  28. package/dist/{vue-data-ui-C5vsHRHD.cjs → vue-data-ui-BM5qFlPf.cjs} +1 -1
  29. package/dist/{vue-data-ui-Ckbp-yIf.js → vue-data-ui-C6tJVggL.js} +60 -60
  30. package/dist/vue-data-ui.cjs +1 -1
  31. package/dist/vue-data-ui.js +1 -1
  32. package/dist/{vue-ui-3d-bar-wDYs3sVe.js → vue-ui-3d-bar-BFzCyxbR.js} +30 -30
  33. package/dist/{vue-ui-3d-bar-DUgumRsg.cjs → vue-ui-3d-bar-DiL5x37F.cjs} +2 -2
  34. package/dist/{vue-ui-accordion-5d5iVpr7.js → vue-ui-accordion-DDp8hUlk.js} +3 -3
  35. package/dist/{vue-ui-accordion-B7tNzRWB.cjs → vue-ui-accordion-kv5FuXqU.cjs} +1 -1
  36. package/dist/{vue-ui-age-pyramid-BH1khaaq.js → vue-ui-age-pyramid-ORFLMq65.js} +42 -42
  37. package/dist/vue-ui-age-pyramid-xYMc6DPS.cjs +1 -0
  38. package/dist/{vue-ui-annotator-B9VKE_qz.js → vue-ui-annotator-CYyuSx8D.js} +1 -1
  39. package/dist/{vue-ui-annotator-jXkB5XnD.cjs → vue-ui-annotator-J_Ssv585.cjs} +1 -1
  40. package/dist/vue-ui-bullet-BbOqOHbK.cjs +34 -0
  41. package/dist/{vue-ui-bullet-BLi9CSZw.js → vue-ui-bullet-D8w5qQKc.js} +41 -41
  42. package/dist/{vue-ui-candlestick-Bjz1uFbv.js → vue-ui-candlestick-B7jJlgII.js} +61 -61
  43. package/dist/{vue-ui-candlestick-Da4ygGXR.cjs → vue-ui-candlestick-BbKj6Lt5.cjs} +2 -2
  44. package/dist/{vue-ui-carousel-table-B6zgTL-W.js → vue-ui-carousel-table-3ntrCePt.js} +50 -50
  45. package/dist/vue-ui-carousel-table-Cazhvs3E.cjs +1 -0
  46. package/dist/{vue-ui-chestnut-C_N7EbjQ.cjs → vue-ui-chestnut-DyFTfNZi.cjs} +3 -3
  47. package/dist/{vue-ui-chestnut-D5HpkuIa.js → vue-ui-chestnut-apUInPn_.js} +66 -66
  48. package/dist/{vue-ui-cursor-DZNIbvR2.js → vue-ui-cursor-CFTO66GQ.js} +2 -2
  49. package/dist/{vue-ui-cursor-A_siHYBc.cjs → vue-ui-cursor-CsNO0-Tw.cjs} +1 -1
  50. package/dist/{vue-ui-dashboard-DCqe4BZg.js → vue-ui-dashboard-C-pDSWwi.js} +2 -2
  51. package/dist/{vue-ui-dashboard-BfPJyiY9.cjs → vue-ui-dashboard-DddJvm7i.cjs} +1 -1
  52. package/dist/{vue-ui-digits-BEhLa3jI.cjs → vue-ui-digits-DSqN9pA7.cjs} +1 -1
  53. package/dist/{vue-ui-digits-BEWCnojc.js → vue-ui-digits-DWAbSFx3.js} +2 -2
  54. package/dist/{vue-ui-donut-g5ZLhYPx.js → vue-ui-donut-DSeDfu4H.js} +57 -57
  55. package/dist/vue-ui-donut-DrAes-Cb.cjs +1 -0
  56. package/dist/vue-ui-donut-evolution-CYtTDj7r.cjs +1 -0
  57. package/dist/{vue-ui-donut-evolution-Cu6dmlT2.js → vue-ui-donut-evolution-D7h33-ti.js} +66 -66
  58. package/dist/vue-ui-dumbbell-DAK7iUrl.cjs +9 -0
  59. package/dist/{vue-ui-dumbbell-bb4-Ep6o.js → vue-ui-dumbbell-LF5uy2pG.js} +46 -46
  60. package/dist/{vue-ui-flow-hD0F6mTK.js → vue-ui-flow-ClPKB4R5.js} +43 -43
  61. package/dist/vue-ui-flow-u3UVnWTH.cjs +1 -0
  62. package/dist/{vue-ui-funnel-hcbE4yky.js → vue-ui-funnel-BIXUXI8z.js} +59 -59
  63. package/dist/vue-ui-funnel-BY7rqfpW.cjs +1 -0
  64. package/dist/{vue-ui-galaxy-ByKjxVWV.js → vue-ui-galaxy-CEnGrqn3.js} +54 -54
  65. package/dist/vue-ui-galaxy-DBnbXO8c.cjs +1 -0
  66. package/dist/{vue-ui-gauge-PGirbe6O.js → vue-ui-gauge-C7Qchm0R.js} +70 -70
  67. package/dist/vue-ui-gauge-CJYWRyeq.cjs +1 -0
  68. package/dist/{vue-ui-gizmo-CHMApil6.cjs → vue-ui-gizmo-C9_Ciat_.cjs} +1 -1
  69. package/dist/{vue-ui-gizmo-ChSfBYZ_.js → vue-ui-gizmo-CKZRt29V.js} +3 -3
  70. package/dist/{vue-ui-heatmap-CK3FIWpo.js → vue-ui-heatmap-BlbOJnS0.js} +87 -87
  71. package/dist/vue-ui-heatmap-olBNo_Ui.cjs +1 -0
  72. package/dist/{vue-ui-history-plot-EmQ-Byiz.js → vue-ui-history-plot-CBpL_OyR.js} +75 -75
  73. package/dist/vue-ui-history-plot-Cyd53pxt.cjs +1 -0
  74. package/dist/{vue-ui-kpi-DjC68pSz.js → vue-ui-kpi-C2XDua17.js} +3 -3
  75. package/dist/{vue-ui-kpi-BdungaO2.cjs → vue-ui-kpi-CkcQ40VT.cjs} +1 -1
  76. package/dist/{vue-ui-mini-loader-jwL_pZjb.cjs → vue-ui-mini-loader-CpeOqmXd.cjs} +1 -1
  77. package/dist/{vue-ui-mini-loader-CzrblCCD.js → vue-ui-mini-loader-DXF2Zpi6.js} +2 -2
  78. package/dist/{vue-ui-molecule-DBQJQs4Y.js → vue-ui-molecule-ekgpnwl8.js} +52 -52
  79. package/dist/vue-ui-molecule-qQjh4AkD.cjs +1 -0
  80. package/dist/{vue-ui-mood-radar-Ca9wPZpJ.js → vue-ui-mood-radar-CV30YU_f.js} +35 -35
  81. package/dist/vue-ui-mood-radar-KoW8hhxL.cjs +1 -0
  82. package/dist/{vue-ui-nested-donuts-DEdS6dpj.cjs → vue-ui-nested-donuts-AkaYvLCi.cjs} +2 -2
  83. package/dist/{vue-ui-nested-donuts-C8at93dN.js → vue-ui-nested-donuts-DZ_eS-bB.js} +90 -90
  84. package/dist/{vue-ui-onion-B2ioudP5.cjs → vue-ui-onion-Bl1UUCFU.cjs} +2 -2
  85. package/dist/{vue-ui-onion-B-PXxNu6.js → vue-ui-onion-YfHn7AeD.js} +52 -52
  86. package/dist/{vue-ui-parallel-coordinate-plot-ByM3So9k.js → vue-ui-parallel-coordinate-plot-BEqbS5A6.js} +62 -62
  87. package/dist/{vue-ui-parallel-coordinate-plot-DtJi9cT0.cjs → vue-ui-parallel-coordinate-plot-Dv_UD2bi.cjs} +2 -2
  88. package/dist/{vue-ui-quadrant-BqOJBcsI.js → vue-ui-quadrant-BU_pD15l.js} +50 -50
  89. package/dist/vue-ui-quadrant-DO6afeTp.cjs +1 -0
  90. package/dist/{vue-ui-quick-chart-Bt9KA82P.cjs → vue-ui-quick-chart-ByDBV3lo.cjs} +1 -1
  91. package/dist/{vue-ui-quick-chart-BfXxT3KM.js → vue-ui-quick-chart-U-1paiOI.js} +9 -9
  92. package/dist/{vue-ui-radar-BKpD9xDr.js → vue-ui-radar-B5FUXS1e.js} +59 -59
  93. package/dist/vue-ui-radar-DLsIiPBR.cjs +1 -0
  94. package/dist/{vue-ui-rating-BE545aI4.cjs → vue-ui-rating-D4-ebrWA.cjs} +1 -1
  95. package/dist/{vue-ui-rating-DQRuqev5.js → vue-ui-rating-DcCUrP6L.js} +2 -2
  96. package/dist/{vue-ui-relation-circle-nZ2nBpWX.js → vue-ui-relation-circle-2i7B4Yf-.js} +56 -56
  97. package/dist/vue-ui-relation-circle-jPx6gmw1.cjs +1 -0
  98. package/dist/{vue-ui-rings-B7JzZ3ub.cjs → vue-ui-rings-6JF72UH8.cjs} +2 -2
  99. package/dist/{vue-ui-rings-C1PV0873.js → vue-ui-rings-DG0DQD21.js} +65 -65
  100. package/dist/vue-ui-scatter-CfbMuDQy.cjs +1 -0
  101. package/dist/{vue-ui-scatter-dgs1m3-2.js → vue-ui-scatter-j6SU-TUb.js} +102 -102
  102. package/dist/{vue-ui-screenshot-Dxj0l8Jg.js → vue-ui-screenshot-B6hhgFz_.js} +1 -1
  103. package/dist/{vue-ui-screenshot--cHV0jG3.cjs → vue-ui-screenshot-BKfP266_.cjs} +1 -1
  104. package/dist/{vue-ui-skeleton-lkPDknHn.cjs → vue-ui-skeleton-99lBQ_mF.cjs} +1 -1
  105. package/dist/{vue-ui-skeleton-Bniq21d9.js → vue-ui-skeleton-pdtGfiV6.js} +3 -3
  106. package/dist/{vue-ui-smiley-CozXoiti.cjs → vue-ui-smiley-8UembS7P.cjs} +1 -1
  107. package/dist/{vue-ui-smiley-D4DAZIpA.js → vue-ui-smiley-fOlIEhGS.js} +2 -2
  108. package/dist/{vue-ui-spark-trend-ZqrwhwqS.js → vue-ui-spark-trend-BkPSkOrh.js} +5 -5
  109. package/dist/{vue-ui-spark-trend-CSqyvI_K.cjs → vue-ui-spark-trend-CV5Uq241.cjs} +1 -1
  110. package/dist/{vue-ui-sparkbar-Bph8KIjk.cjs → vue-ui-sparkbar-DUNqm_AP.cjs} +1 -1
  111. package/dist/{vue-ui-sparkbar-q0G4GvFm.js → vue-ui-sparkbar-qB9reaJo.js} +4 -4
  112. package/dist/{vue-ui-sparkgauge-nSAW83dN.cjs → vue-ui-sparkgauge-D0hLQuMH.cjs} +1 -1
  113. package/dist/{vue-ui-sparkgauge-DA_h9jcN.js → vue-ui-sparkgauge-Mmm3mt-c.js} +4 -4
  114. package/dist/{vue-ui-sparkhistogram-B1WyBiq_.js → vue-ui-sparkhistogram-9yQ-E0co.js} +5 -5
  115. package/dist/{vue-ui-sparkhistogram-BLYhRNpt.cjs → vue-ui-sparkhistogram-CuB-M26R.cjs} +1 -1
  116. package/dist/{vue-ui-sparkline-ccfl0s3m.js → vue-ui-sparkline-D_QkkgS-.js} +4 -4
  117. package/dist/{vue-ui-sparkline-PNix1-R9.cjs → vue-ui-sparkline-Du8Hm28x.cjs} +1 -1
  118. package/dist/{vue-ui-sparkstackbar-PNKwVRu8.js → vue-ui-sparkstackbar-BDubVDPN.js} +5 -5
  119. package/dist/{vue-ui-sparkstackbar-DpuvEumy.cjs → vue-ui-sparkstackbar-B_I1tmuS.cjs} +1 -1
  120. package/dist/vue-ui-stackbar-DHnilreT.cjs +6 -0
  121. package/dist/{vue-ui-stackbar-BBYnF8qm.js → vue-ui-stackbar-rNiqr7aF.js} +43 -43
  122. package/dist/{vue-ui-strip-plot-TVlnzXFq.js → vue-ui-strip-plot-DPn3qgdB.js} +78 -78
  123. package/dist/vue-ui-strip-plot-DlRej1u9.cjs +1 -0
  124. package/dist/{vue-ui-table-CsEajH9S.js → vue-ui-table-BrZ__Cd2.js} +1 -1
  125. package/dist/{vue-ui-table-CHdv3KuM.cjs → vue-ui-table-DLcFdjyM.cjs} +1 -1
  126. package/dist/vue-ui-table-heatmap-DIkXPyqe.cjs +1 -0
  127. package/dist/{vue-ui-table-heatmap-CubRipoB.js → vue-ui-table-heatmap-DQXI2uPZ.js} +38 -38
  128. package/dist/vue-ui-table-sparkline-BUNsAEVY.js +647 -0
  129. package/dist/vue-ui-table-sparkline-BazGMr3R.cjs +1 -0
  130. package/dist/{vue-ui-thermometer-DmMjSLc1.js → vue-ui-thermometer-DMkD9fS8.js} +74 -74
  131. package/dist/vue-ui-thermometer-_gbnwB1j.cjs +1 -0
  132. package/dist/{vue-ui-timer-DteYgv9y.cjs → vue-ui-timer-BTfgxjIc.cjs} +1 -1
  133. package/dist/{vue-ui-timer-DvE_nqd9.js → vue-ui-timer-Dv-GSUf1.js} +5 -5
  134. package/dist/{vue-ui-tiremarks-CCrkDgjX.js → vue-ui-tiremarks-CEMrBJPF.js} +46 -46
  135. package/dist/vue-ui-tiremarks-Ct9y13Sl.cjs +1 -0
  136. package/dist/vue-ui-treemap-D7SBHWJ2.cjs +1 -0
  137. package/dist/{vue-ui-treemap-C4A4spvg.js → vue-ui-treemap-D8AkLDqM.js} +91 -91
  138. package/dist/{vue-ui-vertical-bar-8iL1xiaz.js → vue-ui-vertical-bar-BnhysoC9.js} +67 -67
  139. package/dist/{vue-ui-vertical-bar-B60lSXNq.cjs → vue-ui-vertical-bar-_EQI8SXm.cjs} +2 -2
  140. package/dist/vue-ui-waffle-DOhi1BWD.cjs +1 -0
  141. package/dist/{vue-ui-waffle-CaYNz-Kd.js → vue-ui-waffle-DfRmWfrG.js} +48 -48
  142. package/dist/vue-ui-wheel-BbDtndmW.cjs +1 -0
  143. package/dist/{vue-ui-wheel-BRR2rGou.js → vue-ui-wheel-CU6-VBD1.js} +36 -36
  144. package/dist/vue-ui-word-cloud-CRarnngT.cjs +1 -0
  145. package/dist/{vue-ui-word-cloud-y2GGxwoq.js → vue-ui-word-cloud-CbuHwEkP.js} +66 -66
  146. package/dist/{vue-ui-xy-CbM75yXK.cjs → vue-ui-xy-BRTegbdr.cjs} +1 -1
  147. package/dist/{vue-ui-xy-canvas-D7MrUJj7.js → vue-ui-xy-canvas-DsTqLLWp.js} +53 -53
  148. package/dist/{vue-ui-xy-canvas-DWvIvSry.cjs → vue-ui-xy-canvas-hn3ncIFk.cjs} +2 -2
  149. package/dist/{vue-ui-xy-CXoWP8bh.js → vue-ui-xy-pSvq591u.js} +14 -14
  150. package/package.json +1 -1
  151. package/dist/vue-ui-age-pyramid-Dxx1mVwR.cjs +0 -1
  152. package/dist/vue-ui-bullet-QrXtipbT.cjs +0 -34
  153. package/dist/vue-ui-carousel-table-Cfif8Oiz.cjs +0 -1
  154. package/dist/vue-ui-donut-By3QRfkV.cjs +0 -1
  155. package/dist/vue-ui-donut-evolution-DEABWsj0.cjs +0 -1
  156. package/dist/vue-ui-dumbbell-Dfb1l5qP.cjs +0 -9
  157. package/dist/vue-ui-flow-CCvTnu7z.cjs +0 -1
  158. package/dist/vue-ui-funnel-DKxAPRi_.cjs +0 -1
  159. package/dist/vue-ui-galaxy-D2kmqwpI.cjs +0 -1
  160. package/dist/vue-ui-gauge-BFA_unjg.cjs +0 -1
  161. package/dist/vue-ui-heatmap-C0VxwPhr.cjs +0 -1
  162. package/dist/vue-ui-history-plot-BmGodgUx.cjs +0 -1
  163. package/dist/vue-ui-molecule-Dzh-0SWI.cjs +0 -1
  164. package/dist/vue-ui-mood-radar-DV6ZZIXF.cjs +0 -1
  165. package/dist/vue-ui-quadrant-CIr4i6cC.cjs +0 -1
  166. package/dist/vue-ui-radar-Czmsd_uv.cjs +0 -1
  167. package/dist/vue-ui-relation-circle-B1uMTqFP.cjs +0 -1
  168. package/dist/vue-ui-scatter-CTI943ks.cjs +0 -1
  169. package/dist/vue-ui-stackbar-D4AIFoQT.cjs +0 -6
  170. package/dist/vue-ui-strip-plot-ClNxSw9M.cjs +0 -1
  171. package/dist/vue-ui-table-heatmap-BE3UT8U9.cjs +0 -1
  172. package/dist/vue-ui-table-sparkline-BeYviUrb.cjs +0 -1
  173. package/dist/vue-ui-table-sparkline-YV8DUOqh.js +0 -600
  174. package/dist/vue-ui-thermometer-C6lMWRiF.cjs +0 -1
  175. package/dist/vue-ui-tiremarks-PGGgsNgS.cjs +0 -1
  176. package/dist/vue-ui-treemap-BzRVKqXL.cjs +0 -1
  177. package/dist/vue-ui-waffle-O8pAEf4X.cjs +0 -1
  178. package/dist/vue-ui-wheel-CnFdB_B1.cjs +0 -1
  179. package/dist/vue-ui-word-cloud-X4mp280j.cjs +0 -1
@@ -0,0 +1,647 @@
1
+ import { useCssVars as Ae, ref as p, computed as _, watch as pe, onMounted as Oe, openBlock as d, createElementBlock as c, normalizeClass as X, unref as i, normalizeStyle as s, createElementVNode as f, toDisplayString as C, createCommentVNode as b, withDirectives as $e, createVNode as $, Fragment as J, renderList as K, createBlock as ze, createSlots as Pe, withCtx as N, renderSlot as z, normalizeProps as De, guardReactiveProps as Ne, nextTick as Fe } from "vue";
2
+ import { u as Ve, c as Te, t as We, a as Me, p as F, b as Ee, o as Be, e as fe, g as Ge, $ as Ue, d as Le, i as V, f as T, q as Re, r as He } from "./index-DhxnZ6ZS.js";
3
+ import { u as me } from "./useNestedProp-BcqToEU0.js";
4
+ import qe from "./vue-ui-sparkline-D_QkkgS-.js";
5
+ import W from "./BaseIcon-CiQzR1fE.js";
6
+ import { u as Xe, U as Je, v as Ke } from "./usePrinter-mDGfOQZA.js";
7
+ import { u as Qe } from "./useUserOptionState-BIvW1Kz7.js";
8
+ import { _ as Ye } from "./_plugin-vue_export-helper-CHgC5LLL.js";
9
+ const Ze = ["id"], je = { style: { "z-index": "1", "padding-right": "24px" } }, et = {
10
+ key: 0,
11
+ style: {
12
+ display: "flex",
13
+ flexDirection: "row",
14
+ alignItems: "center"
15
+ }
16
+ }, tt = {
17
+ key: 0,
18
+ style: {
19
+ display: "flex",
20
+ flexDirection: "row",
21
+ alignItems: "center"
22
+ }
23
+ }, at = ["onClick"], lt = ["onClick"], ot = ["data-cell"], nt = ["data-cell", "onPointerenter"], ut = ["data-cell"], st = ["data-cell"], rt = ["data-cell"], it = ["data-cell"], dt = {
24
+ key: 1,
25
+ ref: "source",
26
+ dir: "auto"
27
+ }, vt = {
28
+ __name: "vue-ui-table-sparkline",
29
+ props: {
30
+ config: {
31
+ type: Object,
32
+ default() {
33
+ return {};
34
+ }
35
+ },
36
+ dataset: {
37
+ type: Array,
38
+ default() {
39
+ return [];
40
+ }
41
+ }
42
+ },
43
+ setup(ge, { expose: be }) {
44
+ const x = ge;
45
+ Ae((t) => ({
46
+ "3c9bf2d3": t.tdo
47
+ }));
48
+ const { vue_ui_table_sparkline: ye } = Ve(), M = p(Te()), Q = p(0), E = p(0), B = p(null), e = _({
49
+ get: () => j(),
50
+ set: (t) => t
51
+ }), { userOptionsVisible: G, setUserOptionsVisibility: Y, keepUserOptionState: Z } = Qe({ config: e.value });
52
+ function j() {
53
+ const t = me({
54
+ userConfig: x.config,
55
+ defaultConfig: ye
56
+ });
57
+ return t.theme ? {
58
+ ...me({
59
+ userConfig: We.vue_ui_table_sparkline[t.theme] || x.config,
60
+ defaultConfig: t
61
+ }),
62
+ customPalette: Me[t.theme] || F
63
+ } : t;
64
+ }
65
+ pe(() => x.config, (t) => {
66
+ e.value = j(), G.value = !e.value.showOnChartHover, oe(), E.value += 1;
67
+ }, { deep: !0 }), pe(() => x.dataset, (t) => {
68
+ m.value = A.value, E.value += 1;
69
+ }, { deep: !0 });
70
+ const { isPrinting: ee, isImaging: te, generatePdf: ae, generateImage: le } = Xe({
71
+ elementId: `table_${M.value}`,
72
+ fileName: e.value.title.text || "vue-ui-table-sparkline"
73
+ }), he = _(() => Ee(e.value.customPalette)), P = p(null), U = p(!1), ke = _(() => e.value.responsiveBreakpoint);
74
+ Oe(() => {
75
+ oe();
76
+ });
77
+ const L = p(e.value.colNames);
78
+ function oe() {
79
+ Be(x.dataset) && fe({
80
+ componentName: "VueUiTableSparkline",
81
+ type: "dataset"
82
+ });
83
+ const t = new ResizeObserver((l) => {
84
+ l.forEach((a) => {
85
+ U.value = a.contentRect.width < ke.value;
86
+ });
87
+ });
88
+ P.value && t.observe(P.value), L.value = [];
89
+ for (let l = 0; l < se.value; l += 1)
90
+ L.value.push(e.value.colNames[l] || `col ${l}`);
91
+ }
92
+ const ne = _(() => (x.dataset.forEach((t, l) => {
93
+ Ge({
94
+ datasetObject: t,
95
+ requiredAttributes: ["name", "values"]
96
+ }).forEach((a) => {
97
+ fe({
98
+ componentName: "VueUiTableSparkline",
99
+ type: "datasetSerieAttribute",
100
+ property: a,
101
+ index: l
102
+ });
103
+ });
104
+ }), x.dataset.map((t, l) => {
105
+ const a = (t.values || []).map((v) => isNaN(v) ? 0 : v ?? 0), o = a.reduce((v, r) => v + r, 0), u = o / a.length, n = Ue(a);
106
+ return {
107
+ ...t,
108
+ values: t.values || [],
109
+ color: Le(t.color) || he.value[l] || F[l] || F[l % F.length],
110
+ sum: o,
111
+ average: u,
112
+ median: n,
113
+ sparklineDataset: a.map((v, r) => ({
114
+ period: e.value.colNames[r] || `col ${r}`,
115
+ value: v || 0
116
+ }))
117
+ };
118
+ })));
119
+ function _e(t) {
120
+ const a = (t[0].values || []).map(
121
+ (u, n) => t.map((v) => v.values[n] || [])
122
+ ).map(
123
+ (u) => u.map((n, v) => [n, v]).sort((n, v) => v[0] - n[0]).map((n) => n[1])
124
+ );
125
+ return t.map((u, n) => ({
126
+ ...u,
127
+ values: u.values || [],
128
+ orders: a[n]
129
+ }));
130
+ }
131
+ const A = _(() => _e(ne.value)), m = p(A.value), Ce = _(() => Math.max(...m.value.map((t) => (t.values || []).length))), R = p(void 0), H = p(!1), g = p(void 0), ue = p(1);
132
+ function I() {
133
+ H.value = !1, g.value = void 0, y.value = void 0, ue.value = 1, O.value.forEach((t) => t.state = 1), w.value = {
134
+ name: 1,
135
+ sum: 1,
136
+ average: 1,
137
+ median: 1
138
+ }, m.value = A.value;
139
+ }
140
+ function D(t, l, a) {
141
+ if (["name", "sum", "average", "median"].includes(t.type)) {
142
+ xe(t.type, l, a);
143
+ return;
144
+ }
145
+ if (!de(l)) return;
146
+ if (S.value = l, y.value = void 0, ![null, void 0].includes(g.value) && l !== g.value && (g.value = void 0, I()), O.value[l].state === a && g.value === l) {
147
+ g.value = void 0, I();
148
+ return;
149
+ }
150
+ H.value = !0, g.value = l;
151
+ const o = A.value.map((r) => r.values[l] || []), u = a;
152
+ O.value[l].state = u, ue.value = u, l === R.value ? R.value = void 0 : R.value = l;
153
+ const v = o.map((r, h) => [h, r]).sort((r, h) => u * (h[1] - r[1])).map((r) => r[0]).map((r) => A.value[r]);
154
+ m.value = v, E.value += 1;
155
+ }
156
+ const se = _(() => Math.max(...x.dataset.map((t) => (t.values || []).length))), k = _(() => {
157
+ let t = L.value.map((a) => ({
158
+ type: "reg",
159
+ value: a
160
+ }));
161
+ if (!t.length)
162
+ for (let a = 0; a < se.value; a += 1)
163
+ t.push({ type: "reg", value: `col ${a + 1}` });
164
+ e.value.showTotal && (t = [...t, { type: "sum", value: e.value.translations.total }]);
165
+ let l;
166
+ return e.value.showAverage && e.value.showMedian ? l = [
167
+ ...t,
168
+ { type: "average", value: e.value.translations.average },
169
+ { type: "median", value: e.value.translations.median }
170
+ ] : e.value.showAverage && !e.value.showMedian ? l = [...t, { type: "average", value: e.value.translations.average }] : !e.value.showAverage && e.value.showMedian ? l = [...t, { type: "median", value: e.value.translations.median }] : l = t, e.value.showSparklines ? [...l, { type: "chart", value: e.value.translations.chart }] : l;
171
+ }), w = p({
172
+ name: 1,
173
+ sum: 1,
174
+ average: 1,
175
+ median: 1
176
+ }), y = p(void 0);
177
+ function xe(t, l, a) {
178
+ if (!m.value || m.value.length === 0 || !ve(t)) return;
179
+ if (y.value !== t && (y.value = void 0), ![null, void 0].includes(g.value) && l !== g.value && I(), g.value = void 0, w.value[t] === a && y.value) {
180
+ y.value = void 0, I();
181
+ return;
182
+ }
183
+ y.value = t, H.value = !0, w.value[t] = a, [null, void 0].includes(l) || (O.value[l].state = w.value[t]);
184
+ const o = w.value[t], u = [...m.value].sort((n, v) => {
185
+ const r = n[t] ?? (typeof n[t] == "number" ? 0 : ""), h = v[t] ?? (typeof v[t] == "number" ? 0 : "");
186
+ return typeof r == "string" && typeof h == "string" ? o === -1 ? r.localeCompare(h) : h.localeCompare(r) : typeof r == "number" && typeof h == "number" ? o === -1 ? r - h : h - r : 0;
187
+ });
188
+ m.value = u;
189
+ }
190
+ const S = p(void 0), q = p(void 0);
191
+ function we({ dataIndex: t, serieIndex: l }) {
192
+ S.value = t, q.value = l, B.value[t] && !U.value && B.value[t].scrollIntoView({ behavior: "smooth", block: "nearest", inline: "center" });
193
+ }
194
+ const re = p(!1);
195
+ function Se(t) {
196
+ re.value = t, Q.value += 1;
197
+ }
198
+ function ie() {
199
+ Fe(() => {
200
+ const t = [e.value.translations.serie].concat(k.value), l = ne.value.map((u, n) => [
201
+ [u.name],
202
+ u.values,
203
+ [u.sum],
204
+ [u.average],
205
+ [u.median]
206
+ ]), a = [t].concat(l), o = Re(a);
207
+ He({
208
+ csvContent: o,
209
+ title: e.value.title.text || "vue-ui-table-sparkline"
210
+ });
211
+ });
212
+ }
213
+ function de(t) {
214
+ return e.value.sortedDataColumnIndices.includes(t);
215
+ }
216
+ function ve(t) {
217
+ return t.type === "name" || t === "name" ? e.value.sortedSeriesName : t.type === "sum" || t === "sum" ? e.value.sortedSum : t.type === "average" || t === "average" ? e.value.sortedAverage : t.type === "median" || t === "median" ? e.value.sortedMedian : !1;
218
+ }
219
+ function ce(t, l, a) {
220
+ return ["sum", "average", "median"].includes(l.type) ? y.value === l.type && w.value[l.type] === a ? 1 : 0.3 : t === g.value && O.value[t].state === a ? 1 : 0.3;
221
+ }
222
+ function Ie() {
223
+ e.value.resetSortOnClickOutside && I();
224
+ }
225
+ const O = _({
226
+ get: () => k.value.map((t) => ({ state: 1 })),
227
+ set: (t) => t
228
+ });
229
+ return be({
230
+ generatePdf: ae,
231
+ generateImage: le,
232
+ generateCsv: ie,
233
+ restoreOrder: I
234
+ }), (t, l) => (d(), c("div", {
235
+ ref_key: "tableContainer",
236
+ ref: P,
237
+ class: X({ "vue-ui-responsive": U.value }),
238
+ style: { overflow: "hidden" },
239
+ id: `table_${M.value}`,
240
+ onMouseenter: l[3] || (l[3] = () => i(Y)(!0)),
241
+ onMouseleave: l[4] || (l[4] = () => i(Y)(!1))
242
+ }, [
243
+ e.value.title.text ? (d(), c("div", {
244
+ key: 0,
245
+ class: "vue-ui-table-sparkline-caption",
246
+ style: s({ backgroundColor: e.value.title.backgroundColor })
247
+ }, [
248
+ f("div", {
249
+ style: s({
250
+ fontSize: `${e.value.title.fontSize}px`,
251
+ fontWeight: e.value.title.bold ? "bold" : "normal",
252
+ color: e.value.title.color,
253
+ textAlign: e.value.title.textAlign
254
+ })
255
+ }, C(e.value.title.text), 5),
256
+ e.value.title.subtitle.text ? (d(), c("div", {
257
+ key: 0,
258
+ style: s({
259
+ fontSize: `${e.value.title.subtitle.fontSize}px`,
260
+ fontWeight: e.value.title.subtitle.bold ? "bold" : "normal",
261
+ color: e.value.title.subtitle.color,
262
+ textAlign: e.value.title.textAlign
263
+ })
264
+ }, C(e.value.title.subtitle.text), 5)) : b("", !0)
265
+ ], 4)) : b("", !0),
266
+ f("div", {
267
+ style: { overflow: "auto" },
268
+ onPointerleave: l[2] || (l[2] = (a) => {
269
+ q.value = void 0, S.value = void 0;
270
+ })
271
+ }, [
272
+ f("table", {
273
+ class: "vue-ui-data-table",
274
+ style: s({ fontFamily: e.value.fontFamily, position: "relative" })
275
+ }, [
276
+ f("thead", je, [
277
+ $e((d(), c("tr", {
278
+ role: "row",
279
+ class: "vue-ui-data-table__thead-row",
280
+ style: s({
281
+ backgroundColor: e.value.thead.backgroundColor,
282
+ color: e.value.thead.color
283
+ })
284
+ }, [
285
+ f("th", {
286
+ role: "cell",
287
+ style: s({
288
+ backgroundColor: e.value.thead.backgroundColor,
289
+ border: e.value.thead.outline,
290
+ textAlign: e.value.thead.textAlign,
291
+ fontWeight: e.value.thead.bold ? "bold" : "normal"
292
+ }),
293
+ class: "sticky-col-first"
294
+ }, [
295
+ f("div", {
296
+ style: s({
297
+ display: "flex",
298
+ flexDirection: "row",
299
+ alignItems: "center",
300
+ gap: "3px",
301
+ justifyContent: e.value.thead.textAlign
302
+ })
303
+ }, [
304
+ f("span", null, C(e.value.translations.serie), 1),
305
+ m.value.length > 1 && e.value.sortedSeriesName ? (d(), c("div", et, [
306
+ f("button", {
307
+ class: "vue-ui-table-sparkline-sorting-button vue-ui-table-sparkline-sorting-button-down",
308
+ onClick: l[0] || (l[0] = (a) => D({ type: "name" }, null, -1))
309
+ }, [
310
+ $(W, {
311
+ size: 12,
312
+ name: "arrowBottom",
313
+ stroke: e.value.thead.color,
314
+ style: s({
315
+ opacity: y.value === "name" && w.value.name === -1 ? 1 : 0.3
316
+ })
317
+ }, null, 8, ["stroke", "style"])
318
+ ]),
319
+ f("button", {
320
+ class: "vue-ui-table-sparkline-sorting-button vue-ui-table-sparkline-sorting-button-up",
321
+ onClick: l[1] || (l[1] = (a) => D({ type: "name" }, null, 1))
322
+ }, [
323
+ $(W, {
324
+ size: 12,
325
+ name: "arrowTop",
326
+ stroke: e.value.thead.color,
327
+ style: s({
328
+ opacity: y.value === "name" && w.value.name === 1 ? 1 : 0.3
329
+ })
330
+ }, null, 8, ["stroke", "style"])
331
+ ])
332
+ ])) : b("", !0)
333
+ ], 4)
334
+ ], 4),
335
+ (d(!0), c(J, null, K(k.value, (a, o) => (d(), c("th", {
336
+ role: "cell",
337
+ style: s({
338
+ background: e.value.thead.backgroundColor,
339
+ border: e.value.thead.outline,
340
+ textAlign: e.value.thead.textAlign,
341
+ fontWeight: e.value.thead.bold ? "bold" : "normal",
342
+ minWidth: o === k.value.length - 1 ? `${e.value.sparkline.dimensions.width}px` : "48px",
343
+ paddingRight: o === k.value.length - 1 && e.value.userOptions.show ? "36px" : ""
344
+ }),
345
+ class: X({ "sticky-col": o === k.value.length - 1 && e.value.showSparklines })
346
+ }, [
347
+ f("div", {
348
+ style: s({
349
+ display: "flex",
350
+ flexDirection: "row",
351
+ alignItems: "center",
352
+ gap: "3px",
353
+ justifyContent: e.value.thead.textAlign
354
+ })
355
+ }, [
356
+ f("span", null, C(a.value), 1),
357
+ m.value.length > 1 && (de(o) || ve(a)) ? (d(), c("div", tt, [
358
+ f("button", {
359
+ class: "vue-ui-table-sparkline-sorting-button vue-ui-table-sparkline-sorting-button-down",
360
+ onClick: () => D(a, o, -1)
361
+ }, [
362
+ $(W, {
363
+ size: 12,
364
+ name: "arrowBottom",
365
+ stroke: e.value.thead.color,
366
+ style: s({
367
+ opacity: ce(o, a, -1)
368
+ })
369
+ }, null, 8, ["stroke", "style"])
370
+ ], 8, at),
371
+ f("button", {
372
+ class: "vue-ui-table-sparkline-sorting-button vue-ui-table-sparkline-sorting-button-up",
373
+ onClick: () => D(a, o, 1)
374
+ }, [
375
+ $(W, {
376
+ size: 12,
377
+ name: "arrowTop",
378
+ stroke: e.value.thead.color,
379
+ style: s({
380
+ opacity: ce(o, a, 1)
381
+ })
382
+ }, null, 8, ["stroke", "style"])
383
+ ], 8, lt)
384
+ ])) : b("", !0)
385
+ ], 4),
386
+ e.value.userOptions.show && o === k.value.length - 1 && (i(Z) || i(G)) ? (d(), ze(Je, {
387
+ ref_for: !0,
388
+ ref: "details",
389
+ key: `user_option_${Q.value}`,
390
+ backgroundColor: e.value.thead.backgroundColor,
391
+ color: e.value.thead.color,
392
+ isPrinting: i(ee),
393
+ isImaging: i(te),
394
+ uid: M.value,
395
+ hasPdf: e.value.userOptions.buttons.pdf,
396
+ hasXls: e.value.userOptions.buttons.csv,
397
+ hasImg: e.value.userOptions.buttons.img,
398
+ hasFullscreen: e.value.userOptions.buttons.fullscreen,
399
+ isFullscreen: re.value,
400
+ titles: { ...e.value.userOptions.buttonTitles },
401
+ chartElement: P.value,
402
+ position: e.value.userOptions.position,
403
+ onToggleFullscreen: Se,
404
+ onGeneratePdf: i(ae),
405
+ onGenerateImage: i(le),
406
+ onGenerateCsv: ie,
407
+ style: s({
408
+ visibility: i(Z) ? i(G) ? "visible" : "hidden" : "visible"
409
+ })
410
+ }, Pe({ _: 2 }, [
411
+ t.$slots.optionPdf ? {
412
+ name: "optionPdf",
413
+ fn: N(() => [
414
+ z(t.$slots, "optionPdf", {}, void 0, !0)
415
+ ]),
416
+ key: "0"
417
+ } : void 0,
418
+ t.$slots.optionCsv ? {
419
+ name: "optionCsv",
420
+ fn: N(() => [
421
+ z(t.$slots, "optionCsv", {}, void 0, !0)
422
+ ]),
423
+ key: "1"
424
+ } : void 0,
425
+ t.$slots.optionImg ? {
426
+ name: "optionImg",
427
+ fn: N(() => [
428
+ z(t.$slots, "optionImg", {}, void 0, !0)
429
+ ]),
430
+ key: "2"
431
+ } : void 0,
432
+ t.$slots.optionFullscreen ? {
433
+ name: "optionFullscreen",
434
+ fn: N(({ toggleFullscreen: u, isFullscreen: n }) => [
435
+ z(t.$slots, "optionFullscreen", De(Ne({ toggleFullscreen: u, isFullscreen: n })), void 0, !0)
436
+ ]),
437
+ key: "3"
438
+ } : void 0
439
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "onGeneratePdf", "onGenerateImage", "style"])) : b("", !0)
440
+ ], 6))), 256))
441
+ ], 4)), [
442
+ [i(Ke), Ie]
443
+ ])
444
+ ]),
445
+ f("tbody", null, [
446
+ (d(!0), c(J, null, K(m.value, (a, o) => (d(), c("tr", {
447
+ role: "row",
448
+ style: s({
449
+ backgroundColor: e.value.tbody.backgroundColor,
450
+ color: e.value.tbody.color
451
+ }),
452
+ class: X({ "vue-ui-data-table__tbody__row": !0, "vue-ui-data-table__tbody__row-even": o % 2 === 0, "vue-ui-data-table__tbody__row-odd": o % 2 !== 0 })
453
+ }, [
454
+ f("td", {
455
+ role: "cell",
456
+ style: s({
457
+ backgroundColor: e.value.tbody.backgroundColor,
458
+ border: e.value.tbody.outline,
459
+ fontSize: `${e.value.tbody.fontSize}px`,
460
+ fontWeight: e.value.tbody.bold ? "bold" : "normal",
461
+ textAlign: e.value.tbody.textAlign
462
+ }),
463
+ "data-cell": e.value.translations.serie,
464
+ class: "vue-ui-data-table__tbody__td sticky-col-first"
465
+ }, [
466
+ f("div", {
467
+ dir: "auto",
468
+ style: s({
469
+ display: "flex",
470
+ flexDirection: "row",
471
+ alignItems: "center",
472
+ gap: "6px",
473
+ justifyContent: e.value.tbody.textAlign
474
+ })
475
+ }, [
476
+ e.value.tbody.showColorMarker ? (d(), c("span", {
477
+ key: 0,
478
+ style: s({ color: a.color })
479
+ }, "⬤", 4)) : b("", !0),
480
+ f("span", null, C(a.name ?? "-"), 1)
481
+ ], 4)
482
+ ], 12, ot),
483
+ (d(!0), c(J, null, K(Ce.value, (u, n) => (d(), c("td", {
484
+ dir: "auto",
485
+ role: "cell",
486
+ ref_for: !0,
487
+ ref_key: "TD",
488
+ ref: B,
489
+ style: s({
490
+ border: e.value.tbody.outline,
491
+ fontSize: `${e.value.tbody.fontSize}px`,
492
+ fontWeight: e.value.tbody.bold ? "bold" : "normal",
493
+ textAlign: e.value.tbody.textAlign,
494
+ background: S.value !== void 0 && n === S.value ? e.value.tbody.selectedColor.useSerieColor ? `${a.color.length > 7 ? a.color.slice(0, -2) : a.color}33` : e.value.tbody.selectedColor.fallback : ""
495
+ }),
496
+ "data-cell": k.value[n] ? k.value[n].value : "",
497
+ class: "vue-ui-data-table__tbody__td",
498
+ onPointerenter: (v) => {
499
+ q.value = o, S.value = n;
500
+ }
501
+ }, C([null, void 0].includes(a.values[n]) ? "-" : i(V)(
502
+ e.value.formatter,
503
+ Number(a.values[n]),
504
+ i(T)({
505
+ p: e.value.prefix,
506
+ v: Number(a.values[n]),
507
+ s: e.value.suffix,
508
+ r: e.value.roundingValues
509
+ }),
510
+ { datapoint: a, seriesIndex: o, datapointIndex: n }
511
+ )), 45, nt))), 256)),
512
+ e.value.showTotal ? (d(), c("td", {
513
+ key: 0,
514
+ dir: "auto",
515
+ role: "cell",
516
+ style: s({
517
+ border: e.value.tbody.outline,
518
+ fontSize: `${e.value.tbody.fontSize}px`,
519
+ fontWeight: e.value.tbody.bold ? "bold" : "normal",
520
+ textAlign: e.value.tbody.textAlign
521
+ }),
522
+ "data-cell": e.value.translations.total,
523
+ class: "vue-ui-data-table__tbody__td"
524
+ }, C(i(V)(
525
+ e.value.formatter,
526
+ a.sum,
527
+ i(T)({
528
+ p: e.value.prefix,
529
+ v: a.sum,
530
+ s: e.value.suffix,
531
+ r: e.value.roundingTotal
532
+ }),
533
+ { datapoint: a.sum, seriesIndex: o }
534
+ )), 13, ut)) : b("", !0),
535
+ e.value.showAverage ? (d(), c("td", {
536
+ key: 1,
537
+ dir: "auto",
538
+ role: "cell",
539
+ style: s({
540
+ border: e.value.tbody.outline,
541
+ fontSize: `${e.value.tbody.fontSize}px`,
542
+ fontWeight: e.value.tbody.bold ? "bold" : "normal",
543
+ textAlign: e.value.tbody.textAlign
544
+ }),
545
+ "data-cell": e.value.translations.average,
546
+ class: "vue-ui-data-table__tbody__td"
547
+ }, C(i(V)(
548
+ e.value.formatter,
549
+ a.average,
550
+ i(T)({
551
+ p: e.value.prefix,
552
+ v: a.average,
553
+ s: e.value.suffix,
554
+ r: e.value.roundingAverage
555
+ }),
556
+ { datapoint: a.average, seriesIndex: o }
557
+ )), 13, st)) : b("", !0),
558
+ e.value.showMedian ? (d(), c("td", {
559
+ key: 2,
560
+ dir: "auto",
561
+ role: "cell",
562
+ style: s({
563
+ border: e.value.tbody.outline,
564
+ fontSize: `${e.value.tbody.fontSize}px`,
565
+ fontWeight: e.value.tbody.bold ? "bold" : "normal",
566
+ textAlign: e.value.tbody.textAlign
567
+ }),
568
+ "data-cell": e.value.translations.median,
569
+ class: "vue-ui-data-table__tbody__td"
570
+ }, C(i(V)(
571
+ e.value.formatter,
572
+ a.median,
573
+ i(T)({
574
+ p: e.value.prefix,
575
+ v: a.median,
576
+ s: e.value.suffix,
577
+ r: e.value.roundingMedian
578
+ }),
579
+ { datapoint: a.median, seriesIndex: o }
580
+ )), 13, rt)) : b("", !0),
581
+ e.value.showSparklines ? (d(), c("td", {
582
+ key: 3,
583
+ role: "cell",
584
+ "data-cell": e.value.translations.chart,
585
+ style: s({
586
+ border: e.value.tbody.outline,
587
+ fontSize: `${e.value.tbody.fontSize}px`,
588
+ fontWeight: e.value.tbody.bold ? "bold" : "normal",
589
+ textAlign: e.value.tbody.textAlign,
590
+ backgroundColor: e.value.tbody.backgroundColor,
591
+ padding: "0"
592
+ }),
593
+ class: "vue-ui-data-table__tbody__td sticky-col"
594
+ }, [
595
+ $(qe, {
596
+ onHoverIndex: ({ index: u }) => we({ dataIndex: u, serieIndex: o }),
597
+ "height-ratio": e.value.sparkline.dimensions.heightRatio,
598
+ "forced-padding": 30,
599
+ dataset: a.sparklineDataset,
600
+ showInfo: !1,
601
+ selectedIndex: S.value,
602
+ config: {
603
+ type: e.value.sparkline.type,
604
+ style: {
605
+ backgroundColor: "transparent",
606
+ animation: {
607
+ show: e.value.sparkline.animation.show && !i(ee) && !i(te),
608
+ animationFrames: e.value.sparkline.animation.animationFrames
609
+ },
610
+ line: {
611
+ color: a.color,
612
+ smooth: e.value.sparkline.smooth,
613
+ strokeWidth: e.value.sparkline.strokeWidth
614
+ },
615
+ bar: {
616
+ color: a.color
617
+ },
618
+ area: {
619
+ color: a.color,
620
+ opacity: e.value.sparkline.showArea ? 16 : 0,
621
+ useGradient: e.value.sparkline.useGradient
622
+ },
623
+ verticalIndicator: {
624
+ color: a.color
625
+ },
626
+ plot: {
627
+ radius: 9,
628
+ stroke: e.value.tbody.backgroundColor,
629
+ strokeWidth: 3
630
+ }
631
+ }
632
+ }
633
+ }, null, 8, ["onHoverIndex", "height-ratio", "dataset", "selectedIndex", "config"])
634
+ ], 12, it)) : b("", !0)
635
+ ], 6))), 256))
636
+ ])
637
+ ], 4)
638
+ ], 32),
639
+ t.$slots.source ? (d(), c("div", dt, [
640
+ z(t.$slots, "source", {}, void 0, !0)
641
+ ], 512)) : b("", !0)
642
+ ], 42, Ze));
643
+ }
644
+ }, kt = /* @__PURE__ */ Ye(vt, [["__scopeId", "data-v-507d259d"]]);
645
+ export {
646
+ kt as default
647
+ };