vue-data-ui 2.6.46 → 2.6.47

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 (163) hide show
  1. package/dist/{Arrow-l2Rjf1KV.cjs → Arrow-CRrMt_zT.cjs} +1 -1
  2. package/dist/{Arrow-D4sCAfTr.js → Arrow-Dvz6Z2gU.js} +1 -1
  3. package/dist/{BaseIcon-Dx5FJt-N.js → BaseIcon-CEgQPz8O.js} +5 -3
  4. package/dist/{BaseIcon-BpdQLb-0.cjs → BaseIcon-DoqpR480.cjs} +1 -1
  5. package/dist/{ColorPicker-BkUHmkbg.cjs → ColorPicker-Bp_7FV2c.cjs} +1 -1
  6. package/dist/{ColorPicker-Ag9OY75a.js → ColorPicker-DwezDvSV.js} +3 -3
  7. package/dist/{DataTable-D9wdDVT6.js → DataTable-751-cN2c.js} +2 -2
  8. package/dist/{DataTable-B8Ui_Pd4.cjs → DataTable-D_Guh5Hf.cjs} +1 -1
  9. package/dist/{Legend-BCngKEVr.js → Legend-BG9fLat9.js} +2 -2
  10. package/dist/{Legend-BFB4DMQS.cjs → Legend-CepYsC9r.cjs} +1 -1
  11. package/dist/{PackageVersion-Da8iEjju.cjs → PackageVersion-D8T0gm3t.cjs} +1 -1
  12. package/dist/{PackageVersion-DR6SOSy8.js → PackageVersion-SrpgZayt.js} +1 -1
  13. package/dist/{PenAndPaper-Dpjaroq-.cjs → PenAndPaper-BJ6gGBM2.cjs} +1 -1
  14. package/dist/{PenAndPaper-DxsKkGjV.js → PenAndPaper-jnD991LP.js} +3 -3
  15. package/dist/{Shape-CcATSdDH.js → Shape-BaijOBYT.js} +1 -1
  16. package/dist/{Shape-DomxDqtX.cjs → Shape-og7-ULyN.cjs} +1 -1
  17. package/dist/{Slicer-DlCXj2P9.cjs → Slicer-B4ZDkwnQ.cjs} +1 -1
  18. package/dist/{Slicer-Bw4VblBK.js → Slicer-COHzItjq.js} +3 -3
  19. package/dist/{Title-CFmNnjPN.cjs → Title-BUnn57ZR.cjs} +1 -1
  20. package/dist/{Title-Dr0O3Ohb.js → Title-DMhhB9yN.js} +1 -1
  21. package/dist/{Tooltip-C8mLFDBp.js → Tooltip-BaPecnnV.js} +1 -1
  22. package/dist/{Tooltip-UBWsyt1M.cjs → Tooltip-DJtOxx2P.cjs} +1 -1
  23. package/dist/index-DEbhC0cM.cjs +9 -0
  24. package/dist/{index-BdV23M_4.js → index-KdQpiTkm.js} +3 -1
  25. package/dist/style.css +1 -1
  26. package/dist/types/vue-data-ui.d.cts +5 -1
  27. package/dist/types/vue-data-ui.d.ts +5 -1
  28. package/dist/{useNestedProp-DyW-iWus.js → useNestedProp-CO8Pe266.js} +1 -1
  29. package/dist/{useNestedProp-BIeXIQxH.cjs → useNestedProp-COYn8tA0.cjs} +1 -1
  30. package/dist/{usePrinter-TFomTfxX.js → usePrinter-BuiF8wZK.js} +1 -1
  31. package/dist/{usePrinter-BUMwWyWM.cjs → usePrinter-DRmOwFc2.cjs} +1 -1
  32. package/dist/useResponsive-Cw4oZ8sQ.js +192 -0
  33. package/dist/useResponsive-DQmBAoBf.cjs +1 -0
  34. package/dist/{vue-data-ui-Cal0DvqU.js → vue-data-ui-3jkYjNO_.js} +61 -61
  35. package/dist/{vue-data-ui-DBoVETZN.cjs → vue-data-ui-BbpJaKj_.cjs} +1 -1
  36. package/dist/vue-data-ui.cjs +1 -1
  37. package/dist/vue-data-ui.js +1 -1
  38. package/dist/{vue-ui-3d-bar-DUMfvSbU.js → vue-ui-3d-bar-Bda7eCM_.js} +9 -9
  39. package/dist/{vue-ui-3d-bar-GTKfWFni.cjs → vue-ui-3d-bar-D7_7INdZ.cjs} +1 -1
  40. package/dist/{vue-ui-accordion-2_hSAOvX.js → vue-ui-accordion-CDTJiQu0.js} +3 -3
  41. package/dist/{vue-ui-accordion-BIBhKMbJ.cjs → vue-ui-accordion-ChxVn9CH.cjs} +1 -1
  42. package/dist/{vue-ui-age-pyramid-DotN5JY1.cjs → vue-ui-age-pyramid-C-5yJnWs.cjs} +1 -1
  43. package/dist/{vue-ui-age-pyramid-C0UfrmeD.js → vue-ui-age-pyramid-C4FUVgL1.js} +11 -11
  44. package/dist/{vue-ui-annotator-C-9pwUrR.js → vue-ui-annotator-pYtolxGn.js} +1 -1
  45. package/dist/{vue-ui-annotator-C0V4kD4I.cjs → vue-ui-annotator-yLvZcOQb.cjs} +1 -1
  46. package/dist/{vue-ui-bullet-Ct39TnfH.cjs → vue-ui-bullet-BVmbUAYh.cjs} +1 -1
  47. package/dist/{vue-ui-bullet-6vftOeqJ.js → vue-ui-bullet-oEZK6DxU.js} +8 -8
  48. package/dist/{vue-ui-candlestick-Cxpk32bR.cjs → vue-ui-candlestick-CVM-Yvvm.cjs} +1 -1
  49. package/dist/{vue-ui-candlestick-IxSh2gnY.js → vue-ui-candlestick-Cm0ipv0t.js} +12 -12
  50. package/dist/{vue-ui-carousel-table-BinpEAPd.cjs → vue-ui-carousel-table-BGPWwg3x.cjs} +1 -1
  51. package/dist/{vue-ui-carousel-table-DreHo_wE.js → vue-ui-carousel-table-PcE7YCyE.js} +4 -4
  52. package/dist/{vue-ui-chestnut-CpYTb1wd.cjs → vue-ui-chestnut-CeYVXtyW.cjs} +1 -1
  53. package/dist/{vue-ui-chestnut-3saDHpZ-.js → vue-ui-chestnut-Ob9Rt-3r.js} +8 -8
  54. package/dist/{vue-ui-circle-pack-BechgWzd.js → vue-ui-circle-pack-BF0PBuDU.js} +10 -10
  55. package/dist/{vue-ui-circle-pack-BfskRpSw.cjs → vue-ui-circle-pack-pbnF0Jb7.cjs} +1 -1
  56. package/dist/{vue-ui-cursor-CRMGfBFa.cjs → vue-ui-cursor-DE4hlTca.cjs} +1 -1
  57. package/dist/{vue-ui-cursor-BEuJm8Mb.js → vue-ui-cursor-Drnazkqg.js} +2 -2
  58. package/dist/{vue-ui-dashboard-TQto_FFI.cjs → vue-ui-dashboard-D3-z2poA.cjs} +1 -1
  59. package/dist/{vue-ui-dashboard-DSrb1InR.js → vue-ui-dashboard-j5IuBHiv.js} +2 -2
  60. package/dist/{vue-ui-digits-BeoOy04C.js → vue-ui-digits-BRMuUzSA.js} +2 -2
  61. package/dist/{vue-ui-digits-BRPGEv7S.cjs → vue-ui-digits-CD5-WopZ.cjs} +1 -1
  62. package/dist/{vue-ui-donut-BWQ3vgjP.js → vue-ui-donut-CdVSree_.js} +229 -219
  63. package/dist/vue-ui-donut-Dq1F2vBg.cjs +1 -0
  64. package/dist/{vue-ui-donut-evolution-DOXHsGwg.cjs → vue-ui-donut-evolution-BQ7-rOnh.cjs} +1 -1
  65. package/dist/{vue-ui-donut-evolution-DQIaWcso.js → vue-ui-donut-evolution-DzrJwccW.js} +11 -11
  66. package/dist/{vue-ui-dumbbell--mlgQyZ7.cjs → vue-ui-dumbbell-DSdwbWLI.cjs} +1 -1
  67. package/dist/{vue-ui-dumbbell-BAA0L5kU.js → vue-ui-dumbbell-DuCdZc41.js} +11 -11
  68. package/dist/{vue-ui-flow-CbIxR8qu.js → vue-ui-flow-CYpiRQ_u.js} +9 -9
  69. package/dist/{vue-ui-flow-zigj6Xbo.cjs → vue-ui-flow-D_UgsB9t.cjs} +1 -1
  70. package/dist/{vue-ui-funnel-C1CjZHuh.js → vue-ui-funnel-6q79enxr.js} +10 -10
  71. package/dist/{vue-ui-funnel-Cs-Kjiev.cjs → vue-ui-funnel-Dr4ssgIM.cjs} +1 -1
  72. package/dist/{vue-ui-galaxy-CWI4H3RW.cjs → vue-ui-galaxy-BGxIGzn8.cjs} +1 -1
  73. package/dist/{vue-ui-galaxy-G9AFzo0J.js → vue-ui-galaxy-Bg-3xnWe.js} +11 -11
  74. package/dist/{vue-ui-gauge-hDpxwLu6.js → vue-ui-gauge-Cwhlraja.js} +8 -8
  75. package/dist/{vue-ui-gauge-CsyLGIqh.cjs → vue-ui-gauge-DGt25KK7.cjs} +1 -1
  76. package/dist/{vue-ui-gizmo-BIcmHlyo.cjs → vue-ui-gizmo-C0024J7B.cjs} +1 -1
  77. package/dist/{vue-ui-gizmo-Bc-DWND7.js → vue-ui-gizmo-VRONxCxp.js} +3 -3
  78. package/dist/{vue-ui-heatmap-DZ9xsMHI.cjs → vue-ui-heatmap-CTwazjkR.cjs} +1 -1
  79. package/dist/{vue-ui-heatmap-8p4PejGU.js → vue-ui-heatmap-ay3NAawN.js} +10 -10
  80. package/dist/{vue-ui-history-plot-W2UVpzIY.js → vue-ui-history-plot-BQ_2NZVm.js} +12 -12
  81. package/dist/{vue-ui-history-plot-DiTEY9hR.cjs → vue-ui-history-plot-B_IHuJff.cjs} +1 -1
  82. package/dist/{vue-ui-kpi-DFFosWUi.js → vue-ui-kpi-BGSgE7Ck.js} +3 -3
  83. package/dist/{vue-ui-kpi-BXQ6gSky.cjs → vue-ui-kpi-BtHmGmj6.cjs} +1 -1
  84. package/dist/{vue-ui-mini-loader-C8hmEB9w.cjs → vue-ui-mini-loader-Bwe3_hqy.cjs} +1 -1
  85. package/dist/{vue-ui-mini-loader-C2uhjtCz.js → vue-ui-mini-loader-DyRqUv0j.js} +2 -2
  86. package/dist/{vue-ui-molecule-CXIE8hWW.cjs → vue-ui-molecule-Cy_P0hK2.cjs} +1 -1
  87. package/dist/{vue-ui-molecule-B1pxOA3p.js → vue-ui-molecule-gJVbPM60.js} +10 -10
  88. package/dist/{vue-ui-mood-radar-BuLuDh5y.cjs → vue-ui-mood-radar-BxFd74g3.cjs} +1 -1
  89. package/dist/{vue-ui-mood-radar-B-bELxUM.js → vue-ui-mood-radar-DAYJLwXw.js} +11 -11
  90. package/dist/vue-ui-nested-donuts-DP_cQ0OI.cjs +17 -0
  91. package/dist/{vue-ui-nested-donuts-C4isJwag.js → vue-ui-nested-donuts-r67jsUHC.js} +221 -211
  92. package/dist/{vue-ui-onion-BNPFlq-G.js → vue-ui-onion-C-d1e3w2.js} +12 -12
  93. package/dist/{vue-ui-onion-nbqNRCyk.cjs → vue-ui-onion-CR4UoiPQ.cjs} +1 -1
  94. package/dist/{vue-ui-parallel-coordinate-plot-C9FIQC4s.cjs → vue-ui-parallel-coordinate-plot-DVltec37.cjs} +1 -1
  95. package/dist/{vue-ui-parallel-coordinate-plot-DFHwTxhN.js → vue-ui-parallel-coordinate-plot-FRhJ4mby.js} +13 -13
  96. package/dist/{vue-ui-quadrant-C4NULaSL.js → vue-ui-quadrant-BKWD8HER.js} +13 -13
  97. package/dist/{vue-ui-quadrant-CEyZ6gCX.cjs → vue-ui-quadrant-D-vSAn7m.cjs} +1 -1
  98. package/dist/{vue-ui-quick-chart-B7PqLKWn.cjs → vue-ui-quick-chart-Bbcex3jc.cjs} +1 -1
  99. package/dist/{vue-ui-quick-chart-m9kWUtKc.js → vue-ui-quick-chart-Cy3FCnd-.js} +10 -10
  100. package/dist/{vue-ui-radar-DHH8CDle.cjs → vue-ui-radar-BHCghGVU.cjs} +1 -1
  101. package/dist/{vue-ui-radar-CKb7rcO0.js → vue-ui-radar-BX_7Ngn_.js} +13 -13
  102. package/dist/{vue-ui-rating-BowDISAW.js → vue-ui-rating-CM6YiPW3.js} +2 -2
  103. package/dist/{vue-ui-rating-nYq9NVf8.cjs → vue-ui-rating-JhzvmHjC.cjs} +1 -1
  104. package/dist/{vue-ui-relation-circle-CXa8v5cY.cjs → vue-ui-relation-circle-BPhcc_fN.cjs} +1 -1
  105. package/dist/{vue-ui-relation-circle-CtaNRzML.js → vue-ui-relation-circle-JTWFex69.js} +8 -8
  106. package/dist/{vue-ui-rings-CRgcPBhj.cjs → vue-ui-rings-CzXIKikH.cjs} +1 -1
  107. package/dist/{vue-ui-rings-DaydpH_W.js → vue-ui-rings-NBAca-G8.js} +13 -13
  108. package/dist/{vue-ui-scatter-Bx16gq37.js → vue-ui-scatter-5SJ4F605.js} +13 -13
  109. package/dist/{vue-ui-scatter-CH8b47_g.cjs → vue-ui-scatter-DCunyG-E.cjs} +1 -1
  110. package/dist/{vue-ui-screenshot-j_ruTkOe.js → vue-ui-screenshot-DPm6Bpiq.js} +1 -1
  111. package/dist/{vue-ui-screenshot-BOqEw_Ty.cjs → vue-ui-screenshot-q3DSJ00h.cjs} +1 -1
  112. package/dist/{vue-ui-skeleton-CVnkLuNk.js → vue-ui-skeleton-BhHXiz99.js} +3 -3
  113. package/dist/{vue-ui-skeleton-CX4m8kLi.cjs → vue-ui-skeleton-D7S6OsSN.cjs} +1 -1
  114. package/dist/{vue-ui-smiley-DOcs96EG.cjs → vue-ui-smiley-CQE1dvvV.cjs} +1 -1
  115. package/dist/{vue-ui-smiley-DGfBC_1p.js → vue-ui-smiley-Cb8d713r.js} +2 -2
  116. package/dist/{vue-ui-spark-trend-Cx5_BczW.cjs → vue-ui-spark-trend-7Bo9O1fQ.cjs} +1 -1
  117. package/dist/{vue-ui-spark-trend-BjNjO7Al.js → vue-ui-spark-trend-BVNEGhp9.js} +5 -5
  118. package/dist/{vue-ui-sparkbar-Bj9M7Klo.js → vue-ui-sparkbar-BbOu_w63.js} +4 -4
  119. package/dist/{vue-ui-sparkbar-CzRw1-5c.cjs → vue-ui-sparkbar-qAaHy4or.cjs} +1 -1
  120. package/dist/{vue-ui-sparkgauge-mx5x8jhB.js → vue-ui-sparkgauge-BwNM15jl.js} +4 -4
  121. package/dist/{vue-ui-sparkgauge-iMqket_H.cjs → vue-ui-sparkgauge-ddRVuzSQ.cjs} +1 -1
  122. package/dist/{vue-ui-sparkhistogram-w4t8R3kU.cjs → vue-ui-sparkhistogram-C8E73uuw.cjs} +1 -1
  123. package/dist/{vue-ui-sparkhistogram-knnJtMmd.js → vue-ui-sparkhistogram-DhJ72P8O.js} +5 -5
  124. package/dist/{vue-ui-sparkline-BgGreU8G.cjs → vue-ui-sparkline-C6wkmXa0.cjs} +1 -1
  125. package/dist/{vue-ui-sparkline-C4xJULc3.js → vue-ui-sparkline-m3nNPKwo.js} +5 -5
  126. package/dist/{vue-ui-sparkstackbar-DKozbgvk.js → vue-ui-sparkstackbar-B71Vue4E.js} +5 -5
  127. package/dist/{vue-ui-sparkstackbar-oCiVPgqg.cjs → vue-ui-sparkstackbar-CJyCwn7x.cjs} +1 -1
  128. package/dist/{vue-ui-stackbar-Bomp_wIS.cjs → vue-ui-stackbar-6W0SjyLd.cjs} +1 -1
  129. package/dist/{vue-ui-stackbar-avxRfDtE.js → vue-ui-stackbar-CL7KXBrn.js} +14 -14
  130. package/dist/{vue-ui-strip-plot-7k2wQR85.cjs → vue-ui-strip-plot-D10qNzJu.cjs} +1 -1
  131. package/dist/{vue-ui-strip-plot-CdLa8dCp.js → vue-ui-strip-plot-T99zioSX.js} +12 -12
  132. package/dist/{vue-ui-table-C0a-SgcX.js → vue-ui-table-CCrE_Qnd.js} +1 -1
  133. package/dist/{vue-ui-table-CE-PgrMl.cjs → vue-ui-table-Cva4CGRJ.cjs} +1 -1
  134. package/dist/{vue-ui-table-heatmap-BoI6tise.js → vue-ui-table-heatmap-CQbPKFW_.js} +4 -4
  135. package/dist/{vue-ui-table-heatmap-ycSv15rY.cjs → vue-ui-table-heatmap-GOsIhgPo.cjs} +1 -1
  136. package/dist/{vue-ui-table-sparkline-idKvXcFK.cjs → vue-ui-table-sparkline-AIunqOTn.cjs} +1 -1
  137. package/dist/{vue-ui-table-sparkline-Dxx6025N.js → vue-ui-table-sparkline-CHtZhhn6.js} +5 -5
  138. package/dist/{vue-ui-thermometer-Cx0BYvoa.js → vue-ui-thermometer-CCVPdXye.js} +7 -7
  139. package/dist/{vue-ui-thermometer-Bu1o-YxS.cjs → vue-ui-thermometer-CGAA0bAU.cjs} +1 -1
  140. package/dist/{vue-ui-timer-D_UKwqRG.cjs → vue-ui-timer-C3detaHT.cjs} +1 -1
  141. package/dist/{vue-ui-timer-DkGY_7Z9.js → vue-ui-timer-Djxb8XuU.js} +6 -6
  142. package/dist/{vue-ui-tiremarks-DTm_Xj8_.cjs → vue-ui-tiremarks-D-xQKhur.cjs} +1 -1
  143. package/dist/{vue-ui-tiremarks-CL8yqBs3.js → vue-ui-tiremarks-DExuaGwV.js} +7 -7
  144. package/dist/{vue-ui-treemap-rohF9UGD.cjs → vue-ui-treemap-BXWbdL3o.cjs} +1 -1
  145. package/dist/{vue-ui-treemap-WcZTaeP0.js → vue-ui-treemap-Dnn29Qdu.js} +13 -13
  146. package/dist/{vue-ui-vertical-bar-EJofGF6Z.cjs → vue-ui-vertical-bar-3V-J4-Qp.cjs} +1 -1
  147. package/dist/{vue-ui-vertical-bar-Czmk3lor.js → vue-ui-vertical-bar-B9-cwCz2.js} +13 -13
  148. package/dist/{vue-ui-waffle-Ci5lps_0.js → vue-ui-waffle-BH4NkBmK.js} +13 -13
  149. package/dist/{vue-ui-waffle-C7Lq9EWX.cjs → vue-ui-waffle-by6o3KnD.cjs} +1 -1
  150. package/dist/{vue-ui-wheel-DWSgTz2U.js → vue-ui-wheel-D2BqDvNB.js} +8 -8
  151. package/dist/{vue-ui-wheel-DSUUCTFP.cjs → vue-ui-wheel-DWNHihoO.cjs} +1 -1
  152. package/dist/{vue-ui-word-cloud-IoOiZMCJ.js → vue-ui-word-cloud-Bpyn_t-K.js} +11 -11
  153. package/dist/{vue-ui-word-cloud-pp9BsZMx.cjs → vue-ui-word-cloud-DvXgJCIv.cjs} +1 -1
  154. package/dist/{vue-ui-xy-Bk09XvD1.js → vue-ui-xy-CuLfvdAU.js} +14 -14
  155. package/dist/{vue-ui-xy-canvas-BEWBX2Os.js → vue-ui-xy-canvas-BK3C3PqR.js} +13 -13
  156. package/dist/{vue-ui-xy-canvas-hUlid7hP.cjs → vue-ui-xy-canvas-bysKB96p.cjs} +1 -1
  157. package/dist/{vue-ui-xy-e1xFpXmD.cjs → vue-ui-xy-luOYkYWO.cjs} +1 -1
  158. package/package.json +1 -1
  159. package/dist/index-FtxQWcA1.cjs +0 -9
  160. package/dist/useResponsive-N8jl0-aC.cjs +0 -1
  161. package/dist/useResponsive-vZgZwV-S.js +0 -191
  162. package/dist/vue-ui-donut-Dam0YSMu.cjs +0 -1
  163. package/dist/vue-ui-nested-donuts-C4vK7cf-.cjs +0 -17
