vue-data-ui 2.4.2 → 2.4.3

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 (194) hide show
  1. package/dist/{Arrow-JuK2z9IB.js → Arrow-C7lNL7sY.js} +1 -1
  2. package/dist/{Arrow-DLTRnzcG.cjs → Arrow-Dz6AomGr.cjs} +1 -1
  3. package/dist/{BaseIcon-rRli6Sfv.js → BaseIcon-BbvG1AlW.js} +1 -1
  4. package/dist/{BaseIcon-BGExhz6v.cjs → BaseIcon-uALK38Ov.cjs} +1 -1
  5. package/dist/{DataTable-DJzhv96s.cjs → DataTable-DTzynbND.cjs} +1 -1
  6. package/dist/{DataTable-DTk7C4Pr.js → DataTable-DYqC2pqu.js} +2 -2
  7. package/dist/{Legend-YZ7Hz3o1.cjs → Legend-Cgw4lO2O.cjs} +1 -1
  8. package/dist/{Legend-CYF2gpXG.js → Legend-DNgTCgEK.js} +1 -1
  9. package/dist/{PackageVersion-DVZtsuy4.cjs → PackageVersion-DwI-KhXH.cjs} +1 -1
  10. package/dist/{PackageVersion-CvCRsT5_.js → PackageVersion-VkaUzgmt.js} +1 -1
  11. package/dist/{PenAndPaper-CyXm-yVL.cjs → PenAndPaper-CDFVOo7X.cjs} +1 -1
  12. package/dist/{PenAndPaper-Jb0pLt3G.js → PenAndPaper-DAZYA8Ew.js} +2 -2
  13. package/dist/{Shape-BpPn4eWR.js → Shape-Bwon0l0g.js} +1 -1
  14. package/dist/{Shape-X2F-QV_B.cjs → Shape-D2Dpshg1.cjs} +1 -1
  15. package/dist/{Slicer-CU7dRZR0.js → Slicer-TfpN2Cr4.js} +3 -3
  16. package/dist/{Slicer-CL0tP5a5.cjs → Slicer-uSjfNJjG.cjs} +1 -1
  17. package/dist/{Title-Co5jI5ed.cjs → Title-0Tp4hZ4u.cjs} +1 -1
  18. package/dist/{Title-5VmBwT4i.js → Title-C5pIfQAz.js} +1 -1
  19. package/dist/{Tooltip-Bl6W8Zn7.cjs → Tooltip-9Tp2Yrd1.cjs} +1 -1
  20. package/dist/{Tooltip-Cj4EF7v1.js → Tooltip-Cz24YLfw.js} +1 -1
  21. package/dist/{index-DnVHQ2xI.js → index-Bya_q1J-.js} +4 -1
  22. package/dist/index-eFox7weK.cjs +9 -0
  23. package/dist/style.css +1 -1
  24. package/dist/types/vue-data-ui.d.cts +4 -1
  25. package/dist/types/vue-data-ui.d.ts +4 -1
  26. package/dist/{useNestedProp-Cox0K0Y5.js → useNestedProp-B33hazbH.js} +1 -1
  27. package/dist/{useNestedProp-q7byAAIJ.cjs → useNestedProp-BkgEhTQY.cjs} +1 -1
  28. package/dist/{usePrinter-BCAFeO_J.cjs → usePrinter-CSRFnDBU.cjs} +1 -1
  29. package/dist/{usePrinter-BEeNAqS5.js → usePrinter-CiHd1FwD.js} +1 -1
  30. package/dist/useResponsive-BY8tgM1n.js +188 -0
  31. package/dist/useResponsive-CodiGUOE.cjs +1 -0
  32. package/dist/{vue-data-ui-CRLLZpt0.cjs → vue-data-ui-BTtxyUc3.cjs} +1 -1
  33. package/dist/{vue-data-ui-W7nnqn0v.js → vue-data-ui-Bduq4f2p.js} +58 -58
  34. package/dist/vue-data-ui.cjs +1 -1
  35. package/dist/vue-data-ui.js +1 -1
  36. package/dist/{vue-ui-3d-bar-bD_n6qL_.cjs → vue-ui-3d-bar-B-P7PMHs.cjs} +2 -2
  37. package/dist/{vue-ui-3d-bar-BwBrUabe.js → vue-ui-3d-bar-BUEq_VdY.js} +41 -34
  38. package/dist/{vue-ui-accordion-DspS4q3f.js → vue-ui-accordion-DfUfL2dI.js} +3 -3
  39. package/dist/{vue-ui-accordion-xXgqfR2l.cjs → vue-ui-accordion-TEMpM1hO.cjs} +1 -1
  40. package/dist/{vue-ui-age-pyramid-CxBvm3uM.js → vue-ui-age-pyramid-CH72tAMb.js} +163 -154
  41. package/dist/vue-ui-age-pyramid-DsbZ1qcQ.cjs +1 -0
  42. package/dist/{vue-ui-annotator-BOofWpzv.js → vue-ui-annotator-DPeJ2its.js} +1 -1
  43. package/dist/{vue-ui-annotator-C6T5_7ZV.cjs → vue-ui-annotator-DU_DJKCw.cjs} +1 -1
  44. package/dist/{vue-ui-bullet-DraC-oFu.js → vue-ui-bullet-CtP3MlUT.js} +167 -136
  45. package/dist/vue-ui-bullet-D8ks_rKr.cjs +34 -0
  46. package/dist/vue-ui-candlestick-D1jdr0bv.cjs +2 -0
  47. package/dist/{vue-ui-candlestick-DQZ5eT1f.js → vue-ui-candlestick-DDil13a0.js} +173 -164
  48. package/dist/{vue-ui-carousel-table-PdLjpH1p.js → vue-ui-carousel-table-BaeIxyc0.js} +76 -69
  49. package/dist/vue-ui-carousel-table-C7SJIOG-.cjs +1 -0
  50. package/dist/{vue-ui-chestnut-ByI_O5hB.js → vue-ui-chestnut-BczSJF6S.js} +96 -89
  51. package/dist/vue-ui-chestnut-ih5r0Bj9.cjs +6 -0
  52. package/dist/{vue-ui-cursor-BvadpA2m.cjs → vue-ui-cursor-C2Pj_CI_.cjs} +1 -1
  53. package/dist/{vue-ui-cursor-BM74l93B.js → vue-ui-cursor-Dg_Dmww-.js} +2 -2
  54. package/dist/{vue-ui-dashboard-CoANBhAM.js → vue-ui-dashboard-Bul9dqx1.js} +2 -2
  55. package/dist/{vue-ui-dashboard-OP51Gs8I.cjs → vue-ui-dashboard-Cg020NiT.cjs} +1 -1
  56. package/dist/{vue-ui-digits-DioaBnkB.js → vue-ui-digits-B8iAa4YZ.js} +2 -2
  57. package/dist/{vue-ui-digits-C7jJJg9k.cjs → vue-ui-digits-Ctgd84JR.cjs} +1 -1
  58. package/dist/vue-ui-donut-D7KT9EAp.cjs +1 -0
  59. package/dist/{vue-ui-donut-ldqSm_JV.js → vue-ui-donut-DUcp-fat.js} +244 -235
  60. package/dist/vue-ui-donut-evolution-CHtJ8iOK.cjs +1 -0
  61. package/dist/{vue-ui-donut-evolution-DAb1xzNd.js → vue-ui-donut-evolution-C_YMbTwq.js} +125 -118
  62. package/dist/vue-ui-dumbbell-B0dikuqO.cjs +9 -0
  63. package/dist/{vue-ui-dumbbell-Dg7PkiKJ.js → vue-ui-dumbbell-Buwngz_V.js} +192 -183
  64. package/dist/{vue-ui-flow-DKT7ZEnr.js → vue-ui-flow-Bz3c0K5P.js} +78 -71
  65. package/dist/vue-ui-flow-D6rc8J-8.cjs +1 -0
  66. package/dist/{vue-ui-galaxy-qAA9be3S.js → vue-ui-galaxy-Cjh0XGTX.js} +49 -42
  67. package/dist/vue-ui-galaxy-CmTt0vBf.cjs +1 -0
  68. package/dist/{vue-ui-gauge-D8yVTIgP.js → vue-ui-gauge-B1UvGkQa.js} +160 -151
  69. package/dist/vue-ui-gauge-B_TKuyM7.cjs +1 -0
  70. package/dist/{vue-ui-gizmo-W6bTkg59.cjs → vue-ui-gizmo-DFW6HnHp.cjs} +1 -1
  71. package/dist/{vue-ui-gizmo-DC0uUwI3.js → vue-ui-gizmo-DUQ4t-At.js} +3 -3
  72. package/dist/{vue-ui-heatmap-u1raIzBQ.js → vue-ui-heatmap-C-poazUw.js} +110 -103
  73. package/dist/vue-ui-heatmap-C2HlnqzO.cjs +1 -0
  74. package/dist/{vue-ui-kpi-C-iTxMD2.js → vue-ui-kpi-DXe-vxAk.js} +3 -3
  75. package/dist/{vue-ui-kpi-DY_2WF7U.cjs → vue-ui-kpi-Z4Oi4raz.cjs} +1 -1
  76. package/dist/{vue-ui-mini-loader-C7x7S0hi.js → vue-ui-mini-loader-BVtHTqxS.js} +2 -2
  77. package/dist/{vue-ui-mini-loader-Bfq2MNWu.cjs → vue-ui-mini-loader-MMvpm9pz.cjs} +1 -1
  78. package/dist/{vue-ui-molecule-BFnOIxxs.js → vue-ui-molecule-BaJpDZND.js} +78 -71
  79. package/dist/vue-ui-molecule-BiYIcOKN.cjs +1 -0
  80. package/dist/{vue-ui-mood-radar-CR1v5v2x.js → vue-ui-mood-radar-BUNDwsEI.js} +132 -125
  81. package/dist/vue-ui-mood-radar-C6jMyFkb.cjs +1 -0
  82. package/dist/vue-ui-nested-donuts-DKO2dFKo.cjs +17 -0
  83. package/dist/{vue-ui-nested-donuts-DEiloQzq.js → vue-ui-nested-donuts-mDy2hXa6.js} +198 -189
  84. package/dist/{vue-ui-onion-LsEhBe4x.js → vue-ui-onion-DwFG3HAI.js} +248 -239
  85. package/dist/vue-ui-onion-GWNoZRhw.cjs +5 -0
  86. package/dist/vue-ui-parallel-coordinate-plot-DODn4Ohf.cjs +8 -0
  87. package/dist/{vue-ui-parallel-coordinate-plot-CTlIjJqG.js → vue-ui-parallel-coordinate-plot-ImET_zeo.js} +233 -224
  88. package/dist/{vue-ui-quadrant-DKVVFufb.js → vue-ui-quadrant-BeveRihK.js} +188 -179
  89. package/dist/vue-ui-quadrant-yuFAxV-5.cjs +1 -0
  90. package/dist/{vue-ui-quick-chart-8vJikiGH.js → vue-ui-quick-chart-DAhllTfa.js} +343 -334
  91. package/dist/{vue-ui-quick-chart-gG5Ar8-i.cjs → vue-ui-quick-chart-DgFDBzjS.cjs} +2 -2
  92. package/dist/vue-ui-radar-BJH5SE6-.cjs +1 -0
  93. package/dist/{vue-ui-radar-20QhOUer.js → vue-ui-radar-BllatzRa.js} +174 -165
  94. package/dist/{vue-ui-rating-Bbzm5nUK.cjs → vue-ui-rating-BoZo7caL.cjs} +1 -1
  95. package/dist/{vue-ui-rating-DRWJsve1.js → vue-ui-rating-D1ykV4xO.js} +2 -2
  96. package/dist/vue-ui-relation-circle-CKmjOle7.cjs +1 -0
  97. package/dist/{vue-ui-relation-circle-I45_Sk5l.js → vue-ui-relation-circle-xv2l5Be9.js} +142 -133
  98. package/dist/{vue-ui-rings-DG8GCi3y.js → vue-ui-rings-B-ZcX6y1.js} +165 -156
  99. package/dist/vue-ui-rings-DjH3CK23.cjs +2 -0
  100. package/dist/{vue-ui-scatter-Hqu5-F2H.js → vue-ui-scatter-DG43ck1g.js} +269 -260
  101. package/dist/vue-ui-scatter-SBCXAl7q.cjs +1 -0
  102. package/dist/{vue-ui-screenshot-D8nxd5RV.cjs → vue-ui-screenshot-C1JBP_N0.cjs} +1 -1
  103. package/dist/{vue-ui-screenshot-cjiqbtLK.js → vue-ui-screenshot-p3ca8cAl.js} +1 -1
  104. package/dist/{vue-ui-skeleton-aZmkNzAe.js → vue-ui-skeleton-BYssP0K4.js} +419 -379
  105. package/dist/vue-ui-skeleton-BqKzuhkB.cjs +41 -0
  106. package/dist/{vue-ui-smiley-B1TA19Hv.cjs → vue-ui-smiley-BXKVpHl2.cjs} +1 -1
  107. package/dist/{vue-ui-smiley-ChNvxygm.js → vue-ui-smiley-D7dDCdpq.js} +2 -2
  108. package/dist/vue-ui-spark-trend-9V60hM3Z.cjs +1 -0
  109. package/dist/{vue-ui-spark-trend-CQxELQcf.js → vue-ui-spark-trend-GWFrO_0z.js} +86 -79
  110. package/dist/vue-ui-sparkbar-Bgn6AY0q.cjs +1 -0
  111. package/dist/{vue-ui-sparkbar-0ixbKZzf.js → vue-ui-sparkbar-CwqlyAyv.js} +90 -83
  112. package/dist/vue-ui-sparkgauge-Dqntz2Zv.cjs +1 -0
  113. package/dist/{vue-ui-sparkgauge-pdYb7OwH.js → vue-ui-sparkgauge-F2XbiXyA.js} +57 -50
  114. package/dist/{vue-ui-sparkhistogram-N69h2q0U.js → vue-ui-sparkhistogram-DRIKK6Ym.js} +74 -67
  115. package/dist/vue-ui-sparkhistogram-DnY4-Sdn.cjs +1 -0
  116. package/dist/vue-ui-sparkline-CAEs-gtK.cjs +1 -0
  117. package/dist/{vue-ui-sparkline-2BKYZMOb.js → vue-ui-sparkline-Cxtzdlhi.js} +134 -125
  118. package/dist/{vue-ui-sparkstackbar-sh03cuOU.js → vue-ui-sparkstackbar-0A1klq9s.js} +84 -77
  119. package/dist/vue-ui-sparkstackbar-D37ms1rx.cjs +1 -0
  120. package/dist/{vue-ui-stackbar-B1si-1RM.js → vue-ui-stackbar-ByOuJSdM.js} +205 -196
  121. package/dist/{vue-ui-stackbar-Dy_saeSe.cjs → vue-ui-stackbar-wun4S3C0.cjs} +2 -2
  122. package/dist/{vue-ui-strip-plot-BYn-QrTQ.js → vue-ui-strip-plot-CMD0MSqY.js} +218 -209
  123. package/dist/vue-ui-strip-plot-IQrypGvz.cjs +1 -0
  124. package/dist/{vue-ui-table-DQORPCDJ.js → vue-ui-table-B75DJ39t.js} +1 -1
  125. package/dist/{vue-ui-table-Ce4waJaj.cjs → vue-ui-table-aj0XZ7T5.cjs} +1 -1
  126. package/dist/{vue-ui-table-heatmap-Csp7Tx8N.js → vue-ui-table-heatmap-BO2ugWqD.js} +55 -48
  127. package/dist/vue-ui-table-heatmap-Ce93TyBF.cjs +1 -0
  128. package/dist/{vue-ui-table-sparkline-DdwVrfUj.js → vue-ui-table-sparkline-CbjfAaj2.js} +88 -81
  129. package/dist/vue-ui-table-sparkline-D6KJjDnU.cjs +1 -0
  130. package/dist/{vue-ui-thermometer-I6ZnlfAv.js → vue-ui-thermometer-Pq4PvSIP.js} +67 -60
  131. package/dist/vue-ui-thermometer-swmi4FmH.cjs +1 -0
  132. package/dist/{vue-ui-timer-COOXcn14.cjs → vue-ui-timer-B6IB6yS6.cjs} +1 -1
  133. package/dist/{vue-ui-timer-pi1SazTU.js → vue-ui-timer-Bk3BvB-B.js} +6 -6
  134. package/dist/{vue-ui-tiremarks-vdPQYiDp.js → vue-ui-tiremarks-CU9HJIqf.js} +84 -77
  135. package/dist/vue-ui-tiremarks-Cn79uQH2.cjs +1 -0
  136. package/dist/vue-ui-treemap-BEMuKV7x.cjs +1 -0
  137. package/dist/{vue-ui-treemap-3FNUlKxL.js → vue-ui-treemap-DY-lRAhC.js} +211 -202
  138. package/dist/vue-ui-vertical-bar-B1e2RxTv.cjs +4 -0
  139. package/dist/{vue-ui-vertical-bar-DwxpB46q.js → vue-ui-vertical-bar-CtnIKsM1.js} +359 -350
  140. package/dist/vue-ui-waffle-BqP7Okgu.cjs +1 -0
  141. package/dist/{vue-ui-waffle-XecHJIc-.js → vue-ui-waffle-reOsx-gJ.js} +177 -168
  142. package/dist/vue-ui-wheel-BuWUGnkC.cjs +1 -0
  143. package/dist/{vue-ui-wheel-Bbih5sSL.js → vue-ui-wheel-kYxny3vn.js} +95 -86
  144. package/dist/{vue-ui-word-cloud-DnhXUn5x.js → vue-ui-word-cloud-DbMqrHAf.js} +192 -183
  145. package/dist/vue-ui-word-cloud-DwLY4QdB.cjs +1 -0
  146. package/dist/vue-ui-xy-CGWzriYn.cjs +3 -0
  147. package/dist/{vue-ui-xy-canvas-C8c2X5fk.js → vue-ui-xy-canvas-B0HTR7OV.js} +255 -246
  148. package/dist/vue-ui-xy-canvas-CgJd5FiT.cjs +9 -0
  149. package/dist/{vue-ui-xy-CqlRuFMc.js → vue-ui-xy-rbACig0h.js} +131 -122
  150. package/package.json +1 -1
  151. package/dist/index-FfZRtJ6A.cjs +0 -9
  152. package/dist/useResponsive-B3TrDDIG.cjs +0 -1
  153. package/dist/useResponsive-NZB-WLRF.js +0 -187
  154. package/dist/vue-ui-age-pyramid-BZcAwcVQ.cjs +0 -1
  155. package/dist/vue-ui-bullet-ChaEgXvR.cjs +0 -23
  156. package/dist/vue-ui-candlestick--hPCfMFH.cjs +0 -2
  157. package/dist/vue-ui-carousel-table-DpRQklDZ.cjs +0 -1
  158. package/dist/vue-ui-chestnut-ae6x87wl.cjs +0 -6
  159. package/dist/vue-ui-donut-CplNylps.cjs +0 -1
  160. package/dist/vue-ui-donut-evolution-CQpr-6IS.cjs +0 -1
  161. package/dist/vue-ui-dumbbell-_ijaYr8W.cjs +0 -9
  162. package/dist/vue-ui-flow-BPt35d5K.cjs +0 -1
  163. package/dist/vue-ui-galaxy-e06PkTmp.cjs +0 -1
  164. package/dist/vue-ui-gauge-DiZVIU0D.cjs +0 -1
  165. package/dist/vue-ui-heatmap-CbZcv_2I.cjs +0 -1
  166. package/dist/vue-ui-molecule-CbKMLrDT.cjs +0 -1
  167. package/dist/vue-ui-mood-radar-6LmFXuiw.cjs +0 -1
  168. package/dist/vue-ui-nested-donuts-DS0fjiLi.cjs +0 -17
  169. package/dist/vue-ui-onion-CLvvu4Ku.cjs +0 -5
  170. package/dist/vue-ui-parallel-coordinate-plot-BWg8OFqH.cjs +0 -8
  171. package/dist/vue-ui-quadrant-OM5J1mG3.cjs +0 -1
  172. package/dist/vue-ui-radar-CAaHjDO7.cjs +0 -1
  173. package/dist/vue-ui-relation-circle-BoGAFXuS.cjs +0 -1
  174. package/dist/vue-ui-rings-B9WQ7S5m.cjs +0 -2
  175. package/dist/vue-ui-scatter-BZfg1YIN.cjs +0 -1
  176. package/dist/vue-ui-skeleton-Djv08J67.cjs +0 -41
  177. package/dist/vue-ui-spark-trend-BqrPr63O.cjs +0 -1
  178. package/dist/vue-ui-sparkbar-CrTEPTU5.cjs +0 -1
  179. package/dist/vue-ui-sparkgauge-BYxpe_WV.cjs +0 -1
  180. package/dist/vue-ui-sparkhistogram-D21XDUH2.cjs +0 -1
  181. package/dist/vue-ui-sparkline-Cf4m-Fxo.cjs +0 -1
  182. package/dist/vue-ui-sparkstackbar-dAS8XoJs.cjs +0 -1
  183. package/dist/vue-ui-strip-plot-D53LABpZ.cjs +0 -1
  184. package/dist/vue-ui-table-heatmap-EqHt-O7Y.cjs +0 -1
  185. package/dist/vue-ui-table-sparkline-DONmVOMh.cjs +0 -1
  186. package/dist/vue-ui-thermometer-hQBkMa7u.cjs +0 -1
  187. package/dist/vue-ui-tiremarks-hdNqoGyd.cjs +0 -1
  188. package/dist/vue-ui-treemap-Cv0TSFQa.cjs +0 -1
  189. package/dist/vue-ui-vertical-bar-C--Ma0Dw.cjs +0 -4
  190. package/dist/vue-ui-waffle-CKM0QyJN.cjs +0 -1
  191. package/dist/vue-ui-wheel-C0dJrzOJ.cjs +0 -1
  192. package/dist/vue-ui-word-cloud-Cfd2wxsT.cjs +0 -1
  193. package/dist/vue-ui-xy-BDpqVzAq.cjs +0 -3
  194. package/dist/vue-ui-xy-canvas-Cansjd3L.cjs +0 -9
