vue-data-ui 3.19.5 → 3.19.7

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 (207) hide show
  1. package/dist/{BaseDraggableDialog-BQcmQAK5.js → BaseDraggableDialog-DUUu2E2Q.js} +1 -1
  2. package/dist/{BaseIcon-CEmt3Ifx.js → BaseIcon-DM1x8hQF.js} +6 -3
  3. package/dist/{BaseLegendToggle-DUIqQmwM.js → BaseLegendToggle-CJTwLGXL.js} +1 -1
  4. package/dist/{BaseZoomControls-Ce1yqas1.js → BaseZoomControls-BkajQ8q9.js} +1 -1
  5. package/dist/{ColorPicker-DS_QkH3W.js → ColorPicker-DTQeqKUV.js} +1 -1
  6. package/dist/{DataTable-BvDJEAma.js → DataTable-DmE8Oo4i.js} +1 -1
  7. package/dist/{NonSvgPenAndPaper-D4Gh7O43.js → NonSvgPenAndPaper-tvWXeCsd.js} +2 -2
  8. package/dist/{PackageVersion-CGiidfDW.js → PackageVersion-DUU5Aku2.js} +1 -1
  9. package/dist/{PenAndPaper-DwpL8Z0l.js → PenAndPaper-DNgm6y3l.js} +2 -2
  10. package/dist/{Slicer-BlfyiHHD.js → Slicer-CPWGgGSp.js} +1 -1
  11. package/dist/{SlicerPreview-CG1jpZqZ.js → SlicerPreview-BU3ZeHjR.js} +1 -1
  12. package/dist/{UserOptions-DMw8EZEo.js → UserOptions-D7zR0tnR.js} +8 -4
  13. package/dist/components/vue-ui-3d-bar.js +1 -1
  14. package/dist/components/vue-ui-accordion.js +1 -1
  15. package/dist/components/vue-ui-age-pyramid.js +1 -1
  16. package/dist/components/vue-ui-annotator.js +1 -1
  17. package/dist/components/vue-ui-bullet.js +1 -1
  18. package/dist/components/vue-ui-bump.js +1 -1
  19. package/dist/components/vue-ui-candlestick.js +1 -1
  20. package/dist/components/vue-ui-carousel-table.js +1 -1
  21. package/dist/components/vue-ui-chestnut.js +1 -1
  22. package/dist/components/vue-ui-chord.js +1 -1
  23. package/dist/components/vue-ui-circle-pack.js +1 -1
  24. package/dist/components/vue-ui-cursor.js +1 -1
  25. package/dist/components/vue-ui-dag.js +1 -1
  26. package/dist/components/vue-ui-dashboard.js +1 -1
  27. package/dist/components/vue-ui-digits.js +1 -1
  28. package/dist/components/vue-ui-donut-evolution.js +1 -1
  29. package/dist/components/vue-ui-donut.js +1 -1
  30. package/dist/components/vue-ui-dumbbell.js +1 -1
  31. package/dist/components/vue-ui-flow.js +1 -1
  32. package/dist/components/vue-ui-funnel.js +1 -1
  33. package/dist/components/vue-ui-galaxy.js +1 -1
  34. package/dist/components/vue-ui-gauge.js +1 -1
  35. package/dist/components/vue-ui-geo.js +1 -1
  36. package/dist/components/vue-ui-gizmo.js +1 -1
  37. package/dist/components/vue-ui-heatmap.js +1 -1
  38. package/dist/components/vue-ui-history-plot.js +1 -1
  39. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  40. package/dist/components/vue-ui-icon.js +1 -1
  41. package/dist/components/vue-ui-kpi.js +1 -1
  42. package/dist/components/vue-ui-mini-loader.js +1 -1
  43. package/dist/components/vue-ui-molecule.js +1 -1
  44. package/dist/components/vue-ui-mood-radar.js +1 -1
  45. package/dist/components/vue-ui-nested-donuts.js +1 -1
  46. package/dist/components/vue-ui-onion.js +1 -1
  47. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  48. package/dist/components/vue-ui-quadrant.js +1 -1
  49. package/dist/components/vue-ui-quick-chart.js +1 -1
  50. package/dist/components/vue-ui-radar.js +1 -1
  51. package/dist/components/vue-ui-rating.js +1 -1
  52. package/dist/components/vue-ui-relation-circle.js +1 -1
  53. package/dist/components/vue-ui-ridgeline.js +1 -1
  54. package/dist/components/vue-ui-rings.js +1 -1
  55. package/dist/components/vue-ui-scatter.js +1 -1
  56. package/dist/components/vue-ui-skeleton.js +1 -1
  57. package/dist/components/vue-ui-smiley.js +1 -1
  58. package/dist/components/vue-ui-spark-trend.js +1 -1
  59. package/dist/components/vue-ui-sparkbar.js +1 -1
  60. package/dist/components/vue-ui-sparkgauge.js +1 -1
  61. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  62. package/dist/components/vue-ui-sparkline.js +1 -1
  63. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  64. package/dist/components/vue-ui-stackbar.js +1 -1
  65. package/dist/components/vue-ui-stackline.js +1 -1
  66. package/dist/components/vue-ui-strip-plot.js +1 -1
  67. package/dist/components/vue-ui-table-heatmap.js +1 -1
  68. package/dist/components/vue-ui-table-sparkline.js +1 -1
  69. package/dist/components/vue-ui-table.js +1 -1
  70. package/dist/components/vue-ui-thermometer.js +1 -1
  71. package/dist/components/vue-ui-timer.js +1 -1
  72. package/dist/components/vue-ui-tiremarks.js +1 -1
  73. package/dist/components/vue-ui-treemap.js +1 -1
  74. package/dist/components/vue-ui-vertical-bar.js +1 -1
  75. package/dist/components/vue-ui-waffle.js +1 -1
  76. package/dist/components/vue-ui-wheel.js +1 -1
  77. package/dist/components/vue-ui-word-cloud.js +1 -1
  78. package/dist/components/vue-ui-world.js +1 -1
  79. package/dist/components/vue-ui-xy-canvas.js +1 -1
  80. package/dist/components/vue-ui-xy.js +1 -1
  81. package/dist/style.css +1 -1
  82. package/dist/types/vue-data-ui.d.ts +107 -0
  83. package/dist/types/vue-ui-3d-bar.d.ts +2 -0
  84. package/dist/types/vue-ui-age-pyramid.d.ts +2 -0
  85. package/dist/types/vue-ui-bullet.d.ts +2 -0
  86. package/dist/types/vue-ui-bump.d.ts +2 -0
  87. package/dist/types/vue-ui-candlestick.d.ts +2 -0
  88. package/dist/types/vue-ui-carousel-table.d.ts +2 -0
  89. package/dist/types/vue-ui-chestnut.d.ts +2 -0
  90. package/dist/types/vue-ui-chord.d.ts +2 -0
  91. package/dist/types/vue-ui-circle-pack.d.ts +2 -0
  92. package/dist/types/vue-ui-dag.d.ts +2 -0
  93. package/dist/types/vue-ui-dashboard.d.ts +2 -0
  94. package/dist/types/vue-ui-donut-evolution.d.ts +2 -0
  95. package/dist/types/vue-ui-donut.d.ts +2 -0
  96. package/dist/types/vue-ui-dumbbell.d.ts +2 -0
  97. package/dist/types/vue-ui-flow.d.ts +2 -0
  98. package/dist/types/vue-ui-funnel.d.ts +2 -0
  99. package/dist/types/vue-ui-galaxy.d.ts +2 -0
  100. package/dist/types/vue-ui-gauge.d.ts +2 -0
  101. package/dist/types/vue-ui-geo.d.ts +2 -0
  102. package/dist/types/vue-ui-heatmap.d.ts +2 -0
  103. package/dist/types/vue-ui-history-plot.d.ts +2 -0
  104. package/dist/types/vue-ui-horizontal-bar.d.ts +2 -0
  105. package/dist/types/vue-ui-molecule.d.ts +2 -0
  106. package/dist/types/vue-ui-mood-radar.d.ts +2 -0
  107. package/dist/types/vue-ui-nested-donuts.d.ts +2 -0
  108. package/dist/types/vue-ui-onion.d.ts +2 -0
  109. package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +2 -0
  110. package/dist/types/vue-ui-quadrant.d.ts +2 -0
  111. package/dist/types/vue-ui-quick-chart.d.ts +2 -0
  112. package/dist/types/vue-ui-radar.d.ts +2 -0
  113. package/dist/types/vue-ui-relation-circle.d.ts +2 -0
  114. package/dist/types/vue-ui-ridgeline.d.ts +2 -0
  115. package/dist/types/vue-ui-rings.d.ts +2 -0
  116. package/dist/types/vue-ui-scatter.d.ts +2 -0
  117. package/dist/types/vue-ui-stackbar.d.ts +2 -0
  118. package/dist/types/vue-ui-stackline.d.ts +2 -0
  119. package/dist/types/vue-ui-strip-plot.d.ts +2 -0
  120. package/dist/types/vue-ui-table-heatmap.d.ts +2 -0
  121. package/dist/types/vue-ui-table-sparkline.d.ts +2 -0
  122. package/dist/types/vue-ui-thermometer.d.ts +2 -0
  123. package/dist/types/vue-ui-tiremarks.d.ts +2 -0
  124. package/dist/types/vue-ui-treemap.d.ts +2 -0
  125. package/dist/types/vue-ui-waffle.d.ts +2 -0
  126. package/dist/types/vue-ui-wheel.d.ts +2 -0
  127. package/dist/types/vue-ui-word-cloud.d.ts +2 -0
  128. package/dist/types/vue-ui-world.d.ts +2 -0
  129. package/dist/types/vue-ui-xy-canvas.d.ts +2 -0
  130. package/dist/types/vue-ui-xy.d.ts +2 -0
  131. package/dist/{useConfig-lKgU652n.js → useConfig-ByaaSKhz.js} +5 -0
  132. package/dist/{useObjectBindings-C3q0I8Zm.js → useObjectBindings-BR1sGimd.js} +1 -1
  133. package/dist/utils.js +1 -1
  134. package/dist/{vue-data-ui-DcI_rZFY.js → vue-data-ui-DBjj6t8B.js} +68 -68
  135. package/dist/vue-data-ui.js +69 -69
  136. package/dist/{vue-ui-3d-bar-DiV2fXyA.js → vue-ui-3d-bar-CmAc1xBL.js} +13 -3
  137. package/dist/{vue-ui-accordion-CNtzLReQ.js → vue-ui-accordion-BX9WL-QF.js} +2 -2
  138. package/dist/{vue-ui-age-pyramid-OeogBDSt.js → vue-ui-age-pyramid-CFvux3-S.js} +13 -3
  139. package/dist/{vue-ui-annotator-KPkeXw8q.js → vue-ui-annotator-Be3VpH8Z.js} +4 -4
  140. package/dist/{vue-ui-bullet-ChpUs3I8.js → vue-ui-bullet-C4xEb3fq.js} +13 -3
  141. package/dist/{vue-ui-bump-BkAshi4j.js → vue-ui-bump-BW76g7ep.js} +14 -4
  142. package/dist/vue-ui-candlestick-ShTn9uzH.js +1826 -0
  143. package/dist/vue-ui-carousel-table-DMan_IZb.js +455 -0
  144. package/dist/{vue-ui-chestnut-CSHDoJzC.js → vue-ui-chestnut-BIfaNOqy.js} +14 -4
  145. package/dist/{vue-ui-chord-DdwmuNQX.js → vue-ui-chord-GDJiAjfD.js} +14 -4
  146. package/dist/{vue-ui-circle-pack-DJQmSf72.js → vue-ui-circle-pack-Bo4ljiP_.js} +14 -4
  147. package/dist/{vue-ui-cursor-DFf_3h10.js → vue-ui-cursor-BuLoDOFw.js} +2 -2
  148. package/dist/{vue-ui-dag-CkO3Ax7d.js → vue-ui-dag-BmbwijZi.js} +14 -4
  149. package/dist/{vue-ui-dashboard--8Xk6LWT.js → vue-ui-dashboard-CyzIaw6M.js} +80 -70
  150. package/dist/{vue-ui-digits-Cs5EheDs.js → vue-ui-digits-B33dTRHj.js} +2 -2
  151. package/dist/{vue-ui-donut-DsNo3LIX.js → vue-ui-donut-BIgvjStd.js} +14 -4
  152. package/dist/{vue-ui-donut-evolution-_QyGlfxI.js → vue-ui-donut-evolution-DT5F88LK.js} +238 -218
  153. package/dist/{vue-ui-dumbbell-ChGtAAWt.js → vue-ui-dumbbell-SwLKpHuh.js} +13 -3
  154. package/dist/{vue-ui-flow-B5AzIgoc.js → vue-ui-flow-BqTUyRBS.js} +13 -3
  155. package/dist/{vue-ui-funnel-EDQSTDkg.js → vue-ui-funnel-GOx4FfhB.js} +14 -4
  156. package/dist/{vue-ui-galaxy-BD_RrBJE.js → vue-ui-galaxy-CTMyOfp7.js} +14 -4
  157. package/dist/{vue-ui-gauge-C9QMAGa9.js → vue-ui-gauge-Clz_TmiX.js} +13 -3
  158. package/dist/{vue-ui-geo-nR7niELP.js → vue-ui-geo-2kZK_UVF.js} +14 -4
  159. package/dist/{vue-ui-gizmo-Y1enSmyC.js → vue-ui-gizmo-BpNEwLo7.js} +2 -2
  160. package/dist/{vue-ui-heatmap-D2dBZY8v.js → vue-ui-heatmap-B6FLZij5.js} +15 -5
  161. package/dist/{vue-ui-history-plot-DEhOa4RX.js → vue-ui-history-plot-DpGwqYyg.js} +14 -4
  162. package/dist/{vue-ui-horizontal-bar-EoXn4UVd.js → vue-ui-horizontal-bar-BHFd966c.js} +16 -6
  163. package/dist/{vue-ui-kpi-DUKaYWpW.js → vue-ui-kpi-DyIqCISK.js} +2 -2
  164. package/dist/{vue-ui-mini-loader-BpLz9pDO.js → vue-ui-mini-loader-DDJUya9e.js} +1 -1
  165. package/dist/{vue-ui-molecule-MlVj-IXz.js → vue-ui-molecule-BtQOQ32e.js} +14 -4
  166. package/dist/{vue-ui-mood-radar-B8ILXAqP.js → vue-ui-mood-radar-CZSLnIMi.js} +13 -3
  167. package/dist/{vue-ui-nested-donuts-Jw8bQEo4.js → vue-ui-nested-donuts-Lhteboo1.js} +14 -4
  168. package/dist/{vue-ui-onion-D3ANYQG8.js → vue-ui-onion-uCUgmyF1.js} +14 -4
  169. package/dist/{vue-ui-parallel-coordinate-plot-DBUBo1uE.js → vue-ui-parallel-coordinate-plot-_u_VTAjF.js} +14 -4
  170. package/dist/{vue-ui-quadrant-CQ9eomPu.js → vue-ui-quadrant-CgalDMyS.js} +14 -4
  171. package/dist/{vue-ui-quick-chart-bAX-1W7U.js → vue-ui-quick-chart-BAWcSaDB.js} +15 -5
  172. package/dist/{vue-ui-radar-BrlQJKQ8.js → vue-ui-radar-64HPFASp.js} +14 -4
  173. package/dist/{vue-ui-rating-DBxf9Vwv.js → vue-ui-rating-D_QR_A3V.js} +1 -1
  174. package/dist/{vue-ui-relation-circle-53zRDuMv.js → vue-ui-relation-circle-DT4So4-6.js} +16 -6
  175. package/dist/{vue-ui-ridgeline-B80Je7Dl.js → vue-ui-ridgeline-5fZANTS9.js} +14 -4
  176. package/dist/{vue-ui-rings-q2Z9_I_C.js → vue-ui-rings-QFY794j3.js} +14 -4
  177. package/dist/{vue-ui-scatter-B2j49pZG.js → vue-ui-scatter-BPCY-u36.js} +14 -4
  178. package/dist/{vue-ui-skeleton-DBQVQjee.js → vue-ui-skeleton-Dj_ZVfSX.js} +2 -2
  179. package/dist/{vue-ui-smiley-2xc8AwPP.js → vue-ui-smiley-rFdGxZK6.js} +1 -1
  180. package/dist/{vue-ui-spark-trend-2A59xizI.js → vue-ui-spark-trend-DB0VHzm0.js} +2 -2
  181. package/dist/{vue-ui-sparkbar-ySB5tY6a.js → vue-ui-sparkbar-DVGRTFO5.js} +2 -2
  182. package/dist/{vue-ui-sparkgauge-1W1qaesz.js → vue-ui-sparkgauge-3UFZaDF9.js} +2 -2
  183. package/dist/{vue-ui-sparkhistogram-By0How3p.js → vue-ui-sparkhistogram-DRmBVef7.js} +2 -2
  184. package/dist/{vue-ui-sparkline-BqJ0MXbc.js → vue-ui-sparkline-vsqKnakQ.js} +2 -2
  185. package/dist/{vue-ui-sparkstackbar-CMVO2Tu-.js → vue-ui-sparkstackbar-BNUhunuQ.js} +3 -3
  186. package/dist/vue-ui-stackbar-9jP1s0MN.js +2267 -0
  187. package/dist/vue-ui-stackline-D1o_afno.js +2395 -0
  188. package/dist/{vue-ui-strip-plot-BkcKTTC6.js → vue-ui-strip-plot-CogQ8VSl.js} +13 -3
  189. package/dist/{vue-ui-table-CIgdj4R-.js → vue-ui-table-Bub1v0eM.js} +5 -5
  190. package/dist/{vue-ui-table-heatmap-CvHoeUmu.js → vue-ui-table-heatmap-BFKyJTr1.js} +15 -5
  191. package/dist/{vue-ui-table-sparkline-DReGOXrL.js → vue-ui-table-sparkline-BPts9wTR.js} +14 -4
  192. package/dist/{vue-ui-thermometer-Bmq8u98B.js → vue-ui-thermometer-CJJ4cVt0.js} +16 -6
  193. package/dist/{vue-ui-timer-cYpIWaiH.js → vue-ui-timer-BEPXWd20.js} +3 -3
  194. package/dist/{vue-ui-tiremarks-B01ayToa.js → vue-ui-tiremarks-BC7bLLQD.js} +13 -3
  195. package/dist/{vue-ui-treemap-CbqNfpkg.js → vue-ui-treemap-Cja-vZoa.js} +15 -5
  196. package/dist/{vue-ui-waffle-zz_nDVZ3.js → vue-ui-waffle-BRj-YBlz.js} +14 -4
  197. package/dist/{vue-ui-wheel--8hd9-06.js → vue-ui-wheel-AOTFpTWN.js} +16 -6
  198. package/dist/{vue-ui-word-cloud-BXyP8Qzx.js → vue-ui-word-cloud-dqfAdhW-.js} +14 -4
  199. package/dist/{vue-ui-world-hy7P8x_O.js → vue-ui-world-DqwsIYze.js} +14 -4
  200. package/dist/vue-ui-xy-Dhult6gR.js +4181 -0
  201. package/dist/{vue-ui-xy-canvas-BKUggHiV.js → vue-ui-xy-canvas-B06Rit63.js} +17 -7
  202. package/package.json +1 -1
  203. package/dist/vue-ui-candlestick-BwHP3icU.js +0 -1804
  204. package/dist/vue-ui-carousel-table-Bb5y_p3g.js +0 -445
  205. package/dist/vue-ui-stackbar-CRbyQwVz.js +0 -2243
  206. package/dist/vue-ui-stackline-CLlAhA0E.js +0 -2371
  207. package/dist/vue-ui-xy-3LB_mNPd.js +0 -4141
