vue-data-ui 3.22.6 → 3.22.8

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 (203) hide show
  1. package/dist/{Arrow-Ds4xmpiQ.js → Arrow-DdymhUfY.js} +1 -1
  2. package/dist/{BaseDraggableDialog-VbypEaAa.js → BaseDraggableDialog-DcfGlH8A.js} +2 -2
  3. package/dist/{BaseIcon-DcUvOfxf.js → BaseIcon-C2qlyHc7.js} +1 -1
  4. package/dist/{BaseLegendToggle-DFwIY5bE.js → BaseLegendToggle-DtQ8vyfr.js} +1 -1
  5. package/dist/{BaseZoomControls-DwolSINF.js → BaseZoomControls-C6zonwhr.js} +2 -2
  6. package/dist/{ColorPicker-UVDPcrjE.js → ColorPicker-CK2-h611.js} +2 -2
  7. package/dist/{DataTable-CXfvIulC.js → DataTable-D9NvewTT.js} +2 -2
  8. package/dist/{Legend-D-635Kag.js → Legend-ROt6ugzW.js} +2 -2
  9. package/dist/{NonSvgPenAndPaper-pR_1qp3s.js → NonSvgPenAndPaper-BHHNsVVP.js} +29 -29
  10. package/dist/{PackageVersion-Da7hl-34.js → PackageVersion-DW7zwRcm.js} +1 -1
  11. package/dist/{PenAndPaper-Bk2-E7V4.js → PenAndPaper-pcgwlYr2.js} +18 -18
  12. package/dist/{Shape-BSetplwm.js → Shape-UpH0a4Ur.js} +3 -3
  13. package/dist/{Slicer-ClIGOuoX.js → Slicer-BZ5VnOOS.js} +19 -19
  14. package/dist/{SlicerPreview-D1n9AW39.js → SlicerPreview-BQFeCw0m.js} +351 -351
  15. package/dist/{SparkTooltip-CjDAyolg.js → SparkTooltip-BTLN-Kex.js} +6 -6
  16. package/dist/{Title-C-p0ilWB.js → Title-CcNiYzEo.js} +1 -1
  17. package/dist/{Tooltip-YabpoXo1.js → Tooltip-CxOrWlFy.js} +1 -1
  18. package/dist/{UserOptions-BO4VFL8O.js → UserOptions-16uF1ayB.js} +2 -2
  19. package/dist/components/arrow.js +1 -1
  20. package/dist/components/vue-ui-3d-bar.js +1 -1
  21. package/dist/components/vue-ui-accordion.js +1 -1
  22. package/dist/components/vue-ui-age-pyramid.js +1 -1
  23. package/dist/components/vue-ui-annotator.js +1 -1
  24. package/dist/components/vue-ui-bullet.js +1 -1
  25. package/dist/components/vue-ui-bump.js +1 -1
  26. package/dist/components/vue-ui-candlestick.js +1 -1
  27. package/dist/components/vue-ui-carousel-table.js +1 -1
  28. package/dist/components/vue-ui-chestnut.js +1 -1
  29. package/dist/components/vue-ui-chord.js +1 -1
  30. package/dist/components/vue-ui-circle-pack.js +1 -1
  31. package/dist/components/vue-ui-cursor.js +1 -1
  32. package/dist/components/vue-ui-dag.js +1 -1
  33. package/dist/components/vue-ui-dashboard.js +1 -1
  34. package/dist/components/vue-ui-digits.js +1 -1
  35. package/dist/components/vue-ui-donut-evolution.js +1 -1
  36. package/dist/components/vue-ui-donut.js +1 -1
  37. package/dist/components/vue-ui-dumbbell.js +1 -1
  38. package/dist/components/vue-ui-flow.js +1 -1
  39. package/dist/components/vue-ui-funnel.js +1 -1
  40. package/dist/components/vue-ui-galaxy.js +1 -1
  41. package/dist/components/vue-ui-gauge.js +1 -1
  42. package/dist/components/vue-ui-geo.js +1 -1
  43. package/dist/components/vue-ui-gizmo.js +1 -1
  44. package/dist/components/vue-ui-heatmap.js +1 -1
  45. package/dist/components/vue-ui-history-plot.js +1 -1
  46. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  47. package/dist/components/vue-ui-icon.js +1 -1
  48. package/dist/components/vue-ui-kpi.js +1 -1
  49. package/dist/components/vue-ui-mini-loader.js +1 -1
  50. package/dist/components/vue-ui-molecule.js +1 -1
  51. package/dist/components/vue-ui-mood-radar.js +1 -1
  52. package/dist/components/vue-ui-nested-donuts.js +1 -1
  53. package/dist/components/vue-ui-onion.js +1 -1
  54. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  55. package/dist/components/vue-ui-quadrant.js +1 -1
  56. package/dist/components/vue-ui-quick-chart.js +1 -1
  57. package/dist/components/vue-ui-radar.js +1 -1
  58. package/dist/components/vue-ui-rating.js +1 -1
  59. package/dist/components/vue-ui-relation-circle.js +1 -1
  60. package/dist/components/vue-ui-ridgeline.js +1 -1
  61. package/dist/components/vue-ui-rings.js +1 -1
  62. package/dist/components/vue-ui-scatter.js +1 -1
  63. package/dist/components/vue-ui-skeleton.js +1 -1
  64. package/dist/components/vue-ui-smiley.js +1 -1
  65. package/dist/components/vue-ui-spark-trend.js +1 -1
  66. package/dist/components/vue-ui-sparkbar.js +1 -1
  67. package/dist/components/vue-ui-sparkgauge.js +1 -1
  68. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  69. package/dist/components/vue-ui-sparkline.js +1 -1
  70. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  71. package/dist/components/vue-ui-stackbar.js +1 -1
  72. package/dist/components/vue-ui-stackline.js +1 -1
  73. package/dist/components/vue-ui-strip-plot.js +1 -1
  74. package/dist/components/vue-ui-table-heatmap.js +1 -1
  75. package/dist/components/vue-ui-table-sparkline.js +1 -1
  76. package/dist/components/vue-ui-table.js +1 -1
  77. package/dist/components/vue-ui-thermometer.js +1 -1
  78. package/dist/components/vue-ui-timer.js +1 -1
  79. package/dist/components/vue-ui-tiremarks.js +1 -1
  80. package/dist/components/vue-ui-treemap.js +1 -1
  81. package/dist/components/vue-ui-vertical-bar.js +1 -1
  82. package/dist/components/vue-ui-waffle.js +1 -1
  83. package/dist/components/vue-ui-wheel.js +1 -1
  84. package/dist/components/vue-ui-word-cloud.js +1 -1
  85. package/dist/components/vue-ui-world.js +1 -1
  86. package/dist/components/vue-ui-xy-canvas.js +1 -1
  87. package/dist/components/vue-ui-xy.js +1 -1
  88. package/dist/{dom-to-png-CVJfsfwL.js → dom-to-png-BbwhsRIr.js} +1 -1
  89. package/dist/exposedLib-VXFp3Z2c.js +19 -0
  90. package/dist/{geoProjections-Czak6Jn1.js → geoProjections-BbN7z57k.js} +172 -15
  91. package/dist/{img-B_y5qDdm.js → img-DnP3eXuv.js} +1 -1
  92. package/dist/{labelUtils-CyVwqXSh.js → labelUtils-DBEh078l.js} +1 -1
  93. package/dist/{lib-DRBJCmHW.js → lib-JqW18y5I.js} +49 -30
  94. package/dist/{package-DyQ_PQis.js → package-gp9pYCfN.js} +1 -1
  95. package/dist/{pdf-CG02qhAH.js → pdf-hj3gzrE7.js} +1 -1
  96. package/dist/{render-common-CUAlQvAQ.js → render-common-CLn1VXJ9.js} +20 -20
  97. package/dist/ssr/vue-ui-donut.js +1 -1
  98. package/dist/ssr/vue-ui-xy.js +1 -1
  99. package/dist/ssr.js +2 -2
  100. package/dist/style.css +1 -1
  101. package/dist/types/utils.d.ts +18 -0
  102. package/dist/{useAutoSizeLabelsInsideViewbox-DPMOys9n.js → useAutoSizeLabelsInsideViewbox-BGnDfZdg.js} +1 -1
  103. package/dist/{useNestedProp-BEo2N1Db.js → useNestedProp-DIuuzG1r.js} +1 -1
  104. package/dist/{usePrinter-CRp5IW3v.js → usePrinter-CqqHmnBI.js} +2 -2
  105. package/dist/utils.js +23 -23
  106. package/dist/{vue-data-ui-Bpu4kxlm.js → vue-data-ui-AZZ9Cq-4.js} +68 -68
  107. package/dist/vue-data-ui.js +77 -77
  108. package/dist/{vue-ui-3d-bar-BAH0jNtT.js → vue-ui-3d-bar-B3HxJmDI.js} +124 -124
  109. package/dist/{vue-ui-accordion-CfMrbDoq.js → vue-ui-accordion-YyosvEPo.js} +3 -3
  110. package/dist/vue-ui-age-pyramid-DTAOc7fn.js +1238 -0
  111. package/dist/{vue-ui-annotator-CG6rhFpy.js → vue-ui-annotator-CfJXeAOE.js} +6 -6
  112. package/dist/vue-ui-bullet-CCLnrOLm.js +710 -0
  113. package/dist/vue-ui-bump-Rq7efdoe.js +1249 -0
  114. package/dist/vue-ui-candlestick-D-Z9pEaA.js +1829 -0
  115. package/dist/vue-ui-carousel-table-Lx5Zk4dG.js +455 -0
  116. package/dist/{vue-ui-chestnut-Cx8T3NEl.js → vue-ui-chestnut-RfWMGUD-.js} +114 -114
  117. package/dist/{vue-ui-chord-B-sauvLo.js → vue-ui-chord-Db1O_diJ.js} +57 -57
  118. package/dist/vue-ui-circle-pack-B4Ro7UuI.js +1608 -0
  119. package/dist/{vue-ui-cursor-DVsEm_4l.js → vue-ui-cursor-DLP7wxsw.js} +61 -61
  120. package/dist/{vue-ui-dag-Cfi0b9qm.js → vue-ui-dag-DL3zq0F2.js} +37 -37
  121. package/dist/{vue-ui-dashboard-F_NZ1xoQ.js → vue-ui-dashboard-C2ozZ-LI.js} +69 -69
  122. package/dist/{vue-ui-digits-BfP1kbj3.js → vue-ui-digits-ThFVNO3l.js} +3 -3
  123. package/dist/{vue-ui-donut-DlVRnVr_.js → vue-ui-donut-BuTd6dt4.js} +224 -224
  124. package/dist/{vue-ui-donut-BwAyvV3-.js → vue-ui-donut-C3Rt6j-I.js} +458 -458
  125. package/dist/vue-ui-donut-evolution-DY46UPF_.js +1510 -0
  126. package/dist/vue-ui-dumbbell-wK7vUB0x.js +1530 -0
  127. package/dist/{vue-ui-flow-D_7Idmmw.js → vue-ui-flow-BTUNfWb7.js} +122 -122
  128. package/dist/vue-ui-funnel-BhoHzyHa.js +777 -0
  129. package/dist/{vue-ui-galaxy-Bjxbg5_B.js → vue-ui-galaxy-DJ2uNYcN.js} +263 -263
  130. package/dist/{vue-ui-gauge-Dt0H7DgC.js → vue-ui-gauge-Cf4NqvrO.js} +226 -226
  131. package/dist/{vue-ui-geo-89DEQb5l.js → vue-ui-geo-ovHu_Sc9.js} +21 -21
  132. package/dist/{vue-ui-gizmo-CQyLK18v.js → vue-ui-gizmo-DDxEj-qe.js} +7 -7
  133. package/dist/{vue-ui-heatmap-o6MvoxBK.js → vue-ui-heatmap-Npqnvb1r.js} +282 -282
  134. package/dist/vue-ui-history-plot-C3Kjy2tc.js +1715 -0
  135. package/dist/vue-ui-horizontal-bar-D1rCsgqt.js +1683 -0
  136. package/dist/{vue-ui-kpi-4C-j92D-.js → vue-ui-kpi-BrlfYO-j.js} +4 -4
  137. package/dist/{vue-ui-mini-loader-Bj4Wv-i8.js → vue-ui-mini-loader-D5we7V_W.js} +2 -2
  138. package/dist/vue-ui-molecule-CExCqZ08.js +925 -0
  139. package/dist/{vue-ui-mood-radar-B5W35Fvp.js → vue-ui-mood-radar-DlVh6hwx.js} +27 -27
  140. package/dist/vue-ui-nested-donuts-3TRV8pN-.js +1487 -0
  141. package/dist/vue-ui-onion-DwKK9DXn.js +1200 -0
  142. package/dist/{vue-ui-parallel-coordinate-plot-DBpHCFxa.js → vue-ui-parallel-coordinate-plot-DSp_cwU-.js} +57 -57
  143. package/dist/vue-ui-quadrant-ByVg-NBs.js +1978 -0
  144. package/dist/{vue-ui-quick-chart-so_8PzvS.js → vue-ui-quick-chart-WMzSJxGZ.js} +188 -188
  145. package/dist/{vue-ui-radar-5fQ5AAWD.js → vue-ui-radar-DE-me6OC.js} +64 -64
  146. package/dist/vue-ui-rating-CzD3EQ3G.js +343 -0
  147. package/dist/vue-ui-relation-circle-L7-dTqet.js +924 -0
  148. package/dist/vue-ui-ridgeline-Cp3YP0xe.js +1622 -0
  149. package/dist/vue-ui-rings-WzWiEo9W.js +1246 -0
  150. package/dist/vue-ui-scatter-DwrAydha.js +2413 -0
  151. package/dist/{vue-ui-skeleton-BkxB6Dik.js → vue-ui-skeleton-CuFm4PtB.js} +58 -58
  152. package/dist/{vue-ui-smiley-C4g0iaF7.js → vue-ui-smiley-D4NnZ1mg.js} +17 -17
  153. package/dist/{vue-ui-spark-trend-0FELlq4x.js → vue-ui-spark-trend-C38ysZ-c.js} +21 -21
  154. package/dist/{vue-ui-sparkbar-D-i_VLO6.js → vue-ui-sparkbar-B03ndcUe.js} +80 -80
  155. package/dist/{vue-ui-sparkgauge-CWw6w_ng.js → vue-ui-sparkgauge-DgPc4vPT.js} +7 -7
  156. package/dist/{vue-ui-sparkhistogram-DuGpkfma.js → vue-ui-sparkhistogram-D02ff7ZI.js} +115 -115
  157. package/dist/{vue-ui-sparkline-Bi06lHQd.js → vue-ui-sparkline-DlTfNQj8.js} +464 -464
  158. package/dist/vue-ui-sparkstackbar-DrmiWFlw.js +662 -0
  159. package/dist/vue-ui-stackbar-BVdApDnY.js +2332 -0
  160. package/dist/vue-ui-stackline-QzQQ7lTy.js +2419 -0
  161. package/dist/vue-ui-strip-plot-C-TFNvgz.js +1729 -0
  162. package/dist/{vue-ui-table-DBlZswRi.js → vue-ui-table-Q3brrivC.js} +68 -68
  163. package/dist/{vue-ui-table-heatmap-3xYIDKcP.js → vue-ui-table-heatmap-D0pZbBOH.js} +14 -14
  164. package/dist/{vue-ui-table-sparkline-BH5PzEnJ.js → vue-ui-table-sparkline-Q6BHPKUn.js} +199 -199
  165. package/dist/{vue-ui-thermometer-BxMzAqoT.js → vue-ui-thermometer-Bg0RR6m4.js} +26 -26
  166. package/dist/{vue-ui-timer-ONSitYDm.js → vue-ui-timer-BdzKpoRj.js} +29 -29
  167. package/dist/{vue-ui-tiremarks-DWXM-9nR.js → vue-ui-tiremarks-DWb69ofh.js} +17 -17
  168. package/dist/{vue-ui-treemap-B03c4RIy.js → vue-ui-treemap-uUz07Prw.js} +401 -401
  169. package/dist/vue-ui-waffle-Pi9e7Ae7.js +1362 -0
  170. package/dist/{vue-ui-wheel-DRP7X8S2.js → vue-ui-wheel-DTfvWYA7.js} +137 -137
  171. package/dist/{vue-ui-word-cloud-AKpMO97a.js → vue-ui-word-cloud-DqfljAqH.js} +40 -40
  172. package/dist/vue-ui-world-BtBrH92Z.js +3016 -0
  173. package/dist/{vue-ui-xy-Bmd11BxR.js → vue-ui-xy-Bvgy2do1.js} +1598 -1596
  174. package/dist/{vue-ui-xy-DJ8YKPgs.js → vue-ui-xy-D5KsuNR2.js} +259 -259
  175. package/dist/{vue-ui-xy-canvas-DO_PDGKf.js → vue-ui-xy-canvas-BfgeE3TW.js} +440 -437
  176. package/package.json +1 -1
  177. package/dist/exposedLib-CjwriUaG.js +0 -19
  178. package/dist/vue-ui-age-pyramid-BF5ZuuyI.js +0 -1238
  179. package/dist/vue-ui-bullet-C_oBS1cr.js +0 -710
  180. package/dist/vue-ui-bump-BZB1Na8h.js +0 -1249
  181. package/dist/vue-ui-candlestick-8d_1xO8X.js +0 -1826
  182. package/dist/vue-ui-carousel-table-BfZNcwmY.js +0 -455
  183. package/dist/vue-ui-circle-pack-BLh8HnGK.js +0 -1608
  184. package/dist/vue-ui-donut-evolution-D1k4u6cA.js +0 -1510
  185. package/dist/vue-ui-dumbbell-DgmvPpK2.js +0 -1530
  186. package/dist/vue-ui-funnel-BYCFV5TD.js +0 -777
  187. package/dist/vue-ui-history-plot-B7zuCfdg.js +0 -1715
  188. package/dist/vue-ui-horizontal-bar-CwB4sc6M.js +0 -1683
  189. package/dist/vue-ui-molecule-BDrRmwmm.js +0 -925
  190. package/dist/vue-ui-nested-donuts-wfesrzle.js +0 -1487
  191. package/dist/vue-ui-onion-B8-psLbF.js +0 -1200
  192. package/dist/vue-ui-quadrant-BzyGOJR2.js +0 -1978
  193. package/dist/vue-ui-rating-CKWHDKOT.js +0 -343
  194. package/dist/vue-ui-relation-circle-Bd_ONHCz.js +0 -924
  195. package/dist/vue-ui-ridgeline-DVbYznRz.js +0 -1622
  196. package/dist/vue-ui-rings-c-yLWFHr.js +0 -1246
  197. package/dist/vue-ui-scatter-QhmE7n1H.js +0 -2413
  198. package/dist/vue-ui-sparkstackbar-DrKgBUmt.js +0 -662
  199. package/dist/vue-ui-stackbar-DDvuDGQ_.js +0 -2329
  200. package/dist/vue-ui-stackline-C0NHBUaE.js +0 -2416
  201. package/dist/vue-ui-strip-plot-_6LL45i9.js +0 -1729
  202. package/dist/vue-ui-waffle-afa8HSxz.js +0 -1362
  203. package/dist/vue-ui-world-CqS-HhZl.js +0 -14264
