vue-data-ui 2.4.48 → 2.4.50

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 (154) hide show
  1. package/dist/{Arrow-CMGb5jtB.js → Arrow-D1z9KkQN.js} +1 -1
  2. package/dist/{Arrow-CDz_A4X6.cjs → Arrow-DuuEh1Nr.cjs} +1 -1
  3. package/dist/{BaseIcon-WyM8ZLeS.js → BaseIcon-BHwqOTt4.js} +1 -1
  4. package/dist/{BaseIcon-CqZOJaZ7.cjs → BaseIcon-DemqZ_13.cjs} +1 -1
  5. package/dist/{DataTable-8Bk6Zg9H.js → DataTable-CQ8fQnex.js} +2 -2
  6. package/dist/{DataTable-UQDVIoTq.cjs → DataTable-CovKV5Yy.cjs} +1 -1
  7. package/dist/{Legend-DyQhpUa7.cjs → Legend-Bbz-hKDf.cjs} +1 -1
  8. package/dist/{Legend-BqySI7-3.js → Legend-Br7MWNDo.js} +1 -1
  9. package/dist/{PackageVersion-JL2H1ZNU.cjs → PackageVersion-BEtuCME5.cjs} +1 -1
  10. package/dist/{PackageVersion-C26iHVPd.js → PackageVersion-BV3fHO46.js} +1 -1
  11. package/dist/{PenAndPaper-Bmfl9PVt.cjs → PenAndPaper-BIcmfBvD.cjs} +1 -1
  12. package/dist/{PenAndPaper-XF8fq-Km.js → PenAndPaper-CCOywdmm.js} +3 -3
  13. package/dist/{Shape-Cmue6aoD.js → Shape-B7Mekpyf.js} +1 -1
  14. package/dist/{Shape-CbUYortz.cjs → Shape-BD37ZaX9.cjs} +1 -1
  15. package/dist/{Slicer-DJsIXuV_.cjs → Slicer-CWvkt-8k.cjs} +1 -1
  16. package/dist/{Slicer-DnI684H6.js → Slicer-ahFReg7h.js} +2 -2
  17. package/dist/{Title-CbiI2XAK.cjs → Title-C2siG5N2.cjs} +1 -1
  18. package/dist/{Title-D5Wtk97z.js → Title-CIsKiWgN.js} +1 -1
  19. package/dist/{Tooltip-z6v35GbJ.js → Tooltip-B1LgrF9R.js} +1 -1
  20. package/dist/{Tooltip-CXWymtVK.cjs → Tooltip-CS4C58T7.cjs} +1 -1
  21. package/dist/{index-BepNt4hC.js → index-BtL_cLa8.js} +2 -1
  22. package/dist/index-DoD-GxZR.cjs +9 -0
  23. package/dist/style.css +1 -1
  24. package/dist/types/vue-data-ui.d.cts +1 -0
  25. package/dist/types/vue-data-ui.d.ts +1 -0
  26. package/dist/{useNestedProp-DUC6XBU3.js → useNestedProp-CEAfm1tu.js} +1 -1
  27. package/dist/{useNestedProp-BEjpLG7g.cjs → useNestedProp-D_feh7A_.cjs} +1 -1
  28. package/dist/{usePrinter-Hc-LICQf.cjs → usePrinter-B4xDG31F.cjs} +1 -1
  29. package/dist/{usePrinter-DPvuzbZK.js → usePrinter-sRt2SKr2.js} +1 -1
  30. package/dist/{vue-data-ui-TUbEwYZ5.cjs → vue-data-ui-CuEYAddV.cjs} +1 -1
  31. package/dist/{vue-data-ui-CFmnqYD2.js → vue-data-ui-NkhaiK6y.js} +60 -60
  32. package/dist/vue-data-ui.cjs +1 -1
  33. package/dist/vue-data-ui.js +1 -1
  34. package/dist/{vue-ui-3d-bar-L6JZrkbq.js → vue-ui-3d-bar-BeXYzdzu.js} +9 -9
  35. package/dist/{vue-ui-3d-bar-CYl_O7ug.cjs → vue-ui-3d-bar-RduHvzwG.cjs} +1 -1
  36. package/dist/{vue-ui-accordion-C8xohumC.cjs → vue-ui-accordion-CBxsUoGb.cjs} +1 -1
  37. package/dist/{vue-ui-accordion-C2pYIHIH.js → vue-ui-accordion-Cjc683tN.js} +3 -3
  38. package/dist/{vue-ui-age-pyramid-CRXWyh5c.cjs → vue-ui-age-pyramid-DVtbyRJw.cjs} +1 -1
  39. package/dist/{vue-ui-age-pyramid-CSCtiUKQ.js → vue-ui-age-pyramid-rnt8M-Qz.js} +10 -10
  40. package/dist/{vue-ui-annotator-5Mjqr97s.js → vue-ui-annotator-CFU5Zyfk.js} +1 -1
  41. package/dist/{vue-ui-annotator-DIETLcfO.cjs → vue-ui-annotator-Yu-mHS2N.cjs} +1 -1
  42. package/dist/{vue-ui-bullet-B5MHoDHB.cjs → vue-ui-bullet-Be5aYhtp.cjs} +1 -1
  43. package/dist/{vue-ui-bullet-C6EHD4J1.js → vue-ui-bullet-CRbW1ON6.js} +8 -8
  44. package/dist/{vue-ui-candlestick-CYMynB3E.cjs → vue-ui-candlestick-B6wSs-JC.cjs} +1 -1
  45. package/dist/{vue-ui-candlestick-BrJoYH2t.js → vue-ui-candlestick-D-ERLtI1.js} +11 -11
  46. package/dist/{vue-ui-carousel-table-ZPuYe12-.cjs → vue-ui-carousel-table-7reErH8M.cjs} +1 -1
  47. package/dist/{vue-ui-carousel-table-BtNgnJg3.js → vue-ui-carousel-table-I1m4HMWf.js} +4 -4
  48. package/dist/{vue-ui-chestnut-BGyD7s_L.js → vue-ui-chestnut-CqJRKECX.js} +8 -8
  49. package/dist/{vue-ui-chestnut-C1en00jI.cjs → vue-ui-chestnut-D-WzX16q.cjs} +1 -1
  50. package/dist/{vue-ui-cursor-BP38xePQ.cjs → vue-ui-cursor-S83QIsxQ.cjs} +1 -1
  51. package/dist/{vue-ui-cursor-DR2RWF24.js → vue-ui-cursor-jrrdh8Lf.js} +2 -2
  52. package/dist/{vue-ui-dashboard-BpOAi1fs.js → vue-ui-dashboard-DR_Bhwa3.js} +2 -2
  53. package/dist/{vue-ui-dashboard-BYygSPuJ.cjs → vue-ui-dashboard-DW1mIInG.cjs} +1 -1
  54. package/dist/{vue-ui-digits-DNrXa7E_.js → vue-ui-digits-1jZdiwHJ.js} +2 -2
  55. package/dist/{vue-ui-digits-C7sdWmoo.cjs → vue-ui-digits-s5f9eFtW.cjs} +1 -1
  56. package/dist/{vue-ui-donut-95iv1pkT.js → vue-ui-donut-BAYiPsxp.js} +11 -11
  57. package/dist/{vue-ui-donut-BbBw5pWR.cjs → vue-ui-donut-Ce1SaXNu.cjs} +1 -1
  58. package/dist/{vue-ui-donut-evolution-DpECkYLY.cjs → vue-ui-donut-evolution-DI8yeIa4.cjs} +1 -1
  59. package/dist/{vue-ui-donut-evolution-BneXLHZF.js → vue-ui-donut-evolution-DsHTZ9T2.js} +11 -11
  60. package/dist/{vue-ui-dumbbell-lnqC1mak.cjs → vue-ui-dumbbell-CFJkwtM8.cjs} +1 -1
  61. package/dist/{vue-ui-dumbbell-B_T3Hlzb.js → vue-ui-dumbbell-DcMmBxLy.js} +10 -10
  62. package/dist/{vue-ui-flow-DgsufNuK.cjs → vue-ui-flow-B4MtorhO.cjs} +1 -1
  63. package/dist/{vue-ui-flow-PsQyq54b.js → vue-ui-flow-BTXEmIQG.js} +9 -9
  64. package/dist/{vue-ui-funnel-CxZYQkNb.js → vue-ui-funnel-BB_h0FKg.js} +8 -8
  65. package/dist/{vue-ui-funnel-Cz5qLXEC.cjs → vue-ui-funnel-DNL12vLQ.cjs} +1 -1
  66. package/dist/{vue-ui-galaxy-C97nWRvH.cjs → vue-ui-galaxy-CmCZGOKz.cjs} +1 -1
  67. package/dist/{vue-ui-galaxy-4EZM6VGD.js → vue-ui-galaxy-DlBk1FUz.js} +11 -11
  68. package/dist/{vue-ui-gauge-CFy3oMIA.js → vue-ui-gauge-1SFhSMfU.js} +7 -7
  69. package/dist/{vue-ui-gauge-BC0zGvqM.cjs → vue-ui-gauge-B7ieQMud.cjs} +1 -1
  70. package/dist/{vue-ui-gizmo-BUfBljdr.cjs → vue-ui-gizmo-C8rLR4n5.cjs} +1 -1
  71. package/dist/{vue-ui-gizmo-BQlJhilX.js → vue-ui-gizmo-CtX6KFN2.js} +3 -3
  72. package/dist/{vue-ui-heatmap-zi279cjp.cjs → vue-ui-heatmap-Bfi3KJwS.cjs} +1 -1
  73. package/dist/{vue-ui-heatmap-Dyz8arCQ.js → vue-ui-heatmap-BzyvTePn.js} +10 -10
  74. package/dist/{vue-ui-history-plot-BXZTRkzT.cjs → vue-ui-history-plot-5kZ54hgy.cjs} +1 -1
  75. package/dist/{vue-ui-history-plot-1KwhLYwx.js → vue-ui-history-plot-BEoHuZ3N.js} +11 -11
  76. package/dist/{vue-ui-kpi-DjLKxPTS.js → vue-ui-kpi-BYOyJjYg.js} +3 -3
  77. package/dist/{vue-ui-kpi-BsjkNZZH.cjs → vue-ui-kpi-LO4KKRR9.cjs} +1 -1
  78. package/dist/{vue-ui-mini-loader-Be51Zm_Q.js → vue-ui-mini-loader-ChHdx5me.js} +2 -2
  79. package/dist/{vue-ui-mini-loader-UKOzmxaD.cjs → vue-ui-mini-loader-wlUD77O6.cjs} +1 -1
  80. package/dist/{vue-ui-molecule-DUQo9_oj.js → vue-ui-molecule-Bo7XYpf-.js} +11 -11
  81. package/dist/{vue-ui-molecule-wgNYpLlg.cjs → vue-ui-molecule-D-4cRS5w.cjs} +1 -1
  82. package/dist/{vue-ui-mood-radar-D-sMgA1m.cjs → vue-ui-mood-radar-C3x_LH7Q.cjs} +1 -1
  83. package/dist/{vue-ui-mood-radar-D260gFQ-.js → vue-ui-mood-radar-DXj4Ce6l.js} +11 -11
  84. package/dist/{vue-ui-nested-donuts-Ccz2llkz.js → vue-ui-nested-donuts-BBLpNVwF.js} +11 -11
  85. package/dist/{vue-ui-nested-donuts-DCATiNcn.cjs → vue-ui-nested-donuts-DrL7-SUd.cjs} +1 -1
  86. package/dist/{vue-ui-onion-jbgqZma_.cjs → vue-ui-onion-8Vz3lPbn.cjs} +1 -1
  87. package/dist/{vue-ui-onion-4nwZ2Xcq.js → vue-ui-onion-DC8VIInA.js} +11 -11
  88. package/dist/{vue-ui-parallel-coordinate-plot-b9zBOm3l.js → vue-ui-parallel-coordinate-plot-Cl1wiHsK.js} +12 -12
  89. package/dist/{vue-ui-parallel-coordinate-plot-D8tDqhAC.cjs → vue-ui-parallel-coordinate-plot-D6q4WQ0B.cjs} +1 -1
  90. package/dist/{vue-ui-quadrant-BPbKAs_R.cjs → vue-ui-quadrant-DBZS5jFQ.cjs} +1 -1
  91. package/dist/{vue-ui-quadrant-DyhFsYAn.js → vue-ui-quadrant-b5cuEH9z.js} +12 -12
  92. package/dist/{vue-ui-quick-chart-kBVlNtAe.js → vue-ui-quick-chart-CFBPYw2J.js} +9 -9
  93. package/dist/{vue-ui-quick-chart-BjjeoplC.cjs → vue-ui-quick-chart-Cno_1mzu.cjs} +1 -1
  94. package/dist/{vue-ui-radar-Cax_LlVW.cjs → vue-ui-radar-ChcBO21S.cjs} +1 -1
  95. package/dist/{vue-ui-radar-WzkdQND3.js → vue-ui-radar-DP8360kx.js} +12 -12
  96. package/dist/{vue-ui-rating-W2x5oPbH.cjs → vue-ui-rating-D7b-kfyp.cjs} +1 -1
  97. package/dist/{vue-ui-rating-BLj-bxOZ.js → vue-ui-rating-DIthBSp_.js} +2 -2
  98. package/dist/{vue-ui-relation-circle-BC09Wo74.cjs → vue-ui-relation-circle-C5pO0iHY.cjs} +1 -1
  99. package/dist/{vue-ui-relation-circle-Cy7KZjJK.js → vue-ui-relation-circle-D2iwmChn.js} +7 -7
  100. package/dist/{vue-ui-rings-BEBxWNzs.cjs → vue-ui-rings-C_NLJYs8.cjs} +1 -1
  101. package/dist/{vue-ui-rings-B2r_HrM3.js → vue-ui-rings-y9Zx-DaI.js} +11 -11
  102. package/dist/{vue-ui-scatter-EbhOyS1b.cjs → vue-ui-scatter-BNeMGDNk.cjs} +1 -1
  103. package/dist/{vue-ui-scatter-BzsoN90E.js → vue-ui-scatter-Cbu5GDc1.js} +12 -12
  104. package/dist/{vue-ui-screenshot-D-CteYvP.js → vue-ui-screenshot-BZh_sgjP.js} +1 -1
  105. package/dist/{vue-ui-screenshot-BNvphTTn.cjs → vue-ui-screenshot-oH-YnZBE.cjs} +1 -1
  106. package/dist/{vue-ui-skeleton-Dm5B1MER.js → vue-ui-skeleton-DjFU2X3P.js} +3 -3
  107. package/dist/{vue-ui-skeleton-G8jk4hcj.cjs → vue-ui-skeleton-Nuju6X7l.cjs} +1 -1
  108. package/dist/{vue-ui-smiley-H4VJmgZj.js → vue-ui-smiley-DdnzzEYS.js} +2 -2
  109. package/dist/{vue-ui-smiley-DQYXvPr4.cjs → vue-ui-smiley-DtQVEc4B.cjs} +1 -1
  110. package/dist/{vue-ui-spark-trend-DA096qRZ.cjs → vue-ui-spark-trend-B36zW41F.cjs} +1 -1
  111. package/dist/{vue-ui-spark-trend-t_PBPjL2.js → vue-ui-spark-trend-CaIGk_53.js} +5 -5
  112. package/dist/{vue-ui-sparkbar-xh4kHNcW.js → vue-ui-sparkbar-DixeozKp.js} +4 -4
  113. package/dist/{vue-ui-sparkbar-Bx-gf5Hz.cjs → vue-ui-sparkbar-iQKGtxo8.cjs} +1 -1
  114. package/dist/{vue-ui-sparkgauge-BfVnT-Cl.js → vue-ui-sparkgauge-C01VB6KP.js} +4 -4
  115. package/dist/{vue-ui-sparkgauge--atMedaJ.cjs → vue-ui-sparkgauge-DEvgucF7.cjs} +1 -1
  116. package/dist/{vue-ui-sparkhistogram-zunUFhA0.cjs → vue-ui-sparkhistogram-CTUuxOma.cjs} +1 -1
  117. package/dist/{vue-ui-sparkhistogram-BHE8M9AE.js → vue-ui-sparkhistogram-C_6lHF3O.js} +5 -5
  118. package/dist/{vue-ui-sparkline-B6SKeGhK.js → vue-ui-sparkline-Btm4HVgi.js} +4 -4
  119. package/dist/{vue-ui-sparkline-CvxWwt_w.cjs → vue-ui-sparkline-DrZWPGOG.cjs} +1 -1
  120. package/dist/{vue-ui-sparkstackbar-Bhd7EKGG.cjs → vue-ui-sparkstackbar-7pcfCNMr.cjs} +1 -1
  121. package/dist/{vue-ui-sparkstackbar-B_KMgwOl.js → vue-ui-sparkstackbar-D0UGUm-1.js} +5 -5
  122. package/dist/{vue-ui-stackbar-C_P0JG4w.js → vue-ui-stackbar-BPMDmY04.js} +12 -12
  123. package/dist/{vue-ui-stackbar-suSeRgaG.cjs → vue-ui-stackbar-BwRdmPvB.cjs} +1 -1
  124. package/dist/{vue-ui-strip-plot-BUA3moHw.js → vue-ui-strip-plot-BfWQMGXy.js} +11 -11
  125. package/dist/{vue-ui-strip-plot-CWMQUeOe.cjs → vue-ui-strip-plot-CLN9LikJ.cjs} +1 -1
  126. package/dist/{vue-ui-table-BYmYQISh.cjs → vue-ui-table-Cdo265Yt.cjs} +1 -1
  127. package/dist/{vue-ui-table-BcFkS1Cj.js → vue-ui-table-D8GaLhM9.js} +1 -1
  128. package/dist/{vue-ui-table-heatmap-Bvt_J2PP.js → vue-ui-table-heatmap-C4DRSfsE.js} +4 -4
  129. package/dist/{vue-ui-table-heatmap-JK93Wb5V.cjs → vue-ui-table-heatmap-CDAf1IIk.cjs} +1 -1
  130. package/dist/vue-ui-table-sparkline-Cw7NOiYx.cjs +1 -0
  131. package/dist/{vue-ui-table-sparkline-CFqGNvWi.js → vue-ui-table-sparkline-DMHf03C9.js} +254 -233
  132. package/dist/{vue-ui-thermometer-Dh844EJO.cjs → vue-ui-thermometer-7BORZJjd.cjs} +1 -1
  133. package/dist/{vue-ui-thermometer-Dm0ttenA.js → vue-ui-thermometer-BCVqil7E.js} +7 -7
  134. package/dist/{vue-ui-timer-CaFTEmwe.js → vue-ui-timer-DF5HkeeS.js} +5 -5
  135. package/dist/{vue-ui-timer-LypwXXDJ.cjs → vue-ui-timer-gxiLCP1n.cjs} +1 -1
  136. package/dist/{vue-ui-tiremarks-CFgv3kS8.cjs → vue-ui-tiremarks-CwGnFx4f.cjs} +1 -1
  137. package/dist/{vue-ui-tiremarks-Bgm_MUY2.js → vue-ui-tiremarks-lidhcJsi.js} +7 -7
  138. package/dist/{vue-ui-treemap--2oLnl5Z.cjs → vue-ui-treemap-BZ_LmiBK.cjs} +1 -1
  139. package/dist/{vue-ui-treemap-CERIO7kA.js → vue-ui-treemap-CIZaPmbi.js} +11 -11
  140. package/dist/{vue-ui-vertical-bar-BErNHsoK.js → vue-ui-vertical-bar-dQoTddqU.js} +11 -11
  141. package/dist/{vue-ui-vertical-bar-B6P0pW6h.cjs → vue-ui-vertical-bar-venrkqjM.cjs} +1 -1
  142. package/dist/{vue-ui-waffle-DwXtzgfk.js → vue-ui-waffle-CnvWOEVU.js} +11 -11
  143. package/dist/{vue-ui-waffle-BlsD3mo7.cjs → vue-ui-waffle-oR54BbIg.cjs} +1 -1
  144. package/dist/{vue-ui-wheel-Bnlv4BkN.cjs → vue-ui-wheel-BUHZEzPr.cjs} +1 -1
  145. package/dist/{vue-ui-wheel-C57mnBKi.js → vue-ui-wheel-D3itrMku.js} +7 -7
  146. package/dist/{vue-ui-word-cloud-MQ4ipLvb.cjs → vue-ui-word-cloud-87gwksmM.cjs} +1 -1
  147. package/dist/{vue-ui-word-cloud-C9dIGLRl.js → vue-ui-word-cloud-o3zU6r0-.js} +10 -10
  148. package/dist/{vue-ui-xy-BLxO3c8J.cjs → vue-ui-xy-D56pm4L0.cjs} +1 -1
  149. package/dist/{vue-ui-xy-t9BzKivu.js → vue-ui-xy-GR4PGBDy.js} +14 -14
  150. package/dist/{vue-ui-xy-canvas-RNuxMqDq.js → vue-ui-xy-canvas-BKGOnjut.js} +11 -11
  151. package/dist/{vue-ui-xy-canvas-xlIskwwx.cjs → vue-ui-xy-canvas-uikeVe72.cjs} +1 -1
  152. package/package.json +1 -1
  153. package/dist/index-DOkp6I9s.cjs +0 -9
  154. package/dist/vue-ui-table-sparkline-B7_CaLRt.cjs +0 -1
