vue-data-ui 2.3.74 → 2.3.76

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-DK6F5Fq3.cjs → Arrow-D7M4-bW7.cjs} +1 -1
  2. package/dist/{Arrow-CYCrAySW.js → Arrow-DY9RKUmG.js} +1 -1
  3. package/dist/{BaseIcon-DBHVtm3A.cjs → BaseIcon-DB7Apwv_.cjs} +1 -1
  4. package/dist/{BaseIcon-kBIAYqUO.js → BaseIcon-rwm-10Hu.js} +1 -1
  5. package/dist/{DataTable-BNFSPjhv.cjs → DataTable-CsNozyz7.cjs} +1 -1
  6. package/dist/{DataTable-CKdV-L0e.js → DataTable-e2fnfjXV.js} +2 -2
  7. package/dist/{Legend-Cj7T-DqJ.js → Legend-5cQ0xZjK.js} +1 -1
  8. package/dist/{Legend-Do2kcWFT.cjs → Legend-DgFd-O0m.cjs} +1 -1
  9. package/dist/{Shape-Bo8ZjViG.js → Shape-CiTElr_0.js} +1 -1
  10. package/dist/{Shape-DRDUAe_o.cjs → Shape-yPECDLiP.cjs} +1 -1
  11. package/dist/{Slicer-D8jHSP7U.cjs → Slicer-DaZgCKV7.cjs} +1 -1
  12. package/dist/{Slicer-4nGKvUYF.js → Slicer-DwBBu3kB.js} +2 -2
  13. package/dist/{Title-D5cATWsL.cjs → Title-3EduyW4p.cjs} +1 -1
  14. package/dist/{Title-DZjnxQdN.js → Title-gUz6GDA3.js} +1 -1
  15. package/dist/{Tooltip-B8yLaegk.cjs → Tooltip-DScSrYXJ.cjs} +1 -1
  16. package/dist/{Tooltip--kgFEVZs.js → Tooltip-DfSM1mNP.js} +1 -1
  17. package/dist/{index-D_32ZGWd.cjs → index-BTgtr0F8.cjs} +1 -1
  18. package/dist/{index-C8SH0f2u.js → index-CaV1s-yZ.js} +1 -1
  19. package/dist/style.css +1 -1
  20. package/dist/{useNestedProp-BvvH633N.cjs → useNestedProp-CisbRRo_.cjs} +1 -1
  21. package/dist/{useNestedProp-lS_T5lM3.js → useNestedProp-tWCzZrLx.js} +1 -1
  22. package/dist/{usePrinter-BouFNHWR.cjs → usePrinter-DzTaA1eh.cjs} +1 -1
  23. package/dist/{usePrinter-Dj50NAxo.js → usePrinter-rvJyT65A.js} +1 -1
  24. package/dist/{vue-data-ui-v_BbbLtJ.cjs → vue-data-ui-BGkWRPUY.cjs} +1 -1
  25. package/dist/{vue-data-ui-DoXqU7xC.js → vue-data-ui-BO89gTtq.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-CnoPOJHm.js → vue-ui-3d-bar-CcTMIHiB.js} +499 -486
  29. package/dist/vue-ui-3d-bar-DzmcGuqh.cjs +19 -0
  30. package/dist/{vue-ui-accordion-Cka6b_Up.cjs → vue-ui-accordion-7e4Myhcg.cjs} +1 -1
  31. package/dist/{vue-ui-accordion-YHleIgkV.js → vue-ui-accordion-CpzGQ63y.js} +3 -3
  32. package/dist/vue-ui-age-pyramid-C7qr9EwB.cjs +1 -0
  33. package/dist/{vue-ui-age-pyramid-CENg8fDg.js → vue-ui-age-pyramid-D71ZLkVV.js} +182 -169
  34. package/dist/{vue-ui-annotator-VJOLUkqJ.js → vue-ui-annotator-B8Iu6cYt.js} +1 -1
  35. package/dist/{vue-ui-annotator-ByYg6QMs.cjs → vue-ui-annotator-BKQrweqm.cjs} +1 -1
  36. package/dist/{vue-ui-candlestick-CHsGD3bx.js → vue-ui-candlestick-Bx4QVkY0.js} +295 -279
  37. package/dist/vue-ui-candlestick-DAc1FQ-i.cjs +2 -0
  38. package/dist/vue-ui-carousel-table-uFRqkghO.cjs +1 -0
  39. package/dist/{vue-ui-carousel-table-RAtX3VBu.js → vue-ui-carousel-table-xuQG6bcH.js} +146 -129
  40. package/dist/{vue-ui-chestnut-B5GQX0J_.js → vue-ui-chestnut-Bo6rDcU7.js} +215 -204
  41. package/dist/vue-ui-chestnut-DJkm72oD.cjs +6 -0
  42. package/dist/{vue-ui-cursor-DnZqLj21.cjs → vue-ui-cursor-BQbeuW-k.cjs} +1 -1
  43. package/dist/{vue-ui-cursor-CMm7XSSG.js → vue-ui-cursor-C0KOqEOq.js} +2 -2
  44. package/dist/{vue-ui-dashboard-DgEQJnLr.cjs → vue-ui-dashboard-0Hsjx-bO.cjs} +1 -1
  45. package/dist/{vue-ui-dashboard-Ck_5L3eu.js → vue-ui-dashboard-BT71xS7P.js} +2 -2
  46. package/dist/{vue-ui-digits--ULH35um.js → vue-ui-digits-BRqpKYvD.js} +2 -2
  47. package/dist/{vue-ui-digits-UvwUdi6U.cjs → vue-ui-digits-C2ReH6w0.cjs} +1 -1
  48. package/dist/{vue-ui-donut-QQ1fWWvc.js → vue-ui-donut-NQW-3prf.js} +376 -362
  49. package/dist/vue-ui-donut-evolution-DOe-cwLi.cjs +1 -0
  50. package/dist/{vue-ui-donut-evolution-Cx8kBB_7.js → vue-ui-donut-evolution-jbXQQGTc.js} +270 -255
  51. package/dist/vue-ui-donut-v81suIOX.cjs +1 -0
  52. package/dist/vue-ui-dumbbell-DXQSg6wa.cjs +9 -0
  53. package/dist/{vue-ui-dumbbell-BYvwHpU8.js → vue-ui-dumbbell-Dyz8xdtC.js} +232 -213
  54. package/dist/vue-ui-flow-BL3JWW1m.js +481 -0
  55. package/dist/vue-ui-flow-UqSNwH9d.cjs +1 -0
  56. package/dist/vue-ui-galaxy-DTQWGvRH.cjs +1 -0
  57. package/dist/{vue-ui-galaxy-B0L57aec.js → vue-ui-galaxy-Dx9nsOuM.js} +175 -162
  58. package/dist/vue-ui-gauge-BUB7H0qA.cjs +1 -0
  59. package/dist/vue-ui-gauge-CLaKGi0-.js +500 -0
  60. package/dist/vue-ui-gizmo-Kitfqu0J.cjs +1 -0
  61. package/dist/{vue-ui-gizmo-D2RfM55X.js → vue-ui-gizmo-of-4s5HG.js} +66 -53
  62. package/dist/{vue-ui-heatmap-DKM0DH41.js → vue-ui-heatmap-BIzjOMXO.js} +157 -143
  63. package/dist/vue-ui-heatmap-DUw2350O.cjs +1 -0
  64. package/dist/vue-ui-kpi-By3YPwgo.js +98 -0
  65. package/dist/vue-ui-kpi-DyL2Hcz-.cjs +1 -0
  66. package/dist/{vue-ui-mini-loader-CLP19Txv.cjs → vue-ui-mini-loader-C048-8Kd.cjs} +1 -1
  67. package/dist/{vue-ui-mini-loader-MywnWlYI.js → vue-ui-mini-loader-DnK3V2z2.js} +2 -2
  68. package/dist/{vue-ui-molecule-CLI9iTRE.js → vue-ui-molecule-BfhbIqa5.js} +177 -167
  69. package/dist/vue-ui-molecule-D-ahly6R.cjs +1 -0
  70. package/dist/vue-ui-mood-radar-DD8R9BpJ.cjs +1 -0
  71. package/dist/{vue-ui-mood-radar-O30wZo9a.js → vue-ui-mood-radar-DXxEKr3x.js} +172 -161
  72. package/dist/{vue-ui-nested-donuts-D8o4TqTt.js → vue-ui-nested-donuts-BdUdHFd-.js} +377 -364
  73. package/dist/vue-ui-nested-donuts-C7qM_FRw.cjs +17 -0
  74. package/dist/{vue-ui-onion-Hmcke6xB.js → vue-ui-onion-D0vF5jBt.js} +191 -177
  75. package/dist/vue-ui-onion-DX3gofXZ.cjs +5 -0
  76. package/dist/{vue-ui-parallel-coordinate-plot-CyChE3NP.js → vue-ui-parallel-coordinate-plot-CTZY-pY8.js} +298 -284
  77. package/dist/vue-ui-parallel-coordinate-plot-DEx5kFYd.cjs +8 -0
  78. package/dist/{vue-ui-quadrant-DimTQdAj.js → vue-ui-quadrant-ByY8GP3y.js} +347 -334
  79. package/dist/vue-ui-quadrant-CgApzie6.cjs +1 -0
  80. package/dist/{vue-ui-quick-chart-DxJvENid.js → vue-ui-quick-chart-DTxJ__7j.js} +483 -469
  81. package/dist/vue-ui-quick-chart-DWZEgUJF.cjs +15 -0
  82. package/dist/{vue-ui-radar-D_FieunT.js → vue-ui-radar-5UBmAU6W.js} +202 -189
  83. package/dist/vue-ui-radar-DEED0rTz.cjs +1 -0
  84. package/dist/{vue-ui-rating-BHW2Onru.cjs → vue-ui-rating-Ce_Ewqtl.cjs} +1 -1
  85. package/dist/{vue-ui-rating-DF1BpH4E.js → vue-ui-rating-Dr6jquxh.js} +2 -2
  86. package/dist/vue-ui-relation-circle-BU8i2miI.js +322 -0
  87. package/dist/vue-ui-relation-circle-CRcQ6Zcy.cjs +1 -0
  88. package/dist/{vue-ui-rings-BqS-iece.js → vue-ui-rings-Ctl3Jywh.js} +203 -189
  89. package/dist/vue-ui-rings-OQ8a1Ruw.cjs +2 -0
  90. package/dist/vue-ui-scatter-B8StSjt8.cjs +1 -0
  91. package/dist/{vue-ui-scatter-Dns49Nht.js → vue-ui-scatter-BwJ_koWT.js} +284 -270
  92. package/dist/{vue-ui-screenshot-5Gsnd0Wr.js → vue-ui-screenshot-BS3L5vhN.js} +1 -1
  93. package/dist/{vue-ui-screenshot---q062Kd.cjs → vue-ui-screenshot-bAVk3EPl.cjs} +1 -1
  94. package/dist/{vue-ui-skeleton-fVPw-oIR.cjs → vue-ui-skeleton-CMQzFTs9.cjs} +1 -1
  95. package/dist/{vue-ui-skeleton-B4eWLjH3.js → vue-ui-skeleton-CvFX_ExX.js} +2 -2
  96. package/dist/{vue-ui-smiley-B8Tyunn3.js → vue-ui-smiley-CGYZpNt9.js} +2 -2
  97. package/dist/{vue-ui-smiley-YfHmv0rQ.cjs → vue-ui-smiley-sF8QIso1.cjs} +1 -1
  98. package/dist/vue-ui-spark-trend-B4XSSKl9.js +263 -0
  99. package/dist/vue-ui-spark-trend-CdIoxaqb.cjs +1 -0
  100. package/dist/{vue-ui-sparkbar-9DBvdYn7.js → vue-ui-sparkbar-BbsJGDMZ.js} +95 -87
  101. package/dist/vue-ui-sparkbar-C3i1K7hi.cjs +1 -0
  102. package/dist/vue-ui-sparkgauge-BKyQoI7C.cjs +1 -0
  103. package/dist/vue-ui-sparkgauge-D4w_i_QJ.js +178 -0
  104. package/dist/{vue-ui-sparkhistogram-BBUVmco4.js → vue-ui-sparkhistogram-CYybrW-6.js} +79 -68
  105. package/dist/vue-ui-sparkhistogram-CvTYEmbz.cjs +1 -0
  106. package/dist/vue-ui-sparkline-CDowaDRS.cjs +1 -0
  107. package/dist/{vue-ui-sparkline-CeqNV6Re.js → vue-ui-sparkline-DjN1SVdO.js} +142 -123
  108. package/dist/{vue-ui-sparkstackbar-C3GMC1eW.js → vue-ui-sparkstackbar-BLMhJxaN.js} +120 -104
  109. package/dist/vue-ui-sparkstackbar-BZ2bESBi.cjs +1 -0
  110. package/dist/{vue-ui-stackbar-DyGPrFxi.js → vue-ui-stackbar-BTKOHUYc.js} +235 -222
  111. package/dist/vue-ui-stackbar-DRHaJFR8.cjs +6 -0
  112. package/dist/vue-ui-strip-plot-DxQxFbWg.cjs +1 -0
  113. package/dist/{vue-ui-strip-plot-y1AnVJmq.js → vue-ui-strip-plot-o6GTsGAT.js} +246 -232
  114. package/dist/{vue-ui-table-xWvAQS-s.cjs → vue-ui-table-BFIj1Rgh.cjs} +1 -1
  115. package/dist/{vue-ui-table-B4kfykAO.js → vue-ui-table-CnquiTpr.js} +1 -1
  116. package/dist/vue-ui-table-heatmap-CCGK12Fa.cjs +1 -0
  117. package/dist/{vue-ui-table-heatmap-YZRSzwRM.js → vue-ui-table-heatmap-CZRIwv-Q.js} +106 -95
  118. package/dist/{vue-ui-table-sparkline-C0v2r4Kf.js → vue-ui-table-sparkline-B3zEeq6Z.js} +151 -138
  119. package/dist/vue-ui-table-sparkline-DYmgfHz4.cjs +1 -0
  120. package/dist/{vue-ui-thermometer-D5qurIy7.js → vue-ui-thermometer-BopiohUh.js} +116 -104
  121. package/dist/vue-ui-thermometer-CzPRBt6c.cjs +1 -0
  122. package/dist/vue-ui-timer-Bonw69Lt.cjs +64 -0
  123. package/dist/{vue-ui-timer-VWjovnKL.js → vue-ui-timer-C7WkW8hK.js} +191 -176
  124. package/dist/{vue-ui-tiremarks-jH6cdQOJ.js → vue-ui-tiremarks-BurRtFv4.js} +115 -103
  125. package/dist/vue-ui-tiremarks-DkIGfq8t.cjs +1 -0
  126. package/dist/vue-ui-treemap-CalhJmnp.cjs +1 -0
  127. package/dist/{vue-ui-treemap-BCc5sQLB.js → vue-ui-treemap-DWy4voIr.js} +251 -237
  128. package/dist/{vue-ui-vertical-bar-2In_g5iC.js → vue-ui-vertical-bar-CJW1YhtY.js} +314 -299
  129. package/dist/vue-ui-vertical-bar-rwWp-sai.cjs +4 -0
  130. package/dist/{vue-ui-waffle-OzU830VX.js → vue-ui-waffle-DB7X6nTS.js} +285 -265
  131. package/dist/vue-ui-waffle-faQMBYNx.cjs +1 -0
  132. package/dist/vue-ui-wheel-BzjbGP6a.cjs +1 -0
  133. package/dist/vue-ui-wheel-CryKap2E.js +255 -0
  134. package/dist/vue-ui-word-cloud-COqUkvei.js +512 -0
  135. package/dist/vue-ui-word-cloud-DJN9I4q4.cjs +1 -0
  136. package/dist/vue-ui-xy-BmA0tspd.cjs +3 -0
  137. package/dist/{vue-ui-xy-DuJtYXKl.js → vue-ui-xy-b1Z_HPsx.js} +300 -274
  138. package/dist/{vue-ui-xy-canvas-CKibMJHh.js → vue-ui-xy-canvas-BgbLnY5B.js} +345 -327
  139. package/dist/vue-ui-xy-canvas-DOM2Kq_s.cjs +9 -0
  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,33 +1,33 @@
