vue-data-ui 3.22.9 → 3.22.11

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 (216) hide show
  1. package/dist/{Arrow-DdymhUfY.js → Arrow-DKx74WtM.js} +1 -1
  2. package/dist/{BaseDraggableDialog-Av7Uxq5V.js → BaseDraggableDialog-3n8udWmh.js} +2 -2
  3. package/dist/{BaseIcon-UdRAvP2h.js → BaseIcon-CP5RWnqt.js} +1 -1
  4. package/dist/{BaseLegendToggle-DWtet-Hh.js → BaseLegendToggle-DsWphmIb.js} +1 -1
  5. package/dist/{BaseZoomControls-BY2KLqs6.js → BaseZoomControls-C9_ygNN4.js} +2 -2
  6. package/dist/{ColorPicker-DR_ummtM.js → ColorPicker-3N_HVgXs.js} +2 -2
  7. package/dist/{DataTable-BxpTMgfK.js → DataTable-DzPEVvSo.js} +2 -2
  8. package/dist/{Legend-ROt6ugzW.js → Legend-C0xAnJdO.js} +2 -2
  9. package/dist/{NonSvgPenAndPaper-B6EG_Sga.js → NonSvgPenAndPaper-B_mE5UbR.js} +3 -3
  10. package/dist/{PackageVersion-D__dRVRA.js → PackageVersion-1MNr72Bz.js} +1 -1
  11. package/dist/{PenAndPaper-DsXi7GJ-.js → PenAndPaper-CSMVXpg2.js} +3 -3
  12. package/dist/{Shape-UpH0a4Ur.js → Shape-BfnXr1nJ.js} +3 -3
  13. package/dist/Slicer-C6qNUmZ4.js +1149 -0
  14. package/dist/{SlicerPreview-CTz41lOu.js → SlicerPreview-BIdvqU32.js} +554 -553
  15. package/dist/{SparkTooltip-BTLN-Kex.js → SparkTooltip-uoUiL_P8.js} +1 -1
  16. package/dist/{Title-CcNiYzEo.js → Title-BuPs74IB.js} +1 -1
  17. package/dist/{Tooltip-CxOrWlFy.js → Tooltip-CA1rtSyl.js} +1 -1
  18. package/dist/{UserOptions-trvJ26nz.js → UserOptions-B69xBEVP.js} +6 -5
  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-history-plot.js +1 -1
  46. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  47. package/dist/components/vue-ui-icon.js +1 -1
  48. package/dist/components/vue-ui-kpi.js +1 -1
  49. package/dist/components/vue-ui-mini-loader.js +1 -1
  50. package/dist/components/vue-ui-molecule.js +1 -1
  51. package/dist/components/vue-ui-mood-radar.js +1 -1
  52. package/dist/components/vue-ui-nested-donuts.js +1 -1
  53. package/dist/components/vue-ui-onion.js +1 -1
  54. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  55. package/dist/components/vue-ui-quadrant.js +1 -1
  56. package/dist/components/vue-ui-quick-chart.js +1 -1
  57. package/dist/components/vue-ui-radar.js +1 -1
  58. package/dist/components/vue-ui-rating.js +1 -1
  59. package/dist/components/vue-ui-relation-circle.js +1 -1
  60. package/dist/components/vue-ui-ridgeline.js +1 -1
  61. package/dist/components/vue-ui-rings.js +1 -1
  62. package/dist/components/vue-ui-scatter.js +1 -1
  63. package/dist/components/vue-ui-skeleton.js +1 -1
  64. package/dist/components/vue-ui-smiley.js +1 -1
  65. package/dist/components/vue-ui-spark-trend.js +1 -1
  66. package/dist/components/vue-ui-sparkbar.js +1 -1
  67. package/dist/components/vue-ui-sparkgauge.js +1 -1
  68. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  69. package/dist/components/vue-ui-sparkline.js +1 -1
  70. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  71. package/dist/components/vue-ui-stackbar.js +1 -1
  72. package/dist/components/vue-ui-stackline.js +1 -1
  73. package/dist/components/vue-ui-strip-plot.js +1 -1
  74. package/dist/components/vue-ui-table-heatmap.js +1 -1
  75. package/dist/components/vue-ui-table-sparkline.js +1 -1
  76. package/dist/components/vue-ui-table.js +1 -1
  77. package/dist/components/vue-ui-thermometer.js +1 -1
  78. package/dist/components/vue-ui-timer.js +1 -1
  79. package/dist/components/vue-ui-tiremarks.js +1 -1
  80. package/dist/components/vue-ui-treemap.js +1 -1
  81. package/dist/components/vue-ui-vertical-bar.js +1 -1
  82. package/dist/components/vue-ui-waffle.js +1 -1
  83. package/dist/components/vue-ui-wheel.js +1 -1
  84. package/dist/components/vue-ui-word-cloud.js +1 -1
  85. package/dist/components/vue-ui-world.js +1 -1
  86. package/dist/components/vue-ui-xy-canvas.js +1 -1
  87. package/dist/components/vue-ui-xy.js +1 -1
  88. package/dist/{dom-to-png-BbwhsRIr.js → dom-to-png-BdAFKZQg.js} +1 -1
  89. package/dist/exposedLib-Ciw6TGtP.js +25 -0
  90. package/dist/{geoProjections-BbN7z57k.js → geoProjections-BCP_PoiB.js} +94 -94
  91. package/dist/{img-DnP3eXuv.js → img-Bikk1dGb.js} +1 -1
  92. package/dist/{labelUtils-DBEh078l.js → labelUtils-BUhssos9.js} +1 -1
  93. package/dist/{lib-JqW18y5I.js → lib-CFm_J26b.js} +121 -110
  94. package/dist/{package-ByOT60IK.js → package-Bf-Nk9qU.js} +1 -1
  95. package/dist/{pdf-hj3gzrE7.js → pdf-zmz3l2uy.js} +1 -1
  96. package/dist/{render-common-D18VrP0h.js → render-common-DEb-WjM1.js} +10 -10
  97. package/dist/ssr/vue-ui-donut.js +1 -1
  98. package/dist/ssr/vue-ui-xy.js +1 -1
  99. package/dist/ssr.js +2 -2
  100. package/dist/style.css +1 -1
  101. package/dist/types/utils.d.ts +40 -0
  102. package/dist/types/vue-data-ui.d.ts +1 -0
  103. package/dist/{useAutoSizeLabelsInsideViewbox-BGnDfZdg.js → useAutoSizeLabelsInsideViewbox-C9RNjsGv.js} +4 -4
  104. package/dist/{useConfig-DYM3f6EI.js → useConfig-C0V0eG7L.js} +1 -0
  105. package/dist/{useFitSvgText-CT3nmlaS.js → useFitSvgText-CXTzBplU.js} +3 -1
  106. package/dist/{useNestedProp-DIuuzG1r.js → useNestedProp-BY6DNN3i.js} +2 -2
  107. package/dist/{useObjectBindings-CD31syQb.js → useObjectBindings-Djwpii4d.js} +1 -1
  108. package/dist/{usePrinter-CqqHmnBI.js → usePrinter-BH-xle1O.js} +2 -2
  109. package/dist/{canvas-lib-BOP_HS11.js → useResponsive-ZtArZtUf.js} +19 -1
  110. package/dist/{useSvgExport-SVIsDot8.js → useSvgExport-Ba9qBr9M.js} +6 -5
  111. package/dist/{useTableResponsive-B24Uwt2E.js → useTableResponsive-BAqJPR68.js} +2 -1
  112. package/dist/{useTimeLabels-BmBRv27Y.js → useTimeLabels-B9CEuiLZ.js} +1 -1
  113. package/dist/utils.js +26 -24
  114. package/dist/{vue-data-ui-ub3fCh6P.js → vue-data-ui-Bme9usjG.js} +68 -68
  115. package/dist/vue-data-ui.js +77 -77
  116. package/dist/vue-ui-3d-bar-Ds1BPxqb.js +1824 -0
  117. package/dist/{vue-ui-accordion-CjAGqEJg.js → vue-ui-accordion-nNxnZTg9.js} +4 -4
  118. package/dist/vue-ui-age-pyramid-CNCrH8Kd.js +1246 -0
  119. package/dist/{vue-ui-annotator-BIucnT0L.js → vue-ui-annotator-BfZ8RTzJ.js} +17 -11
  120. package/dist/vue-ui-bullet-DscMmM2b.js +709 -0
  121. package/dist/vue-ui-bump-BvwU1_-N.js +1248 -0
  122. package/dist/{vue-ui-candlestick-DULUMU-Q.js → vue-ui-candlestick-Cp6r8ktf.js} +288 -288
  123. package/dist/vue-ui-carousel-table-CbtccW1g.js +455 -0
  124. package/dist/vue-ui-chestnut-C3Hmf1-m.js +2042 -0
  125. package/dist/{vue-ui-chord-DL1M7cgL.js → vue-ui-chord-DJk9j45J.js} +45 -46
  126. package/dist/{vue-ui-circle-pack-C1Pgq6si.js → vue-ui-circle-pack-CJe2wETT.js} +50 -51
  127. package/dist/{vue-ui-cursor-d2uLAKTQ.js → vue-ui-cursor-BAi9omna.js} +6 -6
  128. package/dist/{vue-ui-dag-CVh9FpZr.js → vue-ui-dag-D7BEbS71.js} +41 -39
  129. package/dist/{vue-ui-dashboard-BH0N3ebj.js → vue-ui-dashboard-BYFQjwgC.js} +70 -70
  130. package/dist/{vue-ui-digits-R6wi3J-Y.js → vue-ui-digits-Bx8nZl9d.js} +4 -4
  131. package/dist/{vue-ui-donut-BWDeVzLc.js → vue-ui-donut-BUX4ybT6.js} +208 -208
  132. package/dist/vue-ui-donut-evolution-MWDjQPQ5.js +1521 -0
  133. package/dist/vue-ui-donut-jXRV-3ON.js +2418 -0
  134. package/dist/vue-ui-dumbbell-CnwsHaIy.js +1564 -0
  135. package/dist/{vue-ui-flow-CNczKwTh.js → vue-ui-flow-CKXGk4Lm.js} +74 -75
  136. package/dist/vue-ui-funnel-CJwD7s7e.js +781 -0
  137. package/dist/{vue-ui-galaxy-v3cTbUiM.js → vue-ui-galaxy-DL85_SWR.js} +275 -276
  138. package/dist/{vue-ui-gauge-DxvMjfoc.js → vue-ui-gauge-Dkx-aUQr.js} +177 -178
  139. package/dist/{vue-ui-geo-BgmLkZZ2.js → vue-ui-geo-fkLF1rHB.js} +28 -27
  140. package/dist/{vue-ui-gizmo-n1kmcGeE.js → vue-ui-gizmo-S8w_p769.js} +9 -9
  141. package/dist/{vue-ui-heatmap-dSTh8ah_.js → vue-ui-heatmap-Dopkbn2N.js} +330 -331
  142. package/dist/{vue-ui-history-plot-N8BqMFVU.js → vue-ui-history-plot-DDYpEapS.js} +413 -414
  143. package/dist/vue-ui-horizontal-bar-Bi8WvKeD.js +1689 -0
  144. package/dist/{vue-ui-kpi-BKrUk9o8.js → vue-ui-kpi-BeJ-ajaS.js} +4 -4
  145. package/dist/{vue-ui-mini-loader-D5we7V_W.js → vue-ui-mini-loader-D9pprk2c.js} +3 -3
  146. package/dist/vue-ui-molecule-CBTgGZ-s.js +932 -0
  147. package/dist/{vue-ui-mood-radar-CpBRHQo_.js → vue-ui-mood-radar-CF83PcCx.js} +260 -261
  148. package/dist/vue-ui-nested-donuts-D5dO-Uyg.js +1492 -0
  149. package/dist/vue-ui-onion-BxjaQKo8.js +1199 -0
  150. package/dist/vue-ui-parallel-coordinate-plot-Dz6ozRAM.js +1415 -0
  151. package/dist/vue-ui-quadrant-Bnxpa6m5.js +1985 -0
  152. package/dist/{vue-ui-quick-chart-BO98uEPl.js → vue-ui-quick-chart-CAE0-NYj.js} +112 -113
  153. package/dist/vue-ui-radar-O4BhBOyp.js +1286 -0
  154. package/dist/{vue-ui-rating-CN-ZiAES.js → vue-ui-rating-DbxK-ftN.js} +101 -101
  155. package/dist/vue-ui-relation-circle-BZ0Xf-Nc.js +923 -0
  156. package/dist/vue-ui-ridgeline-DHVTPiM6.js +1627 -0
  157. package/dist/vue-ui-rings-DAfY1V--.js +1251 -0
  158. package/dist/vue-ui-scatter-Cb63SWJT.js +2421 -0
  159. package/dist/{vue-ui-skeleton-DC2bZ0nk.js → vue-ui-skeleton-DoIqQtIV.js} +100 -100
  160. package/dist/{vue-ui-smiley-Dyyu1je3.js → vue-ui-smiley-Da2jgkb7.js} +18 -18
  161. package/dist/vue-ui-spark-trend-Db-FsXch.js +442 -0
  162. package/dist/{vue-ui-sparkbar-DhIo1qsW.js → vue-ui-sparkbar-Ce55FP_3.js} +67 -67
  163. package/dist/{vue-ui-sparkgauge-D0Fo3Hts.js → vue-ui-sparkgauge-hB59dXm7.js} +65 -65
  164. package/dist/vue-ui-sparkhistogram-DjnaStBw.js +575 -0
  165. package/dist/{vue-ui-sparkline-ApivEMBP.js → vue-ui-sparkline-D1dyhLvG.js} +54 -55
  166. package/dist/vue-ui-sparkstackbar-BhOBFjts.js +674 -0
  167. package/dist/{vue-ui-stackbar-Ds4hXATH.js → vue-ui-stackbar-BZKw8WYn.js} +123 -122
  168. package/dist/vue-ui-stackline-DLFNVbAz.js +2425 -0
  169. package/dist/{vue-ui-strip-plot-C3ZHf4bD.js → vue-ui-strip-plot-DyN2WELD.js} +68 -69
  170. package/dist/vue-ui-table-DL_R4ppI.js +1339 -0
  171. package/dist/{vue-ui-table-heatmap-CNXNXXBU.js → vue-ui-table-heatmap-C9gF__Np.js} +16 -16
  172. package/dist/{vue-ui-table-sparkline-B9JJ4pFF.js → vue-ui-table-sparkline-CT-0w9-a.js} +26 -24
  173. package/dist/vue-ui-thermometer-MP0dliC3.js +769 -0
  174. package/dist/{vue-ui-timer-5NAWw5BN.js → vue-ui-timer-B5S-6Da4.js} +7 -8
  175. package/dist/{vue-ui-tiremarks-Caz_g1c5.js → vue-ui-tiremarks-DcJiLDsm.js} +20 -21
  176. package/dist/{vue-ui-treemap-F9upPyOI.js → vue-ui-treemap-CjldCPnX.js} +615 -603
  177. package/dist/vue-ui-waffle-dZM-9z1J.js +1367 -0
  178. package/dist/{vue-ui-wheel-DD6Q39BA.js → vue-ui-wheel-or7a6-Ce.js} +47 -48
  179. package/dist/{vue-ui-word-cloud-BZLT5svo.js → vue-ui-word-cloud-8BwQ0cuB.js} +40 -37
  180. package/dist/{vue-ui-world-DbEJN5NA.js → vue-ui-world-Q0KZb7A_.js} +210 -210
  181. package/dist/{vue-ui-xy-Cn9Q8YPr.js → vue-ui-xy-4uzwZJcj.js} +141 -141
  182. package/dist/{vue-ui-xy-BYMAITk_.js → vue-ui-xy-DZIs53tH.js} +791 -783
  183. package/dist/vue-ui-xy-canvas-Dz9aii7f.js +1790 -0
  184. package/package.json +2 -2
  185. package/dist/Slicer-CW_XPIKL.js +0 -1150
  186. package/dist/exposedLib-VXFp3Z2c.js +0 -19
  187. package/dist/useResponsive-BfnK0KxU.js +0 -19
  188. package/dist/vue-ui-3d-bar-taPI41_I.js +0 -1825
  189. package/dist/vue-ui-age-pyramid-jvQZbF8E.js +0 -1247
  190. package/dist/vue-ui-bullet-CIATzlsk.js +0 -710
  191. package/dist/vue-ui-bump-D8MxltQE.js +0 -1249
  192. package/dist/vue-ui-carousel-table-BSmdexG7.js +0 -455
  193. package/dist/vue-ui-chestnut-BIh1nQ7q.js +0 -2042
  194. package/dist/vue-ui-donut-BoZdciGh.js +0 -2419
  195. package/dist/vue-ui-donut-evolution-CpC9EMro.js +0 -1522
  196. package/dist/vue-ui-dumbbell-DGA5Bfnl.js +0 -1564
  197. package/dist/vue-ui-funnel-CaD2tZCT.js +0 -782
  198. package/dist/vue-ui-horizontal-bar-CwiQxYzv.js +0 -1689
  199. package/dist/vue-ui-molecule--kK1JfnP.js +0 -931
  200. package/dist/vue-ui-nested-donuts-8Ehwcuns.js +0 -1493
  201. package/dist/vue-ui-onion-Cf6JiYTH.js +0 -1200
  202. package/dist/vue-ui-parallel-coordinate-plot-Blnqp1DB.js +0 -1416
  203. package/dist/vue-ui-quadrant-CxU0jiOm.js +0 -1984
  204. package/dist/vue-ui-radar-eH2Qih4_.js +0 -1287
  205. package/dist/vue-ui-relation-circle-BIcP-aAt.js +0 -924
  206. package/dist/vue-ui-ridgeline-ChXHzEJw.js +0 -1628
  207. package/dist/vue-ui-rings-J990vNbX.js +0 -1252
  208. package/dist/vue-ui-scatter-BeJB0EKg.js +0 -2422
  209. package/dist/vue-ui-spark-trend-CpDX85H3.js +0 -443
  210. package/dist/vue-ui-sparkhistogram-CUjFiuAh.js +0 -576
  211. package/dist/vue-ui-sparkstackbar-DsKQJx_n.js +0 -674
  212. package/dist/vue-ui-stackline-DJbcVvmN.js +0 -2425
  213. package/dist/vue-ui-table-uudidrYt.js +0 -1338
  214. package/dist/vue-ui-thermometer-Bvw3oQb3.js +0 -770
  215. package/dist/vue-ui-waffle-Bk9AsrPp.js +0 -1368
  216. package/dist/vue-ui-xy-canvas-Dcm2ftwm.js +0 -1790
