vue-data-ui 2.3.84 → 2.3.85

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 (172) hide show
  1. package/dist/{Arrow-Uk_vwKtL.cjs → Arrow-CLOh6oi7.cjs} +1 -1
  2. package/dist/{Arrow-CQ1ubni5.js → Arrow-JwDgP3de.js} +1 -1
  3. package/dist/{BaseIcon-CF1HQdM0.cjs → BaseIcon-BBQHz_Sf.cjs} +1 -1
  4. package/dist/{BaseIcon-B9ZZ6wkT.js → BaseIcon-BysUnfCR.js} +1 -1
  5. package/dist/{DataTable-C-iU_7h7.js → DataTable-MkG5Dqrn.js} +2 -2
  6. package/dist/{DataTable-CEtr89Og.cjs → DataTable-pVXaNplZ.cjs} +1 -1
  7. package/dist/{Legend-pU_BwhaW.js → Legend-KW7sTwN3.js} +1 -1
  8. package/dist/{Legend-D2ZBCCXe.cjs → Legend-k2mcTp7z.cjs} +1 -1
  9. package/dist/{Shape-CyM44biU.js → Shape-BFiZBf3X.js} +1 -1
  10. package/dist/{Shape-BO_KyCq8.cjs → Shape-COoEWeGM.cjs} +1 -1
  11. package/dist/{Slicer-CZobytqL.js → Slicer-CALc-Q4W.js} +2 -2
  12. package/dist/{Slicer-BAMZ4wsl.cjs → Slicer-DCyxUSsn.cjs} +1 -1
  13. package/dist/{Title-B1_d29Eh.cjs → Title-BaKZYHEx.cjs} +1 -1
  14. package/dist/{Title-Bk3h09h9.js → Title-ISDbzCH8.js} +1 -1
  15. package/dist/{Tooltip-CdB80DsD.js → Tooltip-BHmMXOej.js} +1 -1
  16. package/dist/{Tooltip-BU4cSEF0.cjs → Tooltip-okAYzo5Y.cjs} +1 -1
  17. package/dist/{index-DI4DaxVG.js → index-BiuHBtkZ.js} +1 -1
  18. package/dist/{index-Cx-40Fnz.cjs → index-D-vy9N1v.cjs} +1 -1
  19. package/dist/style.css +1 -1
  20. package/dist/{useNestedProp-BdsfyHWU.cjs → useNestedProp-B9yDavuy.cjs} +1 -1
  21. package/dist/{useNestedProp-COsQo-tX.js → useNestedProp-Ck5_RzLu.js} +1 -1
  22. package/dist/{usePrinter-D9bNzUQP.js → usePrinter-Do8KiK5h.js} +1 -1
  23. package/dist/{usePrinter-DbhL59iY.cjs → usePrinter-P4nLcXX-.cjs} +1 -1
  24. package/dist/{vue-data-ui-9nofTL7J.js → vue-data-ui-CAl2KJv9.js} +57 -57
  25. package/dist/{vue-data-ui-kGaLyV0o.cjs → vue-data-ui-CVYCyzY-.cjs} +1 -1
  26. package/dist/vue-data-ui.cjs +1 -1
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/{vue-ui-3d-bar-lKgwKkVj.js → vue-ui-3d-bar-CploAEkY.js} +163 -163
  29. package/dist/vue-ui-3d-bar-DlUqKETN.cjs +19 -0
  30. package/dist/{vue-ui-accordion-DsN9lxvc.js → vue-ui-accordion-D2fhyKpk.js} +3 -3
  31. package/dist/{vue-ui-accordion-C8ka_Ot0.cjs → vue-ui-accordion-btKAUUTu.cjs} +1 -1
  32. package/dist/vue-ui-age-pyramid-CvSoQ1op.cjs +1 -0
  33. package/dist/{vue-ui-age-pyramid-D2lSXDX6.js → vue-ui-age-pyramid-DkaM5MrK.js} +55 -55
  34. package/dist/{vue-ui-annotator-DoLG0N5e.js → vue-ui-annotator-38FBI0Pn.js} +1 -1
  35. package/dist/{vue-ui-annotator-DmfAqbqB.cjs → vue-ui-annotator-BMYk78DR.cjs} +1 -1
  36. package/dist/vue-ui-candlestick-BJulnyV3.cjs +2 -0
  37. package/dist/{vue-ui-candlestick-vhHV9d6O.js → vue-ui-candlestick-CKsjq0Uw.js} +81 -81
  38. package/dist/{vue-ui-carousel-table-DaQV2SlJ.cjs → vue-ui-carousel-table-Cx72LlTd.cjs} +1 -1
  39. package/dist/{vue-ui-carousel-table-BmyArloA.js → vue-ui-carousel-table-DjGaEuM7.js} +4 -4
  40. package/dist/{vue-ui-chestnut-DvNW2Y0z.cjs → vue-ui-chestnut-DAiBfoPN.cjs} +2 -2
  41. package/dist/{vue-ui-chestnut-DgbbDtL0.js → vue-ui-chestnut-TLyh4dIZ.js} +9 -9
  42. package/dist/{vue-ui-cursor-7-jKCnOY.js → vue-ui-cursor-B1xa5yua.js} +2 -2
  43. package/dist/{vue-ui-cursor-zXDNHCZv.cjs → vue-ui-cursor-BunDuWpK.cjs} +1 -1
  44. package/dist/{vue-ui-dashboard-DMossMh1.cjs → vue-ui-dashboard-CMZ736DL.cjs} +1 -1
  45. package/dist/{vue-ui-dashboard-B_pnIQ5P.js → vue-ui-dashboard-DdcubzWu.js} +2 -2
  46. package/dist/{vue-ui-digits-C-lpZ-rg.js → vue-ui-digits-BUpjWWnD.js} +2 -2
  47. package/dist/{vue-ui-digits-BL8Vyod-.cjs → vue-ui-digits-z5g__gqs.cjs} +1 -1
  48. package/dist/vue-ui-donut-TY2Z9Ljx.cjs +1 -0
  49. package/dist/{vue-ui-donut-e-p-l-_7.js → vue-ui-donut-ZLpfm-XT.js} +73 -73
  50. package/dist/vue-ui-donut-evolution-BEm2dOxe.cjs +1 -0
  51. package/dist/{vue-ui-donut-evolution-Ol1YS2OF.js → vue-ui-donut-evolution-Bn4asQO3.js} +81 -81
  52. package/dist/{vue-ui-dumbbell-CMFNfda1.cjs → vue-ui-dumbbell-CY6X8J1K.cjs} +2 -2
  53. package/dist/{vue-ui-dumbbell-BjTXdj83.js → vue-ui-dumbbell-D2R9tJ99.js} +21 -21
  54. package/dist/{vue-ui-flow-B4mdXrld.js → vue-ui-flow-Dd5uPNTQ.js} +52 -52
  55. package/dist/vue-ui-flow-DswsuPwy.cjs +1 -0
  56. package/dist/{vue-ui-galaxy-Eg1e5SG7.js → vue-ui-galaxy-B7CoWLhj.js} +85 -85
  57. package/dist/vue-ui-galaxy-Dxy6jzus.cjs +1 -0
  58. package/dist/{vue-ui-gauge-BTt63SCn.js → vue-ui-gauge-CGh_m922.js} +61 -61
  59. package/dist/vue-ui-gauge-CWd_ol6u.cjs +1 -0
  60. package/dist/{vue-ui-gizmo-C0aF0qVF.js → vue-ui-gizmo-BY3hnKSH.js} +2 -2
  61. package/dist/{vue-ui-gizmo-bFlUFJa8.cjs → vue-ui-gizmo-D5Kn7w7L.cjs} +1 -1
  62. package/dist/vue-ui-heatmap-AUm42a1v.cjs +1 -0
  63. package/dist/{vue-ui-heatmap-kiVWYvjC.js → vue-ui-heatmap-yYN0u0I6.js} +150 -150
  64. package/dist/{vue-ui-kpi-DdtZLwfi.js → vue-ui-kpi-B4zr_geL.js} +3 -3
  65. package/dist/{vue-ui-kpi-qw5ofS-z.cjs → vue-ui-kpi-Q20yM3IP.cjs} +1 -1
  66. package/dist/{vue-ui-mini-loader-B8YrB3X-.cjs → vue-ui-mini-loader-GFSZofpE.cjs} +1 -1
  67. package/dist/{vue-ui-mini-loader-DcL5v-Tv.js → vue-ui-mini-loader-GImbaGsN.js} +2 -2
  68. package/dist/vue-ui-molecule-C9FcDH4x.cjs +1 -0
  69. package/dist/{vue-ui-molecule-BpomHzqe.js → vue-ui-molecule-DmrB3kgA.js} +54 -54
  70. package/dist/vue-ui-mood-radar-CRwStVTV.cjs +1 -0
  71. package/dist/{vue-ui-mood-radar-BV9xC9xF.js → vue-ui-mood-radar-sEkQtzI2.js} +100 -100
  72. package/dist/{vue-ui-nested-donuts-C3CMWjgk.cjs → vue-ui-nested-donuts-BcOgxtZV.cjs} +2 -2
  73. package/dist/{vue-ui-nested-donuts-D7D20nJu.js → vue-ui-nested-donuts-DvpZLcYd.js} +43 -43
  74. package/dist/vue-ui-onion-C9v9YjdJ.cjs +5 -0
  75. package/dist/{vue-ui-onion-4wR10l5H.js → vue-ui-onion-DQMLPe3M.js} +88 -88
  76. package/dist/vue-ui-parallel-coordinate-plot-BBuPdl2K.cjs +8 -0
  77. package/dist/{vue-ui-parallel-coordinate-plot-DA3byJV2.js → vue-ui-parallel-coordinate-plot-DN2LPNyS.js} +38 -38
  78. package/dist/{vue-ui-quadrant-D5wvd5h3.js → vue-ui-quadrant-D2GpeXI6.js} +49 -49
  79. package/dist/vue-ui-quadrant-ulY-rCMI.cjs +1 -0
  80. package/dist/{vue-ui-quick-chart-CTSq5JJE.js → vue-ui-quick-chart-C5K9DfUV.js} +12 -12
  81. package/dist/vue-ui-quick-chart-DFj17h6h.cjs +15 -0
  82. package/dist/{vue-ui-radar-OW6awckj.js → vue-ui-radar-B9TZPujK.js} +42 -42
  83. package/dist/vue-ui-radar-KA287Tp-.cjs +1 -0
  84. package/dist/{vue-ui-rating-C6gyJWJF.js → vue-ui-rating-B0pNsmGB.js} +2 -2
  85. package/dist/{vue-ui-rating-3ZVG38br.cjs → vue-ui-rating-DpxzUDQq.cjs} +1 -1
  86. package/dist/vue-ui-relation-circle-D3B-lpdM.cjs +1 -0
  87. package/dist/{vue-ui-relation-circle-Dr9-ozKG.js → vue-ui-relation-circle-DSnlpLHt.js} +54 -54
  88. package/dist/{vue-ui-rings-Ce6tFKrN.js → vue-ui-rings-BuvFDBXg.js} +77 -77
  89. package/dist/vue-ui-rings-cmeFVitd.cjs +2 -0
  90. package/dist/vue-ui-scatter-BWPqoSUN.cjs +1 -0
  91. package/dist/{vue-ui-scatter-C_3WQPMf.js → vue-ui-scatter-D_chvOSJ.js} +51 -51
  92. package/dist/{vue-ui-screenshot-D6N4GbAL.cjs → vue-ui-screenshot-CwrXLMru.cjs} +1 -1
  93. package/dist/{vue-ui-screenshot-BvE2dsvU.js → vue-ui-screenshot-DSHeHshf.js} +1 -1
  94. package/dist/{vue-ui-skeleton-CkSlhfsB.cjs → vue-ui-skeleton-DJhwv2oY.cjs} +1 -1
  95. package/dist/{vue-ui-skeleton-DH4t1hrL.js → vue-ui-skeleton-Du4zw-c1.js} +2 -2
  96. package/dist/{vue-ui-smiley-CSA28QLT.cjs → vue-ui-smiley-BNkk6suC.cjs} +1 -1
  97. package/dist/{vue-ui-smiley-C-92SyPZ.js → vue-ui-smiley-BtQLJ7rA.js} +2 -2
  98. package/dist/{vue-ui-spark-trend-CrElvUcG.js → vue-ui-spark-trend-BgA79g7a.js} +29 -29
  99. package/dist/vue-ui-spark-trend-DFIjxBTY.cjs +1 -0
  100. package/dist/vue-ui-sparkbar-BlwQfhlY.cjs +1 -0
  101. package/dist/{vue-ui-sparkbar-DrbkUcOX.js → vue-ui-sparkbar-DQAWZReF.js} +27 -27
  102. package/dist/vue-ui-sparkgauge-BCRSQDpt.cjs +1 -0
  103. package/dist/{vue-ui-sparkgauge-PSRf_u0V.js → vue-ui-sparkgauge-CCApU38s.js} +22 -22
  104. package/dist/vue-ui-sparkhistogram-CTxG1Vtn.cjs +1 -0
  105. package/dist/{vue-ui-sparkhistogram-pZslBri7.js → vue-ui-sparkhistogram-PKTt4EmH.js} +52 -52
  106. package/dist/{vue-ui-sparkline-CqgArzCs.cjs → vue-ui-sparkline-BUaixngQ.cjs} +1 -1
  107. package/dist/{vue-ui-sparkline-BPExupWx.js → vue-ui-sparkline-EESAiZyt.js} +3 -3
  108. package/dist/{vue-ui-sparkstackbar-i02y9FzO.js → vue-ui-sparkstackbar-TnLNixdf.js} +6 -6
  109. package/dist/vue-ui-sparkstackbar-iQnc0zcO.cjs +1 -0
  110. package/dist/{vue-ui-stackbar-DfXxN_P3.js → vue-ui-stackbar-Ci04sup3.js} +62 -62
  111. package/dist/vue-ui-stackbar-Rrcyg4CC.cjs +6 -0
  112. package/dist/vue-ui-strip-plot-CowHumiU.cjs +1 -0
  113. package/dist/{vue-ui-strip-plot-BZ-we0b1.js → vue-ui-strip-plot-DbvW0BuF.js} +72 -72
  114. package/dist/{vue-ui-table-Dy26T2oy.cjs → vue-ui-table-328De4vk.cjs} +1 -1
  115. package/dist/{vue-ui-table-BqLbMTHt.js → vue-ui-table-CamkBCdL.js} +1 -1
  116. package/dist/{vue-ui-table-heatmap-BnwiB4id.cjs → vue-ui-table-heatmap-CCHre3Gt.cjs} +1 -1
  117. package/dist/{vue-ui-table-heatmap-KzoqT8nX.js → vue-ui-table-heatmap-D-YdrvGV.js} +4 -4
  118. package/dist/{vue-ui-table-sparkline-BBEsDDnN.cjs → vue-ui-table-sparkline-Cmg7wnQ0.cjs} +1 -1
  119. package/dist/{vue-ui-table-sparkline-BakiSjV4.js → vue-ui-table-sparkline-Dg2RKv6f.js} +5 -5
  120. package/dist/vue-ui-thermometer-BDeKErC9.cjs +1 -0
  121. package/dist/{vue-ui-thermometer-D7cgRJoy.js → vue-ui-thermometer-jWHbZTc2.js} +47 -47
  122. package/dist/{vue-ui-timer-r4VFny9D.js → vue-ui-timer-BPepr5eV.js} +4 -4
  123. package/dist/{vue-ui-timer-COLXZ1J1.cjs → vue-ui-timer-B_FyRAU7.cjs} +1 -1
  124. package/dist/vue-ui-tiremarks-CaJWlyz8.cjs +1 -0
  125. package/dist/{vue-ui-tiremarks-DNQpuz8A.js → vue-ui-tiremarks-DW8Q2IBl.js} +94 -94
  126. package/dist/{vue-ui-treemap-CsHaQjwu.cjs → vue-ui-treemap-B9GpvA0k.cjs} +1 -1
  127. package/dist/{vue-ui-treemap-CD5GoXrU.js → vue-ui-treemap-CWu43qLo.js} +12 -12
  128. package/dist/{vue-ui-vertical-bar-DRH98pOw.js → vue-ui-vertical-bar-CndASePh.js} +178 -178
  129. package/dist/vue-ui-vertical-bar-a_41JdIn.cjs +4 -0
  130. package/dist/{vue-ui-waffle-l9NGD_0B.js → vue-ui-waffle-CdyqwJwN.js} +71 -71
  131. package/dist/vue-ui-waffle-c9ycdoKz.cjs +1 -0
  132. package/dist/vue-ui-wheel-B3BMfKmd.cjs +1 -0
  133. package/dist/{vue-ui-wheel-BpqWo_KY.js → vue-ui-wheel-Byq_BLhl.js} +57 -57
  134. package/dist/{vue-ui-word-cloud-DLaAm8t8.js → vue-ui-word-cloud-BRxN5uFD.js} +107 -107
  135. package/dist/{vue-ui-word-cloud-D5JLdr9g.cjs → vue-ui-word-cloud-BVOcsuMP.cjs} +1 -1
  136. package/dist/vue-ui-xy-CsS5ny0q.cjs +3 -0
  137. package/dist/{vue-ui-xy-Ct-9OxiZ.js → vue-ui-xy-DgEdZz0O.js} +356 -361
  138. package/dist/{vue-ui-xy-canvas-BU3nj2M1.js → vue-ui-xy-canvas-BI7jUOTn.js} +10 -10
  139. package/dist/{vue-ui-xy-canvas-Bub1qCm9.cjs → vue-ui-xy-canvas-Td0WNYN0.cjs} +1 -1
  140. package/package.json +1 -1
  141. package/dist/vue-ui-3d-bar-1aTroDle.cjs +0 -19
  142. package/dist/vue-ui-age-pyramid-D8Tr8jvT.cjs +0 -1
  143. package/dist/vue-ui-candlestick-BAuWAMct.cjs +0 -2
  144. package/dist/vue-ui-donut-evolution-DsdzjA88.cjs +0 -1
  145. package/dist/vue-ui-donut-w1eqaTu0.cjs +0 -1
  146. package/dist/vue-ui-flow-oBnzNN4s.cjs +0 -1
  147. package/dist/vue-ui-galaxy-DgxKqf6u.cjs +0 -1
  148. package/dist/vue-ui-gauge-B64pcc54.cjs +0 -1
  149. package/dist/vue-ui-heatmap-cjY0mi4a.cjs +0 -1
  150. package/dist/vue-ui-molecule-B8cYtnHq.cjs +0 -1
  151. package/dist/vue-ui-mood-radar-BA2VVPO5.cjs +0 -1
  152. package/dist/vue-ui-onion-CVp0g8MP.cjs +0 -5
  153. package/dist/vue-ui-parallel-coordinate-plot-CmaHQR6-.cjs +0 -8
  154. package/dist/vue-ui-quadrant-B8ffMNIS.cjs +0 -1
  155. package/dist/vue-ui-quick-chart-hnVT9GKL.cjs +0 -15
  156. package/dist/vue-ui-radar-ySl7KzoX.cjs +0 -1
  157. package/dist/vue-ui-relation-circle-CMW26dvv.cjs +0 -1
  158. package/dist/vue-ui-rings-CR1t6iss.cjs +0 -2
  159. package/dist/vue-ui-scatter-CKtgbptk.cjs +0 -1
  160. package/dist/vue-ui-spark-trend-D4d4Mr24.cjs +0 -1
  161. package/dist/vue-ui-sparkbar-DDqy0UBm.cjs +0 -1
  162. package/dist/vue-ui-sparkgauge-D6cG2rb8.cjs +0 -1
  163. package/dist/vue-ui-sparkhistogram-B9sVdLfh.cjs +0 -1
  164. package/dist/vue-ui-sparkstackbar-BbGJ75_9.cjs +0 -1
  165. package/dist/vue-ui-stackbar-CRbcnnwn.cjs +0 -6
  166. package/dist/vue-ui-strip-plot-oZBXDxc-.cjs +0 -1
  167. package/dist/vue-ui-thermometer-E0mrvP4G.cjs +0 -1
  168. package/dist/vue-ui-tiremarks-C15sglnJ.cjs +0 -1
  169. package/dist/vue-ui-vertical-bar-DucujxOR.cjs +0 -4
  170. package/dist/vue-ui-waffle-DhroAZB3.cjs +0 -1
  171. package/dist/vue-ui-wheel-Bd87HcGT.cjs +0 -1
  172. package/dist/vue-ui-xy-BHzOpYm9.cjs +0 -3
