vue-data-ui 2.4.2 → 2.4.3

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 (194) hide show
  1. package/dist/{Arrow-JuK2z9IB.js → Arrow-C7lNL7sY.js} +1 -1
  2. package/dist/{Arrow-DLTRnzcG.cjs → Arrow-Dz6AomGr.cjs} +1 -1
  3. package/dist/{BaseIcon-rRli6Sfv.js → BaseIcon-BbvG1AlW.js} +1 -1
  4. package/dist/{BaseIcon-BGExhz6v.cjs → BaseIcon-uALK38Ov.cjs} +1 -1
  5. package/dist/{DataTable-DJzhv96s.cjs → DataTable-DTzynbND.cjs} +1 -1
  6. package/dist/{DataTable-DTk7C4Pr.js → DataTable-DYqC2pqu.js} +2 -2
  7. package/dist/{Legend-YZ7Hz3o1.cjs → Legend-Cgw4lO2O.cjs} +1 -1
  8. package/dist/{Legend-CYF2gpXG.js → Legend-DNgTCgEK.js} +1 -1
  9. package/dist/{PackageVersion-DVZtsuy4.cjs → PackageVersion-DwI-KhXH.cjs} +1 -1
  10. package/dist/{PackageVersion-CvCRsT5_.js → PackageVersion-VkaUzgmt.js} +1 -1
  11. package/dist/{PenAndPaper-CyXm-yVL.cjs → PenAndPaper-CDFVOo7X.cjs} +1 -1
  12. package/dist/{PenAndPaper-Jb0pLt3G.js → PenAndPaper-DAZYA8Ew.js} +2 -2
  13. package/dist/{Shape-BpPn4eWR.js → Shape-Bwon0l0g.js} +1 -1
  14. package/dist/{Shape-X2F-QV_B.cjs → Shape-D2Dpshg1.cjs} +1 -1
  15. package/dist/{Slicer-CU7dRZR0.js → Slicer-TfpN2Cr4.js} +3 -3
  16. package/dist/{Slicer-CL0tP5a5.cjs → Slicer-uSjfNJjG.cjs} +1 -1
  17. package/dist/{Title-Co5jI5ed.cjs → Title-0Tp4hZ4u.cjs} +1 -1
  18. package/dist/{Title-5VmBwT4i.js → Title-C5pIfQAz.js} +1 -1
  19. package/dist/{Tooltip-Bl6W8Zn7.cjs → Tooltip-9Tp2Yrd1.cjs} +1 -1
  20. package/dist/{Tooltip-Cj4EF7v1.js → Tooltip-Cz24YLfw.js} +1 -1
  21. package/dist/{index-DnVHQ2xI.js → index-Bya_q1J-.js} +4 -1
  22. package/dist/index-eFox7weK.cjs +9 -0
  23. package/dist/style.css +1 -1
  24. package/dist/types/vue-data-ui.d.cts +4 -1
  25. package/dist/types/vue-data-ui.d.ts +4 -1
  26. package/dist/{useNestedProp-Cox0K0Y5.js → useNestedProp-B33hazbH.js} +1 -1
  27. package/dist/{useNestedProp-q7byAAIJ.cjs → useNestedProp-BkgEhTQY.cjs} +1 -1
  28. package/dist/{usePrinter-BCAFeO_J.cjs → usePrinter-CSRFnDBU.cjs} +1 -1
  29. package/dist/{usePrinter-BEeNAqS5.js → usePrinter-CiHd1FwD.js} +1 -1
  30. package/dist/useResponsive-BY8tgM1n.js +188 -0
  31. package/dist/useResponsive-CodiGUOE.cjs +1 -0
  32. package/dist/{vue-data-ui-CRLLZpt0.cjs → vue-data-ui-BTtxyUc3.cjs} +1 -1
  33. package/dist/{vue-data-ui-W7nnqn0v.js → vue-data-ui-Bduq4f2p.js} +58 -58
  34. package/dist/vue-data-ui.cjs +1 -1
  35. package/dist/vue-data-ui.js +1 -1
  36. package/dist/{vue-ui-3d-bar-bD_n6qL_.cjs → vue-ui-3d-bar-B-P7PMHs.cjs} +2 -2
  37. package/dist/{vue-ui-3d-bar-BwBrUabe.js → vue-ui-3d-bar-BUEq_VdY.js} +41 -34
  38. package/dist/{vue-ui-accordion-DspS4q3f.js → vue-ui-accordion-DfUfL2dI.js} +3 -3
  39. package/dist/{vue-ui-accordion-xXgqfR2l.cjs → vue-ui-accordion-TEMpM1hO.cjs} +1 -1
  40. package/dist/{vue-ui-age-pyramid-CxBvm3uM.js → vue-ui-age-pyramid-CH72tAMb.js} +163 -154
  41. package/dist/vue-ui-age-pyramid-DsbZ1qcQ.cjs +1 -0
  42. package/dist/{vue-ui-annotator-BOofWpzv.js → vue-ui-annotator-DPeJ2its.js} +1 -1
  43. package/dist/{vue-ui-annotator-C6T5_7ZV.cjs → vue-ui-annotator-DU_DJKCw.cjs} +1 -1
  44. package/dist/{vue-ui-bullet-DraC-oFu.js → vue-ui-bullet-CtP3MlUT.js} +167 -136
  45. package/dist/vue-ui-bullet-D8ks_rKr.cjs +34 -0
  46. package/dist/vue-ui-candlestick-D1jdr0bv.cjs +2 -0
  47. package/dist/{vue-ui-candlestick-DQZ5eT1f.js → vue-ui-candlestick-DDil13a0.js} +173 -164
  48. package/dist/{vue-ui-carousel-table-PdLjpH1p.js → vue-ui-carousel-table-BaeIxyc0.js} +76 -69
  49. package/dist/vue-ui-carousel-table-C7SJIOG-.cjs +1 -0
  50. package/dist/{vue-ui-chestnut-ByI_O5hB.js → vue-ui-chestnut-BczSJF6S.js} +96 -89
  51. package/dist/vue-ui-chestnut-ih5r0Bj9.cjs +6 -0
  52. package/dist/{vue-ui-cursor-BvadpA2m.cjs → vue-ui-cursor-C2Pj_CI_.cjs} +1 -1
  53. package/dist/{vue-ui-cursor-BM74l93B.js → vue-ui-cursor-Dg_Dmww-.js} +2 -2
  54. package/dist/{vue-ui-dashboard-CoANBhAM.js → vue-ui-dashboard-Bul9dqx1.js} +2 -2
  55. package/dist/{vue-ui-dashboard-OP51Gs8I.cjs → vue-ui-dashboard-Cg020NiT.cjs} +1 -1
  56. package/dist/{vue-ui-digits-DioaBnkB.js → vue-ui-digits-B8iAa4YZ.js} +2 -2
  57. package/dist/{vue-ui-digits-C7jJJg9k.cjs → vue-ui-digits-Ctgd84JR.cjs} +1 -1
  58. package/dist/vue-ui-donut-D7KT9EAp.cjs +1 -0
  59. package/dist/{vue-ui-donut-ldqSm_JV.js → vue-ui-donut-DUcp-fat.js} +244 -235
  60. package/dist/vue-ui-donut-evolution-CHtJ8iOK.cjs +1 -0
  61. package/dist/{vue-ui-donut-evolution-DAb1xzNd.js → vue-ui-donut-evolution-C_YMbTwq.js} +125 -118
  62. package/dist/vue-ui-dumbbell-B0dikuqO.cjs +9 -0
  63. package/dist/{vue-ui-dumbbell-Dg7PkiKJ.js → vue-ui-dumbbell-Buwngz_V.js} +192 -183
  64. package/dist/{vue-ui-flow-DKT7ZEnr.js → vue-ui-flow-Bz3c0K5P.js} +78 -71
  65. package/dist/vue-ui-flow-D6rc8J-8.cjs +1 -0
  66. package/dist/{vue-ui-galaxy-qAA9be3S.js → vue-ui-galaxy-Cjh0XGTX.js} +49 -42
  67. package/dist/vue-ui-galaxy-CmTt0vBf.cjs +1 -0
  68. package/dist/{vue-ui-gauge-D8yVTIgP.js → vue-ui-gauge-B1UvGkQa.js} +160 -151
  69. package/dist/vue-ui-gauge-B_TKuyM7.cjs +1 -0
  70. package/dist/{vue-ui-gizmo-W6bTkg59.cjs → vue-ui-gizmo-DFW6HnHp.cjs} +1 -1
  71. package/dist/{vue-ui-gizmo-DC0uUwI3.js → vue-ui-gizmo-DUQ4t-At.js} +3 -3
  72. package/dist/{vue-ui-heatmap-u1raIzBQ.js → vue-ui-heatmap-C-poazUw.js} +110 -103
  73. package/dist/vue-ui-heatmap-C2HlnqzO.cjs +1 -0
  74. package/dist/{vue-ui-kpi-C-iTxMD2.js → vue-ui-kpi-DXe-vxAk.js} +3 -3
  75. package/dist/{vue-ui-kpi-DY_2WF7U.cjs → vue-ui-kpi-Z4Oi4raz.cjs} +1 -1
  76. package/dist/{vue-ui-mini-loader-C7x7S0hi.js → vue-ui-mini-loader-BVtHTqxS.js} +2 -2
  77. package/dist/{vue-ui-mini-loader-Bfq2MNWu.cjs → vue-ui-mini-loader-MMvpm9pz.cjs} +1 -1
  78. package/dist/{vue-ui-molecule-BFnOIxxs.js → vue-ui-molecule-BaJpDZND.js} +78 -71
  79. package/dist/vue-ui-molecule-BiYIcOKN.cjs +1 -0
  80. package/dist/{vue-ui-mood-radar-CR1v5v2x.js → vue-ui-mood-radar-BUNDwsEI.js} +132 -125
  81. package/dist/vue-ui-mood-radar-C6jMyFkb.cjs +1 -0
  82. package/dist/vue-ui-nested-donuts-DKO2dFKo.cjs +17 -0
  83. package/dist/{vue-ui-nested-donuts-DEiloQzq.js → vue-ui-nested-donuts-mDy2hXa6.js} +198 -189
  84. package/dist/{vue-ui-onion-LsEhBe4x.js → vue-ui-onion-DwFG3HAI.js} +248 -239
  85. package/dist/vue-ui-onion-GWNoZRhw.cjs +5 -0
  86. package/dist/vue-ui-parallel-coordinate-plot-DODn4Ohf.cjs +8 -0
  87. package/dist/{vue-ui-parallel-coordinate-plot-CTlIjJqG.js → vue-ui-parallel-coordinate-plot-ImET_zeo.js} +233 -224
  88. package/dist/{vue-ui-quadrant-DKVVFufb.js → vue-ui-quadrant-BeveRihK.js} +188 -179
  89. package/dist/vue-ui-quadrant-yuFAxV-5.cjs +1 -0
  90. package/dist/{vue-ui-quick-chart-8vJikiGH.js → vue-ui-quick-chart-DAhllTfa.js} +343 -334
  91. package/dist/{vue-ui-quick-chart-gG5Ar8-i.cjs → vue-ui-quick-chart-DgFDBzjS.cjs} +2 -2
  92. package/dist/vue-ui-radar-BJH5SE6-.cjs +1 -0
  93. package/dist/{vue-ui-radar-20QhOUer.js → vue-ui-radar-BllatzRa.js} +174 -165
  94. package/dist/{vue-ui-rating-Bbzm5nUK.cjs → vue-ui-rating-BoZo7caL.cjs} +1 -1
  95. package/dist/{vue-ui-rating-DRWJsve1.js → vue-ui-rating-D1ykV4xO.js} +2 -2
  96. package/dist/vue-ui-relation-circle-CKmjOle7.cjs +1 -0
  97. package/dist/{vue-ui-relation-circle-I45_Sk5l.js → vue-ui-relation-circle-xv2l5Be9.js} +142 -133
  98. package/dist/{vue-ui-rings-DG8GCi3y.js → vue-ui-rings-B-ZcX6y1.js} +165 -156
  99. package/dist/vue-ui-rings-DjH3CK23.cjs +2 -0
  100. package/dist/{vue-ui-scatter-Hqu5-F2H.js → vue-ui-scatter-DG43ck1g.js} +269 -260
  101. package/dist/vue-ui-scatter-SBCXAl7q.cjs +1 -0
  102. package/dist/{vue-ui-screenshot-D8nxd5RV.cjs → vue-ui-screenshot-C1JBP_N0.cjs} +1 -1
  103. package/dist/{vue-ui-screenshot-cjiqbtLK.js → vue-ui-screenshot-p3ca8cAl.js} +1 -1
  104. package/dist/{vue-ui-skeleton-aZmkNzAe.js → vue-ui-skeleton-BYssP0K4.js} +419 -379
  105. package/dist/vue-ui-skeleton-BqKzuhkB.cjs +41 -0
  106. package/dist/{vue-ui-smiley-B1TA19Hv.cjs → vue-ui-smiley-BXKVpHl2.cjs} +1 -1
  107. package/dist/{vue-ui-smiley-ChNvxygm.js → vue-ui-smiley-D7dDCdpq.js} +2 -2
  108. package/dist/vue-ui-spark-trend-9V60hM3Z.cjs +1 -0
  109. package/dist/{vue-ui-spark-trend-CQxELQcf.js → vue-ui-spark-trend-GWFrO_0z.js} +86 -79
  110. package/dist/vue-ui-sparkbar-Bgn6AY0q.cjs +1 -0
  111. package/dist/{vue-ui-sparkbar-0ixbKZzf.js → vue-ui-sparkbar-CwqlyAyv.js} +90 -83
  112. package/dist/vue-ui-sparkgauge-Dqntz2Zv.cjs +1 -0
  113. package/dist/{vue-ui-sparkgauge-pdYb7OwH.js → vue-ui-sparkgauge-F2XbiXyA.js} +57 -50
  114. package/dist/{vue-ui-sparkhistogram-N69h2q0U.js → vue-ui-sparkhistogram-DRIKK6Ym.js} +74 -67
  115. package/dist/vue-ui-sparkhistogram-DnY4-Sdn.cjs +1 -0
  116. package/dist/vue-ui-sparkline-CAEs-gtK.cjs +1 -0
  117. package/dist/{vue-ui-sparkline-2BKYZMOb.js → vue-ui-sparkline-Cxtzdlhi.js} +134 -125
  118. package/dist/{vue-ui-sparkstackbar-sh03cuOU.js → vue-ui-sparkstackbar-0A1klq9s.js} +84 -77
  119. package/dist/vue-ui-sparkstackbar-D37ms1rx.cjs +1 -0
  120. package/dist/{vue-ui-stackbar-B1si-1RM.js → vue-ui-stackbar-ByOuJSdM.js} +205 -196
  121. package/dist/{vue-ui-stackbar-Dy_saeSe.cjs → vue-ui-stackbar-wun4S3C0.cjs} +2 -2
  122. package/dist/{vue-ui-strip-plot-BYn-QrTQ.js → vue-ui-strip-plot-CMD0MSqY.js} +218 -209
  123. package/dist/vue-ui-strip-plot-IQrypGvz.cjs +1 -0
  124. package/dist/{vue-ui-table-DQORPCDJ.js → vue-ui-table-B75DJ39t.js} +1 -1
  125. package/dist/{vue-ui-table-Ce4waJaj.cjs → vue-ui-table-aj0XZ7T5.cjs} +1 -1
  126. package/dist/{vue-ui-table-heatmap-Csp7Tx8N.js → vue-ui-table-heatmap-BO2ugWqD.js} +55 -48
  127. package/dist/vue-ui-table-heatmap-Ce93TyBF.cjs +1 -0
  128. package/dist/{vue-ui-table-sparkline-DdwVrfUj.js → vue-ui-table-sparkline-CbjfAaj2.js} +88 -81
  129. package/dist/vue-ui-table-sparkline-D6KJjDnU.cjs +1 -0
  130. package/dist/{vue-ui-thermometer-I6ZnlfAv.js → vue-ui-thermometer-Pq4PvSIP.js} +67 -60
  131. package/dist/vue-ui-thermometer-swmi4FmH.cjs +1 -0
  132. package/dist/{vue-ui-timer-COOXcn14.cjs → vue-ui-timer-B6IB6yS6.cjs} +1 -1
  133. package/dist/{vue-ui-timer-pi1SazTU.js → vue-ui-timer-Bk3BvB-B.js} +6 -6
  134. package/dist/{vue-ui-tiremarks-vdPQYiDp.js → vue-ui-tiremarks-CU9HJIqf.js} +84 -77
  135. package/dist/vue-ui-tiremarks-Cn79uQH2.cjs +1 -0
  136. package/dist/vue-ui-treemap-BEMuKV7x.cjs +1 -0
  137. package/dist/{vue-ui-treemap-3FNUlKxL.js → vue-ui-treemap-DY-lRAhC.js} +211 -202
  138. package/dist/vue-ui-vertical-bar-B1e2RxTv.cjs +4 -0
  139. package/dist/{vue-ui-vertical-bar-DwxpB46q.js → vue-ui-vertical-bar-CtnIKsM1.js} +359 -350
  140. package/dist/vue-ui-waffle-BqP7Okgu.cjs +1 -0
  141. package/dist/{vue-ui-waffle-XecHJIc-.js → vue-ui-waffle-reOsx-gJ.js} +177 -168
  142. package/dist/vue-ui-wheel-BuWUGnkC.cjs +1 -0
  143. package/dist/{vue-ui-wheel-Bbih5sSL.js → vue-ui-wheel-kYxny3vn.js} +95 -86
  144. package/dist/{vue-ui-word-cloud-DnhXUn5x.js → vue-ui-word-cloud-DbMqrHAf.js} +192 -183
  145. package/dist/vue-ui-word-cloud-DwLY4QdB.cjs +1 -0
  146. package/dist/vue-ui-xy-CGWzriYn.cjs +3 -0
  147. package/dist/{vue-ui-xy-canvas-C8c2X5fk.js → vue-ui-xy-canvas-B0HTR7OV.js} +255 -246
  148. package/dist/vue-ui-xy-canvas-CgJd5FiT.cjs +9 -0
  149. package/dist/{vue-ui-xy-CqlRuFMc.js → vue-ui-xy-rbACig0h.js} +131 -122
  150. package/package.json +1 -1
  151. package/dist/index-FfZRtJ6A.cjs +0 -9
  152. package/dist/useResponsive-B3TrDDIG.cjs +0 -1
  153. package/dist/useResponsive-NZB-WLRF.js +0 -187
  154. package/dist/vue-ui-age-pyramid-BZcAwcVQ.cjs +0 -1
  155. package/dist/vue-ui-bullet-ChaEgXvR.cjs +0 -23
  156. package/dist/vue-ui-candlestick--hPCfMFH.cjs +0 -2
  157. package/dist/vue-ui-carousel-table-DpRQklDZ.cjs +0 -1
  158. package/dist/vue-ui-chestnut-ae6x87wl.cjs +0 -6
  159. package/dist/vue-ui-donut-CplNylps.cjs +0 -1
  160. package/dist/vue-ui-donut-evolution-CQpr-6IS.cjs +0 -1
  161. package/dist/vue-ui-dumbbell-_ijaYr8W.cjs +0 -9
  162. package/dist/vue-ui-flow-BPt35d5K.cjs +0 -1
  163. package/dist/vue-ui-galaxy-e06PkTmp.cjs +0 -1
  164. package/dist/vue-ui-gauge-DiZVIU0D.cjs +0 -1
  165. package/dist/vue-ui-heatmap-CbZcv_2I.cjs +0 -1
  166. package/dist/vue-ui-molecule-CbKMLrDT.cjs +0 -1
  167. package/dist/vue-ui-mood-radar-6LmFXuiw.cjs +0 -1
  168. package/dist/vue-ui-nested-donuts-DS0fjiLi.cjs +0 -17
  169. package/dist/vue-ui-onion-CLvvu4Ku.cjs +0 -5
  170. package/dist/vue-ui-parallel-coordinate-plot-BWg8OFqH.cjs +0 -8
  171. package/dist/vue-ui-quadrant-OM5J1mG3.cjs +0 -1
  172. package/dist/vue-ui-radar-CAaHjDO7.cjs +0 -1
  173. package/dist/vue-ui-relation-circle-BoGAFXuS.cjs +0 -1
  174. package/dist/vue-ui-rings-B9WQ7S5m.cjs +0 -2
  175. package/dist/vue-ui-scatter-BZfg1YIN.cjs +0 -1
  176. package/dist/vue-ui-skeleton-Djv08J67.cjs +0 -41
  177. package/dist/vue-ui-spark-trend-BqrPr63O.cjs +0 -1
  178. package/dist/vue-ui-sparkbar-CrTEPTU5.cjs +0 -1
  179. package/dist/vue-ui-sparkgauge-BYxpe_WV.cjs +0 -1
  180. package/dist/vue-ui-sparkhistogram-D21XDUH2.cjs +0 -1
  181. package/dist/vue-ui-sparkline-Cf4m-Fxo.cjs +0 -1
  182. package/dist/vue-ui-sparkstackbar-dAS8XoJs.cjs +0 -1
  183. package/dist/vue-ui-strip-plot-D53LABpZ.cjs +0 -1
  184. package/dist/vue-ui-table-heatmap-EqHt-O7Y.cjs +0 -1
  185. package/dist/vue-ui-table-sparkline-DONmVOMh.cjs +0 -1
  186. package/dist/vue-ui-thermometer-hQBkMa7u.cjs +0 -1
  187. package/dist/vue-ui-tiremarks-hdNqoGyd.cjs +0 -1
  188. package/dist/vue-ui-treemap-Cv0TSFQa.cjs +0 -1
  189. package/dist/vue-ui-vertical-bar-C--Ma0Dw.cjs +0 -4
  190. package/dist/vue-ui-waffle-CKM0QyJN.cjs +0 -1
  191. package/dist/vue-ui-wheel-C0dJrzOJ.cjs +0 -1
  192. package/dist/vue-ui-word-cloud-Cfd2wxsT.cjs +0 -1
  193. package/dist/vue-ui-xy-BDpqVzAq.cjs +0 -3
  194. package/dist/vue-ui-xy-canvas-Cansjd3L.cjs +0 -9
