vue-data-ui 2.10.5 → 2.10.7

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 (171) hide show
  1. package/README.md +1 -1
  2. package/dist/{Arrow-Badwqciu.cjs → Arrow-CB6EKr1I.cjs} +1 -1
  3. package/dist/{Arrow-Bb5xelJS.js → Arrow-CZUwKF2D.js} +1 -1
  4. package/dist/{BaseIcon-CvuQ41yl.cjs → BaseIcon-BkA9Q34x.cjs} +1 -1
  5. package/dist/{BaseIcon-HDOMbyJq.js → BaseIcon-Bzv6qbPZ.js} +1 -1
  6. package/dist/{ColorPicker-NOWXYDyd.cjs → ColorPicker-CSWIZQFG.cjs} +1 -1
  7. package/dist/{ColorPicker-BODnRb0v.js → ColorPicker-C_UcScy-.js} +3 -3
  8. package/dist/{DataTable-CGMCHKzY.js → DataTable-BhwIv7c6.js} +2 -2
  9. package/dist/{DataTable-Bu_0tRZE.cjs → DataTable-BmSWykCq.cjs} +1 -1
  10. package/dist/{Legend-BDIC5aus.cjs → Legend-CMib9jhR.cjs} +1 -1
  11. package/dist/{Legend-CLZW3_-V.js → Legend-CubpFiQC.js} +2 -2
  12. package/dist/{PackageVersion-CKutD59c.cjs → PackageVersion-9kqlnk5q.cjs} +1 -1
  13. package/dist/{PackageVersion-DrU5ubC-.js → PackageVersion-DmKsiZge.js} +1 -1
  14. package/dist/{PenAndPaper-Bnvy0XRn.cjs → PenAndPaper-CfWPwfS1.cjs} +1 -1
  15. package/dist/{PenAndPaper-BF6RVx_0.js → PenAndPaper-Dgf1a1MW.js} +3 -3
  16. package/dist/{Shape-D5Dtzm3x.js → Shape-BUW7OeOM.js} +1 -1
  17. package/dist/{Shape-NYJ-EMUq.cjs → Shape-DVn1gKjR.cjs} +1 -1
  18. package/dist/{Slicer-BrajQoJL.js → Slicer-jB5tCct6.js} +2 -2
  19. package/dist/{Slicer-Cdgf9oDx.cjs → Slicer-ud5drJRz.cjs} +1 -1
  20. package/dist/{Title-BNsKKvQy.js → Title-BDdzEGgo.js} +1 -1
  21. package/dist/{Title-Cj4tUZSu.cjs → Title-EjA2nkhd.cjs} +1 -1
  22. package/dist/{Tooltip-Dm2APAls.js → Tooltip-Cdkz2ese.js} +1 -1
  23. package/dist/{Tooltip-CLjMKc28.cjs → Tooltip-Dr2CQpGZ.cjs} +1 -1
  24. package/dist/documentation/installation.md +1 -1
  25. package/dist/{dom-to-png-Z6Fps788.js → dom-to-png-0ag5uZSL.js} +1 -1
  26. package/dist/{dom-to-png-BlAkXMo8.cjs → dom-to-png-DfWDULgW.cjs} +1 -1
  27. package/dist/{img-0HoPau8z.cjs → img-BFXiOvkr.cjs} +1 -1
  28. package/dist/{img-DhPFunow.js → img-DB4eqtiV.js} +1 -1
  29. package/dist/index-BX4v5fiN.cjs +9 -0
  30. package/dist/{index-D2h9qRb4.js → index-Co_0CzhC.js} +285 -265
  31. package/dist/{pdf-BpYF_lP6.js → pdf-DUrwlnsH.js} +1 -1
  32. package/dist/{pdf-Dm8bjLUW.cjs → pdf-D_ScD9oB.cjs} +1 -1
  33. package/dist/style.css +1 -1
  34. package/dist/types/vue-data-ui.d.cts +58 -0
  35. package/dist/types/vue-data-ui.d.ts +58 -0
  36. package/dist/{useNestedProp-CAbtwUJj.cjs → useNestedProp-DjOgO33z.cjs} +1 -1
  37. package/dist/{useNestedProp-DlWfv-mw.js → useNestedProp-DqI_VUcm.js} +1 -1
  38. package/dist/{usePrinter-BGkHpXM9.js → usePrinter-BV6TePSm.js} +3 -3
  39. package/dist/{usePrinter-B9NkBzf5.cjs → usePrinter-CynLTaVl.cjs} +1 -1
  40. package/dist/{vue-data-ui-DPoOpdO-.cjs → vue-data-ui-BTfYQKf1.cjs} +1 -1
  41. package/dist/{vue-data-ui-kWX-2oPX.js → vue-data-ui-D0yLIHBU.js} +62 -62
  42. package/dist/vue-data-ui.cjs +1 -1
  43. package/dist/vue-data-ui.js +7 -7
  44. package/dist/{vue-ui-3d-bar-CAJh6lT_.js → vue-ui-3d-bar-c10gAuCo.js} +9 -9
  45. package/dist/{vue-ui-3d-bar-CwsCsbwY.cjs → vue-ui-3d-bar-cz81vDyE.cjs} +1 -1
  46. package/dist/{vue-ui-accordion-ChE9WO8Q.cjs → vue-ui-accordion-BrbibtJK.cjs} +1 -1
  47. package/dist/{vue-ui-accordion-C-v1kmEc.js → vue-ui-accordion-DMCnTtx0.js} +3 -3
  48. package/dist/{vue-ui-age-pyramid-CAtI3F1S.cjs → vue-ui-age-pyramid-VrC5Ul6m.cjs} +1 -1
  49. package/dist/{vue-ui-age-pyramid-DdwMF6_I.js → vue-ui-age-pyramid-qvsOA8yi.js} +10 -10
  50. package/dist/{vue-ui-annotator-DQ0W7Q5C.cjs → vue-ui-annotator-DYHa8k6K.cjs} +1 -1
  51. package/dist/{vue-ui-annotator-bkpTEqep.js → vue-ui-annotator-Difg_FB4.js} +2 -2
  52. package/dist/{vue-ui-bullet-CQtNg-wR.cjs → vue-ui-bullet-Ck8VFaeu.cjs} +1 -1
  53. package/dist/{vue-ui-bullet-BEAyOY56.js → vue-ui-bullet-D9jQThZ5.js} +8 -8
  54. package/dist/{vue-ui-candlestick-DKYirN9r.js → vue-ui-candlestick-CkGKxPxw.js} +11 -11
  55. package/dist/{vue-ui-candlestick-DJtpSDju.cjs → vue-ui-candlestick-Dsd_ba5D.cjs} +1 -1
  56. package/dist/{vue-ui-carousel-table-VFiMfJos.cjs → vue-ui-carousel-table-46CpWaYv.cjs} +1 -1
  57. package/dist/{vue-ui-carousel-table-q1hGM_Iw.js → vue-ui-carousel-table-CR-iVMMe.js} +4 -4
  58. package/dist/{vue-ui-chestnut-B1VUR7mU.js → vue-ui-chestnut-C9hkjAMP.js} +8 -8
  59. package/dist/{vue-ui-chestnut-DRGps83_.cjs → vue-ui-chestnut-DpZW075x.cjs} +1 -1
  60. package/dist/{vue-ui-circle-pack-CkpLDinw.cjs → vue-ui-circle-pack-5_vQ6vaC.cjs} +1 -1
  61. package/dist/{vue-ui-circle-pack-Bw_j7w4u.js → vue-ui-circle-pack-DCiIAJrq.js} +9 -9
  62. package/dist/{vue-ui-cursor-ZkCZRUcy.js → vue-ui-cursor-Cts6qtAH.js} +2 -2
  63. package/dist/{vue-ui-cursor-D_ZN42gT.cjs → vue-ui-cursor-DkNjb-zj.cjs} +1 -1
  64. package/dist/{vue-ui-dashboard-Bcj-LfoN.cjs → vue-ui-dashboard-DHHIcBg0.cjs} +1 -1
  65. package/dist/{vue-ui-dashboard-DnEpTStU.js → vue-ui-dashboard-Db-_ElsA.js} +62 -62
  66. package/dist/{vue-ui-digits-Bsseebr6.js → vue-ui-digits--pkv7eKf.js} +2 -2
  67. package/dist/{vue-ui-digits-p0PWcPJX.cjs → vue-ui-digits-BV--b8cv.cjs} +1 -1
  68. package/dist/{vue-ui-donut-CwvMWv_q.js → vue-ui-donut-BxbbhGmV.js} +36 -36
  69. package/dist/{vue-ui-donut-C3mhQ-03.cjs → vue-ui-donut-D1OlfgtH.cjs} +1 -1
  70. package/dist/{vue-ui-donut-evolution-BzNh2QwP.js → vue-ui-donut-evolution-2mbVNu_w.js} +11 -11
  71. package/dist/{vue-ui-donut-evolution-C9eui30b.cjs → vue-ui-donut-evolution-BetPU8WD.cjs} +1 -1
  72. package/dist/{vue-ui-dumbbell-BheHAxmy.cjs → vue-ui-dumbbell-B4tWeLVq.cjs} +1 -1
  73. package/dist/{vue-ui-dumbbell-BvNEHy9Z.js → vue-ui-dumbbell-Brfkbz4H.js} +10 -10
  74. package/dist/vue-ui-flow-BSptjAOo.cjs +1 -0
  75. package/dist/vue-ui-flow-BtfK7Ixu.js +655 -0
  76. package/dist/{vue-ui-funnel-DhoOe49e.js → vue-ui-funnel-Bga3R3li.js} +9 -9
  77. package/dist/{vue-ui-funnel-D8brKLer.cjs → vue-ui-funnel-DJIRpxX0.cjs} +1 -1
  78. package/dist/{vue-ui-galaxy-DUQ5z3km.js → vue-ui-galaxy-CtUY6byr.js} +11 -11
  79. package/dist/{vue-ui-galaxy-YP3Gl3vG.cjs → vue-ui-galaxy-DjpT9A4L.cjs} +1 -1
  80. package/dist/{vue-ui-gauge-C_8QgadB.js → vue-ui-gauge-Bob29zui.js} +7 -7
  81. package/dist/{vue-ui-gauge-WH6OGXAD.cjs → vue-ui-gauge-ByLQRCM5.cjs} +1 -1
  82. package/dist/{vue-ui-gizmo-D2AJKoeB.cjs → vue-ui-gizmo-DBCKjWN0.cjs} +1 -1
  83. package/dist/{vue-ui-gizmo-DFy9X5IT.js → vue-ui-gizmo-Dj1TLLb1.js} +3 -3
  84. package/dist/{vue-ui-heatmap-DH93m9RC.js → vue-ui-heatmap-BYH3bosu.js} +10 -10
  85. package/dist/{vue-ui-heatmap-Dx8XPeob.cjs → vue-ui-heatmap-CAUnlp-o.cjs} +1 -1
  86. package/dist/{vue-ui-history-plot-C-9fJrMv.js → vue-ui-history-plot-C1kOJElL.js} +11 -11
  87. package/dist/{vue-ui-history-plot-Cmc7KMnB.cjs → vue-ui-history-plot-CbTOgmxa.cjs} +1 -1
  88. package/dist/{vue-ui-kpi-C6cv6sCW.js → vue-ui-kpi-BUoc8QIz.js} +3 -3
  89. package/dist/{vue-ui-kpi-DqpTRLkQ.cjs → vue-ui-kpi-DTWa9I78.cjs} +1 -1
  90. package/dist/{vue-ui-mini-loader-CpxzfBja.cjs → vue-ui-mini-loader-C1awnIuZ.cjs} +1 -1
  91. package/dist/{vue-ui-mini-loader-BH-Hztc3.js → vue-ui-mini-loader-CSmFWNXS.js} +2 -2
  92. package/dist/{vue-ui-molecule-avfEzaAy.cjs → vue-ui-molecule-CgSPoJxN.cjs} +1 -1
  93. package/dist/{vue-ui-molecule-1475qvln.js → vue-ui-molecule-D9kSZQHB.js} +11 -11
  94. package/dist/{vue-ui-mood-radar-CnAmD4WX.cjs → vue-ui-mood-radar-DpQ8EBTg.cjs} +1 -1
  95. package/dist/{vue-ui-mood-radar-SJjT1sCF.js → vue-ui-mood-radar-qd5CCM58.js} +11 -11
  96. package/dist/vue-ui-nested-donuts-BP9gsX6T.cjs +17 -0
  97. package/dist/vue-ui-nested-donuts-OqJPZW8l.js +1137 -0
  98. package/dist/{vue-ui-onion-CA2N8k0p.cjs → vue-ui-onion-DYIgsIYr.cjs} +1 -1
  99. package/dist/{vue-ui-onion-DzreNeV2.js → vue-ui-onion-rNOeD9u1.js} +11 -11
  100. package/dist/{vue-ui-parallel-coordinate-plot-V6vt-U3H.cjs → vue-ui-parallel-coordinate-plot-CDwhmDGl.cjs} +1 -1
  101. package/dist/{vue-ui-parallel-coordinate-plot-CyoOsjFp.js → vue-ui-parallel-coordinate-plot-DQd14cew.js} +12 -12
  102. package/dist/{vue-ui-quadrant-DkMAnQHE.js → vue-ui-quadrant-CH856J9A.js} +40 -40
  103. package/dist/{vue-ui-quadrant-C7Fb-DVA.cjs → vue-ui-quadrant-RRM343kT.cjs} +1 -1
  104. package/dist/{vue-ui-quick-chart-BNf57IFn.js → vue-ui-quick-chart-BLq8C-m8.js} +9 -9
  105. package/dist/{vue-ui-quick-chart-CQp5GSbr.cjs → vue-ui-quick-chart-BXYgI65b.cjs} +1 -1
  106. package/dist/{vue-ui-radar-DVv2P3B3.cjs → vue-ui-radar-38OxxA3O.cjs} +1 -1
  107. package/dist/{vue-ui-radar-DHxUS4r0.js → vue-ui-radar-BuCYH3tO.js} +12 -12
  108. package/dist/{vue-ui-rating-CA5buZm1.cjs → vue-ui-rating-CiqatGZ_.cjs} +1 -1
  109. package/dist/{vue-ui-rating-2dp8n1gK.js → vue-ui-rating-D6OL6Aml.js} +10 -10
  110. package/dist/{vue-ui-relation-circle-hU35G-pb.js → vue-ui-relation-circle-ByhUL4R6.js} +7 -7
  111. package/dist/{vue-ui-relation-circle-BGY0EsvO.cjs → vue-ui-relation-circle-DDYGMgUl.cjs} +1 -1
  112. package/dist/{vue-ui-ridgeline-CTE25ofY.js → vue-ui-ridgeline-B5126LSF.js} +49 -49
  113. package/dist/{vue-ui-ridgeline-dhS0sX29.cjs → vue-ui-ridgeline-C550XNkk.cjs} +1 -1
  114. package/dist/{vue-ui-rings-BgJT1xPm.js → vue-ui-rings-DPXct3je.js} +12 -12
  115. package/dist/{vue-ui-rings-2XntvE5b.cjs → vue-ui-rings-Dxp4dmO2.cjs} +1 -1
  116. package/dist/{vue-ui-scatter-Brh98c-o.cjs → vue-ui-scatter-BWmY2_ij.cjs} +1 -1
  117. package/dist/{vue-ui-scatter-YKeV-y-p.js → vue-ui-scatter-_DhEpcsw.js} +44 -44
  118. package/dist/{vue-ui-skeleton-CK5DdXVo.cjs → vue-ui-skeleton-DvJP74jb.cjs} +1 -1
  119. package/dist/{vue-ui-skeleton-CNP_4H8z.js → vue-ui-skeleton-Dzehgcp3.js} +19 -19
  120. package/dist/{vue-ui-smiley-BUlzuzq6.js → vue-ui-smiley-BHd1V1Dv.js} +2 -2
  121. package/dist/{vue-ui-smiley-3uIAUF4w.cjs → vue-ui-smiley-CtDCCsfg.cjs} +1 -1
  122. package/dist/{vue-ui-spark-trend-DmwQZLUP.js → vue-ui-spark-trend-DDX-fjR-.js} +5 -5
  123. package/dist/{vue-ui-spark-trend-CfhhjekZ.cjs → vue-ui-spark-trend-DDf1hJwg.cjs} +1 -1
  124. package/dist/{vue-ui-sparkbar-BxKGdAq3.cjs → vue-ui-sparkbar-BT5NEz93.cjs} +1 -1
  125. package/dist/{vue-ui-sparkbar-TLxa0K9v.js → vue-ui-sparkbar-BWeY-FcV.js} +4 -4
  126. package/dist/{vue-ui-sparkgauge-CIwnnQYW.js → vue-ui-sparkgauge-BQMHbq8E.js} +4 -4
  127. package/dist/{vue-ui-sparkgauge-CWXLMSHa.cjs → vue-ui-sparkgauge-IYvYlZ57.cjs} +1 -1
  128. package/dist/{vue-ui-sparkhistogram-w1rEgV9S.js → vue-ui-sparkhistogram-C5EdWvQP.js} +5 -5
  129. package/dist/{vue-ui-sparkhistogram-Df0Edni4.cjs → vue-ui-sparkhistogram-cjsCsNyf.cjs} +1 -1
  130. package/dist/{vue-ui-sparkline-BQCbVZw5.cjs → vue-ui-sparkline-BwZJpAAf.cjs} +1 -1
  131. package/dist/{vue-ui-sparkline-C2Sf6sF4.js → vue-ui-sparkline-CbKIpwVC.js} +15 -15
  132. package/dist/{vue-ui-sparkstackbar-BlyzQCK8.cjs → vue-ui-sparkstackbar-BVJU36Jz.cjs} +1 -1
  133. package/dist/{vue-ui-sparkstackbar-BaVuTNxy.js → vue-ui-sparkstackbar-COxIfFgm.js} +5 -5
  134. package/dist/{vue-ui-stackbar-ypv8uR9d.cjs → vue-ui-stackbar-CQ56hps8.cjs} +1 -1
  135. package/dist/{vue-ui-stackbar-D4H8uFQ5.js → vue-ui-stackbar-Dr5hRx6G.js} +13 -13
  136. package/dist/{vue-ui-strip-plot-CmrAJ6uF.cjs → vue-ui-strip-plot-B_nfC_fx.cjs} +1 -1
  137. package/dist/{vue-ui-strip-plot-Dxh7xzZf.js → vue-ui-strip-plot-Mct4OE0A.js} +11 -11
  138. package/dist/{vue-ui-table-BD8QgS2P.js → vue-ui-table-B6LG28n8.js} +3 -3
  139. package/dist/{vue-ui-table-BmyVGToW.cjs → vue-ui-table-DE3wOTyH.cjs} +1 -1
  140. package/dist/{vue-ui-table-heatmap-DZIrV6Bq.js → vue-ui-table-heatmap-DDOoKybT.js} +4 -4
  141. package/dist/{vue-ui-table-heatmap-CXTW4REL.cjs → vue-ui-table-heatmap-DuMRCIbx.cjs} +1 -1
  142. package/dist/{vue-ui-table-sparkline-B0aYy2JL.js → vue-ui-table-sparkline-D578FuNQ.js} +5 -5
  143. package/dist/{vue-ui-table-sparkline--R1CzNtx.cjs → vue-ui-table-sparkline-gZWWmkQe.cjs} +1 -1
  144. package/dist/{vue-ui-thermometer-DtOy35Jd.cjs → vue-ui-thermometer-BWHsyYj8.cjs} +1 -1
  145. package/dist/{vue-ui-thermometer-Dh0nVf-h.js → vue-ui-thermometer-DFbYODrU.js} +7 -7
  146. package/dist/{vue-ui-timer-C4JkVftX.js → vue-ui-timer-Bi6Q0m_J.js} +5 -5
  147. package/dist/{vue-ui-timer-Bo3p5wjo.cjs → vue-ui-timer-s73pZhYM.cjs} +1 -1
  148. package/dist/{vue-ui-tiremarks-B-3AEiND.cjs → vue-ui-tiremarks-BcFJOrF8.cjs} +1 -1
  149. package/dist/{vue-ui-tiremarks-GLU60Yzo.js → vue-ui-tiremarks-C68rB2kd.js} +7 -7
  150. package/dist/{vue-ui-treemap-ZiuUtYjs.cjs → vue-ui-treemap-B7_kcMng.cjs} +1 -1
  151. package/dist/{vue-ui-treemap-QyQqnbJc.js → vue-ui-treemap-b5rZtLKn.js} +12 -12
  152. package/dist/{vue-ui-vertical-bar-DHZvOGpR.cjs → vue-ui-vertical-bar-Bw42kw9a.cjs} +1 -1
  153. package/dist/{vue-ui-vertical-bar-CbwZCrcW.js → vue-ui-vertical-bar-DyZ-gfQi.js} +12 -12
  154. package/dist/{vue-ui-waffle-D_zRZStV.js → vue-ui-waffle-CG05FL_H.js} +12 -12
  155. package/dist/{vue-ui-waffle-Yi5W6qYr.cjs → vue-ui-waffle-tk3zMyjq.cjs} +1 -1
  156. package/dist/{vue-ui-wheel-D_wbd08e.js → vue-ui-wheel-BTbteaZS.js} +7 -7
  157. package/dist/{vue-ui-wheel-D85CwfOC.cjs → vue-ui-wheel-RzXEZFfN.cjs} +1 -1
  158. package/dist/{vue-ui-word-cloud-jMOFgeRb.js → vue-ui-word-cloud-BKubtYCS.js} +10 -10
  159. package/dist/{vue-ui-word-cloud-CkActnvX.cjs → vue-ui-word-cloud-CUZ1Mm3Q.cjs} +1 -1
  160. package/dist/{vue-ui-world-XMoqQwg7.js → vue-ui-world-BF0wSEJb.js} +11 -11
  161. package/dist/{vue-ui-world-aTdY2yXo.cjs → vue-ui-world-BPcoReDh.cjs} +1 -1
  162. package/dist/{vue-ui-xy-DL6V_DZs.js → vue-ui-xy-AgcMweTZ.js} +16 -16
  163. package/dist/{vue-ui-xy-DYEFXjnb.cjs → vue-ui-xy-C8ZEeV9g.cjs} +2 -2
  164. package/dist/{vue-ui-xy-canvas-K0Qm3FPR.cjs → vue-ui-xy-canvas-CJl9RPzv.cjs} +1 -1
  165. package/dist/{vue-ui-xy-canvas-DpX9D7Ny.js → vue-ui-xy-canvas-CYaJZj3B.js} +12 -12
  166. package/package.json +1 -1
  167. package/dist/index-D6F-xMcR.cjs +0 -9
  168. package/dist/vue-ui-flow-DBuLJlEV.js +0 -550
  169. package/dist/vue-ui-flow-vz29fymj.cjs +0 -1
  170. package/dist/vue-ui-nested-donuts-6MGMcByL.js +0 -937
  171. package/dist/vue-ui-nested-donuts-BkQJr_zV.cjs +0 -17
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),m=require("./index-D6F-xMcR.cjs"),me=require("./Title-Cj4tUZSu.cjs"),se=require("./usePrinter-B9NkBzf5.cjs"),ae=require("./useResponsive-DQmBAoBf.cjs"),pe=require("./vue-ui-accordion-ChE9WO8Q.cjs"),ge=require("./DataTable-Bu_0tRZE.cjs"),ie=require("./useNestedProp-CAbtwUJj.cjs"),ye=require("./PackageVersion-CKutD59c.cjs"),be=require("./Tooltip-CLjMKc28.cjs"),ke=require("./PenAndPaper-Bnvy0XRn.cjs"),we=require("./useUserOptionState-BgepsfED.cjs"),Ce=require("./useChartAccessibility-Cm7nkzTG.cjs"),xe=require("./usePanZoom-PXRi2Rwx.cjs"),$e=require("./BaseIcon-CvuQ41yl.cjs"),Se=require("./_plugin-vue_export-helper-BHFhmbuH.cjs");function Te(b,p){const{width:d,height:r}=b,v=p.getImageData(0,0,d,r).data;let n=d,l=r,s=0,g=0,w=!1;for(let f=0;f<r;f+=1)for(let y=0;y<d;y+=1)v[(f*d+y)*4+3]>1&&(w=!0,y<n&&(n=y),y>s&&(s=y),f<l&&(l=f),f>g&&(g=f));return w?[n,l,s,g]:[0,0,0,0]}function ue({word:b,fontSize:p,pad:d,canvas:r,ctx:u,svg:v}){u.save(),u.font=`${v.style&&v.style.bold?"bold ":""}${p}px Arial`;const n=u.measureText(b.name),l=Math.ceil(n.width)+2+(d?d*2:0),s=Math.ceil(p)+2+(d?d*2:0);r.width=l,r.height=s,u.clearRect(0,0,l,s),u.font=`${v.style&&v.style.bold?"bold ":""}${p}px Arial`,u.textAlign="center",u.textBaseline="middle",u.fillStyle="black",u.fillText(b.name,l/2,s/2);const w=u.getImageData(0,0,l,s).data,f=[];for(let B=0;B<s;B+=1)for(let I=0;I<l;I+=1)w[(B*l+I)*4+3]>1&&f.push([I,B]);const[y,t,P,O]=Te(r,u);return u.restore(),{w:l,h:s,wordMask:f,minX:y,minY:t,maxX:P,maxY:O}}function ce({mask:b,maskW:p,maskH:d,wx:r,wy:u,wordMask:v}){for(let n=0;n<v.length;n+=1){const l=r+v[n][0],s=u+v[n][1];if(l<0||s<0||l>=p||s>=d||b[s*p+l])return!1}return!0}function de({mask:b,maskW:p,maskH:d,wx:r,wy:u,wordMask:v}){for(let n=0;n<v.length;n+=1){const l=r+v[n][0],s=u+v[n][1];l>=0&&s>=0&&l<p&&s<d&&(b[s*p+l]=1)}}function Pe({wordMask:b,w:p,h:d,dilation:r}){const u=new Set(b.map(([n,l])=>`${n},${l}`)),v=new Set(u);for(let[n,l]of b)for(let s=-r;s<=r;s+=1)for(let g=-r;g<=r;g+=1){if(s===0&&g===0)continue;const w=n+s,f=l+g;w>=0&&w<p&&f>=0&&f<d&&v.add(`${w},${f}`)}return Array.from(v).map(n=>n.split(",").map(Number))}function Be({words:b,proximity:p=0,svg:d,strictPixelPadding:r}){const{width:u,height:v}=d,n=Math.round(u),l=Math.round(v),s=1,g=d.minFontSize,w=Math.min(d.maxFontSize,100),f=b.map(C=>C.value),y=Math.min(...f),t=Math.max(...f),P=new Uint8Array(n*l),O=document.createElement("canvas"),B=O.getContext("2d",{willReadFrequently:!0});O.width=n,O.height=l;const I=6,j=2,G=2,Z=1,c=Math.floor(n/2),J=Math.floor(l/2),Q=[...b].sort((C,N)=>N.value-C.value),R=[];for(const C of Q){let N=g;t!==y&&(N=(C.value-y)/(t-y)*(w-g)+g),N=Math.max(g,Math.min(w,N));let V=!1,z=N;for(;!V&&z>=s;){let{w:M,h,wordMask:_,minX:E,minY:W,maxX:q,maxY:D}=ue({word:C,fontSize:z,pad:p,canvas:O,ctx:B,svg:d});r&&(_=Pe({wordMask:_,w:M,h,dilation:1}));let x=0,A=0;for(;x<Math.max(n,l)&&!V&&A<1e4;){for(let F=0;F<360;F+=I){A+=1;const T=Math.round(c+x*Math.cos(F*Math.PI/180)-M/2),$=Math.round(J+x*Math.sin(F*Math.PI/180)-h/2);if(!(T<0||$<0||T+M>n||$+h>l)&&ce({mask:P,maskW:n,maskH:l,wx:T,wy:$,wordMask:_})){R.push({...C,x:T-n/2,y:$-l/2,fontSize:z,width:M,height:h,angle:0,minX:E,minY:W,maxX:q,maxY:D}),de({mask:P,maskW:n,maskH:l,wx:T,wy:$,wordMask:_}),V=!0;break}}x+=j}V||(z-=1)}if(!V&&z<s){z=s;const{w:M,h,wordMask:_,minX:E,minY:W,maxX:q,maxY:D}=ue({word:C,fontSize:z,pad:p,canvas:O,ctx:B,svg:d});let x=0,A=0;for(;x<Math.max(n,l)&&!V&&A<25e3;){for(let F=0;F<360;F+=G){A+=1;const T=Math.round(c+x*Math.cos(F*Math.PI/180)-M/2),$=Math.round(J+x*Math.sin(F*Math.PI/180)-h/2);if(!(T<0||$<0||T+M>n||$+h>l)&&ce({mask:P,maskW:n,maskH:l,wx:T,wy:$,wordMask:_})){R.push({...C,x:T-n/2,y:$-l/2,fontSize:z,width:M,height:h,angle:0,minX:E,minY:W,maxX:q,maxY:D}),de({mask:P,maskW:n,maskH:l,wx:T,wy:$,wordMask:_}),V=!0;break}}x+=Z}}}return R.sort((C,N)=>N.fontSize-C.fontSize)}const Ne=["id"],ze=["xmlns","viewBox"],Me=["width","height"],Fe=["transform"],Oe=["x","y","width","height","onMouseover"],Ve=["fill","font-weight","x","y","font-size","transform"],Ae={key:4,class:"vue-data-ui-watermark"},Ie={key:5,"data-dom-to-png-ignore":"",class:"reset-wrapper"},_e=["innerHTML"],Ee={__name:"vue-ui-word-cloud",props:{config:{type:Object,default(){return{}}},dataset:{type:[Array,String],default(){return[]}}},setup(b,{expose:p}){e.useCssVars(o=>({"7200478e":o.slicerColor}));const{vue_ui_word_cloud:d}=m.useConfig(),r=b,u=e.computed({get(){return!!r.dataset&&r.dataset.length},set(o){return o}}),v=e.ref(m.createUid()),n=e.ref(0),l=e.ref(null),s=e.ref(null),g=e.ref(null),w=e.ref(0),f=e.ref(0),y=e.ref(!1),t=e.computed({get:()=>Z(),set:o=>o}),P=e.ref(O());function O(){return typeof r.dataset=="string"?m.createWordCloudDatasetFromPlainText(r.dataset):r.dataset.map((o,i)=>({...o,value:m.checkNaN(o.value)}))}e.watch(()=>r.dataset,()=>{P.value=O(),W()});const{userOptionsVisible:B,setUserOptionsVisibility:I,keepUserOptionState:j}=we.useUserOptionState({config:t.value}),{svgRef:G}=Ce.useChartAccessibility({config:t.value.style.chart.title});function Z(){const o=ie.useNestedProp({userConfig:r.config,defaultConfig:d});return o.theme?{...ie.useNestedProp({userConfig:m.themes.vue_ui_word_cloud[o.theme]||r.config,defaultConfig:o}),customPalette:m.themePalettes[o.theme]||m.palette}:o}e.watch(()=>r.config,o=>{t.value=Z(),B.value=!t.value.userOptions.showOnChartHover,C(),w.value+=1,f.value+=1,h.value.showTable=t.value.table.show,h.value.showTooltip=t.value.style.chart.tooltip.show},{deep:!0});const c=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,bold:t.value.style.chart.words.bold}),J=ae.debounce(()=>{W()},10),Q=ae.throttle(()=>{const{width:o,height:i}=ae.useResponsive({chart:l.value,title:t.value.style.chart.title.text?s.value:null,source:g.value});requestAnimationFrame(()=>{c.value.width=o,c.value.height=i,e.nextTick(J)})}),R=e.ref(null);e.onMounted(C);function C(){m.objectIsEmpty(r.dataset)?m.error({componentName:"VueUiWordCloud",type:"dataset"}):P.value.forEach((o,i)=>{m.getMissingDatasetAttributes({datasetObject:o,requiredAttributes:["name","value"]}).forEach(a=>{u.value=!1,m.error({componentName:"VueUiWordCloud",type:"datasetSerieAttribute",property:a,index:i})})}),t.value.responsive&&(R.value=new ResizeObserver(Q),R.value.observe(l.value.parentNode))}e.onBeforeUnmount(()=>{R.value&&R.value.disconnect()});const{isPrinting:N,isImaging:V,generatePdf:z,generateImage:M}=se.usePrinter({elementId:`wordCloud_${v.value}`,fileName:t.value.style.chart.title.text||"vue-ui-word-cloud",options:t.value.userOptions.print}),h=e.ref({showTable:t.value.table.show,showTooltip:t.value.style.chart.tooltip.show});function _(o,i,a="Arial"){const k=document.createElement("canvas").getContext("2d");return k.font=`${i}px ${t.value.style.chart.words.bold?"bold":"normal"} ${a}`,{width:k.measureText(o).width+t.value.style.chart.words.proximity,height:i}}const E=e.ref([]);e.watch(()=>r.dataset,W,{immediate:!0});function W(){const o=[...P.value].map(k=>k.value),i=Math.max(...o),a=Math.min(...o),S=[...P.value].map((k,X)=>{let U=(k.value-a)/(i-a)*(c.value.maxFontSize-c.value.minFontSize)+c.value.minFontSize;U=isNaN(U)?c.value.minFontSize:U;const re=_(k.name,U);return{...k,id:m.createUid(),fontSize:U,width:re.width,height:re.height,color:t.value.style.chart.words.usePalette?t.value.customPalette[X]||t.value.customPalette[X%t.value.customPalette.length]||m.palette[X]||m.palette[X%m.palette.length]:t.value.style.chart.words.color}});E.value=Be({words:S,svg:c.value,proximity:t.value.style.chart.words.proximity,strictPixelPadding:t.value.strictPixelPadding})}const q=e.computed(()=>{const o=E.value.map(a=>({name:a.name,color:a.color})),i=E.value.map(a=>a.value);return{head:o,body:i}});function D(){e.nextTick(()=>{const o=q.value.head.map((S,k)=>[[S.name],[q.value.body[k]]]),i=[[t.value.style.chart.title.text],[t.value.style.chart.title.subtitle.text],[[""],[t.value.table.columnNames.value]]].concat(o),a=m.createCsvContent(i);m.downloadCsv({csvContent:a,title:t.value.style.chart.title.text||"vue-ui-word-cloud"})})}const x=e.computed(()=>{const o=[t.value.table.columnNames.series,t.value.table.columnNames.value],i=q.value.head.map((k,X)=>{const U=m.dataLabel({p:t.value.table.td.prefix,v:q.value.body[X],s:t.value.table.td.suffix,r:t.value.table.td.roundingValue});return[{color:k.color,name:k.name},U]}),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:i,config:a}}),A=e.ref(!1);function F(o){A.value=o,n.value+=1}function T(){return E.value}function $(){h.value.showTable=!h.value.showTable}function le(){h.value.showTooltip=!h.value.showTooltip}const H=e.ref(!1);function ee(){H.value=!H.value}const ve=e.computed(()=>!H.value&&t.value.style.chart.zoom.show),{viewBox:K,resetZoom:ne,isZoom:he}=xe.usePanZoom(G,{x:0,y:0,width:c.value.width<=0?10:c.value.width,height:c.value.height<=0?10:c.value.height},1,ve);p({getData:T,generateCsv:D,generatePdf:z,generateImage:M,toggleTable:$,toggleTooltip:le,toggleAnnotator:ee});const Y=e.ref(null),L=e.ref(!1),te=e.ref(""),oe=e.ref(null);function fe(o){if(!h.value.showTooltip)return;Y.value=o.id,oe.value={datapoint:o,config:t.value};const i=t.value.style.chart.tooltip.customFormat;if(L.value=!1,m.isFunction(i))try{const a=i({datapoint:o,config:t.value});typeof a=="string"&&(te.value=a,L.value=!0)}catch{console.warn("Custom format cannot be applied."),L.value=!1}if(!L.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>`;te.value=`<div dir="auto" style="display:flex; gap:4px; align-items:center; jsutify-content:center;">${a}</div>`}y.value=!0}return(o,i)=>(e.openBlock(),e.createElementBlock("div",{class:"vue-ui-word-cloud",ref_key:"wordCloudChart",ref:l,id:`wordCloud_${v.value}`,style:e.normalizeStyle(`width: 100%; font-family:${t.value.style.fontFamily};background:${t.value.style.chart.backgroundColor};${t.value.responsive?"height:100%":""}`),onMouseenter:i[3]||(i[3]=()=>e.unref(I)(!0)),onMouseleave:i[4]||(i[4]=()=>e.unref(I)(!1))},[t.value.userOptions.buttons.annotator?(e.openBlock(),e.createBlock(ke._sfc_main,{key:0,svgRef:e.unref(G),backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,active:H.value,onClose:ee},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:s,style:"width:100%;background:transparent;padding-bottom:24px"},[(e.openBlock(),e.createBlock(me._sfc_main,{key:`title_${w.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&&u.value&&(e.unref(j)||e.unref(B))?(e.openBlock(),e.createBlock(se.UserOptions,{ref:"details",key:`user_option_${n.value}`,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,isPrinting:e.unref(N),isImaging:e.unref(V),uid:v.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:A.value,titles:{...t.value.userOptions.buttonTitles},chartElement:l.value,position:t.value.userOptions.position,hasTooltip:t.value.style.chart.tooltip.show&&t.value.userOptions.buttons.tooltip,isTooltip:h.value.showTooltip,hasAnnotator:t.value.userOptions.buttons.annotator,isAnnotation:H.value,onToggleFullscreen:F,onGeneratePdf:e.unref(z),onGenerateCsv:D,onGenerateImage:e.unref(M),onToggleTable:$,onToggleTooltip:le,onToggleAnnotator:ee,style:e.normalizeStyle({visibility:e.unref(j)?e.unref(B)?"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),u.value?(e.openBlock(),e.createElementBlock("svg",{key:3,ref_key:"svgRef",ref:G,class:e.normalizeClass({"vue-data-ui-fullscreen--on":A.value,"vue-data-ui-fulscreen--off":!A.value}),xmlns:e.unref(m.XMLNS),viewBox:`${e.unref(K).x} ${e.unref(K).y} ${e.unref(K).width} ${e.unref(K).height}`,style:"overflow:hidden;background:transparent;"},[e.createVNode(ye._sfc_main),o.$slots["chart-background"]?(e.openBlock(),e.createElementBlock("foreignObject",{key:0,x:0,y:0,width:c.value.width<=0?10:c.value.width,height:c.value.height<=0?10:c.value.height,style:{pointerEvents:"none"}},[e.renderSlot(o.$slots,"chart-background",{},void 0,!0)],8,Me)):e.createCommentVNode("",!0),e.createElementVNode("g",{transform:`translate(${(c.value.width<=0?10:c.value.width)/2}, ${(c.value.height<=0?10:c.value.height)/2})`},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(E.value,(a,S)=>(e.openBlock(),e.createElementBlock("g",null,[a.minX!==void 0?(e.openBlock(),e.createElementBlock("rect",{key:0,x:a.x+a.minX,y:a.y+a.minY*1.25,width:a.maxX-a.minX,height:a.maxY-a.minY,fill:"transparent","pointer-events":"visiblePainted",onMouseover:k=>fe(a),onMouseleave:i[0]||(i[0]=k=>{Y.value=null,y.value=!1})},null,40,Oe)):e.createCommentVNode("",!0),(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":Y.value&&Y.value===a.id&&h.value.showTooltip,"word-not-selected":Y.value&&Y.value!==a.id&&h.value.showTooltip}),"text-anchor":"middle","dominant-baseline":"central",style:e.normalizeStyle(`animation-delay:${S*t.value.animationDelayMs}ms !important; pointer-events:none;`)},e.toDisplayString(a.name),15,Ve))]))),256))],8,Fe),e.renderSlot(o.$slots,"svg",{svg:{height:c.value.height,width:c.value.width}},void 0,!0)],10,ze)):e.createCommentVNode("",!0),o.$slots.watermark?(e.openBlock(),e.createElementBlock("div",Ae,[e.renderSlot(o.$slots,"watermark",e.normalizeProps(e.guardReactiveProps({isPrinting:e.unref(N)||e.unref(V)})),void 0,!0)])):e.createCommentVNode("",!0),e.unref(he)?(e.openBlock(),e.createElementBlock("div",Ie,[e.renderSlot(o.$slots,"reset-action",{reset:e.unref(ne)},()=>[e.createElementVNode("button",{"data-cy-reset":"",tabindex:"0",role:"button",class:"vue-data-ui-refresh-button",style:e.normalizeStyle({background:t.value.style.chart.backgroundColor}),onClick:i[1]||(i[1]=a=>e.unref(ne)(!0))},[e.createVNode($e.default,{name:"refresh",stroke:t.value.style.chart.color},null,8,["stroke"])],4)],!0)])):e.createCommentVNode("",!0),e.createVNode(be._sfc_main,{show:h.value.showTooltip&&y.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:l.value,content:te.value,isCustom:L.value},{"tooltip-before":e.withCtx(()=>[e.renderSlot(o.$slots,"tooltip-before",e.normalizeProps(e.guardReactiveProps({...oe.value})),void 0,!0)]),"tooltip-after":e.withCtx(()=>[e.renderSlot(o.$slots,"tooltip-after",e.normalizeProps(e.guardReactiveProps({...oe.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:6,ref_key:"source",ref:g,dir:"auto"},[e.renderSlot(o.$slots,"source",{},void 0,!0)],512)):e.createCommentVNode("",!0),u.value?(e.openBlock(),e.createBlock(pe.default,{key:7,hideDetails:"",config:{open:h.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_${f.value}`,colNames:x.value.colNames,head:x.value.head,body:x.value.body,config:x.value.config,title:`${t.value.style.chart.title.text}${t.value.style.chart.title.subtitle.text?` : ${t.value.style.chart.title.subtitle.text}`:""}`,onClose:i[2]||(i[2]=a=>h.value.showTable=!1)},{th:e.withCtx(({th:a})=>[e.createElementVNode("div",{innerHTML:a,style:{display:"flex","align-items":"center"}},null,8,_e)]),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,Ne))}},Re=Se._export_sfc(Ee,[["__scopeId","data-v-cda211d1"]]);exports.default=Re;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),m=require("./index-BX4v5fiN.cjs"),me=require("./Title-EjA2nkhd.cjs"),se=require("./usePrinter-CynLTaVl.cjs"),ae=require("./useResponsive-DQmBAoBf.cjs"),pe=require("./vue-ui-accordion-BrbibtJK.cjs"),ge=require("./DataTable-BmSWykCq.cjs"),ie=require("./useNestedProp-DjOgO33z.cjs"),ye=require("./PackageVersion-9kqlnk5q.cjs"),be=require("./Tooltip-Dr2CQpGZ.cjs"),ke=require("./PenAndPaper-CfWPwfS1.cjs"),we=require("./useUserOptionState-BgepsfED.cjs"),Ce=require("./useChartAccessibility-Cm7nkzTG.cjs"),xe=require("./usePanZoom-PXRi2Rwx.cjs"),$e=require("./BaseIcon-BkA9Q34x.cjs"),Se=require("./_plugin-vue_export-helper-BHFhmbuH.cjs");function Te(b,p){const{width:d,height:r}=b,v=p.getImageData(0,0,d,r).data;let n=d,l=r,s=0,g=0,w=!1;for(let f=0;f<r;f+=1)for(let y=0;y<d;y+=1)v[(f*d+y)*4+3]>1&&(w=!0,y<n&&(n=y),y>s&&(s=y),f<l&&(l=f),f>g&&(g=f));return w?[n,l,s,g]:[0,0,0,0]}function ue({word:b,fontSize:p,pad:d,canvas:r,ctx:u,svg:v}){u.save(),u.font=`${v.style&&v.style.bold?"bold ":""}${p}px Arial`;const n=u.measureText(b.name),l=Math.ceil(n.width)+2+(d?d*2:0),s=Math.ceil(p)+2+(d?d*2:0);r.width=l,r.height=s,u.clearRect(0,0,l,s),u.font=`${v.style&&v.style.bold?"bold ":""}${p}px Arial`,u.textAlign="center",u.textBaseline="middle",u.fillStyle="black",u.fillText(b.name,l/2,s/2);const w=u.getImageData(0,0,l,s).data,f=[];for(let B=0;B<s;B+=1)for(let I=0;I<l;I+=1)w[(B*l+I)*4+3]>1&&f.push([I,B]);const[y,t,P,O]=Te(r,u);return u.restore(),{w:l,h:s,wordMask:f,minX:y,minY:t,maxX:P,maxY:O}}function ce({mask:b,maskW:p,maskH:d,wx:r,wy:u,wordMask:v}){for(let n=0;n<v.length;n+=1){const l=r+v[n][0],s=u+v[n][1];if(l<0||s<0||l>=p||s>=d||b[s*p+l])return!1}return!0}function de({mask:b,maskW:p,maskH:d,wx:r,wy:u,wordMask:v}){for(let n=0;n<v.length;n+=1){const l=r+v[n][0],s=u+v[n][1];l>=0&&s>=0&&l<p&&s<d&&(b[s*p+l]=1)}}function Pe({wordMask:b,w:p,h:d,dilation:r}){const u=new Set(b.map(([n,l])=>`${n},${l}`)),v=new Set(u);for(let[n,l]of b)for(let s=-r;s<=r;s+=1)for(let g=-r;g<=r;g+=1){if(s===0&&g===0)continue;const w=n+s,f=l+g;w>=0&&w<p&&f>=0&&f<d&&v.add(`${w},${f}`)}return Array.from(v).map(n=>n.split(",").map(Number))}function Be({words:b,proximity:p=0,svg:d,strictPixelPadding:r}){const{width:u,height:v}=d,n=Math.round(u),l=Math.round(v),s=1,g=d.minFontSize,w=Math.min(d.maxFontSize,100),f=b.map(C=>C.value),y=Math.min(...f),t=Math.max(...f),P=new Uint8Array(n*l),O=document.createElement("canvas"),B=O.getContext("2d",{willReadFrequently:!0});O.width=n,O.height=l;const I=6,j=2,G=2,Z=1,c=Math.floor(n/2),J=Math.floor(l/2),Q=[...b].sort((C,N)=>N.value-C.value),R=[];for(const C of Q){let N=g;t!==y&&(N=(C.value-y)/(t-y)*(w-g)+g),N=Math.max(g,Math.min(w,N));let V=!1,z=N;for(;!V&&z>=s;){let{w:M,h,wordMask:_,minX:E,minY:W,maxX:q,maxY:D}=ue({word:C,fontSize:z,pad:p,canvas:O,ctx:B,svg:d});r&&(_=Pe({wordMask:_,w:M,h,dilation:1}));let x=0,A=0;for(;x<Math.max(n,l)&&!V&&A<1e4;){for(let F=0;F<360;F+=I){A+=1;const T=Math.round(c+x*Math.cos(F*Math.PI/180)-M/2),$=Math.round(J+x*Math.sin(F*Math.PI/180)-h/2);if(!(T<0||$<0||T+M>n||$+h>l)&&ce({mask:P,maskW:n,maskH:l,wx:T,wy:$,wordMask:_})){R.push({...C,x:T-n/2,y:$-l/2,fontSize:z,width:M,height:h,angle:0,minX:E,minY:W,maxX:q,maxY:D}),de({mask:P,maskW:n,maskH:l,wx:T,wy:$,wordMask:_}),V=!0;break}}x+=j}V||(z-=1)}if(!V&&z<s){z=s;const{w:M,h,wordMask:_,minX:E,minY:W,maxX:q,maxY:D}=ue({word:C,fontSize:z,pad:p,canvas:O,ctx:B,svg:d});let x=0,A=0;for(;x<Math.max(n,l)&&!V&&A<25e3;){for(let F=0;F<360;F+=G){A+=1;const T=Math.round(c+x*Math.cos(F*Math.PI/180)-M/2),$=Math.round(J+x*Math.sin(F*Math.PI/180)-h/2);if(!(T<0||$<0||T+M>n||$+h>l)&&ce({mask:P,maskW:n,maskH:l,wx:T,wy:$,wordMask:_})){R.push({...C,x:T-n/2,y:$-l/2,fontSize:z,width:M,height:h,angle:0,minX:E,minY:W,maxX:q,maxY:D}),de({mask:P,maskW:n,maskH:l,wx:T,wy:$,wordMask:_}),V=!0;break}}x+=Z}}}return R.sort((C,N)=>N.fontSize-C.fontSize)}const Ne=["id"],ze=["xmlns","viewBox"],Me=["width","height"],Fe=["transform"],Oe=["x","y","width","height","onMouseover"],Ve=["fill","font-weight","x","y","font-size","transform"],Ae={key:4,class:"vue-data-ui-watermark"},Ie={key:5,"data-dom-to-png-ignore":"",class:"reset-wrapper"},_e=["innerHTML"],Ee={__name:"vue-ui-word-cloud",props:{config:{type:Object,default(){return{}}},dataset:{type:[Array,String],default(){return[]}}},setup(b,{expose:p}){e.useCssVars(o=>({"7200478e":o.slicerColor}));const{vue_ui_word_cloud:d}=m.useConfig(),r=b,u=e.computed({get(){return!!r.dataset&&r.dataset.length},set(o){return o}}),v=e.ref(m.createUid()),n=e.ref(0),l=e.ref(null),s=e.ref(null),g=e.ref(null),w=e.ref(0),f=e.ref(0),y=e.ref(!1),t=e.computed({get:()=>Z(),set:o=>o}),P=e.ref(O());function O(){return typeof r.dataset=="string"?m.createWordCloudDatasetFromPlainText(r.dataset):r.dataset.map((o,i)=>({...o,value:m.checkNaN(o.value)}))}e.watch(()=>r.dataset,()=>{P.value=O(),W()});const{userOptionsVisible:B,setUserOptionsVisibility:I,keepUserOptionState:j}=we.useUserOptionState({config:t.value}),{svgRef:G}=Ce.useChartAccessibility({config:t.value.style.chart.title});function Z(){const o=ie.useNestedProp({userConfig:r.config,defaultConfig:d});return o.theme?{...ie.useNestedProp({userConfig:m.themes.vue_ui_word_cloud[o.theme]||r.config,defaultConfig:o}),customPalette:m.themePalettes[o.theme]||m.palette}:o}e.watch(()=>r.config,o=>{t.value=Z(),B.value=!t.value.userOptions.showOnChartHover,C(),w.value+=1,f.value+=1,h.value.showTable=t.value.table.show,h.value.showTooltip=t.value.style.chart.tooltip.show},{deep:!0});const c=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,bold:t.value.style.chart.words.bold}),J=ae.debounce(()=>{W()},10),Q=ae.throttle(()=>{const{width:o,height:i}=ae.useResponsive({chart:l.value,title:t.value.style.chart.title.text?s.value:null,source:g.value});requestAnimationFrame(()=>{c.value.width=o,c.value.height=i,e.nextTick(J)})}),R=e.ref(null);e.onMounted(C);function C(){m.objectIsEmpty(r.dataset)?m.error({componentName:"VueUiWordCloud",type:"dataset"}):P.value.forEach((o,i)=>{m.getMissingDatasetAttributes({datasetObject:o,requiredAttributes:["name","value"]}).forEach(a=>{u.value=!1,m.error({componentName:"VueUiWordCloud",type:"datasetSerieAttribute",property:a,index:i})})}),t.value.responsive&&(R.value=new ResizeObserver(Q),R.value.observe(l.value.parentNode))}e.onBeforeUnmount(()=>{R.value&&R.value.disconnect()});const{isPrinting:N,isImaging:V,generatePdf:z,generateImage:M}=se.usePrinter({elementId:`wordCloud_${v.value}`,fileName:t.value.style.chart.title.text||"vue-ui-word-cloud",options:t.value.userOptions.print}),h=e.ref({showTable:t.value.table.show,showTooltip:t.value.style.chart.tooltip.show});function _(o,i,a="Arial"){const k=document.createElement("canvas").getContext("2d");return k.font=`${i}px ${t.value.style.chart.words.bold?"bold":"normal"} ${a}`,{width:k.measureText(o).width+t.value.style.chart.words.proximity,height:i}}const E=e.ref([]);e.watch(()=>r.dataset,W,{immediate:!0});function W(){const o=[...P.value].map(k=>k.value),i=Math.max(...o),a=Math.min(...o),S=[...P.value].map((k,X)=>{let U=(k.value-a)/(i-a)*(c.value.maxFontSize-c.value.minFontSize)+c.value.minFontSize;U=isNaN(U)?c.value.minFontSize:U;const re=_(k.name,U);return{...k,id:m.createUid(),fontSize:U,width:re.width,height:re.height,color:t.value.style.chart.words.usePalette?t.value.customPalette[X]||t.value.customPalette[X%t.value.customPalette.length]||m.palette[X]||m.palette[X%m.palette.length]:t.value.style.chart.words.color}});E.value=Be({words:S,svg:c.value,proximity:t.value.style.chart.words.proximity,strictPixelPadding:t.value.strictPixelPadding})}const q=e.computed(()=>{const o=E.value.map(a=>({name:a.name,color:a.color})),i=E.value.map(a=>a.value);return{head:o,body:i}});function D(){e.nextTick(()=>{const o=q.value.head.map((S,k)=>[[S.name],[q.value.body[k]]]),i=[[t.value.style.chart.title.text],[t.value.style.chart.title.subtitle.text],[[""],[t.value.table.columnNames.value]]].concat(o),a=m.createCsvContent(i);m.downloadCsv({csvContent:a,title:t.value.style.chart.title.text||"vue-ui-word-cloud"})})}const x=e.computed(()=>{const o=[t.value.table.columnNames.series,t.value.table.columnNames.value],i=q.value.head.map((k,X)=>{const U=m.dataLabel({p:t.value.table.td.prefix,v:q.value.body[X],s:t.value.table.td.suffix,r:t.value.table.td.roundingValue});return[{color:k.color,name:k.name},U]}),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:i,config:a}}),A=e.ref(!1);function F(o){A.value=o,n.value+=1}function T(){return E.value}function $(){h.value.showTable=!h.value.showTable}function le(){h.value.showTooltip=!h.value.showTooltip}const H=e.ref(!1);function ee(){H.value=!H.value}const ve=e.computed(()=>!H.value&&t.value.style.chart.zoom.show),{viewBox:K,resetZoom:ne,isZoom:he}=xe.usePanZoom(G,{x:0,y:0,width:c.value.width<=0?10:c.value.width,height:c.value.height<=0?10:c.value.height},1,ve);p({getData:T,generateCsv:D,generatePdf:z,generateImage:M,toggleTable:$,toggleTooltip:le,toggleAnnotator:ee});const Y=e.ref(null),L=e.ref(!1),te=e.ref(""),oe=e.ref(null);function fe(o){if(!h.value.showTooltip)return;Y.value=o.id,oe.value={datapoint:o,config:t.value};const i=t.value.style.chart.tooltip.customFormat;if(L.value=!1,m.isFunction(i))try{const a=i({datapoint:o,config:t.value});typeof a=="string"&&(te.value=a,L.value=!0)}catch{console.warn("Custom format cannot be applied."),L.value=!1}if(!L.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>`;te.value=`<div dir="auto" style="display:flex; gap:4px; align-items:center; jsutify-content:center;">${a}</div>`}y.value=!0}return(o,i)=>(e.openBlock(),e.createElementBlock("div",{class:"vue-ui-word-cloud",ref_key:"wordCloudChart",ref:l,id:`wordCloud_${v.value}`,style:e.normalizeStyle(`width: 100%; font-family:${t.value.style.fontFamily};background:${t.value.style.chart.backgroundColor};${t.value.responsive?"height:100%":""}`),onMouseenter:i[3]||(i[3]=()=>e.unref(I)(!0)),onMouseleave:i[4]||(i[4]=()=>e.unref(I)(!1))},[t.value.userOptions.buttons.annotator?(e.openBlock(),e.createBlock(ke._sfc_main,{key:0,svgRef:e.unref(G),backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,active:H.value,onClose:ee},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:s,style:"width:100%;background:transparent;padding-bottom:24px"},[(e.openBlock(),e.createBlock(me._sfc_main,{key:`title_${w.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&&u.value&&(e.unref(j)||e.unref(B))?(e.openBlock(),e.createBlock(se.UserOptions,{ref:"details",key:`user_option_${n.value}`,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,isPrinting:e.unref(N),isImaging:e.unref(V),uid:v.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:A.value,titles:{...t.value.userOptions.buttonTitles},chartElement:l.value,position:t.value.userOptions.position,hasTooltip:t.value.style.chart.tooltip.show&&t.value.userOptions.buttons.tooltip,isTooltip:h.value.showTooltip,hasAnnotator:t.value.userOptions.buttons.annotator,isAnnotation:H.value,onToggleFullscreen:F,onGeneratePdf:e.unref(z),onGenerateCsv:D,onGenerateImage:e.unref(M),onToggleTable:$,onToggleTooltip:le,onToggleAnnotator:ee,style:e.normalizeStyle({visibility:e.unref(j)?e.unref(B)?"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),u.value?(e.openBlock(),e.createElementBlock("svg",{key:3,ref_key:"svgRef",ref:G,class:e.normalizeClass({"vue-data-ui-fullscreen--on":A.value,"vue-data-ui-fulscreen--off":!A.value}),xmlns:e.unref(m.XMLNS),viewBox:`${e.unref(K).x} ${e.unref(K).y} ${e.unref(K).width} ${e.unref(K).height}`,style:"overflow:hidden;background:transparent;"},[e.createVNode(ye._sfc_main),o.$slots["chart-background"]?(e.openBlock(),e.createElementBlock("foreignObject",{key:0,x:0,y:0,width:c.value.width<=0?10:c.value.width,height:c.value.height<=0?10:c.value.height,style:{pointerEvents:"none"}},[e.renderSlot(o.$slots,"chart-background",{},void 0,!0)],8,Me)):e.createCommentVNode("",!0),e.createElementVNode("g",{transform:`translate(${(c.value.width<=0?10:c.value.width)/2}, ${(c.value.height<=0?10:c.value.height)/2})`},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(E.value,(a,S)=>(e.openBlock(),e.createElementBlock("g",null,[a.minX!==void 0?(e.openBlock(),e.createElementBlock("rect",{key:0,x:a.x+a.minX,y:a.y+a.minY*1.25,width:a.maxX-a.minX,height:a.maxY-a.minY,fill:"transparent","pointer-events":"visiblePainted",onMouseover:k=>fe(a),onMouseleave:i[0]||(i[0]=k=>{Y.value=null,y.value=!1})},null,40,Oe)):e.createCommentVNode("",!0),(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":Y.value&&Y.value===a.id&&h.value.showTooltip,"word-not-selected":Y.value&&Y.value!==a.id&&h.value.showTooltip}),"text-anchor":"middle","dominant-baseline":"central",style:e.normalizeStyle(`animation-delay:${S*t.value.animationDelayMs}ms !important; pointer-events:none;`)},e.toDisplayString(a.name),15,Ve))]))),256))],8,Fe),e.renderSlot(o.$slots,"svg",{svg:{height:c.value.height,width:c.value.width}},void 0,!0)],10,ze)):e.createCommentVNode("",!0),o.$slots.watermark?(e.openBlock(),e.createElementBlock("div",Ae,[e.renderSlot(o.$slots,"watermark",e.normalizeProps(e.guardReactiveProps({isPrinting:e.unref(N)||e.unref(V)})),void 0,!0)])):e.createCommentVNode("",!0),e.unref(he)?(e.openBlock(),e.createElementBlock("div",Ie,[e.renderSlot(o.$slots,"reset-action",{reset:e.unref(ne)},()=>[e.createElementVNode("button",{"data-cy-reset":"",tabindex:"0",role:"button",class:"vue-data-ui-refresh-button",style:e.normalizeStyle({background:t.value.style.chart.backgroundColor}),onClick:i[1]||(i[1]=a=>e.unref(ne)(!0))},[e.createVNode($e.default,{name:"refresh",stroke:t.value.style.chart.color},null,8,["stroke"])],4)],!0)])):e.createCommentVNode("",!0),e.createVNode(be._sfc_main,{show:h.value.showTooltip&&y.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:l.value,content:te.value,isCustom:L.value},{"tooltip-before":e.withCtx(()=>[e.renderSlot(o.$slots,"tooltip-before",e.normalizeProps(e.guardReactiveProps({...oe.value})),void 0,!0)]),"tooltip-after":e.withCtx(()=>[e.renderSlot(o.$slots,"tooltip-after",e.normalizeProps(e.guardReactiveProps({...oe.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:6,ref_key:"source",ref:g,dir:"auto"},[e.renderSlot(o.$slots,"source",{},void 0,!0)],512)):e.createCommentVNode("",!0),u.value?(e.openBlock(),e.createBlock(pe.default,{key:7,hideDetails:"",config:{open:h.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_${f.value}`,colNames:x.value.colNames,head:x.value.head,body:x.value.body,config:x.value.config,title:`${t.value.style.chart.title.text}${t.value.style.chart.title.subtitle.text?` : ${t.value.style.chart.title.subtitle.text}`:""}`,onClose:i[2]||(i[2]=a=>h.value.showTable=!1)},{th:e.withCtx(({th:a})=>[e.createElementVNode("div",{innerHTML:a,style:{display:"flex","align-items":"center"}},null,8,_e)]),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,Ne))}},Re=Se._export_sfc(Ee,[["__scopeId","data-v-cda211d1"]]);exports.default=Re;
@@ -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-D2h9qRb4.js";
3
- import { u as F0 } from "./useNestedProp-DlWfv-mw.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-Co_0CzhC.js";
3
+ import { u as F0 } from "./useNestedProp-DqI_VUcm.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-BF6RVx_0.js";
7
- import { _ as Y0 } from "./Title-BNsKKvQy.js";
8
- import { u as V0, U as J0 } from "./usePrinter-BGkHpXM9.js";
9
- import { _ as Q0 } from "./PackageVersion-DrU5ubC-.js";
10
- import { _ as X0 } from "./Tooltip-Dm2APAls.js";
11
- import $0 from "./vue-ui-accordion-C-v1kmEc.js";
12
- import { D as q0 } from "./DataTable-CGMCHKzY.js";
13
- import { L as a3 } from "./Legend-CLZW3_-V.js";
14
- import { _ as _3 } from "./Shape-D5Dtzm3x.js";
6
+ import { _ as W0 } from "./PenAndPaper-Dgf1a1MW.js";
7
+ import { _ as Y0 } from "./Title-BDdzEGgo.js";
8
+ import { u as V0, U as J0 } from "./usePrinter-BV6TePSm.js";
9
+ import { _ as Q0 } from "./PackageVersion-DmKsiZge.js";
10
+ import { _ as X0 } from "./Tooltip-Cdkz2ese.js";
11
+ import $0 from "./vue-ui-accordion-DMCnTtx0.js";
12
+ import { D as q0 } from "./DataTable-BhwIv7c6.js";
13
+ import { L as a3 } from "./Legend-CubpFiQC.js";
14
+ import { _ as _3 } from "./Shape-BUW7OeOM.js";
15
15
  import { _ as l3 } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
16
  const n3 = {
17
17
  type: "FeatureCollection",