vue-data-ui 3.26.5 → 3.27.1-beta.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 (531) hide show
  1. package/dist/A11yDataTable-DWNlWXzs.js +1 -0
  2. package/dist/Arrow-CJeSufxg.js +1 -0
  3. package/dist/BaseDraggableDialog-T1gEsQid.js +1 -0
  4. package/dist/BaseIcon-Cz30ODFA.js +1 -0
  5. package/dist/BaseLegendToggle-Dn_tNvn4.js +1 -0
  6. package/dist/BaseScanner-8NdoBs7B.js +1 -0
  7. package/dist/BaseZoomControls-xq3tWD3j.js +1 -0
  8. package/dist/ColorPicker-CUjEw53A.js +1 -0
  9. package/dist/DataTable-DSUA5M9p.js +1 -0
  10. package/dist/DefGrad-DKMq1REY.js +1 -0
  11. package/dist/HillActions-DdvXld3a.js +1 -0
  12. package/dist/Legend-DokTll4u.js +1 -0
  13. package/dist/NonSvgPenAndPaper-BLzQuIm6.js +1 -0
  14. package/dist/PackageVersion-D6pKL176.js +1 -0
  15. package/dist/PenAndPaper-DvJJaeU2.js +1 -0
  16. package/dist/RecursiveCircles-BftI1kwF.js +1 -0
  17. package/dist/RecursiveLabels-B0d04xSj.js +1 -0
  18. package/dist/RecursiveLinks-CZtG6uWg.js +1 -0
  19. package/dist/Shape-tkp65OcG.js +1 -0
  20. package/dist/SlicerPreview-GFRs2EWB.js +1 -0
  21. package/dist/SparkTooltip-BlJLvizH.js +1 -0
  22. package/dist/Title-BRAjxtjG.js +1 -0
  23. package/dist/Tooltip-BUXB0i6z.js +1 -0
  24. package/dist/UserOptions-D65t74CM.js +1 -0
  25. package/dist/_plugin-vue_export-helper-BDNMzG2s.js +1 -0
  26. package/dist/annotationSlots-BRR85CqJ.js +1 -0
  27. package/dist/chartImage-NwZO-elv.js +1 -0
  28. package/dist/components/arrow.js +1 -2
  29. package/dist/components/vue-ui-3d-bar.js +1 -2
  30. package/dist/components/vue-ui-accordion.js +1 -2
  31. package/dist/components/vue-ui-age-pyramid.js +1 -2
  32. package/dist/components/vue-ui-annotator.js +1 -2
  33. package/dist/components/vue-ui-bullet.js +1 -2
  34. package/dist/components/vue-ui-bump.js +1 -2
  35. package/dist/components/vue-ui-candlestick.js +1 -2
  36. package/dist/components/vue-ui-carousel-table.js +1 -2
  37. package/dist/components/vue-ui-chestnut.js +1 -2
  38. package/dist/components/vue-ui-chord.js +1 -2
  39. package/dist/components/vue-ui-circle-pack.js +1 -2
  40. package/dist/components/vue-ui-cursor.js +1 -2
  41. package/dist/components/vue-ui-dag.js +1 -2
  42. package/dist/components/vue-ui-dashboard.js +1 -2
  43. package/dist/components/vue-ui-digits.js +1 -2
  44. package/dist/components/vue-ui-donut-evolution.js +1 -2
  45. package/dist/components/vue-ui-donut.js +1 -2
  46. package/dist/components/vue-ui-dumbbell.js +1 -2
  47. package/dist/components/vue-ui-flow.js +1 -2
  48. package/dist/components/vue-ui-funnel.js +1 -2
  49. package/dist/components/vue-ui-galaxy.js +1 -2
  50. package/dist/components/vue-ui-gauge.js +1 -2
  51. package/dist/components/vue-ui-geo.js +1 -2
  52. package/dist/components/vue-ui-gizmo.js +1 -2
  53. package/dist/components/vue-ui-heatmap.js +1 -2
  54. package/dist/components/vue-ui-hill.js +1 -2
  55. package/dist/components/vue-ui-history-plot.js +1 -2
  56. package/dist/components/vue-ui-horizontal-bar.js +1 -2
  57. package/dist/components/vue-ui-icon.js +1 -2
  58. package/dist/components/vue-ui-kpi.js +1 -2
  59. package/dist/components/vue-ui-label.js +1 -2
  60. package/dist/components/vue-ui-mini-loader.js +1 -2
  61. package/dist/components/vue-ui-molecule.js +1 -2
  62. package/dist/components/vue-ui-mood-radar.js +1 -2
  63. package/dist/components/vue-ui-nested-donuts.js +1 -2
  64. package/dist/components/vue-ui-onion.js +1 -2
  65. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -2
  66. package/dist/components/vue-ui-pattern-seed.js +1 -2
  67. package/dist/components/vue-ui-pattern.js +1 -2
  68. package/dist/components/vue-ui-quadrant.js +1 -2
  69. package/dist/components/vue-ui-quick-chart.js +1 -2
  70. package/dist/components/vue-ui-radar.js +1 -2
  71. package/dist/components/vue-ui-rating.js +1 -2
  72. package/dist/components/vue-ui-relation-circle.js +1 -2
  73. package/dist/components/vue-ui-ridgeline.js +1 -2
  74. package/dist/components/vue-ui-rings.js +1 -2
  75. package/dist/components/vue-ui-scatter.js +1 -2
  76. package/dist/components/vue-ui-skeleton.js +1 -2
  77. package/dist/components/vue-ui-smiley.js +1 -2
  78. package/dist/components/vue-ui-spark-trend.js +1 -2
  79. package/dist/components/vue-ui-sparkbar.js +1 -2
  80. package/dist/components/vue-ui-sparkgauge.js +1 -2
  81. package/dist/components/vue-ui-sparkhistogram.js +1 -2
  82. package/dist/components/vue-ui-sparkline.js +1 -2
  83. package/dist/components/vue-ui-sparkstackbar.js +1 -2
  84. package/dist/components/vue-ui-stackbar.js +1 -2
  85. package/dist/components/vue-ui-stackline.js +1 -2
  86. package/dist/components/vue-ui-strip-plot.js +1 -2
  87. package/dist/components/vue-ui-table-heatmap.js +1 -2
  88. package/dist/components/vue-ui-table-sparkline.js +1 -2
  89. package/dist/components/vue-ui-table.js +1 -2
  90. package/dist/components/vue-ui-thermometer.js +1 -2
  91. package/dist/components/vue-ui-timer.js +1 -2
  92. package/dist/components/vue-ui-tiremarks.js +1 -2
  93. package/dist/components/vue-ui-treemap.js +1 -2
  94. package/dist/components/vue-ui-vertical-bar.js +1 -2
  95. package/dist/components/vue-ui-waffle.js +1 -2
  96. package/dist/components/vue-ui-wheel.js +1 -2
  97. package/dist/components/vue-ui-word-cloud.js +1 -2
  98. package/dist/components/vue-ui-world.js +1 -2
  99. package/dist/components/vue-ui-xy-canvas.js +1 -2
  100. package/dist/components/vue-ui-xy.js +1 -2
  101. package/dist/composables.js +1 -5
  102. package/dist/dom-to-png-Cp3WLHmJ.js +3 -0
  103. package/dist/exposedLib-CMTeSmyW.js +1 -0
  104. package/dist/geoProjections-Bvj-eMvq.js +1 -0
  105. package/dist/img-8sM3sVWU.js +1 -0
  106. package/dist/labelUtils-Djp5nJtN.js +1 -0
  107. package/dist/lib-zDxoqrgo.js +12 -0
  108. package/dist/package-DIR2F6AE.js +1 -0
  109. package/dist/patternUtils-_q3ArM3g.js +1 -0
  110. package/dist/pdf-Dlv_ks7R.js +1 -0
  111. package/dist/render-common-DOYi0f4Z.js +1 -0
  112. package/dist/resolveChartConfig-BSo1Oe9n.js +1 -0
  113. package/dist/rolldown-runtime-DK3Fl9T5.js +1 -0
  114. package/dist/ssr/vue-ui-donut.js +1 -2
  115. package/dist/ssr/vue-ui-xy.js +1 -2
  116. package/dist/ssr.js +1 -3
  117. package/dist/style.css +1 -1
  118. package/dist/tableIntegration-CNoJ1CIY.js +1 -0
  119. package/dist/types/composables.d.ts +12 -12
  120. package/dist/types/ssr.d.ts +84 -84
  121. package/dist/types/utils.d.ts +82 -73
  122. package/dist/types/vue-data-ui.d.ts +17969 -17813
  123. package/dist/types/vue-ui-3d-bar.d.ts +24 -91
  124. package/dist/types/vue-ui-accordion.d.ts +2 -10
  125. package/dist/types/vue-ui-age-pyramid.d.ts +27 -106
  126. package/dist/types/vue-ui-annotator.d.ts +12 -88
  127. package/dist/types/vue-ui-bullet.d.ts +21 -83
  128. package/dist/types/vue-ui-bump.d.ts +23 -90
  129. package/dist/types/vue-ui-candlestick.d.ts +27 -108
  130. package/dist/types/vue-ui-carousel-table.d.ts +11 -57
  131. package/dist/types/vue-ui-chestnut.d.ts +27 -96
  132. package/dist/types/vue-ui-chord.d.ts +31 -108
  133. package/dist/types/vue-ui-circle-pack.d.ts +30 -124
  134. package/dist/types/vue-ui-cursor.d.ts +2 -8
  135. package/dist/types/vue-ui-dag.d.ts +35 -125
  136. package/dist/types/vue-ui-dashboard.d.ts +18 -66
  137. package/dist/types/vue-ui-digits.d.ts +2 -11
  138. package/dist/types/vue-ui-donut-evolution.d.ts +31 -100
  139. package/dist/types/vue-ui-donut.d.ts +31 -121
  140. package/dist/types/vue-ui-dumbbell.d.ts +24 -92
  141. package/dist/types/vue-ui-flow.d.ts +28 -104
  142. package/dist/types/vue-ui-funnel.d.ts +18 -77
  143. package/dist/types/vue-ui-galaxy.d.ts +30 -112
  144. package/dist/types/vue-ui-gauge.d.ts +22 -87
  145. package/dist/types/vue-ui-geo.d.ts +22 -92
  146. package/dist/types/vue-ui-gizmo.d.ts +5 -20
  147. package/dist/types/vue-ui-heatmap.d.ts +25 -101
  148. package/dist/types/vue-ui-hill.d.ts +22 -88
  149. package/dist/types/vue-ui-history-plot.d.ts +30 -112
  150. package/dist/types/vue-ui-horizontal-bar.d.ts +30 -114
  151. package/dist/types/vue-ui-icon.d.ts +1 -13
  152. package/dist/types/vue-ui-kpi.d.ts +5 -23
  153. package/dist/types/vue-ui-label.d.ts +11 -48
  154. package/dist/types/vue-ui-mini-loader.d.ts +4 -13
  155. package/dist/types/vue-ui-molecule.d.ts +27 -110
  156. package/dist/types/vue-ui-mood-radar.d.ts +23 -90
  157. package/dist/types/vue-ui-nested-donuts.d.ts +28 -109
  158. package/dist/types/vue-ui-onion.d.ts +26 -104
  159. package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +34 -123
  160. package/dist/types/vue-ui-pattern-seed.d.ts +1 -14
  161. package/dist/types/vue-ui-pattern.d.ts +1 -13
  162. package/dist/types/vue-ui-quadrant.d.ts +33 -123
  163. package/dist/types/vue-ui-quick-chart.d.ts +30 -110
  164. package/dist/types/vue-ui-radar.d.ts +31 -114
  165. package/dist/types/vue-ui-rating.d.ts +8 -40
  166. package/dist/types/vue-ui-relation-circle.d.ts +26 -90
  167. package/dist/types/vue-ui-ridgeline.d.ts +27 -104
  168. package/dist/types/vue-ui-rings.d.ts +21 -96
  169. package/dist/types/vue-ui-scatter.d.ts +22 -95
  170. package/dist/types/vue-ui-skeleton.d.ts +2 -10
  171. package/dist/types/vue-ui-smiley.d.ts +6 -26
  172. package/dist/types/vue-ui-spark-trend.d.ts +2 -18
  173. package/dist/types/vue-ui-sparkbar.d.ts +10 -47
  174. package/dist/types/vue-ui-sparkgauge.d.ts +5 -26
  175. package/dist/types/vue-ui-sparkhistogram.d.ts +12 -44
  176. package/dist/types/vue-ui-sparkline.d.ts +16 -61
  177. package/dist/types/vue-ui-sparkstackbar.d.ts +13 -58
  178. package/dist/types/vue-ui-stackbar.d.ts +36 -120
  179. package/dist/types/vue-ui-stackline.d.ts +29 -116
  180. package/dist/types/vue-ui-strip-plot.d.ts +22 -96
  181. package/dist/types/vue-ui-table-heatmap.d.ts +14 -60
  182. package/dist/types/vue-ui-table-sparkline.d.ts +12 -51
  183. package/dist/types/vue-ui-table.d.ts +9 -36
  184. package/dist/types/vue-ui-thermometer.d.ts +14 -68
  185. package/dist/types/vue-ui-timer.d.ts +10 -47
  186. package/dist/types/vue-ui-tiremarks.d.ts +14 -68
  187. package/dist/types/vue-ui-treemap.d.ts +26 -105
  188. package/dist/types/vue-ui-vertical-bar.d.ts +8 -19
  189. package/dist/types/vue-ui-waffle.d.ts +23 -99
  190. package/dist/types/vue-ui-wheel.d.ts +14 -68
  191. package/dist/types/vue-ui-word-cloud.d.ts +20 -95
  192. package/dist/types/vue-ui-world.d.ts +22 -96
  193. package/dist/types/vue-ui-xy-canvas.d.ts +24 -101
  194. package/dist/types/vue-ui-xy.d.ts +42 -146
  195. package/dist/unpackTheme-CNsFKCeq.js +1 -0
  196. package/dist/useAutoSizeLabelsInsideViewbox-AIRF0PlD.js +1 -0
  197. package/dist/useChartAccessibility-DOMuYJfm.js +1 -0
  198. package/dist/useChartExport-DtPNpc9M.js +1 -0
  199. package/dist/useConfig-CKdzPrcf.js +1 -0
  200. package/dist/useFitSvgText-C1QC4P5G.js +1 -0
  201. package/dist/useHints-BH9r_0Vd.js +6 -0
  202. package/dist/useNestedProp-CT9phgWx.js +1 -0
  203. package/dist/useObjectBindings-DM3xDKV3.js +1 -0
  204. package/dist/usePanZoom-BdjP5Suc.js +1 -0
  205. package/dist/usePrefersMotion-XLHwega2.js +1 -0
  206. package/dist/usePrinter-CnyKPIFM.js +1 -0
  207. package/dist/useResponsive-D2CPcpda.js +1 -0
  208. package/dist/useStableElementSize-CegFbRlF.js +1 -0
  209. package/dist/useTableResponsive-uSz_qZOB.js +1 -0
  210. package/dist/useThemeCheck-BKNRbGeC.js +1 -0
  211. package/dist/useTimeLabelCollider-XQf_S7-z.js +1 -0
  212. package/dist/useTimeLabels-Das5O74F.js +1 -0
  213. package/dist/useTooltipPosition-aoV8pZZ9.js +1 -0
  214. package/dist/useTransitions-DfSHzsdz.js +1 -0
  215. package/dist/useUserOptionState-CXlFnwPv.js +1 -0
  216. package/dist/userOptionsSlots-DYuo-E5m.js +1 -0
  217. package/dist/utils.js +1 -30
  218. package/dist/vClickOutside-BxNzkY17.js +1 -0
  219. package/dist/vue-data-ui-BG41UScx.js +1 -0
  220. package/dist/vue-data-ui.js +1 -79
  221. package/dist/vue-ui-3d-bar-DiaiNy-k.js +19 -0
  222. package/dist/vue-ui-accordion-Dy5OVFKr.js +1 -0
  223. package/dist/vue-ui-age-pyramid-OeUr1yxi.js +1 -0
  224. package/dist/vue-ui-annotator-DA_xAFql.js +331 -0
  225. package/dist/vue-ui-bullet-B9lcCTVb.js +34 -0
  226. package/dist/vue-ui-bump-DYajIrva.js +10 -0
  227. package/dist/vue-ui-candlestick-CdAZuNxo.js +22 -0
  228. package/dist/vue-ui-carousel-table-ihGH0LDH.js +1 -0
  229. package/dist/vue-ui-chestnut-B2aNXFNO.js +1 -0
  230. package/dist/vue-ui-chord-fAckHfOW.js +21 -0
  231. package/dist/vue-ui-circle-pack-BWHVImkS.js +13 -0
  232. package/dist/vue-ui-cursor-DdXKXmhr.js +1 -0
  233. package/dist/vue-ui-dag-a0fNoIcJ.js +9 -0
  234. package/dist/vue-ui-dashboard-DkdYMB7n.js +1 -0
  235. package/dist/vue-ui-digits-CL9SuIEI.js +42 -0
  236. package/dist/vue-ui-donut-BaEodt-3.js +22 -0
  237. package/dist/vue-ui-donut-DaYxdQmP.js +47 -0
  238. package/dist/vue-ui-donut-evolution-T8cRXKRQ.js +2 -0
  239. package/dist/vue-ui-dumbbell-B6HJxEZp.js +9 -0
  240. package/dist/vue-ui-flow-BlTCVFr3.js +3 -0
  241. package/dist/vue-ui-funnel-WgLFJadZ.js +1 -0
  242. package/dist/vue-ui-galaxy-B3nuI6E8.js +1 -0
  243. package/dist/vue-ui-gauge-BwTP65O4.js +1 -0
  244. package/dist/vue-ui-geo-CX3yH18H.js +1 -0
  245. package/dist/vue-ui-gizmo-CNHcBsku.js +1 -0
  246. package/dist/vue-ui-heatmap-CTdeoar7.js +1 -0
  247. package/dist/vue-ui-hill-DR5k8GWZ.js +1 -0
  248. package/dist/vue-ui-history-plot-C-9uH-Uj.js +2 -0
  249. package/dist/vue-ui-horizontal-bar-qqF7pL7U.js +4 -0
  250. package/dist/vue-ui-kpi-DVcLXGqG.js +1 -0
  251. package/dist/vue-ui-label-D1Aog-zO.js +7 -0
  252. package/dist/vue-ui-mini-loader-CX0Dx9tT.js +1 -0
  253. package/dist/vue-ui-molecule-B13qVX71.js +1 -0
  254. package/dist/vue-ui-mood-radar-C1BtB8lg.js +1 -0
  255. package/dist/vue-ui-nested-donuts-B90yrlJG.js +19 -0
  256. package/dist/vue-ui-onion-UMVO2DE_.js +5 -0
  257. package/dist/vue-ui-parallel-coordinate-plot-C0ofFivm.js +9 -0
  258. package/dist/vue-ui-pattern-DrPCu32G.js +1 -0
  259. package/dist/vue-ui-pattern-seed-B8YjAAEH.js +1 -0
  260. package/dist/vue-ui-quadrant-CPG6yAiu.js +2 -0
  261. package/dist/vue-ui-quick-chart-BTPb-Iz8.js +17 -0
  262. package/dist/vue-ui-radar-Hd-pE9ih.js +1 -0
  263. package/dist/vue-ui-rating-C_YxQYa_.js +1 -0
  264. package/dist/vue-ui-relation-circle-CHYG7ZJl.js +1 -0
  265. package/dist/vue-ui-ridgeline-DS1Gvljt.js +2 -0
  266. package/dist/vue-ui-rings-B-Hb13Uu.js +1 -0
  267. package/dist/vue-ui-scatter-BTgvOmuo.js +9 -0
  268. package/dist/vue-ui-skeleton-B-Acw3CC.js +41 -0
  269. package/dist/vue-ui-smiley-Ciwqt6ek.js +1 -0
  270. package/dist/vue-ui-spark-trend-CYqy6c0S.js +1 -0
  271. package/dist/vue-ui-sparkbar-CTXIgjmP.js +1 -0
  272. package/dist/vue-ui-sparkgauge-CObOL6s2.js +1 -0
  273. package/dist/vue-ui-sparkhistogram-ClFyDez-.js +1 -0
  274. package/dist/vue-ui-sparkline-DP_nYlW8.js +1 -0
  275. package/dist/vue-ui-sparkstackbar-B2f0ePMg.js +1 -0
  276. package/dist/vue-ui-stackbar-nMWHZ-f0.js +29 -0
  277. package/dist/vue-ui-stackline-B95y6Zc5.js +39 -0
  278. package/dist/vue-ui-strip-plot-gFNC4r-X.js +2 -0
  279. package/dist/vue-ui-table-Br2JgD_L.js +14 -0
  280. package/dist/vue-ui-table-heatmap-Btu2ejF4.js +1 -0
  281. package/dist/vue-ui-table-sparkline-B9mYHAxp.js +1 -0
  282. package/dist/vue-ui-thermometer-C6u1eLfo.js +1 -0
  283. package/dist/vue-ui-timer-DLgsfB1U.js +64 -0
  284. package/dist/vue-ui-tiremarks-8B9uE1Bx.js +1 -0
  285. package/dist/vue-ui-treemap-C4Mot-Os.js +1 -0
  286. package/dist/vue-ui-waffle-BwcwNpf7.js +1 -0
  287. package/dist/vue-ui-wheel-B3OGCXg7.js +1 -0
  288. package/dist/vue-ui-word-cloud-BPIyMBXq.js +4 -0
  289. package/dist/vue-ui-world-Cp0DeauH.js +19 -0
  290. package/dist/vue-ui-xy-BOE1jvUS.js +31 -0
  291. package/dist/vue-ui-xy-DSyKSn4L.js +24 -0
  292. package/dist/vue-ui-xy-canvas-CaxxiKSa.js +9 -0
  293. package/dist/vue_ui_3d_bar-DmAve5Ri.js +1 -0
  294. package/dist/vue_ui_age_pyramid-CL0Ef8Ov.js +1 -0
  295. package/dist/vue_ui_bullet-CwVYkpjd.js +1 -0
  296. package/dist/vue_ui_bump-KJL9GYr4.js +1 -0
  297. package/dist/vue_ui_candlestick-DKvha_Ab.js +1 -0
  298. package/dist/vue_ui_chestnut-BxxivKN7.js +1 -0
  299. package/dist/vue_ui_chord-Fq6VBRT1.js +1 -0
  300. package/dist/vue_ui_circle_pack-CfXkXi7v.js +1 -0
  301. package/dist/vue_ui_dag-1b_dLSym.js +1 -0
  302. package/dist/vue_ui_donut-T5PeOqvf.js +1 -0
  303. package/dist/vue_ui_donut_evolution-nzVwNQYv.js +1 -0
  304. package/dist/vue_ui_dumbbell-BMcxK0N3.js +1 -0
  305. package/dist/vue_ui_flow-kvV56Es9.js +1 -0
  306. package/dist/vue_ui_funnel-CaEV5hG7.js +1 -0
  307. package/dist/vue_ui_galaxy-B94QInxc.js +1 -0
  308. package/dist/vue_ui_gauge-BJhb6yqE.js +1 -0
  309. package/dist/vue_ui_geo-DL1SMQHp.js +1 -0
  310. package/dist/vue_ui_heatmap-kh5NMmwf.js +1 -0
  311. package/dist/vue_ui_hill-DQi4pQCG.js +1 -0
  312. package/dist/vue_ui_history_plot-soyqUW4Y.js +1 -0
  313. package/dist/vue_ui_horizontal_bar-C4ulIxeT.js +1 -0
  314. package/dist/vue_ui_label-dtPqyFsj.js +1 -0
  315. package/dist/vue_ui_molecule-Bw1UW1Na.js +1 -0
  316. package/dist/vue_ui_mood_radar-CXaBdJnv.js +1 -0
  317. package/dist/vue_ui_nested_donuts-CRtGsJcz.js +1 -0
  318. package/dist/vue_ui_onion-C9BedU_-.js +1 -0
  319. package/dist/vue_ui_parallel_coordinate_plot-Cs_xXAG5.js +1 -0
  320. package/dist/vue_ui_quadrant-BUv-SqzP.js +1 -0
  321. package/dist/vue_ui_quick_chart-Da1GwklM.js +1 -0
  322. package/dist/vue_ui_radar-68iK9Fam.js +1 -0
  323. package/dist/vue_ui_relation_circle-Dkv-cSB6.js +1 -0
  324. package/dist/vue_ui_ridgeline-Di26JtQu.js +1 -0
  325. package/dist/vue_ui_rings-BcDDXHpQ.js +1 -0
  326. package/dist/vue_ui_scatter-C50uFYQL.js +1 -0
  327. package/dist/vue_ui_spark_trend-BOM3zo64.js +1 -0
  328. package/dist/vue_ui_sparkbar-Bpx7QrFq.js +1 -0
  329. package/dist/vue_ui_sparkgauge-D2Hk6bvS.js +1 -0
  330. package/dist/vue_ui_sparkhistogram-ChwOkoMb.js +1 -0
  331. package/dist/vue_ui_sparkline-CvL_e9L8.js +1 -0
  332. package/dist/vue_ui_sparkstackbar-Chtog7hC.js +1 -0
  333. package/dist/vue_ui_stackbar-BkBIi_bL.js +1 -0
  334. package/dist/vue_ui_stackline-D7b63K84.js +1 -0
  335. package/dist/vue_ui_strip_plot-CwMowrhT.js +1 -0
  336. package/dist/vue_ui_table_heatmap-vfeY6r97.js +1 -0
  337. package/dist/vue_ui_table_sparkline-Dlfbza49.js +1 -0
  338. package/dist/vue_ui_thermometer-CRijq6H6.js +1 -0
  339. package/dist/vue_ui_tiremarks-8HFfABNF.js +1 -0
  340. package/dist/vue_ui_treemap-Bv4Rdl5_.js +1 -0
  341. package/dist/vue_ui_vertical_bar-BLyflvlz.js +1 -0
  342. package/dist/vue_ui_waffle-BbBLSluB.js +1 -0
  343. package/dist/vue_ui_wheel-C-479bvJ.js +1 -0
  344. package/dist/vue_ui_word_cloud-DBiJtSyL.js +1 -0
  345. package/dist/vue_ui_xy-CJBM9F6W.js +1 -0
  346. package/dist/vue_ui_xy_canvas-CT-FN9rU.js +1 -0
  347. package/package.json +2 -2
  348. package/dist/A11yDataTable-DdRsVULz.js +0 -45
  349. package/dist/Arrow-BQbcOtfC.js +0 -116
  350. package/dist/BaseDraggableDialog-BCFCiP_6.js +0 -272
  351. package/dist/BaseIcon-CIK6Sqo3.js +0 -484
  352. package/dist/BaseLegendToggle-Doa5rYP2.js +0 -56
  353. package/dist/BaseScanner-Dzc8VT3j.js +0 -30
  354. package/dist/BaseZoomControls-BGQM8B5F.js +0 -111
  355. package/dist/ColorPicker-Cb7qpvFt.js +0 -257
  356. package/dist/DataTable-B6LDCXBz.js +0 -150
  357. package/dist/DefGrad-DVBqDjhO.js +0 -48
  358. package/dist/HillActions-CwdgCb7Q.js +0 -187
  359. package/dist/Legend-D9FGXIbQ.js +0 -156
  360. package/dist/NonSvgPenAndPaper-9T4MSwXC.js +0 -577
  361. package/dist/PackageVersion-CslTvFsC.js +0 -12
  362. package/dist/PenAndPaper-C1EcBgJW.js +0 -906
  363. package/dist/RecursiveCircles-D6aDPmoe.js +0 -117
  364. package/dist/RecursiveLabels-D9rfID6q.js +0 -56
  365. package/dist/RecursiveLinks-BygcpDiT.js +0 -78
  366. package/dist/Shape-BZgQLgu5.js +0 -143
  367. package/dist/SlicerPreview-DyYv_G-_.js +0 -1730
  368. package/dist/SparkTooltip-D4cRlyuq.js +0 -93
  369. package/dist/Title-Bd98RysU.js +0 -87
  370. package/dist/Tooltip-DmQeI5WE.js +0 -312
  371. package/dist/UserOptions-B_yBcZ1-.js +0 -1412
  372. package/dist/_plugin-vue_export-helper-B3ysoDQm.js +0 -8
  373. package/dist/dom-to-png-B_RJohlM.js +0 -237
  374. package/dist/exposedLib-C-JlvWAt.js +0 -28
  375. package/dist/geoProjections-BYthUA8l.js +0 -302
  376. package/dist/img-KURaWjZI.js +0 -129
  377. package/dist/labelUtils-DShv2Mbg.js +0 -19
  378. package/dist/lib-TWIH5fGr.js +0 -2152
  379. package/dist/package-DbTqd5lc.js +0 -4
  380. package/dist/patternUtils-CS7hn6at.js +0 -258
  381. package/dist/pdf-CLl24Afl.js +0 -90
  382. package/dist/render-common-CKv-jztN.js +0 -152
  383. package/dist/rolldown-runtime-Dy4uBu1J.js +0 -11
  384. package/dist/useAutoSizeLabelsInsideViewbox-DvDwcwi_.js +0 -122
  385. package/dist/useChartAccessibility-DYqac8yF.js +0 -12
  386. package/dist/useChartExport-iwOqiIWX.js +0 -803
  387. package/dist/useConfig-DObkR9Aa.js +0 -8008
  388. package/dist/useFitSvgText-CXTzBplU.js +0 -65
  389. package/dist/useHints-Dq_w2E8B.js +0 -66
  390. package/dist/useNestedProp-BxOdWM0c.js +0 -12
  391. package/dist/useObjectBindings-CPmyIJxB.js +0 -191
  392. package/dist/usePanZoom-CYU3B4T3.js +0 -157
  393. package/dist/usePrefersMotion-BC-CsqR1.js +0 -15
  394. package/dist/usePrinter-8Y1Rju0Y.js +0 -49
  395. package/dist/useResponsive-ZtArZtUf.js +0 -97
  396. package/dist/useStableElementSize-C7KADDKj.js +0 -77
  397. package/dist/useTableResponsive-BAqJPR68.js +0 -25
  398. package/dist/useThemeCheck-C43Tcqmk.js +0 -24
  399. package/dist/useTimeLabelCollider-AEcY4Ioe.js +0 -57
  400. package/dist/useTimeLabels-d2f-W1L4.js +0 -270
  401. package/dist/useTooltipPosition-BCrtQa9H.js +0 -189
  402. package/dist/useTransitions-g_zBREk2.js +0 -39
  403. package/dist/useUserOptionState-DK-_1ddE.js +0 -15
  404. package/dist/vClickOutside-DUrZWttG.js +0 -13
  405. package/dist/vue-data-ui-C3G5Zdl5.js +0 -191
  406. package/dist/vue-ui-3d-bar-Cl6-fBV8.js +0 -1831
  407. package/dist/vue-ui-accordion-AyyZDab3.js +0 -81
  408. package/dist/vue-ui-age-pyramid-DOtWAL8s.js +0 -1305
  409. package/dist/vue-ui-annotator-BCVjlojM.js +0 -3325
  410. package/dist/vue-ui-bullet-B_1Ctjvq.js +0 -702
  411. package/dist/vue-ui-bump-kOK6x4al.js +0 -1242
  412. package/dist/vue-ui-candlestick-KvhjbAxt.js +0 -2144
  413. package/dist/vue-ui-carousel-table-ArMiO0cG.js +0 -467
  414. package/dist/vue-ui-chestnut-DSM0U27X.js +0 -2016
  415. package/dist/vue-ui-chord-64akfaem.js +0 -1347
  416. package/dist/vue-ui-circle-pack-CaR_aNEh.js +0 -1647
  417. package/dist/vue-ui-cursor-DCgqYZiz.js +0 -283
  418. package/dist/vue-ui-dag-8uKK0Rlp.js +0 -2931
  419. package/dist/vue-ui-dashboard-DeccYtSY.js +0 -522
  420. package/dist/vue-ui-digits-BvK7bVuJ.js +0 -217
  421. package/dist/vue-ui-donut-8joMj08Z.js +0 -974
  422. package/dist/vue-ui-donut-CvbfzzdT.js +0 -2427
  423. package/dist/vue-ui-donut-evolution-DgITf95R.js +0 -1869
  424. package/dist/vue-ui-dumbbell-U2L4ZYhB.js +0 -1533
  425. package/dist/vue-ui-flow-DD20fJu_.js +0 -1229
  426. package/dist/vue-ui-funnel-Cx8hVlZV.js +0 -749
  427. package/dist/vue-ui-galaxy-VZFZnHPv.js +0 -1097
  428. package/dist/vue-ui-gauge-Copa7G58.js +0 -934
  429. package/dist/vue-ui-geo-DeDQ6ubl.js +0 -1495
  430. package/dist/vue-ui-gizmo-D5oUKIsP.js +0 -238
  431. package/dist/vue-ui-heatmap-BukWtNsd.js +0 -1613
  432. package/dist/vue-ui-hill-DONFacXR.js +0 -1747
  433. package/dist/vue-ui-history-plot-BMy_y9S6.js +0 -1710
  434. package/dist/vue-ui-horizontal-bar-bcPSs999.js +0 -1723
  435. package/dist/vue-ui-kpi-Bol0OWs3.js +0 -104
  436. package/dist/vue-ui-label-cwjXaEDQ.js +0 -1451
  437. package/dist/vue-ui-mini-loader-kdpasmXb.js +0 -133
  438. package/dist/vue-ui-molecule-BiAI5lbh.js +0 -941
  439. package/dist/vue-ui-mood-radar-f4xXkiBs.js +0 -1111
  440. package/dist/vue-ui-nested-donuts-ZmGGEvRk.js +0 -1515
  441. package/dist/vue-ui-onion-D6IKPpL-.js +0 -1247
  442. package/dist/vue-ui-parallel-coordinate-plot-BbfModz3.js +0 -1444
  443. package/dist/vue-ui-pattern-DKozfnVn.js +0 -154
  444. package/dist/vue-ui-pattern-seed-BB1honLm.js +0 -61
  445. package/dist/vue-ui-quadrant-CueHa1Pm.js +0 -1979
  446. package/dist/vue-ui-quick-chart-C8ZxX1Zw.js +0 -2775
  447. package/dist/vue-ui-radar-BcD7Zqvb.js +0 -1386
  448. package/dist/vue-ui-rating-V_OnJN9Y.js +0 -359
  449. package/dist/vue-ui-relation-circle-DlN4r83K.js +0 -905
  450. package/dist/vue-ui-ridgeline-BlQnTWXi.js +0 -1630
  451. package/dist/vue-ui-rings-Bf9IKwDr.js +0 -1264
  452. package/dist/vue-ui-scatter-arPbS9MH.js +0 -2418
  453. package/dist/vue-ui-skeleton-dyXWT6JX.js +0 -2567
  454. package/dist/vue-ui-smiley-w6nH1I0E.js +0 -376
  455. package/dist/vue-ui-spark-trend-Bso9bwmY.js +0 -457
  456. package/dist/vue-ui-sparkbar-CL06Yt56.js +0 -401
  457. package/dist/vue-ui-sparkgauge-BHDM5Hbr.js +0 -268
  458. package/dist/vue-ui-sparkhistogram-3Tw8PEms.js +0 -589
  459. package/dist/vue-ui-sparkline-znaswFQj.js +0 -2067
  460. package/dist/vue-ui-sparkstackbar-BOzVoWoa.js +0 -750
  461. package/dist/vue-ui-stackbar-BTOvMsP8.js +0 -2755
  462. package/dist/vue-ui-stackline-qcLrNL09.js +0 -2829
  463. package/dist/vue-ui-strip-plot-BLNaCPm8.js +0 -1752
  464. package/dist/vue-ui-table-D295mJIf.js +0 -1352
  465. package/dist/vue-ui-table-heatmap-CXeMKqKz.js +0 -363
  466. package/dist/vue-ui-table-sparkline-BYuwQrwA.js +0 -738
  467. package/dist/vue-ui-thermometer-BwJ0oF-H.js +0 -758
  468. package/dist/vue-ui-timer-BULpjYiI.js +0 -451
  469. package/dist/vue-ui-tiremarks-B7bTeU8h.js +0 -540
  470. package/dist/vue-ui-treemap-DkqDz9W4.js +0 -1745
  471. package/dist/vue-ui-waffle-Cn7WBzqh.js +0 -1633
  472. package/dist/vue-ui-wheel-Cy7kBvEx.js +0 -873
  473. package/dist/vue-ui-word-cloud-tRqc2ZMR.js +0 -1723
  474. package/dist/vue-ui-world-B755-zji.js +0 -3021
  475. package/dist/vue-ui-xy-BiHIJ7rK.js +0 -1387
  476. package/dist/vue-ui-xy-DWYTZz_v.js +0 -5777
  477. package/dist/vue-ui-xy-canvas-DGuMC_Rf.js +0 -2151
  478. package/dist/vue_ui_3d_bar-C4R7o-yX.js +0 -185
  479. package/dist/vue_ui_age_pyramid-B2R66DgQ.js +0 -310
  480. package/dist/vue_ui_bullet-ClzdLoOv.js +0 -186
  481. package/dist/vue_ui_bump-Vl-zYAtG.js +0 -201
  482. package/dist/vue_ui_candlestick-BXSQY82k.js +0 -461
  483. package/dist/vue_ui_chestnut-D2oUhad6.js +0 -305
  484. package/dist/vue_ui_chord-DPfS1Umc.js +0 -275
  485. package/dist/vue_ui_circle_pack-DZC_rdfn.js +0 -172
  486. package/dist/vue_ui_dag-TsJ_azQq.js +0 -258
  487. package/dist/vue_ui_donut-BDGqG07h.js +0 -358
  488. package/dist/vue_ui_donut_evolution-C6951a2f.js +0 -745
  489. package/dist/vue_ui_dumbbell-Bfe_jFyi.js +0 -304
  490. package/dist/vue_ui_flow-BewZjjKG.js +0 -238
  491. package/dist/vue_ui_funnel-_Og4EEkO.js +0 -234
  492. package/dist/vue_ui_galaxy-Ig0cc1_h.js +0 -265
  493. package/dist/vue_ui_gauge-Cf1RZc9q.js +0 -178
  494. package/dist/vue_ui_geo-B8TODs-G.js +0 -248
  495. package/dist/vue_ui_heatmap-B2BBBSWG.js +0 -319
  496. package/dist/vue_ui_hill-dnltu0L-.js +0 -368
  497. package/dist/vue_ui_history_plot-CuN63VEc.js +0 -413
  498. package/dist/vue_ui_horizontal_bar-C4J4QzXf.js +0 -341
  499. package/dist/vue_ui_label-B0QoxQrJ.js +0 -115
  500. package/dist/vue_ui_molecule-CO9L59SF.js +0 -231
  501. package/dist/vue_ui_mood_radar-BA6LAKhk.js +0 -281
  502. package/dist/vue_ui_nested_donuts-B8csIoVO.js +0 -273
  503. package/dist/vue_ui_onion-1FTFFS46.js +0 -293
  504. package/dist/vue_ui_parallel_coordinate_plot-CBiOBira.js +0 -278
  505. package/dist/vue_ui_quadrant-CDSTKTJz.js +0 -428
  506. package/dist/vue_ui_quick_chart-DByCqSYE.js +0 -180
  507. package/dist/vue_ui_radar-jafTED5j.js +0 -306
  508. package/dist/vue_ui_relation_circle-D0p4mXmv.js +0 -98
  509. package/dist/vue_ui_ridgeline-VM8_mx4J.js +0 -767
  510. package/dist/vue_ui_rings-BVgD2aMn.js +0 -320
  511. package/dist/vue_ui_scatter-I0POnicu.js +0 -479
  512. package/dist/vue_ui_spark_trend-DxVmpkmC.js +0 -82
  513. package/dist/vue_ui_sparkbar-z6qO--Kf.js +0 -64
  514. package/dist/vue_ui_sparkgauge-BX1MS3bA.js +0 -90
  515. package/dist/vue_ui_sparkhistogram-BRgvKUH6.js +0 -123
  516. package/dist/vue_ui_sparkline-b9pEUyGF.js +0 -183
  517. package/dist/vue_ui_sparkstackbar-BOjuQnZd.js +0 -175
  518. package/dist/vue_ui_stackbar-DdjDL6aq.js +0 -491
  519. package/dist/vue_ui_stackline-Bh0RuInt.js +0 -539
  520. package/dist/vue_ui_strip_plot-BaHbnnwN.js +0 -308
  521. package/dist/vue_ui_table_heatmap-w8vx5k6f.js +0 -80
  522. package/dist/vue_ui_table_sparkline-DAbkUrNz.js +0 -124
  523. package/dist/vue_ui_thermometer-DxgqWKlE.js +0 -123
  524. package/dist/vue_ui_tiremarks-CdEPieWV.js +0 -122
  525. package/dist/vue_ui_treemap-DoEtkRN6.js +0 -328
  526. package/dist/vue_ui_vertical_bar-CP-MKz1j.js +0 -247
  527. package/dist/vue_ui_waffle-DE_DiSVP.js +0 -299
  528. package/dist/vue_ui_wheel-DZ_nR--t.js +0 -133
  529. package/dist/vue_ui_word_cloud-C-qIMNLu.js +0 -254
  530. package/dist/vue_ui_xy-CcJADijP.js +0 -614
  531. package/dist/vue_ui_xy_canvas-DrNSzYWq.js +0 -487
