vue-data-ui 3.22.7 → 3.22.9

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 (206) hide show
  1. package/dist/{Arrow-DaGI9u-b.js → Arrow-DdymhUfY.js} +1 -1
  2. package/dist/{BaseDraggableDialog-1wwwdwV2.js → BaseDraggableDialog-Av7Uxq5V.js} +2 -2
  3. package/dist/BaseIcon-UdRAvP2h.js +483 -0
  4. package/dist/{BaseLegendToggle-CHnlKalt.js → BaseLegendToggle-DWtet-Hh.js} +1 -1
  5. package/dist/{BaseZoomControls-C9bdZSCj.js → BaseZoomControls-BY2KLqs6.js} +2 -2
  6. package/dist/{ColorPicker-TB3KhY3j.js → ColorPicker-DR_ummtM.js} +2 -2
  7. package/dist/{DataTable-CVF7DoZn.js → DataTable-BxpTMgfK.js} +2 -2
  8. package/dist/DefGrad-DVBqDjhO.js +48 -0
  9. package/dist/{Legend-kAr7Vqqu.js → Legend-ROt6ugzW.js} +2 -2
  10. package/dist/{NonSvgPenAndPaper-CEiv7_gM.js → NonSvgPenAndPaper-B6EG_Sga.js} +3 -3
  11. package/dist/{PackageVersion-Dse0n05o.js → PackageVersion-D__dRVRA.js} +1 -1
  12. package/dist/{PenAndPaper-gaV1QPpP.js → PenAndPaper-DsXi7GJ-.js} +3 -3
  13. package/dist/{Shape-CiQIxyyT.js → Shape-UpH0a4Ur.js} +3 -3
  14. package/dist/{Slicer-6FOtg9py.js → Slicer-CW_XPIKL.js} +369 -364
  15. package/dist/{SlicerPreview-DUywypFu.js → SlicerPreview-CTz41lOu.js} +542 -537
  16. package/dist/{SparkTooltip-B-qsPj68.js → SparkTooltip-BTLN-Kex.js} +6 -6
  17. package/dist/{Title-PiTKr6sp.js → Title-CcNiYzEo.js} +1 -1
  18. package/dist/{Tooltip-B8yYfISA.js → Tooltip-CxOrWlFy.js} +1 -1
  19. package/dist/{UserOptions-BL9VlHop.js → UserOptions-trvJ26nz.js} +2 -2
  20. package/dist/components/arrow.js +1 -1
  21. package/dist/components/vue-ui-3d-bar.js +1 -1
  22. package/dist/components/vue-ui-accordion.js +1 -1
  23. package/dist/components/vue-ui-age-pyramid.js +1 -1
  24. package/dist/components/vue-ui-annotator.js +1 -1
  25. package/dist/components/vue-ui-bullet.js +1 -1
  26. package/dist/components/vue-ui-bump.js +1 -1
  27. package/dist/components/vue-ui-candlestick.js +1 -1
  28. package/dist/components/vue-ui-carousel-table.js +1 -1
  29. package/dist/components/vue-ui-chestnut.js +1 -1
  30. package/dist/components/vue-ui-chord.js +1 -1
  31. package/dist/components/vue-ui-circle-pack.js +1 -1
  32. package/dist/components/vue-ui-cursor.js +1 -1
  33. package/dist/components/vue-ui-dag.js +1 -1
  34. package/dist/components/vue-ui-dashboard.js +1 -1
  35. package/dist/components/vue-ui-digits.js +1 -1
  36. package/dist/components/vue-ui-donut-evolution.js +1 -1
  37. package/dist/components/vue-ui-donut.js +1 -1
  38. package/dist/components/vue-ui-dumbbell.js +1 -1
  39. package/dist/components/vue-ui-flow.js +1 -1
  40. package/dist/components/vue-ui-funnel.js +1 -1
  41. package/dist/components/vue-ui-galaxy.js +1 -1
  42. package/dist/components/vue-ui-gauge.js +1 -1
  43. package/dist/components/vue-ui-geo.js +1 -1
  44. package/dist/components/vue-ui-gizmo.js +1 -1
  45. package/dist/components/vue-ui-heatmap.js +1 -1
  46. package/dist/components/vue-ui-history-plot.js +1 -1
  47. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  48. package/dist/components/vue-ui-icon.js +1 -1
  49. package/dist/components/vue-ui-kpi.js +1 -1
  50. package/dist/components/vue-ui-mini-loader.js +1 -1
  51. package/dist/components/vue-ui-molecule.js +1 -1
  52. package/dist/components/vue-ui-mood-radar.js +1 -1
  53. package/dist/components/vue-ui-nested-donuts.js +1 -1
  54. package/dist/components/vue-ui-onion.js +1 -1
  55. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  56. package/dist/components/vue-ui-quadrant.js +1 -1
  57. package/dist/components/vue-ui-quick-chart.js +1 -1
  58. package/dist/components/vue-ui-radar.js +1 -1
  59. package/dist/components/vue-ui-rating.js +1 -1
  60. package/dist/components/vue-ui-relation-circle.js +1 -1
  61. package/dist/components/vue-ui-ridgeline.js +1 -1
  62. package/dist/components/vue-ui-rings.js +1 -1
  63. package/dist/components/vue-ui-scatter.js +1 -1
  64. package/dist/components/vue-ui-skeleton.js +1 -1
  65. package/dist/components/vue-ui-smiley.js +1 -1
  66. package/dist/components/vue-ui-spark-trend.js +1 -1
  67. package/dist/components/vue-ui-sparkbar.js +1 -1
  68. package/dist/components/vue-ui-sparkgauge.js +1 -1
  69. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  70. package/dist/components/vue-ui-sparkline.js +1 -1
  71. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  72. package/dist/components/vue-ui-stackbar.js +1 -1
  73. package/dist/components/vue-ui-stackline.js +1 -1
  74. package/dist/components/vue-ui-strip-plot.js +1 -1
  75. package/dist/components/vue-ui-table-heatmap.js +1 -1
  76. package/dist/components/vue-ui-table-sparkline.js +1 -1
  77. package/dist/components/vue-ui-table.js +1 -1
  78. package/dist/components/vue-ui-thermometer.js +1 -1
  79. package/dist/components/vue-ui-timer.js +1 -1
  80. package/dist/components/vue-ui-tiremarks.js +1 -1
  81. package/dist/components/vue-ui-treemap.js +1 -1
  82. package/dist/components/vue-ui-vertical-bar.js +1 -1
  83. package/dist/components/vue-ui-waffle.js +1 -1
  84. package/dist/components/vue-ui-wheel.js +1 -1
  85. package/dist/components/vue-ui-word-cloud.js +1 -1
  86. package/dist/components/vue-ui-world.js +1 -1
  87. package/dist/components/vue-ui-xy-canvas.js +1 -1
  88. package/dist/components/vue-ui-xy.js +1 -1
  89. package/dist/{dom-to-png-BZjYWNEg.js → dom-to-png-BbwhsRIr.js} +1 -1
  90. package/dist/exposedLib-VXFp3Z2c.js +19 -0
  91. package/dist/{geoProjections-Czak6Jn1.js → geoProjections-BbN7z57k.js} +172 -15
  92. package/dist/{img-B_abIg0o.js → img-DnP3eXuv.js} +1 -1
  93. package/dist/{labelUtils-CTDRZdP1.js → labelUtils-DBEh078l.js} +1 -1
  94. package/dist/{lib-EAmk-PgA.js → lib-JqW18y5I.js} +36 -30
  95. package/dist/{package-DeMimPej.js → package-ByOT60IK.js} +1 -1
  96. package/dist/{pdf-B6qrdEqB.js → pdf-hj3gzrE7.js} +1 -1
  97. package/dist/{render-common-DMai0gHB.js → render-common-D18VrP0h.js} +20 -20
  98. package/dist/ssr/vue-ui-donut.js +1 -1
  99. package/dist/ssr/vue-ui-xy.js +1 -1
  100. package/dist/ssr.js +2 -2
  101. package/dist/style.css +1 -1
  102. package/dist/types/utils.d.ts +18 -0
  103. package/dist/{useAutoSizeLabelsInsideViewbox-CyOGrdD_.js → useAutoSizeLabelsInsideViewbox-BGnDfZdg.js} +1 -1
  104. package/dist/{useNestedProp-D8XqxgOU.js → useNestedProp-DIuuzG1r.js} +1 -1
  105. package/dist/{usePrinter-DnGzpp6Q.js → usePrinter-CqqHmnBI.js} +2 -2
  106. package/dist/utils.js +24 -24
  107. package/dist/{vue-data-ui-D6qVWloL.js → vue-data-ui-ub3fCh6P.js} +68 -68
  108. package/dist/vue-data-ui.js +77 -77
  109. package/dist/vue-ui-3d-bar-taPI41_I.js +1825 -0
  110. package/dist/{vue-ui-accordion-Dzz8XhX3.js → vue-ui-accordion-CjAGqEJg.js} +3 -3
  111. package/dist/vue-ui-age-pyramid-jvQZbF8E.js +1247 -0
  112. package/dist/{vue-ui-annotator-DXZumSP8.js → vue-ui-annotator-BIucnT0L.js} +67 -67
  113. package/dist/vue-ui-bullet-CIATzlsk.js +710 -0
  114. package/dist/vue-ui-bump-D8MxltQE.js +1249 -0
  115. package/dist/vue-ui-candlestick-DULUMU-Q.js +1840 -0
  116. package/dist/vue-ui-carousel-table-BSmdexG7.js +455 -0
  117. package/dist/{vue-ui-chestnut-C3IbAdkQ.js → vue-ui-chestnut-BIh1nQ7q.js} +585 -553
  118. package/dist/vue-ui-chord-DL1M7cgL.js +1391 -0
  119. package/dist/{vue-ui-circle-pack-Cq4lkmee.js → vue-ui-circle-pack-C1Pgq6si.js} +424 -418
  120. package/dist/{vue-ui-cursor-DLJcFwRZ.js → vue-ui-cursor-d2uLAKTQ.js} +61 -61
  121. package/dist/{vue-ui-dag-DemsIecS.js → vue-ui-dag-CVh9FpZr.js} +43 -43
  122. package/dist/{vue-ui-dashboard-DWHD_wNN.js → vue-ui-dashboard-BH0N3ebj.js} +69 -69
  123. package/dist/{vue-ui-digits-sIKc85vS.js → vue-ui-digits-R6wi3J-Y.js} +3 -3
  124. package/dist/{vue-ui-donut-Dp6GW0dw.js → vue-ui-donut-BWDeVzLc.js} +201 -201
  125. package/dist/{vue-ui-donut-CLheJPcO.js → vue-ui-donut-BoZdciGh.js} +825 -816
  126. package/dist/{vue-ui-donut-evolution-zmRPpJLj.js → vue-ui-donut-evolution-CpC9EMro.js} +486 -474
  127. package/dist/{vue-ui-dumbbell-bSbgHd0U.js → vue-ui-dumbbell-DGA5Bfnl.js} +520 -486
  128. package/dist/{vue-ui-flow-q_M7O1BK.js → vue-ui-flow-CNczKwTh.js} +119 -119
  129. package/dist/vue-ui-funnel-CaD2tZCT.js +782 -0
  130. package/dist/{vue-ui-galaxy-DCCWmIyH.js → vue-ui-galaxy-v3cTbUiM.js} +342 -342
  131. package/dist/vue-ui-gauge-DxvMjfoc.js +926 -0
  132. package/dist/{vue-ui-geo-CM59rpnj.js → vue-ui-geo-BgmLkZZ2.js} +14 -14
  133. package/dist/{vue-ui-gizmo-D2RL6IVp.js → vue-ui-gizmo-n1kmcGeE.js} +66 -61
  134. package/dist/{vue-ui-heatmap-BX6PQxML.js → vue-ui-heatmap-dSTh8ah_.js} +163 -163
  135. package/dist/{vue-ui-history-plot-DaHAeQph.js → vue-ui-history-plot-N8BqMFVU.js} +572 -561
  136. package/dist/vue-ui-horizontal-bar-CwiQxYzv.js +1689 -0
  137. package/dist/{vue-ui-kpi-DLbP7lJR.js → vue-ui-kpi-BKrUk9o8.js} +4 -4
  138. package/dist/{vue-ui-mini-loader-DPHzHsM7.js → vue-ui-mini-loader-D5we7V_W.js} +2 -2
  139. package/dist/vue-ui-molecule--kK1JfnP.js +931 -0
  140. package/dist/{vue-ui-mood-radar-CCWaPr0P.js → vue-ui-mood-radar-CpBRHQo_.js} +246 -241
  141. package/dist/vue-ui-nested-donuts-8Ehwcuns.js +1493 -0
  142. package/dist/vue-ui-onion-Cf6JiYTH.js +1200 -0
  143. package/dist/vue-ui-parallel-coordinate-plot-Blnqp1DB.js +1416 -0
  144. package/dist/{vue-ui-quadrant-T_UmRAAy.js → vue-ui-quadrant-CxU0jiOm.js} +410 -404
  145. package/dist/vue-ui-quick-chart-BO98uEPl.js +2469 -0
  146. package/dist/{vue-ui-radar-CHjeGOMC.js → vue-ui-radar-eH2Qih4_.js} +323 -317
  147. package/dist/{vue-ui-rating-Bek8Tgr-.js → vue-ui-rating-CN-ZiAES.js} +137 -128
  148. package/dist/{vue-ui-relation-circle-DRZGQ_UX.js → vue-ui-relation-circle-BIcP-aAt.js} +167 -167
  149. package/dist/{vue-ui-ridgeline-DIODGiu8.js → vue-ui-ridgeline-ChXHzEJw.js} +538 -532
  150. package/dist/vue-ui-rings-J990vNbX.js +1252 -0
  151. package/dist/vue-ui-scatter-BeJB0EKg.js +2422 -0
  152. package/dist/{vue-ui-skeleton-Fmue6DAG.js → vue-ui-skeleton-DC2bZ0nk.js} +385 -382
  153. package/dist/{vue-ui-smiley-BVMI5vUy.js → vue-ui-smiley-Dyyu1je3.js} +119 -106
  154. package/dist/vue-ui-spark-trend-CpDX85H3.js +443 -0
  155. package/dist/vue-ui-sparkbar-DhIo1qsW.js +398 -0
  156. package/dist/{vue-ui-sparkgauge-DDNNBIdf.js → vue-ui-sparkgauge-D0Fo3Hts.js} +79 -74
  157. package/dist/vue-ui-sparkhistogram-CUjFiuAh.js +576 -0
  158. package/dist/{vue-ui-sparkline-BNxdO-Bx.js → vue-ui-sparkline-ApivEMBP.js} +397 -384
  159. package/dist/{vue-ui-sparkstackbar-BfF5-Wg2.js → vue-ui-sparkstackbar-DsKQJx_n.js} +207 -195
  160. package/dist/{vue-ui-stackbar-B-2Me3d-.js → vue-ui-stackbar-Ds4hXATH.js} +595 -588
  161. package/dist/vue-ui-stackline-DJbcVvmN.js +2425 -0
  162. package/dist/vue-ui-strip-plot-C3ZHf4bD.js +1736 -0
  163. package/dist/{vue-ui-table-heatmap-D-Qrm3oX.js → vue-ui-table-heatmap-CNXNXXBU.js} +14 -14
  164. package/dist/vue-ui-table-sparkline-B9JJ4pFF.js +712 -0
  165. package/dist/{vue-ui-table-Dr1dK3d_.js → vue-ui-table-uudidrYt.js} +62 -62
  166. package/dist/vue-ui-thermometer-Bvw3oQb3.js +770 -0
  167. package/dist/{vue-ui-timer-B5bkNNHS.js → vue-ui-timer-5NAWw5BN.js} +94 -89
  168. package/dist/{vue-ui-tiremarks-Bn8b-ZSz.js → vue-ui-tiremarks-Caz_g1c5.js} +13 -13
  169. package/dist/vue-ui-treemap-F9upPyOI.js +1718 -0
  170. package/dist/vue-ui-waffle-Bk9AsrPp.js +1368 -0
  171. package/dist/{vue-ui-wheel-CeVwXtEX.js → vue-ui-wheel-DD6Q39BA.js} +130 -130
  172. package/dist/{vue-ui-word-cloud-D81-qJLw.js → vue-ui-word-cloud-BZLT5svo.js} +27 -27
  173. package/dist/vue-ui-world-DbEJN5NA.js +3027 -0
  174. package/dist/{vue-ui-xy-C2p9H2IX.js → vue-ui-xy-BYMAITk_.js} +1655 -1629
  175. package/dist/{vue-ui-xy-OhwS0kcZ.js → vue-ui-xy-Cn9Q8YPr.js} +116 -116
  176. package/dist/{vue-ui-xy-canvas-DLKDdH35.js → vue-ui-xy-canvas-Dcm2ftwm.js} +58 -58
  177. package/package.json +1 -1
  178. package/dist/BaseIcon-_-BX7be3.js +0 -502
  179. package/dist/exposedLib-Be0ifkti.js +0 -19
  180. package/dist/vue-ui-3d-bar-CjNuWXoA.js +0 -1757
  181. package/dist/vue-ui-age-pyramid-CC7Dxli-.js +0 -1238
  182. package/dist/vue-ui-bullet-Dde6FhbR.js +0 -710
  183. package/dist/vue-ui-bump-C5pni1JV.js +0 -1249
  184. package/dist/vue-ui-candlestick-Ctw65O4_.js +0 -1829
  185. package/dist/vue-ui-carousel-table-BEUvhUH0.js +0 -455
  186. package/dist/vue-ui-chord-5eCWG4br.js +0 -1391
  187. package/dist/vue-ui-funnel-BEZUEuuh.js +0 -777
  188. package/dist/vue-ui-gauge-B1ljgfE1.js +0 -920
  189. package/dist/vue-ui-horizontal-bar-CTW6l4n3.js +0 -1683
  190. package/dist/vue-ui-molecule-aD0SMTiX.js +0 -925
  191. package/dist/vue-ui-nested-donuts--BCPWkl7.js +0 -1487
  192. package/dist/vue-ui-onion-s4iMCGAP.js +0 -1200
  193. package/dist/vue-ui-parallel-coordinate-plot-CfgvpyoC.js +0 -1416
  194. package/dist/vue-ui-quick-chart-D1OWBgQJ.js +0 -2469
  195. package/dist/vue-ui-rings-CcdUSXGG.js +0 -1246
  196. package/dist/vue-ui-scatter-CixnqLoi.js +0 -2413
  197. package/dist/vue-ui-spark-trend-DfZeLiWA.js +0 -438
  198. package/dist/vue-ui-sparkbar-Cl1e49sw.js +0 -393
  199. package/dist/vue-ui-sparkhistogram-ny_liYa6.js +0 -560
  200. package/dist/vue-ui-stackline-CdvVPQUM.js +0 -2419
  201. package/dist/vue-ui-strip-plot-CRXPXA5V.js +0 -1729
  202. package/dist/vue-ui-table-sparkline-C31Q32My.js +0 -712
  203. package/dist/vue-ui-thermometer-BUrtIfuo.js +0 -763
  204. package/dist/vue-ui-treemap-LMWiicop.js +0 -1713
  205. package/dist/vue-ui-waffle-B_L3gkky.js +0 -1362
  206. package/dist/vue-ui-world-B7npRmTa.js +0 -14264
@@ -1,38 +1,39 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { Et as t, Gt as n, Lt as r, O as i, Ot as a, Q as o, Rt as s, S as c, U as l, Ut as u, W as ee, X as te, Z as ne, b as d, d as f, i as p, jt as m, kt as h, nt as re, o as ie, p as ae, q as g, rt as oe, t as se, u as _, ut as ce, v as le, vt as ue, w as de } from "./lib-EAmk-PgA.js";
3
- import { t as fe } from "./useConfig-DYM3f6EI.js";
4
- import { t as pe } from "./usePrinter-DnGzpp6Q.js";
5
- import { n as me, t as he } from "./BaseScanner-DZvpgOjM.js";
6
- import { t as ge } from "./useSvgExport-SVIsDot8.js";
7
- import { t as _e } from "./useNestedProp-D8XqxgOU.js";
8
- import { t as ve } from "./useThemeCheck-C43Tcqmk.js";
9
- import { t as ye } from "./img-B_abIg0o.js";
10
- import { n as be } from "./Title-PiTKr6sp.js";
11
- import { t as xe } from "./Shape-CiQIxyyT.js";
12
- import { t as Se } from "./_plugin-vue_export-helper-B3ysoDQm.js";
13
- import { c as Ce } from "./canvas-lib-BOP_HS11.js";
14
- import { t as we } from "./useResponsive-BfnK0KxU.js";
15
- import { t as Te } from "./BaseLegendToggle-CHnlKalt.js";
16
- import { t as Ee } from "./A11yDataTable-DdRsVULz.js";
17
- import { t as De } from "./useUserOptionState-DK-_1ddE.js";
18
- import { t as Oe } from "./useChartAccessibility-DYqac8yF.js";
19
- import { n as ke, t as Ae } from "./labelUtils-CTDRZdP1.js";
20
- import { t as je } from "./vue_ui_donut-BDGqG07h.js";
21
- import { t as Me } from "./Legend-kAr7Vqqu.js";
22
- import { Fragment as v, Teleport as Ne, computed as y, createBlock as Pe, createCommentVNode as b, createElementBlock as x, createElementVNode as S, createSlots as Fe, createTextVNode as Ie, createVNode as Le, defineAsyncComponent as Re, guardReactiveProps as C, mergeProps as ze, nextTick as Be, normalizeClass as Ve, normalizeProps as w, normalizeStyle as T, onBeforeUnmount as He, onMounted as Ue, openBlock as E, ref as D, renderList as O, renderSlot as k, resolveDynamicComponent as We, shallowRef as Ge, toDisplayString as Ke, toRefs as qe, unref as A, useSlots as Je, vShow as Ye, watch as Xe, withCtx as j, withDirectives as Ze } from "vue";
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 _e } from "./BaseScanner-DZvpgOjM.js";
6
+ import { t as ve } from "./useSvgExport-SVIsDot8.js";
7
+ import { t as ye } from "./useNestedProp-DIuuzG1r.js";
8
+ import { t as be } from "./useThemeCheck-C43Tcqmk.js";
9
+ import { t as xe } from "./img-DnP3eXuv.js";
10
+ import { n as Se } from "./Title-CcNiYzEo.js";
11
+ import { t as Ce } from "./Shape-UpH0a4Ur.js";
12
+ import { t as we } from "./_plugin-vue_export-helper-B3ysoDQm.js";
13
+ import { c as Te } from "./canvas-lib-BOP_HS11.js";
14
+ import { t as Ee } from "./useResponsive-BfnK0KxU.js";
15
+ import { t as De } from "./DefGrad-DVBqDjhO.js";
16
+ import { t as Oe } from "./BaseLegendToggle-DWtet-Hh.js";
17
+ import { t as ke } from "./A11yDataTable-DdRsVULz.js";
18
+ import { t as Ae } from "./useUserOptionState-DK-_1ddE.js";
19
+ import { t as je } from "./useChartAccessibility-DYqac8yF.js";
20
+ import { n as Me, t as Ne } from "./labelUtils-DBEh078l.js";
21
+ import { t as Pe } from "./vue_ui_donut-BDGqG07h.js";
22
+ import { t as Fe } from "./Legend-ROt6ugzW.js";
23
+ import { Fragment as g, Teleport as Ie, computed as _, createBlock as v, createCommentVNode as y, createElementBlock as b, createElementVNode as x, createSlots as Le, createTextVNode as Re, createVNode as ze, defineAsyncComponent as Be, guardReactiveProps as S, mergeProps as Ve, nextTick as He, normalizeClass as Ue, normalizeProps as C, normalizeStyle as w, onBeforeUnmount as We, onMounted as Ge, openBlock as T, ref as E, renderList as D, renderSlot as O, resolveDynamicComponent as Ke, shallowRef as qe, toDisplayString as k, toRefs as Je, unref as A, useSlots as Ye, vShow as Xe, watch as Ze, withCtx as j, withDirectives as Qe } from "vue";
23
24
  //#region src/useSmallArcLayouts.js
