vue-data-ui 2.4.3 → 2.4.5

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 (183) hide show
  1. package/README.md +3 -1
  2. package/dist/{Arrow-Dz6AomGr.cjs → Arrow-BeQLfJqp.cjs} +1 -1
  3. package/dist/{Arrow-C7lNL7sY.js → Arrow-Dvaq-qLp.js} +1 -1
  4. package/dist/{BaseIcon-uALK38Ov.cjs → BaseIcon-BQM6PtJu.cjs} +1 -1
  5. package/dist/{BaseIcon-BbvG1AlW.js → BaseIcon-D9DRVW03.js} +1 -1
  6. package/dist/{DataTable-DTzynbND.cjs → DataTable-DO2GAcBm.cjs} +1 -1
  7. package/dist/{DataTable-DYqC2pqu.js → DataTable-rs_YrvMR.js} +2 -2
  8. package/dist/{Legend-Cgw4lO2O.cjs → Legend-BoBvZGqQ.cjs} +1 -1
  9. package/dist/{Legend-DNgTCgEK.js → Legend-DrmUpnIK.js} +1 -1
  10. package/dist/{PackageVersion-VkaUzgmt.js → PackageVersion-D9rYHrFZ.js} +1 -1
  11. package/dist/{PackageVersion-DwI-KhXH.cjs → PackageVersion-DdLmDkTt.cjs} +1 -1
  12. package/dist/PenAndPaper-C-KjtyNA.js +308 -0
  13. package/dist/PenAndPaper-DyMNuRla.cjs +1 -0
  14. package/dist/{Shape-D2Dpshg1.cjs → Shape-BGqIhzPX.cjs} +1 -1
  15. package/dist/{Shape-Bwon0l0g.js → Shape-CBrmBvYy.js} +1 -1
  16. package/dist/{Slicer-TfpN2Cr4.js → Slicer-4R6np1wa.js} +3 -3
  17. package/dist/{Slicer-uSjfNJjG.cjs → Slicer-BLkkkNUl.cjs} +1 -1
  18. package/dist/{Title-0Tp4hZ4u.cjs → Title-Dn00hErp.cjs} +1 -1
  19. package/dist/{Title-C5pIfQAz.js → Title-W7iJGPjg.js} +1 -1
  20. package/dist/{Tooltip-9Tp2Yrd1.cjs → Tooltip-DJiwKA4y.cjs} +1 -1
  21. package/dist/{Tooltip-Cz24YLfw.js → Tooltip-Pv3Bhir5.js} +1 -1
  22. package/dist/{index-Bya_q1J-.js → index-C1GB0E49.js} +1 -1
  23. package/dist/{index-eFox7weK.cjs → index-C9HllqQA.cjs} +1 -1
  24. package/dist/style.css +1 -1
  25. package/dist/{useNestedProp-B33hazbH.js → useNestedProp-CNAPgW6E.js} +1 -1
  26. package/dist/{useNestedProp-BkgEhTQY.cjs → useNestedProp-DOr0hj4s.cjs} +1 -1
  27. package/dist/{usePrinter-CSRFnDBU.cjs → usePrinter-FSAw5pod.cjs} +1 -1
  28. package/dist/{usePrinter-CiHd1FwD.js → usePrinter-y5uHyknw.js} +1 -1
  29. package/dist/useResponsive-BJ7DTGpm.cjs +1 -0
  30. package/dist/{useResponsive-BY8tgM1n.js → useResponsive-CoxXLe23.js} +8 -7
  31. package/dist/{vue-data-ui-Bduq4f2p.js → vue-data-ui-Bg5KOKEX.js} +58 -58
  32. package/dist/{vue-data-ui-BTtxyUc3.cjs → vue-data-ui-Bnkz3Xmu.cjs} +1 -1
  33. package/dist/vue-data-ui.cjs +1 -1
  34. package/dist/vue-data-ui.js +1 -1
  35. package/dist/{vue-ui-3d-bar-BUEq_VdY.js → vue-ui-3d-bar-mUrcbG6J.js} +9 -9
  36. package/dist/{vue-ui-3d-bar-B-P7PMHs.cjs → vue-ui-3d-bar-sjkBzHFn.cjs} +1 -1
  37. package/dist/{vue-ui-accordion-TEMpM1hO.cjs → vue-ui-accordion-BkUGNe2H.cjs} +1 -1
  38. package/dist/{vue-ui-accordion-DfUfL2dI.js → vue-ui-accordion-DWyRC3-h.js} +3 -3
  39. package/dist/vue-ui-age-pyramid-CKQ8OHuS.cjs +1 -0
  40. package/dist/{vue-ui-age-pyramid-CH72tAMb.js → vue-ui-age-pyramid-CVktvXpY.js} +145 -137
  41. package/dist/{vue-ui-annotator-DPeJ2its.js → vue-ui-annotator-Cp8KDkuP.js} +1 -1
  42. package/dist/{vue-ui-annotator-DU_DJKCw.cjs → vue-ui-annotator-DSJ25l4s.cjs} +1 -1
  43. package/dist/vue-ui-bullet-Bg3TPFgV.cjs +34 -0
  44. package/dist/{vue-ui-bullet-CtP3MlUT.js → vue-ui-bullet-D4atsFQx.js} +75 -69
  45. package/dist/vue-ui-candlestick-BhdG9CY1.cjs +2 -0
  46. package/dist/{vue-ui-candlestick-DDil13a0.js → vue-ui-candlestick-DUNyCQ6Z.js} +240 -232
  47. package/dist/{vue-ui-carousel-table-BaeIxyc0.js → vue-ui-carousel-table-BRrYpr-2.js} +4 -4
  48. package/dist/{vue-ui-carousel-table-C7SJIOG-.cjs → vue-ui-carousel-table-DF4FhrBd.cjs} +1 -1
  49. package/dist/vue-ui-chestnut-BLBS9QO2.cjs +6 -0
  50. package/dist/{vue-ui-chestnut-BczSJF6S.js → vue-ui-chestnut-CjS4qC_J.js} +262 -256
  51. package/dist/{vue-ui-cursor-Dg_Dmww-.js → vue-ui-cursor-C3SpabMF.js} +2 -2
  52. package/dist/{vue-ui-cursor-C2Pj_CI_.cjs → vue-ui-cursor-DzVt5_py.cjs} +1 -1
  53. package/dist/{vue-ui-dashboard-Bul9dqx1.js → vue-ui-dashboard-BCOKtsyJ.js} +2 -2
  54. package/dist/{vue-ui-dashboard-Cg020NiT.cjs → vue-ui-dashboard-CIv7W8Yn.cjs} +1 -1
  55. package/dist/{vue-ui-digits-B8iAa4YZ.js → vue-ui-digits-DaMKAZkt.js} +2 -2
  56. package/dist/{vue-ui-digits-Ctgd84JR.cjs → vue-ui-digits-yNfQgOLZ.cjs} +1 -1
  57. package/dist/{vue-ui-donut-DUcp-fat.js → vue-ui-donut-B_-VAqBw.js} +338 -330
  58. package/dist/vue-ui-donut-Bo4SbdEe.cjs +1 -0
  59. package/dist/{vue-ui-donut-evolution-C_YMbTwq.js → vue-ui-donut-evolution-C9TXFzCm.js} +163 -156
  60. package/dist/vue-ui-donut-evolution-DOPY3I3Q.cjs +1 -0
  61. package/dist/{vue-ui-dumbbell-Buwngz_V.js → vue-ui-dumbbell-BP_Vf_u2.js} +208 -200
  62. package/dist/vue-ui-dumbbell-Cgwng71s.cjs +9 -0
  63. package/dist/vue-ui-flow-BiQj4v8i.cjs +1 -0
  64. package/dist/{vue-ui-flow-Bz3c0K5P.js → vue-ui-flow-DHoxK4t1.js} +130 -124
  65. package/dist/vue-ui-galaxy-C5ZaT8pw.cjs +1 -0
  66. package/dist/{vue-ui-galaxy-Cjh0XGTX.js → vue-ui-galaxy-DuLPsC4Q.js} +125 -119
  67. package/dist/vue-ui-gauge-26eHgOjR.cjs +1 -0
  68. package/dist/{vue-ui-gauge-B1UvGkQa.js → vue-ui-gauge-BhrXiD4S.js} +167 -159
  69. package/dist/{vue-ui-gizmo-DFW6HnHp.cjs → vue-ui-gizmo-Bb_SWCsE.cjs} +1 -1
  70. package/dist/{vue-ui-gizmo-DUQ4t-At.js → vue-ui-gizmo-D3kBYI1G.js} +3 -3
  71. package/dist/vue-ui-heatmap-Bc4HvgMk.cjs +1 -0
  72. package/dist/{vue-ui-heatmap-C-poazUw.js → vue-ui-heatmap-wjsvn1_e.js} +156 -149
  73. package/dist/{vue-ui-kpi-Z4Oi4raz.cjs → vue-ui-kpi-BbvfVZn0.cjs} +1 -1
  74. package/dist/{vue-ui-kpi-DXe-vxAk.js → vue-ui-kpi-DLJuo47I.js} +3 -3
  75. package/dist/{vue-ui-mini-loader-MMvpm9pz.cjs → vue-ui-mini-loader-BaxwhF7o.cjs} +1 -1
  76. package/dist/{vue-ui-mini-loader-BVtHTqxS.js → vue-ui-mini-loader-D4aLvv-D.js} +2 -2
  77. package/dist/{vue-ui-molecule-BaJpDZND.js → vue-ui-molecule-DXpMMgdW.js} +109 -103
  78. package/dist/vue-ui-molecule-ZqAJHh6x.cjs +1 -0
  79. package/dist/{vue-ui-mood-radar-BUNDwsEI.js → vue-ui-mood-radar-B_uWY92C.js} +173 -166
  80. package/dist/vue-ui-mood-radar-BhteAPWH.cjs +1 -0
  81. package/dist/{vue-ui-nested-donuts-mDy2hXa6.js → vue-ui-nested-donuts-By32x0Y7.js} +311 -303
  82. package/dist/vue-ui-nested-donuts-ClgkX1-p.cjs +17 -0
  83. package/dist/vue-ui-onion-BdIxJpfA.cjs +5 -0
  84. package/dist/{vue-ui-onion-DwFG3HAI.js → vue-ui-onion-dQTXKNju.js} +149 -141
  85. package/dist/{vue-ui-parallel-coordinate-plot-ImET_zeo.js → vue-ui-parallel-coordinate-plot-CTF9Ujab.js} +186 -178
  86. package/dist/vue-ui-parallel-coordinate-plot-D6MUp-5W.cjs +8 -0
  87. package/dist/vue-ui-quadrant-CArA4Vmm.cjs +1 -0
  88. package/dist/{vue-ui-quadrant-BeveRihK.js → vue-ui-quadrant-Coqh0pYO.js} +225 -217
  89. package/dist/vue-ui-quick-chart-6Av74TTC.cjs +15 -0
  90. package/dist/{vue-ui-quick-chart-DAhllTfa.js → vue-ui-quick-chart-Bfdddr_B.js} +386 -378
  91. package/dist/{vue-ui-radar-BllatzRa.js → vue-ui-radar-BpdGMVHw.js} +172 -164
  92. package/dist/vue-ui-radar-CLr-gu1X.cjs +1 -0
  93. package/dist/{vue-ui-rating-D1ykV4xO.js → vue-ui-rating-B-YedcK0.js} +2 -2
  94. package/dist/{vue-ui-rating-BoZo7caL.cjs → vue-ui-rating-KFJoH-JV.cjs} +1 -1
  95. package/dist/vue-ui-relation-circle-BLVThOqT.js +366 -0
  96. package/dist/vue-ui-relation-circle-DuGQKFor.cjs +1 -0
  97. package/dist/{vue-ui-rings-B-ZcX6y1.js → vue-ui-rings-BGeYkj-O.js} +196 -188
  98. package/dist/vue-ui-rings-DzgehQZ5.cjs +2 -0
  99. package/dist/{vue-ui-scatter-DG43ck1g.js → vue-ui-scatter-CsBPCCco.js} +288 -280
  100. package/dist/vue-ui-scatter-jPnr8qI0.cjs +1 -0
  101. package/dist/{vue-ui-screenshot-C1JBP_N0.cjs → vue-ui-screenshot-1nXVH-hp.cjs} +1 -1
  102. package/dist/{vue-ui-screenshot-p3ca8cAl.js → vue-ui-screenshot-B2FTnuxH.js} +1 -1
  103. package/dist/{vue-ui-skeleton-BYssP0K4.js → vue-ui-skeleton-CE6ibl1T.js} +3 -3
  104. package/dist/{vue-ui-skeleton-BqKzuhkB.cjs → vue-ui-skeleton-CPwED1As.cjs} +1 -1
  105. package/dist/{vue-ui-smiley-D7dDCdpq.js → vue-ui-smiley-2H9hMFZ_.js} +2 -2
  106. package/dist/{vue-ui-smiley-BXKVpHl2.cjs → vue-ui-smiley-DqOZwhT4.cjs} +1 -1
  107. package/dist/{vue-ui-spark-trend-9V60hM3Z.cjs → vue-ui-spark-trend-CLW85O32.cjs} +1 -1
  108. package/dist/{vue-ui-spark-trend-GWFrO_0z.js → vue-ui-spark-trend-Dx9xVq9a.js} +5 -5
  109. package/dist/{vue-ui-sparkbar-Bgn6AY0q.cjs → vue-ui-sparkbar-DJDXrRyp.cjs} +1 -1
  110. package/dist/{vue-ui-sparkbar-CwqlyAyv.js → vue-ui-sparkbar-zafUIv1n.js} +4 -4
  111. package/dist/{vue-ui-sparkgauge-F2XbiXyA.js → vue-ui-sparkgauge-CFAdhTLk.js} +4 -4
  112. package/dist/{vue-ui-sparkgauge-Dqntz2Zv.cjs → vue-ui-sparkgauge-CPNAXUyl.cjs} +1 -1
  113. package/dist/{vue-ui-sparkhistogram-DRIKK6Ym.js → vue-ui-sparkhistogram-B3DIjpaE.js} +5 -5
  114. package/dist/{vue-ui-sparkhistogram-DnY4-Sdn.cjs → vue-ui-sparkhistogram-CHc3_xRE.cjs} +1 -1
  115. package/dist/{vue-ui-sparkline-Cxtzdlhi.js → vue-ui-sparkline-C-LE7J9H.js} +5 -5
  116. package/dist/{vue-ui-sparkline-CAEs-gtK.cjs → vue-ui-sparkline-U22Yhwy7.cjs} +1 -1
  117. package/dist/{vue-ui-sparkstackbar-0A1klq9s.js → vue-ui-sparkstackbar-BzLoGC-y.js} +4 -4
  118. package/dist/{vue-ui-sparkstackbar-D37ms1rx.cjs → vue-ui-sparkstackbar-nx-Lt8sX.cjs} +1 -1
  119. package/dist/{vue-ui-stackbar-wun4S3C0.cjs → vue-ui-stackbar-BwgHLhj2.cjs} +1 -1
  120. package/dist/{vue-ui-stackbar-ByOuJSdM.js → vue-ui-stackbar-C5xNRXnW.js} +13 -13
  121. package/dist/{vue-ui-strip-plot-CMD0MSqY.js → vue-ui-strip-plot-6khUDDeA.js} +204 -196
  122. package/dist/vue-ui-strip-plot-BFUtZW4b.cjs +1 -0
  123. package/dist/{vue-ui-table-aj0XZ7T5.cjs → vue-ui-table-B3Eng0fH.cjs} +1 -1
  124. package/dist/{vue-ui-table-B75DJ39t.js → vue-ui-table-DsBM7Osw.js} +1 -1
  125. package/dist/{vue-ui-table-heatmap-Ce93TyBF.cjs → vue-ui-table-heatmap-DwCdS68z.cjs} +1 -1
  126. package/dist/{vue-ui-table-heatmap-BO2ugWqD.js → vue-ui-table-heatmap-ccQKInFD.js} +4 -4
  127. package/dist/{vue-ui-table-sparkline-CbjfAaj2.js → vue-ui-table-sparkline-BU-hOCZ7.js} +5 -5
  128. package/dist/{vue-ui-table-sparkline-D6KJjDnU.cjs → vue-ui-table-sparkline-CDmrQFKv.cjs} +1 -1
  129. package/dist/vue-ui-thermometer-BhHYcxmT.cjs +1 -0
  130. package/dist/{vue-ui-thermometer-Pq4PvSIP.js → vue-ui-thermometer-DuI3uDCZ.js} +171 -165
  131. package/dist/{vue-ui-timer-B6IB6yS6.cjs → vue-ui-timer-D7EKaAqa.cjs} +1 -1
  132. package/dist/{vue-ui-timer-Bk3BvB-B.js → vue-ui-timer-Gk3bl_em.js} +6 -6
  133. package/dist/{vue-ui-tiremarks-CU9HJIqf.js → vue-ui-tiremarks-AcEjMpJH.js} +119 -112
  134. package/dist/vue-ui-tiremarks-UX2FbnyG.cjs +1 -0
  135. package/dist/{vue-ui-treemap-DY-lRAhC.js → vue-ui-treemap-CFTpzgX5.js} +266 -258
  136. package/dist/vue-ui-treemap-D6CTMfsm.cjs +1 -0
  137. package/dist/vue-ui-vertical-bar-BzY2H3UC.cjs +4 -0
  138. package/dist/{vue-ui-vertical-bar-CtnIKsM1.js → vue-ui-vertical-bar-CuBJx5l1.js} +245 -237
  139. package/dist/vue-ui-waffle-CZxR13EG.cjs +1 -0
  140. package/dist/{vue-ui-waffle-reOsx-gJ.js → vue-ui-waffle-rDfZLxvH.js} +224 -216
  141. package/dist/{vue-ui-wheel-kYxny3vn.js → vue-ui-wheel-BFt2o4yO.js} +125 -117
  142. package/dist/vue-ui-wheel-BM-St3xT.cjs +1 -0
  143. package/dist/{vue-ui-word-cloud-DwLY4QdB.cjs → vue-ui-word-cloud-DjKyKUbA.cjs} +1 -1
  144. package/dist/{vue-ui-word-cloud-DbMqrHAf.js → vue-ui-word-cloud-pNPIrJ-g.js} +11 -11
  145. package/dist/vue-ui-xy-CBZUMMlP.cjs +3 -0
  146. package/dist/{vue-ui-xy-rbACig0h.js → vue-ui-xy-DwkEc4Np.js} +302 -291
  147. package/dist/{vue-ui-xy-canvas-B0HTR7OV.js → vue-ui-xy-canvas-CW90CROL.js} +12 -12
  148. package/dist/{vue-ui-xy-canvas-CgJd5FiT.cjs → vue-ui-xy-canvas-DWGGLom_.cjs} +1 -1
  149. package/package.json +1 -1
  150. package/dist/PenAndPaper-CDFVOo7X.cjs +0 -1
  151. package/dist/PenAndPaper-DAZYA8Ew.js +0 -269
  152. package/dist/useResponsive-CodiGUOE.cjs +0 -1
  153. package/dist/vue-ui-age-pyramid-DsbZ1qcQ.cjs +0 -1
  154. package/dist/vue-ui-bullet-D8ks_rKr.cjs +0 -34
  155. package/dist/vue-ui-candlestick-D1jdr0bv.cjs +0 -2
  156. package/dist/vue-ui-chestnut-ih5r0Bj9.cjs +0 -6
  157. package/dist/vue-ui-donut-D7KT9EAp.cjs +0 -1
  158. package/dist/vue-ui-donut-evolution-CHtJ8iOK.cjs +0 -1
  159. package/dist/vue-ui-dumbbell-B0dikuqO.cjs +0 -9
  160. package/dist/vue-ui-flow-D6rc8J-8.cjs +0 -1
  161. package/dist/vue-ui-galaxy-CmTt0vBf.cjs +0 -1
  162. package/dist/vue-ui-gauge-B_TKuyM7.cjs +0 -1
  163. package/dist/vue-ui-heatmap-C2HlnqzO.cjs +0 -1
  164. package/dist/vue-ui-molecule-BiYIcOKN.cjs +0 -1
  165. package/dist/vue-ui-mood-radar-C6jMyFkb.cjs +0 -1
  166. package/dist/vue-ui-nested-donuts-DKO2dFKo.cjs +0 -17
  167. package/dist/vue-ui-onion-GWNoZRhw.cjs +0 -5
  168. package/dist/vue-ui-parallel-coordinate-plot-DODn4Ohf.cjs +0 -8
  169. package/dist/vue-ui-quadrant-yuFAxV-5.cjs +0 -1
  170. package/dist/vue-ui-quick-chart-DgFDBzjS.cjs +0 -15
  171. package/dist/vue-ui-radar-BJH5SE6-.cjs +0 -1
  172. package/dist/vue-ui-relation-circle-CKmjOle7.cjs +0 -1
  173. package/dist/vue-ui-relation-circle-xv2l5Be9.js +0 -358
  174. package/dist/vue-ui-rings-DjH3CK23.cjs +0 -2
  175. package/dist/vue-ui-scatter-SBCXAl7q.cjs +0 -1
  176. package/dist/vue-ui-strip-plot-IQrypGvz.cjs +0 -1
  177. package/dist/vue-ui-thermometer-swmi4FmH.cjs +0 -1
  178. package/dist/vue-ui-tiremarks-Cn79uQH2.cjs +0 -1
  179. package/dist/vue-ui-treemap-BEMuKV7x.cjs +0 -1
  180. package/dist/vue-ui-vertical-bar-B1e2RxTv.cjs +0 -4
  181. package/dist/vue-ui-waffle-BqP7Okgu.cjs +0 -1
  182. package/dist/vue-ui-wheel-BuWUGnkC.cjs +0 -1
  183. package/dist/vue-ui-xy-CGWzriYn.cjs +0 -3
