vue-data-ui 3.22.6 → 3.22.8

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 (203) hide show
  1. package/dist/{Arrow-Ds4xmpiQ.js → Arrow-DdymhUfY.js} +1 -1
  2. package/dist/{BaseDraggableDialog-VbypEaAa.js → BaseDraggableDialog-DcfGlH8A.js} +2 -2
  3. package/dist/{BaseIcon-DcUvOfxf.js → BaseIcon-C2qlyHc7.js} +1 -1
  4. package/dist/{BaseLegendToggle-DFwIY5bE.js → BaseLegendToggle-DtQ8vyfr.js} +1 -1
  5. package/dist/{BaseZoomControls-DwolSINF.js → BaseZoomControls-C6zonwhr.js} +2 -2
  6. package/dist/{ColorPicker-UVDPcrjE.js → ColorPicker-CK2-h611.js} +2 -2
  7. package/dist/{DataTable-CXfvIulC.js → DataTable-D9NvewTT.js} +2 -2
  8. package/dist/{Legend-D-635Kag.js → Legend-ROt6ugzW.js} +2 -2
  9. package/dist/{NonSvgPenAndPaper-pR_1qp3s.js → NonSvgPenAndPaper-BHHNsVVP.js} +29 -29
  10. package/dist/{PackageVersion-Da7hl-34.js → PackageVersion-DW7zwRcm.js} +1 -1
  11. package/dist/{PenAndPaper-Bk2-E7V4.js → PenAndPaper-pcgwlYr2.js} +18 -18
  12. package/dist/{Shape-BSetplwm.js → Shape-UpH0a4Ur.js} +3 -3
  13. package/dist/{Slicer-ClIGOuoX.js → Slicer-BZ5VnOOS.js} +19 -19
  14. package/dist/{SlicerPreview-D1n9AW39.js → SlicerPreview-BQFeCw0m.js} +351 -351
  15. package/dist/{SparkTooltip-CjDAyolg.js → SparkTooltip-BTLN-Kex.js} +6 -6
  16. package/dist/{Title-C-p0ilWB.js → Title-CcNiYzEo.js} +1 -1
  17. package/dist/{Tooltip-YabpoXo1.js → Tooltip-CxOrWlFy.js} +1 -1
  18. package/dist/{UserOptions-BO4VFL8O.js → UserOptions-16uF1ayB.js} +2 -2
  19. package/dist/components/arrow.js +1 -1
  20. package/dist/components/vue-ui-3d-bar.js +1 -1
  21. package/dist/components/vue-ui-accordion.js +1 -1
  22. package/dist/components/vue-ui-age-pyramid.js +1 -1
  23. package/dist/components/vue-ui-annotator.js +1 -1
  24. package/dist/components/vue-ui-bullet.js +1 -1
  25. package/dist/components/vue-ui-bump.js +1 -1
  26. package/dist/components/vue-ui-candlestick.js +1 -1
  27. package/dist/components/vue-ui-carousel-table.js +1 -1
  28. package/dist/components/vue-ui-chestnut.js +1 -1
  29. package/dist/components/vue-ui-chord.js +1 -1
  30. package/dist/components/vue-ui-circle-pack.js +1 -1
  31. package/dist/components/vue-ui-cursor.js +1 -1
  32. package/dist/components/vue-ui-dag.js +1 -1
  33. package/dist/components/vue-ui-dashboard.js +1 -1
  34. package/dist/components/vue-ui-digits.js +1 -1
  35. package/dist/components/vue-ui-donut-evolution.js +1 -1
  36. package/dist/components/vue-ui-donut.js +1 -1
  37. package/dist/components/vue-ui-dumbbell.js +1 -1
  38. package/dist/components/vue-ui-flow.js +1 -1
  39. package/dist/components/vue-ui-funnel.js +1 -1
  40. package/dist/components/vue-ui-galaxy.js +1 -1
  41. package/dist/components/vue-ui-gauge.js +1 -1
  42. package/dist/components/vue-ui-geo.js +1 -1
  43. package/dist/components/vue-ui-gizmo.js +1 -1
  44. package/dist/components/vue-ui-heatmap.js +1 -1
  45. package/dist/components/vue-ui-history-plot.js +1 -1
  46. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  47. package/dist/components/vue-ui-icon.js +1 -1
  48. package/dist/components/vue-ui-kpi.js +1 -1
  49. package/dist/components/vue-ui-mini-loader.js +1 -1
  50. package/dist/components/vue-ui-molecule.js +1 -1
  51. package/dist/components/vue-ui-mood-radar.js +1 -1
  52. package/dist/components/vue-ui-nested-donuts.js +1 -1
  53. package/dist/components/vue-ui-onion.js +1 -1
  54. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  55. package/dist/components/vue-ui-quadrant.js +1 -1
  56. package/dist/components/vue-ui-quick-chart.js +1 -1
  57. package/dist/components/vue-ui-radar.js +1 -1
  58. package/dist/components/vue-ui-rating.js +1 -1
  59. package/dist/components/vue-ui-relation-circle.js +1 -1
  60. package/dist/components/vue-ui-ridgeline.js +1 -1
  61. package/dist/components/vue-ui-rings.js +1 -1
  62. package/dist/components/vue-ui-scatter.js +1 -1
  63. package/dist/components/vue-ui-skeleton.js +1 -1
  64. package/dist/components/vue-ui-smiley.js +1 -1
  65. package/dist/components/vue-ui-spark-trend.js +1 -1
  66. package/dist/components/vue-ui-sparkbar.js +1 -1
  67. package/dist/components/vue-ui-sparkgauge.js +1 -1
  68. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  69. package/dist/components/vue-ui-sparkline.js +1 -1
  70. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  71. package/dist/components/vue-ui-stackbar.js +1 -1
  72. package/dist/components/vue-ui-stackline.js +1 -1
  73. package/dist/components/vue-ui-strip-plot.js +1 -1
  74. package/dist/components/vue-ui-table-heatmap.js +1 -1
  75. package/dist/components/vue-ui-table-sparkline.js +1 -1
  76. package/dist/components/vue-ui-table.js +1 -1
  77. package/dist/components/vue-ui-thermometer.js +1 -1
  78. package/dist/components/vue-ui-timer.js +1 -1
  79. package/dist/components/vue-ui-tiremarks.js +1 -1
  80. package/dist/components/vue-ui-treemap.js +1 -1
  81. package/dist/components/vue-ui-vertical-bar.js +1 -1
  82. package/dist/components/vue-ui-waffle.js +1 -1
  83. package/dist/components/vue-ui-wheel.js +1 -1
  84. package/dist/components/vue-ui-word-cloud.js +1 -1
  85. package/dist/components/vue-ui-world.js +1 -1
  86. package/dist/components/vue-ui-xy-canvas.js +1 -1
  87. package/dist/components/vue-ui-xy.js +1 -1
  88. package/dist/{dom-to-png-CVJfsfwL.js → dom-to-png-BbwhsRIr.js} +1 -1
  89. package/dist/exposedLib-VXFp3Z2c.js +19 -0
  90. package/dist/{geoProjections-Czak6Jn1.js → geoProjections-BbN7z57k.js} +172 -15
  91. package/dist/{img-B_y5qDdm.js → img-DnP3eXuv.js} +1 -1
  92. package/dist/{labelUtils-CyVwqXSh.js → labelUtils-DBEh078l.js} +1 -1
  93. package/dist/{lib-DRBJCmHW.js → lib-JqW18y5I.js} +49 -30
  94. package/dist/{package-DyQ_PQis.js → package-gp9pYCfN.js} +1 -1
  95. package/dist/{pdf-CG02qhAH.js → pdf-hj3gzrE7.js} +1 -1
  96. package/dist/{render-common-CUAlQvAQ.js → render-common-CLn1VXJ9.js} +20 -20
  97. package/dist/ssr/vue-ui-donut.js +1 -1
  98. package/dist/ssr/vue-ui-xy.js +1 -1
  99. package/dist/ssr.js +2 -2
  100. package/dist/style.css +1 -1
  101. package/dist/types/utils.d.ts +18 -0
  102. package/dist/{useAutoSizeLabelsInsideViewbox-DPMOys9n.js → useAutoSizeLabelsInsideViewbox-BGnDfZdg.js} +1 -1
  103. package/dist/{useNestedProp-BEo2N1Db.js → useNestedProp-DIuuzG1r.js} +1 -1
  104. package/dist/{usePrinter-CRp5IW3v.js → usePrinter-CqqHmnBI.js} +2 -2
  105. package/dist/utils.js +23 -23
  106. package/dist/{vue-data-ui-Bpu4kxlm.js → vue-data-ui-AZZ9Cq-4.js} +68 -68
  107. package/dist/vue-data-ui.js +77 -77
  108. package/dist/{vue-ui-3d-bar-BAH0jNtT.js → vue-ui-3d-bar-B3HxJmDI.js} +124 -124
  109. package/dist/{vue-ui-accordion-CfMrbDoq.js → vue-ui-accordion-YyosvEPo.js} +3 -3
  110. package/dist/vue-ui-age-pyramid-DTAOc7fn.js +1238 -0
  111. package/dist/{vue-ui-annotator-CG6rhFpy.js → vue-ui-annotator-CfJXeAOE.js} +6 -6
  112. package/dist/vue-ui-bullet-CCLnrOLm.js +710 -0
  113. package/dist/vue-ui-bump-Rq7efdoe.js +1249 -0
  114. package/dist/vue-ui-candlestick-D-Z9pEaA.js +1829 -0
  115. package/dist/vue-ui-carousel-table-Lx5Zk4dG.js +455 -0
  116. package/dist/{vue-ui-chestnut-Cx8T3NEl.js → vue-ui-chestnut-RfWMGUD-.js} +114 -114
  117. package/dist/{vue-ui-chord-B-sauvLo.js → vue-ui-chord-Db1O_diJ.js} +57 -57
  118. package/dist/vue-ui-circle-pack-B4Ro7UuI.js +1608 -0
  119. package/dist/{vue-ui-cursor-DVsEm_4l.js → vue-ui-cursor-DLP7wxsw.js} +61 -61
  120. package/dist/{vue-ui-dag-Cfi0b9qm.js → vue-ui-dag-DL3zq0F2.js} +37 -37
  121. package/dist/{vue-ui-dashboard-F_NZ1xoQ.js → vue-ui-dashboard-C2ozZ-LI.js} +69 -69
  122. package/dist/{vue-ui-digits-BfP1kbj3.js → vue-ui-digits-ThFVNO3l.js} +3 -3
  123. package/dist/{vue-ui-donut-DlVRnVr_.js → vue-ui-donut-BuTd6dt4.js} +224 -224
  124. package/dist/{vue-ui-donut-BwAyvV3-.js → vue-ui-donut-C3Rt6j-I.js} +458 -458
  125. package/dist/vue-ui-donut-evolution-DY46UPF_.js +1510 -0
  126. package/dist/vue-ui-dumbbell-wK7vUB0x.js +1530 -0
  127. package/dist/{vue-ui-flow-D_7Idmmw.js → vue-ui-flow-BTUNfWb7.js} +122 -122
  128. package/dist/vue-ui-funnel-BhoHzyHa.js +777 -0
  129. package/dist/{vue-ui-galaxy-Bjxbg5_B.js → vue-ui-galaxy-DJ2uNYcN.js} +263 -263
  130. package/dist/{vue-ui-gauge-Dt0H7DgC.js → vue-ui-gauge-Cf4NqvrO.js} +226 -226
  131. package/dist/{vue-ui-geo-89DEQb5l.js → vue-ui-geo-ovHu_Sc9.js} +21 -21
  132. package/dist/{vue-ui-gizmo-CQyLK18v.js → vue-ui-gizmo-DDxEj-qe.js} +7 -7
  133. package/dist/{vue-ui-heatmap-o6MvoxBK.js → vue-ui-heatmap-Npqnvb1r.js} +282 -282
  134. package/dist/vue-ui-history-plot-C3Kjy2tc.js +1715 -0
  135. package/dist/vue-ui-horizontal-bar-D1rCsgqt.js +1683 -0
  136. package/dist/{vue-ui-kpi-4C-j92D-.js → vue-ui-kpi-BrlfYO-j.js} +4 -4
  137. package/dist/{vue-ui-mini-loader-Bj4Wv-i8.js → vue-ui-mini-loader-D5we7V_W.js} +2 -2
  138. package/dist/vue-ui-molecule-CExCqZ08.js +925 -0
  139. package/dist/{vue-ui-mood-radar-B5W35Fvp.js → vue-ui-mood-radar-DlVh6hwx.js} +27 -27
  140. package/dist/vue-ui-nested-donuts-3TRV8pN-.js +1487 -0
  141. package/dist/vue-ui-onion-DwKK9DXn.js +1200 -0
  142. package/dist/{vue-ui-parallel-coordinate-plot-DBpHCFxa.js → vue-ui-parallel-coordinate-plot-DSp_cwU-.js} +57 -57
  143. package/dist/vue-ui-quadrant-ByVg-NBs.js +1978 -0
  144. package/dist/{vue-ui-quick-chart-so_8PzvS.js → vue-ui-quick-chart-WMzSJxGZ.js} +188 -188
  145. package/dist/{vue-ui-radar-5fQ5AAWD.js → vue-ui-radar-DE-me6OC.js} +64 -64
  146. package/dist/vue-ui-rating-CzD3EQ3G.js +343 -0
  147. package/dist/vue-ui-relation-circle-L7-dTqet.js +924 -0
  148. package/dist/vue-ui-ridgeline-Cp3YP0xe.js +1622 -0
  149. package/dist/vue-ui-rings-WzWiEo9W.js +1246 -0
  150. package/dist/vue-ui-scatter-DwrAydha.js +2413 -0
  151. package/dist/{vue-ui-skeleton-BkxB6Dik.js → vue-ui-skeleton-CuFm4PtB.js} +58 -58
  152. package/dist/{vue-ui-smiley-C4g0iaF7.js → vue-ui-smiley-D4NnZ1mg.js} +17 -17
  153. package/dist/{vue-ui-spark-trend-0FELlq4x.js → vue-ui-spark-trend-C38ysZ-c.js} +21 -21
  154. package/dist/{vue-ui-sparkbar-D-i_VLO6.js → vue-ui-sparkbar-B03ndcUe.js} +80 -80
  155. package/dist/{vue-ui-sparkgauge-CWw6w_ng.js → vue-ui-sparkgauge-DgPc4vPT.js} +7 -7
  156. package/dist/{vue-ui-sparkhistogram-DuGpkfma.js → vue-ui-sparkhistogram-D02ff7ZI.js} +115 -115
  157. package/dist/{vue-ui-sparkline-Bi06lHQd.js → vue-ui-sparkline-DlTfNQj8.js} +464 -464
  158. package/dist/vue-ui-sparkstackbar-DrmiWFlw.js +662 -0
  159. package/dist/vue-ui-stackbar-BVdApDnY.js +2332 -0
  160. package/dist/vue-ui-stackline-QzQQ7lTy.js +2419 -0
  161. package/dist/vue-ui-strip-plot-C-TFNvgz.js +1729 -0
  162. package/dist/{vue-ui-table-DBlZswRi.js → vue-ui-table-Q3brrivC.js} +68 -68
  163. package/dist/{vue-ui-table-heatmap-3xYIDKcP.js → vue-ui-table-heatmap-D0pZbBOH.js} +14 -14
  164. package/dist/{vue-ui-table-sparkline-BH5PzEnJ.js → vue-ui-table-sparkline-Q6BHPKUn.js} +199 -199
  165. package/dist/{vue-ui-thermometer-BxMzAqoT.js → vue-ui-thermometer-Bg0RR6m4.js} +26 -26
  166. package/dist/{vue-ui-timer-ONSitYDm.js → vue-ui-timer-BdzKpoRj.js} +29 -29
  167. package/dist/{vue-ui-tiremarks-DWXM-9nR.js → vue-ui-tiremarks-DWb69ofh.js} +17 -17
  168. package/dist/{vue-ui-treemap-B03c4RIy.js → vue-ui-treemap-uUz07Prw.js} +401 -401
  169. package/dist/vue-ui-waffle-Pi9e7Ae7.js +1362 -0
  170. package/dist/{vue-ui-wheel-DRP7X8S2.js → vue-ui-wheel-DTfvWYA7.js} +137 -137
  171. package/dist/{vue-ui-word-cloud-AKpMO97a.js → vue-ui-word-cloud-DqfljAqH.js} +40 -40
  172. package/dist/vue-ui-world-BtBrH92Z.js +3016 -0
  173. package/dist/{vue-ui-xy-Bmd11BxR.js → vue-ui-xy-Bvgy2do1.js} +1598 -1596
  174. package/dist/{vue-ui-xy-DJ8YKPgs.js → vue-ui-xy-D5KsuNR2.js} +259 -259
  175. package/dist/{vue-ui-xy-canvas-DO_PDGKf.js → vue-ui-xy-canvas-BfgeE3TW.js} +440 -437
  176. package/package.json +1 -1
  177. package/dist/exposedLib-CjwriUaG.js +0 -19
  178. package/dist/vue-ui-age-pyramid-BF5ZuuyI.js +0 -1238
  179. package/dist/vue-ui-bullet-C_oBS1cr.js +0 -710
  180. package/dist/vue-ui-bump-BZB1Na8h.js +0 -1249
  181. package/dist/vue-ui-candlestick-8d_1xO8X.js +0 -1826
  182. package/dist/vue-ui-carousel-table-BfZNcwmY.js +0 -455
  183. package/dist/vue-ui-circle-pack-BLh8HnGK.js +0 -1608
  184. package/dist/vue-ui-donut-evolution-D1k4u6cA.js +0 -1510
  185. package/dist/vue-ui-dumbbell-DgmvPpK2.js +0 -1530
  186. package/dist/vue-ui-funnel-BYCFV5TD.js +0 -777
  187. package/dist/vue-ui-history-plot-B7zuCfdg.js +0 -1715
  188. package/dist/vue-ui-horizontal-bar-CwB4sc6M.js +0 -1683
  189. package/dist/vue-ui-molecule-BDrRmwmm.js +0 -925
  190. package/dist/vue-ui-nested-donuts-wfesrzle.js +0 -1487
  191. package/dist/vue-ui-onion-B8-psLbF.js +0 -1200
  192. package/dist/vue-ui-quadrant-BzyGOJR2.js +0 -1978
  193. package/dist/vue-ui-rating-CKWHDKOT.js +0 -343
  194. package/dist/vue-ui-relation-circle-Bd_ONHCz.js +0 -924
  195. package/dist/vue-ui-ridgeline-DVbYznRz.js +0 -1622
  196. package/dist/vue-ui-rings-c-yLWFHr.js +0 -1246
  197. package/dist/vue-ui-scatter-QhmE7n1H.js +0 -2413
  198. package/dist/vue-ui-sparkstackbar-DrKgBUmt.js +0 -662
  199. package/dist/vue-ui-stackbar-DDvuDGQ_.js +0 -2329
  200. package/dist/vue-ui-stackline-C0NHBUaE.js +0 -2416
  201. package/dist/vue-ui-strip-plot-_6LL45i9.js +0 -1729
  202. package/dist/vue-ui-waffle-afa8HSxz.js +0 -1362
  203. package/dist/vue-ui-world-CqS-HhZl.js +0 -14264
