vue-data-ui 3.28.0 → 3.28.1

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 (256) hide show
  1. package/README.md +89 -63
  2. package/dist/{Arrow-D6OAn5rm.js → Arrow-CITPKnWF.js} +1 -1
  3. package/dist/{BaseDraggableDialog-Bw_azO0n.js → BaseDraggableDialog-DHgIPVmz.js} +1 -1
  4. package/dist/{BaseIcon-DDctLkeT.js → BaseIcon-Cm-IJ179.js} +1 -1
  5. package/dist/{BaseLegendToggle-BOcw1ke8.js → BaseLegendToggle-Q3TiW9u1.js} +1 -1
  6. package/dist/{BaseZoomControls-Cq5AOHQ0.js → BaseZoomControls-ByS_7fmI.js} +1 -1
  7. package/dist/{ColorPicker-DHQvvLT9.js → ColorPicker-Dmus34hN.js} +1 -1
  8. package/dist/{DataTable-BcVZLSs8.js → DataTable-0Vv-aGHD.js} +1 -1
  9. package/dist/HillActions-qz6J_uK7.js +1 -0
  10. package/dist/{Legend-D8NunRPr.js → Legend-DM0ClX3D.js} +1 -1
  11. package/dist/{NonSvgPenAndPaper-CxQZ0YED.js → NonSvgPenAndPaper-Do6RcwEr.js} +1 -1
  12. package/dist/{PackageVersion-ATrKWi8V.js → PackageVersion-C4ZM3Vf7.js} +1 -1
  13. package/dist/PenAndPaper-BGEp-TUm.js +1 -0
  14. package/dist/{Shape-gDVRWM6n.js → Shape-CRe8woTu.js} +1 -1
  15. package/dist/SlicerPreview-CFFUOlQr.js +1 -0
  16. package/dist/{SparkTooltip-cWKhrsKX.js → SparkTooltip-Ch06CV71.js} +1 -1
  17. package/dist/{Title-BLA0tM3g.js → Title-BliHuXfT.js} +1 -1
  18. package/dist/Tooltip-C1q0Qoh7.js +1 -0
  19. package/dist/UserOptions-uWHV_zPB.js +1 -0
  20. package/dist/{useResponsive-D2CPcpda.js → canvas-lib-22VpOI4_.js} +1 -1
  21. package/dist/{chartImage-r-G4CkRK.js → chartImage-DPGnEuYM.js} +1 -1
  22. package/dist/components/arrow.js +1 -1
  23. package/dist/components/vue-ui-3d-bar.js +1 -1
  24. package/dist/components/vue-ui-accordion.js +1 -1
  25. package/dist/components/vue-ui-age-pyramid.js +1 -1
  26. package/dist/components/vue-ui-annotator.js +1 -1
  27. package/dist/components/vue-ui-bullet.js +1 -1
  28. package/dist/components/vue-ui-bump.js +1 -1
  29. package/dist/components/vue-ui-candlestick.js +1 -1
  30. package/dist/components/vue-ui-carousel-table.js +1 -1
  31. package/dist/components/vue-ui-chestnut.js +1 -1
  32. package/dist/components/vue-ui-chord.js +1 -1
  33. package/dist/components/vue-ui-circle-pack.js +1 -1
  34. package/dist/components/vue-ui-cursor.js +1 -1
  35. package/dist/components/vue-ui-dag.js +1 -1
  36. package/dist/components/vue-ui-dashboard.js +1 -1
  37. package/dist/components/vue-ui-digits.js +1 -1
  38. package/dist/components/vue-ui-donut-evolution.js +1 -1
  39. package/dist/components/vue-ui-donut.js +1 -1
  40. package/dist/components/vue-ui-dumbbell.js +1 -1
  41. package/dist/components/vue-ui-flow.js +1 -1
  42. package/dist/components/vue-ui-funnel.js +1 -1
  43. package/dist/components/vue-ui-galaxy.js +1 -1
  44. package/dist/components/vue-ui-gauge.js +1 -1
  45. package/dist/components/vue-ui-geo.js +1 -1
  46. package/dist/components/vue-ui-gizmo.js +1 -1
  47. package/dist/components/vue-ui-graph.js +1 -1
  48. package/dist/components/vue-ui-heatmap.js +1 -1
  49. package/dist/components/vue-ui-hill.js +1 -1
  50. package/dist/components/vue-ui-history-plot.js +1 -1
  51. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  52. package/dist/components/vue-ui-icon.js +1 -1
  53. package/dist/components/vue-ui-kpi.js +1 -1
  54. package/dist/components/vue-ui-label.js +1 -1
  55. package/dist/components/vue-ui-mini-loader.js +1 -1
  56. package/dist/components/vue-ui-molecule.js +1 -1
  57. package/dist/components/vue-ui-mood-radar.js +1 -1
  58. package/dist/components/vue-ui-nested-donuts.js +1 -1
  59. package/dist/components/vue-ui-onion.js +1 -1
  60. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  61. package/dist/components/vue-ui-pattern-seed.js +1 -1
  62. package/dist/components/vue-ui-pattern.js +1 -1
  63. package/dist/components/vue-ui-quadrant.js +1 -1
  64. package/dist/components/vue-ui-quick-chart.js +1 -1
  65. package/dist/components/vue-ui-radar.js +1 -1
  66. package/dist/components/vue-ui-rating.js +1 -1
  67. package/dist/components/vue-ui-relation-circle.js +1 -1
  68. package/dist/components/vue-ui-ridgeline.js +1 -1
  69. package/dist/components/vue-ui-rings.js +1 -1
  70. package/dist/components/vue-ui-scatter.js +1 -1
  71. package/dist/components/vue-ui-skeleton.js +1 -1
  72. package/dist/components/vue-ui-smiley.js +1 -1
  73. package/dist/components/vue-ui-spark-trend.js +1 -1
  74. package/dist/components/vue-ui-sparkbar.js +1 -1
  75. package/dist/components/vue-ui-sparkgauge.js +1 -1
  76. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  77. package/dist/components/vue-ui-sparkline.js +1 -1
  78. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  79. package/dist/components/vue-ui-stackbar.js +1 -1
  80. package/dist/components/vue-ui-stackline.js +1 -1
  81. package/dist/components/vue-ui-strip-plot.js +1 -1
  82. package/dist/components/vue-ui-table-heatmap.js +1 -1
  83. package/dist/components/vue-ui-table-sparkline.js +1 -1
  84. package/dist/components/vue-ui-table.js +1 -1
  85. package/dist/components/vue-ui-thermometer.js +1 -1
  86. package/dist/components/vue-ui-timer.js +1 -1
  87. package/dist/components/vue-ui-tiremarks.js +1 -1
  88. package/dist/components/vue-ui-treemap.js +1 -1
  89. package/dist/components/vue-ui-vertical-bar.js +1 -1
  90. package/dist/components/vue-ui-waffle.js +1 -1
  91. package/dist/components/vue-ui-wheel.js +1 -1
  92. package/dist/components/vue-ui-word-cloud.js +1 -1
  93. package/dist/components/vue-ui-world.js +1 -1
  94. package/dist/components/vue-ui-xy-canvas.js +1 -1
  95. package/dist/components/vue-ui-xy.js +1 -1
  96. package/dist/{dom-to-png-Cp6rAdnI.js → dom-to-png-D56-Zgv4.js} +1 -1
  97. package/dist/{exposedLib-BDGMSW1B.js → exposedLib-BRtClmZy.js} +1 -1
  98. package/dist/{img-DiP2_5_r.js → img-D4RQwASc.js} +1 -1
  99. package/dist/{labelUtils-DXiFpsZl.js → labelUtils-CdtU-yB_.js} +1 -1
  100. package/dist/{lib-DqD8nbyX.js → lib-rPeBMZrn.js} +2 -2
  101. package/dist/package-DGRUegc-.js +1 -0
  102. package/dist/{pdf-y3S8SBFk.js → pdf-DAicVFxx.js} +1 -1
  103. package/dist/{render-common-tsNLeNaX.js → render-common-CJz0wn0I.js} +1 -1
  104. package/dist/{resolveChartConfig-ChGWTt5l.js → resolveChartConfig-CIhClE5R.js} +1 -1
  105. package/dist/ssr/vue-ui-donut.js +1 -1
  106. package/dist/ssr/vue-ui-xy.js +1 -1
  107. package/dist/ssr.js +1 -1
  108. package/dist/style.css +1 -1
  109. package/dist/types/vue-data-ui.d.ts +126 -0
  110. package/dist/useChartExport-BZts4KFb.js +1 -0
  111. package/dist/{useConfig-DM9fSqjh.js → useConfig-6jO1fkp5.js} +1 -1
  112. package/dist/{useNestedProp-DrLnzyHO.js → useNestedProp-DnGoh-XS.js} +1 -1
  113. package/dist/{useObjectBindings-Cn4Vz0RY.js → useObjectBindings-DiMX4HGv.js} +1 -1
  114. package/dist/{usePrinter-Cj4eIYC_.js → usePrinter-sVoTzet1.js} +1 -1
  115. package/dist/useResponsive-CENUxfEL.js +1 -0
  116. package/dist/useSvgLabelLayout-D1I8sQUi.js +1 -0
  117. package/dist/useTimeLabelCollider-BTybMUFi.js +1 -0
  118. package/dist/useTransitions-ChGGrtrv.js +1 -0
  119. package/dist/utils.js +1 -1
  120. package/dist/vue-data-ui-CxiWUtNw.js +1 -0
  121. package/dist/vue-data-ui.js +1 -1
  122. package/dist/vue-ui-3d-bar-CW8ahywt.js +19 -0
  123. package/dist/{vue-ui-accordion-3lBpCjGm.js → vue-ui-accordion-S3nRtTU-.js} +1 -1
  124. package/dist/vue-ui-age-pyramid-CxMwKICA.js +1 -0
  125. package/dist/{vue-ui-annotator-CpTZHnPw.js → vue-ui-annotator-CdCDYzdK.js} +3 -3
  126. package/dist/vue-ui-bullet-ClnewIWQ.js +34 -0
  127. package/dist/vue-ui-bump-C6FuNDUg.js +8 -0
  128. package/dist/vue-ui-candlestick-CyewIjJk.js +22 -0
  129. package/dist/vue-ui-carousel-table-D0dD4kai.js +1 -0
  130. package/dist/vue-ui-chestnut-nS1vjCqH.js +1 -0
  131. package/dist/vue-ui-chord-B963Q_26.js +21 -0
  132. package/dist/vue-ui-circle-pack-DEY9X3jA.js +13 -0
  133. package/dist/{vue-ui-cursor-Dn-IBaP8.js → vue-ui-cursor-CNv12HQG.js} +1 -1
  134. package/dist/vue-ui-dag-s3-TMmid.js +9 -0
  135. package/dist/vue-ui-dashboard-B5zrGAvS.js +1 -0
  136. package/dist/{vue-ui-digits-BBiRMr01.js → vue-ui-digits-DXQwmTUx.js} +1 -1
  137. package/dist/vue-ui-donut-CDryub1L.js +47 -0
  138. package/dist/{vue-ui-donut-CGyBWxzh.js → vue-ui-donut-DHfOfLBF.js} +1 -1
  139. package/dist/vue-ui-donut-evolution-C5pHSrza.js +2 -0
  140. package/dist/vue-ui-dumbbell-CQbGR7yM.js +9 -0
  141. package/dist/vue-ui-flow-B16Mj6MW.js +3 -0
  142. package/dist/vue-ui-funnel-Dh-xi_Qi.js +1 -0
  143. package/dist/vue-ui-galaxy-U_ZIP5vm.js +1 -0
  144. package/dist/vue-ui-gauge-Dr4zsf6D.js +1 -0
  145. package/dist/vue-ui-geo-DFebja0s.js +1 -0
  146. package/dist/{vue-ui-gizmo-K1lfslsA.js → vue-ui-gizmo-CssVcz-O.js} +1 -1
  147. package/dist/vue-ui-graph-BB_97Qz7.js +7 -0
  148. package/dist/vue-ui-heatmap-DEBbVnrg.js +1 -0
  149. package/dist/vue-ui-hill-C1sHz3TI.js +1 -0
  150. package/dist/vue-ui-history-plot-CsBTJXR3.js +2 -0
  151. package/dist/vue-ui-horizontal-bar-D0kfcpEW.js +4 -0
  152. package/dist/{vue-ui-kpi-BZjfQxmY.js → vue-ui-kpi-CltKSYUI.js} +1 -1
  153. package/dist/vue-ui-label-B_1kM28r.js +7 -0
  154. package/dist/{vue-ui-mini-loader-ltQXdeeW.js → vue-ui-mini-loader-7gqQI5jy.js} +1 -1
  155. package/dist/vue-ui-molecule-DtoyWWTf.js +1 -0
  156. package/dist/vue-ui-mood-radar-ClOxfeH8.js +1 -0
  157. package/dist/vue-ui-nested-donuts-CULAXTg1.js +19 -0
  158. package/dist/vue-ui-onion-D7zu861i.js +5 -0
  159. package/dist/vue-ui-parallel-coordinate-plot-Cjbc-WUG.js +9 -0
  160. package/dist/vue-ui-quadrant-DWAb_t6r.js +2 -0
  161. package/dist/vue-ui-quick-chart-oDZwgVo8.js +17 -0
  162. package/dist/vue-ui-radar-BWG_N0xO.js +1 -0
  163. package/dist/{vue-ui-rating-B33u3iIn.js → vue-ui-rating-CV2b0tjA.js} +1 -1
  164. package/dist/vue-ui-relation-circle-BCRiS2n6.js +1 -0
  165. package/dist/vue-ui-ridgeline-VYcGUP_p.js +2 -0
  166. package/dist/vue-ui-rings-Dl0AjrRj.js +1 -0
  167. package/dist/vue-ui-scatter-DTa48HvG.js +9 -0
  168. package/dist/{vue-ui-skeleton-DTn7uIui.js → vue-ui-skeleton-C5mGG8hR.js} +1 -1
  169. package/dist/{vue-ui-smiley-qCRUFmpq.js → vue-ui-smiley-VTdQetY0.js} +1 -1
  170. package/dist/vue-ui-spark-trend--frxeJ8f.js +1 -0
  171. package/dist/{vue-ui-sparkbar-DPFzdX-D.js → vue-ui-sparkbar-BS5v3HMo.js} +1 -1
  172. package/dist/{vue-ui-sparkgauge-DlEPsxc0.js → vue-ui-sparkgauge-B1TGfXvR.js} +1 -1
  173. package/dist/vue-ui-sparkhistogram-Cs97AL6h.js +1 -0
  174. package/dist/vue-ui-sparkline-Bp9J6x7z.js +1 -0
  175. package/dist/vue-ui-sparkstackbar-BVuuRD10.js +1 -0
  176. package/dist/vue-ui-stackbar-CRuXn3XI.js +29 -0
  177. package/dist/vue-ui-stackline-Besmr9vq.js +39 -0
  178. package/dist/vue-ui-strip-plot-D-aRJkR7.js +2 -0
  179. package/dist/{vue-ui-table-3F8i2ZjT.js → vue-ui-table-D_UdQwV3.js} +1 -1
  180. package/dist/{vue-ui-table-heatmap-CtYPYMIJ.js → vue-ui-table-heatmap-BtziURiu.js} +1 -1
  181. package/dist/vue-ui-table-sparkline-BdNo8fW_.js +1 -0
  182. package/dist/vue-ui-thermometer-TFg1SGY7.js +1 -0
  183. package/dist/{vue-ui-timer-DsWRNtRa.js → vue-ui-timer-BdPksC26.js} +2 -2
  184. package/dist/vue-ui-tiremarks-HWuO-eyj.js +1 -0
  185. package/dist/vue-ui-treemap-IegiAqaX.js +1 -0
  186. package/dist/vue-ui-waffle-BEyGfPks.js +1 -0
  187. package/dist/vue-ui-wheel-k8GNPGET.js +1 -0
  188. package/dist/vue-ui-word-cloud-D9_15Ve7.js +4 -0
  189. package/dist/{vue-ui-world-DQWjoFDx.js → vue-ui-world-rCp5Vb7u.js} +2 -2
  190. package/dist/{vue-ui-xy-DfvcqUwW.js → vue-ui-xy-42AXepcQ.js} +2 -2
  191. package/dist/vue-ui-xy-CFgFg11v.js +24 -0
  192. package/dist/vue-ui-xy-canvas-CeC3gcrW.js +9 -0
  193. package/package.json +3 -3
  194. package/dist/HillActions-Bq3UJ1Ut.js +0 -1
  195. package/dist/PenAndPaper-BsBFp16i.js +0 -1
  196. package/dist/SlicerPreview-Dpu4nMz6.js +0 -1
  197. package/dist/Tooltip-Iyb_S6oQ.js +0 -1
  198. package/dist/UserOptions-BSJ_S_us.js +0 -1
  199. package/dist/package-UBaXe2y9.js +0 -1
  200. package/dist/useChartExport-DtPNpc9M.js +0 -1
  201. package/dist/useTimeLabelCollider-XQf_S7-z.js +0 -1
  202. package/dist/useTransitions-DfSHzsdz.js +0 -1
  203. package/dist/vue-data-ui-yeD7UyUU.js +0 -1
  204. package/dist/vue-ui-3d-bar-COrzyTkO.js +0 -19
  205. package/dist/vue-ui-age-pyramid-CAoVjkOA.js +0 -1
  206. package/dist/vue-ui-bullet-yvY_gdw2.js +0 -34
  207. package/dist/vue-ui-bump-ChsFkIq9.js +0 -10
  208. package/dist/vue-ui-candlestick-D9UXZQoN.js +0 -22
  209. package/dist/vue-ui-carousel-table-CKyE4hME.js +0 -1
  210. package/dist/vue-ui-chestnut-BuLjW5nb.js +0 -1
  211. package/dist/vue-ui-chord-Bjwt2_BK.js +0 -21
  212. package/dist/vue-ui-circle-pack-BpAuZruK.js +0 -13
  213. package/dist/vue-ui-dag-CyY3cSa6.js +0 -9
  214. package/dist/vue-ui-dashboard-DmyStkQM.js +0 -1
  215. package/dist/vue-ui-donut-DMF74OY0.js +0 -47
  216. package/dist/vue-ui-donut-evolution-Du4zLc8D.js +0 -2
  217. package/dist/vue-ui-dumbbell-CxL_AY5e.js +0 -9
  218. package/dist/vue-ui-flow-h6kTMamJ.js +0 -3
  219. package/dist/vue-ui-funnel-BG5Addzr.js +0 -1
  220. package/dist/vue-ui-galaxy-CgnshY8i.js +0 -1
  221. package/dist/vue-ui-gauge-a13ojQPr.js +0 -1
  222. package/dist/vue-ui-geo-CflzhtuD.js +0 -1
  223. package/dist/vue-ui-graph-C2Se8bnB.js +0 -7
  224. package/dist/vue-ui-heatmap-5NsQkMwS.js +0 -1
  225. package/dist/vue-ui-hill-COnjVS2L.js +0 -1
  226. package/dist/vue-ui-history-plot-BRJdXsNo.js +0 -2
  227. package/dist/vue-ui-horizontal-bar-G0wEKTRu.js +0 -4
  228. package/dist/vue-ui-label-BD_hTtgZ.js +0 -7
  229. package/dist/vue-ui-molecule-DI-CS5w8.js +0 -1
  230. package/dist/vue-ui-mood-radar-B5ar9WAZ.js +0 -1
  231. package/dist/vue-ui-nested-donuts-BP2YzVma.js +0 -19
  232. package/dist/vue-ui-onion-CCiZ6jmF.js +0 -5
  233. package/dist/vue-ui-parallel-coordinate-plot-3E0CysDx.js +0 -9
  234. package/dist/vue-ui-quadrant-BwgwvKy8.js +0 -2
  235. package/dist/vue-ui-quick-chart-BXNg0LNe.js +0 -17
  236. package/dist/vue-ui-radar-B9Ntj_Gj.js +0 -1
  237. package/dist/vue-ui-relation-circle-B60IUw50.js +0 -1
  238. package/dist/vue-ui-ridgeline-BPbYng2A.js +0 -2
  239. package/dist/vue-ui-rings-BXo9p3Ab.js +0 -1
  240. package/dist/vue-ui-scatter-BwrYPDzh.js +0 -9
  241. package/dist/vue-ui-spark-trend-wKFu-O7B.js +0 -1
  242. package/dist/vue-ui-sparkhistogram-DLZxE6oz.js +0 -1
  243. package/dist/vue-ui-sparkline-BflZPl7s.js +0 -1
  244. package/dist/vue-ui-sparkstackbar-DvSQfGeA.js +0 -1
  245. package/dist/vue-ui-stackbar-JKC9qE6M.js +0 -29
  246. package/dist/vue-ui-stackline-G7-oqfzp.js +0 -39
  247. package/dist/vue-ui-strip-plot-54u7AUip.js +0 -2
  248. package/dist/vue-ui-table-sparkline-CTfYTzhA.js +0 -1
  249. package/dist/vue-ui-thermometer-BpFbPqxK.js +0 -1
  250. package/dist/vue-ui-tiremarks-C4wVcSVP.js +0 -1
  251. package/dist/vue-ui-treemap-mYRv6gga.js +0 -1
  252. package/dist/vue-ui-waffle-DNBIZqZz.js +0 -1
  253. package/dist/vue-ui-wheel-DPHDp0t1.js +0 -1
  254. package/dist/vue-ui-word-cloud-BY4YsW7-.js +0 -4
  255. package/dist/vue-ui-xy-M9aD-G5a.js +0 -24
  256. package/dist/vue-ui-xy-canvas-BpwG1Ipj.js +0 -9