@@ -1,1097 +0,0 @@
1
- import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { $ as t, $t as n, D as r, Et as i, Gt as a, Rt as o, S as ee, Vt as s, X as c, at as te, et as ne, ft as re, i as ie, nt as ae, t as oe, tn as se, vt as ce, w as le, z as ue } from "./lib-TWIH5fGr.js";
3
- import { n as de, t as fe } from "./useHints-Dq_w2E8B.js";
4
- import { t as pe } from "./useConfig-DObkR9Aa.js";
5
- import { t as me } from "./usePrinter-8Y1Rju0Y.js";
6
- import { n as he, t as ge } from "./BaseScanner-Dzc8VT3j.js";
7
- import { t as _e } from "./useNestedProp-BxOdWM0c.js";
8
- import { t as ve } from "./useThemeCheck-C43Tcqmk.js";
9
- import { t as ye } from "./useChartExport-iwOqiIWX.js";
10
- import { t as be } from "./useTransitions-g_zBREk2.js";
11
- import { t as xe } from "./img-KURaWjZI.js";
12
- import { n as Se } from "./Title-Bd98RysU.js";
13
- import { t as Ce } from "./_plugin-vue_export-helper-B3ysoDQm.js";
14
- import { l as we, t as Te } from "./useResponsive-ZtArZtUf.js";
15
- import { t as Ee } from "./BaseLegendToggle-Doa5rYP2.js";
16
- import { t as De } from "./A11yDataTable-DdRsVULz.js";
17
- import { t as Oe } from "./useUserOptionState-DK-_1ddE.js";
18
- import { t as ke } from "./useChartAccessibility-DYqac8yF.js";
19
- import { t as Ae } from "./labelUtils-DShv2Mbg.js";
20
- import { t as je } from "./Legend-D9FGXIbQ.js";
21
- import { t as Me } from "./vue_ui_galaxy-Ig0cc1_h.js";
22
- import { Fragment as Ne, Teleport as Pe, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createSlots as Fe, createTextVNode as Ie, createVNode as Le, defineAsyncComponent as m, guardReactiveProps as h, mergeProps as Re, nextTick as ze, normalizeClass as g, normalizeProps as _, normalizeStyle as v, onMounted as Be, openBlock as y, ref as b, renderList as Ve, renderSlot as x, resolveDynamicComponent as He, toDisplayString as S, toRefs as Ue, unref as C, watch as We, withCtx as w } from "vue";
23
- //#region src/components/vue-ui-galaxy.vue
24
- var Ge = /* @__PURE__ */ e({ default: () => dt }), Ke = ["id"], qe = ["id"], Je = ["id"], Ye = { style: { position: "relative" } }, Xe = [
25
- "xmlns",
26
- "aria-describedby",
27
- "viewBox"
28
- ], Ze = ["width", "height"], Qe = ["id"], $e = ["stdDeviation"], et = [
29
- "d",
30
- "stroke",
31
- "stroke-width"
32
- ], tt = [
33
- "d",
34
- "stroke",
35
- "stroke-width"
36
- ], nt = ["filter"], rt = [
37
- "d",
38
- "stroke",
39
- "stroke-width"
40
- ], it = [
41
- "data-a11y-serie-id",
42
- "d",
43
- "stroke-width",
44
- "aria-label",
45
- "onMouseenter",
46
- "onMouseleave",
47
- "onClick"
48
- ], at = {
49
- key: 0,
50
- style: {
51
- position: "absolute",
52
- top: "100%",
53
- left: "0",
54
- width: "100%"
55
- },
56
- "data-dom-to-png-ignore": "",
57
- "aria-hidden": "true"
58
- }, ot = {
59
- key: 5,
60
- class: "vue-data-ui-watermark"
61
- }, st = ["id"], ct = ["onClick"], lt = { key: 0 }, ut = { key: 1 }, dt = /*#__PURE__*/ Ce({
62
- __name: "vue-ui-galaxy",
63
- props: {
64
- config: {
65
- type: Object,
66
- default() {
67
- return {};
68
- }
69
- },
70
- dataset: {
71
- type: Array,
72
- default() {
73
- return [];
74
- }
75
- }
76
- },
77
- emits: [
78
- "selectLegend",
79
- "selectDatapoint",
80
- "copyAlt"
81
- ],
82
- setup(e, { expose: Ce, emit: Ge }) {
83
- let dt = m(() => import("./Tooltip-DmQeI5WE.js")), ft = m(() => import("./BaseIcon-CIK6Sqo3.js").then((e) => e.n)), pt = m(() => import("./vue-ui-accordion-AyyZDab3.js").then((e) => e.n)), mt = m(() => import("./DataTable-B6LDCXBz.js")), ht = m(() => import("./PenAndPaper-C1EcBgJW.js").then((e) => e.t)), gt = m(() => import("./UserOptions-B_yBcZ1-.js").then((e) => e.n)), _t = m(() => import("./PackageVersion-CslTvFsC.js").then((e) => e.t)), vt = m(() => import("./BaseDraggableDialog-BCFCiP_6.js").then((e) => e.n)), { vue_ui_galaxy: yt } = pe(), { isThemeValid: bt, warnInvalidTheme: xt } = ve(), T = e, E = b(c()), D = b(null), St = b(!1), Ct = b(""), O = b(null), wt = b(0), Tt = b(0), Et = b(0), Dt = b(0), Ot = b(null), kt = b(null), At = b(null), jt = b(null), k = b(null), Mt = b(null), Nt = b(!1), A = b(null), Pt = b(null), j = b(null), Ft = b(null), It = b({
84
- x: 0,
85
- y: 0
86
- }), Lt = b("pointer"), Rt = b(!1), zt = l(() => !!T.dataset && T.dataset.length), M = b(Yt()), N = l(() => M.value.style.chart.layout.arcs), P = l(() => M.value.style.chart.layout), F = l(() => M.value.style.chart);
87
- de({
88
- config: () => M.value,
89
- dataset: () => T.dataset,
90
- component: "VueUiGalaxy",
91
- rules: [
92
- fe.singleSeries,
93
- fe.emptyArray,
94
- {
95
- test: (e) => e.length > 6,
96
- message: [
97
- "👀 The number of series is > 6. Consider:",
98
- "",
99
- "▶️ Grouping small values dynamically into a single \"Other\" series.",
100
- "",
101
- "▶️ Using filters to let users choose a maximum number of series to display.",
102
- "",
103
- "▶️ Using VueUiHorizontalBar instead to make the dataset breakdown easier to read."
104
- ]
105
- }
106
- ]
107
- });
108
- let { transitionEnabled: Bt } = be({
109
- config: () => M.value.transitions,
110
- dataset: () => T.dataset
111
- }), I = l(() => M.value.userOptions.useCursorPointer), Vt = l(() => se({
112
- defaultConfig: {
113
- userOptions: { show: !1 },
114
- table: { show: !1 },
115
- useCssAnimation: !1,
116
- style: { chart: {
117
- backgroundColor: "#99999930",
118
- legend: { backgroundColor: "transparent" }
119
- } }
120
- },
121
- userConfig: M.value.skeletonConfig ?? {}
122
- })), { loading: Ht, FINAL_DATASET: Ut } = he({
123
- ...Ue(T),
124
- FINAL_CONFIG: M,
125
- prepareConfig: Yt,
126
- callback: () => {
127
- Promise.resolve().then(async () => {
128
- await ze(), R.value.showTable = M.value.table.show;
129
- });
130
- },
131
- skeletonDataset: T.config?.skeletonDataset ?? [
132
- {
133
- name: "_",
134
- values: [21],
135
- color: "#DBDBDB"
136
- },
137
- {
138
- name: "_",
139
- values: [13],
140
- color: "#C4C4C4"
141
- },
142
- {
143
- name: "_",
144
- values: [8],
145
- color: "#ADADAD"
146
- }
147
- ],
148
- skeletonConfig: se({
149
- defaultConfig: M.value,
150
- userConfig: Vt.value
151
- })
152
- });
153
- Be(() => {
154
- Nt.value = !0, Gt();
155
- });
156
- let Wt = l(() => M.value.debug);
157
- function Gt() {
158
- if (o(T.dataset) ? te({
159
- componentName: "VueUiGalaxy",
160
- type: "dataset",
161
- debug: Wt.value
162
- }) : Wt.value && T.dataset.forEach((e, t) => {
163
- ce({
164
- datasetObject: e,
165
- requiredAttributes: ["name", "values"]
166
- }).forEach((e) => {
167
- te({
168
- componentName: "VueUiGalaxy",
169
- type: "datasetSerieAttribute",
170
- property: e,
171
- index: t
172
- });
173
- });
174
- }), M.value.responsive) {
175
- let e = we(() => {
176
- let { width: e, height: t } = Te({
177
- chart: D.value,
178
- title: F.value.title.text ? Ot.value : null,
179
- legend: F.value.legend.show ? kt.value : null,
180
- noTitle: jt.value,
181
- source: At.value
182
- });
183
- requestAnimationFrame(() => {
184
- z.value = Math.max(.1, e), B.value = Math.max(.1, t - 12);
185
- });
186
- });
187
- k.value && (Mt.value && k.value.unobserve(Mt.value), k.value.disconnect()), k.value = new ResizeObserver(e), Mt.value = D.value.parentNode, k.value.observe(Mt.value);
188
- }
189
- }
190
- let { userOptionsVisible: Kt, setUserOptionsVisibility: qt, keepUserOptionState: Jt } = Oe({ config: M.value }), { svgRef: L } = ke({ config: F.value.title });
191
- function Yt() {
192
- let e = _e({
193
- userConfig: T.config,
194
- defaultConfig: yt
195
- }), t = e.theme;
196
- if (!t) return e;
197
- if (!bt.value(e)) return xt(e), e;
198
- let r = _e({
199
- userConfig: Me[t] || T.config,
200
- defaultConfig: e
201
- }), i = _e({
202
- userConfig: T.config,
203
- defaultConfig: r
204
- });
205
- return {
206
- ...i,
207
- customPalette: i.customPalette.length ? i.customPalette : n[t] || s
208
- };
209
- }
210
- function Xt(e) {
211
- let t = ne(e);
212
- return t?.style?.chart && delete t.style.chart.tooltip, JSON.stringify(t);
213
- }
214
- let Zt = Xt(T.config);
215
- We(() => T.config, (e, t) => {
216
- let n = Xt(e), r = n !== Zt;
217
- Zt = n;
218
- let i = Yt();
219
- if (!r) {
220
- M.value.style.chart.tooltip = i.style.chart.tooltip, R.value.showTooltip = M.value.style.chart.tooltip.show;
221
- return;
222
- }
223
- M.value = i, Kt.value = !M.value.userOptions.showOnChartHover, Gt(), Tt.value += 1, Et.value += 1, Dt.value += 1, R.value.dataLabels.show = P.value.labels.dataLabels.show, R.value.showTable = M.value.table.show, R.value.showTooltip = F.value.tooltip.show;
224
- }, { deep: !0 });
225
- let { isPrinting: Qt, isImaging: $t, generatePdf: en, generateImage: tn } = me({
226
- elementId: `galaxy_${E.value}`,
227
- fileName: F.value.title.text || "vue-ui-galaxy",
228
- options: M.value.userOptions.print
229
- }), nn = l(() => M.value.userOptions.show && !F.value.title.text), rn = l(() => le(M.value.customPalette)), R = b({
230
- dataLabels: { show: P.value.labels.dataLabels.show },
231
- showTable: M.value.table.show,
232
- showTooltip: F.value.tooltip.show
233
- }), z = b(250), B = b(180), an = b(0), on = b(0), V = l(() => ({
234
- width: z.value,
235
- height: B.value,
236
- viewBox: `${an.value} ${on.value} ${z.value} ${B.value}`
237
- })), sn = Ge, H = b([]);
238
- function cn() {
239
- sn("selectLegend", K.value.map((e) => ({
240
- name: e.name,
241
- color: e.color,
242
- value: e.value
243
- })));
244
- }
245
- function ln() {
246
- H.value.length ? H.value = [] : J.value.forEach((e) => {
247
- H.value.push(e.id);
248
- }), cn();
249
- }
250
- function U(e) {
251
- H.value.includes(e.id) ? H.value = H.value.filter((t) => t !== e.id) : H.value.push(e.id), cn();
252
- }
253
- function un(e) {
254
- return W.value.length ? W.value.find((t) => t.name === e) || (Wt.value && console.warn(`VueUiGalaxy - Series name not found "${e}"`), null) : (Wt.value && console.warn("VueUiGalaxy - There are no series to show."), null);
255
- }
256
- function dn(e) {
257
- let t = un(e);
258
- t !== null && H.value.includes(t.id) && U({ id: t.id });
259
- }
260
- function fn(e) {
261
- let t = un(e);
262
- t !== null && (H.value.includes(t.id) || U({ id: t.id }));
263
- }
264
- let W = l(() => Ut.value.map((e, t) => ({
265
- name: e.name,
266
- color: ee(e.color) || rn.value[t] || s[t] || s[t % s.length],
267
- value: e.values ? a(e.values).reduce((e, t) => e + t, 0) : 0,
268
- absoluteValues: a(e.values),
269
- id: c()
270
- })).sort((e, t) => t.value - e.value).map((e, t) => ({
271
- ...e,
272
- absoluteIndex: t
273
- })));
274
- function pn() {
275
- return W.value.map((e) => ({
276
- name: e.name,
277
- color: e.color,
278
- value: e.value
279
- }));
280
- }
281
- let G = l(() => W.value.filter((e) => !H.value.includes(e.id)).map((e) => e.value).reduce((e, t) => e + t, 0)), mn = b(190), hn = l(() => W.value.filter((e) => !H.value.includes(e.id))), gn = l(() => (N.value.strokeWidth + N.value.borderWidth) / 2 + (P.value.padding ?? 12)), _n = l(() => ue({
282
- maxPoints: mn.value,
283
- a: N.value.a ?? 6,
284
- b: N.value.b ?? 6,
285
- angleStep: N.value.angleStep ?? .07,
286
- startX: V.value.width / 2 + N.value.offsetX,
287
- startY: V.value.height / 2 + N.value.offsetY,
288
- boxWidth: V.value.width,
289
- boxHeight: V.value.height,
290
- padding: gn.value
291
- })), K = l(() => {
292
- let e = [];
293
- for (let t = 0; t < hn.value.length; t += 1) {
294
- let n = hn.value[t], r = n.value / G.value * mn.value + (t > 0 && e.length ? e[t - 1].points : 0);
295
- e.push({
296
- points: r,
297
- ...n,
298
- seriesIndex: t,
299
- proportion: n.value / G.value,
300
- path: _n.value(r)
301
- });
302
- }
303
- return e.filter((e) => !H.value.includes(e.id)).toSorted((e, t) => t.points - e.points);
304
- });
305
- function vn(e) {
306
- let t = Math.min(z.value, B.value), n = O.value === e.id && N.value.hoverEffect.show ? N.value.hoverEffect.multiplicator : 1, r = (N.value.strokeWidth + N.value.borderWidth) * n, i = N.value.strokeWidth * n, a = N.value.strokeWidth / 2 * n;
307
- return {
308
- border: r / 180 * t,
309
- path: i / 180 * t,
310
- blur: a / 180 * t
311
- };
312
- }
313
- let q = b(!1);
314
- function yn(e) {
315
- q.value = e, wt.value += 1;
316
- }
317
- let bn = b(null);
318
- function xn() {
319
- St.value = !1, O.value = null, j.value = null, Ft.value = null;
320
- }
321
- function Sn(e) {
322
- if (!L.value || !e) return;
323
- let t = L.value.querySelector(`[data-a11y-serie-id="${e}"]`);
324
- if (!t) return;
325
- let n = t.getBoundingClientRect();
326
- It.value = {
327
- x: n.left + n.width / 2,
328
- y: n.top + n.height / 2
329
- };
330
- }
331
- function Cn(e) {
332
- M.value.events.datapointLeave && M.value.events.datapointLeave({
333
- datapoint: e,
334
- seriesIndex: e.absoluteIndex
335
- }), (Ft.value !== e.id || Lt.value !== "keyboard") && (St.value = !1, O.value = null);
336
- }
337
- function wn(e) {
338
- sn("selectDatapoint", e), M.value.events.datapointClick && M.value.events.datapointClick({
339
- datapoint: e,
340
- seriesIndex: e.absoluteIndex
341
- });
342
- }
343
- function Tn({ val: e, percentage: t, showVal: n, showPercentage: r }) {
344
- let i = P.value.labels.dataLabels;
345
- return Ae({
346
- config: i,
347
- val: e,
348
- percentage: t,
349
- showVal: n,
350
- showPercentage: r
351
- });
352
- }
353
- function En({ datapoint: e, _relativeIndex: n, seriesIndex: r, show: a = !1, triggerMode: o = "pointer", flatIndex: ee = null }) {
354
- if (M.value.events.datapointEnter && M.value.events.datapointEnter({
355
- datapoint: e,
356
- seriesIndex: e.absoluteIndex
357
- }), !R.value.showTooltip) return;
358
- Lt.value = o, j.value = ee, Ft.value = e.id, bn.value = {
359
- datapoint: e,
360
- seriesIndex: r,
361
- series: W.value,
362
- config: M.value
363
- }, St.value = a, O.value = e.id;
364
- let s = "", c = F.value.tooltip.customFormat;
365
- i(c) && re(() => c({
366
- seriesIndex: r,
367
- datapoint: e,
368
- series: W.value,
369
- config: M.value
370
- })) ? Ct.value = c({
371
- seriesIndex: r,
372
- datapoint: e,
373
- series: W.value,
374
- config: M.value
375
- }) : (s += `<div style="width:100%;text-align:center;border-bottom:1px solid ${F.value.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>${Tn({
376
- showVal: F.value.tooltip.showValue,
377
- showPercentage: F.value.tooltip.showPercentage,
378
- val: ie(P.value.labels.dataLabels.formatter, e.value, t({
379
- p: P.value.labels.dataLabels.prefix,
380
- v: e.value,
381
- s: P.value.labels.dataLabels.suffix,
382
- r: F.value.tooltip.roundingValue
383
- }), {
384
- datapoint: e,
385
- seriesIndex: r
386
- }),
387
- percentage: t({
388
- v: e.proportion * 100,
389
- s: "%",
390
- r: F.value.tooltip.roundingPercentage
391
- })
392
- })}</b></div>`, Ct.value = `<div>${s}</div>`), o === "keyboard" && ze(() => {
393
- Sn(e.id);
394
- });
395
- }
396
- let J = l(() => W.value.map((e, n) => {
397
- let r = ie(P.value.labels.dataLabels.formatter, e.value, t({
398
- p: P.value.labels.dataLabels.prefix,
399
- v: e.value,
400
- s: P.value.labels.dataLabels.suffix,
401
- r: F.value.legend.roundingValue
402
- }), {
403
- datapoint: e,
404
- index: n
405
- }), i = isNaN(e.value / G.value) || H.value.includes(e.id) ? "-" : t({
406
- v: e.value / G.value * 100,
407
- s: "%",
408
- r: F.value.legend.roundingPercentage
409
- }), a = Tn({
410
- showVal: F.value.legend.showValue,
411
- showPercentage: F.value.legend.showPercentage,
412
- val: r,
413
- percentage: i
414
- });
415
- return {
416
- ...e,
417
- proportion: (e.value || 0) / Ut.value.map((e) => (e.values || []).reduce((e, t) => e + t, 0)).reduce((e, t) => e + t, 0),
418
- opacity: H.value.includes(e.id) ? .5 : 1,
419
- shape: e.shape || "circle",
420
- segregate: () => U(e),
421
- isSegregated: H.value.includes(e.id),
422
- display: `${e.name}${F.value.legend.showPercentage || F.value.legend.showValue ? ": " : ""}${a}`
423
- };
424
- })), Dn = l(() => ({
425
- cy: "galaxy-div-legend",
426
- backgroundColor: F.value.legend.backgroundColor,
427
- color: F.value.legend.color,
428
- fontSize: F.value.legend.fontSize,
429
- paddingBottom: 12,
430
- fontWeight: F.value.legend.bold ? "bold" : ""
431
- })), Y = l(() => ({
432
- head: K.value.map((e) => ({
433
- name: e.name,
434
- color: e.color
435
- })),
436
- body: K.value.map((e) => e.value)
437
- }));
438
- function On(e = null) {
439
- ze(() => {
440
- let t = Y.value.head.map((e, t) => [
441
- [e.name],
442
- [Y.value.body[t]],
443
- [isNaN(Y.value.body[t] / G.value) ? "-" : Y.value.body[t] / G.value * 100]
444
- ]), n = [
445
- [F.value.title.text],
446
- [F.value.title.subtitle.text],
447
- [
448
- [""],
449
- ["val"],
450
- ["%"]
451
- ]
452
- ].concat(t), i = r(n);
453
- e ? e(i) : ae({
454
- csvContent: i,
455
- title: F.value.title.text || "vue-ui-galaxy"
456
- });
457
- });
458
- }
459
- let X = l(() => {
460
- let e = [
461
- "__SUM__",
462
- t({
463
- p: P.value.labels.dataLabels.prefix,
464
- v: G.value,
465
- s: P.value.labels.dataLabels.suffix,
466
- r: M.value.table.td.roundingValue
467
- }),
468
- "100%"
469
- ], n = Y.value.head.map((e, n) => {
470
- let r = t({
471
- p: P.value.labels.dataLabels.prefix,
472
- v: Y.value.body[n],
473
- s: P.value.labels.dataLabels.suffix,
474
- r: M.value.table.td.roundingValue
475
- });
476
- return [
477
- {
478
- color: e.color,
479
- name: e.name
480
- },
481
- r,
482
- isNaN(Y.value.body[n] / G.value) ? "-" : t({
483
- v: Y.value.body[n] / G.value * 100,
484
- s: "%",
485
- r: M.value.table.td.roundingPercentage
486
- })
487
- ];
488
- }), r = {
489
- th: {
490
- backgroundColor: M.value.table.th.backgroundColor,
491
- color: M.value.table.th.color,
492
- outline: M.value.table.th.outline
493
- },
494
- td: {
495
- backgroundColor: M.value.table.td.backgroundColor,
496
- color: M.value.table.td.color,
497
- outline: M.value.table.td.outline
498
- },
499
- breakpoint: M.value.table.responsiveBreakpoint
500
- };
501
- return {
502
- colNames: [
503
- M.value.table.columnNames.series,
504
- M.value.table.columnNames.value,
505
- M.value.table.columnNames.percentage
506
- ],
507
- head: e,
508
- body: n,
509
- config: r
510
- };
511
- });
512
- function kn() {
513
- R.value.showTable = !R.value.showTable;
514
- }
515
- function An() {
516
- R.value.showTooltip = !R.value.showTooltip;
517
- }
518
- let Z = b(!1);
519
- function jn() {
520
- Z.value = !Z.value;
521
- }
522
- async function Mn({ scale: e = 2 } = {}) {
523
- if (!D.value) return;
524
- let { width: t, height: n } = D.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await xe({
525
- domElement: D.value,
526
- base64: !0,
527
- img: !0,
528
- scale: e
529
- });
530
- return {
531
- imageUri: i,
532
- base64: a,
533
- title: F.value.title.text,
534
- width: t,
535
- height: n,
536
- aspectRatio: r
537
- };
538
- }
539
- let Q = l(() => {
540
- let e = M.value.table.useDialog && !M.value.table.show, t = R.value.showTable;
541
- return {
542
- component: e ? vt : pt,
543
- title: `${F.value.title.text}${F.value.title.subtitle.text ? `: ${F.value.title.subtitle.text}` : ""}`,
544
- props: e ? {
545
- backgroundColor: M.value.table.th.backgroundColor,
546
- color: M.value.table.th.color,
547
- headerColor: M.value.table.th.color,
548
- headerBg: M.value.table.th.backgroundColor,
549
- isFullscreen: q.value,
550
- fullscreenParent: D.value,
551
- forcedWidth: Math.min(500, window.innerWidth * .8),
552
- isCursorPointer: I.value
553
- } : {
554
- hideDetails: !0,
555
- config: {
556
- open: t,
557
- maxHeight: 1e4,
558
- body: {
559
- backgroundColor: F.value.backgroundColor,
560
- color: F.value.color
561
- },
562
- head: {
563
- backgroundColor: F.value.backgroundColor,
564
- color: F.value.color
565
- }
566
- }
567
- }
568
- };
569
- });
570
- We(() => R.value.showTable, (e) => {
571
- M.value.table.show || (e && M.value.table.useDialog && A.value ? A.value.open() : "close" in A.value && A.value.close());
572
- });
573
- function Nn() {
574
- R.value.showTable = !1, Pt.value && Pt.value.setTableIconState(!1);
575
- }
576
- let Pn = l(() => J.value.map((e) => ({
577
- ...e,
578
- name: e.display
579
- }))), Fn = l(() => F.value.backgroundColor), In = l(() => F.value.legend), Ln = l(() => F.value.title), { isCallbackImaging: Rn, isCallbackSvg: zn, generateSvg: Bn, onGenerateImage: Vn } = ye({
580
- svg: L,
581
- title: Ln,
582
- legend: In,
583
- legendItems: Pn,
584
- backgroundColor: Fn,
585
- getSvgCallback: () => M.value.userOptions.callbacks.svg,
586
- generateImage: tn
587
- });
588
- async function Hn() {
589
- if (sn("copyAlt", {
590
- config: M.value,
591
- dataset: W.value
592
- }), !M.value.userOptions.callbacks.altCopy) {
593
- console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
594
- return;
595
- }
596
- await Promise.resolve(M.value.userOptions.callbacks.altCopy({
597
- config: M.value,
598
- dataset: W.value
599
- }));
600
- }
601
- function Un() {
602
- j.value = null, Ft.value = null, Rt.value = !0;
603
- }
604
- function Wn() {
605
- xn(), Rt.value = !1;
606
- }
607
- function Gn(e) {
608
- if (!L.value || Z.value || document.activeElement !== L.value || !$.value.length) return;
609
- 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";
610
- if (!t && !n && !r && !i) return;
611
- if (e.preventDefault(), e.stopPropagation(), i) {
612
- xn();
613
- return;
614
- }
615
- if (r) {
616
- if (j.value === null) return;
617
- let e = $.value[j.value];
618
- if (!e) return;
619
- wn(e.datapoint);
620
- return;
621
- }
622
- let a = j.value;
623
- 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));
624
- let o = $.value[a];
625
- o && En({
626
- datapoint: o.datapoint,
627
- seriesIndex: o.datapoint.seriesIndex,
628
- show: !0,
629
- triggerMode: "keyboard",
630
- flatIndex: a
631
- });
632
- }
633
- let Kn = l(() => ({
634
- headers: X.value?.colNames ?? [],
635
- rows: X.value?.body ?? []
636
- })), $ = l(() => K.value.map((e, t) => ({
637
- datapoint: e,
638
- index: t
639
- })));
640
- return Ce({
641
- getData: pn,
642
- getImage: Mn,
643
- generatePdf: en,
644
- generateCsv: On,
645
- generateImage: tn,
646
- generateSvg: Bn,
647
- hideSeries: fn,
648
- showSeries: dn,
649
- toggleTable: kn,
650
- toggleTooltip: An,
651
- toggleAnnotator: jn,
652
- toggleFullscreen: yn,
653
- copyAlt: Hn
654
- }), (e, n) => (y(), f("div", {
655
- ref_key: "galaxyChart",
656
- ref: D,
657
- class: g(`vue-data-ui-component vue-ui-galaxy ${q.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${M.value.useCssAnimation ? "" : "vue-ui-dna"} ${C(Ht) ? "loading" : ""}`),
658
- style: v(`font-family:${M.value.style.fontFamily};width:100%; text-align:center;${F.value.title.text ? "" : "padding-top:36px"};background:${F.value.backgroundColor}`),
659
- id: `galaxy_${E.value}`,
660
- onMouseenter: n[2] ||= () => C(qt)(!0),
661
- onMouseleave: n[3] ||= () => {
662
- C(qt)(!1), Rt.value || xn();
663
- }
664
- }, [
665
- p("div", {
666
- id: `chart-instructions-${E.value}`,
667
- class: "sr-only"
668
- }, [p("p", null, S(M.value.a11y.translations.keyboardNavigation), 1)], 8, qe),
669
- Kn.value?.rows?.length ? (y(), u(De, {
670
- key: 0,
671
- uid: E.value,
672
- head: Kn.value.headers,
673
- body: Kn.value.rows,
674
- notice: M.value.a11y.translations.tableAvailable,
675
- caption: M.value.a11y.translations.tableCaption
676
- }, null, 8, [
677
- "uid",
678
- "head",
679
- "body",
680
- "notice",
681
- "caption"
682
- ])) : d("", !0),
683
- M.value.userOptions.buttons.annotator ? (y(), u(C(ht), {
684
- key: 1,
685
- svgRef: C(L),
686
- backgroundColor: F.value.backgroundColor,
687
- color: F.value.color,
688
- active: Z.value,
689
- isCursorPointer: I.value,
690
- palette: M.value.userOptions.annotatorPalette,
691
- onClose: jn
692
- }, {
693
- "annotator-action-close": w(() => [x(e.$slots, "annotator-action-close", {}, void 0, !0)]),
694
- "annotator-action-color": w(({ color: t }) => [x(e.$slots, "annotator-action-color", _(h({ color: t })), void 0, !0)]),
695
- "annotator-action-draw": w(({ mode: t }) => [x(e.$slots, "annotator-action-draw", _(h({ mode: t })), void 0, !0)]),
696
- "annotator-action-undo": w(({ disabled: t }) => [x(e.$slots, "annotator-action-undo", _(h({ disabled: t })), void 0, !0)]),
697
- "annotator-action-redo": w(({ disabled: t }) => [x(e.$slots, "annotator-action-redo", _(h({ disabled: t })), void 0, !0)]),
698
- "annotator-action-delete": w(({ disabled: t }) => [x(e.$slots, "annotator-action-delete", _(h({ disabled: t })), void 0, !0)]),
699
- _: 3
700
- }, 8, [
701
- "svgRef",
702
- "backgroundColor",
703
- "color",
704
- "active",
705
- "isCursorPointer",
706
- "palette"
707
- ])) : d("", !0),
708
- nn.value ? (y(), f("div", {
709
- key: 2,
710
- ref_key: "noTitle",
711
- ref: jt,
712
- class: "vue-data-ui-no-title-space",
713
- style: "height:36px; width: 100%;background:transparent"
714
- }, null, 512)) : d("", !0),
715
- F.value.title.text ? (y(), f("div", {
716
- key: 3,
717
- ref_key: "chartTitle",
718
- ref: Ot,
719
- style: "width:100%;background:transparent;padding-bottom:24px"
720
- }, [(y(), u(Se, {
721
- key: `title_${Tt.value}`,
722
- config: {
723
- title: {
724
- cy: "galaxy-div-title",
725
- ...F.value.title
726
- },
727
- subtitle: {
728
- cy: "galaxy-div-subtitle",
729
- ...F.value.title.subtitle
730
- }
731
- }
732
- }, null, 8, ["config"]))], 512)) : d("", !0),
733
- p("div", { id: `legend-top-${E.value}` }, null, 8, Je),
734
- M.value.userOptions.show && zt.value && (C(Jt) || C(Kt)) ? (y(), u(C(gt), {
735
- ref_key: "userOptionsRef",
736
- ref: Pt,
737
- key: `user_option_${wt.value}`,
738
- backgroundColor: F.value.backgroundColor,
739
- color: F.value.color,
740
- isPrinting: C(Qt),
741
- isImaging: C($t),
742
- uid: E.value,
743
- hasTooltip: M.value.userOptions.buttons.tooltip && F.value.tooltip.show,
744
- hasPdf: M.value.userOptions.buttons.pdf,
745
- hasXls: M.value.userOptions.buttons.csv,
746
- hasImg: M.value.userOptions.buttons.img,
747
- hasSvg: M.value.userOptions.buttons.svg,
748
- hasTable: M.value.userOptions.buttons.table,
749
- hasFullscreen: M.value.userOptions.buttons.fullscreen,
750
- hasAltCopy: M.value.userOptions.buttons.altCopy,
751
- isTooltip: R.value.showTooltip,
752
- isFullscreen: q.value,
753
- titles: { ...M.value.userOptions.buttonTitles },
754
- chartElement: D.value,
755
- position: M.value.userOptions.position,
756
- hasAnnotator: M.value.userOptions.buttons.annotator,
757
- isAnnotation: Z.value,
758
- callbacks: M.value.userOptions.callbacks,
759
- printScale: M.value.userOptions.print.scale,
760
- tableDialog: M.value.table.useDialog,
761
- isCursorPointer: I.value,
762
- onToggleFullscreen: yn,
763
- onGeneratePdf: C(en),
764
- onGenerateCsv: On,
765
- onGenerateImage: C(Vn),
766
- onGenerateSvg: C(Bn),
767
- onToggleTable: kn,
768
- onToggleTooltip: An,
769
- onToggleAnnotator: jn,
770
- onCopyAlt: Hn,
771
- style: v({ visibility: C(Jt) ? C(Kt) ? "visible" : "hidden" : "visible" })
772
- }, Fe({ _: 2 }, [
773
- e.$slots.menuIcon ? {
774
- name: "menuIcon",
775
- fn: w(({ isOpen: t, color: n }) => [x(e.$slots, "menuIcon", _(h({
776
- isOpen: t,
777
- color: n
778
- })), void 0, !0)]),
779
- key: "0"
780
- } : void 0,
781
- e.$slots.optionTooltip ? {
782
- name: "optionTooltip",
783
- fn: w(() => [x(e.$slots, "optionTooltip", {}, void 0, !0)]),
784
- key: "1"
785
- } : void 0,
786
- e.$slots.optionPdf ? {
787
- name: "optionPdf",
788
- fn: w(() => [x(e.$slots, "optionPdf", {}, void 0, !0)]),
789
- key: "2"
790
- } : void 0,
791
- e.$slots.optionCsv ? {
792
- name: "optionCsv",
793
- fn: w(() => [x(e.$slots, "optionCsv", {}, void 0, !0)]),
794
- key: "3"
795
- } : void 0,
796
- e.$slots.optionImg ? {
797
- name: "optionImg",
798
- fn: w(() => [x(e.$slots, "optionImg", {}, void 0, !0)]),
799
- key: "4"
800
- } : void 0,
801
- e.$slots.optionSvg ? {
802
- name: "optionSvg",
803
- fn: w(() => [x(e.$slots, "optionSvg", {}, void 0, !0)]),
804
- key: "5"
805
- } : void 0,
806
- e.$slots.optionTable ? {
807
- name: "optionTable",
808
- fn: w(() => [x(e.$slots, "optionTable", {}, void 0, !0)]),
809
- key: "6"
810
- } : void 0,
811
- e.$slots.optionFullscreen ? {
812
- name: "optionFullscreen",
813
- fn: w(({ toggleFullscreen: t, isFullscreen: n }) => [x(e.$slots, "optionFullscreen", _(h({
814
- toggleFullscreen: t,
815
- isFullscreen: n
816
- })), void 0, !0)]),
817
- key: "7"
818
- } : void 0,
819
- e.$slots.optionAnnotator ? {
820
- name: "optionAnnotator",
821
- fn: w(({ toggleAnnotator: t, isAnnotator: n }) => [x(e.$slots, "optionAnnotator", _(h({
822
- toggleAnnotator: t,
823
- isAnnotator: n
824
- })), void 0, !0)]),
825
- key: "8"
826
- } : void 0,
827
- e.$slots.optionAltCopy ? {
828
- name: "optionAltCopy",
829
- fn: w(({ altCopy: t }) => [x(e.$slots, "optionAltCopy", _(h({ altCopy: t })), void 0, !0)]),
830
- key: "9"
831
- } : void 0,
832
- e.$slots["custom-menu-before"] ? {
833
- name: "custom-menu-before",
834
- fn: w(() => [x(e.$slots, "custom-menu-before", {}, void 0, !0)]),
835
- key: "10"
836
- } : void 0,
837
- e.$slots["custom-menu-after"] ? {
838
- name: "custom-menu-after",
839
- fn: w(() => [x(e.$slots, "custom-menu-after", {}, void 0, !0)]),
840
- key: "11"
841
- } : void 0
842
- ]), 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.onGenerateImage.onGenerateSvg.style".split("."))) : d("", !0),
843
- p("div", Ye, [(y(), f("svg", {
844
- ref_key: "svgRef",
845
- ref: L,
846
- xmlns: C(oe),
847
- "aria-describedby": `chart-instructions-${E.value}`,
848
- class: g({
849
- "vue-data-ui-fullscreen--on": q.value,
850
- "vue-data-ui-fulscreen--off": !q.value
851
- }),
852
- viewBox: V.value.viewBox,
853
- style: v(`max-width:100%; overflow: visible; background:transparent;color:${F.value.color}`),
854
- tabindex: "0",
855
- onFocus: Un,
856
- onBlur: Wn,
857
- onKeydown: Gn
858
- }, [
859
- Le(C(_t)),
860
- e.$slots["chart-background"] ? (y(), f("foreignObject", {
861
- key: 0,
862
- x: 0,
863
- y: 0,
864
- width: V.value.width,
865
- height: V.value.height,
866
- style: { pointerEvents: "none" }
867
- }, [x(e.$slots, "chart-background", {}, void 0, !0)], 8, Ze)) : d("", !0),
868
- p("defs", null, [p("filter", {
869
- id: `blur_${E.value}`,
870
- x: "-50%",
871
- y: "-50%",
872
- width: "200%",
873
- height: "200%"
874
- }, [p("feGaussianBlur", {
875
- in: "SourceGraphic",
876
- stdDeviation: 100 / N.value.gradient.intensity
877
- }, null, 8, $e)], 8, Qe)]),
878
- (y(!0), f(Ne, null, Ve(K.value, (e) => (y(), f("g", { key: `dp_${e.id}` }, [
879
- e.value ? (y(), f("path", {
880
- key: 0,
881
- d: e.path,
882
- fill: "none",
883
- stroke: F.value.backgroundColor,
884
- "stroke-width": vn(e).border,
885
- class: g({ "vue-data-ui-transition": C(Bt) }),
886
- "stroke-linecap": "round"
887
- }, null, 10, et)) : d("", !0),
888
- e.value ? (y(), f("path", {
889
- key: 1,
890
- d: e.path,
891
- fill: "none",
892
- stroke: e.color,
893
- "stroke-width": vn(e).path,
894
- "stroke-linecap": "round",
895
- class: g({
896
- "vue-data-ui-transition": C(Bt),
897
- "vue-ui-galaxy-blur": O.value && O.value !== e.id && M.value.useBlurOnHover
898
- })
899
- }, null, 10, tt)) : d("", !0),
900
- e.value && N.value.gradient.show ? (y(), f("g", {
901
- key: 2,
902
- filter: `url(#blur_${E.value})`
903
- }, [p("path", {
904
- d: e.path,
905
- fill: "none",
906
- stroke: N.value.gradient.color,
907
- "stroke-width": vn(e).blur,
908
- "stroke-linecap": "round",
909
- class: g({
910
- "vue-ui-galaxy-gradient": !0,
911
- "vue-data-ui-transition": C(Bt),
912
- "vue-ui-galaxy-blur": O.value && O.value !== e.id && M.value.useBlurOnHover
913
- })
914
- }, null, 10, rt)], 8, nt)) : d("", !0)
915
- ]))), 128)),
916
- (y(!0), f(Ne, null, Ve(K.value, (e, n) => (y(), f("g", null, [e.value ? (y(), f("path", {
917
- key: 0,
918
- "data-a11y-serie-id": e.id,
919
- d: e.path,
920
- fill: "none",
921
- stroke: "transparent",
922
- "stroke-width": N.value.strokeWidth + N.value.borderWidth,
923
- "stroke-linecap": "round",
924
- "aria-label": `${e.name}: ${C(t)({
925
- p: P.value.labels.dataLabels.prefix,
926
- v: e.value,
927
- s: P.value.labels.dataLabels.suffix,
928
- r: F.value.tooltip.roundingValue
929
- })}`,
930
- onMouseenter: (t) => En({
931
- datapoint: e,
932
- relativeIndex: n,
933
- seriesIndex: e.seriesIndex,
934
- show: !0,
935
- triggerMode: "pointer",
936
- flatIndex: n
937
- }),
938
- onMouseleave: (t) => Cn(e),
939
- onClick: (t) => wn(e)
940
- }, null, 40, it)) : d("", !0)]))), 256)),
941
- x(e.$slots, "svg", { svg: {
942
- ...V.value,
943
- isPrintingImg: C(Qt) || C($t) || C(Rn),
944
- isPrintingSvg: C(zn)
945
- } }, void 0, !0)
946
- ], 46, Xe)), e.$slots.hint ? (y(), f("div", at, [x(e.$slots, "hint", _(h({
947
- hint: M.value.a11y.translations.keyboardNavigation,
948
- isVisible: Rt.value
949
- })), void 0, !0)])) : d("", !0)]),
950
- e.$slots.watermark ? (y(), f("div", ot, [x(e.$slots, "watermark", _(h({ isPrinting: C(Qt) || C($t) || C(Rn) || C(zn) })), void 0, !0)])) : d("", !0),
951
- p("div", { id: `legend-bottom-${E.value}` }, null, 8, st),
952
- Nt.value && (F.value.legend.show || e.$slots.legend) ? (y(), u(Pe, {
953
- key: 6,
954
- to: F.value.legend.position === "top" ? `#legend-top-${E.value}` : `#legend-bottom-${E.value}`
955
- }, [p("div", {
956
- ref_key: "chartLegend",
957
- ref: kt
958
- }, [x(e.$slots, "legend", { legend: J.value }, () => [F.value.legend.show ? (y(), u(je, {
959
- key: `legend_${Dt.value}`,
960
- legendSet: J.value,
961
- config: Dn.value,
962
- onClickMarker: n[0] ||= ({ legend: e }) => U(e)
963
- }, {
964
- item: w(({ legend: e, index: t }) => [C(Ht) ? d("", !0) : (y(), f("div", {
965
- key: 0,
966
- onClick: (t) => U(e),
967
- style: v(`opacity:${H.value.includes(e.id) ? .5 : 1}`)
968
- }, S(e.display), 13, ct))]),
969
- legendToggle: w(() => [J.value.length > 2 && F.value.legend.selectAllToggle.show && !C(Ht) ? (y(), u(Ee, {
970
- key: 0,
971
- backgroundColor: F.value.legend.selectAllToggle.backgroundColor,
972
- color: F.value.legend.selectAllToggle.color,
973
- fontSize: F.value.legend.fontSize,
974
- checked: H.value.length > 0,
975
- onToggle: ln
976
- }, null, 8, [
977
- "backgroundColor",
978
- "color",
979
- "fontSize",
980
- "checked"
981
- ])) : d("", !0)]),
982
- _: 1
983
- }, 8, ["legendSet", "config"])) : d("", !0)], !0)], 512)], 8, ["to"])) : d("", !0),
984
- e.$slots.source ? (y(), f("div", {
985
- key: 7,
986
- ref_key: "source",
987
- ref: At,
988
- dir: "auto"
989
- }, [x(e.$slots, "source", {}, void 0, !0)], 512)) : d("", !0),
990
- Le(C(dt), {
991
- teleportTo: F.value.tooltip.teleportTo,
992
- show: R.value.showTooltip && St.value,
993
- backgroundColor: F.value.tooltip.backgroundColor,
994
- color: F.value.tooltip.color,
995
- borderRadius: F.value.tooltip.borderRadius,
996
- borderColor: F.value.tooltip.borderColor,
997
- borderWidth: F.value.tooltip.borderWidth,
998
- fontSize: F.value.tooltip.fontSize,
999
- backgroundOpacity: F.value.tooltip.backgroundOpacity,
1000
- position: F.value.tooltip.position,
1001
- offsetX: F.value.tooltip.offsetX,
1002
- offsetY: F.value.tooltip.offsetY,
1003
- parent: D.value,
1004
- content: Ct.value,
1005
- isFullscreen: q.value,
1006
- isCustom: C(i)(F.value.tooltip.customFormat),
1007
- smooth: F.value.tooltip.smooth,
1008
- backdropFilter: F.value.tooltip.backdropFilter,
1009
- smoothForce: F.value.tooltip.smoothForce,
1010
- smoothSnapThreshold: F.value.tooltip.smoothSnapThreshold,
1011
- isA11yMode: Lt.value === "keyboard",
1012
- a11yPosition: It.value
1013
- }, {
1014
- "tooltip-before": w(() => [x(e.$slots, "tooltip-before", _(h({ ...bn.value })), void 0, !0)]),
1015
- tooltip: w(() => [x(e.$slots, "tooltip", _(h({ ...bn.value })), void 0, !0)]),
1016
- "tooltip-after": w(() => [x(e.$slots, "tooltip-after", _(h({ ...bn.value })), void 0, !0)]),
1017
- _: 3
1018
- }, 8, [
1019
- "teleportTo",
1020
- "show",
1021
- "backgroundColor",
1022
- "color",
1023
- "borderRadius",
1024
- "borderColor",
1025
- "borderWidth",
1026
- "fontSize",
1027
- "backgroundOpacity",
1028
- "position",
1029
- "offsetX",
1030
- "offsetY",
1031
- "parent",
1032
- "content",
1033
- "isFullscreen",
1034
- "isCustom",
1035
- "smooth",
1036
- "backdropFilter",
1037
- "smoothForce",
1038
- "smoothSnapThreshold",
1039
- "isA11yMode",
1040
- "a11yPosition"
1041
- ]),
1042
- zt.value && M.value.userOptions.buttons.table ? (y(), u(He(Q.value.component), Re({ key: 8 }, Q.value.props, {
1043
- ref_key: "tableUnit",
1044
- ref: A,
1045
- onClose: Nn
1046
- }), Fe({
1047
- content: w(() => [(y(), u(C(mt), {
1048
- key: `table_${Et.value}`,
1049
- colNames: X.value.colNames,
1050
- head: X.value.head,
1051
- body: X.value.body,
1052
- config: X.value.config,
1053
- title: M.value.table.useDialog ? "" : Q.value.title,
1054
- withCloseButton: !M.value.table.useDialog,
1055
- isCursorPointer: I.value,
1056
- onClose: Nn
1057
- }, {
1058
- th: w(({ th: e }) => [e === "__SUM__" ? (y(), f("div", lt, [Le(C(ft), {
1059
- name: "sigma",
1060
- stroke: X.value.config.th.color,
1061
- size: 16
1062
- }, null, 8, ["stroke"])])) : (y(), f("div", ut, S(e), 1))]),
1063
- td: w(({ td: e }) => [Ie(S(e.name || e), 1)]),
1064
- _: 1
1065
- }, 8, [
1066
- "colNames",
1067
- "head",
1068
- "body",
1069
- "config",
1070
- "title",
1071
- "withCloseButton",
1072
- "isCursorPointer"
1073
- ]))]),
1074
- _: 2
1075
- }, [M.value.table.useDialog ? {
1076
- name: "title",
1077
- fn: w(() => [Ie(S(Q.value.title), 1)]),
1078
- key: "0"
1079
- } : void 0, M.value.table.useDialog ? {
1080
- name: "actions",
1081
- fn: w(() => [p("button", {
1082
- tabindex: "0",
1083
- class: "vue-ui-user-options-button",
1084
- onClick: n[1] ||= (e) => On(M.value.userOptions.callbacks.csv),
1085
- style: v({ cursor: I.value ? "pointer" : "default" })
1086
- }, [Le(C(ft), {
1087
- name: "fileCsv",
1088
- stroke: Q.value.props.color
1089
- }, null, 8, ["stroke"])], 4)]),
1090
- key: "1"
1091
- } : void 0]), 1040)) : d("", !0),
1092
- x(e.$slots, "skeleton", {}, () => [C(Ht) ? (y(), u(ge, { key: 0 })) : d("", !0)], !0)
1093
- ], 46, Ke));
1094
- }
1095
- }, [["__scopeId", "data-v-d02837da"]]);
1096
- //#endregion
1097
- export { Ge as n, dt as t };