vue-data-ui 2.4.49 → 2.4.51

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 (199) hide show
  1. package/README.md +12 -0
  2. package/dist/{Arrow-CTukks_V.cjs → Arrow-2a_SwBgz.cjs} +1 -1
  3. package/dist/{Arrow-Q0cOmO5p.js → Arrow-BUz63pb2.js} +1 -1
  4. package/dist/{BaseIcon-2ZD3jgGz.cjs → BaseIcon-BASl_NFX.cjs} +1 -1
  5. package/dist/{BaseIcon-CaYP30Aq.js → BaseIcon-CmiukQBl.js} +1 -1
  6. package/dist/{DataTable-CO5C8Cmb.js → DataTable-DGf6RrOJ.js} +2 -2
  7. package/dist/{DataTable-kMUhutQ4.cjs → DataTable-G3ICK-5h.cjs} +1 -1
  8. package/dist/{Legend-FZN9UHoI.js → Legend-BLaZxMge.js} +1 -1
  9. package/dist/{Legend-DPHcmrzd.cjs → Legend-BiuPlEMg.cjs} +1 -1
  10. package/dist/{PackageVersion-rnWHRWGI.cjs → PackageVersion-Bj34UNnQ.cjs} +1 -1
  11. package/dist/{PackageVersion-DYk2hOG1.js → PackageVersion-CxJghxYD.js} +1 -1
  12. package/dist/{PenAndPaper-BQl9-uX0.cjs → PenAndPaper-D9yQnc0e.cjs} +1 -1
  13. package/dist/{PenAndPaper-BfgS_5ux.js → PenAndPaper-ZdZEumki.js} +3 -3
  14. package/dist/{Shape-BqkMzXqo.js → Shape-DIKzzpFm.js} +1 -1
  15. package/dist/{Shape-BblkpCyL.cjs → Shape-yducHWd0.cjs} +1 -1
  16. package/dist/{Slicer-yEeqKUDF.cjs → Slicer-BHS9W4MJ.cjs} +1 -1
  17. package/dist/{Slicer-DlgqsI5C.js → Slicer-Cxdl3cDt.js} +2 -2
  18. package/dist/{Title-5Vedk01J.cjs → Title-Bk_55doC.cjs} +1 -1
  19. package/dist/{Title-DED-PQ7X.js → Title-aSAft5dl.js} +1 -1
  20. package/dist/{Tooltip-DjCKBAC4.cjs → Tooltip-G7ENx87_.cjs} +1 -1
  21. package/dist/{Tooltip-CHseiJu8.js → Tooltip-smutPF--.js} +1 -1
  22. package/dist/{index-igxqCP2w.js → index-BbPeL8Gp.js} +5 -1
  23. package/dist/index-DhDYBLBe.cjs +9 -0
  24. package/dist/style.css +1 -1
  25. package/dist/types/vue-data-ui.d.cts +5 -1
  26. package/dist/types/vue-data-ui.d.ts +5 -1
  27. package/dist/{useNestedProp-CSVnZVwZ.js → useNestedProp-BN8claGG.js} +1 -1
  28. package/dist/{useNestedProp-CwpqC_aE.cjs → useNestedProp-BphUExEh.cjs} +1 -1
  29. package/dist/{usePrinter-DVgxBO4o.cjs → usePrinter-2_QjJFdH.cjs} +1 -1
  30. package/dist/{usePrinter-CnZYDQXB.js → usePrinter-DaybDVqP.js} +1 -1
  31. package/dist/useUserOptionState-BIvW1Kz7.js +17 -0
  32. package/dist/useUserOptionState-BgepsfED.cjs +1 -0
  33. package/dist/{vue-data-ui-BrRTkOqu.cjs → vue-data-ui-C5vsHRHD.cjs} +1 -1
  34. package/dist/{vue-data-ui-B--WWkUM.js → vue-data-ui-Ckbp-yIf.js} +60 -60
  35. package/dist/vue-data-ui.cjs +1 -1
  36. package/dist/vue-data-ui.js +1 -1
  37. package/dist/vue-ui-3d-bar-DUgumRsg.cjs +19 -0
  38. package/dist/{vue-ui-3d-bar-OzzLYbUl.js → vue-ui-3d-bar-wDYs3sVe.js} +345 -339
  39. package/dist/{vue-ui-accordion-lF7yVkiT.js → vue-ui-accordion-5d5iVpr7.js} +3 -3
  40. package/dist/{vue-ui-accordion-CRVWlHxs.cjs → vue-ui-accordion-B7tNzRWB.cjs} +1 -1
  41. package/dist/{vue-ui-age-pyramid-5Vj8AtW1.js → vue-ui-age-pyramid-BH1khaaq.js} +260 -254
  42. package/dist/vue-ui-age-pyramid-Dxx1mVwR.cjs +1 -0
  43. package/dist/{vue-ui-annotator-BmO78L3H.js → vue-ui-annotator-B9VKE_qz.js} +1 -1
  44. package/dist/{vue-ui-annotator-D8Hx1BFF.cjs → vue-ui-annotator-jXkB5XnD.cjs} +1 -1
  45. package/dist/{vue-ui-bullet-DwFD41hN.js → vue-ui-bullet-BLi9CSZw.js} +152 -146
  46. package/dist/vue-ui-bullet-QrXtipbT.cjs +34 -0
  47. package/dist/{vue-ui-candlestick-By609gwn.js → vue-ui-candlestick-Bjz1uFbv.js} +223 -217
  48. package/dist/vue-ui-candlestick-Da4ygGXR.cjs +2 -0
  49. package/dist/{vue-ui-carousel-table-wwMoteEN.js → vue-ui-carousel-table-B6zgTL-W.js} +160 -154
  50. package/dist/vue-ui-carousel-table-Cfif8Oiz.cjs +1 -0
  51. package/dist/vue-ui-chestnut-C_N7EbjQ.cjs +6 -0
  52. package/dist/{vue-ui-chestnut-hqorA5EW.js → vue-ui-chestnut-D5HpkuIa.js} +237 -231
  53. package/dist/{vue-ui-cursor-BCg5VZUb.cjs → vue-ui-cursor-A_siHYBc.cjs} +1 -1
  54. package/dist/{vue-ui-cursor-GSkn7N7Z.js → vue-ui-cursor-DZNIbvR2.js} +2 -2
  55. package/dist/{vue-ui-dashboard-Bkm9bcAc.cjs → vue-ui-dashboard-BfPJyiY9.cjs} +1 -1
  56. package/dist/{vue-ui-dashboard-DIoYWyXB.js → vue-ui-dashboard-DCqe4BZg.js} +2 -2
  57. package/dist/{vue-ui-digits-niqTltAv.js → vue-ui-digits-BEWCnojc.js} +2 -2
  58. package/dist/{vue-ui-digits-CpBBTAI9.cjs → vue-ui-digits-BEhLa3jI.cjs} +1 -1
  59. package/dist/vue-ui-donut-By3QRfkV.cjs +1 -0
  60. package/dist/{vue-ui-donut-evolution-XQp6R0e_.js → vue-ui-donut-evolution-Cu6dmlT2.js} +300 -294
  61. package/dist/vue-ui-donut-evolution-DEABWsj0.cjs +1 -0
  62. package/dist/{vue-ui-donut-DfufBrkk.js → vue-ui-donut-g5ZLhYPx.js} +376 -370
  63. package/dist/vue-ui-dumbbell-Dfb1l5qP.cjs +9 -0
  64. package/dist/{vue-ui-dumbbell-DSS8sHHU.js → vue-ui-dumbbell-bb4-Ep6o.js} +256 -250
  65. package/dist/vue-ui-flow-CCvTnu7z.cjs +1 -0
  66. package/dist/{vue-ui-flow-BBNuPVgI.js → vue-ui-flow-hD0F6mTK.js} +164 -158
  67. package/dist/vue-ui-funnel-DKxAPRi_.cjs +1 -0
  68. package/dist/{vue-ui-funnel-BDGggRXE.js → vue-ui-funnel-hcbE4yky.js} +178 -172
  69. package/dist/{vue-ui-galaxy-6Odi2CwM.js → vue-ui-galaxy-ByKjxVWV.js} +187 -181
  70. package/dist/vue-ui-galaxy-D2kmqwpI.cjs +1 -0
  71. package/dist/vue-ui-gauge-BFA_unjg.cjs +1 -0
  72. package/dist/{vue-ui-gauge-DeYvNVnR.js → vue-ui-gauge-PGirbe6O.js} +220 -214
  73. package/dist/{vue-ui-gizmo-DXQt_8D0.cjs → vue-ui-gizmo-CHMApil6.cjs} +1 -1
  74. package/dist/{vue-ui-gizmo-BcAr2dTN.js → vue-ui-gizmo-ChSfBYZ_.js} +3 -3
  75. package/dist/vue-ui-heatmap-C0VxwPhr.cjs +1 -0
  76. package/dist/{vue-ui-heatmap-Btm1mK6D.js → vue-ui-heatmap-CK3FIWpo.js} +270 -264
  77. package/dist/vue-ui-history-plot-BmGodgUx.cjs +1 -0
  78. package/dist/{vue-ui-history-plot-OY6N31Ka.js → vue-ui-history-plot-EmQ-Byiz.js} +236 -230
  79. package/dist/{vue-ui-kpi-CQIbWQMk.cjs → vue-ui-kpi-BdungaO2.cjs} +1 -1
  80. package/dist/{vue-ui-kpi-D5oNUDVm.js → vue-ui-kpi-DjC68pSz.js} +3 -3
  81. package/dist/{vue-ui-mini-loader-BjqV22Co.js → vue-ui-mini-loader-CzrblCCD.js} +2 -2
  82. package/dist/{vue-ui-mini-loader-ByDKGMAp.cjs → vue-ui-mini-loader-jwL_pZjb.cjs} +1 -1
  83. package/dist/{vue-ui-molecule-FsLf3YTj.js → vue-ui-molecule-DBQJQs4Y.js} +294 -289
  84. package/dist/vue-ui-molecule-Dzh-0SWI.cjs +1 -0
  85. package/dist/{vue-ui-mood-radar-31BX-GNG.js → vue-ui-mood-radar-Ca9wPZpJ.js} +205 -199
  86. package/dist/vue-ui-mood-radar-DV6ZZIXF.cjs +1 -0
  87. package/dist/{vue-ui-nested-donuts-BMJW2oHk.js → vue-ui-nested-donuts-C8at93dN.js} +286 -280
  88. package/dist/vue-ui-nested-donuts-DEdS6dpj.cjs +17 -0
  89. package/dist/{vue-ui-onion-BUpGgnWA.js → vue-ui-onion-B-PXxNu6.js} +198 -192
  90. package/dist/vue-ui-onion-B2ioudP5.cjs +5 -0
  91. package/dist/{vue-ui-parallel-coordinate-plot-9I00rQEM.js → vue-ui-parallel-coordinate-plot-ByM3So9k.js} +236 -230
  92. package/dist/vue-ui-parallel-coordinate-plot-DtJi9cT0.cjs +8 -0
  93. package/dist/{vue-ui-quadrant-CEmoMAL7.js → vue-ui-quadrant-BqOJBcsI.js} +255 -249
  94. package/dist/vue-ui-quadrant-CIr4i6cC.cjs +1 -0
  95. package/dist/{vue-ui-quick-chart-T_oeRTqY.js → vue-ui-quick-chart-BfXxT3KM.js} +474 -466
  96. package/dist/vue-ui-quick-chart-Bt9KA82P.cjs +15 -0
  97. package/dist/{vue-ui-radar-DG_Zir8w.js → vue-ui-radar-BKpD9xDr.js} +256 -250
  98. package/dist/vue-ui-radar-Czmsd_uv.cjs +1 -0
  99. package/dist/{vue-ui-rating-Juprijdi.cjs → vue-ui-rating-BE545aI4.cjs} +1 -1
  100. package/dist/{vue-ui-rating-gswAA28b.js → vue-ui-rating-DQRuqev5.js} +2 -2
  101. package/dist/vue-ui-relation-circle-B1uMTqFP.cjs +1 -0
  102. package/dist/vue-ui-relation-circle-nZ2nBpWX.js +498 -0
  103. package/dist/vue-ui-rings-B7JzZ3ub.cjs +2 -0
  104. package/dist/{vue-ui-rings-D3g-ORch.js → vue-ui-rings-C1PV0873.js} +177 -172
  105. package/dist/vue-ui-scatter-CTI943ks.cjs +1 -0
  106. package/dist/{vue-ui-scatter-DBO-XViT.js → vue-ui-scatter-dgs1m3-2.js} +310 -304
  107. package/dist/{vue-ui-screenshot-3MDyr6v3.cjs → vue-ui-screenshot--cHV0jG3.cjs} +1 -1
  108. package/dist/{vue-ui-screenshot-K0a-DVD6.js → vue-ui-screenshot-Dxj0l8Jg.js} +1 -1
  109. package/dist/{vue-ui-skeleton-CWjNNx-k.js → vue-ui-skeleton-Bniq21d9.js} +3 -3
  110. package/dist/{vue-ui-skeleton-DUNkS05l.cjs → vue-ui-skeleton-lkPDknHn.cjs} +1 -1
  111. package/dist/{vue-ui-smiley-Cbqg-N-L.cjs → vue-ui-smiley-CozXoiti.cjs} +1 -1
  112. package/dist/{vue-ui-smiley-MwX1c6qK.js → vue-ui-smiley-D4DAZIpA.js} +2 -2
  113. package/dist/{vue-ui-spark-trend-CN5JUPhn.cjs → vue-ui-spark-trend-CSqyvI_K.cjs} +1 -1
  114. package/dist/{vue-ui-spark-trend-D9eWTtbE.js → vue-ui-spark-trend-ZqrwhwqS.js} +5 -5
  115. package/dist/{vue-ui-sparkbar-IphZ8jXh.cjs → vue-ui-sparkbar-Bph8KIjk.cjs} +1 -1
  116. package/dist/{vue-ui-sparkbar-CPF7YNDd.js → vue-ui-sparkbar-q0G4GvFm.js} +4 -4
  117. package/dist/{vue-ui-sparkgauge-B29V7ZTv.js → vue-ui-sparkgauge-DA_h9jcN.js} +4 -4
  118. package/dist/{vue-ui-sparkgauge-BRMGqR9Z.cjs → vue-ui-sparkgauge-nSAW83dN.cjs} +1 -1
  119. package/dist/{vue-ui-sparkhistogram-BJTgOWF5.js → vue-ui-sparkhistogram-B1WyBiq_.js} +5 -5
  120. package/dist/{vue-ui-sparkhistogram-rvYaVHmw.cjs → vue-ui-sparkhistogram-BLYhRNpt.cjs} +1 -1
  121. package/dist/{vue-ui-sparkline-BI9jqI0h.cjs → vue-ui-sparkline-PNix1-R9.cjs} +1 -1
  122. package/dist/{vue-ui-sparkline-DX79otAB.js → vue-ui-sparkline-ccfl0s3m.js} +4 -4
  123. package/dist/{vue-ui-sparkstackbar-DuollcwK.cjs → vue-ui-sparkstackbar-DpuvEumy.cjs} +1 -1
  124. package/dist/{vue-ui-sparkstackbar-vP28A6AT.js → vue-ui-sparkstackbar-PNKwVRu8.js} +5 -5
  125. package/dist/{vue-ui-stackbar-DnJEgIaA.js → vue-ui-stackbar-BBYnF8qm.js} +367 -361
  126. package/dist/vue-ui-stackbar-D4AIFoQT.cjs +6 -0
  127. package/dist/vue-ui-strip-plot-ClNxSw9M.cjs +1 -0
  128. package/dist/{vue-ui-strip-plot-DqcHBwd_.js → vue-ui-strip-plot-TVlnzXFq.js} +269 -263
  129. package/dist/{vue-ui-table-BMJ0I5nr.cjs → vue-ui-table-CHdv3KuM.cjs} +1 -1
  130. package/dist/{vue-ui-table-D8cgqIJl.js → vue-ui-table-CsEajH9S.js} +1 -1
  131. package/dist/vue-ui-table-heatmap-BE3UT8U9.cjs +1 -0
  132. package/dist/vue-ui-table-heatmap-CubRipoB.js +262 -0
  133. package/dist/vue-ui-table-sparkline-BeYviUrb.cjs +1 -0
  134. package/dist/{vue-ui-table-sparkline-B_Po0RuC.js → vue-ui-table-sparkline-YV8DUOqh.js} +256 -239
  135. package/dist/vue-ui-thermometer-C6lMWRiF.cjs +1 -0
  136. package/dist/{vue-ui-thermometer-C6nfW6uY.js → vue-ui-thermometer-DmMjSLc1.js} +170 -164
  137. package/dist/{vue-ui-timer-ldINTqND.cjs → vue-ui-timer-DteYgv9y.cjs} +1 -1
  138. package/dist/{vue-ui-timer-CfwmMRdZ.js → vue-ui-timer-DvE_nqd9.js} +5 -5
  139. package/dist/vue-ui-tiremarks-CCrkDgjX.js +323 -0
  140. package/dist/vue-ui-tiremarks-PGGgsNgS.cjs +1 -0
  141. package/dist/vue-ui-treemap-BzRVKqXL.cjs +1 -0
  142. package/dist/{vue-ui-treemap-CwMnkcOi.js → vue-ui-treemap-C4A4spvg.js} +243 -237
  143. package/dist/{vue-ui-vertical-bar-BZR4YOLh.js → vue-ui-vertical-bar-8iL1xiaz.js} +238 -232
  144. package/dist/vue-ui-vertical-bar-B60lSXNq.cjs +4 -0
  145. package/dist/{vue-ui-waffle-D2BccJmB.js → vue-ui-waffle-CaYNz-Kd.js} +316 -310
  146. package/dist/vue-ui-waffle-O8pAEf4X.cjs +1 -0
  147. package/dist/vue-ui-wheel-BRR2rGou.js +305 -0
  148. package/dist/vue-ui-wheel-CnFdB_B1.cjs +1 -0
  149. package/dist/vue-ui-word-cloud-X4mp280j.cjs +1 -0
  150. package/dist/{vue-ui-word-cloud-DiG8DHOr.js → vue-ui-word-cloud-y2GGxwoq.js} +246 -240
  151. package/dist/{vue-ui-xy-DicLnkBA.js → vue-ui-xy-CXoWP8bh.js} +708 -697
  152. package/dist/vue-ui-xy-CbM75yXK.cjs +3 -0
  153. package/dist/{vue-ui-xy-canvas-D6CYL9A8.js → vue-ui-xy-canvas-D7MrUJj7.js} +334 -328
  154. package/dist/vue-ui-xy-canvas-DWvIvSry.cjs +9 -0
  155. package/package.json +1 -1
  156. package/dist/index-BHQZE19X.cjs +0 -9
  157. package/dist/vue-ui-3d-bar-BGVLnjCh.cjs +0 -19
  158. package/dist/vue-ui-age-pyramid-Cv0Rddsx.cjs +0 -1
  159. package/dist/vue-ui-bullet-C0Q2Vs5p.cjs +0 -34
  160. package/dist/vue-ui-candlestick-C7kRHFF3.cjs +0 -2
  161. package/dist/vue-ui-carousel-table-1_Hy8sGL.cjs +0 -1
  162. package/dist/vue-ui-chestnut-D3LGylRp.cjs +0 -6
  163. package/dist/vue-ui-donut-CQEOtlxM.cjs +0 -1
  164. package/dist/vue-ui-donut-evolution-Dg_XJyX8.cjs +0 -1
  165. package/dist/vue-ui-dumbbell-RAkNYRoJ.cjs +0 -9
  166. package/dist/vue-ui-flow-BUmSGSmR.cjs +0 -1
  167. package/dist/vue-ui-funnel-B9HR0owO.cjs +0 -1
  168. package/dist/vue-ui-galaxy-DmsMWB1a.cjs +0 -1
  169. package/dist/vue-ui-gauge-Dvv0v56Z.cjs +0 -1
  170. package/dist/vue-ui-heatmap-DZ02dS5q.cjs +0 -1
  171. package/dist/vue-ui-history-plot-DPQWcN0P.cjs +0 -1
  172. package/dist/vue-ui-molecule-C8O_ViVy.cjs +0 -1
  173. package/dist/vue-ui-mood-radar-4u98wGWl.cjs +0 -1
  174. package/dist/vue-ui-nested-donuts-BPc_OBoe.cjs +0 -17
  175. package/dist/vue-ui-onion-IhkIHn1A.cjs +0 -5
  176. package/dist/vue-ui-parallel-coordinate-plot-DzjggyLA.cjs +0 -8
  177. package/dist/vue-ui-quadrant-EZqQ-7Ev.cjs +0 -1
  178. package/dist/vue-ui-quick-chart-BKUUR-A1.cjs +0 -15
  179. package/dist/vue-ui-radar-QBwo6ybW.cjs +0 -1
  180. package/dist/vue-ui-relation-circle-BWX8zrfH.cjs +0 -1
  181. package/dist/vue-ui-relation-circle-DtnXrnOP.js +0 -492
  182. package/dist/vue-ui-rings-Damuv7g9.cjs +0 -2
  183. package/dist/vue-ui-scatter-RUeAe7Sx.cjs +0 -1
  184. package/dist/vue-ui-stackbar-BumFmZZF.cjs +0 -6
  185. package/dist/vue-ui-strip-plot-DupREfRd.cjs +0 -1
  186. package/dist/vue-ui-table-heatmap-D43pTFli.cjs +0 -1
  187. package/dist/vue-ui-table-heatmap-D4qeClXn.js +0 -256
  188. package/dist/vue-ui-table-sparkline-B7OPOium.cjs +0 -1
  189. package/dist/vue-ui-thermometer-CaV3JF3h.cjs +0 -1
  190. package/dist/vue-ui-tiremarks-BlyxL_IU.cjs +0 -1
  191. package/dist/vue-ui-tiremarks-iNKMnu3P.js +0 -317
  192. package/dist/vue-ui-treemap-YdRDlSHA.cjs +0 -1
  193. package/dist/vue-ui-vertical-bar-Bji3-X8i.cjs +0 -4
  194. package/dist/vue-ui-waffle-rO_LJaHR.cjs +0 -1
  195. package/dist/vue-ui-wheel-BTrpdV-C.cjs +0 -1
  196. package/dist/vue-ui-wheel-GqWFopE1.js +0 -299
  197. package/dist/vue-ui-word-cloud-DD-pKUen.cjs +0 -1
  198. package/dist/vue-ui-xy-C32KNdyx.cjs +0 -3
  199. package/dist/vue-ui-xy-canvas-9e630nJX.cjs +0 -9
