vue-data-ui 3.10.0 → 3.10.2

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 (167) hide show
  1. package/dist/{Arrow-ChEFq9U7.js → Arrow-DWr41GRU.js} +1 -1
  2. package/dist/{BaseDraggableDialog-O2XSymlZ.js → BaseDraggableDialog-BQYfVNu8.js} +2 -2
  3. package/dist/{BaseIcon-B9bGT7HU.js → BaseIcon-4uOct8re.js} +18 -18
  4. package/dist/{BaseZoomControls-B4rpv4Kk.js → BaseZoomControls-Cb-Qq9_R.js} +2 -2
  5. package/dist/{ColorPicker-VKEPgk58.js → ColorPicker-Culsjrcr.js} +2 -2
  6. package/dist/{DataTable-DEwh__D8.js → DataTable-DyoDzNNY.js} +2 -2
  7. package/dist/{Legend-D2xmnFPH.js → Legend-DN5UJOBH.js} +2 -2
  8. package/dist/{NonSvgPenAndPaper-CxbOhI52.js → NonSvgPenAndPaper-CNMLfAk3.js} +3 -3
  9. package/dist/{PackageVersion-C-JOGZBL.js → PackageVersion-CQxJyGQr.js} +1 -1
  10. package/dist/{PenAndPaper-CulSakut.js → PenAndPaper-LTuSTmWE.js} +3 -3
  11. package/dist/{Shape-12_eh8zD.js → Shape-PzdCMGsP.js} +1 -1
  12. package/dist/{Slicer-EQH4YKwe.js → Slicer-DckZxvyx.js} +2 -2
  13. package/dist/{SlicerPreview-Ddfxn6es.js → SlicerPreview-CSc_cazO.js} +2 -2
  14. package/dist/{SparkTooltip-D_OsZuuE.js → SparkTooltip-BLTVhvm2.js} +1 -1
  15. package/dist/{Title-B5L2jweB.js → Title-NgeRXqRA.js} +1 -1
  16. package/dist/{Tooltip-DpfUZbt7.js → Tooltip-B6qvABDL.js} +1 -1
  17. package/dist/{UserOptions-5pXc4J-c.js → UserOptions-CX7Xsusk.js} +2 -2
  18. package/dist/components/arrow.js +1 -1
  19. package/dist/components/vue-ui-3d-bar.js +1 -1
  20. package/dist/components/vue-ui-accordion.js +1 -1
  21. package/dist/components/vue-ui-age-pyramid.js +1 -1
  22. package/dist/components/vue-ui-annotator.js +1 -1
  23. package/dist/components/vue-ui-bullet.js +1 -1
  24. package/dist/components/vue-ui-bump.js +1 -1
  25. package/dist/components/vue-ui-candlestick.js +1 -1
  26. package/dist/components/vue-ui-carousel-table.js +1 -1
  27. package/dist/components/vue-ui-chestnut.js +1 -1
  28. package/dist/components/vue-ui-chord.js +1 -1
  29. package/dist/components/vue-ui-circle-pack.js +1 -1
  30. package/dist/components/vue-ui-cursor.js +1 -1
  31. package/dist/components/vue-ui-dag.js +1 -1
  32. package/dist/components/vue-ui-dashboard.js +1 -1
  33. package/dist/components/vue-ui-digits.js +1 -1
  34. package/dist/components/vue-ui-donut-evolution.js +1 -1
  35. package/dist/components/vue-ui-donut.js +1 -1
  36. package/dist/components/vue-ui-dumbbell.js +1 -1
  37. package/dist/components/vue-ui-flow.js +1 -1
  38. package/dist/components/vue-ui-funnel.js +1 -1
  39. package/dist/components/vue-ui-galaxy.js +1 -1
  40. package/dist/components/vue-ui-gauge.js +1 -1
  41. package/dist/components/vue-ui-geo.js +1 -1
  42. package/dist/components/vue-ui-gizmo.js +1 -1
  43. package/dist/components/vue-ui-heatmap.js +1 -1
  44. package/dist/components/vue-ui-history-plot.js +1 -1
  45. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  46. package/dist/components/vue-ui-icon.js +1 -1
  47. package/dist/components/vue-ui-kpi.js +1 -1
  48. package/dist/components/vue-ui-mini-loader.js +1 -1
  49. package/dist/components/vue-ui-molecule.js +1 -1
  50. package/dist/components/vue-ui-mood-radar.js +1 -1
  51. package/dist/components/vue-ui-nested-donuts.js +1 -1
  52. package/dist/components/vue-ui-onion.js +1 -1
  53. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  54. package/dist/components/vue-ui-quadrant.js +1 -1
  55. package/dist/components/vue-ui-quick-chart.js +1 -1
  56. package/dist/components/vue-ui-radar.js +1 -1
  57. package/dist/components/vue-ui-rating.js +1 -1
  58. package/dist/components/vue-ui-relation-circle.js +1 -1
  59. package/dist/components/vue-ui-ridgeline.js +1 -1
  60. package/dist/components/vue-ui-rings.js +1 -1
  61. package/dist/components/vue-ui-scatter.js +1 -1
  62. package/dist/components/vue-ui-skeleton.js +1 -1
  63. package/dist/components/vue-ui-smiley.js +1 -1
  64. package/dist/components/vue-ui-spark-trend.js +1 -1
  65. package/dist/components/vue-ui-sparkbar.js +1 -1
  66. package/dist/components/vue-ui-sparkgauge.js +1 -1
  67. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  68. package/dist/components/vue-ui-sparkline.js +1 -1
  69. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  70. package/dist/components/vue-ui-stackbar.js +1 -1
  71. package/dist/components/vue-ui-stackline.js +1 -1
  72. package/dist/components/vue-ui-strip-plot.js +1 -1
  73. package/dist/components/vue-ui-table-heatmap.js +1 -1
  74. package/dist/components/vue-ui-table-sparkline.js +1 -1
  75. package/dist/components/vue-ui-table.js +1 -1
  76. package/dist/components/vue-ui-thermometer.js +1 -1
  77. package/dist/components/vue-ui-timer.js +1 -1
  78. package/dist/components/vue-ui-tiremarks.js +1 -1
  79. package/dist/components/vue-ui-treemap.js +1 -1
  80. package/dist/components/vue-ui-vertical-bar.js +1 -1
  81. package/dist/components/vue-ui-waffle.js +1 -1
  82. package/dist/components/vue-ui-wheel.js +1 -1
  83. package/dist/components/vue-ui-word-cloud.js +1 -1
  84. package/dist/components/vue-ui-world.js +1 -1
  85. package/dist/components/vue-ui-xy-canvas.js +1 -1
  86. package/dist/components/vue-ui-xy.js +1 -1
  87. package/dist/{dom-to-png-WXGPkYro.js → dom-to-png-CzjUUVZt.js} +1 -1
  88. package/dist/{img-CqYIrJ8I.js → img-6fNF_rG0.js} +1 -1
  89. package/dist/{labelUtils-B3mOOEke.js → labelUtils-D6Y-n7cD.js} +1 -1
  90. package/dist/{lib-2iaAPQ_c.js → lib-CVHM9FhP.js} +188 -140
  91. package/dist/{pdf-Q5BpWMSa.js → pdf-Dd_6HF9L.js} +1 -1
  92. package/dist/style.css +1 -1
  93. package/dist/types/vue-data-ui.d.ts +3 -1
  94. package/dist/{useAutoSizeLabelsInsideViewbox-DmpzKQ9i.js → useAutoSizeLabelsInsideViewbox-CqeJ1kZA.js} +1 -1
  95. package/dist/{useNestedProp-BCt4DMkT.js → useNestedProp-Ckf_2P_V.js} +1 -1
  96. package/dist/{usePrinter-ChVMpU2f.js → usePrinter-1NmjuP-i.js} +2 -2
  97. package/dist/{useThemeCheck-DGJ31Vi5.js → useThemeCheck-D1ZYXUwG.js} +5 -3
  98. package/dist/{vue-data-ui-CwfD22m4.js → vue-data-ui-GAruO_UT.js} +68 -68
  99. package/dist/vue-data-ui.js +73 -73
  100. package/dist/{vue-ui-3d-bar-DAr11NEe.js → vue-ui-3d-bar-t_E9saCp.js} +222 -218
  101. package/dist/{vue-ui-accordion-CAXPDm31.js → vue-ui-accordion-DFKaB_05.js} +3 -3
  102. package/dist/{vue-ui-age-pyramid-KApqwR11.js → vue-ui-age-pyramid-DKlTGZ6m.js} +177 -173
  103. package/dist/{vue-ui-annotator-D-x-F49X.js → vue-ui-annotator-CNkhGqqn.js} +7 -7
  104. package/dist/{vue-ui-bullet-D3ZOexko.js → vue-ui-bullet-C4FXVy8_.js} +135 -131
  105. package/dist/{vue-ui-bump-BJUb7fNz.js → vue-ui-bump-BJZrexv4.js} +264 -260
  106. package/dist/{vue-ui-candlestick-BBwYtV1-.js → vue-ui-candlestick-P7w1YVT6.js} +304 -300
  107. package/dist/{vue-ui-carousel-table-DrzQReuc.js → vue-ui-carousel-table-DQk4RoWo.js} +4 -4
  108. package/dist/{vue-ui-chestnut-ByqOYfmS.js → vue-ui-chestnut-Co8x4We0.js} +326 -322
  109. package/dist/{vue-ui-chord-3k3MxDxL.js → vue-ui-chord-NjSRzToa.js} +171 -167
  110. package/dist/{vue-ui-circle-pack-U-fW2dBh.js → vue-ui-circle-pack-CwrgCRKX.js} +162 -158
  111. package/dist/{vue-ui-cursor-PxyKLKT4.js → vue-ui-cursor-Bh5-9JWm.js} +3 -3
  112. package/dist/{vue-ui-dag-BgB4pBHg.js → vue-ui-dag-BBGpjSzH.js} +451 -447
  113. package/dist/{vue-ui-dashboard-Bb0qmaCv.js → vue-ui-dashboard-ekbwnmce.js} +68 -68
  114. package/dist/{vue-ui-digits-DWt_f5c-.js → vue-ui-digits-DnsDASGD.js} +2 -2
  115. package/dist/{vue-ui-donut-Ce4aLPAr.js → vue-ui-donut-DvLh8qa2.js} +467 -463
  116. package/dist/{vue-ui-donut-evolution-Dn8sOIr-.js → vue-ui-donut-evolution-BiLhAVY8.js} +354 -350
  117. package/dist/{vue-ui-dumbbell-Bu8opmEM.js → vue-ui-dumbbell-C2OWcZvr.js} +240 -236
  118. package/dist/{vue-ui-flow-CavJTxRY.js → vue-ui-flow-Cp2le1ur.js} +171 -167
  119. package/dist/{vue-ui-funnel-CWSmOHEt.js → vue-ui-funnel-ClGo8z4y.js} +133 -129
  120. package/dist/{vue-ui-galaxy-CqeQVqG-.js → vue-ui-galaxy-DTAl_-40.js} +146 -142
  121. package/dist/{vue-ui-gauge-DnU9JZ0v.js → vue-ui-gauge-DOG6-lgt.js} +175 -171
  122. package/dist/{vue-ui-geo-Dg8W127k.js → vue-ui-geo-BpWyHXwd.js} +123 -119
  123. package/dist/{vue-ui-gizmo-BfyTXxBY.js → vue-ui-gizmo-BMq5dzK4.js} +3 -3
  124. package/dist/{vue-ui-heatmap-D_JOEm4-.js → vue-ui-heatmap-Bp9HI0Zo.js} +231 -227
  125. package/dist/{vue-ui-history-plot-DgMc6-9X.js → vue-ui-history-plot-CVM1jz1X.js} +252 -248
  126. package/dist/{vue-ui-horizontal-bar-BPX7YBdV.js → vue-ui-horizontal-bar-B0UY6b-O.js} +325 -321
  127. package/dist/{vue-ui-kpi-BqCS6onP.js → vue-ui-kpi-DgSmfw2q.js} +3 -3
  128. package/dist/{vue-ui-mini-loader-CcXuJ3iD.js → vue-ui-mini-loader-D8z1PwRZ.js} +2 -2
  129. package/dist/{vue-ui-molecule-CX-pPp0u.js → vue-ui-molecule-CUppdL5f.js} +183 -179
  130. package/dist/{vue-ui-mood-radar-3nHlZfrB.js → vue-ui-mood-radar-QN25VSAw.js} +162 -158
  131. package/dist/{vue-ui-nested-donuts-cz79gQlJ.js → vue-ui-nested-donuts-ywWUDYjT.js} +178 -174
  132. package/dist/{vue-ui-onion-yseOpPeu.js → vue-ui-onion-DmwZ1gg_.js} +185 -181
  133. package/dist/{vue-ui-parallel-coordinate-plot-Dqg_vJCM.js → vue-ui-parallel-coordinate-plot-Bz2ROYRD.js} +195 -191
  134. package/dist/{vue-ui-quadrant-D4UDUZoN.js → vue-ui-quadrant-CUpWOWF2.js} +243 -239
  135. package/dist/{vue-ui-quick-chart-BMDrPkAJ.js → vue-ui-quick-chart-CXrm_rzI.js} +295 -291
  136. package/dist/{vue-ui-radar-B_wSZVDb.js → vue-ui-radar-BqLjOOnJ.js} +168 -164
  137. package/dist/{vue-ui-rating-CBedYtOp.js → vue-ui-rating-W6I6pacT.js} +2 -2
  138. package/dist/{vue-ui-relation-circle-DydZv4Pf.js → vue-ui-relation-circle-CrYmJHLI.js} +185 -181
  139. package/dist/vue-ui-ridgeline-ZbmQXJxt.js +1306 -0
  140. package/dist/{vue-ui-rings-BdYnuNS7.js → vue-ui-rings-BxYoBfvT.js} +299 -295
  141. package/dist/{vue-ui-scatter-QISpPygj.js → vue-ui-scatter-BhJkoRBS.js} +354 -350
  142. package/dist/{vue-ui-skeleton-CdpD_Zjk.js → vue-ui-skeleton-Bg1akQqn.js} +3 -3
  143. package/dist/{vue-ui-smiley-CTeSlfZa.js → vue-ui-smiley-B23r7AWp.js} +2 -2
  144. package/dist/{vue-ui-spark-trend-Jgho2QgC.js → vue-ui-spark-trend-CJtfXMSj.js} +120 -116
  145. package/dist/{vue-ui-sparkbar-CLqcdko6.js → vue-ui-sparkbar-DHJdmNDm.js} +84 -80
  146. package/dist/{vue-ui-sparkgauge-BA3NDOhA.js → vue-ui-sparkgauge-ANfPLNuD.js} +81 -77
  147. package/dist/{vue-ui-sparkhistogram-fb8hGuCn.js → vue-ui-sparkhistogram-CIfYUXVZ.js} +109 -105
  148. package/dist/{vue-ui-sparkline-BWdvoOYj.js → vue-ui-sparkline-Bm0OmFUB.js} +184 -174
  149. package/dist/{vue-ui-sparkstackbar-DbbdPqIp.js → vue-ui-sparkstackbar-CCnnfsqG.js} +99 -95
  150. package/dist/{vue-ui-stackbar-MYly9iMc.js → vue-ui-stackbar-CK5is5H7.js} +376 -372
  151. package/dist/{vue-ui-stackline-L0q_GsYv.js → vue-ui-stackline-CFv2OUCL.js} +349 -345
  152. package/dist/{vue-ui-strip-plot-B7W1EZdY.js → vue-ui-strip-plot-CJ1Zkrhq.js} +248 -244
  153. package/dist/{vue-ui-table-WSRRp_nE.js → vue-ui-table-CMyYl8lE.js} +5 -5
  154. package/dist/{vue-ui-table-heatmap-Bqr4Eubg.js → vue-ui-table-heatmap-8kBdXO2V.js} +6 -6
  155. package/dist/{vue-ui-table-sparkline-UhaEz2jD.js → vue-ui-table-sparkline-Bo4nuBEx.js} +174 -170
  156. package/dist/{vue-ui-thermometer-BFwmgdMO.js → vue-ui-thermometer-h3voYVGJ.js} +133 -129
  157. package/dist/{vue-ui-timer-CoLOwKwP.js → vue-ui-timer-CazY_Z4R.js} +5 -5
  158. package/dist/{vue-ui-tiremarks-CvXOa3z4.js → vue-ui-tiremarks-CTa_gpit.js} +156 -152
  159. package/dist/{vue-ui-treemap-C8HbMbin.js → vue-ui-treemap-B6AuOtaA.js} +161 -157
  160. package/dist/{vue-ui-waffle-rS6LRZNV.js → vue-ui-waffle-DnEBC07H.js} +185 -181
  161. package/dist/{vue-ui-wheel-BGle0ni9.js → vue-ui-wheel-DFU2vMsP.js} +125 -121
  162. package/dist/{vue-ui-word-cloud-Dj1lJdtL.js → vue-ui-word-cloud-DgY58NEj.js} +179 -175
  163. package/dist/{vue-ui-world-C7d5vM6d.js → vue-ui-world-xEUaTJDk.js} +6 -6
  164. package/dist/{vue-ui-xy-canvas-CoBMpLeE.js → vue-ui-xy-canvas-eHl--9m7.js} +213 -209
  165. package/dist/{vue-ui-xy-De-FDHwh.js → vue-ui-xy-spqKboQb.js} +697 -693
  166. package/package.json +1 -1
  167. package/dist/vue-ui-ridgeline-BGerPYkY.js +0 -1302