@@ -305,6 +305,12 @@ nodes: VueUiGraphNode[];
305
305
  links: unknown[];
306
306
  config: VueUiGraphConfig;
307
307
  viewport: VueUiGraphViewport;
308
+ }) => VNodeChild;
309
+ 'svg-underlayer'?: (props: {
310
+ nodes: VueUiGraphNode[];
311
+ links: unknown[];
312
+ config: VueUiGraphConfig;
313
+ viewport: VueUiGraphViewport;
308
314
  }) => VNodeChild;
309
315
  'chart-background'?: (props: {
310
316
  width: number;
@@ -1282,6 +1288,9 @@ props: VueUiTreemapBreadcrumbLabelSlotProps,
1282
1288
  ['breadcrumb-arrow']?: () => VNodeChild;
1283
1289
  rect?: (props: VueUiTreemapRectSlotProps) => VNodeChild;
1284
1290
  svg?: (props: VueUiTreemapSvgSlotProps) => VNodeChild;
1291
+ 'svg-underlayer'?: (
1292
+ props: VueUiTreemapSvgSlotProps,
1293
+ ) => VNodeChild;
1285
1294
  hint?: (
1286
1295
  props: VueUiKeyboardNavigationHintSlotProps,
1287
1296
  ) => VNodeChild;
@@ -1609,6 +1618,9 @@ props: VueUiOptionAnnotatorSlotProps,
1609
1618
  optionAltCopy?: () => VNodeChild;
1610
1619
  ['chart-background']?: () => VNodeChild;
1611
1620
  svg?: (props: VueUiGalaxySvgSlotProps) => VNodeChild;
1621
+ 'svg-underlayer'?: (
1622
+ props: VueUiGalaxySvgSlotProps,
1623
+ ) => VNodeChild;
1612
1624
  hint?: (
1613
1625
  props: VueUiKeyboardNavigationHintSlotProps,
1614
1626
  ) => VNodeChild;
@@ -2087,6 +2099,9 @@ node?: (props: VueUiMoleculeNodeSlotProps) => VNodeChild;
2087
2099
  props: VueUiMoleculeNodeSvgSlotProps,
2088
2100
  ) => VNodeChild;
2089
2101
  svg?: (props: VueUiMoleculeSvgSlotProps) => VNodeChild;
2102
+ 'svg-underlayer'?: (
2103
+ props: VueUiMoleculeSvgSlotProps,
2104
+ ) => VNodeChild;
2090
2105
  watermark?: (props: VueUiWatermarkSlotProps) => VNodeChild;
2091
2106
  ['reset-action']?: (
2092
2107
  props: VueUiResetActionSlotProps,
@@ -2336,6 +2351,9 @@ optionAltCopy?: () => VNodeChild;
2336
2351
  ['chart-background']?: () => VNodeChild;
2337
2352
  legend?: (props: VueUi3dBarLegendSlotProps) => VNodeChild;
2338
2353
  svg?: (props: VueUi3dBarSvgSlotProps) => VNodeChild;
2354
+ 'svg-underlayer'?: (
2355
+ props: VueUi3dBarSvgSlotProps,
2356
+ ) => VNodeChild;
2339
2357
  watermark?: (props: VueUiWatermarkSlotProps) => VNodeChild;
2340
2358
  source?: () => VNodeChild;
2341
2359
  skeleton?: () => VNodeChild;
@@ -2527,6 +2545,9 @@ props: VueUiOptionAnnotatorSlotProps,
2527
2545
  ) => VNodeChild;
2528
2546
  ['chart-background']?: () => VNodeChild;
2529
2547
  svg?: (props: VueUiMoodRadarSvgSlotProps) => VNodeChild;
2548
+ 'svg-underlayer'?: (
2549
+ props: VueUiMoodRadarSvgSlotProps,
2550
+ ) => VNodeChild;
2530
2551
  hint?: (
2531
2552
  props: VueUiKeyboardNavigationHintSlotProps,
2532
2553
  ) => VNodeChild;
@@ -3130,6 +3151,9 @@ props: VueUiOptionAnnotatorSlotProps,
3130
3151
  optionAltCopy?: () => VNodeChild;
3131
3152
  ['chart-background']?: () => VNodeChild;
3132
3153
  svg?: (props: VueUiDonutEvolutionSvgSlotProps) => VNodeChild;
3154
+ 'svg-underlayer'?: (
3155
+ props: VueUiDonutEvolutionSvgSlotProps,
3156
+ ) => VNodeChild;
3133
3157
  hint?: (
3134
3158
  props: VueUiKeyboardNavigationHintSlotProps,
3135
3159
  ) => VNodeChild;
@@ -3265,6 +3289,9 @@ props: VueUiOptionAnnotatorSlotProps,
3265
3289
  ) => VNodeChild;