@@ -1,27 +1,27 @@
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 de, createBlock as R, createCommentVNode as i, renderSlot as g, createElementVNode as p, createVNode as he, createSlots as je, withCtx as x, normalizeProps as H, guardReactiveProps as E, Fragment as b, renderList as F, mergeProps as We, toDisplayString as C, createTextVNode as He, nextTick as ht } from "vue";
2
- import { u as yt, o as ft, e as Ee, g as pt, c as gt, b as bt, d as qe, p as U, 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-BdV23M_4.js";
3
- import { t as Lt, u as Tt } from "./useResponsive-vZgZwV-S.js";
4
- import { _ as zt } from "./Title-Dr0O3Ohb.js";
5
- import { u as Ot, U as Yt } from "./usePrinter-TFomTfxX.js";
6
- import { D as At } from "./DataTable-D9wdDVT6.js";
7
- import { _ as Nt } from "./Tooltip-C8mLFDBp.js";
8
- import { L as Xt } from "./Legend-BCngKEVr.js";
9
- import It from "./vue-ui-skeleton-CVnkLuNk.js";
10
- import Dt from "./vue-ui-accordion-2_hSAOvX.js";
11
- import { u as Je } from "./useNestedProp-DyW-iWus.js";
12
- import { _ as Mt } from "./PackageVersion-DR6SOSy8.js";
13
- import { P as Bt } from "./PenAndPaper-DxsKkGjV.js";
14
- import { u as Vt } from "./useUserOptionState-BIvW1Kz7.js";
15
- import { _ as Gt } from "./Shape-CcATSdDH.js";
16
- import { u as Rt } from "./useChartAccessibility-BWojgys7.js";
17
- import { _ as Ut } from "./_plugin-vue_export-helper-CHgC5LLL.js";
18
- const jt = ["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"], Rl = ["cx", "cy", "fill", "stroke", "filter", "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 = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], El = { key: 2 }, ql = ["x", "y", "width"], Jl = ["x", "y", "width"], Kl = {
1
+ import { useSlots as ct, computed as w, ref as d, onMounted as dt, onBeforeUnmount as ht, watch as je, createElementBlock as u, openBlock as o, unref as n, normalizeStyle as z, normalizeClass as de, createBlock as R, createCommentVNode as i, renderSlot as g, createElementVNode as p, createVNode as he, createSlots as We, withCtx as x, normalizeProps as H, guardReactiveProps as E, Fragment as b, renderList as F, mergeProps as He, toDisplayString as C, createTextVNode as Ee, nextTick as yt } from "vue";
2
+ import { u as ft, o as pt, e as qe, g as gt, c as bt, b as mt, d as Je, p as U, m as wt, H as kt, f as O, X as _t, s as Z, w as xt, j as $t, I as L, i as A, k as ee, n as k, t as Ct, a as Pt, q as St, r as Ft, x as Lt } from "./index-KdQpiTkm.js";
3
+ import { t as Tt, u as zt } from "./useResponsive-Cw4oZ8sQ.js";
4
+ import { _ as Ot } from "./Title-DMhhB9yN.js";
5
+ import { u as Yt, U as At } from "./usePrinter-BuiF8wZK.js";
6
+ import { D as Nt } from "./DataTable-751-cN2c.js";
7
+ import { _ as Xt } from "./Tooltip-BaPecnnV.js";
8
+ import { L as It } from "./Legend-BG9fLat9.js";
9
+ import Dt from "./vue-ui-skeleton-BhHXiz99.js";
10
+ import Mt from "./vue-ui-accordion-CDTJiQu0.js";
11
+ import { u as Ke } from "./useNestedProp-CO8Pe266.js";
12
+ import { _ as Bt } from "./PackageVersion-SrpgZayt.js";
13
+ import { P as Vt } from "./PenAndPaper-jnD991LP.js";
14
+ import { u as Gt } from "./useUserOptionState-BIvW1Kz7.js";
15
+ import { _ as Rt } from "./Shape-BaijOBYT.js";
16
+ import { u as Ut } from "./useChartAccessibility-BWojgys7.js";
17
+ import { _ as jt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
18
+ const Wt = ["id"], Ht = ["xmlns", "viewBox"], Et = ["width", "height"], qt = { key: 1 }, Jt = ["id"], Kt = ["stop-color"], Qt = ["offset", "stop-color"], Zt = ["offset", "stop-color"], el = ["stop-color"], tl = { key: 2 }, ll = ["id", "cx", "cy"], al = ["stop-color", "stop-opacity"], ol = ["stop-color"], ul = ["id"], sl = ["id"], nl = ["id"], rl = ["flood-color"], il = ["id"], vl = ["flood-color"], cl = ["d", "stroke", "filter"], dl = ["x1", "y1", "x2", "y2", "stroke", "filter"], hl = ["cx", "cy", "r", "fill", "filter"], yl = { key: 6 }, fl = ["stroke", "d"], pl = { key: 0 }, gl = ["d", "fill", "stroke", "stroke-width", "filter"], bl = ["d", "fill", "stroke", "stroke-width", "filter"], ml = { key: 0 }, wl = ["stroke", "d"], kl = { key: 0 }, _l = ["d", "stroke", "stroke-width", "filter"], xl = { key: 1 }, $l = ["d", "fill", "stroke", "stroke-width", "filter"], Cl = ["d", "fill", "stroke", "stroke-width", "filter"], Pl = { key: 1 }, Sl = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Fl = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Ll = ["cx", "cy", "r", "stroke"], Tl = ["cx", "cy", "r", "fill"], zl = { key: 0 }, Ol = ["d", "fill", "onMouseenter", "onClick"], Yl = { key: 1 }, Al = ["cx", "cy", "r", "fill"], Nl = ["x", "y", "fill", "font-size"], Xl = ["x", "y", "fill", "font-size"], Il = ["x", "y", "fill", "font-size"], Dl = ["x", "y", "fill", "font-size"], Ml = ["filter"], Bl = { key: 0 }, Vl = ["x", "y"], Gl = { key: 1 }, Rl = ["cx", "cy", "fill", "stroke", "filter", "onClick"], Ul = ["cx", "cy", "fill", "stroke", "filter", "onClick"], jl = ["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 = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], ql = { key: 2 }, Jl = ["x", "y", "width"], Kl = ["x", "y", "width"], Ql = {
19
19
  key: 5,
20
20
  class: "vue-data-ui-watermark"
21
- }, Ql = ["onClick"], Zl = {
21
+ }, Zl = ["onClick"], ea = {
22
22
  key: 0,
23
23
  style: { "font-variant-numeric": "tabular-nums" }
24
- }, ea = { key: 1 }, ta = ["innerHTML"], la = {
24
+ }, ta = { key: 1 }, la = ["innerHTML"], aa = {
25
25
  __name: "vue-ui-donut",
26
26
  props: {
27
27
  config: {
@@ -38,8 +38,8 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
38
38
  }
39
39
  },
40
40
  emits: ["selectLegend", "selectDatapoint"],
41
- setup(Ke, { expose: Qe, emit: Ze }) {
42
- const { vue_ui_donut: et } = yt(), tt = vt(), N = Ke, q = _({
41
+ setup(Qe, { expose: Ze, emit: et }) {
42
+ const { vue_ui_donut: tt } = ft(), lt = ct(), N = Qe, q = w({
43
43
  get() {
44
44
  return !!N.dataset && N.dataset.length;
45
45
  },
@@ -47,21 +47,21 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
47
47
  return l;
48
48
  }
49
49
  }), J = d(null), ye = d(null), fe = d(null), te = d(null), pe = d(null), ge = d(null), be = d(0), me = d(0), we = d(0);
50
- ct(() => {
50
+ dt(() => {
51
51
  ke();
52
- }), dt(() => {
52
+ }), ht(() => {
53
53
  te.value && te.value.disconnect();
54
54
  });
55
55
  function ke() {
56
- if (ft(N.dataset) ? Ee({
56
+ if (pt(N.dataset) ? qe({
57
57
  componentName: "VueUiDonut",
58
58
  type: "dataset"
59
59
  }) : N.dataset.forEach((l, r) => {
60
- pt({
60
+ gt({
61
61
  datasetObject: l,
62
62
  requiredAttributes: ["name", "values"]
63
63
  }).forEach((t) => {
64
- q.value = !1, Ee({
64
+ q.value = !1, qe({
65
65
  componentName: "VueUiDonut",
66
66
  type: "datasetSerieAttribute",
67
67
  property: t,
@@ -69,13 +69,14 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
69
69
  });
70
70
  });
71
71
  }), e.value.responsive) {
72
- const l = Lt(() => {
73
- const { width: r, height: t } = Tt({
72
+ const l = Tt(() => {
73
+ const { width: r, height: t } = zt({
74
74
  chart: J.value,
75
75
  title: e.value.style.chart.title.text ? ye.value : null,
76
76
  legend: e.value.style.chart.legend.show ? fe.value : null,
77
77
  source: pe.value,
78
- noTitle: ge.value
78
+ noTitle: ge.value,
79
+ padding: Pe.value
79
80
  });
80
81
  requestAnimationFrame(() => {
81
82
  s.value.width = r, s.value.height = t;
@@ -84,32 +85,41 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
84
85
  te.value = new ResizeObserver(l), te.value.observe(J.value.parentNode);
85
86
  }
86
87
  }
87
- const y = d(gt()), lt = d(null), le = d(!1), ue = d(""), P = d(null), _e = d(0);
88
+ const y = d(bt()), at = d(null), le = d(!1), ue = d(""), P = d(null), _e = d(0);
88
89
  function xe() {
89
- const l = Je({
90
+ const l = Ke({
90
91
  userConfig: N.config,
91
- defaultConfig: et
92
+ defaultConfig: tt
92
93
  });
93
94
  return l.theme ? {
94
- ...Je({
95
- userConfig: Ct.vue_ui_donut[l.theme] || N.config,
95
+ ...Ke({
96
+ userConfig: Pt.vue_ui_donut[l.theme] || N.config,
96
97
  defaultConfig: l
97
98
  }),
98
- customPalette: $t[l.theme] || U
99
+ customPalette: Ct[l.theme] || U
99
100
  } : l;
100
101
  }
101
- const e = _({
102
+ const e = w({
102
103
  get: () => xe(),
103
104
  set: (l) => l
104
- }), { userOptionsVisible: se, setUserOptionsVisibility: $e, keepUserOptionState: Ce } = Vt({ config: e.value }), { svgRef: ne } = Rt({ config: e.value.style.chart.title });
105
- Ue(() => N.config, (l) => {
105
+ }), { userOptionsVisible: se, setUserOptionsVisibility: $e, keepUserOptionState: Ce } = Gt({ config: e.value }), { svgRef: ne } = Ut({ config: e.value.style.chart.title });
106
+ je(() => N.config, (l) => {
106
107
  e.value = xe(), se.value = !e.value.userOptions.showOnChartHover, ke(), be.value += 1, me.value += 1, we.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;
107
108
  }, { deep: !0 });
108
- const { isPrinting: Pe, isImaging: Se, generatePdf: Fe, generateImage: Le } = Ot({
109
+ const Pe = w(() => {
110
+ const { top: l, right: r, bottom: t, left: a } = e.value.style.chart.padding;
111
+ return {
112
+ css: `padding:${l}px ${r}px ${t}px ${a}px`,
113
+ top: l,
114
+ right: r,
115
+ bottom: t,
116
+ left: a
117
+ };
118
+ }), { isPrinting: Se, isImaging: Fe, generatePdf: Le, generateImage: Te } = Yt({
109
119
  elementId: `donut__${y.value}`,
110
120
  fileName: e.value.style.chart.title.text || "vue-ui-donut",
111
121
  options: e.value.userOptions.print
112
- }), at = _(() => e.value.userOptions.show && !e.value.style.chart.title.text), Te = _(() => bt(e.value.customPalette)), f = d({
122
+ }), ot = w(() => e.value.userOptions.show && !e.value.style.chart.title.text), ze = w(() => mt(e.value.customPalette)), f = d({
113
123
  dataLabels: {
114
124
  show: e.value.style.chart.layout.labels.dataLabels.show
115
125
  },
@@ -118,61 +128,61 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
118
128
  }), s = d({
119
129
  height: 360,
120
130
  width: 512
121
- }), K = _(() => {
131
+ }), K = w(() => {
122
132
  const l = e.value.style.chart.layout.donut.strokeWidth / 512, r = Math.min(s.value.width, s.value.height) * l, t = r > $.value ? $.value : r;
123
133
  return Math.max(t, 3);
124
- }), ze = Ze, B = _(() => N.dataset.map((l, r) => ({
134
+ }), Oe = et, B = w(() => N.dataset.map((l, r) => ({
125
135
  name: l.name,
126
- color: qe(l.color) || Te.value[r] || U[r] || U[r % U.length],
136
+ color: Je(l.color) || ze.value[r] || U[r] || U[r % U.length],
127
137
  value: l.values.reduce((t, a) => t + a, 0),
128
138
  absoluteValues: l.values,
129
139
  comment: l.comment || "",
130
140
  patternIndex: r
131
141
  }))), T = d(B.value);
132
- Ue(() => B.value, (l) => T.value = l);
133
- function ot() {
142
+ je(() => B.value, (l) => T.value = l);
143
+ function ut() {
134
144
  return B.value.map((l) => ({
135
145
  name: l.name,
136
146
  color: l.color,
137
147
  value: l.value
138
148
  }));
139
149
  }
140
- const X = d([]), Oe = d(null), Ye = d(null), V = d(!1);
141
- function Ae(l) {
150
+ const X = d([]), Ye = d(null), Ae = d(null), V = d(!1);
151
+ function Ne(l) {
142
152
  const r = B.value.find((v, m) => m === l), t = T.value.find((v, m) => m === l);
143
153
  let a = t.value;
144
154
  if (X.value.includes(l)) {
145
155
  let m = function() {
146
- a > v ? (cancelAnimationFrame(Oe.value), T.value = T.value.map((k, ce) => l === ce ? {
147
- ...k,
156
+ a > v ? (cancelAnimationFrame(Ye.value), T.value = T.value.map((_, ce) => l === ce ? {
157
+ ..._,
148
158
  value: v
149
- } : k), V.value = !1) : (V.value = !0, a += v * 0.025, T.value = T.value.map((k, ce) => l === ce ? {
150
- ...k,
159
+ } : _), V.value = !1) : (V.value = !0, a += v * 0.025, T.value = T.value.map((_, ce) => l === ce ? {
160
+ ..._,
151
161
  value: a
152
- } : k), Oe.value = requestAnimationFrame(m));
162
+ } : _), Ye.value = requestAnimationFrame(m));
153
163
  };
154
- X.value = X.value.filter((k) => k !== l);
164
+ X.value = X.value.filter((_) => _ !== l);
155
165
  const v = r.value;
156
166
  m();
157
167
  } else if (X.value.length < B.value.length - 1) {
158
168
  let v = function() {
159
- a < t.value / 100 ? (cancelAnimationFrame(Ye.value), X.value.push(l), T.value = T.value.map((m, k) => l === k ? {
169
+ a < t.value / 100 ? (cancelAnimationFrame(Ae.value), X.value.push(l), T.value = T.value.map((m, _) => l === _ ? {
160
170
  ...m,
161
171
  value: 0
162
- } : m), V.value = !1) : (V.value = !0, a /= 1.1, T.value = T.value.map((m, k) => l === k ? {
172
+ } : m), V.value = !1) : (V.value = !0, a /= 1.1, T.value = T.value.map((m, _) => l === _ ? {
163
173
  ...m,
164
174
  value: a
165
- } : m), Ye.value = requestAnimationFrame(v));
175
+ } : m), Ae.value = requestAnimationFrame(v));
166
176
  };
167
177
  v();
168
178
  }
169
- ze("selectLegend", I.value.map((v) => ({
179
+ Oe("selectLegend", I.value.map((v) => ({
170
180
  name: v.name,
171
181
  color: v.color,
172
182
  value: v.value
173
183
  })));
174
184
  }
175
- const I = _(() => (T.value.forEach((l, r) => {
185
+ const I = w(() => (T.value.forEach((l, r) => {
176
186
  if ([null, void 0].includes(l.values))
177
187
  return {
178
188
  ...l,
@@ -181,9 +191,9 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
181
191
  }), T.value.map((l, r) => ({
182
192
  ...l,
183
193
  seriesIndex: r
184
- })).filter((l, r) => !X.value.includes(r)))), Ne = _(() => N.dataset.map((l, r) => ({
194
+ })).filter((l, r) => !X.value.includes(r)))), Xe = w(() => N.dataset.map((l, r) => ({
185
195
  name: l.name,
186
- color: qe(l.color) || Te.value[r] || U[r] || U[r % U.length],
196
+ color: Je(l.color) || ze.value[r] || U[r] || U[r % U.length],
187
197
  value: (l.values || []).reduce((t, a) => t + a, 0),
188
198
  shape: "circle",
189
199
  patternIndex: r
@@ -191,21 +201,21 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
191
201
  ...l,
192
202
  proportion: l.value / N.dataset.map((t) => (t.values || []).reduce((a, v) => a + v, 0)).reduce((t, a) => t + a, 0),
193
203
  opacity: X.value.includes(r) ? 0.5 : 1,
194
- segregate: () => !V.value && Ae(r),
204
+ segregate: () => !V.value && Ne(r),
195
205
  isSegregated: X.value.includes(r)
196
- }))), ut = _(() => ({
206
+ }))), st = w(() => ({
197
207
  cy: "donut-div-legend",
198
208
  backgroundColor: e.value.style.chart.legend.backgroundColor,
199
209
  color: e.value.style.chart.legend.color,
200
210
  fontSize: e.value.style.chart.legend.fontSize,
201
211
  paddingBottom: 12,
202
212
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
203
- })), $ = _(() => {
213
+ })), $ = w(() => {
204
214
  const l = Math.min(s.value.width / 3, s.value.height / 3);
205
215
  return l < 55 ? 55 : l;
206
- }), h = _(() => mt({ series: I.value }, s.value.width / 2, s.value.height / 2, $.value, $.value, 1.99999, 2, 1, 360, 105.25, K.value)), c = _(() => {
216
+ }), h = w(() => wt({ series: I.value }, s.value.width / 2, s.value.height / 2, $.value, $.value, 1.99999, 2, 1, 360, 105.25, K.value)), c = w(() => {
207
217
  const l = Math.max(...I.value.map((t) => t.value)), r = I.value.map((t) => t.value / l);
208
- return wt({
218
+ return kt({
209
219
  series: r,
210
220
  center: {
211
221
  x: s.value.width / 2,
@@ -217,14 +227,14 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
217
227
  function j(l) {
218
228
  return l.x > s.value.width / 2 + 6 ? "start" : l.x < s.value.width / 2 - 6 ? "end" : "middle";
219
229
  }
220
- function st(l) {
230
+ function nt(l) {
221
231
  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;
222
232
  }
223
233
  function Y(l) {
224
234
  return l.proportion * 100 > e.value.style.chart.layout.labels.dataLabels.hideUnderValue;
225
235
  }
226
236
  function re(l, r) {
227
- const t = l.value / nt(r);
237
+ const t = l.value / rt(r);
228
238
  return isNaN(t) ? 0 : A(
229
239
  e.value.style.chart.layout.labels.percentage.formatter,
230
240
  t * 100,
@@ -236,28 +246,28 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
236
246
  { datapoint: l }
237
247
  );
238
248
  }
239
- function nt(l) {
249
+ function rt(l) {
240
250
  return [...l].map((r) => r.value).reduce((r, t) => r + t, 0);
241
251
  }
242
- const S = _(() => I.value.map((l) => l.value).reduce((l, r) => l + r, 0)), Xe = _(() => S.value / I.value.length), Ie = _(() => (l) => V.value ? l.proportion * 100 : l.value / S.value * 100), ie = d(null), Q = d(!1);
243
- function De({ datapoint: l, relativeIndex: r, seriesIndex: t, show: a = !1 }) {
252
+ const S = w(() => I.value.map((l) => l.value).reduce((l, r) => l + r, 0)), Ie = w(() => S.value / I.value.length), De = w(() => (l) => V.value ? l.proportion * 100 : l.value / S.value * 100), ie = d(null), Q = d(!1);
253
+ function Me({ datapoint: l, relativeIndex: r, seriesIndex: t, show: a = !1 }) {
244
254
  ie.value = { datapoint: l, seriesIndex: t, config: e.value, series: B.value }, le.value = a, P.value = r;
245
255
  let v = "";
246
256
  const m = e.value.style.chart.tooltip.customFormat;
247
- if (Q.value = !1, Ft(m))
257
+ if (Q.value = !1, Lt(m))
248
258
  try {
249
- const k = m({
259
+ const _ = m({
250
260
  seriesIndex: t,
251
261
  datapoint: l,
252
262
  series: B.value,
253
263
  config: e.value
254
264
  });
255
- typeof k == "string" && (ue.value = k, Q.value = !0);
265
+ typeof _ == "string" && (ue.value = _, Q.value = !0);
256
266
  } catch {
257
267
  console.warn("Custom format cannot be applied."), Q.value = !1;
258
268
  }
259
269
  if (!Q.value) {
260
- if (v += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${l.name}</div>`, v += `<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="${l.color}"/>${tt.pattern ? `<circle cx="30" cy="30" r="30" stroke="none" fill="url(#pattern_${y.value}_${t})"/>` : ""}</svg>`, e.value.style.chart.tooltip.showValue && (v += `<b>${A(
270
+ if (v += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${l.name}</div>`, v += `<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="${l.color}"/>${lt.pattern ? `<circle cx="30" cy="30" r="30" stroke="none" fill="url(#pattern_${y.value}_${t})"/>` : ""}</svg>`, e.value.style.chart.tooltip.showValue && (v += `<b>${A(
261
271
  e.value.style.chart.layout.labels.value.formatter,
262
272
  l.value,
263
273
  O({
@@ -272,7 +282,7 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
272
282
  seriesIndex: t
273
283
  }
274
284
  )}</b>`), e.value.style.chart.tooltip.showPercentage) {
275
- const k = A(
285
+ const _ = A(
276
286
  e.value.style.chart.layout.labels.percentage.formatter,
277
287
  l.proportion * 100,
278
288
  O({
@@ -286,7 +296,7 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
286
296
  seriesIndex: t
287
297
  }
288
298
  );
289
- e.value.style.chart.tooltip.showValue ? v += `<span>(${k})</span></div>` : v += `<b>${k}</b></div>`;
299
+ e.value.style.chart.tooltip.showValue ? v += `<span>(${_})</span></div>` : v += `<b>${_}</b></div>`;
290
300
  }
291
301
  e.value.style.chart.comments.showInTooltip && l.comment && (v += `<div class="vue-data-ui-tooltip-comment" style="background:${l.color}20; padding: 6px; margin-bottom: 6px; margin-top:6px; border-left: 1px solid ${l.color}">${l.comment}</div>`), ue.value = `<div>${v}</div>`;
292
302
  }
@@ -294,22 +304,22 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
294
304
  function G(l) {
295
305
  return e.value.useBlurOnHover && ![null, void 0].includes(P.value) && P.value !== l ? `url(#blur_${y.value})` : "";
296
306
  }
297
- const D = _(() => {
307
+ const D = w(() => {
298
308
  const l = I.value.map((t) => ({
299
309
  name: t.name,
300
310
  color: t.color
301
311
  })), r = I.value.map((t) => t.value);
302
312
  return { head: l, body: r };
303
313
  });
304
- function Me() {
305
- ht(() => {
314
+ function Be() {
315
+ yt(() => {
306
316
  const l = D.value.head.map((a, v) => [[
307
317
  a.name
308
- ], [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);
309
- St({ csvContent: t, title: e.value.style.chart.title.text || "vue-ui-donut" });
318
+ ], [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 = St(r);
319
+ Ft({ csvContent: t, title: e.value.style.chart.title.text || "vue-ui-donut" });
310
320
  });
311
321
  }
312
- const ae = _(() => {
322
+ const ae = w(() => {
313
323
  const l = [
314
324
  ' <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>',
315
325
  O({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: S.value, s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue }),
@@ -345,37 +355,37 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
345
355
  config: t
346
356
  };
347
357
  }), W = d(!1);
348
- function rt(l) {
358
+ function it(l) {
349
359
  W.value = l, _e.value += 1;
350
360
  }
351
- const Be = _(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent));
352
- function it(l) {
361
+ const Ve = w(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent));
362
+ function vt(l) {
353
363
  return l.toFixed(e.value.style.chart.legend.roundingPercentage).split("").map((r) => "-").join("");
354
364
  }
355
365
  function M(l, r) {
356
- ze("selectDatapoint", { datapoint: l, index: r });
366
+ Oe("selectDatapoint", { datapoint: l, index: r });
357
367
  }
358
- function Ve() {
368
+ function Ge() {
359
369
  f.value.showTable = !f.value.showTable;
360
370
  }
361
- function Ge() {
371
+ function Re() {
362
372
  f.value.dataLabels.show = !f.value.dataLabels.show;
363
373
  }
364
- function Re() {
374
+ function Ue() {
365
375
  f.value.showTooltip = !f.value.showTooltip;
366
376
  }
367
377
  const oe = d(!1);
368
378
  function ve() {
369
379
  oe.value = !oe.value;
370
380
  }
371
- return Qe({
372
- getData: ot,
373
- generatePdf: Fe,
374
- generateCsv: Me,
375
- generateImage: Le,
376
- toggleTable: Ve,
377
- toggleLabels: Ge,
378
- toggleTooltip: Re,
381
+ return Ze({
382
+ getData: ut,
383
+ generatePdf: Le,
384
+ generateCsv: Be,
385
+ generateImage: Te,
386
+ toggleTable: Ge,
387
+ toggleLabels: Re,
388
+ toggleTooltip: Ue,
379
389
  toggleAnnotator: ve
380
390
  }), (l, r) => (o(), u("div", {
381
391
  ref_key: "donutChart",
@@ -386,7 +396,7 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
386
396
  onMouseenter: r[6] || (r[6] = () => n($e)(!0)),
387
397
  onMouseleave: r[7] || (r[7] = () => n($e)(!1))
388
398
  }, [
389
- e.value.userOptions.buttons.annotator && n(ne) ? (o(), R(Bt, {
399
+ e.value.userOptions.buttons.annotator && n(ne) ? (o(), R(Vt, {
390
400
  key: 0,
391
401
  color: e.value.style.chart.color,
392
402
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -395,7 +405,7 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
395
405
  onClose: ve
396
406
  }, null, 8, ["color", "backgroundColor", "active", "svgRef"])) : i("", !0),
397
407
  g(l.$slots, "userConfig", {}, void 0, !0),
398
- at.value ? (o(), u("div", {
408
+ ot.value ? (o(), u("div", {
399
409
  key: 1,
400
410
  ref_key: "noTitle",
401
411
  ref: ge,
@@ -408,7 +418,7 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
408
418
  ref: ye,
409
419
  style: "width:100%;background:transparent;padding-bottom:24px"
410
420
  }, [
411
- (o(), R(zt, {
421
+ (o(), R(Ot, {
412
422
  key: `title_${be.value}`,
413
423
  config: {
414
424
  title: {
@@ -422,14 +432,14 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
422
432
  }
423
433
  }, null, 8, ["config"]))
424
434
  ], 512)) : i("", !0),
425
- e.value.userOptions.show && q.value && (n(Ce) || n(se)) ? (o(), R(Yt, {
435
+ e.value.userOptions.show && q.value && (n(Ce) || n(se)) ? (o(), R(At, {
426
436
  ref_key: "details",
427
- ref: lt,
437
+ ref: at,
428
438
  key: `user_option_${_e.value}`,
429
439
  backgroundColor: e.value.style.chart.backgroundColor,
430
440
  color: e.value.style.chart.color,
431
- isPrinting: n(Pe),
432
- isImaging: n(Se),
441
+ isPrinting: n(Se),
442
+ isImaging: n(Fe),
433
443
  uid: y.value,
434
444
  hasTooltip: e.value.style.chart.tooltip.show && e.value.userOptions.buttons.tooltip,
435
445
  hasPdf: e.value.userOptions.buttons.pdf,
@@ -445,18 +455,18 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
445
455
  titles: { ...e.value.userOptions.buttonTitles },
446
456
  hasAnnotator: e.value.userOptions.buttons.annotator,
447
457
  isAnnotation: oe.value,
448
- onToggleFullscreen: rt,
449
- onGeneratePdf: n(Fe),
450
- onGenerateCsv: Me,
451
- onGenerateImage: n(Le),
452
- onToggleTable: Ve,
453
- onToggleLabels: Ge,
454
- onToggleTooltip: Re,
458
+ onToggleFullscreen: it,
459
+ onGeneratePdf: n(Le),
460
+ onGenerateCsv: Be,
461
+ onGenerateImage: n(Te),
462
+ onToggleTable: Ge,
463
+ onToggleLabels: Re,
464
+ onToggleTooltip: Ue,
455
465
  onToggleAnnotator: ve,
456
466
  style: z({
457
467
  visibility: n(Ce) ? n(se) ? "visible" : "hidden" : "visible"
458
468
  })
459
- }, je({ _: 2 }, [
469
+ }, We({ _: 2 }, [
460
470
  l.$slots.menuIcon ? {
461
471
  name: "menuIcon",
462
472
  fn: x(({ isOpen: t, color: a }) => [
@@ -525,12 +535,12 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
525
535
  key: 4,
526
536
  ref_key: "svgRef",
527
537
  ref: ne,
528
- xmlns: n(kt),
538
+ xmlns: n(_t),
529
539
  class: de({ "vue-data-ui-fullscreen--on": W.value, "vue-data-ui-fulscreen--off": !W.value }),
530
540
  viewBox: `0 0 ${s.value.width <= 0 ? 10 : s.value.width} ${s.value.height <= 0 ? 10 : s.value.height}`,
531
- style: z(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
541
+ style: z(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color};${Pe.value.css}`)
532
542
  }, [
533
- he(Mt),
543
+ he(Bt),
534
544
  l.$slots["chart-background"] ? (o(), u("foreignObject", {
535
545
  key: 0,
536
546
  x: 0,
@@ -542,8 +552,8 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
542
552
  }
543
553
  }, [
544
554
  g(l.$slots, "chart-background", {}, void 0, !0)
545
- ], 8, Ht)) : i("", !0),
546
- e.value.type === "classic" ? (o(), u("defs", Et, [
555
+ ], 8, Et)) : i("", !0),
556
+ e.value.type === "classic" ? (o(), u("defs", qt, [
547
557
  e.value.style.chart.useGradient ? (o(), u("radialGradient", {
548
558
  key: 0,
549
559
  id: `gradient_${y.value}`
@@ -552,24 +562,24 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
552
562
  offset: "0%",
553
563
  "stop-color": n(Z)(e.value.style.chart.backgroundColor, 0),
554
564
  "stop-opacity": "0"
555
- }, null, 8, Jt),
565
+ }, null, 8, Kt),
556
566
  p("stop", {
557
567
  offset: `${(1 - K.value / $.value) * 100}%`,
558
568
  "stop-color": n(Z)("#FFFFFF", 0),
559
569
  "stop-opacity": "0"
560
- }, null, 8, Kt),
570
+ }, null, 8, Qt),
561
571
  p("stop", {
562
572
  offset: `${(1 - K.value / $.value / 2) * 100}%`,
563
573
  "stop-color": n(Z)("#FFFFFF", e.value.style.chart.gradientIntensity)
564
- }, null, 8, Qt),
574
+ }, null, 8, Zt),
565
575
  p("stop", {
566
576
  offset: "100%",
567
577
  "stop-color": n(Z)(e.value.style.chart.backgroundColor, 0),
568
578
  "stop-opacity": "0"
569
- }, null, 8, Zt)
570
- ], 8, qt)) : i("", !0)
579
+ }, null, 8, el)
580
+ ], 8, Jt)) : i("", !0)
571
581
  ])) : i("", !0),
572
- e.value.type === "polar" ? (o(), u("defs", el, [
582
+ e.value.type === "polar" ? (o(), u("defs", tl, [
573
583
  (o(!0), u(b, null, F(c.value, (t, a) => (o(), u("radialGradient", {
574
584
  id: `polar_gradient_${a}_${y.value}`,
575
585
  cx: t.middlePoint.x / s.value.width * 100 + "%",
@@ -578,14 +588,14 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
578
588
  }, [
579
589
  p("stop", {
580
590
  offset: "0%",
581
- "stop-color": n(_t)(h.value[a].color, 0.05),
591
+ "stop-color": n(xt)(h.value[a].color, 0.05),
582
592
  "stop-opacity": e.value.style.chart.gradientIntensity / 100
583
- }, null, 8, ll),
593
+ }, null, 8, al),
584
594
  p("stop", {
585
595
  offset: "100%",
586
596
  "stop-color": h.value[a].color
587
- }, null, 8, al)
588
- ], 8, tl))), 256))
597
+ }, null, 8, ol)
598
+ ], 8, ll))), 256))
589
599
  ])) : i("", !0),
590
600
  p("defs", null, [
591
601
  p("filter", {
@@ -599,12 +609,12 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
599
609
  in: "SourceGraphic",
600
610
  stdDeviation: 2,
601
611
  id: `blur_std_${y.value}`
602
- }, null, 8, ul),
612
+ }, null, 8, sl),
603
613
  r[8] || (r[8] = p("feColorMatrix", {
604
614
  type: "saturate",
605
615
  values: "0"
606
616
  }, null, -1))
607
- ], 8, ol),
617
+ ], 8, ul),
608
618
  p("filter", {
609
619
  id: `shadow_${y.value}`,
610
620
  "color-interpolation-filters": "sRGB"
@@ -615,8 +625,8 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
615
625
  stdDeviation: "10",
616
626
  "flood-opacity": "0.5",
617
627
  "flood-color": e.value.style.chart.layout.donut.shadowColor
618
- }, null, 8, nl)
619
- ], 8, sl),
628
+ }, null, 8, rl)
629
+ ], 8, nl),
620
630
  p("filter", {
621
631
  id: `drop_shadow_${y.value}`,
622
632
  "color-interpolation-filters": "sRGB",
@@ -631,20 +641,20 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
631
641
  stdDeviation: "3",
632
642
  "flood-opacity": "1",
633
643
  "flood-color": e.value.style.chart.layout.donut.shadowColor
634
- }, null, 8, il)
635
- ], 8, rl)
644
+ }, null, 8, vl)
645
+ ], 8, il)
636
646
  ]),
637
647
  e.value.type === "classic" ? (o(!0), u(b, { key: 3 }, F(h.value, (t, a) => (o(), u("g", null, [
638
648
  Y(t) && f.value.dataLabels.show ? (o(), u("path", {
639
649
  key: 0,
640
- d: n(xt)(t, { x: s.value.width / 2, y: s.value.height / 2 }, 16, 16, !1, !1, K.value, 12, e.value.style.chart.layout.curvedMarkers),
650
+ d: n($t)(t, { x: s.value.width / 2, y: s.value.height / 2 }, 16, 16, !1, !1, K.value, 12, e.value.style.chart.layout.curvedMarkers),
641
651
  stroke: t.color,
642
652
  "stroke-width": "1",
643
653
  "stroke-linecap": "round",
644
654
  "stroke-linejoin": "round",
645
655
  fill: "none",
646
656
  filter: G(a)
647
- }, null, 8, vl)) : i("", !0)
657
+ }, null, 8, cl)) : i("", !0)
648
658
  ]))), 256)) : i("", !0),
649
659
  e.value.type === "polar" ? (o(!0), u(b, { key: 4 }, F(h.value, (t, a) => (o(), u("g", null, [
650
660
  Y(t) && f.value.dataLabels.show ? (o(), u("line", {
@@ -659,7 +669,7 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
659
669
  "stroke-linejoin": "round",
660
670
  fill: "none",
661
671
  filter: G(a)
662
- }, null, 8, cl)) : i("", !0)
672
+ }, null, 8, dl)) : i("", !0)
663
673
  ]))), 256)) : i("", !0),
664
674
  e.value.type === "classic" && e.value.style.chart.layout.donut.useShadow ? (o(), u("circle", {
665
675
  key: 5,
@@ -668,10 +678,10 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
668
678
  r: $.value <= 0 ? 10 : $.value,
669
679
  fill: e.value.style.chart.backgroundColor,
670
680
  filter: `url(#shadow_${y.value})`
671
- }, null, 8, dl)) : i("", !0),
672
- l.$slots.pattern ? (o(), u("g", hl, [
681
+ }, null, 8, hl)) : i("", !0),
682
+ l.$slots.pattern ? (o(), u("g", yl, [
673
683
  (o(!0), u(b, null, F(h.value, (t, a) => (o(), u("defs", null, [
674
- g(l.$slots, "pattern", We({ ref_for: !0 }, { ...t, patternId: `pattern_${y.value}_${t.patternIndex}` }), void 0, !0)
684
+ g(l.$slots, "pattern", He({ ref_for: !0 }, { ...t, patternId: `pattern_${y.value}_${t.patternIndex}` }), void 0, !0)
675
685
  ]))), 256))
676
686
  ])) : i("", !0),
677
687
  S.value && e.value.type === "classic" ? (o(), u(b, { key: 7 }, [
@@ -679,8 +689,8 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
679
689
  stroke: e.value.style.chart.backgroundColor,
680
690
  d: t.arcSlice,
681
691
  fill: "#FFFFFF"
682
- }, null, 8, yl))), 256)),
683
- l.$slots.pattern ? (o(), u("g", fl, [
692
+ }, null, 8, fl))), 256)),
693
+ l.$slots.pattern ? (o(), u("g", pl, [
684
694
  (o(!0), u(b, null, F(h.value, (t, a) => (o(), u("path", {
685
695
  class: "vue-ui-donut-arc-path",
686
696
  d: t.arcSlice,
@@ -688,7 +698,7 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
688
698
  stroke: e.value.style.chart.backgroundColor,
689
699
  "stroke-width": e.value.style.chart.layout.donut.borderWidth,
690
700
  filter: G(a)
691
- }, null, 8, pl))), 256))
701
+ }, null, 8, gl))), 256))
692
702
  ])) : i("", !0),
693
703
  (o(!0), u(b, null, F(h.value, (t, a) => (o(), u("path", {
694
704
  class: "vue-ui-donut-arc-path",
@@ -697,16 +707,16 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
697
707
  stroke: e.value.style.chart.backgroundColor,
698
708
  "stroke-width": e.value.style.chart.layout.donut.borderWidth,
699
709
  filter: G(a)
700
- }, null, 8, gl))), 256))
710
+ }, null, 8, bl))), 256))
701
711
  ], 64)) : i("", !0),
702
712
  S.value && e.value.type === "polar" ? (o(), u(b, { key: 8 }, [
703
- h.value.length > 1 ? (o(), u("g", bl, [
713
+ h.value.length > 1 ? (o(), u("g", ml, [
704
714
  (o(!0), u(b, null, F(h.value, (t, a) => (o(), u("path", {
705
715
  stroke: e.value.style.chart.backgroundColor,
706
716
  d: c.value[a].path,
707
717
  fill: "#FFFFFF"
708
- }, null, 8, ml))), 256)),
709
- e.value.style.chart.layout.donut.useShadow ? (o(), u("g", wl, [
718
+ }, null, 8, wl))), 256)),
719
+ e.value.style.chart.layout.donut.useShadow ? (o(), u("g", kl, [
710
720
  (o(!0), u(b, null, F(h.value, (t, a) => (o(), u("path", {
711
721
  class: "vue-ui-donut-arc-path",
712
722
  d: c.value[a].path,
@@ -714,9 +724,9 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
714
724
  stroke: e.value.style.chart.backgroundColor,
715
725
  "stroke-width": e.value.style.chart.layout.donut.borderWidth,
716
726
  filter: `url(#drop_shadow_${y.value})`
717
- }, null, 8, kl))), 256))
727
+ }, null, 8, _l))), 256))
718
728
  ])) : i("", !0),
719
- l.$slots.pattern ? (o(), u("g", _l, [
729
+ l.$slots.pattern ? (o(), u("g", xl, [
720
730
  (o(!0), u(b, null, F(h.value, (t, a) => (o(), u("path", {
721
731
  class: "vue-ui-donut-arc-path",
722
732
  d: c.value[a].path,
@@ -724,7 +734,7 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
724
734
  stroke: e.value.style.chart.backgroundColor,
725
735
  "stroke-width": e.value.style.chart.layout.donut.borderWidth,
726
736
  filter: G(a)
727
- }, null, 8, xl))), 256))
737
+ }, null, 8, $l))), 256))
728
738
  ])) : i("", !0),
729
739
  (o(!0), u(b, null, F(h.value, (t, a) => (o(), u("path", {
730
740
  class: "vue-ui-donut-arc-path",
@@ -733,8 +743,8 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
733
743
  stroke: e.value.style.chart.backgroundColor,
734
744
  "stroke-width": e.value.style.chart.layout.donut.borderWidth,
735
745
  filter: G(a)
736
- }, null, 8, $l))), 256))
737
- ])) : (o(), u("g", Cl, [
746
+ }, null, 8, Cl))), 256))
747
+ ])) : (o(), u("g", Pl, [
738
748
  l.$slots.pattern ? (o(), u("circle", {
739
749
  key: 0,
740
750
  cx: s.value.width / 2,
@@ -743,7 +753,7 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
743
753
  fill: `url(#pattern_${y.value}_${h.value[0].patternIndex})`,
744
754
  stroke: e.value.style.chart.backgroundColor,
745
755
  "stroke-width": e.value.style.chart.layout.donut.borderWidth
746
- }, null, 8, Pl)) : i("", !0),
756
+ }, null, 8, Sl)) : i("", !0),
747
757
  p("circle", {
748
758
  cx: s.value.width / 2,
749
759
  cy: s.value.height / 2,
@@ -751,7 +761,7 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
751
761
  fill: e.value.style.chart.useGradient ? `url(#polar_gradient_0_${y.value})` : h.value[0].color,
752
762
  stroke: e.value.style.chart.backgroundColor,
753
763
  "stroke-width": e.value.style.chart.layout.donut.borderWidth
754
- }, null, 8, Sl)
764
+ }, null, 8, Fl)
755
765
  ]))
756
766
  ], 64)) : (o(), u("circle", {
757
767
  key: 9,
@@ -760,7 +770,7 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
760
770
  r: $.value <= 0 ? 10 : $.value,
761
771
  fill: "transparent",
762
772
  stroke: e.value.style.chart.backgroundColor
763
- }, null, 8, Fl)),
773
+ }, null, 8, Ll)),
764
774
  e.value.style.chart.useGradient && e.value.type === "classic" ? (o(), u("circle", {
765
775
  key: 10,
766
776
  cx: s.value.width / 2,
@@ -770,13 +780,13 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
770
780
  $.value <= 0 ? 10 : $.value
771
781
  ),
772
782
  fill: `url(#gradient_${y.value})`
773
- }, null, 8, Ll)) : i("", !0),
783
+ }, null, 8, Tl)) : i("", !0),
774
784
  S.value ? (o(), u(b, { key: 11 }, [
775
- h.value.length > 1 || e.value.type === "classic" ? (o(), u("g", Tl, [
785
+ h.value.length > 1 || e.value.type === "classic" ? (o(), u("g", zl, [
776
786
  (o(!0), u(b, null, F(h.value, (t, a) => (o(), u("path", {
777
787
  d: e.value.type === "classic" ? t.arcSlice : c.value[a].path,
778
788
  fill: P.value === a ? "rgba(0,0,0,0.1)" : "transparent",
779
- onMouseenter: (v) => De({
789
+ onMouseenter: (v) => Me({
780
790
  datapoint: t,
781
791
  relativeIndex: a,
782
792
  seriesIndex: t.seriesIndex,
@@ -786,14 +796,14 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
786
796
  le.value = !1, P.value = null;
787
797
  }),
788
798
  onClick: (v) => M(t, a)
789
- }, null, 40, zl))), 256))
790
- ])) : (o(), u("g", Ol, [
799
+ }, null, 40, Ol))), 256))
800
+ ])) : (o(), u("g", Yl, [
791
801
  p("circle", {
792
802
  cx: s.value.width / 2,
793
803
  cy: s.value.height / 2,
794
804
  r: $.value,
795
805
  fill: P.value === l.i ? "rgba(0,0,0,0.1)" : "transparent",
796
- onMouseenter: r[1] || (r[1] = (t) => De({
806
+ onMouseenter: r[1] || (r[1] = (t) => Me({
797
807
  datapoint: h.value[0],
798
808
  relativeIndex: 0,
799
809
  seriesIndex: h.value[0].seriesIndex,
@@ -803,7 +813,7 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
803
813
  le.value = !1, P.value = null;
804
814
  }),
805
815
  onClick: r[3] || (r[3] = (t) => M(h.value[0], l.i))
806
- }, null, 40, Yl)
816
+ }, null, 40, Al)
807
817
  ]))
808
818
  ], 64)) : i("", !0),
809
819
  e.value.type === "classic" ? (o(), u(b, { key: 12 }, [
@@ -815,7 +825,7 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
815
825
  fill: e.value.style.chart.layout.labels.hollow.total.color,
816
826
  "font-size": e.value.style.chart.layout.labels.hollow.total.fontSize,
817
827
  style: z(`font-weight:${e.value.style.chart.layout.labels.hollow.total.bold ? "bold" : ""}`)
818
- }, C(e.value.style.chart.layout.labels.hollow.total.text), 13, Al)) : i("", !0),
828
+ }, C(e.value.style.chart.layout.labels.hollow.total.text), 13, Nl)) : i("", !0),
819
829
  e.value.style.chart.layout.labels.hollow.total.show ? (o(), u("text", {
820
830
  key: 1,
821
831
  "text-anchor": "middle",
@@ -832,7 +842,7 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
832
842
  v: S.value,
833
843
  s: e.value.style.chart.layout.labels.hollow.total.value.suffix
834
844
  })
835
- )), 13, Nl)) : i("", !0),
845
+ )), 13, Xl)) : i("", !0),
836
846
  e.value.style.chart.layout.labels.hollow.average.show ? (o(), u("text", {
837
847
  key: 2,
838
848
  "text-anchor": "middle",
@@ -841,7 +851,7 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
841
851
  fill: e.value.style.chart.layout.labels.hollow.average.color,
842
852
  "font-size": e.value.style.chart.layout.labels.hollow.average.fontSize,
843
853
  style: z(`font-weight:${e.value.style.chart.layout.labels.hollow.average.bold ? "bold" : ""}`)
844
- }, C(e.value.style.chart.layout.labels.hollow.average.text), 13, Xl)) : i("", !0),
854
+ }, C(e.value.style.chart.layout.labels.hollow.average.text), 13, Il)) : i("", !0),
845
855
  e.value.style.chart.layout.labels.hollow.average.show ? (o(), u("text", {
846
856
  key: 3,
847
857
  "text-anchor": "middle",
@@ -852,44 +862,44 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
852
862
  style: z(`font-weight:${e.value.style.chart.layout.labels.hollow.average.value.bold ? "bold" : ""}`)
853
863
  }, C(V.value ? "--" : n(A)(
854
864
  e.value.style.chart.layout.labels.hollow.average.value.formatter,
855
- Xe.value,
865
+ Ie.value,
856
866
  n(O)({
857
867
  p: e.value.style.chart.layout.labels.hollow.average.value.prefix,
858
- v: Xe.value,
868
+ v: Ie.value,
859
869
  s: e.value.style.chart.layout.labels.hollow.average.value.suffix,
860
870
  r: e.value.style.chart.layout.labels.hollow.average.value.rounding
861
871
  })
862
- )), 13, Il)) : i("", !0)
872
+ )), 13, Dl)) : i("", !0)
863
873
  ], 64)) : i("", !0),
864
874
  (o(!0), u(b, null, F(h.value, (t, a) => (o(), u("g", {
865
875
  filter: G(a),
866
876
  class: de({ animated: e.value.useCssAnimation })
867
877
  }, [
868
- e.value.style.chart.layout.labels.dataLabels.useLabelSlots ? (o(), u("g", Ml, [
878
+ e.value.style.chart.layout.labels.dataLabels.useLabelSlots ? (o(), u("g", Bl, [
869
879
  (o(), u("foreignObject", {
870
- 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,
871
- y: n(ee)(t) - (Be.value ? 20 : 0),
880
+ x: n(k)(t, !0).anchor === "end" ? n(k)(t).x - 120 : n(k)(t, !0).anchor === "middle" ? n(k)(t).x - 60 : n(k)(t).x,
881
+ y: n(ee)(t) - (Ve.value ? 20 : 0),
872
882
  width: "120",
873
883
  height: "60",
874
884
  style: { overflow: "visible" }
875
885
  }, [
876
886
  p("div", null, [
877
- g(l.$slots, "dataLabel", We({ ref_for: !0 }, {
887
+ g(l.$slots, "dataLabel", He({ ref_for: !0 }, {
878
888
  datapoint: t,
879
889
  isBlur: !e.value.useBlurOnHover || [null, void 0].includes(P.value) || P.value === a,
880
- isSafari: Be.value,
890
+ isSafari: Ve.value,
881
891
  isVisible: Y(t) && f.value.dataLabels.show,
882
- textAlign: n(w)(t, !0, 16, !0).anchor,
883
- flexAlign: n(w)(t, !0, 16).anchor,
892
+ textAlign: n(k)(t, !0, 16, !0).anchor,
893
+ flexAlign: n(k)(t, !0, 16).anchor,
884
894
  percentage: re(t, h.value)
885
895
  }), void 0, !0)
886
896
  ])
887
- ], 8, Bl))
888
- ])) : (o(), u("g", Vl, [
897
+ ], 8, Vl))
898
+ ])) : (o(), u("g", Gl, [
889
899
  e.value.type === "classic" ? (o(), u(b, { key: 0 }, [
890
900
  Y(t) && f.value.dataLabels.show ? (o(), u("circle", {
891
901
  key: 0,
892
- cx: n(w)(t).x,
902
+ cx: n(k)(t).x,
893
903
  cy: n(ee)(t) - 3.5,
894
904
  fill: t.color,
895
905
  stroke: e.value.style.chart.backgroundColor,
@@ -897,7 +907,7 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
897
907
  r: 3,
898
908
  filter: !e.value.useBlurOnHover || [null, void 0].includes(P.value) || P.value === a ? "" : `url(#blur_${y.value})`,
899
909
  onClick: (v) => M(t, a)
900
- }, null, 8, Gl)) : i("", !0)
910
+ }, null, 8, Rl)) : i("", !0)
901
911
  ], 64)) : i("", !0),
902
912
  e.value.type === "polar" ? (o(), u(b, { key: 1 }, [
903
913
  Y(t) && f.value.dataLabels.show ? (o(), u("circle", {
@@ -910,13 +920,13 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
910
920
  r: 3,
911
921
  filter: !e.value.useBlurOnHover || [null, void 0].includes(P.value) || P.value === a ? "" : `url(#blur_${y.value})`,
912
922
  onClick: (v) => M(t, a)
913
- }, null, 8, Rl)) : i("", !0)
923
+ }, null, 8, Ul)) : i("", !0)
914
924
  ], 64)) : i("", !0),
915
925
  e.value.type === "classic" ? (o(), u(b, { key: 2 }, [
916
926
  Y(t) && f.value.dataLabels.show ? (o(), u("text", {
917
927
  key: 0,
918
- "text-anchor": n(w)(t, !0, 12).anchor,
919
- x: n(w)(t, !0, 12).x,
928
+ "text-anchor": n(k)(t, !0, 12).anchor,
929
+ x: n(k)(t, !0, 12).x,
920
930
  y: n(ee)(t),
921
931
  fill: e.value.style.chart.layout.labels.percentage.color,
922
932
  "font-size": e.value.style.chart.layout.labels.percentage.fontSize,
@@ -932,17 +942,17 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
932
942
  r: e.value.style.chart.layout.labels.value.rounding
933
943
  }),
934
944
  { datapoint: t }
935
- )})` : ""), 13, Ul)) : i("", !0),
945
+ )})` : ""), 13, jl)) : i("", !0),
936
946
  Y(t) && f.value.dataLabels.show ? (o(), u("text", {
937
947
  key: 1,
938
- "text-anchor": n(w)(t).anchor,
939
- x: n(w)(t, !0, 12).x,
948
+ "text-anchor": n(k)(t).anchor,
949
+ x: n(k)(t, !0, 12).x,
940
950
  y: n(ee)(t) + e.value.style.chart.layout.labels.percentage.fontSize,
941
951
  fill: e.value.style.chart.layout.labels.name.color,
942
952
  "font-size": e.value.style.chart.layout.labels.name.fontSize,
943
953
  style: z(`font-weight:${e.value.style.chart.layout.labels.name.bold ? "bold" : ""}`),
944
954
  onClick: (v) => M(t, a)
945
- }, C(t.name), 13, jl)) : i("", !0)
955
+ }, C(t.name), 13, Wl)) : i("", !0)
946
956
  ], 64)) : i("", !0),
947
957
  e.value.type === "polar" ? (o(), u(b, { key: 3 }, [
948
958
  Y(t) && f.value.dataLabels.show ? (o(), u("text", {
@@ -964,7 +974,7 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
964
974
  r: e.value.style.chart.layout.labels.value.rounding
965
975
  }),
966
976
  { datapoint: t }
967
- )})` : ""), 13, Wl)) : i("", !0),
977
+ )})` : ""), 13, Hl)) : i("", !0),
968
978
  Y(t) && f.value.dataLabels.show ? (o(), u("text", {
969
979
  key: 1,
970
980
  "text-anchor": j(c.value[a].middlePoint),
@@ -974,13 +984,13 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
974
984
  "font-size": e.value.style.chart.layout.labels.name.fontSize,
975
985
  style: z(`font-weight:${e.value.style.chart.layout.labels.name.bold ? "bold" : ""}`),
976
986
  onClick: (v) => M(t, a)
977
- }, C(t.name), 13, Hl)) : i("", !0)
987
+ }, C(t.name), 13, El)) : i("", !0)
978
988
  ], 64)) : i("", !0)
979
989
  ])),
980
- f.value.dataLabels.show && e.value.style.chart.comments.show && t.comment ? (o(), u("g", El, [
990
+ f.value.dataLabels.show && e.value.style.chart.comments.show && t.comment ? (o(), u("g", ql, [
981
991
  Y(t) && e.value.type === "classic" ? (o(), u("foreignObject", {
982
992
  key: 0,
983
- 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),
993
+ x: e.value.style.chart.comments.offsetX + (n(k)(t, !0).anchor === "end" ? n(k)(t).x - e.value.style.chart.comments.width : n(k)(t, !0).anchor === "middle" ? n(k)(t).x - e.value.style.chart.comments.width / 2 : n(k)(t).x),
984
994
  y: n(ee)(t) + 24 + e.value.style.chart.comments.offsetY,
985
995
  width: e.value.style.chart.comments.width,
986
996
  height: "200",
@@ -988,14 +998,14 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
988
998
  }, [
989
999
  p("div", null, [
990
1000
  g(l.$slots, "plot-comment", {
991
- plot: { ...t, textAlign: n(w)(t, !0, 16, !0).anchor, flexAlign: n(w)(t, !0, 16).anchor }
1001
+ plot: { ...t, textAlign: n(k)(t, !0, 16, !0).anchor, flexAlign: n(k)(t, !0, 16).anchor }
992
1002
  }, void 0, !0)
993
1003
  ])
994
- ], 8, ql)) : i("", !0),
1004
+ ], 8, Jl)) : i("", !0),
995
1005
  Y(t) && e.value.type === "polar" ? (o(), u("foreignObject", {
996
1006
  key: 1,
997
1007
  x: e.value.style.chart.comments.offsetX + (j(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 : j(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),
998
- y: st(c.value[a]) + e.value.style.chart.comments.offsetY,
1008
+ y: nt(c.value[a]) + e.value.style.chart.comments.offsetY,
999
1009
  width: e.value.style.chart.comments.width,
1000
1010
  height: "200",
1001
1011
  style: { overflow: "visible", "pointer-events": "none" }
@@ -1005,15 +1015,15 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
1005
1015
  plot: { ...t, textAlign: j(c.value[a].middlePoint), flexAlign: j(c.value[a].middlePoint) }
1006
1016
  }, void 0, !0)
1007
1017
  ])
1008
- ], 8, Jl)) : i("", !0)
1018
+ ], 8, Kl)) : i("", !0)
1009
1019
  ])) : i("", !0)
1010
- ], 10, Dl))), 256)),
1020
+ ], 10, Ml))), 256)),
1011
1021
  g(l.$slots, "svg", { svg: s.value }, void 0, !0)