@@ -1,20 +1,20 @@
1
- import { useCssVars as Se, computed as g, openBlock as r, createElementBlock as v, createVNode as Fe, renderSlot as f, createElementVNode as k, normalizeStyle as _, pushScopeId as Ne, popScopeId as _e, ref as c, watch as j, onMounted as Pe, onBeforeUnmount as Te, createBlock as A, createCommentVNode as N, unref as C, createSlots as ze, withCtx as m, normalizeProps as q, guardReactiveProps as H, normalizeClass as se, Fragment as Ie, renderList as Ae, toDisplayString as ne, createTextVNode as Oe, nextTick as re } from "vue";
2
- import { u as Me, Y as De, v as We, c as ue, t as Be, a as Ee, p as U, o as Re, e as ie, g as Ue, f as Ve, X as Ge, q as Le, r as Xe } from "./index-DI4DaxVG.js";
3
- import { _ as je } from "./Title-Bk3h09h9.js";
4
- import { u as qe, U as He } from "./usePrinter-D9bNzUQP.js";
1
+ import { useCssVars as Se, computed as g, openBlock as r, createElementBlock as v, createVNode as Fe, renderSlot as f, createElementVNode as w, normalizeStyle as H, pushScopeId as Ne, popScopeId as _e, ref as c, watch as X, onMounted as Pe, onBeforeUnmount as Te, createBlock as I, createCommentVNode as N, unref as C, createSlots as ze, withCtx as m, normalizeProps as j, guardReactiveProps as q, normalizeClass as se, Fragment as Ie, renderList as Ae, toDisplayString as ne, createTextVNode as Oe, nextTick as re } from "vue";
2
+ import { u as Me, Y as De, v as We, c as ue, t as Be, a as Ee, p as R, o as Re, e as ie, g as Ue, f as Ve, X as Ge, q as Le, r as Xe } from "./index-BiuHBtkZ.js";
3
+ import { _ as je } from "./Title-ISDbzCH8.js";
4
+ import { u as qe, U as He } from "./usePrinter-Do8KiK5h.js";
5
5
  import { d as Ye, t as Je, u as Ke } from "./useResponsive-NZB-WLRF.js";
