vue-data-ui 3.22.6 → 3.22.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (191) hide show
  1. package/dist/{Arrow-Ds4xmpiQ.js → Arrow-DaGI9u-b.js} +1 -1
  2. package/dist/{BaseDraggableDialog-VbypEaAa.js → BaseDraggableDialog-1wwwdwV2.js} +2 -2
  3. package/dist/{BaseIcon-DcUvOfxf.js → BaseIcon-_-BX7be3.js} +1 -1
  4. package/dist/{BaseLegendToggle-DFwIY5bE.js → BaseLegendToggle-CHnlKalt.js} +1 -1
  5. package/dist/{BaseZoomControls-DwolSINF.js → BaseZoomControls-C9bdZSCj.js} +2 -2
  6. package/dist/{ColorPicker-UVDPcrjE.js → ColorPicker-TB3KhY3j.js} +2 -2
  7. package/dist/{DataTable-CXfvIulC.js → DataTable-CVF7DoZn.js} +2 -2
  8. package/dist/{Legend-D-635Kag.js → Legend-kAr7Vqqu.js} +2 -2
  9. package/dist/{NonSvgPenAndPaper-pR_1qp3s.js → NonSvgPenAndPaper-CEiv7_gM.js} +29 -29
  10. package/dist/{PackageVersion-Da7hl-34.js → PackageVersion-Dse0n05o.js} +1 -1
  11. package/dist/{PenAndPaper-Bk2-E7V4.js → PenAndPaper-gaV1QPpP.js} +18 -18
  12. package/dist/{Shape-BSetplwm.js → Shape-CiQIxyyT.js} +1 -1
  13. package/dist/{Slicer-ClIGOuoX.js → Slicer-6FOtg9py.js} +2 -2
  14. package/dist/{SlicerPreview-D1n9AW39.js → SlicerPreview-DUywypFu.js} +4 -4
  15. package/dist/{SparkTooltip-CjDAyolg.js → SparkTooltip-B-qsPj68.js} +1 -1
  16. package/dist/{Title-C-p0ilWB.js → Title-PiTKr6sp.js} +1 -1
  17. package/dist/{Tooltip-YabpoXo1.js → Tooltip-B8yYfISA.js} +1 -1
  18. package/dist/{UserOptions-BO4VFL8O.js → UserOptions-BL9VlHop.js} +2 -2
  19. package/dist/components/arrow.js +1 -1
  20. package/dist/components/vue-ui-3d-bar.js +1 -1
  21. package/dist/components/vue-ui-accordion.js +1 -1
  22. package/dist/components/vue-ui-age-pyramid.js +1 -1
  23. package/dist/components/vue-ui-annotator.js +1 -1
  24. package/dist/components/vue-ui-bullet.js +1 -1
  25. package/dist/components/vue-ui-bump.js +1 -1
  26. package/dist/components/vue-ui-candlestick.js +1 -1
  27. package/dist/components/vue-ui-carousel-table.js +1 -1
  28. package/dist/components/vue-ui-chestnut.js +1 -1
  29. package/dist/components/vue-ui-chord.js +1 -1
  30. package/dist/components/vue-ui-circle-pack.js +1 -1
  31. package/dist/components/vue-ui-cursor.js +1 -1
  32. package/dist/components/vue-ui-dag.js +1 -1
  33. package/dist/components/vue-ui-dashboard.js +1 -1
  34. package/dist/components/vue-ui-digits.js +1 -1
  35. package/dist/components/vue-ui-donut-evolution.js +1 -1
  36. package/dist/components/vue-ui-donut.js +1 -1
  37. package/dist/components/vue-ui-dumbbell.js +1 -1
  38. package/dist/components/vue-ui-flow.js +1 -1
  39. package/dist/components/vue-ui-funnel.js +1 -1
  40. package/dist/components/vue-ui-galaxy.js +1 -1
  41. package/dist/components/vue-ui-gauge.js +1 -1
  42. package/dist/components/vue-ui-geo.js +1 -1
  43. package/dist/components/vue-ui-gizmo.js +1 -1
  44. package/dist/components/vue-ui-heatmap.js +1 -1
  45. package/dist/components/vue-ui-history-plot.js +1 -1
  46. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  47. package/dist/components/vue-ui-icon.js +1 -1
  48. package/dist/components/vue-ui-kpi.js +1 -1
  49. package/dist/components/vue-ui-mini-loader.js +1 -1
  50. package/dist/components/vue-ui-molecule.js +1 -1
  51. package/dist/components/vue-ui-mood-radar.js +1 -1
  52. package/dist/components/vue-ui-nested-donuts.js +1 -1
  53. package/dist/components/vue-ui-onion.js +1 -1
  54. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  55. package/dist/components/vue-ui-quadrant.js +1 -1
  56. package/dist/components/vue-ui-quick-chart.js +1 -1
  57. package/dist/components/vue-ui-radar.js +1 -1
  58. package/dist/components/vue-ui-rating.js +1 -1
  59. package/dist/components/vue-ui-relation-circle.js +1 -1
  60. package/dist/components/vue-ui-ridgeline.js +1 -1
  61. package/dist/components/vue-ui-rings.js +1 -1
  62. package/dist/components/vue-ui-scatter.js +1 -1
  63. package/dist/components/vue-ui-skeleton.js +1 -1
  64. package/dist/components/vue-ui-smiley.js +1 -1
  65. package/dist/components/vue-ui-spark-trend.js +1 -1
  66. package/dist/components/vue-ui-sparkbar.js +1 -1
  67. package/dist/components/vue-ui-sparkgauge.js +1 -1
  68. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  69. package/dist/components/vue-ui-sparkline.js +1 -1
  70. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  71. package/dist/components/vue-ui-stackbar.js +1 -1
  72. package/dist/components/vue-ui-stackline.js +1 -1
  73. package/dist/components/vue-ui-strip-plot.js +1 -1
  74. package/dist/components/vue-ui-table-heatmap.js +1 -1
  75. package/dist/components/vue-ui-table-sparkline.js +1 -1
  76. package/dist/components/vue-ui-table.js +1 -1
  77. package/dist/components/vue-ui-thermometer.js +1 -1
  78. package/dist/components/vue-ui-timer.js +1 -1
  79. package/dist/components/vue-ui-tiremarks.js +1 -1
  80. package/dist/components/vue-ui-treemap.js +1 -1
  81. package/dist/components/vue-ui-vertical-bar.js +1 -1
  82. package/dist/components/vue-ui-waffle.js +1 -1
  83. package/dist/components/vue-ui-wheel.js +1 -1
  84. package/dist/components/vue-ui-word-cloud.js +1 -1
  85. package/dist/components/vue-ui-world.js +1 -1
  86. package/dist/components/vue-ui-xy-canvas.js +1 -1
  87. package/dist/components/vue-ui-xy.js +1 -1
  88. package/dist/{dom-to-png-CVJfsfwL.js → dom-to-png-BZjYWNEg.js} +1 -1
  89. package/dist/exposedLib-Be0ifkti.js +19 -0
  90. package/dist/{img-B_y5qDdm.js → img-B_abIg0o.js} +1 -1
  91. package/dist/{labelUtils-CyVwqXSh.js → labelUtils-CTDRZdP1.js} +1 -1
  92. package/dist/{lib-DRBJCmHW.js → lib-EAmk-PgA.js} +14 -1
  93. package/dist/{package-DyQ_PQis.js → package-DeMimPej.js} +1 -1
  94. package/dist/{pdf-CG02qhAH.js → pdf-B6qrdEqB.js} +1 -1
  95. package/dist/{render-common-CUAlQvAQ.js → render-common-DMai0gHB.js} +2 -2
  96. package/dist/ssr/vue-ui-donut.js +1 -1
  97. package/dist/ssr/vue-ui-xy.js +1 -1
  98. package/dist/ssr.js +2 -2
  99. package/dist/style.css +1 -1
  100. package/dist/{useAutoSizeLabelsInsideViewbox-DPMOys9n.js → useAutoSizeLabelsInsideViewbox-CyOGrdD_.js} +1 -1
  101. package/dist/{useNestedProp-BEo2N1Db.js → useNestedProp-D8XqxgOU.js} +1 -1
  102. package/dist/{usePrinter-CRp5IW3v.js → usePrinter-DnGzpp6Q.js} +2 -2
  103. package/dist/utils.js +10 -10
  104. package/dist/{vue-data-ui-Bpu4kxlm.js → vue-data-ui-D6qVWloL.js} +68 -68
  105. package/dist/vue-data-ui.js +72 -72
  106. package/dist/vue-ui-3d-bar-CjNuWXoA.js +1757 -0
  107. package/dist/{vue-ui-accordion-CfMrbDoq.js → vue-ui-accordion-Dzz8XhX3.js} +3 -3
  108. package/dist/{vue-ui-age-pyramid-BF5ZuuyI.js → vue-ui-age-pyramid-CC7Dxli-.js} +21 -21
  109. package/dist/{vue-ui-annotator-CG6rhFpy.js → vue-ui-annotator-DXZumSP8.js} +67 -67
  110. package/dist/{vue-ui-bullet-C_oBS1cr.js → vue-ui-bullet-Dde6FhbR.js} +17 -17
  111. package/dist/{vue-ui-bump-BZB1Na8h.js → vue-ui-bump-C5pni1JV.js} +243 -243
  112. package/dist/{vue-ui-candlestick-8d_1xO8X.js → vue-ui-candlestick-Ctw65O4_.js} +449 -446
  113. package/dist/{vue-ui-carousel-table-BfZNcwmY.js → vue-ui-carousel-table-BEUvhUH0.js} +42 -42
  114. package/dist/vue-ui-chestnut-C3IbAdkQ.js +2010 -0
  115. package/dist/vue-ui-chord-5eCWG4br.js +1391 -0
  116. package/dist/{vue-ui-circle-pack-BLh8HnGK.js → vue-ui-circle-pack-Cq4lkmee.js} +31 -31
  117. package/dist/{vue-ui-cursor-DVsEm_4l.js → vue-ui-cursor-DLJcFwRZ.js} +3 -3
  118. package/dist/{vue-ui-dag-Cfi0b9qm.js → vue-ui-dag-DemsIecS.js} +23 -23
  119. package/dist/{vue-ui-dashboard-F_NZ1xoQ.js → vue-ui-dashboard-DWHD_wNN.js} +69 -69
  120. package/dist/{vue-ui-digits-BfP1kbj3.js → vue-ui-digits-sIKc85vS.js} +3 -3
  121. package/dist/{vue-ui-donut-BwAyvV3-.js → vue-ui-donut-CLheJPcO.js} +414 -414
  122. package/dist/{vue-ui-donut-DlVRnVr_.js → vue-ui-donut-Dp6GW0dw.js} +85 -85
  123. package/dist/{vue-ui-donut-evolution-D1k4u6cA.js → vue-ui-donut-evolution-zmRPpJLj.js} +419 -419
  124. package/dist/vue-ui-dumbbell-bSbgHd0U.js +1530 -0
  125. package/dist/{vue-ui-flow-D_7Idmmw.js → vue-ui-flow-q_M7O1BK.js} +83 -83
  126. package/dist/vue-ui-funnel-BEZUEuuh.js +777 -0
  127. package/dist/{vue-ui-galaxy-Bjxbg5_B.js → vue-ui-galaxy-DCCWmIyH.js} +250 -250
  128. package/dist/{vue-ui-gauge-Dt0H7DgC.js → vue-ui-gauge-B1ljgfE1.js} +216 -216
  129. package/dist/{vue-ui-geo-89DEQb5l.js → vue-ui-geo-CM59rpnj.js} +17 -17
  130. package/dist/{vue-ui-gizmo-CQyLK18v.js → vue-ui-gizmo-D2RL6IVp.js} +62 -62
  131. package/dist/{vue-ui-heatmap-o6MvoxBK.js → vue-ui-heatmap-BX6PQxML.js} +245 -245
  132. package/dist/vue-ui-history-plot-DaHAeQph.js +1715 -0
  133. package/dist/{vue-ui-horizontal-bar-CwB4sc6M.js → vue-ui-horizontal-bar-CTW6l4n3.js} +274 -274
  134. package/dist/{vue-ui-kpi-4C-j92D-.js → vue-ui-kpi-DLbP7lJR.js} +3 -3
  135. package/dist/{vue-ui-mini-loader-Bj4Wv-i8.js → vue-ui-mini-loader-DPHzHsM7.js} +2 -2
  136. package/dist/vue-ui-molecule-aD0SMTiX.js +925 -0
  137. package/dist/{vue-ui-mood-radar-B5W35Fvp.js → vue-ui-mood-radar-CCWaPr0P.js} +29 -29
  138. package/dist/{vue-ui-nested-donuts-wfesrzle.js → vue-ui-nested-donuts--BCPWkl7.js} +104 -104
  139. package/dist/{vue-ui-onion-B8-psLbF.js → vue-ui-onion-s4iMCGAP.js} +39 -39
  140. package/dist/vue-ui-parallel-coordinate-plot-CfgvpyoC.js +1416 -0
  141. package/dist/vue-ui-quadrant-T_UmRAAy.js +1978 -0
  142. package/dist/vue-ui-quick-chart-D1OWBgQJ.js +2469 -0
  143. package/dist/{vue-ui-radar-5fQ5AAWD.js → vue-ui-radar-CHjeGOMC.js} +78 -78
  144. package/dist/{vue-ui-rating-CKWHDKOT.js → vue-ui-rating-Bek8Tgr-.js} +33 -33
  145. package/dist/vue-ui-relation-circle-DRZGQ_UX.js +924 -0
  146. package/dist/{vue-ui-ridgeline-DVbYznRz.js → vue-ui-ridgeline-DIODGiu8.js} +101 -101
  147. package/dist/vue-ui-rings-CcdUSXGG.js +1246 -0
  148. package/dist/vue-ui-scatter-CixnqLoi.js +2413 -0
  149. package/dist/{vue-ui-skeleton-BkxB6Dik.js → vue-ui-skeleton-Fmue6DAG.js} +3 -3
  150. package/dist/{vue-ui-smiley-C4g0iaF7.js → vue-ui-smiley-BVMI5vUy.js} +9 -9
  151. package/dist/{vue-ui-spark-trend-0FELlq4x.js → vue-ui-spark-trend-DfZeLiWA.js} +98 -98
  152. package/dist/{vue-ui-sparkbar-D-i_VLO6.js → vue-ui-sparkbar-Cl1e49sw.js} +87 -87
  153. package/dist/{vue-ui-sparkgauge-CWw6w_ng.js → vue-ui-sparkgauge-DDNNBIdf.js} +48 -48
  154. package/dist/{vue-ui-sparkhistogram-DuGpkfma.js → vue-ui-sparkhistogram-ny_liYa6.js} +104 -104
  155. package/dist/{vue-ui-sparkline-Bi06lHQd.js → vue-ui-sparkline-BNxdO-Bx.js} +268 -268
  156. package/dist/vue-ui-sparkstackbar-BfF5-Wg2.js +662 -0
  157. package/dist/vue-ui-stackbar-B-2Me3d-.js +2332 -0
  158. package/dist/{vue-ui-stackline-C0NHBUaE.js → vue-ui-stackline-CdvVPQUM.js} +697 -694
  159. package/dist/{vue-ui-strip-plot-_6LL45i9.js → vue-ui-strip-plot-CRXPXA5V.js} +368 -368
  160. package/dist/{vue-ui-table-DBlZswRi.js → vue-ui-table-Dr1dK3d_.js} +25 -25
  161. package/dist/{vue-ui-table-heatmap-3xYIDKcP.js → vue-ui-table-heatmap-D-Qrm3oX.js} +5 -5
  162. package/dist/{vue-ui-table-sparkline-BH5PzEnJ.js → vue-ui-table-sparkline-C31Q32My.js} +201 -201
  163. package/dist/{vue-ui-thermometer-BxMzAqoT.js → vue-ui-thermometer-BUrtIfuo.js} +119 -119
  164. package/dist/{vue-ui-timer-ONSitYDm.js → vue-ui-timer-B5bkNNHS.js} +29 -29
  165. package/dist/{vue-ui-tiremarks-DWXM-9nR.js → vue-ui-tiremarks-Bn8b-ZSz.js} +14 -14
  166. package/dist/vue-ui-treemap-LMWiicop.js +1713 -0
  167. package/dist/{vue-ui-waffle-afa8HSxz.js → vue-ui-waffle-B_L3gkky.js} +306 -306
  168. package/dist/{vue-ui-wheel-DRP7X8S2.js → vue-ui-wheel-CeVwXtEX.js} +36 -36
  169. package/dist/{vue-ui-word-cloud-AKpMO97a.js → vue-ui-word-cloud-D81-qJLw.js} +37 -37
  170. package/dist/{vue-ui-world-CqS-HhZl.js → vue-ui-world-B7npRmTa.js} +399 -399
  171. package/dist/{vue-ui-xy-Bmd11BxR.js → vue-ui-xy-C2p9H2IX.js} +1438 -1436
  172. package/dist/{vue-ui-xy-DJ8YKPgs.js → vue-ui-xy-OhwS0kcZ.js} +218 -218
  173. package/dist/{vue-ui-xy-canvas-DO_PDGKf.js → vue-ui-xy-canvas-DLKDdH35.js} +420 -417
  174. package/package.json +1 -1
  175. package/dist/exposedLib-CjwriUaG.js +0 -19
  176. package/dist/vue-ui-3d-bar-BAH0jNtT.js +0 -1757
  177. package/dist/vue-ui-chestnut-Cx8T3NEl.js +0 -2010
  178. package/dist/vue-ui-chord-B-sauvLo.js +0 -1391
  179. package/dist/vue-ui-dumbbell-DgmvPpK2.js +0 -1530
  180. package/dist/vue-ui-funnel-BYCFV5TD.js +0 -777
  181. package/dist/vue-ui-history-plot-B7zuCfdg.js +0 -1715
  182. package/dist/vue-ui-molecule-BDrRmwmm.js +0 -925
  183. package/dist/vue-ui-parallel-coordinate-plot-DBpHCFxa.js +0 -1416
  184. package/dist/vue-ui-quadrant-BzyGOJR2.js +0 -1978
  185. package/dist/vue-ui-quick-chart-so_8PzvS.js +0 -2469
  186. package/dist/vue-ui-relation-circle-Bd_ONHCz.js +0 -924
  187. package/dist/vue-ui-rings-c-yLWFHr.js +0 -1246
  188. package/dist/vue-ui-scatter-QhmE7n1H.js +0 -2413
  189. package/dist/vue-ui-sparkstackbar-DrKgBUmt.js +0 -662
  190. package/dist/vue-ui-stackbar-DDvuDGQ_.js +0 -2329
  191. package/dist/vue-ui-treemap-B03c4RIy.js +0 -1713
