vue-data-ui 2.4.51 → 2.4.52

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 (178) hide show
  1. package/dist/{Arrow-BUz63pb2.js → Arrow-BuBoE64l.js} +1 -1
  2. package/dist/{Arrow-2a_SwBgz.cjs → Arrow-CFlFdPC5.cjs} +1 -1
  3. package/dist/{BaseIcon-BASl_NFX.cjs → BaseIcon-CfhoS_qC.cjs} +1 -1
  4. package/dist/{BaseIcon-CmiukQBl.js → BaseIcon-zmxwsaLW.js} +1 -1
  5. package/dist/{DataTable-DGf6RrOJ.js → DataTable-COkA4Nyz.js} +2 -2
  6. package/dist/{DataTable-G3ICK-5h.cjs → DataTable-CwAdpLng.cjs} +1 -1
  7. package/dist/{Legend-BiuPlEMg.cjs → Legend-CR9ydX8N.cjs} +1 -1
  8. package/dist/{Legend-BLaZxMge.js → Legend-bYlSC7I7.js} +1 -1
  9. package/dist/{PackageVersion-Bj34UNnQ.cjs → PackageVersion-C1F3QLoY.cjs} +1 -1
  10. package/dist/{PackageVersion-CxJghxYD.js → PackageVersion-Dz3KcTL4.js} +1 -1
  11. package/dist/{PenAndPaper-ZdZEumki.js → PenAndPaper-BycdTwSP.js} +3 -3
  12. package/dist/{PenAndPaper-D9yQnc0e.cjs → PenAndPaper-DDheVRNG.cjs} +1 -1
  13. package/dist/{Shape-yducHWd0.cjs → Shape-BBp5EwJH.cjs} +1 -1
  14. package/dist/{Shape-DIKzzpFm.js → Shape-BDJJ38uM.js} +1 -1
  15. package/dist/{Slicer-BHS9W4MJ.cjs → Slicer-7oTpm-cZ.cjs} +1 -1
  16. package/dist/{Slicer-Cxdl3cDt.js → Slicer-D_DaIThC.js} +2 -2
  17. package/dist/{Title-Bk_55doC.cjs → Title-B7ruS8yl.cjs} +1 -1
  18. package/dist/{Title-aSAft5dl.js → Title-aMb2ETf7.js} +1 -1
  19. package/dist/{Tooltip-smutPF--.js → Tooltip-BRZ3DT4p.js} +1 -1
  20. package/dist/{Tooltip-G7ENx87_.cjs → Tooltip-BqSN71SL.cjs} +1 -1
  21. package/dist/{index-DhDYBLBe.cjs → index-BkXYJDpD.cjs} +1 -1
  22. package/dist/{index-BbPeL8Gp.js → index-K5uyh1gA.js} +1 -1
  23. package/dist/style.css +1 -1
  24. package/dist/{useNestedProp-BphUExEh.cjs → useNestedProp-C6IvqE-r.cjs} +1 -1
  25. package/dist/{useNestedProp-BN8claGG.js → useNestedProp-DifqJZAs.js} +1 -1
  26. package/dist/{usePrinter-2_QjJFdH.cjs → usePrinter-DHv-BwME.cjs} +1 -1
  27. package/dist/{usePrinter-DaybDVqP.js → usePrinter-p_ZZlGc9.js} +1 -1
  28. package/dist/{vue-data-ui-Ckbp-yIf.js → vue-data-ui-3PlAeIlX.js} +60 -60
  29. package/dist/{vue-data-ui-C5vsHRHD.cjs → vue-data-ui-M0E2b8Dw.cjs} +1 -1
  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-PrijRaoI.js} +30 -30
  33. package/dist/{vue-ui-3d-bar-DUgumRsg.cjs → vue-ui-3d-bar-VQyMytda.cjs} +2 -2
  34. package/dist/{vue-ui-accordion-5d5iVpr7.js → vue-ui-accordion-CsJT7Az3.js} +3 -3
  35. package/dist/{vue-ui-accordion-B7tNzRWB.cjs → vue-ui-accordion-kr18wKfc.cjs} +1 -1
  36. package/dist/vue-ui-age-pyramid-BV1MgH8J.cjs +1 -0
  37. package/dist/{vue-ui-age-pyramid-BH1khaaq.js → vue-ui-age-pyramid-DFYykOow.js} +42 -42
  38. package/dist/{vue-ui-annotator-B9VKE_qz.js → vue-ui-annotator-Blg3LdqF.js} +1 -1
  39. package/dist/{vue-ui-annotator-jXkB5XnD.cjs → vue-ui-annotator-DffUZR4a.cjs} +1 -1
  40. package/dist/vue-ui-bullet-DSampkai.cjs +34 -0
  41. package/dist/{vue-ui-bullet-BLi9CSZw.js → vue-ui-bullet-Ybz4qPWl.js} +41 -41
  42. package/dist/{vue-ui-candlestick-Da4ygGXR.cjs → vue-ui-candlestick-BxcwK8UI.cjs} +2 -2
  43. package/dist/{vue-ui-candlestick-Bjz1uFbv.js → vue-ui-candlestick-DsVBdCz_.js} +61 -61
  44. package/dist/{vue-ui-carousel-table-B6zgTL-W.js → vue-ui-carousel-table-C2ThrWYt.js} +50 -50
  45. package/dist/vue-ui-carousel-table-DkWNe0mJ.cjs +1 -0
  46. package/dist/{vue-ui-chestnut-D5HpkuIa.js → vue-ui-chestnut-BacH0ZYK.js} +66 -66
  47. package/dist/{vue-ui-chestnut-C_N7EbjQ.cjs → vue-ui-chestnut-Cw8LKuZG.cjs} +3 -3
  48. package/dist/{vue-ui-cursor-DZNIbvR2.js → vue-ui-cursor-CMKSCQ-v.js} +2 -2
  49. package/dist/{vue-ui-cursor-A_siHYBc.cjs → vue-ui-cursor-D2kQNFWy.cjs} +1 -1
  50. package/dist/{vue-ui-dashboard-DCqe4BZg.js → vue-ui-dashboard-9PYl4mWC.js} +2 -2
  51. package/dist/{vue-ui-dashboard-BfPJyiY9.cjs → vue-ui-dashboard-BHwlhK33.cjs} +1 -1
  52. package/dist/{vue-ui-digits-BEhLa3jI.cjs → vue-ui-digits-2yacgzrJ.cjs} +1 -1
  53. package/dist/{vue-ui-digits-BEWCnojc.js → vue-ui-digits-CyTjq_oN.js} +2 -2
  54. package/dist/vue-ui-donut-BNv1eGiu.cjs +1 -0
  55. package/dist/{vue-ui-donut-g5ZLhYPx.js → vue-ui-donut-BxLlCBhU.js} +57 -57
  56. package/dist/{vue-ui-donut-evolution-Cu6dmlT2.js → vue-ui-donut-evolution-Bw9hfwuO.js} +66 -66
  57. package/dist/vue-ui-donut-evolution-DGjHfyq8.cjs +1 -0
  58. package/dist/vue-ui-dumbbell-CjHcgzti.cjs +9 -0
  59. package/dist/{vue-ui-dumbbell-bb4-Ep6o.js → vue-ui-dumbbell-D0PjpD19.js} +46 -46
  60. package/dist/{vue-ui-flow-hD0F6mTK.js → vue-ui-flow-BuTJcn6b.js} +43 -43
  61. package/dist/vue-ui-flow-Dc-KV4a3.cjs +1 -0
  62. package/dist/{vue-ui-funnel-hcbE4yky.js → vue-ui-funnel-CxO1aav3.js} +59 -59
  63. package/dist/vue-ui-funnel-QQGqK4OD.cjs +1 -0
  64. package/dist/{vue-ui-galaxy-ByKjxVWV.js → vue-ui-galaxy-B2uwYVgz.js} +54 -54
  65. package/dist/vue-ui-galaxy-CABgAX76.cjs +1 -0
  66. package/dist/vue-ui-gauge-CTEPbzWe.cjs +1 -0
  67. package/dist/{vue-ui-gauge-PGirbe6O.js → vue-ui-gauge-CqhJx__t.js} +70 -70
  68. package/dist/{vue-ui-gizmo-ChSfBYZ_.js → vue-ui-gizmo-D7G-8Al-.js} +3 -3
  69. package/dist/{vue-ui-gizmo-CHMApil6.cjs → vue-ui-gizmo-DlQOItIS.cjs} +1 -1
  70. package/dist/vue-ui-heatmap-BOwY6qNR.cjs +1 -0
  71. package/dist/{vue-ui-heatmap-CK3FIWpo.js → vue-ui-heatmap-DLNzJh--.js} +87 -87
  72. package/dist/{vue-ui-history-plot-EmQ-Byiz.js → vue-ui-history-plot-CH2mN74k.js} +75 -75
  73. package/dist/vue-ui-history-plot-EiYWpITj.cjs +1 -0
  74. package/dist/{vue-ui-kpi-DjC68pSz.js → vue-ui-kpi-Cb3fLQlS.js} +3 -3
  75. package/dist/{vue-ui-kpi-BdungaO2.cjs → vue-ui-kpi-DB00TrXv.cjs} +1 -1
  76. package/dist/{vue-ui-mini-loader-CzrblCCD.js → vue-ui-mini-loader-Czn2u6m3.js} +2 -2
  77. package/dist/{vue-ui-mini-loader-jwL_pZjb.cjs → vue-ui-mini-loader-DAaZwOTE.cjs} +1 -1
  78. package/dist/{vue-ui-molecule-DBQJQs4Y.js → vue-ui-molecule-BAwzIU19.js} +52 -52
  79. package/dist/vue-ui-molecule-DZ6Z4eru.cjs +1 -0
  80. package/dist/vue-ui-mood-radar-BL3vQzMq.cjs +1 -0
  81. package/dist/{vue-ui-mood-radar-Ca9wPZpJ.js → vue-ui-mood-radar-BXOWHB57.js} +35 -35
  82. package/dist/{vue-ui-nested-donuts-DEdS6dpj.cjs → vue-ui-nested-donuts-D1EF5IEw.cjs} +2 -2
  83. package/dist/{vue-ui-nested-donuts-C8at93dN.js → vue-ui-nested-donuts-F1pwFa1Y.js} +90 -90
  84. package/dist/{vue-ui-onion-B-PXxNu6.js → vue-ui-onion-C9dEaRbc.js} +52 -52
  85. package/dist/{vue-ui-onion-B2ioudP5.cjs → vue-ui-onion-nA8sXxh-.cjs} +2 -2
  86. package/dist/{vue-ui-parallel-coordinate-plot-ByM3So9k.js → vue-ui-parallel-coordinate-plot-Cgc8JHMy.js} +62 -62
  87. package/dist/{vue-ui-parallel-coordinate-plot-DtJi9cT0.cjs → vue-ui-parallel-coordinate-plot-DL4DOhyh.cjs} +2 -2
  88. package/dist/{vue-ui-quadrant-BqOJBcsI.js → vue-ui-quadrant-C_hJHr9T.js} +50 -50
  89. package/dist/vue-ui-quadrant-DJGxKeBq.cjs +1 -0
  90. package/dist/{vue-ui-quick-chart-Bt9KA82P.cjs → vue-ui-quick-chart-C5v_8Kpw.cjs} +1 -1
  91. package/dist/{vue-ui-quick-chart-BfXxT3KM.js → vue-ui-quick-chart-D4k-zSan.js} +9 -9
  92. package/dist/vue-ui-radar-BeGVGueh.cjs +1 -0
  93. package/dist/{vue-ui-radar-BKpD9xDr.js → vue-ui-radar-WKQ-TavD.js} +59 -59
  94. package/dist/{vue-ui-rating-DQRuqev5.js → vue-ui-rating-BrSnMkzF.js} +2 -2
  95. package/dist/{vue-ui-rating-BE545aI4.cjs → vue-ui-rating-DI3L8UYN.cjs} +1 -1
  96. package/dist/vue-ui-relation-circle-BJ_TOhIp.cjs +1 -0
  97. package/dist/{vue-ui-relation-circle-nZ2nBpWX.js → vue-ui-relation-circle-DzZ5H4og.js} +56 -56
  98. package/dist/{vue-ui-rings-B7JzZ3ub.cjs → vue-ui-rings-1qwg2E0O.cjs} +2 -2
  99. package/dist/{vue-ui-rings-C1PV0873.js → vue-ui-rings-43dY-4_7.js} +65 -65
  100. package/dist/vue-ui-scatter-cTK10i0K.cjs +1 -0
  101. package/dist/{vue-ui-scatter-dgs1m3-2.js → vue-ui-scatter-q6Sfqa4W.js} +102 -102
  102. package/dist/{vue-ui-screenshot-Dxj0l8Jg.js → vue-ui-screenshot-CEy169Mc.js} +1 -1
  103. package/dist/{vue-ui-screenshot--cHV0jG3.cjs → vue-ui-screenshot-gOGGT_ti.cjs} +1 -1
  104. package/dist/{vue-ui-skeleton-lkPDknHn.cjs → vue-ui-skeleton-BTN1PKkz.cjs} +1 -1
  105. package/dist/{vue-ui-skeleton-Bniq21d9.js → vue-ui-skeleton-BhA2lIT6.js} +3 -3
  106. package/dist/{vue-ui-smiley-D4DAZIpA.js → vue-ui-smiley-BAFdctGJ.js} +2 -2
  107. package/dist/{vue-ui-smiley-CozXoiti.cjs → vue-ui-smiley-BIEXWWWa.cjs} +1 -1
  108. package/dist/{vue-ui-spark-trend-ZqrwhwqS.js → vue-ui-spark-trend-Deg6oJxD.js} +5 -5
  109. package/dist/{vue-ui-spark-trend-CSqyvI_K.cjs → vue-ui-spark-trend-LqnAP3mZ.cjs} +1 -1
  110. package/dist/{vue-ui-sparkbar-Bph8KIjk.cjs → vue-ui-sparkbar-CJR8pSqp.cjs} +1 -1
  111. package/dist/{vue-ui-sparkbar-q0G4GvFm.js → vue-ui-sparkbar-Dm393iij.js} +4 -4
  112. package/dist/{vue-ui-sparkgauge-nSAW83dN.cjs → vue-ui-sparkgauge-DpP1XF6C.cjs} +1 -1
  113. package/dist/{vue-ui-sparkgauge-DA_h9jcN.js → vue-ui-sparkgauge-WTo7H8eC.js} +4 -4
  114. package/dist/{vue-ui-sparkhistogram-BLYhRNpt.cjs → vue-ui-sparkhistogram-CEvdVaLZ.cjs} +1 -1
  115. package/dist/{vue-ui-sparkhistogram-B1WyBiq_.js → vue-ui-sparkhistogram-DNVBeCU9.js} +5 -5
  116. package/dist/{vue-ui-sparkline-PNix1-R9.cjs → vue-ui-sparkline-B87AKRMY.cjs} +1 -1
  117. package/dist/{vue-ui-sparkline-ccfl0s3m.js → vue-ui-sparkline-Bcn_JAfC.js} +4 -4
  118. package/dist/{vue-ui-sparkstackbar-DpuvEumy.cjs → vue-ui-sparkstackbar-Cmafq74u.cjs} +1 -1
  119. package/dist/{vue-ui-sparkstackbar-PNKwVRu8.js → vue-ui-sparkstackbar-DPPTp1Tm.js} +5 -5
  120. package/dist/{vue-ui-stackbar-BBYnF8qm.js → vue-ui-stackbar-BeXW23yH.js} +43 -43
  121. package/dist/vue-ui-stackbar-DeFiDh8a.cjs +6 -0
  122. package/dist/vue-ui-strip-plot-5n6Om5PH.cjs +1 -0
  123. package/dist/{vue-ui-strip-plot-TVlnzXFq.js → vue-ui-strip-plot-CG-wp65N.js} +78 -78
  124. package/dist/{vue-ui-table-CHdv3KuM.cjs → vue-ui-table-Bbfdq7B8.cjs} +1 -1
  125. package/dist/{vue-ui-table-CsEajH9S.js → vue-ui-table-BzuWkWse.js} +1 -1
  126. package/dist/vue-ui-table-heatmap--Uj5nFcF.cjs +1 -0
  127. package/dist/{vue-ui-table-heatmap-CubRipoB.js → vue-ui-table-heatmap-obAYC2HB.js} +38 -38
  128. package/dist/vue-ui-table-sparkline-Buh41Ovt.cjs +1 -0
  129. package/dist/{vue-ui-table-sparkline-YV8DUOqh.js → vue-ui-table-sparkline-CW0-ubzl.js} +293 -247
  130. package/dist/{vue-ui-thermometer-DmMjSLc1.js → vue-ui-thermometer-BmgPuIr6.js} +74 -74
  131. package/dist/vue-ui-thermometer-DW10BlzG.cjs +1 -0
  132. package/dist/{vue-ui-timer-DvE_nqd9.js → vue-ui-timer-6eWSNYld.js} +5 -5
  133. package/dist/{vue-ui-timer-DteYgv9y.cjs → vue-ui-timer-CKp_yNVJ.cjs} +1 -1
  134. package/dist/{vue-ui-tiremarks-CCrkDgjX.js → vue-ui-tiremarks-DeEI5TAa.js} +46 -46
  135. package/dist/vue-ui-tiremarks-nb8r7akm.cjs +1 -0
  136. package/dist/vue-ui-treemap-B54QUZ46.cjs +1 -0
  137. package/dist/{vue-ui-treemap-C4A4spvg.js → vue-ui-treemap-tlPZye6M.js} +91 -91
  138. package/dist/{vue-ui-vertical-bar-8iL1xiaz.js → vue-ui-vertical-bar-BIst1a32.js} +67 -67
  139. package/dist/{vue-ui-vertical-bar-B60lSXNq.cjs → vue-ui-vertical-bar-CCXF79YU.cjs} +2 -2
  140. package/dist/vue-ui-waffle-Dctw-uNI.cjs +1 -0
  141. package/dist/{vue-ui-waffle-CaYNz-Kd.js → vue-ui-waffle-iJT4g4Ht.js} +48 -48
  142. package/dist/vue-ui-wheel-DnCpgZZo.cjs +1 -0
  143. package/dist/{vue-ui-wheel-BRR2rGou.js → vue-ui-wheel-v1_jsNWp.js} +36 -36
  144. package/dist/vue-ui-word-cloud-BXa6XzUJ.cjs +1 -0
  145. package/dist/{vue-ui-word-cloud-y2GGxwoq.js → vue-ui-word-cloud-DR8E1ArH.js} +66 -66
  146. package/dist/{vue-ui-xy-CXoWP8bh.js → vue-ui-xy-BZ3lbw6i.js} +14 -14
  147. package/dist/{vue-ui-xy-CbM75yXK.cjs → vue-ui-xy-CvFWhRR-.cjs} +1 -1
  148. package/dist/{vue-ui-xy-canvas-DWvIvSry.cjs → vue-ui-xy-canvas-BVw3zOIC.cjs} +2 -2
  149. package/dist/{vue-ui-xy-canvas-D7MrUJj7.js → vue-ui-xy-canvas-hPcU2SBK.js} +53 -53
  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-thermometer-C6lMWRiF.cjs +0 -1
  174. package/dist/vue-ui-tiremarks-PGGgsNgS.cjs +0 -1
  175. package/dist/vue-ui-treemap-BzRVKqXL.cjs +0 -1
  176. package/dist/vue-ui-waffle-O8pAEf4X.cjs +0 -1
  177. package/dist/vue-ui-wheel-CnFdB_B1.cjs +0 -1
  178. package/dist/vue-ui-word-cloud-X4mp280j.cjs +0 -1
