vue-data-ui 2.6.21 → 2.6.23

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 (156) hide show
  1. package/dist/{Arrow-C1pcd-am.cjs → Arrow-D2_aIcM2.cjs} +1 -1
  2. package/dist/{Arrow-DQaZQgi6.js → Arrow-DJiG3r33.js} +1 -1
  3. package/dist/{BaseIcon-BQwivF_K.cjs → BaseIcon-DIB9Wlvp.cjs} +1 -1
  4. package/dist/{BaseIcon-DH34CAFx.js → BaseIcon-PVERbTHZ.js} +1 -1
  5. package/dist/{DataTable-D5572vAU.cjs → DataTable-DaVBEH1O.cjs} +1 -1
  6. package/dist/{DataTable-DfMqgTjL.js → DataTable-Rgwt5jLm.js} +2 -2
  7. package/dist/{Legend-CoREnR30.cjs → Legend-DhgOMgdq.cjs} +1 -1
  8. package/dist/{Legend-PL8rU0J1.js → Legend-V8N3VATg.js} +2 -2
  9. package/dist/{PackageVersion-JsuXjgR_.cjs → PackageVersion-DS-HtU0C.cjs} +1 -1
  10. package/dist/{PackageVersion-1Y7SXTrk.js → PackageVersion-iMtoLiV5.js} +1 -1
  11. package/dist/{PenAndPaper-7lGhxIH8.cjs → PenAndPaper-DoCqfQwX.cjs} +1 -1
  12. package/dist/{PenAndPaper-BYhUvcy4.js → PenAndPaper-SlsCQe6h.js} +3 -3
  13. package/dist/{PenAndPaper.vue_vue_type_style_index_0_scoped_3cea7589_lang-NplvneD1.cjs → PenAndPaper.vue_vue_type_style_index_0_scoped_3cea7589_lang-DOiZB6lf.cjs} +1 -1
  14. package/dist/{PenAndPaper.vue_vue_type_style_index_0_scoped_3cea7589_lang-AmNwJZI7.js → PenAndPaper.vue_vue_type_style_index_0_scoped_3cea7589_lang-J88AdoNs.js} +3 -3
  15. package/dist/{Shape-HtDeeGqp.cjs → Shape-BdDFKbBn.cjs} +1 -1
  16. package/dist/{Shape-Ov27sl2L.js → Shape-f9GRGy-D.js} +1 -1
  17. package/dist/{Slicer-6F4tHrZR.js → Slicer-BXvYiDjH.js} +2 -2
  18. package/dist/{Slicer-COXIFuZ-.cjs → Slicer-COW0ywTC.cjs} +1 -1
  19. package/dist/{Title-1PWD04Gh.js → Title-Cp_BaOUM.js} +1 -1
  20. package/dist/{Title-Pgt1Ixvo.cjs → Title-DcAqbRBW.cjs} +1 -1
  21. package/dist/{Tooltip-te_h24w6.cjs → Tooltip-BmxVr2nR.cjs} +1 -1
  22. package/dist/{Tooltip-BTO5NGkn.js → Tooltip-Cu7aaMHU.js} +1 -1
  23. package/dist/{index-DUnEDLbc.js → index-CORoDQCP.js} +1 -1
  24. package/dist/{index-DM-Bs-Ua.cjs → index-ClAuXrnE.cjs} +1 -1
  25. package/dist/style.css +1 -1
  26. package/dist/{useNestedProp-CYy5g-mh.cjs → useNestedProp-B7NKqijt.cjs} +1 -1
  27. package/dist/{useNestedProp-CEMeoM-f.js → useNestedProp-BP2kns_4.js} +1 -1
  28. package/dist/{usePrinter-Undaynpo.js → usePrinter-B4-qiZp3.js} +1 -1
  29. package/dist/{usePrinter-DbpIk44f.cjs → usePrinter-fs3l3gnB.cjs} +1 -1
  30. package/dist/{vue-data-ui-DnaIYz0z.js → vue-data-ui-BgpNWNqc.js} +61 -61
  31. package/dist/{vue-data-ui-BapofDyJ.cjs → vue-data-ui-CiIQJgvu.cjs} +1 -1
  32. package/dist/vue-data-ui.cjs +1 -1
  33. package/dist/vue-data-ui.js +1 -1
  34. package/dist/{vue-ui-3d-bar-DansBM76.cjs → vue-ui-3d-bar-DmsqEue_.cjs} +1 -1
  35. package/dist/{vue-ui-3d-bar-DLYaW0-y.js → vue-ui-3d-bar-Sxl3Zs19.js} +9 -9
  36. package/dist/{vue-ui-accordion-C8Couc_G.js → vue-ui-accordion-BnQrFX7-.js} +3 -3
  37. package/dist/{vue-ui-accordion-ZIsT4At8.cjs → vue-ui-accordion-CiPtE4C5.cjs} +1 -1
  38. package/dist/{vue-ui-age-pyramid-BdruKMmo.js → vue-ui-age-pyramid-BMLSHqix.js} +10 -10
  39. package/dist/{vue-ui-age-pyramid-BSXnW9GF.cjs → vue-ui-age-pyramid-DhFVwfnk.cjs} +1 -1
  40. package/dist/{vue-ui-annotator-DVfdPMa7.js → vue-ui-annotator-BOQOfVRi.js} +1 -1
  41. package/dist/{vue-ui-annotator-B7Go0M7W.cjs → vue-ui-annotator-D8CD5njW.cjs} +1 -1
  42. package/dist/{vue-ui-bullet-CkCJgmoJ.js → vue-ui-bullet-CFhLYNX0.js} +8 -8
  43. package/dist/{vue-ui-bullet-N9ud2cQ7.cjs → vue-ui-bullet-CuhFNGas.cjs} +1 -1
  44. package/dist/{vue-ui-candlestick-C9B13qeU.js → vue-ui-candlestick-Ca3RyIlE.js} +11 -11
  45. package/dist/{vue-ui-candlestick-DPIs9tEW.cjs → vue-ui-candlestick-Drw87cBU.cjs} +1 -1
  46. package/dist/{vue-ui-carousel-table-BLo52Rqu.js → vue-ui-carousel-table-CzWQO7o8.js} +4 -4
  47. package/dist/{vue-ui-carousel-table-DgcY4j9y.cjs → vue-ui-carousel-table-ZPxDGxHL.cjs} +1 -1
  48. package/dist/{vue-ui-chestnut-C9Zw_bey.cjs → vue-ui-chestnut-BmAhPQAV.cjs} +1 -1
  49. package/dist/{vue-ui-chestnut-D8oXG8Tf.js → vue-ui-chestnut-CHq2YDla.js} +8 -8
  50. package/dist/vue-ui-circle-pack-CUS8c5qb.cjs +1 -0
  51. package/dist/vue-ui-circle-pack-DRa-twBC.js +657 -0
  52. package/dist/{vue-ui-cursor-DkW4pJcP.js → vue-ui-cursor-B6otBk5O.js} +2 -2
  53. package/dist/{vue-ui-cursor-CtSijliN.cjs → vue-ui-cursor-CV1yQWQq.cjs} +1 -1
  54. package/dist/{vue-ui-dashboard-5_Du0Yr2.js → vue-ui-dashboard-BxzUDFYN.js} +2 -2
  55. package/dist/{vue-ui-dashboard-Dh5vRbdI.cjs → vue-ui-dashboard-ChUs9hjn.cjs} +1 -1
  56. package/dist/{vue-ui-digits-DEmYk7sS.cjs → vue-ui-digits-CSBA8-rP.cjs} +1 -1
  57. package/dist/{vue-ui-digits-DhA1bHdz.js → vue-ui-digits-D6J-zOTg.js} +2 -2
  58. package/dist/{vue-ui-donut-BrZxaijU.cjs → vue-ui-donut-BzqHaS9U.cjs} +1 -1
  59. package/dist/{vue-ui-donut-B-G7gRdV.js → vue-ui-donut-CavmyRb9.js} +12 -12
  60. package/dist/{vue-ui-donut-evolution-B4almlBq.js → vue-ui-donut-evolution-Bs9eaisH.js} +11 -11
  61. package/dist/{vue-ui-donut-evolution-CTbXi7wk.cjs → vue-ui-donut-evolution-OnJlabzf.cjs} +1 -1
  62. package/dist/{vue-ui-dumbbell-kZGa__IU.js → vue-ui-dumbbell-BJHDVx_f.js} +10 -10
  63. package/dist/{vue-ui-dumbbell-CAIlnhsM.cjs → vue-ui-dumbbell-H_D431z2.cjs} +1 -1
  64. package/dist/{vue-ui-flow-D2UNbwlp.cjs → vue-ui-flow-BygsUZtu.cjs} +1 -1
  65. package/dist/{vue-ui-flow-Bc31ZN1W.js → vue-ui-flow-CJyZd1H6.js} +9 -9
  66. package/dist/{vue-ui-funnel-DfCz1GNN.cjs → vue-ui-funnel-0Q_LpBDZ.cjs} +1 -1
  67. package/dist/{vue-ui-funnel-V7hu2Iib.js → vue-ui-funnel-gTjgs4j9.js} +9 -9
  68. package/dist/{vue-ui-galaxy-DLCcy7Kq.js → vue-ui-galaxy-5g43syZ_.js} +11 -11
  69. package/dist/{vue-ui-galaxy-CNBC7IbU.cjs → vue-ui-galaxy-CjzJzzjR.cjs} +1 -1
  70. package/dist/{vue-ui-gauge-D8IglqIF.cjs → vue-ui-gauge-77KuagM8.cjs} +1 -1
  71. package/dist/{vue-ui-gauge-CZMHtEcr.js → vue-ui-gauge-Khz7Rc8p.js} +7 -7
  72. package/dist/{vue-ui-gizmo-fyC414Iv.cjs → vue-ui-gizmo-BNCE1QC7.cjs} +1 -1
  73. package/dist/{vue-ui-gizmo-BuAVBMBp.js → vue-ui-gizmo-BkzXwNSA.js} +3 -3
  74. package/dist/{vue-ui-heatmap-CDOry_F1.cjs → vue-ui-heatmap-CtYEgexU.cjs} +1 -1
  75. package/dist/{vue-ui-heatmap-hUfFzGck.js → vue-ui-heatmap-DrQmm7ns.js} +10 -10
  76. package/dist/{vue-ui-history-plot-CIXgvWpk.cjs → vue-ui-history-plot-DBxkk8uU.cjs} +1 -1
  77. package/dist/{vue-ui-history-plot-C79l8rPm.js → vue-ui-history-plot-DtAHeCIn.js} +11 -11
  78. package/dist/{vue-ui-kpi-yiWxNLJ-.cjs → vue-ui-kpi-BJf_RiaZ.cjs} +1 -1
  79. package/dist/{vue-ui-kpi-C3tHthXH.js → vue-ui-kpi-wCJKise3.js} +3 -3
  80. package/dist/{vue-ui-mini-loader-1p1jAKx_.js → vue-ui-mini-loader-DTdkdhel.js} +2 -2
  81. package/dist/{vue-ui-mini-loader-26yCYjxn.cjs → vue-ui-mini-loader-QjTF0M7X.cjs} +1 -1
  82. package/dist/{vue-ui-molecule-COQ-yrBr.js → vue-ui-molecule-BmpVr_gK.js} +10 -10
  83. package/dist/{vue-ui-molecule-Bw0dYLfu.cjs → vue-ui-molecule-CMzB-8rG.cjs} +1 -1
  84. package/dist/{vue-ui-mood-radar-Cyde9hnR.cjs → vue-ui-mood-radar-CcPYNvdi.cjs} +1 -1
  85. package/dist/{vue-ui-mood-radar-CwfGiQ43.js → vue-ui-mood-radar-xFIV8rX7.js} +11 -11
  86. package/dist/{vue-ui-nested-donuts-BVaW7w1U.js → vue-ui-nested-donuts-CSf69O8o.js} +11 -11
  87. package/dist/{vue-ui-nested-donuts-Y07lLGRa.cjs → vue-ui-nested-donuts-CX4ADWaJ.cjs} +1 -1
  88. package/dist/{vue-ui-onion-h6DP9kOi.js → vue-ui-onion-D4BQdTiM.js} +11 -11
  89. package/dist/{vue-ui-onion-DkXss-B_.cjs → vue-ui-onion-DuMvm2D7.cjs} +1 -1
  90. package/dist/{vue-ui-parallel-coordinate-plot-CkI21cq2.cjs → vue-ui-parallel-coordinate-plot-BbLVVerv.cjs} +1 -1
  91. package/dist/{vue-ui-parallel-coordinate-plot-O5cwKbzH.js → vue-ui-parallel-coordinate-plot-Dc6N5YHX.js} +12 -12
  92. package/dist/{vue-ui-quadrant-F6w-QJE_.cjs → vue-ui-quadrant-B4iH_goy.cjs} +1 -1
  93. package/dist/{vue-ui-quadrant-CfywvXnV.js → vue-ui-quadrant-CPHUxz0i.js} +12 -12
  94. package/dist/{vue-ui-quick-chart-BeMHD_Kz.cjs → vue-ui-quick-chart-BdRCSnMP.cjs} +1 -1
  95. package/dist/{vue-ui-quick-chart-C1AwFGSr.js → vue-ui-quick-chart-x1bjHLL_.js} +9 -9
  96. package/dist/{vue-ui-radar-BejYh3DW.cjs → vue-ui-radar-BJW8f9Ha.cjs} +1 -1
  97. package/dist/{vue-ui-radar-DDKXLi5o.js → vue-ui-radar-BLhC82mY.js} +12 -12
  98. package/dist/{vue-ui-rating-C40ktvn7.cjs → vue-ui-rating-DnyFmWGj.cjs} +1 -1
  99. package/dist/{vue-ui-rating-BrGbM0Op.js → vue-ui-rating-nsK29Mwb.js} +2 -2
  100. package/dist/{vue-ui-relation-circle-C4qT13SI.cjs → vue-ui-relation-circle-B8k_TzBX.cjs} +1 -1
  101. package/dist/{vue-ui-relation-circle-DrtdiTMX.js → vue-ui-relation-circle-Blb-GooX.js} +7 -7
  102. package/dist/{vue-ui-rings-C4IdhEUE.js → vue-ui-rings-ClHVJNrR.js} +12 -12
  103. package/dist/{vue-ui-rings-Cd8WyeDZ.cjs → vue-ui-rings-k9gIeUIA.cjs} +1 -1
  104. package/dist/{vue-ui-scatter-MmvIeu4D.cjs → vue-ui-scatter-1i_9Zs70.cjs} +1 -1
  105. package/dist/{vue-ui-scatter-BS8sgyMi.js → vue-ui-scatter-B0kbnm8B.js} +12 -12
  106. package/dist/{vue-ui-screenshot-tnFPT1vi.js → vue-ui-screenshot-BucDcruu.js} +1 -1
  107. package/dist/{vue-ui-screenshot-BB51-eRL.cjs → vue-ui-screenshot-rdceQU35.cjs} +1 -1
  108. package/dist/{vue-ui-skeleton-DieABKlo.js → vue-ui-skeleton-CrROSIXs.js} +3 -3
  109. package/dist/{vue-ui-skeleton-DlC-U64G.cjs → vue-ui-skeleton-DOrpie3d.cjs} +1 -1
  110. package/dist/{vue-ui-smiley-C32wVXgu.js → vue-ui-smiley-B0S7szh0.js} +2 -2
  111. package/dist/{vue-ui-smiley-DSxKw3ud.cjs → vue-ui-smiley-CeVvVZJJ.cjs} +1 -1
  112. package/dist/{vue-ui-spark-trend-B_x1dX38.js → vue-ui-spark-trend-BC1zG3z1.js} +5 -5
  113. package/dist/{vue-ui-spark-trend-vexkCCy9.cjs → vue-ui-spark-trend-DSKhap1U.cjs} +1 -1
  114. package/dist/{vue-ui-sparkbar-CsOEiHDQ.cjs → vue-ui-sparkbar-CXQ8rWwv.cjs} +1 -1
  115. package/dist/{vue-ui-sparkbar-ZSbB6Llo.js → vue-ui-sparkbar-DK5zyF2q.js} +4 -4
  116. package/dist/{vue-ui-sparkgauge-Cf3bDk98.js → vue-ui-sparkgauge-CLF23Z6B.js} +4 -4
  117. package/dist/{vue-ui-sparkgauge-Bdh7X--h.cjs → vue-ui-sparkgauge-DoxNseQu.cjs} +1 -1
  118. package/dist/{vue-ui-sparkhistogram-fALwb3uK.cjs → vue-ui-sparkhistogram-CeNlChEK.cjs} +1 -1
  119. package/dist/{vue-ui-sparkhistogram-CrZy1xf0.js → vue-ui-sparkhistogram-DFx2PdMT.js} +5 -5
  120. package/dist/{vue-ui-sparkline-D4WDvcZR.cjs → vue-ui-sparkline-CgdJGWkW.cjs} +1 -1
  121. package/dist/{vue-ui-sparkline-DTW_lXgp.js → vue-ui-sparkline-hDosQh2z.js} +4 -4
  122. package/dist/{vue-ui-sparkstackbar-DBPLhUoi.cjs → vue-ui-sparkstackbar-Bx_O0E2Q.cjs} +1 -1
  123. package/dist/{vue-ui-sparkstackbar-Db2Ndf0k.js → vue-ui-sparkstackbar-CiQRicBj.js} +5 -5
  124. package/dist/{vue-ui-stackbar-DbF3ZJTD.js → vue-ui-stackbar-BpCvkxTQ.js} +13 -13
  125. package/dist/{vue-ui-stackbar-B3eaSIoO.cjs → vue-ui-stackbar-DFrui-nK.cjs} +1 -1
  126. package/dist/{vue-ui-strip-plot-CpkH2Gfd.js → vue-ui-strip-plot-BaLGfp02.js} +11 -11
  127. package/dist/{vue-ui-strip-plot-DiCVf5u-.cjs → vue-ui-strip-plot-CJvbeG6e.cjs} +1 -1
  128. package/dist/{vue-ui-table-K13fqkDI.cjs → vue-ui-table-DQ_t1xTE.cjs} +1 -1
  129. package/dist/{vue-ui-table-heatmap-BgenCoVa.cjs → vue-ui-table-heatmap-CZZDVnzr.cjs} +1 -1
  130. package/dist/{vue-ui-table-heatmap-EAevgnzN.js → vue-ui-table-heatmap-Czx9ATpO.js} +4 -4
  131. package/dist/{vue-ui-table-sparkline-s_oWe6MG.js → vue-ui-table-sparkline-B73dlAI6.js} +5 -5
  132. package/dist/{vue-ui-table-sparkline-3JMqr89P.cjs → vue-ui-table-sparkline-CftOKg9N.cjs} +1 -1
  133. package/dist/{vue-ui-table-D6zWwikN.js → vue-ui-table-sunBd8sR.js} +1 -1
  134. package/dist/{vue-ui-thermometer--mYRly4x.cjs → vue-ui-thermometer-BVkI8vlH.cjs} +1 -1
  135. package/dist/{vue-ui-thermometer-Bo3l_0Kf.js → vue-ui-thermometer-CLRznn3m.js} +7 -7
  136. package/dist/{vue-ui-timer-C9EuUurN.js → vue-ui-timer-Beaj2sv_.js} +5 -5
  137. package/dist/{vue-ui-timer-Djh-ZDNe.cjs → vue-ui-timer-BuamplsS.cjs} +1 -1
  138. package/dist/{vue-ui-tiremarks-DgdpEDJ1.js → vue-ui-tiremarks-Dda1Ogkj.js} +7 -7
  139. package/dist/{vue-ui-tiremarks-CKv_KApZ.cjs → vue-ui-tiremarks-kw2cLJwr.cjs} +1 -1
  140. package/dist/{vue-ui-treemap-AkNJjd2c.cjs → vue-ui-treemap-9i7zH6_D.cjs} +1 -1
  141. package/dist/{vue-ui-treemap-D13sISL0.js → vue-ui-treemap-qMgWCw7y.js} +11 -11
  142. package/dist/{vue-ui-vertical-bar-CQlvpdJl.cjs → vue-ui-vertical-bar-D6VWdpxb.cjs} +1 -1
  143. package/dist/{vue-ui-vertical-bar-DfegzHj4.js → vue-ui-vertical-bar-Dau3LmOt.js} +12 -12
  144. package/dist/{vue-ui-waffle-f72Lq8_D.js → vue-ui-waffle-CSQBfdSt.js} +12 -12
  145. package/dist/{vue-ui-waffle-Dve1LWVt.cjs → vue-ui-waffle-DEyKQoF1.cjs} +1 -1
  146. package/dist/{vue-ui-wheel-BxefMdit.js → vue-ui-wheel-Cq7qBq00.js} +7 -7
  147. package/dist/{vue-ui-wheel-BG1GcVvN.cjs → vue-ui-wheel-xExPUamV.cjs} +1 -1
  148. package/dist/{vue-ui-word-cloud-CRRR7H7h.cjs → vue-ui-word-cloud-B_ZFfVkQ.cjs} +1 -1
  149. package/dist/{vue-ui-word-cloud-BYY4K2G4.js → vue-ui-word-cloud-CzQIP7Ov.js} +10 -10
  150. package/dist/{vue-ui-xy-BS0_aTIH.js → vue-ui-xy-BKvIGkT4.js} +14 -14
  151. package/dist/{vue-ui-xy-DGYZFgdd.cjs → vue-ui-xy-BVbXEFgP.cjs} +1 -1
  152. package/dist/{vue-ui-xy-canvas-Bl2v7Z3U.js → vue-ui-xy-canvas-C-1Z6nVa.js} +12 -12
  153. package/dist/{vue-ui-xy-canvas-R_pPaj0X.cjs → vue-ui-xy-canvas-C1FLTlGQ.cjs} +1 -1
  154. package/package.json +1 -1
  155. package/dist/vue-ui-circle-pack-CrEdkNM7.js +0 -648
  156. package/dist/vue-ui-circle-pack-DYW-e2E5.cjs +0 -1
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),s=require("./index-DM-Bs-Ua.cjs"),se=require("./useNestedProp-CYy5g-mh.cjs"),ue=require("./usePrinter-DbpIk44f.cjs"),we=require("./Title-Pgt1Ixvo.cjs"),ze=require("./PenAndPaper-7lGhxIH8.cjs"),_e=require("./useUserOptionState-BgepsfED.cjs"),Be=require("./PackageVersion-JsuXjgR_.cjs"),$e=require("./vue-ui-accordion-ZIsT4At8.cjs"),Ne=require("./DataTable-D5572vAU.cjs"),Se=require("./vue-ui-skeleton-DlC-U64G.cjs"),Pe=require("./useChartAccessibility-Cm7nkzTG.cjs"),ie=require("./useResponsive-N8jl0-aC.cjs"),Te=require("./_plugin-vue_export-helper-BHFhmbuH.cjs");function ce(u,d=0){const m=u.reduce((a,{x:r,r:c})=>Math.min(a,r-c-d),1/0),i=u.reduce((a,{x:r,r:c})=>Math.max(a,r+c+d),-1/0),f=u.reduce((a,{y:r,r:c})=>Math.min(a,r-c-d),1/0),n=u.reduce((a,{y:r,r:c})=>Math.max(a,r+c+d),-1/0);return[m,f,i-m,n-f]}function Ee(u,d,m){const i=u._,f=u.next._,n=i.r+f.r,a=(i.x*f.r+f.x*i.r)/n,r=(i.y*f.r+f.y*i.r)/n;return Math.max(Math.abs(a*m),Math.abs(r*d))}function ve(u,d,m){const i=Ee,f=u.length;if(!f)return u;let n,a,r;if(n=u[0],n.x=0,n.y=0,!(f>1)||(a=u[1],n.x=-a.r,a.x=n.r,a.y=0,!(f>2)))return u;de(a,n,r=u[2]),n=new A(n),a=new A(a),r=new A(r),n.next=r.previous=a,a.next=n.previous=r,r.next=a.previous=n;e:for(let c=3;c<f;++c){de(n._,a._,r=u[c]),r=new A(r);let y=a.next,g=n.previous,$=a._.r,N=n._.r;do if($<=N){if(fe(y._,r._)){a=y,n.next=a,a.previous=n,--c;continue e}$+=y._.r,y=y.next}else{if(fe(g._,r._)){n=g,n.next=a,a.previous=n,--c;continue e}N+=g._.r,g=g.previous}while(y!==g.next);r.previous=n,r.next=a,n.next=a.previous=a=r;let S=i(n,m,d),I;for(;(r=r.next)!==a;)(I=i(r,m,d))<S&&(n=r,S=I);a=n.next}return u}function de(u,d,m){const i=u.x-d.x,f=u.y-d.y,n=i*i+f*f;if(n){const a=(d.r+m.r)**2,r=(u.r+m.r)**2;if(a>r){const c=(n+r-a)/(2*n),y=Math.sqrt(Math.max(0,r/n-c*c));m.x=u.x-c*i-y*f,m.y=u.y-c*f+y*i}else{const c=(n+a-r)/(2*n),y=Math.sqrt(Math.max(0,a/n-c*c));m.x=d.x+c*i-y*f,m.y=d.y+c*f+y*i}}else m.x=d.x+m.r,m.y=d.y}function fe(u,d){const m=u.r+d.r-1e-6,i=d.x-u.x,f=d.y-u.y;return m>0&&m*m>i*i+f*f}class A{constructor(d){this._=d,this.next=null,this.previous=null}}const Ve=["id"],Oe=["xmlns","viewBox","height","width"],Ie=["x","y","width","height"],Fe=["id"],Re=["stop-color"],Me=["stop-color"],Ae=["stop-color"],qe={key:0},De=["x","y","width","height","stroke","stroke-width","fill","rx","onMouseenter","onClick"],Le=["x","y","width","height","stroke","stroke-width","fill","rx"],Ue=["opacity","x","y","font-size","fill","font-weight"],He=["opacity","x","y","font-size","fill","font-weight"],je=["cx","cy","r","opacity","stroke","stroke-width","fill"],Ge={key:0,style:{pointerEvents:"none"}},Ye={key:1},We=["opacity","x","y","font-size","fill","font-weight"],Xe=["opacity","x","y","font-size","fill","font-weight"],Ze={key:6,class:"vue-data-ui-watermark"},Je=["innerHTML"],Ke={__name:"vue-ui-circle-pack",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},emits:["selectDatapoint"],setup(u,{expose:d,emit:m}){e.useCssVars(o=>({"0984759a":_.value,"547089ec":L.value}));const i=u,f=m,{vue_ui_circle_pack:n}=s.useConfig(),a=e.computed(()=>!!i.dataset&&i.dataset.length),r=e.ref(s.createUid()),c=e.ref(null),y=e.ref(null),g=e.ref(null),$=e.ref(0),N=e.ref(0),S=e.ref(0),I=e.ref(null),t=e.computed({get:()=>Z(),set:o=>o}),{svgRef:Y}=Pe.useChartAccessibility({config:t.value.style.chart.title}),{userOptionsVisible:q,setUserOptionsVisibility:W,keepUserOptionState:X}=_e.useUserOptionState({config:t.value});function Z(){const o=se.useNestedProp({userConfig:i.config,defaultConfig:n});return o.theme?{...se.useNestedProp({userConfig:s.themes.vue_ui_circle_pack[o.theme]||i.config,defaultConfig:o}),customPalette:s.themePalettes[o.theme]||s.palette}:o}e.watch(()=>i.config,o=>{t.value=Z(),q.value=!t.value.userOptions.showOnChartHover,D(),$.value+=1,N.value+=1,P.value.showTable=t.value.table.show},{deep:!0});const{isPrinting:J,isImaging:K,generatePdf:Q,generateImage:ee}=ue.usePrinter({elementId:`vue-ui-circle-pack_${r.value}`,fileName:t.value.style.chart.title.text||"vue-ui-circle-pack"}),he=e.computed(()=>t.value.userOptions.show&&!t.value.style.chart.title.text),P=e.ref({showTable:t.value.table.show}),te=e.ref(null),C=e.ref({h:10,w:10}),le=e.ref(0),w=e.ref([0,0,100,100]);async function D(){s.objectIsEmpty(i.dataset)&&s.error({componentName:"VueUiCirclePack",type:"dataset"}),z.value=await ve(F.value),b.value=ce(z.value,1).join(" ");const o=ie.throttle(()=>{const{width:v,height:l,heightTitle:p,heightNoTitle:B}=ie.useResponsive({chart:c.value,title:y.value,noTitle:g.value}),j=v||10,G=l&&l>10?l:10;le.value=t.value.style.chart.title.text?p:B,requestAnimationFrame(()=>{C.value.w=j,C.value.h=G-le.value,e.nextTick(async()=>{const xe=F.value.map(Ce=>({...Ce}));z.value=await ve(xe,C.value.h,C.value.w),w.value=ce(z.value,1),b.value=w.value.join(" ")})})});te.value=new ResizeObserver(o),te.value.observe(c.value.parentNode)}e.onMounted(D),e.watch(()=>i.dataset,async o=>{await D()},{deep:!0});const me=e.computed(()=>s.convertCustomPalette(t.value.customPalette)),F=e.computed(()=>i.dataset.map((o,v)=>{const l=s.convertColorToHex(o.color)||me.value[v]||s.themePalettes[t.value.theme||"default"][v%s.themePalettes[t.value.theme||"default"].length]||s.palette[v]||s.palette[v%s.palette.length];return{...o,r:o.value,id:s.createUid(),color:l}}).filter(o=>![null,void 0,1/0,-1/0].includes(o.value))),z=e.ref([]),b=e.ref("0 0 100 100"),T=e.computed(()=>Math.max(...z.value.map(o=>o.r)));function oe(o,v){return v/T.value*o}const h=e.ref(null);function pe(o){t.value.style.chart.circles.zoom.show&&(h.value=o)}const _=e.computed(()=>h.value?h.value.r:0),L=e.computed(()=>x.value?_.value:h.value?h.value.r>w.value[3]/6*t.value.style.chart.circles.zoom.zoomRatio?h.value.r:w.value[3]/6*t.value.style.chart.circles.zoom.zoomRatio:0),k=e.ref(0),ye=e.computed(()=>({pointerEvents:"none",opacity:k.value,filter:`drop-shadow(0px 0px 6px ${s.darkenHexColor(h.value.color,t.value.style.chart.circles.zoom.shadowForce)})`})),E=e.ref(_.value);e.watchEffect(()=>{E.value=_.value,k.value=0;let o=null;function v(l){o||(o=l);const p=(l-o)/t.value.style.chart.circles.zoom.animationFrameMs;p<1?(E.value=_.value+(L.value-_.value)*p,k.value=0+t.value.style.chart.circles.zoom.opacity*p,requestAnimationFrame(v)):(E.value=L.value,k.value=t.value.style.chart.circles.zoom.opacity)}requestAnimationFrame(v)});const V=e.computed(()=>({name:t.value.style.chart.circles.zoom.label.name.fontSize*w.value[3]/300,value:t.value.style.chart.circles.zoom.label.value.fontSize*w.value[3]/300}));function U(o){return s.applyDataLabel(t.value.style.chart.circles.labels.value.formatter,o.value,s.dataLabel({p:t.value.style.chart.circles.labels.value.prefix,v:o.value,s:t.value.style.chart.circles.labels.value.suffix,r:t.value.style.chart.circles.labels.value.rounding}))}function ge(){return s.applyDataLabel(t.value.style.chart.circles.zoom.label.value.formatter,h.value.value,s.dataLabel({p:t.value.style.chart.circles.zoom.label.value.prefix,v:h.value.value,s:t.value.style.chart.circles.zoom.label.value.suffix,r:t.value.style.chart.circles.zoom.label.value.rounding}))}function ae(o){if(!o)return 0;const v=o.r/U(o).length*(U(o).length===1?1:2);return Math.min(o.r/2.5,v)}const O=e.ref(!1);function be(o){O.value=o,S.value+=1}const x=e.ref(!1);function H(){x.value=!x.value}const R=e.computed(()=>{const o=F.value.map(l=>({name:l.name,value:l.value,color:l.color})).toSorted((l,p)=>p.value-l.value),v=o.map(l=>l.value);return{head:o,body:v}});function ne(){e.nextTick(()=>{const o=R.value.head.map((p,B)=>[[p.name],[R.value.body[B]]]),v=[[t.value.style.chart.title.text],[t.value.style.chart.title.subtitle.text],[[""],[t.value.table.columnNames.value]]].concat(o),l=s.createCsvContent(v);s.downloadCsv({csvContent:l,title:t.value.style.chart.title.text||"vue-ui-circle-pack"})})}const M=e.computed(()=>{const o=[t.value.table.columnNames.datapoint,t.value.table.columnNames.value],v=R.value.head.map((B,j)=>{const G=s.dataLabel({p:t.value.style.chart.circles.labels.value.prefix,v:R.value.body[j],s:t.value.style.chart.circles.labels.value.suffix,r:t.value.style.chart.circles.labels.value.rounding});return[{color:B.color,name:B.name},G]}),l={th:{backgroundColor:t.value.table.th.backgroundColor,color:t.value.table.th.color,outline:t.value.table.th.outline},td:{backgroundColor:t.value.table.td.backgroundColor,color:t.value.table.td.color,outline:t.value.table.td.outline},breakpoint:t.value.table.responsiveBreakpoint};return{colNames:[t.value.table.columnNames.datapoint,t.value.table.columnNames.value],head:o,body:v,config:l}});function re(){P.value.showTable=!P.value.showTable}function ke(){return F.value}return d({getData:ke,generateCsv:ne,generatePdf:Q,generateImage:ee,toggleTable:re,toggleAnnotator:H}),(o,v)=>(e.openBlock(),e.createElementBlock("div",{id:`vue-ui-circle-pack_${r.value}`,class:e.normalizeClass(`vue-ui-circle-pack ${O.value?"vue-data-ui-wrapper-fullscreen":""}`),ref_key:"circlePackChart",ref:c,style:e.normalizeStyle(`font-family:${t.value.style.fontFamily};text-align:center;background:${t.value.style.chart.backgroundColor}`),onMouseenter:v[2]||(v[2]=()=>e.unref(W)(!0)),onMouseleave:v[3]||(v[3]=()=>e.unref(W)(!1))},[t.value.userOptions.buttons.annotator?(e.openBlock(),e.createBlock(ze.PenAndPaper,{key:0,svgRef:e.unref(Y),backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,active:x.value,scale:T.value/100,onClose:H},null,8,["svgRef","backgroundColor","color","active","scale"])):e.createCommentVNode("",!0),e.renderSlot(o.$slots,"userConfig",{},void 0,!0),he.value?(e.openBlock(),e.createElementBlock("div",{key:1,ref_key:"noTitle",ref:g,class:"vue-data-ui-no-title-space",style:"height:36px; width: 100%;background:transparent"},null,512)):e.createCommentVNode("",!0),t.value.style.chart.title.text?(e.openBlock(),e.createElementBlock("div",{key:2,ref_key:"chartTitle",ref:y,style:"width:100%;background:transparent;padding-bottom:12px"},[(e.openBlock(),e.createBlock(we._sfc_main,{key:`title_${$.value}`,config:{title:{cy:"donut-div-title",...t.value.style.chart.title},subtitle:{cy:"donut-div-subtitle",...t.value.style.chart.title.subtitle}}},null,8,["config"]))],512)):e.createCommentVNode("",!0),t.value.userOptions.show&&a.value&&(e.unref(X)||e.unref(q))?(e.openBlock(),e.createBlock(ue.UserOptions,{ref:"details",key:`user_option_${S.value}`,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,isPrinting:e.unref(J),isImaging:e.unref(K),uid:r.value,hasTooltip:!1,hasLabel:!1,hasPdf:t.value.userOptions.buttons.pdf,hasImg:t.value.userOptions.buttons.img,hasXls:t.value.userOptions.buttons.csv,hasTable:t.value.userOptions.buttons.table,hasFullscreen:t.value.userOptions.buttons.fullscreen,isFullscreen:O.value,chartElement:c.value,position:t.value.userOptions.position,titles:{...t.value.userOptions.buttonTitles},hasAnnotator:t.value.userOptions.buttons.annotator,isAnnotation:x.value,onToggleFullscreen:be,onGeneratePdf:e.unref(Q),onGenerateCsv:ne,onGenerateImage:e.unref(ee),onToggleTable:re,onToggleAnnotator:H,style:e.normalizeStyle({visibility:e.unref(X)?e.unref(q)?"visible":"hidden":"visible"})},e.createSlots({_:2},[o.$slots.menuIcon?{name:"menuIcon",fn:e.withCtx(({isOpen:l,color:p})=>[e.renderSlot(o.$slots,"menuIcon",e.normalizeProps(e.guardReactiveProps({isOpen:l,color:p})),void 0,!0)]),key:"0"}:void 0,o.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionPdf",{},void 0,!0)]),key:"1"}:void 0,o.$slots.optionCsv?{name:"optionCsv",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionCsv",{},void 0,!0)]),key:"2"}:void 0,o.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionImg",{},void 0,!0)]),key:"3"}:void 0,o.$slots.optionTable?{name:"optionTable",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionTable",{},void 0,!0)]),key:"4"}:void 0,o.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:l,isFullscreen:p})=>[e.renderSlot(o.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:l,isFullscreen:p})),void 0,!0)]),key:"5"}:void 0,o.$slots.optionAnnotator?{name:"optionAnnotator",fn:e.withCtx(({toggleAnnotator:l,isAnnotator:p})=>[e.renderSlot(o.$slots,"optionAnnotator",e.normalizeProps(e.guardReactiveProps({toggleAnnotator:l,isAnnotator:p})),void 0,!0)]),key:"6"}:void 0]),1032,["backgroundColor","color","isPrinting","isImaging","uid","hasPdf","hasImg","hasXls","hasTable","hasFullscreen","isFullscreen","chartElement","position","titles","hasAnnotator","isAnnotation","onGeneratePdf","onGenerateImage","style"])):e.createCommentVNode("",!0),a.value?(e.openBlock(),e.createElementBlock("svg",{key:4,ref_key:"svgRef",ref:Y,xmlns:e.unref(s.XMLNS),viewBox:b.value,height:C.value.h,width:C.value.w,class:e.normalizeClass({"vue-data-ui-fullscreen--on":O.value,"vue-data-ui-fulscreen--off":!O.value}),style:e.normalizeStyle(`max-width:100%;overflow:visible;background:transparent;color:${t.value.style.chart.color};background:${t.value.style.chart.backgroundColor};`)},[e.createVNode(Be._sfc_main),o.$slots["chart-background"]?(e.openBlock(),e.createElementBlock("foreignObject",{key:0,x:b.value.x,y:b.value.y,width:b.value.width,height:b.value.height,style:{pointerEvents:"none"}},[e.renderSlot(o.$slots,"chart-background",{},void 0,!0)],8,Ie)):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(z.value,l=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("defs",null,[e.createElementVNode("radialGradient",{id:l.id,fy:"30%"},[e.createElementVNode("stop",{offset:"10%","stop-color":e.unref(s.lightenHexColor)(l.color,t.value.style.chart.circles.gradient.intensity/100)},null,8,Re),e.createElementVNode("stop",{offset:"90%","stop-color":e.unref(s.darkenHexColor)(l.color,.1)},null,8,Me),e.createElementVNode("stop",{offset:"100%","stop-color":l.color},null,8,Ae)],8,Fe)]),o.$slots.pattern?(e.openBlock(),e.createElementBlock("g",qe,[e.createElementVNode("defs",null,[e.renderSlot(o.$slots,"pattern",e.mergeProps({ref_for:!0},{...l,patternId:`pattern_${r.value}_${l.id}`}),void 0,!0)])])):e.createCommentVNode("",!0),e.createElementVNode("rect",{x:l.x-l.r,y:l.y-l.r,width:l.r*2,height:l.r*2,stroke:t.value.style.chart.circles.stroke,"stroke-width":t.value.style.chart.circles.strokeWidth*T.value/100,fill:t.value.style.chart.circles.gradient.show?`url(#${l.id})`:l.color,rx:l.r,onMouseenter:()=>pe(l),onMouseout:v[0]||(v[0]=p=>h.value=null),onClick:p=>f("selectDatapoint",l)},null,40,De),o.$slots.pattern?(e.openBlock(),e.createElementBlock("rect",{key:1,x:l.x-l.r,y:l.y-l.r,width:l.r*2,height:l.r*2,stroke:t.value.style.chart.circles.stroke,"stroke-width":t.value.style.chart.circles.strokeWidth*T.value/100,fill:`url(#pattern_${r.value}_${l.id})`,rx:l.r,style:{pointerEvents:"none"}},null,8,Le)):e.createCommentVNode("",!0),o.$slots["data-label"]?e.renderSlot(o.$slots,"data-label",e.mergeProps({key:2,ref_for:!0},{...l,createTSpans:e.unref(s.createTSpans),fontSize:{name:l.r/3*t.value.style.chart.circles.labels.name.fontSizeRatio,value:ae(l)*t.value.style.chart.circles.labels.value.fontSizeRatio},color:t.value.style.chart.circles.labels.name.color?t.value.style.chart.circles.labels.name.color:e.unref(s.adaptColorToBackground)(l.color)}),void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[t.value.style.chart.circles.labels.name.show&&l.name?(e.openBlock(),e.createElementBlock("text",{key:0,style:{pointerEvents:"none",transition:"opacity 0.2s ease-in-out"},opacity:h.value&&!x.value?.2:1,x:l.x,y:l.y+oe(l.r,t.value.style.chart.circles.labels.name.offsetY)-l.r/10,"font-size":l.r/3*t.value.style.chart.circles.labels.name.fontSizeRatio,fill:t.value.style.chart.circles.labels.name.color?t.value.style.chart.circles.labels.name.color:e.unref(s.adaptColorToBackground)(l.color),"font-weight":t.value.style.chart.circles.labels.name.bold?"bold":"normal","text-anchor":"middle"},e.toDisplayString(l.name),9,Ue)):e.createCommentVNode("",!0),t.value.style.chart.circles.labels.value.show?(e.openBlock(),e.createElementBlock("text",{key:1,style:{pointerEvents:"none",transition:"opacity 0.2s ease-in-out"},opacity:h.value&&!x.value?.2:1,x:l.x,y:l.y+oe(l.r,t.value.style.chart.circles.labels.value.offsetY)+l.r/2.5,"font-size":ae(l)*t.value.style.chart.circles.labels.value.fontSizeRatio,fill:t.value.style.chart.circles.labels.value.color?t.value.style.chart.circles.labels.value.color:e.unref(s.adaptColorToBackground)(l.color),"font-weight":t.value.style.chart.circles.labels.value.bold?"bold":"normal","text-anchor":"middle"},e.toDisplayString(U(l)),9,He)):e.createCommentVNode("",!0)],64))],64))),256)),h.value&&t.value.style.chart.circles.zoom.show&&!x.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("circle",{style:e.normalizeStyle(ye.value),cx:h.value.x,cy:h.value.y,r:E.value,opacity:k.value,stroke:t.value.style.chart.circles.stroke,"stroke-width":t.value.style.chart.circles.strokeWidth*T.value/100,fill:t.value.style.chart.circles.gradient.show?`url(#${h.value.id})`:h.value.color},null,12,je),o.$slots["zoom-label"]?(e.openBlock(),e.createElementBlock("g",Ge,[e.renderSlot(o.$slots,"zoom-label",e.normalizeProps(e.guardReactiveProps({...h.value,zoomOpacity:k.value,currentRadius:E.value,fontSize:V.value})),void 0,!0)])):(e.openBlock(),e.createElementBlock("g",Ye,[e.createElementVNode("text",{style:{pointerEvents:"none"},opacity:k.value,x:h.value.x,y:h.value.y+t.value.style.chart.circles.zoom.label.name.offsetY-V.value.name/4,"text-anchor":"middle","font-size":V.value.name,fill:t.value.style.chart.circles.zoom.label.name.color?t.value.style.chart.circles.zoom.label.name.color:e.unref(s.adaptColorToBackground)(h.value.color),"font-weight":t.value.style.chart.circles.zoom.label.name.bold?"bold":"normal"},e.toDisplayString(h.value.name),9,We),e.createElementVNode("text",{style:{pointerEvents:"none"},opacity:k.value,x:h.value.x,y:h.value.y+V.value.value+t.value.style.chart.circles.zoom.label.value.offsetY,"text-anchor":"middle","font-size":V.value.value,fill:t.value.style.chart.circles.zoom.label.value.color?t.value.style.chart.circles.zoom.label.value.color:e.unref(s.adaptColorToBackground)(h.value.color),"font-weight":t.value.style.chart.circles.zoom.label.value.bold?"bold":"normal"},e.toDisplayString(ge()),9,Xe)]))],64)):e.createCommentVNode("",!0),e.renderSlot(o.$slots,"svg",{svg:{...b.value}},void 0,!0)],14,Oe)):e.createCommentVNode("",!0),a.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Se.default,{key:5,config:{type:"circlePack",style:{color:"#CCCCCC"}}})),o.$slots.watermark?(e.openBlock(),e.createElementBlock("div",Ze,[e.renderSlot(o.$slots,"watermark",e.normalizeProps(e.guardReactiveProps({isPrinting:e.unref(J)||e.unref(K)})),void 0,!0)])):e.createCommentVNode("",!0),o.$slots.source?(e.openBlock(),e.createElementBlock("div",{key:7,ref_key:"source",ref:I,dir:"auto"},[e.renderSlot(o.$slots,"source",{},void 0,!0)],512)):e.createCommentVNode("",!0),a.value?(e.openBlock(),e.createBlock($e.default,{key:8,hideDetails:"",config:{open:P.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(Ne.DataTable,{key:`table_${N.value}`,colNames:M.value.colNames,head:M.value.head,body:M.value.body,config:M.value.config,title:`${t.value.style.chart.title.text}${t.value.style.chart.title.subtitle.text?` : ${t.value.style.chart.title.subtitle.text}`:""}`,onClose:v[1]||(v[1]=l=>P.value.showTable=!1)},{th:e.withCtx(({th:l})=>[e.createElementVNode("div",{innerHTML:l,style:{display:"flex","align-items":"center"}},null,8,Je)]),td:e.withCtx(({td:l})=>[e.createTextVNode(e.toDisplayString(l.name||l),1)]),_:1},8,["colNames","head","body","config","title"]))]),_:1},8,["config"])):e.createCommentVNode("",!0)],46,Ve))}},Qe=Te._export_sfc(Ke,[["__scopeId","data-v-d5e06482"]]);exports.default=Qe;