@@ -1,38 +1,38 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { At as t, Dt as n, Ht as r, It as i, Lt as a, O as o, Ot as s, Q as c, S as l, Tt as u, U as ee, W as te, Wt as ne, X as d, Z as re, _t as ie, b as f, d as p, i as m, lt as ae, nt as oe, o as se, p as ce, q as h, rt as le, t as ue, u as g, v as de, w as fe } from "./lib-DRBJCmHW.js";
3
- import { t as pe } from "./useConfig-DYM3f6EI.js";
4
- import { t as me } from "./usePrinter-CRp5IW3v.js";
5
- import { n as he, t as ge } from "./BaseScanner-DZvpgOjM.js";
6
- import { t as _e } from "./useSvgExport-SVIsDot8.js";
7
- import { t as ve } from "./useNestedProp-BEo2N1Db.js";
8
- import { t as ye } from "./useThemeCheck-C43Tcqmk.js";
9
- import { t as be } from "./img-B_y5qDdm.js";
10
- import { n as xe } from "./Title-C-p0ilWB.js";
11
- import { t as Se } from "./Shape-BSetplwm.js";
12
- import { t as Ce } from "./_plugin-vue_export-helper-B3ysoDQm.js";
13
- import { c as we } from "./canvas-lib-BOP_HS11.js";
14
- import { t as Te } from "./useResponsive-BfnK0KxU.js";
15
- import { t as Ee } from "./BaseLegendToggle-DFwIY5bE.js";
16
- import { t as De } from "./A11yDataTable-DdRsVULz.js";
17
- import { t as Oe } from "./useUserOptionState-DK-_1ddE.js";
18
- import { t as ke } from "./useChartAccessibility-DYqac8yF.js";
19
- import { n as Ae, t as je } from "./labelUtils-CyVwqXSh.js";
20
- import { t as Me } from "./vue_ui_donut-BDGqG07h.js";
21
- import { t as Ne } from "./Legend-D-635Kag.js";
22
- import { Fragment as _, Teleport as Pe, computed as v, createBlock as Fe, createCommentVNode as y, createElementBlock as b, createElementVNode as x, createSlots as Ie, createTextVNode as Le, createVNode as Re, defineAsyncComponent as ze, guardReactiveProps as S, mergeProps as Be, nextTick as Ve, normalizeClass as He, normalizeProps as C, normalizeStyle as w, onBeforeUnmount as Ue, onMounted as We, openBlock as T, ref as E, renderList as D, renderSlot as O, resolveDynamicComponent as Ge, shallowRef as Ke, toDisplayString as k, toRefs as qe, unref as A, useSlots as Je, vShow as Ye, watch as Xe, withCtx as j, withDirectives as Ze } from "vue";
2
+ import { Et as t, Gt as n, Lt as r, O as i, Ot as a, Q as o, Rt as s, S as c, U as l, Ut as u, W as ee, X as te, Z as ne, b as d, d as f, i as p, jt as m, kt as h, nt as re, o as ie, p as ae, q as g, rt as oe, t as se, u as _, ut as ce, v as le, vt as ue, w as de } from "./lib-EAmk-PgA.js";
3
+ import { t as fe } from "./useConfig-DYM3f6EI.js";
4
+ import { t as pe } from "./usePrinter-DnGzpp6Q.js";
5
+ import { n as me, t as he } from "./BaseScanner-DZvpgOjM.js";
6
+ import { t as ge } from "./useSvgExport-SVIsDot8.js";
7
+ import { t as _e } from "./useNestedProp-D8XqxgOU.js";
8
+ import { t as ve } from "./useThemeCheck-C43Tcqmk.js";
9
+ import { t as ye } from "./img-B_abIg0o.js";
10
+ import { n as be } from "./Title-PiTKr6sp.js";
11
+ import { t as xe } from "./Shape-CiQIxyyT.js";
12
+ import { t as Se } from "./_plugin-vue_export-helper-B3ysoDQm.js";
13
+ import { c as Ce } from "./canvas-lib-BOP_HS11.js";
14
+ import { t as we } from "./useResponsive-BfnK0KxU.js";
15
+ import { t as Te } from "./BaseLegendToggle-CHnlKalt.js";
16
+ import { t as Ee } from "./A11yDataTable-DdRsVULz.js";
17
+ import { t as De } from "./useUserOptionState-DK-_1ddE.js";
18
+ import { t as Oe } from "./useChartAccessibility-DYqac8yF.js";
19
+ import { n as ke, t as Ae } from "./labelUtils-CTDRZdP1.js";
20
+ import { t as je } from "./vue_ui_donut-BDGqG07h.js";
21
+ import { t as Me } from "./Legend-kAr7Vqqu.js";
22
+ import { Fragment as v, Teleport as Ne, computed as y, createBlock as Pe, createCommentVNode as b, createElementBlock as x, createElementVNode as S, createSlots as Fe, createTextVNode as Ie, createVNode as Le, defineAsyncComponent as Re, guardReactiveProps as C, mergeProps as ze, nextTick as Be, normalizeClass as Ve, normalizeProps as w, normalizeStyle as T, onBeforeUnmount as He, onMounted as Ue, openBlock as E, ref as D, renderList as O, renderSlot as k, resolveDynamicComponent as We, shallowRef as Ge, toDisplayString as Ke, toRefs as qe, unref as A, useSlots as Je, vShow as Ye, watch as Xe, withCtx as j, withDirectives as Ze } from "vue";
23
23
  //#region src/useSmallArcLayouts.js
