vue-data-ui 3.5.0 → 3.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (144) hide show
  1. package/README.md +26 -0
  2. package/dist/{ColorPicker-J5wOPCeB.js → ColorPicker-ChuwChMo.js} +58 -56
  3. package/dist/{NonSvgPenAndPaper-C7TRn0_3.js → NonSvgPenAndPaper-DVgKKLIf.js} +1 -1
  4. package/dist/{PackageVersion-Cyx_s25h.js → PackageVersion-DQvyATVa.js} +1 -1
  5. package/dist/PenAndPaper-SZQIAgkg.js +388 -0
  6. package/dist/{Title-l36lOBMx.js → Title-isbiM8i8.js} +1 -1
  7. package/dist/components/vue-ui-3d-bar.js +1 -1
  8. package/dist/components/vue-ui-accordion.js +1 -1
  9. package/dist/components/vue-ui-age-pyramid.js +1 -1
  10. package/dist/components/vue-ui-annotator.js +1 -1
  11. package/dist/components/vue-ui-bullet.js +1 -1
  12. package/dist/components/vue-ui-candlestick.js +1 -1
  13. package/dist/components/vue-ui-carousel-table.js +1 -1
  14. package/dist/components/vue-ui-chestnut.js +1 -1
  15. package/dist/components/vue-ui-chord.js +1 -1
  16. package/dist/components/vue-ui-circle-pack.js +1 -1
  17. package/dist/components/vue-ui-cursor.js +1 -1
  18. package/dist/components/vue-ui-dashboard.js +1 -1
  19. package/dist/components/vue-ui-digits.js +1 -1
  20. package/dist/components/vue-ui-donut-evolution.js +1 -1
  21. package/dist/components/vue-ui-donut.js +1 -1
  22. package/dist/components/vue-ui-dumbbell.js +1 -1
  23. package/dist/components/vue-ui-flow.js +1 -1
  24. package/dist/components/vue-ui-funnel.js +1 -1
  25. package/dist/components/vue-ui-galaxy.js +1 -1
  26. package/dist/components/vue-ui-gauge.js +1 -1
  27. package/dist/components/vue-ui-gizmo.js +1 -1
  28. package/dist/components/vue-ui-heatmap.js +1 -1
  29. package/dist/components/vue-ui-history-plot.js +1 -1
  30. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  31. package/dist/components/vue-ui-kpi.js +1 -1
  32. package/dist/components/vue-ui-mini-loader.js +1 -1
  33. package/dist/components/vue-ui-molecule.js +1 -1
  34. package/dist/components/vue-ui-mood-radar.js +1 -1
  35. package/dist/components/vue-ui-nested-donuts.js +1 -1
  36. package/dist/components/vue-ui-onion.js +1 -1
  37. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  38. package/dist/components/vue-ui-quadrant.js +1 -1
  39. package/dist/components/vue-ui-quick-chart.js +1 -1
  40. package/dist/components/vue-ui-radar.js +1 -1
  41. package/dist/components/vue-ui-rating.js +1 -1
  42. package/dist/components/vue-ui-relation-circle.js +1 -1
  43. package/dist/components/vue-ui-ridgeline.js +1 -1
  44. package/dist/components/vue-ui-rings.js +1 -1
  45. package/dist/components/vue-ui-scatter.js +1 -1
  46. package/dist/components/vue-ui-skeleton.js +1 -1
  47. package/dist/components/vue-ui-smiley.js +1 -1
  48. package/dist/components/vue-ui-spark-trend.js +1 -1
  49. package/dist/components/vue-ui-sparkbar.js +1 -1
  50. package/dist/components/vue-ui-sparkgauge.js +1 -1
  51. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  52. package/dist/components/vue-ui-sparkline.js +1 -1
  53. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  54. package/dist/components/vue-ui-stackbar.js +1 -1
  55. package/dist/components/vue-ui-strip-plot.js +1 -1
  56. package/dist/components/vue-ui-table-heatmap.js +1 -1
  57. package/dist/components/vue-ui-table-sparkline.js +1 -1
  58. package/dist/components/vue-ui-table.js +1 -1
  59. package/dist/components/vue-ui-thermometer.js +1 -1
  60. package/dist/components/vue-ui-timer.js +1 -1
  61. package/dist/components/vue-ui-tiremarks.js +1 -1
  62. package/dist/components/vue-ui-treemap.js +1 -1
  63. package/dist/components/vue-ui-vertical-bar.js +1 -1
  64. package/dist/components/vue-ui-waffle.js +1 -1
  65. package/dist/components/vue-ui-wheel.js +1 -1
  66. package/dist/components/vue-ui-word-cloud.js +1 -1
  67. package/dist/components/vue-ui-world.js +1 -1
  68. package/dist/components/vue-ui-xy-canvas.js +1 -1
  69. package/dist/components/vue-ui-xy.js +1 -1
  70. package/dist/style.css +1 -1
  71. package/dist/types/vue-data-ui.d.ts +17 -8
  72. package/dist/{useNestedProp-BjZe1Y85.js → useNestedProp-DjGXw6S9.js} +22 -8
  73. package/dist/{vue-data-ui-DxgRqCAo.js → vue-data-ui-B_RxfmEm.js} +63 -63
  74. package/dist/vue-data-ui.js +64 -64
  75. package/dist/{vue-ui-3d-bar-DmNJp8SY.js → vue-ui-3d-bar-CMNYyVa2.js} +454 -434
  76. package/dist/{vue-ui-accordion-CZ0thhxa.js → vue-ui-accordion-CqhVCfc2.js} +1 -1
  77. package/dist/{vue-ui-age-pyramid-CPAP3sNY.js → vue-ui-age-pyramid-Vqa9iYXE.js} +180 -160
  78. package/dist/{vue-ui-annotator-BylDgUVb.js → vue-ui-annotator-nNv10fBm.js} +3 -3
  79. package/dist/{vue-ui-bullet-Ce6uvCQJ.js → vue-ui-bullet-BWEBeYV5.js} +190 -170
  80. package/dist/{vue-ui-candlestick-DewevWV_.js → vue-ui-candlestick-BoLzL0g1.js} +201 -181
  81. package/dist/{vue-ui-carousel-table-Dv1CDfE5.js → vue-ui-carousel-table-Bi6wvUUU.js} +2 -2
  82. package/dist/{vue-ui-chestnut-D9sdFZ4E.js → vue-ui-chestnut-BGz1TLXG.js} +375 -355
  83. package/dist/vue-ui-chord-CebhS7ln.js +1153 -0
  84. package/dist/{vue-ui-circle-pack-Be74QB_0.js → vue-ui-circle-pack-7PJVyKjp.js} +289 -269
  85. package/dist/{vue-ui-cursor-ik59bfC4.js → vue-ui-cursor-qYLAwvzn.js} +1 -1
  86. package/dist/vue-ui-dashboard-DcmMvhgM.js +432 -0
  87. package/dist/{vue-ui-digits-ByNNcWXi.js → vue-ui-digits-DyE8eU1m.js} +1 -1
  88. package/dist/{vue-ui-donut-BRGFcgxS.js → vue-ui-donut-CxZcJFTo.js} +462 -442
  89. package/dist/{vue-ui-donut-evolution-DJ0C-7jH.js → vue-ui-donut-evolution-BVYL-BUJ.js} +293 -273
  90. package/dist/{vue-ui-dumbbell-iQJ0BUhm.js → vue-ui-dumbbell-QxZn86A3.js} +210 -190
  91. package/dist/{vue-ui-flow-CTYFoib3.js → vue-ui-flow-DEI5LRch.js} +339 -319
  92. package/dist/{vue-ui-funnel-CG55Xcdy.js → vue-ui-funnel-B_A5orFg.js} +218 -198
  93. package/dist/{vue-ui-galaxy-BQrxjKZJ.js → vue-ui-galaxy-CUoDRr-O.js} +201 -181
  94. package/dist/{vue-ui-gauge-Tc-0NI0Y.js → vue-ui-gauge-46tSRZN5.js} +311 -291
  95. package/dist/{vue-ui-gizmo-P8h-gnLd.js → vue-ui-gizmo-BOgbsXao.js} +2 -2
  96. package/dist/{vue-ui-heatmap-BZimPzsL.js → vue-ui-heatmap-DKKjl1A2.js} +303 -283
  97. package/dist/{vue-ui-history-plot-BVzbuqYY.js → vue-ui-history-plot-C6p_aThr.js} +229 -209
  98. package/dist/{vue-ui-kpi-BGGff8LM.js → vue-ui-kpi-B1yJ83aF.js} +2 -2
  99. package/dist/{vue-ui-mini-loader-CSF-7TJL.js → vue-ui-mini-loader-BudcNBg-.js} +1 -1
  100. package/dist/{vue-ui-molecule-BALqwB8c.js → vue-ui-molecule-L90GnHee.js} +156 -136
  101. package/dist/{vue-ui-mood-radar-QJ5nlZby.js → vue-ui-mood-radar-Dhigm5rw.js} +266 -246
  102. package/dist/{vue-ui-nested-donuts-CmUabkkQ.js → vue-ui-nested-donuts-D0MCLs5n.js} +506 -486
  103. package/dist/{vue-ui-onion-DAOCf3f8.js → vue-ui-onion-B7yPJ3gL.js} +220 -200
  104. package/dist/{vue-ui-parallel-coordinate-plot-D8jTuFjq.js → vue-ui-parallel-coordinate-plot-DY21ivNe.js} +235 -215
  105. package/dist/{vue-ui-quadrant-CO52mSRY.js → vue-ui-quadrant-b0vMRaq-.js} +463 -443
  106. package/dist/{vue-ui-quick-chart-DEaVSldE.js → vue-ui-quick-chart-VK2EN7sh.js} +288 -268
  107. package/dist/{vue-ui-radar-C5V4hhbW.js → vue-ui-radar-B5Vkoz9M.js} +331 -311
  108. package/dist/{vue-ui-rating-CiMoFM_c.js → vue-ui-rating-BH4DW1ZY.js} +1 -1
  109. package/dist/{vue-ui-relation-circle-CbMM0Jka.js → vue-ui-relation-circle-XHbE-ZUX.js} +228 -208
  110. package/dist/{vue-ui-ridgeline-CXCIRDq6.js → vue-ui-ridgeline-CAMNq-p_.js} +242 -222
  111. package/dist/{vue-ui-rings-BpUcyqo7.js → vue-ui-rings-ImGOqm_J.js} +189 -169
  112. package/dist/{vue-ui-scatter--Dxe-hfO.js → vue-ui-scatter-CterNJYe.js} +275 -255
  113. package/dist/{vue-ui-skeleton-BWq-VDzg.js → vue-ui-skeleton-CykXHWj-.js} +2 -2
  114. package/dist/{vue-ui-smiley-sGFRbn31.js → vue-ui-smiley-DnGm6qrK.js} +1 -1
  115. package/dist/{vue-ui-spark-trend-T4J_YOa_.js → vue-ui-spark-trend-N1AsNQJA.js} +2 -2
  116. package/dist/{vue-ui-sparkbar-DnKP55Vu.js → vue-ui-sparkbar-Bvsi5DTT.js} +2 -2
  117. package/dist/{vue-ui-sparkgauge-BDQLP-zi.js → vue-ui-sparkgauge-DyJmWCWT.js} +2 -2
  118. package/dist/{vue-ui-sparkhistogram-Dm7QXrA-.js → vue-ui-sparkhistogram-5eKrkmSb.js} +143 -140
  119. package/dist/{vue-ui-sparkline-tXGDLHRy.js → vue-ui-sparkline-ChKAzlVq.js} +2 -2
  120. package/dist/{vue-ui-sparkstackbar-M53Nt07M.js → vue-ui-sparkstackbar-BXNy6nuw.js} +2 -2
  121. package/dist/vue-ui-stackbar-1IwvUYBO.js +1827 -0
  122. package/dist/{vue-ui-strip-plot-BX9i3wMn.js → vue-ui-strip-plot-B1wGxP8-.js} +245 -225
  123. package/dist/{vue-ui-table-7r02N9R9.js → vue-ui-table-DSsIrT4L.js} +3 -3
  124. package/dist/{vue-ui-table-heatmap-BqCEBoUf.js → vue-ui-table-heatmap-DXFHy7-E.js} +1 -1
  125. package/dist/{vue-ui-table-sparkline-DZaAh10E.js → vue-ui-table-sparkline-DpqY_4ay.js} +2 -2
  126. package/dist/vue-ui-thermometer-CMKvSA8p.js +584 -0
  127. package/dist/{vue-ui-timer-Ds-MJoW2.js → vue-ui-timer-BpdCY_wg.js} +3 -3
  128. package/dist/vue-ui-tiremarks-CNipzVli.js +450 -0
  129. package/dist/{vue-ui-treemap-BEvl8hiw.js → vue-ui-treemap-DPE8SY0_.js} +453 -433
  130. package/dist/{vue-ui-vertical-bar-D8dtM8sw.js → vue-ui-vertical-bar-ZU1GCbX0.js} +323 -303
  131. package/dist/{vue-ui-waffle-B3q-2SCR.js → vue-ui-waffle-z7nuSuSV.js} +219 -199
  132. package/dist/vue-ui-wheel-DLRoRjeM.js +663 -0
  133. package/dist/{vue-ui-word-cloud-ChT7uLbN.js → vue-ui-word-cloud-D2r5E3pP.js} +248 -228
  134. package/dist/{vue-ui-world-CdP4g_3_.js → vue-ui-world-goXYnTyM.js} +287 -267
  135. package/dist/{vue-ui-xy-B68qQ-gX.js → vue-ui-xy-NDDbNbds.js} +389 -369
  136. package/dist/{vue-ui-xy-canvas-DDngEA1s.js → vue-ui-xy-canvas-2a6NlQe3.js} +4 -4
  137. package/package.json +4 -4
  138. package/dist/PenAndPaper-DSvu9dwa.js +0 -373
  139. package/dist/vue-ui-chord-BG4dxKNA.js +0 -1133
  140. package/dist/vue-ui-dashboard-C4BLwHey.js +0 -412
  141. package/dist/vue-ui-stackbar-CkBOjryQ.js +0 -1724
  142. package/dist/vue-ui-thermometer-CFPt3MOv.js +0 -564
  143. package/dist/vue-ui-tiremarks-2eIQ6vxu.js +0 -430
  144. package/dist/vue-ui-wheel-BpirIgAG.js +0 -643
@@ -1,7 +1,7 @@
1
- import { defineAsyncComponent as ee, useSlots as $l, computed as y, shallowRef as H, ref as g, onMounted as Tt, onBeforeUnmount as Pt, toRefs as Cl, watch as fe, createElementBlock as r, openBlock as n, normalizeStyle as $, normalizeClass as We, createBlock as te, createCommentVNode as v, renderSlot as b, createElementVNode as h, createVNode as Te, unref as u, createSlots as qe, withCtx as C, normalizeProps as ue, guardReactiveProps as re, Fragment as w, renderList as I, mergeProps as He, toDisplayString as R, withDirectives as Ft, createTextVNode as Pe, vShow as It, Teleport as Al, resolveDynamicComponent as Sl, nextTick as Tl } from "vue";
2
- import { o as Lt, f as je, g as Pl, c as Fl, t as Il, e as Ll, x as Ml, h as Mt, p as ie, a as G, d as N, T as zt, Z as zl, X as Ol, s as Fe, i as Dl, V as Nl, _ as P, W as ge, Y as x, $ as Ot, l as Yl, b as Xl, O as Qe, P as Bl, Q as Vl, G as El, a0 as Dt } from "./lib-C_mNZmhD.js";
1
+ import { defineAsyncComponent as le, useSlots as _l, computed as f, shallowRef as Q, ref as p, onMounted as Tt, onBeforeUnmount as Pt, toRefs as Cl, watch as ye, createElementBlock as r, openBlock as s, normalizeStyle as C, normalizeClass as We, createBlock as ae, createCommentVNode as v, renderSlot as y, createElementVNode as h, createVNode as Te, unref as u, withCtx as b, normalizeProps as N, guardReactiveProps as Y, createSlots as qe, Fragment as k, renderList as I, mergeProps as He, toDisplayString as U, withDirectives as Ft, createTextVNode as Pe, vShow as It, Teleport as Al, resolveDynamicComponent as Sl, nextTick as Tl } from "vue";
2
+ import { o as Lt, f as je, g as Pl, c as Fl, t as Il, e as Ll, x as Ml, h as Mt, p as ie, a as W, d as X, T as zt, Z as zl, X as Ol, s as Fe, i as Dl, V as Nl, _ as P, W as ge, Y as $, $ as Ot, l as Yl, b as Xl, O as Qe, P as Bl, Q as Vl, G as El, a0 as Dt } from "./lib-C_mNZmhD.js";
3
3
  import { t as Rl, u as Gl } from "./useResponsive-DfdjqQps.js";
4
- import { u as Ul, a as Nt } from "./useNestedProp-BjZe1Y85.js";
4
+ import { u as Ul, a as Nt } from "./useNestedProp-DjGXw6S9.js";
5
5
  import { u as Wl } from "./usePrinter-DTzqpYKF.js";
6
6
  import { u as ql, B as Hl } from "./BaseScanner-BgWxam9d.js";
7
7
  import { u as jl } from "./useSvgExport-DrjCWun4.js";
@@ -9,11 +9,11 @@ import { u as Ql } from "./useUserOptionState-BIvW1Kz7.js";
9
9
  import { u as Zl } from "./useChartAccessibility-9icAAmYg.js";
10
10
  import Jl from "./img-BecE5qXd.js";
11
11
  import { _ as Kl } from "./Shape-CNXKB8O0.js";
12
- import ea from "./Title-l36lOBMx.js";
12
+ import ea from "./Title-isbiM8i8.js";
13
13
  import { t as ta } from "./themes-AUNCOb2G.js";
14
14
  import la from "./Legend-G6GMcdAc.js";
15
15
  import { _ as aa } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
