vue-data-ui 2.4.49 → 2.4.51

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 (199) hide show
  1. package/README.md +12 -0
  2. package/dist/{Arrow-CTukks_V.cjs → Arrow-2a_SwBgz.cjs} +1 -1
  3. package/dist/{Arrow-Q0cOmO5p.js → Arrow-BUz63pb2.js} +1 -1
  4. package/dist/{BaseIcon-2ZD3jgGz.cjs → BaseIcon-BASl_NFX.cjs} +1 -1
  5. package/dist/{BaseIcon-CaYP30Aq.js → BaseIcon-CmiukQBl.js} +1 -1
  6. package/dist/{DataTable-CO5C8Cmb.js → DataTable-DGf6RrOJ.js} +2 -2
  7. package/dist/{DataTable-kMUhutQ4.cjs → DataTable-G3ICK-5h.cjs} +1 -1
  8. package/dist/{Legend-FZN9UHoI.js → Legend-BLaZxMge.js} +1 -1
  9. package/dist/{Legend-DPHcmrzd.cjs → Legend-BiuPlEMg.cjs} +1 -1
  10. package/dist/{PackageVersion-rnWHRWGI.cjs → PackageVersion-Bj34UNnQ.cjs} +1 -1
  11. package/dist/{PackageVersion-DYk2hOG1.js → PackageVersion-CxJghxYD.js} +1 -1
  12. package/dist/{PenAndPaper-BQl9-uX0.cjs → PenAndPaper-D9yQnc0e.cjs} +1 -1
  13. package/dist/{PenAndPaper-BfgS_5ux.js → PenAndPaper-ZdZEumki.js} +3 -3
  14. package/dist/{Shape-BqkMzXqo.js → Shape-DIKzzpFm.js} +1 -1
  15. package/dist/{Shape-BblkpCyL.cjs → Shape-yducHWd0.cjs} +1 -1
  16. package/dist/{Slicer-yEeqKUDF.cjs → Slicer-BHS9W4MJ.cjs} +1 -1
  17. package/dist/{Slicer-DlgqsI5C.js → Slicer-Cxdl3cDt.js} +2 -2
  18. package/dist/{Title-5Vedk01J.cjs → Title-Bk_55doC.cjs} +1 -1
  19. package/dist/{Title-DED-PQ7X.js → Title-aSAft5dl.js} +1 -1
  20. package/dist/{Tooltip-DjCKBAC4.cjs → Tooltip-G7ENx87_.cjs} +1 -1
  21. package/dist/{Tooltip-CHseiJu8.js → Tooltip-smutPF--.js} +1 -1
  22. package/dist/{index-igxqCP2w.js → index-BbPeL8Gp.js} +5 -1
  23. package/dist/index-DhDYBLBe.cjs +9 -0
  24. package/dist/style.css +1 -1
  25. package/dist/types/vue-data-ui.d.cts +5 -1
  26. package/dist/types/vue-data-ui.d.ts +5 -1
  27. package/dist/{useNestedProp-CSVnZVwZ.js → useNestedProp-BN8claGG.js} +1 -1
  28. package/dist/{useNestedProp-CwpqC_aE.cjs → useNestedProp-BphUExEh.cjs} +1 -1
  29. package/dist/{usePrinter-DVgxBO4o.cjs → usePrinter-2_QjJFdH.cjs} +1 -1
  30. package/dist/{usePrinter-CnZYDQXB.js → usePrinter-DaybDVqP.js} +1 -1
  31. package/dist/useUserOptionState-BIvW1Kz7.js +17 -0
  32. package/dist/useUserOptionState-BgepsfED.cjs +1 -0
  33. package/dist/{vue-data-ui-BrRTkOqu.cjs → vue-data-ui-C5vsHRHD.cjs} +1 -1
  34. package/dist/{vue-data-ui-B--WWkUM.js → vue-data-ui-Ckbp-yIf.js} +60 -60
  35. package/dist/vue-data-ui.cjs +1 -1
  36. package/dist/vue-data-ui.js +1 -1
  37. package/dist/vue-ui-3d-bar-DUgumRsg.cjs +19 -0
  38. package/dist/{vue-ui-3d-bar-OzzLYbUl.js → vue-ui-3d-bar-wDYs3sVe.js} +345 -339
  39. package/dist/{vue-ui-accordion-lF7yVkiT.js → vue-ui-accordion-5d5iVpr7.js} +3 -3
  40. package/dist/{vue-ui-accordion-CRVWlHxs.cjs → vue-ui-accordion-B7tNzRWB.cjs} +1 -1
  41. package/dist/{vue-ui-age-pyramid-5Vj8AtW1.js → vue-ui-age-pyramid-BH1khaaq.js} +260 -254
  42. package/dist/vue-ui-age-pyramid-Dxx1mVwR.cjs +1 -0
  43. package/dist/{vue-ui-annotator-BmO78L3H.js → vue-ui-annotator-B9VKE_qz.js} +1 -1
  44. package/dist/{vue-ui-annotator-D8Hx1BFF.cjs → vue-ui-annotator-jXkB5XnD.cjs} +1 -1
  45. package/dist/{vue-ui-bullet-DwFD41hN.js → vue-ui-bullet-BLi9CSZw.js} +152 -146
  46. package/dist/vue-ui-bullet-QrXtipbT.cjs +34 -0
  47. package/dist/{vue-ui-candlestick-By609gwn.js → vue-ui-candlestick-Bjz1uFbv.js} +223 -217
  48. package/dist/vue-ui-candlestick-Da4ygGXR.cjs +2 -0
  49. package/dist/{vue-ui-carousel-table-wwMoteEN.js → vue-ui-carousel-table-B6zgTL-W.js} +160 -154
  50. package/dist/vue-ui-carousel-table-Cfif8Oiz.cjs +1 -0
  51. package/dist/vue-ui-chestnut-C_N7EbjQ.cjs +6 -0
  52. package/dist/{vue-ui-chestnut-hqorA5EW.js → vue-ui-chestnut-D5HpkuIa.js} +237 -231
  53. package/dist/{vue-ui-cursor-BCg5VZUb.cjs → vue-ui-cursor-A_siHYBc.cjs} +1 -1
  54. package/dist/{vue-ui-cursor-GSkn7N7Z.js → vue-ui-cursor-DZNIbvR2.js} +2 -2
  55. package/dist/{vue-ui-dashboard-Bkm9bcAc.cjs → vue-ui-dashboard-BfPJyiY9.cjs} +1 -1
  56. package/dist/{vue-ui-dashboard-DIoYWyXB.js → vue-ui-dashboard-DCqe4BZg.js} +2 -2
  57. package/dist/{vue-ui-digits-niqTltAv.js → vue-ui-digits-BEWCnojc.js} +2 -2
  58. package/dist/{vue-ui-digits-CpBBTAI9.cjs → vue-ui-digits-BEhLa3jI.cjs} +1 -1
  59. package/dist/vue-ui-donut-By3QRfkV.cjs +1 -0
  60. package/dist/{vue-ui-donut-evolution-XQp6R0e_.js → vue-ui-donut-evolution-Cu6dmlT2.js} +300 -294
  61. package/dist/vue-ui-donut-evolution-DEABWsj0.cjs +1 -0
  62. package/dist/{vue-ui-donut-DfufBrkk.js → vue-ui-donut-g5ZLhYPx.js} +376 -370
  63. package/dist/vue-ui-dumbbell-Dfb1l5qP.cjs +9 -0
  64. package/dist/{vue-ui-dumbbell-DSS8sHHU.js → vue-ui-dumbbell-bb4-Ep6o.js} +256 -250
  65. package/dist/vue-ui-flow-CCvTnu7z.cjs +1 -0
  66. package/dist/{vue-ui-flow-BBNuPVgI.js → vue-ui-flow-hD0F6mTK.js} +164 -158
  67. package/dist/vue-ui-funnel-DKxAPRi_.cjs +1 -0
  68. package/dist/{vue-ui-funnel-BDGggRXE.js → vue-ui-funnel-hcbE4yky.js} +178 -172
  69. package/dist/{vue-ui-galaxy-6Odi2CwM.js → vue-ui-galaxy-ByKjxVWV.js} +187 -181
  70. package/dist/vue-ui-galaxy-D2kmqwpI.cjs +1 -0
  71. package/dist/vue-ui-gauge-BFA_unjg.cjs +1 -0
  72. package/dist/{vue-ui-gauge-DeYvNVnR.js → vue-ui-gauge-PGirbe6O.js} +220 -214
  73. package/dist/{vue-ui-gizmo-DXQt_8D0.cjs → vue-ui-gizmo-CHMApil6.cjs} +1 -1
  74. package/dist/{vue-ui-gizmo-BcAr2dTN.js → vue-ui-gizmo-ChSfBYZ_.js} +3 -3
  75. package/dist/vue-ui-heatmap-C0VxwPhr.cjs +1 -0
  76. package/dist/{vue-ui-heatmap-Btm1mK6D.js → vue-ui-heatmap-CK3FIWpo.js} +270 -264
  77. package/dist/vue-ui-history-plot-BmGodgUx.cjs +1 -0
  78. package/dist/{vue-ui-history-plot-OY6N31Ka.js → vue-ui-history-plot-EmQ-Byiz.js} +236 -230
  79. package/dist/{vue-ui-kpi-CQIbWQMk.cjs → vue-ui-kpi-BdungaO2.cjs} +1 -1
  80. package/dist/{vue-ui-kpi-D5oNUDVm.js → vue-ui-kpi-DjC68pSz.js} +3 -3
  81. package/dist/{vue-ui-mini-loader-BjqV22Co.js → vue-ui-mini-loader-CzrblCCD.js} +2 -2
  82. package/dist/{vue-ui-mini-loader-ByDKGMAp.cjs → vue-ui-mini-loader-jwL_pZjb.cjs} +1 -1
  83. package/dist/{vue-ui-molecule-FsLf3YTj.js → vue-ui-molecule-DBQJQs4Y.js} +294 -289
  84. package/dist/vue-ui-molecule-Dzh-0SWI.cjs +1 -0
  85. package/dist/{vue-ui-mood-radar-31BX-GNG.js → vue-ui-mood-radar-Ca9wPZpJ.js} +205 -199
  86. package/dist/vue-ui-mood-radar-DV6ZZIXF.cjs +1 -0
  87. package/dist/{vue-ui-nested-donuts-BMJW2oHk.js → vue-ui-nested-donuts-C8at93dN.js} +286 -280
  88. package/dist/vue-ui-nested-donuts-DEdS6dpj.cjs +17 -0
  89. package/dist/{vue-ui-onion-BUpGgnWA.js → vue-ui-onion-B-PXxNu6.js} +198 -192
  90. package/dist/vue-ui-onion-B2ioudP5.cjs +5 -0
  91. package/dist/{vue-ui-parallel-coordinate-plot-9I00rQEM.js → vue-ui-parallel-coordinate-plot-ByM3So9k.js} +236 -230
  92. package/dist/vue-ui-parallel-coordinate-plot-DtJi9cT0.cjs +8 -0
  93. package/dist/{vue-ui-quadrant-CEmoMAL7.js → vue-ui-quadrant-BqOJBcsI.js} +255 -249
  94. package/dist/vue-ui-quadrant-CIr4i6cC.cjs +1 -0
  95. package/dist/{vue-ui-quick-chart-T_oeRTqY.js → vue-ui-quick-chart-BfXxT3KM.js} +474 -466
  96. package/dist/vue-ui-quick-chart-Bt9KA82P.cjs +15 -0
  97. package/dist/{vue-ui-radar-DG_Zir8w.js → vue-ui-radar-BKpD9xDr.js} +256 -250
  98. package/dist/vue-ui-radar-Czmsd_uv.cjs +1 -0
  99. package/dist/{vue-ui-rating-Juprijdi.cjs → vue-ui-rating-BE545aI4.cjs} +1 -1
  100. package/dist/{vue-ui-rating-gswAA28b.js → vue-ui-rating-DQRuqev5.js} +2 -2
  101. package/dist/vue-ui-relation-circle-B1uMTqFP.cjs +1 -0
  102. package/dist/vue-ui-relation-circle-nZ2nBpWX.js +498 -0
  103. package/dist/vue-ui-rings-B7JzZ3ub.cjs +2 -0
  104. package/dist/{vue-ui-rings-D3g-ORch.js → vue-ui-rings-C1PV0873.js} +177 -172
  105. package/dist/vue-ui-scatter-CTI943ks.cjs +1 -0
  106. package/dist/{vue-ui-scatter-DBO-XViT.js → vue-ui-scatter-dgs1m3-2.js} +310 -304
  107. package/dist/{vue-ui-screenshot-3MDyr6v3.cjs → vue-ui-screenshot--cHV0jG3.cjs} +1 -1
  108. package/dist/{vue-ui-screenshot-K0a-DVD6.js → vue-ui-screenshot-Dxj0l8Jg.js} +1 -1
  109. package/dist/{vue-ui-skeleton-CWjNNx-k.js → vue-ui-skeleton-Bniq21d9.js} +3 -3
  110. package/dist/{vue-ui-skeleton-DUNkS05l.cjs → vue-ui-skeleton-lkPDknHn.cjs} +1 -1
  111. package/dist/{vue-ui-smiley-Cbqg-N-L.cjs → vue-ui-smiley-CozXoiti.cjs} +1 -1
  112. package/dist/{vue-ui-smiley-MwX1c6qK.js → vue-ui-smiley-D4DAZIpA.js} +2 -2
  113. package/dist/{vue-ui-spark-trend-CN5JUPhn.cjs → vue-ui-spark-trend-CSqyvI_K.cjs} +1 -1
  114. package/dist/{vue-ui-spark-trend-D9eWTtbE.js → vue-ui-spark-trend-ZqrwhwqS.js} +5 -5
  115. package/dist/{vue-ui-sparkbar-IphZ8jXh.cjs → vue-ui-sparkbar-Bph8KIjk.cjs} +1 -1
  116. package/dist/{vue-ui-sparkbar-CPF7YNDd.js → vue-ui-sparkbar-q0G4GvFm.js} +4 -4
  117. package/dist/{vue-ui-sparkgauge-B29V7ZTv.js → vue-ui-sparkgauge-DA_h9jcN.js} +4 -4
  118. package/dist/{vue-ui-sparkgauge-BRMGqR9Z.cjs → vue-ui-sparkgauge-nSAW83dN.cjs} +1 -1
  119. package/dist/{vue-ui-sparkhistogram-BJTgOWF5.js → vue-ui-sparkhistogram-B1WyBiq_.js} +5 -5
  120. package/dist/{vue-ui-sparkhistogram-rvYaVHmw.cjs → vue-ui-sparkhistogram-BLYhRNpt.cjs} +1 -1
  121. package/dist/{vue-ui-sparkline-BI9jqI0h.cjs → vue-ui-sparkline-PNix1-R9.cjs} +1 -1
  122. package/dist/{vue-ui-sparkline-DX79otAB.js → vue-ui-sparkline-ccfl0s3m.js} +4 -4
  123. package/dist/{vue-ui-sparkstackbar-DuollcwK.cjs → vue-ui-sparkstackbar-DpuvEumy.cjs} +1 -1
  124. package/dist/{vue-ui-sparkstackbar-vP28A6AT.js → vue-ui-sparkstackbar-PNKwVRu8.js} +5 -5
  125. package/dist/{vue-ui-stackbar-DnJEgIaA.js → vue-ui-stackbar-BBYnF8qm.js} +367 -361
  126. package/dist/vue-ui-stackbar-D4AIFoQT.cjs +6 -0
  127. package/dist/vue-ui-strip-plot-ClNxSw9M.cjs +1 -0
  128. package/dist/{vue-ui-strip-plot-DqcHBwd_.js → vue-ui-strip-plot-TVlnzXFq.js} +269 -263
  129. package/dist/{vue-ui-table-BMJ0I5nr.cjs → vue-ui-table-CHdv3KuM.cjs} +1 -1
  130. package/dist/{vue-ui-table-D8cgqIJl.js → vue-ui-table-CsEajH9S.js} +1 -1
  131. package/dist/vue-ui-table-heatmap-BE3UT8U9.cjs +1 -0
  132. package/dist/vue-ui-table-heatmap-CubRipoB.js +262 -0
  133. package/dist/vue-ui-table-sparkline-BeYviUrb.cjs +1 -0
  134. package/dist/{vue-ui-table-sparkline-B_Po0RuC.js → vue-ui-table-sparkline-YV8DUOqh.js} +256 -239
  135. package/dist/vue-ui-thermometer-C6lMWRiF.cjs +1 -0
  136. package/dist/{vue-ui-thermometer-C6nfW6uY.js → vue-ui-thermometer-DmMjSLc1.js} +170 -164
  137. package/dist/{vue-ui-timer-ldINTqND.cjs → vue-ui-timer-DteYgv9y.cjs} +1 -1
  138. package/dist/{vue-ui-timer-CfwmMRdZ.js → vue-ui-timer-DvE_nqd9.js} +5 -5
  139. package/dist/vue-ui-tiremarks-CCrkDgjX.js +323 -0
  140. package/dist/vue-ui-tiremarks-PGGgsNgS.cjs +1 -0
  141. package/dist/vue-ui-treemap-BzRVKqXL.cjs +1 -0
  142. package/dist/{vue-ui-treemap-CwMnkcOi.js → vue-ui-treemap-C4A4spvg.js} +243 -237
  143. package/dist/{vue-ui-vertical-bar-BZR4YOLh.js → vue-ui-vertical-bar-8iL1xiaz.js} +238 -232
  144. package/dist/vue-ui-vertical-bar-B60lSXNq.cjs +4 -0
  145. package/dist/{vue-ui-waffle-D2BccJmB.js → vue-ui-waffle-CaYNz-Kd.js} +316 -310
  146. package/dist/vue-ui-waffle-O8pAEf4X.cjs +1 -0
  147. package/dist/vue-ui-wheel-BRR2rGou.js +305 -0
  148. package/dist/vue-ui-wheel-CnFdB_B1.cjs +1 -0
  149. package/dist/vue-ui-word-cloud-X4mp280j.cjs +1 -0
  150. package/dist/{vue-ui-word-cloud-DiG8DHOr.js → vue-ui-word-cloud-y2GGxwoq.js} +246 -240
  151. package/dist/{vue-ui-xy-DicLnkBA.js → vue-ui-xy-CXoWP8bh.js} +708 -697
  152. package/dist/vue-ui-xy-CbM75yXK.cjs +3 -0
  153. package/dist/{vue-ui-xy-canvas-D6CYL9A8.js → vue-ui-xy-canvas-D7MrUJj7.js} +334 -328
  154. package/dist/vue-ui-xy-canvas-DWvIvSry.cjs +9 -0
  155. package/package.json +1 -1
  156. package/dist/index-BHQZE19X.cjs +0 -9
  157. package/dist/vue-ui-3d-bar-BGVLnjCh.cjs +0 -19
  158. package/dist/vue-ui-age-pyramid-Cv0Rddsx.cjs +0 -1
  159. package/dist/vue-ui-bullet-C0Q2Vs5p.cjs +0 -34
  160. package/dist/vue-ui-candlestick-C7kRHFF3.cjs +0 -2
  161. package/dist/vue-ui-carousel-table-1_Hy8sGL.cjs +0 -1
  162. package/dist/vue-ui-chestnut-D3LGylRp.cjs +0 -6
  163. package/dist/vue-ui-donut-CQEOtlxM.cjs +0 -1
  164. package/dist/vue-ui-donut-evolution-Dg_XJyX8.cjs +0 -1
  165. package/dist/vue-ui-dumbbell-RAkNYRoJ.cjs +0 -9
  166. package/dist/vue-ui-flow-BUmSGSmR.cjs +0 -1
  167. package/dist/vue-ui-funnel-B9HR0owO.cjs +0 -1
  168. package/dist/vue-ui-galaxy-DmsMWB1a.cjs +0 -1
  169. package/dist/vue-ui-gauge-Dvv0v56Z.cjs +0 -1
  170. package/dist/vue-ui-heatmap-DZ02dS5q.cjs +0 -1
  171. package/dist/vue-ui-history-plot-DPQWcN0P.cjs +0 -1
  172. package/dist/vue-ui-molecule-C8O_ViVy.cjs +0 -1
  173. package/dist/vue-ui-mood-radar-4u98wGWl.cjs +0 -1
  174. package/dist/vue-ui-nested-donuts-BPc_OBoe.cjs +0 -17
  175. package/dist/vue-ui-onion-IhkIHn1A.cjs +0 -5
  176. package/dist/vue-ui-parallel-coordinate-plot-DzjggyLA.cjs +0 -8
  177. package/dist/vue-ui-quadrant-EZqQ-7Ev.cjs +0 -1
  178. package/dist/vue-ui-quick-chart-BKUUR-A1.cjs +0 -15
  179. package/dist/vue-ui-radar-QBwo6ybW.cjs +0 -1
  180. package/dist/vue-ui-relation-circle-BWX8zrfH.cjs +0 -1
  181. package/dist/vue-ui-relation-circle-DtnXrnOP.js +0 -492
  182. package/dist/vue-ui-rings-Damuv7g9.cjs +0 -2
  183. package/dist/vue-ui-scatter-RUeAe7Sx.cjs +0 -1
  184. package/dist/vue-ui-stackbar-BumFmZZF.cjs +0 -6
  185. package/dist/vue-ui-strip-plot-DupREfRd.cjs +0 -1
  186. package/dist/vue-ui-table-heatmap-D43pTFli.cjs +0 -1
  187. package/dist/vue-ui-table-heatmap-D4qeClXn.js +0 -256
  188. package/dist/vue-ui-table-sparkline-B7OPOium.cjs +0 -1
  189. package/dist/vue-ui-thermometer-CaV3JF3h.cjs +0 -1
  190. package/dist/vue-ui-tiremarks-BlyxL_IU.cjs +0 -1
  191. package/dist/vue-ui-tiremarks-iNKMnu3P.js +0 -317
  192. package/dist/vue-ui-treemap-YdRDlSHA.cjs +0 -1
  193. package/dist/vue-ui-vertical-bar-Bji3-X8i.cjs +0 -4
  194. package/dist/vue-ui-waffle-rO_LJaHR.cjs +0 -1
  195. package/dist/vue-ui-wheel-BTrpdV-C.cjs +0 -1
  196. package/dist/vue-ui-wheel-GqWFopE1.js +0 -299
  197. package/dist/vue-ui-word-cloud-DD-pKUen.cjs +0 -1
  198. package/dist/vue-ui-xy-C32KNdyx.cjs +0 -3
  199. package/dist/vue-ui-xy-canvas-9e630nJX.cjs +0 -9
