vue-data-ui 2.3.76 → 2.3.77

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 (161) hide show
  1. package/dist/{Arrow-DY9RKUmG.js → Arrow-Dj2zuGLq.js} +1 -1
  2. package/dist/{Arrow-D7M4-bW7.cjs → Arrow-VCEIU9wi.cjs} +1 -1
  3. package/dist/{BaseIcon-DB7Apwv_.cjs → BaseIcon-CP535rdy.cjs} +1 -1
  4. package/dist/{BaseIcon-rwm-10Hu.js → BaseIcon-Cbr8np30.js} +1 -1
  5. package/dist/{DataTable-CsNozyz7.cjs → DataTable-CeHw-cqZ.cjs} +1 -1
  6. package/dist/{DataTable-e2fnfjXV.js → DataTable-OAUXdIYA.js} +2 -2
  7. package/dist/{Legend-5cQ0xZjK.js → Legend-BVByqGqZ.js} +1 -1
  8. package/dist/{Legend-DgFd-O0m.cjs → Legend-DfU44fjz.cjs} +1 -1
  9. package/dist/{Shape-yPECDLiP.cjs → Shape-B6cEKeIN.cjs} +1 -1
  10. package/dist/{Shape-CiTElr_0.js → Shape-Clmb3iTX.js} +1 -1
  11. package/dist/{Slicer-DwBBu3kB.js → Slicer-BlRQsQu0.js} +12 -12
  12. package/dist/{Slicer-DaZgCKV7.cjs → Slicer-Dt9iqvAA.cjs} +1 -1
  13. package/dist/{Title-3EduyW4p.cjs → Title-D9lSjLTg.cjs} +1 -1
  14. package/dist/{Title-gUz6GDA3.js → Title-gvR5aS6q.js} +1 -1
  15. package/dist/{Tooltip-DfSM1mNP.js → Tooltip-BGmkuAK4.js} +23 -23
  16. package/dist/Tooltip-C0PSN8vf.cjs +1 -0
  17. package/dist/{index-CaV1s-yZ.js → index-0KN57HdM.js} +1147 -1145
  18. package/dist/index-TabZg_HV.cjs +4 -0
  19. package/dist/style.css +1 -1
  20. package/dist/{useNestedProp-CisbRRo_.cjs → useNestedProp-CoLyVvV9.cjs} +1 -1
  21. package/dist/{useNestedProp-tWCzZrLx.js → useNestedProp-NeGalTYk.js} +1 -1
  22. package/dist/{usePrinter-DzTaA1eh.cjs → usePrinter--7sLxlpn.cjs} +1 -1
  23. package/dist/{usePrinter-rvJyT65A.js → usePrinter-BvKYEc1z.js} +1 -1
  24. package/dist/{vue-data-ui-BGkWRPUY.cjs → vue-data-ui-CNZP_Hk4.cjs} +1 -1
  25. package/dist/{vue-data-ui-BO89gTtq.js → vue-data-ui-Du0OReJH.js} +57 -57
  26. package/dist/vue-data-ui.cjs +1 -1
  27. package/dist/vue-data-ui.js +9 -9
  28. package/dist/vue-ui-3d-bar-AUSKibZS.cjs +19 -0
  29. package/dist/{vue-ui-3d-bar-CcTMIHiB.js → vue-ui-3d-bar-Dasj0J9j.js} +342 -342
  30. package/dist/{vue-ui-accordion-7e4Myhcg.cjs → vue-ui-accordion-0uSZBHsp.cjs} +1 -1
  31. package/dist/{vue-ui-accordion-CpzGQ63y.js → vue-ui-accordion-CczyfFaC.js} +3 -3
  32. package/dist/vue-ui-age-pyramid-CjBr4CXC.cjs +1 -0
  33. package/dist/{vue-ui-age-pyramid-D71ZLkVV.js → vue-ui-age-pyramid-DZ7vnojR.js} +22 -22
  34. package/dist/{vue-ui-annotator-B8Iu6cYt.js → vue-ui-annotator-BWwxpp_v.js} +39 -39
  35. package/dist/{vue-ui-annotator-BKQrweqm.cjs → vue-ui-annotator-CyYSiELS.cjs} +2 -2
  36. package/dist/{vue-ui-candlestick-DAc1FQ-i.cjs → vue-ui-candlestick-B9oSgBPN.cjs} +2 -2
  37. package/dist/{vue-ui-candlestick-Bx4QVkY0.js → vue-ui-candlestick-Dr9aS-Ku.js} +34 -34
  38. package/dist/{vue-ui-carousel-table-uFRqkghO.cjs → vue-ui-carousel-table-CjDze14W.cjs} +1 -1
  39. package/dist/{vue-ui-carousel-table-xuQG6bcH.js → vue-ui-carousel-table-D2LK5a9p.js} +31 -31
  40. package/dist/{vue-ui-chestnut-Bo6rDcU7.js → vue-ui-chestnut-DIqR-vZo.js} +291 -288
  41. package/dist/vue-ui-chestnut-RhZaDeRG.cjs +6 -0
  42. package/dist/vue-ui-cursor-7QhVReKN.cjs +1 -0
  43. package/dist/{vue-ui-cursor-C0KOqEOq.js → vue-ui-cursor-BxHK0bB7.js} +20 -20
  44. package/dist/{vue-ui-dashboard-0Hsjx-bO.cjs → vue-ui-dashboard-DO-zVgDu.cjs} +1 -1
  45. package/dist/{vue-ui-dashboard-BT71xS7P.js → vue-ui-dashboard-fYKECIc7.js} +2 -2
  46. package/dist/{vue-ui-digits-BRqpKYvD.js → vue-ui-digits-B8hAl2RW.js} +2 -2
  47. package/dist/{vue-ui-digits-C2ReH6w0.cjs → vue-ui-digits-CSsB4Zlr.cjs} +1 -1
  48. package/dist/{vue-ui-donut-NQW-3prf.js → vue-ui-donut-D5DTvWXB.js} +60 -60
  49. package/dist/vue-ui-donut-D8evqk7g.cjs +1 -0
  50. package/dist/vue-ui-donut-evolution-BUdWXb-N.cjs +1 -0
  51. package/dist/{vue-ui-donut-evolution-jbXQQGTc.js → vue-ui-donut-evolution-CPTiiUY6.js} +106 -106
  52. package/dist/{vue-ui-dumbbell-Dyz8xdtC.js → vue-ui-dumbbell-CfeTfNTU.js} +17 -17
  53. package/dist/{vue-ui-dumbbell-DXQSg6wa.cjs → vue-ui-dumbbell-Fm-Bqc5W.cjs} +1 -1
  54. package/dist/{vue-ui-flow-UqSNwH9d.cjs → vue-ui-flow-24WIcZVL.cjs} +1 -1
  55. package/dist/{vue-ui-flow-BL3JWW1m.js → vue-ui-flow-B2WWQo6P.js} +28 -28
  56. package/dist/{vue-ui-galaxy-DTQWGvRH.cjs → vue-ui-galaxy-DkRizJxm.cjs} +1 -1
  57. package/dist/{vue-ui-galaxy-Dx9nsOuM.js → vue-ui-galaxy-yfpv7Hky.js} +22 -22
  58. package/dist/vue-ui-gauge-BkB7BlNM.cjs +1 -0
  59. package/dist/{vue-ui-gauge-CLaKGi0-.js → vue-ui-gauge-CRVB3wlV.js} +99 -108
  60. package/dist/{vue-ui-gizmo-of-4s5HG.js → vue-ui-gizmo-DJYOx_YH.js} +2 -2
  61. package/dist/{vue-ui-gizmo-Kitfqu0J.cjs → vue-ui-gizmo-Zyo15xm3.cjs} +1 -1
  62. package/dist/{vue-ui-heatmap-BIzjOMXO.js → vue-ui-heatmap-C6fDCc7O.js} +17 -17
  63. package/dist/{vue-ui-heatmap-DUw2350O.cjs → vue-ui-heatmap-uynT8kN9.cjs} +1 -1
  64. package/dist/{vue-ui-kpi-By3YPwgo.js → vue-ui-kpi-CGC4h9uF.js} +3 -3
  65. package/dist/{vue-ui-kpi-DyL2Hcz-.cjs → vue-ui-kpi-CqEEFb04.cjs} +1 -1
  66. package/dist/{vue-ui-mini-loader-DnK3V2z2.js → vue-ui-mini-loader-2A0YUUIB.js} +2 -2
  67. package/dist/{vue-ui-mini-loader-C048-8Kd.cjs → vue-ui-mini-loader-ku9X16tx.cjs} +1 -1
  68. package/dist/{vue-ui-molecule-D-ahly6R.cjs → vue-ui-molecule-Bv1IBx1L.cjs} +1 -1
  69. package/dist/{vue-ui-molecule-BfhbIqa5.js → vue-ui-molecule-CwcUmg-k.js} +33 -33
  70. package/dist/vue-ui-mood-radar-Bf5g118s.cjs +1 -0
  71. package/dist/{vue-ui-mood-radar-DXxEKr3x.js → vue-ui-mood-radar-V04waMIM.js} +129 -132
  72. package/dist/{vue-ui-nested-donuts-C7qM_FRw.cjs → vue-ui-nested-donuts-DgVrAToy.cjs} +2 -2
  73. package/dist/{vue-ui-nested-donuts-BdUdHFd-.js → vue-ui-nested-donuts-DoFALZtp.js} +98 -98
  74. package/dist/{vue-ui-onion-DX3gofXZ.cjs → vue-ui-onion-BdZC2qt8.cjs} +1 -1
  75. package/dist/{vue-ui-onion-D0vF5jBt.js → vue-ui-onion-_GaJ78t_.js} +9 -9
  76. package/dist/{vue-ui-parallel-coordinate-plot-DEx5kFYd.cjs → vue-ui-parallel-coordinate-plot-BHYr1iqZ.cjs} +1 -1
  77. package/dist/{vue-ui-parallel-coordinate-plot-CTZY-pY8.js → vue-ui-parallel-coordinate-plot-Eh0gXDVG.js} +24 -24
  78. package/dist/vue-ui-quadrant-BEhnCog2.cjs +1 -0
  79. package/dist/{vue-ui-quadrant-ByY8GP3y.js → vue-ui-quadrant-C4LHosyR.js} +35 -35
  80. package/dist/{vue-ui-quick-chart-DTxJ__7j.js → vue-ui-quick-chart-IqY67olA.js} +69 -69
  81. package/dist/{vue-ui-quick-chart-DWZEgUJF.cjs → vue-ui-quick-chart-YFEmJP_6.cjs} +1 -1
  82. package/dist/{vue-ui-radar-5UBmAU6W.js → vue-ui-radar-BSsDvnVt.js} +39 -39
  83. package/dist/{vue-ui-radar-DEED0rTz.cjs → vue-ui-radar-Cel3ZnfN.cjs} +1 -1
  84. package/dist/{vue-ui-rating-Dr6jquxh.js → vue-ui-rating-Bb1xXC_r.js} +6 -6
  85. package/dist/{vue-ui-rating-Ce_Ewqtl.cjs → vue-ui-rating-D-qBEM1w.cjs} +1 -1
  86. package/dist/{vue-ui-relation-circle-BU8i2miI.js → vue-ui-relation-circle-CSqi6DqF.js} +29 -29
  87. package/dist/vue-ui-relation-circle-fb8g1ms8.cjs +1 -0
  88. package/dist/{vue-ui-rings-OQ8a1Ruw.cjs → vue-ui-rings-Bgb538Wa.cjs} +2 -2
  89. package/dist/{vue-ui-rings-Ctl3Jywh.js → vue-ui-rings-ezoy9PIq.js} +31 -31
  90. package/dist/vue-ui-scatter-B7z6AOLU.cjs +1 -0
  91. package/dist/{vue-ui-scatter-BwJ_koWT.js → vue-ui-scatter-Ci5l--xS.js} +95 -95
  92. package/dist/{vue-ui-screenshot-BS3L5vhN.js → vue-ui-screenshot-C2X1am1d.js} +4 -4
  93. package/dist/{vue-ui-screenshot-bAVk3EPl.cjs → vue-ui-screenshot-DLXQWgeo.cjs} +1 -1
  94. package/dist/vue-ui-skeleton-CYeXVNFu.cjs +41 -0
  95. package/dist/{vue-ui-skeleton-CvFX_ExX.js → vue-ui-skeleton-dgMXr8k9.js} +96 -96
  96. package/dist/{vue-ui-smiley-sF8QIso1.cjs → vue-ui-smiley-CDhXPYa7.cjs} +1 -1
  97. package/dist/{vue-ui-smiley-CGYZpNt9.js → vue-ui-smiley-DXb5VqXk.js} +2 -2
  98. package/dist/vue-ui-spark-trend-1hcgCu8H.cjs +1 -0
  99. package/dist/{vue-ui-spark-trend-B4XSSKl9.js → vue-ui-spark-trend-Bv1-LLRs.js} +21 -21
  100. package/dist/vue-ui-sparkbar-CWdFQTkx.cjs +1 -0
  101. package/dist/{vue-ui-sparkbar-BbsJGDMZ.js → vue-ui-sparkbar-CbmzVXcW.js} +10 -10
  102. package/dist/{vue-ui-sparkgauge-D4w_i_QJ.js → vue-ui-sparkgauge-CHODK9jn.js} +8 -8
  103. package/dist/{vue-ui-sparkgauge-BKyQoI7C.cjs → vue-ui-sparkgauge-r7VEpPtv.cjs} +1 -1
  104. package/dist/{vue-ui-sparkhistogram-CYybrW-6.js → vue-ui-sparkhistogram-CKiO1LGI.js} +111 -101
  105. package/dist/vue-ui-sparkhistogram-Do5qTT2U.cjs +1 -0
  106. package/dist/vue-ui-sparkline-Bw3dw-vW.cjs +1 -0
  107. package/dist/{vue-ui-sparkline-DjN1SVdO.js → vue-ui-sparkline-DLU7hK0K.js} +34 -34
  108. package/dist/{vue-ui-sparkstackbar-BLMhJxaN.js → vue-ui-sparkstackbar-B3TQVHlU.js} +5 -5
  109. package/dist/{vue-ui-sparkstackbar-BZ2bESBi.cjs → vue-ui-sparkstackbar-CD-HZ4Rq.cjs} +1 -1
  110. package/dist/{vue-ui-stackbar-DRHaJFR8.cjs → vue-ui-stackbar-2WJh-QtY.cjs} +2 -2
  111. package/dist/{vue-ui-stackbar-BTKOHUYc.js → vue-ui-stackbar-BnIeIS12.js} +202 -200
  112. package/dist/{vue-ui-strip-plot-o6GTsGAT.js → vue-ui-strip-plot-CddHmHSX.js} +26 -26
  113. package/dist/{vue-ui-strip-plot-DxQxFbWg.cjs → vue-ui-strip-plot-DyL8FH29.cjs} +1 -1
  114. package/dist/{vue-ui-table-CnquiTpr.js → vue-ui-table-BZ6yonvx.js} +1 -1
  115. package/dist/{vue-ui-table-BFIj1Rgh.cjs → vue-ui-table-_Sxgp6iC.cjs} +1 -1
  116. package/dist/{vue-ui-table-heatmap-CZRIwv-Q.js → vue-ui-table-heatmap-CYOgunS2.js} +24 -24
  117. package/dist/{vue-ui-table-heatmap-CCGK12Fa.cjs → vue-ui-table-heatmap-DGWhBhp0.cjs} +1 -1
  118. package/dist/{vue-ui-table-sparkline-B3zEeq6Z.js → vue-ui-table-sparkline-D33NLyyx.js} +26 -26
  119. package/dist/{vue-ui-table-sparkline-DYmgfHz4.cjs → vue-ui-table-sparkline-IVMQG6tp.cjs} +1 -1
  120. package/dist/{vue-ui-thermometer-CzPRBt6c.cjs → vue-ui-thermometer-8XDaKLt5.cjs} +1 -1
  121. package/dist/{vue-ui-thermometer-BopiohUh.js → vue-ui-thermometer-DMwZ2O16.js} +40 -40
  122. package/dist/{vue-ui-timer-Bonw69Lt.cjs → vue-ui-timer-B3_-DhDj.cjs} +1 -1
  123. package/dist/{vue-ui-timer-C7WkW8hK.js → vue-ui-timer-D59VSia6.js} +8 -8
  124. package/dist/{vue-ui-tiremarks-BurRtFv4.js → vue-ui-tiremarks-Bczw28td.js} +18 -18
  125. package/dist/{vue-ui-tiremarks-DkIGfq8t.cjs → vue-ui-tiremarks-Br_jF9bH.cjs} +1 -1
  126. package/dist/{vue-ui-treemap-DWy4voIr.js → vue-ui-treemap-DGJNw2WX.js} +29 -29
  127. package/dist/{vue-ui-treemap-CalhJmnp.cjs → vue-ui-treemap-DLHdaXss.cjs} +1 -1
  128. package/dist/vue-ui-vertical-bar-BGYrmyAK.cjs +4 -0
  129. package/dist/{vue-ui-vertical-bar-CJW1YhtY.js → vue-ui-vertical-bar-De0N4Ggo.js} +14 -14
  130. package/dist/{vue-ui-waffle-faQMBYNx.cjs → vue-ui-waffle-CJPVEDgC.cjs} +1 -1
  131. package/dist/{vue-ui-waffle-DB7X6nTS.js → vue-ui-waffle-CnXLf5xd.js} +84 -84
  132. package/dist/{vue-ui-wheel-CryKap2E.js → vue-ui-wheel-Bciq0JM9.js} +24 -24
  133. package/dist/{vue-ui-wheel-BzjbGP6a.cjs → vue-ui-wheel-CAKYmn0b.cjs} +1 -1
  134. package/dist/{vue-ui-word-cloud-DJN9I4q4.cjs → vue-ui-word-cloud-4ooTRM2O.cjs} +1 -1
  135. package/dist/{vue-ui-word-cloud-COqUkvei.js → vue-ui-word-cloud-CWm6r9Zf.js} +19 -19
  136. package/dist/{vue-ui-xy-b1Z_HPsx.js → vue-ui-xy-B5nBhYgd.js} +351 -350
  137. package/dist/vue-ui-xy-Ch5hDEec.cjs +3 -0
  138. package/dist/{vue-ui-xy-canvas-BgbLnY5B.js → vue-ui-xy-canvas-CzLTSmDS.js} +18 -18
  139. package/dist/vue-ui-xy-canvas-d-EE9_dN.cjs +9 -0
  140. package/package.json +1 -1
  141. package/dist/Tooltip-DScSrYXJ.cjs +0 -1
  142. package/dist/index-BTgtr0F8.cjs +0 -4
  143. package/dist/vue-ui-3d-bar-DzmcGuqh.cjs +0 -19
  144. package/dist/vue-ui-age-pyramid-C7qr9EwB.cjs +0 -1
  145. package/dist/vue-ui-chestnut-DJkm72oD.cjs +0 -6
  146. package/dist/vue-ui-cursor-BQbeuW-k.cjs +0 -1
  147. package/dist/vue-ui-donut-evolution-DOe-cwLi.cjs +0 -1
  148. package/dist/vue-ui-donut-v81suIOX.cjs +0 -1
  149. package/dist/vue-ui-gauge-BUB7H0qA.cjs +0 -1
  150. package/dist/vue-ui-mood-radar-DD8R9BpJ.cjs +0 -1
  151. package/dist/vue-ui-quadrant-CgApzie6.cjs +0 -1
  152. package/dist/vue-ui-relation-circle-CRcQ6Zcy.cjs +0 -1
  153. package/dist/vue-ui-scatter-B8StSjt8.cjs +0 -1
  154. package/dist/vue-ui-skeleton-CMQzFTs9.cjs +0 -41
  155. package/dist/vue-ui-spark-trend-CdIoxaqb.cjs +0 -1
  156. package/dist/vue-ui-sparkbar-C3i1K7hi.cjs +0 -1
  157. package/dist/vue-ui-sparkhistogram-CvTYEmbz.cjs +0 -1
  158. package/dist/vue-ui-sparkline-CDowaDRS.cjs +0 -1
  159. package/dist/vue-ui-vertical-bar-rwWp-sai.cjs +0 -4
  160. package/dist/vue-ui-xy-BmA0tspd.cjs +0 -3
  161. package/dist/vue-ui-xy-canvas-DOM2Kq_s.cjs +0 -9
