vue-data-ui 3.19.8 → 3.20.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 (329) hide show
  1. package/README.md +1 -1
  2. package/dist/{A11yDataTable-q2-8fSlJ.js → A11yDataTable-BCbtxMU6.js} +1 -1
  3. package/dist/{Arrow-Cj6W6Xbi.js → Arrow-D6j6ocXm.js} +1 -1
  4. package/dist/{BaseDraggableDialog-DUUu2E2Q.js → BaseDraggableDialog-4hDW-Rj2.js} +4 -4
  5. package/dist/{BaseIcon-DM1x8hQF.js → BaseIcon-DfLoHNUj.js} +3 -3
  6. package/dist/{BaseLegendToggle-CJTwLGXL.js → BaseLegendToggle-C_Db-y7s.js} +2 -2
  7. package/dist/{BaseScanner-C7dmAref.js → BaseScanner-Dr2a1Msy.js} +1 -1
  8. package/dist/{BaseZoomControls-BkajQ8q9.js → BaseZoomControls-CG7hI_1P.js} +3 -3
  9. package/dist/{ColorPicker-DTQeqKUV.js → ColorPicker-Bjwxnvfh.js} +4 -4
  10. package/dist/{DataTable-DmE8Oo4i.js → DataTable-B--IN22e.js} +3 -3
  11. package/dist/{Legend-Gg5Q4Clb.js → Legend-Cz2uQ5gs.js} +4 -4
  12. package/dist/{NonSvgPenAndPaper-tvWXeCsd.js → NonSvgPenAndPaper-gLNJ1Lmr.js} +28 -28
  13. package/dist/{PackageVersion-zJAUEmyB.js → PackageVersion-xcyrdRmY.js} +2 -2
  14. package/dist/{PenAndPaper-DNgm6y3l.js → PenAndPaper-DqrClVfb.js} +11 -11
  15. package/dist/{Shape-DEGOZ6GG.js → Shape-BPCJfphn.js} +1 -1
  16. package/dist/{Slicer-CPWGgGSp.js → Slicer-SHBj0VaV.js} +19 -19
  17. package/dist/{SlicerPreview-BU3ZeHjR.js → SlicerPreview-DdihbUSJ.js} +474 -361
  18. package/dist/{SparkTooltip-c2DL7gqD.js → SparkTooltip-CfE6yCad.js} +7 -7
  19. package/dist/{Title-__gWq2g6.js → Title-NWp4qB4K.js} +2 -2
  20. package/dist/{Tooltip-CuWEYGr3.js → Tooltip-BENq327o.js} +1 -1
  21. package/dist/{UserOptions-D7zR0tnR.js → UserOptions-C1NgoGu6.js} +5 -5
  22. package/dist/components/arrow.js +1 -1
  23. package/dist/components/vue-ui-3d-bar.js +1 -1
  24. package/dist/components/vue-ui-accordion.js +1 -1
  25. package/dist/components/vue-ui-age-pyramid.js +1 -1
  26. package/dist/components/vue-ui-annotator.js +1 -1
  27. package/dist/components/vue-ui-bullet.js +1 -1
  28. package/dist/components/vue-ui-bump.js +1 -1
  29. package/dist/components/vue-ui-candlestick.js +1 -1
  30. package/dist/components/vue-ui-carousel-table.js +1 -1
  31. package/dist/components/vue-ui-chestnut.js +1 -1
  32. package/dist/components/vue-ui-chord.js +1 -1
  33. package/dist/components/vue-ui-circle-pack.js +1 -1
  34. package/dist/components/vue-ui-cursor.js +1 -1
  35. package/dist/components/vue-ui-dag.js +1 -1
  36. package/dist/components/vue-ui-dashboard.js +1 -1
  37. package/dist/components/vue-ui-digits.js +1 -1
  38. package/dist/components/vue-ui-donut-evolution.js +1 -1
  39. package/dist/components/vue-ui-donut.js +1 -1
  40. package/dist/components/vue-ui-dumbbell.js +1 -1
  41. package/dist/components/vue-ui-flow.js +1 -1
  42. package/dist/components/vue-ui-funnel.js +1 -1
  43. package/dist/components/vue-ui-galaxy.js +1 -1
  44. package/dist/components/vue-ui-gauge.js +1 -1
  45. package/dist/components/vue-ui-geo.js +1 -1
  46. package/dist/components/vue-ui-gizmo.js +1 -1
  47. package/dist/components/vue-ui-heatmap.js +1 -1
  48. package/dist/components/vue-ui-history-plot.js +1 -1
  49. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  50. package/dist/components/vue-ui-icon.js +1 -1
  51. package/dist/components/vue-ui-kpi.js +1 -1
  52. package/dist/components/vue-ui-mini-loader.js +1 -1
  53. package/dist/components/vue-ui-molecule.js +1 -1
  54. package/dist/components/vue-ui-mood-radar.js +1 -1
  55. package/dist/components/vue-ui-nested-donuts.js +1 -1
  56. package/dist/components/vue-ui-onion.js +1 -1
  57. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  58. package/dist/components/vue-ui-pattern-seed.js +1 -1
  59. package/dist/components/vue-ui-pattern.js +1 -1
  60. package/dist/components/vue-ui-quadrant.js +1 -1
  61. package/dist/components/vue-ui-quick-chart.js +1 -1
  62. package/dist/components/vue-ui-radar.js +1 -1
  63. package/dist/components/vue-ui-rating.js +1 -1
  64. package/dist/components/vue-ui-relation-circle.js +1 -1
  65. package/dist/components/vue-ui-ridgeline.js +1 -1
  66. package/dist/components/vue-ui-rings.js +1 -1
  67. package/dist/components/vue-ui-scatter.js +1 -1
  68. package/dist/components/vue-ui-skeleton.js +1 -1
  69. package/dist/components/vue-ui-smiley.js +1 -1
  70. package/dist/components/vue-ui-spark-trend.js +1 -1
  71. package/dist/components/vue-ui-sparkbar.js +1 -1
  72. package/dist/components/vue-ui-sparkgauge.js +1 -1
  73. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  74. package/dist/components/vue-ui-sparkline.js +1 -1
  75. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  76. package/dist/components/vue-ui-stackbar.js +1 -1
  77. package/dist/components/vue-ui-stackline.js +1 -1
  78. package/dist/components/vue-ui-strip-plot.js +1 -1
  79. package/dist/components/vue-ui-table-heatmap.js +1 -1
  80. package/dist/components/vue-ui-table-sparkline.js +1 -1
  81. package/dist/components/vue-ui-table.js +1 -1
  82. package/dist/components/vue-ui-thermometer.js +1 -1
  83. package/dist/components/vue-ui-timer.js +1 -1
  84. package/dist/components/vue-ui-tiremarks.js +1 -1
  85. package/dist/components/vue-ui-treemap.js +1 -1
  86. package/dist/components/vue-ui-vertical-bar.js +1 -1
  87. package/dist/components/vue-ui-waffle.js +1 -1
  88. package/dist/components/vue-ui-wheel.js +1 -1
  89. package/dist/components/vue-ui-word-cloud.js +1 -1
  90. package/dist/components/vue-ui-world.js +1 -1
  91. package/dist/components/vue-ui-xy-canvas.js +1 -1
  92. package/dist/components/vue-ui-xy.js +1 -1
  93. package/dist/{dom-to-png-9WSt6hXe.js → dom-to-png-BYtB4BF3.js} +1 -1
  94. package/dist/exposedLib-CI8ji8G-.js +19 -0
  95. package/dist/{geoProjections-CQIkC70z.js → geoProjections-Czak6Jn1.js} +3 -4
  96. package/dist/{img-BjOr008R.js → img-1cKsci8e.js} +2 -2
  97. package/dist/{labelUtils-Cr97N8E1.js → labelUtils-CUctkYoA.js} +1 -1
  98. package/dist/{lib-BkiwukKO.js → lib-DUeYQsS0.js} +4 -1
  99. package/dist/{pdf-DSXSFUnK.js → pdf-D0eZ99cP.js} +1 -1
  100. package/dist/style.css +1 -1
  101. package/dist/types/vue-data-ui.d.ts +1557 -193
  102. package/dist/types/vue-ui-3d-bar.d.ts +16 -1
  103. package/dist/types/vue-ui-age-pyramid.d.ts +14 -1
  104. package/dist/types/vue-ui-annotator.d.ts +28 -6
  105. package/dist/types/vue-ui-bullet.d.ts +14 -1
  106. package/dist/types/vue-ui-bump.d.ts +16 -1
  107. package/dist/types/vue-ui-candlestick.d.ts +16 -3
  108. package/dist/types/vue-ui-carousel-table.d.ts +14 -1
  109. package/dist/types/vue-ui-chestnut.d.ts +20 -1
  110. package/dist/types/vue-ui-chord.d.ts +20 -1
  111. package/dist/types/vue-ui-circle-pack.d.ts +16 -1
  112. package/dist/types/vue-ui-dag.d.ts +22 -1
  113. package/dist/types/vue-ui-dashboard.d.ts +16 -1
  114. package/dist/types/vue-ui-donut-evolution.d.ts +16 -1
  115. package/dist/types/vue-ui-donut.d.ts +18 -1
  116. package/dist/types/vue-ui-dumbbell.d.ts +16 -1
  117. package/dist/types/vue-ui-flow.d.ts +14 -1
  118. package/dist/types/vue-ui-funnel.d.ts +14 -1
  119. package/dist/types/vue-ui-galaxy.d.ts +18 -1
  120. package/dist/types/vue-ui-gauge.d.ts +14 -1
  121. package/dist/types/vue-ui-geo.d.ts +14 -1
  122. package/dist/types/vue-ui-heatmap.d.ts +16 -1
  123. package/dist/types/vue-ui-history-plot.d.ts +18 -1
  124. package/dist/types/vue-ui-horizontal-bar.d.ts +18 -1
  125. package/dist/types/vue-ui-molecule.d.ts +16 -1
  126. package/dist/types/vue-ui-mood-radar.d.ts +14 -1
  127. package/dist/types/vue-ui-nested-donuts.d.ts +18 -1
  128. package/dist/types/vue-ui-onion.d.ts +16 -1
  129. package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +18 -1
  130. package/dist/types/vue-ui-quadrant.d.ts +24 -1
  131. package/dist/types/vue-ui-quick-chart.d.ts +20 -1
  132. package/dist/types/vue-ui-radar.d.ts +16 -1
  133. package/dist/types/vue-ui-rating.d.ts +12 -1
  134. package/dist/types/vue-ui-relation-circle.d.ts +14 -1
  135. package/dist/types/vue-ui-ridgeline.d.ts +22 -1
  136. package/dist/types/vue-ui-rings.d.ts +16 -1
  137. package/dist/types/vue-ui-scatter.d.ts +16 -1
  138. package/dist/types/vue-ui-smiley.d.ts +22 -6
  139. package/dist/types/vue-ui-sparkbar.d.ts +14 -1
  140. package/dist/types/vue-ui-sparkhistogram.d.ts +14 -1
  141. package/dist/types/vue-ui-sparkline.d.ts +16 -1
  142. package/dist/types/vue-ui-sparkstackbar.d.ts +16 -1
  143. package/dist/types/vue-ui-stackbar.d.ts +22 -1
  144. package/dist/types/vue-ui-stackline.d.ts +22 -1
  145. package/dist/types/vue-ui-strip-plot.d.ts +16 -1
  146. package/dist/types/vue-ui-table-sparkline.d.ts +14 -1
  147. package/dist/types/vue-ui-table.d.ts +17 -4
  148. package/dist/types/vue-ui-thermometer.d.ts +14 -1
  149. package/dist/types/vue-ui-timer.d.ts +14 -1
  150. package/dist/types/vue-ui-tiremarks.d.ts +14 -1
  151. package/dist/types/vue-ui-treemap.d.ts +18 -1
  152. package/dist/types/vue-ui-waffle.d.ts +16 -1
  153. package/dist/types/vue-ui-wheel.d.ts +14 -1
  154. package/dist/types/vue-ui-word-cloud.d.ts +14 -1
  155. package/dist/types/vue-ui-world.d.ts +18 -1
  156. package/dist/types/vue-ui-xy-canvas.d.ts +18 -1
  157. package/dist/types/vue-ui-xy.d.ts +22 -1
  158. package/dist/{useAutoSizeLabelsInsideViewbox-dp-3Gg97.js → useAutoSizeLabelsInsideViewbox-BIVntRZp.js} +1 -1
  159. package/dist/{useConfig-ByaaSKhz.js → useConfig-DAyQk86L.js} +9 -1
  160. package/dist/{useNestedProp-Ck4hsrpu.js → useNestedProp-CNcoy38D.js} +2 -2
  161. package/dist/{useObjectBindings-BR1sGimd.js → useObjectBindings-BI7hP-BC.js} +53 -53
  162. package/dist/{usePrinter-X0yWOynH.js → usePrinter-C1Gqt_Sp.js} +2 -2
  163. package/dist/utils.js +4 -4
  164. package/dist/{vue-data-ui-Dv8MNDbS.js → vue-data-ui-qpQv-4uP.js} +69 -69
  165. package/dist/vue-data-ui.js +75 -75
  166. package/dist/{vue-ui-3d-bar-DVsF4qGd.js → vue-ui-3d-bar-C8cputoI.js} +312 -312
  167. package/dist/{vue-ui-accordion-BX9WL-QF.js → vue-ui-accordion-Dw4MHKVB.js} +6 -6
  168. package/dist/vue-ui-age-pyramid-Cv2Ndbb5.js +1238 -0
  169. package/dist/{vue-ui-annotator-Be3VpH8Z.js → vue-ui-annotator-DLPUAKlm.js} +66 -66
  170. package/dist/vue-ui-bullet-DLxmtMJ9.js +710 -0
  171. package/dist/{vue-ui-bump-C1w-a4ad.js → vue-ui-bump-DVaqtZbd.js} +260 -260
  172. package/dist/{vue-ui-candlestick-zO0Jmsen.js → vue-ui-candlestick-CkApimw1.js} +81 -81
  173. package/dist/vue-ui-carousel-table-CbfIBWl3.js +455 -0
  174. package/dist/vue-ui-chestnut-CQT4nCFL.js +2010 -0
  175. package/dist/vue-ui-chord-8IjSrg6f.js +1391 -0
  176. package/dist/{vue-ui-circle-pack-Dp5_ugXW.js → vue-ui-circle-pack-B1CpTtpw.js} +51 -51
  177. package/dist/{vue-ui-cursor-DBViygOD.js → vue-ui-cursor-NaTj5i2-.js} +6 -6
  178. package/dist/{vue-ui-dag-BA2vr2Ub.js → vue-ui-dag-DH4ocx0S.js} +46 -46
  179. package/dist/{vue-ui-dashboard-D11FCHnp.js → vue-ui-dashboard-Ckff1yim.js} +73 -73
  180. package/dist/{vue-ui-digits-CIXbRR97.js → vue-ui-digits-DwLlJqbW.js} +6 -6
  181. package/dist/vue-ui-donut-DQdIdwRU.js +2410 -0
  182. package/dist/vue-ui-donut-evolution-MfM5kK6w.js +1510 -0
  183. package/dist/vue-ui-dumbbell-B2T4vlK-.js +1530 -0
  184. package/dist/{vue-ui-flow-Dly7N0Nb.js → vue-ui-flow-CJh6f72m.js} +107 -107
  185. package/dist/vue-ui-funnel-C9gfXNCr.js +777 -0
  186. package/dist/vue-ui-galaxy-pBR_FESJ.js +1077 -0
  187. package/dist/vue-ui-gauge-CAemxCGl.js +920 -0
  188. package/dist/{vue-ui-geo-CV0FBeuB.js → vue-ui-geo-BDQqaukJ.js} +35 -35
  189. package/dist/{vue-ui-gizmo-5rdIvscj.js → vue-ui-gizmo-B1ppjqPj.js} +63 -63
  190. package/dist/{vue-ui-heatmap-kiQ6q3q4.js → vue-ui-heatmap-BiC9xp8L.js} +259 -259
  191. package/dist/vue-ui-history-plot-iAPjlOja.js +1554 -0
  192. package/dist/vue-ui-horizontal-bar-CcgClgLg.js +1681 -0
  193. package/dist/{vue-ui-kpi-Bz7QeCTV.js → vue-ui-kpi-CJ5oyYLS.js} +6 -6
  194. package/dist/{vue-ui-mini-loader-DDJUya9e.js → vue-ui-mini-loader-CyqBt2g4.js} +5 -5
  195. package/dist/vue-ui-molecule-Cg9ZHa6b.js +925 -0
  196. package/dist/{vue-ui-mood-radar-D0lanJ__.js → vue-ui-mood-radar-N8osOTFR.js} +36 -36
  197. package/dist/vue-ui-nested-donuts-CwH3wKgX.js +1487 -0
  198. package/dist/{vue-ui-onion-u9hGe4VA.js → vue-ui-onion-C56gFjO6.js} +296 -296
  199. package/dist/{vue-ui-parallel-coordinate-plot-BJ5OjYTH.js → vue-ui-parallel-coordinate-plot-C-jj819p.js} +203 -212
  200. package/dist/{vue-ui-pattern-seed-abRweCDE.js → vue-ui-pattern-seed-BB1honLm.js} +1 -1
  201. package/dist/{vue-ui-quadrant-BVFJ5Vur.js → vue-ui-quadrant-DYc9xZY3.js} +444 -444
  202. package/dist/vue-ui-quick-chart-BG7kK_-q.js +2469 -0
  203. package/dist/{vue-ui-radar-BsRGxgXN.js → vue-ui-radar-CgKog9Xw.js} +186 -183
  204. package/dist/{vue-ui-rating-D_QR_A3V.js → vue-ui-rating-BG4lf1z8.js} +41 -41
  205. package/dist/vue-ui-relation-circle-D-rUk-0P.js +924 -0
  206. package/dist/{vue-ui-ridgeline-BtNEP6ba.js → vue-ui-ridgeline-DPrlVJTW.js} +377 -377
  207. package/dist/{vue-ui-rings-Pj7yMeOV.js → vue-ui-rings-CIvvHHsF.js} +199 -196
  208. package/dist/vue-ui-scatter-CeBQJbGx.js +2413 -0
  209. package/dist/{vue-ui-skeleton-Cqv1KG4y.js → vue-ui-skeleton-BKoa_G6d.js} +44 -44
  210. package/dist/{vue-ui-smiley-rFdGxZK6.js → vue-ui-smiley-G89TxRU-.js} +14 -14
  211. package/dist/{vue-ui-spark-trend-eHleRq-z.js → vue-ui-spark-trend-DGOrPr9I.js} +121 -121
  212. package/dist/{vue-ui-sparkbar-BHJTG_on.js → vue-ui-sparkbar-BVumo-YD.js} +107 -107
  213. package/dist/{vue-ui-sparkgauge-DpAEwvLX.js → vue-ui-sparkgauge-BoCwdQcu.js} +56 -56
  214. package/dist/{vue-ui-sparkhistogram-BlMH_NJk.js → vue-ui-sparkhistogram-4qXY1LXW.js} +112 -112
  215. package/dist/vue-ui-sparkline-C0kzXrwI.js +1507 -0
  216. package/dist/{vue-ui-sparkstackbar-BI8zG-DG.js → vue-ui-sparkstackbar-DG7hz_KM.js} +137 -137
  217. package/dist/{vue-ui-stackbar-28FVVqVu.js → vue-ui-stackbar-Dnq4l5xs.js} +344 -341
  218. package/dist/vue-ui-stackline-CaNOHQYl.js +2398 -0
  219. package/dist/{vue-ui-strip-plot-DX36qFKk.js → vue-ui-strip-plot-D2CcJw_5.js} +79 -79
  220. package/dist/{vue-ui-table-DdZ_DkqT.js → vue-ui-table-NBQrkVnO.js} +84 -84
  221. package/dist/{vue-ui-table-heatmap-BFKyJTr1.js → vue-ui-table-heatmap-CCGjbSzQ.js} +22 -22
  222. package/dist/{vue-ui-table-sparkline-BSV1jn7r.js → vue-ui-table-sparkline-BZDkOEEl.js} +125 -125
  223. package/dist/vue-ui-thermometer-BXyHOQ7T.js +763 -0
  224. package/dist/{vue-ui-timer-BkdpZ-lw.js → vue-ui-timer-CcLK1wbi.js} +29 -29
  225. package/dist/{vue-ui-tiremarks-GC773Hw1.js → vue-ui-tiremarks-B6txvBg-.js} +25 -25
  226. package/dist/{vue-ui-treemap-C0dtbfbZ.js → vue-ui-treemap-O3SBpD3K.js} +241 -241
  227. package/dist/{vue-ui-waffle-BvzfNmJC.js → vue-ui-waffle-DN5zG3b0.js} +289 -289
  228. package/dist/{vue-ui-wheel-Dm9V8TAH.js → vue-ui-wheel-CxnJGXkX.js} +134 -134
  229. package/dist/{vue-ui-word-cloud-Ne_B9Elc.js → vue-ui-word-cloud-CM5yPCXb.js} +54 -54
  230. package/dist/{vue-ui-world-Bp38MZij.js → vue-ui-world-DCPgXKxh.js} +447 -447
  231. package/dist/{vue-ui-xy-canvas-B06Rit63.js → vue-ui-xy-canvas-BUPnRZ3C.js} +91 -90
  232. package/dist/vue-ui-xy-lfMIx0wK.js +4578 -0
  233. package/dist/{vue_ui_3d_bar-CXKqO5Ej.js → vue_ui_3d_bar-C4R7o-yX.js} +1 -1
  234. package/dist/{vue_ui_age_pyramid-BON8QI6X.js → vue_ui_age_pyramid-BY6c-oX_.js} +1 -1
  235. package/dist/{vue_ui_bullet-CE5sFT7u.js → vue_ui_bullet-ClzdLoOv.js} +1 -1
  236. package/dist/{vue_ui_bump-frnXaXul.js → vue_ui_bump-Vl-zYAtG.js} +1 -1
  237. package/dist/{vue_ui_candlestick-sY6UtOop.js → vue_ui_candlestick-J8jmJvxP.js} +1 -1
  238. package/dist/{vue_ui_chestnut-BiUZFv40.js → vue_ui_chestnut-D2oUhad6.js} +1 -1
  239. package/dist/{vue_ui_chord-DpyR_b9A.js → vue_ui_chord-DPfS1Umc.js} +1 -1
  240. package/dist/{vue_ui_circle_pack-FjH0ZQeb.js → vue_ui_circle_pack-DZC_rdfn.js} +1 -1
  241. package/dist/{vue_ui_dag-Ci_MOnvd.js → vue_ui_dag-TsJ_azQq.js} +1 -1
  242. package/dist/{vue_ui_donut-Cx2_BGcQ.js → vue_ui_donut-BDGqG07h.js} +1 -1
  243. package/dist/{vue_ui_donut_evolution-CAJefrHs.js → vue_ui_donut_evolution-D1yAAIHr.js} +1 -1
  244. package/dist/{vue_ui_dumbbell-CClzAZTN.js → vue_ui_dumbbell-Bfe_jFyi.js} +1 -1
  245. package/dist/{vue_ui_flow-CCHO1Lo9.js → vue_ui_flow-BewZjjKG.js} +1 -1
  246. package/dist/{vue_ui_funnel-h8q2mRpC.js → vue_ui_funnel-_Og4EEkO.js} +1 -1
  247. package/dist/{vue_ui_galaxy-70vtkEBw.js → vue_ui_galaxy-Ig0cc1_h.js} +1 -1
  248. package/dist/{vue_ui_gauge-C17CgfzN.js → vue_ui_gauge-Cf1RZc9q.js} +1 -1
  249. package/dist/{vue_ui_geo-C0UbQ0Lc.js → vue_ui_geo-B8TODs-G.js} +1 -1
  250. package/dist/{vue_ui_heatmap-BqPP3J4M.js → vue_ui_heatmap-B2BBBSWG.js} +1 -1
  251. package/dist/{vue_ui_history_plot-C5nytDHh.js → vue_ui_history_plot-CuN63VEc.js} +1 -1
  252. package/dist/{vue_ui_horizontal_bar-Bqxorkc_.js → vue_ui_horizontal_bar-C4J4QzXf.js} +1 -1
  253. package/dist/{vue_ui_molecule-Dka4JBOp.js → vue_ui_molecule-CO9L59SF.js} +1 -1
  254. package/dist/{vue_ui_mood_radar-Dg4ijm53.js → vue_ui_mood_radar-BA6LAKhk.js} +1 -1
  255. package/dist/{vue_ui_nested_donuts-BY9cOoHF.js → vue_ui_nested_donuts-B8csIoVO.js} +1 -1
  256. package/dist/{vue_ui_onion-DTV9cup-.js → vue_ui_onion-1FTFFS46.js} +1 -1
  257. package/dist/{vue_ui_parallel_coordinate_plot-CNWrDh96.js → vue_ui_parallel_coordinate_plot-CBiOBira.js} +1 -1
  258. package/dist/{vue_ui_quadrant-3kjYvxpj.js → vue_ui_quadrant-CDSTKTJz.js} +1 -1
  259. package/dist/{vue_ui_quick_chart--VaYQuM4.js → vue_ui_quick_chart-mZBdml3Z.js} +1 -1
  260. package/dist/{vue_ui_radar-Dxx9GJmj.js → vue_ui_radar-jafTED5j.js} +1 -1
  261. package/dist/{vue_ui_relation_circle-Cr0I2SoU.js → vue_ui_relation_circle-D0p4mXmv.js} +1 -1
  262. package/dist/{vue_ui_ridgeline-CAtYca4b.js → vue_ui_ridgeline-VM8_mx4J.js} +1 -1
  263. package/dist/{vue_ui_rings-DXC1VeX5.js → vue_ui_rings-BVgD2aMn.js} +1 -1
  264. package/dist/{vue_ui_scatter-D2S2j0ap.js → vue_ui_scatter-I0POnicu.js} +1 -1
  265. package/dist/{vue_ui_spark_trend-BHMQ6_1p.js → vue_ui_spark_trend-DxVmpkmC.js} +1 -1
  266. package/dist/{vue_ui_sparkbar-BR6hbuDE.js → vue_ui_sparkbar-z6qO--Kf.js} +1 -1
  267. package/dist/{vue_ui_sparkgauge-xfPRHnMv.js → vue_ui_sparkgauge-BX1MS3bA.js} +1 -1
  268. package/dist/{vue_ui_sparkhistogram-CJRENZ1C.js → vue_ui_sparkhistogram-BRgvKUH6.js} +1 -1
  269. package/dist/{vue_ui_sparkline-wgk7yO7E.js → vue_ui_sparkline-auZhap6Y.js} +1 -1
  270. package/dist/{vue_ui_sparkstackbar-C5qZMmAl.js → vue_ui_sparkstackbar-BOjuQnZd.js} +1 -1
  271. package/dist/{vue_ui_stackbar-BW_C3MXw.js → vue_ui_stackbar-COOrQQdK.js} +1 -1
  272. package/dist/{vue_ui_stackline-DXxzibUd.js → vue_ui_stackline-DQqKPA9z.js} +1 -1
  273. package/dist/{vue_ui_strip_plot-8ZelqC5b.js → vue_ui_strip_plot-CtJe8_gq.js} +1 -1
  274. package/dist/{vue_ui_table_heatmap-BGUjA0WA.js → vue_ui_table_heatmap-w8vx5k6f.js} +1 -1
  275. package/dist/{vue_ui_table_sparkline-i0Q-N_we.js → vue_ui_table_sparkline-DAbkUrNz.js} +1 -1
  276. package/dist/{vue_ui_thermometer-CuN7Gpez.js → vue_ui_thermometer-DxgqWKlE.js} +1 -1
  277. package/dist/{vue_ui_tiremarks-A6UHC0c3.js → vue_ui_tiremarks-CdEPieWV.js} +1 -1
  278. package/dist/{vue_ui_treemap-BQp06q-g.js → vue_ui_treemap-DoEtkRN6.js} +1 -1
  279. package/dist/{vue_ui_waffle-C_Ev4l7B.js → vue_ui_waffle-DIARFc7g.js} +1 -1
  280. package/dist/{vue_ui_wheel-DdkTPXJU.js → vue_ui_wheel-DZ_nR--t.js} +1 -1
  281. package/dist/{vue_ui_word_cloud-B1PbsYPc.js → vue_ui_word_cloud-C-qIMNLu.js} +1 -1
  282. package/dist/{vue_ui_xy-BYPqfYyx.js → vue_ui_xy-BLUkWEAm.js} +1 -1
  283. package/dist/{vue_ui_xy_canvas-CMHGNrLf.js → vue_ui_xy_canvas-Cb6dg3eK.js} +1 -1
  284. package/package.json +6 -6
  285. package/dist/exposedLib-CwWU4zv-.js +0 -19
  286. package/dist/vue-ui-age-pyramid-Bu3bocZx.js +0 -1238
  287. package/dist/vue-ui-bullet-COSSZ7RU.js +0 -710
  288. package/dist/vue-ui-carousel-table-Q2uTIELA.js +0 -455
  289. package/dist/vue-ui-chestnut-DdNKhXkN.js +0 -2010
  290. package/dist/vue-ui-chord-CYzGIRtA.js +0 -1391
  291. package/dist/vue-ui-donut-BSanYbqb.js +0 -2408
  292. package/dist/vue-ui-donut-evolution-BVttNIzH.js +0 -1510
  293. package/dist/vue-ui-dumbbell-D-KcBLOF.js +0 -1527
  294. package/dist/vue-ui-funnel-COwXzAbB.js +0 -777
  295. package/dist/vue-ui-galaxy-Cg9VStNF.js +0 -1074
  296. package/dist/vue-ui-gauge-DHWCS6jR.js +0 -920
  297. package/dist/vue-ui-history-plot-CgPjudHv.js +0 -1563
  298. package/dist/vue-ui-horizontal-bar-CpQCmBQD.js +0 -1681
  299. package/dist/vue-ui-molecule-CvfwMxYY.js +0 -925
  300. package/dist/vue-ui-nested-donuts-C-LWBXmg.js +0 -1484
  301. package/dist/vue-ui-quick-chart-Cd5lGyph.js +0 -2471
  302. package/dist/vue-ui-relation-circle-MxYh6hSt.js +0 -924
  303. package/dist/vue-ui-scatter-DrS1nrwL.js +0 -2413
  304. package/dist/vue-ui-sparkline-BAWc3ROJ.js +0 -1507
  305. package/dist/vue-ui-stackline-DwtlEdOE.js +0 -2395
  306. package/dist/vue-ui-thermometer-Io8LdW1o.js +0 -763
  307. package/dist/vue-ui-xy-BCeOqJYR.js +0 -4216
  308. /package/dist/{RecursiveCircles-DPpLel6f.js → RecursiveCircles-D6aDPmoe.js} +0 -0
  309. /package/dist/{RecursiveLabels-DBMJf_to.js → RecursiveLabels-D9rfID6q.js} +0 -0
  310. /package/dist/{RecursiveLinks-D06dBL4a.js → RecursiveLinks-BygcpDiT.js} +0 -0
  311. /package/dist/{_plugin-vue_export-helper-Dq1MygBL.js → _plugin-vue_export-helper-B3ysoDQm.js} +0 -0
  312. /package/dist/{canvas-lib-DTaADQOK.js → canvas-lib-BOP_HS11.js} +0 -0
  313. /package/dist/{patternUtils-B7BWu5bV.js → patternUtils-CS7hn6at.js} +0 -0
  314. /package/dist/{rolldown-runtime-CAFD8bLK.js → rolldown-runtime-Dy4uBu1J.js} +0 -0
  315. /package/dist/{useChartAccessibility-Do37qcw2.js → useChartAccessibility-DYqac8yF.js} +0 -0
  316. /package/dist/{useFitSvgText-C-MEdAfe.js → useFitSvgText-CT3nmlaS.js} +0 -0
  317. /package/dist/{usePanZoom-B-4M_gmY.js → usePanZoom-CYU3B4T3.js} +0 -0
  318. /package/dist/{usePrefersMotion-BywLbIko.js → usePrefersMotion-BC-CsqR1.js} +0 -0
  319. /package/dist/{useResponsive-CrAInupd.js → useResponsive-BfnK0KxU.js} +0 -0
  320. /package/dist/{useStableElementSize-0I1IpHPl.js → useStableElementSize-C7KADDKj.js} +0 -0
  321. /package/dist/{useSvgExport-Dtu973wa.js → useSvgExport-SVIsDot8.js} +0 -0
  322. /package/dist/{useTableResponsive-DrM1xqII.js → useTableResponsive-B24Uwt2E.js} +0 -0
  323. /package/dist/{useThemeCheck-rFK9Zlb_.js → useThemeCheck-C43Tcqmk.js} +0 -0
  324. /package/dist/{useTimeLabelCollider-Dm55Emzg.js → useTimeLabelCollider-AEcY4Ioe.js} +0 -0
  325. /package/dist/{useTimeLabels-C0x7zUXP.js → useTimeLabels-BmBRv27Y.js} +0 -0
  326. /package/dist/{useUserOptionState-CjPJPTg2.js → useUserOptionState-DK-_1ddE.js} +0 -0
  327. /package/dist/{vClickOutside-CbX_bC9A.js → vClickOutside-DUrZWttG.js} +0 -0
  328. /package/dist/{vue-ui-pattern-Bj-IPFr2.js → vue-ui-pattern-DKozfnVn.js} +0 -0
  329. /package/dist/{vue_ui_vertical_bar-CJSD1FZS.js → vue_ui_vertical_bar-CP-MKz1j.js} +0 -0
