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