vue-data-ui 3.19.4 → 3.19.6

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 (180) hide show
  1. package/dist/{PackageVersion-DvDLFw4Z.js → PackageVersion-C7CvErYQ.js} +1 -1
  2. package/dist/{SlicerPreview-7pKvVSTr.js → SlicerPreview-CG1jpZqZ.js} +7 -7
  3. package/dist/{UserOptions-DMw8EZEo.js → UserOptions-B57xo6D2.js} +7 -3
  4. package/dist/components/vue-ui-3d-bar.js +1 -1
  5. package/dist/components/vue-ui-age-pyramid.js +1 -1
  6. package/dist/components/vue-ui-bullet.js +1 -1
  7. package/dist/components/vue-ui-bump.js +1 -1
  8. package/dist/components/vue-ui-candlestick.js +1 -1
  9. package/dist/components/vue-ui-carousel-table.js +1 -1
  10. package/dist/components/vue-ui-chestnut.js +1 -1
  11. package/dist/components/vue-ui-chord.js +1 -1
  12. package/dist/components/vue-ui-circle-pack.js +1 -1
  13. package/dist/components/vue-ui-cursor.js +1 -1
  14. package/dist/components/vue-ui-dag.js +1 -1
  15. package/dist/components/vue-ui-dashboard.js +1 -1
  16. package/dist/components/vue-ui-digits.js +1 -1
  17. package/dist/components/vue-ui-donut-evolution.js +1 -1
  18. package/dist/components/vue-ui-donut.js +1 -1
  19. package/dist/components/vue-ui-dumbbell.js +1 -1
  20. package/dist/components/vue-ui-flow.js +1 -1
  21. package/dist/components/vue-ui-funnel.js +1 -1
  22. package/dist/components/vue-ui-galaxy.js +1 -1
  23. package/dist/components/vue-ui-gauge.js +1 -1
  24. package/dist/components/vue-ui-geo.js +1 -1
  25. package/dist/components/vue-ui-gizmo.js +1 -1
  26. package/dist/components/vue-ui-heatmap.js +1 -1
  27. package/dist/components/vue-ui-history-plot.js +1 -1
  28. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  29. package/dist/components/vue-ui-kpi.js +1 -1
  30. package/dist/components/vue-ui-molecule.js +1 -1
  31. package/dist/components/vue-ui-mood-radar.js +1 -1
  32. package/dist/components/vue-ui-nested-donuts.js +1 -1
  33. package/dist/components/vue-ui-onion.js +1 -1
  34. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  35. package/dist/components/vue-ui-quadrant.js +1 -1
  36. package/dist/components/vue-ui-quick-chart.js +1 -1
  37. package/dist/components/vue-ui-radar.js +1 -1
  38. package/dist/components/vue-ui-relation-circle.js +1 -1
  39. package/dist/components/vue-ui-ridgeline.js +1 -1
  40. package/dist/components/vue-ui-rings.js +1 -1
  41. package/dist/components/vue-ui-scatter.js +1 -1
  42. package/dist/components/vue-ui-skeleton.js +1 -1
  43. package/dist/components/vue-ui-spark-trend.js +1 -1
  44. package/dist/components/vue-ui-sparkbar.js +1 -1
  45. package/dist/components/vue-ui-sparkgauge.js +1 -1
  46. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  47. package/dist/components/vue-ui-sparkline.js +1 -1
  48. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  49. package/dist/components/vue-ui-stackbar.js +1 -1
  50. package/dist/components/vue-ui-stackline.js +1 -1
  51. package/dist/components/vue-ui-strip-plot.js +1 -1
  52. package/dist/components/vue-ui-table-heatmap.js +1 -1
  53. package/dist/components/vue-ui-table-sparkline.js +1 -1
  54. package/dist/components/vue-ui-table.js +1 -1
  55. package/dist/components/vue-ui-thermometer.js +1 -1
  56. package/dist/components/vue-ui-timer.js +1 -1
  57. package/dist/components/vue-ui-tiremarks.js +1 -1
  58. package/dist/components/vue-ui-treemap.js +1 -1
  59. package/dist/components/vue-ui-vertical-bar.js +1 -1
  60. package/dist/components/vue-ui-waffle.js +1 -1
  61. package/dist/components/vue-ui-wheel.js +1 -1
  62. package/dist/components/vue-ui-word-cloud.js +1 -1
  63. package/dist/components/vue-ui-world.js +1 -1
  64. package/dist/components/vue-ui-xy-canvas.js +1 -1
  65. package/dist/components/vue-ui-xy.js +1 -1
  66. package/dist/style.css +1 -1
  67. package/dist/types/vue-data-ui.d.ts +96 -0
  68. package/dist/types/vue-ui-3d-bar.d.ts +2 -0
  69. package/dist/types/vue-ui-age-pyramid.d.ts +2 -0
  70. package/dist/types/vue-ui-bullet.d.ts +2 -0
  71. package/dist/types/vue-ui-bump.d.ts +2 -0
  72. package/dist/types/vue-ui-candlestick.d.ts +2 -0
  73. package/dist/types/vue-ui-carousel-table.d.ts +2 -0
  74. package/dist/types/vue-ui-chestnut.d.ts +2 -0
  75. package/dist/types/vue-ui-chord.d.ts +2 -0
  76. package/dist/types/vue-ui-circle-pack.d.ts +2 -0
  77. package/dist/types/vue-ui-dag.d.ts +2 -0
  78. package/dist/types/vue-ui-dashboard.d.ts +2 -0
  79. package/dist/types/vue-ui-donut-evolution.d.ts +2 -0
  80. package/dist/types/vue-ui-donut.d.ts +2 -0
  81. package/dist/types/vue-ui-dumbbell.d.ts +2 -0
  82. package/dist/types/vue-ui-flow.d.ts +2 -0
  83. package/dist/types/vue-ui-funnel.d.ts +2 -0
  84. package/dist/types/vue-ui-galaxy.d.ts +2 -0
  85. package/dist/types/vue-ui-gauge.d.ts +2 -0
  86. package/dist/types/vue-ui-geo.d.ts +2 -0
  87. package/dist/types/vue-ui-heatmap.d.ts +2 -0
  88. package/dist/types/vue-ui-history-plot.d.ts +2 -0
  89. package/dist/types/vue-ui-horizontal-bar.d.ts +2 -0
  90. package/dist/types/vue-ui-molecule.d.ts +2 -0
  91. package/dist/types/vue-ui-mood-radar.d.ts +2 -0
  92. package/dist/types/vue-ui-nested-donuts.d.ts +2 -0
  93. package/dist/types/vue-ui-onion.d.ts +2 -0
  94. package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +2 -0
  95. package/dist/types/vue-ui-quadrant.d.ts +2 -0
  96. package/dist/types/vue-ui-quick-chart.d.ts +2 -0
  97. package/dist/types/vue-ui-radar.d.ts +2 -0
  98. package/dist/types/vue-ui-relation-circle.d.ts +2 -0
  99. package/dist/types/vue-ui-ridgeline.d.ts +2 -0
  100. package/dist/types/vue-ui-rings.d.ts +2 -0
  101. package/dist/types/vue-ui-scatter.d.ts +2 -0
  102. package/dist/types/vue-ui-stackbar.d.ts +2 -0
  103. package/dist/types/vue-ui-stackline.d.ts +2 -0
  104. package/dist/types/vue-ui-strip-plot.d.ts +2 -0
  105. package/dist/types/vue-ui-table-heatmap.d.ts +2 -0
  106. package/dist/types/vue-ui-table-sparkline.d.ts +2 -0
  107. package/dist/types/vue-ui-thermometer.d.ts +2 -0
  108. package/dist/types/vue-ui-tiremarks.d.ts +2 -0
  109. package/dist/types/vue-ui-treemap.d.ts +2 -0
  110. package/dist/types/vue-ui-waffle.d.ts +2 -0
  111. package/dist/types/vue-ui-wheel.d.ts +2 -0
  112. package/dist/types/vue-ui-word-cloud.d.ts +2 -0
  113. package/dist/types/vue-ui-world.d.ts +2 -0
  114. package/dist/types/vue-ui-xy-canvas.d.ts +2 -0
  115. package/dist/types/vue-ui-xy.d.ts +2 -0
  116. package/dist/{vue-data-ui-Dwrs581h.js → vue-data-ui-BBnKbdCT.js} +62 -62
  117. package/dist/vue-data-ui.js +62 -62
  118. package/dist/{vue-ui-3d-bar-Dzul1YtG.js → vue-ui-3d-bar-gMuK6OMP.js} +12 -2
  119. package/dist/{vue-ui-age-pyramid-CnJpG89s.js → vue-ui-age-pyramid-B_D1wPY4.js} +12 -2
  120. package/dist/{vue-ui-bullet-DOw-FBkt.js → vue-ui-bullet-Ci3tqx6A.js} +12 -2
  121. package/dist/{vue-ui-bump-1296K-_D.js → vue-ui-bump-31Kryh02.js} +12 -2
  122. package/dist/{vue-ui-candlestick-CI90c-dv.js → vue-ui-candlestick-DU0MXtKT.js} +13 -3
  123. package/dist/vue-ui-carousel-table-D3j0UTQ1.js +455 -0
  124. package/dist/{vue-ui-chestnut-DkY3aAza.js → vue-ui-chestnut-Cgf0vAxo.js} +13 -3
  125. package/dist/{vue-ui-chord-Cg7dZhyY.js → vue-ui-chord-DGma5NsS.js} +13 -3
  126. package/dist/{vue-ui-circle-pack-37xBIDxu.js → vue-ui-circle-pack-EvRfcXnZ.js} +13 -3
  127. package/dist/{vue-ui-cursor-CxWjtVO8.js → vue-ui-cursor-BX8kHXVE.js} +1 -1
  128. package/dist/{vue-ui-dag-DR7C6gpM.js → vue-ui-dag-DuOokTx4.js} +12 -2
  129. package/dist/{vue-ui-dashboard-DnIT0CqG.js → vue-ui-dashboard-BeZCujZv.js} +73 -63
  130. package/dist/{vue-ui-digits-D5q58aw1.js → vue-ui-digits-nIgbeL-K.js} +1 -1
  131. package/dist/{vue-ui-donut-Cpb7TZkJ.js → vue-ui-donut-FzQwgIbN.js} +12 -2
  132. package/dist/{vue-ui-donut-evolution-BBI4VfQj.js → vue-ui-donut-evolution-CwLYRDws.js} +12 -2
  133. package/dist/{vue-ui-dumbbell-C9x0-rY8.js → vue-ui-dumbbell-BmujSKH2.js} +12 -2
  134. package/dist/{vue-ui-flow-CxDcHmcp.js → vue-ui-flow-D4jeyY5a.js} +12 -2
  135. package/dist/{vue-ui-funnel-Cw0bqpEh.js → vue-ui-funnel-DQ1fOfXW.js} +13 -3
  136. package/dist/{vue-ui-galaxy-CRM_RYNS.js → vue-ui-galaxy-Wldw6HHG.js} +12 -2
  137. package/dist/{vue-ui-gauge-Bb41G91j.js → vue-ui-gauge-BzV3y_h3.js} +12 -2
  138. package/dist/{vue-ui-geo-C1yboyh7.js → vue-ui-geo-WLEkf2a9.js} +12 -2
  139. package/dist/{vue-ui-gizmo-ByZeWi5a.js → vue-ui-gizmo-C0vr-wLL.js} +1 -1
  140. package/dist/{vue-ui-heatmap-81urWl8N.js → vue-ui-heatmap-RmaAnr9m.js} +13 -3
  141. package/dist/{vue-ui-history-plot-jY_t-j8l.js → vue-ui-history-plot-Dyf2Atb2.js} +12 -2
  142. package/dist/{vue-ui-horizontal-bar-DPz36eo8.js → vue-ui-horizontal-bar-DG4paRTj.js} +13 -3
  143. package/dist/{vue-ui-kpi-D3B6aH4f.js → vue-ui-kpi-TBQhSM0a.js} +1 -1
  144. package/dist/{vue-ui-molecule-DSrL2Xud.js → vue-ui-molecule-Df4zCHL5.js} +13 -3
  145. package/dist/{vue-ui-mood-radar-B0eX1hbk.js → vue-ui-mood-radar-RQqmJU_9.js} +12 -2
  146. package/dist/{vue-ui-nested-donuts-5krUsJOl.js → vue-ui-nested-donuts-C7VIp7mz.js} +12 -2
  147. package/dist/{vue-ui-onion-BCAkjL1C.js → vue-ui-onion-DP4NWU3Y.js} +12 -2
  148. package/dist/{vue-ui-parallel-coordinate-plot-TyRTDqCv.js → vue-ui-parallel-coordinate-plot-a7OvbsVh.js} +12 -2
  149. package/dist/{vue-ui-quadrant-BZ2xUGmX.js → vue-ui-quadrant-C4GxyyE3.js} +12 -2
  150. package/dist/{vue-ui-quick-chart-BfqPcddN.js → vue-ui-quick-chart-BNCkZiiG.js} +12 -2
  151. package/dist/{vue-ui-radar-DMN97Hh0.js → vue-ui-radar-Dcq3bWA4.js} +12 -2
  152. package/dist/{vue-ui-relation-circle-BLXtfPaW.js → vue-ui-relation-circle-CZ1UtEIM.js} +15 -5
  153. package/dist/{vue-ui-ridgeline-BI95AwXT.js → vue-ui-ridgeline-CsNDB48W.js} +12 -2
  154. package/dist/{vue-ui-rings-DPkUAULM.js → vue-ui-rings-Bwd_i2eo.js} +12 -2
  155. package/dist/{vue-ui-scatter-B7TJLai5.js → vue-ui-scatter-DAa8MnhH.js} +12 -2
  156. package/dist/{vue-ui-skeleton-DfmwfoiV.js → vue-ui-skeleton-CPy9DsSC.js} +1 -1
  157. package/dist/{vue-ui-spark-trend-yuTWmJP1.js → vue-ui-spark-trend-CM06cEvG.js} +1 -1
  158. package/dist/{vue-ui-sparkbar-ybtZMa0p.js → vue-ui-sparkbar-CSDRWMhb.js} +1 -1
  159. package/dist/{vue-ui-sparkgauge-B7Hqa_80.js → vue-ui-sparkgauge-CKeKTyBH.js} +1 -1
  160. package/dist/{vue-ui-sparkhistogram-CEQ7Pm3F.js → vue-ui-sparkhistogram-BSnU2_Q0.js} +1 -1
  161. package/dist/{vue-ui-sparkline-D8cWq4uX.js → vue-ui-sparkline-DhkrfLYf.js} +1 -1
  162. package/dist/{vue-ui-sparkstackbar-D9gswj7E.js → vue-ui-sparkstackbar-D3vn49rn.js} +1 -1
  163. package/dist/{vue-ui-stackbar-D-3efid2.js → vue-ui-stackbar-BR7tZmWR.js} +35 -19
  164. package/dist/{vue-ui-stackline-CKYIzXwW.js → vue-ui-stackline-Dj9N60Js.js} +202 -185
  165. package/dist/{vue-ui-strip-plot-HslKryIg.js → vue-ui-strip-plot-DLH2Jc91.js} +12 -2
  166. package/dist/{vue-ui-table-DLkjqaWN.js → vue-ui-table-DBWGRgw6.js} +2 -2
  167. package/dist/{vue-ui-table-heatmap-CvHoeUmu.js → vue-ui-table-heatmap-D0SM6A1L.js} +14 -4
  168. package/dist/{vue-ui-table-sparkline-Br_TS18u.js → vue-ui-table-sparkline-BShpt1UR.js} +13 -3
  169. package/dist/{vue-ui-thermometer-BbDER4uz.js → vue-ui-thermometer-BIH00QYu.js} +15 -5
  170. package/dist/{vue-ui-timer-BRLnG2PT.js → vue-ui-timer-vcaC2CGp.js} +1 -1
  171. package/dist/{vue-ui-tiremarks-CyxBpd-s.js → vue-ui-tiremarks-BmhvsqeP.js} +12 -2
  172. package/dist/{vue-ui-treemap-C4xT6aQB.js → vue-ui-treemap-C-M5PHTS.js} +12 -2
  173. package/dist/{vue-ui-waffle-C6EUywI5.js → vue-ui-waffle-DnpUe9aj.js} +12 -2
  174. package/dist/{vue-ui-wheel-6L2JNsHt.js → vue-ui-wheel-D21hTOn0.js} +15 -5
  175. package/dist/{vue-ui-word-cloud-CCvNo143.js → vue-ui-word-cloud-C4SPxSlX.js} +12 -2
  176. package/dist/{vue-ui-world-DLXGPAHr.js → vue-ui-world-DSq_cPCv.js} +12 -2
  177. package/dist/{vue-ui-xy-D2KUL-zN.js → vue-ui-xy-Iep0AjyV.js} +13 -3
  178. package/dist/{vue-ui-xy-canvas-DmZd3f1x.js → vue-ui-xy-canvas-DjTurM4m.js} +13 -3
  179. package/package.json +1 -1
  180. package/dist/vue-ui-carousel-table-ebgWqQoO.js +0 -445
