vue-data-ui 2.4.49 → 2.4.51

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (199) hide show
  1. package/README.md +12 -0
  2. package/dist/{Arrow-CTukks_V.cjs → Arrow-2a_SwBgz.cjs} +1 -1
  3. package/dist/{Arrow-Q0cOmO5p.js → Arrow-BUz63pb2.js} +1 -1
  4. package/dist/{BaseIcon-2ZD3jgGz.cjs → BaseIcon-BASl_NFX.cjs} +1 -1
  5. package/dist/{BaseIcon-CaYP30Aq.js → BaseIcon-CmiukQBl.js} +1 -1
  6. package/dist/{DataTable-CO5C8Cmb.js → DataTable-DGf6RrOJ.js} +2 -2
  7. package/dist/{DataTable-kMUhutQ4.cjs → DataTable-G3ICK-5h.cjs} +1 -1
  8. package/dist/{Legend-FZN9UHoI.js → Legend-BLaZxMge.js} +1 -1
  9. package/dist/{Legend-DPHcmrzd.cjs → Legend-BiuPlEMg.cjs} +1 -1
  10. package/dist/{PackageVersion-rnWHRWGI.cjs → PackageVersion-Bj34UNnQ.cjs} +1 -1
  11. package/dist/{PackageVersion-DYk2hOG1.js → PackageVersion-CxJghxYD.js} +1 -1
  12. package/dist/{PenAndPaper-BQl9-uX0.cjs → PenAndPaper-D9yQnc0e.cjs} +1 -1
  13. package/dist/{PenAndPaper-BfgS_5ux.js → PenAndPaper-ZdZEumki.js} +3 -3
  14. package/dist/{Shape-BqkMzXqo.js → Shape-DIKzzpFm.js} +1 -1
  15. package/dist/{Shape-BblkpCyL.cjs → Shape-yducHWd0.cjs} +1 -1
  16. package/dist/{Slicer-yEeqKUDF.cjs → Slicer-BHS9W4MJ.cjs} +1 -1
  17. package/dist/{Slicer-DlgqsI5C.js → Slicer-Cxdl3cDt.js} +2 -2
  18. package/dist/{Title-5Vedk01J.cjs → Title-Bk_55doC.cjs} +1 -1
  19. package/dist/{Title-DED-PQ7X.js → Title-aSAft5dl.js} +1 -1
  20. package/dist/{Tooltip-DjCKBAC4.cjs → Tooltip-G7ENx87_.cjs} +1 -1
  21. package/dist/{Tooltip-CHseiJu8.js → Tooltip-smutPF--.js} +1 -1
  22. package/dist/{index-igxqCP2w.js → index-BbPeL8Gp.js} +5 -1
  23. package/dist/index-DhDYBLBe.cjs +9 -0
  24. package/dist/style.css +1 -1
  25. package/dist/types/vue-data-ui.d.cts +5 -1
  26. package/dist/types/vue-data-ui.d.ts +5 -1
  27. package/dist/{useNestedProp-CSVnZVwZ.js → useNestedProp-BN8claGG.js} +1 -1
  28. package/dist/{useNestedProp-CwpqC_aE.cjs → useNestedProp-BphUExEh.cjs} +1 -1
  29. package/dist/{usePrinter-DVgxBO4o.cjs → usePrinter-2_QjJFdH.cjs} +1 -1
  30. package/dist/{usePrinter-CnZYDQXB.js → usePrinter-DaybDVqP.js} +1 -1
  31. package/dist/useUserOptionState-BIvW1Kz7.js +17 -0
  32. package/dist/useUserOptionState-BgepsfED.cjs +1 -0
  33. package/dist/{vue-data-ui-BrRTkOqu.cjs → vue-data-ui-C5vsHRHD.cjs} +1 -1
  34. package/dist/{vue-data-ui-B--WWkUM.js → vue-data-ui-Ckbp-yIf.js} +60 -60
  35. package/dist/vue-data-ui.cjs +1 -1
  36. package/dist/vue-data-ui.js +1 -1
  37. package/dist/vue-ui-3d-bar-DUgumRsg.cjs +19 -0
  38. package/dist/{vue-ui-3d-bar-OzzLYbUl.js → vue-ui-3d-bar-wDYs3sVe.js} +345 -339
  39. package/dist/{vue-ui-accordion-lF7yVkiT.js → vue-ui-accordion-5d5iVpr7.js} +3 -3
  40. package/dist/{vue-ui-accordion-CRVWlHxs.cjs → vue-ui-accordion-B7tNzRWB.cjs} +1 -1
  41. package/dist/{vue-ui-age-pyramid-5Vj8AtW1.js → vue-ui-age-pyramid-BH1khaaq.js} +260 -254
  42. package/dist/vue-ui-age-pyramid-Dxx1mVwR.cjs +1 -0
  43. package/dist/{vue-ui-annotator-BmO78L3H.js → vue-ui-annotator-B9VKE_qz.js} +1 -1
  44. package/dist/{vue-ui-annotator-D8Hx1BFF.cjs → vue-ui-annotator-jXkB5XnD.cjs} +1 -1
  45. package/dist/{vue-ui-bullet-DwFD41hN.js → vue-ui-bullet-BLi9CSZw.js} +152 -146
  46. package/dist/vue-ui-bullet-QrXtipbT.cjs +34 -0
  47. package/dist/{vue-ui-candlestick-By609gwn.js → vue-ui-candlestick-Bjz1uFbv.js} +223 -217
  48. package/dist/vue-ui-candlestick-Da4ygGXR.cjs +2 -0
  49. package/dist/{vue-ui-carousel-table-wwMoteEN.js → vue-ui-carousel-table-B6zgTL-W.js} +160 -154
  50. package/dist/vue-ui-carousel-table-Cfif8Oiz.cjs +1 -0
  51. package/dist/vue-ui-chestnut-C_N7EbjQ.cjs +6 -0
  52. package/dist/{vue-ui-chestnut-hqorA5EW.js → vue-ui-chestnut-D5HpkuIa.js} +237 -231
  53. package/dist/{vue-ui-cursor-BCg5VZUb.cjs → vue-ui-cursor-A_siHYBc.cjs} +1 -1
  54. package/dist/{vue-ui-cursor-GSkn7N7Z.js → vue-ui-cursor-DZNIbvR2.js} +2 -2
  55. package/dist/{vue-ui-dashboard-Bkm9bcAc.cjs → vue-ui-dashboard-BfPJyiY9.cjs} +1 -1
  56. package/dist/{vue-ui-dashboard-DIoYWyXB.js → vue-ui-dashboard-DCqe4BZg.js} +2 -2
  57. package/dist/{vue-ui-digits-niqTltAv.js → vue-ui-digits-BEWCnojc.js} +2 -2
  58. package/dist/{vue-ui-digits-CpBBTAI9.cjs → vue-ui-digits-BEhLa3jI.cjs} +1 -1
  59. package/dist/vue-ui-donut-By3QRfkV.cjs +1 -0
  60. package/dist/{vue-ui-donut-evolution-XQp6R0e_.js → vue-ui-donut-evolution-Cu6dmlT2.js} +300 -294
  61. package/dist/vue-ui-donut-evolution-DEABWsj0.cjs +1 -0
  62. package/dist/{vue-ui-donut-DfufBrkk.js → vue-ui-donut-g5ZLhYPx.js} +376 -370
  63. package/dist/vue-ui-dumbbell-Dfb1l5qP.cjs +9 -0
  64. package/dist/{vue-ui-dumbbell-DSS8sHHU.js → vue-ui-dumbbell-bb4-Ep6o.js} +256 -250
  65. package/dist/vue-ui-flow-CCvTnu7z.cjs +1 -0
  66. package/dist/{vue-ui-flow-BBNuPVgI.js → vue-ui-flow-hD0F6mTK.js} +164 -158
  67. package/dist/vue-ui-funnel-DKxAPRi_.cjs +1 -0
  68. package/dist/{vue-ui-funnel-BDGggRXE.js → vue-ui-funnel-hcbE4yky.js} +178 -172
  69. package/dist/{vue-ui-galaxy-6Odi2CwM.js → vue-ui-galaxy-ByKjxVWV.js} +187 -181
  70. package/dist/vue-ui-galaxy-D2kmqwpI.cjs +1 -0
  71. package/dist/vue-ui-gauge-BFA_unjg.cjs +1 -0
  72. package/dist/{vue-ui-gauge-DeYvNVnR.js → vue-ui-gauge-PGirbe6O.js} +220 -214
  73. package/dist/{vue-ui-gizmo-DXQt_8D0.cjs → vue-ui-gizmo-CHMApil6.cjs} +1 -1
  74. package/dist/{vue-ui-gizmo-BcAr2dTN.js → vue-ui-gizmo-ChSfBYZ_.js} +3 -3
  75. package/dist/vue-ui-heatmap-C0VxwPhr.cjs +1 -0
  76. package/dist/{vue-ui-heatmap-Btm1mK6D.js → vue-ui-heatmap-CK3FIWpo.js} +270 -264
  77. package/dist/vue-ui-history-plot-BmGodgUx.cjs +1 -0
  78. package/dist/{vue-ui-history-plot-OY6N31Ka.js → vue-ui-history-plot-EmQ-Byiz.js} +236 -230
  79. package/dist/{vue-ui-kpi-CQIbWQMk.cjs → vue-ui-kpi-BdungaO2.cjs} +1 -1
  80. package/dist/{vue-ui-kpi-D5oNUDVm.js → vue-ui-kpi-DjC68pSz.js} +3 -3
  81. package/dist/{vue-ui-mini-loader-BjqV22Co.js → vue-ui-mini-loader-CzrblCCD.js} +2 -2
  82. package/dist/{vue-ui-mini-loader-ByDKGMAp.cjs → vue-ui-mini-loader-jwL_pZjb.cjs} +1 -1
  83. package/dist/{vue-ui-molecule-FsLf3YTj.js → vue-ui-molecule-DBQJQs4Y.js} +294 -289
  84. package/dist/vue-ui-molecule-Dzh-0SWI.cjs +1 -0
  85. package/dist/{vue-ui-mood-radar-31BX-GNG.js → vue-ui-mood-radar-Ca9wPZpJ.js} +205 -199
  86. package/dist/vue-ui-mood-radar-DV6ZZIXF.cjs +1 -0
  87. package/dist/{vue-ui-nested-donuts-BMJW2oHk.js → vue-ui-nested-donuts-C8at93dN.js} +286 -280
  88. package/dist/vue-ui-nested-donuts-DEdS6dpj.cjs +17 -0
  89. package/dist/{vue-ui-onion-BUpGgnWA.js → vue-ui-onion-B-PXxNu6.js} +198 -192
  90. package/dist/vue-ui-onion-B2ioudP5.cjs +5 -0
  91. package/dist/{vue-ui-parallel-coordinate-plot-9I00rQEM.js → vue-ui-parallel-coordinate-plot-ByM3So9k.js} +236 -230
  92. package/dist/vue-ui-parallel-coordinate-plot-DtJi9cT0.cjs +8 -0
  93. package/dist/{vue-ui-quadrant-CEmoMAL7.js → vue-ui-quadrant-BqOJBcsI.js} +255 -249
  94. package/dist/vue-ui-quadrant-CIr4i6cC.cjs +1 -0
  95. package/dist/{vue-ui-quick-chart-T_oeRTqY.js → vue-ui-quick-chart-BfXxT3KM.js} +474 -466
  96. package/dist/vue-ui-quick-chart-Bt9KA82P.cjs +15 -0
  97. package/dist/{vue-ui-radar-DG_Zir8w.js → vue-ui-radar-BKpD9xDr.js} +256 -250
  98. package/dist/vue-ui-radar-Czmsd_uv.cjs +1 -0
  99. package/dist/{vue-ui-rating-Juprijdi.cjs → vue-ui-rating-BE545aI4.cjs} +1 -1
  100. package/dist/{vue-ui-rating-gswAA28b.js → vue-ui-rating-DQRuqev5.js} +2 -2
  101. package/dist/vue-ui-relation-circle-B1uMTqFP.cjs +1 -0
  102. package/dist/vue-ui-relation-circle-nZ2nBpWX.js +498 -0
  103. package/dist/vue-ui-rings-B7JzZ3ub.cjs +2 -0
  104. package/dist/{vue-ui-rings-D3g-ORch.js → vue-ui-rings-C1PV0873.js} +177 -172
  105. package/dist/vue-ui-scatter-CTI943ks.cjs +1 -0
  106. package/dist/{vue-ui-scatter-DBO-XViT.js → vue-ui-scatter-dgs1m3-2.js} +310 -304
  107. package/dist/{vue-ui-screenshot-3MDyr6v3.cjs → vue-ui-screenshot--cHV0jG3.cjs} +1 -1
  108. package/dist/{vue-ui-screenshot-K0a-DVD6.js → vue-ui-screenshot-Dxj0l8Jg.js} +1 -1
  109. package/dist/{vue-ui-skeleton-CWjNNx-k.js → vue-ui-skeleton-Bniq21d9.js} +3 -3
  110. package/dist/{vue-ui-skeleton-DUNkS05l.cjs → vue-ui-skeleton-lkPDknHn.cjs} +1 -1
  111. package/dist/{vue-ui-smiley-Cbqg-N-L.cjs → vue-ui-smiley-CozXoiti.cjs} +1 -1
  112. package/dist/{vue-ui-smiley-MwX1c6qK.js → vue-ui-smiley-D4DAZIpA.js} +2 -2
  113. package/dist/{vue-ui-spark-trend-CN5JUPhn.cjs → vue-ui-spark-trend-CSqyvI_K.cjs} +1 -1
  114. package/dist/{vue-ui-spark-trend-D9eWTtbE.js → vue-ui-spark-trend-ZqrwhwqS.js} +5 -5
  115. package/dist/{vue-ui-sparkbar-IphZ8jXh.cjs → vue-ui-sparkbar-Bph8KIjk.cjs} +1 -1
  116. package/dist/{vue-ui-sparkbar-CPF7YNDd.js → vue-ui-sparkbar-q0G4GvFm.js} +4 -4
  117. package/dist/{vue-ui-sparkgauge-B29V7ZTv.js → vue-ui-sparkgauge-DA_h9jcN.js} +4 -4
  118. package/dist/{vue-ui-sparkgauge-BRMGqR9Z.cjs → vue-ui-sparkgauge-nSAW83dN.cjs} +1 -1
  119. package/dist/{vue-ui-sparkhistogram-BJTgOWF5.js → vue-ui-sparkhistogram-B1WyBiq_.js} +5 -5
  120. package/dist/{vue-ui-sparkhistogram-rvYaVHmw.cjs → vue-ui-sparkhistogram-BLYhRNpt.cjs} +1 -1
  121. package/dist/{vue-ui-sparkline-BI9jqI0h.cjs → vue-ui-sparkline-PNix1-R9.cjs} +1 -1
  122. package/dist/{vue-ui-sparkline-DX79otAB.js → vue-ui-sparkline-ccfl0s3m.js} +4 -4
  123. package/dist/{vue-ui-sparkstackbar-DuollcwK.cjs → vue-ui-sparkstackbar-DpuvEumy.cjs} +1 -1
  124. package/dist/{vue-ui-sparkstackbar-vP28A6AT.js → vue-ui-sparkstackbar-PNKwVRu8.js} +5 -5
  125. package/dist/{vue-ui-stackbar-DnJEgIaA.js → vue-ui-stackbar-BBYnF8qm.js} +367 -361
  126. package/dist/vue-ui-stackbar-D4AIFoQT.cjs +6 -0
  127. package/dist/vue-ui-strip-plot-ClNxSw9M.cjs +1 -0
  128. package/dist/{vue-ui-strip-plot-DqcHBwd_.js → vue-ui-strip-plot-TVlnzXFq.js} +269 -263
  129. package/dist/{vue-ui-table-BMJ0I5nr.cjs → vue-ui-table-CHdv3KuM.cjs} +1 -1
  130. package/dist/{vue-ui-table-D8cgqIJl.js → vue-ui-table-CsEajH9S.js} +1 -1
  131. package/dist/vue-ui-table-heatmap-BE3UT8U9.cjs +1 -0
  132. package/dist/vue-ui-table-heatmap-CubRipoB.js +262 -0
  133. package/dist/vue-ui-table-sparkline-BeYviUrb.cjs +1 -0
  134. package/dist/{vue-ui-table-sparkline-B_Po0RuC.js → vue-ui-table-sparkline-YV8DUOqh.js} +256 -239
  135. package/dist/vue-ui-thermometer-C6lMWRiF.cjs +1 -0
  136. package/dist/{vue-ui-thermometer-C6nfW6uY.js → vue-ui-thermometer-DmMjSLc1.js} +170 -164
  137. package/dist/{vue-ui-timer-ldINTqND.cjs → vue-ui-timer-DteYgv9y.cjs} +1 -1
  138. package/dist/{vue-ui-timer-CfwmMRdZ.js → vue-ui-timer-DvE_nqd9.js} +5 -5
  139. package/dist/vue-ui-tiremarks-CCrkDgjX.js +323 -0
  140. package/dist/vue-ui-tiremarks-PGGgsNgS.cjs +1 -0
  141. package/dist/vue-ui-treemap-BzRVKqXL.cjs +1 -0
  142. package/dist/{vue-ui-treemap-CwMnkcOi.js → vue-ui-treemap-C4A4spvg.js} +243 -237
  143. package/dist/{vue-ui-vertical-bar-BZR4YOLh.js → vue-ui-vertical-bar-8iL1xiaz.js} +238 -232
  144. package/dist/vue-ui-vertical-bar-B60lSXNq.cjs +4 -0
  145. package/dist/{vue-ui-waffle-D2BccJmB.js → vue-ui-waffle-CaYNz-Kd.js} +316 -310
  146. package/dist/vue-ui-waffle-O8pAEf4X.cjs +1 -0
  147. package/dist/vue-ui-wheel-BRR2rGou.js +305 -0
  148. package/dist/vue-ui-wheel-CnFdB_B1.cjs +1 -0
  149. package/dist/vue-ui-word-cloud-X4mp280j.cjs +1 -0
  150. package/dist/{vue-ui-word-cloud-DiG8DHOr.js → vue-ui-word-cloud-y2GGxwoq.js} +246 -240
  151. package/dist/{vue-ui-xy-DicLnkBA.js → vue-ui-xy-CXoWP8bh.js} +708 -697
  152. package/dist/vue-ui-xy-CbM75yXK.cjs +3 -0
  153. package/dist/{vue-ui-xy-canvas-D6CYL9A8.js → vue-ui-xy-canvas-D7MrUJj7.js} +334 -328
  154. package/dist/vue-ui-xy-canvas-DWvIvSry.cjs +9 -0
  155. package/package.json +1 -1
  156. package/dist/index-BHQZE19X.cjs +0 -9
  157. package/dist/vue-ui-3d-bar-BGVLnjCh.cjs +0 -19
  158. package/dist/vue-ui-age-pyramid-Cv0Rddsx.cjs +0 -1
  159. package/dist/vue-ui-bullet-C0Q2Vs5p.cjs +0 -34
  160. package/dist/vue-ui-candlestick-C7kRHFF3.cjs +0 -2
  161. package/dist/vue-ui-carousel-table-1_Hy8sGL.cjs +0 -1
  162. package/dist/vue-ui-chestnut-D3LGylRp.cjs +0 -6
  163. package/dist/vue-ui-donut-CQEOtlxM.cjs +0 -1
  164. package/dist/vue-ui-donut-evolution-Dg_XJyX8.cjs +0 -1
  165. package/dist/vue-ui-dumbbell-RAkNYRoJ.cjs +0 -9
  166. package/dist/vue-ui-flow-BUmSGSmR.cjs +0 -1
  167. package/dist/vue-ui-funnel-B9HR0owO.cjs +0 -1
  168. package/dist/vue-ui-galaxy-DmsMWB1a.cjs +0 -1
  169. package/dist/vue-ui-gauge-Dvv0v56Z.cjs +0 -1
  170. package/dist/vue-ui-heatmap-DZ02dS5q.cjs +0 -1
  171. package/dist/vue-ui-history-plot-DPQWcN0P.cjs +0 -1
  172. package/dist/vue-ui-molecule-C8O_ViVy.cjs +0 -1
  173. package/dist/vue-ui-mood-radar-4u98wGWl.cjs +0 -1
  174. package/dist/vue-ui-nested-donuts-BPc_OBoe.cjs +0 -17
  175. package/dist/vue-ui-onion-IhkIHn1A.cjs +0 -5
  176. package/dist/vue-ui-parallel-coordinate-plot-DzjggyLA.cjs +0 -8
  177. package/dist/vue-ui-quadrant-EZqQ-7Ev.cjs +0 -1
  178. package/dist/vue-ui-quick-chart-BKUUR-A1.cjs +0 -15
  179. package/dist/vue-ui-radar-QBwo6ybW.cjs +0 -1
  180. package/dist/vue-ui-relation-circle-BWX8zrfH.cjs +0 -1
  181. package/dist/vue-ui-relation-circle-DtnXrnOP.js +0 -492
  182. package/dist/vue-ui-rings-Damuv7g9.cjs +0 -2
  183. package/dist/vue-ui-scatter-RUeAe7Sx.cjs +0 -1
  184. package/dist/vue-ui-stackbar-BumFmZZF.cjs +0 -6
  185. package/dist/vue-ui-strip-plot-DupREfRd.cjs +0 -1
  186. package/dist/vue-ui-table-heatmap-D43pTFli.cjs +0 -1
  187. package/dist/vue-ui-table-heatmap-D4qeClXn.js +0 -256
  188. package/dist/vue-ui-table-sparkline-B7OPOium.cjs +0 -1
  189. package/dist/vue-ui-thermometer-CaV3JF3h.cjs +0 -1
  190. package/dist/vue-ui-tiremarks-BlyxL_IU.cjs +0 -1
  191. package/dist/vue-ui-tiremarks-iNKMnu3P.js +0 -317
  192. package/dist/vue-ui-treemap-YdRDlSHA.cjs +0 -1
  193. package/dist/vue-ui-vertical-bar-Bji3-X8i.cjs +0 -4
  194. package/dist/vue-ui-waffle-rO_LJaHR.cjs +0 -1
  195. package/dist/vue-ui-wheel-BTrpdV-C.cjs +0 -1
  196. package/dist/vue-ui-wheel-GqWFopE1.js +0 -299
  197. package/dist/vue-ui-word-cloud-DD-pKUen.cjs +0 -1
  198. package/dist/vue-ui-xy-C32KNdyx.cjs +0 -3
  199. package/dist/vue-ui-xy-canvas-9e630nJX.cjs +0 -9