@@ -1,27 +1,27 @@
1
- import { computed as _, ref as d, onMounted as Qe, onBeforeUnmount as Ze, watch as Ie, openBlock as o, createElementBlock as n, normalizeClass as ce, normalizeStyle as Y, createBlock as V, createCommentVNode as v, renderSlot as k, unref as s, createSlots as et, withCtx as P, normalizeProps as U, guardReactiveProps as E, createVNode as De, createElementVNode as h, Fragment as m, renderList as O, toDisplayString as x, createTextVNode as Be, nextTick as tt, pushScopeId as lt, popScopeId as at } from "vue";
2
- import { u as ot, o as ut, e as Me, g as st, c as nt, b as rt, d as Ge, p as j, m as it, G as vt, f as L, X as ct, s as ee, w as dt, j as ht, H as F, i as A, k as b, n as te, t as yt, a as ft, x as pt, q as gt, r as bt } from "./index-DnVHQ2xI.js";
3
- import { t as mt, u as wt } from "./useResponsive-NZB-WLRF.js";
4
- import { _ as kt } from "./Title-5VmBwT4i.js";
5
- import { u as _t, U as xt } from "./usePrinter-BEeNAqS5.js";
6
- import { D as Ct } from "./DataTable-DTk7C4Pr.js";
7
- import { _ as $t } from "./Tooltip-Cj4EF7v1.js";
8
- import { L as Pt } from "./Legend-CYF2gpXG.js";
9
- import St from "./vue-ui-skeleton-aZmkNzAe.js";
10
- import Lt from "./vue-ui-accordion-DspS4q3f.js";
11
- import { u as Ve } from "./useNestedProp-Cox0K0Y5.js";
12
- import { _ as Ft } from "./PackageVersion-CvCRsT5_.js";
13
- import { P as Tt } from "./PenAndPaper-Jb0pLt3G.js";
14
- import { _ as zt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
- const Yt = (W) => (lt("data-v-e89705b6"), W = W(), at(), W), At = ["id"], Xt = ["xmlns", "viewBox"], Nt = { key: 0 }, Ot = ["id"], It = ["stop-color"], Dt = ["offset", "stop-color"], Bt = ["offset", "stop-color"], Mt = ["stop-color"], Gt = { key: 1 }, Vt = ["id", "cx", "cy"], jt = ["stop-color", "stop-opacity"], Ht = ["stop-color"], Rt = ["id"], Ut = ["id"], Et = /* @__PURE__ */ Yt(() => /* @__PURE__ */ h("feColorMatrix", {
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", {
16
16
  type: "saturate",
17
17
  values: "0"
18
- }, null, -1)), Wt = ["id"], qt = ["flood-color"], Jt = ["id"], Kt = ["flood-color"], Qt = ["d", "stroke", "filter"], Zt = ["x1", "y1", "x2", "y2", "stroke", "filter"], el = ["cx", "cy", "r", "fill", "filter"], tl = ["stroke", "d"], ll = ["d", "fill", "stroke", "stroke-width", "filter"], al = { key: 0 }, ol = ["stroke", "d"], ul = { key: 0 }, sl = ["d", "stroke", "stroke-width", "filter"], nl = ["d", "fill", "stroke", "stroke-width", "filter"], rl = { key: 1 }, il = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], vl = ["cx", "cy", "r", "stroke"], cl = ["cx", "cy", "r", "fill"], dl = { key: 0 }, hl = ["d", "fill", "onMouseenter", "onClick"], yl = { key: 1 }, fl = ["cx", "cy", "r", "fill"], pl = ["x", "y", "fill", "font-size"], gl = ["x", "y", "fill", "font-size"], bl = ["x", "y", "fill", "font-size"], ml = ["x", "y", "fill", "font-size"], wl = ["filter"], kl = { key: 0 }, _l = ["x", "y"], xl = { key: 1 }, Cl = ["cx", "cy", "fill", "stroke", "filter", "onClick"], $l = ["cx", "cy", "fill", "stroke", "filter", "onClick"], Pl = ["text-anchor", "x", "y", "fill", "font-size", "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 = { key: 2 }, zl = ["x", "y", "width"], Yl = ["x", "y", "width"], Al = {
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
19
  key: 4,
20
20
  class: "vue-data-ui-watermark"
21
- }, Xl = ["onClick"], Nl = {
21
+ }, Nl = ["onClick"], Ol = {
22
22
  key: 0,
23
23
  style: { "font-variant-numeric": "tabular-nums" }
24
- }, Ol = { key: 1 }, Il = ["innerHTML"], Dl = {
24
+ }, Il = { key: 1 }, Dl = ["innerHTML"], Bl = {
25
25
  __name: "vue-ui-donut",
26
26
  props: {
27
27
  config: {
@@ -38,30 +38,30 @@ const Yt = (W) => (lt("data-v-e89705b6"), W = W(), at(), W), At = ["id"], Xt = [
38
38
  }
39
39
  },
40
40
  emits: ["selectLegend", "selectDatapoint"],
41
- setup(W, { expose: je, emit: de }) {
42
- const X = W, { vue_ui_donut: He } = ot(), q = _({
41
+ setup(W, { expose: He, emit: de }) {
42
+ const X = W, { vue_ui_donut: Re } = ut(), q = _({
43
43
  get() {
44
44
  return !!X.dataset && X.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(0), pe = d(0), ge = d(0);
50
- Qe(() => {
51
- be();
52
- }), Ze(() => {
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(() => {
53
53
  le.value && le.value.disconnect();
54
54
  });
55
- function be() {
56
- if (ut(X.dataset) ? Me({
55
+ function me() {
56
+ if (st(X.dataset) ? Ge({
57
57
  componentName: "VueUiDonut",
58
58
  type: "dataset"
59
59
  }) : X.dataset.forEach((l, r) => {
60
- st({
60
+ nt({
61
61
  datasetObject: l,
62
62
  requiredAttributes: ["name", "values"]
63
63
  }).forEach((t) => {
64
- q.value = !1, Me({
64
+ q.value = !1, Ge({
65
65
  componentName: "VueUiDonut",
66
66
  type: "datasetSerieAttribute",
67
67
  property: t,
@@ -69,42 +69,43 @@ const Yt = (W) => (lt("data-v-e89705b6"), W = W(), at(), W), At = ["id"], Xt = [
69
69
  });
70
70
  });
71
71
  }), e.value.responsive) {
72
- const l = mt(() => {
73
- const { width: r, height: t } = wt({
72
+ const l = wt(() => {
73
+ const { width: r, height: t } = kt({
74
74
  chart: H.value,
75
75
  title: e.value.style.chart.title.text ? he.value : null,
76
- legend: e.value.style.chart.legend.show ? ye.value : null
76
+ legend: e.value.style.chart.legend.show ? ye.value : null,
77
+ source: fe.value
77
78
  });
78
79
  u.value.width = r, u.value.height = t;
79
80
  });
80
81
  le.value = new ResizeObserver(l), le.value.observe(H.value.parentNode);
81
82
  }
82
83
  }
83
- const w = d(nt()), Re = d(null), ae = d(!1), se = d(""), S = d(null), me = d(0);
84
- function we() {
85
- const l = Ve({
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({
86
87
  userConfig: X.config,
87
- defaultConfig: He
88
+ defaultConfig: Re
88
89
  });
89
90
  return l.theme ? {
90
- ...Ve({
91
- userConfig: yt.vue_ui_donut[l.theme] || X.config,
91
+ ...je({
92
+ userConfig: ft.vue_ui_donut[l.theme] || X.config,
92
93
  defaultConfig: l
93
94
  }),
94
- customPalette: ft[l.theme] || j
95
+ customPalette: pt[l.theme] || j
95
96
  } : l;
96
97
  }
97
98
  const e = _({
98
- get: () => we(),
99
+ get: () => ke(),
99
100
  set: (l) => l
100
101
  });
101
- Ie(() => X.config, (l) => {
102
- e.value = we(), be(), fe.value += 1, pe.value += 1, ge.value += 1;
102
+ De(() => X.config, (l) => {
103
+ e.value = ke(), me(), pe.value += 1, ge.value += 1, be.value += 1;
103
104
  }, { deep: !0 });
104
- const { isPrinting: ke, isImaging: _e, generatePdf: xe, generateImage: Ce } = _t({
105
- elementId: `donut__${w.value}`,
105
+ const { isPrinting: _e, isImaging: xe, generatePdf: Ce, generateImage: $e } = xt({
106
+ elementId: `donut__${k.value}`,
106
107
  fileName: e.value.style.chart.title.text || "vue-ui-donut"
107
- }), $e = _(() => rt(e.value.customPalette)), y = d({
108
+ }), Pe = _(() => it(e.value.customPalette)), y = d({
108
109
  dataLabels: {
109
110
  show: e.value.style.chart.layout.labels.dataLabels.show
110
111
  },
@@ -118,45 +119,45 @@ const Yt = (W) => (lt("data-v-e89705b6"), W = W(), at(), W), At = ["id"], Xt = [
118
119
  return t < 24 ? 24 : t;
119
120
  }), M = _(() => X.dataset.map((l, r) => ({
120
121
  name: l.name,
121
- color: Ge(l.color) || $e.value[r] || j[r] || j[r % j.length],
122
+ color: Ve(l.color) || Pe.value[r] || j[r] || j[r % j.length],
122
123
  value: l.values.reduce((t, a) => t + a, 0),
123
124
  absoluteValues: l.values,
124
125
  comment: l.comment || ""
125
126
  }))), T = d(M.value);
126
- Ie(() => M.value, (l) => T.value = l);
127
- function Ue() {
127
+ De(() => M.value, (l) => T.value = l);
128
+ function Ee() {
128
129
  return M.value.map((l) => ({
129
130
  name: l.name,
130
131
  color: l.color,
131
132
  value: l.value
132
133
  }));
133
134
  }
134
- const N = d([]), Pe = d(null), Se = d(null), G = d(!1);
135
- function Le(l) {
135
+ const N = d([]), Se = d(null), Le = d(null), G = d(!1);
136
+ function Fe(l) {
136
137
  const r = M.value.find((i, g) => g === l);
137
138
  let a = T.value.find((i, g) => g === l).value;
138
139
  if (N.value.includes(l)) {
139
140
  let g = function() {
140
- a > i ? (cancelAnimationFrame(Pe.value), T.value = T.value.map((p, ve) => l === ve ? {
141
+ a > i ? (cancelAnimationFrame(Se.value), T.value = T.value.map((p, ve) => l === ve ? {
141
142
  ...p,
142
143
  value: i
143
144
  } : p), G.value = !1) : (G.value = !0, a += i * 0.025, T.value = T.value.map((p, ve) => l === ve ? {
144
145
  ...p,
145
146
  value: a
146
- } : p), Pe.value = requestAnimationFrame(g));
147
+ } : p), Se.value = requestAnimationFrame(g));
147
148
  };
148
149
  N.value = N.value.filter((p) => p !== l);
149
150
  const i = r.value;
150
151
  g();
151
152
  } else if (N.value.length < M.value.length - 1) {
152
153
  let i = function() {
153
- a < 0.1 ? (cancelAnimationFrame(Se.value), N.value.push(l), T.value = T.value.map((g, p) => l === p ? {
154
+ a < 0.1 ? (cancelAnimationFrame(Le.value), N.value.push(l), T.value = T.value.map((g, p) => l === p ? {
154
155
  ...g,
155
156
  value: 0
156
157
  } : g), G.value = !1) : (G.value = !0, a /= 1.1, T.value = T.value.map((g, p) => l === p ? {
157
158
  ...g,
158
159
  value: a
159
- } : g), Se.value = requestAnimationFrame(i));
160
+ } : g), Le.value = requestAnimationFrame(i));
160
161
  };
161
162
  i();
162
163
  }
@@ -175,18 +176,18 @@ const Yt = (W) => (lt("data-v-e89705b6"), W = W(), at(), W), At = ["id"], Xt = [
175
176
  }), T.value.map((l, r) => ({
176
177
  ...l,
177
178
  seriesIndex: r
178
- })).filter((l, r) => !N.value.includes(r)))), Fe = _(() => X.dataset.map((l, r) => ({
179
+ })).filter((l, r) => !N.value.includes(r)))), Te = _(() => X.dataset.map((l, r) => ({
179
180
  name: l.name,
180
- color: Ge(l.color) || $e.value[r] || j[r] || j[r % j.length],
181
+ color: Ve(l.color) || Pe.value[r] || j[r] || j[r % j.length],
181
182
  value: (l.values || []).reduce((t, a) => t + a, 0),
182
183
  shape: "circle"
183
184
  })).map((l, r) => ({
184
185
  ...l,
185
186
  proportion: l.value / X.dataset.map((t) => (t.values || []).reduce((a, i) => a + i, 0)).reduce((t, a) => t + a, 0),
186
187
  opacity: N.value.includes(r) ? 0.5 : 1,
187
- segregate: () => Le(r),
188
+ segregate: () => Fe(r),
188
189
  isSegregated: N.value.includes(r)
189
- }))), Ee = _(() => ({
190
+ }))), We = _(() => ({
190
191
  cy: "donut-div-legend",
191
192
  backgroundColor: e.value.style.chart.legend.backgroundColor,
192
193
  color: e.value.style.chart.legend.color,
@@ -196,9 +197,9 @@ const Yt = (W) => (lt("data-v-e89705b6"), W = W(), at(), W), At = ["id"], Xt = [
196
197
  })), C = _(() => {
197
198
  const l = Math.min(u.value.width / 3, u.value.height / 3);
198
199
  return l < 55 ? 55 : l;
199
- }), f = _(() => it({ 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 = _(() => {
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 = _(() => {
200
201
  const l = Math.max(...I.value.map((t) => t.value)), r = I.value.map((t) => t.value / l);
201
- return vt({
202
+ return ct({
202
203
  series: r,
203
204
  center: {
204
205
  x: u.value.width / 2,
@@ -210,14 +211,14 @@ const Yt = (W) => (lt("data-v-e89705b6"), W = W(), at(), W), At = ["id"], Xt = [
210
211
  function R(l) {
211
212
  return l.x > u.value.width / 2 + 6 ? "start" : l.x < u.value.width / 2 - 6 ? "end" : "middle";
212
213
  }
213
- function We(l) {
214
+ function qe(l) {
214
215
  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;
215
216
  }
216
217
  function z(l) {
217
218
  return l.proportion * 100 > e.value.style.chart.layout.labels.dataLabels.hideUnderValue;
218
219
  }
219
220
  function ne(l, r) {
220
- const t = l.value / qe(r);
221
+ const t = l.value / Je(r);
221
222
  return isNaN(t) ? 0 : A(
222
223
  e.value.style.chart.layout.labels.percentage.formatter,
223
224
  t * 100,
@@ -229,15 +230,15 @@ const Yt = (W) => (lt("data-v-e89705b6"), W = W(), at(), W), At = ["id"], Xt = [
229
230
  { datapoint: l }
230
231
  );
231
232
  }
232
- function qe(l) {
233
+ function Je(l) {
233
234
  return [...l].map((r) => r.value).reduce((r, t) => r + t, 0);
234
235
  }
235
- const $ = _(() => I.value.map((l) => l.value).reduce((l, r) => l + r, 0)), Te = _(() => $.value / I.value.length), re = d(null), K = d(!1);
236
- function ze({ datapoint: l, relativeIndex: r, seriesIndex: t, show: a = !1 }) {
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
238
  re.value = { datapoint: l, seriesIndex: t, config: e.value, series: M.value }, ae.value = a, S.value = r;
238
239
  let i = "";
239
240
  const g = e.value.style.chart.tooltip.customFormat;
240
- if (K.value = !1, pt(g))
241
+ if (K.value = !1, gt(g))
241
242
  try {
242
243
  const p = g({
243
244
  seriesIndex: t,
@@ -285,7 +286,7 @@ const Yt = (W) => (lt("data-v-e89705b6"), W = W(), at(), W), At = ["id"], Xt = [
285
286
  }
286
287
  }
287
288
  function Q(l) {
288
- return e.value.useBlurOnHover && ![null, void 0].includes(S.value) && S.value !== l ? `url(#blur_${w.value})` : "";
289
+ return e.value.useBlurOnHover && ![null, void 0].includes(S.value) && S.value !== l ? `url(#blur_${k.value})` : "";
289
290
  }
290
291
  const D = _(() => {
291
292
  const l = I.value.map((t) => ({
@@ -294,12 +295,12 @@ const Yt = (W) => (lt("data-v-e89705b6"), W = W(), at(), W), At = ["id"], Xt = [
294
295
  })), r = I.value.map((t) => t.value);
295
296
  return { head: l, body: r };
296
297
  });
297
- function Ye() {
298
- tt(() => {
298
+ function Ae() {
299
+ lt(() => {
299
300
  const l = D.value.head.map((a, i) => [[
300
301
  a.name
301
- ], [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 = gt(r);
302
- bt({ csvContent: t, title: e.value.style.chart.title.text || "vue-ui-donut" });
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
304
  });
304
305
  }
305
306
  const oe = _(() => {
@@ -341,46 +342,46 @@ const Yt = (W) => (lt("data-v-e89705b6"), W = W(), at(), W), At = ["id"], Xt = [
341
342
  config: t
342
343
  };
343
344
  }), Z = d(!1);
344
- function Je(l) {
345
- Z.value = l, me.value += 1;
346
- }
347
- const Ae = _(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent));
348
345
  function Ke(l) {
346
+ Z.value = l, we.value += 1;
347
+ }
348
+ const Xe = _(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent));
349
+ function Qe(l) {
349
350
  return l.toFixed(e.value.style.chart.legend.roundingPercentage).split("").map((r) => "-").join("");
350
351
  }
351
352
  function B(l, r) {
352
353
  de("selectDatapoint", { datapoint: l, index: r });
353
354
  }
354
- function Xe() {
355
+ function Ne() {
355
356
  y.value.showTable = !y.value.showTable;
356
357
  }
357
- function Ne() {
358
+ function Oe() {
358
359
  y.value.dataLabels.show = !y.value.dataLabels.show;
359
360
  }
360
- function Oe() {
361
+ function Ie() {
361
362
  y.value.showTooltip = !y.value.showTooltip;
362
363
  }
363
364
  const ue = d(!1);
364
365
  function ie() {
365
366
  ue.value = !ue.value;
366
367
  }
367
- return je({
368
- getData: Ue,
369
- generatePdf: xe,
370
- generateCsv: Ye,
371
- generateImage: Ce,
372
- toggleTable: Xe,
373
- toggleLabels: Ne,
374
- toggleTooltip: Oe,
368
+ return He({
369
+ getData: Ee,
370
+ generatePdf: Ce,
371
+ generateCsv: Ae,
372
+ generateImage: $e,
373
+ toggleTable: Ne,
374
+ toggleLabels: Oe,
375
+ toggleTooltip: Ie,
375
376
  toggleAnnotator: ie
376
377
  }), (l, r) => (o(), n("div", {
377
378
  ref_key: "donutChart",
378
379
  ref: H,
379
380
  class: ce(`vue-ui-donut ${Z.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
380
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}`),
381
- id: `donut__${w.value}`
382
+ id: `donut__${k.value}`
382
383
  }, [
383
- e.value.userOptions.buttons.annotator ? (o(), V(Tt, {
384
+ e.value.userOptions.buttons.annotator ? (o(), V(zt, {
384
385
  key: 0,
385
386
  parent: H.value,
386
387
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -388,15 +389,15 @@ const Yt = (W) => (lt("data-v-e89705b6"), W = W(), at(), W), At = ["id"], Xt = [
388
389
  active: ue.value,
389
390
  onClose: ie
390
391
  }, null, 8, ["parent", "backgroundColor", "color", "active"])) : v("", !0),
391
- k(l.$slots, "userConfig", {}, void 0, !0),
392
+ m(l.$slots, "userConfig", {}, void 0, !0),
392
393
  e.value.style.chart.title.text ? (o(), n("div", {
393
394
  key: 1,
394
395
  ref_key: "chartTitle",
395
396
  ref: he,
396
397
  style: "width:100%;background:transparent;padding-bottom:24px"
397
398
  }, [
398
- (o(), V(kt, {
399
- key: `title_${fe.value}`,
399
+ (o(), V(_t, {
400
+ key: `title_${pe.value}`,
400
401
  config: {
401
402
  title: {
402
403
  cy: "donut-div-title",
@@ -409,15 +410,15 @@ const Yt = (W) => (lt("data-v-e89705b6"), W = W(), at(), W), At = ["id"], Xt = [
409
410
  }
410
411
  }, null, 8, ["config"]))
411
412
  ], 512)) : v("", !0),
412
- e.value.userOptions.show && q.value ? (o(), V(xt, {
413
+ e.value.userOptions.show && q.value ? (o(), V(Ct, {
413
414
  ref_key: "details",
414
- ref: Re,
415
- key: `user_option_${me.value}`,
415
+ ref: Ue,
416
+ key: `user_option_${we.value}`,
416
417
  backgroundColor: e.value.style.chart.backgroundColor,
417
418
  color: e.value.style.chart.color,
418
- isPrinting: s(ke),
419
- isImaging: s(_e),
420
- uid: w.value,
419
+ isPrinting: s(_e),
420
+ isImaging: s(xe),
421
+ uid: k.value,
421
422
  hasTooltip: e.value.style.chart.tooltip.show && e.value.userOptions.buttons.tooltip,
422
423
  hasPdf: e.value.userOptions.buttons.pdf,
423
424
  hasImg: e.value.userOptions.buttons.img,
@@ -432,127 +433,127 @@ const Yt = (W) => (lt("data-v-e89705b6"), W = W(), at(), W), At = ["id"], Xt = [
432
433
  titles: { ...e.value.userOptions.buttonTitles },
433
434
  hasAnnotator: e.value.userOptions.buttons.annotator,
434
435
  isAnnotation: ue.value,
435
- onToggleFullscreen: Je,
436
- onGeneratePdf: s(xe),
437
- onGenerateCsv: Ye,
438
- onGenerateImage: s(Ce),
439
- onToggleTable: Xe,
440
- onToggleLabels: Ne,
441
- onToggleTooltip: Oe,
436
+ onToggleFullscreen: Ke,
437
+ onGeneratePdf: s(Ce),
438
+ onGenerateCsv: Ae,
439
+ onGenerateImage: s($e),
440
+ onToggleTable: Ne,
441
+ onToggleLabels: Oe,
442
+ onToggleTooltip: Ie,
442
443
  onToggleAnnotator: ie
443
- }, et({ _: 2 }, [
444
+ }, tt({ _: 2 }, [
444
445
  l.$slots.optionTooltip ? {
445
446
  name: "optionTooltip",
446
447
  fn: P(() => [
447
- k(l.$slots, "optionTooltip", {}, void 0, !0)
448
+ m(l.$slots, "optionTooltip", {}, void 0, !0)
448
449
  ]),
449
450
  key: "0"
450
451
  } : void 0,
451
452
  l.$slots.optionPdf ? {
452
453
  name: "optionPdf",
453
454
  fn: P(() => [
454
- k(l.$slots, "optionPdf", {}, void 0, !0)
455
+ m(l.$slots, "optionPdf", {}, void 0, !0)
455
456
  ]),
456
457
  key: "1"
457
458
  } : void 0,
458
459
  l.$slots.optionCsv ? {
459
460
  name: "optionCsv",
460
461
  fn: P(() => [
461
- k(l.$slots, "optionCsv", {}, void 0, !0)
462
+ m(l.$slots, "optionCsv", {}, void 0, !0)
462
463
  ]),
463
464
  key: "2"
464
465
  } : void 0,
465
466
  l.$slots.optionImg ? {
466
467
  name: "optionImg",
467
468
  fn: P(() => [
468
- k(l.$slots, "optionImg", {}, void 0, !0)
469
+ m(l.$slots, "optionImg", {}, void 0, !0)
469
470
  ]),
470
471
  key: "3"
471
472
  } : void 0,
472
473
  l.$slots.optionTable ? {
473
474
  name: "optionTable",
474
475
  fn: P(() => [
475
- k(l.$slots, "optionTable", {}, void 0, !0)
476
+ m(l.$slots, "optionTable", {}, void 0, !0)
476
477
  ]),
477
478
  key: "4"
478
479
  } : void 0,
479
480
  l.$slots.optionLabels ? {
480
481
  name: "optionLabels",
481
482
  fn: P(() => [
482
- k(l.$slots, "optionLabels", {}, void 0, !0)
483
+ m(l.$slots, "optionLabels", {}, void 0, !0)
483
484
  ]),
484
485
  key: "5"
485
486
  } : void 0,
486
487
  l.$slots.optionFullscreen ? {
487
488
  name: "optionFullscreen",
488
489
  fn: P(({ toggleFullscreen: t, isFullscreen: a }) => [
489
- k(l.$slots, "optionFullscreen", U(E({ toggleFullscreen: t, isFullscreen: a })), void 0, !0)
490
+ m(l.$slots, "optionFullscreen", U(E({ toggleFullscreen: t, isFullscreen: a })), void 0, !0)
490
491
  ]),
491
492
  key: "6"
492
493
  } : void 0,
493
494
  l.$slots.optionAnnotator ? {
494
495
  name: "optionAnnotator",
495
496
  fn: P(({ toggleAnnotator: t, isAnnotator: a }) => [
496
- k(l.$slots, "optionAnnotator", U(E({ toggleAnnotator: t, isAnnotator: a })), void 0, !0)
497
+ m(l.$slots, "optionAnnotator", U(E({ toggleAnnotator: t, isAnnotator: a })), void 0, !0)
497
498
  ]),
498
499
  key: "7"
499
500
  } : void 0
500
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),
501
502
  q.value ? (o(), n("svg", {
502
503
  key: 3,
503
- xmlns: s(ct),
504
+ xmlns: s(dt),
504
505
  class: ce({ "vue-data-ui-fullscreen--on": Z.value, "vue-data-ui-fulscreen--off": !Z.value }),
505
506
  viewBox: `0 0 ${u.value.width <= 0 ? 10 : u.value.width} ${u.value.height <= 0 ? 10 : u.value.height}`,
506
507
  style: Y(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
507
508
  }, [
508
- De(Ft),
509
- e.value.type === "classic" ? (o(), n("defs", Nt, [
509
+ Be(Tt),
510
+ e.value.type === "classic" ? (o(), n("defs", Ot, [
510
511
  e.value.style.chart.useGradient ? (o(), n("radialGradient", {
511
512
  key: 0,
512
- id: `gradient_${w.value}`
513
+ id: `gradient_${k.value}`
513
514
  }, [
514
515
  h("stop", {
515
516
  offset: "0%",
516
517
  "stop-color": s(ee)(e.value.style.chart.backgroundColor, 0),
517
518
  "stop-opacity": "0"
518
- }, null, 8, It),
519
+ }, null, 8, Dt),
519
520
  h("stop", {
520
521
  offset: `${(1 - J.value / C.value) * 100}%`,
521
522
  "stop-color": s(ee)("#FFFFFF", 0),
522
523
  "stop-opacity": "0"
523
- }, null, 8, Dt),
524
+ }, null, 8, Bt),
524
525
  h("stop", {
525
526
  offset: `${(1 - J.value / C.value / 2) * 100}%`,
526
527
  "stop-color": s(ee)("#FFFFFF", e.value.style.chart.gradientIntensity)
527
- }, null, 8, Bt),
528
+ }, null, 8, Mt),
528
529
  h("stop", {
529
530
  offset: "100%",
530
531
  "stop-color": s(ee)(e.value.style.chart.backgroundColor, 0),
531
532
  "stop-opacity": "0"
532
- }, null, 8, Mt)
533
- ], 8, Ot)) : v("", !0)
533
+ }, null, 8, Gt)
534
+ ], 8, It)) : v("", !0)
534
535
  ])) : v("", !0),
535
- e.value.type === "polar" ? (o(), n("defs", Gt, [
536
- (o(!0), n(m, null, O(c.value, (t, a) => (o(), n("radialGradient", {
537
- id: `polar_gradient_${a}_${w.value}`,
536
+ e.value.type === "polar" ? (o(), n("defs", Vt, [
537
+ (o(!0), n(w, null, O(c.value, (t, a) => (o(), n("radialGradient", {
538
+ id: `polar_gradient_${a}_${k.value}`,
538
539
  cx: t.middlePoint.x / u.value.width * 100 + "%",
539
540
  cy: t.middlePoint.y / u.value.height * 100 + "%",
540
541
  r: "62%"
541
542
  }, [
542
543
  h("stop", {
543
544
  offset: "0%",
544
- "stop-color": s(dt)(f.value[a].color, 0.05),
545
+ "stop-color": s(ht)(f.value[a].color, 0.05),
545
546
  "stop-opacity": e.value.style.chart.gradientIntensity / 100
546
- }, null, 8, jt),
547
+ }, null, 8, Ht),
547
548
  h("stop", {
548
549
  offset: "100%",
549
550
  "stop-color": f.value[a].color
550
- }, null, 8, Ht)
551
- ], 8, Vt))), 256))
551
+ }, null, 8, Rt)
552
+ ], 8, jt))), 256))
552
553
  ])) : v("", !0),
553
554
  h("defs", null, [
554
555
  h("filter", {
555
- id: `blur_${w.value}`,
556
+ id: `blur_${k.value}`,
556
557
  x: "-50%",
557
558
  y: "-50%",
558
559
  width: "200%",
@@ -561,12 +562,12 @@ const Yt = (W) => (lt("data-v-e89705b6"), W = W(), at(), W), At = ["id"], Xt = [
561
562
  h("feGaussianBlur", {
562
563
  in: "SourceGraphic",
563
564
  stdDeviation: 2,
564
- id: `blur_std_${w.value}`
565
- }, null, 8, Ut),
566
- Et
567
- ], 8, Rt),
565
+ id: `blur_std_${k.value}`
566
+ }, null, 8, Et),
567
+ Wt
568
+ ], 8, Ut),
568
569
  h("filter", {
569
- id: `shadow_${w.value}`,
570
+ id: `shadow_${k.value}`,
570
571
  "color-interpolation-filters": "sRGB"
571
572
  }, [
572
573
  h("feDropShadow", {
@@ -575,10 +576,10 @@ const Yt = (W) => (lt("data-v-e89705b6"), W = W(), at(), W), At = ["id"], Xt = [
575
576
  stdDeviation: "10",
576
577
  "flood-opacity": "0.5",
577
578
  "flood-color": e.value.style.chart.layout.donut.shadowColor
578
- }, null, 8, qt)
579
- ], 8, Wt),
579
+ }, null, 8, Jt)
580
+ ], 8, qt),
580
581
  h("filter", {
581
- id: `drop_shadow_${w.value}`,
582
+ id: `drop_shadow_${k.value}`,
582
583
  "color-interpolation-filters": "sRGB",
583
584
  x: "-50%",
584
585
  y: "-50%",
@@ -591,22 +592,22 @@ const Yt = (W) => (lt("data-v-e89705b6"), W = W(), at(), W), At = ["id"], Xt = [
591
592
  stdDeviation: "3",
592
593
  "flood-opacity": "1",
593
594
  "flood-color": e.value.style.chart.layout.donut.shadowColor
594
- }, null, 8, Kt)
595
- ], 8, Jt)
595
+ }, null, 8, Qt)
596
+ ], 8, Kt)
596
597
  ]),
597
- e.value.type === "classic" ? (o(!0), n(m, { key: 2 }, O(f.value, (t, a) => (o(), n("g", null, [
598
+ e.value.type === "classic" ? (o(!0), n(w, { key: 2 }, O(f.value, (t, a) => (o(), n("g", null, [
598
599
  z(t) && y.value.dataLabels.show ? (o(), n("path", {
599
600
  key: 0,
600
- d: s(ht)(t, { x: u.value.width / 2, y: u.value.height / 2 }, 16, 16, !1, !1, J.value),
601
+ d: s(yt)(t, { x: u.value.width / 2, y: u.value.height / 2 }, 16, 16, !1, !1, J.value),
601
602
  stroke: t.color,
602
603
  "stroke-width": "1",
603
604
  "stroke-linecap": "round",
604
605
  "stroke-linejoin": "round",
605
606
  fill: "none",
606
607
  filter: Q(a)
607
- }, null, 8, Qt)) : v("", !0)
608
+ }, null, 8, Zt)) : v("", !0)
608
609
  ]))), 256)) : v("", !0),
609
- e.value.type === "polar" ? (o(!0), n(m, { key: 3 }, O(f.value, (t, a) => (o(), n("g", null, [
610
+ e.value.type === "polar" ? (o(!0), n(w, { key: 3 }, O(f.value, (t, a) => (o(), n("g", null, [
610
611
  z(t) && y.value.dataLabels.show ? (o(), n("line", {
611
612
  key: 0,
612
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,
@@ -619,7 +620,7 @@ const Yt = (W) => (lt("data-v-e89705b6"), W = W(), at(), W), At = ["id"], Xt = [
619
620
  "stroke-linejoin": "round",
620
621
  fill: "none",
621
622
  filter: Q(a)
622
- }, null, 8, Zt)) : v("", !0)
623
+ }, null, 8, el)) : v("", !0)
623
624
  ]))), 256)) : v("", !0),
624
625
  e.value.type === "classic" ? (o(), n("circle", {
625
626
  key: 4,
@@ -627,57 +628,57 @@ const Yt = (W) => (lt("data-v-e89705b6"), W = W(), at(), W), At = ["id"], Xt = [
627
628
  cy: u.value.height / 2,
628
629
  r: C.value <= 0 ? 10 : C.value,
629
630
  fill: e.value.style.chart.backgroundColor,
630
- filter: e.value.style.chart.layout.donut.useShadow ? `url(#shadow_${w.value})` : ""
631
- }, null, 8, el)) : v("", !0),
632
- $.value && e.value.type === "classic" ? (o(), n(m, { key: 5 }, [
633
- (o(!0), n(m, null, O(f.value, (t, a) => (o(), n("path", {
631
+ 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", {
634
635
  stroke: e.value.style.chart.backgroundColor,
635
636
  d: t.arcSlice,
636
637
  fill: "#FFFFFF"
637
- }, null, 8, tl))), 256)),
638
- (o(!0), n(m, null, O(f.value, (t, a) => (o(), n("path", {
638
+ }, null, 8, ll))), 256)),
639
+ (o(!0), n(w, null, O(f.value, (t, a) => (o(), n("path", {
639
640
  class: "vue-ui-donut-arc-path",
640
641
  d: t.arcSlice,
641
642
  fill: s(ee)(t.color, 80),
642
643
  stroke: e.value.style.chart.backgroundColor,
643
644
  "stroke-width": e.value.style.chart.layout.donut.borderWidth,
644
645
  filter: Q(a)
645
- }, null, 8, ll))), 256))
646
+ }, null, 8, al))), 256))
646
647
  ], 64)) : v("", !0),
647
- $.value && e.value.type === "polar" ? (o(), n(m, { key: 6 }, [
648
- f.value.length > 1 ? (o(), n("g", al, [
649
- (o(!0), n(m, null, O(f.value, (t, a) => (o(), n("path", {
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", {
650
651
  stroke: e.value.style.chart.backgroundColor,
651
652
  d: c.value[a].path,
652
653
  fill: "#FFFFFF"
653
- }, null, 8, ol))), 256)),
654
- e.value.style.chart.layout.donut.useShadow ? (o(), n("g", ul, [
655
- (o(!0), n(m, null, O(f.value, (t, a) => (o(), n("path", {
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", {
656
657
  class: "vue-ui-donut-arc-path",
657
658
  d: c.value[a].path,
658
659
  fill: "transparent",
659
660
  stroke: e.value.style.chart.backgroundColor,
660
661
  "stroke-width": e.value.style.chart.layout.donut.borderWidth,
661
- filter: `url(#drop_shadow_${w.value})`
662
- }, null, 8, sl))), 256))
662
+ filter: `url(#drop_shadow_${k.value})`
663
+ }, null, 8, nl))), 256))
663
664
  ])) : v("", !0),
664
- (o(!0), n(m, null, O(f.value, (t, a) => (o(), n("path", {
665
+ (o(!0), n(w, null, O(f.value, (t, a) => (o(), n("path", {
665
666
  class: "vue-ui-donut-arc-path",
666
667
  d: c.value[a].path,
667
- fill: e.value.style.chart.useGradient ? `url(#polar_gradient_${a}_${w.value})` : t.color,
668
+ fill: e.value.style.chart.useGradient ? `url(#polar_gradient_${a}_${k.value})` : t.color,
668
669
  stroke: e.value.style.chart.backgroundColor,
669
670
  "stroke-width": e.value.style.chart.layout.donut.borderWidth,
670
671
  filter: Q(a)
671
- }, null, 8, nl))), 256))
672
- ])) : (o(), n("g", rl, [
672
+ }, null, 8, rl))), 256))
673
+ ])) : (o(), n("g", il, [
673
674
  h("circle", {
674
675
  cx: u.value.width / 2,
675
676
  cy: u.value.height / 2,
676
677
  r: C.value,
677
- fill: e.value.style.chart.useGradient ? `url(#polar_gradient_0_${w.value})` : f.value[0].color,
678
+ fill: e.value.style.chart.useGradient ? `url(#polar_gradient_0_${k.value})` : f.value[0].color,
678
679
  stroke: e.value.style.chart.backgroundColor,
679
680
  "stroke-width": e.value.style.chart.layout.donut.borderWidth
680
- }, null, 8, il)
681
+ }, null, 8, vl)
681
682
  ]))
682
683
  ], 64)) : (o(), n("circle", {
683
684
  key: 7,
@@ -686,7 +687,7 @@ const Yt = (W) => (lt("data-v-e89705b6"), W = W(), at(), W), At = ["id"], Xt = [
686
687
  r: C.value <= 0 ? 10 : C.value,
687
688
  fill: "transparent",
688
689
  stroke: e.value.style.chart.backgroundColor
689
- }, null, 8, vl)),
690
+ }, null, 8, cl)),
690
691
  e.value.style.chart.useGradient && e.value.type === "classic" ? (o(), n("circle", {
691
692
  key: 8,
692
693
  cx: u.value.width / 2,
@@ -695,15 +696,15 @@ const Yt = (W) => (lt("data-v-e89705b6"), W = W(), at(), W), At = ["id"], Xt = [
695
696
  /* This might require adjustments */
696
697
  C.value <= 0 ? 10 : C.value
697
698
  ),
698
- fill: `url(#gradient_${w.value})`
699
- }, null, 8, cl)) : v("", !0),
700
- $.value ? (o(), n(m, { key: 9 }, [
701
- f.value.length > 1 || e.value.type === "classic" ? (o(), n("g", dl, [
702
- (o(!0), n(m, null, O(f.value, (t, a) => (o(), n("path", {
699
+ 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", {
703
704
  "data-cy-donut-trap": "",
704
705
  d: e.value.type === "classic" ? t.arcSlice : c.value[a].path,
705
706
  fill: S.value === a ? "rgba(0,0,0,0.1)" : "transparent",
706
- onMouseenter: (i) => ze({
707
+ onMouseenter: (i) => Ye({
707
708
  datapoint: t,
708
709
  relativeIndex: a,
709
710
  seriesIndex: t.seriesIndex,
@@ -713,15 +714,15 @@ const Yt = (W) => (lt("data-v-e89705b6"), W = W(), at(), W), At = ["id"], Xt = [
713
714
  ae.value = !1, S.value = null;
714
715
  }),
715
716
  onClick: (i) => B(t, a)
716
- }, null, 40, hl))), 256))
717
- ])) : (o(), n("g", yl, [
717
+ }, null, 40, yl))), 256))
718
+ ])) : (o(), n("g", fl, [
718
719
  h("circle", {
719
720
  cx: u.value.width / 2,
720
721
  cy: u.value.height / 2,
721
722
  r: C.value,
722
723
  fill: S.value === l.i ? "rgba(0,0,0,0.1)" : "transparent",
723
724
  "data-cy-donut-trap": "",
724
- onMouseenter: r[1] || (r[1] = (t) => ze({
725
+ onMouseenter: r[1] || (r[1] = (t) => Ye({
725
726
  datapoint: f.value[0],
726
727
  relativeIndex: 0,
727
728
  seriesIndex: f.value[0].seriesIndex,
@@ -731,10 +732,10 @@ const Yt = (W) => (lt("data-v-e89705b6"), W = W(), at(), W), At = ["id"], Xt = [
731
732
  ae.value = !1, S.value = null;
732
733
  }),
733
734
  onClick: r[3] || (r[3] = (t) => B(f.value[0], l.i))
734
- }, null, 40, fl)
735
+ }, null, 40, pl)
735
736
  ]))
736
737
  ], 64)) : v("", !0),
737
- e.value.type === "classic" ? (o(), n(m, { key: 10 }, [
738
+ e.value.type === "classic" ? (o(), n(w, { key: 10 }, [
738
739
  e.value.style.chart.layout.labels.hollow.total.show ? (o(), n("text", {
739
740
  key: 0,
740
741
  "text-anchor": "middle",
@@ -743,7 +744,7 @@ const Yt = (W) => (lt("data-v-e89705b6"), W = W(), at(), W), At = ["id"], Xt = [
743
744
  fill: e.value.style.chart.layout.labels.hollow.total.color,
744
745
  "font-size": e.value.style.chart.layout.labels.hollow.total.fontSize,
745
746
  style: Y(`font-weight:${e.value.style.chart.layout.labels.hollow.total.bold ? "bold" : ""}`)
746
- }, x(e.value.style.chart.layout.labels.hollow.total.text), 13, pl)) : v("", !0),
747
+ }, x(e.value.style.chart.layout.labels.hollow.total.text), 13, gl)) : v("", !0),
747
748
  e.value.style.chart.layout.labels.hollow.total.show ? (o(), n("text", {
748
749
  key: 1,
749
750
  "text-anchor": "middle",
@@ -760,7 +761,7 @@ const Yt = (W) => (lt("data-v-e89705b6"), W = W(), at(), W), At = ["id"], Xt = [
760
761
  v: $.value,
761
762
  s: e.value.style.chart.layout.labels.hollow.total.value.suffix
762
763
  })
763
- )), 13, gl)) : v("", !0),
764
+ )), 13, bl)) : v("", !0),
764
765
  e.value.style.chart.layout.labels.hollow.average.show ? (o(), n("text", {
765
766
  key: 2,
766
767
  "text-anchor": "middle",
@@ -769,7 +770,7 @@ const Yt = (W) => (lt("data-v-e89705b6"), W = W(), at(), W), At = ["id"], Xt = [
769
770
  fill: e.value.style.chart.layout.labels.hollow.average.color,
770
771
  "font-size": e.value.style.chart.layout.labels.hollow.average.fontSize,
771
772
  style: Y(`font-weight:${e.value.style.chart.layout.labels.hollow.average.bold ? "bold" : ""}`)
772
- }, x(e.value.style.chart.layout.labels.hollow.average.text), 13, bl)) : v("", !0),
773
+ }, x(e.value.style.chart.layout.labels.hollow.average.text), 13, ml)) : v("", !0),
773
774
  e.value.style.chart.layout.labels.hollow.average.show ? (o(), n("text", {
774
775
  key: 3,
775
776
  "text-anchor": "middle",
@@ -780,41 +781,41 @@ const Yt = (W) => (lt("data-v-e89705b6"), W = W(), at(), W), At = ["id"], Xt = [
780
781
  style: Y(`font-weight:${e.value.style.chart.layout.labels.hollow.average.value.bold ? "bold" : ""}`)
781
782
  }, x(G.value ? "--" : s(A)(
782
783
  e.value.style.chart.layout.labels.hollow.average.value.formatter,
783
- Te.value,
784
+ ze.value,
784
785
  s(L)({
785
786
  p: e.value.style.chart.layout.labels.hollow.average.value.prefix,
786
- v: Te.value,
787
+ v: ze.value,
787
788
  s: e.value.style.chart.layout.labels.hollow.average.value.suffix,
788
789
  r: e.value.style.chart.layout.labels.hollow.average.value.rounding
789
790
  })
790
- )), 13, ml)) : v("", !0)
791
+ )), 13, wl)) : v("", !0)
791
792
  ], 64)) : v("", !0),
792
- (o(!0), n(m, null, O(f.value, (t, a) => (o(), n("g", {
793
+ (o(!0), n(w, null, O(f.value, (t, a) => (o(), n("g", {
793
794
  filter: Q(a),
794
795
  class: ce({ animated: e.value.useCssAnimation })
795
796
  }, [
796
- e.value.style.chart.layout.labels.dataLabels.useLabelSlots ? (o(), n("g", kl, [
797
+ e.value.style.chart.layout.labels.dataLabels.useLabelSlots ? (o(), n("g", _l, [
797
798
  (o(), n("foreignObject", {
798
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,
799
- y: s(te)(t) - (Ae.value ? 20 : 0),
800
+ y: s(te)(t) - (Xe.value ? 20 : 0),
800
801
  width: "120",
801
802
  height: "60",
802
803
  style: { overflow: "visible" }
803
804
  }, [
804
805
  h("div", null, [
805
- k(l.$slots, "dataLabel", U(E({
806
+ m(l.$slots, "dataLabel", U(E({
806
807
  datapoint: t,
807
808
  isBlur: !e.value.useBlurOnHover || [null, void 0].includes(S.value) || S.value === a,
808
- isSafari: Ae.value,
809
+ isSafari: Xe.value,
809
810
  isVisible: z(t) && y.value.dataLabels.show,
810
811
  textAlign: s(b)(t, !0, 16, !0).anchor,
811
812
  flexAlign: s(b)(t, !0, 16).anchor,
812
813
  percentage: ne(t, f.value)
813
814
  })), void 0, !0)
814
815
  ])
815
- ], 8, _l))
816
- ])) : (o(), n("g", xl, [
817
- e.value.type === "classic" ? (o(), n(m, { key: 0 }, [
816
+ ], 8, xl))
817
+ ])) : (o(), n("g", Cl, [
818
+ e.value.type === "classic" ? (o(), n(w, { key: 0 }, [
818
819
  z(t) && y.value.dataLabels.show ? (o(), n("circle", {
819
820
  key: 0,
820
821
  cx: s(b)(t).x,
@@ -823,11 +824,11 @@ const Yt = (W) => (lt("data-v-e89705b6"), W = W(), at(), W), At = ["id"], Xt = [
823
824
  stroke: e.value.style.chart.backgroundColor,
824
825
  "stroke-width": 1,
825
826
  r: 3,
826
- filter: !e.value.useBlurOnHover || [null, void 0].includes(S.value) || S.value === a ? "" : `url(#blur_${w.value})`,
827
+ filter: !e.value.useBlurOnHover || [null, void 0].includes(S.value) || S.value === a ? "" : `url(#blur_${k.value})`,
827
828
  onClick: (i) => B(t, a)
828
- }, null, 8, Cl)) : v("", !0)
829
+ }, null, 8, $l)) : v("", !0)
829
830
  ], 64)) : v("", !0),
830
- e.value.type === "polar" ? (o(), n(m, { key: 1 }, [
831
+ e.value.type === "polar" ? (o(), n(w, { key: 1 }, [
831
832
  z(t) && y.value.dataLabels.show ? (o(), n("circle", {
832
833
  key: 0,
833
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,
@@ -836,11 +837,11 @@ const Yt = (W) => (lt("data-v-e89705b6"), W = W(), at(), W), At = ["id"], Xt = [
836
837
  stroke: e.value.style.chart.backgroundColor,
837
838
  "stroke-width": 1,
838
839
  r: 3,
839
- filter: !e.value.useBlurOnHover || [null, void 0].includes(S.value) || S.value === a ? "" : `url(#blur_${w.value})`,
840
+ filter: !e.value.useBlurOnHover || [null, void 0].includes(S.value) || S.value === a ? "" : `url(#blur_${k.value})`,
840
841
  onClick: (i) => B(t, a)
841
- }, null, 8, $l)) : v("", !0)
842
+ }, null, 8, Pl)) : v("", !0)
842
843
  ], 64)) : v("", !0),
843
- e.value.type === "classic" ? (o(), n(m, { key: 2 }, [
844
+ e.value.type === "classic" ? (o(), n(w, { key: 2 }, [
844
845
  z(t) && y.value.dataLabels.show ? (o(), n("text", {
845
846
  key: 0,
846
847
  "text-anchor": s(b)(t, !0, 12).anchor,
@@ -860,7 +861,7 @@ const Yt = (W) => (lt("data-v-e89705b6"), W = W(), at(), W), At = ["id"], Xt = [
860
861
  r: e.value.style.chart.layout.labels.value.rounding
861
862
  }),
862
863
  { datapoint: t }
863
- )})` : ""), 13, Pl)) : v("", !0),
864
+ )})` : ""), 13, Sl)) : v("", !0),
864
865
  z(t) && y.value.dataLabels.show ? (o(), n("text", {
865
866
  key: 1,
866
867
  "text-anchor": s(b)(t).anchor,
@@ -870,9 +871,9 @@ const Yt = (W) => (lt("data-v-e89705b6"), W = W(), at(), W), At = ["id"], Xt = [
870
871
  "font-size": e.value.style.chart.layout.labels.name.fontSize,
871
872
  style: Y(`font-weight:${e.value.style.chart.layout.labels.name.bold ? "bold" : ""}`),
872
873
  onClick: (i) => B(t, a)
873
- }, x(t.name), 13, Sl)) : v("", !0)
874
+ }, x(t.name), 13, Ll)) : v("", !0)
874
875
  ], 64)) : v("", !0),
875
- e.value.type === "polar" ? (o(), n(m, { key: 3 }, [
876
+ e.value.type === "polar" ? (o(), n(w, { key: 3 }, [
876
877
  z(t) && y.value.dataLabels.show ? (o(), n("text", {
877
878
  key: 0,
878
879
  "text-anchor": R(c.value[a].middlePoint),
@@ -892,7 +893,7 @@ const Yt = (W) => (lt("data-v-e89705b6"), W = W(), at(), W), At = ["id"], Xt = [
892
893
  r: e.value.style.chart.layout.labels.value.rounding
893
894
  }),
894
895
  { datapoint: t }
895
- )})` : ""), 13, Ll)) : v("", !0),
896
+ )})` : ""), 13, Fl)) : v("", !0),
896
897
  z(t) && y.value.dataLabels.show ? (o(), n("text", {
897
898
  key: 1,
898
899
  "text-anchor": R(c.value[a].middlePoint),
@@ -902,10 +903,10 @@ const Yt = (W) => (lt("data-v-e89705b6"), W = W(), at(), W), At = ["id"], Xt = [
902
903
  "font-size": e.value.style.chart.layout.labels.name.fontSize,
903
904
  style: Y(`font-weight:${e.value.style.chart.layout.labels.name.bold ? "bold" : ""}`),
904
905
  onClick: (i) => B(t, a)
905
- }, x(t.name), 13, Fl)) : v("", !0)
906
+ }, x(t.name), 13, Tl)) : v("", !0)
906
907
  ], 64)) : v("", !0)
907
908
  ])),
908
- y.value.dataLabels.show && e.value.style.chart.comments.show && t.comment ? (o(), n("g", Tl, [
909
+ y.value.dataLabels.show && e.value.style.chart.comments.show && t.comment ? (o(), n("g", zl, [
909
910
  z(t) && e.value.type === "classic" ? (o(), n("foreignObject", {
910
911
  key: 0,
911
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),
@@ -915,33 +916,33 @@ const Yt = (W) => (lt("data-v-e89705b6"), W = W(), at(), W), At = ["id"], Xt = [
915
916
  style: { overflow: "visible", "pointer-events": "none" }
916
917
  }, [
917
918
  h("div", null, [
918
- k(l.$slots, "plot-comment", {
919
+ m(l.$slots, "plot-comment", {
919
920
  plot: { ...t, textAlign: s(b)(t, !0, 16, !0).anchor, flexAlign: s(b)(t, !0, 16).anchor }
920
921
  }, void 0, !0)
921
922
  ])
922
- ], 8, zl)) : v("", !0),
923
+ ], 8, Yl)) : v("", !0),
923
924
  z(t) && e.value.type === "polar" ? (o(), n("foreignObject", {
924
925
  key: 1,
925
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),
926
- y: We(c.value[a]) + e.value.style.chart.comments.offsetY,
927
+ y: qe(c.value[a]) + e.value.style.chart.comments.offsetY,
927
928
  width: e.value.style.chart.comments.width,
928
929
  height: "200",
929
930
  style: { overflow: "visible", "pointer-events": "none" }
930
931
  }, [
931
932
  h("div", null, [
932
- k(l.$slots, "plot-comment", {
933
+ m(l.$slots, "plot-comment", {
933
934
  plot: { ...t, textAlign: R(c.value[a].middlePoint), flexAlign: R(c.value[a].middlePoint) }
934
935
  }, void 0, !0)
935
936
  ])
936
- ], 8, Yl)) : v("", !0)
937
+ ], 8, Al)) : v("", !0)
937
938
  ])) : v("", !0)
938
- ], 10, wl))), 256)),
939
- k(l.$slots, "svg", { svg: u.value }, void 0, !0)
940
- ], 14, Xt)) : v("", !0),
941
- l.$slots.watermark ? (o(), n("div", Al, [
942
- k(l.$slots, "watermark", U(E({ isPrinting: s(ke) || s(_e) })), void 0, !0)
939
+ ], 10, kl))), 256)),
940
+ 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)
943
944
  ])) : v("", !0),
944
- q.value ? v("", !0) : (o(), V(St, {
945
+ q.value ? v("", !0) : (o(), V(Lt, {
945
946
  key: 5,
946
947
  config: {
947
948
  type: "donut",
@@ -958,18 +959,18 @@ const Yt = (W) => (lt("data-v-e89705b6"), W = W(), at(), W), At = ["id"], Xt = [
958
959
  ref_key: "chartLegend",
959
960
  ref: ye
960
961
  }, [
961
- e.value.style.chart.legend.show ? (o(), V(Pt, {
962
- key: `legend_${ge.value}`,
963
- legendSet: Fe.value,
964
- config: Ee.value,
965
- onClickMarker: r[4] || (r[4] = ({ i: t }) => Le(t))
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))
966
967
  }, {
967
968
  item: P(({ legend: t, index: a }) => [
968
969
  h("div", {
969
970
  onClick: (i) => t.segregate(),
970
971
  style: Y(`opacity:${N.value.includes(a) ? 0.5 : 1}`)
971
972
  }, [
972
- Be(x(t.name) + ": " + x(s(A)(
973
+ Me(x(t.name) + ": " + x(s(A)(
973
974
  e.value.style.chart.layout.labels.value.formatter,
974
975
  t.value,
975
976
  s(L)({
@@ -983,7 +984,7 @@ const Yt = (W) => (lt("data-v-e89705b6"), W = W(), at(), W), At = ["id"], Xt = [
983
984
  index: a
984
985
  }
985
986
  )) + " ", 1),
986
- N.value.includes(a) ? (o(), n("span", Ol, " ( " + x(Ke(t.proportion * 100)) + " % ) ", 1)) : (o(), n("span", Nl, " (" + x(isNaN(t.value / $.value) ? "-" : s(A)(
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)(
987
988
  e.value.style.chart.layout.labels.percentage.formatter,
988
989
  G.value ? t.proportion * 100 : t.value / $.value * 100,
989
990
  s(L)({
@@ -992,13 +993,21 @@ const Yt = (W) => (lt("data-v-e89705b6"), W = W(), at(), W), At = ["id"], Xt = [
992
993
  r: e.value.style.chart.legend.roundingPercentage
993
994
  })
994
995
  )) + ") ", 1))
995
- ], 12, Xl)
996
+ ], 12, Nl)
996
997
  ]),
997
998
  _: 1
998
999
  }, 8, ["legendSet", "config"])) : v("", !0),
999
- k(l.$slots, "legend", { legend: Fe.value }, void 0, !0)
1000
+ m(l.$slots, "legend", { legend: Te.value }, void 0, !0)
1000
1001
  ], 512),
1001
- De($t, {
1002
+ l.$slots.source ? (o(), n("div", {
1003
+ key: 6,
1004
+ ref_key: "source",
1005
+ ref: fe,
1006
+ dir: "auto"
1007
+ }, [
1008
+ m(l.$slots, "source", {}, void 0, !0)
1009
+ ], 512)) : v("", !0),
1010
+ Be(Pt, {
1002
1011
  show: y.value.showTooltip && ae.value,
1003
1012
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
1004
1013
  color: e.value.style.chart.tooltip.color,
@@ -1014,15 +1023,15 @@ const Yt = (W) => (lt("data-v-e89705b6"), W = W(), at(), W), At = ["id"], Xt = [
1014
1023
  isCustom: K.value
1015
1024
  }, {
1016
1025
  "tooltip-before": P(() => [
1017
- k(l.$slots, "tooltip-before", U(E({ ...re.value })), void 0, !0)
1026
+ m(l.$slots, "tooltip-before", U(E({ ...re.value })), void 0, !0)
1018
1027
  ]),
1019
1028
  "tooltip-after": P(() => [
1020
- k(l.$slots, "tooltip-after", U(E({ ...re.value })), void 0, !0)
1029
+ m(l.$slots, "tooltip-after", U(E({ ...re.value })), void 0, !0)
1021
1030
  ]),
1022
1031
  _: 3
1023
1032
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
1024
- q.value ? (o(), V(Lt, {
1025
- key: 6,
1033
+ q.value ? (o(), V(Ft, {
1034
+ key: 7,
1026
1035
  hideDetails: "",
1027
1036
  config: {
1028
1037
  open: y.value.showTable,
@@ -1038,8 +1047,8 @@ const Yt = (W) => (lt("data-v-e89705b6"), W = W(), at(), W), At = ["id"], Xt = [
1038
1047
  }
1039
1048
  }, {
1040
1049
  content: P(() => [
1041
- (o(), V(Ct, {
1042
- key: `table_${pe.value}`,
1050
+ (o(), V($t, {
1051
+ key: `table_${ge.value}`,
1043
1052
  colNames: oe.value.colNames,
1044
1053
  head: oe.value.head,
1045
1054
  body: oe.value.body,
@@ -1051,10 +1060,10 @@ const Yt = (W) => (lt("data-v-e89705b6"), W = W(), at(), W), At = ["id"], Xt = [
1051
1060
  h("div", {
1052
1061
  innerHTML: t,
1053
1062
  style: { display: "flex", "align-items": "center" }
1054
- }, null, 8, Il)
1063
+ }, null, 8, Dl)
1055
1064
  ]),
1056
1065
  td: P(({ td: t }) => [
1057
- Be(x(t.name ? t.name : isNaN(Number(t)) ? t.includes("%") ? t : s(A)(
1066
+ Me(x(t.name ? t.name : isNaN(Number(t)) ? t.includes("%") ? t : s(A)(
1058
1067
  e.value.style.chart.layout.labels.percentage.formatter,
1059
1068
  t,
1060
1069
  s(L)({
@@ -1078,9 +1087,9 @@ const Yt = (W) => (lt("data-v-e89705b6"), W = W(), at(), W), At = ["id"], Xt = [
1078
1087
  ]),
1079
1088
  _: 1
1080
1089
  }, 8, ["config"])) : v("", !0)
1081
- ], 14, At));
1090
+ ], 14, Xt));
1082
1091
  }
1083
- }, Zl = /* @__PURE__ */ zt(Dl, [["__scopeId", "data-v-e89705b6"]]);
1092
+ }, ea = /* @__PURE__ */ Yt(Bl, [["__scopeId", "data-v-f76d6ac3"]]);
1084
1093
  export {
1085
- Zl as default
1094
+ ea as default
1086
1095
  };