@@ -159,7 +159,7 @@ var Ie = /* @__PURE__ */ e({ default: () => ht }), Le = ["id"], Re = ["id"], ze
159
159
  },
160
160
  emits: ["copyAlt"],
161
161
  setup(e, { expose: _e, emit: Ie }) {
162
- let ht = h(() => import("./Tooltip-CuWEYGr3.js")), gt = h(() => import("./BaseIcon-CEmt3Ifx.js").then((e) => e.n)), _t = h(() => import("./vue-ui-accordion-CNtzLReQ.js").then((e) => e.n)), vt = h(() => import("./DataTable-BvDJEAma.js")), yt = h(() => import("./PenAndPaper-DwpL8Z0l.js").then((e) => e.t)), bt = h(() => import("./UserOptions-DMw8EZEo.js").then((e) => e.n)), xt = h(() => import("./PackageVersion-DvDLFw4Z.js").then((e) => e.t)), St = h(() => import("./BaseDraggableDialog-BQcmQAK5.js").then((e) => e.n)), { vue_ui_age_pyramid: Ct } = se(), { isThemeValid: wt, warnInvalidTheme: Tt } = pe(), D = e, Et = Ie, Dt = u(() => !!D.dataset && D.dataset.length), O = b(n()), k = b(!1), Ot = b(""), A = b(null), kt = b(0), j = b(null), At = b(null), jt = b(null), Mt = b(null), Nt = b(0), Pt = b(0), Ft = b(null), M = b(null), It = b(null), Lt = b(!1), N = b(!1), P = b(null), Rt = b({
162
+ let ht = h(() => import("./Tooltip-CuWEYGr3.js")), gt = h(() => import("./BaseIcon-CEmt3Ifx.js").then((e) => e.n)), _t = h(() => import("./vue-ui-accordion-CNtzLReQ.js").then((e) => e.n)), vt = h(() => import("./DataTable-BvDJEAma.js")), yt = h(() => import("./PenAndPaper-DwpL8Z0l.js").then((e) => e.t)), bt = h(() => import("./UserOptions-B57xo6D2.js").then((e) => e.n)), xt = h(() => import("./PackageVersion-C7CvErYQ.js").then((e) => e.t)), St = h(() => import("./BaseDraggableDialog-BQcmQAK5.js").then((e) => e.n)), { vue_ui_age_pyramid: Ct } = se(), { isThemeValid: wt, warnInvalidTheme: Tt } = pe(), D = e, Et = Ie, Dt = u(() => !!D.dataset && D.dataset.length), O = b(n()), k = b(!1), Ot = b(""), A = b(null), kt = b(0), j = b(null), At = b(null), jt = b(null), Mt = b(null), Nt = b(0), Pt = b(0), Ft = b(null), M = b(null), It = b(null), Lt = b(!1), N = b(!1), P = b(null), Rt = b({
163
163
  x: 0,
164
164
  y: 0
165
165
  }), F = b("pointer"), zt = b(!1), I = b(Kt()), L = u(() => I.value.userOptions.useCursorPointer), Bt = u(() => oe({
@@ -908,6 +908,16 @@ var Ie = /* @__PURE__ */ e({ default: () => ht }), Le = ["id"], Re = ["id"], ze
908
908
  name: "optionAltCopy",
909
909
  fn: E(({ altCopy: e }) => [S(n.$slots, "optionAltCopy", _(g({ altCopy: e })), void 0, !0)]),
910
910
  key: "9"
911
+ } : void 0,
912
+ n.$slots["custom-menu-before"] ? {
913
+ name: "custom-menu-before",
914
+ fn: E(() => [S(n.$slots, "custom-menu-before", {}, void 0, !0)]),
915
+ key: "10"
916
+ } : void 0,
917
+ n.$slots["custom-menu-after"] ? {
918
+ name: "custom-menu-after",
919
+ fn: E(() => [S(n.$slots, "custom-menu-after", {}, void 0, !0)]),
920
+ key: "11"
911
921
  } : void 0
912
922
  ]), 1032, /* @__PURE__ */ "backgroundColor.color.isImaging.isPrinting.uid.hasTooltip.hasPdf.hasXls.hasImg.hasSvg.hasTable.hasFullscreen.hasAltCopy.isFullscreen.isTooltip.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.style".split("."))) : f("", !0),
913
923
  m("div", ze, [(y(), p("svg", {
@@ -1223,6 +1233,6 @@ var Ie = /* @__PURE__ */ e({ default: () => ht }), Le = ["id"], Re = ["id"], ze
1223
1233
  S(n.$slots, "skeleton", {}, () => [w(Vt) ? (y(), d(ue, { key: 0 })) : f("", !0)], !0)
1224
1234
  ], 46, Le));
1225
1235
  }
1226
- }, [["__scopeId", "data-v-2b5617d2"]]);
1236
+ }, [["__scopeId", "data-v-6401e590"]]);
1227
1237
  //#endregion