1
- import { computed as L, ref as c, onMounted as Ue, onBeforeUnmount as Re, watch as Ee, openBlock as u, createElementBlock as n, normalizeClass as P, normalizeStyle as se, createVNode as ue, createCommentVNode as y, createBlock as H, unref as r, createSlots as Ge, withCtx as m, renderSlot as _, normalizeProps as q, guardReactiveProps as J, createElementVNode as b, Fragment as w, renderList as $, toDisplayString as F, createTextVNode as K, nextTick as Ye, pushScopeId as Xe, popScopeId as We } from "vue";
2
- import { u as He, c as qe, t as Je, a as Ke, p as Q, o as Qe, e as O, b as Ze, F as Ce, d as je, m as Ne, f as C, X as et, H as tt, k as A, n as ne, i as R, x as Se, y as lt, q as at, r as ot } from "./index-C8SH0f2u.js";
3
- import { t as st, u as ut } from "./useResponsive-NZB-WLRF.js";
4
- import { _ as nt } from "./Title-DZjnxQdN.js";
5
- import { u as rt, U as it } from "./usePrinter-Dj50NAxo.js";
6
- import { D as dt } from "./DataTable-CKdV-L0e.js";
7
- import { _ as ct } from "./Tooltip--kgFEVZs.js";
8
- import { L as vt } from "./Legend-Cj7T-DqJ.js";
9
- import ht from "./vue-ui-skeleton-B4eWLjH3.js";
10
- import ft from "./vue-ui-accordion-YHleIgkV.js";
11
- import { u as Te } from "./useNestedProp-lS_T5lM3.js";
12
- import { _ as yt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
- const re = (V) => (Xe("data-v-7f596bd8"), V = V(), We(), V), bt = ["id"], pt = ["xmlns", "viewBox"], gt = ["id", "fr"], mt = /* @__PURE__ */ re(() => /* @__PURE__ */ b("stop", {
1
+ import { computed as k, ref as d, watch as Fe, onMounted as Xe, onBeforeUnmount as He, openBlock as s, createElementBlock as n, normalizeClass as P, normalizeStyle as se, createBlock as O, createCommentVNode as y, unref as r, createSlots as We, withCtx as m, renderSlot as $, normalizeProps as q, guardReactiveProps as J, createElementVNode as b, Fragment as w, renderList as L, toDisplayString as F, createVNode as qe, createTextVNode as K, nextTick as Je, pushScopeId as Ke, popScopeId as Qe } from "vue";
2
+ import { u as Ze, c as je, t as et, a as tt, p as Q, o as lt, e as A, b as at, F as Ie, d as ot, m as De, f as C, X as st, H as ut, k as V, n as ue, i as E, x as ze, y as nt, q as rt, r as it } from "./index-CaV1s-yZ.js";
3
+ import { t as dt, u as ct } from "./useResponsive-NZB-WLRF.js";
4
+ import { _ as vt } from "./Title-gUz6GDA3.js";
5
+ import { u as ht, U as ft } from "./usePrinter-rvJyT65A.js";
6
+ import { D as yt } from "./DataTable-e2fnfjXV.js";
7
+ import { _ as pt } from "./Tooltip-DfSM1mNP.js";
8
+ import { L as bt } from "./Legend-5cQ0xZjK.js";
9
+ import gt from "./vue-ui-skeleton-CvFX_ExX.js";
10
+ import mt from "./vue-ui-accordion-CpzGQ63y.js";
11
+ import { u as Pe } from "./useNestedProp-tWCzZrLx.js";
12
+ import { _ as wt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
+ const ne = (M) => (Ke("data-v-7e1c384d"), M = M(), Qe(), M), xt = ["id"], _t = ["xmlns", "viewBox"], kt = ["id", "fr"], $t = /* @__PURE__ */ ne(() => /* @__PURE__ */ b("stop", {
14
14
  offset: "0%",
15
15
  "stop-color": "#FFFFFF",
16
16
  "stop-opacity": "0"
17
- }, null, -1)), wt = ["offset", "stop-opacity"], xt = /* @__PURE__ */ re(() => /* @__PURE__ */ b("stop", {
17
+ }, null, -1)), Lt = ["offset", "stop-opacity"], Ct = /* @__PURE__ */ ne(() => /* @__PURE__ */ b("stop", {
18
18
  offset: "100%",
19
19
  "stop-color": "#FFFFFF",
20
20
  "stop-opacity": "0"
21
- }, null, -1)), kt = ["id"], Lt = ["id"], _t = /* @__PURE__ */ re(() => /* @__PURE__ */ b("feColorMatrix", {
21
+ }, null, -1)), St = ["id"], Nt = ["id"], Tt = /* @__PURE__ */ ne(() => /* @__PURE__ */ b("feColorMatrix", {
22
22
  type: "saturate",
23
23
  values: "0"
24
- }, null, -1)), $t = ["id"], Ct = ["flood-color"], Nt = ["cx", "cy", "r", "fill", "filter"], St = ["d", "fill", "stroke", "stroke-width", "filter"], Tt = { key: 0 }, Ft = ["d", "fill"], It = { key: 1 }, Dt = ["x", "y", "font-size", "font-weight", "fill"], zt = { key: 2 }, Pt = ["filter"], Ot = ["text-anchor", "x", "y", "fill", "font-size", "font-weight"], At = ["text-anchor", "x", "y", "fill", "font-size", "font-weight"], Vt = ["text-anchor", "x", "y", "fill", "font-size", "font-weight"], Mt = ["d", "fill", "onMouseenter", "onClick"], Bt = {
24
+ }, null, -1)), Ft = ["id"], It = ["flood-color"], Dt = ["cx", "cy", "r", "fill", "filter"], zt = ["d", "fill", "stroke", "stroke-width", "filter"], Pt = { key: 0 }, Ot = ["d", "fill"], At = { key: 1 }, Vt = ["x", "y", "font-size", "font-weight", "fill"], Mt = { key: 2 }, Bt = ["filter"], Ut = ["text-anchor", "x", "y", "fill", "font-size", "font-weight"], Rt = ["text-anchor", "x", "y", "fill", "font-size", "font-weight"], Et = ["text-anchor", "x", "y", "fill", "font-size", "font-weight"], Gt = ["d", "fill", "onMouseenter", "onClick"], Yt = {
25
25
  key: 3,
26
26
  class: "vue-data-ui-watermark"
27
- }, Ut = {
27
+ }, Xt = {
28
28
  key: 0,
29
29
  class: "vue-ui-nested-donuts-legend-title"
30
- }, Rt = ["onClick"], Et = ["innerHTML"], Gt = {
30
+ }, Ht = ["onClick"], Wt = ["innerHTML"], qt = {
31
31
  __name: "vue-ui-nested-donuts",
32
32
  props: {
33
33
  config: {
@@ -44,243 +44,253 @@ const re = (V) => (Xe("data-v-7f596bd8"), V = V(), We(), V), bt = ["id"], pt = [
44
44
  }
45
45
  },
46
46
  emits: ["selectLegend", "selectDatapoint"],
47
- setup(V, { expose: Fe, emit: ie }) {
48
- const D = V, { vue_ui_nested_donuts: Ie } = He(), E = L(() => !!D.dataset && D.dataset.length), p = c(qe()), Z = c(!1), j = c(""), De = c(null), de = c(0), M = c(null), ce = c(null), ee = c(null), B = c(!1);
49
- function ze(t) {
50
- B.value = t, de.value += 1;
47
+ setup(M, { expose: Oe, emit: re }) {
48
+ const I = M, { vue_ui_nested_donuts: Ae } = Ze(), G = k(() => !!I.dataset && I.dataset.length), g = d(je()), Z = d(!1), j = d(""), Ve = d(null), ie = d(0), B = d(null), de = d(null), ee = d(null), ce = d(0), ve = d(0), he = d(0), U = d(!1);
49
+ function Me(t) {
50
+ U.value = t, ie.value += 1;
51
51
  }
52
- const e = L(() => {
53
- const t = Te({
54
- userConfig: D.config,
55
- defaultConfig: Ie
52
+ const e = k({
53
+ get: () => fe(),
54
+ set: (t) => t
55
+ });
56
+ function fe() {
57
+ const t = Pe({
58
+ userConfig: I.config,
59
+ defaultConfig: Ae
56
60
  });
57
61
  return t.theme ? {
58
- ...Te({
59
- userConfig: Je.vue_ui_nested_donuts[t.theme] || D.config,
62
+ ...Pe({
63
+ userConfig: et.vue_ui_nested_donuts[t.theme] || I.config,
60
64
  defaultConfig: t
61
65
  }),
62
- customPalette: Ke[t.theme] || Q
66
+ customPalette: tt[t.theme] || Q
63
67
  } : t;
64
- }), G = c(null);
65
- Ue(() => {
66
- if (Qe(D.dataset) && O({
68
+ }
69
+ Fe(() => I.config, (t) => {
70
+ e.value = fe(), ye(), ce.value += 1, ve.value += 1, he.value += 1;
71
+ }, { deep: !0 });
72
+ const Y = d(null);
73
+ Xe(() => {
74
+ ye();
75
+ });
76
+ function ye() {
77
+ if (lt(I.dataset) && A({
67
78
  componentName: "VueUiNestedDonuts",
68
79
  type: "dataset"
69
80
  }), e.value.responsive) {
70
- const t = st(() => {
71
- const { width: s, height: l } = ut({
72
- chart: M.value,
73
- title: e.value.style.chart.title.text ? ce.value : null,
81
+ const t = dt(() => {
82
+ const { width: u, height: a } = ct({
83
+ chart: B.value,
84
+ title: e.value.style.chart.title.text ? de.value : null,
74
85
  legend: e.value.style.chart.legend.show ? ee.value : null
75
86
  });
76
- v.value.width = s, v.value.height = l;
87
+ v.value.width = u, v.value.height = a;
77
88
  });
78
- G.value = new ResizeObserver(t), G.value.observe(M.value.parentNode);
89
+ Y.value = new ResizeObserver(t), Y.value.observe(B.value.parentNode);
79
90
  }
80
- }), Re(() => {
81
- G.value && G.value.disconnect();
91
+ }
92
+ He(() => {
93
+ Y.value && Y.value.disconnect();
82
94
  });
83
- const { isPrinting: ve, isImaging: he, generatePdf: fe, generateImage: ye } = rt({
84
- elementId: `nested_donuts_${p.value}`,
95
+ const { isPrinting: pe, isImaging: be, generatePdf: ge, generateImage: me } = ht({
96
+ elementId: `nested_donuts_${g.value}`,
85
97
  fileName: e.value.style.chart.title.text || "vue-ui-nested-donuts"
86
- }), Pe = L(() => Ze(e.value.customPalette)), x = c({
98
+ }), Be = k(() => at(e.value.customPalette)), x = d({
87
99
  dataLabels: {
88
100
  show: e.value.style.chart.layout.labels.dataLabels.show
89
101
  },
90
102
  showTable: e.value.table.show,
91
103
  showTooltip: e.value.style.chart.tooltip.show
92
- }), v = c({
104
+ }), v = d({
93
105
  height: 512,
94
106
  width: 512
95
107
  });
96
- function Oe({ datapoint: t, index: s }) {
97
- ie("selectDatapoint", { datapoint: t, index: s });
108
+ function Ue({ datapoint: t, index: u }) {
109
+ re("selectDatapoint", { datapoint: t, index: u });
98
110
  }
99
- const f = c([]), N = L(() => (D.dataset.forEach((t, s) => {
100
- [null, void 0].includes(t.name) && O({
111
+ const f = d([]), S = k(() => (I.dataset.forEach((t, u) => {
112
+ [null, void 0].includes(t.name) && A({
101
113
  componentName: "VueUiNestedDonuts",
102
114
  type: "datasetSerieAttribute",
103
115
  property: "name",
104
- index: s
105
- }), [null, void 0].includes(t.series) ? O({
116
+ index: u
117
+ }), [null, void 0].includes(t.series) ? A({
106
118
  componentName: "VueUiNestedDonuts",
107
119
  type: "datasetSerieAttribute",
108
120
  property: "series",
109
- index: s
110
- }) : t.series.length === 0 ? O({
121
+ index: u
122
+ }) : t.series.length === 0 ? A({
111
123
  componentName: "VueUiNestedDonuts",
112
124
  type: "datasetAttributeEmpty",
113
- property: `series at index ${s}`
114
- }) : t.series.forEach((l, a) => {
115
- [null, void 0].includes(l.name) && O({
125
+ property: `series at index ${u}`
126
+ }) : t.series.forEach((a, o) => {
127
+ [null, void 0].includes(a.name) && A({
116
128
  componentName: "VueUiNestedDonuts",
117
129
  type: "datasetSerieAttribute",
118
130
  property: "name",
119
- index: a,
131
+ index: o,
120
132
  key: "serie"
121
- }), [null, void 0].includes(l.values) && O({
133
+ }), [null, void 0].includes(a.values) && A({
122
134
  componentName: "VueUiNestedDonuts",
123
135
  type: "datasetSerieAttribute",
124
136
  property: "values",
125
- index: a,
137
+ index: o,
126
138
  key: "serie"
127
139
  });
128
140
  });
129
- }), D.dataset.map((t, s) => ({
141
+ }), I.dataset.map((t, u) => ({
130
142
  ...t,
131
- total: t.series.filter((l) => !f.value.includes(l.id)).map((l) => Ce(l.values).reduce((a, o) => a + o, 0)).reduce((l, a) => l + a, 0),
132
- datasetIndex: s,
133
- id: `${p.value}_${s}`,
134
- series: t.series.map((l, a) => ({
135
- name: l.name,
143
+ total: t.series.filter((a) => !f.value.includes(a.id)).map((a) => Ie(a.values).reduce((o, l) => o + l, 0)).reduce((a, o) => a + o, 0),
144
+ datasetIndex: u,
145
+ id: `${g.value}_${u}`,
146
+ series: t.series.map((a, o) => ({
147
+ name: a.name,
136
148
  arcOf: t.name,
137
- arcOfId: `${p.value}_${s}`,
138
- id: `${p.value}_${s}_${a}`,
139
- seriesIndex: a,
140
- datasetIndex: s,
141
- color: je(l.color) || Pe.value[a] || Q[a] || Q[a % Q.length],
142
- value: Ce(l.values).reduce((o, i) => o + i, 0),
143
- absoluteValues: l.values || []
149
+ arcOfId: `${g.value}_${u}`,
150
+ id: `${g.value}_${u}_${o}`,
151
+ seriesIndex: o,
152
+ datasetIndex: u,
153
+ color: ot(a.color) || Be.value[o] || Q[o] || Q[o % Q.length],
154
+ value: Ie(a.values).reduce((l, i) => l + i, 0),
155
+ absoluteValues: a.values || []
144
156
  }))
145
- }))));
146
- c(e.value.style.chart.layout.donut.strokeWidth);
147
- const S = L(() => Math.min(v.value.height, v.value.width) * (e.value.style.chart.layout.donut.strokeWidth / 512)), be = L(() => [...N.value].map((t, s) => {
148
- const l = t.series.filter((a) => !f.value.includes(a.id)).map((a) => a.value).reduce((a, o) => a + o, 0);
157
+ })))), N = k(() => Math.min(v.value.height, v.value.width) * (e.value.style.chart.layout.donut.strokeWidth / 512)), we = k(() => [...S.value].map((t, u) => {
158
+ const a = t.series.filter((o) => !f.value.includes(o.id)).map((o) => o.value).reduce((o, l) => o + l, 0);
149
159
  return {
150
160
  ...t,
151
- total: l,
152
- series: t.series.filter((a) => !f.value.includes(a.id)).map((a) => ({
153
- ...a,
154
- proportion: a.value / l
161
+ total: a,
162
+ series: t.series.filter((o) => !f.value.includes(o.id)).map((o) => ({
163
+ ...o,
164
+ proportion: o.value / a
155
165
  }))
156
166
  };
157
167
  }));
158
- function Ae(t, s, l) {
159
- let a = 0;
160
- for (let o = 0; o < t.length; o += 1)
161
- l.includes(t[o]) && (a += 1);
162
- return a < s;
168
+ function Re(t, u, a) {
169
+ let o = 0;
170
+ for (let l = 0; l < t.length; l += 1)
171
+ a.includes(t[l]) && (o += 1);
172
+ return o < u;
163
173
  }
164
- const h = c(be.value);
165
- Ee(() => be.value, (t) => h.value = t);
166
- const pe = c(null), ge = c(null);
174
+ const h = d(we.value);
175
+ Fe(() => we.value, (t) => h.value = t);
176
+ const xe = d(null), _e = d(null);
167
177
  function te(t) {
168
- ie("selectLegend", t);
169
- const s = N.value.flatMap((d) => d.series).find((d) => d.id === t.id), l = h.value.flatMap((d) => d.series).find((d) => d.id === t.id);
170
- let o = l ? l.value : 0;
171
- const i = N.value.find((d) => d.id === s.arcOfId).series.map((d) => d.id), g = Ae(i, i.length - 1, f.value);
178
+ re("selectLegend", t);
179
+ const u = S.value.flatMap((c) => c.series).find((c) => c.id === t.id), a = h.value.flatMap((c) => c.series).find((c) => c.id === t.id);
180
+ let l = a ? a.value : 0;
181
+ const i = S.value.find((c) => c.id === u.arcOfId).series.map((c) => c.id), p = Re(i, i.length - 1, f.value);
172
182
  if (f.value.includes(t.id)) {
173
- let d = function() {
174
- o > s.value ? (cancelAnimationFrame(pe.value), h.value = h.value.map((k) => ({
175
- ...k,
176
- series: k.series.map((T) => T.id == t.id ? {
183
+ let c = function() {
184
+ l > u.value ? (cancelAnimationFrame(xe.value), h.value = h.value.map((_) => ({
185
+ ..._,
186
+ series: _.series.map((T) => T.id == t.id ? {
177
187
  ...T,
178
- value: s.value
188
+ value: u.value
179
189
  } : T)
180
- }))) : (o += s.value * 0.025, h.value = h.value.map((k) => ({
181
- ...k,
182
- series: k.series.map((T) => T.id === t.id ? {
190
+ }))) : (l += u.value * 0.025, h.value = h.value.map((_) => ({
191
+ ..._,
192
+ series: _.series.map((T) => T.id === t.id ? {
183
193
  ...T,
184
- value: o
194
+ value: l
185
195
  } : T)
186
- })), pe.value = requestAnimationFrame(d));
196
+ })), xe.value = requestAnimationFrame(c));
187
197
  };
188
- f.value = f.value.filter((k) => k !== t.id), d();
189
- } else if (g) {
190
- let d = function() {
191
- o < 0.1 ? (cancelAnimationFrame(ge.value), f.value.push(t.id), h.value = h.value.map((k, T) => ({
192
- ...k,
193
- series: k.series.map((z) => z.id === t.id ? {
198
+ f.value = f.value.filter((_) => _ !== t.id), c();
199
+ } else if (p) {
200
+ let c = function() {
201
+ l < 0.1 ? (cancelAnimationFrame(_e.value), f.value.push(t.id), h.value = h.value.map((_, T) => ({
202
+ ..._,
203
+ series: _.series.map((z) => z.id === t.id ? {
194
204
  ...z,
195
205
  value: 0
196
206
  } : z)
197
- }))) : (o /= 1.1, h.value = h.value.map((k, T) => ({
198
- ...k,
199
- series: k.series.map((z) => z.id === t.id ? {
207
+ }))) : (l /= 1.1, h.value = h.value.map((_, T) => ({
208
+ ..._,
209
+ series: _.series.map((z) => z.id === t.id ? {
200
210
  ...z,
201
- value: o
211
+ value: l
202
212
  } : z)
203
- })), ge.value = requestAnimationFrame(d));
213
+ })), _e.value = requestAnimationFrame(c));
204
214
  };
205
- d();
215
+ c();
206
216
  }
207
217
  }
208
- const U = L(() => h.value.map((t, s) => {
209
- const l = s * S.value / N.value.length;
218
+ const R = k(() => h.value.map((t, u) => {
219
+ const a = u * N.value / S.value.length;
210
220
  return {
211
221
  ...t,
212
- radius: S.value - l,
213
- donut: Ne(
222
+ radius: N.value - a,
223
+ donut: De(
214
224
  { series: t.series },
215
225
  v.value.width / 2,
216
226
  v.value.height / 2,
217
- S.value - l,
218
- S.value - l,
227
+ N.value - a,
228
+ N.value - a,
219
229
  1.99999,
220
230
  2,
221
231
  1,
222
232
  360,
223
233
  105.25,
224
- S.value / N.value.length * e.value.style.chart.layout.donut.spacingRatio
234
+ N.value / S.value.length * e.value.style.chart.layout.donut.spacingRatio
225
235
  )
226
236
  };
227
- })), me = L(() => [...N.value].map((t, s) => {
228
- const l = s * S.value / N.value.length;
237
+ })), ke = k(() => [...S.value].map((t, u) => {
238
+ const a = u * N.value / S.value.length;
229
239
  return {
230
- sizeRatio: l,
231
- donut: Ne(
240
+ sizeRatio: a,
241
+ donut: De(
232
242
  { series: [{ value: 1 }] },
233
243
  v.value.width / 2,
234
244
  v.value.height / 2,
235
- S.value - l,
236
- S.value - l,
245
+ N.value - a,
246
+ N.value - a,
237
247
  1.99999,
238
248
  2,
239
249
  1,
240
250
  360,
241
251
  105.25,
242
- S.value / N.value.length * e.value.style.chart.layout.donut.spacingRatio
252
+ N.value / S.value.length * e.value.style.chart.layout.donut.spacingRatio
243
253
  )[0]
244
254
  };
245
- })), we = c(null), Y = c(null), X = c(null), le = c(null);
246
- function Ve({ datapoint: t, _relativeIndex: s, seriesIndex: l }) {
247
- we.value = t.arcOfId, Y.value = t.id, X.value = l, le.value = {
255
+ })), $e = d(null), X = d(null), H = d(null), le = d(null);
256
+ function Ee({ datapoint: t, _relativeIndex: u, seriesIndex: a }) {
257
+ $e.value = t.arcOfId, X.value = t.id, H.value = a, le.value = {
248
258
  datapoint: t,
249
- seriesIndex: l,
259
+ seriesIndex: a,
250
260
  series: h.value,
251
261
  config: e.value
252
262
  };
253
- const a = e.value.style.chart.tooltip.customFormat;
254
- if (Se(a) && lt(() => a({
255
- seriesIndex: l,
263
+ const o = e.value.style.chart.tooltip.customFormat;
264
+ if (ze(o) && nt(() => o({
265
+ seriesIndex: a,
256
266
  datapoint: t,
257
267
  series: h.value,
258
268
  config: e.value
259
269
  })))
260
- j.value = a({
261
- seriesIndex: l,
270
+ j.value = o({
271
+ seriesIndex: a,
262
272
  datapoint: t,
263
273
  series: h.value,
264
274
  config: e.value
265
275
  });
266
276
  else {
267
- let o = "";
277
+ let l = "";
268
278
  if (e.value.style.chart.tooltip.showAllItemsAtIndex && f.value.length === 0) {
269
- const i = h.value.map((g) => g.series.find((d) => d.seriesIndex === l));
270
- i.forEach((g, d) => {
271
- if (!g) return "";
272
- o += `
273
- <div style="display:flex; flex-direction: column; justify-content:flex-start; align-items:flex-start;padding:6px 0; ${d < i.length - 1 ? `border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor}` : ""}">
279
+ const i = h.value.map((p) => p.series.find((c) => c.seriesIndex === a));
280
+ i.forEach((p, c) => {
281
+ if (!p) return "";
282
+ l += `
283
+ <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}` : ""}">
274
284
  <div style="display:flex; flex-direction: row; gap: 3px; justify-content:flex-start; align-items:center;">
275
285
  <svg viewBox="0 0 20 20" height="${e.value.style.chart.tooltip.fontSize}" width="${e.value.style.chart.tooltip.fontSize}">
276
- <circle cx="10" cy="10" r="10" fill="${g.color}"/>
286
+ <circle cx="10" cy="10" r="10" fill="${p.color}"/>
277
287
  </svg>
278
288
  <span>
279
- ${g.arcOf ?? ""} - ${g.name}
289
+ ${p.arcOf ?? ""} - ${p.name}
280
290
  </span>
281
291
  </div>
282
292
  <span>
283
- ${e.value.style.chart.tooltip.showValue ? `<b>${R(
293
+ ${e.value.style.chart.tooltip.showValue ? `<b>${E(
284
294
  e.value.style.chart.layout.labels.dataLabels.formatter,
285
295
  t.value,
286
296
  C({
@@ -289,11 +299,11 @@ const re = (V) => (Xe("data-v-7f596bd8"), V = V(), We(), V), bt = ["id"], pt = [
289
299
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
290
300
  r: e.value.style.chart.tooltip.roundingValue
291
301
  }),
292
- { datapoint: t, seriesIndex: l }
302
+ { datapoint: t, seriesIndex: a }
293
303
  )}
294
304
  </b>` : ""}
295
305
  ${e.value.style.chart.tooltip.showPercentage ? `(${C({
296
- v: g.proportion * 100,
306
+ v: p.proportion * 100,
297
307
  s: "%",
298
308
  r: e.value.style.chart.tooltip.roundingPercentage
299
309
  })})` : ""}
@@ -302,7 +312,7 @@ const re = (V) => (Xe("data-v-7f596bd8"), V = V(), We(), V), bt = ["id"], pt = [
302
312
  `;
303
313
  });
304
314
  } else
305
- o += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${t.arcOf ?? ""} - ${t.name}</div>`, o += `<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 && (o += `<b>${R(
315
+ l += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${t.arcOf ?? ""} - ${t.name}</div>`, l += `<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 && (l += `<b>${E(
306
316
  e.value.style.chart.layout.labels.dataLabels.formatter,
307
317
  t.value,
308
318
  C({
@@ -311,89 +321,89 @@ const re = (V) => (Xe("data-v-7f596bd8"), V = V(), We(), V), bt = ["id"], pt = [
311
321
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
312
322
  r: e.value.style.chart.tooltip.roundingValue
313
323
  }),
314
- { datapoint: t, seriesIndex: l }
315
- )}</b>`), e.value.style.chart.tooltip.showPercentage && (e.value.style.chart.tooltip.showValue ? o += `<span>(${C({
324
+ { datapoint: t, seriesIndex: a }
325
+ )}</b>`), e.value.style.chart.tooltip.showPercentage && (e.value.style.chart.tooltip.showValue ? l += `<span>(${C({
316
326
  v: t.proportion * 100,
317
327
  s: "%",
318
328
  r: e.value.style.chart.tooltip.roundingPercentage
319
- })})</span></div>` : o += `<b>${C({
329
+ })})</span></div>` : l += `<b>${C({
320
330
  v: t.proportion * 100,
321
331
  s: "%",
322
332
  r: e.value.style.chart.tooltip.roundingPercentage
323
333
  })}</b></div>`);
324
- j.value = `<div style="font-size:${e.value.style.chart.tooltip.fontSize}px">${o}</div>`;
334
+ j.value = `<div style="font-size:${e.value.style.chart.tooltip.fontSize}px">${l}</div>`;
325
335
  }
326
336
  Z.value = !0;
327
337
  }
328
338
  function ae(t) {
329
339
  return t.proportion * 100 > e.value.style.chart.layout.labels.dataLabels.hideUnderValue;
330
340
  }
331
- function xe(t, s) {
341
+ function Le(t, u) {
332
342
  if (!e.value.useBlurOnHover)
333
343
  return "";
334
344
  if (e.value.style.chart.tooltip.showAllItemsAtIndex && f.value.length === 0)
335
- return [null, void 0].includes(X.value) || X.value === s ? "" : `url(#blur_${p.value})`;
345
+ return [null, void 0].includes(H.value) || H.value === u ? "" : `url(#blur_${g.value})`;
336
346
  if (!e.value.style.chart.tooltip.showAllItemsAtIndex || f.value.length)
337
- return [null, void 0].includes(Y.value) || Y.value === t.id ? "" : `url(#blur_${p.value})`;
347
+ return [null, void 0].includes(X.value) || X.value === t.id ? "" : `url(#blur_${g.value})`;
338
348
  }
339
- const oe = L(() => N.value.map((t, s) => t.series.map((l, a) => ({
340
- name: l.name,
341
- color: l.color,
342
- value: l.value,
349
+ const oe = k(() => S.value.map((t, u) => t.series.map((a, o) => ({
350
+ name: a.name,
351
+ color: a.color,
352
+ value: a.value,
343
353
  shape: "circle",
344
- arcOf: l.arcOf,
345
- id: l.id,
346
- seriesIndex: a,
347
- datasetIndex: s,
348
- total: t.series.filter((o) => !f.value.includes(o.id)).map((o) => o.value).reduce((o, i) => o + i, 0)
349
- })).map((l) => ({
350
- ...l,
351
- opacity: f.value.includes(l.id) ? 0.5 : 1,
352
- segregate: () => te(l),
353
- isSegregated: f.value.includes(l.id)
354
- })))), Me = L(() => ({
354
+ arcOf: a.arcOf,
355
+ id: a.id,
356
+ seriesIndex: o,
357
+ datasetIndex: u,
358
+ total: t.series.filter((l) => !f.value.includes(l.id)).map((l) => l.value).reduce((l, i) => l + i, 0)
359
+ })).map((a) => ({
360
+ ...a,
361
+ opacity: f.value.includes(a.id) ? 0.5 : 1,
362
+ segregate: () => te(a),
363
+ isSegregated: f.value.includes(a.id)
364
+ })))), Ge = k(() => ({
355
365
  cy: "nested-donuts-legend",
356
366
  backgroundColor: e.value.style.chart.legend.backgroundColor,
357
367
  color: e.value.style.chart.legend.color,
358
368
  fontSize: e.value.style.chart.legend.fontSize,
359
369
  paddingBottom: 12,
360
370
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
361
- })), I = L(() => {
362
- const t = h.value.flatMap((l) => l.series.map((a) => ({
363
- name: `${l.name} - ${a.name}`,
364
- color: a.color,
365
- total: l.total
366
- }))), s = h.value.flatMap((l) => l.series.map((a) => a.value));
367
- return { head: t, body: s };
371
+ })), D = k(() => {
372
+ const t = h.value.flatMap((a) => a.series.map((o) => ({
373
+ name: `${a.name} - ${o.name}`,
374
+ color: o.color,
375
+ total: a.total
376
+ }))), u = h.value.flatMap((a) => a.series.map((o) => o.value));
377
+ return { head: t, body: u };
368
378
  });
369
- function ke() {
370
- Ye(() => {
371
- const t = I.value.head.map((a, o) => [[
372
- a.name
373
- ], [I.value.body[o]], [isNaN(I.value.body[o] / a.total) ? "-" : I.value.body[o] / a.total * 100]]), s = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(t), l = at(s);
374
- ot({ csvContent: l, title: e.value.style.chart.title.text || "vue-ui-nested-donuts" });
379
+ function Ce() {
380
+ Je(() => {
381
+ const t = D.value.head.map((o, l) => [[
382
+ o.name
383
+ ], [D.value.body[l]], [isNaN(D.value.body[l] / o.total) ? "-" : D.value.body[l] / o.total * 100]]), u = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(t), a = rt(u);
384
+ it({ csvContent: a, title: e.value.style.chart.title.text || "vue-ui-nested-donuts" });
375
385
  });
376
386
  }
377
- const W = L(() => {
387
+ const W = k(() => {
378
388
  const t = [
379
389
  e.value.table.columnNames.series,
380
390
  e.value.table.columnNames.value,
381
391
  e.value.table.columnNames.percentage
382
- ], s = I.value.head.map((o, i) => {
383
- const g = C({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: I.value.body[i], s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue });
392
+ ], u = D.value.head.map((l, i) => {
393
+ const p = C({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: D.value.body[i], s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue });
384
394
  return [
385
395
  {
386
- color: o.color,
387
- name: o.name
396
+ color: l.color,
397
+ name: l.name
388
398
  },
389
- g,
390
- isNaN(I.value.body[i] / o.total) ? "-" : C({
391
- v: I.value.body[i] / o.total * 100,
399
+ p,
400
+ isNaN(D.value.body[i] / l.total) ? "-" : C({
401
+ v: D.value.body[i] / l.total * 100,
392
402
  s: "%",
393
403
  r: e.value.table.td.roundingPercentage
394
404
  })
395
405
  ];
396
- }), l = {
406
+ }), a = {
397
407
  th: {
398
408
  backgroundColor: e.value.table.th.backgroundColor,
399
409
  color: e.value.table.th.color,
@@ -413,43 +423,44 @@ const re = (V) => (Xe("data-v-7f596bd8"), V = V(), We(), V), bt = ["id"], pt = [
413
423
  e.value.table.columnNames.percentage
414
424
  ],
415
425
  head: t,
416
- body: s,
417
- config: l
426
+ body: u,
427
+ config: a
418
428
  };
419
429
  });
420
- function Be() {
421
- return N.value;
430
+ function Ye() {
431
+ return S.value;
422
432
  }
423
- function Le() {
433
+ function Se() {
424
434
  x.value.showTable = !x.value.showTable;
425
435
  }
426
- function _e() {
436
+ function Ne() {
427
437
  x.value.dataLabels.show = !x.value.dataLabels.show;
428
438
  }
429
- function $e() {
439
+ function Te() {
430
440
  x.value.showTooltip = !x.value.showTooltip;
431
441
  }
432
- return Fe({
433
- getData: Be,
434
- generatePdf: fe,
435
- generateCsv: ke,
436
- generateImage: ye,
437
- toggleTable: Le,
438
- toggleLabels: _e,
439
- toggleTooltip: $e
440
- }), (t, s) => (u(), n("div", {
442
+ return Oe({
443
+ getData: Ye,
444
+ generatePdf: ge,
445
+ generateCsv: Ce,
446
+ generateImage: me,
447
+ toggleTable: Se,
448
+ toggleLabels: Ne,
449
+ toggleTooltip: Te
450
+ }), (t, u) => (s(), n("div", {
441
451
  ref_key: "nestedDonutsChart",
442
- ref: M,
443
- class: P(`vue-ui-nested-donuts ${B.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
452
+ ref: B,
453
+ class: P(`vue-ui-nested-donuts ${U.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
444
454
  style: se(`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}`),
445
- id: `nested_donuts_${p.value}`
455
+ id: `nested_donuts_${g.value}`
446
456
  }, [
447
- e.value.style.chart.title.text ? (u(), n("div", {
457
+ e.value.style.chart.title.text ? (s(), n("div", {
448
458
  key: 0,
449
459
  ref_key: "chartTitle",
450
- ref: ce
460
+ ref: de
451
461
  }, [
452
- ue(nt, {
462
+ (s(), O(vt, {
463
+ key: `title_${ce.value}`,
453
464
  config: {
454
465
  title: {
455
466
  cy: "donut-div-title",
@@ -460,16 +471,16 @@ const re = (V) => (Xe("data-v-7f596bd8"), V = V(), We(), V), bt = ["id"], pt = [
460
471
  ...e.value.style.chart.title.subtitle
461
472
  }
462
473
  }
463
- }, null, 8, ["config"])
474
+ }, null, 8, ["config"]))
464
475
  ], 512)) : y("", !0),
465
- e.value.userOptions.show && E.value ? (u(), H(it, {
476
+ e.value.userOptions.show && G.value ? (s(), O(ft, {
466
477
  ref: "details",
467
- key: `user_option_${de.value}`,
478
+ key: `user_option_${ie.value}`,
468
479
  backgroundColor: e.value.style.chart.backgroundColor,
469
480
  color: e.value.style.chart.color,
470
- isPrinting: r(ve),
471
- isImaging: r(he),
472
- uid: p.value,
481
+ isPrinting: r(pe),
482
+ isImaging: r(be),
483
+ uid: g.value,
473
484
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
474
485
  hasPdf: e.value.userOptions.buttons.pdf,
475
486
  hasXls: e.value.userOptions.buttons.csv,
@@ -477,95 +488,95 @@ const re = (V) => (Xe("data-v-7f596bd8"), V = V(), We(), V), bt = ["id"], pt = [
477
488
  hasTable: e.value.userOptions.buttons.table,
478
489
  hasLabel: e.value.userOptions.buttons.labels,
479
490
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
480
- isFullscreen: B.value,
491
+ isFullscreen: U.value,
481
492
  isTooltip: x.value.showTooltip,
482
493
  titles: { ...e.value.userOptions.buttonTitles },
483
- chartElement: M.value,
484
- onToggleFullscreen: ze,
485
- onGeneratePdf: r(fe),
486
- onGenerateCsv: ke,
487
- onGenerateImage: r(ye),
488
- onToggleTable: Le,
489
- onToggleLabels: _e,
490
- onToggleTooltip: $e
491
- }, Ge({ _: 2 }, [
494
+ chartElement: B.value,
495
+ onToggleFullscreen: Me,
496
+ onGeneratePdf: r(ge),
497
+ onGenerateCsv: Ce,
498
+ onGenerateImage: r(me),
499
+ onToggleTable: Se,
500
+ onToggleLabels: Ne,
501
+ onToggleTooltip: Te
502
+ }, We({ _: 2 }, [
492
503
  t.$slots.optionTooltip ? {
493
504
  name: "optionTooltip",
494
505
  fn: m(() => [
495
- _(t.$slots, "optionTooltip", {}, void 0, !0)
506
+ $(t.$slots, "optionTooltip", {}, void 0, !0)
496
507
  ]),
497
508
  key: "0"
498
509
  } : void 0,
499
510
  t.$slots.optionPdf ? {
500
511
  name: "optionPdf",
501
512
  fn: m(() => [
502
- _(t.$slots, "optionPdf", {}, void 0, !0)
513
+ $(t.$slots, "optionPdf", {}, void 0, !0)
503
514
  ]),
504
515
  key: "1"
505
516
  } : void 0,
506
517
  t.$slots.optionCsv ? {
507
518
  name: "optionCsv",
508
519
  fn: m(() => [
509
- _(t.$slots, "optionCsv", {}, void 0, !0)
520
+ $(t.$slots, "optionCsv", {}, void 0, !0)
510
521
  ]),
511
522
  key: "2"
512
523
  } : void 0,
513
524
  t.$slots.optionImg ? {
514
525
  name: "optionImg",
515
526
  fn: m(() => [
516
- _(t.$slots, "optionImg", {}, void 0, !0)
527
+ $(t.$slots, "optionImg", {}, void 0, !0)
517
528
  ]),
518
529
  key: "3"
519
530
  } : void 0,
520
531
  t.$slots.optionTable ? {
521
532
  name: "optionTable",
522
533
  fn: m(() => [
523
- _(t.$slots, "optionTable", {}, void 0, !0)
534
+ $(t.$slots, "optionTable", {}, void 0, !0)
524
535
  ]),
525
536
  key: "4"
526
537
  } : void 0,
527
538
  t.$slots.optionLabels ? {
528
539
  name: "optionLabels",
529
540
  fn: m(() => [
530
- _(t.$slots, "optionLabels", {}, void 0, !0)
541
+ $(t.$slots, "optionLabels", {}, void 0, !0)
531
542
  ]),
532
543
  key: "5"
533
544
  } : void 0,
534
545
  t.$slots.optionFullscreen ? {
535
546
  name: "optionFullscreen",
536
- fn: m(({ toggleFullscreen: l, isFullscreen: a }) => [
537
- _(t.$slots, "optionFullscreen", q(J({ toggleFullscreen: l, isFullscreen: a })), void 0, !0)
547
+ fn: m(({ toggleFullscreen: a, isFullscreen: o }) => [
548
+ $(t.$slots, "optionFullscreen", q(J({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
538
549
  ]),
539
550
  key: "6"
540
551
  } : void 0
541
552
  ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) : y("", !0),
542
- E.value ? (u(), n("svg", {
553
+ G.value ? (s(), n("svg", {
543
554
  key: 2,
544
- xmlns: r(et),
545
- class: P({ "vue-data-ui-fullscreen--on": B.value, "vue-data-ui-fulscreen--off": !B.value }),
555
+ xmlns: r(st),
556
+ class: P({ "vue-data-ui-fullscreen--on": U.value, "vue-data-ui-fulscreen--off": !U.value }),
546
557
  viewBox: `0 0 ${v.value.width <= 0 ? 1e-3 : v.value.width} ${v.value.height < 0 ? 1e-3 : v.value.height}`,
547
558
  style: se(`max-width:100%; overflow: visible; background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color}`)
548
559
  }, [
549
560
  b("defs", null, [
550
- (u(!0), n(w, null, $(me.value, (l, a) => (u(), n("radialGradient", {
551
- id: `radial_${p.value}_${a}`,
561
+ (s(!0), n(w, null, L(ke.value, (a, o) => (s(), n("radialGradient", {
562
+ id: `radial_${g.value}_${o}`,
552
563
  cx: "50%",
553
564
  cy: "50%",
554
565
  r: "50%",
555
- fr: 30 - 1 * (a + 1) + "%"
566
+ fr: 30 - 1 * (o + 1) + "%"
556
567
  }, [
557
- mt,
568
+ $t,
558
569
  b("stop", {
559
- offset: 70 - 20 * a + "%",
570
+ offset: 70 - 20 * o + "%",
560
571
  "stop-color": "#FFFFFF",
561
572
  "stop-opacity": e.value.style.chart.gradientIntensity / 100
562
- }, null, 8, wt),
563
- xt
564
- ], 8, gt))), 256))
573
+ }, null, 8, Lt),
574
+ Ct
575
+ ], 8, kt))), 256))
565
576
  ]),
566
577
  b("defs", null, [
567
578
  b("filter", {
568
- id: `blur_${p.value}`,
579
+ id: `blur_${g.value}`,
569
580
  x: "-50%",
570
581
  y: "-50%",
571
582
  width: "200%",
@@ -574,12 +585,12 @@ const re = (V) => (Xe("data-v-7f596bd8"), V = V(), We(), V), bt = ["id"], pt = [
574
585
  b("feGaussianBlur", {
575
586
  in: "SourceGraphic",
576
587
  stdDeviation: 2,
577
- id: `blur_std_${p.value}`
578
- }, null, 8, Lt),
579
- _t
580
- ], 8, kt),
588
+ id: `blur_std_${g.value}`
589
+ }, null, 8, Nt),
590
+ Tt
591
+ ], 8, St),
581
592
  b("filter", {
582
- id: `shadow_${p.value}`,
593
+ id: `shadow_${g.value}`,
583
594
  "color-interpolation-filters": "sRGB"
584
595
  }, [
585
596
  b("feDropShadow", {
@@ -588,136 +599,136 @@ const re = (V) => (Xe("data-v-7f596bd8"), V = V(), We(), V), bt = ["id"], pt = [
588
599
  stdDeviation: "10",
589
600
  "flood-opacity": "0.5",
590
601
  "flood-color": e.value.style.chart.layout.donut.shadowColor
591
- }, null, 8, Ct)
592
- ], 8, $t)
602
+ }, null, 8, It)
603
+ ], 8, Ft)
593
604
  ]),
594
- (u(!0), n(w, null, $(U.value, (l) => (u(), n("circle", {
605
+ (s(!0), n(w, null, L(R.value, (a) => (s(), n("circle", {
595
606
  cx: v.value.width / 2,
596
607
  cy: v.value.height / 2,
597
- r: l.radius < 0 ? 1e-5 : l.radius,
608
+ r: a.radius < 0 ? 1e-5 : a.radius,
598
609
  fill: e.value.style.chart.backgroundColor,
599
- filter: e.value.style.chart.layout.donut.useShadow ? `url(#shadow_${p.value})` : ""
600
- }, null, 8, Nt))), 256)),
601
- (u(!0), n(w, null, $(U.value, (l, a) => (u(), n("g", null, [
602
- (u(!0), n(w, null, $(l.donut, (o, i) => (u(), n("g", null, [
610
+ filter: e.value.style.chart.layout.donut.useShadow ? `url(#shadow_${g.value})` : ""
611
+ }, null, 8, Dt))), 256)),
612
+ (s(!0), n(w, null, L(R.value, (a, o) => (s(), n("g", null, [
613
+ (s(!0), n(w, null, L(a.donut, (l, i) => (s(), n("g", null, [
603
614
  b("path", {
604
615
  class: "vue-ui-donut-arc-path",
605
- d: o.arcSlice,
606
- fill: `${o.color}CC`,
616
+ d: l.arcSlice,
617
+ fill: `${l.color}CC`,
607
618
  stroke: e.value.style.chart.backgroundColor,
608
619
  "stroke-width": e.value.style.chart.layout.donut.borderWidth,
609
- filter: xe(o, i)
610
- }, null, 8, St)
620
+ filter: Le(l, i)
621
+ }, null, 8, zt)
611
622
  ]))), 256))
612
623
  ]))), 256)),
613
- e.value.style.chart.useGradient ? (u(), n("g", Tt, [
614
- (u(!0), n(w, null, $(me.value, (l, a) => (u(), n("g", null, [
624
+ e.value.style.chart.useGradient ? (s(), n("g", Pt, [
625
+ (s(!0), n(w, null, L(ke.value, (a, o) => (s(), n("g", null, [
615
626
  b("path", {
616
- d: l.donut.arcSlice,
617
- fill: `url(#radial_${p.value}_${a})`,
627
+ d: a.donut.arcSlice,
628
+ fill: `url(#radial_${g.value}_${o})`,
618
629
  stroke: "transparent",
619
630
  "stroke-width": "0"
620
- }, null, 8, Ft)
631
+ }, null, 8, Ot)
621
632
  ]))), 256))
622
633
  ])) : y("", !0),
623
- e.value.style.chart.layout.labels.dataLabels.showDonutName ? (u(), n("g", It, [
624
- (u(!0), n(w, null, $(U.value, (l, a) => (u(), n("g", null, [
625
- (u(!0), n(w, null, $(l.donut, (o, i) => (u(), n("g", null, [
626
- i === 0 && v.value.width && v.value.height ? (u(), n("text", {
634
+ e.value.style.chart.layout.labels.dataLabels.showDonutName ? (s(), n("g", At, [
635
+ (s(!0), n(w, null, L(R.value, (a, o) => (s(), n("g", null, [
636
+ (s(!0), n(w, null, L(a.donut, (l, i) => (s(), n("g", null, [
637
+ i === 0 && v.value.width && v.value.height ? (s(), n("text", {
627
638
  key: 0,
628
639
  class: P({ animated: e.value.useCssAnimation }),
629
640
  x: v.value.width / 2,
630
- y: o.startY - e.value.style.chart.layout.labels.dataLabels.fontSize + e.value.style.chart.layout.labels.dataLabels.donutNameOffsetY,
641
+ y: l.startY - e.value.style.chart.layout.labels.dataLabels.fontSize + e.value.style.chart.layout.labels.dataLabels.donutNameOffsetY,
631
642
  "text-anchor": "middle",
632
643
  "font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
633
644
  "font-weight": e.value.style.chart.layout.labels.dataLabels.boldDonutName ? "bold" : "normal",
634
645
  fill: e.value.style.chart.layout.labels.dataLabels.color
635
- }, F(e.value.style.chart.layout.labels.dataLabels.donutNameAbbreviation ? r(tt)({ source: l.name, length: e.value.style.chart.layout.labels.dataLabels.donutNameMaxAbbreviationSize }) : l.name), 11, Dt)) : y("", !0)
646
+ }, F(e.value.style.chart.layout.labels.dataLabels.donutNameAbbreviation ? r(ut)({ source: a.name, length: e.value.style.chart.layout.labels.dataLabels.donutNameMaxAbbreviationSize }) : a.name), 11, Vt)) : y("", !0)
636
647
  ]))), 256))
637
648
  ]))), 256))
638
649
  ])) : y("", !0),
639
- e.value.style.chart.layout.labels.dataLabels.show ? (u(), n("g", zt, [
640
- (u(!0), n(w, null, $(U.value, (l, a) => (u(), n("g", null, [
641
- (u(!0), n(w, null, $(l.donut, (o, i) => (u(), n("g", {
642
- filter: xe(o, i)
650
+ e.value.style.chart.layout.labels.dataLabels.show ? (s(), n("g", Mt, [
651
+ (s(!0), n(w, null, L(R.value, (a, o) => (s(), n("g", null, [
652
+ (s(!0), n(w, null, L(a.donut, (l, i) => (s(), n("g", {
653
+ filter: Le(l, i)
643
654
  }, [
644
- ae(o) && x.value.dataLabels.show && e.value.style.chart.layout.labels.dataLabels.showPercentage ? (u(), n("text", {
655
+ ae(l) && x.value.dataLabels.show && e.value.style.chart.layout.labels.dataLabels.showPercentage ? (s(), n("text", {
645
656
  key: 0,
646
657
  class: P({ animated: e.value.useCssAnimation }),
647
- "text-anchor": r(A)(o, !0).anchor,
648
- x: r(A)(o, !1, e.value.style.chart.layout.labels.dataLabels.offsetX).x || 0,
649
- y: r(ne)(o, e.value.style.chart.layout.labels.dataLabels.offsetY, e.value.style.chart.layout.labels.dataLabels.offsetY),
650
- fill: e.value.style.chart.layout.labels.dataLabels.useSerieColor ? o.color : e.value.style.chart.layout.labels.dataLabels.color,
658
+ "text-anchor": r(V)(l, !0).anchor,
659
+ x: r(V)(l, !1, e.value.style.chart.layout.labels.dataLabels.offsetX).x || 0,
660
+ y: r(ue)(l, e.value.style.chart.layout.labels.dataLabels.offsetY, e.value.style.chart.layout.labels.dataLabels.offsetY),
661
+ fill: e.value.style.chart.layout.labels.dataLabels.useSerieColor ? l.color : e.value.style.chart.layout.labels.dataLabels.color,
651
662
  "font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
652
663
  "font-weight": e.value.style.chart.layout.labels.dataLabels.boldPercentage ? "bold" : "normal"
653
- }, F(r(C)({ v: o.proportion * 100, s: "%", r: e.value.style.chart.layout.labels.dataLabels.roundingPercentage })), 11, Ot)) : y("", !0),
654
- ae(o) && x.value.dataLabels.show && e.value.style.chart.layout.labels.dataLabels.showPercentage && e.value.style.chart.layout.labels.dataLabels.showValue ? (u(), n("text", {
664
+ }, F(r(C)({ v: l.proportion * 100, s: "%", r: e.value.style.chart.layout.labels.dataLabels.roundingPercentage })), 11, Ut)) : y("", !0),
665
+ ae(l) && x.value.dataLabels.show && e.value.style.chart.layout.labels.dataLabels.showPercentage && e.value.style.chart.layout.labels.dataLabels.showValue ? (s(), n("text", {
655
666
  key: 1,
656
667
  class: P({ animated: e.value.useCssAnimation }),
657
- "text-anchor": r(A)(o, !0).anchor,
658
- x: r(A)(o, !1, e.value.style.chart.layout.labels.dataLabels.offsetX).x || 0,
659
- y: r(ne)(o, e.value.style.chart.layout.labels.dataLabels.offsetY, e.value.style.chart.layout.labels.dataLabels.offsetY) + e.value.style.chart.layout.labels.dataLabels.fontSize,
660
- fill: e.value.style.chart.layout.labels.dataLabels.useSerieColor ? o.color : e.value.style.chart.layout.labels.dataLabels.color,
668
+ "text-anchor": r(V)(l, !0).anchor,
669
+ x: r(V)(l, !1, e.value.style.chart.layout.labels.dataLabels.offsetX).x || 0,
670
+ y: r(ue)(l, e.value.style.chart.layout.labels.dataLabels.offsetY, e.value.style.chart.layout.labels.dataLabels.offsetY) + e.value.style.chart.layout.labels.dataLabels.fontSize,
671
+ fill: e.value.style.chart.layout.labels.dataLabels.useSerieColor ? l.color : e.value.style.chart.layout.labels.dataLabels.color,
661
672
  "font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
662
673
  "font-weight": e.value.style.chart.layout.labels.dataLabels.boldValue ? "bold" : "normal"
663
- }, " (" + F(r(R)(
674
+ }, " (" + F(r(E)(
664
675
  e.value.style.chart.layout.labels.dataLabels.formatter,
665
- o.value,
676
+ l.value,
666
677
  r(C)({
667
678
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
668
- v: o.value,
679
+ v: l.value,
669
680
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
670
681
  r: e.value.style.chart.layout.labels.dataLabels.roundingValue
671
682
  }),
672
- { datapoint: o, seriesIndex: a, datapointIndex: i }
673
- )) + ") ", 11, At)) : y("", !0),
674
- ae(o) && x.value.dataLabels.show && !e.value.style.chart.layout.labels.dataLabels.showPercentage && e.value.style.chart.layout.labels.dataLabels.showValue ? (u(), n("text", {
683
+ { datapoint: l, seriesIndex: o, datapointIndex: i }
684
+ )) + ") ", 11, Rt)) : y("", !0),
685
+ ae(l) && x.value.dataLabels.show && !e.value.style.chart.layout.labels.dataLabels.showPercentage && e.value.style.chart.layout.labels.dataLabels.showValue ? (s(), n("text", {
675
686
  key: 2,
676
687
  class: P({ animated: e.value.useCssAnimation }),
677
- "text-anchor": r(A)(o, !0).anchor,
678
- x: r(A)(o, !1, e.value.style.chart.layout.labels.dataLabels.offsetX).x || 0,
679
- y: r(ne)(o, e.value.style.chart.layout.labels.dataLabels.offsetY, e.value.style.chart.layout.labels.dataLabels.offsetY),
680
- fill: e.value.style.chart.layout.labels.dataLabels.useSerieColor ? o.color : e.value.style.chart.layout.labels.dataLabels.color,
688
+ "text-anchor": r(V)(l, !0).anchor,
689
+ x: r(V)(l, !1, e.value.style.chart.layout.labels.dataLabels.offsetX).x || 0,
690
+ y: r(ue)(l, e.value.style.chart.layout.labels.dataLabels.offsetY, e.value.style.chart.layout.labels.dataLabels.offsetY),
691
+ fill: e.value.style.chart.layout.labels.dataLabels.useSerieColor ? l.color : e.value.style.chart.layout.labels.dataLabels.color,
681
692
  "font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
682
693
  "font-weight": e.value.style.chart.layout.labels.dataLabels.boldValue ? "bold" : "normal"
683
- }, F(r(R)(
694
+ }, F(r(E)(
684
695
  e.value.style.chart.layout.labels.dataLabels.formatter,
685
- o.value,
696
+ l.value,
686
697
  r(C)({
687
698
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
688
- v: o.value,
699
+ v: l.value,
689
700
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
690
701
  r: e.value.style.chart.layout.labels.dataLabels.roundingValue
691
702
  }),
692
- { datapoint: o, seriesIndex: a, datapointIndex: i }
693
- )), 11, Vt)) : y("", !0)
694
- ], 8, Pt))), 256))
703
+ { datapoint: l, seriesIndex: o, datapointIndex: i }
704
+ )), 11, Et)) : y("", !0)
705
+ ], 8, Bt))), 256))
695
706
  ]))), 256))
696
707
  ])) : y("", !0),
697
- (u(!0), n(w, null, $(U.value, (l, a) => (u(), n("g", null, [
698
- (u(!0), n(w, null, $(l.donut, (o, i) => (u(), n("g", null, [
708
+ (s(!0), n(w, null, L(R.value, (a, o) => (s(), n("g", null, [
709
+ (s(!0), n(w, null, L(a.donut, (l, i) => (s(), n("g", null, [
699
710
  b("path", {
700
711
  "data-cy-donut-trap": "",
701
- d: o.arcSlice,
702
- fill: De.value === a ? "rgba(0,0,0,0.1)" : "transparent",
703
- onMouseenter: (g) => Ve({
704
- datapoint: o,
705
- relativeIndex: a,
706
- seriesIndex: o.seriesIndex
712
+ d: l.arcSlice,
713
+ fill: Ve.value === o ? "rgba(0,0,0,0.1)" : "transparent",
714
+ onMouseenter: (p) => Ee({
715
+ datapoint: l,
716
+ relativeIndex: o,
717
+ seriesIndex: l.seriesIndex
707
718
  }),
708
- onClick: (g) => Oe({ datapoint: o, index: i }),
709
- onMouseleave: s[0] || (s[0] = (g) => {
710
- Z.value = !1, we.value = null, Y.value = null, X.value = null;
719
+ onClick: (p) => Ue({ datapoint: l, index: i }),
720
+ onMouseleave: u[0] || (u[0] = (p) => {
721
+ Z.value = !1, $e.value = null, X.value = null, H.value = null;
711
722
  })
712
- }, null, 40, Mt)
723
+ }, null, 40, Gt)
713
724
  ]))), 256))
714
725
  ]))), 256)),
715
- _(t.$slots, "svg", { svg: v.value }, void 0, !0)
716
- ], 14, pt)) : y("", !0),
717
- t.$slots.watermark ? (u(), n("div", Bt, [
718
- _(t.$slots, "watermark", q(J({ isPrinting: r(ve) || r(he) })), void 0, !0)
726
+ $(t.$slots, "svg", { svg: v.value }, void 0, !0)
727
+ ], 14, _t)) : y("", !0),
728
+ t.$slots.watermark ? (s(), n("div", Yt, [
729
+ $(t.$slots, "watermark", q(J({ isPrinting: r(pe) || r(be) })), void 0, !0)
719
730
  ])) : y("", !0),
720
- E.value ? y("", !0) : (u(), H(ht, {
731
+ G.value ? y("", !0) : (s(), O(gt, {
721
732
  key: 4,
722
733
  config: {
723
734
  type: "donut",
@@ -729,7 +740,7 @@ const re = (V) => (Xe("data-v-7f596bd8"), V = V(), We(), V), bt = ["id"], pt = [
729
740
  }
730
741
  }
731
742
  }, null, 8, ["config"])),
732
- ue(ct, {
743
+ qe(pt, {
733
744
  show: x.value.showTooltip && Z.value,
734
745
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
735
746
  color: e.value.style.chart.tooltip.color,
@@ -740,66 +751,67 @@ const re = (V) => (Xe("data-v-7f596bd8"), V = V(), We(), V), bt = ["id"], pt = [
740
751
  backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
741
752
  position: e.value.style.chart.tooltip.position,
742
753
  offsetY: e.value.style.chart.tooltip.offsetY,
743
- parent: M.value,
754
+ parent: B.value,
744
755
  content: j.value,
745
- isCustom: r(Se)(e.value.style.chart.tooltip.customFormat)
756
+ isCustom: r(ze)(e.value.style.chart.tooltip.customFormat)
746
757
  }, {
747
758
  "tooltip-before": m(() => [
748
- _(t.$slots, "tooltip-before", q(J({ ...le.value })), void 0, !0)
759
+ $(t.$slots, "tooltip-before", q(J({ ...le.value })), void 0, !0)
749
760
  ]),
750
761
  "tooltip-after": m(() => [
751
- _(t.$slots, "tooltip-after", q(J({ ...le.value })), void 0, !0)
762
+ $(t.$slots, "tooltip-after", q(J({ ...le.value })), void 0, !0)
752
763
  ]),
753
764
  _: 3
754
765
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
755
- e.value.style.chart.legend.show ? (u(), n("div", {
766
+ e.value.style.chart.legend.show ? (s(), n("div", {
756
767
  key: 5,
757
768
  ref_key: "chartLegend",
758
769
  ref: ee,
759
770
  class: P({ "vue-ui-nested-donuts-legend": oe.value.length > 1 })
760
771
  }, [
761
- (u(!0), n(w, null, $(oe.value, (l) => (u(), H(vt, {
762
- legendSet: l,
763
- config: Me.value,
764
- onClickMarker: s[1] || (s[1] = ({ legend: a }) => te(a))
772
+ (s(!0), n(w, null, L(oe.value, (a, o) => (s(), O(bt, {
773
+ key: `legend_${o}_${he.value}`,
774
+ legendSet: a,
775
+ config: Ge.value,
776
+ onClickMarker: u[1] || (u[1] = ({ legend: l }) => te(l))
765
777
  }, {
766
- legendTitle: m(({ titleSet: a }) => [
767
- a[0] && a[0].arcOf ? (u(), n("div", Ut, F(a[0].arcOf), 1)) : y("", !0)
778
+ legendTitle: m(({ titleSet: l }) => [
779
+ l[0] && l[0].arcOf ? (s(), n("div", Xt, F(l[0].arcOf), 1)) : y("", !0)
768
780
  ]),
769
- item: m(({ legend: a, index: o }) => [
781
+ item: m(({ legend: l, index: i }) => [
770
782
  b("div", {
771
- onClick: (i) => te(a),
772
- style: se(`opacity:${f.value.includes(a.id) ? 0.5 : 1}`)
783
+ onClick: (p) => te(l),
784
+ style: se(`opacity:${f.value.includes(l.id) ? 0.5 : 1}`)
773
785
  }, [
774
- K(F(a.name) + ": " + F(r(R)(
786
+ K(F(l.name) + ": " + F(r(E)(
775
787
  e.value.style.chart.layout.labels.dataLabels.formatter,
776
- a.value,
788
+ l.value,
777
789
  r(C)({
778
790
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
779
- v: a.value,
791
+ v: l.value,
780
792
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
781
793
  r: e.value.style.chart.legend.roundingValue
782
794
  }),
783
- { datapoint: a, seriesIndex: o }
795
+ { datapoint: l, seriesIndex: i }
784
796
  )) + " ", 1),
785
- f.value.includes(a.id) ? (u(), n(w, { key: 1 }, [
797
+ f.value.includes(l.id) ? (s(), n(w, { key: 1 }, [
786
798
  K(" ( - % ) ")
787
- ], 64)) : (u(), n(w, { key: 0 }, [
788
- K(" (" + F(isNaN(a.value / a.total) ? "-" : r(C)({ v: a.value / a.total * 100, s: "%", r: e.value.style.chart.legend.roundingPercentage })) + ") ", 1)
799
+ ], 64)) : (s(), n(w, { key: 0 }, [
800
+ K(" (" + F(isNaN(l.value / l.total) ? "-" : r(C)({ v: l.value / l.total * 100, s: "%", r: e.value.style.chart.legend.roundingPercentage })) + ") ", 1)
789
801
  ], 64))
790
- ], 12, Rt)
802
+ ], 12, Ht)
791
803
  ]),
792
804
  _: 2
793
- }, 1032, ["legendSet", "config"]))), 256))
805
+ }, 1032, ["legendSet", "config"]))), 128))
794
806
  ], 2)) : y("", !0),
795
- e.value.style.chart.legend.show ? y("", !0) : (u(), n("div", {
807
+ e.value.style.chart.legend.show ? y("", !0) : (s(), n("div", {
796
808
  key: 6,
797
809
  ref_key: "chartLegend",
798
810
  ref: ee
799
811
  }, [
800
- _(t.$slots, "legend", { legend: oe.value }, void 0, !0)
812
+ $(t.$slots, "legend", { legend: oe.value }, void 0, !0)
801
813
  ], 512)),
802
- E.value ? (u(), H(ft, {
814
+ G.value ? (s(), O(mt, {
803
815
  key: 7,
804
816
  hideDetails: "",
805
817
  config: {
@@ -816,31 +828,32 @@ const re = (V) => (Xe("data-v-7f596bd8"), V = V(), We(), V), bt = ["id"], pt = [
816
828
  }
817
829
  }, {
818
830
  content: m(() => [
819
- ue(dt, {
831
+ (s(), O(yt, {
832
+ key: `table_${ve.value}`,
820
833
  colNames: W.value.colNames,
821
834
  head: W.value.head,
822
835
  body: W.value.body,
823
836
  config: W.value.config,
824
837
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
825
- onClose: s[2] || (s[2] = (l) => x.value.showTable = !1)
838
+ onClose: u[2] || (u[2] = (a) => x.value.showTable = !1)
826
839
  }, {
827
- th: m(({ th: l }) => [
840
+ th: m(({ th: a }) => [
828
841
  b("div", {
829
- innerHTML: l,
842
+ innerHTML: a,
830
843
  style: { display: "flex", "align-items": "center" }
831
- }, null, 8, Et)
844
+ }, null, 8, Wt)
832
845
  ]),
833
- td: m(({ td: l }) => [
834
- K(F(l.name || l), 1)
846
+ td: m(({ td: a }) => [
847
+ K(F(a.name || a), 1)
835
848
  ]),
836
849
  _: 1
837
- }, 8, ["colNames", "head", "body", "config", "title"])
850
+ }, 8, ["colNames", "head", "body", "config", "title"]))
838
851
  ]),
839
852
  _: 1
840
853
  }, 8, ["config"])) : y("", !0)
841
- ], 14, bt));
854
+ ], 14, xt));
842
855
  }
843
- }, ll = /* @__PURE__ */ yt(Gt, [["__scopeId", "data-v-7f596bd8"]]);
856
+ }, nl = /* @__PURE__ */ wt(qt, [["__scopeId", "data-v-7e1c384d"]]);
844
857
  export {
845
- ll as default
858
+ nl as default
846
859
  };