vue-data-ui 3.25.11 → 3.25.13

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 (205) hide show
  1. package/dist/{Arrow-DLn-pcrh.js → Arrow-BhZDUeMp.js} +1 -1
  2. package/dist/{BaseDraggableDialog-Gm4Q30j0.js → BaseDraggableDialog-Ck6R5Q0K.js} +2 -2
  3. package/dist/{BaseIcon-D8R6_sKH.js → BaseIcon-Dlz7gfx0.js} +1 -1
  4. package/dist/{BaseLegendToggle-CXQrLjd-.js → BaseLegendToggle-DGG65LAR.js} +1 -1
  5. package/dist/{BaseZoomControls-BTzjVDPM.js → BaseZoomControls-BK0PxEa8.js} +2 -2
  6. package/dist/{ColorPicker-CUy15T72.js → ColorPicker-DMTwxvi_.js} +2 -2
  7. package/dist/{DataTable-oiM9uWrQ.js → DataTable-BD1eZ0zB.js} +2 -2
  8. package/dist/{HillActions-Dn8aKOVJ.js → HillActions-CiP2m7Nz.js} +1 -1
  9. package/dist/{Legend-X4kF4PvW.js → Legend-C0Ln0VNe.js} +2 -2
  10. package/dist/{NonSvgPenAndPaper-DFXjpRyl.js → NonSvgPenAndPaper-BjrMLISf.js} +3 -3
  11. package/dist/{PackageVersion-CEvZNFTz.js → PackageVersion-D5QkTJQU.js} +1 -1
  12. package/dist/{PenAndPaper-Cd3nItcO.js → PenAndPaper-XdUD8uB3.js} +3 -3
  13. package/dist/{Shape-CIqU-p2F.js → Shape-VCdxvFV9.js} +3 -3
  14. package/dist/{SlicerPreview-Ccss7Vsq.js → SlicerPreview-BJ4usfYd.js} +21 -21
  15. package/dist/{SparkTooltip-L3SliZbR.js → SparkTooltip-B1gRxPfb.js} +6 -6
  16. package/dist/{Title-CPHi-evi.js → Title-DeqmC-vN.js} +1 -1
  17. package/dist/{Tooltip-hhrkQ3Lk.js → Tooltip-DZ4a3XJQ.js} +1 -1
  18. package/dist/{UserOptions-qo_Tsqci.js → UserOptions-wFD9vo9g.js} +2 -2
  19. package/dist/components/arrow.js +1 -1
  20. package/dist/components/vue-ui-3d-bar.js +1 -1
  21. package/dist/components/vue-ui-accordion.js +1 -1
  22. package/dist/components/vue-ui-age-pyramid.js +1 -1
  23. package/dist/components/vue-ui-annotator.js +1 -1
  24. package/dist/components/vue-ui-bullet.js +1 -1
  25. package/dist/components/vue-ui-bump.js +1 -1
  26. package/dist/components/vue-ui-candlestick.js +1 -1
  27. package/dist/components/vue-ui-carousel-table.js +1 -1
  28. package/dist/components/vue-ui-chestnut.js +1 -1
  29. package/dist/components/vue-ui-chord.js +1 -1
  30. package/dist/components/vue-ui-circle-pack.js +1 -1
  31. package/dist/components/vue-ui-cursor.js +1 -1
  32. package/dist/components/vue-ui-dag.js +1 -1
  33. package/dist/components/vue-ui-dashboard.js +1 -1
  34. package/dist/components/vue-ui-digits.js +1 -1
  35. package/dist/components/vue-ui-donut-evolution.js +1 -1
  36. package/dist/components/vue-ui-donut.js +1 -1
  37. package/dist/components/vue-ui-dumbbell.js +1 -1
  38. package/dist/components/vue-ui-flow.js +1 -1
  39. package/dist/components/vue-ui-funnel.js +1 -1
  40. package/dist/components/vue-ui-galaxy.js +1 -1
  41. package/dist/components/vue-ui-gauge.js +1 -1
  42. package/dist/components/vue-ui-geo.js +1 -1
  43. package/dist/components/vue-ui-gizmo.js +1 -1
  44. package/dist/components/vue-ui-heatmap.js +1 -1
  45. package/dist/components/vue-ui-hill.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-label.js +1 -1
  51. package/dist/components/vue-ui-mini-loader.js +1 -1
  52. package/dist/components/vue-ui-molecule.js +1 -1
  53. package/dist/components/vue-ui-mood-radar.js +1 -1
  54. package/dist/components/vue-ui-nested-donuts.js +1 -1
  55. package/dist/components/vue-ui-onion.js +1 -1
  56. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  57. package/dist/components/vue-ui-quadrant.js +1 -1
  58. package/dist/components/vue-ui-quick-chart.js +1 -1
  59. package/dist/components/vue-ui-radar.js +1 -1
  60. package/dist/components/vue-ui-rating.js +1 -1
  61. package/dist/components/vue-ui-relation-circle.js +1 -1
  62. package/dist/components/vue-ui-ridgeline.js +1 -1
  63. package/dist/components/vue-ui-rings.js +1 -1
  64. package/dist/components/vue-ui-scatter.js +1 -1
  65. package/dist/components/vue-ui-skeleton.js +1 -1
  66. package/dist/components/vue-ui-smiley.js +1 -1
  67. package/dist/components/vue-ui-spark-trend.js +1 -1
  68. package/dist/components/vue-ui-sparkbar.js +1 -1
  69. package/dist/components/vue-ui-sparkgauge.js +1 -1
  70. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  71. package/dist/components/vue-ui-sparkline.js +1 -1
  72. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  73. package/dist/components/vue-ui-stackbar.js +1 -1
  74. package/dist/components/vue-ui-stackline.js +1 -1
  75. package/dist/components/vue-ui-strip-plot.js +1 -1
  76. package/dist/components/vue-ui-table-heatmap.js +1 -1
  77. package/dist/components/vue-ui-table-sparkline.js +1 -1
  78. package/dist/components/vue-ui-table.js +1 -1
  79. package/dist/components/vue-ui-thermometer.js +1 -1
  80. package/dist/components/vue-ui-timer.js +1 -1
  81. package/dist/components/vue-ui-tiremarks.js +1 -1
  82. package/dist/components/vue-ui-treemap.js +1 -1
  83. package/dist/components/vue-ui-vertical-bar.js +1 -1
  84. package/dist/components/vue-ui-waffle.js +1 -1
  85. package/dist/components/vue-ui-wheel.js +1 -1
  86. package/dist/components/vue-ui-word-cloud.js +1 -1
  87. package/dist/components/vue-ui-world.js +1 -1
  88. package/dist/components/vue-ui-xy-canvas.js +1 -1
  89. package/dist/components/vue-ui-xy.js +1 -1
  90. package/dist/{dom-to-png-BR4imuKV.js → dom-to-png-DdqmzDdY.js} +1 -1
  91. package/dist/exposedLib-BBtjpydc.js +28 -0
  92. package/dist/{img-BkMKbWsI.js → img-W50sC9SC.js} +1 -1
  93. package/dist/{labelUtils-BXX2NzRe.js → labelUtils-Dvm-7rse.js} +1 -1
  94. package/dist/{lib-Dql7cqyA.js → lib-DOpaUOQx.js} +191 -88
  95. package/dist/{package-B10eQN5L.js → package-Cmcke8zR.js} +1 -1
  96. package/dist/{pdf-BSOs_GZz.js → pdf-zGbDDpCi.js} +1 -1
  97. package/dist/{render-common-CZ6-MONw.js → render-common-CG1wuHZY.js} +16 -16
  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/vue-data-ui.d.ts +6 -0
  103. package/dist/{useConfig-D32D002m.js → useConfig-C2uy4ltq.js} +2 -0
  104. package/dist/{useNestedProp-Chvyfpl-.js → useNestedProp-Bux0f4iY.js} +1 -1
  105. package/dist/{useObjectBindings-Cd_WuYIn.js → useObjectBindings-CEuNiBIT.js} +1 -1
  106. package/dist/{usePrinter-hohanNCX.js → usePrinter-BBBooAGP.js} +2 -2
  107. package/dist/utils.js +13 -13
  108. package/dist/{vue-data-ui-zJ1rNxIN.js → vue-data-ui-BVzA0tEV.js} +70 -70
  109. package/dist/vue-data-ui.js +75 -75
  110. package/dist/{vue-ui-3d-bar-CKTAkCAN.js → vue-ui-3d-bar-Ckauu3d4.js} +536 -536
  111. package/dist/{vue-ui-accordion-DmkL8A59.js → vue-ui-accordion-yHZMJLaY.js} +4 -4
  112. package/dist/vue-ui-age-pyramid-BczIt1-U.js +1305 -0
  113. package/dist/{vue-ui-annotator-BLYRy--7.js → vue-ui-annotator-BGB6K6u0.js} +60 -60
  114. package/dist/{vue-ui-bullet-Ck398xn8.js → vue-ui-bullet-BoTsLccZ.js} +84 -84
  115. package/dist/{vue-ui-bump-DyA47yse.js → vue-ui-bump-B5ztSSQO.js} +105 -105
  116. package/dist/{vue-ui-candlestick-DCavjk1j.js → vue-ui-candlestick-BJtdA4Yu.js} +98 -98
  117. package/dist/vue-ui-carousel-table-D-3KSWok.js +467 -0
  118. package/dist/vue-ui-chestnut-W2l-W0_e.js +2016 -0
  119. package/dist/{vue-ui-chord-GgA7QFUH.js → vue-ui-chord-BFPQsMj8.js} +63 -63
  120. package/dist/{vue-ui-circle-pack-BUXTVdy3.js → vue-ui-circle-pack-BtPc1BR3.js} +50 -50
  121. package/dist/{vue-ui-cursor-CEejESe_.js → vue-ui-cursor-CpNOiwkt.js} +61 -61
  122. package/dist/{vue-ui-dag-C1c6scxC.js → vue-ui-dag-i-zPwLcN.js} +44 -44
  123. package/dist/{vue-ui-dashboard-BZBJM7dN.js → vue-ui-dashboard-DtaW9a2P.js} +70 -70
  124. package/dist/{vue-ui-digits-CsougDlU.js → vue-ui-digits-BIlec9af.js} +4 -4
  125. package/dist/{vue-ui-donut-lBgSYKgO.js → vue-ui-donut-Bgf-n95J.js} +551 -551
  126. package/dist/{vue-ui-donut-Be9jKelz.js → vue-ui-donut-CJlBEyxu.js} +203 -203
  127. package/dist/vue-ui-donut-evolution-C0BKntfL.js +1552 -0
  128. package/dist/{vue-ui-dumbbell-CwmA5x9G.js → vue-ui-dumbbell-C112YLkC.js} +87 -87
  129. package/dist/{vue-ui-flow-CRhh8SSN.js → vue-ui-flow-j4bDg9Zd.js} +99 -99
  130. package/dist/{vue-ui-funnel-DH1hW8Gw.js → vue-ui-funnel-CVHpfBCW.js} +40 -40
  131. package/dist/vue-ui-galaxy-ChGpUWh8.js +1097 -0
  132. package/dist/{vue-ui-gauge-CV4-Rn7K.js → vue-ui-gauge-Cp00vXfG.js} +190 -190
  133. package/dist/{vue-ui-geo-BocLrguL.js → vue-ui-geo-B4hDk5NO.js} +12 -12
  134. package/dist/{vue-ui-gizmo-6wKlI5PC.js → vue-ui-gizmo-D6nCCsS4.js} +54 -54
  135. package/dist/vue-ui-heatmap-scVJc1cw.js +1606 -0
  136. package/dist/{vue-ui-hill-CeIZZFf5.js → vue-ui-hill-DnYUHGAK.js} +21 -21
  137. package/dist/vue-ui-history-plot-C5qAMaaW.js +1710 -0
  138. package/dist/{vue-ui-horizontal-bar-D2aw-8tx.js → vue-ui-horizontal-bar-nEG4uvpv.js} +85 -85
  139. package/dist/{vue-ui-kpi-BQ967gzv.js → vue-ui-kpi-DOxId6xg.js} +12 -12
  140. package/dist/{vue-ui-label-Cs4ZlAqr.js → vue-ui-label-BDKY7BI7.js} +4 -4
  141. package/dist/{vue-ui-mini-loader-wGeACd-Y.js → vue-ui-mini-loader-BknVs9VJ.js} +3 -3
  142. package/dist/vue-ui-molecule-_x232mMu.js +941 -0
  143. package/dist/vue-ui-mood-radar-D-F4855V.js +1111 -0
  144. package/dist/{vue-ui-nested-donuts-DT2zkLx2.js → vue-ui-nested-donuts-0E5IllFW.js} +481 -481
  145. package/dist/vue-ui-onion-Eip0S1H7.js +1247 -0
  146. package/dist/vue-ui-parallel-coordinate-plot-DO0sQdJw.js +1444 -0
  147. package/dist/vue-ui-quadrant-CA0ClWfL.js +1979 -0
  148. package/dist/{vue-ui-quick-chart-CkPu6GMh.js → vue-ui-quick-chart-D-VuAoll.js} +169 -169
  149. package/dist/vue-ui-radar-BTD7Y0Ps.js +1386 -0
  150. package/dist/vue-ui-rating-C_Qj6gnP.js +359 -0
  151. package/dist/vue-ui-relation-circle-CcxLBVFV.js +905 -0
  152. package/dist/vue-ui-ridgeline-BZrzbbhb.js +1630 -0
  153. package/dist/{vue-ui-rings-CBtHZ5Pp.js → vue-ui-rings-CO48GOP2.js} +78 -78
  154. package/dist/{vue-ui-scatter-DzePsQEe.js → vue-ui-scatter-DrxUgZbQ.js} +136 -136
  155. package/dist/{vue-ui-skeleton-C347nFnE.js → vue-ui-skeleton-CeKjW4MX.js} +510 -510
  156. package/dist/{vue-ui-smiley-BIjAIpJ9.js → vue-ui-smiley-BvRwx69s.js} +6 -6
  157. package/dist/{vue-ui-spark-trend-Di_7Da43.js → vue-ui-spark-trend-DnujGRyt.js} +96 -96
  158. package/dist/{vue-ui-sparkbar-CbJ-fKc6.js → vue-ui-sparkbar-Cd_uhYGD.js} +113 -113
  159. package/dist/vue-ui-sparkgauge-hT31YEtt.js +268 -0
  160. package/dist/vue-ui-sparkhistogram-PKlTYhKA.js +589 -0
  161. package/dist/vue-ui-sparkline-BSu1uRvP.js +1610 -0
  162. package/dist/{vue-ui-sparkstackbar-IM_l98X-.js → vue-ui-sparkstackbar-R0ij2vi1.js} +183 -183
  163. package/dist/vue-ui-stackbar-BrzzkGFk.js +2369 -0
  164. package/dist/vue-ui-stackline-zEX3gR3y.js +2483 -0
  165. package/dist/{vue-ui-strip-plot-CVV0t6mb.js → vue-ui-strip-plot-DR3N56rS.js} +253 -253
  166. package/dist/{vue-ui-table-nAGCIZKg.js → vue-ui-table-Bg6BeLrf.js} +117 -117
  167. package/dist/{vue-ui-table-heatmap-D5F5bLx5.js → vue-ui-table-heatmap-C1b1Pcp8.js} +95 -95
  168. package/dist/vue-ui-table-sparkline-CkVXyequ.js +738 -0
  169. package/dist/{vue-ui-thermometer-Ccr2ZnzI.js → vue-ui-thermometer-CqkaMF7Z.js} +23 -23
  170. package/dist/{vue-ui-timer-DkW-P6EG.js → vue-ui-timer-CgJvNwBv.js} +13 -13
  171. package/dist/{vue-ui-tiremarks-Bf2anKLr.js → vue-ui-tiremarks-B078YJ9M.js} +30 -30
  172. package/dist/{vue-ui-treemap-Wy61KlkN.js → vue-ui-treemap-Cfjf8mDl.js} +77 -77
  173. package/dist/vue-ui-waffle-BZIcPa0l.js +1633 -0
  174. package/dist/{vue-ui-wheel-DGhu_B8n.js → vue-ui-wheel-CPTm8AHn.js} +185 -185
  175. package/dist/{vue-ui-word-cloud-CdRMst8U.js → vue-ui-word-cloud-DnGblUwj.js} +46 -46
  176. package/dist/{vue-ui-world-Bc4hMzzB.js → vue-ui-world-KkcpeKqp.js} +133 -133
  177. package/dist/vue-ui-xy-C6lVqZnx.js +5367 -0
  178. package/dist/{vue-ui-xy-CbgQs7yW.js → vue-ui-xy-ClCV7xA5.js} +169 -169
  179. package/dist/{vue-ui-xy-canvas-R2xbgDOy.js → vue-ui-xy-canvas-BlpCbXKR.js} +435 -435
  180. package/package.json +1 -1
  181. package/dist/exposedLib-CG3aXJ-v.js +0 -28
  182. package/dist/vue-ui-age-pyramid-SpPactMh.js +0 -1305
  183. package/dist/vue-ui-carousel-table-DCnVD0BJ.js +0 -467
  184. package/dist/vue-ui-chestnut-BDBdizBp.js +0 -2016
  185. package/dist/vue-ui-donut-evolution-vLMhwz4K.js +0 -1552
  186. package/dist/vue-ui-galaxy-CiqILfxR.js +0 -1097
  187. package/dist/vue-ui-heatmap-DGXXRsr4.js +0 -1606
  188. package/dist/vue-ui-history-plot-CporPpg9.js +0 -1710
  189. package/dist/vue-ui-molecule-CvDC9Ht5.js +0 -941
  190. package/dist/vue-ui-mood-radar-BK1va5-H.js +0 -1111
  191. package/dist/vue-ui-onion-DPMikBzZ.js +0 -1247
  192. package/dist/vue-ui-parallel-coordinate-plot-DMPxUL3p.js +0 -1444
  193. package/dist/vue-ui-quadrant-DFkIeJXo.js +0 -1979
  194. package/dist/vue-ui-radar-B3OOLJal.js +0 -1386
  195. package/dist/vue-ui-rating-Criq0ofQ.js +0 -359
  196. package/dist/vue-ui-relation-circle-I6e5UxgY.js +0 -905
  197. package/dist/vue-ui-ridgeline-FmmdCdy9.js +0 -1630
  198. package/dist/vue-ui-sparkgauge-Bb9-yFTb.js +0 -268
  199. package/dist/vue-ui-sparkhistogram-kbbbDVul.js +0 -589
  200. package/dist/vue-ui-sparkline-BF0Fdo6v.js +0 -1587
  201. package/dist/vue-ui-stackbar-CaEXVeo5.js +0 -2369
  202. package/dist/vue-ui-stackline-MgvhcBfm.js +0 -2483
  203. package/dist/vue-ui-table-sparkline-Bf2hjBwq.js +0 -738
  204. package/dist/vue-ui-waffle-CkIFp-AN.js +0 -1633
  205. package/dist/vue-ui-xy-DybWfQrI.js +0 -5298