@@ -1,7 +1,7 @@
1
1
  import { t as e } from "./rolldown-runtime-CAFD8bLK.js";
2
2
  import { B as t, G as n, H as r, J as i, Lt as a, Pt as o, S as s, St as c, Tt as l, X as ee, _ as te, bt as ne, d as re, h as ie, ht as ae, i as oe, jt as se, kt as ce, ot as le, p as ue, q as de, t as fe, u as pe, x as me, y as he, zt as ge } from "./lib-BkiwukKO.js";
3
3
  import { t as _e } from "./useTimeLabels-C0x7zUXP.js";
4
- import { t as ve } from "./useConfig-lKgU652n.js";
4
+ import { t as ve } from "./useConfig-ByaaSKhz.js";
5
5
  import { t as ye } from "./usePrinter-X0yWOynH.js";
6
6
  import { n as be, t as xe } from "./BaseScanner-C7dmAref.js";
7
7
  import { t as Se } from "./useSvgExport-Dtu973wa.js";
@@ -13,13 +13,13 @@ import { n as De } from "./Title-__gWq2g6.js";
13
13
  import { t as Oe } from "./_plugin-vue_export-helper-Dq1MygBL.js";
14
14
  import { c as ke } from "./canvas-lib-DTaADQOK.js";
15
15
  import { t as Ae } from "./useResponsive-CrAInupd.js";