@@ -1,10 +1,14 @@
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 c, 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-DnVHQ2xI.js";
3
- import { u as Oe } from "./useNestedProp-Cox0K0Y5.js";
4
- import { u as Pe, U as Re } from "./usePrinter-BEeNAqS5.js";
5
- import ze from "./vue-ui-skeleton-aZmkNzAe.js";
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 N, normalizeStyle as d, unref as C, normalizeClass as Ae, createTextVNode as G, toDisplayString as M, renderSlot as v, Fragment as q, renderList as D, normalizeProps as X, guardReactiveProps as j, createCommentVNode as O, createBlock as ve, createSlots as ke, withCtx as P } from "vue";
2
+ import { u as xe, c as we, o as J, e as K, s as Ie, q as Fe, r as Be } from "./index-Bya_q1J-.js";
3
+ import { u as Oe } from "./useNestedProp-B33hazbH.js";
4
+ import { u as Pe, U as Re } from "./usePrinter-CiHd1FwD.js";
5
+ import ze from "./vue-ui-skeleton-BYssP0K4.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
+ key: 2,
9
+ ref: "source",
10
+ dir: "auto"
11
+ }, Ue = {
8
12
  __name: "vue-ui-carousel-table",
9
13
  props: {
10
14
  config: {
@@ -20,8 +24,8 @@ const Ne = ["id"], Se = ["height"], He = ["data-cell", "height"], Le = {
20
24
  }
21
25
  }
22
26
  },
23
- setup(g, { expose: pe }) {
24
- const l = g, { vue_ui_carousel_table: ce } = ke(), S = o(we()), Q = o(!1), $ = o(!!l.dataset);
27
+ setup(g, { expose: ce }) {
28
+ const l = g, { vue_ui_carousel_table: pe } = xe(), S = o(we()), Q = o(!1), $ = o(!!l.dataset);
25
29
  F(() => {
26
30
  W();
27
31
  });
@@ -46,7 +50,7 @@ const Ne = ["id"], Se = ["height"], He = ["data-cell", "height"], Le = {
46
50
  function Y() {
47
51
  return Oe({
48
52
  userConfig: l.config,
49
- defaultConfig: ce
53
+ defaultConfig: pe
50
54
  });
51
55
  }
52
56
  V(() => l.config, (t) => {
@@ -57,30 +61,30 @@ const Ne = ["id"], Se = ["height"], He = ["data-cell", "height"], Le = {
57
61
  const { isPrinting: Z, isImaging: _, generatePdf: he, generateImage: ee } = Pe({
58
62
  elementId: `carousel-table_${S.value}`,
59
63
  fileName: e.value.caption.text || "vue-ui-carousel-table"
60
- }), v = o({
64
+ }), c = o({
61
65
  showAnimation: e.value.animation.use
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);
66
+ }), u = o(null), te = o(null), T = o(null), A = o(null), k = o(0), R = o(0), z = o(!1), x = o(null), h = o(null), w = o(0);
63
67
  function H() {
64
- k.value && (h.value = {
65
- elements: k.value.getElementsByTagName("tr"),
66
- heights: Array.from(k.value.getElementsByTagName("tr")).map((t) => t.getBoundingClientRect().height)
68
+ x.value && (h.value = {
69
+ elements: x.value.getElementsByTagName("tr"),
70
+ heights: Array.from(x.value.getElementsByTagName("tr")).map((t) => t.getBoundingClientRect().height)
67
71
  });
68
72
  }
69
73
  F(H);
70
- const fe = B(() => !h.value || !h.value.heights.length ? 0 : Math.max(...h.value.heights) + x.value + P.value), ge = B(() => l.dataset.body ? e.value.tbody.tr.visible <= l.dataset.body.length ? e.value.tbody.tr.visible : l.dataset.body.length : 0), me = B(() => (e.value.tbody.tr.height + e.value.tbody.tr.td.padding.top + e.value.tbody.tr.td.padding.bottom + e.value.tbody.tr.border.size * 2) * ge.value + x.value + P.value), z = o(0), I = o(null), m = o(0), b = o(!1), ae = o(0);
74
+ const fe = B(() => !h.value || !h.value.heights.length ? 0 : Math.max(...h.value.heights) + k.value + R.value), ge = B(() => l.dataset.body ? e.value.tbody.tr.visible <= l.dataset.body.length ? e.value.tbody.tr.visible : l.dataset.body.length : 0), me = B(() => (e.value.tbody.tr.height + e.value.tbody.tr.td.padding.top + e.value.tbody.tr.td.padding.bottom + e.value.tbody.tr.border.size * 2) * ge.value + k.value + R.value), E = o(0), I = o(null), m = o(0), b = o(!1), ae = o(0);
71
75
  F(() => {
72
- T.value && (x.value = T.value.getBoundingClientRect().height), A.value && (P.value = A.value.getBoundingClientRect().height), v.value.showAnimation && h.value && oe();
76
+ T.value && (k.value = T.value.getBoundingClientRect().height), A.value && (R.value = A.value.getBoundingClientRect().height), c.value.showAnimation && h.value && oe();
73
77
  }), F(() => {
74
- if (s.value) {
78
+ if (u.value) {
75
79
  let a = function() {
76
80
  const i = t.getBoundingClientRect().bottom;
77
81
  n.forEach((p) => {
78
82
  p.getBoundingClientRect().top < i ? p.style.visibility = "hidden" : p.style.visibility = "visible";
79
83
  });
80
84
  };
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);
85
+ const t = u.value.querySelector("thead"), n = Array.from(x.value.querySelectorAll("tr"));
86
+ u.value.addEventListener("scroll", a), a(), re(() => {
87
+ u.value.removeEventListener("scroll", a);
84
88
  });
85
89
  }
86
90
  });
@@ -91,14 +95,14 @@ const Ne = ["id"], Se = ["height"], He = ["data-cell", "height"], Le = {
91
95
  !I.value && !b.value && (I.value = requestAnimationFrame(ne));
92
96
  }
93
97
  function ye() {
94
- if (!s.value) return !1;
95
- const { scrollTop: t, scrollHeight: n, clientHeight: a } = s.value;
98
+ if (!u.value) return !1;
99
+ const { scrollTop: t, scrollHeight: n, clientHeight: a } = u.value;
96
100
  return t + a >= n;
97
101
  }
98
102
  function ne(t) {
99
103
  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, s.value && s.value.scrollTo({
101
- top: z.value,
104
+ m.value || (m.value = t), t - m.value >= e.value.animation.speedMs && (E.value += h.value.heights[w.value], (ye() || w.value >= h.value.heights.length) && (E.value = 0, w.value = -1), w.value += 1, u.value && u.value.scrollTo({
105
+ top: E.value,
102
106
  behavior: "smooth"
103
107
  }), m.value = t), I.value = requestAnimationFrame(ne);
104
108
  }
@@ -107,7 +111,7 @@ const Ne = ["id"], Se = ["height"], He = ["data-cell", "height"], Le = {
107
111
  }
108
112
  re(f);
109
113
  function y() {
110
- !b.value || !v.value.showAnimation || (b.value = !1, m.value = 0, oe());
114
+ !b.value || !c.value.showAnimation || (b.value = !1, m.value = 0, oe());
111
115
  }
112
116
  function Ce() {
113
117
  e.value.animation.pauseOnHover && f();
@@ -122,25 +126,25 @@ const Ne = ["id"], Se = ["height"], He = ["data-cell", "height"], Le = {
122
126
  V(
123
127
  () => e.value.animation.use,
124
128
  (t) => {
125
- t ? (v.value.showAnimation = !0, y()) : (v.value.showAnimation = !1, f());
129
+ t ? (c.value.showAnimation = !0, y()) : (c.value.showAnimation = !1, f());
126
130
  }
127
131
  );
128
132
  const Te = B(() => e.value.responsiveBreakpoint);
129
133
  F(() => {
130
134
  const t = new ResizeObserver((n) => {
131
135
  n.forEach((a) => {
132
- R.value = a.contentRect.width < Te.value;
133
- }), x.value = T.value ? T.value.getBoundingClientRect().height : 0, P.value = A.value ? A.value.getBoundingClientRect().height : 0, w.value = 0, de(() => {
134
- f(), m.value = 0, z.value = 0, H(), y();
136
+ z.value = a.contentRect.width < Te.value;
137
+ }), k.value = T.value ? T.value.getBoundingClientRect().height : 0, R.value = A.value ? A.value.getBoundingClientRect().height : 0, w.value = 0, de(() => {
138
+ f(), m.value = 0, E.value = 0, H(), y();
135
139
  });
136
140
  });
137
- s.value && t.observe(s.value);
141
+ u.value && t.observe(u.value);
138
142
  });
139
143
  function ie() {
140
144
  he();
141
145
  }
142
146
  function se() {
143
- v.value.showAnimation = !v.value.showAnimation, v.value.showAnimation ? y() : f();
147
+ c.value.showAnimation = !c.value.showAnimation, c.value.showAnimation ? y() : f();
144
148
  }
145
149
  function ue() {
146
150
  de(() => {
@@ -156,21 +160,21 @@ const Ne = ["id"], Se = ["height"], He = ["data-cell", "height"], Le = {
156
160
  });
157
161
  });
158
162
  }
159
- return pe({
163
+ return ce({
160
164
  pauseAnimation: f,
161
165
  resumeAnimation: y,
162
166
  toggleAnimation: se,
163
167
  generateCsv: ue,
164
168
  generatePdf: ie,
165
169
  generateImage: ee
166
- }), (t, n) => (u(), r("div", {
170
+ }), (t, n) => (s(), r("div", {
167
171
  style: { position: "relative", overflow: "visible" },
168
172
  ref_key: "chartContainer",
169
173
  ref: te
170
174
  }, [
171
- E("div", {
175
+ N("div", {
172
176
  ref_key: "tableContainer",
173
- ref: s,
177
+ ref: u,
174
178
  id: `carousel-table_${S.value}`,
175
179
  style: d({
176
180
  height: C(Z) || C(_) ? "auto" : `${Math.max(me.value, fe.value)}px`,
@@ -179,14 +183,14 @@ const Ne = ["id"], Se = ["height"], He = ["data-cell", "height"], Le = {
179
183
  overflow: "auto",
180
184
  fontFamily: e.value.fontFamily
181
185
  }),
182
- class: Ae({ "vue-ui-responsive": R.value, "is-playing": !b.value }),
186
+ class: Ae({ "vue-ui-responsive": z.value, "is-playing": !b.value }),
183
187
  onMouseover: n[0] || (n[0] = (a) => Ce()),
184
188
  onMouseleave: n[1] || (n[1] = (a) => y()),
185
189
  onTouchstart: n[2] || (n[2] = (a) => $e()),
186
190
  onTouchend: n[3] || (n[3] = (a) => le()),
187
191
  onTouchcancel: n[4] || (n[4] = (a) => le())
188
192
  }, [
189
- $.value ? (u(), r("table", {
193
+ $.value ? (s(), r("table", {
190
194
  key: 0,
191
195
  class: "vue-data-ui-carousel-table",
192
196
  style: d({
@@ -196,7 +200,7 @@ const Ne = ["id"], Se = ["height"], He = ["data-cell", "height"], Le = {
196
200
  borderCollapse: "collapse"
197
201
  })
198
202
  }, [
199
- E("caption", {
203
+ N("caption", {
200
204
  ref_key: "caption",
201
205
  ref: T,
202
206
  class: "vue-data-ui-carousel-table-caption",
@@ -210,28 +214,28 @@ const Ne = ["id"], Se = ["height"], He = ["data-cell", "height"], Le = {
210
214
  paddingRight: e.value.caption.padding.right + "px",
211
215
  paddingBottom: e.value.caption.padding.bottom + "px",
212
216
  paddingLeft: e.value.caption.padding.left + "px",
213
- boxShadow: R.value ? e.value.thead.tr.style.boxShadow : "none",
217
+ boxShadow: z.value ? e.value.thead.tr.style.boxShadow : "none",
214
218
  minHeight: "36px"
215
219
  })
216
220
  }, [
217
221
  G(M(e.value.caption.text && !t.$slots.caption ? e.value.caption.text : "") + " ", 1),
218
- c(t.$slots, "caption", {}, void 0, !0)
222
+ v(t.$slots, "caption", {}, void 0, !0)
219
223
  ], 4),
220
- E("thead", {
221
- style: d({ ...e.value.thead.style, position: "sticky", top: `${x.value}px`, zIndex: 1 })
224
+ N("thead", {
225
+ style: d({ ...e.value.thead.style, position: "sticky", top: `${k.value}px`, zIndex: 1 })
222
226
  }, [
223
- E("tr", {
227
+ N("tr", {
224
228
  ref_key: "tableRow",
225
229
  ref: A,
226
230
  role: "row",
227
231
  style: d({
228
232
  ...e.value.thead.tr.style,
229
233
  border: e.value.thead.tr.border.size ? `${e.value.thead.tr.border.size}px solid ${e.value.thead.tr.border.color}` : "none",
230
- boxShadow: R.value ? "none" : e.value.thead.tr.style.boxShadow
234
+ boxShadow: z.value ? "none" : e.value.thead.tr.style.boxShadow
231
235
  }),
232
236
  height: `${e.value.thead.tr.height}px`
233
237
  }, [
234
- (u(!0), r(q, null, D(g.dataset.head, (a, i) => (u(), r("th", {
238
+ (s(!0), r(q, null, D(g.dataset.head, (a, i) => (s(), r("th", {
235
239
  role: "cell",
236
240
  key: `th_${i}`,
237
241
  style: d({
@@ -244,26 +248,26 @@ const Ne = ["id"], Se = ["height"], He = ["data-cell", "height"], Le = {
244
248
  })
245
249
  }, [
246
250
  G(M(t.$slots.th ? "" : a) + " ", 1),
247
- c(t.$slots, "th", X(j({ th: a, colIndex: i })), void 0, !0)
251
+ v(t.$slots, "th", X(j({ th: a, colIndex: i })), void 0, !0)
248
252
  ], 4))), 128))
249
253
  ], 12, Se)
250
254
  ], 4),
251
- g.dataset.body && g.dataset.head ? (u(), r("tbody", {
255
+ g.dataset.body && g.dataset.head ? (s(), r("tbody", {
252
256
  key: 0,
253
257
  ref_key: "tbody",
254
- ref: k,
258
+ ref: x,
255
259
  style: d({
256
260
  clipPath: "inset(0,0,0,0)"
257
261
  })
258
262
  }, [
259
- (u(!0), r(q, null, D(g.dataset.body, (a, i) => (u(), r("tr", {
263
+ (s(!0), r(q, null, D(g.dataset.body, (a, i) => (s(), r("tr", {
260
264
  style: d({
261
265
  ...e.value.tbody.tr.style,
262
266
  border: `${e.value.tbody.tr.border.size}px solid ${e.value.tbody.tr.border.color}`,
263
267
  verticalAlign: "middle"
264
268
  })
265
269
  }, [
266
- (u(!0), r(q, null, D(a, (p, U) => (u(), r("td", {
270
+ (s(!0), r(q, null, D(a, (p, U) => (s(), r("td", {
267
271
  role: "cell",
268
272
  "data-cell": g.dataset.head[U] || "",
269
273
  style: d({
@@ -279,19 +283,19 @@ const Ne = ["id"], Se = ["height"], He = ["data-cell", "height"], Le = {
279
283
  height: `${e.value.tbody.tr.height}px`
280
284
  }, [
281
285
  G(M(t.$slots.td ? "" : p) + " ", 1),
282
- c(t.$slots, "td", X(j({ td: p, rowIndex: i, colIndex: U })), void 0, !0)
286
+ v(t.$slots, "td", X(j({ td: p, rowIndex: i, colIndex: U })), void 0, !0)
283
287
  ], 12, He))), 256))
284
288
  ], 4))), 256))
285
- ], 4)) : N("", !0)
286
- ], 4)) : N("", !0)
289
+ ], 4)) : O("", !0)
290
+ ], 4)) : O("", !0)
287
291
  ], 46, Ne),
288
- $.value ? N("", !0) : (u(), ve(ze, {
292
+ $.value ? O("", !0) : (s(), ve(ze, {
289
293
  key: 0,
290
294
  config: {
291
295
  type: "table"
292
296
  }
293
297
  })),
294
- e.value.userOptions.show && $.value ? (u(), ve(Re, {
298
+ e.value.userOptions.show && $.value ? (s(), ve(Re, {
295
299
  ref: "details",
296
300
  key: `user_option_${ae.value}`,
297
301
  backgroundColor: e.value.style.backgroundColor,
@@ -306,7 +310,7 @@ const Ne = ["id"], Se = ["height"], He = ["data-cell", "height"], Le = {
306
310
  hasTable: !1,
307
311
  hasLabel: !1,
308
312
  hasAnimation: e.value.userOptions.buttons.animation,
309
- isAnimation: !v.value.showAnimation,
313
+ isAnimation: !c.value.showAnimation,
310
314
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
311
315
  isFullscreen: Q.value,
312
316
  chartElement: te.value,
@@ -319,46 +323,49 @@ const Ne = ["id"], Se = ["height"], He = ["data-cell", "height"], Le = {
319
323
  onGenerateImage: C(ee),
320
324
  onToggleAnimation: se,
321
325
  onToggleFullscreen: be
322
- }, xe({ _: 2 }, [
326
+ }, ke({ _: 2 }, [
323
327
  t.$slots.optionPdf ? {
324
328
  name: "optionPdf",
325
- fn: O(() => [
326
- c(t.$slots, "optionPdf", {}, void 0, !0)
329
+ fn: P(() => [
330
+ v(t.$slots, "optionPdf", {}, void 0, !0)
327
331
  ]),
328
332
  key: "0"
329
333
  } : void 0,
330
334
  t.$slots.optionCsv ? {
331
335
  name: "optionCsv",
332
- fn: O(() => [
333
- c(t.$slots, "optionCsv", {}, void 0, !0)
336
+ fn: P(() => [
337
+ v(t.$slots, "optionCsv", {}, void 0, !0)
334
338
  ]),
335
339
  key: "1"
336
340
  } : void 0,
337
341
  t.$slots.optionImg ? {
338
342
  name: "optionImg",
339
- fn: O(() => [
340
- c(t.$slots, "optionImg", {}, void 0, !0)
343
+ fn: P(() => [
344
+ v(t.$slots, "optionImg", {}, void 0, !0)
341
345
  ]),
342
346
  key: "2"
343
347
  } : void 0,
344
348
  t.$slots.optionAnimation ? {
345
349
  name: "optionAnimation",
346
- fn: O(() => [
347
- c(t.$slots, "optionAnimation", {}, void 0, !0)
350
+ fn: P(() => [
351
+ v(t.$slots, "optionAnimation", {}, void 0, !0)
348
352
  ]),
349
353
  key: "3"
350
354
  } : void 0,
351
355
  t.$slots.optionFullscreen ? {
352
356
  name: "optionFullscreen",
353
- fn: O(({ toggleFullscreen: a, isFullscreen: i }) => [
354
- c(t.$slots, "optionFullscreen", X(j({ toggleFullscreen: a, isFullscreen: i })), void 0, !0)
357
+ fn: P(({ toggleFullscreen: a, isFullscreen: i }) => [
358
+ v(t.$slots, "optionFullscreen", X(j({ toggleFullscreen: a, isFullscreen: i })), void 0, !0)
355
359
  ]),
356
360
  key: "4"
357
361
  } : void 0
358
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasXls", "hasAnimation", "isAnimation", "hasFullscreen", "isFullscreen", "chartElement", "position", "titles", "onGenerateImage"])) : N("", !0)
362
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasXls", "hasAnimation", "isAnimation", "hasFullscreen", "isFullscreen", "chartElement", "position", "titles", "onGenerateImage"])) : O("", !0),
363
+ t.$slots.source ? (s(), r("div", Le, [
364
+ v(t.$slots, "source", {}, void 0, !0)
365
+ ], 512)) : O("", !0)
359
366
  ], 512));
360
367
  }
361
- }, Xe = /* @__PURE__ */ Ee(Le, [["__scopeId", "data-v-9f07c041"]]);
368
+ }, je = /* @__PURE__ */ Ee(Ue, [["__scopeId", "data-v-1b9d6aaa"]]);
362
369
  export {
363
- Xe as default
370
+ je as default
364
371
  };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),u=require("./index-eFox7weK.cjs"),ae=require("./useNestedProp-BkgEhTQY.cjs"),j=require("./usePrinter-CSRFnDBU.cjs"),ne=require("./vue-ui-skeleton-BqKzuhkB.cjs"),le=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),re=["id"],ie=["height"],ue=["data-cell","height"],se={key:2,ref:"source",dir:"auto"},de={__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),k=e.ref(0),$=e.ref(0),x=e.ref(!1),C=e.ref(null),c=e.ref(null),B=e.ref(0);function S(){C.value&&(c.value={elements:C.value.getElementsByTagName("tr"),heights:Array.from(C.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)+k.value+$.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+k.value+$.value),w=e.ref(0),T=e.ref(null),f=e.ref(0),m=e.ref(!1),L=e.ref(0);e.onMounted(()=>{b.value&&(k.value=b.value.getBoundingClientRect().height),y.value&&($.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(C.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(){!T.value&&!m.value&&(T.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[B.value],(Z()||B.value>=c.value.heights.length)&&(w.value=0,B.value=-1),B.value+=1,i.value&&i.value.scrollTo({top:w.value,behavior:"smooth"}),f.value=o),T.value=requestAnimationFrame(q)}function v(){m.value=!0,cancelAnimationFrame(T.value),T.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=>{x.value=a.contentRect.width<oe.value}),k.value=b.value?b.value.getBoundingClientRect().height:0,$.value=y.value?y.value.getBoundingClientRect().height:0,B.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":x.value,"is-playing":!m.value}),onMouseover: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:x.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:`${k.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:x.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:C,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,position:t.value.userOptions.position,titles:{...t.value.userOptions.buttonTitles},zIndex:3,offsetX:12,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","position","titles","onGenerateImage"])):e.createCommentVNode("",!0),o.$slots.source?(e.openBlock(),e.createElementBlock("div",se,[e.renderSlot(o.$slots,"source",{},void 0,!0)],512)):e.createCommentVNode("",!0)],512))}},ce=le._export_sfc(de,[["__scopeId","data-v-1b9d6aaa"]]);exports.default=ce;