1012
- ], 14, Wt)) : i("", !0),
1013
- l.$slots.watermark ? (o(), u("div", Kl, [
1014
- g(l.$slots, "watermark", H(E({ isPrinting: n(Pe) || n(Se) })), void 0, !0)
1022
+ ], 14, Ht)) : i("", !0),
1023
+ l.$slots.watermark ? (o(), u("div", Ql, [
1024
+ g(l.$slots, "watermark", H(E({ isPrinting: n(Se) || n(Fe) })), void 0, !0)
1015
1025
  ])) : i("", !0),
1016
- q.value ? i("", !0) : (o(), R(It, {
1026
+ q.value ? i("", !0) : (o(), R(Dt, {
1017
1027
  key: 6,
1018
1028
  config: {
1019
1029
  type: "donut",
@@ -1030,18 +1040,18 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
1030
1040
  ref_key: "chartLegend",
1031
1041
  ref: fe
1032
1042
  }, [
1033
- e.value.style.chart.legend.show ? (o(), R(Xt, {
1043
+ e.value.style.chart.legend.show ? (o(), R(It, {
1034
1044
  key: `legend_${we.value}`,
1035
- legendSet: Ne.value,
1036
- config: ut.value,
1037
- onClickMarker: r[4] || (r[4] = ({ i: t }) => Ae(t))
1038
- }, je({
1045
+ legendSet: Xe.value,
1046
+ config: st.value,
1047
+ onClickMarker: r[4] || (r[4] = ({ i: t }) => Ne(t))
1048
+ }, We({
1039
1049
  item: x(({ legend: t, index: a }) => [
1040
1050
  p("div", {
1041
1051
  style: z(`opacity:${X.value.includes(a) ? 0.5 : 1}`),
1042
1052
  onClick: (v) => t.segregate()
1043
1053
  }, [
1044
- He(C(t.name) + ": " + C(n(A)(
1054
+ Ee(C(t.name) + ": " + C(n(A)(
1045
1055
  e.value.style.chart.layout.labels.value.formatter,
1046
1056
  t.value,
1047
1057
  n(O)({
@@ -1055,23 +1065,23 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
1055
1065
  index: a
1056
1066
  }
1057
1067
  )) + " ", 1),
1058
- 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)(
1068
+ X.value.includes(a) ? (o(), u("span", ta, " ( " + C(vt(t.proportion * 100)) + " % ) ", 1)) : (o(), u("span", ea, " (" + C(isNaN(t.value / S.value) ? "-" : n(A)(
1059
1069
  e.value.style.chart.layout.labels.percentage.formatter,
1060
- Ie.value(t),
1070
+ De.value(t),
1061
1071
  n(O)({
1062
- v: Ie.value(t),
1072
+ v: De.value(t),
1063
1073
  s: "%",
1064
1074
  r: e.value.style.chart.legend.roundingPercentage
1065
1075
  })
1066
1076
  )) + ") ", 1))
1067
- ], 12, Ql)
1077
+ ], 12, Zl)
1068
1078
  ]),
1069
1079
  _: 2
1070
1080
  }, [
1071
1081
  l.$slots.pattern ? {
1072
1082
  name: "legend-pattern",
1073
1083
  fn: x(({ legend: t, index: a }) => [
1074
- he(Gt, {
1084
+ he(Rt, {
1075
1085
  shape: t.shape,
1076
1086
  radius: 30,
1077
1087
  stroke: "none",
@@ -1082,7 +1092,7 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
1082
1092
  key: "0"
1083
1093
  } : void 0
1084
1094
  ]), 1032, ["legendSet", "config"])) : i("", !0),
1085
- g(l.$slots, "legend", { legend: Ne.value }, void 0, !0)
1095
+ g(l.$slots, "legend", { legend: Xe.value }, void 0, !0)
1086
1096
  ], 512),
1087
1097
  l.$slots.source ? (o(), u("div", {
1088
1098
  key: 7,
@@ -1092,7 +1102,7 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
1092
1102
  }, [
1093
1103
  g(l.$slots, "source", {}, void 0, !0)
1094
1104
  ], 512)) : i("", !0),
1095
- he(Nt, {
1105
+ he(Xt, {
1096
1106
  show: f.value.showTooltip && le.value,
1097
1107
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
1098
1108
  color: e.value.style.chart.tooltip.color,
@@ -1116,7 +1126,7 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
1116
1126
  ]),
1117
1127
  _: 3
1118
1128
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom", "isFullscreen"]),
1119
- q.value ? (o(), R(Dt, {
1129
+ q.value ? (o(), R(Mt, {
1120
1130
  key: 8,
1121
1131
  hideDetails: "",
1122
1132
  config: {
@@ -1133,7 +1143,7 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
1133
1143
  }
1134
1144
  }, {
1135
1145
  content: x(() => [
1136
- (o(), R(At, {
1146
+ (o(), R(Nt, {
1137
1147
  key: `table_${me.value}`,
1138
1148
  colNames: ae.value.colNames,
1139
1149
  head: ae.value.head,
@@ -1146,10 +1156,10 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
1146
1156
  p("div", {
1147
1157
  innerHTML: t,
1148
1158
  style: { display: "flex", "align-items": "center" }
1149
- }, null, 8, ta)
1159
+ }, null, 8, la)
1150
1160
  ]),
1151
1161
  td: x(({ td: t }) => [
1152
- He(C(t.name ? t.name : isNaN(Number(t)) ? t.includes("%") ? t : n(A)(
1162
+ Ee(C(t.name ? t.name : isNaN(Number(t)) ? t.includes("%") ? t : n(A)(
1153
1163
  e.value.style.chart.layout.labels.percentage.formatter,
1154
1164
  t,
1155
1165
  n(O)({
@@ -1173,9 +1183,9 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
1173
1183
  ]),
1174
1184
  _: 1
1175
1185
  }, 8, ["config"])) : i("", !0)
1176
- ], 46, jt));
1186
+ ], 46, Wt));
1177
1187
  }
1178
- }, wa = /* @__PURE__ */ Ut(la, [["__scopeId", "data-v-649fdaa0"]]);
1188
+ }, ka = /* @__PURE__ */ jt(aa, [["__scopeId", "data-v-f24dec2a"]]);
1179
1189
  export {
1180
- wa as default
1190
+ ka as default
1181
1191
  };