vue-data-ui 2.6.5 → 2.6.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 (201) hide show
  1. package/dist/{Arrow-DfGZcZu4.js → Arrow-BxUmDF04.js} +1 -1
  2. package/dist/{Arrow-CyeGXbbD.cjs → Arrow-PPbxds1Q.cjs} +1 -1
  3. package/dist/{BaseIcon-B5DvqSYe.cjs → BaseIcon-BmVwfJg2.cjs} +1 -1
  4. package/dist/{BaseIcon-BzuvxztF.js → BaseIcon-CDx9pxUG.js} +1 -1
  5. package/dist/{DataTable-zpYtivMM.cjs → DataTable-Cv_TVAas.cjs} +1 -1
  6. package/dist/{DataTable-BCCBpyhr.js → DataTable-TjJIVFlL.js} +2 -2
  7. package/dist/{Legend-CJkkmRNE.cjs → Legend-DunrYGuw.cjs} +1 -1
  8. package/dist/{Legend-CyJrN721.js → Legend-NKGwxkI7.js} +2 -2
  9. package/dist/{PackageVersion-Dv25_ZxF.cjs → PackageVersion-DJKkRuOD.cjs} +1 -1
  10. package/dist/{PackageVersion-PZr4BkQ5.js → PackageVersion-QRvxRYPv.js} +1 -1
  11. package/dist/{PenAndPaper-Cniu2YEX.js → PenAndPaper-CxC1lWGK.js} +3 -3
  12. package/dist/{PenAndPaper-Cx3_Liuv.cjs → PenAndPaper-MTTJ3Gd9.cjs} +1 -1
  13. package/dist/{Shape-BXTmpde5.js → Shape-58uyOuYc.js} +26 -23
  14. package/dist/Shape-D_1vUjCL.cjs +1 -0
  15. package/dist/{Slicer-DzKrIvL0.cjs → Slicer-BGEieXKn.cjs} +1 -1
  16. package/dist/{Slicer-D3tEQT9Z.js → Slicer-C7ormJRw.js} +2 -2
  17. package/dist/{Title-CXBc1TH6.js → Title-BI8etrRU.js} +1 -1
  18. package/dist/{Title-DdUtciJN.cjs → Title-Dk92HYMu.cjs} +1 -1
  19. package/dist/Tooltip-ClMeqejQ.cjs +1 -0
  20. package/dist/{Tooltip-C9lPh5bN.js → Tooltip-Cxc8c50d.js} +23 -20
  21. package/dist/{index-DLCyjPV0.js → index-9EeNZMz1.js} +6 -1
  22. package/dist/index-DEnRHTzk.cjs +9 -0
  23. package/dist/style.css +1 -1
  24. package/dist/types/vue-data-ui.d.cts +89 -62
  25. package/dist/types/vue-data-ui.d.ts +89 -62
  26. package/dist/useChartAccessibility-BWojgys7.js +13 -0
  27. package/dist/useChartAccessibility-Cm7nkzTG.cjs +1 -0
  28. package/dist/{useNestedProp-BdTohsDJ.cjs → useNestedProp-BNT60LxO.cjs} +1 -1
  29. package/dist/{useNestedProp-q86V3_LA.js → useNestedProp-df_bKQEI.js} +1 -1
  30. package/dist/{usePrinter-CPqTP09H.cjs → usePrinter-dyVny55M.cjs} +1 -1
  31. package/dist/{usePrinter-CpHZjw3G.js → usePrinter-ngrh00Ym.js} +1 -1
  32. package/dist/{vue-data-ui-CR9Dof80.cjs → vue-data-ui-BYX-I7HQ.cjs} +1 -1
  33. package/dist/{vue-data-ui-CzqznXmA.js → vue-data-ui-CDD7JcMs.js} +61 -61
  34. package/dist/vue-data-ui.cjs +1 -1
  35. package/dist/vue-data-ui.js +1 -1
  36. package/dist/{vue-ui-3d-bar-DvHdA_uo.js → vue-ui-3d-bar-BArLjlrc.js} +171 -168
  37. package/dist/vue-ui-3d-bar-DegdXf_S.cjs +19 -0
  38. package/dist/{vue-ui-accordion-FM16tlk7.cjs → vue-ui-accordion-D2qxHGzp.cjs} +1 -1
  39. package/dist/{vue-ui-accordion-DR2qjfsa.js → vue-ui-accordion-Qo8JxnIN.js} +3 -3
  40. package/dist/{vue-ui-age-pyramid-BoXxK9_W.js → vue-ui-age-pyramid-Biz02m7c.js} +85 -82
  41. package/dist/vue-ui-age-pyramid-kpaaJ2Gx.cjs +1 -0
  42. package/dist/{vue-ui-annotator-5tI8NuFh.cjs → vue-ui-annotator-By6XNYm0.cjs} +1 -1
  43. package/dist/{vue-ui-annotator-D4kCCpAK.js → vue-ui-annotator-MXs48Lua.js} +1 -1
  44. package/dist/{vue-ui-bullet-X3Xa_OZ6.js → vue-ui-bullet-CtBs_r3I.js} +92 -89
  45. package/dist/vue-ui-bullet-Dkz6vX0T.cjs +34 -0
  46. package/dist/vue-ui-candlestick-DiEUIuW8.cjs +2 -0
  47. package/dist/{vue-ui-candlestick-BTW5toA5.js → vue-ui-candlestick-gPztmuJE.js} +155 -152
  48. package/dist/{vue-ui-carousel-table-Cmnwv9Y3.cjs → vue-ui-carousel-table-CYeXP21y.cjs} +1 -1
  49. package/dist/{vue-ui-carousel-table-D7s_SrJR.js → vue-ui-carousel-table-D9ckYNKZ.js} +4 -4
  50. package/dist/{vue-ui-chestnut-DN9EZShg.js → vue-ui-chestnut-DWjn-jcN.js} +186 -183
  51. package/dist/vue-ui-chestnut-oZtRERnV.cjs +6 -0
  52. package/dist/{vue-ui-circle-pack-ts3rurGX.js → vue-ui-circle-pack-Bz5yVvAM.js} +99 -96
  53. package/dist/vue-ui-circle-pack-DCJ6N00S.cjs +1 -0
  54. package/dist/{vue-ui-cursor-SW96fYT3.js → vue-ui-cursor-BrrVDy1u.js} +2 -2
  55. package/dist/{vue-ui-cursor-CpWkrHpR.cjs → vue-ui-cursor-DZhRygRy.cjs} +1 -1
  56. package/dist/{vue-ui-dashboard-BZcfgajg.js → vue-ui-dashboard-DEmGN8Js.js} +2 -2
  57. package/dist/{vue-ui-dashboard-Buh9xBz-.cjs → vue-ui-dashboard-o8Ju_cXW.cjs} +1 -1
  58. package/dist/{vue-ui-digits-rB78vJRR.cjs → vue-ui-digits-CgyYdrQ5.cjs} +1 -1
  59. package/dist/{vue-ui-digits-C00yOT24.js → vue-ui-digits-DbOrROu7.js} +2 -2
  60. package/dist/vue-ui-donut-9pWaRwf3.cjs +1 -0
  61. package/dist/{vue-ui-donut-BkGR2Q-_.js → vue-ui-donut-CP5uWglM.js} +158 -156
  62. package/dist/{vue-ui-donut-evolution-B7WrjiTO.js → vue-ui-donut-evolution-BAMD1wQ5.js} +133 -131
  63. package/dist/vue-ui-donut-evolution-Ci_gIrkO.cjs +1 -0
  64. package/dist/{vue-ui-dumbbell-gQadUH53.js → vue-ui-dumbbell-CFYd-Ypn.js} +125 -122
  65. package/dist/vue-ui-dumbbell-DUNYoZxT.cjs +9 -0
  66. package/dist/{vue-ui-flow-CqSTZbgP.js → vue-ui-flow-CdvGWFzv.js} +96 -93
  67. package/dist/vue-ui-flow-W89ofPB-.cjs +1 -0
  68. package/dist/{vue-ui-funnel-Jr9TMTsq.js → vue-ui-funnel-DYutKyoz.js} +88 -85
  69. package/dist/vue-ui-funnel-RvdVrhFu.cjs +1 -0
  70. package/dist/{vue-ui-galaxy-BrQ10tPo.js → vue-ui-galaxy-BCBRlYS1.js} +123 -120
  71. package/dist/vue-ui-galaxy-Djdx-ca8.cjs +1 -0
  72. package/dist/{vue-ui-gauge-DOMio6Mv.js → vue-ui-gauge-BNAAZt4F.js} +86 -83
  73. package/dist/vue-ui-gauge-BVVmf09x.cjs +1 -0
  74. package/dist/{vue-ui-gizmo-SKS1idHb.js → vue-ui-gizmo-BFQ_KgLX.js} +3 -3
  75. package/dist/{vue-ui-gizmo-C3NimqVM.cjs → vue-ui-gizmo-Ceh0oFY3.cjs} +1 -1
  76. package/dist/vue-ui-heatmap-CiZpI-tA.cjs +1 -0
  77. package/dist/{vue-ui-heatmap-l4vCjb6f.js → vue-ui-heatmap-Ct3qaBv7.js} +109 -106
  78. package/dist/vue-ui-history-plot-Ci8Y2EFg.cjs +1 -0
  79. package/dist/{vue-ui-history-plot-B05tJML1.js → vue-ui-history-plot-shn74MJ6.js} +130 -127
  80. package/dist/{vue-ui-kpi-DF4U5E1w.js → vue-ui-kpi-B_pV-2JJ.js} +3 -3
  81. package/dist/{vue-ui-kpi-DQJr571M.cjs → vue-ui-kpi-DfYrbxlX.cjs} +1 -1
  82. package/dist/{vue-ui-mini-loader-BMARnOW4.js → vue-ui-mini-loader-BFnWQs5p.js} +2 -2
  83. package/dist/{vue-ui-mini-loader-BZkVKkqn.cjs → vue-ui-mini-loader-LIqf62jk.cjs} +1 -1
  84. package/dist/vue-ui-molecule-D8YuYTKv.cjs +1 -0
  85. package/dist/{vue-ui-molecule-C1ycekVJ.js → vue-ui-molecule-DNz1m8XZ.js} +147 -144
  86. package/dist/{vue-ui-mood-radar-_Kd-Lhpm.js → vue-ui-mood-radar-DiYB_zhM.js} +97 -94
  87. package/dist/vue-ui-mood-radar-uvH7qUHy.cjs +1 -0
  88. package/dist/{vue-ui-nested-donuts-DIwRSn-O.js → vue-ui-nested-donuts-9hn-g4ir.js} +99 -96
  89. package/dist/vue-ui-nested-donuts-C7ikDjp7.cjs +17 -0
  90. package/dist/vue-ui-onion-5Rqvd4Fw.cjs +5 -0
  91. package/dist/{vue-ui-onion-Dqb0gwGl.js → vue-ui-onion-DCWfNTNu.js} +105 -102
  92. package/dist/{vue-ui-parallel-coordinate-plot-De-tYNNy.js → vue-ui-parallel-coordinate-plot-CaPFL9_1.js} +97 -94
  93. package/dist/vue-ui-parallel-coordinate-plot-tlgTbaNX.cjs +8 -0
  94. package/dist/vue-ui-quadrant-B0Sw5NGo.cjs +1 -0
  95. package/dist/{vue-ui-quadrant-BQ5maxJq.js → vue-ui-quadrant-BoQZ375K.js} +155 -153
  96. package/dist/vue-ui-quick-chart-D3zV1d7t.cjs +15 -0
  97. package/dist/{vue-ui-quick-chart-DF_510YT.js → vue-ui-quick-chart-vfMN8F1q.js} +164 -161
  98. package/dist/{vue-ui-radar-DDHd0AYs.js → vue-ui-radar-CAuu6wkh.js} +129 -127
  99. package/dist/vue-ui-radar-CNMJCAwo.cjs +1 -0
  100. package/dist/{vue-ui-rating-Chi3OOtp.js → vue-ui-rating-Bm0HZ3du.js} +2 -2
  101. package/dist/{vue-ui-rating-D9kQcY2a.cjs → vue-ui-rating-dsRDRL98.cjs} +1 -1
  102. package/dist/{vue-ui-relation-circle-CV1xQOok.js → vue-ui-relation-circle-5OZMN9jR.js} +127 -124
  103. package/dist/vue-ui-relation-circle-iD7BufNH.cjs +1 -0
  104. package/dist/{vue-ui-rings-D2ezwyae.js → vue-ui-rings-COefBaQT.js} +114 -112
  105. package/dist/vue-ui-rings-DC4WG4sK.cjs +2 -0
  106. package/dist/vue-ui-scatter-5ny76dmi.cjs +1 -0
  107. package/dist/{vue-ui-scatter-BxbUYPk1.js → vue-ui-scatter-DhO83TZZ.js} +157 -154
  108. package/dist/{vue-ui-screenshot-Bc7Lv1i8.cjs → vue-ui-screenshot-DABH_phE.cjs} +1 -1
  109. package/dist/{vue-ui-screenshot-cxDgcXJB.js → vue-ui-screenshot-brillPo5.js} +1 -1
  110. package/dist/{vue-ui-skeleton-D6ojufhb.js → vue-ui-skeleton-BmJiYGtE.js} +3 -3
  111. package/dist/{vue-ui-skeleton-DvdPnQbR.cjs → vue-ui-skeleton-_DN0U6W6.cjs} +1 -1
  112. package/dist/{vue-ui-smiley-DEJ6S-We.cjs → vue-ui-smiley-CW6714mb.cjs} +1 -1
  113. package/dist/{vue-ui-smiley-9nGRDSn7.js → vue-ui-smiley-D9NRimij.js} +2 -2
  114. package/dist/{vue-ui-spark-trend-DiNeAGXR.js → vue-ui-spark-trend-BKZj03CQ.js} +5 -5
  115. package/dist/{vue-ui-spark-trend-BosbwgVe.cjs → vue-ui-spark-trend-expbkxgR.cjs} +1 -1
  116. package/dist/{vue-ui-sparkbar-DNf_Majv.js → vue-ui-sparkbar-CYRORE5i.js} +4 -4
  117. package/dist/{vue-ui-sparkbar-DGFKrcg0.cjs → vue-ui-sparkbar-Cr9FtevP.cjs} +1 -1
  118. package/dist/vue-ui-sparkgauge-BHXFhvTv.cjs +1 -0
  119. package/dist/{vue-ui-sparkgauge-D89HjxSK.js → vue-ui-sparkgauge-JV4tYB7P.js} +56 -53
  120. package/dist/{vue-ui-sparkhistogram-CU1_P6AJ.js → vue-ui-sparkhistogram-DKINHX2q.js} +93 -90
  121. package/dist/vue-ui-sparkhistogram-T4a3DDck.cjs +1 -0
  122. package/dist/{vue-ui-sparkline-C2McLmh5.js → vue-ui-sparkline-CbRTHtig.js} +109 -106
  123. package/dist/vue-ui-sparkline-Dc6Sf3n8.cjs +1 -0
  124. package/dist/{vue-ui-sparkstackbar-Cu4aG9PB.js → vue-ui-sparkstackbar-6u9-2nG4.js} +59 -56
  125. package/dist/vue-ui-sparkstackbar-CV5SkdsP.cjs +1 -0
  126. package/dist/{vue-ui-stackbar-6m5CpvNM.js → vue-ui-stackbar-CUppObfj.js} +136 -133
  127. package/dist/vue-ui-stackbar-CXB-nd71.cjs +6 -0
  128. package/dist/vue-ui-strip-plot-6IXF_U6-.cjs +1 -0
  129. package/dist/{vue-ui-strip-plot-DlZ2Eez4.js → vue-ui-strip-plot-doaNZAW4.js} +127 -124
  130. package/dist/{vue-ui-table-U0_3I0fu.js → vue-ui-table-CZsNuDR5.js} +1 -1
  131. package/dist/{vue-ui-table-BjhcV9qB.cjs → vue-ui-table-S66UCskD.cjs} +1 -1
  132. package/dist/{vue-ui-table-heatmap-Bfqytiv5.cjs → vue-ui-table-heatmap-BU9UU15H.cjs} +1 -1
  133. package/dist/{vue-ui-table-heatmap-BrGkCaOG.js → vue-ui-table-heatmap-CjohHqDV.js} +4 -4
  134. package/dist/{vue-ui-table-sparkline-CXlnp8E3.cjs → vue-ui-table-sparkline-CHFFTD0a.cjs} +1 -1
  135. package/dist/{vue-ui-table-sparkline-C1wNBDqO.js → vue-ui-table-sparkline-ab2rwdKB.js} +5 -5
  136. package/dist/{vue-ui-thermometer-Bx2abW1B.js → vue-ui-thermometer-C72mHwUi.js} +84 -81
  137. package/dist/vue-ui-thermometer-Ccd6RGh8.cjs +1 -0
  138. package/dist/vue-ui-timer-C8Fn2B0b.cjs +64 -0
  139. package/dist/{vue-ui-timer-3UkgrtEj.js → vue-ui-timer-D-LNi6lz.js} +183 -180
  140. package/dist/{vue-ui-tiremarks-C_xuD4De.js → vue-ui-tiremarks-Bo8EWsJ8.js} +59 -56
  141. package/dist/vue-ui-tiremarks-SOzvMOz4.cjs +1 -0
  142. package/dist/vue-ui-treemap-BqTTQrVh.cjs +1 -0
  143. package/dist/{vue-ui-treemap-BjDSR72h.js → vue-ui-treemap-uj94elVB.js} +123 -120
  144. package/dist/{vue-ui-vertical-bar-DUhOoSNl.js → vue-ui-vertical-bar-BUTOw-DK.js} +108 -106
  145. package/dist/vue-ui-vertical-bar-C4Sxun4Q.cjs +4 -0
  146. package/dist/{vue-ui-waffle-Dpox5n5s.js → vue-ui-waffle-CTWA1frT.js} +107 -104
  147. package/dist/vue-ui-waffle-DYWGRKdT.cjs +1 -0
  148. package/dist/vue-ui-wheel-8K72ZKda.js +330 -0
  149. package/dist/vue-ui-wheel-Cz5-0klT.cjs +1 -0
  150. package/dist/{vue-ui-word-cloud-u5S86-Ft.js → vue-ui-word-cloud-CSwBPDB8.js} +97 -94
  151. package/dist/vue-ui-word-cloud-D39riLZb.cjs +1 -0
  152. package/dist/vue-ui-xy-BbWXjajH.cjs +3 -0
  153. package/dist/{vue-ui-xy-0nBQDwL2.js → vue-ui-xy-DpDKutd7.js} +65 -58
  154. package/dist/{vue-ui-xy-canvas-yQlThVu7.cjs → vue-ui-xy-canvas-BCj0SCqe.cjs} +2 -2
  155. package/dist/{vue-ui-xy-canvas-DI7LiD4U.js → vue-ui-xy-canvas-BQm9gah4.js} +82 -81
  156. package/package.json +1 -1
  157. package/dist/Shape-GAZUIBfN.cjs +0 -1
  158. package/dist/Tooltip-BlGVq6xj.cjs +0 -1
  159. package/dist/index-DSGAenF3.cjs +0 -9
  160. package/dist/vue-ui-3d-bar-vvpkf_bv.cjs +0 -19
  161. package/dist/vue-ui-age-pyramid-CMMnrI3R.cjs +0 -1
  162. package/dist/vue-ui-bullet-nXPlud-q.cjs +0 -34
  163. package/dist/vue-ui-candlestick-B6T0LhEG.cjs +0 -2
  164. package/dist/vue-ui-chestnut-D8Gq_i77.cjs +0 -6
  165. package/dist/vue-ui-circle-pack-DCz3OWlu.cjs +0 -1
  166. package/dist/vue-ui-donut-BpgK-I9o.cjs +0 -1
  167. package/dist/vue-ui-donut-evolution-BVJCDPQ2.cjs +0 -1
  168. package/dist/vue-ui-dumbbell-DRcemHVG.cjs +0 -9
  169. package/dist/vue-ui-flow-DdQsK5DR.cjs +0 -1
  170. package/dist/vue-ui-funnel-Bq4yoTfd.cjs +0 -1
  171. package/dist/vue-ui-galaxy-ia1UNlpc.cjs +0 -1
  172. package/dist/vue-ui-gauge-C3FbYOSi.cjs +0 -1
  173. package/dist/vue-ui-heatmap-BCau2Z3U.cjs +0 -1
  174. package/dist/vue-ui-history-plot-DL7VjOd0.cjs +0 -1
  175. package/dist/vue-ui-molecule-B5XDGmLx.cjs +0 -1
  176. package/dist/vue-ui-mood-radar-DyMCJKFb.cjs +0 -1
  177. package/dist/vue-ui-nested-donuts-B4Am-r6T.cjs +0 -17
  178. package/dist/vue-ui-onion-YeBdJrdx.cjs +0 -5
  179. package/dist/vue-ui-parallel-coordinate-plot-CoecETlm.cjs +0 -8
  180. package/dist/vue-ui-quadrant-Btzq3qNJ.cjs +0 -1
  181. package/dist/vue-ui-quick-chart-5cWjffLJ.cjs +0 -15
  182. package/dist/vue-ui-radar-t22bqFiQ.cjs +0 -1
  183. package/dist/vue-ui-relation-circle-CWgGPxDJ.cjs +0 -1
  184. package/dist/vue-ui-rings-CiLJkRwa.cjs +0 -2
  185. package/dist/vue-ui-scatter-B24gGA8q.cjs +0 -1
  186. package/dist/vue-ui-sparkgauge-DwK7dzdJ.cjs +0 -1
  187. package/dist/vue-ui-sparkhistogram-DKoI6_TT.cjs +0 -1
  188. package/dist/vue-ui-sparkline-Bp7GMRrA.cjs +0 -1
  189. package/dist/vue-ui-sparkstackbar-Dayxdcr7.cjs +0 -1
  190. package/dist/vue-ui-stackbar-C21xTVy9.cjs +0 -6
  191. package/dist/vue-ui-strip-plot-DAo8FMup.cjs +0 -1
  192. package/dist/vue-ui-thermometer-CBdAwYdC.cjs +0 -1
  193. package/dist/vue-ui-timer-CRDQbqJ_.cjs +0 -64
  194. package/dist/vue-ui-tiremarks-C78mfaBr.cjs +0 -1
  195. package/dist/vue-ui-treemap-CP__1pdb.cjs +0 -1
  196. package/dist/vue-ui-vertical-bar-DTB8r4LH.cjs +0 -4
  197. package/dist/vue-ui-waffle-CrVyCF7k.cjs +0 -1
  198. package/dist/vue-ui-wheel-DV2zgr4d.cjs +0 -1
  199. package/dist/vue-ui-wheel-ykD8OULJ.js +0 -319
  200. package/dist/vue-ui-word-cloud-DBkAo2uX.cjs +0 -1
  201. package/dist/vue-ui-xy-mEVVQr_U.cjs +0 -3