6
- import Qe from "./vue-ui-accordion-DsN9lxvc.js";
7
- import { D as Ze } from "./DataTable-C-iU_7h7.js";
8
- import et from "./BaseIcon-B9ZZ6wkT.js";
6
+ import Qe from "./vue-ui-accordion-D2fhyKpk.js";
7
+ import { D as Ze } from "./DataTable-MkG5Dqrn.js";
8
+ import et from "./BaseIcon-BysUnfCR.js";
9
9
  import { _ as de } from "./_plugin-vue_export-helper-CHgC5LLL.js";
10
- import { u as ce } from "./useNestedProp-COsQo-tX.js";
10
+ import { u as ce } from "./useNestedProp-Ck5_RzLu.js";
11
11
  const tt = (u) => (Ne("data-v-3fd7d274"), u = u(), _e(), u), at = { "data-html2canvas-ignore": "" }, ot = {
12
12
  key: 0,
13
13
  class: "reset-wrapper"
14
14
  }, lt = {
15
15
  key: 1,
16
16
  class: "reset-wrapper"
17
- }, st = { class: "mono-slicer" }, nt = /* @__PURE__ */ tt(() => /* @__PURE__ */ k("div", { class: "slider-track" }, null, -1)), rt = ["min", "max", "value"], ut = {
17
+ }, st = { class: "mono-slicer" }, nt = /* @__PURE__ */ tt(() => /* @__PURE__ */ w("div", { class: "slider-track" }, null, -1)), rt = ["min", "max", "value"], ut = {
18
18
  __name: "MonoSlicer",
19
19
  props: {
20
20
  min: {
@@ -59,39 +59,39 @@ const tt = (u) => (Ne("data-v-3fd7d274"), u = u(), _e(), u), at = { "data-html2c
59
59
  }
60
60
  },
61
61
  emits: ["update:value", "reset"],
62
- setup(u, { emit: O }) {
62
+ setup(u, { emit: A }) {
63
63
  const s = u;
64
64
  Se((b) => ({
65
- "90ad3208": V.value,
66
- "4f9eef70": T.value,
67
- "6e07ae3e": P.value,
65
+ "90ad3208": U.value,
66
+ "4f9eef70": P.value,
67
+ "6e07ae3e": _.value,
68
68
  "2fd430a0": u.selectColor,
69
- "6b8169a4": w.value
69
+ "6b8169a4": k.value
70
70
  }));
71
- const V = g(() => s.inputColor), w = g(() => s.background), P = g(() => `${s.selectColor}33`), T = g(() => s.borderColor);
72
- function z() {
73
- O("reset");
71
+ const U = g(() => s.inputColor), k = g(() => s.background), _ = g(() => `${s.selectColor}33`), P = g(() => s.borderColor);
72
+ function T() {
73
+ A("reset");
74
74
  }
75
75
  const x = g(() => {
76
- const b = s.max - s.min, y = 0, $ = (s.value - s.min) / b * 100;
76
+ const b = s.max - s.min, p = 0, $ = (s.value - s.min) / b * 100;
77
77
  return {
78
- left: `${y}%`,
79
- width: `${$ - y}%`,
78
+ left: `${p}%`,
79
+ width: `${$ - p}%`,
80
80
  background: s.selectColor
81
81
  };
82
82
  });
83
- return (b, y) => (r(), v("div", at, [
83
+ return (b, p) => (r(), v("div", at, [
84
84
  u.value !== u.source ? (r(), v("div", ot, [
85
85
  u.useResetSlot ? f(b.$slots, "reset-action", {
86
86
  key: 1,
87
- reset: z
87
+ reset: T
88
88
  }, void 0, !0) : (r(), v("button", {
89
89
  key: 0,
90
90
  "data-cy-reset": "",
91
91
  tabindex: "0",
92
92
  role: "button",
93
93
  class: "vue-data-ui-refresh-button",
94
- onClick: z
94
+ onClick: T
95
95
  }, [
96
96
  Fe(et, {
97
97
  name: "refresh",
@@ -99,18 +99,18 @@ const tt = (u) => (Ne("data-v-3fd7d274"), u = u(), _e(), u), at = { "data-html2c
99
99
  }, null, 8, ["stroke"])
100
100
  ]))
101
101
  ])) : (r(), v("div", lt)),
102
- k("div", st, [
102
+ w("div", st, [
103
103
  nt,
104
- k("div", {
104
+ w("div", {
105
105
  class: "range-highlight",
106
- style: _(x.value)
106
+ style: H(x.value)
107
107
  }, null, 4),
108
- k("input", {
108
+ w("input", {
109
109
  type: "range",
110
110
  min: u.min,
111
111
  max: u.max,
112
112
  value: Number(u.value),
113
- onInput: y[0] || (y[0] = ($) => O("update:value", Number($.target.value)))
113
+ onInput: p[0] || (p[0] = ($) => A("update:value", Number($.target.value)))
114
114
  }, null, 40, rt)
115
115
  ])
116
116
  ]));
@@ -134,36 +134,36 @@ const tt = (u) => (Ne("data-v-3fd7d274"), u = u(), _e(), u), at = { "data-html2c
134
134
  }
135
135
  }
136
136
  },
137
- setup(u, { expose: O }) {
138
- const s = u, { vue_ui_word_cloud: V } = Me(), w = g({
137
+ setup(u, { expose: A }) {
138
+ const s = u, { vue_ui_word_cloud: U } = Me(), k = g({
139
139
  get() {
140
140
  return !!s.dataset && s.dataset.length;
141
141
  },
142
142
  set(t) {
143
143
  return t;
144
144
  }
145
- }), P = c(typeof s.dataset == "string" ? De(s.dataset) : s.dataset.map((t) => ({
145
+ }), _ = c(typeof s.dataset == "string" ? De(s.dataset) : s.dataset.map((t) => ({
146
146
  ...t,
147
147
  value: We(t.value)
148
- }))), T = c(ue()), z = c(0), x = c(null), b = c(null), y = c(0), $ = c(0), e = g({
148
+ }))), P = c(ue()), T = c(0), x = c(null), b = c(null), p = c(0), $ = c(0), e = g({
149
149
  get: () => Y(),
150
150
  set: (t) => t
151
151
  });
152
152
  function Y() {
153
153
  const t = ce({
154
154
  userConfig: s.config,
155
- defaultConfig: V
155
+ defaultConfig: U
156
156
  });
157
157
  return t.theme ? {
158
158
  ...ce({
159
159
  userConfig: Be.vue_ui_word_cloud[t.theme] || s.config,
160
160
  defaultConfig: t
161
161
  }),
162
- customPalette: Ee[t.theme] || U
162
+ customPalette: Ee[t.theme] || R
163
163
  } : t;
164
164
  }
165
- j(() => s.config, (t) => {
166
- e.value = Y(), K(), y.value += 1, $.value += 1, h.value = e.value.style.chart.width;
165
+ X(() => s.config, (t) => {
166
+ e.value = Y(), K(), p.value += 1, $.value += 1, h.value = e.value.style.chart.width;
167
167
  }, { deep: !0 });
168
168
  const J = c(null), h = c(e.value.style.chart.width), n = c({
169
169
  width: h.value,
@@ -176,18 +176,18 @@ const tt = (u) => (Ne("data-v-3fd7d274"), u = u(), _e(), u), at = { "data-html2c
176
176
  title: e.value.style.chart.title.text ? b.value : null,
177
177
  slicer: e.value.style.chart.zoom.show && J.value
178
178
  });
179
- n.value.width = t, n.value.height = o, re(G);
179
+ n.value.width = t, n.value.height = o, re(V);
180
180
  });
181
- j(() => h.value, () => {
181
+ X(() => h.value, () => {
182
182
  he();
183
183
  });
184
184
  const he = Ye(() => {
185
- n.value.width = Number(h.value), n.value.height = e.value.style.chart.height / e.value.style.chart.height * Number(h.value), G();
185
+ n.value.width = Number(h.value), n.value.height = e.value.style.chart.height / e.value.style.chart.height * Number(h.value), V();
186
186
  }, 10);
187
187
  function me() {
188
188
  h.value = e.value.style.chart.width;
189
189
  }
190
- const M = c(null);
190
+ const O = c(null);
191
191
  Pe(() => {
192
192
  K();
193
193
  });
@@ -195,27 +195,27 @@ const tt = (u) => (Ne("data-v-3fd7d274"), u = u(), _e(), u), at = { "data-html2c
195
195
  Re(s.dataset) ? ie({
196
196
  componentName: "VueUiWordCloud",
197
197
  type: "dataset"
198
- }) : P.value.forEach((t, o) => {
198
+ }) : _.value.forEach((t, o) => {
199
199
  Ue({
200
200
  datasetObject: t,
201
201
  requiredAttributes: ["name", "value"]
202
202
  }).forEach((a) => {
203
- w.value = !1, ie({
203
+ k.value = !1, ie({
204
204
  componentName: "VueUiWordCloud",
205
205
  type: "datasetSerieAttribute",
206
206
  property: a,
207
207
  index: o
208
208
  });
209
209
  });
210
- }), e.value.responsive && (M.value = new ResizeObserver(ve), M.value.observe(x.value.parentNode));
210
+ }), e.value.responsive && (O.value = new ResizeObserver(ve), O.value.observe(x.value.parentNode));
211
211
  }
212
212
  Te(() => {
213
- M.value && M.value.disconnect();
213
+ O.value && O.value.disconnect();
214
214
  });
215
215
  const { isPrinting: Q, isImaging: Z, generatePdf: ee, generateImage: te } = qe({
216
- elementId: `wordCloud_${T.value}`,
216
+ elementId: `wordCloud_${P.value}`,
217
217
  fileName: e.value.style.chart.title.text || "vue-ui-word-cloud"
218
- }), D = c({
218
+ }), M = c({
219
219
  showTable: e.value.table.show
220
220
  });
221
221
  function fe(t, o, a = "Arial") {
@@ -228,21 +228,21 @@ const tt = (u) => (Ne("data-v-3fd7d274"), u = u(), _e(), u), at = { "data-html2c
228
228
  function ge(t, o) {
229
229
  return t.x < o.x + o.width && t.x + t.width > o.x && t.y < o.y + o.height && t.y + t.height > o.y;
230
230
  }
231
- function ye(t, o, a) {
231
+ function pe(t, o, a) {
232
232
  const i = [], l = { x: -o / 2, y: -a / 2, width: o, height: a }, d = 0, S = 0;
233
233
  return t.forEach((F) => {
234
- let L = !1;
235
- for (let R = 0; R < Math.max(o, a) / 2 && !L; R += e.value.style.chart.words.packingWeight)
236
- for (let X = 0; X < 360 && !L; X += e.value.style.chart.words.packingWeight) {
237
- const le = X * Math.PI / 180, Ce = d + R * Math.cos(le) - F.width / 2, ke = S + R * Math.sin(le) - F.height / 2, p = { ...F, x: Ce, y: ke }, we = p.x >= l.x && p.y >= l.y && p.x + p.width <= l.x + l.width && p.y + p.height <= l.y + l.height, xe = i.some(($e) => ge(p, $e));
238
- we && !xe && (i.push(p), L = !0);
234
+ let G = !1;
235
+ for (let E = 0; E < Math.max(o, a) / 2 && !G; E += e.value.style.chart.words.packingWeight)
236
+ for (let L = 0; L < 360 && !G; L += e.value.style.chart.words.packingWeight) {
237
+ const le = L * Math.PI / 180, Ce = d + E * Math.cos(le) - F.width / 2, we = S + E * Math.sin(le) - F.height / 2, y = { ...F, x: Ce, y: we }, ke = y.x >= l.x && y.y >= l.y && y.x + y.width <= l.x + l.width && y.y + y.height <= l.y + l.height, xe = i.some(($e) => ge(y, $e));
238
+ ke && !xe && (i.push(y), G = !0);
239
239
  }
240
240
  }), i;
241
241
  }
242
- const I = c([]);
243
- j(() => s.dataset, G, { immediate: !0 });
244
- function G() {
245
- const t = P.value.map((l) => l.value), o = Math.max(...t), a = Math.min(...t), i = P.value.map((l, d) => {
242
+ const z = c([]);
243
+ X(() => s.dataset, V, { immediate: !0 });
244
+ function V() {
245
+ const t = _.value.map((l) => l.value), o = Math.max(...t), a = Math.min(...t), i = _.value.map((l, d) => {
246
246
  const S = (l.value - a) / (o - a) * (n.value.maxFontSize - n.value.minFontSize) + n.value.minFontSize, F = fe(l.name, S);
247
247
  return {
248
248
  ...l,
@@ -250,32 +250,32 @@ const tt = (u) => (Ne("data-v-3fd7d274"), u = u(), _e(), u), at = { "data-html2c
250
250
  fontSize: S,
251
251
  width: F.width,
252
252
  height: F.height,
253
- color: e.value.style.chart.words.usePalette ? e.value.customPalette[d] || e.value.customPalette[d % e.value.customPalette.length] || U[d] || U[d % U.length] : e.value.style.chart.words.color
253
+ color: e.value.style.chart.words.usePalette ? e.value.customPalette[d] || e.value.customPalette[d % e.value.customPalette.length] || R[d] || R[d % R.length] : e.value.style.chart.words.color
254
254
  };
255
255
  });
256
- I.value = ye(i, n.value.width, n.value.height).sort((l, d) => d.fontSize - l.fontSize);
256
+ z.value = pe(i, n.value.width, n.value.height).sort((l, d) => d.fontSize - l.fontSize);
257
257
  }
258
- const W = g(() => {
259
- const t = I.value.map((a) => ({
258
+ const D = g(() => {
259
+ const t = z.value.map((a) => ({
260
260
  name: a.name,
261
261
  color: a.color
262
- })), o = I.value.map((a) => a.value);
262
+ })), o = z.value.map((a) => a.value);
263
263
  return { head: t, body: o };
264
264
  });
265
265
  function ae() {
266
266
  re(() => {
267
- const t = W.value.head.map((i, l) => [[
267
+ const t = D.value.head.map((i, l) => [[
268
268
  i.name
269
- ], [W.value.body[l]]]), o = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], [e.value.table.columnNames.value]]].concat(t), a = Le(o);
269
+ ], [D.value.body[l]]]), o = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], [e.value.table.columnNames.value]]].concat(t), a = Le(o);
270
270
  Xe({ csvContent: a, title: e.value.style.chart.title.text || "vue-ui-word-cloud" });
271
271
  });
272
272
  }
273
- const B = g(() => {
273
+ const W = g(() => {
274
274
  const t = [
275
275
  e.value.table.columnNames.series,
276
276
  e.value.table.columnNames.value
277
- ], o = W.value.head.map((l, d) => {
278
- const S = Ve({ p: e.value.table.td.prefix, v: W.value.body[d], s: e.value.table.td.suffix, r: e.value.table.td.roundingValue });
277
+ ], o = D.value.head.map((l, d) => {
278
+ const S = Ve({ p: e.value.table.td.prefix, v: D.value.body[d], s: e.value.table.td.suffix, r: e.value.table.td.roundingValue });
279
279
  return [
280
280
  {
281
281
  color: l.color,
@@ -305,17 +305,17 @@ const tt = (u) => (Ne("data-v-3fd7d274"), u = u(), _e(), u), at = { "data-html2c
305
305
  body: o,
306
306
  config: a
307
307
  };
308
- }), E = c(!1);
309
- function pe(t) {
310
- E.value = t, z.value += 1;
308
+ }), B = c(!1);
309
+ function ye(t) {
310
+ B.value = t, T.value += 1;
311
311
  }
312
312
  function be() {
313
- return I.value;
313
+ return z.value;
314
314
  }
315
315
  function oe() {
316
- D.value.showTable = !D.value.showTable;
316
+ M.value.showTable = !M.value.showTable;
317
317
  }
318
- return O({
318
+ return A({
319
319
  getData: be,
320
320
  generateCsv: ae,
321
321
  generatePdf: ee,
@@ -325,17 +325,17 @@ const tt = (u) => (Ne("data-v-3fd7d274"), u = u(), _e(), u), at = { "data-html2c
325
325
  class: "vue-ui-word-cloud",
326
326
  ref_key: "wordCloudChart",
327
327
  ref: x,
328
- id: `wordCloud_${T.value}`,
329
- style: _(`width: 100%; font-family:${e.value.style.fontFamily};background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height:100%" : ""}`)
328
+ id: `wordCloud_${P.value}`,
329
+ style: H(`width: 100%; font-family:${e.value.style.fontFamily};background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height:100%" : ""}`)
330
330
  }, [
331
331
  e.value.style.chart.title.text ? (r(), v("div", {
332
332
  key: 0,
333
333
  ref_key: "chartTitle",
334
334
  ref: b,
335
- style: _(`width:100%;background:${e.value.style.chart.backgroundColor};padding-bottom:24px`)
335
+ style: "width:100%;background:transparent;padding-bottom:24px"
336
336
  }, [
337
- (r(), A(je, {
338
- key: `title_${y.value}`,
337
+ (r(), I(je, {
338
+ key: `title_${p.value}`,
339
339
  config: {
340
340
  title: {
341
341
  ...e.value.style.chart.title
@@ -345,24 +345,24 @@ const tt = (u) => (Ne("data-v-3fd7d274"), u = u(), _e(), u), at = { "data-html2c
345
345
  }
346
346
  }
347
347
  }, null, 8, ["config"]))
348
- ], 4)) : N("", !0),
349
- e.value.userOptions.show && w.value ? (r(), A(He, {
348
+ ], 512)) : N("", !0),
349
+ e.value.userOptions.show && k.value ? (r(), I(He, {
350
350
  ref: "details",
351
- key: `user_option_${z.value}`,
351
+ key: `user_option_${T.value}`,
352
352
  backgroundColor: e.value.style.chart.backgroundColor,
353
353
  color: e.value.style.chart.color,
354
354
  isPrinting: C(Q),
355
355
  isImaging: C(Z),
356
- uid: T.value,
356
+ uid: P.value,
357
357
  hasPdf: e.value.userOptions.buttons.pdf,
358
358
  hasXls: e.value.userOptions.buttons.csv,
359
359
  hasImg: e.value.userOptions.buttons.img,
360
360
  hasTable: e.value.userOptions.buttons.table,
361
361
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
362
- isFullscreen: E.value,
362
+ isFullscreen: B.value,
363
363
  titles: { ...e.value.userOptions.buttonTitles },
364
364
  chartElement: x.value,
365
- onToggleFullscreen: pe,
365
+ onToggleFullscreen: ye,
366
366
  onGeneratePdf: C(ee),
367
367
  onGenerateCsv: ae,
368
368
  onGenerateImage: C(te),
@@ -399,22 +399,22 @@ const tt = (u) => (Ne("data-v-3fd7d274"), u = u(), _e(), u), at = { "data-html2c
399
399
  t.$slots.optionFullscreen ? {
400
400
  name: "optionFullscreen",
401
401
  fn: m(({ toggleFullscreen: a, isFullscreen: i }) => [
402
- f(t.$slots, "optionFullscreen", q(H({ toggleFullscreen: a, isFullscreen: i })), void 0, !0)
402
+ f(t.$slots, "optionFullscreen", j(q({ toggleFullscreen: a, isFullscreen: i })), void 0, !0)
403
403
  ]),
404
404
  key: "4"
405
405
  } : void 0
406
406
  ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) : N("", !0),
407
- w.value ? (r(), v("svg", {
407
+ k.value ? (r(), v("svg", {
408
408
  key: 2,
409
- class: se({ "vue-data-ui-fullscreen--on": E.value, "vue-data-ui-fulscreen--off": !E.value }),
409
+ class: se({ "vue-data-ui-fullscreen--on": B.value, "vue-data-ui-fulscreen--off": !B.value }),
410
410
  xmlns: C(Ge),
411
411
  viewBox: `0 0 ${n.value.width <= 0 ? 10 : n.value.width} ${n.value.height <= 0 ? 10 : n.value.height}`,
412
- style: _(`overflow:visible;background:${e.value.style.chart.backgroundColor};`)
412
+ style: "overflow:visible;background:transparent;"
413
413
  }, [
414
- k("g", {
414
+ w("g", {
415
415
  transform: `translate(${(n.value.width <= 0 ? 10 : n.value.width) / 2}, ${(n.value.height <= 0 ? 10 : n.value.height) / 2})`
416
416
  }, [
417
- (r(!0), v(Ie, null, Ae(I.value, (a, i) => (r(), v("g", null, [
417
+ (r(!0), v(Ie, null, Ae(z.value, (a, i) => (r(), v("g", null, [
418
418
  (r(), v("text", {
419
419
  fill: a.color,
420
420
  "font-weight": e.value.style.chart.words.bold ? "bold" : "normal",
@@ -423,7 +423,7 @@ const tt = (u) => (Ne("data-v-3fd7d274"), u = u(), _e(), u), at = { "data-html2c
423
423
  y: a.y,
424
424
  "font-size": a.fontSize,
425
425
  transform: `translate(${a.width / 2}, ${a.height / 2})`,
426
- style: _(`animation-delay:${i * e.value.animationDelayMs}ms !important`),
426
+ style: H(`animation-delay:${i * e.value.animationDelayMs}ms !important`),
427
427
  class: se({ animated: e.value.useCssAnimation }),
428
428
  "text-anchor": "middle",
429
429
  "dominant-baseline": "middle"
@@ -433,17 +433,17 @@ const tt = (u) => (Ne("data-v-3fd7d274"), u = u(), _e(), u), at = { "data-html2c
433
433
  f(t.$slots, "svg", {
434
434
  svg: { height: n.value.height, width: n.value.width }
435
435
  }, void 0, !0)
436
- ], 14, dt)) : N("", !0),
436
+ ], 10, dt)) : N("", !0),
437
437
  t.$slots.watermark ? (r(), v("div", mt, [
438
- f(t.$slots, "watermark", q(H({ isPrinting: C(Q) || C(Z) })), void 0, !0)
438
+ f(t.$slots, "watermark", j(q({ isPrinting: C(Q) || C(Z) })), void 0, !0)
439
439
  ])) : N("", !0),
440
- k("div", {
440
+ w("div", {
441
441
  ref_key: "chartSlicer",
442
442
  ref: J,
443
- style: _(`width:100%;background:${e.value.style.chart.backgroundColor}`),
443
+ style: "width:100%;background:transparent",
444
444
  "data-html2canvas-ignore": ""
445
445
  }, [
446
- e.value.style.chart.zoom.show ? (r(), A(it, {
446
+ e.value.style.chart.zoom.show ? (r(), I(it, {
447
447
  key: 0,
448
448
  value: h.value,
449
449
  "onUpdate:value": o[0] || (o[0] = (a) => h.value = a),
@@ -459,16 +459,16 @@ const tt = (u) => (Ne("data-v-3fd7d274"), u = u(), _e(), u), at = { "data-html2c
459
459
  onReset: me
460
460
  }, {
461
461
  "reset-action": m(({ reset: a }) => [
462
- f(t.$slots, "reset-action", q(H({ reset: a })), void 0, !0)
462
+ f(t.$slots, "reset-action", j(q({ reset: a })), void 0, !0)
463
463
  ]),
464
464
  _: 3
465
465
  }, 8, ["value", "max", "textColor", "inputColor", "selectColor", "useResetSlot", "background", "borderColor", "source"])) : N("", !0)
466
- ], 4),
467
- w.value ? (r(), A(Qe, {
466
+ ], 512),
467
+ k.value ? (r(), I(Qe, {
468
468
  key: 4,
469
469
  hideDetails: "",
470
470
  config: {
471
- open: D.value.showTable,
471
+ open: M.value.showTable,
472
472
  maxHeight: 1e4,
473
473
  body: {
474
474
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -481,17 +481,17 @@ const tt = (u) => (Ne("data-v-3fd7d274"), u = u(), _e(), u), at = { "data-html2c
481
481
  }
482
482
  }, {
483
483
  content: m(() => [
484
- (r(), A(Ze, {
484
+ (r(), I(Ze, {
485
485
  key: `table_${$.value}`,
486
- colNames: B.value.colNames,
487
- head: B.value.head,
488
- body: B.value.body,
489
- config: B.value.config,
486
+ colNames: W.value.colNames,
487
+ head: W.value.head,
488
+ body: W.value.body,
489
+ config: W.value.config,
490
490
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
491
- onClose: o[1] || (o[1] = (a) => D.value.showTable = !1)
491
+ onClose: o[1] || (o[1] = (a) => M.value.showTable = !1)
492
492
  }, {
493
493
  th: m(({ th: a }) => [
494
- k("div", {
494
+ w("div", {
495
495
  innerHTML: a,
496
496
  style: { display: "flex", "align-items": "center" }
497
497
  }, null, 8, ft)
@@ -506,7 +506,7 @@ const tt = (u) => (Ne("data-v-3fd7d274"), u = u(), _e(), u), at = { "data-html2c
506
506
  }, 8, ["config"])) : N("", !0)
507
507
  ], 12, ct));
508
508
  }
509
- }, Nt = /* @__PURE__ */ de(gt, [["__scopeId", "data-v-c72337c3"]]);
509
+ }, Nt = /* @__PURE__ */ de(gt, [["__scopeId", "data-v-584c01f3"]]);
510
510
  export {
511
511
  Nt as default
512
512
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),u=require("./index-Cx-40Fnz.cjs"),ie=require("./Title-B1_d29Eh.cjs"),j=require("./usePrinter-DbhL59iY.cjs"),A=require("./useResponsive-B3TrDDIG.cjs"),ce=require("./vue-ui-accordion-C8ka_Ot0.cjs"),de=require("./DataTable-CEtr89Og.cjs"),ve=require("./BaseIcon-CF1HQdM0.cjs"),Y=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),H=require("./useNestedProp-BdsfyHWU.cjs"),he=i=>(e.pushScopeId("data-v-3fd7d274"),i=i(),e.popScopeId(),i),me={"data-html2canvas-ignore":""},fe={key:0,class:"reset-wrapper"},ge={key:1,class:"reset-wrapper"},pe={class:"mono-slicer"},ye=he(()=>e.createElementVNode("div",{class:"slider-track"},null,-1)),be=["min","max","value"],Ce={__name:"MonoSlicer",props:{min:{type:Number,default:0},max:{type:Number,default:0},inputColor:{type:String,default:"#1A1A1A"},background:{type:String,default:"#FFFFFF"},borderColor:{type:String,default:"#FFFFFF"},selectColor:{type:String,default:"#4A4A4A"},textColor:{type:String,default:"#1A1A1A"},useResetSlot:{type:Boolean,default:!1},value:{type:Number,default:0},source:{type:Number,default:0}},emits:["update:value","reset"],setup(i,{emit:$}){const r=i;e.useCssVars(f=>({"90ad3208":T.value,"4f9eef70":w.value,"6e07ae3e":k.value,"2fd430a0":i.selectColor,"6b8169a4":g.value}));const T=e.computed(()=>r.inputColor),g=e.computed(()=>r.background),k=e.computed(()=>`${r.selectColor}33`),w=e.computed(()=>r.borderColor);function x(){$("reset")}const p=e.computed(()=>{const f=r.max-r.min,h=0,y=(r.value-r.min)/f*100;return{left:`${h}%`,width:`${y-h}%`,background:r.selectColor}});return(f,h)=>(e.openBlock(),e.createElementBlock("div",me,[i.value!==i.source?(e.openBlock(),e.createElementBlock("div",fe,[i.useResetSlot?e.renderSlot(f.$slots,"reset-action",{key:1,reset:x},void 0,!0):(e.openBlock(),e.createElementBlock("button",{key:0,"data-cy-reset":"",tabindex:"0",role:"button",class:"vue-data-ui-refresh-button",onClick:x},[e.createVNode(ve.default,{name:"refresh",stroke:i.textColor},null,8,["stroke"])]))])):(e.openBlock(),e.createElementBlock("div",ge)),e.createElementVNode("div",pe,[ye,e.createElementVNode("div",{class:"range-highlight",style:e.normalizeStyle(p.value)},null,4),e.createElementVNode("input",{type:"range",min:i.min,max:i.max,value:Number(i.value),onInput:h[0]||(h[0]=y=>$("update:value",Number(y.target.value)))},null,40,be)])]))}},ke=Y._export_sfc(Ce,[["__scopeId","data-v-3fd7d274"]]),we=["id"],xe=["xmlns","viewBox"],Se=["transform"],$e=["fill","font-weight","x","y","font-size","transform"],Ne={key:3,class:"vue-data-ui-watermark"},Be=["innerHTML"],Fe={__name:"vue-ui-word-cloud",props:{config:{type:Object,default(){return{}}},dataset:{type:[Array,String],default(){return[]}}},setup(i,{expose:$}){const r=i,{vue_ui_word_cloud:T}=u.useConfig(),g=e.computed({get(){return!!r.dataset&&r.dataset.length},set(o){return o}}),k=e.ref(typeof r.dataset=="string"?u.createWordCloudDatasetFromPlainText(r.dataset):r.dataset.map(o=>({...o,value:u.checkNaN(o.value)}))),w=e.ref(u.createUid()),x=e.ref(0),p=e.ref(null),f=e.ref(null),h=e.ref(0),y=e.ref(0),t=e.computed({get:()=>O(),set:o=>o});function O(){const o=H.useNestedProp({userConfig:r.config,defaultConfig:T});return o.theme?{...H.useNestedProp({userConfig:u.themes.vue_ui_word_cloud[o.theme]||r.config,defaultConfig:o}),customPalette:u.themePalettes[o.theme]||u.palette}:o}e.watch(()=>r.config,o=>{t.value=O(),R(),h.value+=1,y.value+=1,v.value=t.value.style.chart.width},{deep:!0});const M=e.ref(null),v=e.ref(t.value.style.chart.width),s=e.ref({width:v.value,height:t.value.style.chart.height/t.value.style.chart.height*v.value,maxFontSize:t.value.style.chart.words.maxFontSize,minFontSize:t.value.style.chart.words.minFontSize}),J=A.throttle(()=>{const{width:o,height:a}=A.useResponsive({chart:p.value,title:t.value.style.chart.title.text?f.value:null,slicer:t.value.style.chart.zoom.show&&M.value});s.value.width=o,s.value.height=a,e.nextTick(E)});e.watch(()=>v.value,()=>{K()});const K=A.debounce(()=>{s.value.width=Number(v.value),s.value.height=t.value.style.chart.height/t.value.style.chart.height*Number(v.value),E()},10);function Q(){v.value=t.value.style.chart.width}const N=e.ref(null);e.onMounted(()=>{R()});function R(){u.objectIsEmpty(r.dataset)?u.error({componentName:"VueUiWordCloud",type:"dataset"}):k.value.forEach((o,a)=>{u.getMissingDatasetAttributes({datasetObject:o,requiredAttributes:["name","value"]}).forEach(l=>{g.value=!1,u.error({componentName:"VueUiWordCloud",type:"datasetSerieAttribute",property:l,index:a})})}),t.value.responsive&&(N.value=new ResizeObserver(J),N.value.observe(p.value.parentNode))}e.onBeforeUnmount(()=>{N.value&&N.value.disconnect()});const{isPrinting:q,isImaging:D,generatePdf:U,generateImage:W}=j.usePrinter({elementId:`wordCloud_${w.value}`,fileName:t.value.style.chart.title.text||"vue-ui-word-cloud"}),B=e.ref({showTable:t.value.table.show});function Z(o,a,l="Arial"){const n=document.createElement("canvas").getContext("2d");return n.font=`${a}px ${t.value.style.chart.words.bold?"bold":"normal"} ${l}`,{width:n.measureText(o).width+t.value.style.chart.words.proximity,height:a}}function ee(o,a){return o.x<a.x+a.width&&o.x+o.width>a.x&&o.y<a.y+a.height&&o.y+o.height>a.y}function te(o,a,l){const c=[],n={x:-a/2,y:-l/2,width:a,height:l},d=0,b=0;return o.forEach(C=>{let I=!1;for(let z=0;z<Math.max(a,l)/2&&!I;z+=t.value.style.chart.words.packingWeight)for(let V=0;V<360&&!I;V+=t.value.style.chart.words.packingWeight){const X=V*Math.PI/180,ae=d+z*Math.cos(X)-C.width/2,ne=b+z*Math.sin(X)-C.height/2,m={...C,x:ae,y:ne},re=m.x>=n.x&&m.y>=n.y&&m.x+m.width<=n.x+n.width&&m.y+m.height<=n.y+n.height,se=c.some(ue=>ee(m,ue));re&&!se&&(c.push(m),I=!0)}}),c}const S=e.ref([]);e.watch(()=>r.dataset,E,{immediate:!0});function E(){const o=k.value.map(n=>n.value),a=Math.max(...o),l=Math.min(...o),c=k.value.map((n,d)=>{const b=(n.value-l)/(a-l)*(s.value.maxFontSize-s.value.minFontSize)+s.value.minFontSize,C=Z(n.name,b);return{...n,id:u.createUid(),fontSize:b,width:C.width,height:C.height,color:t.value.style.chart.words.usePalette?t.value.customPalette[d]||t.value.customPalette[d%t.value.customPalette.length]||u.palette[d]||u.palette[d%u.palette.length]:t.value.style.chart.words.color}});S.value=te(c,s.value.width,s.value.height).sort((n,d)=>d.fontSize-n.fontSize)}const F=e.computed(()=>{const o=S.value.map(l=>({name:l.name,color:l.color})),a=S.value.map(l=>l.value);return{head:o,body:a}});function G(){e.nextTick(()=>{const o=F.value.head.map((c,n)=>[[c.name],[F.value.body[n]]]),a=[[t.value.style.chart.title.text],[t.value.style.chart.title.subtitle.text],[[""],[t.value.table.columnNames.value]]].concat(o),l=u.createCsvContent(a);u.downloadCsv({csvContent:l,title:t.value.style.chart.title.text||"vue-ui-word-cloud"})})}const P=e.computed(()=>{const o=[t.value.table.columnNames.series,t.value.table.columnNames.value],a=F.value.head.map((n,d)=>{const b=u.dataLabel({p:t.value.table.td.prefix,v:F.value.body[d],s:t.value.table.td.suffix,r:t.value.table.td.roundingValue});return[{color:n.color,name:n.name},b]}),l={th:{backgroundColor:t.value.table.th.backgroundColor,color:t.value.table.th.color,outline:t.value.table.th.outline},td:{backgroundColor:t.value.table.td.backgroundColor,color:t.value.table.td.color,outline:t.value.table.td.outline},breakpoint:t.value.table.responsiveBreakpoint};return{colNames:[t.value.table.columnNames.series,t.value.table.columnNames.value],head:o,body:a,config:l}}),_=e.ref(!1);function oe(o){_.value=o,x.value+=1}function le(){return S.value}function L(){B.value.showTable=!B.value.showTable}return $({getData:le,generateCsv:G,generatePdf:U,generateImage:W,toggleTable:L}),(o,a)=>(e.openBlock(),e.createElementBlock("div",{class:"vue-ui-word-cloud",ref_key:"wordCloudChart",ref:p,id:`wordCloud_${w.value}`,style:e.normalizeStyle(`width: 100%; font-family:${t.value.style.fontFamily};background:${t.value.style.chart.backgroundColor};${t.value.responsive?"height:100%":""}`)},[t.value.style.chart.title.text?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"chartTitle",ref:f,style:e.normalizeStyle(`width:100%;background:${t.value.style.chart.backgroundColor};padding-bottom:24px`)},[(e.openBlock(),e.createBlock(ie._sfc_main,{key:`title_${h.value}`,config:{title:{...t.value.style.chart.title},subtitle:{...t.value.style.chart.title.subtitle}}},null,8,["config"]))],4)):e.createCommentVNode("",!0),t.value.userOptions.show&&g.value?(e.openBlock(),e.createBlock(j.UserOptions,{ref:"details",key:`user_option_${x.value}`,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,isPrinting:e.unref(q),isImaging:e.unref(D),uid:w.value,hasPdf:t.value.userOptions.buttons.pdf,hasXls:t.value.userOptions.buttons.csv,hasImg:t.value.userOptions.buttons.img,hasTable:t.value.userOptions.buttons.table,hasFullscreen:t.value.userOptions.buttons.fullscreen,isFullscreen:_.value,titles:{...t.value.userOptions.buttonTitles},chartElement:p.value,onToggleFullscreen:oe,onGeneratePdf:e.unref(U),onGenerateCsv:G,onGenerateImage:e.unref(W),onToggleTable:L},e.createSlots({_:2},[o.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionPdf",{},void 0,!0)]),key:"0"}:void 0,o.$slots.optionCsv?{name:"optionCsv",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionCsv",{},void 0,!0)]),key:"1"}:void 0,o.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionImg",{},void 0,!0)]),key:"2"}:void 0,o.$slots.optionTable?{name:"optionTable",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionTable",{},void 0,!0)]),key:"3"}:void 0,o.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:l,isFullscreen:c})=>[e.renderSlot(o.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:l,isFullscreen:c})),void 0,!0)]),key:"4"}:void 0]),1032,["backgroundColor","color","isPrinting","isImaging","uid","hasPdf","hasXls","hasImg","hasTable","hasFullscreen","isFullscreen","titles","chartElement","onGeneratePdf","onGenerateImage"])):e.createCommentVNode("",!0),g.value?(e.openBlock(),e.createElementBlock("svg",{key:2,class:e.normalizeClass({"vue-data-ui-fullscreen--on":_.value,"vue-data-ui-fulscreen--off":!_.value}),xmlns:e.unref(u.XMLNS),viewBox:`0 0 ${s.value.width<=0?10:s.value.width} ${s.value.height<=0?10:s.value.height}`,style:e.normalizeStyle(`overflow:visible;background:${t.value.style.chart.backgroundColor};`)},[e.createElementVNode("g",{transform:`translate(${(s.value.width<=0?10:s.value.width)/2}, ${(s.value.height<=0?10:s.value.height)/2})`},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(S.value,(l,c)=>(e.openBlock(),e.createElementBlock("g",null,[(e.openBlock(),e.createElementBlock("text",{fill:l.color,"font-weight":t.value.style.chart.words.bold?"bold":"normal",key:c,x:l.x,y:l.y,"font-size":l.fontSize,transform:`translate(${l.width/2}, ${l.height/2})`,style:e.normalizeStyle(`animation-delay:${c*t.value.animationDelayMs}ms !important`),class:e.normalizeClass({animated:t.value.useCssAnimation}),"text-anchor":"middle","dominant-baseline":"middle"},e.toDisplayString(l.name),15,$e))]))),256))],8,Se),e.renderSlot(o.$slots,"svg",{svg:{height:s.value.height,width:s.value.width}},void 0,!0)],14,xe)):e.createCommentVNode("",!0),o.$slots.watermark?(e.openBlock(),e.createElementBlock("div",Ne,[e.renderSlot(o.$slots,"watermark",e.normalizeProps(e.guardReactiveProps({isPrinting:e.unref(q)||e.unref(D)})),void 0,!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",{ref_key:"chartSlicer",ref:M,style:e.normalizeStyle(`width:100%;background:${t.value.style.chart.backgroundColor}`),"data-html2canvas-ignore":""},[t.value.style.chart.zoom.show?(e.openBlock(),e.createBlock(ke,{key:0,value:v.value,"onUpdate:value":a[0]||(a[0]=l=>v.value=l),min:100,max:t.value.style.chart.width*3,textColor:t.value.style.chart.color,inputColor:t.value.style.chart.zoom.color,selectColor:t.value.style.chart.zoom.highlightColor,useResetSlot:t.value.style.chart.zoom.useResetSlot,background:t.value.style.chart.zoom.color,borderColor:t.value.style.chart.backgroundColor,source:t.value.style.chart.width,onReset:Q},{"reset-action":e.withCtx(({reset:l})=>[e.renderSlot(o.$slots,"reset-action",e.normalizeProps(e.guardReactiveProps({reset:l})),void 0,!0)]),_:3},8,["value","max","textColor","inputColor","selectColor","useResetSlot","background","borderColor","source"])):e.createCommentVNode("",!0)],4),g.value?(e.openBlock(),e.createBlock(ce.default,{key:4,hideDetails:"",config:{open:B.value.showTable,maxHeight:1e4,body:{backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color},head:{backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color}}},{content:e.withCtx(()=>[(e.openBlock(),e.createBlock(de.DataTable,{key:`table_${y.value}`,colNames:P.value.colNames,head:P.value.head,body:P.value.body,config:P.value.config,title:`${t.value.style.chart.title.text}${t.value.style.chart.title.subtitle.text?` : ${t.value.style.chart.title.subtitle.text}`:""}`,onClose:a[1]||(a[1]=l=>B.value.showTable=!1)},{th:e.withCtx(({th:l})=>[e.createElementVNode("div",{innerHTML:l,style:{display:"flex","align-items":"center"}},null,8,Be)]),td:e.withCtx(({td:l})=>[e.createTextVNode(e.toDisplayString(l.name||l),1)]),_:1},8,["colNames","head","body","config","title"]))]),_:1},8,["config"])):e.createCommentVNode("",!0)],12,we))}},Pe=Y._export_sfc(Fe,[["__scopeId","data-v-c72337c3"]]);exports.default=Pe;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),u=require("./index-D-vy9N1v.cjs"),ie=require("./Title-BaKZYHEx.cjs"),j=require("./usePrinter-P4nLcXX-.cjs"),A=require("./useResponsive-B3TrDDIG.cjs"),ce=require("./vue-ui-accordion-btKAUUTu.cjs"),de=require("./DataTable-pVXaNplZ.cjs"),ve=require("./BaseIcon-BBQHz_Sf.cjs"),Y=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),H=require("./useNestedProp-B9yDavuy.cjs"),he=i=>(e.pushScopeId("data-v-3fd7d274"),i=i(),e.popScopeId(),i),me={"data-html2canvas-ignore":""},fe={key:0,class:"reset-wrapper"},ge={key:1,class:"reset-wrapper"},pe={class:"mono-slicer"},ye=he(()=>e.createElementVNode("div",{class:"slider-track"},null,-1)),be=["min","max","value"],Ce={__name:"MonoSlicer",props:{min:{type:Number,default:0},max:{type:Number,default:0},inputColor:{type:String,default:"#1A1A1A"},background:{type:String,default:"#FFFFFF"},borderColor:{type:String,default:"#FFFFFF"},selectColor:{type:String,default:"#4A4A4A"},textColor:{type:String,default:"#1A1A1A"},useResetSlot:{type:Boolean,default:!1},value:{type:Number,default:0},source:{type:Number,default:0}},emits:["update:value","reset"],setup(i,{emit:$}){const r=i;e.useCssVars(f=>({"90ad3208":T.value,"4f9eef70":w.value,"6e07ae3e":k.value,"2fd430a0":i.selectColor,"6b8169a4":g.value}));const T=e.computed(()=>r.inputColor),g=e.computed(()=>r.background),k=e.computed(()=>`${r.selectColor}33`),w=e.computed(()=>r.borderColor);function x(){$("reset")}const p=e.computed(()=>{const f=r.max-r.min,h=0,y=(r.value-r.min)/f*100;return{left:`${h}%`,width:`${y-h}%`,background:r.selectColor}});return(f,h)=>(e.openBlock(),e.createElementBlock("div",me,[i.value!==i.source?(e.openBlock(),e.createElementBlock("div",fe,[i.useResetSlot?e.renderSlot(f.$slots,"reset-action",{key:1,reset:x},void 0,!0):(e.openBlock(),e.createElementBlock("button",{key:0,"data-cy-reset":"",tabindex:"0",role:"button",class:"vue-data-ui-refresh-button",onClick:x},[e.createVNode(ve.default,{name:"refresh",stroke:i.textColor},null,8,["stroke"])]))])):(e.openBlock(),e.createElementBlock("div",ge)),e.createElementVNode("div",pe,[ye,e.createElementVNode("div",{class:"range-highlight",style:e.normalizeStyle(p.value)},null,4),e.createElementVNode("input",{type:"range",min:i.min,max:i.max,value:Number(i.value),onInput:h[0]||(h[0]=y=>$("update:value",Number(y.target.value)))},null,40,be)])]))}},ke=Y._export_sfc(Ce,[["__scopeId","data-v-3fd7d274"]]),we=["id"],xe=["xmlns","viewBox"],Se=["transform"],$e=["fill","font-weight","x","y","font-size","transform"],Ne={key:3,class:"vue-data-ui-watermark"},Be=["innerHTML"],Fe={__name:"vue-ui-word-cloud",props:{config:{type:Object,default(){return{}}},dataset:{type:[Array,String],default(){return[]}}},setup(i,{expose:$}){const r=i,{vue_ui_word_cloud:T}=u.useConfig(),g=e.computed({get(){return!!r.dataset&&r.dataset.length},set(o){return o}}),k=e.ref(typeof r.dataset=="string"?u.createWordCloudDatasetFromPlainText(r.dataset):r.dataset.map(o=>({...o,value:u.checkNaN(o.value)}))),w=e.ref(u.createUid()),x=e.ref(0),p=e.ref(null),f=e.ref(null),h=e.ref(0),y=e.ref(0),t=e.computed({get:()=>O(),set:o=>o});function O(){const o=H.useNestedProp({userConfig:r.config,defaultConfig:T});return o.theme?{...H.useNestedProp({userConfig:u.themes.vue_ui_word_cloud[o.theme]||r.config,defaultConfig:o}),customPalette:u.themePalettes[o.theme]||u.palette}:o}e.watch(()=>r.config,o=>{t.value=O(),R(),h.value+=1,y.value+=1,v.value=t.value.style.chart.width},{deep:!0});const M=e.ref(null),v=e.ref(t.value.style.chart.width),s=e.ref({width:v.value,height:t.value.style.chart.height/t.value.style.chart.height*v.value,maxFontSize:t.value.style.chart.words.maxFontSize,minFontSize:t.value.style.chart.words.minFontSize}),J=A.throttle(()=>{const{width:o,height:a}=A.useResponsive({chart:p.value,title:t.value.style.chart.title.text?f.value:null,slicer:t.value.style.chart.zoom.show&&M.value});s.value.width=o,s.value.height=a,e.nextTick(E)});e.watch(()=>v.value,()=>{K()});const K=A.debounce(()=>{s.value.width=Number(v.value),s.value.height=t.value.style.chart.height/t.value.style.chart.height*Number(v.value),E()},10);function Q(){v.value=t.value.style.chart.width}const N=e.ref(null);e.onMounted(()=>{R()});function R(){u.objectIsEmpty(r.dataset)?u.error({componentName:"VueUiWordCloud",type:"dataset"}):k.value.forEach((o,a)=>{u.getMissingDatasetAttributes({datasetObject:o,requiredAttributes:["name","value"]}).forEach(l=>{g.value=!1,u.error({componentName:"VueUiWordCloud",type:"datasetSerieAttribute",property:l,index:a})})}),t.value.responsive&&(N.value=new ResizeObserver(J),N.value.observe(p.value.parentNode))}e.onBeforeUnmount(()=>{N.value&&N.value.disconnect()});const{isPrinting:q,isImaging:D,generatePdf:U,generateImage:W}=j.usePrinter({elementId:`wordCloud_${w.value}`,fileName:t.value.style.chart.title.text||"vue-ui-word-cloud"}),B=e.ref({showTable:t.value.table.show});function Z(o,a,l="Arial"){const n=document.createElement("canvas").getContext("2d");return n.font=`${a}px ${t.value.style.chart.words.bold?"bold":"normal"} ${l}`,{width:n.measureText(o).width+t.value.style.chart.words.proximity,height:a}}function ee(o,a){return o.x<a.x+a.width&&o.x+o.width>a.x&&o.y<a.y+a.height&&o.y+o.height>a.y}function te(o,a,l){const c=[],n={x:-a/2,y:-l/2,width:a,height:l},d=0,b=0;return o.forEach(C=>{let I=!1;for(let z=0;z<Math.max(a,l)/2&&!I;z+=t.value.style.chart.words.packingWeight)for(let V=0;V<360&&!I;V+=t.value.style.chart.words.packingWeight){const X=V*Math.PI/180,ae=d+z*Math.cos(X)-C.width/2,ne=b+z*Math.sin(X)-C.height/2,m={...C,x:ae,y:ne},re=m.x>=n.x&&m.y>=n.y&&m.x+m.width<=n.x+n.width&&m.y+m.height<=n.y+n.height,se=c.some(ue=>ee(m,ue));re&&!se&&(c.push(m),I=!0)}}),c}const S=e.ref([]);e.watch(()=>r.dataset,E,{immediate:!0});function E(){const o=k.value.map(n=>n.value),a=Math.max(...o),l=Math.min(...o),c=k.value.map((n,d)=>{const b=(n.value-l)/(a-l)*(s.value.maxFontSize-s.value.minFontSize)+s.value.minFontSize,C=Z(n.name,b);return{...n,id:u.createUid(),fontSize:b,width:C.width,height:C.height,color:t.value.style.chart.words.usePalette?t.value.customPalette[d]||t.value.customPalette[d%t.value.customPalette.length]||u.palette[d]||u.palette[d%u.palette.length]:t.value.style.chart.words.color}});S.value=te(c,s.value.width,s.value.height).sort((n,d)=>d.fontSize-n.fontSize)}const F=e.computed(()=>{const o=S.value.map(l=>({name:l.name,color:l.color})),a=S.value.map(l=>l.value);return{head:o,body:a}});function G(){e.nextTick(()=>{const o=F.value.head.map((c,n)=>[[c.name],[F.value.body[n]]]),a=[[t.value.style.chart.title.text],[t.value.style.chart.title.subtitle.text],[[""],[t.value.table.columnNames.value]]].concat(o),l=u.createCsvContent(a);u.downloadCsv({csvContent:l,title:t.value.style.chart.title.text||"vue-ui-word-cloud"})})}const P=e.computed(()=>{const o=[t.value.table.columnNames.series,t.value.table.columnNames.value],a=F.value.head.map((n,d)=>{const b=u.dataLabel({p:t.value.table.td.prefix,v:F.value.body[d],s:t.value.table.td.suffix,r:t.value.table.td.roundingValue});return[{color:n.color,name:n.name},b]}),l={th:{backgroundColor:t.value.table.th.backgroundColor,color:t.value.table.th.color,outline:t.value.table.th.outline},td:{backgroundColor:t.value.table.td.backgroundColor,color:t.value.table.td.color,outline:t.value.table.td.outline},breakpoint:t.value.table.responsiveBreakpoint};return{colNames:[t.value.table.columnNames.series,t.value.table.columnNames.value],head:o,body:a,config:l}}),_=e.ref(!1);function oe(o){_.value=o,x.value+=1}function le(){return S.value}function L(){B.value.showTable=!B.value.showTable}return $({getData:le,generateCsv:G,generatePdf:U,generateImage:W,toggleTable:L}),(o,a)=>(e.openBlock(),e.createElementBlock("div",{class:"vue-ui-word-cloud",ref_key:"wordCloudChart",ref:p,id:`wordCloud_${w.value}`,style:e.normalizeStyle(`width: 100%; font-family:${t.value.style.fontFamily};background:${t.value.style.chart.backgroundColor};${t.value.responsive?"height:100%":""}`)},[t.value.style.chart.title.text?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"chartTitle",ref:f,style:"width:100%;background:transparent;padding-bottom:24px"},[(e.openBlock(),e.createBlock(ie._sfc_main,{key:`title_${h.value}`,config:{title:{...t.value.style.chart.title},subtitle:{...t.value.style.chart.title.subtitle}}},null,8,["config"]))],512)):e.createCommentVNode("",!0),t.value.userOptions.show&&g.value?(e.openBlock(),e.createBlock(j.UserOptions,{ref:"details",key:`user_option_${x.value}`,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,isPrinting:e.unref(q),isImaging:e.unref(D),uid:w.value,hasPdf:t.value.userOptions.buttons.pdf,hasXls:t.value.userOptions.buttons.csv,hasImg:t.value.userOptions.buttons.img,hasTable:t.value.userOptions.buttons.table,hasFullscreen:t.value.userOptions.buttons.fullscreen,isFullscreen:_.value,titles:{...t.value.userOptions.buttonTitles},chartElement:p.value,onToggleFullscreen:oe,onGeneratePdf:e.unref(U),onGenerateCsv:G,onGenerateImage:e.unref(W),onToggleTable:L},e.createSlots({_:2},[o.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionPdf",{},void 0,!0)]),key:"0"}:void 0,o.$slots.optionCsv?{name:"optionCsv",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionCsv",{},void 0,!0)]),key:"1"}:void 0,o.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionImg",{},void 0,!0)]),key:"2"}:void 0,o.$slots.optionTable?{name:"optionTable",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionTable",{},void 0,!0)]),key:"3"}:void 0,o.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:l,isFullscreen:c})=>[e.renderSlot(o.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:l,isFullscreen:c})),void 0,!0)]),key:"4"}:void 0]),1032,["backgroundColor","color","isPrinting","isImaging","uid","hasPdf","hasXls","hasImg","hasTable","hasFullscreen","isFullscreen","titles","chartElement","onGeneratePdf","onGenerateImage"])):e.createCommentVNode("",!0),g.value?(e.openBlock(),e.createElementBlock("svg",{key:2,class:e.normalizeClass({"vue-data-ui-fullscreen--on":_.value,"vue-data-ui-fulscreen--off":!_.value}),xmlns:e.unref(u.XMLNS),viewBox:`0 0 ${s.value.width<=0?10:s.value.width} ${s.value.height<=0?10:s.value.height}`,style:"overflow:visible;background:transparent;"},[e.createElementVNode("g",{transform:`translate(${(s.value.width<=0?10:s.value.width)/2}, ${(s.value.height<=0?10:s.value.height)/2})`},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(S.value,(l,c)=>(e.openBlock(),e.createElementBlock("g",null,[(e.openBlock(),e.createElementBlock("text",{fill:l.color,"font-weight":t.value.style.chart.words.bold?"bold":"normal",key:c,x:l.x,y:l.y,"font-size":l.fontSize,transform:`translate(${l.width/2}, ${l.height/2})`,style:e.normalizeStyle(`animation-delay:${c*t.value.animationDelayMs}ms !important`),class:e.normalizeClass({animated:t.value.useCssAnimation}),"text-anchor":"middle","dominant-baseline":"middle"},e.toDisplayString(l.name),15,$e))]))),256))],8,Se),e.renderSlot(o.$slots,"svg",{svg:{height:s.value.height,width:s.value.width}},void 0,!0)],10,xe)):e.createCommentVNode("",!0),o.$slots.watermark?(e.openBlock(),e.createElementBlock("div",Ne,[e.renderSlot(o.$slots,"watermark",e.normalizeProps(e.guardReactiveProps({isPrinting:e.unref(q)||e.unref(D)})),void 0,!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",{ref_key:"chartSlicer",ref:M,style:"width:100%;background:transparent","data-html2canvas-ignore":""},[t.value.style.chart.zoom.show?(e.openBlock(),e.createBlock(ke,{key:0,value:v.value,"onUpdate:value":a[0]||(a[0]=l=>v.value=l),min:100,max:t.value.style.chart.width*3,textColor:t.value.style.chart.color,inputColor:t.value.style.chart.zoom.color,selectColor:t.value.style.chart.zoom.highlightColor,useResetSlot:t.value.style.chart.zoom.useResetSlot,background:t.value.style.chart.zoom.color,borderColor:t.value.style.chart.backgroundColor,source:t.value.style.chart.width,onReset:Q},{"reset-action":e.withCtx(({reset:l})=>[e.renderSlot(o.$slots,"reset-action",e.normalizeProps(e.guardReactiveProps({reset:l})),void 0,!0)]),_:3},8,["value","max","textColor","inputColor","selectColor","useResetSlot","background","borderColor","source"])):e.createCommentVNode("",!0)],512),g.value?(e.openBlock(),e.createBlock(ce.default,{key:4,hideDetails:"",config:{open:B.value.showTable,maxHeight:1e4,body:{backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color},head:{backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color}}},{content:e.withCtx(()=>[(e.openBlock(),e.createBlock(de.DataTable,{key:`table_${y.value}`,colNames:P.value.colNames,head:P.value.head,body:P.value.body,config:P.value.config,title:`${t.value.style.chart.title.text}${t.value.style.chart.title.subtitle.text?` : ${t.value.style.chart.title.subtitle.text}`:""}`,onClose:a[1]||(a[1]=l=>B.value.showTable=!1)},{th:e.withCtx(({th:l})=>[e.createElementVNode("div",{innerHTML:l,style:{display:"flex","align-items":"center"}},null,8,Be)]),td:e.withCtx(({td:l})=>[e.createTextVNode(e.toDisplayString(l.name||l),1)]),_:1},8,["colNames","head","body","config","title"]))]),_:1},8,["config"])):e.createCommentVNode("",!0)],12,we))}},Pe=Y._export_sfc(Fe,[["__scopeId","data-v-584c01f3"]]);exports.default=Pe;