vue-data-ui 2.4.50 → 2.4.52

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 (200) hide show
  1. package/README.md +12 -0
  2. package/dist/{Arrow-D1z9KkQN.js → Arrow-BuBoE64l.js} +1 -1
  3. package/dist/{Arrow-DuuEh1Nr.cjs → Arrow-CFlFdPC5.cjs} +1 -1
  4. package/dist/{BaseIcon-DemqZ_13.cjs → BaseIcon-CfhoS_qC.cjs} +1 -1
  5. package/dist/{BaseIcon-BHwqOTt4.js → BaseIcon-zmxwsaLW.js} +1 -1
  6. package/dist/{DataTable-CQ8fQnex.js → DataTable-COkA4Nyz.js} +2 -2
  7. package/dist/{DataTable-CovKV5Yy.cjs → DataTable-CwAdpLng.cjs} +1 -1
  8. package/dist/{Legend-Bbz-hKDf.cjs → Legend-CR9ydX8N.cjs} +1 -1
  9. package/dist/{Legend-Br7MWNDo.js → Legend-bYlSC7I7.js} +1 -1
  10. package/dist/{PackageVersion-BEtuCME5.cjs → PackageVersion-C1F3QLoY.cjs} +1 -1
  11. package/dist/{PackageVersion-BV3fHO46.js → PackageVersion-Dz3KcTL4.js} +1 -1
  12. package/dist/{PenAndPaper-CCOywdmm.js → PenAndPaper-BycdTwSP.js} +3 -3
  13. package/dist/{PenAndPaper-BIcmfBvD.cjs → PenAndPaper-DDheVRNG.cjs} +1 -1
  14. package/dist/{Shape-BD37ZaX9.cjs → Shape-BBp5EwJH.cjs} +1 -1
  15. package/dist/{Shape-B7Mekpyf.js → Shape-BDJJ38uM.js} +1 -1
  16. package/dist/{Slicer-CWvkt-8k.cjs → Slicer-7oTpm-cZ.cjs} +1 -1
  17. package/dist/{Slicer-ahFReg7h.js → Slicer-D_DaIThC.js} +2 -2
  18. package/dist/{Title-C2siG5N2.cjs → Title-B7ruS8yl.cjs} +1 -1
  19. package/dist/{Title-CIsKiWgN.js → Title-aMb2ETf7.js} +1 -1
  20. package/dist/{Tooltip-B1LgrF9R.js → Tooltip-BRZ3DT4p.js} +1 -1
  21. package/dist/{Tooltip-CS4C58T7.cjs → Tooltip-BqSN71SL.cjs} +1 -1
  22. package/dist/index-BkXYJDpD.cjs +9 -0
  23. package/dist/{index-BtL_cLa8.js → index-K5uyh1gA.js} +5 -1
  24. package/dist/style.css +1 -1
  25. package/dist/types/vue-data-ui.d.cts +5 -1
  26. package/dist/types/vue-data-ui.d.ts +5 -1
  27. package/dist/{useNestedProp-D_feh7A_.cjs → useNestedProp-C6IvqE-r.cjs} +1 -1
  28. package/dist/{useNestedProp-CEAfm1tu.js → useNestedProp-DifqJZAs.js} +1 -1
  29. package/dist/{usePrinter-B4xDG31F.cjs → usePrinter-DHv-BwME.cjs} +1 -1
  30. package/dist/{usePrinter-sRt2SKr2.js → usePrinter-p_ZZlGc9.js} +1 -1
  31. package/dist/useUserOptionState-BIvW1Kz7.js +17 -0
  32. package/dist/useUserOptionState-BgepsfED.cjs +1 -0
  33. package/dist/{vue-data-ui-NkhaiK6y.js → vue-data-ui-3PlAeIlX.js} +60 -60
  34. package/dist/{vue-data-ui-CuEYAddV.cjs → vue-data-ui-M0E2b8Dw.cjs} +1 -1
  35. package/dist/vue-data-ui.cjs +1 -1
  36. package/dist/vue-data-ui.js +1 -1
  37. package/dist/{vue-ui-3d-bar-BeXYzdzu.js → vue-ui-3d-bar-PrijRaoI.js} +355 -349
  38. package/dist/vue-ui-3d-bar-VQyMytda.cjs +19 -0
  39. package/dist/{vue-ui-accordion-Cjc683tN.js → vue-ui-accordion-CsJT7Az3.js} +3 -3
  40. package/dist/{vue-ui-accordion-CBxsUoGb.cjs → vue-ui-accordion-kr18wKfc.cjs} +1 -1
  41. package/dist/vue-ui-age-pyramid-BV1MgH8J.cjs +1 -0
  42. package/dist/{vue-ui-age-pyramid-rnt8M-Qz.js → vue-ui-age-pyramid-DFYykOow.js} +260 -254
  43. package/dist/{vue-ui-annotator-CFU5Zyfk.js → vue-ui-annotator-Blg3LdqF.js} +1 -1
  44. package/dist/{vue-ui-annotator-Yu-mHS2N.cjs → vue-ui-annotator-DffUZR4a.cjs} +1 -1
  45. package/dist/vue-ui-bullet-DSampkai.cjs +34 -0
  46. package/dist/{vue-ui-bullet-CRbW1ON6.js → vue-ui-bullet-Ybz4qPWl.js} +147 -141
  47. package/dist/vue-ui-candlestick-BxcwK8UI.cjs +2 -0
  48. package/dist/{vue-ui-candlestick-D-ERLtI1.js → vue-ui-candlestick-DsVBdCz_.js} +231 -225
  49. package/dist/vue-ui-carousel-table-C2ThrWYt.js +379 -0
  50. package/dist/vue-ui-carousel-table-DkWNe0mJ.cjs +1 -0
  51. package/dist/{vue-ui-chestnut-CqJRKECX.js → vue-ui-chestnut-BacH0ZYK.js} +258 -252
  52. package/dist/vue-ui-chestnut-Cw8LKuZG.cjs +6 -0
  53. package/dist/{vue-ui-cursor-jrrdh8Lf.js → vue-ui-cursor-CMKSCQ-v.js} +2 -2
  54. package/dist/{vue-ui-cursor-S83QIsxQ.cjs → vue-ui-cursor-D2kQNFWy.cjs} +1 -1
  55. package/dist/{vue-ui-dashboard-DR_Bhwa3.js → vue-ui-dashboard-9PYl4mWC.js} +2 -2
  56. package/dist/{vue-ui-dashboard-DW1mIInG.cjs → vue-ui-dashboard-BHwlhK33.cjs} +1 -1
  57. package/dist/{vue-ui-digits-s5f9eFtW.cjs → vue-ui-digits-2yacgzrJ.cjs} +1 -1
  58. package/dist/{vue-ui-digits-1jZdiwHJ.js → vue-ui-digits-CyTjq_oN.js} +2 -2
  59. package/dist/vue-ui-donut-BNv1eGiu.cjs +1 -0
  60. package/dist/{vue-ui-donut-BAYiPsxp.js → vue-ui-donut-BxLlCBhU.js} +402 -396
  61. package/dist/{vue-ui-donut-evolution-DsHTZ9T2.js → vue-ui-donut-evolution-Bw9hfwuO.js} +320 -314
  62. package/dist/vue-ui-donut-evolution-DGjHfyq8.cjs +1 -0
  63. package/dist/vue-ui-dumbbell-CjHcgzti.cjs +9 -0
  64. package/dist/{vue-ui-dumbbell-DcMmBxLy.js → vue-ui-dumbbell-D0PjpD19.js} +267 -261
  65. package/dist/{vue-ui-flow-BTXEmIQG.js → vue-ui-flow-BuTJcn6b.js} +174 -168
  66. package/dist/vue-ui-flow-Dc-KV4a3.cjs +1 -0
  67. package/dist/{vue-ui-funnel-BB_h0FKg.js → vue-ui-funnel-CxO1aav3.js} +190 -184
  68. package/dist/vue-ui-funnel-QQGqK4OD.cjs +1 -0
  69. package/dist/{vue-ui-galaxy-DlBk1FUz.js → vue-ui-galaxy-B2uwYVgz.js} +199 -193
  70. package/dist/vue-ui-galaxy-CABgAX76.cjs +1 -0
  71. package/dist/vue-ui-gauge-CTEPbzWe.cjs +1 -0
  72. package/dist/{vue-ui-gauge-1SFhSMfU.js → vue-ui-gauge-CqhJx__t.js} +213 -207
  73. package/dist/{vue-ui-gizmo-CtX6KFN2.js → vue-ui-gizmo-D7G-8Al-.js} +3 -3
  74. package/dist/{vue-ui-gizmo-C8rLR4n5.cjs → vue-ui-gizmo-DlQOItIS.cjs} +1 -1
  75. package/dist/vue-ui-heatmap-BOwY6qNR.cjs +1 -0
  76. package/dist/{vue-ui-heatmap-BzyvTePn.js → vue-ui-heatmap-DLNzJh--.js} +291 -285
  77. package/dist/{vue-ui-history-plot-BEoHuZ3N.js → vue-ui-history-plot-CH2mN74k.js} +258 -252
  78. package/dist/vue-ui-history-plot-EiYWpITj.cjs +1 -0
  79. package/dist/{vue-ui-kpi-BYOyJjYg.js → vue-ui-kpi-Cb3fLQlS.js} +3 -3
  80. package/dist/{vue-ui-kpi-LO4KKRR9.cjs → vue-ui-kpi-DB00TrXv.cjs} +1 -1
  81. package/dist/{vue-ui-mini-loader-ChHdx5me.js → vue-ui-mini-loader-Czn2u6m3.js} +2 -2
  82. package/dist/{vue-ui-mini-loader-wlUD77O6.cjs → vue-ui-mini-loader-DAaZwOTE.cjs} +1 -1
  83. package/dist/{vue-ui-molecule-Bo7XYpf-.js → vue-ui-molecule-BAwzIU19.js} +300 -295
  84. package/dist/vue-ui-molecule-DZ6Z4eru.cjs +1 -0
  85. package/dist/vue-ui-mood-radar-BL3vQzMq.cjs +1 -0
  86. package/dist/{vue-ui-mood-radar-DXj4Ce6l.js → vue-ui-mood-radar-BXOWHB57.js} +202 -196
  87. package/dist/vue-ui-nested-donuts-D1EF5IEw.cjs +17 -0
  88. package/dist/{vue-ui-nested-donuts-BBLpNVwF.js → vue-ui-nested-donuts-F1pwFa1Y.js} +298 -292
  89. package/dist/{vue-ui-onion-DC8VIInA.js → vue-ui-onion-C9dEaRbc.js} +214 -208
  90. package/dist/vue-ui-onion-nA8sXxh-.cjs +5 -0
  91. package/dist/{vue-ui-parallel-coordinate-plot-Cl1wiHsK.js → vue-ui-parallel-coordinate-plot-Cgc8JHMy.js} +260 -254
  92. package/dist/vue-ui-parallel-coordinate-plot-DL4DOhyh.cjs +8 -0
  93. package/dist/{vue-ui-quadrant-b5cuEH9z.js → vue-ui-quadrant-C_hJHr9T.js} +278 -272
  94. package/dist/vue-ui-quadrant-DJGxKeBq.cjs +1 -0
  95. package/dist/vue-ui-quick-chart-C5v_8Kpw.cjs +15 -0
  96. package/dist/{vue-ui-quick-chart-CFBPYw2J.js → vue-ui-quick-chart-D4k-zSan.js} +474 -466
  97. package/dist/vue-ui-radar-BeGVGueh.cjs +1 -0
  98. package/dist/{vue-ui-radar-DP8360kx.js → vue-ui-radar-WKQ-TavD.js} +265 -259
  99. package/dist/{vue-ui-rating-DIthBSp_.js → vue-ui-rating-BrSnMkzF.js} +2 -2
  100. package/dist/{vue-ui-rating-D7b-kfyp.cjs → vue-ui-rating-DI3L8UYN.cjs} +1 -1
  101. package/dist/vue-ui-relation-circle-BJ_TOhIp.cjs +1 -0
  102. package/dist/vue-ui-relation-circle-DzZ5H4og.js +498 -0
  103. package/dist/vue-ui-rings-1qwg2E0O.cjs +2 -0
  104. package/dist/{vue-ui-rings-y9Zx-DaI.js → vue-ui-rings-43dY-4_7.js} +206 -201
  105. package/dist/vue-ui-scatter-cTK10i0K.cjs +1 -0
  106. package/dist/{vue-ui-scatter-Cbu5GDc1.js → vue-ui-scatter-q6Sfqa4W.js} +330 -324
  107. package/dist/{vue-ui-screenshot-BZh_sgjP.js → vue-ui-screenshot-CEy169Mc.js} +1 -1
  108. package/dist/{vue-ui-screenshot-oH-YnZBE.cjs → vue-ui-screenshot-gOGGT_ti.cjs} +1 -1
  109. package/dist/{vue-ui-skeleton-Nuju6X7l.cjs → vue-ui-skeleton-BTN1PKkz.cjs} +1 -1
  110. package/dist/{vue-ui-skeleton-DjFU2X3P.js → vue-ui-skeleton-BhA2lIT6.js} +3 -3
  111. package/dist/{vue-ui-smiley-DdnzzEYS.js → vue-ui-smiley-BAFdctGJ.js} +2 -2
  112. package/dist/{vue-ui-smiley-DtQVEc4B.cjs → vue-ui-smiley-BIEXWWWa.cjs} +1 -1
  113. package/dist/{vue-ui-spark-trend-CaIGk_53.js → vue-ui-spark-trend-Deg6oJxD.js} +5 -5
  114. package/dist/{vue-ui-spark-trend-B36zW41F.cjs → vue-ui-spark-trend-LqnAP3mZ.cjs} +1 -1
  115. package/dist/{vue-ui-sparkbar-iQKGtxo8.cjs → vue-ui-sparkbar-CJR8pSqp.cjs} +1 -1
  116. package/dist/{vue-ui-sparkbar-DixeozKp.js → vue-ui-sparkbar-Dm393iij.js} +4 -4
  117. package/dist/{vue-ui-sparkgauge-DEvgucF7.cjs → vue-ui-sparkgauge-DpP1XF6C.cjs} +1 -1
  118. package/dist/{vue-ui-sparkgauge-C01VB6KP.js → vue-ui-sparkgauge-WTo7H8eC.js} +4 -4
  119. package/dist/{vue-ui-sparkhistogram-CTUuxOma.cjs → vue-ui-sparkhistogram-CEvdVaLZ.cjs} +1 -1
  120. package/dist/{vue-ui-sparkhistogram-C_6lHF3O.js → vue-ui-sparkhistogram-DNVBeCU9.js} +5 -5
  121. package/dist/{vue-ui-sparkline-DrZWPGOG.cjs → vue-ui-sparkline-B87AKRMY.cjs} +1 -1
  122. package/dist/{vue-ui-sparkline-Btm4HVgi.js → vue-ui-sparkline-Bcn_JAfC.js} +4 -4
  123. package/dist/{vue-ui-sparkstackbar-7pcfCNMr.cjs → vue-ui-sparkstackbar-Cmafq74u.cjs} +1 -1
  124. package/dist/{vue-ui-sparkstackbar-D0UGUm-1.js → vue-ui-sparkstackbar-DPPTp1Tm.js} +5 -5
  125. package/dist/{vue-ui-stackbar-BPMDmY04.js → vue-ui-stackbar-BeXW23yH.js} +382 -376
  126. package/dist/vue-ui-stackbar-DeFiDh8a.cjs +6 -0
  127. package/dist/vue-ui-strip-plot-5n6Om5PH.cjs +1 -0
  128. package/dist/{vue-ui-strip-plot-BfWQMGXy.js → vue-ui-strip-plot-CG-wp65N.js} +261 -255
  129. package/dist/{vue-ui-table-Cdo265Yt.cjs → vue-ui-table-Bbfdq7B8.cjs} +1 -1
  130. package/dist/{vue-ui-table-D8GaLhM9.js → vue-ui-table-BzuWkWse.js} +1 -1
  131. package/dist/vue-ui-table-heatmap--Uj5nFcF.cjs +1 -0
  132. package/dist/vue-ui-table-heatmap-obAYC2HB.js +262 -0
  133. package/dist/vue-ui-table-sparkline-Buh41Ovt.cjs +1 -0
  134. package/dist/{vue-ui-table-sparkline-DMHf03C9.js → vue-ui-table-sparkline-CW0-ubzl.js} +288 -236
  135. package/dist/{vue-ui-thermometer-BCVqil7E.js → vue-ui-thermometer-BmgPuIr6.js} +187 -181
  136. package/dist/vue-ui-thermometer-DW10BlzG.cjs +1 -0
  137. package/dist/{vue-ui-timer-DF5HkeeS.js → vue-ui-timer-6eWSNYld.js} +5 -5
  138. package/dist/{vue-ui-timer-gxiLCP1n.cjs → vue-ui-timer-CKp_yNVJ.cjs} +1 -1
  139. package/dist/vue-ui-tiremarks-DeEI5TAa.js +323 -0
  140. package/dist/vue-ui-tiremarks-nb8r7akm.cjs +1 -0
  141. package/dist/vue-ui-treemap-B54QUZ46.cjs +1 -0
  142. package/dist/{vue-ui-treemap-CIZaPmbi.js → vue-ui-treemap-tlPZye6M.js} +261 -255
  143. package/dist/{vue-ui-vertical-bar-dQoTddqU.js → vue-ui-vertical-bar-BIst1a32.js} +251 -245
  144. package/dist/vue-ui-vertical-bar-CCXF79YU.cjs +4 -0
  145. package/dist/vue-ui-waffle-Dctw-uNI.cjs +1 -0
  146. package/dist/{vue-ui-waffle-CnvWOEVU.js → vue-ui-waffle-iJT4g4Ht.js} +333 -327
  147. package/dist/vue-ui-wheel-DnCpgZZo.cjs +1 -0
  148. package/dist/vue-ui-wheel-v1_jsNWp.js +305 -0
  149. package/dist/vue-ui-word-cloud-BXa6XzUJ.cjs +1 -0
  150. package/dist/{vue-ui-word-cloud-o3zU6r0-.js → vue-ui-word-cloud-DR8E1ArH.js} +247 -241
  151. package/dist/{vue-ui-xy-GR4PGBDy.js → vue-ui-xy-BZ3lbw6i.js} +708 -697
  152. package/dist/vue-ui-xy-CvFWhRR-.cjs +3 -0
  153. package/dist/vue-ui-xy-canvas-BVw3zOIC.cjs +9 -0
  154. package/dist/{vue-ui-xy-canvas-BKGOnjut.js → vue-ui-xy-canvas-hPcU2SBK.js} +344 -338
  155. package/package.json +1 -1
  156. package/dist/index-DoD-GxZR.cjs +0 -9
  157. package/dist/vue-ui-3d-bar-RduHvzwG.cjs +0 -19
  158. package/dist/vue-ui-age-pyramid-DVtbyRJw.cjs +0 -1
  159. package/dist/vue-ui-bullet-Be5aYhtp.cjs +0 -34
  160. package/dist/vue-ui-candlestick-B6wSs-JC.cjs +0 -2
  161. package/dist/vue-ui-carousel-table-7reErH8M.cjs +0 -1
  162. package/dist/vue-ui-carousel-table-I1m4HMWf.js +0 -373
  163. package/dist/vue-ui-chestnut-D-WzX16q.cjs +0 -6
  164. package/dist/vue-ui-donut-Ce1SaXNu.cjs +0 -1
  165. package/dist/vue-ui-donut-evolution-DI8yeIa4.cjs +0 -1
  166. package/dist/vue-ui-dumbbell-CFJkwtM8.cjs +0 -9
  167. package/dist/vue-ui-flow-B4MtorhO.cjs +0 -1
  168. package/dist/vue-ui-funnel-DNL12vLQ.cjs +0 -1
  169. package/dist/vue-ui-galaxy-CmCZGOKz.cjs +0 -1
  170. package/dist/vue-ui-gauge-B7ieQMud.cjs +0 -1
  171. package/dist/vue-ui-heatmap-Bfi3KJwS.cjs +0 -1
  172. package/dist/vue-ui-history-plot-5kZ54hgy.cjs +0 -1
  173. package/dist/vue-ui-molecule-D-4cRS5w.cjs +0 -1
  174. package/dist/vue-ui-mood-radar-C3x_LH7Q.cjs +0 -1
  175. package/dist/vue-ui-nested-donuts-DrL7-SUd.cjs +0 -17
  176. package/dist/vue-ui-onion-8Vz3lPbn.cjs +0 -5
  177. package/dist/vue-ui-parallel-coordinate-plot-D6q4WQ0B.cjs +0 -8
  178. package/dist/vue-ui-quadrant-DBZS5jFQ.cjs +0 -1
  179. package/dist/vue-ui-quick-chart-Cno_1mzu.cjs +0 -15
  180. package/dist/vue-ui-radar-ChcBO21S.cjs +0 -1
  181. package/dist/vue-ui-relation-circle-C5pO0iHY.cjs +0 -1
  182. package/dist/vue-ui-relation-circle-D2iwmChn.js +0 -492
  183. package/dist/vue-ui-rings-C_NLJYs8.cjs +0 -2
  184. package/dist/vue-ui-scatter-BNeMGDNk.cjs +0 -1
  185. package/dist/vue-ui-stackbar-BwRdmPvB.cjs +0 -6
  186. package/dist/vue-ui-strip-plot-CLN9LikJ.cjs +0 -1
  187. package/dist/vue-ui-table-heatmap-C4DRSfsE.js +0 -256
  188. package/dist/vue-ui-table-heatmap-CDAf1IIk.cjs +0 -1
  189. package/dist/vue-ui-table-sparkline-Cw7NOiYx.cjs +0 -1
  190. package/dist/vue-ui-thermometer-7BORZJjd.cjs +0 -1
  191. package/dist/vue-ui-tiremarks-CwGnFx4f.cjs +0 -1
  192. package/dist/vue-ui-tiremarks-lidhcJsi.js +0 -317
  193. package/dist/vue-ui-treemap-BZ_LmiBK.cjs +0 -1
  194. package/dist/vue-ui-vertical-bar-venrkqjM.cjs +0 -4
  195. package/dist/vue-ui-waffle-oR54BbIg.cjs +0 -1
  196. package/dist/vue-ui-wheel-BUHZEzPr.cjs +0 -1
  197. package/dist/vue-ui-wheel-D3itrMku.js +0 -299
  198. package/dist/vue-ui-word-cloud-87gwksmM.cjs +0 -1
  199. package/dist/vue-ui-xy-D56pm4L0.cjs +0 -3
  200. package/dist/vue-ui-xy-canvas-uikeVe72.cjs +0 -9
