vue-data-ui 2.6.26 → 2.6.28

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 (158) hide show
  1. package/dist/{Arrow-B01A8Nli.js → Arrow-CAjJ853A.js} +1 -1
  2. package/dist/{Arrow-lIQGLPKB.cjs → Arrow-DAyQKLcK.cjs} +1 -1
  3. package/dist/{BaseIcon-CA4E8VvP.cjs → BaseIcon-BI3eFhr1.cjs} +1 -1
  4. package/dist/{BaseIcon-Bc9e5u1l.js → BaseIcon-h1prcupB.js} +1 -1
  5. package/dist/{DataTable-DfRIIBwi.js → DataTable-BT1MSIYm.js} +2 -2
  6. package/dist/{DataTable-CXOVBVg-.cjs → DataTable-r2HNsyUX.cjs} +1 -1
  7. package/dist/{Legend-eSu88vQu.js → Legend-Bi_ML4Pn.js} +2 -2
  8. package/dist/{Legend-D6N4Tx6z.cjs → Legend-Bpt6RBG8.cjs} +1 -1
  9. package/dist/{PackageVersion-CkZZ1O_f.cjs → PackageVersion-BV7LcPDV.cjs} +1 -1
  10. package/dist/{PackageVersion-DuKFN8zj.js → PackageVersion-J4TBr3Rf.js} +1 -1
  11. package/dist/{PenAndPaper-D6TE0NXU.js → PenAndPaper-CZ-9vnJd.js} +3 -3
  12. package/dist/{PenAndPaper-OD8yUtcf.cjs → PenAndPaper-DP7fHf74.cjs} +1 -1
  13. package/dist/{PenAndPaper.vue_vue_type_style_index_0_scoped_3cea7589_lang-C9k8Yq5O.cjs → PenAndPaper.vue_vue_type_style_index_0_scoped_3cea7589_lang-DTVlE6RY.cjs} +1 -1
  14. package/dist/{PenAndPaper.vue_vue_type_style_index_0_scoped_3cea7589_lang-DN-wEXd4.js → PenAndPaper.vue_vue_type_style_index_0_scoped_3cea7589_lang-q8a9FDTk.js} +3 -3
  15. package/dist/{Shape-ETmlN0t6.cjs → Shape-B1cFbBnY.cjs} +1 -1
  16. package/dist/{Shape-D0NWlW84.js → Shape-DKT9Kqk7.js} +1 -1
  17. package/dist/{Slicer-DOS9E5CE.js → Slicer-DB-NAuJL.js} +2 -2
  18. package/dist/{Slicer-Cj0HBfiz.cjs → Slicer-RU1fvaGI.cjs} +1 -1
  19. package/dist/{Title-BKxz9gY3.js → Title-B47pulul.js} +1 -1
  20. package/dist/{Title-DkB64UXq.cjs → Title-DjxAodUf.cjs} +1 -1
  21. package/dist/{Tooltip-CFdxdcrD.cjs → Tooltip-ogV3t9Et.cjs} +1 -1
  22. package/dist/{Tooltip-DJhKmW8q.js → Tooltip-v3_dMNKi.js} +1 -1
  23. package/dist/index-0ZojJ1mH.cjs +9 -0
  24. package/dist/{index-CuTBHfav.js → index-4RRlWcLr.js} +3 -2
  25. package/dist/style.css +1 -1
  26. package/dist/types/vue-data-ui.d.cts +1 -0
  27. package/dist/types/vue-data-ui.d.ts +1 -0
  28. package/dist/{useNestedProp-YdBGulzK.js → useNestedProp-CPc3u5vP.js} +1 -1
  29. package/dist/{useNestedProp-DjxHSNja.cjs → useNestedProp-OY09Srif.cjs} +1 -1
  30. package/dist/{usePrinter-BPAAQHlr.cjs → usePrinter-DDgV-g0v.cjs} +1 -1
  31. package/dist/{usePrinter-CdGgoEbU.js → usePrinter-FdlD3Leg.js} +1 -1
  32. package/dist/{vue-data-ui-DADT2HRu.cjs → vue-data-ui-BSNSO6yu.cjs} +1 -1
  33. package/dist/{vue-data-ui-CMbKOX7r.js → vue-data-ui-BmgimpbQ.js} +61 -61
  34. package/dist/vue-data-ui.cjs +1 -1
  35. package/dist/vue-data-ui.js +1 -1
  36. package/dist/{vue-ui-3d-bar-DXKBBDeq.js → vue-ui-3d-bar-0-nrP5n6.js} +9 -9
  37. package/dist/{vue-ui-3d-bar-OZLUu61Z.cjs → vue-ui-3d-bar-BGI5KJpt.cjs} +1 -1
  38. package/dist/{vue-ui-accordion-C2sI_ZUV.cjs → vue-ui-accordion-BboUGt-9.cjs} +1 -1
  39. package/dist/{vue-ui-accordion-D0cMMd6H.js → vue-ui-accordion-I9YX633w.js} +3 -3
  40. package/dist/{vue-ui-age-pyramid-PEyZtWKm.js → vue-ui-age-pyramid-C6NmpTMr.js} +10 -10
  41. package/dist/{vue-ui-age-pyramid-B9kKFKSK.cjs → vue-ui-age-pyramid-DN_KJekA.cjs} +1 -1
  42. package/dist/{vue-ui-annotator-l5d_1HyN.js → vue-ui-annotator-DStzhwzU.js} +1 -1
  43. package/dist/{vue-ui-annotator-3RpXzm7k.cjs → vue-ui-annotator-L-f_1hLT.cjs} +1 -1
  44. package/dist/{vue-ui-bullet-CYlYGiwc.cjs → vue-ui-bullet-BCNaSp3O.cjs} +1 -1
  45. package/dist/{vue-ui-bullet-C5gYKGpy.js → vue-ui-bullet-Dq2MsuyN.js} +8 -8
  46. package/dist/{vue-ui-candlestick-Dp7eph2a.js → vue-ui-candlestick-9iTYHhad.js} +11 -11
  47. package/dist/{vue-ui-candlestick-D9DcIIM1.cjs → vue-ui-candlestick-hg6BYKYF.cjs} +1 -1
  48. package/dist/{vue-ui-carousel-table-CbtryrwI.cjs → vue-ui-carousel-table-CaMRToS_.cjs} +1 -1
  49. package/dist/{vue-ui-carousel-table-CjP9DEaw.js → vue-ui-carousel-table-D3GqEHvK.js} +4 -4
  50. package/dist/{vue-ui-chestnut-DPlSlyH5.js → vue-ui-chestnut-Dl_TQF-L.js} +8 -8
  51. package/dist/{vue-ui-chestnut-BziSZX1t.cjs → vue-ui-chestnut-ViGzV_gH.cjs} +1 -1
  52. package/dist/{vue-ui-circle-pack-mqqta6I2.cjs → vue-ui-circle-pack-CDF6Vpt6.cjs} +1 -1
  53. package/dist/{vue-ui-circle-pack-CHMiynqO.js → vue-ui-circle-pack-CzgQYWZS.js} +9 -9
  54. package/dist/{vue-ui-cursor-CN3kPTtK.cjs → vue-ui-cursor-B6B1RIBj.cjs} +1 -1
  55. package/dist/{vue-ui-cursor-B0QjE_DV.js → vue-ui-cursor-Cd2gEBSb.js} +2 -2
  56. package/dist/{vue-ui-dashboard-CVCg32Ue.cjs → vue-ui-dashboard-CJpCmlsb.cjs} +1 -1
  57. package/dist/{vue-ui-dashboard-B6ONJTFj.js → vue-ui-dashboard-CQ0t86PU.js} +2 -2
  58. package/dist/{vue-ui-digits-BTY55X9_.cjs → vue-ui-digits--Uo-UP39.cjs} +1 -1
  59. package/dist/{vue-ui-digits-FOTo8rUp.js → vue-ui-digits-De_0njxV.js} +2 -2
  60. package/dist/{vue-ui-donut-BemVEPw5.js → vue-ui-donut-CpJ4w6x_.js} +12 -12
  61. package/dist/{vue-ui-donut-DLGyZzQi.cjs → vue-ui-donut-eRo_Rcn7.cjs} +1 -1
  62. package/dist/{vue-ui-donut-evolution-BniUhzq-.js → vue-ui-donut-evolution-BNcCQB_7.js} +11 -11
  63. package/dist/{vue-ui-donut-evolution-D_mhGDxS.cjs → vue-ui-donut-evolution-C4ggQb2r.cjs} +1 -1
  64. package/dist/{vue-ui-dumbbell-CCH82j5J.js → vue-ui-dumbbell-B3sk0RXg.js} +10 -10
  65. package/dist/{vue-ui-dumbbell-DpK3wvc9.cjs → vue-ui-dumbbell-C9IjXewZ.cjs} +1 -1
  66. package/dist/{vue-ui-flow-CYDayEz1.cjs → vue-ui-flow-BuDDlyI4.cjs} +1 -1
  67. package/dist/{vue-ui-flow-7j79Jse0.js → vue-ui-flow-g7pN_Y8S.js} +9 -9
  68. package/dist/{vue-ui-funnel-D4E3aOSG.js → vue-ui-funnel-BG4S2tkJ.js} +9 -9
  69. package/dist/{vue-ui-funnel-RqVa5bfO.cjs → vue-ui-funnel-DgcymfFg.cjs} +1 -1
  70. package/dist/{vue-ui-galaxy-C2KNvyde.cjs → vue-ui-galaxy-B1XpQCbj.cjs} +1 -1
  71. package/dist/{vue-ui-galaxy-BzGG8k--.js → vue-ui-galaxy-DZyXCGNE.js} +11 -11
  72. package/dist/{vue-ui-gauge-DDnePaar.js → vue-ui-gauge-C5XEkmG7.js} +7 -7
  73. package/dist/{vue-ui-gauge-Cr46aJbl.cjs → vue-ui-gauge-sup8MraV.cjs} +1 -1
  74. package/dist/{vue-ui-gizmo-VCicRRNY.cjs → vue-ui-gizmo-Con0HdYV.cjs} +1 -1
  75. package/dist/{vue-ui-gizmo-B-IdbdLQ.js → vue-ui-gizmo-DnbVyXdl.js} +3 -3
  76. package/dist/{vue-ui-heatmap-CwhG7HA1.cjs → vue-ui-heatmap-CMEjJp25.cjs} +1 -1
  77. package/dist/{vue-ui-heatmap-B1rP_UvU.js → vue-ui-heatmap-JSiKvLGN.js} +10 -10
  78. package/dist/{vue-ui-history-plot-D9n37PlK.js → vue-ui-history-plot-DX5bxrQE.js} +11 -11
  79. package/dist/{vue-ui-history-plot-B2CrmZ4U.cjs → vue-ui-history-plot-LSny6C9i.cjs} +1 -1
  80. package/dist/{vue-ui-kpi-BKoHnuh9.js → vue-ui-kpi-D5hjTCaA.js} +3 -3
  81. package/dist/{vue-ui-kpi-BPtIUk35.cjs → vue-ui-kpi-Dn-ifyxf.cjs} +1 -1
  82. package/dist/{vue-ui-mini-loader-DtoiCLwz.cjs → vue-ui-mini-loader-Dav_SSSQ.cjs} +1 -1
  83. package/dist/{vue-ui-mini-loader-BhWPRM3v.js → vue-ui-mini-loader-QaFKK0A0.js} +2 -2
  84. package/dist/{vue-ui-molecule-0iZCPldw.cjs → vue-ui-molecule-BB1J8Dbo.cjs} +1 -1
  85. package/dist/{vue-ui-molecule-CoVQtGa7.js → vue-ui-molecule-BLbSDPvP.js} +10 -10
  86. package/dist/{vue-ui-mood-radar-D0cgoB3L.cjs → vue-ui-mood-radar-2i9AMp4M.cjs} +1 -1
  87. package/dist/{vue-ui-mood-radar-CJCkKOg6.js → vue-ui-mood-radar-DALxGShD.js} +11 -11
  88. package/dist/{vue-ui-nested-donuts-DTIFWwgw.cjs → vue-ui-nested-donuts-BNE1i3hX.cjs} +1 -1
  89. package/dist/{vue-ui-nested-donuts-DPU_gAqn.js → vue-ui-nested-donuts-CrwpbYj1.js} +11 -11
  90. package/dist/{vue-ui-onion-B0ycWbku.js → vue-ui-onion-CCAFH42D.js} +11 -11
  91. package/dist/{vue-ui-onion-BT0Ze5tQ.cjs → vue-ui-onion-Dg11ctuw.cjs} +1 -1
  92. package/dist/{vue-ui-parallel-coordinate-plot-CJ4z3x6Z.cjs → vue-ui-parallel-coordinate-plot-BEVOsDtM.cjs} +1 -1
  93. package/dist/{vue-ui-parallel-coordinate-plot-DCVaUXnP.js → vue-ui-parallel-coordinate-plot-v8Ynm3w5.js} +12 -12
  94. package/dist/{vue-ui-quadrant-ADOiyUbM.cjs → vue-ui-quadrant--F_ZyLFk.cjs} +1 -1
  95. package/dist/{vue-ui-quadrant-Bu9R5wbL.js → vue-ui-quadrant-HwNbrGMQ.js} +12 -12
  96. package/dist/{vue-ui-quick-chart-D85QJsOS.js → vue-ui-quick-chart-CVfXiwBs.js} +9 -9
  97. package/dist/{vue-ui-quick-chart-C-IgD2jG.cjs → vue-ui-quick-chart-DQdiHpqZ.cjs} +1 -1
  98. package/dist/{vue-ui-radar-Yax-IAKc.cjs → vue-ui-radar-BAp4IGrw.cjs} +1 -1
  99. package/dist/{vue-ui-radar-BLD4B6Iy.js → vue-ui-radar-DpBICEaV.js} +12 -12
  100. package/dist/{vue-ui-rating-D-aY2He_.js → vue-ui-rating-Bjmj2p6V.js} +2 -2
  101. package/dist/{vue-ui-rating-CWljcjJb.cjs → vue-ui-rating-D72lzAno.cjs} +1 -1
  102. package/dist/{vue-ui-relation-circle-z6_96bXn.cjs → vue-ui-relation-circle-C9hr45P6.cjs} +1 -1
  103. package/dist/{vue-ui-relation-circle-CbfADhnt.js → vue-ui-relation-circle-CWpiwvyP.js} +7 -7
  104. package/dist/{vue-ui-rings-CNPqQbDm.cjs → vue-ui-rings-BhZWnXiZ.cjs} +1 -1
  105. package/dist/{vue-ui-rings-C2x4CbEf.js → vue-ui-rings-Cp0F0mSk.js} +12 -12
  106. package/dist/{vue-ui-scatter-CCxXZ_g2.js → vue-ui-scatter-BJrYQZAa.js} +12 -12
  107. package/dist/{vue-ui-scatter-CEqbes00.cjs → vue-ui-scatter-BWk3QtZv.cjs} +1 -1
  108. package/dist/{vue-ui-screenshot-meUhU_hT.js → vue-ui-screenshot-R5QLfXl9.js} +1 -1
  109. package/dist/{vue-ui-screenshot-Bu6uH3rp.cjs → vue-ui-screenshot-sXfihBWk.cjs} +1 -1
  110. package/dist/{vue-ui-skeleton-CcUFTtI6.js → vue-ui-skeleton-Txytd5FS.js} +3 -3
  111. package/dist/{vue-ui-skeleton-1eDMCfCO.cjs → vue-ui-skeleton-raZOriRn.cjs} +1 -1
  112. package/dist/{vue-ui-smiley-CZ2oBYzs.cjs → vue-ui-smiley-BWIjNtsk.cjs} +1 -1
  113. package/dist/{vue-ui-smiley-DZHetTKE.js → vue-ui-smiley-Dcyf6FLr.js} +2 -2
  114. package/dist/{vue-ui-spark-trend-VSELt8Nw.js → vue-ui-spark-trend-1CYZEhc-.js} +5 -5
  115. package/dist/{vue-ui-spark-trend-Cyf3OnEA.cjs → vue-ui-spark-trend-DO9LbfKP.cjs} +1 -1
  116. package/dist/{vue-ui-sparkbar-C3P0JRBt.cjs → vue-ui-sparkbar-BydU6AYL.cjs} +1 -1
  117. package/dist/{vue-ui-sparkbar-Dg_BQwqX.js → vue-ui-sparkbar-_ImT_rmQ.js} +4 -4
  118. package/dist/{vue-ui-sparkgauge-qQiFDw3N.cjs → vue-ui-sparkgauge-CP1tnMln.cjs} +1 -1
  119. package/dist/{vue-ui-sparkgauge-BavP6Ole.js → vue-ui-sparkgauge-DwVjglhg.js} +4 -4
  120. package/dist/{vue-ui-sparkhistogram-a94AQs4F.js → vue-ui-sparkhistogram-BsaYQmh9.js} +5 -5
  121. package/dist/{vue-ui-sparkhistogram-CKzO2iWU.cjs → vue-ui-sparkhistogram-DUi7rP7a.cjs} +1 -1
  122. package/dist/{vue-ui-sparkline-C0oAuGCy.cjs → vue-ui-sparkline-CMURk8mO.cjs} +1 -1
  123. package/dist/{vue-ui-sparkline-IbHgQ77C.js → vue-ui-sparkline-DmePoZxQ.js} +4 -4
  124. package/dist/{vue-ui-sparkstackbar-EBUDRKtZ.js → vue-ui-sparkstackbar-B83LJYrz.js} +5 -5
  125. package/dist/{vue-ui-sparkstackbar-97HDKUwi.cjs → vue-ui-sparkstackbar-DIsWXCPJ.cjs} +1 -1
  126. package/dist/{vue-ui-stackbar-C13PP0dg.cjs → vue-ui-stackbar-CUmbJBQz.cjs} +1 -1
  127. package/dist/{vue-ui-stackbar-AOUoxsq4.js → vue-ui-stackbar-D7ayfpLF.js} +13 -13
  128. package/dist/{vue-ui-strip-plot-DWeZ3O_4.js → vue-ui-strip-plot-Co4JPPsu.js} +11 -11
  129. package/dist/{vue-ui-strip-plot-AignQPMK.cjs → vue-ui-strip-plot-D4VJAtJv.cjs} +1 -1
  130. package/dist/{vue-ui-table-QJiNs26-.js → vue-ui-table-CqBuNHeX.js} +1 -1
  131. package/dist/{vue-ui-table-heatmap-Bzg_U-SJ.cjs → vue-ui-table-heatmap-B8V6IJRD.cjs} +1 -1
  132. package/dist/{vue-ui-table-heatmap-puZtMYbT.js → vue-ui-table-heatmap-CcVjIvRn.js} +4 -4
  133. package/dist/{vue-ui-table-sparkline-DjXLFfW2.js → vue-ui-table-sparkline-A52CEigV.js} +5 -5
  134. package/dist/{vue-ui-table-sparkline-CSFwQ-t_.cjs → vue-ui-table-sparkline-DqNoUFXf.cjs} +1 -1
  135. package/dist/{vue-ui-table-LHqAw3kj.cjs → vue-ui-table-vBPVOVdW.cjs} +1 -1
  136. package/dist/{vue-ui-thermometer-POGAfb6R.js → vue-ui-thermometer-CZwzbH4U.js} +7 -7
  137. package/dist/{vue-ui-thermometer-DSSUevzu.cjs → vue-ui-thermometer-s-VfsY-H.cjs} +1 -1
  138. package/dist/{vue-ui-timer-D0963OD-.js → vue-ui-timer-CtLLA8zf.js} +5 -5
  139. package/dist/{vue-ui-timer-DjUsUfzP.cjs → vue-ui-timer-xBfXaHH4.cjs} +1 -1
  140. package/dist/{vue-ui-tiremarks-DXUrMZ7T.js → vue-ui-tiremarks-DAf44W2K.js} +7 -7
  141. package/dist/{vue-ui-tiremarks-C_0AHsKi.cjs → vue-ui-tiremarks-gIdzqyuY.cjs} +1 -1
  142. package/dist/{vue-ui-treemap-CUvGKwEs.js → vue-ui-treemap-aeR4rGYE.js} +11 -11
  143. package/dist/{vue-ui-treemap-B8Sgeetq.cjs → vue-ui-treemap-ux_WLWjB.cjs} +1 -1
  144. package/dist/{vue-ui-vertical-bar-CCa0uTe1.js → vue-ui-vertical-bar-BVxrBq8G.js} +12 -12
  145. package/dist/{vue-ui-vertical-bar-Cg6sLkdj.cjs → vue-ui-vertical-bar-D4XQjiLY.cjs} +1 -1
  146. package/dist/{vue-ui-waffle-qEyd5OiZ.cjs → vue-ui-waffle-lSlfXn1P.cjs} +1 -1
  147. package/dist/{vue-ui-waffle-C10atPU7.js → vue-ui-waffle-o1EM500w.js} +12 -12
  148. package/dist/{vue-ui-wheel-B-xkw7-m.js → vue-ui-wheel-CU_OW9-2.js} +7 -7
  149. package/dist/{vue-ui-wheel-DUaoTdNN.cjs → vue-ui-wheel-lEiHpMDb.cjs} +1 -1
  150. package/dist/{vue-ui-word-cloud-B98OKu54.cjs → vue-ui-word-cloud-BhbV09xg.cjs} +1 -1
  151. package/dist/{vue-ui-word-cloud-CtDZc_V9.js → vue-ui-word-cloud-DKlJ3x7X.js} +10 -10
  152. package/dist/{vue-ui-xy-UADM7lRZ.js → vue-ui-xy-CsFUNXKI.js} +147 -140
  153. package/dist/vue-ui-xy-DdSlwQAQ.cjs +3 -0
  154. package/dist/{vue-ui-xy-canvas-hICyyv_N.cjs → vue-ui-xy-canvas-Dow767yO.cjs} +1 -1
  155. package/dist/{vue-ui-xy-canvas-BxWIqetr.js → vue-ui-xy-canvas-DxpbUfTQ.js} +12 -12
  156. package/package.json +1 -1
  157. package/dist/index-DmC7JfWg.cjs +0 -9
  158. package/dist/vue-ui-xy-BTIKZk4i.cjs +0 -3
