vue-data-ui 3.25.8 → 3.25.10

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 (164) hide show
  1. package/dist/{BaseScanner-DZvpgOjM.js → BaseScanner-Dzc8VT3j.js} +6 -3
  2. package/dist/{PackageVersion-ekRvV3aF.js → PackageVersion-CZZayD-D.js} +1 -1
  3. package/dist/{PenAndPaper-KFzKlvbi.js → PenAndPaper-Cd3nItcO.js} +3 -3
  4. package/dist/{SlicerPreview-B6iHOC9L.js → SlicerPreview-Ccss7Vsq.js} +2 -2
  5. package/dist/{SparkTooltip-C-Y-mDrc.js → SparkTooltip-L3SliZbR.js} +1 -1
  6. package/dist/{UserOptions-2x4VklMW.js → UserOptions-qo_Tsqci.js} +1 -1
  7. package/dist/components/vue-ui-3d-bar.js +1 -1
  8. package/dist/components/vue-ui-age-pyramid.js +1 -1
  9. package/dist/components/vue-ui-annotator.js +1 -1
  10. package/dist/components/vue-ui-bullet.js +1 -1
  11. package/dist/components/vue-ui-bump.js +1 -1
  12. package/dist/components/vue-ui-candlestick.js +1 -1
  13. package/dist/components/vue-ui-carousel-table.js +1 -1
  14. package/dist/components/vue-ui-chestnut.js +1 -1
  15. package/dist/components/vue-ui-chord.js +1 -1
  16. package/dist/components/vue-ui-circle-pack.js +1 -1
  17. package/dist/components/vue-ui-cursor.js +1 -1
  18. package/dist/components/vue-ui-dag.js +1 -1
  19. package/dist/components/vue-ui-dashboard.js +1 -1
  20. package/dist/components/vue-ui-digits.js +1 -1
  21. package/dist/components/vue-ui-donut-evolution.js +1 -1
  22. package/dist/components/vue-ui-donut.js +1 -1
  23. package/dist/components/vue-ui-dumbbell.js +1 -1
  24. package/dist/components/vue-ui-flow.js +1 -1
  25. package/dist/components/vue-ui-funnel.js +1 -1
  26. package/dist/components/vue-ui-galaxy.js +1 -1
  27. package/dist/components/vue-ui-gauge.js +1 -1
  28. package/dist/components/vue-ui-geo.js +1 -1
  29. package/dist/components/vue-ui-gizmo.js +1 -1
  30. package/dist/components/vue-ui-heatmap.js +1 -1
  31. package/dist/components/vue-ui-hill.js +1 -1
  32. package/dist/components/vue-ui-history-plot.js +1 -1
  33. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  34. package/dist/components/vue-ui-kpi.js +1 -1
  35. package/dist/components/vue-ui-label.js +1 -1
  36. package/dist/components/vue-ui-molecule.js +1 -1
  37. package/dist/components/vue-ui-mood-radar.js +1 -1
  38. package/dist/components/vue-ui-nested-donuts.js +1 -1
  39. package/dist/components/vue-ui-onion.js +1 -1
  40. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  41. package/dist/components/vue-ui-quadrant.js +1 -1
  42. package/dist/components/vue-ui-quick-chart.js +1 -1
  43. package/dist/components/vue-ui-radar.js +1 -1
  44. package/dist/components/vue-ui-relation-circle.js +1 -1
  45. package/dist/components/vue-ui-ridgeline.js +1 -1
  46. package/dist/components/vue-ui-rings.js +1 -1
  47. package/dist/components/vue-ui-scatter.js +1 -1
  48. package/dist/components/vue-ui-skeleton.js +1 -1
  49. package/dist/components/vue-ui-spark-trend.js +1 -1
  50. package/dist/components/vue-ui-sparkbar.js +1 -1
  51. package/dist/components/vue-ui-sparkgauge.js +1 -1
  52. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  53. package/dist/components/vue-ui-sparkline.js +1 -1
  54. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  55. package/dist/components/vue-ui-stackbar.js +1 -1
  56. package/dist/components/vue-ui-stackline.js +1 -1
  57. package/dist/components/vue-ui-strip-plot.js +1 -1
  58. package/dist/components/vue-ui-table-heatmap.js +1 -1
  59. package/dist/components/vue-ui-table-sparkline.js +1 -1
  60. package/dist/components/vue-ui-table.js +1 -1
  61. package/dist/components/vue-ui-thermometer.js +1 -1
  62. package/dist/components/vue-ui-timer.js +1 -1
  63. package/dist/components/vue-ui-tiremarks.js +1 -1
  64. package/dist/components/vue-ui-treemap.js +1 -1
  65. package/dist/components/vue-ui-vertical-bar.js +1 -1
  66. package/dist/components/vue-ui-waffle.js +1 -1
  67. package/dist/components/vue-ui-wheel.js +1 -1
  68. package/dist/components/vue-ui-word-cloud.js +1 -1
  69. package/dist/components/vue-ui-world.js +1 -1
  70. package/dist/components/vue-ui-xy-canvas.js +1 -1
  71. package/dist/components/vue-ui-xy.js +1 -1
  72. package/dist/composables.js +1 -1
  73. package/dist/{dom-to-png-C6cQJ5Hq.js → dom-to-png-BR4imuKV.js} +1 -1
  74. package/dist/{geoProjections-CEo3dVaL.js → geoProjections-BYthUA8l.js} +2 -2
  75. package/dist/{img-DhGApYG0.js → img-BkMKbWsI.js} +1 -1
  76. package/dist/{package-C4XeEHJx.js → package-CYtJq7s7.js} +1 -1
  77. package/dist/{pdf-Di5yPEw9.js → pdf-BSOs_GZz.js} +1 -1
  78. package/dist/{render-common-CQUp12xB.js → render-common-CpHpPc5s.js} +1 -1
  79. package/dist/ssr/vue-ui-donut.js +1 -1
  80. package/dist/ssr/vue-ui-xy.js +1 -1
  81. package/dist/ssr.js +2 -2
  82. package/dist/style.css +1 -1
  83. package/dist/types/utils.d.ts +5 -5
  84. package/dist/types/vue-data-ui.d.ts +5 -5
  85. package/dist/{usePrinter-DISD7q5m.js → usePrinter-hohanNCX.js} +4 -4
  86. package/dist/{useTooltipPosition-DifeoeQW.js → useTooltipPosition-BCrtQa9H.js} +1 -1
  87. package/dist/{vue-data-ui-BChCkqtW.js → vue-data-ui-ChB3aXCO.js} +65 -65
  88. package/dist/vue-data-ui.js +66 -66
  89. package/dist/{vue-ui-3d-bar-BkVOy4Y_.js → vue-ui-3d-bar-DcXbkO19.js} +5 -5
  90. package/dist/{vue-ui-age-pyramid-1_yQ64LX.js → vue-ui-age-pyramid-Cnaxt9NI.js} +263 -251
  91. package/dist/{vue-ui-annotator-BO5ihHOB.js → vue-ui-annotator-BLYRy--7.js} +12 -12
  92. package/dist/{vue-ui-bullet-BF1FeBst.js → vue-ui-bullet-DOfD2TSb.js} +4 -4
  93. package/dist/{vue-ui-bump-ZtKya76Y.js → vue-ui-bump-DL2lDZbE.js} +3 -3
  94. package/dist/{vue-ui-candlestick-P-clTYIt.js → vue-ui-candlestick-ijujiVJ5.js} +453 -441
  95. package/dist/{vue-ui-carousel-table-BVS-4A3h.js → vue-ui-carousel-table-DFtWb2-C.js} +3 -3
  96. package/dist/{vue-ui-chestnut-DHOIbpib.js → vue-ui-chestnut-BGXr0s08.js} +5 -5
  97. package/dist/{vue-ui-chord-CX_Mc3Fp.js → vue-ui-chord-DgBzLfbv.js} +5 -5
  98. package/dist/{vue-ui-circle-pack-Caqvblsl.js → vue-ui-circle-pack-88qDJbt0.js} +494 -482
  99. package/dist/{vue-ui-cursor-BFF4tWUb.js → vue-ui-cursor-CcEB7Ypx.js} +1 -1
  100. package/dist/{vue-ui-dag-CtG3HUh4.js → vue-ui-dag-BeoFmTDs.js} +6 -6
  101. package/dist/{vue-ui-dashboard-DASHNFPT.js → vue-ui-dashboard-NOVcGMCa.js} +63 -63
  102. package/dist/{vue-ui-digits-BQWHzntO.js → vue-ui-digits-BGmT7H1z.js} +1 -1
  103. package/dist/{vue-ui-donut-DHP_lm0m.js → vue-ui-donut-CP7ilveE.js} +838 -826
  104. package/dist/{vue-ui-donut-vbqlIlij.js → vue-ui-donut-CtXzuWzy.js} +1 -1
  105. package/dist/{vue-ui-donut-evolution-Cio3lNLz.js → vue-ui-donut-evolution-D_-y7BZi.js} +6 -6
  106. package/dist/{vue-ui-dumbbell-C2lQhCfq.js → vue-ui-dumbbell-BR1Cn4wm.js} +4 -4
  107. package/dist/vue-ui-flow-Bm6TgD8I.js +1229 -0
  108. package/dist/{vue-ui-funnel-DDncfHgI.js → vue-ui-funnel-CQ0-9nZT.js} +3 -3
  109. package/dist/vue-ui-galaxy-DUto0BOw.js +1097 -0
  110. package/dist/{vue-ui-gauge-OQbET2bh.js → vue-ui-gauge-B6pyA6Jh.js} +4 -4
  111. package/dist/{vue-ui-geo-Ddw87hVT.js → vue-ui-geo-BlG7s8MH.js} +408 -396
  112. package/dist/{vue-ui-gizmo-DJVWEvWS.js → vue-ui-gizmo-BlyehpxE.js} +2 -2
  113. package/dist/{vue-ui-heatmap-BKG4xt6j.js → vue-ui-heatmap-DqbWkKAE.js} +405 -393
  114. package/dist/{vue-ui-hill-BAruBiw6.js → vue-ui-hill-CGE0NdNk.js} +7 -7
  115. package/dist/vue-ui-history-plot-CaxqIiTb.js +1710 -0
  116. package/dist/{vue-ui-horizontal-bar-CXT7-P_o.js → vue-ui-horizontal-bar-Ykwe4M1n.js} +401 -389
  117. package/dist/{vue-ui-kpi-uOGX20hs.js → vue-ui-kpi-B7Nfet0o.js} +1 -1
  118. package/dist/{vue-ui-label-C1UAzvAu.js → vue-ui-label-Cs4ZlAqr.js} +10 -10
  119. package/dist/{vue-ui-molecule-BcA064dR.js → vue-ui-molecule-DWq98OSc.js} +347 -335
  120. package/dist/{vue-ui-mood-radar-CXtC0IqT.js → vue-ui-mood-radar-DDfimq6c.js} +5 -5
  121. package/dist/{vue-ui-nested-donuts-BFE0oXF_.js → vue-ui-nested-donuts-Bt-r6uXS.js} +360 -348
  122. package/dist/vue-ui-onion-D8gOhQHP.js +1247 -0
  123. package/dist/{vue-ui-parallel-coordinate-plot-5kKVnNmE.js → vue-ui-parallel-coordinate-plot-BbPbJiiu.js} +387 -375
  124. package/dist/{vue-ui-quadrant-BPg8L6Sw.js → vue-ui-quadrant-BJlf3qW1.js} +418 -406
  125. package/dist/{vue-ui-quick-chart-DQ_rhjqc.js → vue-ui-quick-chart-Cb8x00-X.js} +550 -538
  126. package/dist/{vue-ui-radar-C65wD7cW.js → vue-ui-radar-30PF-qqr.js} +330 -318
  127. package/dist/{vue-ui-relation-circle-nZaZcCh1.js → vue-ui-relation-circle-CRiC4PnL.js} +4 -4
  128. package/dist/{vue-ui-ridgeline-Bsi2hN14.js → vue-ui-ridgeline-CSs4Tq_c.js} +4 -4
  129. package/dist/{vue-ui-rings-DkCzxDyQ.js → vue-ui-rings-BqRWK5rY.js} +321 -309
  130. package/dist/{vue-ui-scatter-V01qkcN8.js → vue-ui-scatter-Bsh6jbdW.js} +584 -572
  131. package/dist/{vue-ui-skeleton-BgYtv_I2.js → vue-ui-skeleton-DbPSsEKV.js} +1 -1
  132. package/dist/{vue-ui-spark-trend-Dm1OyGyr.js → vue-ui-spark-trend--8QokOII.js} +2 -2
  133. package/dist/{vue-ui-sparkbar-D3hChHHS.js → vue-ui-sparkbar-DkX9Demg.js} +2 -2
  134. package/dist/{vue-ui-sparkgauge-CAeJapmG.js → vue-ui-sparkgauge-Ci_xD5B7.js} +2 -2
  135. package/dist/{vue-ui-sparkhistogram-ZIo_Vg7F.js → vue-ui-sparkhistogram-Qe3ZCPRd.js} +2 -2
  136. package/dist/{vue-ui-sparkline-BjvSeM83.js → vue-ui-sparkline-BwldgOYW.js} +2 -2
  137. package/dist/vue-ui-sparkstackbar-Divd0hL_.js +750 -0
  138. package/dist/vue-ui-stackbar-BWPSGzN-.js +2369 -0
  139. package/dist/vue-ui-stackline-BQroSnwZ.js +2483 -0
  140. package/dist/vue-ui-strip-plot-BCUPHkCp.js +1752 -0
  141. package/dist/{vue-ui-table-C8cvK-x_.js → vue-ui-table-DJeXLYly.js} +2 -2
  142. package/dist/{vue-ui-table-heatmap-BSUab4fG.js → vue-ui-table-heatmap-D5F5bLx5.js} +2 -2
  143. package/dist/{vue-ui-table-sparkline-Dam9BFsU.js → vue-ui-table-sparkline-DCm8S2uK.js} +2 -2
  144. package/dist/{vue-ui-thermometer-zyBeCINd.js → vue-ui-thermometer-xu4R8d2f.js} +4 -4
  145. package/dist/{vue-ui-timer-CDXczagK.js → vue-ui-timer-i_3bMu3h.js} +1 -1
  146. package/dist/{vue-ui-tiremarks-CG8LNC9c.js → vue-ui-tiremarks-DGuMI0yH.js} +4 -4
  147. package/dist/{vue-ui-treemap-DfDRwoZc.js → vue-ui-treemap-Bvl7elni.js} +311 -299
  148. package/dist/vue-ui-waffle-CVuYg0yU.js +1633 -0
  149. package/dist/{vue-ui-wheel-DDJIPE_z.js → vue-ui-wheel-DqHD09iA.js} +4 -4
  150. package/dist/{vue-ui-word-cloud-DBOXRp-e.js → vue-ui-word-cloud-BDCuTQ8Q.js} +385 -372
  151. package/dist/{vue-ui-world-CiIyp7WH.js → vue-ui-world-B0oVwEDj.js} +474 -462
  152. package/dist/{vue-ui-xy-s_IZ573M.js → vue-ui-xy-BJJi0E4D.js} +1 -1
  153. package/dist/{vue-ui-xy-AGYE0Vsz.js → vue-ui-xy-D1dPd68D.js} +1447 -1432
  154. package/dist/{vue-ui-xy-canvas-MOMyUdJg.js → vue-ui-xy-canvas-R2xbgDOy.js} +523 -511
  155. package/package.json +3 -3
  156. package/dist/vue-ui-flow-Dmnz4LCl.js +0 -1217
  157. package/dist/vue-ui-galaxy-Dw7TyOH0.js +0 -1085
  158. package/dist/vue-ui-history-plot-BKUg8Gz_.js +0 -1698
  159. package/dist/vue-ui-onion-DhedgEnV.js +0 -1235
  160. package/dist/vue-ui-sparkstackbar-DGQcpWK4.js +0 -738
  161. package/dist/vue-ui-stackbar-D0qmFn5Y.js +0 -2355
  162. package/dist/vue-ui-stackline-BBtEVl9V.js +0 -2469
  163. package/dist/vue-ui-strip-plot-CkU-nCt4.js +0 -1740
  164. package/dist/vue-ui-waffle-D6_cGi1-.js +0 -1621
