vue-data-ui 2.4.1 → 2.4.2

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 (201) hide show
  1. package/README.md +44 -44
  2. package/dist/{Arrow-DpMf3yPs.cjs → Arrow-DLTRnzcG.cjs} +1 -1
  3. package/dist/{Arrow-BIs_9yK8.js → Arrow-JuK2z9IB.js} +1 -1
  4. package/dist/BaseIcon-BGExhz6v.cjs +1 -0
  5. package/dist/{BaseIcon-CXDdkPfN.js → BaseIcon-rRli6Sfv.js} +7 -4
  6. package/dist/{DataTable-BTgMVOwp.cjs → DataTable-DJzhv96s.cjs} +1 -1
  7. package/dist/{DataTable-DL2agEJ3.js → DataTable-DTk7C4Pr.js} +2 -2
  8. package/dist/{Legend-DXLiSLHd.js → Legend-CYF2gpXG.js} +1 -1
  9. package/dist/{Legend-Dj9KiaLv.cjs → Legend-YZ7Hz3o1.cjs} +1 -1
  10. package/dist/{PackageVersion-DtnhR89q.js → PackageVersion-CvCRsT5_.js} +1 -1
  11. package/dist/{PackageVersion-D4D0WicU.cjs → PackageVersion-DVZtsuy4.cjs} +1 -1
  12. package/dist/PenAndPaper-CyXm-yVL.cjs +1 -0
  13. package/dist/PenAndPaper-Jb0pLt3G.js +269 -0
  14. package/dist/{Shape-CO_Ak9Zm.js → Shape-BpPn4eWR.js} +1 -1
  15. package/dist/{Shape-7EC2UKDK.cjs → Shape-X2F-QV_B.cjs} +1 -1
  16. package/dist/{Slicer-CLAVjSQP.cjs → Slicer-CL0tP5a5.cjs} +1 -1
  17. package/dist/{Slicer-BZfUZr1J.js → Slicer-CU7dRZR0.js} +2 -2
  18. package/dist/{Title-DYNLqCCT.js → Title-5VmBwT4i.js} +1 -1
  19. package/dist/{Title-C-lm3Mkl.cjs → Title-Co5jI5ed.cjs} +1 -1
  20. package/dist/{Tooltip-t-3mVhcz.cjs → Tooltip-Bl6W8Zn7.cjs} +1 -1
  21. package/dist/{Tooltip-CICAYyQj.js → Tooltip-Cj4EF7v1.js} +1 -1
  22. package/dist/{index-DDXisDKy.js → index-DnVHQ2xI.js} +880 -842
  23. package/dist/index-FfZRtJ6A.cjs +9 -0
  24. package/dist/style.css +1 -1
  25. package/dist/types/vue-data-ui.d.cts +18 -16
  26. package/dist/types/vue-data-ui.d.ts +18 -16
  27. package/dist/{useNestedProp-S1UXxUgm.js → useNestedProp-Cox0K0Y5.js} +1 -1
  28. package/dist/{useNestedProp-CC9zGr7C.cjs → useNestedProp-q7byAAIJ.cjs} +1 -1
  29. package/dist/usePrinter-BCAFeO_J.cjs +1 -0
  30. package/dist/{usePrinter-8ofTb2MJ.js → usePrinter-BEeNAqS5.js} +230 -185
  31. package/dist/vue-data-ui-CRLLZpt0.cjs +9 -0
  32. package/dist/vue-data-ui-W7nnqn0v.js +261 -0
  33. package/dist/vue-data-ui.cjs +1 -1
  34. package/dist/vue-data-ui.js +1 -1
  35. package/dist/{vue-ui-3d-bar-DcF1nyGW.js → vue-ui-3d-bar-BwBrUabe.js} +414 -390
  36. package/dist/vue-ui-3d-bar-bD_n6qL_.cjs +19 -0
  37. package/dist/{vue-ui-accordion-D_1fE5EF.js → vue-ui-accordion-DspS4q3f.js} +3 -3
  38. package/dist/{vue-ui-accordion-Cc9958th.cjs → vue-ui-accordion-xXgqfR2l.cjs} +1 -1
  39. package/dist/vue-ui-age-pyramid-BZcAwcVQ.cjs +1 -0
  40. package/dist/{vue-ui-age-pyramid-Oe_yHDL0.js → vue-ui-age-pyramid-CxBvm3uM.js} +218 -194
  41. package/dist/{vue-ui-annotator-Dix6_Gm6.js → vue-ui-annotator-BOofWpzv.js} +1 -1
  42. package/dist/{vue-ui-annotator-Dbp6cWMr.cjs → vue-ui-annotator-C6T5_7ZV.cjs} +1 -1
  43. package/dist/vue-ui-bullet-ChaEgXvR.cjs +23 -0
  44. package/dist/vue-ui-bullet-DraC-oFu.js +433 -0
  45. package/dist/vue-ui-candlestick--hPCfMFH.cjs +2 -0
  46. package/dist/{vue-ui-candlestick-CRwzWF6j.js → vue-ui-candlestick-DQZ5eT1f.js} +267 -243
  47. package/dist/{vue-ui-carousel-table-C0GDDSW9.cjs → vue-ui-carousel-table-DpRQklDZ.cjs} +1 -1
  48. package/dist/{vue-ui-carousel-table-BHeEbRKY.js → vue-ui-carousel-table-PdLjpH1p.js} +4 -4
  49. package/dist/{vue-ui-chestnut-CRk0RCB9.js → vue-ui-chestnut-ByI_O5hB.js} +293 -269
  50. package/dist/vue-ui-chestnut-ae6x87wl.cjs +6 -0
  51. package/dist/{vue-ui-cursor-y0kdr0uA.js → vue-ui-cursor-BM74l93B.js} +2 -2
  52. package/dist/{vue-ui-cursor-lU1rts1B.cjs → vue-ui-cursor-BvadpA2m.cjs} +1 -1
  53. package/dist/{vue-ui-dashboard-OyihaKdu.js → vue-ui-dashboard-CoANBhAM.js} +2 -2
  54. package/dist/{vue-ui-dashboard-BfC0jS-X.cjs → vue-ui-dashboard-OP51Gs8I.cjs} +1 -1
  55. package/dist/{vue-ui-digits-BJfcAiq_.cjs → vue-ui-digits-C7jJJg9k.cjs} +1 -1
  56. package/dist/{vue-ui-digits-IKt4qT2-.js → vue-ui-digits-DioaBnkB.js} +2 -2
  57. package/dist/vue-ui-donut-CplNylps.cjs +1 -0
  58. package/dist/vue-ui-donut-evolution-CQpr-6IS.cjs +1 -0
  59. package/dist/{vue-ui-donut-evolution-Dd4o37RP.js → vue-ui-donut-evolution-DAb1xzNd.js} +330 -306
  60. package/dist/{vue-ui-donut-DFaGk4fI.js → vue-ui-donut-ldqSm_JV.js} +345 -321
  61. package/dist/{vue-ui-dumbbell-B7j1_JoQ.js → vue-ui-dumbbell-Dg7PkiKJ.js} +265 -241
  62. package/dist/vue-ui-dumbbell-_ijaYr8W.cjs +9 -0
  63. package/dist/vue-ui-flow-BPt35d5K.cjs +1 -0
  64. package/dist/vue-ui-flow-DKT7ZEnr.js +508 -0
  65. package/dist/vue-ui-galaxy-e06PkTmp.cjs +1 -0
  66. package/dist/{vue-ui-galaxy-CH1BDtWl.js → vue-ui-galaxy-qAA9be3S.js} +193 -169
  67. package/dist/vue-ui-gauge-D8yVTIgP.js +518 -0
  68. package/dist/vue-ui-gauge-DiZVIU0D.cjs +1 -0
  69. package/dist/{vue-ui-gizmo-CKQcbe_7.js → vue-ui-gizmo-DC0uUwI3.js} +3 -3
  70. package/dist/{vue-ui-gizmo-DVwQaEH1.cjs → vue-ui-gizmo-W6bTkg59.cjs} +1 -1
  71. package/dist/vue-ui-heatmap-CbZcv_2I.cjs +1 -0
  72. package/dist/{vue-ui-heatmap-B-zWMk0Y.js → vue-ui-heatmap-u1raIzBQ.js} +252 -228
  73. package/dist/{vue-ui-kpi-CghbfSdM.js → vue-ui-kpi-C-iTxMD2.js} +3 -3
  74. package/dist/{vue-ui-kpi-CuY3xlVq.cjs → vue-ui-kpi-DY_2WF7U.cjs} +1 -1
  75. package/dist/{vue-ui-mini-loader-CH_PfeDc.cjs → vue-ui-mini-loader-Bfq2MNWu.cjs} +1 -1
  76. package/dist/{vue-ui-mini-loader-C7roqZ4p.js → vue-ui-mini-loader-C7x7S0hi.js} +2 -2
  77. package/dist/vue-ui-molecule-BFnOIxxs.js +798 -0
  78. package/dist/vue-ui-molecule-CbKMLrDT.cjs +1 -0
  79. package/dist/vue-ui-mood-radar-6LmFXuiw.cjs +1 -0
  80. package/dist/{vue-ui-mood-radar-DSznHxLS.js → vue-ui-mood-radar-CR1v5v2x.js} +263 -239
  81. package/dist/{vue-ui-nested-donuts-CiE4DdEQ.js → vue-ui-nested-donuts-DEiloQzq.js} +342 -318
  82. package/dist/vue-ui-nested-donuts-DS0fjiLi.cjs +17 -0
  83. package/dist/vue-ui-onion-CLvvu4Ku.cjs +5 -0
  84. package/dist/{vue-ui-onion-D9o6Rcgu.js → vue-ui-onion-LsEhBe4x.js} +226 -202
  85. package/dist/vue-ui-parallel-coordinate-plot-BWg8OFqH.cjs +8 -0
  86. package/dist/{vue-ui-parallel-coordinate-plot-BcYrYXhG.js → vue-ui-parallel-coordinate-plot-CTlIjJqG.js} +243 -219
  87. package/dist/{vue-ui-quadrant-Cs3A77us.js → vue-ui-quadrant-DKVVFufb.js} +350 -326
  88. package/dist/vue-ui-quadrant-OM5J1mG3.cjs +1 -0
  89. package/dist/{vue-ui-quick-chart-CiiSUexi.js → vue-ui-quick-chart-8vJikiGH.js} +505 -481
  90. package/dist/vue-ui-quick-chart-gG5Ar8-i.cjs +15 -0
  91. package/dist/{vue-ui-radar-CNSpiNrM.js → vue-ui-radar-20QhOUer.js} +255 -231
  92. package/dist/vue-ui-radar-CAaHjDO7.cjs +1 -0
  93. package/dist/{vue-ui-rating-GoUNDOdZ.cjs → vue-ui-rating-Bbzm5nUK.cjs} +1 -1
  94. package/dist/{vue-ui-rating-b_iYZWF8.js → vue-ui-rating-DRWJsve1.js} +2 -2
  95. package/dist/vue-ui-relation-circle-BoGAFXuS.cjs +1 -0
  96. package/dist/vue-ui-relation-circle-I45_Sk5l.js +349 -0
  97. package/dist/vue-ui-rings-B9WQ7S5m.cjs +2 -0
  98. package/dist/vue-ui-rings-DG8GCi3y.js +593 -0
  99. package/dist/vue-ui-scatter-BZfg1YIN.cjs +1 -0
  100. package/dist/{vue-ui-scatter-CVuoW-cD.js → vue-ui-scatter-Hqu5-F2H.js} +369 -345
  101. package/dist/{vue-ui-screenshot-Co2o48d6.cjs → vue-ui-screenshot-D8nxd5RV.cjs} +1 -1
  102. package/dist/{vue-ui-screenshot-Csc0dQL9.js → vue-ui-screenshot-cjiqbtLK.js} +1 -1
  103. package/dist/{vue-ui-skeleton-CGV1dEUD.cjs → vue-ui-skeleton-Djv08J67.cjs} +1 -1
  104. package/dist/{vue-ui-skeleton-B2sRnIXX.js → vue-ui-skeleton-aZmkNzAe.js} +3 -3
  105. package/dist/{vue-ui-smiley-Ci3uMgVh.cjs → vue-ui-smiley-B1TA19Hv.cjs} +1 -1
  106. package/dist/{vue-ui-smiley-D4s-AdIE.js → vue-ui-smiley-ChNvxygm.js} +2 -2
  107. package/dist/{vue-ui-spark-trend-BfoEoJEy.cjs → vue-ui-spark-trend-BqrPr63O.cjs} +1 -1
  108. package/dist/{vue-ui-spark-trend-CHKQGMLs.js → vue-ui-spark-trend-CQxELQcf.js} +5 -5
  109. package/dist/{vue-ui-sparkbar-Bb1fq2GR.js → vue-ui-sparkbar-0ixbKZzf.js} +4 -4
  110. package/dist/{vue-ui-sparkbar-DB2DeXti.cjs → vue-ui-sparkbar-CrTEPTU5.cjs} +1 -1
  111. package/dist/{vue-ui-sparkgauge-CJepIY2u.cjs → vue-ui-sparkgauge-BYxpe_WV.cjs} +1 -1
  112. package/dist/{vue-ui-sparkgauge-DWuaAQbo.js → vue-ui-sparkgauge-pdYb7OwH.js} +4 -4
  113. package/dist/{vue-ui-sparkhistogram-B7B36LLT.cjs → vue-ui-sparkhistogram-D21XDUH2.cjs} +1 -1
  114. package/dist/{vue-ui-sparkhistogram-CjeJ3ch1.js → vue-ui-sparkhistogram-N69h2q0U.js} +5 -5
  115. package/dist/{vue-ui-sparkline-DGJDBArr.js → vue-ui-sparkline-2BKYZMOb.js} +4 -4
  116. package/dist/{vue-ui-sparkline-BcqmwDAb.cjs → vue-ui-sparkline-Cf4m-Fxo.cjs} +1 -1
  117. package/dist/{vue-ui-sparkstackbar-DT3aKNeV.cjs → vue-ui-sparkstackbar-dAS8XoJs.cjs} +1 -1
  118. package/dist/{vue-ui-sparkstackbar-B3ul3qUZ.js → vue-ui-sparkstackbar-sh03cuOU.js} +4 -4
  119. package/dist/vue-ui-stackbar-B1si-1RM.js +938 -0
  120. package/dist/vue-ui-stackbar-Dy_saeSe.cjs +6 -0
  121. package/dist/{vue-ui-strip-plot-CIb2LSV8.js → vue-ui-strip-plot-BYn-QrTQ.js} +274 -250
  122. package/dist/vue-ui-strip-plot-D53LABpZ.cjs +1 -0
  123. package/dist/{vue-ui-table-B_sFrAO9.cjs → vue-ui-table-Ce4waJaj.cjs} +1 -1
  124. package/dist/{vue-ui-table-CmVi0nv2.js → vue-ui-table-DQORPCDJ.js} +1 -1
  125. package/dist/{vue-ui-table-heatmap-CgFr38QT.js → vue-ui-table-heatmap-Csp7Tx8N.js} +4 -4
  126. package/dist/{vue-ui-table-heatmap-Chvdf2Gi.cjs → vue-ui-table-heatmap-EqHt-O7Y.cjs} +1 -1
  127. package/dist/{vue-ui-table-sparkline-DUUYQ5dH.cjs → vue-ui-table-sparkline-DONmVOMh.cjs} +1 -1
  128. package/dist/{vue-ui-table-sparkline-eg2Qd8ws.js → vue-ui-table-sparkline-DdwVrfUj.js} +5 -5
  129. package/dist/vue-ui-thermometer-I6ZnlfAv.js +440 -0
  130. package/dist/vue-ui-thermometer-hQBkMa7u.cjs +1 -0
  131. package/dist/{vue-ui-timer-DM1IStj1.cjs → vue-ui-timer-COOXcn14.cjs} +1 -1
  132. package/dist/{vue-ui-timer-COSI3Q5T.js → vue-ui-timer-pi1SazTU.js} +5 -5
  133. package/dist/vue-ui-tiremarks-hdNqoGyd.cjs +1 -0
  134. package/dist/vue-ui-tiremarks-vdPQYiDp.js +303 -0
  135. package/dist/vue-ui-treemap-3FNUlKxL.js +816 -0
  136. package/dist/vue-ui-treemap-Cv0TSFQa.cjs +1 -0
  137. package/dist/vue-ui-vertical-bar-C--Ma0Dw.cjs +4 -0
  138. package/dist/{vue-ui-vertical-bar-CieqHVD5.js → vue-ui-vertical-bar-DwxpB46q.js} +312 -288
  139. package/dist/vue-ui-waffle-CKM0QyJN.cjs +1 -0
  140. package/dist/vue-ui-waffle-XecHJIc-.js +782 -0
  141. package/dist/vue-ui-wheel-Bbih5sSL.js +282 -0
  142. package/dist/vue-ui-wheel-C0dJrzOJ.cjs +1 -0
  143. package/dist/vue-ui-word-cloud-Cfd2wxsT.cjs +1 -0
  144. package/dist/vue-ui-word-cloud-DnhXUn5x.js +598 -0
  145. package/dist/vue-ui-xy-BDpqVzAq.cjs +3 -0
  146. package/dist/{vue-ui-xy-x8KEsGV-.js → vue-ui-xy-CqlRuFMc.js} +775 -751
  147. package/dist/{vue-ui-xy-canvas-BYdTxzi6.js → vue-ui-xy-canvas-C8c2X5fk.js} +409 -385
  148. package/dist/vue-ui-xy-canvas-Cansjd3L.cjs +9 -0
  149. package/package.json +1 -1
  150. package/dist/BaseIcon-E7FmzMcY.cjs +0 -1
  151. package/dist/index-C7_6YjWN.cjs +0 -9
  152. package/dist/usePrinter-8EP4iaGm.cjs +0 -1
  153. package/dist/vue-data-ui-4Yd255Ia.cjs +0 -9
  154. package/dist/vue-data-ui-Cp7bO_tj.js +0 -258
  155. package/dist/vue-ui-3d-bar-BeR2aBgQ.cjs +0 -19
  156. package/dist/vue-ui-age-pyramid-R-C4P4mI.cjs +0 -1
  157. package/dist/vue-ui-bullet-CQKaC4wG.js +0 -409
  158. package/dist/vue-ui-bullet-DSZox236.cjs +0 -23
  159. package/dist/vue-ui-candlestick-Dilozp3V.cjs +0 -2
  160. package/dist/vue-ui-chestnut-DdEcEI04.cjs +0 -6
  161. package/dist/vue-ui-donut-DTSVlGMg.cjs +0 -1
  162. package/dist/vue-ui-donut-evolution-BuUafabD.cjs +0 -1
  163. package/dist/vue-ui-dumbbell-CVfgnyKi.cjs +0 -9
  164. package/dist/vue-ui-flow-C45dODaB.cjs +0 -1
  165. package/dist/vue-ui-flow-DkPTzNv9.js +0 -484
  166. package/dist/vue-ui-galaxy-DlPavMK0.cjs +0 -1
  167. package/dist/vue-ui-gauge-BXiy515T.js +0 -494
  168. package/dist/vue-ui-gauge-vMFUYHYH.cjs +0 -1
  169. package/dist/vue-ui-heatmap-CMQqQnxc.cjs +0 -1
  170. package/dist/vue-ui-molecule-BwmkMEVN.js +0 -774
  171. package/dist/vue-ui-molecule-nOuD0hR5.cjs +0 -1
  172. package/dist/vue-ui-mood-radar-Bof_C9Ae.cjs +0 -1
  173. package/dist/vue-ui-nested-donuts-DIb6YyWv.cjs +0 -17
  174. package/dist/vue-ui-onion-N3tRNc4u.cjs +0 -5
  175. package/dist/vue-ui-parallel-coordinate-plot-qKGk2bX6.cjs +0 -8
  176. package/dist/vue-ui-quadrant-Do48rGrX.cjs +0 -1
  177. package/dist/vue-ui-quick-chart-BxU4d-sJ.cjs +0 -15
  178. package/dist/vue-ui-radar-CooAvwPA.cjs +0 -1
  179. package/dist/vue-ui-relation-circle-nRf1pvD0.js +0 -325
  180. package/dist/vue-ui-relation-circle-uNgJni4x.cjs +0 -1
  181. package/dist/vue-ui-rings-BgRc1o4_.js +0 -569
  182. package/dist/vue-ui-rings-iIgQI9Ws.cjs +0 -2
  183. package/dist/vue-ui-scatter-CkrpmLxP.cjs +0 -1
  184. package/dist/vue-ui-stackbar-CRcUugkl.cjs +0 -6
  185. package/dist/vue-ui-stackbar-DNROvZII.js +0 -915
  186. package/dist/vue-ui-strip-plot-Ck9Fmt_b.cjs +0 -1
  187. package/dist/vue-ui-thermometer-BFfN4aat.cjs +0 -1
  188. package/dist/vue-ui-thermometer-BePmFiwy.js +0 -416
  189. package/dist/vue-ui-tiremarks-BkYXzU3R.cjs +0 -1
  190. package/dist/vue-ui-tiremarks-d6TmSHY7.js +0 -279
  191. package/dist/vue-ui-treemap-BgeZnbl3.cjs +0 -1
  192. package/dist/vue-ui-treemap-Qg0858o6.js +0 -792
  193. package/dist/vue-ui-vertical-bar-D3atbdvl.cjs +0 -4
  194. package/dist/vue-ui-waffle-CD7C9Lu4.cjs +0 -1
  195. package/dist/vue-ui-waffle-CjNhM-mV.js +0 -758
  196. package/dist/vue-ui-wheel-B8mbO6ht.js +0 -258
  197. package/dist/vue-ui-wheel-CYmM7J61.cjs +0 -1
  198. package/dist/vue-ui-word-cloud-DMXrUmX5.js +0 -574
  199. package/dist/vue-ui-word-cloud-Dm9yZ1zQ.cjs +0 -1
  200. package/dist/vue-ui-xy-DoWnidom.cjs +0 -3
  201. package/dist/vue-ui-xy-canvas-DHs5sb3t.cjs +0 -9
