vue-data-ui 3.25.11 → 3.25.13

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 (205) hide show
  1. package/dist/{Arrow-DLn-pcrh.js → Arrow-BhZDUeMp.js} +1 -1
  2. package/dist/{BaseDraggableDialog-Gm4Q30j0.js → BaseDraggableDialog-Ck6R5Q0K.js} +2 -2
  3. package/dist/{BaseIcon-D8R6_sKH.js → BaseIcon-Dlz7gfx0.js} +1 -1
  4. package/dist/{BaseLegendToggle-CXQrLjd-.js → BaseLegendToggle-DGG65LAR.js} +1 -1
  5. package/dist/{BaseZoomControls-BTzjVDPM.js → BaseZoomControls-BK0PxEa8.js} +2 -2
  6. package/dist/{ColorPicker-CUy15T72.js → ColorPicker-DMTwxvi_.js} +2 -2
  7. package/dist/{DataTable-oiM9uWrQ.js → DataTable-BD1eZ0zB.js} +2 -2
  8. package/dist/{HillActions-Dn8aKOVJ.js → HillActions-CiP2m7Nz.js} +1 -1
  9. package/dist/{Legend-X4kF4PvW.js → Legend-C0Ln0VNe.js} +2 -2
  10. package/dist/{NonSvgPenAndPaper-DFXjpRyl.js → NonSvgPenAndPaper-BjrMLISf.js} +3 -3
  11. package/dist/{PackageVersion-CEvZNFTz.js → PackageVersion-D5QkTJQU.js} +1 -1
  12. package/dist/{PenAndPaper-Cd3nItcO.js → PenAndPaper-XdUD8uB3.js} +3 -3
  13. package/dist/{Shape-CIqU-p2F.js → Shape-VCdxvFV9.js} +3 -3
  14. package/dist/{SlicerPreview-Ccss7Vsq.js → SlicerPreview-BJ4usfYd.js} +21 -21
  15. package/dist/{SparkTooltip-L3SliZbR.js → SparkTooltip-B1gRxPfb.js} +6 -6
  16. package/dist/{Title-CPHi-evi.js → Title-DeqmC-vN.js} +1 -1
  17. package/dist/{Tooltip-hhrkQ3Lk.js → Tooltip-DZ4a3XJQ.js} +1 -1
  18. package/dist/{UserOptions-qo_Tsqci.js → UserOptions-wFD9vo9g.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-hill.js +1 -1
  46. package/dist/components/vue-ui-history-plot.js +1 -1
  47. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  48. package/dist/components/vue-ui-icon.js +1 -1
  49. package/dist/components/vue-ui-kpi.js +1 -1
  50. package/dist/components/vue-ui-label.js +1 -1
  51. package/dist/components/vue-ui-mini-loader.js +1 -1
  52. package/dist/components/vue-ui-molecule.js +1 -1
  53. package/dist/components/vue-ui-mood-radar.js +1 -1
  54. package/dist/components/vue-ui-nested-donuts.js +1 -1
  55. package/dist/components/vue-ui-onion.js +1 -1
  56. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  57. package/dist/components/vue-ui-quadrant.js +1 -1
  58. package/dist/components/vue-ui-quick-chart.js +1 -1
  59. package/dist/components/vue-ui-radar.js +1 -1
  60. package/dist/components/vue-ui-rating.js +1 -1
  61. package/dist/components/vue-ui-relation-circle.js +1 -1
  62. package/dist/components/vue-ui-ridgeline.js +1 -1
  63. package/dist/components/vue-ui-rings.js +1 -1
  64. package/dist/components/vue-ui-scatter.js +1 -1
  65. package/dist/components/vue-ui-skeleton.js +1 -1
  66. package/dist/components/vue-ui-smiley.js +1 -1
  67. package/dist/components/vue-ui-spark-trend.js +1 -1
  68. package/dist/components/vue-ui-sparkbar.js +1 -1
  69. package/dist/components/vue-ui-sparkgauge.js +1 -1
  70. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  71. package/dist/components/vue-ui-sparkline.js +1 -1
  72. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  73. package/dist/components/vue-ui-stackbar.js +1 -1
  74. package/dist/components/vue-ui-stackline.js +1 -1
  75. package/dist/components/vue-ui-strip-plot.js +1 -1
  76. package/dist/components/vue-ui-table-heatmap.js +1 -1
  77. package/dist/components/vue-ui-table-sparkline.js +1 -1
  78. package/dist/components/vue-ui-table.js +1 -1
  79. package/dist/components/vue-ui-thermometer.js +1 -1
  80. package/dist/components/vue-ui-timer.js +1 -1
  81. package/dist/components/vue-ui-tiremarks.js +1 -1
  82. package/dist/components/vue-ui-treemap.js +1 -1
  83. package/dist/components/vue-ui-vertical-bar.js +1 -1
  84. package/dist/components/vue-ui-waffle.js +1 -1
  85. package/dist/components/vue-ui-wheel.js +1 -1
  86. package/dist/components/vue-ui-word-cloud.js +1 -1
  87. package/dist/components/vue-ui-world.js +1 -1
  88. package/dist/components/vue-ui-xy-canvas.js +1 -1
  89. package/dist/components/vue-ui-xy.js +1 -1
  90. package/dist/{dom-to-png-BR4imuKV.js → dom-to-png-DdqmzDdY.js} +1 -1
  91. package/dist/exposedLib-BBtjpydc.js +28 -0
  92. package/dist/{img-BkMKbWsI.js → img-W50sC9SC.js} +1 -1
  93. package/dist/{labelUtils-BXX2NzRe.js → labelUtils-Dvm-7rse.js} +1 -1
  94. package/dist/{lib-Dql7cqyA.js → lib-DOpaUOQx.js} +191 -88
  95. package/dist/{package-B10eQN5L.js → package-Cmcke8zR.js} +1 -1
  96. package/dist/{pdf-BSOs_GZz.js → pdf-zGbDDpCi.js} +1 -1
  97. package/dist/{render-common-CZ6-MONw.js → render-common-CG1wuHZY.js} +16 -16
  98. package/dist/ssr/vue-ui-donut.js +1 -1
  99. package/dist/ssr/vue-ui-xy.js +1 -1
  100. package/dist/ssr.js +2 -2
  101. package/dist/style.css +1 -1
  102. package/dist/types/vue-data-ui.d.ts +6 -0
  103. package/dist/{useConfig-D32D002m.js → useConfig-C2uy4ltq.js} +2 -0
  104. package/dist/{useNestedProp-Chvyfpl-.js → useNestedProp-Bux0f4iY.js} +1 -1
  105. package/dist/{useObjectBindings-Cd_WuYIn.js → useObjectBindings-CEuNiBIT.js} +1 -1
  106. package/dist/{usePrinter-hohanNCX.js → usePrinter-BBBooAGP.js} +2 -2
  107. package/dist/utils.js +13 -13
  108. package/dist/{vue-data-ui-zJ1rNxIN.js → vue-data-ui-BVzA0tEV.js} +70 -70
  109. package/dist/vue-data-ui.js +75 -75
  110. package/dist/{vue-ui-3d-bar-CKTAkCAN.js → vue-ui-3d-bar-Ckauu3d4.js} +536 -536
  111. package/dist/{vue-ui-accordion-DmkL8A59.js → vue-ui-accordion-yHZMJLaY.js} +4 -4
  112. package/dist/vue-ui-age-pyramid-BczIt1-U.js +1305 -0
  113. package/dist/{vue-ui-annotator-BLYRy--7.js → vue-ui-annotator-BGB6K6u0.js} +60 -60
  114. package/dist/{vue-ui-bullet-Ck398xn8.js → vue-ui-bullet-BoTsLccZ.js} +84 -84
  115. package/dist/{vue-ui-bump-DyA47yse.js → vue-ui-bump-B5ztSSQO.js} +105 -105
  116. package/dist/{vue-ui-candlestick-DCavjk1j.js → vue-ui-candlestick-BJtdA4Yu.js} +98 -98
  117. package/dist/vue-ui-carousel-table-D-3KSWok.js +467 -0
  118. package/dist/vue-ui-chestnut-W2l-W0_e.js +2016 -0
  119. package/dist/{vue-ui-chord-GgA7QFUH.js → vue-ui-chord-BFPQsMj8.js} +63 -63
  120. package/dist/{vue-ui-circle-pack-BUXTVdy3.js → vue-ui-circle-pack-BtPc1BR3.js} +50 -50
  121. package/dist/{vue-ui-cursor-CEejESe_.js → vue-ui-cursor-CpNOiwkt.js} +61 -61
  122. package/dist/{vue-ui-dag-C1c6scxC.js → vue-ui-dag-i-zPwLcN.js} +44 -44
  123. package/dist/{vue-ui-dashboard-BZBJM7dN.js → vue-ui-dashboard-DtaW9a2P.js} +70 -70
  124. package/dist/{vue-ui-digits-CsougDlU.js → vue-ui-digits-BIlec9af.js} +4 -4
  125. package/dist/{vue-ui-donut-lBgSYKgO.js → vue-ui-donut-Bgf-n95J.js} +551 -551
  126. package/dist/{vue-ui-donut-Be9jKelz.js → vue-ui-donut-CJlBEyxu.js} +203 -203
  127. package/dist/vue-ui-donut-evolution-C0BKntfL.js +1552 -0
  128. package/dist/{vue-ui-dumbbell-CwmA5x9G.js → vue-ui-dumbbell-C112YLkC.js} +87 -87
  129. package/dist/{vue-ui-flow-CRhh8SSN.js → vue-ui-flow-j4bDg9Zd.js} +99 -99
  130. package/dist/{vue-ui-funnel-DH1hW8Gw.js → vue-ui-funnel-CVHpfBCW.js} +40 -40
  131. package/dist/vue-ui-galaxy-ChGpUWh8.js +1097 -0
  132. package/dist/{vue-ui-gauge-CV4-Rn7K.js → vue-ui-gauge-Cp00vXfG.js} +190 -190
  133. package/dist/{vue-ui-geo-BocLrguL.js → vue-ui-geo-B4hDk5NO.js} +12 -12
  134. package/dist/{vue-ui-gizmo-6wKlI5PC.js → vue-ui-gizmo-D6nCCsS4.js} +54 -54
  135. package/dist/vue-ui-heatmap-scVJc1cw.js +1606 -0
  136. package/dist/{vue-ui-hill-CeIZZFf5.js → vue-ui-hill-DnYUHGAK.js} +21 -21
  137. package/dist/vue-ui-history-plot-C5qAMaaW.js +1710 -0
  138. package/dist/{vue-ui-horizontal-bar-D2aw-8tx.js → vue-ui-horizontal-bar-nEG4uvpv.js} +85 -85
  139. package/dist/{vue-ui-kpi-BQ967gzv.js → vue-ui-kpi-DOxId6xg.js} +12 -12
  140. package/dist/{vue-ui-label-Cs4ZlAqr.js → vue-ui-label-BDKY7BI7.js} +4 -4
  141. package/dist/{vue-ui-mini-loader-wGeACd-Y.js → vue-ui-mini-loader-BknVs9VJ.js} +3 -3
  142. package/dist/vue-ui-molecule-_x232mMu.js +941 -0
  143. package/dist/vue-ui-mood-radar-D-F4855V.js +1111 -0
  144. package/dist/{vue-ui-nested-donuts-DT2zkLx2.js → vue-ui-nested-donuts-0E5IllFW.js} +481 -481
  145. package/dist/vue-ui-onion-Eip0S1H7.js +1247 -0
  146. package/dist/vue-ui-parallel-coordinate-plot-DO0sQdJw.js +1444 -0
  147. package/dist/vue-ui-quadrant-CA0ClWfL.js +1979 -0
  148. package/dist/{vue-ui-quick-chart-CkPu6GMh.js → vue-ui-quick-chart-D-VuAoll.js} +169 -169
  149. package/dist/vue-ui-radar-BTD7Y0Ps.js +1386 -0
  150. package/dist/vue-ui-rating-C_Qj6gnP.js +359 -0
  151. package/dist/vue-ui-relation-circle-CcxLBVFV.js +905 -0
  152. package/dist/vue-ui-ridgeline-BZrzbbhb.js +1630 -0
  153. package/dist/{vue-ui-rings-CBtHZ5Pp.js → vue-ui-rings-CO48GOP2.js} +78 -78
  154. package/dist/{vue-ui-scatter-DzePsQEe.js → vue-ui-scatter-DrxUgZbQ.js} +136 -136
  155. package/dist/{vue-ui-skeleton-C347nFnE.js → vue-ui-skeleton-CeKjW4MX.js} +510 -510
  156. package/dist/{vue-ui-smiley-BIjAIpJ9.js → vue-ui-smiley-BvRwx69s.js} +6 -6
  157. package/dist/{vue-ui-spark-trend-Di_7Da43.js → vue-ui-spark-trend-DnujGRyt.js} +96 -96
  158. package/dist/{vue-ui-sparkbar-CbJ-fKc6.js → vue-ui-sparkbar-Cd_uhYGD.js} +113 -113
  159. package/dist/vue-ui-sparkgauge-hT31YEtt.js +268 -0
  160. package/dist/vue-ui-sparkhistogram-PKlTYhKA.js +589 -0
  161. package/dist/vue-ui-sparkline-BSu1uRvP.js +1610 -0
  162. package/dist/{vue-ui-sparkstackbar-IM_l98X-.js → vue-ui-sparkstackbar-R0ij2vi1.js} +183 -183
  163. package/dist/vue-ui-stackbar-BrzzkGFk.js +2369 -0
  164. package/dist/vue-ui-stackline-zEX3gR3y.js +2483 -0
  165. package/dist/{vue-ui-strip-plot-CVV0t6mb.js → vue-ui-strip-plot-DR3N56rS.js} +253 -253
  166. package/dist/{vue-ui-table-nAGCIZKg.js → vue-ui-table-Bg6BeLrf.js} +117 -117
  167. package/dist/{vue-ui-table-heatmap-D5F5bLx5.js → vue-ui-table-heatmap-C1b1Pcp8.js} +95 -95
  168. package/dist/vue-ui-table-sparkline-CkVXyequ.js +738 -0
  169. package/dist/{vue-ui-thermometer-Ccr2ZnzI.js → vue-ui-thermometer-CqkaMF7Z.js} +23 -23
  170. package/dist/{vue-ui-timer-DkW-P6EG.js → vue-ui-timer-CgJvNwBv.js} +13 -13
  171. package/dist/{vue-ui-tiremarks-Bf2anKLr.js → vue-ui-tiremarks-B078YJ9M.js} +30 -30
  172. package/dist/{vue-ui-treemap-Wy61KlkN.js → vue-ui-treemap-Cfjf8mDl.js} +77 -77
  173. package/dist/vue-ui-waffle-BZIcPa0l.js +1633 -0
  174. package/dist/{vue-ui-wheel-DGhu_B8n.js → vue-ui-wheel-CPTm8AHn.js} +185 -185
  175. package/dist/{vue-ui-word-cloud-CdRMst8U.js → vue-ui-word-cloud-DnGblUwj.js} +46 -46
  176. package/dist/{vue-ui-world-Bc4hMzzB.js → vue-ui-world-KkcpeKqp.js} +133 -133
  177. package/dist/vue-ui-xy-C6lVqZnx.js +5367 -0
  178. package/dist/{vue-ui-xy-CbgQs7yW.js → vue-ui-xy-ClCV7xA5.js} +169 -169
  179. package/dist/{vue-ui-xy-canvas-R2xbgDOy.js → vue-ui-xy-canvas-BlpCbXKR.js} +435 -435
  180. package/package.json +1 -1
  181. package/dist/exposedLib-CG3aXJ-v.js +0 -28
  182. package/dist/vue-ui-age-pyramid-SpPactMh.js +0 -1305
  183. package/dist/vue-ui-carousel-table-DCnVD0BJ.js +0 -467
  184. package/dist/vue-ui-chestnut-BDBdizBp.js +0 -2016
  185. package/dist/vue-ui-donut-evolution-vLMhwz4K.js +0 -1552
  186. package/dist/vue-ui-galaxy-CiqILfxR.js +0 -1097
  187. package/dist/vue-ui-heatmap-DGXXRsr4.js +0 -1606
  188. package/dist/vue-ui-history-plot-CporPpg9.js +0 -1710
  189. package/dist/vue-ui-molecule-CvDC9Ht5.js +0 -941
  190. package/dist/vue-ui-mood-radar-BK1va5-H.js +0 -1111
  191. package/dist/vue-ui-onion-DPMikBzZ.js +0 -1247
  192. package/dist/vue-ui-parallel-coordinate-plot-DMPxUL3p.js +0 -1444
  193. package/dist/vue-ui-quadrant-DFkIeJXo.js +0 -1979
  194. package/dist/vue-ui-radar-B3OOLJal.js +0 -1386
  195. package/dist/vue-ui-rating-Criq0ofQ.js +0 -359
  196. package/dist/vue-ui-relation-circle-I6e5UxgY.js +0 -905
  197. package/dist/vue-ui-ridgeline-FmmdCdy9.js +0 -1630
  198. package/dist/vue-ui-sparkgauge-Bb9-yFTb.js +0 -268
  199. package/dist/vue-ui-sparkhistogram-kbbbDVul.js +0 -589
  200. package/dist/vue-ui-sparkline-BF0Fdo6v.js +0 -1587
  201. package/dist/vue-ui-stackbar-CaEXVeo5.js +0 -2369
  202. package/dist/vue-ui-stackline-MgvhcBfm.js +0 -2483
  203. package/dist/vue-ui-table-sparkline-Bf2hjBwq.js +0 -738
  204. package/dist/vue-ui-waffle-CkIFp-AN.js +0 -1633
  205. package/dist/vue-ui-xy-DybWfQrI.js +0 -5298
@@ -0,0 +1,1247 @@
1
+ import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
+ import { $ as t, $t as n, D as r, Et as i, Rt as a, S as o, Vt as s, X as ee, at as te, et as ne, ft as re, i as ie, nt as ae, t as oe, tn as se, w as ce } from "./lib-DOpaUOQx.js";
3
+ import { n as le, t as ue } from "./useHints-Dq_w2E8B.js";
4
+ import { t as de } from "./useConfig-C2uy4ltq.js";
5
+ import { t as fe } from "./usePrinter-BBBooAGP.js";
6
+ import { n as pe, t as me } from "./BaseScanner-Dzc8VT3j.js";
7
+ import { t as he } from "./useNestedProp-Bux0f4iY.js";
8
+ import { t as ge } from "./useThemeCheck-C43Tcqmk.js";
9
+ import { t as _e } from "./useChartExport-iwOqiIWX.js";
10
+ import { t as ve } from "./useTransitions-g_zBREk2.js";
11
+ import { t as ye } from "./img-W50sC9SC.js";
12
+ import { n as be } from "./Title-DeqmC-vN.js";
13
+ import { t as xe } from "./_plugin-vue_export-helper-B3ysoDQm.js";
14
+ import { l as Se, t as Ce } from "./useResponsive-ZtArZtUf.js";
15
+ import { t as we } from "./BaseLegendToggle-DGG65LAR.js";
16
+ import { t as Te } from "./A11yDataTable-DdRsVULz.js";
17
+ import { t as Ee } from "./useUserOptionState-DK-_1ddE.js";
18
+ import { t as De } from "./useChartAccessibility-DYqac8yF.js";
19
+ import { t as Oe } from "./labelUtils-Dvm-7rse.js";
20
+ import { t as ke } from "./Legend-C0Ln0VNe.js";
21
+ import { t as Ae } from "./useAutoSizeLabelsInsideViewbox-DvDwcwi_.js";
22
+ import { t as je } from "./vue_ui_onion-1FTFFS46.js";
23
+ import { Fragment as c, Teleport as Me, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createSlots as Ne, createTextVNode as Pe, createVNode as Fe, defineAsyncComponent as m, guardReactiveProps as h, mergeProps as Ie, nextTick as Le, normalizeClass as g, normalizeProps as _, normalizeStyle as v, onBeforeUnmount as Re, onMounted as ze, openBlock as y, ref as b, renderList as Be, renderSlot as x, resolveDynamicComponent as Ve, shallowRef as He, toDisplayString as Ue, toRefs as We, unref as S, watch as C, withCtx as w } from "vue";
24
+ //#region src/components/vue-ui-onion.vue
25
+ var Ge = /* @__PURE__ */ e({ default: () => pt }), Ke = ["id"], qe = ["id"], Je = ["id"], Ye = { style: { position: "relative" } }, Xe = [
26
+ "xmlns",
27
+ "aria-describedby",
28
+ "viewBox"
29
+ ], Ze = ["width", "height"], Qe = [
30
+ "cx",
31
+ "cy",
32
+ "r",
33
+ "stroke",
34
+ "stroke-width",
35
+ "stroke-dasharray",
36
+ "stroke-dashoffset"
37
+ ], $e = [
38
+ "cx",
39
+ "cy",
40
+ "r",
41
+ "stroke",
42
+ "stroke-width",
43
+ "stroke-dasharray",
44
+ "stroke-dashoffset"
45
+ ], et = ["id"], tt = ["stdDeviation"], nt = ["filter"], rt = [
46
+ "cx",
47
+ "cy",
48
+ "r",
49
+ "stroke-width",
50
+ "stroke-dasharray",
51
+ "stroke-dashoffset"
52
+ ], it = [
53
+ "cx",
54
+ "cy",
55
+ "r",
56
+ "stroke-width",
57
+ "stroke-dasharray",
58
+ "stroke-dashoffset",
59
+ "onMouseenter",
60
+ "onMouseleave",
61
+ "onClick"
62
+ ], at = { key: 2 }, ot = [
63
+ "onMouseenter",
64
+ "onMouseleave",
65
+ "onClick"
66
+ ], st = [
67
+ "transform",
68
+ "font-size",
69
+ "fill",
70
+ "font-weight"
71
+ ], ct = {
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
+ }, lt = {
82
+ key: 5,
83
+ class: "vue-data-ui-watermark"
84
+ }, ut = ["id"], dt = ["onClick"], ft = ["innerHTML"], pt = /*#__PURE__*/ xe({
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: xe, emit: Ge }) {
102
+ let pt = m(() => import("./Tooltip-DZ4a3XJQ.js")), mt = m(() => import("./BaseIcon-Dlz7gfx0.js").then((e) => e.n)), ht = m(() => import("./vue-ui-accordion-yHZMJLaY.js").then((e) => e.n)), gt = m(() => import("./DataTable-BD1eZ0zB.js")), _t = m(() => import("./UserOptions-wFD9vo9g.js").then((e) => e.n)), vt = m(() => import("./PenAndPaper-XdUD8uB3.js").then((e) => e.t)), yt = m(() => import("./PackageVersion-D5QkTJQU.js").then((e) => e.t)), bt = m(() => import("./BaseDraggableDialog-Ck6R5Q0K.js").then((e) => e.n)), { vue_ui_onion: xt } = de(), { isThemeValid: St, warnInvalidTheme: Ct } = ge(), T = e, wt = l(() => !!T.dataset && T.dataset.length), E = b(ee()), Tt = b(null), Et = b(0), D = b(!1), Dt = b(""), O = b([]), k = b(null), Ot = b(null), kt = b(null), At = b(null), jt = b(null), Mt = b(0), Nt = b(0), Pt = b(0), Ft = b(!1), It = b(!1), Lt = b(null), A = b(null), Rt = b({
103
+ x: 0,
104
+ y: 0
105
+ }), j = b("pointer"), zt = b(!1), M = b(Kt()), N = l(() => M.value.userOptions), P = l(() => M.value.style.chart.layout.labels), F = l(() => M.value.style.chart.layout), I = l(() => M.value.style.chart.tooltip), L = l(() => M.value.style.chart);
106
+ le({
107
+ config: () => M.value,
108
+ dataset: () => T.dataset,
109
+ component: "VueUiOnion",
110
+ rules: [ue.emptyArray, {
111
+ test: (e) => e.length > 8,
112
+ message: [
113
+ "👀 The number of series is > 8. Consider:",
114
+ "",
115
+ "▶️ Grouping small values dynamically into a single \"Other\" series.",
116
+ "",
117
+ "▶️ Using filters to let users choose a maximum number of series to display.",
118
+ "",
119
+ "▶️ Using VueUiHorizontalBar instead to make the dataset breakdown easier to read."
120
+ ]
121
+ }]
122
+ });
123
+ let { transitionEnabled: R } = ve({
124
+ config: () => M.value.transitions,
125
+ dataset: () => T.dataset
126
+ }), z = l(() => M.value.userOptions.useCursorPointer), Bt = l(() => se({
127
+ defaultConfig: {
128
+ userOptions: { show: !1 },
129
+ table: { show: !1 },
130
+ style: { chart: {
131
+ backgroundColor: "#99999930",
132
+ layout: {
133
+ gutter: { color: "#99999950" },
134
+ labels: { show: !1 }
135
+ },
136
+ legend: { backgroundColor: "transparent" }
137
+ } }
138
+ },
139
+ userConfig: M.value.skeletonConfig ?? {}
140
+ })), { loading: B, FINAL_DATASET: Vt, manualLoading: Ht } = pe({
141
+ ...We(T),
142
+ FINAL_CONFIG: M,
143
+ prepareConfig: Kt,
144
+ callback: () => {
145
+ Promise.resolve().then(async () => {
146
+ await Le(), yn();
147
+ });
148
+ },
149
+ skeletonDataset: T.config?.skeletonDataset ?? [
150
+ {
151
+ name: "_",
152
+ percentage: 50,
153
+ value: 1,
154
+ color: "#DBDBDB"
155
+ },
156
+ {
157
+ name: "_",
158
+ percentage: 50,
159
+ value: 1,
160
+ color: "#C4C4C4"
161
+ },
162
+ {
163
+ name: "_",
164
+ percentage: 50,
165
+ value: 1,
166
+ color: "#ADADAD"
167
+ },
168
+ {
169
+ name: "_",
170
+ percentage: 50,
171
+ value: 1,
172
+ color: "#969696"
173
+ }
174
+ ],
175
+ skeletonConfig: se({
176
+ defaultConfig: M.value,
177
+ userConfig: Bt.value
178
+ })
179
+ }), { userOptionsVisible: Ut, setUserOptionsVisibility: Wt, keepUserOptionState: Gt } = Ee({ config: M.value }), { svgRef: V } = De({ config: L.value.title });
180
+ function Kt() {
181
+ let e = he({
182
+ userConfig: T.config,
183
+ defaultConfig: xt
184
+ }), t = e.theme;
185
+ if (!t) return e;
186
+ if (!St.value(e)) return Ct(e), e;
187
+ let r = he({
188
+ userConfig: je[t] || T.config,
189
+ defaultConfig: e
190
+ }), i = he({
191
+ userConfig: T.config,
192
+ defaultConfig: r
193
+ });
194
+ return {
195
+ ...i,
196
+ customPalette: i.customPalette.length ? i.customPalette : n[t] || s
197
+ };
198
+ }
199
+ function qt(e) {
200
+ let t = ne(e);
201
+ return t?.style?.chart && delete t.style.chart.tooltip, JSON.stringify(t);
202
+ }
203
+ let Jt = qt(T.config);
204
+ C(() => T.config, (e, t) => {
205
+ let n = qt(e), r = n !== Jt;
206
+ Jt = n;
207
+ let i = Kt();
208
+ if (!r) {
209
+ M.value.style.chart.tooltip = i.style.chart.tooltip, H.value.showTooltip = M.value.style.chart.tooltip.show;
210
+ return;
211
+ }
212
+ B.value || (M.value = i), Ut.value = !M.value.userOptions.showOnChartHover, fn(), Mt.value += 1, Nt.value += 1, Pt.value += 1, H.value.showTable = M.value.table.show, H.value.showTooltip = I.value.show;
213
+ }, { deep: !0 });
214
+ let { isPrinting: Yt, isImaging: Xt, generatePdf: Zt, generateImage: Qt } = fe({
215
+ elementId: `vue-ui-onion_${E.value}`,
216
+ fileName: L.value.title.text || "vue-ui-onion",
217
+ options: M.value.userOptions.print
218
+ }), $t = l(() => M.value.userOptions.show && !L.value.title.text), en = l(() => ce(M.value.customPalette)), H = b({
219
+ showTable: M.value.table.show,
220
+ showTooltip: I.value.show
221
+ });
222
+ C(M, () => {
223
+ H.value = {
224
+ showTable: M.value.table.show,
225
+ showTooltip: I.value.show
226
+ };
227
+ }, { immediate: !0 });
228
+ let U = b({
229
+ height: 512,
230
+ width: 512,
231
+ padding: {
232
+ top: 64,
233
+ left: 64,
234
+ right: 64,
235
+ bottom: 64
236
+ },
237
+ minRadius: 64
238
+ }), W = He(null), G = He(null);
239
+ ze(() => {
240
+ It.value = !0, fn();
241
+ });
242
+ let { autoSizeLabels: tn } = Ae({
243
+ svgRef: V,
244
+ fontSize: () => P.value.fontSize,
245
+ minFontSize: () => P.value.minFontSize,
246
+ labelClass: ".vue-ui-onion-label"
247
+ }), K = null, nn = null, rn = 0;
248
+ function an() {
249
+ K !== null && (cancelAnimationFrame(K), K = null), nn !== null && (clearTimeout(nn), nn = null);
250
+ }
251
+ function on(e) {
252
+ return String(e).split(",").map((e) => {
253
+ let t = e.trim(), n = Number.parseFloat(t);
254
+ return Number.isFinite(n) ? t.endsWith("ms") ? n : n * 1e3 : 0;
255
+ });
256
+ }
257
+ function sn() {
258
+ return typeof window > "u" || !R.value || Ft.value || B.value || !V.value ? 0 : Array.from(V.value.querySelectorAll(".vue-ui-onion-label.vue-data-ui-transition")).reduce((e, t) => {
259
+ let n = window.getComputedStyle(t);
260
+ if (n.transitionProperty === "none") return e;
261
+ let r = on(n.transitionDuration), i = on(n.transitionDelay), a = Math.max(r.length, i.length), o = Array.from({ length: a }, (e, t) => (r[t % r.length] ?? 0) + (i[t % i.length] ?? 0)).reduce((e, t) => Math.max(e, t), 0);
262
+ return Math.max(e, o);
263
+ }, 0);
264
+ }
265
+ function cn() {
266
+ typeof window < "u" && (K = requestAnimationFrame(() => {
267
+ K = null, tn();
268
+ }));
269
+ }
270
+ function ln() {
271
+ if (typeof window > "u") return;
272
+ let e = ++rn;
273
+ an(), Le(() => {
274
+ e === rn && (K = requestAnimationFrame(() => {
275
+ if (K = null, e !== rn) return;
276
+ let t = sn();
277
+ if (t <= 0) {
278
+ cn();
279
+ return;
280
+ }
281
+ nn = setTimeout(() => {
282
+ nn = null, e === rn && cn();
283
+ }, t + 34);
284
+ }));
285
+ });
286
+ }
287
+ let un = l(() => M.value.debug), dn = null;
288
+ function fn() {
289
+ if (a(T.dataset) && (te({
290
+ componentName: "VueUiOnion",
291
+ type: "dataset",
292
+ debug: un.value
293
+ }), Ht.value = !0), a(T.dataset) || (Ht.value = M.value.loading), M.value.responsive) {
294
+ let e = 64 / 512, t = Se(() => {
295
+ dn && clearTimeout(dn), Ft.value = !0;
296
+ let { width: t, height: n } = Ce({
297
+ chart: k.value,
298
+ title: L.value.title.text ? Ot.value : null,
299
+ legend: L.value.legend.show ? kt.value : null,
300
+ source: At.value,
301
+ noTitle: jt.value
302
+ });
303
+ n -= 12, requestAnimationFrame(async () => {
304
+ U.value.width = t, U.value.height = n, U.value.padding.top = Math.max(t, n) * e, U.value.padding.right = Math.max(t, n) * e, U.value.padding.bottom = Math.max(t, n) * e, U.value.padding.left = Math.max(t, n) * e, U.value.minRadius = Math.min(t, n) * e, dn = setTimeout(() => {
305
+ Ft.value = !1, ln();
306
+ }, 0);
307
+ });
308
+ });
309
+ W.value && (G.value && W.value.unobserve(G.value), W.value.disconnect()), W.value = new ResizeObserver(t), G.value = k.value.parentNode, W.value.observe(G.value);
310
+ }
311
+ ln();
312
+ }
313
+ Re(() => {
314
+ rn += 1, an(), W.value && (G.value && W.value.unobserve(G.value), W.value.disconnect());
315
+ });
316
+ let q = l(() => ({
317
+ top: U.value.padding.top,
318
+ left: U.value.padding.left,
319
+ right: U.value.width - U.value.padding.right,
320
+ bottom: U.value.height - U.value.padding.bottom,
321
+ centerX: U.value.width / 2,
322
+ centerY: U.value.height / 2,
323
+ width: U.value.width - U.value.padding.right - U.value.padding.left,
324
+ height: U.value.height - U.value.padding.bottom - U.value.padding.top,
325
+ minRadius: U.value.minRadius,
326
+ maxRadius: Math.min(U.value.width, U.value.height) - U.value.padding.top * 2
327
+ })), J = l(() => (un.value && Vt.value.forEach((e, t) => {
328
+ [null, void 0].includes(e.name) && te({
329
+ componentName: "VueUiOnion",
330
+ type: "datasetSerieAttribute",
331
+ property: "name",
332
+ index: t
333
+ }), [void 0].includes(e.percentage) && te({
334
+ componentName: "VueUiOnion",
335
+ type: "datasetSerieAttribute",
336
+ property: "percentage",
337
+ index: t
338
+ });
339
+ }), Vt.value.map((e, t) => {
340
+ let n = `onion_serie_${t}_${E.value}`;
341
+ return {
342
+ ...e,
343
+ percentage: e.percentage || 0,
344
+ targetPercentage: e.percentage || 0,
345
+ color: o(e.color) || en.value[t] || s[t],
346
+ id: n,
347
+ shape: "circle",
348
+ opacity: O.value.includes(n) ? .5 : 1,
349
+ absoluteIndex: t,
350
+ segregate: () => Tn(n),
351
+ isSegregated: O.value.includes(n)
352
+ };
353
+ }))), pn = l(() => J.value.map((e, n) => {
354
+ let r = L.value.legend.showValue, i = L.value.legend.showPercentage, a = Fn({
355
+ showVal: r,
356
+ showPercentage: i,
357
+ val: ie(P.value.value.formatter, e.value, t({
358
+ p: e.prefix || "",
359
+ v: e.value,
360
+ s: e.suffix || "",
361
+ r: L.value.legend.roundingValue
362
+ })),
363
+ percentage: t({
364
+ v: e.percentage ?? 0,
365
+ s: "%",
366
+ r: L.value.legend.roundingPercentage
367
+ }),
368
+ config: L.value.legend
369
+ });
370
+ return {
371
+ ...e,
372
+ display: `${e.name}${r || i ? ": " : ""}${a}`
373
+ };
374
+ })), mn = b(J.value), hn = l(() => M.value.useStartAnimation), gn = b(null), _n = l(() => Math.max(...J.value.map((e) => e.percentage))), vn = b(!1);
375
+ C(() => J.value, yn, {
376
+ immediate: !0,
377
+ deep: !0
378
+ }), C(() => T.dataset, (e) => {
379
+ Array.isArray(e) && e.length > 0 && (Ht.value = !1), ln();
380
+ }, {
381
+ deep: !0,
382
+ flush: "post"
383
+ });
384
+ function yn() {
385
+ if (hn.value && !vn.value && !B.value) {
386
+ mn.value = J.value.map((e) => ({
387
+ ...e,
388
+ percentage: 0
389
+ }));
390
+ let e = 0;
391
+ function t() {
392
+ e >= _n.value ? (cancelAnimationFrame(gn.value), mn.value = J.value, vn.value = !0) : (mn.value = J.value.map((t) => ({
393
+ ...t,
394
+ percentage: e < t.targetPercentage ? e : t.targetPercentage
395
+ })), e += 1, requestAnimationFrame(t), vn.value = !0);
396
+ }
397
+ t();
398
+ } else mn.value = J.value;
399
+ }
400
+ let bn = l(() => ({
401
+ cy: "onion-div-legend",
402
+ backgroundColor: L.value.legend.backgroundColor,
403
+ color: L.value.legend.color,
404
+ fontSize: L.value.legend.fontSize,
405
+ paddingBottom: 12,
406
+ fontWeight: L.value.legend.bold ? "bold" : ""
407
+ })), xn = l(() => J.value.filter((e) => !O.value.includes(e.id)).length), Y = l(() => {
408
+ let e = Math.min(q.value.width, q.value.height) / 2 / J.value.length;
409
+ return {
410
+ gutter: (e > F.value.maxThickness ? F.value.maxThickness : e) * F.value.gutter.width,
411
+ track: (e > F.value.maxThickness ? F.value.maxThickness : e) * F.value.track.width
412
+ };
413
+ }), X = l(() => mn.value.filter((e) => !O.value.includes(e.id)).map((e, t) => {
414
+ let n = (q.value.maxRadius - Y.value.track) / xn.value / 2 * (1 + t), r = q.value.centerY - n;
415
+ return {
416
+ percentage: e.percentage || 0,
417
+ ...e,
418
+ labelY: r,
419
+ radius: n,
420
+ path: Sn(n, e.percentage || 0)
421
+ };
422
+ }));
423
+ function Sn(e, t) {
424
+ let n = 2 * Math.PI * e, r = n * .75, i = `${r} ${n}`, a = r * (1 - t / 100);
425
+ return {
426
+ bgDashArray: `${r} ${n}`,
427
+ bgDashOffset: 0,
428
+ dashArray: i,
429
+ dashOffset: a,
430
+ fullOffset: 0,
431
+ active: `
432
+ M ${q.value.centerX},${q.value.centerY - e}
433
+ A ${e},${e} 0 1 1
434
+ ${q.value.centerX + e * Math.cos(Math.PI * 3 / 4)},${q.value.centerY + e * Math.sin(Math.PI * 3 / 4)}
435
+ `.trim()
436
+ };
437
+ }
438
+ let Cn = Ge;
439
+ function wn() {
440
+ O.value.length ? O.value = [] : pn.value.forEach((e) => {
441
+ O.value.push(e.id);
442
+ }), ln(), Cn("selectLegend", X.value);
443
+ }
444
+ function Tn(e) {
445
+ if (O.value.includes(e)) O.value = O.value.filter((t) => t !== e);
446
+ else {
447
+ if (O.value.length === J.value.length - 1) return;
448
+ O.value.push(e);
449
+ }
450
+ ln(), Cn("selectLegend", X.value);
451
+ }
452
+ function En(e) {
453
+ return J.value.length ? J.value.find((t) => t.name === e) || (un.value && console.warn(`VueUiOnion - Series name not found "${e}"`), null) : (un.value && console.warn("VueUiOnion - There are no series to show."), null);
454
+ }
455
+ function Dn(e) {
456
+ let t = En(e);
457
+ t !== null && O.value.includes(t.id) && Tn(t.id);
458
+ }
459
+ function On(e) {
460
+ let t = En(e);
461
+ t !== null && (O.value.includes(t.id) || Tn(t.id));
462
+ }
463
+ function kn() {
464
+ return X.value;
465
+ }
466
+ let An = l(() => ({
467
+ head: [
468
+ M.value.table.translations.serie,
469
+ M.value.table.translations.percentage,
470
+ M.value.table.translations.value
471
+ ],
472
+ body: X.value.map((e) => [
473
+ e.name,
474
+ e.percentage,
475
+ e.value
476
+ ])
477
+ })), Z = l(() => {
478
+ let e = An.value.head;
479
+ return {
480
+ head: e,
481
+ body: X.value.map((e) => [
482
+ `<span style="color:${e.color}" aria-hidden="true">⬤</span> ${e.name}`,
483
+ `${Number(e.percentage ?? 0).toFixed(M.value.table.td.roundingPercentage).toLocaleString()}%`,
484
+ `${e.prefix || ""}${[
485
+ null,
486
+ void 0,
487
+ NaN,
488
+ "NaN"
489
+ ].includes(e.value) ? "-" : e.value.toFixed(M.value.table.td.roundingValue).toLocaleString()}${e.suffix || ""}`
490
+ ]),
491
+ config: {
492
+ th: {
493
+ backgroundColor: M.value.table.th.backgroundColor,
494
+ color: M.value.table.th.color,
495
+ outline: M.value.table.th.outline
496
+ },
497
+ td: {
498
+ backgroundColor: M.value.table.td.backgroundColor,
499
+ color: M.value.table.td.color,
500
+ outline: M.value.table.td.outline
501
+ },
502
+ breakpoint: M.value.table.responsiveBreakpoint
503
+ },
504
+ colNames: e
505
+ };
506
+ });
507
+ function jn(e = null) {
508
+ Le(() => {
509
+ let t = [
510
+ [L.value.title.text],
511
+ [L.value.title.subtitle.text],
512
+ [""]
513
+ ], n = An.value.head, i = An.value.body, a = t.concat([n]).concat(i), o = r(a);
514
+ e ? e(o) : ae({
515
+ csvContent: o,
516
+ title: L.value.title.text || "vue-ui-onion"
517
+ });
518
+ });
519
+ }
520
+ let Q = b(void 0), $ = b(!1);
521
+ function Mn(e) {
522
+ $.value = e, Et.value += 1;
523
+ }
524
+ function Nn({ datapoint: e }) {
525
+ M.value.events.datapointClick && M.value.events.datapointClick({
526
+ datapoint: e,
527
+ seriesIndex: e.absoluteIndex
528
+ });
529
+ }
530
+ function Pn({ datapoint: e }) {
531
+ Q.value = void 0, D.value = !1, A.value = null, j.value = "pointer", M.value.events.datapointLeave && M.value.events.datapointLeave({
532
+ datapoint: e,
533
+ seriesIndex: e.absoluteIndex
534
+ });
535
+ }
536
+ function Fn({ val: e, percentage: t, showVal: n, showPercentage: r, config: i }) {
537
+ return Oe({
538
+ config: i,
539
+ val: e,
540
+ percentage: t,
541
+ showVal: n,
542
+ showPercentage: r
543
+ });
544
+ }
545
+ function In(e, n) {
546
+ let r = P.value.value.show, i = P.value.percentage.show, a = Fn({
547
+ config: P.value,
548
+ showVal: r,
549
+ showPercentage: i,
550
+ val: ie(P.value.value.formatter, e.value, t({
551
+ p: e.prefix || "",
552
+ v: e.value || 0,
553
+ s: e.suffix || "",
554
+ r: P.value.roundingValue
555
+ }), {
556
+ datapoint: e,
557
+ seriesIndex: n
558
+ }),
559
+ percentage: t({
560
+ v: e.percentage,
561
+ s: "%",
562
+ r: P.value.roundingPercentage
563
+ })
564
+ });
565
+ return `${e.name}${r || i ? ": " : ""}${a}`;
566
+ }
567
+ let Ln = b(null);
568
+ function Rn({ datapoint: e, seriesIndex: n, show: r = !0, triggerMode: a = "pointer" }) {
569
+ M.value.events.datapointEnter && M.value.events.datapointEnter({
570
+ datapoint: e,
571
+ seriesIndex: e.absoluteIndex
572
+ }), j.value = a, A.value = n;
573
+ let o = e.absoluteIndex;
574
+ Q.value = n, Ln.value = {
575
+ datapoint: e,
576
+ seriesIndex: o,
577
+ series: J.value,
578
+ config: M.value
579
+ }, D.value = r;
580
+ let s = "", ee = I.value.customFormat;
581
+ if (i(ee) && re(() => ee({
582
+ seriesIndex: o,
583
+ datapoint: e,
584
+ series: J.value,
585
+ config: M.value
586
+ }))) Dt.value = ee({
587
+ seriesIndex: o,
588
+ datapoint: e,
589
+ series: J.value,
590
+ config: M.value
591
+ });
592
+ else {
593
+ let r = I.value.showPercentage, i = I.value.showValue;
594
+ s += `<div style="width:100%;text-align:center;border-bottom:1px solid ${I.value.borderColor};padding-bottom:6px;margin-bottom:3px;">${e.name}</div>`, s += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 60 60" height="14" width="14"><circle cx="30" cy="30" r="30" stroke="none" fill="${e.color}"/></svg>`, s += `<b>${Fn({
595
+ config: I.value,
596
+ showVal: i,
597
+ showPercentage: r,
598
+ val: `<span>${ie(P.value.value.formatter, e.value, t({
599
+ p: e.prefix || "",
600
+ v: e.value,
601
+ s: e.suffix || "",
602
+ r: I.value.roundingValue
603
+ }), {
604
+ datapoint: e,
605
+ seriesIndex: n
606
+ })}</span>`,
607
+ percentage: t({
608
+ v: e.percentage,
609
+ s: "%",
610
+ r: I.value.roundingPercentage
611
+ })
612
+ })}</b></div>`, Dt.value = `<div>${s}</div>`;
613
+ }
614
+ }
615
+ function zn() {
616
+ H.value.showTable = !H.value.showTable;
617
+ }
618
+ function Bn() {
619
+ H.value.showTooltip = !H.value.showTooltip;
620
+ }
621
+ let Vn = b(!1);
622
+ function Hn() {
623
+ Vn.value = !Vn.value;
624
+ }
625
+ async function Un({ scale: e = 2 } = {}) {
626
+ if (!k.value) return;
627
+ let { width: t, height: n } = k.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await ye({
628
+ domElement: k.value,
629
+ base64: !0,
630
+ img: !0,
631
+ scale: e
632
+ });
633
+ return {
634
+ imageUri: i,
635
+ base64: a,
636
+ title: L.value.title.text,
637
+ width: t,
638
+ height: n,
639
+ aspectRatio: r
640
+ };
641
+ }
642
+ let Wn = l(() => {
643
+ let e = M.value.table.useDialog && !M.value.table.show, t = H.value.showTable;
644
+ return {
645
+ component: e ? bt : ht,
646
+ title: `${L.value.title.text}${L.value.title.subtitle.text ? `: ${L.value.title.subtitle.text}` : ""}`,
647
+ props: e ? {
648
+ backgroundColor: M.value.table.th.backgroundColor,
649
+ color: M.value.table.th.color,
650
+ headerColor: M.value.table.th.color,
651
+ headerBg: M.value.table.th.backgroundColor,
652
+ isFullscreen: $.value,
653
+ fullscreenParent: k.value,
654
+ forcedWidth: Math.min(600, window.innerWidth * .8),
655
+ isCursorPointer: z.value
656
+ } : {
657
+ hideDetails: !0,
658
+ config: {
659
+ open: t,
660
+ maxHeight: 1e4,
661
+ body: {
662
+ backgroundColor: L.value.backgroundColor,
663
+ color: L.value.color
664
+ },
665
+ head: {
666
+ backgroundColor: L.value.backgroundColor,
667
+ color: L.value.color
668
+ }
669
+ }
670
+ }
671
+ };
672
+ });
673
+ C(() => H.value.showTable, (e) => {
674
+ M.value.table.show || (e && M.value.table.useDialog && Lt.value ? Lt.value.open() : "close" in Lt.value && Lt.value.close());
675
+ });
676
+ let Gn = l(() => pn.value.map((e) => ({
677
+ ...e,
678
+ name: e.display
679
+ }))), Kn = l(() => L.value.backgroundColor), qn = l(() => L.value.legend), Jn = l(() => L.value.title), { isCallbackImaging: Yn, isCallbackSvg: Xn, generateSvg: Zn, onGenerateImage: Qn } = _e({
680
+ svg: V,
681
+ title: Jn,
682
+ legend: qn,
683
+ legendItems: Gn,
684
+ backgroundColor: Kn,
685
+ getSvgCallback: () => M.value.userOptions.callbacks.svg,
686
+ generateImage: Qt
687
+ });
688
+ async function $n() {
689
+ if (Cn("copyAlt", {
690
+ config: M.value,
691
+ dataset: X.value
692
+ }), !M.value.userOptions.callbacks.altCopy) {
693
+ console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
694
+ return;
695
+ }
696
+ await Promise.resolve(M.value.userOptions.callbacks.altCopy({
697
+ config: M.value,
698
+ dataset: X.value
699
+ }));
700
+ }
701
+ function er() {
702
+ A.value = null, zt.value = !0;
703
+ }
704
+ function tr() {
705
+ A.value = null, j.value = "pointer", D.value = !1, Q.value = void 0, zt.value = !1;
706
+ }
707
+ function nr(e) {
708
+ if (!V.value || Vn.value || document.activeElement !== V.value || !X.value.length) return;
709
+ let t = ["ArrowLeft", "ArrowDown"].includes(e.key), n = ["ArrowRight", "ArrowUp"].includes(e.key), r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
710
+ if (!t && !n && !r && !i) return;
711
+ if (e.preventDefault(), e.stopPropagation(), i) {
712
+ A.value = null, j.value = "pointer", D.value = !1, Q.value = void 0;
713
+ return;
714
+ }
715
+ if (r) {
716
+ if (A.value === null) return;
717
+ let e = X.value[A.value];
718
+ if (!e) return;
719
+ Nn({ datapoint: e });
720
+ return;
721
+ }
722
+ let a = A.value;
723
+ a === null || a < 0 || a >= X.value.length ? a = n ? 0 : X.value.length - 1 : n ? (a += 1, a >= X.value.length && (a = 0)) : t && (--a, a < 0 && (a = X.value.length - 1));
724
+ let o = X.value[a];
725
+ o && (rr(a), Rn({
726
+ datapoint: o,
727
+ seriesIndex: a,
728
+ show: !0,
729
+ triggerMode: "keyboard"
730
+ }));
731
+ }
732
+ function rr(e) {
733
+ if (!Number.isFinite(e) || !V.value) return;
734
+ let t = X.value[e];
735
+ if (!t) return;
736
+ let n = t.radius, r = Math.PI * 7 / 4, i = q.value.centerX + n * Math.cos(r), a = q.value.centerY + n * Math.sin(r), o = V.value.getBoundingClientRect();
737
+ Rt.value = {
738
+ x: o.left + i / U.value.width * o.width,
739
+ y: o.top + a / U.value.height * o.height
740
+ };
741
+ }
742
+ let ir = l(() => ({
743
+ headers: Z.value?.colNames ?? [],
744
+ rows: Z.value?.body ?? []
745
+ }));
746
+ return xe({
747
+ getData: kn,
748
+ getImage: Un,
749
+ generatePdf: Zt,
750
+ generateCsv: jn,
751
+ generateImage: Qt,
752
+ generateSvg: Zn,
753
+ hideSeries: On,
754
+ showSeries: Dn,
755
+ toggleTable: zn,
756
+ toggleTooltip: Bn,
757
+ toggleAnnotator: Hn,
758
+ toggleFullscreen: Mn,
759
+ copyAlt: $n
760
+ }), (e, t) => (y(), f("div", {
761
+ class: g(`vue-data-ui-component vue-ui-onion ${$.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${M.value.useCssAnimation ? "" : "vue-ui-dna"}`),
762
+ ref_key: "onionChart",
763
+ ref: k,
764
+ id: `vue-ui-onion_${E.value}`,
765
+ style: v(`font-family:${M.value.style.fontFamily};width:100%; ${M.value.responsive ? "height: 100%;" : ""} text-align:center;background:${L.value.backgroundColor}`),
766
+ onMouseenter: t[4] ||= () => S(Wt)(!0),
767
+ onMouseleave: t[5] ||= () => S(Wt)(!1)
768
+ }, [
769
+ p("div", {
770
+ id: `chart-instructions-${E.value}`,
771
+ class: "sr-only"
772
+ }, [p("p", null, Ue(M.value.a11y.translations.keyboardNavigation), 1)], 8, qe),
773
+ ir.value?.rows?.length ? (y(), u(Te, {
774
+ key: 0,
775
+ uid: E.value,
776
+ head: ir.value.headers,
777
+ body: ir.value.rows,
778
+ notice: M.value.a11y.translations.tableAvailable,
779
+ caption: M.value.a11y.translations.tableCaption
780
+ }, null, 8, [
781
+ "uid",
782
+ "head",
783
+ "body",
784
+ "notice",
785
+ "caption"
786
+ ])) : d("", !0),
787
+ N.value.buttons.annotator ? (y(), u(S(vt), {
788
+ key: 1,
789
+ svgRef: S(V),
790
+ backgroundColor: L.value.backgroundColor,
791
+ color: L.value.color,
792
+ active: Vn.value,
793
+ isCursorPointer: z.value,
794
+ palette: N.value.annotatorPalette,
795
+ onClose: Hn
796
+ }, {
797
+ "annotator-action-close": w(() => [x(e.$slots, "annotator-action-close", {}, void 0, !0)]),
798
+ "annotator-action-color": w(({ color: t }) => [x(e.$slots, "annotator-action-color", _(h({ color: t })), void 0, !0)]),
799
+ "annotator-action-draw": w(({ mode: t }) => [x(e.$slots, "annotator-action-draw", _(h({ mode: t })), void 0, !0)]),
800
+ "annotator-action-undo": w(({ disabled: t }) => [x(e.$slots, "annotator-action-undo", _(h({ disabled: t })), void 0, !0)]),
801
+ "annotator-action-redo": w(({ disabled: t }) => [x(e.$slots, "annotator-action-redo", _(h({ disabled: t })), void 0, !0)]),
802
+ "annotator-action-delete": w(({ disabled: t }) => [x(e.$slots, "annotator-action-delete", _(h({ disabled: t })), void 0, !0)]),
803
+ _: 3
804
+ }, 8, [
805
+ "svgRef",
806
+ "backgroundColor",
807
+ "color",
808
+ "active",
809
+ "isCursorPointer",
810
+ "palette"
811
+ ])) : d("", !0),
812
+ $t.value ? (y(), f("div", {
813
+ key: 2,
814
+ ref_key: "noTitle",
815
+ ref: jt,
816
+ class: "vue-data-ui-no-title-space",
817
+ style: "height:36px; width: 100%;background:transparent"
818
+ }, null, 512)) : d("", !0),
819
+ L.value.title.text ? (y(), f("div", {
820
+ key: 3,
821
+ ref_key: "chartTitle",
822
+ ref: Ot,
823
+ style: "width:100%;background:transparent"
824
+ }, [(y(), u(be, {
825
+ key: `title_${Mt.value}`,
826
+ config: {
827
+ title: {
828
+ cy: "onion-div-title",
829
+ ...L.value.title
830
+ },
831
+ subtitle: {
832
+ cy: "onion-div-subtitle",
833
+ ...L.value.title.subtitle
834
+ }
835
+ }
836
+ }, null, 8, ["config"]))], 512)) : d("", !0),
837
+ p("div", { id: `legend-top-${E.value}` }, null, 8, Je),
838
+ N.value.show && wt.value && (S(Gt) || S(Ut)) ? (y(), u(S(_t), {
839
+ ref_key: "details",
840
+ ref: Tt,
841
+ key: `user_options${Et.value}`,
842
+ backgroundColor: L.value.backgroundColor,
843
+ color: L.value.color,
844
+ isImaging: S(Xt),
845
+ isPrinting: S(Yt),
846
+ uid: E.value,
847
+ hasTooltip: N.value.buttons.tooltip && I.value.show,
848
+ hasPdf: N.value.buttons.pdf,
849
+ hasImg: N.value.buttons.img,
850
+ hasSvg: N.value.buttons.svg,
851
+ hasXls: N.value.buttons.csv,
852
+ hasTable: N.value.buttons.table,
853
+ hasFullscreen: N.value.buttons.fullscreen,
854
+ hasAltCopy: N.value.buttons.altCopy,
855
+ isFullscreen: $.value,
856
+ isTooltip: H.value.showTooltip,
857
+ titles: { ...N.value.buttonTitles },
858
+ chartElement: k.value,
859
+ position: N.value.position,
860
+ hasAnnotator: N.value.buttons.annotator,
861
+ isAnnotation: Vn.value,
862
+ callbacks: N.value.callbacks,
863
+ printScale: N.value.print.scale,
864
+ tableDialog: M.value.table.useDialog,
865
+ isCursorPointer: z.value,
866
+ onToggleFullscreen: Mn,
867
+ onGeneratePdf: S(Zt),
868
+ onGenerateCsv: jn,
869
+ onGenerateImage: S(Qn),
870
+ onGenerateSvg: S(Zn),
871
+ onToggleTable: zn,
872
+ onToggleTooltip: Bn,
873
+ onToggleAnnotator: Hn,
874
+ onCopyAlt: $n,
875
+ style: v({ visibility: S(Gt) ? S(Ut) ? "visible" : "hidden" : "visible" })
876
+ }, Ne({ _: 2 }, [
877
+ e.$slots.menuIcon ? {
878
+ name: "menuIcon",
879
+ fn: w(({ isOpen: t, color: n }) => [x(e.$slots, "menuIcon", _(h({
880
+ isOpen: t,
881
+ color: n
882
+ })), void 0, !0)]),
883
+ key: "0"
884
+ } : void 0,
885
+ e.$slots.optionTooltip ? {
886
+ name: "optionTooltip",
887
+ fn: w(() => [x(e.$slots, "optionTooltip", {}, void 0, !0)]),
888
+ key: "1"
889
+ } : void 0,
890
+ e.$slots.optionPdf ? {
891
+ name: "optionPdf",
892
+ fn: w(() => [x(e.$slots, "optionPdf", {}, void 0, !0)]),
893
+ key: "2"
894
+ } : void 0,
895
+ e.$slots.optionCsv ? {
896
+ name: "optionCsv",
897
+ fn: w(() => [x(e.$slots, "optionCsv", {}, void 0, !0)]),
898
+ key: "3"
899
+ } : void 0,
900
+ e.$slots.optionImg ? {
901
+ name: "optionImg",
902
+ fn: w(() => [x(e.$slots, "optionImg", {}, void 0, !0)]),
903
+ key: "4"
904
+ } : void 0,
905
+ e.$slots.optionSvg ? {
906
+ name: "optionSvg",
907
+ fn: w(() => [x(e.$slots, "optionSvg", {}, void 0, !0)]),
908
+ key: "5"
909
+ } : void 0,
910
+ e.$slots.optionTable ? {
911
+ name: "optionTable",
912
+ fn: w(() => [x(e.$slots, "optionTable", {}, void 0, !0)]),
913
+ key: "6"
914
+ } : void 0,
915
+ e.$slots.optionFullscreen ? {
916
+ name: "optionFullscreen",
917
+ fn: w(({ toggleFullscreen: t, isFullscreen: n }) => [x(e.$slots, "optionFullscreen", _(h({
918
+ toggleFullscreen: t,
919
+ isFullscreen: n
920
+ })), void 0, !0)]),
921
+ key: "7"
922
+ } : void 0,
923
+ e.$slots.optionAnnotator ? {
924
+ name: "optionAnnotator",
925
+ fn: w(({ toggleAnnotator: t, isAnnotator: n }) => [x(e.$slots, "optionAnnotator", _(h({
926
+ toggleAnnotator: t,
927
+ isAnnotator: n
928
+ })), void 0, !0)]),
929
+ key: "8"
930
+ } : void 0,
931
+ e.$slots.optionAltCopy ? {
932
+ name: "optionAltCopy",
933
+ fn: w(({ altCopy: t }) => [x(e.$slots, "optionAltCopy", _(h({ altCopy: t })), void 0, !0)]),
934
+ key: "9"
935
+ } : void 0,
936
+ e.$slots["custom-menu-before"] ? {
937
+ name: "custom-menu-before",
938
+ fn: w(() => [x(e.$slots, "custom-menu-before", {}, void 0, !0)]),
939
+ key: "10"
940
+ } : void 0,
941
+ e.$slots["custom-menu-after"] ? {
942
+ name: "custom-menu-after",
943
+ fn: w(() => [x(e.$slots, "custom-menu-after", {}, void 0, !0)]),
944
+ key: "11"
945
+ } : void 0
946
+ ]), 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.onGenerateImage.onGenerateSvg.style".split("."))) : d("", !0),
947
+ p("div", Ye, [(y(), f("svg", {
948
+ ref_key: "svgRef",
949
+ ref: V,
950
+ xmlns: S(oe),
951
+ "aria-describedby": `chart-instructions-${E.value}`,
952
+ class: g({
953
+ "vue-data-ui-fullscreen--on": $.value,
954
+ "vue-data-ui-fulscreen--off": !$.value,
955
+ resizing: Ft.value,
956
+ "vue-data-ui-no-transition": !S(R) || Ft.value || S(B)
957
+ }),
958
+ viewBox: `0 0 ${U.value.width <= 0 ? 10 : U.value.width} ${U.value.height <= 0 ? 10 : U.value.height}`,
959
+ style: v(`max-width:100%;overflow:visible;background:transparent;color:${L.value.color}`),
960
+ tabindex: "0",
961
+ onFocus: er,
962
+ onBlur: tr,
963
+ onKeydown: nr
964
+ }, [
965
+ Fe(S(yt)),
966
+ e.$slots["chart-background"] ? (y(), f("foreignObject", {
967
+ key: 0,
968
+ x: 0,
969
+ y: 0,
970
+ width: U.value.width <= 0 ? 10 : U.value.width,
971
+ height: U.value.height <= 0 ? 10 : U.value.height,
972
+ style: { pointerEvents: "none" }
973
+ }, [x(e.$slots, "chart-background", {}, void 0, !0)], 8, Ze)) : d("", !0),
974
+ (y(!0), f(c, null, Be(X.value, (e, t) => (y(), f("circle", {
975
+ cx: q.value.centerX,
976
+ cy: q.value.centerY,
977
+ r: e.radius <= 0 ? 1e-4 : e.radius,
978
+ stroke: F.value.gutter.color,
979
+ "stroke-width": Y.value.gutter,
980
+ fill: "none",
981
+ "stroke-dasharray": e.path.bgDashArray,
982
+ "stroke-dashoffset": e.path.fullOffset,
983
+ "stroke-linecap": "round",
984
+ class: g({
985
+ "vue-ui-onion-path": !0,
986
+ "vue-ui-onion-blur": M.value.useBlurOnHover && ![null, void 0].includes(Q.value) && Q.value !== t,
987
+ "vue-data-ui-transition": S(R)
988
+ }),
989
+ style: {
990
+ transform: "rotate(-90deg)",
991
+ transformOrigin: "50% 50%"
992
+ }
993
+ }, null, 10, Qe))), 256)),
994
+ (y(!0), f(c, null, Be(X.value, (e, t) => (y(), f("circle", {
995
+ cx: q.value.centerX,
996
+ cy: q.value.centerY,
997
+ r: e.radius < 0 ? 1e-4 : e.radius,
998
+ stroke: `${e.color}`,
999
+ "stroke-width": Y.value.track,
1000
+ fill: "none",
1001
+ "stroke-dasharray": e.path.dashArray,
1002
+ "stroke-dashoffset": e.path.dashOffset,
1003
+ class: g({
1004
+ "vue-ui-onion-path": !0,
1005
+ "vue-ui-onion-blur": M.value.useBlurOnHover && ![null, void 0].includes(Q.value) && Q.value !== t,
1006
+ "vue-data-ui-transition": S(R)
1007
+ }),
1008
+ "stroke-linecap": "round",
1009
+ style: {
1010
+ transform: "rotate(-90deg)",
1011
+ transformOrigin: "50% 50%"
1012
+ }
1013
+ }, null, 10, $e))), 256)),
1014
+ p("defs", null, [p("filter", {
1015
+ id: `blur_${E.value}`,
1016
+ x: "-50%",
1017
+ y: "-50%",
1018
+ width: "200%",
1019
+ height: "200%"
1020
+ }, [p("feGaussianBlur", {
1021
+ in: "SourceGraphic",
1022
+ stdDeviation: 100 / L.value.gradientIntensity
1023
+ }, null, 8, tt)], 8, et)]),
1024
+ L.value.useGradient ? (y(), f("g", {
1025
+ key: 1,
1026
+ filter: `url(#blur_${E.value})`
1027
+ }, [(y(!0), f(c, null, Be(X.value, (e, t) => (y(), f("circle", {
1028
+ cx: q.value.centerX,
1029
+ cy: q.value.centerY,
1030
+ r: e.radius <= 0 ? 1e-4 : e.radius,
1031
+ stroke: "white",
1032
+ "stroke-width": Y.value.track / 3,
1033
+ fill: "none",
1034
+ "stroke-linecap": "round",
1035
+ "stroke-dasharray": e.path.dashArray,
1036
+ "stroke-dashoffset": e.path.dashOffset,
1037
+ style: {
1038
+ transform: "rotate(-90deg)",
1039
+ transformOrigin: "50% 50%"
1040
+ },
1041
+ class: g({ "vue-data-ui-transition": S(R) })
1042
+ }, null, 10, rt))), 256))], 8, nt)) : d("", !0),
1043
+ (y(!0), f(c, null, Be(X.value, (e, t) => (y(), f("circle", {
1044
+ cx: q.value.centerX,
1045
+ cy: q.value.centerY,
1046
+ r: e.radius <= 0 ? 1e-4 : e.radius,
1047
+ stroke: "transparent",
1048
+ "stroke-width": Math.max(Y.value.track, Y.value.gutter),
1049
+ fill: "none",
1050
+ "stroke-dasharray": e.path.bgDashArray,
1051
+ "stroke-dashoffset": e.path.fullOffset,
1052
+ "stroke-linecap": "round",
1053
+ class: "vue-ui-onion-path",
1054
+ style: {
1055
+ transform: "rotate(-90deg)",
1056
+ transformOrigin: "50% 50%"
1057
+ },
1058
+ onMouseenter: (n) => Rn({
1059
+ datapoint: e,
1060
+ show: !0,
1061
+ seriesIndex: t,
1062
+ triggerMode: "pointer"
1063
+ }),
1064
+ onMouseleave: (t) => Pn({ datapoint: e }),
1065
+ onClick: (t) => Nn({ datapoint: e })
1066
+ }, null, 40, it))), 256)),
1067
+ P.value.show ? (y(), f("g", at, [(y(!0), f(c, null, Be(X.value, (e, t) => (y(), f("g", {
1068
+ key: `dl_${e.id}`,
1069
+ onMouseenter: (n) => Rn({
1070
+ datapoint: e,
1071
+ show: !0,
1072
+ seriesIndex: t,
1073
+ triggerMode: "pointer"
1074
+ }),
1075
+ onMouseleave: (t) => Pn({ datapoint: e }),
1076
+ onClick: (t) => Nn({ datapoint: e })
1077
+ }, [O.value.includes(e.id) ? d("", !0) : (y(), f("text", {
1078
+ key: 0,
1079
+ class: g(["vue-ui-onion-label", { "vue-data-ui-transition": S(R) }]),
1080
+ transform: `translate(${U.value.width / 2 - Y.value.gutter * .8 + P.value.offsetX},${e.labelY + P.value.offsetY})`,
1081
+ "text-anchor": "end",
1082
+ "font-size": P.value.fontSize,
1083
+ fill: M.value.useBlurOnHover && ![null, void 0].includes(Q.value) && Q.value === t ? e.color : P.value.color,
1084
+ "font-weight": P.value.bold ? "bold" : "normal"
1085
+ }, Ue(In(e, t)), 11, st))], 40, ot))), 128))])) : d("", !0),
1086
+ x(e.$slots, "svg", { svg: {
1087
+ ...U.value,
1088
+ drawingArea: q.value,
1089
+ isPrintingImg: S(Yt) || S(Xt) || S(Yn),
1090
+ isPrintingSvg: S(Xn)
1091
+ } }, void 0, !0)
1092
+ ], 46, Xe)), e.$slots.hint ? (y(), f("div", ct, [x(e.$slots, "hint", _(h({
1093
+ hint: M.value.a11y.translations.keyboardNavigation,
1094
+ isVisible: zt.value
1095
+ })), void 0, !0)])) : d("", !0)]),
1096
+ e.$slots.watermark ? (y(), f("div", lt, [x(e.$slots, "watermark", _(h({ isPrinting: S(Yt) || S(Xt) || S(Yn) || S(Xn) })), void 0, !0)])) : d("", !0),
1097
+ p("div", { id: `legend-bottom-${E.value}` }, null, 8, ut),
1098
+ It.value && (L.value.legend.show || e.$slots.legend) ? (y(), u(Me, {
1099
+ key: 6,
1100
+ to: L.value.legend.position === "top" ? `#legend-top-${E.value}` : `#legend-bottom-${E.value}`
1101
+ }, [p("div", {
1102
+ ref_key: "chartLegend",
1103
+ ref: kt
1104
+ }, [x(e.$slots, "legend", { legend: pn.value }, () => [L.value.legend.show ? (y(), u(ke, {
1105
+ key: `legend_${Pt.value}`,
1106
+ legendSet: pn.value,
1107
+ config: bn.value,
1108
+ isCursorPointer: z.value,
1109
+ onClickMarker: t[0] ||= ({ legend: e }) => Tn(e.id)
1110
+ }, {
1111
+ item: w(({ legend: e }) => [S(B) ? d("", !0) : (y(), f("div", {
1112
+ key: 0,
1113
+ "data-cy-legend-item": "",
1114
+ onClick: (t) => e.segregate(),
1115
+ style: v(`opacity:${O.value.includes(e.id) ? .5 : 1}`)
1116
+ }, Ue(e.display), 13, dt))]),
1117
+ legendToggle: w(() => [pn.value.length > 2 && L.value.legend.selectAllToggle.show && !S(B) ? (y(), u(we, {
1118
+ key: 0,
1119
+ backgroundColor: L.value.legend.selectAllToggle.backgroundColor,
1120
+ color: L.value.legend.selectAllToggle.color,
1121
+ fontSize: L.value.legend.fontSize,
1122
+ checked: O.value.length > 0,
1123
+ isCursorPointer: z.value,
1124
+ onToggle: wn
1125
+ }, null, 8, [
1126
+ "backgroundColor",
1127
+ "color",
1128
+ "fontSize",
1129
+ "checked",
1130
+ "isCursorPointer"
1131
+ ])) : d("", !0)]),
1132
+ _: 1
1133
+ }, 8, [
1134
+ "legendSet",
1135
+ "config",
1136
+ "isCursorPointer"
1137
+ ])) : d("", !0)], !0)], 512)], 8, ["to"])) : d("", !0),
1138
+ e.$slots.source ? (y(), f("div", {
1139
+ key: 7,
1140
+ ref_key: "source",
1141
+ ref: At,
1142
+ dir: "auto"
1143
+ }, [x(e.$slots, "source", {}, void 0, !0)], 512)) : d("", !0),
1144
+ Fe(S(pt), {
1145
+ teleportTo: I.value.teleportTo,
1146
+ show: H.value.showTooltip && D.value,
1147
+ backgroundColor: I.value.backgroundColor,
1148
+ color: I.value.color,
1149
+ borderRadius: I.value.borderRadius,
1150
+ borderColor: I.value.borderColor,
1151
+ borderWidth: I.value.borderWidth,
1152
+ fontSize: I.value.fontSize,
1153
+ backgroundOpacity: I.value.backgroundOpacity,
1154
+ position: I.value.position,
1155
+ offsetX: I.value.offsetX,
1156
+ offsetY: I.value.offsetY,
1157
+ parent: k.value,
1158
+ content: Dt.value,
1159
+ isFullscreen: $.value,
1160
+ isCustom: S(i)(I.value.customFormat),
1161
+ smooth: I.value.smooth,
1162
+ backdropFilter: I.value.backdropFilter,
1163
+ smoothForce: I.value.smoothForce,
1164
+ smoothSnapThreshold: I.value.smoothSnapThreshold,
1165
+ isA11yMode: j.value === "keyboard",
1166
+ a11yPosition: Rt.value
1167
+ }, {
1168
+ "tooltip-before": w(() => [x(e.$slots, "tooltip-before", _(h({ ...Ln.value })), void 0, !0)]),
1169
+ tooltip: w(() => [x(e.$slots, "tooltip", _(h({ ...Ln.value })), void 0, !0)]),
1170
+ "tooltip-after": w(() => [x(e.$slots, "tooltip-after", _(h({ ...Ln.value })), void 0, !0)]),
1171
+ _: 3
1172
+ }, 8, [
1173
+ "teleportTo",
1174
+ "show",
1175
+ "backgroundColor",
1176
+ "color",
1177
+ "borderRadius",
1178
+ "borderColor",
1179
+ "borderWidth",
1180
+ "fontSize",
1181
+ "backgroundOpacity",
1182
+ "position",
1183
+ "offsetX",
1184
+ "offsetY",
1185
+ "parent",
1186
+ "content",
1187
+ "isFullscreen",
1188
+ "isCustom",
1189
+ "smooth",
1190
+ "backdropFilter",
1191
+ "smoothForce",
1192
+ "smoothSnapThreshold",
1193
+ "isA11yMode",
1194
+ "a11yPosition"
1195
+ ]),
1196
+ wt.value && N.value.buttons.table ? (y(), u(Ve(Wn.value.component), Ie({ key: 8 }, Wn.value.props, {
1197
+ ref_key: "tableUnit",
1198
+ ref: Lt,
1199
+ onClose: t[3] ||= (e) => H.value.showTable = !1
1200
+ }), Ne({
1201
+ content: w(() => [(y(), u(S(gt), {
1202
+ key: `table_${Nt.value}`,
1203
+ colNames: Z.value.colNames,
1204
+ head: Z.value.head,
1205
+ body: Z.value.body,
1206
+ config: Z.value.config,
1207
+ title: M.value.table.useDialog ? "" : Wn.value.title,
1208
+ withCloseButton: !M.value.table.useDialog,
1209
+ isCursorPointer: z.value,
1210
+ onClose: t[2] ||= (e) => H.value.showTable = !1
1211
+ }, {
1212
+ th: w(({ th: e }) => [Pe(Ue(e), 1)]),
1213
+ td: w(({ td: e }) => [p("div", { innerHTML: e }, null, 8, ft)]),
1214
+ _: 1
1215
+ }, 8, [
1216
+ "colNames",
1217
+ "head",
1218
+ "body",
1219
+ "config",
1220
+ "title",
1221
+ "withCloseButton",
1222
+ "isCursorPointer"
1223
+ ]))]),
1224
+ _: 2
1225
+ }, [M.value.table.useDialog ? {
1226
+ name: "title",
1227
+ fn: w(() => [Pe(Ue(Wn.value.title), 1)]),
1228
+ key: "0"
1229
+ } : void 0, M.value.table.useDialog ? {
1230
+ name: "actions",
1231
+ fn: w(() => [p("button", {
1232
+ tabindex: "0",
1233
+ class: "vue-ui-user-options-button",
1234
+ onClick: t[1] ||= (e) => jn(N.value.callbacks.csv),
1235
+ style: v({ cursor: z.value ? "pointer" : "default" })
1236
+ }, [Fe(S(mt), {
1237
+ name: "fileCsv",
1238
+ stroke: Wn.value.props.color
1239
+ }, null, 8, ["stroke"])], 4)]),
1240
+ key: "1"
1241
+ } : void 0]), 1040)) : d("", !0),
1242
+ x(e.$slots, "skeleton", {}, () => [S(B) ? (y(), u(me, { key: 0 })) : d("", !0)], !0)
1243
+ ], 46, Ke));
1244
+ }
1245
+ }, [["__scopeId", "data-v-bf80dd33"]]);
1246
+ //#endregion
1247
+ export { Ge as n, pt as t };