@@ -1,12 +1,12 @@
1
1
  import { computed as f, ref as c, watch as J, onMounted as he, onBeforeUnmount as de, createElementBlock as v, openBlock as n, unref as s, normalizeStyle as S, createBlock as _, createCommentVNode as h, createSlots as ye, withCtx as g, renderSlot as y, normalizeProps as $, guardReactiveProps as O, normalizeClass as z, createVNode as fe, Fragment as K, renderList as Q, toDisplayString as pe } from "vue";
2
- import { u as ge, c as me, a as ke, o as we, e as be, w as Z, m as Ce, X as _e, i as $e, v as ee, f as Oe } from "./index-CuTBHfav.js";
3
- import { _ as Ie } from "./Title-BKxz9gY3.js";
4
- import { u as Pe, U as xe } from "./usePrinter-CdGgoEbU.js";
2
+ import { u as ge, c as me, a as ke, o as we, e as be, w as Z, m as Ce, X as _e, i as $e, v as ee, f as Oe } from "./index-4RRlWcLr.js";
3
+ import { _ as Ie } from "./Title-B47pulul.js";
4
+ import { u as Pe, U as xe } from "./usePrinter-FdlD3Leg.js";
5
5
  import { t as Ae, u as Fe } from "./useResponsive-vZgZwV-S.js";
