vue-data-ui 2.3.27 → 2.3.29

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 (183) hide show
  1. package/README.md +17 -1
  2. package/dist/{Arrow-HROOtfWV.cjs → Arrow-B8z06v67.cjs} +1 -1
  3. package/dist/{Arrow-O38M_J_k.js → Arrow-Bh7WeO_g.js} +1 -1
  4. package/dist/{BaseIcon-D8FXGup9.js → BaseIcon-BG_bJS3R.js} +1 -1
  5. package/dist/{BaseIcon-CiO8gP9x.cjs → BaseIcon-DDCJA3rm.cjs} +1 -1
  6. package/dist/{DataTable-EqeVt-K-.js → DataTable-CsPidn0_.js} +23 -20
  7. package/dist/DataTable-Doh_4M84.cjs +1 -0
  8. package/dist/{Legend-C_lBCmBu.cjs → Legend-B20rRwGi.cjs} +1 -1
  9. package/dist/{Legend-8eVERYMn.js → Legend-CkQ_zypV.js} +1 -1
  10. package/dist/{Shape-DvcgW6uK.js → Shape-B4gGeBLI.js} +1 -1
  11. package/dist/{Shape-D8RdmYWq.cjs → Shape-B8O8_E6l.cjs} +1 -1
  12. package/dist/{Slicer-BvYL7yVK.cjs → Slicer-BXveU40S.cjs} +1 -1
  13. package/dist/{Slicer-CH_5wnFM.js → Slicer-DaEfxscP.js} +1 -1
  14. package/dist/{Title-B9iq63n1.cjs → Title-BU6E8Xld.cjs} +1 -1
  15. package/dist/{Title-C3Ez1ceq.js → Title-eBTH8iGJ.js} +1 -1
  16. package/dist/{Tooltip-7SRMoiu-.js → Tooltip-B11OahTD.js} +1 -1
  17. package/dist/{Tooltip-DcDEanxk.cjs → Tooltip-Oicp_EIo.cjs} +1 -1
  18. package/dist/documentation/installation.md +1 -1
  19. package/dist/{index-DiWO-_ca.js → index-BlXzlBwZ.js} +447 -364
  20. package/dist/index-hKWfT7Wa.cjs +4 -0
  21. package/dist/style.css +1 -1
  22. package/dist/types/vue-data-ui.d.cts +66 -0
  23. package/dist/types/vue-data-ui.d.ts +66 -0
  24. package/dist/{useNestedProp-DNX5EefQ.js → useNestedProp-BoNl5H_z.js} +1 -1
  25. package/dist/{useNestedProp-BtqgWTf9.cjs → useNestedProp-Cggpoz7e.cjs} +1 -1
  26. package/dist/{usePrinter-BD40aUzH.js → usePrinter-CZ8F5Cth.js} +1 -1
  27. package/dist/{usePrinter-Q1J--baX.cjs → usePrinter-DoYKBzst.cjs} +1 -1
  28. package/dist/{vue-data-ui-GHpxkf8a.js → vue-data-ui-BOqzG_nZ.js} +57 -57
  29. package/dist/{vue-data-ui-yd5q4Ura.cjs → vue-data-ui-CGgiWEo3.cjs} +1 -1
  30. package/dist/vue-data-ui.cjs +1 -1
  31. package/dist/vue-data-ui.js +6 -6
  32. package/dist/{vue-ui-3d-bar-CAmoj5dT.js → vue-ui-3d-bar-CjnVg4YI.js} +342 -294
  33. package/dist/vue-ui-3d-bar-CpntMt7p.cjs +19 -0
  34. package/dist/{vue-ui-accordion-ogVvFfQy.cjs → vue-ui-accordion-CTYvdLLH.cjs} +1 -1
  35. package/dist/{vue-ui-accordion-CiNdgRO9.js → vue-ui-accordion-wHRG3nXl.js} +3 -3
  36. package/dist/vue-ui-age-pyramid-DDiL1Zje.cjs +1 -0
  37. package/dist/{vue-ui-age-pyramid-BrTpbEha.js → vue-ui-age-pyramid-vmCwgRy9.js} +258 -219
  38. package/dist/{vue-ui-annotator-B9IqZ-Hy.js → vue-ui-annotator-9FGJdNLY.js} +1 -1
  39. package/dist/{vue-ui-annotator-QbetAXoj.cjs → vue-ui-annotator-DQ3wKf9n.cjs} +1 -1
  40. package/dist/{vue-ui-candlestick-BvRwlc3d.cjs → vue-ui-candlestick-6joQ9JKQ.cjs} +1 -1
  41. package/dist/{vue-ui-candlestick-XjjwFaDO.js → vue-ui-candlestick-DpMr2r0i.js} +9 -9
  42. package/dist/{vue-ui-carousel-table-DtxcnSEp.cjs → vue-ui-carousel-table-BV0EOLqU.cjs} +1 -1
  43. package/dist/{vue-ui-carousel-table-KYENY5gp.js → vue-ui-carousel-table-CgR4ADOz.js} +4 -4
  44. package/dist/{vue-ui-chestnut-DfIcguJd.js → vue-ui-chestnut-Ca2878kV.js} +439 -347
  45. package/dist/vue-ui-chestnut-CxoCcw_B.cjs +6 -0
  46. package/dist/{vue-ui-cursor-C4pJe90O.js → vue-ui-cursor-BW8C6oUc.js} +2 -2
  47. package/dist/{vue-ui-cursor-COS_MXr8.cjs → vue-ui-cursor-DxF_gXQf.cjs} +1 -1
  48. package/dist/{vue-ui-dashboard-DNOjWStr.cjs → vue-ui-dashboard-BGrVyITN.cjs} +1 -1
  49. package/dist/{vue-ui-dashboard-B_NUnxEF.js → vue-ui-dashboard-DN4nErBZ.js} +2 -2
  50. package/dist/{vue-ui-digits-uufqLbRt.js → vue-ui-digits-CmSFSs5S.js} +2 -2
  51. package/dist/{vue-ui-digits-Vx5prxaT.cjs → vue-ui-digits-CpSKBG2c.cjs} +1 -1
  52. package/dist/vue-ui-donut-BqfRwAIM.js +857 -0
  53. package/dist/vue-ui-donut-C29yXH3H.cjs +1 -0
  54. package/dist/vue-ui-donut-evolution-COFG73Xl.cjs +1 -0
  55. package/dist/vue-ui-donut-evolution-DIR7yBUC.js +839 -0
  56. package/dist/{vue-ui-dumbbell-z_Ck4W33.cjs → vue-ui-dumbbell-1NA60u3h.cjs} +2 -2
  57. package/dist/{vue-ui-dumbbell-KvrVLLw6.js → vue-ui-dumbbell-BASuPAvI.js} +202 -187
  58. package/dist/{vue-ui-flow-Dg4dkrcd.cjs → vue-ui-flow-DBK7d0DQ.cjs} +1 -1
  59. package/dist/{vue-ui-flow-BjMikE9b.js → vue-ui-flow-wq0aqc5r.js} +98 -93
  60. package/dist/vue-ui-galaxy-BgdVvk4N.cjs +1 -0
  61. package/dist/{vue-ui-galaxy-BdgveN18.js → vue-ui-galaxy-CFQ2hQAl.js} +180 -144
  62. package/dist/{vue-ui-gauge-D8pokfoA.cjs → vue-ui-gauge-C4_kEbgg.cjs} +1 -1
  63. package/dist/{vue-ui-gauge-D01FLnNz.js → vue-ui-gauge-CIN265dN.js} +158 -149
  64. package/dist/vue-ui-gizmo-BpT3iwC9.cjs +1 -0
  65. package/dist/{vue-ui-gizmo-Cp-EftjP.js → vue-ui-gizmo-DRXWEpqU.js} +63 -49
  66. package/dist/vue-ui-heatmap-CVD7FVfk.cjs +1 -0
  67. package/dist/vue-ui-heatmap-Dc0ft_Ga.js +644 -0
  68. package/dist/{vue-ui-kpi-D6rVKouk.js → vue-ui-kpi-DDL1TvBP.js} +19 -10
  69. package/dist/{vue-ui-kpi-PWurAGxE.cjs → vue-ui-kpi-WDZIt76s.cjs} +1 -1
  70. package/dist/{vue-ui-mini-loader-YV68i0nk.js → vue-ui-mini-loader-B2C5U55l.js} +2 -2
  71. package/dist/{vue-ui-mini-loader-BsypWozL.cjs → vue-ui-mini-loader-BcGSpUfg.cjs} +1 -1
  72. package/dist/{vue-ui-molecule-Bx3fXHnw.cjs → vue-ui-molecule-C5BmRi2R.cjs} +1 -1
  73. package/dist/{vue-ui-molecule-BWYCf3Km.js → vue-ui-molecule-CD3cPNOq.js} +9 -9
  74. package/dist/{vue-ui-mood-radar-DsZozq6x.js → vue-ui-mood-radar-D0KbeV5j.js} +213 -187
  75. package/dist/vue-ui-mood-radar-afS64zg-.cjs +1 -0
  76. package/dist/{vue-ui-nested-donuts-qaViBhR3.js → vue-ui-nested-donuts-BGoc1RFX.js} +295 -228
  77. package/dist/vue-ui-nested-donuts-D-TeyOtL.cjs +17 -0
  78. package/dist/{vue-ui-onion-0iFsjuLM.js → vue-ui-onion-B_khL0Kv.js} +230 -196
  79. package/dist/vue-ui-onion-CFdbWLu3.cjs +1 -0
  80. package/dist/{vue-ui-parallel-coordinate-plot-BkZOKTIS.cjs → vue-ui-parallel-coordinate-plot-BmXvVt8r.cjs} +2 -2
  81. package/dist/{vue-ui-parallel-coordinate-plot-DxDFs1Lb.js → vue-ui-parallel-coordinate-plot-CP4V0K8m.js} +87 -87
  82. package/dist/{vue-ui-quadrant-Tw7SKMbQ.js → vue-ui-quadrant-C1YbjeI7.js} +455 -397
  83. package/dist/vue-ui-quadrant-C6-A8Gx_.cjs +1 -0
  84. package/dist/vue-ui-quick-chart-ConXdEsU.cjs +15 -0
  85. package/dist/vue-ui-quick-chart-CtWhs_2c.js +1374 -0
  86. package/dist/{vue-ui-radar-D5FV2IDm.js → vue-ui-radar-B2vAPYa7.js} +237 -214
  87. package/dist/vue-ui-radar-DMJLLVWb.cjs +1 -0
  88. package/dist/{vue-ui-rating-DTWIh_CV.cjs → vue-ui-rating-DhZ0tltR.cjs} +1 -1
  89. package/dist/{vue-ui-rating-Dds9tjxd.js → vue-ui-rating-xGz4av68.js} +9 -9
  90. package/dist/{vue-ui-relation-circle-B2p8F7-L.js → vue-ui-relation-circle-BQK8wMQE.js} +5 -5
  91. package/dist/{vue-ui-relation-circle-Cu9lKkX3.cjs → vue-ui-relation-circle-hb4Q051h.cjs} +1 -1
  92. package/dist/vue-ui-rings-D1EW3d4M.cjs +2 -0
  93. package/dist/{vue-ui-rings-BKzCFSx-.js → vue-ui-rings-ZKjhNx5K.js} +191 -162
  94. package/dist/{vue-ui-scatter-CwV9l1P7.js → vue-ui-scatter-CHONk8k0.js} +437 -381
  95. package/dist/vue-ui-scatter-CMRe2b2K.cjs +1 -0
  96. package/dist/{vue-ui-screenshot-CnPWz57l.cjs → vue-ui-screenshot-DcKhT745.cjs} +1 -1
  97. package/dist/{vue-ui-screenshot-Bo6i-aRF.js → vue-ui-screenshot-DmGe5ptH.js} +6 -6
  98. package/dist/{vue-ui-skeleton-CeNL0kH-.js → vue-ui-skeleton-CJ2R5R6u.js} +37 -37
  99. package/dist/{vue-ui-skeleton-CcrGR_Vh.cjs → vue-ui-skeleton-j-IOiy5w.cjs} +1 -1
  100. package/dist/{vue-ui-smiley-BBcmwq4z.cjs → vue-ui-smiley-D5Jn6d5f.cjs} +1 -1
  101. package/dist/{vue-ui-smiley-BGMzw-SW.js → vue-ui-smiley-DXVcosKR.js} +2 -2
  102. package/dist/{vue-ui-spark-trend-DlvTlA9z.cjs → vue-ui-spark-trend-CWH3W7h3.cjs} +1 -1
  103. package/dist/{vue-ui-spark-trend-CSC9zmt7.js → vue-ui-spark-trend-Gg6TxR4m.js} +63 -58
  104. package/dist/vue-ui-sparkbar-BsoKTXr2.cjs +1 -0
  105. package/dist/vue-ui-sparkbar-DUx1qVzQ.js +280 -0
  106. package/dist/{vue-ui-sparkgauge-B5g5nxUh.cjs → vue-ui-sparkgauge-DPusPoRv.cjs} +1 -1
  107. package/dist/{vue-ui-sparkgauge-DJPt0cLe.js → vue-ui-sparkgauge-xrvp9g87.js} +60 -50
  108. package/dist/vue-ui-sparkhistogram---JRg2R1.cjs +1 -0
  109. package/dist/{vue-ui-sparkhistogram-DpvQcFls.js → vue-ui-sparkhistogram-DzYXMNj8.js} +99 -90
  110. package/dist/{vue-ui-sparkline-Bw3y-88R.cjs → vue-ui-sparkline-1Z6GnwoN.cjs} +1 -1
  111. package/dist/{vue-ui-sparkline-CDSg9rhl.js → vue-ui-sparkline-CGWePkVI.js} +114 -105
  112. package/dist/{vue-ui-sparkstackbar-Ckcir2dk.cjs → vue-ui-sparkstackbar-DCc68t8g.cjs} +1 -1
  113. package/dist/{vue-ui-sparkstackbar-DveNwcVx.js → vue-ui-sparkstackbar-DFgeRAbQ.js} +52 -47
  114. package/dist/{vue-ui-stackbar-CZUsUeZ_.js → vue-ui-stackbar-B0dWToaf.js} +211 -196
  115. package/dist/vue-ui-stackbar-Cz0mT8Mo.cjs +15 -0
  116. package/dist/{vue-ui-strip-plot-lVVqtsNc.js → vue-ui-strip-plot-BFqd-S7c.js} +213 -198
  117. package/dist/vue-ui-strip-plot-DZt1Wq20.cjs +1 -0
  118. package/dist/{vue-ui-table-qtBWpg0m.cjs → vue-ui-table-CMvyMuc4.cjs} +1 -1
  119. package/dist/{vue-ui-table-8hNkBy1z.js → vue-ui-table-DtwEoIzI.js} +9 -9
  120. package/dist/{vue-ui-table-heatmap-HgHQKSax.cjs → vue-ui-table-heatmap-3RSMOHkc.cjs} +1 -1
  121. package/dist/{vue-ui-table-heatmap-BAPA4nvf.js → vue-ui-table-heatmap-C8b3pE04.js} +12 -12
  122. package/dist/vue-ui-table-sparkline-BKOaVFtt.cjs +1 -0
  123. package/dist/vue-ui-table-sparkline-BrqhBv29.js +467 -0
  124. package/dist/vue-ui-thermometer-CKgIqM5y.cjs +1 -0
  125. package/dist/{vue-ui-thermometer-CcH1qmLq.js → vue-ui-thermometer-DMkLvJgE.js} +118 -108
  126. package/dist/{vue-ui-timer-C52mSn4m.cjs → vue-ui-timer-D7fvoR77.cjs} +1 -1
  127. package/dist/{vue-ui-timer-DJfYr02u.js → vue-ui-timer-RA9yfgBk.js} +8 -8
  128. package/dist/{vue-ui-tiremarks-CcLcd5oA.js → vue-ui-tiremarks-B_EncUi6.js} +79 -71
  129. package/dist/{vue-ui-tiremarks-dNuNMt_R.cjs → vue-ui-tiremarks-C7y6Mbxe.cjs} +1 -1
  130. package/dist/{vue-ui-treemap-BOz94BVK.js → vue-ui-treemap-BuGZgQsr.js} +274 -236
  131. package/dist/vue-ui-treemap-CfngjVUS.cjs +1 -0
  132. package/dist/vue-ui-vertical-bar-DKbq4bX4.cjs +4 -0
  133. package/dist/vue-ui-vertical-bar-T4bFd3JF.js +792 -0
  134. package/dist/vue-ui-waffle-BJFbhWnA.cjs +1 -0
  135. package/dist/vue-ui-waffle-CrxmrYsV.js +735 -0
  136. package/dist/{vue-ui-wheel-BVjbh4oM.cjs → vue-ui-wheel-BDRvKR1Z.cjs} +1 -1
  137. package/dist/{vue-ui-wheel-DMRiVkhu.js → vue-ui-wheel-DOyC7NgR.js} +73 -65
  138. package/dist/vue-ui-word-cloud-DBxVNlJ3.js +495 -0
  139. package/dist/vue-ui-word-cloud-Dmcelg3z.cjs +1 -0
  140. package/dist/{vue-ui-xy-CsFr8tix.js → vue-ui-xy-BIbvJSh2.js} +367 -288
  141. package/dist/vue-ui-xy-CVKaR90p.cjs +3 -0
  142. package/dist/vue-ui-xy-canvas-2AaNivzI.cjs +9 -0
  143. package/dist/{vue-ui-xy-canvas-Bb2Z3E-7.js → vue-ui-xy-canvas-CXVni3kC.js} +284 -259
  144. package/package.json +1 -1
  145. package/dist/DataTable-C6HTLT7L.cjs +0 -1
  146. package/dist/index-BQOxn6SH.cjs +0 -4
  147. package/dist/vue-ui-3d-bar-DkJ4c3HQ.cjs +0 -19
  148. package/dist/vue-ui-age-pyramid-CkKVbbl8.cjs +0 -1
  149. package/dist/vue-ui-chestnut-C7gFvKLJ.cjs +0 -6
  150. package/dist/vue-ui-donut-C33U3e8H.js +0 -751
  151. package/dist/vue-ui-donut-CeHnjIGu.cjs +0 -1
  152. package/dist/vue-ui-donut-evolution-IzfAVo5I.js +0 -805
  153. package/dist/vue-ui-donut-evolution-hHfvz1Yd.cjs +0 -1
  154. package/dist/vue-ui-galaxy-B8EoId23.cjs +0 -1
  155. package/dist/vue-ui-gizmo-8lKc8m8b.cjs +0 -1
  156. package/dist/vue-ui-heatmap-BEsvmj5R.js +0 -606
  157. package/dist/vue-ui-heatmap-DvpvKq3Q.cjs +0 -1
  158. package/dist/vue-ui-mood-radar-C6devC4e.cjs +0 -1
  159. package/dist/vue-ui-nested-donuts-BtT3VsSf.cjs +0 -16
  160. package/dist/vue-ui-onion-9ATTDUpw.cjs +0 -1
  161. package/dist/vue-ui-quadrant-DD4H_Dhk.cjs +0 -1
  162. package/dist/vue-ui-quick-chart-CpFHKtpm.js +0 -1318
  163. package/dist/vue-ui-quick-chart-D1udOl47.cjs +0 -13
  164. package/dist/vue-ui-radar-CZmJDj3q.cjs +0 -1
  165. package/dist/vue-ui-rings-DN7XmhKZ.cjs +0 -1
  166. package/dist/vue-ui-scatter-DJlC5mz4.cjs +0 -1
  167. package/dist/vue-ui-sparkbar-0CNZluKs.js +0 -257
  168. package/dist/vue-ui-sparkbar-Di-BPkJ0.cjs +0 -1
  169. package/dist/vue-ui-sparkhistogram-BhkYmR4U.cjs +0 -1
  170. package/dist/vue-ui-stackbar-jNWFgXiA.cjs +0 -15
  171. package/dist/vue-ui-strip-plot-CzHFNhr3.cjs +0 -1
  172. package/dist/vue-ui-table-sparkline-DZY_23mg.js +0 -420
  173. package/dist/vue-ui-table-sparkline-Q8y6tloS.cjs +0 -1
  174. package/dist/vue-ui-thermometer-Cbu9jVvC.cjs +0 -1
  175. package/dist/vue-ui-treemap-orjA7Y0U.cjs +0 -1
  176. package/dist/vue-ui-vertical-bar-BHIt5cjc.cjs +0 -4
  177. package/dist/vue-ui-vertical-bar-BquCm_UG.js +0 -745
  178. package/dist/vue-ui-waffle-CNlp7RTS.js +0 -650
  179. package/dist/vue-ui-waffle-Dv8pXiYm.cjs +0 -1
  180. package/dist/vue-ui-word-cloud-CHRE8f_k.js +0 -352
  181. package/dist/vue-ui-word-cloud-CZum_IjT.cjs +0 -1
  182. package/dist/vue-ui-xy-BOoG4xg8.cjs +0 -3
  183. package/dist/vue-ui-xy-canvas-BHa3-phi.cjs +0 -9