1228
1238
  export { Ie as n, ht as t };
@@ -103,7 +103,7 @@ var ke = /* @__PURE__ */ e({ default: () => T }), Ae = ["id"], je = {
103
103
  },
104
104
  emits: ["copyAlt"],
105
105
  setup(e, { expose: pe, emit: ke }) {
106
- let T = m(() => import("./PackageVersion-DvDLFw4Z.js").then((e) => e.t)), Ze = m(() => import("./PenAndPaper-DwpL8Z0l.js").then((e) => e.t)), Qe = m(() => import("./UserOptions-DMw8EZEo.js").then((e) => e.n)), { vue_ui_bullet: $e } = ae(), { isThemeValid: et, warnInvalidTheme: tt } = ue(), E = e, nt = ke, D = y(null), rt = y(null), it = y(0), at = y(null), ot = y(null), st = y(0), O = y(null), k = y(null), ct = y(!1), A = y(!1), j = y(!1), M = l({
106
+ let T = m(() => import("./PackageVersion-C7CvErYQ.js").then((e) => e.t)), Ze = m(() => import("./PenAndPaper-DwpL8Z0l.js").then((e) => e.t)), Qe = m(() => import("./UserOptions-B57xo6D2.js").then((e) => e.n)), { vue_ui_bullet: $e } = ae(), { isThemeValid: et, warnInvalidTheme: tt } = ue(), E = e, nt = ke, D = y(null), rt = y(null), it = y(0), at = y(null), ot = y(null), st = y(0), O = y(null), k = y(null), ct = y(!1), A = y(!1), j = y(!1), M = l({
107
107
  get: () => R.value.hasOwnProperty("value"),
108
108
  set: (e) => e
109
109
  }), N = l(() => R.value.segments ? Array.isArray(R.value.segments) ? R.value.segments.length ? !0 : (console.warn("VueUiBullet: dataset segments is empty. Provide segments with this datastructure:\n\nsegments: [\n {\n name: string;\n from: number;\n to: number;\n color?: string;\n },\n {...}\n]\n "), M.value = !1, !1) : (console.warn("VueUiBullet: dataset segments must be an array of objects with this datastructure:\n\nsegments: [\n {\n name: string;\n from: number;\n to: number;\n color?: string;\n },\n {...}\n] \n "), M.value = !1, !1) : (console.warn("VueUiBullet: dataset segments is empty. Provide segments with this datastructure:\n\nsegments: [\n {\n name: string;\n from: number;\n to: number;\n color?: string;\n },\n {...}\n]\n "), M.value = !1, !1)), lt = l(() => !!I.value.debug), ut = l(() => {
@@ -534,6 +534,16 @@ var ke = /* @__PURE__ */ e({ default: () => T }), Ae = ["id"], je = {
534
534
  name: "optionAltCopy",
535
535
  fn: w(({ altCopy: t }) => [x(e.$slots, "optionAltCopy", g(h({ altCopy: t })), void 0, !0)]),
536
536
  key: "6"
537
+ } : void 0,
538
+ e.$slots["custom-menu-before"] ? {
539
+ name: "custom-menu-before",
540
+ fn: w(() => [x(e.$slots, "custom-menu-before", {}, void 0, !0)]),
541
+ key: "7"
542
+ } : void 0,
543
+ e.$slots["custom-menu-after"] ? {
544
+ name: "custom-menu-after",
545
+ fn: w(() => [x(e.$slots, "custom-menu-after", {}, void 0, !0)]),
546
+ key: "8"
537
547
  } : void 0
538
548
  ]), 1032, [
539
549
  "backgroundColor",
@@ -695,6 +705,6 @@ var ke = /* @__PURE__ */ e({ default: () => T }), Ae = ["id"], je = {
695
705
  x(e.$slots, "skeleton", {}, () => [C(L) ? (v(), u(ce, { key: 0 })) : d("", !0)], !0)
696
706
  ], 46, Ae));
697
707
  }
698
- }, [["__scopeId", "data-v-acd101a7"]]);
708
+ }, [["__scopeId", "data-v-2040c43b"]]);
699
709
  //#endregion
