vue-data-ui 3.1.1 → 3.1.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 (93) hide show
  1. package/dist/{Arrow-xQM7mBzd.js → Arrow-BotYLY2I.js} +1 -1
  2. package/dist/{BaseDraggableDialog-B2BQC0-h.js → BaseDraggableDialog-Dkpr-qUQ.js} +2 -2
  3. package/dist/{BaseIcon-DLesaZpW.js → BaseIcon-BLg8FaQ2.js} +5 -3
  4. package/dist/{ColorPicker-BKvJvFtX.js → ColorPicker-C2sMVpbA.js} +2 -2
  5. package/dist/{DataTable-BAf4Obr9.js → DataTable-BRN1-1ob.js} +2 -2
  6. package/dist/{Legend-8_V5egWW.js → Legend-DLzeDl3-.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-Cq4fHmA0.js → NonSvgPenAndPaper-Dp53d2re.js} +3 -3
  8. package/dist/{PackageVersion-Cv_ypT0N.js → PackageVersion-Jz9FlNXl.js} +1 -1
  9. package/dist/{PenAndPaper-B6OvfyHH.js → PenAndPaper-TgGWddgD.js} +3 -3
  10. package/dist/{Shape-Cjca5zta.js → Shape-Bmpx9GRg.js} +1 -1
  11. package/dist/{Slicer-6w3K8gAc.js → Slicer-DeWHn8zH.js} +2 -2
  12. package/dist/{SparkTooltip-BV4Z-NMp.js → SparkTooltip-C6fJOQ0j.js} +1 -1
  13. package/dist/{Title-Dz-j6ERs.js → Title-AGmmsSi_.js} +1 -1
  14. package/dist/{Tooltip-BTGOEC7w.js → Tooltip-le0yZk_t.js} +1 -1
  15. package/dist/{UserOptions-CsDlFB0L.js → UserOptions-DEFwuQIo.js} +125 -108
  16. package/dist/{dom-to-png-BOu5-Ohz.js → dom-to-png-C7V0EktO.js} +1 -1
  17. package/dist/{img-gBDz7xQQ.js → img-DvuphHeJ.js} +1 -1
  18. package/dist/{index-BKQqb9lF.js → index-BFqW8WA0.js} +97 -74
  19. package/dist/pdf-Bdf65IBz.js +79 -0
  20. package/dist/style.css +1 -1
  21. package/dist/types/vue-data-ui.d.cts +25 -2
  22. package/dist/types/vue-data-ui.d.ts +25 -2
  23. package/dist/{useAutoSizeLabelsInsideViewbox-IO2dh0Uq.js → useAutoSizeLabelsInsideViewbox-N1I6Rk6M.js} +1 -1
  24. package/dist/{useNestedProp-aBOhgs4U.js → useNestedProp-BSZCnuGl.js} +1 -1
  25. package/dist/{usePrinter-BzuXiubT.js → usePrinter-DDIKRiOp.js} +13 -12
  26. package/dist/{vue-data-ui-B6eM6hF3.js → vue-data-ui-vwh3dolO.js} +64 -64
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/{vue-ui-3d-bar-DBeWmnvH.js → vue-ui-3d-bar-DNw3RWRt.js} +371 -366
  29. package/dist/{vue-ui-accordion-B5QeV3BK.js → vue-ui-accordion-Cv747Pg6.js} +3 -3
  30. package/dist/{vue-ui-age-pyramid-rZFdUsgz.js → vue-ui-age-pyramid-B1Yun-v7.js} +200 -195
  31. package/dist/{vue-ui-annotator-CCCuslrT.js → vue-ui-annotator-B_5hOApA.js} +2 -2
  32. package/dist/{vue-ui-bullet-DhJf9mvK.js → vue-ui-bullet-C2Aj7Lcx.js} +7 -7
  33. package/dist/{vue-ui-candlestick-CGVtDKqZ.js → vue-ui-candlestick-BBYqZVUp.js} +225 -220
  34. package/dist/{vue-ui-carousel-table-DLAR3WY8.js → vue-ui-carousel-table-DPIOnp9J.js} +4 -4
  35. package/dist/{vue-ui-chestnut-BXnSxoXB.js → vue-ui-chestnut-C4B0wEFn.js} +344 -340
  36. package/dist/{vue-ui-chord-DH_MwAKX.js → vue-ui-chord-B9Zml1V7.js} +272 -266
  37. package/dist/{vue-ui-circle-pack-Cx_E1R63.js → vue-ui-circle-pack-CLn19BHH.js} +6 -6
  38. package/dist/{vue-ui-cursor-CEvH1qDS.js → vue-ui-cursor-AVEV-uv3.js} +2 -2
  39. package/dist/vue-ui-dashboard-DwNYa1I4.js +412 -0
  40. package/dist/{vue-ui-digits-PTozKs3l.js → vue-ui-digits-Dr4OHGU0.js} +2 -2
  41. package/dist/{vue-ui-donut-evolution-DD7o-CxF.js → vue-ui-donut-evolution-hJh-1Z48.js} +310 -304
  42. package/dist/{vue-ui-donut-CsEtKJJD.js → vue-ui-donut-xseR2SnT.js} +348 -343
  43. package/dist/{vue-ui-dumbbell-DfPYl3fu.js → vue-ui-dumbbell-FdTx7uAG.js} +293 -287
  44. package/dist/{vue-ui-flow-CSTTZHwg.js → vue-ui-flow-Bh6FqlC1.js} +263 -257
  45. package/dist/{vue-ui-funnel-C-NUZqIo.js → vue-ui-funnel-BlsKhHbk.js} +206 -200
  46. package/dist/{vue-ui-galaxy-BwsZnU6T.js → vue-ui-galaxy-C0B8stYi.js} +243 -238
  47. package/dist/{vue-ui-gauge-D9MUneq0.js → vue-ui-gauge-B1-UiZwV.js} +7 -7
  48. package/dist/{vue-ui-gizmo-Dnzs9wSf.js → vue-ui-gizmo-Df_SCjOI.js} +3 -3
  49. package/dist/{vue-ui-heatmap-CYaQIhy8.js → vue-ui-heatmap-NfRSd6fU.js} +405 -401
  50. package/dist/{vue-ui-history-plot-DMTFzl-_.js → vue-ui-history-plot-Ce-DJ8xC.js} +305 -299
  51. package/dist/{vue-ui-kpi-CkPotdff.js → vue-ui-kpi-CH3rWyiG.js} +3 -3
  52. package/dist/{vue-ui-mini-loader-CCE-bDOJ.js → vue-ui-mini-loader-D9EVnpxk.js} +2 -2
  53. package/dist/{vue-ui-molecule-DaN5lroq.js → vue-ui-molecule-C973vfYh.js} +188 -183
  54. package/dist/{vue-ui-mood-radar-tM0mmZh8.js → vue-ui-mood-radar-DdLxBhlO.js} +197 -192
  55. package/dist/{vue-ui-nested-donuts-RB4r6beI.js → vue-ui-nested-donuts-tARXMYzx.js} +326 -320
  56. package/dist/{vue-ui-onion-CxDozHg3.js → vue-ui-onion-BC9czZGG.js} +8 -8
  57. package/dist/{vue-ui-parallel-coordinate-plot-CK9nNExU.js → vue-ui-parallel-coordinate-plot-CxDIkZKr.js} +401 -395
  58. package/dist/{vue-ui-quadrant-C7tLJYn7.js → vue-ui-quadrant-Bpm5ZoTp.js} +339 -334
  59. package/dist/{vue-ui-quick-chart-MUBAkrHb.js → vue-ui-quick-chart-Bkc_JBCw.js} +6 -6
  60. package/dist/{vue-ui-radar-Br4K80I9.js → vue-ui-radar-DVJQYNeL.js} +248 -243
  61. package/dist/{vue-ui-rating-NtvT9r_M.js → vue-ui-rating-DITnRSiS.js} +2 -2
  62. package/dist/{vue-ui-relation-circle-CPQjAy1g.js → vue-ui-relation-circle-D_OTYUmS.js} +7 -7
  63. package/dist/{vue-ui-ridgeline-C2M_Cjlh.js → vue-ui-ridgeline-Gc1c4LXq.js} +267 -263
  64. package/dist/{vue-ui-rings-DEru-cWN.js → vue-ui-rings-CUT1N_kK.js} +229 -224
  65. package/dist/{vue-ui-scatter-CJKkiKle.js → vue-ui-scatter-DwnZHy0V.js} +359 -354
  66. package/dist/{vue-ui-skeleton--twnjS2t.js → vue-ui-skeleton-CeyaKpZd.js} +3 -3
  67. package/dist/{vue-ui-smiley-CNccdPZ7.js → vue-ui-smiley-B9yNexWr.js} +2 -2
  68. package/dist/{vue-ui-spark-trend-9BFkkC0u.js → vue-ui-spark-trend-DTYVcrHV.js} +3 -3
  69. package/dist/{vue-ui-sparkbar-RYAThoA4.js → vue-ui-sparkbar-BzxynYoW.js} +3 -3
  70. package/dist/{vue-ui-sparkgauge-DkPlmgMF.js → vue-ui-sparkgauge-DoznCX5h.js} +3 -3
  71. package/dist/{vue-ui-sparkhistogram-6EkCyYRF.js → vue-ui-sparkhistogram-DoZpd0H2.js} +4 -4
  72. package/dist/{vue-ui-sparkline-Bl3nj8zd.js → vue-ui-sparkline-ZKit-hgG.js} +3 -3
  73. package/dist/{vue-ui-sparkstackbar-B88lA7iy.js → vue-ui-sparkstackbar-DjoqH_Xs.js} +3 -3
  74. package/dist/{vue-ui-stackbar-Csj7NhT6.js → vue-ui-stackbar-J-gxI4Xn.js} +310 -304
  75. package/dist/{vue-ui-strip-plot-yY9NsUUI.js → vue-ui-strip-plot-CO7NVeFi.js} +246 -240
  76. package/dist/{vue-ui-table-heatmap-BWU7CAWP.js → vue-ui-table-heatmap-BEFdai_O.js} +5 -5
  77. package/dist/{vue-ui-table-Dg6U31ex.js → vue-ui-table-rmbBw_0d.js} +3 -3
  78. package/dist/{vue-ui-table-sparkline-DV4Y9aRL.js → vue-ui-table-sparkline-CjgaQXbc.js} +4 -4
  79. package/dist/{vue-ui-thermometer-C3fKamV-.js → vue-ui-thermometer--aqaJwFo.js} +7 -7
  80. package/dist/{vue-ui-timer-6VAK9XyF.js → vue-ui-timer-qFNHDcU_.js} +5 -5
  81. package/dist/{vue-ui-tiremarks-BB-KAkF7.js → vue-ui-tiremarks-DA8fzQHo.js} +6 -6
  82. package/dist/{vue-ui-treemap-GrXkD_3Z.js → vue-ui-treemap-DGC9zxon.js} +262 -256
  83. package/dist/{vue-ui-vertical-bar-Mmz6u4aX.js → vue-ui-vertical-bar-DOCeCCqz.js} +310 -306
  84. package/dist/{vue-ui-waffle-DzPVRUOA.js → vue-ui-waffle-DD9jtkcQ.js} +257 -252
  85. package/dist/{vue-ui-wheel-idRCvS5t.js → vue-ui-wheel-87VStrfJ.js} +6 -6
  86. package/dist/vue-ui-word-cloud-CCMfa9H1.js +817 -0
  87. package/dist/{vue-ui-world-D6s5Eph8.js → vue-ui-world-Cm3Hn1-2.js} +257 -252
  88. package/dist/{vue-ui-xy-BKTGSvfU.js → vue-ui-xy-C2SnbN6w.js} +1453 -1447
  89. package/dist/{vue-ui-xy-canvas-BOQyxVRl.js → vue-ui-xy-canvas-WxSJqoiF.js} +235 -229
  90. package/package.json +1 -1
  91. package/dist/pdf-Cjsn5GEE.js +0 -61
  92. package/dist/vue-ui-dashboard-CvduVgEy.js +0 -325
  93. package/dist/vue-ui-word-cloud-B2641uNP.js +0 -811
