vue-data-ui 2.4.3 → 2.4.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (183) hide show
  1. package/README.md +3 -1
  2. package/dist/{Arrow-Dz6AomGr.cjs → Arrow-BeQLfJqp.cjs} +1 -1
  3. package/dist/{Arrow-C7lNL7sY.js → Arrow-Dvaq-qLp.js} +1 -1
  4. package/dist/{BaseIcon-uALK38Ov.cjs → BaseIcon-BQM6PtJu.cjs} +1 -1
  5. package/dist/{BaseIcon-BbvG1AlW.js → BaseIcon-D9DRVW03.js} +1 -1
  6. package/dist/{DataTable-DTzynbND.cjs → DataTable-DO2GAcBm.cjs} +1 -1
  7. package/dist/{DataTable-DYqC2pqu.js → DataTable-rs_YrvMR.js} +2 -2
  8. package/dist/{Legend-Cgw4lO2O.cjs → Legend-BoBvZGqQ.cjs} +1 -1
  9. package/dist/{Legend-DNgTCgEK.js → Legend-DrmUpnIK.js} +1 -1
  10. package/dist/{PackageVersion-VkaUzgmt.js → PackageVersion-D9rYHrFZ.js} +1 -1
  11. package/dist/{PackageVersion-DwI-KhXH.cjs → PackageVersion-DdLmDkTt.cjs} +1 -1
  12. package/dist/PenAndPaper-C-KjtyNA.js +308 -0
  13. package/dist/PenAndPaper-DyMNuRla.cjs +1 -0
  14. package/dist/{Shape-D2Dpshg1.cjs → Shape-BGqIhzPX.cjs} +1 -1
  15. package/dist/{Shape-Bwon0l0g.js → Shape-CBrmBvYy.js} +1 -1
  16. package/dist/{Slicer-TfpN2Cr4.js → Slicer-4R6np1wa.js} +3 -3
  17. package/dist/{Slicer-uSjfNJjG.cjs → Slicer-BLkkkNUl.cjs} +1 -1
  18. package/dist/{Title-0Tp4hZ4u.cjs → Title-Dn00hErp.cjs} +1 -1
  19. package/dist/{Title-C5pIfQAz.js → Title-W7iJGPjg.js} +1 -1
  20. package/dist/{Tooltip-9Tp2Yrd1.cjs → Tooltip-DJiwKA4y.cjs} +1 -1
  21. package/dist/{Tooltip-Cz24YLfw.js → Tooltip-Pv3Bhir5.js} +1 -1
  22. package/dist/{index-Bya_q1J-.js → index-C1GB0E49.js} +1 -1
  23. package/dist/{index-eFox7weK.cjs → index-C9HllqQA.cjs} +1 -1
  24. package/dist/style.css +1 -1
  25. package/dist/{useNestedProp-B33hazbH.js → useNestedProp-CNAPgW6E.js} +1 -1
  26. package/dist/{useNestedProp-BkgEhTQY.cjs → useNestedProp-DOr0hj4s.cjs} +1 -1
  27. package/dist/{usePrinter-CSRFnDBU.cjs → usePrinter-FSAw5pod.cjs} +1 -1
  28. package/dist/{usePrinter-CiHd1FwD.js → usePrinter-y5uHyknw.js} +1 -1
  29. package/dist/useResponsive-BJ7DTGpm.cjs +1 -0
  30. package/dist/{useResponsive-BY8tgM1n.js → useResponsive-CoxXLe23.js} +8 -7
  31. package/dist/{vue-data-ui-Bduq4f2p.js → vue-data-ui-Bg5KOKEX.js} +58 -58
  32. package/dist/{vue-data-ui-BTtxyUc3.cjs → vue-data-ui-Bnkz3Xmu.cjs} +1 -1
  33. package/dist/vue-data-ui.cjs +1 -1
  34. package/dist/vue-data-ui.js +1 -1
  35. package/dist/{vue-ui-3d-bar-BUEq_VdY.js → vue-ui-3d-bar-mUrcbG6J.js} +9 -9
  36. package/dist/{vue-ui-3d-bar-B-P7PMHs.cjs → vue-ui-3d-bar-sjkBzHFn.cjs} +1 -1
  37. package/dist/{vue-ui-accordion-TEMpM1hO.cjs → vue-ui-accordion-BkUGNe2H.cjs} +1 -1
  38. package/dist/{vue-ui-accordion-DfUfL2dI.js → vue-ui-accordion-DWyRC3-h.js} +3 -3
  39. package/dist/vue-ui-age-pyramid-CKQ8OHuS.cjs +1 -0
  40. package/dist/{vue-ui-age-pyramid-CH72tAMb.js → vue-ui-age-pyramid-CVktvXpY.js} +145 -137
  41. package/dist/{vue-ui-annotator-DPeJ2its.js → vue-ui-annotator-Cp8KDkuP.js} +1 -1
  42. package/dist/{vue-ui-annotator-DU_DJKCw.cjs → vue-ui-annotator-DSJ25l4s.cjs} +1 -1
  43. package/dist/vue-ui-bullet-Bg3TPFgV.cjs +34 -0
  44. package/dist/{vue-ui-bullet-CtP3MlUT.js → vue-ui-bullet-D4atsFQx.js} +75 -69
  45. package/dist/vue-ui-candlestick-BhdG9CY1.cjs +2 -0
  46. package/dist/{vue-ui-candlestick-DDil13a0.js → vue-ui-candlestick-DUNyCQ6Z.js} +240 -232
  47. package/dist/{vue-ui-carousel-table-BaeIxyc0.js → vue-ui-carousel-table-BRrYpr-2.js} +4 -4
  48. package/dist/{vue-ui-carousel-table-C7SJIOG-.cjs → vue-ui-carousel-table-DF4FhrBd.cjs} +1 -1
  49. package/dist/vue-ui-chestnut-BLBS9QO2.cjs +6 -0
  50. package/dist/{vue-ui-chestnut-BczSJF6S.js → vue-ui-chestnut-CjS4qC_J.js} +262 -256
  51. package/dist/{vue-ui-cursor-Dg_Dmww-.js → vue-ui-cursor-C3SpabMF.js} +2 -2
  52. package/dist/{vue-ui-cursor-C2Pj_CI_.cjs → vue-ui-cursor-DzVt5_py.cjs} +1 -1
  53. package/dist/{vue-ui-dashboard-Bul9dqx1.js → vue-ui-dashboard-BCOKtsyJ.js} +2 -2
  54. package/dist/{vue-ui-dashboard-Cg020NiT.cjs → vue-ui-dashboard-CIv7W8Yn.cjs} +1 -1
  55. package/dist/{vue-ui-digits-B8iAa4YZ.js → vue-ui-digits-DaMKAZkt.js} +2 -2
  56. package/dist/{vue-ui-digits-Ctgd84JR.cjs → vue-ui-digits-yNfQgOLZ.cjs} +1 -1
  57. package/dist/{vue-ui-donut-DUcp-fat.js → vue-ui-donut-B_-VAqBw.js} +338 -330
  58. package/dist/vue-ui-donut-Bo4SbdEe.cjs +1 -0
  59. package/dist/{vue-ui-donut-evolution-C_YMbTwq.js → vue-ui-donut-evolution-C9TXFzCm.js} +163 -156
  60. package/dist/vue-ui-donut-evolution-DOPY3I3Q.cjs +1 -0
  61. package/dist/{vue-ui-dumbbell-Buwngz_V.js → vue-ui-dumbbell-BP_Vf_u2.js} +208 -200
  62. package/dist/vue-ui-dumbbell-Cgwng71s.cjs +9 -0
  63. package/dist/vue-ui-flow-BiQj4v8i.cjs +1 -0
  64. package/dist/{vue-ui-flow-Bz3c0K5P.js → vue-ui-flow-DHoxK4t1.js} +130 -124
  65. package/dist/vue-ui-galaxy-C5ZaT8pw.cjs +1 -0
  66. package/dist/{vue-ui-galaxy-Cjh0XGTX.js → vue-ui-galaxy-DuLPsC4Q.js} +125 -119
  67. package/dist/vue-ui-gauge-26eHgOjR.cjs +1 -0
  68. package/dist/{vue-ui-gauge-B1UvGkQa.js → vue-ui-gauge-BhrXiD4S.js} +167 -159
  69. package/dist/{vue-ui-gizmo-DFW6HnHp.cjs → vue-ui-gizmo-Bb_SWCsE.cjs} +1 -1
  70. package/dist/{vue-ui-gizmo-DUQ4t-At.js → vue-ui-gizmo-D3kBYI1G.js} +3 -3
  71. package/dist/vue-ui-heatmap-Bc4HvgMk.cjs +1 -0
  72. package/dist/{vue-ui-heatmap-C-poazUw.js → vue-ui-heatmap-wjsvn1_e.js} +156 -149
  73. package/dist/{vue-ui-kpi-Z4Oi4raz.cjs → vue-ui-kpi-BbvfVZn0.cjs} +1 -1
  74. package/dist/{vue-ui-kpi-DXe-vxAk.js → vue-ui-kpi-DLJuo47I.js} +3 -3
  75. package/dist/{vue-ui-mini-loader-MMvpm9pz.cjs → vue-ui-mini-loader-BaxwhF7o.cjs} +1 -1
  76. package/dist/{vue-ui-mini-loader-BVtHTqxS.js → vue-ui-mini-loader-D4aLvv-D.js} +2 -2
  77. package/dist/{vue-ui-molecule-BaJpDZND.js → vue-ui-molecule-DXpMMgdW.js} +109 -103
  78. package/dist/vue-ui-molecule-ZqAJHh6x.cjs +1 -0
  79. package/dist/{vue-ui-mood-radar-BUNDwsEI.js → vue-ui-mood-radar-B_uWY92C.js} +173 -166
  80. package/dist/vue-ui-mood-radar-BhteAPWH.cjs +1 -0
  81. package/dist/{vue-ui-nested-donuts-mDy2hXa6.js → vue-ui-nested-donuts-By32x0Y7.js} +311 -303
  82. package/dist/vue-ui-nested-donuts-ClgkX1-p.cjs +17 -0
  83. package/dist/vue-ui-onion-BdIxJpfA.cjs +5 -0
  84. package/dist/{vue-ui-onion-DwFG3HAI.js → vue-ui-onion-dQTXKNju.js} +149 -141
  85. package/dist/{vue-ui-parallel-coordinate-plot-ImET_zeo.js → vue-ui-parallel-coordinate-plot-CTF9Ujab.js} +186 -178
  86. package/dist/vue-ui-parallel-coordinate-plot-D6MUp-5W.cjs +8 -0
  87. package/dist/vue-ui-quadrant-CArA4Vmm.cjs +1 -0
  88. package/dist/{vue-ui-quadrant-BeveRihK.js → vue-ui-quadrant-Coqh0pYO.js} +225 -217
  89. package/dist/vue-ui-quick-chart-6Av74TTC.cjs +15 -0
  90. package/dist/{vue-ui-quick-chart-DAhllTfa.js → vue-ui-quick-chart-Bfdddr_B.js} +386 -378
  91. package/dist/{vue-ui-radar-BllatzRa.js → vue-ui-radar-BpdGMVHw.js} +172 -164
  92. package/dist/vue-ui-radar-CLr-gu1X.cjs +1 -0
  93. package/dist/{vue-ui-rating-D1ykV4xO.js → vue-ui-rating-B-YedcK0.js} +2 -2
  94. package/dist/{vue-ui-rating-BoZo7caL.cjs → vue-ui-rating-KFJoH-JV.cjs} +1 -1
  95. package/dist/vue-ui-relation-circle-BLVThOqT.js +366 -0
  96. package/dist/vue-ui-relation-circle-DuGQKFor.cjs +1 -0
  97. package/dist/{vue-ui-rings-B-ZcX6y1.js → vue-ui-rings-BGeYkj-O.js} +196 -188
  98. package/dist/vue-ui-rings-DzgehQZ5.cjs +2 -0
  99. package/dist/{vue-ui-scatter-DG43ck1g.js → vue-ui-scatter-CsBPCCco.js} +288 -280
  100. package/dist/vue-ui-scatter-jPnr8qI0.cjs +1 -0
  101. package/dist/{vue-ui-screenshot-C1JBP_N0.cjs → vue-ui-screenshot-1nXVH-hp.cjs} +1 -1
  102. package/dist/{vue-ui-screenshot-p3ca8cAl.js → vue-ui-screenshot-B2FTnuxH.js} +1 -1
  103. package/dist/{vue-ui-skeleton-BYssP0K4.js → vue-ui-skeleton-CE6ibl1T.js} +3 -3
  104. package/dist/{vue-ui-skeleton-BqKzuhkB.cjs → vue-ui-skeleton-CPwED1As.cjs} +1 -1
  105. package/dist/{vue-ui-smiley-D7dDCdpq.js → vue-ui-smiley-2H9hMFZ_.js} +2 -2
  106. package/dist/{vue-ui-smiley-BXKVpHl2.cjs → vue-ui-smiley-DqOZwhT4.cjs} +1 -1
  107. package/dist/{vue-ui-spark-trend-9V60hM3Z.cjs → vue-ui-spark-trend-CLW85O32.cjs} +1 -1
  108. package/dist/{vue-ui-spark-trend-GWFrO_0z.js → vue-ui-spark-trend-Dx9xVq9a.js} +5 -5
  109. package/dist/{vue-ui-sparkbar-Bgn6AY0q.cjs → vue-ui-sparkbar-DJDXrRyp.cjs} +1 -1
  110. package/dist/{vue-ui-sparkbar-CwqlyAyv.js → vue-ui-sparkbar-zafUIv1n.js} +4 -4
  111. package/dist/{vue-ui-sparkgauge-F2XbiXyA.js → vue-ui-sparkgauge-CFAdhTLk.js} +4 -4
  112. package/dist/{vue-ui-sparkgauge-Dqntz2Zv.cjs → vue-ui-sparkgauge-CPNAXUyl.cjs} +1 -1
  113. package/dist/{vue-ui-sparkhistogram-DRIKK6Ym.js → vue-ui-sparkhistogram-B3DIjpaE.js} +5 -5
  114. package/dist/{vue-ui-sparkhistogram-DnY4-Sdn.cjs → vue-ui-sparkhistogram-CHc3_xRE.cjs} +1 -1
  115. package/dist/{vue-ui-sparkline-Cxtzdlhi.js → vue-ui-sparkline-C-LE7J9H.js} +5 -5
  116. package/dist/{vue-ui-sparkline-CAEs-gtK.cjs → vue-ui-sparkline-U22Yhwy7.cjs} +1 -1
  117. package/dist/{vue-ui-sparkstackbar-0A1klq9s.js → vue-ui-sparkstackbar-BzLoGC-y.js} +4 -4
  118. package/dist/{vue-ui-sparkstackbar-D37ms1rx.cjs → vue-ui-sparkstackbar-nx-Lt8sX.cjs} +1 -1
  119. package/dist/{vue-ui-stackbar-wun4S3C0.cjs → vue-ui-stackbar-BwgHLhj2.cjs} +1 -1
  120. package/dist/{vue-ui-stackbar-ByOuJSdM.js → vue-ui-stackbar-C5xNRXnW.js} +13 -13
  121. package/dist/{vue-ui-strip-plot-CMD0MSqY.js → vue-ui-strip-plot-6khUDDeA.js} +204 -196
  122. package/dist/vue-ui-strip-plot-BFUtZW4b.cjs +1 -0
  123. package/dist/{vue-ui-table-aj0XZ7T5.cjs → vue-ui-table-B3Eng0fH.cjs} +1 -1
  124. package/dist/{vue-ui-table-B75DJ39t.js → vue-ui-table-DsBM7Osw.js} +1 -1
  125. package/dist/{vue-ui-table-heatmap-Ce93TyBF.cjs → vue-ui-table-heatmap-DwCdS68z.cjs} +1 -1
  126. package/dist/{vue-ui-table-heatmap-BO2ugWqD.js → vue-ui-table-heatmap-ccQKInFD.js} +4 -4
  127. package/dist/{vue-ui-table-sparkline-CbjfAaj2.js → vue-ui-table-sparkline-BU-hOCZ7.js} +5 -5
  128. package/dist/{vue-ui-table-sparkline-D6KJjDnU.cjs → vue-ui-table-sparkline-CDmrQFKv.cjs} +1 -1
  129. package/dist/vue-ui-thermometer-BhHYcxmT.cjs +1 -0
  130. package/dist/{vue-ui-thermometer-Pq4PvSIP.js → vue-ui-thermometer-DuI3uDCZ.js} +171 -165
  131. package/dist/{vue-ui-timer-B6IB6yS6.cjs → vue-ui-timer-D7EKaAqa.cjs} +1 -1
  132. package/dist/{vue-ui-timer-Bk3BvB-B.js → vue-ui-timer-Gk3bl_em.js} +6 -6
  133. package/dist/{vue-ui-tiremarks-CU9HJIqf.js → vue-ui-tiremarks-AcEjMpJH.js} +119 -112
  134. package/dist/vue-ui-tiremarks-UX2FbnyG.cjs +1 -0
  135. package/dist/{vue-ui-treemap-DY-lRAhC.js → vue-ui-treemap-CFTpzgX5.js} +266 -258
  136. package/dist/vue-ui-treemap-D6CTMfsm.cjs +1 -0
  137. package/dist/vue-ui-vertical-bar-BzY2H3UC.cjs +4 -0
  138. package/dist/{vue-ui-vertical-bar-CtnIKsM1.js → vue-ui-vertical-bar-CuBJx5l1.js} +245 -237
  139. package/dist/vue-ui-waffle-CZxR13EG.cjs +1 -0
  140. package/dist/{vue-ui-waffle-reOsx-gJ.js → vue-ui-waffle-rDfZLxvH.js} +224 -216
  141. package/dist/{vue-ui-wheel-kYxny3vn.js → vue-ui-wheel-BFt2o4yO.js} +125 -117
  142. package/dist/vue-ui-wheel-BM-St3xT.cjs +1 -0
  143. package/dist/{vue-ui-word-cloud-DwLY4QdB.cjs → vue-ui-word-cloud-DjKyKUbA.cjs} +1 -1
  144. package/dist/{vue-ui-word-cloud-DbMqrHAf.js → vue-ui-word-cloud-pNPIrJ-g.js} +11 -11
  145. package/dist/vue-ui-xy-CBZUMMlP.cjs +3 -0
  146. package/dist/{vue-ui-xy-rbACig0h.js → vue-ui-xy-DwkEc4Np.js} +302 -291
  147. package/dist/{vue-ui-xy-canvas-B0HTR7OV.js → vue-ui-xy-canvas-CW90CROL.js} +12 -12
  148. package/dist/{vue-ui-xy-canvas-CgJd5FiT.cjs → vue-ui-xy-canvas-DWGGLom_.cjs} +1 -1
  149. package/package.json +1 -1
  150. package/dist/PenAndPaper-CDFVOo7X.cjs +0 -1
  151. package/dist/PenAndPaper-DAZYA8Ew.js +0 -269
  152. package/dist/useResponsive-CodiGUOE.cjs +0 -1
  153. package/dist/vue-ui-age-pyramid-DsbZ1qcQ.cjs +0 -1
  154. package/dist/vue-ui-bullet-D8ks_rKr.cjs +0 -34
  155. package/dist/vue-ui-candlestick-D1jdr0bv.cjs +0 -2
  156. package/dist/vue-ui-chestnut-ih5r0Bj9.cjs +0 -6
  157. package/dist/vue-ui-donut-D7KT9EAp.cjs +0 -1
  158. package/dist/vue-ui-donut-evolution-CHtJ8iOK.cjs +0 -1
  159. package/dist/vue-ui-dumbbell-B0dikuqO.cjs +0 -9
  160. package/dist/vue-ui-flow-D6rc8J-8.cjs +0 -1
  161. package/dist/vue-ui-galaxy-CmTt0vBf.cjs +0 -1
  162. package/dist/vue-ui-gauge-B_TKuyM7.cjs +0 -1
  163. package/dist/vue-ui-heatmap-C2HlnqzO.cjs +0 -1
  164. package/dist/vue-ui-molecule-BiYIcOKN.cjs +0 -1
  165. package/dist/vue-ui-mood-radar-C6jMyFkb.cjs +0 -1
  166. package/dist/vue-ui-nested-donuts-DKO2dFKo.cjs +0 -17
  167. package/dist/vue-ui-onion-GWNoZRhw.cjs +0 -5
  168. package/dist/vue-ui-parallel-coordinate-plot-DODn4Ohf.cjs +0 -8
  169. package/dist/vue-ui-quadrant-yuFAxV-5.cjs +0 -1
  170. package/dist/vue-ui-quick-chart-DgFDBzjS.cjs +0 -15
  171. package/dist/vue-ui-radar-BJH5SE6-.cjs +0 -1
  172. package/dist/vue-ui-relation-circle-CKmjOle7.cjs +0 -1
  173. package/dist/vue-ui-relation-circle-xv2l5Be9.js +0 -358
  174. package/dist/vue-ui-rings-DjH3CK23.cjs +0 -2
  175. package/dist/vue-ui-scatter-SBCXAl7q.cjs +0 -1
  176. package/dist/vue-ui-strip-plot-IQrypGvz.cjs +0 -1
  177. package/dist/vue-ui-thermometer-swmi4FmH.cjs +0 -1
  178. package/dist/vue-ui-tiremarks-Cn79uQH2.cjs +0 -1
  179. package/dist/vue-ui-treemap-BEMuKV7x.cjs +0 -1
  180. package/dist/vue-ui-vertical-bar-B1e2RxTv.cjs +0 -4
  181. package/dist/vue-ui-waffle-BqP7Okgu.cjs +0 -1
  182. package/dist/vue-ui-wheel-BuWUGnkC.cjs +0 -1
  183. package/dist/vue-ui-xy-CGWzriYn.cjs +0 -3