@@ -1,76 +1,76 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { $ as t, Ct as n, D as r, Ft as i, K as a, Lt as o, Mt as s, Pt as c, S as l, Ut as u, Wt as ee, X as d, Yt as te, Z as f, Zt as ne, b as re, f as p, h as ie, ht as ae, i as m, j as oe, nt as se, ot as ce, p as h, q as le, s as ue, st as de, t as fe, tt as pe, w as me } from "./lib-Dql7cqyA.js";
3
- import { n as he, t as ge } from "./useHints-Dq_w2E8B.js";
4
- import { t as _e } from "./useConfig-D32D002m.js";
5
- import { t as ve } from "./usePrinter-hohanNCX.js";
6
- import { n as ye, t as be } from "./BaseScanner-Dzc8VT3j.js";
7
- import { t as xe } from "./useNestedProp-Chvyfpl-.js";
8
- import { t as Se } from "./useThemeCheck-C43Tcqmk.js";
9
- import { t as Ce } from "./useChartExport-iwOqiIWX.js";
10
- import { t as we } from "./img-BkMKbWsI.js";
11
- import { n as Te } from "./Title-CPHi-evi.js";
12
- import { t as Ee } from "./Shape-CIqU-p2F.js";
13
- import { t as De } from "./_plugin-vue_export-helper-B3ysoDQm.js";
14
- import { l as Oe, t as ke } from "./useResponsive-ZtArZtUf.js";
15
- import { t as Ae } from "./DefGrad-DVBqDjhO.js";
16
- import { t as je } from "./BaseLegendToggle-CXQrLjd-.js";
17
- import { t as Me } from "./A11yDataTable-DdRsVULz.js";
18
- import { t as Ne } from "./useUserOptionState-DK-_1ddE.js";
19
- import { t as Pe } from "./useChartAccessibility-DYqac8yF.js";
20
- import { n as Fe, t as Ie } from "./labelUtils-BXX2NzRe.js";
21
- import { t as Le } from "./vue_ui_donut-BDGqG07h.js";
22
- import { t as Re } from "./Legend-X4kF4PvW.js";
23
- import { Fragment as g, Teleport as ze, computed as _, createBlock as v, createCommentVNode as y, createElementBlock as b, createElementVNode as x, createSlots as Be, createTextVNode as Ve, createVNode as He, defineAsyncComponent as Ue, guardReactiveProps as S, mergeProps as We, nextTick as Ge, normalizeClass as Ke, normalizeProps as C, normalizeStyle as w, onBeforeUnmount as qe, onMounted as Je, openBlock as T, ref as E, renderList as D, renderSlot as O, resolveDynamicComponent as Ye, shallowRef as Xe, toDisplayString as k, toRefs as Ze, unref as A, useSlots as Qe, vShow as $e, watch as et, withCtx as j, withDirectives as tt } from "vue";
2
+ import { $ as t, $t as n, D as r, Et as i, Ft as a, Jt as o, Rt as s, S as c, Vt as l, X as u, Y as ee, at as te, b as ne, et as d, f, h as re, i as p, it as m, j as ie, lt as ae, nt as oe, p as h, qt as se, s as ce, t as le, tn as ue, ut as de, vt as fe, w as pe, zt as g } from "./lib-DOpaUOQx.js";
3
+ import { n as me, t as he } from "./useHints-Dq_w2E8B.js";
4
+ import { t as ge } from "./useConfig-C2uy4ltq.js";
5
+ import { t as _e } from "./usePrinter-BBBooAGP.js";
6
+ import { n as ve, t as ye } from "./BaseScanner-Dzc8VT3j.js";
7
+ import { t as be } from "./useNestedProp-Bux0f4iY.js";
8
+ import { t as xe } from "./useThemeCheck-C43Tcqmk.js";
9
+ import { t as Se } from "./useChartExport-iwOqiIWX.js";
10
+ import { t as Ce } from "./img-W50sC9SC.js";
11
+ import { n as we } from "./Title-DeqmC-vN.js";
12
+ import { t as Te } from "./Shape-VCdxvFV9.js";
13
+ import { t as Ee } from "./_plugin-vue_export-helper-B3ysoDQm.js";
14
+ import { l as De, t as Oe } from "./useResponsive-ZtArZtUf.js";
15
+ import { t as ke } from "./DefGrad-DVBqDjhO.js";
16
+ import { t as Ae } from "./BaseLegendToggle-DGG65LAR.js";
17
+ import { t as je } from "./A11yDataTable-DdRsVULz.js";
18
+ import { t as Me } from "./useUserOptionState-DK-_1ddE.js";
19
+ import { t as Ne } from "./useChartAccessibility-DYqac8yF.js";
20
+ import { n as Pe, t as Fe } from "./labelUtils-Dvm-7rse.js";
21
+ import { t as Ie } from "./vue_ui_donut-BDGqG07h.js";
22
+ import { t as Le } from "./Legend-C0Ln0VNe.js";
23
+ import { Fragment as _, Teleport as Re, computed as v, createBlock as y, createCommentVNode as b, createElementBlock as x, createElementVNode as S, createSlots as ze, createTextVNode as Be, createVNode as Ve, defineAsyncComponent as He, guardReactiveProps as C, mergeProps as Ue, nextTick as We, normalizeClass as Ge, normalizeProps as w, normalizeStyle as T, onBeforeUnmount as Ke, onMounted as qe, openBlock as E, ref as D, renderList as O, renderSlot as k, resolveDynamicComponent as Je, shallowRef as Ye, toDisplayString as Xe, toRefs as Ze, unref as A, useSlots as Qe, vShow as $e, watch as et, withCtx as j, withDirectives as tt } from "vue";
24
24
  //#region src/useSmallArcLayouts.js
