vue-data-ui 2.4.50 → 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 (200) hide show
  1. package/README.md +12 -0
  2. package/dist/{Arrow-D1z9KkQN.js → Arrow-BuBoE64l.js} +1 -1
  3. package/dist/{Arrow-DuuEh1Nr.cjs → Arrow-CFlFdPC5.cjs} +1 -1
  4. package/dist/{BaseIcon-DemqZ_13.cjs → BaseIcon-CfhoS_qC.cjs} +1 -1
  5. package/dist/{BaseIcon-BHwqOTt4.js → BaseIcon-zmxwsaLW.js} +1 -1
  6. package/dist/{DataTable-CQ8fQnex.js → DataTable-COkA4Nyz.js} +2 -2
  7. package/dist/{DataTable-CovKV5Yy.cjs → DataTable-CwAdpLng.cjs} +1 -1
  8. package/dist/{Legend-Bbz-hKDf.cjs → Legend-CR9ydX8N.cjs} +1 -1
  9. package/dist/{Legend-Br7MWNDo.js → Legend-bYlSC7I7.js} +1 -1
  10. package/dist/{PackageVersion-BEtuCME5.cjs → PackageVersion-C1F3QLoY.cjs} +1 -1
  11. package/dist/{PackageVersion-BV3fHO46.js → PackageVersion-Dz3KcTL4.js} +1 -1
  12. package/dist/{PenAndPaper-CCOywdmm.js → PenAndPaper-BycdTwSP.js} +3 -3
  13. package/dist/{PenAndPaper-BIcmfBvD.cjs → PenAndPaper-DDheVRNG.cjs} +1 -1
  14. package/dist/{Shape-BD37ZaX9.cjs → Shape-BBp5EwJH.cjs} +1 -1
  15. package/dist/{Shape-B7Mekpyf.js → Shape-BDJJ38uM.js} +1 -1
  16. package/dist/{Slicer-CWvkt-8k.cjs → Slicer-7oTpm-cZ.cjs} +1 -1
  17. package/dist/{Slicer-ahFReg7h.js → Slicer-D_DaIThC.js} +2 -2
  18. package/dist/{Title-C2siG5N2.cjs → Title-B7ruS8yl.cjs} +1 -1
  19. package/dist/{Title-CIsKiWgN.js → Title-aMb2ETf7.js} +1 -1
  20. package/dist/{Tooltip-B1LgrF9R.js → Tooltip-BRZ3DT4p.js} +1 -1
  21. package/dist/{Tooltip-CS4C58T7.cjs → Tooltip-BqSN71SL.cjs} +1 -1
  22. package/dist/index-BkXYJDpD.cjs +9 -0
  23. package/dist/{index-BtL_cLa8.js → index-K5uyh1gA.js} +5 -1
  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-D_feh7A_.cjs → useNestedProp-C6IvqE-r.cjs} +1 -1
  28. package/dist/{useNestedProp-CEAfm1tu.js → useNestedProp-DifqJZAs.js} +1 -1
  29. package/dist/{usePrinter-B4xDG31F.cjs → usePrinter-DHv-BwME.cjs} +1 -1
  30. package/dist/{usePrinter-sRt2SKr2.js → usePrinter-p_ZZlGc9.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-NkhaiK6y.js → vue-data-ui-3PlAeIlX.js} +60 -60
  34. package/dist/{vue-data-ui-CuEYAddV.cjs → vue-data-ui-M0E2b8Dw.cjs} +1 -1
  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-BeXYzdzu.js → vue-ui-3d-bar-PrijRaoI.js} +355 -349
  38. package/dist/vue-ui-3d-bar-VQyMytda.cjs +19 -0
  39. package/dist/{vue-ui-accordion-Cjc683tN.js → vue-ui-accordion-CsJT7Az3.js} +3 -3
  40. package/dist/{vue-ui-accordion-CBxsUoGb.cjs → vue-ui-accordion-kr18wKfc.cjs} +1 -1
  41. package/dist/vue-ui-age-pyramid-BV1MgH8J.cjs +1 -0
  42. package/dist/{vue-ui-age-pyramid-rnt8M-Qz.js → vue-ui-age-pyramid-DFYykOow.js} +260 -254
  43. package/dist/{vue-ui-annotator-CFU5Zyfk.js → vue-ui-annotator-Blg3LdqF.js} +1 -1
  44. package/dist/{vue-ui-annotator-Yu-mHS2N.cjs → vue-ui-annotator-DffUZR4a.cjs} +1 -1
  45. package/dist/vue-ui-bullet-DSampkai.cjs +34 -0
  46. package/dist/{vue-ui-bullet-CRbW1ON6.js → vue-ui-bullet-Ybz4qPWl.js} +147 -141
  47. package/dist/vue-ui-candlestick-BxcwK8UI.cjs +2 -0
  48. package/dist/{vue-ui-candlestick-D-ERLtI1.js → vue-ui-candlestick-DsVBdCz_.js} +231 -225
  49. package/dist/vue-ui-carousel-table-C2ThrWYt.js +379 -0
  50. package/dist/vue-ui-carousel-table-DkWNe0mJ.cjs +1 -0
  51. package/dist/{vue-ui-chestnut-CqJRKECX.js → vue-ui-chestnut-BacH0ZYK.js} +258 -252
  52. package/dist/vue-ui-chestnut-Cw8LKuZG.cjs +6 -0
  53. package/dist/{vue-ui-cursor-jrrdh8Lf.js → vue-ui-cursor-CMKSCQ-v.js} +2 -2
  54. package/dist/{vue-ui-cursor-S83QIsxQ.cjs → vue-ui-cursor-D2kQNFWy.cjs} +1 -1
  55. package/dist/{vue-ui-dashboard-DR_Bhwa3.js → vue-ui-dashboard-9PYl4mWC.js} +2 -2
  56. package/dist/{vue-ui-dashboard-DW1mIInG.cjs → vue-ui-dashboard-BHwlhK33.cjs} +1 -1
  57. package/dist/{vue-ui-digits-s5f9eFtW.cjs → vue-ui-digits-2yacgzrJ.cjs} +1 -1
  58. package/dist/{vue-ui-digits-1jZdiwHJ.js → vue-ui-digits-CyTjq_oN.js} +2 -2
  59. package/dist/vue-ui-donut-BNv1eGiu.cjs +1 -0
  60. package/dist/{vue-ui-donut-BAYiPsxp.js → vue-ui-donut-BxLlCBhU.js} +402 -396
  61. package/dist/{vue-ui-donut-evolution-DsHTZ9T2.js → vue-ui-donut-evolution-Bw9hfwuO.js} +320 -314
  62. package/dist/vue-ui-donut-evolution-DGjHfyq8.cjs +1 -0
  63. package/dist/vue-ui-dumbbell-CjHcgzti.cjs +9 -0
  64. package/dist/{vue-ui-dumbbell-DcMmBxLy.js → vue-ui-dumbbell-D0PjpD19.js} +267 -261
  65. package/dist/{vue-ui-flow-BTXEmIQG.js → vue-ui-flow-BuTJcn6b.js} +174 -168
  66. package/dist/vue-ui-flow-Dc-KV4a3.cjs +1 -0
  67. package/dist/{vue-ui-funnel-BB_h0FKg.js → vue-ui-funnel-CxO1aav3.js} +190 -184
  68. package/dist/vue-ui-funnel-QQGqK4OD.cjs +1 -0
  69. package/dist/{vue-ui-galaxy-DlBk1FUz.js → vue-ui-galaxy-B2uwYVgz.js} +199 -193
  70. package/dist/vue-ui-galaxy-CABgAX76.cjs +1 -0
  71. package/dist/vue-ui-gauge-CTEPbzWe.cjs +1 -0
  72. package/dist/{vue-ui-gauge-1SFhSMfU.js → vue-ui-gauge-CqhJx__t.js} +213 -207
  73. package/dist/{vue-ui-gizmo-CtX6KFN2.js → vue-ui-gizmo-D7G-8Al-.js} +3 -3
  74. package/dist/{vue-ui-gizmo-C8rLR4n5.cjs → vue-ui-gizmo-DlQOItIS.cjs} +1 -1
  75. package/dist/vue-ui-heatmap-BOwY6qNR.cjs +1 -0
  76. package/dist/{vue-ui-heatmap-BzyvTePn.js → vue-ui-heatmap-DLNzJh--.js} +291 -285
  77. package/dist/{vue-ui-history-plot-BEoHuZ3N.js → vue-ui-history-plot-CH2mN74k.js} +258 -252
  78. package/dist/vue-ui-history-plot-EiYWpITj.cjs +1 -0
  79. package/dist/{vue-ui-kpi-BYOyJjYg.js → vue-ui-kpi-Cb3fLQlS.js} +3 -3
  80. package/dist/{vue-ui-kpi-LO4KKRR9.cjs → vue-ui-kpi-DB00TrXv.cjs} +1 -1
  81. package/dist/{vue-ui-mini-loader-ChHdx5me.js → vue-ui-mini-loader-Czn2u6m3.js} +2 -2
  82. package/dist/{vue-ui-mini-loader-wlUD77O6.cjs → vue-ui-mini-loader-DAaZwOTE.cjs} +1 -1
  83. package/dist/{vue-ui-molecule-Bo7XYpf-.js → vue-ui-molecule-BAwzIU19.js} +300 -295
  84. package/dist/vue-ui-molecule-DZ6Z4eru.cjs +1 -0
  85. package/dist/vue-ui-mood-radar-BL3vQzMq.cjs +1 -0
  86. package/dist/{vue-ui-mood-radar-DXj4Ce6l.js → vue-ui-mood-radar-BXOWHB57.js} +202 -196
  87. package/dist/vue-ui-nested-donuts-D1EF5IEw.cjs +17 -0
  88. package/dist/{vue-ui-nested-donuts-BBLpNVwF.js → vue-ui-nested-donuts-F1pwFa1Y.js} +298 -292
  89. package/dist/{vue-ui-onion-DC8VIInA.js → vue-ui-onion-C9dEaRbc.js} +214 -208
  90. package/dist/vue-ui-onion-nA8sXxh-.cjs +5 -0
  91. package/dist/{vue-ui-parallel-coordinate-plot-Cl1wiHsK.js → vue-ui-parallel-coordinate-plot-Cgc8JHMy.js} +260 -254
  92. package/dist/vue-ui-parallel-coordinate-plot-DL4DOhyh.cjs +8 -0
  93. package/dist/{vue-ui-quadrant-b5cuEH9z.js → vue-ui-quadrant-C_hJHr9T.js} +278 -272
  94. package/dist/vue-ui-quadrant-DJGxKeBq.cjs +1 -0
  95. package/dist/vue-ui-quick-chart-C5v_8Kpw.cjs +15 -0
  96. package/dist/{vue-ui-quick-chart-CFBPYw2J.js → vue-ui-quick-chart-D4k-zSan.js} +474 -466
  97. package/dist/vue-ui-radar-BeGVGueh.cjs +1 -0
  98. package/dist/{vue-ui-radar-DP8360kx.js → vue-ui-radar-WKQ-TavD.js} +265 -259
  99. package/dist/{vue-ui-rating-DIthBSp_.js → vue-ui-rating-BrSnMkzF.js} +2 -2
  100. package/dist/{vue-ui-rating-D7b-kfyp.cjs → vue-ui-rating-DI3L8UYN.cjs} +1 -1
  101. package/dist/vue-ui-relation-circle-BJ_TOhIp.cjs +1 -0
  102. package/dist/vue-ui-relation-circle-DzZ5H4og.js +498 -0
  103. package/dist/vue-ui-rings-1qwg2E0O.cjs +2 -0
  104. package/dist/{vue-ui-rings-y9Zx-DaI.js → vue-ui-rings-43dY-4_7.js} +206 -201
  105. package/dist/vue-ui-scatter-cTK10i0K.cjs +1 -0
  106. package/dist/{vue-ui-scatter-Cbu5GDc1.js → vue-ui-scatter-q6Sfqa4W.js} +330 -324
  107. package/dist/{vue-ui-screenshot-BZh_sgjP.js → vue-ui-screenshot-CEy169Mc.js} +1 -1
  108. package/dist/{vue-ui-screenshot-oH-YnZBE.cjs → vue-ui-screenshot-gOGGT_ti.cjs} +1 -1
  109. package/dist/{vue-ui-skeleton-Nuju6X7l.cjs → vue-ui-skeleton-BTN1PKkz.cjs} +1 -1
  110. package/dist/{vue-ui-skeleton-DjFU2X3P.js → vue-ui-skeleton-BhA2lIT6.js} +3 -3
  111. package/dist/{vue-ui-smiley-DdnzzEYS.js → vue-ui-smiley-BAFdctGJ.js} +2 -2
  112. package/dist/{vue-ui-smiley-DtQVEc4B.cjs → vue-ui-smiley-BIEXWWWa.cjs} +1 -1
  113. package/dist/{vue-ui-spark-trend-CaIGk_53.js → vue-ui-spark-trend-Deg6oJxD.js} +5 -5
  114. package/dist/{vue-ui-spark-trend-B36zW41F.cjs → vue-ui-spark-trend-LqnAP3mZ.cjs} +1 -1
  115. package/dist/{vue-ui-sparkbar-iQKGtxo8.cjs → vue-ui-sparkbar-CJR8pSqp.cjs} +1 -1
  116. package/dist/{vue-ui-sparkbar-DixeozKp.js → vue-ui-sparkbar-Dm393iij.js} +4 -4
  117. package/dist/{vue-ui-sparkgauge-DEvgucF7.cjs → vue-ui-sparkgauge-DpP1XF6C.cjs} +1 -1
  118. package/dist/{vue-ui-sparkgauge-C01VB6KP.js → vue-ui-sparkgauge-WTo7H8eC.js} +4 -4
  119. package/dist/{vue-ui-sparkhistogram-CTUuxOma.cjs → vue-ui-sparkhistogram-CEvdVaLZ.cjs} +1 -1
  120. package/dist/{vue-ui-sparkhistogram-C_6lHF3O.js → vue-ui-sparkhistogram-DNVBeCU9.js} +5 -5
  121. package/dist/{vue-ui-sparkline-DrZWPGOG.cjs → vue-ui-sparkline-B87AKRMY.cjs} +1 -1
  122. package/dist/{vue-ui-sparkline-Btm4HVgi.js → vue-ui-sparkline-Bcn_JAfC.js} +4 -4
  123. package/dist/{vue-ui-sparkstackbar-7pcfCNMr.cjs → vue-ui-sparkstackbar-Cmafq74u.cjs} +1 -1
  124. package/dist/{vue-ui-sparkstackbar-D0UGUm-1.js → vue-ui-sparkstackbar-DPPTp1Tm.js} +5 -5
  125. package/dist/{vue-ui-stackbar-BPMDmY04.js → vue-ui-stackbar-BeXW23yH.js} +382 -376
  126. package/dist/vue-ui-stackbar-DeFiDh8a.cjs +6 -0
  127. package/dist/vue-ui-strip-plot-5n6Om5PH.cjs +1 -0
  128. package/dist/{vue-ui-strip-plot-BfWQMGXy.js → vue-ui-strip-plot-CG-wp65N.js} +261 -255
  129. package/dist/{vue-ui-table-Cdo265Yt.cjs → vue-ui-table-Bbfdq7B8.cjs} +1 -1
  130. package/dist/{vue-ui-table-D8GaLhM9.js → vue-ui-table-BzuWkWse.js} +1 -1
  131. package/dist/vue-ui-table-heatmap--Uj5nFcF.cjs +1 -0
  132. package/dist/vue-ui-table-heatmap-obAYC2HB.js +262 -0
  133. package/dist/vue-ui-table-sparkline-Buh41Ovt.cjs +1 -0
  134. package/dist/{vue-ui-table-sparkline-DMHf03C9.js → vue-ui-table-sparkline-CW0-ubzl.js} +288 -236
  135. package/dist/{vue-ui-thermometer-BCVqil7E.js → vue-ui-thermometer-BmgPuIr6.js} +187 -181
  136. package/dist/vue-ui-thermometer-DW10BlzG.cjs +1 -0
  137. package/dist/{vue-ui-timer-DF5HkeeS.js → vue-ui-timer-6eWSNYld.js} +5 -5
  138. package/dist/{vue-ui-timer-gxiLCP1n.cjs → vue-ui-timer-CKp_yNVJ.cjs} +1 -1
  139. package/dist/vue-ui-tiremarks-DeEI5TAa.js +323 -0
  140. package/dist/vue-ui-tiremarks-nb8r7akm.cjs +1 -0
  141. package/dist/vue-ui-treemap-B54QUZ46.cjs +1 -0
  142. package/dist/{vue-ui-treemap-CIZaPmbi.js → vue-ui-treemap-tlPZye6M.js} +261 -255
  143. package/dist/{vue-ui-vertical-bar-dQoTddqU.js → vue-ui-vertical-bar-BIst1a32.js} +251 -245
  144. package/dist/vue-ui-vertical-bar-CCXF79YU.cjs +4 -0
  145. package/dist/vue-ui-waffle-Dctw-uNI.cjs +1 -0
  146. package/dist/{vue-ui-waffle-CnvWOEVU.js → vue-ui-waffle-iJT4g4Ht.js} +333 -327
  147. package/dist/vue-ui-wheel-DnCpgZZo.cjs +1 -0
  148. package/dist/vue-ui-wheel-v1_jsNWp.js +305 -0
  149. package/dist/vue-ui-word-cloud-BXa6XzUJ.cjs +1 -0
  150. package/dist/{vue-ui-word-cloud-o3zU6r0-.js → vue-ui-word-cloud-DR8E1ArH.js} +247 -241
  151. package/dist/{vue-ui-xy-GR4PGBDy.js → vue-ui-xy-BZ3lbw6i.js} +708 -697
  152. package/dist/vue-ui-xy-CvFWhRR-.cjs +3 -0
  153. package/dist/vue-ui-xy-canvas-BVw3zOIC.cjs +9 -0
  154. package/dist/{vue-ui-xy-canvas-BKGOnjut.js → vue-ui-xy-canvas-hPcU2SBK.js} +344 -338
  155. package/package.json +1 -1
  156. package/dist/index-DoD-GxZR.cjs +0 -9
  157. package/dist/vue-ui-3d-bar-RduHvzwG.cjs +0 -19
  158. package/dist/vue-ui-age-pyramid-DVtbyRJw.cjs +0 -1
  159. package/dist/vue-ui-bullet-Be5aYhtp.cjs +0 -34
  160. package/dist/vue-ui-candlestick-B6wSs-JC.cjs +0 -2
  161. package/dist/vue-ui-carousel-table-7reErH8M.cjs +0 -1
  162. package/dist/vue-ui-carousel-table-I1m4HMWf.js +0 -373
  163. package/dist/vue-ui-chestnut-D-WzX16q.cjs +0 -6
  164. package/dist/vue-ui-donut-Ce1SaXNu.cjs +0 -1
  165. package/dist/vue-ui-donut-evolution-DI8yeIa4.cjs +0 -1
  166. package/dist/vue-ui-dumbbell-CFJkwtM8.cjs +0 -9
  167. package/dist/vue-ui-flow-B4MtorhO.cjs +0 -1
  168. package/dist/vue-ui-funnel-DNL12vLQ.cjs +0 -1
  169. package/dist/vue-ui-galaxy-CmCZGOKz.cjs +0 -1
  170. package/dist/vue-ui-gauge-B7ieQMud.cjs +0 -1
  171. package/dist/vue-ui-heatmap-Bfi3KJwS.cjs +0 -1
  172. package/dist/vue-ui-history-plot-5kZ54hgy.cjs +0 -1
  173. package/dist/vue-ui-molecule-D-4cRS5w.cjs +0 -1
  174. package/dist/vue-ui-mood-radar-C3x_LH7Q.cjs +0 -1
  175. package/dist/vue-ui-nested-donuts-DrL7-SUd.cjs +0 -17
  176. package/dist/vue-ui-onion-8Vz3lPbn.cjs +0 -5
  177. package/dist/vue-ui-parallel-coordinate-plot-D6q4WQ0B.cjs +0 -8
  178. package/dist/vue-ui-quadrant-DBZS5jFQ.cjs +0 -1
  179. package/dist/vue-ui-quick-chart-Cno_1mzu.cjs +0 -15
  180. package/dist/vue-ui-radar-ChcBO21S.cjs +0 -1
  181. package/dist/vue-ui-relation-circle-C5pO0iHY.cjs +0 -1
  182. package/dist/vue-ui-relation-circle-D2iwmChn.js +0 -492
  183. package/dist/vue-ui-rings-C_NLJYs8.cjs +0 -2
  184. package/dist/vue-ui-scatter-BNeMGDNk.cjs +0 -1
  185. package/dist/vue-ui-stackbar-BwRdmPvB.cjs +0 -6
  186. package/dist/vue-ui-strip-plot-CLN9LikJ.cjs +0 -1
  187. package/dist/vue-ui-table-heatmap-C4DRSfsE.js +0 -256
  188. package/dist/vue-ui-table-heatmap-CDAf1IIk.cjs +0 -1
  189. package/dist/vue-ui-table-sparkline-Cw7NOiYx.cjs +0 -1
  190. package/dist/vue-ui-thermometer-7BORZJjd.cjs +0 -1
  191. package/dist/vue-ui-tiremarks-CwGnFx4f.cjs +0 -1
  192. package/dist/vue-ui-tiremarks-lidhcJsi.js +0 -317
  193. package/dist/vue-ui-treemap-BZ_LmiBK.cjs +0 -1
  194. package/dist/vue-ui-vertical-bar-venrkqjM.cjs +0 -4
  195. package/dist/vue-ui-waffle-oR54BbIg.cjs +0 -1
  196. package/dist/vue-ui-wheel-BUHZEzPr.cjs +0 -1
  197. package/dist/vue-ui-wheel-D3itrMku.js +0 -299
  198. package/dist/vue-ui-word-cloud-87gwksmM.cjs +0 -1
  199. package/dist/vue-ui-xy-D56pm4L0.cjs +0 -3
  200. package/dist/vue-ui-xy-canvas-uikeVe72.cjs +0 -9