3266
3290
  ['chart-background']?: () => VNodeChild;
3267
3291
  svg?: (props: VueUiTiremarksSvgSlotProps) => VNodeChild;
3292
+ 'svg-underlayer'?: (
3293
+ props: VueUiTiremarksSvgSlotProps,
3294
+ ) => VNodeChild;
3268
3295
  watermark?: (props: VueUiWatermarkSlotProps) => VNodeChild;
3269
3296
  source?: () => VNodeChild;
3270
3297
  skeleton?: () => VNodeChild;
@@ -3403,6 +3430,9 @@ props: VueUiOptionAnnotatorSlotProps,
3403
3430
  ) => VNodeChild;
3404
3431
  ['chart-background']?: () => VNodeChild;
3405
3432
  svg?: (props: VueUiWheelSvgSlotProps) => VNodeChild;
3433
+ 'svg-underlayer'?: (
3434
+ props: VueUiWheelSvgSlotProps,
3435
+ ) => VNodeChild;
3406
3436
  watermark?: (props: VueUiWatermarkSlotProps) => VNodeChild;
3407
3437
  source?: () => VNodeChild;
3408
3438
  skeleton?: () => VNodeChild;
@@ -3641,6 +3671,9 @@ props: VueUiOptionAnnotatorSlotProps,
3641
3671
  ['chart-background']?: () => VNodeChild;
3642
3672
  pattern?: (props: VueUiPatternSlotProps) => VNodeChild;
3643
3673
  svg?: (props: VueUiRingsSvgSlotProps) => VNodeChild;
3674
+ 'svg-underlayer'?: (
3675
+ props: VueUiRingsSvgSlotProps,
3676
+ ) => VNodeChild;
3644
3677
  hint?: (
3645
3678
  props: VueUiKeyboardNavigationHintSlotProps,
3646
3679
  ) => VNodeChild;
@@ -4133,6 +4166,9 @@ props: VueUiOptionAnnotatorSlotProps,
4133
4166
  ) => VNodeChild;
4134
4167
  ['chart-background']?: () => VNodeChild;
4135
4168
  svg?: (props: VueUiThermometerSvgSlotProps) => VNodeChild;
4169
+ 'svg-underlayer'?: (
4170
+ props: VueUiThermometerSvgSlotProps,
4171
+ ) => VNodeChild;
4136
4172
  watermark?: (props: VueUiWatermarkSlotProps) => VNodeChild;
4137
4173
  source?: () => VNodeChild;
4138
4174
  skeleton?: () => VNodeChild;
@@ -4303,6 +4339,9 @@ dataLabel?: (
4303
4339
  props: VueUiRelationCircleDataLabelSlotProps,
4304
4340
  ) => VNodeChild;
4305
4341
  svg?: (props: VueUiRelationCircleSvgSlotProps) => VNodeChild;
4342
+ 'svg-underlayer'?: (
4343
+ props: VueUiRelationCircleSvgSlotProps,
4344
+ ) => VNodeChild;
4306
4345
  hint?: (
4307
4346
  props: VueUiKeyboardNavigationHintSlotProps,
4308
4347
  ) => VNodeChild;
@@ -5068,6 +5107,9 @@ props: VueUiOptionAnnotatorSlotProps,
5068
5107
  optionAltCopy?: () => VNodeChild;
5069
5108
  ['chart-background']?: () => VNodeChild;
5070
5109
  svg?: (props: VueUiAgePyramidSvgSlotProps) => VNodeChild;
5110
+ 'svg-underlayer'?: (
5111
+ props: VueUiAgePyramidSvgSlotProps,
5112
+ ) => VNodeChild;
5071
5113
  hint?: (
5072
5114
  props: VueUiKeyboardNavigationHintSlotProps,
5073
5115
  ) => VNodeChild;
@@ -5392,6 +5434,9 @@ props: VueUiOptionAnnotatorSlotProps,
5392
5434
  optionAltCopy?: () => VNodeChild;
5393
5435
  ['chart-background']?: () => VNodeChild;
5394
5436
  svg?: (props: VueUiCandlestickSvgSlotProps) => VNodeChild;
5437
+ 'svg-underlayer'?: (
5438
+ props: VueUiCandlestickSvgSlotProps,
5439
+ ) => VNodeChild;
5395
5440
  hint?: (
5396
5441
  props: VueUiKeyboardNavigationHintSlotProps,
5397
5442
  ) => VNodeChild;
@@ -5805,6 +5850,9 @@ optionAnnotator?: (
5805
5850
  props: VueUiOptionAnnotatorSlotProps,
5806
5851
  ) => VNodeChild;
5807
5852
  svg?: (props: VueUiScatterSvgSlotProps) => VNodeChild;
