vue-data-ui 2.3.83 → 2.3.85

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 (175) hide show
  1. package/dist/{Arrow-CcR4ZIEI.cjs → Arrow-CLOh6oi7.cjs} +1 -1
  2. package/dist/{Arrow-M7fNgsWN.js → Arrow-JwDgP3de.js} +1 -1
  3. package/dist/{BaseIcon-BHuHlqT8.cjs → BaseIcon-BBQHz_Sf.cjs} +1 -1
  4. package/dist/{BaseIcon-DY4dOkkj.js → BaseIcon-BysUnfCR.js} +1 -1
  5. package/dist/{DataTable-NaCUmiJt.js → DataTable-MkG5Dqrn.js} +2 -2
  6. package/dist/{DataTable-BYpARrqG.cjs → DataTable-pVXaNplZ.cjs} +1 -1
  7. package/dist/{Legend-CK7IfQW2.js → Legend-KW7sTwN3.js} +1 -1
  8. package/dist/{Legend-D8icDk38.cjs → Legend-k2mcTp7z.cjs} +1 -1
  9. package/dist/{Shape-BBQ0BAq6.js → Shape-BFiZBf3X.js} +1 -1
  10. package/dist/{Shape-BSA-6ATj.cjs → Shape-COoEWeGM.cjs} +1 -1
  11. package/dist/{Slicer-BSNY_ZDL.js → Slicer-CALc-Q4W.js} +2 -2
  12. package/dist/{Slicer-BEiXplka.cjs → Slicer-DCyxUSsn.cjs} +1 -1
  13. package/dist/{Title-1LPI4Pd7.cjs → Title-BaKZYHEx.cjs} +1 -1
  14. package/dist/{Title-I5LLf5MT.js → Title-ISDbzCH8.js} +1 -1
  15. package/dist/{Tooltip-UuN-HISf.js → Tooltip-BHmMXOej.js} +1 -1
  16. package/dist/{Tooltip-BbUUQjWg.cjs → Tooltip-okAYzo5Y.cjs} +1 -1
  17. package/dist/{index-B6bGaBzE.js → index-BiuHBtkZ.js} +2 -1
  18. package/dist/index-D-vy9N1v.cjs +4 -0
  19. package/dist/style.css +1 -1
  20. package/dist/types/vue-data-ui.d.cts +1 -0
  21. package/dist/types/vue-data-ui.d.ts +1 -0
  22. package/dist/{useNestedProp-CAjEiadB.cjs → useNestedProp-B9yDavuy.cjs} +1 -1
  23. package/dist/{useNestedProp-BS8PvQ5U.js → useNestedProp-Ck5_RzLu.js} +1 -1
  24. package/dist/{usePrinter-DthbDD1O.js → usePrinter-Do8KiK5h.js} +1 -1
  25. package/dist/{usePrinter-D47Cl-_I.cjs → usePrinter-P4nLcXX-.cjs} +1 -1
  26. package/dist/{vue-data-ui-BesfxeQR.js → vue-data-ui-CAl2KJv9.js} +57 -57
  27. package/dist/{vue-data-ui-ZBy4ZyPH.cjs → vue-data-ui-CVYCyzY-.cjs} +1 -1
  28. package/dist/vue-data-ui.cjs +1 -1
  29. package/dist/vue-data-ui.js +1 -1
  30. package/dist/{vue-ui-3d-bar-BmCupY_F.js → vue-ui-3d-bar-CploAEkY.js} +163 -163
  31. package/dist/vue-ui-3d-bar-DlUqKETN.cjs +19 -0
  32. package/dist/{vue-ui-accordion-BblXoBgi.js → vue-ui-accordion-D2fhyKpk.js} +3 -3
  33. package/dist/{vue-ui-accordion-DVK9JwAM.cjs → vue-ui-accordion-btKAUUTu.cjs} +1 -1
  34. package/dist/vue-ui-age-pyramid-CvSoQ1op.cjs +1 -0
  35. package/dist/{vue-ui-age-pyramid-CzgKgRqy.js → vue-ui-age-pyramid-DkaM5MrK.js} +55 -55
  36. package/dist/{vue-ui-annotator-CQryTk_7.js → vue-ui-annotator-38FBI0Pn.js} +1 -1
  37. package/dist/{vue-ui-annotator-dTbuigK7.cjs → vue-ui-annotator-BMYk78DR.cjs} +1 -1
  38. package/dist/vue-ui-candlestick-BJulnyV3.cjs +2 -0
  39. package/dist/{vue-ui-candlestick-DH3-JcNQ.js → vue-ui-candlestick-CKsjq0Uw.js} +81 -81
  40. package/dist/{vue-ui-carousel-table-DxDDpzyO.cjs → vue-ui-carousel-table-Cx72LlTd.cjs} +1 -1
  41. package/dist/{vue-ui-carousel-table-BoLJlPIf.js → vue-ui-carousel-table-DjGaEuM7.js} +4 -4
  42. package/dist/{vue-ui-chestnut-BHo_m_eO.cjs → vue-ui-chestnut-DAiBfoPN.cjs} +2 -2
  43. package/dist/{vue-ui-chestnut-DFCI0g97.js → vue-ui-chestnut-TLyh4dIZ.js} +9 -9
  44. package/dist/{vue-ui-cursor-DjVXzBDJ.js → vue-ui-cursor-B1xa5yua.js} +2 -2
  45. package/dist/{vue-ui-cursor-WpptD__s.cjs → vue-ui-cursor-BunDuWpK.cjs} +1 -1
  46. package/dist/{vue-ui-dashboard-DewqEIU8.cjs → vue-ui-dashboard-CMZ736DL.cjs} +1 -1
  47. package/dist/{vue-ui-dashboard-Cms5XJQ9.js → vue-ui-dashboard-DdcubzWu.js} +2 -2
  48. package/dist/{vue-ui-digits-C0YWch_M.js → vue-ui-digits-BUpjWWnD.js} +2 -2
  49. package/dist/{vue-ui-digits-ChM4kqZY.cjs → vue-ui-digits-z5g__gqs.cjs} +1 -1
  50. package/dist/vue-ui-donut-TY2Z9Ljx.cjs +1 -0
  51. package/dist/{vue-ui-donut-jnS5SfdU.js → vue-ui-donut-ZLpfm-XT.js} +73 -73
  52. package/dist/vue-ui-donut-evolution-BEm2dOxe.cjs +1 -0
  53. package/dist/{vue-ui-donut-evolution-bM3kCJUD.js → vue-ui-donut-evolution-Bn4asQO3.js} +81 -81
  54. package/dist/{vue-ui-dumbbell-DhZL7zEK.cjs → vue-ui-dumbbell-CY6X8J1K.cjs} +2 -2
  55. package/dist/{vue-ui-dumbbell-CJr-rur-.js → vue-ui-dumbbell-D2R9tJ99.js} +21 -21
  56. package/dist/{vue-ui-flow-C0vcVRWr.js → vue-ui-flow-Dd5uPNTQ.js} +52 -52
  57. package/dist/vue-ui-flow-DswsuPwy.cjs +1 -0
  58. package/dist/{vue-ui-galaxy-B3FMALkv.js → vue-ui-galaxy-B7CoWLhj.js} +85 -85
  59. package/dist/vue-ui-galaxy-Dxy6jzus.cjs +1 -0
  60. package/dist/{vue-ui-gauge-BwDm2zQl.js → vue-ui-gauge-CGh_m922.js} +61 -61
  61. package/dist/vue-ui-gauge-CWd_ol6u.cjs +1 -0
  62. package/dist/{vue-ui-gizmo-D9EQ3r0O.js → vue-ui-gizmo-BY3hnKSH.js} +2 -2
  63. package/dist/{vue-ui-gizmo-DA_RRisA.cjs → vue-ui-gizmo-D5Kn7w7L.cjs} +1 -1
  64. package/dist/vue-ui-heatmap-AUm42a1v.cjs +1 -0
  65. package/dist/{vue-ui-heatmap-DAOrAKZ7.js → vue-ui-heatmap-yYN0u0I6.js} +150 -150
  66. package/dist/{vue-ui-kpi-_-b-280h.js → vue-ui-kpi-B4zr_geL.js} +3 -3
  67. package/dist/{vue-ui-kpi-DP430jb8.cjs → vue-ui-kpi-Q20yM3IP.cjs} +1 -1
  68. package/dist/{vue-ui-mini-loader-CPtiWFfd.cjs → vue-ui-mini-loader-GFSZofpE.cjs} +1 -1
  69. package/dist/{vue-ui-mini-loader-BHLoiHsr.js → vue-ui-mini-loader-GImbaGsN.js} +2 -2
  70. package/dist/vue-ui-molecule-C9FcDH4x.cjs +1 -0
  71. package/dist/{vue-ui-molecule-BeBh4FNr.js → vue-ui-molecule-DmrB3kgA.js} +54 -54
  72. package/dist/vue-ui-mood-radar-CRwStVTV.cjs +1 -0
  73. package/dist/{vue-ui-mood-radar-BD9bJ50Z.js → vue-ui-mood-radar-sEkQtzI2.js} +100 -100
  74. package/dist/{vue-ui-nested-donuts-eCox9YV-.cjs → vue-ui-nested-donuts-BcOgxtZV.cjs} +2 -2
  75. package/dist/{vue-ui-nested-donuts-Cgto3tF8.js → vue-ui-nested-donuts-DvpZLcYd.js} +43 -43
  76. package/dist/vue-ui-onion-C9v9YjdJ.cjs +5 -0
  77. package/dist/{vue-ui-onion-CuNbMdeS.js → vue-ui-onion-DQMLPe3M.js} +88 -88
  78. package/dist/vue-ui-parallel-coordinate-plot-BBuPdl2K.cjs +8 -0
  79. package/dist/{vue-ui-parallel-coordinate-plot-VJfABpcX.js → vue-ui-parallel-coordinate-plot-DN2LPNyS.js} +38 -38
  80. package/dist/{vue-ui-quadrant-vM1usRVi.js → vue-ui-quadrant-D2GpeXI6.js} +49 -49
  81. package/dist/vue-ui-quadrant-ulY-rCMI.cjs +1 -0
  82. package/dist/{vue-ui-quick-chart-BGVhBISR.js → vue-ui-quick-chart-C5K9DfUV.js} +12 -12
  83. package/dist/vue-ui-quick-chart-DFj17h6h.cjs +15 -0
  84. package/dist/{vue-ui-radar-B_GDv1OM.js → vue-ui-radar-B9TZPujK.js} +42 -42
  85. package/dist/vue-ui-radar-KA287Tp-.cjs +1 -0
  86. package/dist/{vue-ui-rating-ANVaulU4.js → vue-ui-rating-B0pNsmGB.js} +2 -2
  87. package/dist/{vue-ui-rating-C2XpUtCE.cjs → vue-ui-rating-DpxzUDQq.cjs} +1 -1
  88. package/dist/vue-ui-relation-circle-D3B-lpdM.cjs +1 -0
  89. package/dist/{vue-ui-relation-circle-CeHXshK7.js → vue-ui-relation-circle-DSnlpLHt.js} +54 -54
  90. package/dist/{vue-ui-rings-BbmSC-kG.js → vue-ui-rings-BuvFDBXg.js} +77 -77
  91. package/dist/vue-ui-rings-cmeFVitd.cjs +2 -0
  92. package/dist/vue-ui-scatter-BWPqoSUN.cjs +1 -0
  93. package/dist/{vue-ui-scatter-dWaDeP28.js → vue-ui-scatter-D_chvOSJ.js} +51 -51
  94. package/dist/{vue-ui-screenshot-CDkexSfB.cjs → vue-ui-screenshot-CwrXLMru.cjs} +1 -1
  95. package/dist/{vue-ui-screenshot-LFcpEMW-.js → vue-ui-screenshot-DSHeHshf.js} +1 -1
  96. package/dist/{vue-ui-skeleton-BR_pp7QN.cjs → vue-ui-skeleton-DJhwv2oY.cjs} +1 -1
  97. package/dist/{vue-ui-skeleton-DyodIkl3.js → vue-ui-skeleton-Du4zw-c1.js} +2 -2
  98. package/dist/{vue-ui-smiley-vzDOQmfu.cjs → vue-ui-smiley-BNkk6suC.cjs} +1 -1
  99. package/dist/{vue-ui-smiley-BW1y5hnG.js → vue-ui-smiley-BtQLJ7rA.js} +2 -2
  100. package/dist/{vue-ui-spark-trend-DANt3xrm.js → vue-ui-spark-trend-BgA79g7a.js} +29 -29
  101. package/dist/vue-ui-spark-trend-DFIjxBTY.cjs +1 -0
  102. package/dist/vue-ui-sparkbar-BlwQfhlY.cjs +1 -0
  103. package/dist/{vue-ui-sparkbar-Ds2HHojQ.js → vue-ui-sparkbar-DQAWZReF.js} +27 -27
  104. package/dist/vue-ui-sparkgauge-BCRSQDpt.cjs +1 -0
  105. package/dist/{vue-ui-sparkgauge-BtJZFN2Q.js → vue-ui-sparkgauge-CCApU38s.js} +22 -22
  106. package/dist/vue-ui-sparkhistogram-CTxG1Vtn.cjs +1 -0
  107. package/dist/{vue-ui-sparkhistogram-BK5q9yzw.js → vue-ui-sparkhistogram-PKTt4EmH.js} +52 -52
  108. package/dist/{vue-ui-sparkline-BH7TjDt8.cjs → vue-ui-sparkline-BUaixngQ.cjs} +1 -1
  109. package/dist/{vue-ui-sparkline-hX4509iJ.js → vue-ui-sparkline-EESAiZyt.js} +3 -3
  110. package/dist/{vue-ui-sparkstackbar-D5GszwYa.js → vue-ui-sparkstackbar-TnLNixdf.js} +6 -6
  111. package/dist/vue-ui-sparkstackbar-iQnc0zcO.cjs +1 -0
  112. package/dist/{vue-ui-stackbar-B_hMyMvl.js → vue-ui-stackbar-Ci04sup3.js} +62 -62
  113. package/dist/vue-ui-stackbar-Rrcyg4CC.cjs +6 -0
  114. package/dist/vue-ui-strip-plot-CowHumiU.cjs +1 -0
  115. package/dist/{vue-ui-strip-plot-de9Eymtb.js → vue-ui-strip-plot-DbvW0BuF.js} +72 -72
  116. package/dist/{vue-ui-table-DCdfSuVG.cjs → vue-ui-table-328De4vk.cjs} +1 -1
  117. package/dist/{vue-ui-table-BLHo9-_6.js → vue-ui-table-CamkBCdL.js} +1 -1
  118. package/dist/{vue-ui-table-heatmap-BszD4e0_.cjs → vue-ui-table-heatmap-CCHre3Gt.cjs} +1 -1
  119. package/dist/{vue-ui-table-heatmap-Dr5Qk35G.js → vue-ui-table-heatmap-D-YdrvGV.js} +4 -4
  120. package/dist/{vue-ui-table-sparkline-BWXuJi0-.cjs → vue-ui-table-sparkline-Cmg7wnQ0.cjs} +1 -1
  121. package/dist/{vue-ui-table-sparkline-B6IhXLL_.js → vue-ui-table-sparkline-Dg2RKv6f.js} +5 -5
  122. package/dist/vue-ui-thermometer-BDeKErC9.cjs +1 -0
  123. package/dist/{vue-ui-thermometer-DXv1JPZX.js → vue-ui-thermometer-jWHbZTc2.js} +47 -47
  124. package/dist/{vue-ui-timer-DtWdRECG.js → vue-ui-timer-BPepr5eV.js} +4 -4
  125. package/dist/{vue-ui-timer-Db-uYQDe.cjs → vue-ui-timer-B_FyRAU7.cjs} +1 -1
  126. package/dist/vue-ui-tiremarks-CaJWlyz8.cjs +1 -0
  127. package/dist/{vue-ui-tiremarks-Cda6cwHT.js → vue-ui-tiremarks-DW8Q2IBl.js} +94 -94
  128. package/dist/{vue-ui-treemap-HzIfevi0.cjs → vue-ui-treemap-B9GpvA0k.cjs} +1 -1
  129. package/dist/{vue-ui-treemap-nX8RJJ0M.js → vue-ui-treemap-CWu43qLo.js} +12 -12
  130. package/dist/{vue-ui-vertical-bar-Cq9OrF-E.js → vue-ui-vertical-bar-CndASePh.js} +178 -178
  131. package/dist/vue-ui-vertical-bar-a_41JdIn.cjs +4 -0
  132. package/dist/{vue-ui-waffle-CdfiQX7W.js → vue-ui-waffle-CdyqwJwN.js} +71 -71
  133. package/dist/vue-ui-waffle-c9ycdoKz.cjs +1 -0
  134. package/dist/vue-ui-wheel-B3BMfKmd.cjs +1 -0
  135. package/dist/{vue-ui-wheel-pj51puV8.js → vue-ui-wheel-Byq_BLhl.js} +57 -57
  136. package/dist/{vue-ui-word-cloud-D04mc7xB.js → vue-ui-word-cloud-BRxN5uFD.js} +107 -107
  137. package/dist/{vue-ui-word-cloud-DbFRSx5H.cjs → vue-ui-word-cloud-BVOcsuMP.cjs} +1 -1
  138. package/dist/vue-ui-xy-CsS5ny0q.cjs +3 -0
  139. package/dist/{vue-ui-xy-CTSQiIh0.js → vue-ui-xy-DgEdZz0O.js} +831 -817
  140. package/dist/{vue-ui-xy-canvas-6lqDLyxU.js → vue-ui-xy-canvas-BI7jUOTn.js} +10 -10
  141. package/dist/{vue-ui-xy-canvas-D78-vkpW.cjs → vue-ui-xy-canvas-Td0WNYN0.cjs} +1 -1
  142. package/package.json +1 -1
  143. package/dist/index-CuTsdJDI.cjs +0 -4
  144. package/dist/vue-ui-3d-bar-ndPdPajx.cjs +0 -19
  145. package/dist/vue-ui-age-pyramid-ua3MdmCq.cjs +0 -1
  146. package/dist/vue-ui-candlestick-BSDnT9kJ.cjs +0 -2
  147. package/dist/vue-ui-donut-evolution-ConFJEQl.cjs +0 -1
  148. package/dist/vue-ui-donut-wewLho92.cjs +0 -1
  149. package/dist/vue-ui-flow-Cpwccu5D.cjs +0 -1
  150. package/dist/vue-ui-galaxy-BfcyfvBH.cjs +0 -1
  151. package/dist/vue-ui-gauge-CzhpktL0.cjs +0 -1
  152. package/dist/vue-ui-heatmap-DgeFeTzQ.cjs +0 -1
  153. package/dist/vue-ui-molecule-Bo_vv3KE.cjs +0 -1
  154. package/dist/vue-ui-mood-radar-BgM0X3vV.cjs +0 -1
  155. package/dist/vue-ui-onion-Bg4bO8zm.cjs +0 -5
  156. package/dist/vue-ui-parallel-coordinate-plot-Cn_H0TAS.cjs +0 -8
  157. package/dist/vue-ui-quadrant-CsBneYsu.cjs +0 -1
  158. package/dist/vue-ui-quick-chart-Be96p8ex.cjs +0 -15
  159. package/dist/vue-ui-radar-CkX69xOF.cjs +0 -1
  160. package/dist/vue-ui-relation-circle-4JRcycOA.cjs +0 -1
  161. package/dist/vue-ui-rings-BFDBWLpB.cjs +0 -2
  162. package/dist/vue-ui-scatter-DXC7BLyb.cjs +0 -1
  163. package/dist/vue-ui-spark-trend-B6bGMK7B.cjs +0 -1
  164. package/dist/vue-ui-sparkbar-D9lC7k4l.cjs +0 -1
  165. package/dist/vue-ui-sparkgauge-B1xubatN.cjs +0 -1
  166. package/dist/vue-ui-sparkhistogram-Czii-6F7.cjs +0 -1
  167. package/dist/vue-ui-sparkstackbar-K6WpH3Yp.cjs +0 -1
  168. package/dist/vue-ui-stackbar-D7LVOSv5.cjs +0 -6
  169. package/dist/vue-ui-strip-plot-CVT5B7TW.cjs +0 -1
  170. package/dist/vue-ui-thermometer-C1zl2BIB.cjs +0 -1
  171. package/dist/vue-ui-tiremarks-CjBnqmbt.cjs +0 -1
  172. package/dist/vue-ui-vertical-bar-CemDj3SW.cjs +0 -4
  173. package/dist/vue-ui-waffle-Cb6ILDHZ.cjs +0 -1
  174. package/dist/vue-ui-wheel-DJ6FlnRI.cjs +0 -1
  175. package/dist/vue-ui-xy-CUgcj9k1.cjs +0 -3
