vue-data-ui 2.3.74 → 2.3.75

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 (193) hide show
  1. package/dist/{Arrow-CYCrAySW.js → Arrow-BTG7M25z.js} +1 -1
  2. package/dist/{Arrow-DK6F5Fq3.cjs → Arrow-CZK77NmC.cjs} +1 -1
  3. package/dist/{BaseIcon-DBHVtm3A.cjs → BaseIcon--PMhZ3f-.cjs} +1 -1
  4. package/dist/{BaseIcon-kBIAYqUO.js → BaseIcon-BAOfPaXs.js} +1 -1
  5. package/dist/{DataTable-CKdV-L0e.js → DataTable-CQANRZju.js} +2 -2
  6. package/dist/{DataTable-BNFSPjhv.cjs → DataTable-DjQzrklZ.cjs} +1 -1
  7. package/dist/{Legend-Do2kcWFT.cjs → Legend-CtbPB0Bo.cjs} +1 -1
  8. package/dist/{Legend-Cj7T-DqJ.js → Legend-DX1kv21U.js} +1 -1
  9. package/dist/{Shape-DRDUAe_o.cjs → Shape-CadGs1Am.cjs} +1 -1
  10. package/dist/{Shape-Bo8ZjViG.js → Shape-kqcyauhC.js} +1 -1
  11. package/dist/{Slicer-D8jHSP7U.cjs → Slicer-i_oECHxH.cjs} +1 -1
  12. package/dist/{Slicer-4nGKvUYF.js → Slicer-yaJs-izT.js} +2 -2
  13. package/dist/{Title-DZjnxQdN.js → Title-C26I_HC3.js} +1 -1
  14. package/dist/{Title-D5cATWsL.cjs → Title-XBiDFYKD.cjs} +1 -1
  15. package/dist/{Tooltip--kgFEVZs.js → Tooltip-CH8GmDCG.js} +1 -1
  16. package/dist/{Tooltip-B8yLaegk.cjs → Tooltip-DxtWkIt5.cjs} +1 -1
  17. package/dist/{index-C8SH0f2u.js → index-Cm4Iry5c.js} +1 -1
  18. package/dist/{index-D_32ZGWd.cjs → index-DYUBiaGS.cjs} +1 -1
  19. package/dist/style.css +1 -1
  20. package/dist/{useNestedProp-lS_T5lM3.js → useNestedProp-CurQIHTa.js} +1 -1
  21. package/dist/{useNestedProp-BvvH633N.cjs → useNestedProp-w7AMWWmz.cjs} +1 -1
  22. package/dist/{usePrinter-Dj50NAxo.js → usePrinter-B8RnF8_q.js} +1 -1
  23. package/dist/{usePrinter-BouFNHWR.cjs → usePrinter-ZlHxdaEz.cjs} +1 -1
  24. package/dist/{vue-data-ui-v_BbbLtJ.cjs → vue-data-ui-B7amrpT-.cjs} +1 -1
  25. package/dist/{vue-data-ui-DoXqU7xC.js → vue-data-ui-Bj6kEIpq.js} +57 -57
  26. package/dist/vue-data-ui.cjs +1 -1
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/vue-ui-3d-bar-BAz41kL7.cjs +19 -0
  29. package/dist/{vue-ui-3d-bar-CnoPOJHm.js → vue-ui-3d-bar-Bg9IgVVc.js} +499 -486
  30. package/dist/{vue-ui-accordion-Cka6b_Up.cjs → vue-ui-accordion-1WxrfiCH.cjs} +1 -1
  31. package/dist/{vue-ui-accordion-YHleIgkV.js → vue-ui-accordion-Cb6XBCbu.js} +3 -3
  32. package/dist/{vue-ui-age-pyramid-CENg8fDg.js → vue-ui-age-pyramid-BhwmnQru.js} +182 -169
  33. package/dist/vue-ui-age-pyramid-CHNvRXx8.cjs +1 -0
  34. package/dist/{vue-ui-annotator-ByYg6QMs.cjs → vue-ui-annotator-B22cdlhA.cjs} +1 -1
  35. package/dist/{vue-ui-annotator-VJOLUkqJ.js → vue-ui-annotator-BiHQvMdW.js} +1 -1
  36. package/dist/{vue-ui-candlestick-CHsGD3bx.js → vue-ui-candlestick-Cl9dyh4l.js} +295 -279
  37. package/dist/vue-ui-candlestick-D7DjdYyw.cjs +2 -0
  38. package/dist/vue-ui-carousel-table-Do5cYRqN.cjs +1 -0
  39. package/dist/{vue-ui-carousel-table-RAtX3VBu.js → vue-ui-carousel-table-QsONwqNz.js} +106 -91
  40. package/dist/vue-ui-chestnut-CyE8MafY.cjs +6 -0
  41. package/dist/{vue-ui-chestnut-B5GQX0J_.js → vue-ui-chestnut-Drb01WMC.js} +215 -204
  42. package/dist/{vue-ui-cursor-CMm7XSSG.js → vue-ui-cursor-BP04_XbB.js} +2 -2
  43. package/dist/{vue-ui-cursor-DnZqLj21.cjs → vue-ui-cursor-DZeTQBKz.cjs} +1 -1
  44. package/dist/{vue-ui-dashboard-Ck_5L3eu.js → vue-ui-dashboard-BWdx5gjZ.js} +2 -2
  45. package/dist/{vue-ui-dashboard-DgEQJnLr.cjs → vue-ui-dashboard-Z63RE1XS.cjs} +1 -1
  46. package/dist/{vue-ui-digits-UvwUdi6U.cjs → vue-ui-digits-CBQaHW6a.cjs} +1 -1
  47. package/dist/{vue-ui-digits--ULH35um.js → vue-ui-digits-DUhkLcmd.js} +2 -2
  48. package/dist/vue-ui-donut-D2YJYgOB.cjs +1 -0
  49. package/dist/{vue-ui-donut-QQ1fWWvc.js → vue-ui-donut-DRPSwmGr.js} +376 -362
  50. package/dist/{vue-ui-donut-evolution-Cx8kBB_7.js → vue-ui-donut-evolution-gRXAyxq8.js} +270 -255
  51. package/dist/vue-ui-donut-evolution-jAMVgNHQ.cjs +1 -0
  52. package/dist/{vue-ui-dumbbell-BYvwHpU8.js → vue-ui-dumbbell-CQo5jqSK.js} +232 -213
  53. package/dist/vue-ui-dumbbell-DLfZcrXq.cjs +9 -0
  54. package/dist/vue-ui-flow-BQ3UbMUb.js +481 -0
  55. package/dist/vue-ui-flow-BlX2-eEC.cjs +1 -0
  56. package/dist/{vue-ui-galaxy-B0L57aec.js → vue-ui-galaxy-BHWugUKG.js} +175 -162
  57. package/dist/vue-ui-galaxy-Cax5o6Yl.cjs +1 -0
  58. package/dist/vue-ui-gauge-DG6_kvKh.js +500 -0
  59. package/dist/vue-ui-gauge-DpGcv_00.cjs +1 -0
  60. package/dist/vue-ui-gizmo-D9Vh9Rmr.cjs +1 -0
  61. package/dist/{vue-ui-gizmo-D2RfM55X.js → vue-ui-gizmo-bV148qAf.js} +66 -53
  62. package/dist/{vue-ui-heatmap-DKM0DH41.js → vue-ui-heatmap-BZZUvnMa.js} +157 -143
  63. package/dist/vue-ui-heatmap-B_ELXKKV.cjs +1 -0
  64. package/dist/vue-ui-kpi-C5v7qQvZ.js +98 -0
  65. package/dist/vue-ui-kpi-CwVAvTB2.cjs +1 -0
  66. package/dist/{vue-ui-mini-loader-MywnWlYI.js → vue-ui-mini-loader-BdKizX_J.js} +2 -2
  67. package/dist/{vue-ui-mini-loader-CLP19Txv.cjs → vue-ui-mini-loader-DZNY-3rr.cjs} +1 -1
  68. package/dist/{vue-ui-molecule-CLI9iTRE.js → vue-ui-molecule-MKyrhqqm.js} +177 -167
  69. package/dist/vue-ui-molecule-bva6OvPc.cjs +1 -0
  70. package/dist/{vue-ui-mood-radar-O30wZo9a.js → vue-ui-mood-radar-BNIFFvq0.js} +172 -161
  71. package/dist/vue-ui-mood-radar-CzQOAyNI.cjs +1 -0
  72. package/dist/{vue-ui-nested-donuts-D8o4TqTt.js → vue-ui-nested-donuts-BDAlZrMF.js} +377 -364
  73. package/dist/vue-ui-nested-donuts-CxdZC6JF.cjs +17 -0
  74. package/dist/{vue-ui-onion-Hmcke6xB.js → vue-ui-onion-CFa4VD-w.js} +191 -177
  75. package/dist/vue-ui-onion-Df7YcsVR.cjs +5 -0
  76. package/dist/vue-ui-parallel-coordinate-plot-D7Q2zfcR.cjs +8 -0
  77. package/dist/{vue-ui-parallel-coordinate-plot-CyChE3NP.js → vue-ui-parallel-coordinate-plot-DmqYXT-U.js} +298 -284
  78. package/dist/{vue-ui-quadrant-DimTQdAj.js → vue-ui-quadrant-D5jHkq9g.js} +347 -334
  79. package/dist/vue-ui-quadrant-ZqhcVYf5.cjs +1 -0
  80. package/dist/{vue-ui-quick-chart-DxJvENid.js → vue-ui-quick-chart-BjXXSx7V.js} +483 -469
  81. package/dist/vue-ui-quick-chart-Dt9AsEU6.cjs +15 -0
  82. package/dist/vue-ui-radar-2EuZr7i2.cjs +1 -0
  83. package/dist/{vue-ui-radar-D_FieunT.js → vue-ui-radar-CW8EKW4o.js} +202 -189
  84. package/dist/{vue-ui-rating-BHW2Onru.cjs → vue-ui-rating-DrtLvVA0.cjs} +1 -1
  85. package/dist/{vue-ui-rating-DF1BpH4E.js → vue-ui-rating-eSWsmJUU.js} +2 -2
  86. package/dist/vue-ui-relation-circle-C60OTe88.cjs +1 -0
  87. package/dist/vue-ui-relation-circle-DiUCpEqa.js +322 -0
  88. package/dist/{vue-ui-rings-BqS-iece.js → vue-ui-rings-BxhLbyG0.js} +203 -189
  89. package/dist/vue-ui-rings-CHq-a5ZS.cjs +2 -0
  90. package/dist/{vue-ui-scatter-Dns49Nht.js → vue-ui-scatter-DQchX_mM.js} +284 -270
  91. package/dist/vue-ui-scatter-DZUZUbnk.cjs +1 -0
  92. package/dist/{vue-ui-screenshot-5Gsnd0Wr.js → vue-ui-screenshot-CLa9vMzM.js} +1 -1
  93. package/dist/{vue-ui-screenshot---q062Kd.cjs → vue-ui-screenshot-SLSIpqx2.cjs} +1 -1
  94. package/dist/{vue-ui-skeleton-B4eWLjH3.js → vue-ui-skeleton-C1oUnz7R.js} +2 -2
  95. package/dist/{vue-ui-skeleton-fVPw-oIR.cjs → vue-ui-skeleton-ClpTCY1x.cjs} +1 -1
  96. package/dist/{vue-ui-smiley-B8Tyunn3.js → vue-ui-smiley-CmWHSt1S.js} +2 -2
  97. package/dist/{vue-ui-smiley-YfHmv0rQ.cjs → vue-ui-smiley-Daw8fPDy.cjs} +1 -1
  98. package/dist/vue-ui-spark-trend-CO69Dg31.js +263 -0
  99. package/dist/vue-ui-spark-trend-DmDlv8ie.cjs +1 -0
  100. package/dist/{vue-ui-sparkbar-9DBvdYn7.js → vue-ui-sparkbar-BRlqpe4e.js} +95 -87
  101. package/dist/vue-ui-sparkbar-BUGdi0BY.cjs +1 -0
  102. package/dist/vue-ui-sparkgauge-CCxKzDjT.cjs +1 -0
  103. package/dist/vue-ui-sparkgauge-CbuFESsM.js +178 -0
  104. package/dist/{vue-ui-sparkhistogram-BBUVmco4.js → vue-ui-sparkhistogram-B4-hrDHz.js} +79 -68
  105. package/dist/vue-ui-sparkhistogram-XtqX10_t.cjs +1 -0
  106. package/dist/vue-ui-sparkline-BZTEi9YC.cjs +1 -0
  107. package/dist/{vue-ui-sparkline-CeqNV6Re.js → vue-ui-sparkline-DlXNmG6M.js} +142 -123
  108. package/dist/vue-ui-sparkstackbar-CDmZeXnq.cjs +1 -0
  109. package/dist/{vue-ui-sparkstackbar-C3GMC1eW.js → vue-ui-sparkstackbar-J1YowQmP.js} +120 -104
  110. package/dist/{vue-ui-stackbar-DyGPrFxi.js → vue-ui-stackbar-CKIDqkkY.js} +235 -222
  111. package/dist/vue-ui-stackbar-CXGWukoJ.cjs +6 -0
  112. package/dist/vue-ui-strip-plot-CvmoRcYN.cjs +1 -0
  113. package/dist/{vue-ui-strip-plot-y1AnVJmq.js → vue-ui-strip-plot-JVLwIy0j.js} +246 -232
  114. package/dist/{vue-ui-table-B4kfykAO.js → vue-ui-table-BSi_cHh7.js} +1 -1
  115. package/dist/{vue-ui-table-xWvAQS-s.cjs → vue-ui-table-Dqi64VE7.cjs} +1 -1
  116. package/dist/vue-ui-table-heatmap-BwghEh5t.cjs +1 -0
  117. package/dist/{vue-ui-table-heatmap-YZRSzwRM.js → vue-ui-table-heatmap-CfvW3rcm.js} +106 -95
  118. package/dist/{vue-ui-table-sparkline-C0v2r4Kf.js → vue-ui-table-sparkline-Y6Lrrzxy.js} +151 -138
  119. package/dist/vue-ui-table-sparkline-bIy3kkHB.cjs +1 -0
  120. package/dist/{vue-ui-thermometer-D5qurIy7.js → vue-ui-thermometer-BPTs7Nxc.js} +116 -104
  121. package/dist/vue-ui-thermometer-DDtxYr7w.cjs +1 -0
  122. package/dist/{vue-ui-timer-VWjovnKL.js → vue-ui-timer-CkB7eZaE.js} +191 -176
  123. package/dist/vue-ui-timer-DRSSYxOX.cjs +64 -0
  124. package/dist/{vue-ui-tiremarks-jH6cdQOJ.js → vue-ui-tiremarks-BbOaoY8S.js} +115 -103
  125. package/dist/vue-ui-tiremarks-Bttwg3-p.cjs +1 -0
  126. package/dist/vue-ui-treemap-Chq0WQPe.cjs +1 -0
  127. package/dist/{vue-ui-treemap-BCc5sQLB.js → vue-ui-treemap-CoaK3wBl.js} +251 -237
  128. package/dist/{vue-ui-vertical-bar-2In_g5iC.js → vue-ui-vertical-bar-BA43_uHV.js} +314 -299
  129. package/dist/vue-ui-vertical-bar-BLIUt-HT.cjs +4 -0
  130. package/dist/{vue-ui-waffle-OzU830VX.js → vue-ui-waffle-BoEf8CcG.js} +285 -265
  131. package/dist/vue-ui-waffle-NBjY0mko.cjs +1 -0
  132. package/dist/vue-ui-wheel-Bgo2jpj0.js +255 -0
  133. package/dist/vue-ui-wheel-t5bI4a-P.cjs +1 -0
  134. package/dist/vue-ui-word-cloud-DPW_-Hzz.cjs +1 -0
  135. package/dist/vue-ui-word-cloud-Jd9_JUyi.js +512 -0
  136. package/dist/{vue-ui-xy-DuJtYXKl.js → vue-ui-xy-BMBYAC4z.js} +300 -274
  137. package/dist/vue-ui-xy-CBHEBcZK.cjs +3 -0
  138. package/dist/vue-ui-xy-canvas-D5FqRF4p.cjs +9 -0
  139. package/dist/{vue-ui-xy-canvas-CKibMJHh.js → vue-ui-xy-canvas-LOsQ_DM-.js} +345 -327
  140. package/package.json +1 -1
  141. package/dist/vue-ui-3d-bar-CwCEoPX-.cjs +0 -19
  142. package/dist/vue-ui-age-pyramid-GqCNpd_h.cjs +0 -1
  143. package/dist/vue-ui-candlestick-TdNVq_FX.cjs +0 -2
  144. package/dist/vue-ui-carousel-table-yXUSFk2u.cjs +0 -1
  145. package/dist/vue-ui-chestnut-EJj-dQSY.cjs +0 -6
  146. package/dist/vue-ui-donut-BqUBysA_.cjs +0 -1
  147. package/dist/vue-ui-donut-evolution-BXtEnop4.cjs +0 -1
  148. package/dist/vue-ui-dumbbell-CjIh7KTm.cjs +0 -9
  149. package/dist/vue-ui-flow-hp0Hpuhn.js +0 -469
  150. package/dist/vue-ui-flow-u29zqSQj.cjs +0 -1
  151. package/dist/vue-ui-galaxy-DE1HbBi-.cjs +0 -1
  152. package/dist/vue-ui-gauge-B_IZrsfj.cjs +0 -1
  153. package/dist/vue-ui-gauge-CPyyn7cL.js +0 -488
  154. package/dist/vue-ui-gizmo-DR4gacOL.cjs +0 -1
  155. package/dist/vue-ui-heatmap-DMB_eUpA.cjs +0 -1
  156. package/dist/vue-ui-kpi-BAxAY13T.js +0 -84
  157. package/dist/vue-ui-kpi-BD21xshi.cjs +0 -1
  158. package/dist/vue-ui-molecule-BNsWckH-.cjs +0 -1
  159. package/dist/vue-ui-mood-radar-BsWE1f8R.cjs +0 -1
  160. package/dist/vue-ui-nested-donuts-CYyUtXs2.cjs +0 -17
  161. package/dist/vue-ui-onion-D7TXJu5w.cjs +0 -5
  162. package/dist/vue-ui-parallel-coordinate-plot-BqZB7xKn.cjs +0 -8
  163. package/dist/vue-ui-quadrant-BPDTvxlT.cjs +0 -1
  164. package/dist/vue-ui-quick-chart-C_-ut0if.cjs +0 -15
  165. package/dist/vue-ui-radar-C5Kq19hg.cjs +0 -1
  166. package/dist/vue-ui-relation-circle-4kIYttRI.js +0 -310
  167. package/dist/vue-ui-relation-circle-DHMHHsqY.cjs +0 -1
  168. package/dist/vue-ui-rings-BqPS8NKl.cjs +0 -2
  169. package/dist/vue-ui-scatter-BLVcdf3d.cjs +0 -1
  170. package/dist/vue-ui-spark-trend-Dpv6am0Z.cjs +0 -1
  171. package/dist/vue-ui-spark-trend-Em9OqYyG.js +0 -251
  172. package/dist/vue-ui-sparkbar-BuSuwQYl.cjs +0 -1
  173. package/dist/vue-ui-sparkgauge-BN5feBzp.js +0 -167
  174. package/dist/vue-ui-sparkgauge-DKtUZMv1.cjs +0 -1
  175. package/dist/vue-ui-sparkhistogram-BmuusW02.cjs +0 -1
  176. package/dist/vue-ui-sparkline-Blzv-tIQ.cjs +0 -1
  177. package/dist/vue-ui-sparkstackbar-D__WDEMv.cjs +0 -1
  178. package/dist/vue-ui-stackbar-DFqJ5K_q.cjs +0 -6
  179. package/dist/vue-ui-strip-plot-z9fjJ6Dj.cjs +0 -1
  180. package/dist/vue-ui-table-heatmap-CGKecjtm.cjs +0 -1
  181. package/dist/vue-ui-table-sparkline-CHFZG3Tg.cjs +0 -1
  182. package/dist/vue-ui-thermometer-DoOxxVW1.cjs +0 -1
  183. package/dist/vue-ui-timer-D63zHe-I.cjs +0 -64
  184. package/dist/vue-ui-tiremarks-Cp8YEmXh.cjs +0 -1
  185. package/dist/vue-ui-treemap-DJrdEFW5.cjs +0 -1
  186. package/dist/vue-ui-vertical-bar-BfJJqN_z.cjs +0 -4
  187. package/dist/vue-ui-waffle-A2gmRbq0.cjs +0 -1
  188. package/dist/vue-ui-wheel-C9QXzWu1.js +0 -242
  189. package/dist/vue-ui-wheel-DGSh9VKq.cjs +0 -1
  190. package/dist/vue-ui-word-cloud-C2ZaVlfO.js +0 -498
  191. package/dist/vue-ui-word-cloud-DPFB1MYk.cjs +0 -1
  192. package/dist/vue-ui-xy-C-2-aijE.cjs +0 -3
  193. package/dist/vue-ui-xy-canvas-D7wf3xab.cjs +0 -9