@@ -1,23 +1,23 @@
1
- import { defineAsyncComponent as ee, useSlots as hl, computed as p, shallowRef as H, ref as g, onMounted as $t, onBeforeUnmount as Ct, toRefs as yl, watch as fe, createElementBlock as r, openBlock as n, normalizeStyle as $, normalizeClass as Re, createBlock as te, createCommentVNode as v, renderSlot as b, createElementVNode as h, createVNode as Te, unref as u, createSlots as Ge, withCtx as A, normalizeProps as ne, guardReactiveProps as ue, Fragment as w, renderList as L, mergeProps as qe, toDisplayString as I, withDirectives as At, createTextVNode as Se, vShow as Tt, Teleport as fl, resolveDynamicComponent as pl, nextTick as gl } from "vue";
2
- import { u as ml, o as St, f as Ue, g as bl, c as wl, t as kl, d as xl, h as _l, e as Pt, p as re, m as Ft, $ as $l, i as N, X as Cl, s as Pe, x as Al, n as Tl, N as P, k as E, q as pe, r as x, a0 as Lt, a1 as Sl, a as Pl, b as Fl, C as We, v as Ll, w as Il, y as Ml, T as It } from "./index-BKQqb9lF.js";
3
- import { t as zl, u as Ol } from "./useResponsive-DfdjqQps.js";
4
- import { u as Nl } from "./usePrinter-BzuXiubT.js";
5
- import { u as Dl, B as Yl } from "./BaseScanner-BgWxam9d.js";
6
- import { u as Mt } from "./useNestedProp-aBOhgs4U.js";
7
- import { u as Xl } from "./useUserOptionState-BIvW1Kz7.js";
8
- import { u as Bl } from "./useChartAccessibility-9icAAmYg.js";
9
- import Vl from "./img-gBDz7xQQ.js";
10
- import { _ as El } from "./Shape-Cjca5zta.js";
11
- import Rl from "./Title-Dz-j6ERs.js";
12
- import Gl from "./Legend-8_V5egWW.js";
13
- import { _ as ql } from "./_plugin-vue_export-helper-CHgC5LLL.js";
14
- const Ul = ["id"], Wl = ["id"], Hl = ["xmlns", "viewBox"], jl = ["width", "height"], Jl = { key: 1 }, Kl = ["id"], Ql = ["stop-color"], Zl = ["offset", "stop-color"], ea = ["offset", "stop-color"], ta = ["stop-color"], la = { key: 2 }, aa = ["id", "cx", "cy"], oa = ["stop-color", "stop-opacity"], sa = ["stop-color"], na = ["id"], ua = ["id"], ra = ["id"], ia = ["flood-color"], va = ["id"], da = ["flood-color"], ca = ["d", "stroke", "filter"], ha = ["d", "stroke", "filter"], ya = ["cx", "cy", "r", "fill", "filter"], fa = { key: 6 }, pa = ["stroke", "d"], ga = ["d", "fill", "stroke", "stroke-width", "filter"], ma = { key: 0 }, ba = ["d", "fill", "stroke", "stroke-width", "filter"], wa = { key: 0 }, ka = ["stroke", "d"], xa = { key: 0 }, _a = ["d", "stroke", "stroke-width", "filter"], $a = { key: 1 }, Ca = ["d", "fill", "stroke", "stroke-width", "filter"], Aa = ["d", "fill", "stroke", "stroke-width", "filter"], Ta = { key: 1 }, Sa = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Pa = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Fa = { key: 0 }, La = ["d", "fill", "stroke", "stroke-width"], Ia = ["cx", "cy", "r", "stroke"], Ma = ["cx", "cy", "r", "fill"], za = ["cx", "cy", "r"], Oa = { key: 0 }, Na = ["d", "stroke", "fill", "onMouseenter", "onMouseleave", "onClick"], Da = { key: 1 }, Ya = ["cx", "cy", "r"], Xa = ["x", "y", "fill", "font-size"], Ba = ["x", "y", "fill", "font-size"], Va = ["x", "y", "fill", "font-size"], Ea = ["x", "y", "fill", "font-size"], Ra = ["filter"], Ga = { key: 0 }, qa = ["x", "y"], Ua = { key: 1 }, Wa = ["cx", "cy", "fill", "stroke", "filter", "onClick", "onMouseenter", "onMouseleave"], Ha = ["cx", "cy", "fill", "stroke", "filter", "onClick", "onMouseenter", "onMouseleave"], ja = ["text-anchor", "x", "y", "fill", "font-size", "onClick", "onMouseenter", "onMouseleave"], Ja = ["text-anchor", "x", "y", "fill", "font-size", "onClick", "innerHTML"], Ka = ["text-anchor", "x", "y", "fill", "font-size", "onClick", "onMouseenter", "onMouseleave"], Qa = ["text-anchor", "x", "y", "fill", "font-size", "onClick", "innerHTML"], Za = { key: 2 }, eo = ["x", "y", "width"], to = ["x", "y", "width"], lo = {
1
+ import { defineAsyncComponent as ee, useSlots as yl, computed as f, shallowRef as H, ref as p, onMounted as At, onBeforeUnmount as Tt, toRefs as fl, watch as fe, createElementBlock as r, openBlock as n, normalizeStyle as $, normalizeClass as Ge, createBlock as te, createCommentVNode as v, renderSlot as b, createElementVNode as h, createVNode as Te, unref as u, createSlots as qe, withCtx as A, normalizeProps as ne, guardReactiveProps as ue, Fragment as w, renderList as L, mergeProps as Ue, toDisplayString as I, withDirectives as St, createTextVNode as Se, vShow as Pt, Teleport as pl, resolveDynamicComponent as gl, nextTick as ml } from "vue";
2
+ import { u as bl, o as Ft, f as We, g as wl, c as kl, t as xl, d as _l, h as $l, e as Lt, p as re, m as It, $ as Cl, i as D, X as Al, s as Pe, x as Tl, n as Sl, N as P, k as E, q as pe, r as x, a0 as Mt, a1 as Pl, a as Fl, b as Ll, C as He, v as Il, w as Ml, y as zl, T as zt } from "./index-BFqW8WA0.js";
3
+ import { t as Ol, u as Dl } from "./useResponsive-DfdjqQps.js";
4
+ import { u as Nl } from "./usePrinter-DDIKRiOp.js";
5
+ import { u as Yl, B as Xl } from "./BaseScanner-BgWxam9d.js";
6
+ import { u as Ot } from "./useNestedProp-BSZCnuGl.js";
7
+ import { u as Bl } from "./useUserOptionState-BIvW1Kz7.js";
8
+ import { u as Vl } from "./useChartAccessibility-9icAAmYg.js";
9
+ import El from "./img-DvuphHeJ.js";
10
+ import { _ as Rl } from "./Shape-Bmpx9GRg.js";
11
+ import Gl from "./Title-AGmmsSi_.js";
12
+ import ql from "./Legend-DLzeDl3-.js";
13
+ import { _ as Ul } from "./_plugin-vue_export-helper-CHgC5LLL.js";
14
+ const Wl = ["id"], Hl = ["id"], jl = ["xmlns", "viewBox"], Jl = ["width", "height"], Kl = { key: 1 }, Ql = ["id"], Zl = ["stop-color"], ea = ["offset", "stop-color"], ta = ["offset", "stop-color"], la = ["stop-color"], aa = { key: 2 }, oa = ["id", "cx", "cy"], sa = ["stop-color", "stop-opacity"], na = ["stop-color"], ua = ["id"], ra = ["id"], ia = ["id"], va = ["flood-color"], da = ["id"], ca = ["flood-color"], ha = ["d", "stroke", "filter"], ya = ["d", "stroke", "filter"], fa = ["cx", "cy", "r", "fill", "filter"], pa = { key: 6 }, ga = ["stroke", "d"], ma = ["d", "fill", "stroke", "stroke-width", "filter"], ba = { key: 0 }, wa = ["d", "fill", "stroke", "stroke-width", "filter"], ka = { key: 0 }, xa = ["stroke", "d"], _a = { key: 0 }, $a = ["d", "stroke", "stroke-width", "filter"], Ca = { key: 1 }, Aa = ["d", "fill", "stroke", "stroke-width", "filter"], Ta = ["d", "fill", "stroke", "stroke-width", "filter"], Sa = { key: 1 }, Pa = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Fa = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], La = { key: 0 }, Ia = ["d", "fill", "stroke", "stroke-width"], Ma = ["cx", "cy", "r", "stroke"], za = ["cx", "cy", "r", "fill"], Oa = ["cx", "cy", "r"], Da = { key: 0 }, Na = ["d", "stroke", "fill", "onMouseenter", "onMouseleave", "onClick"], Ya = { key: 1 }, Xa = ["cx", "cy", "r"], Ba = ["x", "y", "fill", "font-size"], Va = ["x", "y", "fill", "font-size"], Ea = ["x", "y", "fill", "font-size"], Ra = ["x", "y", "fill", "font-size"], Ga = ["filter"], qa = { key: 0 }, Ua = ["x", "y"], Wa = { key: 1 }, Ha = ["cx", "cy", "fill", "stroke", "filter", "onClick", "onMouseenter", "onMouseleave"], ja = ["cx", "cy", "fill", "stroke", "filter", "onClick", "onMouseenter", "onMouseleave"], Ja = ["text-anchor", "x", "y", "fill", "font-size", "onClick", "onMouseenter", "onMouseleave"], Ka = ["text-anchor", "x", "y", "fill", "font-size", "onClick", "innerHTML"], Qa = ["text-anchor", "x", "y", "fill", "font-size", "onClick", "onMouseenter", "onMouseleave"], Za = ["text-anchor", "x", "y", "fill", "font-size", "onClick", "innerHTML"], eo = { key: 2 }, to = ["x", "y", "width"], lo = ["x", "y", "width"], ao = {
15
15
  key: 4,
16
16
  class: "vue-data-ui-watermark"
17
- }, ao = ["id"], oo = ["onClick"], so = {
17
+ }, oo = ["id"], so = ["onClick"], no = {
18
18
  key: 7,
19
19
  class: "vue-ui-donut-hollow"
20
- }, no = ["innerHTML"], uo = {
20
+ }, uo = ["innerHTML"], ro = {
21
21
  __name: "vue-ui-donut",
22
22
  props: {
23
23
  config: {
@@ -34,25 +34,25 @@ const Ul = ["id"], Wl = ["id"], Hl = ["xmlns", "viewBox"], jl = ["width", "heigh
34
34
  }
35
35
  },
36
36
  emits: ["selectLegend", "selectDatapoint"],
37
- setup(He, { expose: zt, emit: Ot }) {
38
- const Nt = ee(() => import("./Tooltip-BTGOEC7w.js")), Dt = ee(() => import("./BaseIcon-DLesaZpW.js")), Yt = ee(() => import("./vue-ui-accordion-B5QeV3BK.js")), Xt = ee(() => import("./DataTable-BAf4Obr9.js")), Bt = ee(() => import("./PenAndPaper-B6OvfyHH.js")), Vt = ee(() => import("./UserOptions-CsDlFB0L.js")), Et = ee(() => import("./PackageVersion-Cv_ypT0N.js")), Rt = ee(() => import("./BaseDraggableDialog-B2BQC0-h.js")), { vue_ui_donut: Gt } = ml(), qt = hl(), k = He, we = p({
37
+ setup(je, { expose: Dt, emit: Nt }) {
38
+ const Yt = ee(() => import("./Tooltip-le0yZk_t.js")), Xt = ee(() => import("./BaseIcon-BLg8FaQ2.js")), Bt = ee(() => import("./vue-ui-accordion-Cv747Pg6.js")), Vt = ee(() => import("./DataTable-BRN1-1ob.js")), Et = ee(() => import("./PenAndPaper-TgGWddgD.js")), Rt = ee(() => import("./UserOptions-DEFwuQIo.js")), Gt = ee(() => import("./PackageVersion-Jz9FlNXl.js")), qt = ee(() => import("./BaseDraggableDialog-Dkpr-qUQ.js")), { vue_ui_donut: Ut } = bl(), Wt = yl(), k = je, we = f({
39
39
  get() {
40
40
  return !!k.dataset && k.dataset.length;
41
41
  },
42
42
  set(l) {
43
43
  return l;
44
44
  }
45
- }), D = H(null), ke = g(null), Ut = g(null), Wt = g(null), je = H(null), Je = H(null), j = H(null), ie = H(null), Ke = H(null), Qe = H(null), Ze = g(0), et = g(0), tt = g(0), lt = g(!1), ge = g(null), xe = p({
45
+ }), N = H(null), ke = p(null), Ht = p(null), jt = p(null), Je = H(null), Ke = H(null), j = H(null), ie = H(null), Qe = H(null), Ze = H(null), et = p(0), tt = p(0), lt = p(0), at = p(!1), ge = p(null), Fe = p(null), xe = f({
46
46
  get: () => e.value.style.chart.layout.labels.percentage.fontSize,
47
47
  set: (l) => l
48
- }), J = p({
48
+ }), J = f({
49
49
  get: () => e.value.style.chart.layout.labels.name.fontSize,
50
50
  set: (l) => l
51
51
  });
52
- let Fe = !1;
52
+ let Le = !1;
53
53
  const R = () => {
54
- !e.value.autoSize || Fe || (Fe = !0, requestAnimationFrame(() => {
55
- Fe = !1;
54
+ !e.value.autoSize || Le || (Le = !0, requestAnimationFrame(() => {
55
+ Le = !1;
56
56
  const l = e.value, o = ke.value, t = de.value;
57
57
  if (!l.autoSize || !o || !t) return;
58
58
  const [a, i, c, m] = t.getAttribute("viewBox").split(" ").map(Number), C = { x: a, y: i, width: c, height: m }, z = [
@@ -69,27 +69,27 @@ const Ul = ["id"], Wl = ["id"], Hl = ["xmlns", "viewBox"], jl = ["width", "heigh
69
69
  sizeRef: J
70
70
  }
71
71
  ];
72
- z.map((V) => o.querySelectorAll(V.selector).length).reduce((V, Z) => V + Z, 0) !== 0 && z.forEach(({ selector: V, baseSize: Z, minSize: Ee, sizeRef: vl }) => {
73
- o.querySelectorAll(V).forEach((dl) => {
74
- const cl = Sl({
75
- el: dl,
72
+ z.map((V) => o.querySelectorAll(V.selector).length).reduce((V, Z) => V + Z, 0) !== 0 && z.forEach(({ selector: V, baseSize: Z, minSize: Re, sizeRef: dl }) => {
73
+ o.querySelectorAll(V).forEach((cl) => {
74
+ const hl = Pl({
75
+ el: cl,
76
76
  bounds: C,
77
77
  currentFontSize: Z,
78
- minFontSize: Ee,
78
+ minFontSize: Re,
79
79
  attempts: 200,
80
80
  padding: 1
81
81
  });
82
- vl.value = cl;
82
+ dl.value = hl;
83
83
  });
84
84
  });
85
85
  }));
86
86
  };
87
- $t(async () => {
88
- lt.value = !0, at(), requestAnimationFrame(R);
87
+ At(async () => {
88
+ at.value = !0, ot(), requestAnimationFrame(R);
89
89
  });
90
- let Le;
91
- $t(() => {
92
- D.value && (Le = new ResizeObserver((l) => {
90
+ let Ie;
91
+ At(() => {
92
+ N.value && (Ie = new ResizeObserver((l) => {
93
93
  for (const o of l) {
94
94
  const { width: t, height: a } = o.contentRect;
95
95
  if (t > 0 && a > 0) {
@@ -97,75 +97,77 @@ const Ul = ["id"], Wl = ["id"], Hl = ["xmlns", "viewBox"], jl = ["width", "heigh
97
97
  break;
98
98
  }
99
99
  }
100
- }), Le.observe(D.value.parentElement));
101
- }), Ct(() => {
102
- Le?.disconnect();
103
- }), Ct(() => {
100
+ }), Ie.observe(N.value.parentElement));
101
+ }), Tt(() => {
102
+ Ie?.disconnect();
103
+ }), Tt(() => {
104
104
  j.value && (ie.value && j.value.unobserve(ie.value), j.value.disconnect());
105
105
  });
106
- const Ie = p(() => !!e.value.debug);
107
- function at() {
108
- if (St(k.dataset) ? (Ue({
106
+ const Me = f(() => !!e.value.debug);
107
+ function ot() {
108
+ if (Ft(k.dataset) ? (We({
109
109
  componentName: "VueUiDonut",
110
110
  type: "dataset",
111
- debug: Ie.value
111
+ debug: Me.value
112
112
  }), we.value = !1, $e.value = !0) : (k.dataset.forEach((l, o) => {
113
- bl({
113
+ wl({
114
114
  datasetObject: l,
115
115
  requiredAttributes: ["name", "values"]
116
116
  }).forEach((t) => {
117
- Ue({
117
+ We({
118
118
  componentName: "VueUiDonut",
119
119
  type: "datasetSerieAttribute",
120
120
  property: t,
121
121
  index: o,
122
- debug: Ie.value
122
+ debug: Me.value
123
123
  }), we.value = !1, $e.value = !0;
124
124
  });
125
125
  }), k.dataset.forEach((l, o) => {
126
- (!l.name || l.name === "") && Ue({
126
+ (!l.name || l.name === "") && We({
127
127
  componentName: "VueUiDonut",
128
128
  type: "datasetAttributeEmpty",
129
129
  property: "name",
130
130
  index: o,
131
- debug: Ie.value
131
+ debug: Me.value
132
132
  });
133
- })), St(k.dataset) || ($e.value = e.value.loading), e.value.responsive) {
134
- const l = zl(() => {
135
- const { width: o, height: t } = Ol({
136
- chart: D.value,
137
- title: e.value.style.chart.title.text ? je.value : null,
138
- legend: e.value.style.chart.legend.show ? Je.value : null,
139
- source: Ke.value,
140
- noTitle: Qe.value,
141
- padding: e.value.autoSize ? void 0 : rt.value
133
+ })), Ft(k.dataset) || ($e.value = e.value.loading), e.value.responsive) {
134
+ const l = Ol(() => {
135
+ const { width: o, height: t } = Dl({
136
+ chart: N.value,
137
+ title: e.value.style.chart.title.text ? Je.value : null,
138
+ legend: e.value.style.chart.legend.show ? Ke.value : null,
139
+ source: Qe.value,
140
+ noTitle: Ze.value,
141
+ padding: e.value.autoSize ? void 0 : it.value
142
142
  });
143
143
  requestAnimationFrame(() => {
144
144
  s.value.width = o, s.value.height = t, R();
145
145
  });
146
146
  });
147
- j.value && (ie.value && j.value.unobserve(ie.value), j.value.disconnect()), j.value = new ResizeObserver(l), ie.value = D.value.parentNode, j.value.observe(ie.value);
147
+ j.value && (ie.value && j.value.unobserve(ie.value), j.value.disconnect()), j.value = new ResizeObserver(l), ie.value = N.value.parentNode, j.value.observe(ie.value);
148
148
  }
149
149
  }
150
- const y = g(wl()), Ht = g(null), Me = g(!1), ze = g(""), Y = g(null), ot = g(0);
151
- function Oe() {
152
- const l = Mt({
150
+ const y = p(kl());
151
+ p(null);
152
+ const ze = p(!1), Oe = p(""), Y = p(null), st = p(0);
153
+ function De() {
154
+ const l = Ot({
153
155
  userConfig: k.config,
154
- defaultConfig: Gt
156
+ defaultConfig: Ut
155
157
  });
156
158
  let o = {};
157
159
  return l.theme ? o = {
158
- ...Mt({
159
- userConfig: Fl.vue_ui_donut[l.theme] || k.config,
160
+ ...Ot({
161
+ userConfig: Ll.vue_ui_donut[l.theme] || k.config,
160
162
  defaultConfig: l
161
163
  }),
162
- customPalette: Pl[l.theme] || re
163
- } : o = l, k.config && We(k.config, "events.datapointEnter") ? o.events.datapointEnter = k.config.events.datapointEnter : o.events.datapointEnter = null, k.config && We(k.config, "events.datapointLeave") ? o.events.datapointLeave = k.config.events.datapointLeave : o.events.datapointLeave = null, k.config && We(k.config, "events.datapointClick") ? o.events.datapointClick = k.config.events.datapointClick : o.events.datapointClick = null, o;
164
+ customPalette: Fl[l.theme] || re
165
+ } : o = l, k.config && He(k.config, "events.datapointEnter") ? o.events.datapointEnter = k.config.events.datapointEnter : o.events.datapointEnter = null, k.config && He(k.config, "events.datapointLeave") ? o.events.datapointLeave = k.config.events.datapointLeave : o.events.datapointLeave = null, k.config && He(k.config, "events.datapointClick") ? o.events.datapointClick = k.config.events.datapointClick : o.events.datapointClick = null, o;
164
166
  }
165
- const e = g(Oe()), { loading: _e, FINAL_DATASET: ve, manualLoading: $e, skeletonDataset: jt } = Dl({
166
- ...yl(k),
167
+ const e = p(De()), { loading: _e, FINAL_DATASET: ve, manualLoading: $e, skeletonDataset: Jt } = Yl({
168
+ ...fl(k),
167
169
  FINAL_CONFIG: e,
168
- prepareConfig: Oe,
170
+ prepareConfig: De,
169
171
  skeletonDataset: [
170
172
  {
171
173
  name: "",
@@ -183,7 +185,7 @@ const Ul = ["id"], Wl = ["id"], Hl = ["xmlns", "viewBox"], jl = ["width", "heigh
183
185
  color: "#CACACA"
184
186
  }
185
187
  ],
186
- skeletonConfig: kl({
188
+ skeletonConfig: xl({
187
189
  defaultConfig: e.value,
188
190
  userConfig: {
189
191
  useCssAnimation: !1,
@@ -220,8 +222,8 @@ const Ul = ["id"], Wl = ["id"], Hl = ["xmlns", "viewBox"], jl = ["width", "heigh
220
222
  }
221
223
  }
222
224
  })
223
- }), T = g(!0), U = H([]);
224
- function Jt(l, o = 1e3, t = 50) {
225
+ }), T = p(!0), U = H([]);
226
+ function Kt(l, o = 1e3, t = 50) {
225
227
  return new Promise((a) => {
226
228
  const i = l.length;
227
229
  U.value = Array(i).fill(0);
@@ -230,26 +232,26 @@ const Ul = ["id"], Wl = ["id"], Hl = ["xmlns", "viewBox"], jl = ["width", "heigh
230
232
  setTimeout(() => {
231
233
  const z = performance.now();
232
234
  function O(V) {
233
- const Z = Math.min((V - z) / o, 1), Ee = It(Z);
234
- U.value[C] = m * Ee, U.value = [...U.value], Z < 1 ? (requestAnimationFrame(O), requestAnimationFrame(R)) : (U.value[C] = m, U.value = [...U.value], c += 1, c === i && a(), requestAnimationFrame(R));
235
+ const Z = Math.min((V - z) / o, 1), Re = zt(Z);
236
+ U.value[C] = m * Re, U.value = [...U.value], Z < 1 ? (requestAnimationFrame(O), requestAnimationFrame(R)) : (U.value[C] = m, U.value = [...U.value], c += 1, c === i && a(), requestAnimationFrame(R));
235
237
  }
236
238
  requestAnimationFrame(O);
237
239
  }, C * t);
238
240
  });
239
241
  });
240
242
  }
241
- const st = g(!1);
243
+ const nt = p(!1);
242
244
  fe(
243
245
  () => _e.value,
244
246
  async (l) => {
245
- if (l || st.value) return;
246
- const o = ve.value === jt, t = e.value.startAnimation?.show;
247
+ if (l || nt.value) return;
248
+ const o = ve.value === Jt, t = e.value.startAnimation?.show;
247
249
  if (!o && t) {
248
- st.value = !0;
250
+ nt.value = !0;
249
251
  const a = ve.value.map(
250
252
  (i) => i.values.reduce((c, m) => c + m, 0)
251
253
  );
252
- await Jt(
254
+ await Kt(
253
255
  a,
254
256
  e.value.startAnimation.durationMs,
255
257
  e.value.startAnimation.staggerMs
@@ -259,17 +261,17 @@ const Ul = ["id"], Wl = ["id"], Hl = ["xmlns", "viewBox"], jl = ["width", "heigh
259
261
  },
260
262
  { immediate: !0 }
261
263
  );
262
- const { userOptionsVisible: Ne, setUserOptionsVisibility: nt, keepUserOptionState: ut } = Xl({ config: e.value }), { svgRef: de } = Bl({ config: e.value.style.chart.title });
263
- function Kt() {
264
- nt(!0);
265
- }
264
+ const { userOptionsVisible: Ne, setUserOptionsVisibility: ut, keepUserOptionState: rt } = Bl({ config: e.value }), { svgRef: de } = Vl({ config: e.value.style.chart.title });
266
265
  function Qt() {
267
- nt(!1);
266
+ ut(!0);
267
+ }
268
+ function Zt() {
269
+ ut(!1);
268
270
  }
269
271
  fe(() => k.config, (l) => {
270
- _e.value || (e.value = Oe()), Ne.value = !e.value.userOptions.showOnChartHover, at(), Ze.value += 1, et.value += 1, tt.value += 1, f.value.dataLabels.show = e.value.style.chart.layout.labels.dataLabels.show, f.value.showTable = e.value.table.show, f.value.showTooltip = e.value.style.chart.tooltip.show, s.value.height = e.value.style.chart.height, s.value.width = e.value.style.chart.width;
272
+ _e.value || (e.value = De()), Ne.value = !e.value.userOptions.showOnChartHover, ot(), et.value += 1, tt.value += 1, lt.value += 1, g.value.dataLabels.show = e.value.style.chart.layout.labels.dataLabels.show, g.value.showTable = e.value.table.show, g.value.showTooltip = e.value.style.chart.tooltip.show, s.value.height = e.value.style.chart.height, s.value.width = e.value.style.chart.width;
271
273
  }, { deep: !0 });
272
- const rt = p(() => {
274
+ const it = f(() => {
273
275
  const { top: l, right: o, bottom: t, left: a } = e.value.style.chart.padding;
274
276
  return {
275
277
  css: `padding:${l}px ${o}px ${t}px ${a}px`,
@@ -278,11 +280,11 @@ const Ul = ["id"], Wl = ["id"], Hl = ["xmlns", "viewBox"], jl = ["width", "heigh
278
280
  bottom: t,
279
281
  left: a
280
282
  };
281
- }), { isPrinting: it, isImaging: vt, generatePdf: dt, generateImage: ct } = Nl({
283
+ }), { isPrinting: vt, isImaging: dt, generatePdf: ct, generateImage: ht } = Nl({
282
284
  elementId: `donut__${y.value}`,
283
285
  fileName: e.value.style.chart.title.text || "vue-ui-donut",
284
286
  options: e.value.userOptions.print
285
- }), Zt = p(() => e.value.userOptions.show && !e.value.style.chart.title.text), ht = p(() => xl(e.value.customPalette)), f = g({
287
+ }), el = f(() => e.value.userOptions.show && !e.value.style.chart.title.text), yt = f(() => _l(e.value.customPalette)), g = p({
286
288
  dataLabels: {
287
289
  show: e.value.style.chart.layout.labels.dataLabels.show
288
290
  },
@@ -290,7 +292,7 @@ const Ul = ["id"], Wl = ["id"], Hl = ["xmlns", "viewBox"], jl = ["width", "heigh
290
292
  showTooltip: e.value.style.chart.tooltip.show
291
293
  });
292
294
  fe(e, () => {
293
- f.value = {
295
+ g.value = {
294
296
  dataLabels: {
295
297
  show: e.value.style.chart.layout.labels.dataLabels.show
296
298
  },
@@ -298,18 +300,18 @@ const Ul = ["id"], Wl = ["id"], Hl = ["xmlns", "viewBox"], jl = ["width", "heigh
298
300
  showTooltip: e.value.style.chart.tooltip.show
299
301
  };
300
302
  }, { immediate: !0 });
301
- const s = g({
303
+ const s = p({
302
304
  height: e.value.style.chart.height,
303
305
  width: e.value.style.chart.width
304
- }), le = p(() => {
306
+ }), le = f(() => {
305
307
  if (e.value.pie)
306
308
  return _.value;
307
309
  const l = e.value.style.chart.layout.donut.strokeWidth / 512, o = Math.min(s.value.width, s.value.height) * l, t = o > _.value ? _.value : o;
308
310
  return Math.max(t, 12 * (1 + l));
309
- }), yt = Ot, G = p(() => ve.value.map((l, o) => ({
311
+ }), ft = Nt, G = f(() => ve.value.map((l, o) => ({
310
312
  name: l.name,
311
- color: Pt(l.color) || ht.value[o] || re[o] || re[o % re.length],
312
- value: _l(l.values.reduce((t, a) => t + a, 0)),
313
+ color: Lt(l.color) || yt.value[o] || re[o] || re[o % re.length],
314
+ value: $l(l.values.reduce((t, a) => t + a, 0)),
313
315
  absoluteValues: l.values,
314
316
  comment: l.comment || "",
315
317
  patternIndex: o,
@@ -324,15 +326,15 @@ const Ul = ["id"], Wl = ["id"], Hl = ["xmlns", "viewBox"], jl = ["width", "heigh
324
326
  fe(() => G.value, (l) => {
325
327
  M.value = l, requestAnimationFrame(R);
326
328
  });
327
- function el() {
329
+ function tl() {
328
330
  return G.value.map((l) => ({
329
331
  name: l.name,
330
332
  color: l.color,
331
333
  value: l.value
332
334
  }));
333
335
  }
334
- const q = g([]), ae = g(!1);
335
- function ft({ from: l, to: o, duration: t, onUpdate: a, onDone: i, easing: c = It }) {
336
+ const q = p([]), ae = p(!1);
337
+ function pt({ from: l, to: o, duration: t, onUpdate: a, onDone: i, easing: c = zt }) {
336
338
  const m = performance.now();
337
339
  function C(z) {
338
340
  const O = Math.min((z - m) / t, 1), V = c(O), Z = l + (o - l) * V;
@@ -340,7 +342,7 @@ const Ul = ["id"], Wl = ["id"], Hl = ["xmlns", "viewBox"], jl = ["width", "heigh
340
342
  }
341
343
  requestAnimationFrame(C);
342
344
  }
343
- function pt(l) {
345
+ function gt(l) {
344
346
  const o = G.value.find((i, c) => c === l);
345
347
  let a = M.value.find((i, c) => c === l).value;
346
348
  if (q.value.includes(l)) {
@@ -349,7 +351,7 @@ const Ul = ["id"], Wl = ["id"], Hl = ["xmlns", "viewBox"], jl = ["width", "heigh
349
351
  (C, z) => l === z ? { ...C, value: i } : C
350
352
  );
351
353
  }, m = function() {
352
- ae.value = !0, ft({
354
+ ae.value = !0, pt({
353
355
  from: a,
354
356
  to: i,
355
357
  duration: e.value.serieToggleAnimation.durationMs,
@@ -372,7 +374,7 @@ const Ul = ["id"], Wl = ["id"], Hl = ["xmlns", "viewBox"], jl = ["width", "heigh
372
374
  (m, C) => l === C ? { ...m, value: 0 } : m
373
375
  );
374
376
  }, c = function() {
375
- ae.value = !0, ft({
377
+ ae.value = !0, pt({
376
378
  from: a,
377
379
  to: 0,
378
380
  duration: e.value.serieToggleAnimation.durationMs,
@@ -388,20 +390,20 @@ const Ul = ["id"], Wl = ["id"], Hl = ["xmlns", "viewBox"], jl = ["width", "heigh
388
390
  };
389
391
  e.value.serieToggleAnimation.show && e.value.type === "classic" ? c() : i();
390
392
  }
391
- yt("selectLegend", W.value.map((i) => ({
393
+ ft("selectLegend", W.value.map((i) => ({
392
394
  name: i.name,
393
395
  color: i.color,
394
396
  value: i.value
395
397
  })));
396
398
  }
397
- const tl = p(() => ve.value.reduce((l, o) => l + o.values.reduce((t, a) => t + a, 0), 0)), W = p(() => {
399
+ const ll = f(() => ve.value.reduce((l, o) => l + o.values.reduce((t, a) => t + a, 0), 0)), W = f(() => {
398
400
  if (T.value && !_e.value) {
399
401
  const l = U.value.map((t, a) => ({
400
402
  ...G.value[a],
401
403
  value: t,
402
404
  color: G.value[a].color,
403
405
  ghost: !1
404
- })), o = tl.value - U.value.reduce((t, a) => t + a, 0);
406
+ })), o = ll.value - U.value.reduce((t, a) => t + a, 0);
405
407
  return o > 0 && l.push({
406
408
  name: "__ghost__",
407
409
  value: o,
@@ -419,9 +421,9 @@ const Ul = ["id"], Wl = ["id"], Hl = ["xmlns", "viewBox"], jl = ["width", "heigh
419
421
  ...l,
420
422
  seriesIndex: o
421
423
  })).filter((l, o) => !q.value.includes(o));
422
- }), gt = p(() => ve.value.map((l, o) => ({
424
+ }), mt = f(() => ve.value.map((l, o) => ({
423
425
  name: l.name,
424
- color: Pt(l.color) || ht.value[o] || re[o] || re[o % re.length],
426
+ color: Lt(l.color) || yt.value[o] || re[o] || re[o % re.length],
425
427
  value: (l.values || []).reduce((t, a) => t + a, 0),
426
428
  shape: "circle",
427
429
  patternIndex: o
@@ -429,19 +431,19 @@ const Ul = ["id"], Wl = ["id"], Hl = ["xmlns", "viewBox"], jl = ["width", "heigh
429
431
  ...l,
430
432
  proportion: l.value / ve.value.map((t) => (t.values || []).reduce((a, i) => a + i, 0)).reduce((t, a) => t + a, 0),
431
433
  opacity: q.value.includes(o) ? 0.5 : 1,
432
- segregate: () => !ae.value && pt(o),
434
+ segregate: () => !ae.value && gt(o),
433
435
  isSegregated: q.value.includes(o)
434
- }))), ll = p(() => ({
436
+ }))), al = f(() => ({
435
437
  cy: "donut-div-legend",
436
438
  backgroundColor: e.value.style.chart.legend.backgroundColor,
437
439
  color: e.value.style.chart.legend.color,
438
440
  fontSize: e.value.style.chart.legend.fontSize,
439
441
  paddingBottom: 12,
440
442
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
441
- })), _ = p(() => {
443
+ })), _ = f(() => {
442
444
  const l = e.value.style.chart.layout.donut.radiusRatio, o = Math.max(0.1, Math.min(0.50001, l)), t = Math.min(s.value.width * o, s.value.height * o);
443
445
  return Math.max(12, t);
444
- }), S = p(() => Ft({ series: W.value }, s.value.width / 2, s.value.height / 2, _.value, _.value, 1.99999, 2, 1, 360, 105.25, le.value)), al = p(() => Math.abs(W.value.map((l) => l.value).reduce((l, o) => l + o, 0)) > 0), ol = p(() => Ft({
446
+ }), S = f(() => It({ series: W.value }, s.value.width / 2, s.value.height / 2, _.value, _.value, 1.99999, 2, 1, 360, 105.25, le.value)), ol = f(() => Math.abs(W.value.map((l) => l.value).reduce((l, o) => l + o, 0)) > 0), sl = f(() => It({
445
447
  series: [
446
448
  {
447
449
  value: 1,
@@ -453,9 +455,9 @@ const Ul = ["id"], Wl = ["id"], Hl = ["xmlns", "viewBox"], jl = ["width", "heigh
453
455
  absoluteValues: [1]
454
456
  }
455
457
  ]
456
- }, s.value.width / 2, s.value.height / 2, _.value, _.value, 1.99999, 2, 1, 360, 105.25, le.value)), X = p(() => S.value.filter((l) => !l.ghost)), d = p(() => {
458
+ }, s.value.width / 2, s.value.height / 2, _.value, _.value, 1.99999, 2, 1, 360, 105.25, le.value)), X = f(() => S.value.filter((l) => !l.ghost)), d = f(() => {
457
459
  const l = Math.max(...W.value.map((t) => t.value)), o = W.value.map((t) => t.value / l);
458
- return $l({
460
+ return Cl({
459
461
  series: o,
460
462
  center: {
461
463
  x: s.value.width / 2,
@@ -468,18 +470,18 @@ const Ul = ["id"], Wl = ["id"], Hl = ["xmlns", "viewBox"], jl = ["width", "heigh
468
470
  function ce(l) {
469
471
  return l.x > s.value.width / 2 + 6 ? "start" : l.x < s.value.width / 2 - 6 ? "end" : "middle";
470
472
  }
471
- function sl(l) {
473
+ function nl(l) {
472
474
  return l.middlePoint.y > s.value.height / 2 ? P({ initX: l.middlePoint.x, initY: l.middlePoint.y, offset: 100, centerX: s.value.width / 2, centerY: s.value.height / 2 }).y : P({ initX: l.middlePoint.x, initY: l.middlePoint.y, offset: 0, centerX: s.value.width / 2, centerY: s.value.height / 2 }).y - 100;
473
475
  }
474
476
  function B(l) {
475
477
  return l.proportion * 100 > e.value.style.chart.layout.labels.dataLabels.hideUnderValue;
476
478
  }
477
- function De(l, o) {
478
- const t = l.value / nl(o);
479
+ function Ye(l, o) {
480
+ const t = l.value / ul(o);
479
481
  return isNaN(t) ? 0 : E(
480
482
  e.value.style.chart.layout.labels.percentage.formatter,
481
483
  t * 100,
482
- N({
484
+ D({
483
485
  v: t * 100,
484
486
  s: "%",
485
487
  r: e.value.style.chart.layout.labels.percentage.rounding
@@ -487,18 +489,18 @@ const Ul = ["id"], Wl = ["id"], Hl = ["xmlns", "viewBox"], jl = ["width", "heigh
487
489
  { datapoint: l }
488
490
  );
489
491
  }
490
- function nl(l) {
492
+ function ul(l) {
491
493
  return [...l].map((o) => o.value).reduce((o, t) => o + t, 0);
492
494
  }
493
- const F = p(() => W.value.map((l) => l.value).reduce((l, o) => l + o, 0)), Ye = p(() => F.value / W.value.length), mt = p(() => (l) => ae.value ? l.proportion * 100 : l.value / F.value * 100), Xe = g(null), me = g(!1);
495
+ const F = f(() => W.value.map((l) => l.value).reduce((l, o) => l + o, 0)), Xe = f(() => F.value / W.value.length), bt = f(() => (l) => ae.value ? l.proportion * 100 : l.value / F.value * 100), Be = p(null), me = p(!1);
494
496
  function he({ datapoint: l, seriesIndex: o }) {
495
- e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: l, seriesIndex: o }), Me.value = !1, Y.value = null;
497
+ e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: l, seriesIndex: o }), ze.value = !1, Y.value = null;
496
498
  }
497
499
  function ye({ datapoint: l, relativeIndex: o, seriesIndex: t, show: a = !1 }) {
498
- e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: l, seriesIndex: t }), Xe.value = { datapoint: l, seriesIndex: t, config: e.value, series: G.value }, Me.value = a, Y.value = o;
500
+ e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: l, seriesIndex: t }), Be.value = { datapoint: l, seriesIndex: t, config: e.value, series: G.value }, ze.value = a, Y.value = o;
499
501
  let i = "";
500
502
  const c = e.value.style.chart.tooltip.customFormat;
501
- if (me.value = !1, Ml(c))
503
+ if (me.value = !1, zl(c))
502
504
  try {
503
505
  const m = c({
504
506
  seriesIndex: t,
@@ -506,15 +508,15 @@ const Ul = ["id"], Wl = ["id"], Hl = ["xmlns", "viewBox"], jl = ["width", "heigh
506
508
  series: G.value,
507
509
  config: e.value
508
510
  });
509
- typeof m == "string" && (ze.value = m, me.value = !0);
511
+ typeof m == "string" && (Oe.value = m, me.value = !0);
510
512
  } catch {
511
513
  console.warn("Custom format cannot be applied."), me.value = !1;
512
514
  }
513
515
  if (!me.value) {
514
- if (i += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${l.name}</div>`, i += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 60 60" height="14" width="14"><circle cx="30" cy="30" r="30" stroke="none" fill="${l.color}"/>${qt.pattern ? `<circle cx="30" cy="30" r="30" stroke="none" fill="url(#pattern_${y.value}_${t})"/>` : ""}</svg>`, e.value.style.chart.tooltip.showValue && (i += `<b>${E(
516
+ if (i += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${l.name}</div>`, i += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 60 60" height="14" width="14"><circle cx="30" cy="30" r="30" stroke="none" fill="${l.color}"/>${Wt.pattern ? `<circle cx="30" cy="30" r="30" stroke="none" fill="url(#pattern_${y.value}_${t})"/>` : ""}</svg>`, e.value.style.chart.tooltip.showValue && (i += `<b>${E(
515
517
  e.value.style.chart.layout.labels.value.formatter,
516
518
  l.value,
517
- N({
519
+ D({
518
520
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
519
521
  v: l.value,
520
522
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
@@ -529,7 +531,7 @@ const Ul = ["id"], Wl = ["id"], Hl = ["xmlns", "viewBox"], jl = ["width", "heigh
529
531
  const m = E(
530
532
  e.value.style.chart.layout.labels.percentage.formatter,
531
533
  l.proportion * 100,
532
- N({
534
+ D({
533
535
  v: l.proportion * 100,
534
536
  s: "%",
535
537
  r: e.value.style.chart.tooltip.roundingPercentage
@@ -542,31 +544,31 @@ const Ul = ["id"], Wl = ["id"], Hl = ["xmlns", "viewBox"], jl = ["width", "heigh
542
544
  );
543
545
  e.value.style.chart.tooltip.showValue ? i += `<span>(${m})</span></div>` : i += `<b>${m}</b></div>`;
544
546
  }
545
- e.value.style.chart.comments.showInTooltip && l.comment && (i += `<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>`), ze.value = `<div>${i}</div>`;
547
+ e.value.style.chart.comments.showInTooltip && l.comment && (i += `<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>`), Oe.value = `<div>${i}</div>`;
546
548
  }
547
549
  }
548
550
  function oe(l) {
549
551
  return e.value.useBlurOnHover && ![null, void 0].includes(Y.value) && Y.value !== l ? `url(#blur_${y.value})` : "";
550
552
  }
551
- const K = p(() => {
553
+ const K = f(() => {
552
554
  const l = W.value.map((t) => ({
553
555
  name: t.name,
554
556
  color: t.color
555
557
  })), o = W.value.map((t) => t.value);
556
558
  return { head: l, body: o };
557
559
  });
558
- function Be(l = null) {
559
- gl(() => {
560
+ function Ve(l = null) {
561
+ ml(() => {
560
562
  const o = K.value.head.map((i, c) => [[
561
563
  i.name
562
- ], [K.value.body[c]], [isNaN(K.value.body[c] / F.value) ? "-" : K.value.body[c] / F.value * 100]]), t = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(o), a = Ll(t);
563
- l ? l(a) : Il({ csvContent: a, title: e.value.style.chart.title.text || "vue-ui-donut" });
564
+ ], [K.value.body[c]], [isNaN(K.value.body[c] / F.value) ? "-" : K.value.body[c] / F.value * 100]]), t = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(o), a = Il(t);
565
+ l ? l(a) : Ml({ csvContent: a, title: e.value.style.chart.title.text || "vue-ui-donut" });
564
566
  });
565
567
  }
566
- const Ce = p(() => {
568
+ const Ce = f(() => {
567
569
  const l = [
568
570
  ' <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>',
569
- N({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: F.value, s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue }),
571
+ D({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: F.value, s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue }),
570
572
  "100%"
571
573
  ], o = K.value.head.map((i, c) => [
572
574
  {
@@ -598,33 +600,33 @@ const Ul = ["id"], Wl = ["id"], Hl = ["xmlns", "viewBox"], jl = ["width", "heigh
598
600
  body: o,
599
601
  config: t
600
602
  };
601
- }), se = g(!1);
602
- function bt(l) {
603
- se.value = l, ot.value += 1;
603
+ }), se = p(!1);
604
+ function wt(l) {
605
+ se.value = l, st.value += 1;
604
606
  }
605
- const wt = p(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent));
606
- function ul(l) {
607
+ const kt = f(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent));
608
+ function rl(l) {
607
609
  return l.toFixed(e.value.style.chart.legend.roundingPercentage).split("").map((o) => "-").join("");
608
610
  }
609
611
  function Q(l, o) {
610
- e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: l, seriesIndex: l.seriesIndex }), yt("selectDatapoint", { datapoint: l, index: o });
611
- }
612
- function kt() {
613
- f.value.showTable = !f.value.showTable;
612
+ e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: l, seriesIndex: l.seriesIndex }), ft("selectDatapoint", { datapoint: l, index: o });
614
613
  }
615
614
  function xt() {
616
- f.value.dataLabels.show = !f.value.dataLabels.show;
615
+ g.value.showTable = !g.value.showTable;
617
616
  }
618
617
  function _t() {
619
- f.value.showTooltip = !f.value.showTooltip;
618
+ g.value.dataLabels.show = !g.value.dataLabels.show;
620
619
  }
621
- const Ae = g(!1);
622
- function Ve() {
620
+ function $t() {
621
+ g.value.showTooltip = !g.value.showTooltip;
622
+ }
623
+ const Ae = p(!1);
624
+ function Ee() {
623
625
  Ae.value = !Ae.value;
624
626
  }
625
- async function rl({ scale: l = 2 } = {}) {
626
- if (!D.value) return;
627
- const { width: o, height: t } = D.value.getBoundingClientRect(), a = o / t, { imageUri: i, base64: c } = await Vl({ domElement: D.value, base64: !0, img: !0, scale: l });
627
+ async function il({ scale: l = 2 } = {}) {
628
+ if (!N.value) return;
629
+ const { width: o, height: t } = N.value.getBoundingClientRect(), a = o / t, { imageUri: i, base64: c } = await El({ domElement: N.value, base64: !0, img: !0, scale: l });
628
630
  return {
629
631
  imageUri: i,
630
632
  base64: c,
@@ -634,15 +636,15 @@ const Ul = ["id"], Wl = ["id"], Hl = ["xmlns", "viewBox"], jl = ["width", "heigh
634
636
  aspectRatio: a
635
637
  };
636
638
  }
637
- function il() {
639
+ function vl() {
638
640
  if (!ke.value) return;
639
641
  const { x: l, y: o, width: t, height: a } = ke.value.getBBox();
640
642
  de.value && de.value.setAttribute("viewBox", `${l} ${o} ${t + Math.min(0, l)} ${a + Math.min(0, o)}`);
641
643
  }
642
- const be = p(() => {
643
- const l = e.value.table.useDialog && !e.value.table.show, o = f.value.showTable;
644
+ const be = f(() => {
645
+ const l = e.value.table.useDialog && !e.value.table.show, o = g.value.showTable;
644
646
  return {
645
- component: l ? Rt : Yt,
647
+ component: l ? qt : Bt,
646
648
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
647
649
  props: l ? {
648
650
  backgroundColor: e.value.table.th.backgroundColor,
@@ -650,7 +652,7 @@ const Ul = ["id"], Wl = ["id"], Hl = ["xmlns", "viewBox"], jl = ["width", "heigh
650
652
  headerColor: e.value.table.th.color,
651
653
  headerBg: e.value.table.th.backgroundColor,
652
654
  isFullscreen: se.value,
653
- fullscreenParent: D.value,
655
+ fullscreenParent: N.value,
654
656
  forcedWidth: Math.min(500, window.innerWidth * 0.8)
655
657
  } : {
656
658
  hideDetails: !0,
@@ -669,53 +671,57 @@ const Ul = ["id"], Wl = ["id"], Hl = ["xmlns", "viewBox"], jl = ["width", "heigh
669
671
  }
670
672
  };
671
673
  });
672
- return fe(() => f.value.showTable, (l) => {
674
+ fe(() => g.value.showTable, (l) => {
673
675
  e.value.table.show || (l && e.value.table.useDialog && ge.value ? ge.value.open() : "close" in ge.value && ge.value.close());
674
- }), zt({
675
- autoSize: il,
676
- getData: el,
677
- getImage: rl,
678
- generatePdf: dt,
679
- generateCsv: Be,
680
- generateImage: ct,
681
- toggleTable: kt,
682
- toggleLabels: xt,
683
- toggleTooltip: _t,
684
- toggleAnnotator: Ve,
685
- toggleFullscreen: bt
676
+ });
677
+ function Ct() {
678
+ g.value.showTable = !1, Fe.value && Fe.value.setTableIconState(!1);
679
+ }
680
+ return Dt({
681
+ autoSize: vl,
682
+ getData: tl,
683
+ getImage: il,
684
+ generatePdf: ct,
685
+ generateCsv: Ve,
686
+ generateImage: ht,
687
+ toggleTable: xt,
688
+ toggleLabels: _t,
689
+ toggleTooltip: $t,
690
+ toggleAnnotator: Ee,
691
+ toggleFullscreen: wt
686
692
  }), (l, o) => (n(), r("div", {
687
693
  ref_key: "donutChart",
688
- ref: D,
689
- class: Re(`vue-ui-donut ${se.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
694
+ ref: N,
695
+ class: Ge(`vue-ui-donut ${se.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
690
696
  style: $(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height:100%;" : ""} text-align:center;background:${e.value.style.chart.backgroundColor}`),
691
697
  id: `donut__${y.value}`,
692
- onMouseenter: Kt,
693
- onMouseleave: Qt
698
+ onMouseenter: Qt,
699
+ onMouseleave: Zt
694
700
  }, [
695
- e.value.userOptions.buttons.annotator && u(de) ? (n(), te(u(Bt), {
701
+ e.value.userOptions.buttons.annotator && u(de) ? (n(), te(u(Et), {
696
702
  key: 0,
697
703
  color: e.value.style.chart.color,
698
704
  backgroundColor: e.value.style.chart.backgroundColor,
699
705
  active: Ae.value,
700
706
  svgRef: u(de),
701
- onClose: Ve
707
+ onClose: Ee
702
708
  }, null, 8, ["color", "backgroundColor", "active", "svgRef"])) : v("", !0),
703
709
  b(l.$slots, "userConfig", {}, void 0, !0),
704
- Zt.value ? (n(), r("div", {
710
+ el.value ? (n(), r("div", {
705
711
  key: 1,
706
712
  ref_key: "noTitle",
707
- ref: Qe,
713
+ ref: Ze,
708
714
  class: "vue-data-ui-no-title-space",
709
715
  style: "height:36px; width: 100%;background:transparent"
710
716
  }, null, 512)) : v("", !0),
711
717
  e.value.style.chart.title.text ? (n(), r("div", {
712
718
  key: 2,
713
719
  ref_key: "chartTitle",
714
- ref: je,
720
+ ref: Je,
715
721
  style: "width:100%;background:transparent;padding-bottom:24px"
716
722
  }, [
717
- (n(), te(Rl, {
718
- key: `title_${Ze.value}`,
723
+ (n(), te(Gl, {
724
+ key: `title_${et.value}`,
719
725
  config: {
720
726
  title: {
721
727
  cy: "donut-div-title",
@@ -730,15 +736,15 @@ const Ul = ["id"], Wl = ["id"], Hl = ["xmlns", "viewBox"], jl = ["width", "heigh
730
736
  ], 512)) : v("", !0),
731
737
  h("div", {
732
738
  id: `legend-top-${y.value}`
733
- }, null, 8, Wl),
734
- e.value.userOptions.show && we.value && (u(ut) || u(Ne)) ? (n(), te(u(Vt), {
735
- ref_key: "details",
736
- ref: Ht,
737
- key: `user_option_${ot.value}`,
739
+ }, null, 8, Hl),
740
+ e.value.userOptions.show && we.value && (u(rt) || u(Ne)) ? (n(), te(u(Rt), {
741
+ ref_key: "userOptionsRef",
742
+ ref: Fe,
743
+ key: `user_option_${st.value}`,
738
744
  backgroundColor: e.value.style.chart.backgroundColor,
739
745
  color: e.value.style.chart.color,
740
- isPrinting: u(it),
741
- isImaging: u(vt),
746
+ isPrinting: u(vt),
747
+ isImaging: u(dt),
742
748
  uid: y.value,
743
749
  hasTooltip: e.value.style.chart.tooltip.show && e.value.userOptions.buttons.tooltip,
744
750
  hasPdf: e.value.userOptions.buttons.pdf,
@@ -748,26 +754,25 @@ const Ul = ["id"], Wl = ["id"], Hl = ["xmlns", "viewBox"], jl = ["width", "heigh
748
754
  hasLabel: e.value.userOptions.buttons.labels,
749
755
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
750
756
  isFullscreen: se.value,
751
- chartElement: D.value,
757
+ chartElement: N.value,
752
758
  position: e.value.userOptions.position,
753
759
  callbacks: e.value.userOptions.callbacks,
754
- isTooltip: f.value.showTooltip,
760
+ isTooltip: g.value.showTooltip,
755
761
  titles: { ...e.value.userOptions.buttonTitles },
756
762
  hasAnnotator: e.value.userOptions.buttons.annotator,
757
763
  isAnnotation: Ae.value,
758
764
  printScale: e.value.userOptions.print.scale,
759
- onToggleFullscreen: bt,
760
- onGeneratePdf: u(dt),
761
- onGenerateCsv: Be,
762
- onGenerateImage: u(ct),
763
- onToggleTable: kt,
764
- onToggleLabels: xt,
765
- onToggleTooltip: _t,
766
- onToggleAnnotator: Ve,
767
- style: $({
768
- visibility: u(ut) ? u(Ne) ? "visible" : "hidden" : "visible"
769
- })
770
- }, Ge({ _: 2 }, [
765
+ tableDialog: e.value.table.useDialog,
766
+ onToggleFullscreen: wt,
767
+ onGeneratePdf: u(ct),
768
+ onGenerateCsv: Ve,
769
+ onGenerateImage: u(ht),
770
+ onToggleTable: xt,
771
+ onToggleLabels: _t,
772
+ onToggleTooltip: $t,
773
+ onToggleAnnotator: Ee,
774
+ style: $({ visibility: u(rt) ? u(Ne) ? "visible" : "hidden" : "visible" })
775
+ }, qe({ _: 2 }, [
771
776
  l.$slots.menuIcon ? {
772
777
  name: "menuIcon",
773
778
  fn: A(({ isOpen: t, color: a }) => [
@@ -831,21 +836,21 @@ const Ul = ["id"], Wl = ["id"], Hl = ["xmlns", "viewBox"], jl = ["width", "heigh
831
836
  ]),
832
837
  key: "8"
833
838
  } : void 0
834
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "chartElement", "position", "callbacks", "isTooltip", "titles", "hasAnnotator", "isAnnotation", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : v("", !0),
839
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "chartElement", "position", "callbacks", "isTooltip", "titles", "hasAnnotator", "isAnnotation", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : v("", !0),
835
840
  (n(), r("svg", {
836
841
  ref_key: "svgRef",
837
842
  ref: de,
838
- xmlns: u(Cl),
839
- class: Re({ "vue-data-ui-fullscreen--on": se.value, "vue-data-ui-fulscreen--off": !se.value, "vue-data-ui-svg": !0 }),
843
+ xmlns: u(Al),
844
+ class: Ge({ "vue-data-ui-fullscreen--on": se.value, "vue-data-ui-fulscreen--off": !se.value, "vue-data-ui-svg": !0 }),
840
845
  viewBox: `0 0 ${s.value.width <= 0 ? 10 : s.value.width} ${s.value.height <= 0 ? 10 : s.value.height}`,
841
- style: $(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color};${rt.value.css}`)
846
+ style: $(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color};${it.value.css}`)
842
847
  }, [
843
848
  h("g", {
844
849
  ref_key: "G",
845
850
  ref: ke,
846
851
  class: "vue-data-ui-g"
847
852
  }, [
848
- Te(u(Et)),
853
+ Te(u(Gt)),
849
854
  l.$slots["chart-background"] ? (n(), r("foreignObject", {
850
855
  key: 0,
851
856
  x: 0,
@@ -857,8 +862,8 @@ const Ul = ["id"], Wl = ["id"], Hl = ["xmlns", "viewBox"], jl = ["width", "heigh
857
862
  }
858
863
  }, [
859
864
  b(l.$slots, "chart-background", {}, void 0, !0)
860
- ], 8, jl)) : v("", !0),
861
- e.value.type === "classic" && !isNaN(le.value / _.value) ? (n(), r("defs", Jl, [
865
+ ], 8, Jl)) : v("", !0),
866
+ e.value.type === "classic" && !isNaN(le.value / _.value) ? (n(), r("defs", Kl, [
862
867
  e.value.style.chart.useGradient ? (n(), r("radialGradient", {
863
868
  key: 0,
864
869
  id: `gradient_${y.value}`
@@ -867,24 +872,24 @@ const Ul = ["id"], Wl = ["id"], Hl = ["xmlns", "viewBox"], jl = ["width", "heigh
867
872
  offset: "0%",
868
873
  "stop-color": u(Pe)(e.value.style.chart.backgroundColor, 0),
869
874
  "stop-opacity": "0"
870
- }, null, 8, Ql),
875
+ }, null, 8, Zl),
871
876
  h("stop", {
872
877
  offset: `${(1 - le.value / _.value) * 100}%`,
873
878
  "stop-color": u(Pe)("#FFFFFF", 0),
874
879
  "stop-opacity": "0"
875
- }, null, 8, Zl),
880
+ }, null, 8, ea),
876
881
  h("stop", {
877
882
  offset: `${(1 - le.value / _.value / 2) * 100}%`,
878
883
  "stop-color": u(Pe)("#FFFFFF", e.value.style.chart.gradientIntensity)
879
- }, null, 8, ea),
884
+ }, null, 8, ta),
880
885
  h("stop", {
881
886
  offset: "100%",
882
887
  "stop-color": u(Pe)(e.value.style.chart.backgroundColor, 0),
883
888
  "stop-opacity": "0"
884
- }, null, 8, ta)
885
- ], 8, Kl)) : v("", !0)
889
+ }, null, 8, la)
890
+ ], 8, Ql)) : v("", !0)
886
891
  ])) : v("", !0),
887
- e.value.type === "polar" ? (n(), r("defs", la, [
892
+ e.value.type === "polar" ? (n(), r("defs", aa, [
888
893
  (n(!0), r(w, null, L(d.value, (t, a) => (n(), r("radialGradient", {
889
894
  id: `polar_gradient_${a}_${y.value}`,
890
895
  cx: (isNaN(t.middlePoint.x / s.value.width * 100) ? 0 : t.middlePoint.x / s.value.width * 100) + "%",
@@ -893,14 +898,14 @@ const Ul = ["id"], Wl = ["id"], Hl = ["xmlns", "viewBox"], jl = ["width", "heigh
893
898
  }, [
894
899
  h("stop", {
895
900
  offset: "0%",
896
- "stop-color": u(Al)(S.value[a].color, 0.05),
901
+ "stop-color": u(Tl)(S.value[a].color, 0.05),
897
902
  "stop-opacity": e.value.style.chart.gradientIntensity / 100
898
- }, null, 8, oa),
903
+ }, null, 8, sa),
899
904
  h("stop", {
900
905
  offset: "100%",
901
906
  "stop-color": S.value[a].color
902
- }, null, 8, sa)
903
- ], 8, aa))), 256))
907
+ }, null, 8, na)
908
+ ], 8, oa))), 256))
904
909
  ])) : v("", !0),
905
910
  h("defs", null, [
906
911
  h("filter", {
@@ -914,12 +919,12 @@ const Ul = ["id"], Wl = ["id"], Hl = ["xmlns", "viewBox"], jl = ["width", "heigh
914
919
  in: "SourceGraphic",
915
920
  stdDeviation: 2,
916
921
  id: `blur_std_${y.value}`
917
- }, null, 8, ua),
918
- o[7] || (o[7] = h("feColorMatrix", {
922
+ }, null, 8, ra),
923
+ o[5] || (o[5] = h("feColorMatrix", {
919
924
  type: "saturate",
920
925
  values: "0"
921
926
  }, null, -1))
922
- ], 8, na),
927
+ ], 8, ua),
923
928
  h("filter", {
924
929
  id: `shadow_${y.value}`,
925
930
  "color-interpolation-filters": "sRGB"
@@ -930,8 +935,8 @@ const Ul = ["id"], Wl = ["id"], Hl = ["xmlns", "viewBox"], jl = ["width", "heigh
930
935
  stdDeviation: "10",
931
936
  "flood-opacity": "0.5",
932
937
  "flood-color": e.value.style.chart.layout.donut.shadowColor
933
- }, null, 8, ia)
934
- ], 8, ra),
938
+ }, null, 8, va)
939
+ ], 8, ia),
935
940
  h("filter", {
936
941
  id: `drop_shadow_${y.value}`,
937
942
  "color-interpolation-filters": "sRGB",
@@ -946,23 +951,23 @@ const Ul = ["id"], Wl = ["id"], Hl = ["xmlns", "viewBox"], jl = ["width", "heigh
946
951
  stdDeviation: "3",
947
952
  "flood-opacity": "1",
948
953
  "flood-color": e.value.style.chart.layout.donut.shadowColor
949
- }, null, 8, da)
950
- ], 8, va)
954
+ }, null, 8, ca)
955
+ ], 8, da)
951
956
  ]),
952
957
  e.value.type === "classic" ? (n(!0), r(w, { key: 3 }, L(S.value.filter((t) => !t.ghost), (t, a) => (n(), r("g", null, [
953
- B(t) && f.value.dataLabels.show ? (n(), r("path", {
958
+ B(t) && g.value.dataLabels.show ? (n(), r("path", {
954
959
  key: 0,
955
- d: u(Tl)(t, { x: s.value.width / 2, y: s.value.height / 2 }, 16, 16, !1, !1, le.value, 12, e.value.style.chart.layout.curvedMarkers),
960
+ d: u(Sl)(t, { x: s.value.width / 2, y: s.value.height / 2 }, 16, 16, !1, !1, le.value, 12, e.value.style.chart.layout.curvedMarkers),
956
961
  stroke: t.color,
957
962
  "stroke-width": "1",
958
963
  "stroke-linecap": "round",
959
964
  "stroke-linejoin": "round",
960
965
  fill: "none",
961
966
  filter: oe(a)
962
- }, null, 8, ca)) : v("", !0)
967
+ }, null, 8, ha)) : v("", !0)
963
968
  ]))), 256)) : v("", !0),
964
969
  e.value.type === "polar" ? (n(!0), r(w, { key: 4 }, L(S.value.filter((t) => !t.ghost), (t, a) => (n(), r("g", null, [
965
- B(t) && f.value.dataLabels.show ? (n(), r("path", {
970
+ B(t) && g.value.dataLabels.show ? (n(), r("path", {
966
971
  key: 0,
967
972
  d: `M ${u(P)({ initX: d.value[a].middlePoint.x, initY: d.value[a].middlePoint.y, offset: 24, centerX: s.value.width / 2, centerY: s.value.height / 2 }).x},${u(P)({ initX: d.value[a].middlePoint.x, initY: d.value[a].middlePoint.y, offset: 24, centerX: s.value.width / 2, centerY: s.value.height / 2 }).y} ${d.value[a].middlePoint.x},${d.value[a].middlePoint.y}`,
968
973
  stroke: t.color,
@@ -974,7 +979,7 @@ const Ul = ["id"], Wl = ["id"], Hl = ["xmlns", "viewBox"], jl = ["width", "heigh
974
979
  style: $({
975
980
  transition: T.value || !e.value.serieToggleAnimation.show ? "none" : `all ${e.value.serieToggleAnimation.durationMs}ms ease-in-out`
976
981
  })
977
- }, null, 12, ha)) : v("", !0)
982
+ }, null, 12, ya)) : v("", !0)
978
983
  ]))), 256)) : v("", !0),
979
984
  e.value.type === "classic" && e.value.style.chart.layout.donut.useShadow ? (n(), r("circle", {
980
985
  key: 5,
@@ -983,12 +988,12 @@ const Ul = ["id"], Wl = ["id"], Hl = ["xmlns", "viewBox"], jl = ["width", "heigh
983
988
  r: _.value <= 0 ? 10 : _.value,
984
989
  fill: e.value.style.chart.backgroundColor,
985
990
  filter: `url(#shadow_${y.value})`
986
- }, null, 8, ya)) : v("", !0),
987
- l.$slots.pattern ? (n(), r("g", fa, [
988
- (n(!0), r(w, null, L(He.dataset, (t, a) => (n(), r("defs", {
991
+ }, null, 8, fa)) : v("", !0),
992
+ l.$slots.pattern ? (n(), r("g", pa, [
993
+ (n(!0), r(w, null, L(je.dataset, (t, a) => (n(), r("defs", {
989
994
  key: `pattern-${t.patternIndex}`
990
995
  }, [
991
- b(l.$slots, "pattern", qe({ ref_for: !0 }, { seriesIndex: a, patternId: `pattern_${y.value}_${a}` }), void 0, !0)
996
+ b(l.$slots, "pattern", Ue({ ref_for: !0 }, { seriesIndex: a, patternId: `pattern_${y.value}_${a}` }), void 0, !0)
992
997
  ]))), 128))
993
998
  ])) : v("", !0),
994
999
  F.value && e.value.type === "classic" ? (n(), r(w, { key: 7 }, [
@@ -996,7 +1001,7 @@ const Ul = ["id"], Wl = ["id"], Hl = ["xmlns", "viewBox"], jl = ["width", "heigh
996
1001
  stroke: e.value.style.chart.backgroundColor,
997
1002
  d: t.arcSlice,
998
1003
  fill: "#FFFFFF"
999
- }, null, 8, pa))), 256)),
1004
+ }, null, 8, ga))), 256)),
1000
1005
  (n(!0), r(w, null, L(X.value, (t, a) => (n(), r("path", {
1001
1006
  class: "vue-ui-donut-arc-path",
1002
1007
  d: t.arcSlice,
@@ -1004,8 +1009,8 @@ const Ul = ["id"], Wl = ["id"], Hl = ["xmlns", "viewBox"], jl = ["width", "heigh
1004
1009
  stroke: e.value.style.chart.layout.donut.borderColorAuto ? e.value.style.chart.backgroundColor : e.value.style.chart.layout.donut.borderColor,
1005
1010
  "stroke-width": e.value.style.chart.layout.donut.borderWidth,
1006
1011
  filter: oe(a)
1007
- }, null, 8, ga))), 256)),
1008
- l.$slots.pattern ? (n(), r("g", ma, [
1012
+ }, null, 8, ma))), 256)),
1013
+ l.$slots.pattern ? (n(), r("g", ba, [
1009
1014
  (n(!0), r(w, null, L(X.value, (t, a) => (n(), r("path", {
1010
1015
  class: "vue-ui-donut-arc-path",
1011
1016
  d: t.arcSlice,
@@ -1013,11 +1018,11 @@ const Ul = ["id"], Wl = ["id"], Hl = ["xmlns", "viewBox"], jl = ["width", "heigh
1013
1018
  stroke: e.value.style.chart.layout.donut.borderColorAuto ? e.value.style.chart.backgroundColor : e.value.style.chart.layout.donut.borderColor,
1014
1019
  "stroke-width": e.value.style.chart.layout.donut.borderWidth,
1015
1020
  filter: oe(a)
1016
- }, null, 8, ba))), 256))
1021
+ }, null, 8, wa))), 256))
1017
1022
  ])) : v("", !0)
1018
1023
  ], 64)) : v("", !0),
1019
1024
  F.value && e.value.type === "polar" ? (n(), r(w, { key: 8 }, [
1020
- S.value.length > 1 ? (n(), r("g", wa, [
1025
+ S.value.length > 1 ? (n(), r("g", ka, [
1021
1026
  (n(!0), r(w, null, L(X.value, (t, a) => (n(), r("path", {
1022
1027
  stroke: e.value.style.chart.layout.donut.borderColorAuto ? e.value.style.chart.backgroundColor : e.value.style.chart.layout.donut.borderColor,
1023
1028
  d: d.value[a].path,
@@ -1025,8 +1030,8 @@ const Ul = ["id"], Wl = ["id"], Hl = ["xmlns", "viewBox"], jl = ["width", "heigh
1025
1030
  style: $({
1026
1031
  transition: T.value || !e.value.serieToggleAnimation.show ? "none" : `all ${e.value.serieToggleAnimation.durationMs}ms ease-in-out`
1027
1032
  })
1028
- }, null, 12, ka))), 256)),
1029
- e.value.style.chart.layout.donut.useShadow ? (n(), r("g", xa, [
1033
+ }, null, 12, xa))), 256)),
1034
+ e.value.style.chart.layout.donut.useShadow ? (n(), r("g", _a, [
1030
1035
  (n(!0), r(w, null, L(X.value, (t, a) => (n(), r("path", {
1031
1036
  class: "vue-ui-donut-arc-path",
1032
1037
  d: d.value[a].path,
@@ -1037,9 +1042,9 @@ const Ul = ["id"], Wl = ["id"], Hl = ["xmlns", "viewBox"], jl = ["width", "heigh
1037
1042
  style: $({
1038
1043
  transition: T.value || !e.value.serieToggleAnimation.show ? "none" : `all ${e.value.serieToggleAnimation.durationMs}ms ease-in-out`
1039
1044
  })
1040
- }, null, 12, _a))), 256))
1045
+ }, null, 12, $a))), 256))
1041
1046
  ])) : v("", !0),
1042
- l.$slots.pattern ? (n(), r("g", $a, [
1047
+ l.$slots.pattern ? (n(), r("g", Ca, [
1043
1048
  (n(!0), r(w, null, L(X.value, (t, a) => (n(), r("path", {
1044
1049
  class: "vue-ui-donut-arc-path",
1045
1050
  d: d.value[a].path,
@@ -1051,7 +1056,7 @@ const Ul = ["id"], Wl = ["id"], Hl = ["xmlns", "viewBox"], jl = ["width", "heigh
1051
1056
  transition: T.value || !e.value.serieToggleAnimation.show ? "none" : `all ${e.value.serieToggleAnimation.durationMs}ms ease-in-out`,
1052
1057
  transformOrigin: "center"
1053
1058
  })
1054
- }, null, 12, Ca))), 256))
1059
+ }, null, 12, Aa))), 256))
1055
1060
  ])) : v("", !0),
1056
1061
  (n(!0), r(w, null, L(X.value, (t, a) => (n(), r("path", {
1057
1062
  class: "vue-ui-donut-arc-path",
@@ -1063,8 +1068,8 @@ const Ul = ["id"], Wl = ["id"], Hl = ["xmlns", "viewBox"], jl = ["width", "heigh
1063
1068
  style: $({
1064
1069
  transition: T.value || !e.value.serieToggleAnimation.show ? "none" : `all ${e.value.serieToggleAnimation.durationMs}ms ease-in-out`
1065
1070
  })
1066
- }, null, 12, Aa))), 256))
1067
- ])) : (n(), r("g", Ta, [
1071
+ }, null, 12, Ta))), 256))
1072
+ ])) : (n(), r("g", Sa, [
1068
1073
  l.$slots.pattern ? (n(), r("circle", {
1069
1074
  key: 0,
1070
1075
  cx: s.value.width / 2,
@@ -1073,7 +1078,7 @@ const Ul = ["id"], Wl = ["id"], Hl = ["xmlns", "viewBox"], jl = ["width", "heigh
1073
1078
  fill: `url(#pattern_${y.value}_${S.value[0].patternIndex})`,
1074
1079
  stroke: e.value.style.chart.backgroundColor,
1075
1080
  "stroke-width": e.value.style.chart.layout.donut.borderWidth
1076
- }, null, 8, Sa)) : v("", !0),
1081
+ }, null, 8, Pa)) : v("", !0),
1077
1082
  h("circle", {
1078
1083
  cx: s.value.width / 2,
1079
1084
  cy: s.value.height / 2,
@@ -1081,17 +1086,17 @@ const Ul = ["id"], Wl = ["id"], Hl = ["xmlns", "viewBox"], jl = ["width", "heigh
1081
1086
  fill: e.value.style.chart.useGradient ? `url(#polar_gradient_0_${y.value})` : S.value[0].color,
1082
1087
  stroke: e.value.style.chart.backgroundColor,
1083
1088
  "stroke-width": e.value.style.chart.layout.donut.borderWidth
1084
- }, null, 8, Pa)
1089
+ }, null, 8, Fa)
1085
1090
  ]))
1086
1091
  ], 64)) : (n(), r(w, { key: 9 }, [
1087
- e.value.type === "classic" && !al.value ? (n(), r("g", Fa, [
1088
- (n(!0), r(w, null, L(ol.value, (t, a) => (n(), r("path", {
1092
+ e.value.type === "classic" && !ol.value ? (n(), r("g", La, [
1093
+ (n(!0), r(w, null, L(sl.value, (t, a) => (n(), r("path", {
1089
1094
  class: "vue-ui-donut-arc-path",
1090
1095
  d: t.arcSlice,
1091
1096
  fill: t.color,
1092
1097
  stroke: e.value.style.chart.backgroundColor,
1093
1098
  "stroke-width": e.value.style.chart.layout.donut.borderWidth
1094
- }, null, 8, La))), 256))
1099
+ }, null, 8, Ia))), 256))
1095
1100
  ])) : v("", !0),
1096
1101
  h("circle", {
1097
1102
  cx: s.value.width / 2,
@@ -1099,7 +1104,7 @@ const Ul = ["id"], Wl = ["id"], Hl = ["xmlns", "viewBox"], jl = ["width", "heigh
1099
1104
  r: _.value <= 0 ? 10 : _.value,
1100
1105
  fill: "transparent",
1101
1106
  stroke: e.value.style.chart.backgroundColor
1102
- }, null, 8, Ia)
1107
+ }, null, 8, Ma)
1103
1108
  ], 64)),
1104
1109
  e.value.style.chart.useGradient && e.value.type === "classic" ? (n(), r("circle", {
1105
1110
  key: 10,
@@ -1110,18 +1115,18 @@ const Ul = ["id"], Wl = ["id"], Hl = ["xmlns", "viewBox"], jl = ["width", "heigh
1110
1115
  _.value <= 0 ? 10 : _.value
1111
1116
  ),
1112
1117
  fill: `url(#gradient_${y.value})`
1113
- }, null, 8, Ma)) : v("", !0),
1118
+ }, null, 8, za)) : v("", !0),
1114
1119
  h("circle", {
1115
1120
  ref_key: "circle_hollow",
1116
- ref: Wt,
1121
+ ref: jt,
1117
1122
  style: { pointerEvents: "none" },
1118
1123
  fill: "none",
1119
1124
  cx: s.value.width / 2,
1120
1125
  cy: s.value.height / 2,
1121
1126
  r: Math.max(0.1, le.value * 1.7)
1122
- }, null, 8, za),
1127
+ }, null, 8, Oa),
1123
1128
  F.value ? (n(), r(w, { key: 11 }, [
1124
- S.value.length > 1 || e.value.type === "classic" ? (n(), r("g", Oa, [
1129
+ S.value.length > 1 || e.value.type === "classic" ? (n(), r("g", Da, [
1125
1130
  (n(!0), r(w, null, L(S.value.filter((t) => !t.ghost), (t, a) => (n(), r("path", {
1126
1131
  d: e.value.type === "classic" ? t.arcSlice : d.value[a].path,
1127
1132
  stroke: e.value.style.chart.layout.donut.borderColorAuto ? e.value.style.chart.backgroundColor : e.value.style.chart.layout.donut.borderColor,
@@ -1135,7 +1140,7 @@ const Ul = ["id"], Wl = ["id"], Hl = ["xmlns", "viewBox"], jl = ["width", "heigh
1135
1140
  onMouseleave: (i) => he({ datapoint: t, seriesIndex: t.seriesIndex }),
1136
1141
  onClick: (i) => Q(t, a)
1137
1142
  }, null, 40, Na))), 256))
1138
- ])) : (n(), r("g", Da, [
1143
+ ])) : (n(), r("g", Ya, [
1139
1144
  h("circle", {
1140
1145
  cx: s.value.width / 2,
1141
1146
  cy: s.value.height / 2,
@@ -1149,13 +1154,13 @@ const Ul = ["id"], Wl = ["id"], Hl = ["xmlns", "viewBox"], jl = ["width", "heigh
1149
1154
  })),
1150
1155
  onMouseleave: o[1] || (o[1] = (t) => he({ datapoint: S.value[0], seriesIndex: S.value[0].seriesIndex })),
1151
1156
  onClick: o[2] || (o[2] = (t) => Q(S.value[0], l.i))
1152
- }, null, 40, Ya)
1157
+ }, null, 40, Xa)
1153
1158
  ]))
1154
1159
  ], 64)) : v("", !0),
1155
1160
  e.value.type === "classic" ? (n(), r("g", {
1156
1161
  key: 12,
1157
1162
  ref_key: "G_hollow",
1158
- ref: Ut,
1163
+ ref: Ht,
1159
1164
  class: "vue-data-ui-donut-hollow-labels"
1160
1165
  }, [
1161
1166
  e.value.style.chart.layout.labels.hollow.total.show ? (n(), r("text", {
@@ -1166,7 +1171,7 @@ const Ul = ["id"], Wl = ["id"], Hl = ["xmlns", "viewBox"], jl = ["width", "heigh
1166
1171
  fill: e.value.style.chart.layout.labels.hollow.total.color,
1167
1172
  "font-size": e.value.style.chart.layout.labels.hollow.total.fontSize,
1168
1173
  style: $(`font-weight:${e.value.style.chart.layout.labels.hollow.total.bold ? "bold" : ""}`)
1169
- }, I(e.value.style.chart.layout.labels.hollow.total.text), 13, Xa)) : v("", !0),
1174
+ }, I(e.value.style.chart.layout.labels.hollow.total.text), 13, Ba)) : v("", !0),
1170
1175
  e.value.style.chart.layout.labels.hollow.total.show ? (n(), r("text", {
1171
1176
  key: 1,
1172
1177
  "text-anchor": "middle",
@@ -1178,12 +1183,12 @@ const Ul = ["id"], Wl = ["id"], Hl = ["xmlns", "viewBox"], jl = ["width", "heigh
1178
1183
  }, I(u(E)(
1179
1184
  e.value.style.chart.layout.labels.hollow.total.value.formatter,
1180
1185
  F.value,
1181
- u(N)({
1186
+ u(D)({
1182
1187
  p: e.value.style.chart.layout.labels.hollow.total.value.prefix,
1183
1188
  v: F.value,
1184
1189
  s: e.value.style.chart.layout.labels.hollow.total.value.suffix
1185
1190
  })
1186
- )), 13, Ba)) : v("", !0),
1191
+ )), 13, Va)) : v("", !0),
1187
1192
  e.value.style.chart.layout.labels.hollow.average.show ? (n(), r("text", {
1188
1193
  key: 2,
1189
1194
  "text-anchor": "middle",
@@ -1192,7 +1197,7 @@ const Ul = ["id"], Wl = ["id"], Hl = ["xmlns", "viewBox"], jl = ["width", "heigh
1192
1197
  fill: e.value.style.chart.layout.labels.hollow.average.color,
1193
1198
  "font-size": e.value.style.chart.layout.labels.hollow.average.fontSize,
1194
1199
  style: $(`font-weight:${e.value.style.chart.layout.labels.hollow.average.bold ? "bold" : ""}`)
1195
- }, I(e.value.style.chart.layout.labels.hollow.average.text), 13, Va)) : v("", !0),
1200
+ }, I(e.value.style.chart.layout.labels.hollow.average.text), 13, Ea)) : v("", !0),
1196
1201
  e.value.style.chart.layout.labels.hollow.average.show ? (n(), r("text", {
1197
1202
  key: 3,
1198
1203
  "text-anchor": "middle",
@@ -1203,43 +1208,43 @@ const Ul = ["id"], Wl = ["id"], Hl = ["xmlns", "viewBox"], jl = ["width", "heigh
1203
1208
  style: $(`font-weight:${e.value.style.chart.layout.labels.hollow.average.value.bold ? "bold" : ""}`)
1204
1209
  }, I(ae.value || T.value ? "--" : u(E)(
1205
1210
  e.value.style.chart.layout.labels.hollow.average.value.formatter,
1206
- Ye.value,
1207
- u(N)({
1211
+ Xe.value,
1212
+ u(D)({
1208
1213
  p: e.value.style.chart.layout.labels.hollow.average.value.prefix,
1209
- v: Ye.value,
1214
+ v: Xe.value,
1210
1215
  s: e.value.style.chart.layout.labels.hollow.average.value.suffix,
1211
1216
  r: e.value.style.chart.layout.labels.hollow.average.value.rounding
1212
1217
  })
1213
- )), 13, Ea)) : v("", !0)
1218
+ )), 13, Ra)) : v("", !0)
1214
1219
  ], 512)) : v("", !0),
1215
1220
  (n(!0), r(w, null, L(X.value.filter((t) => !t.ghost), (t, a) => (n(), r("g", {
1216
1221
  filter: oe(a),
1217
- class: Re({ animated: e.value.useCssAnimation }),
1222
+ class: Ge({ animated: e.value.useCssAnimation }),
1218
1223
  key: t.seriesIndex
1219
1224
  }, [
1220
- e.value.style.chart.layout.labels.dataLabels.useLabelSlots ? (n(), r("g", Ga, [
1225
+ e.value.style.chart.layout.labels.dataLabels.useLabelSlots ? (n(), r("g", qa, [
1221
1226
  (n(), r("foreignObject", {
1222
1227
  x: u(x)(t, !0).anchor === "end" ? u(x)(t).x - 120 : u(x)(t, !0).anchor === "middle" ? u(x)(t).x - 60 : u(x)(t).x,
1223
- y: u(pe)(t) - (wt.value ? 20 : 0),
1228
+ y: u(pe)(t) - (kt.value ? 20 : 0),
1224
1229
  width: "120",
1225
1230
  height: "60",
1226
1231
  style: { overflow: "visible" }
1227
1232
  }, [
1228
1233
  h("div", null, [
1229
- b(l.$slots, "dataLabel", qe({ ref_for: !0 }, {
1234
+ b(l.$slots, "dataLabel", Ue({ ref_for: !0 }, {
1230
1235
  datapoint: t,
1231
1236
  isBlur: !e.value.useBlurOnHover || [null, void 0].includes(Y.value) || Y.value === a,
1232
- isSafari: wt.value,
1233
- isVisible: B(t) && f.value.dataLabels.show,
1237
+ isSafari: kt.value,
1238
+ isVisible: B(t) && g.value.dataLabels.show,
1234
1239
  textAlign: u(x)(t, !0, 16, !0).anchor,
1235
1240
  flexAlign: u(x)(t, !0, 16).anchor,
1236
- percentage: De(t, X.value)
1241
+ percentage: Ye(t, X.value)
1237
1242
  }), void 0, !0)
1238
1243
  ])
1239
- ], 8, qa))
1240
- ])) : (n(), r("g", Ua, [
1244
+ ], 8, Ua))
1245
+ ])) : (n(), r("g", Wa, [
1241
1246
  e.value.type === "classic" ? (n(), r(w, { key: 0 }, [
1242
- B(t) && f.value.dataLabels.show ? (n(), r("circle", {
1247
+ B(t) && g.value.dataLabels.show ? (n(), r("circle", {
1243
1248
  key: 0,
1244
1249
  cx: u(x)(t).x,
1245
1250
  cy: u(pe)(t) - 3.5,
@@ -1256,10 +1261,10 @@ const Ul = ["id"], Wl = ["id"], Hl = ["xmlns", "viewBox"], jl = ["width", "heigh
1256
1261
  show: !0
1257
1262
  }),
1258
1263
  onMouseleave: (i) => he({ datapoint: t, seriesIndex: t.seriesIndex })
1259
- }, null, 40, Wa)) : v("", !0)
1264
+ }, null, 40, Ha)) : v("", !0)
1260
1265
  ], 64)) : v("", !0),
1261
1266
  e.value.type === "polar" ? (n(), r(w, { key: 1 }, [
1262
- B(t) && f.value.dataLabels.show ? (n(), r("circle", {
1267
+ B(t) && g.value.dataLabels.show ? (n(), r("circle", {
1263
1268
  key: 0,
1264
1269
  cx: u(P)({ initX: d.value[a].middlePoint.x, initY: d.value[a].middlePoint.y, offset: 24, centerX: s.value.width / 2, centerY: s.value.height / 2 }).x,
1265
1270
  cy: u(P)({ initX: d.value[a].middlePoint.x, initY: d.value[a].middlePoint.y, offset: 24, centerX: s.value.width / 2, centerY: s.value.height / 2 }).y,
@@ -1279,10 +1284,10 @@ const Ul = ["id"], Wl = ["id"], Hl = ["xmlns", "viewBox"], jl = ["width", "heigh
1279
1284
  style: $({
1280
1285
  transition: T.value || !e.value.serieToggleAnimation.show ? "none" : `all ${e.value.serieToggleAnimation.durationMs}ms ease-in-out`
1281
1286
  })
1282
- }, null, 44, Ha)) : v("", !0)
1287
+ }, null, 44, ja)) : v("", !0)
1283
1288
  ], 64)) : v("", !0),
1284
1289
  e.value.type === "classic" ? (n(), r(w, { key: 2 }, [
1285
- At(h("text", {
1290
+ St(h("text", {
1286
1291
  class: "vue-data-ui-datalabel-value",
1287
1292
  "text-anchor": u(x)(t, !0, 12).anchor,
1288
1293
  x: u(x)(t, !0, 12).x,
@@ -1298,20 +1303,20 @@ const Ul = ["id"], Wl = ["id"], Hl = ["xmlns", "viewBox"], jl = ["width", "heigh
1298
1303
  show: !0
1299
1304
  }),
1300
1305
  onMouseleave: (i) => he({ datapoint: t, seriesIndex: t.seriesIndex })
1301
- }, I(De(t, X.value)) + " " + I(e.value.style.chart.layout.labels.value.show ? `(${u(E)(
1306
+ }, I(Ye(t, X.value)) + " " + I(e.value.style.chart.layout.labels.value.show ? `(${u(E)(
1302
1307
  e.value.style.chart.layout.labels.value.formatter,
1303
1308
  t.value,
1304
- u(N)({
1309
+ u(D)({
1305
1310
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
1306
1311
  v: t.value,
1307
1312
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
1308
1313
  r: e.value.style.chart.layout.labels.value.rounding
1309
1314
  }),
1310
1315
  { datapoint: t }
1311
- )})` : ""), 45, ja), [
1312
- [Tt, B(t) && f.value.dataLabels.show]
1316
+ )})` : ""), 45, Ja), [
1317
+ [Pt, B(t) && g.value.dataLabels.show]
1313
1318
  ]),
1314
- At(h("text", {
1319
+ St(h("text", {
1315
1320
  class: "vue-data-ui-datalabel-name",
1316
1321
  "text-anchor": u(x)(t).anchor,
1317
1322
  x: u(x)(t, !0, 12).x,
@@ -1320,20 +1325,20 @@ const Ul = ["id"], Wl = ["id"], Hl = ["xmlns", "viewBox"], jl = ["width", "heigh
1320
1325
  "font-size": J.value + "px",
1321
1326
  style: $(`font-weight:${e.value.style.chart.layout.labels.name.bold ? "bold" : ""}`),
1322
1327
  onClick: (i) => Q(t, a),
1323
- innerHTML: u(Lt)({
1328
+ innerHTML: u(Mt)({
1324
1329
  content: t.name,
1325
1330
  fontSize: J.value,
1326
1331
  fill: e.value.style.chart.layout.labels.name.color,
1327
1332
  x: u(x)(t, !0, 12).x,
1328
1333
  y: u(pe)(t) + J.value
1329
1334
  })
1330
- }, null, 12, Ja), [
1331
- [Tt, B(t) && f.value.dataLabels.show]
1335
+ }, null, 12, Ka), [
1336
+ [Pt, B(t) && g.value.dataLabels.show]
1332
1337
  ]),
1333
- o[8] || (o[8] = Se(' @mouseenter="useTooltip({ datapoint: arc, relativeIndex: i, seriesIndex: arc.seriesIndex, show: true })" @mouseleave="handleDatapointLeave({ datapoint: arc, seriesIndex: arc.seriesIndex })" /> ', -1))
1338
+ o[6] || (o[6] = Se(' @mouseenter="useTooltip({ datapoint: arc, relativeIndex: i, seriesIndex: arc.seriesIndex, show: true })" @mouseleave="handleDatapointLeave({ datapoint: arc, seriesIndex: arc.seriesIndex })" /> ', -1))
1334
1339
  ], 64)) : v("", !0),
1335
1340
  e.value.type === "polar" ? (n(), r(w, { key: 3 }, [
1336
- B(t) && f.value.dataLabels.show ? (n(), r("text", {
1341
+ B(t) && g.value.dataLabels.show ? (n(), r("text", {
1337
1342
  key: 0,
1338
1343
  class: "vue-data-ui-datalabel-value",
1339
1344
  "text-anchor": ce(d.value[a].middlePoint),
@@ -1353,18 +1358,18 @@ const Ul = ["id"], Wl = ["id"], Hl = ["xmlns", "viewBox"], jl = ["width", "heigh
1353
1358
  show: !0
1354
1359
  }),
1355
1360
  onMouseleave: (i) => he({ datapoint: t, seriesIndex: t.seriesIndex })
1356
- }, I(De(t, X.value)) + " " + I(e.value.style.chart.layout.labels.value.show ? `(${u(E)(
1361
+ }, I(Ye(t, X.value)) + " " + I(e.value.style.chart.layout.labels.value.show ? `(${u(E)(
1357
1362
  e.value.style.chart.layout.labels.value.formatter,
1358
1363
  t.value,
1359
- u(N)({
1364
+ u(D)({
1360
1365
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
1361
1366
  v: t.value,
1362
1367
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
1363
1368
  r: e.value.style.chart.layout.labels.value.rounding
1364
1369
  }),
1365
1370
  { datapoint: t }
1366
- )})` : ""), 45, Ka)) : v("", !0),
1367
- B(t) && f.value.dataLabels.show ? (n(), r("text", {
1371
+ )})` : ""), 45, Qa)) : v("", !0),
1372
+ B(t) && g.value.dataLabels.show ? (n(), r("text", {
1368
1373
  key: 1,
1369
1374
  class: "vue-data-ui-datalabel-name",
1370
1375
  "text-anchor": ce(d.value[a].middlePoint),
@@ -1377,18 +1382,18 @@ const Ul = ["id"], Wl = ["id"], Hl = ["xmlns", "viewBox"], jl = ["width", "heigh
1377
1382
  fontWeight: e.value.style.chart.layout.labels.name.bold ? "bold" : "normal"
1378
1383
  }),
1379
1384
  onClick: (i) => Q(t, a),
1380
- innerHTML: u(Lt)({
1385
+ innerHTML: u(Mt)({
1381
1386
  content: t.name,
1382
1387
  fontSize: xe.value,
1383
1388
  fill: e.value.style.chart.layout.labels.name.color,
1384
1389
  x: u(P)({ initX: d.value[a].middlePoint.x, initY: d.value[a].middlePoint.y, offset: 42, centerX: s.value.width / 2, centerY: s.value.height / 2 }).x,
1385
1390
  y: u(P)({ initX: d.value[a].middlePoint.x, initY: d.value[a].middlePoint.y, offset: 42, centerX: s.value.width / 2, centerY: s.value.height / 2 }).y + J.value * 1.2
1386
1391
  })
1387
- }, null, 12, Qa)) : v("", !0),
1388
- o[9] || (o[9] = Se(' @mouseenter="useTooltip({ datapoint: arc, relativeIndex: i, seriesIndex: arc.seriesIndex, show: true })" @mouseleave="handleDatapointLeave({ datapoint: arc, seriesIndex: arc.seriesIndex })" /> ', -1))
1392
+ }, null, 12, Za)) : v("", !0),
1393
+ o[7] || (o[7] = Se(' @mouseenter="useTooltip({ datapoint: arc, relativeIndex: i, seriesIndex: arc.seriesIndex, show: true })" @mouseleave="handleDatapointLeave({ datapoint: arc, seriesIndex: arc.seriesIndex })" /> ', -1))
1389
1394
  ], 64)) : v("", !0)
1390
1395
  ])),
1391
- f.value.dataLabels.show && e.value.style.chart.comments.show && t.comment ? (n(), r("g", Za, [
1396
+ g.value.dataLabels.show && e.value.style.chart.comments.show && t.comment ? (n(), r("g", eo, [
1392
1397
  B(t) && e.value.type === "classic" ? (n(), r("foreignObject", {
1393
1398
  key: 0,
1394
1399
  x: e.value.style.chart.comments.offsetX + (u(x)(t, !0).anchor === "end" ? u(x)(t).x - e.value.style.chart.comments.width : u(x)(t, !0).anchor === "middle" ? u(x)(t).x - e.value.style.chart.comments.width / 2 : u(x)(t).x),
@@ -1402,11 +1407,11 @@ const Ul = ["id"], Wl = ["id"], Hl = ["xmlns", "viewBox"], jl = ["width", "heigh
1402
1407
  plot: { ...t, textAlign: u(x)(t, !0, 16, !0).anchor, flexAlign: u(x)(t, !0, 16).anchor, isFirstLoad: T.value }
1403
1408
  }, void 0, !0)
1404
1409
  ])
1405
- ], 8, eo)) : v("", !0),
1410
+ ], 8, to)) : v("", !0),
1406
1411
  B(t) && e.value.type === "polar" ? (n(), r("foreignObject", {
1407
1412
  key: 1,
1408
1413
  x: e.value.style.chart.comments.offsetX + (ce(d.value[a].middlePoint) === "end" ? u(P)({ initX: d.value[a].middlePoint.x, initY: d.value[a].middlePoint.y, offset: 42, centerX: s.value.width / 2, centerY: s.value.height / 2 }).x - e.value.style.chart.comments.width : ce(d.value[a].middlePoint) === "middle" ? u(P)({ initX: d.value[a].middlePoint.x, initY: d.value[a].middlePoint.y, offset: 42, centerX: s.value.width / 2, centerY: s.value.height / 2 }).x - e.value.style.chart.comments.width / 2 : u(P)({ initX: d.value[a].middlePoint.x, initY: d.value[a].middlePoint.y, offset: 42, centerX: s.value.width / 2, centerY: s.value.height / 2 }).x),
1409
- y: sl(d.value[a]) + e.value.style.chart.comments.offsetY,
1414
+ y: nl(d.value[a]) + e.value.style.chart.comments.offsetY,
1410
1415
  width: e.value.style.chart.comments.width,
1411
1416
  height: "200",
1412
1417
  style: $({
@@ -1420,32 +1425,32 @@ const Ul = ["id"], Wl = ["id"], Hl = ["xmlns", "viewBox"], jl = ["width", "heigh
1420
1425
  plot: { ...t, textAlign: ce(d.value[a].middlePoint), flexAlign: ce(d.value[a].middlePoint), isFirstLoad: T.value }
1421
1426
  }, void 0, !0)
1422
1427
  ])
1423
- ], 12, to)) : v("", !0)
1428
+ ], 12, lo)) : v("", !0)
1424
1429
  ])) : v("", !0)
1425
- ], 10, Ra))), 128)),
1430
+ ], 10, Ga))), 128)),
1426
1431
  b(l.$slots, "svg", { svg: s.value }, void 0, !0)
1427
1432
  ], 512)
1428
- ], 14, Hl)),
1429
- l.$slots.watermark ? (n(), r("div", lo, [
1430
- b(l.$slots, "watermark", ne(ue({ isPrinting: u(it) || u(vt) })), void 0, !0)
1433
+ ], 14, jl)),
1434
+ l.$slots.watermark ? (n(), r("div", ao, [
1435
+ b(l.$slots, "watermark", ne(ue({ isPrinting: u(vt) || u(dt) })), void 0, !0)
1431
1436
  ])) : v("", !0),
1432
1437
  h("div", {
1433
1438
  id: `legend-bottom-${y.value}`
1434
- }, null, 8, ao),
1435
- lt.value ? (n(), te(fl, {
1439
+ }, null, 8, oo),
1440
+ at.value ? (n(), te(pl, {
1436
1441
  key: 5,
1437
1442
  to: e.value.style.chart.legend.position === "top" ? `#legend-top-${y.value}` : `#legend-bottom-${y.value}`
1438
1443
  }, [
1439
1444
  h("div", {
1440
1445
  ref_key: "chartLegend",
1441
- ref: Je
1446
+ ref: Ke
1442
1447
  }, [
1443
- e.value.style.chart.legend.show ? (n(), te(Gl, {
1444
- key: `legend_${tt.value}`,
1445
- legendSet: gt.value,
1446
- config: ll.value,
1447
- onClickMarker: o[3] || (o[3] = ({ i: t }) => pt(t))
1448
- }, Ge({
1448
+ e.value.style.chart.legend.show ? (n(), te(ql, {
1449
+ key: `legend_${lt.value}`,
1450
+ legendSet: mt.value,
1451
+ config: al.value,
1452
+ onClickMarker: o[3] || (o[3] = ({ i: t }) => gt(t))
1453
+ }, qe({
1449
1454
  item: A(({ legend: t, index: a }) => [
1450
1455
  h("div", {
1451
1456
  style: $(`opacity:${q.value.includes(a) ? 0.5 : 1}`),
@@ -1453,7 +1458,7 @@ const Ul = ["id"], Wl = ["id"], Hl = ["xmlns", "viewBox"], jl = ["width", "heigh
1453
1458
  }, I(t.name) + I(e.value.style.chart.legend.showPercentage || e.value.style.chart.legend.showValue ? ":" : "") + " " + I(e.value.style.chart.legend.showValue ? u(E)(
1454
1459
  e.value.style.chart.layout.labels.value.formatter,
1455
1460
  t.value,
1456
- u(N)({
1461
+ u(D)({
1457
1462
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
1458
1463
  v: t.value,
1459
1464
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
@@ -1463,22 +1468,22 @@ const Ul = ["id"], Wl = ["id"], Hl = ["xmlns", "viewBox"], jl = ["width", "heigh
1463
1468
  datapoint: t,
1464
1469
  index: a
1465
1470
  }
1466
- ) : "") + " " + I(e.value.style.chart.legend.showPercentage ? q.value.includes(a) ? `${e.value.style.chart.legend.showValue ? "(" : ""}${ul(t.proportion * 100)}%${e.value.style.chart.legend.showValue ? ")" : ""}` : `${e.value.style.chart.legend.showValue ? "(" : ""}${isNaN(t.value / F.value) ? "-" : u(E)(
1471
+ ) : "") + " " + I(e.value.style.chart.legend.showPercentage ? q.value.includes(a) ? `${e.value.style.chart.legend.showValue ? "(" : ""}${rl(t.proportion * 100)}%${e.value.style.chart.legend.showValue ? ")" : ""}` : `${e.value.style.chart.legend.showValue ? "(" : ""}${isNaN(t.value / F.value) ? "-" : u(E)(
1467
1472
  e.value.style.chart.layout.labels.percentage.formatter,
1468
- mt.value(t),
1469
- u(N)({
1470
- v: mt.value(t),
1473
+ bt.value(t),
1474
+ u(D)({
1475
+ v: bt.value(t),
1471
1476
  s: "%",
1472
1477
  r: e.value.style.chart.legend.roundingPercentage
1473
1478
  })
1474
- )}${e.value.style.chart.legend.showValue ? ")" : ""}` : ""), 13, oo)
1479
+ )}${e.value.style.chart.legend.showValue ? ")" : ""}` : ""), 13, so)
1475
1480
  ]),
1476
1481
  _: 2
1477
1482
  }, [
1478
1483
  l.$slots.pattern ? {
1479
1484
  name: "legend-pattern",
1480
1485
  fn: A(({ legend: t, index: a }) => [
1481
- Te(El, {
1486
+ Te(Rl, {
1482
1487
  shape: t.shape,
1483
1488
  radius: 30,
1484
1489
  stroke: "none",
@@ -1489,26 +1494,26 @@ const Ul = ["id"], Wl = ["id"], Hl = ["xmlns", "viewBox"], jl = ["width", "heigh
1489
1494
  key: "0"
1490
1495
  } : void 0
1491
1496
  ]), 1032, ["legendSet", "config"])) : v("", !0),
1492
- b(l.$slots, "legend", { legend: gt.value }, void 0, !0)
1497
+ b(l.$slots, "legend", { legend: mt.value }, void 0, !0)
1493
1498
  ], 512)
1494
1499
  ], 8, ["to"])) : v("", !0),
1495
1500
  l.$slots.source ? (n(), r("div", {
1496
1501
  key: 6,
1497
1502
  ref_key: "source",
1498
- ref: Ke,
1503
+ ref: Qe,
1499
1504
  dir: "auto"
1500
1505
  }, [
1501
1506
  b(l.$slots, "source", {}, void 0, !0)
1502
1507
  ], 512)) : v("", !0),
1503
- l.$slots.hollow ? (n(), r("div", so, [
1508
+ l.$slots.hollow ? (n(), r("div", no, [
1504
1509
  b(l.$slots, "hollow", ne(ue({
1505
1510
  total: F.value,
1506
- average: Ye.value,
1511
+ average: Xe.value,
1507
1512
  dataset: G.value
1508
1513
  })), void 0, !0)
1509
1514
  ])) : v("", !0),
1510
- Te(u(Nt), {
1511
- show: f.value.showTooltip && Me.value,
1515
+ Te(u(Yt), {
1516
+ show: g.value.showTooltip && ze.value,
1512
1517
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
1513
1518
  color: e.value.style.chart.tooltip.color,
1514
1519
  fontSize: e.value.style.chart.tooltip.fontSize,
@@ -1518,48 +1523,48 @@ const Ul = ["id"], Wl = ["id"], Hl = ["xmlns", "viewBox"], jl = ["width", "heigh
1518
1523
  backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
1519
1524
  position: e.value.style.chart.tooltip.position,
1520
1525
  offsetY: e.value.style.chart.tooltip.offsetY,
1521
- parent: D.value,
1522
- content: ze.value,
1526
+ parent: N.value,
1527
+ content: Oe.value,
1523
1528
  isCustom: me.value,
1524
1529
  isFullscreen: se.value,
1525
1530
  smooth: e.value.style.chart.tooltip.smooth,
1526
1531
  backdropFilter: e.value.style.chart.tooltip.backdropFilter
1527
1532
  }, {
1528
1533
  "tooltip-before": A(() => [
1529
- b(l.$slots, "tooltip-before", ne(ue({ ...Xe.value })), void 0, !0)
1534
+ b(l.$slots, "tooltip-before", ne(ue({ ...Be.value })), void 0, !0)
1530
1535
  ]),
1531
1536
  "tooltip-after": A(() => [
1532
- b(l.$slots, "tooltip-after", ne(ue({ ...Xe.value })), void 0, !0)
1537
+ b(l.$slots, "tooltip-after", ne(ue({ ...Be.value })), void 0, !0)
1533
1538
  ]),
1534
1539
  _: 3
1535
1540
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom", "isFullscreen", "smooth", "backdropFilter"]),
1536
- we.value ? (n(), te(pl(be.value.component), qe({ key: 8 }, be.value.props, {
1541
+ we.value ? (n(), te(gl(be.value.component), Ue({ key: 8 }, be.value.props, {
1537
1542
  ref_key: "tableUnit",
1538
1543
  ref: ge,
1539
- onClose: o[6] || (o[6] = (t) => f.value.showTable = !1)
1540
- }), Ge({
1544
+ onClose: Ct
1545
+ }), qe({
1541
1546
  content: A(() => [
1542
- (n(), te(u(Xt), {
1543
- key: `table_${et.value}`,
1547
+ (n(), te(u(Vt), {
1548
+ key: `table_${tt.value}`,
1544
1549
  colNames: Ce.value.colNames,
1545
1550
  head: Ce.value.head,
1546
1551
  body: Ce.value.body,
1547
1552
  config: Ce.value.config,
1548
1553
  title: e.value.table.useDialog ? "" : be.value.title,
1549
1554
  withCloseButton: !e.value.table.useDialog,
1550
- onClose: o[5] || (o[5] = (t) => f.value.showTable = !1)
1555
+ onClose: Ct
1551
1556
  }, {
1552
1557
  th: A(({ th: t }) => [
1553
1558
  h("div", {
1554
1559
  innerHTML: t,
1555
1560
  style: { display: "flex", "align-items": "center" }
1556
- }, null, 8, no)
1561
+ }, null, 8, uo)
1557
1562
  ]),
1558
1563
  td: A(({ td: t }) => [
1559
1564
  Se(I(t.name ? t.name : isNaN(Number(t)) ? t.includes("%") ? t : u(E)(
1560
1565
  e.value.style.chart.layout.labels.percentage.formatter,
1561
1566
  t,
1562
- u(N)({
1567
+ u(D)({
1563
1568
  v: t,
1564
1569
  s: "%",
1565
1570
  r: e.value.style.chart.layout.labels.percentage.rounding
@@ -1567,7 +1572,7 @@ const Ul = ["id"], Wl = ["id"], Hl = ["xmlns", "viewBox"], jl = ["width", "heigh
1567
1572
  ) : u(E)(
1568
1573
  e.value.style.chart.layout.labels.value.formatter,
1569
1574
  t,
1570
- u(N)({
1575
+ u(D)({
1571
1576
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
1572
1577
  v: t,
1573
1578
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
@@ -1593,9 +1598,9 @@ const Ul = ["id"], Wl = ["id"], Hl = ["xmlns", "viewBox"], jl = ["width", "heigh
1593
1598
  h("button", {
1594
1599
  tabindex: "0",
1595
1600
  class: "vue-ui-user-options-button",
1596
- onClick: o[4] || (o[4] = (t) => Be(e.value.userOptions.callbacks.csv))
1601
+ onClick: o[4] || (o[4] = (t) => Ve(e.value.userOptions.callbacks.csv))
1597
1602
  }, [
1598
- Te(u(Dt), {
1603
+ Te(u(Xt), {
1599
1604
  name: "excel",
1600
1605
  stroke: be.value.props.color
1601
1606
  }, null, 8, ["stroke"])
@@ -1604,10 +1609,10 @@ const Ul = ["id"], Wl = ["id"], Hl = ["xmlns", "viewBox"], jl = ["width", "heigh
1604
1609
  key: "1"
1605
1610
  } : void 0
1606
1611
  ]), 1040)) : v("", !0),
1607
- u(_e) ? (n(), te(Yl, { key: 9 })) : v("", !0)
1608
- ], 46, Ul));
1612
+ u(_e) ? (n(), te(Xl, { key: 9 })) : v("", !0)
1613
+ ], 46, Wl));
1609
1614
  }
1610
- }, xo = /* @__PURE__ */ ql(uo, [["__scopeId", "data-v-b2d3d9b6"]]);
1615
+ }, _o = /* @__PURE__ */ Ul(ro, [["__scopeId", "data-v-b356a20f"]]);
1611
1616
  export {
1612
- xo as default
1617
+ _o as default
1613
1618
  };