@@ -1,19 +1,19 @@
1
- import { computed as h, ref as v, watch as fe, onMounted as Ie, onBeforeUnmount as Be, openBlock as u, createElementBlock as s, normalizeClass as be, normalizeStyle as q, createBlock as N, createCommentVNode as c, unref as p, createSlots as Oe, 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 De, c as Ee, t as We, o as Ge, e as C, B as Xe, s as I, X as je, v as E, C as He, w as Ye, x as qe, y as Je, q as Ke, r as Qe, D as xe } from "./index-CaV1s-yZ.js";
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-0KN57HdM.js";
3
3
  import { t as Ze, u as et } from "./useResponsive-NZB-WLRF.js";
4
- import { _ as tt } from "./Title-gUz6GDA3.js";
5
- import { u as lt, U as ot } from "./usePrinter-rvJyT65A.js";
6
- import { _ as at } from "./Tooltip-DfSM1mNP.js";
7
- import { D as ut } from "./DataTable-e2fnfjXV.js";
8
- import st from "./vue-ui-skeleton-CvFX_ExX.js";
9
- import { S as it } from "./Slicer-DwBBu3kB.js";
10
- import nt from "./vue-ui-accordion-CpzGQ63y.js";
11
- import { u as me } from "./useNestedProp-tWCzZrLx.js";
4
+ import { _ as tt } from "./Title-gvR5aS6q.js";
5
+ import { u as lt, U as ot } from "./usePrinter-BvKYEc1z.js";
6
+ import { _ as at } from "./Tooltip-BGmkuAK4.js";
7
+ import { D as ut } from "./DataTable-OAUXdIYA.js";
8
+ import st from "./vue-ui-skeleton-dgMXr8k9.js";
9
+ import { S as it } from "./Slicer-BlRQsQu0.js";
10
+ import nt from "./vue-ui-accordion-CczyfFaC.js";
11
+ import { u as me } from "./useNestedProp-NeGalTYk.js";
12
12
  import { _ as rt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
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"], Bt = ["x", "y", "height", "width", "fill", "rx"], Ot = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width"], Pt = ["x", "y", "height", "width", "fill", "onMouseover"], Mt = {
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,
15
15
  class: "vue-data-ui-watermark"
16
- }, Ut = ["innerHTML"], Dt = {
16
+ }, Ut = ["innerHTML"], Et = {
17
17
  __name: "vue-ui-candlestick",
18
18
  props: {
19
19
  config: {
@@ -30,7 +30,7 @@ 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 } = De(), T = h(() => !!k.dataset && k.dataset.length), m = v(Ee()), $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), B = v(0), ee = v(0), te = v(0), e = h({
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
34
  get: () => le(),
35
35
  set: (t) => t
36
36
  });
@@ -47,16 +47,16 @@ const vt = ["id"], dt = ["xmlns", "viewBox"], yt = { key: 0 }, ct = ["id"], ht =
47
47
  } : t;
