vue-data-ui 3.26.5 → 3.27.0

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/dist/{Arrow-BQbcOtfC.js → Arrow-DKO1l8oR.js} +1 -1
  2. package/dist/{BaseDraggableDialog-BCFCiP_6.js → BaseDraggableDialog-C50TEJFv.js} +2 -2
  3. package/dist/{BaseIcon-CIK6Sqo3.js → BaseIcon-Cx9FD751.js} +1 -1
  4. package/dist/{BaseLegendToggle-Doa5rYP2.js → BaseLegendToggle-CP3sddwv.js} +1 -1
  5. package/dist/{BaseZoomControls-BGQM8B5F.js → BaseZoomControls-vNi8YykO.js} +2 -2
  6. package/dist/{ColorPicker-Cb7qpvFt.js → ColorPicker-hmC2bvwS.js} +2 -2
  7. package/dist/{DataTable-B6LDCXBz.js → DataTable-CjF_An2h.js} +2 -2
  8. package/dist/{HillActions-CwdgCb7Q.js → HillActions-DqqGB33u.js} +1 -1
  9. package/dist/{Legend-D9FGXIbQ.js → Legend-CulFgjUY.js} +2 -2
  10. package/dist/{NonSvgPenAndPaper-9T4MSwXC.js → NonSvgPenAndPaper-BK1v_MfW.js} +3 -3
  11. package/dist/{PackageVersion-CslTvFsC.js → PackageVersion-D7H9nfK0.js} +1 -1
  12. package/dist/{PenAndPaper-C1EcBgJW.js → PenAndPaper-CNiuGw6k.js} +3 -3
  13. package/dist/{Shape-BZgQLgu5.js → Shape-DSwamtmO.js} +1 -1
  14. package/dist/{SlicerPreview-DyYv_G-_.js → SlicerPreview-k5YerMA9.js} +12 -12
  15. package/dist/{SparkTooltip-D4cRlyuq.js → SparkTooltip-D35KVv6N.js} +6 -6
  16. package/dist/{Title-Bd98RysU.js → Title-BMCuINbv.js} +1 -1
  17. package/dist/{Tooltip-DmQeI5WE.js → Tooltip-C4ZTwkLF.js} +1 -1
  18. package/dist/{UserOptions-B_yBcZ1-.js → UserOptions-CORYQiif.js} +2 -2
  19. package/dist/components/arrow.js +1 -1
  20. package/dist/components/vue-ui-3d-bar.js +1 -1
  21. package/dist/components/vue-ui-accordion.js +1 -1
  22. package/dist/components/vue-ui-age-pyramid.js +1 -1
  23. package/dist/components/vue-ui-annotator.js +1 -1
  24. package/dist/components/vue-ui-bullet.js +1 -1
  25. package/dist/components/vue-ui-bump.js +1 -1
  26. package/dist/components/vue-ui-candlestick.js +1 -1
  27. package/dist/components/vue-ui-carousel-table.js +1 -1
  28. package/dist/components/vue-ui-chestnut.js +1 -1
  29. package/dist/components/vue-ui-chord.js +1 -1
  30. package/dist/components/vue-ui-circle-pack.js +1 -1
  31. package/dist/components/vue-ui-cursor.js +1 -1
  32. package/dist/components/vue-ui-dag.js +1 -1
  33. package/dist/components/vue-ui-dashboard.js +1 -1
  34. package/dist/components/vue-ui-digits.js +1 -1
  35. package/dist/components/vue-ui-donut-evolution.js +1 -1
  36. package/dist/components/vue-ui-donut.js +1 -1
  37. package/dist/components/vue-ui-dumbbell.js +1 -1
  38. package/dist/components/vue-ui-flow.js +1 -1
  39. package/dist/components/vue-ui-funnel.js +1 -1
  40. package/dist/components/vue-ui-galaxy.js +1 -1
  41. package/dist/components/vue-ui-gauge.js +1 -1
  42. package/dist/components/vue-ui-geo.js +1 -1
  43. package/dist/components/vue-ui-gizmo.js +1 -1
  44. package/dist/components/vue-ui-heatmap.js +1 -1
  45. package/dist/components/vue-ui-hill.js +1 -1
  46. package/dist/components/vue-ui-history-plot.js +1 -1
  47. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  48. package/dist/components/vue-ui-icon.js +1 -1
  49. package/dist/components/vue-ui-kpi.js +1 -1
  50. package/dist/components/vue-ui-label.js +1 -1
  51. package/dist/components/vue-ui-mini-loader.js +1 -1
  52. package/dist/components/vue-ui-molecule.js +1 -1
  53. package/dist/components/vue-ui-mood-radar.js +1 -1
  54. package/dist/components/vue-ui-nested-donuts.js +1 -1
  55. package/dist/components/vue-ui-onion.js +1 -1
  56. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  57. package/dist/components/vue-ui-quadrant.js +1 -1
  58. package/dist/components/vue-ui-quick-chart.js +1 -1
  59. package/dist/components/vue-ui-radar.js +1 -1
  60. package/dist/components/vue-ui-rating.js +1 -1
  61. package/dist/components/vue-ui-relation-circle.js +1 -1
  62. package/dist/components/vue-ui-ridgeline.js +1 -1
  63. package/dist/components/vue-ui-rings.js +1 -1
  64. package/dist/components/vue-ui-scatter.js +1 -1
  65. package/dist/components/vue-ui-skeleton.js +1 -1
  66. package/dist/components/vue-ui-smiley.js +1 -1
  67. package/dist/components/vue-ui-spark-trend.js +1 -1
  68. package/dist/components/vue-ui-sparkbar.js +1 -1
  69. package/dist/components/vue-ui-sparkgauge.js +1 -1
  70. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  71. package/dist/components/vue-ui-sparkline.js +1 -1
  72. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  73. package/dist/components/vue-ui-stackbar.js +1 -1
  74. package/dist/components/vue-ui-stackline.js +1 -1
  75. package/dist/components/vue-ui-strip-plot.js +1 -1
  76. package/dist/components/vue-ui-table-heatmap.js +1 -1
  77. package/dist/components/vue-ui-table-sparkline.js +1 -1
  78. package/dist/components/vue-ui-table.js +1 -1
  79. package/dist/components/vue-ui-thermometer.js +1 -1
  80. package/dist/components/vue-ui-timer.js +1 -1
  81. package/dist/components/vue-ui-tiremarks.js +1 -1
  82. package/dist/components/vue-ui-treemap.js +1 -1
  83. package/dist/components/vue-ui-vertical-bar.js +1 -1
  84. package/dist/components/vue-ui-waffle.js +1 -1
  85. package/dist/components/vue-ui-wheel.js +1 -1
  86. package/dist/components/vue-ui-word-cloud.js +1 -1
  87. package/dist/components/vue-ui-world.js +1 -1
  88. package/dist/components/vue-ui-xy-canvas.js +1 -1
  89. package/dist/components/vue-ui-xy.js +1 -1
  90. package/dist/{dom-to-png-B_RJohlM.js → dom-to-png-CBusMkua.js} +1 -1
  91. package/dist/{exposedLib-C-JlvWAt.js → exposedLib-UNxZlnAS.js} +10 -10
  92. package/dist/{img-KURaWjZI.js → img-Bb5rHcpO.js} +1 -1
  93. package/dist/{labelUtils-DShv2Mbg.js → labelUtils-Ccn9kK7T.js} +1 -1
  94. package/dist/{lib-TWIH5fGr.js → lib-D4wK6ljP.js} +127 -133
  95. package/dist/{package-DbTqd5lc.js → package-DmQufM0G.js} +1 -1
  96. package/dist/{pdf-CLl24Afl.js → pdf-BzIQHx-F.js} +1 -1
  97. package/dist/{render-common-CKv-jztN.js → render-common-BtfjXdkJ.js} +10 -10
  98. package/dist/ssr/vue-ui-donut.js +1 -1
  99. package/dist/ssr/vue-ui-xy.js +1 -1
  100. package/dist/ssr.js +2 -2
  101. package/dist/style.css +1 -1
  102. package/dist/types/vue-data-ui.d.ts +212 -59
  103. package/dist/types/vue-ui-stackbar.d.ts +10 -0
  104. package/dist/{useConfig-DObkR9Aa.js → useConfig-D_6ZrPMD.js} +82 -0
  105. package/dist/{useNestedProp-BxOdWM0c.js → useNestedProp-DR_8JPol.js} +1 -1
  106. package/dist/{useObjectBindings-CPmyIJxB.js → useObjectBindings-DvasYMGu.js} +2 -2
  107. package/dist/{usePrinter-8Y1Rju0Y.js → usePrinter-DdW2GSm0.js} +2 -2
  108. package/dist/utils.js +10 -10
  109. package/dist/{vue-data-ui-C3G5Zdl5.js → vue-data-ui-Df7WV80w.js} +70 -70
  110. package/dist/vue-data-ui.js +75 -75
  111. package/dist/{vue-ui-3d-bar-Cl6-fBV8.js → vue-ui-3d-bar-CJjNPwhG.js} +463 -463
  112. package/dist/{vue-ui-accordion-AyyZDab3.js → vue-ui-accordion-CaoNWreI.js} +4 -4
  113. package/dist/{vue-ui-age-pyramid-DOtWAL8s.js → vue-ui-age-pyramid-BYcM0uIP.js} +22 -22
  114. package/dist/{vue-ui-annotator-BCVjlojM.js → vue-ui-annotator-BmqjDjRF.js} +10 -10
  115. package/dist/{vue-ui-bullet-B_1Ctjvq.js → vue-ui-bullet-DBOAvpBB.js} +18 -18
  116. package/dist/vue-ui-bump-rPYwDJ4o.js +1242 -0
  117. package/dist/{vue-ui-candlestick-KvhjbAxt.js → vue-ui-candlestick-WQHIQNv_.js} +625 -625
  118. package/dist/{vue-ui-carousel-table-ArMiO0cG.js → vue-ui-carousel-table-Dojcvt49.js} +106 -106
  119. package/dist/{vue-ui-chestnut-DSM0U27X.js → vue-ui-chestnut-BdhEByUf.js} +65 -65
  120. package/dist/{vue-ui-chord-64akfaem.js → vue-ui-chord-MF4xF5az.js} +46 -46
  121. package/dist/{vue-ui-circle-pack-CaR_aNEh.js → vue-ui-circle-pack-BwDim7G8.js} +26 -26
  122. package/dist/{vue-ui-cursor-DCgqYZiz.js → vue-ui-cursor-w_5cbpSb.js} +61 -61
  123. package/dist/{vue-ui-dag-8uKK0Rlp.js → vue-ui-dag-D2EUqeDN.js} +65 -65
  124. package/dist/{vue-ui-dashboard-DeccYtSY.js → vue-ui-dashboard-BLnVXosj.js} +70 -70
  125. package/dist/{vue-ui-digits-BvK7bVuJ.js → vue-ui-digits-zSqwYWHm.js} +4 -4
  126. package/dist/{vue-ui-donut-8joMj08Z.js → vue-ui-donut-ZYZfqIhi.js} +117 -117
  127. package/dist/{vue-ui-donut-evolution-DgITf95R.js → vue-ui-donut-evolution-DtLbWi3h.js} +216 -216
  128. package/dist/vue-ui-donut-nLDLZwig.js +2427 -0
  129. package/dist/{vue-ui-dumbbell-U2L4ZYhB.js → vue-ui-dumbbell-Qgn3wRyI.js} +20 -20
  130. package/dist/{vue-ui-flow-DD20fJu_.js → vue-ui-flow-iSH6dyGw.js} +109 -109
  131. package/dist/vue-ui-funnel-Cc2z2zS5.js +749 -0
  132. package/dist/{vue-ui-galaxy-VZFZnHPv.js → vue-ui-galaxy-GhuBSU0o.js} +267 -267
  133. package/dist/vue-ui-gauge-BAjBO13a.js +934 -0
  134. package/dist/{vue-ui-geo-DeDQ6ubl.js → vue-ui-geo-mwTtvIHY.js} +19 -19
  135. package/dist/{vue-ui-gizmo-D5oUKIsP.js → vue-ui-gizmo-B5vOOrZX.js} +4 -4
  136. package/dist/vue-ui-heatmap-fimkY1nN.js +1613 -0
  137. package/dist/{vue-ui-hill-DONFacXR.js → vue-ui-hill-DPfTt3UE.js} +18 -18
  138. package/dist/{vue-ui-history-plot-BMy_y9S6.js → vue-ui-history-plot-B1WgzqTb.js} +53 -53
  139. package/dist/vue-ui-horizontal-bar-Bkp5HQdt.js +1723 -0
  140. package/dist/{vue-ui-kpi-Bol0OWs3.js → vue-ui-kpi-D-p0CSQh.js} +4 -4
  141. package/dist/{vue-ui-label-cwjXaEDQ.js → vue-ui-label-r3-QloJL.js} +65 -65
  142. package/dist/{vue-ui-mini-loader-kdpasmXb.js → vue-ui-mini-loader-CnrBGAtM.js} +3 -3
  143. package/dist/vue-ui-molecule-BhdAYX_H.js +941 -0
  144. package/dist/vue-ui-mood-radar-CdlnPrQf.js +1111 -0
  145. package/dist/{vue-ui-nested-donuts-ZmGGEvRk.js → vue-ui-nested-donuts-DceVEyUc.js} +341 -341
  146. package/dist/{vue-ui-onion-D6IKPpL-.js → vue-ui-onion-_L0uEATI.js} +209 -209
  147. package/dist/vue-ui-parallel-coordinate-plot-CbXwIM47.js +1444 -0
  148. package/dist/{vue-ui-quadrant-CueHa1Pm.js → vue-ui-quadrant-CDDFLRcX.js} +55 -55
  149. package/dist/{vue-ui-quick-chart-C8ZxX1Zw.js → vue-ui-quick-chart-Dom257hl.js} +377 -377
  150. package/dist/vue-ui-radar-BLdri1bA.js +1386 -0
  151. package/dist/{vue-ui-rating-V_OnJN9Y.js → vue-ui-rating-C_iTttXB.js} +25 -25
  152. package/dist/vue-ui-relation-circle-BmxTSgjd.js +905 -0
  153. package/dist/vue-ui-ridgeline-CsUrcVmL.js +1630 -0
  154. package/dist/{vue-ui-rings-Bf9IKwDr.js → vue-ui-rings-D_GPkgbD.js} +318 -318
  155. package/dist/vue-ui-scatter-D_C-IhnW.js +2418 -0
  156. package/dist/{vue-ui-skeleton-dyXWT6JX.js → vue-ui-skeleton-t7e6KEZ2.js} +60 -60
  157. package/dist/{vue-ui-smiley-w6nH1I0E.js → vue-ui-smiley-Dl95YWVo.js} +14 -14
  158. package/dist/{vue-ui-spark-trend-Bso9bwmY.js → vue-ui-spark-trend-pkZA7u5V.js} +20 -20
  159. package/dist/{vue-ui-sparkbar-CL06Yt56.js → vue-ui-sparkbar-Ds7OJjhG.js} +77 -77
  160. package/dist/{vue-ui-sparkgauge-BHDM5Hbr.js → vue-ui-sparkgauge-US1M88qc.js} +6 -6
  161. package/dist/vue-ui-sparkhistogram-FISVpSvv.js +589 -0
  162. package/dist/{vue-ui-sparkline-znaswFQj.js → vue-ui-sparkline-DvE1dHcs.js} +37 -37
  163. package/dist/{vue-ui-sparkstackbar-BOzVoWoa.js → vue-ui-sparkstackbar-CWtF9eG-.js} +39 -39
  164. package/dist/vue-ui-stackbar-fMgrHzZe.js +3273 -0
  165. package/dist/{vue-ui-stackline-qcLrNL09.js → vue-ui-stackline-CSMuUup2.js} +303 -303
  166. package/dist/vue-ui-strip-plot-TGD2UFHS.js +1752 -0
  167. package/dist/{vue-ui-table-D295mJIf.js → vue-ui-table-BCEIbg8-.js} +14 -14
  168. package/dist/{vue-ui-table-heatmap-CXeMKqKz.js → vue-ui-table-heatmap-CvUcFWMf.js} +9 -9
  169. package/dist/vue-ui-table-sparkline-CoVQ1qGY.js +738 -0
  170. package/dist/vue-ui-thermometer-BYFAZCzh.js +758 -0
  171. package/dist/{vue-ui-timer-BULpjYiI.js → vue-ui-timer-BKr8RVnn.js} +10 -10
  172. package/dist/{vue-ui-tiremarks-B7bTeU8h.js → vue-ui-tiremarks-BYu3cEoy.js} +35 -35
  173. package/dist/{vue-ui-treemap-DkqDz9W4.js → vue-ui-treemap-BR3rX5_L.js} +50 -50
  174. package/dist/{vue-ui-waffle-Cn7WBzqh.js → vue-ui-waffle-mP8g5aQk.js} +275 -275
  175. package/dist/{vue-ui-wheel-Cy7kBvEx.js → vue-ui-wheel-CZsSO2R6.js} +187 -187
  176. package/dist/{vue-ui-word-cloud-tRqc2ZMR.js → vue-ui-word-cloud-CJ30onqy.js} +35 -35
  177. package/dist/{vue-ui-world-B755-zji.js → vue-ui-world-BZ09DOiF.js} +498 -498
  178. package/dist/{vue-ui-xy-BiHIJ7rK.js → vue-ui-xy-C3h54loZ.js} +405 -405
  179. package/dist/{vue-ui-xy-canvas-DGuMC_Rf.js → vue-ui-xy-canvas-BwgK8drp.js} +165 -165
  180. package/dist/{vue-ui-xy-DWYTZz_v.js → vue-ui-xy-jemv5dsf.js} +288 -288
  181. package/dist/{vue_ui_stackbar-DdjDL6aq.js → vue_ui_stackbar-yQyvT4Su.js} +46 -0
  182. package/package.json +1 -1
  183. package/dist/vue-ui-bump-kOK6x4al.js +0 -1242
  184. package/dist/vue-ui-donut-CvbfzzdT.js +0 -2427
  185. package/dist/vue-ui-funnel-Cx8hVlZV.js +0 -749
  186. package/dist/vue-ui-gauge-Copa7G58.js +0 -934
  187. package/dist/vue-ui-heatmap-BukWtNsd.js +0 -1613
  188. package/dist/vue-ui-horizontal-bar-bcPSs999.js +0 -1723
  189. package/dist/vue-ui-molecule-BiAI5lbh.js +0 -941
  190. package/dist/vue-ui-mood-radar-f4xXkiBs.js +0 -1111
  191. package/dist/vue-ui-parallel-coordinate-plot-BbfModz3.js +0 -1444
  192. package/dist/vue-ui-radar-BcD7Zqvb.js +0 -1386
  193. package/dist/vue-ui-relation-circle-DlN4r83K.js +0 -905
  194. package/dist/vue-ui-ridgeline-BlQnTWXi.js +0 -1630
  195. package/dist/vue-ui-scatter-arPbS9MH.js +0 -2418
  196. package/dist/vue-ui-sparkhistogram-3Tw8PEms.js +0 -589
  197. package/dist/vue-ui-stackbar-BTOvMsP8.js +0 -2755
  198. package/dist/vue-ui-strip-plot-BLNaCPm8.js +0 -1752
  199. package/dist/vue-ui-table-sparkline-BYuwQrwA.js +0 -738
  200. package/dist/vue-ui-thermometer-BwJ0oF-H.js +0 -758