@@ -1,27 +1,27 @@
1
- import { computed as _, ref as d, onMounted as Ze, onBeforeUnmount as et, watch as De, openBlock as o, createElementBlock as n, normalizeClass as ce, normalizeStyle as Y, createBlock as V, createCommentVNode as v, renderSlot as m, unref as s, createSlots as tt, withCtx as P, normalizeProps as U, guardReactiveProps as E, createVNode as Be, createElementVNode as h, Fragment as w, renderList as O, toDisplayString as x, createTextVNode as Me, nextTick as lt, pushScopeId as at, popScopeId as ot } from "vue";
2
- import { u as ut, o as st, e as Ge, g as nt, c as rt, b as it, d as Ve, p as j, m as vt, G as ct, f as L, X as dt, s as ee, w as ht, j as yt, H as F, i as A, k as b, n as te, t as ft, a as pt, x as gt, q as bt, r as mt } from "./index-Bya_q1J-.js";
3
- import { t as wt, u as kt } from "./useResponsive-BY8tgM1n.js";
4
- import { _ as _t } from "./Title-C5pIfQAz.js";
5
- import { u as xt, U as Ct } from "./usePrinter-CiHd1FwD.js";
6
- import { D as $t } from "./DataTable-DYqC2pqu.js";
7
- import { _ as Pt } from "./Tooltip-Cz24YLfw.js";
8
- import { L as St } from "./Legend-DNgTCgEK.js";
9
- import Lt from "./vue-ui-skeleton-BYssP0K4.js";
10
- import Ft from "./vue-ui-accordion-DfUfL2dI.js";
11
- import { u as je } from "./useNestedProp-B33hazbH.js";
12
- import { _ as Tt } from "./PackageVersion-VkaUzgmt.js";
13
- import { P as zt } from "./PenAndPaper-DAZYA8Ew.js";
14
- import { _ as Yt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
- const At = (W) => (at("data-v-f76d6ac3"), W = W(), ot(), W), Xt = ["id"], Nt = ["xmlns", "viewBox"], Ot = { key: 0 }, It = ["id"], Dt = ["stop-color"], Bt = ["offset", "stop-color"], Mt = ["offset", "stop-color"], Gt = ["stop-color"], Vt = { key: 1 }, jt = ["id", "cx", "cy"], Ht = ["stop-color", "stop-opacity"], Rt = ["stop-color"], Ut = ["id"], Et = ["id"], Wt = /* @__PURE__ */ At(() => /* @__PURE__ */ h("feColorMatrix", {
1
+ import { computed as _, ref as d, onMounted as tt, onBeforeUnmount as lt, watch as Be, openBlock as o, createElementBlock as s, normalizeClass as ce, normalizeStyle as Y, createBlock as V, createCommentVNode as i, renderSlot as m, unref as n, createSlots as at, withCtx as P, normalizeProps as U, guardReactiveProps as E, createVNode as Me, createElementVNode as h, Fragment as w, renderList as X, toDisplayString as x, createTextVNode as Ge, nextTick as ot, pushScopeId as ut, popScopeId as st } from "vue";
2
+ import { u as nt, o as rt, e as Ve, g as it, c as vt, b as ct, d as je, p as j, m as dt, G as ht, f as L, X as yt, s as ee, w as ft, j as pt, H as F, i as A, k as b, n as te, t as gt, a as bt, x as mt, q as wt, r as kt } from "./index-C1GB0E49.js";
3
+ import { t as _t, u as xt } from "./useResponsive-CoxXLe23.js";
4
+ import { _ as Ct } from "./Title-W7iJGPjg.js";
5
+ import { u as $t, U as Pt } from "./usePrinter-y5uHyknw.js";
6
+ import { D as St } from "./DataTable-rs_YrvMR.js";
7
+ import { _ as Lt } from "./Tooltip-Pv3Bhir5.js";
8
+ import { L as Ft } from "./Legend-DrmUpnIK.js";
9
+ import Tt from "./vue-ui-skeleton-CE6ibl1T.js";
10
+ import zt from "./vue-ui-accordion-DWyRC3-h.js";
11
+ import { u as He } from "./useNestedProp-CNAPgW6E.js";
12
+ import { _ as Yt } from "./PackageVersion-D9rYHrFZ.js";
13
+ import { P as At } from "./PenAndPaper-C-KjtyNA.js";
14
+ import { _ as Nt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
+ const Ot = (W) => (ut("data-v-897a9187"), W = W(), st(), W), Xt = ["id"], It = ["xmlns", "viewBox"], Dt = { key: 0 }, Bt = ["id"], Mt = ["stop-color"], Gt = ["offset", "stop-color"], Vt = ["offset", "stop-color"], jt = ["stop-color"], Ht = { key: 1 }, Rt = ["id", "cx", "cy"], Ut = ["stop-color", "stop-opacity"], Et = ["stop-color"], Wt = ["id"], qt = ["id"], Jt = /* @__PURE__ */ Ot(() => /* @__PURE__ */ h("feColorMatrix", {
16
16
  type: "saturate",
17
17
  values: "0"
18
- }, null, -1)), qt = ["id"], Jt = ["flood-color"], Kt = ["id"], Qt = ["flood-color"], Zt = ["d", "stroke", "filter"], el = ["x1", "y1", "x2", "y2", "stroke", "filter"], tl = ["cx", "cy", "r", "fill", "filter"], ll = ["stroke", "d"], al = ["d", "fill", "stroke", "stroke-width", "filter"], ol = { key: 0 }, ul = ["stroke", "d"], sl = { key: 0 }, nl = ["d", "stroke", "stroke-width", "filter"], rl = ["d", "fill", "stroke", "stroke-width", "filter"], il = { key: 1 }, vl = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], cl = ["cx", "cy", "r", "stroke"], dl = ["cx", "cy", "r", "fill"], hl = { key: 0 }, yl = ["d", "fill", "onMouseenter", "onClick"], fl = { key: 1 }, pl = ["cx", "cy", "r", "fill"], gl = ["x", "y", "fill", "font-size"], bl = ["x", "y", "fill", "font-size"], ml = ["x", "y", "fill", "font-size"], wl = ["x", "y", "fill", "font-size"], kl = ["filter"], _l = { key: 0 }, xl = ["x", "y"], Cl = { key: 1 }, $l = ["cx", "cy", "fill", "stroke", "filter", "onClick"], Pl = ["cx", "cy", "fill", "stroke", "filter", "onClick"], Sl = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], Ll = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], Fl = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], Tl = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], zl = { key: 2 }, Yl = ["x", "y", "width"], Al = ["x", "y", "width"], Xl = {
19
- key: 4,
18
+ }, null, -1)), Kt = ["id"], Qt = ["flood-color"], Zt = ["id"], el = ["flood-color"], tl = ["d", "stroke", "filter"], ll = ["x1", "y1", "x2", "y2", "stroke", "filter"], al = ["cx", "cy", "r", "fill", "filter"], ol = ["stroke", "d"], ul = ["d", "fill", "stroke", "stroke-width", "filter"], sl = { key: 0 }, nl = ["stroke", "d"], rl = { key: 0 }, il = ["d", "stroke", "stroke-width", "filter"], vl = ["d", "fill", "stroke", "stroke-width", "filter"], cl = { key: 1 }, dl = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], hl = ["cx", "cy", "r", "stroke"], yl = ["cx", "cy", "r", "fill"], fl = { key: 0 }, pl = ["d", "fill", "onMouseenter", "onClick"], gl = { key: 1 }, bl = ["cx", "cy", "r", "fill"], ml = ["x", "y", "fill", "font-size"], wl = ["x", "y", "fill", "font-size"], kl = ["x", "y", "fill", "font-size"], _l = ["x", "y", "fill", "font-size"], xl = ["filter"], Cl = { key: 0 }, $l = ["x", "y"], Pl = { key: 1 }, Sl = ["cx", "cy", "fill", "stroke", "filter", "onClick"], Ll = ["cx", "cy", "fill", "stroke", "filter", "onClick"], Fl = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], Tl = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], zl = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], Yl = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], Al = { key: 2 }, Nl = ["x", "y", "width"], Ol = ["x", "y", "width"], Xl = {
19
+ key: 5,
20
20
  class: "vue-data-ui-watermark"
21
- }, Nl = ["onClick"], Ol = {
21
+ }, Il = ["onClick"], Dl = {
22
22
  key: 0,
23
23
  style: { "font-variant-numeric": "tabular-nums" }
24
- }, Il = { key: 1 }, Dl = ["innerHTML"], Bl = {
24
+ }, Bl = { key: 1 }, Ml = ["innerHTML"], Gl = {
25
25
  __name: "vue-ui-donut",
26
26
  props: {
27
27
  config: {
@@ -38,30 +38,30 @@ const At = (W) => (at("data-v-f76d6ac3"), W = W(), ot(), W), Xt = ["id"], Nt = [
38
38
  }
39
39
  },
40
40
  emits: ["selectLegend", "selectDatapoint"],
41
- setup(W, { expose: He, emit: de }) {
42
- const X = W, { vue_ui_donut: Re } = ut(), q = _({
41
+ setup(W, { expose: Re, emit: de }) {
42
+ const N = W, { vue_ui_donut: Ue } = nt(), q = _({
43
43
  get() {
44
- return !!X.dataset && X.dataset.length;
44
+ return !!N.dataset && N.dataset.length;
45
45
  },
46
46
  set(l) {
47
47
  return l;
48
48
  }
49
- }), H = d(null), he = d(null), ye = d(null), le = d(null), fe = d(null), pe = d(0), ge = d(0), be = d(0);
50
- Ze(() => {
51
- me();
52
- }), et(() => {
49
+ }), H = d(null), he = d(null), ye = d(null), le = d(null), fe = d(null), pe = d(null), ge = d(0), be = d(0), me = d(0);
50
+ tt(() => {
51
+ we();
52
+ }), lt(() => {
53
53
  le.value && le.value.disconnect();
54
54
  });
55
- function me() {
56
- if (st(X.dataset) ? Ge({
55
+ function we() {
56
+ if (rt(N.dataset) ? Ve({
57
57
  componentName: "VueUiDonut",
58
58
  type: "dataset"
59
- }) : X.dataset.forEach((l, r) => {
60
- nt({
59
+ }) : N.dataset.forEach((l, r) => {
60
+ it({
61
61
  datasetObject: l,
62
62
  requiredAttributes: ["name", "values"]
63
63
  }).forEach((t) => {
64
- q.value = !1, Ge({
64
+ q.value = !1, Ve({
65
65
  componentName: "VueUiDonut",
66
66
  type: "datasetSerieAttribute",
67
67
  property: t,
@@ -69,43 +69,44 @@ const At = (W) => (at("data-v-f76d6ac3"), W = W(), ot(), W), Xt = ["id"], Nt = [
69
69
  });
70
70
  });
71
71
  }), e.value.responsive) {
72
- const l = wt(() => {
73
- const { width: r, height: t } = kt({
72
+ const l = _t(() => {
73
+ const { width: r, height: t } = xt({
74
74
  chart: H.value,
75
75
  title: e.value.style.chart.title.text ? he.value : null,
76
76
  legend: e.value.style.chart.legend.show ? ye.value : null,
77
- source: fe.value
77
+ source: fe.value,
78
+ noTitle: pe.value
78
79
  });
79
80
  u.value.width = r, u.value.height = t;
80
81
  });
81
82
  le.value = new ResizeObserver(l), le.value.observe(H.value.parentNode);
82
83
  }
83
84
  }
84
- const k = d(rt()), Ue = d(null), ae = d(!1), se = d(""), S = d(null), we = d(0);
85
- function ke() {
86
- const l = je({
87
- userConfig: X.config,
88
- defaultConfig: Re
85
+ const k = d(vt()), Ee = d(null), ae = d(!1), se = d(""), S = d(null), ke = d(0);
86
+ function _e() {
87
+ const l = He({
88
+ userConfig: N.config,
89
+ defaultConfig: Ue
89
90
  });
90
91
  return l.theme ? {
91
- ...je({
92
- userConfig: ft.vue_ui_donut[l.theme] || X.config,
92
+ ...He({
93
+ userConfig: gt.vue_ui_donut[l.theme] || N.config,
93
94
  defaultConfig: l
94
95
  }),
95
- customPalette: pt[l.theme] || j
96
+ customPalette: bt[l.theme] || j
96
97
  } : l;
97
98
  }
98
99
  const e = _({
99
- get: () => ke(),
100
+ get: () => _e(),
100
101
  set: (l) => l
101
102
  });
102
- De(() => X.config, (l) => {
103
- e.value = ke(), me(), pe.value += 1, ge.value += 1, be.value += 1;
103
+ Be(() => N.config, (l) => {
104
+ e.value = _e(), we(), ge.value += 1, be.value += 1, me.value += 1;
104
105
  }, { deep: !0 });
105
- const { isPrinting: _e, isImaging: xe, generatePdf: Ce, generateImage: $e } = xt({
106
+ const { isPrinting: xe, isImaging: Ce, generatePdf: $e, generateImage: Pe } = $t({
106
107
  elementId: `donut__${k.value}`,
107
108
  fileName: e.value.style.chart.title.text || "vue-ui-donut"
108
- }), Pe = _(() => it(e.value.customPalette)), y = d({
109
+ }), We = _(() => e.value.userOptions.show && !e.value.style.chart.title.text), Se = _(() => ct(e.value.customPalette)), y = d({
109
110
  dataLabels: {
110
111
  show: e.value.style.chart.layout.labels.dataLabels.show
111
112
  },
@@ -117,54 +118,54 @@ const At = (W) => (at("data-v-f76d6ac3"), W = W(), ot(), W), Xt = ["id"], Nt = [
117
118
  }), J = _(() => {
118
119
  const l = e.value.style.chart.layout.donut.strokeWidth / 512, r = u.value.width * l, t = r > C.value ? C.value : r;
119
120
  return t < 24 ? 24 : t;
120
- }), M = _(() => X.dataset.map((l, r) => ({
121
+ }), M = _(() => N.dataset.map((l, r) => ({
121
122
  name: l.name,
122
- color: Ve(l.color) || Pe.value[r] || j[r] || j[r % j.length],
123
+ color: je(l.color) || Se.value[r] || j[r] || j[r % j.length],
123
124
  value: l.values.reduce((t, a) => t + a, 0),
124
125
  absoluteValues: l.values,
125
126
  comment: l.comment || ""
126
127
  }))), T = d(M.value);
127
- De(() => M.value, (l) => T.value = l);
128
- function Ee() {
128
+ Be(() => M.value, (l) => T.value = l);
129
+ function qe() {
129
130
  return M.value.map((l) => ({
130
131
  name: l.name,
131
132
  color: l.color,
132
133
  value: l.value
133
134
  }));
134
135
  }
135
- const N = d([]), Se = d(null), Le = d(null), G = d(!1);
136
- function Fe(l) {
137
- const r = M.value.find((i, g) => g === l);
138
- let a = T.value.find((i, g) => g === l).value;
139
- if (N.value.includes(l)) {
136
+ const O = d([]), Le = d(null), Fe = d(null), G = d(!1);
137
+ function Te(l) {
138
+ const r = M.value.find((v, g) => g === l);
139
+ let a = T.value.find((v, g) => g === l).value;
140
+ if (O.value.includes(l)) {
140
141
  let g = function() {
141
- a > i ? (cancelAnimationFrame(Se.value), T.value = T.value.map((p, ve) => l === ve ? {
142
+ a > v ? (cancelAnimationFrame(Le.value), T.value = T.value.map((p, ve) => l === ve ? {
142
143
  ...p,
143
- value: i
144
- } : p), G.value = !1) : (G.value = !0, a += i * 0.025, T.value = T.value.map((p, ve) => l === ve ? {
144
+ value: v
145
+ } : p), G.value = !1) : (G.value = !0, a += v * 0.025, T.value = T.value.map((p, ve) => l === ve ? {
145
146
  ...p,
146
147
  value: a
147
- } : p), Se.value = requestAnimationFrame(g));
148
+ } : p), Le.value = requestAnimationFrame(g));
148
149
  };
149
- N.value = N.value.filter((p) => p !== l);
150
- const i = r.value;
150
+ O.value = O.value.filter((p) => p !== l);
151
+ const v = r.value;
151
152
  g();
152
- } else if (N.value.length < M.value.length - 1) {
153
- let i = function() {
154
- a < 0.1 ? (cancelAnimationFrame(Le.value), N.value.push(l), T.value = T.value.map((g, p) => l === p ? {
153
+ } else if (O.value.length < M.value.length - 1) {
154
+ let v = function() {
155
+ a < 0.1 ? (cancelAnimationFrame(Fe.value), O.value.push(l), T.value = T.value.map((g, p) => l === p ? {
155
156
  ...g,
156
157
  value: 0
157
158
  } : g), G.value = !1) : (G.value = !0, a /= 1.1, T.value = T.value.map((g, p) => l === p ? {
158
159
  ...g,
159
160
  value: a
160
- } : g), Le.value = requestAnimationFrame(i));
161
+ } : g), Fe.value = requestAnimationFrame(v));
161
162
  };
162
- i();
163
+ v();
163
164
  }
164
- de("selectLegend", I.value.map((i) => ({
165
- name: i.name,
166
- color: i.color,
167
- value: i.value
165
+ de("selectLegend", I.value.map((v) => ({
166
+ name: v.name,
167
+ color: v.color,
168
+ value: v.value
168
169
  })));
169
170
  }
170
171
  const I = _(() => (T.value.forEach((l, r) => {
@@ -176,18 +177,18 @@ const At = (W) => (at("data-v-f76d6ac3"), W = W(), ot(), W), Xt = ["id"], Nt = [
176
177
  }), T.value.map((l, r) => ({
177
178
  ...l,
178
179
  seriesIndex: r
179
- })).filter((l, r) => !N.value.includes(r)))), Te = _(() => X.dataset.map((l, r) => ({
180
+ })).filter((l, r) => !O.value.includes(r)))), ze = _(() => N.dataset.map((l, r) => ({
180
181
  name: l.name,
181
- color: Ve(l.color) || Pe.value[r] || j[r] || j[r % j.length],
182
+ color: je(l.color) || Se.value[r] || j[r] || j[r % j.length],
182
183
  value: (l.values || []).reduce((t, a) => t + a, 0),
183
184
  shape: "circle"
184
185
  })).map((l, r) => ({
185
186
  ...l,
186
- proportion: l.value / X.dataset.map((t) => (t.values || []).reduce((a, i) => a + i, 0)).reduce((t, a) => t + a, 0),
187
- opacity: N.value.includes(r) ? 0.5 : 1,
188
- segregate: () => Fe(r),
189
- isSegregated: N.value.includes(r)
190
- }))), We = _(() => ({
187
+ proportion: l.value / N.dataset.map((t) => (t.values || []).reduce((a, v) => a + v, 0)).reduce((t, a) => t + a, 0),
188
+ opacity: O.value.includes(r) ? 0.5 : 1,
189
+ segregate: () => Te(r),
190
+ isSegregated: O.value.includes(r)
191
+ }))), Je = _(() => ({
191
192
  cy: "donut-div-legend",
192
193
  backgroundColor: e.value.style.chart.legend.backgroundColor,
193
194
  color: e.value.style.chart.legend.color,
@@ -197,9 +198,9 @@ const At = (W) => (at("data-v-f76d6ac3"), W = W(), ot(), W), Xt = ["id"], Nt = [
197
198
  })), C = _(() => {
198
199
  const l = Math.min(u.value.width / 3, u.value.height / 3);
199
200
  return l < 55 ? 55 : l;
200
- }), f = _(() => vt({ series: I.value }, u.value.width / 2, u.value.height / 2, C.value, C.value, 1.99999, 2, 1, 360, 105.25, J.value)), c = _(() => {
201
+ }), f = _(() => dt({ series: I.value }, u.value.width / 2, u.value.height / 2, C.value, C.value, 1.99999, 2, 1, 360, 105.25, J.value)), c = _(() => {
201
202
  const l = Math.max(...I.value.map((t) => t.value)), r = I.value.map((t) => t.value / l);
202
- return ct({
203
+ return ht({
203
204
  series: r,
204
205
  center: {
205
206
  x: u.value.width / 2,
@@ -211,14 +212,14 @@ const At = (W) => (at("data-v-f76d6ac3"), W = W(), ot(), W), Xt = ["id"], Nt = [
211
212
  function R(l) {
212
213
  return l.x > u.value.width / 2 + 6 ? "start" : l.x < u.value.width / 2 - 6 ? "end" : "middle";
213
214
  }
214
- function qe(l) {
215
+ function Ke(l) {
215
216
  return l.middlePoint.y > u.value.height / 2 ? F({ initX: l.middlePoint.x, initY: l.middlePoint.y, offset: 100, centerX: u.value.width / 2, centerY: u.value.height / 2 }).y : F({ initX: l.middlePoint.x, initY: l.middlePoint.y, offset: 0, centerX: u.value.width / 2, centerY: u.value.height / 2 }).y - 100;
216
217
  }
217
218
  function z(l) {
218
219
  return l.proportion * 100 > e.value.style.chart.layout.labels.dataLabels.hideUnderValue;
219
220
  }
220
221
  function ne(l, r) {
221
- const t = l.value / Je(r);
222
+ const t = l.value / Qe(r);
222
223
  return isNaN(t) ? 0 : A(
223
224
  e.value.style.chart.layout.labels.percentage.formatter,
224
225
  t * 100,
@@ -230,15 +231,15 @@ const At = (W) => (at("data-v-f76d6ac3"), W = W(), ot(), W), Xt = ["id"], Nt = [
230
231
  { datapoint: l }
231
232
  );
232
233
  }
233
- function Je(l) {
234
+ function Qe(l) {
234
235
  return [...l].map((r) => r.value).reduce((r, t) => r + t, 0);
235
236
  }
236
- const $ = _(() => I.value.map((l) => l.value).reduce((l, r) => l + r, 0)), ze = _(() => $.value / I.value.length), re = d(null), K = d(!1);
237
- function Ye({ datapoint: l, relativeIndex: r, seriesIndex: t, show: a = !1 }) {
237
+ const $ = _(() => I.value.map((l) => l.value).reduce((l, r) => l + r, 0)), Ye = _(() => $.value / I.value.length), re = d(null), K = d(!1);
238
+ function Ae({ datapoint: l, relativeIndex: r, seriesIndex: t, show: a = !1 }) {
238
239
  re.value = { datapoint: l, seriesIndex: t, config: e.value, series: M.value }, ae.value = a, S.value = r;
239
- let i = "";
240
+ let v = "";
240
241
  const g = e.value.style.chart.tooltip.customFormat;
241
- if (K.value = !1, gt(g))
242
+ if (K.value = !1, mt(g))
242
243
  try {
243
244
  const p = g({
244
245
  seriesIndex: t,
@@ -251,7 +252,7 @@ const At = (W) => (at("data-v-f76d6ac3"), W = W(), ot(), W), Xt = ["id"], Nt = [
251
252
  console.warn("Custom format cannot be applied."), K.value = !1;
252
253
  }
253
254
  if (!K.value) {
254
- if (i += `<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>`, i += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${l.color}"/></svg>`, e.value.style.chart.tooltip.showValue && (i += `<b>${A(
255
+ 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 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${l.color}"/></svg>`, e.value.style.chart.tooltip.showValue && (v += `<b>${A(
255
256
  e.value.style.chart.layout.labels.value.formatter,
256
257
  l.value,
257
258
  L({
@@ -280,9 +281,9 @@ const At = (W) => (at("data-v-f76d6ac3"), W = W(), ot(), W), Xt = ["id"], Nt = [
280
281
  seriesIndex: t
281
282
  }
282
283
  );
283
- e.value.style.chart.tooltip.showValue ? i += `<span>(${p})</span></div>` : i += `<b>${p}</b></div>`;
284
+ e.value.style.chart.tooltip.showValue ? v += `<span>(${p})</span></div>` : v += `<b>${p}</b></div>`;
284
285
  }
285
- e.value.style.chart.comments.showInTooltip && l.comment && (i += `<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>`), se.value = `<div>${i}</div>`;
286
+ 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>`), se.value = `<div>${v}</div>`;
286
287
  }
287
288
  }
288
289
  function Q(l) {
@@ -295,12 +296,12 @@ const At = (W) => (at("data-v-f76d6ac3"), W = W(), ot(), W), Xt = ["id"], Nt = [
295
296
  })), r = I.value.map((t) => t.value);
296
297
  return { head: l, body: r };
297
298
  });
298
- function Ae() {
299
- lt(() => {
300
- const l = D.value.head.map((a, i) => [[
299
+ function Ne() {
300
+ ot(() => {
301
+ const l = D.value.head.map((a, v) => [[
301
302
  a.name
302
- ], [D.value.body[i]], [isNaN(D.value.body[i] / $.value) ? "-" : D.value.body[i] / $.value * 100]]), r = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(l), t = bt(r);
303
- mt({ csvContent: t, title: e.value.style.chart.title.text || "vue-ui-donut" });
303
+ ], [D.value.body[v]], [isNaN(D.value.body[v] / $.value) ? "-" : D.value.body[v] / $.value * 100]]), r = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(l), t = wt(r);
304
+ kt({ csvContent: t, title: e.value.style.chart.title.text || "vue-ui-donut" });
304
305
  });
305
306
  }
306
307
  const oe = _(() => {
@@ -308,12 +309,12 @@ const At = (W) => (at("data-v-f76d6ac3"), W = W(), ot(), W), Xt = ["id"], Nt = [
308
309
  ' <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>',
309
310
  L({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: $.value, s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue }),
310
311
  "100%"
311
- ], r = D.value.head.map((i, g) => {
312
+ ], r = D.value.head.map((v, g) => {
312
313
  const p = L({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: D.value.body[g], s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue });
313
314
  return [
314
315
  {
315
- color: i.color,
316
- name: i.name
316
+ color: v.color,
317
+ name: v.name
317
318
  },
318
319
  p,
319
320
  isNaN(D.value.body[g] / $.value) ? "-" : (D.value.body[g] / $.value * 100).toFixed(e.value.table.td.roundingPercentage) + "%"
@@ -342,62 +343,69 @@ const At = (W) => (at("data-v-f76d6ac3"), W = W(), ot(), W), Xt = ["id"], Nt = [
342
343
  config: t
343
344
  };
344
345
  }), Z = d(!1);
345
- function Ke(l) {
346
- Z.value = l, we.value += 1;
346
+ function Ze(l) {
347
+ Z.value = l, ke.value += 1;
347
348
  }
348
- const Xe = _(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent));
349
- function Qe(l) {
349
+ const Oe = _(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent));
350
+ function et(l) {
350
351
  return l.toFixed(e.value.style.chart.legend.roundingPercentage).split("").map((r) => "-").join("");
351
352
  }
352
353
  function B(l, r) {
353
354
  de("selectDatapoint", { datapoint: l, index: r });
354
355
  }
355
- function Ne() {
356
+ function Xe() {
356
357
  y.value.showTable = !y.value.showTable;
357
358
  }
358
- function Oe() {
359
+ function Ie() {
359
360
  y.value.dataLabels.show = !y.value.dataLabels.show;
360
361
  }
361
- function Ie() {
362
+ function De() {
362
363
  y.value.showTooltip = !y.value.showTooltip;
363
364
  }
364
365
  const ue = d(!1);
365
366
  function ie() {
366
367
  ue.value = !ue.value;
367
368
  }
368
- return He({
369
- getData: Ee,
370
- generatePdf: Ce,
371
- generateCsv: Ae,
372
- generateImage: $e,
373
- toggleTable: Ne,
374
- toggleLabels: Oe,
375
- toggleTooltip: Ie,
369
+ return Re({
370
+ getData: qe,
371
+ generatePdf: $e,
372
+ generateCsv: Ne,
373
+ generateImage: Pe,
374
+ toggleTable: Xe,
375
+ toggleLabels: Ie,
376
+ toggleTooltip: De,
376
377
  toggleAnnotator: ie
377
- }), (l, r) => (o(), n("div", {
378
+ }), (l, r) => (o(), s("div", {
378
379
  ref_key: "donutChart",
379
380
  ref: H,
380
381
  class: ce(`vue-ui-donut ${Z.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
381
- style: Y(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height:100%;" : ""} text-align:center;${e.value.style.chart.title.text ? "" : "padding-top:36px"};background:${e.value.style.chart.backgroundColor}`),
382
+ style: Y(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height:100%;" : ""} text-align:center;background:${e.value.style.chart.backgroundColor}`),
382
383
  id: `donut__${k.value}`
383
384
  }, [
384
- e.value.userOptions.buttons.annotator ? (o(), V(zt, {
385
+ e.value.userOptions.buttons.annotator ? (o(), V(At, {
385
386
  key: 0,
386
387
  parent: H.value,
387
388
  backgroundColor: e.value.style.chart.backgroundColor,
388
389
  color: e.value.style.chart.color,
389
390
  active: ue.value,
390
391
  onClose: ie
391
- }, null, 8, ["parent", "backgroundColor", "color", "active"])) : v("", !0),
392
+ }, null, 8, ["parent", "backgroundColor", "color", "active"])) : i("", !0),
392
393
  m(l.$slots, "userConfig", {}, void 0, !0),
393
- e.value.style.chart.title.text ? (o(), n("div", {
394
+ We.value ? (o(), s("div", {
394
395
  key: 1,
396
+ ref_key: "noTitle",
397
+ ref: pe,
398
+ class: "vue-data-ui-no-title-space",
399
+ style: "height:36px; width: 100%;background:transparent"
400
+ }, null, 512)) : i("", !0),
401
+ e.value.style.chart.title.text ? (o(), s("div", {
402
+ key: 2,
395
403
  ref_key: "chartTitle",
396
404
  ref: he,
397
405
  style: "width:100%;background:transparent;padding-bottom:24px"
398
406
  }, [
399
- (o(), V(_t, {
400
- key: `title_${pe.value}`,
407
+ (o(), V(Ct, {
408
+ key: `title_${ge.value}`,
401
409
  config: {
402
410
  title: {
403
411
  cy: "donut-div-title",
@@ -409,15 +417,15 @@ const At = (W) => (at("data-v-f76d6ac3"), W = W(), ot(), W), Xt = ["id"], Nt = [
409
417
  }
410
418
  }
411
419
  }, null, 8, ["config"]))
412
- ], 512)) : v("", !0),
413
- e.value.userOptions.show && q.value ? (o(), V(Ct, {
420
+ ], 512)) : i("", !0),
421
+ e.value.userOptions.show && q.value ? (o(), V(Pt, {
414
422
  ref_key: "details",
415
- ref: Ue,
416
- key: `user_option_${we.value}`,
423
+ ref: Ee,
424
+ key: `user_option_${ke.value}`,
417
425
  backgroundColor: e.value.style.chart.backgroundColor,
418
426
  color: e.value.style.chart.color,
419
- isPrinting: s(_e),
420
- isImaging: s(xe),
427
+ isPrinting: n(xe),
428
+ isImaging: n(Ce),
421
429
  uid: k.value,
422
430
  hasTooltip: e.value.style.chart.tooltip.show && e.value.userOptions.buttons.tooltip,
423
431
  hasPdf: e.value.userOptions.buttons.pdf,
@@ -433,15 +441,15 @@ const At = (W) => (at("data-v-f76d6ac3"), W = W(), ot(), W), Xt = ["id"], Nt = [
433
441
  titles: { ...e.value.userOptions.buttonTitles },
434
442
  hasAnnotator: e.value.userOptions.buttons.annotator,
435
443
  isAnnotation: ue.value,
436
- onToggleFullscreen: Ke,
437
- onGeneratePdf: s(Ce),
438
- onGenerateCsv: Ae,
439
- onGenerateImage: s($e),
440
- onToggleTable: Ne,
441
- onToggleLabels: Oe,
442
- onToggleTooltip: Ie,
444
+ onToggleFullscreen: Ze,
445
+ onGeneratePdf: n($e),
446
+ onGenerateCsv: Ne,
447
+ onGenerateImage: n(Pe),
448
+ onToggleTable: Xe,
449
+ onToggleLabels: Ie,
450
+ onToggleTooltip: De,
443
451
  onToggleAnnotator: ie
444
- }, tt({ _: 2 }, [
452
+ }, at({ _: 2 }, [
445
453
  l.$slots.optionTooltip ? {
446
454
  name: "optionTooltip",
447
455
  fn: P(() => [
@@ -498,43 +506,43 @@ const At = (W) => (at("data-v-f76d6ac3"), W = W(), ot(), W), Xt = ["id"], Nt = [
498
506
  ]),
499
507
  key: "7"
500
508
  } : void 0
501
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "chartElement", "position", "isTooltip", "titles", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : v("", !0),
502
- q.value ? (o(), n("svg", {
503
- key: 3,
504
- xmlns: s(dt),
509
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "chartElement", "position", "isTooltip", "titles", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : i("", !0),
510
+ q.value ? (o(), s("svg", {
511
+ key: 4,
512
+ xmlns: n(yt),
505
513
  class: ce({ "vue-data-ui-fullscreen--on": Z.value, "vue-data-ui-fulscreen--off": !Z.value }),
506
514
  viewBox: `0 0 ${u.value.width <= 0 ? 10 : u.value.width} ${u.value.height <= 0 ? 10 : u.value.height}`,
507
515
  style: Y(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
508
516
  }, [
509
- Be(Tt),
510
- e.value.type === "classic" ? (o(), n("defs", Ot, [
511
- e.value.style.chart.useGradient ? (o(), n("radialGradient", {
517
+ Me(Yt),
518
+ e.value.type === "classic" ? (o(), s("defs", Dt, [
519
+ e.value.style.chart.useGradient ? (o(), s("radialGradient", {
512
520
  key: 0,
513
521
  id: `gradient_${k.value}`
514
522
  }, [
515
523
  h("stop", {
516
524
  offset: "0%",
517
- "stop-color": s(ee)(e.value.style.chart.backgroundColor, 0),
525
+ "stop-color": n(ee)(e.value.style.chart.backgroundColor, 0),
518
526
  "stop-opacity": "0"
519
- }, null, 8, Dt),
527
+ }, null, 8, Mt),
520
528
  h("stop", {
521
529
  offset: `${(1 - J.value / C.value) * 100}%`,
522
- "stop-color": s(ee)("#FFFFFF", 0),
530
+ "stop-color": n(ee)("#FFFFFF", 0),
523
531
  "stop-opacity": "0"
524
- }, null, 8, Bt),
532
+ }, null, 8, Gt),
525
533
  h("stop", {
526
534
  offset: `${(1 - J.value / C.value / 2) * 100}%`,
527
- "stop-color": s(ee)("#FFFFFF", e.value.style.chart.gradientIntensity)
528
- }, null, 8, Mt),
535
+ "stop-color": n(ee)("#FFFFFF", e.value.style.chart.gradientIntensity)
536
+ }, null, 8, Vt),
529
537
  h("stop", {
530
538
  offset: "100%",
531
- "stop-color": s(ee)(e.value.style.chart.backgroundColor, 0),
539
+ "stop-color": n(ee)(e.value.style.chart.backgroundColor, 0),
532
540
  "stop-opacity": "0"
533
- }, null, 8, Gt)
534
- ], 8, It)) : v("", !0)
535
- ])) : v("", !0),
536
- e.value.type === "polar" ? (o(), n("defs", Vt, [
537
- (o(!0), n(w, null, O(c.value, (t, a) => (o(), n("radialGradient", {
541
+ }, null, 8, jt)
542
+ ], 8, Bt)) : i("", !0)
543
+ ])) : i("", !0),
544
+ e.value.type === "polar" ? (o(), s("defs", Ht, [
545
+ (o(!0), s(w, null, X(c.value, (t, a) => (o(), s("radialGradient", {
538
546
  id: `polar_gradient_${a}_${k.value}`,
539
547
  cx: t.middlePoint.x / u.value.width * 100 + "%",
540
548
  cy: t.middlePoint.y / u.value.height * 100 + "%",
@@ -542,15 +550,15 @@ const At = (W) => (at("data-v-f76d6ac3"), W = W(), ot(), W), Xt = ["id"], Nt = [
542
550
  }, [
543
551
  h("stop", {
544
552
  offset: "0%",
545
- "stop-color": s(ht)(f.value[a].color, 0.05),
553
+ "stop-color": n(ft)(f.value[a].color, 0.05),
546
554
  "stop-opacity": e.value.style.chart.gradientIntensity / 100
547
- }, null, 8, Ht),
555
+ }, null, 8, Ut),
548
556
  h("stop", {
549
557
  offset: "100%",
550
558
  "stop-color": f.value[a].color
551
- }, null, 8, Rt)
552
- ], 8, jt))), 256))
553
- ])) : v("", !0),
559
+ }, null, 8, Et)
560
+ ], 8, Rt))), 256))
561
+ ])) : i("", !0),
554
562
  h("defs", null, [
555
563
  h("filter", {
556
564
  id: `blur_${k.value}`,
@@ -563,9 +571,9 @@ const At = (W) => (at("data-v-f76d6ac3"), W = W(), ot(), W), Xt = ["id"], Nt = [
563
571
  in: "SourceGraphic",
564
572
  stdDeviation: 2,
565
573
  id: `blur_std_${k.value}`
566
- }, null, 8, Et),
567
- Wt
568
- ], 8, Ut),
574
+ }, null, 8, qt),
575
+ Jt
576
+ ], 8, Wt),
569
577
  h("filter", {
570
578
  id: `shadow_${k.value}`,
571
579
  "color-interpolation-filters": "sRGB"
@@ -576,8 +584,8 @@ const At = (W) => (at("data-v-f76d6ac3"), W = W(), ot(), W), Xt = ["id"], Nt = [
576
584
  stdDeviation: "10",
577
585
  "flood-opacity": "0.5",
578
586
  "flood-color": e.value.style.chart.layout.donut.shadowColor
579
- }, null, 8, Jt)
580
- ], 8, qt),
587
+ }, null, 8, Qt)
588
+ ], 8, Kt),
581
589
  h("filter", {
582
590
  id: `drop_shadow_${k.value}`,
583
591
  "color-interpolation-filters": "sRGB",
@@ -592,26 +600,26 @@ const At = (W) => (at("data-v-f76d6ac3"), W = W(), ot(), W), Xt = ["id"], Nt = [
592
600
  stdDeviation: "3",
593
601
  "flood-opacity": "1",
594
602
  "flood-color": e.value.style.chart.layout.donut.shadowColor
595
- }, null, 8, Qt)
596
- ], 8, Kt)
603
+ }, null, 8, el)
604
+ ], 8, Zt)
597
605
  ]),
598
- e.value.type === "classic" ? (o(!0), n(w, { key: 2 }, O(f.value, (t, a) => (o(), n("g", null, [
599
- z(t) && y.value.dataLabels.show ? (o(), n("path", {
606
+ e.value.type === "classic" ? (o(!0), s(w, { key: 2 }, X(f.value, (t, a) => (o(), s("g", null, [
607
+ z(t) && y.value.dataLabels.show ? (o(), s("path", {
600
608
  key: 0,
601
- d: s(yt)(t, { x: u.value.width / 2, y: u.value.height / 2 }, 16, 16, !1, !1, J.value),
609
+ d: n(pt)(t, { x: u.value.width / 2, y: u.value.height / 2 }, 16, 16, !1, !1, J.value),
602
610
  stroke: t.color,
603
611
  "stroke-width": "1",
604
612
  "stroke-linecap": "round",
605
613
  "stroke-linejoin": "round",
606
614
  fill: "none",
607
615
  filter: Q(a)
608
- }, null, 8, Zt)) : v("", !0)
609
- ]))), 256)) : v("", !0),
610
- e.value.type === "polar" ? (o(!0), n(w, { key: 3 }, O(f.value, (t, a) => (o(), n("g", null, [
611
- z(t) && y.value.dataLabels.show ? (o(), n("line", {
616
+ }, null, 8, tl)) : i("", !0)
617
+ ]))), 256)) : i("", !0),
618
+ e.value.type === "polar" ? (o(!0), s(w, { key: 3 }, X(f.value, (t, a) => (o(), s("g", null, [
619
+ z(t) && y.value.dataLabels.show ? (o(), s("line", {
612
620
  key: 0,
613
- x1: s(F)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 24, centerX: u.value.width / 2, centerY: u.value.height / 2 }).x,
614
- y1: s(F)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 24, centerX: u.value.width / 2, centerY: u.value.height / 2 }).y,
621
+ x1: n(F)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 24, centerX: u.value.width / 2, centerY: u.value.height / 2 }).x,
622
+ y1: n(F)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 24, centerX: u.value.width / 2, centerY: u.value.height / 2 }).y,
615
623
  x2: c.value[a].middlePoint.x,
616
624
  y2: c.value[a].middlePoint.y,
617
625
  stroke: t.color,
@@ -620,57 +628,57 @@ const At = (W) => (at("data-v-f76d6ac3"), W = W(), ot(), W), Xt = ["id"], Nt = [
620
628
  "stroke-linejoin": "round",
621
629
  fill: "none",
622
630
  filter: Q(a)
623
- }, null, 8, el)) : v("", !0)
624
- ]))), 256)) : v("", !0),
625
- e.value.type === "classic" ? (o(), n("circle", {
631
+ }, null, 8, ll)) : i("", !0)
632
+ ]))), 256)) : i("", !0),
633
+ e.value.type === "classic" ? (o(), s("circle", {
626
634
  key: 4,
627
635
  cx: u.value.width / 2,
628
636
  cy: u.value.height / 2,
629
637
  r: C.value <= 0 ? 10 : C.value,
630
638
  fill: e.value.style.chart.backgroundColor,
631
639
  filter: e.value.style.chart.layout.donut.useShadow ? `url(#shadow_${k.value})` : ""
632
- }, null, 8, tl)) : v("", !0),
633
- $.value && e.value.type === "classic" ? (o(), n(w, { key: 5 }, [
634
- (o(!0), n(w, null, O(f.value, (t, a) => (o(), n("path", {
640
+ }, null, 8, al)) : i("", !0),
641
+ $.value && e.value.type === "classic" ? (o(), s(w, { key: 5 }, [
642
+ (o(!0), s(w, null, X(f.value, (t, a) => (o(), s("path", {
635
643
  stroke: e.value.style.chart.backgroundColor,
636
644
  d: t.arcSlice,
637
645
  fill: "#FFFFFF"
638
- }, null, 8, ll))), 256)),
639
- (o(!0), n(w, null, O(f.value, (t, a) => (o(), n("path", {
646
+ }, null, 8, ol))), 256)),
647
+ (o(!0), s(w, null, X(f.value, (t, a) => (o(), s("path", {
640
648
  class: "vue-ui-donut-arc-path",
641
649
  d: t.arcSlice,
642
- fill: s(ee)(t.color, 80),
650
+ fill: n(ee)(t.color, 80),
643
651
  stroke: e.value.style.chart.backgroundColor,
644
652
  "stroke-width": e.value.style.chart.layout.donut.borderWidth,
645
653
  filter: Q(a)
646
- }, null, 8, al))), 256))
647
- ], 64)) : v("", !0),
648
- $.value && e.value.type === "polar" ? (o(), n(w, { key: 6 }, [
649
- f.value.length > 1 ? (o(), n("g", ol, [
650
- (o(!0), n(w, null, O(f.value, (t, a) => (o(), n("path", {
654
+ }, null, 8, ul))), 256))
655
+ ], 64)) : i("", !0),
656
+ $.value && e.value.type === "polar" ? (o(), s(w, { key: 6 }, [
657
+ f.value.length > 1 ? (o(), s("g", sl, [
658
+ (o(!0), s(w, null, X(f.value, (t, a) => (o(), s("path", {
651
659
  stroke: e.value.style.chart.backgroundColor,
652
660
  d: c.value[a].path,
653
661
  fill: "#FFFFFF"
654
- }, null, 8, ul))), 256)),
655
- e.value.style.chart.layout.donut.useShadow ? (o(), n("g", sl, [
656
- (o(!0), n(w, null, O(f.value, (t, a) => (o(), n("path", {
662
+ }, null, 8, nl))), 256)),
663
+ e.value.style.chart.layout.donut.useShadow ? (o(), s("g", rl, [
664
+ (o(!0), s(w, null, X(f.value, (t, a) => (o(), s("path", {
657
665
  class: "vue-ui-donut-arc-path",
658
666
  d: c.value[a].path,
659
667
  fill: "transparent",
660
668
  stroke: e.value.style.chart.backgroundColor,
661
669
  "stroke-width": e.value.style.chart.layout.donut.borderWidth,
662
670
  filter: `url(#drop_shadow_${k.value})`
663
- }, null, 8, nl))), 256))
664
- ])) : v("", !0),
665
- (o(!0), n(w, null, O(f.value, (t, a) => (o(), n("path", {
671
+ }, null, 8, il))), 256))
672
+ ])) : i("", !0),
673
+ (o(!0), s(w, null, X(f.value, (t, a) => (o(), s("path", {
666
674
  class: "vue-ui-donut-arc-path",
667
675
  d: c.value[a].path,
668
676
  fill: e.value.style.chart.useGradient ? `url(#polar_gradient_${a}_${k.value})` : t.color,
669
677
  stroke: e.value.style.chart.backgroundColor,
670
678
  "stroke-width": e.value.style.chart.layout.donut.borderWidth,
671
679
  filter: Q(a)
672
- }, null, 8, rl))), 256))
673
- ])) : (o(), n("g", il, [
680
+ }, null, 8, vl))), 256))
681
+ ])) : (o(), s("g", cl, [
674
682
  h("circle", {
675
683
  cx: u.value.width / 2,
676
684
  cy: u.value.height / 2,
@@ -678,17 +686,17 @@ const At = (W) => (at("data-v-f76d6ac3"), W = W(), ot(), W), Xt = ["id"], Nt = [
678
686
  fill: e.value.style.chart.useGradient ? `url(#polar_gradient_0_${k.value})` : f.value[0].color,
679
687
  stroke: e.value.style.chart.backgroundColor,
680
688
  "stroke-width": e.value.style.chart.layout.donut.borderWidth
681
- }, null, 8, vl)
689
+ }, null, 8, dl)
682
690
  ]))
683
- ], 64)) : (o(), n("circle", {
691
+ ], 64)) : (o(), s("circle", {
684
692
  key: 7,
685
693
  cx: u.value.width / 2,
686
694
  cy: u.value.height / 2,
687
695
  r: C.value <= 0 ? 10 : C.value,
688
696
  fill: "transparent",
689
697
  stroke: e.value.style.chart.backgroundColor
690
- }, null, 8, cl)),
691
- e.value.style.chart.useGradient && e.value.type === "classic" ? (o(), n("circle", {
698
+ }, null, 8, hl)),
699
+ e.value.style.chart.useGradient && e.value.type === "classic" ? (o(), s("circle", {
692
700
  key: 8,
693
701
  cx: u.value.width / 2,
694
702
  cy: u.value.height / 2,
@@ -697,32 +705,32 @@ const At = (W) => (at("data-v-f76d6ac3"), W = W(), ot(), W), Xt = ["id"], Nt = [
697
705
  C.value <= 0 ? 10 : C.value
698
706
  ),
699
707
  fill: `url(#gradient_${k.value})`
700
- }, null, 8, dl)) : v("", !0),
701
- $.value ? (o(), n(w, { key: 9 }, [
702
- f.value.length > 1 || e.value.type === "classic" ? (o(), n("g", hl, [
703
- (o(!0), n(w, null, O(f.value, (t, a) => (o(), n("path", {
708
+ }, null, 8, yl)) : i("", !0),
709
+ $.value ? (o(), s(w, { key: 9 }, [
710
+ f.value.length > 1 || e.value.type === "classic" ? (o(), s("g", fl, [
711
+ (o(!0), s(w, null, X(f.value, (t, a) => (o(), s("path", {
704
712
  "data-cy-donut-trap": "",
705
713
  d: e.value.type === "classic" ? t.arcSlice : c.value[a].path,
706
714
  fill: S.value === a ? "rgba(0,0,0,0.1)" : "transparent",
707
- onMouseenter: (i) => Ye({
715
+ onMouseenter: (v) => Ae({
708
716
  datapoint: t,
709
717
  relativeIndex: a,
710
718
  seriesIndex: t.seriesIndex,
711
719
  show: !0
712
720
  }),
713
- onMouseleave: r[0] || (r[0] = (i) => {
721
+ onMouseleave: r[0] || (r[0] = (v) => {
714
722
  ae.value = !1, S.value = null;
715
723
  }),
716
- onClick: (i) => B(t, a)
717
- }, null, 40, yl))), 256))
718
- ])) : (o(), n("g", fl, [
724
+ onClick: (v) => B(t, a)
725
+ }, null, 40, pl))), 256))
726
+ ])) : (o(), s("g", gl, [
719
727
  h("circle", {
720
728
  cx: u.value.width / 2,
721
729
  cy: u.value.height / 2,
722
730
  r: C.value,
723
731
  fill: S.value === l.i ? "rgba(0,0,0,0.1)" : "transparent",
724
732
  "data-cy-donut-trap": "",
725
- onMouseenter: r[1] || (r[1] = (t) => Ye({
733
+ onMouseenter: r[1] || (r[1] = (t) => Ae({
726
734
  datapoint: f.value[0],
727
735
  relativeIndex: 0,
728
736
  seriesIndex: f.value[0].seriesIndex,
@@ -732,11 +740,11 @@ const At = (W) => (at("data-v-f76d6ac3"), W = W(), ot(), W), Xt = ["id"], Nt = [
732
740
  ae.value = !1, S.value = null;
733
741
  }),
734
742
  onClick: r[3] || (r[3] = (t) => B(f.value[0], l.i))
735
- }, null, 40, pl)
743
+ }, null, 40, bl)
736
744
  ]))
737
- ], 64)) : v("", !0),
738
- e.value.type === "classic" ? (o(), n(w, { key: 10 }, [
739
- e.value.style.chart.layout.labels.hollow.total.show ? (o(), n("text", {
745
+ ], 64)) : i("", !0),
746
+ e.value.type === "classic" ? (o(), s(w, { key: 10 }, [
747
+ e.value.style.chart.layout.labels.hollow.total.show ? (o(), s("text", {
740
748
  key: 0,
741
749
  "text-anchor": "middle",
742
750
  x: u.value.width / 2,
@@ -744,8 +752,8 @@ const At = (W) => (at("data-v-f76d6ac3"), W = W(), ot(), W), Xt = ["id"], Nt = [
744
752
  fill: e.value.style.chart.layout.labels.hollow.total.color,
745
753
  "font-size": e.value.style.chart.layout.labels.hollow.total.fontSize,
746
754
  style: Y(`font-weight:${e.value.style.chart.layout.labels.hollow.total.bold ? "bold" : ""}`)
747
- }, x(e.value.style.chart.layout.labels.hollow.total.text), 13, gl)) : v("", !0),
748
- e.value.style.chart.layout.labels.hollow.total.show ? (o(), n("text", {
755
+ }, x(e.value.style.chart.layout.labels.hollow.total.text), 13, ml)) : i("", !0),
756
+ e.value.style.chart.layout.labels.hollow.total.show ? (o(), s("text", {
749
757
  key: 1,
750
758
  "text-anchor": "middle",
751
759
  x: u.value.width / 2,
@@ -753,16 +761,16 @@ const At = (W) => (at("data-v-f76d6ac3"), W = W(), ot(), W), Xt = ["id"], Nt = [
753
761
  fill: e.value.style.chart.layout.labels.hollow.total.value.color,
754
762
  "font-size": e.value.style.chart.layout.labels.hollow.total.value.fontSize,
755
763
  style: Y(`font-weight:${e.value.style.chart.layout.labels.hollow.total.value.bold ? "bold" : ""}`)
756
- }, x(s(A)(
764
+ }, x(n(A)(
757
765
  e.value.style.chart.layout.labels.hollow.total.value.formatter,
758
766
  $.value,
759
- s(L)({
767
+ n(L)({
760
768
  p: e.value.style.chart.layout.labels.hollow.total.value.prefix,
761
769
  v: $.value,
762
770
  s: e.value.style.chart.layout.labels.hollow.total.value.suffix
763
771
  })
764
- )), 13, bl)) : v("", !0),
765
- e.value.style.chart.layout.labels.hollow.average.show ? (o(), n("text", {
772
+ )), 13, wl)) : i("", !0),
773
+ e.value.style.chart.layout.labels.hollow.average.show ? (o(), s("text", {
766
774
  key: 2,
767
775
  "text-anchor": "middle",
768
776
  x: u.value.width / 2,
@@ -770,8 +778,8 @@ const At = (W) => (at("data-v-f76d6ac3"), W = W(), ot(), W), Xt = ["id"], Nt = [
770
778
  fill: e.value.style.chart.layout.labels.hollow.average.color,
771
779
  "font-size": e.value.style.chart.layout.labels.hollow.average.fontSize,
772
780
  style: Y(`font-weight:${e.value.style.chart.layout.labels.hollow.average.bold ? "bold" : ""}`)
773
- }, x(e.value.style.chart.layout.labels.hollow.average.text), 13, ml)) : v("", !0),
774
- e.value.style.chart.layout.labels.hollow.average.show ? (o(), n("text", {
781
+ }, x(e.value.style.chart.layout.labels.hollow.average.text), 13, kl)) : i("", !0),
782
+ e.value.style.chart.layout.labels.hollow.average.show ? (o(), s("text", {
775
783
  key: 3,
776
784
  "text-anchor": "middle",
777
785
  x: u.value.width / 2,
@@ -779,25 +787,25 @@ const At = (W) => (at("data-v-f76d6ac3"), W = W(), ot(), W), Xt = ["id"], Nt = [
779
787
  fill: e.value.style.chart.layout.labels.hollow.average.value.color,
780
788
  "font-size": e.value.style.chart.layout.labels.hollow.average.value.fontSize,
781
789
  style: Y(`font-weight:${e.value.style.chart.layout.labels.hollow.average.value.bold ? "bold" : ""}`)
782
- }, x(G.value ? "--" : s(A)(
790
+ }, x(G.value ? "--" : n(A)(
783
791
  e.value.style.chart.layout.labels.hollow.average.value.formatter,
784
- ze.value,
785
- s(L)({
792
+ Ye.value,
793
+ n(L)({
786
794
  p: e.value.style.chart.layout.labels.hollow.average.value.prefix,
787
- v: ze.value,
795
+ v: Ye.value,
788
796
  s: e.value.style.chart.layout.labels.hollow.average.value.suffix,
789
797
  r: e.value.style.chart.layout.labels.hollow.average.value.rounding
790
798
  })
791
- )), 13, wl)) : v("", !0)
792
- ], 64)) : v("", !0),
793
- (o(!0), n(w, null, O(f.value, (t, a) => (o(), n("g", {
799
+ )), 13, _l)) : i("", !0)
800
+ ], 64)) : i("", !0),
801
+ (o(!0), s(w, null, X(f.value, (t, a) => (o(), s("g", {
794
802
  filter: Q(a),
795
803
  class: ce({ animated: e.value.useCssAnimation })
796
804
  }, [
797
- e.value.style.chart.layout.labels.dataLabels.useLabelSlots ? (o(), n("g", _l, [
798
- (o(), n("foreignObject", {
799
- x: s(b)(t, !0).anchor === "end" ? s(b)(t).x - 120 : s(b)(t, !0).anchor === "middle" ? s(b)(t).x - 60 : s(b)(t).x,
800
- y: s(te)(t) - (Xe.value ? 20 : 0),
805
+ e.value.style.chart.layout.labels.dataLabels.useLabelSlots ? (o(), s("g", Cl, [
806
+ (o(), s("foreignObject", {
807
+ x: n(b)(t, !0).anchor === "end" ? n(b)(t).x - 120 : n(b)(t, !0).anchor === "middle" ? n(b)(t).x - 60 : n(b)(t).x,
808
+ y: n(te)(t) - (Oe.value ? 20 : 0),
801
809
  width: "120",
802
810
  height: "60",
803
811
  style: { overflow: "visible" }
@@ -806,125 +814,125 @@ const At = (W) => (at("data-v-f76d6ac3"), W = W(), ot(), W), Xt = ["id"], Nt = [
806
814
  m(l.$slots, "dataLabel", U(E({
807
815
  datapoint: t,
808
816
  isBlur: !e.value.useBlurOnHover || [null, void 0].includes(S.value) || S.value === a,
809
- isSafari: Xe.value,
817
+ isSafari: Oe.value,
810
818
  isVisible: z(t) && y.value.dataLabels.show,
811
- textAlign: s(b)(t, !0, 16, !0).anchor,
812
- flexAlign: s(b)(t, !0, 16).anchor,
819
+ textAlign: n(b)(t, !0, 16, !0).anchor,
820
+ flexAlign: n(b)(t, !0, 16).anchor,
813
821
  percentage: ne(t, f.value)
814
822
  })), void 0, !0)
815
823
  ])
816
- ], 8, xl))
817
- ])) : (o(), n("g", Cl, [
818
- e.value.type === "classic" ? (o(), n(w, { key: 0 }, [
819
- z(t) && y.value.dataLabels.show ? (o(), n("circle", {
824
+ ], 8, $l))
825
+ ])) : (o(), s("g", Pl, [
826
+ e.value.type === "classic" ? (o(), s(w, { key: 0 }, [
827
+ z(t) && y.value.dataLabels.show ? (o(), s("circle", {
820
828
  key: 0,
821
- cx: s(b)(t).x,
822
- cy: s(te)(t) - 3.5,
829
+ cx: n(b)(t).x,
830
+ cy: n(te)(t) - 3.5,
823
831
  fill: t.color,
824
832
  stroke: e.value.style.chart.backgroundColor,
825
833
  "stroke-width": 1,
826
834
  r: 3,
827
835
  filter: !e.value.useBlurOnHover || [null, void 0].includes(S.value) || S.value === a ? "" : `url(#blur_${k.value})`,
828
- onClick: (i) => B(t, a)
829
- }, null, 8, $l)) : v("", !0)
830
- ], 64)) : v("", !0),
831
- e.value.type === "polar" ? (o(), n(w, { key: 1 }, [
832
- z(t) && y.value.dataLabels.show ? (o(), n("circle", {
836
+ onClick: (v) => B(t, a)
837
+ }, null, 8, Sl)) : i("", !0)
838
+ ], 64)) : i("", !0),
839
+ e.value.type === "polar" ? (o(), s(w, { key: 1 }, [
840
+ z(t) && y.value.dataLabels.show ? (o(), s("circle", {
833
841
  key: 0,
834
- cx: s(F)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 24, centerX: u.value.width / 2, centerY: u.value.height / 2 }).x,
835
- cy: s(F)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 24, centerX: u.value.width / 2, centerY: u.value.height / 2 }).y,
842
+ cx: n(F)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 24, centerX: u.value.width / 2, centerY: u.value.height / 2 }).x,
843
+ cy: n(F)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 24, centerX: u.value.width / 2, centerY: u.value.height / 2 }).y,
836
844
  fill: t.color,
837
845
  stroke: e.value.style.chart.backgroundColor,
838
846
  "stroke-width": 1,
839
847
  r: 3,
840
848
  filter: !e.value.useBlurOnHover || [null, void 0].includes(S.value) || S.value === a ? "" : `url(#blur_${k.value})`,
841
- onClick: (i) => B(t, a)
842
- }, null, 8, Pl)) : v("", !0)
843
- ], 64)) : v("", !0),
844
- e.value.type === "classic" ? (o(), n(w, { key: 2 }, [
845
- z(t) && y.value.dataLabels.show ? (o(), n("text", {
849
+ onClick: (v) => B(t, a)
850
+ }, null, 8, Ll)) : i("", !0)
851
+ ], 64)) : i("", !0),
852
+ e.value.type === "classic" ? (o(), s(w, { key: 2 }, [
853
+ z(t) && y.value.dataLabels.show ? (o(), s("text", {
846
854
  key: 0,
847
- "text-anchor": s(b)(t, !0, 12).anchor,
848
- x: s(b)(t, !0, 12).x,
849
- y: s(te)(t),
855
+ "text-anchor": n(b)(t, !0, 12).anchor,
856
+ x: n(b)(t, !0, 12).x,
857
+ y: n(te)(t),
850
858
  fill: e.value.style.chart.layout.labels.percentage.color,
851
859
  "font-size": e.value.style.chart.layout.labels.percentage.fontSize,
852
860
  style: Y(`font-weight:${e.value.style.chart.layout.labels.percentage.bold ? "bold" : ""}`),
853
- onClick: (i) => B(t, a)
854
- }, x(ne(t, f.value)) + " " + x(e.value.style.chart.layout.labels.value.show ? `(${s(A)(
861
+ onClick: (v) => B(t, a)
862
+ }, x(ne(t, f.value)) + " " + x(e.value.style.chart.layout.labels.value.show ? `(${n(A)(
855
863
  e.value.style.chart.layout.labels.value.formatter,
856
864
  t.value,
857
- s(L)({
865
+ n(L)({
858
866
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
859
867
  v: t.value,
860
868
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
861
869
  r: e.value.style.chart.layout.labels.value.rounding
862
870
  }),
863
871
  { datapoint: t }
864
- )})` : ""), 13, Sl)) : v("", !0),
865
- z(t) && y.value.dataLabels.show ? (o(), n("text", {
872
+ )})` : ""), 13, Fl)) : i("", !0),
873
+ z(t) && y.value.dataLabels.show ? (o(), s("text", {
866
874
  key: 1,
867
- "text-anchor": s(b)(t).anchor,
868
- x: s(b)(t, !0, 12).x,
869
- y: s(te)(t) + e.value.style.chart.layout.labels.percentage.fontSize,
875
+ "text-anchor": n(b)(t).anchor,
876
+ x: n(b)(t, !0, 12).x,
877
+ y: n(te)(t) + e.value.style.chart.layout.labels.percentage.fontSize,
870
878
  fill: e.value.style.chart.layout.labels.name.color,
871
879
  "font-size": e.value.style.chart.layout.labels.name.fontSize,
872
880
  style: Y(`font-weight:${e.value.style.chart.layout.labels.name.bold ? "bold" : ""}`),
873
- onClick: (i) => B(t, a)
874
- }, x(t.name), 13, Ll)) : v("", !0)
875
- ], 64)) : v("", !0),
876
- e.value.type === "polar" ? (o(), n(w, { key: 3 }, [
877
- z(t) && y.value.dataLabels.show ? (o(), n("text", {
881
+ onClick: (v) => B(t, a)
882
+ }, x(t.name), 13, Tl)) : i("", !0)
883
+ ], 64)) : i("", !0),
884
+ e.value.type === "polar" ? (o(), s(w, { key: 3 }, [
885
+ z(t) && y.value.dataLabels.show ? (o(), s("text", {
878
886
  key: 0,
879
887
  "text-anchor": R(c.value[a].middlePoint),
880
- x: s(F)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: u.value.width / 2, centerY: u.value.height / 2 }).x,
881
- y: s(F)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: u.value.width / 2, centerY: u.value.height / 2 }).y,
888
+ x: n(F)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: u.value.width / 2, centerY: u.value.height / 2 }).x,
889
+ y: n(F)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: u.value.width / 2, centerY: u.value.height / 2 }).y,
882
890
  fill: e.value.style.chart.layout.labels.percentage.color,
883
891
  "font-size": e.value.style.chart.layout.labels.percentage.fontSize,
884
892
  style: Y(`font-weight:${e.value.style.chart.layout.labels.percentage.bold ? "bold" : ""}`),
885
- onClick: (i) => B(t, a)
886
- }, x(ne(t, f.value)) + " " + x(e.value.style.chart.layout.labels.value.show ? `(${s(A)(
893
+ onClick: (v) => B(t, a)
894
+ }, x(ne(t, f.value)) + " " + x(e.value.style.chart.layout.labels.value.show ? `(${n(A)(
887
895
  e.value.style.chart.layout.labels.value.formatter,
888
896
  t.value,
889
- s(L)({
897
+ n(L)({
890
898
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
891
899
  v: t.value,
892
900
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
893
901
  r: e.value.style.chart.layout.labels.value.rounding
894
902
  }),
895
903
  { datapoint: t }
896
- )})` : ""), 13, Fl)) : v("", !0),
897
- z(t) && y.value.dataLabels.show ? (o(), n("text", {
904
+ )})` : ""), 13, zl)) : i("", !0),
905
+ z(t) && y.value.dataLabels.show ? (o(), s("text", {
898
906
  key: 1,
899
907
  "text-anchor": R(c.value[a].middlePoint),
900
- x: s(F)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: u.value.width / 2, centerY: u.value.height / 2 }).x,
901
- y: s(F)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: u.value.width / 2, centerY: u.value.height / 2 }).y + e.value.style.chart.layout.labels.percentage.fontSize,
908
+ x: n(F)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: u.value.width / 2, centerY: u.value.height / 2 }).x,
909
+ y: n(F)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: u.value.width / 2, centerY: u.value.height / 2 }).y + e.value.style.chart.layout.labels.percentage.fontSize,
902
910
  fill: e.value.style.chart.layout.labels.name.color,
903
911
  "font-size": e.value.style.chart.layout.labels.name.fontSize,
904
912
  style: Y(`font-weight:${e.value.style.chart.layout.labels.name.bold ? "bold" : ""}`),
905
- onClick: (i) => B(t, a)
906
- }, x(t.name), 13, Tl)) : v("", !0)
907
- ], 64)) : v("", !0)
913
+ onClick: (v) => B(t, a)
914
+ }, x(t.name), 13, Yl)) : i("", !0)
915
+ ], 64)) : i("", !0)
908
916
  ])),
909
- y.value.dataLabels.show && e.value.style.chart.comments.show && t.comment ? (o(), n("g", zl, [
910
- z(t) && e.value.type === "classic" ? (o(), n("foreignObject", {
917
+ y.value.dataLabels.show && e.value.style.chart.comments.show && t.comment ? (o(), s("g", Al, [
918
+ z(t) && e.value.type === "classic" ? (o(), s("foreignObject", {
911
919
  key: 0,
912
- x: e.value.style.chart.comments.offsetX + (s(b)(t, !0).anchor === "end" ? s(b)(t).x - e.value.style.chart.comments.width : s(b)(t, !0).anchor === "middle" ? s(b)(t).x - e.value.style.chart.comments.width / 2 : s(b)(t).x),
913
- y: s(te)(t) + 24 + e.value.style.chart.comments.offsetY,
920
+ x: e.value.style.chart.comments.offsetX + (n(b)(t, !0).anchor === "end" ? n(b)(t).x - e.value.style.chart.comments.width : n(b)(t, !0).anchor === "middle" ? n(b)(t).x - e.value.style.chart.comments.width / 2 : n(b)(t).x),
921
+ y: n(te)(t) + 24 + e.value.style.chart.comments.offsetY,
914
922
  width: e.value.style.chart.comments.width,
915
923
  height: "200",
916
924
  style: { overflow: "visible", "pointer-events": "none" }
917
925
  }, [
918
926
  h("div", null, [
919
927
  m(l.$slots, "plot-comment", {
920
- plot: { ...t, textAlign: s(b)(t, !0, 16, !0).anchor, flexAlign: s(b)(t, !0, 16).anchor }
928
+ plot: { ...t, textAlign: n(b)(t, !0, 16, !0).anchor, flexAlign: n(b)(t, !0, 16).anchor }
921
929
  }, void 0, !0)
922
930
  ])
923
- ], 8, Yl)) : v("", !0),
924
- z(t) && e.value.type === "polar" ? (o(), n("foreignObject", {
931
+ ], 8, Nl)) : i("", !0),
932
+ z(t) && e.value.type === "polar" ? (o(), s("foreignObject", {
925
933
  key: 1,
926
- x: e.value.style.chart.comments.offsetX + (R(c.value[a].middlePoint) === "end" ? s(F)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: u.value.width / 2, centerY: u.value.height / 2 }).x - e.value.style.chart.comments.width : R(c.value[a].middlePoint) === "middle" ? s(F)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: u.value.width / 2, centerY: u.value.height / 2 }).x - e.value.style.chart.comments.width / 2 : s(F)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: u.value.width / 2, centerY: u.value.height / 2 }).x),
927
- y: qe(c.value[a]) + e.value.style.chart.comments.offsetY,
934
+ x: e.value.style.chart.comments.offsetX + (R(c.value[a].middlePoint) === "end" ? n(F)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: u.value.width / 2, centerY: u.value.height / 2 }).x - e.value.style.chart.comments.width : R(c.value[a].middlePoint) === "middle" ? n(F)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: u.value.width / 2, centerY: u.value.height / 2 }).x - e.value.style.chart.comments.width / 2 : n(F)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: u.value.width / 2, centerY: u.value.height / 2 }).x),
935
+ y: Ke(c.value[a]) + e.value.style.chart.comments.offsetY,
928
936
  width: e.value.style.chart.comments.width,
929
937
  height: "200",
930
938
  style: { overflow: "visible", "pointer-events": "none" }
@@ -934,16 +942,16 @@ const At = (W) => (at("data-v-f76d6ac3"), W = W(), ot(), W), Xt = ["id"], Nt = [
934
942
  plot: { ...t, textAlign: R(c.value[a].middlePoint), flexAlign: R(c.value[a].middlePoint) }
935
943
  }, void 0, !0)
936
944
  ])
937
- ], 8, Al)) : v("", !0)
938
- ])) : v("", !0)
939
- ], 10, kl))), 256)),
945
+ ], 8, Ol)) : i("", !0)
946
+ ])) : i("", !0)
947
+ ], 10, xl))), 256)),
940
948
  m(l.$slots, "svg", { svg: u.value }, void 0, !0)
941
- ], 14, Nt)) : v("", !0),
942
- l.$slots.watermark ? (o(), n("div", Xl, [
943
- m(l.$slots, "watermark", U(E({ isPrinting: s(_e) || s(xe) })), void 0, !0)
944
- ])) : v("", !0),
945
- q.value ? v("", !0) : (o(), V(Lt, {
946
- key: 5,
949
+ ], 14, It)) : i("", !0),
950
+ l.$slots.watermark ? (o(), s("div", Xl, [
951
+ m(l.$slots, "watermark", U(E({ isPrinting: n(xe) || n(Ce) })), void 0, !0)
952
+ ])) : i("", !0),
953
+ q.value ? i("", !0) : (o(), V(Tt, {
954
+ key: 6,
947
955
  config: {
948
956
  type: "donut",
949
957
  style: {
@@ -959,21 +967,21 @@ const At = (W) => (at("data-v-f76d6ac3"), W = W(), ot(), W), Xt = ["id"], Nt = [
959
967
  ref_key: "chartLegend",
960
968
  ref: ye
961
969
  }, [
962
- e.value.style.chart.legend.show ? (o(), V(St, {
963
- key: `legend_${be.value}`,
964
- legendSet: Te.value,
965
- config: We.value,
966
- onClickMarker: r[4] || (r[4] = ({ i: t }) => Fe(t))
970
+ e.value.style.chart.legend.show ? (o(), V(Ft, {
971
+ key: `legend_${me.value}`,
972
+ legendSet: ze.value,
973
+ config: Je.value,
974
+ onClickMarker: r[4] || (r[4] = ({ i: t }) => Te(t))
967
975
  }, {
968
976
  item: P(({ legend: t, index: a }) => [
969
977
  h("div", {
970
- onClick: (i) => t.segregate(),
971
- style: Y(`opacity:${N.value.includes(a) ? 0.5 : 1}`)
978
+ onClick: (v) => t.segregate(),
979
+ style: Y(`opacity:${O.value.includes(a) ? 0.5 : 1}`)
972
980
  }, [
973
- Me(x(t.name) + ": " + x(s(A)(
981
+ Ge(x(t.name) + ": " + x(n(A)(
974
982
  e.value.style.chart.layout.labels.value.formatter,
975
983
  t.value,
976
- s(L)({
984
+ n(L)({
977
985
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
978
986
  v: t.value,
979
987
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
@@ -984,30 +992,30 @@ const At = (W) => (at("data-v-f76d6ac3"), W = W(), ot(), W), Xt = ["id"], Nt = [
984
992
  index: a
985
993
  }
986
994
  )) + " ", 1),
987
- N.value.includes(a) ? (o(), n("span", Il, " ( " + x(Qe(t.proportion * 100)) + " % ) ", 1)) : (o(), n("span", Ol, " (" + x(isNaN(t.value / $.value) ? "-" : s(A)(
995
+ O.value.includes(a) ? (o(), s("span", Bl, " ( " + x(et(t.proportion * 100)) + " % ) ", 1)) : (o(), s("span", Dl, " (" + x(isNaN(t.value / $.value) ? "-" : n(A)(
988
996
  e.value.style.chart.layout.labels.percentage.formatter,
989
997
  G.value ? t.proportion * 100 : t.value / $.value * 100,
990
- s(L)({
998
+ n(L)({
991
999
  v: G.value ? t.proportion * 100 : t.value / $.value * 100,
992
1000
  s: "%",
993
1001
  r: e.value.style.chart.legend.roundingPercentage
994
1002
  })
995
1003
  )) + ") ", 1))
996
- ], 12, Nl)
1004
+ ], 12, Il)
997
1005
  ]),
998
1006
  _: 1
999
- }, 8, ["legendSet", "config"])) : v("", !0),
1000
- m(l.$slots, "legend", { legend: Te.value }, void 0, !0)
1007
+ }, 8, ["legendSet", "config"])) : i("", !0),
1008
+ m(l.$slots, "legend", { legend: ze.value }, void 0, !0)
1001
1009
  ], 512),
1002
- l.$slots.source ? (o(), n("div", {
1003
- key: 6,
1010
+ l.$slots.source ? (o(), s("div", {
1011
+ key: 7,
1004
1012
  ref_key: "source",
1005
1013
  ref: fe,
1006
1014
  dir: "auto"
1007
1015
  }, [
1008
1016
  m(l.$slots, "source", {}, void 0, !0)
1009
- ], 512)) : v("", !0),
1010
- Be(Pt, {
1017
+ ], 512)) : i("", !0),
1018
+ Me(Lt, {
1011
1019
  show: y.value.showTooltip && ae.value,
1012
1020
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
1013
1021
  color: e.value.style.chart.tooltip.color,
@@ -1030,8 +1038,8 @@ const At = (W) => (at("data-v-f76d6ac3"), W = W(), ot(), W), Xt = ["id"], Nt = [
1030
1038
  ]),
1031
1039
  _: 3
1032
1040
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
1033
- q.value ? (o(), V(Ft, {
1034
- key: 7,
1041
+ q.value ? (o(), V(zt, {
1042
+ key: 8,
1035
1043
  hideDetails: "",
1036
1044
  config: {
1037
1045
  open: y.value.showTable,
@@ -1047,8 +1055,8 @@ const At = (W) => (at("data-v-f76d6ac3"), W = W(), ot(), W), Xt = ["id"], Nt = [
1047
1055
  }
1048
1056
  }, {
1049
1057
  content: P(() => [
1050
- (o(), V($t, {
1051
- key: `table_${ge.value}`,
1058
+ (o(), V(St, {
1059
+ key: `table_${be.value}`,
1052
1060
  colNames: oe.value.colNames,
1053
1061
  head: oe.value.head,
1054
1062
  body: oe.value.body,
@@ -1060,21 +1068,21 @@ const At = (W) => (at("data-v-f76d6ac3"), W = W(), ot(), W), Xt = ["id"], Nt = [
1060
1068
  h("div", {
1061
1069
  innerHTML: t,
1062
1070
  style: { display: "flex", "align-items": "center" }
1063
- }, null, 8, Dl)
1071
+ }, null, 8, Ml)
1064
1072
  ]),
1065
1073
  td: P(({ td: t }) => [
1066
- Me(x(t.name ? t.name : isNaN(Number(t)) ? t.includes("%") ? t : s(A)(
1074
+ Ge(x(t.name ? t.name : isNaN(Number(t)) ? t.includes("%") ? t : n(A)(
1067
1075
  e.value.style.chart.layout.labels.percentage.formatter,
1068
1076
  t,
1069
- s(L)({
1077
+ n(L)({
1070
1078
  v: t,
1071
1079
  s: "%",
1072
1080
  r: e.value.style.chart.layout.labels.percentage.rounding
1073
1081
  })
1074
- ) : s(A)(
1082
+ ) : n(A)(
1075
1083
  e.value.style.chart.layout.labels.value.formatter,
1076
1084
  t,
1077
- s(L)({
1085
+ n(L)({
1078
1086
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
1079
1087
  v: t,
1080
1088
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
@@ -1086,10 +1094,10 @@ const At = (W) => (at("data-v-f76d6ac3"), W = W(), ot(), W), Xt = ["id"], Nt = [
1086
1094
  }, 8, ["colNames", "head", "body", "config", "title"]))
1087
1095
  ]),
1088
1096
  _: 1
1089
- }, 8, ["config"])) : v("", !0)
1097
+ }, 8, ["config"])) : i("", !0)
1090
1098
  ], 14, Xt));
1091
1099
  }
1092
- }, ea = /* @__PURE__ */ Yt(Bl, [["__scopeId", "data-v-f76d6ac3"]]);
1100
+ }, la = /* @__PURE__ */ Nt(Gl, [["__scopeId", "data-v-897a9187"]]);
1093
1101
  export {
1094
- ea as default
1102
+ la as default
1095
1103
  };