48
48
  }
49
49
  fe(() => k.config, (t) => {
50
- e.value = le(), oe(), B.value += 1, te.value += 1, ee.value += 1;
50
+ e.value = le(), oe(), O.value += 1, te.value += 1, ee.value += 1;
51
51
  }, { deep: !0 }), fe(() => k.dataset, (t) => {
52
- y.value.start = 0, y.value.end = t.length, B.value += 1;
52
+ y.value.start = 0, y.value.end = t.length, O.value += 1;
53
53
  }, { deep: !0 });
54
54
  const d = v({
55
55
  height: e.value.style.height,
56
56
  width: e.value.style.width,
57
57
  xAxisFontSize: e.value.style.layout.grid.xAxis.dataLabels.fontSize,
58
58
  yAxisFontSize: e.value.style.layout.grid.yAxis.dataLabels.fontSize
59
- }), O = v(null);
59
+ }), B = v(null);
60
60
  Ie(() => {
61
61
  oe();
62
62
  });
@@ -86,11 +86,11 @@ const vt = ["id"], dt = ["xmlns", "viewBox"], yt = { key: 0 }, ct = ["id"], ht =
86
86
  fallback: 6
87
87
  });
88
88
  });
89
- O.value = new ResizeObserver(t), O.value.observe(A.value.parentNode);
89
+ B.value = new ResizeObserver(t), B.value.observe(A.value.parentNode);
90
90
  }