@@ -1,15 +1,30 @@
1
- import { useCssVars as xe, ref as d, computed as h, watch as re, onMounted as Se, openBlock as i, createElementBlock as v, normalizeClass as U, createElementVNode as p, normalizeStyle as s, toDisplayString as k, createCommentVNode as g, withDirectives as we, createBlock as H, Fragment as q, renderList as X, unref as f, createSlots as Ae, withCtx as P, renderSlot as $, normalizeProps as Ie, guardReactiveProps as $e, createVNode as Oe, nextTick as ze } from "vue";
2
- import { u as Pe, c as Ne, t as De, a as Fe, p as N, b as Te, o as We, e as se, g as Ve, $ as Ee, d as Me, i as D, f as F, q as Be, r as Ge } from "./index-BtL_cLa8.js";
3
- import { u as ie } from "./useNestedProp-CEAfm1tu.js";
4
- import Le from "./vue-ui-sparkline-Btm4HVgi.js";
5
- import de from "./BaseIcon-BHwqOTt4.js";
6
- import { u as Re, U as Ue, v as He } from "./usePrinter-sRt2SKr2.js";
7
- import { _ as qe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
8
- const Xe = ["id"], je = { style: { "z-index": "1", "padding-right": "24px" } }, Je = ["onClick"], Ke = ["data-cell"], Qe = ["data-cell", "onPointerenter"], Ye = ["data-cell"], Ze = ["data-cell"], et = ["data-cell"], tt = ["data-cell"], at = {
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 = {
9
24
  key: 0,
10
25
  ref: "source",
11
26
  dir: "auto"
12
- }, lt = {
27
+ }, vt = {
13
28
  __name: "vue-ui-table-sparkline",
14
29
  props: {
15
30
  config: {
@@ -25,126 +40,126 @@ const Xe = ["id"], je = { style: { "z-index": "1", "padding-right": "24px" } },
25
40
  }
26
41
  }
27
42
  },
28
- setup(ve, { expose: ce }) {
29
- const _ = ve;
30
- xe((t) => ({
31
- "465d6ffd": t.tdo
43
+ setup(ge, { expose: be }) {
44
+ const C = ge;
45
+ Ae((t) => ({
46
+ "617873c4": t.tdo
32
47
  }));
33
- const { vue_ui_table_sparkline: fe } = Pe(), T = d(Ne()), j = d(0), W = d(0), V = d(null), e = h({
34
- get: () => J(),
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(),
35
50
  set: (t) => t
36
- });
37
- function J() {
38
- const t = ie({
39
- userConfig: _.config,
40
- defaultConfig: fe
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
41
56
  });
42
57
  return t.theme ? {
43
- ...ie({
44
- userConfig: De.vue_ui_table_sparkline[t.theme] || _.config,
58
+ ...me({
59
+ userConfig: We.vue_ui_table_sparkline[t.theme] || C.config,
45
60
  defaultConfig: t
46
61
  }),
47
- customPalette: Fe[t.theme] || N
62
+ customPalette: Me[t.theme] || F
48
63
  } : t;
49
64
  }
50
- re(() => _.config, (t) => {
51
- e.value = J(), ee(), W.value += 1;
52
- }, { deep: !0 }), re(() => _.dataset, (t) => {
53
- b.value = A.value, W.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;
54
69
  }, { deep: !0 });
55
- const { isPrinting: K, isImaging: Q, generatePdf: Y, generateImage: Z } = Re({
56
- elementId: `table_${T.value}`,
70
+ const { isPrinting: ee, isImaging: te, generatePdf: ae, generateImage: le } = Xe({
71
+ elementId: `table_${M.value}`,
57
72
  fileName: e.value.title.text || "vue-ui-table-sparkline"
58
- }), pe = h(() => Te(e.value.customPalette)), O = d(null), E = d(!1), me = h(() => e.value.responsiveBreakpoint);
59
- Se(() => {
60
- ee();
73
+ }), he = k(() => Ee(e.value.customPalette)), P = p(null), U = p(!1), ke = k(() => e.value.responsiveBreakpoint);
74
+ Oe(() => {
75
+ oe();
61
76
  });
62
- const M = d(e.value.colNames);
63
- function ee() {
64
- We(_.dataset) && se({
77
+ const L = p(e.value.colNames);
78
+ function oe() {
79
+ Be(C.dataset) && fe({
65
80
  componentName: "VueUiTableSparkline",
66
81
  type: "dataset"
67
82
  });
68
83
  const t = new ResizeObserver((l) => {
69
84
  l.forEach((a) => {
70
- E.value = a.contentRect.width < me.value;
85
+ U.value = a.contentRect.width < ke.value;
71
86
  });
72
87
  });
73
- O.value && t.observe(O.value), M.value = [];
74
- for (let l = 0; l < oe.value; l += 1)
75
- M.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}`);
76
91
  }
77
- const te = h(() => (_.dataset.forEach((t, l) => {
78
- Ve({
92
+ const ne = k(() => (C.dataset.forEach((t, l) => {
93
+ Ge({
79
94
  datasetObject: t,
80
95
  requiredAttributes: ["name", "values"]
81
96
  }).forEach((a) => {
82
- se({
97
+ fe({
83
98
  componentName: "VueUiTableSparkline",
84
99
  type: "datasetSerieAttribute",
85
100
  property: a,
86
101
  index: l
87
102
  });
88
103
  });
89
- }), _.dataset.map((t, l) => {
90
- const a = (t.values || []).map((n) => isNaN(n) ? 0 : n ?? 0), o = a.reduce((n, c) => n + c, 0), r = o / a.length, u = Ee(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);
91
106
  return {
92
107
  ...t,
93
108
  values: t.values || [],
94
- color: Me(t.color) || pe.value[l] || N[l] || N[l % N.length],
109
+ color: Le(t.color) || he.value[l] || F[l] || F[l % F.length],
95
110
  sum: o,
96
- average: r,
97
- median: u,
98
- sparklineDataset: a.map((n, c) => ({
99
- period: e.value.colNames[c] || `col ${c}`,
100
- 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
101
116
  }))
102
117
  };
103
118
  })));
104
- function ge(t) {
119
+ function _e(t) {
105
120
  const a = (t[0].values || []).map(
106
- (r, u) => t.map((n) => n.values[u] || [])
121
+ (u, n) => t.map((v) => v.values[n] || [])
107
122
  ).map(
108
- (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])
109
124
  );
110
- return t.map((r, u) => ({
111
- ...r,
112
- values: r.values || [],
113
- orders: a[u]
125
+ return t.map((u, n) => ({
126
+ ...u,
127
+ values: u.values || [],
128
+ orders: a[n]
114
129
  }));
115
130
  }
116
- const A = h(() => ge(te.value)), b = d(A.value), be = h(() => Math.max(...b.value.map((t) => (t.values || []).length))), z = d(void 0), B = d(!1), m = d(void 0), ae = d(1);
117
- function w() {
118
- B.value = !1, m.value = void 0, y.value = void 0, ae.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 = {
119
134
  name: 1,
120
135
  sum: 1,
121
136
  average: 1,
122
137
  median: 1
123
- }, b.value = A.value;
138
+ }, m.value = A.value;
124
139
  }
125
- function le(t, l) {
140
+ function D(t, l, a) {
126
141
  if (["name", "sum", "average", "median"].includes(t.type)) {
127
- ye(t.type, l);
142
+ xe(t.type, l, a);
128
143
  return;
129
144
  }
130
- if (!L(l)) return;
131
- 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) {
132
- 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();
133
148
  return;
134
149
  }
135
- B.value = !0, m.value = l;
136
- const a = A.value.map((n) => n.values[l] || []), o = z.value === l ? 1 : -1;
137
- I.value[l].state = o, ae.value = o, l === z.value ? z.value = void 0 : z.value = l;
138
- const u = a.map((n, c) => [c, n]).sort((n, c) => o * (c[1] - n[1])).map((n) => n[0]).map((n) => A.value[n]);
139
- b.value = u, W.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;
140
155
  }
141
- const oe = h(() => Math.max(..._.dataset.map((t) => (t.values || []).length))), C = h(() => {
142
- let t = M.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) => ({
143
158
  type: "reg",
144
159
  value: a
145
160
  }));
146
161
  if (!t.length)
147
- for (let a = 0; a < oe.value; a += 1)
162
+ for (let a = 0; a < se.value; a += 1)
148
163
  t.push({ type: "reg", value: `col ${a + 1}` });
149
164
  e.value.showTotal && (t = [...t, { type: "sum", value: e.value.translations.total }]);
150
165
  let l;
@@ -153,99 +168,101 @@ const Xe = ["id"], je = { style: { "z-index": "1", "padding-right": "24px" } },
153
168
  { type: "average", value: e.value.translations.average },
154
169
  { type: "median", value: e.value.translations.median }
155
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;
156
- }), x = d({
171
+ }), w = p({
157
172
  name: 1,
158
173
  sum: 1,
159
174
  average: 1,
160
175
  median: 1
161
- }), y = d(void 0);
162
- function ye(t, l) {
163
- if (!b.value || b.value.length === 0 || !R(t)) return;
164
- 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) {
165
- 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();
166
181
  return;
167
182
  }
168
- 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]);
169
- const a = x.value[t], o = [...b.value].sort((r, u) => {
170
- const n = r[t] ?? (typeof r[t] == "number" ? 0 : ""), c = u[t] ?? (typeof u[t] == "number" ? 0 : "");
171
- return typeof n == "string" && typeof c == "string" ? a === -1 ? n.localeCompare(c) : c.localeCompare(n) : typeof n == "number" && typeof c == "number" ? a === -1 ? n - c : c - 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;
172
187
  });
173
- b.value = o;
188
+ m.value = u;
174
189
  }
175
- const S = d(void 0), G = d(void 0);
176
- function he({ dataIndex: t, serieIndex: l }) {
177
- S.value = t, G.value = l, V.value[t] && !E.value && V.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" });
178
193
  }
179
- const ne = d(!1);
180
- function ke(t) {
181
- ne.value = t, j.value += 1;
194
+ const re = p(!1);
195
+ function Se(t) {
196
+ re.value = t, K.value += 1;
182
197
  }
183
- function ue() {
184
- ze(() => {
185
- const t = [e.value.translations.serie].concat(C.value), l = te.value.map((r, u) => [
186
- [r.name],
187
- r.values,
188
- [r.sum],
189
- [r.average],
190
- [r.median]
191
- ]), a = [t].concat(l), o = Be(a);
192
- Ge({
198
+ function ie() {
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({
193
208
  csvContent: o,
194
209
  title: e.value.title.text || "vue-ui-table-sparkline"
195
210
  });
196
211
  });
197
212
  }
198
- function L(t) {
213
+ function de(t) {
199
214
  return e.value.sortedDataColumnIndices.includes(t);
200
215
  }
201
- function R(t) {
216
+ function ve(t) {
202
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;
203
218
  }
204
- function _e(t, l) {
205
- 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;
206
221
  }
207
- function Ce() {
208
- e.value.resetSortOnClickOutside && w();
222
+ function Ie() {
223
+ e.value.resetSortOnClickOutside && I();
209
224
  }
210
- const I = h({
211
- get: () => C.value.map((t) => ({ state: 1 })),
225
+ const O = k({
226
+ get: () => x.value.map((t) => ({ state: 1 })),
212
227
  set: (t) => t
213
228
  });
214
- return ce({
215
- generatePdf: Y,
216
- generateImage: Z,
217
- generateCsv: ue,
218
- restoreOrder: w
219
- }), (t, l) => (i(), v("div", {
229
+ return be({
230
+ generatePdf: ae,
231
+ generateImage: le,
232
+ generateCsv: ie,
233
+ restoreOrder: I
234
+ }), (t, l) => (d(), c("div", {
220
235
  ref_key: "tableContainer",
221
- ref: O,
222
- class: U({ "vue-ui-responsive": E.value }),
236
+ ref: P,
237
+ class: X({ "vue-ui-responsive": U.value }),
223
238
  style: { overflow: "hidden" },
224
- id: `table_${T.value}`
239
+ id: `table_${M.value}`,
240
+ onMouseenter: l[3] || (l[3] = () => i(Q)(!0)),
241
+ onMouseleave: l[4] || (l[4] = () => i(Q)(!1))
225
242
  }, [
226
- p("div", {
243
+ f("div", {
227
244
  style: { overflow: "auto" },
228
- onPointerleave: l[1] || (l[1] = (a) => {
229
- G.value = void 0, S.value = void 0;
245
+ onPointerleave: l[2] || (l[2] = (a) => {
246
+ q.value = void 0, S.value = void 0;
230
247
  })
231
248
  }, [
232
- p("table", {
249
+ f("table", {
233
250
  class: "vue-ui-data-table",
234
251
  style: s({ fontFamily: e.value.fontFamily, position: "relative" })
235
252
  }, [
236
- e.value.title.text ? (i(), v("caption", {
253
+ e.value.title.text ? (d(), c("caption", {
237
254
  key: 0,
238
255
  style: s({ backgroundColor: e.value.title.backgroundColor })
239
256
  }, [
240
- p("div", {
257
+ f("div", {
241
258
  style: s({
242
259
  fontSize: `${e.value.title.fontSize}px`,
243
260
  fontWeight: e.value.title.bold ? "bold" : "normal",
244
261
  color: e.value.title.color,
245
262
  textAlign: e.value.title.textAlign
246
263
  })
247
- }, k(e.value.title.text), 5),
248
- e.value.title.subtitle.text ? (i(), v("div", {
264
+ }, _(e.value.title.text), 5),
265
+ e.value.title.subtitle.text ? (d(), c("div", {
249
266
  key: 0,
250
267
  style: s({
251
268
  fontSize: `${e.value.title.subtitle.fontSize}px`,
@@ -253,10 +270,10 @@ const Xe = ["id"], je = { style: { "z-index": "1", "padding-right": "24px" } },
253
270
  color: e.value.title.subtitle.color,
254
271
  textAlign: e.value.title.textAlign
255
272
  })
256
- }, k(e.value.title.subtitle.text), 5)) : g("", !0)
257
- ], 4)) : g("", !0),
258
- p("thead", je, [
259
- we((i(), v("tr", {
273
+ }, _(e.value.title.subtitle.text), 5)) : b("", !0)
274
+ ], 4)) : b("", !0),
275
+ f("thead", Ze, [
276
+ $e((d(), c("tr", {
260
277
  role: "row",
261
278
  class: "vue-ui-data-table__thead-row",
262
279
  style: s({
@@ -264,141 +281,176 @@ const Xe = ["id"], je = { style: { "z-index": "1", "padding-right": "24px" } },
264
281
  color: e.value.thead.color
265
282
  })
266
283
  }, [
267
- p("th", {
284
+ f("th", {
268
285
  role: "cell",
269
286
  style: s({
270
287
  backgroundColor: e.value.thead.backgroundColor,
271
288
  border: e.value.thead.outline,
272
289
  textAlign: e.value.thead.textAlign,
273
- fontWeight: e.value.thead.bold ? "bold" : "normal",
274
- cursor: e.value.sortedSeriesName ? "pointer" : "default"
290
+ fontWeight: e.value.thead.bold ? "bold" : "normal"
275
291
  }),
276
- class: "sticky-col-first",
277
- onClick: l[0] || (l[0] = (a) => le({ type: "name" }, null))
292
+ class: "sticky-col-first"
278
293
  }, [
279
- p("div", {
294
+ f("div", {
280
295
  style: s({
281
296
  display: "flex",
282
297
  flexDirection: "row",
283
298
  alignItems: "center",
284
- gap: "6px",
285
- justifyContent: e.value.thead.textAlign,
286
- pointerEvents: "none"
299
+ gap: "3px",
300
+ justifyContent: e.value.thead.textAlign
287
301
  })
288
302
  }, [
289
- p("span", null, k(e.value.translations.serie), 1),
290
- e.value.sortedSeriesName ? (i(), H(de, {
291
- key: 0,
292
- size: 12,
293
- name: x.value.name === 1 ? "arrowBottom" : "arrowTop",
294
- stroke: e.value.thead.color,
295
- style: s({
296
- opacity: y.value === "name" ? 1 : 0.3
297
- })
298
- }, 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)
299
332
  ], 4)
300
333
  ], 4),
301
- (i(!0), v(q, null, X(C.value, (a, o) => (i(), v("th", {
334
+ (d(!0), c(j, null, J(x.value, (a, o) => (d(), c("th", {
302
335
  role: "cell",
303
336
  style: s({
304
337
  background: e.value.thead.backgroundColor,
305
338
  border: e.value.thead.outline,
306
339
  textAlign: e.value.thead.textAlign,
307
340
  fontWeight: e.value.thead.bold ? "bold" : "normal",
308
- minWidth: o === C.value.length - 1 ? `${e.value.sparkline.dimensions.width}px` : "48px",
309
- cursor: L(o) || R(a) ? "pointer" : "default",
310
- 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" : ""
311
343
  }),
312
- onClick: () => le(a, o),
313
- class: U({ "sticky-col": o === C.value.length - 1 && e.value.showSparklines })
344
+ class: X({ "sticky-col": o === x.value.length - 1 && e.value.showSparklines })
314
345
  }, [
315
- p("div", {
346
+ f("div", {
316
347
  style: s({
317
348
  display: "flex",
318
349
  flexDirection: "row",
319
350
  alignItems: "center",
320
- gap: "6px",
321
- justifyContent: e.value.thead.textAlign,
322
- pointerEvents: "none"
351
+ gap: "3px",
352
+ justifyContent: e.value.thead.textAlign
323
353
  })
324
354
  }, [
325
- p("span", null, k(a.value), 1),
326
- L(o) || R(a) ? (i(), H(de, {
327
- key: 0,
328
- size: 12,
329
- name: I.value[o].state === 1 ? "arrowBottom" : "arrowTop",
330
- stroke: e.value.thead.color,
331
- style: s({
332
- opacity: _e(o, a)
333
- })
334
- }, 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)
335
384
  ], 4),
336
- e.value.userOptions.show && o === C.value.length - 1 ? (i(), H(Ue, {
385
+ e.value.userOptions.show && o === x.value.length - 1 && (i(Y) || i(G)) ? (d(), ze(je, {
337
386
  ref_for: !0,
338
387
  ref: "details",
339
- key: `user_option_${j.value}`,
388
+ key: `user_option_${K.value}`,
340
389
  backgroundColor: e.value.thead.backgroundColor,
341
390
  color: e.value.thead.color,
342
- isPrinting: f(K),
343
- isImaging: f(Q),
344
- uid: T.value,
391
+ isPrinting: i(ee),
392
+ isImaging: i(te),
393
+ uid: M.value,
345
394
  hasPdf: e.value.userOptions.buttons.pdf,
346
395
  hasXls: e.value.userOptions.buttons.csv,
347
396
  hasImg: e.value.userOptions.buttons.img,
348
397
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
349
- isFullscreen: ne.value,
398
+ isFullscreen: re.value,
350
399
  titles: { ...e.value.userOptions.buttonTitles },
351
- chartElement: O.value,
400
+ chartElement: P.value,
352
401
  position: e.value.userOptions.position,
353
- onToggleFullscreen: ke,
354
- onGeneratePdf: f(Y),
355
- onGenerateImage: f(Z),
356
- onGenerateCsv: ue
357
- }, Ae({ _: 2 }, [
402
+ onToggleFullscreen: Se,
403
+ onGeneratePdf: i(ae),
404
+ onGenerateImage: i(le),
405
+ onGenerateCsv: ie,
406
+ style: s({
407
+ visibility: i(Y) ? i(G) ? "visible" : "hidden" : "visible"
408
+ })
409
+ }, Pe({ _: 2 }, [
358
410
  t.$slots.optionPdf ? {
359
411
  name: "optionPdf",
360
- fn: P(() => [
361
- $(t.$slots, "optionPdf", {}, void 0, !0)
412
+ fn: N(() => [
413
+ z(t.$slots, "optionPdf", {}, void 0, !0)
362
414
  ]),
363
415
  key: "0"
364
416
  } : void 0,
365
417
  t.$slots.optionCsv ? {
366
418
  name: "optionCsv",
367
- fn: P(() => [
368
- $(t.$slots, "optionCsv", {}, void 0, !0)
419
+ fn: N(() => [
420
+ z(t.$slots, "optionCsv", {}, void 0, !0)
369
421
  ]),
370
422
  key: "1"
371
423
  } : void 0,
372
424
  t.$slots.optionImg ? {
373
425
  name: "optionImg",
374
- fn: P(() => [
375
- $(t.$slots, "optionImg", {}, void 0, !0)
426
+ fn: N(() => [
427
+ z(t.$slots, "optionImg", {}, void 0, !0)
376
428
  ]),
377
429
  key: "2"
378
430
  } : void 0,
379
431
  t.$slots.optionFullscreen ? {
380
432
  name: "optionFullscreen",
381
- fn: P(({ toggleFullscreen: r, isFullscreen: u }) => [
382
- $(t.$slots, "optionFullscreen", Ie($e({ 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)
383
435
  ]),
384
436
  key: "3"
385
437
  } : void 0
386
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "onGeneratePdf", "onGenerateImage"])) : g("", !0)
387
- ], 14, Je))), 256))
438
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "onGeneratePdf", "onGenerateImage", "style"])) : b("", !0)
439
+ ], 6))), 256))
388
440
  ], 4)), [
389
- [f(He), Ce]
441
+ [i(Je), Ie]
390
442
  ])
391
443
  ]),
392
- p("tbody", null, [
393
- (i(!0), v(q, null, X(b.value, (a, o) => (i(), v("tr", {
444
+ f("tbody", null, [
445
+ (d(!0), c(j, null, J(m.value, (a, o) => (d(), c("tr", {
394
446
  role: "row",
395
447
  style: s({
396
448
  backgroundColor: e.value.tbody.backgroundColor,
397
449
  color: e.value.tbody.color
398
450
  }),
399
- class: U({ "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 })
400
452
  }, [
401
- p("td", {
453
+ f("td", {
402
454
  role: "cell",
403
455
  style: s({
404
456
  backgroundColor: e.value.tbody.backgroundColor,
@@ -410,7 +462,7 @@ const Xe = ["id"], je = { style: { "z-index": "1", "padding-right": "24px" } },
410
462
  "data-cell": e.value.translations.serie,
411
463
  class: "vue-ui-data-table__tbody__td sticky-col-first"
412
464
  }, [
413
- p("div", {
465
+ f("div", {
414
466
  dir: "auto",
415
467
  style: s({
416
468
  display: "flex",
@@ -420,43 +472,43 @@ const Xe = ["id"], je = { style: { "z-index": "1", "padding-right": "24px" } },
420
472
  justifyContent: e.value.tbody.textAlign
421
473
  })
422
474
  }, [
423
- e.value.tbody.showColorMarker ? (i(), v("span", {
475
+ e.value.tbody.showColorMarker ? (d(), c("span", {
424
476
  key: 0,
425
477
  style: s({ color: a.color })
426
- }, "⬤", 4)) : g("", !0),
427
- p("span", null, k(a.name ?? "-"), 1)
478
+ }, "⬤", 4)) : b("", !0),
479
+ f("span", null, _(a.name ?? "-"), 1)
428
480
  ], 4)
429
- ], 12, Ke),
430
- (i(!0), v(q, null, X(be.value, (r, u) => (i(), v("td", {
481
+ ], 12, ot),
482
+ (d(!0), c(j, null, J(Ce.value, (u, n) => (d(), c("td", {
431
483
  dir: "auto",
432
484
  role: "cell",
433
485
  ref_for: !0,
434
486
  ref_key: "TD",
435
- ref: V,
487
+ ref: B,
436
488
  style: s({
437
489
  border: e.value.tbody.outline,
438
490
  fontSize: `${e.value.tbody.fontSize}px`,
439
491
  fontWeight: e.value.tbody.bold ? "bold" : "normal",
440
492
  textAlign: e.value.tbody.textAlign,
441
- 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 : ""
442
494
  }),
443
- "data-cell": C.value[u],
495
+ "data-cell": x.value[n],
444
496
  class: "vue-ui-data-table__tbody__td",
445
- onPointerenter: (n) => {
446
- G.value = o, S.value = u;
497
+ onPointerenter: (v) => {
498
+ q.value = o, S.value = n;
447
499
  }
448
- }, k([null, void 0].includes(a.values[u]) ? "-" : f(D)(
500
+ }, _([null, void 0].includes(a.values[n]) ? "-" : i(V)(
449
501
  e.value.formatter,
450
- Number(a.values[u]),
451
- f(F)({
502
+ Number(a.values[n]),
503
+ i(T)({
452
504
  p: e.value.prefix,
453
- v: Number(a.values[u]),
505
+ v: Number(a.values[n]),
454
506
  s: e.value.suffix,
455
507
  r: e.value.roundingValues
456
508
  }),
457
- { datapoint: a, seriesIndex: o, datapointIndex: u }
458
- )), 45, Qe))), 256)),
459
- e.value.showTotal ? (i(), v("td", {
509
+ { datapoint: a, seriesIndex: o, datapointIndex: n }
510
+ )), 45, nt))), 256)),
511
+ e.value.showTotal ? (d(), c("td", {
460
512
  key: 0,
461
513
  dir: "auto",
462
514
  role: "cell",
@@ -468,18 +520,18 @@ const Xe = ["id"], je = { style: { "z-index": "1", "padding-right": "24px" } },
468
520
  }),
469
521
  "data-cell": e.value.translations.total,
470
522
  class: "vue-ui-data-table__tbody__td"
471
- }, k(f(D)(
523
+ }, _(i(V)(
472
524
  e.value.formatter,
473
525
  a.sum,
474
- f(F)({
526
+ i(T)({
475
527
  p: e.value.prefix,
476
528
  v: a.sum,
477
529
  s: e.value.suffix,
478
530
  r: e.value.roundingTotal
479
531
  }),
480
532
  { datapoint: a.sum, seriesIndex: o }
481
- )), 13, Ye)) : g("", !0),
482
- e.value.showAverage ? (i(), v("td", {
533
+ )), 13, ut)) : b("", !0),
534
+ e.value.showAverage ? (d(), c("td", {
483
535
  key: 1,
484
536
  dir: "auto",
485
537
  role: "cell",
@@ -491,18 +543,18 @@ const Xe = ["id"], je = { style: { "z-index": "1", "padding-right": "24px" } },
491
543
  }),
492
544
  "data-cell": e.value.translations.average,
493
545
  class: "vue-ui-data-table__tbody__td"
494
- }, k(f(D)(
546
+ }, _(i(V)(
495
547
  e.value.formatter,
496
548
  a.average,
497
- f(F)({
549
+ i(T)({
498
550
  p: e.value.prefix,
499
551
  v: a.average,
500
552
  s: e.value.suffix,
501
553
  r: e.value.roundingAverage
502
554
  }),
503
555
  { datapoint: a.average, seriesIndex: o }
504
- )), 13, Ze)) : g("", !0),
505
- e.value.showMedian ? (i(), v("td", {
556
+ )), 13, st)) : b("", !0),
557
+ e.value.showMedian ? (d(), c("td", {
506
558
  key: 2,
507
559
  dir: "auto",
508
560
  role: "cell",
@@ -514,18 +566,18 @@ const Xe = ["id"], je = { style: { "z-index": "1", "padding-right": "24px" } },
514
566
  }),
515
567
  "data-cell": e.value.translations.median,
516
568
  class: "vue-ui-data-table__tbody__td"
517
- }, k(f(D)(
569
+ }, _(i(V)(
518
570
  e.value.formatter,
519
571
  a.median,
520
- f(F)({
572
+ i(T)({
521
573
  p: e.value.prefix,
522
574
  v: a.median,
523
575
  s: e.value.suffix,
524
576
  r: e.value.roundingMedian
525
577
  }),
526
578
  { datapoint: a.median, seriesIndex: o }
527
- )), 13, et)) : g("", !0),
528
- e.value.showSparklines ? (i(), v("td", {
579
+ )), 13, rt)) : b("", !0),
580
+ e.value.showSparklines ? (d(), c("td", {
529
581
  key: 3,
530
582
  role: "cell",
531
583
  "data-cell": e.value.translations.chart,
@@ -539,8 +591,8 @@ const Xe = ["id"], je = { style: { "z-index": "1", "padding-right": "24px" } },
539
591
  }),
540
592
  class: "vue-ui-data-table__tbody__td sticky-col"
541
593
  }, [
542
- Oe(Le, {
543
- onHoverIndex: ({ index: r }) => he({ dataIndex: r, serieIndex: o }),
594
+ $(qe, {
595
+ onHoverIndex: ({ index: u }) => we({ dataIndex: u, serieIndex: o }),
544
596
  "height-ratio": e.value.sparkline.dimensions.heightRatio,
545
597
  "forced-padding": 30,
546
598
  dataset: a.sparklineDataset,
@@ -551,7 +603,7 @@ const Xe = ["id"], je = { style: { "z-index": "1", "padding-right": "24px" } },
551
603
  style: {
552
604
  backgroundColor: "transparent",
553
605
  animation: {
554
- show: e.value.sparkline.animation.show && !f(K) && !f(Q),
606
+ show: e.value.sparkline.animation.show && !i(ee) && !i(te),
555
607
  animationFrames: e.value.sparkline.animation.animationFrames
556
608
  },
557
609
  line: {
@@ -578,17 +630,17 @@ const Xe = ["id"], je = { style: { "z-index": "1", "padding-right": "24px" } },
578
630
  }
579
631
  }
580
632
  }, null, 8, ["onHoverIndex", "height-ratio", "dataset", "selectedIndex", "config"])
581
- ], 12, tt)) : g("", !0)
633
+ ], 12, it)) : b("", !0)
582
634
  ], 6))), 256))
583
635
  ])
584
636
  ], 4)
585
637
  ], 32),
586
- t.$slots.source ? (i(), v("div", at, [
587
- $(t.$slots, "source", {}, void 0, !0)
588
- ], 512)) : g("", !0)
589
- ], 10, Xe));
638
+ t.$slots.source ? (d(), c("div", dt, [
639
+ z(t.$slots, "source", {}, void 0, !0)
640
+ ], 512)) : b("", !0)
641
+ ], 42, Ye));
590
642
  }
591
- }, vt = /* @__PURE__ */ qe(lt, [["__scopeId", "data-v-dad6e5d1"]]);
643
+ }, kt = /* @__PURE__ */ Qe(vt, [["__scopeId", "data-v-2264986d"]]);
592
644
  export {
593
- vt as default
645
+ kt as default
594
646
  };