- const oa = ["id"], sa = ["id"], na = ["xmlns", "viewBox"], ua = ["width", "height"], ra = { key: 1 }, ia = ["id"], va = ["stop-color"], da = ["offset", "stop-color"], ca = ["offset", "stop-color"], ha = ["stop-color"], ya = { key: 2 }, fa = ["id", "cx", "cy"], ga = ["stop-color", "stop-opacity"], pa = ["stop-color"], ma = ["id"], ba = ["id"], wa = ["id"], ka = ["flood-color"], xa = ["id"], _a = ["flood-color"], $a = ["d", "stroke", "filter"], Ca = ["d", "stroke", "filter"], Aa = ["cx", "cy", "r", "fill", "filter"], Sa = { key: 6 }, Ta = ["stroke", "d"], Pa = ["d", "fill", "stroke", "stroke-width", "filter"], Fa = { key: 0 }, Ia = ["d", "fill", "stroke", "stroke-width", "filter"], La = { key: 0 }, Ma = ["stroke", "d"], za = { key: 0 }, Oa = ["d", "stroke", "stroke-width", "filter"], Da = { key: 1 }, Na = ["d", "fill", "stroke", "stroke-width", "filter"], Ya = ["d", "fill", "stroke", "stroke-width", "filter"], Xa = { key: 1 }, Ba = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Va = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Ea = { key: 0 }, Ra = ["d", "fill", "stroke", "stroke-width"], Ga = ["cx", "cy", "r", "stroke"], Ua = ["cx", "cy", "r", "fill"], Wa = ["cx", "cy", "r"], qa = { key: 0 }, Ha = ["d", "stroke", "fill", "onMouseenter", "onMouseleave", "onClick"], ja = { key: 1 }, Qa = ["cx", "cy", "r"], Za = ["x", "y", "fill", "font-size"], Ja = ["x", "y", "fill", "font-size"], Ka = ["x", "y", "fill", "font-size"], eo = ["x", "y", "fill", "font-size"], to = ["filter"], lo = { key: 0 }, ao = ["x", "y"], oo = { key: 1 }, so = ["cx", "cy", "fill", "stroke", "filter", "onClick", "onMouseenter", "onMouseleave"], no = ["cx", "cy", "fill", "stroke", "filter", "onClick", "onMouseenter", "onMouseleave"], uo = ["text-anchor", "x", "y", "fill", "font-size", "onClick", "onMouseenter", "onMouseleave"], ro = ["text-anchor", "x", "y", "fill", "font-size", "onClick", "innerHTML"], io = ["text-anchor", "x", "y", "fill", "font-size", "onClick", "onMouseenter", "onMouseleave"], vo = ["text-anchor", "x", "y", "fill", "font-size", "onClick", "innerHTML"], co = { key: 2 }, ho = ["x", "y", "width"], yo = ["x", "y", "width"], fo = {
16
+ const oa = ["id"], na = ["id"], sa = ["xmlns", "viewBox"], ua = ["width", "height"], ra = { key: 1 }, ia = ["id"], va = ["stop-color"], da = ["offset", "stop-color"], ca = ["offset", "stop-color"], ha = ["stop-color"], fa = { key: 2 }, ya = ["id", "cx", "cy"], ga = ["stop-color", "stop-opacity"], pa = ["stop-color"], ma = ["id"], ba = ["id"], wa = ["id"], ka = ["flood-color"], xa = ["id"], $a = ["flood-color"], _a = ["d", "stroke", "filter"], Ca = ["d", "stroke", "filter"], Aa = ["cx", "cy", "r", "fill", "filter"], Sa = { key: 6 }, Ta = ["stroke", "d"], Pa = ["d", "fill", "stroke", "stroke-width", "filter"], Fa = { key: 0 }, Ia = ["d", "fill", "stroke", "stroke-width", "filter"], La = { key: 0 }, Ma = ["stroke", "d"], za = { key: 0 }, Oa = ["d", "stroke", "stroke-width", "filter"], Da = { key: 1 }, Na = ["d", "fill", "stroke", "stroke-width", "filter"], Ya = ["d", "fill", "stroke", "stroke-width", "filter"], Xa = { key: 1 }, Ba = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Va = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Ea = { key: 0 }, Ra = ["d", "fill", "stroke", "stroke-width"], Ga = ["cx", "cy", "r", "stroke"], Ua = ["cx", "cy", "r", "fill"], Wa = ["cx", "cy", "r"], qa = { key: 0 }, Ha = ["d", "stroke", "fill", "onMouseenter", "onMouseleave", "onClick"], ja = { key: 1 }, Qa = ["cx", "cy", "r"], Za = ["x", "y", "fill", "font-size"], Ja = ["x", "y", "fill", "font-size"], Ka = ["x", "y", "fill", "font-size"], eo = ["x", "y", "fill", "font-size"], to = ["filter"], lo = { key: 0 }, ao = ["x", "y"], oo = { key: 1 }, no = ["cx", "cy", "fill", "stroke", "filter", "onClick", "onMouseenter", "onMouseleave"], so = ["cx", "cy", "fill", "stroke", "filter", "onClick", "onMouseenter", "onMouseleave"], uo = ["text-anchor", "x", "y", "fill", "font-size", "onClick", "onMouseenter", "onMouseleave"], ro = ["text-anchor", "x", "y", "fill", "font-size", "onClick", "innerHTML"], io = ["text-anchor", "x", "y", "fill", "font-size", "onClick", "onMouseenter", "onMouseleave"], vo = ["text-anchor", "x", "y", "fill", "font-size", "onClick", "innerHTML"], co = { key: 2 }, ho = ["x", "y", "width"], fo = ["x", "y", "width"], yo = {
17
17
  key: 4,
18
18
  class: "vue-data-ui-watermark"
19
19
  }, go = ["id"], po = ["onClick"], mo = {
@@ -37,27 +37,27 @@ const oa = ["id"], sa = ["id"], na = ["xmlns", "viewBox"], ua = ["width", "heigh
37
37
  },
38
38
  emits: ["selectLegend", "selectDatapoint"],
39
39
  setup(Ze, { expose: Yt, emit: Xt }) {
40
- const Bt = ee(() => import("./Tooltip-oWCO1HKy.js")), Vt = ee(() => import("./BaseIcon-BmMbm4d0.js")), Et = ee(() => import("./vue-ui-accordion-CZ0thhxa.js")), Rt = ee(() => import("./DataTable-BT7VF2ua.js")), Gt = ee(() => import("./PenAndPaper-DSvu9dwa.js")), Ut = ee(() => import("./UserOptions-CGnQt6Fd.js")), Wt = ee(() => import("./PackageVersion-Cyx_s25h.js")), qt = ee(() => import("./BaseDraggableDialog-ymf2sfB8.js")), { vue_ui_donut: Ht } = Ul(), jt = $l(), k = Ze, we = y({
40
+ const Bt = le(() => import("./Tooltip-oWCO1HKy.js")), Vt = le(() => import("./BaseIcon-BmMbm4d0.js")), Et = le(() => import("./vue-ui-accordion-CqhVCfc2.js")), Rt = le(() => import("./DataTable-BT7VF2ua.js")), Gt = le(() => import("./PenAndPaper-SZQIAgkg.js")), Ut = le(() => import("./UserOptions-CGnQt6Fd.js")), Wt = le(() => import("./PackageVersion-DQvyATVa.js")), qt = le(() => import("./BaseDraggableDialog-ymf2sfB8.js")), { vue_ui_donut: Ht } = Ul(), jt = _l(), x = Ze, we = f({
41
41
  get() {
42
- return !!k.dataset && k.dataset.length;
42
+ return !!x.dataset && x.dataset.length;
43
43
  },
44
44
  set(t) {
45
45
  return t;
46
46
  }
47
- }), Y = H(null), ke = g(null), Qt = g(null), Zt = g(null), Je = H(null), Ke = H(null), j = H(null), ve = H(null), et = H(null), tt = H(null), lt = g(0), at = g(0), ot = g(0), st = g(!1), pe = g(null), Ie = g(null), xe = y({
47
+ }), B = Q(null), ke = p(null), Qt = p(null), Zt = p(null), Je = Q(null), Ke = Q(null), Z = Q(null), ve = Q(null), et = Q(null), tt = Q(null), lt = p(0), at = p(0), ot = p(0), nt = p(!1), pe = p(null), Ie = p(null), xe = f({
48
48
  get: () => e.value.style.chart.layout.labels.percentage.fontSize,
49
49
  set: (t) => t
50
- }), Q = y({
50
+ }), J = f({
51
51
  get: () => e.value.style.chart.layout.labels.name.fontSize,
52
52
  set: (t) => t
53
53
  });
54
54
  let Le = !1;
55
- const U = () => {
55
+ const q = () => {
56
56
  !e.value.autoSize || Le || (Le = !0, requestAnimationFrame(() => {
57
57
  Le = !1;
58
- const t = e.value, a = ke.value, l = le.value;
58
+ const t = e.value, a = ke.value, l = oe.value;
59
59
  if (!t.autoSize || !a || !l) return;
60
- const [o, i, c, m] = l.getAttribute("viewBox").split(" ").map(Number), A = { x: o, y: i, width: c, height: m }, O = [
60
+ const [o, i, c, w] = l.getAttribute("viewBox").split(" ").map(Number), A = { x: o, y: i, width: c, height: w }, O = [
61
61
  {
62
62
  selector: ".vue-data-ui-datalabel-value",
63
63
  baseSize: t.style.chart.layout.labels.percentage.fontSize,
@@ -68,50 +68,50 @@ const oa = ["id"], sa = ["id"], na = ["xmlns", "viewBox"], ua = ["width", "heigh
68
68
  selector: ".vue-data-ui-datalabel-name",
69
69
  baseSize: t.style.chart.layout.labels.name.fontSize,
70
70
  minSize: t.style.chart.layout.labels.name.minFontSize,
71
- sizeRef: Q
71
+ sizeRef: J
72
72
  }
73
73
  ];
74
- O.map((E) => a.querySelectorAll(E.selector).length).reduce((E, K) => E + K, 0) !== 0 && O.forEach(({ selector: E, baseSize: K, minSize: Ue, sizeRef: kl }) => {
75
- a.querySelectorAll(E).forEach((xl) => {
76
- const _l = Yl({
74
+ O.map((G) => a.querySelectorAll(G.selector).length).reduce((G, te) => G + te, 0) !== 0 && O.forEach(({ selector: G, baseSize: te, minSize: Ue, sizeRef: kl }) => {
75
+ a.querySelectorAll(G).forEach((xl) => {
76
+ const $l = Yl({
77
77
  el: xl,
78
78
  bounds: A,
79
- currentFontSize: K,
79
+ currentFontSize: te,
80
80
  minFontSize: Ue,
81
81
  attempts: 200,
82
82
  padding: 1
83
83
  });
84
- kl.value = _l;
84
+ kl.value = $l;
85
85
  });
86
86
  });
87
87
  }));
88
88
  };
89
89
  Tt(async () => {
90
- st.value = !0, nt(), requestAnimationFrame(U);
90
+ nt.value = !0, st(), requestAnimationFrame(q);
91
91
  });
92
92
  let Me;
93
93
  Tt(() => {
94
- Y.value && (Me = new ResizeObserver((t) => {
94
+ B.value && (Me = new ResizeObserver((t) => {
95
95
  for (const a of t) {
96
96
  const { width: l, height: o } = a.contentRect;
97
97
  if (l > 0 && o > 0) {
98
- U();
98
+ q();
99
99
  break;
100
100
  }
101
101
  }
102
- }), Me.observe(Y.value.parentElement));
102
+ }), Me.observe(B.value.parentElement));
103
103
  }), Pt(() => {
104
104
  Me?.disconnect();
105
105
  }), Pt(() => {
106
- j.value && (ve.value && j.value.unobserve(ve.value), j.value.disconnect());
106
+ Z.value && (ve.value && Z.value.unobserve(ve.value), Z.value.disconnect());
107
107
  });
108
- const ze = y(() => !!e.value.debug);
109
- function nt() {
110
- if (Lt(k.dataset) ? (je({
108
+ const ze = f(() => !!e.value.debug);
109
+ function st() {
110
+ if (Lt(x.dataset) ? (je({
111
111
  componentName: "VueUiDonut",
112
112
  type: "dataset",
113
113
  debug: ze.value
114
- }), we.value = !1, $e.value = !0) : (k.dataset.forEach((t, a) => {
114
+ }), we.value = !1, _e.value = !0) : (x.dataset.forEach((t, a) => {
115
115
  Pl({
116
116
  datasetObject: t,
117
117
  requiredAttributes: ["name", "values"]
@@ -122,9 +122,9 @@ const oa = ["id"], sa = ["id"], na = ["xmlns", "viewBox"], ua = ["width", "heigh
122
122
  property: l,
123
123
  index: a,
124
124
  debug: ze.value
125
- }), we.value = !1, $e.value = !0;
125
+ }), we.value = !1, _e.value = !0;
126
126
  });
127
- }), k.dataset.forEach((t, a) => {
127
+ }), x.dataset.forEach((t, a) => {
128
128
  (!t.name || t.name === "") && je({
129
129
  componentName: "VueUiDonut",
130
130
  type: "datasetAttributeEmpty",
@@ -132,10 +132,10 @@ const oa = ["id"], sa = ["id"], na = ["xmlns", "viewBox"], ua = ["width", "heigh
132
132
  index: a,
133
133
  debug: ze.value
134
134
  });
135
- })), Lt(k.dataset) || ($e.value = e.value.loading), e.value.responsive) {
135
+ })), Lt(x.dataset) || (_e.value = e.value.loading), e.value.responsive) {
136
136
  const t = Rl(() => {
137
137
  const { width: a, height: l } = Gl({
138
- chart: Y.value,
138
+ chart: B.value,
139
139
  title: e.value.style.chart.title.text ? Je.value : null,
140
140
  legend: e.value.style.chart.legend.show ? Ke.value : null,
141
141
  source: et.value,
@@ -143,31 +143,31 @@ const oa = ["id"], sa = ["id"], na = ["xmlns", "viewBox"], ua = ["width", "heigh
143
143
  padding: e.value.autoSize ? void 0 : dt.value
144
144
  });
145
145
  requestAnimationFrame(() => {
146
- s.value.width = a, s.value.height = l, U();
146
+ n.value.width = a, n.value.height = l, q();
147
147
  });
148
148
  });
149
- j.value && (ve.value && j.value.unobserve(ve.value), j.value.disconnect()), j.value = new ResizeObserver(t), ve.value = Y.value.parentNode, j.value.observe(ve.value);
149
+ Z.value && (ve.value && Z.value.unobserve(ve.value), Z.value.disconnect()), Z.value = new ResizeObserver(t), ve.value = B.value.parentNode, Z.value.observe(ve.value);
150
150
  }
151
151
  }
152
- const f = g(Fl());
153
- g(null);
154
- const Oe = g(!1), De = g(""), X = g(null), ut = g(0);
152
+ const g = p(Fl());
153
+ p(null);
154
+ const Oe = p(!1), De = p(""), V = p(null), ut = p(0);
155
155
  function Ne() {
156
156
  const t = Nt({
157
- userConfig: k.config,
157
+ userConfig: x.config,
158
158
  defaultConfig: Ht
159
159
  });
160
160
  let a = {};
161
161
  return t.theme ? a = {
162
162
  ...Nt({
163
- userConfig: ta.vue_ui_donut[t.theme] || k.config,
163
+ userConfig: ta.vue_ui_donut[t.theme] || x.config,
164
164
  defaultConfig: t
165
165
  }),
166
166
  customPalette: Xl[t.theme] || ie
167
- } : a = t, k.config && Qe(k.config, "events.datapointEnter") ? a.events.datapointEnter = k.config.events.datapointEnter : a.events.datapointEnter = null, k.config && Qe(k.config, "events.datapointLeave") ? a.events.datapointLeave = k.config.events.datapointLeave : a.events.datapointLeave = null, k.config && Qe(k.config, "events.datapointClick") ? a.events.datapointClick = k.config.events.datapointClick : a.events.datapointClick = null, a;
167
+ } : a = t, x.config && Qe(x.config, "events.datapointEnter") ? a.events.datapointEnter = x.config.events.datapointEnter : a.events.datapointEnter = null, x.config && Qe(x.config, "events.datapointLeave") ? a.events.datapointLeave = x.config.events.datapointLeave : a.events.datapointLeave = null, x.config && Qe(x.config, "events.datapointClick") ? a.events.datapointClick = x.config.events.datapointClick : a.events.datapointClick = null, a;
168
168
  }
169
- const e = g(Ne()), { loading: _e, FINAL_DATASET: de, manualLoading: $e, skeletonDataset: Jt } = ql({
170
- ...Cl(k),
169
+ const e = p(Ne()), { loading: $e, FINAL_DATASET: de, manualLoading: _e, skeletonDataset: Jt } = ql({
170
+ ...Cl(x),
171
171
  FINAL_CONFIG: e,
172
172
  prepareConfig: Ne,
173
173
  skeletonDataset: [
@@ -224,34 +224,34 @@ const oa = ["id"], sa = ["id"], na = ["xmlns", "viewBox"], ua = ["width", "heigh
224
224
  }
225
225
  }
226
226
  })
227
- }), S = g(!0), W = H([]);
227
+ }), S = p(!0), H = Q([]);
228
228
  function Kt(t, a = 1e3, l = 50) {
229
229
  return new Promise((o) => {
230
230
  const i = t.length;
231
- W.value = Array(i).fill(0);
231
+ H.value = Array(i).fill(0);
232
232
  let c = 0;
233
- t.forEach((m, A) => {
233
+ t.forEach((w, A) => {
234
234
  setTimeout(() => {
235
235
  const O = performance.now();
236
- function D(E) {
237
- const K = Math.min((E - O) / a, 1), Ue = Dt(K);
238
- W.value[A] = m * Ue, W.value = [...W.value], K < 1 ? (requestAnimationFrame(D), requestAnimationFrame(U)) : (W.value[A] = m, W.value = [...W.value], c += 1, c === i && o(), requestAnimationFrame(U));
236
+ function D(G) {
237
+ const te = Math.min((G - O) / a, 1), Ue = Dt(te);
238
+ H.value[A] = w * Ue, H.value = [...H.value], te < 1 ? (requestAnimationFrame(D), requestAnimationFrame(q)) : (H.value[A] = w, H.value = [...H.value], c += 1, c === i && o(), requestAnimationFrame(q));
239
239
  }
240
240
  requestAnimationFrame(D);
241
241
  }, A * l);
242
242
  });
243
243
  });
244
244
  }
245
- const rt = g(!1);
246
- fe(
247
- () => _e.value,
245
+ const rt = p(!1);
246
+ ye(
247
+ () => $e.value,
248
248
  async (t) => {
249
249
  if (t || rt.value) return;
250
250
  const a = de.value === Jt, l = e.value.startAnimation?.show;
251
251
  if (!a && l) {
252
252
  rt.value = !0;
253
253
  const o = de.value.map(
254
- (i) => i.values.reduce((c, m) => c + m, 0)
254
+ (i) => i.values.reduce((c, w) => c + w, 0)
255
255
  );
256
256
  await Kt(
257
257
  o,
@@ -263,17 +263,17 @@ const oa = ["id"], sa = ["id"], na = ["xmlns", "viewBox"], ua = ["width", "heigh
263
263
  },
264
264
  { immediate: !0 }
265
265
  );
266
- const { userOptionsVisible: Ye, setUserOptionsVisibility: it, keepUserOptionState: vt } = Ql({ config: e.value }), { svgRef: le } = Zl({ config: e.value.style.chart.title });
266
+ const { userOptionsVisible: Ye, setUserOptionsVisibility: it, keepUserOptionState: vt } = Ql({ config: e.value }), { svgRef: oe } = Zl({ config: e.value.style.chart.title });
267
267
  function el() {
268
268
  it(!0);
269
269
  }
270
270
  function tl() {
271
271
  it(!1);
272
272
  }
273
- fe(() => k.config, (t) => {
274
- _e.value || (e.value = Ne()), Ye.value = !e.value.userOptions.showOnChartHover, nt(), lt.value += 1, at.value += 1, ot.value += 1, p.value.dataLabels.show = e.value.style.chart.layout.labels.dataLabels.show, p.value.showTable = e.value.table.show, p.value.showTooltip = e.value.style.chart.tooltip.show, s.value.height = e.value.style.chart.height, s.value.width = e.value.style.chart.width;
273
+ ye(() => x.config, (t) => {
274
+ $e.value || (e.value = Ne()), Ye.value = !e.value.userOptions.showOnChartHover, st(), lt.value += 1, at.value += 1, ot.value += 1, m.value.dataLabels.show = e.value.style.chart.layout.labels.dataLabels.show, m.value.showTable = e.value.table.show, m.value.showTooltip = e.value.style.chart.tooltip.show, n.value.height = e.value.style.chart.height, n.value.width = e.value.style.chart.width;
275
275
  }, { deep: !0 });
276
- const dt = y(() => {
276
+ const dt = f(() => {
277
277
  const { top: t, right: a, bottom: l, left: o } = e.value.style.chart.padding;
278
278
  return {
279
279
  css: `padding:${t}px ${a}px ${l}px ${o}px`,
@@ -282,19 +282,19 @@ const oa = ["id"], sa = ["id"], na = ["xmlns", "viewBox"], ua = ["width", "heigh
282
282
  bottom: l,
283
283
  left: o
284
284
  };
285
- }), { isPrinting: ct, isImaging: ht, generatePdf: yt, generateImage: ft } = Wl({
286
- elementId: `donut__${f.value}`,
285
+ }), { isPrinting: ct, isImaging: ht, generatePdf: ft, generateImage: yt } = Wl({
286
+ elementId: `donut__${g.value}`,
287
287
  fileName: e.value.style.chart.title.text || "vue-ui-donut",
288
288
  options: e.value.userOptions.print
289
- }), ll = y(() => e.value.userOptions.show && !e.value.style.chart.title.text), gt = y(() => Ll(e.value.customPalette)), p = g({
289
+ }), ll = f(() => e.value.userOptions.show && !e.value.style.chart.title.text), gt = f(() => Ll(e.value.customPalette)), m = p({
290
290
  dataLabels: {
291
291
  show: e.value.style.chart.layout.labels.dataLabels.show
292
292
  },
293
293
  showTable: e.value.table.show,
294
294
  showTooltip: e.value.style.chart.tooltip.show
295
295
  });
296
- fe(e, () => {
297
- p.value = {
296
+ ye(e, () => {
297
+ m.value = {
298
298
  dataLabels: {
299
299
  show: e.value.style.chart.layout.labels.dataLabels.show
300
300
  },
@@ -302,15 +302,15 @@ const oa = ["id"], sa = ["id"], na = ["xmlns", "viewBox"], ua = ["width", "heigh
302
302
  showTooltip: e.value.style.chart.tooltip.show
303
303
  };
304
304
  }, { immediate: !0 });
305
- const s = g({
305
+ const n = p({
306
306
  height: e.value.style.chart.height,
307
307
  width: e.value.style.chart.width
308
- }), ae = y(() => {
308
+ }), ne = f(() => {
309
309
  if (e.value.pie)
310
310
  return _.value;
311
- const t = e.value.style.chart.layout.donut.strokeWidth / 512, a = Math.min(s.value.width, s.value.height) * t, l = a > _.value ? _.value : a;
311
+ const t = e.value.style.chart.layout.donut.strokeWidth / 512, a = Math.min(n.value.width, n.value.height) * t, l = a > _.value ? _.value : a;
312
312
  return Math.max(l, 12 * (1 + t));
313
- }), pt = Xt, L = y(() => de.value.map((t, a) => ({
313
+ }), pt = Xt, L = f(() => de.value.map((t, a) => ({
314
314
  name: t.name,
315
315
  color: Mt(t.color) || gt.value[a] || ie[a] || ie[a % ie.length],
316
316
  value: Ml(t.values.reduce((l, o) => l + o, 0)),
@@ -319,14 +319,14 @@ const oa = ["id"], sa = ["id"], na = ["xmlns", "viewBox"], ua = ["width", "heigh
319
319
  patternIndex: a,
320
320
  seriesIndex: a,
321
321
  ghost: !1,
322
- pattern: `pattern_${f.value}_${a}`
322
+ pattern: `pattern_${g.value}_${a}`
323
323
  })));
324
- fe(() => k.dataset, (t) => {
325
- Array.isArray(t) && t.length > 0 && ($e.value = !1);
324
+ ye(() => x.dataset, (t) => {
325
+ Array.isArray(t) && t.length > 0 && (_e.value = !1);
326
326
  }, { immediate: !0 });
327
- const M = H(L.value);
328
- fe(() => L.value, (t) => {
329
- M.value = t, requestAnimationFrame(U);
327
+ const M = Q(L.value);
328
+ ye(() => L.value, (t) => {
329
+ M.value = t, requestAnimationFrame(q);
330
330
  });
331
331
  function al() {
332
332
  return L.value.map((t) => ({
@@ -335,12 +335,12 @@ const oa = ["id"], sa = ["id"], na = ["xmlns", "viewBox"], ua = ["width", "heigh
335
335
  value: t.value
336
336
  }));
337
337
  }
338
- const z = g([]), oe = g(!1);
338
+ const z = p([]), se = p(!1);
339
339
  function mt({ from: t, to: a, duration: l, onUpdate: o, onDone: i, easing: c = Dt }) {
340
- const m = performance.now();
340
+ const w = performance.now();
341
341
  function A(O) {
342
- const D = Math.min((O - m) / l, 1), E = c(D), K = t + (a - t) * E;
343
- o(K, D), D < 1 ? requestAnimationFrame(A) : (o(a, 1), i && i());
342
+ const D = Math.min((O - w) / l, 1), G = c(D), te = t + (a - t) * G;
343
+ o(te, D), D < 1 ? requestAnimationFrame(A) : (o(a, 1), i && i());
344
344
  }
345
345
  requestAnimationFrame(A);
346
346
  }
@@ -352,47 +352,47 @@ const oa = ["id"], sa = ["id"], na = ["xmlns", "viewBox"], ua = ["width", "heigh
352
352
  M.value = M.value.map(
353
353
  (A, O) => t === O ? { ...A, value: i } : A
354
354
  );
355
- }, m = function() {
356
- oe.value = !0, mt({
355
+ }, w = function() {
356
+ se.value = !0, mt({
357
357
  from: o,
358
358
  to: i,
359
359
  duration: e.value.serieToggleAnimation.durationMs,
360
360
  onUpdate: (A, O) => {
361
361
  M.value = M.value.map(
362
- (D, E) => t === E ? { ...D, value: A } : D
363
- ), requestAnimationFrame(U);
362
+ (D, G) => t === G ? { ...D, value: A } : D
363
+ ), requestAnimationFrame(q);
364
364
  },
365
365
  onDone: () => {
366
- c(), oe.value = !1;
366
+ c(), se.value = !1;
367
367
  }
368
368
  });
369
369
  };
370
370
  z.value = z.value.filter((A) => A !== t);
371
371
  const i = a.value;
372
- e.value.serieToggleAnimation.show && e.value.type === "classic" ? m() : (c(), requestAnimationFrame(U));
372
+ e.value.serieToggleAnimation.show && e.value.type === "classic" ? w() : (c(), requestAnimationFrame(q));
373
373
  } else if (z.value.length < L.value.length - 1) {
374
374
  let i = function() {
375
375
  z.value.push(t), M.value = M.value.map(
376
- (m, A) => t === A ? { ...m, value: 0 } : m
376
+ (w, A) => t === A ? { ...w, value: 0 } : w
377
377
  );
378
378
  }, c = function() {
379
- oe.value = !0, mt({
379
+ se.value = !0, mt({
380
380
  from: o,
381
381
  to: 0,
382
382
  duration: e.value.serieToggleAnimation.durationMs,
383
- onUpdate: (m, A) => {
383
+ onUpdate: (w, A) => {
384
384
  M.value = M.value.map(
385
- (O, D) => t === D ? { ...O, value: m } : O
386
- ), requestAnimationFrame(U);
385
+ (O, D) => t === D ? { ...O, value: w } : O
386
+ ), requestAnimationFrame(q);
387
387
  },
388
388
  onDone: () => {
389
- i(), requestAnimationFrame(U), oe.value = !1;
389
+ i(), requestAnimationFrame(q), se.value = !1;
390
390
  }
391
391
  });
392
392
  };
393
393
  e.value.serieToggleAnimation.show && e.value.type === "classic" ? c() : i();
394
394
  }
395
- pt("selectLegend", q.value.map((i) => ({
395
+ pt("selectLegend", j.value.map((i) => ({
396
396
  name: i.name,
397
397
  color: i.color,
398
398
  value: i.value
@@ -408,18 +408,18 @@ const oa = ["id"], sa = ["id"], na = ["xmlns", "viewBox"], ua = ["width", "heigh
408
408
  const a = bt(t);
409
409
  a !== null && z.value.includes(a.seriesIndex) && Ce(a.seriesIndex);
410
410
  }
411
- function sl(t) {
411
+ function nl(t) {
412
412
  const a = bt(t);
413
413
  a !== null && (z.value.includes(a.seriesIndex) || Ce(a.seriesIndex));
414
414
  }
415
- const nl = y(() => de.value.reduce((t, a) => t + a.values.reduce((l, o) => l + o, 0), 0)), q = y(() => {
416
- if (S.value && !_e.value) {
417
- const t = W.value.map((l, o) => ({
415
+ const sl = f(() => de.value.reduce((t, a) => t + a.values.reduce((l, o) => l + o, 0), 0)), j = f(() => {
416
+ if (S.value && !$e.value) {
417
+ const t = H.value.map((l, o) => ({
418
418
  ...L.value[o],
419
419
  value: l,
420
420
  color: L.value[o].color,
421
421
  ghost: !1
422
- })), a = nl.value - W.value.reduce((l, o) => l + o, 0);
422
+ })), a = sl.value - H.value.reduce((l, o) => l + o, 0);
423
423
  return a > 0 && t.push({
424
424
  name: "__ghost__",
425
425
  value: a,
@@ -437,8 +437,8 @@ const oa = ["id"], sa = ["id"], na = ["xmlns", "viewBox"], ua = ["width", "heigh
437
437
  ...t,
438
438
  seriesIndex: a
439
439
  })).filter((t, a) => !z.value.includes(a));
440
- }), Xe = y(() => de.value.map((t, a) => {
441
- const l = (t.values || []).reduce((i, c) => i + c, 0), o = l / de.value.map((i) => (i.values || []).reduce((c, m) => c + m, 0)).reduce((i, c) => i + c, 0);
440
+ }), Xe = f(() => de.value.map((t, a) => {
441
+ const l = (t.values || []).reduce((i, c) => i + c, 0), o = l / de.value.map((i) => (i.values || []).reduce((c, w) => c + w, 0)).reduce((i, c) => i + c, 0);
442
442
  return {
443
443
  name: t.name,
444
444
  color: Mt(t.color) || gt.value[a] || ie[a] || ie[a % ie.length],
@@ -450,29 +450,29 @@ const oa = ["id"], sa = ["id"], na = ["xmlns", "viewBox"], ua = ["width", "heigh
450
450
  }).map((t, a) => ({
451
451
  ...t,
452
452
  opacity: z.value.includes(a) ? 0.5 : 1,
453
- segregate: () => !oe.value && Ce(a),
453
+ segregate: () => !se.value && Ce(a),
454
454
  isSegregated: z.value.includes(a),
455
- display: `${t.name}${e.value.style.chart.legend.showPercentage || e.value.style.chart.legend.showValue ? ": " : ""}${e.value.style.chart.legend.showValue ? G(e.value.style.chart.layout.labels.value.formatter, t.value, N({
455
+ display: `${t.name}${e.value.style.chart.legend.showPercentage || e.value.style.chart.legend.showValue ? ": " : ""}${e.value.style.chart.legend.showValue ? W(e.value.style.chart.layout.labels.value.formatter, t.value, X({
456
456
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
457
457
  v: t.value,
458
458
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
459
459
  r: e.value.style.chart.legend.roundingValue
460
- }), { datapoint: t, index: a }) : ""}${e.value.style.chart.legend.showPercentage ? z.value.includes(a) ? `${e.value.style.chart.legend.showValue ? "(" : ""}${cl(t.proportion * 100)}%${e.value.style.chart.legend.showValue ? ")" : ""}` : `${e.value.style.chart.legend.showValue ? " (" : ""}${isNaN(t.value / F.value) ? "-" : G(e.value.style.chart.layout.labels.percentage.formatter, wt(t), N({
460
+ }), { datapoint: t, index: a }) : ""}${e.value.style.chart.legend.showPercentage ? z.value.includes(a) ? `${e.value.style.chart.legend.showValue ? "(" : ""}${cl(t.proportion * 100)}%${e.value.style.chart.legend.showValue ? ")" : ""}` : `${e.value.style.chart.legend.showValue ? " (" : ""}${isNaN(t.value / F.value) ? "-" : W(e.value.style.chart.layout.labels.percentage.formatter, wt(t), X({
461
461
  v: wt(t),
462
462
  s: "%",
463
463
  r: e.value.style.chart.legend.roundingPercentage
464
464
  }))}${e.value.style.chart.legend.showValue ? ")" : ""}` : ""}`
465
- }))), ul = y(() => ({
465
+ }))), ul = f(() => ({
466
466
  cy: "donut-div-legend",
467
467
  backgroundColor: e.value.style.chart.legend.backgroundColor,
468
468
  color: e.value.style.chart.legend.color,
469
469
  fontSize: e.value.style.chart.legend.fontSize,
470
470
  paddingBottom: 12,
471
471
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
472
- })), _ = y(() => {
473
- const t = e.value.style.chart.layout.donut.radiusRatio, a = Math.max(0.1, Math.min(0.50001, t)), l = Math.min(s.value.width * a, s.value.height * a);
472
+ })), _ = f(() => {
473
+ const t = e.value.style.chart.layout.donut.radiusRatio, a = Math.max(0.1, Math.min(0.50001, t)), l = Math.min(n.value.width * a, n.value.height * a);
474
474
  return Math.max(12, l);
475
- }), T = y(() => zt({ series: q.value }, s.value.width / 2, s.value.height / 2, _.value, _.value, 1.99999, 2, 1, 360, 105.25, ae.value)), rl = y(() => Math.abs(q.value.map((t) => t.value).reduce((t, a) => t + a, 0)) > 0), il = y(() => zt({
475
+ }), T = f(() => zt({ series: j.value }, n.value.width / 2, n.value.height / 2, _.value, _.value, 1.99999, 2, 1, 360, 105.25, ne.value)), rl = f(() => Math.abs(j.value.map((t) => t.value).reduce((t, a) => t + a, 0)) > 0), il = f(() => zt({
476
476
  series: [
477
477
  {
478
478
  value: 1,
@@ -484,33 +484,33 @@ const oa = ["id"], sa = ["id"], na = ["xmlns", "viewBox"], ua = ["width", "heigh
484
484
  absoluteValues: [1]
485
485
  }
486
486
  ]
487
- }, s.value.width / 2, s.value.height / 2, _.value, _.value, 1.99999, 2, 1, 360, 105.25, ae.value)), B = y(() => T.value.filter((t) => !t.ghost)), d = y(() => {
488
- const t = Math.max(...q.value.map((l) => l.value)), a = q.value.map((l) => l.value / t);
487
+ }, n.value.width / 2, n.value.height / 2, _.value, _.value, 1.99999, 2, 1, 360, 105.25, ne.value)), E = f(() => T.value.filter((t) => !t.ghost)), d = f(() => {
488
+ const t = Math.max(...j.value.map((l) => l.value)), a = j.value.map((l) => l.value / t);
489
489
  return zl({
490
490
  series: a,
491
491
  center: {
492
- x: s.value.width / 2,
493
- y: s.value.height / 2
492
+ x: n.value.width / 2,
493
+ y: n.value.height / 2
494
494
  },
495
- maxRadius: Math.min(s.value.width, s.value.height) / 3,
495
+ maxRadius: Math.min(n.value.width, n.value.height) / 3,
496
496
  hasGhost: S.value
497
497
  });
498
498
  });
499
499
  function ce(t) {
500
- return t.x > s.value.width / 2 + 6 ? "start" : t.x < s.value.width / 2 - 6 ? "end" : "middle";
500
+ return t.x > n.value.width / 2 + 6 ? "start" : t.x < n.value.width / 2 - 6 ? "end" : "middle";
501
501
  }
502
502
  function vl(t) {
503
- return t.middlePoint.y > s.value.height / 2 ? P({ initX: t.middlePoint.x, initY: t.middlePoint.y, offset: 100, centerX: s.value.width / 2, centerY: s.value.height / 2 }).y : P({ initX: t.middlePoint.x, initY: t.middlePoint.y, offset: 0, centerX: s.value.width / 2, centerY: s.value.height / 2 }).y - 100;
503
+ return t.middlePoint.y > n.value.height / 2 ? P({ initX: t.middlePoint.x, initY: t.middlePoint.y, offset: 100, centerX: n.value.width / 2, centerY: n.value.height / 2 }).y : P({ initX: t.middlePoint.x, initY: t.middlePoint.y, offset: 0, centerX: n.value.width / 2, centerY: n.value.height / 2 }).y - 100;
504
504
  }
505
- function V(t) {
505
+ function R(t) {
506
506
  return t.proportion * 100 > e.value.style.chart.layout.labels.dataLabels.hideUnderValue;
507
507
  }
508
508
  function Be(t, a) {
509
509
  const l = t.value / dl(a);
510
- return isNaN(l) ? 0 : G(
510
+ return isNaN(l) ? 0 : W(
511
511
  e.value.style.chart.layout.labels.percentage.formatter,
512
512
  l * 100,
513
- N({
513
+ X({
514
514
  v: l * 100,
515
515
  s: "%",
516
516
  r: e.value.style.chart.layout.labels.percentage.rounding
@@ -521,35 +521,35 @@ const oa = ["id"], sa = ["id"], na = ["xmlns", "viewBox"], ua = ["width", "heigh
521
521
  function dl(t) {
522
522
  return [...t].map((a) => a.value).reduce((a, l) => a + l, 0);
523
523
  }
524
- const F = y(() => q.value.map((t) => t.value).reduce((t, a) => t + a, 0)), Ve = y(() => F.value / q.value.length);
524
+ const F = f(() => j.value.map((t) => t.value).reduce((t, a) => t + a, 0)), Ve = f(() => F.value / j.value.length);
525
525
  function wt(t) {
526
- return oe.value ? t.proportion * 100 : t.value / F.value * 100;
526
+ return se.value ? t.proportion * 100 : t.value / F.value * 100;
527
527
  }
528
- const Ee = g(null), me = g(!1);
528
+ const Ee = p(null), me = p(!1);
529
529
  function he({ datapoint: t, seriesIndex: a }) {
530
- e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: a }), Oe.value = !1, X.value = null;
530
+ e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: a }), Oe.value = !1, V.value = null;
531
531
  }
532
- function ye({ datapoint: t, relativeIndex: a, seriesIndex: l, show: o = !1 }) {
533
- e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: l }), Ee.value = { datapoint: t, seriesIndex: l, config: e.value, series: L.value }, Oe.value = o, X.value = a;
532
+ function fe({ datapoint: t, relativeIndex: a, seriesIndex: l, show: o = !1 }) {
533
+ e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: l }), Ee.value = { datapoint: t, seriesIndex: l, config: e.value, series: L.value }, Oe.value = o, V.value = a;
534
534
  let i = "";
535
535
  const c = e.value.style.chart.tooltip.customFormat;
536
536
  if (me.value = !1, El(c))
537
537
  try {
538
- const m = c({
538
+ const w = c({
539
539
  seriesIndex: l,
540
540
  datapoint: t,
541
541
  series: L.value,
542
542
  config: e.value
543
543
  });
544
- typeof m == "string" && (De.value = m, me.value = !0);
544
+ typeof w == "string" && (De.value = w, me.value = !0);
545
545
  } catch {
546
546
  console.warn("Custom format cannot be applied."), me.value = !1;
547
547
  }
548
548
  if (!me.value) {
549
- if (i += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${t.name}</div>`, i += `<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="${t.color}"/>${jt.pattern ? `<circle cx="30" cy="30" r="30" stroke="none" fill="url(#pattern_${f.value}_${l})"/>` : ""}</svg>`, e.value.style.chart.tooltip.showValue && (i += `<b>${G(
549
+ if (i += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${t.name}</div>`, i += `<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="${t.color}"/>${jt.pattern ? `<circle cx="30" cy="30" r="30" stroke="none" fill="url(#pattern_${g.value}_${l})"/>` : ""}</svg>`, e.value.style.chart.tooltip.showValue && (i += `<b>${W(
550
550
  e.value.style.chart.layout.labels.value.formatter,
551
551
  t.value,
552
- N({
552
+ X({
553
553
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
554
554
  v: t.value,
555
555
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
@@ -561,10 +561,10 @@ const oa = ["id"], sa = ["id"], na = ["xmlns", "viewBox"], ua = ["width", "heigh
561
561
  seriesIndex: l
562
562
  }
563
563
  )}</b>`), e.value.style.chart.tooltip.showPercentage) {
564
- const m = G(
564
+ const w = W(
565
565
  e.value.style.chart.layout.labels.percentage.formatter,
566
566
  t.proportion * 100,
567
- N({
567
+ X({
568
568
  v: t.proportion * 100,
569
569
  s: "%",
570
570
  r: e.value.style.chart.tooltip.roundingPercentage
@@ -575,41 +575,41 @@ const oa = ["id"], sa = ["id"], na = ["xmlns", "viewBox"], ua = ["width", "heigh
575
575
  seriesIndex: l
576
576
  }
577
577
  );
578
- e.value.style.chart.tooltip.showValue ? i += `<span>(${m})</span></div>` : i += `<b>${m}</b></div>`;
578
+ e.value.style.chart.tooltip.showValue ? i += `<span>(${w})</span></div>` : i += `<b>${w}</b></div>`;
579
579
  }
580
580
  e.value.style.chart.comments.showInTooltip && t.comment && (i += `<div class="vue-data-ui-tooltip-comment" style="background:${t.color}20; padding: 6px; margin-bottom: 6px; margin-top:6px; border-left: 1px solid ${t.color}">${t.comment}</div>`), De.value = `<div>${i}</div>`;
581
581
  }
582
582
  }
583
- function se(t) {
584
- return e.value.useBlurOnHover && ![null, void 0].includes(X.value) && X.value !== t ? `url(#blur_${f.value})` : "";
583
+ function ue(t) {
584
+ return e.value.useBlurOnHover && ![null, void 0].includes(V.value) && V.value !== t ? `url(#blur_${g.value})` : "";
585
585
  }
586
- const Z = y(() => {
587
- const t = q.value.map((l) => ({
586
+ const K = f(() => {
587
+ const t = j.value.map((l) => ({
588
588
  name: l.name,
589
589
  color: l.color
590
- })), a = q.value.map((l) => l.value);
590
+ })), a = j.value.map((l) => l.value);
591
591
  return { head: t, body: a };
592
592
  });
593
593
  function Re(t = null) {
594
594
  Tl(() => {
595
- const a = Z.value.head.map((i, c) => [[
595
+ const a = K.value.head.map((i, c) => [[
596
596
  i.name
597
- ], [Z.value.body[c]], [isNaN(Z.value.body[c] / F.value) ? "-" : Z.value.body[c] / F.value * 100]]), l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(a), o = Bl(l);
597
+ ], [K.value.body[c]], [isNaN(K.value.body[c] / F.value) ? "-" : K.value.body[c] / F.value * 100]]), l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(a), o = Bl(l);
598
598
  t ? t(o) : Vl({ csvContent: o, title: e.value.style.chart.title.text || "vue-ui-donut" });
599
599
  });
600
600
  }
601
- const Ae = y(() => {
601
+ const Ae = f(() => {
602
602
  const t = [
603
603
  ' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>',
604
- N({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: F.value, s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue }),
604
+ X({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: F.value, s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue }),
605
605
  "100%"
606
- ], a = Z.value.head.map((i, c) => [
606
+ ], a = K.value.head.map((i, c) => [
607
607
  {
608
608
  color: i.color,
609
609
  name: i.name || "-"
610
610
  },
611
- Z.value.body[c],
612
- isNaN(Z.value.body[c] / F.value) ? "-" : (Z.value.body[c] / F.value * 100).toFixed(e.value.table.td.roundingPercentage) + "%"
611
+ K.value.body[c],
612
+ isNaN(K.value.body[c] / F.value) ? "-" : (K.value.body[c] / F.value * 100).toFixed(e.value.table.td.roundingPercentage) + "%"
613
613
  ]), l = {
614
614
  th: {
615
615
  backgroundColor: e.value.table.th.backgroundColor,
@@ -633,33 +633,33 @@ const oa = ["id"], sa = ["id"], na = ["xmlns", "viewBox"], ua = ["width", "heigh
633
633
  body: a,
634
634
  config: l
635
635
  };
636
- }), ne = g(!1);
636
+ }), re = p(!1);
637
637
  function kt(t) {
638
- ne.value = t, ut.value += 1;
638
+ re.value = t, ut.value += 1;
639
639
  }
640
- const xt = y(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent));
640
+ const xt = f(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent));
641
641
  function cl(t) {
642
642
  return t.toFixed(e.value.style.chart.legend.roundingPercentage).split("").map((a) => "-").join("");
643
643
  }
644
- function J(t, a) {
644
+ function ee(t, a) {
645
645
  e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: t.seriesIndex }), pt("selectDatapoint", { datapoint: t, index: a });
646
646
  }
647
- function _t() {
648
- p.value.showTable = !p.value.showTable;
649
- }
650
647
  function $t() {
651
- p.value.dataLabels.show = !p.value.dataLabels.show;
648
+ m.value.showTable = !m.value.showTable;
649
+ }
650
+ function _t() {
651
+ m.value.dataLabels.show = !m.value.dataLabels.show;
652
652
  }
653
653
  function Ct() {
654
- p.value.showTooltip = !p.value.showTooltip;
654
+ m.value.showTooltip = !m.value.showTooltip;
655
655
  }
656
- const Se = g(!1);
656
+ const Se = p(!1);
657
657
  function Ge() {
658
658
  Se.value = !Se.value;
659
659
  }
660
660
  async function hl({ scale: t = 2 } = {}) {
661
- if (!Y.value) return;
662
- const { width: a, height: l } = Y.value.getBoundingClientRect(), o = a / l, { imageUri: i, base64: c } = await Jl({ domElement: Y.value, base64: !0, img: !0, scale: t });
661
+ if (!B.value) return;
662
+ const { width: a, height: l } = B.value.getBoundingClientRect(), o = a / l, { imageUri: i, base64: c } = await Jl({ domElement: B.value, base64: !0, img: !0, scale: t });
663
663
  return {
664
664
  imageUri: i,
665
665
  base64: c,
@@ -669,13 +669,13 @@ const oa = ["id"], sa = ["id"], na = ["xmlns", "viewBox"], ua = ["width", "heigh
669
669
  aspectRatio: o
670
670
  };
671
671
  }
672
- function yl() {
672
+ function fl() {
673
673
  if (!ke.value) return;
674
674
  const { x: t, y: a, width: l, height: o } = ke.value.getBBox();
675
- le.value && le.value.setAttribute("viewBox", `${t} ${a} ${l + Math.min(0, t)} ${o + Math.min(0, a)}`);
675
+ oe.value && oe.value.setAttribute("viewBox", `${t} ${a} ${l + Math.min(0, t)} ${o + Math.min(0, a)}`);
676
676
  }
677
- const be = y(() => {
678
- const t = e.value.table.useDialog && !e.value.table.show, a = p.value.showTable;
677
+ const be = f(() => {
678
+ const t = e.value.table.useDialog && !e.value.table.show, a = m.value.showTable;
679
679
  return {
680
680
  component: t ? qt : Et,
681
681
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
@@ -684,8 +684,8 @@ const oa = ["id"], sa = ["id"], na = ["xmlns", "viewBox"], ua = ["width", "heigh
684
684
  color: e.value.table.th.color,
685
685
  headerColor: e.value.table.th.color,
686
686
  headerBg: e.value.table.th.backgroundColor,
687
- isFullscreen: ne.value,
688
- fullscreenParent: Y.value,
687
+ isFullscreen: re.value,
688
+ fullscreenParent: B.value,
689
689
  forcedWidth: Math.min(500, window.innerWidth * 0.8)
690
690
  } : {
691
691
  hideDetails: !0,
@@ -704,20 +704,20 @@ const oa = ["id"], sa = ["id"], na = ["xmlns", "viewBox"], ua = ["width", "heigh
704
704
  }
705
705
  };
706
706
  });
707
- fe(() => p.value.showTable, (t) => {
707
+ ye(() => m.value.showTable, (t) => {
708
708
  e.value.table.show || (t && e.value.table.useDialog && pe.value ? pe.value.open() : "close" in pe.value && pe.value.close());
709
709
  });
710
710
  function At() {
711
- p.value.showTable = !1, Ie.value && Ie.value.setTableIconState(!1);
711
+ m.value.showTable = !1, Ie.value && Ie.value.setTableIconState(!1);
712
712
  }
713
- const fl = y(() => Xe.value.map((t) => ({
713
+ const yl = f(() => Xe.value.map((t) => ({
714
714
  ...t,
715
715
  name: t.display
716
- }))), gl = y(() => e.value.style.chart.backgroundColor), pl = y(() => e.value.style.chart.legend), ml = y(() => e.value.style.chart.title), { exportSvg: bl, getSvg: wl } = jl({
717
- svg: le,
716
+ }))), gl = f(() => e.value.style.chart.backgroundColor), pl = f(() => e.value.style.chart.legend), ml = f(() => e.value.style.chart.title), { exportSvg: bl, getSvg: wl } = jl({
717
+ svg: oe,
718
718
  title: ml,
719
719
  legend: pl,
720
- legendItems: fl,
720
+ legendItems: yl,
721
721
  backgroundColor: gl
722
722
  });
723
723
  async function St({ isCb: t }) {
@@ -728,52 +728,72 @@ const oa = ["id"], sa = ["id"], na = ["xmlns", "viewBox"], ua = ["width", "heigh
728
728
  bl();
729
729
  }
730
730
  return Yt({
731
- autoSize: yl,
731
+ autoSize: fl,
732
732
  getData: al,
733
733
  getImage: hl,
734
- generatePdf: yt,
734
+ generatePdf: ft,
735
735
  generateCsv: Re,
736
- generateImage: ft,
736
+ generateImage: yt,
737
737
  generateSvg: St,
738
- hideSeries: sl,
738
+ hideSeries: nl,
739
739
  showSeries: ol,
740
- toggleTable: _t,
741
- toggleLabels: $t,
740
+ toggleTable: $t,
741
+ toggleLabels: _t,
742
742
  toggleTooltip: Ct,
743
743
  toggleAnnotator: Ge,
744
744
  toggleFullscreen: kt
745
- }), (t, a) => (n(), r("div", {
745
+ }), (t, a) => (s(), r("div", {
746
746
  ref_key: "donutChart",
747
- ref: Y,
748
- class: We(`vue-data-ui-component vue-ui-donut ${ne.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
749
- style: $(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height:100%;" : ""} text-align:center;background:${e.value.style.chart.backgroundColor}`),
750
- id: `donut__${f.value}`,
747
+ ref: B,
748
+ class: We(`vue-data-ui-component vue-ui-donut ${re.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
749
+ style: C(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height:100%;" : ""} text-align:center;background:${e.value.style.chart.backgroundColor}`),
750
+ id: `donut__${g.value}`,
751
751
  onMouseenter: el,
752
752
  onMouseleave: tl
753
753
  }, [
754
- e.value.userOptions.buttons.annotator && u(le) ? (n(), te(u(Gt), {
754
+ e.value.userOptions.buttons.annotator && u(oe) ? (s(), ae(u(Gt), {
755
755
  key: 0,
756
756
  color: e.value.style.chart.color,
757
757
  backgroundColor: e.value.style.chart.backgroundColor,
758
758
  active: Se.value,
759
- svgRef: u(le),
759
+ svgRef: u(oe),
760
760
  onClose: Ge
761
- }, null, 8, ["color", "backgroundColor", "active", "svgRef"])) : v("", !0),
762
- b(t.$slots, "userConfig", {}, void 0, !0),
763
- ll.value ? (n(), r("div", {
761
+ }, {
762
+ "annotator-action-close": b(() => [
763
+ y(t.$slots, "annotator-action-close", {}, void 0, !0)
764
+ ]),
765
+ "annotator-action-color": b(({ color: l }) => [
766
+ y(t.$slots, "annotator-action-color", N(Y({ color: l })), void 0, !0)
767
+ ]),
768
+ "annotator-action-draw": b(({ mode: l }) => [
769
+ y(t.$slots, "annotator-action-draw", N(Y({ mode: l })), void 0, !0)
770
+ ]),
771
+ "annotator-action-undo": b(({ disabled: l }) => [
772
+ y(t.$slots, "annotator-action-undo", N(Y({ disabled: l })), void 0, !0)
773
+ ]),
774
+ "annotator-action-redo": b(({ disabled: l }) => [
775
+ y(t.$slots, "annotator-action-redo", N(Y({ disabled: l })), void 0, !0)
776
+ ]),
777
+ "annotator-action-delete": b(({ disabled: l }) => [
778
+ y(t.$slots, "annotator-action-delete", N(Y({ disabled: l })), void 0, !0)
779
+ ]),
780
+ _: 3
781
+ }, 8, ["color", "backgroundColor", "active", "svgRef"])) : v("", !0),
782
+ y(t.$slots, "userConfig", {}, void 0, !0),
783
+ ll.value ? (s(), r("div", {
764
784
  key: 1,
765
785
  ref_key: "noTitle",
766
786
  ref: tt,
767
787
  class: "vue-data-ui-no-title-space",
768
788
  style: "height:36px; width: 100%;background:transparent"
769
789
  }, null, 512)) : v("", !0),
770
- e.value.style.chart.title.text ? (n(), r("div", {
790
+ e.value.style.chart.title.text ? (s(), r("div", {
771
791
  key: 2,
772
792
  ref_key: "chartTitle",
773
793
  ref: Je,
774
794
  style: "width:100%;background:transparent;padding-bottom:24px"
775
795
  }, [
776
- (n(), te(ea, {
796
+ (s(), ae(ea, {
777
797
  key: `title_${lt.value}`,
778
798
  config: {
779
799
  title: {
@@ -788,9 +808,9 @@ const oa = ["id"], sa = ["id"], na = ["xmlns", "viewBox"], ua = ["width", "heigh
788
808
  }, null, 8, ["config"]))
789
809
  ], 512)) : v("", !0),
790
810
  h("div", {
791
- id: `legend-top-${f.value}`
792
- }, null, 8, sa),
793
- e.value.userOptions.show && we.value && (u(vt) || u(Ye)) ? (n(), te(u(Ut), {
811
+ id: `legend-top-${g.value}`
812
+ }, null, 8, na),
813
+ e.value.userOptions.show && we.value && (u(vt) || u(Ye)) ? (s(), ae(u(Ut), {
794
814
  ref_key: "userOptionsRef",
795
815
  ref: Ie,
796
816
  key: `user_option_${ut.value}`,
@@ -798,7 +818,7 @@ const oa = ["id"], sa = ["id"], na = ["xmlns", "viewBox"], ua = ["width", "heigh
798
818
  color: e.value.style.chart.color,
799
819
  isPrinting: u(ct),
800
820
  isImaging: u(ht),
801
- uid: f.value,
821
+ uid: g.value,
802
822
  hasTooltip: e.value.style.chart.tooltip.show && e.value.userOptions.buttons.tooltip,
803
823
  hasPdf: e.value.userOptions.buttons.pdf,
804
824
  hasImg: e.value.userOptions.buttons.img,
@@ -807,105 +827,105 @@ const oa = ["id"], sa = ["id"], na = ["xmlns", "viewBox"], ua = ["width", "heigh
807
827
  hasTable: e.value.userOptions.buttons.table,
808
828
  hasLabel: e.value.userOptions.buttons.labels,
809
829
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
810
- isFullscreen: ne.value,
811
- chartElement: Y.value,
830
+ isFullscreen: re.value,
831
+ chartElement: B.value,
812
832
  position: e.value.userOptions.position,
813
833
  callbacks: e.value.userOptions.callbacks,
814
- isTooltip: p.value.showTooltip,
834
+ isTooltip: m.value.showTooltip,
815
835
  titles: { ...e.value.userOptions.buttonTitles },
816
836
  hasAnnotator: e.value.userOptions.buttons.annotator,
817
837
  isAnnotation: Se.value,
818
838
  printScale: e.value.userOptions.print.scale,
819
839
  tableDialog: e.value.table.useDialog,
820
840
  onToggleFullscreen: kt,
821
- onGeneratePdf: u(yt),
841
+ onGeneratePdf: u(ft),
822
842
  onGenerateCsv: Re,
823
- onGenerateImage: u(ft),
843
+ onGenerateImage: u(yt),
824
844
  onGenerateSvg: St,
825
- onToggleTable: _t,
826
- onToggleLabels: $t,
845
+ onToggleTable: $t,
846
+ onToggleLabels: _t,
827
847
  onToggleTooltip: Ct,
828
848
  onToggleAnnotator: Ge,
829
- style: $({ visibility: u(vt) ? u(Ye) ? "visible" : "hidden" : "visible" })
849
+ style: C({ visibility: u(vt) ? u(Ye) ? "visible" : "hidden" : "visible" })
830
850
  }, qe({ _: 2 }, [
831
851
  t.$slots.menuIcon ? {
832
852
  name: "menuIcon",
833
- fn: C(({ isOpen: l, color: o }) => [
834
- b(t.$slots, "menuIcon", ue(re({ isOpen: l, color: o })), void 0, !0)
853
+ fn: b(({ isOpen: l, color: o }) => [
854
+ y(t.$slots, "menuIcon", N(Y({ isOpen: l, color: o })), void 0, !0)
835
855
  ]),
836
856
  key: "0"
837
857
  } : void 0,
838
858
  t.$slots.optionTooltip ? {
839
859
  name: "optionTooltip",
840
- fn: C(() => [
841
- b(t.$slots, "optionTooltip", {}, void 0, !0)
860
+ fn: b(() => [
861
+ y(t.$slots, "optionTooltip", {}, void 0, !0)
842
862
  ]),
843
863
  key: "1"
844
864
  } : void 0,
845
865
  t.$slots.optionPdf ? {
846
866
  name: "optionPdf",
847
- fn: C(() => [
848
- b(t.$slots, "optionPdf", {}, void 0, !0)
867
+ fn: b(() => [
868
+ y(t.$slots, "optionPdf", {}, void 0, !0)
849
869
  ]),
850
870
  key: "2"
851
871
  } : void 0,
852
872
  t.$slots.optionCsv ? {
853
873
  name: "optionCsv",
854
- fn: C(() => [
855
- b(t.$slots, "optionCsv", {}, void 0, !0)
874
+ fn: b(() => [
875
+ y(t.$slots, "optionCsv", {}, void 0, !0)
856
876
  ]),
857
877
  key: "3"
858
878
  } : void 0,
859
879
  t.$slots.optionImg ? {
860
880
  name: "optionImg",
861
- fn: C(() => [
862
- b(t.$slots, "optionImg", {}, void 0, !0)
881
+ fn: b(() => [
882
+ y(t.$slots, "optionImg", {}, void 0, !0)
863
883
  ]),
864
884
  key: "4"
865
885
  } : void 0,
866
886
  t.$slots.optionSvg ? {
867
887
  name: "optionSvg",
868
- fn: C(() => [
869
- b(t.$slots, "optionSvg", {}, void 0, !0)
888
+ fn: b(() => [
889
+ y(t.$slots, "optionSvg", {}, void 0, !0)
870
890
  ]),
871
891
  key: "5"
872
892
  } : void 0,
873
893
  t.$slots.optionTable ? {
874
894
  name: "optionTable",
875
- fn: C(() => [
876
- b(t.$slots, "optionTable", {}, void 0, !0)
895
+ fn: b(() => [
896
+ y(t.$slots, "optionTable", {}, void 0, !0)
877
897
  ]),
878
898
  key: "6"
879
899
  } : void 0,
880
900
  t.$slots.optionLabels ? {
881
901
  name: "optionLabels",
882
- fn: C(() => [
883
- b(t.$slots, "optionLabels", {}, void 0, !0)
902
+ fn: b(() => [
903
+ y(t.$slots, "optionLabels", {}, void 0, !0)
884
904
  ]),
885
905
  key: "7"
886
906
  } : void 0,
887
907
  t.$slots.optionFullscreen ? {
888
908
  name: "optionFullscreen",
889
- fn: C(({ toggleFullscreen: l, isFullscreen: o }) => [
890
- b(t.$slots, "optionFullscreen", ue(re({ toggleFullscreen: l, isFullscreen: o })), void 0, !0)
909
+ fn: b(({ toggleFullscreen: l, isFullscreen: o }) => [
910
+ y(t.$slots, "optionFullscreen", N(Y({ toggleFullscreen: l, isFullscreen: o })), void 0, !0)
891
911
  ]),
892
912
  key: "8"
893
913
  } : void 0,
894
914
  t.$slots.optionAnnotator ? {
895
915
  name: "optionAnnotator",
896
- fn: C(({ toggleAnnotator: l, isAnnotator: o }) => [
897
- b(t.$slots, "optionAnnotator", ue(re({ toggleAnnotator: l, isAnnotator: o })), void 0, !0)
916
+ fn: b(({ toggleAnnotator: l, isAnnotator: o }) => [
917
+ y(t.$slots, "optionAnnotator", N(Y({ toggleAnnotator: l, isAnnotator: o })), void 0, !0)
898
918
  ]),
899
919
  key: "9"
900
920
  } : void 0
901
921
  ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasSvg", "hasXls", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "chartElement", "position", "callbacks", "isTooltip", "titles", "hasAnnotator", "isAnnotation", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : v("", !0),
902
- (n(), r("svg", {
922
+ (s(), r("svg", {
903
923
  ref_key: "svgRef",
904
- ref: le,
924
+ ref: oe,
905
925
  xmlns: u(Ol),
906
- class: We({ "vue-data-ui-fullscreen--on": ne.value, "vue-data-ui-fulscreen--off": !ne.value, "vue-data-ui-svg": !0 }),
907
- viewBox: `0 0 ${s.value.width <= 0 ? 10 : s.value.width} ${s.value.height <= 0 ? 10 : s.value.height}`,
908
- style: $(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color};${dt.value.css}`)
926
+ class: We({ "vue-data-ui-fullscreen--on": re.value, "vue-data-ui-fulscreen--off": !re.value, "vue-data-ui-svg": !0 }),
927
+ viewBox: `0 0 ${n.value.width <= 0 ? 10 : n.value.width} ${n.value.height <= 0 ? 10 : n.value.height}`,
928
+ style: C(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color};${dt.value.css}`)
909
929
  }, [
910
930
  h("g", {
911
931
  ref_key: "G",
@@ -913,22 +933,22 @@ const oa = ["id"], sa = ["id"], na = ["xmlns", "viewBox"], ua = ["width", "heigh
913
933
  class: "vue-data-ui-g"
914
934
  }, [
915
935
  Te(u(Wt)),
916
- t.$slots["chart-background"] ? (n(), r("foreignObject", {
936
+ t.$slots["chart-background"] ? (s(), r("foreignObject", {
917
937
  key: 0,
918
938
  x: 0,
919
939
  y: 0,
920
- width: s.value.width <= 0 ? 10 : s.value.width,
921
- height: s.value.height <= 0 ? 10 : s.value.height,
940
+ width: n.value.width <= 0 ? 10 : n.value.width,
941
+ height: n.value.height <= 0 ? 10 : n.value.height,
922
942
  style: {
923
943
  pointerEvents: "none"
924
944
  }
925
945
  }, [
926
- b(t.$slots, "chart-background", {}, void 0, !0)
946
+ y(t.$slots, "chart-background", {}, void 0, !0)
927
947
  ], 8, ua)) : v("", !0),
928
- e.value.type === "classic" && !isNaN(ae.value / _.value) ? (n(), r("defs", ra, [
929
- e.value.style.chart.useGradient ? (n(), r("radialGradient", {
948
+ e.value.type === "classic" && !isNaN(ne.value / _.value) ? (s(), r("defs", ra, [
949
+ e.value.style.chart.useGradient ? (s(), r("radialGradient", {
930
950
  key: 0,
931
- id: `gradient_${f.value}`
951
+ id: `gradient_${g.value}`
932
952
  }, [
933
953
  h("stop", {
934
954
  offset: "0%",
@@ -936,12 +956,12 @@ const oa = ["id"], sa = ["id"], na = ["xmlns", "viewBox"], ua = ["width", "heigh
936
956
  "stop-opacity": "0"
937
957
  }, null, 8, va),
938
958
  h("stop", {
939
- offset: `${(1 - ae.value / _.value) * 100}%`,
959
+ offset: `${(1 - ne.value / _.value) * 100}%`,
940
960
  "stop-color": u(Fe)("#FFFFFF", 0),
941
961
  "stop-opacity": "0"
942
962
  }, null, 8, da),
943
963
  h("stop", {
944
- offset: `${(1 - ae.value / _.value / 2) * 100}%`,
964
+ offset: `${(1 - ne.value / _.value / 2) * 100}%`,
945
965
  "stop-color": u(Fe)("#FFFFFF", e.value.style.chart.gradientIntensity)
946
966
  }, null, 8, ca),
947
967
  h("stop", {
@@ -951,11 +971,11 @@ const oa = ["id"], sa = ["id"], na = ["xmlns", "viewBox"], ua = ["width", "heigh
951
971
  }, null, 8, ha)
952
972
  ], 8, ia)) : v("", !0)
953
973
  ])) : v("", !0),
954
- e.value.type === "polar" ? (n(), r("defs", ya, [
955
- (n(!0), r(w, null, I(d.value, (l, o) => (n(), r("radialGradient", {
956
- id: `polar_gradient_${o}_${f.value}`,
957
- cx: (isNaN(l.middlePoint.x / s.value.width * 100) ? 0 : l.middlePoint.x / s.value.width * 100) + "%",
958
- cy: (isNaN(l.middlePoint.y / s.value.height * 100) ? 0 : l.middlePoint.y / s.value.height * 100) + "%",
974
+ e.value.type === "polar" ? (s(), r("defs", fa, [
975
+ (s(!0), r(k, null, I(d.value, (l, o) => (s(), r("radialGradient", {
976
+ id: `polar_gradient_${o}_${g.value}`,
977
+ cx: (isNaN(l.middlePoint.x / n.value.width * 100) ? 0 : l.middlePoint.x / n.value.width * 100) + "%",
978
+ cy: (isNaN(l.middlePoint.y / n.value.height * 100) ? 0 : l.middlePoint.y / n.value.height * 100) + "%",
959
979
  r: "62%"
960
980
  }, [
961
981
  h("stop", {
@@ -967,11 +987,11 @@ const oa = ["id"], sa = ["id"], na = ["xmlns", "viewBox"], ua = ["width", "heigh
967
987
  offset: "100%",
968
988
  "stop-color": T.value[o].color
969
989
  }, null, 8, pa)
970
- ], 8, fa))), 256))
990
+ ], 8, ya))), 256))
971
991
  ])) : v("", !0),
972
992
  h("defs", null, [
973
993
  h("filter", {
974
- id: `blur_${f.value}`,
994
+ id: `blur_${g.value}`,
975
995
  x: "-50%",
976
996
  y: "-50%",
977
997
  width: "200%",
@@ -980,7 +1000,7 @@ const oa = ["id"], sa = ["id"], na = ["xmlns", "viewBox"], ua = ["width", "heigh
980
1000
  h("feGaussianBlur", {
981
1001
  in: "SourceGraphic",
982
1002
  stdDeviation: 2,
983
- id: `blur_std_${f.value}`
1003
+ id: `blur_std_${g.value}`
984
1004
  }, null, 8, ba),
985
1005
  a[5] || (a[5] = h("feColorMatrix", {
986
1006
  type: "saturate",
@@ -988,7 +1008,7 @@ const oa = ["id"], sa = ["id"], na = ["xmlns", "viewBox"], ua = ["width", "heigh
988
1008
  }, null, -1))
989
1009
  ], 8, ma),
990
1010
  h("filter", {
991
- id: `shadow_${f.value}`,
1011
+ id: `shadow_${g.value}`,
992
1012
  "color-interpolation-filters": "sRGB"
993
1013
  }, [
994
1014
  h("feDropShadow", {
@@ -1000,7 +1020,7 @@ const oa = ["id"], sa = ["id"], na = ["xmlns", "viewBox"], ua = ["width", "heigh
1000
1020
  }, null, 8, ka)
1001
1021
  ], 8, wa),
1002
1022
  h("filter", {
1003
- id: `drop_shadow_${f.value}`,
1023
+ id: `drop_shadow_${g.value}`,
1004
1024
  "color-interpolation-filters": "sRGB",
1005
1025
  x: "-50%",
1006
1026
  y: "-50%",
@@ -1013,146 +1033,146 @@ const oa = ["id"], sa = ["id"], na = ["xmlns", "viewBox"], ua = ["width", "heigh
1013
1033
  stdDeviation: "3",
1014
1034
  "flood-opacity": "1",
1015
1035
  "flood-color": e.value.style.chart.layout.donut.shadowColor
1016
- }, null, 8, _a)
1036
+ }, null, 8, $a)
1017
1037
  ], 8, xa)
1018
1038
  ]),
1019
- e.value.type === "classic" ? (n(!0), r(w, { key: 3 }, I(T.value.filter((l) => !l.ghost), (l, o) => (n(), r("g", null, [
1020
- V(l) && p.value.dataLabels.show ? (n(), r("path", {
1039
+ e.value.type === "classic" ? (s(!0), r(k, { key: 3 }, I(T.value.filter((l) => !l.ghost), (l, o) => (s(), r("g", null, [
1040
+ R(l) && m.value.dataLabels.show ? (s(), r("path", {
1021
1041
  key: 0,
1022
- d: u(Nl)(l, { x: s.value.width / 2, y: s.value.height / 2 }, 16, 16, !1, !1, ae.value, 12, e.value.style.chart.layout.curvedMarkers),
1042
+ d: u(Nl)(l, { x: n.value.width / 2, y: n.value.height / 2 }, 16, 16, !1, !1, ne.value, 12, e.value.style.chart.layout.curvedMarkers),
1023
1043
  stroke: l.color,
1024
1044
  "stroke-width": "1",
1025
1045
  "stroke-linecap": "round",
1026
1046
  "stroke-linejoin": "round",
1027
1047
  fill: "none",
1028
- filter: se(o)
1029
- }, null, 8, $a)) : v("", !0)
1048
+ filter: ue(o)
1049
+ }, null, 8, _a)) : v("", !0)
1030
1050
  ]))), 256)) : v("", !0),
1031
- e.value.type === "polar" ? (n(!0), r(w, { key: 4 }, I(T.value.filter((l) => !l.ghost), (l, o) => (n(), r("g", null, [
1032
- V(l) && p.value.dataLabels.show ? (n(), r("path", {
1051
+ e.value.type === "polar" ? (s(!0), r(k, { key: 4 }, I(T.value.filter((l) => !l.ghost), (l, o) => (s(), r("g", null, [
1052
+ R(l) && m.value.dataLabels.show ? (s(), r("path", {
1033
1053
  key: 0,
1034
- d: `M ${u(P)({ initX: d.value[o].middlePoint.x, initY: d.value[o].middlePoint.y, offset: 24, centerX: s.value.width / 2, centerY: s.value.height / 2 }).x},${u(P)({ initX: d.value[o].middlePoint.x, initY: d.value[o].middlePoint.y, offset: 24, centerX: s.value.width / 2, centerY: s.value.height / 2 }).y} ${d.value[o].middlePoint.x},${d.value[o].middlePoint.y}`,
1054
+ d: `M ${u(P)({ initX: d.value[o].middlePoint.x, initY: d.value[o].middlePoint.y, offset: 24, centerX: n.value.width / 2, centerY: n.value.height / 2 }).x},${u(P)({ initX: d.value[o].middlePoint.x, initY: d.value[o].middlePoint.y, offset: 24, centerX: n.value.width / 2, centerY: n.value.height / 2 }).y} ${d.value[o].middlePoint.x},${d.value[o].middlePoint.y}`,
1035
1055
  stroke: l.color,
1036
1056
  "stroke-width": "1",
1037
1057
  "stroke-linecap": "round",
1038
1058
  "stroke-linejoin": "round",
1039
1059
  fill: "none",
1040
- filter: se(o),
1041
- style: $({
1060
+ filter: ue(o),
1061
+ style: C({
1042
1062
  transition: S.value || !e.value.serieToggleAnimation.show ? "none" : `all ${e.value.serieToggleAnimation.durationMs}ms ease-in-out`
1043
1063
  })
1044
1064
  }, null, 12, Ca)) : v("", !0)
1045
1065
  ]))), 256)) : v("", !0),
1046
- e.value.type === "classic" && e.value.style.chart.layout.donut.useShadow ? (n(), r("circle", {
1066
+ e.value.type === "classic" && e.value.style.chart.layout.donut.useShadow ? (s(), r("circle", {
1047
1067
  key: 5,
1048
- cx: s.value.width / 2,
1049
- cy: s.value.height / 2,
1068
+ cx: n.value.width / 2,
1069
+ cy: n.value.height / 2,
1050
1070
  r: _.value <= 0 ? 10 : _.value,
1051
1071
  fill: e.value.style.chart.backgroundColor,
1052
- filter: `url(#shadow_${f.value})`
1072
+ filter: `url(#shadow_${g.value})`
1053
1073
  }, null, 8, Aa)) : v("", !0),
1054
- t.$slots.pattern ? (n(), r("g", Sa, [
1055
- (n(!0), r(w, null, I(Ze.dataset, (l, o) => (n(), r("defs", {
1074
+ t.$slots.pattern ? (s(), r("g", Sa, [
1075
+ (s(!0), r(k, null, I(Ze.dataset, (l, o) => (s(), r("defs", {
1056
1076
  key: `pattern-${l.patternIndex}`
1057
1077
  }, [
1058
- b(t.$slots, "pattern", He({ ref_for: !0 }, { seriesIndex: o, patternId: `pattern_${f.value}_${o}` }), void 0, !0)
1078
+ y(t.$slots, "pattern", He({ ref_for: !0 }, { seriesIndex: o, patternId: `pattern_${g.value}_${o}` }), void 0, !0)
1059
1079
  ]))), 128))
1060
1080
  ])) : v("", !0),
1061
- F.value && e.value.type === "classic" ? (n(), r(w, { key: 7 }, [
1062
- (n(!0), r(w, null, I(B.value, (l, o) => (n(), r("path", {
1081
+ F.value && e.value.type === "classic" ? (s(), r(k, { key: 7 }, [
1082
+ (s(!0), r(k, null, I(E.value, (l, o) => (s(), r("path", {
1063
1083
  stroke: e.value.style.chart.backgroundColor,
1064
1084
  d: l.arcSlice,
1065
1085
  fill: "#FFFFFF"
1066
1086
  }, null, 8, Ta))), 256)),
1067
- (n(!0), r(w, null, I(B.value, (l, o) => (n(), r("path", {
1087
+ (s(!0), r(k, null, I(E.value, (l, o) => (s(), r("path", {
1068
1088
  class: "vue-ui-donut-arc-path",
1069
1089
  d: l.arcSlice,
1070
1090
  fill: l.color,
1071
1091
  stroke: e.value.style.chart.layout.donut.borderColorAuto ? e.value.style.chart.backgroundColor : e.value.style.chart.layout.donut.borderColor,
1072
1092
  "stroke-width": e.value.style.chart.layout.donut.borderWidth,
1073
- filter: se(o)
1093
+ filter: ue(o)
1074
1094
  }, null, 8, Pa))), 256)),
1075
- t.$slots.pattern ? (n(), r("g", Fa, [
1076
- (n(!0), r(w, null, I(B.value, (l, o) => (n(), r("path", {
1095
+ t.$slots.pattern ? (s(), r("g", Fa, [
1096
+ (s(!0), r(k, null, I(E.value, (l, o) => (s(), r("path", {
1077
1097
  class: "vue-ui-donut-arc-path",
1078
1098
  d: l.arcSlice,
1079
1099
  fill: `url(#${l.pattern})`,
1080
1100
  stroke: e.value.style.chart.layout.donut.borderColorAuto ? e.value.style.chart.backgroundColor : e.value.style.chart.layout.donut.borderColor,
1081
1101
  "stroke-width": e.value.style.chart.layout.donut.borderWidth,
1082
- filter: se(o)
1102
+ filter: ue(o)
1083
1103
  }, null, 8, Ia))), 256))
1084
1104
  ])) : v("", !0)
1085
1105
  ], 64)) : v("", !0),
1086
- F.value && e.value.type === "polar" ? (n(), r(w, { key: 8 }, [
1087
- T.value.length > 1 ? (n(), r("g", La, [
1088
- (n(!0), r(w, null, I(B.value, (l, o) => (n(), r("path", {
1106
+ F.value && e.value.type === "polar" ? (s(), r(k, { key: 8 }, [
1107
+ T.value.length > 1 ? (s(), r("g", La, [
1108
+ (s(!0), r(k, null, I(E.value, (l, o) => (s(), r("path", {
1089
1109
  stroke: e.value.style.chart.layout.donut.borderColorAuto ? e.value.style.chart.backgroundColor : e.value.style.chart.layout.donut.borderColor,
1090
1110
  d: d.value[o].path,
1091
1111
  fill: "#FFFFFF",
1092
- style: $({
1112
+ style: C({
1093
1113
  transition: S.value || !e.value.serieToggleAnimation.show ? "none" : `all ${e.value.serieToggleAnimation.durationMs}ms ease-in-out`
1094
1114
  })
1095
1115
  }, null, 12, Ma))), 256)),
1096
- e.value.style.chart.layout.donut.useShadow ? (n(), r("g", za, [
1097
- (n(!0), r(w, null, I(B.value, (l, o) => (n(), r("path", {
1116
+ e.value.style.chart.layout.donut.useShadow ? (s(), r("g", za, [
1117
+ (s(!0), r(k, null, I(E.value, (l, o) => (s(), r("path", {
1098
1118
  class: "vue-ui-donut-arc-path",
1099
1119
  d: d.value[o].path,
1100
1120
  fill: "transparent",
1101
1121
  stroke: e.value.style.chart.layout.donut.borderColorAuto ? e.value.style.chart.backgroundColor : e.value.style.chart.layout.donut.borderColor,
1102
1122
  "stroke-width": e.value.style.chart.layout.donut.borderWidth,
1103
- filter: `url(#drop_shadow_${f.value})`,
1104
- style: $({
1123
+ filter: `url(#drop_shadow_${g.value})`,
1124
+ style: C({
1105
1125
  transition: S.value || !e.value.serieToggleAnimation.show ? "none" : `all ${e.value.serieToggleAnimation.durationMs}ms ease-in-out`
1106
1126
  })
1107
1127
  }, null, 12, Oa))), 256))
1108
1128
  ])) : v("", !0),
1109
- t.$slots.pattern ? (n(), r("g", Da, [
1110
- (n(!0), r(w, null, I(B.value, (l, o) => (n(), r("path", {
1129
+ t.$slots.pattern ? (s(), r("g", Da, [
1130
+ (s(!0), r(k, null, I(E.value, (l, o) => (s(), r("path", {
1111
1131
  class: "vue-ui-donut-arc-path",
1112
1132
  d: d.value[o].path,
1113
1133
  fill: `url(#${l.pattern})`,
1114
1134
  stroke: e.value.style.chart.layout.donut.borderColorAuto ? e.value.style.chart.backgroundColor : e.value.style.chart.layout.donut.borderColor,
1115
1135
  "stroke-width": e.value.style.chart.layout.donut.borderWidth,
1116
- filter: se(o),
1117
- style: $({
1136
+ filter: ue(o),
1137
+ style: C({
1118
1138
  transition: S.value || !e.value.serieToggleAnimation.show ? "none" : `all ${e.value.serieToggleAnimation.durationMs}ms ease-in-out`,
1119
1139
  transformOrigin: "center"
1120
1140
  })
1121
1141
  }, null, 12, Na))), 256))
1122
1142
  ])) : v("", !0),
1123
- (n(!0), r(w, null, I(B.value, (l, o) => (n(), r("path", {
1143
+ (s(!0), r(k, null, I(E.value, (l, o) => (s(), r("path", {
1124
1144
  class: "vue-ui-donut-arc-path",
1125
1145
  d: d.value[o].path,
1126
- fill: e.value.style.chart.useGradient ? `url(#polar_gradient_${o}_${f.value})` : l.color,
1146
+ fill: e.value.style.chart.useGradient ? `url(#polar_gradient_${o}_${g.value})` : l.color,
1127
1147
  stroke: e.value.style.chart.layout.donut.borderColorAuto ? e.value.style.chart.backgroundColor : e.value.style.chart.layout.donut.borderColor,
1128
1148
  "stroke-width": e.value.style.chart.layout.donut.borderWidth,
1129
- filter: se(o),
1130
- style: $({
1149
+ filter: ue(o),
1150
+ style: C({
1131
1151
  transition: S.value || !e.value.serieToggleAnimation.show ? "none" : `all ${e.value.serieToggleAnimation.durationMs}ms ease-in-out`
1132
1152
  })
1133
1153
  }, null, 12, Ya))), 256))
1134
- ])) : (n(), r("g", Xa, [
1135
- t.$slots.pattern ? (n(), r("circle", {
1154
+ ])) : (s(), r("g", Xa, [
1155
+ t.$slots.pattern ? (s(), r("circle", {
1136
1156
  key: 0,
1137
- cx: s.value.width / 2,
1138
- cy: s.value.height / 2,
1157
+ cx: n.value.width / 2,
1158
+ cy: n.value.height / 2,
1139
1159
  r: _.value,
1140
- fill: `url(#pattern_${f.value}_${T.value[0].patternIndex})`,
1160
+ fill: `url(#pattern_${g.value}_${T.value[0].patternIndex})`,
1141
1161
  stroke: e.value.style.chart.backgroundColor,
1142
1162
  "stroke-width": e.value.style.chart.layout.donut.borderWidth
1143
1163
  }, null, 8, Ba)) : v("", !0),
1144
1164
  h("circle", {
1145
- cx: s.value.width / 2,
1146
- cy: s.value.height / 2,
1165
+ cx: n.value.width / 2,
1166
+ cy: n.value.height / 2,
1147
1167
  r: _.value,
1148
- fill: e.value.style.chart.useGradient ? `url(#polar_gradient_0_${f.value})` : T.value[0].color,
1168
+ fill: e.value.style.chart.useGradient ? `url(#polar_gradient_0_${g.value})` : T.value[0].color,
1149
1169
  stroke: e.value.style.chart.backgroundColor,
1150
1170
  "stroke-width": e.value.style.chart.layout.donut.borderWidth
1151
1171
  }, null, 8, Va)
1152
1172
  ]))
1153
- ], 64)) : (n(), r(w, { key: 9 }, [
1154
- e.value.type === "classic" && !rl.value ? (n(), r("g", Ea, [
1155
- (n(!0), r(w, null, I(il.value, (l, o) => (n(), r("path", {
1173
+ ], 64)) : (s(), r(k, { key: 9 }, [
1174
+ e.value.type === "classic" && !rl.value ? (s(), r("g", Ea, [
1175
+ (s(!0), r(k, null, I(il.value, (l, o) => (s(), r("path", {
1156
1176
  class: "vue-ui-donut-arc-path",
1157
1177
  d: l.arcSlice,
1158
1178
  fill: l.color,
@@ -1161,117 +1181,117 @@ const oa = ["id"], sa = ["id"], na = ["xmlns", "viewBox"], ua = ["width", "heigh
1161
1181
  }, null, 8, Ra))), 256))
1162
1182
  ])) : v("", !0),
1163
1183
  h("circle", {
1164
- cx: s.value.width / 2,
1165
- cy: s.value.height / 2,
1184
+ cx: n.value.width / 2,
1185
+ cy: n.value.height / 2,
1166
1186
  r: _.value <= 0 ? 10 : _.value,
1167
1187
  fill: "transparent",
1168
1188
  stroke: e.value.style.chart.backgroundColor
1169
1189
  }, null, 8, Ga)
1170
1190
  ], 64)),
1171
- e.value.style.chart.useGradient && e.value.type === "classic" ? (n(), r("circle", {
1191
+ e.value.style.chart.useGradient && e.value.type === "classic" ? (s(), r("circle", {
1172
1192
  key: 10,
1173
- cx: s.value.width / 2,
1174
- cy: s.value.height / 2,
1193
+ cx: n.value.width / 2,
1194
+ cy: n.value.height / 2,
1175
1195
  r: (
1176
1196
  /* This might require adjustments */
1177
1197
  _.value <= 0 ? 10 : _.value
1178
1198
  ),
1179
- fill: `url(#gradient_${f.value})`
1199
+ fill: `url(#gradient_${g.value})`
1180
1200
  }, null, 8, Ua)) : v("", !0),
1181
1201
  h("circle", {
1182
1202
  ref_key: "circle_hollow",
1183
1203
  ref: Zt,
1184
1204
  style: { pointerEvents: "none" },
1185
1205
  fill: "none",
1186
- cx: s.value.width / 2,
1187
- cy: s.value.height / 2,
1188
- r: Math.max(0.1, ae.value * 1.7)
1206
+ cx: n.value.width / 2,
1207
+ cy: n.value.height / 2,
1208
+ r: Math.max(0.1, ne.value * 1.7)
1189
1209
  }, null, 8, Wa),
1190
- F.value ? (n(), r(w, { key: 11 }, [
1191
- T.value.length > 1 || e.value.type === "classic" ? (n(), r("g", qa, [
1192
- (n(!0), r(w, null, I(T.value.filter((l) => !l.ghost), (l, o) => (n(), r("path", {
1210
+ F.value ? (s(), r(k, { key: 11 }, [
1211
+ T.value.length > 1 || e.value.type === "classic" ? (s(), r("g", qa, [
1212
+ (s(!0), r(k, null, I(T.value.filter((l) => !l.ghost), (l, o) => (s(), r("path", {
1193
1213
  d: e.value.type === "classic" ? l.arcSlice : d.value[o].path,
1194
1214
  stroke: e.value.style.chart.layout.donut.borderColorAuto ? e.value.style.chart.backgroundColor : e.value.style.chart.layout.donut.borderColor,
1195
- fill: X.value === o ? e.value.style.chart.layout.donut.selectedColor : "transparent",
1196
- onMouseenter: (i) => ye({
1215
+ fill: V.value === o ? e.value.style.chart.layout.donut.selectedColor : "transparent",
1216
+ onMouseenter: (i) => fe({
1197
1217
  datapoint: l,
1198
1218
  relativeIndex: o,
1199
1219
  seriesIndex: l.seriesIndex,
1200
1220
  show: !0
1201
1221
  }),
1202
1222
  onMouseleave: (i) => he({ datapoint: l, seriesIndex: l.seriesIndex }),
1203
- onClick: (i) => J(l, o)
1223
+ onClick: (i) => ee(l, o)
1204
1224
  }, null, 40, Ha))), 256))
1205
- ])) : (n(), r("g", ja, [
1225
+ ])) : (s(), r("g", ja, [
1206
1226
  h("circle", {
1207
- cx: s.value.width / 2,
1208
- cy: s.value.height / 2,
1227
+ cx: n.value.width / 2,
1228
+ cy: n.value.height / 2,
1209
1229
  r: _.value,
1210
1230
  fill: "transparent",
1211
- onMouseenter: a[0] || (a[0] = (l) => ye({
1231
+ onMouseenter: a[0] || (a[0] = (l) => fe({
1212
1232
  datapoint: T.value[0],
1213
1233
  relativeIndex: 0,
1214
1234
  seriesIndex: T.value[0].seriesIndex,
1215
1235
  show: !0
1216
1236
  })),
1217
1237
  onMouseleave: a[1] || (a[1] = (l) => he({ datapoint: T.value[0], seriesIndex: T.value[0].seriesIndex })),
1218
- onClick: a[2] || (a[2] = (l) => J(T.value[0], t.i))
1238
+ onClick: a[2] || (a[2] = (l) => ee(T.value[0], t.i))
1219
1239
  }, null, 40, Qa)
1220
1240
  ]))
1221
1241
  ], 64)) : v("", !0),
1222
- e.value.type === "classic" ? (n(), r("g", {
1242
+ e.value.type === "classic" ? (s(), r("g", {
1223
1243
  key: 12,
1224
1244
  ref_key: "G_hollow",
1225
1245
  ref: Qt,
1226
1246
  class: "vue-data-ui-donut-hollow-labels"
1227
1247
  }, [
1228
- e.value.style.chart.layout.labels.hollow.total.show ? (n(), r("text", {
1248
+ e.value.style.chart.layout.labels.hollow.total.show ? (s(), r("text", {
1229
1249
  key: 0,
1230
1250
  "text-anchor": "middle",
1231
- x: s.value.width / 2,
1232
- y: s.value.height / 2 - (e.value.style.chart.layout.labels.hollow.average.show ? e.value.style.chart.layout.labels.hollow.total.fontSize : 0) + e.value.style.chart.layout.labels.hollow.total.offsetY,
1251
+ x: n.value.width / 2,
1252
+ y: n.value.height / 2 - (e.value.style.chart.layout.labels.hollow.average.show ? e.value.style.chart.layout.labels.hollow.total.fontSize : 0) + e.value.style.chart.layout.labels.hollow.total.offsetY,
1233
1253
  fill: e.value.style.chart.layout.labels.hollow.total.color,
1234
1254
  "font-size": e.value.style.chart.layout.labels.hollow.total.fontSize,
1235
- style: $(`font-weight:${e.value.style.chart.layout.labels.hollow.total.bold ? "bold" : ""}`)
1236
- }, R(e.value.style.chart.layout.labels.hollow.total.text), 13, Za)) : v("", !0),
1237
- e.value.style.chart.layout.labels.hollow.total.show ? (n(), r("text", {
1255
+ style: C(`font-weight:${e.value.style.chart.layout.labels.hollow.total.bold ? "bold" : ""}`)
1256
+ }, U(e.value.style.chart.layout.labels.hollow.total.text), 13, Za)) : v("", !0),
1257
+ e.value.style.chart.layout.labels.hollow.total.show ? (s(), r("text", {
1238
1258
  key: 1,
1239
1259
  "text-anchor": "middle",
1240
- x: s.value.width / 2,
1241
- y: s.value.height / 2 + e.value.style.chart.layout.labels.hollow.total.fontSize - (e.value.style.chart.layout.labels.hollow.average.show ? e.value.style.chart.layout.labels.hollow.total.fontSize : 0) + e.value.style.chart.layout.labels.hollow.total.value.offsetY,
1260
+ x: n.value.width / 2,
1261
+ y: n.value.height / 2 + e.value.style.chart.layout.labels.hollow.total.fontSize - (e.value.style.chart.layout.labels.hollow.average.show ? e.value.style.chart.layout.labels.hollow.total.fontSize : 0) + e.value.style.chart.layout.labels.hollow.total.value.offsetY,
1242
1262
  fill: e.value.style.chart.layout.labels.hollow.total.value.color,
1243
1263
  "font-size": e.value.style.chart.layout.labels.hollow.total.value.fontSize,
1244
- style: $(`font-weight:${e.value.style.chart.layout.labels.hollow.total.value.bold ? "bold" : ""}`)
1245
- }, R(u(G)(
1264
+ style: C(`font-weight:${e.value.style.chart.layout.labels.hollow.total.value.bold ? "bold" : ""}`)
1265
+ }, U(u(W)(
1246
1266
  e.value.style.chart.layout.labels.hollow.total.value.formatter,
1247
1267
  F.value,
1248
- u(N)({
1268
+ u(X)({
1249
1269
  p: e.value.style.chart.layout.labels.hollow.total.value.prefix,
1250
1270
  v: F.value,
1251
1271
  s: e.value.style.chart.layout.labels.hollow.total.value.suffix
1252
1272
  })
1253
1273
  )), 13, Ja)) : v("", !0),
1254
- e.value.style.chart.layout.labels.hollow.average.show ? (n(), r("text", {
1274
+ e.value.style.chart.layout.labels.hollow.average.show ? (s(), r("text", {
1255
1275
  key: 2,
1256
1276
  "text-anchor": "middle",
1257
- x: s.value.width / 2,
1258
- y: s.value.height / 2 + (e.value.style.chart.layout.labels.hollow.total.show ? e.value.style.chart.layout.labels.hollow.average.fontSize : 0) + e.value.style.chart.layout.labels.hollow.average.offsetY,
1277
+ x: n.value.width / 2,
1278
+ y: n.value.height / 2 + (e.value.style.chart.layout.labels.hollow.total.show ? e.value.style.chart.layout.labels.hollow.average.fontSize : 0) + e.value.style.chart.layout.labels.hollow.average.offsetY,
1259
1279
  fill: e.value.style.chart.layout.labels.hollow.average.color,
1260
1280
  "font-size": e.value.style.chart.layout.labels.hollow.average.fontSize,
1261
- style: $(`font-weight:${e.value.style.chart.layout.labels.hollow.average.bold ? "bold" : ""}`)
1262
- }, R(e.value.style.chart.layout.labels.hollow.average.text), 13, Ka)) : v("", !0),
1263
- e.value.style.chart.layout.labels.hollow.average.show ? (n(), r("text", {
1281
+ style: C(`font-weight:${e.value.style.chart.layout.labels.hollow.average.bold ? "bold" : ""}`)
1282
+ }, U(e.value.style.chart.layout.labels.hollow.average.text), 13, Ka)) : v("", !0),
1283
+ e.value.style.chart.layout.labels.hollow.average.show ? (s(), r("text", {
1264
1284
  key: 3,
1265
1285
  "text-anchor": "middle",
1266
- x: s.value.width / 2,
1267
- y: s.value.height / 2 + (e.value.style.chart.layout.labels.hollow.total.show ? e.value.style.chart.layout.labels.hollow.average.fontSize : 0) + e.value.style.chart.layout.labels.hollow.average.fontSize + e.value.style.chart.layout.labels.hollow.average.value.offsetY,
1286
+ x: n.value.width / 2,
1287
+ y: n.value.height / 2 + (e.value.style.chart.layout.labels.hollow.total.show ? e.value.style.chart.layout.labels.hollow.average.fontSize : 0) + e.value.style.chart.layout.labels.hollow.average.fontSize + e.value.style.chart.layout.labels.hollow.average.value.offsetY,
1268
1288
  fill: e.value.style.chart.layout.labels.hollow.average.value.color,
1269
1289
  "font-size": e.value.style.chart.layout.labels.hollow.average.value.fontSize,
1270
- style: $(`font-weight:${e.value.style.chart.layout.labels.hollow.average.value.bold ? "bold" : ""}`)
1271
- }, R(oe.value || S.value ? "--" : u(G)(
1290
+ style: C(`font-weight:${e.value.style.chart.layout.labels.hollow.average.value.bold ? "bold" : ""}`)
1291
+ }, U(se.value || S.value ? "--" : u(W)(
1272
1292
  e.value.style.chart.layout.labels.hollow.average.value.formatter,
1273
1293
  Ve.value,
1274
- u(N)({
1294
+ u(X)({
1275
1295
  p: e.value.style.chart.layout.labels.hollow.average.value.prefix,
1276
1296
  v: Ve.value,
1277
1297
  s: e.value.style.chart.layout.labels.hollow.average.value.suffix,
@@ -1279,96 +1299,96 @@ const oa = ["id"], sa = ["id"], na = ["xmlns", "viewBox"], ua = ["width", "heigh
1279
1299
  })
1280
1300
  )), 13, eo)) : v("", !0)
1281
1301
  ], 512)) : v("", !0),
1282
- (n(!0), r(w, null, I(B.value.filter((l) => !l.ghost), (l, o) => (n(), r("g", {
1283
- filter: se(o),
1302
+ (s(!0), r(k, null, I(E.value.filter((l) => !l.ghost), (l, o) => (s(), r("g", {
1303
+ filter: ue(o),
1284
1304
  class: We({ animated: e.value.useCssAnimation }),
1285
1305
  key: l.seriesIndex
1286
1306
  }, [
1287
- e.value.style.chart.layout.labels.dataLabels.useLabelSlots ? (n(), r("g", lo, [
1288
- (n(), r("foreignObject", {
1289
- x: u(x)(l, !0).anchor === "end" ? u(x)(l).x - 120 : u(x)(l, !0).anchor === "middle" ? u(x)(l).x - 60 : u(x)(l).x,
1307
+ e.value.style.chart.layout.labels.dataLabels.useLabelSlots ? (s(), r("g", lo, [
1308
+ (s(), r("foreignObject", {
1309
+ x: u($)(l, !0).anchor === "end" ? u($)(l).x - 120 : u($)(l, !0).anchor === "middle" ? u($)(l).x - 60 : u($)(l).x,
1290
1310
  y: u(ge)(l) - (xt.value ? 20 : 0),
1291
1311
  width: "120",
1292
1312
  height: "60",
1293
1313
  style: { overflow: "visible" }
1294
1314
  }, [
1295
1315
  h("div", null, [
1296
- b(t.$slots, "dataLabel", He({ ref_for: !0 }, {
1316
+ y(t.$slots, "dataLabel", He({ ref_for: !0 }, {
1297
1317
  datapoint: l,
1298
- isBlur: !e.value.useBlurOnHover || [null, void 0].includes(X.value) || X.value === o,
1318
+ isBlur: !e.value.useBlurOnHover || [null, void 0].includes(V.value) || V.value === o,
1299
1319
  isSafari: xt.value,
1300
- isVisible: V(l) && p.value.dataLabels.show,
1301
- textAlign: u(x)(l, !0, 16, !0).anchor,
1302
- flexAlign: u(x)(l, !0, 16).anchor,
1303
- percentage: Be(l, B.value)
1320
+ isVisible: R(l) && m.value.dataLabels.show,
1321
+ textAlign: u($)(l, !0, 16, !0).anchor,
1322
+ flexAlign: u($)(l, !0, 16).anchor,
1323
+ percentage: Be(l, E.value)
1304
1324
  }), void 0, !0)
1305
1325
  ])
1306
1326
  ], 8, ao))
1307
- ])) : (n(), r("g", oo, [
1308
- e.value.type === "classic" ? (n(), r(w, { key: 0 }, [
1309
- V(l) && p.value.dataLabels.show ? (n(), r("circle", {
1327
+ ])) : (s(), r("g", oo, [
1328
+ e.value.type === "classic" ? (s(), r(k, { key: 0 }, [
1329
+ R(l) && m.value.dataLabels.show ? (s(), r("circle", {
1310
1330
  key: 0,
1311
- cx: u(x)(l).x,
1331
+ cx: u($)(l).x,
1312
1332
  cy: u(ge)(l) - 3.5,
1313
1333
  fill: l.color,
1314
1334
  stroke: e.value.style.chart.backgroundColor,
1315
1335
  "stroke-width": 1,
1316
1336
  r: 3,
1317
- filter: !e.value.useBlurOnHover || [null, void 0].includes(X.value) || X.value === o ? "" : `url(#blur_${f.value})`,
1318
- onClick: (i) => J(l, o),
1319
- onMouseenter: (i) => ye({
1337
+ filter: !e.value.useBlurOnHover || [null, void 0].includes(V.value) || V.value === o ? "" : `url(#blur_${g.value})`,
1338
+ onClick: (i) => ee(l, o),
1339
+ onMouseenter: (i) => fe({
1320
1340
  datapoint: l,
1321
1341
  relativeIndex: o,
1322
1342
  seriesIndex: l.seriesIndex,
1323
1343
  show: !0
1324
1344
  }),
1325
1345
  onMouseleave: (i) => he({ datapoint: l, seriesIndex: l.seriesIndex })
1326
- }, null, 40, so)) : v("", !0)
1346
+ }, null, 40, no)) : v("", !0)
1327
1347
  ], 64)) : v("", !0),
1328
- e.value.type === "polar" ? (n(), r(w, { key: 1 }, [
1329
- V(l) && p.value.dataLabels.show ? (n(), r("circle", {
1348
+ e.value.type === "polar" ? (s(), r(k, { key: 1 }, [
1349
+ R(l) && m.value.dataLabels.show ? (s(), r("circle", {
1330
1350
  key: 0,
1331
- cx: u(P)({ initX: d.value[o].middlePoint.x, initY: d.value[o].middlePoint.y, offset: 24, centerX: s.value.width / 2, centerY: s.value.height / 2 }).x,
1332
- cy: u(P)({ initX: d.value[o].middlePoint.x, initY: d.value[o].middlePoint.y, offset: 24, centerX: s.value.width / 2, centerY: s.value.height / 2 }).y,
1351
+ cx: u(P)({ initX: d.value[o].middlePoint.x, initY: d.value[o].middlePoint.y, offset: 24, centerX: n.value.width / 2, centerY: n.value.height / 2 }).x,
1352
+ cy: u(P)({ initX: d.value[o].middlePoint.x, initY: d.value[o].middlePoint.y, offset: 24, centerX: n.value.width / 2, centerY: n.value.height / 2 }).y,
1333
1353
  fill: l.color,
1334
1354
  stroke: e.value.style.chart.backgroundColor,
1335
1355
  "stroke-width": 1,
1336
1356
  r: 3,
1337
- filter: !e.value.useBlurOnHover || [null, void 0].includes(X.value) || X.value === o ? "" : `url(#blur_${f.value})`,
1338
- onClick: (i) => J(l, o),
1339
- onMouseenter: (i) => ye({
1357
+ filter: !e.value.useBlurOnHover || [null, void 0].includes(V.value) || V.value === o ? "" : `url(#blur_${g.value})`,
1358
+ onClick: (i) => ee(l, o),
1359
+ onMouseenter: (i) => fe({
1340
1360
  datapoint: l,
1341
1361
  relativeIndex: o,
1342
1362
  seriesIndex: l.seriesIndex,
1343
1363
  show: !0
1344
1364
  }),
1345
1365
  onMouseleave: (i) => he({ datapoint: l, seriesIndex: l.seriesIndex }),
1346
- style: $({
1366
+ style: C({
1347
1367
  transition: S.value || !e.value.serieToggleAnimation.show ? "none" : `all ${e.value.serieToggleAnimation.durationMs}ms ease-in-out`
1348
1368
  })
1349
- }, null, 44, no)) : v("", !0)
1369
+ }, null, 44, so)) : v("", !0)
1350
1370
  ], 64)) : v("", !0),
1351
- e.value.type === "classic" ? (n(), r(w, { key: 2 }, [
1371
+ e.value.type === "classic" ? (s(), r(k, { key: 2 }, [
1352
1372
  Ft(h("text", {
1353
1373
  class: "vue-data-ui-datalabel-value",
1354
- "text-anchor": u(x)(l, !0, 12).anchor,
1355
- x: u(x)(l, !0, 12).x,
1374
+ "text-anchor": u($)(l, !0, 12).anchor,
1375
+ x: u($)(l, !0, 12).x,
1356
1376
  y: u(ge)(l),
1357
1377
  fill: e.value.style.chart.layout.labels.percentage.color,
1358
1378
  "font-size": xe.value + "px",
1359
- style: $(`font-weight:${e.value.style.chart.layout.labels.percentage.bold ? "bold" : ""}`),
1360
- onClick: (i) => J(l, o),
1361
- onMouseenter: (i) => ye({
1379
+ style: C(`font-weight:${e.value.style.chart.layout.labels.percentage.bold ? "bold" : ""}`),
1380
+ onClick: (i) => ee(l, o),
1381
+ onMouseenter: (i) => fe({
1362
1382
  datapoint: l,
1363
1383
  relativeIndex: o,
1364
1384
  seriesIndex: l.seriesIndex,
1365
1385
  show: !0
1366
1386
  }),
1367
1387
  onMouseleave: (i) => he({ datapoint: l, seriesIndex: l.seriesIndex })
1368
- }, R(Be(l, B.value)) + " " + R(e.value.style.chart.layout.labels.value.show ? `(${u(G)(
1388
+ }, U(Be(l, E.value)) + " " + U(e.value.style.chart.layout.labels.value.show ? `(${u(W)(
1369
1389
  e.value.style.chart.layout.labels.value.formatter,
1370
1390
  l.value,
1371
- u(N)({
1391
+ u(X)({
1372
1392
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
1373
1393
  v: l.value,
1374
1394
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
@@ -1376,54 +1396,54 @@ const oa = ["id"], sa = ["id"], na = ["xmlns", "viewBox"], ua = ["width", "heigh
1376
1396
  }),
1377
1397
  { datapoint: l }
1378
1398
  )})` : ""), 45, uo), [
1379
- [It, V(l) && p.value.dataLabels.show]
1399
+ [It, R(l) && m.value.dataLabels.show]
1380
1400
  ]),
1381
1401
  Ft(h("text", {
1382
1402
  class: "vue-data-ui-datalabel-name",
1383
- "text-anchor": u(x)(l).anchor,
1384
- x: u(x)(l, !0, 12).x,
1385
- y: u(ge)(l) + Q.value * 1.2,
1403
+ "text-anchor": u($)(l).anchor,
1404
+ x: u($)(l, !0, 12).x,
1405
+ y: u(ge)(l) + J.value * 1.2,
1386
1406
  fill: e.value.style.chart.layout.labels.name.color,
1387
- "font-size": Q.value + "px",
1388
- style: $(`font-weight:${e.value.style.chart.layout.labels.name.bold ? "bold" : ""}`),
1389
- onClick: (i) => J(l, o),
1407
+ "font-size": J.value + "px",
1408
+ style: C(`font-weight:${e.value.style.chart.layout.labels.name.bold ? "bold" : ""}`),
1409
+ onClick: (i) => ee(l, o),
1390
1410
  innerHTML: u(Ot)({
1391
1411
  content: l.name,
1392
- fontSize: Q.value,
1412
+ fontSize: J.value,
1393
1413
  fill: e.value.style.chart.layout.labels.name.color,
1394
- x: u(x)(l, !0, 12).x,
1395
- y: u(ge)(l) + Q.value
1414
+ x: u($)(l, !0, 12).x,
1415
+ y: u(ge)(l) + J.value
1396
1416
  })
1397
1417
  }, null, 12, ro), [
1398
- [It, V(l) && p.value.dataLabels.show]
1418
+ [It, R(l) && m.value.dataLabels.show]
1399
1419
  ]),
1400
1420
  a[6] || (a[6] = Pe(' @mouseenter="useTooltip({ datapoint: arc, relativeIndex: i, seriesIndex: arc.seriesIndex, show: true })" @mouseleave="handleDatapointLeave({ datapoint: arc, seriesIndex: arc.seriesIndex })" /> ', -1))
1401
1421
  ], 64)) : v("", !0),
1402
- e.value.type === "polar" ? (n(), r(w, { key: 3 }, [
1403
- V(l) && p.value.dataLabels.show ? (n(), r("text", {
1422
+ e.value.type === "polar" ? (s(), r(k, { key: 3 }, [
1423
+ R(l) && m.value.dataLabels.show ? (s(), r("text", {
1404
1424
  key: 0,
1405
1425
  class: "vue-data-ui-datalabel-value",
1406
1426
  "text-anchor": ce(d.value[o].middlePoint),
1407
- x: u(P)({ initX: d.value[o].middlePoint.x, initY: d.value[o].middlePoint.y, offset: 42, centerX: s.value.width / 2, centerY: s.value.height / 2 }).x,
1408
- y: u(P)({ initX: d.value[o].middlePoint.x, initY: d.value[o].middlePoint.y, offset: 42, centerX: s.value.width / 2, centerY: s.value.height / 2 }).y,
1427
+ x: u(P)({ initX: d.value[o].middlePoint.x, initY: d.value[o].middlePoint.y, offset: 42, centerX: n.value.width / 2, centerY: n.value.height / 2 }).x,
1428
+ y: u(P)({ initX: d.value[o].middlePoint.x, initY: d.value[o].middlePoint.y, offset: 42, centerX: n.value.width / 2, centerY: n.value.height / 2 }).y,
1409
1429
  fill: e.value.style.chart.layout.labels.percentage.color,
1410
1430
  "font-size": xe.value,
1411
- style: $({
1431
+ style: C({
1412
1432
  transition: S.value || !e.value.serieToggleAnimation.show ? "none" : `all ${e.value.serieToggleAnimation.durationMs}ms ease-in-out`,
1413
1433
  fontWeight: e.value.style.chart.layout.labels.percentage.bold ? "bold" : "normal"
1414
1434
  }),
1415
- onClick: (i) => J(l, o),
1416
- onMouseenter: (i) => ye({
1435
+ onClick: (i) => ee(l, o),
1436
+ onMouseenter: (i) => fe({
1417
1437
  datapoint: l,
1418
1438
  relativeIndex: o,
1419
1439
  seriesIndex: l.seriesIndex,
1420
1440
  show: !0
1421
1441
  }),
1422
1442
  onMouseleave: (i) => he({ datapoint: l, seriesIndex: l.seriesIndex })
1423
- }, R(Be(l, B.value)) + " " + R(e.value.style.chart.layout.labels.value.show ? `(${u(G)(
1443
+ }, U(Be(l, E.value)) + " " + U(e.value.style.chart.layout.labels.value.show ? `(${u(W)(
1424
1444
  e.value.style.chart.layout.labels.value.formatter,
1425
1445
  l.value,
1426
- u(N)({
1446
+ u(X)({
1427
1447
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
1428
1448
  v: l.value,
1429
1449
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
@@ -1431,130 +1451,130 @@ const oa = ["id"], sa = ["id"], na = ["xmlns", "viewBox"], ua = ["width", "heigh
1431
1451
  }),
1432
1452
  { datapoint: l }
1433
1453
  )})` : ""), 45, io)) : v("", !0),
1434
- V(l) && p.value.dataLabels.show ? (n(), r("text", {
1454
+ R(l) && m.value.dataLabels.show ? (s(), r("text", {
1435
1455
  key: 1,
1436
1456
  class: "vue-data-ui-datalabel-name",
1437
1457
  "text-anchor": ce(d.value[o].middlePoint),
1438
- x: u(P)({ initX: d.value[o].middlePoint.x, initY: d.value[o].middlePoint.y, offset: 42, centerX: s.value.width / 2, centerY: s.value.height / 2 }).x,
1439
- y: u(P)({ initX: d.value[o].middlePoint.x, initY: d.value[o].middlePoint.y, offset: 42, centerX: s.value.width / 2, centerY: s.value.height / 2 }).y + Q.value * 1.2,
1458
+ x: u(P)({ initX: d.value[o].middlePoint.x, initY: d.value[o].middlePoint.y, offset: 42, centerX: n.value.width / 2, centerY: n.value.height / 2 }).x,
1459
+ y: u(P)({ initX: d.value[o].middlePoint.x, initY: d.value[o].middlePoint.y, offset: 42, centerX: n.value.width / 2, centerY: n.value.height / 2 }).y + J.value * 1.2,
1440
1460
  fill: e.value.style.chart.layout.labels.name.color,
1441
- "font-size": Q.value,
1442
- style: $({
1461
+ "font-size": J.value,
1462
+ style: C({
1443
1463
  transition: S.value || !e.value.serieToggleAnimation.show ? "none" : `all ${e.value.serieToggleAnimation.durationMs}ms ease-in-out`,
1444
1464
  fontWeight: e.value.style.chart.layout.labels.name.bold ? "bold" : "normal"
1445
1465
  }),
1446
- onClick: (i) => J(l, o),
1466
+ onClick: (i) => ee(l, o),
1447
1467
  innerHTML: u(Ot)({
1448
1468
  content: l.name,
1449
1469
  fontSize: xe.value,
1450
1470
  fill: e.value.style.chart.layout.labels.name.color,
1451
- x: u(P)({ initX: d.value[o].middlePoint.x, initY: d.value[o].middlePoint.y, offset: 42, centerX: s.value.width / 2, centerY: s.value.height / 2 }).x,
1452
- y: u(P)({ initX: d.value[o].middlePoint.x, initY: d.value[o].middlePoint.y, offset: 42, centerX: s.value.width / 2, centerY: s.value.height / 2 }).y + Q.value * 1.2
1471
+ x: u(P)({ initX: d.value[o].middlePoint.x, initY: d.value[o].middlePoint.y, offset: 42, centerX: n.value.width / 2, centerY: n.value.height / 2 }).x,
1472
+ y: u(P)({ initX: d.value[o].middlePoint.x, initY: d.value[o].middlePoint.y, offset: 42, centerX: n.value.width / 2, centerY: n.value.height / 2 }).y + J.value * 1.2
1453
1473
  })
1454
1474
  }, null, 12, vo)) : v("", !0),
1455
1475
  a[7] || (a[7] = Pe(' @mouseenter="useTooltip({ datapoint: arc, relativeIndex: i, seriesIndex: arc.seriesIndex, show: true })" @mouseleave="handleDatapointLeave({ datapoint: arc, seriesIndex: arc.seriesIndex })" /> ', -1))
1456
1476
  ], 64)) : v("", !0)
1457
1477
  ])),
1458
- p.value.dataLabels.show && e.value.style.chart.comments.show && l.comment ? (n(), r("g", co, [
1459
- V(l) && e.value.type === "classic" ? (n(), r("foreignObject", {
1478
+ m.value.dataLabels.show && e.value.style.chart.comments.show && l.comment ? (s(), r("g", co, [
1479
+ R(l) && e.value.type === "classic" ? (s(), r("foreignObject", {
1460
1480
  key: 0,
1461
- x: e.value.style.chart.comments.offsetX + (u(x)(l, !0).anchor === "end" ? u(x)(l).x - e.value.style.chart.comments.width : u(x)(l, !0).anchor === "middle" ? u(x)(l).x - e.value.style.chart.comments.width / 2 : u(x)(l).x),
1481
+ x: e.value.style.chart.comments.offsetX + (u($)(l, !0).anchor === "end" ? u($)(l).x - e.value.style.chart.comments.width : u($)(l, !0).anchor === "middle" ? u($)(l).x - e.value.style.chart.comments.width / 2 : u($)(l).x),
1462
1482
  y: u(ge)(l) + 24 + e.value.style.chart.comments.offsetY,
1463
1483
  width: e.value.style.chart.comments.width,
1464
1484
  height: "200",
1465
1485
  style: { overflow: "visible", "pointer-events": "none" }
1466
1486
  }, [
1467
1487
  h("div", null, [
1468
- b(t.$slots, "plot-comment", {
1469
- plot: { ...l, textAlign: u(x)(l, !0, 16, !0).anchor, flexAlign: u(x)(l, !0, 16).anchor, isFirstLoad: S.value }
1488
+ y(t.$slots, "plot-comment", {
1489
+ plot: { ...l, textAlign: u($)(l, !0, 16, !0).anchor, flexAlign: u($)(l, !0, 16).anchor, isFirstLoad: S.value }
1470
1490
  }, void 0, !0)
1471
1491
  ])
1472
1492
  ], 8, ho)) : v("", !0),
1473
- V(l) && e.value.type === "polar" ? (n(), r("foreignObject", {
1493
+ R(l) && e.value.type === "polar" ? (s(), r("foreignObject", {
1474
1494
  key: 1,
1475
- x: e.value.style.chart.comments.offsetX + (ce(d.value[o].middlePoint) === "end" ? u(P)({ initX: d.value[o].middlePoint.x, initY: d.value[o].middlePoint.y, offset: 42, centerX: s.value.width / 2, centerY: s.value.height / 2 }).x - e.value.style.chart.comments.width : ce(d.value[o].middlePoint) === "middle" ? u(P)({ initX: d.value[o].middlePoint.x, initY: d.value[o].middlePoint.y, offset: 42, centerX: s.value.width / 2, centerY: s.value.height / 2 }).x - e.value.style.chart.comments.width / 2 : u(P)({ initX: d.value[o].middlePoint.x, initY: d.value[o].middlePoint.y, offset: 42, centerX: s.value.width / 2, centerY: s.value.height / 2 }).x),
1495
+ x: e.value.style.chart.comments.offsetX + (ce(d.value[o].middlePoint) === "end" ? u(P)({ initX: d.value[o].middlePoint.x, initY: d.value[o].middlePoint.y, offset: 42, centerX: n.value.width / 2, centerY: n.value.height / 2 }).x - e.value.style.chart.comments.width : ce(d.value[o].middlePoint) === "middle" ? u(P)({ initX: d.value[o].middlePoint.x, initY: d.value[o].middlePoint.y, offset: 42, centerX: n.value.width / 2, centerY: n.value.height / 2 }).x - e.value.style.chart.comments.width / 2 : u(P)({ initX: d.value[o].middlePoint.x, initY: d.value[o].middlePoint.y, offset: 42, centerX: n.value.width / 2, centerY: n.value.height / 2 }).x),
1476
1496
  y: vl(d.value[o]) + e.value.style.chart.comments.offsetY,
1477
1497
  width: e.value.style.chart.comments.width,
1478
1498
  height: "200",
1479
- style: $({
1499
+ style: C({
1480
1500
  transition: S.value || !e.value.serieToggleAnimation.show ? "none" : `all ${e.value.serieToggleAnimation.durationMs}ms ease-in-out`,
1481
1501
  overflow: "visible",
1482
1502
  pointerEvents: "none"
1483
1503
  })
1484
1504
  }, [
1485
1505
  h("div", null, [
1486
- b(t.$slots, "plot-comment", {
1506
+ y(t.$slots, "plot-comment", {
1487
1507
  plot: { ...l, textAlign: ce(d.value[o].middlePoint), flexAlign: ce(d.value[o].middlePoint), isFirstLoad: S.value }
1488
1508
  }, void 0, !0)
1489
1509
  ])
1490
- ], 12, yo)) : v("", !0)
1510
+ ], 12, fo)) : v("", !0)
1491
1511
  ])) : v("", !0)
1492
1512
  ], 10, to))), 128)),
1493
- b(t.$slots, "svg", { svg: s.value }, void 0, !0)
1513
+ y(t.$slots, "svg", { svg: n.value }, void 0, !0)
1494
1514
  ], 512)
1495
- ], 14, na)),
1496
- t.$slots.watermark ? (n(), r("div", fo, [
1497
- b(t.$slots, "watermark", ue(re({ isPrinting: u(ct) || u(ht) })), void 0, !0)
1515
+ ], 14, sa)),
1516
+ t.$slots.watermark ? (s(), r("div", yo, [
1517
+ y(t.$slots, "watermark", N(Y({ isPrinting: u(ct) || u(ht) })), void 0, !0)
1498
1518
  ])) : v("", !0),
1499
1519
  h("div", {
1500
- id: `legend-bottom-${f.value}`
1520
+ id: `legend-bottom-${g.value}`
1501
1521
  }, null, 8, go),
1502
- st.value ? (n(), te(Al, {
1522
+ nt.value ? (s(), ae(Al, {
1503
1523
  key: 5,
1504
- to: e.value.style.chart.legend.position === "top" ? `#legend-top-${f.value}` : `#legend-bottom-${f.value}`
1524
+ to: e.value.style.chart.legend.position === "top" ? `#legend-top-${g.value}` : `#legend-bottom-${g.value}`
1505
1525
  }, [
1506
1526
  h("div", {
1507
1527
  ref_key: "chartLegend",
1508
1528
  ref: Ke
1509
1529
  }, [
1510
- e.value.style.chart.legend.show ? (n(), te(la, {
1530
+ e.value.style.chart.legend.show ? (s(), ae(la, {
1511
1531
  key: `legend_${ot.value}`,
1512
1532
  legendSet: Xe.value,
1513
1533
  config: ul.value,
1514
1534
  onClickMarker: a[3] || (a[3] = ({ i: l }) => Ce(l))
1515
1535
  }, qe({
1516
- item: C(({ legend: l, index: o }) => [
1536
+ item: b(({ legend: l, index: o }) => [
1517
1537
  h("div", {
1518
- style: $(`opacity:${z.value.includes(o) ? 0.5 : 1}`),
1538
+ style: C(`opacity:${z.value.includes(o) ? 0.5 : 1}`),
1519
1539
  onClick: (i) => l.segregate()
1520
- }, R(l.display), 13, po)
1540
+ }, U(l.display), 13, po)
1521
1541
  ]),
1522
1542
  _: 2
1523
1543
  }, [
1524
1544
  t.$slots.pattern ? {
1525
1545
  name: "legend-pattern",
1526
- fn: C(({ legend: l, index: o }) => [
1546
+ fn: b(({ legend: l, index: o }) => [
1527
1547
  Te(Kl, {
1528
1548
  shape: l.shape,
1529
1549
  radius: 30,
1530
1550
  stroke: "none",
1531
1551
  plot: { x: 30, y: 30 },
1532
- fill: `url(#pattern_${f.value}_${o})`
1552
+ fill: `url(#pattern_${g.value}_${o})`
1533
1553
  }, null, 8, ["shape", "fill"])
1534
1554
  ]),
1535
1555
  key: "0"
1536
1556
  } : void 0
1537
1557
  ]), 1032, ["legendSet", "config"])) : v("", !0),
1538
- b(t.$slots, "legend", { legend: Xe.value }, void 0, !0)
1558
+ y(t.$slots, "legend", { legend: Xe.value }, void 0, !0)
1539
1559
  ], 512)
1540
1560
  ], 8, ["to"])) : v("", !0),
1541
- t.$slots.source ? (n(), r("div", {
1561
+ t.$slots.source ? (s(), r("div", {
1542
1562
  key: 6,
1543
1563
  ref_key: "source",
1544
1564
  ref: et,
1545
1565
  dir: "auto"
1546
1566
  }, [
1547
- b(t.$slots, "source", {}, void 0, !0)
1567
+ y(t.$slots, "source", {}, void 0, !0)
1548
1568
  ], 512)) : v("", !0),
1549
- t.$slots.hollow ? (n(), r("div", mo, [
1550
- b(t.$slots, "hollow", ue(re({
1569
+ t.$slots.hollow ? (s(), r("div", mo, [
1570
+ y(t.$slots, "hollow", N(Y({
1551
1571
  total: F.value,
1552
1572
  average: Ve.value,
1553
1573
  dataset: L.value
1554
1574
  })), void 0, !0)
1555
1575
  ])) : v("", !0),
1556
1576
  Te(u(Bt), {
1557
- show: p.value.showTooltip && Oe.value,
1577
+ show: m.value.showTooltip && Oe.value,
1558
1578
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
1559
1579
  color: e.value.style.chart.tooltip.color,
1560
1580
  fontSize: e.value.style.chart.tooltip.fontSize,
@@ -1564,30 +1584,30 @@ const oa = ["id"], sa = ["id"], na = ["xmlns", "viewBox"], ua = ["width", "heigh
1564
1584
  backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
1565
1585
  position: e.value.style.chart.tooltip.position,
1566
1586
  offsetY: e.value.style.chart.tooltip.offsetY,
1567
- parent: Y.value,
1587
+ parent: B.value,
1568
1588
  content: De.value,
1569
1589
  isCustom: me.value,
1570
- isFullscreen: ne.value,
1590
+ isFullscreen: re.value,
1571
1591
  smooth: e.value.style.chart.tooltip.smooth,
1572
1592
  backdropFilter: e.value.style.chart.tooltip.backdropFilter,
1573
1593
  smoothForce: e.value.style.chart.tooltip.smoothForce,
1574
1594
  smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThrehsold
1575
1595
  }, {
1576
- "tooltip-before": C(() => [
1577
- b(t.$slots, "tooltip-before", ue(re({ ...Ee.value })), void 0, !0)
1596
+ "tooltip-before": b(() => [
1597
+ y(t.$slots, "tooltip-before", N(Y({ ...Ee.value })), void 0, !0)
1578
1598
  ]),
1579
- "tooltip-after": C(() => [
1580
- b(t.$slots, "tooltip-after", ue(re({ ...Ee.value })), void 0, !0)
1599
+ "tooltip-after": b(() => [
1600
+ y(t.$slots, "tooltip-after", N(Y({ ...Ee.value })), void 0, !0)
1581
1601
  ]),
1582
1602
  _: 3
1583
1603
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom", "isFullscreen", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
1584
- we.value && e.value.userOptions.buttons.table ? (n(), te(Sl(be.value.component), He({ key: 8 }, be.value.props, {
1604
+ we.value && e.value.userOptions.buttons.table ? (s(), ae(Sl(be.value.component), He({ key: 8 }, be.value.props, {
1585
1605
  ref_key: "tableUnit",
1586
1606
  ref: pe,
1587
1607
  onClose: At
1588
1608
  }), qe({
1589
- content: C(() => [
1590
- (n(), te(u(Rt), {
1609
+ content: b(() => [
1610
+ (s(), ae(u(Rt), {
1591
1611
  key: `table_${at.value}`,
1592
1612
  colNames: Ae.value.colNames,
1593
1613
  head: Ae.value.head,
@@ -1597,25 +1617,25 @@ const oa = ["id"], sa = ["id"], na = ["xmlns", "viewBox"], ua = ["width", "heigh
1597
1617
  withCloseButton: !e.value.table.useDialog,
1598
1618
  onClose: At
1599
1619
  }, {
1600
- th: C(({ th: l }) => [
1620
+ th: b(({ th: l }) => [
1601
1621
  h("div", {
1602
1622
  innerHTML: l,
1603
1623
  style: { display: "flex", "align-items": "center" }
1604
1624
  }, null, 8, bo)
1605
1625
  ]),
1606
- td: C(({ td: l }) => [
1607
- Pe(R(l.name ? l.name : isNaN(Number(l)) ? l.includes("%") ? l : u(G)(
1626
+ td: b(({ td: l }) => [
1627
+ Pe(U(l.name ? l.name : isNaN(Number(l)) ? l.includes("%") ? l : u(W)(
1608
1628
  e.value.style.chart.layout.labels.percentage.formatter,
1609
1629
  l,
1610
- u(N)({
1630
+ u(X)({
1611
1631
  v: l,
1612
1632
  s: "%",
1613
1633
  r: e.value.style.chart.layout.labels.percentage.rounding
1614
1634
  })
1615
- ) : u(G)(
1635
+ ) : u(W)(
1616
1636
  e.value.style.chart.layout.labels.value.formatter,
1617
1637
  l,
1618
- u(N)({
1638
+ u(X)({
1619
1639
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
1620
1640
  v: l,
1621
1641
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
@@ -1630,14 +1650,14 @@ const oa = ["id"], sa = ["id"], na = ["xmlns", "viewBox"], ua = ["width", "heigh
1630
1650
  }, [
1631
1651
  e.value.table.useDialog ? {
1632
1652
  name: "title",
1633
- fn: C(() => [
1634
- Pe(R(be.value.title), 1)
1653
+ fn: b(() => [
1654
+ Pe(U(be.value.title), 1)
1635
1655
  ]),
1636
1656
  key: "0"
1637
1657
  } : void 0,
1638
1658
  e.value.table.useDialog ? {
1639
1659
  name: "actions",
1640
- fn: C(() => [
1660
+ fn: b(() => [
1641
1661
  h("button", {
1642
1662
  tabindex: "0",
1643
1663
  class: "vue-ui-user-options-button",
@@ -1652,10 +1672,10 @@ const oa = ["id"], sa = ["id"], na = ["xmlns", "viewBox"], ua = ["width", "heigh
1652
1672
  key: "1"
1653
1673
  } : void 0
1654
1674
  ]), 1040)) : v("", !0),
1655
- u(_e) ? (n(), te(Hl, { key: 9 })) : v("", !0)
1675
+ u($e) ? (s(), ae(Hl, { key: 9 })) : v("", !0)
1656
1676
  ], 46, oa));
1657
1677
  }
1658
- }, Do = /* @__PURE__ */ aa(wo, [["__scopeId", "data-v-0abe812f"]]);
1678
+ }, Do = /* @__PURE__ */ aa(wo, [["__scopeId", "data-v-a23e4322"]]);
1659
1679
  export {
1660
1680
  Do as default
1661
1681
  };