vue-data-ui 2.6.47 → 2.6.49-beta.0

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 (162) hide show
  1. package/dist/{Arrow-Dvz6Z2gU.js → Arrow-Dv70pgNR.js} +1 -1
  2. package/dist/{Arrow-CRrMt_zT.cjs → Arrow-shhEXYsq.cjs} +1 -1
  3. package/dist/{BaseIcon-DoqpR480.cjs → BaseIcon-D6QkKJpU.cjs} +1 -1
  4. package/dist/{BaseIcon-CEgQPz8O.js → BaseIcon-ZZc7VY8d.js} +8 -3
  5. package/dist/{ColorPicker-Bp_7FV2c.cjs → ColorPicker-CGbS8gKN.cjs} +1 -1
  6. package/dist/{ColorPicker-DwezDvSV.js → ColorPicker-CUJpXuSS.js} +3 -3
  7. package/dist/{DataTable-D_Guh5Hf.cjs → DataTable-CRuMrwb8.cjs} +1 -1
  8. package/dist/{DataTable-751-cN2c.js → DataTable-CmnlvDKM.js} +2 -2
  9. package/dist/{Legend-BG9fLat9.js → Legend-B3rCxiju.js} +2 -2
  10. package/dist/{Legend-CepYsC9r.cjs → Legend-KLm00z8t.cjs} +1 -1
  11. package/dist/{PackageVersion-SrpgZayt.js → PackageVersion-DavVl5j6.js} +1 -1
  12. package/dist/{PackageVersion-D8T0gm3t.cjs → PackageVersion-DwKk69DU.cjs} +1 -1
  13. package/dist/{PenAndPaper-jnD991LP.js → PenAndPaper-CGAd_cD9.js} +3 -3
  14. package/dist/{PenAndPaper-BJ6gGBM2.cjs → PenAndPaper-hlX2Djxv.cjs} +1 -1
  15. package/dist/{Shape-og7-ULyN.cjs → Shape-BGYZa31d.cjs} +1 -1
  16. package/dist/{Shape-BaijOBYT.js → Shape-CWFBkvfP.js} +1 -1
  17. package/dist/{Slicer-COHzItjq.js → Slicer-BEOWbyKm.js} +2 -2
  18. package/dist/{Slicer-B4ZDkwnQ.cjs → Slicer-CAyYbVK-.cjs} +1 -1
  19. package/dist/{Title-DMhhB9yN.js → Title-Ch602IT9.js} +1 -1
  20. package/dist/{Title-BUnn57ZR.cjs → Title-Iy2d-Bd1.cjs} +1 -1
  21. package/dist/{Tooltip-BaPecnnV.js → Tooltip-0IaPNa9t.js} +1 -1
  22. package/dist/{Tooltip-DJtOxx2P.cjs → Tooltip-DhV-T1A4.cjs} +1 -1
  23. package/dist/{index-DEbhC0cM.cjs → index-C4TeRZvT.cjs} +2 -2
  24. package/dist/{index-KdQpiTkm.js → index-C7spnOfS.js} +5 -2
  25. package/dist/style.css +1 -1
  26. package/dist/types/vue-data-ui.d.cts +38 -1
  27. package/dist/types/vue-data-ui.d.ts +38 -1
  28. package/dist/{useNestedProp-COYn8tA0.cjs → useNestedProp-BS-4R8zR.cjs} +1 -1
  29. package/dist/{useNestedProp-CO8Pe266.js → useNestedProp-BXHzK3EV.js} +1 -1
  30. package/dist/usePanZoom-CWL8SzZN.js +79 -0
  31. package/dist/usePanZoom-CppTL3G-.cjs +1 -0
  32. package/dist/{usePrinter-BuiF8wZK.js → usePrinter-BDUIRBP4.js} +1 -1
  33. package/dist/{usePrinter-DRmOwFc2.cjs → usePrinter-bFMowLOh.cjs} +1 -1
  34. package/dist/{vue-data-ui-3jkYjNO_.js → vue-data-ui-Be5Tgffi.js} +61 -61
  35. package/dist/{vue-data-ui-BbpJaKj_.cjs → vue-data-ui-CAyq9OfR.cjs} +1 -1
  36. package/dist/vue-data-ui.cjs +1 -1
  37. package/dist/vue-data-ui.js +22 -20
  38. package/dist/{vue-ui-3d-bar-Bda7eCM_.js → vue-ui-3d-bar-CtOPLOD3.js} +9 -9
  39. package/dist/{vue-ui-3d-bar-D7_7INdZ.cjs → vue-ui-3d-bar-M3DFCjSK.cjs} +1 -1
  40. package/dist/{vue-ui-accordion-ChxVn9CH.cjs → vue-ui-accordion-BIbie2vw.cjs} +1 -1
  41. package/dist/{vue-ui-accordion-CDTJiQu0.js → vue-ui-accordion-Bk2aYAD-.js} +3 -3
  42. package/dist/{vue-ui-age-pyramid-C-5yJnWs.cjs → vue-ui-age-pyramid-CR9x-PgJ.cjs} +1 -1
  43. package/dist/{vue-ui-age-pyramid-C4FUVgL1.js → vue-ui-age-pyramid-hyVqCFgO.js} +10 -10
  44. package/dist/{vue-ui-annotator-yLvZcOQb.cjs → vue-ui-annotator-BXHTI64K.cjs} +1 -1
  45. package/dist/{vue-ui-annotator-pYtolxGn.js → vue-ui-annotator-Qn0uc5GZ.js} +1 -1
  46. package/dist/{vue-ui-bullet-oEZK6DxU.js → vue-ui-bullet-CrWBMd4n.js} +8 -8
  47. package/dist/{vue-ui-bullet-BVmbUAYh.cjs → vue-ui-bullet-DM6lx30F.cjs} +1 -1
  48. package/dist/{vue-ui-candlestick-Cm0ipv0t.js → vue-ui-candlestick-B2jTfGz7.js} +11 -11
  49. package/dist/{vue-ui-candlestick-CVM-Yvvm.cjs → vue-ui-candlestick-DUZlc7tm.cjs} +1 -1
  50. package/dist/{vue-ui-carousel-table-BGPWwg3x.cjs → vue-ui-carousel-table-3QViQ5Bi.cjs} +1 -1
  51. package/dist/{vue-ui-carousel-table-PcE7YCyE.js → vue-ui-carousel-table-Cy39XJq8.js} +4 -4
  52. package/dist/{vue-ui-chestnut-CeYVXtyW.cjs → vue-ui-chestnut-CAEZuh12.cjs} +1 -1
  53. package/dist/{vue-ui-chestnut-Ob9Rt-3r.js → vue-ui-chestnut-Dr3sUQIO.js} +8 -8
  54. package/dist/{vue-ui-circle-pack-BF0PBuDU.js → vue-ui-circle-pack-C8lFd9HI.js} +9 -9
  55. package/dist/{vue-ui-circle-pack-pbnF0Jb7.cjs → vue-ui-circle-pack-DNSLbFV_.cjs} +1 -1
  56. package/dist/{vue-ui-cursor-DE4hlTca.cjs → vue-ui-cursor-B4KSNGDd.cjs} +1 -1
  57. package/dist/{vue-ui-cursor-Drnazkqg.js → vue-ui-cursor-Bim9FO5p.js} +2 -2
  58. package/dist/{vue-ui-dashboard-D3-z2poA.cjs → vue-ui-dashboard-BlMkdmJG.cjs} +1 -1
  59. package/dist/{vue-ui-dashboard-j5IuBHiv.js → vue-ui-dashboard-q2N-lR5R.js} +2 -2
  60. package/dist/{vue-ui-digits-CD5-WopZ.cjs → vue-ui-digits-BxsLTjn3.cjs} +1 -1
  61. package/dist/{vue-ui-digits-BRMuUzSA.js → vue-ui-digits-Cs5S9-t4.js} +2 -2
  62. package/dist/{vue-ui-donut-Dq1F2vBg.cjs → vue-ui-donut-CHAu83aL.cjs} +1 -1
  63. package/dist/{vue-ui-donut-CdVSree_.js → vue-ui-donut-CsK4bhU9.js} +12 -12
  64. package/dist/{vue-ui-donut-evolution-BQ7-rOnh.cjs → vue-ui-donut-evolution-DIgg0r1H.cjs} +1 -1
  65. package/dist/{vue-ui-donut-evolution-DzrJwccW.js → vue-ui-donut-evolution-DRIjATMj.js} +11 -11
  66. package/dist/{vue-ui-dumbbell-DSdwbWLI.cjs → vue-ui-dumbbell-Dnd5xBoE.cjs} +1 -1
  67. package/dist/{vue-ui-dumbbell-DuCdZc41.js → vue-ui-dumbbell-RqWpXNMb.js} +10 -10
  68. package/dist/{vue-ui-flow-D_UgsB9t.cjs → vue-ui-flow-DLkZ_RPK.cjs} +1 -1
  69. package/dist/{vue-ui-flow-CYpiRQ_u.js → vue-ui-flow-Wl9BdRET.js} +9 -9
  70. package/dist/{vue-ui-funnel-6q79enxr.js → vue-ui-funnel-BtEiPtWV.js} +9 -9
  71. package/dist/{vue-ui-funnel-Dr4ssgIM.cjs → vue-ui-funnel-C9kqSvdp.cjs} +1 -1
  72. package/dist/{vue-ui-galaxy-BGxIGzn8.cjs → vue-ui-galaxy-DuHBx10N.cjs} +1 -1
  73. package/dist/{vue-ui-galaxy-Bg-3xnWe.js → vue-ui-galaxy-Dy0szrMW.js} +11 -11
  74. package/dist/{vue-ui-gauge-DGt25KK7.cjs → vue-ui-gauge-BHTXAsP3.cjs} +1 -1
  75. package/dist/{vue-ui-gauge-Cwhlraja.js → vue-ui-gauge-Bl5tGVHq.js} +7 -7
  76. package/dist/{vue-ui-gizmo-C0024J7B.cjs → vue-ui-gizmo-C4BrHDh4.cjs} +1 -1
  77. package/dist/{vue-ui-gizmo-VRONxCxp.js → vue-ui-gizmo-DMyPBBMU.js} +3 -3
  78. package/dist/{vue-ui-heatmap-ay3NAawN.js → vue-ui-heatmap-TlpTNG5t.js} +10 -10
  79. package/dist/{vue-ui-heatmap-CTwazjkR.cjs → vue-ui-heatmap-sFIr2K5p.cjs} +1 -1
  80. package/dist/{vue-ui-history-plot-B_IHuJff.cjs → vue-ui-history-plot-DAjdzGlR.cjs} +1 -1
  81. package/dist/{vue-ui-history-plot-BQ_2NZVm.js → vue-ui-history-plot-Dy1j0BxQ.js} +11 -11
  82. package/dist/{vue-ui-kpi-BGSgE7Ck.js → vue-ui-kpi-BcmSRMqx.js} +3 -3
  83. package/dist/{vue-ui-kpi-BtHmGmj6.cjs → vue-ui-kpi-ujEXx77P.cjs} +1 -1
  84. package/dist/{vue-ui-mini-loader-DyRqUv0j.js → vue-ui-mini-loader-CjnStv_v.js} +2 -2
  85. package/dist/{vue-ui-mini-loader-Bwe3_hqy.cjs → vue-ui-mini-loader-DAPA-14x.cjs} +1 -1
  86. package/dist/vue-ui-molecule-DR0XoKl0.cjs +1 -0
  87. package/dist/vue-ui-molecule-JFJY9rsO.js +755 -0
  88. package/dist/{vue-ui-mood-radar-BxFd74g3.cjs → vue-ui-mood-radar-BaysMegc.cjs} +1 -1
  89. package/dist/{vue-ui-mood-radar-DAYJLwXw.js → vue-ui-mood-radar-COoBSKNH.js} +11 -11
  90. package/dist/{vue-ui-nested-donuts-r67jsUHC.js → vue-ui-nested-donuts-CtFedcCD.js} +11 -11
  91. package/dist/{vue-ui-nested-donuts-DP_cQ0OI.cjs → vue-ui-nested-donuts-DYBuISa1.cjs} +1 -1
  92. package/dist/{vue-ui-onion-C-d1e3w2.js → vue-ui-onion-CEUV1mny.js} +11 -11
  93. package/dist/{vue-ui-onion-CR4UoiPQ.cjs → vue-ui-onion-D6ZwBWQg.cjs} +1 -1
  94. package/dist/{vue-ui-parallel-coordinate-plot-DVltec37.cjs → vue-ui-parallel-coordinate-plot-BxNT4su_.cjs} +1 -1
  95. package/dist/{vue-ui-parallel-coordinate-plot-FRhJ4mby.js → vue-ui-parallel-coordinate-plot-DYTDHl62.js} +12 -12
  96. package/dist/{vue-ui-quadrant-BKWD8HER.js → vue-ui-quadrant-Bgw63sh8.js} +12 -12
  97. package/dist/{vue-ui-quadrant-D-vSAn7m.cjs → vue-ui-quadrant-j31KXFQl.cjs} +1 -1
  98. package/dist/{vue-ui-quick-chart-Cy3FCnd-.js → vue-ui-quick-chart-DQQj-yff.js} +9 -9
  99. package/dist/{vue-ui-quick-chart-Bbcex3jc.cjs → vue-ui-quick-chart-oEQhbqjr.cjs} +1 -1
  100. package/dist/{vue-ui-radar-BHCghGVU.cjs → vue-ui-radar-C5pUYB_x.cjs} +1 -1
  101. package/dist/{vue-ui-radar-BX_7Ngn_.js → vue-ui-radar-D8z1eA3O.js} +12 -12
  102. package/dist/{vue-ui-rating-CM6YiPW3.js → vue-ui-rating-CEIibBYU.js} +2 -2
  103. package/dist/{vue-ui-rating-JhzvmHjC.cjs → vue-ui-rating-CGh8TQ5M.cjs} +1 -1
  104. package/dist/{vue-ui-relation-circle-BPhcc_fN.cjs → vue-ui-relation-circle-Bf6kjYWL.cjs} +1 -1
  105. package/dist/{vue-ui-relation-circle-JTWFex69.js → vue-ui-relation-circle-BrIe8bZU.js} +7 -7
  106. package/dist/{vue-ui-rings-NBAca-G8.js → vue-ui-rings-6l5DQ0_9.js} +12 -12
  107. package/dist/{vue-ui-rings-CzXIKikH.cjs → vue-ui-rings-BmSQzToz.cjs} +1 -1
  108. package/dist/{vue-ui-scatter-5SJ4F605.js → vue-ui-scatter-0geSLTUp.js} +12 -12
  109. package/dist/{vue-ui-scatter-DCunyG-E.cjs → vue-ui-scatter-g67ClUSv.cjs} +1 -1
  110. package/dist/{vue-ui-screenshot-DPm6Bpiq.js → vue-ui-screenshot-CshpwrmO.js} +1 -1
  111. package/dist/{vue-ui-screenshot-q3DSJ00h.cjs → vue-ui-screenshot-r5tJCW0O.cjs} +1 -1
  112. package/dist/{vue-ui-skeleton-BhHXiz99.js → vue-ui-skeleton-Bn49rVXa.js} +3 -3
  113. package/dist/{vue-ui-skeleton-D7S6OsSN.cjs → vue-ui-skeleton-D7ijXB6x.cjs} +1 -1
  114. package/dist/{vue-ui-smiley-Cb8d713r.js → vue-ui-smiley-CzAtJD1G.js} +2 -2
  115. package/dist/{vue-ui-smiley-CQE1dvvV.cjs → vue-ui-smiley-HofydNoz.cjs} +1 -1
  116. package/dist/{vue-ui-spark-trend-BVNEGhp9.js → vue-ui-spark-trend-B70DhKVg.js} +5 -5
  117. package/dist/{vue-ui-spark-trend-7Bo9O1fQ.cjs → vue-ui-spark-trend-CdTdbj6x.cjs} +1 -1
  118. package/dist/{vue-ui-sparkbar-BbOu_w63.js → vue-ui-sparkbar-CZ8Nw4fl.js} +4 -4
  119. package/dist/{vue-ui-sparkbar-qAaHy4or.cjs → vue-ui-sparkbar-cJ7Wu051.cjs} +1 -1
  120. package/dist/{vue-ui-sparkgauge-ddRVuzSQ.cjs → vue-ui-sparkgauge-BWNkoMqk.cjs} +1 -1
  121. package/dist/{vue-ui-sparkgauge-BwNM15jl.js → vue-ui-sparkgauge-D-VwonfZ.js} +4 -4
  122. package/dist/{vue-ui-sparkhistogram-DhJ72P8O.js → vue-ui-sparkhistogram-BK58LMOs.js} +5 -5
  123. package/dist/{vue-ui-sparkhistogram-C8E73uuw.cjs → vue-ui-sparkhistogram-hBwVKdOS.cjs} +1 -1
  124. package/dist/{vue-ui-sparkline-C6wkmXa0.cjs → vue-ui-sparkline-BD4gkpj_.cjs} +1 -1
  125. package/dist/{vue-ui-sparkline-m3nNPKwo.js → vue-ui-sparkline-DORXFea9.js} +4 -4
  126. package/dist/{vue-ui-sparkstackbar-B71Vue4E.js → vue-ui-sparkstackbar-CNu5TNGE.js} +5 -5
  127. package/dist/{vue-ui-sparkstackbar-CJyCwn7x.cjs → vue-ui-sparkstackbar-ClcY4WWe.cjs} +1 -1
  128. package/dist/{vue-ui-stackbar-CL7KXBrn.js → vue-ui-stackbar--aCaS5x2.js} +13 -13
  129. package/dist/{vue-ui-stackbar-6W0SjyLd.cjs → vue-ui-stackbar-CkMwpXvU.cjs} +1 -1
  130. package/dist/{vue-ui-strip-plot-D10qNzJu.cjs → vue-ui-strip-plot-BiFHgg1S.cjs} +1 -1
  131. package/dist/{vue-ui-strip-plot-T99zioSX.js → vue-ui-strip-plot-CFVbMS6X.js} +11 -11
  132. package/dist/{vue-ui-table-CCrE_Qnd.js → vue-ui-table-B_3Ilpbe.js} +1 -1
  133. package/dist/{vue-ui-table-Cva4CGRJ.cjs → vue-ui-table-DR255TsX.cjs} +1 -1
  134. package/dist/{vue-ui-table-heatmap-CQbPKFW_.js → vue-ui-table-heatmap-BNxAz0s0.js} +4 -4
  135. package/dist/{vue-ui-table-heatmap-GOsIhgPo.cjs → vue-ui-table-heatmap-GUBFCD5M.cjs} +1 -1
  136. package/dist/{vue-ui-table-sparkline-AIunqOTn.cjs → vue-ui-table-sparkline-B4tLXnLP.cjs} +1 -1
  137. package/dist/{vue-ui-table-sparkline-CHtZhhn6.js → vue-ui-table-sparkline-DSOduMZf.js} +5 -5
  138. package/dist/{vue-ui-thermometer-CGAA0bAU.cjs → vue-ui-thermometer-D4xuEt1d.cjs} +1 -1
  139. package/dist/{vue-ui-thermometer-CCVPdXye.js → vue-ui-thermometer-DmM-HnTb.js} +7 -7
  140. package/dist/{vue-ui-timer-C3detaHT.cjs → vue-ui-timer-CRvBgkAk.cjs} +1 -1
  141. package/dist/{vue-ui-timer-Djxb8XuU.js → vue-ui-timer-Cv3Nx66b.js} +5 -5
  142. package/dist/{vue-ui-tiremarks-DExuaGwV.js → vue-ui-tiremarks-ASWxcVYt.js} +7 -7
  143. package/dist/{vue-ui-tiremarks-D-xQKhur.cjs → vue-ui-tiremarks-BCm4J3AS.cjs} +1 -1
  144. package/dist/{vue-ui-treemap-Dnn29Qdu.js → vue-ui-treemap-DkTT9Fpa.js} +12 -12
  145. package/dist/{vue-ui-treemap-BXWbdL3o.cjs → vue-ui-treemap-K-I2E3e-.cjs} +1 -1
  146. package/dist/{vue-ui-vertical-bar-B9-cwCz2.js → vue-ui-vertical-bar-CKAyFHu9.js} +12 -12
  147. package/dist/{vue-ui-vertical-bar-3V-J4-Qp.cjs → vue-ui-vertical-bar-CYsYkq04.cjs} +1 -1
  148. package/dist/{vue-ui-waffle-BH4NkBmK.js → vue-ui-waffle-DA1_yNZ7.js} +12 -12
  149. package/dist/{vue-ui-waffle-by6o3KnD.cjs → vue-ui-waffle-WHpYY_yA.cjs} +1 -1
  150. package/dist/{vue-ui-wheel-DWNHihoO.cjs → vue-ui-wheel-CWY3hkRC.cjs} +1 -1
  151. package/dist/{vue-ui-wheel-D2BqDvNB.js → vue-ui-wheel-vebQiYtM.js} +7 -7
  152. package/dist/vue-ui-word-cloud-CABqCfl5.js +571 -0
  153. package/dist/vue-ui-word-cloud-H7016Zdi.cjs +1 -0
  154. package/dist/{vue-ui-xy-CuLfvdAU.js → vue-ui-xy-C2OQ78CJ.js} +14 -14
  155. package/dist/{vue-ui-xy-luOYkYWO.cjs → vue-ui-xy-CrCJrk6u.cjs} +1 -1
  156. package/dist/{vue-ui-xy-canvas-bysKB96p.cjs → vue-ui-xy-canvas-D5iPJqoe.cjs} +1 -1
  157. package/dist/{vue-ui-xy-canvas-BK3C3PqR.js → vue-ui-xy-canvas-DvZgi7HV.js} +12 -12
  158. package/package.json +2 -2
  159. package/dist/vue-ui-molecule-Cy_P0hK2.cjs +0 -1
  160. package/dist/vue-ui-molecule-gJVbPM60.js +0 -830
  161. package/dist/vue-ui-word-cloud-Bpyn_t-K.js +0 -646
  162. package/dist/vue-ui-word-cloud-DvXgJCIv.cjs +0 -1