91
91
  }
92
- Be(() => {
93
- O.value && O.value.disconnect();
92
+ Oe(() => {
93
+ B.value && B.value.disconnect();
94
94
  });
95
95
  const { isPrinting: ae, isImaging: ue, generatePdf: se, generateImage: ie } = lt({
96
96
  elementId: `vue-ui-candlestick_${m.value}`,
@@ -163,7 +163,7 @@ const vt = ["id"], dt = ["xmlns", "viewBox"], yt = { key: 0 }, ct = ["id"], ht =
163
163
  };
164
164
  }
165
165
  const g = h(() => H.value.map((t, a) => {
166
- const l = P(t.open, a), o = P(t.high, a), f = P(t.low, a), U = P(t.last, a), D = t.last > t.open;
166
+ const l = P(t.open, a), o = P(t.high, a), f = P(t.low, a), U = P(t.last, a), E = t.last > t.open;
167
167
  return {
168
168
  period: t.period,
169
169
  open: l,
@@ -171,7 +171,7 @@ const vt = ["id"], dt = ["xmlns", "viewBox"], yt = { key: 0 }, ct = ["id"], ht =
171
171
  low: f,
172
172
  last: U,
173
173
  volume: t.volume,
174
- isBullish: D
174
+ isBullish: E
175
175
  };
176
176
  }));
177
177
  function _e(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: D, low: ce, last: he, volume: pe, isBullish: ge } = g.value[t], { period: Et, open: Ae, high: Fe, low: Le, last: Re, volume: Ve } = e.value.translations;
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;
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(D.value) ? "-" : Number(D.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 ? 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>`;
209
209
  }
210
210
  W.value = !0;
211
211
  }
@@ -213,7 +213,7 @@ const vt = ["id"], dt = ["xmlns", "viewBox"], yt = { key: 0 }, ct = ["id"], ht =
213
213
  y.value = {
214
214
  start: 0,
215
215
  end: j.value
216
- }, B.value += 1;
216
+ }, O.value += 1;
217
217
  }
218
218
  function ve() {
219
219
  Ue(() => {
@@ -325,7 +325,7 @@ const vt = ["id"], dt = ["xmlns", "viewBox"], yt = { key: 0 }, ct = ["id"], ht =
325
325
  onGenerateImage: p(ie),
326
326
  onToggleTable: de,
327
327
  onToggleTooltip: ye
328
- }, Oe({ _: 2 }, [
328
+ }, Be({ _: 2 }, [
329
329
  t.$slots.optionTooltip ? {
330
330
  name: "optionTooltip",
331
331
  fn: b(() => [
@@ -389,11 +389,11 @@ const vt = ["id"], dt = ["xmlns", "viewBox"], yt = { key: 0 }, ct = ["id"], ht =
389
389
  }, null, 8, ht),
390
390
  n("stop", {
391
391
  offset: "50%",
392
- "stop-color": `${p(E)(e.value.style.layout.candle.colors.bearish, 0.02)}DE`
392
+ "stop-color": `${p(D)(e.value.style.layout.candle.colors.bearish, 0.02)}DE`
393
393
  }, null, 8, pt),
394
394
  n("stop", {
395
395
  offset: "100%",
396
- "stop-color": `${p(E)(e.value.style.layout.candle.colors.bearish, 0.05)}66`
396
+ "stop-color": `${p(D)(e.value.style.layout.candle.colors.bearish, 0.05)}66`
397
397
  }, null, 8, gt)
398
398
  ], 8, ct),
399
399
  n("linearGradient", {
@@ -407,11 +407,11 @@ const vt = ["id"], dt = ["xmlns", "viewBox"], yt = { key: 0 }, ct = ["id"], ht =
407
407
  }, null, 8, bt),
408
408
  n("stop", {
409
409
  offset: "50%",
410
- "stop-color": `${p(E)(e.value.style.layout.candle.colors.bullish, 0.02)}DE`
410
+ "stop-color": `${p(D)(e.value.style.layout.candle.colors.bullish, 0.02)}DE`
411
411
  }, null, 8, xt),
412
412
  n("stop", {
413
413
  offset: "100%",
414
- "stop-color": `${p(E)(e.value.style.layout.candle.colors.bullish, 0.05)}66`
414
+ "stop-color": `${p(D)(e.value.style.layout.candle.colors.bullish, 0.05)}66`
415
415
  }, null, 8, mt)
416
416
  ], 8, ft)
417
417
  ]),
@@ -525,7 +525,7 @@ const vt = ["id"], dt = ["xmlns", "viewBox"], yt = { key: 0 }, ct = ["id"], ht =
525
525
  fill: e.value.style.layout.candle.gradient.underlayer,
526
526
  rx: e.value.style.layout.candle.borderRadius,
527
527
  stroke: "none"
528
- }, null, 8, Bt))), 256)),
528
+ }, null, 8, Ot))), 256)),
529
529
  (u(!0), s(S, null, z(g.value, (l, o) => (u(), s("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,
@@ -537,7 +537,7 @@ const vt = ["id"], dt = ["xmlns", "viewBox"], yt = { key: 0 }, ct = ["id"], ht =
537
537
  "stroke-width": e.value.style.layout.candle.strokeWidth,
538
538
  "stroke-linecap": "round",
539
539
  "stroke-linejoin": "round"
540
- }, null, 8, Ot))), 256))
540
+ }, null, 8, Bt))), 256))
541
541
  ]),
542
542
  n("g", null, [
543
543
  (u(!0), s(S, null, z(g.value, (l, o) => (u(), s("rect", {
@@ -545,7 +545,7 @@ const vt = ["id"], dt = ["xmlns", "viewBox"], yt = { key: 0 }, ct = ["id"], ht =
545
545
  y: i.value.top,
546
546
  height: i.value.height <= 0 ? 1e-4 : i.value.height,
547
547
  width: r.value <= 0 ? 1e-4 : r.value,
548
- fill: X.value === o ? `${e.value.style.layout.selector.color}${p(Ye)[e.value.style.layout.selector.opacity]}` : "transparent",
548
+ fill: X.value === o ? p(Ye)(e.value.style.layout.selector.color, e.value.style.layout.selector.opacity) : "transparent",
549
549
  onMouseover: (f) => Se(o, l),
550
550
  onMouseleave: a[0] || (a[0] = (f) => {
551
551
  X.value = void 0, W.value = !1;
@@ -581,7 +581,7 @@ const vt = ["id"], dt = ["xmlns", "viewBox"], yt = { key: 0 }, ct = ["id"], ht =
581
581
  ref: Z
582
582
  }, [
583
583
  (u(), N(it, {
584
- key: `slicer_${B.value}`,
584
+ key: `slicer_${O.value}`,
585
585
  background: e.value.style.zoom.color,
586
586
  borderColor: e.value.style.backgroundColor,
587
587
  fontSize: e.value.style.zoom.fontSize,
@@ -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(Dt, [["__scopeId", "data-v-ac51f136"]]);
678
+ }, tl = /* @__PURE__ */ rt(Et, [["__scopeId", "data-v-b23b9d6f"]]);
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-BTgtr0F8.cjs"),ae=require("./useNestedProp-CisbRRo_.cjs"),j=require("./usePrinter-DzTaA1eh.cjs"),ne=require("./vue-ui-skeleton-CMQzFTs9.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:R,generatePdf:J,generateImage:O}=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),v=e.ref(null),T=e.ref(0);function S(){k.value&&(v.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(()=>!v.value||!v.value.heights.length?0:Math.max(...v.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&&v.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+=v.value.heights[T.value],(Z()||T.value>=v.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 c(){m.value=!0,cancelAnimationFrame(x.value),x.value=null}e.onBeforeUnmount(c);function h(){!m.value||!s.value.showAnimation||(m.value=!1,f.value=0,M())}function ee(){t.value.animation.pauseOnHover&&c()}const E=e.ref(null);function te(){c(),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,c())});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(()=>{c(),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():c()}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:c,resumeAnimation:h,toggleAnimation:D,generateCsv:G,generatePdf:U,generateImage:O}),(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(R)?"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:t.value.tbody.tr.td.style.backgroundColor+e.unref(u.opacity)[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(R),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(O),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-24996b52"]]);exports.default=de;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),u=require("./index-TabZg_HV.cjs"),ae=require("./useNestedProp-CoLyVvV9.cjs"),j=require("./usePrinter--7sLxlpn.cjs"),ne=require("./vue-ui-skeleton-CYeXVNFu.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
- import { ref as o, onMounted as F, computed as B, watch as V, onBeforeUnmount as re, nextTick as de, openBlock as s, 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, w as Ie, q as Fe, r as Be } from "./index-CaV1s-yZ.js";
3
- import { u as Oe } from "./useNestedProp-tWCzZrLx.js";
4
- import { u as Pe, U as Re } from "./usePrinter-rvJyT65A.js";
5
- import ze from "./vue-ui-skeleton-CvFX_ExX.js";
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-0KN57HdM.js";
3
+ import { u as Oe } from "./useNestedProp-NeGalTYk.js";
4
+ import { u as Pe, U as Re } from "./usePrinter-BvKYEc1z.js";
5
+ import ze from "./vue-ui-skeleton-dgMXr8k9.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",
@@ -59,7 +59,7 @@ const Ne = ["id"], Se = ["height"], He = ["data-cell", "height"], Le = {
59
59
  fileName: e.value.caption.text || "vue-ui-carousel-table"
60
60
  }), v = o({
61
61
  showAnimation: e.value.animation.use
62
- }), u = o(null), te = o(null), T = o(null), A = o(null), x = o(0), P = o(0), R = o(!1), k = o(null), h = o(null), w = o(0);
62
+ }), s = o(null), te = o(null), T = o(null), A = o(null), x = o(0), P = o(0), R = o(!1), k = o(null), h = o(null), w = o(0);
63
63
  function H() {
64
64
  k.value && (h.value = {
65
65
  elements: k.value.getElementsByTagName("tr"),
@@ -71,16 +71,16 @@ const Ne = ["id"], Se = ["height"], He = ["data-cell", "height"], Le = {
71
71
  F(() => {
72
72
  T.value && (x.value = T.value.getBoundingClientRect().height), A.value && (P.value = A.value.getBoundingClientRect().height), v.value.showAnimation && h.value && oe();
73
73
  }), F(() => {
74
- if (u.value) {
74
+ if (s.value) {
75
75
  let a = function() {
76
76
  const i = t.getBoundingClientRect().bottom;
77
77
  n.forEach((c) => {
78
78
  c.getBoundingClientRect().top < i ? c.style.visibility = "hidden" : c.style.visibility = "visible";
79
79
  });
80
80
  };
81
- const t = u.value.querySelector("thead"), n = Array.from(k.value.querySelectorAll("tr"));
82
- u.value.addEventListener("scroll", a), a(), re(() => {
83
- u.value.removeEventListener("scroll", a);
81
+ const t = s.value.querySelector("thead"), n = Array.from(k.value.querySelectorAll("tr"));
82
+ s.value.addEventListener("scroll", a), a(), re(() => {
83
+ s.value.removeEventListener("scroll", a);
84
84
  });
85
85
  }
86
86
  });
@@ -91,13 +91,13 @@ const Ne = ["id"], Se = ["height"], He = ["data-cell", "height"], Le = {
91
91
  !I.value && !b.value && (I.value = requestAnimationFrame(ne));
92
92
  }
93
93
  function ye() {
94
- if (!u.value) return !1;
95
- const { scrollTop: t, scrollHeight: n, clientHeight: a } = u.value;
94
+ if (!s.value) return !1;
95
+ const { scrollTop: t, scrollHeight: n, clientHeight: a } = s.value;
96
96
  return t + a >= n;
97
97
  }
98
98
  function ne(t) {
99
99
  if (b.value) return;
100
- m.value || (m.value = t), t - m.value >= e.value.animation.speedMs && (z.value += h.value.heights[w.value], (ye() || w.value >= h.value.heights.length) && (z.value = 0, w.value = -1), w.value += 1, u.value && u.value.scrollTo({
100
+ m.value || (m.value = t), t - m.value >= e.value.animation.speedMs && (z.value += h.value.heights[w.value], (ye() || w.value >= h.value.heights.length) && (z.value = 0, w.value = -1), w.value += 1, s.value && s.value.scrollTo({
101
101
  top: z.value,
102
102
  behavior: "smooth"
103
103
  }), m.value = t), I.value = requestAnimationFrame(ne);
@@ -134,15 +134,15 @@ const Ne = ["id"], Se = ["height"], He = ["data-cell", "height"], Le = {
134
134
  f(), m.value = 0, z.value = 0, H(), y();
135
135
  });
136
136
  });
137
- u.value && t.observe(u.value);
137
+ s.value && t.observe(s.value);
138
138
  });
139
139
  function ie() {
140
140
  he();
141
141
  }
142
- function ue() {
142
+ function se() {
143
143
  v.value.showAnimation = !v.value.showAnimation, v.value.showAnimation ? y() : f();
144
144
  }
145
- function se() {
145
+ function ue() {
146
146
  de(() => {
147
147
  const t = l.dataset.head.map((i, c) => [
148
148
  [l.dataset.body[c]]
@@ -159,18 +159,18 @@ const Ne = ["id"], Se = ["height"], He = ["data-cell", "height"], Le = {
159
159
  return ce({
160
160
  pauseAnimation: f,
161
161
  resumeAnimation: y,
162
- toggleAnimation: ue,
163
- generateCsv: se,
162
+ toggleAnimation: se,
163
+ generateCsv: ue,
164
164
  generatePdf: ie,
165
165
  generateImage: ee
166
- }), (t, n) => (s(), r("div", {
166
+ }), (t, n) => (u(), r("div", {
167
167
  style: { position: "relative", overflow: "visible" },
168
168
  ref_key: "chartContainer",
169
169
  ref: te
170
170
  }, [
171
171
  E("div", {
172
172
  ref_key: "tableContainer",
173
- ref: u,
173
+ ref: s,
174
174
  id: `carousel-table_${S.value}`,
175
175
  style: d({
176
176
  height: C(Z) || C(_) ? "auto" : `${Math.max(me.value, fe.value)}px`,
@@ -186,7 +186,7 @@ const Ne = ["id"], Se = ["height"], He = ["data-cell", "height"], Le = {
186
186
  onTouchend: n[3] || (n[3] = (a) => le()),
187
187
  onTouchcancel: n[4] || (n[4] = (a) => le())
188
188
  }, [
189
- $.value ? (s(), r("table", {
189
+ $.value ? (u(), r("table", {
190
190
  key: 0,
191
191
  class: "vue-data-ui-carousel-table",
192
192
  style: d({
@@ -231,7 +231,7 @@ const Ne = ["id"], Se = ["height"], He = ["data-cell", "height"], Le = {
231
231
  }),
232
232
  height: `${e.value.thead.tr.height}px`
233
233
  }, [
234
- (s(!0), r(q, null, D(g.dataset.head, (a, i) => (s(), r("th", {
234
+ (u(!0), r(q, null, D(g.dataset.head, (a, i) => (u(), r("th", {
235
235
  role: "cell",
236
236
  key: `th_${i}`,
237
237
  style: d({
@@ -248,7 +248,7 @@ const Ne = ["id"], Se = ["height"], He = ["data-cell", "height"], Le = {
248
248
  ], 4))), 128))
249
249
  ], 12, Se)
250
250
  ], 4),
251
- g.dataset.body && g.dataset.head ? (s(), r("tbody", {
251
+ g.dataset.body && g.dataset.head ? (u(), r("tbody", {
252
252
  key: 0,
253
253
  ref_key: "tbody",
254
254
  ref: k,
@@ -256,20 +256,20 @@ const Ne = ["id"], Se = ["height"], He = ["data-cell", "height"], Le = {
256
256
  clipPath: "inset(0,0,0,0)"
257
257
  })
258
258
  }, [
259
- (s(!0), r(q, null, D(g.dataset.body, (a, i) => (s(), r("tr", {
259
+ (u(!0), r(q, null, D(g.dataset.body, (a, i) => (u(), r("tr", {
260
260
  style: d({
261
261
  ...e.value.tbody.tr.style,
262
262
  border: `${e.value.tbody.tr.border.size}px solid ${e.value.tbody.tr.border.color}`,
263
263
  verticalAlign: "middle"
264
264
  })
265
265
  }, [
266
- (s(!0), r(q, null, D(a, (c, U) => (s(), r("td", {
266
+ (u(!0), r(q, null, D(a, (c, U) => (u(), r("td", {
267
267
  role: "cell",
268
268
  "data-cell": g.dataset.head[U] || "",
269
269
  style: d({
270
270
  ...e.value.tbody.tr.td.style,
271
271
  border: `${e.value.tbody.tr.td.border.size}px solid ${e.value.tbody.tr.td.border.color}`,
272
- backgroundColor: e.value.tbody.tr.td.style.backgroundColor + C(Ie)[i % 2 === 0 && e.value.tbody.tr.td.alternateColor ? e.value.tbody.tr.td.alternateOpacity * 100 : 100],
272
+ backgroundColor: C(Ie)(e.value.tbody.tr.td.style.backgroundColor, i % 2 === 0 && e.value.tbody.tr.td.alternateColor ? e.value.tbody.tr.td.alternateOpacity * 100 : 100),
273
273
  paddingTop: e.value.tbody.tr.td.padding.top + "px",
274
274
  paddingRight: e.value.tbody.tr.td.padding.right + "px",
275
275
  paddingBottom: e.value.tbody.tr.td.padding.bottom + "px",
@@ -285,13 +285,13 @@ const Ne = ["id"], Se = ["height"], He = ["data-cell", "height"], Le = {
285
285
  ], 4)) : N("", !0)
286
286
  ], 4)) : N("", !0)
287
287
  ], 46, Ne),
288
- $.value ? N("", !0) : (s(), ve(ze, {
288
+ $.value ? N("", !0) : (u(), ve(ze, {
289
289
  key: 0,
290
290
  config: {
291
291
  type: "table"
292
292
  }
293
293
  })),
294
- e.value.userOptions.show && $.value ? (s(), ve(Re, {
294
+ e.value.userOptions.show && $.value ? (u(), ve(Re, {
295
295
  ref: "details",
296
296
  key: `user_option_${ae.value}`,
297
297
  backgroundColor: e.value.style.backgroundColor,
@@ -314,9 +314,9 @@ const Ne = ["id"], Se = ["height"], He = ["data-cell", "height"], Le = {
314
314
  zIndex: 3,
315
315
  noOffset: "",
316
316
  onGeneratePdf: ie,
317
- onGenerateCsv: se,
317
+ onGenerateCsv: ue,
318
318
  onGenerateImage: C(ee),
319
- onToggleAnimation: ue,
319
+ onToggleAnimation: se,
320
320
  onToggleFullscreen: be
321
321
  }, xe({ _: 2 }, [
322
322
  t.$slots.optionPdf ? {
@@ -357,7 +357,7 @@ const Ne = ["id"], Se = ["height"], He = ["data-cell", "height"], Le = {
357
357
  ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasXls", "hasAnimation", "isAnimation", "hasFullscreen", "isFullscreen", "chartElement", "titles", "onGenerateImage"])) : N("", !0)
358
358
  ], 512));
359
359
  }
360
- }, Xe = /* @__PURE__ */ Ee(Le, [["__scopeId", "data-v-24996b52"]]);
360
+ }, Xe = /* @__PURE__ */ Ee(Le, [["__scopeId", "data-v-4dad7e0c"]]);
361
361
  export {
362
362
  Xe as default
363
363
  };