vue-data-ui 3.17.13 → 3.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (493) hide show
  1. package/README.md +1 -1
  2. package/dist/A11yDataTable-q2-8fSlJ.js +45 -0
  3. package/dist/Arrow-BU2Z7mfz.js +116 -0
  4. package/dist/BaseDraggableDialog-LE75fWYz.js +272 -0
  5. package/dist/BaseIcon-CL6Y7alf.js +499 -0
  6. package/dist/BaseLegendToggle-BvPOFMVZ.js +56 -0
  7. package/dist/BaseScanner-C7dmAref.js +27 -0
  8. package/dist/BaseZoomControls-DSwf4HhS.js +111 -0
  9. package/dist/ColorPicker-BGbMrtup.js +255 -0
  10. package/dist/DataTable-ZG4GX2Zg.js +150 -0
  11. package/dist/Legend-BPb8i4aC.js +114 -0
  12. package/dist/NonSvgPenAndPaper-BT3YMjgo.js +577 -0
  13. package/dist/PackageVersion-B1cPtZ3Q.js +11 -0
  14. package/dist/PenAndPaper-DxBCVZAx.js +461 -0
  15. package/dist/RecursiveCircles-DPpLel6f.js +117 -0
  16. package/dist/RecursiveLabels-DBMJf_to.js +56 -0
  17. package/dist/RecursiveLinks-D06dBL4a.js +78 -0
  18. package/dist/Shape-Dbug7CtK.js +141 -0
  19. package/dist/Slicer-SEdaKYPX.js +1144 -0
  20. package/dist/SlicerPreview-BLlQTUI_.js +1523 -0
  21. package/dist/SparkTooltip-BaONR2nq.js +93 -0
  22. package/dist/Title-ByyzJzpc.js +87 -0
  23. package/dist/Tooltip-V6Z0Ko-1.js +307 -0
  24. package/dist/UserOptions-Gaw1761w.js +1407 -0
  25. package/dist/_plugin-vue_export-helper-Dq1MygBL.js +8 -0
  26. package/dist/canvas-lib-DTaADQOK.js +79 -0
  27. package/dist/components/arrow.js +2 -5
  28. package/dist/components/vue-ui-3d-bar.js +2 -5
  29. package/dist/components/vue-ui-accordion.js +2 -5
  30. package/dist/components/vue-ui-age-pyramid.js +2 -5
  31. package/dist/components/vue-ui-annotator.js +2 -5
  32. package/dist/components/vue-ui-bullet.js +2 -5
  33. package/dist/components/vue-ui-bump.js +2 -5
  34. package/dist/components/vue-ui-candlestick.js +2 -5
  35. package/dist/components/vue-ui-carousel-table.js +2 -5
  36. package/dist/components/vue-ui-chestnut.js +2 -5
  37. package/dist/components/vue-ui-chord.js +2 -5
  38. package/dist/components/vue-ui-circle-pack.js +2 -5
  39. package/dist/components/vue-ui-cursor.js +2 -5
  40. package/dist/components/vue-ui-dag.js +2 -5
  41. package/dist/components/vue-ui-dashboard.js +2 -5
  42. package/dist/components/vue-ui-digits.js +2 -5
  43. package/dist/components/vue-ui-donut-evolution.js +2 -5
  44. package/dist/components/vue-ui-donut.js +2 -5
  45. package/dist/components/vue-ui-dumbbell.js +2 -5
  46. package/dist/components/vue-ui-flow.js +2 -5
  47. package/dist/components/vue-ui-funnel.js +2 -5
  48. package/dist/components/vue-ui-galaxy.js +2 -5
  49. package/dist/components/vue-ui-gauge.js +2 -5
  50. package/dist/components/vue-ui-geo.js +2 -5
  51. package/dist/components/vue-ui-gizmo.js +2 -5
  52. package/dist/components/vue-ui-heatmap.js +2 -5
  53. package/dist/components/vue-ui-history-plot.js +2 -5
  54. package/dist/components/vue-ui-horizontal-bar.js +2 -5
  55. package/dist/components/vue-ui-icon.js +2 -5
  56. package/dist/components/vue-ui-kpi.js +2 -5
  57. package/dist/components/vue-ui-mini-loader.js +2 -5
  58. package/dist/components/vue-ui-molecule.js +2 -5
  59. package/dist/components/vue-ui-mood-radar.js +2 -5
  60. package/dist/components/vue-ui-nested-donuts.js +2 -5
  61. package/dist/components/vue-ui-onion.js +2 -5
  62. package/dist/components/vue-ui-parallel-coordinate-plot.js +2 -5
  63. package/dist/components/vue-ui-pattern-seed.js +2 -5
  64. package/dist/components/vue-ui-pattern.js +2 -5
  65. package/dist/components/vue-ui-quadrant.js +2 -5
  66. package/dist/components/vue-ui-quick-chart.js +2 -5
  67. package/dist/components/vue-ui-radar.js +2 -5
  68. package/dist/components/vue-ui-rating.js +2 -5
  69. package/dist/components/vue-ui-relation-circle.js +2 -5
  70. package/dist/components/vue-ui-ridgeline.js +2 -5
  71. package/dist/components/vue-ui-rings.js +2 -5
  72. package/dist/components/vue-ui-scatter.js +2 -5
  73. package/dist/components/vue-ui-skeleton.js +2 -5
  74. package/dist/components/vue-ui-smiley.js +2 -5
  75. package/dist/components/vue-ui-spark-trend.js +2 -5
  76. package/dist/components/vue-ui-sparkbar.js +2 -5
  77. package/dist/components/vue-ui-sparkgauge.js +2 -5
  78. package/dist/components/vue-ui-sparkhistogram.js +2 -5
  79. package/dist/components/vue-ui-sparkline.js +2 -5
  80. package/dist/components/vue-ui-sparkstackbar.js +2 -5
  81. package/dist/components/vue-ui-stackbar.js +2 -5
  82. package/dist/components/vue-ui-stackline.js +2 -5
  83. package/dist/components/vue-ui-strip-plot.js +2 -5
  84. package/dist/components/vue-ui-table-heatmap.js +2 -5
  85. package/dist/components/vue-ui-table-sparkline.js +2 -5
  86. package/dist/components/vue-ui-table.js +2 -5
  87. package/dist/components/vue-ui-thermometer.js +2 -5
  88. package/dist/components/vue-ui-timer.js +2 -5
  89. package/dist/components/vue-ui-tiremarks.js +2 -5
  90. package/dist/components/vue-ui-treemap.js +2 -5
  91. package/dist/components/vue-ui-vertical-bar.js +2 -5
  92. package/dist/components/vue-ui-waffle.js +2 -5
  93. package/dist/components/vue-ui-wheel.js +2 -5
  94. package/dist/components/vue-ui-word-cloud.js +2 -5
  95. package/dist/components/vue-ui-world.js +2 -5
  96. package/dist/components/vue-ui-xy-canvas.js +2 -5
  97. package/dist/components/vue-ui-xy.js +2 -5
  98. package/dist/dom-to-png-C9UOX1d2.js +237 -0
  99. package/dist/exposedLib-BQjH823l.js +19 -0
  100. package/dist/geoProjections-CQIkC70z.js +146 -0
  101. package/dist/img-NMY-_LiJ.js +74 -0
  102. package/dist/labelUtils-BiSegLOT.js +19 -0
  103. package/dist/lib-B83ZCydz.js +1879 -0
  104. package/dist/patternUtils-B7BWu5bV.js +258 -0
  105. package/dist/pdf-Ey2KFETK.js +90 -0
  106. package/dist/rolldown-runtime-CAFD8bLK.js +11 -0
  107. package/dist/style.css +2 -1
  108. package/dist/types/arrow.d.ts +1 -1
  109. package/dist/types/utils.d.ts +23 -0
  110. package/dist/types/vue-data-ui.d.ts +4766 -630
  111. package/dist/types/vue-ui-3d-bar.d.ts +64 -9
  112. package/dist/types/vue-ui-accordion.d.ts +4 -3
  113. package/dist/types/vue-ui-age-pyramid.d.ts +79 -9
  114. package/dist/types/vue-ui-annotator.d.ts +3 -5
  115. package/dist/types/vue-ui-bullet.d.ts +60 -9
  116. package/dist/types/vue-ui-bump.d.ts +65 -9
  117. package/dist/types/vue-ui-candlestick.d.ts +83 -9
  118. package/dist/types/vue-ui-carousel-table.d.ts +36 -6
  119. package/dist/types/vue-ui-chestnut.d.ts +66 -9
  120. package/dist/types/vue-ui-chord.d.ts +78 -9
  121. package/dist/types/vue-ui-circle-pack.d.ts +86 -9
  122. package/dist/types/vue-ui-cursor.d.ts +4 -2
  123. package/dist/types/vue-ui-dag.d.ts +92 -9
  124. package/dist/types/vue-ui-dashboard.d.ts +43 -6
  125. package/dist/types/vue-ui-digits.d.ts +4 -2
  126. package/dist/types/vue-ui-donut-evolution.d.ts +70 -9
  127. package/dist/types/vue-ui-donut.d.ts +92 -9
  128. package/dist/types/vue-ui-dumbbell.d.ts +65 -9
  129. package/dist/types/vue-ui-flow.d.ts +79 -9
  130. package/dist/types/vue-ui-funnel.d.ts +55 -9
  131. package/dist/types/vue-ui-galaxy.d.ts +83 -9
  132. package/dist/types/vue-ui-gauge.d.ts +64 -9
  133. package/dist/types/vue-ui-geo.d.ts +71 -9
  134. package/dist/types/vue-ui-gizmo.d.ts +17 -6
  135. package/dist/types/vue-ui-heatmap.d.ts +73 -9
  136. package/dist/types/vue-ui-history-plot.d.ts +82 -9
  137. package/dist/types/vue-ui-horizontal-bar.d.ts +84 -9
  138. package/dist/types/vue-ui-icon.d.ts +2 -2
  139. package/dist/types/vue-ui-kpi.d.ts +21 -7
  140. package/dist/types/vue-ui-mini-loader.d.ts +5 -3
  141. package/dist/types/vue-ui-molecule.d.ts +86 -9
  142. package/dist/types/vue-ui-mood-radar.d.ts +66 -9
  143. package/dist/types/vue-ui-nested-donuts.d.ts +80 -9
  144. package/dist/types/vue-ui-onion.d.ts +77 -9
  145. package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +92 -9
  146. package/dist/types/vue-ui-pattern-seed.d.ts +1 -1
  147. package/dist/types/vue-ui-pattern.d.ts +2 -2
  148. package/dist/types/vue-ui-quadrant.d.ts +86 -9
  149. package/dist/types/vue-ui-quick-chart.d.ts +79 -9
  150. package/dist/types/vue-ui-radar.d.ts +83 -9
  151. package/dist/types/vue-ui-rating.d.ts +22 -6
  152. package/dist/types/vue-ui-relation-circle.d.ts +66 -9
  153. package/dist/types/vue-ui-ridgeline.d.ts +69 -9
  154. package/dist/types/vue-ui-rings.d.ts +70 -9
  155. package/dist/types/vue-ui-scatter.d.ts +67 -9
  156. package/dist/types/vue-ui-skeleton.d.ts +3 -2
  157. package/dist/types/vue-ui-smiley.d.ts +3 -2
  158. package/dist/types/vue-ui-spark-trend.d.ts +14 -6
  159. package/dist/types/vue-ui-sparkbar.d.ts +27 -6
  160. package/dist/types/vue-ui-sparkgauge.d.ts +20 -6
  161. package/dist/types/vue-ui-sparkhistogram.d.ts +24 -6
  162. package/dist/types/vue-ui-sparkline.d.ts +35 -6
  163. package/dist/types/vue-ui-sparkstackbar.d.ts +35 -6
  164. package/dist/types/vue-ui-stackbar.d.ts +85 -9
  165. package/dist/types/vue-ui-stackline.d.ts +81 -9
  166. package/dist/types/vue-ui-strip-plot.d.ts +66 -9
  167. package/dist/types/vue-ui-table-heatmap.d.ts +52 -6
  168. package/dist/types/vue-ui-table-sparkline.d.ts +30 -6
  169. package/dist/types/vue-ui-table.d.ts +10 -2
  170. package/dist/types/vue-ui-thermometer.d.ts +46 -9
  171. package/dist/types/vue-ui-timer.d.ts +31 -5
  172. package/dist/types/vue-ui-tiremarks.d.ts +46 -9
  173. package/dist/types/vue-ui-treemap.d.ts +73 -9
  174. package/dist/types/vue-ui-vertical-bar.d.ts +2 -2
  175. package/dist/types/vue-ui-waffle.d.ts +72 -9
  176. package/dist/types/vue-ui-wheel.d.ts +46 -9
  177. package/dist/types/vue-ui-word-cloud.d.ts +73 -9
  178. package/dist/types/vue-ui-world.d.ts +68 -9
  179. package/dist/types/vue-ui-xy-canvas.d.ts +75 -9
  180. package/dist/types/vue-ui-xy.d.ts +108 -10
  181. package/dist/useAutoSizeLabelsInsideViewbox-De0rTecW.js +50 -0
  182. package/dist/useChartAccessibility-Do37qcw2.js +12 -0
  183. package/dist/useConfig-KnOLHtlJ.js +7419 -0
  184. package/dist/useFitSvgText-C-MEdAfe.js +63 -0
  185. package/dist/useNestedProp-CcxL1gUU.js +10 -0
  186. package/dist/useObjectBindings-Dc8Rf6Qy.js +189 -0
  187. package/dist/usePanZoom-B-4M_gmY.js +157 -0
  188. package/dist/usePrefersMotion-BywLbIko.js +15 -0
  189. package/dist/usePrinter-CMLF900n.js +49 -0
  190. package/dist/useResponsive-CrAInupd.js +19 -0
  191. package/dist/useStableElementSize-0I1IpHPl.js +77 -0
  192. package/dist/useSvgExport-Dtu973wa.js +755 -0
  193. package/dist/useTableResponsive-DrM1xqII.js +24 -0
  194. package/dist/useThemeCheck-rFK9Zlb_.js +24 -0
  195. package/dist/useTimeLabelCollider-Dm55Emzg.js +57 -0
  196. package/dist/useTimeLabels-C0x7zUXP.js +272 -0
  197. package/dist/useUserOptionState-CjPJPTg2.js +15 -0
  198. package/dist/utils.js +27 -44
  199. package/dist/vClickOutside-CbX_bC9A.js +13 -0
  200. package/dist/vue-data-ui-D1REqS_k.js +274 -0
  201. package/dist/vue-data-ui.js +76 -167
  202. package/dist/vue-ui-3d-bar-vO_kSCd6.js +1747 -0
  203. package/dist/vue-ui-accordion-Cf-jZELj.js +81 -0
  204. package/dist/vue-ui-age-pyramid-DHXhrP_3.js +1226 -0
  205. package/dist/vue-ui-annotator-B0o6czmF.js +2899 -0
  206. package/dist/vue-ui-bullet-C93-cf0H.js +700 -0
  207. package/dist/vue-ui-bump-C_Szk9AZ.js +1239 -0
  208. package/dist/vue-ui-candlestick-6JdMEJKO.js +1802 -0
  209. package/dist/vue-ui-carousel-table-CZ_HK0Iw.js +445 -0
  210. package/dist/vue-ui-chestnut-B8ixU585.js +2000 -0
  211. package/dist/vue-ui-chord-DC5sLapz.js +1381 -0
  212. package/dist/vue-ui-circle-pack-CsmSEwt3.js +1183 -0
  213. package/dist/vue-ui-cursor-B-QODIL3.js +283 -0
  214. package/dist/vue-ui-dag-C9LYfjS_.js +2899 -0
  215. package/dist/vue-ui-dashboard-D-f4ZaLi.js +503 -0
  216. package/dist/vue-ui-digits-CcB3odN7.js +209 -0
  217. package/dist/vue-ui-donut-DR0ngnZC.js +2396 -0
  218. package/dist/vue-ui-donut-evolution-BXpOscCe.js +1490 -0
  219. package/dist/vue-ui-dumbbell-CB_clJWA.js +1517 -0
  220. package/dist/vue-ui-flow-CUiOAEy1.js +1223 -0
  221. package/dist/vue-ui-funnel-BAlGDK0o.js +767 -0
  222. package/dist/vue-ui-galaxy-DbYNfSHb.js +1062 -0
  223. package/dist/vue-ui-gauge-Cie7jykM.js +910 -0
  224. package/dist/vue-ui-geo-Ce_gBRye.js +1504 -0
  225. package/dist/vue-ui-gizmo-B9POi_SN.js +225 -0
  226. package/dist/vue-ui-heatmap-DFfRSbnk.js +1556 -0
  227. package/dist/vue-ui-history-plot-DHp5WFgx.js +1551 -0
  228. package/dist/vue-ui-horizontal-bar-DI4yoARv.js +1669 -0
  229. package/dist/vue-ui-kpi-oUfso4UP.js +96 -0
  230. package/dist/vue-ui-mini-loader-aZMi1_uX.js +125 -0
  231. package/dist/vue-ui-molecule-D72kzel_.js +912 -0
  232. package/dist/vue-ui-mood-radar-Tw2ZFP7Y.js +1138 -0
  233. package/dist/vue-ui-nested-donuts-Bza1LczX.js +1472 -0
  234. package/dist/vue-ui-onion-BOuuib5d.js +1188 -0
  235. package/dist/vue-ui-parallel-coordinate-plot-BuQUq6-o.js +1413 -0
  236. package/dist/vue-ui-pattern-Bj-IPFr2.js +154 -0
  237. package/dist/vue-ui-pattern-seed-abRweCDE.js +61 -0
  238. package/dist/vue-ui-quadrant-zNFIXNt9.js +1966 -0
  239. package/dist/vue-ui-quick-chart-B1a8QVUn.js +2459 -0
  240. package/dist/vue-ui-radar-VFn-YP_2.js +1214 -0
  241. package/dist/vue-ui-rating-Dxgn21FA.js +343 -0
  242. package/dist/vue-ui-relation-circle-B0sZaCgX.js +914 -0
  243. package/dist/vue-ui-ridgeline-BsBAbg5V.js +1612 -0
  244. package/dist/vue-ui-rings-CDwUzMF-.js +1231 -0
  245. package/dist/vue-ui-scatter-Du_b-zM8.js +2380 -0
  246. package/dist/vue-ui-skeleton-BAq6J_6G.js +2556 -0
  247. package/dist/vue-ui-smiley-CoHvkS0c.js +356 -0
  248. package/dist/vue-ui-spark-trend-BmCcJ17C.js +438 -0
  249. package/dist/vue-ui-sparkbar-9z05IMx8.js +393 -0
  250. package/dist/vue-ui-sparkgauge-BlWri9DP.js +255 -0
  251. package/dist/vue-ui-sparkhistogram-CHZTt8d8.js +560 -0
  252. package/dist/vue-ui-sparkline-DirLW9Nd.js +1503 -0
  253. package/dist/vue-ui-sparkstackbar-Dk6cEI2o.js +660 -0
  254. package/dist/vue-ui-stackbar-DNIrGHkt.js +2235 -0
  255. package/dist/vue-ui-stackline-HoWn_ur2.js +2362 -0
  256. package/dist/vue-ui-strip-plot-Bi8u_fLr.js +1328 -0
  257. package/dist/vue-ui-table-XLjOOfdI.js +1338 -0
  258. package/dist/vue-ui-table-heatmap-DvnFiveI.js +334 -0
  259. package/dist/vue-ui-table-sparkline-CSZf8XxP.js +697 -0
  260. package/dist/vue-ui-thermometer-7eUO_7CP.js +753 -0
  261. package/dist/vue-ui-timer-DCbxsREb.js +439 -0
  262. package/dist/vue-ui-tiremarks-p_sfTufv.js +542 -0
  263. package/dist/vue-ui-treemap-BdZOW7TM.js +1575 -0
  264. package/dist/vue-ui-waffle-Bf9dWWCM.js +1350 -0
  265. package/dist/vue-ui-wheel-CZrIiB0K.js +875 -0
  266. package/dist/vue-ui-word-cloud-BeLjxoRe.js +1644 -0
  267. package/dist/vue-ui-world-D9ahzEQ2.js +14252 -0
  268. package/dist/vue-ui-xy-DrvbVuHO.js +4063 -0
  269. package/dist/vue-ui-xy-canvas-DU7vFrQr.js +1774 -0
  270. package/dist/vue_ui_3d_bar-CXKqO5Ej.js +185 -0
  271. package/dist/vue_ui_age_pyramid-BON8QI6X.js +301 -0
  272. package/dist/vue_ui_bullet-CE5sFT7u.js +186 -0
  273. package/dist/vue_ui_bump-frnXaXul.js +201 -0
  274. package/dist/vue_ui_candlestick-sY6UtOop.js +374 -0
  275. package/dist/vue_ui_chestnut-BiUZFv40.js +305 -0
  276. package/dist/vue_ui_chord-DpyR_b9A.js +275 -0
  277. package/dist/vue_ui_circle_pack-DBKz_Fi_.js +130 -0
  278. package/dist/vue_ui_dag-Ci_MOnvd.js +258 -0
  279. package/dist/vue_ui_donut-Cx2_BGcQ.js +358 -0
  280. package/dist/vue_ui_donut_evolution-CAJefrHs.js +717 -0
  281. package/dist/vue_ui_dumbbell-CClzAZTN.js +304 -0
  282. package/dist/vue_ui_flow-CCHO1Lo9.js +238 -0
  283. package/dist/vue_ui_funnel-h8q2mRpC.js +234 -0
  284. package/dist/vue_ui_galaxy-70vtkEBw.js +265 -0
  285. package/dist/vue_ui_gauge-C17CgfzN.js +178 -0
  286. package/dist/vue_ui_geo-C0UbQ0Lc.js +248 -0
  287. package/dist/vue_ui_heatmap-BqPP3J4M.js +319 -0
  288. package/dist/vue_ui_history_plot-C5nytDHh.js +413 -0
  289. package/dist/vue_ui_horizontal_bar-Bqxorkc_.js +341 -0
  290. package/dist/vue_ui_molecule-Dka4JBOp.js +231 -0
  291. package/dist/vue_ui_mood_radar-Dg4ijm53.js +281 -0
  292. package/dist/vue_ui_nested_donuts-BY9cOoHF.js +273 -0
  293. package/dist/vue_ui_onion-DTV9cup-.js +293 -0
  294. package/dist/vue_ui_parallel_coordinate_plot-CNWrDh96.js +278 -0
  295. package/dist/vue_ui_quadrant-3kjYvxpj.js +428 -0
  296. package/dist/vue_ui_quick_chart--VaYQuM4.js +139 -0
  297. package/dist/vue_ui_radar-Dxx9GJmj.js +306 -0
  298. package/dist/vue_ui_relation_circle-Cr0I2SoU.js +98 -0
  299. package/dist/vue_ui_ridgeline-CAtYca4b.js +767 -0
  300. package/dist/vue_ui_rings-DXC1VeX5.js +320 -0
  301. package/dist/vue_ui_scatter-D2S2j0ap.js +479 -0
  302. package/dist/vue_ui_spark_trend-BHMQ6_1p.js +82 -0
  303. package/dist/vue_ui_sparkbar-BR6hbuDE.js +64 -0
  304. package/dist/vue_ui_sparkgauge-xfPRHnMv.js +90 -0
  305. package/dist/vue_ui_sparkhistogram-CJRENZ1C.js +123 -0
  306. package/dist/vue_ui_sparkline-wgk7yO7E.js +151 -0
  307. package/dist/vue_ui_sparkstackbar-C5qZMmAl.js +175 -0
  308. package/dist/vue_ui_stackbar-BW_C3MXw.js +412 -0
  309. package/dist/vue_ui_stackline-DpI2LnjO.js +426 -0
  310. package/dist/vue_ui_strip_plot-8ZelqC5b.js +301 -0
  311. package/dist/vue_ui_table_heatmap-BGUjA0WA.js +80 -0
  312. package/dist/vue_ui_table_sparkline-i0Q-N_we.js +124 -0
  313. package/dist/vue_ui_thermometer-CuN7Gpez.js +123 -0
  314. package/dist/vue_ui_tiremarks-A6UHC0c3.js +122 -0
  315. package/dist/vue_ui_treemap-BQp06q-g.js +328 -0
  316. package/dist/vue_ui_vertical_bar-CJSD1FZS.js +247 -0
  317. package/dist/vue_ui_waffle-C_Ev4l7B.js +292 -0
  318. package/dist/vue_ui_wheel-DdkTPXJU.js +133 -0
  319. package/dist/vue_ui_word_cloud-B1PbsYPc.js +254 -0
  320. package/dist/vue_ui_xy-BYPqfYyx.js +482 -0
  321. package/dist/vue_ui_xy_canvas-CMHGNrLf.js +408 -0
  322. package/package.json +7 -7
  323. package/dist/A11yDataTable-BpmuNomI.js +0 -54
  324. package/dist/Arrow-dSvLFssU.js +0 -101
  325. package/dist/BaseDraggableDialog-Di8Hlru3.js +0 -249
  326. package/dist/BaseIcon-DX0hTWa-.js +0 -476
  327. package/dist/BaseLegendToggle-cMP8M2u0.js +0 -47
  328. package/dist/BaseScanner-C2j3TsSY.js +0 -36
  329. package/dist/BaseZoomControls-CVSC1-SU.js +0 -123
  330. package/dist/ColorPicker-bAxGcXK0.js +0 -271
  331. package/dist/DataTable-cMnb68Ik.js +0 -145
  332. package/dist/Legend-DGN5lY60.js +0 -104
  333. package/dist/NonSvgPenAndPaper-B6E0zEYe.js +0 -573
  334. package/dist/PackageVersion-BfrCAH6_.js +0 -10
  335. package/dist/PenAndPaper-CJDoB5H9.js +0 -527
  336. package/dist/RecursiveCircles-BE6GoMmo.js +0 -101
  337. package/dist/RecursiveLabels-BhQMS9Sm.js +0 -55
  338. package/dist/RecursiveLinks-BDwyYfP-.js +0 -83
  339. package/dist/Shape-CxJ5_Rre.js +0 -116
  340. package/dist/Slicer-D7UcO8sN.js +0 -1145
  341. package/dist/SlicerPreview-D_CgrN_7.js +0 -1580
  342. package/dist/SparkTooltip-D4bM-kfz.js +0 -68
  343. package/dist/Title-BbKoiBk2.js +0 -88
  344. package/dist/Tooltip-Cvt7Fi0Q.js +0 -299
  345. package/dist/UserOptions-DVduN6X7.js +0 -1474
  346. package/dist/_plugin-vue_export-helper-CHgC5LLL.js +0 -9
  347. package/dist/dom-to-png-DGvx6i5V.js +0 -262
  348. package/dist/exposedLib-sJvY1pST.js +0 -22
  349. package/dist/geoProjections-BFq2sOBY.js +0 -162
  350. package/dist/img-CjTQXS0U.js +0 -57
  351. package/dist/labelUtils-DX9oyq3C.js +0 -26
  352. package/dist/lib-DMzrGQHK.js +0 -2477
  353. package/dist/patternUtils-BINhU4Ky.js +0 -615
  354. package/dist/pdf-C4H4o1Cj.js +0 -88
  355. package/dist/useAutoSizeLabelsInsideViewbox-izlGDfwu.js +0 -55
  356. package/dist/useChartAccessibility-cp6XQtqi.js +0 -15
  357. package/dist/useConfig-CG4HT3wS.js +0 -7901
  358. package/dist/useFitSvgText-2crs6Fv5.js +0 -69
  359. package/dist/useNestedProp-DH0BEVVS.js +0 -13
  360. package/dist/useObjectBindings-Dixg-RIe.js +0 -228
  361. package/dist/usePanZoom-BbDhcKWf.js +0 -141
  362. package/dist/usePrefersMotion-Co0nj1eS.js +0 -17
  363. package/dist/usePrinter-C4t8DdQ-.js +0 -51
  364. package/dist/useResponsive-DfdjqQps.js +0 -195
  365. package/dist/useStableElementSize-C48ZVcZQ.js +0 -77
  366. package/dist/useSvgExport-BTG4hVPO.js +0 -870
  367. package/dist/useTableResponsive-BpfiEtzR.js +0 -26
  368. package/dist/useThemeCheck-C9Ccl7U9.js +0 -36
  369. package/dist/useTimeLabelCollider-D3JeJ6Ye.js +0 -86
  370. package/dist/useTimeLabels-Cv0tD9In.js +0 -307
  371. package/dist/useUserOptionState-B7Ej974k.js +0 -19
  372. package/dist/vClickOutside-C6WiFswA.js +0 -13
  373. package/dist/vue-data-ui-D1ZI7Y4l.js +0 -433
  374. package/dist/vue-ui-3d-bar-DEjKYzI5.js +0 -1824
  375. package/dist/vue-ui-accordion-DFtpH_16.js +0 -92
  376. package/dist/vue-ui-age-pyramid-LiC9hTjP.js +0 -1179
  377. package/dist/vue-ui-annotator-DrKnQoHf.js +0 -2991
  378. package/dist/vue-ui-bullet-DdxEINdq.js +0 -769
  379. package/dist/vue-ui-bump-CdgO1V7z.js +0 -1250
  380. package/dist/vue-ui-candlestick-DxJnPwto.js +0 -1775
  381. package/dist/vue-ui-carousel-table-CMefu5TI.js +0 -487
  382. package/dist/vue-ui-chestnut-BnGN72PO.js +0 -2001
  383. package/dist/vue-ui-chord-DWyar45U.js +0 -1457
  384. package/dist/vue-ui-circle-pack-CQ8vF2XH.js +0 -1076
  385. package/dist/vue-ui-cursor-HHOdkmyB.js +0 -260
  386. package/dist/vue-ui-dag-BDWPBElq.js +0 -3209
  387. package/dist/vue-ui-dashboard-Dg_I3X2a.js +0 -627
  388. package/dist/vue-ui-digits-CZmdir8V.js +0 -211
  389. package/dist/vue-ui-donut-BKegKHxj.js +0 -2608
  390. package/dist/vue-ui-donut-evolution-047dE4Lu.js +0 -1578
  391. package/dist/vue-ui-dumbbell-BL4ZMChj.js +0 -1552
  392. package/dist/vue-ui-flow-BAqtyunQ.js +0 -1279
  393. package/dist/vue-ui-funnel-Pl2sEOZs.js +0 -823
  394. package/dist/vue-ui-galaxy-CBF5Wsax.js +0 -1108
  395. package/dist/vue-ui-gauge-COV_S0Vp.js +0 -955
  396. package/dist/vue-ui-geo-CaPXElPf.js +0 -1510
  397. package/dist/vue-ui-gizmo-Csn7up96.js +0 -238
  398. package/dist/vue-ui-heatmap-Cpb0BYLa.js +0 -1694
  399. package/dist/vue-ui-history-plot-ZZEdzFCE.js +0 -1564
  400. package/dist/vue-ui-horizontal-bar-BonPYUZf.js +0 -1735
  401. package/dist/vue-ui-kpi-DoHhSsDK.js +0 -130
  402. package/dist/vue-ui-mini-loader-DOTBVCLE.js +0 -138
  403. package/dist/vue-ui-molecule-mVYnXouV.js +0 -945
  404. package/dist/vue-ui-mood-radar-DPvwnc3z.js +0 -1197
  405. package/dist/vue-ui-nested-donuts-C7E6TXrZ.js +0 -1702
  406. package/dist/vue-ui-onion-BGIlFhGB.js +0 -1207
  407. package/dist/vue-ui-parallel-coordinate-plot-C6G_A9ua.js +0 -1432
  408. package/dist/vue-ui-pattern-mXZW_pvA.js +0 -146
  409. package/dist/vue-ui-pattern-seed-BcNlxb2i.js +0 -36
  410. package/dist/vue-ui-quadrant-CVpIeYOB.js +0 -1918
  411. package/dist/vue-ui-quick-chart-CcV8qn9-.js +0 -2514
  412. package/dist/vue-ui-radar-G4AV1rBo.js +0 -1259
  413. package/dist/vue-ui-rating-CqPlP88P.js +0 -370
  414. package/dist/vue-ui-relation-circle-CkZ8oFVV.js +0 -856
  415. package/dist/vue-ui-ridgeline-CBTyYn6Q.js +0 -1737
  416. package/dist/vue-ui-rings-CSIOqFiP.js +0 -1256
  417. package/dist/vue-ui-scatter-AuC46ufT.js +0 -2345
  418. package/dist/vue-ui-skeleton-YD6rZjY_.js +0 -2475
  419. package/dist/vue-ui-smiley-CY0WFv2j.js +0 -391
  420. package/dist/vue-ui-spark-trend-D8KGIt-R.js +0 -423
  421. package/dist/vue-ui-sparkbar-BjWGJjzN.js +0 -424
  422. package/dist/vue-ui-sparkgauge-Dab5mss7.js +0 -285
  423. package/dist/vue-ui-sparkhistogram-D0rsmiPh.js +0 -559
  424. package/dist/vue-ui-sparkline-BCaauQuX.js +0 -1550
  425. package/dist/vue-ui-sparkstackbar-NT5yD6xA.js +0 -672
  426. package/dist/vue-ui-stackbar-ChBk_A1c.js +0 -2393
  427. package/dist/vue-ui-stackline-Cujamlze.js +0 -2490
  428. package/dist/vue-ui-strip-plot-CGBumG6I.js +0 -1293
  429. package/dist/vue-ui-table-BX2iMku4.js +0 -1726
  430. package/dist/vue-ui-table-heatmap-KXgXYVXm.js +0 -353
  431. package/dist/vue-ui-table-sparkline-C3NWnry0.js +0 -803
  432. package/dist/vue-ui-thermometer-DvdceZB1.js +0 -743
  433. package/dist/vue-ui-timer-XWAbvuAY.js +0 -504
  434. package/dist/vue-ui-tiremarks-B-YI1RlT.js +0 -578
  435. package/dist/vue-ui-treemap-AzorGfmd.js +0 -1757
  436. package/dist/vue-ui-waffle-CKtUvdTE.js +0 -1442
  437. package/dist/vue-ui-wheel-CnsLEArZ.js +0 -908
  438. package/dist/vue-ui-word-cloud-iAme2ihe.js +0 -1644
  439. package/dist/vue-ui-world-D5rrC9rw.js +0 -14452
  440. package/dist/vue-ui-xy-C_Q9chQe.js +0 -4468
  441. package/dist/vue-ui-xy-canvas-DG0299qE.js +0 -2107
  442. package/dist/vue_ui_3d_bar-CL0iX8Qi.js +0 -22
  443. package/dist/vue_ui_age_pyramid-8H8WSL7J.js +0 -22
  444. package/dist/vue_ui_bullet-Ckqieba5.js +0 -22
  445. package/dist/vue_ui_bump-CIht647H.js +0 -22
  446. package/dist/vue_ui_candlestick-BAMn-VGw.js +0 -22
  447. package/dist/vue_ui_chestnut-BloFvDuV.js +0 -22
  448. package/dist/vue_ui_chord-Bc1_ocwK.js +0 -22
  449. package/dist/vue_ui_circle_pack-CLmw8nHe.js +0 -22
  450. package/dist/vue_ui_dag-ZOwuDBZ8.js +0 -22
  451. package/dist/vue_ui_donut-CA4dgV8J.js +0 -22
  452. package/dist/vue_ui_donut_evolution-DFQU-rqE.js +0 -22
  453. package/dist/vue_ui_dumbbell-BCOHDiPk.js +0 -22
  454. package/dist/vue_ui_flow-BErINgox.js +0 -22
  455. package/dist/vue_ui_funnel-yuaMZ-yb.js +0 -22
  456. package/dist/vue_ui_galaxy-D95AN4FT.js +0 -22
  457. package/dist/vue_ui_gauge-BMEuRC4J.js +0 -22
  458. package/dist/vue_ui_geo--kg4VoVX.js +0 -22
  459. package/dist/vue_ui_heatmap-C9u993qE.js +0 -22
  460. package/dist/vue_ui_history_plot-BCKk1CrQ.js +0 -22
  461. package/dist/vue_ui_horizontal_bar-BEagrV0T.js +0 -22
  462. package/dist/vue_ui_molecule-BtvlINUh.js +0 -22
  463. package/dist/vue_ui_mood_radar-BUs6Fdn8.js +0 -22
  464. package/dist/vue_ui_nested_donuts-DvTrWT_C.js +0 -22
  465. package/dist/vue_ui_onion-CxWH9_OZ.js +0 -22
  466. package/dist/vue_ui_parallel_coordinate_plot-DH3cFJ3n.js +0 -22
  467. package/dist/vue_ui_quadrant-DjRs--Uz.js +0 -22
  468. package/dist/vue_ui_quick_chart-DMCjEjPe.js +0 -22
  469. package/dist/vue_ui_radar-DryGBOrz.js +0 -22
  470. package/dist/vue_ui_relation_circle-CCroen7h.js +0 -22
  471. package/dist/vue_ui_ridgeline-j4rVmpEp.js +0 -22
  472. package/dist/vue_ui_rings-CxOrekqA.js +0 -22
  473. package/dist/vue_ui_scatter-Bu1EAy9H.js +0 -22
  474. package/dist/vue_ui_spark_trend-3BjrSprO.js +0 -22
  475. package/dist/vue_ui_sparkbar-BsMzz5Um.js +0 -22
  476. package/dist/vue_ui_sparkgauge-KnjASOZs.js +0 -22
  477. package/dist/vue_ui_sparkhistogram-GBdzIVvS.js +0 -22
  478. package/dist/vue_ui_sparkline-CQ8DJVJx.js +0 -22
  479. package/dist/vue_ui_sparkstackbar-BSexvOuM.js +0 -22
  480. package/dist/vue_ui_stackbar-CuDC4O4b.js +0 -22
  481. package/dist/vue_ui_stackline-QTh-nuxE.js +0 -22
  482. package/dist/vue_ui_strip_plot-B9ypi_F3.js +0 -22
  483. package/dist/vue_ui_table_heatmap-CkvipPVy.js +0 -16
  484. package/dist/vue_ui_table_sparkline-yQdijcyJ.js +0 -22
  485. package/dist/vue_ui_thermometer-BTmjRBH8.js +0 -22
  486. package/dist/vue_ui_tiremarks-DBotWfi8.js +0 -22
  487. package/dist/vue_ui_treemap-D9-AIkT-.js +0 -22
  488. package/dist/vue_ui_vertical_bar-CELc39b8.js +0 -18
  489. package/dist/vue_ui_waffle-M2h-uJQ_.js +0 -22
  490. package/dist/vue_ui_wheel-LqBz3lv4.js +0 -22
  491. package/dist/vue_ui_word_cloud-mKAtBxHR.js +0 -22
  492. package/dist/vue_ui_xy-esktmpg-.js +0 -22
  493. package/dist/vue_ui_xy_canvas-6BBDSowT.js +0 -22
