vue-data-ui 3.0.0-next.4 → 3.0.0-next.40

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 (106) hide show
  1. package/dist/{Arrow-COeGcYaf.js → Arrow-CJMQcuGh.js} +1 -1
  2. package/dist/{BaseDraggableDialog-B6a_nUd1.js → BaseDraggableDialog-BorVmOH6.js} +2 -2
  3. package/dist/{BaseIcon-C_m_NEgt.js → BaseIcon-DEsg88EI.js} +1 -1
  4. package/dist/{useLoading-Bt5Doa8m.js → BaseScanner-DIK2NTdp.js} +11 -11
  5. package/dist/{ColorPicker-_xpvmgl6.js → ColorPicker-Co40B_SG.js} +2 -2
  6. package/dist/{DataTable-kd4xY9pT.js → DataTable-DY-e2LXS.js} +2 -2
  7. package/dist/{Legend-Bow74t3d.js → Legend-C7zp8-t4.js} +2 -2
  8. package/dist/{NonSvgPenAndPaper-cUcAGGV2.js → NonSvgPenAndPaper-C2R7jHOH.js} +3 -3
  9. package/dist/{PackageVersion-3ZfzB951.js → PackageVersion-B6kajKgU.js} +1 -1
  10. package/dist/{PenAndPaper-BZddJqUG.js → PenAndPaper-en69u8G0.js} +3 -3
  11. package/dist/{Shape-BsptIVCm.js → Shape-D2suYivy.js} +43 -37
  12. package/dist/Slicer-DlcITWn0.js +588 -0
  13. package/dist/{SparkTooltip-BdD0e0jv.js → SparkTooltip-BwDKg_cF.js} +7 -7
  14. package/dist/{Title-FiH2Kirc.js → Title-CBSyhlmd.js} +1 -1
  15. package/dist/{Tooltip-BLtR7DBZ.js → Tooltip-Dis_Iqvl.js} +23 -19
  16. package/dist/{UserOptions-DOwmMJId.js → UserOptions-BAGpDPid.js} +2 -2
  17. package/dist/{dom-to-png-DnsK-Zal.js → dom-to-png-Ov4kozad.js} +1 -1
  18. package/dist/{img-CP2uNkKq.js → img-lSctQ4V6.js} +1 -1
  19. package/dist/{index-BnnNoGGd.js → index-Dt40W2hN.js} +1533 -1265
  20. package/dist/{pdf-urw1sGoX.js → pdf-DtFuExHv.js} +1 -1
  21. package/dist/style.css +1 -1
  22. package/dist/types/vue-data-ui.d.cts +231 -10
  23. package/dist/types/vue-data-ui.d.ts +231 -10
  24. package/dist/{useNestedProp-B6Dz15k2.js → useNestedProp-CiNTcBth.js} +1 -1
  25. package/dist/{usePrinter-Dd-RkmL8.js → usePrinter-C4Hc_Nbf.js} +2 -2
  26. package/dist/useTimeLabelCollider-CIsgDrl9.js +78 -0
  27. package/dist/{useTimeLabels-Mrr0jrpL.js → useTimeLabels-DkzmKfZn.js} +211 -152
  28. package/dist/{vue-data-ui-Dql75T3d.js → vue-data-ui-Bgp_em-v.js} +64 -64
  29. package/dist/vue-data-ui.js +26 -25
  30. package/dist/{vue-ui-3d-bar-CUDEgTKp.js → vue-ui-3d-bar-osKQ4IOP.js} +6 -6
  31. package/dist/{vue-ui-accordion-qNR0BQCP.js → vue-ui-accordion-BrdvtjzQ.js} +3 -3
  32. package/dist/{vue-ui-age-pyramid-BFWU1VGZ.js → vue-ui-age-pyramid-CioF-ZZz.js} +11 -9
  33. package/dist/{vue-ui-annotator-CeMOjHpf.js → vue-ui-annotator-CSqAhQiG.js} +2 -2
  34. package/dist/vue-ui-bullet-CVDhxrNn.js +571 -0
  35. package/dist/vue-ui-candlestick--MPqDI4C.js +999 -0
  36. package/dist/{vue-ui-carousel-table-CAr64-2F.js → vue-ui-carousel-table-BVk7PLwZ.js} +4 -4
  37. package/dist/{vue-ui-chestnut-B0zNp1jY.js → vue-ui-chestnut-DEx9TbrF.js} +5 -5
  38. package/dist/{vue-ui-chord-C-_tz6Tb.js → vue-ui-chord-CA-KhxYT.js} +8 -8
  39. package/dist/{vue-ui-circle-pack-BSTkkKx-.js → vue-ui-circle-pack-DBathPgi.js} +26 -26
  40. package/dist/{vue-ui-cursor-Dqd6RkcK.js → vue-ui-cursor-DMgru1Ut.js} +2 -2
  41. package/dist/{vue-ui-dashboard-CspqjC6x.js → vue-ui-dashboard-DjR4GMXi.js} +62 -62
  42. package/dist/{vue-ui-digits-CazGAGyM.js → vue-ui-digits-Zyo5YPt9.js} +2 -2
  43. package/dist/{vue-ui-donut-BK35Gt-7.js → vue-ui-donut-CTkQZ2S_.js} +408 -381
  44. package/dist/vue-ui-donut-evolution-CqWJyBuS.js +1075 -0
  45. package/dist/{vue-ui-dumbbell-CJal89Ud.js → vue-ui-dumbbell-CqW_fq8N.js} +7 -7
  46. package/dist/vue-ui-flow-CrAhSPCS.js +841 -0
  47. package/dist/{vue-ui-funnel-Dm0LCakq.js → vue-ui-funnel-DhfW5rrz.js} +6 -6
  48. package/dist/{vue-ui-galaxy-C9poCSSD.js → vue-ui-galaxy-PAdaOeqx.js} +51 -49
  49. package/dist/{vue-ui-gauge-CYXXfMRC.js → vue-ui-gauge-O3pWOp6L.js} +6 -6
  50. package/dist/{vue-ui-gizmo-B-8rhor5.js → vue-ui-gizmo-euqtfneE.js} +3 -3
  51. package/dist/vue-ui-heatmap-DpJtmmha.js +1078 -0
  52. package/dist/{vue-ui-history-plot-C_Si7S5S.js → vue-ui-history-plot-D-ERYWqA.js} +12 -10
  53. package/dist/{vue-ui-kpi-BYYBkt55.js → vue-ui-kpi-BVPy5lir.js} +3 -3
  54. package/dist/{vue-ui-mini-loader-DmHE-wrb.js → vue-ui-mini-loader-C1jyLTN0.js} +2 -2
  55. package/dist/{vue-ui-molecule-I2ZUVtal.js → vue-ui-molecule-D5a1xiZe.js} +35 -33
  56. package/dist/{vue-ui-mood-radar-BYUr9rcv.js → vue-ui-mood-radar-BFoBLBHr.js} +7 -7
  57. package/dist/vue-ui-nested-donuts-C5EdQl9m.js +1286 -0
  58. package/dist/{vue-ui-onion-BpGz1RFC.js → vue-ui-onion-R8aDUWKW.js} +46 -44
  59. package/dist/vue-ui-parallel-coordinate-plot-BlyVabIZ.js +915 -0
  60. package/dist/{vue-ui-quadrant-CByC4r8k.js → vue-ui-quadrant-IUglavFx.js} +59 -57
  61. package/dist/vue-ui-quick-chart-BpNPyMU7.js +1761 -0
  62. package/dist/{vue-ui-radar-CBVb6GyN.js → vue-ui-radar-gw_Juu9G.js} +12 -10
  63. package/dist/{vue-ui-rating-Thf6P6AF.js → vue-ui-rating-1unEFc2G.js} +2 -2
  64. package/dist/{vue-ui-relation-circle-Blg3GkeU.js → vue-ui-relation-circle-BcfPtGPT.js} +6 -6
  65. package/dist/{vue-ui-ridgeline-D6kxALQN.js → vue-ui-ridgeline-MPTZgHBN.js} +12 -10
  66. package/dist/{vue-ui-rings-bBHc4cwe.js → vue-ui-rings-BathT6rc.js} +13 -11
  67. package/dist/{vue-ui-scatter-DS6-kGZL.js → vue-ui-scatter-c18cEUOV.js} +72 -70
  68. package/dist/{vue-ui-skeleton-gHkpLBcj.js → vue-ui-skeleton-B7-_d7dq.js} +3 -3
  69. package/dist/{vue-ui-smiley-S7qJ-dRf.js → vue-ui-smiley-BDXogV8H.js} +2 -2
  70. package/dist/{vue-ui-spark-trend-Co-sKoQX.js → vue-ui-spark-trend-DDTjw45H.js} +3 -3
  71. package/dist/{vue-ui-sparkbar-G1Jhr305.js → vue-ui-sparkbar-C_5eGtLa.js} +3 -3
  72. package/dist/{vue-ui-sparkgauge-Bzm5X8us.js → vue-ui-sparkgauge-DHY87x_9.js} +3 -3
  73. package/dist/{vue-ui-sparkhistogram-IGnxrQK9.js → vue-ui-sparkhistogram-DS5XBE2H.js} +4 -4
  74. package/dist/vue-ui-sparkline-CSDFmjTw.js +489 -0
  75. package/dist/{vue-ui-sparkstackbar-C_cbbRT_.js → vue-ui-sparkstackbar-BlbqR90E.js} +55 -53
  76. package/dist/vue-ui-stackbar-BQhWHZhn.js +1370 -0
  77. package/dist/{vue-ui-strip-plot-Cw1CDIL0.js → vue-ui-strip-plot-DqW7c8P5.js} +30 -28
  78. package/dist/{vue-ui-table-C4A73F9D.js → vue-ui-table-CgQG6lgC.js} +3 -3
  79. package/dist/{vue-ui-table-heatmap-DDlDAXMI.js → vue-ui-table-heatmap-BSvr6nNW.js} +5 -5
  80. package/dist/{vue-ui-table-sparkline-CQDLqNvX.js → vue-ui-table-sparkline-w7bQM7Hk.js} +4 -4
  81. package/dist/{vue-ui-thermometer-DgBtT1Ts.js → vue-ui-thermometer-DXtr4W_t.js} +6 -6
  82. package/dist/{vue-ui-timer-DwL2EUHc.js → vue-ui-timer-DFF2z6Uo.js} +5 -5
  83. package/dist/{vue-ui-tiremarks-J9v9JAmf.js → vue-ui-tiremarks-a_a4b9HI.js} +6 -6
  84. package/dist/{vue-ui-treemap-BSPd3wFo.js → vue-ui-treemap-DLbstU3H.js} +13 -11
  85. package/dist/vue-ui-vertical-bar-B7NnA0GU.js +1108 -0
  86. package/dist/vue-ui-waffle-B9VX_YKC.js +910 -0
  87. package/dist/{vue-ui-wheel-B_r_vUFd.js → vue-ui-wheel-BuMOe8AU.js} +6 -6
  88. package/dist/{vue-ui-word-cloud-DqvRfwF3.js → vue-ui-word-cloud-CEZ2XSvH.js} +12 -10
  89. package/dist/{vue-ui-world-DguPtgux.js → vue-ui-world-BTXi0bm-.js} +11 -9
  90. package/dist/vue-ui-xy-DIstI78B.js +3755 -0
  91. package/dist/{vue-ui-xy-canvas-Cv4Fs6Jw.js → vue-ui-xy-canvas-u2RoNNiK.js} +265 -264
  92. package/package.json +1 -1
  93. package/dist/Slicer-i0BAmgHn.js +0 -577
  94. package/dist/vue-ui-bullet-CmNollxj.js +0 -513
  95. package/dist/vue-ui-candlestick-CkoAVYNh.js +0 -873
  96. package/dist/vue-ui-donut-evolution-SomhFGJh.js +0 -903
  97. package/dist/vue-ui-flow-BFsmk2iL.js +0 -765
  98. package/dist/vue-ui-heatmap-BQzObiF9.js +0 -877
  99. package/dist/vue-ui-nested-donuts-DEm7s2uC.js +0 -1177
  100. package/dist/vue-ui-parallel-coordinate-plot-SkVvzSSQ.js +0 -807
  101. package/dist/vue-ui-quick-chart-GEYFXShR.js +0 -1612
  102. package/dist/vue-ui-sparkline-ezu4qjgC.js +0 -459
  103. package/dist/vue-ui-stackbar-BD9gyxAb.js +0 -1207
  104. package/dist/vue-ui-vertical-bar-B5b5tXjT.js +0 -1029
  105. package/dist/vue-ui-waffle-Bh_gS8y2.js +0 -863
  106. package/dist/vue-ui-xy-MFNbJqgb.js +0 -2980