25
25
  function nt(e) {
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: d } = e;
27
- return { smallArcLayoutsClassic: _(() => {
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;
27
+ return { smallArcLayoutsClassic: v(() => {
28
28
  if (t.value.type !== "classic") return {};
29
- let e = {}, te = n.value || [];
30
- if (!te.length) return e;
31
- let f = r.value.width / 2, ne = r.value.height / 2, re = i.value.top + 16, p = r.value.height - i.value.bottom - 16, ie = a.value, ae = ie / 3, m = ie * 1.5, oe = f - (o.value + 6), se = f + (o.value + 6), ce = !!t.value.style.chart.layout.curvedMarkers;
32
- function h({ 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 < f ? -1 : 1, a = n - e, o = r - t, s = Math.sqrt(a * a + o * o) || 1, c = e - f, l = t - ne, u = Math.sqrt(c * c + l * l) || 1, ee = c / u, d = l / u, te = u + 9;
29
+ let e = {}, ne = n.value || [];
30
+ if (!ne.length) return e;
31
+ let d = r.value.width / 2, f = r.value.height / 2, re = 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), h = d + (o.value + 6), se = !!t.value.style.chart.layout.curvedMarkers;
32
+ function ce({ midX: e, midY: t, bandX: n, bandY: r }) {
33
+ if (!se) 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 - f, u = Math.sqrt(c * c + l * l) || 1, ee = c / u, te = l / u, ne = u + 9;
35
35
  function re({ x: e, y: t }) {
36
- let n = e - f, r = t - ne, i = Math.sqrt(n * n + r * r) || 1;
37
- if (i >= te) return {
36
+ let n = e - d, r = t - f, i = Math.sqrt(n * n + r * r) || 1;
37
+ if (i >= ne) return {
38
38
  x: e,
39
39
  y: t
40
40
  };
41
- let a = te / i;
41
+ let a = ne / i;
42
42
  return {
43
- x: f + n * a,
44
- y: ne + r * a
43
+ x: d + n * a,
44
+ y: f + r * a
45
45
  };
46
46
  }
47
47
  if (s < 56) {
48
- let i = a / s, c = -(o / s), l = i, u = (e + n) * .5, te = (t + r) * .5, p = u + c, ie = te + l, ae = (p - f) * (p - f) + (ie - ne) * (ie - ne), m = u - c, oe = te - l;
49
- (m - f) * (m - f) + (oe - ne) * (oe - ne) > ae && (c = -c, l = -l);
50
- let se = .78, ce = e + a * se, h = t + o * se, le = Math.max(0, Math.min(1, (s - 18) / 44)), ue = le * le * (3 - 2 * le), de = 2.5 + ue * 4, fe = 1 + ue * 2.5;
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 - f) * (m - f), ae = u - c, oe = ne - l;
49
+ (ae - d) * (ae - d) + (oe - f) * (oe - f) > ie && (c = -c, l = -l);
50
+ let h = .78, se = e + a * h, ce = t + o * h, le = Math.max(0, Math.min(1, (s - 18) / 44)), ue = le * le * (3 - 2 * le), de = 2.5 + ue * 4, fe = 1 + ue * 2.5;
51
51
  de *= .9;
52
52
  let pe = re({
53
- x: ce + c * de + ee * fe,
54
- y: h + l * de + d * fe
53
+ x: se + c * de + ee * fe,
54
+ y: ce + l * de + te * fe
55
55
  });
56
56
  return `M ${e} ${t} Q ${pe.x} ${pe.y} ${n} ${r}`;
57
57
  }
58
58
  let p = s * .34;
59
59
  p < 20 && (p = 20), p > 46 && (p = 46);
60
- let ie = s * .46;
61
- ie < 22 && (ie = 22), ie > 70 && (ie = 70);
62
- let ae = {
60
+ let m = s * .46;
61
+ m < 22 && (m = 22), m > 70 && (m = 70);
62
+ let ie = {
63
63
  x: e + ee * p,
64
- y: t + d * p
65
- }, m = f + i * Math.max(Math.abs(n - f), te), oe = {
66
- x: n - i * Math.min(ie, Math.abs(m - n) * .75),
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),
67
67
  y: r
68
- }, se = re(ae), h = re(oe);
69
- return `M ${e} ${t} C ${se.x} ${se.y} ${h.x} ${h.y} ${n} ${r}`;
68
+ }, h = re(ie), ce = re(oe);
69
+ return `M ${e} ${t} C ${h.x} ${h.y} ${ce.x} ${ce.y} ${n} ${r}`;
70
70
  }
71
71
  function le(e) {
72
- let t = String(e ?? "").split(/\n/g), n = Math.max(0, t.length - 1) * (ie * 1.2);
73
- return m + n;
72
+ let t = String(e ?? "").split(/\n/g), n = Math.max(0, t.length - 1) * (m * 1.2);
73
+ return ae + n;
74
74
  }
75
75
  function ue({ arc: e, index: t }) {
76
76
  let { x: n, y: r } = s(e.path);
@@ -86,10 +86,10 @@ function nt(e) {
86
86
  }
87
87
  function de(e) {
88
88
  let { arc: t } = e, n = t.seriesIndex ?? 0;
89
- return u.value === n || ee.value.includes(n) ? !1 : d(t, n);
89
+ return u.value === n || ee.value.includes(n) ? !1 : te(t, n);
90
90
  }
91
91
  function fe(e) {
92
- let t = e.inlineMarkerY < ne, n = e.inlineMarkerX < f;
92
+ let t = e.inlineMarkerY < f, n = e.inlineMarkerX < d;
93
93
  return t && n ? "TL" : t && !n ? "TR" : !t && n ? "BL" : "BR";
94
94
  }
95
95
  function pe(e, t) {
@@ -99,72 +99,72 @@ function nt(e) {
99
99
  }
100
100
  e.sort((e, t) => t.inlineMarkerY - e.inlineMarkerY || e.index - t.index);
101
101
  }
102
- function me({ side: e, markerX: t, markerY: n, labelY: r, connectorPath: i }) {
102
+ function g({ side: e, markerX: t, markerY: n, labelY: r, connectorPath: i }) {
103
103
  return {
104
104
  side: e,
105
105
  labelX: e === "left" ? t - 8 : t + 8,
106
- labelY: r + ae,
106
+ labelY: r + ie,
107
107
  textAnchor: e === "left" ? "end" : "start",
108
108
  markerX: t,
109
109
  markerY: n,
110
110
  connectorPath: i
111
111
  };
112
112
  }
113
- function he({ candidateList: t, side: n, bandMarkerX: r, startY: i, direction: a }) {
113
+ function me({ candidateList: t, side: n, bandMarkerX: r, startY: i, direction: a }) {
114
114
  let o = i;
115
115
  t.forEach((t) => {
116
116
  let { index: i, midX: s, midY: c, labelHeight: l } = t, u;
117
117
  a === "down" ? (u = o, o += l) : (o -= l, u = o);
118
- let ee = u, d = h({
118
+ let ee = u, te = ce({
119
119
  midX: s,
120
120
  midY: c,
121
121
  bandX: r,
122
122
  bandY: ee
123
123
  });
124
- e[i] = me({
124
+ e[i] = g({
125
125
  side: n,
126
126
  markerX: r,
127
127
  markerY: ee,
128
128
  labelY: u,
129
- connectorPath: d
129
+ connectorPath: te
130
130
  });
131
131
  });
132
132
  }
133
- let ge = te.map((e, t) => ue({
133
+ let he = ne.map((e, t) => ue({
134
134
  arc: e,
135
135
  index: t
136
- })).filter(de), _e = {
136
+ })).filter(de), ge = {
137
137
  TL: [],
138
138
  TR: [],
139
139
  BL: [],
140
140
  BR: []
141
141
  };
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,
142
+ return he.forEach((e) => {
143
+ ge[fe(e)].push(e);
144
+ }), Object.keys(ge).forEach((e) => {
145
+ pe(ge[e], e);
146
+ }), me({
147
+ candidateList: ge.TL,
148
148
  side: "left",
149
149
  bandMarkerX: oe,
150
150
  startY: re,
151
151
  direction: "down"
152
- }), he({
153
- candidateList: _e.TR,
152
+ }), me({
153
+ candidateList: ge.TR,
154
154
  side: "right",
155
- bandMarkerX: se,
155
+ bandMarkerX: h,
156
156
  startY: re,
157
157
  direction: "down"
158
- }), _e.BL.length > 1 && he({
159
- candidateList: _e.BL,
158
+ }), ge.BL.length > 1 && me({
159
+ candidateList: ge.BL,
160
160
  side: "left",
161
161
  bandMarkerX: oe,
162
162
  startY: p,
163
163
  direction: "up"
164
- }), _e.BR.length > 1 && he({
165
- candidateList: _e.BR,
164
+ }), ge.BR.length > 1 && me({
165
+ candidateList: ge.BR,
166
166
  side: "right",
167
- bandMarkerX: se,
167
+ bandMarkerX: h,
168
168
  startY: p,
169
169
  direction: "up"
170
170
  }), e;
@@ -379,7 +379,7 @@ var rt = /* @__PURE__ */ e({ default: () => vn }), it = ["id"], at = ["id"], ot
379
379
  }, pn = ["id"], mn = ["onClick"], hn = {
380
380
  key: 8,
381
381
  class: "vue-ui-donut-hollow"
382
- }, gn = { key: 0 }, _n = { key: 1 }, vn = /*#__PURE__*/ De({
382
+ }, gn = { key: 0 }, _n = { key: 1 }, vn = /*#__PURE__*/ Ee({
383
383
  __name: "vue-ui-donut",
384
384
  props: {
385
385
  config: {
@@ -400,24 +400,24 @@ var rt = /* @__PURE__ */ e({ default: () => vn }), it = ["id"], at = ["id"], ot
400
400
  "selectDatapoint",
401
401
  "copyAlt"
402
402
  ],
403
- setup(e, { expose: De, emit: rt }) {
404
- let vn = Ue(() => import("./Tooltip-hhrkQ3Lk.js")), yn = Ue(() => import("./BaseIcon-D8R6_sKH.js").then((e) => e.n)), bn = Ue(() => import("./vue-ui-accordion-DmkL8A59.js").then((e) => e.n)), xn = Ue(() => import("./DataTable-oiM9uWrQ.js")), Sn = Ue(() => import("./PenAndPaper-Cd3nItcO.js").then((e) => e.t)), Cn = Ue(() => import("./UserOptions-qo_Tsqci.js").then((e) => e.n)), wn = Ue(() => import("./PackageVersion-CEvZNFTz.js").then((e) => e.t)), Tn = Ue(() => import("./BaseDraggableDialog-Gm4Q30j0.js").then((e) => e.n)), { vue_ui_donut: En } = _e(), { isThemeValid: Dn, warnInvalidTheme: On } = Se(), kn = Qe(), M = e, An = _({
403
+ setup(e, { expose: Ee, emit: rt }) {
404
+ let vn = He(() => import("./Tooltip-DZ4a3XJQ.js")), yn = He(() => import("./BaseIcon-Dlz7gfx0.js").then((e) => e.n)), bn = He(() => import("./vue-ui-accordion-yHZMJLaY.js").then((e) => e.n)), xn = He(() => import("./DataTable-BD1eZ0zB.js")), Sn = He(() => import("./PenAndPaper-XdUD8uB3.js").then((e) => e.t)), Cn = He(() => import("./UserOptions-wFD9vo9g.js").then((e) => e.n)), wn = He(() => import("./PackageVersion-D5QkTJQU.js").then((e) => e.t)), Tn = He(() => import("./BaseDraggableDialog-Ck6R5Q0K.js").then((e) => e.n)), { vue_ui_donut: En } = ge(), { isThemeValid: Dn, warnInvalidTheme: On } = xe(), kn = Qe(), M = e, An = v({
405
405
  get() {
406
406
  return !!M.dataset && M.dataset.length;
407
407
  },
408
408
  set(e) {
409
409
  return e;
410
410
  }
411
- }), jn = Xe(null), Mn = E(null), Nn = E(null), Pn = E(null), Fn = Xe(null), In = Xe(null), Ln = Xe(null), Rn = Xe(null), zn = Xe(null), Bn = Xe(null), Vn = E(0), Hn = E(0), Un = E(0), Wn = E(!1), Gn = E(null), Kn = E(null), qn = E(null), Jn = E({
411
+ }), jn = Ye(null), Mn = D(null), Nn = D(null), Pn = D(null), Fn = Ye(null), In = Ye(null), Ln = Ye(null), Rn = Ye(null), zn = Ye(null), Bn = Ye(null), Vn = D(0), Hn = D(0), Un = D(0), Wn = D(!1), Gn = D(null), Kn = D(null), qn = D(null), Jn = D({
412
412
  x: 0,
413
413
  y: 0
414
- }), Yn = E("pointer"), Xn = E(!1), Zn = _({
414
+ }), Yn = D("pointer"), Xn = D(!1), Zn = v({
415
415
  get: () => I.value.style.chart.layout.labels.percentage.fontSize,
416
416
  set: (e) => e
417
- }), N = _({
417
+ }), N = v({
418
418
  get: () => I.value.style.chart.layout.labels.name.fontSize,
419
419
  set: (e) => e
420
- }), Qn = _({
420
+ }), Qn = v({
421
421
  get: () => I.value.style.chart.layout.labels.dataLabels.smallArcClusterFontSize,
422
422
  set: (e) => e
423
423
  }), $n = !1, er = () => {
@@ -452,7 +452,7 @@ var rt = /* @__PURE__ */ e({ default: () => vn }), it = ["id"], at = ["id"], ot
452
452
  ];
453
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 }) => {
454
454
  t.querySelectorAll(e).forEach((e) => {
455
- i.value = ue({
455
+ i.value = ce({
456
456
  el: e,
457
457
  bounds: s,
458
458
  currentFontSize: n,
@@ -464,11 +464,11 @@ var rt = /* @__PURE__ */ e({ default: () => vn }), it = ["id"], at = ["id"], ot
464
464
  });
465
465
  }));
466
466
  };
467
- Je(async () => {
467
+ qe(async () => {
468
468
  Wn.value = !0, rr(), requestAnimationFrame(er);
469
469
  });
470
470
  let tr;
471
- Je(() => {
471
+ qe(() => {
472
472
  jn.value && (tr = new ResizeObserver((e) => {
473
473
  for (let t of e) {
474
474
  let { width: e, height: n } = t.contentRect;
@@ -478,23 +478,23 @@ var rt = /* @__PURE__ */ e({ default: () => vn }), it = ["id"], at = ["id"], ot
478
478
  }
479
479
  }
480
480
  }), tr.observe(jn.value.parentElement));
481
- }), qe(() => {
481
+ }), Ke(() => {
482
482
  tr?.disconnect();
483
- }), qe(() => {
483
+ }), Ke(() => {
484
484
  Ln.value && (Rn.value && Ln.value.unobserve(Rn.value), Ln.value.disconnect());
485
485
  });
486
- let nr = _(() => I.value.debug);
486
+ let nr = v(() => I.value.debug);
487
487
  function rr() {
488
- if (c(M.dataset) ? (se({
488
+ if (s(M.dataset) ? (te({
489
489
  componentName: "VueUiDonut",
490
490
  type: "dataset",
491
491
  debug: nr.value
492
492
  }), An.value = !1, pr.value = !0) : (M.dataset.forEach((e, t) => {
493
- ae({
493
+ fe({
494
494
  datasetObject: e,
495
495
  requiredAttributes: ["name", "values"]
496
496
  }).forEach((e) => {
497
- se({
497
+ te({
498
498
  componentName: "VueUiDonut",
499
499
  type: "datasetSerieAttribute",
500
500
  property: e,
@@ -503,15 +503,15 @@ var rt = /* @__PURE__ */ e({ default: () => vn }), it = ["id"], at = ["id"], ot
503
503
  }), An.value = !1, pr.value = !0;
504
504
  });
505
505
  }), nr.value && M.dataset.forEach((e, t) => {
506
- (!e.name || e.name === "") && se({
506
+ (!e.name || e.name === "") && te({
507
507
  componentName: "VueUiDonut",
508
508
  type: "datasetAttributeEmpty",
509
509
  property: "name",
510
510
  index: t
511
511
  });
512
- })), c(M.dataset) || (pr.value = I.value.loading), I.value.responsive) {
513
- let e = Oe(() => {
514
- let { width: e, height: t } = ke({
512
+ })), s(M.dataset) || (pr.value = I.value.loading), I.value.responsive) {
513
+ let e = De(() => {
514
+ let { width: e, height: t } = Oe({
515
515
  chart: jn.value,
516
516
  title: I.value.style.chart.title.text ? Fn.value : null,
517
517
  legend: I.value.style.chart.legend.show ? In.value : null,
@@ -526,37 +526,37 @@ var rt = /* @__PURE__ */ e({ default: () => vn }), it = ["id"], at = ["id"], ot
526
526
  Ln.value && (Rn.value && Ln.value.unobserve(Rn.value), Ln.value.disconnect()), Ln.value = new ResizeObserver(e), Rn.value = jn.value.parentNode, Ln.value.observe(Rn.value);
527
527
  }
528
528
  }
529
- let P = E(le()), ir = E(!1), ar = E(""), F = E(null), or = E(0);
529
+ let P = D(u()), ir = D(!1), ar = D(""), F = D(null), or = D(0);
530
530
  function sr() {
531
- let e = xe({
531
+ let e = be({
532
532
  userConfig: M.config,
533
533
  defaultConfig: En
534
- }), t = {}, n = e.theme;
535
- if (!n) t = e;
534
+ }), t = {}, r = e.theme;
535
+ if (!r) t = e;
536
536
  else if (!Dn.value(e)) On(e), t = e;
537
537
  else {
538
- let r = xe({
539
- userConfig: Le[n] || M.config,
538
+ let i = be({
539
+ userConfig: Ie[r] || M.config,
540
540
  defaultConfig: e
541
541
  });
542
542
  t = {
543
- ...xe({
543
+ ...be({
544
544
  userConfig: M.config,
545
- defaultConfig: r
545
+ defaultConfig: i
546
546
  }),
547
- customPalette: e.customPalette.length ? e.customPalette : te[n] || o
547
+ customPalette: e.customPalette.length ? e.customPalette : n[r] || l
548
548
  };
549
549
  }
550
550
  return t;
551
551
  }
552
- let I = E(sr()), L = _(() => I.value.style.chart.layout.labels), R = _(() => I.value.style.chart.layout.donut), cr = _(() => I.value.style.chart.layout), z = _(() => I.value.style.chart);
553
- he({
552
+ let I = D(sr()), L = v(() => I.value.style.chart.layout.labels), R = v(() => I.value.style.chart.layout.donut), cr = v(() => I.value.style.chart.layout), z = v(() => I.value.style.chart);
553
+ me({
554
554
  config: () => I.value,
555
555
  dataset: () => M.dataset,
556
556
  component: "VueUiDonut",
557
557
  rules: [
558
- ge.singleSeries,
559
- ge.emptyArray,
558
+ he.singleSeries,
559
+ he.emptyArray,
560
560
  {
561
561
  test: (e) => e.length > 6,
562
562
  message: [
@@ -571,7 +571,7 @@ var rt = /* @__PURE__ */ e({ default: () => vn }), it = ["id"], at = ["id"], ot
571
571
  }
572
572
  ]
573
573
  });
574
- let lr = _(() => I.value.userOptions.useCursorPointer), ur = _(() => ne({
574
+ let lr = v(() => I.value.userOptions.useCursorPointer), ur = v(() => ue({
575
575
  defaultConfig: {
576
576
  useCssAnimation: !1,
577
577
  table: { show: !1 },
@@ -599,7 +599,7 @@ var rt = /* @__PURE__ */ e({ default: () => vn }), it = ["id"], at = ["id"], ot
599
599
  } }
600
600
  },
601
601
  userConfig: I.value.skeletonConfig ?? {}
602
- })), { loading: dr, FINAL_DATASET: fr, manualLoading: pr, skeletonDataset: mr } = ye({
602
+ })), { loading: dr, FINAL_DATASET: fr, manualLoading: pr, skeletonDataset: mr } = ve({
603
603
  ...Ze(M),
604
604
  FINAL_CONFIG: I,
605
605
  prepareConfig: sr,
@@ -620,16 +620,16 @@ var rt = /* @__PURE__ */ e({ default: () => vn }), it = ["id"], at = ["id"], ot
620
620
  color: "#CACACA"
621
621
  }
622
622
  ],
623
- skeletonConfig: ne({
623
+ skeletonConfig: ue({
624
624
  defaultConfig: I.value,
625
625
  userConfig: ur.value
626
626
  })
627
- }), B = E(!0), hr = E(0), gr = E(!1), _r = null;
627
+ }), B = D(!0), hr = D(0), gr = D(!1), _r = null;
628
628
  function vr(e = 1e3) {
629
629
  return new Promise((t) => {
630
630
  let n = performance.now();
631
631
  function r(i) {
632
- let a = i - n, o = Math.min(a / e, 1), s = pe(o);
632
+ let a = i - n, o = Math.min(a / e, 1), s = m(o);
633
633
  hr.value = s, o < 1 ? _r = requestAnimationFrame(r) : (hr.value = 1, _r = null, t());
634
634
  }
635
635
  _r !== null && cancelAnimationFrame(_r), hr.value = 0, _r = requestAnimationFrame(r);
@@ -640,7 +640,7 @@ var rt = /* @__PURE__ */ e({ default: () => vn }), it = ["id"], at = ["id"], ot
640
640
  let t = fr.value === mr, n = I.value.startAnimation?.show;
641
641
  !t && n ? (gr.value = !0, await vr(I.value.startAnimation.durationMs || 1e3)) : hr.value = 1, B.value = !1;
642
642
  }, { immediate: !0 });
643
- let { userOptionsVisible: yr, setUserOptionsVisibility: br, keepUserOptionState: xr } = Ne({ config: I.value }), { svgRef: Sr } = Pe({ config: z.value.title });
643
+ let { userOptionsVisible: yr, setUserOptionsVisibility: br, keepUserOptionState: xr } = Me({ config: I.value }), { svgRef: Sr } = Ne({ config: z.value.title });
644
644
  function Cr() {
645
645
  br(!0);
646
646
  }
@@ -648,7 +648,7 @@ var rt = /* @__PURE__ */ e({ default: () => vn }), it = ["id"], at = ["id"], ot
648
648
  br(!1);
649
649
  }
650
650
  function Tr(e) {
651
- let t = f(e);
651
+ let t = d(e);
652
652
  return t?.style?.chart && delete t.style.chart.tooltip, JSON.stringify(t);
653
653
  }
654
654
  let Er = Tr(M.config);
@@ -662,7 +662,7 @@ var rt = /* @__PURE__ */ e({ default: () => vn }), it = ["id"], at = ["id"], ot
662
662
  }
663
663
  dr.value || (I.value = i), yr.value = !I.value.userOptions.showOnChartHover, rr(), Vn.value += 1, Hn.value += 1, Un.value += 1, V.value.dataLabels.show = L.value.dataLabels.show, V.value.showTable = I.value.table.show, V.value.showTooltip = z.value.tooltip.show, H.value.height = z.value.height, H.value.width = z.value.width;
664
664
  }, { deep: !0 });
665
- let Dr = _(() => {
665
+ let Dr = v(() => {
666
666
  let { top: e, right: t, bottom: n, left: r } = z.value.padding;
667
667
  return {
668
668
  css: `padding:${e}px ${t}px ${n}px ${r}px`,
@@ -671,11 +671,11 @@ var rt = /* @__PURE__ */ e({ default: () => vn }), it = ["id"], at = ["id"], ot
671
671
  bottom: n,
672
672
  left: r
673
673
  };
674
- }), { isPrinting: Or, isImaging: kr, generatePdf: Ar, generateImage: jr } = ve({
674
+ }), { isPrinting: Or, isImaging: kr, generatePdf: Ar, generateImage: jr } = _e({
675
675
  elementId: `donut__${P.value}`,
676
676
  fileName: z.value.title.text || "vue-ui-donut",
677
677
  options: I.value.userOptions.print
678
- }), Mr = _(() => I.value.userOptions.show && !z.value.title.text), Nr = _(() => me(I.value.customPalette)), V = E({
678
+ }), Mr = v(() => I.value.userOptions.show && !z.value.title.text), Nr = v(() => pe(I.value.customPalette)), V = D({
679
679
  dataLabels: { show: L.value.dataLabels.show },
680
680
  showTable: I.value.table.show,
681
681
  showTooltip: z.value.tooltip.show
@@ -687,20 +687,20 @@ var rt = /* @__PURE__ */ e({ default: () => vn }), it = ["id"], at = ["id"], ot
687
687
  showTooltip: z.value.tooltip.show
688
688
  };
689
689
  }, { immediate: !0 });
690
- let H = E({
690
+ let H = D({
691
691
  height: z.value.height,
692
692
  width: z.value.width
693
- }), Pr = _(() => {
693
+ }), Pr = v(() => {
694
694
  if (I.value.pie) return K.value;
695
695
  let e = R.value.strokeWidth / 512, t = Math.min(H.value.width, H.value.height) * e, n = t > K.value ? K.value : t;
696
696
  return Math.max(n, 12 * (1 + e));
697
- }), Fr = rt, U = _(() => fr.value.sort((e, t) => {
697
+ }), Fr = rt, U = v(() => fr.value.sort((e, t) => {
698
698
  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;
699
699
  return e.ghost && !t.ghost ? 1 : t.ghost && !e.ghost ? -1 : r - n;
700
700
  }).map((e, t) => ({
701
701
  name: e.name,
702
- color: l(e.color) || Nr.value[t] || o[t] || o[t % o.length],
703
- value: re(e.values.reduce((e, t) => e + t, 0)),
702
+ color: c(e.color) || Nr.value[t] || l[t] || l[t % l.length],
703
+ value: ne(e.values.reduce((e, t) => e + t, 0)),
704
704
  absoluteValues: e.values,
705
705
  comment: e.comment || "",
706
706
  patternIndex: t,
@@ -711,7 +711,7 @@ var rt = /* @__PURE__ */ e({ default: () => vn }), it = ["id"], at = ["id"], ot
711
711
  et(() => M.dataset, (e) => {
712
712
  Array.isArray(e) && e.length > 0 && (pr.value = !1);
713
713
  }, { immediate: !0 });
714
- let W = Xe(U.value);
714
+ let W = Ye(U.value);
715
715
  et(() => U.value, (e) => {
716
716
  W.value = e, requestAnimationFrame(er);
717
717
  });
@@ -722,7 +722,7 @@ var rt = /* @__PURE__ */ e({ default: () => vn }), it = ["id"], at = ["id"], ot
722
722
  value: e.value
723
723
  }));
724
724
  }
725
- let G = E([]), Lr = E(!1), Rr = E(null);
725
+ let G = D([]), Lr = D(!1), Rr = D(null);
726
726
  function zr() {
727
727
  Fr("selectLegend", qr.value.map((e) => ({
728
728
  name: e.name,
@@ -730,7 +730,7 @@ var rt = /* @__PURE__ */ e({ default: () => vn }), it = ["id"], at = ["id"], ot
730
730
  value: e.value
731
731
  })));
732
732
  }
733
- function Br({ from: e, to: t, duration: n, onUpdate: r, onDone: i, easing: a = pe }) {
733
+ function Br({ from: e, to: t, duration: n, onUpdate: r, onDone: i, easing: a = m }) {
734
734
  let o = performance.now();
735
735
  function s(c) {
736
736
  let l = Math.min((c - o) / n, 1), u = a(l);
@@ -808,7 +808,7 @@ var rt = /* @__PURE__ */ e({ default: () => vn }), it = ["id"], at = ["id"], ot
808
808
  let t = Ur(e);
809
809
  t !== null && (G.value.includes(t.seriesIndex) || Hr(t.seriesIndex));
810
810
  }
811
- let Kr = _(() => fr.value.reduce((e, t) => e + t.values.reduce((e, t) => e + t, 0), 0)), qr = _(() => {
811
+ let Kr = v(() => fr.value.reduce((e, t) => e + t.values.reduce((e, t) => e + t, 0), 0)), qr = v(() => {
812
812
  if (B.value && !dr.value) {
813
813
  let e = hr.value, t = U.value.map((t) => ({
814
814
  ...t,
@@ -832,54 +832,54 @@ var rt = /* @__PURE__ */ e({ default: () => vn }), it = ["id"], at = ["id"], ot
832
832
  ...e,
833
833
  seriesIndex: t
834
834
  })).filter((e, t) => !G.value.includes(t));
835
- }), Jr = _(() => fr.value.map((e, t) => {
835
+ }), Jr = v(() => fr.value.map((e, t) => {
836
836
  let n = (e.values || []).reduce((e, t) => e + t, 0), r = n / fr.value.map((e) => (e.values || []).reduce((e, t) => e + t, 0)).reduce((e, t) => e + t, 0);
837
837
  return {
838
838
  name: e.name,
839
- color: l(e.color) || Nr.value[t] || o[t] || o[t % o.length],
839
+ color: c(e.color) || Nr.value[t] || l[t] || l[t % l.length],
840
840
  value: n,
841
841
  shape: "circle",
842
842
  patternIndex: t,
843
843
  proportion: r
844
844
  };
845
- }).map((e, t) => {
846
- let n = m(L.value.value.formatter, e.value, d({
845
+ }).map((e, n) => {
846
+ let r = p(L.value.value.formatter, e.value, t({
847
847
  p: L.value.dataLabels.prefix,
848
848
  v: e.value,
849
849
  s: L.value.dataLabels.suffix,
850
850
  r: z.value.legend.roundingValue
851
851
  }), {
852
852
  datapoint: e,
853
- index: t
854
- }), r = m(L.value.percentage.formatter, ai(e), d({
853
+ index: n
854
+ }), i = p(L.value.percentage.formatter, ai(e), t({
855
855
  v: ai(e),
856
856
  s: "%",
857
857
  r: z.value.legend.roundingPercentage
858
- })), i = xi({
859
- val: n,
860
- percentage: G.value.includes(t) ? `${bi(e.proportion * 100)}%` : r,
858
+ })), a = Si({
859
+ val: r,
860
+ percentage: G.value.includes(n) ? `${xi(e.proportion * 100)}%` : i,
861
861
  showVal: z.value.legend.showValue,
862
862
  showPercentage: z.value.legend.showPercentage,
863
863
  config: z.value.legend
864
864
  });
865
865
  return {
866
866
  ...e,
867
- opacity: G.value.includes(t) ? .5 : 1,
868
- segregate: () => !Lr.value && Hr(t),
869
- isSegregated: G.value.includes(t),
870
- display: `${e.name}${z.value.legend.showPercentage || z.value.legend.showValue ? ": " : ""}${i}`
867
+ opacity: G.value.includes(n) ? .5 : 1,
868
+ segregate: () => !Lr.value && Hr(n),
869
+ isSegregated: G.value.includes(n),
870
+ display: `${e.name}${z.value.legend.showPercentage || z.value.legend.showValue ? ": " : ""}${a}`
871
871
  };
872
- })), Yr = _(() => ({
872
+ })), Yr = v(() => ({
873
873
  cy: "donut-div-legend",
874
874
  backgroundColor: z.value.legend.backgroundColor,
875
875
  color: z.value.legend.color,
876
876
  fontSize: z.value.legend.fontSize,
877
877
  paddingBottom: 12,
878
878
  fontWeight: z.value.legend.bold ? "bold" : ""
879
- })), K = _(() => {
879
+ })), K = v(() => {
880
880
  let e = R.value.radiusRatio, t = Math.max(.1, Math.min(.50001, e)), n = Math.min(H.value.width * t, H.value.height * t);
881
881
  return Math.max(12, n);
882
- }), q = _(() => s({ series: qr.value }, H.value.width / 2, H.value.height / 2, K.value, K.value, 1.99999, 2, 1, 360, 105.25, Pr.value)), Xr = _(() => Math.abs(qr.value.map((e) => e.value).reduce((e, t) => e + t, 0)) > 0), Zr = _(() => s({ series: [{
882
+ }), q = v(() => a({ series: qr.value }, H.value.width / 2, H.value.height / 2, K.value, K.value, 1.99999, 2, 1, 360, 105.25, Pr.value)), Xr = v(() => Math.abs(qr.value.map((e) => e.value).reduce((e, t) => e + t, 0)) > 0), Zr = v(() => a({ series: [{
883
883
  value: 1,
884
884
  color: R.value.emptyFill,
885
885
  name: "_",
@@ -887,9 +887,9 @@ var rt = /* @__PURE__ */ e({ default: () => vn }), it = ["id"], at = ["id"], ot
887
887
  patternIndex: -1,
888
888
  ghost: !1,
889
889
  absoluteValues: [1]
890
- }] }, H.value.width / 2, H.value.height / 2, K.value, K.value, 1.99999, 2, 1, 360, 105.25, Pr.value)), J = _(() => q.value.filter((e) => !e.ghost)), Y = _(() => {
890
+ }] }, H.value.width / 2, H.value.height / 2, K.value, K.value, 1.99999, 2, 1, 360, 105.25, Pr.value)), J = v(() => q.value.filter((e) => !e.ghost)), Y = v(() => {
891
891
  let e = Math.max(...qr.value.map((e) => e.value)), t = qr.value.map((t) => t.value / e);
892
- return oe({
892
+ return ie({
893
893
  series: t,
894
894
  center: {
895
895
  x: H.value.width / 2,
@@ -903,13 +903,13 @@ var rt = /* @__PURE__ */ e({ default: () => vn }), it = ["id"], at = ["id"], ot
903
903
  return e.x > H.value.width / 2 + 6 ? "start" : e.x < H.value.width / 2 - 6 ? "end" : "middle";
904
904
  }
905
905
  function $r(e) {
906
- return e.middlePoint.y > H.value.height / 2 ? i({
906
+ return e.middlePoint.y > H.value.height / 2 ? g({
907
907
  initX: e.middlePoint.x,
908
908
  initY: e.middlePoint.y,
909
909
  offset: 100,
910
910
  centerX: H.value.width / 2,
911
911
  centerY: H.value.height / 2
912
- }).y : i({
912
+ }).y : g({
913
913
  initX: e.middlePoint.x,
914
914
  initY: e.middlePoint.y,
915
915
  offset: 0,
@@ -931,17 +931,17 @@ var rt = /* @__PURE__ */ e({ default: () => vn }), it = ["id"], at = ["id"], ot
931
931
  padding: Dr,
932
932
  labels_inline_fontSize: Qn,
933
933
  minSize: K,
934
- findArcMidpoint: ce,
935
- calcMarkerOffsetX: p,
934
+ findArcMidpoint: ae,
935
+ calcMarkerOffsetX: f,
936
936
  calcMarkerOffsetY: h,
937
937
  animatingIndex: Rr,
938
938
  segregated: G,
939
939
  isSmallArc: ei
940
940
  });
941
- function ti(e, t) {
942
- let n = e.value / ni(t);
943
- return isNaN(n) ? 0 : m(L.value.percentage.formatter, n * 100, d({
944
- v: n * 100,
941
+ function ti(e, n) {
942
+ let r = e.value / ni(n);
943
+ return isNaN(r) ? 0 : p(L.value.percentage.formatter, r * 100, t({
944
+ v: r * 100,
945
945
  s: "%",
946
946
  r: L.value.percentage.rounding
947
947
  }), { datapoint: e });
@@ -949,33 +949,33 @@ var rt = /* @__PURE__ */ e({ default: () => vn }), it = ["id"], at = ["id"], ot
949
949
  function ni(e) {
950
950
  return [...e].map((e) => e.value).reduce((e, t) => e + t, 0);
951
951
  }
952
- let Q = _(() => qr.value.map((e) => e.value).reduce((e, t) => e + t, 0)), ri = _(() => {
952
+ let Q = v(() => qr.value.map((e) => e.value).reduce((e, t) => e + t, 0)), ri = v(() => {
953
953
  let e = U.value.reduce((e, t) => e + t.value, 0);
954
954
  return e <= 0 ? [] : U.value.map((t) => t.value / e);
955
- }), ii = _(() => Q.value / qr.value.length);
955
+ }), ii = v(() => Q.value / qr.value.length);
956
956
  function ai(e) {
957
957
  return Lr.value ? e.proportion * 100 : e.value / Q.value * 100;
958
958
  }
959
- let oi = E(null), si = E(!1);
959
+ let oi = D(null), si = D(!1);
960
960
  function ci({ datapoint: e, seriesIndex: t }) {
961
961
  I.value.events.datapointLeave && I.value.events.datapointLeave({
962
962
  datapoint: e,
963
963
  seriesIndex: t
964
964
  }), ir.value = !1, F.value = null, qn.value = null, Yn.value = "pointer";
965
965
  }
966
- function $({ datapoint: e, relativeIndex: t, seriesIndex: r, show: i = !1, triggerMode: a = "pointer" }) {
966
+ function li({ datapoint: e, relativeIndex: n, seriesIndex: r, show: a = !1, triggerMode: o = "pointer" }) {
967
967
  I.value.events.datapointEnter && I.value.events.datapointEnter({
968
968
  datapoint: e,
969
969
  seriesIndex: r
970
- }), Yn.value = a, qn.value = t, oi.value = {
970
+ }), Yn.value = o, qn.value = n, oi.value = {
971
971
  datapoint: e,
972
972
  seriesIndex: r,
973
973
  config: I.value,
974
974
  series: U.value
975
- }, ir.value = i, F.value = t;
976
- let o = "", s = z.value.tooltip.customFormat;
977
- if (si.value = !1, n(s)) try {
978
- let t = s({
975
+ }, ir.value = a, F.value = n;
976
+ let s = "", c = z.value.tooltip.customFormat;
977
+ if (si.value = !1, i(c)) try {
978
+ let t = c({
979
979
  seriesIndex: r,
980
980
  datapoint: e,
981
981
  series: U.value,
@@ -985,47 +985,47 @@ var rt = /* @__PURE__ */ e({ default: () => vn }), it = ["id"], at = ["id"], ot
985
985
  } catch {
986
986
  console.warn("Custom format cannot be applied."), si.value = !1;
987
987
  }
988
- si.value || (o += `<div style="width:100%;text-align:center;border-bottom:1px solid ${z.value.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}"/>${kn.pattern ? `<circle cx="30" cy="30" r="30" stroke="none" fill="url(#pattern_${P.value}_${r})"/>` : ""}</svg>`, o += `<b>${xi({
988
+ si.value || (s += `<div style="width:100%;text-align:center;border-bottom:1px solid ${z.value.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${e.name}</div>`, s += `<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}"/>${kn.pattern ? `<circle cx="30" cy="30" r="30" stroke="none" fill="url(#pattern_${P.value}_${r})"/>` : ""}</svg>`, s += `<b>${Si({
989
989
  showVal: z.value.tooltip.showValue,
990
990
  showPercentage: z.value.tooltip.showPercentage,
991
- val: `<span>${m(L.value.value.formatter, e.value, d({
991
+ val: `<span>${p(L.value.value.formatter, e.value, t({
992
992
  p: L.value.dataLabels.prefix,
993
993
  v: e.value,
994
994
  s: L.value.dataLabels.suffix,
995
995
  r: z.value.tooltip.roundingValue
996
996
  }), {
997
997
  datapoint: e,
998
- relativeIndex: t,
998
+ relativeIndex: n,
999
999
  seriesIndex: r
1000
1000
  })}</span>`,
1001
- percentage: m(L.value.percentage.formatter, e.proportion * 100, d({
1001
+ percentage: p(L.value.percentage.formatter, e.proportion * 100, t({
1002
1002
  v: e.proportion * 100,
1003
1003
  s: "%",
1004
1004
  r: z.value.tooltip.roundingPercentage
1005
1005
  }), {
1006
1006
  datapoint: e,
1007
- relativeIndex: t,
1007
+ relativeIndex: n,
1008
1008
  seriesIndex: r
1009
1009
  }),
1010
1010
  config: z.value.tooltip
1011
- })}</b></div>`, z.value.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>`), ar.value = `<div>${o}</div>`);
1011
+ })}</b></div>`, z.value.comments.showInTooltip && e.comment && (s += `<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>`), ar.value = `<div>${s}</div>`);
1012
1012
  }
1013
- function li(e, t) {
1013
+ function ui(e, t) {
1014
1014
  let n = Z.value[t];
1015
1015
  if (n) return {
1016
1016
  textAnchor: n.textAnchor,
1017
1017
  x: n.labelX,
1018
1018
  y: n.labelY
1019
1019
  };
1020
- let r = p(e, !0, 12);
1020
+ let r = f(e, !0, 12);
1021
1021
  return {
1022
1022
  textAnchor: r.anchor,
1023
1023
  x: r.x,
1024
1024
  y: h(e)
1025
1025
  };
1026
1026
  }
1027
- function ui(e, t, n) {
1028
- let { textAnchor: r, x: i } = li(e, t), a = Si(e), o = `
1027
+ function di(e, t, n) {
1028
+ let { textAnchor: r, x: i } = ui(e, t), a = Ci(e), o = `
1029
1029
  <tspan
1030
1030
  class="vue-data-ui-datalabel-inline"
1031
1031
  fill="${L.value.percentage.color}"
@@ -1053,25 +1053,25 @@ var rt = /* @__PURE__ */ e({ default: () => vn }), it = ["id"], at = ["id"], ot
1053
1053
  `;
1054
1054
  }), r === "end" ? `${L.value.name.show ? c : ""}${o}` : `${o}${L.value.name.show ? c : ""}`;
1055
1055
  }
1056
- function di(e, t) {
1057
- let n = Y.value[t].middlePoint, r = Qr(n), a = i({
1056
+ function fi(e, t) {
1057
+ let n = Y.value[t].middlePoint, r = Qr(n), i = g({
1058
1058
  initX: n.x,
1059
1059
  initY: n.y,
1060
1060
  offset: 42,
1061
1061
  centerX: H.value.width / 2,
1062
1062
  centerY: H.value.height / 2
1063
- }), o = a.x;
1064
- a.y;
1065
- let s = Si(e), c = `
1063
+ }), a = i.x;
1064
+ i.y;
1065
+ let o = Ci(e), s = `
1066
1066
  <tspan
1067
1067
  class="vue-data-ui-datalabel-value"
1068
1068
  fill="${L.value.percentage.color}"
1069
1069
  font-size="${Zn.value}px"
1070
1070
  style="font-weight:${L.value.percentage.bold ? "bold" : "normal"}"
1071
- >${s}</tspan>
1072
- `, l = String(e.name ?? "").split(/\n/g), u = "";
1073
- return l.forEach((e, t) => {
1074
- u += t === 0 ? `
1071
+ >${o}</tspan>
1072
+ `, c = String(e.name ?? "").split(/\n/g), l = "";
1073
+ return c.forEach((e, t) => {
1074
+ l += t === 0 ? `
1075
1075
  <tspan
1076
1076
  class="vue-data-ui-datalabel-name"
1077
1077
  fill="${L.value.name.color}"
@@ -1081,37 +1081,37 @@ var rt = /* @__PURE__ */ e({ default: () => vn }), it = ["id"], at = ["id"], ot
1081
1081
  ` : `
1082
1082
  <tspan
1083
1083
  class="vue-data-ui-datalabel-name"
1084
- x="${o}"
1084
+ x="${a}"
1085
1085
  dy="${N.value * 1.2}"
1086
1086
  fill="${L.value.name.color}"
1087
1087
  font-size="${N.value}px"
1088
1088
  style="font-weight:${L.value.name.bold ? "bold" : "normal"}"
1089
1089
  >${e}</tspan>
1090
1090
  `;
1091
- }), r === "end" ? `${L.value.name.show ? u : ""}${c}` : `${c}${L.value.name.show ? u : ""}`;
1091
+ }), r === "end" ? `${L.value.name.show ? l : ""}${s}` : `${s}${L.value.name.show ? l : ""}`;
1092
1092
  }
1093
- function fi(e) {
1093
+ function pi(e) {
1094
1094
  return I.value.useBlurOnHover && ![null, void 0].includes(F.value) && F.value !== e ? `url(#blur_${P.value})` : "";
1095
1095
  }
1096
- function pi(e) {
1096
+ function mi(e) {
1097
1097
  if (!Lr.value || Rr.value === null || e.seriesIndex !== Rr.value) return 1;
1098
1098
  let t = (e.proportion ?? 0) * 100, n = L.value.dataLabels.hideUnderValue, r = L.value.dataLabels.smallArcClusterThreshold + 2, i = n;
1099
1099
  return t >= r ? 1 : t <= i ? 0 : (t - i) / (r - i);
1100
1100
  }
1101
- let mi = _(() => ({
1101
+ let hi = v(() => ({
1102
1102
  head: qr.value.map((e) => ({
1103
1103
  name: e.name,
1104
1104
  color: e.color
1105
1105
  })),
1106
1106
  body: qr.value.map((e) => e.value)
1107
1107
  }));
1108
- function hi(e = null) {
1109
- Ge(() => {
1110
- let n = mi.value.head.map((e, t) => [
1108
+ function gi(e = null) {
1109
+ We(() => {
1110
+ let t = hi.value.head.map((e, t) => [
1111
1111
  [e.name],
1112
- [mi.value.body[t]],
1113
- [isNaN(mi.value.body[t] / Q.value) ? "-" : mi.value.body[t] / Q.value * 100]
1114
- ]), i = [
1112
+ [hi.value.body[t]],
1113
+ [isNaN(hi.value.body[t] / Q.value) ? "-" : hi.value.body[t] / Q.value * 100]
1114
+ ]), n = [
1115
1115
  [z.value.title.text],
1116
1116
  [z.value.title.subtitle.text],
1117
1117
  [
@@ -1119,31 +1119,31 @@ var rt = /* @__PURE__ */ e({ default: () => vn }), it = ["id"], at = ["id"], ot
1119
1119
  ["val"],
1120
1120
  ["%"]
1121
1121
  ]
1122
- ].concat(n), a = r(i);
1123
- e ? e(a) : t({
1124
- csvContent: a,
1122
+ ].concat(t), i = r(n);
1123
+ e ? e(i) : oe({
1124
+ csvContent: i,
1125
1125
  title: z.value.title.text || "vue-ui-donut"
1126
1126
  });
1127
1127
  });
1128
1128
  }
1129
- let gi = _(() => {
1129
+ let _i = v(() => {
1130
1130
  let e = [
1131
1131
  "__SUM__",
1132
- d({
1132
+ t({
1133
1133
  p: L.value.dataLabels.prefix,
1134
1134
  v: Q.value,
1135
1135
  s: L.value.dataLabels.suffix,
1136
1136
  r: I.value.table.td.roundingValue
1137
1137
  }),
1138
1138
  "100%"
1139
- ], t = mi.value.head.map((e, t) => [
1139
+ ], n = hi.value.head.map((e, t) => [
1140
1140
  {
1141
1141
  color: e.color,
1142
1142
  name: e.name || "-"
1143
1143
  },
1144
- mi.value.body[t],
1145
- isNaN(mi.value.body[t] / Q.value) ? "-" : (mi.value.body[t] / Q.value * 100).toFixed(I.value.table.td.roundingPercentage) + "%"
1146
- ]), n = t.map((e) => e.map((e, t) => t === 0 ? e.name : e)), r = {
1144
+ hi.value.body[t],
1145
+ isNaN(hi.value.body[t] / Q.value) ? "-" : (hi.value.body[t] / Q.value * 100).toFixed(I.value.table.td.roundingPercentage) + "%"
1146
+ ]), r = n.map((e) => e.map((e, t) => t === 0 ? e.name : e)), i = {
1147
1147
  th: {
1148
1148
  backgroundColor: I.value.table.th.backgroundColor,
1149
1149
  color: I.value.table.th.color,
@@ -1163,23 +1163,23 @@ var rt = /* @__PURE__ */ e({ default: () => vn }), it = ["id"], at = ["id"], ot
1163
1163
  I.value.table.columnNames.percentage
1164
1164
  ],
1165
1165
  head: e,
1166
- body: t,
1167
- a11yBody: n,
1168
- config: r
1166
+ body: n,
1167
+ a11yBody: r,
1168
+ config: i
1169
1169
  };
1170
- }), _i = E(!1);
1171
- function vi(e) {
1172
- _i.value = e, or.value += 1;
1170
+ }), vi = D(!1);
1171
+ function yi(e) {
1172
+ vi.value = e, or.value += 1;
1173
1173
  }
1174
- let yi = _(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent));
1175
- function bi(e) {
1176
- return Fe({
1174
+ let bi = v(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent));
1175
+ function xi(e) {
1176
+ return Pe({
1177
1177
  num: e,
1178
1178
  rounding: z.value.legend.roundingPercentage
1179
1179
  });
1180
1180
  }
1181
- function xi({ val: e, percentage: t, showVal: n, showPercentage: r, config: i }) {
1182
- return Ie({
1181
+ function Si({ val: e, percentage: t, showVal: n, showPercentage: r, config: i }) {
1182
+ return Fe({
1183
1183
  config: i,
1184
1184
  val: e,
1185
1185
  percentage: t,
@@ -1187,9 +1187,9 @@ var rt = /* @__PURE__ */ e({ default: () => vn }), it = ["id"], at = ["id"], ot
1187
1187
  showPercentage: r
1188
1188
  });
1189
1189
  }
1190
- function Si(e) {
1191
- return xi({
1192
- val: m(L.value.value.formatter, e.value, d({
1190
+ function Ci(e) {
1191
+ return Si({
1192
+ val: p(L.value.value.formatter, e.value, t({
1193
1193
  p: L.value.dataLabels.prefix,
1194
1194
  v: e.value,
1195
1195
  s: L.value.dataLabels.suffix,
@@ -1201,7 +1201,7 @@ var rt = /* @__PURE__ */ e({ default: () => vn }), it = ["id"], at = ["id"], ot
1201
1201
  config: L.value.dataLabels
1202
1202
  });
1203
1203
  }
1204
- function Ci(e, t) {
1204
+ function $(e, t) {
1205
1205
  I.value.events.datapointClick && I.value.events.datapointClick({
1206
1206
  datapoint: e,
1207
1207
  seriesIndex: e.seriesIndex
@@ -1219,13 +1219,13 @@ var rt = /* @__PURE__ */ e({ default: () => vn }), it = ["id"], at = ["id"], ot
1219
1219
  function Ei() {
1220
1220
  V.value.showTooltip = !V.value.showTooltip;
1221
1221
  }
1222
- let Di = E(!1);
1222
+ let Di = D(!1);
1223
1223
  function Oi() {
1224
1224
  Di.value = !Di.value;
1225
1225
  }
1226
1226
  async function ki({ scale: e = 2 } = {}) {
1227
1227
  if (!jn.value) return;
1228
- let { width: t, height: n } = jn.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await we({
1228
+ let { width: t, height: n } = jn.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await Ce({
1229
1229
  domElement: jn.value,
1230
1230
  base64: !0,
1231
1231
  img: !0,
@@ -1245,7 +1245,7 @@ var rt = /* @__PURE__ */ e({ default: () => vn }), it = ["id"], at = ["id"], ot
1245
1245
  let { x: e, y: t, width: n, height: r } = Mn.value.getBBox();
1246
1246
  Sr.value && Sr.value.setAttribute("viewBox", `${e} ${t} ${n + Math.min(0, e)} ${r + Math.min(0, t)}`);
1247
1247
  }
1248
- let ji = _(() => {
1248
+ let ji = v(() => {
1249
1249
  let e = I.value.table.useDialog && !I.value.table.show, t = V.value.showTable;
1250
1250
  return {
1251
1251
  component: e ? Tn : bn,
@@ -1255,7 +1255,7 @@ var rt = /* @__PURE__ */ e({ default: () => vn }), it = ["id"], at = ["id"], ot
1255
1255
  color: I.value.table.th.color,
1256
1256
  headerColor: I.value.table.th.color,
1257
1257
  headerBg: I.value.table.th.backgroundColor,
1258
- isFullscreen: _i.value,
1258
+ isFullscreen: vi.value,
1259
1259
  fullscreenParent: jn.value,
1260
1260
  forcedWidth: Math.min(500, window.innerWidth * .8),
1261
1261
  isCursorPointer: lr.value
@@ -1282,10 +1282,10 @@ var rt = /* @__PURE__ */ e({ default: () => vn }), it = ["id"], at = ["id"], ot
1282
1282
  function Mi() {
1283
1283
  V.value.showTable = !1, Kn.value && Kn.value.setTableIconState(!1);
1284
1284
  }
1285
- let Ni = _(() => Jr.value.map((e) => ({
1285
+ let Ni = v(() => Jr.value.map((e) => ({
1286
1286
  ...e,
1287
1287
  name: e.display
1288
- }))), Pi = _(() => z.value.backgroundColor), Fi = _(() => z.value.legend), Ii = _(() => z.value.title), { isCallbackImaging: Li, isCallbackSvg: Ri, generateSvg: zi, onGenerateImage: Bi } = Ce({
1288
+ }))), Pi = v(() => z.value.backgroundColor), Fi = v(() => z.value.legend), Ii = v(() => z.value.title), { isCallbackImaging: Li, isCallbackSvg: Ri, generateSvg: zi, onGenerateImage: Bi } = Se({
1289
1289
  svg: Sr,
1290
1290
  title: Ii,
1291
1291
  legend: Fi,
@@ -1325,13 +1325,13 @@ var rt = /* @__PURE__ */ e({ default: () => vn }), it = ["id"], at = ["id"], ot
1325
1325
  if (qn.value === null) return;
1326
1326
  let e = J.value[qn.value];
1327
1327
  if (!e) return;
1328
- Ci(e, qn.value);
1328
+ $(e, qn.value);
1329
1329
  return;
1330
1330
  }
1331
1331
  let a = qn.value, o = F.value, s = a !== null && a >= 0 && a < J.value.length, c = o !== null && o >= 0 && o < J.value.length;
1332
1332
  s ? n ? (a += 1, a >= J.value.length && (a = 0)) : t && (--a, a < 0 && (a = J.value.length - 1)) : c ? (a = n ? o + 1 : o - 1, a >= J.value.length && (a = 0), a < 0 && (a = J.value.length - 1)) : a = n ? 0 : J.value.length - 1;
1333
1333
  let l = J.value[a];
1334
- l && (qn.value = a, Gi(a), $({
1334
+ l && (qn.value = a, Gi(a), li({
1335
1335
  datapoint: l,
1336
1336
  relativeIndex: a,
1337
1337
  seriesIndex: l.seriesIndex,
@@ -1345,7 +1345,7 @@ var rt = /* @__PURE__ */ e({ default: () => vn }), it = ["id"], at = ["id"], ot
1345
1345
  if (I.value.type === "classic") {
1346
1346
  let r = J.value[e];
1347
1347
  if (!r?.arcSlice) return;
1348
- let i = ce(r.arcSlice);
1348
+ let i = ae(r.arcSlice);
1349
1349
  if (!i) return;
1350
1350
  t = i.x, n = i.y;
1351
1351
  } else {
@@ -1359,16 +1359,16 @@ var rt = /* @__PURE__ */ e({ default: () => vn }), it = ["id"], at = ["id"], ot
1359
1359
  y: r.top + n / H.value.height * r.height
1360
1360
  };
1361
1361
  }
1362
- let Ki = _(() => ({
1363
- headers: gi.value?.colNames ?? [],
1364
- rows: gi.value?.a11yBody ?? []
1362
+ let Ki = v(() => ({
1363
+ headers: _i.value?.colNames ?? [],
1364
+ rows: _i.value?.a11yBody ?? []
1365
1365
  }));
1366
- return De({
1366
+ return Ee({
1367
1367
  autoSize: Ai,
1368
1368
  getData: Ir,
1369
1369
  getImage: ki,
1370
1370
  generatePdf: Ar,
1371
- generateCsv: hi,
1371
+ generateCsv: gi,
1372
1372
  generateImage: jr,
1373
1373
  generateSvg: zi,
1374
1374
  hideSeries: Gr,
@@ -1377,22 +1377,22 @@ var rt = /* @__PURE__ */ e({ default: () => vn }), it = ["id"], at = ["id"], ot
1377
1377
  toggleLabels: Ti,
1378
1378
  toggleTooltip: Ei,
1379
1379
  toggleAnnotator: Oi,
1380
- toggleFullscreen: vi,
1380
+ toggleFullscreen: yi,
1381
1381
  copyAlt: Vi
1382
- }), (t, n) => (T(), b("div", {
1382
+ }), (n, r) => (E(), x("div", {
1383
1383
  ref_key: "donutChart",
1384
1384
  ref: jn,
1385
- class: Ke(`vue-data-ui-component vue-ui-donut ${_i.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${I.value.useCssAnimation ? "" : "vue-ui-dna"}`),
1386
- style: w(`font-family:${I.value.style.fontFamily};width:100%; ${I.value.responsive ? "height:100%;" : ""} text-align:center;background:${z.value.backgroundColor}`),
1385
+ class: Ge(`vue-data-ui-component vue-ui-donut ${vi.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${I.value.useCssAnimation ? "" : "vue-ui-dna"}`),
1386
+ style: T(`font-family:${I.value.style.fontFamily};width:100%; ${I.value.responsive ? "height:100%;" : ""} text-align:center;background:${z.value.backgroundColor}`),
1387
1387
  id: `donut__${P.value}`,
1388
1388
  onMouseenter: Cr,
1389
1389
  onMouseleave: wr
1390
1390
  }, [
1391
- x("div", {
1391
+ S("div", {
1392
1392
  id: `chart-instructions-${P.value}`,
1393
1393
  class: "sr-only"
1394
- }, [x("p", null, k(I.value.a11y.translations.keyboardNavigation), 1)], 8, at),
1395
- Ki.value?.rows?.length ? (T(), v(Me, {
1394
+ }, [S("p", null, Xe(I.value.a11y.translations.keyboardNavigation), 1)], 8, at),
1395
+ Ki.value?.rows?.length ? (E(), y(je, {
1396
1396
  key: 0,
1397
1397
  uid: P.value,
1398
1398
  head: Ki.value.headers,
@@ -1405,8 +1405,8 @@ var rt = /* @__PURE__ */ e({ default: () => vn }), it = ["id"], at = ["id"], ot
1405
1405
  "body",
1406
1406
  "notice",
1407
1407
  "caption"
1408
- ])) : y("", !0),
1409
- I.value.userOptions.buttons.annotator && A(Sr) ? (T(), v(A(Sn), {
1408
+ ])) : b("", !0),
1409
+ I.value.userOptions.buttons.annotator && A(Sr) ? (E(), y(A(Sn), {
1410
1410
  key: 1,
1411
1411
  color: z.value.color,
1412
1412
  backgroundColor: z.value.backgroundColor,
@@ -1416,12 +1416,12 @@ var rt = /* @__PURE__ */ e({ default: () => vn }), it = ["id"], at = ["id"], ot
1416
1416
  palette: I.value.userOptions.annotatorPalette,
1417
1417
  onClose: Oi
1418
1418
  }, {
1419
- "annotator-action-close": j(() => [O(t.$slots, "annotator-action-close", {}, void 0, !0)]),
1420
- "annotator-action-color": j(({ color: e }) => [O(t.$slots, "annotator-action-color", C(S({ color: e })), void 0, !0)]),
1421
- "annotator-action-draw": j(({ mode: e }) => [O(t.$slots, "annotator-action-draw", C(S({ mode: e })), void 0, !0)]),
1422
- "annotator-action-undo": j(({ disabled: e }) => [O(t.$slots, "annotator-action-undo", C(S({ disabled: e })), void 0, !0)]),
1423
- "annotator-action-redo": j(({ disabled: e }) => [O(t.$slots, "annotator-action-redo", C(S({ disabled: e })), void 0, !0)]),
1424
- "annotator-action-delete": j(({ disabled: e }) => [O(t.$slots, "annotator-action-delete", C(S({ disabled: e })), void 0, !0)]),
1419
+ "annotator-action-close": j(() => [k(n.$slots, "annotator-action-close", {}, void 0, !0)]),
1420
+ "annotator-action-color": j(({ color: e }) => [k(n.$slots, "annotator-action-color", w(C({ color: e })), void 0, !0)]),
1421
+ "annotator-action-draw": j(({ mode: e }) => [k(n.$slots, "annotator-action-draw", w(C({ mode: e })), void 0, !0)]),
1422
+ "annotator-action-undo": j(({ disabled: e }) => [k(n.$slots, "annotator-action-undo", w(C({ disabled: e })), void 0, !0)]),
1423
+ "annotator-action-redo": j(({ disabled: e }) => [k(n.$slots, "annotator-action-redo", w(C({ disabled: e })), void 0, !0)]),
1424
+ "annotator-action-delete": j(({ disabled: e }) => [k(n.$slots, "annotator-action-delete", w(C({ disabled: e })), void 0, !0)]),
1425
1425
  _: 3
1426
1426
  }, 8, [
1427
1427
  "color",
@@ -1430,21 +1430,21 @@ var rt = /* @__PURE__ */ e({ default: () => vn }), it = ["id"], at = ["id"], ot
1430
1430
  "svgRef",
1431
1431
  "isCursorPointer",
1432
1432
  "palette"
1433
- ])) : y("", !0),
1434
- O(t.$slots, "userConfig", {}, void 0, !0),
1435
- Mr.value ? (T(), b("div", {
1433
+ ])) : b("", !0),
1434
+ k(n.$slots, "userConfig", {}, void 0, !0),
1435
+ Mr.value ? (E(), x("div", {
1436
1436
  key: 2,
1437
1437
  ref_key: "noTitle",
1438
1438
  ref: Bn,
1439
1439
  class: "vue-data-ui-no-title-space",
1440
1440
  style: "height:36px; width: 100%;background:transparent"
1441
- }, null, 512)) : y("", !0),
1442
- z.value.title.text ? (T(), b("div", {
1441
+ }, null, 512)) : b("", !0),
1442
+ z.value.title.text ? (E(), x("div", {
1443
1443
  key: 3,
1444
1444
  ref_key: "chartTitle",
1445
1445
  ref: Fn,
1446
1446
  style: "width:100%;background:transparent;padding-bottom:24px"
1447
- }, [(T(), v(Te, {
1447
+ }, [(E(), y(we, {
1448
1448
  key: `title_${Vn.value}`,
1449
1449
  config: {
1450
1450
  title: {
@@ -1456,9 +1456,9 @@ var rt = /* @__PURE__ */ e({ default: () => vn }), it = ["id"], at = ["id"], ot
1456
1456
  ...z.value.title.subtitle
1457
1457
  }
1458
1458
  }
1459
- }, null, 8, ["config"]))], 512)) : y("", !0),
1460
- x("div", { id: `legend-top-${P.value}` }, null, 8, ot),
1461
- I.value.userOptions.show && An.value && (A(xr) || A(yr)) ? (T(), v(A(Cn), {
1459
+ }, null, 8, ["config"]))], 512)) : b("", !0),
1460
+ S("div", { id: `legend-top-${P.value}` }, null, 8, ot),
1461
+ I.value.userOptions.show && An.value && (A(xr) || A(yr)) ? (E(), y(A(Cn), {
1462
1462
  ref_key: "userOptionsRef",
1463
1463
  ref: Kn,
1464
1464
  key: `user_option_${or.value}`,
@@ -1476,7 +1476,7 @@ var rt = /* @__PURE__ */ e({ default: () => vn }), it = ["id"], at = ["id"], ot
1476
1476
  hasLabel: I.value.userOptions.buttons.labels,
1477
1477
  hasFullscreen: I.value.userOptions.buttons.fullscreen,
1478
1478
  hasAltCopy: I.value.userOptions.buttons.altCopy,
1479
- isFullscreen: _i.value,
1479
+ isFullscreen: vi.value,
1480
1480
  chartElement: jn.value,
1481
1481
  position: I.value.userOptions.position,
1482
1482
  callbacks: I.value.userOptions.callbacks,
@@ -1487,9 +1487,9 @@ var rt = /* @__PURE__ */ e({ default: () => vn }), it = ["id"], at = ["id"], ot
1487
1487
  printScale: I.value.userOptions.print.scale,
1488
1488
  tableDialog: I.value.table.useDialog,
1489
1489
  isCursorPointer: lr.value,
1490
- onToggleFullscreen: vi,
1490
+ onToggleFullscreen: yi,
1491
1491
  onGeneratePdf: A(Ar),
1492
- onGenerateCsv: hi,
1492
+ onGenerateCsv: gi,
1493
1493
  onGenerateImage: A(Bi),
1494
1494
  onGenerateSvg: A(zi),
1495
1495
  onToggleTable: wi,
@@ -1497,141 +1497,141 @@ var rt = /* @__PURE__ */ e({ default: () => vn }), it = ["id"], at = ["id"], ot
1497
1497
  onToggleTooltip: Ei,
1498
1498
  onToggleAnnotator: Oi,
1499
1499
  onCopyAlt: Vi,
1500
- style: w({ visibility: A(xr) ? A(yr) ? "visible" : "hidden" : "visible" })
1501
- }, Be({ _: 2 }, [
1502
- t.$slots.menuIcon ? {
1500
+ style: T({ visibility: A(xr) ? A(yr) ? "visible" : "hidden" : "visible" })
1501
+ }, ze({ _: 2 }, [
1502
+ n.$slots.menuIcon ? {
1503
1503
  name: "menuIcon",
1504
- fn: j(({ isOpen: e, color: n }) => [O(t.$slots, "menuIcon", C(S({
1504
+ fn: j(({ isOpen: e, color: t }) => [k(n.$slots, "menuIcon", w(C({
1505
1505
  isOpen: e,
1506
- color: n
1506
+ color: t
1507
1507
  })), void 0, !0)]),
1508
1508
  key: "0"
1509
1509
  } : void 0,
1510
- t.$slots.optionTooltip ? {
1510
+ n.$slots.optionTooltip ? {
1511
1511
  name: "optionTooltip",
1512
- fn: j(() => [O(t.$slots, "optionTooltip", {}, void 0, !0)]),
1512
+ fn: j(() => [k(n.$slots, "optionTooltip", {}, void 0, !0)]),
1513
1513
  key: "1"
1514
1514
  } : void 0,
1515
- t.$slots.optionPdf ? {
1515
+ n.$slots.optionPdf ? {
1516
1516
  name: "optionPdf",
1517
- fn: j(() => [O(t.$slots, "optionPdf", {}, void 0, !0)]),
1517
+ fn: j(() => [k(n.$slots, "optionPdf", {}, void 0, !0)]),
1518
1518
  key: "2"
1519
1519
  } : void 0,
1520
- t.$slots.optionCsv ? {
1520
+ n.$slots.optionCsv ? {
1521
1521
  name: "optionCsv",
1522
- fn: j(() => [O(t.$slots, "optionCsv", {}, void 0, !0)]),
1522
+ fn: j(() => [k(n.$slots, "optionCsv", {}, void 0, !0)]),
1523
1523
  key: "3"
1524
1524
  } : void 0,
1525
- t.$slots.optionImg ? {
1525
+ n.$slots.optionImg ? {
1526
1526
  name: "optionImg",
1527
- fn: j(() => [O(t.$slots, "optionImg", {}, void 0, !0)]),
1527
+ fn: j(() => [k(n.$slots, "optionImg", {}, void 0, !0)]),
1528
1528
  key: "4"
1529
1529
  } : void 0,
1530
- t.$slots.optionSvg ? {
1530
+ n.$slots.optionSvg ? {
1531
1531
  name: "optionSvg",
1532
- fn: j(() => [O(t.$slots, "optionSvg", {}, void 0, !0)]),
1532
+ fn: j(() => [k(n.$slots, "optionSvg", {}, void 0, !0)]),
1533
1533
  key: "5"
1534
1534
  } : void 0,
1535
- t.$slots.optionTable ? {
1535
+ n.$slots.optionTable ? {
1536
1536
  name: "optionTable",
1537
- fn: j(() => [O(t.$slots, "optionTable", {}, void 0, !0)]),
1537
+ fn: j(() => [k(n.$slots, "optionTable", {}, void 0, !0)]),
1538
1538
  key: "6"
1539
1539
  } : void 0,
1540
- t.$slots.optionLabels ? {
1540
+ n.$slots.optionLabels ? {
1541
1541
  name: "optionLabels",
1542
- fn: j(() => [O(t.$slots, "optionLabels", {}, void 0, !0)]),
1542
+ fn: j(() => [k(n.$slots, "optionLabels", {}, void 0, !0)]),
1543
1543
  key: "7"
1544
1544
  } : void 0,
1545
- t.$slots.optionFullscreen ? {
1545
+ n.$slots.optionFullscreen ? {
1546
1546
  name: "optionFullscreen",
1547
- fn: j(({ toggleFullscreen: e, isFullscreen: n }) => [O(t.$slots, "optionFullscreen", C(S({
1547
+ fn: j(({ toggleFullscreen: e, isFullscreen: t }) => [k(n.$slots, "optionFullscreen", w(C({
1548
1548
  toggleFullscreen: e,
1549
- isFullscreen: n
1549
+ isFullscreen: t
1550
1550
  })), void 0, !0)]),
1551
1551
  key: "8"
1552
1552
  } : void 0,
1553
- t.$slots.optionAnnotator ? {
1553
+ n.$slots.optionAnnotator ? {
1554
1554
  name: "optionAnnotator",
1555
- fn: j(({ toggleAnnotator: e, isAnnotator: n }) => [O(t.$slots, "optionAnnotator", C(S({
1555
+ fn: j(({ toggleAnnotator: e, isAnnotator: t }) => [k(n.$slots, "optionAnnotator", w(C({
1556
1556
  toggleAnnotator: e,
1557
- isAnnotator: n
1557
+ isAnnotator: t
1558
1558
  })), void 0, !0)]),
1559
1559
  key: "9"
1560
1560
  } : void 0,
1561
- t.$slots.optionAltCopy ? {
1561
+ n.$slots.optionAltCopy ? {
1562
1562
  name: "optionAltCopy",
1563
- fn: j(({ altCopy: e }) => [O(t.$slots, "optionAltCopy", C(S({ altCopy: e })), void 0, !0)]),
1563
+ fn: j(({ altCopy: e }) => [k(n.$slots, "optionAltCopy", w(C({ altCopy: e })), void 0, !0)]),
1564
1564
  key: "10"
1565
1565
  } : void 0,
1566
- t.$slots["custom-menu-before"] ? {
1566
+ n.$slots["custom-menu-before"] ? {
1567
1567
  name: "custom-menu-before",
1568
- fn: j(() => [O(t.$slots, "custom-menu-before", {}, void 0, !0)]),
1568
+ fn: j(() => [k(n.$slots, "custom-menu-before", {}, void 0, !0)]),
1569
1569
  key: "11"
1570
1570
  } : void 0,
1571
- t.$slots["custom-menu-after"] ? {
1571
+ n.$slots["custom-menu-after"] ? {
1572
1572
  name: "custom-menu-after",
1573
- fn: j(() => [O(t.$slots, "custom-menu-after", {}, void 0, !0)]),
1573
+ fn: j(() => [k(n.$slots, "custom-menu-after", {}, void 0, !0)]),
1574
1574
  key: "12"
1575
1575
  } : void 0
1576
- ]), 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.onGenerateImage.onGenerateSvg.style".split("."))) : y("", !0),
1577
- x("div", st, [(T(), b("svg", {
1576
+ ]), 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.onGenerateImage.onGenerateSvg.style".split("."))) : b("", !0),
1577
+ S("div", st, [(E(), x("svg", {
1578
1578
  ref_key: "svgRef",
1579
1579
  ref: Sr,
1580
- xmlns: A(fe),
1580
+ xmlns: A(le),
1581
1581
  "aria-describedby": `chart-instructions-${P.value}`,
1582
- class: Ke({
1583
- "vue-data-ui-fullscreen--on": _i.value,
1584
- "vue-data-ui-fulscreen--off": !_i.value,
1582
+ class: Ge({
1583
+ "vue-data-ui-fullscreen--on": vi.value,
1584
+ "vue-data-ui-fulscreen--off": !vi.value,
1585
1585
  "vue-data-ui-svg": !0
1586
1586
  }),
1587
1587
  viewBox: `0 0 ${H.value.width <= 0 ? 10 : H.value.width} ${H.value.height <= 0 ? 10 : H.value.height}`,
1588
- style: w(`max-width:100%; overflow: visible; background:transparent;color:${z.value.color};${Dr.value.css}`),
1588
+ style: T(`max-width:100%; overflow: visible; background:transparent;color:${z.value.color};${Dr.value.css}`),
1589
1589
  tabindex: "0",
1590
1590
  onFocus: Hi,
1591
1591
  onBlur: Ui,
1592
1592
  onKeydown: Wi
1593
- }, [x("g", {
1593
+ }, [S("g", {
1594
1594
  ref_key: "G",
1595
1595
  ref: Mn,
1596
1596
  class: "vue-data-ui-g"
1597
1597
  }, [
1598
- He(A(wn)),
1599
- t.$slots["chart-background"] ? (T(), b("foreignObject", {
1598
+ Ve(A(wn)),
1599
+ n.$slots["chart-background"] ? (E(), x("foreignObject", {
1600
1600
  key: 0,
1601
1601
  x: 0,
1602
1602
  y: 0,
1603
1603
  width: H.value.width <= 0 ? 10 : H.value.width,
1604
1604
  height: H.value.height <= 0 ? 10 : H.value.height,
1605
1605
  style: { pointerEvents: "none" }
1606
- }, [O(t.$slots, "chart-background", {}, void 0, !0)], 8, lt)) : y("", !0),
1607
- I.value.type === "classic" && !isNaN(Pr.value / K.value) ? (T(), b("defs", ut, [z.value.useGradient ? (T(), v(Ae, {
1606
+ }, [k(n.$slots, "chart-background", {}, void 0, !0)], 8, lt)) : b("", !0),
1607
+ I.value.type === "classic" && !isNaN(Pr.value / K.value) ? (E(), x("defs", ut, [z.value.useGradient ? (E(), y(ke, {
1608
1608
  key: 0,
1609
1609
  t: "radial",
1610
1610
  id: `gradient_${P.value}`,
1611
1611
  stops: [
1612
1612
  [
1613
1613
  "0%",
1614
- A(u)(z.value.backgroundColor, 0),
1614
+ A(se)(z.value.backgroundColor, 0),
1615
1615
  0
1616
1616
  ],
1617
1617
  [
1618
1618
  `${(1 - Pr.value / K.value) * 100}%`,
1619
- A(u)("#FFFFFF", 0),
1619
+ A(se)("#FFFFFF", 0),
1620
1620
  0
1621
1621
  ],
1622
1622
  [
1623
1623
  `${(1 - Pr.value / K.value / 2) * 100}%`,
1624
- A(u)("#FFFFFF", z.value.gradientIntensity),
1624
+ A(se)("#FFFFFF", z.value.gradientIntensity),
1625
1625
  1
1626
1626
  ],
1627
1627
  [
1628
1628
  "100%",
1629
- A(u)(z.value.backgroundColor, 0),
1629
+ A(se)(z.value.backgroundColor, 0),
1630
1630
  0
1631
1631
  ]
1632
1632
  ]
1633
- }, null, 8, ["id", "stops"])) : y("", !0)])) : y("", !0),
1634
- I.value.type === "polar" ? (T(), b("defs", dt, [(T(!0), b(g, null, D(Y.value, (e, t) => (T(), v(Ae, {
1633
+ }, null, 8, ["id", "stops"])) : b("", !0)])) : b("", !0),
1634
+ I.value.type === "polar" ? (E(), x("defs", dt, [(E(!0), x(_, null, O(Y.value, (e, t) => (E(), y(ke, {
1635
1635
  t: "radial",
1636
1636
  id: `polar_gradient_${t}_${P.value}`,
1637
1637
  key: `pg_${t}_${P.value}`,
@@ -1640,7 +1640,7 @@ var rt = /* @__PURE__ */ e({ default: () => vn }), it = ["id"], at = ["id"], ot
1640
1640
  r: "62%",
1641
1641
  stops: [[
1642
1642
  "0%",
1643
- A(ee)(q.value[t].color, .05),
1643
+ A(o)(q.value[t].color, .05),
1644
1644
  z.value.gradientIntensity / 100
1645
1645
  ], [
1646
1646
  "100%",
@@ -1652,40 +1652,40 @@ var rt = /* @__PURE__ */ e({ default: () => vn }), it = ["id"], at = ["id"], ot
1652
1652
  "cx",
1653
1653
  "cy",
1654
1654
  "stops"
1655
- ]))), 128))])) : y("", !0),
1656
- x("defs", null, [
1657
- x("filter", {
1655
+ ]))), 128))])) : b("", !0),
1656
+ S("defs", null, [
1657
+ S("filter", {
1658
1658
  id: `blur_${P.value}`,
1659
1659
  x: "-50%",
1660
1660
  y: "-50%",
1661
1661
  width: "200%",
1662
1662
  height: "200%"
1663
- }, [x("feGaussianBlur", {
1663
+ }, [S("feGaussianBlur", {
1664
1664
  in: "SourceGraphic",
1665
1665
  stdDeviation: 2,
1666
1666
  id: `blur_std_${P.value}`
1667
- }, null, 8, pt), n[5] ||= x("feColorMatrix", {
1667
+ }, null, 8, pt), r[5] ||= S("feColorMatrix", {
1668
1668
  type: "saturate",
1669
1669
  values: "0"
1670
1670
  }, null, -1)], 8, ft),
1671
- x("filter", {
1671
+ S("filter", {
1672
1672
  id: `shadow_${P.value}`,
1673
1673
  "color-interpolation-filters": "sRGB"
1674
- }, [x("feDropShadow", {
1674
+ }, [S("feDropShadow", {
1675
1675
  dx: "0",
1676
1676
  dy: "0",
1677
1677
  stdDeviation: "10",
1678
1678
  "flood-opacity": "0.5",
1679
1679
  "flood-color": R.value.shadowColor
1680
1680
  }, null, 8, ht)], 8, mt),
1681
- x("filter", {
1681
+ S("filter", {
1682
1682
  id: `drop_shadow_${P.value}`,
1683
1683
  "color-interpolation-filters": "sRGB",
1684
1684
  x: "-50%",
1685
1685
  y: "-50%",
1686
1686
  width: "200%",
1687
1687
  height: "200%"
1688
- }, [x("feDropShadow", {
1688
+ }, [S("feDropShadow", {
1689
1689
  dx: "0",
1690
1690
  dy: "0",
1691
1691
  stdDeviation: "3",
@@ -1693,9 +1693,9 @@ var rt = /* @__PURE__ */ e({ default: () => vn }), it = ["id"], at = ["id"], ot
1693
1693
  "flood-color": R.value.shadowColor
1694
1694
  }, null, 8, _t)], 8, gt)
1695
1695
  ]),
1696
- I.value.type === "classic" ? (T(!0), b(g, { key: 3 }, D(q.value.filter((e) => !e.ghost), (e, t) => (T(), b("g", null, [X(e) && V.value.dataLabels.show ? (T(), b("path", {
1696
+ I.value.type === "classic" ? (E(!0), x(_, { key: 3 }, O(q.value.filter((e) => !e.ghost), (e, t) => (E(), x("g", null, [X(e) && V.value.dataLabels.show ? (E(), x("path", {
1697
1697
  key: 0,
1698
- d: A(Z)[t]?.connectorPath || A(ie)(e, {
1698
+ d: A(Z)[t]?.connectorPath || A(re)(e, {
1699
1699
  x: H.value.width / 2,
1700
1700
  y: H.value.height / 2
1701
1701
  }, 16, 16, !1, !1, Pr.value, 12, cr.value.curvedMarkers),
@@ -1704,17 +1704,17 @@ var rt = /* @__PURE__ */ e({ default: () => vn }), it = ["id"], at = ["id"], ot
1704
1704
  "stroke-linecap": "round",
1705
1705
  "stroke-linejoin": "round",
1706
1706
  fill: "none",
1707
- filter: fi(t)
1708
- }, null, 8, vt)) : y("", !0)]))), 256)) : y("", !0),
1709
- I.value.type === "polar" ? (T(!0), b(g, { key: 4 }, D(q.value.filter((e) => !e.ghost), (e, t) => (T(), b("g", null, [X(e) && V.value.dataLabels.show ? (T(), b("path", {
1707
+ filter: pi(t)
1708
+ }, null, 8, vt)) : b("", !0)]))), 256)) : b("", !0),
1709
+ I.value.type === "polar" ? (E(!0), x(_, { key: 4 }, O(q.value.filter((e) => !e.ghost), (e, t) => (E(), x("g", null, [X(e) && V.value.dataLabels.show ? (E(), x("path", {
1710
1710
  key: 0,
1711
- d: `M ${A(i)({
1711
+ d: `M ${A(g)({
1712
1712
  initX: Y.value[t].middlePoint.x,
1713
1713
  initY: Y.value[t].middlePoint.y,
1714
1714
  offset: 24,
1715
1715
  centerX: H.value.width / 2,
1716
1716
  centerY: H.value.height / 2
1717
- }).x},${A(i)({
1717
+ }).x},${A(g)({
1718
1718
  initX: Y.value[t].middlePoint.x,
1719
1719
  initY: Y.value[t].middlePoint.y,
1720
1720
  offset: 24,
@@ -1726,82 +1726,82 @@ var rt = /* @__PURE__ */ e({ default: () => vn }), it = ["id"], at = ["id"], ot
1726
1726
  "stroke-linecap": "round",
1727
1727
  "stroke-linejoin": "round",
1728
1728
  fill: "none",
1729
- filter: fi(t),
1730
- style: w({ transition: B.value || !I.value.serieToggleAnimation.show ? "none" : `all ${I.value.serieToggleAnimation.durationMs}ms ease-in-out` })
1731
- }, null, 12, yt)) : y("", !0)]))), 256)) : y("", !0),
1732
- I.value.type === "classic" && R.value.useShadow ? (T(), b("circle", {
1729
+ filter: pi(t),
1730
+ style: T({ transition: B.value || !I.value.serieToggleAnimation.show ? "none" : `all ${I.value.serieToggleAnimation.durationMs}ms ease-in-out` })
1731
+ }, null, 12, yt)) : b("", !0)]))), 256)) : b("", !0),
1732
+ I.value.type === "classic" && R.value.useShadow ? (E(), x("circle", {
1733
1733
  key: 5,
1734
1734
  cx: H.value.width / 2,
1735
1735
  cy: H.value.height / 2,
1736
1736
  r: K.value <= 0 ? 10 : K.value,
1737
1737
  fill: z.value.backgroundColor,
1738
1738
  filter: `url(#shadow_${P.value})`
1739
- }, null, 8, bt)) : y("", !0),
1740
- t.$slots.pattern ? (T(), b("g", xt, [(T(!0), b(g, null, D(e.dataset, (e, n) => (T(), b("defs", { key: `pattern-${e.patternIndex}` }, [O(t.$slots, "pattern", We({ ref_for: !0 }, {
1741
- seriesIndex: n,
1742
- patternId: `pattern_${P.value}_${n}`
1743
- }), void 0, !0)]))), 128))])) : y("", !0),
1744
- Q.value && I.value.type === "classic" ? (T(), b(g, { key: 7 }, [
1745
- (T(!0), b(g, null, D(J.value, (e, t) => (T(), b("path", {
1739
+ }, null, 8, bt)) : b("", !0),
1740
+ n.$slots.pattern ? (E(), x("g", xt, [(E(!0), x(_, null, O(e.dataset, (e, t) => (E(), x("defs", { key: `pattern-${e.patternIndex}` }, [k(n.$slots, "pattern", Ue({ ref_for: !0 }, {
1741
+ seriesIndex: t,
1742
+ patternId: `pattern_${P.value}_${t}`
1743
+ }), void 0, !0)]))), 128))])) : b("", !0),
1744
+ Q.value && I.value.type === "classic" ? (E(), x(_, { key: 7 }, [
1745
+ (E(!0), x(_, null, O(J.value, (e, t) => (E(), x("path", {
1746
1746
  stroke: z.value.backgroundColor,
1747
1747
  d: e.arcSlice,
1748
1748
  fill: "#FFFFFF"
1749
1749
  }, null, 8, St))), 256)),
1750
- (T(!0), b(g, null, D(J.value, (e, t) => (T(), b("path", {
1750
+ (E(!0), x(_, null, O(J.value, (e, t) => (E(), x("path", {
1751
1751
  class: "vue-ui-donut-arc-path",
1752
1752
  d: e.arcSlice,
1753
1753
  fill: e.color,
1754
1754
  stroke: R.value.borderColorAuto ? z.value.backgroundColor : R.value.borderColor,
1755
1755
  "stroke-width": R.value.borderWidth,
1756
- filter: fi(t)
1756
+ filter: pi(t)
1757
1757
  }, null, 8, Ct))), 256)),
1758
- t.$slots.pattern ? (T(), b("g", wt, [(T(!0), b(g, null, D(J.value, (e, t) => (T(), b("path", {
1758
+ n.$slots.pattern ? (E(), x("g", wt, [(E(!0), x(_, null, O(J.value, (e, t) => (E(), x("path", {
1759
1759
  class: "vue-ui-donut-arc-path",
1760
1760
  d: e.arcSlice,
1761
1761
  fill: `url(#${e.pattern})`,
1762
1762
  stroke: R.value.borderColorAuto ? z.value.backgroundColor : R.value.borderColor,
1763
1763
  "stroke-width": R.value.borderWidth,
1764
- filter: fi(t)
1765
- }, null, 8, Tt))), 256))])) : y("", !0)
1766
- ], 64)) : y("", !0),
1767
- Q.value && I.value.type === "polar" ? (T(), b(g, { key: 8 }, [q.value.length > 1 ? (T(), b("g", Et, [
1768
- (T(!0), b(g, null, D(J.value, (e, t) => (T(), b("path", {
1764
+ filter: pi(t)
1765
+ }, null, 8, Tt))), 256))])) : b("", !0)
1766
+ ], 64)) : b("", !0),
1767
+ Q.value && I.value.type === "polar" ? (E(), x(_, { key: 8 }, [q.value.length > 1 ? (E(), x("g", Et, [
1768
+ (E(!0), x(_, null, O(J.value, (e, t) => (E(), x("path", {
1769
1769
  stroke: R.value.borderColorAuto ? z.value.backgroundColor : R.value.borderColor,
1770
1770
  d: Y.value[t].path,
1771
1771
  fill: "#FFFFFF",
1772
- style: w({ transition: B.value || !I.value.serieToggleAnimation.show ? "none" : `all ${I.value.serieToggleAnimation.durationMs}ms ease-in-out` })
1772
+ style: T({ transition: B.value || !I.value.serieToggleAnimation.show ? "none" : `all ${I.value.serieToggleAnimation.durationMs}ms ease-in-out` })
1773
1773
  }, null, 12, Dt))), 256)),
1774
- R.value.useShadow ? (T(), b("g", Ot, [(T(!0), b(g, null, D(J.value, (e, t) => (T(), b("path", {
1774
+ R.value.useShadow ? (E(), x("g", Ot, [(E(!0), x(_, null, O(J.value, (e, t) => (E(), x("path", {
1775
1775
  class: "vue-ui-donut-arc-path",
1776
1776
  d: Y.value[t].path,
1777
1777
  fill: "transparent",
1778
1778
  stroke: R.value.borderColorAuto ? z.value.backgroundColor : cr.value.donut.borderColor,
1779
1779
  "stroke-width": R.value.borderWidth,
1780
1780
  filter: `url(#drop_shadow_${P.value})`,
1781
- style: w({ transition: B.value || !I.value.serieToggleAnimation.show ? "none" : `all ${I.value.serieToggleAnimation.durationMs}ms ease-in-out` })
1782
- }, null, 12, kt))), 256))])) : y("", !0),
1783
- t.$slots.pattern ? (T(), b("g", At, [(T(!0), b(g, null, D(J.value, (e, t) => (T(), b("path", {
1781
+ style: T({ transition: B.value || !I.value.serieToggleAnimation.show ? "none" : `all ${I.value.serieToggleAnimation.durationMs}ms ease-in-out` })
1782
+ }, null, 12, kt))), 256))])) : b("", !0),
1783
+ n.$slots.pattern ? (E(), x("g", At, [(E(!0), x(_, null, O(J.value, (e, t) => (E(), x("path", {
1784
1784
  class: "vue-ui-donut-arc-path",
1785
1785
  d: Y.value[t].path,
1786
1786
  fill: `url(#${e.pattern})`,
1787
1787
  stroke: R.value.borderColorAuto ? z.value.backgroundColor : cr.value.donut.borderColor,
1788
1788
  "stroke-width": R.value.borderWidth,
1789
- filter: fi(t),
1790
- style: w({
1789
+ filter: pi(t),
1790
+ style: T({
1791
1791
  transition: B.value || !I.value.serieToggleAnimation.show ? "none" : `all ${I.value.serieToggleAnimation.durationMs}ms ease-in-out`,
1792
1792
  transformOrigin: "center"
1793
1793
  })
1794
- }, null, 12, jt))), 256))])) : y("", !0),
1795
- (T(!0), b(g, null, D(J.value, (e, t) => (T(), b("path", {
1794
+ }, null, 12, jt))), 256))])) : b("", !0),
1795
+ (E(!0), x(_, null, O(J.value, (e, t) => (E(), x("path", {
1796
1796
  class: "vue-ui-donut-arc-path",
1797
1797
  d: Y.value[t].path,
1798
1798
  fill: z.value.useGradient ? `url(#polar_gradient_${t}_${P.value})` : e.color,
1799
1799
  stroke: R.value.borderColorAuto ? z.value.backgroundColor : R.value.borderColor,
1800
1800
  "stroke-width": R.value.borderWidth,
1801
- filter: fi(t),
1802
- style: w({ transition: B.value || !I.value.serieToggleAnimation.show ? "none" : `all ${I.value.serieToggleAnimation.durationMs}ms ease-in-out` })
1801
+ filter: pi(t),
1802
+ style: T({ transition: B.value || !I.value.serieToggleAnimation.show ? "none" : `all ${I.value.serieToggleAnimation.durationMs}ms ease-in-out` })
1803
1803
  }, null, 12, Mt))), 256))
1804
- ])) : (T(), b("g", Nt, [t.$slots.pattern ? (T(), b("circle", {
1804
+ ])) : (E(), x("g", Nt, [n.$slots.pattern ? (E(), x("circle", {
1805
1805
  key: 0,
1806
1806
  cx: H.value.width / 2,
1807
1807
  cy: H.value.height / 2,
@@ -1809,34 +1809,34 @@ var rt = /* @__PURE__ */ e({ default: () => vn }), it = ["id"], at = ["id"], ot
1809
1809
  fill: `url(#pattern_${P.value}_${q.value[0].patternIndex})`,
1810
1810
  stroke: z.value.backgroundColor,
1811
1811
  "stroke-width": R.value.borderWidth
1812
- }, null, 8, Pt)) : y("", !0), x("circle", {
1812
+ }, null, 8, Pt)) : b("", !0), S("circle", {
1813
1813
  cx: H.value.width / 2,
1814
1814
  cy: H.value.height / 2,
1815
1815
  r: K.value,
1816
1816
  fill: z.value.useGradient ? `url(#polar_gradient_0_${P.value})` : q.value[0].color,
1817
1817
  stroke: z.value.backgroundColor,
1818
1818
  "stroke-width": R.value.borderWidth
1819
- }, null, 8, Ft)]))], 64)) : (T(), b(g, { key: 9 }, [I.value.type === "classic" && !Xr.value ? (T(), b("g", It, [(T(!0), b(g, null, D(Zr.value, (e, t) => (T(), b("path", {
1819
+ }, null, 8, Ft)]))], 64)) : (E(), x(_, { key: 9 }, [I.value.type === "classic" && !Xr.value ? (E(), x("g", It, [(E(!0), x(_, null, O(Zr.value, (e, t) => (E(), x("path", {
1820
1820
  class: "vue-ui-donut-arc-path",
1821
1821
  d: e.arcSlice,
1822
1822
  fill: e.color,
1823
1823
  stroke: z.value.backgroundColor,
1824
1824
  "stroke-width": R.value.borderWidth
1825
- }, null, 8, Lt))), 256))])) : y("", !0), x("circle", {
1825
+ }, null, 8, Lt))), 256))])) : b("", !0), S("circle", {
1826
1826
  cx: H.value.width / 2,
1827
1827
  cy: H.value.height / 2,
1828
1828
  r: K.value <= 0 ? 10 : K.value,
1829
1829
  fill: "transparent",
1830
1830
  stroke: z.value.backgroundColor
1831
1831
  }, null, 8, Rt)], 64)),
1832
- z.value.useGradient && I.value.type === "classic" ? (T(), b("circle", {
1832
+ z.value.useGradient && I.value.type === "classic" ? (E(), x("circle", {
1833
1833
  key: 10,
1834
1834
  cx: H.value.width / 2,
1835
1835
  cy: H.value.height / 2,
1836
1836
  r: K.value <= 0 ? 10 : K.value,
1837
1837
  fill: `url(#gradient_${P.value})`
1838
- }, null, 8, zt)) : y("", !0),
1839
- x("circle", {
1838
+ }, null, 8, zt)) : b("", !0),
1839
+ S("circle", {
1840
1840
  ref_key: "circle_hollow",
1841
1841
  ref: Pn,
1842
1842
  style: { pointerEvents: "none" },
@@ -1845,11 +1845,11 @@ var rt = /* @__PURE__ */ e({ default: () => vn }), it = ["id"], at = ["id"], ot
1845
1845
  cy: H.value.height / 2,
1846
1846
  r: Math.max(.1, Pr.value * 1.7)
1847
1847
  }, null, 8, Bt),
1848
- Q.value ? (T(), b(g, { key: 11 }, [q.value.length > 1 || I.value.type === "classic" ? (T(), b("g", Vt, [(T(!0), b(g, null, D(q.value.filter((e) => !e.ghost), (e, t) => (T(), b("path", {
1848
+ Q.value ? (E(), x(_, { key: 11 }, [q.value.length > 1 || I.value.type === "classic" ? (E(), x("g", Vt, [(E(!0), x(_, null, O(q.value.filter((e) => !e.ghost), (e, t) => (E(), x("path", {
1849
1849
  d: I.value.type === "classic" ? e.arcSlice : Y.value[t].path,
1850
1850
  stroke: R.value.borderColorAuto ? z.value.backgroundColor : R.value.borderColor,
1851
1851
  fill: F.value === t ? R.value.selectedColor : "transparent",
1852
- onMouseenter: (n) => $({
1852
+ onMouseenter: (n) => li({
1853
1853
  datapoint: e,
1854
1854
  relativeIndex: t,
1855
1855
  seriesIndex: e.seriesIndex,
@@ -1859,107 +1859,107 @@ var rt = /* @__PURE__ */ e({ default: () => vn }), it = ["id"], at = ["id"], ot
1859
1859
  datapoint: e,
1860
1860
  seriesIndex: e.seriesIndex
1861
1861
  }),
1862
- onClick: (n) => Ci(e, t)
1863
- }, null, 40, Ht))), 256))])) : (T(), b("g", Ut, [x("circle", {
1862
+ onClick: (n) => $(e, t)
1863
+ }, null, 40, Ht))), 256))])) : (E(), x("g", Ut, [S("circle", {
1864
1864
  cx: H.value.width / 2,
1865
1865
  cy: H.value.height / 2,
1866
1866
  r: K.value,
1867
1867
  fill: "transparent",
1868
- onMouseenter: n[0] ||= (e) => $({
1868
+ onMouseenter: r[0] ||= (e) => li({
1869
1869
  datapoint: q.value[0],
1870
1870
  relativeIndex: 0,
1871
1871
  seriesIndex: q.value[0].seriesIndex,
1872
1872
  show: !0
1873
1873
  }),
1874
- onMouseleave: n[1] ||= (e) => ci({
1874
+ onMouseleave: r[1] ||= (e) => ci({
1875
1875
  datapoint: q.value[0],
1876
1876
  seriesIndex: q.value[0].seriesIndex
1877
1877
  }),
1878
- onClick: n[2] ||= (e) => Ci(q.value[0], t.i)
1879
- }, null, 40, Wt)]))], 64)) : y("", !0),
1880
- I.value.type === "classic" ? (T(), b("g", {
1878
+ onClick: r[2] ||= (e) => $(q.value[0], n.i)
1879
+ }, null, 40, Wt)]))], 64)) : b("", !0),
1880
+ I.value.type === "classic" ? (E(), x("g", {
1881
1881
  key: 12,
1882
1882
  ref_key: "G_hollow",
1883
1883
  ref: Nn,
1884
1884
  class: "vue-data-ui-donut-hollow-labels"
1885
1885
  }, [
1886
- L.value.hollow.total.show ? (T(), b("text", {
1886
+ L.value.hollow.total.show ? (E(), x("text", {
1887
1887
  key: 0,
1888
1888
  "text-anchor": "middle",
1889
1889
  x: H.value.width / 2,
1890
1890
  y: H.value.height / 2 - (L.value.hollow.average.show ? L.value.hollow.total.fontSize : 0) + L.value.hollow.total.offsetY,
1891
1891
  fill: L.value.hollow.total.color,
1892
1892
  "font-size": L.value.hollow.total.fontSize,
1893
- style: w(`font-weight:${L.value.hollow.total.bold ? "bold" : ""}`)
1894
- }, k(L.value.hollow.total.text), 13, Gt)) : y("", !0),
1895
- L.value.hollow.total.show ? (T(), b("text", {
1893
+ style: T(`font-weight:${L.value.hollow.total.bold ? "bold" : ""}`)
1894
+ }, Xe(L.value.hollow.total.text), 13, Gt)) : b("", !0),
1895
+ L.value.hollow.total.show ? (E(), x("text", {
1896
1896
  key: 1,
1897
1897
  "text-anchor": "middle",
1898
1898
  x: H.value.width / 2,
1899
1899
  y: H.value.height / 2 + L.value.hollow.total.fontSize - (L.value.hollow.average.show ? L.value.hollow.total.fontSize : 0) + L.value.hollow.total.value.offsetY,
1900
1900
  fill: L.value.hollow.total.value.color,
1901
1901
  "font-size": L.value.hollow.total.value.fontSize,
1902
- style: w(`font-weight:${L.value.hollow.total.value.bold ? "bold" : ""}`)
1903
- }, k(A(m)(L.value.hollow.total.value.formatter, Q.value, A(d)({
1902
+ style: T(`font-weight:${L.value.hollow.total.value.bold ? "bold" : ""}`)
1903
+ }, Xe(A(p)(L.value.hollow.total.value.formatter, Q.value, A(t)({
1904
1904
  p: L.value.hollow.total.value.prefix,
1905
1905
  v: Q.value,
1906
1906
  s: L.value.hollow.total.value.suffix
1907
- }))), 13, Kt)) : y("", !0),
1908
- L.value.hollow.average.show ? (T(), b("text", {
1907
+ }))), 13, Kt)) : b("", !0),
1908
+ L.value.hollow.average.show ? (E(), x("text", {
1909
1909
  key: 2,
1910
1910
  "text-anchor": "middle",
1911
1911
  x: H.value.width / 2,
1912
1912
  y: H.value.height / 2 + (L.value.hollow.total.show ? L.value.hollow.average.fontSize : 0) + L.value.hollow.average.offsetY,
1913
1913
  fill: L.value.hollow.average.color,
1914
1914
  "font-size": L.value.hollow.average.fontSize,
1915
- style: w(`font-weight:${L.value.hollow.average.bold ? "bold" : ""}`)
1916
- }, k(L.value.hollow.average.text), 13, qt)) : y("", !0),
1917
- L.value.hollow.average.show ? (T(), b("text", {
1915
+ style: T(`font-weight:${L.value.hollow.average.bold ? "bold" : ""}`)
1916
+ }, Xe(L.value.hollow.average.text), 13, qt)) : b("", !0),
1917
+ L.value.hollow.average.show ? (E(), x("text", {
1918
1918
  key: 3,
1919
1919
  "text-anchor": "middle",
1920
1920
  x: H.value.width / 2,
1921
1921
  y: H.value.height / 2 + (L.value.hollow.total.show ? L.value.hollow.average.fontSize : 0) + L.value.hollow.average.fontSize + L.value.hollow.average.value.offsetY,
1922
1922
  fill: L.value.hollow.average.value.color,
1923
1923
  "font-size": L.value.hollow.average.value.fontSize,
1924
- style: w(`font-weight:${L.value.hollow.average.value.bold ? "bold" : ""}`)
1925
- }, k(Lr.value || B.value ? "--" : A(m)(L.value.hollow.average.value.formatter, A(de)(ii.value), A(d)({
1924
+ style: T(`font-weight:${L.value.hollow.average.value.bold ? "bold" : ""}`)
1925
+ }, Xe(Lr.value || B.value ? "--" : A(p)(L.value.hollow.average.value.formatter, A(de)(ii.value), A(t)({
1926
1926
  p: L.value.hollow.average.value.prefix,
1927
1927
  v: A(de)(ii.value),
1928
1928
  s: L.value.hollow.average.value.suffix,
1929
1929
  r: L.value.hollow.average.value.rounding
1930
- }))), 13, Jt)) : y("", !0)
1931
- ], 512)) : y("", !0),
1932
- (T(!0), b(g, null, D(J.value.filter((e) => !e.ghost), (e, n) => (T(), b("g", {
1933
- filter: fi(n),
1930
+ }))), 13, Jt)) : b("", !0)
1931
+ ], 512)) : b("", !0),
1932
+ (E(!0), x(_, null, O(J.value.filter((e) => !e.ghost), (e, t) => (E(), x("g", {
1933
+ filter: pi(t),
1934
1934
  key: e.seriesIndex,
1935
- opacity: pi(e)
1936
- }, [L.value.dataLabels.useLabelSlots ? (T(), b("g", Xt, [(T(), b("foreignObject", {
1937
- x: A(p)(e, !0).anchor === "end" ? A(p)(e).x - 120 : A(p)(e, !0).anchor === "middle" ? A(p)(e).x - 60 : A(p)(e).x,
1938
- y: A(h)(e) - (yi.value ? 20 : 0),
1935
+ opacity: mi(e)
1936
+ }, [L.value.dataLabels.useLabelSlots ? (E(), x("g", Xt, [(E(), x("foreignObject", {
1937
+ x: A(f)(e, !0).anchor === "end" ? A(f)(e).x - 120 : A(f)(e, !0).anchor === "middle" ? A(f)(e).x - 60 : A(f)(e).x,
1938
+ y: A(h)(e) - (bi.value ? 20 : 0),
1939
1939
  width: "120",
1940
1940
  height: "60",
1941
1941
  style: { overflow: "visible" }
1942
- }, [x("div", null, [O(t.$slots, "dataLabel", We({ ref_for: !0 }, {
1942
+ }, [S("div", null, [k(n.$slots, "dataLabel", Ue({ ref_for: !0 }, {
1943
1943
  datapoint: e,
1944
- isBlur: !I.value.useBlurOnHover || [null, void 0].includes(F.value) || F.value === n,
1945
- isSafari: yi.value,
1944
+ isBlur: !I.value.useBlurOnHover || [null, void 0].includes(F.value) || F.value === t,
1945
+ isSafari: bi.value,
1946
1946
  isVisible: X(e) && V.value.dataLabels.show,
1947
- textAlign: A(p)(e, !0, 16, !0).anchor,
1948
- flexAlign: A(p)(e, !0, 16).anchor,
1947
+ textAlign: A(f)(e, !0, 16, !0).anchor,
1948
+ flexAlign: A(f)(e, !0, 16).anchor,
1949
1949
  percentage: ti(e, J.value)
1950
- }), void 0, !0)])], 8, Zt))])) : (T(), b("g", Qt, [I.value.type === "classic" ? (T(), b(g, { key: 0 }, [X(e) && V.value.dataLabels.show ? (T(), b("circle", {
1950
+ }), void 0, !0)])], 8, Zt))])) : (E(), x("g", Qt, [I.value.type === "classic" ? (E(), x(_, { key: 0 }, [X(e) && V.value.dataLabels.show ? (E(), x("circle", {
1951
1951
  key: 0,
1952
- cx: A(Z)[n]?.markerX ?? A(p)(e).x,
1953
- cy: A(Z)[n]?.markerY ?? A(h)(e) - 3.5,
1952
+ cx: A(Z)[t]?.markerX ?? A(f)(e).x,
1953
+ cy: A(Z)[t]?.markerY ?? A(h)(e) - 3.5,
1954
1954
  fill: e.color,
1955
1955
  stroke: z.value.backgroundColor,
1956
1956
  "stroke-width": 1,
1957
1957
  r: 3,
1958
- filter: !I.value.useBlurOnHover || [null, void 0].includes(F.value) || F.value === n ? "" : `url(#blur_${P.value})`,
1959
- onClick: (t) => Ci(e, n),
1960
- onMouseenter: (t) => $({
1958
+ filter: !I.value.useBlurOnHover || [null, void 0].includes(F.value) || F.value === t ? "" : `url(#blur_${P.value})`,
1959
+ onClick: (n) => $(e, t),
1960
+ onMouseenter: (n) => li({
1961
1961
  datapoint: e,
1962
- relativeIndex: n,
1962
+ relativeIndex: t,
1963
1963
  seriesIndex: e.seriesIndex,
1964
1964
  show: !0
1965
1965
  }),
@@ -1967,16 +1967,16 @@ var rt = /* @__PURE__ */ e({ default: () => vn }), it = ["id"], at = ["id"], ot
1967
1967
  datapoint: e,
1968
1968
  seriesIndex: e.seriesIndex
1969
1969
  })
1970
- }, null, 40, $t)) : y("", !0), L.value.dataLabels.oneLine || A(Z)[n] ? tt((T(), b("text", {
1970
+ }, null, 40, $t)) : b("", !0), L.value.dataLabels.oneLine || A(Z)[t] ? tt((E(), x("text", {
1971
1971
  key: 1,
1972
1972
  class: "vue-data-ui-datalabel-inline",
1973
- "text-anchor": A(Z)[n]?.textAnchor || A(p)(e, !0, 12).anchor,
1974
- x: A(Z)[n]?.labelX ?? A(p)(e, !0, 12).x,
1975
- y: A(Z)[n]?.labelY ?? A(h)(e),
1976
- onClick: (t) => Ci(e, n),
1977
- onMouseenter: (t) => $({
1973
+ "text-anchor": A(Z)[t]?.textAnchor || A(f)(e, !0, 12).anchor,
1974
+ x: A(Z)[t]?.labelX ?? A(f)(e, !0, 12).x,
1975
+ y: A(Z)[t]?.labelY ?? A(h)(e),
1976
+ onClick: (n) => $(e, t),
1977
+ onMouseenter: (n) => li({
1978
1978
  datapoint: e,
1979
- relativeIndex: n,
1979
+ relativeIndex: t,
1980
1980
  seriesIndex: e.seriesIndex,
1981
1981
  show: !0
1982
1982
  }),
@@ -1984,19 +1984,19 @@ var rt = /* @__PURE__ */ e({ default: () => vn }), it = ["id"], at = ["id"], ot
1984
1984
  datapoint: e,
1985
1985
  seriesIndex: e.seriesIndex
1986
1986
  }),
1987
- innerHTML: ui(e, n, !!A(Z)[n])
1988
- }, null, 40, en)), [[$e, X(e) && V.value.dataLabels.show]]) : (T(), b(g, { key: 2 }, [tt(x("text", {
1987
+ innerHTML: di(e, t, !!A(Z)[t])
1988
+ }, null, 40, en)), [[$e, X(e) && V.value.dataLabels.show]]) : (E(), x(_, { key: 2 }, [tt(S("text", {
1989
1989
  class: "vue-data-ui-datalabel-value",
1990
- "text-anchor": A(Z)[n]?.textAnchor || A(p)(e, !0, 12).anchor,
1991
- x: A(Z)[n]?.labelX ?? A(p)(e, !0, 12).x,
1992
- y: A(Z)[n]?.labelY ?? A(h)(e),
1990
+ "text-anchor": A(Z)[t]?.textAnchor || A(f)(e, !0, 12).anchor,
1991
+ x: A(Z)[t]?.labelX ?? A(f)(e, !0, 12).x,
1992
+ y: A(Z)[t]?.labelY ?? A(h)(e),
1993
1993
  fill: L.value.percentage.color,
1994
1994
  "font-size": Zn.value + "px",
1995
- style: w(`font-weight:${L.value.percentage.bold ? "bold" : ""}`),
1996
- onClick: (t) => Ci(e, n),
1997
- onMouseenter: (t) => $({
1995
+ style: T(`font-weight:${L.value.percentage.bold ? "bold" : ""}`),
1996
+ onClick: (n) => $(e, t),
1997
+ onMouseenter: (n) => li({
1998
1998
  datapoint: e,
1999
- relativeIndex: n,
1999
+ relativeIndex: t,
2000
2000
  seriesIndex: e.seriesIndex,
2001
2001
  show: !0
2002
2002
  }),
@@ -2004,18 +2004,18 @@ var rt = /* @__PURE__ */ e({ default: () => vn }), it = ["id"], at = ["id"], ot
2004
2004
  datapoint: e,
2005
2005
  seriesIndex: e.seriesIndex
2006
2006
  })
2007
- }, k(Si(e)), 45, tn), [[$e, X(e) && V.value.dataLabels.show]]), tt(x("text", {
2007
+ }, Xe(Ci(e)), 45, tn), [[$e, X(e) && V.value.dataLabels.show]]), tt(S("text", {
2008
2008
  class: "vue-data-ui-datalabel-name",
2009
- "text-anchor": A(Z)[n]?.textAnchor || A(p)(e).anchor,
2010
- x: A(Z)[n]?.labelX ?? A(p)(e, !0, 12).x,
2011
- y: (A(Z)[n]?.labelY ?? A(h)(e)) + N.value * 1.2,
2009
+ "text-anchor": A(Z)[t]?.textAnchor || A(f)(e).anchor,
2010
+ x: A(Z)[t]?.labelX ?? A(f)(e, !0, 12).x,
2011
+ y: (A(Z)[t]?.labelY ?? A(h)(e)) + N.value * 1.2,
2012
2012
  fill: L.value.name.color,
2013
2013
  "font-size": N.value + "px",
2014
- style: w(`font-weight:${L.value.name.bold ? "bold" : ""}`),
2015
- onClick: (t) => Ci(e, n),
2016
- onMouseenter: (t) => $({
2014
+ style: T(`font-weight:${L.value.name.bold ? "bold" : ""}`),
2015
+ onClick: (n) => $(e, t),
2016
+ onMouseenter: (n) => li({
2017
2017
  datapoint: e,
2018
- relativeIndex: n,
2018
+ relativeIndex: t,
2019
2019
  seriesIndex: e.seriesIndex,
2020
2020
  show: !0
2021
2021
  }),
@@ -2023,25 +2023,25 @@ var rt = /* @__PURE__ */ e({ default: () => vn }), it = ["id"], at = ["id"], ot
2023
2023
  datapoint: e,
2024
2024
  seriesIndex: e.seriesIndex
2025
2025
  }),
2026
- innerHTML: A(a)({
2026
+ innerHTML: A(ee)({
2027
2027
  content: e.name,
2028
2028
  fontSize: N.value,
2029
2029
  fill: L.value.name.color,
2030
- x: A(Z)[n]?.labelX ?? A(p)(e, !0, 12).x,
2031
- y: (A(Z)[n]?.labelY ?? A(h)(e)) + N.value
2030
+ x: A(Z)[t]?.labelX ?? A(f)(e, !0, 12).x,
2031
+ y: (A(Z)[t]?.labelY ?? A(h)(e)) + N.value
2032
2032
  })
2033
- }, null, 44, nn), [[$e, X(e, !0, 12) && V.value.dataLabels.show && L.value.name.show]])], 64))], 64)) : y("", !0), I.value.type === "polar" ? (T(), b(g, { key: 1 }, [X(e) && V.value.dataLabels.show ? (T(), b("circle", {
2033
+ }, null, 44, nn), [[$e, X(e, !0, 12) && V.value.dataLabels.show && L.value.name.show]])], 64))], 64)) : b("", !0), I.value.type === "polar" ? (E(), x(_, { key: 1 }, [X(e) && V.value.dataLabels.show ? (E(), x("circle", {
2034
2034
  key: 0,
2035
- cx: A(i)({
2036
- initX: Y.value[n].middlePoint.x,
2037
- initY: Y.value[n].middlePoint.y,
2035
+ cx: A(g)({
2036
+ initX: Y.value[t].middlePoint.x,
2037
+ initY: Y.value[t].middlePoint.y,
2038
2038
  offset: 24,
2039
2039
  centerX: H.value.width / 2,
2040
2040
  centerY: H.value.height / 2
2041
2041
  }).x,
2042
- cy: A(i)({
2043
- initX: Y.value[n].middlePoint.x,
2044
- initY: Y.value[n].middlePoint.y,
2042
+ cy: A(g)({
2043
+ initX: Y.value[t].middlePoint.x,
2044
+ initY: Y.value[t].middlePoint.y,
2045
2045
  offset: 24,
2046
2046
  centerX: H.value.width / 2,
2047
2047
  centerY: H.value.height / 2
@@ -2050,11 +2050,11 @@ var rt = /* @__PURE__ */ e({ default: () => vn }), it = ["id"], at = ["id"], ot
2050
2050
  stroke: z.value.backgroundColor,
2051
2051
  "stroke-width": 1,
2052
2052
  r: 3,
2053
- filter: !I.value.useBlurOnHover || [null, void 0].includes(F.value) || F.value === n ? "" : `url(#blur_${P.value})`,
2054
- onClick: (t) => Ci(e, n),
2055
- onMouseenter: (t) => $({
2053
+ filter: !I.value.useBlurOnHover || [null, void 0].includes(F.value) || F.value === t ? "" : `url(#blur_${P.value})`,
2054
+ onClick: (n) => $(e, t),
2055
+ onMouseenter: (n) => li({
2056
2056
  datapoint: e,
2057
- relativeIndex: n,
2057
+ relativeIndex: t,
2058
2058
  seriesIndex: e.seriesIndex,
2059
2059
  show: !0
2060
2060
  }),
@@ -2062,30 +2062,30 @@ var rt = /* @__PURE__ */ e({ default: () => vn }), it = ["id"], at = ["id"], ot
2062
2062
  datapoint: e,
2063
2063
  seriesIndex: e.seriesIndex
2064
2064
  }),
2065
- style: w({ transition: B.value || !I.value.serieToggleAnimation.show ? "none" : `all ${I.value.serieToggleAnimation.durationMs}ms ease-in-out` })
2066
- }, null, 44, rn)) : y("", !0), L.value.dataLabels.oneLine ? tt((T(), b("text", {
2065
+ style: T({ transition: B.value || !I.value.serieToggleAnimation.show ? "none" : `all ${I.value.serieToggleAnimation.durationMs}ms ease-in-out` })
2066
+ }, null, 44, rn)) : b("", !0), L.value.dataLabels.oneLine ? tt((E(), x("text", {
2067
2067
  key: 1,
2068
2068
  class: "vue-data-ui-datalabel-inline",
2069
- "text-anchor": Qr(Y.value[n].middlePoint),
2070
- x: A(i)({
2071
- initX: Y.value[n].middlePoint.x,
2072
- initY: Y.value[n].middlePoint.y,
2069
+ "text-anchor": Qr(Y.value[t].middlePoint),
2070
+ x: A(g)({
2071
+ initX: Y.value[t].middlePoint.x,
2072
+ initY: Y.value[t].middlePoint.y,
2073
2073
  offset: 42,
2074
2074
  centerX: H.value.width / 2,
2075
2075
  centerY: H.value.height / 2
2076
2076
  }).x,
2077
- y: A(i)({
2078
- initX: Y.value[n].middlePoint.x,
2079
- initY: Y.value[n].middlePoint.y,
2077
+ y: A(g)({
2078
+ initX: Y.value[t].middlePoint.x,
2079
+ initY: Y.value[t].middlePoint.y,
2080
2080
  offset: 42,
2081
2081
  centerX: H.value.width / 2,
2082
2082
  centerY: H.value.height / 2
2083
2083
  }).y,
2084
- style: w({ transition: B.value || !I.value.serieToggleAnimation.show ? "none" : `all ${I.value.serieToggleAnimation.durationMs}ms ease-in-out` }),
2085
- onClick: (t) => Ci(e, n),
2086
- onMouseenter: (t) => $({
2084
+ style: T({ transition: B.value || !I.value.serieToggleAnimation.show ? "none" : `all ${I.value.serieToggleAnimation.durationMs}ms ease-in-out` }),
2085
+ onClick: (n) => $(e, t),
2086
+ onMouseenter: (n) => li({
2087
2087
  datapoint: e,
2088
- relativeIndex: n,
2088
+ relativeIndex: t,
2089
2089
  seriesIndex: e.seriesIndex,
2090
2090
  show: !0
2091
2091
  }),
@@ -2093,35 +2093,35 @@ var rt = /* @__PURE__ */ e({ default: () => vn }), it = ["id"], at = ["id"], ot
2093
2093
  datapoint: e,
2094
2094
  seriesIndex: e.seriesIndex
2095
2095
  }),
2096
- innerHTML: di(e, n)
2097
- }, null, 44, an)), [[$e, X(e) && V.value.dataLabels.show]]) : (T(), b(g, { key: 2 }, [X(e) && V.value.dataLabels.show ? (T(), b("text", {
2096
+ innerHTML: fi(e, t)
2097
+ }, null, 44, an)), [[$e, X(e) && V.value.dataLabels.show]]) : (E(), x(_, { key: 2 }, [X(e) && V.value.dataLabels.show ? (E(), x("text", {
2098
2098
  key: 0,
2099
2099
  class: "vue-data-ui-datalabel-value",
2100
- "text-anchor": Qr(Y.value[n].middlePoint),
2101
- x: A(i)({
2102
- initX: Y.value[n].middlePoint.x,
2103
- initY: Y.value[n].middlePoint.y,
2100
+ "text-anchor": Qr(Y.value[t].middlePoint),
2101
+ x: A(g)({
2102
+ initX: Y.value[t].middlePoint.x,
2103
+ initY: Y.value[t].middlePoint.y,
2104
2104
  offset: 42,
2105
2105
  centerX: H.value.width / 2,
2106
2106
  centerY: H.value.height / 2
2107
2107
  }).x,
2108
- y: A(i)({
2109
- initX: Y.value[n].middlePoint.x,
2110
- initY: Y.value[n].middlePoint.y,
2108
+ y: A(g)({
2109
+ initX: Y.value[t].middlePoint.x,
2110
+ initY: Y.value[t].middlePoint.y,
2111
2111
  offset: 42,
2112
2112
  centerX: H.value.width / 2,
2113
2113
  centerY: H.value.height / 2
2114
2114
  }).y,
2115
2115
  fill: L.value.percentage.color,
2116
2116
  "font-size": Zn.value,
2117
- style: w({
2117
+ style: T({
2118
2118
  transition: B.value || !I.value.serieToggleAnimation.show ? "none" : `all ${I.value.serieToggleAnimation.durationMs}ms ease-in-out`,
2119
2119
  fontWeight: L.value.percentage.bold ? "bold" : "normal"
2120
2120
  }),
2121
- onClick: (t) => Ci(e, n),
2122
- onMouseenter: (t) => $({
2121
+ onClick: (n) => $(e, t),
2122
+ onMouseenter: (n) => li({
2123
2123
  datapoint: e,
2124
- relativeIndex: n,
2124
+ relativeIndex: t,
2125
2125
  seriesIndex: e.seriesIndex,
2126
2126
  show: !0
2127
2127
  }),
@@ -2129,34 +2129,34 @@ var rt = /* @__PURE__ */ e({ default: () => vn }), it = ["id"], at = ["id"], ot
2129
2129
  datapoint: e,
2130
2130
  seriesIndex: e.seriesIndex
2131
2131
  })
2132
- }, k(Si(e)), 45, on)) : y("", !0), X(e, !0, 12) && V.value.dataLabels.show && L.value.name.show ? (T(), b("text", {
2132
+ }, Xe(Ci(e)), 45, on)) : b("", !0), X(e, !0, 12) && V.value.dataLabels.show && L.value.name.show ? (E(), x("text", {
2133
2133
  key: 1,
2134
2134
  class: "vue-data-ui-datalabel-name",
2135
- "text-anchor": Qr(Y.value[n].middlePoint),
2136
- x: A(i)({
2137
- initX: Y.value[n].middlePoint.x,
2138
- initY: Y.value[n].middlePoint.y,
2135
+ "text-anchor": Qr(Y.value[t].middlePoint),
2136
+ x: A(g)({
2137
+ initX: Y.value[t].middlePoint.x,
2138
+ initY: Y.value[t].middlePoint.y,
2139
2139
  offset: 42,
2140
2140
  centerX: H.value.width / 2,
2141
2141
  centerY: H.value.height / 2
2142
2142
  }).x,
2143
- y: A(i)({
2144
- initX: Y.value[n].middlePoint.x,
2145
- initY: Y.value[n].middlePoint.y,
2143
+ y: A(g)({
2144
+ initX: Y.value[t].middlePoint.x,
2145
+ initY: Y.value[t].middlePoint.y,
2146
2146
  offset: 42,
2147
2147
  centerX: H.value.width / 2,
2148
2148
  centerY: H.value.height / 2
2149
2149
  }).y + N.value * 1.2,
2150
2150
  fill: L.value.name.color,
2151
2151
  "font-size": N.value,
2152
- style: w({
2152
+ style: T({
2153
2153
  transition: B.value || !I.value.serieToggleAnimation.show ? "none" : `all ${I.value.serieToggleAnimation.durationMs}ms ease-in-out`,
2154
2154
  fontWeight: L.value.name.bold ? "bold" : "normal"
2155
2155
  }),
2156
- onClick: (t) => Ci(e, n),
2157
- onMouseenter: (t) => $({
2156
+ onClick: (n) => $(e, t),
2157
+ onMouseenter: (n) => li({
2158
2158
  datapoint: e,
2159
- relativeIndex: n,
2159
+ relativeIndex: t,
2160
2160
  seriesIndex: e.seriesIndex,
2161
2161
  show: !0
2162
2162
  }),
@@ -2164,28 +2164,28 @@ var rt = /* @__PURE__ */ e({ default: () => vn }), it = ["id"], at = ["id"], ot
2164
2164
  datapoint: e,
2165
2165
  seriesIndex: e.seriesIndex
2166
2166
  }),
2167
- innerHTML: A(a)({
2167
+ innerHTML: A(ee)({
2168
2168
  content: e.name,
2169
2169
  fontSize: N.value,
2170
2170
  fill: L.value.name.color,
2171
- x: A(i)({
2172
- initX: Y.value[n].middlePoint.x,
2173
- initY: Y.value[n].middlePoint.y,
2171
+ x: A(g)({
2172
+ initX: Y.value[t].middlePoint.x,
2173
+ initY: Y.value[t].middlePoint.y,
2174
2174
  offset: 42,
2175
2175
  centerX: H.value.width / 2,
2176
2176
  centerY: H.value.height / 2
2177
2177
  }).x,
2178
- y: A(i)({
2179
- initX: Y.value[n].middlePoint.x,
2180
- initY: Y.value[n].middlePoint.y,
2178
+ y: A(g)({
2179
+ initX: Y.value[t].middlePoint.x,
2180
+ initY: Y.value[t].middlePoint.y,
2181
2181
  offset: 42,
2182
2182
  centerX: H.value.width / 2,
2183
2183
  centerY: H.value.height / 2
2184
2184
  }).y + N.value * 1.2
2185
2185
  })
2186
- }, null, 44, sn)) : y("", !0)], 64))], 64)) : y("", !0)])), V.value.dataLabels.show && z.value.comments.show && e.comment ? (T(), b("g", cn, [X(e) && I.value.type === "classic" ? (T(), b("foreignObject", {
2186
+ }, null, 44, sn)) : b("", !0)], 64))], 64)) : b("", !0)])), V.value.dataLabels.show && z.value.comments.show && e.comment ? (E(), x("g", cn, [X(e) && I.value.type === "classic" ? (E(), x("foreignObject", {
2187
2187
  key: 0,
2188
- x: z.value.comments.offsetX + (A(p)(e, !0).anchor === "end" ? A(p)(e).x - z.value.comments.width : A(p)(e, !0).anchor === "middle" ? A(p)(e).x - z.value.comments.width / 2 : A(p)(e).x),
2188
+ x: z.value.comments.offsetX + (A(f)(e, !0).anchor === "end" ? A(f)(e).x - z.value.comments.width : A(f)(e, !0).anchor === "middle" ? A(f)(e).x - z.value.comments.width / 2 : A(f)(e).x),
2189
2189
  y: A(h)(e) + 24 + z.value.comments.offsetY,
2190
2190
  width: z.value.comments.width,
2191
2191
  height: "200",
@@ -2193,76 +2193,76 @@ var rt = /* @__PURE__ */ e({ default: () => vn }), it = ["id"], at = ["id"], ot
2193
2193
  overflow: "visible",
2194
2194
  "pointer-events": "none"
2195
2195
  }
2196
- }, [x("div", null, [O(t.$slots, "plot-comment", { plot: {
2196
+ }, [S("div", null, [k(n.$slots, "plot-comment", { plot: {
2197
2197
  ...e,
2198
- textAlign: A(p)(e, !0, 16, !0).anchor,
2199
- flexAlign: A(p)(e, !0, 16).anchor,
2198
+ textAlign: A(f)(e, !0, 16, !0).anchor,
2199
+ flexAlign: A(f)(e, !0, 16).anchor,
2200
2200
  isFirstLoad: B.value
2201
- } }, void 0, !0)])], 8, ln)) : y("", !0), X(e) && I.value.type === "polar" ? (T(), b("foreignObject", {
2201
+ } }, void 0, !0)])], 8, ln)) : b("", !0), X(e) && I.value.type === "polar" ? (E(), x("foreignObject", {
2202
2202
  key: 1,
2203
- x: z.value.comments.offsetX + (Qr(Y.value[n].middlePoint) === "end" ? A(i)({
2204
- initX: Y.value[n].middlePoint.x,
2205
- initY: Y.value[n].middlePoint.y,
2203
+ x: z.value.comments.offsetX + (Qr(Y.value[t].middlePoint) === "end" ? A(g)({
2204
+ initX: Y.value[t].middlePoint.x,
2205
+ initY: Y.value[t].middlePoint.y,
2206
2206
  offset: 42,
2207
2207
  centerX: H.value.width / 2,
2208
2208
  centerY: H.value.height / 2
2209
- }).x - z.value.comments.width : Qr(Y.value[n].middlePoint) === "middle" ? A(i)({
2210
- initX: Y.value[n].middlePoint.x,
2211
- initY: Y.value[n].middlePoint.y,
2209
+ }).x - z.value.comments.width : Qr(Y.value[t].middlePoint) === "middle" ? A(g)({
2210
+ initX: Y.value[t].middlePoint.x,
2211
+ initY: Y.value[t].middlePoint.y,
2212
2212
  offset: 42,
2213
2213
  centerX: H.value.width / 2,
2214
2214
  centerY: H.value.height / 2
2215
- }).x - z.value.comments.width / 2 : A(i)({
2216
- initX: Y.value[n].middlePoint.x,
2217
- initY: Y.value[n].middlePoint.y,
2215
+ }).x - z.value.comments.width / 2 : A(g)({
2216
+ initX: Y.value[t].middlePoint.x,
2217
+ initY: Y.value[t].middlePoint.y,
2218
2218
  offset: 42,
2219
2219
  centerX: H.value.width / 2,
2220
2220
  centerY: H.value.height / 2
2221
2221
  }).x),
2222
- y: $r(Y.value[n]) + z.value.comments.offsetY,
2222
+ y: $r(Y.value[t]) + z.value.comments.offsetY,
2223
2223
  width: z.value.comments.width,
2224
2224
  height: "200",
2225
- style: w({
2225
+ style: T({
2226
2226
  transition: B.value || !I.value.serieToggleAnimation.show ? "none" : `all ${I.value.serieToggleAnimation.durationMs}ms ease-in-out`,
2227
2227
  overflow: "visible",
2228
2228
  pointerEvents: "none"
2229
2229
  })
2230
- }, [x("div", null, [O(t.$slots, "plot-comment", { plot: {
2230
+ }, [S("div", null, [k(n.$slots, "plot-comment", { plot: {
2231
2231
  ...e,
2232
- textAlign: Qr(Y.value[n].middlePoint),
2233
- flexAlign: Qr(Y.value[n].middlePoint),
2232
+ textAlign: Qr(Y.value[t].middlePoint),
2233
+ flexAlign: Qr(Y.value[t].middlePoint),
2234
2234
  isFirstLoad: B.value
2235
- } }, void 0, !0)])], 12, un)) : y("", !0)])) : y("", !0)], 8, Yt))), 128)),
2236
- O(t.$slots, "svg", { svg: {
2235
+ } }, void 0, !0)])], 12, un)) : b("", !0)])) : b("", !0)], 8, Yt))), 128)),
2236
+ k(n.$slots, "svg", { svg: {
2237
2237
  ...H.value,
2238
2238
  datapoints: q.value,
2239
2239
  isPrintingImg: A(Or) || A(kr) || A(Li),
2240
2240
  isPrintingSvg: A(Ri)
2241
2241
  } }, void 0, !0)
2242
- ], 512)], 46, ct)), t.$slots.hint ? (T(), b("div", dn, [O(t.$slots, "hint", C(S({
2242
+ ], 512)], 46, ct)), n.$slots.hint ? (E(), x("div", dn, [k(n.$slots, "hint", w(C({
2243
2243
  hint: I.value.a11y.translations.keyboardNavigation,
2244
2244
  isVisible: Xn.value
2245
- })), void 0, !0)])) : y("", !0)]),
2246
- t.$slots.watermark ? (T(), b("div", fn, [O(t.$slots, "watermark", C(S({ isPrinting: A(Or) || A(kr) || A(Li) || A(Ri) })), void 0, !0)])) : y("", !0),
2247
- x("div", { id: `legend-bottom-${P.value}` }, null, 8, pn),
2248
- Wn.value && (z.value.legend.show || t.$slots.legend) ? (T(), v(ze, {
2245
+ })), void 0, !0)])) : b("", !0)]),
2246
+ n.$slots.watermark ? (E(), x("div", fn, [k(n.$slots, "watermark", w(C({ isPrinting: A(Or) || A(kr) || A(Li) || A(Ri) })), void 0, !0)])) : b("", !0),
2247
+ S("div", { id: `legend-bottom-${P.value}` }, null, 8, pn),
2248
+ Wn.value && (z.value.legend.show || n.$slots.legend) ? (E(), y(Re, {
2249
2249
  key: 6,
2250
2250
  to: z.value.legend.position === "top" ? `#legend-top-${P.value}` : `#legend-bottom-${P.value}`
2251
- }, [x("div", {
2251
+ }, [S("div", {
2252
2252
  ref_key: "chartLegend",
2253
2253
  ref: In
2254
- }, [O(t.$slots, "legend", { legend: Jr.value }, () => [z.value.legend.show ? (T(), v(Re, {
2254
+ }, [k(n.$slots, "legend", { legend: Jr.value }, () => [z.value.legend.show ? (E(), y(Le, {
2255
2255
  key: `legend_${Un.value}`,
2256
2256
  legendSet: Jr.value,
2257
2257
  config: Yr.value,
2258
- onClickMarker: n[3] ||= ({ i: e }) => Hr(e),
2258
+ onClickMarker: r[3] ||= ({ i: e }) => Hr(e),
2259
2259
  isCursorPointer: lr.value
2260
- }, Be({
2261
- item: j(({ legend: e, index: t }) => [x("div", {
2262
- style: w(`opacity:${G.value.includes(t) ? .5 : 1}`),
2260
+ }, ze({
2261
+ item: j(({ legend: e, index: t }) => [S("div", {
2262
+ style: T(`opacity:${G.value.includes(t) ? .5 : 1}`),
2263
2263
  onClick: (t) => e.segregate()
2264
- }, k(e.display), 13, mn)]),
2265
- legendToggle: j(() => [Jr.value.length > 2 && z.value.legend.selectAllToggle.show && !A(dr) ? (T(), v(je, {
2264
+ }, Xe(e.display), 13, mn)]),
2265
+ legendToggle: j(() => [Jr.value.length > 2 && z.value.legend.selectAllToggle.show && !A(dr) ? (E(), y(Ae, {
2266
2266
  key: 0,
2267
2267
  backgroundColor: z.value.legend.selectAllToggle.backgroundColor,
2268
2268
  color: z.value.legend.selectAllToggle.color,
@@ -2276,11 +2276,11 @@ var rt = /* @__PURE__ */ e({ default: () => vn }), it = ["id"], at = ["id"], ot
2276
2276
  "fontSize",
2277
2277
  "checked",
2278
2278
  "isCursorPointer"
2279
- ])) : y("", !0)]),
2279
+ ])) : b("", !0)]),
2280
2280
  _: 2
2281
- }, [t.$slots.pattern ? {
2281
+ }, [n.$slots.pattern ? {
2282
2282
  name: "legend-pattern",
2283
- fn: j(({ legend: e, index: t }) => [He(Ee, {
2283
+ fn: j(({ legend: e, index: t }) => [Ve(Te, {
2284
2284
  shape: e.shape,
2285
2285
  radius: 30,
2286
2286
  stroke: "none",
@@ -2295,20 +2295,20 @@ var rt = /* @__PURE__ */ e({ default: () => vn }), it = ["id"], at = ["id"], ot
2295
2295
  "legendSet",
2296
2296
  "config",
2297
2297
  "isCursorPointer"
2298
- ])) : y("", !0)], !0)], 512)], 8, ["to"])) : y("", !0),
2299
- t.$slots.source ? (T(), b("div", {
2298
+ ])) : b("", !0)], !0)], 512)], 8, ["to"])) : b("", !0),
2299
+ n.$slots.source ? (E(), x("div", {
2300
2300
  key: 7,
2301
2301
  ref_key: "source",
2302
2302
  ref: zn,
2303
2303
  dir: "auto"
2304
- }, [O(t.$slots, "source", {}, void 0, !0)], 512)) : y("", !0),
2305
- t.$slots.hollow ? (T(), b("div", hn, [O(t.$slots, "hollow", C(S({
2304
+ }, [k(n.$slots, "source", {}, void 0, !0)], 512)) : b("", !0),
2305
+ n.$slots.hollow ? (E(), x("div", hn, [k(n.$slots, "hollow", w(C({
2306
2306
  total: Q.value,
2307
2307
  average: ii.value,
2308
2308
  dataset: U.value,
2309
2309
  ...H.value
2310
- })), void 0, !0)])) : y("", !0),
2311
- He(A(vn), {
2310
+ })), void 0, !0)])) : b("", !0),
2311
+ Ve(A(vn), {
2312
2312
  teleportTo: z.value.tooltip.teleportTo,
2313
2313
  show: V.value.showTooltip && ir.value,
2314
2314
  backgroundColor: z.value.tooltip.backgroundColor,
@@ -2324,7 +2324,7 @@ var rt = /* @__PURE__ */ e({ default: () => vn }), it = ["id"], at = ["id"], ot
2324
2324
  parent: jn.value,
2325
2325
  content: ar.value,
2326
2326
  isCustom: si.value,
2327
- isFullscreen: _i.value,
2327
+ isFullscreen: vi.value,
2328
2328
  smooth: z.value.tooltip.smooth,
2329
2329
  backdropFilter: z.value.tooltip.backdropFilter,
2330
2330
  smoothForce: z.value.tooltip.smoothForce,
@@ -2332,9 +2332,9 @@ var rt = /* @__PURE__ */ e({ default: () => vn }), it = ["id"], at = ["id"], ot
2332
2332
  isA11yMode: Yn.value === "keyboard",
2333
2333
  a11yPosition: Jn.value
2334
2334
  }, {
2335
- "tooltip-before": j(() => [O(t.$slots, "tooltip-before", C(S({ ...oi.value })), void 0, !0)]),
2336
- tooltip: j(() => [O(t.$slots, "tooltip", C(S({ ...oi.value })), void 0, !0)]),
2337
- "tooltip-after": j(() => [O(t.$slots, "tooltip-after", C(S({ ...oi.value })), void 0, !0)]),
2335
+ "tooltip-before": j(() => [k(n.$slots, "tooltip-before", w(C({ ...oi.value })), void 0, !0)]),
2336
+ tooltip: j(() => [k(n.$slots, "tooltip", w(C({ ...oi.value })), void 0, !0)]),
2337
+ "tooltip-after": j(() => [k(n.$slots, "tooltip-after", w(C({ ...oi.value })), void 0, !0)]),
2338
2338
  _: 3
2339
2339
  }, 8, [
2340
2340
  "teleportTo",
@@ -2360,32 +2360,32 @@ var rt = /* @__PURE__ */ e({ default: () => vn }), it = ["id"], at = ["id"], ot
2360
2360
  "isA11yMode",
2361
2361
  "a11yPosition"
2362
2362
  ]),
2363
- An.value && I.value.userOptions.buttons.table ? (T(), v(Ye(ji.value.component), We({ key: 9 }, ji.value.props, {
2363
+ An.value && I.value.userOptions.buttons.table ? (E(), y(Je(ji.value.component), Ue({ key: 9 }, ji.value.props, {
2364
2364
  ref_key: "tableUnit",
2365
2365
  ref: Gn,
2366
2366
  onClose: Mi
2367
- }), Be({
2368
- content: j(() => [(T(), v(A(xn), {
2367
+ }), ze({
2368
+ content: j(() => [(E(), y(A(xn), {
2369
2369
  key: `table_${Hn.value}`,
2370
- colNames: gi.value.colNames,
2371
- head: gi.value.head,
2372
- body: gi.value.body,
2373
- config: gi.value.config,
2370
+ colNames: _i.value.colNames,
2371
+ head: _i.value.head,
2372
+ body: _i.value.body,
2373
+ config: _i.value.config,
2374
2374
  title: I.value.table.useDialog ? "" : ji.value.title,
2375
2375
  withCloseButton: !I.value.table.useDialog,
2376
2376
  isCursorPointer: lr.value,
2377
2377
  onClose: Mi
2378
2378
  }, {
2379
- th: j(({ th: e }) => [e === "__SUM__" ? (T(), b("div", gn, [He(A(yn), {
2379
+ th: j(({ th: e }) => [e === "__SUM__" ? (E(), x("div", gn, [Ve(A(yn), {
2380
2380
  name: "sigma",
2381
- stroke: gi.value.config.th.color,
2381
+ stroke: _i.value.config.th.color,
2382
2382
  size: 16
2383
- }, null, 8, ["stroke"])])) : (T(), b("div", _n, k(e), 1))]),
2384
- td: j(({ td: e }) => [Ve(k(e.name ? e.name : isNaN(Number(e)) ? e.includes("%") ? e : A(m)(L.value.percentage.formatter, e, A(d)({
2383
+ }, null, 8, ["stroke"])])) : (E(), x("div", _n, Xe(e), 1))]),
2384
+ td: j(({ td: e }) => [Be(Xe(e.name ? e.name : isNaN(Number(e)) ? e.includes("%") ? e : A(p)(L.value.percentage.formatter, e, A(t)({
2385
2385
  v: e,
2386
2386
  s: "%",
2387
2387
  r: L.value.percentage.rounding
2388
- })) : A(m)(L.value.value.formatter, e, A(d)({
2388
+ })) : A(p)(L.value.value.formatter, e, A(t)({
2389
2389
  p: L.value.dataLabels.prefix,
2390
2390
  v: e,
2391
2391
  s: L.value.dataLabels.suffix,
@@ -2404,22 +2404,22 @@ var rt = /* @__PURE__ */ e({ default: () => vn }), it = ["id"], at = ["id"], ot
2404
2404
  _: 2
2405
2405
  }, [I.value.table.useDialog ? {
2406
2406
  name: "title",
2407
- fn: j(() => [Ve(k(ji.value.title), 1)]),
2407
+ fn: j(() => [Be(Xe(ji.value.title), 1)]),
2408
2408
  key: "0"
2409
2409
  } : void 0, I.value.table.useDialog ? {
2410
2410
  name: "actions",
2411
- fn: j(() => [x("button", {
2411
+ fn: j(() => [S("button", {
2412
2412
  tabindex: "0",
2413
2413
  class: "vue-ui-user-options-button",
2414
- onClick: n[4] ||= (e) => hi(I.value.userOptions.callbacks.csv),
2415
- style: w({ cursor: lr.value ? "pointer" : "default" })
2416
- }, [He(A(yn), {
2414
+ onClick: r[4] ||= (e) => gi(I.value.userOptions.callbacks.csv),
2415
+ style: T({ cursor: lr.value ? "pointer" : "default" })
2416
+ }, [Ve(A(yn), {
2417
2417
  name: "fileCsv",
2418
2418
  stroke: ji.value.props.color
2419
2419
  }, null, 8, ["stroke"])], 4)]),
2420
2420
  key: "1"
2421
- } : void 0]), 1040)) : y("", !0),
2422
- O(t.$slots, "skeleton", {}, () => [A(dr) ? (T(), v(be, { key: 0 })) : y("", !0)], !0)
2421
+ } : void 0]), 1040)) : b("", !0),
2422
+ k(n.$slots, "skeleton", {}, () => [A(dr) ? (E(), y(ye, { key: 0 })) : b("", !0)], !0)
2423
2423
  ], 46, it));
2424
2424
  }
2425
2425
  }, [["__scopeId", "data-v-f5725be5"]]);