vue-data-ui 2.10.1 → 2.10.2-beta.1

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 (168) hide show
  1. package/dist/{Arrow-QSJq1QXz.cjs → Arrow-D_EAhs0m.cjs} +1 -1
  2. package/dist/{Arrow-BiwOlXfX.js → Arrow-Durz-Lij.js} +1 -1
  3. package/dist/{BaseIcon-CugzlRIB.js → BaseIcon-BnWfrW1B.js} +1 -1
  4. package/dist/{BaseIcon-CccbUmmx.cjs → BaseIcon-DPT0BaqM.cjs} +1 -1
  5. package/dist/{ColorPicker-Bqv3ZR7N.js → ColorPicker-COqCncYu.js} +3 -3
  6. package/dist/{ColorPicker-DANVWfwS.cjs → ColorPicker-CYaUst4k.cjs} +1 -1
  7. package/dist/{DataTable--GI-DrhZ.js → DataTable-CyKnS5wp.js} +2 -2
  8. package/dist/{DataTable-BtWdtAUt.cjs → DataTable-DSiJ_YaA.cjs} +1 -1
  9. package/dist/{Legend-Bh3njoaI.js → Legend-Dj_es4iV.js} +2 -2
  10. package/dist/{Legend-BYAydsbU.cjs → Legend-RwWQ6l8r.cjs} +1 -1
  11. package/dist/PackageVersion-DCriWnX3.cjs +1 -0
  12. package/dist/{PackageVersion-GwcyKwzb.js → PackageVersion-vJyd5YD8.js} +3 -3
  13. package/dist/{PenAndPaper-C8nE9Htd.js → PenAndPaper-BgZ0aAW2.js} +3 -3
  14. package/dist/{PenAndPaper-CvqghU08.cjs → PenAndPaper-lj1PPAzR.cjs} +1 -1
  15. package/dist/{Shape-CoxSOYo0.js → Shape-0QfdCJdX.js} +1 -1
  16. package/dist/{Shape-DuCjoYEa.cjs → Shape-BgbyzOCz.cjs} +1 -1
  17. package/dist/{Slicer-iaOAIWyg.cjs → Slicer-B-i-6x8C.cjs} +1 -1
  18. package/dist/{Slicer-DCRA_8yB.js → Slicer-lB3lQUsg.js} +2 -2
  19. package/dist/{Title-CASnfBZ_.js → Title-UITSl88n.js} +1 -1
  20. package/dist/{Title-CQxTyQdP.cjs → Title-zlQvBTwR.cjs} +1 -1
  21. package/dist/{Tooltip-DpeUgH6i.cjs → Tooltip-DY4rXOAP.cjs} +1 -1
  22. package/dist/{Tooltip-j8icrqWr.js → Tooltip-QHKaXOYQ.js} +1 -1
  23. package/dist/{dom-to-png-C8nt61zy.cjs → dom-to-png-BoSiNLCZ.cjs} +1 -1
  24. package/dist/{dom-to-png-CaJWmfYX.js → dom-to-png-IpAl2vt0.js} +1 -1
  25. package/dist/{img-D3H0MQ0_.js → img-1Hu7T2L5.js} +1 -1
  26. package/dist/{img-5e_6eDJP.cjs → img-DOJMU48p.cjs} +1 -1
  27. package/dist/{index-CvceFsAt.js → index-Br1RehUb.js} +3 -1
  28. package/dist/index-DiJiQMBB.cjs +9 -0
  29. package/dist/{pdf-0YdU2asU.cjs → pdf-Bg3JLNad.cjs} +1 -1
  30. package/dist/{pdf-D39cNF6K.js → pdf-C6M_O5rS.js} +1 -1
  31. package/dist/style.css +1 -1
  32. package/dist/types/vue-data-ui.d.cts +1 -0
  33. package/dist/types/vue-data-ui.d.ts +1 -0
  34. package/dist/{useNestedProp-CCO2zzSz.js → useNestedProp-DXxFHEXa.js} +1 -1
  35. package/dist/{useNestedProp-BKE4eQv3.cjs → useNestedProp-DqEOzYzu.cjs} +1 -1
  36. package/dist/{usePrinter-DyQISLol.cjs → usePrinter-Bkd5ycBt.cjs} +1 -1
  37. package/dist/{usePrinter-ximty4az.js → usePrinter-BotFh1ji.js} +3 -3
  38. package/dist/{vue-data-ui-Cnu3pIt-.cjs → vue-data-ui-DmyMMva1.cjs} +1 -1
  39. package/dist/{vue-data-ui-4Sp3kGRk.js → vue-data-ui-ceT6Ds8c.js} +62 -62
  40. package/dist/vue-data-ui.cjs +1 -1
  41. package/dist/vue-data-ui.js +1 -1
  42. package/dist/{vue-ui-3d-bar-CpZKk74W.cjs → vue-ui-3d-bar-BuLR9KPG.cjs} +1 -1
  43. package/dist/{vue-ui-3d-bar-WcfPdvHo.js → vue-ui-3d-bar-D8gTYv2q.js} +9 -9
  44. package/dist/{vue-ui-accordion-C-Crf9Kp.js → vue-ui-accordion-BlsQ4IFe.js} +3 -3
  45. package/dist/{vue-ui-accordion-B6zl7smQ.cjs → vue-ui-accordion-P5hXhzth.cjs} +1 -1
  46. package/dist/{vue-ui-age-pyramid-pBC0KAC8.js → vue-ui-age-pyramid-C_WRa17B.js} +10 -10
  47. package/dist/{vue-ui-age-pyramid-C9w9oTK4.cjs → vue-ui-age-pyramid-DQjIgLoF.cjs} +1 -1
  48. package/dist/{vue-ui-annotator-DM_4LsN-.js → vue-ui-annotator-BI4gOYbV.js} +2 -2
  49. package/dist/{vue-ui-annotator-BmRIPGkd.cjs → vue-ui-annotator-SHkR_9cj.cjs} +1 -1
  50. package/dist/{vue-ui-bullet-Stv9P9bD.js → vue-ui-bullet-DQnycr6Q.js} +8 -8
  51. package/dist/{vue-ui-bullet-DOhxxyQ7.cjs → vue-ui-bullet-Dv-CldQs.cjs} +1 -1
  52. package/dist/{vue-ui-candlestick-CxpYZEKV.cjs → vue-ui-candlestick-Bd9v_ssR.cjs} +1 -1
  53. package/dist/{vue-ui-candlestick-BOhHukQT.js → vue-ui-candlestick-CxPvkEtR.js} +11 -11
  54. package/dist/{vue-ui-carousel-table-CwUTxYnK.js → vue-ui-carousel-table-DuwoXFJH.js} +4 -4
  55. package/dist/{vue-ui-carousel-table-DqbmvlOl.cjs → vue-ui-carousel-table-Dwvy8FmR.cjs} +1 -1
  56. package/dist/{vue-ui-chestnut-g5CchL-G.js → vue-ui-chestnut-1P_kvZFR.js} +8 -8
  57. package/dist/{vue-ui-chestnut-C8WpvC_j.cjs → vue-ui-chestnut-Da5lD-jy.cjs} +1 -1
  58. package/dist/{vue-ui-circle-pack-C-b8MtVb.cjs → vue-ui-circle-pack-H7fs4aWV.cjs} +1 -1
  59. package/dist/{vue-ui-circle-pack-C-kJTnDN.js → vue-ui-circle-pack-_d0WvVlg.js} +9 -9
  60. package/dist/{vue-ui-cursor-BXAcaXWy.js → vue-ui-cursor-CcxO5N6B.js} +2 -2
  61. package/dist/{vue-ui-cursor-BYIDY_XT.cjs → vue-ui-cursor-CeAtprXI.cjs} +1 -1
  62. package/dist/{vue-ui-dashboard-CuJXUgxz.js → vue-ui-dashboard-DQql8FoJ.js} +62 -62
  63. package/dist/{vue-ui-dashboard-CRolbu6z.cjs → vue-ui-dashboard-nLTbt8rE.cjs} +1 -1
  64. package/dist/{vue-ui-digits-DSOpmvDy.js → vue-ui-digits-CIm6jt9J.js} +2 -2
  65. package/dist/{vue-ui-digits-NO6lt99x.cjs → vue-ui-digits-DYzQpKDk.cjs} +1 -1
  66. package/dist/{vue-ui-donut-B_iglo-e.cjs → vue-ui-donut-BZBTtRIT.cjs} +1 -1
  67. package/dist/{vue-ui-donut-xBtAG6tV.js → vue-ui-donut-CMmo-xas.js} +12 -12
  68. package/dist/{vue-ui-donut-evolution-B-qz0knN.cjs → vue-ui-donut-evolution-BigkaF3K.cjs} +1 -1
  69. package/dist/{vue-ui-donut-evolution-B3vjCqx3.js → vue-ui-donut-evolution-CmVkOgHk.js} +11 -11
  70. package/dist/{vue-ui-dumbbell-BtZEureY.cjs → vue-ui-dumbbell-COVwDZf9.cjs} +1 -1
  71. package/dist/{vue-ui-dumbbell-sb2hF1XY.js → vue-ui-dumbbell-DNRxfbMB.js} +10 -10
  72. package/dist/{vue-ui-flow-BGWHcBp1.cjs → vue-ui-flow-C2-V4oXf.cjs} +1 -1
  73. package/dist/{vue-ui-flow-BnOUifwC.js → vue-ui-flow-CWn5Xgfv.js} +9 -9
  74. package/dist/{vue-ui-funnel-CK560PmT.js → vue-ui-funnel-Caa_fg2B.js} +9 -9
  75. package/dist/{vue-ui-funnel-CmlGCH6m.cjs → vue-ui-funnel-CzUX32Ub.cjs} +1 -1
  76. package/dist/{vue-ui-galaxy-uFa9S6wW.cjs → vue-ui-galaxy-Dh6mXUEh.cjs} +1 -1
  77. package/dist/{vue-ui-galaxy-DX86TMbo.js → vue-ui-galaxy-DlPI9C4p.js} +11 -11
  78. package/dist/{vue-ui-gauge-Bvibjzuh.cjs → vue-ui-gauge-C0-BHMRe.cjs} +1 -1
  79. package/dist/{vue-ui-gauge-p7HDLD8Q.js → vue-ui-gauge-DCKwx-39.js} +7 -7
  80. package/dist/{vue-ui-gizmo-mGk58l53.cjs → vue-ui-gizmo-CBEmt6wS.cjs} +1 -1
  81. package/dist/{vue-ui-gizmo-O7xD1RVH.js → vue-ui-gizmo-Dbyg4lfp.js} +3 -3
  82. package/dist/{vue-ui-heatmap-zJv6LywK.js → vue-ui-heatmap-B8aHMTRT.js} +10 -10
  83. package/dist/{vue-ui-heatmap-Bgd9OCN7.cjs → vue-ui-heatmap-L44qq3tT.cjs} +1 -1
  84. package/dist/{vue-ui-history-plot-DLQ_iKLU.js → vue-ui-history-plot-Db9VBFJo.js} +11 -11
  85. package/dist/{vue-ui-history-plot-ByohcmFh.cjs → vue-ui-history-plot-cK3Eyct-.cjs} +1 -1
  86. package/dist/{vue-ui-kpi-q4rtUh1J.cjs → vue-ui-kpi-3Y6KGCu8.cjs} +1 -1
  87. package/dist/{vue-ui-kpi-BqAVbl-C.js → vue-ui-kpi-DTVFlqqr.js} +3 -3
  88. package/dist/{vue-ui-mini-loader-BUI1DhPA.js → vue-ui-mini-loader-C0-qR0Wv.js} +2 -2
  89. package/dist/{vue-ui-mini-loader-BuaDAatX.cjs → vue-ui-mini-loader-DYQjIOkq.cjs} +1 -1
  90. package/dist/{vue-ui-molecule-CiKnN8sY.cjs → vue-ui-molecule-BsbB0T8n.cjs} +1 -1
  91. package/dist/{vue-ui-molecule-DT_XgzVP.js → vue-ui-molecule-CZYTkXRy.js} +11 -11
  92. package/dist/{vue-ui-mood-radar-DJ7zpX69.cjs → vue-ui-mood-radar-Dcgb3cQR.cjs} +1 -1
  93. package/dist/{vue-ui-mood-radar-mZEDM0NK.js → vue-ui-mood-radar-zWFTh0WG.js} +11 -11
  94. package/dist/{vue-ui-nested-donuts-B7zoKnsX.cjs → vue-ui-nested-donuts-CElXmrE_.cjs} +1 -1
  95. package/dist/{vue-ui-nested-donuts-ADHpRSrO.js → vue-ui-nested-donuts-Ci2TbHCY.js} +11 -11
  96. package/dist/{vue-ui-onion-KlRwElox.js → vue-ui-onion-C3w_0U-6.js} +11 -11
  97. package/dist/{vue-ui-onion-Bvs_owV9.cjs → vue-ui-onion-DTYqd0S7.cjs} +1 -1
  98. package/dist/{vue-ui-parallel-coordinate-plot-j0C-98v6.cjs → vue-ui-parallel-coordinate-plot-DXgrYF8V.cjs} +1 -1
  99. package/dist/{vue-ui-parallel-coordinate-plot-DxfFMJcf.js → vue-ui-parallel-coordinate-plot-DmAaG5vE.js} +12 -12
  100. package/dist/{vue-ui-quadrant-FrEtaNmB.cjs → vue-ui-quadrant--MXxqtPm.cjs} +1 -1
  101. package/dist/{vue-ui-quadrant-mTEq7vUM.js → vue-ui-quadrant-xIalSKQB.js} +12 -12
  102. package/dist/{vue-ui-quick-chart-wDAfCdZi.js → vue-ui-quick-chart-CSffm4a5.js} +9 -9
  103. package/dist/{vue-ui-quick-chart-xomrTLjF.cjs → vue-ui-quick-chart-DrEeKIP-.cjs} +1 -1
  104. package/dist/{vue-ui-radar-CwIDYXn3.cjs → vue-ui-radar-Baujx0zJ.cjs} +1 -1
  105. package/dist/{vue-ui-radar-tW6hVA3D.js → vue-ui-radar-BkYTilrU.js} +12 -12
  106. package/dist/{vue-ui-rating-D_TuyOn5.cjs → vue-ui-rating-CoCspb5w.cjs} +1 -1
  107. package/dist/{vue-ui-rating-BXxHwgli.js → vue-ui-rating-D9mcamSQ.js} +2 -2
  108. package/dist/{vue-ui-relation-circle-CxJJtooQ.cjs → vue-ui-relation-circle-BOQbjwio.cjs} +1 -1
  109. package/dist/{vue-ui-relation-circle-D11cM4iJ.js → vue-ui-relation-circle-D1QRMkRv.js} +7 -7
  110. package/dist/{vue-ui-ridgeline-gD8UVkMZ.js → vue-ui-ridgeline-DAhVh2wO.js} +12 -12
  111. package/dist/{vue-ui-ridgeline-DRC1lIXN.cjs → vue-ui-ridgeline-evw3STiF.cjs} +1 -1
  112. package/dist/{vue-ui-rings-DSJRz7iR.js → vue-ui-rings-BbaMc09d.js} +12 -12
  113. package/dist/{vue-ui-rings-r4xAd8lk.cjs → vue-ui-rings-BhG1riq2.cjs} +1 -1
  114. package/dist/{vue-ui-scatter-BzC8zkfh.js → vue-ui-scatter-BA1innim.js} +12 -12
  115. package/dist/{vue-ui-scatter-W1OKGdmQ.cjs → vue-ui-scatter-D2EXkBxx.cjs} +1 -1
  116. package/dist/{vue-ui-skeleton-eU-_7BdW.js → vue-ui-skeleton-BksknW8F.js} +3 -3
  117. package/dist/{vue-ui-skeleton-DRxcfKaL.cjs → vue-ui-skeleton-DEI0qJZY.cjs} +1 -1
  118. package/dist/{vue-ui-smiley-Bm7OiLoq.cjs → vue-ui-smiley-B4dNIhTF.cjs} +1 -1
  119. package/dist/{vue-ui-smiley-CcekqVQx.js → vue-ui-smiley-D_lDFgTX.js} +2 -2
  120. package/dist/{vue-ui-spark-trend-mobyLUha.cjs → vue-ui-spark-trend-JPsaMYzx.cjs} +1 -1
  121. package/dist/{vue-ui-spark-trend-BN42Fnf2.js → vue-ui-spark-trend-YVwnvmen.js} +5 -5
  122. package/dist/{vue-ui-sparkbar-hgySC-4O.js → vue-ui-sparkbar-COtSp75m.js} +4 -4
  123. package/dist/{vue-ui-sparkbar-D3iVdCuI.cjs → vue-ui-sparkbar-P7ab216P.cjs} +1 -1
  124. package/dist/{vue-ui-sparkgauge-C6liWKmp.cjs → vue-ui-sparkgauge-BrmBThWX.cjs} +1 -1
  125. package/dist/{vue-ui-sparkgauge-Dm2vyIx8.js → vue-ui-sparkgauge-DBTs_fko.js} +4 -4
  126. package/dist/{vue-ui-sparkhistogram-BnzOIDWc.cjs → vue-ui-sparkhistogram-Bbui1Mjp.cjs} +1 -1
  127. package/dist/{vue-ui-sparkhistogram-D07Q0Gk7.js → vue-ui-sparkhistogram-D9ltgqDi.js} +5 -5
  128. package/dist/{vue-ui-sparkline-CQVRc2MO.cjs → vue-ui-sparkline-DkRtUZjr.cjs} +1 -1
  129. package/dist/{vue-ui-sparkline-CACBeqAa.js → vue-ui-sparkline-DxlyRPM_.js} +4 -4
  130. package/dist/{vue-ui-sparkstackbar-DFkUjUYc.cjs → vue-ui-sparkstackbar-CAAfi-lB.cjs} +1 -1
  131. package/dist/{vue-ui-sparkstackbar-UVd-HK1b.js → vue-ui-sparkstackbar-DjrHKvP-.js} +5 -5
  132. package/dist/{vue-ui-stackbar-DxovHxOT.js → vue-ui-stackbar-BQw6lOEm.js} +13 -13
  133. package/dist/{vue-ui-stackbar-0sIYiF_A.cjs → vue-ui-stackbar-hDFg5vfU.cjs} +1 -1
  134. package/dist/{vue-ui-strip-plot-Cvba07hW.cjs → vue-ui-strip-plot-BuA2QRro.cjs} +1 -1
  135. package/dist/{vue-ui-strip-plot-HxXmARoE.js → vue-ui-strip-plot-D5X65rGR.js} +11 -11
  136. package/dist/{vue-ui-table-0pQLbxUq.js → vue-ui-table-4x1r1zJ4.js} +3 -3
  137. package/dist/{vue-ui-table-BX80lD6q.cjs → vue-ui-table-DN4G0Xcv.cjs} +1 -1
  138. package/dist/{vue-ui-table-heatmap-DV26Cbjg.cjs → vue-ui-table-heatmap-BuGa0tHQ.cjs} +1 -1
  139. package/dist/{vue-ui-table-heatmap-DE2bkasJ.js → vue-ui-table-heatmap-gU7N3s52.js} +4 -4
  140. package/dist/{vue-ui-table-sparkline-Ch4LVVdJ.cjs → vue-ui-table-sparkline-B3YUUzDD.cjs} +1 -1
  141. package/dist/{vue-ui-table-sparkline-DGECSD-C.js → vue-ui-table-sparkline-CrNEnGwB.js} +5 -5
  142. package/dist/{vue-ui-thermometer-WFaVRptV.js → vue-ui-thermometer-BRTBFuLr.js} +7 -7
  143. package/dist/{vue-ui-thermometer-B29iIlzg.cjs → vue-ui-thermometer-D5NxA-Pu.cjs} +1 -1
  144. package/dist/{vue-ui-timer-D1rjeIkc.cjs → vue-ui-timer-CUdy26j8.cjs} +1 -1
  145. package/dist/{vue-ui-timer-ElOn6Dkf.js → vue-ui-timer-DjpkBrmE.js} +5 -5
  146. package/dist/{vue-ui-tiremarks-Cfv0NwR7.js → vue-ui-tiremarks-C3oH7Ida.js} +7 -7
  147. package/dist/{vue-ui-tiremarks-BczAiMV8.cjs → vue-ui-tiremarks-DK1Y5NS-.cjs} +1 -1
  148. package/dist/{vue-ui-treemap-DxEbCrpf.js → vue-ui-treemap-B9Ttncgf.js} +12 -12
  149. package/dist/{vue-ui-treemap-BFN5b5_L.cjs → vue-ui-treemap-DeDaY1tK.cjs} +1 -1
  150. package/dist/{vue-ui-vertical-bar-ClDqkmhk.js → vue-ui-vertical-bar-DbGWFmAZ.js} +12 -12
  151. package/dist/{vue-ui-vertical-bar-590VwiLn.cjs → vue-ui-vertical-bar-jQ534ONL.cjs} +1 -1
  152. package/dist/{vue-ui-waffle-wYqijCXR.js → vue-ui-waffle-BEAMerlK.js} +12 -12
  153. package/dist/{vue-ui-waffle-BQblwMWf.cjs → vue-ui-waffle-Dlq-kfVb.cjs} +1 -1
  154. package/dist/{vue-ui-wheel-CZMPP-La.cjs → vue-ui-wheel-BpoGeeG1.cjs} +1 -1
  155. package/dist/{vue-ui-wheel-DVOyAzMM.js → vue-ui-wheel-BwxXgxYN.js} +7 -7
  156. package/dist/vue-ui-word-cloud-Bwp55Vjk.cjs +1 -0
  157. package/dist/vue-ui-word-cloud-DRihn0ID.js +648 -0
  158. package/dist/{vue-ui-world-h-pQmlJM.js → vue-ui-world-BvwaCfKu.js} +11 -11
  159. package/dist/{vue-ui-world-CvDlnus7.cjs → vue-ui-world-zCrAoO8x.cjs} +1 -1
  160. package/dist/{vue-ui-xy-BkmYEX1m.js → vue-ui-xy-D8ZtpWDi.js} +16 -16
  161. package/dist/{vue-ui-xy-DDNWiRTX.cjs → vue-ui-xy-DTbAGaIM.cjs} +2 -2
  162. package/dist/{vue-ui-xy-canvas-BDpExYvk.cjs → vue-ui-xy-canvas-DI6-54yO.cjs} +1 -1
  163. package/dist/{vue-ui-xy-canvas-CwuoyOXd.js → vue-ui-xy-canvas-DQhK_N_z.js} +12 -12
  164. package/package.json +1 -1
  165. package/dist/PackageVersion-CIG1jUoQ.cjs +0 -1
  166. package/dist/index-CHDUeW3x.cjs +0 -9
  167. package/dist/vue-ui-word-cloud-8o2Ipe1I.js +0 -628
  168. package/dist/vue-ui-word-cloud-DAKB2THN.cjs +0 -1