@@ -1,16 +1,30 @@
1
- import { useCssVars as Ae, ref as v, computed as h, watch as de, onMounted as Ie, openBlock as d, createElementBlock as c, normalizeClass as R, unref as s, createElementVNode as p, normalizeStyle as i, toDisplayString as k, createCommentVNode as g, withDirectives as Oe, createBlock as H, Fragment as q, renderList as X, createSlots as $e, withCtx as P, renderSlot as O, normalizeProps as ze, guardReactiveProps as Pe, createVNode as Ne, nextTick as De } from "vue";
2
- import { u as Fe, c as Ve, t as Te, a as We, p as N, b as Me, o as Ee, e as ve, g as Be, $ as Ge, d as Ue, i as D, f as F, q as Le, r as Re } from "./index-BbPeL8Gp.js";
3
- import { u as ce } from "./useNestedProp-BN8claGG.js";
4
- import He from "./vue-ui-sparkline-ccfl0s3m.js";
5
- import fe from "./BaseIcon-CmiukQBl.js";
6
- import { u as qe, U as Xe, v as je } from "./usePrinter-DaybDVqP.js";
7
- import { u as Je } from "./useUserOptionState-BIvW1Kz7.js";
8
- import { _ as Ke } from "./_plugin-vue_export-helper-CHgC5LLL.js";
9
- const Qe = ["id"], Ye = { style: { "z-index": "1", "padding-right": "24px" } }, Ze = ["onClick"], et = ["data-cell"], tt = ["data-cell", "onPointerenter"], at = ["data-cell"], lt = ["data-cell"], ot = ["data-cell"], nt = ["data-cell"], ut = {
1
+ import { useCssVars as Ae, ref as p, computed as k, watch as pe, onMounted as Oe, openBlock as d, createElementBlock as c, normalizeClass as X, unref as i, createElementVNode as f, normalizeStyle as s, toDisplayString as _, createCommentVNode as b, withDirectives as $e, createVNode as $, Fragment as j, renderList as J, 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-K5uyh1gA.js";
3
+ import { u as me } from "./useNestedProp-DifqJZAs.js";
4
+ import qe from "./vue-ui-sparkline-Bcn_JAfC.js";
5
+ import W from "./BaseIcon-zmxwsaLW.js";
6
+ import { u as Xe, U as je, v as Je } from "./usePrinter-p_ZZlGc9.js";
7
+ import { u as Ke } from "./useUserOptionState-BIvW1Kz7.js";
8
+ import { _ as Qe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
9
+ const Ye = ["id"], Ze = { 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 = {
10
24
  key: 0,
11
25
  ref: "source",
12
26
  dir: "auto"
13
- }, rt = {
27
+ }, vt = {
14
28
  __name: "vue-ui-table-sparkline",
15
29
  props: {
16
30
  config: {
@@ -26,126 +40,126 @@ const Qe = ["id"], Ye = { style: { "z-index": "1", "padding-right": "24px" } },
26
40
  }
27
41
  }
28
42
  },
29
- setup(pe, { expose: me }) {
30
- const _ = pe;
43
+ setup(ge, { expose: be }) {
44
+ const C = ge;
31
45
  Ae((t) => ({
32
- e629975c: t.tdo
46
+ "617873c4": t.tdo
33
47
  }));
34
- const { vue_ui_table_sparkline: ge } = Fe(), V = v(Ve()), j = v(0), T = v(0), W = v(null), e = h({
35
- get: () => Y(),
48
+ const { vue_ui_table_sparkline: ye } = Ve(), M = p(Te()), K = p(0), E = p(0), B = p(null), e = k({
49
+ get: () => Z(),
36
50
  set: (t) => t
37
- }), { userOptionsVisible: J, setUserOptionsVisibility: K, keepUserOptionState: Q } = Je({ config: e.value });
38
- function Y() {
39
- const t = ce({
40
- userConfig: _.config,
41
- defaultConfig: ge
51
+ }), { userOptionsVisible: G, setUserOptionsVisibility: Q, keepUserOptionState: Y } = Ke({ config: e.value });
52
+ function Z() {
53
+ const t = me({
54
+ userConfig: C.config,
55
+ defaultConfig: ye
42
56
  });
43
57
  return t.theme ? {
44
- ...ce({
45
- userConfig: Te.vue_ui_table_sparkline[t.theme] || _.config,
58
+ ...me({
59
+ userConfig: We.vue_ui_table_sparkline[t.theme] || C.config,
46
60
  defaultConfig: t
47
61
  }),
48
- customPalette: We[t.theme] || N
62
+ customPalette: Me[t.theme] || F
49
63
  } : t;
50
64
  }
51
- de(() => _.config, (t) => {
52
- e.value = Y(), le(), T.value += 1;
53
- }, { deep: !0 }), de(() => _.dataset, (t) => {
54
- b.value = A.value, T.value += 1;
65
+ pe(() => C.config, (t) => {
66
+ e.value = Z(), G.value = !e.value.showOnChartHover, oe(), E.value += 1;
67
+ }, { deep: !0 }), pe(() => C.dataset, (t) => {
68
+ m.value = A.value, E.value += 1;
55
69
  }, { deep: !0 });
56
- const { isPrinting: Z, isImaging: ee, generatePdf: te, generateImage: ae } = qe({
57
- elementId: `table_${V.value}`,
70
+ const { isPrinting: ee, isImaging: te, generatePdf: ae, generateImage: le } = Xe({
71
+ elementId: `table_${M.value}`,
58
72
  fileName: e.value.title.text || "vue-ui-table-sparkline"
59
- }), be = h(() => Me(e.value.customPalette)), $ = v(null), M = v(!1), ye = h(() => e.value.responsiveBreakpoint);
60
- Ie(() => {
61
- le();
73
+ }), he = k(() => Ee(e.value.customPalette)), P = p(null), U = p(!1), ke = k(() => e.value.responsiveBreakpoint);
74
+ Oe(() => {
75
+ oe();
62
76
  });
63
- const E = v(e.value.colNames);
64
- function le() {
65
- Ee(_.dataset) && ve({
77
+ const L = p(e.value.colNames);
78
+ function oe() {
79
+ Be(C.dataset) && fe({
66
80
  componentName: "VueUiTableSparkline",
67
81
  type: "dataset"
68
82
  });
69
83
  const t = new ResizeObserver((l) => {
70
84
  l.forEach((a) => {
71
- M.value = a.contentRect.width < ye.value;
85
+ U.value = a.contentRect.width < ke.value;
72
86
  });
73
87
  });
74
- $.value && t.observe($.value), E.value = [];
75
- for (let l = 0; l < re.value; l += 1)
76
- E.value.push(e.value.colNames[l] || `col ${l}`);
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}`);
77
91
  }
78
- const oe = h(() => (_.dataset.forEach((t, l) => {
79
- Be({
92
+ const ne = k(() => (C.dataset.forEach((t, l) => {
93
+ Ge({
80
94
  datasetObject: t,
81
95
  requiredAttributes: ["name", "values"]
82
96
  }).forEach((a) => {
83
- ve({
97
+ fe({
84
98
  componentName: "VueUiTableSparkline",
85
99
  type: "datasetSerieAttribute",
86
100
  property: a,
87
101
  index: l
88
102
  });
89
103
  });
90
- }), _.dataset.map((t, l) => {
91
- const a = (t.values || []).map((n) => isNaN(n) ? 0 : n ?? 0), o = a.reduce((n, f) => n + f, 0), r = o / a.length, u = Ge(a);
104
+ }), C.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);
92
106
  return {
93
107
  ...t,
94
108
  values: t.values || [],
95
- color: Ue(t.color) || be.value[l] || N[l] || N[l % N.length],
109
+ color: Le(t.color) || he.value[l] || F[l] || F[l % F.length],
96
110
  sum: o,
97
- average: r,
98
- median: u,
99
- sparklineDataset: a.map((n, f) => ({
100
- period: e.value.colNames[f] || `col ${f}`,
101
- value: n || 0
111
+ average: u,
112
+ median: n,
113
+ sparklineDataset: a.map((v, r) => ({
114
+ period: e.value.colNames[r] || `col ${r}`,
115
+ value: v || 0
102
116
  }))
103
117
  };
104
118
  })));
105
- function he(t) {
119
+ function _e(t) {
106
120
  const a = (t[0].values || []).map(
107
- (r, u) => t.map((n) => n.values[u] || [])
121
+ (u, n) => t.map((v) => v.values[n] || [])
108
122
  ).map(
109
- (r) => r.map((u, n) => [u, n]).sort((u, n) => n[0] - u[0]).map((u) => u[1])
123
+ (u) => u.map((n, v) => [n, v]).sort((n, v) => v[0] - n[0]).map((n) => n[1])
110
124
  );
111
- return t.map((r, u) => ({
112
- ...r,
113
- values: r.values || [],
114
- orders: a[u]
125
+ return t.map((u, n) => ({
126
+ ...u,
127
+ values: u.values || [],
128
+ orders: a[n]
115
129
  }));
116
130
  }
117
- const A = h(() => he(oe.value)), b = v(A.value), ke = h(() => Math.max(...b.value.map((t) => (t.values || []).length))), z = v(void 0), B = v(!1), m = v(void 0), ne = v(1);
118
- function w() {
119
- B.value = !1, m.value = void 0, y.value = void 0, ne.value = 1, I.value.forEach((t) => t.state = 1), x.value = {
131
+ const A = k(() => _e(ne.value)), m = p(A.value), Ce = k(() => 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 = {
120
134
  name: 1,
121
135
  sum: 1,
122
136
  average: 1,
123
137
  median: 1
124
- }, b.value = A.value;
138
+ }, m.value = A.value;
125
139
  }
126
- function ue(t, l) {
140
+ function D(t, l, a) {
127
141
  if (["name", "sum", "average", "median"].includes(t.type)) {
128
- _e(t.type, l);
142
+ xe(t.type, l, a);
129
143
  return;
130
144
  }
131
- if (!U(l)) return;
132
- if (S.value = l, y.value = void 0, ![null, void 0].includes(m.value) && l !== m.value && (m.value = void 0, w()), I.value[l].state === 1 && m.value === l) {
133
- m.value = void 0, w();
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();
134
148
  return;
135
149
  }
136
- B.value = !0, m.value = l;
137
- const a = A.value.map((n) => n.values[l] || []), o = z.value === l ? 1 : -1;
138
- I.value[l].state = o, ne.value = o, l === z.value ? z.value = void 0 : z.value = l;
139
- const u = a.map((n, f) => [f, n]).sort((n, f) => o * (f[1] - n[1])).map((n) => n[0]).map((n) => A.value[n]);
140
- b.value = u, T.value += 1;
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;
141
155
  }
142
- const re = h(() => Math.max(..._.dataset.map((t) => (t.values || []).length))), C = h(() => {
143
- let t = E.value.map((a) => ({
156
+ const se = k(() => Math.max(...C.dataset.map((t) => (t.values || []).length))), x = k(() => {
157
+ let t = L.value.map((a) => ({
144
158
  type: "reg",
145
159
  value: a
146
160
  }));
147
161
  if (!t.length)
148
- for (let a = 0; a < re.value; a += 1)
162
+ for (let a = 0; a < se.value; a += 1)
149
163
  t.push({ type: "reg", value: `col ${a + 1}` });
150
164
  e.value.showTotal && (t = [...t, { type: "sum", value: e.value.translations.total }]);
151
165
  let l;
@@ -154,259 +168,291 @@ const Qe = ["id"], Ye = { style: { "z-index": "1", "padding-right": "24px" } },
154
168
  { type: "average", value: e.value.translations.average },
155
169
  { type: "median", value: e.value.translations.median }
156
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;
157
- }), x = v({
171
+ }), w = p({
158
172
  name: 1,
159
173
  sum: 1,
160
174
  average: 1,
161
175
  median: 1
162
- }), y = v(void 0);
163
- function _e(t, l) {
164
- if (!b.value || b.value.length === 0 || !L(t)) return;
165
- if (y.value !== t && (y.value = void 0), ![null, void 0].includes(m.value) && l !== m.value && w(), m.value = void 0, x.value[t] === 1 && y.value) {
166
- y.value = void 0, w();
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();
167
181
  return;
168
182
  }
169
- y.value = t, B.value = !0, x.value[t] = x.value[t] === -1 ? 1 : -1, [null, void 0].includes(l) || (I.value[l].state = x.value[t]);
170
- const a = x.value[t], o = [...b.value].sort((r, u) => {
171
- const n = r[t] ?? (typeof r[t] == "number" ? 0 : ""), f = u[t] ?? (typeof u[t] == "number" ? 0 : "");
172
- return typeof n == "string" && typeof f == "string" ? a === -1 ? n.localeCompare(f) : f.localeCompare(n) : typeof n == "number" && typeof f == "number" ? a === -1 ? n - f : f - n : 0;
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;
173
187
  });
174
- b.value = o;
188
+ m.value = u;
175
189
  }
176
- const S = v(void 0), G = v(void 0);
177
- function Ce({ dataIndex: t, serieIndex: l }) {
178
- S.value = t, G.value = l, W.value[t] && !M.value && W.value[t].scrollIntoView({ behavior: "smooth", block: "nearest", inline: "center" });
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" });
179
193
  }
180
- const se = v(!1);
181
- function xe(t) {
182
- se.value = t, j.value += 1;
194
+ const re = p(!1);
195
+ function Se(t) {
196
+ re.value = t, K.value += 1;
183
197
  }
184
198
  function ie() {
185
- De(() => {
186
- const t = [e.value.translations.serie].concat(C.value), l = oe.value.map((r, u) => [
187
- [r.name],
188
- r.values,
189
- [r.sum],
190
- [r.average],
191
- [r.median]
192
- ]), a = [t].concat(l), o = Le(a);
193
- Re({
199
+ Fe(() => {
200
+ const t = [e.value.translations.serie].concat(x.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({
194
208
  csvContent: o,
195
209
  title: e.value.title.text || "vue-ui-table-sparkline"
196
210
  });
197
211
  });
198
212
  }
199
- function U(t) {
213
+ function de(t) {
200
214
  return e.value.sortedDataColumnIndices.includes(t);
201
215
  }
202
- function L(t) {
216
+ function ve(t) {
203
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;
204
218
  }
205
- function Se(t, l) {
206
- return ["sum", "average", "median"].includes(l.type) ? y.value === l.type ? 1 : 0.3 : t === m.value ? 1 : 0.3;
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;
207
221
  }
208
- function we() {
209
- e.value.resetSortOnClickOutside && w();
222
+ function Ie() {
223
+ e.value.resetSortOnClickOutside && I();
210
224
  }
211
- const I = h({
212
- get: () => C.value.map((t) => ({ state: 1 })),
225
+ const O = k({
226
+ get: () => x.value.map((t) => ({ state: 1 })),
213
227
  set: (t) => t
214
228
  });
215
- return me({
216
- generatePdf: te,
217
- generateImage: ae,
229
+ return be({
230
+ generatePdf: ae,
231
+ generateImage: le,
218
232
  generateCsv: ie,
219
- restoreOrder: w
233
+ restoreOrder: I
220
234
  }), (t, l) => (d(), c("div", {
221
235
  ref_key: "tableContainer",
222
- ref: $,
223
- class: R({ "vue-ui-responsive": M.value }),
236
+ ref: P,
237
+ class: X({ "vue-ui-responsive": U.value }),
224
238
  style: { overflow: "hidden" },
225
- id: `table_${V.value}`,
226
- onMouseenter: l[2] || (l[2] = () => s(K)(!0)),
227
- onMouseleave: l[3] || (l[3] = () => s(K)(!1))
239
+ id: `table_${M.value}`,
240
+ onMouseenter: l[3] || (l[3] = () => i(Q)(!0)),
241
+ onMouseleave: l[4] || (l[4] = () => i(Q)(!1))
228
242
  }, [
229
- p("div", {
243
+ f("div", {
230
244
  style: { overflow: "auto" },
231
- onPointerleave: l[1] || (l[1] = (a) => {
232
- G.value = void 0, S.value = void 0;
245
+ onPointerleave: l[2] || (l[2] = (a) => {
246
+ q.value = void 0, S.value = void 0;
233
247
  })
234
248
  }, [
235
- p("table", {
249
+ f("table", {
236
250
  class: "vue-ui-data-table",
237
- style: i({ fontFamily: e.value.fontFamily, position: "relative" })
251
+ style: s({ fontFamily: e.value.fontFamily, position: "relative" })
238
252
  }, [
239
253
  e.value.title.text ? (d(), c("caption", {
240
254
  key: 0,
241
- style: i({ backgroundColor: e.value.title.backgroundColor })
255
+ style: s({ backgroundColor: e.value.title.backgroundColor })
242
256
  }, [
243
- p("div", {
244
- style: i({
257
+ f("div", {
258
+ style: s({
245
259
  fontSize: `${e.value.title.fontSize}px`,
246
260
  fontWeight: e.value.title.bold ? "bold" : "normal",
247
261
  color: e.value.title.color,
248
262
  textAlign: e.value.title.textAlign
249
263
  })
250
- }, k(e.value.title.text), 5),
264
+ }, _(e.value.title.text), 5),
251
265
  e.value.title.subtitle.text ? (d(), c("div", {
252
266
  key: 0,
253
- style: i({
267
+ style: s({
254
268
  fontSize: `${e.value.title.subtitle.fontSize}px`,
255
269
  fontWeight: e.value.title.subtitle.bold ? "bold" : "normal",
256
270
  color: e.value.title.subtitle.color,
257
271
  textAlign: e.value.title.textAlign
258
272
  })
259
- }, k(e.value.title.subtitle.text), 5)) : g("", !0)
260
- ], 4)) : g("", !0),
261
- p("thead", Ye, [
262
- Oe((d(), c("tr", {
273
+ }, _(e.value.title.subtitle.text), 5)) : b("", !0)
274
+ ], 4)) : b("", !0),
275
+ f("thead", Ze, [
276
+ $e((d(), c("tr", {
263
277
  role: "row",
264
278
  class: "vue-ui-data-table__thead-row",
265
- style: i({
279
+ style: s({
266
280
  backgroundColor: e.value.thead.backgroundColor,
267
281
  color: e.value.thead.color
268
282
  })
269
283
  }, [
270
- p("th", {
284
+ f("th", {
271
285
  role: "cell",
272
- style: i({
286
+ style: s({
273
287
  backgroundColor: e.value.thead.backgroundColor,
274
288
  border: e.value.thead.outline,
275
289
  textAlign: e.value.thead.textAlign,
276
- fontWeight: e.value.thead.bold ? "bold" : "normal",
277
- cursor: e.value.sortedSeriesName ? "pointer" : "default"
290
+ fontWeight: e.value.thead.bold ? "bold" : "normal"
278
291
  }),
279
- class: "sticky-col-first",
280
- onClick: l[0] || (l[0] = (a) => ue({ type: "name" }, null))
292
+ class: "sticky-col-first"
281
293
  }, [
282
- p("div", {
283
- style: i({
294
+ f("div", {
295
+ style: s({
284
296
  display: "flex",
285
297
  flexDirection: "row",
286
298
  alignItems: "center",
287
- gap: "6px",
288
- justifyContent: e.value.thead.textAlign,
289
- pointerEvents: "none"
299
+ gap: "3px",
300
+ justifyContent: e.value.thead.textAlign
290
301
  })
291
302
  }, [
292
- p("span", null, k(e.value.translations.serie), 1),
293
- e.value.sortedSeriesName ? (d(), H(fe, {
294
- key: 0,
295
- size: 12,
296
- name: x.value.name === 1 ? "arrowBottom" : "arrowTop",
297
- stroke: e.value.thead.color,
298
- style: i({
299
- opacity: y.value === "name" ? 1 : 0.3
300
- })
301
- }, null, 8, ["name", "stroke", "style"])) : g("", !0)
303
+ f("span", null, _(e.value.translations.serie), 1),
304
+ m.value.length > 1 && e.value.sortedSeriesName ? (d(), c("div", et, [
305
+ f("button", {
306
+ class: "vue-ui-table-sparkline-sorting-button vue-ui-table-sparkline-sorting-button-down",
307
+ onClick: l[0] || (l[0] = (a) => D({ type: "name" }, null, -1))
308
+ }, [
309
+ $(W, {
310
+ size: 12,
311
+ name: "arrowBottom",
312
+ stroke: e.value.thead.color,
313
+ style: s({
314
+ opacity: y.value === "name" && w.value.name === -1 ? 1 : 0.3
315
+ })
316
+ }, null, 8, ["stroke", "style"])
317
+ ]),
318
+ f("button", {
319
+ class: "vue-ui-table-sparkline-sorting-button vue-ui-table-sparkline-sorting-button-up",
320
+ onClick: l[1] || (l[1] = (a) => D({ type: "name" }, null, 1))
321
+ }, [
322
+ $(W, {
323
+ size: 12,
324
+ name: "arrowTop",
325
+ stroke: e.value.thead.color,
326
+ style: s({
327
+ opacity: y.value === "name" && w.value.name === 1 ? 1 : 0.3
328
+ })
329
+ }, null, 8, ["stroke", "style"])
330
+ ])
331
+ ])) : b("", !0)
302
332
  ], 4)
303
333
  ], 4),
304
- (d(!0), c(q, null, X(C.value, (a, o) => (d(), c("th", {
334
+ (d(!0), c(j, null, J(x.value, (a, o) => (d(), c("th", {
305
335
  role: "cell",
306
- style: i({
336
+ style: s({
307
337
  background: e.value.thead.backgroundColor,
308
338
  border: e.value.thead.outline,
309
339
  textAlign: e.value.thead.textAlign,
310
340
  fontWeight: e.value.thead.bold ? "bold" : "normal",
311
- minWidth: o === C.value.length - 1 ? `${e.value.sparkline.dimensions.width}px` : "48px",
312
- cursor: U(o) || L(a) ? "pointer" : "default",
313
- paddingRight: o === C.value.length - 1 && e.value.userOptions.show ? "36px" : ""
341
+ minWidth: o === x.value.length - 1 ? `${e.value.sparkline.dimensions.width}px` : "48px",
342
+ paddingRight: o === x.value.length - 1 && e.value.userOptions.show ? "36px" : ""
314
343
  }),
315
- onClick: () => ue(a, o),
316
- class: R({ "sticky-col": o === C.value.length - 1 && e.value.showSparklines })
344
+ class: X({ "sticky-col": o === x.value.length - 1 && e.value.showSparklines })
317
345
  }, [
318
- p("div", {
319
- style: i({
346
+ f("div", {
347
+ style: s({
320
348
  display: "flex",
321
349
  flexDirection: "row",
322
350
  alignItems: "center",
323
- gap: "6px",
324
- justifyContent: e.value.thead.textAlign,
325
- pointerEvents: "none"
351
+ gap: "3px",
352
+ justifyContent: e.value.thead.textAlign
326
353
  })
327
354
  }, [
328
- p("span", null, k(a.value), 1),
329
- U(o) || L(a) ? (d(), H(fe, {
330
- key: 0,
331
- size: 12,
332
- name: I.value[o].state === 1 ? "arrowBottom" : "arrowTop",
333
- stroke: e.value.thead.color,
334
- style: i({
335
- opacity: Se(o, a)
336
- })
337
- }, null, 8, ["name", "stroke", "style"])) : g("", !0)
355
+ f("span", null, _(a.value), 1),
356
+ m.value.length > 1 && (de(o) || ve(a)) ? (d(), c("div", tt, [
357
+ f("button", {
358
+ class: "vue-ui-table-sparkline-sorting-button vue-ui-table-sparkline-sorting-button-down",
359
+ onClick: () => D(a, o, -1)
360
+ }, [
361
+ $(W, {
362
+ size: 12,
363
+ name: "arrowBottom",
364
+ stroke: e.value.thead.color,
365
+ style: s({
366
+ opacity: ce(o, a, -1)
367
+ })
368
+ }, null, 8, ["stroke", "style"])
369
+ ], 8, at),
370
+ f("button", {
371
+ class: "vue-ui-table-sparkline-sorting-button vue-ui-table-sparkline-sorting-button-up",
372
+ onClick: () => D(a, o, 1)
373
+ }, [
374
+ $(W, {
375
+ size: 12,
376
+ name: "arrowTop",
377
+ stroke: e.value.thead.color,
378
+ style: s({
379
+ opacity: ce(o, a, 1)
380
+ })
381
+ }, null, 8, ["stroke", "style"])
382
+ ], 8, lt)
383
+ ])) : b("", !0)
338
384
  ], 4),
339
- e.value.userOptions.show && o === C.value.length - 1 && (s(Q) || s(J)) ? (d(), H(Xe, {
385
+ e.value.userOptions.show && o === x.value.length - 1 && (i(Y) || i(G)) ? (d(), ze(je, {
340
386
  ref_for: !0,
341
387
  ref: "details",
342
- key: `user_option_${j.value}`,
388
+ key: `user_option_${K.value}`,
343
389
  backgroundColor: e.value.thead.backgroundColor,
344
390
  color: e.value.thead.color,
345
- isPrinting: s(Z),
346
- isImaging: s(ee),
347
- uid: V.value,
391
+ isPrinting: i(ee),
392
+ isImaging: i(te),
393
+ uid: M.value,
348
394
  hasPdf: e.value.userOptions.buttons.pdf,
349
395
  hasXls: e.value.userOptions.buttons.csv,
350
396
  hasImg: e.value.userOptions.buttons.img,
351
397
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
352
- isFullscreen: se.value,
398
+ isFullscreen: re.value,
353
399
  titles: { ...e.value.userOptions.buttonTitles },
354
- chartElement: $.value,
400
+ chartElement: P.value,
355
401
  position: e.value.userOptions.position,
356
- onToggleFullscreen: xe,
357
- onGeneratePdf: s(te),
358
- onGenerateImage: s(ae),
402
+ onToggleFullscreen: Se,
403
+ onGeneratePdf: i(ae),
404
+ onGenerateImage: i(le),
359
405
  onGenerateCsv: ie,
360
- style: i({
361
- visibility: s(Q) ? s(J) ? "visible" : "hidden" : "visible"
406
+ style: s({
407
+ visibility: i(Y) ? i(G) ? "visible" : "hidden" : "visible"
362
408
  })
363
- }, $e({ _: 2 }, [
409
+ }, Pe({ _: 2 }, [
364
410
  t.$slots.optionPdf ? {
365
411
  name: "optionPdf",
366
- fn: P(() => [
367
- O(t.$slots, "optionPdf", {}, void 0, !0)
412
+ fn: N(() => [
413
+ z(t.$slots, "optionPdf", {}, void 0, !0)
368
414
  ]),
369
415
  key: "0"
370
416
  } : void 0,
371
417
  t.$slots.optionCsv ? {
372
418
  name: "optionCsv",
373
- fn: P(() => [
374
- O(t.$slots, "optionCsv", {}, void 0, !0)
419
+ fn: N(() => [
420
+ z(t.$slots, "optionCsv", {}, void 0, !0)
375
421
  ]),
376
422
  key: "1"
377
423
  } : void 0,
378
424
  t.$slots.optionImg ? {
379
425
  name: "optionImg",
380
- fn: P(() => [
381
- O(t.$slots, "optionImg", {}, void 0, !0)
426
+ fn: N(() => [
427
+ z(t.$slots, "optionImg", {}, void 0, !0)
382
428
  ]),
383
429
  key: "2"
384
430
  } : void 0,
385
431
  t.$slots.optionFullscreen ? {
386
432
  name: "optionFullscreen",
387
- fn: P(({ toggleFullscreen: r, isFullscreen: u }) => [
388
- O(t.$slots, "optionFullscreen", ze(Pe({ toggleFullscreen: r, isFullscreen: u })), void 0, !0)
433
+ fn: N(({ toggleFullscreen: u, isFullscreen: n }) => [
434
+ z(t.$slots, "optionFullscreen", De(Ne({ toggleFullscreen: u, isFullscreen: n })), void 0, !0)
389
435
  ]),
390
436
  key: "3"
391
437
  } : void 0
392
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "onGeneratePdf", "onGenerateImage", "style"])) : g("", !0)
393
- ], 14, Ze))), 256))
438
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "onGeneratePdf", "onGenerateImage", "style"])) : b("", !0)
439
+ ], 6))), 256))
394
440
  ], 4)), [
395
- [s(je), we]
441
+ [i(Je), Ie]
396
442
  ])
397
443
  ]),
398
- p("tbody", null, [
399
- (d(!0), c(q, null, X(b.value, (a, o) => (d(), c("tr", {
444
+ f("tbody", null, [
445
+ (d(!0), c(j, null, J(m.value, (a, o) => (d(), c("tr", {
400
446
  role: "row",
401
- style: i({
447
+ style: s({
402
448
  backgroundColor: e.value.tbody.backgroundColor,
403
449
  color: e.value.tbody.color
404
450
  }),
405
- class: R({ "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 })
451
+ 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 })
406
452
  }, [
407
- p("td", {
453
+ f("td", {
408
454
  role: "cell",
409
- style: i({
455
+ style: s({
410
456
  backgroundColor: e.value.tbody.backgroundColor,
411
457
  border: e.value.tbody.outline,
412
458
  fontSize: `${e.value.tbody.fontSize}px`,
@@ -416,9 +462,9 @@ const Qe = ["id"], Ye = { style: { "z-index": "1", "padding-right": "24px" } },
416
462
  "data-cell": e.value.translations.serie,
417
463
  class: "vue-ui-data-table__tbody__td sticky-col-first"
418
464
  }, [
419
- p("div", {
465
+ f("div", {
420
466
  dir: "auto",
421
- style: i({
467
+ style: s({
422
468
  display: "flex",
423
469
  flexDirection: "row",
424
470
  alignItems: "center",
@@ -428,45 +474,45 @@ const Qe = ["id"], Ye = { style: { "z-index": "1", "padding-right": "24px" } },
428
474
  }, [
429
475
  e.value.tbody.showColorMarker ? (d(), c("span", {
430
476
  key: 0,
431
- style: i({ color: a.color })
432
- }, "⬤", 4)) : g("", !0),
433
- p("span", null, k(a.name ?? "-"), 1)
477
+ style: s({ color: a.color })
478
+ }, "⬤", 4)) : b("", !0),
479
+ f("span", null, _(a.name ?? "-"), 1)
434
480
  ], 4)
435
- ], 12, et),
436
- (d(!0), c(q, null, X(ke.value, (r, u) => (d(), c("td", {
481
+ ], 12, ot),
482
+ (d(!0), c(j, null, J(Ce.value, (u, n) => (d(), c("td", {
437
483
  dir: "auto",
438
484
  role: "cell",
439
485
  ref_for: !0,
440
486
  ref_key: "TD",
441
- ref: W,
442
- style: i({
487
+ ref: B,
488
+ style: s({
443
489
  border: e.value.tbody.outline,
444
490
  fontSize: `${e.value.tbody.fontSize}px`,
445
491
  fontWeight: e.value.tbody.bold ? "bold" : "normal",
446
492
  textAlign: e.value.tbody.textAlign,
447
- background: S.value !== void 0 && u === S.value ? e.value.tbody.selectedColor.useSerieColor ? `${a.color.length > 7 ? a.color.slice(0, -2) : a.color}33` : e.value.tbody.selectedColor.fallback : ""
493
+ 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 : ""
448
494
  }),
449
- "data-cell": C.value[u],
495
+ "data-cell": x.value[n],
450
496
  class: "vue-ui-data-table__tbody__td",
451
- onPointerenter: (n) => {
452
- G.value = o, S.value = u;
497
+ onPointerenter: (v) => {
498
+ q.value = o, S.value = n;
453
499
  }
454
- }, k([null, void 0].includes(a.values[u]) ? "-" : s(D)(
500
+ }, _([null, void 0].includes(a.values[n]) ? "-" : i(V)(
455
501
  e.value.formatter,
456
- Number(a.values[u]),
457
- s(F)({
502
+ Number(a.values[n]),
503
+ i(T)({
458
504
  p: e.value.prefix,
459
- v: Number(a.values[u]),
505
+ v: Number(a.values[n]),
460
506
  s: e.value.suffix,
461
507
  r: e.value.roundingValues
462
508
  }),
463
- { datapoint: a, seriesIndex: o, datapointIndex: u }
464
- )), 45, tt))), 256)),
509
+ { datapoint: a, seriesIndex: o, datapointIndex: n }
510
+ )), 45, nt))), 256)),
465
511
  e.value.showTotal ? (d(), c("td", {
466
512
  key: 0,
467
513
  dir: "auto",
468
514
  role: "cell",
469
- style: i({
515
+ style: s({
470
516
  border: e.value.tbody.outline,
471
517
  fontSize: `${e.value.tbody.fontSize}px`,
472
518
  fontWeight: e.value.tbody.bold ? "bold" : "normal",
@@ -474,22 +520,22 @@ const Qe = ["id"], Ye = { style: { "z-index": "1", "padding-right": "24px" } },
474
520
  }),
475
521
  "data-cell": e.value.translations.total,
476
522
  class: "vue-ui-data-table__tbody__td"
477
- }, k(s(D)(
523
+ }, _(i(V)(
478
524
  e.value.formatter,
479
525
  a.sum,
480
- s(F)({
526
+ i(T)({
481
527
  p: e.value.prefix,
482
528
  v: a.sum,
483
529
  s: e.value.suffix,
484
530
  r: e.value.roundingTotal
485
531
  }),
486
532
  { datapoint: a.sum, seriesIndex: o }
487
- )), 13, at)) : g("", !0),
533
+ )), 13, ut)) : b("", !0),
488
534
  e.value.showAverage ? (d(), c("td", {
489
535
  key: 1,
490
536
  dir: "auto",
491
537
  role: "cell",
492
- style: i({
538
+ style: s({
493
539
  border: e.value.tbody.outline,
494
540
  fontSize: `${e.value.tbody.fontSize}px`,
495
541
  fontWeight: e.value.tbody.bold ? "bold" : "normal",
@@ -497,22 +543,22 @@ const Qe = ["id"], Ye = { style: { "z-index": "1", "padding-right": "24px" } },
497
543
  }),
498
544
  "data-cell": e.value.translations.average,
499
545
  class: "vue-ui-data-table__tbody__td"
500
- }, k(s(D)(
546
+ }, _(i(V)(
501
547
  e.value.formatter,
502
548
  a.average,
503
- s(F)({
549
+ i(T)({
504
550
  p: e.value.prefix,
505
551
  v: a.average,
506
552
  s: e.value.suffix,
507
553
  r: e.value.roundingAverage
508
554
  }),
509
555
  { datapoint: a.average, seriesIndex: o }
510
- )), 13, lt)) : g("", !0),
556
+ )), 13, st)) : b("", !0),
511
557
  e.value.showMedian ? (d(), c("td", {
512
558
  key: 2,
513
559
  dir: "auto",
514
560
  role: "cell",
515
- style: i({
561
+ style: s({
516
562
  border: e.value.tbody.outline,
517
563
  fontSize: `${e.value.tbody.fontSize}px`,
518
564
  fontWeight: e.value.tbody.bold ? "bold" : "normal",
@@ -520,22 +566,22 @@ const Qe = ["id"], Ye = { style: { "z-index": "1", "padding-right": "24px" } },
520
566
  }),
521
567
  "data-cell": e.value.translations.median,
522
568
  class: "vue-ui-data-table__tbody__td"
523
- }, k(s(D)(
569
+ }, _(i(V)(
524
570
  e.value.formatter,
525
571
  a.median,
526
- s(F)({
572
+ i(T)({
527
573
  p: e.value.prefix,
528
574
  v: a.median,
529
575
  s: e.value.suffix,
530
576
  r: e.value.roundingMedian
531
577
  }),
532
578
  { datapoint: a.median, seriesIndex: o }
533
- )), 13, ot)) : g("", !0),
579
+ )), 13, rt)) : b("", !0),
534
580
  e.value.showSparklines ? (d(), c("td", {
535
581
  key: 3,
536
582
  role: "cell",
537
583
  "data-cell": e.value.translations.chart,
538
- style: i({
584
+ style: s({
539
585
  border: e.value.tbody.outline,
540
586
  fontSize: `${e.value.tbody.fontSize}px`,
541
587
  fontWeight: e.value.tbody.bold ? "bold" : "normal",
@@ -545,8 +591,8 @@ const Qe = ["id"], Ye = { style: { "z-index": "1", "padding-right": "24px" } },
545
591
  }),
546
592
  class: "vue-ui-data-table__tbody__td sticky-col"
547
593
  }, [
548
- Ne(He, {
549
- onHoverIndex: ({ index: r }) => Ce({ dataIndex: r, serieIndex: o }),
594
+ $(qe, {
595
+ onHoverIndex: ({ index: u }) => we({ dataIndex: u, serieIndex: o }),
550
596
  "height-ratio": e.value.sparkline.dimensions.heightRatio,
551
597
  "forced-padding": 30,
552
598
  dataset: a.sparklineDataset,
@@ -557,7 +603,7 @@ const Qe = ["id"], Ye = { style: { "z-index": "1", "padding-right": "24px" } },
557
603
  style: {
558
604
  backgroundColor: "transparent",
559
605
  animation: {
560
- show: e.value.sparkline.animation.show && !s(Z) && !s(ee),
606
+ show: e.value.sparkline.animation.show && !i(ee) && !i(te),
561
607
  animationFrames: e.value.sparkline.animation.animationFrames
562
608
  },
563
609
  line: {
@@ -584,17 +630,17 @@ const Qe = ["id"], Ye = { style: { "z-index": "1", "padding-right": "24px" } },
584
630
  }
585
631
  }
586
632
  }, null, 8, ["onHoverIndex", "height-ratio", "dataset", "selectedIndex", "config"])
587
- ], 12, nt)) : g("", !0)
633
+ ], 12, it)) : b("", !0)
588
634
  ], 6))), 256))
589
635
  ])
590
636
  ], 4)
591
637
  ], 32),
592
- t.$slots.source ? (d(), c("div", ut, [
593
- O(t.$slots, "source", {}, void 0, !0)
594
- ], 512)) : g("", !0)
595
- ], 42, Qe));
638
+ t.$slots.source ? (d(), c("div", dt, [
639
+ z(t.$slots, "source", {}, void 0, !0)
640
+ ], 512)) : b("", !0)
641
+ ], 42, Ye));
596
642
  }
597
- }, gt = /* @__PURE__ */ Ke(rt, [["__scopeId", "data-v-5bd76162"]]);
643
+ }, kt = /* @__PURE__ */ Qe(vt, [["__scopeId", "data-v-2264986d"]]);
598
644
  export {
599
- gt as default
645
+ kt as default
600
646
  };