@@ -0,0 +1,1242 @@
1
+ import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
+ import { $ as t, At as n, D as r, Ht as i, J as a, P as o, S as s, U as ee, X as c, at as l, c as te, en as ne, i as re, nn as ie, nt as ae, r as oe, t as se, w as ce, yt as le, zt as ue } from "./lib-D4wK6ljP.js";
3
+ import { n as de, t as fe } from "./useHints-Dq_w2E8B.js";
4
+ import { t as pe } from "./useTimeLabels-d2f-W1L4.js";
5
+ import { t as me } from "./useConfig-D_6ZrPMD.js";
6
+ import { t as he } from "./usePrinter-DdW2GSm0.js";
7
+ import { n as ge, t as _e } from "./BaseScanner-Dzc8VT3j.js";
8
+ import { t as ve } from "./useNestedProp-DR_8JPol.js";
9
+ import { t as ye } from "./useThemeCheck-C43Tcqmk.js";
10
+ import { t as be } from "./useChartExport-iwOqiIWX.js";
11
+ import { t as xe } from "./useTimeLabelCollider-AEcY4Ioe.js";
12
+ import { n as Se } from "./Title-BMCuINbv.js";
13
+ import { t as Ce } from "./_plugin-vue_export-helper-B3ysoDQm.js";
14
+ import { l as we, t as Te } from "./useResponsive-ZtArZtUf.js";
15
+ import { t as Ee } from "./A11yDataTable-DdRsVULz.js";
16
+ import { t as De } from "./useUserOptionState-DK-_1ddE.js";
17
+ import { t as Oe } from "./useChartAccessibility-DYqac8yF.js";
18
+ import { t as ke } from "./vue_ui_bump-Vl-zYAtG.js";
19
+ import { t as Ae } from "./BaseDraggableDialog-C50TEJFv.js";
20
+ import { Fragment as u, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createSlots as je, createTextVNode as Me, createVNode as Ne, defineAsyncComponent as g, guardReactiveProps as _, mergeProps as Pe, normalizeClass as Fe, normalizeProps as v, normalizeStyle as y, onBeforeUnmount as Ie, onMounted as Le, openBlock as b, ref as x, renderList as S, renderSlot as C, resolveDynamicComponent as Re, shallowRef as ze, toDisplayString as w, toRefs as Be, unref as T, watch as Ve, watchEffect as He, withCtx as E } from "vue";
21
+ //#region src/components/vue-ui-bump.vue
22
+ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke = { style: { position: "relative" } }, qe = [
23
+ "xmlns",
24
+ "aria-describedby",
25
+ "viewBox"
26
+ ], Je = [
27
+ "x",
28
+ "y",
29
+ "width",
30
+ "height"
31
+ ], Ye = [
32
+ "d",
33
+ "stroke",
34
+ "stroke-width",
35
+ "onMouseenter"
36
+ ], Xe = [
37
+ "d",
38
+ "stroke",
39
+ "stroke-width",
40
+ "onMouseenter",
41
+ "onMouseleave",
42
+ "onClick"
43
+ ], Ze = [
44
+ "cx",
45
+ "cy",
46
+ "r",
47
+ "fill",
48
+ "stroke",
49
+ "stroke-width",
50
+ "onMouseenter",
51
+ "onMouseleave",
52
+ "onClick"
53
+ ], Qe = [
54
+ "x",
55
+ "y",
56
+ "fill",
57
+ "font-size"
58
+ ], $e = [
59
+ "onMouseenter",
60
+ "onMouseleave",
61
+ "onClick"
62
+ ], et = [
63
+ "x",
64
+ "y",
65
+ "fill",
66
+ "font-size"
67
+ ], tt = [
68
+ "x",
69
+ "y",
70
+ "fill",
71
+ "font-size",
72
+ "font--weight",
73
+ "innerHTML",
74
+ "onMouseenter",
75
+ "onMouseleave",
76
+ "onClick"
77
+ ], nt = [
78
+ "x",
79
+ "y",
80
+ "fill",
81
+ "font-size",
82
+ "font--weight",
83
+ "innerHTML",
84
+ "onMouseenter",
85
+ "onMouseleave",
86
+ "onClick"
87
+ ], rt = { key: 0 }, it = { key: 1 }, at = [
88
+ "text-anchor",
89
+ "font-size",
90
+ "font-weight",
91
+ "fill",
92
+ "stroke",
93
+ "transform"
94
+ ], ot = [
95
+ "text-anchor",
96
+ "font-size",
97
+ "fill",
98
+ "transform",
99
+ "innerHTML"
100
+ ], st = {
101
+ key: 0,
102
+ style: {
103
+ position: "absolute",
104
+ top: "100%",
105
+ left: "0",
106
+ width: "100%"
107
+ },
108
+ "data-dom-to-png-ignore": "",
109
+ "aria-hidden": "true"
110
+ }, ct = {
111
+ key: 5,
112
+ class: "vue-data-ui-watermark"
113
+ }, lt = /*#__PURE__*/ Ce({
114
+ __name: "vue-ui-bump",
115
+ props: {
116
+ config: {
117
+ type: Object,
118
+ default() {
119
+ return {};
120
+ }
121
+ },
122
+ dataset: {
123
+ type: Array,
124
+ default() {
125
+ return [];
126
+ }
127
+ }
128
+ },
129
+ emits: ["copyAlt"],
130
+ setup(e, { expose: Ce, emit: Ue }) {
131
+ let lt = g(() => import("./BaseIcon-Cx9FD751.js").then((e) => e.n)), ut = g(() => import("./vue-ui-accordion-CaoNWreI.js").then((e) => e.n)), dt = g(() => import("./DataTable-CjF_An2h.js")), ft = g(() => import("./PenAndPaper-CNiuGw6k.js").then((e) => e.t)), pt = g(() => import("./UserOptions-CORYQiif.js").then((e) => e.n)), mt = g(() => import("./PackageVersion-D7H9nfK0.js").then((e) => e.t)), { vue_ui_bump: ht } = me(), { isThemeValid: gt, warnInvalidTheme: _t } = ye(), D = e, vt = Ue, yt = d({
132
+ get() {
133
+ return !!D.dataset && D.dataset.length;
134
+ },
135
+ set(e) {
136
+ return e;
137
+ }
138
+ }), O = x(null), k = x(c()), bt = x(0), xt = x(null), St = x(null), Ct = x(null), wt = x(!1), Tt = x(!1), Et = x(0), Dt = x(0), A = x(null), Ot = x(null), kt = x(!1), j = x(null), At = x(null), jt = x(null), Mt = x(null), M = x(null), Nt = x(!1), N = x(Rt()), P = d(() => N.value.style.chart.layout.plots), F = d(() => N.value.style.chart.layout), I = d(() => N.value.style.chart), L = d(() => N.value.userOptions);
139
+ de({
140
+ config: () => N.value,
141
+ dataset: () => D.dataset,
142
+ component: "VueUiBump",
143
+ rules: [
144
+ fe.emptyArray,
145
+ {
146
+ test: (e) => e.length > 31,
147
+ message: [
148
+ "👀 The number of series > 31. Consider:",
149
+ "",
150
+ "▶️ Using filters to let users choose a maximum number of series to display",
151
+ "",
152
+ "▶️ Use several instances of the component to show related series"
153
+ ]
154
+ },
155
+ {
156
+ test: (e) => e.length === 1,
157
+ message: [
158
+ "👀 There is only 1 series in your dataset. Consider:",
159
+ "",
160
+ "▶️ Using a line chart, with VueUiXy."
161
+ ]
162
+ },
163
+ {
164
+ test: (e) => e.some((e) => e.values.length > 31),
165
+ message: [
166
+ "👀 Some series contain > 31 data points, which can make the chart hard to read. Consider:",
167
+ "",
168
+ "▶️ Use filters to show less data points at a time.",
169
+ "",
170
+ "▶️ Use larger time scales, or aggregated values."
171
+ ]
172
+ }
173
+ ]
174
+ });
175
+ let R = d(() => N.value.userOptions.useCursorPointer), Pt = d(() => ie({
176
+ defaultConfig: {
177
+ userOptions: { show: !1 },
178
+ style: { chart: {
179
+ backgroundColor: "#99999930",
180
+ layout: {
181
+ timeLabels: { show: !1 },
182
+ lines: { coatingColor: "#4A4A4A" },
183
+ plots: {
184
+ stroke: "#4A4A4A",
185
+ labels: {
186
+ show: !1,
187
+ displayedValue: "rank"
188
+ }
189
+ },
190
+ nameLabels: { useSerieColor: !0 }
191
+ }
192
+ } }
193
+ },
194
+ userConfig: N.value.skeletonConfig ?? {}
195
+ })), { loading: Ft, FINAL_DATASET: It, manualLoading: Lt } = ge({
196
+ ...Be(D),
197
+ FINAL_CONFIG: N,
198
+ prepareConfig: Rt,
199
+ skeletonDataset: D.config?.skeletonDataset ?? [
200
+ {
201
+ name: "————",
202
+ values: [
203
+ 1,
204
+ 1,
205
+ 1,
206
+ 2,
207
+ 2,
208
+ 2,
209
+ 3,
210
+ 3,
211
+ 2,
212
+ 2
213
+ ],
214
+ color: "#4A4A4A"
215
+ },
216
+ {
217
+ name: "————",
218
+ values: [
219
+ 2,
220
+ 2,
221
+ 2,
222
+ 1,
223
+ 3,
224
+ 3,
225
+ 2,
226
+ 2,
227
+ 3,
228
+ 3
229
+ ],
230
+ color: "#6A6A6A"
231
+ },
232
+ {
233
+ name: "————",
234
+ values: [
235
+ 3,
236
+ 3,
237
+ 3,
238
+ 3,
239
+ 1,
240
+ 1,
241
+ 1,
242
+ 1,
243
+ 1,
244
+ 1
245
+ ],
246
+ color: "#8A8A8A"
247
+ }
248
+ ],
249
+ skeletonConfig: ie({
250
+ defaultConfig: N.value,
251
+ userConfig: Pt.value
252
+ })
253
+ });
254
+ Le(Qt);
255
+ function Rt() {
256
+ let e = ve({
257
+ userConfig: D.config,
258
+ defaultConfig: ht
259
+ }), t = {}, n = e.theme;
260
+ if (n) {
261
+ if (!gt.value(e)) _t(e), t = e;
262
+ else {
263
+ let r = ve({
264
+ userConfig: ke[n] || D.config,
265
+ defaultConfig: e
266
+ });
267
+ t = {
268
+ ...ve({
269
+ userConfig: D.config,
270
+ defaultConfig: r
271
+ }),
272
+ customPalette: e.customPalette.length ? e.customPalette : ne[n] || i
273
+ };
274
+ }
275
+ } else t = e;
276
+ return t;
277
+ }
278
+ let { userOptionsVisible: zt, setUserOptionsVisibility: Bt, keepUserOptionState: Vt } = De({ config: N.value }), { svgRef: z } = Oe({ config: I.value.title });
279
+ function Ht() {
280
+ kt.value = !0, Bt(!0);
281
+ }
282
+ function Ut() {
283
+ Bt(!1), kt.value = !1;
284
+ }
285
+ let B = x({ showTable: N.value.table.show });
286
+ Ve(N, () => {
287
+ B.value = { showTable: N.value.table.show };
288
+ }, { immediate: !0 }), Ve(() => D.config, (e) => {
289
+ Ft.value || (N.value = Rt()), zt.value = !N.value.userOptions.showOnChartHover, Qt(), Et.value += 1, Dt.value += 1, B.value.showTable = N.value.table.show, V.value.width = I.value.width, V.value.height = I.value.height, V.value.paddingRatio = {
290
+ top: I.value.padding.top / I.value.height,
291
+ right: I.value.padding.right / I.value.width,
292
+ bottom: I.value.padding.bottom / I.value.height,
293
+ left: I.value.padding.left / I.value.width
294
+ };
295
+ }), Ve(() => D.dataset, (e) => {
296
+ Array.isArray(e) && e.length > 0 && (Lt.value = !1);
297
+ }, { deep: !0 });
298
+ let { isPrinting: Wt, isImaging: Gt, generatePdf: Kt, generateImage: qt } = he({
299
+ elementId: `bump_${k.value}`,
300
+ fileName: I.value.title.text || "vue-ui-bump",
301
+ options: N.value.userOptions.print
302
+ }), Jt = d(() => N.value.userOptions.show && !I.value.title.text), V = x({
303
+ width: I.value.width,
304
+ height: I.value.height,
305
+ paddingRatio: {
306
+ top: I.value.padding.top / I.value.height,
307
+ right: I.value.padding.right / I.value.width,
308
+ bottom: I.value.padding.bottom / I.value.height,
309
+ left: I.value.padding.left / I.value.width
310
+ }
311
+ }), Yt = d(() => ce(N.value.customPalette)), H = ze(null), U = ze(null), Xt = x(null), Zt = d(() => N.value.debug);
312
+ function Qt() {
313
+ if (ue(D.dataset) ? (l({
314
+ componentName: "VueUiBump",
315
+ type: "dataset",
316
+ debug: Zt.value
317
+ }), Lt.value = !0) : D.dataset.forEach((e, t) => {
318
+ le({
319
+ datasetObject: e,
320
+ requiredAttributes: ["name", "values"]
321
+ }).forEach((e) => {
322
+ yt.value = !1, l({
323
+ componentName: "VueUiBump",
324
+ type: "datasetSerieAttribute",
325
+ property: e,
326
+ index: t,
327
+ debug: Zt.value
328
+ }), Lt.value = !0;
329
+ });
330
+ }), ue(D.dataset) || (Lt.value = N.value.loading), setTimeout(() => {
331
+ Tt.value = !0;
332
+ }, 10), N.value.responsive) {
333
+ let e = we(() => {
334
+ Tt.value = !1;
335
+ let { width: e, height: t } = Te({
336
+ chart: O.value,
337
+ noTitle: St.value,
338
+ title: I.value.title.text ? xt.value : null,
339
+ legend: null,
340
+ slicer: null,
341
+ source: Ct.value
342
+ });
343
+ requestAnimationFrame(() => {
344
+ V.value.width = e, V.value.height = t - 12, clearTimeout(Xt.value), Xt.value = setTimeout(() => {
345
+ Tt.value = !0;
346
+ }, 10);
347
+ });
348
+ });
349
+ H.value && (U.value && H.value.unobserve(U.value), H.value.disconnect()), H.value = new ResizeObserver(e), U.value = O.value.parentNode, H.value.observe(U.value);
350
+ }
351
+ }
352
+ Ie(() => {
353
+ H.value && (U.value && H.value.unobserve(U.value), H.value.disconnect());
354
+ });
355
+ let $t = d(() => It.value.map((e, t) => {
356
+ let n = s(e.color) || Yt.value[t] || i[t] || i[t % i.length];
357
+ return {
358
+ ...e,
359
+ absoluteIndex: t,
360
+ id: c(),
361
+ color: n
362
+ };
363
+ })), W = d(() => Math.max(...$t.value.map((e) => e.values.length)));
364
+ function en(e) {
365
+ let t = e.map(() => Array(W.value).fill(null));
366
+ for (let n = 0; n < W.value; n += 1) {
367
+ let r = e.map((e, r) => ({
368
+ seriesIndex: r,
369
+ value: e.values?.[n],
370
+ previousPosition: n > 0 ? t[r][n - 1] : r
371
+ })).filter((e) => Number.isFinite(e.value));
372
+ r.sort((e, t) => t.value === e.value ? e.previousPosition - t.previousPosition : t.value - e.value);
373
+ for (let e = 0; e < r.length; e += 1) {
374
+ let i = r[e];
375
+ t[i.seriesIndex][n] = e;
376
+ }
377
+ }
378
+ return t;
379
+ }
380
+ function tn() {
381
+ let e = 0;
382
+ return At.value && (e = Array.from(At.value.querySelectorAll("tspan")).reduce((e, t) => {
383
+ let n = t.getComputedTextLength();
384
+ return n > e ? n : e;
385
+ }, 0)), e;
386
+ }
387
+ function nn() {
388
+ let e = 0;
389
+ return jt.value && (e = Array.from(jt.value.querySelectorAll("tspan")).reduce((e, t) => {
390
+ let n = t.getComputedTextLength();
391
+ return n > e ? n : e;
392
+ }, 0)), e;
393
+ }
394
+ let rn = x(0), an = we((e) => {
395
+ rn.value = e;
396
+ }, 100);
397
+ He((e) => {
398
+ let t = Mt.value;
399
+ if (!t) return;
400
+ let n = new ResizeObserver((e) => {
401
+ an(e[0].contentRect.height);
402
+ });
403
+ n.observe(t), e(() => n.disconnect());
404
+ }), Ie(() => {
405
+ rn.value = 0;
406
+ });
407
+ let on = d(() => {
408
+ let e = F.value.timeLabels;
409
+ if (!e.show) return 0;
410
+ let t = e.fontSize, n = e.rotation, r = Math.PI / 180 * n, i = J.value || [];
411
+ if (!i.length) return 0;
412
+ let a = i.reduce((e, t) => {
413
+ let n = String(t?.text ?? "").split("\n").length;
414
+ return Math.max(e, n);
415
+ }, 1), o = i.reduce((e, t) => {
416
+ let n = String(t?.text ?? "").split("\n").reduce((e, t) => Math.max(e, t.length), 0);
417
+ return Math.max(e, n);
418
+ }, 0), s = t * 1.3 * a, ee = o * t * (o === 1 ? 1 : .6), c = Math.abs(Math.sin(r)) * ee + Math.abs(Math.cos(r)) * s, l = t * .3;
419
+ return Math.max(0, c + Math.abs(e.offsetY) + l);
420
+ }), G = d(() => {
421
+ let { height: e, width: t } = V.value, { right: n, left: r } = V.value.paddingRatio, i = tn(), a = nn(), o = I.value.padding.top, s = t - t * n - a, ee = t * r + i, c = t - t * n - t * r - i - a, l = e - o - I.value.padding.bottom - on.value, te = o + l, ne = o + l, re = Math.max(0, e);
422
+ return {
423
+ chartHeight: ne,
424
+ chartWidth: Math.max(0, t),
425
+ top: o,
426
+ right: Math.max(0, s),
427
+ bottom: Math.max(0, te),
428
+ left: Math.max(0, ee),
429
+ width: Math.max(0, c),
430
+ height: Math.max(0, l),
431
+ unitH: Math.max(0, l) / $t.value.length,
432
+ unitW: Math.max(0, c) / W.value,
433
+ svgHeight: re
434
+ };
435
+ }), K = d(() => {
436
+ if (!yt.value && !Ft.value) return [];
437
+ let e = en($t.value);
438
+ return $t.value.map((t, n) => ({
439
+ ...t,
440
+ positions: e[n]
441
+ })).map((e) => {
442
+ let r = e.positions.map((n, r) => {
443
+ let i = re(P.value.labels.formatter, e.values[r], t({
444
+ p: P.value.labels.prefix,
445
+ v: e.values[r],
446
+ s: P.value.labels.suffix,
447
+ r: P.value.labels.rounding
448
+ }));
449
+ return {
450
+ name: e.name,
451
+ id: e.id,
452
+ x: G.value.left + r * G.value.unitW + G.value.unitW / 2,
453
+ y: G.value.top + n * G.value.unitH + G.value.unitH / 2,
454
+ value: e.values[r],
455
+ displayValue: i,
456
+ rank: e.positions[r] + 1,
457
+ color: e.color,
458
+ labelColor: P.value.labels.color === "auto" ? oe(e.color) : s(P.value.labels.color) ?? oe(e.color)
459
+ };
460
+ }), i = r.filter((e) => n(e.value)), a = F.value.lines.smooth ? o(i) : ee(i);
461
+ return {
462
+ ...e,
463
+ coordinates: r,
464
+ path: a
465
+ };
466
+ });
467
+ });
468
+ d(() => K.value.flatMap((e, t) => e.coordinates.map((n, r) => ({
469
+ ...n,
470
+ pointIndex: r,
471
+ seriesIndex: t,
472
+ seriesId: e.id,
473
+ seriesName: e.name,
474
+ pointId: `${e.id}_${r}`
475
+ })).filter((e) => n(e.value))));
476
+ function sn(e, t, n, r) {
477
+ let i = e.toSorted((e, t) => e.y - t.y);
478
+ for (let e = 1; e < i.length; e += 1) {
479
+ let n = i[e - 1], r = i[e];
480
+ r.y < n.y + t && (r.y = n.y + t);
481
+ }
482
+ let a = i.length - 1;
483
+ if (a >= 0 && i[a].y > r) {
484
+ i[a].y = r;
485
+ for (let e = a - 1; e >= 0; --e) {
486
+ let n = i[e + 1], r = i[e];
487
+ r.y > n.y - t && (r.y = n.y - t);
488
+ }
489
+ }
490
+ if (i.length && i[0].y < n) {
491
+ let e = n - i[0].y;
492
+ for (let t = 0; t < i.length; t += 1) i[t].y += e;
493
+ }
494
+ return i;
495
+ }
496
+ let cn = d(() => {
497
+ let e = [], t = [];
498
+ K.value.forEach((n) => {
499
+ let r = n.coordinates.filter((e) => Number.isFinite(e.rank));
500
+ if (!r.length) return;
501
+ e.push({ ...r[0] });
502
+ let i = r[r.length - 1];
503
+ t.push({ ...i });
504
+ });
505
+ let n = F.value.nameLabels.fontSize, r = n * 1.4, i = G.value.top + n, a = G.value.bottom - n, o = sn(t, r, i, a);
506
+ return {
507
+ left: sn(e, r, i, a),
508
+ right: o
509
+ };
510
+ });
511
+ function ln(e) {
512
+ let t = P.value.labels.fontSize * .4, n = e.displayValue, r = n.length * (P.value.labels.fontSize * (n.length === 1 ? 1 : .6)), i = P.value.labels.fontSize, a = r + t * 2, o = i + t * 2, s = e.x - a / 2, ee = e.y - o / 2, c = P.value.strokeWidth;
513
+ return {
514
+ x: s - c / 2,
515
+ y: ee - c / 2,
516
+ width: a + c,
517
+ height: o + c,
518
+ fill: e.color,
519
+ stroke: P.value.stroke,
520
+ "stroke-width": c,
521
+ rx: o / 2
522
+ };
523
+ }
524
+ let q = x([]), un = 0;
525
+ He(() => {
526
+ let e = ++un, t = F.value.timeLabels, n = t.values, r = t.datetimeFormatter, i = W.value;
527
+ if (!i || !Array.isArray(n) || n.length === 0) {
528
+ q.value = [];
529
+ return;
530
+ }
531
+ (async () => {
532
+ let t = await pe({
533
+ values: n,
534
+ maxDatapoints: i,
535
+ formatter: r,
536
+ start: 0,
537
+ end: i
538
+ });
539
+ e === un && (q.value = t);
540
+ })();
541
+ });
542
+ let J = d(() => {
543
+ let e = F.value.timeLabels, t = q.value || [], n = q.value || [], r = W.value, i = t.map((e) => e?.text ?? ""), a = n.map((e) => e?.text ?? "");
544
+ return te(!!e.showOnlyFirstAndLast, !!e.showOnlyAtModulo, Math.max(1, Number(e.modulo) || 1), i, a, 0, null, r);
545
+ }), dn = d(() => V.value.width), fn = d(() => V.value.height), pn = d(() => ({
546
+ start: 0,
547
+ end: W.value
548
+ })), Y = d(() => [...K.value].map((e) => {
549
+ let t = [...e.coordinates].filter((e) => n(e.value)).at(-1);
550
+ return {
551
+ ...e,
552
+ navigationRank: t?.rank ?? Infinity
553
+ };
554
+ }).sort((e, t) => e.navigationRank - t.navigationRank));
555
+ function mn() {
556
+ M.value = null, Nt.value = !0;
557
+ }
558
+ function hn() {
559
+ _n(), Nt.value = !1;
560
+ }
561
+ function gn(e, t) {
562
+ let n = Y.value.length;
563
+ return n ? e === null || e < 0 || e >= n ? 0 : t === "previous" ? (e - 1 + n) % n : (e + 1) % n : null;
564
+ }
565
+ function _n() {
566
+ if (M.value !== null) {
567
+ let e = Y.value[M.value];
568
+ e && $(e, e);
569
+ }
570
+ M.value = null, j.value = null;
571
+ }
572
+ function vn(e) {
573
+ if (!z.value || yn.value || document.activeElement !== z.value || !Y.value.length) return;
574
+ let t = ["ArrowLeft", "ArrowUp"].includes(e.key), n = ["ArrowRight", "ArrowDown"].includes(e.key), r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
575
+ if (!t && !n && !r && !i) return;
576
+ if (e.preventDefault(), e.stopPropagation(), i) {
577
+ _n();
578
+ return;
579
+ }
580
+ if (r) {
581
+ if (M.value === null) return;
582
+ let e = Y.value[M.value];
583
+ if (!e) return;
584
+ Pn(e, e);
585
+ return;
586
+ }
587
+ let a = M.value;
588
+ a === null ? a = 0 : t ? a = gn(a, "previous") : n && (a = gn(a, "next"));
589
+ let o = Y.value[a];
590
+ o && (M.value = a, Q(o, o));
591
+ }
592
+ let X = d(() => ({
593
+ head: Z.value.head,
594
+ body: K.value.map((e) => [e.name, ...e.coordinates.map((e) => n(e.value) ? `${e.displayValue} (${e.rank})` : "-")]),
595
+ caption: N.value.a11y.translations.tableCaption,
596
+ notice: N.value.a11y.translations.tableAvailable
597
+ }));
598
+ xe({
599
+ timeLabelsEls: Mt,
600
+ timeLabels: q,
601
+ slicer: pn,
602
+ configRef: N,
603
+ rotationPath: [
604
+ "style",
605
+ "chart",
606
+ "layout",
607
+ "timeLabels",
608
+ "rotation"
609
+ ],
610
+ autoRotatePath: [
611
+ "style",
612
+ "chart",
613
+ "layout",
614
+ "timeLabels",
615
+ "autoRotate",
616
+ "enable"
617
+ ],
618
+ isAutoSize: !1,
619
+ width: dn,
620
+ height: fn,
621
+ rotation: F.value.timeLabels.autoRotate.angle
622
+ });
623
+ let yn = x(!1);
624
+ function bn() {
625
+ yn.value = !yn.value;
626
+ }
627
+ function xn(e) {
628
+ wt.value = e, bt.value += 1;
629
+ }
630
+ function Sn() {
631
+ B.value.showTable = !B.value.showTable;
632
+ }
633
+ Ve(() => B.value.showTable, (e) => {
634
+ N.value.table.show || (e && N.value.table.useDialog && A.value ? A.value.open() : "close" in A.value && A.value.close());
635
+ });
636
+ function Cn() {
637
+ B.value.showTable = !1, Ot.value && Ot.value.setTableIconState(!1);
638
+ }
639
+ function wn() {
640
+ return K.value;
641
+ }
642
+ function Tn(e = null) {
643
+ let t = [
644
+ [I.value.title.text],
645
+ [I.value.title.subtitle.text],
646
+ [""]
647
+ ], n = ["", ...J.value.map((e) => e?.text ?? "")], i = K.value.map((e) => [e.name, ...e.coordinates.map((e) => `${e.displayValue}`)]), a = K.value.map((e) => [e.name, ...e.coordinates.map((e) => `${e.rank}`)]), o = t.concat([[N.value.table.columnNames.values]]).concat([n]).concat(i).concat([
648
+ [""],
649
+ [N.value.table.columnNames.ranking],
650
+ [n]
651
+ ]).concat(a), s = r(o);
652
+ e ? e(s) : ae({
653
+ csvContent: s,
654
+ title: I.value.title.text || "vue-ui-bump"
655
+ });
656
+ }
657
+ let En = d(() => {
658
+ let e = N.value.table.useDialog && !N.value.table.show, t = B.value.showTable;
659
+ return {
660
+ component: e ? Ae : ut,
661
+ title: `${I.value.title.text}${I.value.title.subtitle.text ? `: ${I.value.title.subtitle.text}` : ""}`,
662
+ props: e ? {
663
+ backgroundColor: N.value.table.th.backgroundColor,
664
+ color: N.value.table.th.color,
665
+ headerColor: N.value.table.th.color,
666
+ headerBg: N.value.table.th.backgroundColor,
667
+ isFullscreen: wt.value,
668
+ fullscreenParent: O.value,
669
+ forcedWidth: Math.min(800, window.innerWidth * .8),
670
+ isCursorPointer: R.value
671
+ } : {
672
+ hideDetails: !0,
673
+ config: {
674
+ open: t,
675
+ maxHeight: 1e4,
676
+ body: {
677
+ backgroundColor: I.value.backgroundColor,
678
+ color: I.value.color
679
+ },
680
+ head: {
681
+ backgroundColor: I.value.backgroundColor,
682
+ color: I.value.color
683
+ }
684
+ }
685
+ }
686
+ };
687
+ }), Z = d(() => ({
688
+ head: [""].concat(J.value.map((e) => e.text)),
689
+ body: K.value.map((e, t) => [e.name, ...e.coordinates.map((e) => `${e.displayValue} (${e.rank})`)]),
690
+ config: {
691
+ th: {
692
+ backgroundColor: N.value.table.th.backgroundColor,
693
+ color: N.value.table.th.color,
694
+ outline: N.value.table.th.outline
695
+ },
696
+ td: {
697
+ backgroundColor: N.value.table.td.backgroundColor,
698
+ color: N.value.table.td.color,
699
+ outline: N.value.table.td.outline
700
+ },
701
+ breakpoint: N.value.table.responsiveBreakpoint
702
+ },
703
+ colNames: [N.value.table.columnNames.series]
704
+ })), Dn = d(() => I.value.backgroundColor), On = d(() => I.value.title), { isCallbackImaging: kn, isCallbackSvg: An, generateSvg: jn, onGenerateImage: Mn } = be({
705
+ svg: z,
706
+ title: On,
707
+ legend: null,
708
+ legendItems: null,
709
+ backgroundColor: Dn,
710
+ getSvgCallback: () => N.value.userOptions.callbacks.svg,
711
+ generateImage: qt
712
+ });
713
+ async function Nn({ scale: e = 2 } = {}) {
714
+ if (!O.value) return;
715
+ let { width: t, height: n } = O.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await img({
716
+ domElement: O.value,
717
+ base64: !0,
718
+ img: !0,
719
+ scale: e
720
+ });
721
+ return {
722
+ imageUri: i,
723
+ base64: a,
724
+ title: I.value.title.text,
725
+ width: t,
726
+ height: n,
727
+ aspectRatio: r
728
+ };
729
+ }
730
+ function Q(e, t) {
731
+ j.value = t.id, N.value.events.datapointEnter && N.value.events.datapointEnter({
732
+ datapoint: e,
733
+ seriesIndex: e?.pointIndex ?? null
734
+ });
735
+ }
736
+ function $(e, t) {
737
+ j.value = null, N.value.events.datapointLeave && N.value.events.datapointLeave({
738
+ datapoint: e,
739
+ seriesIndex: e?.pointIndex ?? null
740
+ });
741
+ }
742
+ function Pn(e, t) {
743
+ N.value.events.datapointClick && N.value.events.datapointClick({
744
+ datapoint: e,
745
+ seriesIndex: e?.pointIndex ?? null
746
+ });
747
+ }
748
+ async function Fn() {
749
+ if (vt("copyAlt", {
750
+ config: N.value,
751
+ dataset: K.value
752
+ }), !N.value.userOptions.callbacks.altCopy) {
753
+ console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
754
+ return;
755
+ }
756
+ await Promise.resolve(N.value.userOptions.callbacks.altCopy({
757
+ config: N.value,
758
+ dataset: K.value
759
+ }));
760
+ }
761
+ return Ce({
762
+ getData: wn,
763
+ getImage: Nn,
764
+ generatePdf: Kt,
765
+ generateCsv: Tn,
766
+ generateImage: qt,
767
+ generateSvg: jn,
768
+ toggleTable: Sn,
769
+ toggleAnnotator: bn,
770
+ toggleFullscreen: xn,
771
+ copyAlt: Fn
772
+ }), (e, t) => (b(), m("div", {
773
+ id: `bump_${k.value}`,
774
+ ref_key: "bumpChart",
775
+ ref: O,
776
+ class: Fe({
777
+ "vue-data-ui-component": !0,
778
+ "vue-ui-bump": !0,
779
+ "vue-data-ui-wrapper-fullscreen": wt.value
780
+ }),
781
+ style: y(`background:${I.value.backgroundColor};color:${I.value.color};font-family:${N.value.style.fontFamily}; position: relative; ${N.value.responsive ? "height: 100%" : ""}`),
782
+ onMouseenter: Ht,
783
+ onMouseleave: Ut
784
+ }, [
785
+ h("p", {
786
+ id: `chart-instructions-${k.value}`,
787
+ class: "sr-only"
788
+ }, w(N.value.a11y.translations.keyboardNavigation), 9, Ge),
789
+ X.value.body.length ? (b(), f(Ee, {
790
+ key: 0,
791
+ uid: k.value,
792
+ head: X.value.head,
793
+ body: X.value.body,
794
+ caption: X.value.caption,
795
+ notice: X.value.notice
796
+ }, null, 8, [
797
+ "uid",
798
+ "head",
799
+ "body",
800
+ "caption",
801
+ "notice"
802
+ ])) : p("", !0),
803
+ L.value.buttons.annotator ? (b(), f(T(ft), {
804
+ key: 1,
805
+ svgRef: T(z),
806
+ backgroundColor: I.value.backgroundColor,
807
+ color: I.value.color,
808
+ active: yn.value,
809
+ isCursorPointer: R.value,
810
+ palette: L.value.annotatorPalette,
811
+ onClose: bn
812
+ }, {
813
+ "annotator-action-close": E(() => [C(e.$slots, "annotator-action-close", {}, void 0, !0)]),
814
+ "annotator-action-color": E(({ color: t }) => [C(e.$slots, "annotator-action-color", v(_({ color: t })), void 0, !0)]),
815
+ "annotator-action-draw": E(({ mode: t }) => [C(e.$slots, "annotator-action-draw", v(_({ mode: t })), void 0, !0)]),
816
+ "annotator-action-undo": E(({ disabled: t }) => [C(e.$slots, "annotator-action-undo", v(_({ disabled: t })), void 0, !0)]),
817
+ "annotator-action-redo": E(({ disabled: t }) => [C(e.$slots, "annotator-action-redo", v(_({ disabled: t })), void 0, !0)]),
818
+ "annotator-action-delete": E(({ disabled: t }) => [C(e.$slots, "annotator-action-delete", v(_({ disabled: t })), void 0, !0)]),
819
+ _: 3
820
+ }, 8, [
821
+ "svgRef",
822
+ "backgroundColor",
823
+ "color",
824
+ "active",
825
+ "isCursorPointer",
826
+ "palette"
827
+ ])) : p("", !0),
828
+ C(e.$slots, "userConfig", {}, void 0, !0),
829
+ Jt.value ? (b(), m("div", {
830
+ key: 2,
831
+ ref_key: "noTitle",
832
+ ref: St,
833
+ class: "vue-data-ui-no-title-space",
834
+ style: "height:36px; width: 100%;background:transparent"
835
+ }, null, 512)) : p("", !0),
836
+ I.value.title.text ? (b(), m("div", {
837
+ key: 3,
838
+ ref_key: "chartTitle",
839
+ ref: xt,
840
+ style: "width:100%;background:transparent;"
841
+ }, [(b(), f(Se, {
842
+ key: `title_${Et.value}`,
843
+ config: {
844
+ title: {
845
+ cy: "bump-title",
846
+ ...I.value.title
847
+ },
848
+ subtitle: {
849
+ cy: "bump-subtitle",
850
+ ...I.value.title.subtitle
851
+ }
852
+ }
853
+ }, null, 8, ["config"]))], 512)) : p("", !0),
854
+ L.value.show && yt.value && (T(Vt) || T(zt)) ? (b(), f(T(pt), {
855
+ ref_key: "userOptionsRef",
856
+ ref: Ot,
857
+ key: `user_option_${bt.value}`,
858
+ backgroundColor: I.value.backgroundColor,
859
+ color: I.value.color,
860
+ isPrinting: T(Wt),
861
+ isImaging: T(Gt),
862
+ uid: k.value,
863
+ hasTooltip: !1,
864
+ hasPdf: L.value.buttons.pdf,
865
+ hasImg: L.value.buttons.img,
866
+ hasSvg: L.value.buttons.svg,
867
+ hasXls: L.value.buttons.csv,
868
+ hasTable: L.value.buttons.table,
869
+ hasLabel: !1,
870
+ hasAltCopy: L.value.buttons.altCopy,
871
+ hasFullscreen: L.value.buttons.fullscreen,
872
+ isFullcreen: wt.value,
873
+ chartElement: O.value,
874
+ position: L.value.position,
875
+ titles: { ...L.value.buttonTitles },
876
+ hasAnnotator: L.value.buttons.annotator,
877
+ isAnnotation: yn.value,
878
+ callbacks: L.value.callbacks,
879
+ printScale: L.value.print.scale,
880
+ tableDialog: N.value.table.useDialog,
881
+ isCursorPointer: R.value,
882
+ onToggleFullscreen: xn,
883
+ onGeneratePdf: T(Kt),
884
+ onGenerateCsv: Tn,
885
+ onGenerateImage: T(Mn),
886
+ onGenerateSvg: T(jn),
887
+ onToggleTable: Sn,
888
+ onToggleAnnotator: bn,
889
+ onCopyAlt: Fn,
890
+ style: y({ visibility: T(Vt) ? T(zt) ? "visible" : "hidden" : "visible" })
891
+ }, je({ _: 2 }, [
892
+ e.$slots.menuIcon ? {
893
+ name: "menuIcon",
894
+ fn: E(({ isOpen: t, color: n }) => [C(e.$slots, "menuIcon", v(_({
895
+ isOpen: t,
896
+ color: n
897
+ })), void 0, !0)]),
898
+ key: "0"
899
+ } : void 0,
900
+ e.$slots.optionPdf ? {
901
+ name: "optionPdf",
902
+ fn: E(() => [C(e.$slots, "optionPdf", {}, void 0, !0)]),
903
+ key: "1"
904
+ } : void 0,
905
+ e.$slots.optionCsv ? {
906
+ name: "optionCsv",
907
+ fn: E(() => [C(e.$slots, "optionCsv", {}, void 0, !0)]),
908
+ key: "2"
909
+ } : void 0,
910
+ e.$slots.optionImg ? {
911
+ name: "optionImg",
912
+ fn: E(() => [C(e.$slots, "optionImg", {}, void 0, !0)]),
913
+ key: "3"
914
+ } : void 0,
915
+ e.$slots.optionSvg ? {
916
+ name: "optionSvg",
917
+ fn: E(() => [C(e.$slots, "optionSvg", {}, void 0, !0)]),
918
+ key: "4"
919
+ } : void 0,
920
+ e.$slots.optionTable ? {
921
+ name: "optionTable",
922
+ fn: E(() => [C(e.$slots, "optionTable", {}, void 0, !0)]),
923
+ key: "5"
924
+ } : void 0,
925
+ e.$slots.optionFullscreen ? {
926
+ name: "optionFullscreen",
927
+ fn: E(({ toggleFullscreen: t, isFullscreen: n }) => [C(e.$slots, "optionFullscreen", v(_({
928
+ toggleFullscreen: t,
929
+ isFullscreen: n
930
+ })), void 0, !0)]),
931
+ key: "6"
932
+ } : void 0,
933
+ e.$slots.optionAnnotator ? {
934
+ name: "optionAnnotator",
935
+ fn: E(({ toggleAnnotator: t, isAnnotator: n }) => [C(e.$slots, "optionAnnotator", v(_({
936
+ toggleAnnotator: t,
937
+ isAnnotator: n
938
+ })), void 0, !0)]),
939
+ key: "7"
940
+ } : void 0,
941
+ e.$slots.optionAltCopy ? {
942
+ name: "optionAltCopy",
943
+ fn: E(({ altCopy: t }) => [C(e.$slots, "optionAltCopy", v(_({ altCopy: t })), void 0, !0)]),
944
+ key: "8"
945
+ } : void 0,
946
+ e.$slots["custom-menu-before"] ? {
947
+ name: "custom-menu-before",
948
+ fn: E(() => [C(e.$slots, "custom-menu-before", {}, void 0, !0)]),
949
+ key: "9"
950
+ } : void 0,
951
+ e.$slots["custom-menu-after"] ? {
952
+ name: "custom-menu-after",
953
+ fn: E(() => [C(e.$slots, "custom-menu-after", {}, void 0, !0)]),
954
+ key: "10"
955
+ } : void 0
956
+ ]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasAltCopy.hasFullscreen.isFullcreen.chartElement.position.titles.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.onGenerateImage.onGenerateSvg.style".split("."))) : p("", !0),
957
+ h("div", Ke, [(b(), m("svg", {
958
+ ref_key: "svgRef",
959
+ ref: z,
960
+ xmlns: T(se),
961
+ "aria-describedby": `chart-instructions-${k.value}`,
962
+ viewBox: `0 0 ${G.value.chartWidth <= 0 ? 10 : G.value.chartWidth} ${G.value.svgHeight <= 0 ? 10 : G.value.svgHeight}`,
963
+ class: Fe({
964
+ "vue-data-ui-loading": T(Ft),
965
+ "no-transition": !N.value.useCssAnimation
966
+ }),
967
+ style: y(`max-width:100%;overflow:visible;background:transparent;color:${I.value.color}`),
968
+ role: "img",
969
+ "aria-live": "polite",
970
+ preserveAspectRatio: "xMidYMid",
971
+ tabindex: "0",
972
+ onFocus: mn,
973
+ onBlur: hn,
974
+ onKeydown: vn
975
+ }, [
976
+ Ne(T(mt)),
977
+ e.$slots["chart-background"] ? (b(), m("foreignObject", {
978
+ key: 0,
979
+ x: G.value.left,
980
+ y: G.value.top,
981
+ width: G.value.width <= 0 ? 10 : G.value.width,
982
+ height: G.value.height <= 0 ? 10 : G.value.height,
983
+ style: { pointerEvents: "none" }
984
+ }, [C(e.$slots, "chart-background", {}, void 0, !0)], 8, Je)) : p("", !0),
985
+ (b(!0), m(u, null, S(K.value, (e) => (b(), m(u, null, [h("path", {
986
+ class: "transition-opacity",
987
+ d: `M${e.path}`,
988
+ stroke: F.value.lines.coatingColor,
989
+ "stroke-width": F.value.lines.strokeWidth + 2,
990
+ "stroke-linecap": "round",
991
+ "stroke-linejoin": "round",
992
+ fill: "none",
993
+ style: y({ opacity: j.value == null || j.value === e.id ? 1 : .1 }),
994
+ onMouseenter: (t) => j.value = e.id,
995
+ onMouseleave: t[0] ||= (e) => j.value = null
996
+ }, null, 44, Ye), h("path", {
997
+ class: "transition-opacity",
998
+ d: `M${e.path}`,
999
+ stroke: e.color,
1000
+ "stroke-width": F.value.lines.strokeWidth,
1001
+ "stroke-linecap": "round",
1002
+ "stroke-linejoin": "round",
1003
+ fill: "none",
1004
+ style: y({ opacity: j.value == null || j.value === e.id ? 1 : .1 }),
1005
+ onMouseenter: (t) => Q(e, e),
1006
+ onMouseleave: (t) => $(e, e),
1007
+ onClick: (t) => Pn(e, e)
1008
+ }, null, 44, Xe)], 64))), 256)),
1009
+ (b(!0), m(u, null, S(K.value, (t) => (b(), m(u, null, [
1010
+ P.value.labels.displayedValue === "rank" ? (b(!0), m(u, { key: 0 }, S(t.coordinates, (e, n) => (b(), m("circle", {
1011
+ class: "transition-opacity",
1012
+ cx: e.x,
1013
+ cy: e.y,
1014
+ r: P.value.radius,
1015
+ fill: t.color,
1016
+ stroke: P.value.stroke,
1017
+ "stroke-width": P.value.strokeWidth,
1018
+ style: y({ opacity: j.value == null || j.value === t.id ? 1 : .1 }),
1019
+ onMouseenter: (r) => Q({
1020
+ ...e,
1021
+ pointIndex: n
1022
+ }, t),
1023
+ onMouseleave: (r) => $({
1024
+ ...e,
1025
+ pointIndex: n
1026
+ }, t),
1027
+ onClick: (r) => Q({
1028
+ ...e,
1029
+ pointIndex: n
1030
+ }, t)
1031
+ }, null, 44, Ze))), 256)) : p("", !0),
1032
+ P.value.labels.show && P.value.labels.displayedValue === "rank" ? (b(!0), m(u, { key: 1 }, S(t.coordinates, (e) => (b(), m("text", {
1033
+ class: "transition-opacity",
1034
+ x: e.x,
1035
+ y: e.y + P.value.labels.fontSize / 3,
1036
+ fill: e.labelColor,
1037
+ "font-size": P.value.labels.fontSize,
1038
+ "text-anchor": "middle",
1039
+ style: y({
1040
+ userSelect: "none",
1041
+ pointerEvents: "none",
1042
+ opacity: j.value == null || j.value === t.id ? 1 : .1
1043
+ })
1044
+ }, w(e.rank), 13, Qe))), 256)) : p("", !0),
1045
+ P.value.labels.displayedValue === "value" ? (b(!0), m(u, { key: 2 }, S(t.coordinates, (r) => (b(), m(u, null, [T(n)(r.value) ? (b(), m("rect", Pe({
1046
+ key: 0,
1047
+ class: "transition-opacity"
1048
+ }, { ref_for: !0 }, ln(r), {
1049
+ style: { opacity: j.value == null || j.value === t.id ? 1 : .1 },
1050
+ onMouseenter: (n) => Q({
1051
+ ...e.point,
1052
+ pointIndex: e.i
1053
+ }, t),
1054
+ onMouseleave: (n) => $({
1055
+ ...e.point,
1056
+ pointIndex: e.i
1057
+ }, t),
1058
+ onClick: (n) => Q({
1059
+ ...e.point,
1060
+ pointIndex: e.i
1061
+ }, t)
1062
+ }), null, 16, $e)) : p("", !0), T(n)(r.value) && P.value.labels.show ? (b(), m("text", {
1063
+ key: 1,
1064
+ class: "transition-opacity",
1065
+ x: r.x,
1066
+ y: r.y + P.value.labels.fontSize / 3,
1067
+ fill: r.labelColor,
1068
+ "font-size": P.value.labels.fontSize,
1069
+ "text-anchor": "middle",
1070
+ style: y({
1071
+ userSelect: "none",
1072
+ pointerEvents: "none",
1073
+ opacity: j.value == null || j.value === t.id ? 1 : .1
1074
+ })
1075
+ }, w(r.displayValue), 13, et)) : p("", !0)], 64))), 256)) : p("", !0)
1076
+ ], 64))), 256)),
1077
+ F.value.nameLabels.leftLabels.show ? (b(), m("g", {
1078
+ key: 1,
1079
+ ref_key: "labelsLeft",
1080
+ ref: At
1081
+ }, [(b(!0), m(u, null, S(cn.value.left.filter((e) => T(n)(e.value)), (e, t) => (b(), m("text", {
1082
+ class: "transition-opacity",
1083
+ x: G.value.left,
1084
+ y: e.y + F.value.nameLabels.fontSize / 3,
1085
+ fill: F.value.nameLabels.useSerieColor ? e.color : F.value.nameLabels.color,
1086
+ "font-size": F.value.nameLabels.fontSize,
1087
+ "font--weight": F.value.nameLabels.bold ? "bold" : "normal",
1088
+ "text-anchor": "end",
1089
+ innerHTML: T(a)({
1090
+ content: e.name,
1091
+ fontSize: F.value.nameLabels.fontSize,
1092
+ fill: F.value.nameLabels.useSerieColor ? e.color : F.value.nameLabels.color,
1093
+ x: G.value.left - F.value.nameLabels.offsetX,
1094
+ y: e.y + F.value.nameLabels.fontSize / 3,
1095
+ translateY: !0
1096
+ }),
1097
+ style: y({ opacity: j.value == null || j.value === e.id ? 1 : .1 }),
1098
+ onMouseenter: (t) => Q(e, e),
1099
+ onMouseleave: (t) => $(e, e),
1100
+ onClick: (t) => Pn(e, e)
1101
+ }, null, 44, tt))), 256))], 512)) : p("", !0),
1102
+ F.value.nameLabels.rightLabels.show ? (b(), m("g", {
1103
+ key: 2,
1104
+ ref_key: "labelsRight",
1105
+ ref: jt
1106
+ }, [(b(!0), m(u, null, S(cn.value.right.filter((e) => T(n)(e.value)), (e, t) => (b(), m("text", {
1107
+ class: "transition-opacity",
1108
+ x: G.value.right,
1109
+ y: e.y + F.value.nameLabels.fontSize / 3,
1110
+ fill: F.value.nameLabels.useSerieColor ? e.color : F.value.nameLabels.color,
1111
+ "font-size": F.value.nameLabels.fontSize,
1112
+ "font--weight": F.value.nameLabels.bold ? "bold" : "normal",
1113
+ "text-anchor": "start",
1114
+ innerHTML: T(a)({
1115
+ content: e.name,
1116
+ fontSize: F.value.nameLabels.fontSize,
1117
+ fill: F.value.nameLabels.useSerieColor ? e.color : F.value.nameLabels.color,
1118
+ x: G.value.right + F.value.nameLabels.offsetX,
1119
+ y: e.y + F.value.nameLabels.fontSize / 3,
1120
+ translateY: !0
1121
+ }),
1122
+ style: y({ opacity: j.value == null || j.value === e.id ? 1 : .1 }),
1123
+ onMouseenter: (t) => Q(e, e),
1124
+ onMouseleave: (t) => $(e, e),
1125
+ onClick: (t) => Pn(e, e)
1126
+ }, null, 44, nt))), 256))], 512)) : p("", !0),
1127
+ F.value.timeLabels.show ? (b(), m("g", {
1128
+ key: 3,
1129
+ ref_key: "timeLabelsEls",
1130
+ ref: Mt
1131
+ }, [e.$slots["time-label"] ? (b(), m("g", rt, [(b(!0), m(u, null, S(J.value, (t, n) => (b(), m("g", null, [C(e.$slots, "time-label", Pe({ ref_for: !0 }, {
1132
+ x: G.value.unitW * n + G.value.unitW / 2 + G.value.left,
1133
+ y: G.value.chartHeight + F.value.timeLabels.offsetY,
1134
+ fontSize: F.value.timeLabels.fontSize,
1135
+ fill: F.value.timeLabels.color,
1136
+ transform: `translate(${G.value.unitW * n + G.value.unitW / 2 + G.value.left}, ${G.value.chartHeight + F.value.timeLabels.offsetY}), rotate(${F.value.timeLabels.rotation})`,
1137
+ absoluteIndex: t.absoluteIndex,
1138
+ content: t.text,
1139
+ textAnchor: F.value.timeLabels.rotation > 0 ? "start" : I.value.layout.timeLabels.rotation < 0 ? "end" : "middle",
1140
+ show: !0
1141
+ }), void 0, !0)]))), 256))])) : (b(), m("g", it, [(b(!0), m(u, null, S(J.value, (e, t) => (b(), m("g", null, [String(e.text).includes("\n") ? (b(), m("text", {
1142
+ key: t + "-multi",
1143
+ "text-anchor": F.value.timeLabels.rotation > 0 ? "start" : F.value.timeLabels.rotation < 0 ? "end" : "middle",
1144
+ "font-size": F.value.timeLabels.fontSize,
1145
+ fill: F.value.timeLabels.color,
1146
+ transform: `
1147
+ translate(
1148
+ ${G.value.unitW * t + G.value.unitW / 2 + G.value.left},
1149
+ ${G.value.chartHeight + F.value.timeLabels.fontSize * 1.3 + F.value.timeLabels.offsetY}
1150
+ ),
1151
+ rotate(${F.value.timeLabels.rotation})
1152
+ `,
1153
+ innerHTML: T(a)({
1154
+ content: String(e.text),
1155
+ fontSize: F.value.timeLabels.fontSize,
1156
+ fill: I.value.layout.timeLabels.color,
1157
+ stroke: I.value.backgroundColor,
1158
+ x: 0,
1159
+ y: 0
1160
+ })
1161
+ }, null, 8, ot)) : (b(), m("text", {
1162
+ class: "vue-data-ui-time-label",
1163
+ key: t,
1164
+ "text-anchor": F.value.timeLabels.rotation > 0 ? "start" : F.value.timeLabels.rotation < 0 ? "end" : "middle",
1165
+ "font-size": F.value.timeLabels.fontSize,
1166
+ "font-weight": F.value.timeLabels.bold ? "bold" : "normal",
1167
+ fill: F.value.timeLabels.color,
1168
+ stroke: I.value.backgroundColor,
1169
+ "stroke-width": "3",
1170
+ "stroke-linejoin": "round",
1171
+ "stroke-linecap": "round",
1172
+ "paint-order": "stroke fill",
1173
+ transform: `translate(${G.value.unitW * t + G.value.unitW / 2 + G.value.left}, ${G.value.chartHeight + F.value.timeLabels.offsetY}), rotate(${F.value.timeLabels.rotation})`
1174
+ }, w(e.text), 9, at))]))), 256))]))], 512)) : p("", !0),
1175
+ C(e.$slots, "svg", { svg: {
1176
+ drawingArea: G.value,
1177
+ data: K.value,
1178
+ isPrintingImg: T(Wt) || T(Gt) || T(kn),
1179
+ isPrintingSvg: T(An)
1180
+ } }, void 0, !0)
1181
+ ], 46, qe)), e.$slots.hint ? (b(), m("div", st, [C(e.$slots, "hint", v(_({
1182
+ hint: N.value.a11y.translations.keyboardNavigation,
1183
+ isVisible: Nt.value
1184
+ })), void 0, !0)])) : p("", !0)]),
1185
+ e.$slots.watermark ? (b(), m("div", ct, [C(e.$slots, "watermark", v(_({ isPrinting: T(Wt) || T(Gt) || T(kn) || T(An) })), void 0, !0)])) : p("", !0),
1186
+ yt.value && L.value.buttons.table ? (b(), f(Re(En.value.component), Pe({ key: 6 }, En.value.props, {
1187
+ ref_key: "tableUnit",
1188
+ ref: A,
1189
+ onClose: Cn
1190
+ }), je({
1191
+ content: E(() => [Ne(T(dt), {
1192
+ colNames: Z.value.colNames,
1193
+ head: Z.value.head,
1194
+ body: Z.value.body,
1195
+ config: Z.value.config,
1196
+ title: N.value.table.useDialog ? "" : En.value.title,
1197
+ withCloseButton: !N.value.table.useDialog,
1198
+ isCursorPointer: R.value,
1199
+ onClose: Cn
1200
+ }, {
1201
+ th: E(({ th: e }) => [h("div", null, w(e), 1)]),
1202
+ td: E(({ td: e }) => [Me(w(e), 1)]),
1203
+ _: 1
1204
+ }, 8, [
1205
+ "colNames",
1206
+ "head",
1207
+ "body",
1208
+ "config",
1209
+ "title",
1210
+ "withCloseButton",
1211
+ "isCursorPointer"
1212
+ ])]),
1213
+ _: 2
1214
+ }, [N.value.table.useDialog ? {
1215
+ name: "title",
1216
+ fn: E(() => [Me(w(En.value.title), 1)]),
1217
+ key: "0"
1218
+ } : void 0, N.value.table.useDialog ? {
1219
+ name: "actions",
1220
+ fn: E(() => [h("button", {
1221
+ tabindex: "0",
1222
+ class: "vue-ui-user-options-button",
1223
+ onClick: t[1] ||= (e) => Tn(L.value.callbacks.csv),
1224
+ style: y({ cursor: R.value ? "pointer" : "default" })
1225
+ }, [Ne(T(lt), {
1226
+ name: "fileCsv",
1227
+ stroke: En.value.props.color
1228
+ }, null, 8, ["stroke"])], 4)]),
1229
+ key: "1"
1230
+ } : void 0]), 1040)) : p("", !0),
1231
+ e.$slots.source ? (b(), m("div", {
1232
+ key: 7,
1233
+ ref_key: "source",
1234
+ ref: Ct,
1235
+ dir: "auto"
1236
+ }, [C(e.$slots, "source", {}, void 0, !0)], 512)) : p("", !0),
1237
+ C(e.$slots, "skeleton", {}, () => [T(Ft) ? (b(), f(_e, { key: 0 })) : p("", !0)], !0)
1238
+ ], 46, We));
1239
+ }
1240
+ }, [["__scopeId", "data-v-aa15b614"]]);
1241
+ //#endregion
1242
+ export { Ue as n, lt as t };