@@ -1,23 +1,23 @@
1
- import { computed as v, ref as i, onMounted as Ae, onBeforeUnmount as Se, openBlock as s, createElementBlock as n, normalizeClass as z, normalizeStyle as V, createVNode as E, createCommentVNode as y, createBlock as B, unref as p, createSlots as ze, withCtx as f, renderSlot as m, normalizeProps as D, guardReactiveProps as G, createElementVNode as w, Fragment as $, renderList as x, toDisplayString as L, createTextVNode as he, nextTick as Le } from "vue";
2
- import { u as Re, c as Me, t as Ue, a as Ve, p as P, o as Ee, e as N, b as Be, g as pe, d as ge, I as ye, f as fe, X as De, s as Ge, r as K, J as me, v as We, w as Xe, n as Ye, q as je } from "./index-DiWO-_ca.js";
3
- import { t as qe, u as He } from "./useResponsive-NZB-WLRF.js";
4
- import { _ as Je } from "./Title-C3Ez1ceq.js";
5
- import { u as Ke, U as Qe } from "./usePrinter-BD40aUzH.js";
6
- import { _ as Ze } from "./Tooltip-7SRMoiu-.js";
7
- import et from "./vue-ui-sparkbar-0CNZluKs.js";
8
- import { L as tt } from "./Legend-8eVERYMn.js";
9
- import { D as at } from "./DataTable-EqeVt-K-.js";
10
- import ot from "./vue-ui-skeleton-CeNL0kH-.js";
11
- import lt from "./vue-ui-accordion-CiNdgRO9.js";
12
- import { u as be } from "./useNestedProp-DNX5EefQ.js";
13
- import { _ as rt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
14
- const st = ["id"], nt = ["xmlns", "viewBox"], ut = ["id"], it = ["stop-color"], dt = ["stop-color"], ct = { key: 0 }, vt = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], ht = { key: 0 }, pt = ["d", "stroke", "stroke-width"], gt = ["d", "stroke", "stroke-width"], yt = { key: 1 }, ft = ["x", "y", "text-anchor", "font-size", "fill", "onMouseenter"], mt = ["points", "stroke", "stroke-width"], bt = ["points", "stroke", "stroke-width", "fill"], kt = { key: 2 }, Ct = ["cx", "cy", "fill", "r", "stroke"], _t = {
1
+ import { computed as v, ref as i, onMounted as Se, onBeforeUnmount as Le, openBlock as s, createElementBlock as n, normalizeClass as L, normalizeStyle as E, createVNode as B, createCommentVNode as f, createBlock as D, unref as h, createSlots as ze, withCtx as y, renderSlot as m, normalizeProps as G, guardReactiveProps as W, createElementVNode as w, Fragment as $, renderList as x, toDisplayString as z, createTextVNode as pe, nextTick as Re } from "vue";
2
+ import { u as Me, c as Ve, t as Ue, a as Ee, p as P, o as Be, e as F, b as De, g as ge, d as fe, J as ye, i as me, f as R, X as Ge, s as We, v as Q, K as be, w as Xe, x as Ye, q as je, r as qe } from "./index-BlXzlBwZ.js";
3
+ import { t as He, u as Je } from "./useResponsive-NZB-WLRF.js";
4
+ import { _ as Ke } from "./Title-eBTH8iGJ.js";
5
+ import { u as Qe, U as Ze } from "./usePrinter-CZ8F5Cth.js";
6
+ import { _ as et } from "./Tooltip-B11OahTD.js";
7
+ import tt from "./vue-ui-sparkbar-DUx1qVzQ.js";
8
+ import { L as at } from "./Legend-CkQ_zypV.js";
9
+ import { D as ot } from "./DataTable-CsPidn0_.js";
10
+ import lt from "./vue-ui-skeleton-CJ2R5R6u.js";
11
+ import rt from "./vue-ui-accordion-wHRG3nXl.js";
12
+ import { u as ke } from "./useNestedProp-BoNl5H_z.js";
13
+ import { _ as st } from "./_plugin-vue_export-helper-CHgC5LLL.js";
14
+ const nt = ["id"], ut = ["xmlns", "viewBox"], it = ["id"], ct = ["stop-color"], dt = ["stop-color"], vt = { key: 0 }, ht = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], pt = { key: 0 }, gt = ["d", "stroke", "stroke-width"], ft = ["d", "stroke", "stroke-width"], yt = { key: 1 }, mt = ["x", "y", "text-anchor", "font-size", "fill", "onMouseenter"], bt = ["points", "stroke", "stroke-width"], kt = ["points", "stroke", "stroke-width", "fill"], Ct = { key: 2 }, _t = ["cx", "cy", "fill", "r", "stroke"], wt = {
15
15
  key: 3,
16
16
  class: "vue-data-ui-watermark"
17
- }, wt = ["onClick"], $t = {
17
+ }, $t = ["onClick"], xt = {
18
18
  key: 0,
19
19
  style: { "max-width": "200px", margin: "0 auto" }
20
- }, xt = {
20
+ }, Pt = {
21
21
  __name: "vue-ui-radar",
22
22
  props: {
23
23
  config: {
@@ -34,48 +34,48 @@ const st = ["id"], nt = ["xmlns", "viewBox"], ut = ["id"], it = ["stop-color"],
34
34
  }
35
35
  },
36
36
  emits: ["selectLegend"],
37
- setup(ke, { expose: Ce, emit: _e }) {
38
- const h = ke, { vue_ui_radar: we } = Re(), I = v(() => !!h.dataset && Object.keys(h.dataset).length), _ = i(Me()), $e = i(null), W = i(!1), X = i(""), Q = i(0), O = i(null), Z = i(null), ee = i(null), e = v(() => {
39
- const t = be({
40
- userConfig: h.config,
41
- defaultConfig: we
37
+ setup(Ce, { expose: _e, emit: we }) {
38
+ const p = Ce, { vue_ui_radar: $e } = Me(), O = v(() => !!p.dataset && Object.keys(p.dataset).length), _ = i(Ve()), xe = i(null), X = i(!1), Y = i(""), Z = i(0), A = i(null), ee = i(null), te = i(null), e = v(() => {
39
+ const t = ke({
40
+ userConfig: p.config,
41
+ defaultConfig: $e
42
42
  });
43
43
  return t.theme ? {
44
- ...be({
45
- userConfig: Ue.vue_ui_radar[t.theme] || h.config,
44
+ ...ke({
45
+ userConfig: Ue.vue_ui_radar[t.theme] || p.config,
46
46
  defaultConfig: t
47
47
  }),
48
- customPalette: Ve[t.theme] || P
48
+ customPalette: Ee[t.theme] || P
49
49
  } : t;
50
- }), R = i(null);
51
- Ae(() => {
52
- if (Ee(h.dataset) && N({
50
+ }), M = i(null);
51
+ Se(() => {
52
+ if (Be(p.dataset) && F({
53
53
  componentName: "VueUiRadar",
54
54
  type: "dataset"
55
55
  }), e.value.responsive) {
56
- const t = qe(() => {
57
- const { width: a, height: o } = He({
58
- chart: O.value,
59
- title: e.value.style.chart.title.text ? Z.value : null,
60
- legend: e.value.style.chart.legend.show ? ee.value : null
56
+ const t = He(() => {
57
+ const { width: a, height: o } = Je({
58
+ chart: A.value,
59
+ title: e.value.style.chart.title.text ? ee.value : null,
60
+ legend: e.value.style.chart.legend.show ? te.value : null
61
61
  });
62
62
  u.value.width = a, u.value.height = o;
63
63
  });
64
- R.value = new ResizeObserver(t), R.value.observe(O.value.parentNode);
64
+ M.value = new ResizeObserver(t), M.value.observe(A.value.parentNode);
65
65
  }
66
- }), Se(() => {
67
- R.value && R.value.disconnect();
66
+ }), Le(() => {
67
+ M.value && M.value.disconnect();
68
68
  });
69
- const { isPrinting: te, isImaging: ae, generatePdf: oe, generateImage: le } = Ke({
69
+ const { isPrinting: ae, isImaging: oe, generatePdf: le, generateImage: re } = Qe({
70
70
  elementId: `vue-ui-radar_${_.value}`,
71
71
  fileName: e.value.style.chart.title.text || "vue-ui-radar"
72
- }), re = v(() => Be(e.value.customPalette)), k = i({
72
+ }), se = v(() => De(e.value.customPalette)), k = i({
73
73
  dataLabels: {
74
74
  show: e.value.style.chart.layout.labels.dataLabels.show
75
75
  },
76
76
  showTable: e.value.table.show,
77
77
  showTooltip: e.value.style.chart.tooltip.show
78
- }), xe = v(() => ({
78
+ }), Pe = v(() => ({
79
79
  style: {
80
80
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
81
81
  animation: {
@@ -96,55 +96,55 @@ const st = ["id"], nt = ["xmlns", "viewBox"], ut = ["id"], it = ["stop-color"],
96
96
  })), u = i({
97
97
  height: 312,
98
98
  width: 512
99
- }), d = i([]), A = i(null), T = i(!1);
100
- function se(t) {
101
- T.value = !0, d.value.includes(t) ? (A.value = t, d.value = d.value.filter((a) => a !== t), setTimeout(() => {
102
- T.value = !1, A.value = null;
103
- }, 500)) : (d.value.push(t), setTimeout(() => {
99
+ }), c = i([]), I = i(null), T = i(!1);
100
+ function ne(t) {
101
+ T.value = !0, c.value.includes(t) ? (I.value = t, c.value = c.value.filter((a) => a !== t), setTimeout(() => {
102
+ T.value = !1, I.value = null;
103
+ }, 500)) : (c.value.push(t), setTimeout(() => {
104
104
  T.value = !1;
105
- }, 500)), _e("selectLegend", F.value.filter((a, o) => !d.value.includes(o)).map((a) => ({
105
+ }, 500)), we("selectLegend", N.value.filter((a, o) => !c.value.includes(o)).map((a) => ({
106
106
  name: a.name,
107
107
  color: a.color,
108
108
  proportion: a.totalProportion
109
109
  })));
110
110
  }
111
- function Pe() {
112
- return F.value.map((t) => ({
111
+ function Te() {
112
+ return N.value.map((t) => ({
113
113
  name: t.name,
114
114
  color: t.color,
115
115
  proportion: t.totalProportion
116
116
  }));
117
117
  }
118
- const g = v(() => [null, void 0].includes(h.dataset.categories) ? (N({
118
+ const g = v(() => [null, void 0].includes(p.dataset.categories) ? (F({
119
119
  componentName: "VueUiRadar",
120
120
  type: "datasetAttribute",
121
121
  property: "categories ({ name: string; prefix?: string; suffix?: string}[])"
122
- }), []) : (h.dataset.categories.length === 0 ? N({
122
+ }), []) : (p.dataset.categories.length === 0 ? F({
123
123
  componentName: "VueUiRadar",
124
124
  type: "datasetAttributeEmpty",
125
125
  property: "categories"
126
- }) : h.dataset.categories.forEach((t, a) => {
127
- pe({
126
+ }) : p.dataset.categories.forEach((t, a) => {
127
+ ge({
128
128
  datasetObject: t,
129
129
  requiredAttributes: ["name"]
130
130
  }).forEach((o) => {
131
- N({
131
+ F({
132
132
  componentName: "VueUiRadar",
133
133
  type: "datasetAttribute",
134
134
  property: `category.${o} at index ${a}`,
135
135
  index: a
136
136
  });
137
137
  });
138
- }), [null, void 0].includes(h.dataset.series) ? N({
138
+ }), [null, void 0].includes(p.dataset.series) ? F({
139
139
  componentName: "VueUiRadar",
140
140
  type: "datasetAttribute",
141
141
  property: "series ({ name: string; values: number[]; color?: string; target: number}[])"
142
- }) : h.dataset.series.forEach((t, a) => {
143
- pe({
142
+ }) : p.dataset.series.forEach((t, a) => {
143
+ ge({
144
144
  datasetObject: t,
145
145
  requiredAttributes: ["name", "values", "target"]
146
146
  }).forEach((o) => {
147
- N({
147
+ F({
148
148
  componentName: "VueUiRadar",
149
149
  type: "datasetSerieAttribute",
150
150
  key: "series",
@@ -152,33 +152,34 @@ const st = ["id"], nt = ["xmlns", "viewBox"], ut = ["id"], it = ["stop-color"],
152
152
  index: a
153
153
  });
154
154
  });
155
- }), h.dataset.categories.map((t, a) => ({
155
+ }), p.dataset.categories.map((t, a) => ({
156
156
  name: t.name,
157
157
  categoryId: `radar_category_${_.value}_${a}`,
158
- color: ge(t.color) || re.value[a] || P[a] || P[a % P.length],
158
+ color: fe(t.color) || se.value[a] || P[a] || P[a % P.length],
159
159
  prefix: t.prefix ?? "",
160
160
  suffix: t.suffix ?? ""
161
- })))), b = v(() => I.value ? h.dataset.series.map((t, a) => ({
161
+ })))), b = v(() => O.value ? p.dataset.series.map((t, a) => ({
162
162
  ...t,
163
- color: ge(t.color) || re.value[a] || P[a] || P[a % P.length],
164
- serieId: `radar_serie_${_.value}_${a}`
165
- })) : []), ne = v(() => Math.max(...b.value.flatMap((t) => t.values))), ue = v(() => b.value.length), Y = v(() => Math.min(u.value.width, u.value.height) / 3), ie = v(() => ye({
163
+ color: fe(t.color) || se.value[a] || P[a] || P[a % P.length],
164
+ serieId: `radar_serie_${_.value}_${a}`,
165
+ formatter: t.formatter || null
166
+ })) : []), ue = v(() => Math.max(...b.value.flatMap((t) => t.values))), ie = v(() => b.value.length), j = v(() => Math.min(u.value.width, u.value.height) / 3), ce = v(() => ye({
166
167
  plot: { x: u.value.width / 2, y: u.value.height / 2 },
167
- radius: Y.value,
168
- sides: ue.value,
168
+ radius: j.value,
169
+ sides: ie.value,
169
170
  rotation: 0
170
- })), Te = v(() => {
171
+ })), Ne = v(() => {
171
172
  const t = [];
172
- for (let a = 0; a < Y.value; a += Y.value / e.value.style.chart.layout.grid.graduations)
173
+ for (let a = 0; a < j.value; a += j.value / e.value.style.chart.layout.grid.graduations)
173
174
  t.push(a);
174
175
  return t;
175
- }), C = v(() => ie.value.coordinates.map((t, a) => {
176
+ }), C = v(() => ce.value.coordinates.map((t, a) => {
176
177
  const o = b.value[a].values.map((l) => Fe({
177
178
  centerX: u.value.width / 2,
178
179
  centerY: u.value.height / 2,
179
180
  apexX: t.x,
180
181
  apexY: t.y,
181
- proportion: l / (b.value[a].target || ne.value)
182
+ proportion: l / (b.value[a].target || ue.value)
182
183
  }));
183
184
  return {
184
185
  ...t,
@@ -186,7 +187,7 @@ const st = ["id"], nt = ["xmlns", "viewBox"], ut = ["id"], it = ["stop-color"],
186
187
  plots: o
187
188
  };
188
189
  }));
189
- function j({ x: t, y: a }) {
190
+ function q({ x: t, y: a }) {
190
191
  let o = "middle";
191
192
  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 };
192
193
  }
@@ -196,32 +197,49 @@ const st = ["id"], nt = ["xmlns", "viewBox"], ut = ["id"], it = ["stop-color"],
196
197
  y: a + (l - a) * r
197
198
  };
198
199
  }
199
- const F = v(() => {
200
- const t = b.value.map((a, o) => a.values.map((l) => l / (a.target || ne.value)));
200
+ const N = v(() => {
201
+ const t = b.value.map((a, o) => a.values.map((l) => l / (a.target || ue.value)));
201
202
  return g.value.map((a, o) => ({
202
203
  ...a,
203
204
  totalProportion: t.map((l) => l[o]).reduce((l, r) => l + r, 0) / b.value.length,
204
205
  shape: "circle",
205
- opacity: d.value.includes(o) ? 0.5 : 1,
206
- segregate: () => se(o),
207
- isSegregated: d.value.includes(o)
206
+ opacity: c.value.includes(o) ? 0.5 : 1,
207
+ segregate: () => ne(o),
208
+ isSegregated: c.value.includes(o)
208
209
  }));
209
- }), Ne = v(() => ({
210
+ }), Oe = v(() => ({
210
211
  cy: "radar-div-legend",
211
212
  backgroundColor: e.value.style.chart.legend.backgroundColor,
212
213
  color: e.value.style.chart.legend.color,
213
214
  fontSize: e.value.style.chart.legend.fontSize,
214
215
  paddingBottom: 12,
215
216
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
216
- })), M = v(() => {
217
+ })), V = v(() => {
217
218
  const t = [
218
219
  { name: e.value.translations.datapoint, color: "" },
219
220
  { name: e.value.translations.target, color: "" },
220
- ...F.value
221
- ], a = h.dataset.series.map((l) => [
221
+ ...N.value
222
+ ], a = p.dataset.series.map((l) => [
222
223
  l.name,
223
- l.target,
224
- ...l.values.map((r, c) => `${fe({ p: g.value[c].prefix, v: r, s: g.value[c].suffix, r: e.value.table.td.roundingValue })} (${isNaN(r / l.target) ? "" : (r / l.target * 100).toFixed(e.value.table.td.roundingPercentage)}%)`)
224
+ me(
225
+ l.formatter,
226
+ l.target,
227
+ R({
228
+ p: l.prefix,
229
+ v: l.target,
230
+ s: l.suffix,
231
+ r: e.value.table.td.roundingValue
232
+ })
233
+ ),
234
+ ...l.values.map((r, d) => `${me(
235
+ l.formatter,
236
+ r,
237
+ R({ p: g.value[d].prefix, v: r, s: g.value[d].suffix, r: e.value.table.td.roundingValue })
238
+ )} (${isNaN(r / l.target) ? "" : R({
239
+ v: r / l.target * 100,
240
+ s: "%",
241
+ r: e.value.table.td.roundingPercentage
242
+ })})`)
225
243
  ]), o = {
226
244
  th: {
227
245
  backgroundColor: e.value.table.th.backgroundColor,
@@ -236,11 +254,11 @@ const st = ["id"], nt = ["xmlns", "viewBox"], ut = ["id"], it = ["stop-color"],
236
254
  breakpoint: e.value.table.responsiveBreakpoint
237
255
  };
238
256
  return { head: t, body: a, config: o, colNames: t };
239
- }), U = i(null), q = i([]), H = i(null);
240
- function Ie(t, a) {
241
- q.value = [], U.value = a, W.value = !0;
257
+ }), U = i(null), H = i([]), J = i(null);
258
+ function Ae(t, a) {
259
+ H.value = [], U.value = a, X.value = !0;
242
260
  let o = "";
243
- H.value = {
261
+ J.value = {
244
262
  datapoint: t,
245
263
  seriesIndex: a,
246
264
  series: {
@@ -251,13 +269,13 @@ const st = ["id"], nt = ["xmlns", "viewBox"], ut = ["id"], it = ["stop-color"],
251
269
  config: e.value
252
270
  };
253
271
  const l = e.value.style.chart.tooltip.customFormat;
254
- if (We(l) && Xe(() => l({
272
+ if (Xe(l) && Ye(() => l({
255
273
  seriesIndex: a,
256
274
  datapoint: t,
257
275
  series: { categories: g.value, datapoints: b.value, radar: C.value },
258
276
  config: e.value
259
277
  })))
260
- X.value = l({
278
+ Y.value = l({
261
279
  seriesIndex: a,
262
280
  datapoint: t,
263
281
  series: { categories: g.value, datapoints: b.value, radar: C.value },
@@ -266,57 +284,58 @@ const st = ["id"], nt = ["xmlns", "viewBox"], ut = ["id"], it = ["stop-color"],
266
284
  else {
267
285
  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>`;
268
286
  for (let r = 0; r < t.values.length; r += 1)
269
- d.value.includes(r) || q.value.push({
287
+ c.value.includes(r) || H.value.push({
270
288
  name: g.value[r].name,
271
289
  value: t.values[r] / t.target * 100,
272
290
  color: g.value[r].color,
273
291
  suffix: "%)",
274
- prefix: `${fe({ p: g.value[r].prefix ?? "", v: t.values[r], s: g.value[r].suffix ?? "", r: e.value.style.chart.tooltip.roundingValue })} (`,
275
- rounding: e.value.style.chart.tooltip.roundingPercentage
292
+ prefix: `${R({ p: g.value[r].prefix ?? "", v: t.values[r], s: g.value[r].suffix ?? "", r: e.value.style.chart.tooltip.roundingValue })} (`,
293
+ rounding: e.value.style.chart.tooltip.roundingPercentage,
294
+ formatter: t.formatter
276
295
  });
277
- X.value = o;
296
+ Y.value = o;
278
297
  }
279
298
  }
280
299
  function de() {
281
- Le(() => {
282
- const t = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], a = [[""], [e.value.translations.target], ...F.value.flatMap((c) => [[c.name], ["%"]])], o = h.dataset.series.map((c, Pt) => [c.name, c.target, ...c.values.flatMap((J) => [
283
- J,
284
- isNaN(J / c.target) ? "" : J / c.target * 100
285
- ])]), l = t.concat([a]).concat(o), r = Ye(l);
286
- je({ csvContent: r, title: e.value.style.chart.title.text || "vue-ui-radar" });
300
+ Re(() => {
301
+ 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 = p.dataset.series.map((d, Tt) => [d.name, d.target, ...d.values.flatMap((K) => [
302
+ K,
303
+ isNaN(K / d.target) ? "" : K / d.target * 100
304
+ ])]), l = t.concat([a]).concat(o), r = je(l);
305
+ qe({ csvContent: r, title: e.value.style.chart.title.text || "vue-ui-radar" });
287
306
  });
288
307
  }
289
308
  const S = i(!1);
290
- function Oe(t) {
291
- S.value = t, Q.value += 1;
309
+ function Ie(t) {
310
+ S.value = t, Z.value += 1;
292
311
  }
293
- function ce() {
312
+ function ve() {
294
313
  k.value.showTable = !k.value.showTable;
295
314
  }
296
- function ve() {
315
+ function he() {
297
316
  k.value.showTooltip = !k.value.showTooltip;
298
317
  }
299
- return Ce({
300
- getData: Pe,
301
- generatePdf: oe,
318
+ return _e({
319
+ getData: Te,
320
+ generatePdf: le,
302
321
  generateCsv: de,
303
- generateImage: le,
304
- toggleTable: ce,
305
- toggleTooltip: ve
322
+ generateImage: re,
323
+ toggleTable: ve,
324
+ toggleTooltip: he
306
325
  }), (t, a) => (s(), n("div", {
307
- class: z(`vue-ui-radar ${S.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
326
+ class: L(`vue-ui-radar ${S.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
308
327
  ref_key: "radarChart",
309
- ref: O,
328
+ ref: A,
310
329
  id: `vue-ui-radar_${_.value}`,
311
- style: V(`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}`)
330
+ style: E(`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}`)
312
331
  }, [
313
332
  e.value.style.chart.title.text ? (s(), n("div", {
314
333
  key: 0,
315
334
  ref_key: "chartTitle",
316
- ref: Z,
317
- style: V(`width:100%;background:${e.value.style.chart.backgroundColor};padding-bottom:12px`)
335
+ ref: ee,
336
+ style: E(`width:100%;background:${e.value.style.chart.backgroundColor};padding-bottom:12px`)
318
337
  }, [
319
- E(Je, {
338
+ B(Ke, {
320
339
  config: {
321
340
  title: {
322
341
  cy: "radar-div-title",
@@ -328,15 +347,15 @@ const st = ["id"], nt = ["xmlns", "viewBox"], ut = ["id"], it = ["stop-color"],
328
347
  }
329
348
  }
330
349
  }, null, 8, ["config"])
331
- ], 4)) : y("", !0),
332
- e.value.userOptions.show && I.value ? (s(), B(Qe, {
350
+ ], 4)) : f("", !0),
351
+ e.value.userOptions.show && O.value ? (s(), D(Ze, {
333
352
  ref_key: "details",
334
- ref: $e,
335
- key: `user_options_${Q.value}`,
353
+ ref: xe,
354
+ key: `user_options_${Z.value}`,
336
355
  backgroundColor: e.value.style.chart.backgroundColor,
337
356
  color: e.value.style.chart.color,
338
- isImaging: p(ae),
339
- isPrinting: p(te),
357
+ isImaging: h(oe),
358
+ isPrinting: h(ae),
340
359
  uid: _.value,
341
360
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
342
361
  hasPdf: e.value.userOptions.buttons.pdf,
@@ -347,63 +366,63 @@ const st = ["id"], nt = ["xmlns", "viewBox"], ut = ["id"], it = ["stop-color"],
347
366
  isFullscreen: S.value,
348
367
  isTooltip: k.value.showTooltip,
349
368
  titles: { ...e.value.userOptions.buttonTitles },
350
- chartElement: O.value,
351
- onToggleFullscreen: Oe,
352
- onGeneratePdf: p(oe),
369
+ chartElement: A.value,
370
+ onToggleFullscreen: Ie,
371
+ onGeneratePdf: h(le),
353
372
  onGenerateCsv: de,
354
- onGenerateImage: p(le),
355
- onToggleTable: ce,
356
- onToggleTooltip: ve
373
+ onGenerateImage: h(re),
374
+ onToggleTable: ve,
375
+ onToggleTooltip: he
357
376
  }, ze({ _: 2 }, [
358
377
  t.$slots.optionTooltip ? {
359
378
  name: "optionTooltip",
360
- fn: f(() => [
379
+ fn: y(() => [
361
380
  m(t.$slots, "optionTooltip", {}, void 0, !0)
362
381
  ]),
363
382
  key: "0"
364
383
  } : void 0,
365
384
  t.$slots.optionPdf ? {
366
385
  name: "optionPdf",
367
- fn: f(() => [
386
+ fn: y(() => [
368
387
  m(t.$slots, "optionPdf", {}, void 0, !0)
369
388
  ]),
370
389
  key: "1"
371
390
  } : void 0,
372
391
  t.$slots.optionCsv ? {
373
392
  name: "optionCsv",
374
- fn: f(() => [
393
+ fn: y(() => [
375
394
  m(t.$slots, "optionCsv", {}, void 0, !0)
376
395
  ]),
377
396
  key: "2"
378
397
  } : void 0,
379
398
  t.$slots.optionImg ? {
380
399
  name: "optionImg",
381
- fn: f(() => [
400
+ fn: y(() => [
382
401
  m(t.$slots, "optionImg", {}, void 0, !0)
383
402
  ]),
384
403
  key: "3"
385
404
  } : void 0,
386
405
  t.$slots.optionTable ? {
387
406
  name: "optionTable",
388
- fn: f(() => [
407
+ fn: y(() => [
389
408
  m(t.$slots, "optionTable", {}, void 0, !0)
390
409
  ]),
391
410
  key: "4"
392
411
  } : void 0,
393
412
  t.$slots.optionFullscreen ? {
394
413
  name: "optionFullscreen",
395
- fn: f(({ toggleFullscreen: o, isFullscreen: l }) => [
396
- m(t.$slots, "optionFullscreen", D(G({ toggleFullscreen: o, isFullscreen: l })), void 0, !0)
414
+ fn: y(({ toggleFullscreen: o, isFullscreen: l }) => [
415
+ m(t.$slots, "optionFullscreen", G(W({ toggleFullscreen: o, isFullscreen: l })), void 0, !0)
397
416
  ]),
398
417
  key: "5"
399
418
  } : void 0
400
- ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) : y("", !0),
401
- I.value ? (s(), n("svg", {
419
+ ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) : f("", !0),
420
+ O.value ? (s(), n("svg", {
402
421
  key: 2,
403
- xmlns: p(De),
404
- class: z({ "vue-data-ui-fullscreen--on": S.value, "vue-data-ui-fulscreen--off": !S.value }),
422
+ xmlns: h(Ge),
423
+ class: L({ "vue-data-ui-fullscreen--on": S.value, "vue-data-ui-fulscreen--off": !S.value }),
405
424
  viewBox: `0 0 ${u.value.width <= 0 ? 10 : u.value.width} ${u.value.height <= 0 ? 10 : u.value.height}`,
406
- style: V(`max-width:100%;overflow:visible;background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color}`)
425
+ style: E(`max-width:100%;overflow:visible;background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color}`)
407
426
  }, [
408
427
  w("defs", null, [
409
428
  (s(!0), n($, null, x(g.value, (o, l) => (s(), n("radialGradient", {
@@ -416,15 +435,15 @@ const st = ["id"], nt = ["xmlns", "viewBox"], ut = ["id"], it = ["stop-color"],
416
435
  }, [
417
436
  w("stop", {
418
437
  offset: "0%",
419
- "stop-color": `${p(Ge)(o.color, 0.05)}${p(K)[e.value.style.chart.layout.dataPolygon.opacity]}`
420
- }, null, 8, it),
438
+ "stop-color": `${h(We)(o.color, 0.05)}${h(Q)[e.value.style.chart.layout.dataPolygon.opacity]}`
439
+ }, null, 8, ct),
421
440
  w("stop", {
422
441
  offset: "100%",
423
- "stop-color": o.color + p(K)[e.value.style.chart.layout.dataPolygon.opacity]
442
+ "stop-color": o.color + h(Q)[e.value.style.chart.layout.dataPolygon.opacity]
424
443
  }, null, 8, dt)
425
- ], 8, ut))), 256))
444
+ ], 8, it))), 256))
426
445
  ]),
427
- e.value.style.chart.layout.grid.show ? (s(), n("g", ct, [
446
+ e.value.style.chart.layout.grid.show ? (s(), n("g", vt, [
428
447
  (s(!0), n($, null, x(C.value, (o) => (s(), n("line", {
429
448
  x1: u.value.width / 2,
430
449
  y1: u.value.height / 2,
@@ -432,83 +451,83 @@ const st = ["id"], nt = ["xmlns", "viewBox"], ut = ["id"], it = ["stop-color"],
432
451
  y2: o.y,
433
452
  stroke: e.value.style.chart.layout.grid.stroke,
434
453
  "stroke-width": e.value.style.chart.layout.grid.strokeWidth
435
- }, null, 8, vt))), 256)),
436
- e.value.style.chart.layout.grid.graduations > 0 ? (s(), n("g", ht, [
437
- (s(!0), n($, null, x(Te.value, (o) => (s(), n("path", {
438
- d: p(ye)({
454
+ }, null, 8, ht))), 256)),
455
+ e.value.style.chart.layout.grid.graduations > 0 ? (s(), n("g", pt, [
456
+ (s(!0), n($, null, x(Ne.value, (o) => (s(), n("path", {
457
+ d: h(ye)({
439
458
  plot: { x: u.value.width / 2, y: u.value.height / 2 },
440
459
  radius: o,
441
- sides: ue.value,
460
+ sides: ie.value,
442
461
  rotation: 0
443
462
  }).path,
444
463
  fill: "none",
445
464
  stroke: e.value.style.chart.layout.grid.stroke,
446
465
  "stroke-width": e.value.style.chart.layout.grid.strokeWidth
447
- }, null, 8, pt))), 256))
448
- ])) : y("", !0)
449
- ])) : y("", !0),
466
+ }, null, 8, gt))), 256))
467
+ ])) : f("", !0)
468
+ ])) : f("", !0),
450
469
  w("path", {
451
- d: ie.value.path,
470
+ d: ce.value.path,
452
471
  fill: "none",
453
472
  stroke: e.value.style.chart.layout.outerPolygon.stroke,
454
473
  "stroke-width": e.value.style.chart.layout.outerPolygon.strokeWidth,
455
474
  "stroke-linejoin": "round",
456
475
  "stroke-linecap": "round"
457
- }, null, 8, gt),
476
+ }, null, 8, ft),
458
477
  e.value.style.chart.layout.labels.dataLabels.show ? (s(), n("g", yt, [
459
478
  (s(!0), n($, null, x(C.value, (o, l) => (s(), n("text", {
460
- x: j(o).x,
461
- y: j(o).y,
462
- "text-anchor": j(o).anchor,
479
+ x: q(o).x,
480
+ y: q(o).y,
481
+ "text-anchor": q(o).anchor,
463
482
  "font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
464
483
  fill: e.value.style.chart.layout.labels.dataLabels.color,
465
- onMouseenter: (r) => Ie(o, l),
484
+ onMouseenter: (r) => Ae(o, l),
466
485
  onMouseleave: a[0] || (a[0] = (r) => {
467
- W.value = !1, U.value = null;
486
+ X.value = !1, U.value = null;
468
487
  })
469
- }, L(o.name), 41, ft))), 256))
470
- ])) : y("", !0),
488
+ }, z(o.name), 41, mt))), 256))
489
+ ])) : f("", !0),
471
490
  (s(!0), n($, null, x(g.value, (o, l) => (s(), n("g", null, [
472
491
  w("g", null, [
473
- e.value.useCssAnimation || !e.value.useCssAnimation && !d.value.includes(l) ? (s(), n("polygon", {
492
+ e.value.useCssAnimation || !e.value.useCssAnimation && !c.value.includes(l) ? (s(), n("polygon", {
474
493
  key: 0,
475
494
  "data-cy-radar-path": "",
476
- points: p(me)(C.value.map((r) => r.plots[l]), !1, !0),
495
+ points: h(be)(C.value.map((r) => r.plots[l]), !1, !0),
477
496
  stroke: e.value.style.chart.backgroundColor,
478
497
  "stroke-width": e.value.style.chart.layout.dataPolygon.strokeWidth + 1,
479
498
  fill: "none",
480
- class: z({ "animated-out": d.value.includes(l) && e.value.useCssAnimation, "animated-in": T.value && A.value === l && e.value.useCssAnimation })
481
- }, null, 10, mt)) : y("", !0),
482
- e.value.useCssAnimation || !e.value.useCssAnimation && !d.value.includes(l) ? (s(), n("polygon", {
499
+ class: L({ "animated-out": c.value.includes(l) && e.value.useCssAnimation, "animated-in": T.value && I.value === l && e.value.useCssAnimation })
500
+ }, null, 10, bt)) : f("", !0),
501
+ e.value.useCssAnimation || !e.value.useCssAnimation && !c.value.includes(l) ? (s(), n("polygon", {
483
502
  key: 1,
484
503
  "data-cy-radar-path": "",
485
- points: p(me)(C.value.map((r) => r.plots[l]), !1, !0),
504
+ points: h(be)(C.value.map((r) => r.plots[l]), !1, !0),
486
505
  stroke: o.color,
487
506
  "stroke-width": e.value.style.chart.layout.dataPolygon.strokeWidth,
488
- fill: e.value.style.chart.layout.dataPolygon.transparent ? "transparent" : e.value.style.chart.layout.dataPolygon.useGradient ? `url(#radar_gradient_${_.value}_${l})` : o.color + p(K)[e.value.style.chart.layout.dataPolygon.opacity],
489
- class: z({ "animated-out": d.value.includes(l) && e.value.useCssAnimation, "animated-in": T.value && A.value === l && e.value.useCssAnimation })
490
- }, null, 10, bt)) : y("", !0)
507
+ fill: e.value.style.chart.layout.dataPolygon.transparent ? "transparent" : e.value.style.chart.layout.dataPolygon.useGradient ? `url(#radar_gradient_${_.value}_${l})` : o.color + h(Q)[e.value.style.chart.layout.dataPolygon.opacity],
508
+ class: L({ "animated-out": c.value.includes(l) && e.value.useCssAnimation, "animated-in": T.value && I.value === l && e.value.useCssAnimation })
509
+ }, null, 10, kt)) : f("", !0)
491
510
  ])
492
511
  ]))), 256)),
493
- e.value.style.chart.layout.plots.show ? (s(), n("g", kt, [
512
+ e.value.style.chart.layout.plots.show ? (s(), n("g", Ct, [
494
513
  (s(!0), n($, null, x(C.value, (o, l) => (s(), n("g", null, [
495
- (s(!0), n($, null, x(o.plots, (r, c) => (s(), n("circle", {
514
+ (s(!0), n($, null, x(o.plots, (r, d) => (s(), n("circle", {
496
515
  cx: r.x,
497
516
  cy: r.y,
498
- fill: d.value.includes(c) ? "transparent" : g.value[c].color,
517
+ fill: c.value.includes(d) ? "transparent" : g.value[d].color,
499
518
  r: U.value !== null && U.value === l ? e.value.style.chart.layout.plots.radius * 1.6 : e.value.style.chart.layout.plots.radius,
500
- stroke: d.value.includes(c) ? "transparent" : e.value.style.chart.backgroundColor,
519
+ stroke: c.value.includes(d) ? "transparent" : e.value.style.chart.backgroundColor,
501
520
  "stroke-width": 0.5,
502
- class: z({ "animated-out": d.value.includes(c) && e.value.useCssAnimation, "animated-in": T.value && A.value === c && e.value.useCssAnimation })
503
- }, null, 10, Ct))), 256))
521
+ class: L({ "animated-out": c.value.includes(d) && e.value.useCssAnimation, "animated-in": T.value && I.value === d && e.value.useCssAnimation })
522
+ }, null, 10, _t))), 256))
504
523
  ]))), 256))
505
- ])) : y("", !0),
524
+ ])) : f("", !0),
506
525
  m(t.$slots, "svg", { svg: u.value }, void 0, !0)
507
- ], 14, nt)) : y("", !0),
508
- t.$slots.watermark ? (s(), n("div", _t, [
509
- m(t.$slots, "watermark", D(G({ isPrinting: p(te) || p(ae) })), void 0, !0)
510
- ])) : y("", !0),
511
- I.value ? y("", !0) : (s(), B(ot, {
526
+ ], 14, ut)) : f("", !0),
527
+ t.$slots.watermark ? (s(), n("div", wt, [
528
+ m(t.$slots, "watermark", G(W({ isPrinting: h(ae) || h(oe) })), void 0, !0)
529
+ ])) : f("", !0),
530
+ O.value ? f("", !0) : (s(), D(lt, {
512
531
  key: 4,
513
532
  config: {
514
533
  type: "radar",
@@ -527,29 +546,33 @@ const st = ["id"], nt = ["xmlns", "viewBox"], ut = ["id"], it = ["stop-color"],
527
546
  }, null, 8, ["config"])),
528
547
  w("div", {
529
548
  ref_key: "chartLegend",
530
- ref: ee
549
+ ref: te
531
550
  }, [
532
- e.value.style.chart.legend.show ? (s(), B(tt, {
551
+ e.value.style.chart.legend.show ? (s(), D(at, {
533
552
  key: 0,
534
- legendSet: F.value,
535
- config: Ne.value,
536
- onClickMarker: a[1] || (a[1] = ({ i: o }) => se(o))
553
+ legendSet: N.value,
554
+ config: Oe.value,
555
+ onClickMarker: a[1] || (a[1] = ({ i: o }) => ne(o))
537
556
  }, {
538
- item: f(({ legend: o, index: l }) => [
557
+ item: y(({ legend: o, index: l }) => [
539
558
  w("div", {
540
559
  "data-cy-legend-item": "",
541
560
  onClick: (r) => o.segregate(),
542
- style: V(`opacity:${d.value.includes(l) ? 0.5 : 1}`)
543
- }, L(o.name) + ": " + L((o.totalProportion * 100).toFixed(e.value.style.chart.legend.roundingPercentage)) + "% ", 13, wt)
561
+ style: E(`opacity:${c.value.includes(l) ? 0.5 : 1}`)
562
+ }, z(o.name) + ": " + z(h(R)({
563
+ v: o.totalProportion * 100,
564
+ s: "%",
565
+ r: e.value.style.chart.legend.roundingPercentage
566
+ })), 13, $t)
544
567
  ]),
545
568
  _: 1
546
569
  }, 8, ["legendSet", "config"])) : m(t.$slots, "legend", {
547
570
  key: 1,
548
- legend: F.value
571
+ legend: N.value
549
572
  }, void 0, !0)
550
573
  ], 512),
551
- E(Ze, {
552
- show: k.value.showTooltip && W.value,
574
+ B(et, {
575
+ show: k.value.showTooltip && X.value,
553
576
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
554
577
  color: e.value.style.chart.tooltip.color,
555
578
  borderRadius: e.value.style.chart.tooltip.borderRadius,
@@ -559,26 +582,26 @@ const st = ["id"], nt = ["xmlns", "viewBox"], ut = ["id"], it = ["stop-color"],
559
582
  fontSize: e.value.style.chart.tooltip.fontSize,
560
583
  position: e.value.style.chart.tooltip.position,
561
584
  offsetY: e.value.style.chart.tooltip.offsetY,
562
- parent: O.value,
563
- content: X.value,
585
+ parent: A.value,
586
+ content: Y.value,
564
587
  isCustom: e.value.style.chart.tooltip.customFormat && typeof e.value.style.chart.tooltip.customFormat == "function"
565
588
  }, {
566
- "tooltip-before": f(() => [
567
- m(t.$slots, "tooltip-before", D(G({ ...H.value })), void 0, !0)
589
+ "tooltip-before": y(() => [
590
+ m(t.$slots, "tooltip-before", G(W({ ...J.value })), void 0, !0)
568
591
  ]),
569
- "tooltip-after": f(() => [
570
- ["function"].includes(typeof e.value.style.chart.tooltip.customFormat) ? y("", !0) : (s(), n("div", $t, [
571
- E(et, {
572
- dataset: q.value,
573
- config: xe.value,
592
+ "tooltip-after": y(() => [
593
+ ["function"].includes(typeof e.value.style.chart.tooltip.customFormat) ? f("", !0) : (s(), n("div", xt, [
594
+ B(tt, {
595
+ dataset: H.value,
596
+ config: Pe.value,
574
597
  backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity
575
598
  }, null, 8, ["dataset", "config", "backgroundOpacity"])
576
599
  ])),
577
- m(t.$slots, "tooltip-after", D(G({ ...H.value })), void 0, !0)
600
+ m(t.$slots, "tooltip-after", G(W({ ...J.value })), void 0, !0)
578
601
  ]),
579
602
  _: 3
580
603
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "fontSize", "position", "offsetY", "parent", "content", "isCustom"]),
581
- I.value ? (s(), B(lt, {
604
+ O.value ? (s(), D(rt, {
582
605
  key: 5,
583
606
  hideDetails: "",
584
607
  config: {
@@ -594,29 +617,29 @@ const st = ["id"], nt = ["xmlns", "viewBox"], ut = ["id"], it = ["stop-color"],
594
617
  }
595
618
  }
596
619
  }, {
597
- content: f(() => [
598
- E(at, {
599
- colNames: M.value.colNames,
600
- head: M.value.head,
601
- body: M.value.body,
602
- config: M.value.config,
620
+ content: y(() => [
621
+ B(ot, {
622
+ colNames: V.value.colNames,
623
+ head: V.value.head,
624
+ body: V.value.body,
625
+ config: V.value.config,
603
626
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
604
627
  onClose: a[2] || (a[2] = (o) => k.value.showTable = !1)
605
628
  }, {
606
- th: f(({ th: o }) => [
607
- he(L(o.name), 1)
629
+ th: y(({ th: o }) => [
630
+ pe(z(o.name), 1)
608
631
  ]),
609
- td: f(({ td: o }) => [
610
- he(L(o), 1)
632
+ td: y(({ td: o }) => [
633
+ pe(z(o), 1)
611
634
  ]),
612
635
  _: 1
613
636
  }, 8, ["colNames", "head", "body", "config", "title"])
614
637
  ]),
615
638
  _: 1
616
- }, 8, ["config"])) : y("", !0)
617
- ], 14, st));
639
+ }, 8, ["config"])) : f("", !0)
640
+ ], 14, nt));
618
641
  }
619
- }, Et = /* @__PURE__ */ rt(xt, [["__scopeId", "data-v-cc811e3e"]]);
642
+ }, Bt = /* @__PURE__ */ st(Pt, [["__scopeId", "data-v-614f05d5"]]);
620
643
  export {
621
- Et as default
644
+ Bt as default
622
645
  };