700
710
  export { ke as n, T as t };
@@ -127,7 +127,7 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
127
127
  },
128
128
  emits: ["copyAlt"],
129
129
  setup(e, { expose: be, emit: Ve }) {
130
- let ct = _(() => import("./BaseIcon-CEmt3Ifx.js").then((e) => e.n)), lt = _(() => import("./vue-ui-accordion-CNtzLReQ.js").then((e) => e.n)), ut = _(() => import("./DataTable-BvDJEAma.js")), dt = _(() => import("./PenAndPaper-DwpL8Z0l.js").then((e) => e.t)), ft = _(() => import("./UserOptions-DMw8EZEo.js").then((e) => e.n)), pt = _(() => import("./PackageVersion-DvDLFw4Z.js").then((e) => e.t)), { vue_ui_bump: mt } = de(), { isThemeValid: ht, warnInvalidTheme: gt } = _e(), O = e, _t = Ve, vt = f({
130
+ let ct = _(() => import("./BaseIcon-CEmt3Ifx.js").then((e) => e.n)), lt = _(() => import("./vue-ui-accordion-CNtzLReQ.js").then((e) => e.n)), ut = _(() => import("./DataTable-BvDJEAma.js")), dt = _(() => import("./PenAndPaper-DwpL8Z0l.js").then((e) => e.t)), ft = _(() => import("./UserOptions-B57xo6D2.js").then((e) => e.n)), pt = _(() => import("./PackageVersion-C7CvErYQ.js").then((e) => e.t)), { vue_ui_bump: mt } = de(), { isThemeValid: ht, warnInvalidTheme: gt } = _e(), O = e, _t = Ve, vt = f({
131
131
  get() {
132
132
  return !!O.dataset && O.dataset.length;
133
133
  },
@@ -929,6 +929,16 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
929
929
  name: "optionAltCopy",
930
930
  fn: D(({ altCopy: t }) => [w(e.$slots, "optionAltCopy", y(v({ altCopy: t })), void 0, !0)]),
931
931
  key: "8"
932
+ } : void 0,
933
+ e.$slots["custom-menu-before"] ? {
934
+ name: "custom-menu-before",
935
+ fn: D(() => [w(e.$slots, "custom-menu-before", {}, void 0, !0)]),
936
+ key: "9"
937
+ } : void 0,
938
+ e.$slots["custom-menu-after"] ? {
939
+ name: "custom-menu-after",
940
+ fn: D(() => [w(e.$slots, "custom-menu-after", {}, void 0, !0)]),
941
+ key: "10"
932
942
  } : void 0
933
943
  ]), 1032, [
934
944
  "backgroundColor",
@@ -1234,6 +1244,6 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
1234
1244
  w(e.$slots, "skeleton", {}, () => [E(It) ? (x(), p(me, { key: 0 })) : m("", !0)], !0)
1235
1245
  ], 46, He));
1236
1246
  }
1237
- }, [["__scopeId", "data-v-26d786f8"]]);
1247
+ }, [["__scopeId", "data-v-893ac120"]]);
1238
1248
  //#endregion
1239
1249
  export { Ve as n, ct as t };
@@ -13,7 +13,7 @@ import { n as ve } from "./Title-__gWq2g6.js";
13
13
  import { t as ye } from "./_plugin-vue_export-helper-Dq1MygBL.js";
14
14
  import { c as be } from "./canvas-lib-DTaADQOK.js";
15
15
  import { t as xe } from "./useResponsive-CrAInupd.js";
16
- import { t as Se } from "./SlicerPreview-7pKvVSTr.js";
16
+ import { t as Se } from "./SlicerPreview-CG1jpZqZ.js";
17
17
  import { t as Ce } from "./A11yDataTable-q2-8fSlJ.js";
18
18
  import { t as we } from "./useUserOptionState-CjPJPTg2.js";
19
19
  import { t as Te } from "./useChartAccessibility-Do37qcw2.js";
@@ -186,7 +186,7 @@ var ze = /* @__PURE__ */ e({ default: () => Dt }), Be = ["id"], Ve = ["id"], He
186
186
  },
187
187
  emits: ["selectX", "copyAlt"],