@@ -0,0 +1,1248 @@
1
+ import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
+ import { At as t, B as n, C as r, Ct as i, E as a, Gt as o, K as s, N as ee, Nt as c, Q as l, W as te, Y as ne, et as re, ft as ie, i as ae, qt as oe, r as se, s as ce, t as le, x as ue } from "./lib-CFm_J26b.js";
3
+ import { t as de } from "./useTimeLabels-B9CEuiLZ.js";
4
+ import { t as fe } from "./useConfig-C0V0eG7L.js";
5
+ import { t as pe } from "./usePrinter-BH-xle1O.js";
6
+ import { n as me, t as he } from "./BaseScanner-DZvpgOjM.js";
7
+ import { t as ge } from "./useSvgExport-Ba9qBr9M.js";
8
+ import { t as _e } from "./useNestedProp-BY6DNN3i.js";
9
+ import { t as ve } from "./useThemeCheck-C43Tcqmk.js";
10
+ import { t as ye } from "./useTimeLabelCollider-AEcY4Ioe.js";
11
+ import { n as be } from "./Title-BuPs74IB.js";
12
+ import { t as xe } from "./_plugin-vue_export-helper-B3ysoDQm.js";
13
+ import { l as Se, t as Ce } from "./useResponsive-ZtArZtUf.js";
14
+ import { t as we } from "./A11yDataTable-DdRsVULz.js";
15
+ import { t as Te } from "./useUserOptionState-DK-_1ddE.js";
16
+ import { t as Ee } from "./useChartAccessibility-DYqac8yF.js";
17
+ import { t as De } from "./vue_ui_bump-Vl-zYAtG.js";
18
+ import { t as Oe } from "./BaseDraggableDialog-3n8udWmh.js";
19
+ import { Fragment as u, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createSlots as ke, createTextVNode as Ae, createVNode as je, defineAsyncComponent as g, guardReactiveProps as _, mergeProps as Me, nextTick as Ne, normalizeClass as Pe, normalizeProps as v, normalizeStyle as y, onBeforeUnmount as Fe, onMounted as Ie, openBlock as b, ref as x, renderList as S, renderSlot as C, resolveDynamicComponent as Le, shallowRef as Re, toDisplayString as w, toRefs as ze, unref as T, watch as Be, watchEffect as Ve, withCtx as E } from "vue";
20
+ //#region src/components/vue-ui-bump.vue
21
+ var He = /* @__PURE__ */ e({ default: () => lt }), Ue = ["id"], We = ["id"], Ge = { style: { position: "relative" } }, Ke = [
22
+ "xmlns",
23
+ "aria-describedby",
24
+ "viewBox"
25
+ ], qe = [
26
+ "x",
27
+ "y",
28
+ "width",
29
+ "height"
30
+ ], Je = [
31
+ "d",
32
+ "stroke",
33
+ "stroke-width",
34
+ "onMouseenter"
35
+ ], Ye = [
36
+ "d",
37
+ "stroke",
38
+ "stroke-width",
39
+ "onMouseenter",
40
+ "onMouseleave",
41
+ "onClick"
42
+ ], Xe = [
43
+ "cx",
44
+ "cy",
45
+ "r",
46
+ "fill",
47
+ "stroke",
48
+ "stroke-width",
49
+ "onMouseenter",
50
+ "onMouseleave",
51
+ "onClick"
52
+ ], Ze = [
53
+ "x",
54
+ "y",
55
+ "fill",
56
+ "font-size"
57
+ ], Qe = [
58
+ "onMouseenter",
59
+ "onMouseleave",
60
+ "onClick"
61
+ ], $e = [
62
+ "x",
63
+ "y",
64
+ "fill",
65
+ "font-size"
66
+ ], et = [
67
+ "x",
68
+ "y",
69
+ "fill",
70
+ "font-size",
71
+ "font--weight",
72
+ "innerHTML",
73
+ "onMouseenter",
74
+ "onMouseleave",
75
+ "onClick"
76
+ ], tt = [
77
+ "x",
78
+ "y",
79
+ "fill",
80
+ "font-size",
81
+ "font--weight",
82
+ "innerHTML",
83
+ "onMouseenter",
84
+ "onMouseleave",
85
+ "onClick"
86
+ ], nt = { key: 0 }, rt = { key: 1 }, it = [
87
+ "text-anchor",
88
+ "font-size",
89
+ "font-weight",
90
+ "fill",
91
+ "transform"
92
+ ], at = [
93
+ "text-anchor",
94
+ "font-size",
95
+ "fill",
96
+ "transform",
97
+ "innerHTML"
98
+ ], ot = {
99
+ key: 0,
100
+ style: {
101
+ position: "absolute",
102
+ top: "100%",
103
+ left: "0",
104
+ width: "100%"
105
+ },
106
+ "data-dom-to-png-ignore": "",
107
+ "aria-hidden": "true"
108
+ }, st = {
109
+ key: 5,
110
+ class: "vue-data-ui-watermark"
111
+ }, ct = ["innerHTML"], lt = /*#__PURE__*/ xe({
112
+ __name: "vue-ui-bump",
113
+ props: {
114
+ config: {
115
+ type: Object,
116
+ default() {
117
+ return {};
118
+ }
119
+ },
120
+ dataset: {
121
+ type: Array,
122
+ default() {
123
+ return [];
124
+ }
125
+ }
126
+ },
127
+ emits: ["copyAlt"],
128
+ setup(e, { expose: xe, emit: He }) {
129
+ let lt = g(() => import("./BaseIcon-CP5RWnqt.js").then((e) => e.n)), ut = g(() => import("./vue-ui-accordion-nNxnZTg9.js").then((e) => e.n)), dt = g(() => import("./DataTable-DzPEVvSo.js")), ft = g(() => import("./PenAndPaper-CSMVXpg2.js").then((e) => e.t)), pt = g(() => import("./UserOptions-B69xBEVP.js").then((e) => e.n)), mt = g(() => import("./PackageVersion-1MNr72Bz.js").then((e) => e.t)), { vue_ui_bump: ht } = fe(), { isThemeValid: gt, warnInvalidTheme: _t } = ve(), D = e, vt = He, yt = d({
130
+ get() {
131
+ return !!D.dataset && D.dataset.length;
132
+ },
133
+ set(e) {
134
+ return e;
135
+ }
136
+ }), O = x(null), k = x(s()), 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(!1), M = x(!1), N = x(null), At = x(null), jt = x(null), Mt = x(null), P = x(null), Nt = x(!1), F = x(Rt()), I = d(() => F.value.userOptions.useCursorPointer), Pt = d(() => oe({
137
+ defaultConfig: {
138
+ userOptions: { show: !1 },
139
+ style: { chart: {
140
+ backgroundColor: "#99999930",
141
+ layout: {
142
+ timeLabels: { show: !1 },
143
+ lines: { coatingColor: "#4A4A4A" },
144
+ plots: {
145
+ stroke: "#4A4A4A",
146
+ labels: {
147
+ show: !1,
148
+ displayedValue: "rank"
149
+ }
150
+ },
151
+ nameLabels: { useSerieColor: !0 }
152
+ }
153
+ } }
154
+ },
155
+ userConfig: F.value.skeletonConfig ?? {}
156
+ })), { loading: Ft, FINAL_DATASET: It, manualLoading: Lt } = me({
157
+ ...ze(D),
158
+ FINAL_CONFIG: F,
159
+ prepareConfig: Rt,
160
+ skeletonDataset: D.config?.skeletonDataset ?? [
161
+ {
162
+ name: "————",
163
+ values: [
164
+ 1,
165
+ 1,
166
+ 1,
167
+ 2,
168
+ 2,
169
+ 2,
170
+ 3,
171
+ 3,
172
+ 2,
173
+ 2
174
+ ],
175
+ color: "#4A4A4A"
176
+ },
177
+ {
178
+ name: "————",
179
+ values: [
180
+ 2,
181
+ 2,
182
+ 2,
183
+ 1,
184
+ 3,
185
+ 3,
186
+ 2,
187
+ 2,
188
+ 3,
189
+ 3
190
+ ],
191
+ color: "#6A6A6A"
192
+ },
193
+ {
194
+ name: "————",
195
+ values: [
196
+ 3,
197
+ 3,
198
+ 3,
199
+ 3,
200
+ 1,
201
+ 1,
202
+ 1,
203
+ 1,
204
+ 1,
205
+ 1
206
+ ],
207
+ color: "#8A8A8A"
208
+ }
209
+ ],
210
+ skeletonConfig: oe({
211
+ defaultConfig: F.value,
212
+ userConfig: Pt.value
213
+ })
214
+ });
215
+ Ie(Qt);
216
+ function Rt() {
217
+ let e = _e({
218
+ userConfig: D.config,
219
+ defaultConfig: ht
220
+ }), t = {}, n = e.theme;
221
+ if (n) if (!gt.value(e)) _t(e), t = e;
222
+ else {
223
+ let r = _e({
224
+ userConfig: De[n] || D.config,
225
+ defaultConfig: e
226
+ });
227
+ t = {
228
+ ..._e({
229
+ userConfig: D.config,
230
+ defaultConfig: r
231
+ }),
232
+ customPalette: e.customPalette.length ? e.customPalette : o[n] || c
233
+ };
234
+ }
235
+ else t = e;
236
+ return t;
237
+ }
238
+ let { userOptionsVisible: zt, setUserOptionsVisibility: Bt, keepUserOptionState: Vt } = Te({ config: F.value }), { svgRef: L } = Ee({ config: F.value.style.chart.title });
239
+ function Ht() {
240
+ kt.value = !0, Bt(!0);
241
+ }
242
+ function Ut() {
243
+ Bt(!1), kt.value = !1;
244
+ }
245
+ let R = x({ showTable: F.value.table.show });
246
+ Be(F, () => {
247
+ R.value = { showTable: F.value.table.show };
248
+ }, { immediate: !0 }), Be(() => D.config, (e) => {
249
+ Ft.value || (F.value = Rt()), zt.value = !F.value.userOptions.showOnChartHover, Qt(), Et.value += 1, Dt.value += 1, R.value.showTable = F.value.table.show, z.value.width = F.value.style.chart.width, z.value.height = F.value.style.chart.height, z.value.paddingRatio = {
250
+ top: F.value.style.chart.padding.top / F.value.style.chart.height,
251
+ right: F.value.style.chart.padding.right / F.value.style.chart.width,
252
+ bottom: F.value.style.chart.padding.bottom / F.value.style.chart.height,
253
+ left: F.value.style.chart.padding.left / F.value.style.chart.width
254
+ };
255
+ }), Be(() => D.dataset, (e) => {
256
+ Array.isArray(e) && e.length > 0 && (Lt.value = !1);
257
+ }, { deep: !0 });
258
+ let { isPrinting: Wt, isImaging: Gt, generatePdf: Kt, generateImage: qt } = pe({
259
+ elementId: `bump_${k.value}`,
260
+ fileName: F.value.style.chart.title.text || "vue-ui-bump",
261
+ options: F.value.userOptions.print
262
+ }), Jt = d(() => F.value.userOptions.show && !F.value.style.chart.title.text), z = x({
263
+ width: F.value.style.chart.width,
264
+ height: F.value.style.chart.height,
265
+ paddingRatio: {
266
+ top: F.value.style.chart.padding.top / F.value.style.chart.height,
267
+ right: F.value.style.chart.padding.right / F.value.style.chart.width,
268
+ bottom: F.value.style.chart.padding.bottom / F.value.style.chart.height,
269
+ left: F.value.style.chart.padding.left / F.value.style.chart.width
270
+ }
271
+ }), Yt = d(() => r(F.value.customPalette)), B = Re(null), V = Re(null), Xt = x(null), Zt = d(() => !!F.value.debug);
272
+ function Qt() {
273
+ if (t(D.dataset) ? (re({
274
+ componentName: "VueUiBump",
275
+ type: "dataset",
276
+ debug: Zt.value
277
+ }), Lt.value = !0) : D.dataset.forEach((e, t) => {
278
+ ie({
279
+ datasetObject: e,
280
+ requiredAttributes: ["name", "values"]
281
+ }).forEach((e) => {
282
+ yt.value = !1, re({
283
+ componentName: "VueUiBump",
284
+ type: "datasetSerieAttribute",
285
+ property: e,
286
+ index: t,
287
+ debug: Zt.value
288
+ }), Lt.value = !0;
289
+ });
290
+ }), t(D.dataset) || (Lt.value = F.value.loading), setTimeout(() => {
291
+ Tt.value = !0;
292
+ }, 10), F.value.responsive) {
293
+ let e = Se(() => {
294
+ Tt.value = !1;
295
+ let { width: e, height: t } = Ce({
296
+ chart: O.value,
297
+ noTitle: St.value,
298
+ title: F.value.style.chart.title.text ? xt.value : null,
299
+ legend: null,
300
+ slicer: null,
301
+ source: Ct.value
302
+ });
303
+ requestAnimationFrame(() => {
304
+ z.value.width = e, z.value.height = t - 12, clearTimeout(Xt.value), Xt.value = setTimeout(() => {
305
+ Tt.value = !0;
306
+ }, 10);
307
+ });
308
+ });
309
+ B.value && (V.value && B.value.unobserve(V.value), B.value.disconnect()), B.value = new ResizeObserver(e), V.value = O.value.parentNode, B.value.observe(V.value);
310
+ }
311
+ }
312
+ Fe(() => {
313
+ B.value && (V.value && B.value.unobserve(V.value), B.value.disconnect());
314
+ });
315
+ let $t = d(() => It.value.map((e, t) => {
316
+ let n = ue(e.color) || Yt.value[t] || c[t] || c[t % c.length];
317
+ return {
318
+ ...e,
319
+ absoluteIndex: t,
320
+ id: s(),
321
+ color: n
322
+ };
323
+ })), H = d(() => Math.max(...$t.value.map((e) => e.values.length)));
324
+ function en(e) {
325
+ let t = e.map(() => Array(H.value).fill(null));
326
+ for (let n = 0; n < H.value; n += 1) {
327
+ let r = e.map((e, r) => ({
328
+ seriesIndex: r,
329
+ value: e.values?.[n],
330
+ previousPosition: n > 0 ? t[r][n - 1] : r
331
+ })).filter((e) => Number.isFinite(e.value));
332
+ r.sort((e, t) => t.value === e.value ? e.previousPosition - t.previousPosition : t.value - e.value);
333
+ for (let e = 0; e < r.length; e += 1) {
334
+ let i = r[e];
335
+ t[i.seriesIndex][n] = e;
336
+ }
337
+ }
338
+ return t;
339
+ }
340
+ function tn() {
341
+ let e = 0;
342
+ return At.value && (e = Array.from(At.value.querySelectorAll("tspan")).reduce((e, t) => {
343
+ let n = t.getComputedTextLength();
344
+ return n > e ? n : e;
345
+ }, 0)), e;
346
+ }
347
+ function nn() {
348
+ let e = 0;
349
+ return jt.value && (e = Array.from(jt.value.querySelectorAll("tspan")).reduce((e, t) => {
350
+ let n = t.getComputedTextLength();
351
+ return n > e ? n : e;
352
+ }, 0)), e;
353
+ }
354
+ let rn = x(0), an = Se((e) => {
355
+ rn.value = e;
356
+ }, 100);
357
+ Ve((e) => {
358
+ let t = Mt.value;
359
+ if (!t) return;
360
+ let n = new ResizeObserver((e) => {
361
+ an(e[0].contentRect.height);
362
+ });
363
+ n.observe(t), e(() => n.disconnect());
364
+ }), Fe(() => {
365
+ rn.value = 0;
366
+ });
367
+ let on = d(() => {
368
+ let e = F.value.style.chart.layout.timeLabels;
369
+ if (!e.show) return 0;
370
+ let t = e.fontSize, n = e.rotation, r = Math.PI / 180 * n, i = K.value || [];
371
+ if (!i.length) return 0;
372
+ let a = i.reduce((e, t) => {
373
+ let n = String(t?.text ?? "").split("\n").length;
374
+ return Math.max(e, n);
375
+ }, 1), o = i.reduce((e, t) => {
376
+ let n = String(t?.text ?? "").split("\n").reduce((e, t) => Math.max(e, t.length), 0);
377
+ return Math.max(e, n);
378
+ }, 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;
379
+ return Math.max(0, c + Math.abs(e.offsetY) + l);
380
+ }), U = d(() => {
381
+ let { height: e, width: t } = z.value, { right: n, left: r } = z.value.paddingRatio, i = tn(), a = nn(), o = F.value.style.chart.padding.top, s = t - t * n - a, ee = t * r + i, c = t - t * n - t * r - i - a, l = e - o - F.value.style.chart.padding.bottom - on.value, te = o + l, ne = o + l, re = Math.max(0, e);
382
+ return {
383
+ chartHeight: ne,
384
+ chartWidth: Math.max(0, t),
385
+ top: o,
386
+ right: Math.max(0, s),
387
+ bottom: Math.max(0, te),
388
+ left: Math.max(0, ee),
389
+ width: Math.max(0, c),
390
+ height: Math.max(0, l),
391
+ unitH: Math.max(0, l) / $t.value.length,
392
+ unitW: Math.max(0, c) / H.value,
393
+ svgHeight: re
394
+ };
395
+ }), W = d(() => {
396
+ if (!yt.value && !Ft.value) return [];
397
+ let e = en($t.value);
398
+ return $t.value.map((t, n) => ({
399
+ ...t,
400
+ positions: e[n]
401
+ })).map((e) => {
402
+ let t = e.positions.map((t, n) => {
403
+ let r = ae(F.value.style.chart.layout.plots.labels.formatter, e.values[n], ne({
404
+ p: F.value.style.chart.layout.plots.labels.prefix,
405
+ v: e.values[n],
406
+ s: F.value.style.chart.layout.plots.labels.suffix,
407
+ r: F.value.style.chart.layout.plots.labels.rounding
408
+ }));
409
+ return {
410
+ name: e.name,
411
+ id: e.id,
412
+ x: U.value.left + n * U.value.unitW + U.value.unitW / 2,
413
+ y: U.value.top + t * U.value.unitH + U.value.unitH / 2,
414
+ value: e.values[n],
415
+ displayValue: r,
416
+ rank: e.positions[n] + 1,
417
+ color: e.color,
418
+ labelColor: F.value.style.chart.layout.plots.labels.color === "auto" ? se(e.color) : ue(F.value.style.chart.layout.plots.labels.color) ?? se(e.color)
419
+ };
420
+ }), r = t.filter((e) => i(e.value)), a = F.value.style.chart.layout.lines.smooth ? ee(r) : n(r);
421
+ return {
422
+ ...e,
423
+ coordinates: t,
424
+ path: a
425
+ };
426
+ });
427
+ });
428
+ d(() => W.value.flatMap((e, t) => e.coordinates.map((n, r) => ({
429
+ ...n,
430
+ pointIndex: r,
431
+ seriesIndex: t,
432
+ seriesId: e.id,
433
+ seriesName: e.name,
434
+ pointId: `${e.id}_${r}`
435
+ })).filter((e) => i(e.value))));
436
+ function sn(e, t, n, r) {
437
+ let i = e.toSorted((e, t) => e.y - t.y);
438
+ for (let e = 1; e < i.length; e += 1) {
439
+ let n = i[e - 1], r = i[e];
440
+ r.y < n.y + t && (r.y = n.y + t);
441
+ }
442
+ let a = i.length - 1;
443
+ if (a >= 0 && i[a].y > r) {
444
+ i[a].y = r;
445
+ for (let e = a - 1; e >= 0; --e) {
446
+ let n = i[e + 1], r = i[e];
447
+ r.y > n.y - t && (r.y = n.y - t);
448
+ }
449
+ }
450
+ if (i.length && i[0].y < n) {
451
+ let e = n - i[0].y;
452
+ for (let t = 0; t < i.length; t += 1) i[t].y += e;
453
+ }
454
+ return i;
455
+ }
456
+ let cn = d(() => {
457
+ let e = [], t = [];
458
+ W.value.forEach((n) => {
459
+ let r = n.coordinates.filter((e) => Number.isFinite(e.rank));
460
+ if (!r.length) return;
461
+ e.push({ ...r[0] });
462
+ let i = r[r.length - 1];
463
+ t.push({ ...i });
464
+ });
465
+ let n = F.value.style.chart.layout.nameLabels.fontSize, r = n * 1.4, i = U.value.top + n, a = U.value.bottom - n, o = sn(t, r, i, a);
466
+ return {
467
+ left: sn(e, r, i, a),
468
+ right: o
469
+ };
470
+ });
471
+ function ln(e) {
472
+ let t = F.value.style.chart.layout.plots.labels.fontSize * .4, n = e.displayValue, r = n.length * (F.value.style.chart.layout.plots.labels.fontSize * (n.length === 1 ? 1 : .6)), i = F.value.style.chart.layout.plots.labels.fontSize, a = r + t * 2, o = i + t * 2, s = e.x - a / 2, ee = e.y - o / 2, c = F.value.style.chart.layout.plots.strokeWidth;
473
+ return {
474
+ x: s - c / 2,
475
+ y: ee - c / 2,
476
+ width: a + c,
477
+ height: o + c,
478
+ fill: e.color,
479
+ stroke: F.value.style.chart.layout.plots.stroke,
480
+ "stroke-width": c,
481
+ rx: o / 2
482
+ };
483
+ }
484
+ let G = x([]), un = 0;
485
+ Ve(() => {
486
+ let e = ++un, t = F.value.style.chart.layout.timeLabels, n = t.values, r = t.datetimeFormatter, i = H.value;
487
+ if (!i || !Array.isArray(n) || n.length === 0) {
488
+ G.value = [];
489
+ return;
490
+ }
491
+ (async () => {
492
+ let t = await de({
493
+ values: n,
494
+ maxDatapoints: i,
495
+ formatter: r,
496
+ start: 0,
497
+ end: i
498
+ });
499
+ e === un && (G.value = t);
500
+ })();
501
+ });
502
+ let dn = d(() => {
503
+ let e = F.value.style.chart.layout.timeLabels.modulo;
504
+ return G.value.length ? Math.min(e, [...new Set(G.value.map((e) => e.text))].length) : e;
505
+ }), K = d(() => {
506
+ let e = F.value.style.chart.layout.timeLabels, t = G.value || [], n = G.value || [], r = H.value, i = t.map((e) => e?.text ?? ""), a = n.map((e) => e?.text ?? "");
507
+ return ce(!!e.showOnlyFirstAndLast, !!e.showOnlyAtModulo, Math.max(1, dn.value || 1), i, a, 0, null, r);
508
+ }), fn = d(() => z.value.width), pn = d(() => z.value.height), mn = d(() => ({
509
+ start: 0,
510
+ end: H.value
511
+ })), q = d(() => [...W.value].map((e) => {
512
+ let t = [...e.coordinates].filter((e) => i(e.value)).at(-1);
513
+ return {
514
+ ...e,
515
+ navigationRank: t?.rank ?? Infinity
516
+ };
517
+ }).sort((e, t) => e.navigationRank - t.navigationRank));
518
+ function hn() {
519
+ P.value = null, Nt.value = !0;
520
+ }
521
+ function gn() {
522
+ vn(), Nt.value = !1;
523
+ }
524
+ function _n(e, t) {
525
+ let n = q.value.length;
526
+ return n ? e === null || e < 0 || e >= n ? 0 : t === "previous" ? (e - 1 + n) % n : (e + 1) % n : null;
527
+ }
528
+ function vn() {
529
+ if (P.value !== null) {
530
+ let e = q.value[P.value];
531
+ e && $(e, e);
532
+ }
533
+ P.value = null, N.value = null;
534
+ }
535
+ function yn(e) {
536
+ if (!L.value || Y.value || document.activeElement !== L.value || !q.value.length) return;
537
+ let t = ["ArrowLeft", "ArrowUp"].includes(e.key), n = ["ArrowRight", "ArrowDown"].includes(e.key), r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
538
+ if (!t && !n && !r && !i) return;
539
+ if (e.preventDefault(), e.stopPropagation(), i) {
540
+ vn();
541
+ return;
542
+ }
543
+ if (r) {
544
+ if (P.value === null) return;
545
+ let e = q.value[P.value];
546
+ if (!e) return;
547
+ jn(e, e);
548
+ return;
549
+ }
550
+ let a = P.value;
551
+ a === null ? a = 0 : t ? a = _n(a, "previous") : n && (a = _n(a, "next"));
552
+ let o = q.value[a];
553
+ o && (P.value = a, Q(o, o));
554
+ }
555
+ let J = d(() => ({
556
+ head: Z.value.head,
557
+ body: W.value.map((e) => [e.name, ...e.coordinates.map((e) => i(e.value) ? `${e.displayValue} (${e.rank})` : "-")]),
558
+ caption: F.value.a11y.translations.tableCaption,
559
+ notice: F.value.a11y.translations.tableAvailable
560
+ }));
561
+ ye({
562
+ timeLabelsEls: Mt,
563
+ timeLabels: G,
564
+ slicer: mn,
565
+ configRef: F,
566
+ rotationPath: [
567
+ "style",
568
+ "chart",
569
+ "layout",
570
+ "timeLabels",
571
+ "rotation"
572
+ ],
573
+ autoRotatePath: [
574
+ "style",
575
+ "chart",
576
+ "layout",
577
+ "timeLabels",
578
+ "autoRotate",
579
+ "enable"
580
+ ],
581
+ isAutoSize: !1,
582
+ width: fn,
583
+ height: pn,
584
+ rotation: F.value.style.chart.layout.timeLabels.autoRotate.angle
585
+ });
586
+ let Y = x(!1);
587
+ function bn() {
588
+ Y.value = !Y.value;
589
+ }
590
+ function xn(e) {
591
+ wt.value = e, bt.value += 1;
592
+ }
593
+ function Sn() {
594
+ R.value.showTable = !R.value.showTable;
595
+ }
596
+ Be(() => R.value.showTable, (e) => {
597
+ F.value.table.show || (e && F.value.table.useDialog && A.value ? A.value.open() : "close" in A.value && A.value.close());
598
+ });
599
+ function Cn() {
600
+ R.value.showTable = !1, Ot.value && Ot.value.setTableIconState(!1);
601
+ }
602
+ function wn() {
603
+ return W.value;
604
+ }
605
+ function Tn(e = null) {
606
+ let t = [
607
+ [F.value.style.chart.title.text],
608
+ [F.value.style.chart.title.subtitle.text],
609
+ [""]
610
+ ], n = ["", ...K.value.map((e) => e?.text ?? "")], r = W.value.map((e) => [e.name, ...e.coordinates.map((e) => `${e.displayValue}`)]), i = W.value.map((e) => [e.name, ...e.coordinates.map((e) => `${e.rank}`)]), o = a(t.concat([[F.value.table.columnNames.values]]).concat([n]).concat(r).concat([
611
+ [""],
612
+ [F.value.table.columnNames.ranking],
613
+ [n]
614
+ ]).concat(i));
615
+ e ? e(o) : l({
616
+ csvContent: o,
617
+ title: F.value.style.chart.title.text || "vue-ui-bump"
618
+ });
619
+ }
620
+ let X = d(() => {
621
+ let e = F.value.table.useDialog && !F.value.table.show, t = R.value.showTable;
622
+ return {
623
+ component: e ? Oe : ut,
624
+ title: `${F.value.style.chart.title.text}${F.value.style.chart.title.subtitle.text ? `: ${F.value.style.chart.title.subtitle.text}` : ""}`,
625
+ props: e ? {
626
+ backgroundColor: F.value.table.th.backgroundColor,
627
+ color: F.value.table.th.color,
628
+ headerColor: F.value.table.th.color,
629
+ headerBg: F.value.table.th.backgroundColor,
630
+ isFullscreen: wt.value,
631
+ fullscreenParent: O.value,
632
+ forcedWidth: Math.min(800, window.innerWidth * .8),
633
+ isCursorPointer: I.value
634
+ } : {
635
+ hideDetails: !0,
636
+ config: {
637
+ open: t,
638
+ maxHeight: 1e4,
639
+ body: {
640
+ backgroundColor: F.value.style.chart.backgroundColor,
641
+ color: F.value.style.chart.color
642
+ },
643
+ head: {
644
+ backgroundColor: F.value.style.chart.backgroundColor,
645
+ color: F.value.style.chart.color
646
+ }
647
+ }
648
+ }
649
+ };
650
+ }), Z = d(() => ({
651
+ head: [""].concat(K.value.map((e) => e.text)),
652
+ body: W.value.map((e, t) => [e.name, ...e.coordinates.map((e) => `${e.displayValue} (${e.rank})`)]),
653
+ config: {
654
+ th: {
655
+ backgroundColor: F.value.table.th.backgroundColor,
656
+ color: F.value.table.th.color,
657
+ outline: F.value.table.th.outline
658
+ },
659
+ td: {
660
+ backgroundColor: F.value.table.td.backgroundColor,
661
+ color: F.value.table.td.color,
662
+ outline: F.value.table.td.outline
663
+ },
664
+ breakpoint: F.value.table.responsiveBreakpoint
665
+ },
666
+ colNames: [F.value.table.columnNames.series]
667
+ })), En = d(() => F.value.style.chart.backgroundColor), { exportSvg: Dn, getSvg: On } = ge({
668
+ svg: L,
669
+ title: d(() => F.value.style.chart.title),
670
+ legend: null,
671
+ legendItems: null,
672
+ backgroundColor: En
673
+ });
674
+ async function kn({ isCb: e }) {
675
+ M.value = !0, await Ne();
676
+ try {
677
+ if (e) {
678
+ let { blob: e, url: t, text: n, dataUrl: r } = await On();
679
+ await Promise.resolve(F.value.userOptions.callbacks.svg({
680
+ blob: e,
681
+ url: t,
682
+ text: n,
683
+ dataUrl: r
684
+ }));
685
+ } else await Promise.resolve(Dn());
686
+ } finally {
687
+ M.value = !1;
688
+ }
689
+ }
690
+ async function An({ scale: e = 2 } = {}) {
691
+ if (!O.value) return;
692
+ let { width: t, height: n } = O.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await img({
693
+ domElement: O.value,
694
+ base64: !0,
695
+ img: !0,
696
+ scale: e
697
+ });
698
+ return {
699
+ imageUri: i,
700
+ base64: a,
701
+ title: F.value.style.chart.title.text,
702
+ width: t,
703
+ height: n,
704
+ aspectRatio: r
705
+ };
706
+ }
707
+ function Q(e, t) {
708
+ N.value = t.id, F.value.events.datapointEnter && F.value.events.datapointEnter({
709
+ datapoint: e,
710
+ seriesIndex: e?.pointIndex ?? null
711
+ });
712
+ }
713
+ function $(e, t) {
714
+ N.value = null, F.value.events.datapointLeave && F.value.events.datapointLeave({
715
+ datapoint: e,
716
+ seriesIndex: e?.pointIndex ?? null
717
+ });
718
+ }
719
+ function jn(e, t) {
720
+ F.value.events.datapointClick && F.value.events.datapointClick({
721
+ datapoint: e,
722
+ seriesIndex: e?.pointIndex ?? null
723
+ });
724
+ }
725
+ function Mn(e) {
726
+ if (e?.stage === "start") {
727
+ j.value = !0;
728
+ return;
729
+ }
730
+ if (e?.stage === "end") {
731
+ j.value = !1;
732
+ return;
733
+ }
734
+ qt();
735
+ }
736
+ async function Nn() {
737
+ if (vt("copyAlt", {
738
+ config: F.value,
739
+ dataset: W.value
740
+ }), !F.value.userOptions.callbacks.altCopy) {
741
+ console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
742
+ return;
743
+ }
744
+ await Promise.resolve(F.value.userOptions.callbacks.altCopy({
745
+ config: F.value,
746
+ dataset: W.value
747
+ }));
748
+ }
749
+ return xe({
750
+ getData: wn,
751
+ getImage: An,
752
+ generatePdf: Kt,
753
+ generateCsv: Tn,
754
+ generateImage: qt,
755
+ generateSvg: kn,
756
+ toggleTable: Sn,
757
+ toggleAnnotator: bn,
758
+ toggleFullscreen: xn,
759
+ copyAlt: Nn
760
+ }), (e, t) => (b(), m("div", {
761
+ id: `bump_${k.value}`,
762
+ ref_key: "bumpChart",
763
+ ref: O,
764
+ class: Pe({
765
+ "vue-data-ui-component": !0,
766
+ "vue-ui-bump": !0,
767
+ "vue-data-ui-wrapper-fullscreen": wt.value
768
+ }),
769
+ style: y(`background:${F.value.style.chart.backgroundColor};color:${F.value.style.chart.color};font-family:${F.value.style.fontFamily}; position: relative; ${F.value.responsive ? "height: 100%" : ""}`),
770
+ onMouseenter: Ht,
771
+ onMouseleave: Ut
772
+ }, [
773
+ h("p", {
774
+ id: `chart-instructions-${k.value}`,
775
+ class: "sr-only"
776
+ }, w(F.value.a11y.translations.keyboardNavigation), 9, We),
777
+ J.value.body.length ? (b(), f(we, {
778
+ key: 0,
779
+ uid: k.value,
780
+ head: J.value.head,
781
+ body: J.value.body,
782
+ caption: J.value.caption,
783
+ notice: J.value.notice
784
+ }, null, 8, [
785
+ "uid",
786
+ "head",
787
+ "body",
788
+ "caption",
789
+ "notice"
790
+ ])) : p("", !0),
791
+ F.value.userOptions.buttons.annotator ? (b(), f(T(ft), {
792
+ key: 1,
793
+ svgRef: T(L),
794
+ backgroundColor: F.value.style.chart.backgroundColor,
795
+ color: F.value.style.chart.color,
796
+ active: Y.value,
797
+ isCursorPointer: I.value,
798
+ onClose: bn
799
+ }, {
800
+ "annotator-action-close": E(() => [C(e.$slots, "annotator-action-close", {}, void 0, !0)]),
801
+ "annotator-action-color": E(({ color: t }) => [C(e.$slots, "annotator-action-color", v(_({ color: t })), void 0, !0)]),
802
+ "annotator-action-draw": E(({ mode: t }) => [C(e.$slots, "annotator-action-draw", v(_({ mode: t })), void 0, !0)]),
803
+ "annotator-action-undo": E(({ disabled: t }) => [C(e.$slots, "annotator-action-undo", v(_({ disabled: t })), void 0, !0)]),
804
+ "annotator-action-redo": E(({ disabled: t }) => [C(e.$slots, "annotator-action-redo", v(_({ disabled: t })), void 0, !0)]),
805
+ "annotator-action-delete": E(({ disabled: t }) => [C(e.$slots, "annotator-action-delete", v(_({ disabled: t })), void 0, !0)]),
806
+ _: 3
807
+ }, 8, [
808
+ "svgRef",
809
+ "backgroundColor",
810
+ "color",
811
+ "active",
812
+ "isCursorPointer"
813
+ ])) : p("", !0),
814
+ C(e.$slots, "userConfig", {}, void 0, !0),
815
+ Jt.value ? (b(), m("div", {
816
+ key: 2,
817
+ ref_key: "noTitle",
818
+ ref: St,
819
+ class: "vue-data-ui-no-title-space",
820
+ style: "height:36px; width: 100%;background:transparent"
821
+ }, null, 512)) : p("", !0),
822
+ F.value.style.chart.title.text ? (b(), m("div", {
823
+ key: 3,
824
+ ref_key: "chartTitle",
825
+ ref: xt,
826
+ style: "width:100%;background:transparent;"
827
+ }, [(b(), f(be, {
828
+ key: `title_${Et.value}`,
829
+ config: {
830
+ title: {
831
+ cy: "bump-title",
832
+ ...F.value.style.chart.title
833
+ },
834
+ subtitle: {
835
+ cy: "bump-subtitle",
836
+ ...F.value.style.chart.title.subtitle
837
+ }
838
+ }
839
+ }, null, 8, ["config"]))], 512)) : p("", !0),
840
+ F.value.userOptions.show && yt.value && (T(Vt) || T(zt)) ? (b(), f(T(pt), {
841
+ ref_key: "userOptionsRef",
842
+ ref: Ot,
843
+ key: `user_option_${bt.value}`,
844
+ backgroundColor: F.value.style.chart.backgroundColor,
845
+ color: F.value.style.chart.color,
846
+ isPrinting: T(Wt),
847
+ isImaging: T(Gt),
848
+ uid: k.value,
849
+ hasTooltip: !1,
850
+ hasPdf: F.value.userOptions.buttons.pdf,
851
+ hasImg: F.value.userOptions.buttons.img,
852
+ hasSvg: F.value.userOptions.buttons.svg,
853
+ hasXls: F.value.userOptions.buttons.csv,
854
+ hasTable: F.value.userOptions.buttons.table,
855
+ hasLabel: !1,
856
+ hasAltCopy: F.value.userOptions.buttons.altCopy,
857
+ hasFullscreen: F.value.userOptions.buttons.fullscreen,
858
+ isFullcreen: wt.value,
859
+ chartElement: O.value,
860
+ position: F.value.userOptions.position,
861
+ titles: { ...F.value.userOptions.buttonTitles },
862
+ hasAnnotator: F.value.userOptions.buttons.annotator,
863
+ isAnnotation: Y.value,
864
+ callbacks: F.value.userOptions.callbacks,
865
+ printScale: F.value.userOptions.print.scale,
866
+ tableDialog: F.value.table.useDialog,
867
+ isCursorPointer: I.value,
868
+ onToggleFullscreen: xn,
869
+ onGeneratePdf: T(Kt),
870
+ onGenerateCsv: Tn,
871
+ onGenerateImage: Mn,
872
+ onGenerateSvg: kn,
873
+ onToggleTable: Sn,
874
+ onToggleAnnotator: bn,
875
+ onCopyAlt: Nn,
876
+ style: y({ visibility: T(Vt) ? T(zt) ? "visible" : "hidden" : "visible" })
877
+ }, ke({ _: 2 }, [
878
+ e.$slots.menuIcon ? {
879
+ name: "menuIcon",
880
+ fn: E(({ isOpen: t, color: n }) => [C(e.$slots, "menuIcon", v(_({
881
+ isOpen: t,
882
+ color: n
883
+ })), void 0, !0)]),
884
+ key: "0"
885
+ } : void 0,
886
+ e.$slots.optionPdf ? {
887
+ name: "optionPdf",
888
+ fn: E(() => [C(e.$slots, "optionPdf", {}, void 0, !0)]),
889
+ key: "1"
890
+ } : void 0,
891
+ e.$slots.optionCsv ? {
892
+ name: "optionCsv",
893
+ fn: E(() => [C(e.$slots, "optionCsv", {}, void 0, !0)]),
894
+ key: "2"
895
+ } : void 0,
896
+ e.$slots.optionImg ? {
897
+ name: "optionImg",
898
+ fn: E(() => [C(e.$slots, "optionImg", {}, void 0, !0)]),
899
+ key: "3"
900
+ } : void 0,
901
+ e.$slots.optionSvg ? {
902
+ name: "optionSvg",
903
+ fn: E(() => [C(e.$slots, "optionSvg", {}, void 0, !0)]),
904
+ key: "4"
905
+ } : void 0,
906
+ e.$slots.optionTable ? {
907
+ name: "optionTable",
908
+ fn: E(() => [C(e.$slots, "optionTable", {}, void 0, !0)]),
909
+ key: "5"
910
+ } : void 0,
911
+ e.$slots.optionFullscreen ? {
912
+ name: "optionFullscreen",
913
+ fn: E(({ toggleFullscreen: t, isFullscreen: n }) => [C(e.$slots, "optionFullscreen", v(_({
914
+ toggleFullscreen: t,
915
+ isFullscreen: n
916
+ })), void 0, !0)]),
917
+ key: "6"
918
+ } : void 0,
919
+ e.$slots.optionAnnotator ? {
920
+ name: "optionAnnotator",
921
+ fn: E(({ toggleAnnotator: t, isAnnotator: n }) => [C(e.$slots, "optionAnnotator", v(_({
922
+ toggleAnnotator: t,
923
+ isAnnotator: n
924
+ })), void 0, !0)]),
925
+ key: "7"
926
+ } : void 0,
927
+ e.$slots.optionAltCopy ? {
928
+ name: "optionAltCopy",
929
+ fn: E(({ altCopy: t }) => [C(e.$slots, "optionAltCopy", v(_({ altCopy: t })), void 0, !0)]),
930
+ key: "8"
931
+ } : void 0,
932
+ e.$slots["custom-menu-before"] ? {
933
+ name: "custom-menu-before",
934
+ fn: E(() => [C(e.$slots, "custom-menu-before", {}, void 0, !0)]),
935
+ key: "9"
936
+ } : void 0,
937
+ e.$slots["custom-menu-after"] ? {
938
+ name: "custom-menu-after",
939
+ fn: E(() => [C(e.$slots, "custom-menu-after", {}, void 0, !0)]),
940
+ key: "10"
941
+ } : void 0
942
+ ]), 1032, [
943
+ "backgroundColor",
944
+ "color",
945
+ "isPrinting",
946
+ "isImaging",
947
+ "uid",
948
+ "hasPdf",
949
+ "hasImg",
950
+ "hasSvg",
951
+ "hasXls",
952
+ "hasTable",
953
+ "hasAltCopy",
954
+ "hasFullscreen",
955
+ "isFullcreen",
956
+ "chartElement",
957
+ "position",
958
+ "titles",
959
+ "hasAnnotator",
960
+ "isAnnotation",
961
+ "callbacks",
962
+ "printScale",
963
+ "tableDialog",
964
+ "isCursorPointer",
965
+ "onGeneratePdf",
966
+ "style"
967
+ ])) : p("", !0),
968
+ h("div", Ge, [(b(), m("svg", {
969
+ ref_key: "svgRef",
970
+ ref: L,
971
+ xmlns: T(le),
972
+ "aria-describedby": `chart-instructions-${k.value}`,
973
+ viewBox: `0 0 ${U.value.chartWidth <= 0 ? 10 : U.value.chartWidth} ${U.value.svgHeight <= 0 ? 10 : U.value.svgHeight}`,
974
+ class: Pe({
975
+ "vue-data-ui-loading": T(Ft),
976
+ "no-transition": !F.value.useCssAnimation,
977
+ "with-transition": F.value.useCssAnimation
978
+ }),
979
+ style: y(`max-width:100%;overflow:visible;background:transparent;color:${F.value.style.chart.color}`),
980
+ role: "img",
981
+ "aria-live": "polite",
982
+ preserveAspectRatio: "xMidYMid",
983
+ tabindex: "0",
984
+ onFocus: hn,
985
+ onBlur: gn,
986
+ onKeydown: yn
987
+ }, [
988
+ je(T(mt)),
989
+ e.$slots["chart-background"] ? (b(), m("foreignObject", {
990
+ key: 0,
991
+ x: U.value.left,
992
+ y: U.value.top,
993
+ width: U.value.width <= 0 ? 10 : U.value.width,
994
+ height: U.value.height <= 0 ? 10 : U.value.height,
995
+ style: { pointerEvents: "none" }
996
+ }, [C(e.$slots, "chart-background", {}, void 0, !0)], 8, qe)) : p("", !0),
997
+ (b(!0), m(u, null, S(W.value, (e) => (b(), m(u, null, [h("path", {
998
+ class: "transition-opacity",
999
+ d: `M${e.path}`,
1000
+ stroke: F.value.style.chart.layout.lines.coatingColor,
1001
+ "stroke-width": F.value.style.chart.layout.lines.strokeWidth + 2,
1002
+ "stroke-linecap": "round",
1003
+ "stroke-linejoin": "round",
1004
+ fill: "none",
1005
+ style: y({ opacity: N.value == null || N.value === e.id ? 1 : .1 }),
1006
+ onMouseenter: (t) => N.value = e.id,
1007
+ onMouseleave: t[0] ||= (e) => N.value = null
1008
+ }, null, 44, Je), h("path", {
1009
+ class: "transition-opacity",
1010
+ d: `M${e.path}`,
1011
+ stroke: e.color,
1012
+ "stroke-width": F.value.style.chart.layout.lines.strokeWidth,
1013
+ "stroke-linecap": "round",
1014
+ "stroke-linejoin": "round",
1015
+ fill: "none",
1016
+ style: y({ opacity: N.value == null || N.value === e.id ? 1 : .1 }),
1017
+ onMouseenter: (t) => Q(e, e),
1018
+ onMouseleave: (t) => $(e, e),
1019
+ onClick: (t) => jn(e, e)
1020
+ }, null, 44, Ye)], 64))), 256)),
1021
+ (b(!0), m(u, null, S(W.value, (t) => (b(), m(u, null, [
1022
+ F.value.style.chart.layout.plots.labels.displayedValue === "rank" ? (b(!0), m(u, { key: 0 }, S(t.coordinates, (e, n) => (b(), m("circle", {
1023
+ class: "transition-opacity",
1024
+ cx: e.x,
1025
+ cy: e.y,
1026
+ r: F.value.style.chart.layout.plots.radius,
1027
+ fill: t.color,
1028
+ stroke: F.value.style.chart.layout.plots.stroke,
1029
+ "stroke-width": F.value.style.chart.layout.plots.strokeWidth,
1030
+ style: y({ opacity: N.value == null || N.value === t.id ? 1 : .1 }),
1031
+ onMouseenter: (r) => Q({
1032
+ ...e,
1033
+ pointIndex: n
1034
+ }, t),
1035
+ onMouseleave: (r) => $({
1036
+ ...e,
1037
+ pointIndex: n
1038
+ }, t),
1039
+ onClick: (r) => Q({
1040
+ ...e,
1041
+ pointIndex: n
1042
+ }, t)
1043
+ }, null, 44, Xe))), 256)) : p("", !0),
1044
+ F.value.style.chart.layout.plots.labels.show && F.value.style.chart.layout.plots.labels.displayedValue === "rank" ? (b(!0), m(u, { key: 1 }, S(t.coordinates, (e) => (b(), m("text", {
1045
+ class: "transition-opacity",
1046
+ x: e.x,
1047
+ y: e.y + F.value.style.chart.layout.plots.labels.fontSize / 3,
1048
+ fill: e.labelColor,
1049
+ "font-size": F.value.style.chart.layout.plots.labels.fontSize,
1050
+ "text-anchor": "middle",
1051
+ style: y({
1052
+ userSelect: "none",
1053
+ pointerEvents: "none",
1054
+ opacity: N.value == null || N.value === t.id ? 1 : .1
1055
+ })
1056
+ }, w(e.rank), 13, Ze))), 256)) : p("", !0),
1057
+ F.value.style.chart.layout.plots.labels.displayedValue === "value" ? (b(!0), m(u, { key: 2 }, S(t.coordinates, (n) => (b(), m(u, null, [T(i)(n.value) ? (b(), m("rect", Me({
1058
+ key: 0,
1059
+ class: "transition-opacity"
1060
+ }, { ref_for: !0 }, ln(n), {
1061
+ style: { opacity: N.value == null || N.value === t.id ? 1 : .1 },
1062
+ onMouseenter: (n) => Q({
1063
+ ...e.point,
1064
+ pointIndex: e.i
1065
+ }, t),
1066
+ onMouseleave: (n) => $({
1067
+ ...e.point,
1068
+ pointIndex: e.i
1069
+ }, t),
1070
+ onClick: (n) => Q({
1071
+ ...e.point,
1072
+ pointIndex: e.i
1073
+ }, t)
1074
+ }), null, 16, Qe)) : p("", !0), T(i)(n.value) && F.value.style.chart.layout.plots.labels.show ? (b(), m("text", {
1075
+ key: 1,
1076
+ class: "transition-opacity",
1077
+ x: n.x,
1078
+ y: n.y + F.value.style.chart.layout.plots.labels.fontSize / 3,
1079
+ fill: n.labelColor,
1080
+ "font-size": F.value.style.chart.layout.plots.labels.fontSize,
1081
+ "text-anchor": "middle",
1082
+ style: y({
1083
+ userSelect: "none",
1084
+ pointerEvents: "none",
1085
+ opacity: N.value == null || N.value === t.id ? 1 : .1
1086
+ })
1087
+ }, w(n.displayValue), 13, $e)) : p("", !0)], 64))), 256)) : p("", !0)
1088
+ ], 64))), 256)),
1089
+ F.value.style.chart.layout.nameLabels.leftLabels.show ? (b(), m("g", {
1090
+ key: 1,
1091
+ ref_key: "labelsLeft",
1092
+ ref: At
1093
+ }, [(b(!0), m(u, null, S(cn.value.left.filter((e) => T(i)(e.value)), (e, t) => (b(), m("text", {
1094
+ class: "transition-opacity",
1095
+ x: U.value.left,
1096
+ y: e.y + F.value.style.chart.layout.nameLabels.fontSize / 3,
1097
+ fill: F.value.style.chart.layout.nameLabels.useSerieColor ? e.color : F.value.style.chart.layout.nameLabels.color,
1098
+ "font-size": F.value.style.chart.layout.nameLabels.fontSize,
1099
+ "font--weight": F.value.style.chart.layout.nameLabels.bold ? "bold" : "normal",
1100
+ "text-anchor": "end",
1101
+ innerHTML: T(te)({
1102
+ content: e.name,
1103
+ fontSize: F.value.style.chart.layout.nameLabels.fontSize,
1104
+ fill: F.value.style.chart.layout.nameLabels.useSerieColor ? e.color : F.value.style.chart.layout.nameLabels.color,
1105
+ x: U.value.left - F.value.style.chart.layout.nameLabels.offsetX,
1106
+ y: e.y + F.value.style.chart.layout.nameLabels.fontSize / 3,
1107
+ translateY: !0
1108
+ }),
1109
+ style: y({ opacity: N.value == null || N.value === e.id ? 1 : .1 }),
1110
+ onMouseenter: (t) => Q(e, e),
1111
+ onMouseleave: (t) => $(e, e),
1112
+ onClick: (t) => jn(e, e)
1113
+ }, null, 44, et))), 256))], 512)) : p("", !0),
1114
+ F.value.style.chart.layout.nameLabels.rightLabels.show ? (b(), m("g", {
1115
+ key: 2,
1116
+ ref_key: "labelsRight",
1117
+ ref: jt
1118
+ }, [(b(!0), m(u, null, S(cn.value.right.filter((e) => T(i)(e.value)), (e, t) => (b(), m("text", {
1119
+ class: "transition-opacity",
1120
+ x: U.value.right,
1121
+ y: e.y + F.value.style.chart.layout.nameLabels.fontSize / 3,
1122
+ fill: F.value.style.chart.layout.nameLabels.useSerieColor ? e.color : F.value.style.chart.layout.nameLabels.color,
1123
+ "font-size": F.value.style.chart.layout.nameLabels.fontSize,
1124
+ "font--weight": F.value.style.chart.layout.nameLabels.bold ? "bold" : "normal",
1125
+ "text-anchor": "start",
1126
+ innerHTML: T(te)({
1127
+ content: e.name,
1128
+ fontSize: F.value.style.chart.layout.nameLabels.fontSize,
1129
+ fill: F.value.style.chart.layout.nameLabels.useSerieColor ? e.color : F.value.style.chart.layout.nameLabels.color,
1130
+ x: U.value.right + F.value.style.chart.layout.nameLabels.offsetX,
1131
+ y: e.y + F.value.style.chart.layout.nameLabels.fontSize / 3,
1132
+ translateY: !0
1133
+ }),
1134
+ style: y({ opacity: N.value == null || N.value === e.id ? 1 : .1 }),
1135
+ onMouseenter: (t) => Q(e, e),
1136
+ onMouseleave: (t) => $(e, e),
1137
+ onClick: (t) => jn(e, e)
1138
+ }, null, 44, tt))), 256))], 512)) : p("", !0),
1139
+ F.value.style.chart.layout.timeLabels.show ? (b(), m("g", {
1140
+ key: 3,
1141
+ ref_key: "timeLabelsEls",
1142
+ ref: Mt
1143
+ }, [e.$slots["time-label"] ? (b(), m("g", nt, [(b(!0), m(u, null, S(K.value, (t, n) => (b(), m("g", null, [C(e.$slots, "time-label", Me({ ref_for: !0 }, {
1144
+ x: U.value.unitW * n + U.value.unitW / 2 + U.value.left,
1145
+ y: U.value.chartHeight + F.value.style.chart.layout.timeLabels.offsetY,
1146
+ fontSize: F.value.style.chart.layout.timeLabels.fontSize,
1147
+ fill: F.value.style.chart.layout.timeLabels.color,
1148
+ transform: `translate(${U.value.unitW * n + U.value.unitW / 2 + U.value.left}, ${U.value.chartHeight + F.value.style.chart.layout.timeLabels.offsetY}), rotate(${F.value.style.chart.layout.timeLabels.rotation})`,
1149
+ absoluteIndex: t.absoluteIndex,
1150
+ content: t.text,
1151
+ textAnchor: F.value.style.chart.layout.timeLabels.rotation > 0 ? "start" : F.value.style.chart.layout.timeLabels.rotation < 0 ? "end" : "middle",
1152
+ show: !0
1153
+ }), void 0, !0)]))), 256))])) : (b(), m("g", rt, [(b(!0), m(u, null, S(K.value, (e, t) => (b(), m("g", null, [String(e.text).includes("\n") ? (b(), m("text", {
1154
+ key: t + "-multi",
1155
+ "text-anchor": F.value.style.chart.layout.timeLabels.rotation > 0 ? "start" : F.value.style.chart.layout.timeLabels.rotation < 0 ? "end" : "middle",
1156
+ "font-size": F.value.style.chart.layout.timeLabels.fontSize,
1157
+ fill: F.value.style.chart.layout.timeLabels.color,
1158
+ transform: `
1159
+ translate(
1160
+ ${U.value.unitW * t + U.value.unitW / 2 + U.value.left},
1161
+ ${U.value.chartHeight + F.value.style.chart.layout.timeLabels.fontSize * 1.3 + F.value.style.chart.layout.timeLabels.offsetY}
1162
+ ),
1163
+ rotate(${F.value.style.chart.layout.timeLabels.rotation})
1164
+ `,
1165
+ innerHTML: T(te)({
1166
+ content: String(e.text),
1167
+ fontSize: F.value.style.chart.layout.timeLabels.fontSize,
1168
+ fill: F.value.style.chart.layout.timeLabels.color,
1169
+ x: 0,
1170
+ y: 0
1171
+ })
1172
+ }, null, 8, at)) : (b(), m("text", {
1173
+ class: "vue-data-ui-time-label",
1174
+ key: t,
1175
+ "text-anchor": F.value.style.chart.layout.timeLabels.rotation > 0 ? "start" : F.value.style.chart.layout.timeLabels.rotation < 0 ? "end" : "middle",
1176
+ "font-size": F.value.style.chart.layout.timeLabels.fontSize,
1177
+ "font-weight": F.value.style.chart.layout.timeLabels.bold ? "bold" : "normal",
1178
+ fill: F.value.style.chart.layout.timeLabels.color,
1179
+ transform: `translate(${U.value.unitW * t + U.value.unitW / 2 + U.value.left}, ${U.value.chartHeight + F.value.style.chart.layout.timeLabels.offsetY}), rotate(${F.value.style.chart.layout.timeLabels.rotation})`
1180
+ }, w(e.text), 9, it))]))), 256))]))], 512)) : p("", !0),
1181
+ C(e.$slots, "svg", { svg: {
1182
+ drawingArea: U.value,
1183
+ data: W.value,
1184
+ isPrintingImg: T(Wt) || T(Gt) || j.value,
1185
+ isPrintingSvg: M.value
1186
+ } }, void 0, !0)
1187
+ ], 46, Ke)), e.$slots.hint ? (b(), m("div", ot, [C(e.$slots, "hint", v(_({
1188
+ hint: F.value.a11y.translations.keyboardNavigation,
1189
+ isVisible: Nt.value
1190
+ })), void 0, !0)])) : p("", !0)]),
1191
+ e.$slots.watermark ? (b(), m("div", st, [C(e.$slots, "watermark", v(_({ isPrinting: T(Wt) || T(Gt) || j.value || M.value })), void 0, !0)])) : p("", !0),
1192
+ yt.value && F.value.userOptions.buttons.table ? (b(), f(Le(X.value.component), Me({ key: 6 }, X.value.props, {
1193
+ ref_key: "tableUnit",
1194
+ ref: A,
1195
+ onClose: Cn
1196
+ }), ke({
1197
+ content: E(() => [je(T(dt), {
1198
+ colNames: Z.value.colNames,
1199
+ head: Z.value.head,
1200
+ body: Z.value.body,
1201
+ config: Z.value.config,
1202
+ title: F.value.table.useDialog ? "" : X.value.title,
1203
+ withCloseButton: !F.value.table.useDialog,
1204
+ isCursorPointer: I.value,
1205
+ onClose: Cn
1206
+ }, {
1207
+ th: E(({ th: e }) => [h("div", { innerHTML: e }, null, 8, ct)]),
1208
+ td: E(({ td: e }) => [Ae(w(e), 1)]),
1209
+ _: 1
1210
+ }, 8, [
1211
+ "colNames",
1212
+ "head",
1213
+ "body",
1214
+ "config",
1215
+ "title",
1216
+ "withCloseButton",
1217
+ "isCursorPointer"
1218
+ ])]),
1219
+ _: 2
1220
+ }, [F.value.table.useDialog ? {
1221
+ name: "title",
1222
+ fn: E(() => [Ae(w(X.value.title), 1)]),
1223
+ key: "0"
1224
+ } : void 0, F.value.table.useDialog ? {
1225
+ name: "actions",
1226
+ fn: E(() => [h("button", {
1227
+ tabindex: "0",
1228
+ class: "vue-ui-user-options-button",
1229
+ onClick: t[1] ||= (e) => Tn(F.value.userOptions.callbacks.csv),
1230
+ style: y({ cursor: I.value ? "pointer" : "default" })
1231
+ }, [je(T(lt), {
1232
+ name: "fileCsv",
1233
+ stroke: X.value.props.color
1234
+ }, null, 8, ["stroke"])], 4)]),
1235
+ key: "1"
1236
+ } : void 0]), 1040)) : p("", !0),
1237
+ e.$slots.source ? (b(), m("div", {
1238
+ key: 7,
1239
+ ref_key: "source",
1240
+ ref: Ct,
1241
+ dir: "auto"
1242
+ }, [C(e.$slots, "source", {}, void 0, !0)], 512)) : p("", !0),
1243
+ C(e.$slots, "skeleton", {}, () => [T(Ft) ? (b(), f(he, { key: 0 })) : p("", !0)], !0)
1244
+ ], 46, Ue));
1245
+ }
1246
+ }, [["__scopeId", "data-v-893ac120"]]);
1247
+ //#endregion
1248
+ export { He as n, lt as t };