@@ -1,26 +1,27 @@
1
- import { useSlots as it, computed as _, ref as d, onMounted as vt, onBeforeUnmount as ct, watch as Ue, createElementBlock as u, openBlock as o, unref as n, normalizeStyle as z, normalizeClass as ce, createBlock as U, createCommentVNode as i, renderSlot as b, createElementVNode as p, createVNode as de, createSlots as je, withCtx as $, normalizeProps as K, guardReactiveProps as Q, Fragment as g, renderList as F, mergeProps as We, toDisplayString as C, createTextVNode as He, nextTick as dt } from "vue";
2
- import { u as ht, o as yt, e as Ee, g as ft, c as pt, b as gt, d as Re, p as j, m as bt, H as mt, f as O, X as wt, s as Z, w as kt, j as _t, I as L, i as A, k as ee, n as w, t as xt, a as $t, q as Ct, r as Pt, x as St } from "./index-DLCyjPV0.js";
3
- import { t as Ft, u as Lt } from "./useResponsive-BWapHhVH.js";
4
- import { _ as Tt } from "./Title-CXBc1TH6.js";
5
- import { u as zt, U as Ot } from "./usePrinter-CpHZjw3G.js";
6
- import { D as Yt } from "./DataTable-BCCBpyhr.js";
7
- import { _ as At } from "./Tooltip-C9lPh5bN.js";
8
- import { L as Nt } from "./Legend-CyJrN721.js";
9
- import Xt from "./vue-ui-skeleton-D6ojufhb.js";
10
- import It from "./vue-ui-accordion-DR2qjfsa.js";
11
- import { u as qe } from "./useNestedProp-q86V3_LA.js";
12
- import { _ as Dt } from "./PackageVersion-PZr4BkQ5.js";
13
- import { P as Mt } from "./PenAndPaper-Cniu2YEX.js";
14
- import { u as Bt } from "./useUserOptionState-BIvW1Kz7.js";
15
- import { _ as Vt } from "./Shape-BXTmpde5.js";
16
- import { _ as Gt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
17
- const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { key: 1 }, Et = ["id"], Rt = ["stop-color"], qt = ["offset", "stop-color"], Jt = ["offset", "stop-color"], Kt = ["stop-color"], Qt = { key: 2 }, Zt = ["id", "cx", "cy"], el = ["stop-color", "stop-opacity"], tl = ["stop-color"], ll = ["id"], al = ["id"], ol = ["id"], ul = ["flood-color"], sl = ["id"], nl = ["flood-color"], rl = ["d", "stroke", "filter"], il = ["x1", "y1", "x2", "y2", "stroke", "filter"], vl = ["cx", "cy", "r", "fill", "filter"], cl = { key: 6 }, dl = ["stroke", "d"], hl = { key: 0 }, yl = ["d", "fill", "stroke", "stroke-width", "filter"], fl = ["d", "fill", "stroke", "stroke-width", "filter"], pl = { key: 0 }, gl = ["stroke", "d"], bl = { key: 0 }, ml = ["d", "stroke", "stroke-width", "filter"], wl = { key: 1 }, kl = ["d", "fill", "stroke", "stroke-width", "filter"], _l = ["d", "fill", "stroke", "stroke-width", "filter"], xl = { key: 1 }, $l = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Cl = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Pl = ["cx", "cy", "r", "stroke"], Sl = ["cx", "cy", "r", "fill"], Fl = { key: 0 }, Ll = ["d", "fill", "onMouseenter", "onClick"], Tl = { key: 1 }, zl = ["cx", "cy", "r", "fill"], Ol = ["x", "y", "fill", "font-size"], Yl = ["x", "y", "fill", "font-size"], Al = ["x", "y", "fill", "font-size"], Nl = ["x", "y", "fill", "font-size"], Xl = ["filter"], Il = { key: 0 }, Dl = ["x", "y"], Ml = { key: 1 }, Bl = ["cx", "cy", "fill", "stroke", "filter", "onClick"], Vl = ["cx", "cy", "fill", "stroke", "filter", "onClick"], Gl = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], Ul = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], jl = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], Wl = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], Hl = { key: 2 }, El = ["x", "y", "width"], Rl = ["x", "y", "width"], ql = {
1
+ import { useSlots as vt, computed as _, ref as d, onMounted as ct, onBeforeUnmount as dt, watch as Ue, createElementBlock as u, openBlock as o, unref as n, normalizeStyle as z, normalizeClass as ce, createBlock as U, createCommentVNode as i, renderSlot as b, createElementVNode as p, createVNode as de, createSlots as je, withCtx as $, normalizeProps as K, guardReactiveProps as Q, Fragment as g, renderList as F, mergeProps as Re, toDisplayString as C, createTextVNode as We, nextTick as ht } from "vue";
2
+ import { u as yt, o as ft, e as He, g as pt, c as gt, b as bt, d as Ee, p as j, m as mt, H as wt, f as O, X as kt, s as Z, w as _t, j as xt, I as L, i as A, k as ee, n as w, t as $t, a as Ct, q as Pt, r as St, x as Ft } from "./index-9EeNZMz1.js";
3
+ import { t as Lt, u as Tt } from "./useResponsive-BWapHhVH.js";
4
+ import { _ as zt } from "./Title-BI8etrRU.js";
5
+ import { u as Ot, U as Yt } from "./usePrinter-ngrh00Ym.js";
6
+ import { D as At } from "./DataTable-TjJIVFlL.js";
7
+ import { _ as Nt } from "./Tooltip-Cxc8c50d.js";
8
+ import { L as Xt } from "./Legend-NKGwxkI7.js";
9
+ import It from "./vue-ui-skeleton-BmJiYGtE.js";
10
+ import Dt from "./vue-ui-accordion-Qo8JxnIN.js";
11
+ import { u as qe } from "./useNestedProp-df_bKQEI.js";
12
+ import { _ as Mt } from "./PackageVersion-QRvxRYPv.js";
13
+ import { P as Bt } from "./PenAndPaper-CxC1lWGK.js";
14
+ import { u as Vt } from "./useUserOptionState-BIvW1Kz7.js";
15
+ import { _ as Gt } from "./Shape-58uyOuYc.js";
16
+ import { u as Ut } from "./useChartAccessibility-BWojgys7.js";
17
+ import { _ as jt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
18
+ const Rt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { key: 1 }, qt = ["id"], Jt = ["stop-color"], Kt = ["offset", "stop-color"], Qt = ["offset", "stop-color"], Zt = ["stop-color"], el = { key: 2 }, tl = ["id", "cx", "cy"], ll = ["stop-color", "stop-opacity"], al = ["stop-color"], ol = ["id"], ul = ["id"], sl = ["id"], nl = ["flood-color"], rl = ["id"], il = ["flood-color"], vl = ["d", "stroke", "filter"], cl = ["x1", "y1", "x2", "y2", "stroke", "filter"], dl = ["cx", "cy", "r", "fill", "filter"], hl = { key: 6 }, yl = ["stroke", "d"], fl = { key: 0 }, pl = ["d", "fill", "stroke", "stroke-width", "filter"], gl = ["d", "fill", "stroke", "stroke-width", "filter"], bl = { key: 0 }, ml = ["stroke", "d"], wl = { key: 0 }, kl = ["d", "stroke", "stroke-width", "filter"], _l = { key: 1 }, xl = ["d", "fill", "stroke", "stroke-width", "filter"], $l = ["d", "fill", "stroke", "stroke-width", "filter"], Cl = { key: 1 }, Pl = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Sl = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Fl = ["cx", "cy", "r", "stroke"], Ll = ["cx", "cy", "r", "fill"], Tl = { key: 0 }, zl = ["d", "fill", "onMouseenter", "onClick"], Ol = { key: 1 }, Yl = ["cx", "cy", "r", "fill"], Al = ["x", "y", "fill", "font-size"], Nl = ["x", "y", "fill", "font-size"], Xl = ["x", "y", "fill", "font-size"], Il = ["x", "y", "fill", "font-size"], Dl = ["filter"], Ml = { key: 0 }, Bl = ["x", "y"], Vl = { key: 1 }, Gl = ["cx", "cy", "fill", "stroke", "filter", "onClick"], Ul = ["cx", "cy", "fill", "stroke", "filter", "onClick"], jl = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], Rl = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], Wl = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], Hl = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], El = { key: 2 }, ql = ["x", "y", "width"], Jl = ["x", "y", "width"], Kl = {
18
19
  key: 5,
19
20
  class: "vue-data-ui-watermark"
20
- }, Jl = ["onClick"], Kl = {
21
+ }, Ql = ["onClick"], Zl = {
21
22
  key: 0,
22
23
  style: { "font-variant-numeric": "tabular-nums" }
23
- }, Ql = { key: 1 }, Zl = ["innerHTML"], ea = {
24
+ }, ea = { key: 1 }, ta = ["innerHTML"], la = {
24
25
  __name: "vue-ui-donut",
25
26
  props: {
26
27
  config: {
@@ -38,29 +39,29 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
38
39
  },
39
40
  emits: ["selectLegend", "selectDatapoint"],
40
41
  setup(Je, { expose: Ke, emit: Qe }) {
41
- const { vue_ui_donut: Ze } = ht(), et = it(), N = Je, R = _({
42
+ const { vue_ui_donut: Ze } = yt(), et = vt(), N = Je, E = _({
42
43
  get() {
43
44
  return !!N.dataset && N.dataset.length;
44
45
  },
45
46
  set(l) {
46
47
  return l;
47
48
  }
48
- }), W = d(null), he = d(null), ye = d(null), te = d(null), fe = d(null), pe = d(null), ge = d(0), be = d(0), me = d(0);
49
- vt(() => {
49
+ }), R = d(null), he = d(null), ye = d(null), te = d(null), fe = d(null), pe = d(null), ge = d(0), be = d(0), me = d(0);
50
+ ct(() => {
50
51
  we();
51
- }), ct(() => {
52
+ }), dt(() => {
52
53
  te.value && te.value.disconnect();
53
54
  });
54
55
  function we() {
55
- if (yt(N.dataset) ? Ee({
56
+ if (ft(N.dataset) ? He({
56
57
  componentName: "VueUiDonut",
57
58
  type: "dataset"
58
59
  }) : N.dataset.forEach((l, r) => {
59
- ft({
60
+ pt({
60
61
  datasetObject: l,
61
62
  requiredAttributes: ["name", "values"]
62
63
  }).forEach((t) => {
63
- R.value = !1, Ee({
64
+ E.value = !1, He({
64
65
  componentName: "VueUiDonut",
65
66
  type: "datasetSerieAttribute",
66
67
  property: t,
@@ -68,9 +69,9 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
68
69
  });
69
70
  });
70
71
  }), e.value.responsive) {
71
- const l = Ft(() => {
72
- const { width: r, height: t } = Lt({
73
- chart: W.value,
72
+ const l = Lt(() => {
73
+ const { width: r, height: t } = Tt({
74
+ chart: R.value,
74
75
  title: e.value.style.chart.title.text ? he.value : null,
75
76
  legend: e.value.style.chart.legend.show ? ye.value : null,
76
77
  source: fe.value,
@@ -80,10 +81,10 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
80
81
  s.value.width = r, s.value.height = t;
81
82
  });
82
83
  });
83
- te.value = new ResizeObserver(l), te.value.observe(W.value.parentNode);
84
+ te.value = new ResizeObserver(l), te.value.observe(R.value.parentNode);
84
85
  }
85
86
  }
86
- const y = d(pt()), tt = d(null), le = d(!1), ue = d(""), P = d(null), ke = d(0);
87
+ const y = d(gt()), tt = d(null), le = d(!1), ue = d(""), P = d(null), ke = d(0);
87
88
  function _e() {
88
89
  const l = qe({
89
90
  userConfig: N.config,
@@ -91,23 +92,23 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
91
92
  });
92
93
  return l.theme ? {
93
94
  ...qe({
94
- userConfig: $t.vue_ui_donut[l.theme] || N.config,
95
+ userConfig: Ct.vue_ui_donut[l.theme] || N.config,
95
96
  defaultConfig: l
96
97
  }),
97
- customPalette: xt[l.theme] || j
98
+ customPalette: $t[l.theme] || j
98
99
  } : l;
99
100
  }
100
101
  const e = _({
101
102
  get: () => _e(),
102
103
  set: (l) => l
103
- }), { userOptionsVisible: se, setUserOptionsVisibility: xe, keepUserOptionState: $e } = Bt({ config: e.value });
104
+ }), { userOptionsVisible: se, setUserOptionsVisibility: xe, keepUserOptionState: $e } = Vt({ config: e.value }), { svgRef: lt } = Ut({ config: e.value.style.chart.title });
104
105
  Ue(() => N.config, (l) => {
105
106
  e.value = _e(), se.value = !e.value.userOptions.showOnChartHover, we(), ge.value += 1, be.value += 1, me.value += 1, f.value.dataLabels.show = e.value.style.chart.layout.labels.dataLabels.show, f.value.showTable = e.value.table.show, f.value.showTooltip = e.value.style.chart.tooltip.show;
106
107
  }, { deep: !0 });
107
- const { isPrinting: Ce, isImaging: Pe, generatePdf: Se, generateImage: Fe } = zt({
108
+ const { isPrinting: Ce, isImaging: Pe, generatePdf: Se, generateImage: Fe } = Ot({
108
109
  elementId: `donut__${y.value}`,
109
110
  fileName: e.value.style.chart.title.text || "vue-ui-donut"
110
- }), lt = _(() => e.value.userOptions.show && !e.value.style.chart.title.text), Le = _(() => gt(e.value.customPalette)), f = d({
111
+ }), at = _(() => e.value.userOptions.show && !e.value.style.chart.title.text), Le = _(() => bt(e.value.customPalette)), f = d({
111
112
  dataLabels: {
112
113
  show: e.value.style.chart.layout.labels.dataLabels.show
113
114
  },
@@ -121,14 +122,14 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
121
122
  return t < 24 ? 24 : t;
122
123
  }), Te = Qe, B = _(() => N.dataset.map((l, r) => ({
123
124
  name: l.name,
124
- color: Re(l.color) || Le.value[r] || j[r] || j[r % j.length],
125
+ color: Ee(l.color) || Le.value[r] || j[r] || j[r % j.length],
125
126
  value: l.values.reduce((t, a) => t + a, 0),
126
127
  absoluteValues: l.values,
127
128
  comment: l.comment || "",
128
129
  patternIndex: r
129
130
  }))), T = d(B.value);
130
131
  Ue(() => B.value, (l) => T.value = l);
131
- function at() {
132
+ function ot() {
132
133
  return B.value.map((l) => ({
133
134
  name: l.name,
134
135
  color: l.color,
@@ -181,7 +182,7 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
181
182
  seriesIndex: r
182
183
  })).filter((l, r) => !X.value.includes(r)))), Ae = _(() => N.dataset.map((l, r) => ({
183
184
  name: l.name,
184
- color: Re(l.color) || Le.value[r] || j[r] || j[r % j.length],
185
+ color: Ee(l.color) || Le.value[r] || j[r] || j[r % j.length],
185
186
  value: (l.values || []).reduce((t, a) => t + a, 0),
186
187
  shape: "circle",
187
188
  patternIndex: r
@@ -191,7 +192,7 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
191
192
  opacity: X.value.includes(r) ? 0.5 : 1,
192
193
  segregate: () => !V.value && Ye(r),
193
194
  isSegregated: X.value.includes(r)
194
- }))), ot = _(() => ({
195
+ }))), ut = _(() => ({
195
196
  cy: "donut-div-legend",
196
197
  backgroundColor: e.value.style.chart.legend.backgroundColor,
197
198
  color: e.value.style.chart.legend.color,
@@ -201,9 +202,9 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
201
202
  })), x = _(() => {
202
203
  const l = Math.min(s.value.width / 3, s.value.height / 3);
203
204
  return l < 55 ? 55 : l;
204
- }), h = _(() => bt({ series: I.value }, s.value.width / 2, s.value.height / 2, x.value, x.value, 1.99999, 2, 1, 360, 105.25, q.value)), c = _(() => {
205
+ }), h = _(() => mt({ series: I.value }, s.value.width / 2, s.value.height / 2, x.value, x.value, 1.99999, 2, 1, 360, 105.25, q.value)), c = _(() => {
205
206
  const l = Math.max(...I.value.map((t) => t.value)), r = I.value.map((t) => t.value / l);
206
- return mt({
207
+ return wt({
207
208
  series: r,
208
209
  center: {
209
210
  x: s.value.width / 2,
@@ -212,17 +213,17 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
212
213
  maxRadius: Math.min(s.value.width, s.value.height) / 3
213
214
  });
214
215
  });
215
- function H(l) {
216
+ function W(l) {
216
217
  return l.x > s.value.width / 2 + 6 ? "start" : l.x < s.value.width / 2 - 6 ? "end" : "middle";
217
218
  }
218
- function ut(l) {
219
+ function st(l) {
219
220
  return l.middlePoint.y > s.value.height / 2 ? L({ initX: l.middlePoint.x, initY: l.middlePoint.y, offset: 100, centerX: s.value.width / 2, centerY: s.value.height / 2 }).y : L({ initX: l.middlePoint.x, initY: l.middlePoint.y, offset: 0, centerX: s.value.width / 2, centerY: s.value.height / 2 }).y - 100;
220
221
  }
221
222
  function Y(l) {
222
223
  return l.proportion * 100 > e.value.style.chart.layout.labels.dataLabels.hideUnderValue;
223
224
  }
224
225
  function ne(l, r) {
225
- const t = l.value / st(r);
226
+ const t = l.value / nt(r);
226
227
  return isNaN(t) ? 0 : A(
227
228
  e.value.style.chart.layout.labels.percentage.formatter,
228
229
  t * 100,
@@ -234,7 +235,7 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
234
235
  { datapoint: l }
235
236
  );
236
237
  }
237
- function st(l) {
238
+ function nt(l) {
238
239
  return [...l].map((r) => r.value).reduce((r, t) => r + t, 0);
239
240
  }
240
241
  const S = _(() => I.value.map((l) => l.value).reduce((l, r) => l + r, 0)), Ne = _(() => S.value / I.value.length), Xe = _(() => (l) => V.value ? l.proportion * 100 : l.value / S.value * 100), re = d(null), J = d(!1);
@@ -242,7 +243,7 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
242
243
  re.value = { datapoint: l, seriesIndex: t, config: e.value, series: B.value }, le.value = a, P.value = r;
243
244
  let v = "";
244
245
  const m = e.value.style.chart.tooltip.customFormat;
245
- if (J.value = !1, St(m))
246
+ if (J.value = !1, Ft(m))
246
247
  try {
247
248
  const k = m({
248
249
  seriesIndex: t,
@@ -300,11 +301,11 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
300
301
  return { head: l, body: r };
301
302
  });
302
303
  function De() {
303
- dt(() => {
304
+ ht(() => {
304
305
  const l = D.value.head.map((a, v) => [[
305
306
  a.name
306
- ], [D.value.body[v]], [isNaN(D.value.body[v] / S.value) ? "-" : D.value.body[v] / S.value * 100]]), r = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(l), t = Ct(r);
307
- Pt({ csvContent: t, title: e.value.style.chart.title.text || "vue-ui-donut" });
307
+ ], [D.value.body[v]], [isNaN(D.value.body[v] / S.value) ? "-" : D.value.body[v] / S.value * 100]]), r = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(l), t = Pt(r);
308
+ St({ csvContent: t, title: e.value.style.chart.title.text || "vue-ui-donut" });
308
309
  });
309
310
  }
310
311
  const ae = _(() => {
@@ -342,12 +343,12 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
342
343
  body: r,
343
344
  config: t
344
345
  };
345
- }), E = d(!1);
346
- function nt(l) {
347
- E.value = l, ke.value += 1;
346
+ }), H = d(!1);
347
+ function rt(l) {
348
+ H.value = l, ke.value += 1;
348
349
  }
349
350
  const Me = _(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent));
350
- function rt(l) {
351
+ function it(l) {
351
352
  return l.toFixed(e.value.style.chart.legend.roundingPercentage).split("").map((r) => "-").join("");
352
353
  }
353
354
  function M(l, r) {
@@ -367,7 +368,7 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
367
368
  oe.value = !oe.value;
368
369
  }
369
370
  return Ke({
370
- getData: at,
371
+ getData: ot,
371
372
  generatePdf: Se,
372
373
  generateCsv: De,
373
374
  generateImage: Fe,
@@ -377,23 +378,23 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
377
378
  toggleAnnotator: ie
378
379
  }), (l, r) => (o(), u("div", {
379
380
  ref_key: "donutChart",
380
- ref: W,
381
- class: ce(`vue-ui-donut ${E.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
381
+ ref: R,
382
+ class: ce(`vue-ui-donut ${H.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
382
383
  style: z(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height:100%;" : ""} text-align:center;background:${e.value.style.chart.backgroundColor}`),
383
384
  id: `donut__${y.value}`,
384
385
  onMouseenter: r[6] || (r[6] = () => n(xe)(!0)),
385
386
  onMouseleave: r[7] || (r[7] = () => n(xe)(!1))
386
387
  }, [
387
- e.value.userOptions.buttons.annotator ? (o(), U(Mt, {
388
+ e.value.userOptions.buttons.annotator ? (o(), U(Bt, {
388
389
  key: 0,
389
- parent: W.value,
390
+ parent: R.value,
390
391
  backgroundColor: e.value.style.chart.backgroundColor,
391
392
  color: e.value.style.chart.color,
392
393
  active: oe.value,
393
394
  onClose: ie
394
395
  }, null, 8, ["parent", "backgroundColor", "color", "active"])) : i("", !0),
395
396
  b(l.$slots, "userConfig", {}, void 0, !0),
396
- lt.value ? (o(), u("div", {
397
+ at.value ? (o(), u("div", {
397
398
  key: 1,
398
399
  ref_key: "noTitle",
399
400
  ref: pe,
@@ -406,7 +407,7 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
406
407
  ref: he,
407
408
  style: "width:100%;background:transparent;padding-bottom:24px"
408
409
  }, [
409
- (o(), U(Tt, {
410
+ (o(), U(zt, {
410
411
  key: `title_${ge.value}`,
411
412
  config: {
412
413
  title: {
@@ -420,7 +421,7 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
420
421
  }
421
422
  }, null, 8, ["config"]))
422
423
  ], 512)) : i("", !0),
423
- e.value.userOptions.show && R.value && (n($e) || n(se)) ? (o(), U(Ot, {
424
+ e.value.userOptions.show && E.value && (n($e) || n(se)) ? (o(), U(Yt, {
424
425
  ref_key: "details",
425
426
  ref: tt,
426
427
  key: `user_option_${ke.value}`,
@@ -436,14 +437,14 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
436
437
  hasTable: e.value.userOptions.buttons.table,
437
438
  hasLabel: e.value.userOptions.buttons.labels,
438
439
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
439
- isFullscreen: E.value,
440
- chartElement: W.value,
440
+ isFullscreen: H.value,
441
+ chartElement: R.value,
441
442
  position: e.value.userOptions.position,
442
443
  isTooltip: f.value.showTooltip,
443
444
  titles: { ...e.value.userOptions.buttonTitles },
444
445
  hasAnnotator: e.value.userOptions.buttons.annotator,
445
446
  isAnnotation: oe.value,
446
- onToggleFullscreen: nt,
447
+ onToggleFullscreen: rt,
447
448
  onGeneratePdf: n(Se),
448
449
  onGenerateCsv: De,
449
450
  onGenerateImage: n(Fe),
@@ -512,14 +513,16 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
512
513
  key: "7"
513
514
  } : void 0
514
515
  ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "chartElement", "position", "isTooltip", "titles", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : i("", !0),
515
- R.value ? (o(), u("svg", {
516
+ E.value ? (o(), u("svg", {
516
517
  key: 4,
517
- xmlns: n(wt),
518
- class: ce({ "vue-data-ui-fullscreen--on": E.value, "vue-data-ui-fulscreen--off": !E.value }),
518
+ ref_key: "svgRef",
519
+ ref: lt,
520
+ xmlns: n(kt),
521
+ class: ce({ "vue-data-ui-fullscreen--on": H.value, "vue-data-ui-fulscreen--off": !H.value }),
519
522
  viewBox: `0 0 ${s.value.width <= 0 ? 10 : s.value.width} ${s.value.height <= 0 ? 10 : s.value.height}`,
520
523
  style: z(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
521
524
  }, [
522
- de(Dt),
525
+ de(Mt),
523
526
  l.$slots["chart-background"] ? (o(), u("foreignObject", {
524
527
  key: 0,
525
528
  x: 0,
@@ -531,8 +534,8 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
531
534
  }
532
535
  }, [
533
536
  b(l.$slots, "chart-background", {}, void 0, !0)
534
- ], 8, Wt)) : i("", !0),
535
- e.value.type === "classic" ? (o(), u("defs", Ht, [
537
+ ], 8, Ht)) : i("", !0),
538
+ e.value.type === "classic" ? (o(), u("defs", Et, [
536
539
  e.value.style.chart.useGradient ? (o(), u("radialGradient", {
537
540
  key: 0,
538
541
  id: `gradient_${y.value}`
@@ -541,24 +544,24 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
541
544
  offset: "0%",
542
545
  "stop-color": n(Z)(e.value.style.chart.backgroundColor, 0),
543
546
  "stop-opacity": "0"
544
- }, null, 8, Rt),
547
+ }, null, 8, Jt),
545
548
  p("stop", {
546
549
  offset: `${(1 - q.value / x.value) * 100}%`,
547
550
  "stop-color": n(Z)("#FFFFFF", 0),
548
551
  "stop-opacity": "0"
549
- }, null, 8, qt),
552
+ }, null, 8, Kt),
550
553
  p("stop", {
551
554
  offset: `${(1 - q.value / x.value / 2) * 100}%`,
552
555
  "stop-color": n(Z)("#FFFFFF", e.value.style.chart.gradientIntensity)
553
- }, null, 8, Jt),
556
+ }, null, 8, Qt),
554
557
  p("stop", {
555
558
  offset: "100%",
556
559
  "stop-color": n(Z)(e.value.style.chart.backgroundColor, 0),
557
560
  "stop-opacity": "0"
558
- }, null, 8, Kt)
559
- ], 8, Et)) : i("", !0)
561
+ }, null, 8, Zt)
562
+ ], 8, qt)) : i("", !0)
560
563
  ])) : i("", !0),
561
- e.value.type === "polar" ? (o(), u("defs", Qt, [
564
+ e.value.type === "polar" ? (o(), u("defs", el, [
562
565
  (o(!0), u(g, null, F(c.value, (t, a) => (o(), u("radialGradient", {
563
566
  id: `polar_gradient_${a}_${y.value}`,
564
567
  cx: t.middlePoint.x / s.value.width * 100 + "%",
@@ -567,14 +570,14 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
567
570
  }, [
568
571
  p("stop", {
569
572
  offset: "0%",
570
- "stop-color": n(kt)(h.value[a].color, 0.05),
573
+ "stop-color": n(_t)(h.value[a].color, 0.05),
571
574
  "stop-opacity": e.value.style.chart.gradientIntensity / 100
572
- }, null, 8, el),
575
+ }, null, 8, ll),
573
576
  p("stop", {
574
577
  offset: "100%",
575
578
  "stop-color": h.value[a].color
576
- }, null, 8, tl)
577
- ], 8, Zt))), 256))
579
+ }, null, 8, al)
580
+ ], 8, tl))), 256))
578
581
  ])) : i("", !0),
579
582
  p("defs", null, [
580
583
  p("filter", {
@@ -588,12 +591,12 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
588
591
  in: "SourceGraphic",
589
592
  stdDeviation: 2,
590
593
  id: `blur_std_${y.value}`
591
- }, null, 8, al),
594
+ }, null, 8, ul),
592
595
  r[8] || (r[8] = p("feColorMatrix", {
593
596
  type: "saturate",
594
597
  values: "0"
595
598
  }, null, -1))
596
- ], 8, ll),
599
+ ], 8, ol),
597
600
  p("filter", {
598
601
  id: `shadow_${y.value}`,
599
602
  "color-interpolation-filters": "sRGB"
@@ -604,8 +607,8 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
604
607
  stdDeviation: "10",
605
608
  "flood-opacity": "0.5",
606
609
  "flood-color": e.value.style.chart.layout.donut.shadowColor
607
- }, null, 8, ul)
608
- ], 8, ol),
610
+ }, null, 8, nl)
611
+ ], 8, sl),
609
612
  p("filter", {
610
613
  id: `drop_shadow_${y.value}`,
611
614
  "color-interpolation-filters": "sRGB",
@@ -620,20 +623,20 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
620
623
  stdDeviation: "3",
621
624
  "flood-opacity": "1",
622
625
  "flood-color": e.value.style.chart.layout.donut.shadowColor
623
- }, null, 8, nl)
624
- ], 8, sl)
626
+ }, null, 8, il)
627
+ ], 8, rl)
625
628
  ]),
626
629
  e.value.type === "classic" ? (o(!0), u(g, { key: 3 }, F(h.value, (t, a) => (o(), u("g", null, [
627
630
  Y(t) && f.value.dataLabels.show ? (o(), u("path", {
628
631
  key: 0,
629
- d: n(_t)(t, { x: s.value.width / 2, y: s.value.height / 2 }, 16, 16, !1, !1, q.value),
632
+ d: n(xt)(t, { x: s.value.width / 2, y: s.value.height / 2 }, 16, 16, !1, !1, q.value),
630
633
  stroke: t.color,
631
634
  "stroke-width": "1",
632
635
  "stroke-linecap": "round",
633
636
  "stroke-linejoin": "round",
634
637
  fill: "none",
635
638
  filter: G(a)
636
- }, null, 8, rl)) : i("", !0)
639
+ }, null, 8, vl)) : i("", !0)
637
640
  ]))), 256)) : i("", !0),
638
641
  e.value.type === "polar" ? (o(!0), u(g, { key: 4 }, F(h.value, (t, a) => (o(), u("g", null, [
639
642
  Y(t) && f.value.dataLabels.show ? (o(), u("line", {
@@ -648,7 +651,7 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
648
651
  "stroke-linejoin": "round",
649
652
  fill: "none",
650
653
  filter: G(a)
651
- }, null, 8, il)) : i("", !0)
654
+ }, null, 8, cl)) : i("", !0)
652
655
  ]))), 256)) : i("", !0),
653
656
  e.value.type === "classic" && e.value.style.chart.layout.donut.useShadow ? (o(), u("circle", {
654
657
  key: 5,
@@ -657,10 +660,10 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
657
660
  r: x.value <= 0 ? 10 : x.value,
658
661
  fill: e.value.style.chart.backgroundColor,
659
662
  filter: `url(#shadow_${y.value})`
660
- }, null, 8, vl)) : i("", !0),
661
- l.$slots.pattern ? (o(), u("g", cl, [
663
+ }, null, 8, dl)) : i("", !0),
664
+ l.$slots.pattern ? (o(), u("g", hl, [
662
665
  (o(!0), u(g, null, F(h.value, (t, a) => (o(), u("defs", null, [
663
- b(l.$slots, "pattern", We({ ref_for: !0 }, { ...t, patternId: `pattern_${y.value}_${t.patternIndex}` }), void 0, !0)
666
+ b(l.$slots, "pattern", Re({ ref_for: !0 }, { ...t, patternId: `pattern_${y.value}_${t.patternIndex}` }), void 0, !0)
664
667
  ]))), 256))
665
668
  ])) : i("", !0),
666
669
  S.value && e.value.type === "classic" ? (o(), u(g, { key: 7 }, [
@@ -668,8 +671,8 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
668
671
  stroke: e.value.style.chart.backgroundColor,
669
672
  d: t.arcSlice,
670
673
  fill: "#FFFFFF"
671
- }, null, 8, dl))), 256)),
672
- l.$slots.pattern ? (o(), u("g", hl, [
674
+ }, null, 8, yl))), 256)),
675
+ l.$slots.pattern ? (o(), u("g", fl, [
673
676
  (o(!0), u(g, null, F(h.value, (t, a) => (o(), u("path", {
674
677
  class: "vue-ui-donut-arc-path",
675
678
  d: t.arcSlice,
@@ -677,7 +680,7 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
677
680
  stroke: e.value.style.chart.backgroundColor,
678
681
  "stroke-width": e.value.style.chart.layout.donut.borderWidth,
679
682
  filter: G(a)
680
- }, null, 8, yl))), 256))
683
+ }, null, 8, pl))), 256))
681
684
  ])) : i("", !0),