@@ -1,37 +1,37 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { At as t, Dt as n, Ht as r, It as i, Lt as a, O as o, Ot as s, Q as c, S as l, Tt as u, U as ee, W as te, Wt as ne, X as d, Z as re, _t as ie, b as f, d as p, i as m, lt as ae, nt as oe, o as se, p as ce, q as h, rt as le, t as ue, u as g, v as de, w as fe } from "./lib-DRBJCmHW.js";
3
- import { t as pe } from "./useConfig-DYM3f6EI.js";
4
- import { t as me } from "./usePrinter-CRp5IW3v.js";
5
- import { n as he, t as ge } from "./BaseScanner-DZvpgOjM.js";
2
+ import { $ as t, At as n, Dt as r, G as i, J as a, Kt as o, Mt as s, Q as c, Rt as l, S as u, T as ee, W as te, Wt as ne, Z as d, b as re, d as f, dt as p, i as m, it as ie, k as ae, kt as oe, o as se, p as ce, rt as le, t as ue, u as h, v as de, yt as fe, zt as pe } from "./lib-JqW18y5I.js";
3
+ import { t as me } from "./useConfig-DYM3f6EI.js";
4
+ import { t as he } from "./usePrinter-CqqHmnBI.js";
5
+ import { n as ge, t as g } from "./BaseScanner-DZvpgOjM.js";
6
6
  import { t as _e } from "./useSvgExport-SVIsDot8.js";
7
- import { t as ve } from "./useNestedProp-BEo2N1Db.js";
7
+ import { t as ve } from "./useNestedProp-DIuuzG1r.js";
8
8
  import { t as ye } from "./useThemeCheck-C43Tcqmk.js";
9
- import { t as be } from "./img-B_y5qDdm.js";
10
- import { n as xe } from "./Title-C-p0ilWB.js";
11
- import { t as Se } from "./Shape-BSetplwm.js";
9
+ import { t as be } from "./img-DnP3eXuv.js";
10
+ import { n as xe } from "./Title-CcNiYzEo.js";
11
+ import { t as Se } from "./Shape-UpH0a4Ur.js";
12
12
  import { t as Ce } from "./_plugin-vue_export-helper-B3ysoDQm.js";
13
13
  import { c as we } from "./canvas-lib-BOP_HS11.js";
14
14
  import { t as Te } from "./useResponsive-BfnK0KxU.js";
15
- import { t as Ee } from "./BaseLegendToggle-DFwIY5bE.js";
15
+ import { t as Ee } from "./BaseLegendToggle-DtQ8vyfr.js";
16
16
  import { t as De } from "./A11yDataTable-DdRsVULz.js";
17
17
  import { t as Oe } from "./useUserOptionState-DK-_1ddE.js";
18
18
  import { t as ke } from "./useChartAccessibility-DYqac8yF.js";
19
- import { n as Ae, t as je } from "./labelUtils-CyVwqXSh.js";
19
+ import { n as Ae, t as je } from "./labelUtils-DBEh078l.js";
20
20
  import { t as Me } from "./vue_ui_donut-BDGqG07h.js";
21
- import { t as Ne } from "./Legend-D-635Kag.js";
22
- import { Fragment as _, Teleport as Pe, computed as v, createBlock as Fe, createCommentVNode as y, createElementBlock as b, createElementVNode as x, createSlots as Ie, createTextVNode as Le, createVNode as Re, defineAsyncComponent as ze, guardReactiveProps as S, mergeProps as Be, nextTick as Ve, normalizeClass as He, normalizeProps as C, normalizeStyle as w, onBeforeUnmount as Ue, onMounted as We, openBlock as T, ref as E, renderList as D, renderSlot as O, resolveDynamicComponent as Ge, shallowRef as Ke, toDisplayString as k, toRefs as qe, unref as A, useSlots as Je, vShow as Ye, watch as Xe, withCtx as j, withDirectives as Ze } from "vue";
21
+ import { t as Ne } from "./Legend-ROt6ugzW.js";
22
+ import { Fragment as _, Teleport as Pe, computed as v, createBlock as Fe, createCommentVNode as y, createElementBlock as b, createElementVNode as x, createSlots as Ie, createTextVNode as Le, createVNode as Re, defineAsyncComponent as ze, guardReactiveProps as S, mergeProps as Be, nextTick as Ve, normalizeClass as He, normalizeProps as C, normalizeStyle as w, onBeforeUnmount as Ue, onMounted as We, openBlock as T, ref as E, renderList as D, renderSlot as O, resolveDynamicComponent as Ge, shallowRef as Ke, toDisplayString as qe, toRefs as Je, unref as k, useSlots as Ye, vShow as Xe, watch as Ze, withCtx as A, withDirectives as Qe } from "vue";
23
23
  //#region src/useSmallArcLayouts.js