@@ -1,35 +1,35 @@
1
- import { computed as m, ref as d, watch as De, onMounted as Ze, onBeforeUnmount as je, openBlock as u, createElementBlock as n, normalizeClass as P, normalizeStyle as re, createBlock as D, createCommentVNode as f, unref as r, createSlots as et, withCtx as g, renderSlot as k, normalizeProps as R, guardReactiveProps as E, createVNode as ze, createElementVNode as y, Fragment as L, renderList as S, toDisplayString as N, createTextVNode as Q, nextTick as tt, pushScopeId as lt, popScopeId as at } from "vue";
2
- import { u as ot, c as st, t as ut, a as nt, p as Z, o as rt, e as V, b as it, I as Ve, d as dt, m as Me, f as x, X as ct, s as Be, K as vt, k as M, n as ie, i as G, x as Ue, y as ft, q as ht, r as pt } from "./index-Bya_q1J-.js";
3
- import { t as yt, u as bt } from "./useResponsive-BY8tgM1n.js";
4
- import { _ as gt } from "./Title-C5pIfQAz.js";
5
- import { u as mt, U as kt } from "./usePrinter-CiHd1FwD.js";
6
- import { D as $t } from "./DataTable-DYqC2pqu.js";
7
- import { _ as wt } from "./Tooltip-Cz24YLfw.js";
8
- import { L as _t } from "./Legend-DNgTCgEK.js";
9
- import Lt from "./vue-ui-skeleton-BYssP0K4.js";
10
- import xt from "./vue-ui-accordion-DfUfL2dI.js";
11
- import { u as Re } from "./useNestedProp-B33hazbH.js";
12
- import { _ as Ct } from "./PackageVersion-VkaUzgmt.js";
13
- import { P as Ft } from "./PenAndPaper-DAZYA8Ew.js";
14
- import { _ as St } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
- const de = (B) => (lt("data-v-65f48b0a"), B = B(), at(), B), Tt = ["id"], Nt = ["xmlns", "viewBox"], It = ["id"], At = /* @__PURE__ */ de(() => /* @__PURE__ */ y("stop", {
1
+ import { computed as g, ref as i, watch as ze, onMounted as et, onBeforeUnmount as tt, openBlock as s, createElementBlock as n, normalizeClass as P, normalizeStyle as re, createBlock as D, createCommentVNode as v, unref as r, createSlots as lt, withCtx as m, renderSlot as k, normalizeProps as R, guardReactiveProps as E, createVNode as Ve, createElementVNode as p, Fragment as L, renderList as F, toDisplayString as N, createTextVNode as Q, nextTick as at, pushScopeId as ot, popScopeId as st } from "vue";
2
+ import { u as ut, c as nt, t as rt, a as it, p as Z, o as dt, e as V, b as ct, I as Me, d as vt, m as Be, f as x, X as ft, s as Ue, K as ht, k as M, n as ie, i as G, x as Re, y as yt, q as pt, r as bt } from "./index-C1GB0E49.js";
3
+ import { t as gt, u as mt } from "./useResponsive-CoxXLe23.js";
4
+ import { _ as kt } from "./Title-W7iJGPjg.js";
5
+ import { u as wt, U as _t } from "./usePrinter-y5uHyknw.js";
6
+ import { D as $t } from "./DataTable-rs_YrvMR.js";
7
+ import { _ as Lt } from "./Tooltip-Pv3Bhir5.js";
8
+ import { L as xt } from "./Legend-DrmUpnIK.js";
9
+ import Ct from "./vue-ui-skeleton-CE6ibl1T.js";
10
+ import Tt from "./vue-ui-accordion-DWyRC3-h.js";
11
+ import { u as Ee } from "./useNestedProp-CNAPgW6E.js";
12
+ import { _ as Ft } from "./PackageVersion-D9rYHrFZ.js";
13
+ import { P as St } from "./PenAndPaper-C-KjtyNA.js";
14
+ import { _ as Nt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
+ const de = (B) => (ot("data-v-038450b3"), B = B(), st(), B), It = ["id"], At = ["xmlns", "viewBox"], Ot = ["id"], Pt = /* @__PURE__ */ de(() => /* @__PURE__ */ p("stop", {
16
16
  offset: "0%",
17
17
  "stop-color": "#FFFFFF",
18
18
  "stop-opacity": "0"
19
- }, null, -1)), Ot = ["offset", "stop-color"], Pt = ["offset", "stop-opacity"], Dt = /* @__PURE__ */ de(() => /* @__PURE__ */ y("stop", {
19
+ }, null, -1)), Dt = ["offset", "stop-color"], zt = ["offset", "stop-opacity"], Vt = /* @__PURE__ */ de(() => /* @__PURE__ */ p("stop", {
20
20
  offset: "100%",
21
21
  "stop-color": "#FFFFFF",
22
22
  "stop-opacity": "0"
23
- }, null, -1)), zt = ["id"], Vt = ["id"], Mt = /* @__PURE__ */ de(() => /* @__PURE__ */ y("feColorMatrix", {
23
+ }, null, -1)), Mt = ["id"], Bt = ["id"], Ut = /* @__PURE__ */ de(() => /* @__PURE__ */ p("feColorMatrix", {
24
24
  type: "saturate",
25
25
  values: "0"
26
- }, null, -1)), Bt = ["id"], Ut = ["flood-color"], Rt = ["d", "fill", "stroke", "stroke-width", "filter"], Et = { key: 0 }, Gt = ["d", "fill"], Yt = { key: 1 }, Xt = ["x", "y", "font-size", "font-weight", "fill"], Wt = { key: 2 }, Ht = ["filter"], qt = ["text-anchor", "x", "y", "fill", "font-size", "font-weight"], Kt = ["text-anchor", "x", "y", "fill", "font-size", "font-weight"], Jt = ["text-anchor", "x", "y", "fill", "font-size", "font-weight"], Qt = ["d", "fill", "onMouseenter", "onClick"], Zt = {
27
- key: 4,
26
+ }, null, -1)), Rt = ["id"], Et = ["flood-color"], Gt = ["d", "fill", "stroke", "stroke-width", "filter"], Yt = { key: 0 }, Xt = ["d", "fill"], Wt = { key: 1 }, Ht = ["x", "y", "font-size", "font-weight", "fill"], qt = { key: 2 }, Kt = ["filter"], Jt = ["text-anchor", "x", "y", "fill", "font-size", "font-weight"], Qt = ["text-anchor", "x", "y", "fill", "font-size", "font-weight"], Zt = ["text-anchor", "x", "y", "fill", "font-size", "font-weight"], jt = ["d", "fill", "onMouseenter", "onClick"], el = {
27
+ key: 5,
28
28
  class: "vue-data-ui-watermark"
29
- }, jt = {
29
+ }, tl = {
30
30
  key: 0,
31
31
  class: "vue-ui-nested-donuts-legend-title"
32
- }, el = ["onClick"], tl = ["innerHTML"], ll = {
32
+ }, ll = ["onClick"], al = ["innerHTML"], ol = {
33
33
  __name: "vue-ui-nested-donuts",
34
34
  props: {
35
35
  config: {
@@ -46,86 +46,87 @@ const de = (B) => (lt("data-v-65f48b0a"), B = B(), at(), B), Tt = ["id"], Nt = [
46
46
  }
47
47
  },
48
48
  emits: ["selectLegend", "selectDatapoint"],
49
- setup(B, { expose: Ee, emit: ce }) {
50
- const I = B, { vue_ui_nested_donuts: Ge } = ot(), Y = m(() => !!I.dataset && I.dataset.length), $ = d(st()), j = d(!1), ee = d(""), Ye = d(null), ve = d(0), z = d(null), fe = d(null), te = d(null), he = d(null), pe = d(0), ye = d(0), be = d(0), U = d(!1);
51
- function Xe(t) {
49
+ setup(B, { expose: Ge, emit: ce }) {
50
+ const I = B, { vue_ui_nested_donuts: Ye } = ut(), Y = g(() => !!I.dataset && I.dataset.length), w = i(nt()), j = i(!1), ee = i(""), Xe = i(null), ve = i(0), z = i(null), fe = i(null), te = i(null), he = i(null), ye = i(null), pe = i(0), be = i(0), ge = i(0), U = i(!1);
51
+ function We(t) {
52
52
  U.value = t, ve.value += 1;
53
53
  }
54
- const e = m({
55
- get: () => ge(),
54
+ const e = g({
55
+ get: () => me(),
56
56
  set: (t) => t
57
57
  });
58
- function ge() {
59
- const t = Re({
58
+ function me() {
59
+ const t = Ee({
60
60
  userConfig: I.config,
61
- defaultConfig: Ge
61
+ defaultConfig: Ye
62
62
  });
63
63
  return t.theme ? {
64
- ...Re({
65
- userConfig: ut.vue_ui_nested_donuts[t.theme] || I.config,
64
+ ...Ee({
65
+ userConfig: rt.vue_ui_nested_donuts[t.theme] || I.config,
66
66
  defaultConfig: t
67
67
  }),
68
- customPalette: nt[t.theme] || Z
68
+ customPalette: it[t.theme] || Z
69
69
  } : t;
70
70
  }
71
- De(() => I.config, (t) => {
72
- e.value = ge(), me(), pe.value += 1, ye.value += 1, be.value += 1;
71
+ ze(() => I.config, (t) => {
72
+ e.value = me(), ke(), pe.value += 1, be.value += 1, ge.value += 1;
73
73
  }, { deep: !0 });
74
- const X = d(null);
75
- Ze(() => {
76
- me();
74
+ const X = i(null);
75
+ et(() => {
76
+ ke();
77
77
  });
78
- function me() {
79
- if (rt(I.dataset) && V({
78
+ function ke() {
79
+ if (dt(I.dataset) && V({
80
80
  componentName: "VueUiNestedDonuts",
81
81
  type: "dataset"
82
82
  }), e.value.responsive) {
83
- const t = yt(() => {
84
- const { width: s, height: a } = bt({
83
+ const t = gt(() => {
84
+ const { width: u, height: a } = mt({
85
85
  chart: z.value,
86
86
  title: e.value.style.chart.title.text ? fe.value : null,
87
87
  legend: e.value.style.chart.legend.show ? te.value : null,
88
- source: he.value
88
+ source: he.value,
89
+ noTitle: ye.value
89
90
  });
90
- h.value.width = s, h.value.height = a;
91
+ h.value.width = u, h.value.height = a;
91
92
  });
92
93
  X.value = new ResizeObserver(t), X.value.observe(z.value.parentNode);
93
94
  }
94
95
  }
95
- je(() => {
96
+ tt(() => {
96
97
  X.value && X.value.disconnect();
97
98
  });
98
- const { isPrinting: ke, isImaging: $e, generatePdf: we, generateImage: _e } = mt({
99
- elementId: `nested_donuts_${$.value}`,
99
+ const { isPrinting: we, isImaging: _e, generatePdf: $e, generateImage: Le } = wt({
100
+ elementId: `nested_donuts_${w.value}`,
100
101
  fileName: e.value.style.chart.title.text || "vue-ui-nested-donuts"
101
- }), We = m(() => it(e.value.customPalette)), w = d({
102
+ }), He = g(() => e.value.userOptions.show && !e.value.style.chart.title.text), qe = g(() => ct(e.value.customPalette)), _ = i({
102
103
  dataLabels: {
103
104
  show: e.value.style.chart.layout.labels.dataLabels.show
104
105
  },
105
106
  showTable: e.value.table.show,
106
107
  showTooltip: e.value.style.chart.tooltip.show
107
- }), h = d({
108
+ }), h = i({
108
109
  height: 512,
109
110
  width: 512
110
111
  });
111
- function He({ datapoint: t, index: s }) {
112
- ce("selectDatapoint", { datapoint: t, index: s });
112
+ function Ke({ datapoint: t, index: u }) {
113
+ ce("selectDatapoint", { datapoint: t, index: u });
113
114
  }
114
- const p = d([]), C = m(() => (I.dataset.forEach((t, s) => {
115
+ const y = i([]), C = g(() => (I.dataset.forEach((t, u) => {
115
116
  [null, void 0].includes(t.name) && V({
116
117
  componentName: "VueUiNestedDonuts",
117
118
  type: "datasetSerieAttribute",
118
119
  property: "name",
119
- index: s
120
+ index: u
120
121
  }), [null, void 0].includes(t.series) ? V({
121
122
  componentName: "VueUiNestedDonuts",
122
123
  type: "datasetSerieAttribute",
123
124
  property: "series",
124
- index: s
125
+ index: u
125
126
  }) : t.series.length === 0 ? V({
126
127
  componentName: "VueUiNestedDonuts",
127
128
  type: "datasetAttributeEmpty",
128
- property: `series at index ${s}`
129
+ property: `series at index ${u}`
129
130
  }) : t.series.forEach((a, o) => {
130
131
  [null, void 0].includes(a.name) && V({
131
132
  componentName: "VueUiNestedDonuts",
@@ -141,94 +142,94 @@ const de = (B) => (lt("data-v-65f48b0a"), B = B(), at(), B), Tt = ["id"], Nt = [
141
142
  key: "serie"
142
143
  });
143
144
  });
144
- }), I.dataset.map((t, s) => ({
145
+ }), I.dataset.map((t, u) => ({
145
146
  ...t,
146
- total: t.series.filter((a) => !p.value.includes(a.id)).map((a) => Ve(a.values).reduce((o, l) => o + l, 0)).reduce((a, o) => a + o, 0),
147
- datasetIndex: s,
148
- id: `${$.value}_${s}`,
147
+ total: t.series.filter((a) => !y.value.includes(a.id)).map((a) => Me(a.values).reduce((o, l) => o + l, 0)).reduce((a, o) => a + o, 0),
148
+ datasetIndex: u,
149
+ id: `${w.value}_${u}`,
149
150
  series: t.series.map((a, o) => ({
150
151
  name: a.name,
151
152
  arcOf: t.name,
152
- arcOfId: `${$.value}_${s}`,
153
- id: `${$.value}_${s}_${o}`,
153
+ arcOfId: `${w.value}_${u}`,
154
+ id: `${w.value}_${u}_${o}`,
154
155
  seriesIndex: o,
155
- datasetIndex: s,
156
- color: dt(a.color) || We.value[o] || Z[o] || Z[o % Z.length],
157
- value: Ve(a.values).reduce((l, i) => l + i, 0),
156
+ datasetIndex: u,
157
+ color: vt(a.color) || qe.value[o] || Z[o] || Z[o % Z.length],
158
+ value: Me(a.values).reduce((l, d) => l + d, 0),
158
159
  absoluteValues: a.values || []
159
160
  }))
160
- })))), F = m(() => Math.min(h.value.height, h.value.width) * (e.value.style.chart.layout.donut.strokeWidth / 512)), Le = m(() => [...C.value].map((t, s) => {
161
- const a = t.series.filter((o) => !p.value.includes(o.id)).map((o) => o.value).reduce((o, l) => o + l, 0);
161
+ })))), T = g(() => Math.min(h.value.height, h.value.width) * (e.value.style.chart.layout.donut.strokeWidth / 512)), xe = g(() => [...C.value].map((t, u) => {
162
+ const a = t.series.filter((o) => !y.value.includes(o.id)).map((o) => o.value).reduce((o, l) => o + l, 0);
162
163
  return {
163
164
  ...t,
164
165
  total: a,
165
- series: t.series.filter((o) => !p.value.includes(o.id)).map((o) => ({
166
+ series: t.series.filter((o) => !y.value.includes(o.id)).map((o) => ({
166
167
  ...o,
167
168
  proportion: o.value / a
168
169
  }))
169
170
  };
170
171
  }));
171
- function qe(t, s, a) {
172
+ function Je(t, u, a) {
172
173
  let o = 0;
173
174
  for (let l = 0; l < t.length; l += 1)
174
175
  a.includes(t[l]) && (o += 1);
175
- return o < s;
176
+ return o < u;
176
177
  }
177
- const v = d(Le.value);
178
- De(() => Le.value, (t) => v.value = t);
179
- const xe = d(null), Ce = d(null);
178
+ const f = i(xe.value);
179
+ ze(() => xe.value, (t) => f.value = t);
180
+ const Ce = i(null), Te = i(null);
180
181
  function le(t) {
181
182
  ce("selectLegend", t);
182
- const s = C.value.flatMap((c) => c.series).find((c) => c.id === t.id), a = v.value.flatMap((c) => c.series).find((c) => c.id === t.id);
183
+ const u = C.value.flatMap((c) => c.series).find((c) => c.id === t.id), a = f.value.flatMap((c) => c.series).find((c) => c.id === t.id);
183
184
  let l = a ? a.value : 0;
184
- const i = C.value.find((c) => c.id === s.arcOfId).series.map((c) => c.id), b = qe(i, i.length - 1, p.value);
185
- if (p.value.includes(t.id)) {
185
+ const d = C.value.find((c) => c.id === u.arcOfId).series.map((c) => c.id), b = Je(d, d.length - 1, y.value);
186
+ if (y.value.includes(t.id)) {
186
187
  let c = function() {
187
- l > s.value ? (cancelAnimationFrame(xe.value), v.value = v.value.map((_) => ({
188
- ..._,
189
- series: _.series.map((T) => T.id == t.id ? {
190
- ...T,
191
- value: s.value
192
- } : T)
193
- }))) : (l += s.value * 0.025, v.value = v.value.map((_) => ({
194
- ..._,
195
- series: _.series.map((T) => T.id === t.id ? {
196
- ...T,
188
+ l > u.value ? (cancelAnimationFrame(Ce.value), f.value = f.value.map(($) => ({
189
+ ...$,
190
+ series: $.series.map((S) => S.id == t.id ? {
191
+ ...S,
192
+ value: u.value
193
+ } : S)
194
+ }))) : (l += u.value * 0.025, f.value = f.value.map(($) => ({
195
+ ...$,
196
+ series: $.series.map((S) => S.id === t.id ? {
197
+ ...S,
197
198
  value: l
198
- } : T)
199
- })), xe.value = requestAnimationFrame(c));
199
+ } : S)
200
+ })), Ce.value = requestAnimationFrame(c));
200
201
  };
201
- p.value = p.value.filter((_) => _ !== t.id), c();
202
+ y.value = y.value.filter(($) => $ !== t.id), c();
202
203
  } else if (b) {
203
204
  let c = function() {
204
- l < 0.1 ? (cancelAnimationFrame(Ce.value), p.value.push(t.id), v.value = v.value.map((_, T) => ({
205
- ..._,
206
- series: _.series.map((O) => O.id === t.id ? {
205
+ l < 0.1 ? (cancelAnimationFrame(Te.value), y.value.push(t.id), f.value = f.value.map(($, S) => ({
206
+ ...$,
207
+ series: $.series.map((O) => O.id === t.id ? {
207
208
  ...O,
208
209
  value: 0
209
210
  } : O)
210
- }))) : (l /= 1.1, v.value = v.value.map((_, T) => ({
211
- ..._,
212
- series: _.series.map((O) => O.id === t.id ? {
211
+ }))) : (l /= 1.1, f.value = f.value.map(($, S) => ({
212
+ ...$,
213
+ series: $.series.map((O) => O.id === t.id ? {
213
214
  ...O,
214
215
  value: l
215
216
  } : O)
216
- })), Ce.value = requestAnimationFrame(c));
217
+ })), Te.value = requestAnimationFrame(c));
217
218
  };
218
219
  c();
219
220
  }
220
221
  }
221
- const ae = m(() => F.value / C.value.length * e.value.style.chart.layout.donut.spacingRatio), Fe = m(() => v.value.map((t, s) => F.value - s * F.value / C.value.length)), W = m(() => v.value.map((t, s) => {
222
- const a = s * F.value / C.value.length;
222
+ const ae = g(() => T.value / C.value.length * e.value.style.chart.layout.donut.spacingRatio), Fe = g(() => f.value.map((t, u) => T.value - u * T.value / C.value.length)), W = g(() => f.value.map((t, u) => {
223
+ const a = u * T.value / C.value.length;
223
224
  return {
224
225
  ...t,
225
- radius: F.value - a,
226
- donut: Me(
226
+ radius: T.value - a,
227
+ donut: Be(
227
228
  { series: t.series },
228
229
  h.value.width / 2,
229
230
  h.value.height / 2,
230
- F.value - a,
231
- F.value - a,
231
+ T.value - a,
232
+ T.value - a,
232
233
  1.99999,
233
234
  2,
234
235
  1,
@@ -237,53 +238,53 @@ const de = (B) => (lt("data-v-65f48b0a"), B = B(), at(), B), Tt = ["id"], Nt = [
237
238
  ae.value
238
239
  )
239
240
  };
240
- })), Se = m(() => [...C.value].map((t, s) => {
241
- const a = s * F.value / C.value.length;
241
+ })), Se = g(() => [...C.value].map((t, u) => {
242
+ const a = u * T.value / C.value.length;
242
243
  return {
243
244
  sizeRatio: a,
244
- donut: Me(
245
+ donut: Be(
245
246
  { series: [{ value: 1 }] },
246
247
  h.value.width / 2,
247
248
  h.value.height / 2,
248
- F.value - a,
249
- F.value - a,
249
+ T.value - a,
250
+ T.value - a,
250
251
  1.99999,
251
252
  2,
252
253
  1,
253
254
  360,
254
255
  105.25,
255
- F.value / C.value.length * e.value.style.chart.layout.donut.spacingRatio
256
+ T.value / C.value.length * e.value.style.chart.layout.donut.spacingRatio
256
257
  )[0]
257
258
  };
258
- })), Te = d(null), H = d(null), q = d(null), oe = d(null);
259
- function Ke({ datapoint: t, _relativeIndex: s, seriesIndex: a }) {
260
- Te.value = t.arcOfId, H.value = t.id, q.value = a, oe.value = {
259
+ })), Ne = i(null), H = i(null), q = i(null), oe = i(null);
260
+ function Qe({ datapoint: t, _relativeIndex: u, seriesIndex: a }) {
261
+ Ne.value = t.arcOfId, H.value = t.id, q.value = a, oe.value = {
261
262
  datapoint: t,
262
263
  seriesIndex: a,
263
- series: v.value,
264
+ series: f.value,
264
265
  config: e.value
265
266
  };
266
267
  const o = e.value.style.chart.tooltip.customFormat;
267
- if (Ue(o) && ft(() => o({
268
+ if (Re(o) && yt(() => o({
268
269
  seriesIndex: a,
269
270
  datapoint: t,
270
- series: v.value,
271
+ series: f.value,
271
272
  config: e.value
272
273
  })))
273
274
  ee.value = o({
274
275
  seriesIndex: a,
275
276
  datapoint: t,
276
- series: v.value,
277
+ series: f.value,
277
278
  config: e.value
278
279
  });
279
280
  else {
280
281
  let l = "";
281
- if (e.value.style.chart.tooltip.showAllItemsAtIndex && p.value.length === 0) {
282
- const i = v.value.map((b) => b.series.find((c) => c.seriesIndex === a));
283
- i.forEach((b, c) => {
282
+ if (e.value.style.chart.tooltip.showAllItemsAtIndex && y.value.length === 0) {
283
+ const d = f.value.map((b) => b.series.find((c) => c.seriesIndex === a));
284
+ d.forEach((b, c) => {
284
285
  if (!b) return "";
285
286
  l += `
286
- <div style="display:flex; flex-direction: column; justify-content:flex-start; align-items:flex-start;padding:6px 0; ${c < i.length - 1 ? `border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor}` : ""}">
287
+ <div style="display:flex; flex-direction: column; justify-content:flex-start; align-items:flex-start;padding:6px 0; ${c < d.length - 1 ? `border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor}` : ""}">
287
288
  <div style="display:flex; flex-direction: row; gap: 3px; justify-content:flex-start; align-items:center;">
288
289
  <svg viewBox="0 0 20 20" height="${e.value.style.chart.tooltip.fontSize}" width="${e.value.style.chart.tooltip.fontSize}">
289
290
  <circle cx="10" cy="10" r="10" fill="${b.color}"/>
@@ -341,15 +342,15 @@ const de = (B) => (lt("data-v-65f48b0a"), B = B(), at(), B), Tt = ["id"], Nt = [
341
342
  function se(t) {
342
343
  return t.proportion * 100 > e.value.style.chart.layout.labels.dataLabels.hideUnderValue;
343
344
  }
344
- function Ne(t, s) {
345
+ function Ie(t, u) {
345
346
  if (!e.value.useBlurOnHover)
346
347
  return "";
347
- if (e.value.style.chart.tooltip.showAllItemsAtIndex && p.value.length === 0)
348
- return [null, void 0].includes(q.value) || q.value === s ? "" : `url(#blur_${$.value})`;
349
- if (!e.value.style.chart.tooltip.showAllItemsAtIndex || p.value.length)
350
- return [null, void 0].includes(H.value) || H.value === t.id ? "" : `url(#blur_${$.value})`;
348
+ if (e.value.style.chart.tooltip.showAllItemsAtIndex && y.value.length === 0)
349
+ return [null, void 0].includes(q.value) || q.value === u ? "" : `url(#blur_${w.value})`;
350
+ if (!e.value.style.chart.tooltip.showAllItemsAtIndex || y.value.length)
351
+ return [null, void 0].includes(H.value) || H.value === t.id ? "" : `url(#blur_${w.value})`;
351
352
  }
352
- const ue = m(() => C.value.map((t, s) => t.series.map((a, o) => ({
353
+ const ue = g(() => C.value.map((t, u) => t.series.map((a, o) => ({
353
354
  name: a.name,
354
355
  color: a.color,
355
356
  value: a.value,
@@ -357,51 +358,51 @@ const de = (B) => (lt("data-v-65f48b0a"), B = B(), at(), B), Tt = ["id"], Nt = [
357
358
  arcOf: a.arcOf,
358
359
  id: a.id,
359
360
  seriesIndex: o,
360
- datasetIndex: s,
361
- total: t.series.filter((l) => !p.value.includes(l.id)).map((l) => l.value).reduce((l, i) => l + i, 0)
361
+ datasetIndex: u,
362
+ total: t.series.filter((l) => !y.value.includes(l.id)).map((l) => l.value).reduce((l, d) => l + d, 0)
362
363
  })).map((a) => ({
363
364
  ...a,
364
- opacity: p.value.includes(a.id) ? 0.5 : 1,
365
+ opacity: y.value.includes(a.id) ? 0.5 : 1,
365
366
  segregate: () => le(a),
366
- isSegregated: p.value.includes(a.id)
367
- })))), Je = m(() => ({
367
+ isSegregated: y.value.includes(a.id)
368
+ })))), Ze = g(() => ({
368
369
  cy: "nested-donuts-legend",
369
370
  backgroundColor: e.value.style.chart.legend.backgroundColor,
370
371
  color: e.value.style.chart.legend.color,
371
372
  fontSize: e.value.style.chart.legend.fontSize,
372
373
  paddingBottom: 12,
373
374
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
374
- })), A = m(() => {
375
- const t = v.value.flatMap((a) => a.series.map((o) => ({
375
+ })), A = g(() => {
376
+ const t = f.value.flatMap((a) => a.series.map((o) => ({
376
377
  name: `${a.name} - ${o.name}`,
377
378
  color: o.color,
378
379
  total: a.total
379
- }))), s = v.value.flatMap((a) => a.series.map((o) => o.value));
380
- return { head: t, body: s };
380
+ }))), u = f.value.flatMap((a) => a.series.map((o) => o.value));
381
+ return { head: t, body: u };
381
382
  });
382
- function Ie() {
383
- tt(() => {
383
+ function Ae() {
384
+ at(() => {
384
385
  const t = A.value.head.map((o, l) => [[
385
386
  o.name
386
- ], [A.value.body[l]], [isNaN(A.value.body[l] / o.total) ? "-" : A.value.body[l] / o.total * 100]]), s = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(t), a = ht(s);
387
- pt({ csvContent: a, title: e.value.style.chart.title.text || "vue-ui-nested-donuts" });
387
+ ], [A.value.body[l]], [isNaN(A.value.body[l] / o.total) ? "-" : A.value.body[l] / o.total * 100]]), u = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(t), a = pt(u);
388
+ bt({ csvContent: a, title: e.value.style.chart.title.text || "vue-ui-nested-donuts" });
388
389
  });
389
390
  }
390
- const K = m(() => {
391
+ const K = g(() => {
391
392
  const t = [
392
393
  e.value.table.columnNames.series,
393
394
  e.value.table.columnNames.value,
394
395
  e.value.table.columnNames.percentage
395
- ], s = A.value.head.map((l, i) => {
396
- const b = x({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: A.value.body[i], s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue });
396
+ ], u = A.value.head.map((l, d) => {
397
+ const b = x({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: A.value.body[d], s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue });
397
398
  return [
398
399
  {
399
400
  color: l.color,
400
401
  name: l.name
401
402
  },
402
403
  b,
403
- isNaN(A.value.body[i] / l.total) ? "-" : x({
404
- v: A.value.body[i] / l.total * 100,
404
+ isNaN(A.value.body[d] / l.total) ? "-" : x({
405
+ v: A.value.body[d] / l.total * 100,
405
406
  s: "%",
406
407
  r: e.value.table.td.roundingPercentage
407
408
  })
@@ -426,56 +427,63 @@ const de = (B) => (lt("data-v-65f48b0a"), B = B(), at(), B), Tt = ["id"], Nt = [
426
427
  e.value.table.columnNames.percentage
427
428
  ],
428
429
  head: t,
429
- body: s,
430
+ body: u,
430
431
  config: a
431
432
  };
432
433
  });
433
- function Qe() {
434
+ function je() {
434
435
  return C.value;
435
436
  }
436
- function Ae() {
437
- w.value.showTable = !w.value.showTable;
438
- }
439
437
  function Oe() {
440
- w.value.dataLabels.show = !w.value.dataLabels.show;
438
+ _.value.showTable = !_.value.showTable;
441
439
  }
442
440
  function Pe() {
443
- w.value.showTooltip = !w.value.showTooltip;
441
+ _.value.dataLabels.show = !_.value.dataLabels.show;
444
442
  }
445
- const J = d(!1);
443
+ function De() {
444
+ _.value.showTooltip = !_.value.showTooltip;
445
+ }
446
+ const J = i(!1);
446
447
  function ne() {
447
448
  J.value = !J.value;
448
449
  }
449
- return Ee({
450
- getData: Qe,
451
- generatePdf: we,
452
- generateCsv: Ie,
453
- generateImage: _e,
454
- toggleTable: Ae,
455
- toggleLabels: Oe,
456
- toggleTooltip: Pe,
450
+ return Ge({
451
+ getData: je,
452
+ generatePdf: $e,
453
+ generateCsv: Ae,
454
+ generateImage: Le,
455
+ toggleTable: Oe,
456
+ toggleLabels: Pe,
457
+ toggleTooltip: De,
457
458
  toggleAnnotator: ne
458
- }), (t, s) => (u(), n("div", {
459
+ }), (t, u) => (s(), n("div", {
459
460
  ref_key: "nestedDonutsChart",
460
461
  ref: z,
461
462
  class: P(`vue-ui-nested-donuts ${U.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
462
- style: re(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;${!e.value.style.chart.title.text && e.value.userOptions.show ? "padding-top:36px" : ""};background:${e.value.style.chart.backgroundColor}`),
463
- id: `nested_donuts_${$.value}`
463
+ style: re(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
464
+ id: `nested_donuts_${w.value}`
464
465
  }, [
465
- e.value.userOptions.buttons.annotator ? (u(), D(Ft, {
466
+ e.value.userOptions.buttons.annotator ? (s(), D(St, {
466
467
  key: 0,
467
468
  parent: z.value,
468
469
  backgroundColor: e.value.style.chart.backgroundColor,
469
470
  color: e.value.style.chart.color,
470
471
  active: J.value,
471
472
  onClose: ne
472
- }, null, 8, ["parent", "backgroundColor", "color", "active"])) : f("", !0),
473
- e.value.style.chart.title.text ? (u(), n("div", {
473
+ }, null, 8, ["parent", "backgroundColor", "color", "active"])) : v("", !0),
474
+ He.value ? (s(), n("div", {
474
475
  key: 1,
476
+ ref_key: "noTitle",
477
+ ref: ye,
478
+ class: "vue-data-ui-no-title-space",
479
+ style: "height:36px; width: 100%;background:transparent"
480
+ }, null, 512)) : v("", !0),
481
+ e.value.style.chart.title.text ? (s(), n("div", {
482
+ key: 2,
475
483
  ref_key: "chartTitle",
476
484
  ref: fe
477
485
  }, [
478
- (u(), D(gt, {
486
+ (s(), D(kt, {
479
487
  key: `title_${pe.value}`,
480
488
  config: {
481
489
  title: {
@@ -488,15 +496,15 @@ const de = (B) => (lt("data-v-65f48b0a"), B = B(), at(), B), Tt = ["id"], Nt = [
488
496
  }
489
497
  }
490
498
  }, null, 8, ["config"]))
491
- ], 512)) : f("", !0),
492
- e.value.userOptions.show && Y.value ? (u(), D(kt, {
499
+ ], 512)) : v("", !0),
500
+ e.value.userOptions.show && Y.value ? (s(), D(_t, {
493
501
  ref: "details",
494
502
  key: `user_option_${ve.value}`,
495
503
  backgroundColor: e.value.style.chart.backgroundColor,
496
504
  color: e.value.style.chart.color,
497
- isPrinting: r(ke),
498
- isImaging: r($e),
499
- uid: $.value,
505
+ isPrinting: r(we),
506
+ isImaging: r(_e),
507
+ uid: w.value,
500
508
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
501
509
  hasPdf: e.value.userOptions.buttons.pdf,
502
510
  hasXls: e.value.userOptions.buttons.csv,
@@ -505,158 +513,158 @@ const de = (B) => (lt("data-v-65f48b0a"), B = B(), at(), B), Tt = ["id"], Nt = [
505
513
  hasLabel: e.value.userOptions.buttons.labels,
506
514
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
507
515
  isFullscreen: U.value,
508
- isTooltip: w.value.showTooltip,
516
+ isTooltip: _.value.showTooltip,
509
517
  titles: { ...e.value.userOptions.buttonTitles },
510
518
  chartElement: z.value,
511
519
  position: e.value.userOptions.position,
512
520
  hasAnnotator: e.value.userOptions.buttons.annotator,
513
521
  isAnnotation: J.value,
514
- onToggleFullscreen: Xe,
515
- onGeneratePdf: r(we),
516
- onGenerateCsv: Ie,
517
- onGenerateImage: r(_e),
518
- onToggleTable: Ae,
519
- onToggleLabels: Oe,
520
- onToggleTooltip: Pe,
522
+ onToggleFullscreen: We,
523
+ onGeneratePdf: r($e),
524
+ onGenerateCsv: Ae,
525
+ onGenerateImage: r(Le),
526
+ onToggleTable: Oe,
527
+ onToggleLabels: Pe,
528
+ onToggleTooltip: De,
521
529
  onToggleAnnotator: ne
522
- }, et({ _: 2 }, [
530
+ }, lt({ _: 2 }, [
523
531
  t.$slots.optionTooltip ? {
524
532
  name: "optionTooltip",
525
- fn: g(() => [
533
+ fn: m(() => [
526
534
  k(t.$slots, "optionTooltip", {}, void 0, !0)
527
535
  ]),
528
536
  key: "0"
529
537
  } : void 0,
530
538
  t.$slots.optionPdf ? {
531
539
  name: "optionPdf",
532
- fn: g(() => [
540
+ fn: m(() => [
533
541
  k(t.$slots, "optionPdf", {}, void 0, !0)
534
542
  ]),
535
543
  key: "1"
536
544
  } : void 0,
537
545
  t.$slots.optionCsv ? {
538
546
  name: "optionCsv",
539
- fn: g(() => [
547
+ fn: m(() => [
540
548
  k(t.$slots, "optionCsv", {}, void 0, !0)
541
549
  ]),
542
550
  key: "2"
543
551
  } : void 0,
544
552
  t.$slots.optionImg ? {
545
553
  name: "optionImg",
546
- fn: g(() => [
554
+ fn: m(() => [
547
555
  k(t.$slots, "optionImg", {}, void 0, !0)
548
556
  ]),
549
557
  key: "3"
550
558
  } : void 0,
551
559
  t.$slots.optionTable ? {
552
560
  name: "optionTable",
553
- fn: g(() => [
561
+ fn: m(() => [
554
562
  k(t.$slots, "optionTable", {}, void 0, !0)
555
563
  ]),
556
564
  key: "4"
557
565
  } : void 0,
558
566
  t.$slots.optionLabels ? {
559
567
  name: "optionLabels",
560
- fn: g(() => [
568
+ fn: m(() => [
561
569
  k(t.$slots, "optionLabels", {}, void 0, !0)
562
570
  ]),
563
571
  key: "5"
564
572
  } : void 0,
565
573
  t.$slots.optionFullscreen ? {
566
574
  name: "optionFullscreen",
567
- fn: g(({ toggleFullscreen: a, isFullscreen: o }) => [
575
+ fn: m(({ toggleFullscreen: a, isFullscreen: o }) => [
568
576
  k(t.$slots, "optionFullscreen", R(E({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
569
577
  ]),
570
578
  key: "6"
571
579
  } : void 0,
572
580
  t.$slots.optionAnnotator ? {
573
581
  name: "optionAnnotator",
574
- fn: g(({ toggleAnnotator: a, isAnnotator: o }) => [
582
+ fn: m(({ toggleAnnotator: a, isAnnotator: o }) => [
575
583
  k(t.$slots, "optionAnnotator", R(E({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
576
584
  ]),
577
585
  key: "7"
578
586
  } : void 0
579
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : f("", !0),
580
- Y.value ? (u(), n("svg", {
581
- key: 3,
582
- xmlns: r(ct),
587
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : v("", !0),
588
+ Y.value ? (s(), n("svg", {
589
+ key: 4,
590
+ xmlns: r(ft),
583
591
  class: P({ "vue-data-ui-fullscreen--on": U.value, "vue-data-ui-fulscreen--off": !U.value }),
584
592
  viewBox: `0 0 ${h.value.width <= 0 ? 1e-3 : h.value.width} ${h.value.height < 0 ? 1e-3 : h.value.height}`,
585
593
  style: re(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
586
594
  }, [
587
- ze(Ct),
588
- y("defs", null, [
589
- (u(!0), n(L, null, S(Se.value, (a, o) => (u(), n("radialGradient", {
590
- id: `radial_${$.value}_${o}`
595
+ Ve(Ft),
596
+ p("defs", null, [
597
+ (s(!0), n(L, null, F(Se.value, (a, o) => (s(), n("radialGradient", {
598
+ id: `radial_${w.value}_${o}`
591
599
  }, [
592
- At,
593
- y("stop", {
600
+ Pt,
601
+ p("stop", {
594
602
  offset: `${(1 - ae.value / Fe.value[o]) * 100}%`,
595
- "stop-color": r(Be)("#FFFFFF", 0),
603
+ "stop-color": r(Ue)("#FFFFFF", 0),
596
604
  "stop-opacity": "0"
597
- }, null, 8, Ot),
598
- y("stop", {
605
+ }, null, 8, Dt),
606
+ p("stop", {
599
607
  offset: `${(1 - ae.value / Fe.value[o] / 2) * 100}%`,
600
608
  "stop-color": "#FFFFFF",
601
609
  "stop-opacity": e.value.style.chart.gradientIntensity / 100
602
- }, null, 8, Pt),
603
- Dt
604
- ], 8, It))), 256))
610
+ }, null, 8, zt),
611
+ Vt
612
+ ], 8, Ot))), 256))
605
613
  ]),
606
- y("defs", null, [
607
- y("filter", {
608
- id: `blur_${$.value}`,
614
+ p("defs", null, [
615
+ p("filter", {
616
+ id: `blur_${w.value}`,
609
617
  x: "-50%",
610
618
  y: "-50%",
611
619
  width: "200%",
612
620
  height: "200%"
613
621
  }, [
614
- y("feGaussianBlur", {
622
+ p("feGaussianBlur", {
615
623
  in: "SourceGraphic",
616
624
  stdDeviation: 2,
617
- id: `blur_std_${$.value}`
618
- }, null, 8, Vt),
619
- Mt
620
- ], 8, zt),
621
- y("filter", {
622
- id: `shadow_${$.value}`,
625
+ id: `blur_std_${w.value}`
626
+ }, null, 8, Bt),
627
+ Ut
628
+ ], 8, Mt),
629
+ p("filter", {
630
+ id: `shadow_${w.value}`,
623
631
  "color-interpolation-filters": "sRGB"
624
632
  }, [
625
- y("feDropShadow", {
633
+ p("feDropShadow", {
626
634
  dx: "0",
627
635
  dy: "0",
628
636
  stdDeviation: "10",
629
637
  "flood-opacity": "0.5",
630
638
  "flood-color": e.value.style.chart.layout.donut.shadowColor
631
- }, null, 8, Ut)
632
- ], 8, Bt)
639
+ }, null, 8, Et)
640
+ ], 8, Rt)
633
641
  ]),
634
- (u(!0), n(L, null, S(W.value, (a, o) => (u(), n("g", null, [
635
- (u(!0), n(L, null, S(a.donut, (l, i) => (u(), n("g", null, [
636
- y("path", {
642
+ (s(!0), n(L, null, F(W.value, (a, o) => (s(), n("g", null, [
643
+ (s(!0), n(L, null, F(a.donut, (l, d) => (s(), n("g", null, [
644
+ p("path", {
637
645
  class: "vue-ui-donut-arc-path",
638
646
  d: l.arcSlice,
639
- fill: r(Be)(l.color, 80),
647
+ fill: r(Ue)(l.color, 80),
640
648
  stroke: e.value.style.chart.backgroundColor,
641
649
  "stroke-width": e.value.style.chart.layout.donut.borderWidth,
642
- filter: Ne(l, i)
643
- }, null, 8, Rt)
650
+ filter: Ie(l, d)
651
+ }, null, 8, Gt)
644
652
  ]))), 256))
645
653
  ]))), 256)),
646
- e.value.style.chart.useGradient ? (u(), n("g", Et, [
647
- (u(!0), n(L, null, S(Se.value, (a, o) => (u(), n("g", null, [
648
- y("path", {
654
+ e.value.style.chart.useGradient ? (s(), n("g", Yt, [
655
+ (s(!0), n(L, null, F(Se.value, (a, o) => (s(), n("g", null, [
656
+ p("path", {
649
657
  d: a.donut.arcSlice,
650
- fill: `url(#radial_${$.value}_${o})`,
658
+ fill: `url(#radial_${w.value}_${o})`,
651
659
  stroke: "transparent",
652
660
  "stroke-width": "0"
653
- }, null, 8, Gt)
661
+ }, null, 8, Xt)
654
662
  ]))), 256))
655
- ])) : f("", !0),
656
- e.value.style.chart.layout.labels.dataLabels.showDonutName ? (u(), n("g", Yt, [
657
- (u(!0), n(L, null, S(W.value, (a, o) => (u(), n("g", null, [
658
- (u(!0), n(L, null, S(a.donut, (l, i) => (u(), n("g", null, [
659
- i === 0 && h.value.width && h.value.height ? (u(), n("text", {
663
+ ])) : v("", !0),
664
+ e.value.style.chart.layout.labels.dataLabels.showDonutName ? (s(), n("g", Wt, [
665
+ (s(!0), n(L, null, F(W.value, (a, o) => (s(), n("g", null, [
666
+ (s(!0), n(L, null, F(a.donut, (l, d) => (s(), n("g", null, [
667
+ d === 0 && h.value.width && h.value.height ? (s(), n("text", {
660
668
  key: 0,
661
669
  class: P({ animated: e.value.useCssAnimation }),
662
670
  x: h.value.width / 2,
@@ -665,16 +673,16 @@ const de = (B) => (lt("data-v-65f48b0a"), B = B(), at(), B), Tt = ["id"], Nt = [
665
673
  "font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
666
674
  "font-weight": e.value.style.chart.layout.labels.dataLabels.boldDonutName ? "bold" : "normal",
667
675
  fill: e.value.style.chart.layout.labels.dataLabels.color
668
- }, N(e.value.style.chart.layout.labels.dataLabels.donutNameAbbreviation ? r(vt)({ source: a.name, length: e.value.style.chart.layout.labels.dataLabels.donutNameMaxAbbreviationSize }) : a.name), 11, Xt)) : f("", !0)
676
+ }, N(e.value.style.chart.layout.labels.dataLabels.donutNameAbbreviation ? r(ht)({ source: a.name, length: e.value.style.chart.layout.labels.dataLabels.donutNameMaxAbbreviationSize }) : a.name), 11, Ht)) : v("", !0)
669
677
  ]))), 256))
670
678
  ]))), 256))
671
- ])) : f("", !0),
672
- e.value.style.chart.layout.labels.dataLabels.show ? (u(), n("g", Wt, [
673
- (u(!0), n(L, null, S(W.value, (a, o) => (u(), n("g", null, [
674
- (u(!0), n(L, null, S(a.donut, (l, i) => (u(), n("g", {
675
- filter: Ne(l, i)
679
+ ])) : v("", !0),
680
+ e.value.style.chart.layout.labels.dataLabels.show ? (s(), n("g", qt, [
681
+ (s(!0), n(L, null, F(W.value, (a, o) => (s(), n("g", null, [
682
+ (s(!0), n(L, null, F(a.donut, (l, d) => (s(), n("g", {
683
+ filter: Ie(l, d)
676
684
  }, [
677
- se(l) && w.value.dataLabels.show && e.value.style.chart.layout.labels.dataLabels.showPercentage ? (u(), n("text", {
685
+ se(l) && _.value.dataLabels.show && e.value.style.chart.layout.labels.dataLabels.showPercentage ? (s(), n("text", {
678
686
  key: 0,
679
687
  class: P({ animated: e.value.useCssAnimation }),
680
688
  "text-anchor": r(M)(l, !0).anchor,
@@ -683,8 +691,8 @@ const de = (B) => (lt("data-v-65f48b0a"), B = B(), at(), B), Tt = ["id"], Nt = [
683
691
  fill: e.value.style.chart.layout.labels.dataLabels.useSerieColor ? l.color : e.value.style.chart.layout.labels.dataLabels.color,
684
692
  "font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
685
693
  "font-weight": e.value.style.chart.layout.labels.dataLabels.boldPercentage ? "bold" : "normal"
686
- }, N(r(x)({ v: l.proportion * 100, s: "%", r: e.value.style.chart.layout.labels.dataLabels.roundingPercentage })), 11, qt)) : f("", !0),
687
- se(l) && w.value.dataLabels.show && e.value.style.chart.layout.labels.dataLabels.showPercentage && e.value.style.chart.layout.labels.dataLabels.showValue ? (u(), n("text", {
694
+ }, N(r(x)({ v: l.proportion * 100, s: "%", r: e.value.style.chart.layout.labels.dataLabels.roundingPercentage })), 11, Jt)) : v("", !0),
695
+ se(l) && _.value.dataLabels.show && e.value.style.chart.layout.labels.dataLabels.showPercentage && e.value.style.chart.layout.labels.dataLabels.showValue ? (s(), n("text", {
688
696
  key: 1,
689
697
  class: P({ animated: e.value.useCssAnimation }),
690
698
  "text-anchor": r(M)(l, !0).anchor,
@@ -702,9 +710,9 @@ const de = (B) => (lt("data-v-65f48b0a"), B = B(), at(), B), Tt = ["id"], Nt = [
702
710
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
703
711
  r: e.value.style.chart.layout.labels.dataLabels.roundingValue
704
712
  }),
705
- { datapoint: l, seriesIndex: o, datapointIndex: i }
706
- )) + ") ", 11, Kt)) : f("", !0),
707
- se(l) && w.value.dataLabels.show && !e.value.style.chart.layout.labels.dataLabels.showPercentage && e.value.style.chart.layout.labels.dataLabels.showValue ? (u(), n("text", {
713
+ { datapoint: l, seriesIndex: o, datapointIndex: d }
714
+ )) + ") ", 11, Qt)) : v("", !0),
715
+ se(l) && _.value.dataLabels.show && !e.value.style.chart.layout.labels.dataLabels.showPercentage && e.value.style.chart.layout.labels.dataLabels.showValue ? (s(), n("text", {
708
716
  key: 2,
709
717
  class: P({ animated: e.value.useCssAnimation }),
710
718
  "text-anchor": r(M)(l, !0).anchor,
@@ -722,36 +730,36 @@ const de = (B) => (lt("data-v-65f48b0a"), B = B(), at(), B), Tt = ["id"], Nt = [
722
730
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
723
731
  r: e.value.style.chart.layout.labels.dataLabels.roundingValue
724
732
  }),
725
- { datapoint: l, seriesIndex: o, datapointIndex: i }
726
- )), 11, Jt)) : f("", !0)
727
- ], 8, Ht))), 256))
733
+ { datapoint: l, seriesIndex: o, datapointIndex: d }
734
+ )), 11, Zt)) : v("", !0)
735
+ ], 8, Kt))), 256))
728
736
  ]))), 256))
729
- ])) : f("", !0),
730
- (u(!0), n(L, null, S(W.value, (a, o) => (u(), n("g", null, [
731
- (u(!0), n(L, null, S(a.donut, (l, i) => (u(), n("g", null, [
732
- y("path", {
737
+ ])) : v("", !0),
738
+ (s(!0), n(L, null, F(W.value, (a, o) => (s(), n("g", null, [
739
+ (s(!0), n(L, null, F(a.donut, (l, d) => (s(), n("g", null, [
740
+ p("path", {
733
741
  "data-cy-donut-trap": "",
734
742
  d: l.arcSlice,
735
- fill: Ye.value === o ? "rgba(0,0,0,0.1)" : "transparent",
736
- onMouseenter: (b) => Ke({
743
+ fill: Xe.value === o ? "rgba(0,0,0,0.1)" : "transparent",
744
+ onMouseenter: (b) => Qe({
737
745
  datapoint: l,
738
746
  relativeIndex: o,
739
747
  seriesIndex: l.seriesIndex
740
748
  }),
741
- onClick: (b) => He({ datapoint: l, index: i }),
742
- onMouseleave: s[0] || (s[0] = (b) => {
743
- j.value = !1, Te.value = null, H.value = null, q.value = null;
749
+ onClick: (b) => Ke({ datapoint: l, index: d }),
750
+ onMouseleave: u[0] || (u[0] = (b) => {
751
+ j.value = !1, Ne.value = null, H.value = null, q.value = null;
744
752
  })
745
- }, null, 40, Qt)
753
+ }, null, 40, jt)
746
754
  ]))), 256))
747
755
  ]))), 256)),
748
756
  k(t.$slots, "svg", { svg: h.value }, void 0, !0)
749
- ], 14, Nt)) : f("", !0),
750
- t.$slots.watermark ? (u(), n("div", Zt, [
751
- k(t.$slots, "watermark", R(E({ isPrinting: r(ke) || r($e) })), void 0, !0)
752
- ])) : f("", !0),
753
- Y.value ? f("", !0) : (u(), D(Lt, {
754
- key: 5,
757
+ ], 14, At)) : v("", !0),
758
+ t.$slots.watermark ? (s(), n("div", el, [
759
+ k(t.$slots, "watermark", R(E({ isPrinting: r(we) || r(_e) })), void 0, !0)
760
+ ])) : v("", !0),
761
+ Y.value ? v("", !0) : (s(), D(Ct, {
762
+ key: 6,
755
763
  config: {
756
764
  type: "donut",
757
765
  style: {
@@ -762,8 +770,8 @@ const de = (B) => (lt("data-v-65f48b0a"), B = B(), at(), B), Tt = ["id"], Nt = [
762
770
  }
763
771
  }
764
772
  }, null, 8, ["config"])),
765
- ze(wt, {
766
- show: w.value.showTooltip && j.value,
773
+ Ve(Lt, {
774
+ show: _.value.showTooltip && j.value,
767
775
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
768
776
  color: e.value.style.chart.tooltip.color,
769
777
  borderRadius: e.value.style.chart.tooltip.borderRadius,
@@ -775,35 +783,35 @@ const de = (B) => (lt("data-v-65f48b0a"), B = B(), at(), B), Tt = ["id"], Nt = [
775
783
  offsetY: e.value.style.chart.tooltip.offsetY,
776
784
  parent: z.value,
777
785
  content: ee.value,
778
- isCustom: r(Ue)(e.value.style.chart.tooltip.customFormat)
786
+ isCustom: r(Re)(e.value.style.chart.tooltip.customFormat)
779
787
  }, {
780
- "tooltip-before": g(() => [
788
+ "tooltip-before": m(() => [
781
789
  k(t.$slots, "tooltip-before", R(E({ ...oe.value })), void 0, !0)
782
790
  ]),
783
- "tooltip-after": g(() => [
791
+ "tooltip-after": m(() => [
784
792
  k(t.$slots, "tooltip-after", R(E({ ...oe.value })), void 0, !0)
785
793
  ]),
786
794
  _: 3
787
795
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
788
- e.value.style.chart.legend.show ? (u(), n("div", {
789
- key: 6,
796
+ e.value.style.chart.legend.show ? (s(), n("div", {
797
+ key: 7,
790
798
  ref_key: "chartLegend",
791
799
  ref: te,
792
800
  class: P({ "vue-ui-nested-donuts-legend": ue.value.length > 1 })
793
801
  }, [
794
- (u(!0), n(L, null, S(ue.value, (a, o) => (u(), D(_t, {
795
- key: `legend_${o}_${be.value}`,
802
+ (s(!0), n(L, null, F(ue.value, (a, o) => (s(), D(xt, {
803
+ key: `legend_${o}_${ge.value}`,
796
804
  legendSet: a,
797
- config: Je.value,
798
- onClickMarker: s[1] || (s[1] = ({ legend: l }) => le(l))
805
+ config: Ze.value,
806
+ onClickMarker: u[1] || (u[1] = ({ legend: l }) => le(l))
799
807
  }, {
800
- legendTitle: g(({ titleSet: l }) => [
801
- l[0] && l[0].arcOf ? (u(), n("div", jt, N(l[0].arcOf), 1)) : f("", !0)
808
+ legendTitle: m(({ titleSet: l }) => [
809
+ l[0] && l[0].arcOf ? (s(), n("div", tl, N(l[0].arcOf), 1)) : v("", !0)
802
810
  ]),
803
- item: g(({ legend: l, index: i }) => [
804
- y("div", {
811
+ item: m(({ legend: l, index: d }) => [
812
+ p("div", {
805
813
  onClick: (b) => le(l),
806
- style: re(`opacity:${p.value.includes(l.id) ? 0.5 : 1}`)
814
+ style: re(`opacity:${y.value.includes(l.id) ? 0.5 : 1}`)
807
815
  }, [
808
816
  Q(N(l.name) + ": " + N(r(G)(
809
817
  e.value.style.chart.layout.labels.dataLabels.formatter,
@@ -814,38 +822,38 @@ const de = (B) => (lt("data-v-65f48b0a"), B = B(), at(), B), Tt = ["id"], Nt = [
814
822
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
815
823
  r: e.value.style.chart.legend.roundingValue
816
824
  }),
817
- { datapoint: l, seriesIndex: i }
825
+ { datapoint: l, seriesIndex: d }
818
826
  )) + " ", 1),
819
- p.value.includes(l.id) ? (u(), n(L, { key: 1 }, [
827
+ y.value.includes(l.id) ? (s(), n(L, { key: 1 }, [
820
828
  Q(" ( - % ) ")
821
- ], 64)) : (u(), n(L, { key: 0 }, [
829
+ ], 64)) : (s(), n(L, { key: 0 }, [
822
830
  Q(" (" + N(isNaN(l.value / l.total) ? "-" : r(x)({ v: l.value / l.total * 100, s: "%", r: e.value.style.chart.legend.roundingPercentage })) + ") ", 1)
823
831
  ], 64))
824
- ], 12, el)
832
+ ], 12, ll)
825
833
  ]),
826
834
  _: 2
827
835
  }, 1032, ["legendSet", "config"]))), 128))
828
- ], 2)) : f("", !0),
829
- e.value.style.chart.legend.show ? f("", !0) : (u(), n("div", {
830
- key: 7,
836
+ ], 2)) : v("", !0),
837
+ e.value.style.chart.legend.show ? v("", !0) : (s(), n("div", {
838
+ key: 8,
831
839
  ref_key: "chartLegend",
832
840
  ref: te
833
841
  }, [
834
842
  k(t.$slots, "legend", { legend: ue.value }, void 0, !0)
835
843
  ], 512)),
836
- t.$slots.source ? (u(), n("div", {
837
- key: 8,
844
+ t.$slots.source ? (s(), n("div", {
845
+ key: 9,
838
846
  ref_key: "source",
839
847
  ref: he,
840
848
  dir: "auto"
841
849
  }, [
842
850
  k(t.$slots, "source", {}, void 0, !0)
843
- ], 512)) : f("", !0),
844
- Y.value ? (u(), D(xt, {
845
- key: 9,
851
+ ], 512)) : v("", !0),
852
+ Y.value ? (s(), D(Tt, {
853
+ key: 10,
846
854
  hideDetails: "",
847
855
  config: {
848
- open: w.value.showTable,
856
+ open: _.value.showTable,
849
857
  maxHeight: 1e4,
850
858
  body: {
851
859
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -857,33 +865,33 @@ const de = (B) => (lt("data-v-65f48b0a"), B = B(), at(), B), Tt = ["id"], Nt = [
857
865
  }
858
866
  }
859
867
  }, {
860
- content: g(() => [
861
- (u(), D($t, {
862
- key: `table_${ye.value}`,
868
+ content: m(() => [
869
+ (s(), D($t, {
870
+ key: `table_${be.value}`,
863
871
  colNames: K.value.colNames,
864
872
  head: K.value.head,
865
873
  body: K.value.body,
866
874
  config: K.value.config,
867
875
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
868
- onClose: s[2] || (s[2] = (a) => w.value.showTable = !1)
876
+ onClose: u[2] || (u[2] = (a) => _.value.showTable = !1)
869
877
  }, {
870
- th: g(({ th: a }) => [
871
- y("div", {
878
+ th: m(({ th: a }) => [
879
+ p("div", {
872
880
  innerHTML: a,
873
881
  style: { display: "flex", "align-items": "center" }
874
- }, null, 8, tl)
882
+ }, null, 8, al)
875
883
  ]),
876
- td: g(({ td: a }) => [
884
+ td: m(({ td: a }) => [
877
885
  Q(N(a.name || a), 1)
878
886
  ]),
879
887
  _: 1
880
888
  }, 8, ["colNames", "head", "body", "config", "title"]))
881
889
  ]),
882
890
  _: 1
883
- }, 8, ["config"])) : f("", !0)
884
- ], 14, Tt));
891
+ }, 8, ["config"])) : v("", !0)
892
+ ], 14, It));
885
893
  }
886
- }, bl = /* @__PURE__ */ St(ll, [["__scopeId", "data-v-65f48b0a"]]);
894
+ }, ml = /* @__PURE__ */ Nt(ol, [["__scopeId", "data-v-038450b3"]]);
887
895
  export {
888
- bl as default
896
+ ml as default
889
897
  };