682
685
  (o(!0), u(g, null, F(h.value, (t, a) => (o(), u("path", {
683
686
  class: "vue-ui-donut-arc-path",
@@ -686,16 +689,16 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
686
689
  stroke: e.value.style.chart.backgroundColor,
687
690
  "stroke-width": e.value.style.chart.layout.donut.borderWidth,
688
691
  filter: G(a)
689
- }, null, 8, fl))), 256))
692
+ }, null, 8, gl))), 256))
690
693
  ], 64)) : i("", !0),
691
694
  S.value && e.value.type === "polar" ? (o(), u(g, { key: 8 }, [
692
- h.value.length > 1 ? (o(), u("g", pl, [
695
+ h.value.length > 1 ? (o(), u("g", bl, [
693
696
  (o(!0), u(g, null, F(h.value, (t, a) => (o(), u("path", {
694
697
  stroke: e.value.style.chart.backgroundColor,
695
698
  d: c.value[a].path,
696
699
  fill: "#FFFFFF"
697
- }, null, 8, gl))), 256)),
698
- e.value.style.chart.layout.donut.useShadow ? (o(), u("g", bl, [
700
+ }, null, 8, ml))), 256)),
701
+ e.value.style.chart.layout.donut.useShadow ? (o(), u("g", wl, [
699
702
  (o(!0), u(g, null, F(h.value, (t, a) => (o(), u("path", {
700
703
  class: "vue-ui-donut-arc-path",
701
704
  d: c.value[a].path,
@@ -703,9 +706,9 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
703
706
  stroke: e.value.style.chart.backgroundColor,
704
707
  "stroke-width": e.value.style.chart.layout.donut.borderWidth,
705
708
  filter: `url(#drop_shadow_${y.value})`
706
- }, null, 8, ml))), 256))
709
+ }, null, 8, kl))), 256))
707
710
  ])) : i("", !0),