188
188
  setup(e, { expose: ye, emit: ze }) {
189
- let Dt = _(() => import("./BaseIcon-CEmt3Ifx.js").then((e) => e.n)), Ot = _(() => import("./Tooltip-CuWEYGr3.js")), kt = _(() => import("./vue-ui-accordion-CNtzLReQ.js").then((e) => e.n)), At = _(() => import("./DataTable-BvDJEAma.js")), jt = _(() => import("./PenAndPaper-DwpL8Z0l.js").then((e) => e.t)), Mt = _(() => import("./UserOptions-DMw8EZEo.js").then((e) => e.n)), Nt = _(() => import("./PackageVersion-DvDLFw4Z.js").then((e) => e.t)), Pt = _(() => import("./BaseDraggableDialog-BQcmQAK5.js").then((e) => e.n)), { vue_ui_candlestick: Ft } = le(), { isThemeValid: It, warnInvalidTheme: Lt } = he(), k = e, Rt = ze, zt = f(() => !!k.dataset && k.dataset.length), A = C(!1), Bt = C(null), j = C(n()), Vt = C(!1), Ht = C(""), M = C(void 0), Ut = C(0), N = C(null), Wt = C(null), Gt = C(null), Kt = C(null), qt = C(null), Jt = C(null), Yt = C(0), Xt = C(0), Zt = C(0), Qt = C(null), $t = C(null), en = C(null), tn = C(null), nn = C(null), rn = C(!1), an = C(!1), P = C(null), on = C({
189
+ let Dt = _(() => import("./BaseIcon-CEmt3Ifx.js").then((e) => e.n)), Ot = _(() => import("./Tooltip-CuWEYGr3.js")), kt = _(() => import("./vue-ui-accordion-CNtzLReQ.js").then((e) => e.n)), At = _(() => import("./DataTable-BvDJEAma.js")), jt = _(() => import("./PenAndPaper-DwpL8Z0l.js").then((e) => e.t)), Mt = _(() => import("./UserOptions-B57xo6D2.js").then((e) => e.n)), Nt = _(() => import("./PackageVersion-C7CvErYQ.js").then((e) => e.t)), Pt = _(() => import("./BaseDraggableDialog-BQcmQAK5.js").then((e) => e.n)), { vue_ui_candlestick: Ft } = le(), { isThemeValid: It, warnInvalidTheme: Lt } = he(), k = e, Rt = ze, zt = f(() => !!k.dataset && k.dataset.length), A = C(!1), Bt = C(null), j = C(n()), Vt = C(!1), Ht = C(""), M = C(void 0), Ut = C(0), N = C(null), Wt = C(null), Gt = C(null), Kt = C(null), qt = C(null), Jt = C(null), Yt = C(0), Xt = C(0), Zt = C(0), Qt = C(null), $t = C(null), en = C(null), tn = C(null), nn = C(null), rn = C(!1), an = C(!1), P = C(null), on = C({
190
190
  x: 0,
191
191
  y: 0
192
192
  }), sn = C("pointer"), cn = C(!1), F = C(_n()), ln = f(() => F.value.userOptions.useCursorPointer), un = f(() => ae({
@@ -1347,6 +1347,16 @@ var ze = /* @__PURE__ */ e({ default: () => Dt }), Be = ["id"], Ve = ["id"], He
1347
1347
  name: "optionAltCopy",
1348
1348
  fn: O(({ altCopy: t }) => [T(e.$slots, "optionAltCopy", b(v({ altCopy: t })), void 0, !0)]),
1349
1349
  key: "9"
1350
+ } : void 0,
1351
+ e.$slots["custom-menu-before"] ? {
1352
+ name: "custom-menu-before",
1353
+ fn: O(() => [T(e.$slots, "custom-menu-before", {}, void 0, !0)]),
1354
+ key: "10"
1355
+ } : void 0,
1356
+ e.$slots["custom-menu-after"] ? {
1357
+ name: "custom-menu-after",
1358
+ fn: O(() => [T(e.$slots, "custom-menu-after", {}, void 0, !0)]),
1359
+ key: "11"
1350
1360
  } : void 0
1351
1361
  ]), 1032, /* @__PURE__ */ "backgroundColor.color.isImaging.isPrinting.uid.hasTooltip.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasFullscreen.hasAltCopy.isFullscreen.isTooltip.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.style".split("."))) : m("", !0),
1352
1362
  g("div", He, [(S(), h("svg", {
@@ -1799,6 +1809,6 @@ var ze = /* @__PURE__ */ e({ default: () => Dt }), Be = ["id"], Ve = ["id"], He
1799
1809
  T(e.$slots, "skeleton", {}, () => [D(I) ? (S(), p(fe, { key: 0 })) : m("", !0)], !0)
1800
1810
  ], 46, Be));
1801
1811
  }
1802
- }, [["__scopeId", "data-v-3f01c253"]]);
1812
+ }, [["__scopeId", "data-v-89b901f6"]]);
1803
1813
  //#endregion
1804
1814
  export { ze as n, Dt as t };