16
- import { t as je } from "./BaseLegendToggle-DUIqQmwM.js";
16
+ import { t as je } from "./BaseLegendToggle-CJTwLGXL.js";
17
17
  import { t as Me } from "./A11yDataTable-q2-8fSlJ.js";
18
18
  import { t as Ne } from "./useUserOptionState-CjPJPTg2.js";
19
19
  import { t as Pe } from "./useChartAccessibility-Do37qcw2.js";
20
20
  import { t as Fe } from "./Legend-Gg5Q4Clb.js";
21
21
  import { t as Ie } from "./vue_ui_donut_evolution-CAJefrHs.js";
22
- import { t as Le } from "./Slicer-BlfyiHHD.js";
22
+ import { t as Le } from "./Slicer-CPWGgGSp.js";
23
23
  import { Fragment as u, Teleport as Re, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createSlots as ze, createTextVNode as Be, createVNode as Ve, defineAsyncComponent as g, guardReactiveProps as _, mergeProps as He, nextTick as Ue, normalizeClass as v, normalizeProps as y, normalizeStyle as b, onBeforeUnmount as We, onMounted as Ge, openBlock as x, ref as S, renderList as C, renderSlot as w, resolveDynamicComponent as Ke, shallowRef as qe, toDisplayString as T, toRefs as Je, unref as E, watch as Ye, watchEffect as Xe, withCtx as D } from "vue";
24
24
  //#region src/components/vue-ui-donut-evolution.vue
25
25
  var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et = ["id"], tt = { style: { position: "relative" } }, nt = [
@@ -72,6 +72,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
72
72
  "x",
73
73
  "y",
74
74
  "font-size",
75
+ "text-anchor",
75
76
  "fill",
76
77
  "font-weight"
77
78
  ], bt = { key: 0 }, xt = [
@@ -169,7 +170,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
169
170
  },
170
171
  emits: ["selectLegend", "copyAlt"],
171
172
  setup(e, { expose: Oe, emit: Ze }) {
172
- let Kt = g(() => import("./vue-ui-accordion-CNtzLReQ.js").then((e) => e.n)), qt = g(() => import("./BaseIcon-CEmt3Ifx.js").then((e) => e.n)), Jt = g(() => import("./DataTable-BvDJEAma.js")), Yt = g(() => import("./PackageVersion-CGiidfDW.js").then((e) => e.t)), Xt = g(() => import("./PenAndPaper-DwpL8Z0l.js").then((e) => e.t)), Zt = g(() => import("./UserOptions-DMw8EZEo.js").then((e) => e.n)), Qt = g(() => import("./vue-ui-donut-DsNo3LIX.js").then((e) => e.n)), $t = g(() => import("./BaseDraggableDialog-BQcmQAK5.js").then((e) => e.n)), { vue_ui_donut_evolution: en } = ve(), { isThemeValid: tn, warnInvalidTheme: nn } = we(), O = e, k = S(r()), A = S([]), j = S(null), M = S(null), rn = S(!1), N = S(null), P = S(null), an = S(null), on = S(0), sn = S(0), cn = S(0), ln = S(0), un = S(0), dn = S(null), fn = S(null), pn = S(null), mn = S(null), hn = S(!1), gn = S(null), _n = S(null), vn = S(!1), yn = S(!1), bn = S(null), xn = S(null), Sn = S(null), Cn = S(null), wn = S(null), Tn = S(!1), F = qe(null), En = qe(null), Dn = S(null), I = S(null), On = S(!1), kn = Ze, An = d(() => !!O.dataset && O.dataset.length);
173
+ let Kt = g(() => import("./vue-ui-accordion-BX9WL-QF.js").then((e) => e.n)), qt = g(() => import("./BaseIcon-DM1x8hQF.js").then((e) => e.n)), Jt = g(() => import("./DataTable-DmE8Oo4i.js")), Yt = g(() => import("./PackageVersion-DUU5Aku2.js").then((e) => e.t)), Xt = g(() => import("./PenAndPaper-DNgm6y3l.js").then((e) => e.t)), Zt = g(() => import("./UserOptions-D7zR0tnR.js").then((e) => e.n)), Qt = g(() => import("./vue-ui-donut-BIgvjStd.js").then((e) => e.n)), $t = g(() => import("./BaseDraggableDialog-DUUu2E2Q.js").then((e) => e.n)), { vue_ui_donut_evolution: en } = ve(), { isThemeValid: tn, warnInvalidTheme: nn } = we(), O = e, k = S(r()), A = S([]), j = S(null), M = S(null), rn = S(!1), N = S(null), P = S(null), an = S(null), on = S(0), sn = S(0), cn = S(0), ln = S(0), un = S(0), dn = S(null), fn = S(null), pn = S(null), mn = S(null), hn = S(!1), F = S(null), gn = S(null), _n = S(!1), vn = S(!1), yn = S(null), bn = S(null), xn = S(null), Sn = S(null), Cn = S(null), wn = S(!1), Tn = qe(null), En = qe(null), Dn = S(null), I = S(null), On = S(!1), kn = Ze, An = d(() => !!O.dataset && O.dataset.length);
173
174
  Ge(() => {
174
175
  hn.value = !0, Mn();
175
176
  });
@@ -193,27 +194,27 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
193
194
  }), In.value = !0;
194
195
  });
195
196
  }), c(O.dataset) || (In.value = L.value.loading), setTimeout(() => {
196
- Tn.value = !0;
197
+ wn.value = !0;
197
198
  }, 10), zn(), L.value.responsive) {
198
199
  let e = ke(() => {
199
- Tn.value = !1;
200
+ wn.value = !1;
200
201
  let { width: e, height: t } = Ae({
201
202
  chart: P.value,
202
- title: L.value.style.chart.title.text ? bn.value : null,
203
- legend: L.value.style.chart.legend.show ? xn.value : null,
204
- slicer: L.value.style.chart.zoom.show && Ln.value > 1 ? wn.value : null,
205
- source: Sn.value
203
+ title: L.value.style.chart.title.text ? yn.value : null,
204
+ legend: L.value.style.chart.legend.show ? bn.value : null,
205
+ slicer: L.value.style.chart.zoom.show && Ln.value > 1 ? Cn.value : null,
206
+ source: xn.value
206
207
  });
207
208
  requestAnimationFrame(() => {
208
209
  z.value.width = e, z.value.height = t - 12, clearTimeout(Dn.value), Dn.value = setTimeout(() => {
209
- Tn.value = !0;
210
+ wn.value = !0;
210
211
  }, 10);
211
212
  });
212
213
  });
213
- F.value && (En.value && F.value.unobserve(En.value), F.value.disconnect()), F.value = new ResizeObserver(e), En.value = P.value.parentNode, F.value.observe(En.value);
214
+ Tn.value && (En.value && Tn.value.unobserve(En.value), Tn.value.disconnect()), Tn.value = new ResizeObserver(e), En.value = P.value.parentNode, Tn.value.observe(En.value);
214
215
  }
215
216
  }