@@ -0,0 +1,648 @@
1
+ import { useCssVars as Oe, computed as oe, ref as f, watch as me, onMounted as Ne, onBeforeUnmount as Ae, createElementBlock as X, openBlock as w, unref as h, normalizeStyle as re, createBlock as ae, createCommentVNode as B, createVNode as fe, createSlots as Ie, withCtx as P, renderSlot as F, normalizeProps as J, guardReactiveProps as K, normalizeClass as we, createElementVNode as pe, Fragment as Xe, renderList as Re, toDisplayString as Ce, createTextVNode as We, nextTick as ke } from "vue";
2
+ import { u as Ve, c as xe, ai as Be, v as Ye, t as De, p as ue, a as Ue, o as Ee, e as $e, g as Ge, f as Le, X as He, q as je, r as qe, x as Ze } from "./index-Br1RehUb.js";
3
+ import { _ as Je } from "./Title-UITSl88n.js";
4
+ import { u as Ke, U as Qe } from "./usePrinter-BotFh1ji.js";
5
+ import { t as et, u as tt, d as ot } from "./useResponsive-Cw4oZ8sQ.js";
6
+ import at from "./vue-ui-accordion-BlsQ4IFe.js";
7
+ import { D as lt } from "./DataTable-CyKnS5wp.js";
8
+ import { u as Te } from "./useNestedProp-DXxFHEXa.js";
9
+ import { _ as nt } from "./PackageVersion-vJyd5YD8.js";
10
+ import { _ as st } from "./Tooltip-QHKaXOYQ.js";
11
+ import { _ as it } from "./PenAndPaper-BgZ0aAW2.js";
12
+ import { u as rt } from "./useUserOptionState-BIvW1Kz7.js";
13
+ import { u as ut } from "./useChartAccessibility-BWojgys7.js";
14
+ import { u as ct } from "./usePanZoom-CUkkqW81.js";
15
+ import dt from "./BaseIcon-BnWfrW1B.js";
16
+ import { _ as vt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
17
+ function ht(b, p) {
18
+ const { width: c, height: n } = b, d = p.getImageData(0, 0, c, n).data;
19
+ let l = c, a = n, s = 0, g = 0, k = !1;
20
+ for (let m = 0; m < n; m += 1)
21
+ for (let y = 0; y < c; y += 1)
22
+ d[(m * c + y) * 4 + 3] > 1 && (k = !0, y < l && (l = y), y > s && (s = y), m < a && (a = m), m > g && (g = m));
23
+ return k ? [l, a, s, g] : [0, 0, 0, 0];
24
+ }
25
+ function Se({
26
+ word: b,
27
+ fontSize: p,
28
+ pad: c,
29
+ canvas: n,
30
+ ctx: r,
31
+ svg: d
32
+ }) {
33
+ r.save(), r.font = `${d.style && d.style.bold ? "bold " : ""}${p}px Arial`;
34
+ const l = r.measureText(b.name), a = Math.ceil(l.width) + 2 + (c ? c * 2 : 0), s = Math.ceil(p) + 2 + (c ? c * 2 : 0);
35
+ n.width = a, n.height = s, r.clearRect(0, 0, a, s), r.font = `${d.style && d.style.bold ? "bold " : ""}${p}px Arial`, r.textAlign = "center", r.textBaseline = "middle", r.fillStyle = "black", r.fillText(b.name, a / 2, s / 2);
36
+ const k = r.getImageData(0, 0, a, s).data, m = [];
37
+ for (let _ = 0; _ < s; _ += 1)
38
+ for (let Y = 0; Y < a; Y += 1)
39
+ k[(_ * a + Y) * 4 + 3] > 1 && m.push([Y, _]);
40
+ const [y, e, z, R] = ht(n, r);
41
+ return r.restore(), { w: a, h: s, wordMask: m, minX: y, minY: e, maxX: z, maxY: R };
42
+ }
43
+ function Fe({ mask: b, maskW: p, maskH: c, wx: n, wy: r, wordMask: d }) {
44
+ for (let l = 0; l < d.length; l += 1) {
45
+ const a = n + d[l][0], s = r + d[l][1];
46
+ if (a < 0 || s < 0 || a >= p || s >= c || b[s * p + a]) return !1;
47
+ }
48
+ return !0;
49
+ }
50
+ function Me({ mask: b, maskW: p, maskH: c, wx: n, wy: r, wordMask: d }) {
51
+ for (let l = 0; l < d.length; l += 1) {
52
+ const a = n + d[l][0], s = r + d[l][1];
53
+ a >= 0 && s >= 0 && a < p && s < c && (b[s * p + a] = 1);
54
+ }
55
+ }
56
+ function mt({ wordMask: b, w: p, h: c, dilation: n }) {
57
+ const r = new Set(b.map(([l, a]) => `${l},${a}`)), d = new Set(r);
58
+ for (let [l, a] of b)
59
+ for (let s = -n; s <= n; s += 1)
60
+ for (let g = -n; g <= n; g += 1) {
61
+ if (s === 0 && g === 0) continue;
62
+ const k = l + s, m = a + g;
63
+ k >= 0 && k < p && m >= 0 && m < c && d.add(`${k},${m}`);
64
+ }
65
+ return Array.from(d).map((l) => l.split(",").map(Number));
66
+ }
67
+ function ft({
68
+ words: b,
69
+ proximity: p = 0,
70
+ svg: c,
71
+ strictPixelPadding: n
72
+ }) {
73
+ const { width: r, height: d } = c, l = Math.round(r), a = Math.round(d), s = 1, g = c.minFontSize, k = c.maxFontSize, m = b.map((x) => x.value), y = Math.min(...m), e = Math.max(...m), z = new Uint8Array(l * a), R = document.createElement("canvas"), _ = R.getContext("2d", { willReadFrequently: !0 });
74
+ R.width = l, R.height = a;
75
+ const Y = 6, le = 2, Q = 2, ne = 1, u = Math.floor(l / 2), se = Math.floor(a / 2), ce = [...b].sort((x, O) => O.value - x.value), E = [];
76
+ for (const x of ce) {
77
+ let O = g;
78
+ e !== y && (O = (x.value - y) / (e - y) * (k - g) + g), O = Math.max(g, Math.min(k, O));
79
+ let W = !1, N = O;
80
+ for (; !W && N >= s; ) {
81
+ let { w: A, h: v, wordMask: D, minX: U, minY: L, maxX: G, maxY: q } = Se({
82
+ word: x,
83
+ fontSize: N,
84
+ pad: p,
85
+ canvas: R,
86
+ ctx: _,
87
+ svg: c
88
+ });
89
+ n && (D = mt({ wordMask: D, w: A, h: v, dilation: 1 }));
90
+ let $ = 0, V = 0;
91
+ for (; $ < Math.max(l, a) && !W && V < 1e4; ) {
92
+ for (let I = 0; I < 360; I += Y) {
93
+ V += 1;
94
+ const M = Math.round(u + $ * Math.cos(I * Math.PI / 180) - A / 2), T = Math.round(se + $ * Math.sin(I * Math.PI / 180) - v / 2);
95
+ if (!(M < 0 || T < 0 || M + A > l || T + v > a) && Fe({ mask: z, maskW: l, maskH: a, wx: M, wy: T, wordMask: D })) {
96
+ E.push({ ...x, x: M - l / 2, y: T - a / 2, fontSize: N, width: A, height: v, angle: 0, minX: U, minY: L, maxX: G, maxY: q }), Me({ mask: z, maskW: l, maskH: a, wx: M, wy: T, wordMask: D }), W = !0;
97
+ break;
98
+ }
99
+ }
100
+ $ += le;
101
+ }
102
+ W || (N -= 1);
103
+ }
104
+ if (!W && N < s) {
105
+ N = s;
106
+ const { w: A, h: v, wordMask: D, minX: U, minY: L, maxX: G, maxY: q } = Se({
107
+ word: x,
108
+ fontSize: N,
109
+ pad: p,
110
+ canvas: R,
111
+ ctx: _,
112
+ svg: c
113
+ });
114
+ let $ = 0, V = 0;
115
+ for (; $ < Math.max(l, a) && !W && V < 25e3; ) {
116
+ for (let I = 0; I < 360; I += Q) {
117
+ V += 1;
118
+ const M = Math.round(u + $ * Math.cos(I * Math.PI / 180) - A / 2), T = Math.round(se + $ * Math.sin(I * Math.PI / 180) - v / 2);
119
+ if (!(M < 0 || T < 0 || M + A > l || T + v > a) && Fe({ mask: z, maskW: l, maskH: a, wx: M, wy: T, wordMask: D })) {
120
+ E.push({ ...x, x: M - l / 2, y: T - a / 2, fontSize: N, width: A, height: v, angle: 0, minX: U, minY: L, maxX: G, maxY: q }), Me({ mask: z, maskW: l, maskH: a, wx: M, wy: T, wordMask: D }), W = !0;
121
+ break;
122
+ }
123
+ }
124
+ $ += ne;
125
+ }
126
+ }
127
+ }
128
+ return E.sort((x, O) => O.fontSize - x.fontSize);
129
+ }
130
+ const pt = ["id"], gt = ["xmlns", "viewBox"], yt = ["width", "height"], bt = ["transform"], wt = ["x", "y", "width", "height", "onMouseover"], Ct = ["fill", "font-weight", "x", "y", "font-size", "transform"], kt = {
131
+ key: 4,
132
+ class: "vue-data-ui-watermark"
133
+ }, xt = {
134
+ key: 5,
135
+ "data-dom-to-png-ignore": "",
136
+ class: "reset-wrapper"
137
+ }, $t = ["innerHTML"], Tt = {
138
+ __name: "vue-ui-word-cloud",
139
+ props: {
140
+ config: {
141
+ type: Object,
142
+ default() {
143
+ return {};
144
+ }
145
+ },
146
+ dataset: {
147
+ type: [Array, String],
148
+ default() {
149
+ return [];
150
+ }
151
+ }
152
+ },
153
+ setup(b, { expose: p }) {
154
+ Oe((t) => ({
155
+ "7200478e": t.slicerColor
156
+ }));
157
+ const { vue_ui_word_cloud: c } = Ve(), n = b, r = oe({
158
+ get() {
159
+ return !!n.dataset && n.dataset.length;
160
+ },
161
+ set(t) {
162
+ return t;
163
+ }
164
+ }), d = f(xe()), l = f(0), a = f(null), s = f(null), g = f(null), k = f(0), m = f(0), y = f(!1), e = oe({
165
+ get: () => ne(),
166
+ set: (t) => t
167
+ }), z = f(R());
168
+ function R() {
169
+ return typeof n.dataset == "string" ? Be(n.dataset) : n.dataset.map((t, i) => ({
170
+ ...t,
171
+ value: Ye(t.value)
172
+ }));
173
+ }
174
+ me(() => n.dataset, () => {
175
+ z.value = R(), L();
176
+ });
177
+ const { userOptionsVisible: _, setUserOptionsVisibility: Y, keepUserOptionState: le } = rt({ config: e.value }), { svgRef: Q } = ut({ config: e.value.style.chart.title });
178
+ function ne() {
179
+ const t = Te({
180
+ userConfig: n.config,
181
+ defaultConfig: c
182
+ });
183
+ return t.theme ? {
184
+ ...Te({
185
+ userConfig: Ue.vue_ui_word_cloud[t.theme] || n.config,
186
+ defaultConfig: t
187
+ }),
188
+ customPalette: De[t.theme] || ue
189
+ } : t;
190
+ }
191
+ me(() => n.config, (t) => {
192
+ e.value = ne(), _.value = !e.value.userOptions.showOnChartHover, x(), k.value += 1, m.value += 1, v.value.showTable = e.value.table.show, v.value.showTooltip = e.value.style.chart.tooltip.show;
193
+ }, { deep: !0 });
194
+ const u = f({
195
+ width: e.value.style.chart.width,
196
+ height: e.value.style.chart.height,
197
+ maxFontSize: e.value.style.chart.words.maxFontSize,
198
+ minFontSize: e.value.style.chart.words.minFontSize,
199
+ bold: e.value.style.chart.words.bold
200
+ }), se = ot(() => {
201
+ L();
202
+ }, 10), ce = et(() => {
203
+ const { width: t, height: i } = tt({
204
+ chart: a.value,
205
+ title: e.value.style.chart.title.text ? s.value : null,
206
+ source: g.value
207
+ });
208
+ requestAnimationFrame(() => {
209
+ u.value.width = t, u.value.height = i, ke(se);
210
+ });
211
+ }), E = f(null);
212
+ Ne(x);
213
+ function x() {
214
+ Ee(n.dataset) ? $e({
215
+ componentName: "VueUiWordCloud",
216
+ type: "dataset"
217
+ }) : z.value.forEach((t, i) => {
218
+ Ge({
219
+ datasetObject: t,
220
+ requiredAttributes: ["name", "value"]
221
+ }).forEach((o) => {
222
+ r.value = !1, $e({
223
+ componentName: "VueUiWordCloud",
224
+ type: "datasetSerieAttribute",
225
+ property: o,
226
+ index: i
227
+ });
228
+ });
229
+ }), e.value.responsive && (E.value = new ResizeObserver(ce), E.value.observe(a.value.parentNode));
230
+ }
231
+ Ae(() => {
232
+ E.value && E.value.disconnect();
233
+ });
234
+ const { isPrinting: O, isImaging: W, generatePdf: N, generateImage: A } = Ke({
235
+ elementId: `wordCloud_${d.value}`,
236
+ fileName: e.value.style.chart.title.text || "vue-ui-word-cloud",
237
+ options: e.value.userOptions.print
238
+ }), v = f({
239
+ showTable: e.value.table.show,
240
+ showTooltip: e.value.style.chart.tooltip.show
241
+ });
242
+ function D(t, i, o = "Arial") {
243
+ const C = document.createElement("canvas").getContext("2d");
244
+ return C.font = `${i}px ${e.value.style.chart.words.bold ? "bold" : "normal"} ${o}`, {
245
+ width: C.measureText(t).width + e.value.style.chart.words.proximity,
246
+ height: i
247
+ };
248
+ }
249
+ const U = f([]);
250
+ me(() => n.dataset, L, { immediate: !0 });
251
+ function L() {
252
+ const t = [...z.value].map((C) => C.value), i = Math.max(...t), o = Math.min(...t), S = [...z.value].map((C, H) => {
253
+ let j = (C.value - o) / (i - o) * (u.value.maxFontSize - u.value.minFontSize) + u.value.minFontSize;
254
+ j = isNaN(j) ? u.value.minFontSize : j;
255
+ const be = D(C.name, j);
256
+ return {
257
+ ...C,
258
+ id: xe(),
259
+ fontSize: j,
260
+ width: be.width,
261
+ height: be.height,
262
+ color: e.value.style.chart.words.usePalette ? e.value.customPalette[H] || e.value.customPalette[H % e.value.customPalette.length] || ue[H] || ue[H % ue.length] : e.value.style.chart.words.color
263
+ };
264
+ });
265
+ U.value = ft({
266
+ words: S,
267
+ svg: u.value,
268
+ proximity: e.value.style.chart.words.proximity,
269
+ strictPixelPadding: e.value.strictPixelPadding
270
+ });
271
+ }
272
+ const G = oe(() => {
273
+ const t = U.value.map((o) => ({
274
+ name: o.name,
275
+ color: o.color
276
+ })), i = U.value.map((o) => o.value);
277
+ return { head: t, body: i };
278
+ });
279
+ function q() {
280
+ ke(() => {
281
+ const t = G.value.head.map((S, C) => [[
282
+ S.name
283
+ ], [G.value.body[C]]]), i = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], [e.value.table.columnNames.value]]].concat(t), o = je(i);
284
+ qe({ csvContent: o, title: e.value.style.chart.title.text || "vue-ui-word-cloud" });
285
+ });
286
+ }
287
+ const $ = oe(() => {
288
+ const t = [
289
+ e.value.table.columnNames.series,
290
+ e.value.table.columnNames.value
291
+ ], i = G.value.head.map((C, H) => {
292
+ const j = Le({ p: e.value.table.td.prefix, v: G.value.body[H], s: e.value.table.td.suffix, r: e.value.table.td.roundingValue });
293
+ return [
294
+ {
295
+ color: C.color,
296
+ name: C.name
297
+ },
298
+ j
299
+ ];
300
+ }), o = {
301
+ th: {
302
+ backgroundColor: e.value.table.th.backgroundColor,
303
+ color: e.value.table.th.color,
304
+ outline: e.value.table.th.outline
305
+ },
306
+ td: {
307
+ backgroundColor: e.value.table.td.backgroundColor,
308
+ color: e.value.table.td.color,
309
+ outline: e.value.table.td.outline
310
+ },
311
+ breakpoint: e.value.table.responsiveBreakpoint
312
+ };
313
+ return {
314
+ colNames: [
315
+ e.value.table.columnNames.series,
316
+ e.value.table.columnNames.value
317
+ ],
318
+ head: t,
319
+ body: i,
320
+ config: o
321
+ };
322
+ }), V = f(!1);
323
+ function I(t) {
324
+ V.value = t, l.value += 1;
325
+ }
326
+ function M() {
327
+ return U.value;
328
+ }
329
+ function T() {
330
+ v.value.showTable = !v.value.showTable;
331
+ }
332
+ function ge() {
333
+ v.value.showTooltip = !v.value.showTooltip;
334
+ }
335
+ const ee = f(!1);
336
+ function de() {
337
+ ee.value = !ee.value;
338
+ }
339
+ const Pe = oe(() => !ee.value && e.value.style.chart.zoom.show), { viewBox: ie, resetZoom: ye, isZoom: ze } = ct(Q, {
340
+ x: 0,
341
+ y: 0,
342
+ width: u.value.width <= 0 ? 10 : u.value.width,
343
+ height: u.value.height <= 0 ? 10 : u.value.height
344
+ }, 1, Pe);
345
+ p({
346
+ getData: M,
347
+ generateCsv: q,
348
+ generatePdf: N,
349
+ generateImage: A,
350
+ toggleTable: T,
351
+ toggleTooltip: ge,
352
+ toggleAnnotator: de
353
+ });
354
+ const Z = f(null), te = f(!1), ve = f(""), he = f(null);
355
+ function _e(t) {
356
+ if (!v.value.showTooltip) return;
357
+ Z.value = t.id, he.value = { datapoint: t, config: e.value };
358
+ const i = e.value.style.chart.tooltip.customFormat;
359
+ if (te.value = !1, Ze(i))
360
+ try {
361
+ const o = i({
362
+ datapoint: t,
363
+ config: e.value
364
+ });
365
+ typeof o == "string" && (ve.value = o, te.value = !0);
366
+ } catch {
367
+ console.warn("Custom format cannot be applied."), te.value = !1;
368
+ }
369
+ if (!te.value) {
370
+ 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>`;
371
+ ve.value = `<div dir="auto" style="display:flex; gap:4px; align-items:center; jsutify-content:center;">${o}</div>`;
372
+ }
373
+ y.value = !0;
374
+ }
375
+ return (t, i) => (w(), X("div", {
376
+ class: "vue-ui-word-cloud",
377
+ ref_key: "wordCloudChart",
378
+ ref: a,
379
+ id: `wordCloud_${d.value}`,
380
+ style: re(`width: 100%; font-family:${e.value.style.fontFamily};background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height:100%" : ""}`),
381
+ onMouseenter: i[3] || (i[3] = () => h(Y)(!0)),
382
+ onMouseleave: i[4] || (i[4] = () => h(Y)(!1))
383
+ }, [
384
+ e.value.userOptions.buttons.annotator ? (w(), ae(it, {
385
+ key: 0,
386
+ svgRef: h(Q),
387
+ backgroundColor: e.value.style.chart.backgroundColor,
388
+ color: e.value.style.chart.color,
389
+ active: ee.value,
390
+ onClose: de
391
+ }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : B("", !0),
392
+ e.value.style.chart.title.text ? (w(), X("div", {
393
+ key: 1,
394
+ ref_key: "chartTitle",
395
+ ref: s,
396
+ style: "width:100%;background:transparent;padding-bottom:24px"
397
+ }, [
398
+ (w(), ae(Je, {
399
+ key: `title_${k.value}`,
400
+ config: {
401
+ title: {
402
+ ...e.value.style.chart.title
403
+ },
404
+ subtitle: {
405
+ ...e.value.style.chart.title.subtitle
406
+ }
407
+ }
408
+ }, null, 8, ["config"]))
409
+ ], 512)) : B("", !0),
410
+ e.value.userOptions.show && r.value && (h(le) || h(_)) ? (w(), ae(Qe, {
411
+ ref: "details",
412
+ key: `user_option_${l.value}`,
413
+ backgroundColor: e.value.style.chart.backgroundColor,
414
+ color: e.value.style.chart.color,
415
+ isPrinting: h(O),
416
+ isImaging: h(W),
417
+ uid: d.value,
418
+ hasPdf: e.value.userOptions.buttons.pdf,
419
+ hasXls: e.value.userOptions.buttons.csv,
420
+ hasImg: e.value.userOptions.buttons.img,
421
+ hasTable: e.value.userOptions.buttons.table,
422
+ hasFullscreen: e.value.userOptions.buttons.fullscreen,
423
+ isFullscreen: V.value,
424
+ titles: { ...e.value.userOptions.buttonTitles },
425
+ chartElement: a.value,
426
+ position: e.value.userOptions.position,
427
+ hasTooltip: e.value.style.chart.tooltip.show && e.value.userOptions.buttons.tooltip,
428
+ isTooltip: v.value.showTooltip,
429
+ hasAnnotator: e.value.userOptions.buttons.annotator,
430
+ isAnnotation: ee.value,
431
+ onToggleFullscreen: I,
432
+ onGeneratePdf: h(N),
433
+ onGenerateCsv: q,
434
+ onGenerateImage: h(A),
435
+ onToggleTable: T,
436
+ onToggleTooltip: ge,
437
+ onToggleAnnotator: de,
438
+ style: re({
439
+ visibility: h(le) ? h(_) ? "visible" : "hidden" : "visible"
440
+ })
441
+ }, Ie({ _: 2 }, [
442
+ t.$slots.menuIcon ? {
443
+ name: "menuIcon",
444
+ fn: P(({ isOpen: o, color: S }) => [
445
+ F(t.$slots, "menuIcon", J(K({ isOpen: o, color: S })), void 0, !0)
446
+ ]),
447
+ key: "0"
448
+ } : void 0,
449
+ t.$slots.optionPdf ? {
450
+ name: "optionPdf",
451
+ fn: P(() => [
452
+ F(t.$slots, "optionPdf", {}, void 0, !0)
453
+ ]),
454
+ key: "1"
455
+ } : void 0,
456
+ t.$slots.optionCsv ? {
457
+ name: "optionCsv",
458
+ fn: P(() => [
459
+ F(t.$slots, "optionCsv", {}, void 0, !0)
460
+ ]),
461
+ key: "2"
462
+ } : void 0,
463
+ t.$slots.optionImg ? {
464
+ name: "optionImg",
465
+ fn: P(() => [
466
+ F(t.$slots, "optionImg", {}, void 0, !0)
467
+ ]),
468
+ key: "3"
469
+ } : void 0,
470
+ t.$slots.optionTable ? {
471
+ name: "optionTable",
472
+ fn: P(() => [
473
+ F(t.$slots, "optionTable", {}, void 0, !0)
474
+ ]),
475
+ key: "4"
476
+ } : void 0,
477
+ t.$slots.optionFullscreen ? {
478
+ name: "optionFullscreen",
479
+ fn: P(({ toggleFullscreen: o, isFullscreen: S }) => [
480
+ F(t.$slots, "optionFullscreen", J(K({ toggleFullscreen: o, isFullscreen: S })), void 0, !0)
481
+ ]),
482
+ key: "5"
483
+ } : void 0,
484
+ t.$slots.optionAnnotator ? {
485
+ name: "optionAnnotator",
486
+ fn: P(({ toggleAnnotator: o, isAnnotator: S }) => [
487
+ F(t.$slots, "optionAnnotator", J(K({ toggleAnnotator: o, isAnnotator: S })), void 0, !0)
488
+ ]),
489
+ key: "6"
490
+ } : void 0
491
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasTooltip", "isTooltip", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : B("", !0),
492
+ r.value ? (w(), X("svg", {
493
+ key: 3,
494
+ ref_key: "svgRef",
495
+ ref: Q,
496
+ class: we({ "vue-data-ui-fullscreen--on": V.value, "vue-data-ui-fulscreen--off": !V.value }),
497
+ xmlns: h(He),
498
+ viewBox: `${h(ie).x} ${h(ie).y} ${h(ie).width} ${h(ie).height}`,
499
+ style: "overflow:hidden;background:transparent;"
500
+ }, [
501
+ fe(nt),
502
+ t.$slots["chart-background"] ? (w(), X("foreignObject", {
503
+ key: 0,
504
+ x: 0,
505
+ y: 0,
506
+ width: u.value.width <= 0 ? 10 : u.value.width,
507
+ height: u.value.height <= 0 ? 10 : u.value.height,
508
+ style: {
509
+ pointerEvents: "none"
510
+ }
511
+ }, [
512
+ F(t.$slots, "chart-background", {}, void 0, !0)
513
+ ], 8, yt)) : B("", !0),
514
+ pe("g", {
515
+ transform: `translate(${(u.value.width <= 0 ? 10 : u.value.width) / 2}, ${(u.value.height <= 0 ? 10 : u.value.height) / 2})`
516
+ }, [
517
+ (w(!0), X(Xe, null, Re(U.value, (o, S) => (w(), X("g", null, [
518
+ o.minX !== void 0 ? (w(), X("rect", {
519
+ key: 0,
520
+ x: o.x + o.minX,
521
+ y: o.y + o.minY * 1.25,
522
+ width: o.maxX - o.minX,
523
+ height: o.maxY - o.minY,
524
+ fill: "transparent",
525
+ "pointer-events": "visiblePainted",
526
+ onMouseover: (C) => _e(o),
527
+ onMouseleave: i[0] || (i[0] = (C) => {
528
+ Z.value = null, y.value = !1;
529
+ })
530
+ }, null, 40, wt)) : B("", !0),
531
+ (w(), X("text", {
532
+ fill: o.color,
533
+ "font-weight": e.value.style.chart.words.bold ? "bold" : "normal",
534
+ key: S,
535
+ x: o.x,
536
+ y: o.y,
537
+ "font-size": o.fontSize,
538
+ transform: `translate(${o.width / 2}, ${o.height / 2})`,
539
+ class: we({ animated: e.value.useCssAnimation, "word-selected": Z.value && Z.value === o.id && v.value.showTooltip, "word-not-selected": Z.value && Z.value !== o.id && v.value.showTooltip }),
540
+ "text-anchor": "middle",
541
+ "dominant-baseline": "central",
542
+ style: re(`animation-delay:${S * e.value.animationDelayMs}ms !important; pointer-events:none;`)
543
+ }, Ce(o.name), 15, Ct))
544
+ ]))), 256))
545
+ ], 8, bt),
546
+ F(t.$slots, "svg", {
547
+ svg: { height: u.value.height, width: u.value.width }
548
+ }, void 0, !0)
549
+ ], 10, gt)) : B("", !0),
550
+ t.$slots.watermark ? (w(), X("div", kt, [
551
+ F(t.$slots, "watermark", J(K({ isPrinting: h(O) || h(W) })), void 0, !0)
552
+ ])) : B("", !0),
553
+ h(ze) ? (w(), X("div", xt, [
554
+ F(t.$slots, "reset-action", { reset: h(ye) }, () => [
555
+ pe("button", {
556
+ "data-cy-reset": "",
557
+ tabindex: "0",
558
+ role: "button",
559
+ class: "vue-data-ui-refresh-button",
560
+ style: re({
561
+ background: e.value.style.chart.backgroundColor
562
+ }),
563
+ onClick: i[1] || (i[1] = (o) => h(ye)(!0))
564
+ }, [
565
+ fe(dt, {
566
+ name: "refresh",
567
+ stroke: e.value.style.chart.color
568
+ }, null, 8, ["stroke"])
569
+ ], 4)
570
+ ], !0)
571
+ ])) : B("", !0),
572
+ fe(st, {
573
+ show: v.value.showTooltip && y.value,
574
+ backgroundColor: e.value.style.chart.tooltip.backgroundColor,
575
+ color: e.value.style.chart.tooltip.color,
576
+ fontSize: e.value.style.chart.tooltip.fontSize,
577
+ borderRadius: e.value.style.chart.tooltip.borderRadius,
578
+ borderColor: e.value.style.chart.tooltip.borderColor,
579
+ borderWidth: e.value.style.chart.tooltip.borderWidth,
580
+ backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
581
+ position: e.value.style.chart.tooltip.position,
582
+ offsetY: e.value.style.chart.tooltip.offsetY,
583
+ parent: a.value,
584
+ content: ve.value,
585
+ isCustom: te.value
586
+ }, {
587
+ "tooltip-before": P(() => [
588
+ F(t.$slots, "tooltip-before", J(K({ ...he.value })), void 0, !0)
589
+ ]),
590
+ "tooltip-after": P(() => [
591
+ F(t.$slots, "tooltip-after", J(K({ ...he.value })), void 0, !0)
592
+ ]),
593
+ _: 3
594
+ }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
595
+ t.$slots.source ? (w(), X("div", {
596
+ key: 6,
597
+ ref_key: "source",
598
+ ref: g,
599
+ dir: "auto"
600
+ }, [
601
+ F(t.$slots, "source", {}, void 0, !0)
602
+ ], 512)) : B("", !0),
603
+ r.value ? (w(), ae(at, {
604
+ key: 7,
605
+ hideDetails: "",
606
+ config: {
607
+ open: v.value.showTable,
608
+ maxHeight: 1e4,
609
+ body: {
610
+ backgroundColor: e.value.style.chart.backgroundColor,
611
+ color: e.value.style.chart.color
612
+ },
613
+ head: {
614
+ backgroundColor: e.value.style.chart.backgroundColor,
615
+ color: e.value.style.chart.color
616
+ }
617
+ }
618
+ }, {
619
+ content: P(() => [
620
+ (w(), ae(lt, {
621
+ key: `table_${m.value}`,
622
+ colNames: $.value.colNames,
623
+ head: $.value.head,
624
+ body: $.value.body,
625
+ config: $.value.config,
626
+ title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
627
+ onClose: i[2] || (i[2] = (o) => v.value.showTable = !1)
628
+ }, {
629
+ th: P(({ th: o }) => [
630
+ pe("div", {
631
+ innerHTML: o,
632
+ style: { display: "flex", "align-items": "center" }
633
+ }, null, 8, $t)
634
+ ]),
635
+ td: P(({ td: o }) => [
636
+ We(Ce(o.name || o), 1)
637
+ ]),
638
+ _: 1
639
+ }, 8, ["colNames", "head", "body", "config", "title"]))
640
+ ]),
641
+ _: 1
642
+ }, 8, ["config"])) : B("", !0)
643
+ ], 44, pt));
644
+ }
645
+ }, Dt = /* @__PURE__ */ vt(Tt, [["__scopeId", "data-v-cda211d1"]]);
646
+ export {
647
+ Dt as default
648
+ };
@@ -1,17 +1,17 @@
1
1
  import { computed as N, ref as v, watch as Ja, createElementBlock as R, openBlock as k, unref as S, normalizeStyle as pa, normalizeClass as Qa, createBlock as sa, createCommentVNode as L, renderSlot as B, createVNode as wa, createSlots as Xa, withCtx as G, normalizeProps as ma, guardReactiveProps as oa, withModifiers as G0, Fragment as ra, createElementVNode as T, renderList as $a, mergeProps as C0, createTextVNode as Sa, toDisplayString as ba, nextTick as I0 } from "vue";
2
- import { u as P0, c as qa, b as U0, d as ga, p as da, X as O0, l as D0, h as a0, i as _0, f as l0, C as ya, N as K0, q as z0, r as j0, x as H0 } from "./index-CvceFsAt.js";
3
- import { u as F0 } from "./useNestedProp-CCO2zzSz.js";
2
+ import { u as P0, c as qa, b as U0, d as ga, p as da, X as O0, l as D0, h as a0, i as _0, f as l0, C as ya, N as K0, q as z0, r as j0, x as H0 } from "./index-Br1RehUb.js";
3
+ import { u as F0 } from "./useNestedProp-DXxFHEXa.js";
4
4
  import { u as Z0 } from "./useUserOptionState-BIvW1Kz7.js";
5
5
  import { u as x0 } from "./useChartAccessibility-BWojgys7.js";
6
- import { _ as W0 } from "./PenAndPaper-C8nE9Htd.js";
7
- import { _ as Y0 } from "./Title-CASnfBZ_.js";
8
- import { u as V0, U as J0 } from "./usePrinter-ximty4az.js";
9
- import { _ as Q0 } from "./PackageVersion-GwcyKwzb.js";
10
- import { _ as X0 } from "./Tooltip-j8icrqWr.js";
11
- import $0 from "./vue-ui-accordion-C-Crf9Kp.js";
12
- import { D as q0 } from "./DataTable--GI-DrhZ.js";
13
- import { L as a3 } from "./Legend-Bh3njoaI.js";
14
- import { _ as _3 } from "./Shape-CoxSOYo0.js";
6
+ import { _ as W0 } from "./PenAndPaper-BgZ0aAW2.js";
7
+ import { _ as Y0 } from "./Title-UITSl88n.js";
8
+ import { u as V0, U as J0 } from "./usePrinter-BotFh1ji.js";
9
+ import { _ as Q0 } from "./PackageVersion-vJyd5YD8.js";
10
+ import { _ as X0 } from "./Tooltip-QHKaXOYQ.js";
11
+ import $0 from "./vue-ui-accordion-BlsQ4IFe.js";
12
+ import { D as q0 } from "./DataTable-CyKnS5wp.js";
13
+ import { L as a3 } from "./Legend-Dj_es4iV.js";
14
+ import { _ as _3 } from "./Shape-0QfdCJdX.js";
15
15
  import { _ as l3 } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
16
  const n3 = {
17
17
  type: "FeatureCollection",