@@ -0,0 +1,571 @@
1
+ import { computed as O, ref as p, watch as re, onMounted as nt, onBeforeUnmount as st, createElementBlock as P, openBlock as C, unref as b, normalizeStyle as ue, createBlock as E, createCommentVNode as z, createVNode as _e, createSlots as rt, withCtx as S, renderSlot as x, normalizeProps as _, guardReactiveProps as I, normalizeClass as Ie, createElementVNode as Re, Fragment as ut, renderList as it, toDisplayString as We, createTextVNode as ct, nextTick as Ve } from "vue";
2
+ import { u as dt, c as Ue, a6 as vt, v as ht, t as ft, p as Z, a as mt, o as pt, e as De, g as gt, f as yt, X as bt, q as wt, r as Ct, x as kt } from "./index-C7spnOfS.js";
3
+ import { _ as $t } from "./Title-Ch602IT9.js";
4
+ import { u as xt, U as Tt } from "./usePrinter-BDUIRBP4.js";
5
+ import { t as St, u as Mt, d as Ft } from "./useResponsive-Cw4oZ8sQ.js";
6
+ import Pt from "./vue-ui-accordion-Bk2aYAD-.js";
7
+ import { D as zt } from "./DataTable-CmnlvDKM.js";
8
+ import { u as Be } from "./useNestedProp-BXHzK3EV.js";
9
+ import { _ as Ot } from "./PackageVersion-DavVl5j6.js";
10
+ import { _ as At } from "./Tooltip-0IaPNa9t.js";
11
+ import { P as Nt } from "./PenAndPaper-CGAd_cD9.js";
12
+ import { u as _t } from "./useUserOptionState-BIvW1Kz7.js";
13
+ import { u as It } from "./useChartAccessibility-BWojgys7.js";
14
+ import { u as Rt } from "./usePanZoom-CWL8SzZN.js";
15
+ import { _ as Wt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
+ const Vt = ["id"], Ut = ["xmlns", "viewBox"], Dt = ["width", "height"], Bt = ["transform"], Et = ["fill", "font-weight", "x", "y", "font-size", "transform", "onMouseover"], Gt = {
17
+ key: 4,
18
+ class: "vue-data-ui-watermark"
19
+ }, Lt = ["innerHTML"], Ht = {
20
+ __name: "vue-ui-word-cloud",
21
+ props: {
22
+ config: {
23
+ type: Object,
24
+ default() {
25
+ return {};
26
+ }
27
+ },
28
+ dataset: {
29
+ type: [Array, String],
30
+ default() {
31
+ return [];
32
+ }
33
+ }
34
+ },
35
+ setup(Ee, { expose: Ge }) {
36
+ const { vue_ui_word_cloud: Le } = dt(), M = Ee, G = O({
37
+ get() {
38
+ return !!M.dataset && M.dataset.length;
39
+ },
40
+ set(t) {
41
+ return t;
42
+ }
43
+ }), J = p(Ue()), ie = p(0), R = p(null), ce = p(null), de = p(null), ve = p(0), he = p(0), K = p(!1), e = O({
44
+ get: () => ge(),
45
+ set: (t) => t
46
+ }), A = p(fe());
47
+ function fe() {
48
+ return typeof M.dataset == "string" ? vt(M.dataset) : M.dataset.map((t, l) => ({
49
+ ...t,
50
+ value: ht(t.value)
51
+ }));
52
+ }
53
+ re(() => M.dataset, () => {
54
+ A.value = fe(), te();
55
+ });
56
+ const { userOptionsVisible: Q, setUserOptionsVisibility: me, keepUserOptionState: pe } = _t({ config: e.value }), { svgRef: ee } = It({ config: e.value.style.chart.title });
57
+ function ge() {
58
+ const t = Be({
59
+ userConfig: M.config,
60
+ defaultConfig: Le
61
+ });
62
+ return t.theme ? {
63
+ ...Be({
64
+ userConfig: mt.vue_ui_word_cloud[t.theme] || M.config,
65
+ defaultConfig: t
66
+ }),
67
+ customPalette: ft[t.theme] || Z
68
+ } : t;
69
+ }
70
+ re(() => M.config, (t) => {
71
+ e.value = ge(), Q.value = !e.value.userOptions.showOnChartHover, ye(), ve.value += 1, he.value += 1, refreshSlicer(), k.value.showTable = e.value.table.show, k.value.showTooltip = e.value.style.chart.tooltip.show;
72
+ }, { deep: !0 });
73
+ const n = p({
74
+ width: e.value.style.chart.width,
75
+ height: e.value.style.chart.height,
76
+ maxFontSize: e.value.style.chart.words.maxFontSize,
77
+ minFontSize: e.value.style.chart.words.minFontSize
78
+ }), He = Ft(() => {
79
+ te();
80
+ }, 10), je = St(() => {
81
+ const { width: t, height: l } = Mt({
82
+ chart: R.value,
83
+ title: e.value.style.chart.title.text ? ce.value : null,
84
+ source: de.value
85
+ });
86
+ requestAnimationFrame(() => {
87
+ n.value.width = t, n.value.height = l, Ve(He);
88
+ });
89
+ }), L = p(null);
90
+ nt(ye);
91
+ function ye() {
92
+ pt(M.dataset) ? De({
93
+ componentName: "VueUiWordCloud",
94
+ type: "dataset"
95
+ }) : A.value.forEach((t, l) => {
96
+ gt({
97
+ datasetObject: t,
98
+ requiredAttributes: ["name", "value"]
99
+ }).forEach((o) => {
100
+ G.value = !1, De({
101
+ componentName: "VueUiWordCloud",
102
+ type: "datasetSerieAttribute",
103
+ property: o,
104
+ index: l
105
+ });
106
+ });
107
+ }), e.value.responsive && (L.value = new ResizeObserver(je), L.value.observe(R.value.parentNode));
108
+ }
109
+ st(() => {
110
+ L.value && L.value.disconnect();
111
+ });
112
+ const { isPrinting: be, isImaging: we, generatePdf: Ce, generateImage: ke } = xt({
113
+ elementId: `wordCloud_${J.value}`,
114
+ fileName: e.value.style.chart.title.text || "vue-ui-word-cloud",
115
+ options: e.value.userOptions.print
116
+ }), k = p({
117
+ showTable: e.value.table.show,
118
+ showTooltip: e.value.style.chart.tooltip.show
119
+ });
120
+ function Xe(t, l, o = "Arial") {
121
+ const a = document.createElement("canvas").getContext("2d");
122
+ return a.font = `${l}px ${e.value.style.chart.words.bold ? "bold" : "normal"} ${o}`, {
123
+ width: a.measureText(t).width + e.value.style.chart.words.proximity,
124
+ height: l
125
+ };
126
+ }
127
+ function qe(t, l, o) {
128
+ const s = Math.round(l), a = Math.round(o), $ = 1, T = n.value.minFontSize, D = n.value.maxFontSize, Se = e.value.style.chart.words.proximity || 0, Me = t.map((h) => h.value), ne = Math.min(...Me), Fe = Math.max(...Me), Y = new Uint8Array(s * a), B = document.createElement("canvas"), F = B.getContext("2d", { willReadFrequently: !0 });
129
+ B.width = s, B.height = a;
130
+ function Pe(h, g, y) {
131
+ F.save(), F.font = `${n.value.style && n.value.style.bold ? "bold " : ""}${g}px Arial`;
132
+ const f = F.measureText(h.name), c = Math.ceil(f.width) + 2 + (y ? y * 2 : 0), r = Math.ceil(g) + 2 + (y ? y * 2 : 0);
133
+ B.width = c, B.height = r, F.clearRect(0, 0, c, r), F.font = `${n.value.style && n.value.style.bold ? "bold " : ""}${g}px Arial`, F.textAlign = "center", F.textBaseline = "middle", F.fillStyle = "black", F.fillText(h.name, c / 2, r / 2);
134
+ const i = F.getImageData(0, 0, c, r).data, d = [];
135
+ for (let m = 0; m < r; m += 1)
136
+ for (let v = 0; v < c; v += 1)
137
+ i[(m * c + v) * 4 + 3] > 1 && d.push([v, m]);
138
+ return F.restore(), { w: c, h: r, wordMask: d };
139
+ }
140
+ function ze(h, g, y, f, c, r) {
141
+ for (let u = 0; u < r.length; u += 1) {
142
+ const i = f + r[u][0], d = c + r[u][1];
143
+ if (i < 0 || d < 0 || i >= g || d >= y || h[d * g + i]) return !1;
144
+ }
145
+ return !0;
146
+ }
147
+ function Oe(h, g, y, f, c, r) {
148
+ for (let u = 0; u < r.length; u += 1) {
149
+ const i = f + r[u][0], d = c + r[u][1];
150
+ i >= 0 && d >= 0 && i < g && d < y && (h[d * g + i] = 1);
151
+ }
152
+ }
153
+ const Qe = 6, et = 2, tt = 2, ot = 1, Ae = Math.floor(s / 2), Ne = Math.floor(a / 2), at = [...t].sort((h, g) => g.value - h.value), se = [];
154
+ function lt(h, g, y, f = 1) {
155
+ const c = new Set(h.map(([u, i]) => `${u},${i}`)), r = new Set(c);
156
+ for (let [u, i] of h)
157
+ for (let d = -f; d <= f; d += 1)
158
+ for (let m = -f; m <= f; m += 1) {
159
+ if (d === 0 && m === 0) continue;
160
+ const v = u + d, w = i + m;
161
+ v >= 0 && v < g && w >= 0 && w < y && r.add(`${v},${w}`);
162
+ }
163
+ return Array.from(r).map((u) => u.split(",").map(Number));
164
+ }
165
+ for (const h of at) {
166
+ let g = T;
167
+ Fe !== ne && (g = (h.value - ne) / (Fe - ne) * (D - T) + T), g = Math.max(T, Math.min(D, g));
168
+ let y = !1, f = g;
169
+ for (; !y && f >= $; ) {
170
+ let { w: c, h: r, wordMask: u } = Pe(h, f, Se);
171
+ u = lt(u, c, r, 2);
172
+ let i = 0, d = 0;
173
+ for (; i < Math.max(s, a) && !y && d < 1e4; ) {
174
+ for (let m = 0; m < 360; m += Qe) {
175
+ d += 1;
176
+ const v = Math.round(Ae + i * Math.cos(m * Math.PI / 180) - c / 2), w = Math.round(Ne + i * Math.sin(m * Math.PI / 180) - r / 2);
177
+ if (!(v < 0 || w < 0 || v + c > s || w + r > a) && ze(Y, s, a, v, w, u)) {
178
+ se.push({ ...h, x: v - s / 2, y: w - a / 2, fontSize: f, width: c, height: r, angle: 0 }), Oe(Y, s, a, v, w, u), y = !0;
179
+ break;
180
+ }
181
+ }
182
+ i += et;
183
+ }
184
+ y || (f -= 1);
185
+ }
186
+ if (!y && f < $) {
187
+ f = $;
188
+ const { w: c, h: r, wordMask: u } = Pe(h, f, Se);
189
+ let i = 0, d = 0;
190
+ for (; i < Math.max(s, a) && !y && d < 25e3; ) {
191
+ for (let m = 0; m < 360; m += tt) {
192
+ d += 1;
193
+ const v = Math.round(Ae + i * Math.cos(m * Math.PI / 180) - c / 2), w = Math.round(Ne + i * Math.sin(m * Math.PI / 180) - r / 2);
194
+ if (!(v < 0 || w < 0 || v + c > s || w + r > a) && ze(Y, s, a, v, w, u)) {
195
+ se.push({ ...h, x: v - s / 2, y: w - a / 2, fontSize: f, width: c, height: r, angle: 0 }), Oe(Y, s, a, v, w, u), y = !0;
196
+ break;
197
+ }
198
+ }
199
+ i += ot;
200
+ }
201
+ }
202
+ }
203
+ return se;
204
+ }
205
+ const W = p([]);
206
+ re(() => M.dataset, te, { immediate: !0 }), O(() => Math.round(Math.min(...A.value.map((t) => t.value)))), O(() => Math.round(Math.max(...A.value.map((t) => t.value))));
207
+ function te() {
208
+ const t = [...A.value].map((a) => a.value), l = Math.max(...t), o = Math.min(...t), s = [...A.value].map((a, $) => {
209
+ let T = (a.value - o) / (l - o) * (n.value.maxFontSize - n.value.minFontSize) + n.value.minFontSize;
210
+ T = isNaN(T) ? n.value.minFontSize : T;
211
+ const D = Xe(a.name, T);
212
+ return {
213
+ ...a,
214
+ id: Ue(),
215
+ fontSize: T,
216
+ width: D.width,
217
+ height: D.height,
218
+ color: e.value.style.chart.words.usePalette ? e.value.customPalette[$] || e.value.customPalette[$ % e.value.customPalette.length] || Z[$] || Z[$ % Z.length] : e.value.style.chart.words.color
219
+ };
220
+ });
221
+ W.value = qe(s, n.value.width, n.value.height).sort((a, $) => $.fontSize - a.fontSize);
222
+ }
223
+ const H = O(() => {
224
+ const t = W.value.map((o) => ({
225
+ name: o.name,
226
+ color: o.color
227
+ })), l = W.value.map((o) => o.value);
228
+ return { head: t, body: l };
229
+ });
230
+ function $e() {
231
+ Ve(() => {
232
+ const t = H.value.head.map((s, a) => [[
233
+ s.name
234
+ ], [H.value.body[a]]]), l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], [e.value.table.columnNames.value]]].concat(t), o = wt(l);
235
+ Ct({ csvContent: o, title: e.value.style.chart.title.text || "vue-ui-word-cloud" });
236
+ });
237
+ }
238
+ const j = O(() => {
239
+ const t = [
240
+ e.value.table.columnNames.series,
241
+ e.value.table.columnNames.value
242
+ ], l = H.value.head.map((a, $) => {
243
+ const T = yt({ p: e.value.table.td.prefix, v: H.value.body[$], s: e.value.table.td.suffix, r: e.value.table.td.roundingValue });
244
+ return [
245
+ {
246
+ color: a.color,
247
+ name: a.name
248
+ },
249
+ T
250
+ ];
251
+ }), o = {
252
+ th: {
253
+ backgroundColor: e.value.table.th.backgroundColor,
254
+ color: e.value.table.th.color,
255
+ outline: e.value.table.th.outline
256
+ },
257
+ td: {
258
+ backgroundColor: e.value.table.td.backgroundColor,
259
+ color: e.value.table.td.color,
260
+ outline: e.value.table.td.outline
261
+ },
262
+ breakpoint: e.value.table.responsiveBreakpoint
263
+ };
264
+ return {
265
+ colNames: [
266
+ e.value.table.columnNames.series,
267
+ e.value.table.columnNames.value
268
+ ],
269
+ head: t,
270
+ body: l,
271
+ config: o
272
+ };
273
+ }), X = p(!1);
274
+ function Ye(t) {
275
+ X.value = t, ie.value += 1;
276
+ }
277
+ function Ze() {
278
+ return W.value;
279
+ }
280
+ function xe() {
281
+ k.value.showTable = !k.value.showTable;
282
+ }
283
+ function Te() {
284
+ k.value.showTooltip = !k.value.showTooltip;
285
+ }
286
+ const V = p(!1);
287
+ function oe() {
288
+ V.value = !V.value;
289
+ }
290
+ const Je = O(() => !V.value && e.value.style.chart.zoom.show), { viewBox: q } = Rt(ee, {
291
+ x: 0,
292
+ y: 0,
293
+ width: n.value.width <= 0 ? 10 : n.value.width,
294
+ height: n.value.height <= 0 ? 10 : n.value.height
295
+ }, 1, Je);
296
+ Ge({
297
+ getData: Ze,
298
+ generateCsv: $e,
299
+ generatePdf: Ce,
300
+ generateImage: ke,
301
+ toggleTable: xe,
302
+ toggleTooltip: Te,
303
+ toggleAnnotator: oe
304
+ });
305
+ const N = p(null), U = p(!1), ae = p(""), le = p(null);
306
+ function Ke(t) {
307
+ if (!k.value.showTooltip) return;
308
+ N.value = t.id, le.value = { datapoint: t, config: e.value };
309
+ const l = e.value.style.chart.tooltip.customFormat;
310
+ if (U.value = !1, kt(l))
311
+ try {
312
+ const o = l({
313
+ datapoint: t,
314
+ config: e.value
315
+ });
316
+ typeof o == "string" && (ae.value = o, U.value = !0);
317
+ } catch {
318
+ console.warn("Custom format cannot be applied."), U.value = !1;
319
+ }
320
+ if (!U.value) {
321
+ let o = `<svg viewBox="0 0 10 10" height="${e.value.style.chart.tooltip.fontSize}"><circle cx="5" cy="5" r="5" fill="${t.color}"/></svg><span>${t.name}:</span><b>${(t.value || 0).toFixed(e.value.style.chart.tooltip.roundingValue)}</b>`;
322
+ ae.value = `<div dir="auto" style="display:flex; gap:4px; align-items:center; jsutify-content:center;">${o}</div>`;
323
+ }
324
+ K.value = !0;
325
+ }
326
+ return (t, l) => (C(), P("div", {
327
+ class: "vue-ui-word-cloud",
328
+ ref_key: "wordCloudChart",
329
+ ref: R,
330
+ id: `wordCloud_${J.value}`,
331
+ style: ue(`width: 100%; font-family:${e.value.style.fontFamily};background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height:100%" : ""}`),
332
+ onMouseenter: l[2] || (l[2] = () => b(me)(!0)),
333
+ onMouseleave: l[3] || (l[3] = () => b(me)(!1))
334
+ }, [
335
+ e.value.userOptions.buttons.annotator ? (C(), E(Nt, {
336
+ key: 0,
337
+ svgRef: b(ee),
338
+ backgroundColor: e.value.style.chart.backgroundColor,
339
+ color: e.value.style.chart.color,
340
+ active: V.value,
341
+ onClose: oe
342
+ }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : z("", !0),
343
+ e.value.style.chart.title.text ? (C(), P("div", {
344
+ key: 1,
345
+ ref_key: "chartTitle",
346
+ ref: ce,
347
+ style: "width:100%;background:transparent;padding-bottom:24px"
348
+ }, [
349
+ (C(), E($t, {
350
+ key: `title_${ve.value}`,
351
+ config: {
352
+ title: {
353
+ ...e.value.style.chart.title
354
+ },
355
+ subtitle: {
356
+ ...e.value.style.chart.title.subtitle
357
+ }
358
+ }
359
+ }, null, 8, ["config"]))
360
+ ], 512)) : z("", !0),
361
+ e.value.userOptions.show && G.value && (b(pe) || b(Q)) ? (C(), E(Tt, {
362
+ ref: "details",
363
+ key: `user_option_${ie.value}`,
364
+ backgroundColor: e.value.style.chart.backgroundColor,
365
+ color: e.value.style.chart.color,
366
+ isPrinting: b(be),
367
+ isImaging: b(we),
368
+ uid: J.value,
369
+ hasPdf: e.value.userOptions.buttons.pdf,
370
+ hasXls: e.value.userOptions.buttons.csv,
371
+ hasImg: e.value.userOptions.buttons.img,
372
+ hasTable: e.value.userOptions.buttons.table,
373
+ hasFullscreen: e.value.userOptions.buttons.fullscreen,
374
+ isFullscreen: X.value,
375
+ titles: { ...e.value.userOptions.buttonTitles },
376
+ chartElement: R.value,
377
+ position: e.value.userOptions.position,
378
+ hasTooltip: e.value.style.chart.tooltip.show && e.value.userOptions.buttons.tooltip,
379
+ isTooltip: k.value.showTooltip,
380
+ hasAnnotator: e.value.userOptions.buttons.annotator,
381
+ isAnnotation: V.value,
382
+ onToggleFullscreen: Ye,
383
+ onGeneratePdf: b(Ce),
384
+ onGenerateCsv: $e,
385
+ onGenerateImage: b(ke),
386
+ onToggleTable: xe,
387
+ onToggleTooltip: Te,
388
+ onToggleAnnotator: oe,
389
+ style: ue({
390
+ visibility: b(pe) ? b(Q) ? "visible" : "hidden" : "visible"
391
+ })
392
+ }, rt({ _: 2 }, [
393
+ t.$slots.menuIcon ? {
394
+ name: "menuIcon",
395
+ fn: S(({ isOpen: o, color: s }) => [
396
+ x(t.$slots, "menuIcon", _(I({ isOpen: o, color: s })), void 0, !0)
397
+ ]),
398
+ key: "0"
399
+ } : void 0,
400
+ t.$slots.optionPdf ? {
401
+ name: "optionPdf",
402
+ fn: S(() => [
403
+ x(t.$slots, "optionPdf", {}, void 0, !0)
404
+ ]),
405
+ key: "1"
406
+ } : void 0,
407
+ t.$slots.optionCsv ? {
408
+ name: "optionCsv",
409
+ fn: S(() => [
410
+ x(t.$slots, "optionCsv", {}, void 0, !0)
411
+ ]),
412
+ key: "2"
413
+ } : void 0,
414
+ t.$slots.optionImg ? {
415
+ name: "optionImg",
416
+ fn: S(() => [
417
+ x(t.$slots, "optionImg", {}, void 0, !0)
418
+ ]),
419
+ key: "3"
420
+ } : void 0,
421
+ t.$slots.optionTable ? {
422
+ name: "optionTable",
423
+ fn: S(() => [
424
+ x(t.$slots, "optionTable", {}, void 0, !0)
425
+ ]),
426
+ key: "4"
427
+ } : void 0,
428
+ t.$slots.optionFullscreen ? {
429
+ name: "optionFullscreen",
430
+ fn: S(({ toggleFullscreen: o, isFullscreen: s }) => [
431
+ x(t.$slots, "optionFullscreen", _(I({ toggleFullscreen: o, isFullscreen: s })), void 0, !0)
432
+ ]),
433
+ key: "5"
434
+ } : void 0,
435
+ t.$slots.optionAnnotator ? {
436
+ name: "optionAnnotator",
437
+ fn: S(({ toggleAnnotator: o, isAnnotator: s }) => [
438
+ x(t.$slots, "optionAnnotator", _(I({ toggleAnnotator: o, isAnnotator: s })), void 0, !0)
439
+ ]),
440
+ key: "6"
441
+ } : void 0
442
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasTooltip", "isTooltip", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : z("", !0),
443
+ G.value ? (C(), P("svg", {
444
+ key: 3,
445
+ ref_key: "svgRef",
446
+ ref: ee,
447
+ class: Ie({ "vue-data-ui-fullscreen--on": X.value, "vue-data-ui-fulscreen--off": !X.value }),
448
+ xmlns: b(bt),
449
+ viewBox: `${b(q).x} ${b(q).y} ${b(q).width} ${b(q).height}`,
450
+ style: "overflow:hidden;background:transparent;"
451
+ }, [
452
+ _e(Ot),
453
+ t.$slots["chart-background"] ? (C(), P("foreignObject", {
454
+ key: 0,
455
+ x: 0,
456
+ y: 0,
457
+ width: n.value.width <= 0 ? 10 : n.value.width,
458
+ height: n.value.height <= 0 ? 10 : n.value.height,
459
+ style: {
460
+ pointerEvents: "none"
461
+ }
462
+ }, [
463
+ x(t.$slots, "chart-background", {}, void 0, !0)
464
+ ], 8, Dt)) : z("", !0),
465
+ Re("g", {
466
+ transform: `translate(${(n.value.width <= 0 ? 10 : n.value.width) / 2}, ${(n.value.height <= 0 ? 10 : n.value.height) / 2})`
467
+ }, [
468
+ (C(!0), P(ut, null, it(W.value, (o, s) => (C(), P("g", null, [
469
+ (C(), P("text", {
470
+ fill: o.color,
471
+ "font-weight": e.value.style.chart.words.bold ? "bold" : "normal",
472
+ key: s,
473
+ x: o.x,
474
+ y: o.y,
475
+ "font-size": o.fontSize,
476
+ transform: `translate(${o.width / 2}, ${o.height / 2})`,
477
+ class: Ie({ animated: e.value.useCssAnimation, "word-selected": N.value && N.value === o.id && k.value.showTooltip, "word-not-selected": N.value && N.value !== o.id && k.value.showTooltip }),
478
+ "text-anchor": "middle",
479
+ "dominant-baseline": "central",
480
+ onMouseover: (a) => Ke(o),
481
+ onMouseleave: l[0] || (l[0] = (a) => {
482
+ N.value = null, K.value = !1;
483
+ }),
484
+ style: ue(`animation-delay:${s * e.value.animationDelayMs}ms !important;`)
485
+ }, We(o.name), 47, Et))
486
+ ]))), 256))
487
+ ], 8, Bt),
488
+ x(t.$slots, "svg", {
489
+ svg: { height: n.value.height, width: n.value.width }
490
+ }, void 0, !0)
491
+ ], 10, Ut)) : z("", !0),
492
+ t.$slots.watermark ? (C(), P("div", Gt, [
493
+ x(t.$slots, "watermark", _(I({ isPrinting: b(be) || b(we) })), void 0, !0)
494
+ ])) : z("", !0),
495
+ _e(At, {
496
+ show: k.value.showTooltip && K.value,
497
+ backgroundColor: e.value.style.chart.tooltip.backgroundColor,
498
+ color: e.value.style.chart.tooltip.color,
499
+ fontSize: e.value.style.chart.tooltip.fontSize,
500
+ borderRadius: e.value.style.chart.tooltip.borderRadius,
501
+ borderColor: e.value.style.chart.tooltip.borderColor,
502
+ borderWidth: e.value.style.chart.tooltip.borderWidth,
503
+ backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
504
+ position: e.value.style.chart.tooltip.position,
505
+ offsetY: e.value.style.chart.tooltip.offsetY,
506
+ parent: R.value,
507
+ content: ae.value,
508
+ isCustom: U.value
509
+ }, {
510
+ "tooltip-before": S(() => [
511
+ x(t.$slots, "tooltip-before", _(I({ ...le.value })), void 0, !0)
512
+ ]),
513
+ "tooltip-after": S(() => [
514
+ x(t.$slots, "tooltip-after", _(I({ ...le.value })), void 0, !0)
515
+ ]),
516
+ _: 3
517
+ }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
518
+ t.$slots.source ? (C(), P("div", {
519
+ key: 5,
520
+ ref_key: "source",
521
+ ref: de,
522
+ dir: "auto"
523
+ }, [
524
+ x(t.$slots, "source", {}, void 0, !0)
525
+ ], 512)) : z("", !0),
526
+ G.value ? (C(), E(Pt, {
527
+ key: 6,
528
+ hideDetails: "",
529
+ config: {
530
+ open: k.value.showTable,
531
+ maxHeight: 1e4,
532
+ body: {
533
+ backgroundColor: e.value.style.chart.backgroundColor,
534
+ color: e.value.style.chart.color
535
+ },
536
+ head: {
537
+ backgroundColor: e.value.style.chart.backgroundColor,
538
+ color: e.value.style.chart.color
539
+ }
540
+ }
541
+ }, {
542
+ content: S(() => [
543
+ (C(), E(zt, {
544
+ key: `table_${he.value}`,
545
+ colNames: j.value.colNames,
546
+ head: j.value.head,
547
+ body: j.value.body,
548
+ config: j.value.config,
549
+ title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
550
+ onClose: l[1] || (l[1] = (o) => k.value.showTable = !1)
551
+ }, {
552
+ th: S(({ th: o }) => [
553
+ Re("div", {
554
+ innerHTML: o,
555
+ style: { display: "flex", "align-items": "center" }
556
+ }, null, 8, Lt)
557
+ ]),
558
+ td: S(({ td: o }) => [
559
+ ct(We(o.name || o), 1)
560
+ ]),
561
+ _: 1
562
+ }, 8, ["colNames", "head", "body", "config", "title"]))
563
+ ]),
564
+ _: 1
565
+ }, 8, ["config"])) : z("", !0)
566
+ ], 44, Vt));
567
+ }
568
+ }, ro = /* @__PURE__ */ Wt(Ht, [["__scopeId", "data-v-a7ce3b3e"]]);
569
+ export {
570
+ ro as default
571
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),f=require("./index-C4TeRZvT.cjs"),Ue=require("./Title-Iy2d-Bd1.cjs"),xe=require("./usePrinter-bFMowLOh.cjs"),J=require("./useResponsive-DQmBAoBf.cjs"),De=require("./vue-ui-accordion-BIbie2vw.cjs"),Ge=require("./DataTable-CRuMrwb8.cjs"),Se=require("./useNestedProp-BS-4R8zR.cjs"),He=require("./PackageVersion-DwKk69DU.cjs"),Le=require("./Tooltip-DhV-T1A4.cjs"),je=require("./PenAndPaper-hlX2Djxv.cjs"),Xe=require("./useUserOptionState-BgepsfED.cjs"),Ye=require("./useChartAccessibility-Cm7nkzTG.cjs"),Ze=require("./usePanZoom-CppTL3G-.cjs"),Je=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),Ke=["id"],Qe=["xmlns","viewBox"],et=["width","height"],tt=["transform"],ot=["fill","font-weight","x","y","font-size","transform","onMouseover"],at={key:4,class:"vue-data-ui-watermark"},lt=["innerHTML"],nt={__name:"vue-ui-word-cloud",props:{config:{type:Object,default(){return{}}},dataset:{type:[Array,String],default(){return[]}}},setup($e,{expose:Te}){const{vue_ui_word_cloud:Pe}=f.useConfig(),S=$e,A=e.computed({get(){return!!S.dataset&&S.dataset.length},set(o){return o}}),W=e.ref(f.createUid()),K=e.ref(0),M=e.ref(null),Q=e.ref(null),ee=e.ref(null),te=e.ref(0),oe=e.ref(0),U=e.ref(!1),t=e.computed({get:()=>re(),set:o=>o}),T=e.ref(ae());function ae(){return typeof S.dataset=="string"?f.createWordCloudDatasetFromPlainText(S.dataset):S.dataset.map((o,n)=>({...o,value:f.checkNaN(o.value)}))}e.watch(()=>S.dataset,()=>{T.value=ae(),H()});const{userOptionsVisible:D,setUserOptionsVisibility:le,keepUserOptionState:ne}=Xe.useUserOptionState({config:t.value}),{svgRef:G}=Ye.useChartAccessibility({config:t.value.style.chart.title});function re(){const o=Se.useNestedProp({userConfig:S.config,defaultConfig:Pe});return o.theme?{...Se.useNestedProp({userConfig:f.themes.vue_ui_word_cloud[o.theme]||S.config,defaultConfig:o}),customPalette:f.themePalettes[o.theme]||f.palette}:o}e.watch(()=>S.config,o=>{t.value=re(),D.value=!t.value.userOptions.showOnChartHover,se(),te.value+=1,oe.value+=1,refreshSlicer(),k.value.showTable=t.value.table.show,k.value.showTooltip=t.value.style.chart.tooltip.show},{deep:!0});const 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}),Me=J.debounce(()=>{H()},10),ze=J.throttle(()=>{const{width:o,height:n}=J.useResponsive({chart:M.value,title:t.value.style.chart.title.text?Q.value:null,source:ee.value});requestAnimationFrame(()=>{r.value.width=o,r.value.height=n,e.nextTick(Me)})}),I=e.ref(null);e.onMounted(se);function se(){f.objectIsEmpty(S.dataset)?f.error({componentName:"VueUiWordCloud",type:"dataset"}):T.value.forEach((o,n)=>{f.getMissingDatasetAttributes({datasetObject:o,requiredAttributes:["name","value"]}).forEach(a=>{A.value=!1,f.error({componentName:"VueUiWordCloud",type:"datasetSerieAttribute",property:a,index:n})})}),t.value.responsive&&(I.value=new ResizeObserver(ze),I.value.observe(M.value.parentNode))}e.onBeforeUnmount(()=>{I.value&&I.value.disconnect()});const{isPrinting:ue,isImaging:ie,generatePdf:ce,generateImage:de}=xe.usePrinter({elementId:`wordCloud_${W.value}`,fileName:t.value.style.chart.title.text||"vue-ui-word-cloud",options:t.value.userOptions.print}),k=e.ref({showTable:t.value.table.show,showTooltip:t.value.style.chart.tooltip.show});function Fe(o,n,a="Arial"){const l=document.createElement("canvas").getContext("2d");return l.font=`${n}px ${t.value.style.chart.words.bold?"bold":"normal"} ${a}`,{width:l.measureText(o).width+t.value.style.chart.words.proximity,height:n}}function Ne(o,n,a){const s=Math.round(n),l=Math.round(a),C=1,x=r.value.minFontSize,B=r.value.maxFontSize,pe=t.value.style.chart.words.proximity||0,me=o.map(p=>p.value),Y=Math.min(...me),ge=Math.max(...me),q=new Uint8Array(s*l),O=document.createElement("canvas"),$=O.getContext("2d",{willReadFrequently:!0});O.width=s,O.height=l;function ye(p,y,b){$.save(),$.font=`${r.value.style&&r.value.style.bold?"bold ":""}${y}px Arial`;const m=$.measureText(p.name),d=Math.ceil(m.width)+2+(b?b*2:0),u=Math.ceil(y)+2+(b?b*2:0);O.width=d,O.height=u,$.clearRect(0,0,d,u),$.font=`${r.value.style&&r.value.style.bold?"bold ":""}${y}px Arial`,$.textAlign="center",$.textBaseline="middle",$.fillStyle="black",$.fillText(p.name,d/2,u/2);const c=$.getImageData(0,0,d,u).data,v=[];for(let g=0;g<u;g+=1)for(let h=0;h<d;h+=1)c[(g*d+h)*4+3]>1&&v.push([h,g]);return $.restore(),{w:d,h:u,wordMask:v}}function be(p,y,b,m,d,u){for(let i=0;i<u.length;i+=1){const c=m+u[i][0],v=d+u[i][1];if(c<0||v<0||c>=y||v>=b||p[v*y+c])return!1}return!0}function we(p,y,b,m,d,u){for(let i=0;i<u.length;i+=1){const c=m+u[i][0],v=d+u[i][1];c>=0&&v>=0&&c<y&&v<b&&(p[v*y+c]=1)}}const Ve=6,_e=2,Re=2,Ee=1,ke=Math.floor(s/2),Ce=Math.floor(l/2),qe=[...o].sort((p,y)=>y.value-p.value),Z=[];function We(p,y,b,m=1){const d=new Set(p.map(([i,c])=>`${i},${c}`)),u=new Set(d);for(let[i,c]of p)for(let v=-m;v<=m;v+=1)for(let g=-m;g<=m;g+=1){if(v===0&&g===0)continue;const h=i+v,w=c+g;h>=0&&h<y&&w>=0&&w<b&&u.add(`${h},${w}`)}return Array.from(u).map(i=>i.split(",").map(Number))}for(const p of qe){let y=x;ge!==Y&&(y=(p.value-Y)/(ge-Y)*(B-x)+x),y=Math.max(x,Math.min(B,y));let b=!1,m=y;for(;!b&&m>=C;){let{w:d,h:u,wordMask:i}=ye(p,m,pe);i=We(i,d,u,2);let c=0,v=0;for(;c<Math.max(s,l)&&!b&&v<1e4;){for(let g=0;g<360;g+=Ve){v+=1;const h=Math.round(ke+c*Math.cos(g*Math.PI/180)-d/2),w=Math.round(Ce+c*Math.sin(g*Math.PI/180)-u/2);if(!(h<0||w<0||h+d>s||w+u>l)&&be(q,s,l,h,w,i)){Z.push({...p,x:h-s/2,y:w-l/2,fontSize:m,width:d,height:u,angle:0}),we(q,s,l,h,w,i),b=!0;break}}c+=_e}b||(m-=1)}if(!b&&m<C){m=C;const{w:d,h:u,wordMask:i}=ye(p,m,pe);let c=0,v=0;for(;c<Math.max(s,l)&&!b&&v<25e3;){for(let g=0;g<360;g+=Re){v+=1;const h=Math.round(ke+c*Math.cos(g*Math.PI/180)-d/2),w=Math.round(Ce+c*Math.sin(g*Math.PI/180)-u/2);if(!(h<0||w<0||h+d>s||w+u>l)&&be(q,s,l,h,w,i)){Z.push({...p,x:h-s/2,y:w-l/2,fontSize:m,width:d,height:u,angle:0}),we(q,s,l,h,w,i),b=!0;break}}c+=Ee}}}return Z}const z=e.ref([]);e.watch(()=>S.dataset,H,{immediate:!0}),e.computed(()=>Math.round(Math.min(...T.value.map(o=>o.value)))),e.computed(()=>Math.round(Math.max(...T.value.map(o=>o.value))));function H(){const o=[...T.value].map(l=>l.value),n=Math.max(...o),a=Math.min(...o),s=[...T.value].map((l,C)=>{let x=(l.value-a)/(n-a)*(r.value.maxFontSize-r.value.minFontSize)+r.value.minFontSize;x=isNaN(x)?r.value.minFontSize:x;const B=Fe(l.name,x);return{...l,id:f.createUid(),fontSize:x,width:B.width,height:B.height,color:t.value.style.chart.words.usePalette?t.value.customPalette[C]||t.value.customPalette[C%t.value.customPalette.length]||f.palette[C]||f.palette[C%f.palette.length]:t.value.style.chart.words.color}});z.value=Ne(s,r.value.width,r.value.height).sort((l,C)=>C.fontSize-l.fontSize)}const V=e.computed(()=>{const o=z.value.map(a=>({name:a.name,color:a.color})),n=z.value.map(a=>a.value);return{head:o,body:n}});function ve(){e.nextTick(()=>{const o=V.value.head.map((s,l)=>[[s.name],[V.value.body[l]]]),n=[[t.value.style.chart.title.text],[t.value.style.chart.title.subtitle.text],[[""],[t.value.table.columnNames.value]]].concat(o),a=f.createCsvContent(n);f.downloadCsv({csvContent:a,title:t.value.style.chart.title.text||"vue-ui-word-cloud"})})}const _=e.computed(()=>{const o=[t.value.table.columnNames.series,t.value.table.columnNames.value],n=V.value.head.map((l,C)=>{const x=f.dataLabel({p:t.value.table.td.prefix,v:V.value.body[C],s:t.value.table.td.suffix,r:t.value.table.td.roundingValue});return[{color:l.color,name:l.name},x]}),a={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:n,config:a}}),R=e.ref(!1);function Be(o){R.value=o,K.value+=1}function Oe(){return z.value}function he(){k.value.showTable=!k.value.showTable}function fe(){k.value.showTooltip=!k.value.showTooltip}const F=e.ref(!1);function L(){F.value=!F.value}const Ae=e.computed(()=>!F.value&&t.value.style.chart.zoom.show),{viewBox:E}=Ze.usePanZoom(G,{x:0,y:0,width:r.value.width<=0?10:r.value.width,height:r.value.height<=0?10:r.value.height},1,Ae);Te({getData:Oe,generateCsv:ve,generatePdf:ce,generateImage:de,toggleTable:he,toggleTooltip:fe,toggleAnnotator:L});const P=e.ref(null),N=e.ref(!1),j=e.ref(""),X=e.ref(null);function Ie(o){if(!k.value.showTooltip)return;P.value=o.id,X.value={datapoint:o,config:t.value};const n=t.value.style.chart.tooltip.customFormat;if(N.value=!1,f.isFunction(n))try{const a=n({datapoint:o,config:t.value});typeof a=="string"&&(j.value=a,N.value=!0)}catch{console.warn("Custom format cannot be applied."),N.value=!1}if(!N.value){let a=`<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>`;j.value=`<div dir="auto" style="display:flex; gap:4px; align-items:center; jsutify-content:center;">${a}</div>`}U.value=!0}return(o,n)=>(e.openBlock(),e.createElementBlock("div",{class:"vue-ui-word-cloud",ref_key:"wordCloudChart",ref:M,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%":""}`),onMouseenter:n[2]||(n[2]=()=>e.unref(le)(!0)),onMouseleave:n[3]||(n[3]=()=>e.unref(le)(!1))},[t.value.userOptions.buttons.annotator?(e.openBlock(),e.createBlock(je.PenAndPaper,{key:0,svgRef:e.unref(G),backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,active:F.value,onClose:L},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:Q,style:"width:100%;background:transparent;padding-bottom:24px"},[(e.openBlock(),e.createBlock(Ue._sfc_main,{key:`title_${te.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&&A.value&&(e.unref(ne)||e.unref(D))?(e.openBlock(),e.createBlock(xe.UserOptions,{ref:"details",key:`user_option_${K.value}`,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,isPrinting:e.unref(ue),isImaging:e.unref(ie),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:R.value,titles:{...t.value.userOptions.buttonTitles},chartElement:M.value,position:t.value.userOptions.position,hasTooltip:t.value.style.chart.tooltip.show&&t.value.userOptions.buttons.tooltip,isTooltip:k.value.showTooltip,hasAnnotator:t.value.userOptions.buttons.annotator,isAnnotation:F.value,onToggleFullscreen:Be,onGeneratePdf:e.unref(ce),onGenerateCsv:ve,onGenerateImage:e.unref(de),onToggleTable:he,onToggleTooltip:fe,onToggleAnnotator:L,style:e.normalizeStyle({visibility:e.unref(ne)?e.unref(D)?"visible":"hidden":"visible"})},e.createSlots({_:2},[o.$slots.menuIcon?{name:"menuIcon",fn:e.withCtx(({isOpen:a,color:s})=>[e.renderSlot(o.$slots,"menuIcon",e.normalizeProps(e.guardReactiveProps({isOpen:a,color:s})),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:a,isFullscreen:s})=>[e.renderSlot(o.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:a,isFullscreen:s})),void 0,!0)]),key:"5"}:void 0,o.$slots.optionAnnotator?{name:"optionAnnotator",fn:e.withCtx(({toggleAnnotator:a,isAnnotator:s})=>[e.renderSlot(o.$slots,"optionAnnotator",e.normalizeProps(e.guardReactiveProps({toggleAnnotator:a,isAnnotator:s})),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),A.value?(e.openBlock(),e.createElementBlock("svg",{key:3,ref_key:"svgRef",ref:G,class:e.normalizeClass({"vue-data-ui-fullscreen--on":R.value,"vue-data-ui-fulscreen--off":!R.value}),xmlns:e.unref(f.XMLNS),viewBox:`${e.unref(E).x} ${e.unref(E).y} ${e.unref(E).width} ${e.unref(E).height}`,style:"overflow:hidden;background:transparent;"},[e.createVNode(He._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,et)):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(z.value,(a,s)=>(e.openBlock(),e.createElementBlock("g",null,[(e.openBlock(),e.createElementBlock("text",{fill:a.color,"font-weight":t.value.style.chart.words.bold?"bold":"normal",key:s,x:a.x,y:a.y,"font-size":a.fontSize,transform:`translate(${a.width/2}, ${a.height/2})`,class:e.normalizeClass({animated:t.value.useCssAnimation,"word-selected":P.value&&P.value===a.id&&k.value.showTooltip,"word-not-selected":P.value&&P.value!==a.id&&k.value.showTooltip}),"text-anchor":"middle","dominant-baseline":"central",onMouseover:l=>Ie(a),onMouseleave:n[0]||(n[0]=l=>{P.value=null,U.value=!1}),style:e.normalizeStyle(`animation-delay:${s*t.value.animationDelayMs}ms !important;`)},e.toDisplayString(a.name),47,ot))]))),256))],8,tt),e.renderSlot(o.$slots,"svg",{svg:{height:r.value.height,width:r.value.width}},void 0,!0)],10,Qe)):e.createCommentVNode("",!0),o.$slots.watermark?(e.openBlock(),e.createElementBlock("div",at,[e.renderSlot(o.$slots,"watermark",e.normalizeProps(e.guardReactiveProps({isPrinting:e.unref(ue)||e.unref(ie)})),void 0,!0)])):e.createCommentVNode("",!0),e.createVNode(Le._sfc_main,{show:k.value.showTooltip&&U.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:M.value,content:j.value,isCustom:N.value},{"tooltip-before":e.withCtx(()=>[e.renderSlot(o.$slots,"tooltip-before",e.normalizeProps(e.guardReactiveProps({...X.value})),void 0,!0)]),"tooltip-after":e.withCtx(()=>[e.renderSlot(o.$slots,"tooltip-after",e.normalizeProps(e.guardReactiveProps({...X.value})),void 0,!0)]),_:3},8,["show","backgroundColor","color","fontSize","borderRadius","borderColor","borderWidth","backgroundOpacity","position","offsetY","parent","content","isCustom"]),o.$slots.source?(e.openBlock(),e.createElementBlock("div",{key:5,ref_key:"source",ref:ee,dir:"auto"},[e.renderSlot(o.$slots,"source",{},void 0,!0)],512)):e.createCommentVNode("",!0),A.value?(e.openBlock(),e.createBlock(De.default,{key:6,hideDetails:"",config:{open:k.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(Ge.DataTable,{key:`table_${oe.value}`,colNames:_.value.colNames,head:_.value.head,body:_.value.body,config:_.value.config,title:`${t.value.style.chart.title.text}${t.value.style.chart.title.subtitle.text?` : ${t.value.style.chart.title.subtitle.text}`:""}`,onClose:n[1]||(n[1]=a=>k.value.showTable=!1)},{th:e.withCtx(({th:a})=>[e.createElementVNode("div",{innerHTML:a,style:{display:"flex","align-items":"center"}},null,8,lt)]),td:e.withCtx(({td:a})=>[e.createTextVNode(e.toDisplayString(a.name||a),1)]),_:1},8,["colNames","head","body","config","title"]))]),_:1},8,["config"])):e.createCommentVNode("",!0)],44,Ke))}},rt=Je._export_sfc(nt,[["__scopeId","data-v-a7ce3b3e"]]);exports.default=rt;
@@ -1,17 +1,17 @@
1
- import { Q as H, Y as q, a7 as j, c as X, A as $, F as ee, w as te, s as le, o as ae, $ as re, a8 as ie, x as se, C as ne, y as ce, a5 as oe, e as he, r as ue, f as U, a9 as de, S as ge, T as fe, q as Ie, b as me, z as Ne, d as xe, aa as be, v as Fe, ab as _e, a3 as ye, ac as Ae, i as Le, G as Ce, L as Se, u as ke, p as we, B as Oe, a as Ge, t as ve } from "./index-KdQpiTkm.js";
2
- import { D as pe } from "./DataTable-751-cN2c.js";
3
- import { _ as Me } from "./Title-DMhhB9yN.js";
4
- import { u as ze, _ as Te } from "./Tooltip-BaPecnnV.js";
5
- import { U as Pe } from "./usePrinter-BuiF8wZK.js";
6
- import { _ as Ve } from "./Shape-BaijOBYT.js";
7
- import Re from "./BaseIcon-CEgQPz8O.js";
8
- import He from "./vue-ui-table-sparkline-CHtZhhn6.js";
9
- import De from "./vue-ui-skeleton-BhHXiz99.js";
10
- import { S as Be } from "./Slicer-COHzItjq.js";
11
- import Ee from "./vue-ui-accordion-CDTJiQu0.js";
12
- import { u as Z } from "./useNestedProp-CO8Pe266.js";
13
- import { _ as Ye } from "./PackageVersion-SrpgZayt.js";
14
- import { P as We } from "./PenAndPaper-jnD991LP.js";
1
+ import { Q as H, Y as q, a7 as j, c as X, A as $, F as ee, w as te, s as le, o as ae, $ as re, a8 as ie, x as se, C as ne, y as ce, a5 as oe, e as he, r as ue, f as U, a9 as de, S as ge, T as fe, q as Ie, b as me, z as Ne, d as xe, aa as be, v as Fe, ab as _e, a3 as ye, ac as Ae, i as Le, G as Ce, L as Se, u as ke, p as we, B as Oe, a as Ge, t as ve } from "./index-C7spnOfS.js";
2
+ import { D as pe } from "./DataTable-CmnlvDKM.js";
3
+ import { _ as Me } from "./Title-Ch602IT9.js";
4
+ import { u as ze, _ as Te } from "./Tooltip-0IaPNa9t.js";
5
+ import { U as Pe } from "./usePrinter-BDUIRBP4.js";
6
+ import { _ as Ve } from "./Shape-CWFBkvfP.js";
7
+ import Re from "./BaseIcon-ZZc7VY8d.js";
8
+ import He from "./vue-ui-table-sparkline-DSOduMZf.js";
9
+ import De from "./vue-ui-skeleton-Bn49rVXa.js";
10
+ import { S as Be } from "./Slicer-BEOWbyKm.js";
11
+ import Ee from "./vue-ui-accordion-Bk2aYAD-.js";
12
+ import { u as Z } from "./useNestedProp-BXHzK3EV.js";
13
+ import { _ as Ye } from "./PackageVersion-DavVl5j6.js";
14
+ import { P as We } from "./PenAndPaper-CGAd_cD9.js";
15
15
  import { resolveComponent as R, createElementBlock as i, openBlock as r, normalizeStyle as x, normalizeClass as B, createBlock as D, createCommentVNode as u, createVNode as W, createSlots as qe, withCtx as P, renderSlot as S, normalizeProps as E, guardReactiveProps as Y, createElementVNode as f, createTextVNode as J, Fragment as d, renderList as I, toDisplayString as T, mergeProps as Q, withDirectives as Xe, vModelCheckbox as Ue } from "vue";
16
16
  import { _ as Ze } from "./_plugin-vue_export-helper-CHgC5LLL.js";
17
17
  const Je = X(), Qe = {