5853
+ 'svg-underlayer'?: (
5854
+ props: VueUiScatterSvgSlotProps,
5855
+ ) => VNodeChild;
5808
5856
  hint?: (
5809
5857
  props: VueUiKeyboardNavigationHintSlotProps,
5810
5858
  ) => VNodeChild;
@@ -6103,6 +6151,9 @@ props: VueUiOptionAnnotatorSlotProps,
6103
6151
  optionAltCopy?: () => VNodeChild;
6104
6152
  ['chart-background']?: () => VNodeChild;
6105
6153
  svg?: (props: VueUiHeatmapSvgSlotProps) => VNodeChild;
6154
+ 'svg-underlayer'?: (
6155
+ props: VueUiHeatmapSvgSlotProps,
6156
+ ) => VNodeChild;
6106
6157
  hint?: (
6107
6158
  props: VueUiKeyboardNavigationHintSlotProps,
6108
6159
  ) => VNodeChild;
@@ -6895,6 +6946,7 @@ pattern?: (props: VueUiPatternSlotProps) => VNodeChild;
6895
6946
  props: VueUiXyTimeLabelSlotProps,
6896
6947
  ) => VNodeChild;
6897
6948
  svg?: (props: VueUiXySvgSlotProps) => VNodeChild;
6949
+ 'svg-underlayer'?: (props: VueUiXySvgSlotProps) => VNodeChild;
6898
6950
  hint?: (
6899
6951
  props: VueUiKeyboardNavigationHintSlotProps,
6900
6952
  ) => VNodeChild;
@@ -7278,6 +7330,9 @@ props: VueUiDonutPlotCommentSlotProps,
7278
7330
  ) => VNodeChild;
7279
7331
  ['chart-background']?: () => VNodeChild;
7280
7332
  svg?: (props: VueUiDonutSvgSlotProps) => VNodeChild;
7333
+ ['svg-underlayer']?: (
7334
+ props: VueUiDonutSvgSlotProps,
7335
+ ) => VNodeChild;
7281
7336
  hint?: (
7282
7337
  props: VueUiKeyboardNavigationHintSlotProps,
7283
7338
  ) => VNodeChild;
@@ -7625,6 +7680,9 @@ props: VueUiOptionAnnotatorSlotProps,
7625
7680
  ) => VNodeChild;
7626
7681
  ['chart-background']?: () => VNodeChild;
7627
7682
  svg?: (props: VueUiNestedDonutsSvgSlotProps) => VNodeChild;
7683
+ 'svg-underlayer'?: (
7684
+ props: VueUiNestedDonutsSvgSlotProps,
7685
+ ) => VNodeChild;
7628
7686
  hint?: (
7629
7687
  props: VueUiKeyboardNavigationHintSlotProps,
7630
7688
  ) => VNodeChild;
@@ -7940,6 +7998,9 @@ props: VueUiOptionAnnotatorSlotProps,
7940
7998
  cell?: (props: VueUiWaffleCellSlotProps) => VNodeChild;
7941
7999
  cellSvg?: (props: VueUiWaffleCellSlotProps) => VNodeChild;
7942
8000
  svg?: (props: VueUiWaffleSvgSlotProps) => VNodeChild;
8001
+ 'svg-underlayer'?: (
8002
+ props: VueUiWaffleSvgSlotProps,
8003
+ ) => VNodeChild;
7943
8004
  hint?: (
7944
8005
  props: VueUiKeyboardNavigationHintSlotProps,
7945
8006
  ) => VNodeChild;
@@ -8234,6 +8295,9 @@ props: VueUiOptionAnnotatorSlotProps,
8234
8295
  ) => VNodeChild;
8235
8296
  ['chart-background']?: () => VNodeChild;
8236
8297
  svg?: (props: VueUiRadarSvgSlotProps) => VNodeChild;
8298
+ 'svg-underlayer'?: (
8299
+ props: VueUiRadarSvgSlotProps,
8300
+ ) => VNodeChild;
8237
8301
  hint?: (
8238
8302
  props: VueUiKeyboardNavigationHintSlotProps,
8239
8303
  ) => VNodeChild;
@@ -8599,6 +8663,9 @@ datapointSvg?: (
8599
8663
  props: VueUiQuadrantDatapointSlotProps,
8600
8664
  ) => VNodeChild;
8601
8665
  svg?: (props: VueUiQuadrantSvgSlotProps) => VNodeChild;
8666
+ 'svg-underlayer'?: (
8667
+ props: VueUiQuadrantSvgSlotProps,
8668
+ ) => VNodeChild;
8602
8669
  hint?: (
8603
8670
  props: VueUiKeyboardNavigationHintSlotProps,
8604
8671
  ) => VNodeChild;
@@ -8806,6 +8873,9 @@ optionAltCopy?: () => VNodeChild;
8806
8873
  ['chart-background']?: () => VNodeChild;
8807
8874
  pattern?: (props: VueUiPatternSlotProps) => VNodeChild;
8808
8875
  svg?: (props: VueUiGaugeSvgSlotProps) => VNodeChild;
8876
+ 'svg-underlayer'?: (
8877
+ props: VueUiGaugeSvgSlotProps,
8878
+ ) => VNodeChild;
8809
8879
  watermark?: (props: VueUiWatermarkSlotProps) => VNodeChild;
8810
8880
  legend?: (props: VueUiGaugeLegendSlotProps) => VNodeChild;
8811
8881
  source?: () => VNodeChild;
@@ -9165,6 +9235,9 @@ props: VueUiOptionAnnotatorSlotProps,
9165
9235
  optionAltCopy?: () => VNodeChild;
9166
9236
  ['chart-background']?: () => VNodeChild;
9167
9237
  svg?: (props: VueUiChestnutSvgSlotProps) => VNodeChild;
9238
+ 'svg-underlayer'?: (
9239
+ props: VueUiChestnutSvgSlotProps,
9240
+ ) => VNodeChild;
9168
9241
  watermark?: (props: VueUiWatermarkSlotProps) => VNodeChild;
9169
9242
  legend?: (props: VueUiChestnutLegendSlotProps) => VNodeChild;
9170
9243
  source?: () => VNodeChild;
@@ -9444,6 +9517,9 @@ props: VueUiOptionAnnotatorSlotProps,
9444
9517
  ) => VNodeChild;
9445
9518
  ['chart-background']?: () => VNodeChild;
9446
9519
  svg?: (props: VueUiOnionSvgSlotProps) => VNodeChild;
9520
+ 'svg-underlayer'?: (
9521
+ props: VueUiOnionSvgSlotProps,
9522
+ ) => VNodeChild;
9447
9523
  hint?: (
9448
9524
  props: VueUiKeyboardNavigationHintSlotProps,
9449
9525
  ) => VNodeChild;
@@ -9826,6 +9902,9 @@ optionAltCopy?: () => VNodeChild;
9826
9902
  ['chart-background']?: () => VNodeChild;
9827
9903
  pattern?: (props: VueUiPatternSlotProps) => VNodeChild;
9828
9904
  svg?: (props: VueUiHorizontalBarSvgSlotProps) => VNodeChild;
9905
+ 'svg-underlayer'?: (
9906
+ props: VueUiHorizontalBarSvgSlotProps,
9907
+ ) => VNodeChild;
9829
9908
  hint?: (
9830
9909
  props: VueUiKeyboardNavigationHintSlotProps,
9831
9910
  ) => VNodeChild;
@@ -10110,6 +10189,9 @@ $slots: {
10110
10189
  before?: (props: VueUiSparklineBeforeSlotProps) => VNodeChild;
10111
10190
  ['chart-background']?: () => VNodeChild;
10112
10191
  svg?: (props: VueUiSparklineSvgSlotProps) => VNodeChild;
10192
+ 'svg-underlayer'?: (
10193
+ props: VueUiSparklineSvgSlotProps,
10194
+ ) => VNodeChild;
10113
10195
  hint?: (
10114
10196
  props: VueUiKeyboardNavigationHintSlotProps,
10115
10197
  ) => VNodeChild;
@@ -11850,6 +11932,9 @@ props: VueUiOptionAnnotatorSlotProps,
11850
11932
  ) => VNodeChild;
11851
11933
  ['chart-background']?: () => VNodeChild;
11852
11934
  svg?: (props: VueUiStripPlotSvgSlotProps) => VNodeChild;
11935
+ 'svg-underlayer'?: (
11936
+ props: VueUiStripPlotSvgSlotProps,
11937
+ ) => VNodeChild;
11853
11938
  hint?: (
11854
11939
  props: VueUiKeyboardNavigationHintSlotProps,
11855
11940
  ) => VNodeChild;
@@ -12153,6 +12238,9 @@ props: VueUiOptionAnnotatorSlotProps,
12153
12238
  optionAltCopy?: () => VNodeChild;
12154
12239
  ['chart-background']?: () => VNodeChild;
12155
12240
  svg?: (props: VueUiDumbbellSvgSlotProps) => VNodeChild;
12241
+ 'svg-underlayer'?: (
12242
+ props: VueUiDumbbellSvgSlotProps,
12243
+ ) => VNodeChild;
12156
12244
  hint?: (
12157
12245
  props: VueUiKeyboardNavigationHintSlotProps,
12158
12246
  ) => VNodeChild;
@@ -12353,6 +12441,9 @@ props: VueUiWordCloudOptionZoomSlotProps,
12353
12441
  ) => VNodeChild;
12354
12442
  ['chart-background']?: () => VNodeChild;
12355
12443
  svg?: (props: VueUiWordCloudSvgSlotProps) => VNodeChild;
12444
+ 'svg-underlayer'?: (
12445
+ props: VueUiWordCloudSvgSlotProps,
12446
+ ) => VNodeChild;
12356
12447
  hint?: (
12357
12448
  props: VueUiKeyboardNavigationHintSlotProps,
12358
12449
  ) => VNodeChild;
@@ -13007,6 +13098,7 @@ props: VueUiOptionAnnotatorSlotProps,
13007
13098
  optionAltCopy?: () => VNodeChild;
13008
13099
  ['chart-background']?: () => VNodeChild;
13009
13100
  svg?: (props: VueUiFlowSvgSlotProps) => VNodeChild;
13101
+ 'svg-underlayer'?: (props: VueUiFlowSvgSlotProps) => VNodeChild;
13010
13102
  hint?: (
13011
13103
  props: VueUiKeyboardNavigationHintSlotProps,
13012
13104
  ) => VNodeChild;
@@ -13339,6 +13431,9 @@ props: VueUiParallelCoordinatePlotCommentSlotProps,
13339
13431
  ) => VNodeChild;
