vue-data-ui 3.0.0-next.1 → 3.0.0-next.11

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