@@ -1,20 +1,23 @@
1
- import { defineAsyncComponent as ce, useSlots as sl, computed as y, shallowRef as U, ref as p, onMounted as ul, onBeforeUnmount as nl, toRefs as rl, watch as ge, createElementBlock as r, openBlock as n, normalizeStyle as $, normalizeClass as Xe, createBlock as ae, createCommentVNode as v, renderSlot as w, createElementVNode as h, createVNode as De, unref as u, createSlots as wt, withCtx as A, normalizeProps as he, guardReactiveProps as ye, Fragment as b, renderList as F, mergeProps as kt, toDisplayString as I, withDirectives as xt, createTextVNode as Be, vShow as _t, nextTick as il } from "vue";
2
- import { u as vl, o as $t, e as Ve, g as dl, c as cl, A as hl, b as yl, v as fl, d as Ct, p as oe, m as At, $ as pl, f as N, X as gl, s as Ce, w as ml, j as bl, N as P, i as V, k as fe, n as x, a0 as Tt, a1 as wl, a2 as kl, t as xl, a as _l, C as Ee, q as $l, r as Cl, x as Al, T as St } from "./index-BnnNoGGd.js";
3
- import { t as Tl, u as Sl } from "./useResponsive-DfdjqQps.js";
4
- import { u as Pt } from "./useNestedProp-B6Dz15k2.js";
5
- import { u as Pl } from "./usePrinter-Dd-RkmL8.js";
6
- import { u as Fl } from "./useUserOptionState-BIvW1Kz7.js";
7
- import { u as Ll } from "./useChartAccessibility-9icAAmYg.js";
8
- import Il from "./Legend-Bow74t3d.js";
9
- import Ml from "./Title-FiH2Kirc.js";
10
- import { _ as zl } from "./Shape-BsptIVCm.js";
11
- import { u as Ol, B as Nl } from "./useLoading-Bt5Doa8m.js";
12
- import Yl from "./img-CP2uNkKq.js";
13
- import { _ as Xl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
14
- const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { key: 1 }, Gl = ["id"], Rl = ["stop-color"], ql = ["offset", "stop-color"], Wl = ["offset", "stop-color"], Ul = ["stop-color"], Hl = { key: 2 }, jl = ["id", "cx", "cy"], Jl = ["stop-color", "stop-opacity"], Kl = ["stop-color"], Ql = ["id"], Zl = ["id"], ea = ["id"], ta = ["flood-color"], la = ["id"], aa = ["flood-color"], oa = ["d", "stroke", "filter"], sa = ["d", "stroke", "filter"], ua = ["cx", "cy", "r", "fill", "filter"], na = { key: 6 }, ra = ["stroke", "d"], ia = ["d", "fill", "stroke", "stroke-width", "filter"], va = { key: 0 }, da = ["d", "fill", "stroke", "stroke-width", "filter"], ca = { key: 0 }, ha = ["stroke", "d"], ya = { key: 0 }, fa = ["d", "stroke", "stroke-width", "filter"], pa = { key: 1 }, ga = ["d", "fill", "stroke", "stroke-width", "filter"], ma = ["d", "fill", "stroke", "stroke-width", "filter"], ba = { key: 1 }, wa = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], ka = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], xa = { key: 0 }, _a = ["d", "fill", "stroke", "stroke-width"], $a = ["cx", "cy", "r", "stroke"], Ca = ["cx", "cy", "r", "fill"], Aa = ["cx", "cy", "r"], Ta = { key: 0 }, Sa = ["d", "stroke", "fill", "onMouseenter", "onMouseleave", "onClick"], Pa = { key: 1 }, Fa = ["cx", "cy", "r"], La = ["x", "y", "fill", "font-size"], Ia = ["x", "y", "fill", "font-size"], Ma = ["x", "y", "fill", "font-size"], za = ["x", "y", "fill", "font-size"], Oa = ["filter"], Na = { key: 0 }, Ya = ["x", "y"], Xa = { key: 1 }, Da = ["cx", "cy", "fill", "stroke", "filter", "onClick", "onMouseenter", "onMouseleave"], Ba = ["cx", "cy", "fill", "stroke", "filter", "onClick", "onMouseenter", "onMouseleave"], Va = ["text-anchor", "x", "y", "fill", "font-size", "onClick", "onMouseenter", "onMouseleave"], Ea = ["text-anchor", "x", "y", "fill", "font-size", "onClick", "innerHTML"], Ga = ["text-anchor", "x", "y", "fill", "font-size", "onClick", "onMouseenter", "onMouseleave"], Ra = ["text-anchor", "x", "y", "fill", "font-size", "onClick", "innerHTML"], qa = { key: 2 }, Wa = ["x", "y", "width"], Ua = ["x", "y", "width"], Ha = {
1
+ import { defineAsyncComponent as ye, useSlots as rl, computed as y, shallowRef as H, ref as p, onMounted as kt, onBeforeUnmount as xt, toRefs as il, watch as ge, createElementBlock as r, openBlock as n, normalizeStyle as $, normalizeClass as Be, createBlock as ae, createCommentVNode as v, renderSlot as b, createElementVNode as h, createVNode as Ve, unref as u, createSlots as _t, withCtx as A, normalizeProps as oe, guardReactiveProps as se, Fragment as w, renderList as L, mergeProps as $t, toDisplayString as I, withDirectives as Ct, createTextVNode as Ee, vShow as At, nextTick as vl } from "vue";
2
+ import { u as dl, o as Tt, e as Re, g as cl, c as hl, A as yl, b as fl, v as pl, d as St, p as ne, m as Pt, $ as gl, f as N, X as ml, s as Ce, w as bl, j as wl, N as P, i as V, k as fe, n as x, a0 as Ft, a1 as kl, a2 as xl, t as _l, a as $l, C as Ge, q as Cl, r as Al, x as Tl, T as Lt } from "./index-Dt40W2hN.js";
3
+ import { t as Sl, u as Pl } from "./useResponsive-DfdjqQps.js";
4
+ import { u as Fl } from "./usePrinter-C4Hc_Nbf.js";
5
+ import { u as Ll, B as Il } from "./BaseScanner-DIK2NTdp.js";
6
+ import { u as It } from "./useNestedProp-CiNTcBth.js";
7
+ import { u as Ml } from "./useUserOptionState-BIvW1Kz7.js";
8
+ import { u as zl } from "./useChartAccessibility-9icAAmYg.js";
9
+ import Ol from "./img-lSctQ4V6.js";
10
+ import { _ as Nl } from "./Shape-D2suYivy.js";
11
+ import Yl from "./Title-CBSyhlmd.js";
12
+ import Xl from "./Legend-C7zp8-t4.js";
13
+ import { _ as Dl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
14
+ const Bl = ["id"], Vl = ["xmlns", "viewBox"], El = ["width", "height"], Rl = { key: 1 }, Gl = ["id"], ql = ["stop-color"], Wl = ["offset", "stop-color"], Ul = ["offset", "stop-color"], Hl = ["stop-color"], jl = { key: 2 }, Jl = ["id", "cx", "cy"], Kl = ["stop-color", "stop-opacity"], Ql = ["stop-color"], Zl = ["id"], ea = ["id"], ta = ["id"], la = ["flood-color"], aa = ["id"], oa = ["flood-color"], sa = ["d", "stroke", "filter"], na = ["d", "stroke", "filter"], ua = ["cx", "cy", "r", "fill", "filter"], ra = { key: 6 }, ia = ["stroke", "d"], va = ["d", "fill", "stroke", "stroke-width", "filter"], da = { key: 0 }, ca = ["d", "fill", "stroke", "stroke-width", "filter"], ha = { key: 0 }, ya = ["stroke", "d"], fa = { key: 0 }, pa = ["d", "stroke", "stroke-width", "filter"], ga = { key: 1 }, ma = ["d", "fill", "stroke", "stroke-width", "filter"], ba = ["d", "fill", "stroke", "stroke-width", "filter"], wa = { key: 1 }, ka = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], xa = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], _a = { key: 0 }, $a = ["d", "fill", "stroke", "stroke-width"], Ca = ["cx", "cy", "r", "stroke"], Aa = ["cx", "cy", "r", "fill"], Ta = ["cx", "cy", "r"], Sa = { key: 0 }, Pa = ["d", "stroke", "fill", "onMouseenter", "onMouseleave", "onClick"], Fa = { key: 1 }, La = ["cx", "cy", "r"], Ia = ["x", "y", "fill", "font-size"], Ma = ["x", "y", "fill", "font-size"], za = ["x", "y", "fill", "font-size"], Oa = ["x", "y", "fill", "font-size"], Na = ["filter"], Ya = { key: 0 }, Xa = ["x", "y"], Da = { key: 1 }, Ba = ["cx", "cy", "fill", "stroke", "filter", "onClick", "onMouseenter", "onMouseleave"], Va = ["cx", "cy", "fill", "stroke", "filter", "onClick", "onMouseenter", "onMouseleave"], Ea = ["text-anchor", "x", "y", "fill", "font-size", "onClick", "onMouseenter", "onMouseleave"], Ra = ["text-anchor", "x", "y", "fill", "font-size", "onClick", "innerHTML"], Ga = ["text-anchor", "x", "y", "fill", "font-size", "onClick", "onMouseenter", "onMouseleave"], qa = ["text-anchor", "x", "y", "fill", "font-size", "onClick", "innerHTML"], Wa = { key: 2 }, Ua = ["x", "y", "width"], Ha = ["x", "y", "width"], ja = {
15
15
  key: 4,
16
16
  class: "vue-data-ui-watermark"
17
- }, ja = ["onClick"], Ja = ["innerHTML"], Ka = {
17
+ }, Ja = ["onClick"], Ka = {
18
+ key: 6,
19
+ class: "vue-ui-donut-hollow"
20
+ }, Qa = ["innerHTML"], Za = {
18
21
  __name: "vue-ui-donut",
19
22
  props: {
20
23
  config: {
@@ -31,15 +34,15 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
31
34
  }
32
35
  },
33
36
  emits: ["selectLegend", "selectDatapoint"],
34
- setup(Ge, { expose: Ft, emit: Lt }) {
35
- const It = ce(() => import("./vue-ui-accordion-qNR0BQCP.js")), Mt = ce(() => import("./DataTable-kd4xY9pT.js")), zt = ce(() => import("./PackageVersion-3ZfzB951.js")), Ot = ce(() => import("./PenAndPaper-BZddJqUG.js")), Nt = ce(() => import("./Tooltip-BLtR7DBZ.js")), Yt = ce(() => import("./UserOptions-DOwmMJId.js")), { vue_ui_donut: Xt } = vl(), Dt = sl(), k = Ge, me = y({
37
+ setup(qe, { expose: Mt, emit: zt }) {
38
+ const Ot = ye(() => import("./vue-ui-accordion-BrdvtjzQ.js")), Nt = ye(() => import("./DataTable-DY-e2LXS.js")), Yt = ye(() => import("./PackageVersion-B6kajKgU.js")), Xt = ye(() => import("./PenAndPaper-en69u8G0.js")), Dt = ye(() => import("./Tooltip-Dis_Iqvl.js")), Bt = ye(() => import("./UserOptions-BAGpDPid.js")), { vue_ui_donut: Vt } = dl(), Et = rl(), k = qe, me = y({
36
39
  get() {
37
40
  return !!k.dataset && k.dataset.length;
38
41
  },
39
42
  set(l) {
40
43
  return l;
41
44
  }
42
- }), H = U(null), be = p(null), Ae = p(null), Te = p(null), Re = U(null), qe = U(null), j = U(null), se = U(null), We = U(null), Ue = U(null), He = p(0), je = p(0), Je = p(0), we = y({
45
+ }), E = H(null), be = p(null), Ae = p(null), Te = p(null), We = H(null), Ue = H(null), j = H(null), ue = H(null), He = H(null), je = H(null), Je = p(0), Ke = p(0), Qe = p(0), we = y({
43
46
  get: () => e.value.style.chart.layout.labels.percentage.fontSize,
44
47
  set: (l) => l
45
48
  }), J = y({
@@ -47,10 +50,10 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
47
50
  set: (l) => l
48
51
  });
49
52
  let Se = !1;
50
- const G = () => {
53
+ const R = () => {
51
54
  !e.value.autoSize || Se || (Se = !0, requestAnimationFrame(() => {
52
55
  Se = !1;
53
- const l = e.value, o = be.value, t = ne.value;
56
+ const l = e.value, o = be.value, t = ie.value;
54
57
  if (!l.autoSize || !o || !t) return;
55
58
  const [a, i, c, m] = t.getAttribute("viewBox").split(" ").map(Number), C = { x: a, y: i, width: c, height: m }, z = [
56
59
  {
@@ -66,92 +69,106 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
66
69
  sizeRef: J
67
70
  }
68
71
  ];
69
- z.map((B) => o.querySelectorAll(B.selector).length).reduce((B, Z) => B + Z, 0) !== 0 && (z.forEach(({ selector: B, baseSize: Z, minSize: Ye, sizeRef: ll }) => {
70
- o.querySelectorAll(B).forEach((al) => {
71
- const ol = wl({
72
- el: al,
72
+ z.map((B) => o.querySelectorAll(B.selector).length).reduce((B, Z) => B + Z, 0) !== 0 && (z.forEach(({ selector: B, baseSize: Z, minSize: De, sizeRef: sl }) => {
73
+ o.querySelectorAll(B).forEach((nl) => {
74
+ const ul = kl({
75
+ el: nl,
73
76
  bounds: C,
74
77
  currentFontSize: Z,
75
- minFontSize: Ye,
78
+ minFontSize: De,
76
79
  attempts: 200,
77
80
  padding: 1
78
81
  });
79
- ll.value = ol;
82
+ sl.value = ul;
80
83
  });
81
- }), e.value.autoSize && Ae.value && Te.value && kl({
84
+ }), e.value.autoSize && Ae.value && Te.value && xl({
82
85
  el: Ae.value,
83
86
  container: Te.value
84
87
  }));
85
88
  }));
86
89
  };
87
- ul(async () => {
88
- Ke(), requestAnimationFrame(G);
89
- }), nl(() => {
90
- j.value && (se.value && j.value.unobserve(se.value), j.value.disconnect());
90
+ kt(async () => {
91
+ Ze(), requestAnimationFrame(R);
91
92
  });
92
- const Pe = y(() => !!e.value.debug);
93
- function Ke() {
94
- if ($t(k.dataset) ? (Ve({
93
+ let Pe;
94
+ kt(() => {
95
+ E.value && (Pe = new ResizeObserver((l) => {
96
+ for (const o of l) {
97
+ const { width: t, height: a } = o.contentRect;
98
+ if (t > 0 && a > 0) {
99
+ R();
100
+ break;
101
+ }
102
+ }
103
+ }), Pe.observe(E.value.parentElement));
104
+ }), xt(() => {
105
+ Pe?.disconnect();
106
+ }), xt(() => {
107
+ j.value && (ue.value && j.value.unobserve(ue.value), j.value.disconnect());
108
+ });
109
+ const Fe = y(() => !!e.value.debug);
110
+ function Ze() {
111
+ if (Tt(k.dataset) ? (Re({
95
112
  componentName: "VueUiDonut",
96
113
  type: "dataset",
97
- debug: Pe.value
114
+ debug: Fe.value
98
115
  }), me.value = !1, xe.value = !0) : (k.dataset.forEach((l, o) => {
99
- dl({
116
+ cl({
100
117
  datasetObject: l,
101
118
  requiredAttributes: ["name", "values"]
102
119
  }).forEach((t) => {
103
- me.value = !1, xe.value = !0, Ve({
120
+ Re({
104
121
  componentName: "VueUiDonut",
105
122
  type: "datasetSerieAttribute",
106
123
  property: t,
107
124
  index: o,
108
- debug: Pe.value
109
- });
125
+ debug: Fe.value
126
+ }), me.value = !1, xe.value = !0;
110
127
  });
111
128
  }), k.dataset.forEach((l, o) => {
112
- (!l.name || l.name === "") && Ve({
129
+ (!l.name || l.name === "") && Re({
113
130
  componentName: "VueUiDonut",
114
131
  type: "datasetAttributeEmpty",
115
132
  property: "name",
116
133
  index: o,
117
- debug: Pe.value
134
+ debug: Fe.value
118
135
  });
119
- })), $t(k.dataset) || (xe.value = e.value.loading), e.value.responsive) {
120
- const l = Tl(() => {
121
- const { width: o, height: t } = Sl({
122
- chart: H.value,
123
- title: e.value.style.chart.title.text ? Re.value : null,
124
- legend: e.value.style.chart.legend.show ? qe.value : null,
125
- source: We.value,
126
- noTitle: Ue.value,
127
- padding: e.value.autoSize ? void 0 : lt.value
136
+ })), Tt(k.dataset) || (xe.value = e.value.loading), e.value.responsive) {
137
+ const l = Sl(() => {
138
+ const { width: o, height: t } = Pl({
139
+ chart: E.value,
140
+ title: e.value.style.chart.title.text ? We.value : null,
141
+ legend: e.value.style.chart.legend.show ? Ue.value : null,
142
+ source: He.value,
143
+ noTitle: je.value,
144
+ padding: e.value.autoSize ? void 0 : ot.value
128
145
  });
129
146
  requestAnimationFrame(() => {
130
- s.value.width = o, s.value.height = t, G();
147
+ s.value.width = o, s.value.height = t, R();
131
148
  });
132
149
  });
133
- j.value && (se.value && j.value.unobserve(se.value), j.value.disconnect()), j.value = new ResizeObserver(l), se.value = H.value.parentNode, j.value.observe(se.value);
150
+ j.value && (ue.value && j.value.unobserve(ue.value), j.value.disconnect()), j.value = new ResizeObserver(l), ue.value = E.value.parentNode, j.value.observe(ue.value);
134
151
  }
135
152
  }
136
- const g = p(cl()), Bt = p(null), Fe = p(!1), Le = p(""), Y = p(null), Qe = p(0);
137
- function Ie() {
138
- const l = Pt({
153
+ const g = p(hl()), Rt = p(null), Le = p(!1), Ie = p(""), Y = p(null), et = p(0);
154
+ function Me() {
155
+ const l = It({
139
156
  userConfig: k.config,
140
- defaultConfig: Xt
157
+ defaultConfig: Vt
141
158
  });
142
159
  let o = {};
143
160
  return l.theme ? o = {
144
- ...Pt({
145
- userConfig: _l.vue_ui_donut[l.theme] || k.config,
161
+ ...It({
162
+ userConfig: $l.vue_ui_donut[l.theme] || k.config,
146
163
  defaultConfig: l
147
164
  }),
148
- customPalette: xl[l.theme] || oe
149
- } : o = l, k.config && Ee(k.config, "events.datapointEnter") ? o.events.datapointEnter = k.config.events.datapointEnter : o.events.datapointEnter = null, k.config && Ee(k.config, "events.datapointLeave") ? o.events.datapointLeave = k.config.events.datapointLeave : o.events.datapointLeave = null, k.config && Ee(k.config, "events.datapointClick") ? o.events.datapointClick = k.config.events.datapointClick : o.events.datapointClick = null, o;
165
+ customPalette: _l[l.theme] || ne
166
+ } : o = l, k.config && Ge(k.config, "events.datapointEnter") ? o.events.datapointEnter = k.config.events.datapointEnter : o.events.datapointEnter = null, k.config && Ge(k.config, "events.datapointLeave") ? o.events.datapointLeave = k.config.events.datapointLeave : o.events.datapointLeave = null, k.config && Ge(k.config, "events.datapointClick") ? o.events.datapointClick = k.config.events.datapointClick : o.events.datapointClick = null, o;
150
167
  }
151
- const e = p(Ie()), { loading: ke, FINAL_DATASET: ue, manualLoading: xe, skeletonDataset: Vt } = Ol({
152
- ...rl(k),
168
+ const e = p(Me()), { loading: ke, FINAL_DATASET: re, manualLoading: xe, skeletonDataset: Gt } = Ll({
169
+ ...il(k),
153
170
  FINAL_CONFIG: e,
154
- prepareConfig: Ie,
171
+ prepareConfig: Me,
155
172
  skeletonDataset: [
156
173
  {
157
174
  name: "",
@@ -169,17 +186,18 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
169
186
  color: "#CACACA"
170
187
  }
171
188
  ],
172
- skeletonConfig: hl({
189
+ skeletonConfig: yl({
173
190
  defaultConfig: e.value,
174
191
  userConfig: {
175
192
  useCssAnimation: !1,
193
+ table: { show: !1 },
176
194
  startAnimation: {
177
195
  show: !1
178
196
  },
179
197
  userOptions: { show: !1 },
180
198
  style: {
181
199
  chart: {
182
- backgroundColor: "#999999",
200
+ backgroundColor: "#99999930",
183
201
  layout: {
184
202
  labels: {
185
203
  dataLabels: { show: !1 },
@@ -191,7 +209,7 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
191
209
  }
192
210
  },
193
211
  legend: {
194
- backgroundColor: "#999999",
212
+ backgroundColor: "transparent",
195
213
  showValue: !1,
196
214
  showPercentage: !1
197
215
  },
@@ -205,36 +223,36 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
205
223
  }
206
224
  }
207
225
  })
208
- }), T = p(!0), R = U([]);
209
- function Et(l, o = 1e3, t = 50) {
226
+ }), T = p(!0), W = H([]);
227
+ function qt(l, o = 1e3, t = 50) {
210
228
  return new Promise((a) => {
211
229
  const i = l.length;
212
- R.value = Array(i).fill(0);
230
+ W.value = Array(i).fill(0);
213
231
  let c = 0;
214
232
  l.forEach((m, C) => {
215
233
  setTimeout(() => {
216
234
  const z = performance.now();
217
235
  function O(B) {
218
- const Z = Math.min((B - z) / o, 1), Ye = St(Z);
219
- R.value[C] = m * Ye, R.value = [...R.value], Z < 1 ? (requestAnimationFrame(O), requestAnimationFrame(G)) : (R.value[C] = m, R.value = [...R.value], c += 1, c === i && a(), requestAnimationFrame(G));
236
+ const Z = Math.min((B - z) / o, 1), De = Lt(Z);
237
+ W.value[C] = m * De, W.value = [...W.value], Z < 1 ? (requestAnimationFrame(O), requestAnimationFrame(R)) : (W.value[C] = m, W.value = [...W.value], c += 1, c === i && a(), requestAnimationFrame(R));
220
238
  }
221
239
  requestAnimationFrame(O);
222
240
  }, C * t);
223
241
  });
224
242
  });
225
243
  }
226
- const Ze = p(!1);
244
+ const tt = p(!1);
227
245
  ge(
228
246
  () => ke.value,
229
247
  async (l) => {
230
- if (l || Ze.value) return;
231
- const o = ue.value === Vt, t = e.value.startAnimation?.show;
248
+ if (l || tt.value) return;
249
+ const o = re.value === Gt, t = e.value.startAnimation?.show;
232
250
  if (!o && t) {
233
- Ze.value = !0;
234
- const a = ue.value.map(
251
+ tt.value = !0;
252
+ const a = re.value.map(
235
253
  (i) => i.values.reduce((c, m) => c + m, 0)
236
254
  );
237
- await Et(
255
+ await qt(
238
256
  a,
239
257
  e.value.startAnimation.durationMs,
240
258
  e.value.startAnimation.staggerMs
@@ -244,17 +262,17 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
244
262
  },
245
263
  { immediate: !0 }
246
264
  );
247
- const { userOptionsVisible: Me, setUserOptionsVisibility: et, keepUserOptionState: tt } = Fl({ config: e.value }), { svgRef: ne } = Ll({ config: e.value.style.chart.title });
248
- function Gt() {
249
- et(!0);
265
+ const { userOptionsVisible: ze, setUserOptionsVisibility: lt, keepUserOptionState: at } = Ml({ config: e.value }), { svgRef: ie } = zl({ config: e.value.style.chart.title });
266
+ function Wt() {
267
+ lt(!0);
250
268
  }
251
- function Rt() {
252
- et(!1);
269
+ function Ut() {
270
+ lt(!1);
253
271
  }
254
272
  ge(() => k.config, (l) => {
255
- ke.value || (e.value = Ie()), Me.value = !e.value.userOptions.showOnChartHover, Ke(), He.value += 1, je.value += 1, Je.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;
273
+ ke.value || (e.value = Me()), ze.value = !e.value.userOptions.showOnChartHover, Ze(), Je.value += 1, Ke.value += 1, Qe.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;
256
274
  }, { deep: !0 });
257
- const lt = y(() => {
275
+ const ot = y(() => {
258
276
  const { top: l, right: o, bottom: t, left: a } = e.value.style.chart.padding;
259
277
  return {
260
278
  css: `padding:${l}px ${o}px ${t}px ${a}px`,
@@ -263,11 +281,11 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
263
281
  bottom: t,
264
282
  left: a
265
283
  };
266
- }), { isPrinting: at, isImaging: ot, generatePdf: st, generateImage: ut } = Pl({
284
+ }), { isPrinting: st, isImaging: nt, generatePdf: ut, generateImage: rt } = Fl({
267
285
  elementId: `donut__${g.value}`,
268
286
  fileName: e.value.style.chart.title.text || "vue-ui-donut",
269
287
  options: e.value.userOptions.print
270
- }), qt = y(() => e.value.userOptions.show && !e.value.style.chart.title.text), nt = y(() => yl(e.value.customPalette)), f = p({
288
+ }), Ht = y(() => e.value.userOptions.show && !e.value.style.chart.title.text), it = y(() => fl(e.value.customPalette)), f = p({
271
289
  dataLabels: {
272
290
  show: e.value.style.chart.layout.labels.dataLabels.show
273
291
  },
@@ -291,10 +309,10 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
291
309
  return _.value;
292
310
  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;
293
311
  return Math.max(t, 12 * (1 + l));
294
- }), rt = Lt, q = y(() => ue.value.map((l, o) => ({
312
+ }), vt = zt, G = y(() => re.value.map((l, o) => ({
295
313
  name: l.name,
296
- color: Ct(l.color) || nt.value[o] || oe[o] || oe[o % oe.length],
297
- value: fl(l.values.reduce((t, a) => t + a, 0)),
314
+ color: St(l.color) || it.value[o] || ne[o] || ne[o % ne.length],
315
+ value: pl(l.values.reduce((t, a) => t + a, 0)),
298
316
  absoluteValues: l.values,
299
317
  comment: l.comment || "",
300
318
  patternIndex: o,
@@ -305,19 +323,19 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
305
323
  ge(() => k.dataset, (l) => {
306
324
  Array.isArray(l) && l.length > 0 && (xe.value = !1);
307
325
  }, { immediate: !0 });
308
- const M = U(q.value);
309
- ge(() => q.value, (l) => {
310
- M.value = l, requestAnimationFrame(G);
326
+ const M = H(G.value);
327
+ ge(() => G.value, (l) => {
328
+ M.value = l, requestAnimationFrame(R);
311
329
  });
312
- function Wt() {
313
- return q.value.map((l) => ({
330
+ function jt() {
331
+ return G.value.map((l) => ({
314
332
  name: l.name,
315
333
  color: l.color,
316
334
  value: l.value
317
335
  }));
318
336
  }
319
- const E = p([]), te = p(!1);
320
- function it({ from: l, to: o, duration: t, onUpdate: a, onDone: i, easing: c = St }) {
337
+ const q = p([]), te = p(!1);
338
+ function dt({ from: l, to: o, duration: t, onUpdate: a, onDone: i, easing: c = Lt }) {
321
339
  const m = performance.now();
322
340
  function C(z) {
323
341
  const O = Math.min((z - m) / t, 1), B = c(O), Z = l + (o - l) * B;
@@ -325,68 +343,68 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
325
343
  }
326
344
  requestAnimationFrame(C);
327
345
  }
328
- function vt(l) {
329
- const o = q.value.find((i, c) => c === l);
346
+ function ct(l) {
347
+ const o = G.value.find((i, c) => c === l);
330
348
  let a = M.value.find((i, c) => c === l).value;
331
- if (E.value.includes(l)) {
349
+ if (q.value.includes(l)) {
332
350
  let c = function() {
333
351
  M.value = M.value.map(
334
352
  (C, z) => l === z ? { ...C, value: i } : C
335
353
  );
336
354
  }, m = function() {
337
- te.value = !0, it({
355
+ te.value = !0, dt({
338
356
  from: a,
339
357
  to: i,
340
358
  duration: e.value.serieToggleAnimation.durationMs,
341
359
  onUpdate: (C, z) => {
342
360
  M.value = M.value.map(
343
361
  (O, B) => l === B ? { ...O, value: C } : O
344
- ), requestAnimationFrame(G);
362
+ ), requestAnimationFrame(R);
345
363
  },
346
364
  onDone: () => {
347
365
  c(), te.value = !1;
348
366
  }
349
367
  });
350
368
  };
351
- E.value = E.value.filter((C) => C !== l);
369
+ q.value = q.value.filter((C) => C !== l);
352
370
  const i = o.value;
353
- e.value.serieToggleAnimation.show && e.value.type === "classic" ? m() : (c(), requestAnimationFrame(G));
354
- } else if (E.value.length < q.value.length - 1) {
371
+ e.value.serieToggleAnimation.show && e.value.type === "classic" ? m() : (c(), requestAnimationFrame(R));
372
+ } else if (q.value.length < G.value.length - 1) {
355
373
  let i = function() {
356
- E.value.push(l), M.value = M.value.map(
374
+ q.value.push(l), M.value = M.value.map(
357
375
  (m, C) => l === C ? { ...m, value: 0 } : m
358
376
  );
359
377
  }, c = function() {
360
- te.value = !0, it({
378
+ te.value = !0, dt({
361
379
  from: a,
362
380
  to: 0,
363
381
  duration: e.value.serieToggleAnimation.durationMs,
364
382
  onUpdate: (m, C) => {
365
383
  M.value = M.value.map(
366
384
  (z, O) => l === O ? { ...z, value: m } : z
367
- ), requestAnimationFrame(G);
385
+ ), requestAnimationFrame(R);
368
386
  },
369
387
  onDone: () => {
370
- i(), requestAnimationFrame(G), te.value = !1;
388
+ i(), requestAnimationFrame(R), te.value = !1;
371
389
  }
372
390
  });
373
391
  };
374
392
  e.value.serieToggleAnimation.show && e.value.type === "classic" ? c() : i();
375
393
  }
376
- rt("selectLegend", W.value.map((i) => ({
394
+ vt("selectLegend", U.value.map((i) => ({
377
395
  name: i.name,
378
396
  color: i.color,
379
397
  value: i.value
380
398
  })));
381
399
  }
382
- const Ut = y(() => ue.value.reduce((l, o) => l + o.values.reduce((t, a) => t + a, 0), 0)), W = y(() => {
400
+ const Jt = y(() => re.value.reduce((l, o) => l + o.values.reduce((t, a) => t + a, 0), 0)), U = y(() => {
383
401
  if (T.value && !ke.value) {
384
- const l = R.value.map((t, a) => ({
385
- ...q.value[a],
402
+ const l = W.value.map((t, a) => ({
403
+ ...G.value[a],
386
404
  value: t,
387
- color: q.value[a].color,
405
+ color: G.value[a].color,
388
406
  ghost: !1
389
- })), o = Ut.value - R.value.reduce((t, a) => t + a, 0);
407
+ })), o = Jt.value - W.value.reduce((t, a) => t + a, 0);
390
408
  return o > 0 && l.push({
391
409
  name: "__ghost__",
392
410
  value: o,
@@ -403,20 +421,20 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
403
421
  }), M.value.map((l, o) => ({
404
422
  ...l,
405
423
  seriesIndex: o
406
- })).filter((l, o) => !E.value.includes(o));
407
- }), dt = y(() => ue.value.map((l, o) => ({
424
+ })).filter((l, o) => !q.value.includes(o));
425
+ }), ht = y(() => re.value.map((l, o) => ({
408
426
  name: l.name,
409
- color: Ct(l.color) || nt.value[o] || oe[o] || oe[o % oe.length],
427
+ color: St(l.color) || it.value[o] || ne[o] || ne[o % ne.length],
410
428
  value: (l.values || []).reduce((t, a) => t + a, 0),
411
429
  shape: "circle",
412
430
  patternIndex: o
413
431
  })).map((l, o) => ({
414
432
  ...l,
415
- proportion: l.value / ue.value.map((t) => (t.values || []).reduce((a, i) => a + i, 0)).reduce((t, a) => t + a, 0),
416
- opacity: E.value.includes(o) ? 0.5 : 1,
417
- segregate: () => !te.value && vt(o),
418
- isSegregated: E.value.includes(o)
419
- }))), Ht = y(() => ({
433
+ proportion: l.value / re.value.map((t) => (t.values || []).reduce((a, i) => a + i, 0)).reduce((t, a) => t + a, 0),
434
+ opacity: q.value.includes(o) ? 0.5 : 1,
435
+ segregate: () => !te.value && ct(o),
436
+ isSegregated: q.value.includes(o)
437
+ }))), Kt = y(() => ({
420
438
  cy: "donut-div-legend",
421
439
  backgroundColor: e.value.style.chart.legend.backgroundColor,
422
440
  color: e.value.style.chart.legend.color,
@@ -424,9 +442,9 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
424
442
  paddingBottom: 12,
425
443
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
426
444
  })), _ = y(() => {
427
- const l = Math.min(s.value.width / 3, s.value.height / 3);
428
- return l < 12 ? 12 : l;
429
- }), S = y(() => At({ series: W.value }, s.value.width / 2, s.value.height / 2, _.value, _.value, 1.99999, 2, 1, 360, 105.25, ee.value)), jt = y(() => Math.abs(W.value.map((l) => l.value).reduce((l, o) => l + o, 0)) > 0), Jt = y(() => At({
445
+ 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);
446
+ return Math.max(12, t);
447
+ }), S = y(() => Pt({ series: U.value }, s.value.width / 2, s.value.height / 2, _.value, _.value, 1.99999, 2, 1, 360, 105.25, ee.value)), Qt = y(() => Math.abs(U.value.map((l) => l.value).reduce((l, o) => l + o, 0)) > 0), Zt = y(() => Pt({
430
448
  series: [
431
449
  {
432
450
  value: 1,
@@ -439,8 +457,8 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
439
457
  }
440
458
  ]
441
459
  }, s.value.width / 2, s.value.height / 2, _.value, _.value, 1.99999, 2, 1, 360, 105.25, ee.value)), X = y(() => S.value.filter((l) => !l.ghost)), d = y(() => {
442
- const l = Math.max(...W.value.map((t) => t.value)), o = W.value.map((t) => t.value / l);
443
- return pl({
460
+ const l = Math.max(...U.value.map((t) => t.value)), o = U.value.map((t) => t.value / l);
461
+ return gl({
444
462
  series: o,
445
463
  center: {
446
464
  x: s.value.width / 2,
@@ -450,17 +468,17 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
450
468
  hasGhost: T.value
451
469
  });
452
470
  });
453
- function re(l) {
471
+ function ve(l) {
454
472
  return l.x > s.value.width / 2 + 6 ? "start" : l.x < s.value.width / 2 - 6 ? "end" : "middle";
455
473
  }
456
- function Kt(l) {
474
+ function el(l) {
457
475
  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;
458
476
  }
459
477
  function D(l) {
460
478
  return l.proportion * 100 > e.value.style.chart.layout.labels.dataLabels.hideUnderValue;
461
479
  }
462
- function ze(l, o) {
463
- const t = l.value / Qt(o);
480
+ function Oe(l, o) {
481
+ const t = l.value / tl(o);
464
482
  return isNaN(t) ? 0 : V(
465
483
  e.value.style.chart.layout.labels.percentage.formatter,
466
484
  t * 100,
@@ -472,31 +490,31 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
472
490
  { datapoint: l }
473
491
  );
474
492
  }
475
- function Qt(l) {
493
+ function tl(l) {
476
494
  return [...l].map((o) => o.value).reduce((o, t) => o + t, 0);
477
495
  }
478
- const L = y(() => W.value.map((l) => l.value).reduce((l, o) => l + o, 0)), ct = y(() => L.value / W.value.length), ht = y(() => (l) => te.value ? l.proportion * 100 : l.value / L.value * 100), Oe = p(null), pe = p(!1);
479
- function ie({ datapoint: l, seriesIndex: o }) {
480
- e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: l, seriesIndex: o }), Fe.value = !1, Y.value = null;
496
+ const F = y(() => U.value.map((l) => l.value).reduce((l, o) => l + o, 0)), Ne = y(() => F.value / U.value.length), yt = y(() => (l) => te.value ? l.proportion * 100 : l.value / F.value * 100), Ye = p(null), pe = p(!1);
497
+ function de({ datapoint: l, seriesIndex: o }) {
498
+ e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: l, seriesIndex: o }), Le.value = !1, Y.value = null;
481
499
  }
482
- function ve({ datapoint: l, relativeIndex: o, seriesIndex: t, show: a = !1 }) {
483
- e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: l, seriesIndex: t }), Oe.value = { datapoint: l, seriesIndex: t, config: e.value, series: q.value }, Fe.value = a, Y.value = o;
500
+ function ce({ datapoint: l, relativeIndex: o, seriesIndex: t, show: a = !1 }) {
501
+ e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: l, seriesIndex: t }), Ye.value = { datapoint: l, seriesIndex: t, config: e.value, series: G.value }, Le.value = a, Y.value = o;
484
502
  let i = "";
485
503
  const c = e.value.style.chart.tooltip.customFormat;
486
- if (pe.value = !1, Al(c))
504
+ if (pe.value = !1, Tl(c))
487
505
  try {
488
506
  const m = c({
489
507
  seriesIndex: t,
490
508
  datapoint: l,
491
- series: q.value,
509
+ series: G.value,
492
510
  config: e.value
493
511
  });
494
- typeof m == "string" && (Le.value = m, pe.value = !0);
512
+ typeof m == "string" && (Ie.value = m, pe.value = !0);
495
513
  } catch {
496
514
  console.warn("Custom format cannot be applied."), pe.value = !1;
497
515
  }
498
516
  if (!pe.value) {
499
- 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}"/>${Dt.pattern ? `<circle cx="30" cy="30" r="30" stroke="none" fill="url(#pattern_${g.value}_${t})"/>` : ""}</svg>`, e.value.style.chart.tooltip.showValue && (i += `<b>${V(
517
+ 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}"/>${Et.pattern ? `<circle cx="30" cy="30" r="30" stroke="none" fill="url(#pattern_${g.value}_${t})"/>` : ""}</svg>`, e.value.style.chart.tooltip.showValue && (i += `<b>${V(
500
518
  e.value.style.chart.layout.labels.value.formatter,
501
519
  l.value,
502
520
  N({
@@ -527,31 +545,31 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
527
545
  );
528
546
  e.value.style.chart.tooltip.showValue ? i += `<span>(${m})</span></div>` : i += `<b>${m}</b></div>`;
529
547
  }
530
- 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>`), Le.value = `<div>${i}</div>`;
548
+ 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>`), Ie.value = `<div>${i}</div>`;
531
549
  }
532
550
  }
533
551
  function le(l) {
534
552
  return e.value.useBlurOnHover && ![null, void 0].includes(Y.value) && Y.value !== l ? `url(#blur_${g.value})` : "";
535
553
  }
536
554
  const K = y(() => {
537
- const l = W.value.map((t) => ({
555
+ const l = U.value.map((t) => ({
538
556
  name: t.name,
539
557
  color: t.color
540
- })), o = W.value.map((t) => t.value);
558
+ })), o = U.value.map((t) => t.value);
541
559
  return { head: l, body: o };
542
560
  });
543
- function yt(l = null) {
544
- il(() => {
561
+ function ft(l = null) {
562
+ vl(() => {
545
563
  const o = K.value.head.map((i, c) => [[
546
564
  i.name
547
- ], [K.value.body[c]], [isNaN(K.value.body[c] / L.value) ? "-" : K.value.body[c] / L.value * 100]]), t = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(o), a = $l(t);
548
- l ? l(a) : Cl({ csvContent: a, title: e.value.style.chart.title.text || "vue-ui-donut" });
565
+ ], [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 = Cl(t);
566
+ l ? l(a) : Al({ csvContent: a, title: e.value.style.chart.title.text || "vue-ui-donut" });
549
567
  });
550
568
  }
551
569
  const _e = y(() => {
552
570
  const l = [
553
571
  ' <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>',
554
- N({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: L.value, s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue }),
572
+ 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 }),
555
573
  "100%"
556
574
  ], o = K.value.head.map((i, c) => [
557
575
  {
@@ -559,7 +577,7 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
559
577
  name: i.name || "-"
560
578
  },
561
579
  K.value.body[c],
562
- isNaN(K.value.body[c] / L.value) ? "-" : (K.value.body[c] / L.value * 100).toFixed(e.value.table.td.roundingPercentage) + "%"
580
+ isNaN(K.value.body[c] / F.value) ? "-" : (K.value.body[c] / F.value * 100).toFixed(e.value.table.td.roundingPercentage) + "%"
563
581
  ]), t = {
564
582
  th: {
565
583
  backgroundColor: e.value.table.th.backgroundColor,
@@ -583,33 +601,33 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
583
601
  body: o,
584
602
  config: t
585
603
  };
586
- }), de = p(!1);
587
- function ft(l) {
588
- de.value = l, Qe.value += 1;
604
+ }), he = p(!1);
605
+ function pt(l) {
606
+ he.value = l, et.value += 1;
589
607
  }
590
- const pt = y(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent));
591
- function Zt(l) {
608
+ const gt = y(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent));
609
+ function ll(l) {
592
610
  return l.toFixed(e.value.style.chart.legend.roundingPercentage).split("").map((o) => "-").join("");
593
611
  }
594
612
  function Q(l, o) {
595
- e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: l, seriesIndex: l.seriesIndex }), rt("selectDatapoint", { datapoint: l, index: o });
613
+ e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: l, seriesIndex: l.seriesIndex }), vt("selectDatapoint", { datapoint: l, index: o });
596
614
  }
597
- function gt() {
615
+ function mt() {
598
616
  f.value.showTable = !f.value.showTable;
599
617
  }
600
- function mt() {
618
+ function bt() {
601
619
  f.value.dataLabels.show = !f.value.dataLabels.show;
602
620
  }
603
- function bt() {
621
+ function wt() {
604
622
  f.value.showTooltip = !f.value.showTooltip;
605
623
  }
606
624
  const $e = p(!1);
607
- function Ne() {
625
+ function Xe() {
608
626
  $e.value = !$e.value;
609
627
  }
610
- async function el({ scale: l = 2 } = {}) {
611
- if (!H.value) return;
612
- const { width: o, height: t } = H.value.getBoundingClientRect(), a = o / t, { imageUri: i, base64: c } = await Yl({ domElement: H.value, base64: !0, img: !0, scale: l });
628
+ async function al({ scale: l = 2 } = {}) {
629
+ if (!E.value) return;
630
+ const { width: o, height: t } = E.value.getBoundingClientRect(), a = o / t, { imageUri: i, base64: c } = await Ol({ domElement: E.value, base64: !0, img: !0, scale: l });
613
631
  return {
614
632
  imageUri: i,
615
633
  base64: c,
@@ -619,56 +637,56 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
619
637
  aspectRatio: a
620
638
  };
621
639
  }
622
- function tl() {
640
+ function ol() {
623
641
  if (!be.value) return;
624
642
  const { x: l, y: o, width: t, height: a } = be.value.getBBox();
625
- ne.value && ne.value.setAttribute("viewBox", `${l} ${o} ${t + Math.min(0, l)} ${a + Math.min(0, o)}`);
643
+ ie.value && ie.value.setAttribute("viewBox", `${l} ${o} ${t + Math.min(0, l)} ${a + Math.min(0, o)}`);
626
644
  }
627
- return Ft({
628
- autoSize: tl,
629
- getData: Wt,
630
- getImage: el,
631
- generatePdf: st,
632
- generateCsv: yt,
633
- generateImage: ut,
634
- toggleTable: gt,
635
- toggleLabels: mt,
636
- toggleTooltip: bt,
637
- toggleAnnotator: Ne,
638
- toggleFullscreen: ft
645
+ return Mt({
646
+ autoSize: ol,
647
+ getData: jt,
648
+ getImage: al,
649
+ generatePdf: ut,
650
+ generateCsv: ft,
651
+ generateImage: rt,
652
+ toggleTable: mt,
653
+ toggleLabels: bt,
654
+ toggleTooltip: wt,
655
+ toggleAnnotator: Xe,
656
+ toggleFullscreen: pt
639
657
  }), (l, o) => (n(), r("div", {
640
658
  ref_key: "donutChart",
641
- ref: H,
642
- class: Xe(`vue-ui-donut ${de.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
659
+ ref: E,
660
+ class: Be(`vue-ui-donut ${he.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
643
661
  style: $(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height:100%;" : ""} text-align:center;background:${e.value.style.chart.backgroundColor}`),
644
662
  id: `donut__${g.value}`,
645
- onMouseenter: Gt,
646
- onMouseleave: Rt
663
+ onMouseenter: Wt,
664
+ onMouseleave: Ut
647
665
  }, [
648
- e.value.userOptions.buttons.annotator && u(ne) ? (n(), ae(u(Ot), {
666
+ e.value.userOptions.buttons.annotator && u(ie) ? (n(), ae(u(Xt), {
649
667
  key: 0,
650
668
  color: e.value.style.chart.color,
651
669
  backgroundColor: e.value.style.chart.backgroundColor,
652
670
  active: $e.value,
653
- svgRef: u(ne),
654
- onClose: Ne
671
+ svgRef: u(ie),
672
+ onClose: Xe
655
673
  }, null, 8, ["color", "backgroundColor", "active", "svgRef"])) : v("", !0),
656
- w(l.$slots, "userConfig", {}, void 0, !0),
657
- qt.value ? (n(), r("div", {
674
+ b(l.$slots, "userConfig", {}, void 0, !0),
675
+ Ht.value ? (n(), r("div", {
658
676
  key: 1,
659
677
  ref_key: "noTitle",
660
- ref: Ue,
678
+ ref: je,
661
679
  class: "vue-data-ui-no-title-space",
662
680
  style: "height:36px; width: 100%;background:transparent"
663
681
  }, null, 512)) : v("", !0),
664
682
  e.value.style.chart.title.text ? (n(), r("div", {
665
683
  key: 2,
666
684
  ref_key: "chartTitle",
667
- ref: Re,
685
+ ref: We,
668
686
  style: "width:100%;background:transparent;padding-bottom:24px"
669
687
  }, [
670
- (n(), ae(Ml, {
671
- key: `title_${He.value}`,
688
+ (n(), ae(Yl, {
689
+ key: `title_${Je.value}`,
672
690
  config: {
673
691
  title: {
674
692
  cy: "donut-div-title",
@@ -681,14 +699,14 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
681
699
  }
682
700
  }, null, 8, ["config"]))
683
701
  ], 512)) : v("", !0),
684
- e.value.userOptions.show && me.value && (u(tt) || u(Me)) ? (n(), ae(u(Yt), {
702
+ e.value.userOptions.show && me.value && (u(at) || u(ze)) ? (n(), ae(u(Bt), {
685
703
  ref_key: "details",
686
- ref: Bt,
687
- key: `user_option_${Qe.value}`,
704
+ ref: Rt,
705
+ key: `user_option_${et.value}`,
688
706
  backgroundColor: e.value.style.chart.backgroundColor,
689
707
  color: e.value.style.chart.color,
690
- isPrinting: u(at),
691
- isImaging: u(ot),
708
+ isPrinting: u(st),
709
+ isImaging: u(nt),
692
710
  uid: g.value,
693
711
  hasTooltip: e.value.style.chart.tooltip.show && e.value.userOptions.buttons.tooltip,
694
712
  hasPdf: e.value.userOptions.buttons.pdf,
@@ -697,8 +715,8 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
697
715
  hasTable: e.value.userOptions.buttons.table,
698
716
  hasLabel: e.value.userOptions.buttons.labels,
699
717
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
700
- isFullscreen: de.value,
701
- chartElement: H.value,
718
+ isFullscreen: he.value,
719
+ chartElement: E.value,
702
720
  position: e.value.userOptions.position,
703
721
  callbacks: e.value.userOptions.callbacks,
704
722
  isTooltip: f.value.showTooltip,
@@ -706,96 +724,96 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
706
724
  hasAnnotator: e.value.userOptions.buttons.annotator,
707
725
  isAnnotation: $e.value,
708
726
  printScale: e.value.userOptions.print.scale,
709
- onToggleFullscreen: ft,
710
- onGeneratePdf: u(st),
711
- onGenerateCsv: yt,
712
- onGenerateImage: u(ut),
713
- onToggleTable: gt,
714
- onToggleLabels: mt,
715
- onToggleTooltip: bt,
716
- onToggleAnnotator: Ne,
727
+ onToggleFullscreen: pt,
728
+ onGeneratePdf: u(ut),
729
+ onGenerateCsv: ft,
730
+ onGenerateImage: u(rt),
731
+ onToggleTable: mt,
732
+ onToggleLabels: bt,
733
+ onToggleTooltip: wt,
734
+ onToggleAnnotator: Xe,
717
735
  style: $({
718
- visibility: u(tt) ? u(Me) ? "visible" : "hidden" : "visible"
736
+ visibility: u(at) ? u(ze) ? "visible" : "hidden" : "visible"
719
737
  })
720
- }, wt({ _: 2 }, [
738
+ }, _t({ _: 2 }, [
721
739
  l.$slots.menuIcon ? {
722
740
  name: "menuIcon",
723
741
  fn: A(({ isOpen: t, color: a }) => [
724
- w(l.$slots, "menuIcon", he(ye({ isOpen: t, color: a })), void 0, !0)
742
+ b(l.$slots, "menuIcon", oe(se({ isOpen: t, color: a })), void 0, !0)
725
743
  ]),
726
744
  key: "0"
727
745
  } : void 0,
728
746
  l.$slots.optionTooltip ? {
729
747
  name: "optionTooltip",
730
748
  fn: A(() => [
731
- w(l.$slots, "optionTooltip", {}, void 0, !0)
749
+ b(l.$slots, "optionTooltip", {}, void 0, !0)
732
750
  ]),
733
751
  key: "1"
734
752
  } : void 0,
735
753
  l.$slots.optionPdf ? {
736
754
  name: "optionPdf",
737
755
  fn: A(() => [
738
- w(l.$slots, "optionPdf", {}, void 0, !0)
756
+ b(l.$slots, "optionPdf", {}, void 0, !0)
739
757
  ]),
740
758
  key: "2"
741
759
  } : void 0,
742
760
  l.$slots.optionCsv ? {
743
761
  name: "optionCsv",
744
762
  fn: A(() => [
745
- w(l.$slots, "optionCsv", {}, void 0, !0)
763
+ b(l.$slots, "optionCsv", {}, void 0, !0)
746
764
  ]),
747
765
  key: "3"
748
766
  } : void 0,
749
767
  l.$slots.optionImg ? {
750
768
  name: "optionImg",
751
769
  fn: A(() => [
752
- w(l.$slots, "optionImg", {}, void 0, !0)
770
+ b(l.$slots, "optionImg", {}, void 0, !0)
753
771
  ]),
754
772
  key: "4"
755
773
  } : void 0,
756
774
  l.$slots.optionTable ? {
757
775
  name: "optionTable",
758
776
  fn: A(() => [
759
- w(l.$slots, "optionTable", {}, void 0, !0)
777
+ b(l.$slots, "optionTable", {}, void 0, !0)
760
778
  ]),
761
779
  key: "5"
762
780
  } : void 0,
763
781
  l.$slots.optionLabels ? {
764
782
  name: "optionLabels",
765
783
  fn: A(() => [
766
- w(l.$slots, "optionLabels", {}, void 0, !0)
784
+ b(l.$slots, "optionLabels", {}, void 0, !0)
767
785
  ]),
768
786
  key: "6"
769
787
  } : void 0,
770
788
  l.$slots.optionFullscreen ? {
771
789
  name: "optionFullscreen",
772
790
  fn: A(({ toggleFullscreen: t, isFullscreen: a }) => [
773
- w(l.$slots, "optionFullscreen", he(ye({ toggleFullscreen: t, isFullscreen: a })), void 0, !0)
791
+ b(l.$slots, "optionFullscreen", oe(se({ toggleFullscreen: t, isFullscreen: a })), void 0, !0)
774
792
  ]),
775
793
  key: "7"
776
794
  } : void 0,
777
795
  l.$slots.optionAnnotator ? {
778
796
  name: "optionAnnotator",
779
797
  fn: A(({ toggleAnnotator: t, isAnnotator: a }) => [
780
- w(l.$slots, "optionAnnotator", he(ye({ toggleAnnotator: t, isAnnotator: a })), void 0, !0)
798
+ b(l.$slots, "optionAnnotator", oe(se({ toggleAnnotator: t, isAnnotator: a })), void 0, !0)
781
799
  ]),
782
800
  key: "8"
783
801
  } : void 0
784
802
  ]), 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),
785
803
  (n(), r("svg", {
786
804
  ref_key: "svgRef",
787
- ref: ne,
788
- xmlns: u(gl),
789
- class: Xe({ "vue-data-ui-fullscreen--on": de.value, "vue-data-ui-fulscreen--off": !de.value, "vue-data-ui-svg": !0 }),
805
+ ref: ie,
806
+ xmlns: u(ml),
807
+ class: Be({ "vue-data-ui-fullscreen--on": he.value, "vue-data-ui-fulscreen--off": !he.value, "vue-data-ui-svg": !0 }),
790
808
  viewBox: `0 0 ${s.value.width <= 0 ? 10 : s.value.width} ${s.value.height <= 0 ? 10 : s.value.height}`,
791
- style: $(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color};${lt.value.css}`)
809
+ style: $(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color};${ot.value.css}`)
792
810
  }, [
793
811
  h("g", {
794
812
  ref_key: "G",
795
813
  ref: be,
796
814
  class: "vue-data-ui-g"
797
815
  }, [
798
- De(u(zt)),
816
+ Ve(u(Yt)),
799
817
  l.$slots["chart-background"] ? (n(), r("foreignObject", {
800
818
  key: 0,
801
819
  x: 0,
@@ -806,9 +824,9 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
806
824
  pointerEvents: "none"
807
825
  }
808
826
  }, [
809
- w(l.$slots, "chart-background", {}, void 0, !0)
810
- ], 8, Vl)) : v("", !0),
811
- e.value.type === "classic" && !isNaN(ee.value / _.value) ? (n(), r("defs", El, [
827
+ b(l.$slots, "chart-background", {}, void 0, !0)
828
+ ], 8, El)) : v("", !0),
829
+ e.value.type === "classic" && !isNaN(ee.value / _.value) ? (n(), r("defs", Rl, [
812
830
  e.value.style.chart.useGradient ? (n(), r("radialGradient", {
813
831
  key: 0,
814
832
  id: `gradient_${g.value}`
@@ -817,25 +835,25 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
817
835
  offset: "0%",
818
836
  "stop-color": u(Ce)(e.value.style.chart.backgroundColor, 0),
819
837
  "stop-opacity": "0"
820
- }, null, 8, Rl),
838
+ }, null, 8, ql),
821
839
  h("stop", {
822
840
  offset: `${(1 - ee.value / _.value) * 100}%`,
823
841
  "stop-color": u(Ce)("#FFFFFF", 0),
824
842
  "stop-opacity": "0"
825
- }, null, 8, ql),
843
+ }, null, 8, Wl),
826
844
  h("stop", {
827
845
  offset: `${(1 - ee.value / _.value / 2) * 100}%`,
828
846
  "stop-color": u(Ce)("#FFFFFF", e.value.style.chart.gradientIntensity)
829
- }, null, 8, Wl),
847
+ }, null, 8, Ul),
830
848
  h("stop", {
831
849
  offset: "100%",
832
850
  "stop-color": u(Ce)(e.value.style.chart.backgroundColor, 0),
833
851
  "stop-opacity": "0"
834
- }, null, 8, Ul)
852
+ }, null, 8, Hl)
835
853
  ], 8, Gl)) : v("", !0)
836
854
  ])) : v("", !0),
837
- e.value.type === "polar" ? (n(), r("defs", Hl, [
838
- (n(!0), r(b, null, F(d.value, (t, a) => (n(), r("radialGradient", {
855
+ e.value.type === "polar" ? (n(), r("defs", jl, [
856
+ (n(!0), r(w, null, L(d.value, (t, a) => (n(), r("radialGradient", {
839
857
  id: `polar_gradient_${a}_${g.value}`,
840
858
  cx: (isNaN(t.middlePoint.x / s.value.width * 100) ? 0 : t.middlePoint.x / s.value.width * 100) + "%",
841
859
  cy: (isNaN(t.middlePoint.y / s.value.height * 100) ? 0 : t.middlePoint.y / s.value.height * 100) + "%",
@@ -843,14 +861,14 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
843
861
  }, [
844
862
  h("stop", {
845
863
  offset: "0%",
846
- "stop-color": u(ml)(S.value[a].color, 0.05),
864
+ "stop-color": u(bl)(S.value[a].color, 0.05),
847
865
  "stop-opacity": e.value.style.chart.gradientIntensity / 100
848
- }, null, 8, Jl),
866
+ }, null, 8, Kl),
849
867
  h("stop", {
850
868
  offset: "100%",
851
869
  "stop-color": S.value[a].color
852
- }, null, 8, Kl)
853
- ], 8, jl))), 256))
870
+ }, null, 8, Ql)
871
+ ], 8, Jl))), 256))
854
872
  ])) : v("", !0),
855
873
  h("defs", null, [
856
874
  h("filter", {
@@ -864,12 +882,12 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
864
882
  in: "SourceGraphic",
865
883
  stdDeviation: 2,
866
884
  id: `blur_std_${g.value}`
867
- }, null, 8, Zl),
885
+ }, null, 8, ea),
868
886
  o[5] || (o[5] = h("feColorMatrix", {
869
887
  type: "saturate",
870
888
  values: "0"
871
889
  }, null, -1))
872
- ], 8, Ql),
890
+ ], 8, Zl),
873
891
  h("filter", {
874
892
  id: `shadow_${g.value}`,
875
893
  "color-interpolation-filters": "sRGB"
@@ -880,8 +898,8 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
880
898
  stdDeviation: "10",
881
899
  "flood-opacity": "0.5",
882
900
  "flood-color": e.value.style.chart.layout.donut.shadowColor
883
- }, null, 8, ta)
884
- ], 8, ea),
901
+ }, null, 8, la)
902
+ ], 8, ta),
885
903
  h("filter", {
886
904
  id: `drop_shadow_${g.value}`,
887
905
  "color-interpolation-filters": "sRGB",
@@ -896,22 +914,22 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
896
914
  stdDeviation: "3",
897
915
  "flood-opacity": "1",
898
916
  "flood-color": e.value.style.chart.layout.donut.shadowColor
899
- }, null, 8, aa)
900
- ], 8, la)
917
+ }, null, 8, oa)
918
+ ], 8, aa)
901
919
  ]),
902
- e.value.type === "classic" ? (n(!0), r(b, { key: 3 }, F(S.value.filter((t) => !t.ghost), (t, a) => (n(), r("g", null, [
920
+ e.value.type === "classic" ? (n(!0), r(w, { key: 3 }, L(S.value.filter((t) => !t.ghost), (t, a) => (n(), r("g", null, [
903
921
  D(t) && f.value.dataLabels.show ? (n(), r("path", {
904
922
  key: 0,
905
- d: u(bl)(t, { x: s.value.width / 2, y: s.value.height / 2 }, 16, 16, !1, !1, ee.value, 12, e.value.style.chart.layout.curvedMarkers),
923
+ d: u(wl)(t, { x: s.value.width / 2, y: s.value.height / 2 }, 16, 16, !1, !1, ee.value, 12, e.value.style.chart.layout.curvedMarkers),
906
924
  stroke: t.color,
907
925
  "stroke-width": "1",
908
926
  "stroke-linecap": "round",
909
927
  "stroke-linejoin": "round",
910
928
  fill: "none",
911
929
  filter: le(a)
912
- }, null, 8, oa)) : v("", !0)
930
+ }, null, 8, sa)) : v("", !0)
913
931
  ]))), 256)) : v("", !0),
914
- e.value.type === "polar" ? (n(!0), r(b, { key: 4 }, F(S.value.filter((t) => !t.ghost), (t, a) => (n(), r("g", null, [
932
+ e.value.type === "polar" ? (n(!0), r(w, { key: 4 }, L(S.value.filter((t) => !t.ghost), (t, a) => (n(), r("g", null, [
915
933
  D(t) && f.value.dataLabels.show ? (n(), r("path", {
916
934
  key: 0,
917
935
  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}`,
@@ -924,7 +942,7 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
924
942
  style: $({
925
943
  transition: T.value || !e.value.serieToggleAnimation.show ? "none" : `all ${e.value.serieToggleAnimation.durationMs}ms ease-in-out`
926
944
  })
927
- }, null, 12, sa)) : v("", !0)
945
+ }, null, 12, na)) : v("", !0)
928
946
  ]))), 256)) : v("", !0),
929
947
  e.value.type === "classic" && e.value.style.chart.layout.donut.useShadow ? (n(), r("circle", {
930
948
  key: 5,
@@ -934,50 +952,50 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
934
952
  fill: e.value.style.chart.backgroundColor,
935
953
  filter: `url(#shadow_${g.value})`
936
954
  }, null, 8, ua)) : v("", !0),
937
- l.$slots.pattern ? (n(), r("g", na, [
938
- (n(!0), r(b, null, F(Ge.dataset, (t, a) => (n(), r("defs", {
955
+ l.$slots.pattern ? (n(), r("g", ra, [
956
+ (n(!0), r(w, null, L(qe.dataset, (t, a) => (n(), r("defs", {
939
957
  key: `pattern-${t.patternIndex}`
940
958
  }, [
941
- w(l.$slots, "pattern", kt({ ref_for: !0 }, { seriesIndex: a, patternId: `pattern_${g.value}_${a}` }), void 0, !0)
959
+ b(l.$slots, "pattern", $t({ ref_for: !0 }, { seriesIndex: a, patternId: `pattern_${g.value}_${a}` }), void 0, !0)
942
960
  ]))), 128))
943
961
  ])) : v("", !0),
944
- L.value && e.value.type === "classic" ? (n(), r(b, { key: 7 }, [
945
- (n(!0), r(b, null, F(X.value, (t, a) => (n(), r("path", {
962
+ F.value && e.value.type === "classic" ? (n(), r(w, { key: 7 }, [
963
+ (n(!0), r(w, null, L(X.value, (t, a) => (n(), r("path", {
946
964
  stroke: e.value.style.chart.backgroundColor,
947
965
  d: t.arcSlice,
948
966
  fill: "#FFFFFF"
949
- }, null, 8, ra))), 256)),
950
- (n(!0), r(b, null, F(X.value, (t, a) => (n(), r("path", {
967
+ }, null, 8, ia))), 256)),
968
+ (n(!0), r(w, null, L(X.value, (t, a) => (n(), r("path", {
951
969
  class: "vue-ui-donut-arc-path",
952
970
  d: t.arcSlice,
953
971
  fill: t.color,
954
972
  stroke: e.value.style.chart.layout.donut.borderColorAuto ? e.value.style.chart.backgroundColor : e.value.style.chart.layout.donut.borderColor,
955
973
  "stroke-width": e.value.style.chart.layout.donut.borderWidth,
956
974
  filter: le(a)
957
- }, null, 8, ia))), 256)),
958
- l.$slots.pattern ? (n(), r("g", va, [
959
- (n(!0), r(b, null, F(X.value, (t, a) => (n(), r("path", {
975
+ }, null, 8, va))), 256)),
976
+ l.$slots.pattern ? (n(), r("g", da, [
977
+ (n(!0), r(w, null, L(X.value, (t, a) => (n(), r("path", {
960
978
  class: "vue-ui-donut-arc-path",
961
979
  d: t.arcSlice,
962
980
  fill: `url(#${t.pattern})`,
963
981
  stroke: e.value.style.chart.layout.donut.borderColorAuto ? e.value.style.chart.backgroundColor : e.value.style.chart.layout.donut.borderColor,
964
982
  "stroke-width": e.value.style.chart.layout.donut.borderWidth,
965
983
  filter: le(a)
966
- }, null, 8, da))), 256))
984
+ }, null, 8, ca))), 256))
967
985
  ])) : v("", !0)
968
986
  ], 64)) : v("", !0),
969
- L.value && e.value.type === "polar" ? (n(), r(b, { key: 8 }, [
970
- S.value.length > 1 ? (n(), r("g", ca, [
971
- (n(!0), r(b, null, F(X.value, (t, a) => (n(), r("path", {
987
+ F.value && e.value.type === "polar" ? (n(), r(w, { key: 8 }, [
988
+ S.value.length > 1 ? (n(), r("g", ha, [
989
+ (n(!0), r(w, null, L(X.value, (t, a) => (n(), r("path", {
972
990
  stroke: e.value.style.chart.layout.donut.borderColorAuto ? e.value.style.chart.backgroundColor : e.value.style.chart.layout.donut.borderColor,
973
991
  d: d.value[a].path,
974
992
  fill: "#FFFFFF",
975
993
  style: $({
976
994
  transition: T.value || !e.value.serieToggleAnimation.show ? "none" : `all ${e.value.serieToggleAnimation.durationMs}ms ease-in-out`
977
995
  })
978
- }, null, 12, ha))), 256)),
979
- e.value.style.chart.layout.donut.useShadow ? (n(), r("g", ya, [
980
- (n(!0), r(b, null, F(X.value, (t, a) => (n(), r("path", {
996
+ }, null, 12, ya))), 256)),
997
+ e.value.style.chart.layout.donut.useShadow ? (n(), r("g", fa, [
998
+ (n(!0), r(w, null, L(X.value, (t, a) => (n(), r("path", {
981
999
  class: "vue-ui-donut-arc-path",
982
1000
  d: d.value[a].path,
983
1001
  fill: "transparent",
@@ -987,10 +1005,10 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
987
1005
  style: $({
988
1006
  transition: T.value || !e.value.serieToggleAnimation.show ? "none" : `all ${e.value.serieToggleAnimation.durationMs}ms ease-in-out`
989
1007
  })
990
- }, null, 12, fa))), 256))
1008
+ }, null, 12, pa))), 256))
991
1009
  ])) : v("", !0),
992
- l.$slots.pattern ? (n(), r("g", pa, [
993
- (n(!0), r(b, null, F(X.value, (t, a) => (n(), r("path", {
1010
+ l.$slots.pattern ? (n(), r("g", ga, [
1011
+ (n(!0), r(w, null, L(X.value, (t, a) => (n(), r("path", {
994
1012
  class: "vue-ui-donut-arc-path",
995
1013
  d: d.value[a].path,
996
1014
  fill: `url(#${t.pattern})`,
@@ -1001,9 +1019,9 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
1001
1019
  transition: T.value || !e.value.serieToggleAnimation.show ? "none" : `all ${e.value.serieToggleAnimation.durationMs}ms ease-in-out`,
1002
1020
  transformOrigin: "center"
1003
1021
  })
1004
- }, null, 12, ga))), 256))
1022
+ }, null, 12, ma))), 256))
1005
1023
  ])) : v("", !0),
1006
- (n(!0), r(b, null, F(X.value, (t, a) => (n(), r("path", {
1024
+ (n(!0), r(w, null, L(X.value, (t, a) => (n(), r("path", {
1007
1025
  class: "vue-ui-donut-arc-path",
1008
1026
  d: d.value[a].path,
1009
1027
  fill: e.value.style.chart.useGradient ? `url(#polar_gradient_${a}_${g.value})` : t.color,
@@ -1013,8 +1031,8 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
1013
1031
  style: $({
1014
1032
  transition: T.value || !e.value.serieToggleAnimation.show ? "none" : `all ${e.value.serieToggleAnimation.durationMs}ms ease-in-out`
1015
1033
  })
1016
- }, null, 12, ma))), 256))
1017
- ])) : (n(), r("g", ba, [
1034
+ }, null, 12, ba))), 256))
1035
+ ])) : (n(), r("g", wa, [
1018
1036
  l.$slots.pattern ? (n(), r("circle", {
1019
1037
  key: 0,
1020
1038
  cx: s.value.width / 2,
@@ -1023,7 +1041,7 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
1023
1041
  fill: `url(#pattern_${g.value}_${S.value[0].patternIndex})`,
1024
1042
  stroke: e.value.style.chart.backgroundColor,
1025
1043
  "stroke-width": e.value.style.chart.layout.donut.borderWidth
1026
- }, null, 8, wa)) : v("", !0),
1044
+ }, null, 8, ka)) : v("", !0),
1027
1045
  h("circle", {
1028
1046
  cx: s.value.width / 2,
1029
1047
  cy: s.value.height / 2,
@@ -1031,17 +1049,17 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
1031
1049
  fill: e.value.style.chart.useGradient ? `url(#polar_gradient_0_${g.value})` : S.value[0].color,
1032
1050
  stroke: e.value.style.chart.backgroundColor,
1033
1051
  "stroke-width": e.value.style.chart.layout.donut.borderWidth
1034
- }, null, 8, ka)
1052
+ }, null, 8, xa)
1035
1053
  ]))
1036
- ], 64)) : (n(), r(b, { key: 9 }, [
1037
- e.value.type === "classic" && !jt.value ? (n(), r("g", xa, [
1038
- (n(!0), r(b, null, F(Jt.value, (t, a) => (n(), r("path", {
1054
+ ], 64)) : (n(), r(w, { key: 9 }, [
1055
+ e.value.type === "classic" && !Qt.value ? (n(), r("g", _a, [
1056
+ (n(!0), r(w, null, L(Zt.value, (t, a) => (n(), r("path", {
1039
1057
  class: "vue-ui-donut-arc-path",
1040
1058
  d: t.arcSlice,
1041
1059
  fill: t.color,
1042
1060
  stroke: e.value.style.chart.backgroundColor,
1043
1061
  "stroke-width": e.value.style.chart.layout.donut.borderWidth
1044
- }, null, 8, _a))), 256))
1062
+ }, null, 8, $a))), 256))
1045
1063
  ])) : v("", !0),
1046
1064
  h("circle", {
1047
1065
  cx: s.value.width / 2,
@@ -1049,7 +1067,7 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
1049
1067
  r: _.value <= 0 ? 10 : _.value,
1050
1068
  fill: "transparent",
1051
1069
  stroke: e.value.style.chart.backgroundColor
1052
- }, null, 8, $a)
1070
+ }, null, 8, Ca)
1053
1071
  ], 64)),
1054
1072
  e.value.style.chart.useGradient && e.value.type === "classic" ? (n(), r("circle", {
1055
1073
  key: 10,
@@ -1060,7 +1078,7 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
1060
1078
  _.value <= 0 ? 10 : _.value
1061
1079
  ),
1062
1080
  fill: `url(#gradient_${g.value})`
1063
- }, null, 8, Ca)) : v("", !0),
1081
+ }, null, 8, Aa)) : v("", !0),
1064
1082
  h("circle", {
1065
1083
  ref_key: "circle_hollow",
1066
1084
  ref: Te,
@@ -1069,37 +1087,37 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
1069
1087
  cx: s.value.width / 2,
1070
1088
  cy: s.value.height / 2,
1071
1089
  r: Math.max(0.1, ee.value * 1.7)
1072
- }, null, 8, Aa),
1073
- L.value ? (n(), r(b, { key: 11 }, [
1074
- S.value.length > 1 || e.value.type === "classic" ? (n(), r("g", Ta, [
1075
- (n(!0), r(b, null, F(S.value.filter((t) => !t.ghost), (t, a) => (n(), r("path", {
1090
+ }, null, 8, Ta),
1091
+ F.value ? (n(), r(w, { key: 11 }, [
1092
+ S.value.length > 1 || e.value.type === "classic" ? (n(), r("g", Sa, [
1093
+ (n(!0), r(w, null, L(S.value.filter((t) => !t.ghost), (t, a) => (n(), r("path", {
1076
1094
  d: e.value.type === "classic" ? t.arcSlice : d.value[a].path,
1077
1095
  stroke: e.value.style.chart.layout.donut.borderColorAuto ? e.value.style.chart.backgroundColor : e.value.style.chart.layout.donut.borderColor,
1078
1096
  fill: Y.value === a ? e.value.style.chart.layout.donut.selectedColor : "transparent",
1079
- onMouseenter: (i) => ve({
1097
+ onMouseenter: (i) => ce({
1080
1098
  datapoint: t,
1081
1099
  relativeIndex: a,
1082
1100
  seriesIndex: t.seriesIndex,
1083
1101
  show: !0
1084
1102
  }),
1085
- onMouseleave: (i) => ie({ datapoint: t, seriesIndex: t.seriesIndex }),
1103
+ onMouseleave: (i) => de({ datapoint: t, seriesIndex: t.seriesIndex }),
1086
1104
  onClick: (i) => Q(t, a)
1087
- }, null, 40, Sa))), 256))
1088
- ])) : (n(), r("g", Pa, [
1105
+ }, null, 40, Pa))), 256))
1106
+ ])) : (n(), r("g", Fa, [
1089
1107
  h("circle", {
1090
1108
  cx: s.value.width / 2,
1091
1109
  cy: s.value.height / 2,
1092
1110
  r: _.value,
1093
1111
  fill: "transparent",
1094
- onMouseenter: o[0] || (o[0] = (t) => ve({
1112
+ onMouseenter: o[0] || (o[0] = (t) => ce({
1095
1113
  datapoint: S.value[0],
1096
1114
  relativeIndex: 0,
1097
1115
  seriesIndex: S.value[0].seriesIndex,
1098
1116
  show: !0
1099
1117
  })),
1100
- onMouseleave: o[1] || (o[1] = (t) => ie({ datapoint: S.value[0], seriesIndex: S.value[0].seriesIndex })),
1118
+ onMouseleave: o[1] || (o[1] = (t) => de({ datapoint: S.value[0], seriesIndex: S.value[0].seriesIndex })),
1101
1119
  onClick: o[2] || (o[2] = (t) => Q(S.value[0], l.i))
1102
- }, null, 40, Fa)
1120
+ }, null, 40, La)
1103
1121
  ]))
1104
1122
  ], 64)) : v("", !0),
1105
1123
  e.value.type === "classic" ? (n(), r("g", {
@@ -1116,7 +1134,7 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
1116
1134
  fill: e.value.style.chart.layout.labels.hollow.total.color,
1117
1135
  "font-size": e.value.style.chart.layout.labels.hollow.total.fontSize,
1118
1136
  style: $(`font-weight:${e.value.style.chart.layout.labels.hollow.total.bold ? "bold" : ""}`)
1119
- }, I(e.value.style.chart.layout.labels.hollow.total.text), 13, La)) : v("", !0),
1137
+ }, I(e.value.style.chart.layout.labels.hollow.total.text), 13, Ia)) : v("", !0),
1120
1138
  e.value.style.chart.layout.labels.hollow.total.show ? (n(), r("text", {
1121
1139
  key: 1,
1122
1140
  "text-anchor": "middle",
@@ -1127,13 +1145,13 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
1127
1145
  style: $(`font-weight:${e.value.style.chart.layout.labels.hollow.total.value.bold ? "bold" : ""}`)
1128
1146
  }, I(u(V)(
1129
1147
  e.value.style.chart.layout.labels.hollow.total.value.formatter,
1130
- L.value,
1148
+ F.value,
1131
1149
  u(N)({
1132
1150
  p: e.value.style.chart.layout.labels.hollow.total.value.prefix,
1133
- v: L.value,
1151
+ v: F.value,
1134
1152
  s: e.value.style.chart.layout.labels.hollow.total.value.suffix
1135
1153
  })
1136
- )), 13, Ia)) : v("", !0),
1154
+ )), 13, Ma)) : v("", !0),
1137
1155
  e.value.style.chart.layout.labels.hollow.average.show ? (n(), r("text", {
1138
1156
  key: 2,
1139
1157
  "text-anchor": "middle",
@@ -1142,7 +1160,7 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
1142
1160
  fill: e.value.style.chart.layout.labels.hollow.average.color,
1143
1161
  "font-size": e.value.style.chart.layout.labels.hollow.average.fontSize,
1144
1162
  style: $(`font-weight:${e.value.style.chart.layout.labels.hollow.average.bold ? "bold" : ""}`)
1145
- }, I(e.value.style.chart.layout.labels.hollow.average.text), 13, Ma)) : v("", !0),
1163
+ }, I(e.value.style.chart.layout.labels.hollow.average.text), 13, za)) : v("", !0),
1146
1164
  e.value.style.chart.layout.labels.hollow.average.show ? (n(), r("text", {
1147
1165
  key: 3,
1148
1166
  "text-anchor": "middle",
@@ -1153,42 +1171,42 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
1153
1171
  style: $(`font-weight:${e.value.style.chart.layout.labels.hollow.average.value.bold ? "bold" : ""}`)
1154
1172
  }, I(te.value || T.value ? "--" : u(V)(
1155
1173
  e.value.style.chart.layout.labels.hollow.average.value.formatter,
1156
- ct.value,
1174
+ Ne.value,
1157
1175
  u(N)({
1158
1176
  p: e.value.style.chart.layout.labels.hollow.average.value.prefix,
1159
- v: ct.value,
1177
+ v: Ne.value,
1160
1178
  s: e.value.style.chart.layout.labels.hollow.average.value.suffix,
1161
1179
  r: e.value.style.chart.layout.labels.hollow.average.value.rounding
1162
1180
  })
1163
- )), 13, za)) : v("", !0)
1181
+ )), 13, Oa)) : v("", !0)
1164
1182
  ], 512)) : v("", !0),
1165
- (n(!0), r(b, null, F(X.value.filter((t) => !t.ghost), (t, a) => (n(), r("g", {
1183
+ (n(!0), r(w, null, L(X.value.filter((t) => !t.ghost), (t, a) => (n(), r("g", {
1166
1184
  filter: le(a),
1167
- class: Xe({ animated: e.value.useCssAnimation }),
1185
+ class: Be({ animated: e.value.useCssAnimation }),
1168
1186
  key: t.seriesIndex
1169
1187
  }, [
1170
- e.value.style.chart.layout.labels.dataLabels.useLabelSlots ? (n(), r("g", Na, [
1188
+ e.value.style.chart.layout.labels.dataLabels.useLabelSlots ? (n(), r("g", Ya, [
1171
1189
  (n(), r("foreignObject", {
1172
1190
  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,
1173
- y: u(fe)(t) - (pt.value ? 20 : 0),
1191
+ y: u(fe)(t) - (gt.value ? 20 : 0),
1174
1192
  width: "120",
1175
1193
  height: "60",
1176
1194
  style: { overflow: "visible" }
1177
1195
  }, [
1178
1196
  h("div", null, [
1179
- w(l.$slots, "dataLabel", kt({ ref_for: !0 }, {
1197
+ b(l.$slots, "dataLabel", $t({ ref_for: !0 }, {
1180
1198
  datapoint: t,
1181
1199
  isBlur: !e.value.useBlurOnHover || [null, void 0].includes(Y.value) || Y.value === a,
1182
- isSafari: pt.value,
1200
+ isSafari: gt.value,
1183
1201
  isVisible: D(t) && f.value.dataLabels.show,
1184
1202
  textAlign: u(x)(t, !0, 16, !0).anchor,
1185
1203
  flexAlign: u(x)(t, !0, 16).anchor,
1186
- percentage: ze(t, X.value)
1204
+ percentage: Oe(t, X.value)
1187
1205
  }), void 0, !0)
1188
1206
  ])
1189
- ], 8, Ya))
1190
- ])) : (n(), r("g", Xa, [
1191
- e.value.type === "classic" ? (n(), r(b, { key: 0 }, [
1207
+ ], 8, Xa))
1208
+ ])) : (n(), r("g", Da, [
1209
+ e.value.type === "classic" ? (n(), r(w, { key: 0 }, [
1192
1210
  D(t) && f.value.dataLabels.show ? (n(), r("circle", {
1193
1211
  key: 0,
1194
1212
  cx: u(x)(t).x,
@@ -1199,16 +1217,16 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
1199
1217
  r: 3,
1200
1218
  filter: !e.value.useBlurOnHover || [null, void 0].includes(Y.value) || Y.value === a ? "" : `url(#blur_${g.value})`,
1201
1219
  onClick: (i) => Q(t, a),
1202
- onMouseenter: (i) => ve({
1220
+ onMouseenter: (i) => ce({
1203
1221
  datapoint: t,
1204
1222
  relativeIndex: a,
1205
1223
  seriesIndex: t.seriesIndex,
1206
1224
  show: !0
1207
1225
  }),
1208
- onMouseleave: (i) => ie({ datapoint: t, seriesIndex: t.seriesIndex })
1209
- }, null, 40, Da)) : v("", !0)
1226
+ onMouseleave: (i) => de({ datapoint: t, seriesIndex: t.seriesIndex })
1227
+ }, null, 40, Ba)) : v("", !0)
1210
1228
  ], 64)) : v("", !0),
1211
- e.value.type === "polar" ? (n(), r(b, { key: 1 }, [
1229
+ e.value.type === "polar" ? (n(), r(w, { key: 1 }, [
1212
1230
  D(t) && f.value.dataLabels.show ? (n(), r("circle", {
1213
1231
  key: 0,
1214
1232
  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,
@@ -1219,20 +1237,20 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
1219
1237
  r: 3,
1220
1238
  filter: !e.value.useBlurOnHover || [null, void 0].includes(Y.value) || Y.value === a ? "" : `url(#blur_${g.value})`,
1221
1239
  onClick: (i) => Q(t, a),
1222
- onMouseenter: (i) => ve({
1240
+ onMouseenter: (i) => ce({
1223
1241
  datapoint: t,
1224
1242
  relativeIndex: a,
1225
1243
  seriesIndex: t.seriesIndex,
1226
1244
  show: !0
1227
1245
  }),
1228
- onMouseleave: (i) => ie({ datapoint: t, seriesIndex: t.seriesIndex }),
1246
+ onMouseleave: (i) => de({ datapoint: t, seriesIndex: t.seriesIndex }),
1229
1247
  style: $({
1230
1248
  transition: T.value || !e.value.serieToggleAnimation.show ? "none" : `all ${e.value.serieToggleAnimation.durationMs}ms ease-in-out`
1231
1249
  })
1232
- }, null, 44, Ba)) : v("", !0)
1250
+ }, null, 44, Va)) : v("", !0)
1233
1251
  ], 64)) : v("", !0),
1234
- e.value.type === "classic" ? (n(), r(b, { key: 2 }, [
1235
- xt(h("text", {
1252
+ e.value.type === "classic" ? (n(), r(w, { key: 2 }, [
1253
+ Ct(h("text", {
1236
1254
  class: "vue-data-ui-datalabel-value",
1237
1255
  "text-anchor": u(x)(t, !0, 12).anchor,
1238
1256
  x: u(x)(t, !0, 12).x,
@@ -1241,14 +1259,14 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
1241
1259
  "font-size": we.value + "px",
1242
1260
  style: $(`font-weight:${e.value.style.chart.layout.labels.percentage.bold ? "bold" : ""}`),
1243
1261
  onClick: (i) => Q(t, a),
1244
- onMouseenter: (i) => ve({
1262
+ onMouseenter: (i) => ce({
1245
1263
  datapoint: t,
1246
1264
  relativeIndex: a,
1247
1265
  seriesIndex: t.seriesIndex,
1248
1266
  show: !0
1249
1267
  }),
1250
- onMouseleave: (i) => ie({ datapoint: t, seriesIndex: t.seriesIndex })
1251
- }, I(ze(t, X.value)) + " " + I(e.value.style.chart.layout.labels.value.show ? `(${u(V)(
1268
+ onMouseleave: (i) => de({ datapoint: t, seriesIndex: t.seriesIndex })
1269
+ }, I(Oe(t, X.value)) + " " + I(e.value.style.chart.layout.labels.value.show ? `(${u(V)(
1252
1270
  e.value.style.chart.layout.labels.value.formatter,
1253
1271
  t.value,
1254
1272
  u(N)({
@@ -1258,10 +1276,10 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
1258
1276
  r: e.value.style.chart.layout.labels.value.rounding
1259
1277
  }),
1260
1278
  { datapoint: t }
1261
- )})` : ""), 45, Va), [
1262
- [_t, D(t) && f.value.dataLabels.show]
1279
+ )})` : ""), 45, Ea), [
1280
+ [At, D(t) && f.value.dataLabels.show]
1263
1281
  ]),
1264
- xt(h("text", {
1282
+ Ct(h("text", {
1265
1283
  class: "vue-data-ui-datalabel-name",
1266
1284
  "text-anchor": u(x)(t).anchor,
1267
1285
  x: u(x)(t, !0, 12).x,
@@ -1270,23 +1288,23 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
1270
1288
  "font-size": J.value + "px",
1271
1289
  style: $(`font-weight:${e.value.style.chart.layout.labels.name.bold ? "bold" : ""}`),
1272
1290
  onClick: (i) => Q(t, a),
1273
- innerHTML: u(Tt)({
1291
+ innerHTML: u(Ft)({
1274
1292
  content: t.name,
1275
1293
  fontSize: J.value,
1276
1294
  fill: e.value.style.chart.layout.labels.name.color,
1277
1295
  x: u(x)(t, !0, 12).x,
1278
1296
  y: u(fe)(t) + J.value
1279
1297
  })
1280
- }, null, 12, Ea), [
1281
- [_t, D(t) && f.value.dataLabels.show]
1298
+ }, null, 12, Ra), [
1299
+ [At, D(t) && f.value.dataLabels.show]
1282
1300
  ]),
1283
- o[6] || (o[6] = Be(' @mouseenter="useTooltip({ datapoint: arc, relativeIndex: i, seriesIndex: arc.seriesIndex, show: true })" @mouseleave="handleDatapointLeave({ datapoint: arc, seriesIndex: arc.seriesIndex })" /> '))
1301
+ o[6] || (o[6] = Ee(' @mouseenter="useTooltip({ datapoint: arc, relativeIndex: i, seriesIndex: arc.seriesIndex, show: true })" @mouseleave="handleDatapointLeave({ datapoint: arc, seriesIndex: arc.seriesIndex })" /> '))
1284
1302
  ], 64)) : v("", !0),
1285
- e.value.type === "polar" ? (n(), r(b, { key: 3 }, [
1303
+ e.value.type === "polar" ? (n(), r(w, { key: 3 }, [
1286
1304
  D(t) && f.value.dataLabels.show ? (n(), r("text", {
1287
1305
  key: 0,
1288
1306
  class: "vue-data-ui-datalabel-value",
1289
- "text-anchor": re(d.value[a].middlePoint),
1307
+ "text-anchor": ve(d.value[a].middlePoint),
1290
1308
  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,
1291
1309
  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,
1292
1310
  fill: e.value.style.chart.layout.labels.percentage.color,
@@ -1296,14 +1314,14 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
1296
1314
  fontWeight: e.value.style.chart.layout.labels.percentage.bold ? "bold" : "normal"
1297
1315
  }),
1298
1316
  onClick: (i) => Q(t, a),
1299
- onMouseenter: (i) => ve({
1317
+ onMouseenter: (i) => ce({
1300
1318
  datapoint: t,
1301
1319
  relativeIndex: a,
1302
1320
  seriesIndex: t.seriesIndex,
1303
1321
  show: !0
1304
1322
  }),
1305
- onMouseleave: (i) => ie({ datapoint: t, seriesIndex: t.seriesIndex })
1306
- }, I(ze(t, X.value)) + " " + I(e.value.style.chart.layout.labels.value.show ? `(${u(V)(
1323
+ onMouseleave: (i) => de({ datapoint: t, seriesIndex: t.seriesIndex })
1324
+ }, I(Oe(t, X.value)) + " " + I(e.value.style.chart.layout.labels.value.show ? `(${u(V)(
1307
1325
  e.value.style.chart.layout.labels.value.formatter,
1308
1326
  t.value,
1309
1327
  u(N)({
@@ -1317,7 +1335,7 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
1317
1335
  D(t) && f.value.dataLabels.show ? (n(), r("text", {
1318
1336
  key: 1,
1319
1337
  class: "vue-data-ui-datalabel-name",
1320
- "text-anchor": re(d.value[a].middlePoint),
1338
+ "text-anchor": ve(d.value[a].middlePoint),
1321
1339
  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,
1322
1340
  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,
1323
1341
  fill: e.value.style.chart.layout.labels.name.color,
@@ -1327,18 +1345,18 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
1327
1345
  fontWeight: e.value.style.chart.layout.labels.name.bold ? "bold" : "normal"
1328
1346
  }),
1329
1347
  onClick: (i) => Q(t, a),
1330
- innerHTML: u(Tt)({
1348
+ innerHTML: u(Ft)({
1331
1349
  content: t.name,
1332
1350
  fontSize: we.value,
1333
1351
  fill: e.value.style.chart.layout.labels.name.color,
1334
1352
  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,
1335
1353
  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
1336
1354
  })
1337
- }, null, 12, Ra)) : v("", !0),
1338
- o[7] || (o[7] = Be(' @mouseenter="useTooltip({ datapoint: arc, relativeIndex: i, seriesIndex: arc.seriesIndex, show: true })" @mouseleave="handleDatapointLeave({ datapoint: arc, seriesIndex: arc.seriesIndex })" /> '))
1355
+ }, null, 12, qa)) : v("", !0),
1356
+ o[7] || (o[7] = Ee(' @mouseenter="useTooltip({ datapoint: arc, relativeIndex: i, seriesIndex: arc.seriesIndex, show: true })" @mouseleave="handleDatapointLeave({ datapoint: arc, seriesIndex: arc.seriesIndex })" /> '))
1339
1357
  ], 64)) : v("", !0)
1340
1358
  ])),
1341
- f.value.dataLabels.show && e.value.style.chart.comments.show && t.comment ? (n(), r("g", qa, [
1359
+ f.value.dataLabels.show && e.value.style.chart.comments.show && t.comment ? (n(), r("g", Wa, [
1342
1360
  D(t) && e.value.type === "classic" ? (n(), r("foreignObject", {
1343
1361
  key: 0,
1344
1362
  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),
@@ -1348,15 +1366,15 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
1348
1366
  style: { overflow: "visible", "pointer-events": "none" }
1349
1367
  }, [
1350
1368
  h("div", null, [
1351
- w(l.$slots, "plot-comment", {
1369
+ b(l.$slots, "plot-comment", {
1352
1370
  plot: { ...t, textAlign: u(x)(t, !0, 16, !0).anchor, flexAlign: u(x)(t, !0, 16).anchor, isFirstLoad: T.value }
1353
1371
  }, void 0, !0)
1354
1372
  ])
1355
- ], 8, Wa)) : v("", !0),
1373
+ ], 8, Ua)) : v("", !0),
1356
1374
  D(t) && e.value.type === "polar" ? (n(), r("foreignObject", {
1357
1375
  key: 1,
1358
- x: e.value.style.chart.comments.offsetX + (re(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 : re(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),
1359
- y: Kt(d.value[a]) + e.value.style.chart.comments.offsetY,
1376
+ x: e.value.style.chart.comments.offsetX + (ve(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 : ve(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),
1377
+ y: el(d.value[a]) + e.value.style.chart.comments.offsetY,
1360
1378
  width: e.value.style.chart.comments.width,
1361
1379
  height: "200",
1362
1380
  style: $({
@@ -1366,32 +1384,32 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
1366
1384
  })
1367
1385
  }, [
1368
1386
  h("div", null, [
1369
- w(l.$slots, "plot-comment", {
1370
- plot: { ...t, textAlign: re(d.value[a].middlePoint), flexAlign: re(d.value[a].middlePoint), isFirstLoad: T.value }
1387
+ b(l.$slots, "plot-comment", {
1388
+ plot: { ...t, textAlign: ve(d.value[a].middlePoint), flexAlign: ve(d.value[a].middlePoint), isFirstLoad: T.value }
1371
1389
  }, void 0, !0)
1372
1390
  ])
1373
- ], 12, Ua)) : v("", !0)
1391
+ ], 12, Ha)) : v("", !0)
1374
1392
  ])) : v("", !0)
1375
- ], 10, Oa))), 128)),
1376
- w(l.$slots, "svg", { svg: s.value }, void 0, !0)
1393
+ ], 10, Na))), 128)),
1394
+ b(l.$slots, "svg", { svg: s.value }, void 0, !0)
1377
1395
  ], 512)
1378
- ], 14, Bl)),
1379
- l.$slots.watermark ? (n(), r("div", Ha, [
1380
- w(l.$slots, "watermark", he(ye({ isPrinting: u(at) || u(ot) })), void 0, !0)
1396
+ ], 14, Vl)),
1397
+ l.$slots.watermark ? (n(), r("div", ja, [
1398
+ b(l.$slots, "watermark", oe(se({ isPrinting: u(st) || u(nt) })), void 0, !0)
1381
1399
  ])) : v("", !0),
1382
1400
  h("div", {
1383
1401
  ref_key: "chartLegend",
1384
- ref: qe
1402
+ ref: Ue
1385
1403
  }, [
1386
- e.value.style.chart.legend.show ? (n(), ae(Il, {
1387
- key: `legend_${Je.value}`,
1388
- legendSet: dt.value,
1389
- config: Ht.value,
1390
- onClickMarker: o[3] || (o[3] = ({ i: t }) => vt(t))
1391
- }, wt({
1404
+ e.value.style.chart.legend.show ? (n(), ae(Xl, {
1405
+ key: `legend_${Qe.value}`,
1406
+ legendSet: ht.value,
1407
+ config: Kt.value,
1408
+ onClickMarker: o[3] || (o[3] = ({ i: t }) => ct(t))
1409
+ }, _t({
1392
1410
  item: A(({ legend: t, index: a }) => [
1393
1411
  h("div", {
1394
- style: $(`opacity:${E.value.includes(a) ? 0.5 : 1}`),
1412
+ style: $(`opacity:${q.value.includes(a) ? 0.5 : 1}`),
1395
1413
  onClick: (i) => t.segregate()
1396
1414
  }, I(t.name) + I(e.value.style.chart.legend.showPercentage || e.value.style.chart.legend.showValue ? ":" : "") + " " + I(e.value.style.chart.legend.showValue ? u(V)(
1397
1415
  e.value.style.chart.layout.labels.value.formatter,
@@ -1406,22 +1424,22 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
1406
1424
  datapoint: t,
1407
1425
  index: a
1408
1426
  }
1409
- ) : "") + " " + I(e.value.style.chart.legend.showPercentage ? E.value.includes(a) ? `${e.value.style.chart.legend.showValue ? "(" : ""}${Zt(t.proportion * 100)}%${e.value.style.chart.legend.showValue ? ")" : ""}` : `${e.value.style.chart.legend.showValue ? "(" : ""}${isNaN(t.value / L.value) ? "-" : u(V)(
1427
+ ) : "") + " " + I(e.value.style.chart.legend.showPercentage ? q.value.includes(a) ? `${e.value.style.chart.legend.showValue ? "(" : ""}${ll(t.proportion * 100)}%${e.value.style.chart.legend.showValue ? ")" : ""}` : `${e.value.style.chart.legend.showValue ? "(" : ""}${isNaN(t.value / F.value) ? "-" : u(V)(
1410
1428
  e.value.style.chart.layout.labels.percentage.formatter,
1411
- ht.value(t),
1429
+ yt.value(t),
1412
1430
  u(N)({
1413
- v: ht.value(t),
1431
+ v: yt.value(t),
1414
1432
  s: "%",
1415
1433
  r: e.value.style.chart.legend.roundingPercentage
1416
1434
  })
1417
- )}${e.value.style.chart.legend.showValue ? ")" : ""}` : ""), 13, ja)
1435
+ )}${e.value.style.chart.legend.showValue ? ")" : ""}` : ""), 13, Ja)
1418
1436
  ]),
1419
1437
  _: 2
1420
1438
  }, [
1421
1439
  l.$slots.pattern ? {
1422
1440
  name: "legend-pattern",
1423
1441
  fn: A(({ legend: t, index: a }) => [
1424
- De(zl, {
1442
+ Ve(Nl, {
1425
1443
  shape: t.shape,
1426
1444
  radius: 30,
1427
1445
  stroke: "none",
@@ -1432,18 +1450,25 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
1432
1450
  key: "0"
1433
1451
  } : void 0
1434
1452
  ]), 1032, ["legendSet", "config"])) : v("", !0),
1435
- w(l.$slots, "legend", { legend: dt.value }, void 0, !0)
1453
+ b(l.$slots, "legend", { legend: ht.value }, void 0, !0)
1436
1454
  ], 512),
1437
1455
  l.$slots.source ? (n(), r("div", {
1438
1456
  key: 5,
1439
1457
  ref_key: "source",
1440
- ref: We,
1458
+ ref: He,
1441
1459
  dir: "auto"
1442
1460
  }, [
1443
- w(l.$slots, "source", {}, void 0, !0)
1461
+ b(l.$slots, "source", {}, void 0, !0)
1444
1462
  ], 512)) : v("", !0),
1445
- De(u(Nt), {
1446
- show: f.value.showTooltip && Fe.value,
1463
+ l.$slots.hollow ? (n(), r("div", Ka, [
1464
+ b(l.$slots, "hollow", oe(se({
1465
+ total: F.value,
1466
+ average: Ne.value,
1467
+ dataset: G.value
1468
+ })), void 0, !0)
1469
+ ])) : v("", !0),
1470
+ Ve(u(Dt), {
1471
+ show: f.value.showTooltip && Le.value,
1447
1472
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
1448
1473
  color: e.value.style.chart.tooltip.color,
1449
1474
  fontSize: e.value.style.chart.tooltip.fontSize,
@@ -1453,21 +1478,23 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
1453
1478
  backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
1454
1479
  position: e.value.style.chart.tooltip.position,
1455
1480
  offsetY: e.value.style.chart.tooltip.offsetY,
1456
- parent: H.value,
1457
- content: Le.value,
1481
+ parent: E.value,
1482
+ content: Ie.value,
1458
1483
  isCustom: pe.value,
1459
- isFullscreen: de.value
1484
+ isFullscreen: he.value,
1485
+ smooth: e.value.style.chart.tooltip.smooth,
1486
+ backdropFilter: e.value.style.chart.tooltip.backdropFilter
1460
1487
  }, {
1461
1488
  "tooltip-before": A(() => [
1462
- w(l.$slots, "tooltip-before", he(ye({ ...Oe.value })), void 0, !0)
1489
+ b(l.$slots, "tooltip-before", oe(se({ ...Ye.value })), void 0, !0)
1463
1490
  ]),
1464
1491
  "tooltip-after": A(() => [
1465
- w(l.$slots, "tooltip-after", he(ye({ ...Oe.value })), void 0, !0)
1492
+ b(l.$slots, "tooltip-after", oe(se({ ...Ye.value })), void 0, !0)
1466
1493
  ]),
1467
1494
  _: 3
1468
- }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom", "isFullscreen"]),
1469
- me.value ? (n(), ae(u(It), {
1470
- key: 6,
1495
+ }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom", "isFullscreen", "smooth", "backdropFilter"]),
1496
+ me.value ? (n(), ae(u(Ot), {
1497
+ key: 7,
1471
1498
  hideDetails: "",
1472
1499
  config: {
1473
1500
  open: f.value.showTable,
@@ -1483,8 +1510,8 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
1483
1510
  }
1484
1511
  }, {
1485
1512
  content: A(() => [
1486
- (n(), ae(u(Mt), {
1487
- key: `table_${je.value}`,
1513
+ (n(), ae(u(Nt), {
1514
+ key: `table_${Ke.value}`,
1488
1515
  colNames: _e.value.colNames,
1489
1516
  head: _e.value.head,
1490
1517
  body: _e.value.body,
@@ -1496,10 +1523,10 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
1496
1523
  h("div", {
1497
1524
  innerHTML: t,
1498
1525
  style: { display: "flex", "align-items": "center" }
1499
- }, null, 8, Ja)
1526
+ }, null, 8, Qa)
1500
1527
  ]),
1501
1528
  td: A(({ td: t }) => [
1502
- Be(I(t.name ? t.name : isNaN(Number(t)) ? t.includes("%") ? t : u(V)(
1529
+ Ee(I(t.name ? t.name : isNaN(Number(t)) ? t.includes("%") ? t : u(V)(
1503
1530
  e.value.style.chart.layout.labels.percentage.formatter,
1504
1531
  t,
1505
1532
  u(N)({
@@ -1523,10 +1550,10 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
1523
1550
  ]),
1524
1551
  _: 1
1525
1552
  }, 8, ["config"])) : v("", !0),
1526
- u(ke) ? (n(), ae(Nl, { key: 7 })) : v("", !0)
1527
- ], 46, Dl));
1553
+ u(ke) ? (n(), ae(Il, { key: 8 })) : v("", !0)
1554
+ ], 46, Bl));
1528
1555
  }
1529
- }, co = /* @__PURE__ */ Xl(Ka, [["__scopeId", "data-v-fdce44b0"]]);
1556
+ }, yo = /* @__PURE__ */ Dl(Za, [["__scopeId", "data-v-3da81d6a"]]);
1530
1557
  export {
1531
- co as default
1558
+ yo as default
1532
1559
  };