216
- let L = S(Wn()), R = d(() => L.value.userOptions.useCursorPointer), Nn = d(() => ge({
217
+ let L = S(Gn()), R = d(() => L.value.userOptions.useCursorPointer), Nn = d(() => ge({
217
218
  defaultConfig: {
218
219
  useCssAnimation: !1,
219
220
  table: { show: !1 },
@@ -254,7 +255,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
254
255
  })), { loading: Pn, FINAL_DATASET: Fn, manualLoading: In } = be({
255
256
  ...Je(O),
256
257
  FINAL_CONFIG: L,
257
- prepareConfig: Wn,
258
+ prepareConfig: Gn,
258
259
  callback: () => {
259
260
  Promise.resolve().then(async () => {
260
261
  await zn();
@@ -314,7 +315,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
314
315
  }
315
316
  async function zn() {
316
317
  await Ue(), await Ue();
317
- let { startIndex: e, endIndex: t } = L.value.style.chart.zoom, n = Cn.value;
318
+ let { startIndex: e, endIndex: t } = L.value.style.chart.zoom, n = Sn.value;
318
319
  B.value = {
319
320
  start: 0,
320
321
  max: K.value
@@ -327,8 +328,8 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
327
328
  let t = K.value;
328
329
  return e > t ? t : e < 0 || L.value.style.chart.zoom.startIndex !== null && e < L.value.style.chart.zoom.startIndex ? L.value.style.chart.zoom.startIndex === null ? 1 : L.value.style.chart.zoom.startIndex + 1 : e;
329
330
  }
330
- let { userOptionsVisible: Vn, setUserOptionsVisibility: Hn, keepUserOptionState: Un } = Ne({ config: L.value }), { svgRef: V } = Pe({ config: L.value.style.chart.title });
331
- function Wn() {
331
+ let { userOptionsVisible: Vn, setUserOptionsVisibility: Hn, keepUserOptionState: Un } = Ne({ config: L.value }), { svgRef: Wn } = Pe({ config: L.value.style.chart.title });
332
+ function Gn() {
332
333
  let e = Ce({
333
334
  userConfig: O.config,
334
335
  defaultConfig: en
@@ -351,64 +352,73 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
351
352
  return t;
352
353
  }
353
354
  Ye(() => O.config, (e) => {
354
- Pn.value || (L.value = Wn()), Vn.value = !L.value.userOptions.showOnChartHover, Mn(), cn.value += 1, ln.value += 1, un.value += 1, H.value.showTable = L.value.table.show;
355
+ Pn.value || (L.value = Gn()), Vn.value = !L.value.userOptions.showOnChartHover, Mn(), cn.value += 1, ln.value += 1, un.value += 1, V.value.showTable = L.value.table.show;
355
356
  }, { deep: !0 }), Ye(() => O.dataset, (e) => {
356
357
  Array.isArray(e) && e.length > 0 && (In.value = !1), Rn();
357
358
  }, { deep: !0 });
358
- let { isPrinting: Gn, isImaging: Kn, generatePdf: qn, generateImage: Jn } = ye({
359
+ let { isPrinting: Kn, isImaging: qn, generatePdf: Jn, generateImage: Yn } = ye({
359
360
  elementId: k.value,
360
361
  fileName: L.value.style.chart.title.text || "vue-ui-donut-evolution",
361
362
  options: L.value.userOptions.print
362
- }), Yn = d(() => L.value.userOptions.show && !L.value.style.chart.title.text), Xn = d(() => me(L.value.customPalette)), H = S({ showTable: L.value.table.show });
363
+ }), Xn = d(() => L.value.userOptions.show && !L.value.style.chart.title.text), Zn = d(() => me(L.value.customPalette)), V = S({ showTable: L.value.table.show });
363
364
  Ye(L, () => {
364
- H.value = { showTable: L.value.table.show };
365
+ V.value = { showTable: L.value.table.show };
365
366
  }, { immediate: !0 });
366
- let U = d(() => ({
367
+ let H = d(() => ({
367
368
  top: L.value.style.chart.layout.padding.top,
368
369
  right: L.value.style.chart.layout.padding.right,
369
370
  bottom: L.value.style.chart.layout.padding.bottom,
370
371
  left: L.value.style.chart.layout.padding.left
371
- }));
372
- function Zn() {
372
+ })), U = d(() => L.value.style.chart.layout.grid.yAxis.position === "right");
373
+ function Qn() {
373
374
  let e = 0;
374
375
  dn.value && (e = Array.from(dn.value.querySelectorAll("text")).reduce((e, t) => {
375
376
  let n = t.getComputedTextLength();
376
377
  return n > e ? n : e;
377
378
  }, 0));
378
- let t = mn.value ? mn.value.getBoundingClientRect().width + L.value.style.chart.layout.grid.axis.yLabelOffsetX + L.value.style.chart.layout.grid.axis.fontSize : 0;
379
- return e + t + 5;
379
+ let t = mn.value ? mn.value.getBoundingClientRect().width + L.value.style.chart.layout.grid.axis.yLabelOffsetX + L.value.style.chart.layout.grid.axis.fontSize : 0, n = e + t + 5;
380
+ return {
381
+ left: U.value ? 0 : n,
382
+ right: U.value ? n : 0,
383
+ scaleLabelsWidth: e,
384
+ yAxisLabelWidth: t,
385
+ crosshair: 5
386
+ };
380
387
  }
381
- let Qn = S(0), $n = ke((e) => {
382
- Qn.value = e;
388
+ let $n = S(0), er = ke((e) => {
389
+ $n.value = e;
383
390
  }, 100);
384
391
  Xe((e) => {
385
392
  let t = fn.value;
386
393
  if (!t) return;
387
394
  let n = new ResizeObserver((e) => {
388
- $n(e[0].contentRect.height);
395
+ er(e[0].contentRect.height);
389
396
  });
390
397
  n.observe(t), e(() => n.disconnect());
391
398
  }), We(() => {
392
- Qn.value = 0;
399
+ $n.value = 0;
393
400
  });
394
- let er = d(() => {
401
+ let tr = d(() => {
395
402
  let e = 0;
396
403
  pn.value && (e = pn.value.getBBox().height);
397
404
  let t = 0;
398
- return fn.value && (t = Qn.value), e + t + L.value.style.chart.layout.grid.axis.fontSize + L.value.style.chart.layout.grid.xAxis.dataLabels.offsetY;
405
+ return fn.value && (t = $n.value), e + t + L.value.style.chart.layout.grid.axis.fontSize + L.value.style.chart.layout.grid.xAxis.dataLabels.offsetY;
399
406
  }), W = d(() => {
400
- let e = Zn(), t = L.value.style.chart.layout.dataLabels.fontSize * 3, n = z.value.width, r = z.value.height, i = U.value.left + e, a = n - U.value.right, o = n - i - U.value.right, s = r - U.value.top - U.value.bottom - t - er.value, c = U.value.top + t;
407
+ let e = Qn(), t = L.value.style.chart.layout.dataLabels.fontSize * 3, n = z.value.width, r = z.value.height, i = H.value.left + e.left, a = n - H.value.right - e.right, o = n - i - H.value.right - e.right, s = r - H.value.top - H.value.bottom - t - tr.value, c = H.value.top + t;
401
408
  return {
402
409
  top: c,
403
410
  left: i,
404
411
  right: a,
405
- bottom: r - U.value.bottom - er.value,
412
+ bottom: r - H.value.bottom - tr.value,
406
413
  absoluteHeight: r,
407
414
  absoluteWidth: n,
408
415
  centerX: i + Math.max(10, o) / 2,
409
416
  centerY: c + Math.max(10, s) / 2,
410
417
  width: Math.max(10, o),
411
- height: Math.max(10, s)
418
+ height: Math.max(10, s),
419
+ scaleLabelsWidth: e.scaleLabelsWidth,
420
+ yAxisLabelWidth: e.yAxisLabelWidth,
421
+ crosshair: e.crosshair
412
422
  };
413
423
  }), G = d(() => (Fn.value.forEach((e, t) => {
414
424
  [null, void 0].includes(e.name) && ee({
@@ -427,15 +437,15 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
427
437
  }), Fn.value.map((e, t) => ({
428
438
  ...e,
429
439
  values: ce(e.values),
430
- color: he(e.color) || Xn.value[t] || l[t] || l[t % l.length],
440
+ color: he(e.color) || Zn.value[t] || l[t] || l[t % l.length],
431
441
  length: (e.values || []).length,
432
442
  uid: r()
433
- })))), tr = d(() => G.value.filter((e) => !A.value.includes(e.uid)).map((e) => ({
443
+ })))), nr = d(() => G.value.filter((e) => !A.value.includes(e.uid)).map((e) => ({
434
444
  ...e,
435
445
  values: e.values.filter((e, t) => t >= B.value.start && t <= B.value.end)
436
- }))), K = d(() => Math.max(...G.value.map((e) => e.length))), q = S([]), nr = 0;
446
+ }))), K = d(() => Math.max(...G.value.map((e) => e.length))), q = S([]), rr = 0;
437
447
  Xe(() => {
438
- let e = ++nr;
448
+ let e = ++rr;
439
449
  (async () => {
440
450
  let t = await _e({
441
451
  values: L.value.style.chart.layout.grid.xAxis.dataLabels.values,
@@ -444,13 +454,13 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
444
454
  start: B.value.start,
445
455
  end: B.value.end
446
456
  });
447
- e === nr && (q.value = t);
457
+ e === rr && (q.value = t);
448
458
  })();
449
459
  });
450
- let J = d(() => W.value.width / (B.value.end - B.value.start)), rr = d(() => {
460
+ let J = d(() => W.value.width / (B.value.end - B.value.start)), ir = d(() => {
451
461
  let e = [];
452
462
  for (let t = 0; t < B.value.end - B.value.start; t += 1) {
453
- let n = tr.value.map((e) => e.values[t] ?? null), r = n.filter((e) => [void 0, null].includes(e)).length === n.length, i = n.reduce((e, t) => e + t, 0), a = n.map((e) => e / i), o = W.value.left + J.value * t + J.value / 2;
463
+ let n = nr.value.map((e) => e.values[t] ?? null), r = n.filter((e) => [void 0, null].includes(e)).length === n.length, i = n.reduce((e, t) => e + t, 0), a = n.map((e) => e / i), o = W.value.left + J.value * t + J.value / 2;
454
464
  e.push({
455
465
  index: t,
456
466
  percentages: a,
@@ -460,26 +470,26 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
460
470
  });
461
471
  }
462
472
  return e;
463
- }), ir = d(() => {
464
- let e = Math.max(...rr.value.map((e) => e.subtotal).filter((e) => ae(e))) ?? 1, t = Math.min(...rr.value.map((e) => e.subtotal).filter((e) => ae(e))) ?? 0, n = Math.max(L.value.style.chart.layout.grid.yAxis.scaleMax ?? 0, e), r;
473
+ }), ar = d(() => {
474
+ let e = Math.max(...ir.value.map((e) => e.subtotal).filter((e) => ae(e))) ?? 1, t = Math.min(...ir.value.map((e) => e.subtotal).filter((e) => ae(e))) ?? 0, n = Math.max(L.value.style.chart.layout.grid.yAxis.scaleMax ?? 0, e), r;
465
475
  return r = L.value.style.chart.layout.grid.yAxis.scaleMin == null ? 0 : Math.min(t, L.value.style.chart.layout.grid.yAxis.scaleMin), L.value.style.chart.layout.grid.yAxis.autoScale && (r = t, n = e), r === n && (r = n / 2, n *= 1.5), {
466
476
  max: n,
467
477
  min: r
468
478
  };
469
479
  }), Y = d(() => {
470
- let e = rr.value.length === 1 ? ir.value.max * 2 : ir.value.max;
471
- return ie(ir.value.min, e, L.value.style.chart.layout.grid.yAxis.dataLabels.steps);
480
+ let e = ir.value.length === 1 ? ar.value.max * 2 : ar.value.max;
481
+ return ie(ar.value.min, e, L.value.style.chart.layout.grid.yAxis.dataLabels.steps);
472
482
  });
473
- function ar(e) {
483
+ function or(e) {
474
484
  return (e - Y.value.min) / (Y.value.max - Y.value.min);
475
485
  }
476
- let or = d(() => Y.value.ticks.map((e) => ({
477
- y: W.value.bottom - W.value.height * ar(e),
486
+ let sr = d(() => Y.value.ticks.map((e) => ({
487
+ y: W.value.bottom - W.value.height * or(e),
478
488
  value: e
479
489
  }))), X = d(() => {
480
- let e = rr.value, t = Math.max(...e.map((e) => e.subtotal));
490
+ let e = ir.value, t = Math.max(...e.map((e) => e.subtotal));
481
491
  return e.length === 1 && t * 2, e.map((t, n) => {
482
- let r = Math.min(W.value.width / 24, J.value / 2 * .7), i = r > W.value.width / 16 ? W.value.width / 16 : r, a = j.value === t.index ? W.value.width / 16 : i, o = e.length > 4 ? r * 2 : r * 2 > J.value / 2 * .7 ? J.value / 2 * .7 : r * 2, s = W.value.bottom - W.value.height * ar(t.subtotal), c = tr.value.map((e) => ({
492
+ let r = Math.min(W.value.width / 24, J.value / 2 * .7), i = r > W.value.width / 16 ? W.value.width / 16 : r, a = j.value === t.index ? W.value.width / 16 : i, o = e.length > 4 ? r * 2 : r * 2 > J.value / 2 * .7 ? J.value / 2 * .7 : r * 2, s = W.value.bottom - W.value.height * or(t.subtotal), c = nr.value.map((e) => ({
483
493
  color: e.color,
484
494
  name: e.name,
485
495
  value: e.values[n] ?? 0
@@ -496,7 +506,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
496
506
  };
497
507
  });
498
508
  });
499
- function sr(e, t, r) {
509
+ function cr(e, t, r) {
500
510
  return oe(L.value.style.chart.layout.dataLabels.formatter, e, n({
501
511
  p: L.value.style.chart.layout.dataLabels.prefix,
502
512
  v: e,
@@ -507,29 +517,29 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
507
517
  index: r
508
518
  });
509
519
  }
510
- function cr(e, t) {
520
+ function lr(e, t) {
511
521
  return isNaN(e.value / o(t, "value")) ? 0 : (e.value / o(t, "value") * 100).toFixed(0) + "%";
512
522
  }
513
- function lr(e) {
523
+ function ur(e) {
514
524
  j.value = null, M.value = null, I.value = null, L.value.events.datapointLeave && L.value.events.datapointLeave({
515
525
  datapoint: e,
516
526
  seriesIndex: e.seriesIndex + B.value.start
517
527
  });
518
528
  }
519
- function ur(e) {
529
+ function dr(e) {
520
530
  L.value.events.datapointEnter && L.value.events.datapointEnter({
521
531
  datapoint: e,
522
532
  seriesIndex: e.index + B.value.start
523
533
  }), j.value = e.index, M.value = e, I.value = e.index;
524
534
  }
525
- let Z = S(null);
526
- function dr(e, t) {
535
+ let fr = S(null);
536
+ function pr(e, t) {
527
537
  L.value.events.datapointClick && L.value.events.datapointClick({
528
538
  datapoint: e,
529
539
  seriesIndex: e.index + B.value.start
530
- }), !(!e.subtotal || !L.value.style.chart.dialog.show) && (M.value = null, j.value = null, rn.value = !0, N.value = e, Ar(e), [null, void 0].includes(t) || (Z.value = t));
540
+ }), !(!e.subtotal || !L.value.style.chart.dialog.show) && (M.value = null, j.value = null, rn.value = !0, N.value = e, jr(e), [null, void 0].includes(t) || (fr.value = t));
531
541
  }
532
- let fr = d(() => G.value.map((e, t) => ({
542
+ let mr = d(() => G.value.map((e, t) => ({
533
543
  name: e.name,
534
544
  value: e.values.slice(B.value.start, B.value.end).reduce((e, t) => e + t, 0),
535
545
  shape: "circle",
@@ -538,7 +548,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
538
548
  })).sort((e, t) => t.value - e.value).map((e, t) => ({
539
549
  ...e,
540
550
  opacity: A.value.includes(e.uid) ? .5 : 1,
541
- segregate: () => gr(e.uid),
551
+ segregate: () => vr(e.uid),
542
552
  isSegregated: A.value.includes(e.uid),
543
553
  display: `${e.name}${L.value.style.chart.legend.showPercentage || L.value.style.chart.legend.showValue ? ": " : ""}${L.value.style.chart.legend.showValue ? oe(L.value.style.chart.layout.dataLabels.formatter, e.value, n({
544
554
  p: L.value.style.chart.layout.dataLabels.prefix,
@@ -548,12 +558,12 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
548
558
  }), {
549
559
  datapoint: e,
550
560
  seriesIndex: t
551
- }) : ""}${L.value.style.chart.legend.showPercentage ? A.value.includes(e.uid) ? `${L.value.style.chart.legend.showValue ? " (" : ""}- %${L.value.style.chart.legend.showValue ? ")" : ""}` : `${L.value.style.chart.legend.showValue ? " (" : ""}${isNaN(e.value / pr.value) ? "-" : n({
552
- v: e.value / pr.value * 100,
561
+ }) : ""}${L.value.style.chart.legend.showPercentage ? A.value.includes(e.uid) ? `${L.value.style.chart.legend.showValue ? " (" : ""}- %${L.value.style.chart.legend.showValue ? ")" : ""}` : `${L.value.style.chart.legend.showValue ? " (" : ""}${isNaN(e.value / hr.value) ? "-" : n({
562
+ v: e.value / hr.value * 100,
553
563
  s: "%",
554
564
  r: L.value.style.chart.legend.roundingPercentage
555
565
  })}${L.value.style.chart.legend.showValue ? ")" : ""}` : ""}`
556
- }))), pr = d(() => X.value.map((e) => e.subtotal).reduce((e, t) => e + t, 0)), mr = d(() => ({
566
+ }))), hr = d(() => X.value.map((e) => e.subtotal).reduce((e, t) => e + t, 0)), gr = d(() => ({
557
567
  cy: "donut-div-legend",
558
568
  backgroundColor: L.value.style.chart.legend.backgroundColor,
559
569
  color: L.value.style.chart.legend.color,
@@ -561,31 +571,31 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
561
571
  paddingBottom: 12,
562
572
  fontWeight: L.value.style.chart.legend.bold ? "bold" : ""
563
573
  }));
564
- function hr() {
565
- A.value.length ? A.value = [] : fr.value.forEach((e) => {
574
+ function _r() {
575
+ A.value.length ? A.value = [] : mr.value.forEach((e) => {
566
576
  A.value.push(e.uid);
567
577
  });
568
578
  }
569
- function gr(e) {
570
- if (A.value.includes(e)) A.value = A.value.filter((t) => t !== e), kn("selectLegend", tr.value);
579
+ function vr(e) {
580
+ if (A.value.includes(e)) A.value = A.value.filter((t) => t !== e), kn("selectLegend", nr.value);
571
581
  else {
572
582
  if (A.value.length === G.value.length - 1) return;
573
- A.value.push(e), kn("selectLegend", tr.value);
583
+ A.value.push(e), kn("selectLegend", nr.value);
574
584
  }
575
- N.value && dr(X.value.find((e, t) => t === Z.value));
585
+ N.value && pr(X.value.find((e, t) => t === fr.value));
576
586
  }
577
- function _r(e) {
587
+ function yr(e) {
578
588
  return G.value.length ? G.value.find((t) => t.name === e) || (L.value.debug && console.warn(`VueUiDonutEvolution - Series name not found "${e}"`), null) : (L.value.debug && console.warn("VueUiDonutEvolution - There are no series to show."), null);
579
589
  }
580
- function vr(e) {
581
- let t = _r(e);
582
- t !== null && A.value.includes(t.uid) && gr(t.uid);
590
+ function br(e) {
591
+ let t = yr(e);
592
+ t !== null && A.value.includes(t.uid) && vr(t.uid);
583
593
  }
584
- function yr(e) {
585
- let t = _r(e);
586
- t !== null && (A.value.includes(t.uid) || gr(t.uid));
594
+ function xr(e) {
595
+ let t = yr(e);
596
+ t !== null && (A.value.includes(t.uid) || vr(t.uid));
587
597
  }
588
- let Q = d(() => {
598
+ let Z = d(() => {
589
599
  let e = [""].concat(G.value.filter((e) => !A.value.includes(e.uid)).map((e) => ({
590
600
  name: e.name,
591
601
  color: e.color
@@ -600,7 +610,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
600
610
  return {
601
611
  head: e,
602
612
  body: t,
603
- bodyA11y: t.map((e) => e.map((t, n) => n === 0 || n === e.length - 1 ? t : `${sr(t.value ?? 0, null, n)} (${t.percentage.toFixed(1)}%)`)),
613
+ bodyA11y: t.map((e) => e.map((t, n) => n === 0 || n === e.length - 1 ? t : `${cr(t.value ?? 0, null, n)} (${t.percentage.toFixed(1)}%)`)),
604
614
  config: {
605
615
  th: {
606
616
  backgroundColor: L.value.table.th.backgroundColor,
@@ -617,49 +627,49 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
617
627
  colNames: [L.value.table.columnNames.period].concat(G.value.filter((e) => !A.value.includes(e.uid)).map((e) => e.name), L.value.table.columnNames.total)
618
628
  };
619
629
  });
620
- function br() {
630
+ function Sr() {
621
631
  return G.value;
622
632
  }
623
- function xr(e = null) {
633
+ function Cr(e = null) {
624
634
  Ue(() => {
625
635
  let t = [
626
636
  [L.value.style.chart.title.text],
627
637
  [L.value.style.chart.title.subtitle.text],
628
638
  [""]
629
- ], n = [...Q.value.head.map((e) => e.name ?? e)], r = [...Q.value.body.map((e) => e.map((e) => e.value ?? e))], a = s(t.concat([n]).concat(r));
639
+ ], n = [...Z.value.head.map((e) => e.name ?? e)], r = [...Z.value.body.map((e) => e.map((e) => e.value ?? e))], a = s(t.concat([n]).concat(r));
630
640
  e ? e(a) : i({
631
641
  csvContent: a,
632
642
  title: L.value.style.chart.title.text || "vue-ui-donut-evolution"
633
643
  });
634
644
  });
635
645
  }
636
- let $ = S(!1);
637
- function Sr(e) {
638
- $.value = e, on.value += 1;
646
+ let Q = S(!1);
647
+ function wr(e) {
648
+ Q.value = e, on.value += 1;
639
649
  }
640
- function Cr() {
641
- H.value.showTable = !H.value.showTable;
642
- }
643
- let wr = S(!1);
644
650
  function Tr() {
645
- wr.value = !wr.value;
651
+ V.value.showTable = !V.value.showTable;
652
+ }
653
+ let $ = S(!1);
654
+ function Er() {
655
+ $.value = !$.value;
646
656
  }
647
- function Er(e) {
657
+ function Dr(e) {
648
658
  return e.proportion * 100 > L.value.style.chart.donuts.hover.hideLabelsUnderValue;
649
659
  }
650
- let Dr = S([]), Or = S({}), kr = S(null);
651
- function Ar(e) {
652
- Dr.value = e.donut.map((e) => ({
660
+ let Or = S([]), kr = S({}), Ar = S(null);
661
+ function jr(e) {
662
+ Or.value = e.donut.map((e) => ({
653
663
  name: e.name,
654
664
  values: [e.value],
655
665
  color: e.color
656
- })), Or.value = de({
666
+ })), kr.value = de({
657
667
  ...L.value.style.chart.dialog.donutChart,
658
668
  responsive: !0,
659
669
  theme: L.value.theme
660
- }), kr.value && kr.value.open();
670
+ }), Ar.value && Ar.value.open();
661
671
  }
662
- async function jr({ scale: e = 2 } = {}) {
672
+ async function Mr({ scale: e = 2 } = {}) {
663
673
  if (!P.value) return;
664
674
  let { width: t, height: n } = P.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await Ee({
665
675
  domElement: P.value,
@@ -705,8 +715,8 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
705
715
  height: d(() => z.value.height),
706
716
  rotation: L.value.style.chart.layout.grid.xAxis.dataLabels.autoRotate.angle
707
717
  });
708
- let Mr = d(() => {
709
- let e = L.value.table.useDialog && !L.value.table.show, t = H.value.showTable;
718
+ let Nr = d(() => {
719
+ let e = L.value.table.useDialog && !L.value.table.show, t = V.value.showTable;
710
720
  return {
711
721
  component: e ? $t : Kt,
712
722
  title: `${L.value.style.chart.title.text}${L.value.style.chart.title.subtitle.text ? `: ${L.value.style.chart.title.subtitle.text}` : ""}`,
@@ -715,7 +725,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
715
725
  color: L.value.table.th.color,
716
726
  headerColor: L.value.table.th.color,
717
727
  headerBg: L.value.table.th.backgroundColor,
718
- isFullscreen: $.value,
728
+ isFullscreen: Q.value,
719
729
  fullscreenParent: P.value,
720
730
  forcedWidth: Math.min(800, window.innerWidth * .8),
721
731
  isCursorPointer: R.value
@@ -736,50 +746,50 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
736
746
  }
737
747
  };
738
748
  });
739
- Ye(() => H.value.showTable, (e) => {
740
- L.value.table.show || (e && L.value.table.useDialog && gn.value ? gn.value.open() : "close" in gn.value && gn.value.close());
749
+ Ye(() => V.value.showTable, (e) => {
750
+ L.value.table.show || (e && L.value.table.useDialog && F.value ? F.value.open() : "close" in F.value && F.value.close());
741
751
  });
742
- function Nr() {
743
- H.value.showTable = !1, _n.value && _n.value.setTableIconState(!1);
752
+ function Pr() {
753
+ V.value.showTable = !1, gn.value && gn.value.setTableIconState(!1);
744
754
  }
745
- let Pr = d(() => fr.value.map((e) => ({
755
+ let Fr = d(() => mr.value.map((e) => ({
746
756
  ...e,
747
757
  name: e.display
748
- }))), Fr = d(() => L.value.style.chart.backgroundColor), Ir = d(() => L.value.style.chart.legend), { exportSvg: Lr, getSvg: Rr } = Se({
749
- svg: V,
758
+ }))), Ir = d(() => L.value.style.chart.backgroundColor), Lr = d(() => L.value.style.chart.legend), { exportSvg: Rr, getSvg: zr } = Se({
759
+ svg: Wn,
750
760
  title: d(() => L.value.style.chart.title),
751
- legend: Ir,
752
- legendItems: Pr,
753
- backgroundColor: Fr
761
+ legend: Lr,
762
+ legendItems: Fr,
763
+ backgroundColor: Ir
754
764
  });
755
- async function zr({ isCb: e }) {
756
- yn.value = !0, await Ue();
765
+ async function Br({ isCb: e }) {
766
+ vn.value = !0, await Ue();
757
767
  try {
758
768
  if (e) {
759
- let { blob: e, url: t, text: n, dataUrl: r } = await Rr();
769
+ let { blob: e, url: t, text: n, dataUrl: r } = await zr();
760
770
  await Promise.resolve(L.value.userOptions.callbacks.svg({
761
771
  blob: e,
762
772
  url: t,
763
773
  text: n,
764
774
  dataUrl: r
765
775
  }));
766
- } else await Promise.resolve(Lr());
776
+ } else await Promise.resolve(Rr());
767
777
  } finally {
768
- yn.value = !1;
778
+ vn.value = !1;
769
779
  }
770
780
  }
771
- function Br(e) {
781
+ function Vr(e) {
772
782
  if (e?.stage === "start") {
773
- vn.value = !0;
783
+ _n.value = !0;
774
784
  return;
775
785
  }
776
786
  if (e?.stage === "end") {
777
- vn.value = !1;
787
+ _n.value = !1;
778
788
  return;
779
789
  }
780
- Jn();
790
+ Yn();
781
791
  }
782
- async function Vr() {
792
+ async function Hr() {
783
793
  if (kn("copyAlt", {
784
794
  config: L.value,
785
795
  dataset: X.value
@@ -792,14 +802,14 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
792
802
  dataset: X.value
793
803
  }));
794
804
  }
795
- function Hr() {
805
+ function Ur() {
796
806
  I.value = null, On.value = !0;
797
807
  }
798
- function Ur() {
808
+ function Wr() {
799
809
  I.value = null, j.value = null, M.value = null, On.value = !1;
800
810
  }
801
- function Wr(e) {
802
- if (!V.value || wr.value || document.activeElement !== V.value || !X.value.length) return;
811
+ function Gr(e) {
812
+ if (!Wn.value || $.value || document.activeElement !== Wn.value || !X.value.length) return;
803
813
  let t = e.key === "ArrowLeft", n = e.key === "ArrowRight", r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
804
814
  if (!t && !n && !r && !i) return;
805
815
  if (e.preventDefault(), e.stopPropagation(), i) {
@@ -810,35 +820,35 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
810
820
  if (I.value === null) return;
811
821
  let e = X.value[I.value];
812
822
  if (!e) return;
813
- dr(e, I.value);
823
+ pr(e, I.value);
814
824
  return;
815
825
  }
816
826
  let a = I.value, o = j.value, s = a !== null && a >= 0 && a < X.value.length, c = o !== null && o >= 0 && o < X.value.length;
817
827
  s ? n ? (a += 1, a >= X.value.length && (a = 0)) : t && (--a, a < 0 && (a = X.value.length - 1)) : c ? (a = n ? o + 1 : o - 1, a >= X.value.length && (a = 0), a < 0 && (a = X.value.length - 1)) : a = n ? 0 : X.value.length - 1;
818
828
  let l = X.value[a];
819
- l && ur(l);
829
+ l && dr(l);
820
830
  }
821
- let Gr = d(() => ({
822
- headers: Q.value?.colNames ?? [],
823
- rows: Q.value?.bodyA11y ?? []
831
+ let Kr = d(() => ({
832
+ headers: Z.value?.colNames ?? [],
833
+ rows: Z.value?.bodyA11y ?? []
824
834
  }));
825
835
  return Oe({
826
- getData: br,
827
- getImage: jr,
828
- generatePdf: qn,
829
- generateCsv: xr,
830
- generateImage: Jn,
831
- generateSvg: zr,
832
- hideSeries: yr,
833
- showSeries: vr,
834
- toggleTable: Cr,
835
- toggleAnnotator: Tr,
836
- toggleFullscreen: Sr,
837
- copyAlt: Vr
836
+ getData: Sr,
837
+ getImage: Mr,
838
+ generatePdf: Jn,
839
+ generateCsv: Cr,
840
+ generateImage: Yn,
841
+ generateSvg: Br,
842
+ hideSeries: xr,
843
+ showSeries: br,
844
+ toggleTable: Tr,
845
+ toggleAnnotator: Er,
846
+ toggleFullscreen: wr,
847
+ copyAlt: Hr
838
848
  }), (e, r) => (x(), m("div", {
839
849
  ref_key: "donutEvolutionChart",
840
850
  ref: P,
841
- class: v(`vue-data-ui-component vue-ui-donut-evolution ${$.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${L.value.useCssAnimation ? "" : "vue-ui-dna"}`),
851
+ class: v(`vue-data-ui-component vue-ui-donut-evolution ${Q.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${L.value.useCssAnimation ? "" : "vue-ui-dna"}`),
842
852
  style: b(`font-family:${L.value.style.fontFamily};width:100%; text-align:center;background:${L.value.style.chart.backgroundColor}`),
843
853
  id: k.value,
844
854
  onMouseenter: r[5] ||= () => E(Hn)(!0),
@@ -848,11 +858,11 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
848
858
  id: `chart-instructions-${k.value}`,
849
859
  class: "sr-only"
850
860
  }, [h("p", null, T(L.value.a11y.translations.keyboardNavigation), 1)], 8, $e),
851
- Gr.value?.rows?.length ? (x(), f(Me, {
861
+ Kr.value?.rows?.length ? (x(), f(Me, {
852
862
  key: 0,
853
863
  uid: k.value,
854
- head: Gr.value.headers,
855
- body: Gr.value.rows,
864
+ head: Kr.value.headers,
865
+ body: Kr.value.rows,
856
866
  notice: L.value.a11y.translations.tableAvailable,
857
867
  caption: L.value.a11y.translations.tableCaption
858
868
  }, null, 8, [
@@ -864,12 +874,12 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
864
874
  ])) : p("", !0),
865
875
  L.value.userOptions.buttons.annotator ? (x(), f(E(Xt), {
866
876
  key: 1,
867
- svgRef: E(V),
877
+ svgRef: E(Wn),
868
878
  backgroundColor: L.value.style.chart.backgroundColor,
869
879
  color: L.value.style.chart.color,
870
- active: wr.value,
880
+ active: $.value,
871
881
  isCursorPointer: R.value,
872
- onClose: Tr
882
+ onClose: Er
873
883
  }, {
874
884
  "annotator-action-close": D(() => [w(e.$slots, "annotator-action-close", {}, void 0, !0)]),
875
885
  "annotator-action-color": D(({ color: t }) => [w(e.$slots, "annotator-action-color", y(_({ color: t })), void 0, !0)]),
@@ -885,7 +895,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
885
895
  "active",
886
896
  "isCursorPointer"
887
897
  ])) : p("", !0),
888
- Yn.value ? (x(), m("div", {
898
+ Xn.value ? (x(), m("div", {
889
899
  key: 2,
890
900
  ref_key: "noTitle",
891
901
  ref: an,
@@ -895,9 +905,9 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
895
905
  L.value.style.chart.title.text ? (x(), m("div", {
896
906
  key: 3,
897
907
  ref_key: "chartTitle",
898
- ref: bn,
908
+ ref: yn,
899
909
  style: "width:100%;background:transparent;padding-bottom:24px",
900
- onMouseleave: lr
910
+ onMouseleave: ur
901
911
  }, [(x(), f(De, {
902
912
  key: `title_${cn.value}`,
903
913
  config: {
@@ -914,12 +924,12 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
914
924
  h("div", { id: `legend-top-${k.value}` }, null, 8, et),
915
925
  L.value.userOptions.show && An.value && (E(Un) || E(Vn)) ? (x(), f(E(Zt), {
916
926
  ref_key: "userOptionsRef",
917
- ref: _n,
927
+ ref: gn,
918
928
  key: `user_options_${on.value}`,
919
929
  backgroundColor: L.value.style.chart.backgroundColor,
920
930
  color: L.value.style.chart.color,
921
- isPrinting: E(Gn),
922
- isImaging: E(Kn),
931
+ isPrinting: E(Kn),
932
+ isImaging: E(qn),
923
933
  uid: k.value,
924
934
  hasPdf: L.value.userOptions.buttons.pdf,
925
935
  hasImg: L.value.userOptions.buttons.img,
@@ -928,24 +938,24 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
928
938
  hasTable: L.value.userOptions.buttons.table,
929
939
  hasFullscreen: L.value.userOptions.buttons.fullscreen,
930
940
  hasAltCopy: L.value.userOptions.buttons.altCopy,
931
- isFullscreen: $.value,
941
+ isFullscreen: Q.value,
932
942
  titles: { ...L.value.userOptions.buttonTitles },
933
943
  chartElement: P.value,
934
944
  position: L.value.userOptions.position,
935
945
  hasAnnotator: L.value.userOptions.buttons.annotator,
936
- isAnnotation: wr.value,
946
+ isAnnotation: $.value,
937
947
  callbacks: L.value.userOptions.callbacks,
938
948
  printScale: L.value.userOptions.print.scale,
939
949
  tableDialog: L.value.table.useDialog,
940
950
  isCursorPointer: R.value,
941
- onToggleFullscreen: Sr,
942
- onGeneratePdf: E(qn),
943
- onGenerateCsv: xr,
944
- onGenerateImage: Br,
945
- onGenerateSvg: zr,
946
- onToggleTable: Cr,
947
- onToggleAnnotator: Tr,
948
- onCopyAlt: Vr,
951
+ onToggleFullscreen: wr,
952
+ onGeneratePdf: E(Jn),
953
+ onGenerateCsv: Cr,
954
+ onGenerateImage: Vr,
955
+ onGenerateSvg: Br,
956
+ onToggleTable: Tr,
957
+ onToggleAnnotator: Er,
958
+ onCopyAlt: Hr,
949
959
  style: b({ visibility: E(Un) ? E(Vn) ? "visible" : "hidden" : "visible" })
950
960
  }, ze({ _: 2 }, [
951
961
  e.$slots.menuIcon ? {
@@ -1001,6 +1011,16 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
1001
1011
  name: "optionAltCopy",
1002
1012
  fn: D(({ altCopy: t }) => [w(e.$slots, "optionAltCopy", y(_({ altCopy: t })), void 0, !0)]),
1003
1013
  key: "8"
1014
+ } : void 0,
1015
+ e.$slots["custom-menu-before"] ? {
1016
+ name: "custom-menu-before",
1017
+ fn: D(() => [w(e.$slots, "custom-menu-before", {}, void 0, !0)]),
1018
+ key: "9"
1019
+ } : void 0,
1020
+ e.$slots["custom-menu-after"] ? {
1021
+ name: "custom-menu-after",
1022
+ fn: D(() => [w(e.$slots, "custom-menu-after", {}, void 0, !0)]),
1023
+ key: "10"
1004
1024
  } : void 0
1005
1025
  ]), 1032, [
1006
1026
  "backgroundColor",
@@ -1030,19 +1050,19 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
1030
1050
  ])) : p("", !0),
1031
1051
  h("div", tt, [(x(), m("svg", {
1032
1052
  ref_key: "svgRef",
1033
- ref: V,
1053
+ ref: Wn,
1034
1054
  xmlns: E(fe),
1035
1055
  "aria-describedby": `chart-instructions-${k.value}`,
1036
1056
  class: v({
1037
- "vue-data-ui-fullscreen--on": $.value,
1038
- "vue-data-ui-fulscreen--off": !$.value
1057
+ "vue-data-ui-fullscreen--on": Q.value,
1058
+ "vue-data-ui-fulscreen--off": !Q.value
1039
1059
  }),
1040
1060
  viewBox: `0 0 ${W.value.absoluteWidth} ${W.value.absoluteHeight}`,
1041
1061
  style: b(`max-width:100%; overflow: visible; background:transparent;color:${L.value.style.chart.color};`),
1042
1062
  tabindex: "0",
1043
- onFocus: Hr,
1044
- onBlur: Ur,
1045
- onKeydown: Wr
1063
+ onFocus: Ur,
1064
+ onBlur: Wr,
1065
+ onKeydown: Gr
1046
1066
  }, [
1047
1067
  Ve(E(Yt)),
1048
1068
  e.$slots["chart-background"] ? (x(), m("foreignObject", {
@@ -1081,8 +1101,8 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
1081
1101
  ], 8, st)]),
1082
1102
  L.value.style.chart.layout.grid.show ? (x(), m("g", dt, [
1083
1103
  h("line", {
1084
- x1: W.value.left,
1085
- x2: W.value.left,
1104
+ x1: U.value ? W.value.right : W.value.left,
1105
+ x2: U.value ? W.value.right : W.value.left,
1086
1106
  y1: W.value.top,
1087
1107
  y2: W.value.top + W.value.height,
1088
1108
  stroke: L.value.style.chart.layout.grid.stroke,
@@ -1114,7 +1134,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
1114
1134
  ref: mn,
1115
1135
  "font-size": L.value.style.chart.layout.grid.axis.fontSize,
1116
1136
  fill: L.value.style.chart.layout.grid.axis.color,
1117
- transform: `translate(${L.value.style.chart.layout.grid.axis.fontSize}, ${W.value.top + W.value.height / 2}) rotate(-90)`,
1137
+ transform: `translate(${U.value ? W.value.absoluteWidth - L.value.style.chart.layout.grid.axis.fontSize / 2 - L.value.style.chart.layout.grid.axis.yLabelOffsetX : L.value.style.chart.layout.grid.axis.fontSize}, ${W.value.top + W.value.height / 2}) rotate(-90)`,
1118
1138
  "text-anchor": "middle",
1119
1139
  style: { transition: "none" }
1120
1140
  }, T(L.value.style.chart.layout.grid.axis.yLabel), 9, gt)) : p("", !0), L.value.style.chart.layout.grid.axis.xLabel ? (x(), m("text", {
@@ -1135,20 +1155,20 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
1135
1155
  "donut-opacity": !0,
1136
1156
  "donut-behind": j.value !== null
1137
1157
  })
1138
- }, [(x(!0), m(u, null, C(or.value, (e, t) => (x(), m("g", null, [e.value >= Y.value.min && e.value <= Y.value.max ? (x(), m("line", {
1158
+ }, [(x(!0), m(u, null, C(sr.value, (e, t) => (x(), m("g", null, [e.value >= Y.value.min && e.value <= Y.value.max ? (x(), m("line", {
1139
1159
  key: 0,
1140
- x1: W.value.left,
1141
- x2: W.value.left - 5,
1160
+ x1: U.value ? W.value.right : W.value.left,
1161
+ x2: U.value ? W.value.right + 5 : W.value.left - 5,
1142
1162
  y1: e.y,
1143
1163
  y2: e.y,
1144
1164
  stroke: L.value.style.chart.layout.grid.stroke,
1145
1165
  "stroke-width": L.value.style.chart.layout.grid.strokeWidth
1146
1166
  }, null, 8, vt)) : p("", !0), e.value >= Y.value.min && e.value <= Y.value.max ? (x(), m("text", {
1147
1167
  key: 1,
1148
- x: W.value.left + L.value.style.chart.layout.grid.yAxis.dataLabels.offsetX - 7,
1168
+ x: U.value ? W.value.right - L.value.style.chart.layout.grid.yAxis.dataLabels.offsetX + 7 : W.value.left + L.value.style.chart.layout.grid.yAxis.dataLabels.offsetX - 7,
1149
1169
  y: e.y + L.value.style.chart.layout.grid.yAxis.dataLabels.fontSize / 3,
1150
1170
  "font-size": L.value.style.chart.layout.grid.yAxis.dataLabels.fontSize,
1151
- "text-anchor": "end",
1171
+ "text-anchor": U.value ? "start" : "end",
1152
1172
  fill: L.value.style.chart.layout.grid.yAxis.dataLabels.color,
1153
1173
  "font-weight": L.value.style.chart.layout.grid.yAxis.dataLabels.bold ? "bold" : "normal"
1154
1174
  }, T(E(te)(e.value) ? E(oe)(L.value.style.chart.layout.dataLabels.formatter, e.value, E(n)({
@@ -1212,7 +1232,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
1212
1232
  "donut-opacity": !0,
1213
1233
  "donut-behind": t !== j.value && j.value !== null
1214
1234
  }) }, [e.subtotal ? (x(), m("g", Et, [j.value !== null && j.value === t ? (x(), m("g", Dt, [
1215
- (x(!0), m(u, null, C(e.donutHover, (t) => (x(), m("g", null, [Er(t) ? (x(), m("path", {
1235
+ (x(!0), m(u, null, C(e.donutHover, (t) => (x(), m("g", null, [Dr(t) ? (x(), m("path", {
1216
1236
  key: 0,
1217
1237
  d: E(ue)(t, {
1218
1238
  x: t.center.endX,
@@ -1227,7 +1247,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
1227
1247
  "stroke-linejoin": "round",
1228
1248
  fill: "none"
1229
1249
  }, null, 8, Ot)) : p("", !0)]))), 256)),
1230
- (x(!0), m(u, null, C(e.donutHover, (t, n) => (x(), m("g", null, [Er(t) ? (x(), m("text", {
1250
+ (x(!0), m(u, null, C(e.donutHover, (t, n) => (x(), m("g", null, [Dr(t) ? (x(), m("text", {
1231
1251
  key: 0,
1232
1252
  "data-cy-hover-label": "",
1233
1253
  "text-anchor": E(pe)(t, !0, 0).anchor,
@@ -1236,7 +1256,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
1236
1256
  fill: L.value.style.chart.layout.grid.yAxis.dataLabels.color,
1237
1257
  "font-size": 8,
1238
1258
  "font-weight": "bold"
1239
- }, T(t.name) + ": " + T(cr(t, e.donut)) + " (" + T(t.value === null ? "-" : sr(t.value, t, n)) + ") ", 9, kt)) : p("", !0)]))), 256)),
1259
+ }, T(t.name) + ": " + T(lr(t, e.donut)) + " (" + T(t.value === null ? "-" : cr(t.value, t, n)) + ") ", 9, kt)) : p("", !0)]))), 256)),
1240
1260
  h("g", null, [h("circle", {
1241
1261
  cx: e.x,
1242
1262
  cy: e.y,
@@ -1275,14 +1295,14 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
1275
1295
  "font-size": L.value.style.chart.layout.dataLabels.fontSize,
1276
1296
  "font-weight": "bold",
1277
1297
  fill: L.value.style.chart.layout.dataLabels.color
1278
- }, T(sr(e.subtotal, e, t)), 9, Lt)) : p("", !0)], 2))), 256)),
1298
+ }, T(cr(e.subtotal, e, t)), 9, Lt)) : p("", !0)], 2))), 256)),
1279
1299
  (x(!0), m(u, null, C(X.value, (e, t) => (x(), m("rect", {
1280
1300
  x: W.value.left + t * J.value,
1281
1301
  y: W.value.top,
1282
1302
  width: J.value,
1283
1303
  height: W.value.height,
1284
- fill: [j.value, Z.value].includes(e.index) ? `url(#hover_${k.value})` : "transparent",
1285
- class: v({ "donut-hover": R.value && e.subtotal && [j.value, Z.value].includes(e.index) }),
1304
+ fill: [j.value, fr.value].includes(e.index) ? `url(#hover_${k.value})` : "transparent",
1305
+ class: v({ "donut-hover": R.value && e.subtotal && [j.value, fr.value].includes(e.index) }),
1286
1306
  style: { pointerEvents: "none" }
1287
1307
  }, null, 10, Rt))), 256)),
1288
1308
  (x(!0), m(u, null, C(X.value, (e, t) => (x(), m("rect", {
@@ -1292,29 +1312,29 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
1292
1312
  width: J.value,
1293
1313
  height: W.value.height,
1294
1314
  fill: "transparent",
1295
- onMouseenter: (t) => ur(e),
1296
- onMouseleave: (t) => lr(e),
1297
- onClick: (n) => dr(e, t),
1315
+ onMouseenter: (t) => dr(e),
1316
+ onMouseleave: (t) => ur(e),
1317
+ onClick: (n) => pr(e, t),
1298
1318
  class: v({ "donut-hover": R.value && j.value === e.index && e.subtotal })
1299
1319
  }, null, 42, zt))), 256)),
1300
1320
  w(e.$slots, "svg", { svg: {
1301
1321
  ...W.value,
1302
- isPrintingImg: E(Gn) || E(Kn) || vn.value,
1303
- isPrintingSvg: yn.value
1322
+ isPrintingImg: E(Kn) || E(qn) || _n.value,
1323
+ isPrintingSvg: vn.value
1304
1324
  } }, void 0, !0)
1305
1325
  ], 46, nt)), e.$slots.hint ? (x(), m("div", Bt, [w(e.$slots, "hint", y(_({
1306
1326
  hint: L.value.a11y.translations.keyboardNavigation,
1307
1327
  isVisible: On.value
1308
1328
  })), void 0, !0)])) : p("", !0)]),
1309
- e.$slots.watermark ? (x(), m("div", Vt, [w(e.$slots, "watermark", y(_({ isPrinting: E(Gn) || E(Kn) || vn.value || yn.value })), void 0, !0)])) : p("", !0),
1329
+ e.$slots.watermark ? (x(), m("div", Vt, [w(e.$slots, "watermark", y(_({ isPrinting: E(Kn) || E(qn) || _n.value || vn.value })), void 0, !0)])) : p("", !0),
1310
1330
  h("div", {
1311
1331
  ref_key: "chartSlicer",
1312
- ref: wn,
1332
+ ref: Cn,
1313
1333
  style: b(`width:100%;background:${L.value.style.chart.backgroundColor}`),
1314
1334
  "data-dom-to-png-ignore": ""
1315
1335
  }, [K.value > 1 && L.value.style.chart.zoom.show ? (x(), f(Le, {
1316
1336
  ref_key: "slicerComponent",
1317
- ref: Cn,
1337
+ ref: Sn,
1318
1338
  key: `slicer_${sn.value}`,
1319
1339
  background: L.value.style.chart.zoom.color,
1320
1340
  borderColor: L.value.style.chart.backgroundColor,
@@ -1375,24 +1395,24 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
1375
1395
  to: L.value.style.chart.legend.position === "top" ? `#legend-top-${k.value}` : `#legend-bottom-${k.value}`
1376
1396
  }, [h("div", {
1377
1397
  ref_key: "chartLegend",
1378
- ref: xn
1379
- }, [w(e.$slots, "legend", { legend: fr.value }, () => [L.value.style.chart.legend.show ? (x(), f(Fe, {
1398
+ ref: bn
1399
+ }, [w(e.$slots, "legend", { legend: mr.value }, () => [L.value.style.chart.legend.show ? (x(), f(Fe, {
1380
1400
  key: `legend_${un.value}`,
1381
- legendSet: fr.value,
1382
- config: mr.value,
1383
- onClickMarker: r[2] ||= ({ legend: e }) => gr(e.uid)
1401
+ legendSet: mr.value,
1402
+ config: gr.value,
1403
+ onClickMarker: r[2] ||= ({ legend: e }) => vr(e.uid)
1384
1404
  }, {
1385
1405
  item: D(({ legend: e, index: t }) => [h("div", {
1386
- onClick: (t) => gr(e.uid),
1406
+ onClick: (t) => vr(e.uid),
1387
1407
  style: b(`opacity:${A.value.includes(e.uid) ? .5 : 1}`)
1388
1408
  }, T(e.display), 13, Ut)]),
1389
- legendToggle: D(() => [fr.value.length > 2 && L.value.style.chart.legend.selectAllToggle.show && !E(Pn) ? (x(), f(je, {
1409
+ legendToggle: D(() => [mr.value.length > 2 && L.value.style.chart.legend.selectAllToggle.show && !E(Pn) ? (x(), f(je, {
1390
1410
  key: 0,
1391
1411
  backgroundColor: L.value.style.chart.legend.selectAllToggle.backgroundColor,
1392
1412
  color: L.value.style.chart.legend.selectAllToggle.color,
1393
1413
  fontSize: L.value.style.chart.legend.fontSize,
1394
1414
  checked: A.value.length > 0,
1395
- onToggle: hr
1415
+ onToggle: _r
1396
1416
  }, null, 8, [
1397
1417
  "backgroundColor",
1398
1418
  "color",
@@ -1404,24 +1424,24 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
1404
1424
  e.$slots.source ? (x(), m("div", {
1405
1425
  key: 7,
1406
1426
  ref_key: "source",
1407
- ref: Sn,
1427
+ ref: xn,
1408
1428
  dir: "auto"
1409
1429
  }, [w(e.$slots, "source", {}, void 0, !0)], 512)) : p("", !0),
1410
- An.value && L.value.userOptions.buttons.table ? (x(), f(Ke(Mr.value.component), He({ key: 8 }, Mr.value.props, {
1430
+ An.value && L.value.userOptions.buttons.table ? (x(), f(Ke(Nr.value.component), He({ key: 8 }, Nr.value.props, {
1411
1431
  ref_key: "tableUnit",
1412
- ref: gn,
1413
- onClose: Nr
1432
+ ref: F,
1433
+ onClose: Pr
1414
1434
  }), ze({
1415
1435
  content: D(() => [(x(), f(E(Jt), {
1416
1436
  key: `table_${ln.value}`,
1417
- colNames: Q.value.colNames,
1418
- head: Q.value.head,
1419
- body: Q.value.body,
1420
- config: Q.value.config,
1421
- title: L.value.table.useDialog ? "" : Mr.value.title,
1437
+ colNames: Z.value.colNames,
1438
+ head: Z.value.head,
1439
+ body: Z.value.body,
1440
+ config: Z.value.config,
1441
+ title: L.value.table.useDialog ? "" : Nr.value.title,
1422
1442
  withCloseButton: !L.value.table.useDialog,
1423
1443
  isCursorPointer: R.value,
1424
- onClose: Nr
1444
+ onClose: Pr
1425
1445
  }, {
1426
1446
  th: D(({ th: e }) => [Be(T(e.name ?? e), 1)]),
1427
1447
  td: D(({ td: e }) => [e.value === null ? (x(), m("span", Wt, "-")) : (x(), m("b", Gt, T(isNaN(e.value) ? "" : L.value.style.chart.layout.dataLabels.prefix) + T(!isNaN(e.value) && e.value !== null ? Number(e.value.toFixed(L.value.table.td.roundingValue)).toLocaleString() : e) + T(isNaN(e.value) ? "" : L.value.style.chart.layout.dataLabels.suffix), 1)), h("span", null, T(e.percentage && !isNaN(e.percentage) ? `(${Number(e.percentage.toFixed(L.value.table.td.roundingPercentage)).toLocaleString()}%)` : ""), 1)]),
@@ -1438,40 +1458,40 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
1438
1458
  _: 2
1439
1459
  }, [L.value.table.useDialog ? {
1440
1460
  name: "title",
1441
- fn: D(() => [Be(T(Mr.value.title), 1)]),
1461
+ fn: D(() => [Be(T(Nr.value.title), 1)]),
1442
1462
  key: "0"
1443
1463
  } : void 0, L.value.table.useDialog ? {
1444
1464
  name: "actions",
1445
1465
  fn: D(() => [h("button", {
1446
1466
  tabindex: "0",
1447
1467
  class: "vue-ui-user-options-button",
1448
- onClick: r[3] ||= (e) => xr(L.value.userOptions.callbacks.csv),
1468
+ onClick: r[3] ||= (e) => Cr(L.value.userOptions.callbacks.csv),
1449
1469
  style: b({ cursor: R.value ? "cursor" : "default" })
1450
1470
  }, [Ve(E(qt), {
1451
1471
  name: "fileCsv",
1452
- stroke: Mr.value.props.color
1472
+ stroke: Nr.value.props.color
1453
1473
  }, null, 8, ["stroke"])], 4)]),
1454
1474
  key: "1"
1455
1475
  } : void 0]), 1040)) : p("", !0),
1456
1476
  L.value.style.chart.dialog.show ? (x(), f(E($t), {
1457
1477
  key: 9,
1458
1478
  ref_key: "dialog",
1459
- ref: kr,
1479
+ ref: Ar,
1460
1480
  onClose: r[4] ||= (e) => {
1461
- N.value = null, rn.value = !1, M.value = null, j.value = null, Z.value = null;
1481
+ N.value = null, rn.value = !1, M.value = null, j.value = null, fr.value = null;
1462
1482
  },
1463
1483
  backgroundColor: L.value.style.chart.dialog.backgroundColor,
1464
1484
  color: L.value.style.chart.dialog.color,
1465
1485
  headerBg: L.value.style.chart.dialog.header.backgroundColor,
1466
1486
  headerColor: L.value.style.chart.dialog.header.color,
1467
- isFullscreen: $.value,
1487
+ isFullscreen: Q.value,
1468
1488
  fullscreenParent: P.value
1469
1489
  }, {
1470
1490
  title: D(() => [Be(T(q.value[Number(N.value.index)] ? q.value[Number(N.value.index)].text : ""), 1)]),
1471
1491
  content: D(() => [N.value ? (x(), f(E(Qt), {
1472
1492
  key: 0,
1473
- config: Or.value,
1474
- dataset: Dr.value
1493
+ config: kr.value,
1494
+ dataset: Or.value
1475
1495
  }, null, 8, ["config", "dataset"])) : p("", !0)]),
1476
1496
  _: 1
1477
1497
  }, 8, [
@@ -1485,6 +1505,6 @@ var Ze = /* @__PURE__ */ e({ default: () => Kt }), Qe = ["id"], $e = ["id"], et
1485
1505
  E(Pn) ? (x(), f(xe, { key: 10 })) : p("", !0)
1486
1506
  ], 46, Qe));
1487
1507
  }
1488
- }, [["__scopeId", "data-v-f8f6d1bc"]]);
1508
+ }, [["__scopeId", "data-v-63ca0b0c"]]);
1489
1509
  //#endregion
1490
1510
  export { Ze as n, Kt as t };