708
- l.$slots.pattern ? (o(), u("g", wl, [
711
+ l.$slots.pattern ? (o(), u("g", _l, [
709
712
  (o(!0), u(g, null, F(h.value, (t, a) => (o(), u("path", {
710
713
  class: "vue-ui-donut-arc-path",
711
714
  d: c.value[a].path,
@@ -713,7 +716,7 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
713
716
  stroke: e.value.style.chart.backgroundColor,
714
717
  "stroke-width": e.value.style.chart.layout.donut.borderWidth,
715
718
  filter: G(a)
716
- }, null, 8, kl))), 256))
719
+ }, null, 8, xl))), 256))
717
720
  ])) : i("", !0),
718
721
  (o(!0), u(g, null, F(h.value, (t, a) => (o(), u("path", {
719
722
  class: "vue-ui-donut-arc-path",
@@ -722,8 +725,8 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
722
725
  stroke: e.value.style.chart.backgroundColor,
723
726
  "stroke-width": e.value.style.chart.layout.donut.borderWidth,
724
727
  filter: G(a)
725
- }, null, 8, _l))), 256))
726
- ])) : (o(), u("g", xl, [
728
+ }, null, 8, $l))), 256))
729
+ ])) : (o(), u("g", Cl, [
727
730
  l.$slots.pattern ? (o(), u("circle", {
728
731
  key: 0,
729
732
  cx: s.value.width / 2,
@@ -732,7 +735,7 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
732
735
  fill: `url(#pattern_${y.value}_${h.value[0].patternIndex})`,
733
736
  stroke: e.value.style.chart.backgroundColor,
734
737
  "stroke-width": e.value.style.chart.layout.donut.borderWidth
735
- }, null, 8, $l)) : i("", !0),
738
+ }, null, 8, Pl)) : i("", !0),
736
739
  p("circle", {
737
740
  cx: s.value.width / 2,
738
741
  cy: s.value.height / 2,
@@ -740,7 +743,7 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
740
743
  fill: e.value.style.chart.useGradient ? `url(#polar_gradient_0_${y.value})` : h.value[0].color,
741
744
  stroke: e.value.style.chart.backgroundColor,
742
745
  "stroke-width": e.value.style.chart.layout.donut.borderWidth
743
- }, null, 8, Cl)
746
+ }, null, 8, Sl)
744
747
  ]))