@@ -0,0 +1,455 @@
1
+ import { t as e } from "./rolldown-runtime-CAFD8bLK.js";
2
+ import { H as t, J as n, S as r, St as i, X as a, jt as ee } from "./lib-BkiwukKO.js";
3
+ import { t as te } from "./useConfig-lKgU652n.js";
4
+ import { t as ne } from "./usePrinter-X0yWOynH.js";
5
+ import { t as re } from "./useNestedProp-Ck4hsrpu.js";
6
+ import { t as ie } from "./_plugin-vue_export-helper-Dq1MygBL.js";
7
+ import { t as ae } from "./useUserOptionState-CjPJPTg2.js";
8
+ import { t as oe } from "./usePrefersMotion-BywLbIko.js";
9
+ import { Fragment as o, computed as s, createBlock as se, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createSlots as ce, createTextVNode as d, defineAsyncComponent as le, guardReactiveProps as f, mergeProps as ue, nextTick as p, normalizeClass as de, normalizeProps as m, normalizeStyle as h, onBeforeUnmount as g, onMounted as _, openBlock as v, ref as y, renderList as b, renderSlot as x, shallowRef as fe, toDisplayString as S, unref as C, useSlots as pe, watch as w, withCtx as T } from "vue";
10
+ //#region src/components/vue-ui-carousel-table.vue
11
+ var me = /* @__PURE__ */ e({ default: () => E }), he = ["id"], ge = ["aria-labelledby"], _e = ["id"], ve = ["height"], ye = ["id"], be = [
12
+ "data-cell",
13
+ "aria-label",
14
+ "height"
15
+ ], xe = {
16
+ key: 2,
17
+ ref: "source",
18
+ dir: "auto"
19
+ }, E = /* @__PURE__ */ ie({
20
+ __name: "vue-ui-carousel-table",
21
+ props: {
22
+ config: {
23
+ type: Object,
24
+ default() {
25
+ return {};
26
+ }
27
+ },
28
+ dataset: {
29
+ type: Object,
30
+ default() {
31
+ return {};
32
+ }
33
+ }
34
+ },
35
+ emits: ["copyAlt"],
36
+ setup(e, { expose: ie, emit: me }) {
37
+ let E = le(() => import("./vue-ui-skeleton-CPy9DsSC.js").then((e) => e.n)), Se = le(() => import("./UserOptions-B57xo6D2.js").then((e) => e.n)), { vue_ui_carousel_table: Ce } = te(), we = oe(), D = e, Te = me, O = y(t()), k = y(!1), A = y(!!D.dataset), Ee = pe();
38
+ _(() => {
39
+ De();
40
+ }), _(() => {
41
+ Ee["chart-background"] && console.warn("VueUiCarouselTable does not support the #chart-background slot.");
42
+ });
43
+ function De() {
44
+ i(D.dataset) ? a({
45
+ componentName: "VueUiCarouselTable",
46
+ type: "dataset"
47
+ }) : ((!D.dataset.head || i(D.dataset.head)) && (a({
48
+ componentName: "VueUiCarouselTable",
49
+ type: "datasetAttribute",
50
+ property: "head"
51
+ }), A.value = !1), (!D.dataset.body || i(D.dataset.body)) && (a({
52
+ componentName: "VueUiCarouselTable",
53
+ type: "datasetAttribute",
54
+ property: "body"
55
+ }), A.value = !1)), we.value && (j.value.userOptions.buttons.animation = !1);
56
+ }
57
+ let j = s({
58
+ get: () => Ae(),
59
+ set: (e) => e
60
+ }), Oe = s(() => j.value.userOptions.useCursorPointer), { userOptionsVisible: M, setUserOptionsVisibility: ke, keepUserOptionState: N } = ae({ config: j.value });
61
+ function Ae() {
62
+ return re({
63
+ userConfig: D.config,
64
+ defaultConfig: Ce
65
+ });
66
+ }
67
+ w(() => D.config, (e) => {
68
+ j.value = Ae(), M.value = !j.value.userOptions.showOnChartHover, De();
69
+ }, { deep: !0 }), w(() => D.dataset, (e) => {
70
+ W();
71
+ }, { deep: !0 });
72
+ let { isPrinting: je, isImaging: Me, generatePdf: Ne, generateImage: Pe } = ne({
73
+ elementId: `carousel-table_${O.value}`,
74
+ fileName: j.value.caption.text || "vue-ui-carousel-table",
75
+ options: j.value.userOptions.print
76
+ }), P = y({ showAnimation: j.value.animation.use }), F = y(null), Fe = y(null), I = y(null), L = y(null), R = y(0), z = y(0), B = y(!1), V = y(null), H = y(null), U = y(0);
77
+ function W() {
78
+ V.value && (H.value = {
79
+ elements: V.value.getElementsByTagName("tr"),
80
+ heights: Array.from(V.value.getElementsByTagName("tr")).map((e) => e.getBoundingClientRect().height)
81
+ });
82
+ }
83
+ _(W);
84
+ let Ie = s(() => !H.value || !H.value.heights.length ? 0 : Math.max(...H.value.heights) + R.value + z.value), Le = s(() => D.dataset.body ? j.value.tbody.tr.visible <= D.dataset.body.length ? j.value.tbody.tr.visible : D.dataset.body.length : 0), Re = s(() => (j.value.tbody.tr.height + j.value.tbody.tr.td.padding.top + j.value.tbody.tr.td.padding.bottom + j.value.tbody.tr.border.size * 2) * Le.value + R.value + z.value), G = y(0), K = y(null), q = y(0), J = y(!1), ze = y(0);
85
+ _(() => {
86
+ I.value && (R.value = I.value.getBoundingClientRect().height), L.value && (z.value = L.value.getBoundingClientRect().height), P.value.showAnimation && H.value && Ve();
87
+ }), _(() => {
88
+ if (F.value) {
89
+ let e = F.value.querySelector("thead"), t = Array.from(V.value.querySelectorAll("tr"));
90
+ function n() {
91
+ let n = e.getBoundingClientRect().bottom;
92
+ t.forEach((e) => {
93
+ e.getBoundingClientRect().top < n ? e.style.visibility = "hidden" : e.style.visibility = "visible";
94
+ });
95
+ }
96
+ F.value.addEventListener("scroll", n), n(), g(() => {
97
+ F.value.removeEventListener("scroll", n);
98
+ });
99
+ }
100
+ });
101
+ function Be(e) {
102
+ k.value = e, ze.value += 1;
103
+ }
104
+ function Ve() {
105
+ we.value || !K.value && !J.value && (j.value.animation.type === "scroll" ? K.value = requestAnimationFrame(Ue) : K.value = requestAnimationFrame(We));
106
+ }
107
+ function He() {
108
+ if (!F.value) return !1;
109
+ let { scrollTop: e, scrollHeight: t, clientHeight: n } = F.value;
110
+ return e + n >= t;
111
+ }
112
+ function Ue(e) {
113
+ J.value || (q.value ||= e, e - q.value >= j.value.animation.speedMs && (G.value += H.value.heights[U.value], (He() || U.value >= H.value.heights.length) && (G.value = 0, U.value = -1), U.value += 1, F.value && F.value.scrollTo({
114
+ top: G.value,
115
+ behavior: "smooth"
116
+ }), q.value = e), K.value = requestAnimationFrame(Ue));
117
+ }
118
+ function We(e) {
119
+ if (J.value) return;
120
+ q.value ||= e;
121
+ let t = e - q.value, n = j.value.animation.speedMs / 4 / 1e3;
122
+ t >= n && (G.value += n, G.value >= F.value.scrollHeight - F.value.clientHeight && (G.value = 0), F.value && F.value.scrollTo({
123
+ top: G.value,
124
+ behavior: "auto"
125
+ }), q.value = e), K.value = requestAnimationFrame(We);
126
+ }
127
+ function Y() {
128
+ J.value = !0, cancelAnimationFrame(K.value), K.value = null;
129
+ }
130
+ g(Y);
131
+ function X() {
132
+ !J.value || !P.value.showAnimation || (J.value = !1, q.value = 0, Ve());
133
+ }
134
+ function Ge() {
135
+ j.value.animation.pauseOnHover && Y();
136
+ }
137
+ let Z = y(null);
138
+ function Ke() {
139
+ Y(), clearTimeout(Z.value);
140
+ }
141
+ function qe() {
142
+ clearTimeout(Z.value), Z.value = setTimeout(X, 1e3);
143
+ }
144
+ w(() => j.value.animation.use, (e) => {
145
+ e ? (P.value.showAnimation = !0, X()) : (P.value.showAnimation = !1, Y());
146
+ }), w(() => j.value.animation.type, (e) => {
147
+ Y(), G.value = 0, U.value = 0, F.value.scrollTo({
148
+ top: 0,
149
+ behavior: "auto"
150
+ }), X();
151
+ });
152
+ let Je = s(() => j.value.responsiveBreakpoint), Q = fe(null);
153
+ _(() => {
154
+ Q.value = new ResizeObserver((e) => {
155
+ e.forEach((e) => {
156
+ B.value = e.contentRect.width < Je.value;
157
+ }), R.value = I.value ? I.value.getBoundingClientRect().height : 0, z.value = L.value ? L.value.getBoundingClientRect().height : 0, U.value = 0, p(() => {
158
+ Y(), q.value = 0, G.value = 0, W(), X();
159
+ });
160
+ }), F.value && Q.value.observe(F.value);
161
+ }), g(() => {
162
+ Q.value && Q.value.disconnect();
163
+ });
164
+ function Ye() {
165
+ Ne();
166
+ }
167
+ function Xe() {
168
+ P.value.showAnimation = !P.value.showAnimation, P.value.showAnimation ? X() : Y();
169
+ }
170
+ function Ze(e = null) {
171
+ p(() => {
172
+ let t = D.dataset.head.map((e, t) => [[D.dataset.body[t]]]), i = r([[j.value.caption.text], [D.dataset.head.map((e) => [e])]].concat(t));
173
+ e ? e(i) : n({
174
+ csvContent: i,
175
+ title: j.value.caption.text || "vue-ui-carousel-table"
176
+ });
177
+ });
178
+ }
179
+ async function $() {
180
+ if (Te("copyAlt", {
181
+ config: j.value,
182
+ dataset: D.dataset
183
+ }), !j.value.userOptions.callbacks.altCopy) {
184
+ console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
185
+ return;
186
+ }
187
+ await Promise.resolve(j.value.userOptions.callbacks.altCopy({
188
+ config: j.value,
189
+ dataset: D.dataset
190
+ }));
191
+ }
192
+ return ie({
193
+ pauseAnimation: Y,
194
+ resumeAnimation: X,
195
+ toggleAnimation: Xe,
196
+ generateCsv: Ze,
197
+ generatePdf: Ye,
198
+ generateImage: Pe,
199
+ copyAlt: $
200
+ }), (t, n) => (v(), l("div", {
201
+ class: "vue-data-ui-component vue-ui-carousel-table",
202
+ style: {
203
+ position: "relative",
204
+ overflow: "visible"
205
+ },
206
+ ref_key: "chartContainer",
207
+ ref: Fe,
208
+ onMouseenter: n[5] ||= () => C(ke)(!0),
209
+ onMouseleave: n[6] ||= () => C(ke)(!1)
210
+ }, [
211
+ u("div", {
212
+ ref_key: "tableContainer",
213
+ ref: F,
214
+ id: `carousel-table_${O.value}`,
215
+ style: h({
216
+ height: C(je) || C(Me) ? "auto" : `${Math.max(Re.value, Ie.value)}px`,
217
+ containerType: "inline-size",
218
+ position: "relative",
219
+ overflow: "auto",
220
+ fontFamily: j.value.fontFamily
221
+ }),
222
+ class: de({
223
+ "vue-ui-responsive": B.value,
224
+ "is-playing": j.value.scrollbar.hide || !J.value && j.value.scrollbar.showOnlyOnHover
225
+ }),
226
+ onMouseover: n[0] ||= (e) => Ge(),
227
+ onMouseleave: n[1] ||= (e) => X(),
228
+ onTouchstart: n[2] ||= (e) => Ke(),
229
+ onTouchend: n[3] ||= (e) => qe(),
230
+ onTouchcancel: n[4] ||= (e) => qe()
231
+ }, [A.value ? (v(), l("table", {
232
+ key: 0,
233
+ class: "vue-data-ui-carousel-table",
234
+ "aria-labelledby": `carousel-caption-${O.value}`,
235
+ style: h({
236
+ ...j.value.style,
237
+ border: `${j.value.border.size}px solid ${j.value.border.color}`,
238
+ width: "100%",
239
+ borderCollapse: "collapse",
240
+ backgroundColor: j.value.tbody.backgroundColor
241
+ })
242
+ }, [
243
+ u("caption", {
244
+ ref_key: "caption",
245
+ ref: I,
246
+ class: "vue-data-ui-carousel-table-caption",
247
+ id: `carousel-caption-${O.value}`,
248
+ style: h({
249
+ ...j.value.caption.style,
250
+ fontFamily: "inherit",
251
+ position: "sticky",
252
+ top: 0,
253
+ zIndex: 2,
254
+ paddingTop: j.value.caption.padding.top + "px",
255
+ paddingRight: j.value.caption.padding.right + "px",
256
+ paddingBottom: j.value.caption.padding.bottom + "px",
257
+ paddingLeft: j.value.caption.padding.left + "px",
258
+ boxShadow: B.value ? j.value.thead.tr.style.boxShadow : "none",
259
+ minHeight: "36px",
260
+ display: t.$slots.caption || j.value.caption.text || j.value.userOptions.show ? "" : "none"
261
+ })
262
+ }, [d(S(j.value.caption.text && !t.$slots.caption ? j.value.caption.text : "") + " ", 1), x(t.$slots, "caption", {}, void 0, !0)], 12, _e),
263
+ u("thead", {
264
+ role: "rowgroup",
265
+ style: h({
266
+ ...j.value.thead.style,
267
+ position: "sticky",
268
+ top: `${t.$slots.caption || j.value.caption.text || j.value.userOptions.show ? R.value : 0}px`,
269
+ zIndex: 1
270
+ })
271
+ }, [u("tr", {
272
+ ref_key: "tableRow",
273
+ ref: L,
274
+ role: "row",
275
+ style: h({
276
+ ...j.value.thead.tr.style,
277
+ border: j.value.thead.tr.border.size ? `${j.value.thead.tr.border.size}px solid ${j.value.thead.tr.border.color}` : "none",
278
+ boxShadow: B.value ? "none" : j.value.thead.tr.style.boxShadow
279
+ }),
280
+ height: `${j.value.thead.tr.height}px`
281
+ }, [(v(!0), l(o, null, b(e.dataset.head, (e, n) => (v(), l("th", {
282
+ role: "cell",
283
+ key: `th_${n}`,
284
+ id: `col-${n}`,
285
+ scope: "col",
286
+ style: h({
287
+ ...j.value.thead.tr.th.style,
288
+ border: j.value.thead.tr.th.border.size ? `${j.value.thead.tr.th.border.size}px solid ${j.value.thead.tr.th.border.color}` : "none",
289
+ paddingTop: j.value.thead.tr.th.padding.top + "px",
290
+ paddingRight: j.value.thead.tr.th.padding.right + "px",
291
+ paddingBottom: j.value.thead.tr.th.padding.bottom + "px",
292
+ paddingLeft: j.value.thead.tr.th.padding.left + "px"
293
+ })
294
+ }, [d(S(t.$slots.th ? "" : e) + " ", 1), x(t.$slots, "th", ue({ ref_for: !0 }, {
295
+ th: e,
296
+ colIndex: n
297
+ }), void 0, !0)], 12, ye))), 128))], 12, ve)], 4),
298
+ e.dataset.body && e.dataset.head ? (v(), l("tbody", {
299
+ key: 0,
300
+ ref_key: "tbody",
301
+ ref: V,
302
+ "aria-live": "polite",
303
+ style: { clipPath: "inset(0,0,0,0)" }
304
+ }, [(v(!0), l(o, null, b(e.dataset.body, (n, r) => (v(), l("tr", { style: h({
305
+ ...j.value.tbody.tr.style,
306
+ border: `${j.value.tbody.tr.border.size}px solid ${j.value.tbody.tr.border.color}`,
307
+ verticalAlign: "middle"
308
+ }) }, [(v(!0), l(o, null, b(n, (n, i) => (v(), l("td", {
309
+ role: "cell",
310
+ "data-cell": e.dataset.head[i] || "",
311
+ "aria-label": `${e.dataset.head[i]}: ${n}`,
312
+ style: h({
313
+ ...j.value.tbody.tr.td.style,
314
+ border: `${j.value.tbody.tr.td.border.size}px solid ${j.value.tbody.tr.td.border.color}`,
315
+ backgroundColor: C(ee)(j.value.tbody.tr.td.style.backgroundColor, r % 2 == 0 && j.value.tbody.tr.td.alternateColor ? j.value.tbody.tr.td.alternateOpacity * 100 : 100),
316
+ paddingTop: j.value.tbody.tr.td.padding.top + "px",
317
+ paddingRight: j.value.tbody.tr.td.padding.right + "px",
318
+ paddingBottom: j.value.tbody.tr.td.padding.bottom + "px",
319
+ paddingLeft: j.value.tbody.tr.td.padding.left + "px",
320
+ verticalAlign: "middle"
321
+ }),
322
+ height: `${j.value.tbody.tr.height}px`
323
+ }, [d(S(t.$slots.td ? "" : n) + " ", 1), x(t.$slots, "td", ue({ ref_for: !0 }, {
324
+ td: n,
325
+ rowIndex: r,
326
+ colIndex: i
327
+ }), void 0, !0)], 12, be))), 256))], 4))), 256))], 512)) : c("", !0)
328
+ ], 12, ge)) : c("", !0)], 46, he),
329
+ A.value ? c("", !0) : (v(), se(C(E), {
330
+ key: 0,
331
+ config: { type: "table" }
332
+ })),
333
+ j.value.userOptions.show && A.value && (C(N) || C(M)) ? (v(), se(C(Se), {
334
+ ref: "details",
335
+ key: `user_option_${ze.value}`,
336
+ backgroundColor: j.value.style.backgroundColor,
337
+ color: j.value.style.color,
338
+ isPrinting: C(je),
339
+ isImaging: C(Me),
340
+ uid: O.value,
341
+ hasTooltip: !1,
342
+ hasPdf: j.value.userOptions.buttons.pdf,
343
+ hasImg: j.value.userOptions.buttons.img,
344
+ hasXls: j.value.userOptions.buttons.csv,
345
+ hasTable: !1,
346
+ hasLabel: !1,
347
+ hasAnimation: j.value.userOptions.buttons.animation,
348
+ isAnimation: !P.value.showAnimation,
349
+ hasFullscreen: j.value.userOptions.buttons.fullscreen,
350
+ hasAltCopy: j.value.userOptions.buttons.altCopy,
351
+ isFullscreen: k.value,
352
+ chartElement: Fe.value,
353
+ position: j.value.userOptions.position,
354
+ titles: { ...j.value.userOptions.buttonTitles },
355
+ zIndex: 3,
356
+ offsetX: 12,
357
+ callbacks: j.value.userOptions.callbacks,
358
+ printScale: j.value.userOptions.print.scale,
359
+ isCursorPointer: Oe.value,
360
+ onGeneratePdf: Ye,
361
+ onGenerateCsv: Ze,
362
+ onGenerateImage: C(Pe),
363
+ onToggleAnimation: Xe,
364
+ onToggleFullscreen: Be,
365
+ onCopyAlt: $,
366
+ style: h({ visibility: C(N) ? C(M) ? "visible" : "hidden" : "visible" })
367
+ }, ce({ _: 2 }, [
368
+ t.$slots.menuIcon ? {
369
+ name: "menuIcon",
370
+ fn: T(({ isOpen: e, color: n }) => [x(t.$slots, "menuIcon", m(f({
371
+ isOpen: e,
372
+ color: n
373
+ })), void 0, !0)]),
374
+ key: "0"
375
+ } : void 0,
376
+ t.$slots.optionPdf ? {
377
+ name: "optionPdf",
378
+ fn: T(() => [x(t.$slots, "optionPdf", {}, void 0, !0)]),
379
+ key: "1"
380
+ } : void 0,
381
+ t.$slots.optionCsv ? {
382
+ name: "optionCsv",
383
+ fn: T(() => [x(t.$slots, "optionCsv", {}, void 0, !0)]),
384
+ key: "2"
385
+ } : void 0,
386
+ t.$slots.optionImg ? {
387
+ name: "optionImg",
388
+ fn: T(() => [x(t.$slots, "optionImg", {}, void 0, !0)]),
389
+ key: "3"
390
+ } : void 0,
391
+ t.$slots.optionSvg ? {
392
+ name: "optionSvg",
393
+ fn: T(() => [x(t.$slots, "optionSvg", {}, void 0, !0)]),
394
+ key: "4"
395
+ } : void 0,
396
+ t.$slots.optionAnimation ? {
397
+ name: "optionAnimation",
398
+ fn: T(({ toggleAnimation: e, isAnimated: n }) => [x(t.$slots, "optionAnimation", m(f({
399
+ toggleAnimation: e,
400
+ isAnimated: n
401
+ })), void 0, !0)]),
402
+ key: "5"
403
+ } : void 0,
404
+ t.$slots.optionFullscreen ? {
405
+ name: "optionFullscreen",
406
+ fn: T(({ toggleFullscreen: e, isFullscreen: n }) => [x(t.$slots, "optionFullscreen", m(f({
407
+ toggleFullscreen: e,
408
+ isFullscreen: n
409
+ })), void 0, !0)]),
410
+ key: "6"
411
+ } : void 0,
412
+ t.$slots.optionAltCopy ? {
413
+ name: "optionAltCopy",
414
+ fn: T(({ altCopy: e }) => [x(t.$slots, "optionAltCopy", m(f({ altCopy: e })), void 0, !0)]),
415
+ key: "7"
416
+ } : void 0,
417
+ t.$slots["custom-menu-before"] ? {
418
+ name: "custom-menu-before",
419
+ fn: T(() => [x(t.$slots, "custom-menu-before", {}, void 0, !0)]),
420
+ key: "8"
421
+ } : void 0,
422
+ t.$slots["custom-menu-after"] ? {
423
+ name: "custom-menu-after",
424
+ fn: T(() => [x(t.$slots, "custom-menu-after", {}, void 0, !0)]),
425
+ key: "9"
426
+ } : void 0
427
+ ]), 1032, [
428
+ "backgroundColor",
429
+ "color",
430
+ "isPrinting",
431
+ "isImaging",
432
+ "uid",
433
+ "hasPdf",
434
+ "hasImg",
435
+ "hasXls",
436
+ "hasAnimation",
437
+ "isAnimation",
438
+ "hasFullscreen",
439
+ "hasAltCopy",
440
+ "isFullscreen",
441
+ "chartElement",
442
+ "position",
443
+ "titles",
444
+ "callbacks",
445
+ "printScale",
446
+ "isCursorPointer",
447
+ "onGenerateImage",
448
+ "style"
449
+ ])) : c("", !0),
450
+ t.$slots.source ? (v(), l("div", xe, [x(t.$slots, "source", {}, void 0, !0)], 512)) : c("", !0)
451
+ ], 544));
452
+ }
453
+ }, [["__scopeId", "data-v-0f07f0c9"]]);
454
+ //#endregion
455
+ export { me as n, E as t };
@@ -357,8 +357,8 @@ var Re = /* @__PURE__ */ e({ default: () => Zn }), ze = ["id"], Be = ["id"], Ve
357
357
  "copyAlt"