@@ -1,15 +1,15 @@
1
- import { useCssVars as _e, ref as d, computed as h, watch as re, onMounted as xe, openBlock as s, createElementBlock as v, normalizeClass as R, createElementVNode as p, normalizeStyle as i, toDisplayString as g, createCommentVNode as f, withDirectives as Ce, createBlock as z, Fragment as U, renderList as H, unref as c, createSlots as Se, withCtx as O, renderSlot as S, normalizeProps as we, guardReactiveProps as Ae, nextTick as Ie } from "vue";
2
- import { u as $e, c as ze, t as Oe, a as Pe, p as P, b as Ne, o as De, e as ue, g as Fe, $ as We, d as Te, i as N, f as D, q as Ve, r as Me } from "./index-BepNt4hC.js";
3
- import { u as se } from "./useNestedProp-DUC6XBU3.js";
4
- import Ee from "./vue-ui-sparkline-B6SKeGhK.js";
5
- import ie from "./BaseIcon-WyM8ZLeS.js";
6
- import { u as Ge, U as Be, v as Le } from "./usePrinter-DPvuzbZK.js";
7
- import { _ as Re } from "./_plugin-vue_export-helper-CHgC5LLL.js";
8
- const Ue = ["id"], He = { style: { "z-index": "1", "padding-right": "24px" } }, qe = ["onClick"], Xe = ["data-cell"], je = ["data-cell", "onPointerenter"], Je = ["data-cell"], Ke = ["data-cell"], Qe = ["data-cell"], Ye = ["data-cell"], Ze = {
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 = {
9
9
  key: 0,
10
10
  ref: "source",
11
11
  dir: "auto"
12
- }, et = {
12
+ }, lt = {
13
13
  __name: "vue-ui-table-sparkline",
14
14
  props: {
15
15
  config: {
@@ -25,117 +25,126 @@ const Ue = ["id"], He = { style: { "z-index": "1", "padding-right": "24px" } },
25
25
  }
26
26
  }
27
27
  },
28
- setup(de, { expose: ve }) {
29
- const b = de;
30
- _e((t) => ({
31
- "974f8724": t.tdo
28
+ setup(ve, { expose: ce }) {
29
+ const _ = ve;
30
+ xe((t) => ({
31
+ "465d6ffd": t.tdo
32
32
  }));
33
- const { vue_ui_table_sparkline: ce } = $e(), F = d(ze()), q = d(0), w = d(0), W = d(null), e = h({
34
- get: () => X(),
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(),
35
35
  set: (t) => t
36
36
  });
37
- function X() {
38
- const t = se({
39
- userConfig: b.config,
40
- defaultConfig: ce
37
+ function J() {
38
+ const t = ie({
39
+ userConfig: _.config,
40
+ defaultConfig: fe
41
41
  });
42
42
  return t.theme ? {
43
- ...se({
44
- userConfig: Oe.vue_ui_table_sparkline[t.theme] || b.config,
43
+ ...ie({
44
+ userConfig: De.vue_ui_table_sparkline[t.theme] || _.config,
45
45
  defaultConfig: t
46
46
  }),
47
- customPalette: Pe[t.theme] || P
47
+ customPalette: Fe[t.theme] || N
48
48
  } : t;
49
49
  }
50
- re(() => b.config, (t) => {
51
- e.value = X(), Y(), w.value += 1;
52
- }, { deep: !0 }), re(() => b.dataset, (t) => {
53
- m.value = x.value, w.value += 1;
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;
54
54
  }, { deep: !0 });
55
- const { isPrinting: j, isImaging: J, generatePdf: K, generateImage: Q } = Ge({
56
- elementId: `table_${F.value}`,
55
+ const { isPrinting: K, isImaging: Q, generatePdf: Y, generateImage: Z } = Re({
56
+ elementId: `table_${T.value}`,
57
57
  fileName: e.value.title.text || "vue-ui-table-sparkline"
58
- }), pe = h(() => Ne(e.value.customPalette)), A = d(null), T = d(!1), fe = h(() => e.value.responsiveBreakpoint);
59
- xe(() => {
60
- Y();
58
+ }), pe = h(() => Te(e.value.customPalette)), O = d(null), E = d(!1), me = h(() => e.value.responsiveBreakpoint);
59
+ Se(() => {
60
+ ee();
61
61
  });
62
- const V = d(e.value.colNames);
63
- function Y() {
64
- De(b.dataset) && ue({
62
+ const M = d(e.value.colNames);
63
+ function ee() {
64
+ We(_.dataset) && se({
65
65
  componentName: "VueUiTableSparkline",
66
66
  type: "dataset"
67
67
  });
68
68
  const t = new ResizeObserver((l) => {
69
69
  l.forEach((a) => {
70
- T.value = a.contentRect.width < fe.value;
70
+ E.value = a.contentRect.width < me.value;
71
71
  });
72
72
  });
73
- A.value && t.observe(A.value), V.value = [];
74
- for (let l = 0; l < le.value; l += 1)
75
- V.value.push(e.value.colNames[l] || `col ${l}`);
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}`);
76
76
  }
77
- const Z = h(() => (b.dataset.forEach((t, l) => {
78
- Fe({
77
+ const te = h(() => (_.dataset.forEach((t, l) => {
78
+ Ve({
79
79
  datasetObject: t,
80
80
  requiredAttributes: ["name", "values"]
81
81
  }).forEach((a) => {
82
- ue({
82
+ se({
83
83
  componentName: "VueUiTableSparkline",
84
84
  type: "datasetSerieAttribute",
85
85
  property: a,
86
86
  index: l
87
87
  });
88
88
  });
89
- }), b.dataset.map((t, l) => {
90
- const a = (t.values || []).map((r) => isNaN(r) ? 0 : r ?? 0), n = a.reduce((r, y) => r + y, 0), u = n / a.length, o = We(a);
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);
91
91
  return {
92
92
  ...t,
93
93
  values: t.values || [],
94
- color: Te(t.color) || pe.value[l] || P[l] || P[l % P.length],
95
- sum: n,
96
- average: u,
97
- median: o,
98
- sparklineDataset: a.map((r, y) => ({
99
- period: e.value.colNames[y] || `col ${y}`,
100
- value: r || 0
94
+ color: Me(t.color) || pe.value[l] || N[l] || N[l % N.length],
95
+ 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
101
101
  }))
102
102
  };
103
103
  })));
104
- function me(t) {
104
+ function ge(t) {
105
105
  const a = (t[0].values || []).map(
106
- (u, o) => t.map((r) => r.values[o] || [])
106
+ (r, u) => t.map((n) => n.values[u] || [])
107
107
  ).map(
108
- (u) => u.map((o, r) => [o, r]).sort((o, r) => r[0] - o[0]).map((o) => o[1])
108
+ (r) => r.map((u, n) => [u, n]).sort((u, n) => n[0] - u[0]).map((u) => u[1])
109
109
  );
110
- return t.map((u, o) => ({
111
- ...u,
112
- values: u.values || [],
113
- orders: a[o]
110
+ return t.map((r, u) => ({
111
+ ...r,
112
+ values: r.values || [],
113
+ orders: a[u]
114
114
  }));
115
115
  }
116
- const x = h(() => me(Z.value)), m = d(x.value), ge = h(() => Math.max(...m.value.map((t) => (t.values || []).length))), I = d(void 0), M = d(!1), $ = d(void 0), ee = d(-1);
117
- function te() {
118
- M.value = !1, $.value = void 0, C.value = void 0, ee.value = -1, m.value = x.value;
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 = {
119
+ name: 1,
120
+ sum: 1,
121
+ average: 1,
122
+ median: 1
123
+ }, b.value = A.value;
119
124
  }
120
- function ae(t, l) {
125
+ function le(t, l) {
121
126
  if (["name", "sum", "average", "median"].includes(t.type)) {
122
- be(t.type);
127
+ ye(t.type, l);
123
128
  return;
124
129
  }
125
- if (!B(l)) return;
126
- _.value = l, C.value = void 0, M.value = !0, $.value = l;
127
- const a = x.value.map((r) => r.values[l] || []), n = I.value === l ? 1 : -1;
128
- ee.value = n, l === I.value ? I.value = void 0 : I.value = l;
129
- const o = a.map((r, y) => [y, r]).sort((r, y) => n * (y[1] - r[1])).map((r) => r[0]).map((r) => x.value[r]);
130
- m.value = o, w.value += 1;
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();
133
+ return;
134
+ }
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;
131
140
  }
132
- const le = h(() => Math.max(...b.dataset.map((t) => (t.values || []).length))), k = h(() => {
133
- let t = V.value.map((a) => ({
141
+ const oe = h(() => Math.max(..._.dataset.map((t) => (t.values || []).length))), C = h(() => {
142
+ let t = M.value.map((a) => ({
134
143
  type: "reg",
135
144
  value: a
136
145
  }));
137
146
  if (!t.length)
138
- for (let a = 0; a < le.value; a += 1)
147
+ for (let a = 0; a < oe.value; a += 1)
139
148
  t.push({ type: "reg", value: `col ${a + 1}` });
140
149
  e.value.showTotal && (t = [...t, { type: "sum", value: e.value.translations.total }]);
141
150
  let l;
@@ -144,109 +153,120 @@ const Ue = ["id"], He = { style: { "z-index": "1", "padding-right": "24px" } },
144
153
  { type: "average", value: e.value.translations.average },
145
154
  { type: "median", value: e.value.translations.median }
146
155
  ] : 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;
147
- }), E = d({
148
- name: -1,
149
- sum: -1,
150
- average: -1,
151
- median: -1
152
- }), C = d(void 0);
153
- function be(t) {
154
- if (!m.value || m.value.length === 0 || !L(t)) return;
155
- C.value = t, $.value = void 0, M.value = !0, E.value[t] = E.value[t] === -1 ? 1 : -1;
156
- const l = E.value[t], a = [...m.value].sort((n, u) => {
157
- const o = n[t] ?? (typeof n[t] == "number" ? 0 : ""), r = u[t] ?? (typeof u[t] == "number" ? 0 : "");
158
- return typeof o == "string" && typeof r == "string" ? l === -1 ? o.localeCompare(r) : r.localeCompare(o) : typeof o == "number" && typeof r == "number" ? l === -1 ? o - r : r - o : 0;
156
+ }), x = d({
157
+ name: 1,
158
+ sum: 1,
159
+ average: 1,
160
+ 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();
166
+ return;
167
+ }
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;
159
172
  });
160
- m.value = a;
173
+ b.value = o;
161
174
  }
162
- const _ = d(void 0), G = d(void 0);
163
- function ye({ dataIndex: t, serieIndex: l }) {
164
- _.value = t, G.value = l, W.value[t] && !T.value && W.value[t].scrollIntoView({ behavior: "smooth", block: "nearest", inline: "center" });
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" });
165
178
  }
166
- const oe = d(!1);
167
- function he(t) {
168
- oe.value = t, q.value += 1;
179
+ const ne = d(!1);
180
+ function ke(t) {
181
+ ne.value = t, j.value += 1;
169
182
  }
170
- function ne() {
171
- Ie(() => {
172
- const t = [e.value.translations.serie].concat(k.value), l = Z.value.map((u, o) => [
173
- [u.name],
174
- u.values,
175
- [u.sum],
176
- [u.average],
177
- [u.median]
178
- ]), a = [t].concat(l), n = Ve(a);
179
- Me({
180
- csvContent: n,
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({
193
+ csvContent: o,
181
194
  title: e.value.title.text || "vue-ui-table-sparkline"
182
195
  });
183
196
  });
184
197
  }
185
- function B(t) {
198
+ function L(t) {
186
199
  return e.value.sortedDataColumnIndices.includes(t);
187
200
  }
188
- function L(t) {
201
+ function R(t) {
189
202
  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;
190
203
  }
191
- function ke(t, l) {
192
- return ["sum", "average", "median"].includes(l.type) ? C.value === l.type ? 1 : 0.3 : t === $.value ? 1 : 0.3;
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;
206
+ }
207
+ function Ce() {
208
+ e.value.resetSortOnClickOutside && w();
193
209
  }
194
- return ve({
195
- generatePdf: K,
196
- generateImage: Q,
197
- generateCsv: ne,
198
- restoreOrder: te
199
- }), (t, l) => (s(), v("div", {
210
+ const I = h({
211
+ get: () => C.value.map((t) => ({ state: 1 })),
212
+ set: (t) => t
213
+ });
214
+ return ce({
215
+ generatePdf: Y,
216
+ generateImage: Z,
217
+ generateCsv: ue,
218
+ restoreOrder: w
219
+ }), (t, l) => (i(), v("div", {
200
220
  ref_key: "tableContainer",
201
- ref: A,
202
- class: R({ "vue-ui-responsive": T.value }),
221
+ ref: O,
222
+ class: U({ "vue-ui-responsive": E.value }),
203
223
  style: { overflow: "hidden" },
204
- id: `table_${F.value}`
224
+ id: `table_${T.value}`
205
225
  }, [
206
226
  p("div", {
207
227
  style: { overflow: "auto" },
208
228
  onPointerleave: l[1] || (l[1] = (a) => {
209
- G.value = void 0, _.value = void 0;
229
+ G.value = void 0, S.value = void 0;
210
230
  })
211
231
  }, [
212
232
  p("table", {
213
233
  class: "vue-ui-data-table",
214
- style: i({ fontFamily: e.value.fontFamily, position: "relative" })
234
+ style: s({ fontFamily: e.value.fontFamily, position: "relative" })
215
235
  }, [
216
- e.value.title.text ? (s(), v("caption", {
236
+ e.value.title.text ? (i(), v("caption", {
217
237
  key: 0,
218
- style: i({ backgroundColor: e.value.title.backgroundColor })
238
+ style: s({ backgroundColor: e.value.title.backgroundColor })
219
239
  }, [
220
240
  p("div", {
221
- style: i({
241
+ style: s({
222
242
  fontSize: `${e.value.title.fontSize}px`,
223
243
  fontWeight: e.value.title.bold ? "bold" : "normal",
224
244
  color: e.value.title.color,
225
245
  textAlign: e.value.title.textAlign
226
246
  })
227
- }, g(e.value.title.text), 5),
228
- e.value.title.subtitle.text ? (s(), v("div", {
247
+ }, k(e.value.title.text), 5),
248
+ e.value.title.subtitle.text ? (i(), v("div", {
229
249
  key: 0,
230
- style: i({
250
+ style: s({
231
251
  fontSize: `${e.value.title.subtitle.fontSize}px`,
232
252
  fontWeight: e.value.title.subtitle.bold ? "bold" : "normal",
233
253
  color: e.value.title.subtitle.color,
234
254
  textAlign: e.value.title.textAlign
235
255
  })
236
- }, g(e.value.title.subtitle.text), 5)) : f("", !0)
237
- ], 4)) : f("", !0),
238
- p("thead", He, [
239
- Ce((s(), v("tr", {
256
+ }, k(e.value.title.subtitle.text), 5)) : g("", !0)
257
+ ], 4)) : g("", !0),
258
+ p("thead", je, [
259
+ we((i(), v("tr", {
240
260
  role: "row",
241
261
  class: "vue-ui-data-table__thead-row",
242
- style: i({
262
+ style: s({
243
263
  backgroundColor: e.value.thead.backgroundColor,
244
264
  color: e.value.thead.color
245
265
  })
246
266
  }, [
247
267
  p("th", {
248
268
  role: "cell",
249
- style: i({
269
+ style: s({
250
270
  backgroundColor: e.value.thead.backgroundColor,
251
271
  border: e.value.thead.outline,
252
272
  textAlign: e.value.thead.textAlign,
@@ -254,131 +274,133 @@ const Ue = ["id"], He = { style: { "z-index": "1", "padding-right": "24px" } },
254
274
  cursor: e.value.sortedSeriesName ? "pointer" : "default"
255
275
  }),
256
276
  class: "sticky-col-first",
257
- onClick: l[0] || (l[0] = (a) => ae({ type: "name" }, null))
277
+ onClick: l[0] || (l[0] = (a) => le({ type: "name" }, null))
258
278
  }, [
259
279
  p("div", {
260
- style: i({
280
+ style: s({
261
281
  display: "flex",
262
282
  flexDirection: "row",
263
283
  alignItems: "center",
264
284
  gap: "6px",
265
- justifyContent: e.value.thead.textAlign
285
+ justifyContent: e.value.thead.textAlign,
286
+ pointerEvents: "none"
266
287
  })
267
288
  }, [
268
- p("span", null, g(e.value.translations.serie), 1),
269
- e.value.sortedSeriesName ? (s(), z(ie, {
289
+ p("span", null, k(e.value.translations.serie), 1),
290
+ e.value.sortedSeriesName ? (i(), H(de, {
270
291
  key: 0,
271
- size: 18,
272
- name: "sort",
292
+ size: 12,
293
+ name: x.value.name === 1 ? "arrowBottom" : "arrowTop",
273
294
  stroke: e.value.thead.color,
274
- style: i({
275
- opacity: C.value === "name" ? 1 : 0.3
295
+ style: s({
296
+ opacity: y.value === "name" ? 1 : 0.3
276
297
  })
277
- }, null, 8, ["stroke", "style"])) : f("", !0)
298
+ }, null, 8, ["name", "stroke", "style"])) : g("", !0)
278
299
  ], 4)
279
300
  ], 4),
280
- (s(!0), v(U, null, H(k.value, (a, n) => (s(), v("th", {
301
+ (i(!0), v(q, null, X(C.value, (a, o) => (i(), v("th", {
281
302
  role: "cell",
282
- style: i({
303
+ style: s({
283
304
  background: e.value.thead.backgroundColor,
284
305
  border: e.value.thead.outline,
285
306
  textAlign: e.value.thead.textAlign,
286
307
  fontWeight: e.value.thead.bold ? "bold" : "normal",
287
- minWidth: n === k.value.length - 1 ? `${e.value.sparkline.dimensions.width}px` : "48px",
288
- cursor: B(n) || L(a) ? "pointer" : "default",
289
- paddingRight: n === k.value.length - 1 && e.value.userOptions.show ? "36px" : ""
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" : ""
290
311
  }),
291
- onClick: () => ae(a, n),
292
- class: R({ "sticky-col": n === k.value.length - 1 && e.value.showSparklines })
312
+ onClick: () => le(a, o),
313
+ class: U({ "sticky-col": o === C.value.length - 1 && e.value.showSparklines })
293
314
  }, [
294
315
  p("div", {
295
- style: i({
316
+ style: s({
296
317
  display: "flex",
297
318
  flexDirection: "row",
298
319
  alignItems: "center",
299
320
  gap: "6px",
300
- justifyContent: e.value.thead.textAlign
321
+ justifyContent: e.value.thead.textAlign,
322
+ pointerEvents: "none"
301
323
  })
302
324
  }, [
303
- p("span", null, g(a.value), 1),
304
- B(n) || L(a) ? (s(), z(ie, {
325
+ p("span", null, k(a.value), 1),
326
+ L(o) || R(a) ? (i(), H(de, {
305
327
  key: 0,
306
- size: 18,
307
- name: "sort",
328
+ size: 12,
329
+ name: I.value[o].state === 1 ? "arrowBottom" : "arrowTop",
308
330
  stroke: e.value.thead.color,
309
- style: i({
310
- opacity: ke(n, a)
331
+ style: s({
332
+ opacity: _e(o, a)
311
333
  })
312
- }, null, 8, ["stroke", "style"])) : f("", !0)
334
+ }, null, 8, ["name", "stroke", "style"])) : g("", !0)
313
335
  ], 4),
314
- e.value.userOptions.show && n === k.value.length - 1 ? (s(), z(Be, {
336
+ e.value.userOptions.show && o === C.value.length - 1 ? (i(), H(Ue, {
315
337
  ref_for: !0,
316
338
  ref: "details",
317
- key: `user_option_${q.value}`,
339
+ key: `user_option_${j.value}`,
318
340
  backgroundColor: e.value.thead.backgroundColor,
319
341
  color: e.value.thead.color,
320
- isPrinting: c(j),
321
- isImaging: c(J),
322
- uid: F.value,
342
+ isPrinting: f(K),
343
+ isImaging: f(Q),
344
+ uid: T.value,
323
345
  hasPdf: e.value.userOptions.buttons.pdf,
324
346
  hasXls: e.value.userOptions.buttons.csv,
325
347
  hasImg: e.value.userOptions.buttons.img,
326
348
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
327
- isFullscreen: oe.value,
349
+ isFullscreen: ne.value,
328
350
  titles: { ...e.value.userOptions.buttonTitles },
329
- chartElement: A.value,
351
+ chartElement: O.value,
330
352
  position: e.value.userOptions.position,
331
- onToggleFullscreen: he,
332
- onGeneratePdf: c(K),
333
- onGenerateImage: c(Q),
334
- onGenerateCsv: ne
335
- }, Se({ _: 2 }, [
353
+ onToggleFullscreen: ke,
354
+ onGeneratePdf: f(Y),
355
+ onGenerateImage: f(Z),
356
+ onGenerateCsv: ue
357
+ }, Ae({ _: 2 }, [
336
358
  t.$slots.optionPdf ? {
337
359
  name: "optionPdf",
338
- fn: O(() => [
339
- S(t.$slots, "optionPdf", {}, void 0, !0)
360
+ fn: P(() => [
361
+ $(t.$slots, "optionPdf", {}, void 0, !0)
340
362
  ]),
341
363
  key: "0"
342
364
  } : void 0,
343
365
  t.$slots.optionCsv ? {
344
366
  name: "optionCsv",
345
- fn: O(() => [
346
- S(t.$slots, "optionCsv", {}, void 0, !0)
367
+ fn: P(() => [
368
+ $(t.$slots, "optionCsv", {}, void 0, !0)
347
369
  ]),
348
370
  key: "1"
349
371
  } : void 0,
350
372
  t.$slots.optionImg ? {
351
373
  name: "optionImg",
352
- fn: O(() => [
353
- S(t.$slots, "optionImg", {}, void 0, !0)
374
+ fn: P(() => [
375
+ $(t.$slots, "optionImg", {}, void 0, !0)
354
376
  ]),
355
377
  key: "2"
356
378
  } : void 0,
357
379
  t.$slots.optionFullscreen ? {
358
380
  name: "optionFullscreen",
359
- fn: O(({ toggleFullscreen: u, isFullscreen: o }) => [
360
- S(t.$slots, "optionFullscreen", we(Ae({ toggleFullscreen: u, isFullscreen: o })), void 0, !0)
381
+ fn: P(({ toggleFullscreen: r, isFullscreen: u }) => [
382
+ $(t.$slots, "optionFullscreen", Ie($e({ toggleFullscreen: r, isFullscreen: u })), void 0, !0)
361
383
  ]),
362
384
  key: "3"
363
385
  } : void 0
364
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "onGeneratePdf", "onGenerateImage"])) : f("", !0)
365
- ], 14, qe))), 256))
386
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "onGeneratePdf", "onGenerateImage"])) : g("", !0)
387
+ ], 14, Je))), 256))
366
388
  ], 4)), [
367
- [c(Le), te]
389
+ [f(He), Ce]
368
390
  ])
369
391
  ]),
370
392
  p("tbody", null, [
371
- (s(!0), v(U, null, H(m.value, (a, n) => (s(), v("tr", {
393
+ (i(!0), v(q, null, X(b.value, (a, o) => (i(), v("tr", {
372
394
  role: "row",
373
- style: i({
395
+ style: s({
374
396
  backgroundColor: e.value.tbody.backgroundColor,
375
397
  color: e.value.tbody.color
376
398
  }),
377
- class: R({ "vue-ui-data-table__tbody__row": !0, "vue-ui-data-table__tbody__row-even": n % 2 === 0, "vue-ui-data-table__tbody__row-odd": n % 2 !== 0 })
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 })
378
400
  }, [
379
401
  p("td", {
380
402
  role: "cell",
381
- style: i({
403
+ style: s({
382
404
  backgroundColor: e.value.tbody.backgroundColor,
383
405
  border: e.value.tbody.outline,
384
406
  fontSize: `${e.value.tbody.fontSize}px`,
@@ -390,7 +412,7 @@ const Ue = ["id"], He = { style: { "z-index": "1", "padding-right": "24px" } },
390
412
  }, [
391
413
  p("div", {
392
414
  dir: "auto",
393
- style: i({
415
+ style: s({
394
416
  display: "flex",
395
417
  flexDirection: "row",
396
418
  alignItems: "center",
@@ -398,47 +420,47 @@ const Ue = ["id"], He = { style: { "z-index": "1", "padding-right": "24px" } },
398
420
  justifyContent: e.value.tbody.textAlign
399
421
  })
400
422
  }, [
401
- e.value.tbody.showColorMarker ? (s(), v("span", {
423
+ e.value.tbody.showColorMarker ? (i(), v("span", {
402
424
  key: 0,
403
- style: i({ color: a.color })
404
- }, "⬤", 4)) : f("", !0),
405
- p("span", null, g(a.name ?? "-"), 1)
425
+ style: s({ color: a.color })
426
+ }, "⬤", 4)) : g("", !0),
427
+ p("span", null, k(a.name ?? "-"), 1)
406
428
  ], 4)
407
- ], 12, Xe),
408
- (s(!0), v(U, null, H(ge.value, (u, o) => (s(), v("td", {
429
+ ], 12, Ke),
430
+ (i(!0), v(q, null, X(be.value, (r, u) => (i(), v("td", {
409
431
  dir: "auto",
410
432
  role: "cell",
411
433
  ref_for: !0,
412
434
  ref_key: "TD",
413
- ref: W,
414
- style: i({
435
+ ref: V,
436
+ style: s({
415
437
  border: e.value.tbody.outline,
416
438
  fontSize: `${e.value.tbody.fontSize}px`,
417
439
  fontWeight: e.value.tbody.bold ? "bold" : "normal",
418
440
  textAlign: e.value.tbody.textAlign,
419
- background: _.value !== void 0 && o === _.value ? e.value.tbody.selectedColor.useSerieColor ? `${a.color.length > 7 ? a.color.slice(0, -2) : a.color}33` : e.value.tbody.selectedColor.fallback : ""
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 : ""
420
442
  }),
421
- "data-cell": k.value[o],
443
+ "data-cell": C.value[u],
422
444
  class: "vue-ui-data-table__tbody__td",
423
- onPointerenter: (r) => {
424
- G.value = n, _.value = o;
445
+ onPointerenter: (n) => {
446
+ G.value = o, S.value = u;
425
447
  }
426
- }, g([null, void 0].includes(a.values[o]) ? "-" : c(N)(
448
+ }, k([null, void 0].includes(a.values[u]) ? "-" : f(D)(
427
449
  e.value.formatter,
428
- Number(a.values[o]),
429
- c(D)({
450
+ Number(a.values[u]),
451
+ f(F)({
430
452
  p: e.value.prefix,
431
- v: Number(a.values[o]),
453
+ v: Number(a.values[u]),
432
454
  s: e.value.suffix,
433
455
  r: e.value.roundingValues
434
456
  }),
435
- { datapoint: a, seriesIndex: n, datapointIndex: o }
436
- )), 45, je))), 256)),
437
- e.value.showTotal ? (s(), v("td", {
457
+ { datapoint: a, seriesIndex: o, datapointIndex: u }
458
+ )), 45, Qe))), 256)),
459
+ e.value.showTotal ? (i(), v("td", {
438
460
  key: 0,
439
461
  dir: "auto",
440
462
  role: "cell",
441
- style: i({
463
+ style: s({
442
464
  border: e.value.tbody.outline,
443
465
  fontSize: `${e.value.tbody.fontSize}px`,
444
466
  fontWeight: e.value.tbody.bold ? "bold" : "normal",
@@ -446,22 +468,22 @@ const Ue = ["id"], He = { style: { "z-index": "1", "padding-right": "24px" } },
446
468
  }),
447
469
  "data-cell": e.value.translations.total,
448
470
  class: "vue-ui-data-table__tbody__td"
449
- }, g(c(N)(
471
+ }, k(f(D)(
450
472
  e.value.formatter,
451
473
  a.sum,
452
- c(D)({
474
+ f(F)({
453
475
  p: e.value.prefix,
454
476
  v: a.sum,
455
477
  s: e.value.suffix,
456
478
  r: e.value.roundingTotal
457
479
  }),
458
- { datapoint: a.sum, seriesIndex: n }
459
- )), 13, Je)) : f("", !0),
460
- e.value.showAverage ? (s(), v("td", {
480
+ { datapoint: a.sum, seriesIndex: o }
481
+ )), 13, Ye)) : g("", !0),
482
+ e.value.showAverage ? (i(), v("td", {
461
483
  key: 1,
462
484
  dir: "auto",
463
485
  role: "cell",
464
- style: i({
486
+ style: s({
465
487
  border: e.value.tbody.outline,
466
488
  fontSize: `${e.value.tbody.fontSize}px`,
467
489
  fontWeight: e.value.tbody.bold ? "bold" : "normal",
@@ -469,22 +491,22 @@ const Ue = ["id"], He = { style: { "z-index": "1", "padding-right": "24px" } },
469
491
  }),
470
492
  "data-cell": e.value.translations.average,
471
493
  class: "vue-ui-data-table__tbody__td"
472
- }, g(c(N)(
494
+ }, k(f(D)(
473
495
  e.value.formatter,
474
496
  a.average,
475
- c(D)({
497
+ f(F)({
476
498
  p: e.value.prefix,
477
499
  v: a.average,
478
500
  s: e.value.suffix,
479
501
  r: e.value.roundingAverage
480
502
  }),
481
- { datapoint: a.average, seriesIndex: n }
482
- )), 13, Ke)) : f("", !0),
483
- e.value.showMedian ? (s(), v("td", {
503
+ { datapoint: a.average, seriesIndex: o }
504
+ )), 13, Ze)) : g("", !0),
505
+ e.value.showMedian ? (i(), v("td", {
484
506
  key: 2,
485
507
  dir: "auto",
486
508
  role: "cell",
487
- style: i({
509
+ style: s({
488
510
  border: e.value.tbody.outline,
489
511
  fontSize: `${e.value.tbody.fontSize}px`,
490
512
  fontWeight: e.value.tbody.bold ? "bold" : "normal",
@@ -492,22 +514,22 @@ const Ue = ["id"], He = { style: { "z-index": "1", "padding-right": "24px" } },
492
514
  }),
493
515
  "data-cell": e.value.translations.median,
494
516
  class: "vue-ui-data-table__tbody__td"
495
- }, g(c(N)(
517
+ }, k(f(D)(
496
518
  e.value.formatter,
497
519
  a.median,
498
- c(D)({
520
+ f(F)({
499
521
  p: e.value.prefix,
500
522
  v: a.median,
501
523
  s: e.value.suffix,
502
524
  r: e.value.roundingMedian
503
525
  }),
504
- { datapoint: a.median, seriesIndex: n }
505
- )), 13, Qe)) : f("", !0),
506
- e.value.showSparklines ? (s(), v("td", {
526
+ { datapoint: a.median, seriesIndex: o }
527
+ )), 13, et)) : g("", !0),
528
+ e.value.showSparklines ? (i(), v("td", {
507
529
  key: 3,
508
530
  role: "cell",
509
531
  "data-cell": e.value.translations.chart,
510
- style: i({
532
+ style: s({
511
533
  border: e.value.tbody.outline,
512
534
  fontSize: `${e.value.tbody.fontSize}px`,
513
535
  fontWeight: e.value.tbody.bold ? "bold" : "normal",
@@ -517,20 +539,19 @@ const Ue = ["id"], He = { style: { "z-index": "1", "padding-right": "24px" } },
517
539
  }),
518
540
  class: "vue-ui-data-table__tbody__td sticky-col"
519
541
  }, [
520
- (s(), z(Ee, {
521
- key: `sparkline_${n}_${w.value}`,
522
- onHoverIndex: ({ index: u }) => ye({ dataIndex: u, serieIndex: n }),
542
+ Oe(Le, {
543
+ onHoverIndex: ({ index: r }) => he({ dataIndex: r, serieIndex: o }),
523
544
  "height-ratio": e.value.sparkline.dimensions.heightRatio,
524
545
  "forced-padding": 30,
525
546
  dataset: a.sparklineDataset,
526
547
  showInfo: !1,
527
- selectedIndex: _.value,
548
+ selectedIndex: S.value,
528
549
  config: {
529
550
  type: e.value.sparkline.type,
530
551
  style: {
531
552
  backgroundColor: "transparent",
532
553
  animation: {
533
- show: e.value.sparkline.animation.show && !c(j) && !c(J),
554
+ show: e.value.sparkline.animation.show && !f(K) && !f(Q),
534
555
  animationFrames: e.value.sparkline.animation.animationFrames
535
556
  },
536
557
  line: {
@@ -556,18 +577,18 @@ const Ue = ["id"], He = { style: { "z-index": "1", "padding-right": "24px" } },
556
577
  }
557
578
  }
558
579
  }
559
- }, null, 8, ["onHoverIndex", "height-ratio", "dataset", "selectedIndex", "config"]))
560
- ], 12, Ye)) : f("", !0)
580
+ }, null, 8, ["onHoverIndex", "height-ratio", "dataset", "selectedIndex", "config"])
581
+ ], 12, tt)) : g("", !0)
561
582
  ], 6))), 256))
562
583
  ])
563
584
  ], 4)
564
585
  ], 32),
565
- t.$slots.source ? (s(), v("div", Ze, [
566
- S(t.$slots, "source", {}, void 0, !0)
567
- ], 512)) : f("", !0)
568
- ], 10, Ue));
586
+ t.$slots.source ? (i(), v("div", at, [
587
+ $(t.$slots, "source", {}, void 0, !0)
588
+ ], 512)) : g("", !0)
589
+ ], 10, Xe));
569
590
  }
570
- }, st = /* @__PURE__ */ Re(et, [["__scopeId", "data-v-41eb8933"]]);
591
+ }, vt = /* @__PURE__ */ qe(lt, [["__scopeId", "data-v-dad6e5d1"]]);
571
592
  export {
572
- st as default
593
+ vt as default
573
594
  };