@@ -1,15 +1,16 @@
1
- import { useCssVars as xe, ref as d, computed as k, watch as re, onMounted as Ce, openBlock as i, createElementBlock as v, normalizeClass as U, createElementVNode as f, normalizeStyle as s, toDisplayString as b, createCommentVNode as p, withDirectives as Se, createBlock as H, Fragment as q, renderList as X, unref as c, createSlots as we, withCtx as P, renderSlot as w, normalizeProps as Ae, guardReactiveProps as Ie, createVNode as $e, nextTick as Oe } from "vue";
2
- import { u as ze, c as Pe, t as Ne, a as De, p as N, b as Fe, o as We, e as ue, g as Ve, $ as Te, d as Me, i as D, f as F, q as Ee, r as Ge } from "./index-igxqCP2w.js";
3
- import { u as se } from "./useNestedProp-CSVnZVwZ.js";
4
- import Be from "./vue-ui-sparkline-DX79otAB.js";
5
- import ie from "./BaseIcon-CaYP30Aq.js";
6
- import { u as Le, U as Re, v as Ue } from "./usePrinter-CnZYDQXB.js";
7
- import { _ as He } from "./_plugin-vue_export-helper-CHgC5LLL.js";
8
- const qe = ["id"], Xe = { style: { "z-index": "1", "padding-right": "24px" } }, je = ["onClick"], Je = ["data-cell"], Ke = ["data-cell", "onPointerenter"], Qe = ["data-cell"], Ye = ["data-cell"], Ze = ["data-cell"], et = ["data-cell"], tt = {
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 = {
9
10
  key: 0,
10
11
  ref: "source",
11
12
  dir: "auto"
12
- }, at = {
13
+ }, rt = {
13
14
  __name: "vue-ui-table-sparkline",
14
15
  props: {
15
16
  config: {
@@ -25,121 +26,126 @@ const qe = ["id"], Xe = { style: { "z-index": "1", "padding-right": "24px" } },
25
26
  }
26
27
  }
27
28
  },
28
- setup(de, { expose: ve }) {
29
- const y = de;
30
- xe((t) => ({
31
- dba64318: t.tdo
29
+ setup(pe, { expose: me }) {
30
+ const _ = pe;
31
+ Ae((t) => ({
32
+ e629975c: t.tdo
32
33
  }));
33
- const { vue_ui_table_sparkline: ce } = ze(), W = d(Pe()), j = d(0), V = d(0), T = d(null), e = k({
34
- get: () => J(),
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(),
35
36
  set: (t) => t
36
- });
37
- function J() {
38
- const t = se({
39
- userConfig: y.config,
40
- defaultConfig: ce
37
+ }), { userOptionsVisible: J, setUserOptionsVisibility: K, keepUserOptionState: Q } = Je({ config: e.value });
38
+ function Y() {
39
+ const t = ce({
40
+ userConfig: _.config,
41
+ defaultConfig: ge
41
42
  });
42
43
  return t.theme ? {
43
- ...se({
44
- userConfig: Ne.vue_ui_table_sparkline[t.theme] || y.config,
44
+ ...ce({
45
+ userConfig: Te.vue_ui_table_sparkline[t.theme] || _.config,
45
46
  defaultConfig: t
46
47
  }),
47
- customPalette: De[t.theme] || N
48
+ customPalette: We[t.theme] || N
48
49
  } : t;
49
50
  }
50
- re(() => y.config, (t) => {
51
- e.value = J(), ee(), V.value += 1;
52
- }, { deep: !0 }), re(() => y.dataset, (t) => {
53
- m.value = C.value, V.value += 1;
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;
54
55
  }, { deep: !0 });
55
- const { isPrinting: K, isImaging: Q, generatePdf: Y, generateImage: Z } = Le({
56
- elementId: `table_${W.value}`,
56
+ const { isPrinting: Z, isImaging: ee, generatePdf: te, generateImage: ae } = qe({
57
+ elementId: `table_${V.value}`,
57
58
  fileName: e.value.title.text || "vue-ui-table-sparkline"
58
- }), fe = k(() => Fe(e.value.customPalette)), A = d(null), M = d(!1), pe = k(() => e.value.responsiveBreakpoint);
59
- Ce(() => {
60
- ee();
59
+ }), be = h(() => Me(e.value.customPalette)), $ = v(null), M = v(!1), ye = h(() => e.value.responsiveBreakpoint);
60
+ Ie(() => {
61
+ le();
61
62
  });
62
- const E = d(e.value.colNames);
63
- function ee() {
64
- We(y.dataset) && ue({
63
+ const E = v(e.value.colNames);
64
+ function le() {
65
+ Ee(_.dataset) && ve({
65
66
  componentName: "VueUiTableSparkline",
66
67
  type: "dataset"
67
68
  });
68
69
  const t = new ResizeObserver((l) => {
69
70
  l.forEach((a) => {
70
- M.value = a.contentRect.width < pe.value;
71
+ M.value = a.contentRect.width < ye.value;
71
72
  });
72
73
  });
73
- A.value && t.observe(A.value), E.value = [];
74
- for (let l = 0; l < le.value; l += 1)
74
+ $.value && t.observe($.value), E.value = [];
75
+ for (let l = 0; l < re.value; l += 1)
75
76
  E.value.push(e.value.colNames[l] || `col ${l}`);
76
77
  }
77
- const te = k(() => (y.dataset.forEach((t, l) => {
78
- Ve({
78
+ const oe = h(() => (_.dataset.forEach((t, l) => {
79
+ Be({
79
80
  datasetObject: t,
80
81
  requiredAttributes: ["name", "values"]
81
82
  }).forEach((a) => {
82
- ue({
83
+ ve({
83
84
  componentName: "VueUiTableSparkline",
84
85
  type: "datasetSerieAttribute",
85
86
  property: a,
86
87
  index: l
87
88
  });
88
89
  });
89
- }), y.dataset.map((t, l) => {
90
- const a = (t.values || []).map((n) => isNaN(n) ? 0 : n ?? 0), r = a.reduce((n, h) => n + h, 0), u = r / a.length, o = Te(a);
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);
91
92
  return {
92
93
  ...t,
93
94
  values: t.values || [],
94
- color: Me(t.color) || fe.value[l] || N[l] || N[l % N.length],
95
- sum: r,
96
- average: u,
97
- median: o,
98
- sparklineDataset: a.map((n, h) => ({
99
- period: e.value.colNames[h] || `col ${h}`,
95
+ color: Ue(t.color) || be.value[l] || N[l] || N[l % N.length],
96
+ sum: o,
97
+ average: r,
98
+ median: u,
99
+ sparklineDataset: a.map((n, f) => ({
100
+ period: e.value.colNames[f] || `col ${f}`,
100
101
  value: n || 0
101
102
  }))
102
103
  };
103
104
  })));
104
- function me(t) {
105
+ function he(t) {
105
106
  const a = (t[0].values || []).map(
106
- (u, o) => t.map((n) => n.values[o] || [])
107
+ (r, u) => t.map((n) => n.values[u] || [])
107
108
  ).map(
108
- (u) => u.map((o, n) => [o, n]).sort((o, n) => n[0] - o[0]).map((o) => o[1])
109
+ (r) => r.map((u, n) => [u, n]).sort((u, n) => n[0] - u[0]).map((u) => u[1])
109
110
  );
110
- return t.map((u, o) => ({
111
- ...u,
112
- values: u.values || [],
113
- orders: a[o]
111
+ return t.map((r, u) => ({
112
+ ...r,
113
+ values: r.values || [],
114
+ orders: a[u]
114
115
  }));
115
116
  }
116
- const C = k(() => me(te.value)), m = d(C.value), ge = k(() => Math.max(...m.value.map((t) => (t.values || []).length))), I = d(void 0), G = d(!1), S = d(void 0), $ = d(-1);
117
- function O() {
118
- G.value = !1, S.value = void 0, g.value = void 0, $.value = -1, m.value = C.value;
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 = {
120
+ name: 1,
121
+ sum: 1,
122
+ average: 1,
123
+ median: 1
124
+ }, b.value = A.value;
119
125
  }
120
- function ae(t, l) {
126
+ function ue(t, l) {
121
127
  if (["name", "sum", "average", "median"].includes(t.type)) {
122
- be(t.type);
128
+ _e(t.type, l);
123
129
  return;
124
130
  }
125
- if (!L(l)) return;
126
- if (x.value = l, g.value = void 0, $.value === 1) {
127
- $.value = -1, S.value = void 0, O();
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();
128
134
  return;
129
135
  }
130
- G.value = !0, S.value = l;
131
- const a = C.value.map((n) => n.values[l] || []), r = I.value === l ? 1 : -1;
132
- $.value = r, l === I.value ? I.value = void 0 : I.value = l;
133
- const o = a.map((n, h) => [h, n]).sort((n, h) => r * (h[1] - n[1])).map((n) => n[0]).map((n) => C.value[n]);
134
- m.value = o, V.value += 1;
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;
135
141
  }
136
- const le = k(() => Math.max(...y.dataset.map((t) => (t.values || []).length))), _ = k(() => {
142
+ const re = h(() => Math.max(..._.dataset.map((t) => (t.values || []).length))), C = h(() => {
137
143
  let t = E.value.map((a) => ({
138
144
  type: "reg",
139
145
  value: a
140
146
  }));
141
147
  if (!t.length)
142
- for (let a = 0; a < le.value; a += 1)
148
+ for (let a = 0; a < re.value; a += 1)
143
149
  t.push({ type: "reg", value: `col ${a + 1}` });
144
150
  e.value.showTotal && (t = [...t, { type: "sum", value: e.value.translations.total }]);
145
151
  let l;
@@ -148,116 +154,122 @@ const qe = ["id"], Xe = { style: { "z-index": "1", "padding-right": "24px" } },
148
154
  { type: "average", value: e.value.translations.average },
149
155
  { type: "median", value: e.value.translations.median }
150
156
  ] : 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;
151
- }), z = d({
152
- name: -1,
153
- sum: -1,
154
- average: -1,
155
- median: -1
156
- }), g = d(void 0);
157
- function be(t) {
158
- if (!m.value || m.value.length === 0 || !R(t)) return;
159
- if (g.value !== t && (g.value = void 0), S.value = void 0, z.value[t] === -1 && g.value) {
160
- g.value = void 0, O();
157
+ }), x = v({
158
+ name: 1,
159
+ sum: 1,
160
+ average: 1,
161
+ 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();
161
167
  return;
162
168
  }
163
- g.value = t, G.value = !0, z.value[t] = z.value[t] === -1 ? 1 : -1;
164
- const l = z.value[t], a = [...m.value].sort((r, u) => {
165
- const o = r[t] ?? (typeof r[t] == "number" ? 0 : ""), n = u[t] ?? (typeof u[t] == "number" ? 0 : "");
166
- return typeof o == "string" && typeof n == "string" ? l === -1 ? o.localeCompare(n) : n.localeCompare(o) : typeof o == "number" && typeof n == "number" ? l === -1 ? o - n : n - o : 0;
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;
167
173
  });
168
- m.value = a;
174
+ b.value = o;
169
175
  }
170
- const x = d(void 0), B = d(void 0);
171
- function ye({ dataIndex: t, serieIndex: l }) {
172
- x.value = t, B.value = l, T.value[t] && !M.value && T.value[t].scrollIntoView({ behavior: "smooth", block: "nearest", inline: "center" });
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" });
173
179
  }
174
- const oe = d(!1);
175
- function he(t) {
176
- oe.value = t, j.value += 1;
180
+ const se = v(!1);
181
+ function xe(t) {
182
+ se.value = t, j.value += 1;
177
183
  }
178
- function ne() {
179
- Oe(() => {
180
- const t = [e.value.translations.serie].concat(_.value), l = te.value.map((u, o) => [
181
- [u.name],
182
- u.values,
183
- [u.sum],
184
- [u.average],
185
- [u.median]
186
- ]), a = [t].concat(l), r = Ee(a);
187
- Ge({
188
- csvContent: r,
184
+ 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({
194
+ csvContent: o,
189
195
  title: e.value.title.text || "vue-ui-table-sparkline"
190
196
  });
191
197
  });
192
198
  }
193
- function L(t) {
199
+ function U(t) {
194
200
  return e.value.sortedDataColumnIndices.includes(t);
195
201
  }
196
- function R(t) {
202
+ function L(t) {
197
203
  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;
198
204
  }
199
- function ke(t, l) {
200
- return ["sum", "average", "median"].includes(l.type) ? g.value === l.type ? 1 : 0.3 : t === S.value ? 1 : 0.3;
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;
201
207
  }
202
- function _e() {
203
- e.value.resetSortOnClickOutside && O();
208
+ function we() {
209
+ e.value.resetSortOnClickOutside && w();
204
210
  }
205
- return ve({
206
- generatePdf: Y,
207
- generateImage: Z,
208
- generateCsv: ne,
209
- restoreOrder: O
210
- }), (t, l) => (i(), v("div", {
211
+ const I = h({
212
+ get: () => C.value.map((t) => ({ state: 1 })),
213
+ set: (t) => t
214
+ });
215
+ return me({
216
+ generatePdf: te,
217
+ generateImage: ae,
218
+ generateCsv: ie,
219
+ restoreOrder: w
220
+ }), (t, l) => (d(), c("div", {
211
221
  ref_key: "tableContainer",
212
- ref: A,
213
- class: U({ "vue-ui-responsive": M.value }),
222
+ ref: $,
223
+ class: R({ "vue-ui-responsive": M.value }),
214
224
  style: { overflow: "hidden" },
215
- id: `table_${W.value}`
225
+ id: `table_${V.value}`,
226
+ onMouseenter: l[2] || (l[2] = () => s(K)(!0)),
227
+ onMouseleave: l[3] || (l[3] = () => s(K)(!1))
216
228
  }, [
217
- f("div", {
229
+ p("div", {
218
230
  style: { overflow: "auto" },
219
231
  onPointerleave: l[1] || (l[1] = (a) => {
220
- B.value = void 0, x.value = void 0;
232
+ G.value = void 0, S.value = void 0;
221
233
  })
222
234
  }, [
223
- f("table", {
235
+ p("table", {
224
236
  class: "vue-ui-data-table",
225
- style: s({ fontFamily: e.value.fontFamily, position: "relative" })
237
+ style: i({ fontFamily: e.value.fontFamily, position: "relative" })
226
238
  }, [
227
- e.value.title.text ? (i(), v("caption", {
239
+ e.value.title.text ? (d(), c("caption", {
228
240
  key: 0,
229
- style: s({ backgroundColor: e.value.title.backgroundColor })
241
+ style: i({ backgroundColor: e.value.title.backgroundColor })
230
242
  }, [
231
- f("div", {
232
- style: s({
243
+ p("div", {
244
+ style: i({
233
245
  fontSize: `${e.value.title.fontSize}px`,
234
246
  fontWeight: e.value.title.bold ? "bold" : "normal",
235
247
  color: e.value.title.color,
236
248
  textAlign: e.value.title.textAlign
237
249
  })
238
- }, b(e.value.title.text), 5),
239
- e.value.title.subtitle.text ? (i(), v("div", {
250
+ }, k(e.value.title.text), 5),
251
+ e.value.title.subtitle.text ? (d(), c("div", {
240
252
  key: 0,
241
- style: s({
253
+ style: i({
242
254
  fontSize: `${e.value.title.subtitle.fontSize}px`,
243
255
  fontWeight: e.value.title.subtitle.bold ? "bold" : "normal",
244
256
  color: e.value.title.subtitle.color,
245
257
  textAlign: e.value.title.textAlign
246
258
  })
247
- }, b(e.value.title.subtitle.text), 5)) : p("", !0)
248
- ], 4)) : p("", !0),
249
- f("thead", Xe, [
250
- Se((i(), v("tr", {
259
+ }, k(e.value.title.subtitle.text), 5)) : g("", !0)
260
+ ], 4)) : g("", !0),
261
+ p("thead", Ye, [
262
+ Oe((d(), c("tr", {
251
263
  role: "row",
252
264
  class: "vue-ui-data-table__thead-row",
253
- style: s({
265
+ style: i({
254
266
  backgroundColor: e.value.thead.backgroundColor,
255
267
  color: e.value.thead.color
256
268
  })
257
269
  }, [
258
- f("th", {
270
+ p("th", {
259
271
  role: "cell",
260
- style: s({
272
+ style: i({
261
273
  backgroundColor: e.value.thead.backgroundColor,
262
274
  border: e.value.thead.outline,
263
275
  textAlign: e.value.thead.textAlign,
@@ -265,131 +277,136 @@ const qe = ["id"], Xe = { style: { "z-index": "1", "padding-right": "24px" } },
265
277
  cursor: e.value.sortedSeriesName ? "pointer" : "default"
266
278
  }),
267
279
  class: "sticky-col-first",
268
- onClick: l[0] || (l[0] = (a) => ae({ type: "name" }, null))
280
+ onClick: l[0] || (l[0] = (a) => ue({ type: "name" }, null))
269
281
  }, [
270
- f("div", {
271
- style: s({
282
+ p("div", {
283
+ style: i({
272
284
  display: "flex",
273
285
  flexDirection: "row",
274
286
  alignItems: "center",
275
287
  gap: "6px",
276
- justifyContent: e.value.thead.textAlign
288
+ justifyContent: e.value.thead.textAlign,
289
+ pointerEvents: "none"
277
290
  })
278
291
  }, [
279
- f("span", null, b(e.value.translations.serie), 1),
280
- e.value.sortedSeriesName ? (i(), H(ie, {
292
+ p("span", null, k(e.value.translations.serie), 1),
293
+ e.value.sortedSeriesName ? (d(), H(fe, {
281
294
  key: 0,
282
- size: 18,
283
- name: "sort",
295
+ size: 12,
296
+ name: x.value.name === 1 ? "arrowBottom" : "arrowTop",
284
297
  stroke: e.value.thead.color,
285
- style: s({
286
- opacity: g.value === "name" ? 1 : 0.3
298
+ style: i({
299
+ opacity: y.value === "name" ? 1 : 0.3
287
300
  })
288
- }, null, 8, ["stroke", "style"])) : p("", !0)
301
+ }, null, 8, ["name", "stroke", "style"])) : g("", !0)
289
302
  ], 4)
290
303
  ], 4),
291
- (i(!0), v(q, null, X(_.value, (a, r) => (i(), v("th", {
304
+ (d(!0), c(q, null, X(C.value, (a, o) => (d(), c("th", {
292
305
  role: "cell",
293
- style: s({
306
+ style: i({
294
307
  background: e.value.thead.backgroundColor,
295
308
  border: e.value.thead.outline,
296
309
  textAlign: e.value.thead.textAlign,
297
310
  fontWeight: e.value.thead.bold ? "bold" : "normal",
298
- minWidth: r === _.value.length - 1 ? `${e.value.sparkline.dimensions.width}px` : "48px",
299
- cursor: L(r) || R(a) ? "pointer" : "default",
300
- paddingRight: r === _.value.length - 1 && e.value.userOptions.show ? "36px" : ""
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" : ""
301
314
  }),
302
- onClick: () => ae(a, r),
303
- class: U({ "sticky-col": r === _.value.length - 1 && e.value.showSparklines })
315
+ onClick: () => ue(a, o),
316
+ class: R({ "sticky-col": o === C.value.length - 1 && e.value.showSparklines })
304
317
  }, [
305
- f("div", {
306
- style: s({
318
+ p("div", {
319
+ style: i({
307
320
  display: "flex",
308
321
  flexDirection: "row",
309
322
  alignItems: "center",
310
323
  gap: "6px",
311
- justifyContent: e.value.thead.textAlign
324
+ justifyContent: e.value.thead.textAlign,
325
+ pointerEvents: "none"
312
326
  })
313
327
  }, [
314
- f("span", null, b(a.value), 1),
315
- L(r) || R(a) ? (i(), H(ie, {
328
+ p("span", null, k(a.value), 1),
329
+ U(o) || L(a) ? (d(), H(fe, {
316
330
  key: 0,
317
- size: 18,
318
- name: "sort",
331
+ size: 12,
332
+ name: I.value[o].state === 1 ? "arrowBottom" : "arrowTop",
319
333
  stroke: e.value.thead.color,
320
- style: s({
321
- opacity: ke(r, a)
334
+ style: i({
335
+ opacity: Se(o, a)
322
336
  })
323
- }, null, 8, ["stroke", "style"])) : p("", !0)
337
+ }, null, 8, ["name", "stroke", "style"])) : g("", !0)
324
338
  ], 4),
325
- e.value.userOptions.show && r === _.value.length - 1 ? (i(), H(Re, {
339
+ e.value.userOptions.show && o === C.value.length - 1 && (s(Q) || s(J)) ? (d(), H(Xe, {
326
340
  ref_for: !0,
327
341
  ref: "details",
328
342
  key: `user_option_${j.value}`,
329
343
  backgroundColor: e.value.thead.backgroundColor,
330
344
  color: e.value.thead.color,
331
- isPrinting: c(K),
332
- isImaging: c(Q),
333
- uid: W.value,
345
+ isPrinting: s(Z),
346
+ isImaging: s(ee),
347
+ uid: V.value,
334
348
  hasPdf: e.value.userOptions.buttons.pdf,
335
349
  hasXls: e.value.userOptions.buttons.csv,
336
350
  hasImg: e.value.userOptions.buttons.img,
337
351
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
338
- isFullscreen: oe.value,
352
+ isFullscreen: se.value,
339
353
  titles: { ...e.value.userOptions.buttonTitles },
340
- chartElement: A.value,
354
+ chartElement: $.value,
341
355
  position: e.value.userOptions.position,
342
- onToggleFullscreen: he,
343
- onGeneratePdf: c(Y),
344
- onGenerateImage: c(Z),
345
- onGenerateCsv: ne
346
- }, we({ _: 2 }, [
356
+ onToggleFullscreen: xe,
357
+ onGeneratePdf: s(te),
358
+ onGenerateImage: s(ae),
359
+ onGenerateCsv: ie,
360
+ style: i({
361
+ visibility: s(Q) ? s(J) ? "visible" : "hidden" : "visible"
362
+ })
363
+ }, $e({ _: 2 }, [
347
364
  t.$slots.optionPdf ? {
348
365
  name: "optionPdf",
349
366
  fn: P(() => [
350
- w(t.$slots, "optionPdf", {}, void 0, !0)
367
+ O(t.$slots, "optionPdf", {}, void 0, !0)
351
368
  ]),
352
369
  key: "0"
353
370
  } : void 0,
354
371
  t.$slots.optionCsv ? {
355
372
  name: "optionCsv",
356
373
  fn: P(() => [
357
- w(t.$slots, "optionCsv", {}, void 0, !0)
374
+ O(t.$slots, "optionCsv", {}, void 0, !0)
358
375
  ]),
359
376
  key: "1"
360
377
  } : void 0,
361
378
  t.$slots.optionImg ? {
362
379
  name: "optionImg",
363
380
  fn: P(() => [
364
- w(t.$slots, "optionImg", {}, void 0, !0)
381
+ O(t.$slots, "optionImg", {}, void 0, !0)
365
382
  ]),
366
383
  key: "2"
367
384
  } : void 0,
368
385
  t.$slots.optionFullscreen ? {
369
386
  name: "optionFullscreen",
370
- fn: P(({ toggleFullscreen: u, isFullscreen: o }) => [
371
- w(t.$slots, "optionFullscreen", Ae(Ie({ toggleFullscreen: u, isFullscreen: o })), void 0, !0)
387
+ fn: P(({ toggleFullscreen: r, isFullscreen: u }) => [
388
+ O(t.$slots, "optionFullscreen", ze(Pe({ toggleFullscreen: r, isFullscreen: u })), void 0, !0)
372
389
  ]),
373
390
  key: "3"
374
391
  } : void 0
375
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "onGeneratePdf", "onGenerateImage"])) : p("", !0)
376
- ], 14, je))), 256))
392
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "onGeneratePdf", "onGenerateImage", "style"])) : g("", !0)
393
+ ], 14, Ze))), 256))
377
394
  ], 4)), [
378
- [c(Ue), _e]
395
+ [s(je), we]
379
396
  ])
380
397
  ]),
381
- f("tbody", null, [
382
- (i(!0), v(q, null, X(m.value, (a, r) => (i(), v("tr", {
398
+ p("tbody", null, [
399
+ (d(!0), c(q, null, X(b.value, (a, o) => (d(), c("tr", {
383
400
  role: "row",
384
- style: s({
401
+ style: i({
385
402
  backgroundColor: e.value.tbody.backgroundColor,
386
403
  color: e.value.tbody.color
387
404
  }),
388
- class: U({ "vue-ui-data-table__tbody__row": !0, "vue-ui-data-table__tbody__row-even": r % 2 === 0, "vue-ui-data-table__tbody__row-odd": r % 2 !== 0 })
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 })
389
406
  }, [
390
- f("td", {
407
+ p("td", {
391
408
  role: "cell",
392
- style: s({
409
+ style: i({
393
410
  backgroundColor: e.value.tbody.backgroundColor,
394
411
  border: e.value.tbody.outline,
395
412
  fontSize: `${e.value.tbody.fontSize}px`,
@@ -399,9 +416,9 @@ const qe = ["id"], Xe = { style: { "z-index": "1", "padding-right": "24px" } },
399
416
  "data-cell": e.value.translations.serie,
400
417
  class: "vue-ui-data-table__tbody__td sticky-col-first"
401
418
  }, [
402
- f("div", {
419
+ p("div", {
403
420
  dir: "auto",
404
- style: s({
421
+ style: i({
405
422
  display: "flex",
406
423
  flexDirection: "row",
407
424
  alignItems: "center",
@@ -409,47 +426,47 @@ const qe = ["id"], Xe = { style: { "z-index": "1", "padding-right": "24px" } },
409
426
  justifyContent: e.value.tbody.textAlign
410
427
  })
411
428
  }, [
412
- e.value.tbody.showColorMarker ? (i(), v("span", {
429
+ e.value.tbody.showColorMarker ? (d(), c("span", {
413
430
  key: 0,
414
- style: s({ color: a.color })
415
- }, "⬤", 4)) : p("", !0),
416
- f("span", null, b(a.name ?? "-"), 1)
431
+ style: i({ color: a.color })
432
+ }, "⬤", 4)) : g("", !0),
433
+ p("span", null, k(a.name ?? "-"), 1)
417
434
  ], 4)
418
- ], 12, Je),
419
- (i(!0), v(q, null, X(ge.value, (u, o) => (i(), v("td", {
435
+ ], 12, et),
436
+ (d(!0), c(q, null, X(ke.value, (r, u) => (d(), c("td", {
420
437
  dir: "auto",
421
438
  role: "cell",
422
439
  ref_for: !0,
423
440
  ref_key: "TD",
424
- ref: T,
425
- style: s({
441
+ ref: W,
442
+ style: i({
426
443
  border: e.value.tbody.outline,
427
444
  fontSize: `${e.value.tbody.fontSize}px`,
428
445
  fontWeight: e.value.tbody.bold ? "bold" : "normal",
429
446
  textAlign: e.value.tbody.textAlign,
430
- background: x.value !== void 0 && o === x.value ? e.value.tbody.selectedColor.useSerieColor ? `${a.color.length > 7 ? a.color.slice(0, -2) : a.color}33` : e.value.tbody.selectedColor.fallback : ""
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 : ""
431
448
  }),
432
- "data-cell": _.value[o],
449
+ "data-cell": C.value[u],
433
450
  class: "vue-ui-data-table__tbody__td",
434
451
  onPointerenter: (n) => {
435
- B.value = r, x.value = o;
452
+ G.value = o, S.value = u;
436
453
  }
437
- }, b([null, void 0].includes(a.values[o]) ? "-" : c(D)(
454
+ }, k([null, void 0].includes(a.values[u]) ? "-" : s(D)(
438
455
  e.value.formatter,
439
- Number(a.values[o]),
440
- c(F)({
456
+ Number(a.values[u]),
457
+ s(F)({
441
458
  p: e.value.prefix,
442
- v: Number(a.values[o]),
459
+ v: Number(a.values[u]),
443
460
  s: e.value.suffix,
444
461
  r: e.value.roundingValues
445
462
  }),
446
- { datapoint: a, seriesIndex: r, datapointIndex: o }
447
- )), 45, Ke))), 256)),
448
- e.value.showTotal ? (i(), v("td", {
463
+ { datapoint: a, seriesIndex: o, datapointIndex: u }
464
+ )), 45, tt))), 256)),
465
+ e.value.showTotal ? (d(), c("td", {
449
466
  key: 0,
450
467
  dir: "auto",
451
468
  role: "cell",
452
- style: s({
469
+ style: i({
453
470
  border: e.value.tbody.outline,
454
471
  fontSize: `${e.value.tbody.fontSize}px`,
455
472
  fontWeight: e.value.tbody.bold ? "bold" : "normal",
@@ -457,22 +474,22 @@ const qe = ["id"], Xe = { style: { "z-index": "1", "padding-right": "24px" } },
457
474
  }),
458
475
  "data-cell": e.value.translations.total,
459
476
  class: "vue-ui-data-table__tbody__td"
460
- }, b(c(D)(
477
+ }, k(s(D)(
461
478
  e.value.formatter,
462
479
  a.sum,
463
- c(F)({
480
+ s(F)({
464
481
  p: e.value.prefix,
465
482
  v: a.sum,
466
483
  s: e.value.suffix,
467
484
  r: e.value.roundingTotal
468
485
  }),
469
- { datapoint: a.sum, seriesIndex: r }
470
- )), 13, Qe)) : p("", !0),
471
- e.value.showAverage ? (i(), v("td", {
486
+ { datapoint: a.sum, seriesIndex: o }
487
+ )), 13, at)) : g("", !0),
488
+ e.value.showAverage ? (d(), c("td", {
472
489
  key: 1,
473
490
  dir: "auto",
474
491
  role: "cell",
475
- style: s({
492
+ style: i({
476
493
  border: e.value.tbody.outline,
477
494
  fontSize: `${e.value.tbody.fontSize}px`,
478
495
  fontWeight: e.value.tbody.bold ? "bold" : "normal",
@@ -480,22 +497,22 @@ const qe = ["id"], Xe = { style: { "z-index": "1", "padding-right": "24px" } },
480
497
  }),
481
498
  "data-cell": e.value.translations.average,
482
499
  class: "vue-ui-data-table__tbody__td"
483
- }, b(c(D)(
500
+ }, k(s(D)(
484
501
  e.value.formatter,
485
502
  a.average,
486
- c(F)({
503
+ s(F)({
487
504
  p: e.value.prefix,
488
505
  v: a.average,
489
506
  s: e.value.suffix,
490
507
  r: e.value.roundingAverage
491
508
  }),
492
- { datapoint: a.average, seriesIndex: r }
493
- )), 13, Ye)) : p("", !0),
494
- e.value.showMedian ? (i(), v("td", {
509
+ { datapoint: a.average, seriesIndex: o }
510
+ )), 13, lt)) : g("", !0),
511
+ e.value.showMedian ? (d(), c("td", {
495
512
  key: 2,
496
513
  dir: "auto",
497
514
  role: "cell",
498
- style: s({
515
+ style: i({
499
516
  border: e.value.tbody.outline,
500
517
  fontSize: `${e.value.tbody.fontSize}px`,
501
518
  fontWeight: e.value.tbody.bold ? "bold" : "normal",
@@ -503,22 +520,22 @@ const qe = ["id"], Xe = { style: { "z-index": "1", "padding-right": "24px" } },
503
520
  }),
504
521
  "data-cell": e.value.translations.median,
505
522
  class: "vue-ui-data-table__tbody__td"
506
- }, b(c(D)(
523
+ }, k(s(D)(
507
524
  e.value.formatter,
508
525
  a.median,
509
- c(F)({
526
+ s(F)({
510
527
  p: e.value.prefix,
511
528
  v: a.median,
512
529
  s: e.value.suffix,
513
530
  r: e.value.roundingMedian
514
531
  }),
515
- { datapoint: a.median, seriesIndex: r }
516
- )), 13, Ze)) : p("", !0),
517
- e.value.showSparklines ? (i(), v("td", {
532
+ { datapoint: a.median, seriesIndex: o }
533
+ )), 13, ot)) : g("", !0),
534
+ e.value.showSparklines ? (d(), c("td", {
518
535
  key: 3,
519
536
  role: "cell",
520
537
  "data-cell": e.value.translations.chart,
521
- style: s({
538
+ style: i({
522
539
  border: e.value.tbody.outline,
523
540
  fontSize: `${e.value.tbody.fontSize}px`,
524
541
  fontWeight: e.value.tbody.bold ? "bold" : "normal",
@@ -528,19 +545,19 @@ const qe = ["id"], Xe = { style: { "z-index": "1", "padding-right": "24px" } },
528
545
  }),
529
546
  class: "vue-ui-data-table__tbody__td sticky-col"
530
547
  }, [
531
- $e(Be, {
532
- onHoverIndex: ({ index: u }) => ye({ dataIndex: u, serieIndex: r }),
548
+ Ne(He, {
549
+ onHoverIndex: ({ index: r }) => Ce({ dataIndex: r, serieIndex: o }),
533
550
  "height-ratio": e.value.sparkline.dimensions.heightRatio,
534
551
  "forced-padding": 30,
535
552
  dataset: a.sparklineDataset,
536
553
  showInfo: !1,
537
- selectedIndex: x.value,
554
+ selectedIndex: S.value,
538
555
  config: {
539
556
  type: e.value.sparkline.type,
540
557
  style: {
541
558
  backgroundColor: "transparent",
542
559
  animation: {
543
- show: e.value.sparkline.animation.show && !c(K) && !c(Q),
560
+ show: e.value.sparkline.animation.show && !s(Z) && !s(ee),
544
561
  animationFrames: e.value.sparkline.animation.animationFrames
545
562
  },
546
563
  line: {
@@ -567,17 +584,17 @@ const qe = ["id"], Xe = { style: { "z-index": "1", "padding-right": "24px" } },
567
584
  }
568
585
  }
569
586
  }, null, 8, ["onHoverIndex", "height-ratio", "dataset", "selectedIndex", "config"])
570
- ], 12, et)) : p("", !0)
587
+ ], 12, nt)) : g("", !0)
571
588
  ], 6))), 256))
572
589
  ])
573
590
  ], 4)
574
591
  ], 32),
575
- t.$slots.source ? (i(), v("div", tt, [
576
- w(t.$slots, "source", {}, void 0, !0)
577
- ], 512)) : p("", !0)
578
- ], 10, qe));
592
+ t.$slots.source ? (d(), c("div", ut, [
593
+ O(t.$slots, "source", {}, void 0, !0)
594
+ ], 512)) : g("", !0)
595
+ ], 42, Qe));
579
596
  }
580
- }, dt = /* @__PURE__ */ He(at, [["__scopeId", "data-v-12c6b6f3"]]);
597
+ }, gt = /* @__PURE__ */ Ke(rt, [["__scopeId", "data-v-5bd76162"]]);
581
598
  export {
582
- dt as default
599
+ gt as default
583
600
  };