@@ -1,14 +1,14 @@
1
- import { computed as h, ref as v, watch as fe, onMounted as Ie, onBeforeUnmount as Oe, openBlock as u, createElementBlock as s, normalizeClass as be, normalizeStyle as q, createBlock as N, createCommentVNode as c, unref as p, createSlots as Be, withCtx as b, renderSlot as x, normalizeProps as L, guardReactiveProps as R, createElementVNode as n, Fragment as S, renderList as z, toDisplayString as V, createVNode as Pe, createTextVNode as Me, nextTick as Ue } from "vue";
2
- import { u as Ee, c as De, t as We, o as Ge, e as C, C as Xe, v as I, X as je, w as D, D as He, s as Ye, x as qe, y as Je, q as Ke, r as Qe, E as xe } from "./index-B6bGaBzE.js";
1
+ import { computed as h, ref as v, watch as ge, onMounted as Ie, onBeforeUnmount as Oe, openBlock as s, createElementBlock as u, normalizeClass as fe, normalizeStyle as be, createBlock as N, createCommentVNode as c, unref as p, createSlots as Be, withCtx as b, renderSlot as x, normalizeProps as L, guardReactiveProps as R, createElementVNode as n, Fragment as S, renderList as z, toDisplayString as V, createVNode as Pe, createTextVNode as Me, nextTick as Ue } from "vue";
2
+ import { u as Ee, c as De, t as We, o as Ge, e as C, C as Xe, v as I, X as je, w as D, D as He, s as Ye, x as qe, y as Je, q as Ke, r as Qe, E as xe } from "./index-BiuHBtkZ.js";
3
3
  import { t as Ze, u as et } from "./useResponsive-NZB-WLRF.js";