@@ -1,25 +1,25 @@
1
- import { computed as g, ref as d, onMounted as Me, onBeforeUnmount as Ge, watch as Ee, openBlock as s, createElementBlock as n, normalizeClass as ue, normalizeStyle as S, renderSlot as p, createVNode as se, createCommentVNode as v, createBlock as Q, unref as o, createSlots as Ue, withCtx as w, normalizeProps as Y, guardReactiveProps as H, createElementVNode as b, Fragment as V, renderList as W, toDisplayString as _, createTextVNode as Se, nextTick as je, pushScopeId as Re, popScopeId as Ye } from "vue";
2
- import { u as He, o as We, e as Te, g as Xe, c as qe, t as Je, a as Ke, p as D, b as Qe, d as Z, m as Ze, f as C, X as el, w as ll, j as tl, E as al, i as T, k as y, n as X, x as ol, q as ul, r as sl } from "./index-C8SH0f2u.js";
3
- import { t as rl, u as nl } from "./useResponsive-NZB-WLRF.js";
4
- import { _ as il } from "./Title-DZjnxQdN.js";
5
- import { u as vl, U as cl } from "./usePrinter-Dj50NAxo.js";
6
- import { D as dl } from "./DataTable-CKdV-L0e.js";
7
- import { _ as hl } from "./Tooltip--kgFEVZs.js";
8
- import { L as yl } from "./Legend-Cj7T-DqJ.js";
9
- import fl from "./vue-ui-skeleton-B4eWLjH3.js";
10
- import bl from "./vue-ui-accordion-YHleIgkV.js";
11
- import { u as Fe } from "./useNestedProp-lS_T5lM3.js";
12
- import { _ as gl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
- const pl = (M) => (Re("data-v-8cc49fb9"), M = M(), Ye(), M), ml = ["id"], wl = ["xmlns", "viewBox"], kl = ["id"], _l = ["stop-color"], Cl = ["stop-color"], xl = ["stop-color"], $l = ["id"], Ll = ["id"], Sl = /* @__PURE__ */ pl(() => /* @__PURE__ */ b("feColorMatrix", {
1
+ import { computed as g, ref as v, onMounted as Re, onBeforeUnmount as Ye, watch as Ne, openBlock as s, createElementBlock as n, normalizeClass as ue, normalizeStyle as T, renderSlot as p, createBlock as V, createCommentVNode as c, unref as o, createSlots as He, withCtx as w, normalizeProps as H, guardReactiveProps as W, createElementVNode as b, Fragment as M, renderList as X, toDisplayString as _, createTextVNode as Pe, createVNode as We, nextTick as Xe, pushScopeId as qe, popScopeId as Je } from "vue";
2
+ import { u as Ke, o as Qe, e as Oe, g as Ze, c as el, b as ll, d as Z, p as D, m as tl, f as C, X as al, w as ol, j as ul, E as sl, i as F, k as y, n as q, t as rl, a as nl, x as il, q as vl, r as cl } from "./index-Cm4Iry5c.js";
3
+ import { t as dl, u as hl } from "./useResponsive-NZB-WLRF.js";
4
+ import { _ as yl } from "./Title-C26I_HC3.js";
5
+ import { u as fl, U as bl } from "./usePrinter-B8RnF8_q.js";
6
+ import { D as gl } from "./DataTable-CQANRZju.js";
7
+ import { _ as pl } from "./Tooltip-CH8GmDCG.js";
8
+ import { L as ml } from "./Legend-DX1kv21U.js";
9
+ import wl from "./vue-ui-skeleton-C1oUnz7R.js";
10
+ import kl from "./vue-ui-accordion-Cb6XBCbu.js";
11
+ import { u as Ae } from "./useNestedProp-CurQIHTa.js";
12
+ import { _ as _l } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
+ const Cl = (G) => (qe("data-v-315950a4"), G = G(), Je(), G), xl = ["id"], $l = ["xmlns", "viewBox"], Sl = ["id"], Ll = ["stop-color"], Tl = ["stop-color"], Fl = ["stop-color"], zl = ["id"], Nl = ["id"], Pl = /* @__PURE__ */ Cl(() => /* @__PURE__ */ b("feColorMatrix", {
14
14
  type: "saturate",
15
15
  values: "0"
16
- }, null, -1)), Tl = ["id"], Fl = ["flood-color"], zl = ["d", "stroke", "filter"], Nl = ["cx", "cy", "r", "fill", "filter"], Pl = ["stroke", "d"], Ol = ["d", "fill", "stroke", "stroke-width", "filter"], Al = ["cx", "cy", "r", "fill", "stroke"], Dl = ["cx", "cy", "r", "fill"], Il = ["d", "fill", "onMouseenter", "onClick"], Bl = ["cx", "cy", "r", "fill"], Vl = ["x", "y", "fill", "font-size"], Ml = ["x", "y", "fill", "font-size"], Gl = ["x", "y", "fill", "font-size"], El = ["x", "y", "fill", "font-size"], Ul = ["filter"], jl = { key: 0 }, Rl = ["x", "y"], Yl = { key: 1 }, Hl = ["cx", "cy", "fill", "filter", "onClick"], Wl = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], Xl = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], ql = { key: 2 }, Jl = ["x", "y", "width"], Kl = {
16
+ }, null, -1)), Ol = ["id"], Al = ["flood-color"], Dl = ["d", "stroke", "filter"], Il = ["cx", "cy", "r", "fill", "filter"], Bl = ["stroke", "d"], Vl = ["d", "fill", "stroke", "stroke-width", "filter"], Ml = ["cx", "cy", "r", "fill", "stroke"], Gl = ["cx", "cy", "r", "fill"], El = ["d", "fill", "onMouseenter", "onClick"], Ul = ["cx", "cy", "r", "fill"], jl = ["x", "y", "fill", "font-size"], Rl = ["x", "y", "fill", "font-size"], Yl = ["x", "y", "fill", "font-size"], Hl = ["x", "y", "fill", "font-size"], Wl = ["filter"], Xl = { key: 0 }, ql = ["x", "y"], Jl = { key: 1 }, Kl = ["cx", "cy", "fill", "filter", "onClick"], Ql = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], Zl = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], et = { key: 2 }, lt = ["x", "y", "width"], tt = {
17
17
  key: 3,
18
18
  class: "vue-data-ui-watermark"
19
- }, Ql = ["onClick"], Zl = {
19
+ }, at = ["onClick"], ot = {
20
20
  key: 0,
21
21
  style: { "font-variant-numeric": "tabular-nums" }
22
- }, et = { key: 1 }, lt = ["innerHTML"], tt = {
22
+ }, ut = { key: 1 }, st = ["innerHTML"], rt = {
23
23
  __name: "vue-ui-donut",
24
24
  props: {
25
25
  config: {
@@ -36,143 +36,155 @@ const pl = (M) => (Re("data-v-8cc49fb9"), M = M(), Ye(), M), ml = ["id"], wl = [
36
36
  }
37
37
  },
38
38
  emits: ["selectLegend", "selectDatapoint"],
39
- setup(M, { expose: ze, emit: re }) {
40
- const F = M, { vue_ui_donut: Ne } = He(), G = g({
39
+ setup(G, { expose: De, emit: se }) {
40
+ const S = G, { vue_ui_donut: Ie } = Ke(), E = g({
41
41
  get() {
42
- return !!F.dataset && F.dataset.length;
42
+ return !!S.dataset && S.dataset.length;
43
43
  },
44
- set(t) {
45
- return t;
44
+ set(l) {
45
+ return l;
46
46
  }
47
- }), E = d(null), ne = d(null), ie = d(null), q = d(null);
48
- Me(() => {
49
- if (We(F.dataset) ? Te({
47
+ }), U = v(null), re = v(null), ne = v(null), J = v(null), ie = v(0), ve = v(0), ce = v(0);
48
+ Re(() => {
49
+ de();
50
+ }), Ye(() => {
51
+ J.value && J.value.disconnect();
52
+ });
53
+ function de() {
54
+ if (Qe(S.dataset) ? Oe({
50
55
  componentName: "VueUiDonut",
51
56
  type: "dataset"
52
- }) : F.dataset.forEach((t, a) => {
53
- Xe({
54
- datasetObject: t,
57
+ }) : S.dataset.forEach((l, a) => {
58
+ Ze({
59
+ datasetObject: l,
55
60
  requiredAttributes: ["name", "values"]
56
- }).forEach((l) => {
57
- G.value = !1, Te({
61
+ }).forEach((t) => {
62
+ E.value = !1, Oe({
58
63
  componentName: "VueUiDonut",
59
64
  type: "datasetSerieAttribute",
60
- property: l,
65
+ property: t,
61
66
  index: a
62
67
  });
63
68
  });
64
69
  }), e.value.responsive) {
65
- const t = rl(() => {
66
- const { width: a, height: l } = nl({
67
- chart: E.value,
68
- title: e.value.style.chart.title.text ? ne.value : null,
69
- legend: e.value.style.chart.legend.show ? ie.value : null
70
+ const l = dl(() => {
71
+ const { width: a, height: t } = hl({
72
+ chart: U.value,
73
+ title: e.value.style.chart.title.text ? re.value : null,
74
+ legend: e.value.style.chart.legend.show ? ne.value : null
70
75
  });
71
- i.value.width = a, i.value.height = l;
76
+ i.value.width = a, i.value.height = t;
72
77
  });
73
- q.value = new ResizeObserver(t), q.value.observe(E.value.parentNode);
78
+ J.value = new ResizeObserver(l), J.value.observe(U.value.parentNode);
74
79
  }
75
- }), Ge(() => {
76
- q.value && q.value.disconnect();
77
- });
78
- const x = d(qe()), Pe = d(null), ee = d(!1), le = d(""), z = d(null), ve = d(0), e = g(() => {
79
- const t = Fe({
80
- userConfig: F.config,
81
- defaultConfig: Ne
80
+ }
81
+ const x = v(el()), Be = v(null), ee = v(!1), le = v(""), z = v(null), he = v(0);
82
+ function ye() {
83
+ const l = Ae({
84
+ userConfig: S.config,
85
+ defaultConfig: Ie
82
86
  });
83
- return t.theme ? {
84
- ...Fe({
85
- userConfig: Je.vue_ui_donut[t.theme] || F.config,
86
- defaultConfig: t
87
+ return l.theme ? {
88
+ ...Ae({
89
+ userConfig: rl.vue_ui_donut[l.theme] || S.config,
90
+ defaultConfig: l
87
91
  }),
88
- customPalette: Ke[t.theme] || D
89
- } : t;
90
- }), { isPrinting: ce, isImaging: de, generatePdf: he, generateImage: ye } = vl({
92
+ customPalette: nl[l.theme] || D
93
+ } : l;
94
+ }
95
+ const e = g({
96
+ get: () => ye(),
97
+ set: (l) => l
98
+ });
99
+ Ne(() => S.config, (l) => {
100
+ e.value = ye(), de(), ie.value += 1, ve.value += 1, ce.value += 1;
101
+ }, { deep: !0 });
102
+ const { isPrinting: fe, isImaging: be, generatePdf: ge, generateImage: pe } = fl({
91
103
  elementId: `donut__${x.value}`,
92
104
  fileName: e.value.style.chart.title.text || "vue-ui-donut"
93
- }), fe = g(() => Qe(e.value.customPalette)), f = d({
105
+ }), me = g(() => ll(e.value.customPalette)), f = v({
94
106
  dataLabels: {
95
107
  show: e.value.style.chart.layout.labels.dataLabels.show
96
108
  },
97
109
  showTable: e.value.table.show,
98
110
  showTooltip: e.value.style.chart.tooltip.show
99
- }), i = d({
111
+ }), i = v({
100
112
  height: 360,
101
113
  width: 512
102
- }), U = g(() => {
103
- const t = e.value.style.chart.layout.donut.strokeWidth / 512, a = i.value.width * t;
114
+ }), j = g(() => {
115
+ const l = e.value.style.chart.layout.donut.strokeWidth / 512, a = i.value.width * l;
104
116
  return a > $.value / 2 ? e.value.style.chart.layout.donut.strokeWidth : a;
105
- }), P = g(() => F.dataset.map((t, a) => ({
106
- name: t.name,
107
- color: Z(t.color) || fe.value[a] || D[a] || D[a % D.length],
108
- value: t.values.reduce((l, u) => l + u, 0),
109
- absoluteValues: t.values,
110
- comment: t.comment || ""
111
- }))), k = d(P.value);
112
- Ee(() => P.value, (t) => k.value = t);
113
- function Oe() {
114
- return P.value.map((t) => ({
115
- name: t.name,
116
- color: t.color,
117
- value: t.value
117
+ }), P = g(() => S.dataset.map((l, a) => ({
118
+ name: l.name,
119
+ color: Z(l.color) || me.value[a] || D[a] || D[a % D.length],
120
+ value: l.values.reduce((t, u) => t + u, 0),
121
+ absoluteValues: l.values,
122
+ comment: l.comment || ""
123
+ }))), k = v(P.value);
124
+ Ne(() => P.value, (l) => k.value = l);
125
+ function Ve() {
126
+ return P.value.map((l) => ({
127
+ name: l.name,
128
+ color: l.color,
129
+ value: l.value
118
130
  }));
119
131
  }
120
- const L = d([]), be = d(null), ge = d(null), O = d(!1);
121
- function pe(t) {
122
- const a = P.value.find((r, h) => h === t);
123
- let u = k.value.find((r, h) => h === t).value;
124
- if (L.value.includes(t)) {
132
+ const L = v([]), we = v(null), ke = v(null), O = v(!1);
133
+ function _e(l) {
134
+ const a = P.value.find((r, h) => h === l);
135
+ let u = k.value.find((r, h) => h === l).value;
136
+ if (L.value.includes(l)) {
125
137
  let h = function() {
126
- u > r ? (cancelAnimationFrame(be.value), k.value = k.value.map((c, oe) => t === oe ? {
127
- ...c,
138
+ u > r ? (cancelAnimationFrame(we.value), k.value = k.value.map((d, oe) => l === oe ? {
139
+ ...d,
128
140
  value: r
129
- } : c), O.value = !1) : (O.value = !0, u += r * 0.025, k.value = k.value.map((c, oe) => t === oe ? {
130
- ...c,
141
+ } : d), O.value = !1) : (O.value = !0, u += r * 0.025, k.value = k.value.map((d, oe) => l === oe ? {
142
+ ...d,
131
143
  value: u
132
- } : c), be.value = requestAnimationFrame(h));
144
+ } : d), we.value = requestAnimationFrame(h));
133
145
  };
134
- L.value = L.value.filter((c) => c !== t);
146
+ L.value = L.value.filter((d) => d !== l);
135
147
  const r = a.value;
136
148
  h();
137
149
  } else if (L.value.length < P.value.length - 1) {
138
150
  let r = function() {
139
- u < 0.1 ? (cancelAnimationFrame(ge.value), L.value.push(t), k.value = k.value.map((h, c) => t === c ? {
151
+ u < 0.1 ? (cancelAnimationFrame(ke.value), L.value.push(l), k.value = k.value.map((h, d) => l === d ? {
140
152
  ...h,
141
153
  value: 0
142
- } : h), O.value = !1) : (O.value = !0, u /= 1.1, k.value = k.value.map((h, c) => t === c ? {
154
+ } : h), O.value = !1) : (O.value = !0, u /= 1.1, k.value = k.value.map((h, d) => l === d ? {
143
155
  ...h,
144
156
  value: u
145
- } : h), ge.value = requestAnimationFrame(r));
157
+ } : h), ke.value = requestAnimationFrame(r));
146
158
  };
147
159
  r();
148
160
  }
149
- re("selectLegend", I.value.map((r) => ({
161
+ se("selectLegend", I.value.map((r) => ({
150
162
  name: r.name,
151
163
  color: r.color,
152
164
  value: r.value
153
165
  })));
154
166
  }
155
- const I = g(() => (k.value.forEach((t, a) => {
156
- if ([null, void 0].includes(t.values))
167
+ const I = g(() => (k.value.forEach((l, a) => {
168
+ if ([null, void 0].includes(l.values))
157
169
  return {
158
- ...t,
170
+ ...l,
159
171
  values: []
160
172
  };
161
- }), k.value.map((t, a) => ({
162
- ...t,
173
+ }), k.value.map((l, a) => ({
174
+ ...l,
163
175
  seriesIndex: a
164
- })).filter((t, a) => !L.value.includes(a)))), me = g(() => F.dataset.map((t, a) => ({
165
- name: t.name,
166
- color: Z(t.color) || fe.value[a] || D[a] || D[a % D.length],
167
- value: (t.values || []).reduce((l, u) => l + u, 0),
176
+ })).filter((l, a) => !L.value.includes(a)))), Ce = g(() => S.dataset.map((l, a) => ({
177
+ name: l.name,
178
+ color: Z(l.color) || me.value[a] || D[a] || D[a % D.length],
179
+ value: (l.values || []).reduce((t, u) => t + u, 0),
168
180
  shape: "circle"
169
- })).map((t, a) => ({
170
- ...t,
171
- proportion: t.value / F.dataset.map((l) => (l.values || []).reduce((u, r) => u + r, 0)).reduce((l, u) => l + u, 0),
181
+ })).map((l, a) => ({
182
+ ...l,
183
+ proportion: l.value / S.dataset.map((t) => (t.values || []).reduce((u, r) => u + r, 0)).reduce((t, u) => t + u, 0),
172
184
  opacity: L.value.includes(a) ? 0.5 : 1,
173
- segregate: () => pe(a),
185
+ segregate: () => _e(a),
174
186
  isSegregated: L.value.includes(a)
175
- }))), Ae = g(() => ({
187
+ }))), Me = g(() => ({
176
188
  cy: "donut-div-legend",
177
189
  backgroundColor: e.value.style.chart.legend.backgroundColor,
178
190
  color: e.value.style.chart.legend.color,
@@ -180,114 +192,114 @@ const pl = (M) => (Re("data-v-8cc49fb9"), M = M(), Ye(), M), ml = ["id"], wl = [
180
192
  paddingBottom: 12,
181
193
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
182
194
  })), $ = g(() => {
183
- const t = Math.min(i.value.width / 3, i.value.height / 3);
184
- return t < 55 ? 55 : t;
185
- }), A = g(() => Ze({ series: I.value }, i.value.width / 2, i.value.height / 2, $.value, $.value, 1.99999, 2, 1, 360, 105.25, U.value));
186
- function B(t) {
187
- return t.proportion * 100 > e.value.style.chart.layout.labels.dataLabels.hideUnderValue;
195
+ const l = Math.min(i.value.width / 3, i.value.height / 3);
196
+ return l < 55 ? 55 : l;
197
+ }), A = g(() => tl({ series: I.value }, i.value.width / 2, i.value.height / 2, $.value, $.value, 1.99999, 2, 1, 360, 105.25, j.value));
198
+ function B(l) {
199
+ return l.proportion * 100 > e.value.style.chart.layout.labels.dataLabels.hideUnderValue;
188
200
  }
189
- function we(t, a) {
190
- const l = t.value / De(a);
191
- return isNaN(l) ? 0 : T(
201
+ function xe(l, a) {
202
+ const t = l.value / Ge(a);
203
+ return isNaN(t) ? 0 : F(
192
204
  e.value.style.chart.layout.labels.percentage.formatter,
193
- l * 100,
205
+ t * 100,
194
206
  C({
195
- v: l * 100,
207
+ v: t * 100,
196
208
  s: "%",
197
209
  r: e.value.style.chart.layout.labels.percentage.rounding
198
210
  }),
199
- { datapoint: t }
211
+ { datapoint: l }
200
212
  );
201
213
  }
202
- function De(t) {
203
- return [...t].map((a) => a.value).reduce((a, l) => a + l, 0);
214
+ function Ge(l) {
215
+ return [...l].map((a) => a.value).reduce((a, t) => a + t, 0);
204
216
  }
205
- const m = g(() => I.value.map((t) => t.value).reduce((t, a) => t + a, 0)), ke = g(() => m.value / I.value.length), te = d(null), j = d(!1);
206
- function Ie({ datapoint: t, relativeIndex: a, seriesIndex: l, show: u = !1 }) {
207
- te.value = { datapoint: t, seriesIndex: l, config: e.value, series: P.value }, ee.value = u, z.value = a;
217
+ const m = g(() => I.value.map((l) => l.value).reduce((l, a) => l + a, 0)), $e = g(() => m.value / I.value.length), te = v(null), R = v(!1);
218
+ function Ee({ datapoint: l, relativeIndex: a, seriesIndex: t, show: u = !1 }) {
219
+ te.value = { datapoint: l, seriesIndex: t, config: e.value, series: P.value }, ee.value = u, z.value = a;
208
220
  let r = "";
209
221
  const h = e.value.style.chart.tooltip.customFormat;
210
- if (j.value = !1, ol(h))
222
+ if (R.value = !1, il(h))
211
223
  try {
212
- const c = h({
213
- seriesIndex: l,
214
- datapoint: t,
224
+ const d = h({
225
+ seriesIndex: t,
226
+ datapoint: l,
215
227
  series: P.value,
216
228
  config: e.value
217
229
  });
218
- typeof c == "string" && (le.value = c, j.value = !0);
230
+ typeof d == "string" && (le.value = d, R.value = !0);
219
231
  } catch {
220
- console.warn("Custom format cannot be applied."), j.value = !1;
232
+ console.warn("Custom format cannot be applied."), R.value = !1;
221
233
  }
222
- if (!j.value) {
223
- if (r += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${t.name}</div>`, r += `<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="${t.color}"/></svg>`, e.value.style.chart.tooltip.showValue && (r += `<b>${T(
234
+ if (!R.value) {
235
+ if (r += `<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>`, r += `<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 && (r += `<b>${F(
224
236
  e.value.style.chart.layout.labels.value.formatter,
225
- t.value,
237
+ l.value,
226
238
  C({
227
239
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
228
- v: t.value,
240
+ v: l.value,
229
241
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
230
242
  r: e.value.style.chart.tooltip.roundingValue
231
243
  }),
232
244
  {
233
- datapoint: t,
245
+ datapoint: l,
234
246
  relativeIndex: a,
235
- seriesIndex: l
247
+ seriesIndex: t
236
248
  }
237
249
  )}</b>`), e.value.style.chart.tooltip.showPercentage) {
238
- const c = T(
250
+ const d = F(
239
251
  e.value.style.chart.layout.labels.percentage.formatter,
240
- t.proportion * 100,
252
+ l.proportion * 100,
241
253
  C({
242
- v: t.proportion * 100,
254
+ v: l.proportion * 100,
243
255
  s: "%",
244
256
  r: e.value.style.chart.tooltip.roundingPercentage
245
257
  }),
246
258
  {
247
- datapoint: t,
259
+ datapoint: l,
248
260
  relativeIndex: a,
249
- seriesIndex: l
261
+ seriesIndex: t
250
262
  }
251
263
  );
252
- e.value.style.chart.tooltip.showValue ? r += `<span>(${c})</span></div>` : r += `<b>${c}%</b></div>`;
264
+ e.value.style.chart.tooltip.showValue ? r += `<span>(${d})</span></div>` : r += `<b>${d}%</b></div>`;
253
265
  }
254
- e.value.style.chart.comments.showInTooltip && t.comment && (r += `<div class="vue-data-ui-tooltip-comment" style="background:${t.color}20; padding: 6px; margin-bottom: 6px; margin-top:6px; border-left: 1px solid ${t.color}">${t.comment}</div>`), le.value = `<div>${r}</div>`;
266
+ e.value.style.chart.comments.showInTooltip && l.comment && (r += `<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>`), le.value = `<div>${r}</div>`;
255
267
  }
256
268
  }
257
- function ae(t) {
258
- return e.value.useBlurOnHover && ![null, void 0].includes(z.value) && z.value !== t ? `url(#blur_${x.value})` : "";
269
+ function ae(l) {
270
+ return e.value.useBlurOnHover && ![null, void 0].includes(z.value) && z.value !== l ? `url(#blur_${x.value})` : "";
259
271
  }
260
272
  const N = g(() => {
261
- const t = I.value.map((l) => ({
262
- name: l.name,
263
- color: l.color
264
- })), a = I.value.map((l) => l.value);
265
- return { head: t, body: a };
273
+ const l = I.value.map((t) => ({
274
+ name: t.name,
275
+ color: t.color
276
+ })), a = I.value.map((t) => t.value);
277
+ return { head: l, body: a };
266
278
  });
267
- function _e() {
268
- je(() => {
269
- const t = N.value.head.map((u, r) => [[
279
+ function Se() {
280
+ Xe(() => {
281
+ const l = N.value.head.map((u, r) => [[
270
282
  u.name
271
- ], [N.value.body[r]], [isNaN(N.value.body[r] / m.value) ? "-" : N.value.body[r] / m.value * 100]]), a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(t), l = ul(a);
272
- sl({ csvContent: l, title: e.value.style.chart.title.text || "vue-ui-donut" });
283
+ ], [N.value.body[r]], [isNaN(N.value.body[r] / m.value) ? "-" : N.value.body[r] / m.value * 100]]), a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(l), t = vl(a);
284
+ cl({ csvContent: t, title: e.value.style.chart.title.text || "vue-ui-donut" });
273
285
  });
274
286
  }
275
- const J = g(() => {
276
- const t = [
287
+ const K = g(() => {
288
+ const l = [
277
289
  ' <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>',
278
290
  C({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: m.value, s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue }),
279
291
  "100%"
280
292
  ], a = N.value.head.map((r, h) => {
281
- const c = C({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: N.value.body[h], s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue });
293
+ const d = C({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: N.value.body[h], s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue });
282
294
  return [
283
295
  {
284
296
  color: r.color,
285
297
  name: r.name
286
298
  },
287
- c,
299
+ d,
288
300
  isNaN(N.value.body[h] / m.value) ? "-" : (N.value.body[h] / m.value * 100).toFixed(e.value.table.td.roundingPercentage) + "%"
289
301
  ];
290
- }), l = {
302
+ }), t = {
291
303
  th: {
292
304
  backgroundColor: e.value.table.th.backgroundColor,
293
305
  color: e.value.table.th.color,
@@ -306,53 +318,54 @@ const pl = (M) => (Re("data-v-8cc49fb9"), M = M(), Ye(), M), ml = ["id"], wl = [
306
318
  e.value.table.columnNames.value,
307
319
  e.value.table.columnNames.percentage
308
320
  ],
309
- head: t,
321
+ head: l,
310
322
  body: a,
311
- config: l
323
+ config: t
312
324
  };
313
- }), R = d(!1);
314
- function Be(t) {
315
- R.value = t, ve.value += 1;
325
+ }), Y = v(!1);
326
+ function Ue(l) {
327
+ Y.value = l, he.value += 1;
316
328
  }
317
- const Ce = g(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent));
318
- function Ve(t) {
319
- return t.toFixed(e.value.style.chart.legend.roundingPercentage).split("").map((a) => "-").join("");
329
+ const Le = g(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent));
330
+ function je(l) {
331
+ return l.toFixed(e.value.style.chart.legend.roundingPercentage).split("").map((a) => "-").join("");
320
332
  }
321
- function K(t, a) {
322
- re("selectDatapoint", { datapoint: t, index: a });
333
+ function Q(l, a) {
334
+ se("selectDatapoint", { datapoint: l, index: a });
323
335
  }
324
- function xe() {
336
+ function Te() {
325
337
  f.value.showTable = !f.value.showTable;
326
338
  }
327
- function $e() {
339
+ function Fe() {
328
340
  f.value.dataLabels.show = !f.value.dataLabels.show;
329
341
  }
330
- function Le() {
342
+ function ze() {
331
343
  f.value.showTooltip = !f.value.showTooltip;
332
344
  }
333
- return ze({
334
- getData: Oe,
335
- generatePdf: he,
336
- generateCsv: _e,
337
- generateImage: ye,
338
- toggleTable: xe,
339
- toggleLabels: $e,
340
- toggleTooltip: Le
341
- }), (t, a) => (s(), n("div", {
345
+ return De({
346
+ getData: Ve,
347
+ generatePdf: ge,
348
+ generateCsv: Se,
349
+ generateImage: pe,
350
+ toggleTable: Te,
351
+ toggleLabels: Fe,
352
+ toggleTooltip: ze
353
+ }), (l, a) => (s(), n("div", {
342
354
  ref_key: "donutChart",
343
- ref: E,
344
- class: ue(`vue-ui-donut ${R.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
345
- style: S(`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}`),
355
+ ref: U,
356
+ class: ue(`vue-ui-donut ${Y.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
357
+ style: T(`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}`),
346
358
  id: `donut__${x.value}`
347
359
  }, [
348
- p(t.$slots, "userConfig", {}, void 0, !0),
360
+ p(l.$slots, "userConfig", {}, void 0, !0),
349
361
  e.value.style.chart.title.text ? (s(), n("div", {
350
362
  key: 0,
351
363
  ref_key: "chartTitle",
352
- ref: ne,
353
- style: S(`width:100%;background:${e.value.style.chart.backgroundColor};padding-bottom:24px`)
364
+ ref: re,
365
+ style: T(`width:100%;background:${e.value.style.chart.backgroundColor};padding-bottom:24px`)
354
366
  }, [
355
- se(il, {
367
+ (s(), V(yl, {
368
+ key: `title_${ie.value}`,
356
369
  config: {
357
370
  title: {
358
371
  cy: "donut-div-title",
@@ -363,16 +376,16 @@ const pl = (M) => (Re("data-v-8cc49fb9"), M = M(), Ye(), M), ml = ["id"], wl = [
363
376
  ...e.value.style.chart.title.subtitle
364
377
  }
365
378
  }
366
- }, null, 8, ["config"])
367
- ], 4)) : v("", !0),
368
- e.value.userOptions.show && G.value ? (s(), Q(cl, {
379
+ }, null, 8, ["config"]))
380
+ ], 4)) : c("", !0),
381
+ e.value.userOptions.show && E.value ? (s(), V(bl, {
369
382
  ref_key: "details",
370
- ref: Pe,
371
- key: `user_option_${ve.value}`,
383
+ ref: Be,
384
+ key: `user_option_${he.value}`,
372
385
  backgroundColor: e.value.style.chart.backgroundColor,
373
386
  color: e.value.style.chart.color,
374
- isPrinting: o(ce),
375
- isImaging: o(de),
387
+ isPrinting: o(fe),
388
+ isImaging: o(be),
376
389
  uid: x.value,
377
390
  hasTooltip: e.value.style.chart.tooltip.show && e.value.userOptions.buttons.tooltip,
378
391
  hasPdf: e.value.userOptions.buttons.pdf,
@@ -381,74 +394,74 @@ const pl = (M) => (Re("data-v-8cc49fb9"), M = M(), Ye(), M), ml = ["id"], wl = [
381
394
  hasTable: e.value.userOptions.buttons.table,
382
395
  hasLabel: e.value.userOptions.buttons.labels,
383
396
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
384
- isFullscreen: R.value,
385
- chartElement: E.value,
397
+ isFullscreen: Y.value,
398
+ chartElement: U.value,
386
399
  isTooltip: f.value.showTooltip,
387
400
  titles: { ...e.value.userOptions.buttonTitles },
388
- onToggleFullscreen: Be,
389
- onGeneratePdf: o(he),
390
- onGenerateCsv: _e,
391
- onGenerateImage: o(ye),
392
- onToggleTable: xe,
393
- onToggleLabels: $e,
394
- onToggleTooltip: Le
395
- }, Ue({ _: 2 }, [
396
- t.$slots.optionTooltip ? {
401
+ onToggleFullscreen: Ue,
402
+ onGeneratePdf: o(ge),
403
+ onGenerateCsv: Se,
404
+ onGenerateImage: o(pe),
405
+ onToggleTable: Te,
406
+ onToggleLabels: Fe,
407
+ onToggleTooltip: ze
408
+ }, He({ _: 2 }, [
409
+ l.$slots.optionTooltip ? {
397
410
  name: "optionTooltip",
398
411
  fn: w(() => [
399
- p(t.$slots, "optionTooltip", {}, void 0, !0)
412
+ p(l.$slots, "optionTooltip", {}, void 0, !0)
400
413
  ]),
401
414
  key: "0"
402
415
  } : void 0,
403
- t.$slots.optionPdf ? {
416
+ l.$slots.optionPdf ? {
404
417
  name: "optionPdf",
405
418
  fn: w(() => [
406
- p(t.$slots, "optionPdf", {}, void 0, !0)
419
+ p(l.$slots, "optionPdf", {}, void 0, !0)
407
420
  ]),
408
421
  key: "1"
409
422
  } : void 0,
410
- t.$slots.optionCsv ? {
423
+ l.$slots.optionCsv ? {
411
424
  name: "optionCsv",
412
425
  fn: w(() => [
413
- p(t.$slots, "optionCsv", {}, void 0, !0)
426
+ p(l.$slots, "optionCsv", {}, void 0, !0)
414
427
  ]),
415
428
  key: "2"
416
429
  } : void 0,
417
- t.$slots.optionImg ? {
430
+ l.$slots.optionImg ? {
418
431
  name: "optionImg",
419
432
  fn: w(() => [
420
- p(t.$slots, "optionImg", {}, void 0, !0)
433
+ p(l.$slots, "optionImg", {}, void 0, !0)
421
434
  ]),
422
435
  key: "3"
423
436
  } : void 0,
424
- t.$slots.optionTable ? {
437
+ l.$slots.optionTable ? {
425
438
  name: "optionTable",
426
439
  fn: w(() => [
427
- p(t.$slots, "optionTable", {}, void 0, !0)
440
+ p(l.$slots, "optionTable", {}, void 0, !0)
428
441
  ]),
429
442
  key: "4"
430
443
  } : void 0,
431
- t.$slots.optionLabels ? {
444
+ l.$slots.optionLabels ? {
432
445
  name: "optionLabels",
433
446
  fn: w(() => [
434
- p(t.$slots, "optionLabels", {}, void 0, !0)
447
+ p(l.$slots, "optionLabels", {}, void 0, !0)
435
448
  ]),
436
449
  key: "5"
437
450
  } : void 0,
438
- t.$slots.optionFullscreen ? {
451
+ l.$slots.optionFullscreen ? {
439
452
  name: "optionFullscreen",
440
- fn: w(({ toggleFullscreen: l, isFullscreen: u }) => [
441
- p(t.$slots, "optionFullscreen", Y(H({ toggleFullscreen: l, isFullscreen: u })), void 0, !0)
453
+ fn: w(({ toggleFullscreen: t, isFullscreen: u }) => [
454
+ p(l.$slots, "optionFullscreen", H(W({ toggleFullscreen: t, isFullscreen: u })), void 0, !0)
442
455
  ]),
443
456
  key: "6"
444
457
  } : void 0
445
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "chartElement", "isTooltip", "titles", "onGeneratePdf", "onGenerateImage"])) : v("", !0),
446
- G.value ? (s(), n("svg", {
458
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "chartElement", "isTooltip", "titles", "onGeneratePdf", "onGenerateImage"])) : c("", !0),
459
+ E.value ? (s(), n("svg", {
447
460
  key: 2,
448
- xmlns: o(el),
449
- class: ue({ "vue-data-ui-fullscreen--on": R.value, "vue-data-ui-fulscreen--off": !R.value }),
461
+ xmlns: o(al),
462
+ class: ue({ "vue-data-ui-fullscreen--on": Y.value, "vue-data-ui-fulscreen--off": !Y.value }),
450
463
  viewBox: `0 0 ${i.value.width <= 0 ? 10 : i.value.width} ${i.value.height <= 0 ? 10 : i.value.height}`,
451
- style: S(`max-width:100%; overflow: visible; background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color}`)
464
+ style: T(`max-width:100%; overflow: visible; background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color}`)
452
465
  }, [
453
466
  b("defs", null, [
454
467
  e.value.style.chart.useGradient ? (s(), n("radialGradient", {
@@ -458,16 +471,16 @@ const pl = (M) => (Re("data-v-8cc49fb9"), M = M(), Ye(), M), ml = ["id"], wl = [
458
471
  b("stop", {
459
472
  offset: "0%",
460
473
  "stop-color": `${o(Z)(e.value.style.chart.backgroundColor)}00`
461
- }, null, 8, _l),
474
+ }, null, 8, Ll),
462
475
  b("stop", {
463
476
  offset: "77%",
464
- "stop-color": "#FFFFFF" + o(ll)[e.value.style.chart.gradientIntensity]
465
- }, null, 8, Cl),
477
+ "stop-color": "#FFFFFF" + o(ol)[e.value.style.chart.gradientIntensity]
478
+ }, null, 8, Tl),
466
479
  b("stop", {
467
480
  offset: "100%",
468
481
  "stop-color": `${o(Z)(e.value.style.chart.backgroundColor)}00`
469
- }, null, 8, xl)
470
- ], 8, kl)) : v("", !0)
482
+ }, null, 8, Fl)
483
+ ], 8, Sl)) : c("", !0)
471
484
  ]),
472
485
  b("defs", null, [
473
486
  b("filter", {
@@ -481,9 +494,9 @@ const pl = (M) => (Re("data-v-8cc49fb9"), M = M(), Ye(), M), ml = ["id"], wl = [
481
494
  in: "SourceGraphic",
482
495
  stdDeviation: 2,
483
496
  id: `blur_std_${x.value}`
484
- }, null, 8, Ll),
485
- Sl
486
- ], 8, $l),
497
+ }, null, 8, Nl),
498
+ Pl
499
+ ], 8, zl),
487
500
  b("filter", {
488
501
  id: `shadow_${x.value}`,
489
502
  "color-interpolation-filters": "sRGB"
@@ -494,20 +507,20 @@ const pl = (M) => (Re("data-v-8cc49fb9"), M = M(), Ye(), M), ml = ["id"], wl = [
494
507
  stdDeviation: "10",
495
508
  "flood-opacity": "0.5",
496
509
  "flood-color": e.value.style.chart.layout.donut.shadowColor
497
- }, null, 8, Fl)
498
- ], 8, Tl)
510
+ }, null, 8, Al)
511
+ ], 8, Ol)
499
512
  ]),
500
- (s(!0), n(V, null, W(A.value, (l, u) => (s(), n("g", null, [
501
- B(l) && f.value.dataLabels.show ? (s(), n("path", {
513
+ (s(!0), n(M, null, X(A.value, (t, u) => (s(), n("g", null, [
514
+ B(t) && f.value.dataLabels.show ? (s(), n("path", {
502
515
  key: 0,
503
- d: o(tl)(l, { x: i.value.width / 2, y: i.value.height / 2 }, 16, 16, !1, !1, U.value),
504
- stroke: l.color,
516
+ d: o(ul)(t, { x: i.value.width / 2, y: i.value.height / 2 }, 16, 16, !1, !1, j.value),
517
+ stroke: t.color,
505
518
  "stroke-width": "1",
506
519
  "stroke-linecap": "round",
507
520
  "stroke-linejoin": "round",
508
521
  fill: "none",
509
522
  filter: ae(u)
510
- }, null, 8, zl)) : v("", !0)
523
+ }, null, 8, Dl)) : c("", !0)
511
524
  ]))), 256)),
512
525
  b("circle", {
513
526
  cx: i.value.width / 2,
@@ -515,29 +528,29 @@ const pl = (M) => (Re("data-v-8cc49fb9"), M = M(), Ye(), M), ml = ["id"], wl = [
515
528
  r: $.value <= 0 ? 10 : $.value,
516
529
  fill: e.value.style.chart.backgroundColor,
517
530
  filter: e.value.style.chart.layout.donut.useShadow ? `url(#shadow_${x.value})` : ""
518
- }, null, 8, Nl),
519
- m.value ? (s(), n(V, { key: 0 }, [
520
- (s(!0), n(V, null, W(A.value, (l, u) => (s(), n("path", {
531
+ }, null, 8, Il),
532
+ m.value ? (s(), n(M, { key: 0 }, [
533
+ (s(!0), n(M, null, X(A.value, (t, u) => (s(), n("path", {
521
534
  stroke: e.value.style.chart.backgroundColor,
522
- d: l.arcSlice,
535
+ d: t.arcSlice,
523
536
  fill: "#FFFFFF"
524
- }, null, 8, Pl))), 256)),
525
- (s(!0), n(V, null, W(A.value, (l, u) => (s(), n("path", {
537
+ }, null, 8, Bl))), 256)),
538
+ (s(!0), n(M, null, X(A.value, (t, u) => (s(), n("path", {
526
539
  class: "vue-ui-donut-arc-path",
527
- d: l.arcSlice,
528
- fill: `${l.color}CC`,
540
+ d: t.arcSlice,
541
+ fill: `${t.color}CC`,
529
542
  stroke: e.value.style.chart.backgroundColor,
530
543
  "stroke-width": e.value.style.chart.layout.donut.borderWidth,
531
544
  filter: ae(u)
532
- }, null, 8, Ol))), 256))
545
+ }, null, 8, Vl))), 256))
533
546
  ], 64)) : (s(), n("circle", {
534
547
  key: 1,
535
548
  cx: i.value.width / 2,
536
549
  cy: i.value.height / 2,
537
550
  r: $.value <= 0 ? 10 : $.value,
538
551
  fill: e.value.style.chart.backgroundColor,
539
- stroke: o(al)(e.value.style.chart.background)
540
- }, null, 8, Al)),
552
+ stroke: o(sl)(e.value.style.chart.background)
553
+ }, null, 8, Ml)),
541
554
  e.value.style.chart.useGradient ? (s(), n("circle", {
542
555
  key: 2,
543
556
  cx: i.value.width / 2,
@@ -547,32 +560,32 @@ const pl = (M) => (Re("data-v-8cc49fb9"), M = M(), Ye(), M), ml = ["id"], wl = [
547
560
  $.value <= 0 ? 10 : $.value
548
561
  ),
549
562
  fill: `url(#gradient_${x.value})`
550
- }, null, 8, Dl)) : v("", !0),
551
- m.value ? (s(!0), n(V, { key: 3 }, W(A.value, (l, u) => (s(), n("path", {
563
+ }, null, 8, Gl)) : c("", !0),
564
+ m.value ? (s(!0), n(M, { key: 3 }, X(A.value, (t, u) => (s(), n("path", {
552
565
  "data-cy-donut-trap": "",
553
- d: l.arcSlice,
566
+ d: t.arcSlice,
554
567
  fill: z.value === u ? "rgba(0,0,0,0.1)" : "transparent",
555
- onMouseenter: (r) => Ie({
556
- datapoint: l,
568
+ onMouseenter: (r) => Ee({
569
+ datapoint: t,
557
570
  relativeIndex: u,
558
- seriesIndex: l.seriesIndex,
571
+ seriesIndex: t.seriesIndex,
559
572
  show: !0
560
573
  }),
561
574
  onMouseleave: a[0] || (a[0] = (r) => {
562
575
  ee.value = !1, z.value = null;
563
576
  }),
564
- onClick: (r) => K(l, u)
565
- }, null, 40, Il))), 256)) : v("", !0),
577
+ onClick: (r) => Q(t, u)
578
+ }, null, 40, El))), 256)) : c("", !0),
566
579
  e.value.style.chart.layout.labels.hollow.show ? (s(), n("circle", {
567
580
  key: 4,
568
581
  cx: i.value.width / 2,
569
582
  cy: i.value.height / 2,
570
583
  r: (
571
584
  /* This might require adjustments */
572
- $.value - U.value <= 0 ? 10 : $.value - U.value
585
+ $.value - j.value <= 0 ? 10 : $.value - j.value
573
586
  ),
574
587
  fill: e.value.style.chart.backgroundColor
575
- }, null, 8, Bl)) : v("", !0),
588
+ }, null, 8, Ul)) : c("", !0),
576
589
  e.value.style.chart.layout.labels.hollow.total.show ? (s(), n("text", {
577
590
  key: 5,
578
591
  "text-anchor": "middle",
@@ -580,8 +593,8 @@ const pl = (M) => (Re("data-v-8cc49fb9"), M = M(), Ye(), M), ml = ["id"], wl = [
580
593
  y: i.value.height / 2 - (e.value.style.chart.layout.labels.hollow.average.show ? e.value.style.chart.layout.labels.hollow.total.fontSize : 0) + e.value.style.chart.layout.labels.hollow.total.offsetY,
581
594
  fill: e.value.style.chart.layout.labels.hollow.total.color,
582
595
  "font-size": e.value.style.chart.layout.labels.hollow.total.fontSize,
583
- style: S(`font-weight:${e.value.style.chart.layout.labels.hollow.total.bold ? "bold" : ""}`)
584
- }, _(e.value.style.chart.layout.labels.hollow.total.text), 13, Vl)) : v("", !0),
596
+ style: T(`font-weight:${e.value.style.chart.layout.labels.hollow.total.bold ? "bold" : ""}`)
597
+ }, _(e.value.style.chart.layout.labels.hollow.total.text), 13, jl)) : c("", !0),
585
598
  e.value.style.chart.layout.labels.hollow.total.show ? (s(), n("text", {
586
599
  key: 6,
587
600
  "text-anchor": "middle",
@@ -589,8 +602,8 @@ const pl = (M) => (Re("data-v-8cc49fb9"), M = M(), Ye(), M), ml = ["id"], wl = [
589
602
  y: i.value.height / 2 + e.value.style.chart.layout.labels.hollow.total.fontSize - (e.value.style.chart.layout.labels.hollow.average.show ? e.value.style.chart.layout.labels.hollow.total.fontSize : 0) + e.value.style.chart.layout.labels.hollow.total.value.offsetY,
590
603
  fill: e.value.style.chart.layout.labels.hollow.total.value.color,
591
604
  "font-size": e.value.style.chart.layout.labels.hollow.total.value.fontSize,
592
- style: S(`font-weight:${e.value.style.chart.layout.labels.hollow.total.value.bold ? "bold" : ""}`)
593
- }, _(o(T)(
605
+ style: T(`font-weight:${e.value.style.chart.layout.labels.hollow.total.value.bold ? "bold" : ""}`)
606
+ }, _(o(F)(
594
607
  e.value.style.chart.layout.labels.hollow.total.value.formatter,
595
608
  m.value,
596
609
  o(C)({
@@ -598,7 +611,7 @@ const pl = (M) => (Re("data-v-8cc49fb9"), M = M(), Ye(), M), ml = ["id"], wl = [
598
611
  v: m.value,
599
612
  s: e.value.style.chart.layout.labels.hollow.total.value.suffix
600
613
  })
601
- )), 13, Ml)) : v("", !0),
614
+ )), 13, Rl)) : c("", !0),
602
615
  e.value.style.chart.layout.labels.hollow.average.show ? (s(), n("text", {
603
616
  key: 7,
604
617
  "text-anchor": "middle",
@@ -606,8 +619,8 @@ const pl = (M) => (Re("data-v-8cc49fb9"), M = M(), Ye(), M), ml = ["id"], wl = [
606
619
  y: i.value.height / 2 + (e.value.style.chart.layout.labels.hollow.total.show ? e.value.style.chart.layout.labels.hollow.average.fontSize : 0) + e.value.style.chart.layout.labels.hollow.average.offsetY,
607
620
  fill: e.value.style.chart.layout.labels.hollow.average.color,
608
621
  "font-size": e.value.style.chart.layout.labels.hollow.average.fontSize,
609
- style: S(`font-weight:${e.value.style.chart.layout.labels.hollow.average.bold ? "bold" : ""}`)
610
- }, _(e.value.style.chart.layout.labels.hollow.average.text), 13, Gl)) : v("", !0),
622
+ style: T(`font-weight:${e.value.style.chart.layout.labels.hollow.average.bold ? "bold" : ""}`)
623
+ }, _(e.value.style.chart.layout.labels.hollow.average.text), 13, Yl)) : c("", !0),
611
624
  e.value.style.chart.layout.labels.hollow.average.show ? (s(), n("text", {
612
625
  key: 8,
613
626
  "text-anchor": "middle",
@@ -615,105 +628,105 @@ const pl = (M) => (Re("data-v-8cc49fb9"), M = M(), Ye(), M), ml = ["id"], wl = [
615
628
  y: i.value.height / 2 + (e.value.style.chart.layout.labels.hollow.total.show ? e.value.style.chart.layout.labels.hollow.average.fontSize : 0) + e.value.style.chart.layout.labels.hollow.average.fontSize + e.value.style.chart.layout.labels.hollow.average.value.offsetY,
616
629
  fill: e.value.style.chart.layout.labels.hollow.average.value.color,
617
630
  "font-size": e.value.style.chart.layout.labels.hollow.average.value.fontSize,
618
- style: S(`font-weight:${e.value.style.chart.layout.labels.hollow.average.value.bold ? "bold" : ""}`)
619
- }, _(O.value ? "--" : o(T)(
631
+ style: T(`font-weight:${e.value.style.chart.layout.labels.hollow.average.value.bold ? "bold" : ""}`)
632
+ }, _(O.value ? "--" : o(F)(
620
633
  e.value.style.chart.layout.labels.hollow.average.value.formatter,
621
- ke.value,
634
+ $e.value,
622
635
  o(C)({
623
636
  p: e.value.style.chart.layout.labels.hollow.average.value.prefix,
624
- v: ke.value,
637
+ v: $e.value,
625
638
  s: e.value.style.chart.layout.labels.hollow.average.value.suffix,
626
639
  r: e.value.style.chart.layout.labels.hollow.average.value.rounding
627
640
  })
628
- )), 13, El)) : v("", !0),
629
- (s(!0), n(V, null, W(A.value, (l, u) => (s(), n("g", {
641
+ )), 13, Hl)) : c("", !0),
642
+ (s(!0), n(M, null, X(A.value, (t, u) => (s(), n("g", {
630
643
  filter: ae(u),
631
644
  class: ue({ animated: e.value.useCssAnimation })
632
645
  }, [
633
- e.value.style.chart.layout.labels.dataLabels.useLabelSlots ? (s(), n("g", jl, [
646
+ e.value.style.chart.layout.labels.dataLabels.useLabelSlots ? (s(), n("g", Xl, [
634
647
  (s(), n("foreignObject", {
635
- x: o(y)(l, !0).anchor === "end" ? o(y)(l).x - 120 : o(y)(l, !0).anchor === "middle" ? o(y)(l).x - 60 : o(y)(l).x,
636
- y: o(X)(l) - (Ce.value ? 20 : 0),
648
+ x: o(y)(t, !0).anchor === "end" ? o(y)(t).x - 120 : o(y)(t, !0).anchor === "middle" ? o(y)(t).x - 60 : o(y)(t).x,
649
+ y: o(q)(t) - (Le.value ? 20 : 0),
637
650
  width: "120",
638
651
  height: "60",
639
652
  style: { overflow: "visible" }
640
653
  }, [
641
654
  b("div", null, [
642
- p(t.$slots, "dataLabel", Y(H({
643
- datapoint: l,
655
+ p(l.$slots, "dataLabel", H(W({
656
+ datapoint: t,
644
657
  isBlur: !e.value.useBlurOnHover || [null, void 0].includes(z.value) || z.value === u,
645
- isSafari: Ce.value,
646
- isVisible: B(l) && f.value.dataLabels.show,
647
- textAlign: o(y)(l, !0, 16, !0).anchor,
648
- flexAlign: o(y)(l, !0, 16).anchor,
649
- percentage: we(l, A.value)
658
+ isSafari: Le.value,
659
+ isVisible: B(t) && f.value.dataLabels.show,
660
+ textAlign: o(y)(t, !0, 16, !0).anchor,
661
+ flexAlign: o(y)(t, !0, 16).anchor,
662
+ percentage: xe(t, A.value)
650
663
  })), void 0, !0)
651
664
  ])
652
- ], 8, Rl))
653
- ])) : (s(), n("g", Yl, [
654
- B(l) && f.value.dataLabels.show ? (s(), n("circle", {
665
+ ], 8, ql))
666
+ ])) : (s(), n("g", Jl, [
667
+ B(t) && f.value.dataLabels.show ? (s(), n("circle", {
655
668
  key: 0,
656
- cx: o(y)(l).x,
657
- cy: o(X)(l) - 3.5,
658
- fill: l.color,
669
+ cx: o(y)(t).x,
670
+ cy: o(q)(t) - 3.5,
671
+ fill: t.color,
659
672
  r: 3,
660
673
  filter: !e.value.useBlurOnHover || [null, void 0].includes(z.value) || z.value === u ? "" : `url(#blur_${x.value})`,
661
- onClick: (r) => K(l, u)
662
- }, null, 8, Hl)) : v("", !0),
663
- B(l) && f.value.dataLabels.show ? (s(), n("text", {
674
+ onClick: (r) => Q(t, u)
675
+ }, null, 8, Kl)) : c("", !0),
676
+ B(t) && f.value.dataLabels.show ? (s(), n("text", {
664
677
  key: 1,
665
- "text-anchor": o(y)(l, !0, 12).anchor,
666
- x: o(y)(l, !0, 12).x,
667
- y: o(X)(l),
678
+ "text-anchor": o(y)(t, !0, 12).anchor,
679
+ x: o(y)(t, !0, 12).x,
680
+ y: o(q)(t),
668
681
  fill: e.value.style.chart.layout.labels.percentage.color,
669
682
  "font-size": e.value.style.chart.layout.labels.percentage.fontSize,
670
- style: S(`font-weight:${e.value.style.chart.layout.labels.percentage.bold ? "bold" : ""}`),
671
- onClick: (r) => K(l, u)
672
- }, _(we(l, A.value)) + " " + _(e.value.style.chart.layout.labels.value.show ? `(${o(T)(
683
+ style: T(`font-weight:${e.value.style.chart.layout.labels.percentage.bold ? "bold" : ""}`),
684
+ onClick: (r) => Q(t, u)
685
+ }, _(xe(t, A.value)) + " " + _(e.value.style.chart.layout.labels.value.show ? `(${o(F)(
673
686
  e.value.style.chart.layout.labels.value.formatter,
674
- l.value,
687
+ t.value,
675
688
  o(C)({
676
689
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
677
- v: l.value,
690
+ v: t.value,
678
691
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
679
692
  r: e.value.style.chart.layout.labels.value.rounding
680
693
  }),
681
- { datapoint: l }
682
- )})` : ""), 13, Wl)) : v("", !0),
683
- B(l) && f.value.dataLabels.show ? (s(), n("text", {
694
+ { datapoint: t }
695
+ )})` : ""), 13, Ql)) : c("", !0),
696
+ B(t) && f.value.dataLabels.show ? (s(), n("text", {
684
697
  key: 2,
685
- "text-anchor": o(y)(l).anchor,
686
- x: o(y)(l, !0, 12).x,
687
- y: o(X)(l) + e.value.style.chart.layout.labels.percentage.fontSize,
698
+ "text-anchor": o(y)(t).anchor,
699
+ x: o(y)(t, !0, 12).x,
700
+ y: o(q)(t) + e.value.style.chart.layout.labels.percentage.fontSize,
688
701
  fill: e.value.style.chart.layout.labels.name.color,
689
702
  "font-size": e.value.style.chart.layout.labels.name.fontSize,
690
- style: S(`font-weight:${e.value.style.chart.layout.labels.name.bold ? "bold" : ""}`),
691
- onClick: (r) => K(l, u)
692
- }, _(l.name), 13, Xl)) : v("", !0)
703
+ style: T(`font-weight:${e.value.style.chart.layout.labels.name.bold ? "bold" : ""}`),
704
+ onClick: (r) => Q(t, u)
705
+ }, _(t.name), 13, Zl)) : c("", !0)
693
706
  ])),
694
- f.value.dataLabels.show && e.value.style.chart.comments.show && l.comment ? (s(), n("g", ql, [
695
- B(l) ? (s(), n("foreignObject", {
707
+ f.value.dataLabels.show && e.value.style.chart.comments.show && t.comment ? (s(), n("g", et, [
708
+ B(t) ? (s(), n("foreignObject", {
696
709
  key: 0,
697
- x: e.value.style.chart.comments.offsetX + (o(y)(l, !0).anchor === "end" ? o(y)(l).x - e.value.style.chart.comments.width : o(y)(l, !0).anchor === "middle" ? o(y)(l).x - e.value.style.chart.comments.width / 2 : o(y)(l).x),
698
- y: o(X)(l) + 24 + e.value.style.chart.comments.offsetY,
710
+ x: e.value.style.chart.comments.offsetX + (o(y)(t, !0).anchor === "end" ? o(y)(t).x - e.value.style.chart.comments.width : o(y)(t, !0).anchor === "middle" ? o(y)(t).x - e.value.style.chart.comments.width / 2 : o(y)(t).x),
711
+ y: o(q)(t) + 24 + e.value.style.chart.comments.offsetY,
699
712
  width: e.value.style.chart.comments.width,
700
713
  height: "200",
701
714
  style: { overflow: "visible", "pointer-events": "none" }
702
715
  }, [
703
716
  b("div", null, [
704
- p(t.$slots, "plot-comment", {
705
- plot: { ...l, textAlign: o(y)(l, !0, 16, !0).anchor, flexAlign: o(y)(l, !0, 16).anchor }
717
+ p(l.$slots, "plot-comment", {
718
+ plot: { ...t, textAlign: o(y)(t, !0, 16, !0).anchor, flexAlign: o(y)(t, !0, 16).anchor }
706
719
  }, void 0, !0)
707
720
  ])
708
- ], 8, Jl)) : v("", !0)
709
- ])) : v("", !0)
710
- ], 10, Ul))), 256)),
711
- p(t.$slots, "svg", { svg: i.value }, void 0, !0)
712
- ], 14, wl)) : v("", !0),
713
- t.$slots.watermark ? (s(), n("div", Kl, [
714
- p(t.$slots, "watermark", Y(H({ isPrinting: o(ce) || o(de) })), void 0, !0)
715
- ])) : v("", !0),
716
- G.value ? v("", !0) : (s(), Q(fl, {
721
+ ], 8, lt)) : c("", !0)
722
+ ])) : c("", !0)
723
+ ], 10, Wl))), 256)),
724
+ p(l.$slots, "svg", { svg: i.value }, void 0, !0)
725
+ ], 14, $l)) : c("", !0),
726
+ l.$slots.watermark ? (s(), n("div", tt, [
727
+ p(l.$slots, "watermark", H(W({ isPrinting: o(fe) || o(be) })), void 0, !0)
728
+ ])) : c("", !0),
729
+ E.value ? c("", !0) : (s(), V(wl, {
717
730
  key: 4,
718
731
  config: {
719
732
  type: "donut",
@@ -721,56 +734,56 @@ const pl = (M) => (Re("data-v-8cc49fb9"), M = M(), Ye(), M), ml = ["id"], wl = [
721
734
  backgroundColor: e.value.style.chart.backgroundColor,
722
735
  donut: {
723
736
  color: "#CCCCCC",
724
- strokeWidth: U.value * 0.8
737
+ strokeWidth: j.value * 0.8
725
738
  }
726
739
  }
727
740
  }
728
741
  }, null, 8, ["config"])),
729
742
  b("div", {
730
743
  ref_key: "chartLegend",
731
- ref: ie
744
+ ref: ne
732
745
  }, [
733
- e.value.style.chart.legend.show ? (s(), Q(yl, {
734
- key: 0,
735
- legendSet: me.value,
736
- config: Ae.value,
737
- onClickMarker: a[1] || (a[1] = ({ i: l }) => pe(l))
746
+ e.value.style.chart.legend.show ? (s(), V(ml, {
747
+ key: `legend_${ce.value}`,
748
+ legendSet: Ce.value,
749
+ config: Me.value,
750
+ onClickMarker: a[1] || (a[1] = ({ i: t }) => _e(t))
738
751
  }, {
739
- item: w(({ legend: l, index: u }) => [
752
+ item: w(({ legend: t, index: u }) => [
740
753
  b("div", {
741
- onClick: (r) => l.segregate(),
742
- style: S(`opacity:${L.value.includes(u) ? 0.5 : 1}`)
754
+ onClick: (r) => t.segregate(),
755
+ style: T(`opacity:${L.value.includes(u) ? 0.5 : 1}`)
743
756
  }, [
744
- Se(_(l.name) + ": " + _(o(T)(
757
+ Pe(_(t.name) + ": " + _(o(F)(
745
758
  e.value.style.chart.layout.labels.value.formatter,
746
- l.value,
759
+ t.value,
747
760
  o(C)({
748
761
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
749
- v: l.value,
762
+ v: t.value,
750
763
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
751
764
  r: e.value.style.chart.legend.roundingValue
752
765
  }),
753
766
  {
754
- datapoint: l,
767
+ datapoint: t,
755
768
  index: u
756
769
  }
757
770
  )) + " ", 1),
758
- L.value.includes(u) ? (s(), n("span", et, " ( " + _(Ve(l.proportion * 100)) + " % ) ", 1)) : (s(), n("span", Zl, " (" + _(isNaN(l.value / m.value) ? "-" : o(T)(
771
+ L.value.includes(u) ? (s(), n("span", ut, " ( " + _(je(t.proportion * 100)) + " % ) ", 1)) : (s(), n("span", ot, " (" + _(isNaN(t.value / m.value) ? "-" : o(F)(
759
772
  e.value.style.chart.layout.labels.percentage.formatter,
760
- O.value ? l.proportion * 100 : l.value / m.value * 100,
773
+ O.value ? t.proportion * 100 : t.value / m.value * 100,
761
774
  o(C)({
762
- v: O.value ? l.proportion * 100 : l.value / m.value * 100,
775
+ v: O.value ? t.proportion * 100 : t.value / m.value * 100,
763
776
  s: "%",
764
777
  r: e.value.style.chart.legend.roundingPercentage
765
778
  })
766
779
  )) + ") ", 1))
767
- ], 12, Ql)
780
+ ], 12, at)
768
781
  ]),
769
782
  _: 1
770
- }, 8, ["legendSet", "config"])) : v("", !0),
771
- p(t.$slots, "legend", { legend: me.value }, void 0, !0)
783
+ }, 8, ["legendSet", "config"])) : c("", !0),
784
+ p(l.$slots, "legend", { legend: Ce.value }, void 0, !0)
772
785
  ], 512),
773
- se(hl, {
786
+ We(pl, {
774
787
  show: f.value.showTooltip && ee.value,
775
788
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
776
789
  color: e.value.style.chart.tooltip.color,
@@ -781,19 +794,19 @@ const pl = (M) => (Re("data-v-8cc49fb9"), M = M(), Ye(), M), ml = ["id"], wl = [
781
794
  backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
782
795
  position: e.value.style.chart.tooltip.position,
783
796
  offsetY: e.value.style.chart.tooltip.offsetY,
784
- parent: E.value,
797
+ parent: U.value,
785
798
  content: le.value,
786
- isCustom: j.value
799
+ isCustom: R.value
787
800
  }, {
788
801
  "tooltip-before": w(() => [
789
- p(t.$slots, "tooltip-before", Y(H({ ...te.value })), void 0, !0)
802
+ p(l.$slots, "tooltip-before", H(W({ ...te.value })), void 0, !0)
790
803
  ]),
791
804
  "tooltip-after": w(() => [
792
- p(t.$slots, "tooltip-after", Y(H({ ...te.value })), void 0, !0)
805
+ p(l.$slots, "tooltip-after", H(W({ ...te.value })), void 0, !0)
793
806
  ]),
794
807
  _: 3
795
808
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
796
- G.value ? (s(), Q(bl, {
809
+ E.value ? (s(), V(kl, {
797
810
  key: 5,
798
811
  hideDetails: "",
799
812
  config: {
@@ -810,48 +823,49 @@ const pl = (M) => (Re("data-v-8cc49fb9"), M = M(), Ye(), M), ml = ["id"], wl = [
810
823
  }
811
824
  }, {
812
825
  content: w(() => [
813
- se(dl, {
814
- colNames: J.value.colNames,
815
- head: J.value.head,
816
- body: J.value.body,
817
- config: J.value.config,
826
+ (s(), V(gl, {
827
+ key: `table_${ve.value}`,
828
+ colNames: K.value.colNames,
829
+ head: K.value.head,
830
+ body: K.value.body,
831
+ config: K.value.config,
818
832
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
819
- onClose: a[2] || (a[2] = (l) => f.value.showTable = !1)
833
+ onClose: a[2] || (a[2] = (t) => f.value.showTable = !1)
820
834
  }, {
821
- th: w(({ th: l }) => [
835
+ th: w(({ th: t }) => [
822
836
  b("div", {
823
- innerHTML: l,
837
+ innerHTML: t,
824
838
  style: { display: "flex", "align-items": "center" }
825
- }, null, 8, lt)
839
+ }, null, 8, st)
826
840
  ]),
827
- td: w(({ td: l }) => [
828
- Se(_(l.name ? l.name : isNaN(Number(l)) ? l.includes("%") ? o(T)(
841
+ td: w(({ td: t }) => [
842
+ Pe(_(t.name ? t.name : isNaN(Number(t)) ? t.includes("%") ? o(F)(
829
843
  e.value.style.chart.layout.labels.percentage.formatter,
830
- l,
844
+ t,
831
845
  o(C)({
832
- v: l,
846
+ v: t,
833
847
  s: "%",
834
848
  r: e.value.style.chart.layout.labels.percentage.rounding
835
849
  })
836
- ) : l : o(T)(
850
+ ) : t : o(F)(
837
851
  e.value.style.chart.layout.labels.value.formatter,
838
- l,
852
+ t,
839
853
  o(C)({
840
854
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
841
- v: l,
855
+ v: t,
842
856
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
843
857
  r: e.value.style.chart.layout.labels.value.rounding
844
858
  })
845
859
  )), 1)
846
860
  ]),
847
861
  _: 1
848
- }, 8, ["colNames", "head", "body", "config", "title"])
862
+ }, 8, ["colNames", "head", "body", "config", "title"]))
849
863
  ]),
850
864
  _: 1
851
- }, 8, ["config"])) : v("", !0)
852
- ], 14, ml));
865
+ }, 8, ["config"])) : c("", !0)
866
+ ], 14, xl));
853
867
  }
854
- }, ft = /* @__PURE__ */ gl(tt, [["__scopeId", "data-v-8cc49fb9"]]);
868
+ }, wt = /* @__PURE__ */ _l(rt, [["__scopeId", "data-v-315950a4"]]);
855
869
  export {
856
- ft as default
870
+ wt as default
857
871
  };