13340
13432
  svg?: (
13341
13433
  props: VueUiParallelCoordinatePlotSvgSlotProps,
13434
+ ) => VNodeChild;
13435
+ 'svg-underlayer'?: (
13436
+ props: VueUiParallelCoordinatePlotSvgSlotProps,
13342
13437
  ) => VNodeChild;
13343
13438
  hint?: (
13344
13439
  props: VueUiKeyboardNavigationHintSlotProps,
@@ -14299,6 +14394,9 @@ pattern?: (props: VueUiPatternSlotProps) => VNodeChild;
14299
14394
  props: VueUiStackbarTimeLabelSlotProps,
14300
14395
  ) => VNodeChild;
14301
14396
  svg?: (props: VueUiStackbarSvgSlotProps) => VNodeChild;
14397
+ 'svg-underlayer'?: (
14398
+ props: VueUiStackbarSvgSlotProps,
14399
+ ) => VNodeChild;
14302
14400
  hint?: (
14303
14401
  props: VueUiKeyboardNavigationHintSlotProps,
14304
14402
  ) => VNodeChild;
@@ -14756,6 +14854,9 @@ pattern?: (props: VueUiPatternSlotProps) => VNodeChild;
14756
14854
  props: VueUiStacklineTimeLabelSlotProps,
14757
14855
  ) => VNodeChild;
14758
14856
  svg?: (props: VueUiStacklineSvgSlotProps) => VNodeChild;
14857
+ 'svg-underlayer'?: (
14858
+ props: VueUiStacklineSvgSlotProps,
14859
+ ) => VNodeChild;
14759
14860
  hint?: (
14760
14861
  props: VueUiKeyboardNavigationHintSlotProps,
14761
14862
  ) => VNodeChild;
@@ -14959,6 +15060,9 @@ props: VueUiOptionAnnotatorSlotProps,
14959
15060
  optionAltCopy?: () => VNodeChild;
14960
15061
  ['chart-background']?: () => VNodeChild;
14961
15062
  svg?: (props: VueUiBulletSvgSlotProps) => VNodeChild;
15063
+ 'svg-underlayer'?: (
15064
+ props: VueUiBulletSvgSlotProps,
15065
+ ) => VNodeChild;
14962
15066
  watermark?: (props: VueUiWatermarkSlotProps) => VNodeChild;
14963
15067
  legend?: (props: VueUiBulletLegendSlotProps) => VNodeChild;
14964
15068
  source?: () => VNodeChild;
@@ -15128,6 +15232,9 @@ props: VueUiOptionAnnotatorSlotProps,
15128
15232
  optionAltCopy?: () => VNodeChild;
15129
15233
  ['chart-background']?: () => VNodeChild;
15130
15234
  svg?: (props: VueUiFunnelSvgSlotProps) => VNodeChild;
15235
+ 'svg-underlayer'?: (
15236
+ props: VueUiFunnelSvgSlotProps,
15237
+ ) => VNodeChild;
15131
15238
  watermark?: (props: VueUiWatermarkSlotProps) => VNodeChild;
15132
15239
  source?: () => VNodeChild;
15133
15240
  };
@@ -15462,6 +15569,9 @@ props: VueUiOptionAnnotatorSlotProps,
15462
15569
  optionAltCopy?: () => VNodeChild;
15463
15570
  ['chart-background']?: () => VNodeChild;
15464
15571
  svg?: (props: VueUiHistoryPlotSvgSlotProps) => VNodeChild;
15572
+ 'svg-underlayer'?: (
15573
+ props: VueUiHistoryPlotSvgSlotProps,
15574
+ ) => VNodeChild;
15465
15575
  hint?: (
15466
15576
  props: VueUiKeyboardNavigationHintSlotProps,
15467
15577
  ) => VNodeChild;
@@ -15755,6 +15865,9 @@ props: VueUiCirclePackDataLabelSlotProps,
15755
15865
  ) => VNodeChild;
15756
15866
  circle?: (props: VueUiCirclePackCircleSlotProps) => VNodeChild;
15757
15867
  svg?: (props: VueUiCirclePackSvgSlotProps) => VNodeChild;
15868
+ 'svg-underlayer'?: (
15869
+ props: VueUiCirclePackSvgSlotProps,
15870
+ ) => VNodeChild;
15758
15871
  hint?: (
15759
15872
  props: VueUiKeyboardNavigationHintSlotProps,
15760
15873
  ) => VNodeChild;
@@ -16005,6 +16118,9 @@ props: VueUiOptionAnnotatorSlotProps,
16005
16118
  ['chart-background']?: () => VNodeChild;
16006
16119
  pattern?: (props: VueUiWorldPatternSlotProps) => VNodeChild;
16007
16120
  svg?: (props: VueUiWorldSvgSlotProps) => VNodeChild;
16121
+ 'svg-underlayer'?: (
16122
+ props: VueUiWorldSvgSlotProps,
16123
+ ) => VNodeChild;
16008
16124
  watermark?: (props: VueUiWatermarkSlotProps) => VNodeChild;
16009
16125
  source?: () => VNodeChild;
16010
16126
  skeleton?: () => VNodeChild;
@@ -16344,6 +16460,9 @@ props: VueUiPatternSlotProps & { datapointIndex: number },
16344
16460
  props: VueUiRidgelineTimeLabelSlotProps,
16345
16461
  ) => VNodeChild;
16346
16462
  svg?: (props: VueUiRidgelineSvgSlotProps) => VNodeChild;
16463
+ 'svg-underlayer'?: (
16464
+ props: VueUiRidgelineSvgSlotProps,
16465
+ ) => VNodeChild;
16347
16466
  hint?: (
16348
16467
  props: VueUiKeyboardNavigationHintSlotProps,
16349
16468
  ) => VNodeChild;
@@ -16586,6 +16705,9 @@ props: VueUiOptionAnnotatorSlotProps,
16586
16705
  optionAltCopy?: () => VNodeChild;
16587
16706
  ['chart-background']?: () => VNodeChild;
16588
16707
  svg?: (props: VueUiChordSvgSlotProps) => VNodeChild;
16708
+ 'svg-underlayer'?: (
16709
+ props: VueUiChordSvgSlotProps,
16710
+ ) => VNodeChild;
16589
16711
  watermark?: (props: VueUiWatermarkSlotProps) => VNodeChild;
16590
16712
  hint?: (
16591
16713
  props: VueUiKeyboardNavigationHintSlotProps,
@@ -16908,6 +17030,7 @@ node?: (props: VueUiDagNodeSlotProps) => VNodeChild;
16908
17030
  props: VueUiDagFreeNodeLabelSlotProps,
16909
17031
  ) => VNodeChild;
16910
17032
  svg?: (props: VueUiDagSvgSlotProps) => VNodeChild;
17033
+ 'svg-underlayer'?: (props: VueUiDagSvgSlotProps) => VNodeChild;
16911
17034
  hint?: (
16912
17035
  props: VueUiKeyboardNavigationHintSlotProps,
16913
17036
  ) => VNodeChild;
@@ -17216,6 +17339,7 @@ optionAltCopy?: () => VNodeChild;
17216
17339
  optionZoom?: (props: VueUiGeoOptionZoomSlotProps) => VNodeChild;
17217
17340
  datapoint?: (props: VueUiGeoDatapointSlotProps) => VNodeChild;
17218
17341
  svg?: (props: VueUiGeoSvgSlotProps) => VNodeChild;
17342
+ 'svg-underlayer'?: (props: VueUiGeoSvgSlotProps) => VNodeChild;
17219
17343
  hint?: (
17220
17344
  props: VueUiKeyboardNavigationHintSlotProps,
17221
17345
  ) => VNodeChild;
@@ -17478,6 +17602,7 @@ optionAltCopy?: () => VNodeChild;
17478
17602
  props: VueUiBumpTimeLabelSlotProps,
17479
17603
  ) => VNodeChild;
17480
17604
  svg?: (props: VueUiBumpSvgSlotProps) => VNodeChild;
17605
+ 'svg-underlayer'?: (props: VueUiBumpSvgSlotProps) => VNodeChild;
17481
17606
  hint?: (
17482
17607
  props: VueUiKeyboardNavigationHintSlotProps,
17483
17608
  ) => VNodeChild;