@@ -1,26 +1,26 @@
1
- import { computed as g, defineAsyncComponent as Se, useSlots as Hl, shallowRef as Me, ref as k, onMounted as ol, onBeforeUnmount as al, toRefs as Gl, watch as Ne, createElementBlock as i, openBlock as u, normalizeStyle as I, normalizeClass as Nt, createBlock as Pe, createCommentVNode as f, renderSlot as w, createElementVNode as b, createVNode as wt, unref as s, withCtx as C, normalizeProps as ee, guardReactiveProps as te, createSlots as Rt, Fragment as _, renderList as j, mergeProps as Vt, toDisplayString as ke, withDirectives as kt, vShow as Ct, Teleport as jl, resolveDynamicComponent as Wl, createTextVNode as nl, nextTick as ql } from "vue";
2
- import { o as sl, g as Ut, l as Ql, c as Jl, t as Kl, k as Zl, U as eo, m as ul, j as Ee, a as ge, d as ie, a3 as rl, av as to, X as lo, s as xt, h as oo, a4 as ao, ac as z, a5 as Ce, a6 as A, as as il, f as no, i as so, a1 as Ht, v as uo, r as ro, y as io, ag as cl, aw as co } from "./lib-2iaAPQ_c.js";
3
- import { f as vo, b as ho } from "./labelUtils-B3mOOEke.js";
4
- import { t as fo, u as yo } from "./useResponsive-DfdjqQps.js";
5
- import { u as go, a as Gt } from "./useNestedProp-BCt4DMkT.js";
6
- import { u as po } from "./usePrinter-ChVMpU2f.js";
7
- import { u as bo, B as mo } from "./BaseScanner-BMpwQAfz.js";
8
- import { u as wo } from "./useSvgExport-ByUukOZt.js";
9
- import { u as ko } from "./useThemeCheck-DGJ31Vi5.js";
10
- import { u as Co } from "./useUserOptionState-BIvW1Kz7.js";
11
- import { u as xo } from "./useChartAccessibility-9icAAmYg.js";
12
- import $o from "./img-CqYIrJ8I.js";
13
- import { _ as Ao } from "./Shape-12_eh8zD.js";
14
- import _o from "./Title-B5L2jweB.js";
15
- import To from "./Legend-D2xmnFPH.js";
16
- import { _ as Lo } from "./_plugin-vue_export-helper-CHgC5LLL.js";
17
- function So(tt) {
1
+ import { computed as g, defineAsyncComponent as Se, useSlots as jl, shallowRef as Me, ref as w, onMounted as ol, onBeforeUnmount as al, toRefs as Wl, watch as Ne, createElementBlock as i, openBlock as r, normalizeStyle as I, normalizeClass as Nt, createBlock as Pe, createCommentVNode as f, renderSlot as C, createElementVNode as b, createVNode as Ct, unref as s, withCtx as k, normalizeProps as ee, guardReactiveProps as te, createSlots as Rt, Fragment as _, renderList as j, mergeProps as Vt, toDisplayString as we, withDirectives as wt, vShow as kt, Teleport as ql, resolveDynamicComponent as Ql, createTextVNode as nl, nextTick as Jl } from "vue";
2
+ import { o as sl, g as Ut, l as Kl, c as Zl, t as eo, k as to, U as lo, m as rl, j as Ee, a as ge, d as ie, a3 as ul, av as oo, X as ao, s as xt, h as no, a4 as so, ac as z, a5 as ke, a6 as $, as as il, f as ro, i as uo, a1 as Ht, v as io, r as co, y as vo, ag as cl, aw as ho } from "./lib-CVHM9FhP.js";
3
+ import { f as fo, b as yo } from "./labelUtils-D6Y-n7cD.js";
4
+ import { t as go, u as po } from "./useResponsive-DfdjqQps.js";
5
+ import { u as bo, a as Gt } from "./useNestedProp-Ckf_2P_V.js";
6
+ import { u as mo } from "./usePrinter-1NmjuP-i.js";
7
+ import { u as Co, B as wo } from "./BaseScanner-BMpwQAfz.js";
8
+ import { u as ko } from "./useSvgExport-ByUukOZt.js";
9
+ import { u as xo } from "./useThemeCheck-D1ZYXUwG.js";
10
+ import { u as Ao } from "./useUserOptionState-BIvW1Kz7.js";
11
+ import { u as $o } from "./useChartAccessibility-9icAAmYg.js";
12
+ import _o from "./img-6fNF_rG0.js";
13
+ import { _ as To } from "./Shape-PzdCMGsP.js";
14
+ import Lo from "./Title-NgeRXqRA.js";
15
+ import So from "./Legend-DN5UJOBH.js";
16
+ import { _ as Mo } from "./_plugin-vue_export-helper-CHgC5LLL.js";
17
+ function Po(tt) {
18
18
  const {
19
19
  FINAL_CONFIG: lt,
20
- noGhostDonut: $t,
20
+ noGhostDonut: At,
21
21
  svg: Re,
22
22
  padding: ot,
23
- labels_inline_fontSize: At,
23
+ labels_inline_fontSize: $t,
24
24
  minSize: at,
25
25
  findArcMidpoint: _t,
26
26
  calcMarkerOffsetX: Tt,
@@ -31,17 +31,17 @@ function So(tt) {
31
31
  } = tt;
32
32
  return { smallArcLayoutsClassic: g(() => {
33
33
  if (lt.value.type !== "classic") return {};
34
- const Ve = {}, x = $t.value || [];
34
+ const Ve = {}, x = At.value || [];
35
35
  if (!x.length) return Ve;
36
- const D = Re.value.width / 2, L = Re.value.height / 2, Fe = ot.value.top + 16, nt = Re.value.height - ot.value.bottom - 16, Ue = At.value, st = Ue / 3, ut = Ue * 1.5, le = 8, pe = 6, He = D - (at.value + pe), Ge = D + (at.value + pe), rt = !!lt.value.style.chart.layout.curvedMarkers;
36
+ const D = Re.value.width / 2, L = Re.value.height / 2, Fe = ot.value.top + 16, nt = Re.value.height - ot.value.bottom - 16, Ue = $t.value, st = Ue / 3, rt = Ue * 1.5, le = 8, pe = 6, He = D - (at.value + pe), Ge = D + (at.value + pe), ut = !!lt.value.style.chart.layout.curvedMarkers;
37
37
  function it({ midX: h, midY: y, bandX: p, bandY: c }) {
38
- if (!rt)
38
+ if (!ut)
39
39
  return `M ${h} ${y} L ${h} ${c} L ${p} ${c}`;
40
40
  const S = p < D ? -1 : 1, V = p - h, M = c - y, ae = Math.sqrt(V * V + M * M) || 1, be = h - D, e = y - L, ne = Math.sqrt(be * be + e * e) || 1, W = be / ne, ce = e / ne, P = ne + 9;
41
- function me({ x: Be, y: $e }) {
42
- const K = Be - D, Z = $e - L, Ae = Math.sqrt(K * K + Z * Z) || 1;
43
- if (Ae >= P) return { x: Be, y: $e };
44
- const _e = P / Ae;
41
+ function me({ x: Be, y: Ae }) {
42
+ const K = Be - D, Z = Ae - L, $e = Math.sqrt(K * K + Z * Z) || 1;
43
+ if ($e >= P) return { x: Be, y: Ae };
44
+ const _e = P / $e;
45
45
  return {
46
46
  x: D + K * _e,
47
47
  y: L + Z * _e
@@ -50,14 +50,14 @@ function So(tt) {
50
50
  if (ae < 56) {
51
51
  const Be = V / ae;
52
52
  let K = -(M / ae), Z = Be;
53
- const Ae = (h + p) * 0.5, _e = (y + c) * 0.5, gt = Ae + K, Qe = _e + Z, m = (gt - D) * (gt - D) + (Qe - L) * (Qe - L), n = Ae - K, ve = _e - Z;
53
+ const $e = (h + p) * 0.5, _e = (y + c) * 0.5, gt = $e + K, Qe = _e + Z, m = (gt - D) * (gt - D) + (Qe - L) * (Qe - L), n = $e - K, ve = _e - Z;
54
54
  (n - D) * (n - D) + (ve - L) * (ve - L) > m && (K = -K, Z = -Z);
55
55
  const R = 0.78, H = h + V * R, Dt = y + M * R, O = Math.max(0, Math.min(1, (ae - 18) / 44)), se = O * O * (3 - 2 * O);
56
- let ue = 2.5 + se * 4, Je = 1 + se * 2.5;
57
- ue *= 0.9;
56
+ let re = 2.5 + se * 4, Je = 1 + se * 2.5;
57
+ re *= 0.9;
58
58
  const Xe = {
59
- x: H + K * ue + W * Je,
60
- y: Dt + Z * ue + ce * Je
59
+ x: H + K * re + W * Je,
60
+ y: Dt + Z * re + ce * Je
61
61
  }, Ke = me(Xe);
62
62
  return `M ${h} ${y} Q ${Ke.x} ${Ke.y} ${p} ${c}`;
63
63
  }
@@ -76,7 +76,7 @@ function So(tt) {
76
76
  }
77
77
  function ct(h) {
78
78
  const y = String(h ?? "").split(/\n/g), p = Math.max(0, y.length - 1), c = Ue * 1.2, S = p * c;
79
- return ut + S;
79
+ return rt + S;
80
80
  }
81
81
  function dt({ arc: h, index: y }) {
82
82
  const { x: p, y: c } = _t(h.path), S = Tt(h).x, V = Lt(h) - 3.5, M = ct(h.name);
@@ -180,30 +180,34 @@ function So(tt) {
180
180
  }), Ve;
181
181
  }) };
182
182
  }
183
- const dl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { labels: { percentage: { color: "#CCCCCC" }, name: { color: "#CCCCCC" }, hollow: { total: { color: "#CCCCCC", value: { color: "#CCCCCC" } }, average: { color: "#CCCCCC", value: { color: "#CCCCCC" } } } } }, legend: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#1A1A1A", backgroundOpacity: 70, color: "#CCCCCC", borderColor: "#5A5A5A" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } }, vl = { style: { chart: { backgroundColor: "#FFF8E1", color: "#424242", layout: { labels: { percentage: { color: "#424242" }, name: { color: "#424242" }, hollow: { total: { color: "#424242", value: { color: "#424242" } }, average: { color: "#424242", value: { color: "#424242" } } } } }, legend: { backgroundColor: "#FFF8E1", color: "#424242" }, title: { color: "#424242", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#FFECB3", backgroundOpacity: 30, color: "#424242", borderColor: "#FF8A65" } } }, table: { th: { backgroundColor: "#FFF8E1", color: "#424242" }, td: { backgroundColor: "#FFF8E1", color: "#424242" } } }, hl = { style: { chart: { backgroundColor: "#1E1E1E", color: "#BDBDBD", layout: { labels: { percentage: { color: "#BDBDBD" }, name: { color: "#BDBDBD" }, hollow: { total: { color: "#BDBDBD", value: { color: "#BDBDBD" } }, average: { color: "#BDBDBD", value: { color: "#BDBDBD" } } } } }, legend: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } }, tooltip: { backgroundColor: "#1E1E1E", backgroundOpacity: 30, color: "#FFF8E1", borderColor: "#FF8A65" } } }, table: { th: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, td: { backgroundColor: "#1E1E1E", color: "#BDBDBD" } } }, fl = { style: { chart: { backgroundColor: "#f6f6fb", color: "#50606C", layout: { labels: { percentage: { color: "#61747E" }, name: { color: "#8A9892" }, hollow: { total: { color: "#8A9892", value: { color: "#61747E" } }, average: { color: "#8A9892", value: { color: "#61747E" } } } } }, legend: { backgroundColor: "#f6f6fb", color: "#61747E" }, title: { color: "#50606C", subtitle: { color: "#718890" } }, tooltip: { backgroundColor: "#f6f6fb", color: "#50606C" } } }, table: { th: { backgroundColor: "#f6f6fb", color: "#50606C" }, td: { backgroundColor: "#f6f6fb", color: "#50606C" } } }, yl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#99AA99", layout: { labels: { percentage: { color: "#AACCAA" }, name: { color: "#99CC99" }, hollow: { total: { color: "#99CC99", value: { color: "#AACCAA" } }, average: { color: "#99CC99", value: { color: "#AACCAA" } } } } }, legend: { backgroundColor: "#1A1A1A", color: "#99AA99" }, title: { color: "#66CC66", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#2A2F2A", color: "#AACCAA", borderColor: "#66CC66" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#99AA99" }, td: { backgroundColor: "#1A1A1A", color: "#AACCAA" } } }, gl = { style: { chart: { backgroundColor: "#fbfafa", color: "#8A9892", layout: { labels: { percentage: { color: "#A0AC94" }, name: { color: "#8A9892" }, hollow: { total: { color: "#8A9892", value: { color: "#A0AC94" } }, average: { color: "#8A9892", value: { color: "#A0AC94" } } } } }, legend: { backgroundColor: "#fbfafa", color: "#99AA99" }, title: { color: "#8A9892", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#fbfafa", color: "#8A9892" } } }, table: { th: { backgroundColor: "#fbfafa", color: "#8F837A" }, td: { backgroundColor: "#fbfafa", color: "#8F837A" } } }, pl = {
183
+ const dl = { userOptions: { show: !1 }, style: { chart: { useGradient: !1, legend: { show: !1 } } } }, vl = { userOptions: { show: !1 }, style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", useGradient: !1, layout: { labels: { percentage: { color: "#CCCCCC" }, name: { color: "#CCCCCC" }, hollow: { total: { color: "#CCCCCC", value: { color: "#CCCCCC" } }, average: { color: "#CCCCCC", value: { color: "#CCCCCC" } } } } }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#1A1A1A", backgroundOpacity: 70, color: "#CCCCCC", borderColor: "#3A3A3A" }, legend: { show: !1, backgroundColor: "#1A1A1A", color: "#CCCCCC" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } }, hl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { labels: { percentage: { color: "#CCCCCC" }, name: { color: "#CCCCCC" }, hollow: { total: { color: "#CCCCCC", value: { color: "#CCCCCC" } }, average: { color: "#CCCCCC", value: { color: "#CCCCCC" } } } } }, legend: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#1A1A1A", backgroundOpacity: 70, color: "#CCCCCC", borderColor: "#5A5A5A" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } }, fl = { style: { chart: { backgroundColor: "#FFF8E1", color: "#424242", layout: { labels: { percentage: { color: "#424242" }, name: { color: "#424242" }, hollow: { total: { color: "#424242", value: { color: "#424242" } }, average: { color: "#424242", value: { color: "#424242" } } } } }, legend: { backgroundColor: "#FFF8E1", color: "#424242" }, title: { color: "#424242", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#FFECB3", backgroundOpacity: 30, color: "#424242", borderColor: "#FF8A65" } } }, table: { th: { backgroundColor: "#FFF8E1", color: "#424242" }, td: { backgroundColor: "#FFF8E1", color: "#424242" } } }, yl = { style: { chart: { backgroundColor: "#1E1E1E", color: "#BDBDBD", layout: { labels: { percentage: { color: "#BDBDBD" }, name: { color: "#BDBDBD" }, hollow: { total: { color: "#BDBDBD", value: { color: "#BDBDBD" } }, average: { color: "#BDBDBD", value: { color: "#BDBDBD" } } } } }, legend: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } }, tooltip: { backgroundColor: "#1E1E1E", backgroundOpacity: 30, color: "#FFF8E1", borderColor: "#FF8A65" } } }, table: { th: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, td: { backgroundColor: "#1E1E1E", color: "#BDBDBD" } } }, gl = { style: { chart: { backgroundColor: "#f6f6fb", color: "#50606C", layout: { labels: { percentage: { color: "#61747E" }, name: { color: "#8A9892" }, hollow: { total: { color: "#8A9892", value: { color: "#61747E" } }, average: { color: "#8A9892", value: { color: "#61747E" } } } } }, legend: { backgroundColor: "#f6f6fb", color: "#61747E" }, title: { color: "#50606C", subtitle: { color: "#718890" } }, tooltip: { backgroundColor: "#f6f6fb", color: "#50606C" } } }, table: { th: { backgroundColor: "#f6f6fb", color: "#50606C" }, td: { backgroundColor: "#f6f6fb", color: "#50606C" } } }, pl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#99AA99", layout: { labels: { percentage: { color: "#AACCAA" }, name: { color: "#99CC99" }, hollow: { total: { color: "#99CC99", value: { color: "#AACCAA" } }, average: { color: "#99CC99", value: { color: "#AACCAA" } } } } }, legend: { backgroundColor: "#1A1A1A", color: "#99AA99" }, title: { color: "#66CC66", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#2A2F2A", color: "#AACCAA", borderColor: "#66CC66" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#99AA99" }, td: { backgroundColor: "#1A1A1A", color: "#AACCAA" } } }, bl = { style: { chart: { backgroundColor: "#fbfafa", color: "#8A9892", layout: { labels: { percentage: { color: "#A0AC94" }, name: { color: "#8A9892" }, hollow: { total: { color: "#8A9892", value: { color: "#A0AC94" } }, average: { color: "#8A9892", value: { color: "#A0AC94" } } } } }, legend: { backgroundColor: "#fbfafa", color: "#99AA99" }, title: { color: "#8A9892", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#fbfafa", color: "#8A9892" } } }, table: { th: { backgroundColor: "#fbfafa", color: "#8F837A" }, td: { backgroundColor: "#fbfafa", color: "#8F837A" } } }, ml = {
184
184
  default: {},
185
- dark: dl,
186
- celebration: vl,
187
- celebrationNight: hl,
188
- concrete: fl,
189
- hack: yl,
190
- zen: gl
191
- }, vn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
185
+ minimal: dl,
186
+ minimalDark: vl,
187
+ dark: hl,
188
+ celebration: fl,
189
+ celebrationNight: yl,
190
+ concrete: gl,
191
+ hack: pl,
192
+ zen: bl
193
+ }, fn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
192
194
  __proto__: null,
193
- celebration: vl,
194
- celebrationNight: hl,
195
- concrete: fl,
196
- dark: dl,
197
- default: pl,
198
- hack: yl,
199
- zen: gl
200
- }, Symbol.toStringTag, { value: "Module" })), Mo = ["id"], Po = ["id"], Fo = ["xmlns", "viewBox"], Io = ["width", "height"], Do = { key: 1 }, Bo = ["id"], zo = ["stop-color"], Oo = ["offset", "stop-color"], Yo = ["offset", "stop-color"], Eo = ["stop-color"], Xo = { key: 2 }, No = ["id", "cx", "cy"], Ro = ["stop-color", "stop-opacity"], Vo = ["stop-color"], Uo = ["id"], Ho = ["id"], Go = ["id"], jo = ["flood-color"], Wo = ["id"], qo = ["flood-color"], Qo = ["d", "stroke", "filter"], Jo = ["d", "stroke", "filter"], Ko = ["cx", "cy", "r", "fill", "filter"], Zo = { key: 6 }, ea = ["stroke", "d"], ta = ["d", "fill", "stroke", "stroke-width", "filter"], la = { key: 0 }, oa = ["d", "fill", "stroke", "stroke-width", "filter"], aa = { key: 0 }, na = ["stroke", "d"], sa = { key: 0 }, ua = ["d", "stroke", "stroke-width", "filter"], ra = { key: 1 }, ia = ["d", "fill", "stroke", "stroke-width", "filter"], ca = ["d", "fill", "stroke", "stroke-width", "filter"], da = { key: 1 }, va = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], ha = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], fa = { key: 0 }, ya = ["d", "fill", "stroke", "stroke-width"], ga = ["cx", "cy", "r", "stroke"], pa = ["cx", "cy", "r", "fill"], ba = ["cx", "cy", "r"], ma = { key: 0 }, wa = ["d", "stroke", "fill", "onMouseenter", "onMouseleave", "onClick"], ka = { key: 1 }, Ca = ["cx", "cy", "r"], xa = ["x", "y", "fill", "font-size"], $a = ["x", "y", "fill", "font-size"], Aa = ["x", "y", "fill", "font-size"], _a = ["x", "y", "fill", "font-size"], Ta = ["filter", "opacity"], La = { key: 0 }, Sa = ["x", "y"], Ma = { key: 1 }, Pa = ["cx", "cy", "fill", "stroke", "filter", "onClick", "onMouseenter", "onMouseleave"], Fa = ["text-anchor", "x", "y", "onClick", "onMouseenter", "onMouseleave", "innerHTML"], Ia = ["text-anchor", "x", "y", "fill", "font-size", "onClick", "onMouseenter", "onMouseleave"], Da = ["text-anchor", "x", "y", "fill", "font-size", "onClick", "onMouseenter", "onMouseleave", "innerHTML"], Ba = ["cx", "cy", "fill", "stroke", "filter", "onClick", "onMouseenter", "onMouseleave"], za = ["text-anchor", "x", "y", "onClick", "onMouseenter", "onMouseleave", "innerHTML"], Oa = ["text-anchor", "x", "y", "fill", "font-size", "onClick", "onMouseenter", "onMouseleave"], Ya = ["text-anchor", "x", "y", "fill", "font-size", "onClick", "onMouseenter", "onMouseleave", "innerHTML"], Ea = { key: 2 }, Xa = ["x", "y", "width"], Na = ["x", "y", "width"], Ra = {
195
+ celebration: fl,
196
+ celebrationNight: yl,
197
+ concrete: gl,
198
+ dark: hl,
199
+ default: ml,
200
+ hack: pl,
201
+ minimal: dl,
202
+ minimalDark: vl,
203
+ zen: bl
204
+ }, Symbol.toStringTag, { value: "Module" })), Fo = ["id"], Io = ["id"], Do = ["xmlns", "viewBox"], Bo = ["width", "height"], zo = { key: 1 }, Oo = ["id"], Yo = ["stop-color"], Eo = ["offset", "stop-color"], Xo = ["offset", "stop-color"], No = ["stop-color"], Ro = { key: 2 }, Vo = ["id", "cx", "cy"], Uo = ["stop-color", "stop-opacity"], Ho = ["stop-color"], Go = ["id"], jo = ["id"], Wo = ["id"], qo = ["flood-color"], Qo = ["id"], Jo = ["flood-color"], Ko = ["d", "stroke", "filter"], Zo = ["d", "stroke", "filter"], ea = ["cx", "cy", "r", "fill", "filter"], ta = { key: 6 }, la = ["stroke", "d"], oa = ["d", "fill", "stroke", "stroke-width", "filter"], aa = { key: 0 }, na = ["d", "fill", "stroke", "stroke-width", "filter"], sa = { key: 0 }, ra = ["stroke", "d"], ua = { key: 0 }, ia = ["d", "stroke", "stroke-width", "filter"], ca = { key: 1 }, da = ["d", "fill", "stroke", "stroke-width", "filter"], va = ["d", "fill", "stroke", "stroke-width", "filter"], ha = { key: 1 }, fa = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], ya = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], ga = { key: 0 }, pa = ["d", "fill", "stroke", "stroke-width"], ba = ["cx", "cy", "r", "stroke"], ma = ["cx", "cy", "r", "fill"], Ca = ["cx", "cy", "r"], wa = { key: 0 }, ka = ["d", "stroke", "fill", "onMouseenter", "onMouseleave", "onClick"], xa = { key: 1 }, Aa = ["cx", "cy", "r"], $a = ["x", "y", "fill", "font-size"], _a = ["x", "y", "fill", "font-size"], Ta = ["x", "y", "fill", "font-size"], La = ["x", "y", "fill", "font-size"], Sa = ["filter", "opacity"], Ma = { key: 0 }, Pa = ["x", "y"], Fa = { key: 1 }, Ia = ["cx", "cy", "fill", "stroke", "filter", "onClick", "onMouseenter", "onMouseleave"], Da = ["text-anchor", "x", "y", "onClick", "onMouseenter", "onMouseleave", "innerHTML"], Ba = ["text-anchor", "x", "y", "fill", "font-size", "onClick", "onMouseenter", "onMouseleave"], za = ["text-anchor", "x", "y", "fill", "font-size", "onClick", "onMouseenter", "onMouseleave", "innerHTML"], Oa = ["cx", "cy", "fill", "stroke", "filter", "onClick", "onMouseenter", "onMouseleave"], Ya = ["text-anchor", "x", "y", "onClick", "onMouseenter", "onMouseleave", "innerHTML"], Ea = ["text-anchor", "x", "y", "fill", "font-size", "onClick", "onMouseenter", "onMouseleave"], Xa = ["text-anchor", "x", "y", "fill", "font-size", "onClick", "onMouseenter", "onMouseleave", "innerHTML"], Na = { key: 2 }, Ra = ["x", "y", "width"], Va = ["x", "y", "width"], Ua = {
201
205
  key: 4,
202
206
  class: "vue-data-ui-watermark"
203
- }, Va = ["id"], Ua = ["onClick"], Ha = {
207
+ }, Ha = ["id"], Ga = ["onClick"], ja = {
204
208
  key: 7,
205
209
  class: "vue-ui-donut-hollow"
206
- }, Ga = ["innerHTML"], ja = {
210
+ }, Wa = ["innerHTML"], qa = {
207
211
  __name: "vue-ui-donut",
208
212
  props: {
209
213
  config: {
@@ -220,15 +224,15 @@ const dl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
220
224
  }
221
225
  },
222
226
  emits: ["selectLegend", "selectDatapoint"],
223
- setup(tt, { expose: lt, emit: $t }) {
224
- const Re = Se(() => import("./Tooltip-DpfUZbt7.js")), ot = Se(() => import("./BaseIcon-B9bGT7HU.js")), At = Se(() => import("./vue-ui-accordion-CAXPDm31.js")), at = Se(() => import("./DataTable-DEwh__D8.js")), _t = Se(() => import("./PenAndPaper-CulSakut.js")), Tt = Se(() => import("./UserOptions-5pXc4J-c.js")), Lt = Se(() => import("./PackageVersion-C-JOGZBL.js")), St = Se(() => import("./BaseDraggableDialog-O2XSymlZ.js")), { vue_ui_donut: Mt } = go(), { isThemeValid: Pt, warnInvalidTheme: jt } = ko(), Ve = Hl(), x = tt, D = g({
227
+ setup(tt, { expose: lt, emit: At }) {
228
+ const Re = Se(() => import("./Tooltip-B6qvABDL.js")), ot = Se(() => import("./BaseIcon-4uOct8re.js")), $t = Se(() => import("./vue-ui-accordion-DFKaB_05.js")), at = Se(() => import("./DataTable-DyoDzNNY.js")), _t = Se(() => import("./PenAndPaper-LTuSTmWE.js")), Tt = Se(() => import("./UserOptions-CX7Xsusk.js")), Lt = Se(() => import("./PackageVersion-CQxJyGQr.js")), St = Se(() => import("./BaseDraggableDialog-BQYfVNu8.js")), { vue_ui_donut: Mt } = bo(), { isThemeValid: Pt, warnInvalidTheme: jt } = xo(), Ve = jl(), x = tt, D = g({
225
229
  get() {
226
230
  return !!x.dataset && x.dataset.length;
227
231
  },
228
232
  set(l) {
229
233
  return l;
230
234
  }
231
- }), L = Me(null), Fe = k(null), nt = k(null), Ue = k(null), st = Me(null), ut = Me(null), le = Me(null), pe = Me(null), He = Me(null), Ge = Me(null), rt = k(0), it = k(0), ct = k(0), dt = k(!1), Ie = k(null), je = k(null), xe = g({
235
+ }), L = Me(null), Fe = w(null), nt = w(null), Ue = w(null), st = Me(null), rt = Me(null), le = Me(null), pe = Me(null), He = Me(null), Ge = Me(null), ut = w(0), it = w(0), ct = w(0), dt = w(!1), Ie = w(null), je = w(null), xe = g({
232
236
  get: () => e.value.style.chart.layout.labels.percentage.fontSize,
233
237
  set: (l) => l
234
238
  }), N = g({
@@ -244,7 +248,7 @@ const dl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
244
248
  We = !1;
245
249
  const l = e.value, a = Fe.value, t = de.value;
246
250
  if (!l.autoSize || !a || !t) return;
247
- const [o, r, d, $] = t.getAttribute("viewBox").split(" ").map(Number), T = { x: o, y: r, width: d, height: $ }, E = [
251
+ const [o, u, d, A] = t.getAttribute("viewBox").split(" ").map(Number), T = { x: o, y: u, width: d, height: A }, E = [
248
252
  {
249
253
  selector: ".vue-data-ui-datalabel-value",
250
254
  baseSize: l.style.chart.layout.labels.percentage.fontSize,
@@ -264,17 +268,17 @@ const dl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
264
268
  sizeRef: oe
265
269
  }
266
270
  ];
267
- E.map((G) => a.querySelectorAll(G.selector).length).reduce((G, Ye) => G + Ye, 0) !== 0 && E.forEach(({ selector: G, baseSize: Ye, minSize: Nl, sizeRef: Rl }) => {
268
- a.querySelectorAll(G).forEach((Vl) => {
269
- const Ul = no({
270
- el: Vl,
271
+ E.map((G) => a.querySelectorAll(G.selector).length).reduce((G, Ye) => G + Ye, 0) !== 0 && E.forEach(({ selector: G, baseSize: Ye, minSize: Vl, sizeRef: Ul }) => {
272
+ a.querySelectorAll(G).forEach((Hl) => {
273
+ const Gl = ro({
274
+ el: Hl,
271
275
  bounds: T,
272
276
  currentFontSize: Ye,
273
- minFontSize: Nl,
277
+ minFontSize: Vl,
274
278
  attempts: 200,
275
279
  padding: 1
276
280
  });
277
- Rl.value = Ul;
281
+ Ul.value = Gl;
278
282
  });
279
283
  });
280
284
  }));
@@ -305,7 +309,7 @@ const dl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
305
309
  type: "dataset",
306
310
  debug: y.value
307
311
  }), D.value = !1, ce.value = !0) : (x.dataset.forEach((l, a) => {
308
- Ql({
312
+ Kl({
309
313
  datasetObject: l,
310
314
  requiredAttributes: ["name", "values"]
311
315
  }).forEach((t) => {
@@ -326,14 +330,14 @@ const dl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
326
330
  debug: y.value
327
331
  });
328
332
  })), sl(x.dataset) || (ce.value = e.value.loading), e.value.responsive) {
329
- const l = fo(() => {
330
- const { width: a, height: t } = yo({
333
+ const l = go(() => {
334
+ const { width: a, height: t } = po({
331
335
  chart: L.value,
332
336
  title: e.value.style.chart.title.text ? st.value : null,
333
- legend: e.value.style.chart.legend.show ? ut.value : null,
337
+ legend: e.value.style.chart.legend.show ? rt.value : null,
334
338
  source: He.value,
335
339
  noTitle: Ge.value,
336
- padding: e.value.autoSize ? void 0 : $e.value
340
+ padding: e.value.autoSize ? void 0 : Ae.value
337
341
  });
338
342
  requestAnimationFrame(() => {
339
343
  n.value.width = a, n.value.height = t, B();
@@ -342,7 +346,7 @@ const dl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
342
346
  le.value && (pe.value && le.value.unobserve(pe.value), le.value.disconnect()), le.value = new ResizeObserver(l), pe.value = L.value.parentNode, le.value.observe(pe.value);
343
347
  }
344
348
  }
345
- const c = k(Jl()), S = k(!1), V = k(""), M = k(null), ae = k(0);
349
+ const c = w(Zl()), S = w(!1), V = w(""), M = w(null), ae = w(0);
346
350
  function be() {
347
351
  const l = Gt({
348
352
  userConfig: x.config,
@@ -356,7 +360,7 @@ const dl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
356
360
  jt(l), a = l;
357
361
  else {
358
362
  const o = Gt({
359
- userConfig: pl[t] || x.config,
363
+ userConfig: ml[t] || x.config,
360
364
  defaultConfig: l
361
365
  });
362
366
  a = {
@@ -364,13 +368,13 @@ const dl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
364
368
  userConfig: x.config,
365
369
  defaultConfig: o
366
370
  }),
367
- customPalette: l.customPalette.length ? l.customPalette : so[t] || Ee
371
+ customPalette: l.customPalette.length ? l.customPalette : uo[t] || Ee
368
372
  };
369
373
  }
370
374
  return x.config && Ht(x.config, "events.datapointEnter") ? a.events.datapointEnter = x.config.events.datapointEnter : a.events.datapointEnter = null, x.config && Ht(x.config, "events.datapointLeave") ? a.events.datapointLeave = x.config.events.datapointLeave : a.events.datapointLeave = null, x.config && Ht(x.config, "events.datapointClick") ? a.events.datapointClick = x.config.events.datapointClick : a.events.datapointClick = null, a;
371
375
  }
372
- const e = k(be()), { loading: ne, FINAL_DATASET: W, manualLoading: ce, skeletonDataset: vt } = bo({
373
- ...Gl(x),
376
+ const e = w(be()), { loading: ne, FINAL_DATASET: W, manualLoading: ce, skeletonDataset: vt } = Co({
377
+ ...Wl(x),
374
378
  FINAL_CONFIG: e,
375
379
  prepareConfig: be,
376
380
  skeletonDataset: [
@@ -390,7 +394,7 @@ const dl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
390
394
  color: "#CACACA"
391
395
  }
392
396
  ],
393
- skeletonConfig: Kl({
397
+ skeletonConfig: eo({
394
398
  defaultConfig: e.value,
395
399
  userConfig: {
396
400
  useCssAnimation: !1,
@@ -427,17 +431,17 @@ const dl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
427
431
  }
428
432
  }
429
433
  })
430
- }), P = k(!0), me = k(0), Ft = k(!1);
434
+ }), P = w(!0), me = w(0), Ft = w(!1);
431
435
  let J = null;
432
436
  function De(l = 1e3) {
433
437
  return new Promise((a) => {
434
438
  const t = performance.now();
435
- function o(r) {
436
- const d = r - t, $ = Math.min(
439
+ function o(u) {
440
+ const d = u - t, A = Math.min(
437
441
  d / l,
438
442
  1
439
- ), T = cl($);
440
- me.value = T, $ < 1 ? J = requestAnimationFrame(o) : (me.value = 1, J = null, a());
443
+ ), T = cl(A);
444
+ me.value = T, A < 1 ? J = requestAnimationFrame(o) : (me.value = 1, J = null, a());
441
445
  }
442
446
  J !== null && cancelAnimationFrame(J), me.value = 0, J = requestAnimationFrame(o);
443
447
  });
@@ -458,7 +462,7 @@ const dl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
458
462
  },
459
463
  { immediate: !0 }
460
464
  );
461
- const { userOptionsVisible: qe, setUserOptionsVisibility: ht, keepUserOptionState: ft } = Co({ config: e.value }), { svgRef: de } = xo({ config: e.value.style.chart.title });
465
+ const { userOptionsVisible: qe, setUserOptionsVisibility: ht, keepUserOptionState: ft } = Ao({ config: e.value }), { svgRef: de } = $o({ config: e.value.style.chart.title });
462
466
  function yt() {
463
467
  ht(!0);
464
468
  }
@@ -466,9 +470,9 @@ const dl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
466
470
  ht(!1);
467
471
  }
468
472
  Ne(() => x.config, (l) => {
469
- ne.value || (e.value = be()), qe.value = !e.value.userOptions.showOnChartHover, p(), rt.value += 1, it.value += 1, ct.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;
473
+ ne.value || (e.value = be()), qe.value = !e.value.userOptions.showOnChartHover, p(), ut.value += 1, it.value += 1, ct.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;
470
474
  }, { deep: !0 });
471
- const $e = g(() => {
475
+ const Ae = g(() => {
472
476
  const { top: l, right: a, bottom: t, left: o } = e.value.style.chart.padding;
473
477
  return {
474
478
  css: `padding:${l}px ${a}px ${t}px ${o}px`,
@@ -477,11 +481,11 @@ const dl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
477
481
  bottom: t,
478
482
  left: o
479
483
  };
480
- }), { isPrinting: K, isImaging: Z, generatePdf: Ae, generateImage: _e } = po({
484
+ }), { isPrinting: K, isImaging: Z, generatePdf: $e, generateImage: _e } = mo({
481
485
  elementId: `donut__${c.value}`,
482
486
  fileName: e.value.style.chart.title.text || "vue-ui-donut",
483
487
  options: e.value.userOptions.print
484
- }), gt = g(() => e.value.userOptions.show && !e.value.style.chart.title.text), Qe = g(() => Zl(e.value.customPalette)), m = k({
488
+ }), gt = g(() => e.value.userOptions.show && !e.value.style.chart.title.text), Qe = g(() => to(e.value.customPalette)), m = w({
485
489
  dataLabels: {
486
490
  show: e.value.style.chart.layout.labels.dataLabels.show
487
491
  },
@@ -497,7 +501,7 @@ const dl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
497
501
  showTooltip: e.value.style.chart.tooltip.show
498
502
  };
499
503
  }, { immediate: !0 });
500
- const n = k({
504
+ const n = w({
501
505
  height: e.value.style.chart.height,
502
506
  width: e.value.style.chart.width
503
507
  }), ve = g(() => {
@@ -505,13 +509,13 @@ const dl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
505
509
  return F.value;
506
510
  const l = e.value.style.chart.layout.donut.strokeWidth / 512, a = Math.min(n.value.width, n.value.height) * l, t = a > F.value ? F.value : a;
507
511
  return Math.max(t, 12 * (1 + l));
508
- }), It = $t, R = g(() => W.value.sort((l, a) => {
509
- const t = Array.isArray(l.values) ? l.values.reduce((r, d) => r + d, 0) : l.value ?? 0, o = Array.isArray(a.values) ? a.values.reduce((r, d) => r + d, 0) : a.value ?? 0;
512
+ }), It = At, R = g(() => W.value.sort((l, a) => {
513
+ const t = Array.isArray(l.values) ? l.values.reduce((u, d) => u + d, 0) : l.value ?? 0, o = Array.isArray(a.values) ? a.values.reduce((u, d) => u + d, 0) : a.value ?? 0;
510
514
  return l.ghost && !a.ghost ? 1 : a.ghost && !l.ghost ? -1 : o - t;
511
515
  }).map((l, a) => ({
512
516
  name: l.name,
513
- color: ul(l.color) || Qe.value[a] || Ee[a] || Ee[a % Ee.length],
514
- value: eo(l.values.reduce((t, o) => t + o, 0)),
517
+ color: rl(l.color) || Qe.value[a] || Ee[a] || Ee[a % Ee.length],
518
+ value: lo(l.values.reduce((t, o) => t + o, 0)),
515
519
  absoluteValues: l.values,
516
520
  comment: l.comment || "",
517
521
  patternIndex: a,
@@ -533,27 +537,27 @@ const dl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
533
537
  value: l.value
534
538
  }));
535
539
  }
536
- const O = k([]), se = k(!1), ue = k(null);
537
- function Je({ from: l, to: a, duration: t, onUpdate: o, onDone: r, easing: d = cl }) {
538
- const $ = performance.now();
540
+ const O = w([]), se = w(!1), re = w(null);
541
+ function Je({ from: l, to: a, duration: t, onUpdate: o, onDone: u, easing: d = cl }) {
542
+ const A = performance.now();
539
543
  function T(E) {
540
- const X = Math.min((E - $) / t, 1), G = d(X), Ye = l + (a - l) * G;
541
- o(Ye, X), X < 1 ? requestAnimationFrame(T) : (o(a, 1), r && r());
544
+ const X = Math.min((E - A) / t, 1), G = d(X), Ye = l + (a - l) * G;
545
+ o(Ye, X), X < 1 ? requestAnimationFrame(T) : (o(a, 1), u && u());
542
546
  }
543
547
  requestAnimationFrame(T);
544
548
  }
545
549
  function Xe(l) {
546
- const a = R.value.find((r, d) => d === l);
547
- let o = H.value.find((r, d) => d === l).value;
550
+ const a = R.value.find((u, d) => d === l);
551
+ let o = H.value.find((u, d) => d === l).value;
548
552
  if (O.value.includes(l)) {
549
553
  let d = function() {
550
554
  H.value = H.value.map(
551
- (T, E) => l === E ? { ...T, value: r } : T
555
+ (T, E) => l === E ? { ...T, value: u } : T
552
556
  );
553
- }, $ = function() {
554
- se.value = !0, ue.value = l, Je({
557
+ }, A = function() {
558
+ se.value = !0, re.value = l, Je({
555
559
  from: o,
556
- to: r,
560
+ to: u,
557
561
  duration: e.value.serieToggleAnimation.durationMs,
558
562
  onUpdate: (T, E) => {
559
563
  H.value = H.value.map(
@@ -561,39 +565,39 @@ const dl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
561
565
  ), requestAnimationFrame(B);
562
566
  },
563
567
  onDone: () => {
564
- d(), se.value = !1, ue.value = null;
568
+ d(), se.value = !1, re.value = null;
565
569
  }
566
570
  });
567
571
  };
568
572
  O.value = O.value.filter((T) => T !== l);
569
- const r = a.value;
570
- e.value.serieToggleAnimation.show && e.value.type === "classic" ? $() : (d(), requestAnimationFrame(B));
573
+ const u = a.value;
574
+ e.value.serieToggleAnimation.show && e.value.type === "classic" ? A() : (d(), requestAnimationFrame(B));
571
575
  } else if (O.value.length < R.value.length - 1) {
572
- let r = function() {
576
+ let u = function() {
573
577
  O.value.push(l), H.value = H.value.map(
574
- ($, T) => l === T ? { ...$, value: 0 } : $
578
+ (A, T) => l === T ? { ...A, value: 0 } : A
575
579
  );
576
580
  }, d = function() {
577
- se.value = !0, ue.value = l, Je({
581
+ se.value = !0, re.value = l, Je({
578
582
  from: o,
579
583
  to: 0,
580
584
  duration: e.value.serieToggleAnimation.durationMs,
581
- onUpdate: ($, T) => {
585
+ onUpdate: (A, T) => {
582
586
  H.value = H.value.map(
583
- (E, X) => l === X ? { ...E, value: $ } : E
587
+ (E, X) => l === X ? { ...E, value: A } : E
584
588
  ), requestAnimationFrame(B);
585
589
  },
586
590
  onDone: () => {
587
- r(), requestAnimationFrame(B), se.value = !1, ue.value = null;
591
+ u(), requestAnimationFrame(B), se.value = !1, re.value = null;
588
592
  }
589
593
  });
590
594
  };
591
- e.value.serieToggleAnimation.show && e.value.type === "classic" ? d() : r();
595
+ e.value.serieToggleAnimation.show && e.value.type === "classic" ? d() : u();
592
596
  }
593
- It("selectLegend", we.value.map((r) => ({
594
- name: r.name,
595
- color: r.color,
596
- value: r.value
597
+ It("selectLegend", Ce.value.map((u) => ({
598
+ name: u.name,
599
+ color: u.color,
600
+ value: u.value
597
601
  })));
598
602
  }
599
603
  function Ke(l) {
@@ -602,27 +606,27 @@ const dl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
602
606
  const a = R.value.find((t) => t.name === l);
603
607
  return a || (e.value.debug && console.warn(`VueUiDonut - Series name not found "${l}"`), null);
604
608
  }
605
- function bl(l) {
609
+ function Cl(l) {
606
610
  const a = Ke(l);
607
611
  a !== null && O.value.includes(a.seriesIndex) && Xe(a.seriesIndex);
608
612
  }
609
- function ml(l) {
613
+ function wl(l) {
610
614
  const a = Ke(l);
611
615
  a !== null && (O.value.includes(a.seriesIndex) || Xe(a.seriesIndex));
612
616
  }
613
- const wl = g(
617
+ const kl = g(
614
618
  () => W.value.reduce(
615
619
  (l, a) => l + a.values.reduce((t, o) => t + o, 0),
616
620
  0
617
621
  )
618
- ), we = g(() => {
622
+ ), Ce = g(() => {
619
623
  if (P.value && !ne.value) {
620
624
  const l = me.value, a = R.value.map((o) => ({
621
625
  ...o,
622
626
  value: o.value * l,
623
627
  color: o.color,
624
628
  ghost: !1
625
- })), t = wl.value * (1 - l);
629
+ })), t = kl.value * (1 - l);
626
630
  return t > 0 && a.push({
627
631
  name: "__ghost__",
628
632
  value: t,
@@ -641,10 +645,10 @@ const dl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
641
645
  seriesIndex: a
642
646
  })).filter((l, a) => !O.value.includes(a));
643
647
  }), Bt = g(() => W.value.map((l, a) => {
644
- const t = (l.values || []).reduce((r, d) => r + d, 0), o = t / W.value.map((r) => (r.values || []).reduce((d, $) => d + $, 0)).reduce((r, d) => r + d, 0);
648
+ const t = (l.values || []).reduce((u, d) => u + d, 0), o = t / W.value.map((u) => (u.values || []).reduce((d, A) => d + A, 0)).reduce((u, d) => u + d, 0);
645
649
  return {
646
650
  name: l.name,
647
- color: ul(l.color) || Qe.value[a] || Ee[a] || Ee[a % Ee.length],
651
+ color: rl(l.color) || Qe.value[a] || Ee[a] || Ee[a % Ee.length],
648
652
  value: t,
649
653
  shape: "circle",
650
654
  patternIndex: a,
@@ -660,9 +664,9 @@ const dl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
660
664
  v: qt(l),
661
665
  s: "%",
662
666
  r: e.value.style.chart.legend.roundingPercentage
663
- })), r = Et({
667
+ })), u = Et({
664
668
  val: t,
665
- percentage: O.value.includes(a) ? `${Fl(l.proportion * 100)}%` : o,
669
+ percentage: O.value.includes(a) ? `${Dl(l.proportion * 100)}%` : o,
666
670
  showVal: e.value.style.chart.legend.showValue,
667
671
  showPercentage: e.value.style.chart.legend.showPercentage,
668
672
  config: e.value.style.chart.legend
@@ -672,9 +676,9 @@ const dl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
672
676
  opacity: O.value.includes(a) ? 0.5 : 1,
673
677
  segregate: () => !se.value && Xe(a),
674
678
  isSegregated: O.value.includes(a),
675
- display: `${l.name}${e.value.style.chart.legend.showPercentage || e.value.style.chart.legend.showValue ? ": " : ""}${r}`
679
+ display: `${l.name}${e.value.style.chart.legend.showPercentage || e.value.style.chart.legend.showValue ? ": " : ""}${u}`
676
680
  };
677
- })), kl = g(() => ({
681
+ })), xl = g(() => ({
678
682
  cy: "donut-div-legend",
679
683
  backgroundColor: e.value.style.chart.legend.backgroundColor,
680
684
  color: e.value.style.chart.legend.color,
@@ -684,7 +688,7 @@ const dl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
684
688
  })), F = g(() => {
685
689
  const l = e.value.style.chart.layout.donut.radiusRatio, a = Math.max(0.1, Math.min(0.50001, l)), t = Math.min(n.value.width * a, n.value.height * a);
686
690
  return Math.max(12, t);
687
- }), U = g(() => rl({ series: we.value }, n.value.width / 2, n.value.height / 2, F.value, F.value, 1.99999, 2, 1, 360, 105.25, ve.value)), Cl = g(() => Math.abs(we.value.map((l) => l.value).reduce((l, a) => l + a, 0)) > 0), xl = g(() => rl({
691
+ }), U = g(() => ul({ series: Ce.value }, n.value.width / 2, n.value.height / 2, F.value, F.value, 1.99999, 2, 1, 360, 105.25, ve.value)), Al = g(() => Math.abs(Ce.value.map((l) => l.value).reduce((l, a) => l + a, 0)) > 0), $l = g(() => ul({
688
692
  series: [
689
693
  {
690
694
  value: 1,
@@ -696,9 +700,9 @@ const dl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
696
700
  absoluteValues: [1]
697
701
  }
698
702
  ]
699
- }, n.value.width / 2, n.value.height / 2, F.value, F.value, 1.99999, 2, 1, 360, 105.25, ve.value)), re = g(() => U.value.filter((l) => !l.ghost)), v = g(() => {
700
- const l = Math.max(...we.value.map((t) => t.value)), a = we.value.map((t) => t.value / l);
701
- return to({
703
+ }, n.value.width / 2, n.value.height / 2, F.value, F.value, 1.99999, 2, 1, 360, 105.25, ve.value)), ue = g(() => U.value.filter((l) => !l.ghost)), v = g(() => {
704
+ const l = Math.max(...Ce.value.map((t) => t.value)), a = Ce.value.map((t) => t.value / l);
705
+ return oo({
702
706
  series: a,
703
707
  center: {
704
708
  x: n.value.width / 2,
@@ -711,32 +715,32 @@ const dl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
711
715
  function Te(l) {
712
716
  return l.x > n.value.width / 2 + 6 ? "start" : l.x < n.value.width / 2 - 6 ? "end" : "middle";
713
717
  }
714
- function $l(l) {
718
+ function _l(l) {
715
719
  return l.middlePoint.y > n.value.height / 2 ? z({ initX: l.middlePoint.x, initY: l.middlePoint.y, offset: 100, centerX: n.value.width / 2, centerY: n.value.height / 2 }).y : z({ initX: l.middlePoint.x, initY: l.middlePoint.y, offset: 0, centerX: n.value.width / 2, centerY: n.value.height / 2 }).y - 100;
716
720
  }
717
721
  function q(l) {
718
722
  return l.proportion * 100 > e.value.style.chart.layout.labels.dataLabels.hideUnderValue;
719
723
  }
720
- function Al(l, a) {
721
- const t = e.value.style.chart.layout.labels.dataLabels.hideUnderValue, o = e.value.style.chart.layout.labels.dataLabels.smallArcClusterThreshold, d = (Tl.value[a] ?? l.proportion ?? 0) * 100;
724
+ function Tl(l, a) {
725
+ const t = e.value.style.chart.layout.labels.dataLabels.hideUnderValue, o = e.value.style.chart.layout.labels.dataLabels.smallArcClusterThreshold, d = (Sl.value[a] ?? l.proportion ?? 0) * 100;
722
726
  return d > t && d <= o;
723
727
  }
724
- const { smallArcLayoutsClassic: Y } = So({
728
+ const { smallArcLayoutsClassic: Y } = Po({
725
729
  FINAL_CONFIG: e,
726
- noGhostDonut: re,
730
+ noGhostDonut: ue,
727
731
  svg: n,
728
- padding: $e,
732
+ padding: Ae,
729
733
  labels_inline_fontSize: oe,
730
734
  minSize: F,
731
- findArcMidpoint: co,
732
- calcMarkerOffsetX: A,
733
- calcMarkerOffsetY: Ce,
734
- animatingIndex: ue,
735
+ findArcMidpoint: ho,
736
+ calcMarkerOffsetX: $,
737
+ calcMarkerOffsetY: ke,
738
+ animatingIndex: re,
735
739
  segregated: O,
736
- isSmallArc: Al
740
+ isSmallArc: Tl
737
741
  });
738
742
  function Wt(l, a) {
739
- const t = l.value / _l(a);
743
+ const t = l.value / Ll(a);
740
744
  return isNaN(t) ? 0 : ge(
741
745
  e.value.style.chart.layout.labels.percentage.formatter,
742
746
  t * 100,
@@ -748,37 +752,37 @@ const dl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
748
752
  { datapoint: l }
749
753
  );
750
754
  }
751
- function _l(l) {
755
+ function Ll(l) {
752
756
  return [...l].map((a) => a.value).reduce((a, t) => a + t, 0);
753
757
  }
754
- const Q = g(() => we.value.map((l) => l.value).reduce((l, a) => l + a, 0)), Tl = g(() => {
758
+ const Q = g(() => Ce.value.map((l) => l.value).reduce((l, a) => l + a, 0)), Sl = g(() => {
755
759
  const l = R.value.reduce((a, t) => a + t.value, 0);
756
760
  return l <= 0 ? [] : R.value.map((a) => a.value / l);
757
- }), zt = g(() => Q.value / we.value.length);
761
+ }), zt = g(() => Q.value / Ce.value.length);
758
762
  function qt(l) {
759
763
  return se.value ? l.proportion * 100 : l.value / Q.value * 100;
760
764
  }
761
- const Ot = k(null), Ze = k(!1);
765
+ const Ot = w(null), Ze = w(!1);
762
766
  function he({ datapoint: l, seriesIndex: a }) {
763
767
  e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: l, seriesIndex: a }), S.value = !1, M.value = null;
764
768
  }
765
769
  function fe({ datapoint: l, relativeIndex: a, seriesIndex: t, show: o = !1 }) {
766
770
  e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: l, seriesIndex: t }), Ot.value = { datapoint: l, seriesIndex: t, config: e.value, series: R.value }, S.value = o, M.value = a;
767
- let r = "";
771
+ let u = "";
768
772
  const d = e.value.style.chart.tooltip.customFormat;
769
- if (Ze.value = !1, io(d))
773
+ if (Ze.value = !1, vo(d))
770
774
  try {
771
- const $ = d({
775
+ const A = d({
772
776
  seriesIndex: t,
773
777
  datapoint: l,
774
778
  series: R.value,
775
779
  config: e.value
776
780
  });
777
- typeof $ == "string" && (V.value = $, Ze.value = !0);
781
+ typeof A == "string" && (V.value = A, Ze.value = !0);
778
782
  } catch {
779
783
  console.warn("Custom format cannot be applied."), Ze.value = !1;
780
784
  }
781
- Ze.value || (r += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${l.name}</div>`, r += `<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="${l.color}"/>${Ve.pattern ? `<circle cx="30" cy="30" r="30" stroke="none" fill="url(#pattern_${c.value}_${t})"/>` : ""}</svg>`, r += `<b>${Et({
785
+ Ze.value || (u += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${l.name}</div>`, u += `<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="${l.color}"/>${Ve.pattern ? `<circle cx="30" cy="30" r="30" stroke="none" fill="url(#pattern_${c.value}_${t})"/>` : ""}</svg>`, u += `<b>${Et({
782
786
  showVal: e.value.style.chart.tooltip.showValue,
783
787
  showPercentage: e.value.style.chart.tooltip.showPercentage,
784
788
  val: `<span>${ge(
@@ -811,9 +815,9 @@ const dl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
811
815
  }
812
816
  ),
813
817
  config: e.value.style.chart.tooltip
814
- })}</b></div>`, e.value.style.chart.comments.showInTooltip && l.comment && (r += `<div class="vue-data-ui-tooltip-comment" style="background:${l.color}20; padding: 6px; margin-bottom: 6px; margin-top:6px; border-left: 1px solid ${l.color}">${l.comment}</div>`), V.value = `<div>${r}</div>`);
818
+ })}</b></div>`, e.value.style.chart.comments.showInTooltip && l.comment && (u += `<div class="vue-data-ui-tooltip-comment" style="background:${l.color}20; padding: 6px; margin-bottom: 6px; margin-top:6px; border-left: 1px solid ${l.color}">${l.comment}</div>`), V.value = `<div>${u}</div>`);
815
819
  }
816
- function Ll(l, a) {
820
+ function Ml(l, a) {
817
821
  const t = Y.value[a];
818
822
  if (t)
819
823
  return {
@@ -821,15 +825,15 @@ const dl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
821
825
  x: t.labelX,
822
826
  y: t.labelY
823
827
  };
824
- const o = A(l, !0, 12);
828
+ const o = $(l, !0, 12);
825
829
  return {
826
830
  textAnchor: o.anchor,
827
831
  x: o.x,
828
- y: Ce(l)
832
+ y: ke(l)
829
833
  };
830
834
  }
831
- function Sl(l, a, t) {
832
- const { textAnchor: o, x: r } = Ll(l, a), d = bt(l), $ = `
835
+ function Pl(l, a, t) {
836
+ const { textAnchor: o, x: u } = Ml(l, a), d = bt(l), A = `
833
837
  <tspan
834
838
  class="vue-data-ui-datalabel-inline"
835
839
  fill="${e.value.style.chart.layout.labels.percentage.color}"
@@ -849,31 +853,31 @@ const dl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
849
853
  ` : E += `
850
854
  <tspan
851
855
  class="${t ? "vue-data-ui-datalabel-inline" : "vue-data-ui-datalabel-name"}"
852
- x="${r}"
856
+ x="${u}"
853
857
  dy="${(t ? oe.value : N.value) * 1.2}"
854
858
  fill="${e.value.style.chart.layout.labels.name.color}"
855
859
  font-size="${t ? oe.value : N.value}px"
856
860
  style="font-weight:${e.value.style.chart.layout.labels.name.bold ? "bold" : ""}"
857
861
  >${X}</tspan>
858
862
  `;
859
- }), o === "end" ? `${E}${$}` : `${$}${E}`;
863
+ }), o === "end" ? `${E}${A}` : `${A}${E}`;
860
864
  }
861
- function Ml(l, a) {
862
- const t = v.value[a].middlePoint, o = Te(t), r = z({
865
+ function Fl(l, a) {
866
+ const t = v.value[a].middlePoint, o = Te(t), u = z({
863
867
  initX: t.x,
864
868
  initY: t.y,
865
869
  offset: 42,
866
870
  centerX: n.value.width / 2,
867
871
  centerY: n.value.height / 2
868
- }), d = r.x;
869
- r.y;
870
- const $ = bt(l), T = `
872
+ }), d = u.x;
873
+ u.y;
874
+ const A = bt(l), T = `
871
875
  <tspan
872
876
  class="vue-data-ui-datalabel-value"
873
877
  fill="${e.value.style.chart.layout.labels.percentage.color}"
874
878
  font-size="${xe.value}px"
875
879
  style="font-weight:${e.value.style.chart.layout.labels.percentage.bold ? "bold" : "normal"}"
876
- >${$}</tspan>
880
+ >${A}</tspan>
877
881
  `, E = String(l.name ?? "").split(/\n/g);
878
882
  let X = "";
879
883
  return E.forEach((G, Ye) => {
@@ -899,25 +903,25 @@ const dl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
899
903
  function ze(l) {
900
904
  return e.value.useBlurOnHover && ![null, void 0].includes(M.value) && M.value !== l ? `url(#blur_${c.value})` : "";
901
905
  }
902
- function Pl(l) {
903
- if (!se.value || ue.value === null || l.seriesIndex !== ue.value)
906
+ function Il(l) {
907
+ if (!se.value || re.value === null || l.seriesIndex !== re.value)
904
908
  return 1;
905
- const a = (l.proportion ?? 0) * 100, t = e.value.style.chart.layout.labels.dataLabels.hideUnderValue, r = e.value.style.chart.layout.labels.dataLabels.smallArcClusterThreshold + 2, d = t;
906
- return a >= r ? 1 : a <= d ? 0 : (a - d) / (r - d);
909
+ const a = (l.proportion ?? 0) * 100, t = e.value.style.chart.layout.labels.dataLabels.hideUnderValue, u = e.value.style.chart.layout.labels.dataLabels.smallArcClusterThreshold + 2, d = t;
910
+ return a >= u ? 1 : a <= d ? 0 : (a - d) / (u - d);
907
911
  }
908
912
  const Le = g(() => {
909
- const l = we.value.map((t) => ({
913
+ const l = Ce.value.map((t) => ({
910
914
  name: t.name,
911
915
  color: t.color
912
- })), a = we.value.map((t) => t.value);
916
+ })), a = Ce.value.map((t) => t.value);
913
917
  return { head: l, body: a };
914
918
  });
915
919
  function Yt(l = null) {
916
- ql(() => {
917
- const a = Le.value.head.map((r, d) => [[
918
- r.name
919
- ], [Le.value.body[d]], [isNaN(Le.value.body[d] / Q.value) ? "-" : Le.value.body[d] / Q.value * 100]]), t = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(a), o = uo(t);
920
- l ? l(o) : ro({ csvContent: o, title: e.value.style.chart.title.text || "vue-ui-donut" });
920
+ Jl(() => {
921
+ const a = Le.value.head.map((u, d) => [[
922
+ u.name
923
+ ], [Le.value.body[d]], [isNaN(Le.value.body[d] / Q.value) ? "-" : Le.value.body[d] / Q.value * 100]]), t = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(a), o = io(t);
924
+ l ? l(o) : co({ csvContent: o, title: e.value.style.chart.title.text || "vue-ui-donut" });
921
925
  });
922
926
  }
923
927
  const pt = g(() => {
@@ -925,10 +929,10 @@ const dl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
925
929
  ' <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>',
926
930
  ie({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: Q.value, s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue }),
927
931
  "100%"
928
- ], a = Le.value.head.map((r, d) => [
932
+ ], a = Le.value.head.map((u, d) => [
929
933
  {
930
- color: r.color,
931
- name: r.name || "-"
934
+ color: u.color,
935
+ name: u.name || "-"
932
936
  },
933
937
  Le.value.body[d],
934
938
  isNaN(Le.value.body[d] / Q.value) ? "-" : (Le.value.body[d] / Q.value * 100).toFixed(e.value.table.td.roundingPercentage) + "%"
@@ -955,13 +959,13 @@ const dl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
955
959
  body: a,
956
960
  config: t
957
961
  };
958
- }), Oe = k(!1);
962
+ }), Oe = w(!1);
959
963
  function Qt(l) {
960
964
  Oe.value = l, ae.value += 1;
961
965
  }
962
966
  const Jt = g(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent));
963
- function Fl(l) {
964
- return vo({
967
+ function Dl(l) {
968
+ return fo({
965
969
  num: l,
966
970
  rounding: e.value.style.chart.legend.roundingPercentage
967
971
  });
@@ -971,10 +975,10 @@ const dl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
971
975
  percentage: a,
972
976
  showVal: t,
973
977
  showPercentage: o,
974
- config: r
978
+ config: u
975
979
  }) {
976
- return ho({
977
- config: r,
980
+ return yo({
981
+ config: u,
978
982
  val: l,
979
983
  percentage: a,
980
984
  showVal: t,
@@ -994,7 +998,7 @@ const dl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
994
998
  }),
995
999
  { datapoint: l }
996
1000
  ),
997
- percentage: Wt(l, re.value),
1001
+ percentage: Wt(l, ue.value),
998
1002
  showVal: e.value.style.chart.layout.labels.value.show,
999
1003
  showPercentage: !0,
1000
1004
  config: e.value.style.chart.layout.labels.dataLabels
@@ -1012,15 +1016,15 @@ const dl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
1012
1016
  function el() {
1013
1017
  m.value.showTooltip = !m.value.showTooltip;
1014
1018
  }
1015
- const mt = k(!1);
1019
+ const mt = w(!1);
1016
1020
  function Xt() {
1017
1021
  mt.value = !mt.value;
1018
1022
  }
1019
- async function Il({ scale: l = 2 } = {}) {
1023
+ async function Bl({ scale: l = 2 } = {}) {
1020
1024
  if (!L.value) return;
1021
- const { width: a, height: t } = L.value.getBoundingClientRect(), o = a / t, { imageUri: r, base64: d } = await $o({ domElement: L.value, base64: !0, img: !0, scale: l });
1025
+ const { width: a, height: t } = L.value.getBoundingClientRect(), o = a / t, { imageUri: u, base64: d } = await _o({ domElement: L.value, base64: !0, img: !0, scale: l });
1022
1026
  return {
1023
- imageUri: r,
1027
+ imageUri: u,
1024
1028
  base64: d,
1025
1029
  title: e.value.style.chart.title.text,
1026
1030
  width: a,
@@ -1028,7 +1032,7 @@ const dl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
1028
1032
  aspectRatio: o
1029
1033
  };
1030
1034
  }
1031
- function Dl() {
1035
+ function zl() {
1032
1036
  if (!Fe.value) return;
1033
1037
  const { x: l, y: a, width: t, height: o } = Fe.value.getBBox();
1034
1038
  de.value && de.value.setAttribute("viewBox", `${l} ${a} ${t + Math.min(0, l)} ${o + Math.min(0, a)}`);
@@ -1036,7 +1040,7 @@ const dl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
1036
1040
  const et = g(() => {
1037
1041
  const l = e.value.table.useDialog && !e.value.table.show, a = m.value.showTable;
1038
1042
  return {
1039
- component: l ? St : At,
1043
+ component: l ? St : $t,
1040
1044
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
1041
1045
  props: l ? {
1042
1046
  backgroundColor: e.value.table.th.backgroundColor,
@@ -1069,39 +1073,39 @@ const dl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
1069
1073
  function tl() {
1070
1074
  m.value.showTable = !1, je.value && je.value.setTableIconState(!1);
1071
1075
  }
1072
- const Bl = g(() => Bt.value.map((l) => ({
1076
+ const Ol = g(() => Bt.value.map((l) => ({
1073
1077
  ...l,
1074
1078
  name: l.display
1075
- }))), zl = g(() => e.value.style.chart.backgroundColor), Ol = g(() => e.value.style.chart.legend), Yl = g(() => e.value.style.chart.title), { exportSvg: El, getSvg: Xl } = wo({
1079
+ }))), Yl = g(() => e.value.style.chart.backgroundColor), El = g(() => e.value.style.chart.legend), Xl = g(() => e.value.style.chart.title), { exportSvg: Nl, getSvg: Rl } = ko({
1076
1080
  svg: de,
1077
- title: Yl,
1078
- legend: Ol,
1079
- legendItems: Bl,
1080
- backgroundColor: zl
1081
+ title: Xl,
1082
+ legend: El,
1083
+ legendItems: Ol,
1084
+ backgroundColor: Yl
1081
1085
  });
1082
1086
  async function ll({ isCb: l }) {
1083
1087
  if (l) {
1084
- const { blob: a, url: t, text: o, dataUrl: r } = await Xl();
1085
- e.value.userOptions.callbacks.svg({ blob: a, url: t, text: o, dataUrl: r });
1088
+ const { blob: a, url: t, text: o, dataUrl: u } = await Rl();
1089
+ e.value.userOptions.callbacks.svg({ blob: a, url: t, text: o, dataUrl: u });
1086
1090
  } else
1087
- El();
1091
+ Nl();
1088
1092
  }
1089
1093
  return lt({
1090
- autoSize: Dl,
1094
+ autoSize: zl,
1091
1095
  getData: Dt,
1092
- getImage: Il,
1093
- generatePdf: Ae,
1096
+ getImage: Bl,
1097
+ generatePdf: $e,
1094
1098
  generateCsv: Yt,
1095
1099
  generateImage: _e,
1096
1100
  generateSvg: ll,
1097
- hideSeries: ml,
1098
- showSeries: bl,
1101
+ hideSeries: wl,
1102
+ showSeries: Cl,
1099
1103
  toggleTable: Kt,
1100
1104
  toggleLabels: Zt,
1101
1105
  toggleTooltip: el,
1102
1106
  toggleAnnotator: Xt,
1103
1107
  toggleFullscreen: Qt
1104
- }), (l, a) => (u(), i("div", {
1108
+ }), (l, a) => (r(), i("div", {
1105
1109
  ref_key: "donutChart",
1106
1110
  ref: L,
1107
1111
  class: Nt(`vue-data-ui-component vue-ui-donut ${Oe.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
@@ -1110,7 +1114,7 @@ const dl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
1110
1114
  onMouseenter: yt,
1111
1115
  onMouseleave: Be
1112
1116
  }, [
1113
- e.value.userOptions.buttons.annotator && s(de) ? (u(), Pe(s(_t), {
1117
+ e.value.userOptions.buttons.annotator && s(de) ? (r(), Pe(s(_t), {
1114
1118
  key: 0,
1115
1119
  color: e.value.style.chart.color,
1116
1120
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -1118,42 +1122,42 @@ const dl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
1118
1122
  svgRef: s(de),
1119
1123
  onClose: Xt
1120
1124
  }, {
1121
- "annotator-action-close": C(() => [
1122
- w(l.$slots, "annotator-action-close", {}, void 0, !0)
1125
+ "annotator-action-close": k(() => [
1126
+ C(l.$slots, "annotator-action-close", {}, void 0, !0)
1123
1127
  ]),
1124
- "annotator-action-color": C(({ color: t }) => [
1125
- w(l.$slots, "annotator-action-color", ee(te({ color: t })), void 0, !0)
1128
+ "annotator-action-color": k(({ color: t }) => [
1129
+ C(l.$slots, "annotator-action-color", ee(te({ color: t })), void 0, !0)
1126
1130
  ]),
1127
- "annotator-action-draw": C(({ mode: t }) => [
1128
- w(l.$slots, "annotator-action-draw", ee(te({ mode: t })), void 0, !0)
1131
+ "annotator-action-draw": k(({ mode: t }) => [
1132
+ C(l.$slots, "annotator-action-draw", ee(te({ mode: t })), void 0, !0)
1129
1133
  ]),
1130
- "annotator-action-undo": C(({ disabled: t }) => [
1131
- w(l.$slots, "annotator-action-undo", ee(te({ disabled: t })), void 0, !0)
1134
+ "annotator-action-undo": k(({ disabled: t }) => [
1135
+ C(l.$slots, "annotator-action-undo", ee(te({ disabled: t })), void 0, !0)
1132
1136
  ]),
1133
- "annotator-action-redo": C(({ disabled: t }) => [
1134
- w(l.$slots, "annotator-action-redo", ee(te({ disabled: t })), void 0, !0)
1137
+ "annotator-action-redo": k(({ disabled: t }) => [
1138
+ C(l.$slots, "annotator-action-redo", ee(te({ disabled: t })), void 0, !0)
1135
1139
  ]),
1136
- "annotator-action-delete": C(({ disabled: t }) => [
1137
- w(l.$slots, "annotator-action-delete", ee(te({ disabled: t })), void 0, !0)
1140
+ "annotator-action-delete": k(({ disabled: t }) => [
1141
+ C(l.$slots, "annotator-action-delete", ee(te({ disabled: t })), void 0, !0)
1138
1142
  ]),
1139
1143
  _: 3
1140
1144
  }, 8, ["color", "backgroundColor", "active", "svgRef"])) : f("", !0),
1141
- w(l.$slots, "userConfig", {}, void 0, !0),
1142
- gt.value ? (u(), i("div", {
1145
+ C(l.$slots, "userConfig", {}, void 0, !0),
1146
+ gt.value ? (r(), i("div", {
1143
1147
  key: 1,
1144
1148
  ref_key: "noTitle",
1145
1149
  ref: Ge,
1146
1150
  class: "vue-data-ui-no-title-space",
1147
1151
  style: "height:36px; width: 100%;background:transparent"
1148
1152
  }, null, 512)) : f("", !0),
1149
- e.value.style.chart.title.text ? (u(), i("div", {
1153
+ e.value.style.chart.title.text ? (r(), i("div", {
1150
1154
  key: 2,
1151
1155
  ref_key: "chartTitle",
1152
1156
  ref: st,
1153
1157
  style: "width:100%;background:transparent;padding-bottom:24px"
1154
1158
  }, [
1155
- (u(), Pe(_o, {
1156
- key: `title_${rt.value}`,
1159
+ (r(), Pe(Lo, {
1160
+ key: `title_${ut.value}`,
1157
1161
  config: {
1158
1162
  title: {
1159
1163
  cy: "donut-div-title",
@@ -1168,8 +1172,8 @@ const dl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
1168
1172
  ], 512)) : f("", !0),
1169
1173
  b("div", {
1170
1174
  id: `legend-top-${c.value}`
1171
- }, null, 8, Po),
1172
- e.value.userOptions.show && D.value && (s(ft) || s(qe)) ? (u(), Pe(s(Tt), {
1175
+ }, null, 8, Io),
1176
+ e.value.userOptions.show && D.value && (s(ft) || s(qe)) ? (r(), Pe(s(Tt), {
1173
1177
  ref_key: "userOptionsRef",
1174
1178
  ref: je,
1175
1179
  key: `user_option_${ae.value}`,
@@ -1197,7 +1201,7 @@ const dl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
1197
1201
  printScale: e.value.userOptions.print.scale,
1198
1202
  tableDialog: e.value.table.useDialog,
1199
1203
  onToggleFullscreen: Qt,
1200
- onGeneratePdf: s(Ae),
1204
+ onGeneratePdf: s($e),
1201
1205
  onGenerateCsv: Yt,
1202
1206
  onGenerateImage: s(_e),
1203
1207
  onGenerateSvg: ll,
@@ -1209,90 +1213,90 @@ const dl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
1209
1213
  }, Rt({ _: 2 }, [
1210
1214
  l.$slots.menuIcon ? {
1211
1215
  name: "menuIcon",
1212
- fn: C(({ isOpen: t, color: o }) => [
1213
- w(l.$slots, "menuIcon", ee(te({ isOpen: t, color: o })), void 0, !0)
1216
+ fn: k(({ isOpen: t, color: o }) => [
1217
+ C(l.$slots, "menuIcon", ee(te({ isOpen: t, color: o })), void 0, !0)
1214
1218
  ]),
1215
1219
  key: "0"
1216
1220
  } : void 0,
1217
1221
  l.$slots.optionTooltip ? {
1218
1222
  name: "optionTooltip",
1219
- fn: C(() => [
1220
- w(l.$slots, "optionTooltip", {}, void 0, !0)
1223
+ fn: k(() => [
1224
+ C(l.$slots, "optionTooltip", {}, void 0, !0)
1221
1225
  ]),
1222
1226
  key: "1"
1223
1227
  } : void 0,
1224
1228
  l.$slots.optionPdf ? {
1225
1229
  name: "optionPdf",
1226
- fn: C(() => [
1227
- w(l.$slots, "optionPdf", {}, void 0, !0)
1230
+ fn: k(() => [
1231
+ C(l.$slots, "optionPdf", {}, void 0, !0)
1228
1232
  ]),
1229
1233
  key: "2"
1230
1234
  } : void 0,
1231
1235
  l.$slots.optionCsv ? {
1232
1236
  name: "optionCsv",
1233
- fn: C(() => [
1234
- w(l.$slots, "optionCsv", {}, void 0, !0)
1237
+ fn: k(() => [
1238
+ C(l.$slots, "optionCsv", {}, void 0, !0)
1235
1239
  ]),
1236
1240
  key: "3"
1237
1241
  } : void 0,
1238
1242
  l.$slots.optionImg ? {
1239
1243
  name: "optionImg",
1240
- fn: C(() => [
1241
- w(l.$slots, "optionImg", {}, void 0, !0)
1244
+ fn: k(() => [
1245
+ C(l.$slots, "optionImg", {}, void 0, !0)
1242
1246
  ]),
1243
1247
  key: "4"
1244
1248
  } : void 0,
1245
1249
  l.$slots.optionSvg ? {
1246
1250
  name: "optionSvg",
1247
- fn: C(() => [
1248
- w(l.$slots, "optionSvg", {}, void 0, !0)
1251
+ fn: k(() => [
1252
+ C(l.$slots, "optionSvg", {}, void 0, !0)
1249
1253
  ]),
1250
1254
  key: "5"
1251
1255
  } : void 0,
1252
1256
  l.$slots.optionTable ? {
1253
1257
  name: "optionTable",
1254
- fn: C(() => [
1255
- w(l.$slots, "optionTable", {}, void 0, !0)
1258
+ fn: k(() => [
1259
+ C(l.$slots, "optionTable", {}, void 0, !0)
1256
1260
  ]),
1257
1261
  key: "6"
1258
1262
  } : void 0,
1259
1263
  l.$slots.optionLabels ? {
1260
1264
  name: "optionLabels",
1261
- fn: C(() => [
1262
- w(l.$slots, "optionLabels", {}, void 0, !0)
1265
+ fn: k(() => [
1266
+ C(l.$slots, "optionLabels", {}, void 0, !0)
1263
1267
  ]),
1264
1268
  key: "7"
1265
1269
  } : void 0,
1266
1270
  l.$slots.optionFullscreen ? {
1267
1271
  name: "optionFullscreen",
1268
- fn: C(({ toggleFullscreen: t, isFullscreen: o }) => [
1269
- w(l.$slots, "optionFullscreen", ee(te({ toggleFullscreen: t, isFullscreen: o })), void 0, !0)
1272
+ fn: k(({ toggleFullscreen: t, isFullscreen: o }) => [
1273
+ C(l.$slots, "optionFullscreen", ee(te({ toggleFullscreen: t, isFullscreen: o })), void 0, !0)
1270
1274
  ]),
1271
1275
  key: "8"
1272
1276
  } : void 0,
1273
1277
  l.$slots.optionAnnotator ? {
1274
1278
  name: "optionAnnotator",
1275
- fn: C(({ toggleAnnotator: t, isAnnotator: o }) => [
1276
- w(l.$slots, "optionAnnotator", ee(te({ toggleAnnotator: t, isAnnotator: o })), void 0, !0)
1279
+ fn: k(({ toggleAnnotator: t, isAnnotator: o }) => [
1280
+ C(l.$slots, "optionAnnotator", ee(te({ toggleAnnotator: t, isAnnotator: o })), void 0, !0)
1277
1281
  ]),
1278
1282
  key: "9"
1279
1283
  } : void 0
1280
1284
  ]), 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"])) : f("", !0),
1281
- (u(), i("svg", {
1285
+ (r(), i("svg", {
1282
1286
  ref_key: "svgRef",
1283
1287
  ref: de,
1284
- xmlns: s(lo),
1288
+ xmlns: s(ao),
1285
1289
  class: Nt({ "vue-data-ui-fullscreen--on": Oe.value, "vue-data-ui-fulscreen--off": !Oe.value, "vue-data-ui-svg": !0 }),
1286
1290
  viewBox: `0 0 ${n.value.width <= 0 ? 10 : n.value.width} ${n.value.height <= 0 ? 10 : n.value.height}`,
1287
- style: I(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color};${$e.value.css}`)
1291
+ style: I(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color};${Ae.value.css}`)
1288
1292
  }, [
1289
1293
  b("g", {
1290
1294
  ref_key: "G",
1291
1295
  ref: Fe,
1292
1296
  class: "vue-data-ui-g"
1293
1297
  }, [
1294
- wt(s(Lt)),
1295
- l.$slots["chart-background"] ? (u(), i("foreignObject", {
1298
+ Ct(s(Lt)),
1299
+ l.$slots["chart-background"] ? (r(), i("foreignObject", {
1296
1300
  key: 0,
1297
1301
  x: 0,
1298
1302
  y: 0,
@@ -1302,10 +1306,10 @@ const dl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
1302
1306
  pointerEvents: "none"
1303
1307
  }
1304
1308
  }, [
1305
- w(l.$slots, "chart-background", {}, void 0, !0)
1306
- ], 8, Io)) : f("", !0),
1307
- e.value.type === "classic" && !isNaN(ve.value / F.value) ? (u(), i("defs", Do, [
1308
- e.value.style.chart.useGradient ? (u(), i("radialGradient", {
1309
+ C(l.$slots, "chart-background", {}, void 0, !0)
1310
+ ], 8, Bo)) : f("", !0),
1311
+ e.value.type === "classic" && !isNaN(ve.value / F.value) ? (r(), i("defs", zo, [
1312
+ e.value.style.chart.useGradient ? (r(), i("radialGradient", {
1309
1313
  key: 0,
1310
1314
  id: `gradient_${c.value}`
1311
1315
  }, [
@@ -1313,25 +1317,25 @@ const dl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
1313
1317
  offset: "0%",
1314
1318
  "stop-color": s(xt)(e.value.style.chart.backgroundColor, 0),
1315
1319
  "stop-opacity": "0"
1316
- }, null, 8, zo),
1320
+ }, null, 8, Yo),
1317
1321
  b("stop", {
1318
1322
  offset: `${(1 - ve.value / F.value) * 100}%`,
1319
1323
  "stop-color": s(xt)("#FFFFFF", 0),
1320
1324
  "stop-opacity": "0"
1321
- }, null, 8, Oo),
1325
+ }, null, 8, Eo),
1322
1326
  b("stop", {
1323
1327
  offset: `${(1 - ve.value / F.value / 2) * 100}%`,
1324
1328
  "stop-color": s(xt)("#FFFFFF", e.value.style.chart.gradientIntensity)
1325
- }, null, 8, Yo),
1329
+ }, null, 8, Xo),
1326
1330
  b("stop", {
1327
1331
  offset: "100%",
1328
1332
  "stop-color": s(xt)(e.value.style.chart.backgroundColor, 0),
1329
1333
  "stop-opacity": "0"
1330
- }, null, 8, Eo)
1331
- ], 8, Bo)) : f("", !0)
1334
+ }, null, 8, No)
1335
+ ], 8, Oo)) : f("", !0)
1332
1336
  ])) : f("", !0),
1333
- e.value.type === "polar" ? (u(), i("defs", Xo, [
1334
- (u(!0), i(_, null, j(v.value, (t, o) => (u(), i("radialGradient", {
1337
+ e.value.type === "polar" ? (r(), i("defs", Ro, [
1338
+ (r(!0), i(_, null, j(v.value, (t, o) => (r(), i("radialGradient", {
1335
1339
  id: `polar_gradient_${o}_${c.value}`,
1336
1340
  cx: (isNaN(t.middlePoint.x / n.value.width * 100) ? 0 : t.middlePoint.x / n.value.width * 100) + "%",
1337
1341
  cy: (isNaN(t.middlePoint.y / n.value.height * 100) ? 0 : t.middlePoint.y / n.value.height * 100) + "%",
@@ -1339,14 +1343,14 @@ const dl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
1339
1343
  }, [
1340
1344
  b("stop", {
1341
1345
  offset: "0%",
1342
- "stop-color": s(oo)(U.value[o].color, 0.05),
1346
+ "stop-color": s(no)(U.value[o].color, 0.05),
1343
1347
  "stop-opacity": e.value.style.chart.gradientIntensity / 100
1344
- }, null, 8, Ro),
1348
+ }, null, 8, Uo),
1345
1349
  b("stop", {
1346
1350
  offset: "100%",
1347
1351
  "stop-color": U.value[o].color
1348
- }, null, 8, Vo)
1349
- ], 8, No))), 256))
1352
+ }, null, 8, Ho)
1353
+ ], 8, Vo))), 256))
1350
1354
  ])) : f("", !0),
1351
1355
  b("defs", null, [
1352
1356
  b("filter", {
@@ -1360,12 +1364,12 @@ const dl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
1360
1364
  in: "SourceGraphic",
1361
1365
  stdDeviation: 2,
1362
1366
  id: `blur_std_${c.value}`
1363
- }, null, 8, Ho),
1367
+ }, null, 8, jo),
1364
1368
  a[5] || (a[5] = b("feColorMatrix", {
1365
1369
  type: "saturate",
1366
1370
  values: "0"
1367
1371
  }, null, -1))
1368
- ], 8, Uo),
1372
+ ], 8, Go),
1369
1373
  b("filter", {
1370
1374
  id: `shadow_${c.value}`,
1371
1375
  "color-interpolation-filters": "sRGB"
@@ -1376,8 +1380,8 @@ const dl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
1376
1380
  stdDeviation: "10",
1377
1381
  "flood-opacity": "0.5",
1378
1382
  "flood-color": e.value.style.chart.layout.donut.shadowColor
1379
- }, null, 8, jo)
1380
- ], 8, Go),
1383
+ }, null, 8, qo)
1384
+ ], 8, Wo),
1381
1385
  b("filter", {
1382
1386
  id: `drop_shadow_${c.value}`,
1383
1387
  "color-interpolation-filters": "sRGB",
@@ -1392,13 +1396,13 @@ const dl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
1392
1396
  stdDeviation: "3",
1393
1397
  "flood-opacity": "1",
1394
1398
  "flood-color": e.value.style.chart.layout.donut.shadowColor
1395
- }, null, 8, qo)
1396
- ], 8, Wo)
1399
+ }, null, 8, Jo)
1400
+ ], 8, Qo)
1397
1401
  ]),
1398
- e.value.type === "classic" ? (u(!0), i(_, { key: 3 }, j(U.value.filter((t) => !t.ghost), (t, o) => (u(), i("g", null, [
1399
- q(t) && m.value.dataLabels.show ? (u(), i("path", {
1402
+ e.value.type === "classic" ? (r(!0), i(_, { key: 3 }, j(U.value.filter((t) => !t.ghost), (t, o) => (r(), i("g", null, [
1403
+ q(t) && m.value.dataLabels.show ? (r(), i("path", {
1400
1404
  key: 0,
1401
- d: s(Y)[o]?.connectorPath || s(ao)(
1405
+ d: s(Y)[o]?.connectorPath || s(so)(
1402
1406
  t,
1403
1407
  { x: n.value.width / 2, y: n.value.height / 2 },
1404
1408
  16,
@@ -1415,10 +1419,10 @@ const dl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
1415
1419
  "stroke-linejoin": "round",
1416
1420
  fill: "none",
1417
1421
  filter: ze(o)
1418
- }, null, 8, Qo)) : f("", !0)
1422
+ }, null, 8, Ko)) : f("", !0)
1419
1423
  ]))), 256)) : f("", !0),
1420
- e.value.type === "polar" ? (u(!0), i(_, { key: 4 }, j(U.value.filter((t) => !t.ghost), (t, o) => (u(), i("g", null, [
1421
- q(t) && m.value.dataLabels.show ? (u(), i("path", {
1424
+ e.value.type === "polar" ? (r(!0), i(_, { key: 4 }, j(U.value.filter((t) => !t.ghost), (t, o) => (r(), i("g", null, [
1425
+ q(t) && m.value.dataLabels.show ? (r(), i("path", {
1422
1426
  key: 0,
1423
1427
  d: `M ${s(z)({ initX: v.value[o].middlePoint.x, initY: v.value[o].middlePoint.y, offset: 24, centerX: n.value.width / 2, centerY: n.value.height / 2 }).x},${s(z)({ initX: v.value[o].middlePoint.x, initY: v.value[o].middlePoint.y, offset: 24, centerX: n.value.width / 2, centerY: n.value.height / 2 }).y} ${v.value[o].middlePoint.x},${v.value[o].middlePoint.y}`,
1424
1428
  stroke: t.color,
@@ -1430,60 +1434,60 @@ const dl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
1430
1434
  style: I({
1431
1435
  transition: P.value || !e.value.serieToggleAnimation.show ? "none" : `all ${e.value.serieToggleAnimation.durationMs}ms ease-in-out`
1432
1436
  })
1433
- }, null, 12, Jo)) : f("", !0)
1437
+ }, null, 12, Zo)) : f("", !0)
1434
1438
  ]))), 256)) : f("", !0),
1435
- e.value.type === "classic" && e.value.style.chart.layout.donut.useShadow ? (u(), i("circle", {
1439
+ e.value.type === "classic" && e.value.style.chart.layout.donut.useShadow ? (r(), i("circle", {
1436
1440
  key: 5,
1437
1441
  cx: n.value.width / 2,
1438
1442
  cy: n.value.height / 2,
1439
1443
  r: F.value <= 0 ? 10 : F.value,
1440
1444
  fill: e.value.style.chart.backgroundColor,
1441
1445
  filter: `url(#shadow_${c.value})`
1442
- }, null, 8, Ko)) : f("", !0),
1443
- l.$slots.pattern ? (u(), i("g", Zo, [
1444
- (u(!0), i(_, null, j(tt.dataset, (t, o) => (u(), i("defs", {
1446
+ }, null, 8, ea)) : f("", !0),
1447
+ l.$slots.pattern ? (r(), i("g", ta, [
1448
+ (r(!0), i(_, null, j(tt.dataset, (t, o) => (r(), i("defs", {
1445
1449
  key: `pattern-${t.patternIndex}`
1446
1450
  }, [
1447
- w(l.$slots, "pattern", Vt({ ref_for: !0 }, { seriesIndex: o, patternId: `pattern_${c.value}_${o}` }), void 0, !0)
1451
+ C(l.$slots, "pattern", Vt({ ref_for: !0 }, { seriesIndex: o, patternId: `pattern_${c.value}_${o}` }), void 0, !0)
1448
1452
  ]))), 128))
1449
1453
  ])) : f("", !0),
1450
- Q.value && e.value.type === "classic" ? (u(), i(_, { key: 7 }, [
1451
- (u(!0), i(_, null, j(re.value, (t, o) => (u(), i("path", {
1454
+ Q.value && e.value.type === "classic" ? (r(), i(_, { key: 7 }, [
1455
+ (r(!0), i(_, null, j(ue.value, (t, o) => (r(), i("path", {
1452
1456
  stroke: e.value.style.chart.backgroundColor,
1453
1457
  d: t.arcSlice,
1454
1458
  fill: "#FFFFFF"
1455
- }, null, 8, ea))), 256)),
1456
- (u(!0), i(_, null, j(re.value, (t, o) => (u(), i("path", {
1459
+ }, null, 8, la))), 256)),
1460
+ (r(!0), i(_, null, j(ue.value, (t, o) => (r(), i("path", {
1457
1461
  class: "vue-ui-donut-arc-path",
1458
1462
  d: t.arcSlice,
1459
1463
  fill: t.color,
1460
1464
  stroke: e.value.style.chart.layout.donut.borderColorAuto ? e.value.style.chart.backgroundColor : e.value.style.chart.layout.donut.borderColor,
1461
1465
  "stroke-width": e.value.style.chart.layout.donut.borderWidth,
1462
1466
  filter: ze(o)
1463
- }, null, 8, ta))), 256)),
1464
- l.$slots.pattern ? (u(), i("g", la, [
1465
- (u(!0), i(_, null, j(re.value, (t, o) => (u(), i("path", {
1467
+ }, null, 8, oa))), 256)),
1468
+ l.$slots.pattern ? (r(), i("g", aa, [
1469
+ (r(!0), i(_, null, j(ue.value, (t, o) => (r(), i("path", {
1466
1470
  class: "vue-ui-donut-arc-path",
1467
1471
  d: t.arcSlice,
1468
1472
  fill: `url(#${t.pattern})`,
1469
1473
  stroke: e.value.style.chart.layout.donut.borderColorAuto ? e.value.style.chart.backgroundColor : e.value.style.chart.layout.donut.borderColor,
1470
1474
  "stroke-width": e.value.style.chart.layout.donut.borderWidth,
1471
1475
  filter: ze(o)
1472
- }, null, 8, oa))), 256))
1476
+ }, null, 8, na))), 256))
1473
1477
  ])) : f("", !0)
1474
1478
  ], 64)) : f("", !0),
1475
- Q.value && e.value.type === "polar" ? (u(), i(_, { key: 8 }, [
1476
- U.value.length > 1 ? (u(), i("g", aa, [
1477
- (u(!0), i(_, null, j(re.value, (t, o) => (u(), i("path", {
1479
+ Q.value && e.value.type === "polar" ? (r(), i(_, { key: 8 }, [
1480
+ U.value.length > 1 ? (r(), i("g", sa, [
1481
+ (r(!0), i(_, null, j(ue.value, (t, o) => (r(), i("path", {
1478
1482
  stroke: e.value.style.chart.layout.donut.borderColorAuto ? e.value.style.chart.backgroundColor : e.value.style.chart.layout.donut.borderColor,
1479
1483
  d: v.value[o].path,
1480
1484
  fill: "#FFFFFF",
1481
1485
  style: I({
1482
1486
  transition: P.value || !e.value.serieToggleAnimation.show ? "none" : `all ${e.value.serieToggleAnimation.durationMs}ms ease-in-out`
1483
1487
  })
1484
- }, null, 12, na))), 256)),
1485
- e.value.style.chart.layout.donut.useShadow ? (u(), i("g", sa, [
1486
- (u(!0), i(_, null, j(re.value, (t, o) => (u(), i("path", {
1488
+ }, null, 12, ra))), 256)),
1489
+ e.value.style.chart.layout.donut.useShadow ? (r(), i("g", ua, [
1490
+ (r(!0), i(_, null, j(ue.value, (t, o) => (r(), i("path", {
1487
1491
  class: "vue-ui-donut-arc-path",
1488
1492
  d: v.value[o].path,
1489
1493
  fill: "transparent",
@@ -1493,10 +1497,10 @@ const dl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
1493
1497
  style: I({
1494
1498
  transition: P.value || !e.value.serieToggleAnimation.show ? "none" : `all ${e.value.serieToggleAnimation.durationMs}ms ease-in-out`
1495
1499
  })
1496
- }, null, 12, ua))), 256))
1500
+ }, null, 12, ia))), 256))
1497
1501
  ])) : f("", !0),
1498
- l.$slots.pattern ? (u(), i("g", ra, [
1499
- (u(!0), i(_, null, j(re.value, (t, o) => (u(), i("path", {
1502
+ l.$slots.pattern ? (r(), i("g", ca, [
1503
+ (r(!0), i(_, null, j(ue.value, (t, o) => (r(), i("path", {
1500
1504
  class: "vue-ui-donut-arc-path",
1501
1505
  d: v.value[o].path,
1502
1506
  fill: `url(#${t.pattern})`,
@@ -1507,9 +1511,9 @@ const dl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
1507
1511
  transition: P.value || !e.value.serieToggleAnimation.show ? "none" : `all ${e.value.serieToggleAnimation.durationMs}ms ease-in-out`,
1508
1512
  transformOrigin: "center"
1509
1513
  })
1510
- }, null, 12, ia))), 256))
1514
+ }, null, 12, da))), 256))
1511
1515
  ])) : f("", !0),
1512
- (u(!0), i(_, null, j(re.value, (t, o) => (u(), i("path", {
1516
+ (r(!0), i(_, null, j(ue.value, (t, o) => (r(), i("path", {
1513
1517
  class: "vue-ui-donut-arc-path",
1514
1518
  d: v.value[o].path,
1515
1519
  fill: e.value.style.chart.useGradient ? `url(#polar_gradient_${o}_${c.value})` : t.color,
@@ -1519,9 +1523,9 @@ const dl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
1519
1523
  style: I({
1520
1524
  transition: P.value || !e.value.serieToggleAnimation.show ? "none" : `all ${e.value.serieToggleAnimation.durationMs}ms ease-in-out`
1521
1525
  })
1522
- }, null, 12, ca))), 256))
1523
- ])) : (u(), i("g", da, [
1524
- l.$slots.pattern ? (u(), i("circle", {
1526
+ }, null, 12, va))), 256))
1527
+ ])) : (r(), i("g", ha, [
1528
+ l.$slots.pattern ? (r(), i("circle", {
1525
1529
  key: 0,
1526
1530
  cx: n.value.width / 2,
1527
1531
  cy: n.value.height / 2,
@@ -1529,7 +1533,7 @@ const dl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
1529
1533
  fill: `url(#pattern_${c.value}_${U.value[0].patternIndex})`,
1530
1534
  stroke: e.value.style.chart.backgroundColor,
1531
1535
  "stroke-width": e.value.style.chart.layout.donut.borderWidth
1532
- }, null, 8, va)) : f("", !0),
1536
+ }, null, 8, fa)) : f("", !0),
1533
1537
  b("circle", {
1534
1538
  cx: n.value.width / 2,
1535
1539
  cy: n.value.height / 2,
@@ -1537,17 +1541,17 @@ const dl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
1537
1541
  fill: e.value.style.chart.useGradient ? `url(#polar_gradient_0_${c.value})` : U.value[0].color,
1538
1542
  stroke: e.value.style.chart.backgroundColor,
1539
1543
  "stroke-width": e.value.style.chart.layout.donut.borderWidth
1540
- }, null, 8, ha)
1544
+ }, null, 8, ya)
1541
1545
  ]))
1542
- ], 64)) : (u(), i(_, { key: 9 }, [
1543
- e.value.type === "classic" && !Cl.value ? (u(), i("g", fa, [
1544
- (u(!0), i(_, null, j(xl.value, (t, o) => (u(), i("path", {
1546
+ ], 64)) : (r(), i(_, { key: 9 }, [
1547
+ e.value.type === "classic" && !Al.value ? (r(), i("g", ga, [
1548
+ (r(!0), i(_, null, j($l.value, (t, o) => (r(), i("path", {
1545
1549
  class: "vue-ui-donut-arc-path",
1546
1550
  d: t.arcSlice,
1547
1551
  fill: t.color,
1548
1552
  stroke: e.value.style.chart.backgroundColor,
1549
1553
  "stroke-width": e.value.style.chart.layout.donut.borderWidth
1550
- }, null, 8, ya))), 256))
1554
+ }, null, 8, pa))), 256))
1551
1555
  ])) : f("", !0),
1552
1556
  b("circle", {
1553
1557
  cx: n.value.width / 2,
@@ -1555,9 +1559,9 @@ const dl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
1555
1559
  r: F.value <= 0 ? 10 : F.value,
1556
1560
  fill: "transparent",
1557
1561
  stroke: e.value.style.chart.backgroundColor
1558
- }, null, 8, ga)
1562
+ }, null, 8, ba)
1559
1563
  ], 64)),
1560
- e.value.style.chart.useGradient && e.value.type === "classic" ? (u(), i("circle", {
1564
+ e.value.style.chart.useGradient && e.value.type === "classic" ? (r(), i("circle", {
1561
1565
  key: 10,
1562
1566
  cx: n.value.width / 2,
1563
1567
  cy: n.value.height / 2,
@@ -1566,7 +1570,7 @@ const dl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
1566
1570
  F.value <= 0 ? 10 : F.value
1567
1571
  ),
1568
1572
  fill: `url(#gradient_${c.value})`
1569
- }, null, 8, pa)) : f("", !0),
1573
+ }, null, 8, ma)) : f("", !0),
1570
1574
  b("circle", {
1571
1575
  ref_key: "circle_hollow",
1572
1576
  ref: Ue,
@@ -1575,23 +1579,23 @@ const dl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
1575
1579
  cx: n.value.width / 2,
1576
1580
  cy: n.value.height / 2,
1577
1581
  r: Math.max(0.1, ve.value * 1.7)
1578
- }, null, 8, ba),
1579
- Q.value ? (u(), i(_, { key: 11 }, [
1580
- U.value.length > 1 || e.value.type === "classic" ? (u(), i("g", ma, [
1581
- (u(!0), i(_, null, j(U.value.filter((t) => !t.ghost), (t, o) => (u(), i("path", {
1582
+ }, null, 8, Ca),
1583
+ Q.value ? (r(), i(_, { key: 11 }, [
1584
+ U.value.length > 1 || e.value.type === "classic" ? (r(), i("g", wa, [
1585
+ (r(!0), i(_, null, j(U.value.filter((t) => !t.ghost), (t, o) => (r(), i("path", {
1582
1586
  d: e.value.type === "classic" ? t.arcSlice : v.value[o].path,
1583
1587
  stroke: e.value.style.chart.layout.donut.borderColorAuto ? e.value.style.chart.backgroundColor : e.value.style.chart.layout.donut.borderColor,
1584
1588
  fill: M.value === o ? e.value.style.chart.layout.donut.selectedColor : "transparent",
1585
- onMouseenter: (r) => fe({
1589
+ onMouseenter: (u) => fe({
1586
1590
  datapoint: t,
1587
1591
  relativeIndex: o,
1588
1592
  seriesIndex: t.seriesIndex,
1589
1593
  show: !0
1590
1594
  }),
1591
- onMouseleave: (r) => he({ datapoint: t, seriesIndex: t.seriesIndex }),
1592
- onClick: (r) => ye(t, o)
1593
- }, null, 40, wa))), 256))
1594
- ])) : (u(), i("g", ka, [
1595
+ onMouseleave: (u) => he({ datapoint: t, seriesIndex: t.seriesIndex }),
1596
+ onClick: (u) => ye(t, o)
1597
+ }, null, 40, ka))), 256))
1598
+ ])) : (r(), i("g", xa, [
1595
1599
  b("circle", {
1596
1600
  cx: n.value.width / 2,
1597
1601
  cy: n.value.height / 2,
@@ -1605,16 +1609,16 @@ const dl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
1605
1609
  })),
1606
1610
  onMouseleave: a[1] || (a[1] = (t) => he({ datapoint: U.value[0], seriesIndex: U.value[0].seriesIndex })),
1607
1611
  onClick: a[2] || (a[2] = (t) => ye(U.value[0], l.i))
1608
- }, null, 40, Ca)
1612
+ }, null, 40, Aa)
1609
1613
  ]))
1610
1614
  ], 64)) : f("", !0),
1611
- e.value.type === "classic" ? (u(), i("g", {
1615
+ e.value.type === "classic" ? (r(), i("g", {
1612
1616
  key: 12,
1613
1617
  ref_key: "G_hollow",
1614
1618
  ref: nt,
1615
1619
  class: "vue-data-ui-donut-hollow-labels"
1616
1620
  }, [
1617
- e.value.style.chart.layout.labels.hollow.total.show ? (u(), i("text", {
1621
+ e.value.style.chart.layout.labels.hollow.total.show ? (r(), i("text", {
1618
1622
  key: 0,
1619
1623
  "text-anchor": "middle",
1620
1624
  x: n.value.width / 2,
@@ -1622,8 +1626,8 @@ const dl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
1622
1626
  fill: e.value.style.chart.layout.labels.hollow.total.color,
1623
1627
  "font-size": e.value.style.chart.layout.labels.hollow.total.fontSize,
1624
1628
  style: I(`font-weight:${e.value.style.chart.layout.labels.hollow.total.bold ? "bold" : ""}`)
1625
- }, ke(e.value.style.chart.layout.labels.hollow.total.text), 13, xa)) : f("", !0),
1626
- e.value.style.chart.layout.labels.hollow.total.show ? (u(), i("text", {
1629
+ }, we(e.value.style.chart.layout.labels.hollow.total.text), 13, $a)) : f("", !0),
1630
+ e.value.style.chart.layout.labels.hollow.total.show ? (r(), i("text", {
1627
1631
  key: 1,
1628
1632
  "text-anchor": "middle",
1629
1633
  x: n.value.width / 2,
@@ -1631,7 +1635,7 @@ const dl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
1631
1635
  fill: e.value.style.chart.layout.labels.hollow.total.value.color,
1632
1636
  "font-size": e.value.style.chart.layout.labels.hollow.total.value.fontSize,
1633
1637
  style: I(`font-weight:${e.value.style.chart.layout.labels.hollow.total.value.bold ? "bold" : ""}`)
1634
- }, ke(s(ge)(
1638
+ }, we(s(ge)(
1635
1639
  e.value.style.chart.layout.labels.hollow.total.value.formatter,
1636
1640
  Q.value,
1637
1641
  s(ie)({
@@ -1639,8 +1643,8 @@ const dl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
1639
1643
  v: Q.value,
1640
1644
  s: e.value.style.chart.layout.labels.hollow.total.value.suffix
1641
1645
  })
1642
- )), 13, $a)) : f("", !0),
1643
- e.value.style.chart.layout.labels.hollow.average.show ? (u(), i("text", {
1646
+ )), 13, _a)) : f("", !0),
1647
+ e.value.style.chart.layout.labels.hollow.average.show ? (r(), i("text", {
1644
1648
  key: 2,
1645
1649
  "text-anchor": "middle",
1646
1650
  x: n.value.width / 2,
@@ -1648,8 +1652,8 @@ const dl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
1648
1652
  fill: e.value.style.chart.layout.labels.hollow.average.color,
1649
1653
  "font-size": e.value.style.chart.layout.labels.hollow.average.fontSize,
1650
1654
  style: I(`font-weight:${e.value.style.chart.layout.labels.hollow.average.bold ? "bold" : ""}`)
1651
- }, ke(e.value.style.chart.layout.labels.hollow.average.text), 13, Aa)) : f("", !0),
1652
- e.value.style.chart.layout.labels.hollow.average.show ? (u(), i("text", {
1655
+ }, we(e.value.style.chart.layout.labels.hollow.average.text), 13, Ta)) : f("", !0),
1656
+ e.value.style.chart.layout.labels.hollow.average.show ? (r(), i("text", {
1653
1657
  key: 3,
1654
1658
  "text-anchor": "middle",
1655
1659
  x: n.value.width / 2,
@@ -1657,7 +1661,7 @@ const dl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
1657
1661
  fill: e.value.style.chart.layout.labels.hollow.average.value.color,
1658
1662
  "font-size": e.value.style.chart.layout.labels.hollow.average.value.fontSize,
1659
1663
  style: I(`font-weight:${e.value.style.chart.layout.labels.hollow.average.value.bold ? "bold" : ""}`)
1660
- }, ke(se.value || P.value ? "--" : s(ge)(
1664
+ }, we(se.value || P.value ? "--" : s(ge)(
1661
1665
  e.value.style.chart.layout.labels.hollow.average.value.formatter,
1662
1666
  zt.value,
1663
1667
  s(ie)({
@@ -1666,121 +1670,121 @@ const dl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
1666
1670
  s: e.value.style.chart.layout.labels.hollow.average.value.suffix,
1667
1671
  r: e.value.style.chart.layout.labels.hollow.average.value.rounding
1668
1672
  })
1669
- )), 13, _a)) : f("", !0)
1673
+ )), 13, La)) : f("", !0)
1670
1674
  ], 512)) : f("", !0),
1671
- (u(!0), i(_, null, j(re.value.filter((t) => !t.ghost), (t, o) => (u(), i("g", {
1675
+ (r(!0), i(_, null, j(ue.value.filter((t) => !t.ghost), (t, o) => (r(), i("g", {
1672
1676
  filter: ze(o),
1673
1677
  class: Nt({ animated: e.value.useCssAnimation }),
1674
1678
  key: t.seriesIndex,
1675
- opacity: Pl(t)
1679
+ opacity: Il(t)
1676
1680
  }, [
1677
- e.value.style.chart.layout.labels.dataLabels.useLabelSlots ? (u(), i("g", La, [
1678
- (u(), i("foreignObject", {
1679
- x: s(A)(t, !0).anchor === "end" ? s(A)(t).x - 120 : s(A)(t, !0).anchor === "middle" ? s(A)(t).x - 60 : s(A)(t).x,
1680
- y: s(Ce)(t) - (Jt.value ? 20 : 0),
1681
+ e.value.style.chart.layout.labels.dataLabels.useLabelSlots ? (r(), i("g", Ma, [
1682
+ (r(), i("foreignObject", {
1683
+ x: s($)(t, !0).anchor === "end" ? s($)(t).x - 120 : s($)(t, !0).anchor === "middle" ? s($)(t).x - 60 : s($)(t).x,
1684
+ y: s(ke)(t) - (Jt.value ? 20 : 0),
1681
1685
  width: "120",
1682
1686
  height: "60",
1683
1687
  style: { overflow: "visible" }
1684
1688
  }, [
1685
1689
  b("div", null, [
1686
- w(l.$slots, "dataLabel", Vt({ ref_for: !0 }, {
1690
+ C(l.$slots, "dataLabel", Vt({ ref_for: !0 }, {
1687
1691
  datapoint: t,
1688
1692
  isBlur: !e.value.useBlurOnHover || [null, void 0].includes(M.value) || M.value === o,
1689
1693
  isSafari: Jt.value,
1690
1694
  isVisible: q(t) && m.value.dataLabels.show,
1691
- textAlign: s(A)(t, !0, 16, !0).anchor,
1692
- flexAlign: s(A)(t, !0, 16).anchor,
1693
- percentage: Wt(t, re.value)
1695
+ textAlign: s($)(t, !0, 16, !0).anchor,
1696
+ flexAlign: s($)(t, !0, 16).anchor,
1697
+ percentage: Wt(t, ue.value)
1694
1698
  }), void 0, !0)
1695
1699
  ])
1696
- ], 8, Sa))
1697
- ])) : (u(), i("g", Ma, [
1698
- e.value.type === "classic" ? (u(), i(_, { key: 0 }, [
1699
- q(t) && m.value.dataLabels.show ? (u(), i("circle", {
1700
+ ], 8, Pa))
1701
+ ])) : (r(), i("g", Fa, [
1702
+ e.value.type === "classic" ? (r(), i(_, { key: 0 }, [
1703
+ q(t) && m.value.dataLabels.show ? (r(), i("circle", {
1700
1704
  key: 0,
1701
- cx: s(Y)[o]?.markerX ?? s(A)(t).x,
1702
- cy: s(Y)[o]?.markerY ?? s(Ce)(t) - 3.5,
1705
+ cx: s(Y)[o]?.markerX ?? s($)(t).x,
1706
+ cy: s(Y)[o]?.markerY ?? s(ke)(t) - 3.5,
1703
1707
  fill: t.color,
1704
1708
  stroke: e.value.style.chart.backgroundColor,
1705
1709
  "stroke-width": 1,
1706
1710
  r: 3,
1707
1711
  filter: !e.value.useBlurOnHover || [null, void 0].includes(M.value) || M.value === o ? "" : `url(#blur_${c.value})`,
1708
- onClick: (r) => ye(t, o),
1709
- onMouseenter: (r) => fe({
1712
+ onClick: (u) => ye(t, o),
1713
+ onMouseenter: (u) => fe({
1710
1714
  datapoint: t,
1711
1715
  relativeIndex: o,
1712
1716
  seriesIndex: t.seriesIndex,
1713
1717
  show: !0
1714
1718
  }),
1715
- onMouseleave: (r) => he({ datapoint: t, seriesIndex: t.seriesIndex })
1716
- }, null, 40, Pa)) : f("", !0),
1717
- e.value.style.chart.layout.labels.dataLabels.oneLine || s(Y)[o] ? kt((u(), i("text", {
1719
+ onMouseleave: (u) => he({ datapoint: t, seriesIndex: t.seriesIndex })
1720
+ }, null, 40, Ia)) : f("", !0),
1721
+ e.value.style.chart.layout.labels.dataLabels.oneLine || s(Y)[o] ? wt((r(), i("text", {
1718
1722
  key: 1,
1719
1723
  class: "vue-data-ui-datalabel-inline",
1720
- "text-anchor": s(Y)[o]?.textAnchor || s(A)(t, !0, 12).anchor,
1721
- x: s(Y)[o]?.labelX ?? s(A)(t, !0, 12).x,
1722
- y: s(Y)[o]?.labelY ?? s(Ce)(t),
1723
- onClick: (r) => ye(t, o),
1724
- onMouseenter: (r) => fe({
1724
+ "text-anchor": s(Y)[o]?.textAnchor || s($)(t, !0, 12).anchor,
1725
+ x: s(Y)[o]?.labelX ?? s($)(t, !0, 12).x,
1726
+ y: s(Y)[o]?.labelY ?? s(ke)(t),
1727
+ onClick: (u) => ye(t, o),
1728
+ onMouseenter: (u) => fe({
1725
1729
  datapoint: t,
1726
1730
  relativeIndex: o,
1727
1731
  seriesIndex: t.seriesIndex,
1728
1732
  show: !0
1729
1733
  }),
1730
- onMouseleave: (r) => he({ datapoint: t, seriesIndex: t.seriesIndex }),
1731
- innerHTML: Sl(t, o, !!s(Y)[o])
1732
- }, null, 40, Fa)), [
1733
- [Ct, q(t) && m.value.dataLabels.show]
1734
- ]) : (u(), i(_, { key: 2 }, [
1735
- kt(b("text", {
1734
+ onMouseleave: (u) => he({ datapoint: t, seriesIndex: t.seriesIndex }),
1735
+ innerHTML: Pl(t, o, !!s(Y)[o])
1736
+ }, null, 40, Da)), [
1737
+ [kt, q(t) && m.value.dataLabels.show]
1738
+ ]) : (r(), i(_, { key: 2 }, [
1739
+ wt(b("text", {
1736
1740
  class: "vue-data-ui-datalabel-value",
1737
- "text-anchor": s(Y)[o]?.textAnchor || s(A)(t, !0, 12).anchor,
1738
- x: s(Y)[o]?.labelX ?? s(A)(t, !0, 12).x,
1739
- y: s(Y)[o]?.labelY ?? s(Ce)(t),
1741
+ "text-anchor": s(Y)[o]?.textAnchor || s($)(t, !0, 12).anchor,
1742
+ x: s(Y)[o]?.labelX ?? s($)(t, !0, 12).x,
1743
+ y: s(Y)[o]?.labelY ?? s(ke)(t),
1740
1744
  fill: e.value.style.chart.layout.labels.percentage.color,
1741
1745
  "font-size": xe.value + "px",
1742
1746
  style: I(`font-weight:${e.value.style.chart.layout.labels.percentage.bold ? "bold" : ""}`),
1743
- onClick: (r) => ye(t, o),
1744
- onMouseenter: (r) => fe({
1747
+ onClick: (u) => ye(t, o),
1748
+ onMouseenter: (u) => fe({
1745
1749
  datapoint: t,
1746
1750
  relativeIndex: o,
1747
1751
  seriesIndex: t.seriesIndex,
1748
1752
  show: !0
1749
1753
  }),
1750
- onMouseleave: (r) => he({ datapoint: t, seriesIndex: t.seriesIndex })
1751
- }, ke(bt(t)), 45, Ia), [
1752
- [Ct, q(t) && m.value.dataLabels.show]
1754
+ onMouseleave: (u) => he({ datapoint: t, seriesIndex: t.seriesIndex })
1755
+ }, we(bt(t)), 45, Ba), [
1756
+ [kt, q(t) && m.value.dataLabels.show]
1753
1757
  ]),
1754
- kt(b("text", {
1758
+ wt(b("text", {
1755
1759
  class: "vue-data-ui-datalabel-name",
1756
- "text-anchor": s(Y)[o]?.textAnchor || s(A)(t).anchor,
1757
- x: s(Y)[o]?.labelX ?? s(A)(t, !0, 12).x,
1758
- y: (s(Y)[o]?.labelY ?? s(Ce)(t)) + N.value * 1.2,
1760
+ "text-anchor": s(Y)[o]?.textAnchor || s($)(t).anchor,
1761
+ x: s(Y)[o]?.labelX ?? s($)(t, !0, 12).x,
1762
+ y: (s(Y)[o]?.labelY ?? s(ke)(t)) + N.value * 1.2,
1759
1763
  fill: e.value.style.chart.layout.labels.name.color,
1760
1764
  "font-size": N.value + "px",
1761
1765
  style: I(`font-weight:${e.value.style.chart.layout.labels.name.bold ? "bold" : ""}`),
1762
- onClick: (r) => ye(t, o),
1763
- onMouseenter: (r) => fe({
1766
+ onClick: (u) => ye(t, o),
1767
+ onMouseenter: (u) => fe({
1764
1768
  datapoint: t,
1765
1769
  relativeIndex: o,
1766
1770
  seriesIndex: t.seriesIndex,
1767
1771
  show: !0
1768
1772
  }),
1769
- onMouseleave: (r) => he({ datapoint: t, seriesIndex: t.seriesIndex }),
1773
+ onMouseleave: (u) => he({ datapoint: t, seriesIndex: t.seriesIndex }),
1770
1774
  innerHTML: s(il)({
1771
1775
  content: t.name,
1772
1776
  fontSize: N.value,
1773
1777
  fill: e.value.style.chart.layout.labels.name.color,
1774
- x: s(Y)[o]?.labelX ?? s(A)(t, !0, 12).x,
1775
- y: (s(Y)[o]?.labelY ?? s(Ce)(t)) + N.value
1778
+ x: s(Y)[o]?.labelX ?? s($)(t, !0, 12).x,
1779
+ y: (s(Y)[o]?.labelY ?? s(ke)(t)) + N.value
1776
1780
  })
1777
- }, null, 44, Da), [
1778
- [Ct, q(t) && m.value.dataLabels.show]
1781
+ }, null, 44, za), [
1782
+ [kt, q(t) && m.value.dataLabels.show]
1779
1783
  ])
1780
1784
  ], 64))
1781
1785
  ], 64)) : f("", !0),
1782
- e.value.type === "polar" ? (u(), i(_, { key: 1 }, [
1783
- q(t) && m.value.dataLabels.show ? (u(), i("circle", {
1786
+ e.value.type === "polar" ? (r(), i(_, { key: 1 }, [
1787
+ q(t) && m.value.dataLabels.show ? (r(), i("circle", {
1784
1788
  key: 0,
1785
1789
  cx: s(z)({ initX: v.value[o].middlePoint.x, initY: v.value[o].middlePoint.y, offset: 24, centerX: n.value.width / 2, centerY: n.value.height / 2 }).x,
1786
1790
  cy: s(z)({ initX: v.value[o].middlePoint.x, initY: v.value[o].middlePoint.y, offset: 24, centerX: n.value.width / 2, centerY: n.value.height / 2 }).y,
@@ -1789,19 +1793,19 @@ const dl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
1789
1793
  "stroke-width": 1,
1790
1794
  r: 3,
1791
1795
  filter: !e.value.useBlurOnHover || [null, void 0].includes(M.value) || M.value === o ? "" : `url(#blur_${c.value})`,
1792
- onClick: (r) => ye(t, o),
1793
- onMouseenter: (r) => fe({
1796
+ onClick: (u) => ye(t, o),
1797
+ onMouseenter: (u) => fe({
1794
1798
  datapoint: t,
1795
1799
  relativeIndex: o,
1796
1800
  seriesIndex: t.seriesIndex,
1797
1801
  show: !0
1798
1802
  }),
1799
- onMouseleave: (r) => he({ datapoint: t, seriesIndex: t.seriesIndex }),
1803
+ onMouseleave: (u) => he({ datapoint: t, seriesIndex: t.seriesIndex }),
1800
1804
  style: I({
1801
1805
  transition: P.value || !e.value.serieToggleAnimation.show ? "none" : `all ${e.value.serieToggleAnimation.durationMs}ms ease-in-out`
1802
1806
  })
1803
- }, null, 44, Ba)) : f("", !0),
1804
- e.value.style.chart.layout.labels.dataLabels.oneLine ? kt((u(), i("text", {
1807
+ }, null, 44, Oa)) : f("", !0),
1808
+ e.value.style.chart.layout.labels.dataLabels.oneLine ? wt((r(), i("text", {
1805
1809
  key: 1,
1806
1810
  class: "vue-data-ui-datalabel-inline",
1807
1811
  "text-anchor": Te(v.value[o].middlePoint),
@@ -1810,19 +1814,19 @@ const dl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
1810
1814
  style: I({
1811
1815
  transition: P.value || !e.value.serieToggleAnimation.show ? "none" : `all ${e.value.serieToggleAnimation.durationMs}ms ease-in-out`
1812
1816
  }),
1813
- onClick: (r) => ye(t, o),
1814
- onMouseenter: (r) => fe({
1817
+ onClick: (u) => ye(t, o),
1818
+ onMouseenter: (u) => fe({
1815
1819
  datapoint: t,
1816
1820
  relativeIndex: o,
1817
1821
  seriesIndex: t.seriesIndex,
1818
1822
  show: !0
1819
1823
  }),
1820
- onMouseleave: (r) => he({ datapoint: t, seriesIndex: t.seriesIndex }),
1821
- innerHTML: Ml(t, o)
1822
- }, null, 44, za)), [
1823
- [Ct, q(t) && m.value.dataLabels.show]
1824
- ]) : (u(), i(_, { key: 2 }, [
1825
- q(t) && m.value.dataLabels.show ? (u(), i("text", {
1824
+ onMouseleave: (u) => he({ datapoint: t, seriesIndex: t.seriesIndex }),
1825
+ innerHTML: Fl(t, o)
1826
+ }, null, 44, Ya)), [
1827
+ [kt, q(t) && m.value.dataLabels.show]
1828
+ ]) : (r(), i(_, { key: 2 }, [
1829
+ q(t) && m.value.dataLabels.show ? (r(), i("text", {
1826
1830
  key: 0,
1827
1831
  class: "vue-data-ui-datalabel-value",
1828
1832
  "text-anchor": Te(v.value[o].middlePoint),
@@ -1834,16 +1838,16 @@ const dl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
1834
1838
  transition: P.value || !e.value.serieToggleAnimation.show ? "none" : `all ${e.value.serieToggleAnimation.durationMs}ms ease-in-out`,
1835
1839
  fontWeight: e.value.style.chart.layout.labels.percentage.bold ? "bold" : "normal"
1836
1840
  }),
1837
- onClick: (r) => ye(t, o),
1838
- onMouseenter: (r) => fe({
1841
+ onClick: (u) => ye(t, o),
1842
+ onMouseenter: (u) => fe({
1839
1843
  datapoint: t,
1840
1844
  relativeIndex: o,
1841
1845
  seriesIndex: t.seriesIndex,
1842
1846
  show: !0
1843
1847
  }),
1844
- onMouseleave: (r) => he({ datapoint: t, seriesIndex: t.seriesIndex })
1845
- }, ke(bt(t)), 45, Oa)) : f("", !0),
1846
- q(t) && m.value.dataLabels.show ? (u(), i("text", {
1848
+ onMouseleave: (u) => he({ datapoint: t, seriesIndex: t.seriesIndex })
1849
+ }, we(bt(t)), 45, Ea)) : f("", !0),
1850
+ q(t) && m.value.dataLabels.show ? (r(), i("text", {
1847
1851
  key: 1,
1848
1852
  class: "vue-data-ui-datalabel-name",
1849
1853
  "text-anchor": Te(v.value[o].middlePoint),
@@ -1855,14 +1859,14 @@ const dl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
1855
1859
  transition: P.value || !e.value.serieToggleAnimation.show ? "none" : `all ${e.value.serieToggleAnimation.durationMs}ms ease-in-out`,
1856
1860
  fontWeight: e.value.style.chart.layout.labels.name.bold ? "bold" : "normal"
1857
1861
  }),
1858
- onClick: (r) => ye(t, o),
1859
- onMouseenter: (r) => fe({
1862
+ onClick: (u) => ye(t, o),
1863
+ onMouseenter: (u) => fe({
1860
1864
  datapoint: t,
1861
1865
  relativeIndex: o,
1862
1866
  seriesIndex: t.seriesIndex,
1863
1867
  show: !0
1864
1868
  }),
1865
- onMouseleave: (r) => he({ datapoint: t, seriesIndex: t.seriesIndex }),
1869
+ onMouseleave: (u) => he({ datapoint: t, seriesIndex: t.seriesIndex }),
1866
1870
  innerHTML: s(il)({
1867
1871
  content: t.name,
1868
1872
  fontSize: xe.value,
@@ -1870,29 +1874,29 @@ const dl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
1870
1874
  x: s(z)({ initX: v.value[o].middlePoint.x, initY: v.value[o].middlePoint.y, offset: 42, centerX: n.value.width / 2, centerY: n.value.height / 2 }).x,
1871
1875
  y: s(z)({ initX: v.value[o].middlePoint.x, initY: v.value[o].middlePoint.y, offset: 42, centerX: n.value.width / 2, centerY: n.value.height / 2 }).y + N.value * 1.2
1872
1876
  })
1873
- }, null, 44, Ya)) : f("", !0)
1877
+ }, null, 44, Xa)) : f("", !0)
1874
1878
  ], 64))
1875
1879
  ], 64)) : f("", !0)
1876
1880
  ])),
1877
- m.value.dataLabels.show && e.value.style.chart.comments.show && t.comment ? (u(), i("g", Ea, [
1878
- q(t) && e.value.type === "classic" ? (u(), i("foreignObject", {
1881
+ m.value.dataLabels.show && e.value.style.chart.comments.show && t.comment ? (r(), i("g", Na, [
1882
+ q(t) && e.value.type === "classic" ? (r(), i("foreignObject", {
1879
1883
  key: 0,
1880
- x: e.value.style.chart.comments.offsetX + (s(A)(t, !0).anchor === "end" ? s(A)(t).x - e.value.style.chart.comments.width : s(A)(t, !0).anchor === "middle" ? s(A)(t).x - e.value.style.chart.comments.width / 2 : s(A)(t).x),
1881
- y: s(Ce)(t) + 24 + e.value.style.chart.comments.offsetY,
1884
+ x: e.value.style.chart.comments.offsetX + (s($)(t, !0).anchor === "end" ? s($)(t).x - e.value.style.chart.comments.width : s($)(t, !0).anchor === "middle" ? s($)(t).x - e.value.style.chart.comments.width / 2 : s($)(t).x),
1885
+ y: s(ke)(t) + 24 + e.value.style.chart.comments.offsetY,
1882
1886
  width: e.value.style.chart.comments.width,
1883
1887
  height: "200",
1884
1888
  style: { overflow: "visible", "pointer-events": "none" }
1885
1889
  }, [
1886
1890
  b("div", null, [
1887
- w(l.$slots, "plot-comment", {
1888
- plot: { ...t, textAlign: s(A)(t, !0, 16, !0).anchor, flexAlign: s(A)(t, !0, 16).anchor, isFirstLoad: P.value }
1891
+ C(l.$slots, "plot-comment", {
1892
+ plot: { ...t, textAlign: s($)(t, !0, 16, !0).anchor, flexAlign: s($)(t, !0, 16).anchor, isFirstLoad: P.value }
1889
1893
  }, void 0, !0)
1890
1894
  ])
1891
- ], 8, Xa)) : f("", !0),
1892
- q(t) && e.value.type === "polar" ? (u(), i("foreignObject", {
1895
+ ], 8, Ra)) : f("", !0),
1896
+ q(t) && e.value.type === "polar" ? (r(), i("foreignObject", {
1893
1897
  key: 1,
1894
1898
  x: e.value.style.chart.comments.offsetX + (Te(v.value[o].middlePoint) === "end" ? s(z)({ initX: v.value[o].middlePoint.x, initY: v.value[o].middlePoint.y, offset: 42, centerX: n.value.width / 2, centerY: n.value.height / 2 }).x - e.value.style.chart.comments.width : Te(v.value[o].middlePoint) === "middle" ? s(z)({ initX: v.value[o].middlePoint.x, initY: v.value[o].middlePoint.y, offset: 42, centerX: n.value.width / 2, centerY: n.value.height / 2 }).x - e.value.style.chart.comments.width / 2 : s(z)({ initX: v.value[o].middlePoint.x, initY: v.value[o].middlePoint.y, offset: 42, centerX: n.value.width / 2, centerY: n.value.height / 2 }).x),
1895
- y: $l(v.value[o]) + e.value.style.chart.comments.offsetY,
1899
+ y: _l(v.value[o]) + e.value.style.chart.comments.offsetY,
1896
1900
  width: e.value.style.chart.comments.width,
1897
1901
  height: "200",
1898
1902
  style: I({
@@ -1902,48 +1906,48 @@ const dl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
1902
1906
  })
1903
1907
  }, [
1904
1908
  b("div", null, [
1905
- w(l.$slots, "plot-comment", {
1909
+ C(l.$slots, "plot-comment", {
1906
1910
  plot: { ...t, textAlign: Te(v.value[o].middlePoint), flexAlign: Te(v.value[o].middlePoint), isFirstLoad: P.value }
1907
1911
  }, void 0, !0)
1908
1912
  ])
1909
- ], 12, Na)) : f("", !0)
1913
+ ], 12, Va)) : f("", !0)
1910
1914
  ])) : f("", !0)
1911
- ], 10, Ta))), 128)),
1912
- w(l.$slots, "svg", { svg: n.value }, void 0, !0)
1915
+ ], 10, Sa))), 128)),
1916
+ C(l.$slots, "svg", { svg: n.value }, void 0, !0)
1913
1917
  ], 512)
1914
- ], 14, Fo)),
1915
- l.$slots.watermark ? (u(), i("div", Ra, [
1916
- w(l.$slots, "watermark", ee(te({ isPrinting: s(K) || s(Z) })), void 0, !0)
1918
+ ], 14, Do)),
1919
+ l.$slots.watermark ? (r(), i("div", Ua, [
1920
+ C(l.$slots, "watermark", ee(te({ isPrinting: s(K) || s(Z) })), void 0, !0)
1917
1921
  ])) : f("", !0),
1918
1922
  b("div", {
1919
1923
  id: `legend-bottom-${c.value}`
1920
- }, null, 8, Va),
1921
- dt.value ? (u(), Pe(jl, {
1924
+ }, null, 8, Ha),
1925
+ dt.value ? (r(), Pe(ql, {
1922
1926
  key: 5,
1923
1927
  to: e.value.style.chart.legend.position === "top" ? `#legend-top-${c.value}` : `#legend-bottom-${c.value}`
1924
1928
  }, [
1925
1929
  b("div", {
1926
1930
  ref_key: "chartLegend",
1927
- ref: ut
1931
+ ref: rt
1928
1932
  }, [
1929
- e.value.style.chart.legend.show ? (u(), Pe(To, {
1933
+ e.value.style.chart.legend.show ? (r(), Pe(So, {
1930
1934
  key: `legend_${ct.value}`,
1931
1935
  legendSet: Bt.value,
1932
- config: kl.value,
1936
+ config: xl.value,
1933
1937
  onClickMarker: a[3] || (a[3] = ({ i: t }) => Xe(t))
1934
1938
  }, Rt({
1935
- item: C(({ legend: t, index: o }) => [
1939
+ item: k(({ legend: t, index: o }) => [
1936
1940
  b("div", {
1937
1941
  style: I(`opacity:${O.value.includes(o) ? 0.5 : 1}`),
1938
- onClick: (r) => t.segregate()
1939
- }, ke(t.display), 13, Ua)
1942
+ onClick: (u) => t.segregate()
1943
+ }, we(t.display), 13, Ga)
1940
1944
  ]),
1941
1945
  _: 2
1942
1946
  }, [
1943
1947
  l.$slots.pattern ? {
1944
1948
  name: "legend-pattern",
1945
- fn: C(({ legend: t, index: o }) => [
1946
- wt(Ao, {
1949
+ fn: k(({ legend: t, index: o }) => [
1950
+ Ct(To, {
1947
1951
  shape: t.shape,
1948
1952
  radius: 30,
1949
1953
  stroke: "none",
@@ -1954,25 +1958,25 @@ const dl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
1954
1958
  key: "0"
1955
1959
  } : void 0
1956
1960
  ]), 1032, ["legendSet", "config"])) : f("", !0),
1957
- w(l.$slots, "legend", { legend: Bt.value }, void 0, !0)
1961
+ C(l.$slots, "legend", { legend: Bt.value }, void 0, !0)
1958
1962
  ], 512)
1959
1963
  ], 8, ["to"])) : f("", !0),
1960
- l.$slots.source ? (u(), i("div", {
1964
+ l.$slots.source ? (r(), i("div", {
1961
1965
  key: 6,
1962
1966
  ref_key: "source",
1963
1967
  ref: He,
1964
1968
  dir: "auto"
1965
1969
  }, [
1966
- w(l.$slots, "source", {}, void 0, !0)
1970
+ C(l.$slots, "source", {}, void 0, !0)
1967
1971
  ], 512)) : f("", !0),
1968
- l.$slots.hollow ? (u(), i("div", Ha, [
1969
- w(l.$slots, "hollow", ee(te({
1972
+ l.$slots.hollow ? (r(), i("div", ja, [
1973
+ C(l.$slots, "hollow", ee(te({
1970
1974
  total: Q.value,
1971
1975
  average: zt.value,
1972
1976
  dataset: R.value
1973
1977
  })), void 0, !0)
1974
1978
  ])) : f("", !0),
1975
- wt(s(Re), {
1979
+ Ct(s(Re), {
1976
1980
  teleportTo: e.value.style.chart.tooltip.teleportTo,
1977
1981
  show: m.value.showTooltip && S.value,
1978
1982
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
@@ -1993,21 +1997,21 @@ const dl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
1993
1997
  smoothForce: e.value.style.chart.tooltip.smoothForce,
1994
1998
  smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThrehsold
1995
1999
  }, {
1996
- "tooltip-before": C(() => [
1997
- w(l.$slots, "tooltip-before", ee(te({ ...Ot.value })), void 0, !0)
2000
+ "tooltip-before": k(() => [
2001
+ C(l.$slots, "tooltip-before", ee(te({ ...Ot.value })), void 0, !0)
1998
2002
  ]),
1999
- "tooltip-after": C(() => [
2000
- w(l.$slots, "tooltip-after", ee(te({ ...Ot.value })), void 0, !0)
2003
+ "tooltip-after": k(() => [
2004
+ C(l.$slots, "tooltip-after", ee(te({ ...Ot.value })), void 0, !0)
2001
2005
  ]),
2002
2006
  _: 3
2003
2007
  }, 8, ["teleportTo", "show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom", "isFullscreen", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
2004
- D.value && e.value.userOptions.buttons.table ? (u(), Pe(Wl(et.value.component), Vt({ key: 8 }, et.value.props, {
2008
+ D.value && e.value.userOptions.buttons.table ? (r(), Pe(Ql(et.value.component), Vt({ key: 8 }, et.value.props, {
2005
2009
  ref_key: "tableUnit",
2006
2010
  ref: Ie,
2007
2011
  onClose: tl
2008
2012
  }), Rt({
2009
- content: C(() => [
2010
- (u(), Pe(s(at), {
2013
+ content: k(() => [
2014
+ (r(), Pe(s(at), {
2011
2015
  key: `table_${it.value}`,
2012
2016
  colNames: pt.value.colNames,
2013
2017
  head: pt.value.head,
@@ -2017,14 +2021,14 @@ const dl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
2017
2021
  withCloseButton: !e.value.table.useDialog,
2018
2022
  onClose: tl
2019
2023
  }, {
2020
- th: C(({ th: t }) => [
2024
+ th: k(({ th: t }) => [
2021
2025
  b("div", {
2022
2026
  innerHTML: t,
2023
2027
  style: { display: "flex", "align-items": "center" }
2024
- }, null, 8, Ga)
2028
+ }, null, 8, Wa)
2025
2029
  ]),
2026
- td: C(({ td: t }) => [
2027
- nl(ke(t.name ? t.name : isNaN(Number(t)) ? t.includes("%") ? t : s(ge)(
2030
+ td: k(({ td: t }) => [
2031
+ nl(we(t.name ? t.name : isNaN(Number(t)) ? t.includes("%") ? t : s(ge)(
2028
2032
  e.value.style.chart.layout.labels.percentage.formatter,
2029
2033
  t,
2030
2034
  s(ie)({
@@ -2050,20 +2054,20 @@ const dl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
2050
2054
  }, [
2051
2055
  e.value.table.useDialog ? {
2052
2056
  name: "title",
2053
- fn: C(() => [
2054
- nl(ke(et.value.title), 1)
2057
+ fn: k(() => [
2058
+ nl(we(et.value.title), 1)
2055
2059
  ]),
2056
2060
  key: "0"
2057
2061
  } : void 0,
2058
2062
  e.value.table.useDialog ? {
2059
2063
  name: "actions",
2060
- fn: C(() => [
2064
+ fn: k(() => [
2061
2065
  b("button", {
2062
2066
  tabindex: "0",
2063
2067
  class: "vue-ui-user-options-button",
2064
2068
  onClick: a[4] || (a[4] = (t) => Yt(e.value.userOptions.callbacks.csv))
2065
2069
  }, [
2066
- wt(s(ot), {
2070
+ Ct(s(ot), {
2067
2071
  name: "excel",
2068
2072
  stroke: et.value.props.color
2069
2073
  }, null, 8, ["stroke"])
@@ -2072,15 +2076,15 @@ const dl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
2072
2076
  key: "1"
2073
2077
  } : void 0
2074
2078
  ]), 1040)) : f("", !0),
2075
- s(ne) ? (u(), Pe(mo, { key: 9 })) : f("", !0)
2076
- ], 46, Mo));
2079
+ s(ne) ? (r(), Pe(wo, { key: 9 })) : f("", !0)
2080
+ ], 46, Fo));
2077
2081
  }
2078
- }, Wa = /* @__PURE__ */ Lo(ja, [["__scopeId", "data-v-0bacea64"]]), hn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2082
+ }, Qa = /* @__PURE__ */ Mo(qa, [["__scopeId", "data-v-0bacea64"]]), yn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2079
2083
  __proto__: null,
2080
- default: Wa
2084
+ default: Qa
2081
2085
  }, Symbol.toStringTag, { value: "Module" }));
2082
2086
  export {
2083
- Wa as V,
2084
- hn as a,
2085
- vn as v
2087
+ Qa as V,
2088
+ yn as a,
2089
+ fn as v
2086
2090
  };