@@ -1,1527 +0,0 @@
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-BkiwukKO.js";
3
- import { t as oe } from "./useConfig-ByaaSKhz.js";
4
- import { t as se } from "./usePrinter-X0yWOynH.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-Ck4hsrpu.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-BjOr008R.js";
11
- import { n as he } from "./Title-__gWq2g6.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-Gg5Q4Clb.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-DM1x8hQF.js").then((e) => e.n)), Zt = g(() => import("./vue-ui-accordion-BX9WL-QF.js").then((e) => e.n)), Qt = g(() => import("./DataTable-DmE8Oo4i.js")), $t = g(() => import("./PenAndPaper-DNgm6y3l.js").then((e) => e.t)), en = g(() => import("./UserOptions-D7zR0tnR.js").then((e) => e.n)), tn = g(() => import("./PackageVersion-zJAUEmyB.js").then((e) => e.t)), nn = g(() => import("./BaseDraggableDialog-DUUu2E2Q.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
- e.$slots["custom-menu-before"] ? {
1017
- name: "custom-menu-before",
1018
- fn: D(() => [C(e.$slots, "custom-menu-before", {}, void 0, !0)]),
1019
- key: "9"
1020
- } : void 0,
1021
- e.$slots["custom-menu-after"] ? {
1022
- name: "custom-menu-after",
1023
- fn: D(() => [C(e.$slots, "custom-menu-after", {}, void 0, !0)]),
1024
- key: "10"
1025
- } : void 0
1026
- ]), 1032, [
1027
- "backgroundColor",
1028
- "color",
1029
- "isPrinting",
1030
- "isImaging",
1031
- "uid",
1032
- "hasPdf",
1033
- "hasXls",
1034
- "hasImg",
1035
- "hasSvg",
1036
- "hasTable",
1037
- "hasFullscreen",
1038
- "hasAltCopy",
1039
- "isFullscreen",
1040
- "titles",
1041
- "chartElement",
1042
- "position",
1043
- "hasAnnotator",
1044
- "isAnnotation",
1045
- "callbacks",
1046
- "printScale",
1047
- "tableDialog",
1048
- "isCursorPointer",
1049
- "onGeneratePdf",
1050
- "style"
1051
- ])) : p("", !0),
1052
- h("div", Ue, [(b(), m("svg", {
1053
- ref_key: "svgRef",
1054
- ref: L,
1055
- xmlns: T(re),
1056
- class: Ae({
1057
- "vue-data-ui-fullscreen--on": Q.value,
1058
- "vue-data-ui-fulscreen--off": !Q.value
1059
- }),
1060
- viewBox: `0 0 ${W.value} ${G.value.absoluteHeight <= 0 ? 10 : G.value.absoluteHeight}`,
1061
- style: y(`max-width:100%; overflow: visible; background:transparent;color:${F.value.style.chart.color}`),
1062
- "aria-describedby": `chart-instructions-${k.value}`,
1063
- tabindex: "0",
1064
- onFocus: Dr,
1065
- onBlur: Or,
1066
- onKeydown: kr
1067
- }, [
1068
- De(T(tn)),
1069
- e.$slots["chart-background"] ? (b(), m("foreignObject", {
1070
- key: 0,
1071
- x: G.value.left,
1072
- y: G.value.top,
1073
- width: Math.max(.1, G.value.width),
1074
- height: Math.max(.1, G.value.height),
1075
- style: { pointerEvents: "none" }
1076
- }, [C(e.$slots, "chart-background", {}, void 0, !0)], 8, Ge)) : p("", !0),
1077
- 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", {
1078
- x1: G.value.left + t * G.value.width / (H.value.ticks.length - 1),
1079
- x2: G.value.left + t * G.value.width / (H.value.ticks.length - 1),
1080
- y1: G.value.top,
1081
- y2: G.value.bottom,
1082
- stroke: F.value.style.chart.grid.verticalGrid.stroke,
1083
- "stroke-width": F.value.style.chart.grid.verticalGrid.strokeWidth,
1084
- "stroke-dasharray": F.value.style.chart.grid.verticalGrid.strokeDasharray
1085
- }, null, 8, qe))), 256))])) : p("", !0),
1086
- F.value.style.chart.grid.horizontalGrid.show ? (b(), m("g", Je, [(b(!0), m(u, null, S(V.value, (e, t) => (b(), m("line", {
1087
- x1: G.value.left,
1088
- x2: G.value.right,
1089
- y1: G.value.top + t * G.value.rowHeight,
1090
- y2: G.value.top + t * G.value.rowHeight,
1091
- stroke: F.value.style.chart.grid.horizontalGrid.stroke,
1092
- "stroke-width": F.value.style.chart.grid.horizontalGrid.strokeWidth,
1093
- "stroke-dasharray": F.value.style.chart.grid.horizontalGrid.strokeDasharray
1094
- }, null, 8, Ye))), 256)), h("line", {
1095
- x1: G.value.left,
1096
- x2: G.value.right,
1097
- y1: G.value.bottom,
1098
- y2: G.value.bottom,
1099
- stroke: F.value.style.chart.grid.horizontalGrid.stroke,
1100
- "stroke-width": F.value.style.chart.grid.horizontalGrid.strokeWidth,
1101
- "stroke-dasharray": F.value.style.chart.grid.horizontalGrid.strokeDasharray
1102
- }, null, 8, Xe)])) : p("", !0),
1103
- F.value.style.chart.labels.axis.yLabel ? (b(), m("text", {
1104
- key: 3,
1105
- ref_key: "yAxisLabel",
1106
- ref: Sn,
1107
- transform: `translate(${F.value.style.chart.labels.axis.fontSize}, ${G.value.absoluteHeight / 2}), rotate(-90)`,
1108
- "font-size": F.value.style.chart.labels.axis.fontSize,
1109
- fill: F.value.style.chart.labels.axis.color,
1110
- "text-anchor": "middle"
1111
- }, w(F.value.style.chart.labels.axis.yLabel), 9, Ze)) : p("", !0),
1112
- F.value.style.chart.labels.yAxisLabels.show ? (b(), m("g", {
1113
- key: 4,
1114
- ref_key: "serieLabels",
1115
- ref: Cn
1116
- }, [(b(!0), m(u, null, S(J.value, (e, n) => (b(), m("text", {
1117
- class: "vue-ui-dumbbell-serie-name",
1118
- key: `serieLabel_${e.id}_${n}`,
1119
- x: G.value.left - 6 + F.value.style.chart.labels.yAxisLabels.offsetX,
1120
- 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,
1121
- "font-size": F.value.style.chart.labels.yAxisLabels.fontSize,
1122
- fill: F.value.style.chart.labels.yAxisLabels.color,
1123
- "font-weight": F.value.style.chart.labels.yAxisLabels.bold ? "bold" : "normal",
1124
- "text-anchor": "end",
1125
- onMouseenter: (t) => ur({
1126
- datapoint: e,
1127
- seriesIndex: n
1128
- }),
1129
- onMouseleave: (t) => dr({
1130
- datapoint: e,
1131
- seriesIndex: n
1132
- }),
1133
- onClick: (t) => fr({
1134
- datapoint: e,
1135
- seriesIndex: n
1136
- })
1137
- }, 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)({
1138
- v: 100 * (e.end / e.start - 1),
1139
- s: "%",
1140
- r: F.value.style.chart.labels.yAxisLabels.rounding
1141
- }), { 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", {
1142
- class: "vue-ui-dumbbell-serie-value",
1143
- x: G.value.left - 6 + F.value.style.chart.labels.yAxisLabels.offsetX,
1144
- y: G.value.top + n * G.value.rowHeight + G.value.rowHeight / 1.3 + F.value.style.chart.labels.yAxisLabels.fontSize / 3,
1145
- "font-size": F.value.style.chart.labels.yAxisLabels.fontSize,
1146
- fill: F.value.style.chart.labels.yAxisLabels.color,
1147
- "text-anchor": "end",
1148
- onMouseenter: (t) => ur({
1149
- datapoint: e,
1150
- seriesIndex: n
1151
- }),
1152
- onMouseleave: (t) => dr({
1153
- datapoint: e,
1154
- seriesIndex: n
1155
- }),
1156
- onClick: (t) => fr({
1157
- datapoint: e,
1158
- seriesIndex: n
1159
- })
1160
- }, 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)({
1161
- v: 100 * (e.end / e.start - 1),
1162
- s: "%",
1163
- r: F.value.style.chart.labels.yAxisLabels.rounding
1164
- }), { datapoint: e })), 41, $e))), 256)) : p("", !0)], 512)) : p("", !0),
1165
- F.value.style.chart.labels.axis.xLabel ? (b(), m("text", {
1166
- key: 5,
1167
- ref_key: "xAxisLabel",
1168
- ref: Tn,
1169
- x: G.value.left + G.value.width / 2,
1170
- y: G.value.absoluteHeight - F.value.style.chart.labels.axis.fontSize / 3,
1171
- "font-size": F.value.style.chart.labels.axis.fontSize,
1172
- fill: F.value.style.chart.labels.axis.color,
1173
- "text-anchor": "middle"
1174
- }, w(F.value.style.chart.labels.axis.xLabel), 9, et)) : p("", !0),
1175
- F.value.style.chart.labels.xAxisLabels.show ? (b(), m("g", {
1176
- key: 6,
1177
- ref_key: "scaleLabels",
1178
- ref: wn
1179
- }, [(b(!0), m(u, null, S(H.value.ticks, (e, n) => (b(), m("text", {
1180
- class: "vue-ui-dumbbell-scale-label",
1181
- key: `tick_${n}`,
1182
- 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})`,
1183
- "font-size": F.value.style.chart.labels.xAxisLabels.fontSize,
1184
- fill: F.value.style.chart.labels.xAxisLabels.color,
1185
- "font-weight": F.value.style.chart.labels.xAxisLabels.bold ? "bold" : "normal",
1186
- "text-anchor": F.value.style.chart.labels.xAxisLabels.rotation > 0 ? "start" : F.value.style.chart.labels.xAxisLabels.rotation < 0 ? "end" : "middle"
1187
- }, w(T(c)(F.value.style.chart.labels.formatter, e, T(t)({
1188
- p: F.value.style.chart.labels.prefix,
1189
- v: e,
1190
- s: F.value.style.chart.labels.suffix,
1191
- r: F.value.style.chart.labels.xAxisLabels.rounding
1192
- }), {
1193
- datapoint: e,
1194
- seriesIndex: n
1195
- })), 9, tt))), 128))], 512)) : p("", !0),
1196
- Re(h("g", null, [
1197
- Re(h("path", {
1198
- d: `M ${M.value ? M.value.startX : G.value.left},${G.value.top} ${M.value ? M.value.startX : G.value.left},${G.value.bottom}`,
1199
- stroke: M.value ? F.value.style.chart.plots.evaluationColors.enable ? M.value.evaluationColor : F.value.style.chart.plots.startColor : "transparent",
1200
- "stroke-width": F.value.style.chart.comparisonLines.strokeWidth,
1201
- "stroke-dasharray": F.value.style.chart.comparisonLines.strokeDasharray,
1202
- style: { transition: "all 0.3s ease-in-out" }
1203
- }, null, 8, nt), [[E, M.value !== null && ![null, void 0].includes(M.value.start)]]),
1204
- Re(h("path", {
1205
- d: `M ${M.value ? M.value.endX : G.value.left},${G.value.top} ${M.value ? M.value.endX : G.value.left},${G.value.bottom}`,
1206
- stroke: M.value ? F.value.style.chart.plots.evaluationColors.enable ? M.value.evaluationColor : F.value.style.chart.plots.endColor : "transparent",
1207
- "stroke-width": F.value.style.chart.comparisonLines.strokeWidth,
1208
- "stroke-dasharray": F.value.style.chart.comparisonLines.strokeDasharray,
1209
- style: { transition: "all 0.3s ease-in-out" }
1210
- }, null, 8, rt), [[E, M.value !== null && ![null, void 0].includes(M.value.end)]]),
1211
- Re(h("rect", {
1212
- x: M.value ? Math.min(M.value.startX, M.value.endX) : G.value.left,
1213
- y: G.value.top,
1214
- height: Math.max(.1, G.value.height),
1215
- width: M.value ? Math.max(.1, Math.abs(M.value.endX - M.value.startX)) : 0,
1216
- fill: M.value ? T(te)(F.value.style.chart.comparisonLines.rectColor, F.value.style.chart.comparisonLines.rectOpacity) : "transparent",
1217
- style: { transition: "all 0.3s ease-in-out" }
1218
- }, 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)]]),
1219
- Re(h("text", {
1220
- transform: `translate(${pr.value == null ? 0 : pr.value}, ${G.value.top - 6})`,
1221
- fill: F.value.style.chart.comparisonLines.labelColor,
1222
- "font-size": F.value.style.chart.comparisonLines.labelFontSize,
1223
- "text-anchor": "middle",
1224
- style: { transition: "all 0.3s ease-in-out" }
1225
- }, w(mr.value), 9, at), [[E, M.value !== null && pr.value !== null && F.value.style.chart.comparisonLines.showLabel]])
1226
- ], 512), [[E, F.value.style.chart.comparisonLines.show && j.value !== null]]),
1227
- h("defs", null, [
1228
- h("radialGradient", {
1229
- id: `start_grad_${k.value}`,
1230
- fy: "30%"
1231
- }, [
1232
- h("stop", {
1233
- offset: "10%",
1234
- "stop-color": T(l)(F.value.style.chart.plots.startColor, F.value.style.chart.plots.gradient.intensity / 100)
1235
- }, null, 8, st),
1236
- h("stop", {
1237
- offset: "90%",
1238
- "stop-color": T(o)(F.value.style.chart.plots.startColor, .1)
1239
- }, null, 8, ct),
1240
- h("stop", {
1241
- offset: "100%",
1242
- "stop-color": F.value.style.chart.plots.startColor
1243
- }, null, 8, lt)
1244
- ], 8, ot),
1245
- h("radialGradient", {
1246
- id: `end_grad_${k.value}`,
1247
- fy: "30%"
1248
- }, [
1249
- h("stop", {
1250
- offset: "10%",
1251
- "stop-color": T(l)(F.value.style.chart.plots.endColor, F.value.style.chart.plots.gradient.intensity / 100)
1252
- }, null, 8, dt),
1253
- h("stop", {
1254
- offset: "90%",
1255
- "stop-color": T(o)(F.value.style.chart.plots.endColor, .1)
1256
- }, null, 8, ft),
1257
- h("stop", {
1258
- offset: "100%",
1259
- "stop-color": F.value.style.chart.plots.endColor
1260
- }, null, 8, pt)
1261
- ], 8, ut),
1262
- h("radialGradient", {
1263
- id: `positive_grad_${k.value}`,
1264
- fy: "30%"
1265
- }, [
1266
- h("stop", {
1267
- offset: "10%",
1268
- "stop-color": T(l)(F.value.style.chart.plots.evaluationColors.positive, F.value.style.chart.plots.gradient.intensity / 100)
1269
- }, null, 8, ht),
1270
- h("stop", {
1271
- offset: "90%",
1272
- "stop-color": T(o)(F.value.style.chart.plots.evaluationColors.positive, .1)
1273
- }, null, 8, gt),
1274
- h("stop", {
1275
- offset: "100%",
1276
- "stop-color": F.value.style.chart.plots.evaluationColors.positive
1277
- }, null, 8, _t)
1278
- ], 8, mt),
1279
- h("radialGradient", {
1280
- id: `negative_grad_${k.value}`,
1281
- fy: "30%"
1282
- }, [
1283
- h("stop", {
1284
- offset: "10%",
1285
- "stop-color": T(l)(F.value.style.chart.plots.evaluationColors.negative, F.value.style.chart.plots.gradient.intensity / 100)
1286
- }, null, 8, yt),
1287
- h("stop", {
1288
- offset: "90%",
1289
- "stop-color": T(o)(F.value.style.chart.plots.evaluationColors.negative, .1)
1290
- }, null, 8, bt),
1291
- h("stop", {
1292
- offset: "100%",
1293
- "stop-color": F.value.style.chart.plots.evaluationColors.negative
1294
- }, null, 8, xt)
1295
- ], 8, vt),
1296
- h("radialGradient", {
1297
- id: `neutral_grad_${k.value}`,
1298
- fy: "30%"
1299
- }, [
1300
- h("stop", {
1301
- offset: "10%",
1302
- "stop-color": T(l)(F.value.style.chart.plots.evaluationColors.neutral, F.value.style.chart.plots.gradient.intensity / 100)
1303
- }, null, 8, Ct),
1304
- h("stop", {
1305
- offset: "90%",
1306
- "stop-color": T(o)(F.value.style.chart.plots.evaluationColors.neutral, .1)
1307
- }, null, 8, wt),
1308
- h("stop", {
1309
- offset: "100%",
1310
- "stop-color": F.value.style.chart.plots.evaluationColors.neutral
1311
- }, null, 8, Tt)
1312
- ], 8, St)
1313
- ]),
1314
- (b(!0), m(u, null, S(J.value, (e, t) => (b(), m("g", { key: `plot_${t}_${e.id}` }, [
1315
- h("defs", null, [h("linearGradient", {
1316
- id: `grad_pos_${k.value}`,
1317
- x1: "0%",
1318
- x2: "100%",
1319
- y1: "0%",
1320
- y2: "0%"
1321
- }, [h("stop", {
1322
- offset: "0%",
1323
- "stop-color": F.value.style.chart.plots.startColor
1324
- }, null, 8, Dt), h("stop", {
1325
- offset: "100%",
1326
- "stop-color": F.value.style.chart.plots.endColor
1327
- }, null, 8, Ot)], 8, Et), h("linearGradient", {
1328
- id: `grad_neg_${k.value}`,
1329
- x1: "0%",
1330
- x2: "100%",
1331
- y1: "0%",
1332
- y2: "0%"
1333
- }, [h("stop", {
1334
- offset: "0%",
1335
- "stop-color": F.value.style.chart.plots.endColor
1336
- }, null, 8, At), h("stop", {
1337
- offset: "100%",
1338
- "stop-color": F.value.style.chart.plots.startColor
1339
- }, null, 8, jt)], 8, kt)]),
1340
- ![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", {
1341
- d: `M
1342
- ${e.startX},${e.y + K.value / 2}
1343
- C ${e.centerX},${e.y} ${e.centerX},${e.y}
1344
- ${e.endX},${e.y + K.value / 2}
1345
- L ${e.endX},${e.y - K.value / 2}
1346
- C ${e.centerX},${e.y} ${e.centerX},${e.y}
1347
- ${e.startX},${e.y - K.value / 2}
1348
- Z
1349
- `,
1350
- fill: F.value.style.chart.plots.evaluationColors.enable ? e.evaluationColor : e.endX > e.startX ? `url(#grad_pos_${k.value})` : `url(#grad_neg_${k.value})`
1351
- }, null, 8, Pt)])) : (b(), m("g", Ft, [h("rect", {
1352
- x: e.endX > e.startX ? e.startX : e.endX,
1353
- y: e.y - F.value.style.chart.plots.link.strokeWidth / 2,
1354
- height: Math.max(.01, F.value.style.chart.plots.link.strokeWidth),
1355
- width: Math.max(.01, Math.abs(e.endX - e.startX)),
1356
- fill: F.value.style.chart.plots.evaluationColors.enable ? e.evaluationColor : e.endX > e.startX ? `url(#grad_pos_${k.value})` : `url(#grad_neg_${k.value})`
1357
- }, null, 8, It)]))])) : p("", !0),
1358
- [null, void 0].includes(e.start) ? p("", !0) : (b(), m("circle", {
1359
- key: 1,
1360
- cx: e.startX,
1361
- cy: e.y,
1362
- r: K.value,
1363
- 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,
1364
- stroke: F.value.style.chart.plots.stroke,
1365
- "stroke-width": F.value.style.chart.plots.strokeWidth
1366
- }, null, 8, Lt)),
1367
- [null, void 0].includes(e.end) ? p("", !0) : (b(), m("circle", {
1368
- key: 2,
1369
- cx: e.endX,
1370
- cy: e.y,
1371
- r: K.value,
1372
- 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,
1373
- stroke: F.value.style.chart.plots.stroke,
1374
- "stroke-width": F.value.style.chart.plots.strokeWidth
1375
- }, null, 8, Rt))
1376
- ]))), 128)),
1377
- 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", {
1378
- key: 0,
1379
- x: e.startX,
1380
- y: e.y + K.value * 2 + F.value.style.chart.labels.startLabels.fontSize / 2,
1381
- 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,
1382
- "font-size": F.value.style.chart.labels.startLabels.fontSize,
1383
- "text-anchor": "middle"
1384
- }, w(T(c)(F.value.style.chart.labels.formatter, e.start, T(t)({
1385
- p: F.value.style.chart.labels.prefix,
1386
- v: e.start,
1387
- s: F.value.style.chart.labels.suffix,
1388
- r: F.value.style.chart.labels.startLabels.rounding
1389
- }), {
1390
- datapoint: e,
1391
- seriesIndex: n
1392
- })), 9, Bt))]))), 128))])) : p("", !0),
1393
- 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", {
1394
- key: 0,
1395
- x: e.endX,
1396
- y: e.y - (K.value * 2 - F.value.style.chart.labels.startLabels.fontSize / 3),
1397
- 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,
1398
- "font-size": F.value.style.chart.labels.endLabels.fontSize,
1399
- "text-anchor": "middle"
1400
- }, w(T(c)(F.value.style.chart.labels.formatter, e.end, T(t)({
1401
- p: F.value.style.chart.labels.prefix,
1402
- v: e.end,
1403
- s: F.value.style.chart.labels.suffix,
1404
- r: F.value.style.chart.labels.endLabels.rounding
1405
- }), {
1406
- datapoint: e,
1407
- seriesIndex: n
1408
- })), 9, Ht))]))), 128))])) : p("", !0),
1409
- h("g", null, [(b(!0), m(u, null, S(J.value, (e, t) => (b(), m("rect", {
1410
- x: G.value.left,
1411
- y: G.value.top + t * Math.max(.1, G.value.rowHeight),
1412
- width: Math.max(.1, G.value.width),
1413
- height: Math.max(.1, G.value.rowHeight),
1414
- fill: j.value === null ? "transparent" : j.value === t ? T(te)(F.value.style.chart.highlighter.color, F.value.style.chart.highlighter.opacity) : "transparent",
1415
- onMouseenter: (n) => ur({
1416
- datapoint: e,
1417
- seriesIndex: t
1418
- }),
1419
- onMouseleave: (n) => dr({
1420
- datapoint: e,
1421
- seriesIndex: t
1422
- }),
1423
- onClick: (n) => fr({
1424
- datapoint: e,
1425
- seriesIndex: t
1426
- })
1427
- }, null, 40, Ut))), 256))]),
1428
- C(e.$slots, "svg", { svg: {
1429
- ...G.value,
1430
- isPrintingImg: T(Ln) || T(Rn) || bn.value,
1431
- isPrintingSvg: xn.value
1432
- } }, void 0, !0)
1433
- ], 46, We)), e.$slots.hint ? (b(), m("div", Wt, [C(e.$slots, "hint", v(_({
1434
- hint: F.value.a11y.translations.keyboardNavigation,
1435
- isVisible: En.value
1436
- })), void 0, !0)])) : p("", !0)]),
1437
- 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),
1438
- h("div", { id: `legend-bottom-${k.value}` }, null, 8, Kt),
1439
- _n.value && (F.value.style.chart.legend.show || e.$slots.legend) ? (b(), f(we, {
1440
- key: 6,
1441
- to: F.value.style.chart.legend.position === "top" ? `#legend-top-${k.value}` : `#legend-bottom-${k.value}`
1442
- }, [h("div", {
1443
- ref_key: "chartLegend",
1444
- ref: dn
1445
- }, [C(e.$slots, "legend", { legend: Zn.value }, () => [F.value.style.chart.legend.show && cn.value ? (b(), f(Se, {
1446
- key: `legend_${gn.value}`,
1447
- legendSet: Zn.value,
1448
- config: Qn.value,
1449
- clickable: !1
1450
- }, {
1451
- 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", {
1452
- xmlns: T(re),
1453
- viewBox: "0 0 20 20",
1454
- height: F.value.style.chart.legend.fontSize,
1455
- width: F.value.style.chart.legend.fontSize
1456
- }, [h("circle", {
1457
- cx: 10,
1458
- cy: 10,
1459
- r: 9,
1460
- fill: e.color
1461
- }, null, 8, Jt)], 8, qt)), T(On) ? p("", !0) : (b(), m(u, { key: 0 }, [Ee(w(e.name), 1)], 64))], 4)]),
1462
- _: 1
1463
- }, 8, ["legendSet", "config"])) : p("", !0)], !0)], 512)], 8, ["to"])) : p("", !0),
1464
- e.$slots.source ? (b(), m("div", {
1465
- key: 7,
1466
- ref_key: "source",
1467
- ref: fn,
1468
- dir: "auto"
1469
- }, [C(e.$slots, "source", {}, void 0, !0)], 512)) : p("", !0),
1470
- cn.value && F.value.userOptions.buttons.table ? (b(), f(Ne(hr.value.component), Oe({ key: 8 }, hr.value.props, {
1471
- ref_key: "tableUnit",
1472
- ref: vn,
1473
- onClose: gr
1474
- }), Te({
1475
- content: D(() => [(b(), f(T(Qt), {
1476
- key: `table_${hn.value}`,
1477
- colNames: Z.value.colNames,
1478
- head: Z.value.head,
1479
- body: Z.value.body,
1480
- config: Z.value.config,
1481
- title: F.value.table.useDialog ? "" : hr.value.title,
1482
- withCloseButton: !F.value.table.useDialog,
1483
- isCursorPointer: I.value,
1484
- onClose: gr
1485
- }, {
1486
- th: D(({ th: e }) => [h("div", {
1487
- innerHTML: e,
1488
- style: {
1489
- display: "flex",
1490
- "align-items": "center"
1491
- }
1492
- }, null, 8, Yt)]),
1493
- td: D(({ td: e }) => [Ee(w(e.name || e), 1)]),
1494
- _: 1
1495
- }, 8, [
1496
- "colNames",
1497
- "head",
1498
- "body",
1499
- "config",
1500
- "title",
1501
- "withCloseButton",
1502
- "isCursorPointer"
1503
- ]))]),
1504
- _: 2
1505
- }, [F.value.table.useDialog ? {
1506
- name: "title",
1507
- fn: D(() => [Ee(w(hr.value.title), 1)]),
1508
- key: "0"
1509
- } : void 0, F.value.table.useDialog ? {
1510
- name: "actions",
1511
- fn: D(() => [h("button", {
1512
- tabindex: "0",
1513
- class: "vue-ui-user-options-button",
1514
- onClick: n[0] ||= (e) => $n(F.value.userOptions.callbacks.csv),
1515
- style: y({ cursor: I.value ? "pointer" : "default" })
1516
- }, [De(T(Xt), {
1517
- name: "fileCsv",
1518
- stroke: hr.value.props.color
1519
- }, null, 8, ["stroke"])], 4)]),
1520
- key: "1"
1521
- } : void 0]), 1040)) : p("", !0),
1522
- C(e.$slots, "skeleton", {}, () => [T(On) ? (b(), f(le, { key: 0 })) : p("", !0)], !0)
1523
- ], 46, Be));
1524
- }
1525
- }, [["__scopeId", "data-v-c54929c2"]]);
1526
- //#endregion
1527
- export { ze as n, Xt as t };