vue-data-ui 3.17.13 → 3.18.0

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