745
748
  ], 64)) : (o(), u("circle", {
746
749
  key: 9,
@@ -749,7 +752,7 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
749
752
  r: x.value <= 0 ? 10 : x.value,
750
753
  fill: "transparent",
751
754
  stroke: e.value.style.chart.backgroundColor
752
- }, null, 8, Pl)),
755
+ }, null, 8, Fl)),
753
756
  e.value.style.chart.useGradient && e.value.type === "classic" ? (o(), u("circle", {
754
757
  key: 10,
755
758
  cx: s.value.width / 2,
@@ -759,9 +762,9 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
759
762
  x.value <= 0 ? 10 : x.value
760
763
  ),
761
764
  fill: `url(#gradient_${y.value})`
762
- }, null, 8, Sl)) : i("", !0),
765
+ }, null, 8, Ll)) : i("", !0),
763
766
  S.value ? (o(), u(g, { key: 11 }, [
764
- h.value.length > 1 || e.value.type === "classic" ? (o(), u("g", Fl, [
767
+ h.value.length > 1 || e.value.type === "classic" ? (o(), u("g", Tl, [
765
768
  (o(!0), u(g, null, F(h.value, (t, a) => (o(), u("path", {
766
769
  d: e.value.type === "classic" ? t.arcSlice : c.value[a].path,
767
770
  fill: P.value === a ? "rgba(0,0,0,0.1)" : "transparent",
@@ -775,14 +778,13 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
775
778
  le.value = !1, P.value = null;
776
779
  }),
777
780
  onClick: (v) => M(t, a)
778
- }, null, 40, Ll))), 256))
779
- ])) : (o(), u("g", Tl, [
781
+ }, null, 40, zl))), 256))
782
+ ])) : (o(), u("g", Ol, [
780
783
  p("circle", {
781
784
  cx: s.value.width / 2,
782
785
  cy: s.value.height / 2,
783
786
  r: x.value,
784
787
  fill: P.value === l.i ? "rgba(0,0,0,0.1)" : "transparent",
785
- "data-cy-donut-trap": "",
786
788
  onMouseenter: r[1] || (r[1] = (t) => Ie({
787
789
  datapoint: h.value[0],
788
790
  relativeIndex: 0,
@@ -793,7 +795,7 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
793
795
  le.value = !1, P.value = null;
794
796
  }),
795
797
  onClick: r[3] || (r[3] = (t) => M(h.value[0], l.i))
796
- }, null, 40, zl)
798
+ }, null, 40, Yl)
797
799
  ]))