4
- import { _ as tt } from "./Title-I5LLf5MT.js";
5
- import { u as lt, U as ot } from "./usePrinter-DthbDD1O.js";
6
- import { _ as at } from "./Tooltip-UuN-HISf.js";
7
- import { D as ut } from "./DataTable-NaCUmiJt.js";
8
- import st from "./vue-ui-skeleton-DyodIkl3.js";
9
- import { S as it } from "./Slicer-BSNY_ZDL.js";
10
- import nt from "./vue-ui-accordion-BblXoBgi.js";
11
- import { u as me } from "./useNestedProp-BS8PvQ5U.js";
4
+ import { _ as tt } from "./Title-ISDbzCH8.js";
5
+ import { u as lt, U as ot } from "./usePrinter-Do8KiK5h.js";
6
+ import { _ as at } from "./Tooltip-BHmMXOej.js";
7
+ import { D as st } from "./DataTable-MkG5Dqrn.js";
8
+ import ut from "./vue-ui-skeleton-Du4zw-c1.js";
9
+ import { S as it } from "./Slicer-CALc-Q4W.js";
10
+ import nt from "./vue-ui-accordion-D2fhyKpk.js";
11
+ import { u as me } from "./useNestedProp-Ck5_RzLu.js";
12
12
  import { _ as rt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
13
  const vt = ["id"], dt = ["xmlns", "viewBox"], yt = { key: 0 }, ct = ["id"], ht = ["stop-color"], pt = ["stop-color"], gt = ["stop-color"], ft = ["id"], bt = ["stop-color"], xt = ["stop-color"], mt = ["stop-color"], kt = { key: 0 }, wt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], $t = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], _t = { key: 1 }, Ct = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Nt = ["x", "y", "font-size", "fill", "font-weight"], St = { key: 2 }, zt = ["transform", "text-anchor", "font-size", "fill", "font-weight"], Tt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], At = { key: 0 }, Ft = ["cx", "cy", "r", "fill"], Lt = ["cx", "cy", "r", "fill"], Rt = { key: 1 }, Vt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], It = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ot = ["x", "y", "height", "width", "fill", "rx"], Bt = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width"], Pt = ["x", "y", "height", "width", "fill", "onMouseover"], Mt = {
14
14
  key: 3,
@@ -30,11 +30,11 @@ const vt = ["id"], dt = ["xmlns", "viewBox"], yt = { key: 0 }, ct = ["id"], ht =
30
30
  }
31
31
  },