6
- import Se from "./vue-ui-skeleton-CcUFTtI6.js";
7
- import { u as te } from "./useNestedProp-YdBGulzK.js";
8
- import { _ as ze } from "./PackageVersion-DuKFN8zj.js";
9
- import { P as Me } from "./PenAndPaper-D6TE0NXU.js";
6
+ import Se from "./vue-ui-skeleton-Txytd5FS.js";
7
+ import { u as te } from "./useNestedProp-CPc3u5vP.js";
8
+ import { _ as ze } from "./PackageVersion-J4TBr3Rf.js";
9
+ import { P as Me } from "./PenAndPaper-CZ-9vnJd.js";
10
10
  import { u as Te } from "./useUserOptionState-BIvW1Kz7.js";
11
11
  import { u as Ne } from "./useChartAccessibility-BWojgys7.js";
12
12
  import { _ as Re } from "./_plugin-vue_export-helper-CHgC5LLL.js";
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),i=require("./index-DmC7JfWg.cjs"),Q=require("./Title-DkB64UXq.cjs"),R=require("./usePrinter-BPAAQHlr.cjs"),V=require("./useResponsive-N8jl0-aC.cjs"),Z=require("./vue-ui-skeleton-1eDMCfCO.cjs"),U=require("./useNestedProp-DjxHSNja.cjs"),ee=require("./PackageVersion-CkZZ1O_f.cjs"),te=require("./PenAndPaper-OD8yUtcf.cjs"),le=require("./useUserOptionState-BgepsfED.cjs"),ne=require("./useChartAccessibility-Cm7nkzTG.cjs"),oe=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),ae=["id"],re=["xmlns","viewBox"],se=["width","height"],ue=["x1","x2","y1","y2","stroke","stroke-width","stroke-linecap"],ie=["d","fill"],ce=["cx","cy","r","stroke","stroke-width"],ve=["x","y","font-size","fill","font-weight"],de={key:5,class:"vue-data-ui-watermark"},he={__name:"vue-ui-wheel",props:{config:{type:Object,default(){return{}}},dataset:{type:Object,default(){return{}}}},setup(L,{expose:X}){const{vue_ui_wheel:j}=i.useConfig(),c=L,m=e.computed(()=>!!c.dataset&&Object.keys(c.dataset).length),g=e.ref(i.createUid()),G=e.ref(null),b=e.ref(0),d=e.ref(null),B=e.ref(null),P=e.ref(null),S=e.ref(null),_=e.ref(0),t=e.computed({get:()=>$(),set:l=>l}),{userOptionsVisible:k,setUserOptionsVisibility:N,keepUserOptionState:O}=le.useUserOptionState({config:t.value}),{svgRef:x}=ne.useChartAccessibility({config:t.value.style.chart.title});function $(){const l=U.useNestedProp({userConfig:c.config,defaultConfig:j});return l.theme?{...U.useNestedProp({userConfig:i.themes.vue_ui_wheel[l.theme]||c.config,defaultConfig:l})}:l}e.watch(()=>c.config,l=>{t.value=$(),k.value=!t.value.userOptions.showOnChartHover,M(),_.value+=1},{deep:!0});const{isPrinting:I,isImaging:z,generatePdf:A,generateImage:F}=R.usePrinter({elementId:g.value,fileName:t.value.style.chart.title.text||"vue-ui-wheel"}),H=e.computed(()=>t.value.userOptions.show&&!t.value.style.chart.title.text),o=e.ref({size:360,height:360,width:360}),w=e.ref(t.value.style.chart.layout.percentage.fontSize),r=e.computed(()=>({radius:Math.min(o.value.width,o.value.height)*.9/2,centerX:o.value.width/2,centerY:o.value.height/2}));function E(l,a=1){return{x:r.value.centerX+r.value.radius*Math.cos(29.85+l*Math.PI/180)*a,y:r.value.centerY+r.value.radius*Math.sin(29.85+l*Math.PI/180)*a}}const s=e.ref(t.value.style.chart.animation.use?0:c.dataset.percentage||0);e.watch(()=>c.dataset,l=>{t.value.style.chart.animation.use?T(l.percentage):s.value=l.percentage||0},{deep:!0});const h=e.ref(null);e.onMounted(()=>{M()});function M(){if(i.objectIsEmpty(c.dataset)&&i.error({componentName:"VueUiWheel",type:"dataset"}),T(c.dataset.percentage||0),t.value.responsive){const l=V.throttle(()=>{const{width:a,height:n}=V.useResponsive({chart:d.value,title:t.value.style.chart.title.text?B.value:null,source:P.value,noTitle:S.value});requestAnimationFrame(()=>{o.value.width=a,o.value.height=n,w.value=t.value.style.chart.layout.percentage.fontSize/360*Math.min(a,n)})});h.value=new ResizeObserver(l),h.value.observe(d.value.parentNode)}}e.onBeforeUnmount(()=>{h.value&&h.value.disconnect()});function T(l){let a=t.value.style.chart.animation.speed;const n=Math.abs(l-s.value)/(a*120);function u(){s.value<l?s.value=Math.min(s.value+n,l):s.value>l&&(s.value=Math.max(s.value-n,l)),s.value!==l&&requestAnimationFrame(u)}u()}const v=e.computed(()=>Math.max(100,t.value.style.chart.layout.wheel.ticks.quantity)),f=e.computed(()=>100/v.value),q=e.computed(()=>{const l=[];for(let a=0;a<v.value;a+=1){const n=s.value>a*f.value?t.value.style.chart.layout.wheel.ticks.activeColor:t.value.style.chart.layout.wheel.ticks.inactiveColor,{x:u,y:W}=E(o.value.size/v.value*a),{x:J,y:K}=E(o.value.size/v.value*a,t.value.style.chart.layout.wheel.ticks.sizeRatio);l.push({x1:u,y1:W,x2:J,y2:K,color:t.value.style.chart.layout.wheel.ticks.gradient.show?i.shiftHue(n,a*f.value/v.value*(t.value.style.chart.layout.wheel.ticks.gradient.shiftHueIntensity/100)):n})}return l}),D=e.computed(()=>i.makeDonut({series:q.value.map(l=>({name:"",value:1,color:l.color}))},r.value.centerX,r.value.centerY,r.value.radius,r.value.radius,1.99999,2,1,360,105.25,r.value.radius*(1-t.value.style.chart.layout.wheel.ticks.sizeRatio))),y=e.ref(!1);function Y(l){y.value=l,b.value+=1}const p=e.ref(!1);function C(){p.value=!p.value}return X({generatePdf:A,generateImage:F,toggleAnnotator:C}),(l,a)=>(e.openBlock(),e.createElementBlock("div",{class:"vue-ui-wheel",ref_key:"wheelChart",ref:d,id:g.value,style:e.normalizeStyle(`font-family:${t.value.style.fontFamily};width:100%; text-align:center;background:${t.value.style.chart.backgroundColor};${t.value.responsive?"height:100%":""}`),onMouseenter:a[0]||(a[0]=()=>e.unref(N)(!0)),onMouseleave:a[1]||(a[1]=()=>e.unref(N)(!1))},[t.value.userOptions.buttons.annotator?(e.openBlock(),e.createBlock(te.PenAndPaper,{key:0,svgRef:e.unref(x),backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,active:p.value,onClose:C},null,8,["svgRef","backgroundColor","color","active"])):e.createCommentVNode("",!0),H.value?(e.openBlock(),e.createElementBlock("div",{key:1,ref_key:"noTitle",ref:S,class:"vue-data-ui-no-title-space",style:"height:36px; width: 100%;background:transparent"},null,512)):e.createCommentVNode("",!0),t.value.style.chart.title.text?(e.openBlock(),e.createElementBlock("div",{key:2,ref_key:"chartTitle",ref:B,style:"width:100%;background:transparent;padding-bottom:12px"},[(e.openBlock(),e.createBlock(Q._sfc_main,{key:`title_${_.value}`,config:{title:{cy:"wheel-title",...t.value.style.chart.title},subtitle:{cy:"wheel-subtitle",...t.value.style.chart.title.subtitle}}},null,8,["config"]))],512)):e.createCommentVNode("",!0),t.value.userOptions.show&&m.value&&(e.unref(O)||e.unref(k))?(e.openBlock(),e.createBlock(R.UserOptions,{ref_key:"details",ref:G,key:`user_options_${b.value}`,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,isPrinting:e.unref(I),isImaging:e.unref(z),uid:g.value,hasPdf:t.value.userOptions.buttons.pdf,hasImg:t.value.userOptions.buttons.img,hasFullscreen:t.value.userOptions.buttons.fullscreen,hasXls:!1,isFullscreen:y.value,position:t.value.userOptions.position,titles:{...t.value.userOptions.buttonTitles},hasAnnotator:t.value.userOptions.buttons.annotator,isAnnotation:p.value,chartElement:d.value,onToggleFullscreen:Y,onGeneratePdf:e.unref(A),onGenerateImage:e.unref(F),onToggleAnnotator:C,style:e.normalizeStyle({visibility:e.unref(O)?e.unref(k)?"visible":"hidden":"visible"})},e.createSlots({_:2},[l.$slots.menuIcon?{name:"menuIcon",fn:e.withCtx(({isOpen:n,color:u})=>[e.renderSlot(l.$slots,"menuIcon",e.normalizeProps(e.guardReactiveProps({isOpen:n,color:u})),void 0,!0)]),key:"0"}:void 0,l.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionPdf",{},void 0,!0)]),key:"1"}:void 0,l.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionImg",{},void 0,!0)]),key:"2"}:void 0,l.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:n,isFullscreen:u})=>[e.renderSlot(l.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:n,isFullscreen:u})),void 0,!0)]),key:"3"}:void 0,l.$slots.optionAnnotator?{name:"optionAnnotator",fn:e.withCtx(({toggleAnnotator:n,isAnnotator:u})=>[e.renderSlot(l.$slots,"optionAnnotator",e.normalizeProps(e.guardReactiveProps({toggleAnnotator:n,isAnnotator:u})),void 0,!0)]),key:"4"}:void 0]),1032,["backgroundColor","color","isPrinting","isImaging","uid","hasPdf","hasImg","hasFullscreen","isFullscreen","position","titles","hasAnnotator","isAnnotation","chartElement","onGeneratePdf","onGenerateImage","style"])):e.createCommentVNode("",!0),m.value?(e.openBlock(),e.createElementBlock("svg",{key:4,ref_key:"svgRef",ref:x,xmlns:e.unref(i.XMLNS),class:e.normalizeClass({"vue-data-ui-fullscreen--on":y.value,"vue-data-ui-fulscreen--off":!y.value}),viewBox:`0 0 ${o.value.width<=0?10:o.value.width} ${o.value.height<=0?10:o.value.height}`,style:e.normalizeStyle(`max-width:100%;overflow:visible;background:transparent;color:${t.value.style.chart.color}`)},[e.createVNode(ee._sfc_main),l.$slots["chart-background"]?(e.openBlock(),e.createElementBlock("foreignObject",{key:0,x:0,y:0,width:o.value.width<=0?10:o.value.width,height:o.value.height<=0?10:o.value.height,style:{pointerEvents:"none"}},[e.renderSlot(l.$slots,"chart-background",{},void 0,!0)],8,se)):e.createCommentVNode("",!0),t.value.style.chart.layout.wheel.ticks.type==="classic"?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(q.value,(n,u)=>(e.openBlock(),e.createElementBlock("line",{x1:n.x1,x2:n.x2,y1:n.y1,y2:n.y2,stroke:n.color,"stroke-width":t.value.style.chart.layout.wheel.ticks.strokeWidth/360*Math.min(o.value.width,o.value.height),"stroke-linecap":t.value.style.chart.layout.wheel.ticks.rounded?"round":"butt",class:e.normalizeClass({"vue-ui-tick-animated":t.value.style.chart.animation.use&&u*f.value<=s.value})},null,10,ue))),256)):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:2},e.renderList(D.value,(n,u)=>(e.openBlock(),e.createElementBlock("path",{d:n.arcSlice,fill:n.color,class:e.normalizeClass({"vue-ui-tick-animated":t.value.style.chart.animation.use&&u*f.value<=s.value})},null,10,ie))),256)),t.value.style.chart.layout.innerCircle.show?(e.openBlock(),e.createElementBlock("circle",{key:3,cx:r.value.centerX,cy:r.value.centerY,r:r.value.radius*.8<=0?1e-4:r.value.radius*.8,stroke:t.value.style.chart.layout.innerCircle.stroke,"stroke-width":t.value.style.chart.layout.innerCircle.strokeWidth,fill:"none"},null,8,ce)):e.createCommentVNode("",!0),t.value.style.chart.layout.percentage.show?(e.openBlock(),e.createElementBlock("text",{key:4,x:r.value.centerX,y:r.value.centerY+w.value/3,"font-size":w.value,fill:t.value.style.chart.layout.wheel.ticks.gradient.show?e.unref(i.shiftHue)(t.value.style.chart.layout.wheel.ticks.activeColor,s.value/100*(t.value.style.chart.layout.wheel.ticks.gradient.shiftHueIntensity/100)):t.value.style.chart.layout.wheel.ticks.activeColor,"text-anchor":"middle","font-weight":t.value.style.chart.layout.percentage.bold?"bold":"normal",style:{"font-variant-numeric":"tabluar-nums"}},e.toDisplayString(e.unref(i.applyDataLabel)(t.value.style.chart.layout.percentage.formatter,e.unref(i.checkNaN)(s.value),e.unref(i.dataLabel)({v:e.unref(i.checkNaN)(s.value),s:"%",r:t.value.style.chart.layout.percentage.rounding}))),9,ve)):e.createCommentVNode("",!0),e.renderSlot(l.$slots,"svg",{svg:o.value},void 0,!0)],14,re)):e.createCommentVNode("",!0),l.$slots.watermark?(e.openBlock(),e.createElementBlock("div",de,[e.renderSlot(l.$slots,"watermark",e.normalizeProps(e.guardReactiveProps({isPrinting:e.unref(I)||e.unref(z)})),void 0,!0)])):e.createCommentVNode("",!0),l.$slots.source?(e.openBlock(),e.createElementBlock("div",{key:6,ref_key:"source",ref:P,dir:"auto"},[e.renderSlot(l.$slots,"source",{},void 0,!0)],512)):e.createCommentVNode("",!0),m.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Z.default,{key:7,config:{type:"wheel",style:{backgroundColor:t.value.style.chart.backgroundColor,wheel:{color:"#CCCCCC"}}}},null,8,["config"]))],44,ae))}},fe=oe._export_sfc(he,[["__scopeId","data-v-a0e08156"]]);exports.default=fe;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),i=require("./index-0ZojJ1mH.cjs"),Q=require("./Title-DjxAodUf.cjs"),R=require("./usePrinter-DDgV-g0v.cjs"),V=require("./useResponsive-N8jl0-aC.cjs"),Z=require("./vue-ui-skeleton-raZOriRn.cjs"),U=require("./useNestedProp-OY09Srif.cjs"),ee=require("./PackageVersion-BV7LcPDV.cjs"),te=require("./PenAndPaper-DP7fHf74.cjs"),le=require("./useUserOptionState-BgepsfED.cjs"),ne=require("./useChartAccessibility-Cm7nkzTG.cjs"),oe=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),ae=["id"],re=["xmlns","viewBox"],se=["width","height"],ue=["x1","x2","y1","y2","stroke","stroke-width","stroke-linecap"],ie=["d","fill"],ce=["cx","cy","r","stroke","stroke-width"],ve=["x","y","font-size","fill","font-weight"],de={key:5,class:"vue-data-ui-watermark"},he={__name:"vue-ui-wheel",props:{config:{type:Object,default(){return{}}},dataset:{type:Object,default(){return{}}}},setup(L,{expose:X}){const{vue_ui_wheel:j}=i.useConfig(),c=L,m=e.computed(()=>!!c.dataset&&Object.keys(c.dataset).length),g=e.ref(i.createUid()),G=e.ref(null),b=e.ref(0),d=e.ref(null),B=e.ref(null),P=e.ref(null),S=e.ref(null),_=e.ref(0),t=e.computed({get:()=>$(),set:l=>l}),{userOptionsVisible:k,setUserOptionsVisibility:N,keepUserOptionState:O}=le.useUserOptionState({config:t.value}),{svgRef:x}=ne.useChartAccessibility({config:t.value.style.chart.title});function $(){const l=U.useNestedProp({userConfig:c.config,defaultConfig:j});return l.theme?{...U.useNestedProp({userConfig:i.themes.vue_ui_wheel[l.theme]||c.config,defaultConfig:l})}:l}e.watch(()=>c.config,l=>{t.value=$(),k.value=!t.value.userOptions.showOnChartHover,M(),_.value+=1},{deep:!0});const{isPrinting:I,isImaging:z,generatePdf:A,generateImage:F}=R.usePrinter({elementId:g.value,fileName:t.value.style.chart.title.text||"vue-ui-wheel"}),H=e.computed(()=>t.value.userOptions.show&&!t.value.style.chart.title.text),o=e.ref({size:360,height:360,width:360}),w=e.ref(t.value.style.chart.layout.percentage.fontSize),r=e.computed(()=>({radius:Math.min(o.value.width,o.value.height)*.9/2,centerX:o.value.width/2,centerY:o.value.height/2}));function E(l,a=1){return{x:r.value.centerX+r.value.radius*Math.cos(29.85+l*Math.PI/180)*a,y:r.value.centerY+r.value.radius*Math.sin(29.85+l*Math.PI/180)*a}}const s=e.ref(t.value.style.chart.animation.use?0:c.dataset.percentage||0);e.watch(()=>c.dataset,l=>{t.value.style.chart.animation.use?T(l.percentage):s.value=l.percentage||0},{deep:!0});const h=e.ref(null);e.onMounted(()=>{M()});function M(){if(i.objectIsEmpty(c.dataset)&&i.error({componentName:"VueUiWheel",type:"dataset"}),T(c.dataset.percentage||0),t.value.responsive){const l=V.throttle(()=>{const{width:a,height:n}=V.useResponsive({chart:d.value,title:t.value.style.chart.title.text?B.value:null,source:P.value,noTitle:S.value});requestAnimationFrame(()=>{o.value.width=a,o.value.height=n,w.value=t.value.style.chart.layout.percentage.fontSize/360*Math.min(a,n)})});h.value=new ResizeObserver(l),h.value.observe(d.value.parentNode)}}e.onBeforeUnmount(()=>{h.value&&h.value.disconnect()});function T(l){let a=t.value.style.chart.animation.speed;const n=Math.abs(l-s.value)/(a*120);function u(){s.value<l?s.value=Math.min(s.value+n,l):s.value>l&&(s.value=Math.max(s.value-n,l)),s.value!==l&&requestAnimationFrame(u)}u()}const v=e.computed(()=>Math.max(100,t.value.style.chart.layout.wheel.ticks.quantity)),f=e.computed(()=>100/v.value),q=e.computed(()=>{const l=[];for(let a=0;a<v.value;a+=1){const n=s.value>a*f.value?t.value.style.chart.layout.wheel.ticks.activeColor:t.value.style.chart.layout.wheel.ticks.inactiveColor,{x:u,y:W}=E(o.value.size/v.value*a),{x:J,y:K}=E(o.value.size/v.value*a,t.value.style.chart.layout.wheel.ticks.sizeRatio);l.push({x1:u,y1:W,x2:J,y2:K,color:t.value.style.chart.layout.wheel.ticks.gradient.show?i.shiftHue(n,a*f.value/v.value*(t.value.style.chart.layout.wheel.ticks.gradient.shiftHueIntensity/100)):n})}return l}),D=e.computed(()=>i.makeDonut({series:q.value.map(l=>({name:"",value:1,color:l.color}))},r.value.centerX,r.value.centerY,r.value.radius,r.value.radius,1.99999,2,1,360,105.25,r.value.radius*(1-t.value.style.chart.layout.wheel.ticks.sizeRatio))),y=e.ref(!1);function Y(l){y.value=l,b.value+=1}const p=e.ref(!1);function C(){p.value=!p.value}return X({generatePdf:A,generateImage:F,toggleAnnotator:C}),(l,a)=>(e.openBlock(),e.createElementBlock("div",{class:"vue-ui-wheel",ref_key:"wheelChart",ref:d,id:g.value,style:e.normalizeStyle(`font-family:${t.value.style.fontFamily};width:100%; text-align:center;background:${t.value.style.chart.backgroundColor};${t.value.responsive?"height:100%":""}`),onMouseenter:a[0]||(a[0]=()=>e.unref(N)(!0)),onMouseleave:a[1]||(a[1]=()=>e.unref(N)(!1))},[t.value.userOptions.buttons.annotator?(e.openBlock(),e.createBlock(te.PenAndPaper,{key:0,svgRef:e.unref(x),backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,active:p.value,onClose:C},null,8,["svgRef","backgroundColor","color","active"])):e.createCommentVNode("",!0),H.value?(e.openBlock(),e.createElementBlock("div",{key:1,ref_key:"noTitle",ref:S,class:"vue-data-ui-no-title-space",style:"height:36px; width: 100%;background:transparent"},null,512)):e.createCommentVNode("",!0),t.value.style.chart.title.text?(e.openBlock(),e.createElementBlock("div",{key:2,ref_key:"chartTitle",ref:B,style:"width:100%;background:transparent;padding-bottom:12px"},[(e.openBlock(),e.createBlock(Q._sfc_main,{key:`title_${_.value}`,config:{title:{cy:"wheel-title",...t.value.style.chart.title},subtitle:{cy:"wheel-subtitle",...t.value.style.chart.title.subtitle}}},null,8,["config"]))],512)):e.createCommentVNode("",!0),t.value.userOptions.show&&m.value&&(e.unref(O)||e.unref(k))?(e.openBlock(),e.createBlock(R.UserOptions,{ref_key:"details",ref:G,key:`user_options_${b.value}`,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,isPrinting:e.unref(I),isImaging:e.unref(z),uid:g.value,hasPdf:t.value.userOptions.buttons.pdf,hasImg:t.value.userOptions.buttons.img,hasFullscreen:t.value.userOptions.buttons.fullscreen,hasXls:!1,isFullscreen:y.value,position:t.value.userOptions.position,titles:{...t.value.userOptions.buttonTitles},hasAnnotator:t.value.userOptions.buttons.annotator,isAnnotation:p.value,chartElement:d.value,onToggleFullscreen:Y,onGeneratePdf:e.unref(A),onGenerateImage:e.unref(F),onToggleAnnotator:C,style:e.normalizeStyle({visibility:e.unref(O)?e.unref(k)?"visible":"hidden":"visible"})},e.createSlots({_:2},[l.$slots.menuIcon?{name:"menuIcon",fn:e.withCtx(({isOpen:n,color:u})=>[e.renderSlot(l.$slots,"menuIcon",e.normalizeProps(e.guardReactiveProps({isOpen:n,color:u})),void 0,!0)]),key:"0"}:void 0,l.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionPdf",{},void 0,!0)]),key:"1"}:void 0,l.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionImg",{},void 0,!0)]),key:"2"}:void 0,l.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:n,isFullscreen:u})=>[e.renderSlot(l.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:n,isFullscreen:u})),void 0,!0)]),key:"3"}:void 0,l.$slots.optionAnnotator?{name:"optionAnnotator",fn:e.withCtx(({toggleAnnotator:n,isAnnotator:u})=>[e.renderSlot(l.$slots,"optionAnnotator",e.normalizeProps(e.guardReactiveProps({toggleAnnotator:n,isAnnotator:u})),void 0,!0)]),key:"4"}:void 0]),1032,["backgroundColor","color","isPrinting","isImaging","uid","hasPdf","hasImg","hasFullscreen","isFullscreen","position","titles","hasAnnotator","isAnnotation","chartElement","onGeneratePdf","onGenerateImage","style"])):e.createCommentVNode("",!0),m.value?(e.openBlock(),e.createElementBlock("svg",{key:4,ref_key:"svgRef",ref:x,xmlns:e.unref(i.XMLNS),class:e.normalizeClass({"vue-data-ui-fullscreen--on":y.value,"vue-data-ui-fulscreen--off":!y.value}),viewBox:`0 0 ${o.value.width<=0?10:o.value.width} ${o.value.height<=0?10:o.value.height}`,style:e.normalizeStyle(`max-width:100%;overflow:visible;background:transparent;color:${t.value.style.chart.color}`)},[e.createVNode(ee._sfc_main),l.$slots["chart-background"]?(e.openBlock(),e.createElementBlock("foreignObject",{key:0,x:0,y:0,width:o.value.width<=0?10:o.value.width,height:o.value.height<=0?10:o.value.height,style:{pointerEvents:"none"}},[e.renderSlot(l.$slots,"chart-background",{},void 0,!0)],8,se)):e.createCommentVNode("",!0),t.value.style.chart.layout.wheel.ticks.type==="classic"?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(q.value,(n,u)=>(e.openBlock(),e.createElementBlock("line",{x1:n.x1,x2:n.x2,y1:n.y1,y2:n.y2,stroke:n.color,"stroke-width":t.value.style.chart.layout.wheel.ticks.strokeWidth/360*Math.min(o.value.width,o.value.height),"stroke-linecap":t.value.style.chart.layout.wheel.ticks.rounded?"round":"butt",class:e.normalizeClass({"vue-ui-tick-animated":t.value.style.chart.animation.use&&u*f.value<=s.value})},null,10,ue))),256)):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:2},e.renderList(D.value,(n,u)=>(e.openBlock(),e.createElementBlock("path",{d:n.arcSlice,fill:n.color,class:e.normalizeClass({"vue-ui-tick-animated":t.value.style.chart.animation.use&&u*f.value<=s.value})},null,10,ie))),256)),t.value.style.chart.layout.innerCircle.show?(e.openBlock(),e.createElementBlock("circle",{key:3,cx:r.value.centerX,cy:r.value.centerY,r:r.value.radius*.8<=0?1e-4:r.value.radius*.8,stroke:t.value.style.chart.layout.innerCircle.stroke,"stroke-width":t.value.style.chart.layout.innerCircle.strokeWidth,fill:"none"},null,8,ce)):e.createCommentVNode("",!0),t.value.style.chart.layout.percentage.show?(e.openBlock(),e.createElementBlock("text",{key:4,x:r.value.centerX,y:r.value.centerY+w.value/3,"font-size":w.value,fill:t.value.style.chart.layout.wheel.ticks.gradient.show?e.unref(i.shiftHue)(t.value.style.chart.layout.wheel.ticks.activeColor,s.value/100*(t.value.style.chart.layout.wheel.ticks.gradient.shiftHueIntensity/100)):t.value.style.chart.layout.wheel.ticks.activeColor,"text-anchor":"middle","font-weight":t.value.style.chart.layout.percentage.bold?"bold":"normal",style:{"font-variant-numeric":"tabluar-nums"}},e.toDisplayString(e.unref(i.applyDataLabel)(t.value.style.chart.layout.percentage.formatter,e.unref(i.checkNaN)(s.value),e.unref(i.dataLabel)({v:e.unref(i.checkNaN)(s.value),s:"%",r:t.value.style.chart.layout.percentage.rounding}))),9,ve)):e.createCommentVNode("",!0),e.renderSlot(l.$slots,"svg",{svg:o.value},void 0,!0)],14,re)):e.createCommentVNode("",!0),l.$slots.watermark?(e.openBlock(),e.createElementBlock("div",de,[e.renderSlot(l.$slots,"watermark",e.normalizeProps(e.guardReactiveProps({isPrinting:e.unref(I)||e.unref(z)})),void 0,!0)])):e.createCommentVNode("",!0),l.$slots.source?(e.openBlock(),e.createElementBlock("div",{key:6,ref_key:"source",ref:P,dir:"auto"},[e.renderSlot(l.$slots,"source",{},void 0,!0)],512)):e.createCommentVNode("",!0),m.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Z.default,{key:7,config:{type:"wheel",style:{backgroundColor:t.value.style.chart.backgroundColor,wheel:{color:"#CCCCCC"}}}},null,8,["config"]))],44,ae))}},fe=oe._export_sfc(he,[["__scopeId","data-v-a0e08156"]]);exports.default=fe;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),s=require("./index-DmC7JfWg.cjs"),Te=require("./Title-DkB64UXq.cjs"),ce=require("./usePrinter-BPAAQHlr.cjs"),H=require("./useResponsive-N8jl0-aC.cjs"),Ne=require("./vue-ui-accordion-C2sI_ZUV.cjs"),Pe=require("./DataTable-CXOVBVg-.cjs"),Be=require("./BaseIcon-CA4E8VvP.cjs"),ve=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),de=require("./useNestedProp-DjxHSNja.cjs"),Fe=require("./PackageVersion-CkZZ1O_f.cjs"),ze=require("./Tooltip-CFdxdcrD.cjs"),Ae=require("./PenAndPaper-OD8yUtcf.cjs"),Oe=require("./useUserOptionState-BgepsfED.cjs"),Ve=require("./useChartAccessibility-Cm7nkzTG.cjs"),Ee={"data-html2canvas-ignore":""},Me={key:0,class:"reset-wrapper"},Ie={key:1,class:"reset-wrapper"},Re={class:"mono-slicer"},_e=["min","max","value"],qe={__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(d,{emit:R}){e.useCssVars(y=>({"782b8172":i.value,"102109e6":B.value,"642212d7":$.value,"1f5369d4":d.selectColor,"22b98ab8":C.value}));const v=d,i=e.computed(()=>v.inputColor),C=e.computed(()=>v.background),$=e.computed(()=>`${v.selectColor}33`),B=e.computed(()=>v.borderColor),f=R;function T(){f("reset")}const F=e.computed(()=>{const y=v.max-v.min,m=0,b=(v.value-v.min)/y*100;return{left:`${m}%`,width:`${b-m}%`,background:v.selectColor}});return(y,m)=>(e.openBlock(),e.createElementBlock("div",Ee,[d.value!==d.source?(e.openBlock(),e.createElementBlock("div",Me,[d.useResetSlot?e.renderSlot(y.$slots,"reset-action",{key:1,reset:T},void 0,!0):(e.openBlock(),e.createElementBlock("button",{key:0,"data-cy-reset":"",tabindex:"0",role:"button",class:"vue-data-ui-refresh-button",onClick:T},[e.createVNode(Be.default,{name:"refresh",stroke:d.textColor},null,8,["stroke"])]))])):(e.openBlock(),e.createElementBlock("div",Ie)),e.createElementVNode("div",Re,[m[1]||(m[1]=e.createElementVNode("div",{class:"slider-track"},null,-1)),e.createElementVNode("div",{class:"range-highlight",style:e.normalizeStyle(F.value)},null,4),e.createElementVNode("input",{type:"range",min:d.min,max:d.max,value:Number(d.value),onInput:m[0]||(m[0]=b=>f("update:value",Number(b.target.value)))},null,40,_e)])]))}},We=ve._export_sfc(qe,[["__scopeId","data-v-b4e6aee9"]]),Ue=["id"],De=["xmlns","viewBox"],Ge=["width","height"],Le=["transform"],je=["fill","font-weight","x","y","font-size","transform","onMouseover"],He={key:4,class:"vue-data-ui-watermark"},Xe=["innerHTML"],Ye={__name:"vue-ui-word-cloud",props:{config:{type:Object,default(){return{}}},dataset:{type:[Array,String],default(){return[]}}},setup(d,{expose:R}){const{vue_ui_word_cloud:v}=s.useConfig(),i=d,C=e.computed({get(){return!!i.dataset&&i.dataset.length},set(o){return o}}),$=e.ref(s.createUid()),B=e.ref(0),f=e.ref(null),T=e.ref(null),F=e.ref(null),y=e.ref(0),m=e.ref(0),b=e.ref(!1),t=e.computed({get:()=>Q(),set:o=>o}),k=e.ref(X());function X(){return typeof i.dataset=="string"?s.createWordCloudDatasetFromPlainText(i.dataset):i.dataset.map((o,a)=>({...o,value:s.checkNaN(o.value)}))}e.watch(()=>i.dataset,()=>{k.value=X(),A()});const{userOptionsVisible:_,setUserOptionsVisibility:Y,keepUserOptionState:J}=Oe.useUserOptionState({config:t.value}),{svgRef:K}=Ve.useChartAccessibility({config:t.value.style.chart.title});function Q(){const o=de.useNestedProp({userConfig:i.config,defaultConfig:v});return o.theme?{...de.useNestedProp({userConfig:s.themes.vue_ui_word_cloud[o.theme]||i.config,defaultConfig:o}),customPalette:s.themePalettes[o.theme]||s.palette}:o}e.watch(()=>i.config,o=>{t.value=Q(),_.value=!t.value.userOptions.showOnChartHover,ee(),y.value+=1,m.value+=1,q(),c.value.showTable=t.value.table.show,c.value.showTooltip=t.value.style.chart.tooltip.show},{deep:!0});const Z=e.ref(null),w=e.ref(0),r=e.ref({width:t.value.style.chart.width,height:t.value.style.chart.height,maxFontSize:t.value.style.chart.words.maxFontSize,minFontSize:t.value.style.chart.words.minFontSize}),he=H.throttle(()=>{const{width:o,height:a}=H.useResponsive({chart:f.value,title:t.value.style.chart.title.text?T.value:null,slicer:t.value.style.chart.zoom.show&&Z.value,source:F.value});requestAnimationFrame(()=>{r.value.width=o,r.value.height=a,e.nextTick(A)})});e.watch(()=>w.value,()=>{me()});const me=H.debounce(()=>{A()},10);function q(){w.value=W.value}const z=e.ref(null);e.onMounted(()=>{ee(),q()});function ee(){s.objectIsEmpty(i.dataset)?s.error({componentName:"VueUiWordCloud",type:"dataset"}):k.value.forEach((o,a)=>{s.getMissingDatasetAttributes({datasetObject:o,requiredAttributes:["name","value"]}).forEach(l=>{C.value=!1,s.error({componentName:"VueUiWordCloud",type:"datasetSerieAttribute",property:l,index:a})})}),t.value.responsive&&(z.value=new ResizeObserver(he),z.value.observe(f.value.parentNode))}e.onBeforeUnmount(()=>{z.value&&z.value.disconnect()});const{isPrinting:te,isImaging:oe,generatePdf:le,generateImage:ae}=ce.usePrinter({elementId:`wordCloud_${$.value}`,fileName:t.value.style.chart.title.text||"vue-ui-word-cloud"}),c=e.ref({showTable:t.value.table.show,showTooltip:t.value.style.chart.tooltip.show});function pe(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 fe(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 ge(o,a,l){const u=[],n={x:-a/2,y:-l/2,width:a,height:l},h=0,p=0;return o.forEach(x=>{let L=!1;for(let I=0;I<Math.max(a,l)/2&&!L;I+=t.value.style.chart.words.packingWeight)for(let j=0;j<360&&!L;j+=t.value.style.chart.words.packingWeight){const ie=j*Math.PI/180,ke=h+I*Math.cos(ie)-x.width/2,we=p+I*Math.sin(ie)-x.height/2,g={...x,x:ke,y:we},Se=g.x>=n.x&&g.y>=n.y&&g.x+g.width<=n.x+n.width&&g.y+g.height<=n.y+n.height,xe=u.some($e=>fe(g,$e));Se&&!xe&&(u.push(g),L=!0)}}),u}const N=e.ref([]);e.watch(()=>i.dataset,A,{immediate:!0});const W=e.computed(()=>Math.round(Math.min(...k.value.map(o=>o.value)))),ne=e.computed(()=>Math.round(Math.max(...k.value.map(o=>o.value))));function A(){const o=[...k.value].filter(n=>n.value>=w.value).map(n=>n.value),a=Math.max(...o),l=Math.min(...o),u=[...k.value].filter(n=>n.value>=w.value).map((n,h)=>{let p=(n.value-l)/(a-l)*(r.value.maxFontSize-r.value.minFontSize)+r.value.minFontSize;p=isNaN(p)?r.value.minFontSize:p;const x=pe(n.name,p);return{...n,id:s.createUid(),fontSize:p,width:x.width,height:x.height,color:t.value.style.chart.words.usePalette?t.value.customPalette[h]||t.value.customPalette[h%t.value.customPalette.length]||s.palette[h]||s.palette[h%s.palette.length]:t.value.style.chart.words.color}});N.value=ge(u,r.value.width,r.value.height).sort((n,h)=>h.fontSize-n.fontSize)}const O=e.computed(()=>{const o=N.value.map(l=>({name:l.name,color:l.color})),a=N.value.map(l=>l.value);return{head:o,body:a}});function re(){e.nextTick(()=>{const o=O.value.head.map((u,n)=>[[u.name],[O.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=s.createCsvContent(a);s.downloadCsv({csvContent:l,title:t.value.style.chart.title.text||"vue-ui-word-cloud"})})}const V=e.computed(()=>{const o=[t.value.table.columnNames.series,t.value.table.columnNames.value],a=O.value.head.map((n,h)=>{const p=s.dataLabel({p:t.value.table.td.prefix,v:O.value.body[h],s:t.value.table.td.suffix,r:t.value.table.td.roundingValue});return[{color:n.color,name:n.name},p]}),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=e.ref(!1);function ye(o){E.value=o,B.value+=1}function be(){return N.value}function se(){c.value.showTable=!c.value.showTable}function ue(){c.value.showTooltip=!c.value.showTooltip}const M=e.ref(!1);function U(){M.value=!M.value}R({getData:be,generateCsv:re,generatePdf:le,generateImage:ae,toggleTable:se,toggleTooltip:ue,toggleAnnotator:U});const S=e.ref(null),P=e.ref(!1),D=e.ref(""),G=e.ref(null);function Ce(o){if(!c.value.showTooltip)return;S.value=o.id,G.value={datapoint:o,config:t.value};const a=t.value.style.chart.tooltip.customFormat;if(P.value=!1,s.isFunction(a))try{const l=a({datapoint:o,config:t.value});typeof l=="string"&&(D.value=l,P.value=!0)}catch{console.warn("Custom format cannot be applied."),P.value=!1}if(!P.value){let l=`<svg viewBox="0 0 10 10" height="${t.value.style.chart.tooltip.fontSize}"><circle cx="5" cy="5" r="5" fill="${o.color}"/></svg><span>${o.name}:</span><b>${(o.value||0).toFixed(t.value.style.chart.tooltip.roundingValue)}</b>`;D.value=`<div dir="auto" style="display:flex; gap:4px; align-items:center; jsutify-content:center;">${l}</div>`}b.value=!0}return(o,a)=>(e.openBlock(),e.createElementBlock("div",{class:"vue-ui-word-cloud",ref_key:"wordCloudChart",ref:f,id:`wordCloud_${$.value}`,style:e.normalizeStyle(`width: 100%; font-family:${t.value.style.fontFamily};background:${t.value.style.chart.backgroundColor};${t.value.responsive?"height:100%":""}`),onMouseenter:a[3]||(a[3]=()=>e.unref(Y)(!0)),onMouseleave:a[4]||(a[4]=()=>e.unref(Y)(!1))},[t.value.userOptions.buttons.annotator?(e.openBlock(),e.createBlock(Ae.PenAndPaper,{key:0,svgRef:e.unref(K),backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,active:M.value,onClose:U},null,8,["svgRef","backgroundColor","color","active"])):e.createCommentVNode("",!0),t.value.style.chart.title.text?(e.openBlock(),e.createElementBlock("div",{key:1,ref_key:"chartTitle",ref:T,style:"width:100%;background:transparent;padding-bottom:24px"},[(e.openBlock(),e.createBlock(Te._sfc_main,{key:`title_${y.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&&C.value&&(e.unref(J)||e.unref(_))?(e.openBlock(),e.createBlock(ce.UserOptions,{ref:"details",key:`user_option_${B.value}`,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,isPrinting:e.unref(te),isImaging:e.unref(oe),uid:$.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:E.value,titles:{...t.value.userOptions.buttonTitles},chartElement:f.value,position:t.value.userOptions.position,hasTooltip:t.value.style.chart.tooltip.show&&t.value.userOptions.buttons.tooltip,isTooltip:c.value.showTooltip,hasAnnotator:t.value.userOptions.buttons.annotator,isAnnotation:M.value,onToggleFullscreen:ye,onGeneratePdf:e.unref(le),onGenerateCsv:re,onGenerateImage:e.unref(ae),onToggleTable:se,onToggleTooltip:ue,onToggleAnnotator:U,style:e.normalizeStyle({visibility:e.unref(J)?e.unref(_)?"visible":"hidden":"visible"})},e.createSlots({_:2},[o.$slots.menuIcon?{name:"menuIcon",fn:e.withCtx(({isOpen:l,color:u})=>[e.renderSlot(o.$slots,"menuIcon",e.normalizeProps(e.guardReactiveProps({isOpen:l,color:u})),void 0,!0)]),key:"0"}:void 0,o.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionPdf",{},void 0,!0)]),key:"1"}:void 0,o.$slots.optionCsv?{name:"optionCsv",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionCsv",{},void 0,!0)]),key:"2"}:void 0,o.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionImg",{},void 0,!0)]),key:"3"}:void 0,o.$slots.optionTable?{name:"optionTable",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionTable",{},void 0,!0)]),key:"4"}:void 0,o.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:l,isFullscreen:u})=>[e.renderSlot(o.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:l,isFullscreen:u})),void 0,!0)]),key:"5"}:void 0,o.$slots.optionAnnotator?{name:"optionAnnotator",fn:e.withCtx(({toggleAnnotator:l,isAnnotator:u})=>[e.renderSlot(o.$slots,"optionAnnotator",e.normalizeProps(e.guardReactiveProps({toggleAnnotator:l,isAnnotator:u})),void 0,!0)]),key:"6"}:void 0]),1032,["backgroundColor","color","isPrinting","isImaging","uid","hasPdf","hasXls","hasImg","hasTable","hasFullscreen","isFullscreen","titles","chartElement","position","hasTooltip","isTooltip","hasAnnotator","isAnnotation","onGeneratePdf","onGenerateImage","style"])):e.createCommentVNode("",!0),C.value?(e.openBlock(),e.createElementBlock("svg",{key:3,ref_key:"svgRef",ref:K,class:e.normalizeClass({"vue-data-ui-fullscreen--on":E.value,"vue-data-ui-fulscreen--off":!E.value}),xmlns:e.unref(s.XMLNS),viewBox:`0 0 ${r.value.width<=0?10:r.value.width} ${r.value.height<=0?10:r.value.height}`,style:"overflow:visible;background:transparent;"},[e.createVNode(Fe._sfc_main),o.$slots["chart-background"]?(e.openBlock(),e.createElementBlock("foreignObject",{key:0,x:0,y:0,width:r.value.width<=0?10:r.value.width,height:r.value.height<=0?10:r.value.height,style:{pointerEvents:"none"}},[e.renderSlot(o.$slots,"chart-background",{},void 0,!0)],8,Ge)):e.createCommentVNode("",!0),e.createElementVNode("g",{transform:`translate(${(r.value.width<=0?10:r.value.width)/2}, ${(r.value.height<=0?10:r.value.height)/2})`},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(N.value,(l,u)=>(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:u,x:l.x,y:l.y,"font-size":l.fontSize,transform:`translate(${l.width/2}, ${l.height/2})`,class:e.normalizeClass({animated:t.value.useCssAnimation,"word-selected":S.value&&S.value===l.id&&c.value.showTooltip,"word-not-selected":S.value&&S.value!==l.id&&c.value.showTooltip}),"text-anchor":"middle","dominant-baseline":"central",onMouseover:n=>Ce(l),onMouseleave:a[0]||(a[0]=n=>{S.value=null,b.value=!1}),style:e.normalizeStyle(`animation-delay:${u*t.value.animationDelayMs}ms !important;`)},e.toDisplayString(l.name),47,je))]))),256))],8,Le),e.renderSlot(o.$slots,"svg",{svg:{height:r.value.height,width:r.value.width}},void 0,!0)],10,De)):e.createCommentVNode("",!0),o.$slots.watermark?(e.openBlock(),e.createElementBlock("div",He,[e.renderSlot(o.$slots,"watermark",e.normalizeProps(e.guardReactiveProps({isPrinting:e.unref(te)||e.unref(oe)})),void 0,!0)])):e.createCommentVNode("",!0),e.createVNode(ze._sfc_main,{show:c.value.showTooltip&&b.value,backgroundColor:t.value.style.chart.tooltip.backgroundColor,color:t.value.style.chart.tooltip.color,fontSize:t.value.style.chart.tooltip.fontSize,borderRadius:t.value.style.chart.tooltip.borderRadius,borderColor:t.value.style.chart.tooltip.borderColor,borderWidth:t.value.style.chart.tooltip.borderWidth,backgroundOpacity:t.value.style.chart.tooltip.backgroundOpacity,position:t.value.style.chart.tooltip.position,offsetY:t.value.style.chart.tooltip.offsetY,parent:f.value,content:D.value,isCustom:P.value},{"tooltip-before":e.withCtx(()=>[e.renderSlot(o.$slots,"tooltip-before",e.normalizeProps(e.guardReactiveProps({...G.value})),void 0,!0)]),"tooltip-after":e.withCtx(()=>[e.renderSlot(o.$slots,"tooltip-after",e.normalizeProps(e.guardReactiveProps({...G.value})),void 0,!0)]),_:3},8,["show","backgroundColor","color","fontSize","borderRadius","borderColor","borderWidth","backgroundOpacity","position","offsetY","parent","content","isCustom"]),e.createElementVNode("div",{ref_key:"chartSlicer",ref:Z,style:"width:100%;background:transparent","data-html2canvas-ignore":""},[t.value.style.chart.zoom.show&&W.value<ne.value?(e.openBlock(),e.createBlock(We,{key:0,value:w.value,"onUpdate:value":a[1]||(a[1]=l=>w.value=l),min:W.value,max:ne.value,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","min","max","textColor","inputColor","selectColor","useResetSlot","background","borderColor","source"])):e.createCommentVNode("",!0)],512),o.$slots.source?(e.openBlock(),e.createElementBlock("div",{key:5,ref_key:"source",ref:F,dir:"auto"},[e.renderSlot(o.$slots,"source",{},void 0,!0)],512)):e.createCommentVNode("",!0),C.value?(e.openBlock(),e.createBlock(Ne.default,{key:6,hideDetails:"",config:{open:c.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(Pe.DataTable,{key:`table_${m.value}`,colNames:V.value.colNames,head:V.value.head,body:V.value.body,config:V.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[2]||(a[2]=l=>c.value.showTable=!1)},{th:e.withCtx(({th:l})=>[e.createElementVNode("div",{innerHTML:l,style:{display:"flex","align-items":"center"}},null,8,Xe)]),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)],44,Ue))}},Je=ve._export_sfc(Ye,[["__scopeId","data-v-e87563ab"]]);exports.default=Je;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),s=require("./index-0ZojJ1mH.cjs"),Te=require("./Title-DjxAodUf.cjs"),ce=require("./usePrinter-DDgV-g0v.cjs"),H=require("./useResponsive-N8jl0-aC.cjs"),Ne=require("./vue-ui-accordion-BboUGt-9.cjs"),Pe=require("./DataTable-r2HNsyUX.cjs"),Be=require("./BaseIcon-BI3eFhr1.cjs"),ve=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),de=require("./useNestedProp-OY09Srif.cjs"),Fe=require("./PackageVersion-BV7LcPDV.cjs"),ze=require("./Tooltip-ogV3t9Et.cjs"),Ae=require("./PenAndPaper-DP7fHf74.cjs"),Oe=require("./useUserOptionState-BgepsfED.cjs"),Ve=require("./useChartAccessibility-Cm7nkzTG.cjs"),Ee={"data-html2canvas-ignore":""},Me={key:0,class:"reset-wrapper"},Ie={key:1,class:"reset-wrapper"},Re={class:"mono-slicer"},_e=["min","max","value"],qe={__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(d,{emit:R}){e.useCssVars(y=>({"782b8172":i.value,"102109e6":B.value,"642212d7":$.value,"1f5369d4":d.selectColor,"22b98ab8":C.value}));const v=d,i=e.computed(()=>v.inputColor),C=e.computed(()=>v.background),$=e.computed(()=>`${v.selectColor}33`),B=e.computed(()=>v.borderColor),f=R;function T(){f("reset")}const F=e.computed(()=>{const y=v.max-v.min,m=0,b=(v.value-v.min)/y*100;return{left:`${m}%`,width:`${b-m}%`,background:v.selectColor}});return(y,m)=>(e.openBlock(),e.createElementBlock("div",Ee,[d.value!==d.source?(e.openBlock(),e.createElementBlock("div",Me,[d.useResetSlot?e.renderSlot(y.$slots,"reset-action",{key:1,reset:T},void 0,!0):(e.openBlock(),e.createElementBlock("button",{key:0,"data-cy-reset":"",tabindex:"0",role:"button",class:"vue-data-ui-refresh-button",onClick:T},[e.createVNode(Be.default,{name:"refresh",stroke:d.textColor},null,8,["stroke"])]))])):(e.openBlock(),e.createElementBlock("div",Ie)),e.createElementVNode("div",Re,[m[1]||(m[1]=e.createElementVNode("div",{class:"slider-track"},null,-1)),e.createElementVNode("div",{class:"range-highlight",style:e.normalizeStyle(F.value)},null,4),e.createElementVNode("input",{type:"range",min:d.min,max:d.max,value:Number(d.value),onInput:m[0]||(m[0]=b=>f("update:value",Number(b.target.value)))},null,40,_e)])]))}},We=ve._export_sfc(qe,[["__scopeId","data-v-b4e6aee9"]]),Ue=["id"],De=["xmlns","viewBox"],Ge=["width","height"],Le=["transform"],je=["fill","font-weight","x","y","font-size","transform","onMouseover"],He={key:4,class:"vue-data-ui-watermark"},Xe=["innerHTML"],Ye={__name:"vue-ui-word-cloud",props:{config:{type:Object,default(){return{}}},dataset:{type:[Array,String],default(){return[]}}},setup(d,{expose:R}){const{vue_ui_word_cloud:v}=s.useConfig(),i=d,C=e.computed({get(){return!!i.dataset&&i.dataset.length},set(o){return o}}),$=e.ref(s.createUid()),B=e.ref(0),f=e.ref(null),T=e.ref(null),F=e.ref(null),y=e.ref(0),m=e.ref(0),b=e.ref(!1),t=e.computed({get:()=>Q(),set:o=>o}),k=e.ref(X());function X(){return typeof i.dataset=="string"?s.createWordCloudDatasetFromPlainText(i.dataset):i.dataset.map((o,a)=>({...o,value:s.checkNaN(o.value)}))}e.watch(()=>i.dataset,()=>{k.value=X(),A()});const{userOptionsVisible:_,setUserOptionsVisibility:Y,keepUserOptionState:J}=Oe.useUserOptionState({config:t.value}),{svgRef:K}=Ve.useChartAccessibility({config:t.value.style.chart.title});function Q(){const o=de.useNestedProp({userConfig:i.config,defaultConfig:v});return o.theme?{...de.useNestedProp({userConfig:s.themes.vue_ui_word_cloud[o.theme]||i.config,defaultConfig:o}),customPalette:s.themePalettes[o.theme]||s.palette}:o}e.watch(()=>i.config,o=>{t.value=Q(),_.value=!t.value.userOptions.showOnChartHover,ee(),y.value+=1,m.value+=1,q(),c.value.showTable=t.value.table.show,c.value.showTooltip=t.value.style.chart.tooltip.show},{deep:!0});const Z=e.ref(null),w=e.ref(0),r=e.ref({width:t.value.style.chart.width,height:t.value.style.chart.height,maxFontSize:t.value.style.chart.words.maxFontSize,minFontSize:t.value.style.chart.words.minFontSize}),he=H.throttle(()=>{const{width:o,height:a}=H.useResponsive({chart:f.value,title:t.value.style.chart.title.text?T.value:null,slicer:t.value.style.chart.zoom.show&&Z.value,source:F.value});requestAnimationFrame(()=>{r.value.width=o,r.value.height=a,e.nextTick(A)})});e.watch(()=>w.value,()=>{me()});const me=H.debounce(()=>{A()},10);function q(){w.value=W.value}const z=e.ref(null);e.onMounted(()=>{ee(),q()});function ee(){s.objectIsEmpty(i.dataset)?s.error({componentName:"VueUiWordCloud",type:"dataset"}):k.value.forEach((o,a)=>{s.getMissingDatasetAttributes({datasetObject:o,requiredAttributes:["name","value"]}).forEach(l=>{C.value=!1,s.error({componentName:"VueUiWordCloud",type:"datasetSerieAttribute",property:l,index:a})})}),t.value.responsive&&(z.value=new ResizeObserver(he),z.value.observe(f.value.parentNode))}e.onBeforeUnmount(()=>{z.value&&z.value.disconnect()});const{isPrinting:te,isImaging:oe,generatePdf:le,generateImage:ae}=ce.usePrinter({elementId:`wordCloud_${$.value}`,fileName:t.value.style.chart.title.text||"vue-ui-word-cloud"}),c=e.ref({showTable:t.value.table.show,showTooltip:t.value.style.chart.tooltip.show});function pe(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 fe(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 ge(o,a,l){const u=[],n={x:-a/2,y:-l/2,width:a,height:l},h=0,p=0;return o.forEach(x=>{let L=!1;for(let I=0;I<Math.max(a,l)/2&&!L;I+=t.value.style.chart.words.packingWeight)for(let j=0;j<360&&!L;j+=t.value.style.chart.words.packingWeight){const ie=j*Math.PI/180,ke=h+I*Math.cos(ie)-x.width/2,we=p+I*Math.sin(ie)-x.height/2,g={...x,x:ke,y:we},Se=g.x>=n.x&&g.y>=n.y&&g.x+g.width<=n.x+n.width&&g.y+g.height<=n.y+n.height,xe=u.some($e=>fe(g,$e));Se&&!xe&&(u.push(g),L=!0)}}),u}const N=e.ref([]);e.watch(()=>i.dataset,A,{immediate:!0});const W=e.computed(()=>Math.round(Math.min(...k.value.map(o=>o.value)))),ne=e.computed(()=>Math.round(Math.max(...k.value.map(o=>o.value))));function A(){const o=[...k.value].filter(n=>n.value>=w.value).map(n=>n.value),a=Math.max(...o),l=Math.min(...o),u=[...k.value].filter(n=>n.value>=w.value).map((n,h)=>{let p=(n.value-l)/(a-l)*(r.value.maxFontSize-r.value.minFontSize)+r.value.minFontSize;p=isNaN(p)?r.value.minFontSize:p;const x=pe(n.name,p);return{...n,id:s.createUid(),fontSize:p,width:x.width,height:x.height,color:t.value.style.chart.words.usePalette?t.value.customPalette[h]||t.value.customPalette[h%t.value.customPalette.length]||s.palette[h]||s.palette[h%s.palette.length]:t.value.style.chart.words.color}});N.value=ge(u,r.value.width,r.value.height).sort((n,h)=>h.fontSize-n.fontSize)}const O=e.computed(()=>{const o=N.value.map(l=>({name:l.name,color:l.color})),a=N.value.map(l=>l.value);return{head:o,body:a}});function re(){e.nextTick(()=>{const o=O.value.head.map((u,n)=>[[u.name],[O.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=s.createCsvContent(a);s.downloadCsv({csvContent:l,title:t.value.style.chart.title.text||"vue-ui-word-cloud"})})}const V=e.computed(()=>{const o=[t.value.table.columnNames.series,t.value.table.columnNames.value],a=O.value.head.map((n,h)=>{const p=s.dataLabel({p:t.value.table.td.prefix,v:O.value.body[h],s:t.value.table.td.suffix,r:t.value.table.td.roundingValue});return[{color:n.color,name:n.name},p]}),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=e.ref(!1);function ye(o){E.value=o,B.value+=1}function be(){return N.value}function se(){c.value.showTable=!c.value.showTable}function ue(){c.value.showTooltip=!c.value.showTooltip}const M=e.ref(!1);function U(){M.value=!M.value}R({getData:be,generateCsv:re,generatePdf:le,generateImage:ae,toggleTable:se,toggleTooltip:ue,toggleAnnotator:U});const S=e.ref(null),P=e.ref(!1),D=e.ref(""),G=e.ref(null);function Ce(o){if(!c.value.showTooltip)return;S.value=o.id,G.value={datapoint:o,config:t.value};const a=t.value.style.chart.tooltip.customFormat;if(P.value=!1,s.isFunction(a))try{const l=a({datapoint:o,config:t.value});typeof l=="string"&&(D.value=l,P.value=!0)}catch{console.warn("Custom format cannot be applied."),P.value=!1}if(!P.value){let l=`<svg viewBox="0 0 10 10" height="${t.value.style.chart.tooltip.fontSize}"><circle cx="5" cy="5" r="5" fill="${o.color}"/></svg><span>${o.name}:</span><b>${(o.value||0).toFixed(t.value.style.chart.tooltip.roundingValue)}</b>`;D.value=`<div dir="auto" style="display:flex; gap:4px; align-items:center; jsutify-content:center;">${l}</div>`}b.value=!0}return(o,a)=>(e.openBlock(),e.createElementBlock("div",{class:"vue-ui-word-cloud",ref_key:"wordCloudChart",ref:f,id:`wordCloud_${$.value}`,style:e.normalizeStyle(`width: 100%; font-family:${t.value.style.fontFamily};background:${t.value.style.chart.backgroundColor};${t.value.responsive?"height:100%":""}`),onMouseenter:a[3]||(a[3]=()=>e.unref(Y)(!0)),onMouseleave:a[4]||(a[4]=()=>e.unref(Y)(!1))},[t.value.userOptions.buttons.annotator?(e.openBlock(),e.createBlock(Ae.PenAndPaper,{key:0,svgRef:e.unref(K),backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,active:M.value,onClose:U},null,8,["svgRef","backgroundColor","color","active"])):e.createCommentVNode("",!0),t.value.style.chart.title.text?(e.openBlock(),e.createElementBlock("div",{key:1,ref_key:"chartTitle",ref:T,style:"width:100%;background:transparent;padding-bottom:24px"},[(e.openBlock(),e.createBlock(Te._sfc_main,{key:`title_${y.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&&C.value&&(e.unref(J)||e.unref(_))?(e.openBlock(),e.createBlock(ce.UserOptions,{ref:"details",key:`user_option_${B.value}`,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,isPrinting:e.unref(te),isImaging:e.unref(oe),uid:$.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:E.value,titles:{...t.value.userOptions.buttonTitles},chartElement:f.value,position:t.value.userOptions.position,hasTooltip:t.value.style.chart.tooltip.show&&t.value.userOptions.buttons.tooltip,isTooltip:c.value.showTooltip,hasAnnotator:t.value.userOptions.buttons.annotator,isAnnotation:M.value,onToggleFullscreen:ye,onGeneratePdf:e.unref(le),onGenerateCsv:re,onGenerateImage:e.unref(ae),onToggleTable:se,onToggleTooltip:ue,onToggleAnnotator:U,style:e.normalizeStyle({visibility:e.unref(J)?e.unref(_)?"visible":"hidden":"visible"})},e.createSlots({_:2},[o.$slots.menuIcon?{name:"menuIcon",fn:e.withCtx(({isOpen:l,color:u})=>[e.renderSlot(o.$slots,"menuIcon",e.normalizeProps(e.guardReactiveProps({isOpen:l,color:u})),void 0,!0)]),key:"0"}:void 0,o.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionPdf",{},void 0,!0)]),key:"1"}:void 0,o.$slots.optionCsv?{name:"optionCsv",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionCsv",{},void 0,!0)]),key:"2"}:void 0,o.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionImg",{},void 0,!0)]),key:"3"}:void 0,o.$slots.optionTable?{name:"optionTable",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionTable",{},void 0,!0)]),key:"4"}:void 0,o.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:l,isFullscreen:u})=>[e.renderSlot(o.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:l,isFullscreen:u})),void 0,!0)]),key:"5"}:void 0,o.$slots.optionAnnotator?{name:"optionAnnotator",fn:e.withCtx(({toggleAnnotator:l,isAnnotator:u})=>[e.renderSlot(o.$slots,"optionAnnotator",e.normalizeProps(e.guardReactiveProps({toggleAnnotator:l,isAnnotator:u})),void 0,!0)]),key:"6"}:void 0]),1032,["backgroundColor","color","isPrinting","isImaging","uid","hasPdf","hasXls","hasImg","hasTable","hasFullscreen","isFullscreen","titles","chartElement","position","hasTooltip","isTooltip","hasAnnotator","isAnnotation","onGeneratePdf","onGenerateImage","style"])):e.createCommentVNode("",!0),C.value?(e.openBlock(),e.createElementBlock("svg",{key:3,ref_key:"svgRef",ref:K,class:e.normalizeClass({"vue-data-ui-fullscreen--on":E.value,"vue-data-ui-fulscreen--off":!E.value}),xmlns:e.unref(s.XMLNS),viewBox:`0 0 ${r.value.width<=0?10:r.value.width} ${r.value.height<=0?10:r.value.height}`,style:"overflow:visible;background:transparent;"},[e.createVNode(Fe._sfc_main),o.$slots["chart-background"]?(e.openBlock(),e.createElementBlock("foreignObject",{key:0,x:0,y:0,width:r.value.width<=0?10:r.value.width,height:r.value.height<=0?10:r.value.height,style:{pointerEvents:"none"}},[e.renderSlot(o.$slots,"chart-background",{},void 0,!0)],8,Ge)):e.createCommentVNode("",!0),e.createElementVNode("g",{transform:`translate(${(r.value.width<=0?10:r.value.width)/2}, ${(r.value.height<=0?10:r.value.height)/2})`},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(N.value,(l,u)=>(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:u,x:l.x,y:l.y,"font-size":l.fontSize,transform:`translate(${l.width/2}, ${l.height/2})`,class:e.normalizeClass({animated:t.value.useCssAnimation,"word-selected":S.value&&S.value===l.id&&c.value.showTooltip,"word-not-selected":S.value&&S.value!==l.id&&c.value.showTooltip}),"text-anchor":"middle","dominant-baseline":"central",onMouseover:n=>Ce(l),onMouseleave:a[0]||(a[0]=n=>{S.value=null,b.value=!1}),style:e.normalizeStyle(`animation-delay:${u*t.value.animationDelayMs}ms !important;`)},e.toDisplayString(l.name),47,je))]))),256))],8,Le),e.renderSlot(o.$slots,"svg",{svg:{height:r.value.height,width:r.value.width}},void 0,!0)],10,De)):e.createCommentVNode("",!0),o.$slots.watermark?(e.openBlock(),e.createElementBlock("div",He,[e.renderSlot(o.$slots,"watermark",e.normalizeProps(e.guardReactiveProps({isPrinting:e.unref(te)||e.unref(oe)})),void 0,!0)])):e.createCommentVNode("",!0),e.createVNode(ze._sfc_main,{show:c.value.showTooltip&&b.value,backgroundColor:t.value.style.chart.tooltip.backgroundColor,color:t.value.style.chart.tooltip.color,fontSize:t.value.style.chart.tooltip.fontSize,borderRadius:t.value.style.chart.tooltip.borderRadius,borderColor:t.value.style.chart.tooltip.borderColor,borderWidth:t.value.style.chart.tooltip.borderWidth,backgroundOpacity:t.value.style.chart.tooltip.backgroundOpacity,position:t.value.style.chart.tooltip.position,offsetY:t.value.style.chart.tooltip.offsetY,parent:f.value,content:D.value,isCustom:P.value},{"tooltip-before":e.withCtx(()=>[e.renderSlot(o.$slots,"tooltip-before",e.normalizeProps(e.guardReactiveProps({...G.value})),void 0,!0)]),"tooltip-after":e.withCtx(()=>[e.renderSlot(o.$slots,"tooltip-after",e.normalizeProps(e.guardReactiveProps({...G.value})),void 0,!0)]),_:3},8,["show","backgroundColor","color","fontSize","borderRadius","borderColor","borderWidth","backgroundOpacity","position","offsetY","parent","content","isCustom"]),e.createElementVNode("div",{ref_key:"chartSlicer",ref:Z,style:"width:100%;background:transparent","data-html2canvas-ignore":""},[t.value.style.chart.zoom.show&&W.value<ne.value?(e.openBlock(),e.createBlock(We,{key:0,value:w.value,"onUpdate:value":a[1]||(a[1]=l=>w.value=l),min:W.value,max:ne.value,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","min","max","textColor","inputColor","selectColor","useResetSlot","background","borderColor","source"])):e.createCommentVNode("",!0)],512),o.$slots.source?(e.openBlock(),e.createElementBlock("div",{key:5,ref_key:"source",ref:F,dir:"auto"},[e.renderSlot(o.$slots,"source",{},void 0,!0)],512)):e.createCommentVNode("",!0),C.value?(e.openBlock(),e.createBlock(Ne.default,{key:6,hideDetails:"",config:{open:c.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(Pe.DataTable,{key:`table_${m.value}`,colNames:V.value.colNames,head:V.value.head,body:V.value.body,config:V.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[2]||(a[2]=l=>c.value.showTable=!1)},{th:e.withCtx(({th:l})=>[e.createElementVNode("div",{innerHTML:l,style:{display:"flex","align-items":"center"}},null,8,Xe)]),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)],44,Ue))}},Je=ve._export_sfc(Ye,[["__scopeId","data-v-e87563ab"]]);exports.default=Je;
@@ -1,16 +1,16 @@
1
1
  import { useCssVars as Ge, computed as y, createElementBlock as m, openBlock as r, createElementVNode as N, renderSlot as i, createVNode as ne, normalizeStyle as J, ref as n, watch as H, onMounted as Le, onBeforeUnmount as Xe, unref as c, createBlock as M, createCommentVNode as k, createSlots as je, withCtx as h, normalizeProps as S, guardReactiveProps as F, normalizeClass as $e, Fragment as qe, renderList as He, toDisplayString as xe, createTextVNode as Ye, nextTick as Te } from "vue";
2
- import { u as Je, c as Se, a5 as Ke, v as Qe, t as Ze, p as Y, a as et, o as tt, e as Fe, g as ot, f as at, X as lt, q as st, r as nt, x as rt } from "./index-CuTBHfav.js";
3
- import { _ as ut } from "./Title-BKxz9gY3.js";
4
- import { u as it, U as ct } from "./usePrinter-CdGgoEbU.js";
2
+ import { u as Je, c as Se, a5 as Ke, v as Qe, t as Ze, p as Y, a as et, o as tt, e as Fe, g as ot, f as at, X as lt, q as st, r as nt, x as rt } from "./index-4RRlWcLr.js";
3
+ import { _ as ut } from "./Title-B47pulul.js";
4
+ import { u as it, U as ct } from "./usePrinter-FdlD3Leg.js";
5
5
  import { d as dt, t as vt, u as ht } from "./useResponsive-vZgZwV-S.js";
6
- import mt from "./vue-ui-accordion-D0cMMd6H.js";
7
- import { D as ft } from "./DataTable-DfRIIBwi.js";
8
- import pt from "./BaseIcon-Bc9e5u1l.js";
6
+ import mt from "./vue-ui-accordion-I9YX633w.js";
7
+ import { D as ft } from "./DataTable-BT1MSIYm.js";
8
+ import pt from "./BaseIcon-h1prcupB.js";
9
9
  import { _ as ze } from "./_plugin-vue_export-helper-CHgC5LLL.js";
10
- import { u as Ne } from "./useNestedProp-YdBGulzK.js";
11
- import { _ as gt } from "./PackageVersion-DuKFN8zj.js";
12
- import { _ as yt } from "./Tooltip-DJhKmW8q.js";
13
- import { P as bt } from "./PenAndPaper-D6TE0NXU.js";
10
+ import { u as Ne } from "./useNestedProp-CPc3u5vP.js";
11
+ import { _ as gt } from "./PackageVersion-J4TBr3Rf.js";
12
+ import { _ as yt } from "./Tooltip-v3_dMNKi.js";
13
+ import { P as bt } from "./PenAndPaper-CZ-9vnJd.js";
14
14
  import { u as Ct } from "./useUserOptionState-BIvW1Kz7.js";
15
15
  import { u as kt } from "./useChartAccessibility-BWojgys7.js";
16
16
  const wt = { "data-html2canvas-ignore": "" }, $t = {