@@ -1,25 +1,26 @@
1
- import { computed as v, ref as u, watch as Ge, onMounted as We, onBeforeUnmount as Xe, openBlock as r, createElementBlock as s, normalizeClass as z, normalizeStyle as Q, createBlock as w, createCommentVNode as p, unref as g, createSlots as Ye, 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 we, nextTick as je } from "vue";
2
- import { u as qe, c as He, t as Je, a as Ke, p as x, o as Qe, e as S, b as Ze, g as $e, d as Pe, O as Te, v as et, i as xe, f as U, X as tt, s as ee, w as at, P as Ae, x as ot, y as lt, q as rt, r as nt } from "./index-igxqCP2w.js";
3
- import { t as st, u as ut } from "./useResponsive-CoxXLe23.js";
4
- import { _ as it } from "./Title-DED-PQ7X.js";
5
- import { u as ct, U as dt } from "./usePrinter-CnZYDQXB.js";
6
- import { _ as vt } from "./Tooltip-CHseiJu8.js";
7
- import pt from "./vue-ui-sparkbar-CPF7YNDd.js";
8
- import { L as ht } from "./Legend-FZN9UHoI.js";
9
- import { D as gt } from "./DataTable-CO5C8Cmb.js";
10
- import ft from "./vue-ui-skeleton-CWjNNx-k.js";
11
- import yt from "./vue-ui-accordion-lF7yVkiT.js";
12
- import { u as Oe } from "./useNestedProp-CSVnZVwZ.js";
13
- import { _ as mt } from "./PackageVersion-DYk2hOG1.js";
14
- import { P as bt } from "./PenAndPaper-BfgS_5ux.js";
15
- import { _ as kt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
- const Ct = ["id"], _t = ["xmlns", "viewBox"], wt = ["id"], $t = ["stop-color"], Pt = ["stop-color"], Tt = { key: 0 }, xt = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], At = { key: 0 }, Ot = ["d", "stroke", "stroke-width"], Nt = ["d", "stroke", "stroke-width"], Ft = { key: 1 }, St = ["x", "y", "text-anchor", "font-size", "fill", "onMouseenter"], It = ["points", "stroke", "stroke-width"], Lt = ["points", "stroke", "stroke-width", "fill"], zt = { key: 2 }, Rt = ["cx", "cy", "fill", "r", "stroke"], Mt = {
1
+ import { computed as p, ref as u, watch as Ye, onMounted as je, onBeforeUnmount as qe, openBlock as r, createElementBlock as n, normalizeClass as z, normalizeStyle as W, unref as c, createBlock as _, createCommentVNode as h, createSlots as He, withCtx as y, renderSlot as m, normalizeProps as M, guardReactiveProps as R, createVNode as Z, createElementVNode as $, Fragment as P, renderList as T, toDisplayString as U, createTextVNode as Te, nextTick as Je } from "vue";
2
+ import { u as Ke, c as Qe, t as Ze, a as et, p as x, o as tt, e as F, b as at, g as xe, d as Oe, O as Ae, v as ot, i as Ne, f as V, X as lt, s as ee, w as rt, P as Se, x as st, y as nt, q as ut, r as it } from "./index-BbPeL8Gp.js";
3
+ import { t as ct, u as dt } from "./useResponsive-CoxXLe23.js";
4
+ import { _ as vt } from "./Title-aSAft5dl.js";
5
+ import { u as pt, U as ht } from "./usePrinter-DaybDVqP.js";
6
+ import { _ as gt } from "./Tooltip-smutPF--.js";
7
+ import ft from "./vue-ui-sparkbar-q0G4GvFm.js";
8
+ import { L as yt } from "./Legend-BLaZxMge.js";
9
+ import { D as mt } from "./DataTable-DGf6RrOJ.js";
10
+ import bt from "./vue-ui-skeleton-Bniq21d9.js";
11
+ import kt from "./vue-ui-accordion-5d5iVpr7.js";
12
+ import { u as Fe } from "./useNestedProp-BN8claGG.js";
13
+ import { _ as Ct } from "./PackageVersion-CxJghxYD.js";
14
+ import { P as wt } from "./PenAndPaper-ZdZEumki.js";
15
+ import { u as _t } from "./useUserOptionState-BIvW1Kz7.js";
16
+ import { _ as $t } from "./_plugin-vue_export-helper-CHgC5LLL.js";
17
+ const Pt = ["id"], Tt = ["xmlns", "viewBox"], xt = ["id"], Ot = ["stop-color"], At = ["stop-color"], Nt = { key: 0 }, St = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Ft = { key: 0 }, It = ["d", "stroke", "stroke-width"], Lt = ["d", "stroke", "stroke-width"], zt = { key: 1 }, Mt = ["x", "y", "text-anchor", "font-size", "fill", "onMouseenter"], Rt = ["points", "stroke", "stroke-width"], Ut = ["points", "stroke", "stroke-width", "fill"], Vt = { key: 2 }, Et = ["cx", "cy", "fill", "r", "stroke"], Bt = {
17
18
  key: 5,
18
19
  class: "vue-data-ui-watermark"
19
- }, Vt = ["onClick"], Ut = {
20
+ }, Dt = ["onClick"], Gt = {
20
21
  key: 0,
21
22
  style: { "max-width": "200px", margin: "0 auto" }
22
- }, Et = {
23
+ }, Wt = {
23
24
  __name: "vue-ui-radar",
24
25
  props: {
25
26
  config: {
@@ -36,36 +37,36 @@ const Ct = ["id"], _t = ["xmlns", "viewBox"], wt = ["id"], $t = ["stop-color"],
36
37
  }
37
38
  },
38
39
  emits: ["selectLegend"],
39
- setup(Ne, { expose: Fe, emit: Se }) {
40
- const h = Ne, { vue_ui_radar: Ie } = qe(), I = v(() => !!h.dataset && Object.keys(h.dataset).length), _ = u(He()), Le = u(null), W = u(!1), X = u(""), te = u(0), A = u(null), ae = u(null), oe = u(null), le = u(null), re = u(null), ne = u(0), se = u(0), ue = u(0), e = v({
41
- get: () => ie(),
40
+ setup(Ie, { expose: Le, emit: ze }) {
41
+ const g = Ie, { vue_ui_radar: Me } = Ke(), I = p(() => !!g.dataset && Object.keys(g.dataset).length), w = u(Qe()), Re = u(null), X = u(!1), Y = u(""), te = u(0), O = u(null), ae = u(null), oe = u(null), le = u(null), re = u(null), se = u(0), ne = u(0), ue = u(0), e = p({
42
+ get: () => ve(),
42
43
  set: (t) => t
43
- });
44
- function ie() {
45
- const t = Oe({
46
- userConfig: h.config,
47
- defaultConfig: Ie
44
+ }), { userOptionsVisible: ie, setUserOptionsVisibility: ce, keepUserOptionState: de } = _t({ config: e.value });
45
+ function ve() {
46
+ const t = Fe({
47
+ userConfig: g.config,
48
+ defaultConfig: Me
48
49
  });
49
50
  return t.theme ? {
50
- ...Oe({
51
- userConfig: Je.vue_ui_radar[t.theme] || h.config,
51
+ ...Fe({
52
+ userConfig: Ze.vue_ui_radar[t.theme] || g.config,
52
53
  defaultConfig: t
53
54
  }),
54
- customPalette: Ke[t.theme] || x
55
+ customPalette: et[t.theme] || x
55
56
  } : t;
56
57
  }
57
- Ge(() => h.config, (t) => {
58
- e.value = ie(), ce(), ne.value += 1, se.value += 1, ue.value += 1;
58
+ Ye(() => g.config, (t) => {
59
+ e.value = ve(), pe(), se.value += 1, ne.value += 1, ue.value += 1;
59
60
  }, { deep: !0 });
60
61
  const E = u(null);
61
- function ce() {
62
- if (Qe(h.dataset) && S({
62
+ function pe() {
63
+ if (tt(g.dataset) && F({
63
64
  componentName: "VueUiRadar",
64
65
  type: "dataset"
65
66
  }), e.value.responsive) {
66
- const t = st(() => {
67
- const { width: a, height: o } = ut({
68
- chart: A.value,
67
+ const t = ct(() => {
68
+ const { width: a, height: o } = dt({
69
+ chart: O.value,
69
70
  title: e.value.style.chart.title.text ? ae.value : null,
70
71
  legend: e.value.style.chart.legend.show ? oe.value : null,
71
72
  source: le.value,
@@ -73,24 +74,24 @@ const Ct = ["id"], _t = ["xmlns", "viewBox"], wt = ["id"], $t = ["stop-color"],
73
74
  });
74
75
  i.value.width = a, i.value.height = o;
75
76
  });
76
- E.value = new ResizeObserver(t), E.value.observe(A.value.parentNode);
77
+ E.value = new ResizeObserver(t), E.value.observe(O.value.parentNode);
77
78
  }
78
79
  }
79
- We(() => {
80
- ce();
81
- }), Xe(() => {
80
+ je(() => {
81
+ pe();
82
+ }), qe(() => {
82
83
  E.value && E.value.disconnect();
83
84
  });
84
- const { isPrinting: de, isImaging: ve, generatePdf: pe, generateImage: he } = ct({
85
- elementId: `vue-ui-radar_${_.value}`,
85
+ const { isPrinting: he, isImaging: ge, generatePdf: fe, generateImage: ye } = pt({
86
+ elementId: `vue-ui-radar_${w.value}`,
86
87
  fileName: e.value.style.chart.title.text || "vue-ui-radar"
87
- }), ze = v(() => e.value.userOptions.show && !e.value.style.chart.title.text), ge = v(() => Ze(e.value.customPalette)), k = u({
88
+ }), Ue = p(() => e.value.userOptions.show && !e.value.style.chart.title.text), me = p(() => at(e.value.customPalette)), k = u({
88
89
  dataLabels: {
89
90
  show: e.value.style.chart.layout.labels.dataLabels.show
90
91
  },
91
92
  showTable: e.value.table.show,
92
93
  showTooltip: e.value.style.chart.tooltip.show
93
- }), Re = v(() => ({
94
+ }), Ve = p(() => ({
94
95
  style: {
95
96
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
96
97
  animation: {
@@ -111,55 +112,55 @@ const Ct = ["id"], _t = ["xmlns", "viewBox"], wt = ["id"], $t = ["stop-color"],
111
112
  })), i = u({
112
113
  height: 312,
113
114
  width: 512
114
- }), c = u([]), L = u(null), O = u(!1);
115
- function fe(t) {
116
- O.value = !0, c.value.includes(t) ? (L.value = t, c.value = c.value.filter((a) => a !== t), setTimeout(() => {
117
- O.value = !1, L.value = null;
118
- }, 500)) : (c.value.push(t), setTimeout(() => {
119
- O.value = !1;
120
- }, 500)), Se("selectLegend", N.value.filter((a, o) => !c.value.includes(o)).map((a) => ({
115
+ }), d = u([]), L = u(null), A = u(!1);
116
+ function be(t) {
117
+ A.value = !0, d.value.includes(t) ? (L.value = t, d.value = d.value.filter((a) => a !== t), setTimeout(() => {
118
+ A.value = !1, L.value = null;
119
+ }, 500)) : (d.value.push(t), setTimeout(() => {
120
+ A.value = !1;
121
+ }, 500)), ze("selectLegend", N.value.filter((a, o) => !d.value.includes(o)).map((a) => ({
121
122
  name: a.name,
122
123
  color: a.color,
123
124
  proportion: a.totalProportion
124
125
  })));
125
126
  }
126
- function Me() {
127
+ function Ee() {
127
128
  return N.value.map((t) => ({
128
129
  name: t.name,
129
130
  color: t.color,
130
131
  proportion: t.totalProportion
131
132
  }));
132
133
  }
133
- const f = v(() => [null, void 0].includes(h.dataset.categories) ? (S({
134
+ const f = p(() => [null, void 0].includes(g.dataset.categories) ? (F({
134
135
  componentName: "VueUiRadar",
135
136
  type: "datasetAttribute",
136
137
  property: "categories ({ name: string; prefix?: string; suffix?: string}[])"
137
- }), []) : (h.dataset.categories.length === 0 ? S({
138
+ }), []) : (g.dataset.categories.length === 0 ? F({
138
139
  componentName: "VueUiRadar",
139
140
  type: "datasetAttributeEmpty",
140
141
  property: "categories"
141
- }) : h.dataset.categories.forEach((t, a) => {
142
- $e({
142
+ }) : g.dataset.categories.forEach((t, a) => {
143
+ xe({
143
144
  datasetObject: t,
144
145
  requiredAttributes: ["name"]
145
146
  }).forEach((o) => {
146
- S({
147
+ F({
147
148
  componentName: "VueUiRadar",
148
149
  type: "datasetAttribute",
149
150
  property: `category.${o} at index ${a}`,
150
151
  index: a
151
152
  });
152
153
  });
153
- }), [null, void 0].includes(h.dataset.series) ? S({
154
+ }), [null, void 0].includes(g.dataset.series) ? F({
154
155
  componentName: "VueUiRadar",
155
156
  type: "datasetAttribute",
156
157
  property: "series ({ name: string; values: number[]; color?: string; target: number}[])"
157
- }) : h.dataset.series.forEach((t, a) => {
158
- $e({
158
+ }) : g.dataset.series.forEach((t, a) => {
159
+ xe({
159
160
  datasetObject: t,
160
161
  requiredAttributes: ["name", "values", "target"]
161
162
  }).forEach((o) => {
162
- S({
163
+ F({
163
164
  componentName: "VueUiRadar",
164
165
  type: "datasetSerieAttribute",
165
166
  key: "series",
@@ -167,34 +168,34 @@ const Ct = ["id"], _t = ["xmlns", "viewBox"], wt = ["id"], $t = ["stop-color"],
167
168
  index: a
168
169
  });
169
170
  });
170
- }), h.dataset.categories.map((t, a) => ({
171
+ }), g.dataset.categories.map((t, a) => ({
171
172
  name: t.name,
172
- categoryId: `radar_category_${_.value}_${a}`,
173
- color: Pe(t.color) || ge.value[a] || x[a] || x[a % x.length],
173
+ categoryId: `radar_category_${w.value}_${a}`,
174
+ color: Oe(t.color) || me.value[a] || x[a] || x[a % x.length],
174
175
  prefix: t.prefix ?? "",
175
176
  suffix: t.suffix ?? ""
176
- })))), b = v(() => I.value ? h.dataset.series.map((t, a) => ({
177
+ })))), b = p(() => I.value ? g.dataset.series.map((t, a) => ({
177
178
  ...t,
178
- color: Pe(t.color) || ge.value[a] || x[a] || x[a % x.length],
179
- serieId: `radar_serie_${_.value}_${a}`,
179
+ color: Oe(t.color) || me.value[a] || x[a] || x[a % x.length],
180
+ serieId: `radar_serie_${w.value}_${a}`,
180
181
  formatter: t.formatter || null
181
- })) : []), ye = v(() => Math.max(...b.value.flatMap((t) => t.values))), me = v(() => b.value.length), Y = v(() => Math.min(i.value.width, i.value.height) / 3), be = v(() => Te({
182
+ })) : []), ke = p(() => Math.max(...b.value.flatMap((t) => t.values))), Ce = p(() => b.value.length), j = p(() => Math.min(i.value.width, i.value.height) / 3), we = p(() => Ae({
182
183
  plot: { x: i.value.width / 2, y: i.value.height / 2 },
183
- radius: Y.value,
184
- sides: me.value,
184
+ radius: j.value,
185
+ sides: Ce.value,
185
186
  rotation: 0
186
- })), Ve = v(() => {
187
+ })), Be = p(() => {
187
188
  const t = [];
188
- for (let a = 0; a < Y.value; a += Y.value / e.value.style.chart.layout.grid.graduations)
189
+ for (let a = 0; a < j.value; a += j.value / e.value.style.chart.layout.grid.graduations)
189
190
  t.push(a);
190
191
  return t;
191
- }), C = v(() => be.value.coordinates.map((t, a) => {
192
- const o = b.value[a].values.map((l) => Ue({
192
+ }), C = p(() => we.value.coordinates.map((t, a) => {
193
+ const o = b.value[a].values.map((l) => De({
193
194
  centerX: i.value.width / 2,
194
195
  centerY: i.value.height / 2,
195
196
  apexX: t.x,
196
197
  apexY: t.y,
197
- proportion: l / (b.value[a].target || ye.value)
198
+ proportion: l / (b.value[a].target || ke.value)
198
199
  }));
199
200
  return {
200
201
  ...t,
@@ -202,56 +203,56 @@ const Ct = ["id"], _t = ["xmlns", "viewBox"], wt = ["id"], $t = ["stop-color"],
202
203
  plots: o
203
204
  };
204
205
  }));
205
- function j({ x: t, y: a }) {
206
+ function q({ x: t, y: a }) {
206
207
  let o = "middle";
207
208
  return t = Math.round(t), a = Math.round(a), t > i.value.width / 2 && (t += 12, o = "start"), t < i.value.width / 2 && (t -= 12, o = "end"), a > i.value.height / 2 && (a += 20), a < i.value.height / 2 && (a -= 12), a === i.value.height / 2 && (a += 4), { x: t, y: a, anchor: o };
208
209
  }
209
- function Ue({ centerX: t, centerY: a, apexX: o, apexY: l, proportion: n }) {
210
+ function De({ centerX: t, centerY: a, apexX: o, apexY: l, proportion: s }) {
210
211
  return {
211
- x: t + (o - t) * n,
212
- y: a + (l - a) * n
212
+ x: t + (o - t) * s,
213
+ y: a + (l - a) * s
213
214
  };
214
215
  }
215
- const N = v(() => {
216
- const t = b.value.map((a, o) => a.values.map((l) => l / (a.target || ye.value)));
216
+ const N = p(() => {
217
+ const t = b.value.map((a, o) => a.values.map((l) => l / (a.target || ke.value)));
217
218
  return f.value.map((a, o) => ({
218
219
  ...a,
219
- totalProportion: et(t.map((l) => l[o]).reduce((l, n) => l + n, 0) / b.value.length),
220
+ totalProportion: ot(t.map((l) => l[o]).reduce((l, s) => l + s, 0) / b.value.length),
220
221
  shape: "circle",
221
- opacity: c.value.includes(o) ? 0.5 : 1,
222
- segregate: () => fe(o),
223
- isSegregated: c.value.includes(o)
222
+ opacity: d.value.includes(o) ? 0.5 : 1,
223
+ segregate: () => be(o),
224
+ isSegregated: d.value.includes(o)
224
225
  }));
225
- }), Ee = v(() => ({
226
+ }), Ge = p(() => ({
226
227
  cy: "radar-div-legend",
227
228
  backgroundColor: e.value.style.chart.legend.backgroundColor,
228
229
  color: e.value.style.chart.legend.color,
229
230
  fontSize: e.value.style.chart.legend.fontSize,
230
231
  paddingBottom: 12,
231
232
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
232
- })), B = v(() => {
233
+ })), B = p(() => {
233
234
  const t = [
234
235
  { name: e.value.translations.datapoint, color: "" },
235
236
  { name: e.value.translations.target, color: "" },
236
237
  ...N.value
237
- ], a = h.dataset.series.map((l) => [
238
+ ], a = g.dataset.series.map((l) => [
238
239
  l.name,
239
- xe(
240
+ Ne(
240
241
  l.formatter,
241
242
  l.target,
242
- U({
243
+ V({
243
244
  p: l.prefix,
244
245
  v: l.target,
245
246
  s: l.suffix,
246
247
  r: e.value.table.td.roundingValue
247
248
  })
248
249
  ),
249
- ...l.values.map((n, d) => `${xe(
250
+ ...l.values.map((s, v) => `${Ne(
250
251
  l.formatter,
251
- n,
252
- U({ p: f.value[d].prefix, v: n, s: f.value[d].suffix, r: e.value.table.td.roundingValue })
253
- )} (${isNaN(n / l.target) ? "" : U({
254
- v: n / l.target * 100,
252
+ s,
253
+ V({ p: f.value[v].prefix, v: s, s: f.value[v].suffix, r: e.value.table.td.roundingValue })
254
+ )} (${isNaN(s / l.target) ? "" : V({
255
+ v: s / l.target * 100,
255
256
  s: "%",
256
257
  r: e.value.table.td.roundingPercentage
257
258
  })})`)
@@ -269,11 +270,11 @@ const Ct = ["id"], _t = ["xmlns", "viewBox"], wt = ["id"], $t = ["stop-color"],
269
270
  breakpoint: e.value.table.responsiveBreakpoint
270
271
  };
271
272
  return { head: t, body: a, config: o, colNames: t };
272
- }), D = u(null), q = u([]), H = u(null);
273
- function Be(t, a) {
274
- q.value = [], D.value = a, W.value = !0;
273
+ }), D = u(null), H = u([]), J = u(null);
274
+ function We(t, a) {
275
+ H.value = [], D.value = a, X.value = !0;
275
276
  let o = "";
276
- H.value = {
277
+ J.value = {
277
278
  datapoint: t,
278
279
  seriesIndex: a,
279
280
  series: {
@@ -284,13 +285,13 @@ const Ct = ["id"], _t = ["xmlns", "viewBox"], wt = ["id"], $t = ["stop-color"],
284
285
  config: e.value
285
286
  };
286
287
  const l = e.value.style.chart.tooltip.customFormat;
287
- if (ot(l) && lt(() => l({
288
+ if (st(l) && nt(() => l({
288
289
  seriesIndex: a,
289
290
  datapoint: t,
290
291
  series: { categories: f.value, datapoints: b.value, radar: C.value },
291
292
  config: e.value
292
293
  })))
293
- X.value = l({
294
+ Y.value = l({
294
295
  seriesIndex: a,
295
296
  datapoint: t,
296
297
  series: { categories: f.value, datapoints: b.value, radar: C.value },
@@ -298,80 +299,82 @@ const Ct = ["id"], _t = ["xmlns", "viewBox"], wt = ["id"], $t = ["stop-color"],
298
299
  });
299
300
  else {
300
301
  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>`;
301
- for (let n = 0; n < t.values.length; n += 1)
302
- c.value.includes(n) || q.value.push({
303
- name: f.value[n].name,
304
- value: t.values[n] / t.target * 100,
305
- color: f.value[n].color,
302
+ for (let s = 0; s < t.values.length; s += 1)
303
+ d.value.includes(s) || H.value.push({
304
+ name: f.value[s].name,
305
+ value: t.values[s] / t.target * 100,
306
+ color: f.value[s].color,
306
307
  suffix: "%)",
307
- prefix: `${U({ p: f.value[n].prefix ?? "", v: t.values[n], s: f.value[n].suffix ?? "", r: e.value.style.chart.tooltip.roundingValue })} (`,
308
+ prefix: `${V({ p: f.value[s].prefix ?? "", v: t.values[s], s: f.value[s].suffix ?? "", r: e.value.style.chart.tooltip.roundingValue })} (`,
308
309
  rounding: e.value.style.chart.tooltip.roundingPercentage,
309
310
  formatter: t.formatter
310
311
  });
311
- X.value = o;
312
+ Y.value = o;
312
313
  }
313
314
  }
314
- function ke() {
315
- je(() => {
316
- 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 = h.dataset.series.map((d, Bt) => [d.name, d.target, ...d.values.flatMap((K) => [
317
- K,
318
- isNaN(K / d.target) ? "" : K / d.target * 100
319
- ])]), l = t.concat([a]).concat(o), n = rt(l);
320
- nt({ csvContent: n, title: e.value.style.chart.title.text || "vue-ui-radar" });
315
+ function _e() {
316
+ Je(() => {
317
+ const t = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], a = [[""], [e.value.translations.target], ...N.value.flatMap((v) => [[v.name], ["%"]])], o = g.dataset.series.map((v, Xt) => [v.name, v.target, ...v.values.flatMap((Q) => [
318
+ Q,
319
+ isNaN(Q / v.target) ? "" : Q / v.target * 100
320
+ ])]), l = t.concat([a]).concat(o), s = ut(l);
321
+ it({ csvContent: s, title: e.value.style.chart.title.text || "vue-ui-radar" });
321
322
  });
322
323
  }
323
- const F = u(!1);
324
- function De(t) {
325
- F.value = t, te.value += 1;
324
+ const S = u(!1);
325
+ function Xe(t) {
326
+ S.value = t, te.value += 1;
326
327
  }
327
- function Ce() {
328
+ function $e() {
328
329
  k.value.showTable = !k.value.showTable;
329
330
  }
330
- function _e() {
331
+ function Pe() {
331
332
  k.value.showTooltip = !k.value.showTooltip;
332
333
  }
333
334
  const G = u(!1);
334
- function J() {
335
+ function K() {
335
336
  G.value = !G.value;
336
337
  }
337
- return Fe({
338
- getData: Me,
339
- generatePdf: pe,
340
- generateCsv: ke,
341
- generateImage: he,
342
- toggleTable: Ce,
343
- toggleTooltip: _e,
344
- toggleAnnotator: J
345
- }), (t, a) => (r(), s("div", {
346
- class: z(`vue-ui-radar ${F.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
338
+ return Le({
339
+ getData: Ee,
340
+ generatePdf: fe,
341
+ generateCsv: _e,
342
+ generateImage: ye,
343
+ toggleTable: $e,
344
+ toggleTooltip: Pe,
345
+ toggleAnnotator: K
346
+ }), (t, a) => (r(), n("div", {
347
+ class: z(`vue-ui-radar ${S.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
347
348
  ref_key: "radarChart",
348
- ref: A,
349
- id: `vue-ui-radar_${_.value}`,
350
- style: Q(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height: 100%;" : ""} text-align:center;background:${e.value.style.chart.backgroundColor}`)
349
+ ref: O,
350
+ id: `vue-ui-radar_${w.value}`,
351
+ style: W(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height: 100%;" : ""} text-align:center;background:${e.value.style.chart.backgroundColor}`),
352
+ onMouseenter: a[3] || (a[3] = () => c(ce)(!0)),
353
+ onMouseleave: a[4] || (a[4] = () => c(ce)(!1))
351
354
  }, [
352
- e.value.userOptions.buttons.annotator ? (r(), w(bt, {
355
+ e.value.userOptions.buttons.annotator ? (r(), _(wt, {
353
356
  key: 0,
354
- parent: A.value,
357
+ parent: O.value,
355
358
  backgroundColor: e.value.style.chart.backgroundColor,
356
359
  color: e.value.style.chart.color,
357
360
  active: G.value,
358
- onClose: J
359
- }, null, 8, ["parent", "backgroundColor", "color", "active"])) : p("", !0),
360
- ze.value ? (r(), s("div", {
361
+ onClose: K
362
+ }, null, 8, ["parent", "backgroundColor", "color", "active"])) : h("", !0),
363
+ Ue.value ? (r(), n("div", {
361
364
  key: 1,
362
365
  ref_key: "noTitle",
363
366
  ref: re,
364
367
  class: "vue-data-ui-no-title-space",
365
368
  style: "height:36px; width: 100%;background:transparent"
366
- }, null, 512)) : p("", !0),
367
- e.value.style.chart.title.text ? (r(), s("div", {
369
+ }, null, 512)) : h("", !0),
370
+ e.value.style.chart.title.text ? (r(), n("div", {
368
371
  key: 2,
369
372
  ref_key: "chartTitle",
370
373
  ref: ae,
371
374
  style: "width:100%;background:transparent;padding-bottom:12px"
372
375
  }, [
373
- (r(), w(it, {
374
- key: `title_${ne.value}`,
376
+ (r(), _(vt, {
377
+ key: `title_${se.value}`,
375
378
  config: {
376
379
  title: {
377
380
  cy: "radar-div-title",
@@ -383,37 +386,40 @@ const Ct = ["id"], _t = ["xmlns", "viewBox"], wt = ["id"], $t = ["stop-color"],
383
386
  }
384
387
  }
385
388
  }, null, 8, ["config"]))
386
- ], 512)) : p("", !0),
387
- e.value.userOptions.show && I.value ? (r(), w(dt, {
389
+ ], 512)) : h("", !0),
390
+ e.value.userOptions.show && I.value && (c(de) || c(ie)) ? (r(), _(ht, {
388
391
  ref_key: "details",
389
- ref: Le,
392
+ ref: Re,
390
393
  key: `user_options_${te.value}`,
391
394
  backgroundColor: e.value.style.chart.backgroundColor,
392
395
  color: e.value.style.chart.color,
393
- isImaging: g(ve),
394
- isPrinting: g(de),
395
- uid: _.value,
396
+ isImaging: c(ge),
397
+ isPrinting: c(he),
398
+ uid: w.value,
396
399
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
397
400
  hasPdf: e.value.userOptions.buttons.pdf,
398
401
  hasImg: e.value.userOptions.buttons.img,
399
402
  hasXls: e.value.userOptions.buttons.csv,
400
403
  hasTable: e.value.userOptions.buttons.table,
401
404
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
402
- isFullscreen: F.value,
405
+ isFullscreen: S.value,
403
406
  isTooltip: k.value.showTooltip,
404
407
  titles: { ...e.value.userOptions.buttonTitles },
405
- chartElement: A.value,
408
+ chartElement: O.value,
406
409
  position: e.value.userOptions.position,
407
410
  hasAnnotator: e.value.userOptions.buttons.annotator,
408
411
  isAnnotation: G.value,
409
- onToggleFullscreen: De,
410
- onGeneratePdf: g(pe),
411
- onGenerateCsv: ke,
412
- onGenerateImage: g(he),
413
- onToggleTable: Ce,
414
- onToggleTooltip: _e,
415
- onToggleAnnotator: J
416
- }, Ye({ _: 2 }, [
412
+ onToggleFullscreen: Xe,
413
+ onGeneratePdf: c(fe),
414
+ onGenerateCsv: _e,
415
+ onGenerateImage: c(ye),
416
+ onToggleTable: $e,
417
+ onToggleTooltip: Pe,
418
+ onToggleAnnotator: K,
419
+ style: W({
420
+ visibility: c(de) ? c(ie) ? "visible" : "hidden" : "visible"
421
+ })
422
+ }, He({ _: 2 }, [
417
423
  t.$slots.optionTooltip ? {
418
424
  name: "optionTooltip",
419
425
  fn: y(() => [
@@ -452,130 +458,130 @@ const Ct = ["id"], _t = ["xmlns", "viewBox"], wt = ["id"], $t = ["stop-color"],
452
458
  t.$slots.optionFullscreen ? {
453
459
  name: "optionFullscreen",
454
460
  fn: y(({ toggleFullscreen: o, isFullscreen: l }) => [
455
- m(t.$slots, "optionFullscreen", R(M({ toggleFullscreen: o, isFullscreen: l })), void 0, !0)
461
+ m(t.$slots, "optionFullscreen", M(R({ toggleFullscreen: o, isFullscreen: l })), void 0, !0)
456
462
  ]),
457
463
  key: "5"
458
464
  } : void 0,
459
465
  t.$slots.optionAnnotator ? {
460
466
  name: "optionAnnotator",
461
467
  fn: y(({ toggleAnnotator: o, isAnnotator: l }) => [
462
- m(t.$slots, "optionAnnotator", R(M({ toggleAnnotator: o, isAnnotator: l })), void 0, !0)
468
+ m(t.$slots, "optionAnnotator", M(R({ toggleAnnotator: o, isAnnotator: l })), void 0, !0)
463
469
  ]),
464
470
  key: "6"
465
471
  } : void 0
466
- ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : p("", !0),
467
- I.value ? (r(), s("svg", {
472
+ ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : h("", !0),
473
+ I.value ? (r(), n("svg", {
468
474
  key: 4,
469
- xmlns: g(tt),
470
- class: z({ "vue-data-ui-fullscreen--on": F.value, "vue-data-ui-fulscreen--off": !F.value }),
475
+ xmlns: c(lt),
476
+ class: z({ "vue-data-ui-fullscreen--on": S.value, "vue-data-ui-fulscreen--off": !S.value }),
471
477
  viewBox: `0 0 ${i.value.width <= 0 ? 10 : i.value.width} ${i.value.height <= 0 ? 10 : i.value.height}`,
472
- style: Q(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
478
+ style: W(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
473
479
  }, [
474
- Z(mt),
480
+ Z(Ct),
475
481
  $("defs", null, [
476
- (r(!0), s(P, null, T(f.value, (o, l) => (r(), s("radialGradient", {
482
+ (r(!0), n(P, null, T(f.value, (o, l) => (r(), n("radialGradient", {
477
483
  cx: "50%",
478
484
  cy: "50%",
479
485
  r: "50%",
480
486
  fx: "50%",
481
487
  fy: "50%",
482
- id: `radar_gradient_${_.value}_${l}`
488
+ id: `radar_gradient_${w.value}_${l}`
483
489
  }, [
484
490
  $("stop", {
485
491
  offset: "0%",
486
- "stop-color": g(ee)(g(at)(o.color, 0.05), e.value.style.chart.layout.dataPolygon.opacity)
487
- }, null, 8, $t),
492
+ "stop-color": c(ee)(c(rt)(o.color, 0.05), e.value.style.chart.layout.dataPolygon.opacity)
493
+ }, null, 8, Ot),
488
494
  $("stop", {
489
495
  offset: "100%",
490
- "stop-color": g(ee)(o.color, e.value.style.chart.layout.dataPolygon.opacity)
491
- }, null, 8, Pt)
492
- ], 8, wt))), 256))
496
+ "stop-color": c(ee)(o.color, e.value.style.chart.layout.dataPolygon.opacity)
497
+ }, null, 8, At)
498
+ ], 8, xt))), 256))
493
499
  ]),
494
- e.value.style.chart.layout.grid.show ? (r(), s("g", Tt, [
495
- (r(!0), s(P, null, T(C.value, (o) => (r(), s("line", {
500
+ e.value.style.chart.layout.grid.show ? (r(), n("g", Nt, [
501
+ (r(!0), n(P, null, T(C.value, (o) => (r(), n("line", {
496
502
  x1: i.value.width / 2,
497
503
  y1: i.value.height / 2,
498
504
  x2: o.x,
499
505
  y2: o.y,
500
506
  stroke: e.value.style.chart.layout.grid.stroke,
501
507
  "stroke-width": e.value.style.chart.layout.grid.strokeWidth
502
- }, null, 8, xt))), 256)),
503
- e.value.style.chart.layout.grid.graduations > 0 ? (r(), s("g", At, [
504
- (r(!0), s(P, null, T(Ve.value, (o) => (r(), s("path", {
505
- d: g(Te)({
508
+ }, null, 8, St))), 256)),
509
+ e.value.style.chart.layout.grid.graduations > 0 ? (r(), n("g", Ft, [
510
+ (r(!0), n(P, null, T(Be.value, (o) => (r(), n("path", {
511
+ d: c(Ae)({
506
512
  plot: { x: i.value.width / 2, y: i.value.height / 2 },
507
513
  radius: o,
508
- sides: me.value,
514
+ sides: Ce.value,
509
515
  rotation: 0
510
516
  }).path,
511
517
  fill: "none",
512
518
  stroke: e.value.style.chart.layout.grid.stroke,
513
519
  "stroke-width": e.value.style.chart.layout.grid.strokeWidth
514
- }, null, 8, Ot))), 256))
515
- ])) : p("", !0)
516
- ])) : p("", !0),
520
+ }, null, 8, It))), 256))
521
+ ])) : h("", !0)
522
+ ])) : h("", !0),
517
523
  $("path", {
518
- d: be.value.path,
524
+ d: we.value.path,
519
525
  fill: "none",
520
526
  stroke: e.value.style.chart.layout.outerPolygon.stroke,
521
527
  "stroke-width": e.value.style.chart.layout.outerPolygon.strokeWidth,
522
528
  "stroke-linejoin": "round",
523
529
  "stroke-linecap": "round"
524
- }, null, 8, Nt),
525
- e.value.style.chart.layout.labels.dataLabels.show ? (r(), s("g", Ft, [
526
- (r(!0), s(P, null, T(C.value, (o, l) => (r(), s("text", {
527
- x: j(o).x,
528
- y: j(o).y,
529
- "text-anchor": j(o).anchor,
530
+ }, null, 8, Lt),
531
+ e.value.style.chart.layout.labels.dataLabels.show ? (r(), n("g", zt, [
532
+ (r(!0), n(P, null, T(C.value, (o, l) => (r(), n("text", {
533
+ x: q(o).x,
534
+ y: q(o).y,
535
+ "text-anchor": q(o).anchor,
530
536
  "font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
531
537
  fill: e.value.style.chart.layout.labels.dataLabels.color,
532
- onMouseenter: (n) => Be(o, l),
533
- onMouseleave: a[0] || (a[0] = (n) => {
534
- W.value = !1, D.value = null;
538
+ onMouseenter: (s) => We(o, l),
539
+ onMouseleave: a[0] || (a[0] = (s) => {
540
+ X.value = !1, D.value = null;
535
541
  })
536
- }, V(o.name), 41, St))), 256))
537
- ])) : p("", !0),
538
- (r(!0), s(P, null, T(f.value, (o, l) => (r(), s("g", null, [
542
+ }, U(o.name), 41, Mt))), 256))
543
+ ])) : h("", !0),
544
+ (r(!0), n(P, null, T(f.value, (o, l) => (r(), n("g", null, [
539
545
  $("g", null, [
540
- e.value.useCssAnimation || !e.value.useCssAnimation && !c.value.includes(l) ? (r(), s("polygon", {
546
+ e.value.useCssAnimation || !e.value.useCssAnimation && !d.value.includes(l) ? (r(), n("polygon", {
541
547
  key: 0,
542
548
  "data-cy-radar-path": "",
543
- points: g(Ae)(C.value.map((n) => n.plots[l]), !1, !0),
549
+ points: c(Se)(C.value.map((s) => s.plots[l]), !1, !0),
544
550
  stroke: e.value.style.chart.backgroundColor,
545
551
  "stroke-width": e.value.style.chart.layout.dataPolygon.strokeWidth + 1,
546
552
  fill: "none",
547
- class: z({ "animated-out": c.value.includes(l) && e.value.useCssAnimation, "animated-in": O.value && L.value === l && e.value.useCssAnimation })
548
- }, null, 10, It)) : p("", !0),
549
- e.value.useCssAnimation || !e.value.useCssAnimation && !c.value.includes(l) ? (r(), s("polygon", {
553
+ class: z({ "animated-out": d.value.includes(l) && e.value.useCssAnimation, "animated-in": A.value && L.value === l && e.value.useCssAnimation })
554
+ }, null, 10, Rt)) : h("", !0),
555
+ e.value.useCssAnimation || !e.value.useCssAnimation && !d.value.includes(l) ? (r(), n("polygon", {
550
556
  key: 1,
551
557
  "data-cy-radar-path": "",
552
- points: g(Ae)(C.value.map((n) => n.plots[l]), !1, !0),
558
+ points: c(Se)(C.value.map((s) => s.plots[l]), !1, !0),
553
559
  stroke: o.color,
554
560
  "stroke-width": e.value.style.chart.layout.dataPolygon.strokeWidth,
555
- fill: e.value.style.chart.layout.dataPolygon.transparent ? "transparent" : e.value.style.chart.layout.dataPolygon.useGradient ? `url(#radar_gradient_${_.value}_${l})` : g(ee)(o.color, e.value.style.chart.layout.dataPolygon.opacity),
556
- class: z({ "animated-out": c.value.includes(l) && e.value.useCssAnimation, "animated-in": O.value && L.value === l && e.value.useCssAnimation })
557
- }, null, 10, Lt)) : p("", !0)
561
+ fill: e.value.style.chart.layout.dataPolygon.transparent ? "transparent" : e.value.style.chart.layout.dataPolygon.useGradient ? `url(#radar_gradient_${w.value}_${l})` : c(ee)(o.color, e.value.style.chart.layout.dataPolygon.opacity),
562
+ class: z({ "animated-out": d.value.includes(l) && e.value.useCssAnimation, "animated-in": A.value && L.value === l && e.value.useCssAnimation })
563
+ }, null, 10, Ut)) : h("", !0)
558
564
  ])
559
565
  ]))), 256)),
560
- e.value.style.chart.layout.plots.show ? (r(), s("g", zt, [
561
- (r(!0), s(P, null, T(C.value, (o, l) => (r(), s("g", null, [
562
- (r(!0), s(P, null, T(o.plots, (n, d) => (r(), s("circle", {
563
- cx: n.x,
564
- cy: n.y,
565
- fill: c.value.includes(d) ? "transparent" : f.value[d].color,
566
+ e.value.style.chart.layout.plots.show ? (r(), n("g", Vt, [
567
+ (r(!0), n(P, null, T(C.value, (o, l) => (r(), n("g", null, [
568
+ (r(!0), n(P, null, T(o.plots, (s, v) => (r(), n("circle", {
569
+ cx: s.x,
570
+ cy: s.y,
571
+ fill: d.value.includes(v) ? "transparent" : f.value[v].color,
566
572
  r: D.value !== null && D.value === l ? e.value.style.chart.layout.plots.radius * 1.6 : e.value.style.chart.layout.plots.radius,
567
- stroke: c.value.includes(d) ? "transparent" : e.value.style.chart.backgroundColor,
573
+ stroke: d.value.includes(v) ? "transparent" : e.value.style.chart.backgroundColor,
568
574
  "stroke-width": 0.5,
569
- class: z({ "animated-out": c.value.includes(d) && e.value.useCssAnimation, "animated-in": O.value && L.value === d && e.value.useCssAnimation })
570
- }, null, 10, Rt))), 256))
575
+ class: z({ "animated-out": d.value.includes(v) && e.value.useCssAnimation, "animated-in": A.value && L.value === v && e.value.useCssAnimation })
576
+ }, null, 10, Et))), 256))
571
577
  ]))), 256))
572
- ])) : p("", !0),
578
+ ])) : h("", !0),
573
579
  m(t.$slots, "svg", { svg: i.value }, void 0, !0)
574
- ], 14, _t)) : p("", !0),
575
- t.$slots.watermark ? (r(), s("div", Mt, [
576
- m(t.$slots, "watermark", R(M({ isPrinting: g(de) || g(ve) })), void 0, !0)
577
- ])) : p("", !0),
578
- I.value ? p("", !0) : (r(), w(ft, {
580
+ ], 14, Tt)) : h("", !0),
581
+ t.$slots.watermark ? (r(), n("div", Bt, [
582
+ m(t.$slots, "watermark", M(R({ isPrinting: c(he) || c(ge) })), void 0, !0)
583
+ ])) : h("", !0),
584
+ I.value ? h("", !0) : (r(), _(bt, {
579
585
  key: 6,
580
586
  config: {
581
587
  type: "radar",
@@ -596,22 +602,22 @@ const Ct = ["id"], _t = ["xmlns", "viewBox"], wt = ["id"], $t = ["stop-color"],
596
602
  ref_key: "chartLegend",
597
603
  ref: oe
598
604
  }, [
599
- e.value.style.chart.legend.show ? (r(), w(ht, {
605
+ e.value.style.chart.legend.show ? (r(), _(yt, {
600
606
  key: `legend_${ue.value}`,
601
607
  legendSet: N.value,
602
- config: Ee.value,
603
- onClickMarker: a[1] || (a[1] = ({ i: o }) => fe(o))
608
+ config: Ge.value,
609
+ onClickMarker: a[1] || (a[1] = ({ i: o }) => be(o))
604
610
  }, {
605
611
  item: y(({ legend: o, index: l }) => [
606
612
  $("div", {
607
613
  "data-cy-legend-item": "",
608
- onClick: (n) => o.segregate(),
609
- style: Q(`opacity:${c.value.includes(l) ? 0.5 : 1}`)
610
- }, V(o.name) + ": " + V(g(U)({
614
+ onClick: (s) => o.segregate(),
615
+ style: W(`opacity:${d.value.includes(l) ? 0.5 : 1}`)
616
+ }, U(o.name) + ": " + U(c(V)({
611
617
  v: o.totalProportion * 100,
612
618
  s: "%",
613
619
  r: e.value.style.chart.legend.roundingPercentage
614
- })), 13, Vt)
620
+ })), 13, Dt)
615
621
  ]),
616
622
  _: 1
617
623
  }, 8, ["legendSet", "config"])) : m(t.$slots, "legend", {
@@ -619,16 +625,16 @@ const Ct = ["id"], _t = ["xmlns", "viewBox"], wt = ["id"], $t = ["stop-color"],
619
625
  legend: N.value
620
626
  }, void 0, !0)
621
627
  ], 512),
622
- t.$slots.source ? (r(), s("div", {
628
+ t.$slots.source ? (r(), n("div", {
623
629
  key: 7,
624
630
  ref_key: "source",
625
631
  ref: le,
626
632
  dir: "auto"
627
633
  }, [
628
634
  m(t.$slots, "source", {}, void 0, !0)
629
- ], 512)) : p("", !0),
630
- Z(vt, {
631
- show: k.value.showTooltip && W.value,
635
+ ], 512)) : h("", !0),
636
+ Z(gt, {
637
+ show: k.value.showTooltip && X.value,
632
638
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
633
639
  color: e.value.style.chart.tooltip.color,
634
640
  borderRadius: e.value.style.chart.tooltip.borderRadius,
@@ -638,27 +644,27 @@ const Ct = ["id"], _t = ["xmlns", "viewBox"], wt = ["id"], $t = ["stop-color"],
638
644
  fontSize: e.value.style.chart.tooltip.fontSize,
639
645
  position: e.value.style.chart.tooltip.position,
640
646
  offsetY: e.value.style.chart.tooltip.offsetY,
641
- parent: A.value,
642
- content: X.value,
643
- isFullscreen: F.value,
647
+ parent: O.value,
648
+ content: Y.value,
649
+ isFullscreen: S.value,
644
650
  isCustom: e.value.style.chart.tooltip.customFormat && typeof e.value.style.chart.tooltip.customFormat == "function"
645
651
  }, {
646
652
  "tooltip-before": y(() => [
647
- m(t.$slots, "tooltip-before", R(M({ ...H.value })), void 0, !0)
653
+ m(t.$slots, "tooltip-before", M(R({ ...J.value })), void 0, !0)
648
654
  ]),
649
655
  "tooltip-after": y(() => [
650
- ["function"].includes(typeof e.value.style.chart.tooltip.customFormat) ? p("", !0) : (r(), s("div", Ut, [
651
- Z(pt, {
652
- dataset: q.value,
653
- config: Re.value,
656
+ ["function"].includes(typeof e.value.style.chart.tooltip.customFormat) ? h("", !0) : (r(), n("div", Gt, [
657
+ Z(ft, {
658
+ dataset: H.value,
659
+ config: Ve.value,
654
660
  backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity
655
661
  }, null, 8, ["dataset", "config", "backgroundOpacity"])
656
662
  ])),
657
- m(t.$slots, "tooltip-after", R(M({ ...H.value })), void 0, !0)
663
+ m(t.$slots, "tooltip-after", M(R({ ...J.value })), void 0, !0)
658
664
  ]),
659
665
  _: 3
660
666
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "fontSize", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
661
- I.value ? (r(), w(yt, {
667
+ I.value ? (r(), _(kt, {
662
668
  key: 8,
663
669
  hideDetails: "",
664
670
  config: {
@@ -675,8 +681,8 @@ const Ct = ["id"], _t = ["xmlns", "viewBox"], wt = ["id"], $t = ["stop-color"],
675
681
  }
676
682
  }, {
677
683
  content: y(() => [
678
- (r(), w(gt, {
679
- key: `table_${se.value}`,
684
+ (r(), _(mt, {
685
+ key: `table_${ne.value}`,
680
686
  colNames: B.value.colNames,
681
687
  head: B.value.head,
682
688
  body: B.value.body,
@@ -685,19 +691,19 @@ const Ct = ["id"], _t = ["xmlns", "viewBox"], wt = ["id"], $t = ["stop-color"],
685
691
  onClose: a[2] || (a[2] = (o) => k.value.showTable = !1)
686
692
  }, {
687
693
  th: y(({ th: o }) => [
688
- we(V(o.name), 1)
694
+ Te(U(o.name), 1)
689
695
  ]),
690
696
  td: y(({ td: o }) => [
691
- we(V(o), 1)
697
+ Te(U(o), 1)
692
698
  ]),
693
699
  _: 1
694
700
  }, 8, ["colNames", "head", "body", "config", "title"]))
695
701
  ]),
696
702
  _: 1
697
- }, 8, ["config"])) : p("", !0)
698
- ], 14, Ct));
703
+ }, 8, ["config"])) : h("", !0)
704
+ ], 46, Pt));
699
705
  }
700
- }, oa = /* @__PURE__ */ kt(Et, [["__scopeId", "data-v-55dc5b4a"]]);
706
+ }, ua = /* @__PURE__ */ $t(Wt, [["__scopeId", "data-v-a0338c02"]]);
701
707
  export {
702
- oa as default
708
+ ua as default
703
709
  };