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,1074 +0,0 @@
1
- import { t as e } from "./rolldown-runtime-CAFD8bLK.js";
2
- import { G as t, H as n, J as r, Lt as i, N as a, S as o, St as s, Tt as c, X as ee, i as te, kt as ne, nt as re, ot as ie, pt as ae, t as oe, x as se, y as ce, zt as le } from "./lib-BkiwukKO.js";
3
- import { t as ue } from "./useConfig-ByaaSKhz.js";
4
- import { t as de } from "./usePrinter-X0yWOynH.js";
5
- import { n as fe, t as pe } from "./BaseScanner-C7dmAref.js";
6
- import { t as me } from "./useSvgExport-Dtu973wa.js";
7
- import { t as he } from "./useNestedProp-Ck4hsrpu.js";
8
- import { t as ge } from "./useThemeCheck-rFK9Zlb_.js";
9
- import { t as _e } from "./img-BjOr008R.js";
10
- import { n as ve } from "./Title-__gWq2g6.js";
11
- import { t as ye } from "./_plugin-vue_export-helper-Dq1MygBL.js";
12
- import { c as be } from "./canvas-lib-DTaADQOK.js";
13
- import { t as xe } from "./useResponsive-CrAInupd.js";
14
- import { t as Se } from "./BaseLegendToggle-CJTwLGXL.js";
15
- import { t as Ce } from "./A11yDataTable-q2-8fSlJ.js";
16
- import { t as we } from "./useUserOptionState-CjPJPTg2.js";
17
- import { t as Te } from "./useChartAccessibility-Do37qcw2.js";
18
- import { t as Ee } from "./labelUtils-Cr97N8E1.js";
19
- import { t as De } from "./Legend-Gg5Q4Clb.js";
20
- import { t as Oe } from "./vue_ui_galaxy-70vtkEBw.js";
21
- import { Fragment as ke, Teleport as Ae, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createSlots as je, createTextVNode as Me, createVNode as Ne, defineAsyncComponent as m, guardReactiveProps as h, mergeProps as Pe, nextTick as Fe, normalizeClass as Ie, normalizeProps as g, normalizeStyle as _, onMounted as Le, openBlock as v, ref as y, renderList as Re, renderSlot as b, resolveDynamicComponent as ze, toDisplayString as x, toRefs as Be, unref as S, watch as Ve, withCtx as C } from "vue";
22
- //#region src/components/vue-ui-galaxy.vue
23
- var He = /* @__PURE__ */ e({ default: () => st }), Ue = ["id"], We = ["id"], Ge = ["id"], Ke = { style: { position: "relative" } }, qe = [
24
- "xmlns",
25
- "aria-describedby",
26
- "viewBox"
27
- ], Je = ["width", "height"], Ye = ["id"], Xe = ["stdDeviation"], Ze = [
28
- "d",
29
- "stroke",
30
- "stroke-width"
31
- ], Qe = [
32
- "d",
33
- "stroke",
34
- "stroke-width"
35
- ], $e = ["filter"], et = [
36
- "d",
37
- "stroke",
38
- "stroke-width"
39
- ], tt = [
40
- "data-a11y-serie-id",
41
- "d",
42
- "stroke-width",
43
- "aria-label",
44
- "onMouseenter",
45
- "onMouseleave",
46
- "onClick"
47
- ], nt = {
48
- key: 0,
49
- style: {
50
- position: "absolute",
51
- top: "100%",
52
- left: "0",
53
- width: "100%"
54
- },
55
- "data-dom-to-png-ignore": "",
56
- "aria-hidden": "true"
57
- }, rt = {
58
- key: 5,
59
- class: "vue-data-ui-watermark"
60
- }, it = ["id"], at = ["onClick"], ot = ["innerHTML"], st = /* @__PURE__ */ ye({
61
- __name: "vue-ui-galaxy",
62
- props: {
63
- config: {
64
- type: Object,
65
- default() {
66
- return {};
67
- }
68
- },
69
- dataset: {
70
- type: Array,
71
- default() {
72
- return [];
73
- }
74
- }
75
- },
76
- emits: [
77
- "selectLegend",
78
- "selectDatapoint",
79
- "copyAlt"
80
- ],
81
- setup(e, { expose: ye, emit: He }) {
82
- let st = m(() => import("./Tooltip-CuWEYGr3.js")), ct = m(() => import("./BaseIcon-DM1x8hQF.js").then((e) => e.n)), lt = m(() => import("./vue-ui-accordion-BX9WL-QF.js").then((e) => e.n)), ut = m(() => import("./DataTable-DmE8Oo4i.js")), dt = m(() => import("./PenAndPaper-DNgm6y3l.js").then((e) => e.t)), ft = m(() => import("./UserOptions-D7zR0tnR.js").then((e) => e.n)), pt = m(() => import("./PackageVersion-zJAUEmyB.js").then((e) => e.t)), mt = m(() => import("./BaseDraggableDialog-DUUu2E2Q.js").then((e) => e.n)), { vue_ui_galaxy: ht } = ue(), { isThemeValid: gt, warnInvalidTheme: _t } = ge(), w = e, T = y(n()), E = y(null), D = y(!1), vt = y(""), O = y(null), yt = y(0), bt = y(0), xt = y(0), St = y(0), Ct = y(null), wt = y(null), Tt = y(null), Et = y(null), k = y(null), A = y(null), Dt = y(!1), j = y(null), Ot = y(null), kt = y(!1), M = y(!1), N = y(null), P = y(null), At = y({
83
- x: 0,
84
- y: 0
85
- }), jt = y("pointer"), Mt = y(!1), Nt = l(() => !!w.dataset && w.dataset.length), F = y(Ht()), I = l(() => F.value.userOptions.useCursorPointer), Pt = l(() => le({
86
- defaultConfig: {
87
- userOptions: { show: !1 },
88
- table: { show: !1 },
89
- useCssAnimation: !1,
90
- style: { chart: {
91
- backgroundColor: "#99999930",
92
- legend: { backgroundColor: "transparent" }
93
- } }
94
- },
95
- userConfig: F.value.skeletonConfig ?? {}
96
- })), { loading: Ft, FINAL_DATASET: It } = fe({
97
- ...Be(w),
98
- FINAL_CONFIG: F,
99
- prepareConfig: Ht,
100
- callback: () => {
101
- Promise.resolve().then(async () => {
102
- await Fe(), R.value.showTable = F.value.table.show;
103
- });
104
- },
105
- skeletonDataset: w.config?.skeletonDataset ?? [
106
- {
107
- name: "_",
108
- values: [21],
109
- color: "#DBDBDB"
110
- },
111
- {
112
- name: "_",
113
- values: [13],
114
- color: "#C4C4C4"
115
- },
116
- {
117
- name: "_",
118
- values: [8],
119
- color: "#ADADAD"
120
- }
121
- ],
122
- skeletonConfig: le({
123
- defaultConfig: F.value,
124
- userConfig: Pt.value
125
- })
126
- });
127
- Le(() => {
128
- Dt.value = !0, Rt();
129
- });
130
- let Lt = l(() => !!F.value.debug);
131
- function Rt() {
132
- if (s(w.dataset) ? ee({
133
- componentName: "VueUiGalaxy",
134
- type: "dataset",
135
- debug: Lt.value
136
- }) : w.dataset.forEach((e, t) => {
137
- ie({
138
- datasetObject: e,
139
- requiredAttributes: ["name", "values"]
140
- }).forEach((e) => {
141
- ee({
142
- componentName: "VueUiGalaxy",
143
- type: "datasetSerieAttribute",
144
- property: e,
145
- index: t,
146
- debug: Lt.value
147
- });
148
- });
149
- }), F.value.responsive) {
150
- let e = be(() => {
151
- let { width: e, height: t } = xe({
152
- chart: E.value,
153
- title: F.value.style.chart.title.text ? Ct.value : null,
154
- legend: F.value.style.chart.legend.show ? wt.value : null,
155
- noTitle: Et.value,
156
- source: Tt.value
157
- });
158
- requestAnimationFrame(() => {
159
- z.value = Math.max(.1, e), B.value = Math.max(.1, t - 12);
160
- });
161
- });
162
- k.value && (A.value && k.value.unobserve(A.value), k.value.disconnect()), k.value = new ResizeObserver(e), A.value = E.value.parentNode, k.value.observe(A.value);
163
- }
164
- }
165
- let { userOptionsVisible: zt, setUserOptionsVisibility: Bt, keepUserOptionState: Vt } = we({ config: F.value }), { svgRef: L } = Te({ config: F.value.style.chart.title });
166
- function Ht() {
167
- let e = he({
168
- userConfig: w.config,
169
- defaultConfig: ht
170
- }), t = e.theme;
171
- if (!t) return e;
172
- if (!gt.value(e)) return _t(e), e;
173
- let n = he({
174
- userConfig: Oe[t] || w.config,
175
- defaultConfig: e
176
- }), r = he({
177
- userConfig: w.config,
178
- defaultConfig: n
179
- });
180
- return {
181
- ...r,
182
- customPalette: r.customPalette.length ? r.customPalette : i[t] || c
183
- };
184
- }
185
- Ve(() => w.config, (e) => {
186
- F.value = Ht(), zt.value = !F.value.userOptions.showOnChartHover, Rt(), bt.value += 1, xt.value += 1, St.value += 1, R.value.dataLabels.show = F.value.style.chart.layout.labels.dataLabels.show, R.value.showTable = F.value.table.show, R.value.showTooltip = F.value.style.chart.tooltip.show;
187
- }, { deep: !0 });
188
- let { isPrinting: Ut, isImaging: Wt, generatePdf: Gt, generateImage: Kt } = de({
189
- elementId: `galaxy_${T.value}`,
190
- fileName: F.value.style.chart.title.text || "vue-ui-galaxy",
191
- options: F.value.userOptions.print
192
- }), qt = l(() => F.value.userOptions.show && !F.value.style.chart.title.text), Jt = l(() => se(F.value.customPalette)), R = y({
193
- dataLabels: { show: F.value.style.chart.layout.labels.dataLabels.show },
194
- showTable: F.value.table.show,
195
- showTooltip: F.value.style.chart.tooltip.show
196
- }), z = y(250), B = y(180), Yt = y(0), Xt = y(0), V = l(() => ({
197
- width: z.value,
198
- height: B.value,
199
- viewBox: `${Yt.value} ${Xt.value} ${z.value} ${B.value}`
200
- })), Zt = He, H = y([]);
201
- function Qt() {
202
- H.value.length ? H.value = [] : J.value.forEach((e) => {
203
- H.value.push(e.id);
204
- });
205
- }
206
- function U(e) {
207
- H.value.includes(e.id) ? H.value = H.value.filter((t) => t !== e.id) : H.value.push(e.id), Zt("selectLegend", K.value.map((e) => ({
208
- name: e.name,
209
- color: e.color,
210
- value: e.value
211
- })));
212
- }
213
- function $t(e) {
214
- return W.value.length ? W.value.find((t) => t.name === e) || (F.value.debug && console.warn(`VueUiGalaxy - Series name not found "${e}"`), null) : (F.value.debug && console.warn("VueUiGalaxy - There are no series to show."), null);
215
- }
216
- function en(e) {
217
- let t = $t(e);
218
- t !== null && H.value.includes(t.id) && U({ id: t.id });
219
- }
220
- function tn(e) {
221
- let t = $t(e);
222
- t !== null && (H.value.includes(t.id) || U({ id: t.id }));
223
- }
224
- let W = l(() => It.value.map((e, t) => ({
225
- name: e.name,
226
- color: ce(e.color) || Jt.value[t] || c[t] || c[t % c.length],
227
- value: e.values ? ne(e.values).reduce((e, t) => e + t, 0) : 0,
228
- absoluteValues: ne(e.values),
229
- id: n()
230
- })).sort((e, t) => t.value - e.value).map((e, t) => ({
231
- ...e,
232
- absoluteIndex: t
233
- })));
234
- function nn() {
235
- return W.value.map((e) => ({
236
- name: e.name,
237
- color: e.color,
238
- value: e.value
239
- }));
240
- }
241
- let G = l(() => W.value.filter((e) => !H.value.includes(e.id)).map((e) => e.value).reduce((e, t) => e + t, 0)), rn = y(190), an = l(() => W.value.filter((e) => !H.value.includes(e.id))), on = l(() => (F.value.style.chart.layout.arcs.strokeWidth + F.value.style.chart.layout.arcs.borderWidth) / 2 + (F.value.style.chart.layout.padding ?? 12)), sn = l(() => a({
242
- maxPoints: rn.value,
243
- a: F.value.style.chart.layout.arcs.a ?? 6,
244
- b: F.value.style.chart.layout.arcs.b ?? 6,
245
- angleStep: F.value.style.chart.layout.arcs.angleStep ?? .07,
246
- startX: V.value.width / 2 + F.value.style.chart.layout.arcs.offsetX,
247
- startY: V.value.height / 2 + F.value.style.chart.layout.arcs.offsetY,
248
- boxWidth: V.value.width,
249
- boxHeight: V.value.height,
250
- padding: on.value
251
- })), K = l(() => {
252
- let e = [];
253
- for (let t = 0; t < an.value.length; t += 1) {
254
- let n = an.value[t], r = n.value / G.value * rn.value + (t > 0 && e.length ? e[t - 1].points : 0);
255
- e.push({
256
- points: r,
257
- ...n,
258
- seriesIndex: t,
259
- proportion: n.value / G.value,
260
- path: sn.value(r)
261
- });
262
- }
263
- return e.filter((e) => !H.value.includes(e.id)).toSorted((e, t) => t.points - e.points);
264
- });
265
- function cn(e) {
266
- let t = Math.min(z.value, B.value), n = O.value === e.id && F.value.style.chart.layout.arcs.hoverEffect.show ? F.value.style.chart.layout.arcs.hoverEffect.multiplicator : 1, r = (F.value.style.chart.layout.arcs.strokeWidth + F.value.style.chart.layout.arcs.borderWidth) * n, i = F.value.style.chart.layout.arcs.strokeWidth * n, a = F.value.style.chart.layout.arcs.strokeWidth / 2 * n;
267
- return {
268
- border: r / 180 * t,
269
- path: i / 180 * t,
270
- blur: a / 180 * t
271
- };
272
- }
273
- let q = y(!1);
274
- function ln(e) {
275
- q.value = e, yt.value += 1;
276
- }
277
- let un = y(null);
278
- function dn() {
279
- D.value = !1, O.value = null, N.value = null, P.value = null;
280
- }
281
- function fn(e) {
282
- if (!L.value || !e) return;
283
- let t = L.value.querySelector(`[data-a11y-serie-id="${e}"]`);
284
- if (!t) return;
285
- let n = t.getBoundingClientRect();
286
- At.value = {
287
- x: n.left + n.width / 2,
288
- y: n.top + n.height / 2
289
- };
290
- }
291
- function pn(e) {
292
- F.value.events.datapointLeave && F.value.events.datapointLeave({
293
- datapoint: e,
294
- seriesIndex: e.absoluteIndex
295
- }), !(P.value === e.id && jt.value === "keyboard") && (D.value = !1, O.value = null);
296
- }
297
- function mn(e) {
298
- Zt("selectDatapoint", e), F.value.events.datapointClick && F.value.events.datapointClick({
299
- datapoint: e,
300
- seriesIndex: e.absoluteIndex
301
- });
302
- }
303
- function hn({ val: e, percentage: t, showVal: n, showPercentage: r }) {
304
- let i = F.value.style.chart.layout.labels.dataLabels;
305
- return Ee({
306
- config: i,
307
- val: e,
308
- percentage: t,
309
- showVal: n,
310
- showPercentage: r
311
- });
312
- }
313
- function gn({ datapoint: e, _relativeIndex: n, seriesIndex: r, show: i = !1, triggerMode: a = "pointer", flatIndex: o = null }) {
314
- if (F.value.events.datapointEnter && F.value.events.datapointEnter({
315
- datapoint: e,
316
- seriesIndex: e.absoluteIndex
317
- }), !R.value.showTooltip) return;
318
- jt.value = a, N.value = o, P.value = e.id, un.value = {
319
- datapoint: e,
320
- seriesIndex: r,
321
- series: W.value,
322
- config: F.value
323
- }, D.value = i, O.value = e.id;
324
- let s = "", c = F.value.style.chart.tooltip.customFormat;
325
- ae(c) && re(() => c({
326
- seriesIndex: r,
327
- datapoint: e,
328
- series: W.value,
329
- config: F.value
330
- })) ? vt.value = c({
331
- seriesIndex: r,
332
- datapoint: e,
333
- series: W.value,
334
- config: F.value
335
- }) : (s += `<div style="width:100%;text-align:center;border-bottom:1px solid ${F.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${e.name}</div>`, s += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${e.color}"/></svg>`, s += `<b>${hn({
336
- showVal: F.value.style.chart.tooltip.showValue,
337
- showPercentage: F.value.style.chart.tooltip.showPercentage,
338
- val: te(F.value.style.chart.layout.labels.dataLabels.formatter, e.value, t({
339
- p: F.value.style.chart.layout.labels.dataLabels.prefix,
340
- v: e.value,
341
- s: F.value.style.chart.layout.labels.dataLabels.suffix,
342
- r: F.value.style.chart.tooltip.roundingValue
343
- }), {
344
- datapoint: e,
345
- seriesIndex: r
346
- }),
347
- percentage: t({
348
- v: e.proportion * 100,
349
- s: "%",
350
- r: F.value.style.chart.tooltip.roundingPercentage
351
- })
352
- })}</b></div>`, vt.value = `<div>${s}</div>`), a === "keyboard" && Fe(() => {
353
- fn(e.id);
354
- });
355
- }
356
- let J = l(() => W.value.map((e, n) => {
357
- let r = te(F.value.style.chart.layout.labels.dataLabels.formatter, e.value, t({
358
- p: F.value.style.chart.layout.labels.dataLabels.prefix,
359
- v: e.value,
360
- s: F.value.style.chart.layout.labels.dataLabels.suffix,
361
- r: F.value.style.chart.legend.roundingValue
362
- }), {
363
- datapoint: e,
364
- index: n
365
- }), i = isNaN(e.value / G.value) || H.value.includes(e.id) ? "-" : t({
366
- v: e.value / G.value * 100,
367
- s: "%",
368
- r: F.value.style.chart.legend.roundingPercentage
369
- }), a = hn({
370
- showVal: F.value.style.chart.legend.showValue,
371
- showPercentage: F.value.style.chart.legend.showPercentage,
372
- val: r,
373
- percentage: i
374
- });
375
- return {
376
- ...e,
377
- proportion: (e.value || 0) / It.value.map((e) => (e.values || []).reduce((e, t) => e + t, 0)).reduce((e, t) => e + t, 0),
378
- opacity: H.value.includes(e.id) ? .5 : 1,
379
- shape: e.shape || "circle",
380
- segregate: () => U(e),
381
- isSegregated: H.value.includes(e.id),
382
- display: `${e.name}${F.value.style.chart.legend.showPercentage || F.value.style.chart.legend.showValue ? ": " : ""}${a}`
383
- };
384
- })), _n = l(() => ({
385
- cy: "galaxy-div-legend",
386
- backgroundColor: F.value.style.chart.legend.backgroundColor,
387
- color: F.value.style.chart.legend.color,
388
- fontSize: F.value.style.chart.legend.fontSize,
389
- paddingBottom: 12,
390
- fontWeight: F.value.style.chart.legend.bold ? "bold" : ""
391
- })), Y = l(() => ({
392
- head: K.value.map((e) => ({
393
- name: e.name,
394
- color: e.color
395
- })),
396
- body: K.value.map((e) => e.value)
397
- }));
398
- function vn(e = null) {
399
- Fe(() => {
400
- let t = Y.value.head.map((e, t) => [
401
- [e.name],
402
- [Y.value.body[t]],
403
- [isNaN(Y.value.body[t] / G.value) ? "-" : Y.value.body[t] / G.value * 100]
404
- ]), n = o([
405
- [F.value.style.chart.title.text],
406
- [F.value.style.chart.title.subtitle.text],
407
- [
408
- [""],
409
- ["val"],
410
- ["%"]
411
- ]
412
- ].concat(t));
413
- e ? e(n) : r({
414
- csvContent: n,
415
- title: F.value.style.chart.title.text || "vue-ui-galaxy"
416
- });
417
- });
418
- }
419
- let X = l(() => {
420
- let e = [
421
- " <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" stroke-width=\"1.5\" stroke=\"currentColor\" fill=\"none\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path stroke=\"none\" d=\"M0 0h24v24H0z\" fill=\"none\"/><path d=\"M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2\" /></svg>",
422
- t({
423
- p: F.value.style.chart.layout.labels.dataLabels.prefix,
424
- v: G.value,
425
- s: F.value.style.chart.layout.labels.dataLabels.suffix,
426
- r: F.value.table.td.roundingValue
427
- }),
428
- "100%"
429
- ], n = Y.value.head.map((e, n) => {
430
- let r = t({
431
- p: F.value.style.chart.layout.labels.dataLabels.prefix,
432
- v: Y.value.body[n],
433
- s: F.value.style.chart.layout.labels.dataLabels.suffix,
434
- r: F.value.table.td.roundingValue
435
- });
436
- return [
437
- {
438
- color: e.color,
439
- name: e.name
440
- },
441
- r,
442
- isNaN(Y.value.body[n] / G.value) ? "-" : t({
443
- v: Y.value.body[n] / G.value * 100,
444
- s: "%",
445
- r: F.value.table.td.roundingPercentage
446
- })
447
- ];
448
- }), r = {
449
- th: {
450
- backgroundColor: F.value.table.th.backgroundColor,
451
- color: F.value.table.th.color,
452
- outline: F.value.table.th.outline
453
- },
454
- td: {
455
- backgroundColor: F.value.table.td.backgroundColor,
456
- color: F.value.table.td.color,
457
- outline: F.value.table.td.outline
458
- },
459
- breakpoint: F.value.table.responsiveBreakpoint
460
- };
461
- return {
462
- colNames: [
463
- F.value.table.columnNames.series,
464
- F.value.table.columnNames.value,
465
- F.value.table.columnNames.percentage
466
- ],
467
- head: e,
468
- body: n,
469
- config: r
470
- };
471
- });
472
- function yn() {
473
- R.value.showTable = !R.value.showTable;
474
- }
475
- function bn() {
476
- R.value.showTooltip = !R.value.showTooltip;
477
- }
478
- let Z = y(!1);
479
- function xn() {
480
- Z.value = !Z.value;
481
- }
482
- async function Sn({ scale: e = 2 } = {}) {
483
- if (!E.value) return;
484
- let { width: t, height: n } = E.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await _e({
485
- domElement: E.value,
486
- base64: !0,
487
- img: !0,
488
- scale: e
489
- });
490
- return {
491
- imageUri: i,
492
- base64: a,
493
- title: F.value.style.chart.title.text,
494
- width: t,
495
- height: n,
496
- aspectRatio: r
497
- };
498
- }
499
- let Q = l(() => {
500
- let e = F.value.table.useDialog && !F.value.table.show, t = R.value.showTable;
501
- return {
502
- component: e ? mt : lt,
503
- title: `${F.value.style.chart.title.text}${F.value.style.chart.title.subtitle.text ? `: ${F.value.style.chart.title.subtitle.text}` : ""}`,
504
- props: e ? {
505
- backgroundColor: F.value.table.th.backgroundColor,
506
- color: F.value.table.th.color,
507
- headerColor: F.value.table.th.color,
508
- headerBg: F.value.table.th.backgroundColor,
509
- isFullscreen: q.value,
510
- fullscreenParent: E.value,
511
- forcedWidth: Math.min(500, window.innerWidth * .8),
512
- isCursorPointer: I.value
513
- } : {
514
- hideDetails: !0,
515
- config: {
516
- open: t,
517
- maxHeight: 1e4,
518
- body: {
519
- backgroundColor: F.value.style.chart.backgroundColor,
520
- color: F.value.style.chart.color
521
- },
522
- head: {
523
- backgroundColor: F.value.style.chart.backgroundColor,
524
- color: F.value.style.chart.color
525
- }
526
- }
527
- }
528
- };
529
- });
530
- Ve(() => R.value.showTable, (e) => {
531
- F.value.table.show || (e && F.value.table.useDialog && j.value ? j.value.open() : "close" in j.value && j.value.close());
532
- });
533
- function Cn() {
534
- R.value.showTable = !1, Ot.value && Ot.value.setTableIconState(!1);
535
- }
536
- let wn = l(() => J.value.map((e) => ({
537
- ...e,
538
- name: e.display
539
- }))), Tn = l(() => F.value.style.chart.backgroundColor), En = l(() => F.value.style.chart.legend), { exportSvg: Dn, getSvg: On } = me({
540
- svg: L,
541
- title: l(() => F.value.style.chart.title),
542
- legend: En,
543
- legendItems: wn,
544
- backgroundColor: Tn
545
- });
546
- async function kn({ isCb: e }) {
547
- M.value = !0, await Fe();
548
- try {
549
- if (e) {
550
- let { blob: e, url: t, text: n, dataUrl: r } = await On();
551
- await Promise.resolve(F.value.userOptions.callbacks.svg({
552
- blob: e,
553
- url: t,
554
- text: n,
555
- dataUrl: r
556
- }));
557
- } else await Promise.resolve(Dn());
558
- } finally {
559
- M.value = !1;
560
- }
561
- }
562
- function An(e) {
563
- if (e?.stage === "start") {
564
- kt.value = !0;
565
- return;
566
- }
567
- if (e?.stage === "end") {
568
- kt.value = !1;
569
- return;
570
- }
571
- Kt();
572
- }
573
- async function jn() {
574
- if (Zt("copyAlt", {
575
- config: F.value,
576
- dataset: W.value
577
- }), !F.value.userOptions.callbacks.altCopy) {
578
- console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
579
- return;
580
- }
581
- await Promise.resolve(F.value.userOptions.callbacks.altCopy({
582
- config: F.value,
583
- dataset: W.value
584
- }));
585
- }
586
- function Mn() {
587
- N.value = null, P.value = null, Mt.value = !0;
588
- }
589
- function Nn() {
590
- dn(), Mt.value = !1;
591
- }
592
- function Pn(e) {
593
- if (!L.value || Z.value || document.activeElement !== L.value || !$.value.length) return;
594
- let t = e.key === "ArrowLeft" || e.key === "ArrowUp", n = e.key === "ArrowRight" || e.key === "ArrowDown", r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
595
- if (!t && !n && !r && !i) return;
596
- if (e.preventDefault(), e.stopPropagation(), i) {
597
- dn();
598
- return;
599
- }
600
- if (r) {
601
- if (N.value === null) return;
602
- let e = $.value[N.value];
603
- if (!e) return;
604
- mn(e.datapoint);
605
- return;
606
- }
607
- let a = N.value;
608
- a === null || a < 0 || a >= $.value.length ? a = n ? 0 : $.value.length - 1 : (a += n ? 1 : -1, a < 0 && (a = $.value.length - 1), a >= $.value.length && (a = 0));
609
- let o = $.value[a];
610
- o && gn({
611
- datapoint: o.datapoint,
612
- seriesIndex: o.datapoint.seriesIndex,
613
- show: !0,
614
- triggerMode: "keyboard",
615
- flatIndex: a
616
- });
617
- }
618
- let Fn = l(() => ({
619
- headers: X.value?.colNames ?? [],
620
- rows: X.value?.body ?? []
621
- })), $ = l(() => K.value.map((e, t) => ({
622
- datapoint: e,
623
- index: t
624
- })));
625
- return ye({
626
- getData: nn,
627
- getImage: Sn,
628
- generatePdf: Gt,
629
- generateCsv: vn,
630
- generateImage: Kt,
631
- generateSvg: kn,
632
- hideSeries: tn,
633
- showSeries: en,
634
- toggleTable: yn,
635
- toggleTooltip: bn,
636
- toggleAnnotator: xn,
637
- toggleFullscreen: ln,
638
- copyAlt: jn
639
- }), (e, n) => (v(), f("div", {
640
- ref_key: "galaxyChart",
641
- ref: E,
642
- class: Ie(`vue-data-ui-component vue-ui-galaxy ${q.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${F.value.useCssAnimation ? "" : "vue-ui-dna"} ${S(Ft) ? "loading" : ""}`),
643
- style: _(`font-family:${F.value.style.fontFamily};width:100%; text-align:center;${F.value.style.chart.title.text ? "" : "padding-top:36px"};background:${F.value.style.chart.backgroundColor}`),
644
- id: `galaxy_${T.value}`,
645
- onMouseenter: n[2] ||= () => S(Bt)(!0),
646
- onMouseleave: n[3] ||= () => {
647
- S(Bt)(!1), Mt.value || dn();
648
- }
649
- }, [
650
- p("div", {
651
- id: `chart-instructions-${T.value}`,
652
- class: "sr-only"
653
- }, [p("p", null, x(F.value.a11y.translations.keyboardNavigation), 1)], 8, We),
654
- Fn.value?.rows?.length ? (v(), u(Ce, {
655
- key: 0,
656
- uid: T.value,
657
- head: Fn.value.headers,
658
- body: Fn.value.rows,
659
- notice: F.value.a11y.translations.tableAvailable,
660
- caption: F.value.a11y.translations.tableCaption
661
- }, null, 8, [
662
- "uid",
663
- "head",
664
- "body",
665
- "notice",
666
- "caption"
667
- ])) : d("", !0),
668
- F.value.userOptions.buttons.annotator ? (v(), u(S(dt), {
669
- key: 1,
670
- svgRef: S(L),
671
- backgroundColor: F.value.style.chart.backgroundColor,
672
- color: F.value.style.chart.color,
673
- active: Z.value,
674
- isCursorPointer: I.value,
675
- onClose: xn
676
- }, {
677
- "annotator-action-close": C(() => [b(e.$slots, "annotator-action-close", {}, void 0, !0)]),
678
- "annotator-action-color": C(({ color: t }) => [b(e.$slots, "annotator-action-color", g(h({ color: t })), void 0, !0)]),
679
- "annotator-action-draw": C(({ mode: t }) => [b(e.$slots, "annotator-action-draw", g(h({ mode: t })), void 0, !0)]),
680
- "annotator-action-undo": C(({ disabled: t }) => [b(e.$slots, "annotator-action-undo", g(h({ disabled: t })), void 0, !0)]),
681
- "annotator-action-redo": C(({ disabled: t }) => [b(e.$slots, "annotator-action-redo", g(h({ disabled: t })), void 0, !0)]),
682
- "annotator-action-delete": C(({ disabled: t }) => [b(e.$slots, "annotator-action-delete", g(h({ disabled: t })), void 0, !0)]),
683
- _: 3
684
- }, 8, [
685
- "svgRef",
686
- "backgroundColor",
687
- "color",
688
- "active",
689
- "isCursorPointer"
690
- ])) : d("", !0),
691
- qt.value ? (v(), f("div", {
692
- key: 2,
693
- ref_key: "noTitle",
694
- ref: Et,
695
- class: "vue-data-ui-no-title-space",
696
- style: "height:36px; width: 100%;background:transparent"
697
- }, null, 512)) : d("", !0),
698
- F.value.style.chart.title.text ? (v(), f("div", {
699
- key: 3,
700
- ref_key: "chartTitle",
701
- ref: Ct,
702
- style: "width:100%;background:transparent;padding-bottom:24px"
703
- }, [(v(), u(ve, {
704
- key: `title_${bt.value}`,
705
- config: {
706
- title: {
707
- cy: "galaxy-div-title",
708
- ...F.value.style.chart.title
709
- },
710
- subtitle: {
711
- cy: "galaxy-div-subtitle",
712
- ...F.value.style.chart.title.subtitle
713
- }
714
- }
715
- }, null, 8, ["config"]))], 512)) : d("", !0),
716
- p("div", { id: `legend-top-${T.value}` }, null, 8, Ge),
717
- F.value.userOptions.show && Nt.value && (S(Vt) || S(zt)) ? (v(), u(S(ft), {
718
- ref_key: "userOptionsRef",
719
- ref: Ot,
720
- key: `user_option_${yt.value}`,
721
- backgroundColor: F.value.style.chart.backgroundColor,
722
- color: F.value.style.chart.color,
723
- isPrinting: S(Ut),
724
- isImaging: S(Wt),
725
- uid: T.value,
726
- hasTooltip: F.value.userOptions.buttons.tooltip && F.value.style.chart.tooltip.show,
727
- hasPdf: F.value.userOptions.buttons.pdf,
728
- hasXls: F.value.userOptions.buttons.csv,
729
- hasImg: F.value.userOptions.buttons.img,
730
- hasSvg: F.value.userOptions.buttons.svg,
731
- hasTable: F.value.userOptions.buttons.table,
732
- hasFullscreen: F.value.userOptions.buttons.fullscreen,
733
- hasAltCopy: F.value.userOptions.buttons.altCopy,
734
- isTooltip: R.value.showTooltip,
735
- isFullscreen: q.value,
736
- titles: { ...F.value.userOptions.buttonTitles },
737
- chartElement: E.value,
738
- position: F.value.userOptions.position,
739
- hasAnnotator: F.value.userOptions.buttons.annotator,
740
- isAnnotation: Z.value,
741
- callbacks: F.value.userOptions.callbacks,
742
- printScale: F.value.userOptions.print.scale,
743
- tableDialog: F.value.table.useDialog,
744
- isCursorPointer: I.value,
745
- onToggleFullscreen: ln,
746
- onGeneratePdf: S(Gt),
747
- onGenerateCsv: vn,
748
- onGenerateImage: An,
749
- onGenerateSvg: kn,
750
- onToggleTable: yn,
751
- onToggleTooltip: bn,
752
- onToggleAnnotator: xn,
753
- onCopyAlt: jn,
754
- style: _({ visibility: S(Vt) ? S(zt) ? "visible" : "hidden" : "visible" })
755
- }, je({ _: 2 }, [
756
- e.$slots.menuIcon ? {
757
- name: "menuIcon",
758
- fn: C(({ isOpen: t, color: n }) => [b(e.$slots, "menuIcon", g(h({
759
- isOpen: t,
760
- color: n
761
- })), void 0, !0)]),
762
- key: "0"
763
- } : void 0,
764
- e.$slots.optionTooltip ? {
765
- name: "optionTooltip",
766
- fn: C(() => [b(e.$slots, "optionTooltip", {}, void 0, !0)]),
767
- key: "1"
768
- } : void 0,
769
- e.$slots.optionPdf ? {
770
- name: "optionPdf",
771
- fn: C(() => [b(e.$slots, "optionPdf", {}, void 0, !0)]),
772
- key: "2"
773
- } : void 0,
774
- e.$slots.optionCsv ? {
775
- name: "optionCsv",
776
- fn: C(() => [b(e.$slots, "optionCsv", {}, void 0, !0)]),
777
- key: "3"
778
- } : void 0,
779
- e.$slots.optionImg ? {
780
- name: "optionImg",
781
- fn: C(() => [b(e.$slots, "optionImg", {}, void 0, !0)]),
782
- key: "4"
783
- } : void 0,
784
- e.$slots.optionSvg ? {
785
- name: "optionSvg",
786
- fn: C(() => [b(e.$slots, "optionSvg", {}, void 0, !0)]),
787
- key: "5"
788
- } : void 0,
789
- e.$slots.optionTable ? {
790
- name: "optionTable",
791
- fn: C(() => [b(e.$slots, "optionTable", {}, void 0, !0)]),
792
- key: "6"
793
- } : void 0,
794
- e.$slots.optionFullscreen ? {
795
- name: "optionFullscreen",
796
- fn: C(({ toggleFullscreen: t, isFullscreen: n }) => [b(e.$slots, "optionFullscreen", g(h({
797
- toggleFullscreen: t,
798
- isFullscreen: n
799
- })), void 0, !0)]),
800
- key: "7"
801
- } : void 0,
802
- e.$slots.optionAnnotator ? {
803
- name: "optionAnnotator",
804
- fn: C(({ toggleAnnotator: t, isAnnotator: n }) => [b(e.$slots, "optionAnnotator", g(h({
805
- toggleAnnotator: t,
806
- isAnnotator: n
807
- })), void 0, !0)]),
808
- key: "8"
809
- } : void 0,
810
- e.$slots.optionAltCopy ? {
811
- name: "optionAltCopy",
812
- fn: C(({ altCopy: t }) => [b(e.$slots, "optionAltCopy", g(h({ altCopy: t })), void 0, !0)]),
813
- key: "9"
814
- } : void 0,
815
- e.$slots["custom-menu-before"] ? {
816
- name: "custom-menu-before",
817
- fn: C(() => [b(e.$slots, "custom-menu-before", {}, void 0, !0)]),
818
- key: "10"
819
- } : void 0,
820
- e.$slots["custom-menu-after"] ? {
821
- name: "custom-menu-after",
822
- fn: C(() => [b(e.$slots, "custom-menu-after", {}, void 0, !0)]),
823
- key: "11"
824
- } : void 0
825
- ]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasTooltip.hasPdf.hasXls.hasImg.hasSvg.hasTable.hasFullscreen.hasAltCopy.isTooltip.isFullscreen.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.style".split("."))) : d("", !0),
826
- p("div", Ke, [(v(), f("svg", {
827
- ref_key: "svgRef",
828
- ref: L,
829
- xmlns: S(oe),
830
- "aria-describedby": `chart-instructions-${T.value}`,
831
- class: Ie({
832
- "vue-data-ui-fullscreen--on": q.value,
833
- "vue-data-ui-fulscreen--off": !q.value
834
- }),
835
- viewBox: V.value.viewBox,
836
- style: _(`max-width:100%; overflow: visible; background:transparent;color:${F.value.style.chart.color}`),
837
- tabindex: "0",
838
- onFocus: Mn,
839
- onBlur: Nn,
840
- onKeydown: Pn
841
- }, [
842
- Ne(S(pt)),
843
- e.$slots["chart-background"] ? (v(), f("foreignObject", {
844
- key: 0,
845
- x: 0,
846
- y: 0,
847
- width: V.value.width,
848
- height: V.value.height,
849
- style: { pointerEvents: "none" }
850
- }, [b(e.$slots, "chart-background", {}, void 0, !0)], 8, Je)) : d("", !0),
851
- p("defs", null, [p("filter", {
852
- id: `blur_${T.value}`,
853
- x: "-50%",
854
- y: "-50%",
855
- width: "200%",
856
- height: "200%"
857
- }, [p("feGaussianBlur", {
858
- in: "SourceGraphic",
859
- stdDeviation: 100 / F.value.style.chart.layout.arcs.gradient.intensity
860
- }, null, 8, Xe)], 8, Ye)]),
861
- (v(!0), f(ke, null, Re(K.value, (e) => (v(), f("g", null, [
862
- e.value ? (v(), f("path", {
863
- key: 0,
864
- d: e.path,
865
- fill: "none",
866
- stroke: F.value.style.chart.backgroundColor,
867
- "stroke-width": cn(e).border,
868
- "stroke-linecap": "round"
869
- }, null, 8, Ze)) : d("", !0),
870
- e.value ? (v(), f("path", {
871
- key: 1,
872
- d: e.path,
873
- fill: "none",
874
- stroke: e.color,
875
- "stroke-width": cn(e).path,
876
- "stroke-linecap": "round",
877
- class: Ie(`${O.value && O.value !== e.id && F.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
878
- }, null, 10, Qe)) : d("", !0),
879
- e.value && F.value.style.chart.layout.arcs.gradient.show ? (v(), f("g", {
880
- key: 2,
881
- filter: `url(#blur_${T.value})`
882
- }, [p("path", {
883
- d: e.path,
884
- fill: "none",
885
- stroke: F.value.style.chart.layout.arcs.gradient.color,
886
- "stroke-width": cn(e).blur,
887
- "stroke-linecap": "round",
888
- class: Ie(`vue-ui-galaxy-gradient ${O.value && O.value !== e.id && F.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
889
- }, null, 10, et)], 8, $e)) : d("", !0)
890
- ]))), 256)),
891
- (v(!0), f(ke, null, Re(K.value, (e, n) => (v(), f("g", null, [e.value ? (v(), f("path", {
892
- key: 0,
893
- "data-a11y-serie-id": e.id,
894
- d: e.path,
895
- fill: "none",
896
- stroke: "transparent",
897
- "stroke-width": F.value.style.chart.layout.arcs.strokeWidth + F.value.style.chart.layout.arcs.borderWidth,
898
- "stroke-linecap": "round",
899
- "aria-label": `${e.name}: ${S(t)({
900
- p: F.value.style.chart.layout.labels.dataLabels.prefix,
901
- v: e.value,
902
- s: F.value.style.chart.layout.labels.dataLabels.suffix,
903
- r: F.value.style.chart.tooltip.roundingValue
904
- })}`,
905
- onMouseenter: (t) => gn({
906
- datapoint: e,
907
- relativeIndex: n,
908
- seriesIndex: e.seriesIndex,
909
- show: !0,
910
- triggerMode: "pointer",
911
- flatIndex: n
912
- }),
913
- onMouseleave: (t) => pn(e),
914
- onClick: (t) => mn(e)
915
- }, null, 40, tt)) : d("", !0)]))), 256)),
916
- b(e.$slots, "svg", { svg: {
917
- ...V.value,
918
- isPrintingImg: S(Ut) || S(Wt) || kt.value,
919
- isPrintingSvg: M.value
920
- } }, void 0, !0)
921
- ], 46, qe)), e.$slots.hint ? (v(), f("div", nt, [b(e.$slots, "hint", g(h({
922
- hint: F.value.a11y.translations.keyboardNavigation,
923
- isVisible: Mt.value
924
- })), void 0, !0)])) : d("", !0)]),
925
- e.$slots.watermark ? (v(), f("div", rt, [b(e.$slots, "watermark", g(h({ isPrinting: S(Ut) || S(Wt) || kt.value || M.value })), void 0, !0)])) : d("", !0),
926
- p("div", { id: `legend-bottom-${T.value}` }, null, 8, it),
927
- Dt.value && (F.value.style.chart.legend.show || e.$slots.legend) ? (v(), u(Ae, {
928
- key: 6,
929
- to: F.value.style.chart.legend.position === "top" ? `#legend-top-${T.value}` : `#legend-bottom-${T.value}`
930
- }, [p("div", {
931
- ref_key: "chartLegend",
932
- ref: wt
933
- }, [b(e.$slots, "legend", { legend: J.value }, () => [F.value.style.chart.legend.show ? (v(), u(De, {
934
- key: `legend_${St.value}`,
935
- legendSet: J.value,
936
- config: _n.value,
937
- onClickMarker: n[0] ||= ({ legend: e }) => U(e)
938
- }, {
939
- item: C(({ legend: e, index: t }) => [S(Ft) ? d("", !0) : (v(), f("div", {
940
- key: 0,
941
- onClick: (t) => U(e),
942
- style: _(`opacity:${H.value.includes(e.id) ? .5 : 1}`)
943
- }, x(e.display), 13, at))]),
944
- legendToggle: C(() => [J.value.length > 2 && F.value.style.chart.legend.selectAllToggle.show && !S(Ft) ? (v(), u(Se, {
945
- key: 0,
946
- backgroundColor: F.value.style.chart.legend.selectAllToggle.backgroundColor,
947
- color: F.value.style.chart.legend.selectAllToggle.color,
948
- fontSize: F.value.style.chart.legend.fontSize,
949
- checked: H.value.length > 0,
950
- onToggle: Qt
951
- }, null, 8, [
952
- "backgroundColor",
953
- "color",
954
- "fontSize",
955
- "checked"
956
- ])) : d("", !0)]),
957
- _: 1
958
- }, 8, ["legendSet", "config"])) : d("", !0)], !0)], 512)], 8, ["to"])) : d("", !0),
959
- e.$slots.source ? (v(), f("div", {
960
- key: 7,
961
- ref_key: "source",
962
- ref: Tt,
963
- dir: "auto"
964
- }, [b(e.$slots, "source", {}, void 0, !0)], 512)) : d("", !0),
965
- Ne(S(st), {
966
- teleportTo: F.value.style.chart.tooltip.teleportTo,
967
- show: R.value.showTooltip && D.value,
968
- backgroundColor: F.value.style.chart.tooltip.backgroundColor,
969
- color: F.value.style.chart.tooltip.color,
970
- borderRadius: F.value.style.chart.tooltip.borderRadius,
971
- borderColor: F.value.style.chart.tooltip.borderColor,
972
- borderWidth: F.value.style.chart.tooltip.borderWidth,
973
- fontSize: F.value.style.chart.tooltip.fontSize,
974
- backgroundOpacity: F.value.style.chart.tooltip.backgroundOpacity,
975
- position: F.value.style.chart.tooltip.position,
976
- offsetX: F.value.style.chart.tooltip.offsetX,
977
- offsetY: F.value.style.chart.tooltip.offsetY,
978
- parent: E.value,
979
- content: vt.value,
980
- isFullscreen: q.value,
981
- isCustom: S(ae)(F.value.style.chart.tooltip.customFormat),
982
- smooth: F.value.style.chart.tooltip.smooth,
983
- backdropFilter: F.value.style.chart.tooltip.backdropFilter,
984
- smoothForce: F.value.style.chart.tooltip.smoothForce,
985
- smoothSnapThreshold: F.value.style.chart.tooltip.smoothSnapThreshold,
986
- isA11yMode: jt.value === "keyboard",
987
- a11yPosition: At.value
988
- }, {
989
- "tooltip-before": C(() => [b(e.$slots, "tooltip-before", g(h({ ...un.value })), void 0, !0)]),
990
- tooltip: C(() => [b(e.$slots, "tooltip", g(h({ ...un.value })), void 0, !0)]),
991
- "tooltip-after": C(() => [b(e.$slots, "tooltip-after", g(h({ ...un.value })), void 0, !0)]),
992
- _: 3
993
- }, 8, [
994
- "teleportTo",
995
- "show",
996
- "backgroundColor",
997
- "color",
998
- "borderRadius",
999
- "borderColor",
1000
- "borderWidth",
1001
- "fontSize",
1002
- "backgroundOpacity",
1003
- "position",
1004
- "offsetX",
1005
- "offsetY",
1006
- "parent",
1007
- "content",
1008
- "isFullscreen",
1009
- "isCustom",
1010
- "smooth",
1011
- "backdropFilter",
1012
- "smoothForce",
1013
- "smoothSnapThreshold",
1014
- "isA11yMode",
1015
- "a11yPosition"
1016
- ]),
1017
- Nt.value && F.value.userOptions.buttons.table ? (v(), u(ze(Q.value.component), Pe({ key: 8 }, Q.value.props, {
1018
- ref_key: "tableUnit",
1019
- ref: j,
1020
- onClose: Cn
1021
- }), je({
1022
- content: C(() => [(v(), u(S(ut), {
1023
- key: `table_${xt.value}`,
1024
- colNames: X.value.colNames,
1025
- head: X.value.head,
1026
- body: X.value.body,
1027
- config: X.value.config,
1028
- title: F.value.table.useDialog ? "" : Q.value.title,
1029
- withCloseButton: !F.value.table.useDialog,
1030
- isCursorPointer: I.value,
1031
- onClose: Cn
1032
- }, {
1033
- th: C(({ th: e }) => [p("div", {
1034
- innerHTML: e,
1035
- style: {
1036
- display: "flex",
1037
- "align-items": "center"
1038
- }
1039
- }, null, 8, ot)]),
1040
- td: C(({ td: e }) => [Me(x(e.name || e), 1)]),
1041
- _: 1
1042
- }, 8, [
1043
- "colNames",
1044
- "head",
1045
- "body",
1046
- "config",
1047
- "title",
1048
- "withCloseButton",
1049
- "isCursorPointer"
1050
- ]))]),
1051
- _: 2
1052
- }, [F.value.table.useDialog ? {
1053
- name: "title",
1054
- fn: C(() => [Me(x(Q.value.title), 1)]),
1055
- key: "0"
1056
- } : void 0, F.value.table.useDialog ? {
1057
- name: "actions",
1058
- fn: C(() => [p("button", {
1059
- tabindex: "0",
1060
- class: "vue-ui-user-options-button",
1061
- onClick: n[1] ||= (e) => vn(F.value.userOptions.callbacks.csv),
1062
- style: _({ cursor: I.value ? "pointer" : "default" })
1063
- }, [Ne(S(ct), {
1064
- name: "fileCsv",
1065
- stroke: Q.value.props.color
1066
- }, null, 8, ["stroke"])], 4)]),
1067
- key: "1"
1068
- } : void 0]), 1040)) : d("", !0),
1069
- b(e.$slots, "skeleton", {}, () => [S(Ft) ? (v(), u(pe, { key: 0 })) : d("", !0)], !0)
1070
- ], 46, Ue));
1071
- }
1072
- }, [["__scopeId", "data-v-7a36f3e1"]]);
1073
- //#endregion
1074
- export { He as n, st as t };