@@ -17868,6 +17993,7 @@ $slots: CommonAnnotatorSlots & {
17868
17993
  ['custom-menu-after']?: () => VNodeChild;
17869
17994
  ['chart-background']?: () => VNodeChild;
17870
17995
  svg?: (props: VueUiHillSvgSlotProps) => VNodeChild;
17996
+ 'svg-underlayer'?: (props: VueUiHillSvgSlotProps) => VNodeChild;
17871
17997
  analysis?: (props: VueUiHillAnalysisSlotProps) => VNodeChild;
17872
17998
  menuIcon?: (props: VueUiMenuIconSlotProps) => VNodeChild;
17873
17999
  optionPdf?: () => VNodeChild;
@@ -0,0 +1 @@
1
+ import{isRef as e,nextTick as t,onMounted as n,ref as r,unref as i,watch as a}from"vue";var o=`http://www.w3.org/2000/svg`,s=`http://www.w3.org/1999/xlink`,c=`system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif`,l=/* @__PURE__ */ new WeakMap;function u(e){let t=l.get(e);return t||(t=getComputedStyle(e),l.set(e,t)),t}function d(){l=/* @__PURE__ */ new WeakMap}function f(e){return document.createElementNS(o,e)}function p(e){return`${e}, ${c}`}function m({svg:c,title:l,legend:m,legendItems:_,backgroundColor:v,stretchTitle:y=!1,titleEmbedded:b=!1}){let x=e(c)?c:r(c),S=r(!1),C=/* @__PURE__ */ `fill.fill-opacity.stroke.stroke-width.stroke-opacity.opacity.color.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-dasharray.stroke-dashoffset.font-family.font-size.font-style.font-weight.font-variant.letter-spacing.word-spacing.text-anchor.dominant-baseline.shape-rendering.vector-effect.paint-order.mix-blend-mode.isolation.filter.clip-path.mask.transform.transform-origin.visibility.display`.split(`.`),w=/* @__PURE__ */ new Set([`font-family`]);async function T({timeoutMs:e=4e3,log:n=`warn`}={}){if(typeof window>`u`||typeof document>`u`)return console.warn(`SVG export only works in the browser.`),null;let r=performance.now()+e,a=()=>{let e=i(x);return e&&document.contains(e)?e:null},o=a();if(o)return o;let s=!1,c=e=>{if(!s&&e)try{e.disconnect()}catch{}s=!0},l,u=new Promise(e=>{try{l=new MutationObserver(()=>{let t=a();t&&(c(l),e(t))}),l.observe(document.documentElement,{childList:!0,subtree:!0})}catch{e(null)}});for(;performance.now()<r;){let e=await Promise.race([u,new Promise(e=>requestAnimationFrame(e))]);if(await t(),o=a()||e,o)return c(l),o}return c(l),console.warn(`SVG element not found or not mounted (timed out).`),null}n(async()=>{try{await T(),S.value=!0}catch{S.value=!1}}),a(x,async()=>{try{await T(),S.value=!0}catch{S.value=!1}});let E=/* @__PURE__ */ new Map;function D(e){if(E.has(e))return E.get(e);let t=f(`svg`);t.setAttribute(`width`,`0`),t.setAttribute(`height`,`0`),t.style.position=`absolute`,t.style.left=`-99999px`,t.style.top=`-99999px`;let n=f(e);t.appendChild(n),document.body.appendChild(t);let r=window.getComputedStyle(n),i={};for(let e of C)i[e]=r.getPropertyValue(e);return document.body.removeChild(t),E.set(e,i),i}function O(e){let t=u(e),n=D(e.tagName.toLowerCase()),r=[];for(let e of C){let i=t.getPropertyValue(e)||``,a=n[e]||``;w.has(e)?(e===`font-family`&&i&&(i=p(i)),i&&r.push(`${e}:${i};`)):i&&i!==a&&r.push(`${e}:${i};`)}return r.join(``)}function k(e,t){e.getAttribute(`width`)&&t.setAttribute(`width`,e.getAttribute(`width`)),e.getAttribute(`height`)&&t.setAttribute(`height`,e.getAttribute(`height`)),e.getAttribute(`viewBox`)&&t.setAttribute(`viewBox`,e.getAttribute(`viewBox`));let n=[e,...Array.from(e.querySelectorAll(`*`))],r=[t,...Array.from(t.querySelectorAll(`*`))];for(let e=0;e<n.length;e+=1){let t=n[e],i=r[e],a=O(t);a&&i.setAttribute(`style`,a),[`fill`,`stroke`,`filter`,`clip-path`,`mask`].forEach(e=>{let n=t.getAttribute(e);n&&i.setAttribute(e,n)})}}function A(e){let t=e.getAttribute(`viewBox`);if(!t)return null;let[n,r,i,a]=t.split(/\s+|,/).map(Number);return[n,r,i,a].some(e=>Number.isNaN(e))?null:{minX:n,minY:r,width:i,height:a}}function j(e){e.getAttribute(`xmlns`)||e.setAttribute(`xmlns`,o),e.getAttribute(`xmlns:xlink`)||e.setAttribute(`xmlns:xlink`,s),e.getAttribute(`xml:space`)||e.setAttribute(`xml:space`,`preserve`)}function M(e){let t=document.createElement(`div`);return t.style.position=`absolute`,t.style.left=`-99999px`,t.style.top=`-99999px`,t.style.width=`0`,t.style.height=`0`,document.body.appendChild(t),t.appendChild(e),t}function N(e){try{e.remove()}catch{}}function P(e,t,n,r,i){if(!l.value||!l.value.text)return 0;let a={text:l.value.text||``,color:l.value.color||`#111`,fontSize:l.value.fontSize||20,bold:!!l.value.bold,textAlign:(l.value?.textAlign||`center`).toLowerCase(),paddingLeft:l.value.paddingLeft??0,paddingRight:l.value.paddingRight??0,subtitle:l.value.subtitle||null},o=f(`g`);o.setAttribute(`id`,`__vdu_export_title`),e.appendChild(o);let s=n+a.paddingLeft,c=n+t-(a.paddingRight||0),u=n+t/2,d=`start`,p=s;a.textAlign===`center`?(d=`middle`,p=u):a.textAlign===`right`&&(d=`end`,p=c);let m=r,h=Math.round(a.fontSize*.4),g=f(`text`);g.setAttribute(`x`,String(p)),g.setAttribute(`y`,String(m+a.fontSize)),g.setAttribute(`text-anchor`,d),g.setAttribute(`dominant-baseline`,`ideographic`),g.setAttribute(`style`,`font-family:${i}; font-size:${a.fontSize}px; font-weight:${a.bold?`700`:`400`}; fill:${a.color}; ${y?`transform: scale(0.65, 1); transform-origin: center;`:``}`),g.textContent=a.text,o.appendChild(g);let _=a.fontSize;if(a.subtitle&&a.subtitle.text){let e={color:a.subtitle.color||`#666`,text:a.subtitle.text,fontSize:a.subtitle.fontSize||Math.max(12,Math.round(a.fontSize*.8)),bold:!!a.subtitle.bold},t=f(`text`);t.setAttribute(`x`,String(p)),t.setAttribute(`y`,String(m+a.fontSize+h+e.fontSize)),t.setAttribute(`text-anchor`,d),t.setAttribute(`dominant-baseline`,`ideographic`),t.setAttribute(`style`,`font-family:${i}; font-size:${e.fontSize}px; font-weight:${e.bold?`600`:`400`}; fill:${e.color}; ${y?`transform: scale(0.65, 1); transform-origin: center;`:``}`),t.textContent=e.text,o.appendChild(t),_+=h+e.fontSize}return _+Math.round(a.fontSize*.4)}function F(e,t,n,r,i){if(!m.value||!m.value.show||!Array.isArray(_.value)||!_.value.length)return 0;let a={bold:!!m.value.bold,backgroundColor:m.value.backgroundColor||`transparent`,color:m.value.color||`#111`,fontSize:m.value.fontSize||14,paddingX:14,paddingY:10,itemGapX:18,itemGapY:12,markerSize:Math.max(8,Math.round((m.value.fontSize||14)*.9)),markerTextGap:8,lineHeight:Math.round((m.value.fontSize||14)*1.2),maxWidth:t},o=f(`g`);o.setAttribute(`id`,`__vdu_export_legend`),o.setAttribute(`transform`,`translate(${n}, ${r})`),e.appendChild(o);let s=f(`rect`);s.setAttribute(`rx`,`6`),s.setAttribute(`ry`,`6`),s.setAttribute(`fill`,a.backgroundColor),o.appendChild(s);let c=f(`g`);o.appendChild(c);let l=f(`text`);l.setAttribute(`x`,`0`),l.setAttribute(`y`,`0`),l.setAttribute(`style`,`font-family:${i}; font-size:${a.fontSize}px; font-weight:${a.bold?`600`:`400`}; opacity:0;`),c.appendChild(l);let u=e=>(l.textContent=e||``,l.getComputedTextLength()),d=Math.max(1,a.maxWidth-a.paddingX*2);function p(e,t){let n=String(e||``).split(/\s+/).filter(Boolean),r=[];if(!n.length)return[``];let i=n.shift();for(;n.length;){let e=`${i} ${n[0]}`;if(u(e)<=t)i=e,n.shift();else if(u(i)>t&&i.length>1){let e=``;for(let n of i){let r=e+n;if(u(r)<=t)e=r;else break}let a=i.slice(e.length);r.push(e),i=a.length?a:n.shift()||``}else r.push(i),i=n.shift()||``}i&&r.push(i);let a=r[r.length-1]||``;if(u(a)>t&&a.length>1){let e=``;for(let n of a){let r=e+n;if(u(r)<=t)e=r;else break}let n=a.slice(e.length);r[r.length-1]=e,n&&r.push(n)}return r}let h=Math.PI/180;function g(e,t,n,r,i=-90){let a=i*h,o=``;for(let i=0;i<n;i+=1){let s=a+i*2*Math.PI/n,c=e+Math.cos(s)*r,l=t+Math.sin(s)*r;o+=(i===0?`M`:`L`)+c+`,`+l}return o+`Z`}function v(e,t,n=5,r,i){let a=-90*h,o=``;for(let s=0;s<n*2;s+=1){let c=s%2==0?r:i,l=a+s*Math.PI/n,u=e+Math.cos(l)*c,d=t+Math.sin(l)*c;o+=(s===0?`M`:`L`)+u+`,`+d}return o+`Z`}let y=_.value.map(e=>{let t=Math.max(1,d-(a.markerSize+a.markerTextGap)),n=p(e.name||``,t),r=Math.max(...n.map(u),0),i=a.markerSize+a.markerTextGap+r,o=Math.max(a.markerSize,n.length*a.lineHeight);return{...e,lines:n,itemW:i,itemH:o}}),b=[],x={items:[],width:0,height:0};for(let e of y){let t=(x.items.length?a.itemGapX:0)+e.itemW;x.items.length&&x.width+t>d?(b.push(x),x={items:[e],width:e.itemW,height:e.itemH}):(x.items.push(e),x.width+=t,x.height=Math.max(x.height,e.itemH))}x.items.length&&b.push(x);let S=a.paddingY;for(let e of b){let t=Math.max(a.paddingX,(a.maxWidth-e.width)/2);for(let n=0;n<e.items.length;n+=1){let r=e.items[n],o=t+a.markerSize/2,s=S+e.height/2.5,l=a.markerSize/2,u=String(r.shape||`rect`).toLowerCase();if(u===`circle`){let e=f(`circle`);e.setAttribute(`cx`,String(o)),e.setAttribute(`cy`,String(s)),e.setAttribute(`r`,String(l*.8)),e.setAttribute(`fill`,r.color||`#000`),c.appendChild(e)}else if(u===`rect`||u===`square`){let e=f(`path`);e.setAttribute(`d`,g(o,s,4,l,-45)),e.setAttribute(`fill`,r.color||`#000`),c.appendChild(e)}else if(u===`diamond`){let e=f(`path`);e.setAttribute(`d`,g(o,s,4,l,45)),e.setAttribute(`fill`,r.color||`#000`),c.appendChild(e)}else if(u===`triangle`){let e=f(`path`);e.setAttribute(`d`,g(o,s,3,l,-90)),e.setAttribute(`fill`,r.color||`#000`),c.appendChild(e)}else if(u===`pentagon`){let e=f(`path`);e.setAttribute(`d`,g(o,s,5,l,-90)),e.setAttribute(`fill`,r.color||`#000`),c.appendChild(e)}else if(u===`hexagon`){let e=f(`path`);e.setAttribute(`d`,g(o,s,6,l,0)),e.setAttribute(`fill`,r.color||`#000`),c.appendChild(e)}else if(u===`star`){let e=f(`path`),t=l,n=l*.5;e.setAttribute(`d`,v(o,s,5,t,n)),e.setAttribute(`fill`,r.color||`#000`),c.appendChild(e)}else{let n=f(`rect`);n.setAttribute(`x`,String(t)),n.setAttribute(`y`,String(S+(e.height-a.markerSize)/2)),n.setAttribute(`width`,String(a.markerSize)),n.setAttribute(`height`,String(a.markerSize)),n.setAttribute(`fill`,r.color||`#000`),c.appendChild(n)}let d=t+a.markerSize+a.markerTextGap,p=S+(e.height-r.lines.length*a.lineHeight)/2+a.fontSize,m=f(`text`);m.setAttribute(`x`,String(d)),m.setAttribute(`y`,String(p)),m.setAttribute(`style`,`font-family:${i}; font-size:${a.fontSize}px; font-weight:${a.bold?`600`:`400`}; fill:${a.color};`),m.setAttribute(`dominant-baseline`,`ideographic`);let h=!0;for(let e of r.lines){let t=f(`tspan`);h||t.setAttribute(`dy`,String(a.lineHeight)),t.setAttribute(`x`,String(d)),t.textContent=e,m.appendChild(t),h=!1}c.appendChild(m),t+=r.itemW+(n<e.items.length-1?a.itemGapX:0)}S+=e.height+a.itemGapY}b.length&&(S-=a.itemGapY);let C=S+a.paddingY;return s.setAttribute(`x`,`0`),s.setAttribute(`y`,`0`),s.setAttribute(`width`,String(a.maxWidth)),s.setAttribute(`height`,String(C)),l.remove(),C+Math.round(a.fontSize*.4)}function I(e){let t=e.cloneNode(!0);return t.querySelectorAll(`script`).forEach(e=>e.remove()),k(e,t),j(t),t}function L(e){let t=Array.from(e.childNodes).filter(e=>e.nodeType===1&&e.nodeName.toLowerCase()===`defs`),n=Array.from(e.childNodes).filter(e=>e.nodeType!==1||e.nodeName.toLowerCase()!==`defs`),r=document.createElementNS(o,`g`);r.setAttribute(`id`,`__vdu_export_content`);for(let e of n)r.appendChild(e);for(let n of t)e.appendChild(n);return e.appendChild(r),r}function R(e,t){t<=0||e.setAttribute(`transform`,`translate(0, ${t})`)}function z(e,t){if(t<=0)return;let n=A(e),r=e.getAttribute(`height`);if(n)e.setAttribute(`viewBox`,`${n.minX} ${n.minY} ${n.width} ${n.height+t}`),r&&e.setAttribute(`height`,String(Number(r)+t));else if(r)e.setAttribute(`height`,String(Number(r)+t));else{let n=e.getBBox();e.setAttribute(`viewBox`,`0 0 ${Math.max(1,n.width)} ${Math.max(1,n.height+t)}`)}}function B(e){let t=A(e);if(t)return t.width;let n=Number(e.getAttribute(`width`));return!Number.isNaN(n)&&n>0?n:e.getBBox().width||0}function V(e){let t=A(e);if(t)return t.height;let n=Number(e.getAttribute(`height`));return!Number.isNaN(n)&&n>0?n:e.getBBox().height||0}async function H(e){let t=M(e);d();try{if(document.fonts?.ready)try{await Promise.race([document.fonts.ready,new Promise(e=>setTimeout(e,4e3))])}catch{}let t=L(e),n=A(e),r=n?n.minX:0,i=n?n.minY:0,a=Math.max(1,B(e)),o=Math.max(1,V(e)),s=p(u(e).getPropertyValue(`font-family`)||``),c=(b?null:P(e,a,r,i,s))??0,d=m&&m.value&&m.value.position?String(m.value.position).toLowerCase():`top`;m&&m.value&&m.value.show&&d===`top`&&(c+=F(e,a,r,i+c,s)),R(t,c);let f=0;m&&m.value&&m.value.show&&d===`bottom`&&(f+=F(e,a,r,i+c+o,s)),z(e,c+f),e.style.backgroundColor=v.value??`#FFF`,await g(e,{mode:`raster`}),h(e,l.value.text?-6:-48)}finally{N(t),d()}}async function U(){let e=I(await T());await H(e);let t=`<?xml version="1.0" standalone="no"?>\n${new XMLSerializer().serializeToString(e)}`,n=new Blob([t],{type:`image/svg+xml;charset=utf-8`});return{blob:n,url:URL.createObjectURL(n),text:t,dataUrl:`data:image/svg+xml;charset=utf-8,${encodeURIComponent(t)}`}}async function W(e){let{url:t}=await U(),n=e||l.value?.text||`chart`,r=document.createElement(`a`);r.href=t,r.download=n.endsWith(`.svg`)?n:`${n}.svg`,document.body.appendChild(r),r.click(),document.body.removeChild(r),URL.revokeObjectURL(t)}return{ready:S,getSvg:U,exportSvg:W}}function h(e,t=-50){if(!t)return;let n=e.getAttribute(`viewBox`),r=t=>{if(!t)return;let n=e.getAttribute(`height`);if(!n)return;let r=/^(\d+(\.\d+)?)(px)?$/.exec(n.trim());if(!r)return;let i=parseFloat(r[1])||0,a=Math.max(1,i+t);e.setAttribute(`height`,String(a))};if(n){let i=n.trim().split(/\s+|,/).map(Number);if(i.length!==4||i.some(e=>!Number.isFinite(e)))return;let[a,o,s,c]=i,l=o+t,u=-t,d=Math.max(1,c+u);e.setAttribute(`viewBox`,`${a} ${l} ${s} ${d}`),r(u);return}let i=Number(e.getAttribute(`width`)),a=Number(e.getAttribute(`height`));if(!(i>0&&a>0)){let t=e.getBBox();i=Math.max(1,t.width||1),a=Math.max(1,t.height||1)}let o=t,s=-t,c=Math.max(1,a+s);e.setAttribute(`viewBox`,`0 ${o} ${i} ${c}`),(function(){let t=e.getAttribute(`height`);if(!t)return;let n=/^(\d+(\.\d+)?)(px)?$/.exec(t.trim());if(!n)return;let r=parseFloat(n[1])||0,i=Math.max(1,r+s);e.setAttribute(`height`,String(i))})()}async function g(e,{mode:t=`raster`}={}){let n=Array.from(e.querySelectorAll(`foreignObject`));if(!n.length)return{converted:0,rasterized:0,skipped:0,errors:0};let r=0,i=0,a=0,c=0,l=e=>[`div`,`p`,`span`,`strong`,`em`,`b`,`i`,`br`].includes(e),d=e=>{try{let t=e.firstElementChild;if(!t)return!1;let n=[t];for(;n.length;){let e=n.pop();if(e.nodeType===3)continue;if(e.nodeType!==1)return!1;let t=(e.tagName||``).toLowerCase();if(!l(t)||e.querySelector?.(`img,svg,canvas,video,foreignObject`))return!1;for(let t of Array.from(e.childNodes))n.push(t)}return!0}catch{return!1}};function f(e){try{let t=e.firstElementChild;if(!t)return null;let n=(e,t=0)=>Number.isFinite(+e)?+e:t,r=n(e.getAttribute(`x`),0),i=n(e.getAttribute(`y`),0),a=n(e.getAttribute(`width`),NaN);if(!Number.isFinite(a)||a<=0){let t=e.getBBox?.();a=Math.max(1,n(t?.width,0))}let s=(e,t)=>{if(!e)return Math.round(t*1.2);let n=e.trim().toLowerCase();if(n===`normal`)return Math.round(t*1.2);if(n.endsWith(`px`))return parseFloat(n)||Math.round(t*1.2);if(n.endsWith(`%`))return parseFloat(n)/100*t||Math.round(t*1.2);if(n.endsWith(`em`))return(parseFloat(n)||1)*t;if(n.endsWith(`rem`)){let e=parseFloat(getComputedStyle(document.documentElement).fontSize)||t;return(parseFloat(n)||1)*e}let r=Number(n);return Number.isFinite(r)?r*t:Math.round(t*1.2)},c=e=>{let t=(e||``).split(/\s+/).map(e=>{let t=(e||``).trim().toLowerCase();if(t.endsWith(`px`))return parseFloat(t)||0;if(t.endsWith(`rem`)){let e=parseFloat(getComputedStyle(document.documentElement).fontSize)||16;return(parseFloat(t)||0)*e}if(t.endsWith(`em`)){let e=parseFloat(getComputedStyle(document.body).fontSize)||16;return(parseFloat(t)||0)*e}let n=Number(t);return Number.isFinite(n)?n:0}).filter(Number.isFinite);return t.length?t.length===1?[t[0],t[0],t[0],t[0]]:t.length===2?[t[0],t[1],t[0],t[1]]:t.length===3?[t[0],t[1],t[2],t[1]]:[t[0],t[1],t[2],t[3]]:[0,0,0,0]},l=(e,t)=>{let n=u(e),r=n.getPropertyValue(`font-family`)||t?.ff||`system-ui`;r=p(r);let i=parseFloat(n.getPropertyValue(`font-size`));Number.isFinite(i)||(i=t?.fs||14);let a=n.getPropertyValue(`font-weight`)||t?.fw||`400`,o=n.getPropertyValue(`font-style`)||t?.fsty||`normal`,l=n.getPropertyValue(`font-stretch`)||t?.fstc||`normal`,d=n.getPropertyValue(`letter-spacing`)||t?.lsp||`normal`,f=n.getPropertyValue(`word-spacing`)||t?.wsp||`0px`,m=n.getPropertyValue(`font-kerning`)||t?.kern||`auto`,h=n.getPropertyValue(`font-variant-ligatures`)||t?.liga||`normal`,g=n.getPropertyValue(`text-transform`)||t?.ttfm||`none`,_=n.getPropertyValue(`color`)||t?.fill||`#000`,v=n.getPropertyValue(`line-height`),y=!v||v.trim().toLowerCase()===`normal`?t?.lh??Math.round(i*1.2):s(v,i),b=(n.getPropertyValue(`text-align`)||t?.ta||`start`).trim().toLowerCase(),x=parseFloat(n.getPropertyValue(`padding-top`))||0,S=parseFloat(n.getPropertyValue(`padding-right`))||0,C=parseFloat(n.getPropertyValue(`padding-bottom`))||0,w=parseFloat(n.getPropertyValue(`padding-left`))||0,T=n.getPropertyValue(`padding`);if(T&&x===0&&S===0&&C===0&&w===0){let[e,t,n,r]=c(T);x=e,S=t,C=n,w=r}let E=parseFloat(n.getPropertyValue(`border-left-width`))||0,D=parseFloat(n.getPropertyValue(`border-right-width`))||0,O=n.getPropertyValue(`box-sizing`)||`content-box`;return{ff:r,fs:i,fw:a,fsty:o,fstc:l,lsp:d,wsp:f,kern:m,liga:h,ttfm:g,fill:_,lh:y,ta:b,padL:w,padR:S,padT:x,padB:C,bL:E,bR:D,box:O}},d=e=>/^(div|p|section|article|ul|ol|li|h[1-6])$/.test(e),f={__para__:!0},m={__br__:!0},h=[],g=l(t),_=(e,t,n)=>{if(e.nodeType===3){let r=(e.nodeValue||``).replace(/\s+/g,` `).trim();r&&h.push({text:r,style:t,path:n.slice()});return}if(e.nodeType!==1)return;let r=e.tagName.toLowerCase();if(r===`br`){h.push({...m,path:n.slice()});return}let i=l(e,t);n.push(e);for(let t of Array.from(e.childNodes))_(t,i,n);n.pop(),d(r)&&h.push({...f,path:n.slice()})};for(_(t,g,[t]);h.length&&(h.at(-1).__para__||h.at(-1).__br__);)h.pop();if(!h.length)return null;let v=h.filter(e=>!e.__para__&&!e.__br__),y=(()=>{if(!v.length)return[t];let e=v.map(e=>e.path),n=Math.min(...e.map(e=>e.length)),r=0;for(;r<n;){let t=e[0][r];if(e.every(e=>e[r]===t))r+=1;else break}return e[0].slice(0,Math.max(1,r))})(),b=l(y[y.length-1]||t),x=0,S=0,C=0;for(let e of y){let t=l(e);x+=t.padL,S+=t.padR,C+=t.padT}let w=[Math.max(1,a-x-S)];for(let e of y)try{let t=u(e);if(e.clientWidth&&e.clientWidth>0){let n=parseFloat(t.paddingLeft)||0,r=parseFloat(t.paddingRight)||0,i=Math.max(1,e.clientWidth-n-r);w.push(i)}let n=t.width,r=parseFloat(n);if(Number.isFinite(r)&&r>0){let e=t.boxSizing||t.getPropertyValue(`box-sizing`)||`content-box`,n=parseFloat(t.paddingLeft)||0,i=parseFloat(t.paddingRight)||0,a=parseFloat(t.borderLeftWidth)||0,o=parseFloat(t.borderRightWidth)||0,s=e===`border-box`?Math.max(1,r-n-i-a-o):Math.max(1,r);w.push(s)}}catch{}let T=Math.floor(Math.min(...w.filter(Number.isFinite)))-1;T>0||(T=1);let E=`start`,D=r+x;b.ta===`center`?(E=`middle`,D=r+x+T/2):(b.ta===`right`||b.ta===`end`)&&(E=`end`,D=r+(a-S));let O=e.ownerSVGElement||e.closest(`svg`),k=document.createElementNS(o,`text`);k.setAttribute(`x`,String(D)),k.setAttribute(`y`,String(i+C)),k.setAttribute(`text-anchor`,E),k.setAttribute(`dominant-baseline`,`text-before-edge`),k.setAttribute(`xml:space`,`preserve`);let A=document.createElementNS(o,`text`);A.setAttribute(`x`,`0`),A.setAttribute(`y`,`0`),A.setAttribute(`opacity`,`0`),(O||e).appendChild(A);let j=e=>`font-family:${e.ff}; font-size:${e.fs}px; font-weight:${e.fw}; font-style:${e.fsty}; font-stretch:${e.fstc}; letter-spacing:${e.lsp}; word-spacing:${e.wsp}; font-kerning:${e.kern}; font-variant-ligatures:${e.liga}; text-transform:${e.ttfm};`,M=(e,t)=>(A.textContent=e||``,A.setAttribute(`style`,j(t)),A.getComputedTextLength()),N=e=>M(` `,e),P=[],F=[],I=0,L=()=>{F.length&&P.push({segs:F.slice()}),F=[],I=0},R=(e,t,n)=>{let r=M(e,t);if(n){let e=N(t);r+=e,F.push({text:` `,...t,w:e,isSpace:!0})}F.push({text:e,...t,w:r}),I+=r},z=(e,t,n)=>{let r=``;for(let i of e){let e=r+i;if(M(e,t)<=n)r=e;else break}return r||e[0]||``};for(let e of h){if(e.__para__||e.__br__){L();continue}let t=e.style,n=e.text.split(/(\s+)/).filter(e=>e.length>0),r=(e,n)=>{if(!e)return;let r=Math.max(1,T),i=M(e,t)+(n?N(t):0);if(F.length===0){if(i<=r)R(e,t,!1);else{let n=e;for(;n;){let e=z(n,t,r);R(e,t,!1),n=n.slice(e.length),n&&L()}}}else if(I+i<=r)R(e,t,n);else if(L(),M(e,t)<=r)R(e,t,!1);else{let n=e;for(;n;){let e=z(n,t,r);R(e,t,!1),n=n.slice(e.length),n&&L()}}},i=!1;for(let e of n)/^\s+$/.test(e)?i=!0:(r(e,i),i=!1)}L();for(let e=0;e<P.length;e+=1){let t=P[e].segs,n=Math.max(...t.map(e=>e.fs||b.fs),b.fs),r=!0;for(let i of t){let t=document.createElementNS(o,`tspan`);r&&=(t.setAttribute(`x`,String(D)),e>0&&t.setAttribute(`dy`,String(n)),!1),t.setAttribute(`style`,`${j(i)} fill:${i.fill};`),t.textContent=i.text,k.appendChild(t)}if(!t.length&&e>0){let e=document.createElementNS(o,`tspan`);e.setAttribute(`x`,String(D)),e.setAttribute(`dy`,String(n)),e.textContent=``,k.appendChild(e)}}try{A.remove()}catch{}return k}catch{return null}}let m=e=>{try{let t=document.createElement(`div`);t.style.position=`absolute`,t.style.left=`-99999px`,t.style.top=`-99999px`,t.style.visibility=`hidden`,t.style.pointerEvents=`none`,t.style.width=`auto`,t.style.height=`auto`;let n=e.cloneNode(!0);n.style.width=`auto`,n.style.height=`auto`,n.style.display=`inline-block`,n.style.maxWidth=`none`,n.style.maxHeight=`none`,n.style.boxSizing=`content-box`,document.body.appendChild(t),t.appendChild(n);let r=n.getBoundingClientRect(),i=Math.ceil(r.width||n.scrollWidth||0),a=Math.ceil(r.height||n.scrollHeight||0);return t.remove(),{w:Math.max(1,i),h:Math.max(1,a)}}catch{return{w:0,h:0}}};for(let e of n)try{if(e.hasAttribute(`data-no-svg-export`)){e.remove(),a+=1;continue}if(d(e)){let t=f(e);if(t){e.parentNode.replaceChild(t,e),r+=1;continue}}a+=1}catch{c+=1}if(t===`raster`){let t=Array.from(e.querySelectorAll(`foreignObject`));for(let e of t)try{if(e.hasAttribute(`data-no-svg-export`)){e.remove(),a+=1;continue}await new Promise(e=>requestAnimationFrame(e));let t=e.getBBox(),n=Math.max(1,Math.ceil(t.width)),r=Math.max(1,Math.ceil(t.height)),c=e.firstElementChild;if(c){let t=m(c),i=parseFloat(e.getAttribute(`width`)||`0`)||0,a=parseFloat(e.getAttribute(`height`)||`0`)||0;n=Math.max(n,i,t.w),r=Math.max(r,a,t.h)}if(!(n>0&&r>0)){a+=1;continue}let l=document.createElementNS(o,`svg`);l.setAttribute(`xmlns`,o),l.setAttribute(`xmlns:xlink`,s),l.setAttribute(`width`,String(n)),l.setAttribute(`height`,String(r)),l.setAttribute(`viewBox`,`0 0 ${n} ${r}`);let u=e.cloneNode(!0);u.setAttribute(`x`,`0`),u.setAttribute(`y`,`0`),u.setAttribute(`width`,String(n)),u.setAttribute(`height`,String(r)),l.appendChild(u);let d=new XMLSerializer().serializeToString(l),f=`data:image/svg+xml;charset=utf-8,`+encodeURIComponent(d),p=document.createElement(`canvas`);p.width=Math.max(1,Math.floor(n*2)),p.height=Math.max(1,Math.floor(r*2));let h=p.getContext(`2d`),g=new Image;g.decoding=`sync`,g.crossOrigin=`anonymous`,await new Promise((e,t)=>{g.onload=e,g.onerror=t,g.src=f}),h.drawImage(g,0,0,p.width,p.height);let _=p.toDataURL(`image/png`),v=document.createElementNS(o,`image`);v.setAttributeNS(s,`href`,_),v.setAttribute(`href`,_),v.setAttribute(`x`,e.getAttribute(`x`)||String(t.x)),v.setAttribute(`y`,e.getAttribute(`y`)||String(t.y)),v.setAttribute(`width`,String(n)),v.setAttribute(`height`,String(r)),e.parentNode.replaceChild(v,e),i+=1}catch{c+=1}}return{converted:r,rasterized:i,skipped:a,errors:c}}function _({svg:e,title:n,legend:i,legendItems:a,backgroundColor:o,getSvgCallback:s,generateImage:c,titleEmbedded:l=!1,stretchTitle:u=!1}){let d=r(!1),f=r(!1),{exportSvg:p,getSvg:h}=m({svg:e,title:n,legend:i,legendItems:a,backgroundColor:o,titleEmbedded:l,stretchTitle:u});async function g({isCb:e}){f.value=!0,await t();try{if(e){let{blob:e,url:t,text:n,dataUrl:r}=await h();await Promise.resolve(s()({blob:e,url:t,text:n,dataUrl:r}))}else await Promise.resolve(p())}finally{f.value=!1}}function _(e){e?.stage===`start`?d.value=!0:e?.stage===`end`?d.value=!1:c()}return{isCallbackImaging:d,isCallbackSvg:f,generateSvg:g,onGenerateImage:_}}export{_ as t};