24
24
  function Qe(e) {
25
25
  let { FINAL_CONFIG: t, noGhostDonut: n, svg: r, padding: i, labels_inline_fontSize: a, minSize: o, findArcMidpoint: s, calcMarkerOffsetX: c, calcMarkerOffsetY: l, animatingIndex: u, segregated: ee, isSmallArc: te } = e;
26
- return { smallArcLayoutsClassic: v(() => {
26
+ return { smallArcLayoutsClassic: y(() => {
27
27
  if (t.value.type !== "classic") return {};
28
28
  let e = {}, ne = n.value || [];
29
29
  if (!ne.length) return e;
30
- let d = r.value.width / 2, re = r.value.height / 2, ie = i.value.top + 16, f = r.value.height - i.value.bottom - 16, p = a.value, m = p / 3, ae = p * 1.5, oe = d - (o.value + 6), se = d + (o.value + 6), ce = !!t.value.style.chart.layout.curvedMarkers;
31
- function h({ midX: e, midY: t, bandX: n, bandY: r }) {
32
- if (!ce) return `M ${e} ${t} L ${e} ${r} L ${n} ${r}`;
33
- let i = n < d ? -1 : 1, a = n - e, o = r - t, s = Math.sqrt(a * a + o * o) || 1, c = e - d, l = t - re, u = Math.sqrt(c * c + l * l) || 1, ee = c / u, te = l / u, ne = u + 9;
34
- function ie({ x: e, y: t }) {
35
- let n = e - d, r = t - re, i = Math.sqrt(n * n + r * r) || 1;
30
+ let d = r.value.width / 2, f = r.value.height / 2, p = i.value.top + 16, m = r.value.height - i.value.bottom - 16, h = a.value, re = h / 3, ie = h * 1.5, ae = d - (o.value + 6), g = d + (o.value + 6), oe = !!t.value.style.chart.layout.curvedMarkers;
31
+ function se({ midX: e, midY: t, bandX: n, bandY: r }) {
32
+ if (!oe) return `M ${e} ${t} L ${e} ${r} L ${n} ${r}`;
33
+ let i = n < d ? -1 : 1, a = n - e, o = r - t, s = Math.sqrt(a * a + o * o) || 1, c = e - d, l = t - f, u = Math.sqrt(c * c + l * l) || 1, ee = c / u, te = l / u, ne = u + 9;
34
+ function p({ x: e, y: t }) {
35
+ let n = e - d, r = t - f, i = Math.sqrt(n * n + r * r) || 1;
36
36
  if (i >= ne) return {
37
37
  x: e,
38
38
  y: t
@@ -40,38 +40,38 @@ function Qe(e) {
40
40
  let a = ne / i;
41
41
  return {
42
42
  x: d + n * a,
43
- y: re + r * a
43
+ y: f + r * a
44
44
  };
45
45
  }
46
46
  if (s < 56) {
47
- let i = a / s, c = -(o / s), l = i, u = (e + n) * .5, ne = (t + r) * .5, f = u + c, p = ne + l, m = (f - d) * (f - d) + (p - re) * (p - re), ae = u - c, oe = ne - l;
48
- (ae - d) * (ae - d) + (oe - re) * (oe - re) > m && (c = -c, l = -l);
49
- let se = .78, ce = e + a * se, h = t + o * se, le = Math.max(0, Math.min(1, (s - 18) / 44)), ue = le * le * (3 - 2 * le), g = 2.5 + ue * 4, de = 1 + ue * 2.5;
50
- g *= .9;
51
- let fe = ie({
52
- x: ce + c * g + ee * de,
53
- y: h + l * g + te * de
47
+ let i = a / s, c = -(o / s), l = i, u = (e + n) * .5, ne = (t + r) * .5, m = u + c, h = ne + l, re = (m - d) * (m - d) + (h - f) * (h - f), ie = u - c, ae = ne - l;
48
+ (ie - d) * (ie - d) + (ae - f) * (ae - f) > re && (c = -c, l = -l);
49
+ let g = .78, oe = e + a * g, se = t + o * g, _ = Math.max(0, Math.min(1, (s - 18) / 44)), ce = _ * _ * (3 - 2 * _), le = 2.5 + ce * 4, ue = 1 + ce * 2.5;
50
+ le *= .9;
51
+ let de = p({
52
+ x: oe + c * le + ee * ue,
53
+ y: se + l * le + te * ue
54
54
  });
55
- return `M ${e} ${t} Q ${fe.x} ${fe.y} ${n} ${r}`;
55
+ return `M ${e} ${t} Q ${de.x} ${de.y} ${n} ${r}`;
56
56
  }
57
- let f = s * .34;
58
- f < 20 && (f = 20), f > 46 && (f = 46);
59
- let p = s * .46;
60
- p < 22 && (p = 22), p > 70 && (p = 70);
61
- let m = {
62
- x: e + ee * f,
63
- y: t + te * f
64
- }, ae = d + i * Math.max(Math.abs(n - d), ne), oe = {
65
- x: n - i * Math.min(p, Math.abs(ae - n) * .75),
57
+ let m = s * .34;
58
+ m < 20 && (m = 20), m > 46 && (m = 46);
59
+ let h = s * .46;
60
+ h < 22 && (h = 22), h > 70 && (h = 70);
61
+ let re = {
62
+ x: e + ee * m,
63
+ y: t + te * m
64
+ }, ie = d + i * Math.max(Math.abs(n - d), ne), ae = {
65
+ x: n - i * Math.min(h, Math.abs(ie - n) * .75),
66
66
  y: r
67
- }, se = ie(m), h = ie(oe);
68
- return `M ${e} ${t} C ${se.x} ${se.y} ${h.x} ${h.y} ${n} ${r}`;
67
+ }, g = p(re), se = p(ae);
68
+ return `M ${e} ${t} C ${g.x} ${g.y} ${se.x} ${se.y} ${n} ${r}`;
69
69
  }
70
- function le(e) {
70
+ function _(e) {
71
71
  let t = String(e ?? "").split(/\n/g);
72
- return ae + Math.max(0, t.length - 1) * (p * 1.2);
72
+ return ie + Math.max(0, t.length - 1) * (h * 1.2);
73
73
  }
74
- function ue({ arc: e, index: t }) {
74
+ function ce({ arc: e, index: t }) {
75
75
  let { x: n, y: r } = s(e.path);
76
76
  return {
77
77
  arc: e,
@@ -80,47 +80,47 @@ function Qe(e) {
80
80
  midY: r,
81
81
  inlineMarkerX: c(e).x,
82
82
  inlineMarkerY: l(e) - 3.5,
83
- labelHeight: le(e.name)
83
+ labelHeight: _(e.name)
84
84
  };
85
85
  }
86
- function g(e) {
86
+ function le(e) {
87
87
  let { arc: t } = e, n = t.seriesIndex ?? 0;
88
88
  return u.value === n || ee.value.includes(n) ? !1 : te(t, n);
89
89
  }
90
- function de(e) {
91
- let t = e.inlineMarkerY < re, n = e.inlineMarkerX < d;
90
+ function ue(e) {
91
+ let t = e.inlineMarkerY < f, n = e.inlineMarkerX < d;
92
92
  return t && n ? "TL" : t && !n ? "TR" : !t && n ? "BL" : "BR";
93
93
  }
94
- function fe(e, t) {
94
+ function de(e, t) {
95
95
  if (t.startsWith("T")) {
96
96
  e.sort((e, t) => e.inlineMarkerY - t.inlineMarkerY || e.index - t.index);
97
97
  return;
98
98
  }
99
99
  e.sort((e, t) => t.inlineMarkerY - e.inlineMarkerY || e.index - t.index);
100
100
  }
101
- function pe({ side: e, markerX: t, markerY: n, labelY: r, connectorPath: i }) {
101
+ function fe({ side: e, markerX: t, markerY: n, labelY: r, connectorPath: i }) {
102
102
  return {
103
103
  side: e,
104
104
  labelX: e === "left" ? t - 8 : t + 8,
105
- labelY: r + m,
105
+ labelY: r + re,
106
106
  textAnchor: e === "left" ? "end" : "start",
107
107
  markerX: t,
108
108
  markerY: n,
109
109
  connectorPath: i
110
110
  };
111
111
  }
112
- function me({ candidateList: t, side: n, bandMarkerX: r, startY: i, direction: a }) {
112
+ function pe({ candidateList: t, side: n, bandMarkerX: r, startY: i, direction: a }) {
113
113
  let o = i;
114
114
  t.forEach((t) => {
115
115
  let { index: i, midX: s, midY: c, labelHeight: l } = t, u;
116
116
  a === "down" ? (u = o, o += l) : (o -= l, u = o);
117
- let ee = u, te = h({
117
+ let ee = u, te = se({
118
118
  midX: s,
119
119
  midY: c,
120
120
  bandX: r,
121
121
  bandY: ee
122
122
  });
123
- e[i] = pe({
123
+ e[i] = fe({
124
124
  side: n,
125
125
  markerX: r,
126
126
  markerY: ee,
@@ -129,42 +129,42 @@ function Qe(e) {
129
129
  });
130
130
  });
131
131
  }
132
- let he = ne.map((e, t) => ue({
132
+ let me = ne.map((e, t) => ce({
133
133
  arc: e,
134
134
  index: t
135
- })).filter(g), ge = {
135
+ })).filter(le), he = {
136
136
  TL: [],
137
137
  TR: [],
138
138
  BL: [],
139
139
  BR: []
140
140
  };
141
- return he.forEach((e) => {
142
- ge[de(e)].push(e);
143
- }), Object.keys(ge).forEach((e) => {
144
- fe(ge[e], e);
145
- }), me({
146
- candidateList: ge.TL,
141
+ return me.forEach((e) => {
142
+ he[ue(e)].push(e);
143
+ }), Object.keys(he).forEach((e) => {
144
+ de(he[e], e);
145
+ }), pe({
146
+ candidateList: he.TL,
147
147
  side: "left",
148
- bandMarkerX: oe,
149
- startY: ie,
148
+ bandMarkerX: ae,
149
+ startY: p,
150
150
  direction: "down"
151
- }), me({
152
- candidateList: ge.TR,
151
+ }), pe({
152
+ candidateList: he.TR,
153
153
  side: "right",
154
- bandMarkerX: se,
155
- startY: ie,
154
+ bandMarkerX: g,
155
+ startY: p,
156
156
  direction: "down"
157
- }), ge.BL.length > 1 && me({
158
- candidateList: ge.BL,
157
+ }), he.BL.length > 1 && pe({
158
+ candidateList: he.BL,
159
159
  side: "left",
160
- bandMarkerX: oe,
161
- startY: f,
160
+ bandMarkerX: ae,
161
+ startY: m,
162
162
  direction: "up"
163
- }), ge.BR.length > 1 && me({
164
- candidateList: ge.BR,
163
+ }), he.BR.length > 1 && pe({
164
+ candidateList: he.BR,
165
165
  side: "right",
166
- bandMarkerX: se,
167
- startY: f,
166
+ bandMarkerX: g,
167
+ startY: m,
168
168
  direction: "up"
169
169
  }), e;
170
170
  }) };
@@ -382,7 +382,7 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
382
382
  }, _n = ["id"], vn = ["onClick"], yn = {
383
383
  key: 8,
384
384
  class: "vue-ui-donut-hollow"
385
- }, bn = ["innerHTML"], xn = /*#__PURE__*/ Ce({
385
+ }, bn = ["innerHTML"], xn = /*#__PURE__*/ Se({
386
386
  __name: "vue-ui-donut",
387
387
  props: {
388
388
  config: {
@@ -403,24 +403,24 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
403
403
  "selectDatapoint",
404
404
  "copyAlt"
405
405
  ],
406
- setup(e, { expose: Ce, emit: $e }) {
407
- let xn = ze(() => import("./Tooltip-YabpoXo1.js")), Sn = ze(() => import("./BaseIcon-DcUvOfxf.js").then((e) => e.n)), Cn = ze(() => import("./vue-ui-accordion-CfMrbDoq.js").then((e) => e.n)), wn = ze(() => import("./DataTable-CXfvIulC.js")), Tn = ze(() => import("./PenAndPaper-Bk2-E7V4.js").then((e) => e.t)), En = ze(() => import("./UserOptions-BO4VFL8O.js").then((e) => e.n)), Dn = ze(() => import("./PackageVersion-Da7hl-34.js").then((e) => e.t)), On = ze(() => import("./BaseDraggableDialog-VbypEaAa.js").then((e) => e.n)), { vue_ui_donut: kn } = pe(), { isThemeValid: An, warnInvalidTheme: jn } = ye(), Mn = Je(), M = e, Nn = v({
406
+ setup(e, { expose: Se, emit: $e }) {
407
+ let xn = Re(() => import("./Tooltip-B8yYfISA.js")), Sn = Re(() => import("./BaseIcon-_-BX7be3.js").then((e) => e.n)), Cn = Re(() => import("./vue-ui-accordion-Dzz8XhX3.js").then((e) => e.n)), wn = Re(() => import("./DataTable-CVF7DoZn.js")), Tn = Re(() => import("./PenAndPaper-gaV1QPpP.js").then((e) => e.t)), En = Re(() => import("./UserOptions-BL9VlHop.js").then((e) => e.n)), Dn = Re(() => import("./PackageVersion-Dse0n05o.js").then((e) => e.t)), On = Re(() => import("./BaseDraggableDialog-1wwwdwV2.js").then((e) => e.n)), { vue_ui_donut: kn } = fe(), { isThemeValid: An, warnInvalidTheme: jn } = ve(), Mn = Je(), M = e, Nn = y({
408
408
  get() {
409
409
  return !!M.dataset && M.dataset.length;
410
410
  },
411
411
  set(e) {
412
412
  return e;
413
413
  }
414
- }), N = Ke(null), Pn = E(null), Fn = E(null), In = E(null), Ln = Ke(null), Rn = Ke(null), zn = Ke(null), Bn = Ke(null), Vn = Ke(null), Hn = Ke(null), Un = E(0), Wn = E(0), Gn = E(0), Kn = E(!1), qn = E(null), Jn = E(null), Yn = E(!1), Xn = E(!1), Zn = E(null), Qn = E({
414
+ }), N = Ge(null), Pn = D(null), Fn = D(null), In = D(null), Ln = Ge(null), Rn = Ge(null), zn = Ge(null), Bn = Ge(null), Vn = Ge(null), Hn = Ge(null), Un = D(0), Wn = D(0), Gn = D(0), Kn = D(!1), qn = D(null), Jn = D(null), Yn = D(!1), Xn = D(!1), Zn = D(null), Qn = D({
415
415
  x: 0,
416
416
  y: 0
417
- }), $n = E("pointer"), er = E(!1), tr = v({
417
+ }), $n = D("pointer"), er = D(!1), tr = y({
418
418
  get: () => L.value.style.chart.layout.labels.percentage.fontSize,
419
419
  set: (e) => e
420
- }), P = v({
420
+ }), P = y({
421
421
  get: () => L.value.style.chart.layout.labels.name.fontSize,
422
422
  set: (e) => e
423
- }), nr = v({
423
+ }), nr = y({
424
424
  get: () => L.value.style.chart.layout.labels.dataLabels.smallArcClusterFontSize,
425
425
  set: (e) => e
426
426
  }), rr = !1, ir = () => {
@@ -455,7 +455,7 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
455
455
  ];
456
456
  c.map((e) => t.querySelectorAll(e.selector).length).reduce((e, t) => e + t, 0) !== 0 && c.forEach(({ selector: e, baseSize: n, minSize: r, sizeRef: i }) => {
457
457
  t.querySelectorAll(e).forEach((e) => {
458
- i.value = se({
458
+ i.value = ie({
459
459
  el: e,
460
460
  bounds: s,
461
461
  currentFontSize: n,
@@ -467,11 +467,11 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
467
467
  });
468
468
  }));
469
469
  };
470
- We(async () => {
470
+ Ue(async () => {
471
471
  Kn.value = !0, sr(), requestAnimationFrame(ir);
472
472
  });
473
473
  let ar;
474
- We(() => {
474
+ Ue(() => {
475
475
  N.value && (ar = new ResizeObserver((e) => {
476
476
  for (let t of e) {
477
477
  let { width: e, height: n } = t.contentRect;
@@ -481,23 +481,23 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
481
481
  }
482
482
  }
483
483
  }), ar.observe(N.value.parentElement));
484
- }), Ue(() => {
484
+ }), He(() => {
485
485
  ar?.disconnect();
486
- }), Ue(() => {
486
+ }), He(() => {
487
487
  zn.value && (Bn.value && zn.value.unobserve(Bn.value), zn.value.disconnect());
488
488
  });
489
- let or = v(() => !!L.value.debug);
489
+ let or = y(() => !!L.value.debug);
490
490
  function sr() {
491
- if (n(M.dataset) ? (c({
491
+ if (a(M.dataset) ? (o({
492
492
  componentName: "VueUiDonut",
493
493
  type: "dataset",
494
494
  debug: or.value
495
495
  }), Nn.value = !1, gr.value = !0) : (M.dataset.forEach((e, t) => {
496
- ae({
496
+ ce({
497
497
  datasetObject: e,
498
498
  requiredAttributes: ["name", "values"]
499
499
  }).forEach((e) => {
500
- c({
500
+ o({
501
501
  componentName: "VueUiDonut",
502
502
  type: "datasetSerieAttribute",
503
503
  property: e,
@@ -506,16 +506,16 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
506
506
  }), Nn.value = !1, gr.value = !0;
507
507
  });
508
508
  }), M.dataset.forEach((e, t) => {
509
- (!e.name || e.name === "") && c({
509
+ (!e.name || e.name === "") && o({
510
510
  componentName: "VueUiDonut",
511
511
  type: "datasetAttributeEmpty",
512
512
  property: "name",
513
513
  index: t,
514
514
  debug: or.value
515
515
  });
516
- })), n(M.dataset) || (gr.value = L.value.loading), L.value.responsive) {
517
- let e = we(() => {
518
- let { width: e, height: t } = Te({
516
+ })), a(M.dataset) || (gr.value = L.value.loading), L.value.responsive) {
517
+ let e = Ce(() => {
518
+ let { width: e, height: t } = we({
519
519
  chart: N.value,
520
520
  title: L.value.style.chart.title.text ? Ln.value : null,
521
521
  legend: L.value.style.chart.legend.show ? Rn.value : null,
@@ -530,30 +530,30 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
530
530
  zn.value && (Bn.value && zn.value.unobserve(Bn.value), zn.value.disconnect()), zn.value = new ResizeObserver(e), Bn.value = N.value.parentNode, zn.value.observe(Bn.value);
531
531
  }
532
532
  }
533
- let F = E(te()), cr = E(!1), lr = E(""), I = E(null), ur = E(0);
533
+ let F = D(ee()), cr = D(!1), lr = D(""), I = D(null), ur = D(0);
534
534
  function dr() {
535
- let e = ve({
535
+ let e = _e({
536
536
  userConfig: M.config,
537
537
  defaultConfig: kn
538
- }), n = {}, i = e.theme;
539
- if (!i) n = e;
540
- else if (!An.value(e)) jn(e), n = e;
538
+ }), t = {}, n = e.theme;
539
+ if (!n) t = e;
540
+ else if (!An.value(e)) jn(e), t = e;
541
541
  else {
542
- let a = ve({
543
- userConfig: Me[i] || M.config,
542
+ let r = _e({
543
+ userConfig: je[n] || M.config,
544
544
  defaultConfig: e
545
545
  });
546
- n = {
547
- ...ve({
546
+ t = {
547
+ ..._e({
548
548
  userConfig: M.config,
549
- defaultConfig: a
549
+ defaultConfig: r
550
550
  }),
551
- customPalette: e.customPalette.length ? e.customPalette : r[i] || t
551
+ customPalette: e.customPalette.length ? e.customPalette : u[n] || m
552
552
  };
553
553
  }
554
- return n;
554
+ return t;
555
555
  }
556
- let L = E(dr()), fr = v(() => L.value.userOptions.useCursorPointer), pr = v(() => ne({
556
+ let L = D(dr()), fr = y(() => L.value.userOptions.useCursorPointer), pr = y(() => n({
557
557
  defaultConfig: {
558
558
  useCssAnimation: !1,
559
559
  table: { show: !1 },
@@ -581,7 +581,7 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
581
581
  } }
582
582
  },
583
583
  userConfig: L.value.skeletonConfig ?? {}
584
- })), { loading: mr, FINAL_DATASET: hr, manualLoading: gr, skeletonDataset: _r } = he({
584
+ })), { loading: mr, FINAL_DATASET: hr, manualLoading: gr, skeletonDataset: _r } = me({
585
585
  ...qe(M),
586
586
  FINAL_CONFIG: L,
587
587
  prepareConfig: dr,
@@ -602,17 +602,17 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
602
602
  color: "#CACACA"
603
603
  }
604
604
  ],
605
- skeletonConfig: ne({
605
+ skeletonConfig: n({
606
606
  defaultConfig: L.value,
607
607
  userConfig: pr.value
608
608
  })
609
- }), R = E(!0), vr = E(0), yr = E(!1), br = null;
609
+ }), R = D(!0), vr = D(0), yr = D(!1), br = null;
610
610
  function xr(e = 1e3) {
611
611
  return new Promise((t) => {
612
612
  let n = performance.now();
613
613
  function r(i) {
614
614
  let a = i - n, o = Math.min(a / e, 1);
615
- vr.value = re(o), o < 1 ? br = requestAnimationFrame(r) : (vr.value = 1, br = null, t());
615
+ vr.value = ne(o), o < 1 ? br = requestAnimationFrame(r) : (vr.value = 1, br = null, t());
616
616
  }
617
617
  br !== null && cancelAnimationFrame(br), vr.value = 0, br = requestAnimationFrame(r);
618
618
  });
@@ -622,7 +622,7 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
622
622
  let t = hr.value === _r, n = L.value.startAnimation?.show;
623
623
  !t && n ? (yr.value = !0, await xr(L.value.startAnimation.durationMs || 1e3)) : vr.value = 1, R.value = !1;
624
624
  }, { immediate: !0 });
625
- let { userOptionsVisible: Sr, setUserOptionsVisibility: Cr, keepUserOptionState: wr } = Oe({ config: L.value }), { svgRef: z } = ke({ config: L.value.style.chart.title });
625
+ let { userOptionsVisible: Sr, setUserOptionsVisibility: Cr, keepUserOptionState: wr } = De({ config: L.value }), { svgRef: z } = Oe({ config: L.value.style.chart.title });
626
626
  function Tr() {
627
627
  Cr(!0);
628
628
  }
@@ -632,7 +632,7 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
632
632
  Xe(() => M.config, (e) => {
633
633
  mr.value || (L.value = dr()), Sr.value = !L.value.userOptions.showOnChartHover, sr(), Un.value += 1, Wn.value += 1, Gn.value += 1, B.value.dataLabels.show = L.value.style.chart.layout.labels.dataLabels.show, B.value.showTable = L.value.table.show, B.value.showTooltip = L.value.style.chart.tooltip.show, V.value.height = L.value.style.chart.height, V.value.width = L.value.style.chart.width;
634
634
  }, { deep: !0 });
635
- let Dr = v(() => {
635
+ let Dr = y(() => {
636
636
  let { top: e, right: t, bottom: n, left: r } = L.value.style.chart.padding;
637
637
  return {
638
638
  css: `padding:${e}px ${t}px ${n}px ${r}px`,
@@ -641,11 +641,11 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
641
641
  bottom: n,
642
642
  left: r
643
643
  };
644
- }), { isPrinting: Or, isImaging: kr, generatePdf: Ar, generateImage: jr } = me({
644
+ }), { isPrinting: Or, isImaging: kr, generatePdf: Ar, generateImage: jr } = pe({
645
645
  elementId: `donut__${F.value}`,
646
646
  fileName: L.value.style.chart.title.text || "vue-ui-donut",
647
647
  options: L.value.userOptions.print
648
- }), Mr = v(() => L.value.userOptions.show && !L.value.style.chart.title.text), Nr = v(() => l(L.value.customPalette)), B = E({
648
+ }), Mr = y(() => L.value.userOptions.show && !L.value.style.chart.title.text), Nr = y(() => c(L.value.customPalette)), B = D({
649
649
  dataLabels: { show: L.value.style.chart.layout.labels.dataLabels.show },
650
650
  showTable: L.value.table.show,
651
651
  showTooltip: L.value.style.chart.tooltip.show
@@ -657,31 +657,31 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
657
657
  showTooltip: L.value.style.chart.tooltip.show
658
658
  };
659
659
  }, { immediate: !0 });
660
- let V = E({
660
+ let V = D({
661
661
  height: L.value.style.chart.height,
662
662
  width: L.value.style.chart.width
663
- }), Pr = v(() => {
663
+ }), Pr = y(() => {
664
664
  if (L.value.pie) return G.value;
665
665
  let e = L.value.style.chart.layout.donut.strokeWidth / 512, t = Math.min(V.value.width, V.value.height) * e, n = t > G.value ? G.value : t;
666
666
  return Math.max(n, 12 * (1 + e));
667
- }), Fr = $e, H = v(() => hr.value.sort((e, t) => {
667
+ }), Fr = $e, H = y(() => hr.value.sort((e, t) => {
668
668
  let n = Array.isArray(e.values) ? e.values.reduce((e, t) => e + t, 0) : e.value ?? 0, r = Array.isArray(t.values) ? t.values.reduce((e, t) => e + t, 0) : t.value ?? 0;
669
669
  return e.ghost && !t.ghost ? 1 : t.ghost && !e.ghost ? -1 : r - n;
670
- }).map((e, n) => ({
670
+ }).map((e, t) => ({
671
671
  name: e.name,
672
- color: f(e.color) || Nr.value[n] || t[n] || t[n % t.length],
673
- value: de(e.values.reduce((e, t) => e + t, 0)),
672
+ color: d(e.color) || Nr.value[t] || m[t] || m[t % m.length],
673
+ value: le(e.values.reduce((e, t) => e + t, 0)),
674
674
  absoluteValues: e.values,
675
675
  comment: e.comment || "",
676
- patternIndex: n,
677
- seriesIndex: n,
676
+ patternIndex: t,
677
+ seriesIndex: t,
678
678
  ghost: !1,
679
- pattern: `pattern_${F.value}_${n}`
679
+ pattern: `pattern_${F.value}_${t}`
680
680
  })));
681
681
  Xe(() => M.dataset, (e) => {
682
682
  Array.isArray(e) && e.length > 0 && (gr.value = !1);
683
683
  }, { immediate: !0 });
684
- let U = Ke(H.value);
684
+ let U = Ge(H.value);
685
685
  Xe(() => H.value, (e) => {
686
686
  U.value = e, requestAnimationFrame(ir);
687
687
  });
@@ -692,7 +692,7 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
692
692
  value: e.value
693
693
  }));
694
694
  }
695
- let W = E([]), Lr = E(!1), Rr = E(null);
695
+ let W = D([]), Lr = D(!1), Rr = D(null);
696
696
  function zr() {
697
697
  Fr("selectLegend", qr.value.map((e) => ({
698
698
  name: e.name,
@@ -700,7 +700,7 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
700
700
  value: e.value
701
701
  })));
702
702
  }
703
- function Br({ from: e, to: t, duration: n, onUpdate: r, onDone: i, easing: a = re }) {
703
+ function Br({ from: e, to: t, duration: n, onUpdate: r, onDone: i, easing: a = ne }) {
704
704
  let o = performance.now();
705
705
  function s(c) {
706
706
  let l = Math.min((c - o) / n, 1), u = a(l);
@@ -778,7 +778,7 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
778
778
  let t = Ur(e);
779
779
  t !== null && (W.value.includes(t.seriesIndex) || Hr(t.seriesIndex));
780
780
  }
781
- let Kr = v(() => hr.value.reduce((e, t) => e + t.values.reduce((e, t) => e + t, 0), 0)), qr = v(() => {
781
+ let Kr = y(() => hr.value.reduce((e, t) => e + t.values.reduce((e, t) => e + t, 0), 0)), qr = y(() => {
782
782
  if (R.value && !mr.value) {
783
783
  let e = vr.value, t = H.value.map((t) => ({
784
784
  ...t,
@@ -801,18 +801,18 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
801
801
  ...e,
802
802
  seriesIndex: t
803
803
  })).filter((e, t) => !W.value.includes(t));
804
- }), Jr = v(() => hr.value.map((e, n) => {
805
- let r = (e.values || []).reduce((e, t) => e + t, 0), i = r / hr.value.map((e) => (e.values || []).reduce((e, t) => e + t, 0)).reduce((e, t) => e + t, 0);
804
+ }), Jr = y(() => hr.value.map((e, t) => {
805
+ let n = (e.values || []).reduce((e, t) => e + t, 0), r = n / hr.value.map((e) => (e.values || []).reduce((e, t) => e + t, 0)).reduce((e, t) => e + t, 0);
806
806
  return {
807
807
  name: e.name,
808
- color: f(e.color) || Nr.value[n] || t[n] || t[n % t.length],
809
- value: r,
808
+ color: d(e.color) || Nr.value[t] || m[t] || m[t % m.length],
809
+ value: n,
810
810
  shape: "circle",
811
- patternIndex: n,
812
- proportion: i
811
+ patternIndex: t,
812
+ proportion: r
813
813
  };
814
814
  }).map((e, t) => {
815
- let n = m(L.value.style.chart.layout.labels.value.formatter, e.value, h({
815
+ let n = p(L.value.style.chart.layout.labels.value.formatter, e.value, g({
816
816
  p: L.value.style.chart.layout.labels.dataLabels.prefix,
817
817
  v: e.value,
818
818
  s: L.value.style.chart.layout.labels.dataLabels.suffix,
@@ -820,7 +820,7 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
820
820
  }), {
821
821
  datapoint: e,
822
822
  index: t
823
- }), r = m(L.value.style.chart.layout.labels.percentage.formatter, ai(e), h({
823
+ }), r = p(L.value.style.chart.layout.labels.percentage.formatter, ai(e), g({
824
824
  v: ai(e),
825
825
  s: "%",
826
826
  r: L.value.style.chart.legend.roundingPercentage
@@ -838,17 +838,17 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
838
838
  isSegregated: W.value.includes(t),
839
839
  display: `${e.name}${L.value.style.chart.legend.showPercentage || L.value.style.chart.legend.showValue ? ": " : ""}${i}`
840
840
  };
841
- })), Yr = v(() => ({
841
+ })), Yr = y(() => ({
842
842
  cy: "donut-div-legend",
843
843
  backgroundColor: L.value.style.chart.legend.backgroundColor,
844
844
  color: L.value.style.chart.legend.color,
845
845
  fontSize: L.value.style.chart.legend.fontSize,
846
846
  paddingBottom: 12,
847
847
  fontWeight: L.value.style.chart.legend.bold ? "bold" : ""
848
- })), G = v(() => {
848
+ })), G = y(() => {
849
849
  let e = L.value.style.chart.layout.donut.radiusRatio, t = Math.max(.1, Math.min(.50001, e)), n = Math.min(V.value.width * t, V.value.height * t);
850
850
  return Math.max(12, n);
851
- }), K = v(() => u({ series: qr.value }, V.value.width / 2, V.value.height / 2, G.value, G.value, 1.99999, 2, 1, 360, 105.25, Pr.value)), Xr = v(() => Math.abs(qr.value.map((e) => e.value).reduce((e, t) => e + t, 0)) > 0), Zr = v(() => u({ series: [{
851
+ }), K = y(() => t({ series: qr.value }, V.value.width / 2, V.value.height / 2, G.value, G.value, 1.99999, 2, 1, 360, 105.25, Pr.value)), Xr = y(() => Math.abs(qr.value.map((e) => e.value).reduce((e, t) => e + t, 0)) > 0), Zr = y(() => t({ series: [{
852
852
  value: 1,
853
853
  color: L.value.style.chart.layout.donut.emptyFill,
854
854
  name: "_",
@@ -856,9 +856,9 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
856
856
  patternIndex: -1,
857
857
  ghost: !1,
858
858
  absoluteValues: [1]
859
- }] }, V.value.width / 2, V.value.height / 2, G.value, G.value, 1.99999, 2, 1, 360, 105.25, Pr.value)), q = v(() => K.value.filter((e) => !e.ghost)), J = v(() => {
859
+ }] }, V.value.width / 2, V.value.height / 2, G.value, G.value, 1.99999, 2, 1, 360, 105.25, Pr.value)), q = y(() => K.value.filter((e) => !e.ghost)), J = y(() => {
860
860
  let e = Math.max(...qr.value.map((e) => e.value));
861
- return o({
861
+ return i({
862
862
  series: qr.value.map((t) => t.value / e),
863
863
  center: {
864
864
  x: V.value.width / 2,
@@ -872,13 +872,13 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
872
872
  return e.x > V.value.width / 2 + 6 ? "start" : e.x < V.value.width / 2 - 6 ? "end" : "middle";
873
873
  }
874
874
  function $r(e) {
875
- return e.middlePoint.y > V.value.height / 2 ? s({
875
+ return e.middlePoint.y > V.value.height / 2 ? h({
876
876
  initX: e.middlePoint.x,
877
877
  initY: e.middlePoint.y,
878
878
  offset: 100,
879
879
  centerX: V.value.width / 2,
880
880
  centerY: V.value.height / 2
881
- }).y : s({
881
+ }).y : h({
882
882
  initX: e.middlePoint.x,
883
883
  initY: e.middlePoint.y,
884
884
  offset: 0,
@@ -900,16 +900,16 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
900
900
  padding: Dr,
901
901
  labels_inline_fontSize: nr,
902
902
  minSize: G,
903
- findArcMidpoint: oe,
904
- calcMarkerOffsetX: g,
905
- calcMarkerOffsetY: p,
903
+ findArcMidpoint: re,
904
+ calcMarkerOffsetX: _,
905
+ calcMarkerOffsetY: f,
906
906
  animatingIndex: Rr,
907
907
  segregated: W,
908
908
  isSmallArc: ei
909
909
  });
910
910
  function ti(e, t) {
911
911
  let n = e.value / ni(t);
912
- return isNaN(n) ? 0 : m(L.value.style.chart.layout.labels.percentage.formatter, n * 100, h({
912
+ return isNaN(n) ? 0 : p(L.value.style.chart.layout.labels.percentage.formatter, n * 100, g({
913
913
  v: n * 100,
914
914
  s: "%",
915
915
  r: L.value.style.chart.layout.labels.percentage.rounding
@@ -918,14 +918,14 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
918
918
  function ni(e) {
919
919
  return [...e].map((e) => e.value).reduce((e, t) => e + t, 0);
920
920
  }
921
- let Z = v(() => qr.value.map((e) => e.value).reduce((e, t) => e + t, 0)), ri = v(() => {
921
+ let Z = y(() => qr.value.map((e) => e.value).reduce((e, t) => e + t, 0)), ri = y(() => {
922
922
  let e = H.value.reduce((e, t) => e + t.value, 0);
923
923
  return e <= 0 ? [] : H.value.map((t) => t.value / e);
924
- }), ii = v(() => Z.value / qr.value.length);
924
+ }), ii = y(() => Z.value / qr.value.length);
925
925
  function ai(e) {
926
926
  return Lr.value ? e.proportion * 100 : e.value / Z.value * 100;
927
927
  }
928
- let oi = E(null), si = E(!1);
928
+ let oi = D(null), si = D(!1);
929
929
  function ci({ datapoint: e, seriesIndex: t }) {
930
930
  L.value.events.datapointLeave && L.value.events.datapointLeave({
931
931
  datapoint: e,
@@ -943,7 +943,7 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
943
943
  series: H.value
944
944
  }, cr.value = r, I.value = t;
945
945
  let a = "", o = L.value.style.chart.tooltip.customFormat;
946
- if (si.value = !1, ie(o)) try {
946
+ if (si.value = !1, ue(o)) try {
947
947
  let t = o({
948
948
  seriesIndex: n,
949
949
  datapoint: e,
@@ -957,7 +957,7 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
957
957
  si.value || (a += `<div style="width:100%;text-align:center;border-bottom:1px solid ${L.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${e.name}</div>`, a += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 60 60" height="14" width="14"><circle cx="30" cy="30" r="30" stroke="none" fill="${e.color}"/>${Mn.pattern ? `<circle cx="30" cy="30" r="30" stroke="none" fill="url(#pattern_${F.value}_${n})"/>` : ""}</svg>`, a += `<b>${xi({
958
958
  showVal: L.value.style.chart.tooltip.showValue,
959
959
  showPercentage: L.value.style.chart.tooltip.showPercentage,
960
- val: `<span>${m(L.value.style.chart.layout.labels.value.formatter, e.value, h({
960
+ val: `<span>${p(L.value.style.chart.layout.labels.value.formatter, e.value, g({
961
961
  p: L.value.style.chart.layout.labels.dataLabels.prefix,
962
962
  v: e.value,
963
963
  s: L.value.style.chart.layout.labels.dataLabels.suffix,
@@ -967,7 +967,7 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
967
967
  relativeIndex: t,
968
968
  seriesIndex: n
969
969
  })}</span>`,
970
- percentage: m(L.value.style.chart.layout.labels.percentage.formatter, e.proportion * 100, h({
970
+ percentage: p(L.value.style.chart.layout.labels.percentage.formatter, e.proportion * 100, g({
971
971
  v: e.proportion * 100,
972
972
  s: "%",
973
973
  r: L.value.style.chart.tooltip.roundingPercentage
@@ -986,11 +986,11 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
986
986
  x: n.labelX,
987
987
  y: n.labelY
988
988
  };
989
- let r = g(e, !0, 12);
989
+ let r = _(e, !0, 12);
990
990
  return {
991
991
  textAnchor: r.anchor,
992
992
  x: r.x,
993
- y: p(e)
993
+ y: f(e)
994
994
  };
995
995
  }
996
996
  function ui(e, t, n) {
@@ -1023,7 +1023,7 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1023
1023
  }), r === "end" ? `${L.value.style.chart.layout.labels.name.show ? c : ""}${o}` : `${o}${L.value.style.chart.layout.labels.name.show ? c : ""}`;
1024
1024
  }
1025
1025
  function di(e, t) {
1026
- let n = J.value[t].middlePoint, r = Qr(n), i = s({
1026
+ let n = J.value[t].middlePoint, r = Qr(n), i = h({
1027
1027
  initX: n.x,
1028
1028
  initY: n.y,
1029
1029
  offset: 42,
@@ -1031,23 +1031,23 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1031
1031
  centerY: V.value.height / 2
1032
1032
  }), a = i.x;
1033
1033
  i.y;
1034
- let o = Si(e), c = `
1034
+ let o = Si(e), s = `
1035
1035
  <tspan
1036
1036
  class="vue-data-ui-datalabel-value"
1037
1037
  fill="${L.value.style.chart.layout.labels.percentage.color}"
1038
1038
  font-size="${tr.value}px"
1039
1039
  style="font-weight:${L.value.style.chart.layout.labels.percentage.bold ? "bold" : "normal"}"
1040
1040
  >${o}</tspan>
1041
- `, l = String(e.name ?? "").split(/\n/g), u = "";
1042
- return l.forEach((e, t) => {
1043
- t === 0 ? u += `
1041
+ `, c = String(e.name ?? "").split(/\n/g), l = "";
1042
+ return c.forEach((e, t) => {
1043
+ t === 0 ? l += `
1044
1044
  <tspan
1045
1045
  class="vue-data-ui-datalabel-name"
1046
1046
  fill="${L.value.style.chart.layout.labels.name.color}"
1047
1047
  font-size="${P.value}px"
1048
1048
  style="font-weight:${L.value.style.chart.layout.labels.name.bold ? "bold" : "normal"}"
1049
1049
  >${e}</tspan>
1050
- ` : u += `
1050
+ ` : l += `
1051
1051
  <tspan
1052
1052
  class="vue-data-ui-datalabel-name"
1053
1053
  x="${a}"
@@ -1057,7 +1057,7 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1057
1057
  style="font-weight:${L.value.style.chart.layout.labels.name.bold ? "bold" : "normal"}"
1058
1058
  >${e}</tspan>
1059
1059
  `;
1060
- }), r === "end" ? `${L.value.style.chart.layout.labels.name.show ? u : ""}${c}` : `${c}${L.value.style.chart.layout.labels.name.show ? u : ""}`;
1060
+ }), r === "end" ? `${L.value.style.chart.layout.labels.name.show ? l : ""}${s}` : `${s}${L.value.style.chart.layout.labels.name.show ? l : ""}`;
1061
1061
  }
1062
1062
  function fi(e) {
1063
1063
  return L.value.useBlurOnHover && ![null, void 0].includes(I.value) && I.value !== e ? `url(#blur_${F.value})` : "";
@@ -1067,7 +1067,7 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1067
1067
  let t = (e.proportion ?? 0) * 100, n = L.value.style.chart.layout.labels.dataLabels.hideUnderValue, r = L.value.style.chart.layout.labels.dataLabels.smallArcClusterThreshold + 2, i = n;
1068
1068
  return t >= r ? 1 : t <= i ? 0 : (t - i) / (r - i);
1069
1069
  }
1070
- let mi = v(() => ({
1070
+ let mi = y(() => ({
1071
1071
  head: qr.value.map((e) => ({
1072
1072
  name: e.name,
1073
1073
  color: e.color
@@ -1075,12 +1075,12 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1075
1075
  body: qr.value.map((e) => e.value)
1076
1076
  }));
1077
1077
  function hi(e = null) {
1078
- Ve(() => {
1078
+ Be(() => {
1079
1079
  let t = mi.value.head.map((e, t) => [
1080
1080
  [e.name],
1081
1081
  [mi.value.body[t]],
1082
1082
  [isNaN(mi.value.body[t] / Z.value) ? "-" : mi.value.body[t] / Z.value * 100]
1083
- ]), n = fe([
1083
+ ]), n = de([
1084
1084
  [L.value.style.chart.title.text],
1085
1085
  [L.value.style.chart.title.subtitle.text],
1086
1086
  [
@@ -1089,16 +1089,16 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1089
1089
  ["%"]
1090
1090
  ]
1091
1091
  ].concat(t));
1092
- e ? e(n) : d({
1092
+ e ? e(n) : te({
1093
1093
  csvContent: n,
1094
1094
  title: L.value.style.chart.title.text || "vue-ui-donut"
1095
1095
  });
1096
1096
  });
1097
1097
  }
1098
- let gi = v(() => {
1098
+ let gi = y(() => {
1099
1099
  let e = [
1100
1100
  " <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" stroke-width=\"1.5\" stroke=\"currentColor\" fill=\"none\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path stroke=\"none\" d=\"M0 0h24v24H0z\" fill=\"none\"/><path d=\"M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2\" /></svg>",
1101
- h({
1101
+ g({
1102
1102
  p: L.value.style.chart.layout.labels.dataLabels.prefix,
1103
1103
  v: Z.value,
1104
1104
  s: L.value.style.chart.layout.labels.dataLabels.suffix,
@@ -1136,19 +1136,19 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1136
1136
  a11yBody: n,
1137
1137
  config: r
1138
1138
  };
1139
- }), _i = E(!1);
1139
+ }), _i = D(!1);
1140
1140
  function vi(e) {
1141
1141
  _i.value = e, ur.value += 1;
1142
1142
  }
1143
- let yi = v(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent));
1143
+ let yi = y(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent));
1144
1144
  function bi(e) {
1145
- return Ae({
1145
+ return ke({
1146
1146
  num: e,
1147
1147
  rounding: L.value.style.chart.legend.roundingPercentage
1148
1148
  });
1149
1149
  }
1150
1150
  function xi({ val: e, percentage: t, showVal: n, showPercentage: r, config: i }) {
1151
- return je({
1151
+ return Ae({
1152
1152
  config: i,
1153
1153
  val: e,
1154
1154
  percentage: t,
@@ -1158,7 +1158,7 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1158
1158
  }
1159
1159
  function Si(e) {
1160
1160
  return xi({
1161
- val: m(L.value.style.chart.layout.labels.value.formatter, e.value, h({
1161
+ val: p(L.value.style.chart.layout.labels.value.formatter, e.value, g({
1162
1162
  p: L.value.style.chart.layout.labels.dataLabels.prefix,
1163
1163
  v: e.value,
1164
1164
  s: L.value.style.chart.layout.labels.dataLabels.suffix,
@@ -1188,13 +1188,13 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1188
1188
  function Ti() {
1189
1189
  B.value.showTooltip = !B.value.showTooltip;
1190
1190
  }
1191
- let Ei = E(!1);
1191
+ let Ei = D(!1);
1192
1192
  function Di() {
1193
1193
  Ei.value = !Ei.value;
1194
1194
  }
1195
1195
  async function Oi({ scale: e = 2 } = {}) {
1196
1196
  if (!N.value) return;
1197
- let { width: t, height: n } = N.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await be({
1197
+ let { width: t, height: n } = N.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await ye({
1198
1198
  domElement: N.value,
1199
1199
  base64: !0,
1200
1200
  img: !0,
@@ -1214,7 +1214,7 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1214
1214
  let { x: e, y: t, width: n, height: r } = Pn.value.getBBox();
1215
1215
  z.value && z.value.setAttribute("viewBox", `${e} ${t} ${n + Math.min(0, e)} ${r + Math.min(0, t)}`);
1216
1216
  }
1217
- let Ai = v(() => {
1217
+ let Ai = y(() => {
1218
1218
  let e = L.value.table.useDialog && !L.value.table.show, t = B.value.showTable;
1219
1219
  return {
1220
1220
  component: e ? On : Cn,
@@ -1251,18 +1251,18 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1251
1251
  function ji() {
1252
1252
  B.value.showTable = !1, Jn.value && Jn.value.setTableIconState(!1);
1253
1253
  }
1254
- let Mi = v(() => Jr.value.map((e) => ({
1254
+ let Mi = y(() => Jr.value.map((e) => ({
1255
1255
  ...e,
1256
1256
  name: e.display
1257
- }))), Ni = v(() => L.value.style.chart.backgroundColor), Pi = v(() => L.value.style.chart.legend), { exportSvg: Fi, getSvg: Ii } = _e({
1257
+ }))), Ni = y(() => L.value.style.chart.backgroundColor), Pi = y(() => L.value.style.chart.legend), { exportSvg: Fi, getSvg: Ii } = ge({
1258
1258
  svg: z,
1259
- title: v(() => L.value.style.chart.title),
1259
+ title: y(() => L.value.style.chart.title),
1260
1260
  legend: Pi,
1261
1261
  legendItems: Mi,
1262
1262
  backgroundColor: Ni
1263
1263
  });
1264
1264
  async function Li({ isCb: e }) {
1265
- Xn.value = !0, await Ve();
1265
+ Xn.value = !0, await Be();
1266
1266
  try {
1267
1267
  if (e) {
1268
1268
  let { blob: e, url: t, text: n, dataUrl: r } = await Ii();
@@ -1339,7 +1339,7 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1339
1339
  if (L.value.type === "classic") {
1340
1340
  let r = q.value[e];
1341
1341
  if (!r?.arcSlice) return;
1342
- let i = oe(r.arcSlice);
1342
+ let i = re(r.arcSlice);
1343
1343
  if (!i) return;
1344
1344
  t = i.x, n = i.y;
1345
1345
  } else {
@@ -1353,11 +1353,11 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1353
1353
  y: r.top + n / V.value.height * r.height
1354
1354
  };
1355
1355
  }
1356
- let Wi = v(() => ({
1356
+ let Wi = y(() => ({
1357
1357
  headers: gi.value?.colNames ?? [],
1358
1358
  rows: gi.value?.a11yBody ?? []
1359
1359
  }));
1360
- return Ce({
1360
+ return Se({
1361
1361
  autoSize: ki,
1362
1362
  getData: Ir,
1363
1363
  getImage: Oi,
@@ -1373,20 +1373,20 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1373
1373
  toggleAnnotator: Di,
1374
1374
  toggleFullscreen: vi,
1375
1375
  copyAlt: zi
1376
- }), (t, n) => (T(), b("div", {
1376
+ }), (t, n) => (E(), x("div", {
1377
1377
  ref_key: "donutChart",
1378
1378
  ref: N,
1379
- class: He(`vue-data-ui-component vue-ui-donut ${_i.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${L.value.useCssAnimation ? "" : "vue-ui-dna"}`),
1380
- style: w(`font-family:${L.value.style.fontFamily};width:100%; ${L.value.responsive ? "height:100%;" : ""} text-align:center;background:${L.value.style.chart.backgroundColor}`),
1379
+ class: Ve(`vue-data-ui-component vue-ui-donut ${_i.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${L.value.useCssAnimation ? "" : "vue-ui-dna"}`),
1380
+ style: T(`font-family:${L.value.style.fontFamily};width:100%; ${L.value.responsive ? "height:100%;" : ""} text-align:center;background:${L.value.style.chart.backgroundColor}`),
1381
1381
  id: `donut__${F.value}`,
1382
1382
  onMouseenter: Tr,
1383
1383
  onMouseleave: Er
1384
1384
  }, [
1385
- x("div", {
1385
+ S("div", {
1386
1386
  id: `chart-instructions-${F.value}`,
1387
1387
  class: "sr-only"
1388
- }, [x("p", null, k(L.value.a11y.translations.keyboardNavigation), 1)], 8, tt),
1389
- Wi.value?.rows?.length ? (T(), Fe(De, {
1388
+ }, [S("p", null, Ke(L.value.a11y.translations.keyboardNavigation), 1)], 8, tt),
1389
+ Wi.value?.rows?.length ? (E(), Pe(Ee, {
1390
1390
  key: 0,
1391
1391
  uid: F.value,
1392
1392
  head: Wi.value.headers,
@@ -1399,8 +1399,8 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1399
1399
  "body",
1400
1400
  "notice",
1401
1401
  "caption"
1402
- ])) : y("", !0),
1403
- L.value.userOptions.buttons.annotator && A(z) ? (T(), Fe(A(Tn), {
1402
+ ])) : b("", !0),
1403
+ L.value.userOptions.buttons.annotator && A(z) ? (E(), Pe(A(Tn), {
1404
1404
  key: 1,
1405
1405
  color: L.value.style.chart.color,
1406
1406
  backgroundColor: L.value.style.chart.backgroundColor,
@@ -1409,12 +1409,12 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1409
1409
  isCursorPointer: fr.value,
1410
1410
  onClose: Di
1411
1411
  }, {
1412
- "annotator-action-close": j(() => [O(t.$slots, "annotator-action-close", {}, void 0, !0)]),
1413
- "annotator-action-color": j(({ color: e }) => [O(t.$slots, "annotator-action-color", C(S({ color: e })), void 0, !0)]),
1414
- "annotator-action-draw": j(({ mode: e }) => [O(t.$slots, "annotator-action-draw", C(S({ mode: e })), void 0, !0)]),
1415
- "annotator-action-undo": j(({ disabled: e }) => [O(t.$slots, "annotator-action-undo", C(S({ disabled: e })), void 0, !0)]),
1416
- "annotator-action-redo": j(({ disabled: e }) => [O(t.$slots, "annotator-action-redo", C(S({ disabled: e })), void 0, !0)]),
1417
- "annotator-action-delete": j(({ disabled: e }) => [O(t.$slots, "annotator-action-delete", C(S({ disabled: e })), void 0, !0)]),
1412
+ "annotator-action-close": j(() => [k(t.$slots, "annotator-action-close", {}, void 0, !0)]),
1413
+ "annotator-action-color": j(({ color: e }) => [k(t.$slots, "annotator-action-color", w(C({ color: e })), void 0, !0)]),
1414
+ "annotator-action-draw": j(({ mode: e }) => [k(t.$slots, "annotator-action-draw", w(C({ mode: e })), void 0, !0)]),
1415
+ "annotator-action-undo": j(({ disabled: e }) => [k(t.$slots, "annotator-action-undo", w(C({ disabled: e })), void 0, !0)]),
1416
+ "annotator-action-redo": j(({ disabled: e }) => [k(t.$slots, "annotator-action-redo", w(C({ disabled: e })), void 0, !0)]),
1417
+ "annotator-action-delete": j(({ disabled: e }) => [k(t.$slots, "annotator-action-delete", w(C({ disabled: e })), void 0, !0)]),
1418
1418
  _: 3
1419
1419
  }, 8, [
1420
1420
  "color",
@@ -1422,21 +1422,21 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1422
1422
  "active",
1423
1423
  "svgRef",
1424
1424
  "isCursorPointer"
1425
- ])) : y("", !0),
1426
- O(t.$slots, "userConfig", {}, void 0, !0),
1427
- Mr.value ? (T(), b("div", {
1425
+ ])) : b("", !0),
1426
+ k(t.$slots, "userConfig", {}, void 0, !0),
1427
+ Mr.value ? (E(), x("div", {
1428
1428
  key: 2,
1429
1429
  ref_key: "noTitle",
1430
1430
  ref: Hn,
1431
1431
  class: "vue-data-ui-no-title-space",
1432
1432
  style: "height:36px; width: 100%;background:transparent"
1433
- }, null, 512)) : y("", !0),
1434
- L.value.style.chart.title.text ? (T(), b("div", {
1433
+ }, null, 512)) : b("", !0),
1434
+ L.value.style.chart.title.text ? (E(), x("div", {
1435
1435
  key: 3,
1436
1436
  ref_key: "chartTitle",
1437
1437
  ref: Ln,
1438
1438
  style: "width:100%;background:transparent;padding-bottom:24px"
1439
- }, [(T(), Fe(xe, {
1439
+ }, [(E(), Pe(be, {
1440
1440
  key: `title_${Un.value}`,
1441
1441
  config: {
1442
1442
  title: {
@@ -1448,9 +1448,9 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1448
1448
  ...L.value.style.chart.title.subtitle
1449
1449
  }
1450
1450
  }
1451
- }, null, 8, ["config"]))], 512)) : y("", !0),
1452
- x("div", { id: `legend-top-${F.value}` }, null, 8, nt),
1453
- L.value.userOptions.show && Nn.value && (A(wr) || A(Sr)) ? (T(), Fe(A(En), {
1451
+ }, null, 8, ["config"]))], 512)) : b("", !0),
1452
+ S("div", { id: `legend-top-${F.value}` }, null, 8, nt),
1453
+ L.value.userOptions.show && Nn.value && (A(wr) || A(Sr)) ? (E(), Pe(A(En), {
1454
1454
  ref_key: "userOptionsRef",
1455
1455
  ref: Jn,
1456
1456
  key: `user_option_${ur.value}`,
@@ -1489,11 +1489,11 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1489
1489
  onToggleTooltip: Ti,
1490
1490
  onToggleAnnotator: Di,
1491
1491
  onCopyAlt: zi,
1492
- style: w({ visibility: A(wr) ? A(Sr) ? "visible" : "hidden" : "visible" })
1493
- }, Ie({ _: 2 }, [
1492
+ style: T({ visibility: A(wr) ? A(Sr) ? "visible" : "hidden" : "visible" })
1493
+ }, Fe({ _: 2 }, [
1494
1494
  t.$slots.menuIcon ? {
1495
1495
  name: "menuIcon",
1496
- fn: j(({ isOpen: e, color: n }) => [O(t.$slots, "menuIcon", C(S({
1496
+ fn: j(({ isOpen: e, color: n }) => [k(t.$slots, "menuIcon", w(C({
1497
1497
  isOpen: e,
1498
1498
  color: n
1499
1499
  })), void 0, !0)]),
@@ -1501,42 +1501,42 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1501
1501
  } : void 0,
1502
1502
  t.$slots.optionTooltip ? {
1503
1503
  name: "optionTooltip",
1504
- fn: j(() => [O(t.$slots, "optionTooltip", {}, void 0, !0)]),
1504
+ fn: j(() => [k(t.$slots, "optionTooltip", {}, void 0, !0)]),
1505
1505
  key: "1"
1506
1506
  } : void 0,
1507
1507
  t.$slots.optionPdf ? {
1508
1508
  name: "optionPdf",
1509
- fn: j(() => [O(t.$slots, "optionPdf", {}, void 0, !0)]),
1509
+ fn: j(() => [k(t.$slots, "optionPdf", {}, void 0, !0)]),
1510
1510
  key: "2"
1511
1511
  } : void 0,
1512
1512
  t.$slots.optionCsv ? {
1513
1513
  name: "optionCsv",
1514
- fn: j(() => [O(t.$slots, "optionCsv", {}, void 0, !0)]),
1514
+ fn: j(() => [k(t.$slots, "optionCsv", {}, void 0, !0)]),
1515
1515
  key: "3"
1516
1516
  } : void 0,
1517
1517
  t.$slots.optionImg ? {
1518
1518
  name: "optionImg",
1519
- fn: j(() => [O(t.$slots, "optionImg", {}, void 0, !0)]),
1519
+ fn: j(() => [k(t.$slots, "optionImg", {}, void 0, !0)]),
1520
1520
  key: "4"
1521
1521
  } : void 0,
1522
1522
  t.$slots.optionSvg ? {
1523
1523
  name: "optionSvg",
1524
- fn: j(() => [O(t.$slots, "optionSvg", {}, void 0, !0)]),
1524
+ fn: j(() => [k(t.$slots, "optionSvg", {}, void 0, !0)]),
1525
1525
  key: "5"
1526
1526
  } : void 0,
1527
1527
  t.$slots.optionTable ? {
1528
1528
  name: "optionTable",
1529
- fn: j(() => [O(t.$slots, "optionTable", {}, void 0, !0)]),
1529
+ fn: j(() => [k(t.$slots, "optionTable", {}, void 0, !0)]),
1530
1530
  key: "6"
1531
1531
  } : void 0,
1532
1532
  t.$slots.optionLabels ? {
1533
1533
  name: "optionLabels",
1534
- fn: j(() => [O(t.$slots, "optionLabels", {}, void 0, !0)]),
1534
+ fn: j(() => [k(t.$slots, "optionLabels", {}, void 0, !0)]),
1535
1535
  key: "7"
1536
1536
  } : void 0,
1537
1537
  t.$slots.optionFullscreen ? {
1538
1538
  name: "optionFullscreen",
1539
- fn: j(({ toggleFullscreen: e, isFullscreen: n }) => [O(t.$slots, "optionFullscreen", C(S({
1539
+ fn: j(({ toggleFullscreen: e, isFullscreen: n }) => [k(t.$slots, "optionFullscreen", w(C({
1540
1540
  toggleFullscreen: e,
1541
1541
  isFullscreen: n
1542
1542
  })), void 0, !0)]),
@@ -1544,7 +1544,7 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1544
1544
  } : void 0,
1545
1545
  t.$slots.optionAnnotator ? {
1546
1546
  name: "optionAnnotator",
1547
- fn: j(({ toggleAnnotator: e, isAnnotator: n }) => [O(t.$slots, "optionAnnotator", C(S({
1547
+ fn: j(({ toggleAnnotator: e, isAnnotator: n }) => [k(t.$slots, "optionAnnotator", w(C({
1548
1548
  toggleAnnotator: e,
1549
1549
  isAnnotator: n
1550
1550
  })), void 0, !0)]),
@@ -1552,120 +1552,120 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1552
1552
  } : void 0,
1553
1553
  t.$slots.optionAltCopy ? {
1554
1554
  name: "optionAltCopy",
1555
- fn: j(({ altCopy: e }) => [O(t.$slots, "optionAltCopy", C(S({ altCopy: e })), void 0, !0)]),
1555
+ fn: j(({ altCopy: e }) => [k(t.$slots, "optionAltCopy", w(C({ altCopy: e })), void 0, !0)]),
1556
1556
  key: "10"
1557
1557
  } : void 0,
1558
1558
  t.$slots["custom-menu-before"] ? {
1559
1559
  name: "custom-menu-before",
1560
- fn: j(() => [O(t.$slots, "custom-menu-before", {}, void 0, !0)]),
1560
+ fn: j(() => [k(t.$slots, "custom-menu-before", {}, void 0, !0)]),
1561
1561
  key: "11"
1562
1562
  } : void 0,
1563
1563
  t.$slots["custom-menu-after"] ? {
1564
1564
  name: "custom-menu-after",
1565
- fn: j(() => [O(t.$slots, "custom-menu-after", {}, void 0, !0)]),
1565
+ fn: j(() => [k(t.$slots, "custom-menu-after", {}, void 0, !0)]),
1566
1566
  key: "12"
1567
1567
  } : void 0
1568
- ]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasTooltip.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasLabel.hasFullscreen.hasAltCopy.isFullscreen.chartElement.position.callbacks.isTooltip.titles.hasAnnotator.isAnnotation.printScale.tableDialog.isCursorPointer.onGeneratePdf.style".split("."))) : y("", !0),
1569
- x("div", rt, [(T(), b("svg", {
1568
+ ]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasTooltip.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasLabel.hasFullscreen.hasAltCopy.isFullscreen.chartElement.position.callbacks.isTooltip.titles.hasAnnotator.isAnnotation.printScale.tableDialog.isCursorPointer.onGeneratePdf.style".split("."))) : b("", !0),
1569
+ S("div", rt, [(E(), x("svg", {
1570
1570
  ref_key: "svgRef",
1571
1571
  ref: z,
1572
- xmlns: A(ue),
1572
+ xmlns: A(se),
1573
1573
  "aria-describedby": `chart-instructions-${F.value}`,
1574
- class: He({
1574
+ class: Ve({
1575
1575
  "vue-data-ui-fullscreen--on": _i.value,
1576
1576
  "vue-data-ui-fulscreen--off": !_i.value,
1577
1577
  "vue-data-ui-svg": !0
1578
1578
  }),
1579
1579
  viewBox: `0 0 ${V.value.width <= 0 ? 10 : V.value.width} ${V.value.height <= 0 ? 10 : V.value.height}`,
1580
- style: w(`max-width:100%; overflow: visible; background:transparent;color:${L.value.style.chart.color};${Dr.value.css}`),
1580
+ style: T(`max-width:100%; overflow: visible; background:transparent;color:${L.value.style.chart.color};${Dr.value.css}`),
1581
1581
  tabindex: "0",
1582
1582
  onFocus: Bi,
1583
1583
  onBlur: Vi,
1584
1584
  onKeydown: Hi
1585
- }, [x("g", {
1585
+ }, [S("g", {
1586
1586
  ref_key: "G",
1587
1587
  ref: Pn,
1588
1588
  class: "vue-data-ui-g"
1589
1589
  }, [
1590
- Re(A(Dn)),
1591
- t.$slots["chart-background"] ? (T(), b("foreignObject", {
1590
+ Le(A(Dn)),
1591
+ t.$slots["chart-background"] ? (E(), x("foreignObject", {
1592
1592
  key: 0,
1593
1593
  x: 0,
1594
1594
  y: 0,
1595
1595
  width: V.value.width <= 0 ? 10 : V.value.width,
1596
1596
  height: V.value.height <= 0 ? 10 : V.value.height,
1597
1597
  style: { pointerEvents: "none" }
1598
- }, [O(t.$slots, "chart-background", {}, void 0, !0)], 8, at)) : y("", !0),
1599
- L.value.type === "classic" && !isNaN(Pr.value / G.value) ? (T(), b("defs", ot, [L.value.style.chart.useGradient ? (T(), b("radialGradient", {
1598
+ }, [k(t.$slots, "chart-background", {}, void 0, !0)], 8, at)) : b("", !0),
1599
+ L.value.type === "classic" && !isNaN(Pr.value / G.value) ? (E(), x("defs", ot, [L.value.style.chart.useGradient ? (E(), x("radialGradient", {
1600
1600
  key: 0,
1601
1601
  id: `gradient_${F.value}`
1602
1602
  }, [
1603
- x("stop", {
1603
+ S("stop", {
1604
1604
  offset: "0%",
1605
- "stop-color": A(i)(L.value.style.chart.backgroundColor, 0),
1605
+ "stop-color": A(r)(L.value.style.chart.backgroundColor, 0),
1606
1606
  "stop-opacity": "0"
1607
1607
  }, null, 8, ct),
1608
- x("stop", {
1608
+ S("stop", {
1609
1609
  offset: `${(1 - Pr.value / G.value) * 100}%`,
1610
- "stop-color": A(i)("#FFFFFF", 0),
1610
+ "stop-color": A(r)("#FFFFFF", 0),
1611
1611
  "stop-opacity": "0"
1612
1612
  }, null, 8, lt),
1613
- x("stop", {
1613
+ S("stop", {
1614
1614
  offset: `${(1 - Pr.value / G.value / 2) * 100}%`,
1615
- "stop-color": A(i)("#FFFFFF", L.value.style.chart.gradientIntensity)
1615
+ "stop-color": A(r)("#FFFFFF", L.value.style.chart.gradientIntensity)
1616
1616
  }, null, 8, ut),
1617
- x("stop", {
1617
+ S("stop", {
1618
1618
  offset: "100%",
1619
- "stop-color": A(i)(L.value.style.chart.backgroundColor, 0),
1619
+ "stop-color": A(r)(L.value.style.chart.backgroundColor, 0),
1620
1620
  "stop-opacity": "0"
1621
1621
  }, null, 8, dt)
1622
- ], 8, st)) : y("", !0)])) : y("", !0),
1623
- L.value.type === "polar" ? (T(), b("defs", ft, [(T(!0), b(_, null, D(J.value, (e, t) => (T(), b("radialGradient", {
1622
+ ], 8, st)) : b("", !0)])) : b("", !0),
1623
+ L.value.type === "polar" ? (E(), x("defs", ft, [(E(!0), x(v, null, O(J.value, (e, t) => (E(), x("radialGradient", {
1624
1624
  id: `polar_gradient_${t}_${F.value}`,
1625
1625
  cx: (isNaN(e.middlePoint.x / V.value.width * 100) ? 0 : e.middlePoint.x / V.value.width * 100) + "%",
1626
1626
  cy: (isNaN(e.middlePoint.y / V.value.height * 100) ? 0 : e.middlePoint.y / V.value.height * 100) + "%",
1627
1627
  r: "62%"
1628
- }, [x("stop", {
1628
+ }, [S("stop", {
1629
1629
  offset: "0%",
1630
- "stop-color": A(a)(K.value[t].color, .05),
1630
+ "stop-color": A(s)(K.value[t].color, .05),
1631
1631
  "stop-opacity": L.value.style.chart.gradientIntensity / 100
1632
- }, null, 8, mt), x("stop", {
1632
+ }, null, 8, mt), S("stop", {
1633
1633
  offset: "100%",
1634
1634
  "stop-color": K.value[t].color
1635
- }, null, 8, ht)], 8, pt))), 256))])) : y("", !0),
1636
- x("defs", null, [
1637
- x("filter", {
1635
+ }, null, 8, ht)], 8, pt))), 256))])) : b("", !0),
1636
+ S("defs", null, [
1637
+ S("filter", {
1638
1638
  id: `blur_${F.value}`,
1639
1639
  x: "-50%",
1640
1640
  y: "-50%",
1641
1641
  width: "200%",
1642
1642
  height: "200%"
1643
- }, [x("feGaussianBlur", {
1643
+ }, [S("feGaussianBlur", {
1644
1644
  in: "SourceGraphic",
1645
1645
  stdDeviation: 2,
1646
1646
  id: `blur_std_${F.value}`
1647
- }, null, 8, _t), n[5] ||= x("feColorMatrix", {
1647
+ }, null, 8, _t), n[5] ||= S("feColorMatrix", {
1648
1648
  type: "saturate",
1649
1649
  values: "0"
1650
1650
  }, null, -1)], 8, gt),
1651
- x("filter", {
1651
+ S("filter", {
1652
1652
  id: `shadow_${F.value}`,
1653
1653
  "color-interpolation-filters": "sRGB"
1654
- }, [x("feDropShadow", {
1654
+ }, [S("feDropShadow", {
1655
1655
  dx: "0",
1656
1656
  dy: "0",
1657
1657
  stdDeviation: "10",
1658
1658
  "flood-opacity": "0.5",
1659
1659
  "flood-color": L.value.style.chart.layout.donut.shadowColor
1660
1660
  }, null, 8, yt)], 8, vt),
1661
- x("filter", {
1661
+ S("filter", {
1662
1662
  id: `drop_shadow_${F.value}`,
1663
1663
  "color-interpolation-filters": "sRGB",
1664
1664
  x: "-50%",
1665
1665
  y: "-50%",
1666
1666
  width: "200%",
1667
1667
  height: "200%"
1668
- }, [x("feDropShadow", {
1668
+ }, [S("feDropShadow", {
1669
1669
  dx: "0",
1670
1670
  dy: "0",
1671
1671
  stdDeviation: "3",
@@ -1673,9 +1673,9 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1673
1673
  "flood-color": L.value.style.chart.layout.donut.shadowColor
1674
1674
  }, null, 8, xt)], 8, bt)
1675
1675
  ]),
1676
- L.value.type === "classic" ? (T(!0), b(_, { key: 3 }, D(K.value.filter((e) => !e.ghost), (e, t) => (T(), b("g", null, [Y(e) && B.value.dataLabels.show ? (T(), b("path", {
1676
+ L.value.type === "classic" ? (E(!0), x(v, { key: 3 }, O(K.value.filter((e) => !e.ghost), (e, t) => (E(), x("g", null, [Y(e) && B.value.dataLabels.show ? (E(), x("path", {
1677
1677
  key: 0,
1678
- d: A(X)[t]?.connectorPath || A(ce)(e, {
1678
+ d: A(X)[t]?.connectorPath || A(ae)(e, {
1679
1679
  x: V.value.width / 2,
1680
1680
  y: V.value.height / 2
1681
1681
  }, 16, 16, !1, !1, Pr.value, 12, L.value.style.chart.layout.curvedMarkers),
@@ -1685,16 +1685,16 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1685
1685
  "stroke-linejoin": "round",
1686
1686
  fill: "none",
1687
1687
  filter: fi(t)
1688
- }, null, 8, St)) : y("", !0)]))), 256)) : y("", !0),
1689
- L.value.type === "polar" ? (T(!0), b(_, { key: 4 }, D(K.value.filter((e) => !e.ghost), (e, t) => (T(), b("g", null, [Y(e) && B.value.dataLabels.show ? (T(), b("path", {
1688
+ }, null, 8, St)) : b("", !0)]))), 256)) : b("", !0),
1689
+ L.value.type === "polar" ? (E(!0), x(v, { key: 4 }, O(K.value.filter((e) => !e.ghost), (e, t) => (E(), x("g", null, [Y(e) && B.value.dataLabels.show ? (E(), x("path", {
1690
1690
  key: 0,
1691
- d: `M ${A(s)({
1691
+ d: `M ${A(h)({
1692
1692
  initX: J.value[t].middlePoint.x,
1693
1693
  initY: J.value[t].middlePoint.y,
1694
1694
  offset: 24,
1695
1695
  centerX: V.value.width / 2,
1696
1696
  centerY: V.value.height / 2
1697
- }).x},${A(s)({
1697
+ }).x},${A(h)({
1698
1698
  initX: J.value[t].middlePoint.x,
1699
1699
  initY: J.value[t].middlePoint.y,
1700
1700
  offset: 24,
@@ -1707,27 +1707,27 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1707
1707
  "stroke-linejoin": "round",
1708
1708
  fill: "none",
1709
1709
  filter: fi(t),
1710
- style: w({ transition: R.value || !L.value.serieToggleAnimation.show ? "none" : `all ${L.value.serieToggleAnimation.durationMs}ms ease-in-out` })
1711
- }, null, 12, Ct)) : y("", !0)]))), 256)) : y("", !0),
1712
- L.value.type === "classic" && L.value.style.chart.layout.donut.useShadow ? (T(), b("circle", {
1710
+ style: T({ transition: R.value || !L.value.serieToggleAnimation.show ? "none" : `all ${L.value.serieToggleAnimation.durationMs}ms ease-in-out` })
1711
+ }, null, 12, Ct)) : b("", !0)]))), 256)) : b("", !0),
1712
+ L.value.type === "classic" && L.value.style.chart.layout.donut.useShadow ? (E(), x("circle", {
1713
1713
  key: 5,
1714
1714
  cx: V.value.width / 2,
1715
1715
  cy: V.value.height / 2,
1716
1716
  r: G.value <= 0 ? 10 : G.value,
1717
1717
  fill: L.value.style.chart.backgroundColor,
1718
1718
  filter: `url(#shadow_${F.value})`
1719
- }, null, 8, wt)) : y("", !0),
1720
- t.$slots.pattern ? (T(), b("g", Tt, [(T(!0), b(_, null, D(e.dataset, (e, n) => (T(), b("defs", { key: `pattern-${e.patternIndex}` }, [O(t.$slots, "pattern", Be({ ref_for: !0 }, {
1719
+ }, null, 8, wt)) : b("", !0),
1720
+ t.$slots.pattern ? (E(), x("g", Tt, [(E(!0), x(v, null, O(e.dataset, (e, n) => (E(), x("defs", { key: `pattern-${e.patternIndex}` }, [k(t.$slots, "pattern", ze({ ref_for: !0 }, {
1721
1721
  seriesIndex: n,
1722
1722
  patternId: `pattern_${F.value}_${n}`
1723
- }), void 0, !0)]))), 128))])) : y("", !0),
1724
- Z.value && L.value.type === "classic" ? (T(), b(_, { key: 7 }, [
1725
- (T(!0), b(_, null, D(q.value, (e, t) => (T(), b("path", {
1723
+ }), void 0, !0)]))), 128))])) : b("", !0),
1724
+ Z.value && L.value.type === "classic" ? (E(), x(v, { key: 7 }, [
1725
+ (E(!0), x(v, null, O(q.value, (e, t) => (E(), x("path", {
1726
1726
  stroke: L.value.style.chart.backgroundColor,
1727
1727
  d: e.arcSlice,
1728
1728
  fill: "#FFFFFF"
1729
1729
  }, null, 8, Et))), 256)),
1730
- (T(!0), b(_, null, D(q.value, (e, t) => (T(), b("path", {
1730
+ (E(!0), x(v, null, O(q.value, (e, t) => (E(), x("path", {
1731
1731
  class: "vue-ui-donut-arc-path",
1732
1732
  d: e.arcSlice,
1733
1733
  fill: e.color,
@@ -1735,53 +1735,53 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1735
1735
  "stroke-width": L.value.style.chart.layout.donut.borderWidth,
1736
1736
  filter: fi(t)
1737
1737
  }, null, 8, Dt))), 256)),
1738
- t.$slots.pattern ? (T(), b("g", Ot, [(T(!0), b(_, null, D(q.value, (e, t) => (T(), b("path", {
1738
+ t.$slots.pattern ? (E(), x("g", Ot, [(E(!0), x(v, null, O(q.value, (e, t) => (E(), x("path", {
1739
1739
  class: "vue-ui-donut-arc-path",
1740
1740
  d: e.arcSlice,
1741
1741
  fill: `url(#${e.pattern})`,
1742
1742
  stroke: L.value.style.chart.layout.donut.borderColorAuto ? L.value.style.chart.backgroundColor : L.value.style.chart.layout.donut.borderColor,
1743
1743
  "stroke-width": L.value.style.chart.layout.donut.borderWidth,
1744
1744
  filter: fi(t)
1745
- }, null, 8, kt))), 256))])) : y("", !0)
1746
- ], 64)) : y("", !0),
1747
- Z.value && L.value.type === "polar" ? (T(), b(_, { key: 8 }, [K.value.length > 1 ? (T(), b("g", At, [
1748
- (T(!0), b(_, null, D(q.value, (e, t) => (T(), b("path", {
1745
+ }, null, 8, kt))), 256))])) : b("", !0)
1746
+ ], 64)) : b("", !0),
1747
+ Z.value && L.value.type === "polar" ? (E(), x(v, { key: 8 }, [K.value.length > 1 ? (E(), x("g", At, [
1748
+ (E(!0), x(v, null, O(q.value, (e, t) => (E(), x("path", {
1749
1749
  stroke: L.value.style.chart.layout.donut.borderColorAuto ? L.value.style.chart.backgroundColor : L.value.style.chart.layout.donut.borderColor,
1750
1750
  d: J.value[t].path,
1751
1751
  fill: "#FFFFFF",
1752
- style: w({ transition: R.value || !L.value.serieToggleAnimation.show ? "none" : `all ${L.value.serieToggleAnimation.durationMs}ms ease-in-out` })
1752
+ style: T({ transition: R.value || !L.value.serieToggleAnimation.show ? "none" : `all ${L.value.serieToggleAnimation.durationMs}ms ease-in-out` })
1753
1753
  }, null, 12, jt))), 256)),
1754
- L.value.style.chart.layout.donut.useShadow ? (T(), b("g", Mt, [(T(!0), b(_, null, D(q.value, (e, t) => (T(), b("path", {
1754
+ L.value.style.chart.layout.donut.useShadow ? (E(), x("g", Mt, [(E(!0), x(v, null, O(q.value, (e, t) => (E(), x("path", {
1755
1755
  class: "vue-ui-donut-arc-path",
1756
1756
  d: J.value[t].path,
1757
1757
  fill: "transparent",
1758
1758
  stroke: L.value.style.chart.layout.donut.borderColorAuto ? L.value.style.chart.backgroundColor : L.value.style.chart.layout.donut.borderColor,
1759
1759
  "stroke-width": L.value.style.chart.layout.donut.borderWidth,
1760
1760
  filter: `url(#drop_shadow_${F.value})`,
1761
- style: w({ transition: R.value || !L.value.serieToggleAnimation.show ? "none" : `all ${L.value.serieToggleAnimation.durationMs}ms ease-in-out` })
1762
- }, null, 12, Nt))), 256))])) : y("", !0),
1763
- t.$slots.pattern ? (T(), b("g", Pt, [(T(!0), b(_, null, D(q.value, (e, t) => (T(), b("path", {
1761
+ style: T({ transition: R.value || !L.value.serieToggleAnimation.show ? "none" : `all ${L.value.serieToggleAnimation.durationMs}ms ease-in-out` })
1762
+ }, null, 12, Nt))), 256))])) : b("", !0),
1763
+ t.$slots.pattern ? (E(), x("g", Pt, [(E(!0), x(v, null, O(q.value, (e, t) => (E(), x("path", {
1764
1764
  class: "vue-ui-donut-arc-path",
1765
1765
  d: J.value[t].path,
1766
1766
  fill: `url(#${e.pattern})`,
1767
1767
  stroke: L.value.style.chart.layout.donut.borderColorAuto ? L.value.style.chart.backgroundColor : L.value.style.chart.layout.donut.borderColor,
1768
1768
  "stroke-width": L.value.style.chart.layout.donut.borderWidth,
1769
1769
  filter: fi(t),
1770
- style: w({
1770
+ style: T({
1771
1771
  transition: R.value || !L.value.serieToggleAnimation.show ? "none" : `all ${L.value.serieToggleAnimation.durationMs}ms ease-in-out`,
1772
1772
  transformOrigin: "center"
1773
1773
  })
1774
- }, null, 12, Ft))), 256))])) : y("", !0),
1775
- (T(!0), b(_, null, D(q.value, (e, t) => (T(), b("path", {
1774
+ }, null, 12, Ft))), 256))])) : b("", !0),
1775
+ (E(!0), x(v, null, O(q.value, (e, t) => (E(), x("path", {
1776
1776
  class: "vue-ui-donut-arc-path",
1777
1777
  d: J.value[t].path,
1778
1778
  fill: L.value.style.chart.useGradient ? `url(#polar_gradient_${t}_${F.value})` : e.color,
1779
1779
  stroke: L.value.style.chart.layout.donut.borderColorAuto ? L.value.style.chart.backgroundColor : L.value.style.chart.layout.donut.borderColor,
1780
1780
  "stroke-width": L.value.style.chart.layout.donut.borderWidth,
1781
1781
  filter: fi(t),
1782
- style: w({ transition: R.value || !L.value.serieToggleAnimation.show ? "none" : `all ${L.value.serieToggleAnimation.durationMs}ms ease-in-out` })
1782
+ style: T({ transition: R.value || !L.value.serieToggleAnimation.show ? "none" : `all ${L.value.serieToggleAnimation.durationMs}ms ease-in-out` })
1783
1783
  }, null, 12, It))), 256))
1784
- ])) : (T(), b("g", Lt, [t.$slots.pattern ? (T(), b("circle", {
1784
+ ])) : (E(), x("g", Lt, [t.$slots.pattern ? (E(), x("circle", {
1785
1785
  key: 0,
1786
1786
  cx: V.value.width / 2,
1787
1787
  cy: V.value.height / 2,
@@ -1789,34 +1789,34 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1789
1789
  fill: `url(#pattern_${F.value}_${K.value[0].patternIndex})`,
1790
1790
  stroke: L.value.style.chart.backgroundColor,
1791
1791
  "stroke-width": L.value.style.chart.layout.donut.borderWidth
1792
- }, null, 8, Rt)) : y("", !0), x("circle", {
1792
+ }, null, 8, Rt)) : b("", !0), S("circle", {
1793
1793
  cx: V.value.width / 2,
1794
1794
  cy: V.value.height / 2,
1795
1795
  r: G.value,
1796
1796
  fill: L.value.style.chart.useGradient ? `url(#polar_gradient_0_${F.value})` : K.value[0].color,
1797
1797
  stroke: L.value.style.chart.backgroundColor,
1798
1798
  "stroke-width": L.value.style.chart.layout.donut.borderWidth
1799
- }, null, 8, zt)]))], 64)) : (T(), b(_, { key: 9 }, [L.value.type === "classic" && !Xr.value ? (T(), b("g", Bt, [(T(!0), b(_, null, D(Zr.value, (e, t) => (T(), b("path", {
1799
+ }, null, 8, zt)]))], 64)) : (E(), x(v, { key: 9 }, [L.value.type === "classic" && !Xr.value ? (E(), x("g", Bt, [(E(!0), x(v, null, O(Zr.value, (e, t) => (E(), x("path", {
1800
1800
  class: "vue-ui-donut-arc-path",
1801
1801
  d: e.arcSlice,
1802
1802
  fill: e.color,
1803
1803
  stroke: L.value.style.chart.backgroundColor,
1804
1804
  "stroke-width": L.value.style.chart.layout.donut.borderWidth
1805
- }, null, 8, Vt))), 256))])) : y("", !0), x("circle", {
1805
+ }, null, 8, Vt))), 256))])) : b("", !0), S("circle", {
1806
1806
  cx: V.value.width / 2,
1807
1807
  cy: V.value.height / 2,
1808
1808
  r: G.value <= 0 ? 10 : G.value,
1809
1809
  fill: "transparent",
1810
1810
  stroke: L.value.style.chart.backgroundColor
1811
1811
  }, null, 8, Ht)], 64)),
1812
- L.value.style.chart.useGradient && L.value.type === "classic" ? (T(), b("circle", {
1812
+ L.value.style.chart.useGradient && L.value.type === "classic" ? (E(), x("circle", {
1813
1813
  key: 10,
1814
1814
  cx: V.value.width / 2,
1815
1815
  cy: V.value.height / 2,
1816
1816
  r: G.value <= 0 ? 10 : G.value,
1817
1817
  fill: `url(#gradient_${F.value})`
1818
- }, null, 8, Ut)) : y("", !0),
1819
- x("circle", {
1818
+ }, null, 8, Ut)) : b("", !0),
1819
+ S("circle", {
1820
1820
  ref_key: "circle_hollow",
1821
1821
  ref: In,
1822
1822
  style: { pointerEvents: "none" },
@@ -1825,7 +1825,7 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1825
1825
  cy: V.value.height / 2,
1826
1826
  r: Math.max(.1, Pr.value * 1.7)
1827
1827
  }, null, 8, Wt),
1828
- Z.value ? (T(), b(_, { key: 11 }, [K.value.length > 1 || L.value.type === "classic" ? (T(), b("g", Gt, [(T(!0), b(_, null, D(K.value.filter((e) => !e.ghost), (e, t) => (T(), b("path", {
1828
+ Z.value ? (E(), x(v, { key: 11 }, [K.value.length > 1 || L.value.type === "classic" ? (E(), x("g", Gt, [(E(!0), x(v, null, O(K.value.filter((e) => !e.ghost), (e, t) => (E(), x("path", {
1829
1829
  d: L.value.type === "classic" ? e.arcSlice : J.value[t].path,
1830
1830
  stroke: L.value.style.chart.layout.donut.borderColorAuto ? L.value.style.chart.backgroundColor : L.value.style.chart.layout.donut.borderColor,
1831
1831
  fill: I.value === t ? L.value.style.chart.layout.donut.selectedColor : "transparent",
@@ -1840,7 +1840,7 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1840
1840
  seriesIndex: e.seriesIndex
1841
1841
  }),
1842
1842
  onClick: (n) => $(e, t)
1843
- }, null, 40, Kt))), 256))])) : (T(), b("g", qt, [x("circle", {
1843
+ }, null, 40, Kt))), 256))])) : (E(), x("g", qt, [S("circle", {
1844
1844
  cx: V.value.width / 2,
1845
1845
  cy: V.value.height / 2,
1846
1846
  r: G.value,
@@ -1856,82 +1856,82 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1856
1856
  seriesIndex: K.value[0].seriesIndex
1857
1857
  }),
1858
1858
  onClick: n[2] ||= (e) => $(K.value[0], t.i)
1859
- }, null, 40, Jt)]))], 64)) : y("", !0),
1860
- L.value.type === "classic" ? (T(), b("g", {
1859
+ }, null, 40, Jt)]))], 64)) : b("", !0),
1860
+ L.value.type === "classic" ? (E(), x("g", {
1861
1861
  key: 12,
1862
1862
  ref_key: "G_hollow",
1863
1863
  ref: Fn,
1864
1864
  class: "vue-data-ui-donut-hollow-labels"
1865
1865
  }, [
1866
- L.value.style.chart.layout.labels.hollow.total.show ? (T(), b("text", {
1866
+ L.value.style.chart.layout.labels.hollow.total.show ? (E(), x("text", {
1867
1867
  key: 0,
1868
1868
  "text-anchor": "middle",
1869
1869
  x: V.value.width / 2,
1870
1870
  y: V.value.height / 2 - (L.value.style.chart.layout.labels.hollow.average.show ? L.value.style.chart.layout.labels.hollow.total.fontSize : 0) + L.value.style.chart.layout.labels.hollow.total.offsetY,
1871
1871
  fill: L.value.style.chart.layout.labels.hollow.total.color,
1872
1872
  "font-size": L.value.style.chart.layout.labels.hollow.total.fontSize,
1873
- style: w(`font-weight:${L.value.style.chart.layout.labels.hollow.total.bold ? "bold" : ""}`)
1874
- }, k(L.value.style.chart.layout.labels.hollow.total.text), 13, Yt)) : y("", !0),
1875
- L.value.style.chart.layout.labels.hollow.total.show ? (T(), b("text", {
1873
+ style: T(`font-weight:${L.value.style.chart.layout.labels.hollow.total.bold ? "bold" : ""}`)
1874
+ }, Ke(L.value.style.chart.layout.labels.hollow.total.text), 13, Yt)) : b("", !0),
1875
+ L.value.style.chart.layout.labels.hollow.total.show ? (E(), x("text", {
1876
1876
  key: 1,
1877
1877
  "text-anchor": "middle",
1878
1878
  x: V.value.width / 2,
1879
1879
  y: V.value.height / 2 + L.value.style.chart.layout.labels.hollow.total.fontSize - (L.value.style.chart.layout.labels.hollow.average.show ? L.value.style.chart.layout.labels.hollow.total.fontSize : 0) + L.value.style.chart.layout.labels.hollow.total.value.offsetY,
1880
1880
  fill: L.value.style.chart.layout.labels.hollow.total.value.color,
1881
1881
  "font-size": L.value.style.chart.layout.labels.hollow.total.value.fontSize,
1882
- style: w(`font-weight:${L.value.style.chart.layout.labels.hollow.total.value.bold ? "bold" : ""}`)
1883
- }, k(A(m)(L.value.style.chart.layout.labels.hollow.total.value.formatter, Z.value, A(h)({
1882
+ style: T(`font-weight:${L.value.style.chart.layout.labels.hollow.total.value.bold ? "bold" : ""}`)
1883
+ }, Ke(A(p)(L.value.style.chart.layout.labels.hollow.total.value.formatter, Z.value, A(g)({
1884
1884
  p: L.value.style.chart.layout.labels.hollow.total.value.prefix,
1885
1885
  v: Z.value,
1886
1886
  s: L.value.style.chart.layout.labels.hollow.total.value.suffix
1887
- }))), 13, Xt)) : y("", !0),
1888
- L.value.style.chart.layout.labels.hollow.average.show ? (T(), b("text", {
1887
+ }))), 13, Xt)) : b("", !0),
1888
+ L.value.style.chart.layout.labels.hollow.average.show ? (E(), x("text", {
1889
1889
  key: 2,
1890
1890
  "text-anchor": "middle",
1891
1891
  x: V.value.width / 2,
1892
1892
  y: V.value.height / 2 + (L.value.style.chart.layout.labels.hollow.total.show ? L.value.style.chart.layout.labels.hollow.average.fontSize : 0) + L.value.style.chart.layout.labels.hollow.average.offsetY,
1893
1893
  fill: L.value.style.chart.layout.labels.hollow.average.color,
1894
1894
  "font-size": L.value.style.chart.layout.labels.hollow.average.fontSize,
1895
- style: w(`font-weight:${L.value.style.chart.layout.labels.hollow.average.bold ? "bold" : ""}`)
1896
- }, k(L.value.style.chart.layout.labels.hollow.average.text), 13, Zt)) : y("", !0),
1897
- L.value.style.chart.layout.labels.hollow.average.show ? (T(), b("text", {
1895
+ style: T(`font-weight:${L.value.style.chart.layout.labels.hollow.average.bold ? "bold" : ""}`)
1896
+ }, Ke(L.value.style.chart.layout.labels.hollow.average.text), 13, Zt)) : b("", !0),
1897
+ L.value.style.chart.layout.labels.hollow.average.show ? (E(), x("text", {
1898
1898
  key: 3,
1899
1899
  "text-anchor": "middle",
1900
1900
  x: V.value.width / 2,
1901
1901
  y: V.value.height / 2 + (L.value.style.chart.layout.labels.hollow.total.show ? L.value.style.chart.layout.labels.hollow.average.fontSize : 0) + L.value.style.chart.layout.labels.hollow.average.fontSize + L.value.style.chart.layout.labels.hollow.average.value.offsetY,
1902
1902
  fill: L.value.style.chart.layout.labels.hollow.average.value.color,
1903
1903
  "font-size": L.value.style.chart.layout.labels.hollow.average.value.fontSize,
1904
- style: w(`font-weight:${L.value.style.chart.layout.labels.hollow.average.value.bold ? "bold" : ""}`)
1905
- }, k(Lr.value || R.value ? "--" : A(m)(L.value.style.chart.layout.labels.hollow.average.value.formatter, A(le)(ii.value), A(h)({
1904
+ style: T(`font-weight:${L.value.style.chart.layout.labels.hollow.average.value.bold ? "bold" : ""}`)
1905
+ }, Ke(Lr.value || R.value ? "--" : A(p)(L.value.style.chart.layout.labels.hollow.average.value.formatter, A(oe)(ii.value), A(g)({
1906
1906
  p: L.value.style.chart.layout.labels.hollow.average.value.prefix,
1907
- v: A(le)(ii.value),
1907
+ v: A(oe)(ii.value),
1908
1908
  s: L.value.style.chart.layout.labels.hollow.average.value.suffix,
1909
1909
  r: L.value.style.chart.layout.labels.hollow.average.value.rounding
1910
- }))), 13, Qt)) : y("", !0)
1911
- ], 512)) : y("", !0),
1912
- (T(!0), b(_, null, D(q.value.filter((e) => !e.ghost), (e, n) => (T(), b("g", {
1910
+ }))), 13, Qt)) : b("", !0)
1911
+ ], 512)) : b("", !0),
1912
+ (E(!0), x(v, null, O(q.value.filter((e) => !e.ghost), (e, n) => (E(), x("g", {
1913
1913
  filter: fi(n),
1914
- class: He({ animated: L.value.useCssAnimation }),
1914
+ class: Ve({ animated: L.value.useCssAnimation }),
1915
1915
  key: e.seriesIndex,
1916
1916
  opacity: pi(e)
1917
- }, [L.value.style.chart.layout.labels.dataLabels.useLabelSlots ? (T(), b("g", en, [(T(), b("foreignObject", {
1918
- x: A(g)(e, !0).anchor === "end" ? A(g)(e).x - 120 : A(g)(e, !0).anchor === "middle" ? A(g)(e).x - 60 : A(g)(e).x,
1919
- y: A(p)(e) - (yi.value ? 20 : 0),
1917
+ }, [L.value.style.chart.layout.labels.dataLabels.useLabelSlots ? (E(), x("g", en, [(E(), x("foreignObject", {
1918
+ x: A(_)(e, !0).anchor === "end" ? A(_)(e).x - 120 : A(_)(e, !0).anchor === "middle" ? A(_)(e).x - 60 : A(_)(e).x,
1919
+ y: A(f)(e) - (yi.value ? 20 : 0),
1920
1920
  width: "120",
1921
1921
  height: "60",
1922
1922
  style: { overflow: "visible" }
1923
- }, [x("div", null, [O(t.$slots, "dataLabel", Be({ ref_for: !0 }, {
1923
+ }, [S("div", null, [k(t.$slots, "dataLabel", ze({ ref_for: !0 }, {
1924
1924
  datapoint: e,
1925
1925
  isBlur: !L.value.useBlurOnHover || [null, void 0].includes(I.value) || I.value === n,
1926
1926
  isSafari: yi.value,
1927
1927
  isVisible: Y(e) && B.value.dataLabels.show,
1928
- textAlign: A(g)(e, !0, 16, !0).anchor,
1929
- flexAlign: A(g)(e, !0, 16).anchor,
1928
+ textAlign: A(_)(e, !0, 16, !0).anchor,
1929
+ flexAlign: A(_)(e, !0, 16).anchor,
1930
1930
  percentage: ti(e, q.value)
1931
- }), void 0, !0)])], 8, tn))])) : (T(), b("g", nn, [L.value.type === "classic" ? (T(), b(_, { key: 0 }, [Y(e) && B.value.dataLabels.show ? (T(), b("circle", {
1931
+ }), void 0, !0)])], 8, tn))])) : (E(), x("g", nn, [L.value.type === "classic" ? (E(), x(v, { key: 0 }, [Y(e) && B.value.dataLabels.show ? (E(), x("circle", {
1932
1932
  key: 0,
1933
- cx: A(X)[n]?.markerX ?? A(g)(e).x,
1934
- cy: A(X)[n]?.markerY ?? A(p)(e) - 3.5,
1933
+ cx: A(X)[n]?.markerX ?? A(_)(e).x,
1934
+ cy: A(X)[n]?.markerY ?? A(f)(e) - 3.5,
1935
1935
  fill: e.color,
1936
1936
  stroke: L.value.style.chart.backgroundColor,
1937
1937
  "stroke-width": 1,
@@ -1948,12 +1948,12 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1948
1948
  datapoint: e,
1949
1949
  seriesIndex: e.seriesIndex
1950
1950
  })
1951
- }, null, 40, rn)) : y("", !0), L.value.style.chart.layout.labels.dataLabels.oneLine || A(X)[n] ? Ze((T(), b("text", {
1951
+ }, null, 40, rn)) : b("", !0), L.value.style.chart.layout.labels.dataLabels.oneLine || A(X)[n] ? Ze((E(), x("text", {
1952
1952
  key: 1,
1953
1953
  class: "vue-data-ui-datalabel-inline",
1954
- "text-anchor": A(X)[n]?.textAnchor || A(g)(e, !0, 12).anchor,
1955
- x: A(X)[n]?.labelX ?? A(g)(e, !0, 12).x,
1956
- y: A(X)[n]?.labelY ?? A(p)(e),
1954
+ "text-anchor": A(X)[n]?.textAnchor || A(_)(e, !0, 12).anchor,
1955
+ x: A(X)[n]?.labelX ?? A(_)(e, !0, 12).x,
1956
+ y: A(X)[n]?.labelY ?? A(f)(e),
1957
1957
  onClick: (t) => $(e, n),
1958
1958
  onMouseenter: (t) => Q({
1959
1959
  datapoint: e,
@@ -1966,14 +1966,14 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1966
1966
  seriesIndex: e.seriesIndex
1967
1967
  }),
1968
1968
  innerHTML: ui(e, n, !!A(X)[n])
1969
- }, null, 40, an)), [[Ye, Y(e) && B.value.dataLabels.show]]) : (T(), b(_, { key: 2 }, [Ze(x("text", {
1969
+ }, null, 40, an)), [[Ye, Y(e) && B.value.dataLabels.show]]) : (E(), x(v, { key: 2 }, [Ze(S("text", {
1970
1970
  class: "vue-data-ui-datalabel-value",
1971
- "text-anchor": A(X)[n]?.textAnchor || A(g)(e, !0, 12).anchor,
1972
- x: A(X)[n]?.labelX ?? A(g)(e, !0, 12).x,
1973
- y: A(X)[n]?.labelY ?? A(p)(e),
1971
+ "text-anchor": A(X)[n]?.textAnchor || A(_)(e, !0, 12).anchor,
1972
+ x: A(X)[n]?.labelX ?? A(_)(e, !0, 12).x,
1973
+ y: A(X)[n]?.labelY ?? A(f)(e),
1974
1974
  fill: L.value.style.chart.layout.labels.percentage.color,
1975
1975
  "font-size": tr.value + "px",
1976
- style: w(`font-weight:${L.value.style.chart.layout.labels.percentage.bold ? "bold" : ""}`),
1976
+ style: T(`font-weight:${L.value.style.chart.layout.labels.percentage.bold ? "bold" : ""}`),
1977
1977
  onClick: (t) => $(e, n),
1978
1978
  onMouseenter: (t) => Q({
1979
1979
  datapoint: e,
@@ -1985,14 +1985,14 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
1985
1985
  datapoint: e,
1986
1986
  seriesIndex: e.seriesIndex
1987
1987
  })
1988
- }, k(Si(e)), 45, on), [[Ye, Y(e) && B.value.dataLabels.show]]), Ze(x("text", {
1988
+ }, Ke(Si(e)), 45, on), [[Ye, Y(e) && B.value.dataLabels.show]]), Ze(S("text", {
1989
1989
  class: "vue-data-ui-datalabel-name",
1990
- "text-anchor": A(X)[n]?.textAnchor || A(g)(e).anchor,
1991
- x: A(X)[n]?.labelX ?? A(g)(e, !0, 12).x,
1992
- y: (A(X)[n]?.labelY ?? A(p)(e)) + P.value * 1.2,
1990
+ "text-anchor": A(X)[n]?.textAnchor || A(_)(e).anchor,
1991
+ x: A(X)[n]?.labelX ?? A(_)(e, !0, 12).x,
1992
+ y: (A(X)[n]?.labelY ?? A(f)(e)) + P.value * 1.2,
1993
1993
  fill: L.value.style.chart.layout.labels.name.color,
1994
1994
  "font-size": P.value + "px",
1995
- style: w(`font-weight:${L.value.style.chart.layout.labels.name.bold ? "bold" : ""}`),
1995
+ style: T(`font-weight:${L.value.style.chart.layout.labels.name.bold ? "bold" : ""}`),
1996
1996
  onClick: (t) => $(e, n),
1997
1997
  onMouseenter: (t) => Q({
1998
1998
  datapoint: e,
@@ -2004,23 +2004,23 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
2004
2004
  datapoint: e,
2005
2005
  seriesIndex: e.seriesIndex
2006
2006
  }),
2007
- innerHTML: A(ee)({
2007
+ innerHTML: A(l)({
2008
2008
  content: e.name,
2009
2009
  fontSize: P.value,
2010
2010
  fill: L.value.style.chart.layout.labels.name.color,
2011
- x: A(X)[n]?.labelX ?? A(g)(e, !0, 12).x,
2012
- y: (A(X)[n]?.labelY ?? A(p)(e)) + P.value
2011
+ x: A(X)[n]?.labelX ?? A(_)(e, !0, 12).x,
2012
+ y: (A(X)[n]?.labelY ?? A(f)(e)) + P.value
2013
2013
  })
2014
- }, null, 44, sn), [[Ye, Y(e, !0, 12) && B.value.dataLabels.show && L.value.style.chart.layout.labels.name.show]])], 64))], 64)) : y("", !0), L.value.type === "polar" ? (T(), b(_, { key: 1 }, [Y(e) && B.value.dataLabels.show ? (T(), b("circle", {
2014
+ }, null, 44, sn), [[Ye, Y(e, !0, 12) && B.value.dataLabels.show && L.value.style.chart.layout.labels.name.show]])], 64))], 64)) : b("", !0), L.value.type === "polar" ? (E(), x(v, { key: 1 }, [Y(e) && B.value.dataLabels.show ? (E(), x("circle", {
2015
2015
  key: 0,
2016
- cx: A(s)({
2016
+ cx: A(h)({
2017
2017
  initX: J.value[n].middlePoint.x,
2018
2018
  initY: J.value[n].middlePoint.y,
2019
2019
  offset: 24,
2020
2020
  centerX: V.value.width / 2,
2021
2021
  centerY: V.value.height / 2
2022
2022
  }).x,
2023
- cy: A(s)({
2023
+ cy: A(h)({
2024
2024
  initX: J.value[n].middlePoint.x,
2025
2025
  initY: J.value[n].middlePoint.y,
2026
2026
  offset: 24,
@@ -2043,26 +2043,26 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
2043
2043
  datapoint: e,
2044
2044
  seriesIndex: e.seriesIndex
2045
2045
  }),
2046
- style: w({ transition: R.value || !L.value.serieToggleAnimation.show ? "none" : `all ${L.value.serieToggleAnimation.durationMs}ms ease-in-out` })
2047
- }, null, 44, cn)) : y("", !0), L.value.style.chart.layout.labels.dataLabels.oneLine ? Ze((T(), b("text", {
2046
+ style: T({ transition: R.value || !L.value.serieToggleAnimation.show ? "none" : `all ${L.value.serieToggleAnimation.durationMs}ms ease-in-out` })
2047
+ }, null, 44, cn)) : b("", !0), L.value.style.chart.layout.labels.dataLabels.oneLine ? Ze((E(), x("text", {
2048
2048
  key: 1,
2049
2049
  class: "vue-data-ui-datalabel-inline",
2050
2050
  "text-anchor": Qr(J.value[n].middlePoint),
2051
- x: A(s)({
2051
+ x: A(h)({
2052
2052
  initX: J.value[n].middlePoint.x,
2053
2053
  initY: J.value[n].middlePoint.y,
2054
2054
  offset: 42,
2055
2055
  centerX: V.value.width / 2,
2056
2056
  centerY: V.value.height / 2
2057
2057
  }).x,
2058
- y: A(s)({
2058
+ y: A(h)({
2059
2059
  initX: J.value[n].middlePoint.x,
2060
2060
  initY: J.value[n].middlePoint.y,
2061
2061
  offset: 42,
2062
2062
  centerX: V.value.width / 2,
2063
2063
  centerY: V.value.height / 2
2064
2064
  }).y,
2065
- style: w({ transition: R.value || !L.value.serieToggleAnimation.show ? "none" : `all ${L.value.serieToggleAnimation.durationMs}ms ease-in-out` }),
2065
+ style: T({ transition: R.value || !L.value.serieToggleAnimation.show ? "none" : `all ${L.value.serieToggleAnimation.durationMs}ms ease-in-out` }),
2066
2066
  onClick: (t) => $(e, n),
2067
2067
  onMouseenter: (t) => Q({
2068
2068
  datapoint: e,
@@ -2075,18 +2075,18 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
2075
2075
  seriesIndex: e.seriesIndex
2076
2076
  }),
2077
2077
  innerHTML: di(e, n)
2078
- }, null, 44, ln)), [[Ye, Y(e) && B.value.dataLabels.show]]) : (T(), b(_, { key: 2 }, [Y(e) && B.value.dataLabels.show ? (T(), b("text", {
2078
+ }, null, 44, ln)), [[Ye, Y(e) && B.value.dataLabels.show]]) : (E(), x(v, { key: 2 }, [Y(e) && B.value.dataLabels.show ? (E(), x("text", {
2079
2079
  key: 0,
2080
2080
  class: "vue-data-ui-datalabel-value",
2081
2081
  "text-anchor": Qr(J.value[n].middlePoint),
2082
- x: A(s)({
2082
+ x: A(h)({
2083
2083
  initX: J.value[n].middlePoint.x,
2084
2084
  initY: J.value[n].middlePoint.y,
2085
2085
  offset: 42,
2086
2086
  centerX: V.value.width / 2,
2087
2087
  centerY: V.value.height / 2
2088
2088
  }).x,
2089
- y: A(s)({
2089
+ y: A(h)({
2090
2090
  initX: J.value[n].middlePoint.x,
2091
2091
  initY: J.value[n].middlePoint.y,
2092
2092
  offset: 42,
@@ -2095,7 +2095,7 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
2095
2095
  }).y,
2096
2096
  fill: L.value.style.chart.layout.labels.percentage.color,
2097
2097
  "font-size": tr.value,
2098
- style: w({
2098
+ style: T({
2099
2099
  transition: R.value || !L.value.serieToggleAnimation.show ? "none" : `all ${L.value.serieToggleAnimation.durationMs}ms ease-in-out`,
2100
2100
  fontWeight: L.value.style.chart.layout.labels.percentage.bold ? "bold" : "normal"
2101
2101
  }),
@@ -2110,18 +2110,18 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
2110
2110
  datapoint: e,
2111
2111
  seriesIndex: e.seriesIndex
2112
2112
  })
2113
- }, k(Si(e)), 45, un)) : y("", !0), Y(e, !0, 12) && B.value.dataLabels.show && L.value.style.chart.layout.labels.name.show ? (T(), b("text", {
2113
+ }, Ke(Si(e)), 45, un)) : b("", !0), Y(e, !0, 12) && B.value.dataLabels.show && L.value.style.chart.layout.labels.name.show ? (E(), x("text", {
2114
2114
  key: 1,
2115
2115
  class: "vue-data-ui-datalabel-name",
2116
2116
  "text-anchor": Qr(J.value[n].middlePoint),
2117
- x: A(s)({
2117
+ x: A(h)({
2118
2118
  initX: J.value[n].middlePoint.x,
2119
2119
  initY: J.value[n].middlePoint.y,
2120
2120
  offset: 42,
2121
2121
  centerX: V.value.width / 2,
2122
2122
  centerY: V.value.height / 2
2123
2123
  }).x,
2124
- y: A(s)({
2124
+ y: A(h)({
2125
2125
  initX: J.value[n].middlePoint.x,
2126
2126
  initY: J.value[n].middlePoint.y,
2127
2127
  offset: 42,
@@ -2130,7 +2130,7 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
2130
2130
  }).y + P.value * 1.2,
2131
2131
  fill: L.value.style.chart.layout.labels.name.color,
2132
2132
  "font-size": P.value,
2133
- style: w({
2133
+ style: T({
2134
2134
  transition: R.value || !L.value.serieToggleAnimation.show ? "none" : `all ${L.value.serieToggleAnimation.durationMs}ms ease-in-out`,
2135
2135
  fontWeight: L.value.style.chart.layout.labels.name.bold ? "bold" : "normal"
2136
2136
  }),
@@ -2145,18 +2145,18 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
2145
2145
  datapoint: e,
2146
2146
  seriesIndex: e.seriesIndex
2147
2147
  }),
2148
- innerHTML: A(ee)({
2148
+ innerHTML: A(l)({
2149
2149
  content: e.name,
2150
2150
  fontSize: P.value,
2151
2151
  fill: L.value.style.chart.layout.labels.name.color,
2152
- x: A(s)({
2152
+ x: A(h)({
2153
2153
  initX: J.value[n].middlePoint.x,
2154
2154
  initY: J.value[n].middlePoint.y,
2155
2155
  offset: 42,
2156
2156
  centerX: V.value.width / 2,
2157
2157
  centerY: V.value.height / 2
2158
2158
  }).x,
2159
- y: A(s)({
2159
+ y: A(h)({
2160
2160
  initX: J.value[n].middlePoint.x,
2161
2161
  initY: J.value[n].middlePoint.y,
2162
2162
  offset: 42,
@@ -2164,36 +2164,36 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
2164
2164
  centerY: V.value.height / 2
2165
2165
  }).y + P.value * 1.2
2166
2166
  })
2167
- }, null, 44, dn)) : y("", !0)], 64))], 64)) : y("", !0)])), B.value.dataLabels.show && L.value.style.chart.comments.show && e.comment ? (T(), b("g", fn, [Y(e) && L.value.type === "classic" ? (T(), b("foreignObject", {
2167
+ }, null, 44, dn)) : b("", !0)], 64))], 64)) : b("", !0)])), B.value.dataLabels.show && L.value.style.chart.comments.show && e.comment ? (E(), x("g", fn, [Y(e) && L.value.type === "classic" ? (E(), x("foreignObject", {
2168
2168
  key: 0,
2169
- x: L.value.style.chart.comments.offsetX + (A(g)(e, !0).anchor === "end" ? A(g)(e).x - L.value.style.chart.comments.width : A(g)(e, !0).anchor === "middle" ? A(g)(e).x - L.value.style.chart.comments.width / 2 : A(g)(e).x),
2170
- y: A(p)(e) + 24 + L.value.style.chart.comments.offsetY,
2169
+ x: L.value.style.chart.comments.offsetX + (A(_)(e, !0).anchor === "end" ? A(_)(e).x - L.value.style.chart.comments.width : A(_)(e, !0).anchor === "middle" ? A(_)(e).x - L.value.style.chart.comments.width / 2 : A(_)(e).x),
2170
+ y: A(f)(e) + 24 + L.value.style.chart.comments.offsetY,
2171
2171
  width: L.value.style.chart.comments.width,
2172
2172
  height: "200",
2173
2173
  style: {
2174
2174
  overflow: "visible",
2175
2175
  "pointer-events": "none"
2176
2176
  }
2177
- }, [x("div", null, [O(t.$slots, "plot-comment", { plot: {
2177
+ }, [S("div", null, [k(t.$slots, "plot-comment", { plot: {
2178
2178
  ...e,
2179
- textAlign: A(g)(e, !0, 16, !0).anchor,
2180
- flexAlign: A(g)(e, !0, 16).anchor,
2179
+ textAlign: A(_)(e, !0, 16, !0).anchor,
2180
+ flexAlign: A(_)(e, !0, 16).anchor,
2181
2181
  isFirstLoad: R.value
2182
- } }, void 0, !0)])], 8, pn)) : y("", !0), Y(e) && L.value.type === "polar" ? (T(), b("foreignObject", {
2182
+ } }, void 0, !0)])], 8, pn)) : b("", !0), Y(e) && L.value.type === "polar" ? (E(), x("foreignObject", {
2183
2183
  key: 1,
2184
- x: L.value.style.chart.comments.offsetX + (Qr(J.value[n].middlePoint) === "end" ? A(s)({
2184
+ x: L.value.style.chart.comments.offsetX + (Qr(J.value[n].middlePoint) === "end" ? A(h)({
2185
2185
  initX: J.value[n].middlePoint.x,
2186
2186
  initY: J.value[n].middlePoint.y,
2187
2187
  offset: 42,
2188
2188
  centerX: V.value.width / 2,
2189
2189
  centerY: V.value.height / 2
2190
- }).x - L.value.style.chart.comments.width : Qr(J.value[n].middlePoint) === "middle" ? A(s)({
2190
+ }).x - L.value.style.chart.comments.width : Qr(J.value[n].middlePoint) === "middle" ? A(h)({
2191
2191
  initX: J.value[n].middlePoint.x,
2192
2192
  initY: J.value[n].middlePoint.y,
2193
2193
  offset: 42,
2194
2194
  centerX: V.value.width / 2,
2195
2195
  centerY: V.value.height / 2
2196
- }).x - L.value.style.chart.comments.width / 2 : A(s)({
2196
+ }).x - L.value.style.chart.comments.width / 2 : A(h)({
2197
2197
  initX: J.value[n].middlePoint.x,
2198
2198
  initY: J.value[n].middlePoint.y,
2199
2199
  offset: 42,
@@ -2203,47 +2203,47 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
2203
2203
  y: $r(J.value[n]) + L.value.style.chart.comments.offsetY,
2204
2204
  width: L.value.style.chart.comments.width,
2205
2205
  height: "200",
2206
- style: w({
2206
+ style: T({
2207
2207
  transition: R.value || !L.value.serieToggleAnimation.show ? "none" : `all ${L.value.serieToggleAnimation.durationMs}ms ease-in-out`,
2208
2208
  overflow: "visible",
2209
2209
  pointerEvents: "none"
2210
2210
  })
2211
- }, [x("div", null, [O(t.$slots, "plot-comment", { plot: {
2211
+ }, [S("div", null, [k(t.$slots, "plot-comment", { plot: {
2212
2212
  ...e,
2213
2213
  textAlign: Qr(J.value[n].middlePoint),
2214
2214
  flexAlign: Qr(J.value[n].middlePoint),
2215
2215
  isFirstLoad: R.value
2216
- } }, void 0, !0)])], 12, mn)) : y("", !0)])) : y("", !0)], 10, $t))), 128)),
2217
- O(t.$slots, "svg", { svg: {
2216
+ } }, void 0, !0)])], 12, mn)) : b("", !0)])) : b("", !0)], 10, $t))), 128)),
2217
+ k(t.$slots, "svg", { svg: {
2218
2218
  ...V.value,
2219
2219
  datapoints: K.value,
2220
2220
  isPrintingImg: A(Or) || A(kr) || Yn.value,
2221
2221
  isPrintingSvg: Xn.value
2222
2222
  } }, void 0, !0)
2223
- ], 512)], 46, it)), t.$slots.hint ? (T(), b("div", hn, [O(t.$slots, "hint", C(S({
2223
+ ], 512)], 46, it)), t.$slots.hint ? (E(), x("div", hn, [k(t.$slots, "hint", w(C({
2224
2224
  hint: L.value.a11y.translations.keyboardNavigation,
2225
2225
  isVisible: er.value
2226
- })), void 0, !0)])) : y("", !0)]),
2227
- t.$slots.watermark ? (T(), b("div", gn, [O(t.$slots, "watermark", C(S({ isPrinting: A(Or) || A(kr) || Yn.value || Xn.value })), void 0, !0)])) : y("", !0),
2228
- x("div", { id: `legend-bottom-${F.value}` }, null, 8, _n),
2229
- Kn.value && (L.value.style.chart.legend.show || t.$slots.legend) ? (T(), Fe(Pe, {
2226
+ })), void 0, !0)])) : b("", !0)]),
2227
+ t.$slots.watermark ? (E(), x("div", gn, [k(t.$slots, "watermark", w(C({ isPrinting: A(Or) || A(kr) || Yn.value || Xn.value })), void 0, !0)])) : b("", !0),
2228
+ S("div", { id: `legend-bottom-${F.value}` }, null, 8, _n),
2229
+ Kn.value && (L.value.style.chart.legend.show || t.$slots.legend) ? (E(), Pe(Ne, {
2230
2230
  key: 6,
2231
2231
  to: L.value.style.chart.legend.position === "top" ? `#legend-top-${F.value}` : `#legend-bottom-${F.value}`
2232
- }, [x("div", {
2232
+ }, [S("div", {
2233
2233
  ref_key: "chartLegend",
2234
2234
  ref: Rn
2235
- }, [O(t.$slots, "legend", { legend: Jr.value }, () => [L.value.style.chart.legend.show ? (T(), Fe(Ne, {
2235
+ }, [k(t.$slots, "legend", { legend: Jr.value }, () => [L.value.style.chart.legend.show ? (E(), Pe(Me, {
2236
2236
  key: `legend_${Gn.value}`,
2237
2237
  legendSet: Jr.value,
2238
2238
  config: Yr.value,
2239
2239
  onClickMarker: n[3] ||= ({ i: e }) => Hr(e),
2240
2240
  isCursorPointer: fr.value
2241
- }, Ie({
2242
- item: j(({ legend: e, index: t }) => [x("div", {
2243
- style: w(`opacity:${W.value.includes(t) ? .5 : 1}`),
2241
+ }, Fe({
2242
+ item: j(({ legend: e, index: t }) => [S("div", {
2243
+ style: T(`opacity:${W.value.includes(t) ? .5 : 1}`),
2244
2244
  onClick: (t) => e.segregate()
2245
- }, k(e.display), 13, vn)]),
2246
- legendToggle: j(() => [Jr.value.length > 2 && L.value.style.chart.legend.selectAllToggle.show && !A(mr) ? (T(), Fe(Ee, {
2245
+ }, Ke(e.display), 13, vn)]),
2246
+ legendToggle: j(() => [Jr.value.length > 2 && L.value.style.chart.legend.selectAllToggle.show && !A(mr) ? (E(), Pe(Te, {
2247
2247
  key: 0,
2248
2248
  backgroundColor: L.value.style.chart.legend.selectAllToggle.backgroundColor,
2249
2249
  color: L.value.style.chart.legend.selectAllToggle.color,
@@ -2257,11 +2257,11 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
2257
2257
  "fontSize",
2258
2258
  "checked",
2259
2259
  "isCursorPointer"
2260
- ])) : y("", !0)]),
2260
+ ])) : b("", !0)]),
2261
2261
  _: 2
2262
2262
  }, [t.$slots.pattern ? {
2263
2263
  name: "legend-pattern",
2264
- fn: j(({ legend: e, index: t }) => [Re(Se, {
2264
+ fn: j(({ legend: e, index: t }) => [Le(xe, {
2265
2265
  shape: e.shape,
2266
2266
  radius: 30,
2267
2267
  stroke: "none",
@@ -2276,20 +2276,20 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
2276
2276
  "legendSet",
2277
2277
  "config",
2278
2278
  "isCursorPointer"
2279
- ])) : y("", !0)], !0)], 512)], 8, ["to"])) : y("", !0),
2280
- t.$slots.source ? (T(), b("div", {
2279
+ ])) : b("", !0)], !0)], 512)], 8, ["to"])) : b("", !0),
2280
+ t.$slots.source ? (E(), x("div", {
2281
2281
  key: 7,
2282
2282
  ref_key: "source",
2283
2283
  ref: Vn,
2284
2284
  dir: "auto"
2285
- }, [O(t.$slots, "source", {}, void 0, !0)], 512)) : y("", !0),
2286
- t.$slots.hollow ? (T(), b("div", yn, [O(t.$slots, "hollow", C(S({
2285
+ }, [k(t.$slots, "source", {}, void 0, !0)], 512)) : b("", !0),
2286
+ t.$slots.hollow ? (E(), x("div", yn, [k(t.$slots, "hollow", w(C({
2287
2287
  total: Z.value,
2288
2288
  average: ii.value,
2289
2289
  dataset: H.value,
2290
2290
  ...V.value
2291
- })), void 0, !0)])) : y("", !0),
2292
- Re(A(xn), {
2291
+ })), void 0, !0)])) : b("", !0),
2292
+ Le(A(xn), {
2293
2293
  teleportTo: L.value.style.chart.tooltip.teleportTo,
2294
2294
  show: B.value.showTooltip && cr.value,
2295
2295
  backgroundColor: L.value.style.chart.tooltip.backgroundColor,
@@ -2313,9 +2313,9 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
2313
2313
  isA11yMode: $n.value === "keyboard",
2314
2314
  a11yPosition: Qn.value
2315
2315
  }, {
2316
- "tooltip-before": j(() => [O(t.$slots, "tooltip-before", C(S({ ...oi.value })), void 0, !0)]),
2317
- tooltip: j(() => [O(t.$slots, "tooltip", C(S({ ...oi.value })), void 0, !0)]),
2318
- "tooltip-after": j(() => [O(t.$slots, "tooltip-after", C(S({ ...oi.value })), void 0, !0)]),
2316
+ "tooltip-before": j(() => [k(t.$slots, "tooltip-before", w(C({ ...oi.value })), void 0, !0)]),
2317
+ tooltip: j(() => [k(t.$slots, "tooltip", w(C({ ...oi.value })), void 0, !0)]),
2318
+ "tooltip-after": j(() => [k(t.$slots, "tooltip-after", w(C({ ...oi.value })), void 0, !0)]),
2319
2319
  _: 3
2320
2320
  }, 8, [
2321
2321
  "teleportTo",
@@ -2341,12 +2341,12 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
2341
2341
  "isA11yMode",
2342
2342
  "a11yPosition"
2343
2343
  ]),
2344
- Nn.value && L.value.userOptions.buttons.table ? (T(), Fe(Ge(Ai.value.component), Be({ key: 9 }, Ai.value.props, {
2344
+ Nn.value && L.value.userOptions.buttons.table ? (E(), Pe(We(Ai.value.component), ze({ key: 9 }, Ai.value.props, {
2345
2345
  ref_key: "tableUnit",
2346
2346
  ref: qn,
2347
2347
  onClose: ji
2348
- }), Ie({
2349
- content: j(() => [(T(), Fe(A(wn), {
2348
+ }), Fe({
2349
+ content: j(() => [(E(), Pe(A(wn), {
2350
2350
  key: `table_${Wn.value}`,
2351
2351
  colNames: gi.value.colNames,
2352
2352
  head: gi.value.head,
@@ -2357,18 +2357,18 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
2357
2357
  isCursorPointer: fr.value,
2358
2358
  onClose: ji
2359
2359
  }, {
2360
- th: j(({ th: e }) => [x("div", {
2360
+ th: j(({ th: e }) => [S("div", {
2361
2361
  innerHTML: e,
2362
2362
  style: {
2363
2363
  display: "flex",
2364
2364
  "align-items": "center"
2365
2365
  }
2366
2366
  }, null, 8, bn)]),
2367
- td: j(({ td: e }) => [Le(k(e.name ? e.name : isNaN(Number(e)) ? e.includes("%") ? e : A(m)(L.value.style.chart.layout.labels.percentage.formatter, e, A(h)({
2367
+ td: j(({ td: e }) => [Ie(Ke(e.name ? e.name : isNaN(Number(e)) ? e.includes("%") ? e : A(p)(L.value.style.chart.layout.labels.percentage.formatter, e, A(g)({
2368
2368
  v: e,
2369
2369
  s: "%",
2370
2370
  r: L.value.style.chart.layout.labels.percentage.rounding
2371
- })) : A(m)(L.value.style.chart.layout.labels.value.formatter, e, A(h)({
2371
+ })) : A(p)(L.value.style.chart.layout.labels.value.formatter, e, A(g)({
2372
2372
  p: L.value.style.chart.layout.labels.dataLabels.prefix,
2373
2373
  v: e,
2374
2374
  s: L.value.style.chart.layout.labels.dataLabels.suffix,
@@ -2387,22 +2387,22 @@ var $e = /* @__PURE__ */ e({ default: () => xn }), et = ["id"], tt = ["id"], nt
2387
2387
  _: 2
2388
2388
  }, [L.value.table.useDialog ? {
2389
2389
  name: "title",
2390
- fn: j(() => [Le(k(Ai.value.title), 1)]),
2390
+ fn: j(() => [Ie(Ke(Ai.value.title), 1)]),
2391
2391
  key: "0"
2392
2392
  } : void 0, L.value.table.useDialog ? {
2393
2393
  name: "actions",
2394
- fn: j(() => [x("button", {
2394
+ fn: j(() => [S("button", {
2395
2395
  tabindex: "0",
2396
2396
  class: "vue-ui-user-options-button",
2397
2397
  onClick: n[4] ||= (e) => hi(L.value.userOptions.callbacks.csv),
2398
- style: w({ cursor: fr.value ? "pointer" : "default" })
2399
- }, [Re(A(Sn), {
2398
+ style: T({ cursor: fr.value ? "pointer" : "default" })
2399
+ }, [Le(A(Sn), {
2400
2400
  name: "fileCsv",
2401
2401
  stroke: Ai.value.props.color
2402
2402
  }, null, 8, ["stroke"])], 4)]),
2403
2403
  key: "1"
2404
- } : void 0]), 1040)) : y("", !0),
2405
- O(t.$slots, "skeleton", {}, () => [A(mr) ? (T(), Fe(ge, { key: 0 })) : y("", !0)], !0)
2404
+ } : void 0]), 1040)) : b("", !0),
2405
+ k(t.$slots, "skeleton", {}, () => [A(mr) ? (E(), Pe(he, { key: 0 })) : b("", !0)], !0)
2406
2406
  ], 46, et));
2407
2407
  }
2408
2408
  }, [["__scopeId", "data-v-568e9c77"]]);