@@ -0,0 +1,1200 @@
1
+ import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
+ import { $ as t, G as n, J as r, Kt as i, Mt as a, S as o, T as ee, Wt as te, Z as ne, b as re, i as ie, kt as ae, ot as oe, t as se, yt as ce } from "./lib-JqW18y5I.js";
3
+ import { t as le } from "./useConfig-DYM3f6EI.js";
4
+ import { t as ue } from "./usePrinter-CqqHmnBI.js";
5
+ import { n as de, t as fe } from "./BaseScanner-DZvpgOjM.js";
6
+ import { t as pe } from "./useSvgExport-SVIsDot8.js";
7
+ import { t as me } from "./useNestedProp-DIuuzG1r.js";
8
+ import { t as he } from "./useThemeCheck-C43Tcqmk.js";
9
+ import { t as ge } from "./img-DnP3eXuv.js";
10
+ import { n as _e } from "./Title-CcNiYzEo.js";
11
+ import { t as ve } from "./_plugin-vue_export-helper-B3ysoDQm.js";
12
+ import { c as ye } from "./canvas-lib-BOP_HS11.js";
13
+ import { t as be } from "./useResponsive-BfnK0KxU.js";
14
+ import { t as xe } from "./BaseLegendToggle-DtQ8vyfr.js";
15
+ import { t as Se } from "./A11yDataTable-DdRsVULz.js";
16
+ import { t as Ce } from "./useUserOptionState-DK-_1ddE.js";
17
+ import { t as we } from "./useChartAccessibility-DYqac8yF.js";
18
+ import { t as Te } from "./labelUtils-DBEh078l.js";
19
+ import { t as Ee } from "./Legend-ROt6ugzW.js";
20
+ import { t as De } from "./useAutoSizeLabelsInsideViewbox-BGnDfZdg.js";
21
+ import { t as Oe } from "./vue_ui_onion-1FTFFS46.js";
22
+ import { Fragment as s, Teleport as ke, computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createSlots as Ae, createTextVNode as je, createVNode as Me, defineAsyncComponent as p, guardReactiveProps as m, mergeProps as Ne, nextTick as Pe, normalizeClass as Fe, normalizeProps as h, normalizeStyle as g, onBeforeUnmount as Ie, onMounted as Le, openBlock as _, ref as v, renderList as y, renderSlot as b, resolveDynamicComponent as Re, shallowRef as ze, toDisplayString as x, toRefs as Be, unref as S, watch as C, withCtx as w } from "vue";
23
+ //#region src/components/vue-ui-onion.vue
24
+ var Ve = /* @__PURE__ */ e({ default: () => lt }), He = ["id"], Ue = ["id"], We = ["id"], Ge = { style: { position: "relative" } }, Ke = [
25
+ "xmlns",
26
+ "aria-describedby",
27
+ "viewBox"
28
+ ], qe = ["width", "height"], Je = [
29
+ "cx",
30
+ "cy",
31
+ "r",
32
+ "stroke",
33
+ "stroke-width",
34
+ "stroke-dasharray",
35
+ "stroke-dashoffset"
36
+ ], Ye = [
37
+ "cx",
38
+ "cy",
39
+ "r",
40
+ "stroke",
41
+ "stroke-width",
42
+ "stroke-dasharray",
43
+ "stroke-dashoffset"
44
+ ], Xe = ["id"], Ze = ["stdDeviation"], Qe = ["filter"], $e = [
45
+ "cx",
46
+ "cy",
47
+ "r",
48
+ "stroke-width",
49
+ "stroke-dasharray",
50
+ "stroke-dashoffset"
51
+ ], et = [
52
+ "cx",
53
+ "cy",
54
+ "r",
55
+ "stroke-width",
56
+ "stroke-dasharray",
57
+ "stroke-dashoffset",
58
+ "onMouseenter",
59
+ "onMouseleave",
60
+ "onClick"
61
+ ], tt = { key: 2 }, nt = [
62
+ "onMouseenter",
63
+ "onMouseleave",
64
+ "onClick"
65
+ ], rt = [
66
+ "x",
67
+ "y",
68
+ "font-size",
69
+ "fill",
70
+ "font-weight"
71
+ ], it = {
72
+ key: 0,
73
+ style: {
74
+ position: "absolute",
75
+ top: "100%",
76
+ left: "0",
77
+ width: "100%"
78
+ },
79
+ "data-dom-to-png-ignore": "",
80
+ "aria-hidden": "true"
81
+ }, at = {
82
+ key: 5,
83
+ class: "vue-data-ui-watermark"
84
+ }, ot = ["id"], st = ["onClick"], ct = ["innerHTML"], lt = /*#__PURE__*/ ve({
85
+ __name: "vue-ui-onion",
86
+ props: {
87
+ config: {
88
+ type: Object,
89
+ default() {
90
+ return {};
91
+ }
92
+ },
93
+ dataset: {
94
+ type: Array,
95
+ default() {
96
+ return [];
97
+ }
98
+ }
99
+ },
100
+ emits: ["selectLegend", "copyAlt"],
101
+ setup(e, { expose: ve, emit: Ve }) {
102
+ let lt = p(() => import("./Tooltip-CxOrWlFy.js")), ut = p(() => import("./BaseIcon-C2qlyHc7.js").then((e) => e.n)), dt = p(() => import("./vue-ui-accordion-YyosvEPo.js").then((e) => e.n)), ft = p(() => import("./DataTable-D9NvewTT.js")), pt = p(() => import("./UserOptions-16uF1ayB.js").then((e) => e.n)), mt = p(() => import("./PenAndPaper-pcgwlYr2.js").then((e) => e.t)), ht = p(() => import("./PackageVersion-DW7zwRcm.js").then((e) => e.t)), gt = p(() => import("./BaseDraggableDialog-DcfGlH8A.js").then((e) => e.n)), { vue_ui_onion: _t } = le(), { isThemeValid: vt, warnInvalidTheme: yt } = he(), T = e, bt = c(() => !!T.dataset && T.dataset.length), E = v(n()), xt = v(null), St = v(0), D = v(!1), Ct = v(""), O = v([]), k = v(null), wt = v(null), Tt = v(null), Et = v(null), Dt = v(null), Ot = v(0), kt = v(0), At = v(0), A = v(!1), jt = v(!1), j = v(null), Mt = v(!1), Nt = v(!1), M = v(null), Pt = v({
103
+ x: 0,
104
+ y: 0
105
+ }), N = v("pointer"), Ft = v(!1), P = v(Ht()), F = c(() => P.value.userOptions.useCursorPointer), It = c(() => i({
106
+ defaultConfig: {
107
+ userOptions: { show: !1 },
108
+ table: { show: !1 },
109
+ style: { chart: {
110
+ backgroundColor: "#99999930",
111
+ layout: {
112
+ gutter: { color: "#99999950" },
113
+ labels: { show: !1 }
114
+ },
115
+ legend: { backgroundColor: "transparent" }
116
+ } }
117
+ },
118
+ userConfig: P.value.skeletonConfig ?? {}
119
+ })), { loading: I, FINAL_DATASET: Lt, manualLoading: Rt } = de({
120
+ ...Be(T),
121
+ FINAL_CONFIG: P,
122
+ prepareConfig: Ht,
123
+ callback: () => {
124
+ Promise.resolve().then(async () => {
125
+ await Pe(), an();
126
+ });
127
+ },
128
+ skeletonDataset: T.config?.skeletonDataset ?? [
129
+ {
130
+ name: "_",
131
+ percentage: 50,
132
+ value: 1,
133
+ color: "#DBDBDB"
134
+ },
135
+ {
136
+ name: "_",
137
+ percentage: 50,
138
+ value: 1,
139
+ color: "#C4C4C4"
140
+ },
141
+ {
142
+ name: "_",
143
+ percentage: 50,
144
+ value: 1,
145
+ color: "#ADADAD"
146
+ },
147
+ {
148
+ name: "_",
149
+ percentage: 50,
150
+ value: 1,
151
+ color: "#969696"
152
+ }
153
+ ],
154
+ skeletonConfig: i({
155
+ defaultConfig: P.value,
156
+ userConfig: It.value
157
+ })
158
+ }), { userOptionsVisible: zt, setUserOptionsVisibility: Bt, keepUserOptionState: Vt } = Ce({ config: P.value }), { svgRef: L } = we({ config: P.value.style.chart.title });
159
+ function Ht() {
160
+ let e = me({
161
+ userConfig: T.config,
162
+ defaultConfig: _t
163
+ }), t = e.theme;
164
+ if (!t) return e;
165
+ if (!vt.value(e)) return yt(e), e;
166
+ let n = me({
167
+ userConfig: Oe[t] || T.config,
168
+ defaultConfig: e
169
+ }), r = me({
170
+ userConfig: T.config,
171
+ defaultConfig: n
172
+ });
173
+ return {
174
+ ...r,
175
+ customPalette: r.customPalette.length ? r.customPalette : te[t] || a
176
+ };
177
+ }
178
+ C(() => T.config, (e) => {
179
+ I.value || (P.value = Ht()), zt.value = !P.value.userOptions.showOnChartHover, $t(), Ot.value += 1, kt.value += 1, At.value += 1, R.value.showTable = P.value.table.show, R.value.showTooltip = P.value.style.chart.tooltip.show;
180
+ }, { deep: !0 });
181
+ let { isPrinting: Ut, isImaging: Wt, generatePdf: Gt, generateImage: Kt } = ue({
182
+ elementId: `vue-ui-onion_${E.value}`,
183
+ fileName: P.value.style.chart.title.text || "vue-ui-onion",
184
+ options: P.value.userOptions.print
185
+ }), qt = c(() => P.value.userOptions.show && !P.value.style.chart.title.text), Jt = c(() => o(P.value.customPalette)), R = v({
186
+ showTable: P.value.table.show,
187
+ showTooltip: P.value.style.chart.tooltip.show
188
+ });
189
+ C(P, () => {
190
+ R.value = {
191
+ showTable: P.value.table.show,
192
+ showTooltip: P.value.style.chart.tooltip.show
193
+ };
194
+ }, { immediate: !0 });
195
+ let z = v({
196
+ height: 512,
197
+ width: 512,
198
+ padding: {
199
+ top: 64,
200
+ left: 64,
201
+ right: 64,
202
+ bottom: 64
203
+ },
204
+ minRadius: 64
205
+ }), B = ze(null), V = ze(null);
206
+ Le(() => {
207
+ jt.value = !0, $t();
208
+ });
209
+ let Yt = c({
210
+ get: () => P.value.style.chart.layout.labels.fontSize,
211
+ set: (e) => e
212
+ }), { autoSizeLabels: Xt } = De({
213
+ svgRef: L,
214
+ fontSize: P.value.style.chart.layout.labels.fontSize,
215
+ minFontSize: P.value.style.chart.layout.labels.minFontSize,
216
+ sizeRef: Yt,
217
+ labelClass: ".vue-ui-onion-label"
218
+ }), Zt = c(() => P.value.debug), Qt = null;
219
+ function $t() {
220
+ if (ae(T.dataset) && (t({
221
+ componentName: "VueUiOnion",
222
+ type: "dataset",
223
+ debug: Zt.value
224
+ }), Rt.value = !0), ae(T.dataset) || (Rt.value = P.value.loading), P.value.responsive) {
225
+ let e = 64 / 512, t = ye(() => {
226
+ Qt && clearTimeout(Qt), A.value = !0;
227
+ let { width: t, height: n } = be({
228
+ chart: k.value,
229
+ title: P.value.style.chart.title.text ? wt.value : null,
230
+ legend: P.value.style.chart.legend.show ? Tt.value : null,
231
+ source: Et.value,
232
+ noTitle: Dt.value
233
+ });
234
+ n -= 12, requestAnimationFrame(async () => {
235
+ z.value.width = t, z.value.height = n, z.value.padding.top = Math.max(t, n) * e, z.value.padding.right = Math.max(t, n) * e, z.value.padding.bottom = Math.max(t, n) * e, z.value.padding.left = Math.max(t, n) * e, z.value.minRadius = Math.min(t, n) * e, Qt = setTimeout(() => {
236
+ A.value = !1, Xt();
237
+ }, 0);
238
+ });
239
+ });
240
+ B.value && (V.value && B.value.unobserve(V.value), B.value.disconnect()), B.value = new ResizeObserver(t), V.value = k.value.parentNode, B.value.observe(V.value);
241
+ }
242
+ requestAnimationFrame(Xt);
243
+ }
244
+ Ie(() => {
245
+ B.value && (V.value && B.value.unobserve(V.value), B.value.disconnect());
246
+ });
247
+ let H = c(() => ({
248
+ top: z.value.padding.top,
249
+ left: z.value.padding.left,
250
+ right: z.value.width - z.value.padding.right,
251
+ bottom: z.value.height - z.value.padding.bottom,
252
+ centerX: z.value.width / 2,
253
+ centerY: z.value.height / 2,
254
+ width: z.value.width - z.value.padding.right - z.value.padding.left,
255
+ height: z.value.height - z.value.padding.bottom - z.value.padding.top,
256
+ minRadius: z.value.minRadius,
257
+ maxRadius: Math.min(z.value.width, z.value.height) - z.value.padding.top * 2
258
+ })), U = c(() => (Lt.value.forEach((e, n) => {
259
+ [null, void 0].includes(e.name) && t({
260
+ componentName: "VueUiOnion",
261
+ type: "datasetSerieAttribute",
262
+ property: "name",
263
+ index: n
264
+ }), [void 0].includes(e.percentage) && t({
265
+ componentName: "VueUiOnion",
266
+ type: "datasetSerieAttribute",
267
+ property: "percentage",
268
+ index: n
269
+ });
270
+ }), Lt.value.map((e, t) => {
271
+ let n = `onion_serie_${t}_${E.value}`;
272
+ return {
273
+ ...e,
274
+ percentage: e.percentage || 0,
275
+ targetPercentage: e.percentage || 0,
276
+ color: re(e.color) || Jt.value[t] || a[t],
277
+ id: n,
278
+ shape: "circle",
279
+ opacity: O.value.includes(n) ? .5 : 1,
280
+ absoluteIndex: t,
281
+ segregate: () => dn(n),
282
+ isSegregated: O.value.includes(n)
283
+ };
284
+ }))), W = c(() => U.value.map((e, t) => {
285
+ let n = P.value.style.chart.legend.showValue, i = P.value.style.chart.legend.showPercentage, a = xn({
286
+ showVal: n,
287
+ showPercentage: i,
288
+ val: ie(P.value.style.chart.layout.labels.value.formatter, e.value, r({
289
+ p: e.prefix || "",
290
+ v: e.value,
291
+ s: e.suffix || "",
292
+ r: P.value.style.chart.legend.roundingValue
293
+ })),
294
+ percentage: r({
295
+ v: e.percentage ?? 0,
296
+ s: "%",
297
+ r: P.value.style.chart.legend.roundingPercentage
298
+ }),
299
+ config: P.value.style.chart.legend
300
+ });
301
+ return {
302
+ ...e,
303
+ display: `${e.name}${n || i ? ": " : ""}${a}`
304
+ };
305
+ })), G = v(U.value), en = c(() => P.value.useStartAnimation), tn = v(null), nn = c(() => Math.max(...U.value.map((e) => e.percentage))), rn = v(!1);
306
+ C(() => U.value, an, {
307
+ immediate: !0,
308
+ deep: !0
309
+ }), C(() => T.dataset, (e) => {
310
+ Array.isArray(e) && e.length > 0 && (Rt.value = !1);
311
+ }, { deep: !0 });
312
+ function an() {
313
+ if (en.value && !rn.value && !I.value) {
314
+ G.value = U.value.map((e) => ({
315
+ ...e,
316
+ percentage: 0
317
+ }));
318
+ let e = 0;
319
+ function t() {
320
+ e >= nn.value ? (cancelAnimationFrame(tn.value), G.value = U.value, rn.value = !0) : (G.value = U.value.map((t) => ({
321
+ ...t,
322
+ percentage: e < t.targetPercentage ? e : t.targetPercentage
323
+ })), e += 1, requestAnimationFrame(t), rn.value = !0);
324
+ }
325
+ t();
326
+ } else G.value = U.value;
327
+ }
328
+ let on = c(() => ({
329
+ cy: "onion-div-legend",
330
+ backgroundColor: P.value.style.chart.legend.backgroundColor,
331
+ color: P.value.style.chart.legend.color,
332
+ fontSize: P.value.style.chart.legend.fontSize,
333
+ paddingBottom: 12,
334
+ fontWeight: P.value.style.chart.legend.bold ? "bold" : ""
335
+ })), sn = c(() => U.value.filter((e) => !O.value.includes(e.id)).length), K = c(() => {
336
+ let e = Math.min(H.value.width, H.value.height) / 2 / U.value.length;
337
+ return {
338
+ gutter: (e > P.value.style.chart.layout.maxThickness ? P.value.style.chart.layout.maxThickness : e) * P.value.style.chart.layout.gutter.width,
339
+ track: (e > P.value.style.chart.layout.maxThickness ? P.value.style.chart.layout.maxThickness : e) * P.value.style.chart.layout.track.width
340
+ };
341
+ }), q = c(() => G.value.filter((e) => !O.value.includes(e.id)).map((e, t) => {
342
+ let n = (H.value.maxRadius - K.value.track) / sn.value / 2 * (1 + t), r = H.value.centerY - n;
343
+ return {
344
+ percentage: e.percentage || 0,
345
+ ...e,
346
+ labelY: r,
347
+ radius: n,
348
+ path: cn(n, e.percentage || 0)
349
+ };
350
+ }));
351
+ function cn(e, t) {
352
+ let n = 2 * Math.PI * e, r = n * .75, i = `${r} ${n}`, a = r * (1 - t / 100);
353
+ return {
354
+ bgDashArray: `${r} ${n}`,
355
+ bgDashOffset: 0,
356
+ dashArray: i,
357
+ dashOffset: a,
358
+ fullOffset: 0,
359
+ active: `
360
+ M ${H.value.centerX},${H.value.centerY - e}
361
+ A ${e},${e} 0 1 1
362
+ ${H.value.centerX + e * Math.cos(Math.PI * 3 / 4)},${H.value.centerY + e * Math.sin(Math.PI * 3 / 4)}
363
+ `.trim()
364
+ };
365
+ }
366
+ let ln = Ve;
367
+ function un() {
368
+ O.value.length ? O.value = [] : W.value.forEach((e) => {
369
+ O.value.push(e.id);
370
+ }), ln("selectLegend", q.value);
371
+ }
372
+ function dn(e) {
373
+ if (O.value.includes(e)) O.value = O.value.filter((t) => t !== e);
374
+ else {
375
+ if (O.value.length === U.value.length - 1) return;
376
+ O.value.push(e);
377
+ }
378
+ ln("selectLegend", q.value);
379
+ }
380
+ function fn(e) {
381
+ return U.value.length ? U.value.find((t) => t.name === e) || (P.value.debug && console.warn(`VueUiOnion - Series name not found "${e}"`), null) : (P.value.debug && console.warn("VueUiOnion - There are no series to show."), null);
382
+ }
383
+ function pn(e) {
384
+ let t = fn(e);
385
+ t !== null && O.value.includes(t.id) && dn(t.id);
386
+ }
387
+ function mn(e) {
388
+ let t = fn(e);
389
+ t !== null && (O.value.includes(t.id) || dn(t.id));
390
+ }
391
+ function hn() {
392
+ return q.value;
393
+ }
394
+ let gn = c(() => ({
395
+ head: [
396
+ P.value.table.translations.serie,
397
+ P.value.table.translations.percentage,
398
+ P.value.table.translations.value
399
+ ],
400
+ body: q.value.map((e) => [
401
+ e.name,
402
+ e.percentage,
403
+ e.value
404
+ ])
405
+ })), J = c(() => {
406
+ let e = gn.value.head;
407
+ return {
408
+ head: e,
409
+ body: q.value.map((e) => [
410
+ `<span style="color:${e.color}" aria-hidden="true">⬤</span> ${e.name}`,
411
+ `${Number(e.percentage ?? 0).toFixed(P.value.table.td.roundingPercentage).toLocaleString()}%`,
412
+ `${e.prefix || ""}${[
413
+ null,
414
+ void 0,
415
+ NaN,
416
+ "NaN"
417
+ ].includes(e.value) ? "-" : e.value.toFixed(P.value.table.td.roundingValue).toLocaleString()}${e.suffix || ""}`
418
+ ]),
419
+ config: {
420
+ th: {
421
+ backgroundColor: P.value.table.th.backgroundColor,
422
+ color: P.value.table.th.color,
423
+ outline: P.value.table.th.outline
424
+ },
425
+ td: {
426
+ backgroundColor: P.value.table.td.backgroundColor,
427
+ color: P.value.table.td.color,
428
+ outline: P.value.table.td.outline
429
+ },
430
+ breakpoint: P.value.table.responsiveBreakpoint
431
+ },
432
+ colNames: e
433
+ };
434
+ });
435
+ function _n(e = null) {
436
+ Pe(() => {
437
+ let t = [
438
+ [P.value.style.chart.title.text],
439
+ [P.value.style.chart.title.subtitle.text],
440
+ [""]
441
+ ], n = gn.value.head, r = gn.value.body, i = ee(t.concat([n]).concat(r));
442
+ e ? e(i) : ne({
443
+ csvContent: i,
444
+ title: P.value.style.chart.title.text || "vue-ui-onion"
445
+ });
446
+ });
447
+ }
448
+ let Y = v(void 0), X = v(!1);
449
+ function vn(e) {
450
+ X.value = e, St.value += 1;
451
+ }
452
+ function yn({ datapoint: e }) {
453
+ P.value.events.datapointClick && P.value.events.datapointClick({
454
+ datapoint: e,
455
+ seriesIndex: e.absoluteIndex
456
+ });
457
+ }
458
+ function bn({ datapoint: e }) {
459
+ Y.value = void 0, D.value = !1, M.value = null, N.value = "pointer", P.value.events.datapointLeave && P.value.events.datapointLeave({
460
+ datapoint: e,
461
+ seriesIndex: e.absoluteIndex
462
+ });
463
+ }
464
+ function xn({ val: e, percentage: t, showVal: n, showPercentage: r, config: i }) {
465
+ return Te({
466
+ config: i,
467
+ val: e,
468
+ percentage: t,
469
+ showVal: n,
470
+ showPercentage: r
471
+ });
472
+ }
473
+ function Sn(e, t) {
474
+ let n = P.value.style.chart.layout.labels.value.show, i = P.value.style.chart.layout.labels.percentage.show, a = xn({
475
+ config: P.value.style.chart.layout.labels,
476
+ showVal: n,
477
+ showPercentage: i,
478
+ val: ie(P.value.style.chart.layout.labels.value.formatter, e.value, r({
479
+ p: e.prefix || "",
480
+ v: e.value || 0,
481
+ s: e.suffix || "",
482
+ r: P.value.style.chart.layout.labels.roundingValue
483
+ }), {
484
+ datapoint: e,
485
+ seriesIndex: t
486
+ }),
487
+ percentage: r({
488
+ v: e.percentage,
489
+ s: "%",
490
+ r: P.value.style.chart.layout.labels.roundingPercentage
491
+ })
492
+ });
493
+ return `${e.name}${n || i ? ": " : ""}${a}`;
494
+ }
495
+ let Z = v(null);
496
+ function Cn({ datapoint: e, seriesIndex: t, show: n = !0, triggerMode: i = "pointer" }) {
497
+ P.value.events.datapointEnter && P.value.events.datapointEnter({
498
+ datapoint: e,
499
+ seriesIndex: e.absoluteIndex
500
+ }), N.value = i, M.value = t;
501
+ let a = e.absoluteIndex;
502
+ Y.value = t, Z.value = {
503
+ datapoint: e,
504
+ seriesIndex: a,
505
+ series: U.value,
506
+ config: P.value
507
+ }, D.value = n;
508
+ let o = "", ee = P.value.style.chart.tooltip.customFormat;
509
+ if (ce(ee) && oe(() => ee({
510
+ seriesIndex: a,
511
+ datapoint: e,
512
+ series: U.value,
513
+ config: P.value
514
+ }))) Ct.value = ee({
515
+ seriesIndex: a,
516
+ datapoint: e,
517
+ series: U.value,
518
+ config: P.value
519
+ });
520
+ else {
521
+ let n = P.value.style.chart.tooltip.showPercentage, i = P.value.style.chart.tooltip.showValue;
522
+ o += `<div style="width:100%;text-align:center;border-bottom:1px solid ${P.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${e.name}</div>`, o += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 60 60" height="14" width="14"><circle cx="30" cy="30" r="30" stroke="none" fill="${e.color}"/></svg>`, o += `<b>${xn({
523
+ config: P.value.style.chart.tooltip,
524
+ showVal: i,
525
+ showPercentage: n,
526
+ val: `<span>${ie(P.value.style.chart.layout.labels.value.formatter, e.value, r({
527
+ p: e.prefix || "",
528
+ v: e.value,
529
+ s: e.suffix || "",
530
+ r: P.value.style.chart.tooltip.roundingValue
531
+ }), {
532
+ datapoint: e,
533
+ seriesIndex: t
534
+ })}</span>`,
535
+ percentage: r({
536
+ v: e.percentage,
537
+ s: "%",
538
+ r: P.value.style.chart.tooltip.roundingPercentage
539
+ })
540
+ })}</b></div>`, Ct.value = `<div>${o}</div>`;
541
+ }
542
+ }
543
+ function wn() {
544
+ R.value.showTable = !R.value.showTable;
545
+ }
546
+ function Tn() {
547
+ R.value.showTooltip = !R.value.showTooltip;
548
+ }
549
+ let Q = v(!1);
550
+ function En() {
551
+ Q.value = !Q.value;
552
+ }
553
+ async function Dn({ scale: e = 2 } = {}) {
554
+ if (!k.value) return;
555
+ let { width: t, height: n } = k.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await ge({
556
+ domElement: k.value,
557
+ base64: !0,
558
+ img: !0,
559
+ scale: e
560
+ });
561
+ return {
562
+ imageUri: i,
563
+ base64: a,
564
+ title: P.value.style.chart.title.text,
565
+ width: t,
566
+ height: n,
567
+ aspectRatio: r
568
+ };
569
+ }
570
+ let $ = c(() => {
571
+ let e = P.value.table.useDialog && !P.value.table.show, t = R.value.showTable;
572
+ return {
573
+ component: e ? gt : dt,
574
+ title: `${P.value.style.chart.title.text}${P.value.style.chart.title.subtitle.text ? `: ${P.value.style.chart.title.subtitle.text}` : ""}`,
575
+ props: e ? {
576
+ backgroundColor: P.value.table.th.backgroundColor,
577
+ color: P.value.table.th.color,
578
+ headerColor: P.value.table.th.color,
579
+ headerBg: P.value.table.th.backgroundColor,
580
+ isFullscreen: X.value,
581
+ fullscreenParent: k.value,
582
+ forcedWidth: Math.min(600, window.innerWidth * .8),
583
+ isCursorPointer: F.value
584
+ } : {
585
+ hideDetails: !0,
586
+ config: {
587
+ open: t,
588
+ maxHeight: 1e4,
589
+ body: {
590
+ backgroundColor: P.value.style.chart.backgroundColor,
591
+ color: P.value.style.chart.color
592
+ },
593
+ head: {
594
+ backgroundColor: P.value.style.chart.backgroundColor,
595
+ color: P.value.style.chart.color
596
+ }
597
+ }
598
+ }
599
+ };
600
+ });
601
+ C(() => R.value.showTable, (e) => {
602
+ P.value.table.show || (e && P.value.table.useDialog && j.value ? j.value.open() : "close" in j.value && j.value.close());
603
+ });
604
+ let On = c(() => W.value.map((e) => ({
605
+ ...e,
606
+ name: e.display
607
+ }))), kn = c(() => P.value.style.chart.backgroundColor), An = c(() => P.value.style.chart.legend), { exportSvg: jn, getSvg: Mn } = pe({
608
+ svg: L,
609
+ title: c(() => P.value.style.chart.title),
610
+ legend: An,
611
+ legendItems: On,
612
+ backgroundColor: kn
613
+ });
614
+ async function Nn({ isCb: e }) {
615
+ Nt.value = !0, await Pe();
616
+ try {
617
+ if (e) {
618
+ let { blob: e, url: t, text: n, dataUrl: r } = await Mn();
619
+ await Promise.resolve(P.value.userOptions.callbacks.svg({
620
+ blob: e,
621
+ url: t,
622
+ text: n,
623
+ dataUrl: r
624
+ }));
625
+ } else await Promise.resolve(jn());
626
+ } finally {
627
+ Nt.value = !1;
628
+ }
629
+ }
630
+ function Pn(e) {
631
+ if (e?.stage === "start") {
632
+ Mt.value = !0;
633
+ return;
634
+ }
635
+ if (e?.stage === "end") {
636
+ Mt.value = !1;
637
+ return;
638
+ }
639
+ Kt();
640
+ }
641
+ async function Fn() {
642
+ if (ln("copyAlt", {
643
+ config: P.value,
644
+ dataset: q.value
645
+ }), !P.value.userOptions.callbacks.altCopy) {
646
+ console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
647
+ return;
648
+ }
649
+ await Promise.resolve(P.value.userOptions.callbacks.altCopy({
650
+ config: P.value,
651
+ dataset: q.value
652
+ }));
653
+ }
654
+ function In() {
655
+ M.value = null, Ft.value = !0;
656
+ }
657
+ function Ln() {
658
+ M.value = null, N.value = "pointer", D.value = !1, Y.value = void 0, Ft.value = !1;
659
+ }
660
+ function Rn(e) {
661
+ if (!L.value || Q.value || document.activeElement !== L.value || !q.value.length) return;
662
+ let t = ["ArrowLeft", "ArrowDown"].includes(e.key), n = ["ArrowRight", "ArrowUp"].includes(e.key), r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
663
+ if (!t && !n && !r && !i) return;
664
+ if (e.preventDefault(), e.stopPropagation(), i) {
665
+ M.value = null, N.value = "pointer", D.value = !1, Y.value = void 0;
666
+ return;
667
+ }
668
+ if (r) {
669
+ if (M.value === null) return;
670
+ let e = q.value[M.value];
671
+ if (!e) return;
672
+ yn({ datapoint: e });
673
+ return;
674
+ }
675
+ let a = M.value;
676
+ 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));
677
+ let o = q.value[a];
678
+ o && (zn(a), Cn({
679
+ datapoint: o,
680
+ seriesIndex: a,
681
+ show: !0,
682
+ triggerMode: "keyboard"
683
+ }));
684
+ }
685
+ function zn(e) {
686
+ if (!Number.isFinite(e) || !L.value) return;
687
+ let t = q.value[e];
688
+ if (!t) return;
689
+ let n = t.radius, r = Math.PI * 7 / 4, i = H.value.centerX + n * Math.cos(r), a = H.value.centerY + n * Math.sin(r), o = L.value.getBoundingClientRect();
690
+ Pt.value = {
691
+ x: o.left + i / z.value.width * o.width,
692
+ y: o.top + a / z.value.height * o.height
693
+ };
694
+ }
695
+ let Bn = c(() => ({
696
+ headers: J.value?.colNames ?? [],
697
+ rows: J.value?.body ?? []
698
+ }));
699
+ return ve({
700
+ getData: hn,
701
+ getImage: Dn,
702
+ generatePdf: Gt,
703
+ generateCsv: _n,
704
+ generateImage: Kt,
705
+ generateSvg: Nn,
706
+ hideSeries: mn,
707
+ showSeries: pn,
708
+ toggleTable: wn,
709
+ toggleTooltip: Tn,
710
+ toggleAnnotator: En,
711
+ toggleFullscreen: vn,
712
+ copyAlt: Fn
713
+ }), (e, t) => (_(), d("div", {
714
+ class: Fe(`vue-data-ui-component vue-ui-onion ${X.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${P.value.useCssAnimation ? "" : "vue-ui-dna"}`),
715
+ ref_key: "onionChart",
716
+ ref: k,
717
+ id: `vue-ui-onion_${E.value}`,
718
+ style: g(`font-family:${P.value.style.fontFamily};width:100%; ${P.value.responsive ? "height: 100%;" : ""} text-align:center;background:${P.value.style.chart.backgroundColor}`),
719
+ onMouseenter: t[4] ||= () => S(Bt)(!0),
720
+ onMouseleave: t[5] ||= () => S(Bt)(!1)
721
+ }, [
722
+ f("div", {
723
+ id: `chart-instructions-${E.value}`,
724
+ class: "sr-only"
725
+ }, [f("p", null, x(P.value.a11y.translations.keyboardNavigation), 1)], 8, Ue),
726
+ Bn.value?.rows?.length ? (_(), l(Se, {
727
+ key: 0,
728
+ uid: E.value,
729
+ head: Bn.value.headers,
730
+ body: Bn.value.rows,
731
+ notice: P.value.a11y.translations.tableAvailable,
732
+ caption: P.value.a11y.translations.tableCaption
733
+ }, null, 8, [
734
+ "uid",
735
+ "head",
736
+ "body",
737
+ "notice",
738
+ "caption"
739
+ ])) : u("", !0),
740
+ P.value.userOptions.buttons.annotator ? (_(), l(S(mt), {
741
+ key: 1,
742
+ svgRef: S(L),
743
+ backgroundColor: P.value.style.chart.backgroundColor,
744
+ color: P.value.style.chart.color,
745
+ active: Q.value,
746
+ isCursorPointer: F.value,
747
+ onClose: En
748
+ }, {
749
+ "annotator-action-close": w(() => [b(e.$slots, "annotator-action-close", {}, void 0, !0)]),
750
+ "annotator-action-color": w(({ color: t }) => [b(e.$slots, "annotator-action-color", h(m({ color: t })), void 0, !0)]),
751
+ "annotator-action-draw": w(({ mode: t }) => [b(e.$slots, "annotator-action-draw", h(m({ mode: t })), void 0, !0)]),
752
+ "annotator-action-undo": w(({ disabled: t }) => [b(e.$slots, "annotator-action-undo", h(m({ disabled: t })), void 0, !0)]),
753
+ "annotator-action-redo": w(({ disabled: t }) => [b(e.$slots, "annotator-action-redo", h(m({ disabled: t })), void 0, !0)]),
754
+ "annotator-action-delete": w(({ disabled: t }) => [b(e.$slots, "annotator-action-delete", h(m({ disabled: t })), void 0, !0)]),
755
+ _: 3
756
+ }, 8, [
757
+ "svgRef",
758
+ "backgroundColor",
759
+ "color",
760
+ "active",
761
+ "isCursorPointer"
762
+ ])) : u("", !0),
763
+ qt.value ? (_(), d("div", {
764
+ key: 2,
765
+ ref_key: "noTitle",
766
+ ref: Dt,
767
+ class: "vue-data-ui-no-title-space",
768
+ style: "height:36px; width: 100%;background:transparent"
769
+ }, null, 512)) : u("", !0),
770
+ P.value.style.chart.title.text ? (_(), d("div", {
771
+ key: 3,
772
+ ref_key: "chartTitle",
773
+ ref: wt,
774
+ style: "width:100%;background:transparent"
775
+ }, [(_(), l(_e, {
776
+ key: `title_${Ot.value}`,
777
+ config: {
778
+ title: {
779
+ cy: "onion-div-title",
780
+ ...P.value.style.chart.title
781
+ },
782
+ subtitle: {
783
+ cy: "onion-div-subtitle",
784
+ ...P.value.style.chart.title.subtitle
785
+ }
786
+ }
787
+ }, null, 8, ["config"]))], 512)) : u("", !0),
788
+ f("div", { id: `legend-top-${E.value}` }, null, 8, We),
789
+ P.value.userOptions.show && bt.value && (S(Vt) || S(zt)) ? (_(), l(S(pt), {
790
+ ref_key: "details",
791
+ ref: xt,
792
+ key: `user_options${St.value}`,
793
+ backgroundColor: P.value.style.chart.backgroundColor,
794
+ color: P.value.style.chart.color,
795
+ isImaging: S(Wt),
796
+ isPrinting: S(Ut),
797
+ uid: E.value,
798
+ hasTooltip: P.value.userOptions.buttons.tooltip && P.value.style.chart.tooltip.show,
799
+ hasPdf: P.value.userOptions.buttons.pdf,
800
+ hasImg: P.value.userOptions.buttons.img,
801
+ hasSvg: P.value.userOptions.buttons.svg,
802
+ hasXls: P.value.userOptions.buttons.csv,
803
+ hasTable: P.value.userOptions.buttons.table,
804
+ hasFullscreen: P.value.userOptions.buttons.fullscreen,
805
+ hasAltCopy: P.value.userOptions.buttons.altCopy,
806
+ isFullscreen: X.value,
807
+ isTooltip: R.value.showTooltip,
808
+ titles: { ...P.value.userOptions.buttonTitles },
809
+ chartElement: k.value,
810
+ position: P.value.userOptions.position,
811
+ hasAnnotator: P.value.userOptions.buttons.annotator,
812
+ isAnnotation: Q.value,
813
+ callbacks: P.value.userOptions.callbacks,
814
+ printScale: P.value.userOptions.print.scale,
815
+ tableDialog: P.value.table.useDialog,
816
+ isCursorPointer: F.value,
817
+ onToggleFullscreen: vn,
818
+ onGeneratePdf: S(Gt),
819
+ onGenerateCsv: _n,
820
+ onGenerateImage: Pn,
821
+ onGenerateSvg: Nn,
822
+ onToggleTable: wn,
823
+ onToggleTooltip: Tn,
824
+ onToggleAnnotator: En,
825
+ onCopyAlt: Fn,
826
+ style: g({ visibility: S(Vt) ? S(zt) ? "visible" : "hidden" : "visible" })
827
+ }, Ae({ _: 2 }, [
828
+ e.$slots.menuIcon ? {
829
+ name: "menuIcon",
830
+ fn: w(({ isOpen: t, color: n }) => [b(e.$slots, "menuIcon", h(m({
831
+ isOpen: t,
832
+ color: n
833
+ })), void 0, !0)]),
834
+ key: "0"
835
+ } : void 0,
836
+ e.$slots.optionTooltip ? {
837
+ name: "optionTooltip",
838
+ fn: w(() => [b(e.$slots, "optionTooltip", {}, void 0, !0)]),
839
+ key: "1"
840
+ } : void 0,
841
+ e.$slots.optionPdf ? {
842
+ name: "optionPdf",
843
+ fn: w(() => [b(e.$slots, "optionPdf", {}, void 0, !0)]),
844
+ key: "2"
845
+ } : void 0,
846
+ e.$slots.optionCsv ? {
847
+ name: "optionCsv",
848
+ fn: w(() => [b(e.$slots, "optionCsv", {}, void 0, !0)]),
849
+ key: "3"
850
+ } : void 0,
851
+ e.$slots.optionImg ? {
852
+ name: "optionImg",
853
+ fn: w(() => [b(e.$slots, "optionImg", {}, void 0, !0)]),
854
+ key: "4"
855
+ } : void 0,
856
+ e.$slots.optionSvg ? {
857
+ name: "optionSvg",
858
+ fn: w(() => [b(e.$slots, "optionSvg", {}, void 0, !0)]),
859
+ key: "5"
860
+ } : void 0,
861
+ e.$slots.optionTable ? {
862
+ name: "optionTable",
863
+ fn: w(() => [b(e.$slots, "optionTable", {}, void 0, !0)]),
864
+ key: "6"
865
+ } : void 0,
866
+ e.$slots.optionFullscreen ? {
867
+ name: "optionFullscreen",
868
+ fn: w(({ toggleFullscreen: t, isFullscreen: n }) => [b(e.$slots, "optionFullscreen", h(m({
869
+ toggleFullscreen: t,
870
+ isFullscreen: n
871
+ })), void 0, !0)]),
872
+ key: "7"
873
+ } : void 0,
874
+ e.$slots.optionAnnotator ? {
875
+ name: "optionAnnotator",
876
+ fn: w(({ toggleAnnotator: t, isAnnotator: n }) => [b(e.$slots, "optionAnnotator", h(m({
877
+ toggleAnnotator: t,
878
+ isAnnotator: n
879
+ })), void 0, !0)]),
880
+ key: "8"
881
+ } : void 0,
882
+ e.$slots.optionAltCopy ? {
883
+ name: "optionAltCopy",
884
+ fn: w(({ altCopy: t }) => [b(e.$slots, "optionAltCopy", h(m({ altCopy: t })), void 0, !0)]),
885
+ key: "9"
886
+ } : void 0,
887
+ e.$slots["custom-menu-before"] ? {
888
+ name: "custom-menu-before",
889
+ fn: w(() => [b(e.$slots, "custom-menu-before", {}, void 0, !0)]),
890
+ key: "10"
891
+ } : void 0,
892
+ e.$slots["custom-menu-after"] ? {
893
+ name: "custom-menu-after",
894
+ fn: w(() => [b(e.$slots, "custom-menu-after", {}, void 0, !0)]),
895
+ key: "11"
896
+ } : void 0
897
+ ]), 1032, /* @__PURE__ */ "backgroundColor.color.isImaging.isPrinting.uid.hasTooltip.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasFullscreen.hasAltCopy.isFullscreen.isTooltip.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.style".split("."))) : u("", !0),
898
+ f("div", Ge, [(_(), d("svg", {
899
+ ref_key: "svgRef",
900
+ ref: L,
901
+ xmlns: S(se),
902
+ "aria-describedby": `chart-instructions-${E.value}`,
903
+ class: Fe({
904
+ "vue-data-ui-fullscreen--on": X.value,
905
+ "vue-data-ui-fulscreen--off": !X.value,
906
+ resizing: A.value
907
+ }),
908
+ viewBox: `0 0 ${z.value.width <= 0 ? 10 : z.value.width} ${z.value.height <= 0 ? 10 : z.value.height}`,
909
+ style: g(`max-width:100%;overflow:visible;background:transparent;color:${P.value.style.chart.color}`),
910
+ tabindex: "0",
911
+ onFocus: In,
912
+ onBlur: Ln,
913
+ onKeydown: Rn
914
+ }, [
915
+ Me(S(ht)),
916
+ e.$slots["chart-background"] ? (_(), d("foreignObject", {
917
+ key: 0,
918
+ x: 0,
919
+ y: 0,
920
+ width: z.value.width <= 0 ? 10 : z.value.width,
921
+ height: z.value.height <= 0 ? 10 : z.value.height,
922
+ style: { pointerEvents: "none" }
923
+ }, [b(e.$slots, "chart-background", {}, void 0, !0)], 8, qe)) : u("", !0),
924
+ (_(!0), d(s, null, y(q.value, (e, t) => (_(), d("circle", {
925
+ cx: H.value.centerX,
926
+ cy: H.value.centerY,
927
+ r: e.radius <= 0 ? 1e-4 : e.radius,
928
+ stroke: P.value.style.chart.layout.gutter.color,
929
+ "stroke-width": K.value.gutter,
930
+ fill: "none",
931
+ "stroke-dasharray": e.path.bgDashArray,
932
+ "stroke-dashoffset": e.path.fullOffset,
933
+ "stroke-linecap": "round",
934
+ class: Fe({
935
+ "vue-ui-onion-path": !0,
936
+ "vue-ui-onion-blur": P.value.useBlurOnHover && ![null, void 0].includes(Y.value) && Y.value !== t
937
+ }),
938
+ style: g({
939
+ transform: "rotate(-90deg)",
940
+ transformOrigin: "50% 50%",
941
+ transition: A.value || S(I) ? "none" : "all 0.3s ease-in-out !important",
942
+ animation: A.value || S(I) ? "none" : "xyAnimation 0.5s ease-in"
943
+ })
944
+ }, null, 14, Je))), 256)),
945
+ (_(!0), d(s, null, y(q.value, (e, t) => (_(), d("circle", {
946
+ cx: H.value.centerX,
947
+ cy: H.value.centerY,
948
+ r: e.radius < 0 ? 1e-4 : e.radius,
949
+ stroke: `${e.color}`,
950
+ "stroke-width": K.value.track,
951
+ fill: "none",
952
+ "stroke-dasharray": e.path.dashArray,
953
+ "stroke-dashoffset": e.path.dashOffset,
954
+ class: Fe({
955
+ "vue-ui-onion-path": !0,
956
+ "vue-ui-onion-blur": P.value.useBlurOnHover && ![null, void 0].includes(Y.value) && Y.value !== t
957
+ }),
958
+ "stroke-linecap": "round",
959
+ style: g({
960
+ transform: "rotate(-90deg)",
961
+ transformOrigin: "50% 50%",
962
+ transition: A.value || S(I) ? "none" : "all 0.3s ease-in-out !important",
963
+ animation: A.value || S(I) ? "none" : "xyAnimation 0.5s ease-in"
964
+ })
965
+ }, null, 14, Ye))), 256)),
966
+ f("defs", null, [f("filter", {
967
+ id: `blur_${E.value}`,
968
+ x: "-50%",
969
+ y: "-50%",
970
+ width: "200%",
971
+ height: "200%"
972
+ }, [f("feGaussianBlur", {
973
+ in: "SourceGraphic",
974
+ stdDeviation: 100 / P.value.style.chart.gradientIntensity
975
+ }, null, 8, Ze)], 8, Xe)]),
976
+ P.value.style.chart.useGradient ? (_(), d("g", {
977
+ key: 1,
978
+ filter: `url(#blur_${E.value})`
979
+ }, [(_(!0), d(s, null, y(q.value, (e, t) => (_(), d("circle", {
980
+ cx: H.value.centerX,
981
+ cy: H.value.centerY,
982
+ r: e.radius <= 0 ? 1e-4 : e.radius,
983
+ stroke: "white",
984
+ "stroke-width": K.value.track / 3,
985
+ fill: "none",
986
+ "stroke-linecap": "round",
987
+ "stroke-dasharray": e.path.dashArray,
988
+ "stroke-dashoffset": e.path.dashOffset,
989
+ style: g({
990
+ transform: "rotate(-90deg)",
991
+ transformOrigin: "50% 50%",
992
+ transition: A.value || S(I) ? "none" : "all 0.3s ease-in-out !important",
993
+ animation: A.value || S(I) ? "none" : "xyAnimation 0.5s ease-in"
994
+ })
995
+ }, null, 12, $e))), 256))], 8, Qe)) : u("", !0),
996
+ (_(!0), d(s, null, y(q.value, (e, t) => (_(), d("circle", {
997
+ cx: H.value.centerX,
998
+ cy: H.value.centerY,
999
+ r: e.radius <= 0 ? 1e-4 : e.radius,
1000
+ stroke: "transparent",
1001
+ "stroke-width": Math.max(K.value.track, K.value.gutter),
1002
+ fill: "none",
1003
+ "stroke-dasharray": e.path.bgDashArray,
1004
+ "stroke-dashoffset": e.path.fullOffset,
1005
+ "stroke-linecap": "round",
1006
+ class: "vue-ui-onion-path",
1007
+ style: {
1008
+ transform: "rotate(-90deg)",
1009
+ transformOrigin: "50% 50%"
1010
+ },
1011
+ onMouseenter: (n) => Cn({
1012
+ datapoint: e,
1013
+ show: !0,
1014
+ seriesIndex: t,
1015
+ triggerMode: "pointer"
1016
+ }),
1017
+ onMouseleave: (t) => bn({ datapoint: e }),
1018
+ onClick: (t) => yn({ datapoint: e })
1019
+ }, null, 40, et))), 256)),
1020
+ P.value.style.chart.layout.labels.show ? (_(), d("g", tt, [(_(!0), d(s, null, y(q.value, (e, t) => (_(), d("g", {
1021
+ onMouseenter: (n) => Cn({
1022
+ datapoint: e,
1023
+ show: !0,
1024
+ seriesIndex: t,
1025
+ triggerMode: "pointer"
1026
+ }),
1027
+ onMouseleave: (t) => bn({ datapoint: e }),
1028
+ onClick: (t) => yn({ datapoint: e })
1029
+ }, [O.value.includes(e.id) ? u("", !0) : (_(), d("text", {
1030
+ key: 0,
1031
+ class: "vue-ui-onion-label",
1032
+ x: z.value.width / 2 - K.value.gutter * .8 + P.value.style.chart.layout.labels.offsetX,
1033
+ y: e.labelY + P.value.style.chart.layout.labels.offsetY,
1034
+ "text-anchor": "end",
1035
+ "font-size": P.value.style.chart.layout.labels.fontSize,
1036
+ fill: P.value.useBlurOnHover && ![null, void 0].includes(Y.value) && Y.value === t ? e.color : P.value.style.chart.layout.labels.color,
1037
+ "font-weight": P.value.style.chart.layout.labels.bold ? "bold" : "normal"
1038
+ }, x(Sn(e, t)), 9, rt))], 40, nt))), 256))])) : u("", !0),
1039
+ b(e.$slots, "svg", { svg: {
1040
+ ...z.value,
1041
+ drawingArea: H.value,
1042
+ isPrintingImg: S(Ut) || S(Wt) || Mt.value,
1043
+ isPrintingSvg: Nt.value
1044
+ } }, void 0, !0)
1045
+ ], 46, Ke)), e.$slots.hint ? (_(), d("div", it, [b(e.$slots, "hint", h(m({
1046
+ hint: P.value.a11y.translations.keyboardNavigation,
1047
+ isVisible: Ft.value
1048
+ })), void 0, !0)])) : u("", !0)]),
1049
+ e.$slots.watermark ? (_(), d("div", at, [b(e.$slots, "watermark", h(m({ isPrinting: S(Ut) || S(Wt) || Mt.value || Nt.value })), void 0, !0)])) : u("", !0),
1050
+ f("div", { id: `legend-bottom-${E.value}` }, null, 8, ot),
1051
+ jt.value && (P.value.style.chart.legend.show || e.$slots.legend) ? (_(), l(ke, {
1052
+ key: 6,
1053
+ to: P.value.style.chart.legend.position === "top" ? `#legend-top-${E.value}` : `#legend-bottom-${E.value}`
1054
+ }, [f("div", {
1055
+ ref_key: "chartLegend",
1056
+ ref: Tt
1057
+ }, [b(e.$slots, "legend", { legend: W.value }, () => [P.value.style.chart.legend.show ? (_(), l(Ee, {
1058
+ key: `legend_${At.value}`,
1059
+ legendSet: W.value,
1060
+ config: on.value,
1061
+ isCursorPointer: F.value,
1062
+ onClickMarker: t[0] ||= ({ legend: e }) => dn(e.id)
1063
+ }, {
1064
+ item: w(({ legend: e }) => [S(I) ? u("", !0) : (_(), d("div", {
1065
+ key: 0,
1066
+ "data-cy-legend-item": "",
1067
+ onClick: (t) => e.segregate(),
1068
+ style: g(`opacity:${O.value.includes(e.id) ? .5 : 1}`)
1069
+ }, x(e.display), 13, st))]),
1070
+ legendToggle: w(() => [W.value.length > 2 && P.value.style.chart.legend.selectAllToggle.show && !S(I) ? (_(), l(xe, {
1071
+ key: 0,
1072
+ backgroundColor: P.value.style.chart.legend.selectAllToggle.backgroundColor,
1073
+ color: P.value.style.chart.legend.selectAllToggle.color,
1074
+ fontSize: P.value.style.chart.legend.fontSize,
1075
+ checked: O.value.length > 0,
1076
+ isCursorPointer: F.value,
1077
+ onToggle: un
1078
+ }, null, 8, [
1079
+ "backgroundColor",
1080
+ "color",
1081
+ "fontSize",
1082
+ "checked",
1083
+ "isCursorPointer"
1084
+ ])) : u("", !0)]),
1085
+ _: 1
1086
+ }, 8, [
1087
+ "legendSet",
1088
+ "config",
1089
+ "isCursorPointer"
1090
+ ])) : u("", !0)], !0)], 512)], 8, ["to"])) : u("", !0),
1091
+ e.$slots.source ? (_(), d("div", {
1092
+ key: 7,
1093
+ ref_key: "source",
1094
+ ref: Et,
1095
+ dir: "auto"
1096
+ }, [b(e.$slots, "source", {}, void 0, !0)], 512)) : u("", !0),
1097
+ Me(S(lt), {
1098
+ teleportTo: P.value.style.chart.tooltip.teleportTo,
1099
+ show: R.value.showTooltip && D.value,
1100
+ backgroundColor: P.value.style.chart.tooltip.backgroundColor,
1101
+ color: P.value.style.chart.tooltip.color,
1102
+ borderRadius: P.value.style.chart.tooltip.borderRadius,
1103
+ borderColor: P.value.style.chart.tooltip.borderColor,
1104
+ borderWidth: P.value.style.chart.tooltip.borderWidth,
1105
+ fontSize: P.value.style.chart.tooltip.fontSize,
1106
+ backgroundOpacity: P.value.style.chart.tooltip.backgroundOpacity,
1107
+ position: P.value.style.chart.tooltip.position,
1108
+ offsetX: P.value.style.chart.tooltip.offsetX,
1109
+ offsetY: P.value.style.chart.tooltip.offsetY,
1110
+ parent: k.value,
1111
+ content: Ct.value,
1112
+ isFullscreen: X.value,
1113
+ isCustom: S(ce)(P.value.style.chart.tooltip.customFormat),
1114
+ smooth: P.value.style.chart.tooltip.smooth,
1115
+ backdropFilter: P.value.style.chart.tooltip.backdropFilter,
1116
+ smoothForce: P.value.style.chart.tooltip.smoothForce,
1117
+ smoothSnapThreshold: P.value.style.chart.tooltip.smoothSnapThreshold,
1118
+ isA11yMode: N.value === "keyboard",
1119
+ a11yPosition: Pt.value
1120
+ }, {
1121
+ "tooltip-before": w(() => [b(e.$slots, "tooltip-before", h(m({ ...Z.value })), void 0, !0)]),
1122
+ tooltip: w(() => [b(e.$slots, "tooltip", h(m({ ...Z.value })), void 0, !0)]),
1123
+ "tooltip-after": w(() => [b(e.$slots, "tooltip-after", h(m({ ...Z.value })), void 0, !0)]),
1124
+ _: 3
1125
+ }, 8, [
1126
+ "teleportTo",
1127
+ "show",
1128
+ "backgroundColor",
1129
+ "color",
1130
+ "borderRadius",
1131
+ "borderColor",
1132
+ "borderWidth",
1133
+ "fontSize",
1134
+ "backgroundOpacity",
1135
+ "position",
1136
+ "offsetX",
1137
+ "offsetY",
1138
+ "parent",
1139
+ "content",
1140
+ "isFullscreen",
1141
+ "isCustom",
1142
+ "smooth",
1143
+ "backdropFilter",
1144
+ "smoothForce",
1145
+ "smoothSnapThreshold",
1146
+ "isA11yMode",
1147
+ "a11yPosition"
1148
+ ]),
1149
+ bt.value && P.value.userOptions.buttons.table ? (_(), l(Re($.value.component), Ne({ key: 8 }, $.value.props, {
1150
+ ref_key: "tableUnit",
1151
+ ref: j,
1152
+ onClose: t[3] ||= (e) => R.value.showTable = !1
1153
+ }), Ae({
1154
+ content: w(() => [(_(), l(S(ft), {
1155
+ key: `table_${kt.value}`,
1156
+ colNames: J.value.colNames,
1157
+ head: J.value.head,
1158
+ body: J.value.body,
1159
+ config: J.value.config,
1160
+ title: P.value.table.useDialog ? "" : $.value.title,
1161
+ withCloseButton: !P.value.table.useDialog,
1162
+ isCursorPointer: F.value,
1163
+ onClose: t[2] ||= (e) => R.value.showTable = !1
1164
+ }, {
1165
+ th: w(({ th: e }) => [je(x(e), 1)]),
1166
+ td: w(({ td: e }) => [f("div", { innerHTML: e }, null, 8, ct)]),
1167
+ _: 1
1168
+ }, 8, [
1169
+ "colNames",
1170
+ "head",
1171
+ "body",
1172
+ "config",
1173
+ "title",
1174
+ "withCloseButton",
1175
+ "isCursorPointer"
1176
+ ]))]),
1177
+ _: 2
1178
+ }, [P.value.table.useDialog ? {
1179
+ name: "title",
1180
+ fn: w(() => [je(x($.value.title), 1)]),
1181
+ key: "0"
1182
+ } : void 0, P.value.table.useDialog ? {
1183
+ name: "actions",
1184
+ fn: w(() => [f("button", {
1185
+ tabindex: "0",
1186
+ class: "vue-ui-user-options-button",
1187
+ onClick: t[1] ||= (e) => _n(P.value.userOptions.callbacks.csv),
1188
+ style: g({ cursor: F.value ? "pointer" : "default" })
1189
+ }, [Me(S(ut), {
1190
+ name: "fileCsv",
1191
+ stroke: $.value.props.color
1192
+ }, null, 8, ["stroke"])], 4)]),
1193
+ key: "1"
1194
+ } : void 0]), 1040)) : u("", !0),
1195
+ b(e.$slots, "skeleton", {}, () => [S(I) ? (_(), l(fe, { key: 0 })) : u("", !0)], !0)
1196
+ ], 46, He));
1197
+ }
1198
+ }, [["__scopeId", "data-v-2e5c3df8"]]);
1199
+ //#endregion
1200
+ export { Ve as n, lt as t };