24
- function Qe(e) {
24
+ function $e(e) {
25
25
  let { FINAL_CONFIG: t, noGhostDonut: n, svg: r, padding: i, labels_inline_fontSize: a, minSize: o, findArcMidpoint: s, calcMarkerOffsetX: c, calcMarkerOffsetY: l, animatingIndex: u, segregated: ee, isSmallArc: te } = e;
26
26
  return { smallArcLayoutsClassic: v(() => {
27
27
  if (t.value.type !== "classic") return {};
28
28
  let e = {}, ne = n.value || [];
29
29
  if (!ne.length) return e;
30
- let d = r.value.width / 2, re = r.value.height / 2, ie = i.value.top + 16, f = r.value.height - i.value.bottom - 16, p = a.value, m = p / 3, ae = p * 1.5, oe = d - (o.value + 6), se = d + (o.value + 6), ce = !!t.value.style.chart.layout.curvedMarkers;
31
- function h({ midX: e, midY: t, bandX: n, bandY: r }) {
30
+ let d = r.value.width / 2, re = r.value.height / 2, f = i.value.top + 16, p = r.value.height - i.value.bottom - 16, m = a.value, ie = m / 3, ae = m * 1.5, oe = d - (o.value + 6), se = d + (o.value + 6), ce = !!t.value.style.chart.layout.curvedMarkers;
31
+ function le({ midX: e, midY: t, bandX: n, bandY: r }) {
32
32
  if (!ce) return `M ${e} ${t} L ${e} ${r} L ${n} ${r}`;
33
33
  let i = n < d ? -1 : 1, a = n - e, o = r - t, s = Math.sqrt(a * a + o * o) || 1, c = e - d, l = t - re, u = Math.sqrt(c * c + l * l) || 1, ee = c / u, te = l / u, ne = u + 9;
34
- function ie({ x: e, y: t }) {
34
+ function f({ x: e, y: t }) {
35
35
  let n = e - d, r = t - re, i = Math.sqrt(n * n + r * r) || 1;
36
36
  if (i >= ne) return {
37
37
  x: e,
@@ -44,34 +44,34 @@ function Qe(e) {
44
44
  };
45
45
  }
46
46
  if (s < 56) {
47
- let i = a / s, c = -(o / s), l = i, u = (e + n) * .5, ne = (t + r) * .5, f = u + c, p = ne + l, m = (f - d) * (f - d) + (p - re) * (p - re), ae = u - c, oe = ne - l;
48
- (ae - d) * (ae - d) + (oe - re) * (oe - re) > m && (c = -c, l = -l);
49
- let se = .78, ce = e + a * se, h = t + o * se, le = Math.max(0, Math.min(1, (s - 18) / 44)), ue = le * le * (3 - 2 * le), g = 2.5 + ue * 4, de = 1 + ue * 2.5;
50
- g *= .9;
51
- let fe = ie({
52
- x: ce + c * g + ee * de,
53
- y: h + l * g + te * de
47
+ let i = a / s, c = -(o / s), l = i, u = (e + n) * .5, ne = (t + r) * .5, p = u + c, m = ne + l, ie = (p - d) * (p - d) + (m - re) * (m - re), ae = u - c, oe = ne - l;
48
+ (ae - d) * (ae - d) + (oe - re) * (oe - re) > ie && (c = -c, l = -l);
49
+ let se = .78, ce = e + a * se, le = t + o * se, ue = Math.max(0, Math.min(1, (s - 18) / 44)), h = ue * ue * (3 - 2 * ue), de = 2.5 + h * 4, fe = 1 + h * 2.5;
50
+ de *= .9;
51
+ let pe = f({
52
+ x: ce + c * de + ee * fe,
53
+ y: le + l * de + te * fe
54
54
  });
55
- return `M ${e} ${t} Q ${fe.x} ${fe.y} ${n} ${r}`;
55
+ return `M ${e} ${t} Q ${pe.x} ${pe.y} ${n} ${r}`;
56
56
  }
57
- let f = s * .34;
58
- f < 20 && (f = 20), f > 46 && (f = 46);
59
- let p = s * .46;
60
- p < 22 && (p = 22), p > 70 && (p = 70);
61
- let m = {
62
- x: e + ee * f,
63
- y: t + te * f
57
+ let p = s * .34;
58
+ p < 20 && (p = 20), p > 46 && (p = 46);
59
+ let m = s * .46;
60
+ m < 22 && (m = 22), m > 70 && (m = 70);
61
+ let ie = {
62
+ x: e + ee * p,
63
+ y: t + te * p
64
64
  }, ae = d + i * Math.max(Math.abs(n - d), ne), oe = {
65
- x: n - i * Math.min(p, Math.abs(ae - n) * .75),
65
+ x: n - i * Math.min(m, Math.abs(ae - n) * .75),
66
66
  y: r
67
- }, se = ie(m), h = ie(oe);
68
- return `M ${e} ${t} C ${se.x} ${se.y} ${h.x} ${h.y} ${n} ${r}`;
67
+ }, se = f(ie), le = f(oe);
68
+ return `M ${e} ${t} C ${se.x} ${se.y} ${le.x} ${le.y} ${n} ${r}`;
69
69
  }
70
- function le(e) {
70
+ function ue(e) {
71
71
  let t = String(e ?? "").split(/\n/g);
72
- return ae + Math.max(0, t.length - 1) * (p * 1.2);
72
+ return ae + Math.max(0, t.length - 1) * (m * 1.2);
73
73
  }
74
- function ue({ arc: e, index: t }) {
74
+ function h({ arc: e, index: t }) {
75
75
  let { x: n, y: r } = s(e.path);
76
76
  return {
77
77
  arc: e,
@@ -80,47 +80,47 @@ function Qe(e) {
80
80
  midY: r,
81
81
  inlineMarkerX: c(e).x,
82
82
  inlineMarkerY: l(e) - 3.5,
83
- labelHeight: le(e.name)
83
+ labelHeight: ue(e.name)
84
84
  };
85
85
  }
86
- function g(e) {
86
+ function de(e) {
87
87
  let { arc: t } = e, n = t.seriesIndex ?? 0;
88
88
  return u.value === n || ee.value.includes(n) ? !1 : te(t, n);
89
89
  }
90
- function de(e) {
90
+ function fe(e) {
91
91
  let t = e.inlineMarkerY < re, n = e.inlineMarkerX < d;
92
92
  return t && n ? "TL" : t && !n ? "TR" : !t && n ? "BL" : "BR";
93
93
  }
94
- function fe(e, t) {
94
+ function pe(e, t) {
95
95
  if (t.startsWith("T")) {
96
96
  e.sort((e, t) => e.inlineMarkerY - t.inlineMarkerY || e.index - t.index);
97
97
  return;
98
98
  }
99
99
  e.sort((e, t) => t.inlineMarkerY - e.inlineMarkerY || e.index - t.index);
100
100
  }
101
- function pe({ side: e, markerX: t, markerY: n, labelY: r, connectorPath: i }) {
101
+ function me({ side: e, markerX: t, markerY: n, labelY: r, connectorPath: i }) {
102
102
  return {
103
103
  side: e,
104
104
  labelX: e === "left" ? t - 8 : t + 8,
105
- labelY: r + m,
105
+ labelY: r + ie,
106
106
  textAnchor: e === "left" ? "end" : "start",
107
107
  markerX: t,
108
108
  markerY: n,
109
109
  connectorPath: i
110
110
  };
111
111
  }
112
- function me({ candidateList: t, side: n, bandMarkerX: r, startY: i, direction: a }) {
112
+ function he({ candidateList: t, side: n, bandMarkerX: r, startY: i, direction: a }) {
113
113
  let o = i;
114
114
  t.forEach((t) => {
115
115
  let { index: i, midX: s, midY: c, labelHeight: l } = t, u;
116
116
  a === "down" ? (u = o, o += l) : (o -= l, u = o);
117
- let ee = u, te = h({
117
+ let ee = u, te = le({
118
118
  midX: s,
119
119
  midY: c,
120
120
  bandX: r,
121
121
  bandY: ee
122
122
  });
123
- e[i] = pe({
123
+ e[i] = me({
124
124
  side: n,
125
125
  markerX: r,
126
126
  markerY: ee,
@@ -129,164 +129,164 @@ function Qe(e) {
129
129
  });
130
130
  });
131
131
  }
132
- let he = ne.map((e, t) => ue({
132
+ let ge = ne.map((e, t) => h({
133
133
  arc: e,
134
134
  index: t
135
- })).filter(g), ge = {
135
+ })).filter(de), g = {
136
136
  TL: [],
137
137
  TR: [],
138
138
  BL: [],
139
139
  BR: []
140
140
  };
141
- return he.forEach((e) => {
142
- ge[de(e)].push(e);
143
- }), Object.keys(ge).forEach((e) => {
144
- fe(ge[e], e);
145
- }), me({
146
- candidateList: ge.TL,
141
+ return ge.forEach((e) => {
142
+ g[fe(e)].push(e);
143
+ }), Object.keys(g).forEach((e) => {
144
+ pe(g[e], e);
145
+ }), he({
146
+ candidateList: g.TL,
147
147
  side: "left",
148
148
  bandMarkerX: oe,
149
- startY: ie,
149
+ startY: f,
150
150
  direction: "down"
151
- }), me({
152
- candidateList: ge.TR,
151
+ }), he({
152
+ candidateList: g.TR,
153
153
  side: "right",
154
154
  bandMarkerX: se,
155
- startY: ie,
155
+ startY: f,
156
156
  direction: "down"
157
- }), ge.BL.length > 1 && me({
158
- candidateList: ge.BL,
157
+ }), g.BL.length > 1 && he({
158
+ candidateList: g.BL,
159
159
  side: "left",
160
160
  bandMarkerX: oe,
161
- startY: f,
161
+ startY: p,
162
162
  direction: "up"
163
- }), ge.BR.length > 1 && me({
164
- candidateList: ge.BR,
163
+ }), g.BR.length > 1 && he({
164
+ candidateList: g.BR,
165
165
  side: "right",
166
166
  bandMarkerX: se,
167
- startY: f,
167
+ startY: p,
168
168
  direction: "up"
169
169
  }), e;
170
170
  }) };
171
171
  }
172
172
  //#endregion
173
173
  //#region src/components/vue-ui-donut.vue
174
- var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt = ["id"], rt = { style: { position: "relative" } }, it = [
174
+ var et = /* @__PURE__ */ e({ default: () => Sn }), tt = ["id"], nt = ["id"], rt = ["id"], it = { style: { position: "relative" } }, at = [
175
175
  "xmlns",
176
176
  "aria-describedby",
177
177
  "viewBox"
178
- ], at = ["width", "height"], ot = { key: 1 }, st = ["id"], ct = ["stop-color"], lt = ["offset", "stop-color"], ut = ["offset", "stop-color"], dt = ["stop-color"], ft = { key: 2 }, pt = [
178
+ ], ot = ["width", "height"], st = { key: 1 }, ct = ["id"], lt = ["stop-color"], ut = ["offset", "stop-color"], dt = ["offset", "stop-color"], ft = ["stop-color"], pt = { key: 2 }, mt = [
179
179
  "id",
180
180
  "cx",
181
181
  "cy"
182
- ], mt = ["stop-color", "stop-opacity"], ht = ["stop-color"], gt = ["id"], _t = ["id"], vt = ["id"], yt = ["flood-color"], bt = ["id"], xt = ["flood-color"], St = [
182
+ ], ht = ["stop-color", "stop-opacity"], gt = ["stop-color"], _t = ["id"], vt = ["id"], yt = ["id"], bt = ["flood-color"], xt = ["id"], St = ["flood-color"], Ct = [
183
183
  "d",
184
184
  "stroke",
185
185
  "filter"
186
- ], Ct = [
186
+ ], wt = [
187
187
  "d",
188
188
  "stroke",
189
189
  "filter"
190
- ], wt = [
190
+ ], Tt = [
191
191
  "cx",
192
192
  "cy",
193
193
  "r",
194
194
  "fill",
195
195
  "filter"
196
- ], Tt = { key: 6 }, Et = ["stroke", "d"], Dt = [
196
+ ], Et = { key: 6 }, Dt = ["stroke", "d"], Ot = [
197
197
  "d",
198
198
  "fill",
199
199
  "stroke",
200
200
  "stroke-width",
201
201
  "filter"
202
- ], Ot = { key: 0 }, kt = [
202
+ ], kt = { key: 0 }, At = [
203
203
  "d",
204
204
  "fill",
205
205
  "stroke",
206
206
  "stroke-width",
207
207
  "filter"
208
- ], At = { key: 0 }, jt = ["stroke", "d"], Mt = { key: 0 }, Nt = [
208
+ ], jt = { key: 0 }, Mt = ["stroke", "d"], Nt = { key: 0 }, Pt = [
209
209
  "d",
210
210
  "stroke",
211
211
  "stroke-width",
212
212
  "filter"
213
- ], Pt = { key: 1 }, Ft = [
213
+ ], Ft = { key: 1 }, It = [
214
214
  "d",
215
215
  "fill",
216
216
  "stroke",
217
217
  "stroke-width",
218
218
  "filter"
219
- ], It = [
219
+ ], Lt = [
220
220
  "d",
221
221
  "fill",
222
222
  "stroke",
223
223
  "stroke-width",
224
224
  "filter"
225
- ], Lt = { key: 1 }, Rt = [
225
+ ], Rt = { key: 1 }, zt = [
226
226
  "cx",
227
227
  "cy",
228
228
  "r",
229
229
  "fill",
230
230
  "stroke",
231
231
  "stroke-width"
232
- ], zt = [
232
+ ], Bt = [
233
233
  "cx",
234
234
  "cy",
235
235
  "r",
236
236
  "fill",
237
237
  "stroke",
238
238
  "stroke-width"
239
- ], Bt = { key: 0 }, Vt = [
239
+ ], Vt = { key: 0 }, Ht = [
240
240
  "d",
241
241
  "fill",
242
242
  "stroke",
243
243
  "stroke-width"
244
- ], Ht = [
244
+ ], Ut = [
245
245
  "cx",
246
246
  "cy",
247
247
  "r",
248
248
  "stroke"
249
- ], Ut = [
249
+ ], Wt = [
250
250
  "cx",
251
251
  "cy",
252
252
  "r",
253
253
  "fill"
254
- ], Wt = [
254
+ ], Gt = [
255
255
  "cx",
256
256
  "cy",
257
257
  "r"
258
- ], Gt = { key: 0 }, Kt = [
258
+ ], Kt = { key: 0 }, qt = [
259
259
  "d",
260
260
  "stroke",
261
261
  "fill",
262
262
  "onMouseenter",
263
263
  "onMouseleave",
264
264
  "onClick"
265
- ], qt = { key: 1 }, Jt = [
265
+ ], Jt = { key: 1 }, Yt = [
266
266
  "cx",
267
267
  "cy",
268
268
  "r"
269
- ], Yt = [
269
+ ], Xt = [
270
270
  "x",
271
271
  "y",
272
272
  "fill",
273
273
  "font-size"
274
- ], Xt = [
274
+ ], Zt = [
275
275
  "x",
276
276
  "y",
277
277
  "fill",
278
278
  "font-size"
279
- ], Zt = [
279
+ ], Qt = [
280
280
  "x",
281
281
  "y",
282
282
  "fill",
283
283
  "font-size"
284
- ], Qt = [
284
+ ], $t = [
285
285
  "x",
286
286
  "y",
287
287
  "fill",
288
288
  "font-size"
289
- ], $t = ["filter", "opacity"], en = { key: 0 }, tn = ["x", "y"], nn = { key: 1 }, rn = [
289
+ ], en = ["filter", "opacity"], tn = { key: 0 }, nn = ["x", "y"], rn = { key: 1 }, an = [
290
290
  "cx",
291
291
  "cy",
292
292
  "fill",
@@ -295,7 +295,7 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
295
295
  "onClick",
296
296
  "onMouseenter",
297
297
  "onMouseleave"
298
- ], an = [
298
+ ], on = [
299
299
  "text-anchor",
300
300
  "x",
301
301
  "y",
@@ -303,7 +303,7 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
303
303
  "onMouseenter",
304
304
  "onMouseleave",
305
305
  "innerHTML"
306
- ], on = [
306
+ ], sn = [
307
307
  "text-anchor",
308
308
  "x",
309
309
  "y",
@@ -312,7 +312,7 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
312
312
  "onClick",
313
313
  "onMouseenter",
314
314
  "onMouseleave"
315
- ], sn = [
315
+ ], cn = [
316
316
  "text-anchor",
317
317
  "x",
318
318
  "y",
@@ -322,7 +322,7 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
322
322
  "onMouseenter",
323
323
  "onMouseleave",
324
324
  "innerHTML"
325
- ], cn = [
325
+ ], ln = [
326
326
  "cx",
327
327
  "cy",
328
328
  "fill",
@@ -331,7 +331,7 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
331
331
  "onClick",
332
332
  "onMouseenter",
333
333
  "onMouseleave"
334
- ], ln = [
334
+ ], un = [
335
335
  "text-anchor",
336
336
  "x",
337
337
  "y",
@@ -339,7 +339,7 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
339
339
  "onMouseenter",
340
340
  "onMouseleave",
341
341
  "innerHTML"
342
- ], un = [
342
+ ], dn = [
343
343
  "text-anchor",
344
344
  "x",
345
345
  "y",
@@ -348,7 +348,7 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
348
348
  "onClick",
349
349
  "onMouseenter",
350
350
  "onMouseleave"
351
- ], dn = [
351
+ ], fn = [
352
352
  "text-anchor",
353
353
  "x",
354
354
  "y",
@@ -358,15 +358,15 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
358
358
  "onMouseenter",
359
359
  "onMouseleave",
360
360
  "innerHTML"
361
- ], fn = { key: 2 }, pn = [
361
+ ], pn = { key: 2 }, mn = [
362
362
  "x",
363
363
  "y",
364
364
  "width"
365
- ], mn = [
365
+ ], hn = [
366
366
  "x",
367
367
  "y",
368
368
  "width"
369
- ], hn = {
369
+ ], gn = {
370
370
  key: 0,
371
371
  style: {
372
372
  position: "absolute",
@@ -376,13 +376,13 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
376
376
  },
377
377
  "data-dom-to-png-ignore": "",
378
378
  "aria-hidden": "true"
379
- }, gn = {
379
+ }, _n = {
380
380
  key: 5,
381
381
  class: "vue-data-ui-watermark"
382
- }, _n = ["id"], vn = ["onClick"], yn = {
382
+ }, vn = ["id"], yn = ["onClick"], bn = {
383
383
  key: 8,
384
384
  class: "vue-ui-donut-hollow"
385
- }, bn = ["innerHTML"], xn = /*#__PURE__*/ Ce({
385
+ }, xn = ["innerHTML"], Sn = /*#__PURE__*/ Ce({
386
386
  __name: "vue-ui-donut",
387
387
  props: {
388
388
  config: {
@@ -403,15 +403,15 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
403
403
  "selectDatapoint",
404
404
  "copyAlt"
405
405
  ],
406
- setup(e, { expose: Ce, emit: $e }) {
407
- let xn = ze(() => import("./Tooltip-YabpoXo1.js")), Sn = ze(() => import("./BaseIcon-DcUvOfxf.js").then((e) => e.n)), Cn = ze(() => import("./vue-ui-accordion-CfMrbDoq.js").then((e) => e.n)), wn = ze(() => import("./DataTable-CXfvIulC.js")), Tn = ze(() => import("./PenAndPaper-Bk2-E7V4.js").then((e) => e.t)), En = ze(() => import("./UserOptions-BO4VFL8O.js").then((e) => e.n)), Dn = ze(() => import("./PackageVersion-Da7hl-34.js").then((e) => e.t)), On = ze(() => import("./BaseDraggableDialog-VbypEaAa.js").then((e) => e.n)), { vue_ui_donut: kn } = pe(), { isThemeValid: An, warnInvalidTheme: jn } = ye(), Mn = Je(), M = e, Nn = v({
406
+ setup(e, { expose: Ce, emit: et }) {
407
+ let Sn = ze(() => import("./Tooltip-CxOrWlFy.js")), Cn = ze(() => import("./BaseIcon-C2qlyHc7.js").then((e) => e.n)), wn = ze(() => import("./vue-ui-accordion-YyosvEPo.js").then((e) => e.n)), Tn = ze(() => import("./DataTable-D9NvewTT.js")), En = ze(() => import("./PenAndPaper-pcgwlYr2.js").then((e) => e.t)), Dn = ze(() => import("./UserOptions-16uF1ayB.js").then((e) => e.n)), On = ze(() => import("./PackageVersion-DW7zwRcm.js").then((e) => e.t)), kn = ze(() => import("./BaseDraggableDialog-DcfGlH8A.js").then((e) => e.n)), { vue_ui_donut: An } = me(), { isThemeValid: jn, warnInvalidTheme: Mn } = ye(), Nn = Ye(), j = e, Pn = v({
408
408
  get() {
409
- return !!M.dataset && M.dataset.length;
409
+ return !!j.dataset && j.dataset.length;
410
410
  },
411
411
  set(e) {
412
412
  return e;
413
413
  }
414
- }), N = Ke(null), Pn = E(null), Fn = E(null), In = E(null), Ln = Ke(null), Rn = Ke(null), zn = Ke(null), Bn = Ke(null), Vn = Ke(null), Hn = Ke(null), Un = E(0), Wn = E(0), Gn = E(0), Kn = E(!1), qn = E(null), Jn = E(null), Yn = E(!1), Xn = E(!1), Zn = E(null), Qn = E({
414
+ }), M = Ke(null), Fn = E(null), In = E(null), Ln = E(null), Rn = Ke(null), zn = Ke(null), Bn = Ke(null), Vn = Ke(null), Hn = Ke(null), Un = Ke(null), Wn = E(0), Gn = E(0), Kn = E(0), qn = E(!1), Jn = E(null), Yn = E(null), Xn = E(!1), Zn = E(!1), N = E(null), Qn = E({
415
415
  x: 0,
416
416
  y: 0
417
417
  }), $n = E("pointer"), er = E(!1), tr = v({
@@ -426,7 +426,7 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
426
426
  }), rr = !1, ir = () => {
427
427
  !L.value.autoSize || rr || (rr = !0, requestAnimationFrame(() => {
428
428
  rr = !1;
429
- let e = L.value, t = Pn.value, n = z.value;
429
+ let e = L.value, t = Fn.value, n = z.value;
430
430
  if (!e.autoSize || !t || !n) return;
431
431
  let [r, i, a, o] = n.getAttribute("viewBox").split(" ").map(Number), s = {
432
432
  x: r,
@@ -468,11 +468,11 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
468
468
  }));
469
469
  };
470
470
  We(async () => {
471
- Kn.value = !0, sr(), requestAnimationFrame(ir);
471
+ qn.value = !0, sr(), requestAnimationFrame(ir);
472
472
  });
473
473
  let ar;
474
474
  We(() => {
475
- N.value && (ar = new ResizeObserver((e) => {
475
+ M.value && (ar = new ResizeObserver((e) => {
476
476
  for (let t of e) {
477
477
  let { width: e, height: n } = t.contentRect;
478
478
  if (e > 0 && n > 0) {
@@ -480,80 +480,80 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
480
480
  break;
481
481
  }
482
482
  }
483
- }), ar.observe(N.value.parentElement));
483
+ }), ar.observe(M.value.parentElement));
484
484
  }), Ue(() => {
485
485
  ar?.disconnect();
486
486
  }), Ue(() => {
487
- zn.value && (Bn.value && zn.value.unobserve(Bn.value), zn.value.disconnect());
487
+ Bn.value && (Vn.value && Bn.value.unobserve(Vn.value), Bn.value.disconnect());
488
488
  });
489
489
  let or = v(() => !!L.value.debug);
490
490
  function sr() {
491
- if (n(M.dataset) ? (c({
491
+ if (oe(j.dataset) ? (t({
492
492
  componentName: "VueUiDonut",
493
493
  type: "dataset",
494
494
  debug: or.value
495
- }), Nn.value = !1, gr.value = !0) : (M.dataset.forEach((e, t) => {
496
- ae({
495
+ }), Pn.value = !1, gr.value = !0) : (j.dataset.forEach((e, n) => {
496
+ p({
497
497
  datasetObject: e,
498
498
  requiredAttributes: ["name", "values"]
499
499
  }).forEach((e) => {
500
- c({
500
+ t({
501
501
  componentName: "VueUiDonut",
502
502
  type: "datasetSerieAttribute",
503
503
  property: e,
504
- index: t,
504
+ index: n,
505
505
  debug: or.value
506
- }), Nn.value = !1, gr.value = !0;
506
+ }), Pn.value = !1, gr.value = !0;
507
507
  });
508
- }), M.dataset.forEach((e, t) => {
509
- (!e.name || e.name === "") && c({
508
+ }), j.dataset.forEach((e, n) => {
509
+ (!e.name || e.name === "") && t({
510
510
  componentName: "VueUiDonut",
511
511
  type: "datasetAttributeEmpty",
512
512
  property: "name",
513
- index: t,
513
+ index: n,
514
514
  debug: or.value
515
515
  });
516
- })), n(M.dataset) || (gr.value = L.value.loading), L.value.responsive) {
516
+ })), oe(j.dataset) || (gr.value = L.value.loading), L.value.responsive) {
517
517
  let e = we(() => {
518
518
  let { width: e, height: t } = Te({
519
- chart: N.value,
520
- title: L.value.style.chart.title.text ? Ln.value : null,
521
- legend: L.value.style.chart.legend.show ? Rn.value : null,
522
- source: Vn.value,
523
- noTitle: Hn.value,
519
+ chart: M.value,
520
+ title: L.value.style.chart.title.text ? Rn.value : null,
521
+ legend: L.value.style.chart.legend.show ? zn.value : null,
522
+ source: Hn.value,
523
+ noTitle: Un.value,
524
524
  padding: L.value.autoSize ? void 0 : Dr.value
525
525
  });
526
526
  requestAnimationFrame(() => {
527
527
  V.value.width = e, V.value.height = t, ir();
528
528
  });
529
529
  });
530
- zn.value && (Bn.value && zn.value.unobserve(Bn.value), zn.value.disconnect()), zn.value = new ResizeObserver(e), Bn.value = N.value.parentNode, zn.value.observe(Bn.value);
530
+ Bn.value && (Vn.value && Bn.value.unobserve(Vn.value), Bn.value.disconnect()), Bn.value = new ResizeObserver(e), Vn.value = M.value.parentNode, Bn.value.observe(Vn.value);
531
531
  }
532
532
  }
533
- let F = E(te()), cr = E(!1), lr = E(""), I = E(null), ur = E(0);
533
+ let F = E(i()), cr = E(!1), lr = E(""), I = E(null), ur = E(0);
534
534
  function dr() {
535
535
  let e = ve({
536
- userConfig: M.config,
537
- defaultConfig: kn
538
- }), n = {}, i = e.theme;
539
- if (!i) n = e;
540
- else if (!An.value(e)) jn(e), n = e;
536
+ userConfig: j.config,
537
+ defaultConfig: An
538
+ }), t = {}, n = e.theme;
539
+ if (!n) t = e;
540
+ else if (!jn.value(e)) Mn(e), t = e;
541
541
  else {
542
- let a = ve({
543
- userConfig: Me[i] || M.config,
542
+ let r = ve({
543
+ userConfig: Me[n] || j.config,
544
544
  defaultConfig: e
545
545
  });
546
- n = {
546
+ t = {
547
547
  ...ve({
548
- userConfig: M.config,
549
- defaultConfig: a
548
+ userConfig: j.config,
549
+ defaultConfig: r
550
550
  }),
551
- customPalette: e.customPalette.length ? e.customPalette : r[i] || t
551
+ customPalette: e.customPalette.length ? e.customPalette : ne[n] || s
552
552
  };
553
553
  }
554
- return n;
554
+ return t;
555
555
  }
556
- let L = E(dr()), fr = v(() => L.value.userOptions.useCursorPointer), pr = v(() => ne({
556
+ let L = E(dr()), fr = v(() => L.value.userOptions.useCursorPointer), pr = v(() => o({
557
557
  defaultConfig: {
558
558
  useCssAnimation: !1,
559
559
  table: { show: !1 },
@@ -581,11 +581,11 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
581
581
  } }
582
582
  },
583
583
  userConfig: L.value.skeletonConfig ?? {}
584
- })), { loading: mr, FINAL_DATASET: hr, manualLoading: gr, skeletonDataset: _r } = he({
585
- ...qe(M),
584
+ })), { loading: mr, FINAL_DATASET: hr, manualLoading: gr, skeletonDataset: _r } = ge({
585
+ ...Je(j),
586
586
  FINAL_CONFIG: L,
587
587
  prepareConfig: dr,
588
- skeletonDataset: M.config?.skeletonDataset ?? [
588
+ skeletonDataset: j.config?.skeletonDataset ?? [
589
589
  {
590
590
  name: "",
591
591
  values: [3],
@@ -602,7 +602,7 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
602
602
  color: "#CACACA"
603
603
  }
604
604
  ],
605
- skeletonConfig: ne({
605
+ skeletonConfig: o({
606
606
  defaultConfig: L.value,
607
607
  userConfig: pr.value
608
608
  })
@@ -612,12 +612,12 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
612
612
  let n = performance.now();
613
613
  function r(i) {
614
614
  let a = i - n, o = Math.min(a / e, 1);
615
- vr.value = re(o), o < 1 ? br = requestAnimationFrame(r) : (vr.value = 1, br = null, t());
615
+ vr.value = c(o), o < 1 ? br = requestAnimationFrame(r) : (vr.value = 1, br = null, t());
616
616
  }
617
617
  br !== null && cancelAnimationFrame(br), vr.value = 0, br = requestAnimationFrame(r);
618
618
  });
619
619
  }
620
- Xe(() => mr.value, async (e) => {
620
+ Ze(() => mr.value, async (e) => {
621
621
  if (e || yr.value) return;
622
622
  let t = hr.value === _r, n = L.value.startAnimation?.show;
623
623
  !t && n ? (yr.value = !0, await xr(L.value.startAnimation.durationMs || 1e3)) : vr.value = 1, R.value = !1;
@@ -629,8 +629,8 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
629
629
  function Er() {
630
630
  Cr(!1);
631
631
  }
632
- Xe(() => M.config, (e) => {
633
- mr.value || (L.value = dr()), Sr.value = !L.value.userOptions.showOnChartHover, sr(), Un.value += 1, Wn.value += 1, Gn.value += 1, B.value.dataLabels.show = L.value.style.chart.layout.labels.dataLabels.show, B.value.showTable = L.value.table.show, B.value.showTooltip = L.value.style.chart.tooltip.show, V.value.height = L.value.style.chart.height, V.value.width = L.value.style.chart.width;
632
+ Ze(() => j.config, (e) => {
633
+ mr.value || (L.value = dr()), Sr.value = !L.value.userOptions.showOnChartHover, sr(), Wn.value += 1, Gn.value += 1, Kn.value += 1, B.value.dataLabels.show = L.value.style.chart.layout.labels.dataLabels.show, B.value.showTable = L.value.table.show, B.value.showTooltip = L.value.style.chart.tooltip.show, V.value.height = L.value.style.chart.height, V.value.width = L.value.style.chart.width;
634
634
  }, { deep: !0 });
635
635
  let Dr = v(() => {
636
636
  let { top: e, right: t, bottom: n, left: r } = L.value.style.chart.padding;
@@ -641,16 +641,16 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
641
641
  bottom: n,
642
642
  left: r
643
643
  };
644
- }), { isPrinting: Or, isImaging: kr, generatePdf: Ar, generateImage: jr } = me({
644
+ }), { isPrinting: Or, isImaging: kr, generatePdf: Ar, generateImage: jr } = he({
645
645
  elementId: `donut__${F.value}`,
646
646
  fileName: L.value.style.chart.title.text || "vue-ui-donut",
647
647
  options: L.value.userOptions.print
648
- }), Mr = v(() => L.value.userOptions.show && !L.value.style.chart.title.text), Nr = v(() => l(L.value.customPalette)), B = E({
648
+ }), Mr = v(() => L.value.userOptions.show && !L.value.style.chart.title.text), Nr = v(() => u(L.value.customPalette)), B = E({
649
649
  dataLabels: { show: L.value.style.chart.layout.labels.dataLabels.show },
650
650
  showTable: L.value.table.show,
651
651
  showTooltip: L.value.style.chart.tooltip.show
652
652
  });
653
- Xe(L, () => {
653
+ Ze(L, () => {
654
654
  B.value = {
655
655
  dataLabels: { show: L.value.style.chart.layout.labels.dataLabels.show },
656
656
  showTable: L.value.table.show,
@@ -664,25 +664,25 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
664
664
  if (L.value.pie) return G.value;
665
665
  let e = L.value.style.chart.layout.donut.strokeWidth / 512, t = Math.min(V.value.width, V.value.height) * e, n = t > G.value ? G.value : t;
666
666
  return Math.max(n, 12 * (1 + e));
667
- }), Fr = $e, H = v(() => hr.value.sort((e, t) => {
667
+ }), Fr = et, H = v(() => hr.value.sort((e, t) => {
668
668
  let n = Array.isArray(e.values) ? e.values.reduce((e, t) => e + t, 0) : e.value ?? 0, r = Array.isArray(t.values) ? t.values.reduce((e, t) => e + t, 0) : t.value ?? 0;
669
669
  return e.ghost && !t.ghost ? 1 : t.ghost && !e.ghost ? -1 : r - n;
670
- }).map((e, n) => ({
670
+ }).map((e, t) => ({
671
671
  name: e.name,
672
- color: f(e.color) || Nr.value[n] || t[n] || t[n % t.length],
672
+ color: re(e.color) || Nr.value[t] || s[t] || s[t % s.length],
673
673
  value: de(e.values.reduce((e, t) => e + t, 0)),
674
674
  absoluteValues: e.values,
675
675
  comment: e.comment || "",
676
- patternIndex: n,
677
- seriesIndex: n,
676
+ patternIndex: t,
677
+ seriesIndex: t,
678
678
  ghost: !1,
679
- pattern: `pattern_${F.value}_${n}`
679
+ pattern: `pattern_${F.value}_${t}`
680
680
  })));
681
- Xe(() => M.dataset, (e) => {
681
+ Ze(() => j.dataset, (e) => {
682
682
  Array.isArray(e) && e.length > 0 && (gr.value = !1);
683
683
  }, { immediate: !0 });
684
684
  let U = Ke(H.value);
685
- Xe(() => H.value, (e) => {
685
+ Ze(() => H.value, (e) => {
686
686
  U.value = e, requestAnimationFrame(ir);
687
687
  });
688
688
  function Ir() {
@@ -700,7 +700,7 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
700
700
  value: e.value
701
701
  })));
702
702
  }
703
- function Br({ from: e, to: t, duration: n, onUpdate: r, onDone: i, easing: a = re }) {
703
+ function Br({ from: e, to: t, duration: n, onUpdate: r, onDone: i, easing: a = c }) {
704
704
  let o = performance.now();
705
705
  function s(c) {
706
706
  let l = Math.min((c - o) / n, 1), u = a(l);
@@ -801,18 +801,18 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
801
801
  ...e,
802
802
  seriesIndex: t
803
803
  })).filter((e, t) => !W.value.includes(t));
804
- }), Jr = v(() => hr.value.map((e, n) => {
805
- let r = (e.values || []).reduce((e, t) => e + t, 0), i = r / hr.value.map((e) => (e.values || []).reduce((e, t) => e + t, 0)).reduce((e, t) => e + t, 0);
804
+ }), Jr = v(() => hr.value.map((e, t) => {
805
+ let n = (e.values || []).reduce((e, t) => e + t, 0), r = n / hr.value.map((e) => (e.values || []).reduce((e, t) => e + t, 0)).reduce((e, t) => e + t, 0);
806
806
  return {
807
807
  name: e.name,
808
- color: f(e.color) || Nr.value[n] || t[n] || t[n % t.length],
809
- value: r,
808
+ color: re(e.color) || Nr.value[t] || s[t] || s[t % s.length],
809
+ value: n,
810
810
  shape: "circle",
811
- patternIndex: n,
812
- proportion: i
811
+ patternIndex: t,
812
+ proportion: r
813
813
  };
814
814
  }).map((e, t) => {
815
- let n = m(L.value.style.chart.layout.labels.value.formatter, e.value, h({
815
+ let n = m(L.value.style.chart.layout.labels.value.formatter, e.value, a({
816
816
  p: L.value.style.chart.layout.labels.dataLabels.prefix,
817
817
  v: e.value,
818
818
  s: L.value.style.chart.layout.labels.dataLabels.suffix,
@@ -820,7 +820,7 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
820
820
  }), {
821
821
  datapoint: e,
822
822
  index: t
823
- }), r = m(L.value.style.chart.layout.labels.percentage.formatter, ai(e), h({
823
+ }), r = m(L.value.style.chart.layout.labels.percentage.formatter, ai(e), a({
824
824
  v: ai(e),
825
825
  s: "%",
826
826
  r: L.value.style.chart.legend.roundingPercentage
@@ -848,7 +848,7 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
848
848
  })), G = v(() => {
849
849
  let e = L.value.style.chart.layout.donut.radiusRatio, t = Math.max(.1, Math.min(.50001, e)), n = Math.min(V.value.width * t, V.value.height * t);
850
850
  return Math.max(12, n);
851
- }), K = v(() => u({ series: qr.value }, V.value.width / 2, V.value.height / 2, G.value, G.value, 1.99999, 2, 1, 360, 105.25, Pr.value)), Xr = v(() => Math.abs(qr.value.map((e) => e.value).reduce((e, t) => e + t, 0)) > 0), Zr = v(() => u({ series: [{
851
+ }), K = v(() => r({ series: qr.value }, V.value.width / 2, V.value.height / 2, G.value, G.value, 1.99999, 2, 1, 360, 105.25, Pr.value)), Xr = v(() => Math.abs(qr.value.map((e) => e.value).reduce((e, t) => e + t, 0)) > 0), Zr = v(() => r({ series: [{
852
852
  value: 1,
853
853
  color: L.value.style.chart.layout.donut.emptyFill,
854
854
  name: "_",
@@ -858,7 +858,7 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
858
858
  absoluteValues: [1]
859
859
  }] }, V.value.width / 2, V.value.height / 2, G.value, G.value, 1.99999, 2, 1, 360, 105.25, Pr.value)), q = v(() => K.value.filter((e) => !e.ghost)), J = v(() => {
860
860
  let e = Math.max(...qr.value.map((e) => e.value));
861
- return o({
861
+ return ae({
862
862
  series: qr.value.map((t) => t.value / e),
863
863
  center: {
864
864
  x: V.value.width / 2,
@@ -872,13 +872,13 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
872
872
  return e.x > V.value.width / 2 + 6 ? "start" : e.x < V.value.width / 2 - 6 ? "end" : "middle";
873
873
  }
874
874
  function $r(e) {
875
- return e.middlePoint.y > V.value.height / 2 ? s({
875
+ return e.middlePoint.y > V.value.height / 2 ? n({
876
876
  initX: e.middlePoint.x,
877
877
  initY: e.middlePoint.y,
878
878
  offset: 100,
879
879
  centerX: V.value.width / 2,
880
880
  centerY: V.value.height / 2
881
- }).y : s({
881
+ }).y : n({
882
882
  initX: e.middlePoint.x,
883
883
  initY: e.middlePoint.y,
884
884
  offset: 0,
@@ -893,23 +893,23 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
893
893
  let n = L.value.style.chart.layout.labels.dataLabels.hideUnderValue, r = L.value.style.chart.layout.labels.dataLabels.smallArcClusterThreshold, i = (ri.value[t] ?? e.proportion ?? 0) * 100;
894
894
  return i > n && i <= r;
895
895
  }
896
- let { smallArcLayoutsClassic: X } = Qe({
896
+ let { smallArcLayoutsClassic: X } = $e({
897
897
  FINAL_CONFIG: L,
898
898
  noGhostDonut: q,
899
899
  svg: V,
900
900
  padding: Dr,
901
901
  labels_inline_fontSize: nr,
902
902
  minSize: G,
903
- findArcMidpoint: oe,
904
- calcMarkerOffsetX: g,
905
- calcMarkerOffsetY: p,
903
+ findArcMidpoint: le,
904
+ calcMarkerOffsetX: h,
905
+ calcMarkerOffsetY: f,
906
906
  animatingIndex: Rr,
907
907
  segregated: W,
908
908
  isSmallArc: ei
909
909
  });
910
910
  function ti(e, t) {
911
911
  let n = e.value / ni(t);
912
- return isNaN(n) ? 0 : m(L.value.style.chart.layout.labels.percentage.formatter, n * 100, h({
912
+ return isNaN(n) ? 0 : m(L.value.style.chart.layout.labels.percentage.formatter, n * 100, a({
913
913
  v: n * 100,
914
914
  s: "%",
915
915
  r: L.value.style.chart.layout.labels.percentage.rounding
@@ -930,21 +930,21 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
930
930
  L.value.events.datapointLeave && L.value.events.datapointLeave({
931
931
  datapoint: e,
932
932
  seriesIndex: t
933
- }), cr.value = !1, I.value = null, Zn.value = null, $n.value = "pointer";
933
+ }), cr.value = !1, I.value = null, N.value = null, $n.value = "pointer";
934
934
  }
935
935
  function Q({ datapoint: e, relativeIndex: t, seriesIndex: n, show: r = !1, triggerMode: i = "pointer" }) {
936
936
  L.value.events.datapointEnter && L.value.events.datapointEnter({
937
937
  datapoint: e,
938
938
  seriesIndex: n
939
- }), $n.value = i, Zn.value = t, oi.value = {
939
+ }), $n.value = i, N.value = t, oi.value = {
940
940
  datapoint: e,
941
941
  seriesIndex: n,
942
942
  config: L.value,
943
943
  series: H.value
944
944
  }, cr.value = r, I.value = t;
945
- let a = "", o = L.value.style.chart.tooltip.customFormat;
946
- if (si.value = !1, ie(o)) try {
947
- let t = o({
945
+ let o = "", s = L.value.style.chart.tooltip.customFormat;
946
+ if (si.value = !1, fe(s)) try {
947
+ let t = s({
948
948
  seriesIndex: n,
949
949
  datapoint: e,
950
950
  series: H.value,
@@ -954,10 +954,10 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
954
954
  } catch {
955
955
  console.warn("Custom format cannot be applied."), si.value = !1;
956
956
  }
957
- si.value || (a += `<div style="width:100%;text-align:center;border-bottom:1px solid ${L.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${e.name}</div>`, a += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 60 60" height="14" width="14"><circle cx="30" cy="30" r="30" stroke="none" fill="${e.color}"/>${Mn.pattern ? `<circle cx="30" cy="30" r="30" stroke="none" fill="url(#pattern_${F.value}_${n})"/>` : ""}</svg>`, a += `<b>${xi({
957
+ si.value || (o += `<div style="width:100%;text-align:center;border-bottom:1px solid ${L.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${e.name}</div>`, o += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 60 60" height="14" width="14"><circle cx="30" cy="30" r="30" stroke="none" fill="${e.color}"/>${Nn.pattern ? `<circle cx="30" cy="30" r="30" stroke="none" fill="url(#pattern_${F.value}_${n})"/>` : ""}</svg>`, o += `<b>${xi({
958
958
  showVal: L.value.style.chart.tooltip.showValue,
959
959
  showPercentage: L.value.style.chart.tooltip.showPercentage,
960
- val: `<span>${m(L.value.style.chart.layout.labels.value.formatter, e.value, h({
960
+ val: `<span>${m(L.value.style.chart.layout.labels.value.formatter, e.value, a({
961
961
  p: L.value.style.chart.layout.labels.dataLabels.prefix,
962
962
  v: e.value,
963
963
  s: L.value.style.chart.layout.labels.dataLabels.suffix,
@@ -967,7 +967,7 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
967
967
  relativeIndex: t,
968
968
  seriesIndex: n
969
969
  })}</span>`,
970
- percentage: m(L.value.style.chart.layout.labels.percentage.formatter, e.proportion * 100, h({
970
+ percentage: m(L.value.style.chart.layout.labels.percentage.formatter, e.proportion * 100, a({
971
971
  v: e.proportion * 100,
972
972
  s: "%",
973
973
  r: L.value.style.chart.tooltip.roundingPercentage
@@ -977,7 +977,7 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
977
977
  seriesIndex: n
978
978
  }),
979
979
  config: L.value.style.chart.tooltip
980
- })}</b></div>`, L.value.style.chart.comments.showInTooltip && e.comment && (a += `<div class="vue-data-ui-tooltip-comment" style="background:${e.color}20; padding: 6px; margin-bottom: 6px; margin-top:6px; border-left: 1px solid ${e.color}">${e.comment}</div>`), lr.value = `<div>${a}</div>`);
980
+ })}</b></div>`, L.value.style.chart.comments.showInTooltip && e.comment && (o += `<div class="vue-data-ui-tooltip-comment" style="background:${e.color}20; padding: 6px; margin-bottom: 6px; margin-top:6px; border-left: 1px solid ${e.color}">${e.comment}</div>`), lr.value = `<div>${o}</div>`);
981
981
  }
982
982
  function li(e, t) {
983
983
  let n = X.value[t];
@@ -986,11 +986,11 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
986
986
  x: n.labelX,
987
987
  y: n.labelY
988
988
  };
989
- let r = g(e, !0, 12);
989
+ let r = h(e, !0, 12);
990
990
  return {
991
991
  textAnchor: r.anchor,
992
992
  x: r.x,
993
- y: p(e)
993
+ y: f(e)
994
994
  };
995
995
  }
996
996
  function ui(e, t, n) {
@@ -1023,21 +1023,21 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1023
1023
  }), r === "end" ? `${L.value.style.chart.layout.labels.name.show ? c : ""}${o}` : `${o}${L.value.style.chart.layout.labels.name.show ? c : ""}`;
1024
1024
  }
1025
1025
  function di(e, t) {
1026
- let n = J.value[t].middlePoint, r = Qr(n), i = s({
1027
- initX: n.x,
1028
- initY: n.y,
1026
+ let r = J.value[t].middlePoint, i = Qr(r), a = n({
1027
+ initX: r.x,
1028
+ initY: r.y,
1029
1029
  offset: 42,
1030
1030
  centerX: V.value.width / 2,
1031
1031
  centerY: V.value.height / 2
1032
- }), a = i.x;
1033
- i.y;
1034
- let o = Si(e), c = `
1032
+ }), o = a.x;
1033
+ a.y;
1034
+ let s = Si(e), c = `
1035
1035
  <tspan
1036
1036
  class="vue-data-ui-datalabel-value"
1037
1037
  fill="${L.value.style.chart.layout.labels.percentage.color}"
1038
1038
  font-size="${tr.value}px"
1039
1039
  style="font-weight:${L.value.style.chart.layout.labels.percentage.bold ? "bold" : "normal"}"
1040
- >${o}</tspan>
1040
+ >${s}</tspan>
1041
1041
  `, l = String(e.name ?? "").split(/\n/g), u = "";
1042
1042
  return l.forEach((e, t) => {
1043
1043
  t === 0 ? u += `
@@ -1050,14 +1050,14 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1050
1050
  ` : u += `
1051
1051
  <tspan
1052
1052
  class="vue-data-ui-datalabel-name"
1053
- x="${a}"
1053
+ x="${o}"
1054
1054
  dy="${P.value * 1.2}"
1055
1055
  fill="${L.value.style.chart.layout.labels.name.color}"
1056
1056
  font-size="${P.value}px"
1057
1057
  style="font-weight:${L.value.style.chart.layout.labels.name.bold ? "bold" : "normal"}"
1058
1058
  >${e}</tspan>
1059
1059
  `;
1060
- }), r === "end" ? `${L.value.style.chart.layout.labels.name.show ? u : ""}${c}` : `${c}${L.value.style.chart.layout.labels.name.show ? u : ""}`;
1060
+ }), i === "end" ? `${L.value.style.chart.layout.labels.name.show ? u : ""}${c}` : `${c}${L.value.style.chart.layout.labels.name.show ? u : ""}`;
1061
1061
  }
1062
1062
  function fi(e) {
1063
1063
  return L.value.useBlurOnHover && ![null, void 0].includes(I.value) && I.value !== e ? `url(#blur_${F.value})` : "";
@@ -1080,7 +1080,7 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1080
1080
  [e.name],
1081
1081
  [mi.value.body[t]],
1082
1082
  [isNaN(mi.value.body[t] / Z.value) ? "-" : mi.value.body[t] / Z.value * 100]
1083
- ]), n = fe([
1083
+ ]), n = ee([
1084
1084
  [L.value.style.chart.title.text],
1085
1085
  [L.value.style.chart.title.subtitle.text],
1086
1086
  [
@@ -1098,7 +1098,7 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1098
1098
  let gi = v(() => {
1099
1099
  let e = [
1100
1100
  " <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" stroke-width=\"1.5\" stroke=\"currentColor\" fill=\"none\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path stroke=\"none\" d=\"M0 0h24v24H0z\" fill=\"none\"/><path d=\"M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2\" /></svg>",
1101
- h({
1101
+ a({
1102
1102
  p: L.value.style.chart.layout.labels.dataLabels.prefix,
1103
1103
  v: Z.value,
1104
1104
  s: L.value.style.chart.layout.labels.dataLabels.suffix,
@@ -1158,7 +1158,7 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1158
1158
  }
1159
1159
  function Si(e) {
1160
1160
  return xi({
1161
- val: m(L.value.style.chart.layout.labels.value.formatter, e.value, h({
1161
+ val: m(L.value.style.chart.layout.labels.value.formatter, e.value, a({
1162
1162
  p: L.value.style.chart.layout.labels.dataLabels.prefix,
1163
1163
  v: e.value,
1164
1164
  s: L.value.style.chart.layout.labels.dataLabels.suffix,
@@ -1193,9 +1193,9 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1193
1193
  Ei.value = !Ei.value;
1194
1194
  }
1195
1195
  async function Oi({ scale: e = 2 } = {}) {
1196
- if (!N.value) return;
1197
- let { width: t, height: n } = N.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await be({
1198
- domElement: N.value,
1196
+ if (!M.value) return;
1197
+ let { width: t, height: n } = M.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await be({
1198
+ domElement: M.value,
1199
1199
  base64: !0,
1200
1200
  img: !0,
1201
1201
  scale: e
@@ -1210,14 +1210,14 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1210
1210
  };
1211
1211
  }
1212
1212
  function ki() {
1213
- if (!Pn.value) return;
1214
- let { x: e, y: t, width: n, height: r } = Pn.value.getBBox();
1213
+ if (!Fn.value) return;
1214
+ let { x: e, y: t, width: n, height: r } = Fn.value.getBBox();
1215
1215
  z.value && z.value.setAttribute("viewBox", `${e} ${t} ${n + Math.min(0, e)} ${r + Math.min(0, t)}`);
1216
1216
  }
1217
1217
  let Ai = v(() => {
1218
1218
  let e = L.value.table.useDialog && !L.value.table.show, t = B.value.showTable;
1219
1219
  return {
1220
- component: e ? On : Cn,
1220
+ component: e ? kn : wn,
1221
1221
  title: `${L.value.style.chart.title.text}${L.value.style.chart.title.subtitle.text ? `: ${L.value.style.chart.title.subtitle.text}` : ""}`,
1222
1222
  props: e ? {
1223
1223
  backgroundColor: L.value.table.th.backgroundColor,
@@ -1225,7 +1225,7 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1225
1225
  headerColor: L.value.table.th.color,
1226
1226
  headerBg: L.value.table.th.backgroundColor,
1227
1227
  isFullscreen: _i.value,
1228
- fullscreenParent: N.value,
1228
+ fullscreenParent: M.value,
1229
1229
  forcedWidth: Math.min(500, window.innerWidth * .8),
1230
1230
  isCursorPointer: fr.value
1231
1231
  } : {
@@ -1245,11 +1245,11 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1245
1245
  }
1246
1246
  };
1247
1247
  });
1248
- Xe(() => B.value.showTable, (e) => {
1249
- L.value.table.show || (e && L.value.table.useDialog && qn.value ? qn.value.open() : "close" in qn.value && qn.value.close());
1248
+ Ze(() => B.value.showTable, (e) => {
1249
+ L.value.table.show || (e && L.value.table.useDialog && Jn.value ? Jn.value.open() : "close" in Jn.value && Jn.value.close());
1250
1250
  });
1251
1251
  function ji() {
1252
- B.value.showTable = !1, Jn.value && Jn.value.setTableIconState(!1);
1252
+ B.value.showTable = !1, Yn.value && Yn.value.setTableIconState(!1);
1253
1253
  }
1254
1254
  let Mi = v(() => Jr.value.map((e) => ({
1255
1255
  ...e,
@@ -1262,7 +1262,7 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1262
1262
  backgroundColor: Ni
1263
1263
  });
1264
1264
  async function Li({ isCb: e }) {
1265
- Xn.value = !0, await Ve();
1265
+ Zn.value = !0, await Ve();
1266
1266
  try {
1267
1267
  if (e) {
1268
1268
  let { blob: e, url: t, text: n, dataUrl: r } = await Ii();
@@ -1274,16 +1274,16 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1274
1274
  }));
1275
1275
  } else await Promise.resolve(Fi());
1276
1276
  } finally {
1277
- Xn.value = !1;
1277
+ Zn.value = !1;
1278
1278
  }
1279
1279
  }
1280
1280
  function Ri(e) {
1281
1281
  if (e?.stage === "start") {
1282
- Yn.value = !0;
1282
+ Xn.value = !0;
1283
1283
  return;
1284
1284
  }
1285
1285
  if (e?.stage === "end") {
1286
- Yn.value = !1;
1286
+ Xn.value = !1;
1287
1287
  return;
1288
1288
  }
1289
1289
  jr();
@@ -1302,30 +1302,30 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1302
1302
  }));
1303
1303
  }
1304
1304
  function Bi() {
1305
- Zn.value = null, er.value = !0;
1305
+ N.value = null, er.value = !0;
1306
1306
  }
1307
1307
  function Vi() {
1308
- Zn.value = null, $n.value = "pointer", cr.value = !1, I.value = null, er.value = !1;
1308
+ N.value = null, $n.value = "pointer", cr.value = !1, I.value = null, er.value = !1;
1309
1309
  }
1310
1310
  function Hi(e) {
1311
1311
  if (!z.value || Ei.value || document.activeElement !== z.value || !q.value.length) return;
1312
1312
  let t = ["ArrowLeft", "ArrowUp"].includes(e.key), n = ["ArrowRight", "ArrowDown"].includes(e.key), r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
1313
1313
  if (!t && !n && !r && !i) return;
1314
1314
  if (e.preventDefault(), e.stopPropagation(), i) {
1315
- Zn.value = null, $n.value = "pointer", cr.value = !1, I.value = null;
1315
+ N.value = null, $n.value = "pointer", cr.value = !1, I.value = null;
1316
1316
  return;
1317
1317
  }
1318
1318
  if (r) {
1319
- if (Zn.value === null) return;
1320
- let e = q.value[Zn.value];
1319
+ if (N.value === null) return;
1320
+ let e = q.value[N.value];
1321
1321
  if (!e) return;
1322
- $(e, Zn.value);
1322
+ $(e, N.value);
1323
1323
  return;
1324
1324
  }
1325
- let a = Zn.value, o = I.value, s = a !== null && a >= 0 && a < q.value.length, c = o !== null && o >= 0 && o < q.value.length;
1325
+ let a = N.value, o = I.value, s = a !== null && a >= 0 && a < q.value.length, c = o !== null && o >= 0 && o < q.value.length;
1326
1326
  s ? n ? (a += 1, a >= q.value.length && (a = 0)) : t && (--a, a < 0 && (a = q.value.length - 1)) : c ? (a = n ? o + 1 : o - 1, a >= q.value.length && (a = 0), a < 0 && (a = q.value.length - 1)) : a = n ? 0 : q.value.length - 1;
1327
1327
  let l = q.value[a];
1328
- l && (Zn.value = a, Ui(a), Q({
1328
+ l && (N.value = a, Ui(a), Q({
1329
1329
  datapoint: l,
1330
1330
  relativeIndex: a,
1331
1331
  seriesIndex: l.seriesIndex,
@@ -1339,7 +1339,7 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1339
1339
  if (L.value.type === "classic") {
1340
1340
  let r = q.value[e];
1341
1341
  if (!r?.arcSlice) return;
1342
- let i = oe(r.arcSlice);
1342
+ let i = le(r.arcSlice);
1343
1343
  if (!i) return;
1344
1344
  t = i.x, n = i.y;
1345
1345
  } else {
@@ -1373,9 +1373,9 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1373
1373
  toggleAnnotator: Di,
1374
1374
  toggleFullscreen: vi,
1375
1375
  copyAlt: zi
1376
- }), (t, n) => (T(), b("div", {
1376
+ }), (t, r) => (T(), b("div", {
1377
1377
  ref_key: "donutChart",
1378
- ref: N,
1378
+ ref: M,
1379
1379
  class: He(`vue-data-ui-component vue-ui-donut ${_i.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${L.value.useCssAnimation ? "" : "vue-ui-dna"}`),
1380
1380
  style: w(`font-family:${L.value.style.fontFamily};width:100%; ${L.value.responsive ? "height:100%;" : ""} text-align:center;background:${L.value.style.chart.backgroundColor}`),
1381
1381
  id: `donut__${F.value}`,
@@ -1385,7 +1385,7 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1385
1385
  x("div", {
1386
1386
  id: `chart-instructions-${F.value}`,
1387
1387
  class: "sr-only"
1388
- }, [x("p", null, k(L.value.a11y.translations.keyboardNavigation), 1)], 8, tt),
1388
+ }, [x("p", null, qe(L.value.a11y.translations.keyboardNavigation), 1)], 8, nt),
1389
1389
  Wi.value?.rows?.length ? (T(), Fe(De, {
1390
1390
  key: 0,
1391
1391
  uid: F.value,
@@ -1400,21 +1400,21 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1400
1400
  "notice",
1401
1401
  "caption"
1402
1402
  ])) : y("", !0),
1403
- L.value.userOptions.buttons.annotator && A(z) ? (T(), Fe(A(Tn), {
1403
+ L.value.userOptions.buttons.annotator && k(z) ? (T(), Fe(k(En), {
1404
1404
  key: 1,
1405
1405
  color: L.value.style.chart.color,
1406
1406
  backgroundColor: L.value.style.chart.backgroundColor,
1407
1407
  active: Ei.value,
1408
- svgRef: A(z),
1408
+ svgRef: k(z),
1409
1409
  isCursorPointer: fr.value,
1410
1410
  onClose: Di
1411
1411
  }, {
1412
- "annotator-action-close": j(() => [O(t.$slots, "annotator-action-close", {}, void 0, !0)]),
1413
- "annotator-action-color": j(({ color: e }) => [O(t.$slots, "annotator-action-color", C(S({ color: e })), void 0, !0)]),
1414
- "annotator-action-draw": j(({ mode: e }) => [O(t.$slots, "annotator-action-draw", C(S({ mode: e })), void 0, !0)]),
1415
- "annotator-action-undo": j(({ disabled: e }) => [O(t.$slots, "annotator-action-undo", C(S({ disabled: e })), void 0, !0)]),
1416
- "annotator-action-redo": j(({ disabled: e }) => [O(t.$slots, "annotator-action-redo", C(S({ disabled: e })), void 0, !0)]),
1417
- "annotator-action-delete": j(({ disabled: e }) => [O(t.$slots, "annotator-action-delete", C(S({ disabled: e })), void 0, !0)]),
1412
+ "annotator-action-close": A(() => [O(t.$slots, "annotator-action-close", {}, void 0, !0)]),
1413
+ "annotator-action-color": A(({ color: e }) => [O(t.$slots, "annotator-action-color", C(S({ color: e })), void 0, !0)]),
1414
+ "annotator-action-draw": A(({ mode: e }) => [O(t.$slots, "annotator-action-draw", C(S({ mode: e })), void 0, !0)]),
1415
+ "annotator-action-undo": A(({ disabled: e }) => [O(t.$slots, "annotator-action-undo", C(S({ disabled: e })), void 0, !0)]),
1416
+ "annotator-action-redo": A(({ disabled: e }) => [O(t.$slots, "annotator-action-redo", C(S({ disabled: e })), void 0, !0)]),
1417
+ "annotator-action-delete": A(({ disabled: e }) => [O(t.$slots, "annotator-action-delete", C(S({ disabled: e })), void 0, !0)]),
1418
1418
  _: 3
1419
1419
  }, 8, [
1420
1420
  "color",
@@ -1427,17 +1427,17 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1427
1427
  Mr.value ? (T(), b("div", {
1428
1428
  key: 2,
1429
1429
  ref_key: "noTitle",
1430
- ref: Hn,
1430
+ ref: Un,
1431
1431
  class: "vue-data-ui-no-title-space",
1432
1432
  style: "height:36px; width: 100%;background:transparent"
1433
1433
  }, null, 512)) : y("", !0),
1434
1434
  L.value.style.chart.title.text ? (T(), b("div", {
1435
1435
  key: 3,
1436
1436
  ref_key: "chartTitle",
1437
- ref: Ln,
1437
+ ref: Rn,
1438
1438
  style: "width:100%;background:transparent;padding-bottom:24px"
1439
1439
  }, [(T(), Fe(xe, {
1440
- key: `title_${Un.value}`,
1440
+ key: `title_${Wn.value}`,
1441
1441
  config: {
1442
1442
  title: {
1443
1443
  cy: "donut-div-title",
@@ -1449,15 +1449,15 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1449
1449
  }
1450
1450
  }
1451
1451
  }, null, 8, ["config"]))], 512)) : y("", !0),
1452
- x("div", { id: `legend-top-${F.value}` }, null, 8, nt),
1453
- L.value.userOptions.show && Nn.value && (A(wr) || A(Sr)) ? (T(), Fe(A(En), {
1452
+ x("div", { id: `legend-top-${F.value}` }, null, 8, rt),
1453
+ L.value.userOptions.show && Pn.value && (k(wr) || k(Sr)) ? (T(), Fe(k(Dn), {
1454
1454
  ref_key: "userOptionsRef",
1455
- ref: Jn,
1455
+ ref: Yn,
1456
1456
  key: `user_option_${ur.value}`,
1457
1457
  backgroundColor: L.value.style.chart.backgroundColor,
1458
1458
  color: L.value.style.chart.color,
1459
- isPrinting: A(Or),
1460
- isImaging: A(kr),
1459
+ isPrinting: k(Or),
1460
+ isImaging: k(kr),
1461
1461
  uid: F.value,
1462
1462
  hasTooltip: L.value.style.chart.tooltip.show && L.value.userOptions.buttons.tooltip,
1463
1463
  hasPdf: L.value.userOptions.buttons.pdf,
@@ -1469,7 +1469,7 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1469
1469
  hasFullscreen: L.value.userOptions.buttons.fullscreen,
1470
1470
  hasAltCopy: L.value.userOptions.buttons.altCopy,
1471
1471
  isFullscreen: _i.value,
1472
- chartElement: N.value,
1472
+ chartElement: M.value,
1473
1473
  position: L.value.userOptions.position,
1474
1474
  callbacks: L.value.userOptions.callbacks,
1475
1475
  isTooltip: B.value.showTooltip,
@@ -1480,7 +1480,7 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1480
1480
  tableDialog: L.value.table.useDialog,
1481
1481
  isCursorPointer: fr.value,
1482
1482
  onToggleFullscreen: vi,
1483
- onGeneratePdf: A(Ar),
1483
+ onGeneratePdf: k(Ar),
1484
1484
  onGenerateCsv: hi,
1485
1485
  onGenerateImage: Ri,
1486
1486
  onGenerateSvg: Li,
@@ -1489,11 +1489,11 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1489
1489
  onToggleTooltip: Ti,
1490
1490
  onToggleAnnotator: Di,
1491
1491
  onCopyAlt: zi,
1492
- style: w({ visibility: A(wr) ? A(Sr) ? "visible" : "hidden" : "visible" })
1492
+ style: w({ visibility: k(wr) ? k(Sr) ? "visible" : "hidden" : "visible" })
1493
1493
  }, Ie({ _: 2 }, [
1494
1494
  t.$slots.menuIcon ? {
1495
1495
  name: "menuIcon",
1496
- fn: j(({ isOpen: e, color: n }) => [O(t.$slots, "menuIcon", C(S({
1496
+ fn: A(({ isOpen: e, color: n }) => [O(t.$slots, "menuIcon", C(S({
1497
1497
  isOpen: e,
1498
1498
  color: n
1499
1499
  })), void 0, !0)]),
@@ -1501,42 +1501,42 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1501
1501
  } : void 0,
1502
1502
  t.$slots.optionTooltip ? {
1503
1503
  name: "optionTooltip",
1504
- fn: j(() => [O(t.$slots, "optionTooltip", {}, void 0, !0)]),
1504
+ fn: A(() => [O(t.$slots, "optionTooltip", {}, void 0, !0)]),
1505
1505
  key: "1"
1506
1506
  } : void 0,
1507
1507
  t.$slots.optionPdf ? {
1508
1508
  name: "optionPdf",
1509
- fn: j(() => [O(t.$slots, "optionPdf", {}, void 0, !0)]),
1509
+ fn: A(() => [O(t.$slots, "optionPdf", {}, void 0, !0)]),
1510
1510
  key: "2"
1511
1511
  } : void 0,
1512
1512
  t.$slots.optionCsv ? {
1513
1513
  name: "optionCsv",
1514
- fn: j(() => [O(t.$slots, "optionCsv", {}, void 0, !0)]),
1514
+ fn: A(() => [O(t.$slots, "optionCsv", {}, void 0, !0)]),
1515
1515
  key: "3"
1516
1516
  } : void 0,
1517
1517
  t.$slots.optionImg ? {
1518
1518
  name: "optionImg",
1519
- fn: j(() => [O(t.$slots, "optionImg", {}, void 0, !0)]),
1519
+ fn: A(() => [O(t.$slots, "optionImg", {}, void 0, !0)]),
1520
1520
  key: "4"
1521
1521
  } : void 0,
1522
1522
  t.$slots.optionSvg ? {
1523
1523
  name: "optionSvg",
1524
- fn: j(() => [O(t.$slots, "optionSvg", {}, void 0, !0)]),
1524
+ fn: A(() => [O(t.$slots, "optionSvg", {}, void 0, !0)]),
1525
1525
  key: "5"
1526
1526
  } : void 0,
1527
1527
  t.$slots.optionTable ? {
1528
1528
  name: "optionTable",
1529
- fn: j(() => [O(t.$slots, "optionTable", {}, void 0, !0)]),
1529
+ fn: A(() => [O(t.$slots, "optionTable", {}, void 0, !0)]),
1530
1530
  key: "6"
1531
1531
  } : void 0,
1532
1532
  t.$slots.optionLabels ? {
1533
1533
  name: "optionLabels",
1534
- fn: j(() => [O(t.$slots, "optionLabels", {}, void 0, !0)]),
1534
+ fn: A(() => [O(t.$slots, "optionLabels", {}, void 0, !0)]),
1535
1535
  key: "7"
1536
1536
  } : void 0,
1537
1537
  t.$slots.optionFullscreen ? {
1538
1538
  name: "optionFullscreen",
1539
- fn: j(({ toggleFullscreen: e, isFullscreen: n }) => [O(t.$slots, "optionFullscreen", C(S({
1539
+ fn: A(({ toggleFullscreen: e, isFullscreen: n }) => [O(t.$slots, "optionFullscreen", C(S({
1540
1540
  toggleFullscreen: e,
1541
1541
  isFullscreen: n
1542
1542
  })), void 0, !0)]),
@@ -1544,7 +1544,7 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1544
1544
  } : void 0,
1545
1545
  t.$slots.optionAnnotator ? {
1546
1546
  name: "optionAnnotator",
1547
- fn: j(({ toggleAnnotator: e, isAnnotator: n }) => [O(t.$slots, "optionAnnotator", C(S({
1547
+ fn: A(({ toggleAnnotator: e, isAnnotator: n }) => [O(t.$slots, "optionAnnotator", C(S({
1548
1548
  toggleAnnotator: e,
1549
1549
  isAnnotator: n
1550
1550
  })), void 0, !0)]),
@@ -1552,24 +1552,24 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1552
1552
  } : void 0,
1553
1553
  t.$slots.optionAltCopy ? {
1554
1554
  name: "optionAltCopy",
1555
- fn: j(({ altCopy: e }) => [O(t.$slots, "optionAltCopy", C(S({ altCopy: e })), void 0, !0)]),
1555
+ fn: A(({ altCopy: e }) => [O(t.$slots, "optionAltCopy", C(S({ altCopy: e })), void 0, !0)]),
1556
1556
  key: "10"
1557
1557
  } : void 0,
1558
1558
  t.$slots["custom-menu-before"] ? {
1559
1559
  name: "custom-menu-before",
1560
- fn: j(() => [O(t.$slots, "custom-menu-before", {}, void 0, !0)]),
1560
+ fn: A(() => [O(t.$slots, "custom-menu-before", {}, void 0, !0)]),
1561
1561
  key: "11"
1562
1562
  } : void 0,
1563
1563
  t.$slots["custom-menu-after"] ? {
1564
1564
  name: "custom-menu-after",
1565
- fn: j(() => [O(t.$slots, "custom-menu-after", {}, void 0, !0)]),
1565
+ fn: A(() => [O(t.$slots, "custom-menu-after", {}, void 0, !0)]),
1566
1566
  key: "12"
1567
1567
  } : void 0
1568
1568
  ]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasTooltip.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasLabel.hasFullscreen.hasAltCopy.isFullscreen.chartElement.position.callbacks.isTooltip.titles.hasAnnotator.isAnnotation.printScale.tableDialog.isCursorPointer.onGeneratePdf.style".split("."))) : y("", !0),
1569
- x("div", rt, [(T(), b("svg", {
1569
+ x("div", it, [(T(), b("svg", {
1570
1570
  ref_key: "svgRef",
1571
1571
  ref: z,
1572
- xmlns: A(ue),
1572
+ xmlns: k(ue),
1573
1573
  "aria-describedby": `chart-instructions-${F.value}`,
1574
1574
  class: He({
1575
1575
  "vue-data-ui-fullscreen--on": _i.value,
@@ -1584,10 +1584,10 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1584
1584
  onKeydown: Hi
1585
1585
  }, [x("g", {
1586
1586
  ref_key: "G",
1587
- ref: Pn,
1587
+ ref: Fn,
1588
1588
  class: "vue-data-ui-g"
1589
1589
  }, [
1590
- Re(A(Dn)),
1590
+ Re(k(On)),
1591
1591
  t.$slots["chart-background"] ? (T(), b("foreignObject", {
1592
1592
  key: 0,
1593
1593
  x: 0,
@@ -1595,44 +1595,44 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1595
1595
  width: V.value.width <= 0 ? 10 : V.value.width,
1596
1596
  height: V.value.height <= 0 ? 10 : V.value.height,
1597
1597
  style: { pointerEvents: "none" }
1598
- }, [O(t.$slots, "chart-background", {}, void 0, !0)], 8, at)) : y("", !0),
1599
- L.value.type === "classic" && !isNaN(Pr.value / G.value) ? (T(), b("defs", ot, [L.value.style.chart.useGradient ? (T(), b("radialGradient", {
1598
+ }, [O(t.$slots, "chart-background", {}, void 0, !0)], 8, ot)) : y("", !0),
1599
+ L.value.type === "classic" && !isNaN(Pr.value / G.value) ? (T(), b("defs", st, [L.value.style.chart.useGradient ? (T(), b("radialGradient", {
1600
1600
  key: 0,
1601
1601
  id: `gradient_${F.value}`
1602
1602
  }, [
1603
1603
  x("stop", {
1604
1604
  offset: "0%",
1605
- "stop-color": A(i)(L.value.style.chart.backgroundColor, 0),
1605
+ "stop-color": k(l)(L.value.style.chart.backgroundColor, 0),
1606
1606
  "stop-opacity": "0"
1607
- }, null, 8, ct),
1607
+ }, null, 8, lt),
1608
1608
  x("stop", {
1609
1609
  offset: `${(1 - Pr.value / G.value) * 100}%`,
1610
- "stop-color": A(i)("#FFFFFF", 0),
1610
+ "stop-color": k(l)("#FFFFFF", 0),
1611
1611
  "stop-opacity": "0"
1612
- }, null, 8, lt),
1612
+ }, null, 8, ut),
1613
1613
  x("stop", {
1614
1614
  offset: `${(1 - Pr.value / G.value / 2) * 100}%`,
1615
- "stop-color": A(i)("#FFFFFF", L.value.style.chart.gradientIntensity)
1616
- }, null, 8, ut),
1615
+ "stop-color": k(l)("#FFFFFF", L.value.style.chart.gradientIntensity)
1616
+ }, null, 8, dt),
1617
1617
  x("stop", {
1618
1618
  offset: "100%",
1619
- "stop-color": A(i)(L.value.style.chart.backgroundColor, 0),
1619
+ "stop-color": k(l)(L.value.style.chart.backgroundColor, 0),
1620
1620
  "stop-opacity": "0"
1621
- }, null, 8, dt)
1622
- ], 8, st)) : y("", !0)])) : y("", !0),
1623
- L.value.type === "polar" ? (T(), b("defs", ft, [(T(!0), b(_, null, D(J.value, (e, t) => (T(), b("radialGradient", {
1621
+ }, null, 8, ft)
1622
+ ], 8, ct)) : y("", !0)])) : y("", !0),
1623
+ L.value.type === "polar" ? (T(), b("defs", pt, [(T(!0), b(_, null, D(J.value, (e, t) => (T(), b("radialGradient", {
1624
1624
  id: `polar_gradient_${t}_${F.value}`,
1625
1625
  cx: (isNaN(e.middlePoint.x / V.value.width * 100) ? 0 : e.middlePoint.x / V.value.width * 100) + "%",
1626
1626
  cy: (isNaN(e.middlePoint.y / V.value.height * 100) ? 0 : e.middlePoint.y / V.value.height * 100) + "%",
1627
1627
  r: "62%"
1628
1628
  }, [x("stop", {
1629
1629
  offset: "0%",
1630
- "stop-color": A(a)(K.value[t].color, .05),
1630
+ "stop-color": k(pe)(K.value[t].color, .05),
1631
1631
  "stop-opacity": L.value.style.chart.gradientIntensity / 100
1632
- }, null, 8, mt), x("stop", {
1632
+ }, null, 8, ht), x("stop", {
1633
1633
  offset: "100%",
1634
1634
  "stop-color": K.value[t].color
1635
- }, null, 8, ht)], 8, pt))), 256))])) : y("", !0),
1635
+ }, null, 8, gt)], 8, mt))), 256))])) : y("", !0),
1636
1636
  x("defs", null, [
1637
1637
  x("filter", {
1638
1638
  id: `blur_${F.value}`,
@@ -1644,10 +1644,10 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1644
1644
  in: "SourceGraphic",
1645
1645
  stdDeviation: 2,
1646
1646
  id: `blur_std_${F.value}`
1647
- }, null, 8, _t), n[5] ||= x("feColorMatrix", {
1647
+ }, null, 8, vt), r[5] ||= x("feColorMatrix", {
1648
1648
  type: "saturate",
1649
1649
  values: "0"
1650
- }, null, -1)], 8, gt),
1650
+ }, null, -1)], 8, _t),
1651
1651
  x("filter", {
1652
1652
  id: `shadow_${F.value}`,
1653
1653
  "color-interpolation-filters": "sRGB"
@@ -1657,7 +1657,7 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1657
1657
  stdDeviation: "10",
1658
1658
  "flood-opacity": "0.5",
1659
1659
  "flood-color": L.value.style.chart.layout.donut.shadowColor
1660
- }, null, 8, yt)], 8, vt),
1660
+ }, null, 8, bt)], 8, yt),
1661
1661
  x("filter", {
1662
1662
  id: `drop_shadow_${F.value}`,
1663
1663
  "color-interpolation-filters": "sRGB",
@@ -1671,11 +1671,11 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1671
1671
  stdDeviation: "3",
1672
1672
  "flood-opacity": "1",
1673
1673
  "flood-color": L.value.style.chart.layout.donut.shadowColor
1674
- }, null, 8, xt)], 8, bt)
1674
+ }, null, 8, St)], 8, xt)
1675
1675
  ]),
1676
1676
  L.value.type === "classic" ? (T(!0), b(_, { key: 3 }, D(K.value.filter((e) => !e.ghost), (e, t) => (T(), b("g", null, [Y(e) && B.value.dataLabels.show ? (T(), b("path", {
1677
1677
  key: 0,
1678
- d: A(X)[t]?.connectorPath || A(ce)(e, {
1678
+ d: k(X)[t]?.connectorPath || k(ce)(e, {
1679
1679
  x: V.value.width / 2,
1680
1680
  y: V.value.height / 2
1681
1681
  }, 16, 16, !1, !1, Pr.value, 12, L.value.style.chart.layout.curvedMarkers),
@@ -1685,16 +1685,16 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1685
1685
  "stroke-linejoin": "round",
1686
1686
  fill: "none",
1687
1687
  filter: fi(t)
1688
- }, null, 8, St)) : y("", !0)]))), 256)) : y("", !0),
1688
+ }, null, 8, Ct)) : y("", !0)]))), 256)) : y("", !0),
1689
1689
  L.value.type === "polar" ? (T(!0), b(_, { key: 4 }, D(K.value.filter((e) => !e.ghost), (e, t) => (T(), b("g", null, [Y(e) && B.value.dataLabels.show ? (T(), b("path", {
1690
1690
  key: 0,
1691
- d: `M ${A(s)({
1691
+ d: `M ${k(n)({
1692
1692
  initX: J.value[t].middlePoint.x,
1693
1693
  initY: J.value[t].middlePoint.y,
1694
1694
  offset: 24,
1695
1695
  centerX: V.value.width / 2,
1696
1696
  centerY: V.value.height / 2
1697
- }).x},${A(s)({
1697
+ }).x},${k(n)({
1698
1698
  initX: J.value[t].middlePoint.x,
1699
1699
  initY: J.value[t].middlePoint.y,
1700
1700
  offset: 24,
@@ -1708,7 +1708,7 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1708
1708
  fill: "none",
1709
1709
  filter: fi(t),
1710
1710
  style: w({ transition: R.value || !L.value.serieToggleAnimation.show ? "none" : `all ${L.value.serieToggleAnimation.durationMs}ms ease-in-out` })
1711
- }, null, 12, Ct)) : y("", !0)]))), 256)) : y("", !0),
1711
+ }, null, 12, wt)) : y("", !0)]))), 256)) : y("", !0),
1712
1712
  L.value.type === "classic" && L.value.style.chart.layout.donut.useShadow ? (T(), b("circle", {
1713
1713
  key: 5,
1714
1714
  cx: V.value.width / 2,
@@ -1716,8 +1716,8 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1716
1716
  r: G.value <= 0 ? 10 : G.value,
1717
1717
  fill: L.value.style.chart.backgroundColor,
1718
1718
  filter: `url(#shadow_${F.value})`
1719
- }, null, 8, wt)) : y("", !0),
1720
- t.$slots.pattern ? (T(), b("g", Tt, [(T(!0), b(_, null, D(e.dataset, (e, n) => (T(), b("defs", { key: `pattern-${e.patternIndex}` }, [O(t.$slots, "pattern", Be({ ref_for: !0 }, {
1719
+ }, null, 8, Tt)) : y("", !0),
1720
+ t.$slots.pattern ? (T(), b("g", Et, [(T(!0), b(_, null, D(e.dataset, (e, n) => (T(), b("defs", { key: `pattern-${e.patternIndex}` }, [O(t.$slots, "pattern", Be({ ref_for: !0 }, {
1721
1721
  seriesIndex: n,
1722
1722
  patternId: `pattern_${F.value}_${n}`
1723
1723
  }), void 0, !0)]))), 128))])) : y("", !0),
@@ -1726,7 +1726,7 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1726
1726
  stroke: L.value.style.chart.backgroundColor,
1727
1727
  d: e.arcSlice,
1728
1728
  fill: "#FFFFFF"
1729
- }, null, 8, Et))), 256)),
1729
+ }, null, 8, Dt))), 256)),
1730
1730
  (T(!0), b(_, null, D(q.value, (e, t) => (T(), b("path", {
1731
1731
  class: "vue-ui-donut-arc-path",
1732
1732
  d: e.arcSlice,
@@ -1734,24 +1734,24 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1734
1734
  stroke: L.value.style.chart.layout.donut.borderColorAuto ? L.value.style.chart.backgroundColor : L.value.style.chart.layout.donut.borderColor,
1735
1735
  "stroke-width": L.value.style.chart.layout.donut.borderWidth,
1736
1736
  filter: fi(t)
1737
- }, null, 8, Dt))), 256)),
1738
- t.$slots.pattern ? (T(), b("g", Ot, [(T(!0), b(_, null, D(q.value, (e, t) => (T(), b("path", {
1737
+ }, null, 8, Ot))), 256)),
1738
+ t.$slots.pattern ? (T(), b("g", kt, [(T(!0), b(_, null, D(q.value, (e, t) => (T(), b("path", {
1739
1739
  class: "vue-ui-donut-arc-path",
1740
1740
  d: e.arcSlice,
1741
1741
  fill: `url(#${e.pattern})`,
1742
1742
  stroke: L.value.style.chart.layout.donut.borderColorAuto ? L.value.style.chart.backgroundColor : L.value.style.chart.layout.donut.borderColor,
1743
1743
  "stroke-width": L.value.style.chart.layout.donut.borderWidth,
1744
1744
  filter: fi(t)
1745
- }, null, 8, kt))), 256))])) : y("", !0)
1745
+ }, null, 8, At))), 256))])) : y("", !0)
1746
1746
  ], 64)) : y("", !0),
1747
- Z.value && L.value.type === "polar" ? (T(), b(_, { key: 8 }, [K.value.length > 1 ? (T(), b("g", At, [
1747
+ Z.value && L.value.type === "polar" ? (T(), b(_, { key: 8 }, [K.value.length > 1 ? (T(), b("g", jt, [
1748
1748
  (T(!0), b(_, null, D(q.value, (e, t) => (T(), b("path", {
1749
1749
  stroke: L.value.style.chart.layout.donut.borderColorAuto ? L.value.style.chart.backgroundColor : L.value.style.chart.layout.donut.borderColor,
1750
1750
  d: J.value[t].path,
1751
1751
  fill: "#FFFFFF",
1752
1752
  style: w({ transition: R.value || !L.value.serieToggleAnimation.show ? "none" : `all ${L.value.serieToggleAnimation.durationMs}ms ease-in-out` })
1753
- }, null, 12, jt))), 256)),
1754
- L.value.style.chart.layout.donut.useShadow ? (T(), b("g", Mt, [(T(!0), b(_, null, D(q.value, (e, t) => (T(), b("path", {
1753
+ }, null, 12, Mt))), 256)),
1754
+ L.value.style.chart.layout.donut.useShadow ? (T(), b("g", Nt, [(T(!0), b(_, null, D(q.value, (e, t) => (T(), b("path", {
1755
1755
  class: "vue-ui-donut-arc-path",
1756
1756
  d: J.value[t].path,
1757
1757
  fill: "transparent",
@@ -1759,8 +1759,8 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1759
1759
  "stroke-width": L.value.style.chart.layout.donut.borderWidth,
1760
1760
  filter: `url(#drop_shadow_${F.value})`,
1761
1761
  style: w({ transition: R.value || !L.value.serieToggleAnimation.show ? "none" : `all ${L.value.serieToggleAnimation.durationMs}ms ease-in-out` })
1762
- }, null, 12, Nt))), 256))])) : y("", !0),
1763
- t.$slots.pattern ? (T(), b("g", Pt, [(T(!0), b(_, null, D(q.value, (e, t) => (T(), b("path", {
1762
+ }, null, 12, Pt))), 256))])) : y("", !0),
1763
+ t.$slots.pattern ? (T(), b("g", Ft, [(T(!0), b(_, null, D(q.value, (e, t) => (T(), b("path", {
1764
1764
  class: "vue-ui-donut-arc-path",
1765
1765
  d: J.value[t].path,
1766
1766
  fill: `url(#${e.pattern})`,
@@ -1771,7 +1771,7 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1771
1771
  transition: R.value || !L.value.serieToggleAnimation.show ? "none" : `all ${L.value.serieToggleAnimation.durationMs}ms ease-in-out`,
1772
1772
  transformOrigin: "center"
1773
1773
  })
1774
- }, null, 12, Ft))), 256))])) : y("", !0),
1774
+ }, null, 12, It))), 256))])) : y("", !0),
1775
1775
  (T(!0), b(_, null, D(q.value, (e, t) => (T(), b("path", {
1776
1776
  class: "vue-ui-donut-arc-path",
1777
1777
  d: J.value[t].path,
@@ -1780,8 +1780,8 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1780
1780
  "stroke-width": L.value.style.chart.layout.donut.borderWidth,
1781
1781
  filter: fi(t),
1782
1782
  style: w({ transition: R.value || !L.value.serieToggleAnimation.show ? "none" : `all ${L.value.serieToggleAnimation.durationMs}ms ease-in-out` })
1783
- }, null, 12, It))), 256))
1784
- ])) : (T(), b("g", Lt, [t.$slots.pattern ? (T(), b("circle", {
1783
+ }, null, 12, Lt))), 256))
1784
+ ])) : (T(), b("g", Rt, [t.$slots.pattern ? (T(), b("circle", {
1785
1785
  key: 0,
1786
1786
  cx: V.value.width / 2,
1787
1787
  cy: V.value.height / 2,
@@ -1789,43 +1789,43 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1789
1789
  fill: `url(#pattern_${F.value}_${K.value[0].patternIndex})`,
1790
1790
  stroke: L.value.style.chart.backgroundColor,
1791
1791
  "stroke-width": L.value.style.chart.layout.donut.borderWidth
1792
- }, null, 8, Rt)) : y("", !0), x("circle", {
1792
+ }, null, 8, zt)) : y("", !0), x("circle", {
1793
1793
  cx: V.value.width / 2,
1794
1794
  cy: V.value.height / 2,
1795
1795
  r: G.value,
1796
1796
  fill: L.value.style.chart.useGradient ? `url(#polar_gradient_0_${F.value})` : K.value[0].color,
1797
1797
  stroke: L.value.style.chart.backgroundColor,
1798
1798
  "stroke-width": L.value.style.chart.layout.donut.borderWidth
1799
- }, null, 8, zt)]))], 64)) : (T(), b(_, { key: 9 }, [L.value.type === "classic" && !Xr.value ? (T(), b("g", Bt, [(T(!0), b(_, null, D(Zr.value, (e, t) => (T(), b("path", {
1799
+ }, null, 8, Bt)]))], 64)) : (T(), b(_, { key: 9 }, [L.value.type === "classic" && !Xr.value ? (T(), b("g", Vt, [(T(!0), b(_, null, D(Zr.value, (e, t) => (T(), b("path", {
1800
1800
  class: "vue-ui-donut-arc-path",
1801
1801
  d: e.arcSlice,
1802
1802
  fill: e.color,
1803
1803
  stroke: L.value.style.chart.backgroundColor,
1804
1804
  "stroke-width": L.value.style.chart.layout.donut.borderWidth
1805
- }, null, 8, Vt))), 256))])) : y("", !0), x("circle", {
1805
+ }, null, 8, Ht))), 256))])) : y("", !0), x("circle", {
1806
1806
  cx: V.value.width / 2,
1807
1807
  cy: V.value.height / 2,
1808
1808
  r: G.value <= 0 ? 10 : G.value,
1809
1809
  fill: "transparent",
1810
1810
  stroke: L.value.style.chart.backgroundColor
1811
- }, null, 8, Ht)], 64)),
1811
+ }, null, 8, Ut)], 64)),
1812
1812
  L.value.style.chart.useGradient && L.value.type === "classic" ? (T(), b("circle", {
1813
1813
  key: 10,
1814
1814
  cx: V.value.width / 2,
1815
1815
  cy: V.value.height / 2,
1816
1816
  r: G.value <= 0 ? 10 : G.value,
1817
1817
  fill: `url(#gradient_${F.value})`
1818
- }, null, 8, Ut)) : y("", !0),
1818
+ }, null, 8, Wt)) : y("", !0),
1819
1819
  x("circle", {
1820
1820
  ref_key: "circle_hollow",
1821
- ref: In,
1821
+ ref: Ln,
1822
1822
  style: { pointerEvents: "none" },
1823
1823
  fill: "none",
1824
1824
  cx: V.value.width / 2,
1825
1825
  cy: V.value.height / 2,
1826
1826
  r: Math.max(.1, Pr.value * 1.7)
1827
- }, null, 8, Wt),
1828
- Z.value ? (T(), b(_, { key: 11 }, [K.value.length > 1 || L.value.type === "classic" ? (T(), b("g", Gt, [(T(!0), b(_, null, D(K.value.filter((e) => !e.ghost), (e, t) => (T(), b("path", {
1827
+ }, null, 8, Gt),
1828
+ Z.value ? (T(), b(_, { key: 11 }, [K.value.length > 1 || L.value.type === "classic" ? (T(), b("g", Kt, [(T(!0), b(_, null, D(K.value.filter((e) => !e.ghost), (e, t) => (T(), b("path", {
1829
1829
  d: L.value.type === "classic" ? e.arcSlice : J.value[t].path,
1830
1830
  stroke: L.value.style.chart.layout.donut.borderColorAuto ? L.value.style.chart.backgroundColor : L.value.style.chart.layout.donut.borderColor,
1831
1831
  fill: I.value === t ? L.value.style.chart.layout.donut.selectedColor : "transparent",
@@ -1840,27 +1840,27 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1840
1840
  seriesIndex: e.seriesIndex
1841
1841
  }),
1842
1842
  onClick: (n) => $(e, t)
1843
- }, null, 40, Kt))), 256))])) : (T(), b("g", qt, [x("circle", {
1843
+ }, null, 40, qt))), 256))])) : (T(), b("g", Jt, [x("circle", {
1844
1844
  cx: V.value.width / 2,
1845
1845
  cy: V.value.height / 2,
1846
1846
  r: G.value,
1847
1847
  fill: "transparent",
1848
- onMouseenter: n[0] ||= (e) => Q({
1848
+ onMouseenter: r[0] ||= (e) => Q({
1849
1849
  datapoint: K.value[0],
1850
1850
  relativeIndex: 0,
1851
1851
  seriesIndex: K.value[0].seriesIndex,
1852
1852
  show: !0
1853
1853
  }),
1854
- onMouseleave: n[1] ||= (e) => ci({
1854
+ onMouseleave: r[1] ||= (e) => ci({
1855
1855
  datapoint: K.value[0],
1856
1856
  seriesIndex: K.value[0].seriesIndex
1857
1857
  }),
1858
- onClick: n[2] ||= (e) => $(K.value[0], t.i)
1859
- }, null, 40, Jt)]))], 64)) : y("", !0),
1858
+ onClick: r[2] ||= (e) => $(K.value[0], t.i)
1859
+ }, null, 40, Yt)]))], 64)) : y("", !0),
1860
1860
  L.value.type === "classic" ? (T(), b("g", {
1861
1861
  key: 12,
1862
1862
  ref_key: "G_hollow",
1863
- ref: Fn,
1863
+ ref: In,
1864
1864
  class: "vue-data-ui-donut-hollow-labels"
1865
1865
  }, [
1866
1866
  L.value.style.chart.layout.labels.hollow.total.show ? (T(), b("text", {
@@ -1871,7 +1871,7 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1871
1871
  fill: L.value.style.chart.layout.labels.hollow.total.color,
1872
1872
  "font-size": L.value.style.chart.layout.labels.hollow.total.fontSize,
1873
1873
  style: w(`font-weight:${L.value.style.chart.layout.labels.hollow.total.bold ? "bold" : ""}`)
1874
- }, k(L.value.style.chart.layout.labels.hollow.total.text), 13, Yt)) : y("", !0),
1874
+ }, qe(L.value.style.chart.layout.labels.hollow.total.text), 13, Xt)) : y("", !0),
1875
1875
  L.value.style.chart.layout.labels.hollow.total.show ? (T(), b("text", {
1876
1876
  key: 1,
1877
1877
  "text-anchor": "middle",
@@ -1880,11 +1880,11 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1880
1880
  fill: L.value.style.chart.layout.labels.hollow.total.value.color,
1881
1881
  "font-size": L.value.style.chart.layout.labels.hollow.total.value.fontSize,
1882
1882
  style: w(`font-weight:${L.value.style.chart.layout.labels.hollow.total.value.bold ? "bold" : ""}`)
1883
- }, k(A(m)(L.value.style.chart.layout.labels.hollow.total.value.formatter, Z.value, A(h)({
1883
+ }, qe(k(m)(L.value.style.chart.layout.labels.hollow.total.value.formatter, Z.value, k(a)({
1884
1884
  p: L.value.style.chart.layout.labels.hollow.total.value.prefix,
1885
1885
  v: Z.value,
1886
1886
  s: L.value.style.chart.layout.labels.hollow.total.value.suffix
1887
- }))), 13, Xt)) : y("", !0),
1887
+ }))), 13, Zt)) : y("", !0),
1888
1888
  L.value.style.chart.layout.labels.hollow.average.show ? (T(), b("text", {
1889
1889
  key: 2,
1890
1890
  "text-anchor": "middle",
@@ -1893,7 +1893,7 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1893
1893
  fill: L.value.style.chart.layout.labels.hollow.average.color,
1894
1894
  "font-size": L.value.style.chart.layout.labels.hollow.average.fontSize,
1895
1895
  style: w(`font-weight:${L.value.style.chart.layout.labels.hollow.average.bold ? "bold" : ""}`)
1896
- }, k(L.value.style.chart.layout.labels.hollow.average.text), 13, Zt)) : y("", !0),
1896
+ }, qe(L.value.style.chart.layout.labels.hollow.average.text), 13, Qt)) : y("", !0),
1897
1897
  L.value.style.chart.layout.labels.hollow.average.show ? (T(), b("text", {
1898
1898
  key: 3,
1899
1899
  "text-anchor": "middle",
@@ -1902,45 +1902,45 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1902
1902
  fill: L.value.style.chart.layout.labels.hollow.average.value.color,
1903
1903
  "font-size": L.value.style.chart.layout.labels.hollow.average.value.fontSize,
1904
1904
  style: w(`font-weight:${L.value.style.chart.layout.labels.hollow.average.value.bold ? "bold" : ""}`)
1905
- }, k(Lr.value || R.value ? "--" : A(m)(L.value.style.chart.layout.labels.hollow.average.value.formatter, A(le)(ii.value), A(h)({
1905
+ }, qe(Lr.value || R.value ? "--" : k(m)(L.value.style.chart.layout.labels.hollow.average.value.formatter, k(ie)(ii.value), k(a)({
1906
1906
  p: L.value.style.chart.layout.labels.hollow.average.value.prefix,
1907
- v: A(le)(ii.value),
1907
+ v: k(ie)(ii.value),
1908
1908
  s: L.value.style.chart.layout.labels.hollow.average.value.suffix,
1909
1909
  r: L.value.style.chart.layout.labels.hollow.average.value.rounding
1910
- }))), 13, Qt)) : y("", !0)
1910
+ }))), 13, $t)) : y("", !0)
1911
1911
  ], 512)) : y("", !0),
1912
- (T(!0), b(_, null, D(q.value.filter((e) => !e.ghost), (e, n) => (T(), b("g", {
1913
- filter: fi(n),
1912
+ (T(!0), b(_, null, D(q.value.filter((e) => !e.ghost), (e, r) => (T(), b("g", {
1913
+ filter: fi(r),
1914
1914
  class: He({ animated: L.value.useCssAnimation }),
1915
1915
  key: e.seriesIndex,
1916
1916
  opacity: pi(e)
1917
- }, [L.value.style.chart.layout.labels.dataLabels.useLabelSlots ? (T(), b("g", en, [(T(), b("foreignObject", {
1918
- x: A(g)(e, !0).anchor === "end" ? A(g)(e).x - 120 : A(g)(e, !0).anchor === "middle" ? A(g)(e).x - 60 : A(g)(e).x,
1919
- y: A(p)(e) - (yi.value ? 20 : 0),
1917
+ }, [L.value.style.chart.layout.labels.dataLabels.useLabelSlots ? (T(), b("g", tn, [(T(), b("foreignObject", {
1918
+ x: k(h)(e, !0).anchor === "end" ? k(h)(e).x - 120 : k(h)(e, !0).anchor === "middle" ? k(h)(e).x - 60 : k(h)(e).x,
1919
+ y: k(f)(e) - (yi.value ? 20 : 0),
1920
1920
  width: "120",
1921
1921
  height: "60",
1922
1922
  style: { overflow: "visible" }
1923
1923
  }, [x("div", null, [O(t.$slots, "dataLabel", Be({ ref_for: !0 }, {
1924
1924
  datapoint: e,
1925
- isBlur: !L.value.useBlurOnHover || [null, void 0].includes(I.value) || I.value === n,
1925
+ isBlur: !L.value.useBlurOnHover || [null, void 0].includes(I.value) || I.value === r,
1926
1926
  isSafari: yi.value,
1927
1927
  isVisible: Y(e) && B.value.dataLabels.show,
1928
- textAlign: A(g)(e, !0, 16, !0).anchor,
1929
- flexAlign: A(g)(e, !0, 16).anchor,
1928
+ textAlign: k(h)(e, !0, 16, !0).anchor,
1929
+ flexAlign: k(h)(e, !0, 16).anchor,
1930
1930
  percentage: ti(e, q.value)
1931
- }), void 0, !0)])], 8, tn))])) : (T(), b("g", nn, [L.value.type === "classic" ? (T(), b(_, { key: 0 }, [Y(e) && B.value.dataLabels.show ? (T(), b("circle", {
1931
+ }), void 0, !0)])], 8, nn))])) : (T(), b("g", rn, [L.value.type === "classic" ? (T(), b(_, { key: 0 }, [Y(e) && B.value.dataLabels.show ? (T(), b("circle", {
1932
1932
  key: 0,
1933
- cx: A(X)[n]?.markerX ?? A(g)(e).x,
1934
- cy: A(X)[n]?.markerY ?? A(p)(e) - 3.5,
1933
+ cx: k(X)[r]?.markerX ?? k(h)(e).x,
1934
+ cy: k(X)[r]?.markerY ?? k(f)(e) - 3.5,
1935
1935
  fill: e.color,
1936
1936
  stroke: L.value.style.chart.backgroundColor,
1937
1937
  "stroke-width": 1,
1938
1938
  r: 3,
1939
- filter: !L.value.useBlurOnHover || [null, void 0].includes(I.value) || I.value === n ? "" : `url(#blur_${F.value})`,
1940
- onClick: (t) => $(e, n),
1939
+ filter: !L.value.useBlurOnHover || [null, void 0].includes(I.value) || I.value === r ? "" : `url(#blur_${F.value})`,
1940
+ onClick: (t) => $(e, r),
1941
1941
  onMouseenter: (t) => Q({
1942
1942
  datapoint: e,
1943
- relativeIndex: n,
1943
+ relativeIndex: r,
1944
1944
  seriesIndex: e.seriesIndex,
1945
1945
  show: !0
1946
1946
  }),
@@ -1948,16 +1948,16 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1948
1948
  datapoint: e,
1949
1949
  seriesIndex: e.seriesIndex
1950
1950
  })
1951
- }, null, 40, rn)) : y("", !0), L.value.style.chart.layout.labels.dataLabels.oneLine || A(X)[n] ? Ze((T(), b("text", {
1951
+ }, null, 40, an)) : y("", !0), L.value.style.chart.layout.labels.dataLabels.oneLine || k(X)[r] ? Qe((T(), b("text", {
1952
1952
  key: 1,
1953
1953
  class: "vue-data-ui-datalabel-inline",
1954
- "text-anchor": A(X)[n]?.textAnchor || A(g)(e, !0, 12).anchor,
1955
- x: A(X)[n]?.labelX ?? A(g)(e, !0, 12).x,
1956
- y: A(X)[n]?.labelY ?? A(p)(e),
1957
- onClick: (t) => $(e, n),
1954
+ "text-anchor": k(X)[r]?.textAnchor || k(h)(e, !0, 12).anchor,
1955
+ x: k(X)[r]?.labelX ?? k(h)(e, !0, 12).x,
1956
+ y: k(X)[r]?.labelY ?? k(f)(e),
1957
+ onClick: (t) => $(e, r),
1958
1958
  onMouseenter: (t) => Q({
1959
1959
  datapoint: e,
1960
- relativeIndex: n,
1960
+ relativeIndex: r,
1961
1961
  seriesIndex: e.seriesIndex,
1962
1962
  show: !0
1963
1963
  }),
@@ -1965,19 +1965,19 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1965
1965
  datapoint: e,
1966
1966
  seriesIndex: e.seriesIndex
1967
1967
  }),
1968
- innerHTML: ui(e, n, !!A(X)[n])
1969
- }, null, 40, an)), [[Ye, Y(e) && B.value.dataLabels.show]]) : (T(), b(_, { key: 2 }, [Ze(x("text", {
1968
+ innerHTML: ui(e, r, !!k(X)[r])
1969
+ }, null, 40, on)), [[Xe, Y(e) && B.value.dataLabels.show]]) : (T(), b(_, { key: 2 }, [Qe(x("text", {
1970
1970
  class: "vue-data-ui-datalabel-value",
1971
- "text-anchor": A(X)[n]?.textAnchor || A(g)(e, !0, 12).anchor,
1972
- x: A(X)[n]?.labelX ?? A(g)(e, !0, 12).x,
1973
- y: A(X)[n]?.labelY ?? A(p)(e),
1971
+ "text-anchor": k(X)[r]?.textAnchor || k(h)(e, !0, 12).anchor,
1972
+ x: k(X)[r]?.labelX ?? k(h)(e, !0, 12).x,
1973
+ y: k(X)[r]?.labelY ?? k(f)(e),
1974
1974
  fill: L.value.style.chart.layout.labels.percentage.color,
1975
1975
  "font-size": tr.value + "px",
1976
1976
  style: w(`font-weight:${L.value.style.chart.layout.labels.percentage.bold ? "bold" : ""}`),
1977
- onClick: (t) => $(e, n),
1977
+ onClick: (t) => $(e, r),
1978
1978
  onMouseenter: (t) => Q({
1979
1979
  datapoint: e,
1980
- relativeIndex: n,
1980
+ relativeIndex: r,
1981
1981
  seriesIndex: e.seriesIndex,
1982
1982
  show: !0
1983
1983
  }),
@@ -1985,18 +1985,18 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1985
1985
  datapoint: e,
1986
1986
  seriesIndex: e.seriesIndex
1987
1987
  })
1988
- }, k(Si(e)), 45, on), [[Ye, Y(e) && B.value.dataLabels.show]]), Ze(x("text", {
1988
+ }, qe(Si(e)), 45, sn), [[Xe, Y(e) && B.value.dataLabels.show]]), Qe(x("text", {
1989
1989
  class: "vue-data-ui-datalabel-name",
1990
- "text-anchor": A(X)[n]?.textAnchor || A(g)(e).anchor,
1991
- x: A(X)[n]?.labelX ?? A(g)(e, !0, 12).x,
1992
- y: (A(X)[n]?.labelY ?? A(p)(e)) + P.value * 1.2,
1990
+ "text-anchor": k(X)[r]?.textAnchor || k(h)(e).anchor,
1991
+ x: k(X)[r]?.labelX ?? k(h)(e, !0, 12).x,
1992
+ y: (k(X)[r]?.labelY ?? k(f)(e)) + P.value * 1.2,
1993
1993
  fill: L.value.style.chart.layout.labels.name.color,
1994
1994
  "font-size": P.value + "px",
1995
1995
  style: w(`font-weight:${L.value.style.chart.layout.labels.name.bold ? "bold" : ""}`),
1996
- onClick: (t) => $(e, n),
1996
+ onClick: (t) => $(e, r),
1997
1997
  onMouseenter: (t) => Q({
1998
1998
  datapoint: e,
1999
- relativeIndex: n,
1999
+ relativeIndex: r,
2000
2000
  seriesIndex: e.seriesIndex,
2001
2001
  show: !0
2002
2002
  }),
@@ -2004,25 +2004,25 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
2004
2004
  datapoint: e,
2005
2005
  seriesIndex: e.seriesIndex
2006
2006
  }),
2007
- innerHTML: A(ee)({
2007
+ innerHTML: k(te)({
2008
2008
  content: e.name,
2009
2009
  fontSize: P.value,
2010
2010
  fill: L.value.style.chart.layout.labels.name.color,
2011
- x: A(X)[n]?.labelX ?? A(g)(e, !0, 12).x,
2012
- y: (A(X)[n]?.labelY ?? A(p)(e)) + P.value
2011
+ x: k(X)[r]?.labelX ?? k(h)(e, !0, 12).x,
2012
+ y: (k(X)[r]?.labelY ?? k(f)(e)) + P.value
2013
2013
  })
2014
- }, null, 44, sn), [[Ye, Y(e, !0, 12) && B.value.dataLabels.show && L.value.style.chart.layout.labels.name.show]])], 64))], 64)) : y("", !0), L.value.type === "polar" ? (T(), b(_, { key: 1 }, [Y(e) && B.value.dataLabels.show ? (T(), b("circle", {
2014
+ }, null, 44, cn), [[Xe, Y(e, !0, 12) && B.value.dataLabels.show && L.value.style.chart.layout.labels.name.show]])], 64))], 64)) : y("", !0), L.value.type === "polar" ? (T(), b(_, { key: 1 }, [Y(e) && B.value.dataLabels.show ? (T(), b("circle", {
2015
2015
  key: 0,
2016
- cx: A(s)({
2017
- initX: J.value[n].middlePoint.x,
2018
- initY: J.value[n].middlePoint.y,
2016
+ cx: k(n)({
2017
+ initX: J.value[r].middlePoint.x,
2018
+ initY: J.value[r].middlePoint.y,
2019
2019
  offset: 24,
2020
2020
  centerX: V.value.width / 2,
2021
2021
  centerY: V.value.height / 2
2022
2022
  }).x,
2023
- cy: A(s)({
2024
- initX: J.value[n].middlePoint.x,
2025
- initY: J.value[n].middlePoint.y,
2023
+ cy: k(n)({
2024
+ initX: J.value[r].middlePoint.x,
2025
+ initY: J.value[r].middlePoint.y,
2026
2026
  offset: 24,
2027
2027
  centerX: V.value.width / 2,
2028
2028
  centerY: V.value.height / 2
@@ -2031,11 +2031,11 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
2031
2031
  stroke: L.value.style.chart.backgroundColor,
2032
2032
  "stroke-width": 1,
2033
2033
  r: 3,
2034
- filter: !L.value.useBlurOnHover || [null, void 0].includes(I.value) || I.value === n ? "" : `url(#blur_${F.value})`,
2035
- onClick: (t) => $(e, n),
2034
+ filter: !L.value.useBlurOnHover || [null, void 0].includes(I.value) || I.value === r ? "" : `url(#blur_${F.value})`,
2035
+ onClick: (t) => $(e, r),
2036
2036
  onMouseenter: (t) => Q({
2037
2037
  datapoint: e,
2038
- relativeIndex: n,
2038
+ relativeIndex: r,
2039
2039
  seriesIndex: e.seriesIndex,
2040
2040
  show: !0
2041
2041
  }),
@@ -2044,29 +2044,29 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
2044
2044
  seriesIndex: e.seriesIndex
2045
2045
  }),
2046
2046
  style: w({ transition: R.value || !L.value.serieToggleAnimation.show ? "none" : `all ${L.value.serieToggleAnimation.durationMs}ms ease-in-out` })
2047
- }, null, 44, cn)) : y("", !0), L.value.style.chart.layout.labels.dataLabels.oneLine ? Ze((T(), b("text", {
2047
+ }, null, 44, ln)) : y("", !0), L.value.style.chart.layout.labels.dataLabels.oneLine ? Qe((T(), b("text", {
2048
2048
  key: 1,
2049
2049
  class: "vue-data-ui-datalabel-inline",
2050
- "text-anchor": Qr(J.value[n].middlePoint),
2051
- x: A(s)({
2052
- initX: J.value[n].middlePoint.x,
2053
- initY: J.value[n].middlePoint.y,
2050
+ "text-anchor": Qr(J.value[r].middlePoint),
2051
+ x: k(n)({
2052
+ initX: J.value[r].middlePoint.x,
2053
+ initY: J.value[r].middlePoint.y,
2054
2054
  offset: 42,
2055
2055
  centerX: V.value.width / 2,
2056
2056
  centerY: V.value.height / 2
2057
2057
  }).x,
2058
- y: A(s)({
2059
- initX: J.value[n].middlePoint.x,
2060
- initY: J.value[n].middlePoint.y,
2058
+ y: k(n)({
2059
+ initX: J.value[r].middlePoint.x,
2060
+ initY: J.value[r].middlePoint.y,
2061
2061
  offset: 42,
2062
2062
  centerX: V.value.width / 2,
2063
2063
  centerY: V.value.height / 2
2064
2064
  }).y,
2065
2065
  style: w({ transition: R.value || !L.value.serieToggleAnimation.show ? "none" : `all ${L.value.serieToggleAnimation.durationMs}ms ease-in-out` }),
2066
- onClick: (t) => $(e, n),
2066
+ onClick: (t) => $(e, r),
2067
2067
  onMouseenter: (t) => Q({
2068
2068
  datapoint: e,
2069
- relativeIndex: n,
2069
+ relativeIndex: r,
2070
2070
  seriesIndex: e.seriesIndex,
2071
2071
  show: !0
2072
2072
  }),
@@ -2074,21 +2074,21 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
2074
2074
  datapoint: e,
2075
2075
  seriesIndex: e.seriesIndex
2076
2076
  }),
2077
- innerHTML: di(e, n)
2078
- }, null, 44, ln)), [[Ye, Y(e) && B.value.dataLabels.show]]) : (T(), b(_, { key: 2 }, [Y(e) && B.value.dataLabels.show ? (T(), b("text", {
2077
+ innerHTML: di(e, r)
2078
+ }, null, 44, un)), [[Xe, Y(e) && B.value.dataLabels.show]]) : (T(), b(_, { key: 2 }, [Y(e) && B.value.dataLabels.show ? (T(), b("text", {
2079
2079
  key: 0,
2080
2080
  class: "vue-data-ui-datalabel-value",
2081
- "text-anchor": Qr(J.value[n].middlePoint),
2082
- x: A(s)({
2083
- initX: J.value[n].middlePoint.x,
2084
- initY: J.value[n].middlePoint.y,
2081
+ "text-anchor": Qr(J.value[r].middlePoint),
2082
+ x: k(n)({
2083
+ initX: J.value[r].middlePoint.x,
2084
+ initY: J.value[r].middlePoint.y,
2085
2085
  offset: 42,
2086
2086
  centerX: V.value.width / 2,
2087
2087
  centerY: V.value.height / 2
2088
2088
  }).x,
2089
- y: A(s)({
2090
- initX: J.value[n].middlePoint.x,
2091
- initY: J.value[n].middlePoint.y,
2089
+ y: k(n)({
2090
+ initX: J.value[r].middlePoint.x,
2091
+ initY: J.value[r].middlePoint.y,
2092
2092
  offset: 42,
2093
2093
  centerX: V.value.width / 2,
2094
2094
  centerY: V.value.height / 2
@@ -2099,10 +2099,10 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
2099
2099
  transition: R.value || !L.value.serieToggleAnimation.show ? "none" : `all ${L.value.serieToggleAnimation.durationMs}ms ease-in-out`,
2100
2100
  fontWeight: L.value.style.chart.layout.labels.percentage.bold ? "bold" : "normal"
2101
2101
  }),
2102
- onClick: (t) => $(e, n),
2102
+ onClick: (t) => $(e, r),
2103
2103
  onMouseenter: (t) => Q({
2104
2104
  datapoint: e,
2105
- relativeIndex: n,
2105
+ relativeIndex: r,
2106
2106
  seriesIndex: e.seriesIndex,
2107
2107
  show: !0
2108
2108
  }),
@@ -2110,20 +2110,20 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
2110
2110
  datapoint: e,
2111
2111
  seriesIndex: e.seriesIndex
2112
2112
  })
2113
- }, k(Si(e)), 45, un)) : y("", !0), Y(e, !0, 12) && B.value.dataLabels.show && L.value.style.chart.layout.labels.name.show ? (T(), b("text", {
2113
+ }, qe(Si(e)), 45, dn)) : y("", !0), Y(e, !0, 12) && B.value.dataLabels.show && L.value.style.chart.layout.labels.name.show ? (T(), b("text", {
2114
2114
  key: 1,
2115
2115
  class: "vue-data-ui-datalabel-name",
2116
- "text-anchor": Qr(J.value[n].middlePoint),
2117
- x: A(s)({
2118
- initX: J.value[n].middlePoint.x,
2119
- initY: J.value[n].middlePoint.y,
2116
+ "text-anchor": Qr(J.value[r].middlePoint),
2117
+ x: k(n)({
2118
+ initX: J.value[r].middlePoint.x,
2119
+ initY: J.value[r].middlePoint.y,
2120
2120
  offset: 42,
2121
2121
  centerX: V.value.width / 2,
2122
2122
  centerY: V.value.height / 2
2123
2123
  }).x,
2124
- y: A(s)({
2125
- initX: J.value[n].middlePoint.x,
2126
- initY: J.value[n].middlePoint.y,
2124
+ y: k(n)({
2125
+ initX: J.value[r].middlePoint.x,
2126
+ initY: J.value[r].middlePoint.y,
2127
2127
  offset: 42,
2128
2128
  centerX: V.value.width / 2,
2129
2129
  centerY: V.value.height / 2
@@ -2134,10 +2134,10 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
2134
2134
  transition: R.value || !L.value.serieToggleAnimation.show ? "none" : `all ${L.value.serieToggleAnimation.durationMs}ms ease-in-out`,
2135
2135
  fontWeight: L.value.style.chart.layout.labels.name.bold ? "bold" : "normal"
2136
2136
  }),
2137
- onClick: (t) => $(e, n),
2137
+ onClick: (t) => $(e, r),
2138
2138
  onMouseenter: (t) => Q({
2139
2139
  datapoint: e,
2140
- relativeIndex: n,
2140
+ relativeIndex: r,
2141
2141
  seriesIndex: e.seriesIndex,
2142
2142
  show: !0
2143
2143
  }),
@@ -2145,29 +2145,29 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
2145
2145
  datapoint: e,
2146
2146
  seriesIndex: e.seriesIndex
2147
2147
  }),
2148
- innerHTML: A(ee)({
2148
+ innerHTML: k(te)({
2149
2149
  content: e.name,
2150
2150
  fontSize: P.value,
2151
2151
  fill: L.value.style.chart.layout.labels.name.color,
2152
- x: A(s)({
2153
- initX: J.value[n].middlePoint.x,
2154
- initY: J.value[n].middlePoint.y,
2152
+ x: k(n)({
2153
+ initX: J.value[r].middlePoint.x,
2154
+ initY: J.value[r].middlePoint.y,
2155
2155
  offset: 42,
2156
2156
  centerX: V.value.width / 2,
2157
2157
  centerY: V.value.height / 2
2158
2158
  }).x,
2159
- y: A(s)({
2160
- initX: J.value[n].middlePoint.x,
2161
- initY: J.value[n].middlePoint.y,
2159
+ y: k(n)({
2160
+ initX: J.value[r].middlePoint.x,
2161
+ initY: J.value[r].middlePoint.y,
2162
2162
  offset: 42,
2163
2163
  centerX: V.value.width / 2,
2164
2164
  centerY: V.value.height / 2
2165
2165
  }).y + P.value * 1.2
2166
2166
  })
2167
- }, null, 44, dn)) : y("", !0)], 64))], 64)) : y("", !0)])), B.value.dataLabels.show && L.value.style.chart.comments.show && e.comment ? (T(), b("g", fn, [Y(e) && L.value.type === "classic" ? (T(), b("foreignObject", {
2167
+ }, null, 44, fn)) : y("", !0)], 64))], 64)) : y("", !0)])), B.value.dataLabels.show && L.value.style.chart.comments.show && e.comment ? (T(), b("g", pn, [Y(e) && L.value.type === "classic" ? (T(), b("foreignObject", {
2168
2168
  key: 0,
2169
- x: L.value.style.chart.comments.offsetX + (A(g)(e, !0).anchor === "end" ? A(g)(e).x - L.value.style.chart.comments.width : A(g)(e, !0).anchor === "middle" ? A(g)(e).x - L.value.style.chart.comments.width / 2 : A(g)(e).x),
2170
- y: A(p)(e) + 24 + L.value.style.chart.comments.offsetY,
2169
+ x: L.value.style.chart.comments.offsetX + (k(h)(e, !0).anchor === "end" ? k(h)(e).x - L.value.style.chart.comments.width : k(h)(e, !0).anchor === "middle" ? k(h)(e).x - L.value.style.chart.comments.width / 2 : k(h)(e).x),
2170
+ y: k(f)(e) + 24 + L.value.style.chart.comments.offsetY,
2171
2171
  width: L.value.style.chart.comments.width,
2172
2172
  height: "200",
2173
2173
  style: {
@@ -2176,31 +2176,31 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
2176
2176
  }
2177
2177
  }, [x("div", null, [O(t.$slots, "plot-comment", { plot: {
2178
2178
  ...e,
2179
- textAlign: A(g)(e, !0, 16, !0).anchor,
2180
- flexAlign: A(g)(e, !0, 16).anchor,
2179
+ textAlign: k(h)(e, !0, 16, !0).anchor,
2180
+ flexAlign: k(h)(e, !0, 16).anchor,
2181
2181
  isFirstLoad: R.value
2182
- } }, void 0, !0)])], 8, pn)) : y("", !0), Y(e) && L.value.type === "polar" ? (T(), b("foreignObject", {
2182
+ } }, void 0, !0)])], 8, mn)) : y("", !0), Y(e) && L.value.type === "polar" ? (T(), b("foreignObject", {
2183
2183
  key: 1,
2184
- x: L.value.style.chart.comments.offsetX + (Qr(J.value[n].middlePoint) === "end" ? A(s)({
2185
- initX: J.value[n].middlePoint.x,
2186
- initY: J.value[n].middlePoint.y,
2184
+ x: L.value.style.chart.comments.offsetX + (Qr(J.value[r].middlePoint) === "end" ? k(n)({
2185
+ initX: J.value[r].middlePoint.x,
2186
+ initY: J.value[r].middlePoint.y,
2187
2187
  offset: 42,
2188
2188
  centerX: V.value.width / 2,
2189
2189
  centerY: V.value.height / 2
2190
- }).x - L.value.style.chart.comments.width : Qr(J.value[n].middlePoint) === "middle" ? A(s)({
2191
- initX: J.value[n].middlePoint.x,
2192
- initY: J.value[n].middlePoint.y,
2190
+ }).x - L.value.style.chart.comments.width : Qr(J.value[r].middlePoint) === "middle" ? k(n)({
2191
+ initX: J.value[r].middlePoint.x,
2192
+ initY: J.value[r].middlePoint.y,
2193
2193
  offset: 42,
2194
2194
  centerX: V.value.width / 2,
2195
2195
  centerY: V.value.height / 2
2196
- }).x - L.value.style.chart.comments.width / 2 : A(s)({
2197
- initX: J.value[n].middlePoint.x,
2198
- initY: J.value[n].middlePoint.y,
2196
+ }).x - L.value.style.chart.comments.width / 2 : k(n)({
2197
+ initX: J.value[r].middlePoint.x,
2198
+ initY: J.value[r].middlePoint.y,
2199
2199
  offset: 42,
2200
2200
  centerX: V.value.width / 2,
2201
2201
  centerY: V.value.height / 2
2202
2202
  }).x),
2203
- y: $r(J.value[n]) + L.value.style.chart.comments.offsetY,
2203
+ y: $r(J.value[r]) + L.value.style.chart.comments.offsetY,
2204
2204
  width: L.value.style.chart.comments.width,
2205
2205
  height: "200",
2206
2206
  style: w({
@@ -2210,40 +2210,40 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
2210
2210
  })
2211
2211
  }, [x("div", null, [O(t.$slots, "plot-comment", { plot: {
2212
2212
  ...e,
2213
- textAlign: Qr(J.value[n].middlePoint),
2214
- flexAlign: Qr(J.value[n].middlePoint),
2213
+ textAlign: Qr(J.value[r].middlePoint),
2214
+ flexAlign: Qr(J.value[r].middlePoint),
2215
2215
  isFirstLoad: R.value
2216
- } }, void 0, !0)])], 12, mn)) : y("", !0)])) : y("", !0)], 10, $t))), 128)),
2216
+ } }, void 0, !0)])], 12, hn)) : y("", !0)])) : y("", !0)], 10, en))), 128)),
2217
2217
  O(t.$slots, "svg", { svg: {
2218
2218
  ...V.value,
2219
2219
  datapoints: K.value,
2220
- isPrintingImg: A(Or) || A(kr) || Yn.value,
2221
- isPrintingSvg: Xn.value
2220
+ isPrintingImg: k(Or) || k(kr) || Xn.value,
2221
+ isPrintingSvg: Zn.value
2222
2222
  } }, void 0, !0)
2223
- ], 512)], 46, it)), t.$slots.hint ? (T(), b("div", hn, [O(t.$slots, "hint", C(S({
2223
+ ], 512)], 46, at)), t.$slots.hint ? (T(), b("div", gn, [O(t.$slots, "hint", C(S({
2224
2224
  hint: L.value.a11y.translations.keyboardNavigation,
2225
2225
  isVisible: er.value
2226
2226
  })), void 0, !0)])) : y("", !0)]),
2227
- t.$slots.watermark ? (T(), b("div", gn, [O(t.$slots, "watermark", C(S({ isPrinting: A(Or) || A(kr) || Yn.value || Xn.value })), void 0, !0)])) : y("", !0),
2228
- x("div", { id: `legend-bottom-${F.value}` }, null, 8, _n),
2229
- Kn.value && (L.value.style.chart.legend.show || t.$slots.legend) ? (T(), Fe(Pe, {
2227
+ t.$slots.watermark ? (T(), b("div", _n, [O(t.$slots, "watermark", C(S({ isPrinting: k(Or) || k(kr) || Xn.value || Zn.value })), void 0, !0)])) : y("", !0),
2228
+ x("div", { id: `legend-bottom-${F.value}` }, null, 8, vn),
2229
+ qn.value && (L.value.style.chart.legend.show || t.$slots.legend) ? (T(), Fe(Pe, {
2230
2230
  key: 6,
2231
2231
  to: L.value.style.chart.legend.position === "top" ? `#legend-top-${F.value}` : `#legend-bottom-${F.value}`
2232
2232
  }, [x("div", {
2233
2233
  ref_key: "chartLegend",
2234
- ref: Rn
2234
+ ref: zn
2235
2235
  }, [O(t.$slots, "legend", { legend: Jr.value }, () => [L.value.style.chart.legend.show ? (T(), Fe(Ne, {
2236
- key: `legend_${Gn.value}`,
2236
+ key: `legend_${Kn.value}`,
2237
2237
  legendSet: Jr.value,
2238
2238
  config: Yr.value,
2239
- onClickMarker: n[3] ||= ({ i: e }) => Hr(e),
2239
+ onClickMarker: r[3] ||= ({ i: e }) => Hr(e),
2240
2240
  isCursorPointer: fr.value
2241
2241
  }, Ie({
2242
- item: j(({ legend: e, index: t }) => [x("div", {
2242
+ item: A(({ legend: e, index: t }) => [x("div", {
2243
2243
  style: w(`opacity:${W.value.includes(t) ? .5 : 1}`),
2244
2244
  onClick: (t) => e.segregate()
2245
- }, k(e.display), 13, vn)]),
2246
- legendToggle: j(() => [Jr.value.length > 2 && L.value.style.chart.legend.selectAllToggle.show && !A(mr) ? (T(), Fe(Ee, {
2245
+ }, qe(e.display), 13, yn)]),
2246
+ legendToggle: A(() => [Jr.value.length > 2 && L.value.style.chart.legend.selectAllToggle.show && !k(mr) ? (T(), Fe(Ee, {
2247
2247
  key: 0,
2248
2248
  backgroundColor: L.value.style.chart.legend.selectAllToggle.backgroundColor,
2249
2249
  color: L.value.style.chart.legend.selectAllToggle.color,
@@ -2261,7 +2261,7 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
2261
2261
  _: 2
2262
2262
  }, [t.$slots.pattern ? {
2263
2263
  name: "legend-pattern",
2264
- fn: j(({ legend: e, index: t }) => [Re(Se, {
2264
+ fn: A(({ legend: e, index: t }) => [Re(Se, {
2265
2265
  shape: e.shape,
2266
2266
  radius: 30,
2267
2267
  stroke: "none",
@@ -2280,16 +2280,16 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
2280
2280
  t.$slots.source ? (T(), b("div", {
2281
2281
  key: 7,
2282
2282
  ref_key: "source",
2283
- ref: Vn,
2283
+ ref: Hn,
2284
2284
  dir: "auto"
2285
2285
  }, [O(t.$slots, "source", {}, void 0, !0)], 512)) : y("", !0),
2286
- t.$slots.hollow ? (T(), b("div", yn, [O(t.$slots, "hollow", C(S({
2286
+ t.$slots.hollow ? (T(), b("div", bn, [O(t.$slots, "hollow", C(S({
2287
2287
  total: Z.value,
2288
2288
  average: ii.value,
2289
2289
  dataset: H.value,
2290
2290
  ...V.value
2291
2291
  })), void 0, !0)])) : y("", !0),
2292
- Re(A(xn), {
2292
+ Re(k(Sn), {
2293
2293
  teleportTo: L.value.style.chart.tooltip.teleportTo,
2294
2294
  show: B.value.showTooltip && cr.value,
2295
2295
  backgroundColor: L.value.style.chart.tooltip.backgroundColor,
@@ -2302,7 +2302,7 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
2302
2302
  position: L.value.style.chart.tooltip.position,
2303
2303
  offsetX: L.value.style.chart.tooltip.offsetX,
2304
2304
  offsetY: L.value.style.chart.tooltip.offsetY,
2305
- parent: N.value,
2305
+ parent: M.value,
2306
2306
  content: lr.value,
2307
2307
  isCustom: si.value,
2308
2308
  isFullscreen: _i.value,
@@ -2313,9 +2313,9 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
2313
2313
  isA11yMode: $n.value === "keyboard",
2314
2314
  a11yPosition: Qn.value
2315
2315
  }, {
2316
- "tooltip-before": j(() => [O(t.$slots, "tooltip-before", C(S({ ...oi.value })), void 0, !0)]),
2317
- tooltip: j(() => [O(t.$slots, "tooltip", C(S({ ...oi.value })), void 0, !0)]),
2318
- "tooltip-after": j(() => [O(t.$slots, "tooltip-after", C(S({ ...oi.value })), void 0, !0)]),
2316
+ "tooltip-before": A(() => [O(t.$slots, "tooltip-before", C(S({ ...oi.value })), void 0, !0)]),
2317
+ tooltip: A(() => [O(t.$slots, "tooltip", C(S({ ...oi.value })), void 0, !0)]),
2318
+ "tooltip-after": A(() => [O(t.$slots, "tooltip-after", C(S({ ...oi.value })), void 0, !0)]),
2319
2319
  _: 3
2320
2320
  }, 8, [
2321
2321
  "teleportTo",
@@ -2341,13 +2341,13 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
2341
2341
  "isA11yMode",
2342
2342
  "a11yPosition"
2343
2343
  ]),
2344
- Nn.value && L.value.userOptions.buttons.table ? (T(), Fe(Ge(Ai.value.component), Be({ key: 9 }, Ai.value.props, {
2344
+ Pn.value && L.value.userOptions.buttons.table ? (T(), Fe(Ge(Ai.value.component), Be({ key: 9 }, Ai.value.props, {
2345
2345
  ref_key: "tableUnit",
2346
- ref: qn,
2346
+ ref: Jn,
2347
2347
  onClose: ji
2348
2348
  }), Ie({
2349
- content: j(() => [(T(), Fe(A(wn), {
2350
- key: `table_${Wn.value}`,
2349
+ content: A(() => [(T(), Fe(k(Tn), {
2350
+ key: `table_${Gn.value}`,
2351
2351
  colNames: gi.value.colNames,
2352
2352
  head: gi.value.head,
2353
2353
  body: gi.value.body,
@@ -2357,18 +2357,18 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
2357
2357
  isCursorPointer: fr.value,
2358
2358
  onClose: ji
2359
2359
  }, {
2360
- th: j(({ th: e }) => [x("div", {
2360
+ th: A(({ th: e }) => [x("div", {
2361
2361
  innerHTML: e,
2362
2362
  style: {
2363
2363
  display: "flex",
2364
2364
  "align-items": "center"
2365
2365
  }
2366
- }, null, 8, bn)]),
2367
- td: j(({ td: e }) => [Le(k(e.name ? e.name : isNaN(Number(e)) ? e.includes("%") ? e : A(m)(L.value.style.chart.layout.labels.percentage.formatter, e, A(h)({
2366
+ }, null, 8, xn)]),
2367
+ td: A(({ td: e }) => [Le(qe(e.name ? e.name : isNaN(Number(e)) ? e.includes("%") ? e : k(m)(L.value.style.chart.layout.labels.percentage.formatter, e, k(a)({
2368
2368
  v: e,
2369
2369
  s: "%",
2370
2370
  r: L.value.style.chart.layout.labels.percentage.rounding
2371
- })) : A(m)(L.value.style.chart.layout.labels.value.formatter, e, A(h)({
2371
+ })) : k(m)(L.value.style.chart.layout.labels.value.formatter, e, k(a)({
2372
2372
  p: L.value.style.chart.layout.labels.dataLabels.prefix,
2373
2373
  v: e,
2374
2374
  s: L.value.style.chart.layout.labels.dataLabels.suffix,
@@ -2387,24 +2387,24 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
2387
2387
  _: 2
2388
2388
  }, [L.value.table.useDialog ? {
2389
2389
  name: "title",
2390
- fn: j(() => [Le(k(Ai.value.title), 1)]),
2390
+ fn: A(() => [Le(qe(Ai.value.title), 1)]),
2391
2391
  key: "0"
2392
2392
  } : void 0, L.value.table.useDialog ? {
2393
2393
  name: "actions",
2394
- fn: j(() => [x("button", {
2394
+ fn: A(() => [x("button", {
2395
2395
  tabindex: "0",
2396
2396
  class: "vue-ui-user-options-button",
2397
- onClick: n[4] ||= (e) => hi(L.value.userOptions.callbacks.csv),
2397
+ onClick: r[4] ||= (e) => hi(L.value.userOptions.callbacks.csv),
2398
2398
  style: w({ cursor: fr.value ? "pointer" : "default" })
2399
- }, [Re(A(Sn), {
2399
+ }, [Re(k(Cn), {
2400
2400
  name: "fileCsv",
2401
2401
  stroke: Ai.value.props.color
2402
2402
  }, null, 8, ["stroke"])], 4)]),
2403
2403
  key: "1"
2404
2404
  } : void 0]), 1040)) : y("", !0),
2405
- O(t.$slots, "skeleton", {}, () => [A(mr) ? (T(), Fe(ge, { key: 0 })) : y("", !0)], !0)
2406
- ], 46, et));
2405
+ O(t.$slots, "skeleton", {}, () => [k(mr) ? (T(), Fe(g, { key: 0 })) : y("", !0)], !0)
2406
+ ], 46, tt));
2407
2407
  }
2408
2408
  }, [["__scopeId", "data-v-568e9c77"]]);
2409
2409
  //#endregion
2410
- export { $e as n, xn as t };
2410
+ export { et as n, Sn as t };