798
800
  ], 64)) : i("", !0),
799
801
  e.value.type === "classic" ? (o(), u(g, { key: 12 }, [
@@ -805,7 +807,7 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
805
807
  fill: e.value.style.chart.layout.labels.hollow.total.color,
806
808
  "font-size": e.value.style.chart.layout.labels.hollow.total.fontSize,
807
809
  style: z(`font-weight:${e.value.style.chart.layout.labels.hollow.total.bold ? "bold" : ""}`)
808
- }, C(e.value.style.chart.layout.labels.hollow.total.text), 13, Ol)) : i("", !0),
810
+ }, C(e.value.style.chart.layout.labels.hollow.total.text), 13, Al)) : i("", !0),
809
811
  e.value.style.chart.layout.labels.hollow.total.show ? (o(), u("text", {
810
812
  key: 1,
811
813
  "text-anchor": "middle",
@@ -822,7 +824,7 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
822
824
  v: S.value,
823
825
  s: e.value.style.chart.layout.labels.hollow.total.value.suffix
824
826
  })
825
- )), 13, Yl)) : i("", !0),
827
+ )), 13, Nl)) : i("", !0),
826
828
  e.value.style.chart.layout.labels.hollow.average.show ? (o(), u("text", {
827
829
  key: 2,
828
830
  "text-anchor": "middle",
@@ -831,7 +833,7 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
831
833
  fill: e.value.style.chart.layout.labels.hollow.average.color,
832
834
  "font-size": e.value.style.chart.layout.labels.hollow.average.fontSize,
833
835
  style: z(`font-weight:${e.value.style.chart.layout.labels.hollow.average.bold ? "bold" : ""}`)
834
- }, C(e.value.style.chart.layout.labels.hollow.average.text), 13, Al)) : i("", !0),
836
+ }, C(e.value.style.chart.layout.labels.hollow.average.text), 13, Xl)) : i("", !0),
835
837
  e.value.style.chart.layout.labels.hollow.average.show ? (o(), u("text", {
836
838
  key: 3,
837
839
  "text-anchor": "middle",
@@ -849,13 +851,13 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
849
851
  s: e.value.style.chart.layout.labels.hollow.average.value.suffix,
850
852
  r: e.value.style.chart.layout.labels.hollow.average.value.rounding
851
853
  })
852
- )), 13, Nl)) : i("", !0)
854
+ )), 13, Il)) : i("", !0)
853
855
  ], 64)) : i("", !0),