24
- function Qe(e) {
25
+ function $e(e) {
25
26
  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
- return { smallArcLayoutsClassic: y(() => {
27
+ return { smallArcLayoutsClassic: _(() => {
27
28
  if (t.value.type !== "classic") return {};
28
29
  let e = {}, ne = n.value || [];
29
30
  if (!ne.length) return e;
30
- let d = r.value.width / 2, f = r.value.height / 2, p = i.value.top + 16, m = r.value.height - i.value.bottom - 16, h = a.value, re = h / 3, ie = h * 1.5, ae = d - (o.value + 6), g = d + (o.value + 6), oe = !!t.value.style.chart.layout.curvedMarkers;
31
- function se({ midX: e, midY: t, bandX: n, bandY: r }) {
32
- if (!oe) return `M ${e} ${t} L ${e} ${r} L ${n} ${r}`;
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 - f, u = Math.sqrt(c * c + l * l) || 1, ee = c / u, te = l / u, ne = u + 9;
34
- function p({ x: e, y: t }) {
35
- let n = e - d, r = t - f, i = Math.sqrt(n * n + r * r) || 1;
31
+ 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;
32
+ function le({ midX: e, midY: t, bandX: n, bandY: r }) {
33
+ if (!ce) return `M ${e} ${t} L ${e} ${r} L ${n} ${r}`;
34
+ 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;
35
+ function f({ x: e, y: t }) {
36
+ let n = e - d, r = t - re, i = Math.sqrt(n * n + r * r) || 1;
36
37
  if (i >= ne) return {
37
38
  x: e,
38
39
  y: t
@@ -40,38 +41,38 @@ function Qe(e) {
40
41
  let a = ne / i;
41
42
  return {
42
43
  x: d + n * a,
43
- y: f + r * a
44
+ y: re + r * a
44
45
  };
45
46
  }
46
47
  if (s < 56) {
47
- let i = a / s, c = -(o / s), l = i, u = (e + n) * .5, ne = (t + r) * .5, m = u + c, h = ne + l, re = (m - d) * (m - d) + (h - f) * (h - f), ie = u - c, ae = ne - l;
48
- (ie - d) * (ie - d) + (ae - f) * (ae - f) > re && (c = -c, l = -l);
49
- let g = .78, oe = e + a * g, se = t + o * g, _ = Math.max(0, Math.min(1, (s - 18) / 44)), ce = _ * _ * (3 - 2 * _), le = 2.5 + ce * 4, ue = 1 + ce * 2.5;
50
- le *= .9;
51
- let de = p({
52
- x: oe + c * le + ee * ue,
53
- y: se + l * le + te * ue
48
+ 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;
49
+ (ae - d) * (ae - d) + (oe - re) * (oe - re) > ie && (c = -c, l = -l);
50
+ 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;
51
+ de *= .9;
52
+ let pe = f({
53
+ x: ce + c * de + ee * fe,
54
+ y: le + l * de + te * fe
54
55
  });
55
- return `M ${e} ${t} Q ${de.x} ${de.y} ${n} ${r}`;
56
+ return `M ${e} ${t} Q ${pe.x} ${pe.y} ${n} ${r}`;
56
57
  }
57
- let m = s * .34;
58
- m < 20 && (m = 20), m > 46 && (m = 46);
59
- let h = s * .46;
60
- h < 22 && (h = 22), h > 70 && (h = 70);
61
- let re = {
62
- x: e + ee * m,
63
- y: t + te * m
64
- }, ie = d + i * Math.max(Math.abs(n - d), ne), ae = {
65
- x: n - i * Math.min(h, Math.abs(ie - n) * .75),
58
+ let p = s * .34;
59
+ p < 20 && (p = 20), p > 46 && (p = 46);
60
+ let m = s * .46;
61
+ m < 22 && (m = 22), m > 70 && (m = 70);
62
+ let ie = {
63
+ x: e + ee * p,
64
+ y: t + te * p
65
+ }, ae = d + i * Math.max(Math.abs(n - d), ne), oe = {
66
+ x: n - i * Math.min(m, Math.abs(ae - n) * .75),
66
67
  y: r
67
- }, g = p(re), se = p(ae);
68
- return `M ${e} ${t} C ${g.x} ${g.y} ${se.x} ${se.y} ${n} ${r}`;
68
+ }, se = f(ie), le = f(oe);
69
+ return `M ${e} ${t} C ${se.x} ${se.y} ${le.x} ${le.y} ${n} ${r}`;
69
70
  }
70
- function _(e) {
71
+ function ue(e) {
71
72
  let t = String(e ?? "").split(/\n/g);
72
- return ie + Math.max(0, t.length - 1) * (h * 1.2);
73
+ return ae + Math.max(0, t.length - 1) * (m * 1.2);
73
74
  }
74
- function ce({ arc: e, index: t }) {
75
+ function h({ arc: e, index: t }) {
75
76
  let { x: n, y: r } = s(e.path);
76
77
  return {
77
78
  arc: e,
@@ -80,47 +81,47 @@ function Qe(e) {
80
81
  midY: r,
81
82
  inlineMarkerX: c(e).x,
82
83
  inlineMarkerY: l(e) - 3.5,
83
- labelHeight: _(e.name)
84
+ labelHeight: ue(e.name)
84
85
  };
85
86
  }
86
- function le(e) {
87
+ function de(e) {
87
88
  let { arc: t } = e, n = t.seriesIndex ?? 0;
88
89
  return u.value === n || ee.value.includes(n) ? !1 : te(t, n);
89
90
  }
90
- function ue(e) {
91
- let t = e.inlineMarkerY < f, n = e.inlineMarkerX < d;
91
+ function fe(e) {
92
+ let t = e.inlineMarkerY < re, n = e.inlineMarkerX < d;
92
93
  return t && n ? "TL" : t && !n ? "TR" : !t && n ? "BL" : "BR";
93
94
  }
94
- function de(e, t) {
95
+ function pe(e, t) {
95
96
  if (t.startsWith("T")) {
96
97
  e.sort((e, t) => e.inlineMarkerY - t.inlineMarkerY || e.index - t.index);
97
98
  return;
98
99
  }
99
100
  e.sort((e, t) => t.inlineMarkerY - e.inlineMarkerY || e.index - t.index);
100
101
  }
101
- function fe({ side: e, markerX: t, markerY: n, labelY: r, connectorPath: i }) {
102
+ function me({ side: e, markerX: t, markerY: n, labelY: r, connectorPath: i }) {
102
103
  return {
103
104
  side: e,
104
105
  labelX: e === "left" ? t - 8 : t + 8,
105
- labelY: r + re,
106
+ labelY: r + ie,
106
107
  textAnchor: e === "left" ? "end" : "start",
107
108
  markerX: t,
108
109
  markerY: n,
109
110
  connectorPath: i
110
111
  };
111
112
  }
112
- function pe({ candidateList: t, side: n, bandMarkerX: r, startY: i, direction: a }) {
113
+ function he({ candidateList: t, side: n, bandMarkerX: r, startY: i, direction: a }) {
113
114
  let o = i;
114
115
  t.forEach((t) => {
115
116
  let { index: i, midX: s, midY: c, labelHeight: l } = t, u;
116
117
  a === "down" ? (u = o, o += l) : (o -= l, u = o);
117
- let ee = u, te = se({
118
+ let ee = u, te = le({
118
119
  midX: s,
119
120
  midY: c,
120
121
  bandX: r,
121
122
  bandY: ee
122
123
  });
123
- e[i] = fe({
124
+ e[i] = me({
124
125
  side: n,
125
126
  markerX: r,
126
127
  markerY: ee,
@@ -129,164 +130,160 @@ function Qe(e) {
129
130
  });
130
131
  });
131
132
  }
132
- let me = ne.map((e, t) => ce({
133
+ let ge = ne.map((e, t) => h({
133
134
  arc: e,
134
135
  index: t
135
- })).filter(le), he = {
136
+ })).filter(de), _e = {
136
137
  TL: [],
137
138
  TR: [],
138
139
  BL: [],
139
140
  BR: []
140
141
  };
141
- return me.forEach((e) => {
142
- he[ue(e)].push(e);
143
- }), Object.keys(he).forEach((e) => {
144
- de(he[e], e);
145
- }), pe({
146
- candidateList: he.TL,
142
+ return ge.forEach((e) => {
143
+ _e[fe(e)].push(e);
144
+ }), Object.keys(_e).forEach((e) => {
145
+ pe(_e[e], e);
146
+ }), he({
147
+ candidateList: _e.TL,
147
148
  side: "left",
148
- bandMarkerX: ae,
149
- startY: p,
149
+ bandMarkerX: oe,
150
+ startY: f,
150
151
  direction: "down"
151
- }), pe({
152
- candidateList: he.TR,
152
+ }), he({
153
+ candidateList: _e.TR,
153
154
  side: "right",
154
- bandMarkerX: g,
155
- startY: p,
155
+ bandMarkerX: se,
156
+ startY: f,
156
157
  direction: "down"
157
- }), he.BL.length > 1 && pe({
158
- candidateList: he.BL,
158
+ }), _e.BL.length > 1 && he({
159
+ candidateList: _e.BL,
159
160
  side: "left",
160
- bandMarkerX: ae,
161
- startY: m,
161
+ bandMarkerX: oe,
162
+ startY: p,
162
163
  direction: "up"
163
- }), he.BR.length > 1 && pe({
164
- candidateList: he.BR,
164
+ }), _e.BR.length > 1 && he({
165
+ candidateList: _e.BR,
165
166
  side: "right",
166
- bandMarkerX: g,
167
- startY: m,
167
+ bandMarkerX: se,
168
+ startY: p,
168
169
  direction: "up"
169
170
  }), e;
170
171
  }) };
171
172
  }
172
173
  //#endregion
173
174
  //#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 = [
175
+ var et = /* @__PURE__ */ e({ default: () => mn }), tt = ["id"], nt = ["id"], rt = ["id"], it = { style: { position: "relative" } }, at = [
175
176
  "xmlns",
176
177
  "aria-describedby",
177
178
  "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 = [
179
- "id",
180
- "cx",
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 = [
179
+ ], ot = ["width", "height"], st = { key: 1 }, ct = { key: 2 }, lt = ["id"], ut = ["id"], dt = ["id"], ft = ["flood-color"], pt = ["id"], mt = ["flood-color"], ht = [
183
180
  "d",
184
181
  "stroke",
185
182
  "filter"
186
- ], Ct = [
183
+ ], gt = [
187
184
  "d",
188
185
  "stroke",
189
186
  "filter"
190
- ], wt = [
187
+ ], _t = [
191
188
  "cx",
192
189
  "cy",
193
190
  "r",
194
191
  "fill",
195
192
  "filter"
196
- ], Tt = { key: 6 }, Et = ["stroke", "d"], Dt = [
193
+ ], vt = { key: 6 }, yt = ["stroke", "d"], bt = [
197
194
  "d",
198
195
  "fill",
199
196
  "stroke",
200
197
  "stroke-width",
201
198
  "filter"
202
- ], Ot = { key: 0 }, kt = [
199
+ ], xt = { key: 0 }, St = [
203
200
  "d",
204
201
  "fill",
205
202
  "stroke",
206
203
  "stroke-width",
207
204
  "filter"
208
- ], At = { key: 0 }, jt = ["stroke", "d"], Mt = { key: 0 }, Nt = [
205
+ ], Ct = { key: 0 }, wt = ["stroke", "d"], Tt = { key: 0 }, Et = [
209
206
  "d",
210
207
  "stroke",
211
208
  "stroke-width",
212
209
  "filter"
213
- ], Pt = { key: 1 }, Ft = [
210
+ ], Dt = { key: 1 }, Ot = [
214
211
  "d",
215
212
  "fill",
216
213
  "stroke",
217
214
  "stroke-width",
218
215
  "filter"
219
- ], It = [
216
+ ], kt = [
220
217
  "d",
221
218
  "fill",
222
219
  "stroke",
223
220
  "stroke-width",
224
221
  "filter"
225
- ], Lt = { key: 1 }, Rt = [
222
+ ], At = { key: 1 }, jt = [
226
223
  "cx",
227
224
  "cy",
228
225
  "r",
229
226
  "fill",
230
227
  "stroke",
231
228
  "stroke-width"
232
- ], zt = [
229
+ ], Mt = [
233
230
  "cx",
234
231
  "cy",
235
232
  "r",
236
233
  "fill",
237
234
  "stroke",
238
235
  "stroke-width"
239
- ], Bt = { key: 0 }, Vt = [
236
+ ], Nt = { key: 0 }, Pt = [
240
237
  "d",
241
238
  "fill",
242
239
  "stroke",
243
240
  "stroke-width"
244
- ], Ht = [
241
+ ], Ft = [
245
242
  "cx",
246
243
  "cy",
247
244
  "r",
248
245
  "stroke"
249
- ], Ut = [
246
+ ], It = [
250
247
  "cx",
251
248
  "cy",
252
249
  "r",
253
250
  "fill"
254
- ], Wt = [
251
+ ], Lt = [
255
252
  "cx",
256
253
  "cy",
257
254
  "r"
258
- ], Gt = { key: 0 }, Kt = [
255
+ ], Rt = { key: 0 }, zt = [
259
256
  "d",
260
257
  "stroke",
261
258
  "fill",
262
259
  "onMouseenter",
263
260
  "onMouseleave",
264
261
  "onClick"
265
- ], qt = { key: 1 }, Jt = [
262
+ ], Bt = { key: 1 }, Vt = [
266
263
  "cx",
267
264
  "cy",
268
265
  "r"
269
- ], Yt = [
266
+ ], Ht = [
270
267
  "x",
271
268
  "y",
272
269
  "fill",
273
270
  "font-size"
274
- ], Xt = [
271
+ ], Ut = [
275
272
  "x",
276
273
  "y",
277
274
  "fill",
278
275
  "font-size"
279
- ], Zt = [
276
+ ], Wt = [
280
277
  "x",
281
278
  "y",
282
279
  "fill",
283
280
  "font-size"
284
- ], Qt = [
281
+ ], Gt = [
285
282
  "x",
286
283
  "y",
287
284
  "fill",
288
285
  "font-size"
289
- ], $t = ["filter", "opacity"], en = { key: 0 }, tn = ["x", "y"], nn = { key: 1 }, rn = [
286
+ ], Kt = ["filter", "opacity"], qt = { key: 0 }, Jt = ["x", "y"], Yt = { key: 1 }, Xt = [
290
287
  "cx",
291
288
  "cy",
292
289
  "fill",
@@ -295,7 +292,7 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
295
292
  "onClick",
296
293
  "onMouseenter",
297
294
  "onMouseleave"
298
- ], an = [
295
+ ], Zt = [
299
296
  "text-anchor",
300
297
  "x",
301
298
  "y",
@@ -303,7 +300,7 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
303
300
  "onMouseenter",
304
301
  "onMouseleave",
305
302
  "innerHTML"
306
- ], on = [
303
+ ], Qt = [
307
304
  "text-anchor",
308
305
  "x",
309
306
  "y",
@@ -312,7 +309,7 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
312
309
  "onClick",
313
310
  "onMouseenter",
314
311
  "onMouseleave"
315
- ], sn = [
312
+ ], $t = [
316
313
  "text-anchor",
317
314
  "x",
318
315
  "y",
@@ -322,7 +319,7 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
322
319
  "onMouseenter",
323
320
  "onMouseleave",
324
321
  "innerHTML"
325
- ], cn = [
322
+ ], en = [
326
323
  "cx",
327
324
  "cy",
328
325
  "fill",
@@ -331,7 +328,7 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
331
328
  "onClick",
332
329
  "onMouseenter",
333
330
  "onMouseleave"
334
- ], ln = [
331
+ ], tn = [
335
332
  "text-anchor",
336
333
  "x",
337
334
  "y",
@@ -339,7 +336,7 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
339
336
  "onMouseenter",
340
337
  "onMouseleave",
341
338
  "innerHTML"
342
- ], un = [
339
+ ], nn = [
343
340
  "text-anchor",
344
341
  "x",
345
342
  "y",
@@ -348,7 +345,7 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
348
345
  "onClick",
349
346
  "onMouseenter",
350
347
  "onMouseleave"
351
- ], dn = [
348
+ ], rn = [
352
349
  "text-anchor",
353
350
  "x",
354
351
  "y",
@@ -358,15 +355,15 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
358
355
  "onMouseenter",
359
356
  "onMouseleave",
360
357
  "innerHTML"
361
- ], fn = { key: 2 }, pn = [
358
+ ], an = { key: 2 }, on = [
362
359
  "x",
363
360
  "y",
364
361
  "width"
365
- ], mn = [
362
+ ], sn = [
366
363
  "x",
367
364
  "y",
368
365
  "width"
369
- ], hn = {
366
+ ], cn = {
370
367
  key: 0,
371
368
  style: {
372
369
  position: "absolute",
@@ -376,13 +373,13 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
376
373
  },
377
374
  "data-dom-to-png-ignore": "",
378
375
  "aria-hidden": "true"
379
- }, gn = {
376
+ }, ln = {
380
377
  key: 5,
381
378
  class: "vue-data-ui-watermark"
382
- }, _n = ["id"], vn = ["onClick"], yn = {
379
+ }, un = ["id"], dn = ["onClick"], fn = {
383
380
  key: 8,
384
381
  class: "vue-ui-donut-hollow"
385
- }, bn = ["innerHTML"], xn = /*#__PURE__*/ Se({
382
+ }, pn = ["innerHTML"], mn = /*#__PURE__*/ we({
386
383
  __name: "vue-ui-donut",
387
384
  props: {
388
385
  config: {
@@ -403,30 +400,30 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
403
400
  "selectDatapoint",
404
401
  "copyAlt"
405
402
  ],
406
- setup(e, { expose: Se, emit: $e }) {
407
- let xn = Re(() => import("./Tooltip-B8yYfISA.js")), Sn = Re(() => import("./BaseIcon-_-BX7be3.js").then((e) => e.n)), Cn = Re(() => import("./vue-ui-accordion-Dzz8XhX3.js").then((e) => e.n)), wn = Re(() => import("./DataTable-CVF7DoZn.js")), Tn = Re(() => import("./PenAndPaper-gaV1QPpP.js").then((e) => e.t)), En = Re(() => import("./UserOptions-BL9VlHop.js").then((e) => e.n)), Dn = Re(() => import("./PackageVersion-Dse0n05o.js").then((e) => e.t)), On = Re(() => import("./BaseDraggableDialog-1wwwdwV2.js").then((e) => e.n)), { vue_ui_donut: kn } = fe(), { isThemeValid: An, warnInvalidTheme: jn } = ve(), Mn = Je(), M = e, Nn = y({
403
+ setup(e, { expose: we, emit: et }) {
404
+ let mn = Be(() => import("./Tooltip-CxOrWlFy.js")), hn = Be(() => import("./BaseIcon-UdRAvP2h.js").then((e) => e.n)), gn = Be(() => import("./vue-ui-accordion-CjAGqEJg.js").then((e) => e.n)), _n = Be(() => import("./DataTable-BxpTMgfK.js")), vn = Be(() => import("./PenAndPaper-DsXi7GJ-.js").then((e) => e.t)), yn = Be(() => import("./UserOptions-trvJ26nz.js").then((e) => e.n)), bn = Be(() => import("./PackageVersion-D__dRVRA.js").then((e) => e.t)), xn = Be(() => import("./BaseDraggableDialog-Av7Uxq5V.js").then((e) => e.n)), { vue_ui_donut: Sn } = me(), { isThemeValid: Cn, warnInvalidTheme: wn } = be(), Tn = Ye(), M = e, En = _({
408
405
  get() {
409
406
  return !!M.dataset && M.dataset.length;
410
407
  },
411
408
  set(e) {
412
409
  return e;
413
410
  }
414
- }), N = Ge(null), Pn = D(null), Fn = D(null), In = D(null), Ln = Ge(null), Rn = Ge(null), zn = Ge(null), Bn = Ge(null), Vn = Ge(null), Hn = Ge(null), Un = D(0), Wn = D(0), Gn = D(0), Kn = D(!1), qn = D(null), Jn = D(null), Yn = D(!1), Xn = D(!1), Zn = D(null), Qn = D({
411
+ }), N = qe(null), Dn = E(null), On = E(null), kn = E(null), An = qe(null), jn = qe(null), Mn = qe(null), Nn = qe(null), Pn = qe(null), Fn = qe(null), In = E(0), Ln = E(0), Rn = E(0), zn = E(!1), Bn = E(null), Vn = E(null), Hn = E(!1), Un = E(!1), Wn = E(null), Gn = E({
415
412
  x: 0,
416
413
  y: 0
417
- }), $n = D("pointer"), er = D(!1), tr = y({
414
+ }), Kn = E("pointer"), qn = E(!1), Jn = _({
418
415
  get: () => L.value.style.chart.layout.labels.percentage.fontSize,
419
416
  set: (e) => e
420
- }), P = y({
417
+ }), P = _({
421
418
  get: () => L.value.style.chart.layout.labels.name.fontSize,
422
419
  set: (e) => e
423
- }), nr = y({
420
+ }), Yn = _({
424
421
  get: () => L.value.style.chart.layout.labels.dataLabels.smallArcClusterFontSize,
425
422
  set: (e) => e
426
- }), rr = !1, ir = () => {
427
- !L.value.autoSize || rr || (rr = !0, requestAnimationFrame(() => {
428
- rr = !1;
429
- let e = L.value, t = Pn.value, n = z.value;
423
+ }), Xn = !1, Zn = () => {
424
+ !L.value.autoSize || Xn || (Xn = !0, requestAnimationFrame(() => {
425
+ Xn = !1;
426
+ let e = L.value, t = Dn.value, n = z.value;
430
427
  if (!e.autoSize || !t || !n) return;
431
428
  let [r, i, a, o] = n.getAttribute("viewBox").split(" ").map(Number), s = {
432
429
  x: r,
@@ -438,7 +435,7 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
438
435
  selector: ".vue-data-ui-datalabel-value",
439
436
  baseSize: e.style.chart.layout.labels.percentage.fontSize,
440
437
  minSize: e.style.chart.layout.labels.percentage.minFontSize,
441
- sizeRef: tr
438
+ sizeRef: Jn
442
439
  },
443
440
  {
444
441
  selector: ".vue-data-ui-datalabel-name",
@@ -450,12 +447,12 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
450
447
  selector: ".vue-data-ui-datalabel-inline",
451
448
  baseSize: e.style.chart.layout.labels.dataLabels.smallArcClusterFontSize,
452
449
  minSize: e.style.chart.layout.labels.name.minFontSize,
453
- sizeRef: nr
450
+ sizeRef: Yn
454
451
  }
455
452
  ];
456
453
  c.map((e) => t.querySelectorAll(e.selector).length).reduce((e, t) => e + t, 0) !== 0 && c.forEach(({ selector: e, baseSize: n, minSize: r, sizeRef: i }) => {
457
454
  t.querySelectorAll(e).forEach((e) => {
458
- i.value = ie({
455
+ i.value = se({
459
456
  el: e,
460
457
  bounds: s,
461
458
  currentFontSize: n,
@@ -467,93 +464,93 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
467
464
  });
468
465
  }));
469
466
  };
470
- Ue(async () => {
471
- Kn.value = !0, sr(), requestAnimationFrame(ir);
467
+ Ge(async () => {
468
+ zn.value = !0, er(), requestAnimationFrame(Zn);
472
469
  });
473
- let ar;
474
- Ue(() => {
475
- N.value && (ar = new ResizeObserver((e) => {
470
+ let Qn;
471
+ Ge(() => {
472
+ N.value && (Qn = new ResizeObserver((e) => {
476
473
  for (let t of e) {
477
474
  let { width: e, height: n } = t.contentRect;
478
475
  if (e > 0 && n > 0) {
479
- ir();
476
+ Zn();
480
477
  break;
481
478
  }
482
479
  }
483
- }), ar.observe(N.value.parentElement));
484
- }), He(() => {
485
- ar?.disconnect();
486
- }), He(() => {
487
- zn.value && (Bn.value && zn.value.unobserve(Bn.value), zn.value.disconnect());
480
+ }), Qn.observe(N.value.parentElement));
481
+ }), We(() => {
482
+ Qn?.disconnect();
483
+ }), We(() => {
484
+ Mn.value && (Nn.value && Mn.value.unobserve(Nn.value), Mn.value.disconnect());
488
485
  });
489
- let or = y(() => !!L.value.debug);
490
- function sr() {
491
- if (a(M.dataset) ? (o({
486
+ let $n = _(() => !!L.value.debug);
487
+ function er() {
488
+ if (oe(M.dataset) ? (t({
492
489
  componentName: "VueUiDonut",
493
490
  type: "dataset",
494
- debug: or.value
495
- }), Nn.value = !1, gr.value = !0) : (M.dataset.forEach((e, t) => {
496
- ce({
491
+ debug: $n.value
492
+ }), En.value = !1, lr.value = !0) : (M.dataset.forEach((e, n) => {
493
+ p({
497
494
  datasetObject: e,
498
495
  requiredAttributes: ["name", "values"]
499
496
  }).forEach((e) => {
500
- o({
497
+ t({
501
498
  componentName: "VueUiDonut",
502
499
  type: "datasetSerieAttribute",
503
500
  property: e,
504
- index: t,
505
- debug: or.value
506
- }), Nn.value = !1, gr.value = !0;
501
+ index: n,
502
+ debug: $n.value
503
+ }), En.value = !1, lr.value = !0;
507
504
  });
508
- }), M.dataset.forEach((e, t) => {
509
- (!e.name || e.name === "") && o({
505
+ }), M.dataset.forEach((e, n) => {
506
+ (!e.name || e.name === "") && t({
510
507
  componentName: "VueUiDonut",
511
508
  type: "datasetAttributeEmpty",
512
509
  property: "name",
513
- index: t,
514
- debug: or.value
510
+ index: n,
511
+ debug: $n.value
515
512
  });
516
- })), a(M.dataset) || (gr.value = L.value.loading), L.value.responsive) {
517
- let e = Ce(() => {
518
- let { width: e, height: t } = we({
513
+ })), oe(M.dataset) || (lr.value = L.value.loading), L.value.responsive) {
514
+ let e = Te(() => {
515
+ let { width: e, height: t } = Ee({
519
516
  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,
524
- padding: L.value.autoSize ? void 0 : Dr.value
517
+ title: L.value.style.chart.title.text ? An.value : null,
518
+ legend: L.value.style.chart.legend.show ? jn.value : null,
519
+ source: Pn.value,
520
+ noTitle: Fn.value,
521
+ padding: L.value.autoSize ? void 0 : br.value
525
522
  });
526
523
  requestAnimationFrame(() => {
527
- V.value.width = e, V.value.height = t, ir();
524
+ V.value.width = e, V.value.height = t, Zn();
528
525
  });
529
526
  });
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);
527
+ Mn.value && (Nn.value && Mn.value.unobserve(Nn.value), Mn.value.disconnect()), Mn.value = new ResizeObserver(e), Nn.value = N.value.parentNode, Mn.value.observe(Nn.value);
531
528
  }
532
529
  }
533
- let F = D(ee()), cr = D(!1), lr = D(""), I = D(null), ur = D(0);
534
- function dr() {
535
- let e = _e({
530
+ let F = E(i()), tr = E(!1), nr = E(""), I = E(null), rr = E(0);
531
+ function ir() {
532
+ let e = ye({
536
533
  userConfig: M.config,
537
- defaultConfig: kn
534
+ defaultConfig: Sn
538
535
  }), t = {}, n = e.theme;
539
536
  if (!n) t = e;
540
- else if (!An.value(e)) jn(e), t = e;
537
+ else if (!Cn.value(e)) wn(e), t = e;
541
538
  else {
542
- let r = _e({
543
- userConfig: je[n] || M.config,
539
+ let r = ye({
540
+ userConfig: Pe[n] || M.config,
544
541
  defaultConfig: e
545
542
  });
546
543
  t = {
547
- ..._e({
544
+ ...ye({
548
545
  userConfig: M.config,
549
546
  defaultConfig: r
550
547
  }),
551
- customPalette: e.customPalette.length ? e.customPalette : u[n] || m
548
+ customPalette: e.customPalette.length ? e.customPalette : ne[n] || s
552
549
  };
553
550
  }
554
551
  return t;
555
552
  }
556
- let L = D(dr()), fr = y(() => L.value.userOptions.useCursorPointer), pr = y(() => n({
553
+ let L = E(ir()), ar = _(() => L.value.userOptions.useCursorPointer), or = _(() => o({
557
554
  defaultConfig: {
558
555
  useCssAnimation: !1,
559
556
  table: { show: !1 },
@@ -581,10 +578,10 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
581
578
  } }
582
579
  },
583
580
  userConfig: L.value.skeletonConfig ?? {}
584
- })), { loading: mr, FINAL_DATASET: hr, manualLoading: gr, skeletonDataset: _r } = me({
585
- ...qe(M),
581
+ })), { loading: sr, FINAL_DATASET: cr, manualLoading: lr, skeletonDataset: ur } = ge({
582
+ ...Je(M),
586
583
  FINAL_CONFIG: L,
587
- prepareConfig: dr,
584
+ prepareConfig: ir,
588
585
  skeletonDataset: M.config?.skeletonDataset ?? [
589
586
  {
590
587
  name: "",
@@ -602,37 +599,37 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
602
599
  color: "#CACACA"
603
600
  }
604
601
  ],
605
- skeletonConfig: n({
602
+ skeletonConfig: o({
606
603
  defaultConfig: L.value,
607
- userConfig: pr.value
604
+ userConfig: or.value
608
605
  })
609
- }), R = D(!0), vr = D(0), yr = D(!1), br = null;
610
- function xr(e = 1e3) {
606
+ }), R = E(!0), dr = E(0), fr = E(!1), pr = null;
607
+ function mr(e = 1e3) {
611
608
  return new Promise((t) => {
612
609
  let n = performance.now();
613
610
  function r(i) {
614
611
  let a = i - n, o = Math.min(a / e, 1);
615
- vr.value = ne(o), o < 1 ? br = requestAnimationFrame(r) : (vr.value = 1, br = null, t());
612
+ dr.value = c(o), o < 1 ? pr = requestAnimationFrame(r) : (dr.value = 1, pr = null, t());
616
613
  }
617
- br !== null && cancelAnimationFrame(br), vr.value = 0, br = requestAnimationFrame(r);
614
+ pr !== null && cancelAnimationFrame(pr), dr.value = 0, pr = requestAnimationFrame(r);
618
615
  });
619
616
  }
620
- Xe(() => mr.value, async (e) => {
621
- if (e || yr.value) return;
622
- let t = hr.value === _r, n = L.value.startAnimation?.show;
623
- !t && n ? (yr.value = !0, await xr(L.value.startAnimation.durationMs || 1e3)) : vr.value = 1, R.value = !1;
617
+ Ze(() => sr.value, async (e) => {
618
+ if (e || fr.value) return;
619
+ let t = cr.value === ur, n = L.value.startAnimation?.show;
620
+ !t && n ? (fr.value = !0, await mr(L.value.startAnimation.durationMs || 1e3)) : dr.value = 1, R.value = !1;
624
621
  }, { immediate: !0 });
625
- let { userOptionsVisible: Sr, setUserOptionsVisibility: Cr, keepUserOptionState: wr } = De({ config: L.value }), { svgRef: z } = Oe({ config: L.value.style.chart.title });
626
- function Tr() {
627
- Cr(!0);
622
+ let { userOptionsVisible: hr, setUserOptionsVisibility: gr, keepUserOptionState: _r } = Ae({ config: L.value }), { svgRef: z } = je({ config: L.value.style.chart.title });
623
+ function vr() {
624
+ gr(!0);
628
625
  }
629
- function Er() {
630
- Cr(!1);
626
+ function yr() {
627
+ gr(!1);
631
628
  }
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;
629
+ Ze(() => M.config, (e) => {
630
+ sr.value || (L.value = ir()), hr.value = !L.value.userOptions.showOnChartHover, er(), In.value += 1, Ln.value += 1, Rn.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
631
  }, { deep: !0 });
635
- let Dr = y(() => {
632
+ let br = _(() => {
636
633
  let { top: e, right: t, bottom: n, left: r } = L.value.style.chart.padding;
637
634
  return {
638
635
  css: `padding:${e}px ${t}px ${n}px ${r}px`,
@@ -641,36 +638,36 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
641
638
  bottom: n,
642
639
  left: r
643
640
  };
644
- }), { isPrinting: Or, isImaging: kr, generatePdf: Ar, generateImage: jr } = pe({
641
+ }), { isPrinting: xr, isImaging: Sr, generatePdf: Cr, generateImage: wr } = he({
645
642
  elementId: `donut__${F.value}`,
646
643
  fileName: L.value.style.chart.title.text || "vue-ui-donut",
647
644
  options: L.value.userOptions.print
648
- }), Mr = y(() => L.value.userOptions.show && !L.value.style.chart.title.text), Nr = y(() => c(L.value.customPalette)), B = D({
645
+ }), Tr = _(() => L.value.userOptions.show && !L.value.style.chart.title.text), Er = _(() => u(L.value.customPalette)), B = E({
649
646
  dataLabels: { show: L.value.style.chart.layout.labels.dataLabels.show },
650
647
  showTable: L.value.table.show,
651
648
  showTooltip: L.value.style.chart.tooltip.show
652
649
  });
653
- Xe(L, () => {
650
+ Ze(L, () => {
654
651
  B.value = {
655
652
  dataLabels: { show: L.value.style.chart.layout.labels.dataLabels.show },
656
653
  showTable: L.value.table.show,
657
654
  showTooltip: L.value.style.chart.tooltip.show
658
655
  };
659
656
  }, { immediate: !0 });
660
- let V = D({
657
+ let V = E({
661
658
  height: L.value.style.chart.height,
662
659
  width: L.value.style.chart.width
663
- }), Pr = y(() => {
660
+ }), Dr = _(() => {
664
661
  if (L.value.pie) return G.value;
665
662
  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
663
  return Math.max(n, 12 * (1 + e));
667
- }), Fr = $e, H = y(() => hr.value.sort((e, t) => {
664
+ }), Or = et, H = _(() => cr.value.sort((e, t) => {
668
665
  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
666
  return e.ghost && !t.ghost ? 1 : t.ghost && !e.ghost ? -1 : r - n;
670
667
  }).map((e, t) => ({
671
668
  name: e.name,
672
- color: d(e.color) || Nr.value[t] || m[t] || m[t % m.length],
673
- value: le(e.values.reduce((e, t) => e + t, 0)),
669
+ color: re(e.color) || Er.value[t] || s[t] || s[t % s.length],
670
+ value: de(e.values.reduce((e, t) => e + t, 0)),
674
671
  absoluteValues: e.values,
675
672
  comment: e.comment || "",
676
673
  patternIndex: t,
@@ -678,29 +675,29 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
678
675
  ghost: !1,
679
676
  pattern: `pattern_${F.value}_${t}`
680
677
  })));
681
- Xe(() => M.dataset, (e) => {
682
- Array.isArray(e) && e.length > 0 && (gr.value = !1);
678
+ Ze(() => M.dataset, (e) => {
679
+ Array.isArray(e) && e.length > 0 && (lr.value = !1);
683
680
  }, { immediate: !0 });
684
- let U = Ge(H.value);
685
- Xe(() => H.value, (e) => {
686
- U.value = e, requestAnimationFrame(ir);
681
+ let U = qe(H.value);
682
+ Ze(() => H.value, (e) => {
683
+ U.value = e, requestAnimationFrame(Zn);
687
684
  });
688
- function Ir() {
685
+ function kr() {
689
686
  return H.value.map((e) => ({
690
687
  name: e.name,
691
688
  color: e.color,
692
689
  value: e.value
693
690
  }));
694
691
  }
695
- let W = D([]), Lr = D(!1), Rr = D(null);
696
- function zr() {
697
- Fr("selectLegend", qr.value.map((e) => ({
692
+ let W = E([]), Ar = E(!1), jr = E(null);
693
+ function Mr() {
694
+ Or("selectLegend", Br.value.map((e) => ({
698
695
  name: e.name,
699
696
  color: e.color,
700
697
  value: e.value
701
698
  })));
702
699
  }
703
- function Br({ from: e, to: t, duration: n, onUpdate: r, onDone: i, easing: a = ne }) {
700
+ function Nr({ from: e, to: t, duration: n, onUpdate: r, onDone: i, easing: a = c }) {
704
701
  let o = performance.now();
705
702
  function s(c) {
706
703
  let l = Math.min((c - o) / n, 1), u = a(l);
@@ -708,12 +705,12 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
708
705
  }
709
706
  requestAnimationFrame(s);
710
707
  }
711
- function Vr() {
712
- W.value.length ? W.value = [] : Jr.value.forEach((e, t) => {
708
+ function Pr() {
709
+ W.value.length ? W.value = [] : Vr.value.forEach((e, t) => {
713
710
  W.value.push(t);
714
- }), zr();
711
+ }), Mr();
715
712
  }
716
- function Hr(e) {
713
+ function Fr(e) {
717
714
  let t = H.value.find((t, n) => n === e), n = U.value.find((t, n) => n === e).value;
718
715
  if (W.value.includes(e)) {
719
716
  W.value = W.value.filter((t) => t !== e);
@@ -722,10 +719,10 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
722
719
  U.value = U.value.map((t, n) => e === n ? {
723
720
  ...t,
724
721
  value: r
725
- } : t), zr();
722
+ } : t), Mr();
726
723
  }
727
724
  function a() {
728
- Lr.value = !0, Rr.value = e, Br({
725
+ Ar.value = !0, jr.value = e, Nr({
729
726
  from: n,
730
727
  to: r,
731
728
  duration: L.value.serieToggleAnimation.durationMs,
@@ -733,23 +730,23 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
733
730
  U.value = U.value.map((n, r) => e === r ? {
734
731
  ...n,
735
732
  value: t
736
- } : n), requestAnimationFrame(ir);
733
+ } : n), requestAnimationFrame(Zn);
737
734
  },
738
735
  onDone: () => {
739
- i(), Lr.value = !1, Rr.value = null;
736
+ i(), Ar.value = !1, jr.value = null;
740
737
  }
741
738
  });
742
739
  }
743
- L.value.serieToggleAnimation.show && L.value.type === "classic" ? a() : (i(), requestAnimationFrame(ir));
740
+ L.value.serieToggleAnimation.show && L.value.type === "classic" ? a() : (i(), requestAnimationFrame(Zn));
744
741
  } else if (W.value.length < H.value.length - 1) {
745
742
  function t() {
746
743
  W.value.push(e), U.value = U.value.map((t, n) => e === n ? {
747
744
  ...t,
748
745
  value: 0
749
- } : t), zr();
746
+ } : t), Mr();
750
747
  }
751
748
  function r() {
752
- Lr.value = !0, Rr.value = e, Br({
749
+ Ar.value = !0, jr.value = e, Nr({
753
750
  from: n,
754
751
  to: 0,
755
752
  duration: L.value.serieToggleAnimation.durationMs,
@@ -757,35 +754,35 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
757
754
  U.value = U.value.map((n, r) => e === r ? {
758
755
  ...n,
759
756
  value: t
760
- } : n), requestAnimationFrame(ir);
757
+ } : n), requestAnimationFrame(Zn);
761
758
  },
762
759
  onDone: () => {
763
- t(), requestAnimationFrame(ir), Lr.value = !1, Rr.value = null;
760
+ t(), requestAnimationFrame(Zn), Ar.value = !1, jr.value = null;
764
761
  }
765
762
  });
766
763
  }
767
764
  L.value.serieToggleAnimation.show && L.value.type === "classic" ? r() : t();
768
765
  }
769
766
  }
770
- function Ur(e) {
767
+ function Ir(e) {
771
768
  return H.value.length ? H.value.find((t) => t.name === e) || (L.value.debug && console.warn(`VueUiDonut - Series name not found "${e}"`), null) : (L.value.debug && console.warn("VueUiDonut - There are no series to show."), null);
772
769
  }
773
- function Wr(e) {
774
- let t = Ur(e);
775
- t !== null && W.value.includes(t.seriesIndex) && Hr(t.seriesIndex);
770
+ function Lr(e) {
771
+ let t = Ir(e);
772
+ t !== null && W.value.includes(t.seriesIndex) && Fr(t.seriesIndex);
776
773
  }
777
- function Gr(e) {
778
- let t = Ur(e);
779
- t !== null && (W.value.includes(t.seriesIndex) || Hr(t.seriesIndex));
774
+ function Rr(e) {
775
+ let t = Ir(e);
776
+ t !== null && (W.value.includes(t.seriesIndex) || Fr(t.seriesIndex));
780
777
  }
781
- let Kr = y(() => hr.value.reduce((e, t) => e + t.values.reduce((e, t) => e + t, 0), 0)), qr = y(() => {
782
- if (R.value && !mr.value) {
783
- let e = vr.value, t = H.value.map((t) => ({
778
+ let zr = _(() => cr.value.reduce((e, t) => e + t.values.reduce((e, t) => e + t, 0), 0)), Br = _(() => {
779
+ if (R.value && !sr.value) {
780
+ let e = dr.value, t = H.value.map((t) => ({
784
781
  ...t,
785
782
  value: t.value * e,
786
783
  color: t.color,
787
784
  ghost: !1
788
- })), n = Kr.value * (1 - e);
785
+ })), n = zr.value * (1 - e);
789
786
  return n > 0 && t.push({
790
787
  name: "__ghost__",
791
788
  value: n,
@@ -801,18 +798,18 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
801
798
  ...e,
802
799
  seriesIndex: t
803
800
  })).filter((e, t) => !W.value.includes(t));
804
- }), Jr = y(() => 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);
801
+ }), Vr = _(() => cr.value.map((e, t) => {
802
+ let n = (e.values || []).reduce((e, t) => e + t, 0), r = n / cr.value.map((e) => (e.values || []).reduce((e, t) => e + t, 0)).reduce((e, t) => e + t, 0);
806
803
  return {
807
804
  name: e.name,
808
- color: d(e.color) || Nr.value[t] || m[t] || m[t % m.length],
805
+ color: re(e.color) || Er.value[t] || s[t] || s[t % s.length],
809
806
  value: n,
810
807
  shape: "circle",
811
808
  patternIndex: t,
812
809
  proportion: r
813
810
  };
814
811
  }).map((e, t) => {
815
- let n = p(L.value.style.chart.layout.labels.value.formatter, e.value, g({
812
+ let n = m(L.value.style.chart.layout.labels.value.formatter, e.value, a({
816
813
  p: L.value.style.chart.layout.labels.dataLabels.prefix,
817
814
  v: e.value,
818
815
  s: L.value.style.chart.layout.labels.dataLabels.suffix,
@@ -820,13 +817,13 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
820
817
  }), {
821
818
  datapoint: e,
822
819
  index: t
823
- }), r = p(L.value.style.chart.layout.labels.percentage.formatter, ai(e), g({
824
- v: ai(e),
820
+ }), r = m(L.value.style.chart.layout.labels.percentage.formatter, Qr(e), a({
821
+ v: Qr(e),
825
822
  s: "%",
826
823
  r: L.value.style.chart.legend.roundingPercentage
827
- })), i = xi({
824
+ })), i = mi({
828
825
  val: n,
829
- percentage: W.value.includes(t) ? `${bi(e.proportion * 100)}%` : r,
826
+ percentage: W.value.includes(t) ? `${pi(e.proportion * 100)}%` : r,
830
827
  showVal: L.value.style.chart.legend.showValue,
831
828
  showPercentage: L.value.style.chart.legend.showPercentage,
832
829
  config: L.value.style.chart.legend
@@ -834,21 +831,21 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
834
831
  return {
835
832
  ...e,
836
833
  opacity: W.value.includes(t) ? .5 : 1,
837
- segregate: () => !Lr.value && Hr(t),
834
+ segregate: () => !Ar.value && Fr(t),
838
835
  isSegregated: W.value.includes(t),
839
836
  display: `${e.name}${L.value.style.chart.legend.showPercentage || L.value.style.chart.legend.showValue ? ": " : ""}${i}`
840
837
  };
841
- })), Yr = y(() => ({
838
+ })), Hr = _(() => ({
842
839
  cy: "donut-div-legend",
843
840
  backgroundColor: L.value.style.chart.legend.backgroundColor,
844
841
  color: L.value.style.chart.legend.color,
845
842
  fontSize: L.value.style.chart.legend.fontSize,
846
843
  paddingBottom: 12,
847
844
  fontWeight: L.value.style.chart.legend.bold ? "bold" : ""
848
- })), G = y(() => {
845
+ })), G = _(() => {
849
846
  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
847
  return Math.max(12, n);
851
- }), K = y(() => t({ 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 = y(() => Math.abs(qr.value.map((e) => e.value).reduce((e, t) => e + t, 0)) > 0), Zr = y(() => t({ series: [{
848
+ }), K = _(() => r({ series: Br.value }, V.value.width / 2, V.value.height / 2, G.value, G.value, 1.99999, 2, 1, 360, 105.25, Dr.value)), Ur = _(() => Math.abs(Br.value.map((e) => e.value).reduce((e, t) => e + t, 0)) > 0), Wr = _(() => r({ series: [{
852
849
  value: 1,
853
850
  color: L.value.style.chart.layout.donut.emptyFill,
854
851
  name: "_",
@@ -856,10 +853,10 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
856
853
  patternIndex: -1,
857
854
  ghost: !1,
858
855
  absoluteValues: [1]
859
- }] }, V.value.width / 2, V.value.height / 2, G.value, G.value, 1.99999, 2, 1, 360, 105.25, Pr.value)), q = y(() => K.value.filter((e) => !e.ghost)), J = y(() => {
860
- let e = Math.max(...qr.value.map((e) => e.value));
861
- return i({
862
- series: qr.value.map((t) => t.value / e),
856
+ }] }, V.value.width / 2, V.value.height / 2, G.value, G.value, 1.99999, 2, 1, 360, 105.25, Dr.value)), q = _(() => K.value.filter((e) => !e.ghost)), J = _(() => {
857
+ let e = Math.max(...Br.value.map((e) => e.value));
858
+ return ae({
859
+ series: Br.value.map((t) => t.value / e),
863
860
  center: {
864
861
  x: V.value.width / 2,
865
862
  y: V.value.height / 2
@@ -868,17 +865,17 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
868
865
  hasGhost: R.value
869
866
  });
870
867
  });
871
- function Qr(e) {
868
+ function Gr(e) {
872
869
  return e.x > V.value.width / 2 + 6 ? "start" : e.x < V.value.width / 2 - 6 ? "end" : "middle";
873
870
  }
874
- function $r(e) {
875
- return e.middlePoint.y > V.value.height / 2 ? h({
871
+ function Kr(e) {
872
+ return e.middlePoint.y > V.value.height / 2 ? n({
876
873
  initX: e.middlePoint.x,
877
874
  initY: e.middlePoint.y,
878
875
  offset: 100,
879
876
  centerX: V.value.width / 2,
880
877
  centerY: V.value.height / 2
881
- }).y : h({
878
+ }).y : n({
882
879
  initX: e.middlePoint.x,
883
880
  initY: e.middlePoint.y,
884
881
  offset: 0,
@@ -889,75 +886,75 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
889
886
  function Y(e) {
890
887
  return e.proportion * 100 > L.value.style.chart.layout.labels.dataLabels.hideUnderValue;
891
888
  }
892
- function ei(e, t) {
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;
889
+ function qr(e, t) {
890
+ let n = L.value.style.chart.layout.labels.dataLabels.hideUnderValue, r = L.value.style.chart.layout.labels.dataLabels.smallArcClusterThreshold, i = (Xr.value[t] ?? e.proportion ?? 0) * 100;
894
891
  return i > n && i <= r;
895
892
  }
896
- let { smallArcLayoutsClassic: X } = Qe({
893
+ let { smallArcLayoutsClassic: X } = $e({
897
894
  FINAL_CONFIG: L,
898
895
  noGhostDonut: q,
899
896
  svg: V,
900
- padding: Dr,
901
- labels_inline_fontSize: nr,
897
+ padding: br,
898
+ labels_inline_fontSize: Yn,
902
899
  minSize: G,
903
- findArcMidpoint: re,
904
- calcMarkerOffsetX: _,
900
+ findArcMidpoint: le,
901
+ calcMarkerOffsetX: h,
905
902
  calcMarkerOffsetY: f,
906
- animatingIndex: Rr,
903
+ animatingIndex: jr,
907
904
  segregated: W,
908
- isSmallArc: ei
905
+ isSmallArc: qr
909
906
  });
910
- function ti(e, t) {
911
- let n = e.value / ni(t);
912
- return isNaN(n) ? 0 : p(L.value.style.chart.layout.labels.percentage.formatter, n * 100, g({
907
+ function Jr(e, t) {
908
+ let n = e.value / Yr(t);
909
+ return isNaN(n) ? 0 : m(L.value.style.chart.layout.labels.percentage.formatter, n * 100, a({
913
910
  v: n * 100,
914
911
  s: "%",
915
912
  r: L.value.style.chart.layout.labels.percentage.rounding
916
913
  }), { datapoint: e });
917
914
  }
918
- function ni(e) {
915
+ function Yr(e) {
919
916
  return [...e].map((e) => e.value).reduce((e, t) => e + t, 0);
920
917
  }
921
- let Z = y(() => qr.value.map((e) => e.value).reduce((e, t) => e + t, 0)), ri = y(() => {
918
+ let Z = _(() => Br.value.map((e) => e.value).reduce((e, t) => e + t, 0)), Xr = _(() => {
922
919
  let e = H.value.reduce((e, t) => e + t.value, 0);
923
920
  return e <= 0 ? [] : H.value.map((t) => t.value / e);
924
- }), ii = y(() => Z.value / qr.value.length);
925
- function ai(e) {
926
- return Lr.value ? e.proportion * 100 : e.value / Z.value * 100;
921
+ }), Zr = _(() => Z.value / Br.value.length);
922
+ function Qr(e) {
923
+ return Ar.value ? e.proportion * 100 : e.value / Z.value * 100;
927
924
  }
928
- let oi = D(null), si = D(!1);
929
- function ci({ datapoint: e, seriesIndex: t }) {
925
+ let $r = E(null), ei = E(!1);
926
+ function ti({ datapoint: e, seriesIndex: t }) {
930
927
  L.value.events.datapointLeave && L.value.events.datapointLeave({
931
928
  datapoint: e,
932
929
  seriesIndex: t
933
- }), cr.value = !1, I.value = null, Zn.value = null, $n.value = "pointer";
930
+ }), tr.value = !1, I.value = null, Wn.value = null, Kn.value = "pointer";
934
931
  }
935
932
  function Q({ datapoint: e, relativeIndex: t, seriesIndex: n, show: r = !1, triggerMode: i = "pointer" }) {
936
933
  L.value.events.datapointEnter && L.value.events.datapointEnter({
937
934
  datapoint: e,
938
935
  seriesIndex: n
939
- }), $n.value = i, Zn.value = t, oi.value = {
936
+ }), Kn.value = i, Wn.value = t, $r.value = {
940
937
  datapoint: e,
941
938
  seriesIndex: n,
942
939
  config: L.value,
943
940
  series: H.value
944
- }, cr.value = r, I.value = t;
945
- let a = "", o = L.value.style.chart.tooltip.customFormat;
946
- if (si.value = !1, ue(o)) try {
947
- let t = o({
941
+ }, tr.value = r, I.value = t;
942
+ let o = "", s = L.value.style.chart.tooltip.customFormat;
943
+ if (ei.value = !1, fe(s)) try {
944
+ let t = s({
948
945
  seriesIndex: n,
949
946
  datapoint: e,
950
947
  series: H.value,
951
948
  config: L.value
952
949
  });
953
- typeof t == "string" && (lr.value = t, si.value = !0);
950
+ typeof t == "string" && (nr.value = t, ei.value = !0);
954
951
  } catch {
955
- console.warn("Custom format cannot be applied."), si.value = !1;
952
+ console.warn("Custom format cannot be applied."), ei.value = !1;
956
953
  }
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({
954
+ ei.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}"/>${Tn.pattern ? `<circle cx="30" cy="30" r="30" stroke="none" fill="url(#pattern_${F.value}_${n})"/>` : ""}</svg>`, o += `<b>${mi({
958
955
  showVal: L.value.style.chart.tooltip.showValue,
959
956
  showPercentage: L.value.style.chart.tooltip.showPercentage,
960
- val: `<span>${p(L.value.style.chart.layout.labels.value.formatter, e.value, g({
957
+ val: `<span>${m(L.value.style.chart.layout.labels.value.formatter, e.value, a({
961
958
  p: L.value.style.chart.layout.labels.dataLabels.prefix,
962
959
  v: e.value,
963
960
  s: L.value.style.chart.layout.labels.dataLabels.suffix,
@@ -967,7 +964,7 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
967
964
  relativeIndex: t,
968
965
  seriesIndex: n
969
966
  })}</span>`,
970
- percentage: p(L.value.style.chart.layout.labels.percentage.formatter, e.proportion * 100, g({
967
+ percentage: m(L.value.style.chart.layout.labels.percentage.formatter, e.proportion * 100, a({
971
968
  v: e.proportion * 100,
972
969
  s: "%",
973
970
  r: L.value.style.chart.tooltip.roundingPercentage
@@ -977,28 +974,28 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
977
974
  seriesIndex: n
978
975
  }),
979
976
  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>`);
977
+ })}</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>`), nr.value = `<div>${o}</div>`);
981
978
  }
982
- function li(e, t) {
979
+ function ni(e, t) {
983
980
  let n = X.value[t];
984
981
  if (n) return {
985
982
  textAnchor: n.textAnchor,
986
983
  x: n.labelX,
987
984
  y: n.labelY
988
985
  };
989
- let r = _(e, !0, 12);
986
+ let r = h(e, !0, 12);
990
987
  return {
991
988
  textAnchor: r.anchor,
992
989
  x: r.x,
993
990
  y: f(e)
994
991
  };
995
992
  }
996
- function ui(e, t, n) {
997
- let { textAnchor: r, x: i } = li(e, t), a = Si(e), o = `
993
+ function ri(e, t, n) {
994
+ let { textAnchor: r, x: i } = ni(e, t), a = hi(e), o = `
998
995
  <tspan
999
996
  class="vue-data-ui-datalabel-inline"
1000
997
  fill="${L.value.style.chart.layout.labels.percentage.color}"
1001
- font-size="${n ? nr.value : tr.value}px"
998
+ font-size="${n ? Yn.value : Jn.value}px"
1002
999
  style="font-weight:${L.value.style.chart.layout.labels.percentage.bold ? "bold" : ""}"
1003
1000
  >${a}</tspan>
1004
1001
  `, s = String(e.name ?? "").split(/\n/g), c = "";
@@ -1007,80 +1004,80 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1007
1004
  <tspan
1008
1005
  class="${n ? "vue-data-ui-datalabel-inline" : "vue-data-ui-datalabel-name"}"
1009
1006
  fill="${L.value.style.chart.layout.labels.name.color}"
1010
- font-size="${n ? nr.value : P.value}px"
1007
+ font-size="${n ? Yn.value : P.value}px"
1011
1008
  style="font-weight:${L.value.style.chart.layout.labels.name.bold ? "bold" : ""}"
1012
1009
  >${e}</tspan>
1013
1010
  ` : c += `
1014
1011
  <tspan
1015
1012
  class="${n ? "vue-data-ui-datalabel-inline" : "vue-data-ui-datalabel-name"}"
1016
1013
  x="${i}"
1017
- dy="${(n ? nr.value : P.value) * 1.2}"
1014
+ dy="${(n ? Yn.value : P.value) * 1.2}"
1018
1015
  fill="${L.value.style.chart.layout.labels.name.color}"
1019
- font-size="${n ? nr.value : P.value}px"
1016
+ font-size="${n ? Yn.value : P.value}px"
1020
1017
  style="font-weight:${L.value.style.chart.layout.labels.name.bold ? "bold" : ""}"
1021
1018
  >${e}</tspan>
1022
1019
  `;
1023
1020
  }), r === "end" ? `${L.value.style.chart.layout.labels.name.show ? c : ""}${o}` : `${o}${L.value.style.chart.layout.labels.name.show ? c : ""}`;
1024
1021
  }
1025
- function di(e, t) {
1026
- let n = J.value[t].middlePoint, r = Qr(n), i = h({
1027
- initX: n.x,
1028
- initY: n.y,
1022
+ function ii(e, t) {
1023
+ let r = J.value[t].middlePoint, i = Gr(r), a = n({
1024
+ initX: r.x,
1025
+ initY: r.y,
1029
1026
  offset: 42,
1030
1027
  centerX: V.value.width / 2,
1031
1028
  centerY: V.value.height / 2
1032
- }), a = i.x;
1033
- i.y;
1034
- let o = Si(e), s = `
1029
+ }), o = a.x;
1030
+ a.y;
1031
+ let s = hi(e), c = `
1035
1032
  <tspan
1036
1033
  class="vue-data-ui-datalabel-value"
1037
1034
  fill="${L.value.style.chart.layout.labels.percentage.color}"
1038
- font-size="${tr.value}px"
1035
+ font-size="${Jn.value}px"
1039
1036
  style="font-weight:${L.value.style.chart.layout.labels.percentage.bold ? "bold" : "normal"}"
1040
- >${o}</tspan>
1041
- `, c = String(e.name ?? "").split(/\n/g), l = "";
1042
- return c.forEach((e, t) => {
1043
- t === 0 ? l += `
1037
+ >${s}</tspan>
1038
+ `, l = String(e.name ?? "").split(/\n/g), u = "";
1039
+ return l.forEach((e, t) => {
1040
+ t === 0 ? u += `
1044
1041
  <tspan
1045
1042
  class="vue-data-ui-datalabel-name"
1046
1043
  fill="${L.value.style.chart.layout.labels.name.color}"
1047
1044
  font-size="${P.value}px"
1048
1045
  style="font-weight:${L.value.style.chart.layout.labels.name.bold ? "bold" : "normal"}"
1049
1046
  >${e}</tspan>
1050
- ` : l += `
1047
+ ` : u += `
1051
1048
  <tspan
1052
1049
  class="vue-data-ui-datalabel-name"
1053
- x="${a}"
1050
+ x="${o}"
1054
1051
  dy="${P.value * 1.2}"
1055
1052
  fill="${L.value.style.chart.layout.labels.name.color}"
1056
1053
  font-size="${P.value}px"
1057
1054
  style="font-weight:${L.value.style.chart.layout.labels.name.bold ? "bold" : "normal"}"
1058
1055
  >${e}</tspan>
1059
1056
  `;
1060
- }), r === "end" ? `${L.value.style.chart.layout.labels.name.show ? l : ""}${s}` : `${s}${L.value.style.chart.layout.labels.name.show ? l : ""}`;
1057
+ }), i === "end" ? `${L.value.style.chart.layout.labels.name.show ? u : ""}${c}` : `${c}${L.value.style.chart.layout.labels.name.show ? u : ""}`;
1061
1058
  }
1062
- function fi(e) {
1059
+ function ai(e) {
1063
1060
  return L.value.useBlurOnHover && ![null, void 0].includes(I.value) && I.value !== e ? `url(#blur_${F.value})` : "";
1064
1061
  }
1065
- function pi(e) {
1066
- if (!Lr.value || Rr.value === null || e.seriesIndex !== Rr.value) return 1;
1062
+ function oi(e) {
1063
+ if (!Ar.value || jr.value === null || e.seriesIndex !== jr.value) return 1;
1067
1064
  let t = (e.proportion ?? 0) * 100, n = L.value.style.chart.layout.labels.dataLabels.hideUnderValue, r = L.value.style.chart.layout.labels.dataLabels.smallArcClusterThreshold + 2, i = n;
1068
1065
  return t >= r ? 1 : t <= i ? 0 : (t - i) / (r - i);
1069
1066
  }
1070
- let mi = y(() => ({
1071
- head: qr.value.map((e) => ({
1067
+ let si = _(() => ({
1068
+ head: Br.value.map((e) => ({
1072
1069
  name: e.name,
1073
1070
  color: e.color
1074
1071
  })),
1075
- body: qr.value.map((e) => e.value)
1072
+ body: Br.value.map((e) => e.value)
1076
1073
  }));
1077
- function hi(e = null) {
1078
- Be(() => {
1079
- let t = mi.value.head.map((e, t) => [
1074
+ function ci(e = null) {
1075
+ He(() => {
1076
+ let t = si.value.head.map((e, t) => [
1080
1077
  [e.name],
1081
- [mi.value.body[t]],
1082
- [isNaN(mi.value.body[t] / Z.value) ? "-" : mi.value.body[t] / Z.value * 100]
1083
- ]), n = de([
1078
+ [si.value.body[t]],
1079
+ [isNaN(si.value.body[t] / Z.value) ? "-" : si.value.body[t] / Z.value * 100]
1080
+ ]), n = ee([
1084
1081
  [L.value.style.chart.title.text],
1085
1082
  [L.value.style.chart.title.subtitle.text],
1086
1083
  [
@@ -1089,29 +1086,29 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1089
1086
  ["%"]
1090
1087
  ]
1091
1088
  ].concat(t));
1092
- e ? e(n) : te({
1089
+ e ? e(n) : d({
1093
1090
  csvContent: n,
1094
1091
  title: L.value.style.chart.title.text || "vue-ui-donut"
1095
1092
  });
1096
1093
  });
1097
1094
  }
1098
- let gi = y(() => {
1095
+ let li = _(() => {
1099
1096
  let e = [
1100
1097
  " <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
- g({
1098
+ a({
1102
1099
  p: L.value.style.chart.layout.labels.dataLabels.prefix,
1103
1100
  v: Z.value,
1104
1101
  s: L.value.style.chart.layout.labels.dataLabels.suffix,
1105
1102
  r: L.value.table.td.roundingValue
1106
1103
  }),
1107
1104
  "100%"
1108
- ], t = mi.value.head.map((e, t) => [
1105
+ ], t = si.value.head.map((e, t) => [
1109
1106
  {
1110
1107
  color: e.color,
1111
1108
  name: e.name || "-"
1112
1109
  },
1113
- mi.value.body[t],
1114
- isNaN(mi.value.body[t] / Z.value) ? "-" : (mi.value.body[t] / Z.value * 100).toFixed(L.value.table.td.roundingPercentage) + "%"
1110
+ si.value.body[t],
1111
+ isNaN(si.value.body[t] / Z.value) ? "-" : (si.value.body[t] / Z.value * 100).toFixed(L.value.table.td.roundingPercentage) + "%"
1115
1112
  ]), n = t.map((e) => e.map((e, t) => t === 0 ? e.name : e)), r = {
1116
1113
  th: {
1117
1114
  backgroundColor: L.value.table.th.backgroundColor,
@@ -1136,19 +1133,19 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1136
1133
  a11yBody: n,
1137
1134
  config: r
1138
1135
  };
1139
- }), _i = D(!1);
1140
- function vi(e) {
1141
- _i.value = e, ur.value += 1;
1136
+ }), ui = E(!1);
1137
+ function di(e) {
1138
+ ui.value = e, rr.value += 1;
1142
1139
  }
1143
- let yi = y(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent));
1144
- function bi(e) {
1145
- return ke({
1140
+ let fi = _(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent));
1141
+ function pi(e) {
1142
+ return Me({
1146
1143
  num: e,
1147
1144
  rounding: L.value.style.chart.legend.roundingPercentage
1148
1145
  });
1149
1146
  }
1150
- function xi({ val: e, percentage: t, showVal: n, showPercentage: r, config: i }) {
1151
- return Ae({
1147
+ function mi({ val: e, percentage: t, showVal: n, showPercentage: r, config: i }) {
1148
+ return Ne({
1152
1149
  config: i,
1153
1150
  val: e,
1154
1151
  percentage: t,
@@ -1156,15 +1153,15 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1156
1153
  showPercentage: r
1157
1154
  });
1158
1155
  }
1159
- function Si(e) {
1160
- return xi({
1161
- val: p(L.value.style.chart.layout.labels.value.formatter, e.value, g({
1156
+ function hi(e) {
1157
+ return mi({
1158
+ val: m(L.value.style.chart.layout.labels.value.formatter, e.value, a({
1162
1159
  p: L.value.style.chart.layout.labels.dataLabels.prefix,
1163
1160
  v: e.value,
1164
1161
  s: L.value.style.chart.layout.labels.dataLabels.suffix,
1165
1162
  r: L.value.style.chart.layout.labels.value.rounding
1166
1163
  }), { datapoint: e }),
1167
- percentage: ti(e, q.value),
1164
+ percentage: Jr(e, q.value),
1168
1165
  showVal: L.value.style.chart.layout.labels.value.show,
1169
1166
  showPercentage: L.value.style.chart.layout.labels.percentage.show,
1170
1167
  config: L.value.style.chart.layout.labels.dataLabels
@@ -1174,27 +1171,27 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1174
1171
  L.value.events.datapointClick && L.value.events.datapointClick({
1175
1172
  datapoint: e,
1176
1173
  seriesIndex: e.seriesIndex
1177
- }), Fr("selectDatapoint", {
1174
+ }), Or("selectDatapoint", {
1178
1175
  datapoint: e,
1179
1176
  index: t
1180
1177
  });
1181
1178
  }
1182
- function Ci() {
1179
+ function gi() {
1183
1180
  B.value.showTable = !B.value.showTable;
1184
1181
  }
1185
- function wi() {
1182
+ function _i() {
1186
1183
  B.value.dataLabels.show = !B.value.dataLabels.show;
1187
1184
  }
1188
- function Ti() {
1185
+ function vi() {
1189
1186
  B.value.showTooltip = !B.value.showTooltip;
1190
1187
  }
1191
- let Ei = D(!1);
1192
- function Di() {
1193
- Ei.value = !Ei.value;
1188
+ let yi = E(!1);
1189
+ function bi() {
1190
+ yi.value = !yi.value;
1194
1191
  }
1195
- async function Oi({ scale: e = 2 } = {}) {
1192
+ async function xi({ scale: e = 2 } = {}) {
1196
1193
  if (!N.value) return;
1197
- let { width: t, height: n } = N.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await ye({
1194
+ let { width: t, height: n } = N.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await xe({
1198
1195
  domElement: N.value,
1199
1196
  base64: !0,
1200
1197
  img: !0,
@@ -1209,25 +1206,25 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1209
1206
  aspectRatio: r
1210
1207
  };
1211
1208
  }
1212
- function ki() {
1213
- if (!Pn.value) return;
1214
- let { x: e, y: t, width: n, height: r } = Pn.value.getBBox();
1209
+ function Si() {
1210
+ if (!Dn.value) return;
1211
+ let { x: e, y: t, width: n, height: r } = Dn.value.getBBox();
1215
1212
  z.value && z.value.setAttribute("viewBox", `${e} ${t} ${n + Math.min(0, e)} ${r + Math.min(0, t)}`);
1216
1213
  }
1217
- let Ai = y(() => {
1214
+ let Ci = _(() => {
1218
1215
  let e = L.value.table.useDialog && !L.value.table.show, t = B.value.showTable;
1219
1216
  return {
1220
- component: e ? On : Cn,
1217
+ component: e ? xn : gn,
1221
1218
  title: `${L.value.style.chart.title.text}${L.value.style.chart.title.subtitle.text ? `: ${L.value.style.chart.title.subtitle.text}` : ""}`,
1222
1219
  props: e ? {
1223
1220
  backgroundColor: L.value.table.th.backgroundColor,
1224
1221
  color: L.value.table.th.color,
1225
1222
  headerColor: L.value.table.th.color,
1226
1223
  headerBg: L.value.table.th.backgroundColor,
1227
- isFullscreen: _i.value,
1224
+ isFullscreen: ui.value,
1228
1225
  fullscreenParent: N.value,
1229
1226
  forcedWidth: Math.min(500, window.innerWidth * .8),
1230
- isCursorPointer: fr.value
1227
+ isCursorPointer: ar.value
1231
1228
  } : {
1232
1229
  hideDetails: !0,
1233
1230
  config: {
@@ -1245,51 +1242,51 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1245
1242
  }
1246
1243
  };
1247
1244
  });
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());
1245
+ Ze(() => B.value.showTable, (e) => {
1246
+ L.value.table.show || (e && L.value.table.useDialog && Bn.value ? Bn.value.open() : "close" in Bn.value && Bn.value.close());
1250
1247
  });
1251
- function ji() {
1252
- B.value.showTable = !1, Jn.value && Jn.value.setTableIconState(!1);
1248
+ function wi() {
1249
+ B.value.showTable = !1, Vn.value && Vn.value.setTableIconState(!1);
1253
1250
  }
1254
- let Mi = y(() => Jr.value.map((e) => ({
1251
+ let Ti = _(() => Vr.value.map((e) => ({
1255
1252
  ...e,
1256
1253
  name: e.display
1257
- }))), Ni = y(() => L.value.style.chart.backgroundColor), Pi = y(() => L.value.style.chart.legend), { exportSvg: Fi, getSvg: Ii } = ge({
1254
+ }))), Ei = _(() => L.value.style.chart.backgroundColor), Di = _(() => L.value.style.chart.legend), { exportSvg: Oi, getSvg: ki } = ve({
1258
1255
  svg: z,
1259
- title: y(() => L.value.style.chart.title),
1260
- legend: Pi,
1261
- legendItems: Mi,
1262
- backgroundColor: Ni
1256
+ title: _(() => L.value.style.chart.title),
1257
+ legend: Di,
1258
+ legendItems: Ti,
1259
+ backgroundColor: Ei
1263
1260
  });
1264
- async function Li({ isCb: e }) {
1265
- Xn.value = !0, await Be();
1261
+ async function Ai({ isCb: e }) {
1262
+ Un.value = !0, await He();
1266
1263
  try {
1267
1264
  if (e) {
1268
- let { blob: e, url: t, text: n, dataUrl: r } = await Ii();
1265
+ let { blob: e, url: t, text: n, dataUrl: r } = await ki();
1269
1266
  await Promise.resolve(L.value.userOptions.callbacks.svg({
1270
1267
  blob: e,
1271
1268
  url: t,
1272
1269
  text: n,
1273
1270
  dataUrl: r
1274
1271
  }));
1275
- } else await Promise.resolve(Fi());
1272
+ } else await Promise.resolve(Oi());
1276
1273
  } finally {
1277
- Xn.value = !1;
1274
+ Un.value = !1;
1278
1275
  }
1279
1276
  }
1280
- function Ri(e) {
1277
+ function ji(e) {
1281
1278
  if (e?.stage === "start") {
1282
- Yn.value = !0;
1279
+ Hn.value = !0;
1283
1280
  return;
1284
1281
  }
1285
1282
  if (e?.stage === "end") {
1286
- Yn.value = !1;
1283
+ Hn.value = !1;
1287
1284
  return;
1288
1285
  }
1289
- jr();
1286
+ wr();
1290
1287
  }
1291
- async function zi() {
1292
- if (Fr("copyAlt", {
1288
+ async function Mi() {
1289
+ if (Or("copyAlt", {
1293
1290
  config: L.value,
1294
1291
  dataset: U.value
1295
1292
  }), !L.value.userOptions.callbacks.altCopy) {
@@ -1301,31 +1298,31 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1301
1298
  dataset: U.value
1302
1299
  }));
1303
1300
  }
1304
- function Bi() {
1305
- Zn.value = null, er.value = !0;
1301
+ function Ni() {
1302
+ Wn.value = null, qn.value = !0;
1306
1303
  }
1307
- function Vi() {
1308
- Zn.value = null, $n.value = "pointer", cr.value = !1, I.value = null, er.value = !1;
1304
+ function Pi() {
1305
+ Wn.value = null, Kn.value = "pointer", tr.value = !1, I.value = null, qn.value = !1;
1309
1306
  }
1310
- function Hi(e) {
1311
- if (!z.value || Ei.value || document.activeElement !== z.value || !q.value.length) return;
1307
+ function Fi(e) {
1308
+ if (!z.value || yi.value || document.activeElement !== z.value || !q.value.length) return;
1312
1309
  let t = ["ArrowLeft", "ArrowUp"].includes(e.key), n = ["ArrowRight", "ArrowDown"].includes(e.key), r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
1313
1310
  if (!t && !n && !r && !i) return;
1314
1311
  if (e.preventDefault(), e.stopPropagation(), i) {
1315
- Zn.value = null, $n.value = "pointer", cr.value = !1, I.value = null;
1312
+ Wn.value = null, Kn.value = "pointer", tr.value = !1, I.value = null;
1316
1313
  return;
1317
1314
  }
1318
1315
  if (r) {
1319
- if (Zn.value === null) return;
1320
- let e = q.value[Zn.value];
1316
+ if (Wn.value === null) return;
1317
+ let e = q.value[Wn.value];
1321
1318
  if (!e) return;
1322
- $(e, Zn.value);
1319
+ $(e, Wn.value);
1323
1320
  return;
1324
1321
  }
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;
1322
+ let a = Wn.value, o = I.value, s = a !== null && a >= 0 && a < q.value.length, c = o !== null && o >= 0 && o < q.value.length;
1326
1323
  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
1324
  let l = q.value[a];
1328
- l && (Zn.value = a, Ui(a), Q({
1325
+ l && (Wn.value = a, Ii(a), Q({
1329
1326
  datapoint: l,
1330
1327
  relativeIndex: a,
1331
1328
  seriesIndex: l.seriesIndex,
@@ -1333,13 +1330,13 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1333
1330
  triggerMode: "keyboard"
1334
1331
  }));
1335
1332
  }
1336
- function Ui(e) {
1333
+ function Ii(e) {
1337
1334
  if (!Number.isFinite(e) || !z.value) return;
1338
1335
  let t = V.value.width / 2, n = V.value.height / 2;
1339
1336
  if (L.value.type === "classic") {
1340
1337
  let r = q.value[e];
1341
1338
  if (!r?.arcSlice) return;
1342
- let i = re(r.arcSlice);
1339
+ let i = le(r.arcSlice);
1343
1340
  if (!i) return;
1344
1341
  t = i.x, n = i.y;
1345
1342
  } else {
@@ -1348,49 +1345,49 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1348
1345
  t = r.x, n = r.y;
1349
1346
  }
1350
1347
  let r = z.value.getBoundingClientRect();
1351
- Qn.value = {
1348
+ Gn.value = {
1352
1349
  x: r.left + t / V.value.width * r.width,
1353
1350
  y: r.top + n / V.value.height * r.height
1354
1351
  };
1355
1352
  }
1356
- let Wi = y(() => ({
1357
- headers: gi.value?.colNames ?? [],
1358
- rows: gi.value?.a11yBody ?? []
1353
+ let Li = _(() => ({
1354
+ headers: li.value?.colNames ?? [],
1355
+ rows: li.value?.a11yBody ?? []
1359
1356
  }));
1360
- return Se({
1361
- autoSize: ki,
1362
- getData: Ir,
1363
- getImage: Oi,
1364
- generatePdf: Ar,
1365
- generateCsv: hi,
1366
- generateImage: jr,
1367
- generateSvg: Li,
1368
- hideSeries: Gr,
1369
- showSeries: Wr,
1370
- toggleTable: Ci,
1371
- toggleLabels: wi,
1372
- toggleTooltip: Ti,
1373
- toggleAnnotator: Di,
1374
- toggleFullscreen: vi,
1375
- copyAlt: zi
1376
- }), (t, n) => (E(), x("div", {
1357
+ return we({
1358
+ autoSize: Si,
1359
+ getData: kr,
1360
+ getImage: xi,
1361
+ generatePdf: Cr,
1362
+ generateCsv: ci,
1363
+ generateImage: wr,
1364
+ generateSvg: Ai,
1365
+ hideSeries: Rr,
1366
+ showSeries: Lr,
1367
+ toggleTable: gi,
1368
+ toggleLabels: _i,
1369
+ toggleTooltip: vi,
1370
+ toggleAnnotator: bi,
1371
+ toggleFullscreen: di,
1372
+ copyAlt: Mi
1373
+ }), (t, r) => (T(), b("div", {
1377
1374
  ref_key: "donutChart",
1378
1375
  ref: N,
1379
- class: Ve(`vue-data-ui-component vue-ui-donut ${_i.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${L.value.useCssAnimation ? "" : "vue-ui-dna"}`),
1380
- style: T(`font-family:${L.value.style.fontFamily};width:100%; ${L.value.responsive ? "height:100%;" : ""} text-align:center;background:${L.value.style.chart.backgroundColor}`),
1376
+ class: Ue(`vue-data-ui-component vue-ui-donut ${ui.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${L.value.useCssAnimation ? "" : "vue-ui-dna"}`),
1377
+ 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
1378
  id: `donut__${F.value}`,
1382
- onMouseenter: Tr,
1383
- onMouseleave: Er
1379
+ onMouseenter: vr,
1380
+ onMouseleave: yr
1384
1381
  }, [
1385
- S("div", {
1382
+ x("div", {
1386
1383
  id: `chart-instructions-${F.value}`,
1387
1384
  class: "sr-only"
1388
- }, [S("p", null, Ke(L.value.a11y.translations.keyboardNavigation), 1)], 8, tt),
1389
- Wi.value?.rows?.length ? (E(), Pe(Ee, {
1385
+ }, [x("p", null, k(L.value.a11y.translations.keyboardNavigation), 1)], 8, nt),
1386
+ Li.value?.rows?.length ? (T(), v(ke, {
1390
1387
  key: 0,
1391
1388
  uid: F.value,
1392
- head: Wi.value.headers,
1393
- body: Wi.value.rows,
1389
+ head: Li.value.headers,
1390
+ body: Li.value.rows,
1394
1391
  notice: L.value.a11y.translations.tableAvailable,
1395
1392
  caption: L.value.a11y.translations.tableCaption
1396
1393
  }, null, 8, [
@@ -1399,22 +1396,22 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1399
1396
  "body",
1400
1397
  "notice",
1401
1398
  "caption"
1402
- ])) : b("", !0),
1403
- L.value.userOptions.buttons.annotator && A(z) ? (E(), Pe(A(Tn), {
1399
+ ])) : y("", !0),
1400
+ L.value.userOptions.buttons.annotator && A(z) ? (T(), v(A(vn), {
1404
1401
  key: 1,
1405
1402
  color: L.value.style.chart.color,
1406
1403
  backgroundColor: L.value.style.chart.backgroundColor,
1407
- active: Ei.value,
1404
+ active: yi.value,
1408
1405
  svgRef: A(z),
1409
- isCursorPointer: fr.value,
1410
- onClose: Di
1406
+ isCursorPointer: ar.value,
1407
+ onClose: bi
1411
1408
  }, {
1412
- "annotator-action-close": j(() => [k(t.$slots, "annotator-action-close", {}, void 0, !0)]),
1413
- "annotator-action-color": j(({ color: e }) => [k(t.$slots, "annotator-action-color", w(C({ color: e })), void 0, !0)]),
1414
- "annotator-action-draw": j(({ mode: e }) => [k(t.$slots, "annotator-action-draw", w(C({ mode: e })), void 0, !0)]),
1415
- "annotator-action-undo": j(({ disabled: e }) => [k(t.$slots, "annotator-action-undo", w(C({ disabled: e })), void 0, !0)]),
1416
- "annotator-action-redo": j(({ disabled: e }) => [k(t.$slots, "annotator-action-redo", w(C({ disabled: e })), void 0, !0)]),
1417
- "annotator-action-delete": j(({ disabled: e }) => [k(t.$slots, "annotator-action-delete", w(C({ disabled: e })), void 0, !0)]),
1409
+ "annotator-action-close": j(() => [O(t.$slots, "annotator-action-close", {}, void 0, !0)]),
1410
+ "annotator-action-color": j(({ color: e }) => [O(t.$slots, "annotator-action-color", C(S({ color: e })), void 0, !0)]),
1411
+ "annotator-action-draw": j(({ mode: e }) => [O(t.$slots, "annotator-action-draw", C(S({ mode: e })), void 0, !0)]),
1412
+ "annotator-action-undo": j(({ disabled: e }) => [O(t.$slots, "annotator-action-undo", C(S({ disabled: e })), void 0, !0)]),
1413
+ "annotator-action-redo": j(({ disabled: e }) => [O(t.$slots, "annotator-action-redo", C(S({ disabled: e })), void 0, !0)]),
1414
+ "annotator-action-delete": j(({ disabled: e }) => [O(t.$slots, "annotator-action-delete", C(S({ disabled: e })), void 0, !0)]),
1418
1415
  _: 3
1419
1416
  }, 8, [
1420
1417
  "color",
@@ -1422,22 +1419,22 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1422
1419
  "active",
1423
1420
  "svgRef",
1424
1421
  "isCursorPointer"
1425
- ])) : b("", !0),
1426
- k(t.$slots, "userConfig", {}, void 0, !0),
1427
- Mr.value ? (E(), x("div", {
1422
+ ])) : y("", !0),
1423
+ O(t.$slots, "userConfig", {}, void 0, !0),
1424
+ Tr.value ? (T(), b("div", {
1428
1425
  key: 2,
1429
1426
  ref_key: "noTitle",
1430
- ref: Hn,
1427
+ ref: Fn,
1431
1428
  class: "vue-data-ui-no-title-space",
1432
1429
  style: "height:36px; width: 100%;background:transparent"
1433
- }, null, 512)) : b("", !0),
1434
- L.value.style.chart.title.text ? (E(), x("div", {
1430
+ }, null, 512)) : y("", !0),
1431
+ L.value.style.chart.title.text ? (T(), b("div", {
1435
1432
  key: 3,
1436
1433
  ref_key: "chartTitle",
1437
- ref: Ln,
1434
+ ref: An,
1438
1435
  style: "width:100%;background:transparent;padding-bottom:24px"
1439
- }, [(E(), Pe(be, {
1440
- key: `title_${Un.value}`,
1436
+ }, [(T(), v(Se, {
1437
+ key: `title_${In.value}`,
1441
1438
  config: {
1442
1439
  title: {
1443
1440
  cy: "donut-div-title",
@@ -1448,16 +1445,16 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1448
1445
  ...L.value.style.chart.title.subtitle
1449
1446
  }
1450
1447
  }
1451
- }, null, 8, ["config"]))], 512)) : b("", !0),
1452
- S("div", { id: `legend-top-${F.value}` }, null, 8, nt),
1453
- L.value.userOptions.show && Nn.value && (A(wr) || A(Sr)) ? (E(), Pe(A(En), {
1448
+ }, null, 8, ["config"]))], 512)) : y("", !0),
1449
+ x("div", { id: `legend-top-${F.value}` }, null, 8, rt),
1450
+ L.value.userOptions.show && En.value && (A(_r) || A(hr)) ? (T(), v(A(yn), {
1454
1451
  ref_key: "userOptionsRef",
1455
- ref: Jn,
1456
- key: `user_option_${ur.value}`,
1452
+ ref: Vn,
1453
+ key: `user_option_${rr.value}`,
1457
1454
  backgroundColor: L.value.style.chart.backgroundColor,
1458
1455
  color: L.value.style.chart.color,
1459
- isPrinting: A(Or),
1460
- isImaging: A(kr),
1456
+ isPrinting: A(xr),
1457
+ isImaging: A(Sr),
1461
1458
  uid: F.value,
1462
1459
  hasTooltip: L.value.style.chart.tooltip.show && L.value.userOptions.buttons.tooltip,
1463
1460
  hasPdf: L.value.userOptions.buttons.pdf,
@@ -1468,32 +1465,32 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1468
1465
  hasLabel: L.value.userOptions.buttons.labels,
1469
1466
  hasFullscreen: L.value.userOptions.buttons.fullscreen,
1470
1467
  hasAltCopy: L.value.userOptions.buttons.altCopy,
1471
- isFullscreen: _i.value,
1468
+ isFullscreen: ui.value,
1472
1469
  chartElement: N.value,
1473
1470
  position: L.value.userOptions.position,
1474
1471
  callbacks: L.value.userOptions.callbacks,
1475
1472
  isTooltip: B.value.showTooltip,
1476
1473
  titles: { ...L.value.userOptions.buttonTitles },
1477
1474
  hasAnnotator: L.value.userOptions.buttons.annotator,
1478
- isAnnotation: Ei.value,
1475
+ isAnnotation: yi.value,
1479
1476
  printScale: L.value.userOptions.print.scale,
1480
1477
  tableDialog: L.value.table.useDialog,
1481
- isCursorPointer: fr.value,
1482
- onToggleFullscreen: vi,
1483
- onGeneratePdf: A(Ar),
1484
- onGenerateCsv: hi,
1485
- onGenerateImage: Ri,
1486
- onGenerateSvg: Li,
1487
- onToggleTable: Ci,
1488
- onToggleLabels: wi,
1489
- onToggleTooltip: Ti,
1490
- onToggleAnnotator: Di,
1491
- onCopyAlt: zi,
1492
- style: T({ visibility: A(wr) ? A(Sr) ? "visible" : "hidden" : "visible" })
1493
- }, Fe({ _: 2 }, [
1478
+ isCursorPointer: ar.value,
1479
+ onToggleFullscreen: di,
1480
+ onGeneratePdf: A(Cr),
1481
+ onGenerateCsv: ci,
1482
+ onGenerateImage: ji,
1483
+ onGenerateSvg: Ai,
1484
+ onToggleTable: gi,
1485
+ onToggleLabels: _i,
1486
+ onToggleTooltip: vi,
1487
+ onToggleAnnotator: bi,
1488
+ onCopyAlt: Mi,
1489
+ style: w({ visibility: A(_r) ? A(hr) ? "visible" : "hidden" : "visible" })
1490
+ }, Le({ _: 2 }, [
1494
1491
  t.$slots.menuIcon ? {
1495
1492
  name: "menuIcon",
1496
- fn: j(({ isOpen: e, color: n }) => [k(t.$slots, "menuIcon", w(C({
1493
+ fn: j(({ isOpen: e, color: n }) => [O(t.$slots, "menuIcon", C(S({
1497
1494
  isOpen: e,
1498
1495
  color: n
1499
1496
  })), void 0, !0)]),
@@ -1501,42 +1498,42 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1501
1498
  } : void 0,
1502
1499
  t.$slots.optionTooltip ? {
1503
1500
  name: "optionTooltip",
1504
- fn: j(() => [k(t.$slots, "optionTooltip", {}, void 0, !0)]),
1501
+ fn: j(() => [O(t.$slots, "optionTooltip", {}, void 0, !0)]),
1505
1502
  key: "1"
1506
1503
  } : void 0,
1507
1504
  t.$slots.optionPdf ? {
1508
1505
  name: "optionPdf",
1509
- fn: j(() => [k(t.$slots, "optionPdf", {}, void 0, !0)]),
1506
+ fn: j(() => [O(t.$slots, "optionPdf", {}, void 0, !0)]),
1510
1507
  key: "2"
1511
1508
  } : void 0,
1512
1509
  t.$slots.optionCsv ? {
1513
1510
  name: "optionCsv",
1514
- fn: j(() => [k(t.$slots, "optionCsv", {}, void 0, !0)]),
1511
+ fn: j(() => [O(t.$slots, "optionCsv", {}, void 0, !0)]),
1515
1512
  key: "3"
1516
1513
  } : void 0,
1517
1514
  t.$slots.optionImg ? {
1518
1515
  name: "optionImg",
1519
- fn: j(() => [k(t.$slots, "optionImg", {}, void 0, !0)]),
1516
+ fn: j(() => [O(t.$slots, "optionImg", {}, void 0, !0)]),
1520
1517
  key: "4"
1521
1518
  } : void 0,
1522
1519
  t.$slots.optionSvg ? {
1523
1520
  name: "optionSvg",
1524
- fn: j(() => [k(t.$slots, "optionSvg", {}, void 0, !0)]),
1521
+ fn: j(() => [O(t.$slots, "optionSvg", {}, void 0, !0)]),
1525
1522
  key: "5"
1526
1523
  } : void 0,
1527
1524
  t.$slots.optionTable ? {
1528
1525
  name: "optionTable",
1529
- fn: j(() => [k(t.$slots, "optionTable", {}, void 0, !0)]),
1526
+ fn: j(() => [O(t.$slots, "optionTable", {}, void 0, !0)]),
1530
1527
  key: "6"
1531
1528
  } : void 0,
1532
1529
  t.$slots.optionLabels ? {
1533
1530
  name: "optionLabels",
1534
- fn: j(() => [k(t.$slots, "optionLabels", {}, void 0, !0)]),
1531
+ fn: j(() => [O(t.$slots, "optionLabels", {}, void 0, !0)]),
1535
1532
  key: "7"
1536
1533
  } : void 0,
1537
1534
  t.$slots.optionFullscreen ? {
1538
1535
  name: "optionFullscreen",
1539
- fn: j(({ toggleFullscreen: e, isFullscreen: n }) => [k(t.$slots, "optionFullscreen", w(C({
1536
+ fn: j(({ toggleFullscreen: e, isFullscreen: n }) => [O(t.$slots, "optionFullscreen", C(S({
1540
1537
  toggleFullscreen: e,
1541
1538
  isFullscreen: n
1542
1539
  })), void 0, !0)]),
@@ -1544,7 +1541,7 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1544
1541
  } : void 0,
1545
1542
  t.$slots.optionAnnotator ? {
1546
1543
  name: "optionAnnotator",
1547
- fn: j(({ toggleAnnotator: e, isAnnotator: n }) => [k(t.$slots, "optionAnnotator", w(C({
1544
+ fn: j(({ toggleAnnotator: e, isAnnotator: n }) => [O(t.$slots, "optionAnnotator", C(S({
1548
1545
  toggleAnnotator: e,
1549
1546
  isAnnotator: n
1550
1547
  })), void 0, !0)]),
@@ -1552,149 +1549,161 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1552
1549
  } : void 0,
1553
1550
  t.$slots.optionAltCopy ? {
1554
1551
  name: "optionAltCopy",
1555
- fn: j(({ altCopy: e }) => [k(t.$slots, "optionAltCopy", w(C({ altCopy: e })), void 0, !0)]),
1552
+ fn: j(({ altCopy: e }) => [O(t.$slots, "optionAltCopy", C(S({ altCopy: e })), void 0, !0)]),
1556
1553
  key: "10"
1557
1554
  } : void 0,
1558
1555
  t.$slots["custom-menu-before"] ? {
1559
1556
  name: "custom-menu-before",
1560
- fn: j(() => [k(t.$slots, "custom-menu-before", {}, void 0, !0)]),
1557
+ fn: j(() => [O(t.$slots, "custom-menu-before", {}, void 0, !0)]),
1561
1558
  key: "11"
1562
1559
  } : void 0,
1563
1560
  t.$slots["custom-menu-after"] ? {
1564
1561
  name: "custom-menu-after",
1565
- fn: j(() => [k(t.$slots, "custom-menu-after", {}, void 0, !0)]),
1562
+ fn: j(() => [O(t.$slots, "custom-menu-after", {}, void 0, !0)]),
1566
1563
  key: "12"
1567
1564
  } : void 0
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("."))) : b("", !0),
1569
- S("div", rt, [(E(), x("svg", {
1565
+ ]), 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),
1566
+ x("div", it, [(T(), b("svg", {
1570
1567
  ref_key: "svgRef",
1571
1568
  ref: z,
1572
- xmlns: A(se),
1569
+ xmlns: A(ue),
1573
1570
  "aria-describedby": `chart-instructions-${F.value}`,
1574
- class: Ve({
1575
- "vue-data-ui-fullscreen--on": _i.value,
1576
- "vue-data-ui-fulscreen--off": !_i.value,
1571
+ class: Ue({
1572
+ "vue-data-ui-fullscreen--on": ui.value,
1573
+ "vue-data-ui-fulscreen--off": !ui.value,
1577
1574
  "vue-data-ui-svg": !0
1578
1575
  }),
1579
1576
  viewBox: `0 0 ${V.value.width <= 0 ? 10 : V.value.width} ${V.value.height <= 0 ? 10 : V.value.height}`,
1580
- style: T(`max-width:100%; overflow: visible; background:transparent;color:${L.value.style.chart.color};${Dr.value.css}`),
1577
+ style: w(`max-width:100%; overflow: visible; background:transparent;color:${L.value.style.chart.color};${br.value.css}`),
1581
1578
  tabindex: "0",
1582
- onFocus: Bi,
1583
- onBlur: Vi,
1584
- onKeydown: Hi
1585
- }, [S("g", {
1579
+ onFocus: Ni,
1580
+ onBlur: Pi,
1581
+ onKeydown: Fi
1582
+ }, [x("g", {
1586
1583
  ref_key: "G",
1587
- ref: Pn,
1584
+ ref: Dn,
1588
1585
  class: "vue-data-ui-g"
1589
1586
  }, [
1590
- Le(A(Dn)),
1591
- t.$slots["chart-background"] ? (E(), x("foreignObject", {
1587
+ ze(A(bn)),
1588
+ t.$slots["chart-background"] ? (T(), b("foreignObject", {
1592
1589
  key: 0,
1593
1590
  x: 0,
1594
1591
  y: 0,
1595
1592
  width: V.value.width <= 0 ? 10 : V.value.width,
1596
1593
  height: V.value.height <= 0 ? 10 : V.value.height,
1597
1594
  style: { pointerEvents: "none" }
1598
- }, [k(t.$slots, "chart-background", {}, void 0, !0)], 8, at)) : b("", !0),
1599
- L.value.type === "classic" && !isNaN(Pr.value / G.value) ? (E(), x("defs", ot, [L.value.style.chart.useGradient ? (E(), x("radialGradient", {
1595
+ }, [O(t.$slots, "chart-background", {}, void 0, !0)], 8, ot)) : y("", !0),
1596
+ L.value.type === "classic" && !isNaN(Dr.value / G.value) ? (T(), b("defs", st, [L.value.style.chart.useGradient ? (T(), v(De, {
1600
1597
  key: 0,
1601
- id: `gradient_${F.value}`
1602
- }, [
1603
- S("stop", {
1604
- offset: "0%",
1605
- "stop-color": A(r)(L.value.style.chart.backgroundColor, 0),
1606
- "stop-opacity": "0"
1607
- }, null, 8, ct),
1608
- S("stop", {
1609
- offset: `${(1 - Pr.value / G.value) * 100}%`,
1610
- "stop-color": A(r)("#FFFFFF", 0),
1611
- "stop-opacity": "0"
1612
- }, null, 8, lt),
1613
- S("stop", {
1614
- offset: `${(1 - Pr.value / G.value / 2) * 100}%`,
1615
- "stop-color": A(r)("#FFFFFF", L.value.style.chart.gradientIntensity)
1616
- }, null, 8, ut),
1617
- S("stop", {
1618
- offset: "100%",
1619
- "stop-color": A(r)(L.value.style.chart.backgroundColor, 0),
1620
- "stop-opacity": "0"
1621
- }, null, 8, dt)
1622
- ], 8, st)) : b("", !0)])) : b("", !0),
1623
- L.value.type === "polar" ? (E(), x("defs", ft, [(E(!0), x(v, null, O(J.value, (e, t) => (E(), x("radialGradient", {
1598
+ t: "radial",
1599
+ id: `gradient_${F.value}`,
1600
+ stops: [
1601
+ [
1602
+ "0%",
1603
+ A(l)(L.value.style.chart.backgroundColor, 0),
1604
+ 0
1605
+ ],
1606
+ [
1607
+ `${(1 - Dr.value / G.value) * 100}%`,
1608
+ A(l)("#FFFFFF", 0),
1609
+ 0
1610
+ ],
1611
+ [
1612
+ `${(1 - Dr.value / G.value / 2) * 100}%`,
1613
+ A(l)("#FFFFFF", L.value.style.chart.gradientIntensity),
1614
+ 1
1615
+ ],
1616
+ [
1617
+ "100%",
1618
+ A(l)(L.value.style.chart.backgroundColor, 0),
1619
+ 0
1620
+ ]
1621
+ ]
1622
+ }, null, 8, ["id", "stops"])) : y("", !0)])) : y("", !0),
1623
+ L.value.type === "polar" ? (T(), b("defs", ct, [(T(!0), b(g, null, D(J.value, (e, t) => (T(), v(De, {
1624
+ t: "radial",
1624
1625
  id: `polar_gradient_${t}_${F.value}`,
1626
+ key: `pg_${t}_${F.value}`,
1625
1627
  cx: (isNaN(e.middlePoint.x / V.value.width * 100) ? 0 : e.middlePoint.x / V.value.width * 100) + "%",
1626
1628
  cy: (isNaN(e.middlePoint.y / V.value.height * 100) ? 0 : e.middlePoint.y / V.value.height * 100) + "%",
1627
- r: "62%"
1628
- }, [S("stop", {
1629
- offset: "0%",
1630
- "stop-color": A(s)(K.value[t].color, .05),
1631
- "stop-opacity": L.value.style.chart.gradientIntensity / 100
1632
- }, null, 8, mt), S("stop", {
1633
- offset: "100%",
1634
- "stop-color": K.value[t].color
1635
- }, null, 8, ht)], 8, pt))), 256))])) : b("", !0),
1636
- S("defs", null, [
1637
- S("filter", {
1629
+ r: "62%",
1630
+ stops: [[
1631
+ "0%",
1632
+ A(pe)(K.value[t].color, .05),
1633
+ L.value.style.chart.gradientIntensity / 100
1634
+ ], [
1635
+ "100%",
1636
+ K.value[t].color,
1637
+ 1
1638
+ ]]
1639
+ }, null, 8, [
1640
+ "id",
1641
+ "cx",
1642
+ "cy",
1643
+ "stops"
1644
+ ]))), 128))])) : y("", !0),
1645
+ x("defs", null, [
1646
+ x("filter", {
1638
1647
  id: `blur_${F.value}`,
1639
1648
  x: "-50%",
1640
1649
  y: "-50%",
1641
1650
  width: "200%",
1642
1651
  height: "200%"
1643
- }, [S("feGaussianBlur", {
1652
+ }, [x("feGaussianBlur", {
1644
1653
  in: "SourceGraphic",
1645
1654
  stdDeviation: 2,
1646
1655
  id: `blur_std_${F.value}`
1647
- }, null, 8, _t), n[5] ||= S("feColorMatrix", {
1656
+ }, null, 8, ut), r[5] ||= x("feColorMatrix", {
1648
1657
  type: "saturate",
1649
1658
  values: "0"
1650
- }, null, -1)], 8, gt),
1651
- S("filter", {
1659
+ }, null, -1)], 8, lt),
1660
+ x("filter", {
1652
1661
  id: `shadow_${F.value}`,
1653
1662
  "color-interpolation-filters": "sRGB"
1654
- }, [S("feDropShadow", {
1663
+ }, [x("feDropShadow", {
1655
1664
  dx: "0",
1656
1665
  dy: "0",
1657
1666
  stdDeviation: "10",
1658
1667
  "flood-opacity": "0.5",
1659
1668
  "flood-color": L.value.style.chart.layout.donut.shadowColor
1660
- }, null, 8, yt)], 8, vt),
1661
- S("filter", {
1669
+ }, null, 8, ft)], 8, dt),
1670
+ x("filter", {
1662
1671
  id: `drop_shadow_${F.value}`,
1663
1672
  "color-interpolation-filters": "sRGB",
1664
1673
  x: "-50%",
1665
1674
  y: "-50%",
1666
1675
  width: "200%",
1667
1676
  height: "200%"
1668
- }, [S("feDropShadow", {
1677
+ }, [x("feDropShadow", {
1669
1678
  dx: "0",
1670
1679
  dy: "0",
1671
1680
  stdDeviation: "3",
1672
1681
  "flood-opacity": "1",
1673
1682
  "flood-color": L.value.style.chart.layout.donut.shadowColor
1674
- }, null, 8, xt)], 8, bt)
1683
+ }, null, 8, mt)], 8, pt)
1675
1684
  ]),
1676
- L.value.type === "classic" ? (E(!0), x(v, { key: 3 }, O(K.value.filter((e) => !e.ghost), (e, t) => (E(), x("g", null, [Y(e) && B.value.dataLabels.show ? (E(), x("path", {
1685
+ L.value.type === "classic" ? (T(!0), b(g, { 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
1686
  key: 0,
1678
- d: A(X)[t]?.connectorPath || A(ae)(e, {
1687
+ d: A(X)[t]?.connectorPath || A(ce)(e, {
1679
1688
  x: V.value.width / 2,
1680
1689
  y: V.value.height / 2
1681
- }, 16, 16, !1, !1, Pr.value, 12, L.value.style.chart.layout.curvedMarkers),
1690
+ }, 16, 16, !1, !1, Dr.value, 12, L.value.style.chart.layout.curvedMarkers),
1682
1691
  stroke: e.color,
1683
1692
  "stroke-width": "1",
1684
1693
  "stroke-linecap": "round",
1685
1694
  "stroke-linejoin": "round",
1686
1695
  fill: "none",
1687
- filter: fi(t)
1688
- }, null, 8, St)) : b("", !0)]))), 256)) : b("", !0),
1689
- L.value.type === "polar" ? (E(!0), x(v, { key: 4 }, O(K.value.filter((e) => !e.ghost), (e, t) => (E(), x("g", null, [Y(e) && B.value.dataLabels.show ? (E(), x("path", {
1696
+ filter: ai(t)
1697
+ }, null, 8, ht)) : y("", !0)]))), 256)) : y("", !0),
1698
+ L.value.type === "polar" ? (T(!0), b(g, { 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
1699
  key: 0,
1691
- d: `M ${A(h)({
1700
+ d: `M ${A(n)({
1692
1701
  initX: J.value[t].middlePoint.x,
1693
1702
  initY: J.value[t].middlePoint.y,
1694
1703
  offset: 24,
1695
1704
  centerX: V.value.width / 2,
1696
1705
  centerY: V.value.height / 2
1697
- }).x},${A(h)({
1706
+ }).x},${A(n)({
1698
1707
  initX: J.value[t].middlePoint.x,
1699
1708
  initY: J.value[t].middlePoint.y,
1700
1709
  offset: 24,
@@ -1706,82 +1715,82 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1706
1715
  "stroke-linecap": "round",
1707
1716
  "stroke-linejoin": "round",
1708
1717
  fill: "none",
1709
- filter: fi(t),
1710
- style: T({ transition: R.value || !L.value.serieToggleAnimation.show ? "none" : `all ${L.value.serieToggleAnimation.durationMs}ms ease-in-out` })
1711
- }, null, 12, Ct)) : b("", !0)]))), 256)) : b("", !0),
1712
- L.value.type === "classic" && L.value.style.chart.layout.donut.useShadow ? (E(), x("circle", {
1718
+ filter: ai(t),
1719
+ style: w({ transition: R.value || !L.value.serieToggleAnimation.show ? "none" : `all ${L.value.serieToggleAnimation.durationMs}ms ease-in-out` })
1720
+ }, null, 12, gt)) : y("", !0)]))), 256)) : y("", !0),
1721
+ L.value.type === "classic" && L.value.style.chart.layout.donut.useShadow ? (T(), b("circle", {
1713
1722
  key: 5,
1714
1723
  cx: V.value.width / 2,
1715
1724
  cy: V.value.height / 2,
1716
1725
  r: G.value <= 0 ? 10 : G.value,
1717
1726
  fill: L.value.style.chart.backgroundColor,
1718
1727
  filter: `url(#shadow_${F.value})`
1719
- }, null, 8, wt)) : b("", !0),
1720
- t.$slots.pattern ? (E(), x("g", Tt, [(E(!0), x(v, null, O(e.dataset, (e, n) => (E(), x("defs", { key: `pattern-${e.patternIndex}` }, [k(t.$slots, "pattern", ze({ ref_for: !0 }, {
1728
+ }, null, 8, _t)) : y("", !0),
1729
+ t.$slots.pattern ? (T(), b("g", vt, [(T(!0), b(g, null, D(e.dataset, (e, n) => (T(), b("defs", { key: `pattern-${e.patternIndex}` }, [O(t.$slots, "pattern", Ve({ ref_for: !0 }, {
1721
1730
  seriesIndex: n,
1722
1731
  patternId: `pattern_${F.value}_${n}`
1723
- }), void 0, !0)]))), 128))])) : b("", !0),
1724
- Z.value && L.value.type === "classic" ? (E(), x(v, { key: 7 }, [
1725
- (E(!0), x(v, null, O(q.value, (e, t) => (E(), x("path", {
1732
+ }), void 0, !0)]))), 128))])) : y("", !0),
1733
+ Z.value && L.value.type === "classic" ? (T(), b(g, { key: 7 }, [
1734
+ (T(!0), b(g, null, D(q.value, (e, t) => (T(), b("path", {
1726
1735
  stroke: L.value.style.chart.backgroundColor,
1727
1736
  d: e.arcSlice,
1728
1737
  fill: "#FFFFFF"
1729
- }, null, 8, Et))), 256)),
1730
- (E(!0), x(v, null, O(q.value, (e, t) => (E(), x("path", {
1738
+ }, null, 8, yt))), 256)),
1739
+ (T(!0), b(g, null, D(q.value, (e, t) => (T(), b("path", {
1731
1740
  class: "vue-ui-donut-arc-path",
1732
1741
  d: e.arcSlice,
1733
1742
  fill: e.color,
1734
1743
  stroke: L.value.style.chart.layout.donut.borderColorAuto ? L.value.style.chart.backgroundColor : L.value.style.chart.layout.donut.borderColor,
1735
1744
  "stroke-width": L.value.style.chart.layout.donut.borderWidth,
1736
- filter: fi(t)
1737
- }, null, 8, Dt))), 256)),
1738
- t.$slots.pattern ? (E(), x("g", Ot, [(E(!0), x(v, null, O(q.value, (e, t) => (E(), x("path", {
1745
+ filter: ai(t)
1746
+ }, null, 8, bt))), 256)),
1747
+ t.$slots.pattern ? (T(), b("g", xt, [(T(!0), b(g, null, D(q.value, (e, t) => (T(), b("path", {
1739
1748
  class: "vue-ui-donut-arc-path",
1740
1749
  d: e.arcSlice,
1741
1750
  fill: `url(#${e.pattern})`,
1742
1751
  stroke: L.value.style.chart.layout.donut.borderColorAuto ? L.value.style.chart.backgroundColor : L.value.style.chart.layout.donut.borderColor,
1743
1752
  "stroke-width": L.value.style.chart.layout.donut.borderWidth,
1744
- filter: fi(t)
1745
- }, null, 8, kt))), 256))])) : b("", !0)
1746
- ], 64)) : b("", !0),
1747
- Z.value && L.value.type === "polar" ? (E(), x(v, { key: 8 }, [K.value.length > 1 ? (E(), x("g", At, [
1748
- (E(!0), x(v, null, O(q.value, (e, t) => (E(), x("path", {
1753
+ filter: ai(t)
1754
+ }, null, 8, St))), 256))])) : y("", !0)
1755
+ ], 64)) : y("", !0),
1756
+ Z.value && L.value.type === "polar" ? (T(), b(g, { key: 8 }, [K.value.length > 1 ? (T(), b("g", Ct, [
1757
+ (T(!0), b(g, null, D(q.value, (e, t) => (T(), b("path", {
1749
1758
  stroke: L.value.style.chart.layout.donut.borderColorAuto ? L.value.style.chart.backgroundColor : L.value.style.chart.layout.donut.borderColor,
1750
1759
  d: J.value[t].path,
1751
1760
  fill: "#FFFFFF",
1752
- style: T({ 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 ? (E(), x("g", Mt, [(E(!0), x(v, null, O(q.value, (e, t) => (E(), x("path", {
1761
+ style: w({ transition: R.value || !L.value.serieToggleAnimation.show ? "none" : `all ${L.value.serieToggleAnimation.durationMs}ms ease-in-out` })
1762
+ }, null, 12, wt))), 256)),
1763
+ L.value.style.chart.layout.donut.useShadow ? (T(), b("g", Tt, [(T(!0), b(g, null, D(q.value, (e, t) => (T(), b("path", {
1755
1764
  class: "vue-ui-donut-arc-path",
1756
1765
  d: J.value[t].path,
1757
1766
  fill: "transparent",
1758
1767
  stroke: L.value.style.chart.layout.donut.borderColorAuto ? L.value.style.chart.backgroundColor : L.value.style.chart.layout.donut.borderColor,
1759
1768
  "stroke-width": L.value.style.chart.layout.donut.borderWidth,
1760
1769
  filter: `url(#drop_shadow_${F.value})`,
1761
- style: T({ transition: R.value || !L.value.serieToggleAnimation.show ? "none" : `all ${L.value.serieToggleAnimation.durationMs}ms ease-in-out` })
1762
- }, null, 12, Nt))), 256))])) : b("", !0),
1763
- t.$slots.pattern ? (E(), x("g", Pt, [(E(!0), x(v, null, O(q.value, (e, t) => (E(), x("path", {
1770
+ style: w({ transition: R.value || !L.value.serieToggleAnimation.show ? "none" : `all ${L.value.serieToggleAnimation.durationMs}ms ease-in-out` })
1771
+ }, null, 12, Et))), 256))])) : y("", !0),
1772
+ t.$slots.pattern ? (T(), b("g", Dt, [(T(!0), b(g, null, D(q.value, (e, t) => (T(), b("path", {
1764
1773
  class: "vue-ui-donut-arc-path",
1765
1774
  d: J.value[t].path,
1766
1775
  fill: `url(#${e.pattern})`,
1767
1776
  stroke: L.value.style.chart.layout.donut.borderColorAuto ? L.value.style.chart.backgroundColor : L.value.style.chart.layout.donut.borderColor,
1768
1777
  "stroke-width": L.value.style.chart.layout.donut.borderWidth,
1769
- filter: fi(t),
1770
- style: T({
1778
+ filter: ai(t),
1779
+ style: w({
1771
1780
  transition: R.value || !L.value.serieToggleAnimation.show ? "none" : `all ${L.value.serieToggleAnimation.durationMs}ms ease-in-out`,
1772
1781
  transformOrigin: "center"
1773
1782
  })
1774
- }, null, 12, Ft))), 256))])) : b("", !0),
1775
- (E(!0), x(v, null, O(q.value, (e, t) => (E(), x("path", {
1783
+ }, null, 12, Ot))), 256))])) : y("", !0),
1784
+ (T(!0), b(g, null, D(q.value, (e, t) => (T(), b("path", {
1776
1785
  class: "vue-ui-donut-arc-path",
1777
1786
  d: J.value[t].path,
1778
1787
  fill: L.value.style.chart.useGradient ? `url(#polar_gradient_${t}_${F.value})` : e.color,
1779
1788
  stroke: L.value.style.chart.layout.donut.borderColorAuto ? L.value.style.chart.backgroundColor : L.value.style.chart.layout.donut.borderColor,
1780
1789
  "stroke-width": L.value.style.chart.layout.donut.borderWidth,
1781
- filter: fi(t),
1782
- style: T({ transition: R.value || !L.value.serieToggleAnimation.show ? "none" : `all ${L.value.serieToggleAnimation.durationMs}ms ease-in-out` })
1783
- }, null, 12, It))), 256))
1784
- ])) : (E(), x("g", Lt, [t.$slots.pattern ? (E(), x("circle", {
1790
+ filter: ai(t),
1791
+ style: w({ transition: R.value || !L.value.serieToggleAnimation.show ? "none" : `all ${L.value.serieToggleAnimation.durationMs}ms ease-in-out` })
1792
+ }, null, 12, kt))), 256))
1793
+ ])) : (T(), b("g", At, [t.$slots.pattern ? (T(), b("circle", {
1785
1794
  key: 0,
1786
1795
  cx: V.value.width / 2,
1787
1796
  cy: V.value.height / 2,
@@ -1789,43 +1798,43 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1789
1798
  fill: `url(#pattern_${F.value}_${K.value[0].patternIndex})`,
1790
1799
  stroke: L.value.style.chart.backgroundColor,
1791
1800
  "stroke-width": L.value.style.chart.layout.donut.borderWidth
1792
- }, null, 8, Rt)) : b("", !0), S("circle", {
1801
+ }, null, 8, jt)) : y("", !0), x("circle", {
1793
1802
  cx: V.value.width / 2,
1794
1803
  cy: V.value.height / 2,
1795
1804
  r: G.value,
1796
1805
  fill: L.value.style.chart.useGradient ? `url(#polar_gradient_0_${F.value})` : K.value[0].color,
1797
1806
  stroke: L.value.style.chart.backgroundColor,
1798
1807
  "stroke-width": L.value.style.chart.layout.donut.borderWidth
1799
- }, null, 8, zt)]))], 64)) : (E(), x(v, { key: 9 }, [L.value.type === "classic" && !Xr.value ? (E(), x("g", Bt, [(E(!0), x(v, null, O(Zr.value, (e, t) => (E(), x("path", {
1808
+ }, null, 8, Mt)]))], 64)) : (T(), b(g, { key: 9 }, [L.value.type === "classic" && !Ur.value ? (T(), b("g", Nt, [(T(!0), b(g, null, D(Wr.value, (e, t) => (T(), b("path", {
1800
1809
  class: "vue-ui-donut-arc-path",
1801
1810
  d: e.arcSlice,
1802
1811
  fill: e.color,
1803
1812
  stroke: L.value.style.chart.backgroundColor,
1804
1813
  "stroke-width": L.value.style.chart.layout.donut.borderWidth
1805
- }, null, 8, Vt))), 256))])) : b("", !0), S("circle", {
1814
+ }, null, 8, Pt))), 256))])) : y("", !0), x("circle", {
1806
1815
  cx: V.value.width / 2,
1807
1816
  cy: V.value.height / 2,
1808
1817
  r: G.value <= 0 ? 10 : G.value,
1809
1818
  fill: "transparent",
1810
1819
  stroke: L.value.style.chart.backgroundColor
1811
- }, null, 8, Ht)], 64)),
1812
- L.value.style.chart.useGradient && L.value.type === "classic" ? (E(), x("circle", {
1820
+ }, null, 8, Ft)], 64)),
1821
+ L.value.style.chart.useGradient && L.value.type === "classic" ? (T(), b("circle", {
1813
1822
  key: 10,
1814
1823
  cx: V.value.width / 2,
1815
1824
  cy: V.value.height / 2,
1816
1825
  r: G.value <= 0 ? 10 : G.value,
1817
1826
  fill: `url(#gradient_${F.value})`
1818
- }, null, 8, Ut)) : b("", !0),
1819
- S("circle", {
1827
+ }, null, 8, It)) : y("", !0),
1828
+ x("circle", {
1820
1829
  ref_key: "circle_hollow",
1821
- ref: In,
1830
+ ref: kn,
1822
1831
  style: { pointerEvents: "none" },
1823
1832
  fill: "none",
1824
1833
  cx: V.value.width / 2,
1825
1834
  cy: V.value.height / 2,
1826
- r: Math.max(.1, Pr.value * 1.7)
1827
- }, null, 8, Wt),
1828
- Z.value ? (E(), x(v, { key: 11 }, [K.value.length > 1 || L.value.type === "classic" ? (E(), x("g", Gt, [(E(!0), x(v, null, O(K.value.filter((e) => !e.ghost), (e, t) => (E(), x("path", {
1835
+ r: Math.max(.1, Dr.value * 1.7)
1836
+ }, null, 8, Lt),
1837
+ Z.value ? (T(), b(g, { key: 11 }, [K.value.length > 1 || L.value.type === "classic" ? (T(), b("g", Rt, [(T(!0), b(g, null, D(K.value.filter((e) => !e.ghost), (e, t) => (T(), b("path", {
1829
1838
  d: L.value.type === "classic" ? e.arcSlice : J.value[t].path,
1830
1839
  stroke: L.value.style.chart.layout.donut.borderColorAuto ? L.value.style.chart.backgroundColor : L.value.style.chart.layout.donut.borderColor,
1831
1840
  fill: I.value === t ? L.value.style.chart.layout.donut.selectedColor : "transparent",
@@ -1835,194 +1844,194 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1835
1844
  seriesIndex: e.seriesIndex,
1836
1845
  show: !0
1837
1846
  }),
1838
- onMouseleave: (t) => ci({
1847
+ onMouseleave: (t) => ti({
1839
1848
  datapoint: e,
1840
1849
  seriesIndex: e.seriesIndex
1841
1850
  }),
1842
1851
  onClick: (n) => $(e, t)
1843
- }, null, 40, Kt))), 256))])) : (E(), x("g", qt, [S("circle", {
1852
+ }, null, 40, zt))), 256))])) : (T(), b("g", Bt, [x("circle", {
1844
1853
  cx: V.value.width / 2,
1845
1854
  cy: V.value.height / 2,
1846
1855
  r: G.value,
1847
1856
  fill: "transparent",
1848
- onMouseenter: n[0] ||= (e) => Q({
1857
+ onMouseenter: r[0] ||= (e) => Q({
1849
1858
  datapoint: K.value[0],
1850
1859
  relativeIndex: 0,
1851
1860
  seriesIndex: K.value[0].seriesIndex,
1852
1861
  show: !0
1853
1862
  }),
1854
- onMouseleave: n[1] ||= (e) => ci({
1863
+ onMouseleave: r[1] ||= (e) => ti({
1855
1864
  datapoint: K.value[0],
1856
1865
  seriesIndex: K.value[0].seriesIndex
1857
1866
  }),
1858
- onClick: n[2] ||= (e) => $(K.value[0], t.i)
1859
- }, null, 40, Jt)]))], 64)) : b("", !0),
1860
- L.value.type === "classic" ? (E(), x("g", {
1867
+ onClick: r[2] ||= (e) => $(K.value[0], t.i)
1868
+ }, null, 40, Vt)]))], 64)) : y("", !0),
1869
+ L.value.type === "classic" ? (T(), b("g", {
1861
1870
  key: 12,
1862
1871
  ref_key: "G_hollow",
1863
- ref: Fn,
1872
+ ref: On,
1864
1873
  class: "vue-data-ui-donut-hollow-labels"
1865
1874
  }, [
1866
- L.value.style.chart.layout.labels.hollow.total.show ? (E(), x("text", {
1875
+ L.value.style.chart.layout.labels.hollow.total.show ? (T(), b("text", {
1867
1876
  key: 0,
1868
1877
  "text-anchor": "middle",
1869
1878
  x: V.value.width / 2,
1870
1879
  y: V.value.height / 2 - (L.value.style.chart.layout.labels.hollow.average.show ? L.value.style.chart.layout.labels.hollow.total.fontSize : 0) + L.value.style.chart.layout.labels.hollow.total.offsetY,
1871
1880
  fill: L.value.style.chart.layout.labels.hollow.total.color,
1872
1881
  "font-size": L.value.style.chart.layout.labels.hollow.total.fontSize,
1873
- style: T(`font-weight:${L.value.style.chart.layout.labels.hollow.total.bold ? "bold" : ""}`)
1874
- }, Ke(L.value.style.chart.layout.labels.hollow.total.text), 13, Yt)) : b("", !0),
1875
- L.value.style.chart.layout.labels.hollow.total.show ? (E(), x("text", {
1882
+ style: w(`font-weight:${L.value.style.chart.layout.labels.hollow.total.bold ? "bold" : ""}`)
1883
+ }, k(L.value.style.chart.layout.labels.hollow.total.text), 13, Ht)) : y("", !0),
1884
+ L.value.style.chart.layout.labels.hollow.total.show ? (T(), b("text", {
1876
1885
  key: 1,
1877
1886
  "text-anchor": "middle",
1878
1887
  x: V.value.width / 2,
1879
1888
  y: V.value.height / 2 + L.value.style.chart.layout.labels.hollow.total.fontSize - (L.value.style.chart.layout.labels.hollow.average.show ? L.value.style.chart.layout.labels.hollow.total.fontSize : 0) + L.value.style.chart.layout.labels.hollow.total.value.offsetY,
1880
1889
  fill: L.value.style.chart.layout.labels.hollow.total.value.color,
1881
1890
  "font-size": L.value.style.chart.layout.labels.hollow.total.value.fontSize,
1882
- style: T(`font-weight:${L.value.style.chart.layout.labels.hollow.total.value.bold ? "bold" : ""}`)
1883
- }, Ke(A(p)(L.value.style.chart.layout.labels.hollow.total.value.formatter, Z.value, A(g)({
1891
+ style: w(`font-weight:${L.value.style.chart.layout.labels.hollow.total.value.bold ? "bold" : ""}`)
1892
+ }, k(A(m)(L.value.style.chart.layout.labels.hollow.total.value.formatter, Z.value, A(a)({
1884
1893
  p: L.value.style.chart.layout.labels.hollow.total.value.prefix,
1885
1894
  v: Z.value,
1886
1895
  s: L.value.style.chart.layout.labels.hollow.total.value.suffix
1887
- }))), 13, Xt)) : b("", !0),
1888
- L.value.style.chart.layout.labels.hollow.average.show ? (E(), x("text", {
1896
+ }))), 13, Ut)) : y("", !0),
1897
+ L.value.style.chart.layout.labels.hollow.average.show ? (T(), b("text", {
1889
1898
  key: 2,
1890
1899
  "text-anchor": "middle",
1891
1900
  x: V.value.width / 2,
1892
1901
  y: V.value.height / 2 + (L.value.style.chart.layout.labels.hollow.total.show ? L.value.style.chart.layout.labels.hollow.average.fontSize : 0) + L.value.style.chart.layout.labels.hollow.average.offsetY,
1893
1902
  fill: L.value.style.chart.layout.labels.hollow.average.color,
1894
1903
  "font-size": L.value.style.chart.layout.labels.hollow.average.fontSize,
1895
- style: T(`font-weight:${L.value.style.chart.layout.labels.hollow.average.bold ? "bold" : ""}`)
1896
- }, Ke(L.value.style.chart.layout.labels.hollow.average.text), 13, Zt)) : b("", !0),
1897
- L.value.style.chart.layout.labels.hollow.average.show ? (E(), x("text", {
1904
+ style: w(`font-weight:${L.value.style.chart.layout.labels.hollow.average.bold ? "bold" : ""}`)
1905
+ }, k(L.value.style.chart.layout.labels.hollow.average.text), 13, Wt)) : y("", !0),
1906
+ L.value.style.chart.layout.labels.hollow.average.show ? (T(), b("text", {
1898
1907
  key: 3,
1899
1908
  "text-anchor": "middle",
1900
1909
  x: V.value.width / 2,
1901
1910
  y: V.value.height / 2 + (L.value.style.chart.layout.labels.hollow.total.show ? L.value.style.chart.layout.labels.hollow.average.fontSize : 0) + L.value.style.chart.layout.labels.hollow.average.fontSize + L.value.style.chart.layout.labels.hollow.average.value.offsetY,
1902
1911
  fill: L.value.style.chart.layout.labels.hollow.average.value.color,
1903
1912
  "font-size": L.value.style.chart.layout.labels.hollow.average.value.fontSize,
1904
- style: T(`font-weight:${L.value.style.chart.layout.labels.hollow.average.value.bold ? "bold" : ""}`)
1905
- }, Ke(Lr.value || R.value ? "--" : A(p)(L.value.style.chart.layout.labels.hollow.average.value.formatter, A(oe)(ii.value), A(g)({
1913
+ style: w(`font-weight:${L.value.style.chart.layout.labels.hollow.average.value.bold ? "bold" : ""}`)
1914
+ }, k(Ar.value || R.value ? "--" : A(m)(L.value.style.chart.layout.labels.hollow.average.value.formatter, A(ie)(Zr.value), A(a)({
1906
1915
  p: L.value.style.chart.layout.labels.hollow.average.value.prefix,
1907
- v: A(oe)(ii.value),
1916
+ v: A(ie)(Zr.value),
1908
1917
  s: L.value.style.chart.layout.labels.hollow.average.value.suffix,
1909
1918
  r: L.value.style.chart.layout.labels.hollow.average.value.rounding
1910
- }))), 13, Qt)) : b("", !0)
1911
- ], 512)) : b("", !0),
1912
- (E(!0), x(v, null, O(q.value.filter((e) => !e.ghost), (e, n) => (E(), x("g", {
1913
- filter: fi(n),
1914
- class: Ve({ animated: L.value.useCssAnimation }),
1919
+ }))), 13, Gt)) : y("", !0)
1920
+ ], 512)) : y("", !0),
1921
+ (T(!0), b(g, null, D(q.value.filter((e) => !e.ghost), (e, r) => (T(), b("g", {
1922
+ filter: ai(r),
1923
+ class: Ue({ animated: L.value.useCssAnimation }),
1915
1924
  key: e.seriesIndex,
1916
- opacity: pi(e)
1917
- }, [L.value.style.chart.layout.labels.dataLabels.useLabelSlots ? (E(), x("g", en, [(E(), x("foreignObject", {
1918
- x: A(_)(e, !0).anchor === "end" ? A(_)(e).x - 120 : A(_)(e, !0).anchor === "middle" ? A(_)(e).x - 60 : A(_)(e).x,
1919
- y: A(f)(e) - (yi.value ? 20 : 0),
1925
+ opacity: oi(e)
1926
+ }, [L.value.style.chart.layout.labels.dataLabels.useLabelSlots ? (T(), b("g", qt, [(T(), b("foreignObject", {
1927
+ x: A(h)(e, !0).anchor === "end" ? A(h)(e).x - 120 : A(h)(e, !0).anchor === "middle" ? A(h)(e).x - 60 : A(h)(e).x,
1928
+ y: A(f)(e) - (fi.value ? 20 : 0),
1920
1929
  width: "120",
1921
1930
  height: "60",
1922
1931
  style: { overflow: "visible" }
1923
- }, [S("div", null, [k(t.$slots, "dataLabel", ze({ ref_for: !0 }, {
1932
+ }, [x("div", null, [O(t.$slots, "dataLabel", Ve({ ref_for: !0 }, {
1924
1933
  datapoint: e,
1925
- isBlur: !L.value.useBlurOnHover || [null, void 0].includes(I.value) || I.value === n,
1926
- isSafari: yi.value,
1934
+ isBlur: !L.value.useBlurOnHover || [null, void 0].includes(I.value) || I.value === r,
1935
+ isSafari: fi.value,
1927
1936
  isVisible: Y(e) && B.value.dataLabels.show,
1928
- textAlign: A(_)(e, !0, 16, !0).anchor,
1929
- flexAlign: A(_)(e, !0, 16).anchor,
1930
- percentage: ti(e, q.value)
1931
- }), void 0, !0)])], 8, tn))])) : (E(), x("g", nn, [L.value.type === "classic" ? (E(), x(v, { key: 0 }, [Y(e) && B.value.dataLabels.show ? (E(), x("circle", {
1937
+ textAlign: A(h)(e, !0, 16, !0).anchor,
1938
+ flexAlign: A(h)(e, !0, 16).anchor,
1939
+ percentage: Jr(e, q.value)
1940
+ }), void 0, !0)])], 8, Jt))])) : (T(), b("g", Yt, [L.value.type === "classic" ? (T(), b(g, { key: 0 }, [Y(e) && B.value.dataLabels.show ? (T(), b("circle", {
1932
1941
  key: 0,
1933
- cx: A(X)[n]?.markerX ?? A(_)(e).x,
1934
- cy: A(X)[n]?.markerY ?? A(f)(e) - 3.5,
1942
+ cx: A(X)[r]?.markerX ?? A(h)(e).x,
1943
+ cy: A(X)[r]?.markerY ?? A(f)(e) - 3.5,
1935
1944
  fill: e.color,
1936
1945
  stroke: L.value.style.chart.backgroundColor,
1937
1946
  "stroke-width": 1,
1938
1947
  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),
1948
+ filter: !L.value.useBlurOnHover || [null, void 0].includes(I.value) || I.value === r ? "" : `url(#blur_${F.value})`,
1949
+ onClick: (t) => $(e, r),
1941
1950
  onMouseenter: (t) => Q({
1942
1951
  datapoint: e,
1943
- relativeIndex: n,
1952
+ relativeIndex: r,
1944
1953
  seriesIndex: e.seriesIndex,
1945
1954
  show: !0
1946
1955
  }),
1947
- onMouseleave: (t) => ci({
1956
+ onMouseleave: (t) => ti({
1948
1957
  datapoint: e,
1949
1958
  seriesIndex: e.seriesIndex
1950
1959
  })
1951
- }, null, 40, rn)) : b("", !0), L.value.style.chart.layout.labels.dataLabels.oneLine || A(X)[n] ? Ze((E(), x("text", {
1960
+ }, null, 40, Xt)) : y("", !0), L.value.style.chart.layout.labels.dataLabels.oneLine || A(X)[r] ? Qe((T(), b("text", {
1952
1961
  key: 1,
1953
1962
  class: "vue-data-ui-datalabel-inline",
1954
- "text-anchor": A(X)[n]?.textAnchor || A(_)(e, !0, 12).anchor,
1955
- x: A(X)[n]?.labelX ?? A(_)(e, !0, 12).x,
1956
- y: A(X)[n]?.labelY ?? A(f)(e),
1957
- onClick: (t) => $(e, n),
1963
+ "text-anchor": A(X)[r]?.textAnchor || A(h)(e, !0, 12).anchor,
1964
+ x: A(X)[r]?.labelX ?? A(h)(e, !0, 12).x,
1965
+ y: A(X)[r]?.labelY ?? A(f)(e),
1966
+ onClick: (t) => $(e, r),
1958
1967
  onMouseenter: (t) => Q({
1959
1968
  datapoint: e,
1960
- relativeIndex: n,
1969
+ relativeIndex: r,
1961
1970
  seriesIndex: e.seriesIndex,
1962
1971
  show: !0
1963
1972
  }),
1964
- onMouseleave: (t) => ci({
1973
+ onMouseleave: (t) => ti({
1965
1974
  datapoint: e,
1966
1975
  seriesIndex: e.seriesIndex
1967
1976
  }),
1968
- innerHTML: ui(e, n, !!A(X)[n])
1969
- }, null, 40, an)), [[Ye, Y(e) && B.value.dataLabels.show]]) : (E(), x(v, { key: 2 }, [Ze(S("text", {
1977
+ innerHTML: ri(e, r, !!A(X)[r])
1978
+ }, null, 40, Zt)), [[Xe, Y(e) && B.value.dataLabels.show]]) : (T(), b(g, { key: 2 }, [Qe(x("text", {
1970
1979
  class: "vue-data-ui-datalabel-value",
1971
- "text-anchor": A(X)[n]?.textAnchor || A(_)(e, !0, 12).anchor,
1972
- x: A(X)[n]?.labelX ?? A(_)(e, !0, 12).x,
1973
- y: A(X)[n]?.labelY ?? A(f)(e),
1980
+ "text-anchor": A(X)[r]?.textAnchor || A(h)(e, !0, 12).anchor,
1981
+ x: A(X)[r]?.labelX ?? A(h)(e, !0, 12).x,
1982
+ y: A(X)[r]?.labelY ?? A(f)(e),
1974
1983
  fill: L.value.style.chart.layout.labels.percentage.color,
1975
- "font-size": tr.value + "px",
1976
- style: T(`font-weight:${L.value.style.chart.layout.labels.percentage.bold ? "bold" : ""}`),
1977
- onClick: (t) => $(e, n),
1984
+ "font-size": Jn.value + "px",
1985
+ style: w(`font-weight:${L.value.style.chart.layout.labels.percentage.bold ? "bold" : ""}`),
1986
+ onClick: (t) => $(e, r),
1978
1987
  onMouseenter: (t) => Q({
1979
1988
  datapoint: e,
1980
- relativeIndex: n,
1989
+ relativeIndex: r,
1981
1990
  seriesIndex: e.seriesIndex,
1982
1991
  show: !0
1983
1992
  }),
1984
- onMouseleave: (t) => ci({
1993
+ onMouseleave: (t) => ti({
1985
1994
  datapoint: e,
1986
1995
  seriesIndex: e.seriesIndex
1987
1996
  })
1988
- }, Ke(Si(e)), 45, on), [[Ye, Y(e) && B.value.dataLabels.show]]), Ze(S("text", {
1997
+ }, k(hi(e)), 45, Qt), [[Xe, Y(e) && B.value.dataLabels.show]]), Qe(x("text", {
1989
1998
  class: "vue-data-ui-datalabel-name",
1990
- "text-anchor": A(X)[n]?.textAnchor || A(_)(e).anchor,
1991
- x: A(X)[n]?.labelX ?? A(_)(e, !0, 12).x,
1992
- y: (A(X)[n]?.labelY ?? A(f)(e)) + P.value * 1.2,
1999
+ "text-anchor": A(X)[r]?.textAnchor || A(h)(e).anchor,
2000
+ x: A(X)[r]?.labelX ?? A(h)(e, !0, 12).x,
2001
+ y: (A(X)[r]?.labelY ?? A(f)(e)) + P.value * 1.2,
1993
2002
  fill: L.value.style.chart.layout.labels.name.color,
1994
2003
  "font-size": P.value + "px",
1995
- style: T(`font-weight:${L.value.style.chart.layout.labels.name.bold ? "bold" : ""}`),
1996
- onClick: (t) => $(e, n),
2004
+ style: w(`font-weight:${L.value.style.chart.layout.labels.name.bold ? "bold" : ""}`),
2005
+ onClick: (t) => $(e, r),
1997
2006
  onMouseenter: (t) => Q({
1998
2007
  datapoint: e,
1999
- relativeIndex: n,
2008
+ relativeIndex: r,
2000
2009
  seriesIndex: e.seriesIndex,
2001
2010
  show: !0
2002
2011
  }),
2003
- onMouseleave: (t) => ci({
2012
+ onMouseleave: (t) => ti({
2004
2013
  datapoint: e,
2005
2014
  seriesIndex: e.seriesIndex
2006
2015
  }),
2007
- innerHTML: A(l)({
2016
+ innerHTML: A(te)({
2008
2017
  content: e.name,
2009
2018
  fontSize: P.value,
2010
2019
  fill: L.value.style.chart.layout.labels.name.color,
2011
- x: A(X)[n]?.labelX ?? A(_)(e, !0, 12).x,
2012
- y: (A(X)[n]?.labelY ?? A(f)(e)) + P.value
2020
+ x: A(X)[r]?.labelX ?? A(h)(e, !0, 12).x,
2021
+ y: (A(X)[r]?.labelY ?? A(f)(e)) + P.value
2013
2022
  })
2014
- }, null, 44, sn), [[Ye, Y(e, !0, 12) && B.value.dataLabels.show && L.value.style.chart.layout.labels.name.show]])], 64))], 64)) : b("", !0), L.value.type === "polar" ? (E(), x(v, { key: 1 }, [Y(e) && B.value.dataLabels.show ? (E(), x("circle", {
2023
+ }, null, 44, $t), [[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(g, { key: 1 }, [Y(e) && B.value.dataLabels.show ? (T(), b("circle", {
2015
2024
  key: 0,
2016
- cx: A(h)({
2017
- initX: J.value[n].middlePoint.x,
2018
- initY: J.value[n].middlePoint.y,
2025
+ cx: A(n)({
2026
+ initX: J.value[r].middlePoint.x,
2027
+ initY: J.value[r].middlePoint.y,
2019
2028
  offset: 24,
2020
2029
  centerX: V.value.width / 2,
2021
2030
  centerY: V.value.height / 2
2022
2031
  }).x,
2023
- cy: A(h)({
2024
- initX: J.value[n].middlePoint.x,
2025
- initY: J.value[n].middlePoint.y,
2032
+ cy: A(n)({
2033
+ initX: J.value[r].middlePoint.x,
2034
+ initY: J.value[r].middlePoint.y,
2026
2035
  offset: 24,
2027
2036
  centerX: V.value.width / 2,
2028
2037
  centerY: V.value.height / 2
@@ -2031,142 +2040,142 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
2031
2040
  stroke: L.value.style.chart.backgroundColor,
2032
2041
  "stroke-width": 1,
2033
2042
  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),
2043
+ filter: !L.value.useBlurOnHover || [null, void 0].includes(I.value) || I.value === r ? "" : `url(#blur_${F.value})`,
2044
+ onClick: (t) => $(e, r),
2036
2045
  onMouseenter: (t) => Q({
2037
2046
  datapoint: e,
2038
- relativeIndex: n,
2047
+ relativeIndex: r,
2039
2048
  seriesIndex: e.seriesIndex,
2040
2049
  show: !0
2041
2050
  }),
2042
- onMouseleave: (t) => ci({
2051
+ onMouseleave: (t) => ti({
2043
2052
  datapoint: e,
2044
2053
  seriesIndex: e.seriesIndex
2045
2054
  }),
2046
- style: T({ transition: R.value || !L.value.serieToggleAnimation.show ? "none" : `all ${L.value.serieToggleAnimation.durationMs}ms ease-in-out` })
2047
- }, null, 44, cn)) : b("", !0), L.value.style.chart.layout.labels.dataLabels.oneLine ? Ze((E(), x("text", {
2055
+ style: w({ transition: R.value || !L.value.serieToggleAnimation.show ? "none" : `all ${L.value.serieToggleAnimation.durationMs}ms ease-in-out` })
2056
+ }, null, 44, en)) : y("", !0), L.value.style.chart.layout.labels.dataLabels.oneLine ? Qe((T(), b("text", {
2048
2057
  key: 1,
2049
2058
  class: "vue-data-ui-datalabel-inline",
2050
- "text-anchor": Qr(J.value[n].middlePoint),
2051
- x: A(h)({
2052
- initX: J.value[n].middlePoint.x,
2053
- initY: J.value[n].middlePoint.y,
2059
+ "text-anchor": Gr(J.value[r].middlePoint),
2060
+ x: A(n)({
2061
+ initX: J.value[r].middlePoint.x,
2062
+ initY: J.value[r].middlePoint.y,
2054
2063
  offset: 42,
2055
2064
  centerX: V.value.width / 2,
2056
2065
  centerY: V.value.height / 2
2057
2066
  }).x,
2058
- y: A(h)({
2059
- initX: J.value[n].middlePoint.x,
2060
- initY: J.value[n].middlePoint.y,
2067
+ y: A(n)({
2068
+ initX: J.value[r].middlePoint.x,
2069
+ initY: J.value[r].middlePoint.y,
2061
2070
  offset: 42,
2062
2071
  centerX: V.value.width / 2,
2063
2072
  centerY: V.value.height / 2
2064
2073
  }).y,
2065
- style: T({ transition: R.value || !L.value.serieToggleAnimation.show ? "none" : `all ${L.value.serieToggleAnimation.durationMs}ms ease-in-out` }),
2066
- onClick: (t) => $(e, n),
2074
+ style: w({ transition: R.value || !L.value.serieToggleAnimation.show ? "none" : `all ${L.value.serieToggleAnimation.durationMs}ms ease-in-out` }),
2075
+ onClick: (t) => $(e, r),
2067
2076
  onMouseenter: (t) => Q({
2068
2077
  datapoint: e,
2069
- relativeIndex: n,
2078
+ relativeIndex: r,
2070
2079
  seriesIndex: e.seriesIndex,
2071
2080
  show: !0
2072
2081
  }),
2073
- onMouseleave: (t) => ci({
2082
+ onMouseleave: (t) => ti({
2074
2083
  datapoint: e,
2075
2084
  seriesIndex: e.seriesIndex
2076
2085
  }),
2077
- innerHTML: di(e, n)
2078
- }, null, 44, ln)), [[Ye, Y(e) && B.value.dataLabels.show]]) : (E(), x(v, { key: 2 }, [Y(e) && B.value.dataLabels.show ? (E(), x("text", {
2086
+ innerHTML: ii(e, r)
2087
+ }, null, 44, tn)), [[Xe, Y(e) && B.value.dataLabels.show]]) : (T(), b(g, { key: 2 }, [Y(e) && B.value.dataLabels.show ? (T(), b("text", {
2079
2088
  key: 0,
2080
2089
  class: "vue-data-ui-datalabel-value",
2081
- "text-anchor": Qr(J.value[n].middlePoint),
2082
- x: A(h)({
2083
- initX: J.value[n].middlePoint.x,
2084
- initY: J.value[n].middlePoint.y,
2090
+ "text-anchor": Gr(J.value[r].middlePoint),
2091
+ x: A(n)({
2092
+ initX: J.value[r].middlePoint.x,
2093
+ initY: J.value[r].middlePoint.y,
2085
2094
  offset: 42,
2086
2095
  centerX: V.value.width / 2,
2087
2096
  centerY: V.value.height / 2
2088
2097
  }).x,
2089
- y: A(h)({
2090
- initX: J.value[n].middlePoint.x,
2091
- initY: J.value[n].middlePoint.y,
2098
+ y: A(n)({
2099
+ initX: J.value[r].middlePoint.x,
2100
+ initY: J.value[r].middlePoint.y,
2092
2101
  offset: 42,
2093
2102
  centerX: V.value.width / 2,
2094
2103
  centerY: V.value.height / 2
2095
2104
  }).y,
2096
2105
  fill: L.value.style.chart.layout.labels.percentage.color,
2097
- "font-size": tr.value,
2098
- style: T({
2106
+ "font-size": Jn.value,
2107
+ style: w({
2099
2108
  transition: R.value || !L.value.serieToggleAnimation.show ? "none" : `all ${L.value.serieToggleAnimation.durationMs}ms ease-in-out`,
2100
2109
  fontWeight: L.value.style.chart.layout.labels.percentage.bold ? "bold" : "normal"
2101
2110
  }),
2102
- onClick: (t) => $(e, n),
2111
+ onClick: (t) => $(e, r),
2103
2112
  onMouseenter: (t) => Q({
2104
2113
  datapoint: e,
2105
- relativeIndex: n,
2114
+ relativeIndex: r,
2106
2115
  seriesIndex: e.seriesIndex,
2107
2116
  show: !0
2108
2117
  }),
2109
- onMouseleave: (t) => ci({
2118
+ onMouseleave: (t) => ti({
2110
2119
  datapoint: e,
2111
2120
  seriesIndex: e.seriesIndex
2112
2121
  })
2113
- }, Ke(Si(e)), 45, un)) : b("", !0), Y(e, !0, 12) && B.value.dataLabels.show && L.value.style.chart.layout.labels.name.show ? (E(), x("text", {
2122
+ }, k(hi(e)), 45, nn)) : y("", !0), Y(e, !0, 12) && B.value.dataLabels.show && L.value.style.chart.layout.labels.name.show ? (T(), b("text", {
2114
2123
  key: 1,
2115
2124
  class: "vue-data-ui-datalabel-name",
2116
- "text-anchor": Qr(J.value[n].middlePoint),
2117
- x: A(h)({
2118
- initX: J.value[n].middlePoint.x,
2119
- initY: J.value[n].middlePoint.y,
2125
+ "text-anchor": Gr(J.value[r].middlePoint),
2126
+ x: A(n)({
2127
+ initX: J.value[r].middlePoint.x,
2128
+ initY: J.value[r].middlePoint.y,
2120
2129
  offset: 42,
2121
2130
  centerX: V.value.width / 2,
2122
2131
  centerY: V.value.height / 2
2123
2132
  }).x,
2124
- y: A(h)({
2125
- initX: J.value[n].middlePoint.x,
2126
- initY: J.value[n].middlePoint.y,
2133
+ y: A(n)({
2134
+ initX: J.value[r].middlePoint.x,
2135
+ initY: J.value[r].middlePoint.y,
2127
2136
  offset: 42,
2128
2137
  centerX: V.value.width / 2,
2129
2138
  centerY: V.value.height / 2
2130
2139
  }).y + P.value * 1.2,
2131
2140
  fill: L.value.style.chart.layout.labels.name.color,
2132
2141
  "font-size": P.value,
2133
- style: T({
2142
+ style: w({
2134
2143
  transition: R.value || !L.value.serieToggleAnimation.show ? "none" : `all ${L.value.serieToggleAnimation.durationMs}ms ease-in-out`,
2135
2144
  fontWeight: L.value.style.chart.layout.labels.name.bold ? "bold" : "normal"
2136
2145
  }),
2137
- onClick: (t) => $(e, n),
2146
+ onClick: (t) => $(e, r),
2138
2147
  onMouseenter: (t) => Q({
2139
2148
  datapoint: e,
2140
- relativeIndex: n,
2149
+ relativeIndex: r,
2141
2150
  seriesIndex: e.seriesIndex,
2142
2151
  show: !0
2143
2152
  }),
2144
- onMouseleave: (t) => ci({
2153
+ onMouseleave: (t) => ti({
2145
2154
  datapoint: e,
2146
2155
  seriesIndex: e.seriesIndex
2147
2156
  }),
2148
- innerHTML: A(l)({
2157
+ innerHTML: A(te)({
2149
2158
  content: e.name,
2150
2159
  fontSize: P.value,
2151
2160
  fill: L.value.style.chart.layout.labels.name.color,
2152
- x: A(h)({
2153
- initX: J.value[n].middlePoint.x,
2154
- initY: J.value[n].middlePoint.y,
2161
+ x: A(n)({
2162
+ initX: J.value[r].middlePoint.x,
2163
+ initY: J.value[r].middlePoint.y,
2155
2164
  offset: 42,
2156
2165
  centerX: V.value.width / 2,
2157
2166
  centerY: V.value.height / 2
2158
2167
  }).x,
2159
- y: A(h)({
2160
- initX: J.value[n].middlePoint.x,
2161
- initY: J.value[n].middlePoint.y,
2168
+ y: A(n)({
2169
+ initX: J.value[r].middlePoint.x,
2170
+ initY: J.value[r].middlePoint.y,
2162
2171
  offset: 42,
2163
2172
  centerX: V.value.width / 2,
2164
2173
  centerY: V.value.height / 2
2165
2174
  }).y + P.value * 1.2
2166
2175
  })
2167
- }, null, 44, dn)) : b("", !0)], 64))], 64)) : b("", !0)])), B.value.dataLabels.show && L.value.style.chart.comments.show && e.comment ? (E(), x("g", fn, [Y(e) && L.value.type === "classic" ? (E(), x("foreignObject", {
2176
+ }, null, 44, rn)) : y("", !0)], 64))], 64)) : y("", !0)])), B.value.dataLabels.show && L.value.style.chart.comments.show && e.comment ? (T(), b("g", an, [Y(e) && L.value.type === "classic" ? (T(), b("foreignObject", {
2168
2177
  key: 0,
2169
- x: L.value.style.chart.comments.offsetX + (A(_)(e, !0).anchor === "end" ? A(_)(e).x - L.value.style.chart.comments.width : A(_)(e, !0).anchor === "middle" ? A(_)(e).x - L.value.style.chart.comments.width / 2 : A(_)(e).x),
2178
+ x: L.value.style.chart.comments.offsetX + (A(h)(e, !0).anchor === "end" ? A(h)(e).x - L.value.style.chart.comments.width : A(h)(e, !0).anchor === "middle" ? A(h)(e).x - L.value.style.chart.comments.width / 2 : A(h)(e).x),
2170
2179
  y: A(f)(e) + 24 + L.value.style.chart.comments.offsetY,
2171
2180
  width: L.value.style.chart.comments.width,
2172
2181
  height: "200",
@@ -2174,94 +2183,94 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
2174
2183
  overflow: "visible",
2175
2184
  "pointer-events": "none"
2176
2185
  }
2177
- }, [S("div", null, [k(t.$slots, "plot-comment", { plot: {
2186
+ }, [x("div", null, [O(t.$slots, "plot-comment", { plot: {
2178
2187
  ...e,
2179
- textAlign: A(_)(e, !0, 16, !0).anchor,
2180
- flexAlign: A(_)(e, !0, 16).anchor,
2188
+ textAlign: A(h)(e, !0, 16, !0).anchor,
2189
+ flexAlign: A(h)(e, !0, 16).anchor,
2181
2190
  isFirstLoad: R.value
2182
- } }, void 0, !0)])], 8, pn)) : b("", !0), Y(e) && L.value.type === "polar" ? (E(), x("foreignObject", {
2191
+ } }, void 0, !0)])], 8, on)) : y("", !0), Y(e) && L.value.type === "polar" ? (T(), b("foreignObject", {
2183
2192
  key: 1,
2184
- x: L.value.style.chart.comments.offsetX + (Qr(J.value[n].middlePoint) === "end" ? A(h)({
2185
- initX: J.value[n].middlePoint.x,
2186
- initY: J.value[n].middlePoint.y,
2193
+ x: L.value.style.chart.comments.offsetX + (Gr(J.value[r].middlePoint) === "end" ? A(n)({
2194
+ initX: J.value[r].middlePoint.x,
2195
+ initY: J.value[r].middlePoint.y,
2187
2196
  offset: 42,
2188
2197
  centerX: V.value.width / 2,
2189
2198
  centerY: V.value.height / 2
2190
- }).x - L.value.style.chart.comments.width : Qr(J.value[n].middlePoint) === "middle" ? A(h)({
2191
- initX: J.value[n].middlePoint.x,
2192
- initY: J.value[n].middlePoint.y,
2199
+ }).x - L.value.style.chart.comments.width : Gr(J.value[r].middlePoint) === "middle" ? A(n)({
2200
+ initX: J.value[r].middlePoint.x,
2201
+ initY: J.value[r].middlePoint.y,
2193
2202
  offset: 42,
2194
2203
  centerX: V.value.width / 2,
2195
2204
  centerY: V.value.height / 2
2196
- }).x - L.value.style.chart.comments.width / 2 : A(h)({
2197
- initX: J.value[n].middlePoint.x,
2198
- initY: J.value[n].middlePoint.y,
2205
+ }).x - L.value.style.chart.comments.width / 2 : A(n)({
2206
+ initX: J.value[r].middlePoint.x,
2207
+ initY: J.value[r].middlePoint.y,
2199
2208
  offset: 42,
2200
2209
  centerX: V.value.width / 2,
2201
2210
  centerY: V.value.height / 2
2202
2211
  }).x),
2203
- y: $r(J.value[n]) + L.value.style.chart.comments.offsetY,
2212
+ y: Kr(J.value[r]) + L.value.style.chart.comments.offsetY,
2204
2213
  width: L.value.style.chart.comments.width,
2205
2214
  height: "200",
2206
- style: T({
2215
+ style: w({
2207
2216
  transition: R.value || !L.value.serieToggleAnimation.show ? "none" : `all ${L.value.serieToggleAnimation.durationMs}ms ease-in-out`,
2208
2217
  overflow: "visible",
2209
2218
  pointerEvents: "none"
2210
2219
  })
2211
- }, [S("div", null, [k(t.$slots, "plot-comment", { plot: {
2220
+ }, [x("div", null, [O(t.$slots, "plot-comment", { plot: {
2212
2221
  ...e,
2213
- textAlign: Qr(J.value[n].middlePoint),
2214
- flexAlign: Qr(J.value[n].middlePoint),
2222
+ textAlign: Gr(J.value[r].middlePoint),
2223
+ flexAlign: Gr(J.value[r].middlePoint),
2215
2224
  isFirstLoad: R.value
2216
- } }, void 0, !0)])], 12, mn)) : b("", !0)])) : b("", !0)], 10, $t))), 128)),
2217
- k(t.$slots, "svg", { svg: {
2225
+ } }, void 0, !0)])], 12, sn)) : y("", !0)])) : y("", !0)], 10, Kt))), 128)),
2226
+ O(t.$slots, "svg", { svg: {
2218
2227
  ...V.value,
2219
2228
  datapoints: K.value,
2220
- isPrintingImg: A(Or) || A(kr) || Yn.value,
2221
- isPrintingSvg: Xn.value
2229
+ isPrintingImg: A(xr) || A(Sr) || Hn.value,
2230
+ isPrintingSvg: Un.value
2222
2231
  } }, void 0, !0)
2223
- ], 512)], 46, it)), t.$slots.hint ? (E(), x("div", hn, [k(t.$slots, "hint", w(C({
2232
+ ], 512)], 46, at)), t.$slots.hint ? (T(), b("div", cn, [O(t.$slots, "hint", C(S({
2224
2233
  hint: L.value.a11y.translations.keyboardNavigation,
2225
- isVisible: er.value
2226
- })), void 0, !0)])) : b("", !0)]),
2227
- t.$slots.watermark ? (E(), x("div", gn, [k(t.$slots, "watermark", w(C({ isPrinting: A(Or) || A(kr) || Yn.value || Xn.value })), void 0, !0)])) : b("", !0),
2228
- S("div", { id: `legend-bottom-${F.value}` }, null, 8, _n),
2229
- Kn.value && (L.value.style.chart.legend.show || t.$slots.legend) ? (E(), Pe(Ne, {
2234
+ isVisible: qn.value
2235
+ })), void 0, !0)])) : y("", !0)]),
2236
+ t.$slots.watermark ? (T(), b("div", ln, [O(t.$slots, "watermark", C(S({ isPrinting: A(xr) || A(Sr) || Hn.value || Un.value })), void 0, !0)])) : y("", !0),
2237
+ x("div", { id: `legend-bottom-${F.value}` }, null, 8, un),
2238
+ zn.value && (L.value.style.chart.legend.show || t.$slots.legend) ? (T(), v(Ie, {
2230
2239
  key: 6,
2231
2240
  to: L.value.style.chart.legend.position === "top" ? `#legend-top-${F.value}` : `#legend-bottom-${F.value}`
2232
- }, [S("div", {
2241
+ }, [x("div", {
2233
2242
  ref_key: "chartLegend",
2234
- ref: Rn
2235
- }, [k(t.$slots, "legend", { legend: Jr.value }, () => [L.value.style.chart.legend.show ? (E(), Pe(Me, {
2236
- key: `legend_${Gn.value}`,
2237
- legendSet: Jr.value,
2238
- config: Yr.value,
2239
- onClickMarker: n[3] ||= ({ i: e }) => Hr(e),
2240
- isCursorPointer: fr.value
2241
- }, Fe({
2242
- item: j(({ legend: e, index: t }) => [S("div", {
2243
- style: T(`opacity:${W.value.includes(t) ? .5 : 1}`),
2243
+ ref: jn
2244
+ }, [O(t.$slots, "legend", { legend: Vr.value }, () => [L.value.style.chart.legend.show ? (T(), v(Fe, {
2245
+ key: `legend_${Rn.value}`,
2246
+ legendSet: Vr.value,
2247
+ config: Hr.value,
2248
+ onClickMarker: r[3] ||= ({ i: e }) => Fr(e),
2249
+ isCursorPointer: ar.value
2250
+ }, Le({
2251
+ item: j(({ legend: e, index: t }) => [x("div", {
2252
+ style: w(`opacity:${W.value.includes(t) ? .5 : 1}`),
2244
2253
  onClick: (t) => e.segregate()
2245
- }, Ke(e.display), 13, vn)]),
2246
- legendToggle: j(() => [Jr.value.length > 2 && L.value.style.chart.legend.selectAllToggle.show && !A(mr) ? (E(), Pe(Te, {
2254
+ }, k(e.display), 13, dn)]),
2255
+ legendToggle: j(() => [Vr.value.length > 2 && L.value.style.chart.legend.selectAllToggle.show && !A(sr) ? (T(), v(Oe, {
2247
2256
  key: 0,
2248
2257
  backgroundColor: L.value.style.chart.legend.selectAllToggle.backgroundColor,
2249
2258
  color: L.value.style.chart.legend.selectAllToggle.color,
2250
2259
  fontSize: L.value.style.chart.legend.fontSize,
2251
2260
  checked: W.value.length > 0,
2252
- isCursorPointer: fr.value,
2253
- onToggle: Vr
2261
+ isCursorPointer: ar.value,
2262
+ onToggle: Pr
2254
2263
  }, null, 8, [
2255
2264
  "backgroundColor",
2256
2265
  "color",
2257
2266
  "fontSize",
2258
2267
  "checked",
2259
2268
  "isCursorPointer"
2260
- ])) : b("", !0)]),
2269
+ ])) : y("", !0)]),
2261
2270
  _: 2
2262
2271
  }, [t.$slots.pattern ? {
2263
2272
  name: "legend-pattern",
2264
- fn: j(({ legend: e, index: t }) => [Le(xe, {
2273
+ fn: j(({ legend: e, index: t }) => [ze(Ce, {
2265
2274
  shape: e.shape,
2266
2275
  radius: 30,
2267
2276
  stroke: "none",
@@ -2276,22 +2285,22 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
2276
2285
  "legendSet",
2277
2286
  "config",
2278
2287
  "isCursorPointer"
2279
- ])) : b("", !0)], !0)], 512)], 8, ["to"])) : b("", !0),
2280
- t.$slots.source ? (E(), x("div", {
2288
+ ])) : y("", !0)], !0)], 512)], 8, ["to"])) : y("", !0),
2289
+ t.$slots.source ? (T(), b("div", {
2281
2290
  key: 7,
2282
2291
  ref_key: "source",
2283
- ref: Vn,
2292
+ ref: Pn,
2284
2293
  dir: "auto"
2285
- }, [k(t.$slots, "source", {}, void 0, !0)], 512)) : b("", !0),
2286
- t.$slots.hollow ? (E(), x("div", yn, [k(t.$slots, "hollow", w(C({
2294
+ }, [O(t.$slots, "source", {}, void 0, !0)], 512)) : y("", !0),
2295
+ t.$slots.hollow ? (T(), b("div", fn, [O(t.$slots, "hollow", C(S({
2287
2296
  total: Z.value,
2288
- average: ii.value,
2297
+ average: Zr.value,
2289
2298
  dataset: H.value,
2290
2299
  ...V.value
2291
- })), void 0, !0)])) : b("", !0),
2292
- Le(A(xn), {
2300
+ })), void 0, !0)])) : y("", !0),
2301
+ ze(A(mn), {
2293
2302
  teleportTo: L.value.style.chart.tooltip.teleportTo,
2294
- show: B.value.showTooltip && cr.value,
2303
+ show: B.value.showTooltip && tr.value,
2295
2304
  backgroundColor: L.value.style.chart.tooltip.backgroundColor,
2296
2305
  color: L.value.style.chart.tooltip.color,
2297
2306
  fontSize: L.value.style.chart.tooltip.fontSize,
@@ -2303,19 +2312,19 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
2303
2312
  offsetX: L.value.style.chart.tooltip.offsetX,
2304
2313
  offsetY: L.value.style.chart.tooltip.offsetY,
2305
2314
  parent: N.value,
2306
- content: lr.value,
2307
- isCustom: si.value,
2308
- isFullscreen: _i.value,
2315
+ content: nr.value,
2316
+ isCustom: ei.value,
2317
+ isFullscreen: ui.value,
2309
2318
  smooth: L.value.style.chart.tooltip.smooth,
2310
2319
  backdropFilter: L.value.style.chart.tooltip.backdropFilter,
2311
2320
  smoothForce: L.value.style.chart.tooltip.smoothForce,
2312
2321
  smoothSnapThreshold: L.value.style.chart.tooltip.smoothSnapThrehsold,
2313
- isA11yMode: $n.value === "keyboard",
2314
- a11yPosition: Qn.value
2322
+ isA11yMode: Kn.value === "keyboard",
2323
+ a11yPosition: Gn.value
2315
2324
  }, {
2316
- "tooltip-before": j(() => [k(t.$slots, "tooltip-before", w(C({ ...oi.value })), void 0, !0)]),
2317
- tooltip: j(() => [k(t.$slots, "tooltip", w(C({ ...oi.value })), void 0, !0)]),
2318
- "tooltip-after": j(() => [k(t.$slots, "tooltip-after", w(C({ ...oi.value })), void 0, !0)]),
2325
+ "tooltip-before": j(() => [O(t.$slots, "tooltip-before", C(S({ ...$r.value })), void 0, !0)]),
2326
+ tooltip: j(() => [O(t.$slots, "tooltip", C(S({ ...$r.value })), void 0, !0)]),
2327
+ "tooltip-after": j(() => [O(t.$slots, "tooltip-after", C(S({ ...$r.value })), void 0, !0)]),
2319
2328
  _: 3
2320
2329
  }, 8, [
2321
2330
  "teleportTo",
@@ -2341,34 +2350,34 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
2341
2350
  "isA11yMode",
2342
2351
  "a11yPosition"
2343
2352
  ]),
2344
- Nn.value && L.value.userOptions.buttons.table ? (E(), Pe(We(Ai.value.component), ze({ key: 9 }, Ai.value.props, {
2353
+ En.value && L.value.userOptions.buttons.table ? (T(), v(Ke(Ci.value.component), Ve({ key: 9 }, Ci.value.props, {
2345
2354
  ref_key: "tableUnit",
2346
- ref: qn,
2347
- onClose: ji
2348
- }), Fe({
2349
- content: j(() => [(E(), Pe(A(wn), {
2350
- key: `table_${Wn.value}`,
2351
- colNames: gi.value.colNames,
2352
- head: gi.value.head,
2353
- body: gi.value.body,
2354
- config: gi.value.config,
2355
- title: L.value.table.useDialog ? "" : Ai.value.title,
2355
+ ref: Bn,
2356
+ onClose: wi
2357
+ }), Le({
2358
+ content: j(() => [(T(), v(A(_n), {
2359
+ key: `table_${Ln.value}`,
2360
+ colNames: li.value.colNames,
2361
+ head: li.value.head,
2362
+ body: li.value.body,
2363
+ config: li.value.config,
2364
+ title: L.value.table.useDialog ? "" : Ci.value.title,
2356
2365
  withCloseButton: !L.value.table.useDialog,
2357
- isCursorPointer: fr.value,
2358
- onClose: ji
2366
+ isCursorPointer: ar.value,
2367
+ onClose: wi
2359
2368
  }, {
2360
- th: j(({ th: e }) => [S("div", {
2369
+ th: j(({ th: e }) => [x("div", {
2361
2370
  innerHTML: e,
2362
2371
  style: {
2363
2372
  display: "flex",
2364
2373
  "align-items": "center"
2365
2374
  }
2366
- }, null, 8, bn)]),
2367
- td: j(({ td: e }) => [Ie(Ke(e.name ? e.name : isNaN(Number(e)) ? e.includes("%") ? e : A(p)(L.value.style.chart.layout.labels.percentage.formatter, e, A(g)({
2375
+ }, null, 8, pn)]),
2376
+ td: j(({ td: e }) => [Re(k(e.name ? e.name : isNaN(Number(e)) ? e.includes("%") ? e : A(m)(L.value.style.chart.layout.labels.percentage.formatter, e, A(a)({
2368
2377
  v: e,
2369
2378
  s: "%",
2370
2379
  r: L.value.style.chart.layout.labels.percentage.rounding
2371
- })) : A(p)(L.value.style.chart.layout.labels.value.formatter, e, A(g)({
2380
+ })) : A(m)(L.value.style.chart.layout.labels.value.formatter, e, A(a)({
2372
2381
  p: L.value.style.chart.layout.labels.dataLabels.prefix,
2373
2382
  v: e,
2374
2383
  s: L.value.style.chart.layout.labels.dataLabels.suffix,
@@ -2387,24 +2396,24 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
2387
2396
  _: 2
2388
2397
  }, [L.value.table.useDialog ? {
2389
2398
  name: "title",
2390
- fn: j(() => [Ie(Ke(Ai.value.title), 1)]),
2399
+ fn: j(() => [Re(k(Ci.value.title), 1)]),
2391
2400
  key: "0"
2392
2401
  } : void 0, L.value.table.useDialog ? {
2393
2402
  name: "actions",
2394
- fn: j(() => [S("button", {
2403
+ fn: j(() => [x("button", {
2395
2404
  tabindex: "0",
2396
2405
  class: "vue-ui-user-options-button",
2397
- onClick: n[4] ||= (e) => hi(L.value.userOptions.callbacks.csv),
2398
- style: T({ cursor: fr.value ? "pointer" : "default" })
2399
- }, [Le(A(Sn), {
2406
+ onClick: r[4] ||= (e) => ci(L.value.userOptions.callbacks.csv),
2407
+ style: w({ cursor: ar.value ? "pointer" : "default" })
2408
+ }, [ze(A(hn), {
2400
2409
  name: "fileCsv",
2401
- stroke: Ai.value.props.color
2410
+ stroke: Ci.value.props.color
2402
2411
  }, null, 8, ["stroke"])], 4)]),
2403
2412
  key: "1"
2404
- } : void 0]), 1040)) : b("", !0),
2405
- k(t.$slots, "skeleton", {}, () => [A(mr) ? (E(), Pe(he, { key: 0 })) : b("", !0)], !0)
2406
- ], 46, et));
2413
+ } : void 0]), 1040)) : y("", !0),
2414
+ O(t.$slots, "skeleton", {}, () => [A(sr) ? (T(), v(_e, { key: 0 })) : y("", !0)], !0)
2415
+ ], 46, tt));
2407
2416
  }
2408
- }, [["__scopeId", "data-v-568e9c77"]]);
2417
+ }, [["__scopeId", "data-v-66aefdf9"]]);
2409
2418
  //#endregion
2410
- export { $e as n, xn as t };
2419
+ export { et as n, mn as t };