@@ -0,0 +1,379 @@
1
+ import { ref as n, onMounted as I, computed as F, watch as M, onBeforeUnmount as pe, nextTick as ce, openBlock as s, createElementBlock as d, unref as u, createElementVNode as S, normalizeStyle as v, normalizeClass as xe, createTextVNode as G, toDisplayString as q, renderSlot as p, Fragment as D, renderList as X, normalizeProps as j, guardReactiveProps as J, createCommentVNode as B, createBlock as he, createSlots as Oe, withCtx as P } from "vue";
2
+ import { u as Ie, c as Fe, o as K, e as Q, s as Be, q as Pe, r as Re } from "./index-K5uyh1gA.js";
3
+ import { u as ze } from "./useNestedProp-DifqJZAs.js";
4
+ import { u as Ee, U as Se } from "./usePrinter-p_ZZlGc9.js";
5
+ import Ne from "./vue-ui-skeleton-BhA2lIT6.js";
6
+ import { u as Ue } from "./useUserOptionState-BIvW1Kz7.js";
7
+ import { _ as He } from "./_plugin-vue_export-helper-CHgC5LLL.js";
8
+ const Le = ["id"], Ve = ["height"], Me = ["data-cell", "height"], Ge = {
9
+ key: 2,
10
+ ref: "source",
11
+ dir: "auto"
12
+ }, qe = {
13
+ __name: "vue-ui-carousel-table",
14
+ props: {
15
+ config: {
16
+ type: Object,
17
+ default() {
18
+ return {};
19
+ }
20
+ },
21
+ dataset: {
22
+ type: Object,
23
+ default() {
24
+ return {};
25
+ }
26
+ }
27
+ },
28
+ setup(m, { expose: fe }) {
29
+ const l = m, { vue_ui_carousel_table: ge } = Ie(), N = n(Fe()), W = n(!1), $ = n(!!l.dataset);
30
+ I(() => {
31
+ Y();
32
+ });
33
+ function Y() {
34
+ K(l.dataset) ? Q({
35
+ componentName: "VueUiCarouselTable",
36
+ type: "dataset"
37
+ }) : ((!l.dataset.head || K(l.dataset.head)) && (Q({
38
+ componentName: "VueUiCarouselTable",
39
+ type: "datasetAttribute",
40
+ property: "head"
41
+ }), $.value = !1), (!l.dataset.body || K(l.dataset.body)) && (Q({
42
+ componentName: "VueUiCarouselTable",
43
+ type: "datasetAttribute",
44
+ property: "body"
45
+ }), $.value = !1));
46
+ }
47
+ const e = F({
48
+ get: () => ee(),
49
+ set: (t) => t
50
+ }), { userOptionsVisible: U, setUserOptionsVisibility: Z, keepUserOptionState: _ } = Ue({ config: e.value });
51
+ function ee() {
52
+ return ze({
53
+ userConfig: l.config,
54
+ defaultConfig: ge
55
+ });
56
+ }
57
+ M(() => l.config, (t) => {
58
+ e.value = ee(), U.value = !e.value.showOnChartHover, Y();
59
+ }, { deep: !0 }), M(() => l.dataset, (t) => {
60
+ H();
61
+ }, { deep: !0 });
62
+ const { isPrinting: te, isImaging: ae, generatePdf: me, generateImage: oe } = Ee({
63
+ elementId: `carousel-table_${N.value}`,
64
+ fileName: e.value.caption.text || "vue-ui-carousel-table"
65
+ }), c = n({
66
+ showAnimation: e.value.animation.use
67
+ }), r = n(null), ne = n(null), T = n(null), k = n(null), A = n(0), R = n(0), z = n(!1), w = n(null), f = n(null), x = n(0);
68
+ function H() {
69
+ w.value && (f.value = {
70
+ elements: w.value.getElementsByTagName("tr"),
71
+ heights: Array.from(w.value.getElementsByTagName("tr")).map((t) => t.getBoundingClientRect().height)
72
+ });
73
+ }
74
+ I(H);
75
+ const be = F(() => !f.value || !f.value.heights.length ? 0 : Math.max(...f.value.heights) + A.value + R.value), ye = F(() => l.dataset.body ? e.value.tbody.tr.visible <= l.dataset.body.length ? e.value.tbody.tr.visible : l.dataset.body.length : 0), Ce = F(() => (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) * ye.value + A.value + R.value), E = n(0), O = n(null), b = n(0), y = n(!1), le = n(0);
76
+ I(() => {
77
+ T.value && (A.value = T.value.getBoundingClientRect().height), k.value && (R.value = k.value.getBoundingClientRect().height), c.value.showAnimation && f.value && ie();
78
+ }), I(() => {
79
+ if (r.value) {
80
+ let o = function() {
81
+ const i = t.getBoundingClientRect().bottom;
82
+ a.forEach((h) => {
83
+ h.getBoundingClientRect().top < i ? h.style.visibility = "hidden" : h.style.visibility = "visible";
84
+ });
85
+ };
86
+ const t = r.value.querySelector("thead"), a = Array.from(w.value.querySelectorAll("tr"));
87
+ r.value.addEventListener("scroll", o), o(), pe(() => {
88
+ r.value.removeEventListener("scroll", o);
89
+ });
90
+ }
91
+ });
92
+ function $e(t) {
93
+ W.value = t, le.value += 1;
94
+ }
95
+ function ie() {
96
+ !O.value && !y.value && (O.value = requestAnimationFrame(se));
97
+ }
98
+ function Te() {
99
+ if (!r.value) return !1;
100
+ const { scrollTop: t, scrollHeight: a, clientHeight: o } = r.value;
101
+ return t + o >= a;
102
+ }
103
+ function se(t) {
104
+ if (y.value) return;
105
+ b.value || (b.value = t), t - b.value >= e.value.animation.speedMs && (E.value += f.value.heights[x.value], (Te() || x.value >= f.value.heights.length) && (E.value = 0, x.value = -1), x.value += 1, r.value && r.value.scrollTo({
106
+ top: E.value,
107
+ behavior: "smooth"
108
+ }), b.value = t), O.value = requestAnimationFrame(se);
109
+ }
110
+ function g() {
111
+ y.value = !0, cancelAnimationFrame(O.value), O.value = null;
112
+ }
113
+ pe(g);
114
+ function C() {
115
+ !y.value || !c.value.showAnimation || (y.value = !1, b.value = 0, ie());
116
+ }
117
+ function ke() {
118
+ e.value.animation.pauseOnHover && g();
119
+ }
120
+ const L = n(null);
121
+ function Ae() {
122
+ g(), clearTimeout(L.value);
123
+ }
124
+ function ue() {
125
+ clearTimeout(L.value), L.value = setTimeout(C, 1e3);
126
+ }
127
+ M(
128
+ () => e.value.animation.use,
129
+ (t) => {
130
+ t ? (c.value.showAnimation = !0, C()) : (c.value.showAnimation = !1, g());
131
+ }
132
+ );
133
+ const we = F(() => e.value.responsiveBreakpoint);
134
+ I(() => {
135
+ const t = new ResizeObserver((a) => {
136
+ a.forEach((o) => {
137
+ z.value = o.contentRect.width < we.value;
138
+ }), A.value = T.value ? T.value.getBoundingClientRect().height : 0, R.value = k.value ? k.value.getBoundingClientRect().height : 0, x.value = 0, ce(() => {
139
+ g(), b.value = 0, E.value = 0, H(), C();
140
+ });
141
+ });
142
+ r.value && t.observe(r.value);
143
+ });
144
+ function re() {
145
+ me();
146
+ }
147
+ function de() {
148
+ c.value.showAnimation = !c.value.showAnimation, c.value.showAnimation ? C() : g();
149
+ }
150
+ function ve() {
151
+ ce(() => {
152
+ const t = l.dataset.head.map((i, h) => [
153
+ [l.dataset.body[h]]
154
+ ]), a = [
155
+ [e.value.caption.text],
156
+ [l.dataset.head.map((i) => [i])]
157
+ ].concat(t), o = Pe(a);
158
+ Re({
159
+ csvContent: o,
160
+ title: e.value.caption.text || "vue-ui-carousel-table"
161
+ });
162
+ });
163
+ }
164
+ return fe({
165
+ pauseAnimation: g,
166
+ resumeAnimation: C,
167
+ toggleAnimation: de,
168
+ generateCsv: ve,
169
+ generatePdf: re,
170
+ generateImage: oe
171
+ }), (t, a) => (s(), d("div", {
172
+ style: { position: "relative", overflow: "visible" },
173
+ ref_key: "chartContainer",
174
+ ref: ne,
175
+ onMouseenter: a[5] || (a[5] = () => u(Z)(!0)),
176
+ onMouseleave: a[6] || (a[6] = () => u(Z)(!1))
177
+ }, [
178
+ S("div", {
179
+ ref_key: "tableContainer",
180
+ ref: r,
181
+ id: `carousel-table_${N.value}`,
182
+ style: v({
183
+ height: u(te) || u(ae) ? "auto" : `${Math.max(Ce.value, be.value)}px`,
184
+ containerType: "inline-size",
185
+ position: "relative",
186
+ overflow: "auto",
187
+ fontFamily: e.value.fontFamily
188
+ }),
189
+ class: xe({ "vue-ui-responsive": z.value, "is-playing": e.value.scrollbar.hide || !y.value && e.value.scrollbar.showOnlyOnHover }),
190
+ onMouseover: a[0] || (a[0] = (o) => ke()),
191
+ onMouseleave: a[1] || (a[1] = (o) => C()),
192
+ onTouchstart: a[2] || (a[2] = (o) => Ae()),
193
+ onTouchend: a[3] || (a[3] = (o) => ue()),
194
+ onTouchcancel: a[4] || (a[4] = (o) => ue())
195
+ }, [
196
+ $.value ? (s(), d("table", {
197
+ key: 0,
198
+ class: "vue-data-ui-carousel-table",
199
+ style: v({
200
+ ...e.value.style,
201
+ border: `${e.value.border.size}px solid ${e.value.border.color}`,
202
+ width: "100%",
203
+ borderCollapse: "collapse",
204
+ backgroundColor: e.value.tbody.backgroundColor
205
+ })
206
+ }, [
207
+ S("caption", {
208
+ ref_key: "caption",
209
+ ref: T,
210
+ class: "vue-data-ui-carousel-table-caption",
211
+ style: v({
212
+ ...e.value.caption.style,
213
+ fontFamily: "inherit",
214
+ position: "sticky",
215
+ top: 0,
216
+ zIndex: 2,
217
+ paddingTop: e.value.caption.padding.top + "px",
218
+ paddingRight: e.value.caption.padding.right + "px",
219
+ paddingBottom: e.value.caption.padding.bottom + "px",
220
+ paddingLeft: e.value.caption.padding.left + "px",
221
+ boxShadow: z.value ? e.value.thead.tr.style.boxShadow : "none",
222
+ minHeight: "36px",
223
+ display: t.$slots.caption || e.value.caption.text || e.value.userOptions.show ? "" : "none"
224
+ })
225
+ }, [
226
+ G(q(e.value.caption.text && !t.$slots.caption ? e.value.caption.text : "") + " ", 1),
227
+ p(t.$slots, "caption", {}, void 0, !0)
228
+ ], 4),
229
+ S("thead", {
230
+ style: v({ ...e.value.thead.style, position: "sticky", top: `${t.$slots.caption || e.value.caption.text || e.value.userOptions.show ? A.value : 0}px`, zIndex: 1 })
231
+ }, [
232
+ S("tr", {
233
+ ref_key: "tableRow",
234
+ ref: k,
235
+ role: "row",
236
+ style: v({
237
+ ...e.value.thead.tr.style,
238
+ border: e.value.thead.tr.border.size ? `${e.value.thead.tr.border.size}px solid ${e.value.thead.tr.border.color}` : "none",
239
+ boxShadow: z.value ? "none" : e.value.thead.tr.style.boxShadow
240
+ }),
241
+ height: `${e.value.thead.tr.height}px`
242
+ }, [
243
+ (s(!0), d(D, null, X(m.dataset.head, (o, i) => (s(), d("th", {
244
+ role: "cell",
245
+ key: `th_${i}`,
246
+ style: v({
247
+ ...e.value.thead.tr.th.style,
248
+ border: e.value.thead.tr.th.border.size ? `${e.value.thead.tr.th.border.size}px solid ${e.value.thead.tr.th.border.color}` : "none",
249
+ paddingTop: e.value.thead.tr.th.padding.top + "px",
250
+ paddingRight: e.value.thead.tr.th.padding.right + "px",
251
+ paddingBottom: e.value.thead.tr.th.padding.bottom + "px",
252
+ paddingLeft: e.value.thead.tr.th.padding.left + "px"
253
+ })
254
+ }, [
255
+ G(q(t.$slots.th ? "" : o) + " ", 1),
256
+ p(t.$slots, "th", j(J({ th: o, colIndex: i })), void 0, !0)
257
+ ], 4))), 128))
258
+ ], 12, Ve)
259
+ ], 4),
260
+ m.dataset.body && m.dataset.head ? (s(), d("tbody", {
261
+ key: 0,
262
+ ref_key: "tbody",
263
+ ref: w,
264
+ style: v({
265
+ clipPath: "inset(0,0,0,0)"
266
+ })
267
+ }, [
268
+ (s(!0), d(D, null, X(m.dataset.body, (o, i) => (s(), d("tr", {
269
+ style: v({
270
+ ...e.value.tbody.tr.style,
271
+ border: `${e.value.tbody.tr.border.size}px solid ${e.value.tbody.tr.border.color}`,
272
+ verticalAlign: "middle"
273
+ })
274
+ }, [
275
+ (s(!0), d(D, null, X(o, (h, V) => (s(), d("td", {
276
+ role: "cell",
277
+ "data-cell": m.dataset.head[V] || "",
278
+ style: v({
279
+ ...e.value.tbody.tr.td.style,
280
+ border: `${e.value.tbody.tr.td.border.size}px solid ${e.value.tbody.tr.td.border.color}`,
281
+ backgroundColor: u(Be)(e.value.tbody.tr.td.style.backgroundColor, i % 2 === 0 && e.value.tbody.tr.td.alternateColor ? e.value.tbody.tr.td.alternateOpacity * 100 : 100),
282
+ paddingTop: e.value.tbody.tr.td.padding.top + "px",
283
+ paddingRight: e.value.tbody.tr.td.padding.right + "px",
284
+ paddingBottom: e.value.tbody.tr.td.padding.bottom + "px",
285
+ paddingLeft: e.value.tbody.tr.td.padding.left + "px",
286
+ verticalAlign: "middle"
287
+ }),
288
+ height: `${e.value.tbody.tr.height}px`
289
+ }, [
290
+ G(q(t.$slots.td ? "" : h) + " ", 1),
291
+ p(t.$slots, "td", j(J({ td: h, rowIndex: i, colIndex: V })), void 0, !0)
292
+ ], 12, Me))), 256))
293
+ ], 4))), 256))
294
+ ], 4)) : B("", !0)
295
+ ], 4)) : B("", !0)
296
+ ], 46, Le),
297
+ $.value ? B("", !0) : (s(), he(Ne, {
298
+ key: 0,
299
+ config: {
300
+ type: "table"
301
+ }
302
+ })),
303
+ e.value.userOptions.show && $.value && (u(_) || u(U)) ? (s(), he(Se, {
304
+ ref: "details",
305
+ key: `user_option_${le.value}`,
306
+ backgroundColor: e.value.style.backgroundColor,
307
+ color: e.value.style.color,
308
+ isPrinting: u(te),
309
+ isImaging: u(ae),
310
+ uid: N.value,
311
+ hasTooltip: !1,
312
+ hasPdf: e.value.userOptions.buttons.pdf,
313
+ hasImg: e.value.userOptions.buttons.img,
314
+ hasXls: e.value.userOptions.buttons.csv,
315
+ hasTable: !1,
316
+ hasLabel: !1,
317
+ hasAnimation: e.value.userOptions.buttons.animation,
318
+ isAnimation: !c.value.showAnimation,
319
+ hasFullscreen: e.value.userOptions.buttons.fullscreen,
320
+ isFullscreen: W.value,
321
+ chartElement: ne.value,
322
+ position: e.value.userOptions.position,
323
+ titles: { ...e.value.userOptions.buttonTitles },
324
+ zIndex: 3,
325
+ offsetX: 12,
326
+ onGeneratePdf: re,
327
+ onGenerateCsv: ve,
328
+ onGenerateImage: u(oe),
329
+ onToggleAnimation: de,
330
+ onToggleFullscreen: $e,
331
+ style: v({
332
+ visibility: u(_) ? u(U) ? "visible" : "hidden" : "visible"
333
+ })
334
+ }, Oe({ _: 2 }, [
335
+ t.$slots.optionPdf ? {
336
+ name: "optionPdf",
337
+ fn: P(() => [
338
+ p(t.$slots, "optionPdf", {}, void 0, !0)
339
+ ]),
340
+ key: "0"
341
+ } : void 0,
342
+ t.$slots.optionCsv ? {
343
+ name: "optionCsv",
344
+ fn: P(() => [
345
+ p(t.$slots, "optionCsv", {}, void 0, !0)
346
+ ]),
347
+ key: "1"
348
+ } : void 0,
349
+ t.$slots.optionImg ? {
350
+ name: "optionImg",
351
+ fn: P(() => [
352
+ p(t.$slots, "optionImg", {}, void 0, !0)
353
+ ]),
354
+ key: "2"
355
+ } : void 0,
356
+ t.$slots.optionAnimation ? {
357
+ name: "optionAnimation",
358
+ fn: P(() => [
359
+ p(t.$slots, "optionAnimation", {}, void 0, !0)
360
+ ]),
361
+ key: "3"
362
+ } : void 0,
363
+ t.$slots.optionFullscreen ? {
364
+ name: "optionFullscreen",
365
+ fn: P(({ toggleFullscreen: o, isFullscreen: i }) => [
366
+ p(t.$slots, "optionFullscreen", j(J({ toggleFullscreen: o, isFullscreen: i })), void 0, !0)
367
+ ]),
368
+ key: "4"
369
+ } : void 0
370
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasXls", "hasAnimation", "isAnimation", "hasFullscreen", "isFullscreen", "chartElement", "position", "titles", "onGenerateImage", "style"])) : B("", !0),
371
+ t.$slots.source ? (s(), d("div", Ge, [
372
+ p(t.$slots, "source", {}, void 0, !0)
373
+ ], 512)) : B("", !0)
374
+ ], 544));
375
+ }
376
+ }, Ye = /* @__PURE__ */ He(qe, [["__scopeId", "data-v-9d3c0699"]]);
377
+ export {
378
+ Ye as default
379
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),u=require("./index-BkXYJDpD.cjs"),re=require("./useNestedProp-C6IvqE-r.cjs"),K=require("./usePrinter-DHv-BwME.cjs"),ie=require("./vue-ui-skeleton-BTN1PKkz.cjs"),ue=require("./useUserOptionState-BgepsfED.cjs"),se=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),de=["id"],ve=["height"],ce=["data-cell","height"],pe={key:2,ref:"source",dir:"auto"},fe={__name:"vue-ui-carousel-table",props:{config:{type:Object,default(){return{}}},dataset:{type:Object,default(){return{}}}},setup(p,{expose:Q}){const l=p,{vue_ui_carousel_table:W}=u.useConfig(),S=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:()=>R(),set:o=>o}),{userOptionsVisible:A,setUserOptionsVisibility:F,keepUserOptionState:N}=ue.useUserOptionState({config:t.value});function R(){return re.useNestedProp({userConfig:l.config,defaultConfig:W})}e.watch(()=>l.config,o=>{t.value=R(),A.value=!t.value.showOnChartHover,P()},{deep:!0}),e.watch(()=>l.dataset,o=>{O()},{deep:!0});const{isPrinting:V,isImaging:U,generatePdf:Y,generateImage:M}=K.usePrinter({elementId:`carousel-table_${S.value}`,fileName:t.value.caption.text||"vue-ui-carousel-table"}),s=e.ref({showAnimation:t.value.animation.use}),i=e.ref(null),H=e.ref(null),b=e.ref(null),y=e.ref(null),k=e.ref(0),T=e.ref(0),w=e.ref(!1),C=e.ref(null),v=e.ref(null),$=e.ref(0);function O(){C.value&&(v.value={elements:C.value.getElementsByTagName("tr"),heights:Array.from(C.value.getElementsByTagName("tr")).map(o=>o.getBoundingClientRect().height)})}e.onMounted(O);const Z=e.computed(()=>!v.value||!v.value.heights.length?0:Math.max(...v.value.heights)+k.value+T.value),_=e.computed(()=>l.dataset.body?t.value.tbody.tr.visible<=l.dataset.body.length?t.value.tbody.tr.visible:l.dataset.body.length:0),ee=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)*_.value+k.value+T.value),x=e.ref(0),B=e.ref(null),f=e.ref(0),m=e.ref(!1),q=e.ref(0);e.onMounted(()=>{b.value&&(k.value=b.value.getBoundingClientRect().height),y.value&&(T.value=y.value.getBoundingClientRect().height),s.value.showAnimation&&v.value&&L()}),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 te(o){I.value=o,q.value+=1}function L(){!B.value&&!m.value&&(B.value=requestAnimationFrame(D))}function oe(){if(!i.value)return!1;const{scrollTop:o,scrollHeight:n,clientHeight:a}=i.value;return o+a>=n}function D(o){if(m.value)return;f.value||(f.value=o),o-f.value>=t.value.animation.speedMs&&(x.value+=v.value.heights[$.value],(oe()||$.value>=v.value.heights.length)&&(x.value=0,$.value=-1),$.value+=1,i.value&&i.value.scrollTo({top:x.value,behavior:"smooth"}),f.value=o),B.value=requestAnimationFrame(D)}function c(){m.value=!0,cancelAnimationFrame(B.value),B.value=null}e.onBeforeUnmount(c);function h(){!m.value||!s.value.showAnimation||(m.value=!1,f.value=0,L())}function ne(){t.value.animation.pauseOnHover&&c()}const E=e.ref(null);function ae(){c(),clearTimeout(E.value)}function G(){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 le=e.computed(()=>t.value.responsiveBreakpoint);e.onMounted(()=>{const o=new ResizeObserver(n=>{n.forEach(a=>{w.value=a.contentRect.width<le.value}),k.value=b.value?b.value.getBoundingClientRect().height:0,T.value=y.value?y.value.getBoundingClientRect().height:0,$.value=0,e.nextTick(()=>{c(),f.value=0,x.value=0,O(),h()})});i.value&&o.observe(i.value)});function j(){Y()}function X(){s.value.showAnimation=!s.value.showAnimation,s.value.showAnimation?h():c()}function J(){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 Q({pauseAnimation:c,resumeAnimation:h,toggleAnimation:X,generateCsv:J,generatePdf:j,generateImage:M}),(o,n)=>(e.openBlock(),e.createElementBlock("div",{style:{position:"relative",overflow:"visible"},ref_key:"chartContainer",ref:H,onMouseenter:n[5]||(n[5]=()=>e.unref(F)(!0)),onMouseleave:n[6]||(n[6]=()=>e.unref(F)(!1))},[e.createElementVNode("div",{ref_key:"tableContainer",ref:i,id:`carousel-table_${S.value}`,style:e.normalizeStyle({height:e.unref(V)||e.unref(U)?"auto":`${Math.max(ee.value,Z.value)}px`,containerType:"inline-size",position:"relative",overflow:"auto",fontFamily:t.value.fontFamily}),class:e.normalizeClass({"vue-ui-responsive":w.value,"is-playing":t.value.scrollbar.hide||!m.value&&t.value.scrollbar.showOnlyOnHover}),onMouseover:n[0]||(n[0]=a=>ne()),onMouseleave:n[1]||(n[1]=a=>h()),onTouchstart:n[2]||(n[2]=a=>ae()),onTouchend:n[3]||(n[3]=a=>G()),onTouchcancel:n[4]||(n[4]=a=>G())},[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",backgroundColor:t.value.tbody.backgroundColor})},[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:w.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?k.value:0}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:w.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,ve)],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,ce))),256))],4))),256))],4)):e.createCommentVNode("",!0)],4)):e.createCommentVNode("",!0)],46,de),g.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(ie.default,{key:0,config:{type:"table"}})),t.value.userOptions.show&&g.value&&(e.unref(N)||e.unref(A))?(e.openBlock(),e.createBlock(K.UserOptions,{ref:"details",key:`user_option_${q.value}`,backgroundColor:t.value.style.backgroundColor,color:t.value.style.color,isPrinting:e.unref(V),isImaging:e.unref(U),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:!s.value.showAnimation,hasFullscreen:t.value.userOptions.buttons.fullscreen,isFullscreen:I.value,chartElement:H.value,position:t.value.userOptions.position,titles:{...t.value.userOptions.buttonTitles},zIndex:3,offsetX:12,onGeneratePdf:j,onGenerateCsv:J,onGenerateImage:e.unref(M),onToggleAnimation:X,onToggleFullscreen:te,style:e.normalizeStyle({visibility:e.unref(N)?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: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","style"])):e.createCommentVNode("",!0),o.$slots.source?(e.openBlock(),e.createElementBlock("div",pe,[e.renderSlot(o.$slots,"source",{},void 0,!0)],512)):e.createCommentVNode("",!0)],544))}},me=se._export_sfc(fe,[["__scopeId","data-v-9d3c0699"]]);exports.default=me;