854
856
  (o(!0), u(g, null, F(h.value, (t, a) => (o(), u("g", {
855
857
  filter: G(a),
856
858
  class: ce({ animated: e.value.useCssAnimation })
857
859
  }, [
858
- e.value.style.chart.layout.labels.dataLabels.useLabelSlots ? (o(), u("g", Il, [
860
+ e.value.style.chart.layout.labels.dataLabels.useLabelSlots ? (o(), u("g", Ml, [
859
861
  (o(), u("foreignObject", {
860
862
  x: n(w)(t, !0).anchor === "end" ? n(w)(t).x - 120 : n(w)(t, !0).anchor === "middle" ? n(w)(t).x - 60 : n(w)(t).x,
861
863
  y: n(ee)(t) - (Me.value ? 20 : 0),
@@ -864,7 +866,7 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
864
866
  style: { overflow: "visible" }
865
867
  }, [
866
868
  p("div", null, [
867
- b(l.$slots, "dataLabel", We({ ref_for: !0 }, {
869
+ b(l.$slots, "dataLabel", Re({ ref_for: !0 }, {
868
870
  datapoint: t,
869
871
  isBlur: !e.value.useBlurOnHover || [null, void 0].includes(P.value) || P.value === a,
870
872
  isSafari: Me.value,
@@ -874,8 +876,8 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
874
876
  percentage: ne(t, h.value)
875
877
  }), void 0, !0)
876
878
  ])
877
- ], 8, Dl))
878
- ])) : (o(), u("g", Ml, [
879
+ ], 8, Bl))
880
+ ])) : (o(), u("g", Vl, [
879
881
  e.value.type === "classic" ? (o(), u(g, { key: 0 }, [
880
882
  Y(t) && f.value.dataLabels.show ? (o(), u("circle", {
881
883
  key: 0,
@@ -887,7 +889,7 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
887
889
  r: 3,
888
890
  filter: !e.value.useBlurOnHover || [null, void 0].includes(P.value) || P.value === a ? "" : `url(#blur_${y.value})`,
889
891
  onClick: (v) => M(t, a)
890
- }, null, 8, Bl)) : i("", !0)
892
+ }, null, 8, Gl)) : i("", !0)
891
893
  ], 64)) : i("", !0),
892
894
  e.value.type === "polar" ? (o(), u(g, { key: 1 }, [
893
895
  Y(t) && f.value.dataLabels.show ? (o(), u("circle", {
@@ -900,7 +902,7 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
900
902
  r: 3,
901
903
  filter: !e.value.useBlurOnHover || [null, void 0].includes(P.value) || P.value === a ? "" : `url(#blur_${y.value})`,
902
904
  onClick: (v) => M(t, a)
903
- }, null, 8, Vl)) : i("", !0)
905
+ }, null, 8, Ul)) : i("", !0)
904
906
  ], 64)) : i("", !0),
905
907
  e.value.type === "classic" ? (o(), u(g, { key: 2 }, [
906
908
  Y(t) && f.value.dataLabels.show ? (o(), u("text", {
@@ -922,7 +924,7 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
922
924
  r: e.value.style.chart.layout.labels.value.rounding
923
925
  }),
924
926
  { datapoint: t }
925
- )})` : ""), 13, Gl)) : i("", !0),
927
+ )})` : ""), 13, jl)) : i("", !0),
926
928
  Y(t) && f.value.dataLabels.show ? (o(), u("text", {
927
929
  key: 1,
928
930
  "text-anchor": n(w)(t).anchor,
@@ -932,12 +934,12 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
932
934
  "font-size": e.value.style.chart.layout.labels.name.fontSize,
933
935
  style: z(`font-weight:${e.value.style.chart.layout.labels.name.bold ? "bold" : ""}`),
934
936
  onClick: (v) => M(t, a)
935
- }, C(t.name), 13, Ul)) : i("", !0)
937
+ }, C(t.name), 13, Rl)) : i("", !0)
936
938
  ], 64)) : i("", !0),
937
939
  e.value.type === "polar" ? (o(), u(g, { key: 3 }, [
938
940
  Y(t) && f.value.dataLabels.show ? (o(), u("text", {
939
941
  key: 0,
940
- "text-anchor": H(c.value[a].middlePoint),
942
+ "text-anchor": W(c.value[a].middlePoint),
941
943
  x: n(L)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: s.value.width / 2, centerY: s.value.height / 2 }).x,
942
944
  y: n(L)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: s.value.width / 2, centerY: s.value.height / 2 }).y,
943
945
  fill: e.value.style.chart.layout.labels.percentage.color,
@@ -954,20 +956,20 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
954
956
  r: e.value.style.chart.layout.labels.value.rounding
955
957
  }),
956
958
  { datapoint: t }
957
- )})` : ""), 13, jl)) : i("", !0),
959
+ )})` : ""), 13, Wl)) : i("", !0),
958
960
  Y(t) && f.value.dataLabels.show ? (o(), u("text", {
959
961
  key: 1,
960
- "text-anchor": H(c.value[a].middlePoint),
962
+ "text-anchor": W(c.value[a].middlePoint),
961
963
  x: n(L)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: s.value.width / 2, centerY: s.value.height / 2 }).x,
962
964
  y: n(L)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: s.value.width / 2, centerY: s.value.height / 2 }).y + e.value.style.chart.layout.labels.percentage.fontSize,