358
358
  ],
359
359
  setup(e, { expose: ye, emit: Re }) {
360
- Fe((e) => ({ v4ff85fb8: e.tdo }));
361
- let Zn = ke(() => import("./BaseIcon-CEmt3Ifx.js").then((e) => e.n)), Qn = ke(() => import("./vue-ui-accordion-CNtzLReQ.js").then((e) => e.n)), $n = ke(() => import("./PenAndPaper-DwpL8Z0l.js").then((e) => e.t)), er = ke(() => import("./UserOptions-DMw8EZEo.js").then((e) => e.n)), tr = ke(() => import("./PackageVersion-DvDLFw4Z.js").then((e) => e.t)), nr = ke(() => import("./BaseDraggableDialog-BQcmQAK5.js").then((e) => e.n)), { vue_ui_chestnut: rr } = de(), { isThemeValid: ir, warnInvalidTheme: ar } = _e(), D = e, or = f(() => !!D.dataset && D.dataset.length), O = x(n()), sr = x(null), cr = x(0), lr = x(null), ur = x(null), dr = x(!1), fr = x(!1), pr = x(!1), k = x(!1), A = x(""), j = x({
360
+ Fe((e) => ({ bd8a0696: e.tdo }));
361
+ let Zn = ke(() => import("./BaseIcon-CEmt3Ifx.js").then((e) => e.n)), Qn = ke(() => import("./vue-ui-accordion-CNtzLReQ.js").then((e) => e.n)), $n = ke(() => import("./PenAndPaper-DwpL8Z0l.js").then((e) => e.t)), er = ke(() => import("./UserOptions-B57xo6D2.js").then((e) => e.n)), tr = ke(() => import("./PackageVersion-C7CvErYQ.js").then((e) => e.t)), nr = ke(() => import("./BaseDraggableDialog-BQcmQAK5.js").then((e) => e.n)), { vue_ui_chestnut: rr } = de(), { isThemeValid: ir, warnInvalidTheme: ar } = _e(), D = e, or = f(() => !!D.dataset && D.dataset.length), O = x(n()), sr = x(null), cr = x(0), lr = x(null), ur = x(null), dr = x(!1), fr = x(!1), pr = x(!1), k = x(!1), A = x(""), j = x({
362
362
  level: "root",
363
363
  rootIndex: 0,
364
364
  branchIndex: 0,
@@ -1277,6 +1277,16 @@ var Re = /* @__PURE__ */ e({ default: () => Zn }), ze = ["id"], Be = ["id"], Ve
1277
1277
  name: "optionAltCopy",
1278
1278
  fn: E(({ altCopy: t }) => [C(e.$slots, "optionAltCopy", v(g({ altCopy: t })), void 0, !0)]),
1279
1279
  key: "8"
1280
+ } : void 0,
1281
+ e.$slots["custom-menu-before"] ? {
1282
+ name: "custom-menu-before",
1283
+ fn: E(() => [C(e.$slots, "custom-menu-before", {}, void 0, !0)]),
1284
+ key: "9"
1285
+ } : void 0,
1286
+ e.$slots["custom-menu-after"] ? {
1287
+ name: "custom-menu-after",
1288
+ fn: E(() => [C(e.$slots, "custom-menu-after", {}, void 0, !0)]),
1289
+ key: "10"
1280
1290
  } : void 0
1281
1291
  ]), 1032, [
1282
1292
  "backgroundColor",
@@ -1995,6 +2005,6 @@ var Re = /* @__PURE__ */ e({ default: () => Zn }), ze = ["id"], Be = ["id"], Ve
1995
2005
  C(e.$slots, "skeleton", {}, () => [T(hr) ? (b(), Te(me, { key: 0 })) : p("", !0)], !0)
1996
2006
  ], 46, ze));
1997
2007
  }
1998
- }, [["__scopeId", "data-v-e7d32b66"]]);
2008
+ }, [["__scopeId", "data-v-6db5d986"]]);
1999
2009
  //#endregion
2000
2010
  export { Re as n, Zn as t };