32
32
  setup($, { expose: ke }) {
33
- const k = $, { vue_ui_candlestick: we } = Ee(), T = h(() => !!k.dataset && k.dataset.length), m = v(De()), $e = v(null), W = v(!1), G = v(""), X = v(void 0), J = v(0), A = v(null), K = v(null), Q = v(null), Z = v(null), O = v(0), ee = v(0), te = v(0), e = h({
34
- get: () => le(),
33
+ const k = $, { vue_ui_candlestick: we } = Ee(), T = h(() => !!k.dataset && k.dataset.length), m = v(De()), $e = v(null), W = v(!1), G = v(""), X = v(void 0), q = v(0), A = v(null), J = v(null), K = v(null), Q = v(null), O = v(0), Z = v(0), ee = v(0), e = h({
34
+ get: () => te(),
35
35
  set: (t) => t
36
36
  });
37
- function le() {
37
+ function te() {
38
38
  const t = me({
39
39
  userConfig: k.config,
40
40
  defaultConfig: we
@@ -46,9 +46,9 @@ const vt = ["id"], dt = ["xmlns", "viewBox"], yt = { key: 0 }, ct = ["id"], ht =
46
46
  })
47
47
  } : t;
48
48
  }
49
- fe(() => k.config, (t) => {
50
- e.value = le(), oe(), O.value += 1, te.value += 1, ee.value += 1;
51
- }, { deep: !0 }), fe(() => k.dataset, (t) => {
49
+ ge(() => k.config, (t) => {
50
+ e.value = te(), le(), O.value += 1, ee.value += 1, Z.value += 1;
51
+ }, { deep: !0 }), ge(() => k.dataset, (t) => {
52
52
  y.value.start = 0, y.value.end = t.length, O.value += 1;
53
53
  }, { deep: !0 });
54
54
  const d = v({
@@ -58,9 +58,9 @@ const vt = ["id"], dt = ["xmlns", "viewBox"], yt = { key: 0 }, ct = ["id"], ht =
58
58
  yAxisFontSize: e.value.style.layout.grid.yAxis.dataLabels.fontSize
59
59
  }), B = v(null);
60
60
  Ie(() => {
61
- oe();
61
+ le();
62
62
  });
63
- function oe() {
63
+ function le() {
64
64
  if (Ge(k.dataset) && C({
65
65
  componentName: "VueUiCandlestick",
66
66
  type: "dataset"
@@ -68,9 +68,9 @@ const vt = ["id"], dt = ["xmlns", "viewBox"], yt = { key: 0 }, ct = ["id"], ht =
68
68
  const t = Ze(() => {
69
69
  const { width: a, height: l } = et({
70
70
  chart: A.value,
71
- title: e.value.style.title.text ? K.value : null,
72
- slicer: Z.value,
73
- legend: Q.value
71
+ title: e.value.style.title.text ? J.value : null,
72
+ slicer: Q.value,
73
+ legend: K.value
74
74
  });
75
75
  d.value.width = a, d.value.height = l, d.value.xAxisFontSize = xe({
76
76
  relator: Math.min(a, l),
@@ -92,7 +92,7 @@ const vt = ["id"], dt = ["xmlns", "viewBox"], yt = { key: 0 }, ct = ["id"], ht =
92
92
  Oe(() => {
93
93
  B.value && B.value.disconnect();
94
94
  });
95
- const { isPrinting: ae, isImaging: ue, generatePdf: se, generateImage: ie } = lt({
95
+ const { isPrinting: oe, isImaging: ae, generatePdf: se, generateImage: ue } = lt({
96
96
  elementId: `vue-ui-candlestick_${m.value}`,
97
97
  fileName: e.value.style.title.text || "vue-ui-candlestick"
98
98
  }), w = v({
@@ -111,7 +111,7 @@ const vt = ["id"], dt = ["xmlns", "viewBox"], yt = { key: 0 }, ct = ["id"], ht =
111
111
  }), j = h(() => k.dataset.length), y = v({
112
112
  start: 0,
113
113
  end: j.value
114
- }), ne = h(() => k.dataset.slice(y.value.start, y.value.end)), H = h(() => (k.dataset.forEach((t, a) => {
114
+ }), ie = h(() => k.dataset.slice(y.value.start, y.value.end)), H = h(() => (k.dataset.forEach((t, a) => {
115
115
  [null, void 0].includes(t[0]) && C({
116
116
  componentName: "VueUiCandlestick",
117
117
  type: "datasetAttribute",
@@ -143,17 +143,17 @@ const vt = ["id"], dt = ["xmlns", "viewBox"], yt = { key: 0 }, ct = ["id"], ht =
143
143
  property: "volume (index 5)",
144
144
  index: a
145
145
  });
146
- }), ne.value.map((t) => ({
146
+ }), ie.value.map((t) => ({
147
147
  period: t[0],
148
148
  open: t[1],
149
149
  high: t[2],
150
150
  low: t[3],
151
151
  last: t[4],
152
152
  volume: t[5]
153
- })))), r = h(() => i.value.width / ne.value.length), re = h(() => ({
153
+ })))), r = h(() => i.value.width / ie.value.length), ne = h(() => ({
154
154
  max: Math.max(...H.value.map((t) => t.high)),
155
155
  min: 0
156
- })), _ = h(() => Xe(re.value.min, re.value.max, e.value.style.layout.grid.yAxis.dataLabels.steps));
156
+ })), _ = h(() => Xe(ne.value.min, ne.value.max, e.value.style.layout.grid.yAxis.dataLabels.steps));
157
157
  function P(t, a) {
158
158
  return {
159
159
  ...t,
@@ -203,9 +203,9 @@ const vt = ["id"], dt = ["xmlns", "viewBox"], yt = { key: 0 }, ct = ["id"], ht =
203
203
  });
204
204
  else if (e.value.style.tooltip.show) {
205
205
  let o = "";
206
- const { period: f, open: U, high: E, low: ce, last: he, volume: pe, isBullish: ge } = g.value[t], { period: Dt, open: Ae, high: Fe, low: Le, last: Re, volume: Ve } = e.value.translations;
206
+ const { period: f, open: U, high: E, low: ye, last: ce, volume: he, isBullish: pe } = g.value[t], { period: Dt, open: Ae, high: Fe, low: Le, last: Re, volume: Ve } = e.value.translations;
207
207
  o += `<div><svg style="margin-right:6px" viewBox="0 0 12 12" height="12" width="12"><rect x="0" y="0" height="12" width="12" rx="${e.value.style.layout.candle.borderRadius * 3}" stroke="${e.value.style.layout.candle.stroke}" stroke-width="${e.value.style.layout.candle.strokeWidth}"
208
- fill="${e.value.style.layout.candle.gradient.show ? ge ? `url(#bullish_gradient_${m.value})` : `url(#bearish_gradient_${m.value})` : ge ? e.value.style.layout.candle.colors.bullish : e.value.style.layout.candle.colors.bearish}"/></svg>${f}</div>`, o += `${Ve} : <b>${isNaN(pe) ? "-" : Number(pe.toFixed(e.value.style.tooltip.roundingValue)).toLocaleString()}</b>`, o += `<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${e.value.style.tooltip.borderColor}">`, o += `<div>${Ae}: <b>${e.value.style.tooltip.prefix} ${isNaN(U.value) ? "-" : Number(U.value.toFixed(e.value.style.tooltip.roundingValue)).toLocaleString()} ${e.value.style.tooltip.suffix}</b></div>`, o += `<div>${Fe}: <b>${e.value.style.tooltip.prefix} ${isNaN(E.value) ? "-" : Number(E.value.toFixed(e.value.style.tooltip.roundingValue)).toLocaleString()} ${e.value.style.tooltip.suffix}</b></div>`, o += `<div>${Le}: <b>${e.value.style.tooltip.prefix} ${isNaN(ce.value) ? "-" : Number(ce.value.toFixed(e.value.style.tooltip.roundingValue)).toLocaleString()} ${e.value.style.tooltip.suffix}</b></div>`, o += `<div>${Re}: <b>${e.value.style.tooltip.prefix} ${isNaN(he.value) ? "-" : Number(he.value.toFixed(e.value.style.tooltip.roundingValue)).toLocaleString()} ${e.value.style.tooltip.suffix}</b></div>`, o += "</div>", G.value = `<div style="text-align:right">${o}</div>`;
208
+ fill="${e.value.style.layout.candle.gradient.show ? pe ? `url(#bullish_gradient_${m.value})` : `url(#bearish_gradient_${m.value})` : pe ? e.value.style.layout.candle.colors.bullish : e.value.style.layout.candle.colors.bearish}"/></svg>${f}</div>`, o += `${Ve} : <b>${isNaN(he) ? "-" : Number(he.toFixed(e.value.style.tooltip.roundingValue)).toLocaleString()}</b>`, o += `<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${e.value.style.tooltip.borderColor}">`, o += `<div>${Ae}: <b>${e.value.style.tooltip.prefix} ${isNaN(U.value) ? "-" : Number(U.value.toFixed(e.value.style.tooltip.roundingValue)).toLocaleString()} ${e.value.style.tooltip.suffix}</b></div>`, o += `<div>${Fe}: <b>${e.value.style.tooltip.prefix} ${isNaN(E.value) ? "-" : Number(E.value.toFixed(e.value.style.tooltip.roundingValue)).toLocaleString()} ${e.value.style.tooltip.suffix}</b></div>`, o += `<div>${Le}: <b>${e.value.style.tooltip.prefix} ${isNaN(ye.value) ? "-" : Number(ye.value.toFixed(e.value.style.tooltip.roundingValue)).toLocaleString()} ${e.value.style.tooltip.suffix}</b></div>`, o += `<div>${Re}: <b>${e.value.style.tooltip.prefix} ${isNaN(ce.value) ? "-" : Number(ce.value.toFixed(e.value.style.tooltip.roundingValue)).toLocaleString()} ${e.value.style.tooltip.suffix}</b></div>`, o += "</div>", G.value = `<div style="text-align:right">${o}</div>`;
209
209
  }
210
210
  W.value = !0;
211
211
  }
@@ -215,7 +215,7 @@ const vt = ["id"], dt = ["xmlns", "viewBox"], yt = { key: 0 }, ct = ["id"], ht =
215
215
  end: j.value
216
216
  }, O.value += 1;
217
217
  }
218
- function ve() {
218
+ function re() {
219
219
  Ue(() => {
220
220
  const t = [e.value.translations.period, e.value.translations.open, e.value.translations.high, e.value.translations.low, e.value.translations.last, e.value.translations.volume], a = g.value.map((f) => [
221
221
  f.period,
@@ -259,35 +259,35 @@ const vt = ["id"], dt = ["xmlns", "viewBox"], yt = { key: 0 }, ct = ["id"], ht =
259
259
  return { head: l, body: t, config: a, colNames: l };
260
260
  }), F = v(!1);
261
261
  function Te(t) {
262
- F.value = t, J.value += 1;
262
+ F.value = t, q.value += 1;
263
263
  }
264
- function de() {
264
+ function ve() {
265
265
  w.value.showTable = !w.value.showTable;
266
266
  }
267
- function ye() {
267
+ function de() {
268
268
  w.value.showTooltip = !w.value.showTooltip;
269
269
  }
270
270
  return ke({
271
271
  generatePdf: se,
272
- generateCsv: ve,
273
- generateImage: ie,
274
- toggleTable: de,
275
- toggleTooltip: ye
276
- }), (t, a) => (u(), s("div", {
272
+ generateCsv: re,
273
+ generateImage: ue,
274
+ toggleTable: ve,
275
+ toggleTooltip: de
276
+ }), (t, a) => (s(), u("div", {
277
277
  ref_key: "candlestickChart",
278
278
  ref: A,
279
- class: be(`vue-ui-candlestick ${F.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
280
- style: q(`position:relative;font-family:${e.value.style.fontFamily}; text-align:center;${e.value.style.title.text ? "" : "padding-top:36px"};background:${e.value.style.backgroundColor}; ${e.value.responsive ? "height: 100%" : ""}`),
279
+ class: fe(`vue-ui-candlestick ${F.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
280
+ style: be(`position:relative;font-family:${e.value.style.fontFamily}; text-align:center;${e.value.style.title.text ? "" : "padding-top:36px"};background:${e.value.style.backgroundColor}; ${e.value.responsive ? "height: 100%" : ""}`),
281
281
  id: `vue-ui-candlestick_${m.value}`
282
282
  }, [
283
- e.value.style.title.text ? (u(), s("div", {
283
+ e.value.style.title.text ? (s(), u("div", {
284
284
  key: 0,
285
285
  ref_key: "chartTitle",
286
- ref: K,
287
- style: q(`width:100%;background:${e.value.style.backgroundColor}`)
286
+ ref: J,
287
+ style: "width:100%;background:transparent"
288
288
  }, [
289
- (u(), N(tt, {
290
- key: `title_${te.value}`,
289
+ (s(), N(tt, {
290
+ key: `title_${ee.value}`,
291
291
  config: {
292
292
  title: {
293
293
  cy: "candlestick-div-title",
@@ -299,15 +299,15 @@ const vt = ["id"], dt = ["xmlns", "viewBox"], yt = { key: 0 }, ct = ["id"], ht =
299
299
  }
300
300
  }
301
301
  }, null, 8, ["config"]))
302
- ], 4)) : c("", !0),
303
- e.value.userOptions.show && T.value ? (u(), N(ot, {
302
+ ], 512)) : c("", !0),
303
+ e.value.userOptions.show && T.value ? (s(), N(ot, {
304
304
  ref_key: "details",
305
305
  ref: $e,
306
- key: `user_options_${J.value}`,
306
+ key: `user_options_${q.value}`,
307
307
  backgroundColor: e.value.style.backgroundColor,
308
308
  color: e.value.style.color,
309
- isImaging: p(ue),
310
- isPrinting: p(ae),
309
+ isImaging: p(ae),
310
+ isPrinting: p(oe),
311
311
  uid: m.value,
312
312
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.tooltip.show,
313
313
  hasPdf: e.value.userOptions.buttons.pdf,
@@ -321,10 +321,10 @@ const vt = ["id"], dt = ["xmlns", "viewBox"], yt = { key: 0 }, ct = ["id"], ht =
321
321
  chartElement: A.value,
322
322
  onToggleFullscreen: Te,
323
323
  onGeneratePdf: p(se),
324
- onGenerateCsv: ve,
325
- onGenerateImage: p(ie),
326
- onToggleTable: de,
327
- onToggleTooltip: ye
324
+ onGenerateCsv: re,
325
+ onGenerateImage: p(ue),
326
+ onToggleTable: ve,
327
+ onToggleTooltip: de
328
328
  }, Be({ _: 2 }, [
329
329
  t.$slots.optionTooltip ? {
330
330
  name: "optionTooltip",
@@ -369,14 +369,14 @@ const vt = ["id"], dt = ["xmlns", "viewBox"], yt = { key: 0 }, ct = ["id"], ht =
369
369
  key: "5"
370
370
  } : void 0
371
371
  ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) : c("", !0),
372
- T.value ? (u(), s("svg", {
372
+ T.value ? (s(), u("svg", {
373
373
  key: 2,
374
374
  xmlns: p(je),
375
- class: be({ "vue-data-ui-fullscreen--on": F.value, "vue-data-ui-fulscreen--off": !F.value }),
375
+ class: fe({ "vue-data-ui-fullscreen--on": F.value, "vue-data-ui-fulscreen--off": !F.value }),
376
376
  viewBox: `0 0 ${d.value.width <= 0 ? 10 : d.value.width} ${d.value.height <= 0 ? 10 : d.value.height}`,
377
- style: q(`max-width:100%;overflow:visible;background:${e.value.style.backgroundColor};color:${e.value.style.color}`)
377
+ style: be(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`)
378
378
  }, [
379
- g.value.length > 0 ? (u(), s("g", yt, [
379
+ g.value.length > 0 ? (s(), u("g", yt, [
380
380
  n("defs", null, [
381
381
  n("linearGradient", {
382
382
  id: `bearish_gradient_${m.value}`,
@@ -415,7 +415,7 @@ const vt = ["id"], dt = ["xmlns", "viewBox"], yt = { key: 0 }, ct = ["id"], ht =
415
415
  }, null, 8, mt)
416
416
  ], 8, ft)
417
417
  ]),
418
- e.value.style.layout.grid.show ? (u(), s("g", kt, [
418
+ e.value.style.layout.grid.show ? (s(), u("g", kt, [
419
419
  n("line", {
420
420
  x1: i.value.left,
421
421
  x2: i.value.left,
@@ -435,9 +435,9 @@ const vt = ["id"], dt = ["xmlns", "viewBox"], yt = { key: 0 }, ct = ["id"], ht =
435
435
  "stroke-linecap": "round"
436
436
  }, null, 8, $t)
437
437
  ])) : c("", !0),
438
- e.value.style.layout.grid.yAxis.dataLabels.show ? (u(), s("g", _t, [
439
- (u(!0), s(S, null, z(Ce.value, (l, o) => (u(), s("g", null, [
440
- l.value >= _.value.min && l.value <= _.value.max ? (u(), s("line", {
438
+ e.value.style.layout.grid.yAxis.dataLabels.show ? (s(), u("g", _t, [
439
+ (s(!0), u(S, null, z(Ce.value, (l, o) => (s(), u("g", null, [
440
+ l.value >= _.value.min && l.value <= _.value.max ? (s(), u("line", {
441
441
  key: 0,
442
442
  x1: i.value.left,
443
443
  x2: i.value.left - 5,
@@ -447,7 +447,7 @@ const vt = ["id"], dt = ["xmlns", "viewBox"], yt = { key: 0 }, ct = ["id"], ht =
447
447
  "stroke-width": e.value.style.layout.grid.strokeWidth,
448
448
  "stroke-linecap": "round"
449
449
  }, null, 8, Ct)) : c("", !0),
450
- l.value >= _.value.min && l.value <= _.value.max ? (u(), s("text", {
450
+ l.value >= _.value.min && l.value <= _.value.max ? (s(), u("text", {
451
451
  key: 1,
452
452
  x: i.value.left - 8 + e.value.style.layout.grid.yAxis.dataLabels.offsetX,
453
453
  y: l.y + d.value.yAxisFontSize / 3,
@@ -458,8 +458,8 @@ const vt = ["id"], dt = ["xmlns", "viewBox"], yt = { key: 0 }, ct = ["id"], ht =
458
458
  }, V(e.value.style.layout.grid.yAxis.dataLabels.prefix) + " " + V(p(He)(l.value) ? l.value.toFixed(e.value.style.layout.grid.yAxis.dataLabels.roundingValue) : "") + " " + V(e.value.style.layout.grid.yAxis.dataLabels.suffix), 9, Nt)) : c("", !0)
459
459
  ]))), 256))
460
460
  ])) : c("", !0),
461
- e.value.style.layout.grid.xAxis.dataLabels.show ? (u(), s("g", St, [
462
- (u(!0), s(S, null, z(Ne.value, (l, o) => (u(), s("g", null, [
461
+ e.value.style.layout.grid.xAxis.dataLabels.show ? (s(), u("g", St, [
462
+ (s(!0), u(S, null, z(Ne.value, (l, o) => (s(), u("g", null, [
463
463
  n("text", {
464
464
  transform: `translate(${i.value.left + r.value * o + r.value / 2}, ${i.value.bottom + d.value.xAxisFontSize * 2 + e.value.style.layout.grid.xAxis.dataLabels.offsetY}), rotate(${e.value.style.layout.grid.xAxis.dataLabels.rotation})`,
465
465
  "text-anchor": e.value.style.layout.grid.xAxis.dataLabels.rotation > 0 ? "start" : e.value.style.layout.grid.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
@@ -470,7 +470,7 @@ const vt = ["id"], dt = ["xmlns", "viewBox"], yt = { key: 0 }, ct = ["id"], ht =
470
470
  ]))), 256))
471
471
  ])) : c("", !0),
472
472
  n("g", null, [
473
- (u(!0), s(S, null, z(g.value, (l, o) => (u(), s("g", null, [
473
+ (s(!0), u(S, null, z(g.value, (l, o) => (s(), u("g", null, [
474
474
  n("line", {
475
475
  x1: l.open.x,
476
476
  x2: l.open.x,
@@ -480,7 +480,7 @@ const vt = ["id"], dt = ["xmlns", "viewBox"], yt = { key: 0 }, ct = ["id"], ht =
480
480
  "stroke-width": e.value.style.layout.wick.strokeWidth,
481
481
  "stroke-linecap": "round"
482
482
  }, null, 8, Tt),
483
- e.value.style.layout.wick.extremity.shape === "circle" ? (u(), s("g", At, [
483
+ e.value.style.layout.wick.extremity.shape === "circle" ? (s(), u("g", At, [
484
484
  n("circle", {
485
485
  cx: l.high.x,
486
486
  cy: l.high.y,
@@ -494,7 +494,7 @@ const vt = ["id"], dt = ["xmlns", "viewBox"], yt = { key: 0 }, ct = ["id"], ht =
494
494
  fill: e.value.style.layout.wick.extremity.color
495
495
  }, null, 8, Lt)
496
496
  ])) : c("", !0),
497
- e.value.style.layout.wick.extremity.shape === "line" ? (u(), s("g", Rt, [
497
+ e.value.style.layout.wick.extremity.shape === "line" ? (s(), u("g", Rt, [
498
498
  n("line", {
499
499
  x1: l.high.x - (e.value.style.layout.wick.extremity.size === "auto" ? r.value * e.value.style.layout.candle.widthRatio : e.value.style.layout.wick.extremity.size) / 2,
500
500
  x2: l.high.x + (e.value.style.layout.wick.extremity.size === "auto" ? r.value * e.value.style.layout.candle.widthRatio : e.value.style.layout.wick.extremity.size) / 2,
@@ -517,7 +517,7 @@ const vt = ["id"], dt = ["xmlns", "viewBox"], yt = { key: 0 }, ct = ["id"], ht =
517
517
  ]))), 256))
518
518
  ]),
519
519
  n("g", null, [
520
- (u(!0), s(S, null, z(g.value, (l, o) => (u(), s("rect", {
520
+ (s(!0), u(S, null, z(g.value, (l, o) => (s(), u("rect", {
521
521
  x: l.open.x - r.value / 2 + r.value * (1 - e.value.style.layout.candle.widthRatio) / 2,
522
522
  y: l.isBullish ? l.last.y : l.open.y,
523
523
  height: Math.abs(l.last.y - l.open.y) <= 0 ? 1e-4 : Math.abs(l.last.y - l.open.y),
@@ -526,7 +526,7 @@ const vt = ["id"], dt = ["xmlns", "viewBox"], yt = { key: 0 }, ct = ["id"], ht =
526
526
  rx: e.value.style.layout.candle.borderRadius,
527
527
  stroke: "none"
528
528
  }, null, 8, Ot))), 256)),
529
- (u(!0), s(S, null, z(g.value, (l, o) => (u(), s("rect", {
529
+ (s(!0), u(S, null, z(g.value, (l, o) => (s(), u("rect", {
530
530
  x: l.open.x - r.value / 2 + r.value * (1 - e.value.style.layout.candle.widthRatio) / 2,
531
531
  y: l.isBullish ? l.last.y : l.open.y,
532
532
  height: Math.abs(l.last.y - l.open.y) <= 0 ? 1e-4 : Math.abs(l.last.y - l.open.y),
@@ -540,7 +540,7 @@ const vt = ["id"], dt = ["xmlns", "viewBox"], yt = { key: 0 }, ct = ["id"], ht =
540
540
  }, null, 8, Bt))), 256))
541
541
  ]),
542
542
  n("g", null, [
543
- (u(!0), s(S, null, z(g.value, (l, o) => (u(), s("rect", {
543
+ (s(!0), u(S, null, z(g.value, (l, o) => (s(), u("rect", {
544
544
  x: i.value.left + o * r.value,
545
545
  y: i.value.top,
546
546
  height: i.value.height <= 0 ? 1e-4 : i.value.height,
@@ -555,10 +555,10 @@ const vt = ["id"], dt = ["xmlns", "viewBox"], yt = { key: 0 }, ct = ["id"], ht =
555
555
  ])) : c("", !0),
556
556
  x(t.$slots, "svg", { svg: d.value }, void 0, !0)
557
557
  ], 14, dt)) : c("", !0),
558
- t.$slots.watermark ? (u(), s("div", Mt, [
559
- x(t.$slots, "watermark", L(R({ isPrinting: p(ae) || p(ue) })), void 0, !0)
558
+ t.$slots.watermark ? (s(), u("div", Mt, [
559
+ x(t.$slots, "watermark", L(R({ isPrinting: p(oe) || p(ae) })), void 0, !0)
560
560
  ])) : c("", !0),
561
- T.value ? c("", !0) : (u(), N(st, {
561
+ T.value ? c("", !0) : (s(), N(ut, {
562
562
  key: 4,
563
563
  config: {
564
564
  type: "candlesticks",
@@ -575,12 +575,12 @@ const vt = ["id"], dt = ["xmlns", "viewBox"], yt = { key: 0 }, ct = ["id"], ht =
575
575
  }
576
576
  }
577
577
  }, null, 8, ["config"])),
578
- e.value.style.zoom.show && T.value ? (u(), s("div", {
578
+ e.value.style.zoom.show && T.value ? (s(), u("div", {
579
579
  key: 5,
580
580
  ref_key: "chartSlicer",
581
- ref: Z
581
+ ref: Q
582
582
  }, [
583
- (u(), N(it, {
583
+ (s(), N(it, {
584
584
  key: `slicer_${O.value}`,
585
585
  background: e.value.style.zoom.color,
586
586
  borderColor: e.value.style.backgroundColor,
@@ -609,7 +609,7 @@ const vt = ["id"], dt = ["xmlns", "viewBox"], yt = { key: 0 }, ct = ["id"], ht =
609
609
  ], 512)) : c("", !0),
610
610
  n("div", {
611
611
  ref_key: "chartLegend",
612
- ref: Q
612
+ ref: K
613
613
  }, [
614
614
  x(t.$slots, "legend", { legend: g.value }, void 0, !0)
615
615
  ], 512),
@@ -636,7 +636,7 @@ const vt = ["id"], dt = ["xmlns", "viewBox"], yt = { key: 0 }, ct = ["id"], ht =
636
636
  ]),
637
637
  _: 3
638
638
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
639
- T.value ? (u(), N(nt, {
639
+ T.value ? (s(), N(nt, {
640
640
  key: 6,
641
641
  hideDetails: "",
642
642
  config: {
@@ -653,8 +653,8 @@ const vt = ["id"], dt = ["xmlns", "viewBox"], yt = { key: 0 }, ct = ["id"], ht =
653
653
  }
654
654
  }, {
655
655
  content: b(() => [
656
- (u(), N(ut, {
657
- key: `table_${ee.value}`,
656
+ (s(), N(st, {
657
+ key: `table_${Z.value}`,
658
658
  colNames: M.value.colNames,
659
659
  head: M.value.head,
660
660
  body: M.value.body,
@@ -675,7 +675,7 @@ const vt = ["id"], dt = ["xmlns", "viewBox"], yt = { key: 0 }, ct = ["id"], ht =
675
675
  }, 8, ["config"])) : c("", !0)
676
676
  ], 14, vt));
677
677
  }
678
- }, tl = /* @__PURE__ */ rt(Et, [["__scopeId", "data-v-b23b9d6f"]]);
678
+ }, tl = /* @__PURE__ */ rt(Et, [["__scopeId", "data-v-c83072be"]]);
679
679
  export {
680
680
  tl as default
681
681
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),u=require("./index-CuTsdJDI.cjs"),ae=require("./useNestedProp-CAjEiadB.cjs"),j=require("./usePrinter-D47Cl-_I.cjs"),ne=require("./vue-ui-skeleton-BR_pp7QN.cjs"),le=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),re=["id"],ie=["height"],ue=["data-cell","height"],se={__name:"vue-ui-carousel-table",props:{config:{type:Object,default(){return{}}},dataset:{type:Object,default(){return{}}}},setup(p,{expose:X}){const l=p,{vue_ui_carousel_table:_}=u.useConfig(),A=e.ref(u.createUid()),I=e.ref(!1),g=e.ref(!!l.dataset);e.onMounted(()=>{P()});function P(){u.objectIsEmpty(l.dataset)?u.error({componentName:"VueUiCarouselTable",type:"dataset"}):((!l.dataset.head||u.objectIsEmpty(l.dataset.head))&&(u.error({componentName:"VueUiCarouselTable",type:"datasetAttribute",property:"head"}),g.value=!1),(!l.dataset.body||u.objectIsEmpty(l.dataset.body))&&(u.error({componentName:"VueUiCarouselTable",type:"datasetAttribute",property:"body"}),g.value=!1))}const t=e.computed({get:()=>F(),set:o=>o});function F(){return ae.useNestedProp({userConfig:l.config,defaultConfig:_})}e.watch(()=>l.config,o=>{t.value=F(),P()},{deep:!0}),e.watch(()=>l.dataset,o=>{S()},{deep:!0});const{isPrinting:N,isImaging:O,generatePdf:J,generateImage:R}=j.usePrinter({elementId:`carousel-table_${A.value}`,fileName:t.value.caption.text||"vue-ui-carousel-table"}),s=e.ref({showAnimation:t.value.animation.use}),i=e.ref(null),V=e.ref(null),b=e.ref(null),y=e.ref(null),C=e.ref(0),B=e.ref(0),$=e.ref(!1),k=e.ref(null),c=e.ref(null),T=e.ref(0);function S(){k.value&&(c.value={elements:k.value.getElementsByTagName("tr"),heights:Array.from(k.value.getElementsByTagName("tr")).map(o=>o.getBoundingClientRect().height)})}e.onMounted(S);const K=e.computed(()=>!c.value||!c.value.heights.length?0:Math.max(...c.value.heights)+C.value+B.value),Q=e.computed(()=>l.dataset.body?t.value.tbody.tr.visible<=l.dataset.body.length?t.value.tbody.tr.visible:l.dataset.body.length:0),W=e.computed(()=>(t.value.tbody.tr.height+t.value.tbody.tr.td.padding.top+t.value.tbody.tr.td.padding.bottom+t.value.tbody.tr.border.size*2)*Q.value+C.value+B.value),w=e.ref(0),x=e.ref(null),f=e.ref(0),m=e.ref(!1),L=e.ref(0);e.onMounted(()=>{b.value&&(C.value=b.value.getBoundingClientRect().height),y.value&&(B.value=y.value.getBoundingClientRect().height),s.value.showAnimation&&c.value&&M()}),e.onMounted(()=>{if(i.value){let a=function(){const r=o.getBoundingClientRect().bottom;n.forEach(d=>{d.getBoundingClientRect().top<r?d.style.visibility="hidden":d.style.visibility="visible"})};const o=i.value.querySelector("thead"),n=Array.from(k.value.querySelectorAll("tr"));i.value.addEventListener("scroll",a),a(),e.onBeforeUnmount(()=>{i.value.removeEventListener("scroll",a)})}});function Y(o){I.value=o,L.value+=1}function M(){!x.value&&!m.value&&(x.value=requestAnimationFrame(q))}function Z(){if(!i.value)return!1;const{scrollTop:o,scrollHeight:n,clientHeight:a}=i.value;return o+a>=n}function q(o){if(m.value)return;f.value||(f.value=o),o-f.value>=t.value.animation.speedMs&&(w.value+=c.value.heights[T.value],(Z()||T.value>=c.value.heights.length)&&(w.value=0,T.value=-1),T.value+=1,i.value&&i.value.scrollTo({top:w.value,behavior:"smooth"}),f.value=o),x.value=requestAnimationFrame(q)}function v(){m.value=!0,cancelAnimationFrame(x.value),x.value=null}e.onBeforeUnmount(v);function h(){!m.value||!s.value.showAnimation||(m.value=!1,f.value=0,M())}function ee(){t.value.animation.pauseOnHover&&v()}const E=e.ref(null);function te(){v(),clearTimeout(E.value)}function H(){clearTimeout(E.value),E.value=setTimeout(h,1e3)}e.watch(()=>t.value.animation.use,o=>{o?(s.value.showAnimation=!0,h()):(s.value.showAnimation=!1,v())});const oe=e.computed(()=>t.value.responsiveBreakpoint);e.onMounted(()=>{const o=new ResizeObserver(n=>{n.forEach(a=>{$.value=a.contentRect.width<oe.value}),C.value=b.value?b.value.getBoundingClientRect().height:0,B.value=y.value?y.value.getBoundingClientRect().height:0,T.value=0,e.nextTick(()=>{v(),f.value=0,w.value=0,S(),h()})});i.value&&o.observe(i.value)});function U(){J()}function D(){s.value.showAnimation=!s.value.showAnimation,s.value.showAnimation?h():v()}function G(){e.nextTick(()=>{const o=l.dataset.head.map((r,d)=>[[l.dataset.body[d]]]),n=[[t.value.caption.text],[l.dataset.head.map(r=>[r])]].concat(o),a=u.createCsvContent(n);u.downloadCsv({csvContent:a,title:t.value.caption.text||"vue-ui-carousel-table"})})}return X({pauseAnimation:v,resumeAnimation:h,toggleAnimation:D,generateCsv:G,generatePdf:U,generateImage:R}),(o,n)=>(e.openBlock(),e.createElementBlock("div",{style:{position:"relative",overflow:"visible"},ref_key:"chartContainer",ref:V},[e.createElementVNode("div",{ref_key:"tableContainer",ref:i,id:`carousel-table_${A.value}`,style:e.normalizeStyle({height:e.unref(N)||e.unref(O)?"auto":`${Math.max(W.value,K.value)}px`,containerType:"inline-size",position:"relative",overflow:"auto",fontFamily:t.value.fontFamily}),class:e.normalizeClass({"vue-ui-responsive":$.value,"is-playing":!m.value}),onMouseenter:n[0]||(n[0]=a=>ee()),onMouseleave:n[1]||(n[1]=a=>h()),onTouchstart:n[2]||(n[2]=a=>te()),onTouchend:n[3]||(n[3]=a=>H()),onTouchcancel:n[4]||(n[4]=a=>H())},[g.value?(e.openBlock(),e.createElementBlock("table",{key:0,class:"vue-data-ui-carousel-table",style:e.normalizeStyle({...t.value.style,border:`${t.value.border.size}px solid ${t.value.border.color}`,width:"100%",borderCollapse:"collapse"})},[e.createElementVNode("caption",{ref_key:"caption",ref:b,class:"vue-data-ui-carousel-table-caption",style:e.normalizeStyle({...t.value.caption.style,fontFamily:"inherit",position:"sticky",top:0,zIndex:2,paddingTop:t.value.caption.padding.top+"px",paddingRight:t.value.caption.padding.right+"px",paddingBottom:t.value.caption.padding.bottom+"px",paddingLeft:t.value.caption.padding.left+"px",boxShadow:$.value?t.value.thead.tr.style.boxShadow:"none",minHeight:"36px"})},[e.createTextVNode(e.toDisplayString(t.value.caption.text&&!o.$slots.caption?t.value.caption.text:"")+" ",1),e.renderSlot(o.$slots,"caption",{},void 0,!0)],4),e.createElementVNode("thead",{style:e.normalizeStyle({...t.value.thead.style,position:"sticky",top:`${C.value}px`,zIndex:1})},[e.createElementVNode("tr",{ref_key:"tableRow",ref:y,role:"row",style:e.normalizeStyle({...t.value.thead.tr.style,border:t.value.thead.tr.border.size?`${t.value.thead.tr.border.size}px solid ${t.value.thead.tr.border.color}`:"none",boxShadow:$.value?"none":t.value.thead.tr.style.boxShadow}),height:`${t.value.thead.tr.height}px`},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(p.dataset.head,(a,r)=>(e.openBlock(),e.createElementBlock("th",{role:"cell",key:`th_${r}`,style:e.normalizeStyle({...t.value.thead.tr.th.style,border:t.value.thead.tr.th.border.size?`${t.value.thead.tr.th.border.size}px solid ${t.value.thead.tr.th.border.color}`:"none",paddingTop:t.value.thead.tr.th.padding.top+"px",paddingRight:t.value.thead.tr.th.padding.right+"px",paddingBottom:t.value.thead.tr.th.padding.bottom+"px",paddingLeft:t.value.thead.tr.th.padding.left+"px"})},[e.createTextVNode(e.toDisplayString(o.$slots.th?"":a)+" ",1),e.renderSlot(o.$slots,"th",e.normalizeProps(e.guardReactiveProps({th:a,colIndex:r})),void 0,!0)],4))),128))],12,ie)],4),p.dataset.body&&p.dataset.head?(e.openBlock(),e.createElementBlock("tbody",{key:0,ref_key:"tbody",ref:k,style:e.normalizeStyle({clipPath:"inset(0,0,0,0)"})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(p.dataset.body,(a,r)=>(e.openBlock(),e.createElementBlock("tr",{style:e.normalizeStyle({...t.value.tbody.tr.style,border:`${t.value.tbody.tr.border.size}px solid ${t.value.tbody.tr.border.color}`,verticalAlign:"middle"})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a,(d,z)=>(e.openBlock(),e.createElementBlock("td",{role:"cell","data-cell":p.dataset.head[z]||"",style:e.normalizeStyle({...t.value.tbody.tr.td.style,border:`${t.value.tbody.tr.td.border.size}px solid ${t.value.tbody.tr.td.border.color}`,backgroundColor:e.unref(u.setOpacity)(t.value.tbody.tr.td.style.backgroundColor,r%2===0&&t.value.tbody.tr.td.alternateColor?t.value.tbody.tr.td.alternateOpacity*100:100),paddingTop:t.value.tbody.tr.td.padding.top+"px",paddingRight:t.value.tbody.tr.td.padding.right+"px",paddingBottom:t.value.tbody.tr.td.padding.bottom+"px",paddingLeft:t.value.tbody.tr.td.padding.left+"px",verticalAlign:"middle"}),height:`${t.value.tbody.tr.height}px`},[e.createTextVNode(e.toDisplayString(o.$slots.td?"":d)+" ",1),e.renderSlot(o.$slots,"td",e.normalizeProps(e.guardReactiveProps({td:d,rowIndex:r,colIndex:z})),void 0,!0)],12,ue))),256))],4))),256))],4)):e.createCommentVNode("",!0)],4)):e.createCommentVNode("",!0)],46,re),g.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(ne.default,{key:0,config:{type:"table"}})),t.value.userOptions.show&&g.value?(e.openBlock(),e.createBlock(j.UserOptions,{ref:"details",key:`user_option_${L.value}`,backgroundColor:t.value.style.backgroundColor,color:t.value.style.color,isPrinting:e.unref(N),isImaging:e.unref(O),uid:A.value,hasTooltip:!1,hasPdf:t.value.userOptions.buttons.pdf,hasImg:t.value.userOptions.buttons.img,hasXls:t.value.userOptions.buttons.csv,hasTable:!1,hasLabel:!1,hasAnimation:t.value.userOptions.buttons.animation,isAnimation:!s.value.showAnimation,hasFullscreen:t.value.userOptions.buttons.fullscreen,isFullscreen:I.value,chartElement:V.value,titles:{...t.value.userOptions.buttonTitles},zIndex:3,noOffset:"",onGeneratePdf:U,onGenerateCsv:G,onGenerateImage:e.unref(R),onToggleAnimation:D,onToggleFullscreen:Y},e.createSlots({_:2},[o.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionPdf",{},void 0,!0)]),key:"0"}:void 0,o.$slots.optionCsv?{name:"optionCsv",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionCsv",{},void 0,!0)]),key:"1"}:void 0,o.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionImg",{},void 0,!0)]),key:"2"}:void 0,o.$slots.optionAnimation?{name:"optionAnimation",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionAnimation",{},void 0,!0)]),key:"3"}:void 0,o.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:a,isFullscreen:r})=>[e.renderSlot(o.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:a,isFullscreen:r})),void 0,!0)]),key:"4"}:void 0]),1032,["backgroundColor","color","isPrinting","isImaging","uid","hasPdf","hasImg","hasXls","hasAnimation","isAnimation","hasFullscreen","isFullscreen","chartElement","titles","onGenerateImage"])):e.createCommentVNode("",!0)],512))}},de=le._export_sfc(se,[["__scopeId","data-v-4dad7e0c"]]);exports.default=de;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),u=require("./index-D-vy9N1v.cjs"),ae=require("./useNestedProp-B9yDavuy.cjs"),j=require("./usePrinter-P4nLcXX-.cjs"),ne=require("./vue-ui-skeleton-DJhwv2oY.cjs"),le=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),re=["id"],ie=["height"],ue=["data-cell","height"],se={__name:"vue-ui-carousel-table",props:{config:{type:Object,default(){return{}}},dataset:{type:Object,default(){return{}}}},setup(p,{expose:X}){const l=p,{vue_ui_carousel_table:_}=u.useConfig(),A=e.ref(u.createUid()),I=e.ref(!1),g=e.ref(!!l.dataset);e.onMounted(()=>{P()});function P(){u.objectIsEmpty(l.dataset)?u.error({componentName:"VueUiCarouselTable",type:"dataset"}):((!l.dataset.head||u.objectIsEmpty(l.dataset.head))&&(u.error({componentName:"VueUiCarouselTable",type:"datasetAttribute",property:"head"}),g.value=!1),(!l.dataset.body||u.objectIsEmpty(l.dataset.body))&&(u.error({componentName:"VueUiCarouselTable",type:"datasetAttribute",property:"body"}),g.value=!1))}const t=e.computed({get:()=>F(),set:o=>o});function F(){return ae.useNestedProp({userConfig:l.config,defaultConfig:_})}e.watch(()=>l.config,o=>{t.value=F(),P()},{deep:!0}),e.watch(()=>l.dataset,o=>{S()},{deep:!0});const{isPrinting:N,isImaging:O,generatePdf:J,generateImage:R}=j.usePrinter({elementId:`carousel-table_${A.value}`,fileName:t.value.caption.text||"vue-ui-carousel-table"}),s=e.ref({showAnimation:t.value.animation.use}),i=e.ref(null),V=e.ref(null),b=e.ref(null),y=e.ref(null),C=e.ref(0),B=e.ref(0),$=e.ref(!1),k=e.ref(null),c=e.ref(null),T=e.ref(0);function S(){k.value&&(c.value={elements:k.value.getElementsByTagName("tr"),heights:Array.from(k.value.getElementsByTagName("tr")).map(o=>o.getBoundingClientRect().height)})}e.onMounted(S);const K=e.computed(()=>!c.value||!c.value.heights.length?0:Math.max(...c.value.heights)+C.value+B.value),Q=e.computed(()=>l.dataset.body?t.value.tbody.tr.visible<=l.dataset.body.length?t.value.tbody.tr.visible:l.dataset.body.length:0),W=e.computed(()=>(t.value.tbody.tr.height+t.value.tbody.tr.td.padding.top+t.value.tbody.tr.td.padding.bottom+t.value.tbody.tr.border.size*2)*Q.value+C.value+B.value),w=e.ref(0),x=e.ref(null),f=e.ref(0),m=e.ref(!1),L=e.ref(0);e.onMounted(()=>{b.value&&(C.value=b.value.getBoundingClientRect().height),y.value&&(B.value=y.value.getBoundingClientRect().height),s.value.showAnimation&&c.value&&M()}),e.onMounted(()=>{if(i.value){let a=function(){const r=o.getBoundingClientRect().bottom;n.forEach(d=>{d.getBoundingClientRect().top<r?d.style.visibility="hidden":d.style.visibility="visible"})};const o=i.value.querySelector("thead"),n=Array.from(k.value.querySelectorAll("tr"));i.value.addEventListener("scroll",a),a(),e.onBeforeUnmount(()=>{i.value.removeEventListener("scroll",a)})}});function Y(o){I.value=o,L.value+=1}function M(){!x.value&&!m.value&&(x.value=requestAnimationFrame(q))}function Z(){if(!i.value)return!1;const{scrollTop:o,scrollHeight:n,clientHeight:a}=i.value;return o+a>=n}function q(o){if(m.value)return;f.value||(f.value=o),o-f.value>=t.value.animation.speedMs&&(w.value+=c.value.heights[T.value],(Z()||T.value>=c.value.heights.length)&&(w.value=0,T.value=-1),T.value+=1,i.value&&i.value.scrollTo({top:w.value,behavior:"smooth"}),f.value=o),x.value=requestAnimationFrame(q)}function v(){m.value=!0,cancelAnimationFrame(x.value),x.value=null}e.onBeforeUnmount(v);function h(){!m.value||!s.value.showAnimation||(m.value=!1,f.value=0,M())}function ee(){t.value.animation.pauseOnHover&&v()}const E=e.ref(null);function te(){v(),clearTimeout(E.value)}function H(){clearTimeout(E.value),E.value=setTimeout(h,1e3)}e.watch(()=>t.value.animation.use,o=>{o?(s.value.showAnimation=!0,h()):(s.value.showAnimation=!1,v())});const oe=e.computed(()=>t.value.responsiveBreakpoint);e.onMounted(()=>{const o=new ResizeObserver(n=>{n.forEach(a=>{$.value=a.contentRect.width<oe.value}),C.value=b.value?b.value.getBoundingClientRect().height:0,B.value=y.value?y.value.getBoundingClientRect().height:0,T.value=0,e.nextTick(()=>{v(),f.value=0,w.value=0,S(),h()})});i.value&&o.observe(i.value)});function U(){J()}function D(){s.value.showAnimation=!s.value.showAnimation,s.value.showAnimation?h():v()}function G(){e.nextTick(()=>{const o=l.dataset.head.map((r,d)=>[[l.dataset.body[d]]]),n=[[t.value.caption.text],[l.dataset.head.map(r=>[r])]].concat(o),a=u.createCsvContent(n);u.downloadCsv({csvContent:a,title:t.value.caption.text||"vue-ui-carousel-table"})})}return X({pauseAnimation:v,resumeAnimation:h,toggleAnimation:D,generateCsv:G,generatePdf:U,generateImage:R}),(o,n)=>(e.openBlock(),e.createElementBlock("div",{style:{position:"relative",overflow:"visible"},ref_key:"chartContainer",ref:V},[e.createElementVNode("div",{ref_key:"tableContainer",ref:i,id:`carousel-table_${A.value}`,style:e.normalizeStyle({height:e.unref(N)||e.unref(O)?"auto":`${Math.max(W.value,K.value)}px`,containerType:"inline-size",position:"relative",overflow:"auto",fontFamily:t.value.fontFamily}),class:e.normalizeClass({"vue-ui-responsive":$.value,"is-playing":!m.value}),onMouseenter:n[0]||(n[0]=a=>ee()),onMouseleave:n[1]||(n[1]=a=>h()),onTouchstart:n[2]||(n[2]=a=>te()),onTouchend:n[3]||(n[3]=a=>H()),onTouchcancel:n[4]||(n[4]=a=>H())},[g.value?(e.openBlock(),e.createElementBlock("table",{key:0,class:"vue-data-ui-carousel-table",style:e.normalizeStyle({...t.value.style,border:`${t.value.border.size}px solid ${t.value.border.color}`,width:"100%",borderCollapse:"collapse"})},[e.createElementVNode("caption",{ref_key:"caption",ref:b,class:"vue-data-ui-carousel-table-caption",style:e.normalizeStyle({...t.value.caption.style,fontFamily:"inherit",position:"sticky",top:0,zIndex:2,paddingTop:t.value.caption.padding.top+"px",paddingRight:t.value.caption.padding.right+"px",paddingBottom:t.value.caption.padding.bottom+"px",paddingLeft:t.value.caption.padding.left+"px",boxShadow:$.value?t.value.thead.tr.style.boxShadow:"none",minHeight:"36px"})},[e.createTextVNode(e.toDisplayString(t.value.caption.text&&!o.$slots.caption?t.value.caption.text:"")+" ",1),e.renderSlot(o.$slots,"caption",{},void 0,!0)],4),e.createElementVNode("thead",{style:e.normalizeStyle({...t.value.thead.style,position:"sticky",top:`${C.value}px`,zIndex:1})},[e.createElementVNode("tr",{ref_key:"tableRow",ref:y,role:"row",style:e.normalizeStyle({...t.value.thead.tr.style,border:t.value.thead.tr.border.size?`${t.value.thead.tr.border.size}px solid ${t.value.thead.tr.border.color}`:"none",boxShadow:$.value?"none":t.value.thead.tr.style.boxShadow}),height:`${t.value.thead.tr.height}px`},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(p.dataset.head,(a,r)=>(e.openBlock(),e.createElementBlock("th",{role:"cell",key:`th_${r}`,style:e.normalizeStyle({...t.value.thead.tr.th.style,border:t.value.thead.tr.th.border.size?`${t.value.thead.tr.th.border.size}px solid ${t.value.thead.tr.th.border.color}`:"none",paddingTop:t.value.thead.tr.th.padding.top+"px",paddingRight:t.value.thead.tr.th.padding.right+"px",paddingBottom:t.value.thead.tr.th.padding.bottom+"px",paddingLeft:t.value.thead.tr.th.padding.left+"px"})},[e.createTextVNode(e.toDisplayString(o.$slots.th?"":a)+" ",1),e.renderSlot(o.$slots,"th",e.normalizeProps(e.guardReactiveProps({th:a,colIndex:r})),void 0,!0)],4))),128))],12,ie)],4),p.dataset.body&&p.dataset.head?(e.openBlock(),e.createElementBlock("tbody",{key:0,ref_key:"tbody",ref:k,style:e.normalizeStyle({clipPath:"inset(0,0,0,0)"})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(p.dataset.body,(a,r)=>(e.openBlock(),e.createElementBlock("tr",{style:e.normalizeStyle({...t.value.tbody.tr.style,border:`${t.value.tbody.tr.border.size}px solid ${t.value.tbody.tr.border.color}`,verticalAlign:"middle"})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a,(d,z)=>(e.openBlock(),e.createElementBlock("td",{role:"cell","data-cell":p.dataset.head[z]||"",style:e.normalizeStyle({...t.value.tbody.tr.td.style,border:`${t.value.tbody.tr.td.border.size}px solid ${t.value.tbody.tr.td.border.color}`,backgroundColor:e.unref(u.setOpacity)(t.value.tbody.tr.td.style.backgroundColor,r%2===0&&t.value.tbody.tr.td.alternateColor?t.value.tbody.tr.td.alternateOpacity*100:100),paddingTop:t.value.tbody.tr.td.padding.top+"px",paddingRight:t.value.tbody.tr.td.padding.right+"px",paddingBottom:t.value.tbody.tr.td.padding.bottom+"px",paddingLeft:t.value.tbody.tr.td.padding.left+"px",verticalAlign:"middle"}),height:`${t.value.tbody.tr.height}px`},[e.createTextVNode(e.toDisplayString(o.$slots.td?"":d)+" ",1),e.renderSlot(o.$slots,"td",e.normalizeProps(e.guardReactiveProps({td:d,rowIndex:r,colIndex:z})),void 0,!0)],12,ue))),256))],4))),256))],4)):e.createCommentVNode("",!0)],4)):e.createCommentVNode("",!0)],46,re),g.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(ne.default,{key:0,config:{type:"table"}})),t.value.userOptions.show&&g.value?(e.openBlock(),e.createBlock(j.UserOptions,{ref:"details",key:`user_option_${L.value}`,backgroundColor:t.value.style.backgroundColor,color:t.value.style.color,isPrinting:e.unref(N),isImaging:e.unref(O),uid:A.value,hasTooltip:!1,hasPdf:t.value.userOptions.buttons.pdf,hasImg:t.value.userOptions.buttons.img,hasXls:t.value.userOptions.buttons.csv,hasTable:!1,hasLabel:!1,hasAnimation:t.value.userOptions.buttons.animation,isAnimation:!s.value.showAnimation,hasFullscreen:t.value.userOptions.buttons.fullscreen,isFullscreen:I.value,chartElement:V.value,titles:{...t.value.userOptions.buttonTitles},zIndex:3,noOffset:"",onGeneratePdf:U,onGenerateCsv:G,onGenerateImage:e.unref(R),onToggleAnimation:D,onToggleFullscreen:Y},e.createSlots({_:2},[o.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionPdf",{},void 0,!0)]),key:"0"}:void 0,o.$slots.optionCsv?{name:"optionCsv",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionCsv",{},void 0,!0)]),key:"1"}:void 0,o.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionImg",{},void 0,!0)]),key:"2"}:void 0,o.$slots.optionAnimation?{name:"optionAnimation",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionAnimation",{},void 0,!0)]),key:"3"}:void 0,o.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:a,isFullscreen:r})=>[e.renderSlot(o.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:a,isFullscreen:r})),void 0,!0)]),key:"4"}:void 0]),1032,["backgroundColor","color","isPrinting","isImaging","uid","hasPdf","hasImg","hasXls","hasAnimation","isAnimation","hasFullscreen","isFullscreen","chartElement","titles","onGenerateImage"])):e.createCommentVNode("",!0)],512))}},de=le._export_sfc(se,[["__scopeId","data-v-4dad7e0c"]]);exports.default=de;
@@ -1,8 +1,8 @@
1
1
  import { ref as o, onMounted as F, computed as B, watch as V, onBeforeUnmount as re, nextTick as de, openBlock as u, createElementBlock as r, createElementVNode as E, normalizeStyle as d, unref as C, normalizeClass as Ae, createTextVNode as G, toDisplayString as M, renderSlot as p, Fragment as q, renderList as D, normalizeProps as X, guardReactiveProps as j, createCommentVNode as N, createBlock as ve, createSlots as xe, withCtx as O } from "vue";
2
- import { u as ke, c as we, o as J, e as K, s as Ie, q as Fe, r as Be } from "./index-B6bGaBzE.js";
3
- import { u as Oe } from "./useNestedProp-BS8PvQ5U.js";
4
- import { u as Pe, U as Re } from "./usePrinter-DthbDD1O.js";
5
- import ze from "./vue-ui-skeleton-DyodIkl3.js";
2
+ import { u as ke, c as we, o as J, e as K, s as Ie, q as Fe, r as Be } from "./index-BiuHBtkZ.js";
3
+ import { u as Oe } from "./useNestedProp-Ck5_RzLu.js";
4
+ import { u as Pe, U as Re } from "./usePrinter-Do8KiK5h.js";
5
+ import ze from "./vue-ui-skeleton-Du4zw-c1.js";
6
6
  import { _ as Ee } from "./_plugin-vue_export-helper-CHgC5LLL.js";
7
7
  const Ne = ["id"], Se = ["height"], He = ["data-cell", "height"], Le = {
8
8
  __name: "vue-ui-carousel-table",