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,20 +1,21 @@
1
- import { computed as d, ref as n, watch as he, onMounted as Ne, onBeforeUnmount as Re, openBlock as s, createElementBlock as u, normalizeClass as z, normalizeStyle as W, createBlock as C, createCommentVNode as b, unref as v, createSlots as Ae, withCtx as h, renderSlot as g, normalizeProps as Y, guardReactiveProps as B, createVNode as fe, Fragment as M, renderList as F, createElementVNode as _, toDisplayString as T, createTextVNode as De, nextTick as Le } from "vue";
2
- import { u as ze, c as Ye, t as Be, a as Ve, p as ge, b as Xe, o as Ge, e as j, d as Ue, X as Ee, f as N, i as q, x as pe, q as He, r as We, y as je } from "./index-DDXisDKy.js";
3
- import { t as qe, u as Je } from "./useResponsive-NZB-WLRF.js";
4
- import { _ as Ke } from "./Title-DYNLqCCT.js";
5
- import { u as Qe, U as Ze } from "./usePrinter-8ofTb2MJ.js";
6
- import { L as et } from "./Legend-DXLiSLHd.js";
7
- import { D as tt } from "./DataTable-DL2agEJ3.js";
8
- import { _ as at } from "./Tooltip-CICAYyQj.js";
9
- import lt from "./vue-ui-skeleton-B2sRnIXX.js";
10
- import ot from "./vue-ui-accordion-D_1fE5EF.js";
11
- import { u as ye } from "./useNestedProp-S1UXxUgm.js";
12
- import { _ as rt } from "./PackageVersion-DtnhR89q.js";
13
- import { _ as st } from "./_plugin-vue_export-helper-CHgC5LLL.js";
14
- const nt = ["id"], ut = ["xmlns", "viewBox"], it = ["cx", "cy", "r", "stroke", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], ct = ["cx", "cy", "r", "stroke", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], dt = ["id"], vt = ["stdDeviation"], ht = ["filter"], ft = ["cx", "cy", "r", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], gt = ["cx", "cy", "r", "stroke-width", "stroke-dasharray", "stroke-dashoffset", "onMouseenter"], pt = { key: 1 }, yt = ["onMouseenter"], mt = ["x", "y", "font-size", "fill", "font-weight"], bt = {
15
- key: 3,
1
+ import { computed as d, ref as s, watch as ge, onMounted as Re, onBeforeUnmount as De, openBlock as n, createElementBlock as u, normalizeClass as V, normalizeStyle as q, createBlock as C, createCommentVNode as y, unref as v, createSlots as Le, withCtx as h, renderSlot as f, normalizeProps as S, guardReactiveProps as M, createVNode as pe, Fragment as F, renderList as N, createElementVNode as _, toDisplayString as P, createTextVNode as ze, nextTick as Ye } from "vue";
2
+ import { u as Be, c as Ve, t as Xe, a as Ge, p as ye, b as Ue, o as Ee, e as J, d as He, X as We, f as R, i as K, x as me, q as je, r as qe, y as Je } from "./index-DnVHQ2xI.js";
3
+ import { t as Ke, u as Qe } from "./useResponsive-NZB-WLRF.js";
4
+ import { _ as Ze } from "./Title-5VmBwT4i.js";
5
+ import { u as et, U as tt } from "./usePrinter-BEeNAqS5.js";
6
+ import { L as at } from "./Legend-CYF2gpXG.js";
7
+ import { D as lt } from "./DataTable-DTk7C4Pr.js";
8
+ import { _ as ot } from "./Tooltip-Cj4EF7v1.js";
9
+ import rt from "./vue-ui-skeleton-aZmkNzAe.js";
10
+ import nt from "./vue-ui-accordion-DspS4q3f.js";
11
+ import { u as be } from "./useNestedProp-Cox0K0Y5.js";
12
+ import { _ as st } from "./PackageVersion-CvCRsT5_.js";
13
+ import { P as ut } from "./PenAndPaper-Jb0pLt3G.js";
14
+ import { _ as it } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
+ const ct = ["id"], dt = ["xmlns", "viewBox"], vt = ["cx", "cy", "r", "stroke", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], ht = ["cx", "cy", "r", "stroke", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], ft = ["id"], gt = ["stdDeviation"], pt = ["filter"], yt = ["cx", "cy", "r", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], mt = ["cx", "cy", "r", "stroke-width", "stroke-dasharray", "stroke-dashoffset", "onMouseenter"], bt = { key: 1 }, kt = ["onMouseenter"], $t = ["x", "y", "font-size", "fill", "font-weight"], wt = {
16
+ key: 4,
16
17
  class: "vue-data-ui-watermark"
17
- }, kt = ["onClick"], $t = ["innerHTML"], wt = {
18
+ }, Ct = ["onClick"], xt = ["innerHTML"], Tt = {
18
19
  __name: "vue-ui-onion",
19
20
  props: {
20
21
  config: {
@@ -31,34 +32,34 @@ const nt = ["id"], ut = ["xmlns", "viewBox"], it = ["cx", "cy", "r", "stroke", "
31
32
  }
32
33
  },
33
34
  emits: ["selectLegend"],
34
- setup(me, { expose: be, emit: ke }) {
35
- const k = me, { vue_ui_onion: $e } = ze(), R = d(() => !!k.dataset && k.dataset.length), x = n(Ye()), we = n(null), J = n(0), A = n(!1), V = n(""), p = n([]), P = n(null), K = n(null), Q = n(null), Z = n(0), ee = n(0), te = n(0), e = d({
36
- get: () => ae(),
35
+ setup(ke, { expose: $e, emit: we }) {
36
+ const k = ke, { vue_ui_onion: Ce } = Be(), D = d(() => !!k.dataset && k.dataset.length), x = s(Ve()), xe = s(null), Q = s(0), L = s(!1), X = s(""), p = s([]), T = s(null), Z = s(null), ee = s(null), te = s(0), ae = s(0), le = s(0), e = d({
37
+ get: () => oe(),
37
38
  set: (a) => a
38
39
  });
39
- function ae() {
40
- const a = ye({
40
+ function oe() {
41
+ const a = be({
41
42
  userConfig: k.config,
42
- defaultConfig: $e
43
+ defaultConfig: Ce
43
44
  });
44
45
  return a.theme ? {
45
- ...ye({
46
- userConfig: Be.vue_ui_onion[a.theme] || k.config,
46
+ ...be({
47
+ userConfig: Xe.vue_ui_onion[a.theme] || k.config,
47
48
  defaultConfig: a
48
49
  }),
49
- customPalette: Ve[a.theme] || ge
50
+ customPalette: Ge[a.theme] || ye
50
51
  } : a;
51
52
  }
52
- he(() => k.config, (a) => {
53
- e.value = ae(), ne(), Z.value += 1, ee.value += 1, te.value += 1;
53
+ ge(() => k.config, (a) => {
54
+ e.value = oe(), ie(), te.value += 1, ae.value += 1, le.value += 1;
54
55
  }, { deep: !0 });
55
- const { isPrinting: le, isImaging: oe, generatePdf: re, generateImage: se } = Qe({
56
+ const { isPrinting: re, isImaging: ne, generatePdf: se, generateImage: ue } = et({
56
57
  elementId: `vue-ui-onion_${x.value}`,
57
58
  fileName: e.value.style.chart.title.text || "vue-ui-onion"
58
- }), xe = d(() => Xe(e.value.customPalette)), $ = n({
59
+ }), Te = d(() => Ue(e.value.customPalette)), $ = s({
59
60
  showTable: e.value.table.show,
60
61
  showTooltip: e.value.style.chart.tooltip.show
61
- }), r = n({
62
+ }), r = s({
62
63
  height: 512,
63
64
  width: 512,
64
65
  padding: {
@@ -68,28 +69,28 @@ const nt = ["id"], ut = ["xmlns", "viewBox"], it = ["cx", "cy", "r", "stroke", "
68
69
  bottom: 64
69
70
  },
70
71
  minRadius: 64
71
- }), D = n(null);
72
- Ne(() => {
73
- ne();
72
+ }), z = s(null);
73
+ Re(() => {
74
+ ie();
74
75
  });
75
- function ne() {
76
- if (Ge(k.dataset) && j({
76
+ function ie() {
77
+ if (Ee(k.dataset) && J({
77
78
  componentName: "VueUiOnion",
78
79
  type: "dataset"
79
80
  }), e.value.responsive) {
80
- const o = qe(() => {
81
- const { width: t, height: l } = Je({
82
- chart: P.value,
83
- title: e.value.style.chart.title.text ? K.value : null,
84
- legend: e.value.style.chart.legend.show ? Q.value : null
81
+ const o = Ke(() => {
82
+ const { width: t, height: l } = Qe({
83
+ chart: T.value,
84
+ title: e.value.style.chart.title.text ? Z.value : null,
85
+ legend: e.value.style.chart.legend.show ? ee.value : null
85
86
  });
86
87
  r.value.width = t, r.value.height = l, r.value.padding.top = Math.max(t, l) * 0.125, r.value.padding.right = Math.max(t, l) * 0.125, r.value.padding.bottom = Math.max(t, l) * 0.125, r.value.padding.left = Math.max(t, l) * 0.125, r.value.minRadius = Math.min(t, l) * 0.125;
87
88
  });
88
- D.value = new ResizeObserver(o), D.value.observe(P.value.parentNode);
89
+ z.value = new ResizeObserver(o), z.value.observe(T.value.parentNode);
89
90
  }
90
91
  }
91
- Re(() => {
92
- D.value && D.value.disconnect();
92
+ De(() => {
93
+ z.value && z.value.disconnect();
93
94
  });
94
95
  const i = d(() => ({
95
96
  top: r.value.padding.top,
@@ -103,12 +104,12 @@ const nt = ["id"], ut = ["xmlns", "viewBox"], it = ["cx", "cy", "r", "stroke", "
103
104
  minRadius: r.value.minRadius,
104
105
  maxRadius: Math.min(r.value.width, r.value.height) - r.value.padding.top * 2
105
106
  })), c = d(() => (k.dataset.forEach((a, o) => {
106
- [null, void 0].includes(a.name) && j({
107
+ [null, void 0].includes(a.name) && J({
107
108
  componentName: "VueUiOnion",
108
109
  type: "datasetSerieAttribute",
109
110
  property: "name",
110
111
  index: o
111
- }), [void 0].includes(a.percentage) && j({
112
+ }), [void 0].includes(a.percentage) && J({
112
113
  componentName: "VueUiOnion",
113
114
  type: "datasetSerieAttribute",
114
115
  property: "percentage",
@@ -120,23 +121,23 @@ const nt = ["id"], ut = ["xmlns", "viewBox"], it = ["cx", "cy", "r", "stroke", "
120
121
  ...a,
121
122
  percentage: a.percentage || 0,
122
123
  targetPercentage: a.percentage || 0,
123
- color: Ue(a.color) || xe.value[o] || ge[o],
124
+ color: He(a.color) || Te.value[o] || ye[o],
124
125
  id: t,
125
126
  shape: "circle",
126
127
  opacity: p.value.includes(t) ? 0.5 : 1,
127
128
  absoluteIndex: o,
128
- segregate: () => ue(t),
129
+ segregate: () => ce(t),
129
130
  isSegregated: p.value.includes(t)
130
131
  };
131
- }))), O = n(c.value), Ce = d(() => e.value.useStartAnimation), _e = n(null), Te = d(() => Math.max(...c.value.map((a) => a.percentage))), X = n(!1);
132
- he(() => c.value, Pe, { immediate: !0 });
133
- function Pe() {
134
- if (Ce.value && !X.value) {
132
+ }))), O = s(c.value), _e = d(() => e.value.useStartAnimation), Pe = s(null), Oe = d(() => Math.max(...c.value.map((a) => a.percentage))), G = s(!1);
133
+ ge(() => c.value, Ae, { immediate: !0 });
134
+ function Ae() {
135
+ if (_e.value && !G.value) {
135
136
  let o = function() {
136
- a >= Te.value ? (cancelAnimationFrame(_e.value), O.value = c.value, X.value = !0) : (O.value = c.value.map((t) => ({
137
+ a >= Oe.value ? (cancelAnimationFrame(Pe.value), O.value = c.value, G.value = !0) : (O.value = c.value.map((t) => ({
137
138
  ...t,
138
139
  percentage: a < t.targetPercentage ? a : t.targetPercentage
139
- })), a += 1, requestAnimationFrame(o), X.value = !0);
140
+ })), a += 1, requestAnimationFrame(o), G.value = !0);
140
141
  };
141
142
  O.value = c.value.map((t) => ({
142
143
  ...t,
@@ -147,36 +148,36 @@ const nt = ["id"], ut = ["xmlns", "viewBox"], it = ["cx", "cy", "r", "stroke", "
147
148
  } else
148
149
  O.value = c.value;
149
150
  }
150
- const Oe = d(() => ({
151
+ const Ie = d(() => ({
151
152
  cy: "onion-div-legend",
152
153
  backgroundColor: e.value.style.chart.legend.backgroundColor,
153
154
  color: e.value.style.chart.legend.color,
154
155
  fontSize: e.value.style.chart.legend.fontSize,
155
156
  paddingBottom: 12,
156
157
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
157
- })), Ie = d(() => c.value.filter((a) => !p.value.includes(a.id)).length), w = d(() => {
158
+ })), Se = d(() => c.value.filter((a) => !p.value.includes(a.id)).length), w = d(() => {
158
159
  const a = Math.min(i.value.width, i.value.height) / 2 / c.value.length;
159
160
  return {
160
161
  gutter: (a > e.value.style.chart.layout.maxThickness ? e.value.style.chart.layout.maxThickness : a) * e.value.style.chart.layout.gutter.width,
161
162
  track: (a > e.value.style.chart.layout.maxThickness ? e.value.style.chart.layout.maxThickness : a) * e.value.style.chart.layout.track.width
162
163
  };
163
- }), y = d(() => O.value.filter((a) => !p.value.includes(a.id)).map((a, o) => {
164
- const t = (i.value.maxRadius - w.value.track) / Ie.value / 2 * (1 + o), l = i.value.centerY - t;
164
+ }), m = d(() => O.value.filter((a) => !p.value.includes(a.id)).map((a, o) => {
165
+ const t = (i.value.maxRadius - w.value.track) / Se.value / 2 * (1 + o), l = i.value.centerY - t;
165
166
  return {
166
167
  percentage: a.percentage || 0,
167
168
  ...a,
168
169
  labelY: l,
169
170
  radius: t,
170
- path: Se(t, a.percentage || 0)
171
+ path: Me(t, a.percentage || 0)
171
172
  };
172
173
  }));
173
- function Se(a, o) {
174
- const t = 2 * Math.PI * a, l = t * 0.75, f = `${l} ${t}`, S = l * (1 - o / 100);
174
+ function Me(a, o) {
175
+ const t = 2 * Math.PI * a, l = t * 0.75, g = `${l} ${t}`, I = l * (1 - o / 100);
175
176
  return {
176
177
  bgDashArray: `${l} ${t}`,
177
178
  bgDashOffset: 0,
178
- dashArray: f,
179
- dashOffset: S,
179
+ dashArray: g,
180
+ dashOffset: I,
180
181
  fullOffset: 0,
181
182
  active: `
182
183
  M ${i.value.centerX},${i.value.centerY - a}
@@ -185,21 +186,21 @@ const nt = ["id"], ut = ["xmlns", "viewBox"], it = ["cx", "cy", "r", "stroke", "
185
186
  `.trim()
186
187
  };
187
188
  }
188
- function ue(a) {
189
- p.value.includes(a) ? p.value = p.value.filter((o) => o !== a) : p.value.push(a), ke("selectLegend", y.value);
189
+ function ce(a) {
190
+ p.value.includes(a) ? p.value = p.value.filter((o) => o !== a) : p.value.push(a), we("selectLegend", m.value);
190
191
  }
191
- function Me() {
192
- return y.value;
192
+ function Fe() {
193
+ return m.value;
193
194
  }
194
- const G = d(() => {
195
- const a = [e.value.table.translations.serie, e.value.table.translations.percentage, e.value.table.translations.value], o = y.value.map((t) => [
195
+ const U = d(() => {
196
+ const a = [e.value.table.translations.serie, e.value.table.translations.percentage, e.value.table.translations.value], o = m.value.map((t) => [
196
197
  t.name,
197
198
  t.percentage,
198
199
  t.value
199
200
  ]);
200
201
  return { head: a, body: o };
201
- }), L = d(() => {
202
- const a = G.value.head, o = y.value.map((l) => [
202
+ }), Y = d(() => {
203
+ const a = U.value.head, o = m.value.map((l) => [
203
204
  `<span style="color:${l.color}">⬤</span> ${l.name}`,
204
205
  `${Number(l.percentage ?? 0).toFixed(e.value.table.td.roundingPercentage).toLocaleString()}%`,
205
206
  `${l.prefix || ""}${[null, void 0, NaN, "NaN"].includes(l.value) ? "-" : l.value.toFixed(e.value.table.td.roundingValue).toLocaleString()}${l.suffix || ""}`
@@ -218,82 +219,95 @@ const nt = ["id"], ut = ["xmlns", "viewBox"], it = ["cx", "cy", "r", "stroke", "
218
219
  };
219
220
  return { head: a, body: o, config: t, colNames: a };
220
221
  });
221
- function ie() {
222
- Le(() => {
223
- const a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], o = G.value.head, t = G.value.body, l = a.concat([o]).concat(t), f = He(l);
224
- We({ csvContent: f, title: e.value.style.chart.title.text || "vue-ui-onion" });
222
+ function de() {
223
+ Ye(() => {
224
+ const a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], o = U.value.head, t = U.value.body, l = a.concat([o]).concat(t), g = je(l);
225
+ qe({ csvContent: g, title: e.value.style.chart.title.text || "vue-ui-onion" });
225
226
  });
226
227
  }
227
- const m = n(void 0), I = n(!1);
228
- function Fe(a) {
229
- I.value = a, J.value += 1;
228
+ const b = s(void 0), A = s(!1);
229
+ function Ne(a) {
230
+ A.value = a, Q.value += 1;
230
231
  }
231
- const U = n(null);
232
- function ce({ datapoint: a, seriesIndex: o, show: t = !0 }) {
232
+ const E = s(null);
233
+ function ve({ datapoint: a, seriesIndex: o, show: t = !0 }) {
233
234
  const l = a.absoluteIndex;
234
- m.value = o, U.value = {
235
+ b.value = o, E.value = {
235
236
  datapoint: a,
236
237
  seriesIndex: l,
237
238
  series: c.value,
238
239
  config: e.value
239
- }, A.value = t;
240
- let f = "";
241
- const S = e.value.style.chart.tooltip.customFormat;
242
- if (pe(S) && je(() => S({
240
+ }, L.value = t;
241
+ let g = "";
242
+ const I = e.value.style.chart.tooltip.customFormat;
243
+ if (me(I) && Je(() => I({
243
244
  seriesIndex: l,
244
245
  datapoint: a,
245
246
  series: c.value,
246
247
  config: e.value
247
248
  })))
248
- V.value = S({
249
+ X.value = I({
249
250
  seriesIndex: l,
250
251
  datapoint: a,
251
252
  series: c.value,
252
253
  config: e.value
253
254
  });
254
255
  else {
255
- const E = e.value.style.chart.tooltip.showPercentage, H = e.value.style.chart.tooltip.showValue;
256
- f += `<div style="width: 100%; border-bottom: 1px solid ${e.value.style.chart.tooltip.borderColor}; padding-bottom: 6px;margin-bottom:3px;display:flex;flex-direction:row;gap:3px;align-items:center"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${a.color}"/></svg><span></span>${a.name}</span></div>`, f += `<div style="width:100%;text-align:left;"><b>${E ? N({ p: "", v: a.percentage, s: "%", r: e.value.style.chart.tooltip.roundingPercentage }) : ""}</b> ${E && H ? "(" : ""}${H ? q(
256
+ const W = e.value.style.chart.tooltip.showPercentage, j = e.value.style.chart.tooltip.showValue;
257
+ g += `<div style="width: 100%; border-bottom: 1px solid ${e.value.style.chart.tooltip.borderColor}; padding-bottom: 6px;margin-bottom:3px;display:flex;flex-direction:row;gap:3px;align-items:center"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${a.color}"/></svg><span></span>${a.name}</span></div>`, g += `<div style="width:100%;text-align:left;"><b>${W ? R({ p: "", v: a.percentage, s: "%", r: e.value.style.chart.tooltip.roundingPercentage }) : ""}</b> ${W && j ? "(" : ""}${j ? K(
257
258
  e.value.style.chart.layout.labels.value.formatter,
258
259
  a.value,
259
- N({
260
+ R({
260
261
  p: a.prefix || "",
261
262
  v: a.value,
262
263
  s: a.suffix || "",
263
264
  r: e.value.style.chart.tooltip.roundingValue
264
265
  }),
265
266
  { datapoint: a, seriesIndex: o }
266
- ) : ""}${E && H ? ")" : ""}</div>`, V.value = `<div>${f}</div>`;
267
+ ) : ""}${W && j ? ")" : ""}</div>`, X.value = `<div>${g}</div>`;
267
268
  }
268
269
  }
269
- function de() {
270
+ function he() {
270
271
  $.value.showTable = !$.value.showTable;
271
272
  }
272
- function ve() {
273
+ function fe() {
273
274
  $.value.showTooltip = !$.value.showTooltip;
274
275
  }
275
- return be({
276
- getData: Me,
277
- generatePdf: re,
278
- generateCsv: ie,
279
- generateImage: se,
280
- toggleTable: de,
281
- toggleTooltip: ve
282
- }), (a, o) => (s(), u("div", {
283
- class: z(`vue-ui-onion ${I.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
276
+ const B = s(!1);
277
+ function H() {
278
+ B.value = !B.value;
279
+ }
280
+ return $e({
281
+ getData: Fe,
282
+ generatePdf: se,
283
+ generateCsv: de,
284
+ generateImage: ue,
285
+ toggleTable: he,
286
+ toggleTooltip: fe,
287
+ toggleAnnotator: H
288
+ }), (a, o) => (n(), u("div", {
289
+ class: V(`vue-ui-onion ${A.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
284
290
  ref_key: "onionChart",
285
- ref: P,
291
+ ref: T,
286
292
  id: `vue-ui-onion_${x.value}`,
287
- style: W(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height: 100%;" : ""} text-align:center;background:${e.value.style.chart.backgroundColor}`)
293
+ style: q(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height: 100%;" : ""} text-align:center;background:${e.value.style.chart.backgroundColor}`)
288
294
  }, [
289
- e.value.style.chart.title.text ? (s(), u("div", {
295
+ e.value.userOptions.buttons.annotator ? (n(), C(ut, {
290
296
  key: 0,
297
+ parent: T.value,
298
+ backgroundColor: e.value.style.chart.backgroundColor,
299
+ color: e.value.style.chart.color,
300
+ active: B.value,
301
+ onClose: H
302
+ }, null, 8, ["parent", "backgroundColor", "color", "active"])) : y("", !0),
303
+ e.value.style.chart.title.text ? (n(), u("div", {
304
+ key: 1,
291
305
  ref_key: "chartTitle",
292
- ref: K,
306
+ ref: Z,
293
307
  style: "width:100%;background:transparent"
294
308
  }, [
295
- (s(), C(Ke, {
296
- key: `title_${Z.value}`,
309
+ (n(), C(Ze, {
310
+ key: `title_${te.value}`,
297
311
  config: {
298
312
  title: {
299
313
  cy: "onion-div-title",
@@ -305,15 +319,15 @@ const nt = ["id"], ut = ["xmlns", "viewBox"], it = ["cx", "cy", "r", "stroke", "
305
319
  }
306
320
  }
307
321
  }, null, 8, ["config"]))
308
- ], 512)) : b("", !0),
309
- e.value.userOptions.show && R.value ? (s(), C(Ze, {
322
+ ], 512)) : y("", !0),
323
+ e.value.userOptions.show && D.value ? (n(), C(tt, {
310
324
  ref_key: "details",
311
- ref: we,
312
- key: `user_options${J.value}`,
325
+ ref: xe,
326
+ key: `user_options${Q.value}`,
313
327
  backgroundColor: e.value.style.chart.backgroundColor,
314
328
  color: e.value.style.chart.color,
315
- isImaging: v(oe),
316
- isPrinting: v(le),
329
+ isImaging: v(ne),
330
+ isPrinting: v(re),
317
331
  uid: x.value,
318
332
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
319
333
  hasPdf: e.value.userOptions.buttons.pdf,
@@ -321,70 +335,80 @@ const nt = ["id"], ut = ["xmlns", "viewBox"], it = ["cx", "cy", "r", "stroke", "
321
335
  hasXls: e.value.userOptions.buttons.csv,
322
336
  hasTable: e.value.userOptions.buttons.table,
323
337
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
324
- isFullscreen: I.value,
338
+ isFullscreen: A.value,
325
339
  isTooltip: $.value.showTooltip,
326
340
  titles: { ...e.value.userOptions.buttonTitles },
327
- chartElement: P.value,
341
+ chartElement: T.value,
328
342
  position: e.value.userOptions.position,
329
- onToggleFullscreen: Fe,
330
- onGeneratePdf: v(re),
331
- onGenerateCsv: ie,
332
- onGenerateImage: v(se),
333
- onToggleTable: de,
334
- onToggleTooltip: ve
335
- }, Ae({ _: 2 }, [
343
+ hasAnnotator: e.value.userOptions.buttons.annotator,
344
+ isAnnotation: B.value,
345
+ onToggleFullscreen: Ne,
346
+ onGeneratePdf: v(se),
347
+ onGenerateCsv: de,
348
+ onGenerateImage: v(ue),
349
+ onToggleTable: he,
350
+ onToggleTooltip: fe,
351
+ onToggleAnnotator: H
352
+ }, Le({ _: 2 }, [
336
353
  a.$slots.optionTooltip ? {
337
354
  name: "optionTooltip",
338
355
  fn: h(() => [
339
- g(a.$slots, "optionTooltip", {}, void 0, !0)
356
+ f(a.$slots, "optionTooltip", {}, void 0, !0)
340
357
  ]),
341
358
  key: "0"
342
359
  } : void 0,
343
360
  a.$slots.optionPdf ? {
344
361
  name: "optionPdf",
345
362
  fn: h(() => [
346
- g(a.$slots, "optionPdf", {}, void 0, !0)
363
+ f(a.$slots, "optionPdf", {}, void 0, !0)
347
364
  ]),
348
365
  key: "1"
349
366
  } : void 0,
350
367
  a.$slots.optionCsv ? {
351
368
  name: "optionCsv",
352
369
  fn: h(() => [
353
- g(a.$slots, "optionCsv", {}, void 0, !0)
370
+ f(a.$slots, "optionCsv", {}, void 0, !0)
354
371
  ]),
355
372
  key: "2"
356
373
  } : void 0,
357
374
  a.$slots.optionImg ? {
358
375
  name: "optionImg",
359
376
  fn: h(() => [
360
- g(a.$slots, "optionImg", {}, void 0, !0)
377
+ f(a.$slots, "optionImg", {}, void 0, !0)
361
378
  ]),
362
379
  key: "3"
363
380
  } : void 0,
364
381
  a.$slots.optionTable ? {
365
382
  name: "optionTable",
366
383
  fn: h(() => [
367
- g(a.$slots, "optionTable", {}, void 0, !0)
384
+ f(a.$slots, "optionTable", {}, void 0, !0)
368
385
  ]),
369
386
  key: "4"
370
387
  } : void 0,
371
388
  a.$slots.optionFullscreen ? {
372
389
  name: "optionFullscreen",
373
390
  fn: h(({ toggleFullscreen: t, isFullscreen: l }) => [
374
- g(a.$slots, "optionFullscreen", Y(B({ toggleFullscreen: t, isFullscreen: l })), void 0, !0)
391
+ f(a.$slots, "optionFullscreen", S(M({ toggleFullscreen: t, isFullscreen: l })), void 0, !0)
375
392
  ]),
376
393
  key: "5"
394
+ } : void 0,
395
+ a.$slots.optionAnnotator ? {
396
+ name: "optionAnnotator",
397
+ fn: h(({ toggleAnnotator: t, isAnnotator: l }) => [
398
+ f(a.$slots, "optionAnnotator", S(M({ toggleAnnotator: t, isAnnotator: l })), void 0, !0)
399
+ ]),
400
+ key: "6"
377
401
  } : void 0
378
- ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "onGeneratePdf", "onGenerateImage"])) : b("", !0),
379
- R.value ? (s(), u("svg", {
380
- key: 2,
381
- xmlns: v(Ee),
382
- class: z({ "vue-data-ui-fullscreen--on": I.value, "vue-data-ui-fulscreen--off": !I.value }),
402
+ ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : y("", !0),
403
+ D.value ? (n(), u("svg", {
404
+ key: 3,
405
+ xmlns: v(We),
406
+ class: V({ "vue-data-ui-fullscreen--on": A.value, "vue-data-ui-fulscreen--off": !A.value }),
383
407
  viewBox: `0 0 ${r.value.width <= 0 ? 1e-4 : r.value.width} ${r.value.height <= 0 ? 1e-4 : r.value.height}`,
384
- style: W(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
408
+ style: q(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
385
409
  }, [
386
- fe(rt),
387
- (s(!0), u(M, null, F(y.value, (t, l) => (s(), u("circle", {
410
+ pe(st),
411
+ (n(!0), u(F, null, N(m.value, (t, l) => (n(), u("circle", {
388
412
  cx: i.value.centerX,
389
413
  cy: i.value.centerY,
390
414
  r: t.radius <= 0 ? 1e-4 : t.radius,
@@ -394,10 +418,10 @@ const nt = ["id"], ut = ["xmlns", "viewBox"], it = ["cx", "cy", "r", "stroke", "
394
418
  "stroke-dasharray": t.path.bgDashArray,
395
419
  "stroke-dashoffset": t.path.fullOffset,
396
420
  "stroke-linecap": "round",
397
- class: z({ "vue-ui-onion-path": !0, "vue-ui-onion-blur": e.value.useBlurOnHover && ![null, void 0].includes(m.value) && m.value !== l }),
421
+ class: V({ "vue-ui-onion-path": !0, "vue-ui-onion-blur": e.value.useBlurOnHover && ![null, void 0].includes(b.value) && b.value !== l }),
398
422
  style: { transform: "rotate(-90deg)", "transform-origin": "50% 50%" }
399
- }, null, 10, it))), 256)),
400
- (s(!0), u(M, null, F(y.value, (t, l) => (s(), u("circle", {
423
+ }, null, 10, vt))), 256)),
424
+ (n(!0), u(F, null, N(m.value, (t, l) => (n(), u("circle", {
401
425
  cx: i.value.centerX,
402
426
  cy: i.value.centerY,
403
427
  r: t.radius < 0 ? 1e-4 : t.radius,
@@ -406,10 +430,10 @@ const nt = ["id"], ut = ["xmlns", "viewBox"], it = ["cx", "cy", "r", "stroke", "
406
430
  fill: "none",
407
431
  "stroke-dasharray": t.path.dashArray,
408
432
  "stroke-dashoffset": t.path.dashOffset,
409
- class: z({ "vue-ui-onion-path": !0, "vue-ui-onion-blur": e.value.useBlurOnHover && ![null, void 0].includes(m.value) && m.value !== l }),
433
+ class: V({ "vue-ui-onion-path": !0, "vue-ui-onion-blur": e.value.useBlurOnHover && ![null, void 0].includes(b.value) && b.value !== l }),
410
434
  "stroke-linecap": "round",
411
435
  style: { transform: "rotate(-90deg)", "transform-origin": "50% 50%" }
412
- }, null, 10, ct))), 256)),
436
+ }, null, 10, ht))), 256)),
413
437
  _("defs", null, [
414
438
  _("filter", {
415
439
  id: `blur_${x.value}`,
@@ -421,14 +445,14 @@ const nt = ["id"], ut = ["xmlns", "viewBox"], it = ["cx", "cy", "r", "stroke", "
421
445
  _("feGaussianBlur", {
422
446
  in: "SourceGraphic",
423
447
  stdDeviation: 100 / e.value.style.chart.gradientIntensity
424
- }, null, 8, vt)
425
- ], 8, dt)
448
+ }, null, 8, gt)
449
+ ], 8, ft)
426
450
  ]),
427
- e.value.style.chart.useGradient ? (s(), u("g", {
451
+ e.value.style.chart.useGradient ? (n(), u("g", {
428
452
  key: 0,
429
453
  filter: `url(#blur_${x.value})`
430
454
  }, [
431
- (s(!0), u(M, null, F(y.value, (t, l) => (s(), u("circle", {
455
+ (n(!0), u(F, null, N(m.value, (t, l) => (n(), u("circle", {
432
456
  cx: i.value.centerX,
433
457
  cy: i.value.centerY,
434
458
  r: t.radius <= 0 ? 1e-4 : t.radius,
@@ -439,9 +463,9 @@ const nt = ["id"], ut = ["xmlns", "viewBox"], it = ["cx", "cy", "r", "stroke", "
439
463
  "stroke-dasharray": t.path.dashArray,
440
464
  "stroke-dashoffset": t.path.dashOffset,
441
465
  style: { transform: "rotate(-90deg)", "transform-origin": "50% 50%" }
442
- }, null, 8, ft))), 256))
443
- ], 8, ht)) : b("", !0),
444
- (s(!0), u(M, null, F(y.value, (t, l) => (s(), u("circle", {
466
+ }, null, 8, yt))), 256))
467
+ ], 8, pt)) : y("", !0),
468
+ (n(!0), u(F, null, N(m.value, (t, l) => (n(), u("circle", {
445
469
  "data-cy-trap": "",
446
470
  cx: i.value.centerX,
447
471
  cy: i.value.centerY,
@@ -454,68 +478,68 @@ const nt = ["id"], ut = ["xmlns", "viewBox"], it = ["cx", "cy", "r", "stroke", "
454
478
  "stroke-linecap": "round",
455
479
  class: "vue-ui-onion-path",
456
480
  style: { transform: "rotate(-90deg)", "transform-origin": "50% 50%" },
457
- onMouseenter: (f) => ce({
481
+ onMouseenter: (g) => ve({
458
482
  datapoint: t,
459
483
  show: !0,
460
484
  seriesIndex: l
461
485
  }),
462
- onMouseleave: o[0] || (o[0] = (f) => {
463
- m.value = void 0, A.value = !1;
486
+ onMouseleave: o[0] || (o[0] = (g) => {
487
+ b.value = void 0, L.value = !1;
464
488
  })
465
- }, null, 40, gt))), 256)),
466
- e.value.style.chart.layout.labels.show ? (s(), u("g", pt, [
467
- (s(!0), u(M, null, F(y.value, (t, l) => (s(), u("g", {
468
- onMouseenter: (f) => ce({
489
+ }, null, 40, mt))), 256)),
490
+ e.value.style.chart.layout.labels.show ? (n(), u("g", bt, [
491
+ (n(!0), u(F, null, N(m.value, (t, l) => (n(), u("g", {
492
+ onMouseenter: (g) => ve({
469
493
  datapoint: t,
470
494
  show: !0,
471
495
  seriesIndex: l
472
496
  }),
473
- onMouseleave: o[1] || (o[1] = (f) => {
474
- m.value = void 0, A.value = !1;
497
+ onMouseleave: o[1] || (o[1] = (g) => {
498
+ b.value = void 0, L.value = !1;
475
499
  })
476
500
  }, [
477
- p.value.includes(t.id) ? b("", !0) : (s(), u("text", {
501
+ p.value.includes(t.id) ? y("", !0) : (n(), u("text", {
478
502
  key: 0,
479
503
  x: r.value.width / 2 - w.value.gutter * 0.8 + e.value.style.chart.layout.labels.offsetX,
480
504
  y: t.labelY + e.value.style.chart.layout.labels.offsetY,
481
505
  "text-anchor": "end",
482
506
  "font-size": e.value.style.chart.layout.labels.fontSize,
483
- fill: e.value.useBlurOnHover && ![null, void 0].includes(m.value) && m.value === l ? t.color : e.value.style.chart.layout.labels.color,
507
+ fill: e.value.useBlurOnHover && ![null, void 0].includes(b.value) && b.value === l ? t.color : e.value.style.chart.layout.labels.color,
484
508
  "font-weight": e.value.style.chart.layout.labels.bold ? "bold" : "normal"
485
- }, T(t.name ? t.name + ": " : "") + " " + T(e.value.style.chart.layout.labels.percentage.show ? v(N)({
509
+ }, P(t.name ? t.name + ": " : "") + " " + P(e.value.style.chart.layout.labels.percentage.show ? v(R)({
486
510
  v: t.percentage,
487
511
  s: "%",
488
512
  r: e.value.style.chart.layout.labels.roundingPercentage
489
- }) : "") + " " + T(!e.value.style.chart.layout.labels.percentage.show && e.value.style.chart.layout.labels.value.show ? `: ${v(q)(
513
+ }) : "") + " " + P(!e.value.style.chart.layout.labels.percentage.show && e.value.style.chart.layout.labels.value.show ? `: ${v(K)(
490
514
  e.value.style.chart.layout.labels.value.formatter,
491
515
  t.value,
492
- v(N)({
516
+ v(R)({
493
517
  p: t.prefix || "",
494
518
  v: t.value || 0,
495
519
  s: t.suffix || "",
496
520
  r: e.value.style.chart.layout.labels.roundingValue
497
521
  }),
498
522
  { datapoint: t, seriesIndex: l }
499
- )}` : `${e.value.style.chart.layout.labels.value.show && t.value ? `(${v(q)(
523
+ )}` : `${e.value.style.chart.layout.labels.value.show && t.value ? `(${v(K)(
500
524
  e.value.style.chart.layout.labels.value.formatter,
501
525
  t.value,
502
- v(N)({
526
+ v(R)({
503
527
  p: t.prefix || "",
504
528
  v: t.value || 0,
505
529
  s: t.suffix || "",
506
530
  r: e.value.style.chart.layout.labels.roundingValue
507
531
  }),
508
532
  { datapoint: t, seriesIndex: l }
509
- )})` : ""}`), 9, mt))
510
- ], 40, yt))), 256))
511
- ])) : b("", !0),
512
- g(a.$slots, "svg", { svg: r.value }, void 0, !0)
513
- ], 14, ut)) : b("", !0),
514
- a.$slots.watermark ? (s(), u("div", bt, [
515
- g(a.$slots, "watermark", Y(B({ isPrinting: v(le) || v(oe) })), void 0, !0)
516
- ])) : b("", !0),
517
- R.value ? b("", !0) : (s(), C(lt, {
518
- key: 4,
533
+ )})` : ""}`), 9, $t))
534
+ ], 40, kt))), 256))
535
+ ])) : y("", !0),
536
+ f(a.$slots, "svg", { svg: r.value }, void 0, !0)
537
+ ], 14, dt)) : y("", !0),
538
+ a.$slots.watermark ? (n(), u("div", wt, [
539
+ f(a.$slots, "watermark", S(M({ isPrinting: v(re) || v(ne) })), void 0, !0)
540
+ ])) : y("", !0),
541
+ D.value ? y("", !0) : (n(), C(rt, {
542
+ key: 5,
519
543
  config: {
520
544
  type: "onion",
521
545
  style: {
@@ -528,29 +552,29 @@ const nt = ["id"], ut = ["xmlns", "viewBox"], it = ["cx", "cy", "r", "stroke", "
528
552
  }, null, 8, ["config"])),
529
553
  _("div", {
530
554
  ref_key: "chartLegend",
531
- ref: Q
555
+ ref: ee
532
556
  }, [
533
- e.value.style.chart.legend.show ? (s(), C(et, {
534
- key: `legend_${te.value}`,
557
+ e.value.style.chart.legend.show ? (n(), C(at, {
558
+ key: `legend_${le.value}`,
535
559
  legendSet: c.value,
536
- config: Oe.value,
537
- onClickMarker: o[2] || (o[2] = ({ legend: t }) => ue(t.id))
560
+ config: Ie.value,
561
+ onClickMarker: o[2] || (o[2] = ({ legend: t }) => ce(t.id))
538
562
  }, {
539
563
  item: h(({ legend: t }) => [
540
564
  _("div", {
541
565
  "data-cy-legend-item": "",
542
566
  onClick: (l) => t.segregate(),
543
- style: W(`opacity:${p.value.includes(t.id) ? 0.5 : 1}`)
544
- }, T(t.name ? t.name + ": " : "") + " " + T((t.percentage || 0).toFixed(e.value.style.chart.legend.roundingPercentage)) + "% ", 13, kt)
567
+ style: q(`opacity:${p.value.includes(t.id) ? 0.5 : 1}`)
568
+ }, P(t.name ? t.name + ": " : "") + " " + P((t.percentage || 0).toFixed(e.value.style.chart.legend.roundingPercentage)) + "% ", 13, Ct)
545
569
  ]),
546
570
  _: 1
547
- }, 8, ["legendSet", "config"])) : g(a.$slots, "legend", {
571
+ }, 8, ["legendSet", "config"])) : f(a.$slots, "legend", {
548
572
  key: 1,
549
573
  legend: c.value
550
574
  }, void 0, !0)
551
575
  ], 512),
552
- fe(at, {
553
- show: $.value.showTooltip && A.value,
576
+ pe(ot, {
577
+ show: $.value.showTooltip && L.value,
554
578
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
555
579
  color: e.value.style.chart.tooltip.color,
556
580
  borderRadius: e.value.style.chart.tooltip.borderRadius,
@@ -560,20 +584,20 @@ const nt = ["id"], ut = ["xmlns", "viewBox"], it = ["cx", "cy", "r", "stroke", "
560
584
  backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
561
585
  position: e.value.style.chart.tooltip.position,
562
586
  offsetY: e.value.style.chart.tooltip.offsetY,
563
- parent: P.value,
564
- content: V.value,
565
- isCustom: v(pe)(e.value.style.chart.tooltip.customFormat)
587
+ parent: T.value,
588
+ content: X.value,
589
+ isCustom: v(me)(e.value.style.chart.tooltip.customFormat)
566
590
  }, {
567
591
  "tooltip-before": h(() => [
568
- g(a.$slots, "tooltip-before", Y(B({ ...U.value })), void 0, !0)
592
+ f(a.$slots, "tooltip-before", S(M({ ...E.value })), void 0, !0)
569
593
  ]),
570
594
  "tooltip-after": h(() => [
571
- g(a.$slots, "tooltip-after", Y(B({ ...U.value })), void 0, !0)
595
+ f(a.$slots, "tooltip-after", S(M({ ...E.value })), void 0, !0)
572
596
  ]),
573
597
  _: 3
574
598
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
575
- R.value ? (s(), C(ot, {
576
- key: 5,
599
+ D.value ? (n(), C(nt, {
600
+ key: 6,
577
601
  hideDetails: "",
578
602
  config: {
579
603
  open: $.value.showTable,
@@ -589,29 +613,29 @@ const nt = ["id"], ut = ["xmlns", "viewBox"], it = ["cx", "cy", "r", "stroke", "
589
613
  }
590
614
  }, {
591
615
  content: h(() => [
592
- (s(), C(tt, {
593
- key: `table_${ee.value}`,
594
- colNames: L.value.colNames,
595
- head: L.value.head,
596
- body: L.value.body,
597
- config: L.value.config,
616
+ (n(), C(lt, {
617
+ key: `table_${ae.value}`,
618
+ colNames: Y.value.colNames,
619
+ head: Y.value.head,
620
+ body: Y.value.body,
621
+ config: Y.value.config,
598
622
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
599
623
  onClose: o[3] || (o[3] = (t) => $.value.showTable = !1)
600
624
  }, {
601
625
  th: h(({ th: t }) => [
602
- De(T(t), 1)
626
+ ze(P(t), 1)
603
627
  ]),
604
628
  td: h(({ td: t }) => [
605
- _("div", { innerHTML: t }, null, 8, $t)
629
+ _("div", { innerHTML: t }, null, 8, xt)
606
630
  ]),
607
631
  _: 1
608
632
  }, 8, ["colNames", "head", "body", "config", "title"]))
609
633
  ]),
610
634
  _: 1
611
- }, 8, ["config"])) : b("", !0)
612
- ], 14, nt));
635
+ }, 8, ["config"])) : y("", !0)
636
+ ], 14, ct));
613
637
  }
614
- }, Dt = /* @__PURE__ */ st(wt, [["__scopeId", "data-v-3e9f72db"]]);
638
+ }, Bt = /* @__PURE__ */ it(Tt, [["__scopeId", "data-v-61bb1aef"]]);
615
639
  export {
616
- Dt as default
640
+ Bt as default
617
641
  };