@@ -1,53 +1,53 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { $ as t, Ct as n, D as r, Lt as i, Mt as a, Pt as o, Rt as s, S as ee, Ut as c, Vt as l, X as u, Yt as te, Zt as ne, b as re, f as ie, i as ae, lt as oe, n as se, nt as ce, p as le, q as ue, t as de, tt as fe, w as pe } from "./lib-Dql7cqyA.js";
3
- import { n as me, t as he } from "./useHints-Dq_w2E8B.js";
4
- import { t as ge } from "./useConfig-D32D002m.js";
5
- import { t as _e } from "./usePrinter-DISD7q5m.js";
6
- import { n as ve, t as ye } from "./BaseScanner-DZvpgOjM.js";
7
- import { t as be } from "./useNestedProp-Chvyfpl-.js";
8
- import { t as xe } from "./useThemeCheck-C43Tcqmk.js";
9
- import { t as Se } from "./useChartExport-iwOqiIWX.js";
10
- import { t as Ce } from "./img-DhGApYG0.js";
11
- import { n as we } from "./Title-CPHi-evi.js";
12
- import { t as Te } from "./_plugin-vue_export-helper-B3ysoDQm.js";
13
- import { l as Ee, t as De } from "./useResponsive-ZtArZtUf.js";
14
- import { t as Oe } from "./DefGrad-DVBqDjhO.js";
15
- import { t as ke } from "./BaseLegendToggle-CXQrLjd-.js";
16
- import { t as Ae } from "./A11yDataTable-DdRsVULz.js";
17
- import { t as je } from "./useUserOptionState-DK-_1ddE.js";
18
- import { t as Me } from "./useChartAccessibility-DYqac8yF.js";
19
- import { t as Ne } from "./labelUtils-BXX2NzRe.js";
20
- import { t as Pe } from "./Legend-X4kF4PvW.js";
21
- import { t as Fe } from "./vue_ui_nested_donuts-B8csIoVO.js";
22
- import { Fragment as d, Teleport as Ie, computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createSlots as Le, createTextVNode as Re, createVNode as ze, defineAsyncComponent as _, guardReactiveProps as v, mergeProps as Be, nextTick as Ve, normalizeClass as He, normalizeProps as y, normalizeStyle as Ue, onBeforeUnmount as We, onMounted as Ge, openBlock as b, ref as x, renderList as S, renderSlot as C, resolveDynamicComponent as Ke, shallowRef as qe, toDisplayString as w, toRefs as Je, unref as T, vShow as Ye, watch as Xe, withCtx as E, withDirectives as Ze } from "vue";
2
+ import { $ as t, Ct as n, D as r, Lt as i, Mt as a, Pt as o, Rt as s, S as ee, Ut as c, Vt as l, X as u, Yt as te, Z as ne, Zt as re, b as ie, f as ae, i as oe, lt as se, n as ce, nt as le, p as ue, q as de, t as fe, tt as pe, w as me } from "./lib-Dql7cqyA.js";
3
+ import { n as he, t as ge } from "./useHints-Dq_w2E8B.js";
4
+ import { t as _e } from "./useConfig-D32D002m.js";
5
+ import { t as ve } from "./usePrinter-hohanNCX.js";
6
+ import { n as ye, t as be } from "./BaseScanner-Dzc8VT3j.js";
7
+ import { t as xe } from "./useNestedProp-Chvyfpl-.js";
8
+ import { t as Se } from "./useThemeCheck-C43Tcqmk.js";
9
+ import { t as Ce } from "./useChartExport-iwOqiIWX.js";
10
+ import { t as we } from "./img-BkMKbWsI.js";
11
+ import { n as Te } from "./Title-CPHi-evi.js";
12
+ import { t as Ee } from "./_plugin-vue_export-helper-B3ysoDQm.js";
13
+ import { l as De, t as Oe } from "./useResponsive-ZtArZtUf.js";
14
+ import { t as ke } from "./DefGrad-DVBqDjhO.js";
15
+ import { t as Ae } from "./BaseLegendToggle-CXQrLjd-.js";
16
+ import { t as je } from "./A11yDataTable-DdRsVULz.js";
17
+ import { t as Me } from "./useUserOptionState-DK-_1ddE.js";
18
+ import { t as Ne } from "./useChartAccessibility-DYqac8yF.js";
19
+ import { t as Pe } from "./labelUtils-BXX2NzRe.js";
20
+ import { t as Fe } from "./Legend-X4kF4PvW.js";
21
+ import { t as Ie } from "./vue_ui_nested_donuts-B8csIoVO.js";
22
+ import { Fragment as d, Teleport as Le, computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createSlots as Re, createTextVNode as ze, createVNode as Be, defineAsyncComponent as _, guardReactiveProps as v, mergeProps as Ve, nextTick as He, normalizeClass as Ue, normalizeProps as y, normalizeStyle as We, onBeforeUnmount as Ge, onMounted as Ke, openBlock as b, ref as x, renderList as S, renderSlot as C, resolveDynamicComponent as qe, shallowRef as Je, toDisplayString as w, toRefs as Ye, unref as T, vShow as Xe, watch as Ze, withCtx as E, withDirectives as Qe } from "vue";
23
23
  //#region src/components/vue-ui-nested-donuts.vue
