vue-data-ui 2.6.5 → 2.6.7

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 (201) hide show
  1. package/dist/{Arrow-DfGZcZu4.js → Arrow-BxUmDF04.js} +1 -1
  2. package/dist/{Arrow-CyeGXbbD.cjs → Arrow-PPbxds1Q.cjs} +1 -1
  3. package/dist/{BaseIcon-B5DvqSYe.cjs → BaseIcon-BmVwfJg2.cjs} +1 -1
  4. package/dist/{BaseIcon-BzuvxztF.js → BaseIcon-CDx9pxUG.js} +1 -1
  5. package/dist/{DataTable-zpYtivMM.cjs → DataTable-Cv_TVAas.cjs} +1 -1
  6. package/dist/{DataTable-BCCBpyhr.js → DataTable-TjJIVFlL.js} +2 -2
  7. package/dist/{Legend-CJkkmRNE.cjs → Legend-DunrYGuw.cjs} +1 -1
  8. package/dist/{Legend-CyJrN721.js → Legend-NKGwxkI7.js} +2 -2
  9. package/dist/{PackageVersion-Dv25_ZxF.cjs → PackageVersion-DJKkRuOD.cjs} +1 -1
  10. package/dist/{PackageVersion-PZr4BkQ5.js → PackageVersion-QRvxRYPv.js} +1 -1
  11. package/dist/{PenAndPaper-Cniu2YEX.js → PenAndPaper-CxC1lWGK.js} +3 -3
  12. package/dist/{PenAndPaper-Cx3_Liuv.cjs → PenAndPaper-MTTJ3Gd9.cjs} +1 -1
  13. package/dist/{Shape-BXTmpde5.js → Shape-58uyOuYc.js} +26 -23
  14. package/dist/Shape-D_1vUjCL.cjs +1 -0
  15. package/dist/{Slicer-DzKrIvL0.cjs → Slicer-BGEieXKn.cjs} +1 -1
  16. package/dist/{Slicer-D3tEQT9Z.js → Slicer-C7ormJRw.js} +2 -2
  17. package/dist/{Title-CXBc1TH6.js → Title-BI8etrRU.js} +1 -1
  18. package/dist/{Title-DdUtciJN.cjs → Title-Dk92HYMu.cjs} +1 -1
  19. package/dist/Tooltip-ClMeqejQ.cjs +1 -0
  20. package/dist/{Tooltip-C9lPh5bN.js → Tooltip-Cxc8c50d.js} +23 -20
  21. package/dist/{index-DLCyjPV0.js → index-9EeNZMz1.js} +6 -1
  22. package/dist/index-DEnRHTzk.cjs +9 -0
  23. package/dist/style.css +1 -1
  24. package/dist/types/vue-data-ui.d.cts +89 -62
  25. package/dist/types/vue-data-ui.d.ts +89 -62
  26. package/dist/useChartAccessibility-BWojgys7.js +13 -0
  27. package/dist/useChartAccessibility-Cm7nkzTG.cjs +1 -0
  28. package/dist/{useNestedProp-BdTohsDJ.cjs → useNestedProp-BNT60LxO.cjs} +1 -1
  29. package/dist/{useNestedProp-q86V3_LA.js → useNestedProp-df_bKQEI.js} +1 -1
  30. package/dist/{usePrinter-CPqTP09H.cjs → usePrinter-dyVny55M.cjs} +1 -1
  31. package/dist/{usePrinter-CpHZjw3G.js → usePrinter-ngrh00Ym.js} +1 -1
  32. package/dist/{vue-data-ui-CR9Dof80.cjs → vue-data-ui-BYX-I7HQ.cjs} +1 -1
  33. package/dist/{vue-data-ui-CzqznXmA.js → vue-data-ui-CDD7JcMs.js} +61 -61
  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-DvHdA_uo.js → vue-ui-3d-bar-BArLjlrc.js} +171 -168
  37. package/dist/vue-ui-3d-bar-DegdXf_S.cjs +19 -0
  38. package/dist/{vue-ui-accordion-FM16tlk7.cjs → vue-ui-accordion-D2qxHGzp.cjs} +1 -1
  39. package/dist/{vue-ui-accordion-DR2qjfsa.js → vue-ui-accordion-Qo8JxnIN.js} +3 -3
  40. package/dist/{vue-ui-age-pyramid-BoXxK9_W.js → vue-ui-age-pyramid-Biz02m7c.js} +85 -82
  41. package/dist/vue-ui-age-pyramid-kpaaJ2Gx.cjs +1 -0
  42. package/dist/{vue-ui-annotator-5tI8NuFh.cjs → vue-ui-annotator-By6XNYm0.cjs} +1 -1
  43. package/dist/{vue-ui-annotator-D4kCCpAK.js → vue-ui-annotator-MXs48Lua.js} +1 -1
  44. package/dist/{vue-ui-bullet-X3Xa_OZ6.js → vue-ui-bullet-CtBs_r3I.js} +92 -89
  45. package/dist/vue-ui-bullet-Dkz6vX0T.cjs +34 -0
  46. package/dist/vue-ui-candlestick-DiEUIuW8.cjs +2 -0
  47. package/dist/{vue-ui-candlestick-BTW5toA5.js → vue-ui-candlestick-gPztmuJE.js} +155 -152
  48. package/dist/{vue-ui-carousel-table-Cmnwv9Y3.cjs → vue-ui-carousel-table-CYeXP21y.cjs} +1 -1
  49. package/dist/{vue-ui-carousel-table-D7s_SrJR.js → vue-ui-carousel-table-D9ckYNKZ.js} +4 -4
  50. package/dist/{vue-ui-chestnut-DN9EZShg.js → vue-ui-chestnut-DWjn-jcN.js} +186 -183
  51. package/dist/vue-ui-chestnut-oZtRERnV.cjs +6 -0
  52. package/dist/{vue-ui-circle-pack-ts3rurGX.js → vue-ui-circle-pack-Bz5yVvAM.js} +99 -96
  53. package/dist/vue-ui-circle-pack-DCJ6N00S.cjs +1 -0
  54. package/dist/{vue-ui-cursor-SW96fYT3.js → vue-ui-cursor-BrrVDy1u.js} +2 -2
  55. package/dist/{vue-ui-cursor-CpWkrHpR.cjs → vue-ui-cursor-DZhRygRy.cjs} +1 -1
  56. package/dist/{vue-ui-dashboard-BZcfgajg.js → vue-ui-dashboard-DEmGN8Js.js} +2 -2
  57. package/dist/{vue-ui-dashboard-Buh9xBz-.cjs → vue-ui-dashboard-o8Ju_cXW.cjs} +1 -1
  58. package/dist/{vue-ui-digits-rB78vJRR.cjs → vue-ui-digits-CgyYdrQ5.cjs} +1 -1
  59. package/dist/{vue-ui-digits-C00yOT24.js → vue-ui-digits-DbOrROu7.js} +2 -2
  60. package/dist/vue-ui-donut-9pWaRwf3.cjs +1 -0
  61. package/dist/{vue-ui-donut-BkGR2Q-_.js → vue-ui-donut-CP5uWglM.js} +158 -156
  62. package/dist/{vue-ui-donut-evolution-B7WrjiTO.js → vue-ui-donut-evolution-BAMD1wQ5.js} +133 -131
  63. package/dist/vue-ui-donut-evolution-Ci_gIrkO.cjs +1 -0
  64. package/dist/{vue-ui-dumbbell-gQadUH53.js → vue-ui-dumbbell-CFYd-Ypn.js} +125 -122
  65. package/dist/vue-ui-dumbbell-DUNYoZxT.cjs +9 -0
  66. package/dist/{vue-ui-flow-CqSTZbgP.js → vue-ui-flow-CdvGWFzv.js} +96 -93
  67. package/dist/vue-ui-flow-W89ofPB-.cjs +1 -0
  68. package/dist/{vue-ui-funnel-Jr9TMTsq.js → vue-ui-funnel-DYutKyoz.js} +88 -85
  69. package/dist/vue-ui-funnel-RvdVrhFu.cjs +1 -0
  70. package/dist/{vue-ui-galaxy-BrQ10tPo.js → vue-ui-galaxy-BCBRlYS1.js} +123 -120
  71. package/dist/vue-ui-galaxy-Djdx-ca8.cjs +1 -0
  72. package/dist/{vue-ui-gauge-DOMio6Mv.js → vue-ui-gauge-BNAAZt4F.js} +86 -83
  73. package/dist/vue-ui-gauge-BVVmf09x.cjs +1 -0
  74. package/dist/{vue-ui-gizmo-SKS1idHb.js → vue-ui-gizmo-BFQ_KgLX.js} +3 -3
  75. package/dist/{vue-ui-gizmo-C3NimqVM.cjs → vue-ui-gizmo-Ceh0oFY3.cjs} +1 -1
  76. package/dist/vue-ui-heatmap-CiZpI-tA.cjs +1 -0
  77. package/dist/{vue-ui-heatmap-l4vCjb6f.js → vue-ui-heatmap-Ct3qaBv7.js} +109 -106
  78. package/dist/vue-ui-history-plot-Ci8Y2EFg.cjs +1 -0
  79. package/dist/{vue-ui-history-plot-B05tJML1.js → vue-ui-history-plot-shn74MJ6.js} +130 -127
  80. package/dist/{vue-ui-kpi-DF4U5E1w.js → vue-ui-kpi-B_pV-2JJ.js} +3 -3
  81. package/dist/{vue-ui-kpi-DQJr571M.cjs → vue-ui-kpi-DfYrbxlX.cjs} +1 -1
  82. package/dist/{vue-ui-mini-loader-BMARnOW4.js → vue-ui-mini-loader-BFnWQs5p.js} +2 -2
  83. package/dist/{vue-ui-mini-loader-BZkVKkqn.cjs → vue-ui-mini-loader-LIqf62jk.cjs} +1 -1
  84. package/dist/vue-ui-molecule-D8YuYTKv.cjs +1 -0
  85. package/dist/{vue-ui-molecule-C1ycekVJ.js → vue-ui-molecule-DNz1m8XZ.js} +147 -144
  86. package/dist/{vue-ui-mood-radar-_Kd-Lhpm.js → vue-ui-mood-radar-DiYB_zhM.js} +97 -94
  87. package/dist/vue-ui-mood-radar-uvH7qUHy.cjs +1 -0
  88. package/dist/{vue-ui-nested-donuts-DIwRSn-O.js → vue-ui-nested-donuts-9hn-g4ir.js} +99 -96
  89. package/dist/vue-ui-nested-donuts-C7ikDjp7.cjs +17 -0
  90. package/dist/vue-ui-onion-5Rqvd4Fw.cjs +5 -0
  91. package/dist/{vue-ui-onion-Dqb0gwGl.js → vue-ui-onion-DCWfNTNu.js} +105 -102
  92. package/dist/{vue-ui-parallel-coordinate-plot-De-tYNNy.js → vue-ui-parallel-coordinate-plot-CaPFL9_1.js} +97 -94
  93. package/dist/vue-ui-parallel-coordinate-plot-tlgTbaNX.cjs +8 -0
  94. package/dist/vue-ui-quadrant-B0Sw5NGo.cjs +1 -0
  95. package/dist/{vue-ui-quadrant-BQ5maxJq.js → vue-ui-quadrant-BoQZ375K.js} +155 -153
  96. package/dist/vue-ui-quick-chart-D3zV1d7t.cjs +15 -0
  97. package/dist/{vue-ui-quick-chart-DF_510YT.js → vue-ui-quick-chart-vfMN8F1q.js} +164 -161
  98. package/dist/{vue-ui-radar-DDHd0AYs.js → vue-ui-radar-CAuu6wkh.js} +129 -127
  99. package/dist/vue-ui-radar-CNMJCAwo.cjs +1 -0
  100. package/dist/{vue-ui-rating-Chi3OOtp.js → vue-ui-rating-Bm0HZ3du.js} +2 -2
  101. package/dist/{vue-ui-rating-D9kQcY2a.cjs → vue-ui-rating-dsRDRL98.cjs} +1 -1
  102. package/dist/{vue-ui-relation-circle-CV1xQOok.js → vue-ui-relation-circle-5OZMN9jR.js} +127 -124
  103. package/dist/vue-ui-relation-circle-iD7BufNH.cjs +1 -0
  104. package/dist/{vue-ui-rings-D2ezwyae.js → vue-ui-rings-COefBaQT.js} +114 -112
  105. package/dist/vue-ui-rings-DC4WG4sK.cjs +2 -0
  106. package/dist/vue-ui-scatter-5ny76dmi.cjs +1 -0
  107. package/dist/{vue-ui-scatter-BxbUYPk1.js → vue-ui-scatter-DhO83TZZ.js} +157 -154
  108. package/dist/{vue-ui-screenshot-Bc7Lv1i8.cjs → vue-ui-screenshot-DABH_phE.cjs} +1 -1
  109. package/dist/{vue-ui-screenshot-cxDgcXJB.js → vue-ui-screenshot-brillPo5.js} +1 -1
  110. package/dist/{vue-ui-skeleton-D6ojufhb.js → vue-ui-skeleton-BmJiYGtE.js} +3 -3
  111. package/dist/{vue-ui-skeleton-DvdPnQbR.cjs → vue-ui-skeleton-_DN0U6W6.cjs} +1 -1
  112. package/dist/{vue-ui-smiley-DEJ6S-We.cjs → vue-ui-smiley-CW6714mb.cjs} +1 -1
  113. package/dist/{vue-ui-smiley-9nGRDSn7.js → vue-ui-smiley-D9NRimij.js} +2 -2
  114. package/dist/{vue-ui-spark-trend-DiNeAGXR.js → vue-ui-spark-trend-BKZj03CQ.js} +5 -5
  115. package/dist/{vue-ui-spark-trend-BosbwgVe.cjs → vue-ui-spark-trend-expbkxgR.cjs} +1 -1
  116. package/dist/{vue-ui-sparkbar-DNf_Majv.js → vue-ui-sparkbar-CYRORE5i.js} +4 -4
  117. package/dist/{vue-ui-sparkbar-DGFKrcg0.cjs → vue-ui-sparkbar-Cr9FtevP.cjs} +1 -1
  118. package/dist/vue-ui-sparkgauge-BHXFhvTv.cjs +1 -0
  119. package/dist/{vue-ui-sparkgauge-D89HjxSK.js → vue-ui-sparkgauge-JV4tYB7P.js} +56 -53
  120. package/dist/{vue-ui-sparkhistogram-CU1_P6AJ.js → vue-ui-sparkhistogram-DKINHX2q.js} +93 -90
  121. package/dist/vue-ui-sparkhistogram-T4a3DDck.cjs +1 -0
  122. package/dist/{vue-ui-sparkline-C2McLmh5.js → vue-ui-sparkline-CbRTHtig.js} +109 -106
  123. package/dist/vue-ui-sparkline-Dc6Sf3n8.cjs +1 -0
  124. package/dist/{vue-ui-sparkstackbar-Cu4aG9PB.js → vue-ui-sparkstackbar-6u9-2nG4.js} +59 -56
  125. package/dist/vue-ui-sparkstackbar-CV5SkdsP.cjs +1 -0
  126. package/dist/{vue-ui-stackbar-6m5CpvNM.js → vue-ui-stackbar-CUppObfj.js} +136 -133
  127. package/dist/vue-ui-stackbar-CXB-nd71.cjs +6 -0
  128. package/dist/vue-ui-strip-plot-6IXF_U6-.cjs +1 -0
  129. package/dist/{vue-ui-strip-plot-DlZ2Eez4.js → vue-ui-strip-plot-doaNZAW4.js} +127 -124
  130. package/dist/{vue-ui-table-U0_3I0fu.js → vue-ui-table-CZsNuDR5.js} +1 -1
  131. package/dist/{vue-ui-table-BjhcV9qB.cjs → vue-ui-table-S66UCskD.cjs} +1 -1
  132. package/dist/{vue-ui-table-heatmap-Bfqytiv5.cjs → vue-ui-table-heatmap-BU9UU15H.cjs} +1 -1
  133. package/dist/{vue-ui-table-heatmap-BrGkCaOG.js → vue-ui-table-heatmap-CjohHqDV.js} +4 -4
  134. package/dist/{vue-ui-table-sparkline-CXlnp8E3.cjs → vue-ui-table-sparkline-CHFFTD0a.cjs} +1 -1
  135. package/dist/{vue-ui-table-sparkline-C1wNBDqO.js → vue-ui-table-sparkline-ab2rwdKB.js} +5 -5
  136. package/dist/{vue-ui-thermometer-Bx2abW1B.js → vue-ui-thermometer-C72mHwUi.js} +84 -81
  137. package/dist/vue-ui-thermometer-Ccd6RGh8.cjs +1 -0
  138. package/dist/vue-ui-timer-C8Fn2B0b.cjs +64 -0
  139. package/dist/{vue-ui-timer-3UkgrtEj.js → vue-ui-timer-D-LNi6lz.js} +183 -180
  140. package/dist/{vue-ui-tiremarks-C_xuD4De.js → vue-ui-tiremarks-Bo8EWsJ8.js} +59 -56
  141. package/dist/vue-ui-tiremarks-SOzvMOz4.cjs +1 -0
  142. package/dist/vue-ui-treemap-BqTTQrVh.cjs +1 -0
  143. package/dist/{vue-ui-treemap-BjDSR72h.js → vue-ui-treemap-uj94elVB.js} +123 -120
  144. package/dist/{vue-ui-vertical-bar-DUhOoSNl.js → vue-ui-vertical-bar-BUTOw-DK.js} +108 -106
  145. package/dist/vue-ui-vertical-bar-C4Sxun4Q.cjs +4 -0
  146. package/dist/{vue-ui-waffle-Dpox5n5s.js → vue-ui-waffle-CTWA1frT.js} +107 -104
  147. package/dist/vue-ui-waffle-DYWGRKdT.cjs +1 -0
  148. package/dist/vue-ui-wheel-8K72ZKda.js +330 -0
  149. package/dist/vue-ui-wheel-Cz5-0klT.cjs +1 -0
  150. package/dist/{vue-ui-word-cloud-u5S86-Ft.js → vue-ui-word-cloud-CSwBPDB8.js} +97 -94
  151. package/dist/vue-ui-word-cloud-D39riLZb.cjs +1 -0
  152. package/dist/vue-ui-xy-BbWXjajH.cjs +3 -0
  153. package/dist/{vue-ui-xy-0nBQDwL2.js → vue-ui-xy-DpDKutd7.js} +65 -58
  154. package/dist/{vue-ui-xy-canvas-yQlThVu7.cjs → vue-ui-xy-canvas-BCj0SCqe.cjs} +2 -2
  155. package/dist/{vue-ui-xy-canvas-DI7LiD4U.js → vue-ui-xy-canvas-BQm9gah4.js} +82 -81
  156. package/package.json +1 -1
  157. package/dist/Shape-GAZUIBfN.cjs +0 -1
  158. package/dist/Tooltip-BlGVq6xj.cjs +0 -1
  159. package/dist/index-DSGAenF3.cjs +0 -9
  160. package/dist/vue-ui-3d-bar-vvpkf_bv.cjs +0 -19
  161. package/dist/vue-ui-age-pyramid-CMMnrI3R.cjs +0 -1
  162. package/dist/vue-ui-bullet-nXPlud-q.cjs +0 -34
  163. package/dist/vue-ui-candlestick-B6T0LhEG.cjs +0 -2
  164. package/dist/vue-ui-chestnut-D8Gq_i77.cjs +0 -6
  165. package/dist/vue-ui-circle-pack-DCz3OWlu.cjs +0 -1
  166. package/dist/vue-ui-donut-BpgK-I9o.cjs +0 -1
  167. package/dist/vue-ui-donut-evolution-BVJCDPQ2.cjs +0 -1
  168. package/dist/vue-ui-dumbbell-DRcemHVG.cjs +0 -9
  169. package/dist/vue-ui-flow-DdQsK5DR.cjs +0 -1
  170. package/dist/vue-ui-funnel-Bq4yoTfd.cjs +0 -1
  171. package/dist/vue-ui-galaxy-ia1UNlpc.cjs +0 -1
  172. package/dist/vue-ui-gauge-C3FbYOSi.cjs +0 -1
  173. package/dist/vue-ui-heatmap-BCau2Z3U.cjs +0 -1
  174. package/dist/vue-ui-history-plot-DL7VjOd0.cjs +0 -1
  175. package/dist/vue-ui-molecule-B5XDGmLx.cjs +0 -1
  176. package/dist/vue-ui-mood-radar-DyMCJKFb.cjs +0 -1
  177. package/dist/vue-ui-nested-donuts-B4Am-r6T.cjs +0 -17
  178. package/dist/vue-ui-onion-YeBdJrdx.cjs +0 -5
  179. package/dist/vue-ui-parallel-coordinate-plot-CoecETlm.cjs +0 -8
  180. package/dist/vue-ui-quadrant-Btzq3qNJ.cjs +0 -1
  181. package/dist/vue-ui-quick-chart-5cWjffLJ.cjs +0 -15
  182. package/dist/vue-ui-radar-t22bqFiQ.cjs +0 -1
  183. package/dist/vue-ui-relation-circle-CWgGPxDJ.cjs +0 -1
  184. package/dist/vue-ui-rings-CiLJkRwa.cjs +0 -2
  185. package/dist/vue-ui-scatter-B24gGA8q.cjs +0 -1
  186. package/dist/vue-ui-sparkgauge-DwK7dzdJ.cjs +0 -1
  187. package/dist/vue-ui-sparkhistogram-DKoI6_TT.cjs +0 -1
  188. package/dist/vue-ui-sparkline-Bp7GMRrA.cjs +0 -1
  189. package/dist/vue-ui-sparkstackbar-Dayxdcr7.cjs +0 -1
  190. package/dist/vue-ui-stackbar-C21xTVy9.cjs +0 -6
  191. package/dist/vue-ui-strip-plot-DAo8FMup.cjs +0 -1
  192. package/dist/vue-ui-thermometer-CBdAwYdC.cjs +0 -1
  193. package/dist/vue-ui-timer-CRDQbqJ_.cjs +0 -64
  194. package/dist/vue-ui-tiremarks-C78mfaBr.cjs +0 -1
  195. package/dist/vue-ui-treemap-CP__1pdb.cjs +0 -1
  196. package/dist/vue-ui-vertical-bar-DTB8r4LH.cjs +0 -4
  197. package/dist/vue-ui-waffle-CrVyCF7k.cjs +0 -1
  198. package/dist/vue-ui-wheel-DV2zgr4d.cjs +0 -1
  199. package/dist/vue-ui-wheel-ykD8OULJ.js +0 -319
  200. package/dist/vue-ui-word-cloud-DBkAo2uX.cjs +0 -1
  201. package/dist/vue-ui-xy-mEVVQr_U.cjs +0 -3
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),u=require("./index-DSGAenF3.cjs"),ue=require("./useNestedProp-BdTohsDJ.cjs"),Q=require("./usePrinter-CPqTP09H.cjs"),se=require("./vue-ui-skeleton-DvdPnQbR.cjs"),de=require("./useUserOptionState-BgepsfED.cjs"),ve=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),ce=["id"],pe=["height"],fe=["data-cell","height"],me={key:2,ref:"source",dir:"auto"},he={__name:"vue-ui-carousel-table",props:{config:{type:Object,default(){return{}}},dataset:{type:Object,default(){return{}}}},setup(b,{expose:W}){const{vue_ui_carousel_table:Y}=u.useConfig(),r=b,S=e.ref(u.createUid()),F=e.ref(!1),k=e.ref(!!r.dataset),Z=e.useSlots();e.onMounted(()=>{z()}),e.onMounted(()=>{Z["chart-background"]&&console.warn("VueUiCarouselTable does not support the #chart-background slot.")});function z(){u.objectIsEmpty(r.dataset)?u.error({componentName:"VueUiCarouselTable",type:"dataset"}):((!r.dataset.head||u.objectIsEmpty(r.dataset.head))&&(u.error({componentName:"VueUiCarouselTable",type:"datasetAttribute",property:"head"}),k.value=!1),(!r.dataset.body||u.objectIsEmpty(r.dataset.body))&&(u.error({componentName:"VueUiCarouselTable",type:"datasetAttribute",property:"body"}),k.value=!1))}const t=e.computed({get:()=>V(),set:o=>o}),{userOptionsVisible:A,setUserOptionsVisibility:N,keepUserOptionState:P}=de.useUserOptionState({config:t.value});function V(){return ue.useNestedProp({userConfig:r.config,defaultConfig:Y})}e.watch(()=>r.config,o=>{t.value=V(),A.value=!t.value.userOptions.showOnChartHover,z()},{deep:!0}),e.watch(()=>r.dataset,o=>{O()},{deep:!0});const{isPrinting:R,isImaging:M,generatePdf:_,generateImage:q}=Q.usePrinter({elementId:`carousel-table_${S.value}`,fileName:t.value.caption.text||"vue-ui-carousel-table"}),v=e.ref({showAnimation:t.value.animation.use}),l=e.ref(null),U=e.ref(null),C=e.ref(null),T=e.ref(null),$=e.ref(0),B=e.ref(0),x=e.ref(!1),w=e.ref(null),f=e.ref(null),y=e.ref(0);function O(){w.value&&(f.value={elements:w.value.getElementsByTagName("tr"),heights:Array.from(w.value.getElementsByTagName("tr")).map(o=>o.getBoundingClientRect().height)})}e.onMounted(O);const ee=e.computed(()=>!f.value||!f.value.heights.length?0:Math.max(...f.value.heights)+$.value+B.value),te=e.computed(()=>r.dataset.body?t.value.tbody.tr.visible<=r.dataset.body.length?t.value.tbody.tr.visible:r.dataset.body.length:0),oe=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)*te.value+$.value+B.value),d=e.ref(0),m=e.ref(null),s=e.ref(0),h=e.ref(!1),H=e.ref(0);e.onMounted(()=>{C.value&&($.value=C.value.getBoundingClientRect().height),T.value&&(B.value=T.value.getBoundingClientRect().height),v.value.showAnimation&&f.value&&L()}),e.onMounted(()=>{if(l.value){let n=function(){const i=o.getBoundingClientRect().bottom;a.forEach(p=>{p.getBoundingClientRect().top<i?p.style.visibility="hidden":p.style.visibility="visible"})};const o=l.value.querySelector("thead"),a=Array.from(w.value.querySelectorAll("tr"));l.value.addEventListener("scroll",n),n(),e.onBeforeUnmount(()=>{l.value.removeEventListener("scroll",n)})}});function ae(o){F.value=o,H.value+=1}function L(){!m.value&&!h.value&&(t.value.animation.type==="scroll"?m.value=requestAnimationFrame(D):m.value=requestAnimationFrame(G))}function ne(){if(!l.value)return!1;const{scrollTop:o,scrollHeight:a,clientHeight:n}=l.value;return o+n>=a}function D(o){if(h.value)return;s.value||(s.value=o),o-s.value>=t.value.animation.speedMs&&(d.value+=f.value.heights[y.value],(ne()||y.value>=f.value.heights.length)&&(d.value=0,y.value=-1),y.value+=1,l.value&&l.value.scrollTo({top:d.value,behavior:"smooth"}),s.value=o),m.value=requestAnimationFrame(D)}function G(o){if(h.value)return;s.value||(s.value=o);const a=o-s.value,n=t.value.animation.speedMs/4/1e3;a>=n&&(d.value+=n,d.value>=l.value.scrollHeight-l.value.clientHeight&&(d.value=0),l.value&&l.value.scrollTo({top:d.value,behavior:"auto"}),s.value=o),m.value=requestAnimationFrame(G)}function c(){h.value=!0,cancelAnimationFrame(m.value),m.value=null}e.onBeforeUnmount(c);function g(){!h.value||!v.value.showAnimation||(h.value=!1,s.value=0,L())}function le(){t.value.animation.pauseOnHover&&c()}const E=e.ref(null);function re(){c(),clearTimeout(E.value)}function j(){clearTimeout(E.value),E.value=setTimeout(g,1e3)}e.watch(()=>t.value.animation.use,o=>{o?(v.value.showAnimation=!0,g()):(v.value.showAnimation=!1,c())}),e.watch(()=>t.value.animation.type,o=>{c(),d.value=0,y.value=0,l.value.scrollTo({top:0,behavior:"auto"}),g()});const ie=e.computed(()=>t.value.responsiveBreakpoint);e.onMounted(()=>{const o=new ResizeObserver(a=>{a.forEach(n=>{x.value=n.contentRect.width<ie.value}),$.value=C.value?C.value.getBoundingClientRect().height:0,B.value=T.value?T.value.getBoundingClientRect().height:0,y.value=0,e.nextTick(()=>{c(),s.value=0,d.value=0,O(),g()})});l.value&&o.observe(l.value)});function X(){_()}function J(){v.value.showAnimation=!v.value.showAnimation,v.value.showAnimation?g():c()}function K(){e.nextTick(()=>{const o=r.dataset.head.map((i,p)=>[[r.dataset.body[p]]]),a=[[t.value.caption.text],[r.dataset.head.map(i=>[i])]].concat(o),n=u.createCsvContent(a);u.downloadCsv({csvContent:n,title:t.value.caption.text||"vue-ui-carousel-table"})})}return W({pauseAnimation:c,resumeAnimation:g,toggleAnimation:J,generateCsv:K,generatePdf:X,generateImage:q}),(o,a)=>(e.openBlock(),e.createElementBlock("div",{class:"vue-ui-carousel-table",style:{position:"relative",overflow:"visible"},ref_key:"chartContainer",ref:U,onMouseenter:a[5]||(a[5]=()=>e.unref(N)(!0)),onMouseleave:a[6]||(a[6]=()=>e.unref(N)(!1))},[e.createElementVNode("div",{ref_key:"tableContainer",ref:l,id:`carousel-table_${S.value}`,style:e.normalizeStyle({height:e.unref(R)||e.unref(M)?"auto":`${Math.max(oe.value,ee.value)}px`,containerType:"inline-size",position:"relative",overflow:"auto",fontFamily:t.value.fontFamily}),class:e.normalizeClass({"vue-ui-responsive":x.value,"is-playing":t.value.scrollbar.hide||!h.value&&t.value.scrollbar.showOnlyOnHover}),onMouseover:a[0]||(a[0]=n=>le()),onMouseleave:a[1]||(a[1]=n=>g()),onTouchstart:a[2]||(a[2]=n=>re()),onTouchend:a[3]||(a[3]=n=>j()),onTouchcancel:a[4]||(a[4]=n=>j())},[k.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",backgroundColor:t.value.tbody.backgroundColor})},[e.createElementVNode("caption",{ref_key:"caption",ref:C,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",display:o.$slots.caption||t.value.caption.text||t.value.userOptions.show?"":"none"})},[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:`${o.$slots.caption||t.value.caption.text||t.value.userOptions.show?$.value:0}px`,zIndex:1})},[e.createElementVNode("tr",{ref_key:"tableRow",ref:T,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(b.dataset.head,(n,i)=>(e.openBlock(),e.createElementBlock("th",{role:"cell",key:`th_${i}`,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?"":n)+" ",1),e.renderSlot(o.$slots,"th",e.mergeProps({ref_for:!0},{th:n,colIndex:i}),void 0,!0)],4))),128))],12,pe)],4),b.dataset.body&&b.dataset.head?(e.openBlock(),e.createElementBlock("tbody",{key:0,ref_key:"tbody",ref:w,style:{clipPath:"inset(0,0,0,0)"}},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b.dataset.body,(n,i)=>(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(n,(p,I)=>(e.openBlock(),e.createElementBlock("td",{role:"cell","data-cell":b.dataset.head[I]||"",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,i%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?"":p)+" ",1),e.renderSlot(o.$slots,"td",e.mergeProps({ref_for:!0},{td:p,rowIndex:i,colIndex:I}),void 0,!0)],12,fe))),256))],4))),256))],512)):e.createCommentVNode("",!0)],4)):e.createCommentVNode("",!0)],46,ce),k.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(se.default,{key:0,config:{type:"table"}})),t.value.userOptions.show&&k.value&&(e.unref(P)||e.unref(A))?(e.openBlock(),e.createBlock(Q.UserOptions,{ref:"details",key:`user_option_${H.value}`,backgroundColor:t.value.style.backgroundColor,color:t.value.style.color,isPrinting:e.unref(R),isImaging:e.unref(M),uid:S.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:!v.value.showAnimation,hasFullscreen:t.value.userOptions.buttons.fullscreen,isFullscreen:F.value,chartElement:U.value,position:t.value.userOptions.position,titles:{...t.value.userOptions.buttonTitles},zIndex:3,offsetX:12,onGeneratePdf:X,onGenerateCsv:K,onGenerateImage:e.unref(q),onToggleAnimation:J,onToggleFullscreen:ae,style:e.normalizeStyle({visibility:e.unref(P)?e.unref(A)?"visible":"hidden":"visible"})},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:n,isFullscreen:i})=>[e.renderSlot(o.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:n,isFullscreen:i})),void 0,!0)]),key:"4"}:void 0]),1032,["backgroundColor","color","isPrinting","isImaging","uid","hasPdf","hasImg","hasXls","hasAnimation","isAnimation","hasFullscreen","isFullscreen","chartElement","position","titles","onGenerateImage","style"])):e.createCommentVNode("",!0),o.$slots.source?(e.openBlock(),e.createElementBlock("div",me,[e.renderSlot(o.$slots,"source",{},void 0,!0)],512)):e.createCommentVNode("",!0)],544))}},ge=ve._export_sfc(he,[["__scopeId","data-v-d651cb34"]]);exports.default=ge;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),u=require("./index-DEnRHTzk.cjs"),ue=require("./useNestedProp-BNT60LxO.cjs"),Q=require("./usePrinter-dyVny55M.cjs"),se=require("./vue-ui-skeleton-_DN0U6W6.cjs"),de=require("./useUserOptionState-BgepsfED.cjs"),ve=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),ce=["id"],pe=["height"],fe=["data-cell","height"],me={key:2,ref:"source",dir:"auto"},he={__name:"vue-ui-carousel-table",props:{config:{type:Object,default(){return{}}},dataset:{type:Object,default(){return{}}}},setup(b,{expose:W}){const{vue_ui_carousel_table:Y}=u.useConfig(),r=b,S=e.ref(u.createUid()),F=e.ref(!1),k=e.ref(!!r.dataset),Z=e.useSlots();e.onMounted(()=>{z()}),e.onMounted(()=>{Z["chart-background"]&&console.warn("VueUiCarouselTable does not support the #chart-background slot.")});function z(){u.objectIsEmpty(r.dataset)?u.error({componentName:"VueUiCarouselTable",type:"dataset"}):((!r.dataset.head||u.objectIsEmpty(r.dataset.head))&&(u.error({componentName:"VueUiCarouselTable",type:"datasetAttribute",property:"head"}),k.value=!1),(!r.dataset.body||u.objectIsEmpty(r.dataset.body))&&(u.error({componentName:"VueUiCarouselTable",type:"datasetAttribute",property:"body"}),k.value=!1))}const t=e.computed({get:()=>V(),set:o=>o}),{userOptionsVisible:A,setUserOptionsVisibility:N,keepUserOptionState:P}=de.useUserOptionState({config:t.value});function V(){return ue.useNestedProp({userConfig:r.config,defaultConfig:Y})}e.watch(()=>r.config,o=>{t.value=V(),A.value=!t.value.userOptions.showOnChartHover,z()},{deep:!0}),e.watch(()=>r.dataset,o=>{O()},{deep:!0});const{isPrinting:R,isImaging:M,generatePdf:_,generateImage:q}=Q.usePrinter({elementId:`carousel-table_${S.value}`,fileName:t.value.caption.text||"vue-ui-carousel-table"}),v=e.ref({showAnimation:t.value.animation.use}),l=e.ref(null),U=e.ref(null),C=e.ref(null),T=e.ref(null),$=e.ref(0),B=e.ref(0),x=e.ref(!1),w=e.ref(null),f=e.ref(null),y=e.ref(0);function O(){w.value&&(f.value={elements:w.value.getElementsByTagName("tr"),heights:Array.from(w.value.getElementsByTagName("tr")).map(o=>o.getBoundingClientRect().height)})}e.onMounted(O);const ee=e.computed(()=>!f.value||!f.value.heights.length?0:Math.max(...f.value.heights)+$.value+B.value),te=e.computed(()=>r.dataset.body?t.value.tbody.tr.visible<=r.dataset.body.length?t.value.tbody.tr.visible:r.dataset.body.length:0),oe=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)*te.value+$.value+B.value),d=e.ref(0),m=e.ref(null),s=e.ref(0),h=e.ref(!1),H=e.ref(0);e.onMounted(()=>{C.value&&($.value=C.value.getBoundingClientRect().height),T.value&&(B.value=T.value.getBoundingClientRect().height),v.value.showAnimation&&f.value&&L()}),e.onMounted(()=>{if(l.value){let n=function(){const i=o.getBoundingClientRect().bottom;a.forEach(p=>{p.getBoundingClientRect().top<i?p.style.visibility="hidden":p.style.visibility="visible"})};const o=l.value.querySelector("thead"),a=Array.from(w.value.querySelectorAll("tr"));l.value.addEventListener("scroll",n),n(),e.onBeforeUnmount(()=>{l.value.removeEventListener("scroll",n)})}});function ae(o){F.value=o,H.value+=1}function L(){!m.value&&!h.value&&(t.value.animation.type==="scroll"?m.value=requestAnimationFrame(D):m.value=requestAnimationFrame(G))}function ne(){if(!l.value)return!1;const{scrollTop:o,scrollHeight:a,clientHeight:n}=l.value;return o+n>=a}function D(o){if(h.value)return;s.value||(s.value=o),o-s.value>=t.value.animation.speedMs&&(d.value+=f.value.heights[y.value],(ne()||y.value>=f.value.heights.length)&&(d.value=0,y.value=-1),y.value+=1,l.value&&l.value.scrollTo({top:d.value,behavior:"smooth"}),s.value=o),m.value=requestAnimationFrame(D)}function G(o){if(h.value)return;s.value||(s.value=o);const a=o-s.value,n=t.value.animation.speedMs/4/1e3;a>=n&&(d.value+=n,d.value>=l.value.scrollHeight-l.value.clientHeight&&(d.value=0),l.value&&l.value.scrollTo({top:d.value,behavior:"auto"}),s.value=o),m.value=requestAnimationFrame(G)}function c(){h.value=!0,cancelAnimationFrame(m.value),m.value=null}e.onBeforeUnmount(c);function g(){!h.value||!v.value.showAnimation||(h.value=!1,s.value=0,L())}function le(){t.value.animation.pauseOnHover&&c()}const E=e.ref(null);function re(){c(),clearTimeout(E.value)}function j(){clearTimeout(E.value),E.value=setTimeout(g,1e3)}e.watch(()=>t.value.animation.use,o=>{o?(v.value.showAnimation=!0,g()):(v.value.showAnimation=!1,c())}),e.watch(()=>t.value.animation.type,o=>{c(),d.value=0,y.value=0,l.value.scrollTo({top:0,behavior:"auto"}),g()});const ie=e.computed(()=>t.value.responsiveBreakpoint);e.onMounted(()=>{const o=new ResizeObserver(a=>{a.forEach(n=>{x.value=n.contentRect.width<ie.value}),$.value=C.value?C.value.getBoundingClientRect().height:0,B.value=T.value?T.value.getBoundingClientRect().height:0,y.value=0,e.nextTick(()=>{c(),s.value=0,d.value=0,O(),g()})});l.value&&o.observe(l.value)});function X(){_()}function J(){v.value.showAnimation=!v.value.showAnimation,v.value.showAnimation?g():c()}function K(){e.nextTick(()=>{const o=r.dataset.head.map((i,p)=>[[r.dataset.body[p]]]),a=[[t.value.caption.text],[r.dataset.head.map(i=>[i])]].concat(o),n=u.createCsvContent(a);u.downloadCsv({csvContent:n,title:t.value.caption.text||"vue-ui-carousel-table"})})}return W({pauseAnimation:c,resumeAnimation:g,toggleAnimation:J,generateCsv:K,generatePdf:X,generateImage:q}),(o,a)=>(e.openBlock(),e.createElementBlock("div",{class:"vue-ui-carousel-table",style:{position:"relative",overflow:"visible"},ref_key:"chartContainer",ref:U,onMouseenter:a[5]||(a[5]=()=>e.unref(N)(!0)),onMouseleave:a[6]||(a[6]=()=>e.unref(N)(!1))},[e.createElementVNode("div",{ref_key:"tableContainer",ref:l,id:`carousel-table_${S.value}`,style:e.normalizeStyle({height:e.unref(R)||e.unref(M)?"auto":`${Math.max(oe.value,ee.value)}px`,containerType:"inline-size",position:"relative",overflow:"auto",fontFamily:t.value.fontFamily}),class:e.normalizeClass({"vue-ui-responsive":x.value,"is-playing":t.value.scrollbar.hide||!h.value&&t.value.scrollbar.showOnlyOnHover}),onMouseover:a[0]||(a[0]=n=>le()),onMouseleave:a[1]||(a[1]=n=>g()),onTouchstart:a[2]||(a[2]=n=>re()),onTouchend:a[3]||(a[3]=n=>j()),onTouchcancel:a[4]||(a[4]=n=>j())},[k.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",backgroundColor:t.value.tbody.backgroundColor})},[e.createElementVNode("caption",{ref_key:"caption",ref:C,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",display:o.$slots.caption||t.value.caption.text||t.value.userOptions.show?"":"none"})},[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:`${o.$slots.caption||t.value.caption.text||t.value.userOptions.show?$.value:0}px`,zIndex:1})},[e.createElementVNode("tr",{ref_key:"tableRow",ref:T,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(b.dataset.head,(n,i)=>(e.openBlock(),e.createElementBlock("th",{role:"cell",key:`th_${i}`,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?"":n)+" ",1),e.renderSlot(o.$slots,"th",e.mergeProps({ref_for:!0},{th:n,colIndex:i}),void 0,!0)],4))),128))],12,pe)],4),b.dataset.body&&b.dataset.head?(e.openBlock(),e.createElementBlock("tbody",{key:0,ref_key:"tbody",ref:w,style:{clipPath:"inset(0,0,0,0)"}},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b.dataset.body,(n,i)=>(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(n,(p,I)=>(e.openBlock(),e.createElementBlock("td",{role:"cell","data-cell":b.dataset.head[I]||"",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,i%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?"":p)+" ",1),e.renderSlot(o.$slots,"td",e.mergeProps({ref_for:!0},{td:p,rowIndex:i,colIndex:I}),void 0,!0)],12,fe))),256))],4))),256))],512)):e.createCommentVNode("",!0)],4)):e.createCommentVNode("",!0)],46,ce),k.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(se.default,{key:0,config:{type:"table"}})),t.value.userOptions.show&&k.value&&(e.unref(P)||e.unref(A))?(e.openBlock(),e.createBlock(Q.UserOptions,{ref:"details",key:`user_option_${H.value}`,backgroundColor:t.value.style.backgroundColor,color:t.value.style.color,isPrinting:e.unref(R),isImaging:e.unref(M),uid:S.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:!v.value.showAnimation,hasFullscreen:t.value.userOptions.buttons.fullscreen,isFullscreen:F.value,chartElement:U.value,position:t.value.userOptions.position,titles:{...t.value.userOptions.buttonTitles},zIndex:3,offsetX:12,onGeneratePdf:X,onGenerateCsv:K,onGenerateImage:e.unref(q),onToggleAnimation:J,onToggleFullscreen:ae,style:e.normalizeStyle({visibility:e.unref(P)?e.unref(A)?"visible":"hidden":"visible"})},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:n,isFullscreen:i})=>[e.renderSlot(o.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:n,isFullscreen:i})),void 0,!0)]),key:"4"}:void 0]),1032,["backgroundColor","color","isPrinting","isImaging","uid","hasPdf","hasImg","hasXls","hasAnimation","isAnimation","hasFullscreen","isFullscreen","chartElement","position","titles","onGenerateImage","style"])):e.createCommentVNode("",!0),o.$slots.source?(e.openBlock(),e.createElementBlock("div",me,[e.renderSlot(o.$slots,"source",{},void 0,!0)],512)):e.createCommentVNode("",!0)],544))}},ge=ve._export_sfc(he,[["__scopeId","data-v-d651cb34"]]);exports.default=ge;
@@ -1,8 +1,8 @@
1
1
  import { ref as l, useSlots as Oe, onMounted as A, computed as B, watch as E, onBeforeUnmount as ve, nextTick as pe, createElementBlock as v, openBlock as u, unref as r, createElementVNode as H, createBlock as ce, createCommentVNode as P, normalizeClass as Ie, normalizeStyle as c, createTextVNode as L, renderSlot as f, toDisplayString as G, Fragment as D, renderList as X, mergeProps as fe, createSlots as Fe, withCtx as R, normalizeProps as Be, guardReactiveProps as Pe } from "vue";
2
- import { u as Re, c as ze, o as j, e as J, s as Se, q as Ee, r as He } from "./index-DLCyjPV0.js";
3
- import { u as Ne } from "./useNestedProp-q86V3_LA.js";
4
- import { u as Ue, U as Ve } from "./usePrinter-CpHZjw3G.js";
5
- import Me from "./vue-ui-skeleton-D6ojufhb.js";
2
+ import { u as Re, c as ze, o as j, e as J, s as Se, q as Ee, r as He } from "./index-9EeNZMz1.js";
3
+ import { u as Ne } from "./useNestedProp-df_bKQEI.js";
4
+ import { u as Ue, U as Ve } from "./usePrinter-ngrh00Ym.js";
5
+ import Me from "./vue-ui-skeleton-BmJiYGtE.js";
6
6
  import { u as qe } from "./useUserOptionState-BIvW1Kz7.js";
7
7
  import { _ as Le } from "./_plugin-vue_export-helper-CHgC5LLL.js";
8
8
  const Ge = ["id"], De = ["height"], Xe = ["data-cell", "height"], je = {