vue-data-ui 3.27.0 → 3.27.1

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 (531) hide show
  1. package/dist/A11yDataTable-DWNlWXzs.js +1 -0
  2. package/dist/Arrow-C2W0uGrq.js +1 -0
  3. package/dist/BaseDraggableDialog-D_tuHEjO.js +1 -0
  4. package/dist/BaseIcon-DdIyewwY.js +1 -0
  5. package/dist/BaseLegendToggle-Bq5FjyuI.js +1 -0
  6. package/dist/BaseScanner-8NdoBs7B.js +1 -0
  7. package/dist/BaseZoomControls-DoYifY2y.js +1 -0
  8. package/dist/ColorPicker-MLwiwxl5.js +1 -0
  9. package/dist/DataTable-WNecJMcY.js +1 -0
  10. package/dist/DefGrad-DKMq1REY.js +1 -0
  11. package/dist/HillActions-CHg1AQ3p.js +1 -0
  12. package/dist/Legend-D8YoT1RJ.js +1 -0
  13. package/dist/NonSvgPenAndPaper-CqtJpZKh.js +1 -0
  14. package/dist/PackageVersion-CdkxOy58.js +1 -0
  15. package/dist/PenAndPaper-IMw576MC.js +1 -0
  16. package/dist/RecursiveCircles-BftI1kwF.js +1 -0
  17. package/dist/RecursiveLabels-B0d04xSj.js +1 -0
  18. package/dist/RecursiveLinks-CZtG6uWg.js +1 -0
  19. package/dist/Shape-Bp9YNtPc.js +1 -0
  20. package/dist/SlicerPreview-CNUciSbY.js +1 -0
  21. package/dist/SparkTooltip-C5JMcBXT.js +1 -0
  22. package/dist/Title-BGYFqulv.js +1 -0
  23. package/dist/Tooltip-Cus2-XNQ.js +1 -0
  24. package/dist/UserOptions-DTxMeZv3.js +1 -0
  25. package/dist/_plugin-vue_export-helper-BDNMzG2s.js +1 -0
  26. package/dist/annotationSlots-BRR85CqJ.js +1 -0
  27. package/dist/chartImage-CIvU_04o.js +1 -0
  28. package/dist/components/arrow.js +1 -2
  29. package/dist/components/vue-ui-3d-bar.js +1 -2
  30. package/dist/components/vue-ui-accordion.js +1 -2
  31. package/dist/components/vue-ui-age-pyramid.js +1 -2
  32. package/dist/components/vue-ui-annotator.js +1 -2
  33. package/dist/components/vue-ui-bullet.js +1 -2
  34. package/dist/components/vue-ui-bump.js +1 -2
  35. package/dist/components/vue-ui-candlestick.js +1 -2
  36. package/dist/components/vue-ui-carousel-table.js +1 -2
  37. package/dist/components/vue-ui-chestnut.js +1 -2
  38. package/dist/components/vue-ui-chord.js +1 -2
  39. package/dist/components/vue-ui-circle-pack.js +1 -2
  40. package/dist/components/vue-ui-cursor.js +1 -2
  41. package/dist/components/vue-ui-dag.js +1 -2
  42. package/dist/components/vue-ui-dashboard.js +1 -2
  43. package/dist/components/vue-ui-digits.js +1 -2
  44. package/dist/components/vue-ui-donut-evolution.js +1 -2
  45. package/dist/components/vue-ui-donut.js +1 -2
  46. package/dist/components/vue-ui-dumbbell.js +1 -2
  47. package/dist/components/vue-ui-flow.js +1 -2
  48. package/dist/components/vue-ui-funnel.js +1 -2
  49. package/dist/components/vue-ui-galaxy.js +1 -2
  50. package/dist/components/vue-ui-gauge.js +1 -2
  51. package/dist/components/vue-ui-geo.js +1 -2
  52. package/dist/components/vue-ui-gizmo.js +1 -2
  53. package/dist/components/vue-ui-heatmap.js +1 -2
  54. package/dist/components/vue-ui-hill.js +1 -2
  55. package/dist/components/vue-ui-history-plot.js +1 -2
  56. package/dist/components/vue-ui-horizontal-bar.js +1 -2
  57. package/dist/components/vue-ui-icon.js +1 -2
  58. package/dist/components/vue-ui-kpi.js +1 -2
  59. package/dist/components/vue-ui-label.js +1 -2
  60. package/dist/components/vue-ui-mini-loader.js +1 -2
  61. package/dist/components/vue-ui-molecule.js +1 -2
  62. package/dist/components/vue-ui-mood-radar.js +1 -2
  63. package/dist/components/vue-ui-nested-donuts.js +1 -2
  64. package/dist/components/vue-ui-onion.js +1 -2
  65. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -2
  66. package/dist/components/vue-ui-pattern-seed.js +1 -2
  67. package/dist/components/vue-ui-pattern.js +1 -2
  68. package/dist/components/vue-ui-quadrant.js +1 -2
  69. package/dist/components/vue-ui-quick-chart.js +1 -2
  70. package/dist/components/vue-ui-radar.js +1 -2
  71. package/dist/components/vue-ui-rating.js +1 -2
  72. package/dist/components/vue-ui-relation-circle.js +1 -2
  73. package/dist/components/vue-ui-ridgeline.js +1 -2
  74. package/dist/components/vue-ui-rings.js +1 -2
  75. package/dist/components/vue-ui-scatter.js +1 -2
  76. package/dist/components/vue-ui-skeleton.js +1 -2
  77. package/dist/components/vue-ui-smiley.js +1 -2
  78. package/dist/components/vue-ui-spark-trend.js +1 -2
  79. package/dist/components/vue-ui-sparkbar.js +1 -2
  80. package/dist/components/vue-ui-sparkgauge.js +1 -2
  81. package/dist/components/vue-ui-sparkhistogram.js +1 -2
  82. package/dist/components/vue-ui-sparkline.js +1 -2
  83. package/dist/components/vue-ui-sparkstackbar.js +1 -2
  84. package/dist/components/vue-ui-stackbar.js +1 -2
  85. package/dist/components/vue-ui-stackline.js +1 -2
  86. package/dist/components/vue-ui-strip-plot.js +1 -2
  87. package/dist/components/vue-ui-table-heatmap.js +1 -2
  88. package/dist/components/vue-ui-table-sparkline.js +1 -2
  89. package/dist/components/vue-ui-table.js +1 -2
  90. package/dist/components/vue-ui-thermometer.js +1 -2
  91. package/dist/components/vue-ui-timer.js +1 -2
  92. package/dist/components/vue-ui-tiremarks.js +1 -2
  93. package/dist/components/vue-ui-treemap.js +1 -2
  94. package/dist/components/vue-ui-vertical-bar.js +1 -2
  95. package/dist/components/vue-ui-waffle.js +1 -2
  96. package/dist/components/vue-ui-wheel.js +1 -2
  97. package/dist/components/vue-ui-word-cloud.js +1 -2
  98. package/dist/components/vue-ui-world.js +1 -2
  99. package/dist/components/vue-ui-xy-canvas.js +1 -2
  100. package/dist/components/vue-ui-xy.js +1 -2
  101. package/dist/composables.js +1 -5
  102. package/dist/dom-to-png-D8t3Bm7s.js +3 -0
  103. package/dist/exposedLib-DHtyEc_G.js +1 -0
  104. package/dist/geoProjections-Bvj-eMvq.js +1 -0
  105. package/dist/img-DiT4ivZ5.js +1 -0
  106. package/dist/labelUtils-CG3uVXoZ.js +1 -0
  107. package/dist/lib-CV_IANZ6.js +12 -0
  108. package/dist/package-DE5cU1Rg.js +1 -0
  109. package/dist/patternUtils-_q3ArM3g.js +1 -0
  110. package/dist/pdf-BQSB1V3H.js +1 -0
  111. package/dist/render-common-BdZ5aRyn.js +1 -0
  112. package/dist/resolveChartConfig-DZg-korK.js +1 -0
  113. package/dist/rolldown-runtime-DK3Fl9T5.js +1 -0
  114. package/dist/ssr/vue-ui-donut.js +1 -2
  115. package/dist/ssr/vue-ui-xy.js +1 -2
  116. package/dist/ssr.js +1 -3
  117. package/dist/style.css +1 -1
  118. package/dist/tableIntegration-CNoJ1CIY.js +1 -0
  119. package/dist/types/composables.d.ts +12 -12
  120. package/dist/types/ssr.d.ts +84 -84
  121. package/dist/types/utils.d.ts +82 -73
  122. package/dist/types/vue-data-ui.d.ts +17961 -17958
  123. package/dist/types/vue-ui-3d-bar.d.ts +24 -91
  124. package/dist/types/vue-ui-accordion.d.ts +2 -10
  125. package/dist/types/vue-ui-age-pyramid.d.ts +27 -106
  126. package/dist/types/vue-ui-annotator.d.ts +12 -88
  127. package/dist/types/vue-ui-bullet.d.ts +21 -83
  128. package/dist/types/vue-ui-bump.d.ts +23 -90
  129. package/dist/types/vue-ui-candlestick.d.ts +27 -108
  130. package/dist/types/vue-ui-carousel-table.d.ts +11 -57
  131. package/dist/types/vue-ui-chestnut.d.ts +27 -96
  132. package/dist/types/vue-ui-chord.d.ts +31 -108
  133. package/dist/types/vue-ui-circle-pack.d.ts +30 -124
  134. package/dist/types/vue-ui-cursor.d.ts +2 -8
  135. package/dist/types/vue-ui-dag.d.ts +35 -125
  136. package/dist/types/vue-ui-dashboard.d.ts +18 -66
  137. package/dist/types/vue-ui-digits.d.ts +2 -11
  138. package/dist/types/vue-ui-donut-evolution.d.ts +31 -100
  139. package/dist/types/vue-ui-donut.d.ts +31 -121
  140. package/dist/types/vue-ui-dumbbell.d.ts +24 -92
  141. package/dist/types/vue-ui-flow.d.ts +28 -104
  142. package/dist/types/vue-ui-funnel.d.ts +18 -77
  143. package/dist/types/vue-ui-galaxy.d.ts +30 -112
  144. package/dist/types/vue-ui-gauge.d.ts +22 -87
  145. package/dist/types/vue-ui-geo.d.ts +22 -92
  146. package/dist/types/vue-ui-gizmo.d.ts +5 -20
  147. package/dist/types/vue-ui-heatmap.d.ts +25 -101
  148. package/dist/types/vue-ui-hill.d.ts +22 -88
  149. package/dist/types/vue-ui-history-plot.d.ts +30 -112
  150. package/dist/types/vue-ui-horizontal-bar.d.ts +30 -114
  151. package/dist/types/vue-ui-icon.d.ts +1 -13
  152. package/dist/types/vue-ui-kpi.d.ts +5 -23
  153. package/dist/types/vue-ui-label.d.ts +11 -48
  154. package/dist/types/vue-ui-mini-loader.d.ts +4 -13
  155. package/dist/types/vue-ui-molecule.d.ts +27 -110
  156. package/dist/types/vue-ui-mood-radar.d.ts +23 -90
  157. package/dist/types/vue-ui-nested-donuts.d.ts +28 -109
  158. package/dist/types/vue-ui-onion.d.ts +26 -104
  159. package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +34 -123
  160. package/dist/types/vue-ui-pattern-seed.d.ts +1 -14
  161. package/dist/types/vue-ui-pattern.d.ts +1 -13
  162. package/dist/types/vue-ui-quadrant.d.ts +33 -123
  163. package/dist/types/vue-ui-quick-chart.d.ts +30 -110
  164. package/dist/types/vue-ui-radar.d.ts +31 -114
  165. package/dist/types/vue-ui-rating.d.ts +8 -40
  166. package/dist/types/vue-ui-relation-circle.d.ts +26 -90
  167. package/dist/types/vue-ui-ridgeline.d.ts +27 -104
  168. package/dist/types/vue-ui-rings.d.ts +21 -96
  169. package/dist/types/vue-ui-scatter.d.ts +22 -95
  170. package/dist/types/vue-ui-skeleton.d.ts +2 -10
  171. package/dist/types/vue-ui-smiley.d.ts +6 -26
  172. package/dist/types/vue-ui-spark-trend.d.ts +2 -18
  173. package/dist/types/vue-ui-sparkbar.d.ts +10 -47
  174. package/dist/types/vue-ui-sparkgauge.d.ts +5 -26
  175. package/dist/types/vue-ui-sparkhistogram.d.ts +12 -44
  176. package/dist/types/vue-ui-sparkline.d.ts +16 -61
  177. package/dist/types/vue-ui-sparkstackbar.d.ts +13 -58
  178. package/dist/types/vue-ui-stackbar.d.ts +36 -130
  179. package/dist/types/vue-ui-stackline.d.ts +29 -116
  180. package/dist/types/vue-ui-strip-plot.d.ts +22 -96
  181. package/dist/types/vue-ui-table-heatmap.d.ts +14 -60
  182. package/dist/types/vue-ui-table-sparkline.d.ts +12 -51
  183. package/dist/types/vue-ui-table.d.ts +9 -36
  184. package/dist/types/vue-ui-thermometer.d.ts +14 -68
  185. package/dist/types/vue-ui-timer.d.ts +10 -47
  186. package/dist/types/vue-ui-tiremarks.d.ts +14 -68
  187. package/dist/types/vue-ui-treemap.d.ts +26 -105
  188. package/dist/types/vue-ui-vertical-bar.d.ts +8 -19
  189. package/dist/types/vue-ui-waffle.d.ts +23 -99
  190. package/dist/types/vue-ui-wheel.d.ts +14 -68
  191. package/dist/types/vue-ui-word-cloud.d.ts +20 -95
  192. package/dist/types/vue-ui-world.d.ts +22 -96
  193. package/dist/types/vue-ui-xy-canvas.d.ts +24 -101
  194. package/dist/types/vue-ui-xy.d.ts +42 -146
  195. package/dist/unpackTheme-CNsFKCeq.js +1 -0
  196. package/dist/useAutoSizeLabelsInsideViewbox-AIRF0PlD.js +1 -0
  197. package/dist/useChartAccessibility-DOMuYJfm.js +1 -0
  198. package/dist/useChartExport-DtPNpc9M.js +1 -0
  199. package/dist/useConfig-CKdzPrcf.js +1 -0
  200. package/dist/useFitSvgText-C1QC4P5G.js +1 -0
  201. package/dist/useHints-BH9r_0Vd.js +6 -0
  202. package/dist/useNestedProp-CB186vF2.js +1 -0
  203. package/dist/useObjectBindings-Dse7YyAf.js +1 -0
  204. package/dist/usePanZoom-BdjP5Suc.js +1 -0
  205. package/dist/usePrefersMotion-XLHwega2.js +1 -0
  206. package/dist/usePrinter-hLW3cv4N.js +1 -0
  207. package/dist/useResponsive-D2CPcpda.js +1 -0
  208. package/dist/useStableElementSize-CegFbRlF.js +1 -0
  209. package/dist/useTableResponsive-uSz_qZOB.js +1 -0
  210. package/dist/useThemeCheck-BKNRbGeC.js +1 -0
  211. package/dist/useTimeLabelCollider-XQf_S7-z.js +1 -0
  212. package/dist/useTimeLabels-Das5O74F.js +1 -0
  213. package/dist/useTooltipPosition-aoV8pZZ9.js +1 -0
  214. package/dist/useTransitions-DfSHzsdz.js +1 -0
  215. package/dist/useUserOptionState-CXlFnwPv.js +1 -0
  216. package/dist/userOptionsSlots-DYuo-E5m.js +1 -0
  217. package/dist/utils.js +1 -30
  218. package/dist/vClickOutside-BxNzkY17.js +1 -0
  219. package/dist/vue-data-ui-DyYgLIZN.js +1 -0
  220. package/dist/vue-data-ui.js +1 -79
  221. package/dist/vue-ui-3d-bar-BZAoyWkc.js +19 -0
  222. package/dist/vue-ui-accordion-BNvevckx.js +1 -0
  223. package/dist/vue-ui-age-pyramid-DkA6vpU3.js +1 -0
  224. package/dist/vue-ui-annotator-DuQME4Hh.js +331 -0
  225. package/dist/vue-ui-bullet-BVs8JX8S.js +34 -0
  226. package/dist/vue-ui-bump-DYdm3EvF.js +10 -0
  227. package/dist/vue-ui-candlestick-DZgxl4mW.js +22 -0
  228. package/dist/vue-ui-carousel-table-BB7DsTUt.js +1 -0
  229. package/dist/vue-ui-chestnut-Bo1h5rBt.js +1 -0
  230. package/dist/vue-ui-chord-B6_veyvO.js +21 -0
  231. package/dist/vue-ui-circle-pack-Bm7e2YNh.js +13 -0
  232. package/dist/vue-ui-cursor-TidZDuSh.js +1 -0
  233. package/dist/vue-ui-dag-BiN_AnLo.js +9 -0
  234. package/dist/vue-ui-dashboard-zepAVN_W.js +1 -0
  235. package/dist/vue-ui-digits-CXKKmfGj.js +42 -0
  236. package/dist/vue-ui-donut-CKkBtyPK.js +22 -0
  237. package/dist/vue-ui-donut-DLDUpjDU.js +47 -0
  238. package/dist/vue-ui-donut-evolution-BxMTdE5G.js +2 -0
  239. package/dist/vue-ui-dumbbell-C8rNwdz0.js +9 -0
  240. package/dist/vue-ui-flow-Dru76A2O.js +3 -0
  241. package/dist/vue-ui-funnel-D_u1h5S9.js +1 -0
  242. package/dist/vue-ui-galaxy-sBEH18Xj.js +1 -0
  243. package/dist/vue-ui-gauge-Do3RN8ne.js +1 -0
  244. package/dist/vue-ui-geo-DDbtx_iJ.js +1 -0
  245. package/dist/vue-ui-gizmo-eic6xLjB.js +1 -0
  246. package/dist/vue-ui-heatmap-DlmJRsM8.js +1 -0
  247. package/dist/vue-ui-hill-C5oiuIXh.js +1 -0
  248. package/dist/vue-ui-history-plot-BJjnkWcT.js +2 -0
  249. package/dist/vue-ui-horizontal-bar-BRDBJEl1.js +4 -0
  250. package/dist/vue-ui-kpi-C-eed3jO.js +1 -0
  251. package/dist/vue-ui-label-B4pkXBxc.js +7 -0
  252. package/dist/vue-ui-mini-loader-CElmv_iF.js +1 -0
  253. package/dist/vue-ui-molecule-BeyQWZU9.js +1 -0
  254. package/dist/vue-ui-mood-radar-Bh0kHfiZ.js +1 -0
  255. package/dist/vue-ui-nested-donuts-FlnJfDaF.js +19 -0
  256. package/dist/vue-ui-onion-BjhSpjtW.js +5 -0
  257. package/dist/vue-ui-parallel-coordinate-plot-CHV6XDti.js +9 -0
  258. package/dist/vue-ui-pattern-DrPCu32G.js +1 -0
  259. package/dist/vue-ui-pattern-seed-B8YjAAEH.js +1 -0
  260. package/dist/vue-ui-quadrant-BaKSTJDv.js +2 -0
  261. package/dist/vue-ui-quick-chart-Nc2mVlle.js +17 -0
  262. package/dist/vue-ui-radar-BzUfkLlC.js +1 -0
  263. package/dist/vue-ui-rating-BwWXvbAg.js +1 -0
  264. package/dist/vue-ui-relation-circle-nAZEg-BL.js +1 -0
  265. package/dist/vue-ui-ridgeline-DxLZg1E2.js +2 -0
  266. package/dist/vue-ui-rings-BOti0NGb.js +1 -0
  267. package/dist/vue-ui-scatter-CCNMggyo.js +9 -0
  268. package/dist/vue-ui-skeleton-DI7pcimU.js +41 -0
  269. package/dist/vue-ui-smiley-D70sJZWl.js +1 -0
  270. package/dist/vue-ui-spark-trend-BVtfEalS.js +1 -0
  271. package/dist/vue-ui-sparkbar-CdsLI7Ke.js +1 -0
  272. package/dist/vue-ui-sparkgauge-wmj5Wnnp.js +1 -0
  273. package/dist/vue-ui-sparkhistogram-D8S_P_P4.js +1 -0
  274. package/dist/vue-ui-sparkline-BjsJnS_9.js +1 -0
  275. package/dist/vue-ui-sparkstackbar-ZN8LXzoV.js +1 -0
  276. package/dist/vue-ui-stackbar-Dx_EN3pT.js +29 -0
  277. package/dist/vue-ui-stackline-DW-oxJvA.js +39 -0
  278. package/dist/vue-ui-strip-plot-D7kjJ3Qh.js +2 -0
  279. package/dist/vue-ui-table-CaFVLHxE.js +14 -0
  280. package/dist/vue-ui-table-heatmap-Ctf7Rhqo.js +1 -0
  281. package/dist/vue-ui-table-sparkline-C0I0cXBS.js +1 -0
  282. package/dist/vue-ui-thermometer-B6og15Al.js +1 -0
  283. package/dist/vue-ui-timer-DgXvO2Q7.js +64 -0
  284. package/dist/vue-ui-tiremarks-Dh6fZ454.js +1 -0
  285. package/dist/vue-ui-treemap-7JuvN6P_.js +1 -0
  286. package/dist/vue-ui-waffle-BqvGzfse.js +1 -0
  287. package/dist/vue-ui-wheel-SdwJqKA7.js +1 -0
  288. package/dist/vue-ui-word-cloud-1WVV_k12.js +4 -0
  289. package/dist/vue-ui-world-DjMy_utm.js +19 -0
  290. package/dist/vue-ui-xy-DaozHMfg.js +31 -0
  291. package/dist/vue-ui-xy-canvas-CegvS9RR.js +9 -0
  292. package/dist/vue-ui-xy-rGHSI1am.js +24 -0
  293. package/dist/vue_ui_3d_bar-DmAve5Ri.js +1 -0
  294. package/dist/vue_ui_age_pyramid-CL0Ef8Ov.js +1 -0
  295. package/dist/vue_ui_bullet-CwVYkpjd.js +1 -0
  296. package/dist/vue_ui_bump-KJL9GYr4.js +1 -0
  297. package/dist/vue_ui_candlestick-DKvha_Ab.js +1 -0
  298. package/dist/vue_ui_chestnut-BxxivKN7.js +1 -0
  299. package/dist/vue_ui_chord-Fq6VBRT1.js +1 -0
  300. package/dist/vue_ui_circle_pack-CfXkXi7v.js +1 -0
  301. package/dist/vue_ui_dag-1b_dLSym.js +1 -0
  302. package/dist/vue_ui_donut-T5PeOqvf.js +1 -0
  303. package/dist/vue_ui_donut_evolution-CVoh3twl.js +1 -0
  304. package/dist/vue_ui_dumbbell-BMcxK0N3.js +1 -0
  305. package/dist/vue_ui_flow-kvV56Es9.js +1 -0
  306. package/dist/vue_ui_funnel-CaEV5hG7.js +1 -0
  307. package/dist/vue_ui_galaxy-B94QInxc.js +1 -0
  308. package/dist/vue_ui_gauge-BJhb6yqE.js +1 -0
  309. package/dist/vue_ui_geo-DL1SMQHp.js +1 -0
  310. package/dist/vue_ui_heatmap-kh5NMmwf.js +1 -0
  311. package/dist/vue_ui_hill-DQi4pQCG.js +1 -0
  312. package/dist/vue_ui_history_plot-soyqUW4Y.js +1 -0
  313. package/dist/vue_ui_horizontal_bar-C4ulIxeT.js +1 -0
  314. package/dist/vue_ui_label-dtPqyFsj.js +1 -0
  315. package/dist/vue_ui_molecule-Bw1UW1Na.js +1 -0
  316. package/dist/vue_ui_mood_radar-CXaBdJnv.js +1 -0
  317. package/dist/vue_ui_nested_donuts-CRtGsJcz.js +1 -0
  318. package/dist/vue_ui_onion-C9BedU_-.js +1 -0
  319. package/dist/vue_ui_parallel_coordinate_plot-Cs_xXAG5.js +1 -0
  320. package/dist/vue_ui_quadrant-BUv-SqzP.js +1 -0
  321. package/dist/vue_ui_quick_chart-BRfcRW6Z.js +1 -0
  322. package/dist/vue_ui_radar-68iK9Fam.js +1 -0
  323. package/dist/vue_ui_relation_circle-Dkv-cSB6.js +1 -0
  324. package/dist/vue_ui_ridgeline-Di26JtQu.js +1 -0
  325. package/dist/vue_ui_rings-BcDDXHpQ.js +1 -0
  326. package/dist/vue_ui_scatter-C50uFYQL.js +1 -0
  327. package/dist/vue_ui_spark_trend-BOM3zo64.js +1 -0
  328. package/dist/vue_ui_sparkbar-Bpx7QrFq.js +1 -0
  329. package/dist/vue_ui_sparkgauge-D2Hk6bvS.js +1 -0
  330. package/dist/vue_ui_sparkhistogram-ChwOkoMb.js +1 -0
  331. package/dist/vue_ui_sparkline-CvL_e9L8.js +1 -0
  332. package/dist/vue_ui_sparkstackbar-Chtog7hC.js +1 -0
  333. package/dist/vue_ui_stackbar-BkBIi_bL.js +1 -0
  334. package/dist/vue_ui_stackline-D7b63K84.js +1 -0
  335. package/dist/vue_ui_strip_plot-CwMowrhT.js +1 -0
  336. package/dist/vue_ui_table_heatmap-vfeY6r97.js +1 -0
  337. package/dist/vue_ui_table_sparkline-Dlfbza49.js +1 -0
  338. package/dist/vue_ui_thermometer-CRijq6H6.js +1 -0
  339. package/dist/vue_ui_tiremarks-8HFfABNF.js +1 -0
  340. package/dist/vue_ui_treemap-Bv4Rdl5_.js +1 -0
  341. package/dist/vue_ui_vertical_bar-BLyflvlz.js +1 -0
  342. package/dist/vue_ui_waffle-BbBLSluB.js +1 -0
  343. package/dist/vue_ui_wheel-C-479bvJ.js +1 -0
  344. package/dist/vue_ui_word_cloud-DBiJtSyL.js +1 -0
  345. package/dist/vue_ui_xy-CJBM9F6W.js +1 -0
  346. package/dist/vue_ui_xy_canvas-CT-FN9rU.js +1 -0
  347. package/package.json +2 -2
  348. package/dist/A11yDataTable-DdRsVULz.js +0 -45
  349. package/dist/Arrow-DKO1l8oR.js +0 -116
  350. package/dist/BaseDraggableDialog-C50TEJFv.js +0 -272
  351. package/dist/BaseIcon-Cx9FD751.js +0 -484
  352. package/dist/BaseLegendToggle-CP3sddwv.js +0 -56
  353. package/dist/BaseScanner-Dzc8VT3j.js +0 -30
  354. package/dist/BaseZoomControls-vNi8YykO.js +0 -111
  355. package/dist/ColorPicker-hmC2bvwS.js +0 -257
  356. package/dist/DataTable-CjF_An2h.js +0 -150
  357. package/dist/DefGrad-DVBqDjhO.js +0 -48
  358. package/dist/HillActions-DqqGB33u.js +0 -187
  359. package/dist/Legend-CulFgjUY.js +0 -156
  360. package/dist/NonSvgPenAndPaper-BK1v_MfW.js +0 -577
  361. package/dist/PackageVersion-D7H9nfK0.js +0 -12
  362. package/dist/PenAndPaper-CNiuGw6k.js +0 -906
  363. package/dist/RecursiveCircles-D6aDPmoe.js +0 -117
  364. package/dist/RecursiveLabels-D9rfID6q.js +0 -56
  365. package/dist/RecursiveLinks-BygcpDiT.js +0 -78
  366. package/dist/Shape-DSwamtmO.js +0 -143
  367. package/dist/SlicerPreview-k5YerMA9.js +0 -1730
  368. package/dist/SparkTooltip-D35KVv6N.js +0 -93
  369. package/dist/Title-BMCuINbv.js +0 -87
  370. package/dist/Tooltip-C4ZTwkLF.js +0 -312
  371. package/dist/UserOptions-CORYQiif.js +0 -1412
  372. package/dist/_plugin-vue_export-helper-B3ysoDQm.js +0 -8
  373. package/dist/dom-to-png-CBusMkua.js +0 -237
  374. package/dist/exposedLib-UNxZlnAS.js +0 -28
  375. package/dist/geoProjections-BYthUA8l.js +0 -302
  376. package/dist/img-Bb5rHcpO.js +0 -129
  377. package/dist/labelUtils-Ccn9kK7T.js +0 -19
  378. package/dist/lib-D4wK6ljP.js +0 -2146
  379. package/dist/package-DmQufM0G.js +0 -4
  380. package/dist/patternUtils-CS7hn6at.js +0 -258
  381. package/dist/pdf-BzIQHx-F.js +0 -90
  382. package/dist/render-common-BtfjXdkJ.js +0 -152
  383. package/dist/rolldown-runtime-Dy4uBu1J.js +0 -11
  384. package/dist/useAutoSizeLabelsInsideViewbox-DvDwcwi_.js +0 -122
  385. package/dist/useChartAccessibility-DYqac8yF.js +0 -12
  386. package/dist/useChartExport-iwOqiIWX.js +0 -803
  387. package/dist/useConfig-D_6ZrPMD.js +0 -8090
  388. package/dist/useFitSvgText-CXTzBplU.js +0 -65
  389. package/dist/useHints-Dq_w2E8B.js +0 -66
  390. package/dist/useNestedProp-DR_8JPol.js +0 -12
  391. package/dist/useObjectBindings-DvasYMGu.js +0 -191
  392. package/dist/usePanZoom-CYU3B4T3.js +0 -157
  393. package/dist/usePrefersMotion-BC-CsqR1.js +0 -15
  394. package/dist/usePrinter-DdW2GSm0.js +0 -49
  395. package/dist/useResponsive-ZtArZtUf.js +0 -97
  396. package/dist/useStableElementSize-C7KADDKj.js +0 -77
  397. package/dist/useTableResponsive-BAqJPR68.js +0 -25
  398. package/dist/useThemeCheck-C43Tcqmk.js +0 -24
  399. package/dist/useTimeLabelCollider-AEcY4Ioe.js +0 -57
  400. package/dist/useTimeLabels-d2f-W1L4.js +0 -270
  401. package/dist/useTooltipPosition-BCrtQa9H.js +0 -189
  402. package/dist/useTransitions-g_zBREk2.js +0 -39
  403. package/dist/useUserOptionState-DK-_1ddE.js +0 -15
  404. package/dist/vClickOutside-DUrZWttG.js +0 -13
  405. package/dist/vue-data-ui-Df7WV80w.js +0 -191
  406. package/dist/vue-ui-3d-bar-CJjNPwhG.js +0 -1831
  407. package/dist/vue-ui-accordion-CaoNWreI.js +0 -81
  408. package/dist/vue-ui-age-pyramid-BYcM0uIP.js +0 -1305
  409. package/dist/vue-ui-annotator-BmqjDjRF.js +0 -3325
  410. package/dist/vue-ui-bullet-DBOAvpBB.js +0 -702
  411. package/dist/vue-ui-bump-rPYwDJ4o.js +0 -1242
  412. package/dist/vue-ui-candlestick-WQHIQNv_.js +0 -2144
  413. package/dist/vue-ui-carousel-table-Dojcvt49.js +0 -467
  414. package/dist/vue-ui-chestnut-BdhEByUf.js +0 -2016
  415. package/dist/vue-ui-chord-MF4xF5az.js +0 -1347
  416. package/dist/vue-ui-circle-pack-BwDim7G8.js +0 -1647
  417. package/dist/vue-ui-cursor-w_5cbpSb.js +0 -283
  418. package/dist/vue-ui-dag-D2EUqeDN.js +0 -2931
  419. package/dist/vue-ui-dashboard-BLnVXosj.js +0 -522
  420. package/dist/vue-ui-digits-zSqwYWHm.js +0 -217
  421. package/dist/vue-ui-donut-ZYZfqIhi.js +0 -974
  422. package/dist/vue-ui-donut-evolution-DtLbWi3h.js +0 -1869
  423. package/dist/vue-ui-donut-nLDLZwig.js +0 -2427
  424. package/dist/vue-ui-dumbbell-Qgn3wRyI.js +0 -1533
  425. package/dist/vue-ui-flow-iSH6dyGw.js +0 -1229
  426. package/dist/vue-ui-funnel-Cc2z2zS5.js +0 -749
  427. package/dist/vue-ui-galaxy-GhuBSU0o.js +0 -1097
  428. package/dist/vue-ui-gauge-BAjBO13a.js +0 -934
  429. package/dist/vue-ui-geo-mwTtvIHY.js +0 -1495
  430. package/dist/vue-ui-gizmo-B5vOOrZX.js +0 -238
  431. package/dist/vue-ui-heatmap-fimkY1nN.js +0 -1613
  432. package/dist/vue-ui-hill-DPfTt3UE.js +0 -1747
  433. package/dist/vue-ui-history-plot-B1WgzqTb.js +0 -1710
  434. package/dist/vue-ui-horizontal-bar-Bkp5HQdt.js +0 -1723
  435. package/dist/vue-ui-kpi-D-p0CSQh.js +0 -104
  436. package/dist/vue-ui-label-r3-QloJL.js +0 -1451
  437. package/dist/vue-ui-mini-loader-CnrBGAtM.js +0 -133
  438. package/dist/vue-ui-molecule-BhdAYX_H.js +0 -941
  439. package/dist/vue-ui-mood-radar-CdlnPrQf.js +0 -1111
  440. package/dist/vue-ui-nested-donuts-DceVEyUc.js +0 -1515
  441. package/dist/vue-ui-onion-_L0uEATI.js +0 -1247
  442. package/dist/vue-ui-parallel-coordinate-plot-CbXwIM47.js +0 -1444
  443. package/dist/vue-ui-pattern-DKozfnVn.js +0 -154
  444. package/dist/vue-ui-pattern-seed-BB1honLm.js +0 -61
  445. package/dist/vue-ui-quadrant-CDDFLRcX.js +0 -1979
  446. package/dist/vue-ui-quick-chart-Dom257hl.js +0 -2775
  447. package/dist/vue-ui-radar-BLdri1bA.js +0 -1386
  448. package/dist/vue-ui-rating-C_iTttXB.js +0 -359
  449. package/dist/vue-ui-relation-circle-BmxTSgjd.js +0 -905
  450. package/dist/vue-ui-ridgeline-CsUrcVmL.js +0 -1630
  451. package/dist/vue-ui-rings-D_GPkgbD.js +0 -1264
  452. package/dist/vue-ui-scatter-D_C-IhnW.js +0 -2418
  453. package/dist/vue-ui-skeleton-t7e6KEZ2.js +0 -2567
  454. package/dist/vue-ui-smiley-Dl95YWVo.js +0 -376
  455. package/dist/vue-ui-spark-trend-pkZA7u5V.js +0 -457
  456. package/dist/vue-ui-sparkbar-Ds7OJjhG.js +0 -401
  457. package/dist/vue-ui-sparkgauge-US1M88qc.js +0 -268
  458. package/dist/vue-ui-sparkhistogram-FISVpSvv.js +0 -589
  459. package/dist/vue-ui-sparkline-DvE1dHcs.js +0 -2067
  460. package/dist/vue-ui-sparkstackbar-CWtF9eG-.js +0 -750
  461. package/dist/vue-ui-stackbar-fMgrHzZe.js +0 -3273
  462. package/dist/vue-ui-stackline-CSMuUup2.js +0 -2829
  463. package/dist/vue-ui-strip-plot-TGD2UFHS.js +0 -1752
  464. package/dist/vue-ui-table-BCEIbg8-.js +0 -1352
  465. package/dist/vue-ui-table-heatmap-CvUcFWMf.js +0 -363
  466. package/dist/vue-ui-table-sparkline-CoVQ1qGY.js +0 -738
  467. package/dist/vue-ui-thermometer-BYFAZCzh.js +0 -758
  468. package/dist/vue-ui-timer-BKr8RVnn.js +0 -451
  469. package/dist/vue-ui-tiremarks-BYu3cEoy.js +0 -540
  470. package/dist/vue-ui-treemap-BR3rX5_L.js +0 -1745
  471. package/dist/vue-ui-waffle-mP8g5aQk.js +0 -1633
  472. package/dist/vue-ui-wheel-CZsSO2R6.js +0 -873
  473. package/dist/vue-ui-word-cloud-CJ30onqy.js +0 -1723
  474. package/dist/vue-ui-world-BZ09DOiF.js +0 -3021
  475. package/dist/vue-ui-xy-C3h54loZ.js +0 -1387
  476. package/dist/vue-ui-xy-canvas-BwgK8drp.js +0 -2151
  477. package/dist/vue-ui-xy-jemv5dsf.js +0 -5777
  478. package/dist/vue_ui_3d_bar-C4R7o-yX.js +0 -185
  479. package/dist/vue_ui_age_pyramid-B2R66DgQ.js +0 -310
  480. package/dist/vue_ui_bullet-ClzdLoOv.js +0 -186
  481. package/dist/vue_ui_bump-Vl-zYAtG.js +0 -201
  482. package/dist/vue_ui_candlestick-BXSQY82k.js +0 -461
  483. package/dist/vue_ui_chestnut-D2oUhad6.js +0 -305
  484. package/dist/vue_ui_chord-DPfS1Umc.js +0 -275
  485. package/dist/vue_ui_circle_pack-DZC_rdfn.js +0 -172
  486. package/dist/vue_ui_dag-TsJ_azQq.js +0 -258
  487. package/dist/vue_ui_donut-BDGqG07h.js +0 -358
  488. package/dist/vue_ui_donut_evolution-C6951a2f.js +0 -745
  489. package/dist/vue_ui_dumbbell-Bfe_jFyi.js +0 -304
  490. package/dist/vue_ui_flow-BewZjjKG.js +0 -238
  491. package/dist/vue_ui_funnel-_Og4EEkO.js +0 -234
  492. package/dist/vue_ui_galaxy-Ig0cc1_h.js +0 -265
  493. package/dist/vue_ui_gauge-Cf1RZc9q.js +0 -178
  494. package/dist/vue_ui_geo-B8TODs-G.js +0 -248
  495. package/dist/vue_ui_heatmap-B2BBBSWG.js +0 -319
  496. package/dist/vue_ui_hill-dnltu0L-.js +0 -368
  497. package/dist/vue_ui_history_plot-CuN63VEc.js +0 -413
  498. package/dist/vue_ui_horizontal_bar-C4J4QzXf.js +0 -341
  499. package/dist/vue_ui_label-B0QoxQrJ.js +0 -115
  500. package/dist/vue_ui_molecule-CO9L59SF.js +0 -231
  501. package/dist/vue_ui_mood_radar-BA6LAKhk.js +0 -281
  502. package/dist/vue_ui_nested_donuts-B8csIoVO.js +0 -273
  503. package/dist/vue_ui_onion-1FTFFS46.js +0 -293
  504. package/dist/vue_ui_parallel_coordinate_plot-CBiOBira.js +0 -278
  505. package/dist/vue_ui_quadrant-CDSTKTJz.js +0 -428
  506. package/dist/vue_ui_quick_chart-DByCqSYE.js +0 -180
  507. package/dist/vue_ui_radar-jafTED5j.js +0 -306
  508. package/dist/vue_ui_relation_circle-D0p4mXmv.js +0 -98
  509. package/dist/vue_ui_ridgeline-VM8_mx4J.js +0 -767
  510. package/dist/vue_ui_rings-BVgD2aMn.js +0 -320
  511. package/dist/vue_ui_scatter-I0POnicu.js +0 -479
  512. package/dist/vue_ui_spark_trend-DxVmpkmC.js +0 -82
  513. package/dist/vue_ui_sparkbar-z6qO--Kf.js +0 -64
  514. package/dist/vue_ui_sparkgauge-BX1MS3bA.js +0 -90
  515. package/dist/vue_ui_sparkhistogram-BRgvKUH6.js +0 -123
  516. package/dist/vue_ui_sparkline-b9pEUyGF.js +0 -183
  517. package/dist/vue_ui_sparkstackbar-BOjuQnZd.js +0 -175
  518. package/dist/vue_ui_stackbar-yQyvT4Su.js +0 -537
  519. package/dist/vue_ui_stackline-Bh0RuInt.js +0 -539
  520. package/dist/vue_ui_strip_plot-BaHbnnwN.js +0 -308
  521. package/dist/vue_ui_table_heatmap-w8vx5k6f.js +0 -80
  522. package/dist/vue_ui_table_sparkline-DAbkUrNz.js +0 -124
  523. package/dist/vue_ui_thermometer-DxgqWKlE.js +0 -123
  524. package/dist/vue_ui_tiremarks-CdEPieWV.js +0 -122
  525. package/dist/vue_ui_treemap-DoEtkRN6.js +0 -328
  526. package/dist/vue_ui_vertical_bar-CP-MKz1j.js +0 -247
  527. package/dist/vue_ui_waffle-DE_DiSVP.js +0 -299
  528. package/dist/vue_ui_wheel-DZ_nR--t.js +0 -133
  529. package/dist/vue_ui_word_cloud-C-qIMNLu.js +0 -254
  530. package/dist/vue_ui_xy-CcJADijP.js +0 -614
  531. package/dist/vue_ui_xy_canvas-DrNSzYWq.js +0 -487
@@ -1,1242 +0,0 @@
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 };