963
965
  fill: e.value.style.chart.layout.labels.name.color,
964
966
  "font-size": e.value.style.chart.layout.labels.name.fontSize,
965
967
  style: z(`font-weight:${e.value.style.chart.layout.labels.name.bold ? "bold" : ""}`),
966
968
  onClick: (v) => M(t, a)
967
- }, C(t.name), 13, Wl)) : i("", !0)
969
+ }, C(t.name), 13, Hl)) : i("", !0)
968
970
  ], 64)) : i("", !0)
969
971
  ])),
970
- f.value.dataLabels.show && e.value.style.chart.comments.show && t.comment ? (o(), u("g", Hl, [
972
+ f.value.dataLabels.show && e.value.style.chart.comments.show && t.comment ? (o(), u("g", El, [
971
973
  Y(t) && e.value.type === "classic" ? (o(), u("foreignObject", {
972
974
  key: 0,
973
975
  x: e.value.style.chart.comments.offsetX + (n(w)(t, !0).anchor === "end" ? n(w)(t).x - e.value.style.chart.comments.width : n(w)(t, !0).anchor === "middle" ? n(w)(t).x - e.value.style.chart.comments.width / 2 : n(w)(t).x),
@@ -981,29 +983,29 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
981
983
  plot: { ...t, textAlign: n(w)(t, !0, 16, !0).anchor, flexAlign: n(w)(t, !0, 16).anchor }
982
984
  }, void 0, !0)
983
985
  ])
984
- ], 8, El)) : i("", !0),
986
+ ], 8, ql)) : i("", !0),
985
987
  Y(t) && e.value.type === "polar" ? (o(), u("foreignObject", {
986
988
  key: 1,
987
- x: e.value.style.chart.comments.offsetX + (H(c.value[a].middlePoint) === "end" ? n(L)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: s.value.width / 2, centerY: s.value.height / 2 }).x - e.value.style.chart.comments.width : H(c.value[a].middlePoint) === "middle" ? n(L)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: s.value.width / 2, centerY: s.value.height / 2 }).x - e.value.style.chart.comments.width / 2 : n(L)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: s.value.width / 2, centerY: s.value.height / 2 }).x),
988
- y: ut(c.value[a]) + e.value.style.chart.comments.offsetY,
989
+ x: e.value.style.chart.comments.offsetX + (W(c.value[a].middlePoint) === "end" ? n(L)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: s.value.width / 2, centerY: s.value.height / 2 }).x - e.value.style.chart.comments.width : W(c.value[a].middlePoint) === "middle" ? n(L)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: s.value.width / 2, centerY: s.value.height / 2 }).x - e.value.style.chart.comments.width / 2 : n(L)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: s.value.width / 2, centerY: s.value.height / 2 }).x),
990
+ y: st(c.value[a]) + e.value.style.chart.comments.offsetY,
989
991
  width: e.value.style.chart.comments.width,
990
992
  height: "200",
991
993
  style: { overflow: "visible", "pointer-events": "none" }
992
994
  }, [
993
995
  p("div", null, [
994
996
  b(l.$slots, "plot-comment", {
995
- plot: { ...t, textAlign: H(c.value[a].middlePoint), flexAlign: H(c.value[a].middlePoint) }
997
+ plot: { ...t, textAlign: W(c.value[a].middlePoint), flexAlign: W(c.value[a].middlePoint) }
996
998
  }, void 0, !0)
997
999
  ])
998
- ], 8, Rl)) : i("", !0)
1000
+ ], 8, Jl)) : i("", !0)
999
1001
  ])) : i("", !0)
1000
- ], 10, Xl))), 256)),
1002
+ ], 10, Dl))), 256)),
1001
1003
  b(l.$slots, "svg", { svg: s.value }, void 0, !0)
1002
- ], 14, jt)) : i("", !0),
1003
- l.$slots.watermark ? (o(), u("div", ql, [
1004
+ ], 14, Wt)) : i("", !0),
1005
+ l.$slots.watermark ? (o(), u("div", Kl, [
1004
1006
  b(l.$slots, "watermark", K(Q({ isPrinting: n(Ce) || n(Pe) })), void 0, !0)
1005
1007
  ])) : i("", !0),
1006
- R.value ? i("", !0) : (o(), U(Xt, {
1008
+ E.value ? i("", !0) : (o(), U(It, {
1007
1009
  key: 6,
1008
1010
  config: {
1009
1011
  type: "donut",
@@ -1020,10 +1022,10 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
1020
1022
  ref_key: "chartLegend",
1021
1023
  ref: ye
1022
1024
  }, [
1023
- e.value.style.chart.legend.show ? (o(), U(Nt, {
1025
+ e.value.style.chart.legend.show ? (o(), U(Xt, {
1024
1026
  key: `legend_${me.value}`,
1025
1027
  legendSet: Ae.value,
1026
- config: ot.value,
1028
+ config: ut.value,
1027
1029
  onClickMarker: r[4] || (r[4] = ({ i: t }) => Ye(t))
1028
1030
  }, je({
1029
1031
  item: $(({ legend: t, index: a }) => [
@@ -1031,7 +1033,7 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
1031
1033
  style: z(`opacity:${X.value.includes(a) ? 0.5 : 1}`),
1032
1034
  onClick: (v) => t.segregate()
1033
1035
  }, [
1034
- He(C(t.name) + ": " + C(n(A)(
1036
+ We(C(t.name) + ": " + C(n(A)(
1035
1037
  e.value.style.chart.layout.labels.value.formatter,
1036
1038
  t.value,
1037
1039
  n(O)({
@@ -1045,7 +1047,7 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
1045
1047
  index: a
1046
1048
  }
1047
1049
  )) + " ", 1),
1048
- X.value.includes(a) ? (o(), u("span", Ql, " ( " + C(rt(t.proportion * 100)) + " % ) ", 1)) : (o(), u("span", Kl, " (" + C(isNaN(t.value / S.value) ? "-" : n(A)(
1050
+ X.value.includes(a) ? (o(), u("span", ea, " ( " + C(it(t.proportion * 100)) + " % ) ", 1)) : (o(), u("span", Zl, " (" + C(isNaN(t.value / S.value) ? "-" : n(A)(
1049
1051
  e.value.style.chart.layout.labels.percentage.formatter,
1050
1052
  Xe.value(t),
1051
1053
  n(O)({
@@ -1054,14 +1056,14 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
1054
1056
  r: e.value.style.chart.legend.roundingPercentage
1055
1057
  })
1056
1058
  )) + ") ", 1))
1057
- ], 12, Jl)
1059
+ ], 12, Ql)
1058
1060
  ]),
1059
1061
  _: 2
1060
1062
  }, [
1061
1063
  l.$slots.pattern ? {
1062
1064
  name: "legend-pattern",
1063
1065
  fn: $(({ legend: t, index: a }) => [
1064
- de(Vt, {
1066
+ de(Gt, {
1065
1067
  shape: t.shape,
1066
1068
  radius: 30,
1067
1069
  stroke: "none",
@@ -1082,7 +1084,7 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
1082
1084
  }, [
1083
1085
  b(l.$slots, "source", {}, void 0, !0)
1084
1086
  ], 512)) : i("", !0),
1085
- de(At, {
1087
+ de(Nt, {
1086
1088
  show: f.value.showTooltip && le.value,
1087
1089
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
1088
1090
  color: e.value.style.chart.tooltip.color,
@@ -1093,10 +1095,10 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
1093
1095
  backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
1094
1096
  position: e.value.style.chart.tooltip.position,
1095
1097
  offsetY: e.value.style.chart.tooltip.offsetY,
1096
- parent: W.value,
1098
+ parent: R.value,
1097
1099
  content: ue.value,
1098
1100
  isCustom: J.value,
1099
- isFullscreen: E.value
1101
+ isFullscreen: H.value
1100
1102
  }, {
1101
1103
  "tooltip-before": $(() => [
1102
1104
  b(l.$slots, "tooltip-before", K(Q({ ...re.value })), void 0, !0)
@@ -1106,7 +1108,7 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
1106
1108
  ]),
1107
1109
  _: 3
1108
1110
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom", "isFullscreen"]),
1109
- R.value ? (o(), U(It, {
1111
+ E.value ? (o(), U(Dt, {
1110
1112
  key: 8,
1111
1113
  hideDetails: "",
1112
1114
  config: {
@@ -1123,7 +1125,7 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
1123
1125
  }
1124
1126
  }, {
1125
1127
  content: $(() => [
1126
- (o(), U(Yt, {
1128
+ (o(), U(At, {
1127
1129
  key: `table_${be.value}`,
1128
1130
  colNames: ae.value.colNames,
1129
1131
  head: ae.value.head,
@@ -1136,10 +1138,10 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
1136
1138
  p("div", {
1137
1139
  innerHTML: t,
1138
1140
  style: { display: "flex", "align-items": "center" }
1139
- }, null, 8, Zl)
1141
+ }, null, 8, ta)
1140
1142
  ]),
1141
1143
  td: $(({ td: t }) => [
1142
- He(C(t.name ? t.name : isNaN(Number(t)) ? t.includes("%") ? t : n(A)(
1144
+ We(C(t.name ? t.name : isNaN(Number(t)) ? t.includes("%") ? t : n(A)(
1143
1145
  e.value.style.chart.layout.labels.percentage.formatter,
1144
1146
  t,
1145
1147
  n(O)({
@@ -1163,9 +1165,9 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
1163
1165
  ]),
1164
1166
  _: 1
1165
1167
  }, 8, ["config"])) : i("", !0)
1166
- ], 46, Ut));
1168
+ ], 46, Rt));
1167
1169
  }
1168
- }, ga = /* @__PURE__ */ Gt(ea, [["__scopeId", "data-v-940a2ad4"]]);
1170
+ }, wa = /* @__PURE__ */ jt(la, [["__scopeId", "data-v-cc0f61b3"]]);
1169
1171
  export {
1170
- ga as default
1172
+ wa as default
1171
1173
  };