@@ -0,0 +1,1517 @@
1
+ import { t as e } from "./rolldown-runtime-CAFD8bLK.js";
2
+ import { G as t, H as n, J as r, S as i, St as a, W as o, X as s, h as ee, i as c, jt as te, ot as ne, t as re, v as ie, yt as l, zt as ae } from "./lib-B83ZCydz.js";
3
+ import { t as oe } from "./useConfig-KnOLHtlJ.js";
4
+ import { t as se } from "./usePrinter-CMLF900n.js";
5
+ import { n as ce, t as le } from "./BaseScanner-C7dmAref.js";
6
+ import { t as ue } from "./useSvgExport-Dtu973wa.js";
7
+ import { t as de } from "./useNestedProp-CcxL1gUU.js";
8
+ import { t as fe } from "./useThemeCheck-rFK9Zlb_.js";
9
+ import { t as pe } from "./useTimeLabelCollider-Dm55Emzg.js";
10
+ import { t as me } from "./img-NMY-_LiJ.js";
11
+ import { n as he } from "./Title-ByyzJzpc.js";
12
+ import { t as ge } from "./_plugin-vue_export-helper-Dq1MygBL.js";
13
+ import { c as _e } from "./canvas-lib-DTaADQOK.js";
14
+ import { t as ve } from "./useResponsive-CrAInupd.js";
15
+ import { t as ye } from "./A11yDataTable-q2-8fSlJ.js";
16
+ import { t as be } from "./useUserOptionState-CjPJPTg2.js";
17
+ import { t as xe } from "./useChartAccessibility-Do37qcw2.js";
18
+ import { t as Se } from "./Legend-BPb8i4aC.js";
19
+ import { t as Ce } from "./vue_ui_dumbbell-CClzAZTN.js";
20
+ import { Fragment as u, Teleport as we, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createSlots as Te, createTextVNode as Ee, createVNode as De, defineAsyncComponent as g, guardReactiveProps as _, mergeProps as Oe, nextTick as ke, normalizeClass as Ae, normalizeProps as v, normalizeStyle as y, onBeforeUnmount as je, onMounted as Me, openBlock as b, ref as x, renderList as S, renderSlot as C, resolveDynamicComponent as Ne, shallowRef as Pe, toDisplayString as w, toRefs as Fe, unref as T, vShow as E, watch as Ie, watchEffect as Le, withCtx as D, withDirectives as Re } from "vue";
21
+ //#region src/components/vue-ui-dumbbell.vue
22
+ var ze = /* @__PURE__ */ e({ default: () => Xt }), Be = ["id"], Ve = ["id"], He = ["id"], Ue = { style: { position: "relative" } }, We = [
23
+ "xmlns",
24
+ "viewBox",
25
+ "aria-describedby"
26
+ ], Ge = [
27
+ "x",
28
+ "y",
29
+ "width",
30
+ "height"
31
+ ], Ke = { key: 1 }, qe = [
32
+ "x1",
33
+ "x2",
34
+ "y1",
35
+ "y2",
36
+ "stroke",
37
+ "stroke-width",
38
+ "stroke-dasharray"
39
+ ], Je = { key: 2 }, Ye = [
40
+ "x1",
41
+ "x2",
42
+ "y1",
43
+ "y2",
44
+ "stroke",
45
+ "stroke-width",
46
+ "stroke-dasharray"
47
+ ], Xe = [
48
+ "x1",
49
+ "x2",
50
+ "y1",
51
+ "y2",
52
+ "stroke",
53
+ "stroke-width",
54
+ "stroke-dasharray"
55
+ ], Ze = [
56
+ "transform",
57
+ "font-size",
58
+ "fill"
59
+ ], Qe = [
60
+ "x",
61
+ "y",
62
+ "font-size",
63
+ "fill",
64
+ "font-weight",
65
+ "onMouseenter",
66
+ "onMouseleave",
67
+ "onClick"
68
+ ], $e = [
69
+ "x",
70
+ "y",
71
+ "font-size",
72
+ "fill",
73
+ "onMouseenter",
74
+ "onMouseleave",
75
+ "onClick"
76
+ ], et = [
77
+ "x",
78
+ "y",
79
+ "font-size",
80
+ "fill"
81
+ ], tt = [
82
+ "transform",
83
+ "font-size",
84
+ "fill",
85
+ "font-weight",
86
+ "text-anchor"
87
+ ], nt = [
88
+ "d",
89
+ "stroke",
90
+ "stroke-width",
91
+ "stroke-dasharray"
92
+ ], rt = [
93
+ "d",
94
+ "stroke",
95
+ "stroke-width",
96
+ "stroke-dasharray"
97
+ ], it = [
98
+ "x",
99
+ "y",
100
+ "height",
101
+ "width",
102
+ "fill"
103
+ ], at = [
104
+ "transform",
105
+ "fill",
106
+ "font-size"
107
+ ], ot = ["id"], st = ["stop-color"], ct = ["stop-color"], lt = ["stop-color"], ut = ["id"], dt = ["stop-color"], ft = ["stop-color"], pt = ["stop-color"], mt = ["id"], ht = ["stop-color"], gt = ["stop-color"], _t = ["stop-color"], vt = ["id"], yt = ["stop-color"], bt = ["stop-color"], xt = ["stop-color"], St = ["id"], Ct = ["stop-color"], wt = ["stop-color"], Tt = ["stop-color"], Et = ["id"], Dt = ["stop-color"], Ot = ["stop-color"], kt = ["id"], At = ["stop-color"], jt = ["stop-color"], Mt = { key: 0 }, Nt = { key: 0 }, Pt = ["d", "fill"], Ft = { key: 1 }, It = [
108
+ "x",
109
+ "y",
110
+ "height",
111
+ "width",
112
+ "fill"
113
+ ], Lt = [
114
+ "cx",
115
+ "cy",
116
+ "r",
117
+ "fill",
118
+ "stroke",
119
+ "stroke-width"
120
+ ], Rt = [
121
+ "cx",
122
+ "cy",
123
+ "r",
124
+ "fill",
125
+ "stroke",
126
+ "stroke-width"
127
+ ], zt = { key: 7 }, Bt = [
128
+ "x",
129
+ "y",
130
+ "fill",
131
+ "font-size"
132
+ ], Vt = { key: 8 }, Ht = [
133
+ "x",
134
+ "y",
135
+ "fill",
136
+ "font-size"
137
+ ], Ut = [
138
+ "x",
139
+ "y",
140
+ "width",
141
+ "height",
142
+ "fill",
143
+ "onMouseenter",
144
+ "onMouseleave",
145
+ "onClick"
146
+ ], Wt = {
147
+ key: 0,
148
+ style: {
149
+ position: "absolute",
150
+ top: "100%",
151
+ left: "0",
152
+ width: "100%"
153
+ },
154
+ "data-dom-to-png-ignore": "",
155
+ "aria-hidden": "true"
156
+ }, Gt = {
157
+ key: 5,
158
+ class: "vue-data-ui-watermark"
159
+ }, Kt = ["id"], qt = [
160
+ "xmlns",
161
+ "height",
162
+ "width"
163
+ ], Jt = ["fill"], Yt = ["innerHTML"], Xt = /* @__PURE__ */ ge({
164
+ __name: "vue-ui-dumbbell",
165
+ props: {
166
+ config: {
167
+ type: Object,
168
+ default() {
169
+ return {};
170
+ }
171
+ },
172
+ dataset: {
173
+ type: Array,
174
+ default() {
175
+ return [];
176
+ }
177
+ }
178
+ },
179
+ emits: ["selectDatapoint", "copyAlt"],
180
+ setup(e, { expose: ge, emit: ze }) {
181
+ let Xt = g(() => import("./BaseIcon-CL6Y7alf.js").then((e) => e.n)), Zt = g(() => import("./vue-ui-accordion-Cf-jZELj.js").then((e) => e.n)), Qt = g(() => import("./DataTable-ZG4GX2Zg.js")), $t = g(() => import("./PenAndPaper-DxBCVZAx.js").then((e) => e.t)), en = g(() => import("./UserOptions-Gaw1761w.js").then((e) => e.n)), tn = g(() => import("./PackageVersion-B1cPtZ3Q.js").then((e) => e.t)), nn = g(() => import("./BaseDraggableDialog-LE75fWYz.js").then((e) => e.n)), { vue_ui_dumbbell: rn } = oe(), { isThemeValid: an, warnInvalidTheme: on } = fe(), O = e, sn = ze, cn = d({
182
+ get() {
183
+ return !!O.dataset && O.dataset.length;
184
+ },
185
+ set(e) {
186
+ return e;
187
+ }
188
+ }), k = x(n()), ln = x(0), A = x(null), un = x(null), dn = x(null), fn = x(null), pn = x(null), mn = x(0), hn = x(0), gn = x(0), _n = x(!1), vn = x(null), yn = x(null), bn = x(!1), xn = x(!1), Sn = x(null), Cn = x(null), wn = x(null), Tn = x(null), j = x(null), M = x(null), N = x(null), En = x(!1), P = x(!1), F = x(Pn()), I = d(() => F.value.userOptions.useCursorPointer), Dn = d(() => ae({
189
+ defaultConfig: {
190
+ userOptions: { show: !1 },
191
+ table: { show: !1 },
192
+ useAnimation: !1,
193
+ style: { chart: {
194
+ backgroundColor: "#99999930",
195
+ padding: {
196
+ top: 12,
197
+ right: 12,
198
+ bottom: 12,
199
+ left: 12
200
+ },
201
+ grid: {
202
+ horizontalGrid: { stroke: "#6A6A6A" },
203
+ verticalGrid: { stroke: "#6A6A6A" }
204
+ },
205
+ labels: {
206
+ axis: {
207
+ yLabel: "",
208
+ xLabel: ""
209
+ },
210
+ xAxisLabels: { show: !1 },
211
+ yAxisLabels: { show: !1 },
212
+ endLabels: { show: !1 },
213
+ startLabels: { show: !1 }
214
+ },
215
+ legend: { backgroundColor: "transparent" },
216
+ plots: {
217
+ endColor: "#969696",
218
+ startColor: "#DBDBDB",
219
+ stroke: "#6A6A6A",
220
+ evaluationColors: { enable: !1 }
221
+ }
222
+ } }
223
+ },
224
+ userConfig: F.value.skeletonConfig ?? {}
225
+ })), { loading: On, FINAL_DATASET: kn, manualLoading: An } = ce({
226
+ ...Fe(O),
227
+ FINAL_CONFIG: F,
228
+ prepareConfig: Pn,
229
+ skeletonDataset: O.config?.skeletonDataset ?? [
230
+ {
231
+ name: "_",
232
+ start: 21,
233
+ end: 34
234
+ },
235
+ {
236
+ name: "_",
237
+ start: 13,
238
+ end: 21
239
+ },
240
+ {
241
+ name: "_",
242
+ start: 8,
243
+ end: 13
244
+ },
245
+ {
246
+ name: "_",
247
+ start: 5,
248
+ end: 8
249
+ },
250
+ {
251
+ name: "_",
252
+ start: 3,
253
+ end: 5
254
+ }
255
+ ],
256
+ skeletonConfig: ae({
257
+ defaultConfig: F.value,
258
+ userConfig: Dn.value
259
+ })
260
+ }), { userOptionsVisible: jn, setUserOptionsVisibility: Mn, keepUserOptionState: Nn } = be({ config: F.value }), { svgRef: L } = xe({ config: F.value.style.chart.title });
261
+ function Pn() {
262
+ let e = de({
263
+ userConfig: O.config,
264
+ defaultConfig: rn
265
+ }), t = e.theme;
266
+ if (!t) return e;
267
+ if (!an.value(e)) return on(e), e;
268
+ let n = de({
269
+ userConfig: Ce[t] || O.config,
270
+ defaultConfig: e
271
+ });
272
+ return de({
273
+ userConfig: O.config,
274
+ defaultConfig: n
275
+ });
276
+ }
277
+ Ie(() => O.config, (e) => {
278
+ On.value || (F.value = Pn()), jn.value = !F.value.userOptions.showOnChartHover, In(), mn.value += 1, hn.value += 1, gn.value += 1, U.value = F.value.style.chart.rowHeight, W.value = F.value.style.chart.width, B.value.showTable = F.value.table.show;
279
+ }, { deep: !0 }), Ie(() => kn.value, (e) => {
280
+ Array.isArray(e) && e.length > 0 && (An.value = !1), Yn(), Xn();
281
+ }, { deep: !0 });
282
+ let R = Pe(null), z = Pe(null);
283
+ Me(() => {
284
+ _n.value = !0, In();
285
+ });
286
+ let Fn = d(() => !!F.value.debug);
287
+ function In() {
288
+ if (a(O.dataset) ? s({
289
+ componentName: "VueUiDumbbell",
290
+ type: "dataset",
291
+ debug: Fn.value
292
+ }) : O.dataset.forEach((e, t) => {
293
+ ne({
294
+ datasetObject: e,
295
+ requiredAttributes: [
296
+ "name",
297
+ "start",
298
+ "end"
299
+ ]
300
+ }).forEach((e) => {
301
+ cn.value = !1, s({
302
+ componentName: "VueUiDumbbell",
303
+ type: "datasetSerieAttribute",
304
+ property: e,
305
+ index: t,
306
+ debug: Fn.value
307
+ });
308
+ });
309
+ }), F.value.responsive) {
310
+ let e = _e(() => {
311
+ let { width: e, height: t } = ve({
312
+ chart: A.value,
313
+ title: F.value.style.chart.title.text ? un.value : null,
314
+ legend: F.value.style.chart.legend.show ? dn.value : null,
315
+ source: fn.value,
316
+ noTitle: pn.value
317
+ }), n = F.value.style.chart.title.text ? 24 : 0, r = F.value.style.chart.legend.show ? 24 : 0;
318
+ requestAnimationFrame(async () => {
319
+ W.value = Math.max(.1, e), U.value = Math.max(.1, (Math.max(.1, t) - (n + r)) / kn.value.length), lr();
320
+ });
321
+ });
322
+ R.value && (z.value && R.value.unobserve(z.value), R.value.disconnect()), R.value = new ResizeObserver(e), z.value = A.value.parentNode, R.value.observe(z.value);
323
+ }
324
+ lr();
325
+ }
326
+ je(() => {
327
+ Y.value != null && (cancelAnimationFrame(Y.value), Y.value = null), R.value && (z.value && R.value.unobserve(z.value), R.value.disconnect());
328
+ });
329
+ let { isPrinting: Ln, isImaging: Rn, generatePdf: zn, generateImage: Bn } = se({
330
+ elementId: `dumbbell_${k.value}`,
331
+ fileName: F.value.style.chart.title.text || "vue-ui-dumbbell",
332
+ options: F.value.userOptions.print
333
+ }), Vn = d(() => F.value.userOptions.show && !F.value.style.chart.title.text), B = x({ showTable: F.value.table.show });
334
+ Ie(F, () => {
335
+ B.value = { showTable: F.value.table.show };
336
+ }, { immediate: !0 });
337
+ let V = d(() => kn.value.map((e, t) => ({
338
+ ...e,
339
+ start: ie(e.start),
340
+ end: ie(e.end),
341
+ id: e.id ?? `${String(e.name)}__${String(e.start)}__${String(e.end)}__${n()}`
342
+ }))), Hn = d(() => {
343
+ let e = F.value.style.chart.grid, t = V.value.flatMap((e) => [e.start, e.end]).map((e) => Number(e)).filter((e) => Number.isFinite(e)), n = t.length ? Math.min(...t) : 0, r = t.length ? Math.max(...t) : 0;
344
+ return {
345
+ min: e.scaleMin ?? Math.min(n, 0),
346
+ max: e.scaleMax ?? r
347
+ };
348
+ }), H = d(() => ee(Hn.value.min, Hn.value.max, F.value.style.chart.grid.scaleSteps)), U = x(F.value.style.chart.rowHeight), W = x(F.value.style.chart.width);
349
+ function Un() {
350
+ let e = 0;
351
+ Cn.value && (e = Array.from(Cn.value.querySelectorAll("text")).reduce((e, t) => {
352
+ let n = t.getComputedTextLength();
353
+ return n > e ? n : e;
354
+ }, 0));
355
+ let t = Sn.value ? Sn.value.getBoundingClientRect().width : 0;
356
+ return e + t + (t ? 24 + F.value.style.chart.labels.axis.yLabelOffsetX : 0);
357
+ }
358
+ let Wn = x(0), Gn = _e((e) => {
359
+ Wn.value = e;
360
+ }, 100);
361
+ Le((e) => {
362
+ let t = wn.value;
363
+ if (!t) return;
364
+ let n = new ResizeObserver((e) => {
365
+ Gn(e[0].contentRect.height);
366
+ });
367
+ n.observe(t), e(() => n.disconnect());
368
+ }), je(() => {
369
+ Wn.value = 0;
370
+ });
371
+ let Kn = d(() => {
372
+ P.value;
373
+ let e = 0;
374
+ Tn.value && (e = Tn.value.getBBox().height);
375
+ let t = 0;
376
+ return wn.value && (t = Wn.value), e + t;
377
+ }), qn = d(() => V.value.length);
378
+ function Jn(e, t, n) {
379
+ let r = Number(e), i = Number(t.min), a = Number(t.max), o = Number(n.width);
380
+ if (!Number.isFinite(r) || !Number.isFinite(i) || !Number.isFinite(a) || !Number.isFinite(o)) return n.left;
381
+ let s = a - i;
382
+ return s <= 0 ? n.left : n.left + (r - i) / s * o;
383
+ }
384
+ let G = d(() => {
385
+ P.value;
386
+ let e = Un(), t = F.value.style.chart.padding, n = F.value.style.chart.labels.axis.xLabel ? F.value.style.chart.labels.axis.xLabelOffsetY : 0, r = U.value * qn.value - Kn.value - t.top - t.bottom - n, i = r / qn.value, a = U.value * qn.value, o = W.value - e - t.left - t.right, s = H.value.ticks.length * (o / H.value.ticks.length);
387
+ return {
388
+ left: F.value.style.chart.padding.left + e,
389
+ right: W.value - F.value.style.chart.padding.right,
390
+ top: F.value.style.chart.padding.top,
391
+ bottom: a - F.value.style.chart.padding.bottom - Kn.value - n,
392
+ width: o,
393
+ height: r,
394
+ rowHeight: i,
395
+ absoluteHeight: a,
396
+ widthPlotReference: s
397
+ };
398
+ }), K = d(() => Math.min(U.value / 2 * .7, F.value.style.chart.plots.radius)), q = x([]), J = d({
399
+ get() {
400
+ let e = G.value, t = H.value;
401
+ return q.value.map((n, r) => {
402
+ let i = Jn(n.start, t, e), a = Jn(n.endVal, t, e), o = i + (a - i) / 2, s = ![null, void 0].includes(n.start) && ![null, void 0].includes(n.end) && n.end > n.start, ee = ![null, void 0].includes(n.start) && ![null, void 0].includes(n.end) && n.end < n.start, c = ![null, void 0].includes(n.start) && ![null, void 0].includes(n.end) && n.end === n.start || [null, void 0].includes(n.start) || [null, void 0].includes(n.end), te = s ? F.value.style.chart.plots.evaluationColors.positive : ee ? F.value.style.chart.plots.evaluationColors.negative : F.value.style.chart.plots.evaluationColors.neutral;
403
+ return {
404
+ ...n,
405
+ isPositive: s,
406
+ isNegative: ee,
407
+ isNeutral: c,
408
+ evaluationColor: te,
409
+ evaluationGrad: `url(#${s ? "positive" : ee ? "negative" : "neutral"}_grad_${k.value})`,
410
+ startX: i,
411
+ endX: a,
412
+ centerX: o,
413
+ y: e.top + r * e.rowHeight + e.rowHeight / 2
414
+ };
415
+ });
416
+ },
417
+ set(e) {
418
+ q.value = e;
419
+ }
420
+ });
421
+ function Yn() {
422
+ q.value = V.value.map((e) => {
423
+ let t = Number(e.start);
424
+ return {
425
+ ...e,
426
+ endVal: Number.isFinite(t) ? t : 0
427
+ };
428
+ });
429
+ }
430
+ let Y = x(null);
431
+ Me(() => {
432
+ Xn();
433
+ });
434
+ function Xn() {
435
+ if (Y.value != null && (cancelAnimationFrame(Y.value), Y.value = null), Yn(), !F.value.useAnimation) {
436
+ J.value = q.value.map((e) => {
437
+ let t = Number(e.end);
438
+ return {
439
+ ...e,
440
+ endVal: Number.isFinite(t) ? t : e.endVal
441
+ };
442
+ });
443
+ return;
444
+ }
445
+ let e = Math.max(1, Math.min(100, F.value.animationSpeed || 100)) / 100, t = V.value.map((e) => {
446
+ let t = Number(e.start), n = Number(e.end), r = Number.isFinite(t) ? t : 0;
447
+ return (Number.isFinite(n) ? n : r) - r;
448
+ }), n = () => {
449
+ let r = !0;
450
+ J.value = q.value.map((n, i) => {
451
+ let a = Number.isFinite(Number(n.end)) ? Number(n.end) : n.endVal, o = n.endVal + t[i] * e, s = t[i] >= 0 ? Math.min(o, a) : Math.max(o, a);
452
+ return s !== a && (r = !1), {
453
+ ...n,
454
+ endVal: s
455
+ };
456
+ }), r ? Y.value = null : Y.value = requestAnimationFrame(n);
457
+ };
458
+ Y.value = requestAnimationFrame(n);
459
+ }
460
+ let Zn = d(() => F.value.style.chart.plots.evaluationColors.enable ? [
461
+ {
462
+ name: F.value.style.chart.legend.labelNegative,
463
+ color: F.value.style.chart.plots.gradient.show ? `url(#negative_grad_${k.value})` : F.value.style.chart.plots.evaluationColors.negative
464
+ },
465
+ {
466
+ name: F.value.style.chart.legend.labelNeutral,
467
+ color: F.value.style.chart.plots.gradient.show ? `url(#neutral_grad_${k.value})` : F.value.style.chart.plots.evaluationColors.neutral
468
+ },
469
+ {
470
+ name: F.value.style.chart.legend.labelPositive,
471
+ color: F.value.style.chart.plots.gradient.show ? `url(#positive_grad_${k.value})` : F.value.style.chart.plots.evaluationColors.positive
472
+ }
473
+ ] : [{
474
+ name: F.value.style.chart.legend.labelStart,
475
+ color: F.value.style.chart.plots.gradient.show ? `url(#start_grad_${k.value})` : F.value.style.chart.plots.startColor
476
+ }, {
477
+ name: F.value.style.chart.legend.labelEnd,
478
+ color: F.value.style.chart.plots.gradient.show ? `url(#end_grad_${k.value})` : F.value.style.chart.plots.endColor
479
+ }]), Qn = d(() => ({
480
+ cy: "donut-div-legend",
481
+ backgroundColor: F.value.style.chart.legend.backgroundColor,
482
+ color: F.value.style.chart.legend.color,
483
+ fontSize: F.value.style.chart.legend.fontSize,
484
+ paddingBottom: 12,
485
+ paddingTop: 12,
486
+ fontWeight: F.value.style.chart.legend.bold ? "bold" : ""
487
+ })), X = d(() => ({
488
+ head: J.value.map((e) => ({ name: e.name })),
489
+ body: J.value.map((e) => ({
490
+ start: e.start,
491
+ end: e.end
492
+ }))
493
+ })), Z = d(() => {
494
+ let e = [
495
+ F.value.table.columnNames.series,
496
+ F.value.table.columnNames.start,
497
+ F.value.table.columnNames.end,
498
+ F.value.table.columnNames.progression
499
+ ], n = X.value.head.map((e, n) => {
500
+ let r = t({
501
+ p: F.value.style.chart.labels.prefix,
502
+ v: X.value.body[n].start,
503
+ s: F.value.style.chart.labels.suffix,
504
+ r: F.value.table.td.roundingValue
505
+ }), i = t({
506
+ p: F.value.style.chart.labels.prefix,
507
+ v: X.value.body[n].end,
508
+ s: F.value.style.chart.labels.suffix,
509
+ r: F.value.table.td.roundingValue
510
+ }), a = t({
511
+ v: 100 * (X.value.body[n].end / X.value.body[n].start - 1),
512
+ s: "%",
513
+ r: F.value.table.td.roundingPercentage
514
+ });
515
+ return [
516
+ { name: e.name },
517
+ r,
518
+ i,
519
+ a
520
+ ];
521
+ }), r = {
522
+ th: {
523
+ backgroundColor: F.value.table.th.backgroundColor,
524
+ color: F.value.table.th.color,
525
+ outline: F.value.table.th.outline
526
+ },
527
+ td: {
528
+ backgroundColor: F.value.table.td.backgroundColor,
529
+ color: F.value.table.td.color,
530
+ outline: F.value.table.td.outline
531
+ },
532
+ breakpoint: F.value.table.responsiveBreakpoint
533
+ };
534
+ return {
535
+ colNames: [
536
+ F.value.table.columnNames.series,
537
+ F.value.table.columnNames.start,
538
+ F.value.table.columnNames.end,
539
+ F.value.table.columnNames.progression
540
+ ],
541
+ head: e,
542
+ body: n,
543
+ config: r
544
+ };
545
+ });
546
+ function $n(e = null) {
547
+ ke(() => {
548
+ let t = X.value.head.map((e, t) => [
549
+ [e.name],
550
+ [X.value.body[t].start],
551
+ [X.value.body[t].end]
552
+ ]), n = i([
553
+ [F.value.style.chart.title.text],
554
+ [F.value.style.chart.title.subtitle.text],
555
+ [
556
+ [F.value.table.columnNames.series],
557
+ [F.value.table.columnNames.start],
558
+ [F.value.table.columnNames.end]
559
+ ]
560
+ ].concat(t));
561
+ e ? e(n) : r({
562
+ csvContent: n,
563
+ title: F.value.style.chart.title.text || "vue-ui-dumbbell"
564
+ });
565
+ });
566
+ }
567
+ let Q = x(!1);
568
+ function er(e) {
569
+ Q.value = e, ln.value += 1;
570
+ }
571
+ function tr() {
572
+ return V.value;
573
+ }
574
+ function nr() {
575
+ B.value.showTable = !B.value.showTable;
576
+ }
577
+ let rr = x(!1);
578
+ function ir() {
579
+ rr.value = !rr.value;
580
+ }
581
+ async function ar({ scale: e = 2 } = {}) {
582
+ if (!A.value) return;
583
+ let { width: t, height: n } = A.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await me({
584
+ domElement: A.value,
585
+ base64: !0,
586
+ img: !0,
587
+ scale: e
588
+ });
589
+ return {
590
+ imageUri: i,
591
+ base64: a,
592
+ title: F.value.style.chart.title.text,
593
+ width: t,
594
+ height: n,
595
+ aspectRatio: r
596
+ };
597
+ }
598
+ let or = d(() => H.value.ticks);
599
+ pe({
600
+ timeLabelsEls: wn,
601
+ timeLabels: or,
602
+ slicer: d(() => ({
603
+ start: 0,
604
+ end: or.value.length
605
+ })),
606
+ configRef: F,
607
+ rotationPath: [
608
+ "style",
609
+ "chart",
610
+ "labels",
611
+ "xAxisLabels",
612
+ "rotation"
613
+ ],
614
+ autoRotatePath: [
615
+ "style",
616
+ "chart",
617
+ "labels",
618
+ "xAxisLabels",
619
+ "autoRotate",
620
+ "enable"
621
+ ],
622
+ isAutoSize: !1,
623
+ width: W,
624
+ height: U,
625
+ targetClass: ".vue-ui-dumbbell-scale-label",
626
+ rotation: F.value.style.chart.labels.xAxisLabels.autoRotate.angle
627
+ });
628
+ function sr({ rowHeight: e, fontSize: t, showProgression: n }) {
629
+ if (!n) return !1;
630
+ let r = e / 3, i = e / 1.3;
631
+ return Math.abs(i - r) < t * 1.2;
632
+ }
633
+ let cr = (() => {
634
+ let e = null, t = 0;
635
+ return (n) => {
636
+ if (n === P.value) {
637
+ e = null, t = 0;
638
+ return;
639
+ }
640
+ e === null || e !== n ? (e = n, t = 1) : (t += 1, t >= 1 && (P.value = n, e = null, t = 0));
641
+ };
642
+ })(), lr = _e(() => {
643
+ requestAnimationFrame(() => {
644
+ requestAnimationFrame(() => {
645
+ cr(sr({
646
+ rowHeight: G.value.rowHeight,
647
+ fontSize: F.value.style.chart.labels.yAxisLabels.fontSize,
648
+ showProgression: F.value.style.chart.labels.yAxisLabels.showProgression
649
+ }));
650
+ });
651
+ });
652
+ }, 100);
653
+ function ur({ datapoint: e, seriesIndex: t }) {
654
+ j.value = t, M.value = e, F.value.events.datapointEnter && F.value.events.datapointEnter({
655
+ datapoint: e,
656
+ seriesIndex: t
657
+ });
658
+ }
659
+ function dr({ datapoint: e, seriesIndex: t }) {
660
+ j.value = null, M.value = null, F.value.events.datapointLeave && F.value.events.datapointLeave({
661
+ datapoint: e,
662
+ seriesIndex: t
663
+ });
664
+ }
665
+ function fr({ datapoint: e, seriesIndex: t }) {
666
+ F.value.events.datapointClick && F.value.events.datapointClick({
667
+ datapoint: e,
668
+ seriesIndex: t
669
+ });
670
+ }
671
+ let pr = d(() => {
672
+ if (M.value === null) return 0;
673
+ let e = ![null, void 0].includes(M.value.start), t = ![null, void 0].includes(M.value.end);
674
+ return e && t ? Math.min(M.value.startX, M.value.endX) + Math.abs(M.value.startX - M.value.endX) / 2 : e && !t ? M.value.startX : t && !e ? M.value.endX : null;
675
+ }), mr = d(() => {
676
+ if (M.value === null) return "";
677
+ let e = ![null, void 0].includes(M.value.start), n = ![null, void 0].includes(M.value.end), r = "", i = "";
678
+ return e && (r = c(F.value.style.chart.labels.formatter, M.value.start, t({
679
+ p: F.value.style.chart.labels.prefix,
680
+ v: M.value.start,
681
+ s: F.value.style.chart.labels.suffix,
682
+ r: F.value.style.chart.labels.startLabels.rounding
683
+ }), {
684
+ datapoint: M.value,
685
+ seriesIndex: j.value
686
+ })), n && (i = c(F.value.style.chart.labels.formatter, M.value.end, t({
687
+ p: F.value.style.chart.labels.prefix,
688
+ v: M.value.end,
689
+ s: F.value.style.chart.labels.suffix,
690
+ r: F.value.style.chart.labels.startLabels.rounding
691
+ }), {
692
+ datapoint: M.value,
693
+ seriesIndex: j.value
694
+ })), e && n ? `${r} → ${i}` : e && !n ? r : n && !e ? i : "";
695
+ }), hr = d(() => {
696
+ let e = F.value.table.useDialog && !F.value.table.show, t = B.value.showTable;
697
+ return {
698
+ component: e ? nn : Zt,
699
+ title: `${F.value.style.chart.title.text}${F.value.style.chart.title.subtitle.text ? `: ${F.value.style.chart.title.subtitle.text}` : ""}`,
700
+ props: e ? {
701
+ backgroundColor: F.value.table.th.backgroundColor,
702
+ color: F.value.table.th.color,
703
+ headerColor: F.value.table.th.color,
704
+ headerBg: F.value.table.th.backgroundColor,
705
+ isFullscreen: Q.value,
706
+ fullscreenParent: A.value,
707
+ forcedWidth: Math.min(800, window.innerWidth * .8),
708
+ isCursorPointer: I.value
709
+ } : {
710
+ hideDetails: !0,
711
+ config: {
712
+ open: t,
713
+ maxHeight: 1e4,
714
+ body: {
715
+ backgroundColor: F.value.style.chart.backgroundColor,
716
+ color: F.value.style.chart.color
717
+ },
718
+ head: {
719
+ backgroundColor: F.value.style.chart.backgroundColor,
720
+ color: F.value.style.chart.color
721
+ }
722
+ }
723
+ }
724
+ };
725
+ });
726
+ Ie(() => B.value.showTable, (e) => {
727
+ F.value.table.show || (e && F.value.table.useDialog && vn.value ? vn.value.open() : "close" in vn.value && vn.value.close());
728
+ });
729
+ function gr() {
730
+ B.value.showTable = !1, yn.value && yn.value.setTableIconState(!1);
731
+ }
732
+ let _r = d(() => Zn.value.map((e) => ({
733
+ ...e,
734
+ shape: "circle"
735
+ }))), vr = d(() => F.value.style.chart.backgroundColor), yr = d(() => F.value.style.chart.legend), { exportSvg: br, getSvg: xr } = ue({
736
+ svg: L,
737
+ title: d(() => F.value.style.chart.title),
738
+ legend: yr,
739
+ legendItems: _r,
740
+ backgroundColor: vr
741
+ });
742
+ async function Sr({ isCb: e }) {
743
+ xn.value = !0, await ke();
744
+ try {
745
+ if (e) {
746
+ let { blob: e, url: t, text: n, dataUrl: r } = await xr();
747
+ await Promise.resolve(F.value.userOptions.callbacks.svg({
748
+ blob: e,
749
+ url: t,
750
+ text: n,
751
+ dataUrl: r
752
+ }));
753
+ } else await Promise.resolve(br());
754
+ } finally {
755
+ xn.value = !1;
756
+ }
757
+ }
758
+ function Cr(e) {
759
+ if (e?.stage === "start") {
760
+ bn.value = !0;
761
+ return;
762
+ }
763
+ if (e?.stage === "end") {
764
+ bn.value = !1;
765
+ return;
766
+ }
767
+ Bn();
768
+ }
769
+ async function wr() {
770
+ if (sn("copyAlt", {
771
+ config: F.value,
772
+ dataset: J.value
773
+ }), !F.value.userOptions.callbacks.altCopy) {
774
+ console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
775
+ return;
776
+ }
777
+ await Promise.resolve(F.value.userOptions.callbacks.altCopy({
778
+ config: F.value,
779
+ dataset: J.value
780
+ }));
781
+ }
782
+ function Tr(e) {
783
+ let t = J.value.length;
784
+ return t ? (e % t + t) % t : null;
785
+ }
786
+ function Er() {
787
+ if (N.value !== null) {
788
+ let e = J.value[N.value];
789
+ e && dr({
790
+ datapoint: e,
791
+ seriesIndex: N.value
792
+ });
793
+ }
794
+ N.value = null, j.value = null, M.value = null;
795
+ }
796
+ function Dr() {
797
+ N.value = null, En.value = !0;
798
+ }
799
+ function Or() {
800
+ Er(), En.value = !1;
801
+ }
802
+ function kr(e) {
803
+ if (!L.value || rr.value || document.activeElement !== L.value || !J.value.length) return;
804
+ let t = ["ArrowUp", "ArrowLeft"].includes(e.key), n = ["ArrowDown", "ArrowRight"].includes(e.key), r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
805
+ if (!t && !n && !r && !i) return;
806
+ if (e.preventDefault(), e.stopPropagation(), i) {
807
+ Er();
808
+ return;
809
+ }
810
+ if (r) {
811
+ if (N.value === null) return;
812
+ let e = J.value[N.value];
813
+ if (!e) return;
814
+ fr({
815
+ datapoint: e,
816
+ seriesIndex: N.value
817
+ });
818
+ return;
819
+ }
820
+ let a = N.value;
821
+ a = a === null ? n ? 0 : J.value.length - 1 : Tr(a + (n ? 1 : -1));
822
+ let o = J.value[a];
823
+ o && (N.value = a, ur({
824
+ datapoint: o,
825
+ seriesIndex: a
826
+ }));
827
+ }
828
+ let $ = d(() => ({
829
+ head: Z.value.head,
830
+ body: Z.value.body.map((e) => [
831
+ e[0]?.name ?? "",
832
+ e[1],
833
+ e[2],
834
+ e[3]
835
+ ]),
836
+ caption: F.value.a11y.translations.tableCaption,
837
+ notice: F.value.a11y.translations.tableAvailable
838
+ }));
839
+ return ge({
840
+ getData: tr,
841
+ getImage: ar,
842
+ generatePdf: zn,
843
+ generateCsv: $n,
844
+ generateImage: Bn,
845
+ generateSvg: Sr,
846
+ toggleTable: nr,
847
+ toggleAnnotator: ir,
848
+ toggleFullscreen: er,
849
+ copyAlt: wr
850
+ }), (e, n) => (b(), m("div", {
851
+ ref_key: "dumbbellChart",
852
+ ref: A,
853
+ class: Ae(`vue-data-ui-component vue-ui-dumbbell ${Q.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
854
+ style: y(`font-family:${F.value.style.fontFamily};width:100%; text-align:center;background:${F.value.style.chart.backgroundColor};${F.value.responsive ? "height:100%" : ""}`),
855
+ id: `dumbbell_${k.value}`,
856
+ onMouseenter: n[1] ||= () => T(Mn)(!0),
857
+ onMouseleave: n[2] ||= () => T(Mn)(!1)
858
+ }, [
859
+ h("div", {
860
+ id: `chart-instructions-${k.value}`,
861
+ class: "sr-only"
862
+ }, [h("p", null, w(F.value.a11y.translations.keyboardNavigation), 1)], 8, Ve),
863
+ $.value.body.length ? (b(), f(ye, {
864
+ key: 0,
865
+ uid: k.value,
866
+ head: $.value.head,
867
+ body: $.value.body,
868
+ caption: $.value.caption,
869
+ notice: $.value.notice
870
+ }, null, 8, [
871
+ "uid",
872
+ "head",
873
+ "body",
874
+ "caption",
875
+ "notice"
876
+ ])) : p("", !0),
877
+ F.value.userOptions.buttons.annotator ? (b(), f(T($t), {
878
+ key: 1,
879
+ svgRef: T(L),
880
+ backgroundColor: F.value.style.chart.backgroundColor,
881
+ color: F.value.style.chart.color,
882
+ active: rr.value,
883
+ isCursorPointer: I.value,
884
+ onClose: ir
885
+ }, {
886
+ "annotator-action-close": D(() => [C(e.$slots, "annotator-action-close", {}, void 0, !0)]),
887
+ "annotator-action-color": D(({ color: t }) => [C(e.$slots, "annotator-action-color", v(_({ color: t })), void 0, !0)]),
888
+ "annotator-action-draw": D(({ mode: t }) => [C(e.$slots, "annotator-action-draw", v(_({ mode: t })), void 0, !0)]),
889
+ "annotator-action-undo": D(({ disabled: t }) => [C(e.$slots, "annotator-action-undo", v(_({ disabled: t })), void 0, !0)]),
890
+ "annotator-action-redo": D(({ disabled: t }) => [C(e.$slots, "annotator-action-redo", v(_({ disabled: t })), void 0, !0)]),
891
+ "annotator-action-delete": D(({ disabled: t }) => [C(e.$slots, "annotator-action-delete", v(_({ disabled: t })), void 0, !0)]),
892
+ _: 3
893
+ }, 8, [
894
+ "svgRef",
895
+ "backgroundColor",
896
+ "color",
897
+ "active",
898
+ "isCursorPointer"
899
+ ])) : p("", !0),
900
+ Vn.value ? (b(), m("div", {
901
+ key: 2,
902
+ ref_key: "noTitle",
903
+ ref: pn,
904
+ class: "vue-data-ui-no-title-space",
905
+ style: "height:36px; width: 100%;background:transparent"
906
+ }, null, 512)) : p("", !0),
907
+ F.value.style.chart.title.text ? (b(), m("div", {
908
+ key: 3,
909
+ ref_key: "chartTitle",
910
+ ref: un,
911
+ style: "width:100%;background:transparent;padding-bottom:24px"
912
+ }, [(b(), f(he, {
913
+ key: `title_${mn.value}`,
914
+ config: {
915
+ title: {
916
+ cy: "donut-div-title",
917
+ ...F.value.style.chart.title
918
+ },
919
+ subtitle: {
920
+ cy: "donut-div-subtitle",
921
+ ...F.value.style.chart.title.subtitle
922
+ }
923
+ }
924
+ }, null, 8, ["config"]))], 512)) : p("", !0),
925
+ h("div", { id: `legend-top-${k.value}` }, null, 8, He),
926
+ F.value.userOptions.show && cn.value && (T(Nn) || T(jn)) ? (b(), f(T(en), {
927
+ ref_key: "userOptionsRef",
928
+ ref: yn,
929
+ key: `user_option_${ln.value}`,
930
+ backgroundColor: F.value.style.chart.backgroundColor,
931
+ color: F.value.style.chart.color,
932
+ isPrinting: T(Ln),
933
+ isImaging: T(Rn),
934
+ uid: k.value,
935
+ hasPdf: F.value.userOptions.buttons.pdf,
936
+ hasXls: F.value.userOptions.buttons.csv,
937
+ hasImg: F.value.userOptions.buttons.img,
938
+ hasSvg: F.value.userOptions.buttons.svg,
939
+ hasTable: F.value.userOptions.buttons.table,
940
+ hasFullscreen: F.value.userOptions.buttons.fullscreen,
941
+ hasAltCopy: F.value.userOptions.buttons.altCopy,
942
+ isFullscreen: Q.value,
943
+ titles: { ...F.value.userOptions.buttonTitles },
944
+ chartElement: A.value,
945
+ position: F.value.userOptions.position,
946
+ hasAnnotator: F.value.userOptions.buttons.annotator,
947
+ isAnnotation: rr.value,
948
+ callbacks: F.value.userOptions.callbacks,
949
+ printScale: F.value.userOptions.print.scale,
950
+ tableDialog: F.value.table.useDialog,
951
+ isCursorPointer: I.value,
952
+ onToggleFullscreen: er,
953
+ onGeneratePdf: T(zn),
954
+ onGenerateCsv: $n,
955
+ onGenerateImage: Cr,
956
+ onGenerateSvg: Sr,
957
+ onToggleTable: nr,
958
+ onToggleAnnotator: ir,
959
+ onCopyAlt: wr,
960
+ style: y({ visibility: T(Nn) ? T(jn) ? "visible" : "hidden" : "visible" })
961
+ }, Te({ _: 2 }, [
962
+ e.$slots.menuIcon ? {
963
+ name: "menuIcon",
964
+ fn: D(({ isOpen: t, color: n }) => [C(e.$slots, "menuIcon", v(_({
965
+ isOpen: t,
966
+ color: n
967
+ })), void 0, !0)]),
968
+ key: "0"
969
+ } : void 0,
970
+ e.$slots.optionPdf ? {
971
+ name: "optionPdf",
972
+ fn: D(() => [C(e.$slots, "optionPdf", {}, void 0, !0)]),
973
+ key: "1"
974
+ } : void 0,
975
+ e.$slots.optionCsv ? {
976
+ name: "optionCsv",
977
+ fn: D(() => [C(e.$slots, "optionCsv", {}, void 0, !0)]),
978
+ key: "2"
979
+ } : void 0,
980
+ e.$slots.optionImg ? {
981
+ name: "optionImg",
982
+ fn: D(() => [C(e.$slots, "optionImg", {}, void 0, !0)]),
983
+ key: "3"
984
+ } : void 0,
985
+ e.$slots.optionSvg ? {
986
+ name: "optionSvg",
987
+ fn: D(() => [C(e.$slots, "optionSvg", {}, void 0, !0)]),
988
+ key: "4"
989
+ } : void 0,
990
+ e.$slots.optionTable ? {
991
+ name: "optionTable",
992
+ fn: D(() => [C(e.$slots, "optionTable", {}, void 0, !0)]),
993
+ key: "5"
994
+ } : void 0,
995
+ e.$slots.optionFullscreen ? {
996
+ name: "optionFullscreen",
997
+ fn: D(({ toggleFullscreen: t, isFullscreen: n }) => [C(e.$slots, "optionFullscreen", v(_({
998
+ toggleFullscreen: t,
999
+ isFullscreen: n
1000
+ })), void 0, !0)]),
1001
+ key: "6"
1002
+ } : void 0,
1003
+ e.$slots.optionAnnotator ? {
1004
+ name: "optionAnnotator",
1005
+ fn: D(({ toggleAnnotator: t, isAnnotator: n }) => [C(e.$slots, "optionAnnotator", v(_({
1006
+ toggleAnnotator: t,
1007
+ isAnnotator: n
1008
+ })), void 0, !0)]),
1009
+ key: "7"
1010
+ } : void 0,
1011
+ e.$slots.optionAltCopy ? {
1012
+ name: "optionAltCopy",
1013
+ fn: D(({ altCopy: t }) => [C(e.$slots, "optionAltCopy", v(_({ altCopy: t })), void 0, !0)]),
1014
+ key: "8"
1015
+ } : void 0
1016
+ ]), 1032, [
1017
+ "backgroundColor",
1018
+ "color",
1019
+ "isPrinting",
1020
+ "isImaging",
1021
+ "uid",
1022
+ "hasPdf",
1023
+ "hasXls",
1024
+ "hasImg",
1025
+ "hasSvg",
1026
+ "hasTable",
1027
+ "hasFullscreen",
1028
+ "hasAltCopy",
1029
+ "isFullscreen",
1030
+ "titles",
1031
+ "chartElement",
1032
+ "position",
1033
+ "hasAnnotator",
1034
+ "isAnnotation",
1035
+ "callbacks",
1036
+ "printScale",
1037
+ "tableDialog",
1038
+ "isCursorPointer",
1039
+ "onGeneratePdf",
1040
+ "style"
1041
+ ])) : p("", !0),
1042
+ h("div", Ue, [(b(), m("svg", {
1043
+ ref_key: "svgRef",
1044
+ ref: L,
1045
+ xmlns: T(re),
1046
+ class: Ae({
1047
+ "vue-data-ui-fullscreen--on": Q.value,
1048
+ "vue-data-ui-fulscreen--off": !Q.value
1049
+ }),
1050
+ viewBox: `0 0 ${W.value} ${G.value.absoluteHeight <= 0 ? 10 : G.value.absoluteHeight}`,
1051
+ style: y(`max-width:100%; overflow: visible; background:transparent;color:${F.value.style.chart.color}`),
1052
+ "aria-describedby": `chart-instructions-${k.value}`,
1053
+ tabindex: "0",
1054
+ onFocus: Dr,
1055
+ onBlur: Or,
1056
+ onKeydown: kr
1057
+ }, [
1058
+ De(T(tn)),
1059
+ e.$slots["chart-background"] ? (b(), m("foreignObject", {
1060
+ key: 0,
1061
+ x: G.value.left,
1062
+ y: G.value.top,
1063
+ width: Math.max(.1, G.value.width),
1064
+ height: Math.max(.1, G.value.height),
1065
+ style: { pointerEvents: "none" }
1066
+ }, [C(e.$slots, "chart-background", {}, void 0, !0)], 8, Ge)) : p("", !0),
1067
+ F.value.style.chart.grid.verticalGrid.show ? (b(), m("g", Ke, [(b(!0), m(u, null, S(H.value.ticks, (e, t) => (b(), m("line", {
1068
+ x1: G.value.left + t * G.value.width / (H.value.ticks.length - 1),
1069
+ x2: G.value.left + t * G.value.width / (H.value.ticks.length - 1),
1070
+ y1: G.value.top,
1071
+ y2: G.value.bottom,
1072
+ stroke: F.value.style.chart.grid.verticalGrid.stroke,
1073
+ "stroke-width": F.value.style.chart.grid.verticalGrid.strokeWidth,
1074
+ "stroke-dasharray": F.value.style.chart.grid.verticalGrid.strokeDasharray
1075
+ }, null, 8, qe))), 256))])) : p("", !0),
1076
+ F.value.style.chart.grid.horizontalGrid.show ? (b(), m("g", Je, [(b(!0), m(u, null, S(V.value, (e, t) => (b(), m("line", {
1077
+ x1: G.value.left,
1078
+ x2: G.value.right,
1079
+ y1: G.value.top + t * G.value.rowHeight,
1080
+ y2: G.value.top + t * G.value.rowHeight,
1081
+ stroke: F.value.style.chart.grid.horizontalGrid.stroke,
1082
+ "stroke-width": F.value.style.chart.grid.horizontalGrid.strokeWidth,
1083
+ "stroke-dasharray": F.value.style.chart.grid.horizontalGrid.strokeDasharray
1084
+ }, null, 8, Ye))), 256)), h("line", {
1085
+ x1: G.value.left,
1086
+ x2: G.value.right,
1087
+ y1: G.value.bottom,
1088
+ y2: G.value.bottom,
1089
+ stroke: F.value.style.chart.grid.horizontalGrid.stroke,
1090
+ "stroke-width": F.value.style.chart.grid.horizontalGrid.strokeWidth,
1091
+ "stroke-dasharray": F.value.style.chart.grid.horizontalGrid.strokeDasharray
1092
+ }, null, 8, Xe)])) : p("", !0),
1093
+ F.value.style.chart.labels.axis.yLabel ? (b(), m("text", {
1094
+ key: 3,
1095
+ ref_key: "yAxisLabel",
1096
+ ref: Sn,
1097
+ transform: `translate(${F.value.style.chart.labels.axis.fontSize}, ${G.value.absoluteHeight / 2}), rotate(-90)`,
1098
+ "font-size": F.value.style.chart.labels.axis.fontSize,
1099
+ fill: F.value.style.chart.labels.axis.color,
1100
+ "text-anchor": "middle"
1101
+ }, w(F.value.style.chart.labels.axis.yLabel), 9, Ze)) : p("", !0),
1102
+ F.value.style.chart.labels.yAxisLabels.show ? (b(), m("g", {
1103
+ key: 4,
1104
+ ref_key: "serieLabels",
1105
+ ref: Cn
1106
+ }, [(b(!0), m(u, null, S(J.value, (e, n) => (b(), m("text", {
1107
+ class: "vue-ui-dumbbell-serie-name",
1108
+ key: `serieLabel_${e.id}_${n}`,
1109
+ x: G.value.left - 6 + F.value.style.chart.labels.yAxisLabels.offsetX,
1110
+ y: G.value.top + n * G.value.rowHeight + (!F.value.style.chart.labels.yAxisLabels.showProgression || P.value ? G.value.rowHeight / 2 : G.value.rowHeight / 3) + F.value.style.chart.labels.yAxisLabels.fontSize / 3,
1111
+ "font-size": F.value.style.chart.labels.yAxisLabels.fontSize,
1112
+ fill: F.value.style.chart.labels.yAxisLabels.color,
1113
+ "font-weight": F.value.style.chart.labels.yAxisLabels.bold ? "bold" : "normal",
1114
+ "text-anchor": "end",
1115
+ onMouseenter: (t) => ur({
1116
+ datapoint: e,
1117
+ seriesIndex: n
1118
+ }),
1119
+ onMouseleave: (t) => dr({
1120
+ datapoint: e,
1121
+ seriesIndex: n
1122
+ }),
1123
+ onClick: (t) => fr({
1124
+ datapoint: e,
1125
+ seriesIndex: n
1126
+ })
1127
+ }, w(e.name) + " " + w(P.value && F.value.style.chart.labels.yAxisLabels.showProgression ? [null, void 0].includes(e.start) || [null, void 0].includes(e.end) ? "" : `(${T(c)(F.value.style.chart.labels.yAxisLabels.formatter, 100 * (e.end / e.start - 1), T(t)({
1128
+ v: 100 * (e.end / e.start - 1),
1129
+ s: "%",
1130
+ r: F.value.style.chart.labels.yAxisLabels.rounding
1131
+ }), { datapoint: e })})` : ""), 41, Qe))), 128)), F.value.style.chart.labels.yAxisLabels.showProgression && !P.value ? (b(!0), m(u, { key: 0 }, S(J.value, (e, n) => (b(), m("text", {
1132
+ class: "vue-ui-dumbbell-serie-value",
1133
+ x: G.value.left - 6 + F.value.style.chart.labels.yAxisLabels.offsetX,
1134
+ y: G.value.top + n * G.value.rowHeight + G.value.rowHeight / 1.3 + F.value.style.chart.labels.yAxisLabels.fontSize / 3,
1135
+ "font-size": F.value.style.chart.labels.yAxisLabels.fontSize,
1136
+ fill: F.value.style.chart.labels.yAxisLabels.color,
1137
+ "text-anchor": "end",
1138
+ onMouseenter: (t) => ur({
1139
+ datapoint: e,
1140
+ seriesIndex: n
1141
+ }),
1142
+ onMouseleave: (t) => dr({
1143
+ datapoint: e,
1144
+ seriesIndex: n
1145
+ }),
1146
+ onClick: (t) => fr({
1147
+ datapoint: e,
1148
+ seriesIndex: n
1149
+ })
1150
+ }, w([null, void 0].includes(e.start) || [null, void 0].includes(e.end) ? "" : T(c)(F.value.style.chart.labels.yAxisLabels.formatter, 100 * (e.end / e.start - 1), T(t)({
1151
+ v: 100 * (e.end / e.start - 1),
1152
+ s: "%",
1153
+ r: F.value.style.chart.labels.yAxisLabels.rounding
1154
+ }), { datapoint: e })), 41, $e))), 256)) : p("", !0)], 512)) : p("", !0),
1155
+ F.value.style.chart.labels.axis.xLabel ? (b(), m("text", {
1156
+ key: 5,
1157
+ ref_key: "xAxisLabel",
1158
+ ref: Tn,
1159
+ x: G.value.left + G.value.width / 2,
1160
+ y: G.value.absoluteHeight - F.value.style.chart.labels.axis.fontSize / 3,
1161
+ "font-size": F.value.style.chart.labels.axis.fontSize,
1162
+ fill: F.value.style.chart.labels.axis.color,
1163
+ "text-anchor": "middle"
1164
+ }, w(F.value.style.chart.labels.axis.xLabel), 9, et)) : p("", !0),
1165
+ F.value.style.chart.labels.xAxisLabels.show ? (b(), m("g", {
1166
+ key: 6,
1167
+ ref_key: "scaleLabels",
1168
+ ref: wn
1169
+ }, [(b(!0), m(u, null, S(H.value.ticks, (e, n) => (b(), m("text", {
1170
+ class: "vue-ui-dumbbell-scale-label",
1171
+ key: `tick_${n}`,
1172
+ transform: `translate(${G.value.left + n * (G.value.width / (H.value.ticks.length - 1))}, ${G.value.bottom + F.value.style.chart.labels.xAxisLabels.fontSize + F.value.style.chart.labels.xAxisLabels.offsetY}), rotate(${F.value.style.chart.labels.xAxisLabels.rotation})`,
1173
+ "font-size": F.value.style.chart.labels.xAxisLabels.fontSize,
1174
+ fill: F.value.style.chart.labels.xAxisLabels.color,
1175
+ "font-weight": F.value.style.chart.labels.xAxisLabels.bold ? "bold" : "normal",
1176
+ "text-anchor": F.value.style.chart.labels.xAxisLabels.rotation > 0 ? "start" : F.value.style.chart.labels.xAxisLabels.rotation < 0 ? "end" : "middle"
1177
+ }, w(T(c)(F.value.style.chart.labels.formatter, e, T(t)({
1178
+ p: F.value.style.chart.labels.prefix,
1179
+ v: e,
1180
+ s: F.value.style.chart.labels.suffix,
1181
+ r: F.value.style.chart.labels.xAxisLabels.rounding
1182
+ }), {
1183
+ datapoint: e,
1184
+ seriesIndex: n
1185
+ })), 9, tt))), 128))], 512)) : p("", !0),
1186
+ Re(h("g", null, [
1187
+ Re(h("path", {
1188
+ d: `M ${M.value ? M.value.startX : G.value.left},${G.value.top} ${M.value ? M.value.startX : G.value.left},${G.value.bottom}`,
1189
+ stroke: M.value ? F.value.style.chart.plots.evaluationColors.enable ? M.value.evaluationColor : F.value.style.chart.plots.startColor : "transparent",
1190
+ "stroke-width": F.value.style.chart.comparisonLines.strokeWidth,
1191
+ "stroke-dasharray": F.value.style.chart.comparisonLines.strokeDasharray,
1192
+ style: { transition: "all 0.3s ease-in-out" }
1193
+ }, null, 8, nt), [[E, M.value !== null && ![null, void 0].includes(M.value.start)]]),
1194
+ Re(h("path", {
1195
+ d: `M ${M.value ? M.value.endX : G.value.left},${G.value.top} ${M.value ? M.value.endX : G.value.left},${G.value.bottom}`,
1196
+ stroke: M.value ? F.value.style.chart.plots.evaluationColors.enable ? M.value.evaluationColor : F.value.style.chart.plots.endColor : "transparent",
1197
+ "stroke-width": F.value.style.chart.comparisonLines.strokeWidth,
1198
+ "stroke-dasharray": F.value.style.chart.comparisonLines.strokeDasharray,
1199
+ style: { transition: "all 0.3s ease-in-out" }
1200
+ }, null, 8, rt), [[E, M.value !== null && ![null, void 0].includes(M.value.end)]]),
1201
+ Re(h("rect", {
1202
+ x: M.value ? Math.min(M.value.startX, M.value.endX) : G.value.left,
1203
+ y: G.value.top,
1204
+ height: Math.max(.1, G.value.height),
1205
+ width: M.value ? Math.max(.1, Math.abs(M.value.endX - M.value.startX)) : 0,
1206
+ fill: M.value ? T(te)(F.value.style.chart.comparisonLines.rectColor, F.value.style.chart.comparisonLines.rectOpacity) : "transparent",
1207
+ style: { transition: "all 0.3s ease-in-out" }
1208
+ }, null, 8, it), [[E, F.value.style.chart.comparisonLines.showRect && M.value !== null && ![null, void 0].includes(M.value.start) && ![null, void 0].includes(M.value.end)]]),
1209
+ Re(h("text", {
1210
+ transform: `translate(${pr.value == null ? 0 : pr.value}, ${G.value.top - 6})`,
1211
+ fill: F.value.style.chart.comparisonLines.labelColor,
1212
+ "font-size": F.value.style.chart.comparisonLines.labelFontSize,
1213
+ "text-anchor": "middle",
1214
+ style: { transition: "all 0.3s ease-in-out" }
1215
+ }, w(mr.value), 9, at), [[E, M.value !== null && pr.value !== null && F.value.style.chart.comparisonLines.showLabel]])
1216
+ ], 512), [[E, F.value.style.chart.comparisonLines.show && j.value !== null]]),
1217
+ h("defs", null, [
1218
+ h("radialGradient", {
1219
+ id: `start_grad_${k.value}`,
1220
+ fy: "30%"
1221
+ }, [
1222
+ h("stop", {
1223
+ offset: "10%",
1224
+ "stop-color": T(l)(F.value.style.chart.plots.startColor, F.value.style.chart.plots.gradient.intensity / 100)
1225
+ }, null, 8, st),
1226
+ h("stop", {
1227
+ offset: "90%",
1228
+ "stop-color": T(o)(F.value.style.chart.plots.startColor, .1)
1229
+ }, null, 8, ct),
1230
+ h("stop", {
1231
+ offset: "100%",
1232
+ "stop-color": F.value.style.chart.plots.startColor
1233
+ }, null, 8, lt)
1234
+ ], 8, ot),
1235
+ h("radialGradient", {
1236
+ id: `end_grad_${k.value}`,
1237
+ fy: "30%"
1238
+ }, [
1239
+ h("stop", {
1240
+ offset: "10%",
1241
+ "stop-color": T(l)(F.value.style.chart.plots.endColor, F.value.style.chart.plots.gradient.intensity / 100)
1242
+ }, null, 8, dt),
1243
+ h("stop", {
1244
+ offset: "90%",
1245
+ "stop-color": T(o)(F.value.style.chart.plots.endColor, .1)
1246
+ }, null, 8, ft),
1247
+ h("stop", {
1248
+ offset: "100%",
1249
+ "stop-color": F.value.style.chart.plots.endColor
1250
+ }, null, 8, pt)
1251
+ ], 8, ut),
1252
+ h("radialGradient", {
1253
+ id: `positive_grad_${k.value}`,
1254
+ fy: "30%"
1255
+ }, [
1256
+ h("stop", {
1257
+ offset: "10%",
1258
+ "stop-color": T(l)(F.value.style.chart.plots.evaluationColors.positive, F.value.style.chart.plots.gradient.intensity / 100)
1259
+ }, null, 8, ht),
1260
+ h("stop", {
1261
+ offset: "90%",
1262
+ "stop-color": T(o)(F.value.style.chart.plots.evaluationColors.positive, .1)
1263
+ }, null, 8, gt),
1264
+ h("stop", {
1265
+ offset: "100%",
1266
+ "stop-color": F.value.style.chart.plots.evaluationColors.positive
1267
+ }, null, 8, _t)
1268
+ ], 8, mt),
1269
+ h("radialGradient", {
1270
+ id: `negative_grad_${k.value}`,
1271
+ fy: "30%"
1272
+ }, [
1273
+ h("stop", {
1274
+ offset: "10%",
1275
+ "stop-color": T(l)(F.value.style.chart.plots.evaluationColors.negative, F.value.style.chart.plots.gradient.intensity / 100)
1276
+ }, null, 8, yt),
1277
+ h("stop", {
1278
+ offset: "90%",
1279
+ "stop-color": T(o)(F.value.style.chart.plots.evaluationColors.negative, .1)
1280
+ }, null, 8, bt),
1281
+ h("stop", {
1282
+ offset: "100%",
1283
+ "stop-color": F.value.style.chart.plots.evaluationColors.negative
1284
+ }, null, 8, xt)
1285
+ ], 8, vt),
1286
+ h("radialGradient", {
1287
+ id: `neutral_grad_${k.value}`,
1288
+ fy: "30%"
1289
+ }, [
1290
+ h("stop", {
1291
+ offset: "10%",
1292
+ "stop-color": T(l)(F.value.style.chart.plots.evaluationColors.neutral, F.value.style.chart.plots.gradient.intensity / 100)
1293
+ }, null, 8, Ct),
1294
+ h("stop", {
1295
+ offset: "90%",
1296
+ "stop-color": T(o)(F.value.style.chart.plots.evaluationColors.neutral, .1)
1297
+ }, null, 8, wt),
1298
+ h("stop", {
1299
+ offset: "100%",
1300
+ "stop-color": F.value.style.chart.plots.evaluationColors.neutral
1301
+ }, null, 8, Tt)
1302
+ ], 8, St)
1303
+ ]),
1304
+ (b(!0), m(u, null, S(J.value, (e, t) => (b(), m("g", { key: `plot_${t}_${e.id}` }, [
1305
+ h("defs", null, [h("linearGradient", {
1306
+ id: `grad_pos_${k.value}`,
1307
+ x1: "0%",
1308
+ x2: "100%",
1309
+ y1: "0%",
1310
+ y2: "0%"
1311
+ }, [h("stop", {
1312
+ offset: "0%",
1313
+ "stop-color": F.value.style.chart.plots.startColor
1314
+ }, null, 8, Dt), h("stop", {
1315
+ offset: "100%",
1316
+ "stop-color": F.value.style.chart.plots.endColor
1317
+ }, null, 8, Ot)], 8, Et), h("linearGradient", {
1318
+ id: `grad_neg_${k.value}`,
1319
+ x1: "0%",
1320
+ x2: "100%",
1321
+ y1: "0%",
1322
+ y2: "0%"
1323
+ }, [h("stop", {
1324
+ offset: "0%",
1325
+ "stop-color": F.value.style.chart.plots.endColor
1326
+ }, null, 8, At), h("stop", {
1327
+ offset: "100%",
1328
+ "stop-color": F.value.style.chart.plots.startColor
1329
+ }, null, 8, jt)], 8, kt)]),
1330
+ ![void 0, null].includes(e.end) && ![void 0, null].includes(e.start) ? (b(), m("g", Mt, [F.value.style.chart.plots.link.type === "curved" ? (b(), m("g", Nt, [h("path", {
1331
+ d: `M
1332
+ ${e.startX},${e.y + K.value / 2}
1333
+ C ${e.centerX},${e.y} ${e.centerX},${e.y}
1334
+ ${e.endX},${e.y + K.value / 2}
1335
+ L ${e.endX},${e.y - K.value / 2}
1336
+ C ${e.centerX},${e.y} ${e.centerX},${e.y}
1337
+ ${e.startX},${e.y - K.value / 2}
1338
+ Z
1339
+ `,
1340
+ fill: F.value.style.chart.plots.evaluationColors.enable ? e.evaluationColor : e.endX > e.startX ? `url(#grad_pos_${k.value})` : `url(#grad_neg_${k.value})`
1341
+ }, null, 8, Pt)])) : (b(), m("g", Ft, [h("rect", {
1342
+ x: e.endX > e.startX ? e.startX : e.endX,
1343
+ y: e.y - F.value.style.chart.plots.link.strokeWidth / 2,
1344
+ height: Math.max(.01, F.value.style.chart.plots.link.strokeWidth),
1345
+ width: Math.max(.01, Math.abs(e.endX - e.startX)),
1346
+ fill: F.value.style.chart.plots.evaluationColors.enable ? e.evaluationColor : e.endX > e.startX ? `url(#grad_pos_${k.value})` : `url(#grad_neg_${k.value})`
1347
+ }, null, 8, It)]))])) : p("", !0),
1348
+ [null, void 0].includes(e.start) ? p("", !0) : (b(), m("circle", {
1349
+ key: 1,
1350
+ cx: e.startX,
1351
+ cy: e.y,
1352
+ r: K.value,
1353
+ fill: F.value.style.chart.plots.gradient.show ? F.value.style.chart.plots.evaluationColors.enable ? e.evaluationGrad : `url(#start_grad_${k.value})` : F.value.style.chart.plots.evaluationColors.enable ? e.evaluationColor : F.value.style.chart.plots.startColor,
1354
+ stroke: F.value.style.chart.plots.stroke,
1355
+ "stroke-width": F.value.style.chart.plots.strokeWidth
1356
+ }, null, 8, Lt)),
1357
+ [null, void 0].includes(e.end) ? p("", !0) : (b(), m("circle", {
1358
+ key: 2,
1359
+ cx: e.endX,
1360
+ cy: e.y,
1361
+ r: K.value,
1362
+ fill: F.value.style.chart.plots.gradient.show ? F.value.style.chart.plots.evaluationColors.enable ? e.evaluationGrad : `url(#end_grad_${k.value})` : F.value.style.chart.plots.evaluationColors.enable ? e.evaluationColor : F.value.style.chart.plots.endColor,
1363
+ stroke: F.value.style.chart.plots.stroke,
1364
+ "stroke-width": F.value.style.chart.plots.strokeWidth
1365
+ }, null, 8, Rt))
1366
+ ]))), 128)),
1367
+ F.value.style.chart.labels.startLabels.show ? (b(), m("g", zt, [(b(!0), m(u, null, S(J.value, (e, n) => (b(), m("g", { key: `start_label_${n}_${e.id}` }, [[null, void 0].includes(e.start) ? p("", !0) : (b(), m("text", {
1368
+ key: 0,
1369
+ x: e.startX,
1370
+ y: e.y + K.value * 2 + F.value.style.chart.labels.startLabels.fontSize / 2,
1371
+ fill: F.value.style.chart.plots.evaluationColors.enable && F.value.style.chart.labels.startLabels.useEvaluationColor ? e.evaluationColor : F.value.style.chart.labels.startLabels.useStartColor ? F.value.style.chart.plots.startColor : F.value.style.chart.labels.startLabels.color,
1372
+ "font-size": F.value.style.chart.labels.startLabels.fontSize,
1373
+ "text-anchor": "middle"
1374
+ }, w(T(c)(F.value.style.chart.labels.formatter, e.start, T(t)({
1375
+ p: F.value.style.chart.labels.prefix,
1376
+ v: e.start,
1377
+ s: F.value.style.chart.labels.suffix,
1378
+ r: F.value.style.chart.labels.startLabels.rounding
1379
+ }), {
1380
+ datapoint: e,
1381
+ seriesIndex: n
1382
+ })), 9, Bt))]))), 128))])) : p("", !0),
1383
+ F.value.style.chart.labels.endLabels.show ? (b(), m("g", Vt, [(b(!0), m(u, null, S(J.value, (e, n) => (b(), m("g", { key: `end_label_${n}_${e.id}` }, [[null, void 0].includes(e.end) ? p("", !0) : (b(), m("text", {
1384
+ key: 0,
1385
+ x: e.endX,
1386
+ y: e.y - (K.value * 2 - F.value.style.chart.labels.startLabels.fontSize / 3),
1387
+ fill: F.value.style.chart.plots.evaluationColors.enable && F.value.style.chart.labels.endLabels.useEvaluationColor ? e.evaluationColor : F.value.style.chart.labels.endLabels.useEndColor ? F.value.style.chart.plots.endColor : F.value.style.chart.labels.endLabels.color,
1388
+ "font-size": F.value.style.chart.labels.endLabels.fontSize,
1389
+ "text-anchor": "middle"
1390
+ }, w(T(c)(F.value.style.chart.labels.formatter, e.end, T(t)({
1391
+ p: F.value.style.chart.labels.prefix,
1392
+ v: e.end,
1393
+ s: F.value.style.chart.labels.suffix,
1394
+ r: F.value.style.chart.labels.endLabels.rounding
1395
+ }), {
1396
+ datapoint: e,
1397
+ seriesIndex: n
1398
+ })), 9, Ht))]))), 128))])) : p("", !0),
1399
+ h("g", null, [(b(!0), m(u, null, S(J.value, (e, t) => (b(), m("rect", {
1400
+ x: G.value.left,
1401
+ y: G.value.top + t * Math.max(.1, G.value.rowHeight),
1402
+ width: Math.max(.1, G.value.width),
1403
+ height: Math.max(.1, G.value.rowHeight),
1404
+ fill: j.value === null ? "transparent" : j.value === t ? T(te)(F.value.style.chart.highlighter.color, F.value.style.chart.highlighter.opacity) : "transparent",
1405
+ onMouseenter: (n) => ur({
1406
+ datapoint: e,
1407
+ seriesIndex: t
1408
+ }),
1409
+ onMouseleave: (n) => dr({
1410
+ datapoint: e,
1411
+ seriesIndex: t
1412
+ }),
1413
+ onClick: (n) => fr({
1414
+ datapoint: e,
1415
+ seriesIndex: t
1416
+ })
1417
+ }, null, 40, Ut))), 256))]),
1418
+ C(e.$slots, "svg", { svg: {
1419
+ ...G.value,
1420
+ isPrintingImg: T(Ln) || T(Rn) || bn.value,
1421
+ isPrintingSvg: xn.value
1422
+ } }, void 0, !0)
1423
+ ], 46, We)), e.$slots.hint ? (b(), m("div", Wt, [C(e.$slots, "hint", v(_({
1424
+ hint: F.value.a11y.translations.keyboardNavigation,
1425
+ isVisible: En.value
1426
+ })), void 0, !0)])) : p("", !0)]),
1427
+ e.$slots.watermark ? (b(), m("div", Gt, [C(e.$slots, "watermark", v(_({ isPrinting: T(Ln) || T(Rn) || bn.value || xn.value })), void 0, !0)])) : p("", !0),
1428
+ h("div", { id: `legend-bottom-${k.value}` }, null, 8, Kt),
1429
+ _n.value && (F.value.style.chart.legend.show || e.$slots.legend) ? (b(), f(we, {
1430
+ key: 6,
1431
+ to: F.value.style.chart.legend.position === "top" ? `#legend-top-${k.value}` : `#legend-bottom-${k.value}`
1432
+ }, [h("div", {
1433
+ ref_key: "chartLegend",
1434
+ ref: dn
1435
+ }, [C(e.$slots, "legend", { legend: Zn.value }, () => [F.value.style.chart.legend.show && cn.value ? (b(), f(Se, {
1436
+ key: `legend_${gn.value}`,
1437
+ legendSet: Zn.value,
1438
+ config: Qn.value,
1439
+ clickable: !1
1440
+ }, {
1441
+ item: D(({ legend: e }) => [h("div", { style: y(`display:flex;align-items:center;gap:4px;font-size:${F.value.style.chart.legend.fontSize}px`) }, [(b(), m("svg", {
1442
+ xmlns: T(re),
1443
+ viewBox: "0 0 20 20",
1444
+ height: F.value.style.chart.legend.fontSize,
1445
+ width: F.value.style.chart.legend.fontSize
1446
+ }, [h("circle", {
1447
+ cx: 10,
1448
+ cy: 10,
1449
+ r: 9,
1450
+ fill: e.color
1451
+ }, null, 8, Jt)], 8, qt)), T(On) ? p("", !0) : (b(), m(u, { key: 0 }, [Ee(w(e.name), 1)], 64))], 4)]),
1452
+ _: 1
1453
+ }, 8, ["legendSet", "config"])) : p("", !0)], !0)], 512)], 8, ["to"])) : p("", !0),
1454
+ e.$slots.source ? (b(), m("div", {
1455
+ key: 7,
1456
+ ref_key: "source",
1457
+ ref: fn,
1458
+ dir: "auto"
1459
+ }, [C(e.$slots, "source", {}, void 0, !0)], 512)) : p("", !0),
1460
+ cn.value && F.value.userOptions.buttons.table ? (b(), f(Ne(hr.value.component), Oe({ key: 8 }, hr.value.props, {
1461
+ ref_key: "tableUnit",
1462
+ ref: vn,
1463
+ onClose: gr
1464
+ }), Te({
1465
+ content: D(() => [(b(), f(T(Qt), {
1466
+ key: `table_${hn.value}`,
1467
+ colNames: Z.value.colNames,
1468
+ head: Z.value.head,
1469
+ body: Z.value.body,
1470
+ config: Z.value.config,
1471
+ title: F.value.table.useDialog ? "" : hr.value.title,
1472
+ withCloseButton: !F.value.table.useDialog,
1473
+ isCursorPointer: I.value,
1474
+ onClose: gr
1475
+ }, {
1476
+ th: D(({ th: e }) => [h("div", {
1477
+ innerHTML: e,
1478
+ style: {
1479
+ display: "flex",
1480
+ "align-items": "center"
1481
+ }
1482
+ }, null, 8, Yt)]),
1483
+ td: D(({ td: e }) => [Ee(w(e.name || e), 1)]),
1484
+ _: 1
1485
+ }, 8, [
1486
+ "colNames",
1487
+ "head",
1488
+ "body",
1489
+ "config",
1490
+ "title",
1491
+ "withCloseButton",
1492
+ "isCursorPointer"
1493
+ ]))]),
1494
+ _: 2
1495
+ }, [F.value.table.useDialog ? {
1496
+ name: "title",
1497
+ fn: D(() => [Ee(w(hr.value.title), 1)]),
1498
+ key: "0"
1499
+ } : void 0, F.value.table.useDialog ? {
1500
+ name: "actions",
1501
+ fn: D(() => [h("button", {
1502
+ tabindex: "0",
1503
+ class: "vue-ui-user-options-button",
1504
+ onClick: n[0] ||= (e) => $n(F.value.userOptions.callbacks.csv),
1505
+ style: y({ cursor: I.value ? "pointer" : "default" })
1506
+ }, [De(T(Xt), {
1507
+ name: "fileCsv",
1508
+ stroke: hr.value.props.color
1509
+ }, null, 8, ["stroke"])], 4)]),
1510
+ key: "1"
1511
+ } : void 0]), 1040)) : p("", !0),
1512
+ C(e.$slots, "skeleton", {}, () => [T(On) ? (b(), f(le, { key: 0 })) : p("", !0)], !0)
1513
+ ], 46, Be));
1514
+ }
1515
+ }, [["__scopeId", "data-v-9249a1ec"]]);
1516
+ //#endregion
1517
+ export { ze as n, Xt as t };