24
- var Qe = /* @__PURE__ */ e({ default: () => kt }), $e = ["id"], et = ["id"], tt = ["id"], nt = { style: { position: "relative" } }, rt = [
24
+ var $e = /* @__PURE__ */ e({ default: () => At }), et = ["id"], tt = ["id"], nt = ["id"], rt = { style: { position: "relative" } }, it = [
25
25
  "xmlns",
26
26
  "aria-describedby",
27
27
  "viewBox"
28
- ], it = ["width", "height"], at = ["id"], ot = ["id"], st = ["id"], ct = ["flood-color"], lt = ["id", "d"], ut = [
28
+ ], at = ["width", "height"], ot = ["id"], st = ["id"], ct = ["id"], lt = ["flood-color"], ut = ["id", "d"], dt = [
29
29
  "d",
30
30
  "fill",
31
31
  "stroke",
32
32
  "stroke-width",
33
33
  "filter"
34
- ], dt = [
34
+ ], ft = [
35
35
  "d",
36
36
  "fill",
37
37
  "stroke",
38
38
  "stroke-width"
39
- ], ft = { key: 1 }, pt = ["d", "fill"], mt = { key: 2 }, ht = [
39
+ ], pt = { key: 1 }, mt = ["d", "fill"], ht = { key: 2 }, gt = [
40
40
  "font-size",
41
41
  "font-weight",
42
42
  "fill",
43
43
  "dy"
44
- ], gt = ["href"], _t = [
44
+ ], _t = ["href"], vt = [
45
45
  "x",
46
46
  "y",
47
47
  "font-size",
48
48
  "font-weight",
49
49
  "fill"
50
- ], vt = { key: 3 }, yt = ["filter"], bt = [
50
+ ], yt = { key: 3 }, bt = ["filter"], xt = [
51
51
  "opacity",
52
52
  "text-anchor",
53
53
  "x",
@@ -55,7 +55,7 @@ var Qe = /* @__PURE__ */ e({ default: () => kt }), $e = ["id"], et = ["id"], tt
55
55
  "fill",
56
56
  "font-size",
57
57
  "font-weight"
58
- ], xt = [
58
+ ], St = [
59
59
  "opacity",
60
60
  "text-anchor",
61
61
  "x",
@@ -63,13 +63,13 @@ var Qe = /* @__PURE__ */ e({ default: () => kt }), $e = ["id"], et = ["id"], tt
63
63
  "fill",
64
64
  "font-size",
65
65
  "font-weight"
66
- ], St = [
66
+ ], Ct = [
67
67
  "d",
68
68
  "fill",
69
69
  "onMouseenter",
70
70
  "onClick",
71
71
  "onMouseleave"
72
- ], Ct = {
72
+ ], wt = {
73
73
  key: 0,
74
74
  style: {
75
75
  position: "absolute",
@@ -79,16 +79,16 @@ var Qe = /* @__PURE__ */ e({ default: () => kt }), $e = ["id"], et = ["id"], tt
79
79
  },
80
80
  "data-dom-to-png-ignore": "",
81
81
  "aria-hidden": "true"
82
- }, wt = {
82
+ }, Tt = {
83
83
  key: 5,
84
84
  class: "vue-data-ui-watermark"
85
- }, Tt = ["id"], Et = {
85
+ }, Et = ["id"], Dt = {
86
86
  key: 0,
87
87
  class: "vue-ui-nested-donuts-legend-title"
88
- }, Dt = ["onClick"], Ot = { style: {
88
+ }, Ot = ["onClick"], kt = { style: {
89
89
  display: "flex",
90
90
  "align-items": "center"
91
- } }, kt = /*#__PURE__*/ Te({
91
+ } }, At = /*#__PURE__*/ Ee({
92
92
  __name: "vue-ui-nested-donuts",
93
93
  props: {
94
94
  config: {
@@ -109,28 +109,28 @@ var Qe = /* @__PURE__ */ e({ default: () => kt }), $e = ["id"], et = ["id"], tt
109
109
  "selectDatapoint",
110
110
  "copyAlt"
111
111
  ],
112
- setup(e, { expose: Te, emit: Qe }) {
113
- let kt = _(() => import("./Tooltip-hhrkQ3Lk.js")), At = _(() => import("./BaseIcon-D8R6_sKH.js").then((e) => e.n)), jt = _(() => import("./vue-ui-accordion-DmkL8A59.js").then((e) => e.n)), Mt = _(() => import("./DataTable-oiM9uWrQ.js")), Nt = _(() => import("./UserOptions-2x4VklMW.js").then((e) => e.n)), Pt = _(() => import("./PenAndPaper-KFzKlvbi.js").then((e) => e.t)), Ft = _(() => import("./PackageVersion-ekRvV3aF.js").then((e) => e.t)), It = _(() => import("./BaseDraggableDialog-Gm4Q30j0.js").then((e) => e.n)), { vue_ui_nested_donuts: Lt } = ge(), { isThemeValid: Rt, warnInvalidTheme: zt } = xe(), D = e, Bt = f({
112
+ setup(e, { expose: Ee, emit: $e }) {
113
+ let At = _(() => import("./Tooltip-hhrkQ3Lk.js")), jt = _(() => import("./BaseIcon-D8R6_sKH.js").then((e) => e.n)), Mt = _(() => import("./vue-ui-accordion-DmkL8A59.js").then((e) => e.n)), Nt = _(() => import("./DataTable-oiM9uWrQ.js")), Pt = _(() => import("./UserOptions-qo_Tsqci.js").then((e) => e.n)), Ft = _(() => import("./PenAndPaper-Cd3nItcO.js").then((e) => e.t)), It = _(() => import("./PackageVersion-CZZayD-D.js").then((e) => e.t)), Lt = _(() => import("./BaseDraggableDialog-Gm4Q30j0.js").then((e) => e.n)), { vue_ui_nested_donuts: Rt } = _e(), { isThemeValid: zt, warnInvalidTheme: Bt } = Se(), D = e, Vt = f({
114
114
  get() {
115
115
  return !!D.dataset && D.dataset.length;
116
116
  },
117
117
  set(e) {
118
118
  return e;
119
119
  }
120
- }), O = x(ue()), Vt = x(!1), Ht = x(""), Ut = x(null), Wt = x(0), k = x(null), Gt = x(null), Kt = x(null), qt = x(null), Jt = x(null), Yt = x(0), Xt = x(0), Zt = x(0), A = x(!0), j = x([]), Qt = x([]), $t = x(!1), en = x(null), tn = x(null), M = x(null), nn = x({
120
+ }), O = x(de()), Ht = x(!1), Ut = x(""), Wt = x(null), Gt = x(0), k = x(null), Kt = x(null), qt = x(null), Jt = x(null), Yt = x(null), Xt = x(0), Zt = x(0), Qt = x(0), A = x(!0), j = x([]), $t = x([]), en = x(!1), tn = x(null), nn = x(null), M = x(null), rn = x({
121
121
  x: 0,
122
122
  y: 0
123
- }), rn = x("pointer"), an = x(!1), N = x(!1);
124
- function on(e) {
125
- N.value = e, Wt.value += 1;
123
+ }), an = x("pointer"), on = x(!1), N = x(!1);
124
+ function sn(e) {
125
+ N.value = e, Gt.value += 1;
126
126
  }
127
- let P = x(mn()), F = f(() => P.value.style.chart.layout.labels), I = f(() => P.value.style.chart.tooltip), L = f(() => P.value.userOptions), R = f(() => P.value.style.chart.layout), z = f(() => P.value.style.chart);
128
- me({
127
+ let P = x(hn()), F = f(() => P.value.style.chart.layout.labels), I = f(() => P.value.style.chart.tooltip), L = f(() => P.value.userOptions), R = f(() => P.value.style.chart.layout), z = f(() => P.value.style.chart);
128
+ he({
129
129
  config: () => P.value,
130
130
  dataset: () => D.dataset,
131
131
  component: "VueUiNestedDonuts",
132
132
  rules: [
133
- he.emptyArray,
133
+ ge.emptyArray,
134
134
  {
135
135
  test: (e) => e.some((e) => e.series.length > 6),
136
136
  message: [
@@ -163,7 +163,7 @@ var Qe = /* @__PURE__ */ e({ default: () => kt }), $e = ["id"], et = ["id"], tt
163
163
  }
164
164
  ]
165
165
  });
166
- let B = f(() => P.value.userOptions.useCursorPointer), sn = {
166
+ let B = f(() => P.value.userOptions.useCursorPointer), cn = {
167
167
  name: "",
168
168
  series: [
169
169
  {
@@ -182,7 +182,7 @@ var Qe = /* @__PURE__ */ e({ default: () => kt }), $e = ["id"], et = ["id"], tt
182
182
  color: "#CACACA"
183
183
  }
184
184
  ]
185
- }, cn = f(() => ne({
185
+ }, ln = f(() => re({
186
186
  defaultConfig: {
187
187
  useCssAnimation: !1,
188
188
  table: { show: !1 },
@@ -203,35 +203,35 @@ var Qe = /* @__PURE__ */ e({ default: () => kt }), $e = ["id"], et = ["id"], tt
203
203
  } }
204
204
  },
205
205
  userConfig: P.value.skeletonConfig ?? {}
206
- })), { loading: ln, FINAL_DATASET: V, manualLoading: un } = ve({
207
- ...Je(D),
206
+ })), { loading: un, FINAL_DATASET: V, manualLoading: dn } = ye({
207
+ ...Ye(D),
208
208
  FINAL_CONFIG: P,
209
- prepareConfig: mn,
209
+ prepareConfig: hn,
210
210
  callback: () => {
211
211
  Promise.resolve().then(async () => {
212
- await _n();
212
+ await bn();
213
213
  });
214
214
  },
215
- skeletonDataset: D.config?.skeletonDataset ?? [sn, sn],
216
- skeletonConfig: ne({
215
+ skeletonDataset: D.config?.skeletonDataset ?? [cn, cn],
216
+ skeletonConfig: re({
217
217
  defaultConfig: P.value,
218
- userConfig: cn.value
218
+ userConfig: ln.value
219
219
  })
220
- }), { userOptionsVisible: dn, setUserOptionsVisibility: fn, keepUserOptionState: pn } = je({ config: P.value }), { svgRef: H } = Me({ config: z.value.title });
221
- function mn() {
222
- let e = be({
220
+ }), { userOptionsVisible: fn, setUserOptionsVisibility: pn, keepUserOptionState: mn } = Me({ config: P.value }), { svgRef: H } = Ne({ config: z.value.title });
221
+ function hn() {
222
+ let e = xe({
223
223
  userConfig: D.config,
224
- defaultConfig: Lt
224
+ defaultConfig: Rt
225
225
  }), t = {}, n = e.theme;
226
226
  if (n) {
227
- if (!Rt.value(e)) zt(e), t = e;
227
+ if (!zt.value(e)) Bt(e), t = e;
228
228
  else {
229
- let r = be({
230
- userConfig: Fe[n] || D.config,
229
+ let r = xe({
230
+ userConfig: Ie[n] || D.config,
231
231
  defaultConfig: e
232
232
  });
233
233
  t = {
234
- ...be({
234
+ ...xe({
235
235
  userConfig: D.config,
236
236
  defaultConfig: r
237
237
  }),
@@ -241,10 +241,22 @@ var Qe = /* @__PURE__ */ e({ default: () => kt }), $e = ["id"], et = ["id"], tt
241
241
  } else t = e;
242
242
  return t;
243
243
  }
244
- Xe(() => D.config, (e) => {
245
- ln.value || (P.value = mn()), dn.value = !P.value.userOptions.showOnChartHover, yn(), Yt.value += 1, Xt.value += 1, Zt.value += 1, G.value.dataLabels.show = F.value.dataLabels.show, G.value.showTable = P.value.table.show, G.value.showTooltip = I.value.show, K.value.width = z.value.width, K.value.height = z.value.height;
244
+ function gn(e) {
245
+ let t = ne(e);
246
+ return t?.style?.chart && delete t.style.chart.tooltip, JSON.stringify(t);
247
+ }
248
+ let _n = gn(D.config);
249
+ Ze(() => D.config, (e, t) => {
250
+ let n = gn(e), r = n !== _n;
251
+ _n = n;
252
+ let i = hn();
253
+ if (!r) {
254
+ P.value.style.chart.tooltip = i.style.chart.tooltip, G.value.showTooltip = P.value.style.chart.tooltip.show;
255
+ return;
256
+ }
257
+ un.value || (P.value = i), fn.value = !P.value.userOptions.showOnChartHover, Sn(), Xt.value += 1, Zt.value += 1, Qt.value += 1, G.value.dataLabels.show = F.value.dataLabels.show, G.value.showTable = P.value.table.show, G.value.showTooltip = I.value.show, K.value.width = z.value.width, K.value.height = z.value.height;
246
258
  }, { deep: !0 });
247
- let hn = f(() => {
259
+ let vn = f(() => {
248
260
  let { top: e, right: t, bottom: n, left: r } = z.value.padding;
249
261
  return {
250
262
  css: `padding:${e}px ${t}px ${n}px ${r}px`,
@@ -254,20 +266,20 @@ var Qe = /* @__PURE__ */ e({ default: () => kt }), $e = ["id"], et = ["id"], tt
254
266
  left: r
255
267
  };
256
268
  });
257
- function gn(e, t = 1e3, n = 50) {
269
+ function yn(e, t = 1e3, n = 50) {
258
270
  return new Promise((r) => {
259
271
  let i = e.length;
260
- j.value = Array(i).fill(0), Qt.value = [];
272
+ j.value = Array(i).fill(0), $t.value = [];
261
273
  let a = 0;
262
274
  e.forEach((e, o) => {
263
275
  setTimeout(() => {
264
276
  let n = performance.now();
265
277
  function s(ee) {
266
- let c = Math.min((ee - n) / t, 1), u = e * fe(c);
278
+ let c = Math.min((ee - n) / t, 1), u = e * pe(c);
267
279
  j.value[o] = u, j.value = [...j.value];
268
280
  let te = [], ne = 0;
269
281
  D.dataset.forEach((e, t) => {
270
- let n = re(e.series.reduce((e, t) => e + re(l(t.values).reduce((e, t) => e + t, 0)), 0)) - re(j.value.slice(ne, ne + e.series.length).reduce((e, t) => e + t, 0));
282
+ let n = ie(e.series.reduce((e, t) => e + ie(l(t.values).reduce((e, t) => e + t, 0)), 0)) - ie(j.value.slice(ne, ne + e.series.length).reduce((e, t) => e + t, 0));
271
283
  n > Number.MIN_VALUE && te.push({
272
284
  name: "__ghost__",
273
285
  arcOf: e.name,
@@ -281,17 +293,17 @@ var Qe = /* @__PURE__ */ e({ default: () => kt }), $e = ["id"], et = ["id"], tt
281
293
  absoluteValues: [],
282
294
  ghost: !0
283
295
  }), ne += e.series.length;
284
- }), Qt.value = te, c < 1 ? requestAnimationFrame(s) : (a += 1, a === i && r());
296
+ }), $t.value = te, c < 1 ? requestAnimationFrame(s) : (a += 1, a === i && r());
285
297
  }
286
298
  requestAnimationFrame(s);
287
299
  }, o * n);
288
300
  });
289
301
  });
290
302
  }
291
- async function _n() {
303
+ async function bn() {
292
304
  if (P.value.startAnimation?.show) {
293
305
  let e = V.value.flatMap((e) => e.series).map((e) => l(e.values).reduce((e, t) => e + t, 0));
294
- j.value = e.map(() => 0), A.value = !0, Qt.value = V.value.map((e, t) => {
306
+ j.value = e.map(() => 0), A.value = !0, $t.value = V.value.map((e, t) => {
295
307
  let n = e.series.reduce((e, t) => e + l(t.values).reduce((e, t) => e + t, 0), 0);
296
308
  return {
297
309
  name: "__ghost__",
@@ -306,50 +318,50 @@ var Qe = /* @__PURE__ */ e({ default: () => kt }), $e = ["id"], et = ["id"], tt
306
318
  absoluteValues: [],
307
319
  ghost: !0
308
320
  };
309
- }), await Ve(), gn(e, P.value.startAnimation.durationMs, P.value.startAnimation.staggerMs).then(() => {
310
- A.value = !1, Qt.value = [];
321
+ }), await He(), yn(e, P.value.startAnimation.durationMs, P.value.startAnimation.staggerMs).then(() => {
322
+ A.value = !1, $t.value = [];
311
323
  });
312
324
  } else A.value = !1;
313
325
  }
314
- Ge(async () => {
315
- $t.value = !0, yn(), await _n();
326
+ Ke(async () => {
327
+ en.value = !0, Sn(), await bn();
316
328
  });
317
- let U = qe(null), vn = qe(null), W = f(() => P.value.debug);
318
- function yn() {
319
- if (o(D.dataset) ? (ce({
329
+ let U = Je(null), xn = Je(null), W = f(() => P.value.debug);
330
+ function Sn() {
331
+ if (o(D.dataset) ? (le({
320
332
  componentName: "VueUiNestedDonuts",
321
333
  type: "dataset",
322
334
  debug: W.value
323
- }), Bt.value = !1, un.value = !0) : un.value = P.value.loading, P.value.responsive) {
324
- let e = Ee(() => {
325
- let { width: e, height: t } = De({
335
+ }), Vt.value = !1, dn.value = !0) : dn.value = P.value.loading, P.value.responsive) {
336
+ let e = De(() => {
337
+ let { width: e, height: t } = Oe({
326
338
  chart: k.value,
327
- title: z.value.title.text ? Gt.value : null,
328
- legend: z.value.legend.show ? Kt.value : null,
329
- source: qt.value,
330
- noTitle: Jt.value,
331
- padding: hn.value
339
+ title: z.value.title.text ? Kt.value : null,
340
+ legend: z.value.legend.show ? qt.value : null,
341
+ source: Jt.value,
342
+ noTitle: Yt.value,
343
+ padding: vn.value
332
344
  });
333
345
  requestAnimationFrame(() => {
334
346
  K.value.width = e, K.value.height = t;
335
347
  });
336
348
  });
337
- U.value && (vn.value && U.value.unobserve(vn.value), U.value.disconnect()), U.value = new ResizeObserver(e), vn.value = k.value.parentNode, U.value.observe(vn.value);
349
+ U.value && (xn.value && U.value.unobserve(xn.value), U.value.disconnect()), U.value = new ResizeObserver(e), xn.value = k.value.parentNode, U.value.observe(xn.value);
338
350
  }
339
351
  }
340
- We(() => {
341
- U.value && (vn.value && U.value.unobserve(vn.value), U.value.disconnect());
352
+ Ge(() => {
353
+ U.value && (xn.value && U.value.unobserve(xn.value), U.value.disconnect());
342
354
  });
343
- let { isPrinting: bn, isImaging: xn, generatePdf: Sn, generateImage: Cn } = _e({
355
+ let { isPrinting: Cn, isImaging: wn, generatePdf: Tn, generateImage: En } = ve({
344
356
  elementId: `nested_donuts_${O.value}`,
345
357
  fileName: z.value.title.text || "vue-ui-nested-donuts",
346
358
  options: P.value.userOptions.print
347
- }), wn = f(() => P.value.userOptions.show && !z.value.title.text), Tn = f(() => pe(P.value.customPalette)), G = x({
359
+ }), Dn = f(() => P.value.userOptions.show && !z.value.title.text), On = f(() => me(P.value.customPalette)), G = x({
348
360
  dataLabels: { show: F.value.dataLabels.show },
349
361
  showTable: P.value.table.show,
350
362
  showTooltip: I.value.show
351
363
  });
352
- Xe(P, () => {
364
+ Ze(P, () => {
353
365
  G.value = {
354
366
  dataLabels: { show: F.value.dataLabels.show },
355
367
  showTable: P.value.table.show,
@@ -359,8 +371,8 @@ var Qe = /* @__PURE__ */ e({ default: () => kt }), $e = ["id"], et = ["id"], tt
359
371
  let K = x({
360
372
  width: z.value.width,
361
373
  height: z.value.height
362
- }), q = Qe;
363
- function En({ datapoint: e, index: t, seriesIndex: n }) {
374
+ }), q = $e;
375
+ function kn({ datapoint: e, index: t, seriesIndex: n }) {
364
376
  P.value.events.datapointClick && P.value.events.datapointClick({
365
377
  datapoint: e,
366
378
  seriesIndex: n
@@ -369,7 +381,7 @@ var Qe = /* @__PURE__ */ e({ default: () => kt }), $e = ["id"], et = ["id"], tt
369
381
  index: t
370
382
  });
371
383
  }
372
- function Dn({ from: e, to: t, duration: n, onUpdate: r, onDone: i, easing: a = fe }) {
384
+ function An({ from: e, to: t, duration: n, onUpdate: r, onDone: i, easing: a = pe }) {
373
385
  let o = performance.now();
374
386
  function s(ee) {
375
387
  let c = Math.min((ee - o) / n, 1), l = a(c);
@@ -378,33 +390,33 @@ var Qe = /* @__PURE__ */ e({ default: () => kt }), $e = ["id"], et = ["id"], tt
378
390
  requestAnimationFrame(s);
379
391
  }
380
392
  let J = x([]), Y = f(() => {
381
- ln.value, V.value.forEach((e, t) => {
382
- [null, void 0].includes(e.name) && ce({
393
+ un.value, V.value.forEach((e, t) => {
394
+ [null, void 0].includes(e.name) && le({
383
395
  componentName: "VueUiNestedDonuts",
384
396
  type: "datasetSerieAttribute",
385
397
  property: "name",
386
398
  index: t,
387
399
  debug: W.value
388
- }), [null, void 0].includes(e.series) ? ce({
400
+ }), [null, void 0].includes(e.series) ? le({
389
401
  componentName: "VueUiNestedDonuts",
390
402
  type: "datasetSerieAttribute",
391
403
  property: "series",
392
404
  index: t,
393
405
  debug: W.value
394
- }) : e.series.length === 0 ? ce({
406
+ }) : e.series.length === 0 ? le({
395
407
  componentName: "VueUiNestedDonuts",
396
408
  type: "datasetAttributeEmpty",
397
409
  property: `series at index ${t}`,
398
410
  debug: W.value
399
411
  }) : e.series.forEach((e, t) => {
400
- [null, void 0].includes(e.name) && ce({
412
+ [null, void 0].includes(e.name) && le({
401
413
  componentName: "VueUiNestedDonuts",
402
414
  type: "datasetSerieAttribute",
403
415
  property: "name",
404
416
  index: t,
405
417
  key: "serie",
406
418
  debug: W.value
407
- }), [null, void 0].includes(e.values) && ce({
419
+ }), [null, void 0].includes(e.values) && le({
408
420
  componentName: "VueUiNestedDonuts",
409
421
  type: "datasetSerieAttribute",
410
422
  property: "values",
@@ -429,17 +441,17 @@ var Qe = /* @__PURE__ */ e({ default: () => kt }), $e = ["id"], et = ["id"], tt
429
441
  id: `${O.value}_${n}_${a}`,
430
442
  seriesIndex: a,
431
443
  datasetIndex: n,
432
- color: ee(r.color) || Tn.value[a] || i[a % i.length],
444
+ color: ee(r.color) || On.value[a] || i[a % i.length],
433
445
  value: A.value ? j.value[e++] ?? 0 : o,
434
446
  absoluteValues: r.values || []
435
447
  };
436
448
  })
437
449
  }));
438
450
  });
439
- Xe(() => D.dataset, (e) => {
440
- Array.isArray(e) && e.length > 0 && (un.value = !1);
451
+ Ze(() => D.dataset, (e) => {
452
+ Array.isArray(e) && e.length > 0 && (dn.value = !1);
441
453
  }, { immediate: !0 });
442
- let X = f(() => Math.min(K.value.height, K.value.width) * (R.value.donut.strokeWidth / 512)), On = f(() => [...Y.value].map((e, t) => {
454
+ let X = f(() => Math.min(K.value.height, K.value.width) * (R.value.donut.strokeWidth / 512)), jn = f(() => [...Y.value].map((e, t) => {
443
455
  let n = e.series.filter((e) => !J.value.includes(e.id)).map((e) => e.value).reduce((e, t) => e + t, 0);
444
456
  return {
445
457
  ...e,
@@ -450,22 +462,22 @@ var Qe = /* @__PURE__ */ e({ default: () => kt }), $e = ["id"], et = ["id"], tt
450
462
  }))
451
463
  };
452
464
  }));
453
- function kn(e, t, n) {
465
+ function Mn(e, t, n) {
454
466
  let r = 0;
455
467
  for (let t = 0; t < e.length; t += 1) n.includes(e[t]) && (r += 1);
456
468
  return r < t;
457
469
  }
458
- let Z = x(On.value);
459
- Xe(() => On.value, (e) => Z.value = e);
460
- function An(e) {
470
+ let Z = x(jn.value);
471
+ Ze(() => jn.value, (e) => Z.value = e);
472
+ function Nn(e) {
461
473
  let t = e.map((e) => e.id);
462
474
  if (e.some((e) => J.value.includes(e.id))) {
463
475
  let e = new Set(t);
464
476
  J.value = J.value.filter((t) => !e.has(t));
465
477
  } else J.value.push(...t);
466
- q("selectLegend", On.value);
478
+ q("selectLegend", jn.value);
467
479
  }
468
- function jn(e) {
480
+ function Pn(e) {
469
481
  let t = D.dataset.flatMap((e, t) => e.series.map((e, n) => ({
470
482
  value: l(e.values).reduce((e, t) => e + t, 0),
471
483
  id: `${O.value}_${t}_${n}`,
@@ -474,8 +486,8 @@ var Qe = /* @__PURE__ */ e({ default: () => kt }), $e = ["id"], et = ["id"], tt
474
486
  if (!t) return;
475
487
  let n = Y.value.flatMap((e) => e.series).find((t) => t.id === e.id)?.value ?? 0, r = Z.value.flatMap((e) => e.series).find((t) => t.id === e.id), i = r ? r.value : 0, a = Y.value.find((e) => e.id === t.arcOfId);
476
488
  if (!a) return;
477
- let o = a.series.map((e) => e.id), s = kn(o, o.length - 1, J.value);
478
- J.value.includes(e.id) ? (J.value = J.value.filter((t) => t !== e.id), P.value.serieToggleAnimation.show ? Dn({
489
+ let o = a.series.map((e) => e.id), s = Mn(o, o.length - 1, J.value);
490
+ J.value.includes(e.id) ? (J.value = J.value.filter((t) => t !== e.id), P.value.serieToggleAnimation.show ? An({
479
491
  from: i,
480
492
  to: n,
481
493
  duration: P.value.serieToggleAnimation.durationMs,
@@ -489,7 +501,7 @@ var Qe = /* @__PURE__ */ e({ default: () => kt }), $e = ["id"], et = ["id"], tt
489
501
  }));
490
502
  },
491
503
  onDone: () => {
492
- q("selectLegend", On.value);
504
+ q("selectLegend", jn.value);
493
505
  }
494
506
  }) : (Z.value = Z.value.map((t) => ({
495
507
  ...t,
@@ -497,7 +509,7 @@ var Qe = /* @__PURE__ */ e({ default: () => kt }), $e = ["id"], et = ["id"], tt
497
509
  ...t,
498
510
  value: n
499
511
  } : t)
500
- })), q("selectLegend", On.value))) : s && (P.value.serieToggleAnimation.show ? Dn({
512
+ })), q("selectLegend", jn.value))) : s && (P.value.serieToggleAnimation.show ? An({
501
513
  from: i,
502
514
  to: 0,
503
515
  duration: P.value.serieToggleAnimation.durationMs,
@@ -511,7 +523,7 @@ var Qe = /* @__PURE__ */ e({ default: () => kt }), $e = ["id"], et = ["id"], tt
511
523
  }));
512
524
  },
513
525
  onDone: () => {
514
- J.value.push(e.id), q("selectLegend", On.value);
526
+ J.value.push(e.id), q("selectLegend", jn.value);
515
527
  }
516
528
  }) : (Z.value = Z.value.map((t) => ({
517
529
  ...t,
@@ -519,32 +531,32 @@ var Qe = /* @__PURE__ */ e({ default: () => kt }), $e = ["id"], et = ["id"], tt
519
531
  ...t,
520
532
  value: 0
521
533
  } : t)
522
- })), J.value.push(e.id), q("selectLegend", On.value)));
534
+ })), J.value.push(e.id), q("selectLegend", jn.value)));
523
535
  }
524
- function Mn(e) {
536
+ function Fn(e) {
525
537
  return Y.value.length ? Y.value.flatMap((e) => e.series).filter((t) => t.name === e) || (W.value && console.warn(`VueUiNestedDonuts - Series name not found "${e}"`), null) : (W.value && console.warn("VueUiNestedDonuts - There are no series to show."), null);
526
538
  }
527
- function Nn(e) {
528
- let t = Mn(e);
539
+ function In(e) {
540
+ let t = Fn(e);
529
541
  t !== null && (Array.isArray(t) ? t.forEach((e) => {
530
- J.value.includes(e.id) && jn({ id: e.id });
531
- }) : J.value.includes(t.id) && jn({ id: t.id }));
542
+ J.value.includes(e.id) && Pn({ id: e.id });
543
+ }) : J.value.includes(t.id) && Pn({ id: t.id }));
532
544
  }
533
- function Pn(e) {
534
- let t = Mn(e);
545
+ function Ln(e) {
546
+ let t = Fn(e);
535
547
  t !== null && (Array.isArray(t) ? t.forEach((e) => {
536
- J.value.includes(e.id) || jn({ id: e.id });
537
- }) : J.value.includes(t.id) || jn({ id: t.id }));
548
+ J.value.includes(e.id) || Pn({ id: e.id });
549
+ }) : J.value.includes(t.id) || Pn({ id: t.id }));
538
550
  }
539
- let Fn = f(() => X.value / Y.value.length * R.value.donut.spacingRatio), In = f(() => Z.value.map((e, t) => X.value - t * X.value / Y.value.length)), Ln = f(() => Z.value.map((e, t) => {
540
- let n = Math.abs(e.series.map((e) => e.value).reduce((e, t) => e + t, 0)) > 0, r = X.value - t * X.value / Z.value.length, i = A.value ? Qt.value.find((e) => e.datasetIndex === t) : null, o = [...e.series, ...i ? [i] : []].map((e) => ({
551
+ let Rn = f(() => X.value / Y.value.length * R.value.donut.spacingRatio), zn = f(() => Z.value.map((e, t) => X.value - t * X.value / Y.value.length)), Bn = f(() => Z.value.map((e, t) => {
552
+ let n = Math.abs(e.series.map((e) => e.value).reduce((e, t) => e + t, 0)) > 0, r = X.value - t * X.value / Z.value.length, i = A.value ? $t.value.find((e) => e.datasetIndex === t) : null, o = [...e.series, ...i ? [i] : []].map((e) => ({
541
553
  ...e,
542
554
  value: e.value < 1e-11 ? Number.MIN_VALUE : e.value
543
555
  })), s = a({ series: [{
544
556
  name: "_",
545
557
  color: R.value.donut.emptyFill,
546
558
  value: 1
547
- }] }, K.value.width / 2, K.value.height / 2, r, r, 1.99999, 2, 1, 360, 105.25, Fn.value), ee = `M ${K.value.width / 2},${K.value.height / 2 + r}
559
+ }] }, K.value.width / 2, K.value.height / 2, r, r, 1.99999, 2, 1, 360, 105.25, Rn.value), ee = `M ${K.value.width / 2},${K.value.height / 2 + r}
548
560
  a ${r},${r} 0 1,1 0,${-2 * r}
549
561
  a ${r},${r} 0 1,1 0,${2 * r}`;
550
562
  return {
@@ -553,23 +565,23 @@ var Qe = /* @__PURE__ */ e({ default: () => kt }), $e = ["id"], et = ["id"], tt
553
565
  radius: r,
554
566
  skeleton: s,
555
567
  fullCirclePath: ee,
556
- donut: a({ series: o }, K.value.width / 2, K.value.height / 2, r, r, 1.99999, 2, 1, 360, 105.25, Fn.value)
568
+ donut: a({ series: o }, K.value.width / 2, K.value.height / 2, r, r, 1.99999, 2, 1, 360, 105.25, Rn.value)
557
569
  };
558
- })), Rn = f(() => [...Y.value].map((e, t) => {
570
+ })), Vn = f(() => [...Y.value].map((e, t) => {
559
571
  let n = t * X.value / Y.value.length;
560
572
  return {
561
573
  sizeRatio: n,
562
574
  donut: a({ series: [{ value: 1 }] }, K.value.width / 2, K.value.height / 2, X.value - n, X.value - n, 1.99999, 2, 1, 360, 105.25, X.value / Y.value.length * R.value.donut.spacingRatio)[0]
563
575
  };
564
- })), zn = x(null), Bn = x(null), Vn = x(null), Hn = x(null);
565
- function Un({ datapoint: e, seriesIndex: t }) {
576
+ })), Hn = x(null), Un = x(null), Wn = x(null), Gn = x(null);
577
+ function Kn({ datapoint: e, seriesIndex: t }) {
566
578
  P.value.events.datapointLeave && P.value.events.datapointLeave({
567
579
  datapoint: e,
568
580
  seriesIndex: t
569
- }), Vt.value = !1, zn.value = null, Ut.value = null, Bn.value = null, Vn.value = null, M.value = null, rn.value = "pointer";
581
+ }), Ht.value = !1, Hn.value = null, Wt.value = null, Un.value = null, Wn.value = null, M.value = null, an.value = "pointer";
570
582
  }
571
- function Wn({ val: e, percentage: t, showVal: n, showPercentage: r, config: i }) {
572
- return Ne({
583
+ function qn({ val: e, percentage: t, showVal: n, showPercentage: r, config: i }) {
584
+ return Pe({
573
585
  config: i,
574
586
  val: e,
575
587
  percentage: t,
@@ -577,23 +589,23 @@ var Qe = /* @__PURE__ */ e({ default: () => kt }), $e = ["id"], et = ["id"], tt
577
589
  showPercentage: r
578
590
  });
579
591
  }
580
- function Gn({ datapoint: e, _relativeIndex: t, seriesIndex: r, triggerMode: i = "pointer" }) {
592
+ function Jn({ datapoint: e, _relativeIndex: t, seriesIndex: r, triggerMode: i = "pointer" }) {
581
593
  P.value.events.datapointEnter && P.value.events.datapointEnter({
582
594
  datapoint: e,
583
595
  seriesIndex: r
584
- }), rn.value = i, M.value = r, zn.value = e.arcOfId, Bn.value = e.id, Vn.value = r, Ut.value = e.id, Hn.value = {
596
+ }), an.value = i, M.value = r, Hn.value = e.arcOfId, Un.value = e.id, Wn.value = r, Wt.value = e.id, Gn.value = {
585
597
  datapoint: e,
586
598
  seriesIndex: r,
587
599
  series: Z.value,
588
600
  config: P.value
589
601
  };
590
602
  let a = I.value.customFormat;
591
- if (n(a) && oe(() => a({
603
+ if (n(a) && se(() => a({
592
604
  seriesIndex: r,
593
605
  datapoint: e,
594
606
  series: Z.value,
595
607
  config: P.value
596
- }))) Ht.value = a({
608
+ }))) Ut.value = a({
597
609
  seriesIndex: r,
598
610
  datapoint: e,
599
611
  series: Z.value,
@@ -617,11 +629,11 @@ var Qe = /* @__PURE__ */ e({ default: () => kt }), $e = ["id"], et = ["id"], tt
617
629
  </div>
618
630
  <span>
619
631
  <b>
620
- ${Wn({
632
+ ${qn({
621
633
  config: z.value.tooltip,
622
634
  showVal: I.value.showValue,
623
635
  showPercentage: I.value.showPercentage,
624
- val: ae(R.value.labels.dataLabels.formatter, e.value, u({
636
+ val: oe(R.value.labels.dataLabels.formatter, e.value, u({
625
637
  p: z.value.layout.labels.dataLabels.prefix,
626
638
  v: e.value,
627
639
  s: z.value.layout.labels.dataLabels.suffix,
@@ -641,7 +653,7 @@ var Qe = /* @__PURE__ */ e({ default: () => kt }), $e = ["id"], et = ["id"], tt
641
653
  </div>
642
654
  `;
643
655
  });
644
- } else t += `<div style="width:100%;text-align:center;border-bottom:1px solid ${I.value.borderColor};padding-bottom:6px;margin-bottom:3px;">${e.arcOf ?? ""} - ${e.name}</div>`, t += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${e.color}"/></svg>`, I.value.showValue && (t += `<b>${ae(F.value.dataLabels.formatter, e.value, u({
656
+ } else t += `<div style="width:100%;text-align:center;border-bottom:1px solid ${I.value.borderColor};padding-bottom:6px;margin-bottom:3px;">${e.arcOf ?? ""} - ${e.name}</div>`, t += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${e.color}"/></svg>`, I.value.showValue && (t += `<b>${oe(F.value.dataLabels.formatter, e.value, u({
645
657
  p: F.value.dataLabels.prefix,
646
658
  v: e.value,
647
659
  s: F.value.dataLabels.suffix,
@@ -658,26 +670,26 @@ var Qe = /* @__PURE__ */ e({ default: () => kt }), $e = ["id"], et = ["id"], tt
658
670
  s: "%",
659
671
  r: I.value.roundingPercentage
660
672
  })}</b></div>`);
661
- Ht.value = `<div style="font-size:${I.value.fontSize}px">${t}</div>`;
673
+ Ut.value = `<div style="font-size:${I.value.fontSize}px">${t}</div>`;
662
674
  }
663
- Vt.value = !0;
675
+ Ht.value = !0;
664
676
  }
665
- function Kn(e) {
677
+ function Yn(e) {
666
678
  return e.proportion * 100 > F.value.dataLabels.hideUnderValue;
667
679
  }
668
- function qn(e, t) {
680
+ function Xn(e, t) {
669
681
  if (!P.value.useBlurOnHover) return "";
670
- if (I.value.showAllItemsAtIndex && J.value.length === 0) return [null, void 0].includes(Vn.value) || Vn.value === t ? "" : `url(#blur_${O.value})`;
671
- if (!I.value.showAllItemsAtIndex || J.value.length) return [null, void 0].includes(Bn.value) || Bn.value === e.id ? "" : `url(#blur_${O.value})`;
682
+ if (I.value.showAllItemsAtIndex && J.value.length === 0) return [null, void 0].includes(Wn.value) || Wn.value === t ? "" : `url(#blur_${O.value})`;
683
+ if (!I.value.showAllItemsAtIndex || J.value.length) return [null, void 0].includes(Un.value) || Un.value === e.id ? "" : `url(#blur_${O.value})`;
672
684
  }
673
- let Jn = f(() => Y.value.map((e, t) => {
685
+ let Zn = f(() => Y.value.map((e, t) => {
674
686
  let n = e.series.filter((e) => !J.value.includes(e.id)), r = A.value ? n.map((e) => {
675
687
  let n = V.value[t].series.findIndex((t) => t.name === e.name);
676
688
  return l(V.value[t].series[n].values).reduce((e, t) => e + t, 0);
677
689
  }).reduce((e, t) => e + t, 0) : n.map((e) => e.value).reduce((e, t) => e + t, 0);
678
690
  return e.series.map((e, n) => {
679
- let i = l(V.value[t].series[n].values).reduce((e, t) => e + t, 0), a = A.value ? i : e.value, o = Wn({
680
- val: ae(F.value.dataLabels.formatter, a, u({
691
+ let i = l(V.value[t].series[n].values).reduce((e, t) => e + t, 0), a = A.value ? i : e.value, o = qn({
692
+ val: oe(F.value.dataLabels.formatter, a, u({
681
693
  p: F.value.dataLabels.prefix,
682
694
  v: a,
683
695
  s: F.value.dataLabels.suffix,
@@ -708,11 +720,11 @@ var Qe = /* @__PURE__ */ e({ default: () => kt }), $e = ["id"], et = ["id"], tt
708
720
  datasetIndex: t,
709
721
  total: r,
710
722
  opacity: J.value.includes(e.id) ? .5 : 1,
711
- segregate: () => jn(e),
723
+ segregate: () => Pn(e),
712
724
  isSegregated: J.value.includes(e.id)
713
725
  };
714
726
  });
715
- })), Yn = f(() => ({
727
+ })), Qn = f(() => ({
716
728
  cy: "nested-donuts-legend",
717
729
  backgroundColor: z.value.legend.backgroundColor,
718
730
  color: z.value.legend.color,
@@ -727,8 +739,8 @@ var Qe = /* @__PURE__ */ e({ default: () => kt }), $e = ["id"], et = ["id"], tt
727
739
  }))),
728
740
  body: Z.value.flatMap((e) => e.series.map((e) => e.value))
729
741
  }));
730
- function Xn(e = null) {
731
- Ve(() => {
742
+ function $n(e = null) {
743
+ He(() => {
732
744
  let n = Q.value.head.map((e, t) => [
733
745
  [e.name],
734
746
  [Q.value.body[t]],
@@ -748,7 +760,7 @@ var Qe = /* @__PURE__ */ e({ default: () => kt }), $e = ["id"], et = ["id"], tt
748
760
  });
749
761
  });
750
762
  }
751
- let Zn = f(() => {
763
+ let er = f(() => {
752
764
  let e = [
753
765
  P.value.table.columnNames.series,
754
766
  P.value.table.columnNames.value,
@@ -797,25 +809,25 @@ var Qe = /* @__PURE__ */ e({ default: () => kt }), $e = ["id"], et = ["id"], tt
797
809
  config: r
798
810
  };
799
811
  });
800
- function Qn() {
812
+ function tr() {
801
813
  return Y.value;
802
814
  }
803
- function $n() {
815
+ function nr() {
804
816
  G.value.showTable = !G.value.showTable;
805
817
  }
806
- function er() {
818
+ function rr() {
807
819
  G.value.dataLabels.show = !G.value.dataLabels.show;
808
820
  }
809
- function tr() {
821
+ function ir() {
810
822
  G.value.showTooltip = !G.value.showTooltip;
811
823
  }
812
- let nr = x(!1);
813
- function rr() {
814
- nr.value = !nr.value;
824
+ let ar = x(!1);
825
+ function or() {
826
+ ar.value = !ar.value;
815
827
  }
816
- async function ir({ scale: e = 2 } = {}) {
828
+ async function sr({ scale: e = 2 } = {}) {
817
829
  if (!k.value) return;
818
- let { width: t, height: n } = k.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await Ce({
830
+ let { width: t, height: n } = k.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await we({
819
831
  domElement: k.value,
820
832
  base64: !0,
821
833
  img: !0,
@@ -830,16 +842,16 @@ var Qe = /* @__PURE__ */ e({ default: () => kt }), $e = ["id"], et = ["id"], tt
830
842
  aspectRatio: r
831
843
  };
832
844
  }
833
- let ar = x(null);
834
- function or() {
835
- if (!ar.value) return;
836
- let { x: e, y: t, width: n, height: r } = ar.value.getBBox();
845
+ let cr = x(null);
846
+ function lr() {
847
+ if (!cr.value) return;
848
+ let { x: e, y: t, width: n, height: r } = cr.value.getBBox();
837
849
  H.value && H.value.setAttribute("viewBox", `${e} ${t} ${n + Math.min(0, e)} ${r + Math.min(0, t)}`);
838
850
  }
839
- let sr = f(() => {
851
+ let ur = f(() => {
840
852
  let e = P.value.table.useDialog && !P.value.table.show, t = G.value.showTable;
841
853
  return {
842
- component: e ? It : jt,
854
+ component: e ? Lt : Mt,
843
855
  title: `${z.value.title.text}${z.value.title.subtitle.text ? `: ${z.value.title.subtitle.text}` : ""}`,
844
856
  props: e ? {
845
857
  backgroundColor: P.value.table.th.backgroundColor,
@@ -867,25 +879,25 @@ var Qe = /* @__PURE__ */ e({ default: () => kt }), $e = ["id"], et = ["id"], tt
867
879
  }
868
880
  };
869
881
  });
870
- Xe(() => G.value.showTable, (e) => {
871
- P.value.table.show || (e && P.value.table.useDialog && en.value ? en.value.open() : "close" in en.value && en.value.close());
882
+ Ze(() => G.value.showTable, (e) => {
883
+ P.value.table.show || (e && P.value.table.useDialog && tn.value ? tn.value.open() : "close" in tn.value && tn.value.close());
872
884
  });
873
- function cr() {
874
- G.value.showTable = !1, tn.value && tn.value.setTableIconState(!1);
885
+ function dr() {
886
+ G.value.showTable = !1, nn.value && nn.value.setTableIconState(!1);
875
887
  }
876
- let lr = f(() => z.value.backgroundColor), ur = f(() => z.value.legend), dr = f(() => z.value.title), fr = f(() => Jn.value.flat().map((e) => ({
888
+ let fr = f(() => z.value.backgroundColor), pr = f(() => z.value.legend), mr = f(() => z.value.title), hr = f(() => Zn.value.flat().map((e) => ({
877
889
  ...e,
878
890
  name: e.svgDisplay
879
- }))), { isCallbackImaging: pr, isCallbackSvg: mr, generateSvg: hr, onGenerateImage: gr } = Se({
891
+ }))), { isCallbackImaging: gr, isCallbackSvg: _r, generateSvg: vr, onGenerateImage: yr } = Ce({
880
892
  svg: H,
881
- title: dr,
882
- legend: ur,
883
- legendItems: fr,
884
- backgroundColor: lr,
893
+ title: mr,
894
+ legend: pr,
895
+ legendItems: hr,
896
+ backgroundColor: fr,
885
897
  getSvgCallback: () => P.value.userOptions.callbacks.svg,
886
- generateImage: Cn
898
+ generateImage: En
887
899
  });
888
- async function _r() {
900
+ async function br() {
889
901
  if (q("copyAlt", {
890
902
  config: P.value,
891
903
  dataset: Z.value
@@ -898,36 +910,36 @@ var Qe = /* @__PURE__ */ e({ default: () => kt }), $e = ["id"], et = ["id"], tt
898
910
  dataset: Z.value
899
911
  }));
900
912
  }
901
- let $ = f(() => Ln.value.flatMap((e) => e.donut.filter((e) => !e.ghost)));
902
- function vr() {
903
- M.value = null, an.value = !0;
913
+ let $ = f(() => Bn.value.flatMap((e) => e.donut.filter((e) => !e.ghost)));
914
+ function xr() {
915
+ M.value = null, on.value = !0;
904
916
  }
905
- function yr() {
906
- M.value = null, rn.value = "pointer", Vt.value = !1, zn.value = null, Ut.value = null, Bn.value = null, Vn.value = null, an.value = !1;
917
+ function Sr() {
918
+ M.value = null, an.value = "pointer", Ht.value = !1, Hn.value = null, Wt.value = null, Un.value = null, Wn.value = null, on.value = !1;
907
919
  }
908
- function br(e) {
909
- if (!H.value || nr.value || document.activeElement !== H.value || !$.value.length) return;
920
+ function Cr(e) {
921
+ if (!H.value || ar.value || document.activeElement !== H.value || !$.value.length) return;
910
922
  let t = ["ArrowLeft", "ArrowUp"].includes(e.key), n = ["ArrowRight", "ArrowDown"].includes(e.key), r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
911
923
  if (!t && !n && !r && !i) return;
912
924
  if (e.preventDefault(), e.stopPropagation(), i) {
913
- M.value = null, rn.value = "pointer", Vt.value = !1, zn.value = null, Ut.value = null, Bn.value = null, Vn.value = null;
925
+ M.value = null, an.value = "pointer", Ht.value = !1, Hn.value = null, Wt.value = null, Un.value = null, Wn.value = null;
914
926
  return;
915
927
  }
916
928
  if (r) {
917
929
  if (M.value === null) return;
918
930
  let e = $.value[M.value];
919
931
  if (!e) return;
920
- En({
932
+ kn({
921
933
  datapoint: e,
922
934
  index: M.value,
923
935
  seriesIndex: e.seriesIndex
924
936
  });
925
937
  return;
926
938
  }
927
- let a = M.value, o = Vn.value, s = a !== null && a >= 0 && a < $.value.length, ee = o !== null && o >= 0 && o < $.value.length;
939
+ let a = M.value, o = Wn.value, s = a !== null && a >= 0 && a < $.value.length, ee = o !== null && o >= 0 && o < $.value.length;
928
940
  s ? n ? (a += 1, a >= $.value.length && (a = 0)) : t && (--a, a < 0 && (a = $.value.length - 1)) : ee ? (a = n ? o + 1 : o - 1, a >= $.value.length && (a = 0), a < 0 && (a = $.value.length - 1)) : a = n ? 0 : $.value.length - 1;
929
941
  let c = $.value[a];
930
- c && (M.value = a, xr(), Gn({
942
+ c && (M.value = a, wr(), Jn({
931
943
  datapoint: c,
932
944
  relativeIndex: a,
933
945
  seriesIndex: c.seriesIndex,
@@ -935,52 +947,52 @@ var Qe = /* @__PURE__ */ e({ default: () => kt }), $e = ["id"], et = ["id"], tt
935
947
  triggerMode: "keyboard"
936
948
  }));
937
949
  }
938
- function xr() {
950
+ function wr() {
939
951
  if (!H.value) return;
940
952
  let e = H.value.getBoundingClientRect();
941
- nn.value = {
953
+ rn.value = {
942
954
  x: e.left + e.width / 2,
943
955
  y: e.top + e.height / 2
944
956
  };
945
957
  }
946
- let Sr = f(() => ({
947
- headers: Zn.value?.colNames ?? [],
948
- rows: Zn.value?.a11yBody ?? []
958
+ let Tr = f(() => ({
959
+ headers: er.value?.colNames ?? [],
960
+ rows: er.value?.a11yBody ?? []
949
961
  }));
950
- return Te({
951
- autoSize: or,
952
- getData: Qn,
953
- getImage: ir,
954
- generatePdf: Sn,
955
- generateCsv: Xn,
956
- generateImage: Cn,
957
- generateSvg: hr,
958
- hideSeries: Pn,
959
- showSeries: Nn,
960
- toggleTable: $n,
961
- toggleLabels: er,
962
- toggleTooltip: tr,
963
- toggleAnnotator: rr,
964
- toggleFullscreen: on,
965
- copyAlt: _r
962
+ return Ee({
963
+ autoSize: lr,
964
+ getData: tr,
965
+ getImage: sr,
966
+ generatePdf: Tn,
967
+ generateCsv: $n,
968
+ generateImage: En,
969
+ generateSvg: vr,
970
+ hideSeries: Ln,
971
+ showSeries: In,
972
+ toggleTable: nr,
973
+ toggleLabels: rr,
974
+ toggleTooltip: ir,
975
+ toggleAnnotator: or,
976
+ toggleFullscreen: sn,
977
+ copyAlt: br
966
978
  }), (e, t) => (b(), h("div", {
967
979
  ref_key: "nestedDonutsChart",
968
980
  ref: k,
969
- class: He(`vue-data-ui-component vue-ui-nested-donuts ${N.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${P.value.useCssAnimation ? "" : "vue-ui-dna"}`),
970
- style: Ue(`font-family:${P.value.style.fontFamily};width:100%; text-align:center;background:${z.value.backgroundColor}`),
981
+ class: Ue(`vue-data-ui-component vue-ui-nested-donuts ${N.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${P.value.useCssAnimation ? "" : "vue-ui-dna"}`),
982
+ style: We(`font-family:${P.value.style.fontFamily};width:100%; text-align:center;background:${z.value.backgroundColor}`),
971
983
  id: `nested_donuts_${O.value}`,
972
- onMouseenter: t[2] ||= () => T(fn)(!0),
973
- onMouseleave: t[3] ||= () => T(fn)(!1)
984
+ onMouseenter: t[2] ||= () => T(pn)(!0),
985
+ onMouseleave: t[3] ||= () => T(pn)(!1)
974
986
  }, [
975
987
  g("div", {
976
988
  id: `chart-instructions-${O.value}`,
977
989
  class: "sr-only"
978
- }, [g("p", null, w(P.value.a11y.translations.keyboardNavigation), 1)], 8, et),
979
- Sr.value?.rows?.length ? (b(), p(Ae, {
990
+ }, [g("p", null, w(P.value.a11y.translations.keyboardNavigation), 1)], 8, tt),
991
+ Tr.value?.rows?.length ? (b(), p(je, {
980
992
  key: 0,
981
993
  uid: O.value,
982
- head: Sr.value.headers,
983
- body: Sr.value.rows,
994
+ head: Tr.value.headers,
995
+ body: Tr.value.rows,
984
996
  notice: P.value.a11y.translations.tableAvailable,
985
997
  caption: P.value.a11y.translations.tableCaption
986
998
  }, null, 8, [
@@ -990,15 +1002,15 @@ var Qe = /* @__PURE__ */ e({ default: () => kt }), $e = ["id"], et = ["id"], tt
990
1002
  "notice",
991
1003
  "caption"
992
1004
  ])) : m("", !0),
993
- L.value.buttons.annotator ? (b(), p(T(Pt), {
1005
+ L.value.buttons.annotator ? (b(), p(T(Ft), {
994
1006
  key: 1,
995
1007
  svgRef: T(H),
996
1008
  backgroundColor: z.value.backgroundColor,
997
1009
  color: z.value.color,
998
- active: nr.value,
1010
+ active: ar.value,
999
1011
  isCursorPointer: B.value,
1000
1012
  palette: L.value.annotatorPalette,
1001
- onClose: rr
1013
+ onClose: or
1002
1014
  }, {
1003
1015
  "annotator-action-close": E(() => [C(e.$slots, "annotator-action-close", {}, void 0, !0)]),
1004
1016
  "annotator-action-color": E(({ color: t }) => [C(e.$slots, "annotator-action-color", y(v({ color: t })), void 0, !0)]),
@@ -1015,19 +1027,19 @@ var Qe = /* @__PURE__ */ e({ default: () => kt }), $e = ["id"], et = ["id"], tt
1015
1027
  "isCursorPointer",
1016
1028
  "palette"
1017
1029
  ])) : m("", !0),
1018
- wn.value ? (b(), h("div", {
1030
+ Dn.value ? (b(), h("div", {
1019
1031
  key: 2,
1020
1032
  ref_key: "noTitle",
1021
- ref: Jt,
1033
+ ref: Yt,
1022
1034
  class: "vue-data-ui-no-title-space",
1023
1035
  style: "height:36px; width: 100%;background:transparent"
1024
1036
  }, null, 512)) : m("", !0),
1025
1037
  z.value.title.text ? (b(), h("div", {
1026
1038
  key: 3,
1027
1039
  ref_key: "chartTitle",
1028
- ref: Gt
1029
- }, [(b(), p(we, {
1030
- key: `title_${Yt.value}`,
1040
+ ref: Kt
1041
+ }, [(b(), p(Te, {
1042
+ key: `title_${Xt.value}`,
1031
1043
  config: {
1032
1044
  title: {
1033
1045
  cy: "donut-div-title",
@@ -1039,15 +1051,15 @@ var Qe = /* @__PURE__ */ e({ default: () => kt }), $e = ["id"], et = ["id"], tt
1039
1051
  }
1040
1052
  }
1041
1053
  }, null, 8, ["config"]))], 512)) : m("", !0),
1042
- g("div", { id: `legend-top-${O.value}` }, null, 8, tt),
1043
- L.value.show && Bt.value && (T(pn) || T(dn)) ? (b(), p(T(Nt), {
1054
+ g("div", { id: `legend-top-${O.value}` }, null, 8, nt),
1055
+ L.value.show && Vt.value && (T(mn) || T(fn)) ? (b(), p(T(Pt), {
1044
1056
  ref_key: "userOptionsRef",
1045
- ref: tn,
1046
- key: `user_option_${Wt.value}`,
1057
+ ref: nn,
1058
+ key: `user_option_${Gt.value}`,
1047
1059
  backgroundColor: z.value.backgroundColor,
1048
1060
  color: z.value.color,
1049
- isPrinting: T(bn),
1050
- isImaging: T(xn),
1061
+ isPrinting: T(Cn),
1062
+ isImaging: T(wn),
1051
1063
  uid: O.value,
1052
1064
  hasTooltip: L.value.buttons.tooltip && I.value.show,
1053
1065
  hasPdf: L.value.buttons.pdf,
@@ -1064,23 +1076,23 @@ var Qe = /* @__PURE__ */ e({ default: () => kt }), $e = ["id"], et = ["id"], tt
1064
1076
  chartElement: k.value,
1065
1077
  position: L.value.position,
1066
1078
  hasAnnotator: L.value.buttons.annotator,
1067
- isAnnotation: nr.value,
1079
+ isAnnotation: ar.value,
1068
1080
  callbacks: L.value.callbacks,
1069
1081
  printScale: L.value.print.scale,
1070
1082
  tableDialog: P.value.table.useDialog,
1071
1083
  isCursorPointer: B.value,
1072
- onToggleFullscreen: on,
1073
- onGeneratePdf: T(Sn),
1074
- onGenerateCsv: Xn,
1075
- onGenerateImage: T(gr),
1076
- onGenerateSvg: T(hr),
1077
- onToggleTable: $n,
1078
- onToggleLabels: er,
1079
- onToggleTooltip: tr,
1080
- onToggleAnnotator: rr,
1081
- onCopyAlt: _r,
1082
- style: Ue({ visibility: T(pn) ? T(dn) ? "visible" : "hidden" : "visible" })
1083
- }, Le({ _: 2 }, [
1084
+ onToggleFullscreen: sn,
1085
+ onGeneratePdf: T(Tn),
1086
+ onGenerateCsv: $n,
1087
+ onGenerateImage: T(yr),
1088
+ onGenerateSvg: T(vr),
1089
+ onToggleTable: nr,
1090
+ onToggleLabels: rr,
1091
+ onToggleTooltip: ir,
1092
+ onToggleAnnotator: or,
1093
+ onCopyAlt: br,
1094
+ style: We({ visibility: T(mn) ? T(fn) ? "visible" : "hidden" : "visible" })
1095
+ }, Re({ _: 2 }, [
1084
1096
  e.$slots.menuIcon ? {
1085
1097
  name: "menuIcon",
1086
1098
  fn: E(({ isOpen: t, color: n }) => [C(e.$slots, "menuIcon", y(v({
@@ -1156,28 +1168,28 @@ var Qe = /* @__PURE__ */ e({ default: () => kt }), $e = ["id"], et = ["id"], tt
1156
1168
  key: "12"
1157
1169
  } : void 0
1158
1170
  ]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasTooltip.hasPdf.hasXls.hasImg.hasSvg.hasTable.hasLabel.hasFullscreen.hasAltCopy.isFullscreen.isTooltip.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.onGenerateImage.onGenerateSvg.style".split("."))) : m("", !0),
1159
- g("div", nt, [(b(), h("svg", {
1171
+ g("div", rt, [(b(), h("svg", {
1160
1172
  ref_key: "svgRef",
1161
1173
  ref: H,
1162
- xmlns: T(de),
1174
+ xmlns: T(fe),
1163
1175
  "aria-describedby": `chart-instructions-${O.value}`,
1164
- class: He({
1176
+ class: Ue({
1165
1177
  "vue-data-ui-fullscreen--on": N.value,
1166
1178
  "vue-data-ui-fulscreen--off": !N.value,
1167
1179
  "vue-data-ui-svg": !0
1168
1180
  }),
1169
1181
  viewBox: `0 0 ${K.value.width <= 0 ? .001 : K.value.width} ${K.value.height < 0 ? .001 : K.value.height}`,
1170
- style: Ue(`max-width:100%; overflow: visible; background:transparent;color:${z.value.color};${hn.value.css}`),
1182
+ style: We(`max-width:100%; overflow: visible; background:transparent;color:${z.value.color};${vn.value.css}`),
1171
1183
  tabindex: "0",
1172
- onFocus: vr,
1173
- onBlur: yr,
1174
- onKeydown: br
1184
+ onFocus: xr,
1185
+ onBlur: Sr,
1186
+ onKeydown: Cr
1175
1187
  }, [g("g", {
1176
1188
  ref_key: "G",
1177
- ref: ar,
1189
+ ref: cr,
1178
1190
  class: "vue-data-ui-g"
1179
1191
  }, [
1180
- ze(T(Ft)),
1192
+ Be(T(It)),
1181
1193
  e.$slots["chart-background"] ? (b(), h("foreignObject", {
1182
1194
  key: 0,
1183
1195
  x: 0,
@@ -1185,8 +1197,8 @@ var Qe = /* @__PURE__ */ e({ default: () => kt }), $e = ["id"], et = ["id"], tt
1185
1197
  width: K.value.width <= 0 ? .001 : K.value.width,
1186
1198
  height: K.value.height < 0 ? .001 : K.value.height,
1187
1199
  style: { pointerEvents: "none" }
1188
- }, [C(e.$slots, "chart-background", {}, void 0, !0)], 8, it)) : m("", !0),
1189
- g("defs", null, [(b(!0), h(d, null, S(Rn.value, (e, t) => (b(), p(Oe, {
1200
+ }, [C(e.$slots, "chart-background", {}, void 0, !0)], 8, at)) : m("", !0),
1201
+ g("defs", null, [(b(!0), h(d, null, S(Vn.value, (e, t) => (b(), p(ke, {
1190
1202
  t: "radial",
1191
1203
  id: `radial_${O.value}_${t}`,
1192
1204
  key: `radial_${O.value}_${t}`,
@@ -1197,12 +1209,12 @@ var Qe = /* @__PURE__ */ e({ default: () => kt }), $e = ["id"], et = ["id"], tt
1197
1209
  0
1198
1210
  ],
1199
1211
  [
1200
- `${(1 - Fn.value / In.value[t]) * 100}%`,
1212
+ `${(1 - Rn.value / zn.value[t]) * 100}%`,
1201
1213
  T(c)("#FFFFFF", 0),
1202
1214
  0
1203
1215
  ],
1204
1216
  [
1205
- `${(1 - Fn.value / In.value[t] / 2) * 100}%`,
1217
+ `${(1 - Rn.value / zn.value[t] / 2) * 100}%`,
1206
1218
  "#FFFFFF",
1207
1219
  z.value.gradientIntensity / 100
1208
1220
  ],
@@ -1223,10 +1235,10 @@ var Qe = /* @__PURE__ */ e({ default: () => kt }), $e = ["id"], et = ["id"], tt
1223
1235
  in: "SourceGraphic",
1224
1236
  stdDeviation: 2,
1225
1237
  id: `blur_std_${O.value}`
1226
- }, null, 8, ot), t[4] ||= g("feColorMatrix", {
1238
+ }, null, 8, st), t[4] ||= g("feColorMatrix", {
1227
1239
  type: "saturate",
1228
1240
  values: "0"
1229
- }, null, -1)], 8, at), g("filter", {
1241
+ }, null, -1)], 8, ot), g("filter", {
1230
1242
  id: `shadow_${O.value}`,
1231
1243
  "color-interpolation-filters": "sRGB"
1232
1244
  }, [g("feDropShadow", {
@@ -1235,34 +1247,34 @@ var Qe = /* @__PURE__ */ e({ default: () => kt }), $e = ["id"], et = ["id"], tt
1235
1247
  stdDeviation: "10",
1236
1248
  "flood-opacity": "0.5",
1237
1249
  "flood-color": R.value.donut.shadowColor
1238
- }, null, 8, ct)], 8, st)]),
1239
- g("defs", null, [(b(!0), h(d, null, S(Ln.value, (e, t) => (b(), h("path", {
1250
+ }, null, 8, lt)], 8, ct)]),
1251
+ g("defs", null, [(b(!0), h(d, null, S(Bn.value, (e, t) => (b(), h("path", {
1240
1252
  key: `path-full-${t}`,
1241
1253
  id: `path-full-${t}-${O.value}`,
1242
1254
  d: e.fullCirclePath,
1243
1255
  fill: "none"
1244
- }, null, 8, lt))), 128))]),
1245
- (b(!0), h(d, null, S(Ln.value, (e, t) => (b(), h("g", null, [e.hasData ? (b(!0), h(d, { key: 0 }, S(e.donut.filter((e) => !e.ghost), (e, t) => (b(), h("g", null, [g("path", {
1256
+ }, null, 8, ut))), 128))]),
1257
+ (b(!0), h(d, null, S(Bn.value, (e, t) => (b(), h("g", null, [e.hasData ? (b(!0), h(d, { key: 0 }, S(e.donut.filter((e) => !e.ghost), (e, t) => (b(), h("g", null, [g("path", {
1246
1258
  class: "vue-ui-donut-arc-path",
1247
1259
  d: e.arcSlice,
1248
1260
  fill: e.color,
1249
1261
  stroke: R.value.donut.borderColorAuto ? z.value.backgroundColor : R.value.donut.borderColor,
1250
1262
  "stroke-width": R.value.donut.borderWidth,
1251
- filter: qn(e, t)
1252
- }, null, 8, ut)]))), 256)) : (b(!0), h(d, { key: 1 }, S(e.skeleton, (e, t) => (b(), h("g", null, [g("path", {
1263
+ filter: Xn(e, t)
1264
+ }, null, 8, dt)]))), 256)) : (b(!0), h(d, { key: 1 }, S(e.skeleton, (e, t) => (b(), h("g", null, [g("path", {
1253
1265
  class: "vue-ui-donut-arc-path",
1254
1266
  d: e.arcSlice,
1255
1267
  fill: e.color,
1256
1268
  stroke: R.value.donut.borderColorAuto ? z.value.backgroundColor : R.value.donut.borderColor,
1257
1269
  "stroke-width": R.value.donut.borderWidth
1258
- }, null, 8, dt)]))), 256))]))), 256)),
1259
- z.value.useGradient ? (b(), h("g", ft, [(b(!0), h(d, null, S(Rn.value, (e, t) => (b(), h("g", null, [g("path", {
1270
+ }, null, 8, ft)]))), 256))]))), 256)),
1271
+ z.value.useGradient ? (b(), h("g", pt, [(b(!0), h(d, null, S(Vn.value, (e, t) => (b(), h("g", null, [g("path", {
1260
1272
  d: e.donut.arcSlice,
1261
1273
  fill: `url(#radial_${O.value}_${t})`,
1262
1274
  stroke: "transparent",
1263
1275
  "stroke-width": "0"
1264
- }, null, 8, pt)]))), 256))])) : m("", !0),
1265
- F.value.dataLabels.showDonutName ? (b(), h("g", mt, [F.value.dataLabels.curvedDonutName ? (b(!0), h(d, { key: 0 }, S(Ln.value, (e, t) => (b(), h("g", null, [(b(!0), h(d, null, S(e.donut, (n, r) => (b(), h("g", null, [r === 0 && K.value.width && K.value.height ? (b(), h("text", {
1276
+ }, null, 8, mt)]))), 256))])) : m("", !0),
1277
+ F.value.dataLabels.showDonutName ? (b(), h("g", ht, [F.value.dataLabels.curvedDonutName ? (b(!0), h(d, { key: 0 }, S(Bn.value, (e, t) => (b(), h("g", null, [(b(!0), h(d, null, S(e.donut, (n, r) => (b(), h("g", null, [r === 0 && K.value.width && K.value.height ? (b(), h("text", {
1266
1278
  key: 0,
1267
1279
  "text-anchor": "middle",
1268
1280
  "font-size": R.value.labels.dataLabels.fontSize,
@@ -1275,10 +1287,10 @@ var Qe = /* @__PURE__ */ e({ default: () => kt }), $e = ["id"], et = ["id"], tt
1275
1287
  "text-anchor": "middle",
1276
1288
  method: "align",
1277
1289
  spacing: "auto"
1278
- }, w(R.value.labels.dataLabels.donutNameAbbreviation ? T(se)({
1290
+ }, w(R.value.labels.dataLabels.donutNameAbbreviation ? T(ce)({
1279
1291
  source: e.name,
1280
1292
  length: P.value.style.chart.layout.labels.dataLabels.donutNameMaxAbbreviationSize
1281
- }) : e.name), 9, gt)], 8, ht)) : m("", !0)]))), 256))]))), 256)) : (b(!0), h(d, { key: 1 }, S(Ln.value, (e, t) => (b(), h("g", null, [(b(!0), h(d, null, S(e.donut, (t, n) => (b(), h("g", null, [n === 0 && K.value.width && K.value.height ? (b(), h("text", {
1293
+ }) : e.name), 9, _t)], 8, gt)) : m("", !0)]))), 256))]))), 256)) : (b(!0), h(d, { key: 1 }, S(Bn.value, (e, t) => (b(), h("g", null, [(b(!0), h(d, null, S(e.donut, (t, n) => (b(), h("g", null, [n === 0 && K.value.width && K.value.height ? (b(), h("text", {
1282
1294
  key: 0,
1283
1295
  x: K.value.width / 2,
1284
1296
  y: t.startY - R.value.labels.dataLabels.fontSize + R.value.labels.dataLabels.donutNameOffsetY,
@@ -1286,15 +1298,15 @@ var Qe = /* @__PURE__ */ e({ default: () => kt }), $e = ["id"], et = ["id"], tt
1286
1298
  "font-size": R.value.labels.dataLabels.fontSize,
1287
1299
  "font-weight": R.value.labels.dataLabels.boldDonutName ? "bold" : "normal",
1288
1300
  fill: R.value.labels.dataLabels.color
1289
- }, w(R.value.labels.dataLabels.donutNameAbbreviation ? T(se)({
1301
+ }, w(R.value.labels.dataLabels.donutNameAbbreviation ? T(ce)({
1290
1302
  source: e.name,
1291
1303
  length: P.value.style.chart.layout.labels.dataLabels.donutNameMaxAbbreviationSize
1292
- }) : e.name), 9, _t)) : m("", !0)]))), 256))]))), 256))])) : m("", !0),
1293
- F.value.dataLabels.show ? (b(), h("g", vt, [(b(!0), h(d, null, S(Ln.value, (e, t) => (b(), h("g", null, [(b(!0), h(d, null, S(e.donut.filter((e) => !e.ghost), (e, n) => (b(), h("g", { filter: qn(e, n) }, [Ze(g("text", {
1294
- opacity: +!!Kn(e),
1295
- "text-anchor": T(ie)(e, !0).anchor,
1296
- x: T(ie)(e, !1, R.value.labels.dataLabels.offsetX).x || 0,
1297
- y: T(le)(e, R.value.labels.dataLabels.offsetY, R.value.labels.dataLabels.offsetY) + (F.value.dataLabels.showValueFirst && F.value.dataLabels.showValue ? R.value.labels.dataLabels.fontSize : 0),
1304
+ }) : e.name), 9, vt)) : m("", !0)]))), 256))]))), 256))])) : m("", !0),
1305
+ F.value.dataLabels.show ? (b(), h("g", yt, [(b(!0), h(d, null, S(Bn.value, (e, t) => (b(), h("g", null, [(b(!0), h(d, null, S(e.donut.filter((e) => !e.ghost), (e, n) => (b(), h("g", { filter: Xn(e, n) }, [Qe(g("text", {
1306
+ opacity: +!!Yn(e),
1307
+ "text-anchor": T(ae)(e, !0).anchor,
1308
+ x: T(ae)(e, !1, R.value.labels.dataLabels.offsetX).x || 0,
1309
+ y: T(ue)(e, R.value.labels.dataLabels.offsetY, R.value.labels.dataLabels.offsetY) + (F.value.dataLabels.showValueFirst && F.value.dataLabels.showValue ? R.value.labels.dataLabels.fontSize : 0),
1298
1310
  fill: F.value.dataLabels.useSerieColor ? e.color : R.value.labels.dataLabels.color,
1299
1311
  "font-size": F.value.dataLabels.fontSize,
1300
1312
  "font-weight": F.value.dataLabels.boldPercentage ? "bold" : "normal"
@@ -1302,15 +1314,15 @@ var Qe = /* @__PURE__ */ e({ default: () => kt }), $e = ["id"], et = ["id"], tt
1302
1314
  v: e.proportion * 100,
1303
1315
  s: "%",
1304
1316
  r: z.value.layout.labels.dataLabels.roundingPercentage
1305
- }), R.value.labels.dataLabels.usePercentageParens ? "(" : "", R.value.labels.dataLabels.usePercentageParens ? ")" : "")), 9, bt), [[Ye, G.value.dataLabels.show && F.value.dataLabels.showPercentage]]), Ze(g("text", {
1306
- opacity: +!!Kn(e),
1307
- "text-anchor": T(ie)(e, !0).anchor,
1308
- x: T(ie)(e, !1, R.value.labels.dataLabels.offsetX).x || 0,
1309
- y: T(le)(e, R.value.labels.dataLabels.offsetY, R.value.labels.dataLabels.offsetY) + (F.value.dataLabels.showValueFirst || !F.value.dataLabels.showPercentage ? 0 : R.value.labels.dataLabels.fontSize),
1317
+ }), R.value.labels.dataLabels.usePercentageParens ? "(" : "", R.value.labels.dataLabels.usePercentageParens ? ")" : "")), 9, xt), [[Xe, G.value.dataLabels.show && F.value.dataLabels.showPercentage]]), Qe(g("text", {
1318
+ opacity: +!!Yn(e),
1319
+ "text-anchor": T(ae)(e, !0).anchor,
1320
+ x: T(ae)(e, !1, R.value.labels.dataLabels.offsetX).x || 0,
1321
+ y: T(ue)(e, R.value.labels.dataLabels.offsetY, R.value.labels.dataLabels.offsetY) + (F.value.dataLabels.showValueFirst || !F.value.dataLabels.showPercentage ? 0 : R.value.labels.dataLabels.fontSize),
1310
1322
  fill: F.value.dataLabels.useSerieColor ? e.color : R.value.labels.dataLabels.color,
1311
1323
  "font-size": F.value.dataLabels.fontSize,
1312
1324
  "font-weight": F.value.dataLabels.boldValue ? "bold" : "normal"
1313
- }, w(T(s)(T(ae)(R.value.labels.dataLabels.formatter, e.value, T(u)({
1325
+ }, w(T(s)(T(oe)(R.value.labels.dataLabels.formatter, e.value, T(u)({
1314
1326
  p: z.value.layout.labels.dataLabels.prefix,
1315
1327
  v: e.value,
1316
1328
  s: z.value.layout.labels.dataLabels.suffix,
@@ -1319,38 +1331,38 @@ var Qe = /* @__PURE__ */ e({ default: () => kt }), $e = ["id"], et = ["id"], tt
1319
1331
  datapoint: e,
1320
1332
  seriesIndex: t,
1321
1333
  datapointIndex: n
1322
- }), R.value.labels.dataLabels.useValueParens ? "(" : "", R.value.labels.dataLabels.useValueParens ? ")" : "")), 9, xt), [[Ye, G.value.dataLabels.show && F.value.dataLabels.showValue]])], 8, yt))), 256))]))), 256))])) : m("", !0),
1323
- (b(!0), h(d, null, S(Ln.value, (e, t) => (b(), h("g", null, [(b(!0), h(d, null, S(e.donut, (e, t) => (b(), h("g", null, [g("path", {
1334
+ }), R.value.labels.dataLabels.useValueParens ? "(" : "", R.value.labels.dataLabels.useValueParens ? ")" : "")), 9, St), [[Xe, G.value.dataLabels.show && F.value.dataLabels.showValue]])], 8, bt))), 256))]))), 256))])) : m("", !0),
1335
+ (b(!0), h(d, null, S(Bn.value, (e, t) => (b(), h("g", null, [(b(!0), h(d, null, S(e.donut, (e, t) => (b(), h("g", null, [g("path", {
1324
1336
  d: e.arcSlice,
1325
- fill: Ut.value === e.id ? R.value.donut.selectedColor : "transparent",
1326
- onMouseenter: (t) => Gn({
1337
+ fill: Wt.value === e.id ? R.value.donut.selectedColor : "transparent",
1338
+ onMouseenter: (t) => Jn({
1327
1339
  datapoint: e,
1328
1340
  relativeIndex: $.value.findIndex((t) => t.id === e.id),
1329
1341
  seriesIndex: e.seriesIndex
1330
1342
  }),
1331
- onClick: (n) => En({
1343
+ onClick: (n) => kn({
1332
1344
  datapoint: e,
1333
1345
  index: t,
1334
1346
  seriesIndex: e.seriesIndex
1335
1347
  }),
1336
- onMouseleave: (t) => Un({
1348
+ onMouseleave: (t) => Kn({
1337
1349
  datapoint: e,
1338
1350
  seriesIndex: e.seriesIndex
1339
1351
  })
1340
- }, null, 40, St)]))), 256))]))), 256)),
1352
+ }, null, 40, Ct)]))), 256))]))), 256)),
1341
1353
  C(e.$slots, "svg", { svg: {
1342
1354
  ...K.value,
1343
- isPrintingImg: T(bn) || T(xn) || T(pr),
1344
- isPrintingSvg: T(mr)
1355
+ isPrintingImg: T(Cn) || T(wn) || T(gr),
1356
+ isPrintingSvg: T(_r)
1345
1357
  } }, void 0, !0)
1346
- ], 512)], 46, rt)), e.$slots.hint ? (b(), h("div", Ct, [C(e.$slots, "hint", y(v({
1358
+ ], 512)], 46, it)), e.$slots.hint ? (b(), h("div", wt, [C(e.$slots, "hint", y(v({
1347
1359
  hint: P.value.a11y.translations.keyboardNavigation,
1348
- isVisible: an.value
1360
+ isVisible: on.value
1349
1361
  })), void 0, !0)])) : m("", !0)]),
1350
- e.$slots.watermark ? (b(), h("div", wt, [C(e.$slots, "watermark", y(v({ isPrinting: T(bn) || T(xn) || T(pr) || T(mr) })), void 0, !0)])) : m("", !0),
1351
- ze(T(kt), {
1362
+ e.$slots.watermark ? (b(), h("div", Tt, [C(e.$slots, "watermark", y(v({ isPrinting: T(Cn) || T(wn) || T(gr) || T(_r) })), void 0, !0)])) : m("", !0),
1363
+ Be(T(At), {
1352
1364
  teleportTo: I.value.teleportTo,
1353
- show: G.value.showTooltip && Vt.value,
1365
+ show: G.value.showTooltip && Ht.value,
1354
1366
  backgroundColor: I.value.backgroundColor,
1355
1367
  color: I.value.color,
1356
1368
  borderRadius: I.value.borderRadius,
@@ -1362,19 +1374,19 @@ var Qe = /* @__PURE__ */ e({ default: () => kt }), $e = ["id"], et = ["id"], tt
1362
1374
  offsetX: I.value.offsetX,
1363
1375
  offsetY: I.value.offsetY,
1364
1376
  parent: k.value,
1365
- content: Ht.value,
1377
+ content: Ut.value,
1366
1378
  isFullscreen: N.value,
1367
1379
  isCustom: T(n)(I.value.customFormat),
1368
1380
  smooth: I.value.smooth,
1369
1381
  backdropFilter: I.value.backdropFilter,
1370
1382
  smoothForce: I.value.smoothForce,
1371
1383
  smoothSnapThreshold: I.value.smoothSnapThreshold,
1372
- isA11yMode: rn.value === "keyboard",
1373
- a11yPosition: nn.value
1384
+ isA11yMode: an.value === "keyboard",
1385
+ a11yPosition: rn.value
1374
1386
  }, {
1375
- "tooltip-before": E(() => [C(e.$slots, "tooltip-before", y(v({ ...Hn.value })), void 0, !0)]),
1376
- tooltip: E(() => [C(e.$slots, "tooltip", y(v({ ...Hn.value })), void 0, !0)]),
1377
- "tooltip-after": E(() => [C(e.$slots, "tooltip-after", y(v({ ...Hn.value })), void 0, !0)]),
1387
+ "tooltip-before": E(() => [C(e.$slots, "tooltip-before", y(v({ ...Gn.value })), void 0, !0)]),
1388
+ tooltip: E(() => [C(e.$slots, "tooltip", y(v({ ...Gn.value })), void 0, !0)]),
1389
+ "tooltip-after": E(() => [C(e.$slots, "tooltip-after", y(v({ ...Gn.value })), void 0, !0)]),
1378
1390
  _: 3
1379
1391
  }, 8, [
1380
1392
  "teleportTo",
@@ -1400,35 +1412,35 @@ var Qe = /* @__PURE__ */ e({ default: () => kt }), $e = ["id"], et = ["id"], tt
1400
1412
  "isA11yMode",
1401
1413
  "a11yPosition"
1402
1414
  ]),
1403
- g("div", { id: `legend-bottom-${O.value}` }, null, 8, Tt),
1404
- $t.value && (z.value.legend.show || e.$slots.legend) ? (b(), p(Ie, {
1415
+ g("div", { id: `legend-bottom-${O.value}` }, null, 8, Et),
1416
+ en.value && (z.value.legend.show || e.$slots.legend) ? (b(), p(Le, {
1405
1417
  key: 6,
1406
1418
  to: z.value.legend.position === "top" ? `#legend-top-${O.value}` : `#legend-bottom-${O.value}`
1407
1419
  }, [z.value.legend.show ? (b(), h("div", {
1408
1420
  key: 0,
1409
1421
  ref_key: "chartLegend",
1410
- ref: Kt,
1411
- class: He({ "vue-ui-nested-donuts-legend": Jn.value.length > 1 })
1412
- }, [C(e.$slots, "legend", { legend: Jn.value }, () => [(b(!0), h(d, null, S(Jn.value, (e, n) => (b(), p(Pe, {
1413
- key: `legend_${n}_${Zt.value}`,
1422
+ ref: qt,
1423
+ class: Ue({ "vue-ui-nested-donuts-legend": Zn.value.length > 1 })
1424
+ }, [C(e.$slots, "legend", { legend: Zn.value }, () => [(b(!0), h(d, null, S(Zn.value, (e, n) => (b(), p(Fe, {
1425
+ key: `legend_${n}_${Qt.value}`,
1414
1426
  legendSet: e,
1415
- config: Yn.value,
1427
+ config: Qn.value,
1416
1428
  isCursorPointer: B.value,
1417
- onClickMarker: t[0] ||= ({ legend: e }) => jn(e)
1429
+ onClickMarker: t[0] ||= ({ legend: e }) => Pn(e)
1418
1430
  }, {
1419
- legendTitle: E(({ titleSet: e }) => [e[0] && e[0].arcOf ? (b(), h("div", Et, w(e[0].arcOf), 1)) : m("", !0)]),
1431
+ legendTitle: E(({ titleSet: e }) => [e[0] && e[0].arcOf ? (b(), h("div", Dt, w(e[0].arcOf), 1)) : m("", !0)]),
1420
1432
  item: E(({ legend: e, index: t }) => [g("div", {
1421
- onClick: (t) => jn(e),
1422
- style: Ue(`opacity:${J.value.includes(e.id) ? .5 : 1}`)
1423
- }, w(e.display), 13, Dt)]),
1424
- legendToggle: E(() => [e.length > 2 && z.value.legend.selectAllToggle.show && !T(ln) ? (b(), p(ke, {
1433
+ onClick: (t) => Pn(e),
1434
+ style: We(`opacity:${J.value.includes(e.id) ? .5 : 1}`)
1435
+ }, w(e.display), 13, Ot)]),
1436
+ legendToggle: E(() => [e.length > 2 && z.value.legend.selectAllToggle.show && !T(un) ? (b(), p(Ae, {
1425
1437
  key: `toggle-${n}`,
1426
1438
  backgroundColor: z.value.legend.selectAllToggle.backgroundColor,
1427
1439
  color: z.value.legend.selectAllToggle.color,
1428
1440
  fontSize: z.value.legend.fontSize,
1429
1441
  checked: e.some((e) => J.value.includes(e.id)),
1430
1442
  isCursorPointer: B.value,
1431
- onToggle: (t) => An(e)
1443
+ onToggle: (t) => Nn(e)
1432
1444
  }, null, 8, [
1433
1445
  "backgroundColor",
1434
1446
  "color",
@@ -1446,27 +1458,27 @@ var Qe = /* @__PURE__ */ e({ default: () => kt }), $e = ["id"], et = ["id"], tt
1446
1458
  e.$slots.source ? (b(), h("div", {
1447
1459
  key: 7,
1448
1460
  ref_key: "source",
1449
- ref: qt,
1461
+ ref: Jt,
1450
1462
  dir: "auto"
1451
1463
  }, [C(e.$slots, "source", {}, void 0, !0)], 512)) : m("", !0),
1452
- Bt.value && L.value.buttons.table ? (b(), p(Ke(sr.value.component), Be({ key: 8 }, sr.value.props, {
1464
+ Vt.value && L.value.buttons.table ? (b(), p(qe(ur.value.component), Ve({ key: 8 }, ur.value.props, {
1453
1465
  ref_key: "tableUnit",
1454
- ref: en,
1455
- onClose: cr
1456
- }), Le({
1457
- content: E(() => [(b(), p(T(Mt), {
1458
- key: `table_${Xt.value}`,
1459
- colNames: Zn.value.colNames,
1460
- head: Zn.value.head,
1461
- body: Zn.value.body,
1462
- config: Zn.value.config,
1463
- title: P.value.table.useDialog ? "" : sr.value.title,
1466
+ ref: tn,
1467
+ onClose: dr
1468
+ }), Re({
1469
+ content: E(() => [(b(), p(T(Nt), {
1470
+ key: `table_${Zt.value}`,
1471
+ colNames: er.value.colNames,
1472
+ head: er.value.head,
1473
+ body: er.value.body,
1474
+ config: er.value.config,
1475
+ title: P.value.table.useDialog ? "" : ur.value.title,
1464
1476
  withCloseButton: !P.value.table.useDialog,
1465
1477
  isCursorPointer: B.value,
1466
- onClose: cr
1478
+ onClose: dr
1467
1479
  }, {
1468
- th: E(({ th: e }) => [g("div", Ot, w(e), 1)]),
1469
- td: E(({ td: e }) => [Re(w(e.name || e), 1)]),
1480
+ th: E(({ th: e }) => [g("div", kt, w(e), 1)]),
1481
+ td: E(({ td: e }) => [ze(w(e.name || e), 1)]),
1470
1482
  _: 1
1471
1483
  }, 8, [
1472
1484
  "colNames",
@@ -1480,24 +1492,24 @@ var Qe = /* @__PURE__ */ e({ default: () => kt }), $e = ["id"], et = ["id"], tt
1480
1492
  _: 2
1481
1493
  }, [P.value.table.useDialog ? {
1482
1494
  name: "title",
1483
- fn: E(() => [Re(w(sr.value.title), 1)]),
1495
+ fn: E(() => [ze(w(ur.value.title), 1)]),
1484
1496
  key: "0"
1485
1497
  } : void 0, P.value.table.useDialog ? {
1486
1498
  name: "actions",
1487
1499
  fn: E(() => [g("button", {
1488
1500
  tabindex: "0",
1489
1501
  class: "vue-ui-user-options-button",
1490
- onClick: t[1] ||= (e) => Xn(L.value.callbacks.csv),
1491
- style: Ue({ cursor: B.value ? "pointer" : "default" })
1492
- }, [ze(T(At), {
1502
+ onClick: t[1] ||= (e) => $n(L.value.callbacks.csv),
1503
+ style: We({ cursor: B.value ? "pointer" : "default" })
1504
+ }, [Be(T(jt), {
1493
1505
  name: "fileCsv",
1494
- stroke: sr.value.props.color
1506
+ stroke: ur.value.props.color
1495
1507
  }, null, 8, ["stroke"])], 4)]),
1496
1508
  key: "1"
1497
1509
  } : void 0]), 1040)) : m("", !0),
1498
- C(e.$slots, "skeleton", {}, () => [T(ln) ? (b(), p(ye, { key: 0 })) : m("", !0)], !0)
1499
- ], 46, $e));
1510
+ C(e.$slots, "skeleton", {}, () => [T(un) ? (b(), p(be, { key: 0 })) : m("", !0)], !0)
1511
+ ], 46, et));
1500
1512
  }
1501
- }, [["__scopeId", "data-v-7c3032b7"]]);
1513
+ }, [["__scopeId", "data-v-b4e92c34"]]);
1502
1514
  //#endregion
1503
- export { Qe as n, kt as t };
1515
+ export { $e as n, At as t };