@@ -1,35 +1,36 @@
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 T, 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 M, b as ct, J as Me, d as vt, m as Be, f as x, X as ft, s as Ue, L as ht, k as B, n as ie, i as G, x as Re, y as yt, q as pt, r as bt } from "./index-igxqCP2w.js";
3
- import { t as gt, u as mt } from "./useResponsive-CoxXLe23.js";
4
- import { _ as kt } from "./Title-DED-PQ7X.js";
5
- import { u as wt, U as _t } from "./usePrinter-CnZYDQXB.js";
6
- import { D as $t } from "./DataTable-CO5C8Cmb.js";
7
- import { _ as Lt } from "./Tooltip-CHseiJu8.js";
8
- import { L as xt } from "./Legend-FZN9UHoI.js";
9
- import Ct from "./vue-ui-skeleton-CWjNNx-k.js";
10
- import Ft from "./vue-ui-accordion-lF7yVkiT.js";
11
- import { u as Ee } from "./useNestedProp-CSVnZVwZ.js";
12
- import { _ as Tt } from "./PackageVersion-DYk2hOG1.js";
13
- import { P as St } from "./PenAndPaper-BfgS_5ux.js";
14
- import { _ as Nt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
- const de = (U) => (ot("data-v-02bfd901"), U = U(), st(), U), It = ["id"], At = ["xmlns", "viewBox"], Ot = ["id"], Pt = /* @__PURE__ */ de(() => /* @__PURE__ */ p("stop", {
1
+ import { computed as g, ref as i, watch as Ue, onMounted as at, onBeforeUnmount as ot, openBlock as u, createElementBlock as n, normalizeClass as P, normalizeStyle as Q, unref as r, createBlock as D, createCommentVNode as v, createSlots as st, withCtx as m, renderSlot as k, normalizeProps as R, guardReactiveProps as E, createVNode as Be, createElementVNode as y, Fragment as _, renderList as T, toDisplayString as N, createTextVNode as Z, nextTick as ut, pushScopeId as nt, popScopeId as rt } from "vue";
2
+ import { u as it, c as dt, t as ct, a as vt, p as j, o as ft, e as M, b as ht, J as Re, d as pt, m as Ee, f as x, X as yt, s as Ge, L as bt, k as U, n as ie, i as G, x as Ye, y as gt, q as mt, r as kt } from "./index-BbPeL8Gp.js";
3
+ import { t as wt, u as $t } from "./useResponsive-CoxXLe23.js";
4
+ import { _ as Lt } from "./Title-aSAft5dl.js";
5
+ import { u as _t, U as xt } from "./usePrinter-DaybDVqP.js";
6
+ import { D as Ct } from "./DataTable-DGf6RrOJ.js";
7
+ import { _ as Ft } from "./Tooltip-smutPF--.js";
8
+ import { L as Tt } from "./Legend-BLaZxMge.js";
9
+ import St from "./vue-ui-skeleton-Bniq21d9.js";
10
+ import Nt from "./vue-ui-accordion-5d5iVpr7.js";
11
+ import { u as Xe } from "./useNestedProp-BN8claGG.js";
12
+ import { _ as It } from "./PackageVersion-CxJghxYD.js";
13
+ import { P as Ot } from "./PenAndPaper-ZdZEumki.js";
14
+ import { u as At } from "./useUserOptionState-BIvW1Kz7.js";
15
+ import { _ as Pt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
+ const de = (B) => (nt("data-v-5dacef14"), B = B(), rt(), B), Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["id"], Mt = /* @__PURE__ */ de(() => /* @__PURE__ */ y("stop", {
16
17
  offset: "0%",
17
18
  "stop-color": "#FFFFFF",
18
19
  "stop-opacity": "0"
19
- }, null, -1)), Dt = ["offset", "stop-color"], zt = ["offset", "stop-opacity"], Vt = /* @__PURE__ */ de(() => /* @__PURE__ */ p("stop", {
20
+ }, null, -1)), Ut = ["offset", "stop-color"], Bt = ["offset", "stop-opacity"], Rt = /* @__PURE__ */ de(() => /* @__PURE__ */ y("stop", {
20
21
  offset: "100%",
21
22
  "stop-color": "#FFFFFF",
22
23
  "stop-opacity": "0"
23
- }, null, -1)), Mt = ["id"], Bt = ["id"], Ut = /* @__PURE__ */ de(() => /* @__PURE__ */ p("feColorMatrix", {
24
+ }, null, -1)), Et = ["id"], Gt = ["id"], Yt = /* @__PURE__ */ de(() => /* @__PURE__ */ y("feColorMatrix", {
24
25
  type: "saturate",
25
26
  values: "0"
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 }, Jt = ["filter"], Kt = ["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
+ }, null, -1)), Xt = ["id"], Wt = ["flood-color"], Ht = ["d", "fill", "stroke", "stroke-width", "filter"], qt = { key: 0 }, Jt = ["d", "fill"], Kt = { key: 1 }, Qt = ["x", "y", "font-size", "font-weight", "fill"], Zt = { key: 2 }, jt = ["filter"], el = ["text-anchor", "x", "y", "fill", "font-size", "font-weight"], tl = ["text-anchor", "x", "y", "fill", "font-size", "font-weight"], ll = ["text-anchor", "x", "y", "fill", "font-size", "font-weight"], al = ["d", "fill", "onMouseenter", "onClick"], ol = {
27
28
  key: 5,
28
29
  class: "vue-data-ui-watermark"
29
- }, tl = {
30
+ }, sl = {
30
31
  key: 0,
31
32
  class: "vue-ui-nested-donuts-legend-title"
32
- }, ll = ["onClick"], al = ["innerHTML"], ol = {
33
+ }, ul = ["onClick"], nl = ["innerHTML"], rl = {
33
34
  __name: "vue-ui-nested-donuts",
34
35
  props: {
35
36
  config: {
@@ -46,60 +47,60 @@ const de = (U) => (ot("data-v-02bfd901"), U = U(), st(), U), It = ["id"], At = [
46
47
  }
47
48
  },
48
49
  emits: ["selectLegend", "selectDatapoint"],
49
- setup(U, { expose: Ge, emit: ce }) {
50
- const I = U, { 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), V = i(!1);
51
- function We(t) {
50
+ setup(B, { expose: We, emit: ce }) {
51
+ const I = B, { vue_ui_nested_donuts: He } = it(), Y = g(() => !!I.dataset && I.dataset.length), w = i(dt()), ee = i(!1), te = i(""), qe = i(null), ve = i(0), z = i(null), fe = i(null), le = i(null), he = i(null), pe = i(null), ye = i(0), be = i(0), ge = i(0), V = i(!1);
52
+ function Je(t) {
52
53
  V.value = t, ve.value += 1;
53
54
  }
54
55
  const e = g({
55
- get: () => me(),
56
+ get: () => $e(),
56
57
  set: (t) => t
57
- });
58
- function me() {
59
- const t = Ee({
58
+ }), { userOptionsVisible: me, setUserOptionsVisibility: ke, keepUserOptionState: we } = At({ config: e.value });
59
+ function $e() {
60
+ const t = Xe({
60
61
  userConfig: I.config,
61
- defaultConfig: Ye
62
+ defaultConfig: He
62
63
  });
63
64
  return t.theme ? {
64
- ...Ee({
65
- userConfig: rt.vue_ui_nested_donuts[t.theme] || I.config,
65
+ ...Xe({
66
+ userConfig: ct.vue_ui_nested_donuts[t.theme] || I.config,
66
67
  defaultConfig: t
67
68
  }),
68
- customPalette: it[t.theme] || Z
69
+ customPalette: vt[t.theme] || j
69
70
  } : t;
70
71
  }
71
- ze(() => I.config, (t) => {
72
- e.value = me(), ke(), pe.value += 1, be.value += 1, ge.value += 1;
72
+ Ue(() => I.config, (t) => {
73
+ e.value = $e(), Le(), ye.value += 1, be.value += 1, ge.value += 1;
73
74
  }, { deep: !0 });
74
75
  const X = i(null);
75
- et(() => {
76
- ke();
76
+ at(() => {
77
+ Le();
77
78
  });
78
- function ke() {
79
- if (dt(I.dataset) && M({
79
+ function Le() {
80
+ if (ft(I.dataset) && M({
80
81
  componentName: "VueUiNestedDonuts",
81
82
  type: "dataset"
82
83
  }), e.value.responsive) {
83
- const t = gt(() => {
84
- const { width: u, height: a } = mt({
84
+ const t = wt(() => {
85
+ const { width: s, height: a } = $t({
85
86
  chart: z.value,
86
87
  title: e.value.style.chart.title.text ? fe.value : null,
87
- legend: e.value.style.chart.legend.show ? te.value : null,
88
+ legend: e.value.style.chart.legend.show ? le.value : null,
88
89
  source: he.value,
89
- noTitle: ye.value
90
+ noTitle: pe.value
90
91
  });
91
- h.value.width = u, h.value.height = a;
92
+ h.value.width = s, h.value.height = a;
92
93
  });
93
94
  X.value = new ResizeObserver(t), X.value.observe(z.value.parentNode);
94
95
  }
95
96
  }
96
- tt(() => {
97
+ ot(() => {
97
98
  X.value && X.value.disconnect();
98
99
  });
99
- const { isPrinting: we, isImaging: _e, generatePdf: $e, generateImage: Le } = wt({
100
+ const { isPrinting: _e, isImaging: xe, generatePdf: Ce, generateImage: Fe } = _t({
100
101
  elementId: `nested_donuts_${w.value}`,
101
102
  fileName: e.value.style.chart.title.text || "vue-ui-nested-donuts"
102
- }), He = g(() => e.value.userOptions.show && !e.value.style.chart.title.text), qe = g(() => ct(e.value.customPalette)), _ = i({
103
+ }), Ke = g(() => e.value.userOptions.show && !e.value.style.chart.title.text), Qe = g(() => ht(e.value.customPalette)), $ = i({
103
104
  dataLabels: {
104
105
  show: e.value.style.chart.layout.labels.dataLabels.show
105
106
  },
@@ -109,24 +110,24 @@ const de = (U) => (ot("data-v-02bfd901"), U = U(), st(), U), It = ["id"], At = [
109
110
  height: 512,
110
111
  width: 512
111
112
  });
112
- function Je({ datapoint: t, index: u }) {
113
- ce("selectDatapoint", { datapoint: t, index: u });
113
+ function Ze({ datapoint: t, index: s }) {
114
+ ce("selectDatapoint", { datapoint: t, index: s });
114
115
  }
115
- const y = i([]), C = g(() => (I.dataset.forEach((t, u) => {
116
+ const p = i([]), C = g(() => (I.dataset.forEach((t, s) => {
116
117
  [null, void 0].includes(t.name) && M({
117
118
  componentName: "VueUiNestedDonuts",
118
119
  type: "datasetSerieAttribute",
119
120
  property: "name",
120
- index: u
121
+ index: s
121
122
  }), [null, void 0].includes(t.series) ? M({
122
123
  componentName: "VueUiNestedDonuts",
123
124
  type: "datasetSerieAttribute",
124
125
  property: "series",
125
- index: u
126
+ index: s
126
127
  }) : t.series.length === 0 ? M({
127
128
  componentName: "VueUiNestedDonuts",
128
129
  type: "datasetAttributeEmpty",
129
- property: `series at index ${u}`
130
+ property: `series at index ${s}`
130
131
  }) : t.series.forEach((a, o) => {
131
132
  [null, void 0].includes(a.name) && M({
132
133
  componentName: "VueUiNestedDonuts",
@@ -142,89 +143,89 @@ const de = (U) => (ot("data-v-02bfd901"), U = U(), st(), U), It = ["id"], At = [
142
143
  key: "serie"
143
144
  });
144
145
  });
145
- }), I.dataset.map((t, u) => ({
146
+ }), I.dataset.map((t, s) => ({
146
147
  ...t,
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}`,
148
+ total: t.series.filter((a) => !p.value.includes(a.id)).map((a) => Re(a.values).reduce((o, l) => o + l, 0)).reduce((a, o) => a + o, 0),
149
+ datasetIndex: s,
150
+ id: `${w.value}_${s}`,
150
151
  series: t.series.map((a, o) => ({
151
152
  name: a.name,
152
153
  arcOf: t.name,
153
- arcOfId: `${w.value}_${u}`,
154
- id: `${w.value}_${u}_${o}`,
154
+ arcOfId: `${w.value}_${s}`,
155
+ id: `${w.value}_${s}_${o}`,
155
156
  seriesIndex: o,
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),
157
+ datasetIndex: s,
158
+ color: pt(a.color) || Qe.value[o] || j[o] || j[o % j.length],
159
+ value: Re(a.values).reduce((l, d) => l + d, 0),
159
160
  absoluteValues: a.values || []
160
161
  }))
161
- })))), F = 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
+ })))), F = g(() => Math.min(h.value.height, h.value.width) * (e.value.style.chart.layout.donut.strokeWidth / 512)), Te = g(() => [...C.value].map((t, s) => {
163
+ const a = t.series.filter((o) => !p.value.includes(o.id)).map((o) => o.value).reduce((o, l) => o + l, 0);
163
164
  return {
164
165
  ...t,
165
166
  total: a,
166
- series: t.series.filter((o) => !y.value.includes(o.id)).map((o) => ({
167
+ series: t.series.filter((o) => !p.value.includes(o.id)).map((o) => ({
167
168
  ...o,
168
169
  proportion: o.value / a
169
170
  }))
170
171
  };
171
172
  }));
172
- function Ke(t, u, a) {
173
+ function je(t, s, a) {
173
174
  let o = 0;
174
175
  for (let l = 0; l < t.length; l += 1)
175
176
  a.includes(t[l]) && (o += 1);
176
- return o < u;
177
+ return o < s;
177
178
  }
178
- const f = i(xe.value);
179
- ze(() => xe.value, (t) => f.value = t);
180
- const Ce = i(null), Fe = i(null);
181
- function le(t) {
179
+ const f = i(Te.value);
180
+ Ue(() => Te.value, (t) => f.value = t);
181
+ const Se = i(null), Ne = i(null);
182
+ function ae(t) {
182
183
  ce("selectLegend", t);
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);
184
+ const s = 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);
184
185
  let l = a ? a.value : 0;
185
- const d = C.value.find((c) => c.id === u.arcOfId).series.map((c) => c.id), b = Ke(d, d.length - 1, y.value);
186
- if (y.value.includes(t.id)) {
186
+ const d = C.value.find((c) => c.id === s.arcOfId).series.map((c) => c.id), b = je(d, d.length - 1, p.value);
187
+ if (p.value.includes(t.id)) {
187
188
  let c = function() {
188
- l > u.value ? (cancelAnimationFrame(Ce.value), f.value = f.value.map(($) => ({
189
- ...$,
190
- series: $.series.map((S) => S.id == t.id ? {
189
+ l > s.value ? (cancelAnimationFrame(Se.value), f.value = f.value.map((L) => ({
190
+ ...L,
191
+ series: L.series.map((S) => S.id == t.id ? {
191
192
  ...S,
192
- value: u.value
193
+ value: s.value
193
194
  } : S)
194
- }))) : (l += u.value * 0.025, f.value = f.value.map(($) => ({
195
- ...$,
196
- series: $.series.map((S) => S.id === t.id ? {
195
+ }))) : (l += s.value * 0.025, f.value = f.value.map((L) => ({
196
+ ...L,
197
+ series: L.series.map((S) => S.id === t.id ? {
197
198
  ...S,
198
199
  value: l
199
200
  } : S)
200
- })), Ce.value = requestAnimationFrame(c));
201
+ })), Se.value = requestAnimationFrame(c));
201
202
  };
202
- y.value = y.value.filter(($) => $ !== t.id), c();
203
+ p.value = p.value.filter((L) => L !== t.id), c();
203
204
  } else if (b) {
204
205
  let c = function() {
205
- l < 0.1 ? (cancelAnimationFrame(Fe.value), y.value.push(t.id), f.value = f.value.map(($, S) => ({
206
- ...$,
207
- series: $.series.map((O) => O.id === t.id ? {
208
- ...O,
206
+ l < 0.1 ? (cancelAnimationFrame(Ne.value), p.value.push(t.id), f.value = f.value.map((L, S) => ({
207
+ ...L,
208
+ series: L.series.map((A) => A.id === t.id ? {
209
+ ...A,
209
210
  value: 0
210
- } : O)
211
- }))) : (l /= 1.1, f.value = f.value.map(($, S) => ({
212
- ...$,
213
- series: $.series.map((O) => O.id === t.id ? {
214
- ...O,
211
+ } : A)
212
+ }))) : (l /= 1.1, f.value = f.value.map((L, S) => ({
213
+ ...L,
214
+ series: L.series.map((A) => A.id === t.id ? {
215
+ ...A,
215
216
  value: l
216
- } : O)
217
- })), Fe.value = requestAnimationFrame(c));
217
+ } : A)
218
+ })), Ne.value = requestAnimationFrame(c));
218
219
  };
219
220
  c();
220
221
  }
221
222
  }
222
- const ae = g(() => F.value / C.value.length * e.value.style.chart.layout.donut.spacingRatio), Te = g(() => f.value.map((t, u) => F.value - u * F.value / C.value.length)), W = g(() => f.value.map((t, u) => {
223
- const a = u * F.value / C.value.length;
223
+ const oe = g(() => F.value / C.value.length * e.value.style.chart.layout.donut.spacingRatio), Ie = g(() => f.value.map((t, s) => F.value - s * F.value / C.value.length)), W = g(() => f.value.map((t, s) => {
224
+ const a = s * F.value / C.value.length;
224
225
  return {
225
226
  ...t,
226
227
  radius: F.value - a,
227
- donut: Be(
228
+ donut: Ee(
228
229
  { series: t.series },
229
230
  h.value.width / 2,
230
231
  h.value.height / 2,
@@ -235,14 +236,14 @@ const de = (U) => (ot("data-v-02bfd901"), U = U(), st(), U), It = ["id"], At = [
235
236
  1,
236
237
  360,
237
238
  105.25,
238
- ae.value
239
+ oe.value
239
240
  )
240
241
  };
241
- })), Se = g(() => [...C.value].map((t, u) => {
242
- const a = u * F.value / C.value.length;
242
+ })), Oe = g(() => [...C.value].map((t, s) => {
243
+ const a = s * F.value / C.value.length;
243
244
  return {
244
245
  sizeRatio: a,
245
- donut: Be(
246
+ donut: Ee(
246
247
  { series: [{ value: 1 }] },
247
248
  h.value.width / 2,
248
249
  h.value.height / 2,
@@ -256,22 +257,22 @@ const de = (U) => (ot("data-v-02bfd901"), U = U(), st(), U), It = ["id"], At = [
256
257
  F.value / C.value.length * e.value.style.chart.layout.donut.spacingRatio
257
258
  )[0]
258
259
  };
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 = {
260
+ })), Ae = i(null), H = i(null), q = i(null), se = i(null);
261
+ function et({ datapoint: t, _relativeIndex: s, seriesIndex: a }) {
262
+ Ae.value = t.arcOfId, H.value = t.id, q.value = a, se.value = {
262
263
  datapoint: t,
263
264
  seriesIndex: a,
264
265
  series: f.value,
265
266
  config: e.value
266
267
  };
267
268
  const o = e.value.style.chart.tooltip.customFormat;
268
- if (Re(o) && yt(() => o({
269
+ if (Ye(o) && gt(() => o({
269
270
  seriesIndex: a,
270
271
  datapoint: t,
271
272
  series: f.value,
272
273
  config: e.value
273
274
  })))
274
- ee.value = o({
275
+ te.value = o({
275
276
  seriesIndex: a,
276
277
  datapoint: t,
277
278
  series: f.value,
@@ -279,7 +280,7 @@ const de = (U) => (ot("data-v-02bfd901"), U = U(), st(), U), It = ["id"], At = [
279
280
  });
280
281
  else {
281
282
  let l = "";
282
- if (e.value.style.chart.tooltip.showAllItemsAtIndex && y.value.length === 0) {
283
+ if (e.value.style.chart.tooltip.showAllItemsAtIndex && p.value.length === 0) {
283
284
  const d = f.value.map((b) => b.series.find((c) => c.seriesIndex === a));
284
285
  d.forEach((b, c) => {
285
286
  if (!b) return "";
@@ -335,22 +336,22 @@ const de = (U) => (ot("data-v-02bfd901"), U = U(), st(), U), It = ["id"], At = [
335
336
  s: "%",
336
337
  r: e.value.style.chart.tooltip.roundingPercentage
337
338
  })}</b></div>`);
338
- ee.value = `<div style="font-size:${e.value.style.chart.tooltip.fontSize}px">${l}</div>`;
339
+ te.value = `<div style="font-size:${e.value.style.chart.tooltip.fontSize}px">${l}</div>`;
339
340
  }
340
- j.value = !0;
341
+ ee.value = !0;
341
342
  }
342
- function se(t) {
343
+ function ue(t) {
343
344
  return t.proportion * 100 > e.value.style.chart.layout.labels.dataLabels.hideUnderValue;
344
345
  }
345
- function Ie(t, u) {
346
+ function Pe(t, s) {
346
347
  if (!e.value.useBlurOnHover)
347
348
  return "";
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)
349
+ if (e.value.style.chart.tooltip.showAllItemsAtIndex && p.value.length === 0)
350
+ return [null, void 0].includes(q.value) || q.value === s ? "" : `url(#blur_${w.value})`;
351
+ if (!e.value.style.chart.tooltip.showAllItemsAtIndex || p.value.length)
351
352
  return [null, void 0].includes(H.value) || H.value === t.id ? "" : `url(#blur_${w.value})`;
352
353
  }
353
- const ue = g(() => C.value.map((t, u) => t.series.map((a, o) => ({
354
+ const ne = g(() => C.value.map((t, s) => t.series.map((a, o) => ({
354
355
  name: a.name,
355
356
  color: a.color,
356
357
  value: a.value,
@@ -358,34 +359,34 @@ const de = (U) => (ot("data-v-02bfd901"), U = U(), st(), U), It = ["id"], At = [
358
359
  arcOf: a.arcOf,
359
360
  id: a.id,
360
361
  seriesIndex: o,
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
+ datasetIndex: s,
363
+ total: t.series.filter((l) => !p.value.includes(l.id)).map((l) => l.value).reduce((l, d) => l + d, 0)
363
364
  })).map((a) => ({
364
365
  ...a,
365
- opacity: y.value.includes(a.id) ? 0.5 : 1,
366
- segregate: () => le(a),
367
- isSegregated: y.value.includes(a.id)
368
- })))), Ze = g(() => ({
366
+ opacity: p.value.includes(a.id) ? 0.5 : 1,
367
+ segregate: () => ae(a),
368
+ isSegregated: p.value.includes(a.id)
369
+ })))), tt = g(() => ({
369
370
  cy: "nested-donuts-legend",
370
371
  backgroundColor: e.value.style.chart.legend.backgroundColor,
371
372
  color: e.value.style.chart.legend.color,
372
373
  fontSize: e.value.style.chart.legend.fontSize,
373
374
  paddingBottom: 12,
374
375
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
375
- })), A = g(() => {
376
+ })), O = g(() => {
376
377
  const t = f.value.flatMap((a) => a.series.map((o) => ({
377
378
  name: `${a.name} - ${o.name}`,
378
379
  color: o.color,
379
380
  total: a.total
380
- }))), u = f.value.flatMap((a) => a.series.map((o) => o.value));
381
- return { head: t, body: u };
381
+ }))), s = f.value.flatMap((a) => a.series.map((o) => o.value));
382
+ return { head: t, body: s };
382
383
  });
383
- function Ae() {
384
- at(() => {
385
- const t = A.value.head.map((o, l) => [[
384
+ function De() {
385
+ ut(() => {
386
+ const t = O.value.head.map((o, l) => [[
386
387
  o.name
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
+ ], [O.value.body[l]], [isNaN(O.value.body[l] / o.total) ? "-" : O.value.body[l] / o.total * 100]]), s = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(t), a = mt(s);
389
+ kt({ csvContent: a, title: e.value.style.chart.title.text || "vue-ui-nested-donuts" });
389
390
  });
390
391
  }
391
392
  const J = g(() => {
@@ -393,16 +394,16 @@ const de = (U) => (ot("data-v-02bfd901"), U = U(), st(), U), It = ["id"], At = [
393
394
  e.value.table.columnNames.series,
394
395
  e.value.table.columnNames.value,
395
396
  e.value.table.columnNames.percentage
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
+ ], s = O.value.head.map((l, d) => {
398
+ const b = x({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: O.value.body[d], s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue });
398
399
  return [
399
400
  {
400
401
  color: l.color,
401
402
  name: l.name
402
403
  },
403
404
  b,
404
- isNaN(A.value.body[d] / l.total) ? "-" : x({
405
- v: A.value.body[d] / l.total * 100,
405
+ isNaN(O.value.body[d] / l.total) ? "-" : x({
406
+ v: O.value.body[d] / l.total * 100,
406
407
  s: "%",
407
408
  r: e.value.table.td.roundingPercentage
408
409
  })
@@ -427,64 +428,66 @@ const de = (U) => (ot("data-v-02bfd901"), U = U(), st(), U), It = ["id"], At = [
427
428
  e.value.table.columnNames.percentage
428
429
  ],
429
430
  head: t,
430
- body: u,
431
+ body: s,
431
432
  config: a
432
433
  };
433
434
  });
434
- function je() {
435
+ function lt() {
435
436
  return C.value;
436
437
  }
437
- function Oe() {
438
- _.value.showTable = !_.value.showTable;
438
+ function ze() {
439
+ $.value.showTable = !$.value.showTable;
439
440
  }
440
- function Pe() {
441
- _.value.dataLabels.show = !_.value.dataLabels.show;
441
+ function Ve() {
442
+ $.value.dataLabels.show = !$.value.dataLabels.show;
442
443
  }
443
- function De() {
444
- _.value.showTooltip = !_.value.showTooltip;
444
+ function Me() {
445
+ $.value.showTooltip = !$.value.showTooltip;
445
446
  }
446
447
  const K = i(!1);
447
- function ne() {
448
+ function re() {
448
449
  K.value = !K.value;
449
450
  }
450
- return Ge({
451
- getData: je,
452
- generatePdf: $e,
453
- generateCsv: Ae,
454
- generateImage: Le,
455
- toggleTable: Oe,
456
- toggleLabels: Pe,
457
- toggleTooltip: De,
458
- toggleAnnotator: ne
459
- }), (t, u) => (s(), n("div", {
451
+ return We({
452
+ getData: lt,
453
+ generatePdf: Ce,
454
+ generateCsv: De,
455
+ generateImage: Fe,
456
+ toggleTable: ze,
457
+ toggleLabels: Ve,
458
+ toggleTooltip: Me,
459
+ toggleAnnotator: re
460
+ }), (t, s) => (u(), n("div", {
460
461
  ref_key: "nestedDonutsChart",
461
462
  ref: z,
462
463
  class: P(`vue-ui-nested-donuts ${V.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
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
+ style: Q(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
465
+ id: `nested_donuts_${w.value}`,
466
+ onMouseenter: s[3] || (s[3] = () => r(ke)(!0)),
467
+ onMouseleave: s[4] || (s[4] = () => r(ke)(!1))
465
468
  }, [
466
- e.value.userOptions.buttons.annotator ? (s(), D(St, {
469
+ e.value.userOptions.buttons.annotator ? (u(), D(Ot, {
467
470
  key: 0,
468
471
  parent: z.value,
469
472
  backgroundColor: e.value.style.chart.backgroundColor,
470
473
  color: e.value.style.chart.color,
471
474
  active: K.value,
472
- onClose: ne
475
+ onClose: re
473
476
  }, null, 8, ["parent", "backgroundColor", "color", "active"])) : v("", !0),
474
- He.value ? (s(), n("div", {
477
+ Ke.value ? (u(), n("div", {
475
478
  key: 1,
476
479
  ref_key: "noTitle",
477
- ref: ye,
480
+ ref: pe,
478
481
  class: "vue-data-ui-no-title-space",
479
482
  style: "height:36px; width: 100%;background:transparent"
480
483
  }, null, 512)) : v("", !0),
481
- e.value.style.chart.title.text ? (s(), n("div", {
484
+ e.value.style.chart.title.text ? (u(), n("div", {
482
485
  key: 2,
483
486
  ref_key: "chartTitle",
484
487
  ref: fe
485
488
  }, [
486
- (s(), D(kt, {
487
- key: `title_${pe.value}`,
489
+ (u(), D(Lt, {
490
+ key: `title_${ye.value}`,
488
491
  config: {
489
492
  title: {
490
493
  cy: "donut-div-title",
@@ -497,13 +500,13 @@ const de = (U) => (ot("data-v-02bfd901"), U = U(), st(), U), It = ["id"], At = [
497
500
  }
498
501
  }, null, 8, ["config"]))
499
502
  ], 512)) : v("", !0),
500
- e.value.userOptions.show && Y.value ? (s(), D(_t, {
503
+ e.value.userOptions.show && Y.value && (r(we) || r(me)) ? (u(), D(xt, {
501
504
  ref: "details",
502
505
  key: `user_option_${ve.value}`,
503
506
  backgroundColor: e.value.style.chart.backgroundColor,
504
507
  color: e.value.style.chart.color,
505
- isPrinting: r(we),
506
- isImaging: r(_e),
508
+ isPrinting: r(_e),
509
+ isImaging: r(xe),
507
510
  uid: w.value,
508
511
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
509
512
  hasPdf: e.value.userOptions.buttons.pdf,
@@ -513,21 +516,24 @@ const de = (U) => (ot("data-v-02bfd901"), U = U(), st(), U), It = ["id"], At = [
513
516
  hasLabel: e.value.userOptions.buttons.labels,
514
517
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
515
518
  isFullscreen: V.value,
516
- isTooltip: _.value.showTooltip,
519
+ isTooltip: $.value.showTooltip,
517
520
  titles: { ...e.value.userOptions.buttonTitles },
518
521
  chartElement: z.value,
519
522
  position: e.value.userOptions.position,
520
523
  hasAnnotator: e.value.userOptions.buttons.annotator,
521
524
  isAnnotation: K.value,
522
- onToggleFullscreen: We,
523
- onGeneratePdf: r($e),
524
- onGenerateCsv: Ae,
525
- onGenerateImage: r(Le),
526
- onToggleTable: Oe,
527
- onToggleLabels: Pe,
528
- onToggleTooltip: De,
529
- onToggleAnnotator: ne
530
- }, lt({ _: 2 }, [
525
+ onToggleFullscreen: Je,
526
+ onGeneratePdf: r(Ce),
527
+ onGenerateCsv: De,
528
+ onGenerateImage: r(Fe),
529
+ onToggleTable: ze,
530
+ onToggleLabels: Ve,
531
+ onToggleTooltip: Me,
532
+ onToggleAnnotator: re,
533
+ style: Q({
534
+ visibility: r(we) ? r(me) ? "visible" : "hidden" : "visible"
535
+ })
536
+ }, st({ _: 2 }, [
531
537
  t.$slots.optionTooltip ? {
532
538
  name: "optionTooltip",
533
539
  fn: m(() => [
@@ -584,87 +590,87 @@ const de = (U) => (ot("data-v-02bfd901"), U = U(), st(), U), It = ["id"], At = [
584
590
  ]),
585
591
  key: "7"
586
592
  } : void 0
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", {
593
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : v("", !0),
594
+ Y.value ? (u(), n("svg", {
589
595
  key: 4,
590
- xmlns: r(ft),
596
+ xmlns: r(yt),
591
597
  class: P({ "vue-data-ui-fullscreen--on": V.value, "vue-data-ui-fulscreen--off": !V.value }),
592
598
  viewBox: `0 0 ${h.value.width <= 0 ? 1e-3 : h.value.width} ${h.value.height < 0 ? 1e-3 : h.value.height}`,
593
- style: re(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
599
+ style: Q(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
594
600
  }, [
595
- Ve(Tt),
596
- p("defs", null, [
597
- (s(!0), n(L, null, T(Se.value, (a, o) => (s(), n("radialGradient", {
601
+ Be(It),
602
+ y("defs", null, [
603
+ (u(!0), n(_, null, T(Oe.value, (a, o) => (u(), n("radialGradient", {
598
604
  id: `radial_${w.value}_${o}`
599
605
  }, [
600
- Pt,
601
- p("stop", {
602
- offset: `${(1 - ae.value / Te.value[o]) * 100}%`,
603
- "stop-color": r(Ue)("#FFFFFF", 0),
606
+ Mt,
607
+ y("stop", {
608
+ offset: `${(1 - oe.value / Ie.value[o]) * 100}%`,
609
+ "stop-color": r(Ge)("#FFFFFF", 0),
604
610
  "stop-opacity": "0"
605
- }, null, 8, Dt),
606
- p("stop", {
607
- offset: `${(1 - ae.value / Te.value[o] / 2) * 100}%`,
611
+ }, null, 8, Ut),
612
+ y("stop", {
613
+ offset: `${(1 - oe.value / Ie.value[o] / 2) * 100}%`,
608
614
  "stop-color": "#FFFFFF",
609
615
  "stop-opacity": e.value.style.chart.gradientIntensity / 100
610
- }, null, 8, zt),
611
- Vt
612
- ], 8, Ot))), 256))
616
+ }, null, 8, Bt),
617
+ Rt
618
+ ], 8, Vt))), 256))
613
619
  ]),
614
- p("defs", null, [
615
- p("filter", {
620
+ y("defs", null, [
621
+ y("filter", {
616
622
  id: `blur_${w.value}`,
617
623
  x: "-50%",
618
624
  y: "-50%",
619
625
  width: "200%",
620
626
  height: "200%"
621
627
  }, [
622
- p("feGaussianBlur", {
628
+ y("feGaussianBlur", {
623
629
  in: "SourceGraphic",
624
630
  stdDeviation: 2,
625
631
  id: `blur_std_${w.value}`
626
- }, null, 8, Bt),
627
- Ut
628
- ], 8, Mt),
629
- p("filter", {
632
+ }, null, 8, Gt),
633
+ Yt
634
+ ], 8, Et),
635
+ y("filter", {
630
636
  id: `shadow_${w.value}`,
631
637
  "color-interpolation-filters": "sRGB"
632
638
  }, [
633
- p("feDropShadow", {
639
+ y("feDropShadow", {
634
640
  dx: "0",
635
641
  dy: "0",
636
642
  stdDeviation: "10",
637
643
  "flood-opacity": "0.5",
638
644
  "flood-color": e.value.style.chart.layout.donut.shadowColor
639
- }, null, 8, Et)
640
- ], 8, Rt)
645
+ }, null, 8, Wt)
646
+ ], 8, Xt)
641
647
  ]),
642
- (s(!0), n(L, null, T(W.value, (a, o) => (s(), n("g", null, [
643
- (s(!0), n(L, null, T(a.donut, (l, d) => (s(), n("g", null, [
644
- p("path", {
648
+ (u(!0), n(_, null, T(W.value, (a, o) => (u(), n("g", null, [
649
+ (u(!0), n(_, null, T(a.donut, (l, d) => (u(), n("g", null, [
650
+ y("path", {
645
651
  class: "vue-ui-donut-arc-path",
646
652
  d: l.arcSlice,
647
- fill: r(Ue)(l.color, 80),
653
+ fill: r(Ge)(l.color, 80),
648
654
  stroke: e.value.style.chart.backgroundColor,
649
655
  "stroke-width": e.value.style.chart.layout.donut.borderWidth,
650
- filter: Ie(l, d)
651
- }, null, 8, Gt)
656
+ filter: Pe(l, d)
657
+ }, null, 8, Ht)
652
658
  ]))), 256))
653
659
  ]))), 256)),
654
- e.value.style.chart.useGradient ? (s(), n("g", Yt, [
655
- (s(!0), n(L, null, T(Se.value, (a, o) => (s(), n("g", null, [
656
- p("path", {
660
+ e.value.style.chart.useGradient ? (u(), n("g", qt, [
661
+ (u(!0), n(_, null, T(Oe.value, (a, o) => (u(), n("g", null, [
662
+ y("path", {
657
663
  d: a.donut.arcSlice,
658
664
  fill: `url(#radial_${w.value}_${o})`,
659
665
  stroke: "transparent",
660
666
  "stroke-width": "0"
661
- }, null, 8, Xt)
667
+ }, null, 8, Jt)
662
668
  ]))), 256))
663
669
  ])) : v("", !0),
664
- e.value.style.chart.layout.labels.dataLabels.showDonutName ? (s(), n("g", Wt, [
665
- (s(!0), n(L, null, T(W.value, (a, o) => (s(), n("g", null, [
666
- (s(!0), n(L, null, T(a.donut, (l, d) => (s(), n("g", null, [
667
- d === 0 && h.value.width && h.value.height ? (s(), n("text", {
670
+ e.value.style.chart.layout.labels.dataLabels.showDonutName ? (u(), n("g", Kt, [
671
+ (u(!0), n(_, null, T(W.value, (a, o) => (u(), n("g", null, [
672
+ (u(!0), n(_, null, T(a.donut, (l, d) => (u(), n("g", null, [
673
+ d === 0 && h.value.width && h.value.height ? (u(), n("text", {
668
674
  key: 0,
669
675
  class: P({ animated: e.value.useCssAnimation }),
670
676
  x: h.value.width / 2,
@@ -673,30 +679,30 @@ const de = (U) => (ot("data-v-02bfd901"), U = U(), st(), U), It = ["id"], At = [
673
679
  "font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
674
680
  "font-weight": e.value.style.chart.layout.labels.dataLabels.boldDonutName ? "bold" : "normal",
675
681
  fill: e.value.style.chart.layout.labels.dataLabels.color
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)
682
+ }, N(e.value.style.chart.layout.labels.dataLabels.donutNameAbbreviation ? r(bt)({ source: a.name, length: e.value.style.chart.layout.labels.dataLabels.donutNameMaxAbbreviationSize }) : a.name), 11, Qt)) : v("", !0)
677
683
  ]))), 256))
678
684
  ]))), 256))
679
685
  ])) : v("", !0),
680
- e.value.style.chart.layout.labels.dataLabels.show ? (s(), n("g", qt, [
681
- (s(!0), n(L, null, T(W.value, (a, o) => (s(), n("g", null, [
682
- (s(!0), n(L, null, T(a.donut, (l, d) => (s(), n("g", {
683
- filter: Ie(l, d)
686
+ e.value.style.chart.layout.labels.dataLabels.show ? (u(), n("g", Zt, [
687
+ (u(!0), n(_, null, T(W.value, (a, o) => (u(), n("g", null, [
688
+ (u(!0), n(_, null, T(a.donut, (l, d) => (u(), n("g", {
689
+ filter: Pe(l, d)
684
690
  }, [
685
- se(l) && _.value.dataLabels.show && e.value.style.chart.layout.labels.dataLabels.showPercentage ? (s(), n("text", {
691
+ ue(l) && $.value.dataLabels.show && e.value.style.chart.layout.labels.dataLabels.showPercentage ? (u(), n("text", {
686
692
  key: 0,
687
693
  class: P({ animated: e.value.useCssAnimation }),
688
- "text-anchor": r(B)(l, !0).anchor,
689
- x: r(B)(l, !1, e.value.style.chart.layout.labels.dataLabels.offsetX).x || 0,
694
+ "text-anchor": r(U)(l, !0).anchor,
695
+ x: r(U)(l, !1, e.value.style.chart.layout.labels.dataLabels.offsetX).x || 0,
690
696
  y: r(ie)(l, e.value.style.chart.layout.labels.dataLabels.offsetY, e.value.style.chart.layout.labels.dataLabels.offsetY),
691
697
  fill: e.value.style.chart.layout.labels.dataLabels.useSerieColor ? l.color : e.value.style.chart.layout.labels.dataLabels.color,
692
698
  "font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
693
699
  "font-weight": e.value.style.chart.layout.labels.dataLabels.boldPercentage ? "bold" : "normal"
694
- }, N(r(x)({ v: l.proportion * 100, s: "%", r: e.value.style.chart.layout.labels.dataLabels.roundingPercentage })), 11, Kt)) : 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", {
700
+ }, N(r(x)({ v: l.proportion * 100, s: "%", r: e.value.style.chart.layout.labels.dataLabels.roundingPercentage })), 11, el)) : v("", !0),
701
+ ue(l) && $.value.dataLabels.show && e.value.style.chart.layout.labels.dataLabels.showPercentage && e.value.style.chart.layout.labels.dataLabels.showValue ? (u(), n("text", {
696
702
  key: 1,
697
703
  class: P({ animated: e.value.useCssAnimation }),
698
- "text-anchor": r(B)(l, !0).anchor,
699
- x: r(B)(l, !1, e.value.style.chart.layout.labels.dataLabels.offsetX).x || 0,
704
+ "text-anchor": r(U)(l, !0).anchor,
705
+ x: r(U)(l, !1, e.value.style.chart.layout.labels.dataLabels.offsetX).x || 0,
700
706
  y: r(ie)(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,
701
707
  fill: e.value.style.chart.layout.labels.dataLabels.useSerieColor ? l.color : e.value.style.chart.layout.labels.dataLabels.color,
702
708
  "font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
@@ -711,12 +717,12 @@ const de = (U) => (ot("data-v-02bfd901"), U = U(), st(), U), It = ["id"], At = [
711
717
  r: e.value.style.chart.layout.labels.dataLabels.roundingValue
712
718
  }),
713
719
  { 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", {
720
+ )) + ") ", 11, tl)) : v("", !0),
721
+ ue(l) && $.value.dataLabels.show && !e.value.style.chart.layout.labels.dataLabels.showPercentage && e.value.style.chart.layout.labels.dataLabels.showValue ? (u(), n("text", {
716
722
  key: 2,
717
723
  class: P({ animated: e.value.useCssAnimation }),
718
- "text-anchor": r(B)(l, !0).anchor,
719
- x: r(B)(l, !1, e.value.style.chart.layout.labels.dataLabels.offsetX).x || 0,
724
+ "text-anchor": r(U)(l, !0).anchor,
725
+ x: r(U)(l, !1, e.value.style.chart.layout.labels.dataLabels.offsetX).x || 0,
720
726
  y: r(ie)(l, e.value.style.chart.layout.labels.dataLabels.offsetY, e.value.style.chart.layout.labels.dataLabels.offsetY),
721
727
  fill: e.value.style.chart.layout.labels.dataLabels.useSerieColor ? l.color : e.value.style.chart.layout.labels.dataLabels.color,
722
728
  "font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
@@ -731,34 +737,34 @@ const de = (U) => (ot("data-v-02bfd901"), U = U(), st(), U), It = ["id"], At = [
731
737
  r: e.value.style.chart.layout.labels.dataLabels.roundingValue
732
738
  }),
733
739
  { datapoint: l, seriesIndex: o, datapointIndex: d }
734
- )), 11, Zt)) : v("", !0)
735
- ], 8, Jt))), 256))
740
+ )), 11, ll)) : v("", !0)
741
+ ], 8, jt))), 256))
736
742
  ]))), 256))
737
743
  ])) : v("", !0),
738
- (s(!0), n(L, null, T(W.value, (a, o) => (s(), n("g", null, [
739
- (s(!0), n(L, null, T(a.donut, (l, d) => (s(), n("g", null, [
740
- p("path", {
744
+ (u(!0), n(_, null, T(W.value, (a, o) => (u(), n("g", null, [
745
+ (u(!0), n(_, null, T(a.donut, (l, d) => (u(), n("g", null, [
746
+ y("path", {
741
747
  "data-cy-donut-trap": "",
742
748
  d: l.arcSlice,
743
- fill: Xe.value === o ? "rgba(0,0,0,0.1)" : "transparent",
744
- onMouseenter: (b) => Qe({
749
+ fill: qe.value === o ? "rgba(0,0,0,0.1)" : "transparent",
750
+ onMouseenter: (b) => et({
745
751
  datapoint: l,
746
752
  relativeIndex: o,
747
753
  seriesIndex: l.seriesIndex
748
754
  }),
749
- onClick: (b) => Je({ datapoint: l, index: d }),
750
- onMouseleave: u[0] || (u[0] = (b) => {
751
- j.value = !1, Ne.value = null, H.value = null, q.value = null;
755
+ onClick: (b) => Ze({ datapoint: l, index: d }),
756
+ onMouseleave: s[0] || (s[0] = (b) => {
757
+ ee.value = !1, Ae.value = null, H.value = null, q.value = null;
752
758
  })
753
- }, null, 40, jt)
759
+ }, null, 40, al)
754
760
  ]))), 256))
755
761
  ]))), 256)),
756
762
  k(t.$slots, "svg", { svg: h.value }, void 0, !0)
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)
763
+ ], 14, zt)) : v("", !0),
764
+ t.$slots.watermark ? (u(), n("div", ol, [
765
+ k(t.$slots, "watermark", R(E({ isPrinting: r(_e) || r(xe) })), void 0, !0)
760
766
  ])) : v("", !0),
761
- Y.value ? v("", !0) : (s(), D(Ct, {
767
+ Y.value ? v("", !0) : (u(), D(St, {
762
768
  key: 6,
763
769
  config: {
764
770
  type: "donut",
@@ -770,8 +776,8 @@ const de = (U) => (ot("data-v-02bfd901"), U = U(), st(), U), It = ["id"], At = [
770
776
  }
771
777
  }
772
778
  }, null, 8, ["config"])),
773
- Ve(Lt, {
774
- show: _.value.showTooltip && j.value,
779
+ Be(Ft, {
780
+ show: $.value.showTooltip && ee.value,
775
781
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
776
782
  color: e.value.style.chart.tooltip.color,
777
783
  borderRadius: e.value.style.chart.tooltip.borderRadius,
@@ -782,39 +788,39 @@ const de = (U) => (ot("data-v-02bfd901"), U = U(), st(), U), It = ["id"], At = [
782
788
  position: e.value.style.chart.tooltip.position,
783
789
  offsetY: e.value.style.chart.tooltip.offsetY,
784
790
  parent: z.value,
785
- content: ee.value,
791
+ content: te.value,
786
792
  isFullscreen: V.value,
787
- isCustom: r(Re)(e.value.style.chart.tooltip.customFormat)
793
+ isCustom: r(Ye)(e.value.style.chart.tooltip.customFormat)
788
794
  }, {
789
795
  "tooltip-before": m(() => [
790
- k(t.$slots, "tooltip-before", R(E({ ...oe.value })), void 0, !0)
796
+ k(t.$slots, "tooltip-before", R(E({ ...se.value })), void 0, !0)
791
797
  ]),
792
798
  "tooltip-after": m(() => [
793
- k(t.$slots, "tooltip-after", R(E({ ...oe.value })), void 0, !0)
799
+ k(t.$slots, "tooltip-after", R(E({ ...se.value })), void 0, !0)
794
800
  ]),
795
801
  _: 3
796
802
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
797
- e.value.style.chart.legend.show ? (s(), n("div", {
803
+ e.value.style.chart.legend.show ? (u(), n("div", {
798
804
  key: 7,
799
805
  ref_key: "chartLegend",
800
- ref: te,
801
- class: P({ "vue-ui-nested-donuts-legend": ue.value.length > 1 })
806
+ ref: le,
807
+ class: P({ "vue-ui-nested-donuts-legend": ne.value.length > 1 })
802
808
  }, [
803
- (s(!0), n(L, null, T(ue.value, (a, o) => (s(), D(xt, {
809
+ (u(!0), n(_, null, T(ne.value, (a, o) => (u(), D(Tt, {
804
810
  key: `legend_${o}_${ge.value}`,
805
811
  legendSet: a,
806
- config: Ze.value,
807
- onClickMarker: u[1] || (u[1] = ({ legend: l }) => le(l))
812
+ config: tt.value,
813
+ onClickMarker: s[1] || (s[1] = ({ legend: l }) => ae(l))
808
814
  }, {
809
815
  legendTitle: m(({ titleSet: l }) => [
810
- l[0] && l[0].arcOf ? (s(), n("div", tl, N(l[0].arcOf), 1)) : v("", !0)
816
+ l[0] && l[0].arcOf ? (u(), n("div", sl, N(l[0].arcOf), 1)) : v("", !0)
811
817
  ]),
812
818
  item: m(({ legend: l, index: d }) => [
813
- p("div", {
814
- onClick: (b) => le(l),
815
- style: re(`opacity:${y.value.includes(l.id) ? 0.5 : 1}`)
819
+ y("div", {
820
+ onClick: (b) => ae(l),
821
+ style: Q(`opacity:${p.value.includes(l.id) ? 0.5 : 1}`)
816
822
  }, [
817
- Q(N(l.name) + ": " + N(r(G)(
823
+ Z(N(l.name) + ": " + N(r(G)(
818
824
  e.value.style.chart.layout.labels.dataLabels.formatter,
819
825
  l.value,
820
826
  r(x)({
@@ -825,24 +831,24 @@ const de = (U) => (ot("data-v-02bfd901"), U = U(), st(), U), It = ["id"], At = [
825
831
  }),
826
832
  { datapoint: l, seriesIndex: d }
827
833
  )) + " ", 1),
828
- y.value.includes(l.id) ? (s(), n(L, { key: 1 }, [
829
- Q(" ( - % ) ")
830
- ], 64)) : (s(), n(L, { key: 0 }, [
831
- Q(" (" + N(isNaN(l.value / l.total) ? "-" : r(x)({ v: l.value / l.total * 100, s: "%", r: e.value.style.chart.legend.roundingPercentage })) + ") ", 1)
834
+ p.value.includes(l.id) ? (u(), n(_, { key: 1 }, [
835
+ Z(" ( - % ) ")
836
+ ], 64)) : (u(), n(_, { key: 0 }, [
837
+ Z(" (" + N(isNaN(l.value / l.total) ? "-" : r(x)({ v: l.value / l.total * 100, s: "%", r: e.value.style.chart.legend.roundingPercentage })) + ") ", 1)
832
838
  ], 64))
833
- ], 12, ll)
839
+ ], 12, ul)
834
840
  ]),
835
841
  _: 2
836
842
  }, 1032, ["legendSet", "config"]))), 128))
837
843
  ], 2)) : v("", !0),
838
- e.value.style.chart.legend.show ? v("", !0) : (s(), n("div", {
844
+ e.value.style.chart.legend.show ? v("", !0) : (u(), n("div", {
839
845
  key: 8,
840
846
  ref_key: "chartLegend",
841
- ref: te
847
+ ref: le
842
848
  }, [
843
- k(t.$slots, "legend", { legend: ue.value }, void 0, !0)
849
+ k(t.$slots, "legend", { legend: ne.value }, void 0, !0)
844
850
  ], 512)),
845
- t.$slots.source ? (s(), n("div", {
851
+ t.$slots.source ? (u(), n("div", {
846
852
  key: 9,
847
853
  ref_key: "source",
848
854
  ref: he,
@@ -850,11 +856,11 @@ const de = (U) => (ot("data-v-02bfd901"), U = U(), st(), U), It = ["id"], At = [
850
856
  }, [
851
857
  k(t.$slots, "source", {}, void 0, !0)
852
858
  ], 512)) : v("", !0),
853
- Y.value ? (s(), D(Ft, {
859
+ Y.value ? (u(), D(Nt, {
854
860
  key: 10,
855
861
  hideDetails: "",
856
862
  config: {
857
- open: _.value.showTable,
863
+ open: $.value.showTable,
858
864
  maxHeight: 1e4,
859
865
  body: {
860
866
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -867,32 +873,32 @@ const de = (U) => (ot("data-v-02bfd901"), U = U(), st(), U), It = ["id"], At = [
867
873
  }
868
874
  }, {
869
875
  content: m(() => [
870
- (s(), D($t, {
876
+ (u(), D(Ct, {
871
877
  key: `table_${be.value}`,
872
878
  colNames: J.value.colNames,
873
879
  head: J.value.head,
874
880
  body: J.value.body,
875
881
  config: J.value.config,
876
882
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
877
- onClose: u[2] || (u[2] = (a) => _.value.showTable = !1)
883
+ onClose: s[2] || (s[2] = (a) => $.value.showTable = !1)
878
884
  }, {
879
885
  th: m(({ th: a }) => [
880
- p("div", {
886
+ y("div", {
881
887
  innerHTML: a,
882
888
  style: { display: "flex", "align-items": "center" }
883
- }, null, 8, al)
889
+ }, null, 8, nl)
884
890
  ]),
885
891
  td: m(({ td: a }) => [
886
- Q(N(a.name || a), 1)
892
+ Z(N(a.name || a), 1)
887
893
  ]),
888
894
  _: 1
889
895
  }, 8, ["colNames", "head", "body", "config", "title"]))
890
896
  ]),
891
897
  _: 1
892
898
  }, 8, ["config"])) : v("", !0)
893
- ], 14, It));
899
+ ], 46, Dt));
894
900
  }
895
- }, ml = /* @__PURE__ */ Nt(ol, [["__scopeId", "data-v-02bfd901"]]);
901
+ }, _l = /* @__PURE__ */ Pt(rl, [["__scopeId", "data-v-5dacef14"]]);
896
902
  export {
897
- ml as default
903
+ _l as default
898
904
  };