@@ -1,34 +1,35 @@
1
- import { computed as g, ref as d, watch as De, onMounted as Ke, onBeforeUnmount as Je, openBlock as u, createElementBlock as n, normalizeClass as z, normalizeStyle as ue, createBlock as P, createCommentVNode as y, unref as r, createSlots as Qe, withCtx as m, renderSlot as $, normalizeProps as q, guardReactiveProps as K, createVNode as Oe, createElementVNode as p, Fragment as x, renderList as S, toDisplayString as T, createTextVNode as J, nextTick as Ze, pushScopeId as je, popScopeId as et } from "vue";
2
- import { u as tt, c as lt, t as at, a as ot, p as Q, o as st, e as A, b as ut, I as ze, d as nt, m as Pe, f as L, X as rt, s as Ae, K as it, k as V, n as ne, i as R, x as Ve, y as dt, q as ct, r as vt } from "./index-DDXisDKy.js";
3
- import { t as ft, u as ht } from "./useResponsive-NZB-WLRF.js";
4
- import { _ as yt } from "./Title-DYNLqCCT.js";
5
- import { u as pt, U as bt } from "./usePrinter-8ofTb2MJ.js";
6
- import { D as gt } from "./DataTable-DL2agEJ3.js";
7
- import { _ as mt } from "./Tooltip-CICAYyQj.js";
8
- import { L as _t } from "./Legend-DXLiSLHd.js";
9
- import wt from "./vue-ui-skeleton-B2sRnIXX.js";
10
- import kt from "./vue-ui-accordion-D_1fE5EF.js";
11
- import { u as Me } from "./useNestedProp-S1UXxUgm.js";
12
- import { _ as xt } from "./PackageVersion-DtnhR89q.js";
13
- import { _ as $t } from "./_plugin-vue_export-helper-CHgC5LLL.js";
14
- const re = (M) => (je("data-v-e05474aa"), M = M(), et(), M), Lt = ["id"], Ct = ["xmlns", "viewBox"], Ft = ["id"], St = /* @__PURE__ */ re(() => /* @__PURE__ */ p("stop", {
1
+ import { computed as m, ref as d, watch as Pe, onMounted as Qe, onBeforeUnmount as Ze, openBlock as u, createElementBlock as n, normalizeClass as P, normalizeStyle as re, createBlock as D, createCommentVNode as f, unref as r, createSlots as je, withCtx as g, renderSlot as $, normalizeProps as R, guardReactiveProps as E, createVNode as De, createElementVNode as y, Fragment as x, renderList as S, toDisplayString as N, createTextVNode as Q, nextTick as et, pushScopeId as tt, popScopeId as lt } from "vue";
2
+ import { u as at, c as ot, t as st, a as ut, p as Z, o as nt, e as V, b as rt, I as ze, d as it, m as Ve, f as L, X as dt, s as Me, K as ct, k as M, n as ie, i as G, x as Be, y as vt, q as ft, r as ht } from "./index-DnVHQ2xI.js";
3
+ import { t as pt, u as yt } from "./useResponsive-NZB-WLRF.js";
4
+ import { _ as bt } from "./Title-5VmBwT4i.js";
5
+ import { u as gt, U as mt } from "./usePrinter-BEeNAqS5.js";
6
+ import { D as kt } from "./DataTable-DTk7C4Pr.js";
7
+ import { _ as wt } from "./Tooltip-Cj4EF7v1.js";
8
+ import { L as _t } from "./Legend-CYF2gpXG.js";
9
+ import $t from "./vue-ui-skeleton-aZmkNzAe.js";
10
+ import xt from "./vue-ui-accordion-DspS4q3f.js";
11
+ import { u as Ue } from "./useNestedProp-Cox0K0Y5.js";
12
+ import { _ as Lt } from "./PackageVersion-CvCRsT5_.js";
13
+ import { P as Ct } from "./PenAndPaper-Jb0pLt3G.js";
14
+ import { _ as Ft } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
+ const de = (B) => (tt("data-v-ab64cd29"), B = B(), lt(), B), St = ["id"], Tt = ["xmlns", "viewBox"], Nt = ["id"], It = /* @__PURE__ */ de(() => /* @__PURE__ */ y("stop", {
15
16
  offset: "0%",
16
17
  "stop-color": "#FFFFFF",
17
18
  "stop-opacity": "0"
18
- }, null, -1)), Nt = ["offset", "stop-color"], Tt = ["offset", "stop-opacity"], It = /* @__PURE__ */ re(() => /* @__PURE__ */ p("stop", {
19
+ }, null, -1)), At = ["offset", "stop-color"], Ot = ["offset", "stop-opacity"], Pt = /* @__PURE__ */ de(() => /* @__PURE__ */ y("stop", {
19
20
  offset: "100%",
20
21
  "stop-color": "#FFFFFF",
21
22
  "stop-opacity": "0"
22
- }, null, -1)), Dt = ["id"], Ot = ["id"], zt = /* @__PURE__ */ re(() => /* @__PURE__ */ p("feColorMatrix", {
23
+ }, null, -1)), Dt = ["id"], zt = ["id"], Vt = /* @__PURE__ */ de(() => /* @__PURE__ */ y("feColorMatrix", {
23
24
  type: "saturate",
24
25
  values: "0"
25
- }, null, -1)), Pt = ["id"], At = ["flood-color"], Vt = ["d", "fill", "stroke", "stroke-width", "filter"], Mt = { key: 0 }, Bt = ["d", "fill"], Ut = { key: 1 }, Rt = ["x", "y", "font-size", "font-weight", "fill"], Et = { key: 2 }, Gt = ["filter"], Yt = ["text-anchor", "x", "y", "fill", "font-size", "font-weight"], Xt = ["text-anchor", "x", "y", "fill", "font-size", "font-weight"], Wt = ["text-anchor", "x", "y", "fill", "font-size", "font-weight"], Ht = ["d", "fill", "onMouseenter", "onClick"], qt = {
26
- key: 3,
26
+ }, null, -1)), Mt = ["id"], Bt = ["flood-color"], Ut = ["d", "fill", "stroke", "stroke-width", "filter"], Rt = { key: 0 }, Et = ["d", "fill"], Gt = { key: 1 }, Yt = ["x", "y", "font-size", "font-weight", "fill"], Xt = { key: 2 }, Wt = ["filter"], Ht = ["text-anchor", "x", "y", "fill", "font-size", "font-weight"], qt = ["text-anchor", "x", "y", "fill", "font-size", "font-weight"], Kt = ["text-anchor", "x", "y", "fill", "font-size", "font-weight"], Jt = ["d", "fill", "onMouseenter", "onClick"], Qt = {
27
+ key: 4,
27
28
  class: "vue-data-ui-watermark"
28
- }, Kt = {
29
+ }, Zt = {
29
30
  key: 0,
30
31
  class: "vue-ui-nested-donuts-legend-title"
31
- }, Jt = ["onClick"], Qt = ["innerHTML"], Zt = {
32
+ }, jt = ["onClick"], el = ["innerHTML"], tl = {
32
33
  __name: "vue-ui-nested-donuts",
33
34
  props: {
34
35
  config: {
@@ -45,93 +46,93 @@ const re = (M) => (je("data-v-e05474aa"), M = M(), et(), M), Lt = ["id"], Ct = [
45
46
  }
46
47
  },
47
48
  emits: ["selectLegend", "selectDatapoint"],
48
- setup(M, { expose: Be, emit: ie }) {
49
- const I = M, { vue_ui_nested_donuts: Ue } = tt(), E = g(() => !!I.dataset && I.dataset.length), _ = d(lt()), Z = d(!1), j = d(""), Re = d(null), de = d(0), B = d(null), ce = d(null), ee = d(null), ve = d(0), fe = d(0), he = d(0), U = d(!1);
50
- function Ee(t) {
51
- U.value = t, de.value += 1;
49
+ setup(B, { expose: Re, emit: ce }) {
50
+ const I = B, { vue_ui_nested_donuts: Ee } = at(), Y = m(() => !!I.dataset && I.dataset.length), k = d(ot()), j = d(!1), ee = d(""), Ge = d(null), ve = d(0), z = d(null), fe = d(null), te = d(null), he = d(0), pe = d(0), ye = d(0), U = d(!1);
51
+ function Ye(t) {
52
+ U.value = t, ve.value += 1;
52
53
  }
53
- const e = g({
54
- get: () => ye(),
54
+ const e = m({
55
+ get: () => be(),
55
56
  set: (t) => t
56
57
  });
57
- function ye() {
58
- const t = Me({
58
+ function be() {
59
+ const t = Ue({
59
60
  userConfig: I.config,
60
- defaultConfig: Ue
61
+ defaultConfig: Ee
61
62
  });
62
63
  return t.theme ? {
63
- ...Me({
64
- userConfig: at.vue_ui_nested_donuts[t.theme] || I.config,
64
+ ...Ue({
65
+ userConfig: st.vue_ui_nested_donuts[t.theme] || I.config,
65
66
  defaultConfig: t
66
67
  }),
67
- customPalette: ot[t.theme] || Q
68
+ customPalette: ut[t.theme] || Z
68
69
  } : t;
69
70
  }
70
- De(() => I.config, (t) => {
71
- e.value = ye(), pe(), ve.value += 1, fe.value += 1, he.value += 1;
71
+ Pe(() => I.config, (t) => {
72
+ e.value = be(), ge(), he.value += 1, pe.value += 1, ye.value += 1;
72
73
  }, { deep: !0 });
73
- const G = d(null);
74
- Ke(() => {
75
- pe();
74
+ const X = d(null);
75
+ Qe(() => {
76
+ ge();
76
77
  });
77
- function pe() {
78
- if (st(I.dataset) && A({
78
+ function ge() {
79
+ if (nt(I.dataset) && V({
79
80
  componentName: "VueUiNestedDonuts",
80
81
  type: "dataset"
81
82
  }), e.value.responsive) {
82
- const t = ft(() => {
83
- const { width: s, height: a } = ht({
84
- chart: B.value,
85
- title: e.value.style.chart.title.text ? ce.value : null,
86
- legend: e.value.style.chart.legend.show ? ee.value : null
83
+ const t = pt(() => {
84
+ const { width: s, height: a } = yt({
85
+ chart: z.value,
86
+ title: e.value.style.chart.title.text ? fe.value : null,
87
+ legend: e.value.style.chart.legend.show ? te.value : null
87
88
  });
88
- f.value.width = s, f.value.height = a;
89
+ h.value.width = s, h.value.height = a;
89
90
  });
90
- G.value = new ResizeObserver(t), G.value.observe(B.value.parentNode);
91
+ X.value = new ResizeObserver(t), X.value.observe(z.value.parentNode);
91
92
  }
92
93
  }
93
- Je(() => {
94
- G.value && G.value.disconnect();
94
+ Ze(() => {
95
+ X.value && X.value.disconnect();
95
96
  });
96
- const { isPrinting: be, isImaging: ge, generatePdf: me, generateImage: _e } = pt({
97
- elementId: `nested_donuts_${_.value}`,
97
+ const { isPrinting: me, isImaging: ke, generatePdf: we, generateImage: _e } = gt({
98
+ elementId: `nested_donuts_${k.value}`,
98
99
  fileName: e.value.style.chart.title.text || "vue-ui-nested-donuts"
99
- }), Ge = g(() => ut(e.value.customPalette)), w = d({
100
+ }), Xe = m(() => rt(e.value.customPalette)), w = d({
100
101
  dataLabels: {
101
102
  show: e.value.style.chart.layout.labels.dataLabels.show
102
103
  },
103
104
  showTable: e.value.table.show,
104
105
  showTooltip: e.value.style.chart.tooltip.show
105
- }), f = d({
106
+ }), h = d({
106
107
  height: 512,
107
108
  width: 512
108
109
  });
109
- function Ye({ datapoint: t, index: s }) {
110
- ie("selectDatapoint", { datapoint: t, index: s });
110
+ function We({ datapoint: t, index: s }) {
111
+ ce("selectDatapoint", { datapoint: t, index: s });
111
112
  }
112
- const h = d([]), C = g(() => (I.dataset.forEach((t, s) => {
113
- [null, void 0].includes(t.name) && A({
113
+ const p = d([]), C = m(() => (I.dataset.forEach((t, s) => {
114
+ [null, void 0].includes(t.name) && V({
114
115
  componentName: "VueUiNestedDonuts",
115
116
  type: "datasetSerieAttribute",
116
117
  property: "name",
117
118
  index: s
118
- }), [null, void 0].includes(t.series) ? A({
119
+ }), [null, void 0].includes(t.series) ? V({
119
120
  componentName: "VueUiNestedDonuts",
120
121
  type: "datasetSerieAttribute",
121
122
  property: "series",
122
123
  index: s
123
- }) : t.series.length === 0 ? A({
124
+ }) : t.series.length === 0 ? V({
124
125
  componentName: "VueUiNestedDonuts",
125
126
  type: "datasetAttributeEmpty",
126
127
  property: `series at index ${s}`
127
128
  }) : t.series.forEach((a, o) => {
128
- [null, void 0].includes(a.name) && A({
129
+ [null, void 0].includes(a.name) && V({
129
130
  componentName: "VueUiNestedDonuts",
130
131
  type: "datasetSerieAttribute",
131
132
  property: "name",
132
133
  index: o,
133
134
  key: "serie"
134
- }), [null, void 0].includes(a.values) && A({
135
+ }), [null, void 0].includes(a.values) && V({
135
136
  componentName: "VueUiNestedDonuts",
136
137
  type: "datasetSerieAttribute",
137
138
  property: "values",
@@ -141,90 +142,90 @@ const re = (M) => (je("data-v-e05474aa"), M = M(), et(), M), Lt = ["id"], Ct = [
141
142
  });
142
143
  }), I.dataset.map((t, s) => ({
143
144
  ...t,
144
- total: t.series.filter((a) => !h.value.includes(a.id)).map((a) => ze(a.values).reduce((o, l) => o + l, 0)).reduce((a, o) => a + o, 0),
145
+ total: t.series.filter((a) => !p.value.includes(a.id)).map((a) => ze(a.values).reduce((o, l) => o + l, 0)).reduce((a, o) => a + o, 0),
145
146
  datasetIndex: s,
146
- id: `${_.value}_${s}`,
147
+ id: `${k.value}_${s}`,
147
148
  series: t.series.map((a, o) => ({
148
149
  name: a.name,
149
150
  arcOf: t.name,
150
- arcOfId: `${_.value}_${s}`,
151
- id: `${_.value}_${s}_${o}`,
151
+ arcOfId: `${k.value}_${s}`,
152
+ id: `${k.value}_${s}_${o}`,
152
153
  seriesIndex: o,
153
154
  datasetIndex: s,
154
- color: nt(a.color) || Ge.value[o] || Q[o] || Q[o % Q.length],
155
+ color: it(a.color) || Xe.value[o] || Z[o] || Z[o % Z.length],
155
156
  value: ze(a.values).reduce((l, i) => l + i, 0),
156
157
  absoluteValues: a.values || []
157
158
  }))
158
- })))), F = g(() => Math.min(f.value.height, f.value.width) * (e.value.style.chart.layout.donut.strokeWidth / 512)), we = g(() => [...C.value].map((t, s) => {
159
- const a = t.series.filter((o) => !h.value.includes(o.id)).map((o) => o.value).reduce((o, l) => o + l, 0);
159
+ })))), F = m(() => Math.min(h.value.height, h.value.width) * (e.value.style.chart.layout.donut.strokeWidth / 512)), $e = m(() => [...C.value].map((t, s) => {
160
+ const a = t.series.filter((o) => !p.value.includes(o.id)).map((o) => o.value).reduce((o, l) => o + l, 0);
160
161
  return {
161
162
  ...t,
162
163
  total: a,
163
- series: t.series.filter((o) => !h.value.includes(o.id)).map((o) => ({
164
+ series: t.series.filter((o) => !p.value.includes(o.id)).map((o) => ({
164
165
  ...o,
165
166
  proportion: o.value / a
166
167
  }))
167
168
  };
168
169
  }));
169
- function Xe(t, s, a) {
170
+ function He(t, s, a) {
170
171
  let o = 0;
171
172
  for (let l = 0; l < t.length; l += 1)
172
173
  a.includes(t[l]) && (o += 1);
173
174
  return o < s;
174
175
  }
175
- const v = d(we.value);
176
- De(() => we.value, (t) => v.value = t);
177
- const ke = d(null), xe = d(null);
178
- function te(t) {
179
- ie("selectLegend", t);
176
+ const v = d($e.value);
177
+ Pe(() => $e.value, (t) => v.value = t);
178
+ const xe = d(null), Le = d(null);
179
+ function le(t) {
180
+ ce("selectLegend", t);
180
181
  const s = C.value.flatMap((c) => c.series).find((c) => c.id === t.id), a = v.value.flatMap((c) => c.series).find((c) => c.id === t.id);
181
182
  let l = a ? a.value : 0;
182
- const i = C.value.find((c) => c.id === s.arcOfId).series.map((c) => c.id), b = Xe(i, i.length - 1, h.value);
183
- if (h.value.includes(t.id)) {
183
+ const i = C.value.find((c) => c.id === s.arcOfId).series.map((c) => c.id), b = He(i, i.length - 1, p.value);
184
+ if (p.value.includes(t.id)) {
184
185
  let c = function() {
185
- l > s.value ? (cancelAnimationFrame(ke.value), v.value = v.value.map((k) => ({
186
- ...k,
187
- series: k.series.map((N) => N.id == t.id ? {
188
- ...N,
186
+ l > s.value ? (cancelAnimationFrame(xe.value), v.value = v.value.map((_) => ({
187
+ ..._,
188
+ series: _.series.map((T) => T.id == t.id ? {
189
+ ...T,
189
190
  value: s.value
190
- } : N)
191
- }))) : (l += s.value * 0.025, v.value = v.value.map((k) => ({
192
- ...k,
193
- series: k.series.map((N) => N.id === t.id ? {
194
- ...N,
191
+ } : T)
192
+ }))) : (l += s.value * 0.025, v.value = v.value.map((_) => ({
193
+ ..._,
194
+ series: _.series.map((T) => T.id === t.id ? {
195
+ ...T,
195
196
  value: l
196
- } : N)
197
- })), ke.value = requestAnimationFrame(c));
197
+ } : T)
198
+ })), xe.value = requestAnimationFrame(c));
198
199
  };
199
- h.value = h.value.filter((k) => k !== t.id), c();
200
+ p.value = p.value.filter((_) => _ !== t.id), c();
200
201
  } else if (b) {
201
202
  let c = function() {
202
- l < 0.1 ? (cancelAnimationFrame(xe.value), h.value.push(t.id), v.value = v.value.map((k, N) => ({
203
- ...k,
204
- series: k.series.map((O) => O.id === t.id ? {
203
+ l < 0.1 ? (cancelAnimationFrame(Le.value), p.value.push(t.id), v.value = v.value.map((_, T) => ({
204
+ ..._,
205
+ series: _.series.map((O) => O.id === t.id ? {
205
206
  ...O,
206
207
  value: 0
207
208
  } : O)
208
- }))) : (l /= 1.1, v.value = v.value.map((k, N) => ({
209
- ...k,
210
- series: k.series.map((O) => O.id === t.id ? {
209
+ }))) : (l /= 1.1, v.value = v.value.map((_, T) => ({
210
+ ..._,
211
+ series: _.series.map((O) => O.id === t.id ? {
211
212
  ...O,
212
213
  value: l
213
214
  } : O)
214
- })), xe.value = requestAnimationFrame(c));
215
+ })), Le.value = requestAnimationFrame(c));
215
216
  };
216
217
  c();
217
218
  }
218
219
  }
219
- const le = g(() => F.value / C.value.length * e.value.style.chart.layout.donut.spacingRatio), $e = g(() => v.value.map((t, s) => F.value - s * F.value / C.value.length)), Y = g(() => v.value.map((t, s) => {
220
+ const ae = m(() => F.value / C.value.length * e.value.style.chart.layout.donut.spacingRatio), Ce = m(() => v.value.map((t, s) => F.value - s * F.value / C.value.length)), W = m(() => v.value.map((t, s) => {
220
221
  const a = s * F.value / C.value.length;
221
222
  return {
222
223
  ...t,
223
224
  radius: F.value - a,
224
- donut: Pe(
225
+ donut: Ve(
225
226
  { series: t.series },
226
- f.value.width / 2,
227
- f.value.height / 2,
227
+ h.value.width / 2,
228
+ h.value.height / 2,
228
229
  F.value - a,
229
230
  F.value - a,
230
231
  1.99999,
@@ -232,17 +233,17 @@ const re = (M) => (je("data-v-e05474aa"), M = M(), et(), M), Lt = ["id"], Ct = [
232
233
  1,
233
234
  360,
234
235
  105.25,
235
- le.value
236
+ ae.value
236
237
  )
237
238
  };
238
- })), Le = g(() => [...C.value].map((t, s) => {
239
+ })), Fe = m(() => [...C.value].map((t, s) => {
239
240
  const a = s * F.value / C.value.length;
240
241
  return {
241
242
  sizeRatio: a,
242
- donut: Pe(
243
+ donut: Ve(
243
244
  { series: [{ value: 1 }] },
244
- f.value.width / 2,
245
- f.value.height / 2,
245
+ h.value.width / 2,
246
+ h.value.height / 2,
246
247
  F.value - a,
247
248
  F.value - a,
248
249
  1.99999,
@@ -253,22 +254,22 @@ const re = (M) => (je("data-v-e05474aa"), M = M(), et(), M), Lt = ["id"], Ct = [
253
254
  F.value / C.value.length * e.value.style.chart.layout.donut.spacingRatio
254
255
  )[0]
255
256
  };
256
- })), Ce = d(null), X = d(null), W = d(null), ae = d(null);
257
- function We({ datapoint: t, _relativeIndex: s, seriesIndex: a }) {
258
- Ce.value = t.arcOfId, X.value = t.id, W.value = a, ae.value = {
257
+ })), Se = d(null), H = d(null), q = d(null), oe = d(null);
258
+ function qe({ datapoint: t, _relativeIndex: s, seriesIndex: a }) {
259
+ Se.value = t.arcOfId, H.value = t.id, q.value = a, oe.value = {
259
260
  datapoint: t,
260
261
  seriesIndex: a,
261
262
  series: v.value,
262
263
  config: e.value
263
264
  };
264
265
  const o = e.value.style.chart.tooltip.customFormat;
265
- if (Ve(o) && dt(() => o({
266
+ if (Be(o) && vt(() => o({
266
267
  seriesIndex: a,
267
268
  datapoint: t,
268
269
  series: v.value,
269
270
  config: e.value
270
271
  })))
271
- j.value = o({
272
+ ee.value = o({
272
273
  seriesIndex: a,
273
274
  datapoint: t,
274
275
  series: v.value,
@@ -276,7 +277,7 @@ const re = (M) => (je("data-v-e05474aa"), M = M(), et(), M), Lt = ["id"], Ct = [
276
277
  });
277
278
  else {
278
279
  let l = "";
279
- if (e.value.style.chart.tooltip.showAllItemsAtIndex && h.value.length === 0) {
280
+ if (e.value.style.chart.tooltip.showAllItemsAtIndex && p.value.length === 0) {
280
281
  const i = v.value.map((b) => b.series.find((c) => c.seriesIndex === a));
281
282
  i.forEach((b, c) => {
282
283
  if (!b) return "";
@@ -291,7 +292,7 @@ const re = (M) => (je("data-v-e05474aa"), M = M(), et(), M), Lt = ["id"], Ct = [
291
292
  </span>
292
293
  </div>
293
294
  <span>
294
- ${e.value.style.chart.tooltip.showValue ? `<b>${R(
295
+ ${e.value.style.chart.tooltip.showValue ? `<b>${G(
295
296
  e.value.style.chart.layout.labels.dataLabels.formatter,
296
297
  t.value,
297
298
  L({
@@ -313,7 +314,7 @@ const re = (M) => (je("data-v-e05474aa"), M = M(), et(), M), Lt = ["id"], Ct = [
313
314
  `;
314
315
  });
315
316
  } else
316
- 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>${R(
317
+ 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>${G(
317
318
  e.value.style.chart.layout.labels.dataLabels.formatter,
318
319
  t.value,
319
320
  L({
@@ -332,22 +333,22 @@ const re = (M) => (je("data-v-e05474aa"), M = M(), et(), M), Lt = ["id"], Ct = [
332
333
  s: "%",
333
334
  r: e.value.style.chart.tooltip.roundingPercentage
334
335
  })}</b></div>`);
335
- j.value = `<div style="font-size:${e.value.style.chart.tooltip.fontSize}px">${l}</div>`;
336
+ ee.value = `<div style="font-size:${e.value.style.chart.tooltip.fontSize}px">${l}</div>`;
336
337
  }
337
- Z.value = !0;
338
+ j.value = !0;
338
339
  }
339
- function oe(t) {
340
+ function se(t) {
340
341
  return t.proportion * 100 > e.value.style.chart.layout.labels.dataLabels.hideUnderValue;
341
342
  }
342
- function Fe(t, s) {
343
+ function Te(t, s) {
343
344
  if (!e.value.useBlurOnHover)
344
345
  return "";
345
- if (e.value.style.chart.tooltip.showAllItemsAtIndex && h.value.length === 0)
346
- return [null, void 0].includes(W.value) || W.value === s ? "" : `url(#blur_${_.value})`;
347
- if (!e.value.style.chart.tooltip.showAllItemsAtIndex || h.value.length)
348
- return [null, void 0].includes(X.value) || X.value === t.id ? "" : `url(#blur_${_.value})`;
346
+ if (e.value.style.chart.tooltip.showAllItemsAtIndex && p.value.length === 0)
347
+ return [null, void 0].includes(q.value) || q.value === s ? "" : `url(#blur_${k.value})`;
348
+ if (!e.value.style.chart.tooltip.showAllItemsAtIndex || p.value.length)
349
+ return [null, void 0].includes(H.value) || H.value === t.id ? "" : `url(#blur_${k.value})`;
349
350
  }
350
- const se = g(() => C.value.map((t, s) => t.series.map((a, o) => ({
351
+ const ue = m(() => C.value.map((t, s) => t.series.map((a, o) => ({
351
352
  name: a.name,
352
353
  color: a.color,
353
354
  value: a.value,
@@ -356,20 +357,20 @@ const re = (M) => (je("data-v-e05474aa"), M = M(), et(), M), Lt = ["id"], Ct = [
356
357
  id: a.id,
357
358
  seriesIndex: o,
358
359
  datasetIndex: s,
359
- total: t.series.filter((l) => !h.value.includes(l.id)).map((l) => l.value).reduce((l, i) => l + i, 0)
360
+ total: t.series.filter((l) => !p.value.includes(l.id)).map((l) => l.value).reduce((l, i) => l + i, 0)
360
361
  })).map((a) => ({
361
362
  ...a,
362
- opacity: h.value.includes(a.id) ? 0.5 : 1,
363
- segregate: () => te(a),
364
- isSegregated: h.value.includes(a.id)
365
- })))), He = g(() => ({
363
+ opacity: p.value.includes(a.id) ? 0.5 : 1,
364
+ segregate: () => le(a),
365
+ isSegregated: p.value.includes(a.id)
366
+ })))), Ke = m(() => ({
366
367
  cy: "nested-donuts-legend",
367
368
  backgroundColor: e.value.style.chart.legend.backgroundColor,
368
369
  color: e.value.style.chart.legend.color,
369
370
  fontSize: e.value.style.chart.legend.fontSize,
370
371
  paddingBottom: 12,
371
372
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
372
- })), D = g(() => {
373
+ })), A = m(() => {
373
374
  const t = v.value.flatMap((a) => a.series.map((o) => ({
374
375
  name: `${a.name} - ${o.name}`,
375
376
  color: o.color,
@@ -377,29 +378,29 @@ const re = (M) => (je("data-v-e05474aa"), M = M(), et(), M), Lt = ["id"], Ct = [
377
378
  }))), s = v.value.flatMap((a) => a.series.map((o) => o.value));
378
379
  return { head: t, body: s };
379
380
  });
380
- function Se() {
381
- Ze(() => {
382
- const t = D.value.head.map((o, l) => [[
381
+ function Ne() {
382
+ et(() => {
383
+ const t = A.value.head.map((o, l) => [[
383
384
  o.name
384
- ], [D.value.body[l]], [isNaN(D.value.body[l] / o.total) ? "-" : D.value.body[l] / o.total * 100]]), s = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(t), a = ct(s);
385
- vt({ csvContent: a, title: e.value.style.chart.title.text || "vue-ui-nested-donuts" });
385
+ ], [A.value.body[l]], [isNaN(A.value.body[l] / o.total) ? "-" : A.value.body[l] / o.total * 100]]), s = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(t), a = ft(s);
386
+ ht({ csvContent: a, title: e.value.style.chart.title.text || "vue-ui-nested-donuts" });
386
387
  });
387
388
  }
388
- const H = g(() => {
389
+ const K = m(() => {
389
390
  const t = [
390
391
  e.value.table.columnNames.series,
391
392
  e.value.table.columnNames.value,
392
393
  e.value.table.columnNames.percentage
393
- ], s = D.value.head.map((l, i) => {
394
- const b = L({ 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 });
394
+ ], s = A.value.head.map((l, i) => {
395
+ const b = L({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: A.value.body[i], s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue });
395
396
  return [
396
397
  {
397
398
  color: l.color,
398
399
  name: l.name
399
400
  },
400
401
  b,
401
- isNaN(D.value.body[i] / l.total) ? "-" : L({
402
- v: D.value.body[i] / l.total * 100,
402
+ isNaN(A.value.body[i] / l.total) ? "-" : L({
403
+ v: A.value.body[i] / l.total * 100,
403
404
  s: "%",
404
405
  r: e.value.table.td.roundingPercentage
405
406
  })
@@ -428,40 +429,53 @@ const re = (M) => (je("data-v-e05474aa"), M = M(), et(), M), Lt = ["id"], Ct = [
428
429
  config: a
429
430
  };
430
431
  });
431
- function qe() {
432
+ function Je() {
432
433
  return C.value;
433
434
  }
434
- function Ne() {
435
+ function Ie() {
435
436
  w.value.showTable = !w.value.showTable;
436
437
  }
437
- function Te() {
438
+ function Ae() {
438
439
  w.value.dataLabels.show = !w.value.dataLabels.show;
439
440
  }
440
- function Ie() {
441
+ function Oe() {
441
442
  w.value.showTooltip = !w.value.showTooltip;
442
443
  }
443
- return Be({
444
- getData: qe,
445
- generatePdf: me,
446
- generateCsv: Se,
444
+ const J = d(!1);
445
+ function ne() {
446
+ J.value = !J.value;
447
+ }
448
+ return Re({
449
+ getData: Je,
450
+ generatePdf: we,
451
+ generateCsv: Ne,
447
452
  generateImage: _e,
448
- toggleTable: Ne,
449
- toggleLabels: Te,
450
- toggleTooltip: Ie
453
+ toggleTable: Ie,
454
+ toggleLabels: Ae,
455
+ toggleTooltip: Oe,
456
+ toggleAnnotator: ne
451
457
  }), (t, s) => (u(), n("div", {
452
458
  ref_key: "nestedDonutsChart",
453
- ref: B,
454
- class: z(`vue-ui-nested-donuts ${U.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
455
- style: ue(`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}`),
456
- id: `nested_donuts_${_.value}`
459
+ ref: z,
460
+ class: P(`vue-ui-nested-donuts ${U.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
461
+ style: re(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;${!e.value.style.chart.title.text && e.value.userOptions.show ? "padding-top:36px" : ""};background:${e.value.style.chart.backgroundColor}`),
462
+ id: `nested_donuts_${k.value}`
457
463
  }, [
458
- e.value.style.chart.title.text ? (u(), n("div", {
464
+ e.value.userOptions.buttons.annotator ? (u(), D(Ct, {
459
465
  key: 0,
466
+ parent: z.value,
467
+ backgroundColor: e.value.style.chart.backgroundColor,
468
+ color: e.value.style.chart.color,
469
+ active: J.value,
470
+ onClose: ne
471
+ }, null, 8, ["parent", "backgroundColor", "color", "active"])) : f("", !0),
472
+ e.value.style.chart.title.text ? (u(), n("div", {
473
+ key: 1,
460
474
  ref_key: "chartTitle",
461
- ref: ce
475
+ ref: fe
462
476
  }, [
463
- (u(), P(yt, {
464
- key: `title_${ve.value}`,
477
+ (u(), D(bt, {
478
+ key: `title_${he.value}`,
465
479
  config: {
466
480
  title: {
467
481
  cy: "donut-div-title",
@@ -473,15 +487,15 @@ const re = (M) => (je("data-v-e05474aa"), M = M(), et(), M), Lt = ["id"], Ct = [
473
487
  }
474
488
  }
475
489
  }, null, 8, ["config"]))
476
- ], 512)) : y("", !0),
477
- e.value.userOptions.show && E.value ? (u(), P(bt, {
490
+ ], 512)) : f("", !0),
491
+ e.value.userOptions.show && Y.value ? (u(), D(mt, {
478
492
  ref: "details",
479
- key: `user_option_${de.value}`,
493
+ key: `user_option_${ve.value}`,
480
494
  backgroundColor: e.value.style.chart.backgroundColor,
481
495
  color: e.value.style.chart.color,
482
- isPrinting: r(be),
483
- isImaging: r(ge),
484
- uid: _.value,
496
+ isPrinting: r(me),
497
+ isImaging: r(ke),
498
+ uid: k.value,
485
499
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
486
500
  hasPdf: e.value.userOptions.buttons.pdf,
487
501
  hasXls: e.value.userOptions.buttons.csv,
@@ -492,183 +506,193 @@ const re = (M) => (je("data-v-e05474aa"), M = M(), et(), M), Lt = ["id"], Ct = [
492
506
  isFullscreen: U.value,
493
507
  isTooltip: w.value.showTooltip,
494
508
  titles: { ...e.value.userOptions.buttonTitles },
495
- chartElement: B.value,
509
+ chartElement: z.value,
496
510
  position: e.value.userOptions.position,
497
- onToggleFullscreen: Ee,
498
- onGeneratePdf: r(me),
499
- onGenerateCsv: Se,
511
+ hasAnnotator: e.value.userOptions.buttons.annotator,
512
+ isAnnotation: J.value,
513
+ onToggleFullscreen: Ye,
514
+ onGeneratePdf: r(we),
515
+ onGenerateCsv: Ne,
500
516
  onGenerateImage: r(_e),
501
- onToggleTable: Ne,
502
- onToggleLabels: Te,
503
- onToggleTooltip: Ie
504
- }, Qe({ _: 2 }, [
517
+ onToggleTable: Ie,
518
+ onToggleLabels: Ae,
519
+ onToggleTooltip: Oe,
520
+ onToggleAnnotator: ne
521
+ }, je({ _: 2 }, [
505
522
  t.$slots.optionTooltip ? {
506
523
  name: "optionTooltip",
507
- fn: m(() => [
524
+ fn: g(() => [
508
525
  $(t.$slots, "optionTooltip", {}, void 0, !0)
509
526
  ]),
510
527
  key: "0"
511
528
  } : void 0,
512
529
  t.$slots.optionPdf ? {
513
530
  name: "optionPdf",
514
- fn: m(() => [
531
+ fn: g(() => [
515
532
  $(t.$slots, "optionPdf", {}, void 0, !0)
516
533
  ]),
517
534
  key: "1"
518
535
  } : void 0,
519
536
  t.$slots.optionCsv ? {
520
537
  name: "optionCsv",
521
- fn: m(() => [
538
+ fn: g(() => [
522
539
  $(t.$slots, "optionCsv", {}, void 0, !0)
523
540
  ]),
524
541
  key: "2"
525
542
  } : void 0,
526
543
  t.$slots.optionImg ? {
527
544
  name: "optionImg",
528
- fn: m(() => [
545
+ fn: g(() => [
529
546
  $(t.$slots, "optionImg", {}, void 0, !0)
530
547
  ]),
531
548
  key: "3"
532
549
  } : void 0,
533
550
  t.$slots.optionTable ? {
534
551
  name: "optionTable",
535
- fn: m(() => [
552
+ fn: g(() => [
536
553
  $(t.$slots, "optionTable", {}, void 0, !0)
537
554
  ]),
538
555
  key: "4"
539
556
  } : void 0,
540
557
  t.$slots.optionLabels ? {
541
558
  name: "optionLabels",
542
- fn: m(() => [
559
+ fn: g(() => [
543
560
  $(t.$slots, "optionLabels", {}, void 0, !0)
544
561
  ]),
545
562
  key: "5"
546
563
  } : void 0,
547
564
  t.$slots.optionFullscreen ? {
548
565
  name: "optionFullscreen",
549
- fn: m(({ toggleFullscreen: a, isFullscreen: o }) => [
550
- $(t.$slots, "optionFullscreen", q(K({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
566
+ fn: g(({ toggleFullscreen: a, isFullscreen: o }) => [
567
+ $(t.$slots, "optionFullscreen", R(E({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
551
568
  ]),
552
569
  key: "6"
570
+ } : void 0,
571
+ t.$slots.optionAnnotator ? {
572
+ name: "optionAnnotator",
573
+ fn: g(({ toggleAnnotator: a, isAnnotator: o }) => [
574
+ $(t.$slots, "optionAnnotator", R(E({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
575
+ ]),
576
+ key: "7"
553
577
  } : void 0
554
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "onGeneratePdf", "onGenerateImage"])) : y("", !0),
555
- E.value ? (u(), n("svg", {
556
- key: 2,
557
- xmlns: r(rt),
558
- class: z({ "vue-data-ui-fullscreen--on": U.value, "vue-data-ui-fulscreen--off": !U.value }),
559
- viewBox: `0 0 ${f.value.width <= 0 ? 1e-3 : f.value.width} ${f.value.height < 0 ? 1e-3 : f.value.height}`,
560
- style: ue(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
578
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : f("", !0),
579
+ Y.value ? (u(), n("svg", {
580
+ key: 3,
581
+ xmlns: r(dt),
582
+ class: P({ "vue-data-ui-fullscreen--on": U.value, "vue-data-ui-fulscreen--off": !U.value }),
583
+ viewBox: `0 0 ${h.value.width <= 0 ? 1e-3 : h.value.width} ${h.value.height < 0 ? 1e-3 : h.value.height}`,
584
+ style: re(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
561
585
  }, [
562
- Oe(xt),
563
- p("defs", null, [
564
- (u(!0), n(x, null, S(Le.value, (a, o) => (u(), n("radialGradient", {
565
- id: `radial_${_.value}_${o}`
586
+ De(Lt),
587
+ y("defs", null, [
588
+ (u(!0), n(x, null, S(Fe.value, (a, o) => (u(), n("radialGradient", {
589
+ id: `radial_${k.value}_${o}`
566
590
  }, [
567
- St,
568
- p("stop", {
569
- offset: `${(1 - le.value / $e.value[o]) * 100}%`,
570
- "stop-color": r(Ae)("#FFFFFF", 0),
591
+ It,
592
+ y("stop", {
593
+ offset: `${(1 - ae.value / Ce.value[o]) * 100}%`,
594
+ "stop-color": r(Me)("#FFFFFF", 0),
571
595
  "stop-opacity": "0"
572
- }, null, 8, Nt),
573
- p("stop", {
574
- offset: `${(1 - le.value / $e.value[o] / 2) * 100}%`,
596
+ }, null, 8, At),
597
+ y("stop", {
598
+ offset: `${(1 - ae.value / Ce.value[o] / 2) * 100}%`,
575
599
  "stop-color": "#FFFFFF",
576
600
  "stop-opacity": e.value.style.chart.gradientIntensity / 100
577
- }, null, 8, Tt),
578
- It
579
- ], 8, Ft))), 256))
601
+ }, null, 8, Ot),
602
+ Pt
603
+ ], 8, Nt))), 256))
580
604
  ]),
581
- p("defs", null, [
582
- p("filter", {
583
- id: `blur_${_.value}`,
605
+ y("defs", null, [
606
+ y("filter", {
607
+ id: `blur_${k.value}`,
584
608
  x: "-50%",
585
609
  y: "-50%",
586
610
  width: "200%",
587
611
  height: "200%"
588
612
  }, [
589
- p("feGaussianBlur", {
613
+ y("feGaussianBlur", {
590
614
  in: "SourceGraphic",
591
615
  stdDeviation: 2,
592
- id: `blur_std_${_.value}`
593
- }, null, 8, Ot),
594
- zt
616
+ id: `blur_std_${k.value}`
617
+ }, null, 8, zt),
618
+ Vt
595
619
  ], 8, Dt),
596
- p("filter", {
597
- id: `shadow_${_.value}`,
620
+ y("filter", {
621
+ id: `shadow_${k.value}`,
598
622
  "color-interpolation-filters": "sRGB"
599
623
  }, [
600
- p("feDropShadow", {
624
+ y("feDropShadow", {
601
625
  dx: "0",
602
626
  dy: "0",
603
627
  stdDeviation: "10",
604
628
  "flood-opacity": "0.5",
605
629
  "flood-color": e.value.style.chart.layout.donut.shadowColor
606
- }, null, 8, At)
607
- ], 8, Pt)
630
+ }, null, 8, Bt)
631
+ ], 8, Mt)
608
632
  ]),
609
- (u(!0), n(x, null, S(Y.value, (a, o) => (u(), n("g", null, [
633
+ (u(!0), n(x, null, S(W.value, (a, o) => (u(), n("g", null, [
610
634
  (u(!0), n(x, null, S(a.donut, (l, i) => (u(), n("g", null, [
611
- p("path", {
635
+ y("path", {
612
636
  class: "vue-ui-donut-arc-path",
613
637
  d: l.arcSlice,
614
- fill: r(Ae)(l.color, 80),
638
+ fill: r(Me)(l.color, 80),
615
639
  stroke: e.value.style.chart.backgroundColor,
616
640
  "stroke-width": e.value.style.chart.layout.donut.borderWidth,
617
- filter: Fe(l, i)
618
- }, null, 8, Vt)
641
+ filter: Te(l, i)
642
+ }, null, 8, Ut)
619
643
  ]))), 256))
620
644
  ]))), 256)),
621
- e.value.style.chart.useGradient ? (u(), n("g", Mt, [
622
- (u(!0), n(x, null, S(Le.value, (a, o) => (u(), n("g", null, [
623
- p("path", {
645
+ e.value.style.chart.useGradient ? (u(), n("g", Rt, [
646
+ (u(!0), n(x, null, S(Fe.value, (a, o) => (u(), n("g", null, [
647
+ y("path", {
624
648
  d: a.donut.arcSlice,
625
- fill: `url(#radial_${_.value}_${o})`,
649
+ fill: `url(#radial_${k.value}_${o})`,
626
650
  stroke: "transparent",
627
651
  "stroke-width": "0"
628
- }, null, 8, Bt)
652
+ }, null, 8, Et)
629
653
  ]))), 256))
630
- ])) : y("", !0),
631
- e.value.style.chart.layout.labels.dataLabels.showDonutName ? (u(), n("g", Ut, [
632
- (u(!0), n(x, null, S(Y.value, (a, o) => (u(), n("g", null, [
654
+ ])) : f("", !0),
655
+ e.value.style.chart.layout.labels.dataLabels.showDonutName ? (u(), n("g", Gt, [
656
+ (u(!0), n(x, null, S(W.value, (a, o) => (u(), n("g", null, [
633
657
  (u(!0), n(x, null, S(a.donut, (l, i) => (u(), n("g", null, [
634
- i === 0 && f.value.width && f.value.height ? (u(), n("text", {
658
+ i === 0 && h.value.width && h.value.height ? (u(), n("text", {
635
659
  key: 0,
636
- class: z({ animated: e.value.useCssAnimation }),
637
- x: f.value.width / 2,
660
+ class: P({ animated: e.value.useCssAnimation }),
661
+ x: h.value.width / 2,
638
662
  y: l.startY - e.value.style.chart.layout.labels.dataLabels.fontSize + e.value.style.chart.layout.labels.dataLabels.donutNameOffsetY,
639
663
  "text-anchor": "middle",
640
664
  "font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
641
665
  "font-weight": e.value.style.chart.layout.labels.dataLabels.boldDonutName ? "bold" : "normal",
642
666
  fill: e.value.style.chart.layout.labels.dataLabels.color
643
- }, T(e.value.style.chart.layout.labels.dataLabels.donutNameAbbreviation ? r(it)({ source: a.name, length: e.value.style.chart.layout.labels.dataLabels.donutNameMaxAbbreviationSize }) : a.name), 11, Rt)) : y("", !0)
667
+ }, N(e.value.style.chart.layout.labels.dataLabels.donutNameAbbreviation ? r(ct)({ source: a.name, length: e.value.style.chart.layout.labels.dataLabels.donutNameMaxAbbreviationSize }) : a.name), 11, Yt)) : f("", !0)
644
668
  ]))), 256))
645
669
  ]))), 256))
646
- ])) : y("", !0),
647
- e.value.style.chart.layout.labels.dataLabels.show ? (u(), n("g", Et, [
648
- (u(!0), n(x, null, S(Y.value, (a, o) => (u(), n("g", null, [
670
+ ])) : f("", !0),
671
+ e.value.style.chart.layout.labels.dataLabels.show ? (u(), n("g", Xt, [
672
+ (u(!0), n(x, null, S(W.value, (a, o) => (u(), n("g", null, [
649
673
  (u(!0), n(x, null, S(a.donut, (l, i) => (u(), n("g", {
650
- filter: Fe(l, i)
674
+ filter: Te(l, i)
651
675
  }, [
652
- oe(l) && w.value.dataLabels.show && e.value.style.chart.layout.labels.dataLabels.showPercentage ? (u(), n("text", {
676
+ se(l) && w.value.dataLabels.show && e.value.style.chart.layout.labels.dataLabels.showPercentage ? (u(), n("text", {
653
677
  key: 0,
654
- class: z({ animated: e.value.useCssAnimation }),
655
- "text-anchor": r(V)(l, !0).anchor,
656
- x: r(V)(l, !1, e.value.style.chart.layout.labels.dataLabels.offsetX).x || 0,
657
- y: r(ne)(l, e.value.style.chart.layout.labels.dataLabels.offsetY, e.value.style.chart.layout.labels.dataLabels.offsetY),
678
+ class: P({ animated: e.value.useCssAnimation }),
679
+ "text-anchor": r(M)(l, !0).anchor,
680
+ x: r(M)(l, !1, e.value.style.chart.layout.labels.dataLabels.offsetX).x || 0,
681
+ y: r(ie)(l, e.value.style.chart.layout.labels.dataLabels.offsetY, e.value.style.chart.layout.labels.dataLabels.offsetY),
658
682
  fill: e.value.style.chart.layout.labels.dataLabels.useSerieColor ? l.color : e.value.style.chart.layout.labels.dataLabels.color,
659
683
  "font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
660
684
  "font-weight": e.value.style.chart.layout.labels.dataLabels.boldPercentage ? "bold" : "normal"
661
- }, T(r(L)({ v: l.proportion * 100, s: "%", r: e.value.style.chart.layout.labels.dataLabels.roundingPercentage })), 11, Yt)) : y("", !0),
662
- oe(l) && w.value.dataLabels.show && e.value.style.chart.layout.labels.dataLabels.showPercentage && e.value.style.chart.layout.labels.dataLabels.showValue ? (u(), n("text", {
685
+ }, N(r(L)({ v: l.proportion * 100, s: "%", r: e.value.style.chart.layout.labels.dataLabels.roundingPercentage })), 11, Ht)) : f("", !0),
686
+ se(l) && w.value.dataLabels.show && e.value.style.chart.layout.labels.dataLabels.showPercentage && e.value.style.chart.layout.labels.dataLabels.showValue ? (u(), n("text", {
663
687
  key: 1,
664
- class: z({ animated: e.value.useCssAnimation }),
665
- "text-anchor": r(V)(l, !0).anchor,
666
- x: r(V)(l, !1, e.value.style.chart.layout.labels.dataLabels.offsetX).x || 0,
667
- y: r(ne)(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,
688
+ class: P({ animated: e.value.useCssAnimation }),
689
+ "text-anchor": r(M)(l, !0).anchor,
690
+ x: r(M)(l, !1, e.value.style.chart.layout.labels.dataLabels.offsetX).x || 0,
691
+ 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,
668
692
  fill: e.value.style.chart.layout.labels.dataLabels.useSerieColor ? l.color : e.value.style.chart.layout.labels.dataLabels.color,
669
693
  "font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
670
694
  "font-weight": e.value.style.chart.layout.labels.dataLabels.boldValue ? "bold" : "normal"
671
- }, " (" + T(r(R)(
695
+ }, " (" + N(r(G)(
672
696
  e.value.style.chart.layout.labels.dataLabels.formatter,
673
697
  l.value,
674
698
  r(L)({
@@ -678,17 +702,17 @@ const re = (M) => (je("data-v-e05474aa"), M = M(), et(), M), Lt = ["id"], Ct = [
678
702
  r: e.value.style.chart.layout.labels.dataLabels.roundingValue
679
703
  }),
680
704
  { datapoint: l, seriesIndex: o, datapointIndex: i }
681
- )) + ") ", 11, Xt)) : y("", !0),
682
- oe(l) && w.value.dataLabels.show && !e.value.style.chart.layout.labels.dataLabels.showPercentage && e.value.style.chart.layout.labels.dataLabels.showValue ? (u(), n("text", {
705
+ )) + ") ", 11, qt)) : f("", !0),
706
+ se(l) && w.value.dataLabels.show && !e.value.style.chart.layout.labels.dataLabels.showPercentage && e.value.style.chart.layout.labels.dataLabels.showValue ? (u(), n("text", {
683
707
  key: 2,
684
- class: z({ animated: e.value.useCssAnimation }),
685
- "text-anchor": r(V)(l, !0).anchor,
686
- x: r(V)(l, !1, e.value.style.chart.layout.labels.dataLabels.offsetX).x || 0,
687
- y: r(ne)(l, e.value.style.chart.layout.labels.dataLabels.offsetY, e.value.style.chart.layout.labels.dataLabels.offsetY),
708
+ class: P({ animated: e.value.useCssAnimation }),
709
+ "text-anchor": r(M)(l, !0).anchor,
710
+ x: r(M)(l, !1, e.value.style.chart.layout.labels.dataLabels.offsetX).x || 0,
711
+ y: r(ie)(l, e.value.style.chart.layout.labels.dataLabels.offsetY, e.value.style.chart.layout.labels.dataLabels.offsetY),
688
712
  fill: e.value.style.chart.layout.labels.dataLabels.useSerieColor ? l.color : e.value.style.chart.layout.labels.dataLabels.color,
689
713
  "font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
690
714
  "font-weight": e.value.style.chart.layout.labels.dataLabels.boldValue ? "bold" : "normal"
691
- }, T(r(R)(
715
+ }, N(r(G)(
692
716
  e.value.style.chart.layout.labels.dataLabels.formatter,
693
717
  l.value,
694
718
  r(L)({
@@ -698,35 +722,35 @@ const re = (M) => (je("data-v-e05474aa"), M = M(), et(), M), Lt = ["id"], Ct = [
698
722
  r: e.value.style.chart.layout.labels.dataLabels.roundingValue
699
723
  }),
700
724
  { datapoint: l, seriesIndex: o, datapointIndex: i }
701
- )), 11, Wt)) : y("", !0)
702
- ], 8, Gt))), 256))
725
+ )), 11, Kt)) : f("", !0)
726
+ ], 8, Wt))), 256))
703
727
  ]))), 256))
704
- ])) : y("", !0),
705
- (u(!0), n(x, null, S(Y.value, (a, o) => (u(), n("g", null, [
728
+ ])) : f("", !0),
729
+ (u(!0), n(x, null, S(W.value, (a, o) => (u(), n("g", null, [
706
730
  (u(!0), n(x, null, S(a.donut, (l, i) => (u(), n("g", null, [
707
- p("path", {
731
+ y("path", {
708
732
  "data-cy-donut-trap": "",
709
733
  d: l.arcSlice,
710
- fill: Re.value === o ? "rgba(0,0,0,0.1)" : "transparent",
711
- onMouseenter: (b) => We({
734
+ fill: Ge.value === o ? "rgba(0,0,0,0.1)" : "transparent",
735
+ onMouseenter: (b) => qe({
712
736
  datapoint: l,
713
737
  relativeIndex: o,
714
738
  seriesIndex: l.seriesIndex
715
739
  }),
716
- onClick: (b) => Ye({ datapoint: l, index: i }),
740
+ onClick: (b) => We({ datapoint: l, index: i }),
717
741
  onMouseleave: s[0] || (s[0] = (b) => {
718
- Z.value = !1, Ce.value = null, X.value = null, W.value = null;
742
+ j.value = !1, Se.value = null, H.value = null, q.value = null;
719
743
  })
720
- }, null, 40, Ht)
744
+ }, null, 40, Jt)
721
745
  ]))), 256))
722
746
  ]))), 256)),
723
- $(t.$slots, "svg", { svg: f.value }, void 0, !0)
724
- ], 14, Ct)) : y("", !0),
725
- t.$slots.watermark ? (u(), n("div", qt, [
726
- $(t.$slots, "watermark", q(K({ isPrinting: r(be) || r(ge) })), void 0, !0)
727
- ])) : y("", !0),
728
- E.value ? y("", !0) : (u(), P(wt, {
729
- key: 4,
747
+ $(t.$slots, "svg", { svg: h.value }, void 0, !0)
748
+ ], 14, Tt)) : f("", !0),
749
+ t.$slots.watermark ? (u(), n("div", Qt, [
750
+ $(t.$slots, "watermark", R(E({ isPrinting: r(me) || r(ke) })), void 0, !0)
751
+ ])) : f("", !0),
752
+ Y.value ? f("", !0) : (u(), D($t, {
753
+ key: 5,
730
754
  config: {
731
755
  type: "donut",
732
756
  style: {
@@ -737,8 +761,8 @@ const re = (M) => (je("data-v-e05474aa"), M = M(), et(), M), Lt = ["id"], Ct = [
737
761
  }
738
762
  }
739
763
  }, null, 8, ["config"])),
740
- Oe(mt, {
741
- show: w.value.showTooltip && Z.value,
764
+ De(wt, {
765
+ show: w.value.showTooltip && j.value,
742
766
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
743
767
  color: e.value.style.chart.tooltip.color,
744
768
  borderRadius: e.value.style.chart.tooltip.borderRadius,
@@ -748,39 +772,39 @@ const re = (M) => (je("data-v-e05474aa"), M = M(), et(), M), Lt = ["id"], Ct = [
748
772
  backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
749
773
  position: e.value.style.chart.tooltip.position,
750
774
  offsetY: e.value.style.chart.tooltip.offsetY,
751
- parent: B.value,
752
- content: j.value,
753
- isCustom: r(Ve)(e.value.style.chart.tooltip.customFormat)
775
+ parent: z.value,
776
+ content: ee.value,
777
+ isCustom: r(Be)(e.value.style.chart.tooltip.customFormat)
754
778
  }, {
755
- "tooltip-before": m(() => [
756
- $(t.$slots, "tooltip-before", q(K({ ...ae.value })), void 0, !0)
779
+ "tooltip-before": g(() => [
780
+ $(t.$slots, "tooltip-before", R(E({ ...oe.value })), void 0, !0)
757
781
  ]),
758
- "tooltip-after": m(() => [
759
- $(t.$slots, "tooltip-after", q(K({ ...ae.value })), void 0, !0)
782
+ "tooltip-after": g(() => [
783
+ $(t.$slots, "tooltip-after", R(E({ ...oe.value })), void 0, !0)
760
784
  ]),
761
785
  _: 3
762
786
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
763
787
  e.value.style.chart.legend.show ? (u(), n("div", {
764
- key: 5,
788
+ key: 6,
765
789
  ref_key: "chartLegend",
766
- ref: ee,
767
- class: z({ "vue-ui-nested-donuts-legend": se.value.length > 1 })
790
+ ref: te,
791
+ class: P({ "vue-ui-nested-donuts-legend": ue.value.length > 1 })
768
792
  }, [
769
- (u(!0), n(x, null, S(se.value, (a, o) => (u(), P(_t, {
770
- key: `legend_${o}_${he.value}`,
793
+ (u(!0), n(x, null, S(ue.value, (a, o) => (u(), D(_t, {
794
+ key: `legend_${o}_${ye.value}`,
771
795
  legendSet: a,
772
- config: He.value,
773
- onClickMarker: s[1] || (s[1] = ({ legend: l }) => te(l))
796
+ config: Ke.value,
797
+ onClickMarker: s[1] || (s[1] = ({ legend: l }) => le(l))
774
798
  }, {
775
- legendTitle: m(({ titleSet: l }) => [
776
- l[0] && l[0].arcOf ? (u(), n("div", Kt, T(l[0].arcOf), 1)) : y("", !0)
799
+ legendTitle: g(({ titleSet: l }) => [
800
+ l[0] && l[0].arcOf ? (u(), n("div", Zt, N(l[0].arcOf), 1)) : f("", !0)
777
801
  ]),
778
- item: m(({ legend: l, index: i }) => [
779
- p("div", {
780
- onClick: (b) => te(l),
781
- style: ue(`opacity:${h.value.includes(l.id) ? 0.5 : 1}`)
802
+ item: g(({ legend: l, index: i }) => [
803
+ y("div", {
804
+ onClick: (b) => le(l),
805
+ style: re(`opacity:${p.value.includes(l.id) ? 0.5 : 1}`)
782
806
  }, [
783
- J(T(l.name) + ": " + T(r(R)(
807
+ Q(N(l.name) + ": " + N(r(G)(
784
808
  e.value.style.chart.layout.labels.dataLabels.formatter,
785
809
  l.value,
786
810
  r(L)({
@@ -791,25 +815,25 @@ const re = (M) => (je("data-v-e05474aa"), M = M(), et(), M), Lt = ["id"], Ct = [
791
815
  }),
792
816
  { datapoint: l, seriesIndex: i }
793
817
  )) + " ", 1),
794
- h.value.includes(l.id) ? (u(), n(x, { key: 1 }, [
795
- J(" ( - % ) ")
818
+ p.value.includes(l.id) ? (u(), n(x, { key: 1 }, [
819
+ Q(" ( - % ) ")
796
820
  ], 64)) : (u(), n(x, { key: 0 }, [
797
- J(" (" + T(isNaN(l.value / l.total) ? "-" : r(L)({ v: l.value / l.total * 100, s: "%", r: e.value.style.chart.legend.roundingPercentage })) + ") ", 1)
821
+ Q(" (" + N(isNaN(l.value / l.total) ? "-" : r(L)({ v: l.value / l.total * 100, s: "%", r: e.value.style.chart.legend.roundingPercentage })) + ") ", 1)
798
822
  ], 64))
799
- ], 12, Jt)
823
+ ], 12, jt)
800
824
  ]),
801
825
  _: 2
802
826
  }, 1032, ["legendSet", "config"]))), 128))
803
- ], 2)) : y("", !0),
804
- e.value.style.chart.legend.show ? y("", !0) : (u(), n("div", {
805
- key: 6,
827
+ ], 2)) : f("", !0),
828
+ e.value.style.chart.legend.show ? f("", !0) : (u(), n("div", {
829
+ key: 7,
806
830
  ref_key: "chartLegend",
807
- ref: ee
831
+ ref: te
808
832
  }, [
809
- $(t.$slots, "legend", { legend: se.value }, void 0, !0)
833
+ $(t.$slots, "legend", { legend: ue.value }, void 0, !0)
810
834
  ], 512)),
811
- E.value ? (u(), P(kt, {
812
- key: 7,
835
+ Y.value ? (u(), D(xt, {
836
+ key: 8,
813
837
  hideDetails: "",
814
838
  config: {
815
839
  open: w.value.showTable,
@@ -824,33 +848,33 @@ const re = (M) => (je("data-v-e05474aa"), M = M(), et(), M), Lt = ["id"], Ct = [
824
848
  }
825
849
  }
826
850
  }, {
827
- content: m(() => [
828
- (u(), P(gt, {
829
- key: `table_${fe.value}`,
830
- colNames: H.value.colNames,
831
- head: H.value.head,
832
- body: H.value.body,
833
- config: H.value.config,
851
+ content: g(() => [
852
+ (u(), D(kt, {
853
+ key: `table_${pe.value}`,
854
+ colNames: K.value.colNames,
855
+ head: K.value.head,
856
+ body: K.value.body,
857
+ config: K.value.config,
834
858
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
835
859
  onClose: s[2] || (s[2] = (a) => w.value.showTable = !1)
836
860
  }, {
837
- th: m(({ th: a }) => [
838
- p("div", {
861
+ th: g(({ th: a }) => [
862
+ y("div", {
839
863
  innerHTML: a,
840
864
  style: { display: "flex", "align-items": "center" }
841
- }, null, 8, Qt)
865
+ }, null, 8, el)
842
866
  ]),
843
- td: m(({ td: a }) => [
844
- J(T(a.name || a), 1)
867
+ td: g(({ td: a }) => [
868
+ Q(N(a.name || a), 1)
845
869
  ]),
846
870
  _: 1
847
871
  }, 8, ["colNames", "head", "body", "config", "title"]))
848
872
  ]),
849
873
  _: 1
850
- }, 8, ["config"])) : y("", !0)
851
- ], 14, Lt));
874
+ }, 8, ["config"])) : f("", !0)
875
+ ], 14, St));
852
876
  }
853
- }, vl = /* @__PURE__ */ $t(Zt, [["__scopeId", "data-v-e05474aa"]]);
877
+ }, yl = /* @__PURE__ */ Ft(tl, [["__scopeId", "data-v-ab64cd29"]]);
854
878
  export {
855
- vl as default
879
+ yl as default
856
880
  };