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,24 +1,25 @@
1
- import { computed as p, ref as i, watch as Ve, onMounted as Ue, onBeforeUnmount as Ee, openBlock as s, createElementBlock as n, normalizeClass as z, normalizeStyle as J, createBlock as O, createCommentVNode as f, unref as h, createSlots as Be, withCtx as y, renderSlot as m, normalizeProps as B, guardReactiveProps as D, createVNode as K, createElementVNode as w, Fragment as $, renderList as x, toDisplayString as R, createTextVNode as be, nextTick as De } from "vue";
2
- import { u as Ge, c as We, t as Xe, a as Ye, p as P, o as je, e as S, b as qe, g as ke, d as Ce, O as _e, v as He, i as we, f as M, X as Je, s as Q, w as Ke, P as $e, x as Qe, y as Ze, q as et, r as tt } from "./index-DDXisDKy.js";
3
- import { t as at, u as ot } from "./useResponsive-NZB-WLRF.js";
4
- import { _ as lt } from "./Title-DYNLqCCT.js";
5
- import { u as rt, U as st } from "./usePrinter-8ofTb2MJ.js";
6
- import { _ as nt } from "./Tooltip-CICAYyQj.js";
7
- import ut from "./vue-ui-sparkbar-Bb1fq2GR.js";
8
- import { L as it } from "./Legend-DXLiSLHd.js";
9
- import { D as ct } from "./DataTable-DL2agEJ3.js";
10
- import dt from "./vue-ui-skeleton-B2sRnIXX.js";
11
- import vt from "./vue-ui-accordion-D_1fE5EF.js";
12
- import { u as xe } from "./useNestedProp-S1UXxUgm.js";
13
- import { _ as pt } from "./PackageVersion-DtnhR89q.js";
14
- import { _ as ht } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
- const gt = ["id"], ft = ["xmlns", "viewBox"], yt = ["id"], mt = ["stop-color"], bt = ["stop-color"], kt = { key: 0 }, Ct = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], _t = { key: 0 }, wt = ["d", "stroke", "stroke-width"], $t = ["d", "stroke", "stroke-width"], xt = { key: 1 }, Pt = ["x", "y", "text-anchor", "font-size", "fill", "onMouseenter"], Tt = ["points", "stroke", "stroke-width"], Nt = ["points", "stroke", "stroke-width", "fill"], Ot = { key: 2 }, St = ["cx", "cy", "fill", "r", "stroke"], Ft = {
16
- key: 3,
1
+ import { computed as p, ref as i, watch as Ee, onMounted as Be, onBeforeUnmount as De, openBlock as r, createElementBlock as s, normalizeClass as z, normalizeStyle as Q, createBlock as w, createCommentVNode as g, unref as h, createSlots as Ge, withCtx as y, renderSlot as m, normalizeProps as R, guardReactiveProps as M, createVNode as Z, createElementVNode as $, Fragment as P, renderList as T, toDisplayString as V, createTextVNode as Ce, nextTick as We } from "vue";
2
+ import { u as Xe, c as Ye, t as je, a as qe, p as x, o as He, e as S, b as Je, g as _e, d as we, O as $e, v as Ke, i as Pe, f as U, X as Qe, s as ee, w as Ze, P as Te, x as et, y as tt, q as at, r as ot } from "./index-DnVHQ2xI.js";
3
+ import { t as lt, u as rt } from "./useResponsive-NZB-WLRF.js";
4
+ import { _ as nt } from "./Title-5VmBwT4i.js";
5
+ import { u as st, U as ut } from "./usePrinter-BEeNAqS5.js";
6
+ import { _ as it } from "./Tooltip-Cj4EF7v1.js";
7
+ import ct from "./vue-ui-sparkbar-0ixbKZzf.js";
8
+ import { L as dt } from "./Legend-CYF2gpXG.js";
9
+ import { D as vt } from "./DataTable-DTk7C4Pr.js";
10
+ import pt from "./vue-ui-skeleton-aZmkNzAe.js";
11
+ import ht from "./vue-ui-accordion-DspS4q3f.js";
12
+ import { u as xe } from "./useNestedProp-Cox0K0Y5.js";
13
+ import { _ as gt } from "./PackageVersion-CvCRsT5_.js";
14
+ import { P as ft } from "./PenAndPaper-Jb0pLt3G.js";
15
+ import { _ as yt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
+ const mt = ["id"], bt = ["xmlns", "viewBox"], kt = ["id"], Ct = ["stop-color"], _t = ["stop-color"], wt = { key: 0 }, $t = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Pt = { key: 0 }, Tt = ["d", "stroke", "stroke-width"], xt = ["d", "stroke", "stroke-width"], At = { key: 1 }, Ot = ["x", "y", "text-anchor", "font-size", "fill", "onMouseenter"], Nt = ["points", "stroke", "stroke-width"], St = ["points", "stroke", "stroke-width", "fill"], Ft = { key: 2 }, It = ["cx", "cy", "fill", "r", "stroke"], Lt = {
17
+ key: 4,
17
18
  class: "vue-data-ui-watermark"
18
- }, At = ["onClick"], It = {
19
+ }, zt = ["onClick"], Rt = {
19
20
  key: 0,
20
21
  style: { "max-width": "200px", margin: "0 auto" }
21
- }, Lt = {
22
+ }, Mt = {
22
23
  __name: "vue-ui-radar",
23
24
  props: {
24
25
  config: {
@@ -35,59 +36,59 @@ const gt = ["id"], ft = ["xmlns", "viewBox"], yt = ["id"], mt = ["stop-color"],
35
36
  }
36
37
  },
37
38
  emits: ["selectLegend"],
38
- setup(Pe, { expose: Te, emit: Ne }) {
39
- const v = Pe, { vue_ui_radar: Oe } = Ge(), F = p(() => !!v.dataset && Object.keys(v.dataset).length), _ = i(We()), Se = i(null), G = i(!1), W = i(""), Z = i(0), A = i(null), ee = i(null), te = i(null), ae = i(0), oe = i(0), le = i(0), e = p({
40
- get: () => re(),
39
+ setup(Ae, { expose: Oe, emit: Ne }) {
40
+ const v = Ae, { vue_ui_radar: Se } = Xe(), F = p(() => !!v.dataset && Object.keys(v.dataset).length), _ = i(Ye()), Fe = i(null), W = i(!1), X = i(""), te = i(0), A = i(null), ae = i(null), oe = i(null), le = i(0), re = i(0), ne = i(0), e = p({
41
+ get: () => se(),
41
42
  set: (t) => t
42
43
  });
43
- function re() {
44
+ function se() {
44
45
  const t = xe({
45
46
  userConfig: v.config,
46
- defaultConfig: Oe
47
+ defaultConfig: Se
47
48
  });
48
49
  return t.theme ? {
49
50
  ...xe({
50
- userConfig: Xe.vue_ui_radar[t.theme] || v.config,
51
+ userConfig: je.vue_ui_radar[t.theme] || v.config,
51
52
  defaultConfig: t
52
53
  }),
53
- customPalette: Ye[t.theme] || P
54
+ customPalette: qe[t.theme] || x
54
55
  } : t;
55
56
  }
56
- Ve(() => v.config, (t) => {
57
- e.value = re(), se(), ae.value += 1, oe.value += 1, le.value += 1;
57
+ Ee(() => v.config, (t) => {
58
+ e.value = se(), ue(), le.value += 1, re.value += 1, ne.value += 1;
58
59
  }, { deep: !0 });
59
- const V = i(null);
60
- function se() {
61
- if (je(v.dataset) && S({
60
+ const E = i(null);
61
+ function ue() {
62
+ if (He(v.dataset) && S({
62
63
  componentName: "VueUiRadar",
63
64
  type: "dataset"
64
65
  }), e.value.responsive) {
65
- const t = at(() => {
66
- const { width: a, height: o } = ot({
66
+ const t = lt(() => {
67
+ const { width: a, height: o } = rt({
67
68
  chart: A.value,
68
- title: e.value.style.chart.title.text ? ee.value : null,
69
- legend: e.value.style.chart.legend.show ? te.value : null
69
+ title: e.value.style.chart.title.text ? ae.value : null,
70
+ legend: e.value.style.chart.legend.show ? oe.value : null
70
71
  });
71
72
  u.value.width = a, u.value.height = o;
72
73
  });
73
- V.value = new ResizeObserver(t), V.value.observe(A.value.parentNode);
74
+ E.value = new ResizeObserver(t), E.value.observe(A.value.parentNode);
74
75
  }
75
76
  }
76
- Ue(() => {
77
- se();
78
- }), Ee(() => {
79
- V.value && V.value.disconnect();
77
+ Be(() => {
78
+ ue();
79
+ }), De(() => {
80
+ E.value && E.value.disconnect();
80
81
  });
81
- const { isPrinting: ne, isImaging: ue, generatePdf: ie, generateImage: ce } = rt({
82
+ const { isPrinting: ie, isImaging: ce, generatePdf: de, generateImage: ve } = st({
82
83
  elementId: `vue-ui-radar_${_.value}`,
83
84
  fileName: e.value.style.chart.title.text || "vue-ui-radar"
84
- }), de = p(() => qe(e.value.customPalette)), k = i({
85
+ }), pe = p(() => Je(e.value.customPalette)), k = i({
85
86
  dataLabels: {
86
87
  show: e.value.style.chart.layout.labels.dataLabels.show
87
88
  },
88
89
  showTable: e.value.table.show,
89
90
  showTooltip: e.value.style.chart.tooltip.show
90
- }), Fe = p(() => ({
91
+ }), Ie = p(() => ({
91
92
  style: {
92
93
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
93
94
  animation: {
@@ -108,26 +109,26 @@ const gt = ["id"], ft = ["xmlns", "viewBox"], yt = ["id"], mt = ["stop-color"],
108
109
  })), u = i({
109
110
  height: 312,
110
111
  width: 512
111
- }), c = i([]), I = i(null), T = i(!1);
112
- function ve(t) {
113
- T.value = !0, c.value.includes(t) ? (I.value = t, c.value = c.value.filter((a) => a !== t), setTimeout(() => {
114
- T.value = !1, I.value = null;
112
+ }), c = i([]), I = i(null), O = i(!1);
113
+ function he(t) {
114
+ O.value = !0, c.value.includes(t) ? (I.value = t, c.value = c.value.filter((a) => a !== t), setTimeout(() => {
115
+ O.value = !1, I.value = null;
115
116
  }, 500)) : (c.value.push(t), setTimeout(() => {
116
- T.value = !1;
117
+ O.value = !1;
117
118
  }, 500)), Ne("selectLegend", N.value.filter((a, o) => !c.value.includes(o)).map((a) => ({
118
119
  name: a.name,
119
120
  color: a.color,
120
121
  proportion: a.totalProportion
121
122
  })));
122
123
  }
123
- function Ae() {
124
+ function Le() {
124
125
  return N.value.map((t) => ({
125
126
  name: t.name,
126
127
  color: t.color,
127
128
  proportion: t.totalProportion
128
129
  }));
129
130
  }
130
- const g = p(() => [null, void 0].includes(v.dataset.categories) ? (S({
131
+ const f = p(() => [null, void 0].includes(v.dataset.categories) ? (S({
131
132
  componentName: "VueUiRadar",
132
133
  type: "datasetAttribute",
133
134
  property: "categories ({ name: string; prefix?: string; suffix?: string}[])"
@@ -136,7 +137,7 @@ const gt = ["id"], ft = ["xmlns", "viewBox"], yt = ["id"], mt = ["stop-color"],
136
137
  type: "datasetAttributeEmpty",
137
138
  property: "categories"
138
139
  }) : v.dataset.categories.forEach((t, a) => {
139
- ke({
140
+ _e({
140
141
  datasetObject: t,
141
142
  requiredAttributes: ["name"]
142
143
  }).forEach((o) => {
@@ -152,7 +153,7 @@ const gt = ["id"], ft = ["xmlns", "viewBox"], yt = ["id"], mt = ["stop-color"],
152
153
  type: "datasetAttribute",
153
154
  property: "series ({ name: string; values: number[]; color?: string; target: number}[])"
154
155
  }) : v.dataset.series.forEach((t, a) => {
155
- ke({
156
+ _e({
156
157
  datasetObject: t,
157
158
  requiredAttributes: ["name", "values", "target"]
158
159
  }).forEach((o) => {
@@ -167,31 +168,31 @@ const gt = ["id"], ft = ["xmlns", "viewBox"], yt = ["id"], mt = ["stop-color"],
167
168
  }), v.dataset.categories.map((t, a) => ({
168
169
  name: t.name,
169
170
  categoryId: `radar_category_${_.value}_${a}`,
170
- color: Ce(t.color) || de.value[a] || P[a] || P[a % P.length],
171
+ color: we(t.color) || pe.value[a] || x[a] || x[a % x.length],
171
172
  prefix: t.prefix ?? "",
172
173
  suffix: t.suffix ?? ""
173
174
  })))), b = p(() => F.value ? v.dataset.series.map((t, a) => ({
174
175
  ...t,
175
- color: Ce(t.color) || de.value[a] || P[a] || P[a % P.length],
176
+ color: we(t.color) || pe.value[a] || x[a] || x[a % x.length],
176
177
  serieId: `radar_serie_${_.value}_${a}`,
177
178
  formatter: t.formatter || null
178
- })) : []), pe = p(() => Math.max(...b.value.flatMap((t) => t.values))), he = p(() => b.value.length), X = p(() => Math.min(u.value.width, u.value.height) / 3), ge = p(() => _e({
179
+ })) : []), ge = p(() => Math.max(...b.value.flatMap((t) => t.values))), fe = p(() => b.value.length), Y = p(() => Math.min(u.value.width, u.value.height) / 3), ye = p(() => $e({
179
180
  plot: { x: u.value.width / 2, y: u.value.height / 2 },
180
- radius: X.value,
181
- sides: he.value,
181
+ radius: Y.value,
182
+ sides: fe.value,
182
183
  rotation: 0
183
- })), Ie = p(() => {
184
+ })), ze = p(() => {
184
185
  const t = [];
185
- for (let a = 0; a < X.value; a += X.value / e.value.style.chart.layout.grid.graduations)
186
+ for (let a = 0; a < Y.value; a += Y.value / e.value.style.chart.layout.grid.graduations)
186
187
  t.push(a);
187
188
  return t;
188
- }), C = p(() => ge.value.coordinates.map((t, a) => {
189
- const o = b.value[a].values.map((l) => Le({
189
+ }), C = p(() => ye.value.coordinates.map((t, a) => {
190
+ const o = b.value[a].values.map((l) => Re({
190
191
  centerX: u.value.width / 2,
191
192
  centerY: u.value.height / 2,
192
193
  apexX: t.x,
193
194
  apexY: t.y,
194
- proportion: l / (b.value[a].target || pe.value)
195
+ proportion: l / (b.value[a].target || ge.value)
195
196
  }));
196
197
  return {
197
198
  ...t,
@@ -199,56 +200,56 @@ const gt = ["id"], ft = ["xmlns", "viewBox"], yt = ["id"], mt = ["stop-color"],
199
200
  plots: o
200
201
  };
201
202
  }));
202
- function Y({ x: t, y: a }) {
203
+ function j({ x: t, y: a }) {
203
204
  let o = "middle";
204
205
  return t = Math.round(t), a = Math.round(a), t > u.value.width / 2 && (t += 12, o = "start"), t < u.value.width / 2 && (t -= 12, o = "end"), a > u.value.height / 2 && (a += 20), a < u.value.height / 2 && (a -= 12), a === u.value.height / 2 && (a += 4), { x: t, y: a, anchor: o };
205
206
  }
206
- function Le({ centerX: t, centerY: a, apexX: o, apexY: l, proportion: r }) {
207
+ function Re({ centerX: t, centerY: a, apexX: o, apexY: l, proportion: n }) {
207
208
  return {
208
- x: t + (o - t) * r,
209
- y: a + (l - a) * r
209
+ x: t + (o - t) * n,
210
+ y: a + (l - a) * n
210
211
  };
211
212
  }
212
213
  const N = p(() => {
213
- const t = b.value.map((a, o) => a.values.map((l) => l / (a.target || pe.value)));
214
- return g.value.map((a, o) => ({
214
+ const t = b.value.map((a, o) => a.values.map((l) => l / (a.target || ge.value)));
215
+ return f.value.map((a, o) => ({
215
216
  ...a,
216
- totalProportion: He(t.map((l) => l[o]).reduce((l, r) => l + r, 0) / b.value.length),
217
+ totalProportion: Ke(t.map((l) => l[o]).reduce((l, n) => l + n, 0) / b.value.length),
217
218
  shape: "circle",
218
219
  opacity: c.value.includes(o) ? 0.5 : 1,
219
- segregate: () => ve(o),
220
+ segregate: () => he(o),
220
221
  isSegregated: c.value.includes(o)
221
222
  }));
222
- }), ze = p(() => ({
223
+ }), Me = p(() => ({
223
224
  cy: "radar-div-legend",
224
225
  backgroundColor: e.value.style.chart.legend.backgroundColor,
225
226
  color: e.value.style.chart.legend.color,
226
227
  fontSize: e.value.style.chart.legend.fontSize,
227
228
  paddingBottom: 12,
228
229
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
229
- })), U = p(() => {
230
+ })), B = p(() => {
230
231
  const t = [
231
232
  { name: e.value.translations.datapoint, color: "" },
232
233
  { name: e.value.translations.target, color: "" },
233
234
  ...N.value
234
235
  ], a = v.dataset.series.map((l) => [
235
236
  l.name,
236
- we(
237
+ Pe(
237
238
  l.formatter,
238
239
  l.target,
239
- M({
240
+ U({
240
241
  p: l.prefix,
241
242
  v: l.target,
242
243
  s: l.suffix,
243
244
  r: e.value.table.td.roundingValue
244
245
  })
245
246
  ),
246
- ...l.values.map((r, d) => `${we(
247
+ ...l.values.map((n, d) => `${Pe(
247
248
  l.formatter,
248
- r,
249
- M({ p: g.value[d].prefix, v: r, s: g.value[d].suffix, r: e.value.table.td.roundingValue })
250
- )} (${isNaN(r / l.target) ? "" : M({
251
- v: r / l.target * 100,
249
+ n,
250
+ U({ p: f.value[d].prefix, v: n, s: f.value[d].suffix, r: e.value.table.td.roundingValue })
251
+ )} (${isNaN(n / l.target) ? "" : U({
252
+ v: n / l.target * 100,
252
253
  s: "%",
253
254
  r: e.value.table.td.roundingPercentage
254
255
  })})`)
@@ -266,89 +267,102 @@ const gt = ["id"], ft = ["xmlns", "viewBox"], yt = ["id"], mt = ["stop-color"],
266
267
  breakpoint: e.value.table.responsiveBreakpoint
267
268
  };
268
269
  return { head: t, body: a, config: o, colNames: t };
269
- }), E = i(null), j = i([]), q = i(null);
270
- function Re(t, a) {
271
- j.value = [], E.value = a, G.value = !0;
270
+ }), D = i(null), q = i([]), H = i(null);
271
+ function Ve(t, a) {
272
+ q.value = [], D.value = a, W.value = !0;
272
273
  let o = "";
273
- q.value = {
274
+ H.value = {
274
275
  datapoint: t,
275
276
  seriesIndex: a,
276
277
  series: {
277
- categories: g.value,
278
+ categories: f.value,
278
279
  datapoints: b.value,
279
280
  radar: C.value
280
281
  },
281
282
  config: e.value
282
283
  };
283
284
  const l = e.value.style.chart.tooltip.customFormat;
284
- if (Qe(l) && Ze(() => l({
285
+ if (et(l) && tt(() => l({
285
286
  seriesIndex: a,
286
287
  datapoint: t,
287
- series: { categories: g.value, datapoints: b.value, radar: C.value },
288
+ series: { categories: f.value, datapoints: b.value, radar: C.value },
288
289
  config: e.value
289
290
  })))
290
- W.value = l({
291
+ X.value = l({
291
292
  seriesIndex: a,
292
293
  datapoint: t,
293
- series: { categories: g.value, datapoints: b.value, radar: C.value },
294
+ series: { categories: f.value, datapoints: b.value, radar: C.value },
294
295
  config: e.value
295
296
  });
296
297
  else {
297
298
  o += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${t.name}</div>`;
298
- for (let r = 0; r < t.values.length; r += 1)
299
- c.value.includes(r) || j.value.push({
300
- name: g.value[r].name,
301
- value: t.values[r] / t.target * 100,
302
- color: g.value[r].color,
299
+ for (let n = 0; n < t.values.length; n += 1)
300
+ c.value.includes(n) || q.value.push({
301
+ name: f.value[n].name,
302
+ value: t.values[n] / t.target * 100,
303
+ color: f.value[n].color,
303
304
  suffix: "%)",
304
- prefix: `${M({ p: g.value[r].prefix ?? "", v: t.values[r], s: g.value[r].suffix ?? "", r: e.value.style.chart.tooltip.roundingValue })} (`,
305
+ prefix: `${U({ p: f.value[n].prefix ?? "", v: t.values[n], s: f.value[n].suffix ?? "", r: e.value.style.chart.tooltip.roundingValue })} (`,
305
306
  rounding: e.value.style.chart.tooltip.roundingPercentage,
306
307
  formatter: t.formatter
307
308
  });
308
- W.value = o;
309
+ X.value = o;
309
310
  }
310
311
  }
311
- function fe() {
312
- De(() => {
313
- const t = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], a = [[""], [e.value.translations.target], ...N.value.flatMap((d) => [[d.name], ["%"]])], o = v.dataset.series.map((d, zt) => [d.name, d.target, ...d.values.flatMap((H) => [
314
- H,
315
- isNaN(H / d.target) ? "" : H / d.target * 100
316
- ])]), l = t.concat([a]).concat(o), r = et(l);
317
- tt({ csvContent: r, title: e.value.style.chart.title.text || "vue-ui-radar" });
312
+ function me() {
313
+ We(() => {
314
+ const t = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], a = [[""], [e.value.translations.target], ...N.value.flatMap((d) => [[d.name], ["%"]])], o = v.dataset.series.map((d, Vt) => [d.name, d.target, ...d.values.flatMap((K) => [
315
+ K,
316
+ isNaN(K / d.target) ? "" : K / d.target * 100
317
+ ])]), l = t.concat([a]).concat(o), n = at(l);
318
+ ot({ csvContent: n, title: e.value.style.chart.title.text || "vue-ui-radar" });
318
319
  });
319
320
  }
320
321
  const L = i(!1);
321
- function Me(t) {
322
- L.value = t, Z.value += 1;
322
+ function Ue(t) {
323
+ L.value = t, te.value += 1;
323
324
  }
324
- function ye() {
325
+ function be() {
325
326
  k.value.showTable = !k.value.showTable;
326
327
  }
327
- function me() {
328
+ function ke() {
328
329
  k.value.showTooltip = !k.value.showTooltip;
329
330
  }
330
- return Te({
331
- getData: Ae,
332
- generatePdf: ie,
333
- generateCsv: fe,
334
- generateImage: ce,
335
- toggleTable: ye,
336
- toggleTooltip: me
337
- }), (t, a) => (s(), n("div", {
331
+ const G = i(!1);
332
+ function J() {
333
+ G.value = !G.value;
334
+ }
335
+ return Oe({
336
+ getData: Le,
337
+ generatePdf: de,
338
+ generateCsv: me,
339
+ generateImage: ve,
340
+ toggleTable: be,
341
+ toggleTooltip: ke,
342
+ toggleAnnotator: J
343
+ }), (t, a) => (r(), s("div", {
338
344
  class: z(`vue-ui-radar ${L.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
339
345
  ref_key: "radarChart",
340
346
  ref: A,
341
347
  id: `vue-ui-radar_${_.value}`,
342
- style: J(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height: 100%;" : ""} text-align:center;${e.value.style.chart.title.text ? "" : "padding-top:36px"};background:${e.value.style.chart.backgroundColor}`)
348
+ style: Q(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height: 100%;" : ""} text-align:center;${e.value.style.chart.title.text ? "" : "padding-top:36px"};background:${e.value.style.chart.backgroundColor}`)
343
349
  }, [
344
- e.value.style.chart.title.text ? (s(), n("div", {
350
+ e.value.userOptions.buttons.annotator ? (r(), w(ft, {
345
351
  key: 0,
352
+ parent: A.value,
353
+ backgroundColor: e.value.style.chart.backgroundColor,
354
+ color: e.value.style.chart.color,
355
+ active: G.value,
356
+ onClose: J
357
+ }, null, 8, ["parent", "backgroundColor", "color", "active"])) : g("", !0),
358
+ e.value.style.chart.title.text ? (r(), s("div", {
359
+ key: 1,
346
360
  ref_key: "chartTitle",
347
- ref: ee,
361
+ ref: ae,
348
362
  style: "width:100%;background:transparent;padding-bottom:12px"
349
363
  }, [
350
- (s(), O(lt, {
351
- key: `title_${ae.value}`,
364
+ (r(), w(nt, {
365
+ key: `title_${le.value}`,
352
366
  config: {
353
367
  title: {
354
368
  cy: "radar-div-title",
@@ -360,15 +374,15 @@ const gt = ["id"], ft = ["xmlns", "viewBox"], yt = ["id"], mt = ["stop-color"],
360
374
  }
361
375
  }
362
376
  }, null, 8, ["config"]))
363
- ], 512)) : f("", !0),
364
- e.value.userOptions.show && F.value ? (s(), O(st, {
377
+ ], 512)) : g("", !0),
378
+ e.value.userOptions.show && F.value ? (r(), w(ut, {
365
379
  ref_key: "details",
366
- ref: Se,
367
- key: `user_options_${Z.value}`,
380
+ ref: Fe,
381
+ key: `user_options_${te.value}`,
368
382
  backgroundColor: e.value.style.chart.backgroundColor,
369
383
  color: e.value.style.chart.color,
370
- isImaging: h(ue),
371
- isPrinting: h(ne),
384
+ isImaging: h(ce),
385
+ isPrinting: h(ie),
372
386
  uid: _.value,
373
387
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
374
388
  hasPdf: e.value.userOptions.buttons.pdf,
@@ -381,13 +395,16 @@ const gt = ["id"], ft = ["xmlns", "viewBox"], yt = ["id"], mt = ["stop-color"],
381
395
  titles: { ...e.value.userOptions.buttonTitles },
382
396
  chartElement: A.value,
383
397
  position: e.value.userOptions.position,
384
- onToggleFullscreen: Me,
385
- onGeneratePdf: h(ie),
386
- onGenerateCsv: fe,
387
- onGenerateImage: h(ce),
388
- onToggleTable: ye,
389
- onToggleTooltip: me
390
- }, Be({ _: 2 }, [
398
+ hasAnnotator: e.value.userOptions.buttons.annotator,
399
+ isAnnotation: G.value,
400
+ onToggleFullscreen: Ue,
401
+ onGeneratePdf: h(de),
402
+ onGenerateCsv: me,
403
+ onGenerateImage: h(ve),
404
+ onToggleTable: be,
405
+ onToggleTooltip: ke,
406
+ onToggleAnnotator: J
407
+ }, Ge({ _: 2 }, [
391
408
  t.$slots.optionTooltip ? {
392
409
  name: "optionTooltip",
393
410
  fn: y(() => [
@@ -426,21 +443,28 @@ const gt = ["id"], ft = ["xmlns", "viewBox"], yt = ["id"], mt = ["stop-color"],
426
443
  t.$slots.optionFullscreen ? {
427
444
  name: "optionFullscreen",
428
445
  fn: y(({ toggleFullscreen: o, isFullscreen: l }) => [
429
- m(t.$slots, "optionFullscreen", B(D({ toggleFullscreen: o, isFullscreen: l })), void 0, !0)
446
+ m(t.$slots, "optionFullscreen", R(M({ toggleFullscreen: o, isFullscreen: l })), void 0, !0)
430
447
  ]),
431
448
  key: "5"
449
+ } : void 0,
450
+ t.$slots.optionAnnotator ? {
451
+ name: "optionAnnotator",
452
+ fn: y(({ toggleAnnotator: o, isAnnotator: l }) => [
453
+ m(t.$slots, "optionAnnotator", R(M({ toggleAnnotator: o, isAnnotator: l })), void 0, !0)
454
+ ]),
455
+ key: "6"
432
456
  } : void 0
433
- ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "onGeneratePdf", "onGenerateImage"])) : f("", !0),
434
- F.value ? (s(), n("svg", {
435
- key: 2,
436
- xmlns: h(Je),
457
+ ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : g("", !0),
458
+ F.value ? (r(), s("svg", {
459
+ key: 3,
460
+ xmlns: h(Qe),
437
461
  class: z({ "vue-data-ui-fullscreen--on": L.value, "vue-data-ui-fulscreen--off": !L.value }),
438
462
  viewBox: `0 0 ${u.value.width <= 0 ? 10 : u.value.width} ${u.value.height <= 0 ? 10 : u.value.height}`,
439
- style: J(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
463
+ style: Q(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
440
464
  }, [
441
- K(pt),
442
- w("defs", null, [
443
- (s(!0), n($, null, x(g.value, (o, l) => (s(), n("radialGradient", {
465
+ Z(gt),
466
+ $("defs", null, [
467
+ (r(!0), s(P, null, T(f.value, (o, l) => (r(), s("radialGradient", {
444
468
  cx: "50%",
445
469
  cy: "50%",
446
470
  r: "50%",
@@ -448,102 +472,102 @@ const gt = ["id"], ft = ["xmlns", "viewBox"], yt = ["id"], mt = ["stop-color"],
448
472
  fy: "50%",
449
473
  id: `radar_gradient_${_.value}_${l}`
450
474
  }, [
451
- w("stop", {
475
+ $("stop", {
452
476
  offset: "0%",
453
- "stop-color": h(Q)(h(Ke)(o.color, 0.05), e.value.style.chart.layout.dataPolygon.opacity)
454
- }, null, 8, mt),
455
- w("stop", {
477
+ "stop-color": h(ee)(h(Ze)(o.color, 0.05), e.value.style.chart.layout.dataPolygon.opacity)
478
+ }, null, 8, Ct),
479
+ $("stop", {
456
480
  offset: "100%",
457
- "stop-color": h(Q)(o.color, e.value.style.chart.layout.dataPolygon.opacity)
458
- }, null, 8, bt)
459
- ], 8, yt))), 256))
481
+ "stop-color": h(ee)(o.color, e.value.style.chart.layout.dataPolygon.opacity)
482
+ }, null, 8, _t)
483
+ ], 8, kt))), 256))
460
484
  ]),
461
- e.value.style.chart.layout.grid.show ? (s(), n("g", kt, [
462
- (s(!0), n($, null, x(C.value, (o) => (s(), n("line", {
485
+ e.value.style.chart.layout.grid.show ? (r(), s("g", wt, [
486
+ (r(!0), s(P, null, T(C.value, (o) => (r(), s("line", {
463
487
  x1: u.value.width / 2,
464
488
  y1: u.value.height / 2,
465
489
  x2: o.x,
466
490
  y2: o.y,
467
491
  stroke: e.value.style.chart.layout.grid.stroke,
468
492
  "stroke-width": e.value.style.chart.layout.grid.strokeWidth
469
- }, null, 8, Ct))), 256)),
470
- e.value.style.chart.layout.grid.graduations > 0 ? (s(), n("g", _t, [
471
- (s(!0), n($, null, x(Ie.value, (o) => (s(), n("path", {
472
- d: h(_e)({
493
+ }, null, 8, $t))), 256)),
494
+ e.value.style.chart.layout.grid.graduations > 0 ? (r(), s("g", Pt, [
495
+ (r(!0), s(P, null, T(ze.value, (o) => (r(), s("path", {
496
+ d: h($e)({
473
497
  plot: { x: u.value.width / 2, y: u.value.height / 2 },
474
498
  radius: o,
475
- sides: he.value,
499
+ sides: fe.value,
476
500
  rotation: 0
477
501
  }).path,
478
502
  fill: "none",
479
503
  stroke: e.value.style.chart.layout.grid.stroke,
480
504
  "stroke-width": e.value.style.chart.layout.grid.strokeWidth
481
- }, null, 8, wt))), 256))
482
- ])) : f("", !0)
483
- ])) : f("", !0),
484
- w("path", {
485
- d: ge.value.path,
505
+ }, null, 8, Tt))), 256))
506
+ ])) : g("", !0)
507
+ ])) : g("", !0),
508
+ $("path", {
509
+ d: ye.value.path,
486
510
  fill: "none",
487
511
  stroke: e.value.style.chart.layout.outerPolygon.stroke,
488
512
  "stroke-width": e.value.style.chart.layout.outerPolygon.strokeWidth,
489
513
  "stroke-linejoin": "round",
490
514
  "stroke-linecap": "round"
491
- }, null, 8, $t),
492
- e.value.style.chart.layout.labels.dataLabels.show ? (s(), n("g", xt, [
493
- (s(!0), n($, null, x(C.value, (o, l) => (s(), n("text", {
494
- x: Y(o).x,
495
- y: Y(o).y,
496
- "text-anchor": Y(o).anchor,
515
+ }, null, 8, xt),
516
+ e.value.style.chart.layout.labels.dataLabels.show ? (r(), s("g", At, [
517
+ (r(!0), s(P, null, T(C.value, (o, l) => (r(), s("text", {
518
+ x: j(o).x,
519
+ y: j(o).y,
520
+ "text-anchor": j(o).anchor,
497
521
  "font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
498
522
  fill: e.value.style.chart.layout.labels.dataLabels.color,
499
- onMouseenter: (r) => Re(o, l),
500
- onMouseleave: a[0] || (a[0] = (r) => {
501
- G.value = !1, E.value = null;
523
+ onMouseenter: (n) => Ve(o, l),
524
+ onMouseleave: a[0] || (a[0] = (n) => {
525
+ W.value = !1, D.value = null;
502
526
  })
503
- }, R(o.name), 41, Pt))), 256))
504
- ])) : f("", !0),
505
- (s(!0), n($, null, x(g.value, (o, l) => (s(), n("g", null, [
506
- w("g", null, [
507
- e.value.useCssAnimation || !e.value.useCssAnimation && !c.value.includes(l) ? (s(), n("polygon", {
527
+ }, V(o.name), 41, Ot))), 256))
528
+ ])) : g("", !0),
529
+ (r(!0), s(P, null, T(f.value, (o, l) => (r(), s("g", null, [
530
+ $("g", null, [
531
+ e.value.useCssAnimation || !e.value.useCssAnimation && !c.value.includes(l) ? (r(), s("polygon", {
508
532
  key: 0,
509
533
  "data-cy-radar-path": "",
510
- points: h($e)(C.value.map((r) => r.plots[l]), !1, !0),
534
+ points: h(Te)(C.value.map((n) => n.plots[l]), !1, !0),
511
535
  stroke: e.value.style.chart.backgroundColor,
512
536
  "stroke-width": e.value.style.chart.layout.dataPolygon.strokeWidth + 1,
513
537
  fill: "none",
514
- class: z({ "animated-out": c.value.includes(l) && e.value.useCssAnimation, "animated-in": T.value && I.value === l && e.value.useCssAnimation })
515
- }, null, 10, Tt)) : f("", !0),
516
- e.value.useCssAnimation || !e.value.useCssAnimation && !c.value.includes(l) ? (s(), n("polygon", {
538
+ class: z({ "animated-out": c.value.includes(l) && e.value.useCssAnimation, "animated-in": O.value && I.value === l && e.value.useCssAnimation })
539
+ }, null, 10, Nt)) : g("", !0),
540
+ e.value.useCssAnimation || !e.value.useCssAnimation && !c.value.includes(l) ? (r(), s("polygon", {
517
541
  key: 1,
518
542
  "data-cy-radar-path": "",
519
- points: h($e)(C.value.map((r) => r.plots[l]), !1, !0),
543
+ points: h(Te)(C.value.map((n) => n.plots[l]), !1, !0),
520
544
  stroke: o.color,
521
545
  "stroke-width": e.value.style.chart.layout.dataPolygon.strokeWidth,
522
- fill: e.value.style.chart.layout.dataPolygon.transparent ? "transparent" : e.value.style.chart.layout.dataPolygon.useGradient ? `url(#radar_gradient_${_.value}_${l})` : h(Q)(o.color, e.value.style.chart.layout.dataPolygon.opacity),
523
- class: z({ "animated-out": c.value.includes(l) && e.value.useCssAnimation, "animated-in": T.value && I.value === l && e.value.useCssAnimation })
524
- }, null, 10, Nt)) : f("", !0)
546
+ fill: e.value.style.chart.layout.dataPolygon.transparent ? "transparent" : e.value.style.chart.layout.dataPolygon.useGradient ? `url(#radar_gradient_${_.value}_${l})` : h(ee)(o.color, e.value.style.chart.layout.dataPolygon.opacity),
547
+ class: z({ "animated-out": c.value.includes(l) && e.value.useCssAnimation, "animated-in": O.value && I.value === l && e.value.useCssAnimation })
548
+ }, null, 10, St)) : g("", !0)
525
549
  ])
526
550
  ]))), 256)),
527
- e.value.style.chart.layout.plots.show ? (s(), n("g", Ot, [
528
- (s(!0), n($, null, x(C.value, (o, l) => (s(), n("g", null, [
529
- (s(!0), n($, null, x(o.plots, (r, d) => (s(), n("circle", {
530
- cx: r.x,
531
- cy: r.y,
532
- fill: c.value.includes(d) ? "transparent" : g.value[d].color,
533
- r: E.value !== null && E.value === l ? e.value.style.chart.layout.plots.radius * 1.6 : e.value.style.chart.layout.plots.radius,
551
+ e.value.style.chart.layout.plots.show ? (r(), s("g", Ft, [
552
+ (r(!0), s(P, null, T(C.value, (o, l) => (r(), s("g", null, [
553
+ (r(!0), s(P, null, T(o.plots, (n, d) => (r(), s("circle", {
554
+ cx: n.x,
555
+ cy: n.y,
556
+ fill: c.value.includes(d) ? "transparent" : f.value[d].color,
557
+ r: D.value !== null && D.value === l ? e.value.style.chart.layout.plots.radius * 1.6 : e.value.style.chart.layout.plots.radius,
534
558
  stroke: c.value.includes(d) ? "transparent" : e.value.style.chart.backgroundColor,
535
559
  "stroke-width": 0.5,
536
- class: z({ "animated-out": c.value.includes(d) && e.value.useCssAnimation, "animated-in": T.value && I.value === d && e.value.useCssAnimation })
537
- }, null, 10, St))), 256))
560
+ class: z({ "animated-out": c.value.includes(d) && e.value.useCssAnimation, "animated-in": O.value && I.value === d && e.value.useCssAnimation })
561
+ }, null, 10, It))), 256))
538
562
  ]))), 256))
539
- ])) : f("", !0),
563
+ ])) : g("", !0),
540
564
  m(t.$slots, "svg", { svg: u.value }, void 0, !0)
541
- ], 14, ft)) : f("", !0),
542
- t.$slots.watermark ? (s(), n("div", Ft, [
543
- m(t.$slots, "watermark", B(D({ isPrinting: h(ne) || h(ue) })), void 0, !0)
544
- ])) : f("", !0),
545
- F.value ? f("", !0) : (s(), O(dt, {
546
- key: 4,
565
+ ], 14, bt)) : g("", !0),
566
+ t.$slots.watermark ? (r(), s("div", Lt, [
567
+ m(t.$slots, "watermark", R(M({ isPrinting: h(ie) || h(ce) })), void 0, !0)
568
+ ])) : g("", !0),
569
+ F.value ? g("", !0) : (r(), w(pt, {
570
+ key: 5,
547
571
  config: {
548
572
  type: "radar",
549
573
  style: {
@@ -559,26 +583,26 @@ const gt = ["id"], ft = ["xmlns", "viewBox"], yt = ["id"], mt = ["stop-color"],
559
583
  }
560
584
  }
561
585
  }, null, 8, ["config"])),
562
- w("div", {
586
+ $("div", {
563
587
  ref_key: "chartLegend",
564
- ref: te
588
+ ref: oe
565
589
  }, [
566
- e.value.style.chart.legend.show ? (s(), O(it, {
567
- key: `legend_${le.value}`,
590
+ e.value.style.chart.legend.show ? (r(), w(dt, {
591
+ key: `legend_${ne.value}`,
568
592
  legendSet: N.value,
569
- config: ze.value,
570
- onClickMarker: a[1] || (a[1] = ({ i: o }) => ve(o))
593
+ config: Me.value,
594
+ onClickMarker: a[1] || (a[1] = ({ i: o }) => he(o))
571
595
  }, {
572
596
  item: y(({ legend: o, index: l }) => [
573
- w("div", {
597
+ $("div", {
574
598
  "data-cy-legend-item": "",
575
- onClick: (r) => o.segregate(),
576
- style: J(`opacity:${c.value.includes(l) ? 0.5 : 1}`)
577
- }, R(o.name) + ": " + R(h(M)({
599
+ onClick: (n) => o.segregate(),
600
+ style: Q(`opacity:${c.value.includes(l) ? 0.5 : 1}`)
601
+ }, V(o.name) + ": " + V(h(U)({
578
602
  v: o.totalProportion * 100,
579
603
  s: "%",
580
604
  r: e.value.style.chart.legend.roundingPercentage
581
- })), 13, At)
605
+ })), 13, zt)
582
606
  ]),
583
607
  _: 1
584
608
  }, 8, ["legendSet", "config"])) : m(t.$slots, "legend", {
@@ -586,8 +610,8 @@ const gt = ["id"], ft = ["xmlns", "viewBox"], yt = ["id"], mt = ["stop-color"],
586
610
  legend: N.value
587
611
  }, void 0, !0)
588
612
  ], 512),
589
- K(nt, {
590
- show: k.value.showTooltip && G.value,
613
+ Z(it, {
614
+ show: k.value.showTooltip && W.value,
591
615
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
592
616
  color: e.value.style.chart.tooltip.color,
593
617
  borderRadius: e.value.style.chart.tooltip.borderRadius,
@@ -598,26 +622,26 @@ const gt = ["id"], ft = ["xmlns", "viewBox"], yt = ["id"], mt = ["stop-color"],
598
622
  position: e.value.style.chart.tooltip.position,
599
623
  offsetY: e.value.style.chart.tooltip.offsetY,
600
624
  parent: A.value,
601
- content: W.value,
625
+ content: X.value,
602
626
  isCustom: e.value.style.chart.tooltip.customFormat && typeof e.value.style.chart.tooltip.customFormat == "function"
603
627
  }, {
604
628
  "tooltip-before": y(() => [
605
- m(t.$slots, "tooltip-before", B(D({ ...q.value })), void 0, !0)
629
+ m(t.$slots, "tooltip-before", R(M({ ...H.value })), void 0, !0)
606
630
  ]),
607
631
  "tooltip-after": y(() => [
608
- ["function"].includes(typeof e.value.style.chart.tooltip.customFormat) ? f("", !0) : (s(), n("div", It, [
609
- K(ut, {
610
- dataset: j.value,
611
- config: Fe.value,
632
+ ["function"].includes(typeof e.value.style.chart.tooltip.customFormat) ? g("", !0) : (r(), s("div", Rt, [
633
+ Z(ct, {
634
+ dataset: q.value,
635
+ config: Ie.value,
612
636
  backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity
613
637
  }, null, 8, ["dataset", "config", "backgroundOpacity"])
614
638
  ])),
615
- m(t.$slots, "tooltip-after", B(D({ ...q.value })), void 0, !0)
639
+ m(t.$slots, "tooltip-after", R(M({ ...H.value })), void 0, !0)
616
640
  ]),
617
641
  _: 3
618
642
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "fontSize", "position", "offsetY", "parent", "content", "isCustom"]),
619
- F.value ? (s(), O(vt, {
620
- key: 5,
643
+ F.value ? (r(), w(ht, {
644
+ key: 6,
621
645
  hideDetails: "",
622
646
  config: {
623
647
  open: k.value.showTable,
@@ -633,29 +657,29 @@ const gt = ["id"], ft = ["xmlns", "viewBox"], yt = ["id"], mt = ["stop-color"],
633
657
  }
634
658
  }, {
635
659
  content: y(() => [
636
- (s(), O(ct, {
637
- key: `table_${oe.value}`,
638
- colNames: U.value.colNames,
639
- head: U.value.head,
640
- body: U.value.body,
641
- config: U.value.config,
660
+ (r(), w(vt, {
661
+ key: `table_${re.value}`,
662
+ colNames: B.value.colNames,
663
+ head: B.value.head,
664
+ body: B.value.body,
665
+ config: B.value.config,
642
666
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
643
667
  onClose: a[2] || (a[2] = (o) => k.value.showTable = !1)
644
668
  }, {
645
669
  th: y(({ th: o }) => [
646
- be(R(o.name), 1)
670
+ Ce(V(o.name), 1)
647
671
  ]),
648
672
  td: y(({ td: o }) => [
649
- be(R(o), 1)
673
+ Ce(V(o), 1)
650
674
  ]),
651
675
  _: 1
652
676
  }, 8, ["colNames", "head", "body", "config", "title"]))
653
677
  ]),
654
678
  _: 1
655
- }, 8, ["config"])) : f("", !0)
656
- ], 14, gt));
679
+ }, 8, ["config"])) : g("", !0)
680
+ ], 14, mt));
657
681
  }
658
- }, Jt = /* @__PURE__ */ ht(Lt, [["__scopeId", "data-v-ed1fdeb2"]]);
682
+ }, ea = /* @__PURE__ */ yt(Mt, [["__scopeId", "data-v-14b2c666"]]);
659
683
  export {
660
- Jt as default
684
+ ea as default
661
685
  };