vue-data-ui 2.5.7 → 2.5.8

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 (153) hide show
  1. package/dist/{Arrow-5QI0f9hp.js → Arrow-Bt7NXIJ5.js} +1 -1
  2. package/dist/{Arrow-BQy5IqAX.cjs → Arrow-Dj9JGKYT.cjs} +1 -1
  3. package/dist/{BaseIcon-Dk8gByg1.cjs → BaseIcon-YKGNoy9k.cjs} +1 -1
  4. package/dist/{BaseIcon-BXpK120h.js → BaseIcon-h2EGe-F0.js} +1 -1
  5. package/dist/{DataTable-D93-QmC8.cjs → DataTable-B3LR2aQ-.cjs} +1 -1
  6. package/dist/{DataTable-CpOh1tx3.js → DataTable-DkvQh989.js} +2 -2
  7. package/dist/{Legend-DqRstaxU.js → Legend-6M_rfhmv.js} +2 -2
  8. package/dist/{Legend-Dh9aF6uH.cjs → Legend-DZ6v6Kqo.cjs} +1 -1
  9. package/dist/{PackageVersion-CdmZAhdE.cjs → PackageVersion-BaxzMkmb.cjs} +1 -1
  10. package/dist/{PackageVersion-iscNRe7N.js → PackageVersion-DfaIDpJw.js} +1 -1
  11. package/dist/{PenAndPaper-BsncKiRE.cjs → PenAndPaper-Bb1CRWy_.cjs} +1 -1
  12. package/dist/{PenAndPaper-B-VQ8eSo.js → PenAndPaper-Yisw8HR-.js} +3 -3
  13. package/dist/{Shape-CB0mE9KP.js → Shape-BaLP4S7x.js} +1 -1
  14. package/dist/{Shape-DZRynz5E.cjs → Shape-Loy8SfB0.cjs} +1 -1
  15. package/dist/{Slicer-Cm0a7Otv.cjs → Slicer-CZcgDA9b.cjs} +1 -1
  16. package/dist/{Slicer-DiUftIFQ.js → Slicer-s2XQo99t.js} +2 -2
  17. package/dist/{Title-DFq_8HYJ.cjs → Title-D60omRAq.cjs} +1 -1
  18. package/dist/{Title-CiQQgFbV.js → Title-fuZYZTyg.js} +1 -1
  19. package/dist/{Tooltip-ZYQUXVWv.js → Tooltip-CtBrrBzH.js} +1 -1
  20. package/dist/{Tooltip-pcZXVRMj.cjs → Tooltip-DJJQp-5U.cjs} +1 -1
  21. package/dist/{index-DiqenHrX.js → index-D7WbF7IL.js} +1 -1
  22. package/dist/{index-C_VTEz1N.cjs → index-Dek-RNmP.cjs} +1 -1
  23. package/dist/style.css +1 -1
  24. package/dist/{useNestedProp-C7bLHE7v.cjs → useNestedProp-Cl_tbXJh.cjs} +1 -1
  25. package/dist/{useNestedProp-B3CQkP95.js → useNestedProp-DrpjbpQG.js} +1 -1
  26. package/dist/{usePrinter-CHAgX1f-.js → usePrinter-Bsq_c-4R.js} +1 -1
  27. package/dist/{usePrinter-DWCqeYW6.cjs → usePrinter-D8SoqZxn.cjs} +1 -1
  28. package/dist/{vue-data-ui-VikO3yRe.cjs → vue-data-ui-Drfy-kAG.cjs} +1 -1
  29. package/dist/{vue-data-ui-BAAnNikX.js → vue-data-ui-Dx31ZoZg.js} +61 -61
  30. package/dist/vue-data-ui.cjs +1 -1
  31. package/dist/vue-data-ui.js +1 -1
  32. package/dist/{vue-ui-3d-bar-BR-ihA3S.cjs → vue-ui-3d-bar-BYcRyzhw.cjs} +1 -1
  33. package/dist/{vue-ui-3d-bar-C4OjP6pi.js → vue-ui-3d-bar-DZ4wHIDt.js} +9 -9
  34. package/dist/{vue-ui-accordion-CtBhoUw4.cjs → vue-ui-accordion-DKh6e8Lo.cjs} +1 -1
  35. package/dist/{vue-ui-accordion-DA6XnWaz.js → vue-ui-accordion-Df7Z4z_I.js} +3 -3
  36. package/dist/{vue-ui-age-pyramid-2AgqaHOS.js → vue-ui-age-pyramid-DsFCXVMt.js} +10 -10
  37. package/dist/{vue-ui-age-pyramid-E0fCV03f.cjs → vue-ui-age-pyramid-an7F0oNZ.cjs} +1 -1
  38. package/dist/{vue-ui-annotator-CdLA2R6h.js → vue-ui-annotator-CMBYlI8U.js} +1 -1
  39. package/dist/{vue-ui-annotator-UcABxDAz.cjs → vue-ui-annotator-vzudHQ2o.cjs} +1 -1
  40. package/dist/{vue-ui-bullet-AFqmPWo3.js → vue-ui-bullet-6XJG1gjs.js} +8 -8
  41. package/dist/{vue-ui-bullet-C4wEiJn8.cjs → vue-ui-bullet-C2P3Mmtb.cjs} +1 -1
  42. package/dist/{vue-ui-candlestick-Bs0DE1Xi.js → vue-ui-candlestick-B_BhbgMl.js} +11 -11
  43. package/dist/{vue-ui-candlestick-BkQsD1Yi.cjs → vue-ui-candlestick-CCc6xTRt.cjs} +1 -1
  44. package/dist/{vue-ui-carousel-table-NYlYQbo9.js → vue-ui-carousel-table-CuhJylfe.js} +4 -4
  45. package/dist/{vue-ui-carousel-table-KX-cLx3F.cjs → vue-ui-carousel-table-D6Fm0D2v.cjs} +1 -1
  46. package/dist/{vue-ui-chestnut-BAJjfgKR.js → vue-ui-chestnut-BISLJKAC.js} +8 -8
  47. package/dist/{vue-ui-chestnut-BzHRBq_Z.cjs → vue-ui-chestnut-DUrvvykp.cjs} +1 -1
  48. package/dist/vue-ui-circle-pack-DZEeSIUQ.cjs +1 -0
  49. package/dist/{vue-ui-circle-pack-BoolEIij.js → vue-ui-circle-pack-DhCB2xka.js} +13 -13
  50. package/dist/{vue-ui-cursor-BjQLjw1a.cjs → vue-ui-cursor-DSF_UVmY.cjs} +1 -1
  51. package/dist/{vue-ui-cursor-ut60ihG1.js → vue-ui-cursor-gslZUsCR.js} +2 -2
  52. package/dist/{vue-ui-dashboard-BXVdZdEF.cjs → vue-ui-dashboard-Biq0U4u8.cjs} +1 -1
  53. package/dist/{vue-ui-dashboard-FQxiN7Jj.js → vue-ui-dashboard-jZMYzX-c.js} +2 -2
  54. package/dist/{vue-ui-digits-Rb48H8et.js → vue-ui-digits-BMH09JIn.js} +2 -2
  55. package/dist/{vue-ui-digits-j2WKJUNf.cjs → vue-ui-digits-DvPNXcgb.cjs} +1 -1
  56. package/dist/{vue-ui-donut-DUKnsxUu.js → vue-ui-donut-e9UPMTKF.js} +12 -12
  57. package/dist/{vue-ui-donut-evolution-n-ue754h.js → vue-ui-donut-evolution-CFMrmjBU.js} +11 -11
  58. package/dist/{vue-ui-donut-evolution-9mJgbwpR.cjs → vue-ui-donut-evolution-Dh4fiyIs.cjs} +1 -1
  59. package/dist/{vue-ui-donut-CbFW--I1.cjs → vue-ui-donut-qao_M8Us.cjs} +1 -1
  60. package/dist/{vue-ui-dumbbell-C4r0NeY_.js → vue-ui-dumbbell-DVnNbWsJ.js} +10 -10
  61. package/dist/{vue-ui-dumbbell-sXSCnY75.cjs → vue-ui-dumbbell-Urc5Y3k1.cjs} +1 -1
  62. package/dist/{vue-ui-flow-C8-oqGo7.cjs → vue-ui-flow-Blj_RZkG.cjs} +1 -1
  63. package/dist/{vue-ui-flow-CuZbUegy.js → vue-ui-flow-uHzfbga-.js} +9 -9
  64. package/dist/{vue-ui-funnel-Cb0LSIxk.cjs → vue-ui-funnel-D_UHuLZf.cjs} +1 -1
  65. package/dist/{vue-ui-funnel-D9whnJ6X.js → vue-ui-funnel-biAl8xK_.js} +9 -9
  66. package/dist/{vue-ui-galaxy-DUHSlUJQ.cjs → vue-ui-galaxy-BxpjVFcG.cjs} +1 -1
  67. package/dist/{vue-ui-galaxy-CRECMRY6.js → vue-ui-galaxy-COJCGfIv.js} +11 -11
  68. package/dist/{vue-ui-gauge-BEhMYmCg.js → vue-ui-gauge-BYDNt4GC.js} +7 -7
  69. package/dist/{vue-ui-gauge-BfmvvI7e.cjs → vue-ui-gauge-CdR1kucL.cjs} +1 -1
  70. package/dist/{vue-ui-gizmo-DtXR6xgr.js → vue-ui-gizmo-B-XvA6-3.js} +3 -3
  71. package/dist/{vue-ui-gizmo-BkZTXg7I.cjs → vue-ui-gizmo-Dg0trVDd.cjs} +1 -1
  72. package/dist/{vue-ui-heatmap-BlBHNDJV.js → vue-ui-heatmap-BOF-ZxIa.js} +10 -10
  73. package/dist/{vue-ui-heatmap-B1XZnqbm.cjs → vue-ui-heatmap-BiYMulQM.cjs} +1 -1
  74. package/dist/{vue-ui-history-plot-BmzpDPL6.js → vue-ui-history-plot-C2odHLIM.js} +11 -11
  75. package/dist/{vue-ui-history-plot-DqM3d3p7.cjs → vue-ui-history-plot-CNZt7YcG.cjs} +1 -1
  76. package/dist/{vue-ui-kpi-XdIADLDq.js → vue-ui-kpi-CB5vWOtf.js} +3 -3
  77. package/dist/{vue-ui-kpi-D1i-2otW.cjs → vue-ui-kpi-wN4e_ctQ.cjs} +1 -1
  78. package/dist/{vue-ui-mini-loader-DZgbFjuS.cjs → vue-ui-mini-loader-BMoiaNLy.cjs} +1 -1
  79. package/dist/{vue-ui-mini-loader-BdDY5AwD.js → vue-ui-mini-loader-ByGCGtB1.js} +2 -2
  80. package/dist/{vue-ui-molecule-DstYXfTV.js → vue-ui-molecule-BhsJ_RIe.js} +11 -11
  81. package/dist/{vue-ui-molecule-a0IHQMkN.cjs → vue-ui-molecule-CukF-4Xx.cjs} +1 -1
  82. package/dist/{vue-ui-mood-radar-BafPNccC.cjs → vue-ui-mood-radar-DwGGkl_y.cjs} +1 -1
  83. package/dist/{vue-ui-mood-radar-DjtnprtG.js → vue-ui-mood-radar-zZEUyTRJ.js} +11 -11
  84. package/dist/{vue-ui-nested-donuts-XQ_auu4H.js → vue-ui-nested-donuts-BEskrZkF.js} +11 -11
  85. package/dist/{vue-ui-nested-donuts-DC7oX5GH.cjs → vue-ui-nested-donuts-DuHGEiLr.cjs} +1 -1
  86. package/dist/{vue-ui-onion-DEfVifyj.cjs → vue-ui-onion-DO58PR6-.cjs} +1 -1
  87. package/dist/{vue-ui-onion-D_myFmJv.js → vue-ui-onion-OdlJNk8P.js} +11 -11
  88. package/dist/{vue-ui-parallel-coordinate-plot-DQsyE4kf.js → vue-ui-parallel-coordinate-plot--ezgt_zs.js} +12 -12
  89. package/dist/{vue-ui-parallel-coordinate-plot-Bv3lIZ0J.cjs → vue-ui-parallel-coordinate-plot-8i6iMfPh.cjs} +1 -1
  90. package/dist/{vue-ui-quadrant-DXU4OdLD.cjs → vue-ui-quadrant-Bh03gMra.cjs} +1 -1
  91. package/dist/{vue-ui-quadrant-DBvqgk3y.js → vue-ui-quadrant-Lmkl7VrE.js} +12 -12
  92. package/dist/{vue-ui-quick-chart-C-bsRZf1.js → vue-ui-quick-chart-CiizE6GR.js} +9 -9
  93. package/dist/{vue-ui-quick-chart-Dl-94hQE.cjs → vue-ui-quick-chart-lFjPugmC.cjs} +1 -1
  94. package/dist/{vue-ui-radar-QQ8vOOYq.cjs → vue-ui-radar-DCxO0C6w.cjs} +1 -1
  95. package/dist/{vue-ui-radar-He8orFXJ.js → vue-ui-radar-rvbIwEa-.js} +12 -12
  96. package/dist/{vue-ui-rating-qUauyHHk.js → vue-ui-rating-LT6dY4aN.js} +2 -2
  97. package/dist/{vue-ui-rating-6kyP3DDH.cjs → vue-ui-rating-lepczNu6.cjs} +1 -1
  98. package/dist/{vue-ui-relation-circle-BO4wP-bR.cjs → vue-ui-relation-circle-BEUKqlGe.cjs} +1 -1
  99. package/dist/{vue-ui-relation-circle-DfVg4VBp.js → vue-ui-relation-circle-CCr7V2OY.js} +7 -7
  100. package/dist/{vue-ui-rings-DjoVPXun.js → vue-ui-rings-CC0AoTT9.js} +12 -12
  101. package/dist/{vue-ui-rings-D_cVoXDa.cjs → vue-ui-rings-Ds1xxJAX.cjs} +1 -1
  102. package/dist/{vue-ui-scatter-45hc4NIf.cjs → vue-ui-scatter-BBDSOdag.cjs} +1 -1
  103. package/dist/{vue-ui-scatter-DBcO00g4.js → vue-ui-scatter-FkAi2Un8.js} +12 -12
  104. package/dist/{vue-ui-screenshot-lJJxoLDu.cjs → vue-ui-screenshot-Af7ZSyby.cjs} +1 -1
  105. package/dist/{vue-ui-screenshot-zc-jsepS.js → vue-ui-screenshot-Cd3jJW0H.js} +1 -1
  106. package/dist/{vue-ui-skeleton-BwWHgSoq.js → vue-ui-skeleton-BP-sSOBv.js} +3 -3
  107. package/dist/{vue-ui-skeleton-D1bJntn7.cjs → vue-ui-skeleton-Cqp3VFo6.cjs} +1 -1
  108. package/dist/{vue-ui-smiley-CZPe292C.cjs → vue-ui-smiley-BAgQ0YTI.cjs} +1 -1
  109. package/dist/{vue-ui-smiley-BVFxYYJl.js → vue-ui-smiley-BVjjfzWJ.js} +2 -2
  110. package/dist/{vue-ui-spark-trend-8LZqy_wz.js → vue-ui-spark-trend-C2Pqcct6.js} +5 -5
  111. package/dist/{vue-ui-spark-trend-BJ3_K1DU.cjs → vue-ui-spark-trend-CeBCn-Pd.cjs} +1 -1
  112. package/dist/{vue-ui-sparkbar-C93PvNz6.js → vue-ui-sparkbar-D9DG6-fG.js} +4 -4
  113. package/dist/{vue-ui-sparkbar-B3idsjFj.cjs → vue-ui-sparkbar-rw0WhshP.cjs} +1 -1
  114. package/dist/{vue-ui-sparkgauge-B1uABI9w.js → vue-ui-sparkgauge-BV5Oz5iS.js} +4 -4
  115. package/dist/{vue-ui-sparkgauge-66qZ-DgD.cjs → vue-ui-sparkgauge-CkKuX8qN.cjs} +1 -1
  116. package/dist/{vue-ui-sparkhistogram-D7ECtpUW.cjs → vue-ui-sparkhistogram-B70qJ1qq.cjs} +1 -1
  117. package/dist/{vue-ui-sparkhistogram-vAgBJK79.js → vue-ui-sparkhistogram-Cz269E1i.js} +5 -5
  118. package/dist/{vue-ui-sparkline-YOIgP_Dl.cjs → vue-ui-sparkline-3itLRR9Y.cjs} +1 -1
  119. package/dist/{vue-ui-sparkline-B2JarTjo.js → vue-ui-sparkline-CA4S4RQL.js} +4 -4
  120. package/dist/{vue-ui-sparkstackbar-DMClZgds.cjs → vue-ui-sparkstackbar-BrtvVSvb.cjs} +1 -1
  121. package/dist/{vue-ui-sparkstackbar-C2E7YRP0.js → vue-ui-sparkstackbar-DIGzaF5R.js} +5 -5
  122. package/dist/{vue-ui-stackbar-BP_qrJ-s.cjs → vue-ui-stackbar-CtT-miIB.cjs} +1 -1
  123. package/dist/{vue-ui-stackbar-n27TJh0C.js → vue-ui-stackbar-D5ZuJIbb.js} +13 -13
  124. package/dist/{vue-ui-strip-plot-DN7X6zBk.cjs → vue-ui-strip-plot-Cq1JLwfJ.cjs} +1 -1
  125. package/dist/{vue-ui-strip-plot-Bjy7C_Ry.js → vue-ui-strip-plot-DPP3hiPW.js} +11 -11
  126. package/dist/{vue-ui-table-6rqw4Gi-.cjs → vue-ui-table-CY0svLT9.cjs} +1 -1
  127. package/dist/{vue-ui-table-DnHvIIqi.js → vue-ui-table-MiYvkTUn.js} +1 -1
  128. package/dist/{vue-ui-table-heatmap-BQKXP9Na.cjs → vue-ui-table-heatmap-CLwnBbII.cjs} +1 -1
  129. package/dist/{vue-ui-table-heatmap-Dt8DAC4A.js → vue-ui-table-heatmap-D_d87lwO.js} +4 -4
  130. package/dist/{vue-ui-table-sparkline-CLQJbHX8.js → vue-ui-table-sparkline-CnNTinqp.js} +5 -5
  131. package/dist/{vue-ui-table-sparkline-DmNJFPHo.cjs → vue-ui-table-sparkline-nnEk0nLN.cjs} +1 -1
  132. package/dist/{vue-ui-thermometer-BTmiPdUs.js → vue-ui-thermometer-BkIe4WjY.js} +7 -7
  133. package/dist/{vue-ui-thermometer-DnVSE7_V.cjs → vue-ui-thermometer-KOcqa3lC.cjs} +1 -1
  134. package/dist/{vue-ui-timer-D6j-aYnJ.js → vue-ui-timer-BZHhWSoV.js} +5 -5
  135. package/dist/{vue-ui-timer-CINerMki.cjs → vue-ui-timer-CfYPoQfc.cjs} +1 -1
  136. package/dist/{vue-ui-tiremarks-ztoJZwQn.js → vue-ui-tiremarks-Dhk66-sX.js} +7 -7
  137. package/dist/{vue-ui-tiremarks-CRGMkwwv.cjs → vue-ui-tiremarks-_O-Su2Cj.cjs} +1 -1
  138. package/dist/{vue-ui-treemap-CbqRlXgA.cjs → vue-ui-treemap-Cg-ov_lL.cjs} +1 -1
  139. package/dist/{vue-ui-treemap-B0NYnKie.js → vue-ui-treemap-ClJbRWUX.js} +11 -11
  140. package/dist/{vue-ui-vertical-bar-DzcpRwPF.js → vue-ui-vertical-bar-Cl9-UXNU.js} +12 -12
  141. package/dist/{vue-ui-vertical-bar-Cosr8beH.cjs → vue-ui-vertical-bar-iPryJq8k.cjs} +1 -1
  142. package/dist/{vue-ui-waffle-DkVKQERp.cjs → vue-ui-waffle-B2x94H2Y.cjs} +1 -1
  143. package/dist/{vue-ui-waffle-CE1MnOqa.js → vue-ui-waffle-CVkgMDGV.js} +12 -12
  144. package/dist/{vue-ui-wheel-CGYGLKyG.cjs → vue-ui-wheel-BcsSRRoO.cjs} +1 -1
  145. package/dist/{vue-ui-wheel-DMS12xPv.js → vue-ui-wheel-D55V86OT.js} +7 -7
  146. package/dist/{vue-ui-word-cloud-D_CyZOE0.js → vue-ui-word-cloud-B0fPSyHL.js} +10 -10
  147. package/dist/{vue-ui-word-cloud-C1klEiea.cjs → vue-ui-word-cloud-Cw5X6J2L.cjs} +1 -1
  148. package/dist/{vue-ui-xy-Nj-5ko1z.cjs → vue-ui-xy-BdoDWASA.cjs} +1 -1
  149. package/dist/{vue-ui-xy-GgA45y9X.js → vue-ui-xy-BfaVwOgp.js} +14 -14
  150. package/dist/{vue-ui-xy-canvas-CQt5pre_.cjs → vue-ui-xy-canvas-BCEx8n6O.cjs} +1 -1
  151. package/dist/{vue-ui-xy-canvas-BRPQBL8l.js → vue-ui-xy-canvas-VVp0kUKd.js} +11 -11
  152. package/package.json +1 -1
  153. package/dist/vue-ui-circle-pack-BrmdreXG.cjs +0 -1
@@ -1,17 +1,17 @@
1
- import { c as Q, a as $, t as ee, z as te, p as re, W as X, P as D, f as U, L as ie, G as ae, i as le, a5 as se, a2 as ne, a6 as he, v as oe, a7 as ce, d as de, B as ue, b as ge, q as fe, S as Ie, R as me, a8 as Ne, r as xe, e as be, a3 as Fe, y as _e, C as Ae, x as ye, a9 as Ce, _ as Le, o as Se, s as ke, w as we, F as Oe, A as Ge, u as ve } from "./index-DiqenHrX.js";
2
- import { D as ze } from "./DataTable-CpOh1tx3.js";
3
- import { _ as Me } from "./Title-CiQQgFbV.js";
4
- import { _ as pe, u as Te } from "./Tooltip-ZYQUXVWv.js";
5
- import { U as Pe } from "./usePrinter-CHAgX1f-.js";
6
- import { _ as Ve } from "./Shape-CB0mE9KP.js";
7
- import Re from "./BaseIcon-BXpK120h.js";
8
- import De from "./vue-ui-table-sparkline-CLQJbHX8.js";
9
- import He from "./vue-ui-skeleton-BwWHgSoq.js";
10
- import { S as Be } from "./Slicer-DiUftIFQ.js";
11
- import We from "./vue-ui-accordion-DA6XnWaz.js";
12
- import { u as Z } from "./useNestedProp-B3CQkP95.js";
13
- import { _ as Ee } from "./PackageVersion-iscNRe7N.js";
14
- import { P as Ye } from "./PenAndPaper-B-VQ8eSo.js";
1
+ import { c as Q, a as $, t as ee, z as te, p as re, W as X, P as D, f as U, L as ie, G as ae, i as le, a5 as se, a2 as ne, a6 as he, v as oe, a7 as ce, d as de, B as ue, b as ge, q as fe, S as Ie, R as me, a8 as Ne, r as xe, e as be, a3 as Fe, y as _e, C as Ae, x as ye, a9 as Ce, _ as Le, o as Se, s as ke, w as we, F as Oe, A as Ge, u as ve } from "./index-D7WbF7IL.js";
2
+ import { D as ze } from "./DataTable-DkvQh989.js";
3
+ import { _ as Me } from "./Title-fuZYZTyg.js";
4
+ import { _ as pe, u as Te } from "./Tooltip-CtBrrBzH.js";
5
+ import { U as Pe } from "./usePrinter-Bsq_c-4R.js";
6
+ import { _ as Ve } from "./Shape-BaLP4S7x.js";
7
+ import Re from "./BaseIcon-h2EGe-F0.js";
8
+ import De from "./vue-ui-table-sparkline-CnNTinqp.js";
9
+ import He from "./vue-ui-skeleton-BP-sSOBv.js";
10
+ import { S as Be } from "./Slicer-s2XQo99t.js";
11
+ import We from "./vue-ui-accordion-Df7Z4z_I.js";
12
+ import { u as Z } from "./useNestedProp-DrpjbpQG.js";
13
+ import { _ as Ee } from "./PackageVersion-DfaIDpJw.js";
14
+ import { P as Ye } from "./PenAndPaper-Yisw8HR-.js";
15
15
  import { resolveComponent as R, openBlock as a, createElementBlock as s, normalizeClass as B, normalizeStyle as O, createBlock as H, createCommentVNode as c, createSlots as qe, withCtx as P, renderSlot as S, normalizeProps as W, guardReactiveProps as Y, createVNode as q, createElementVNode as g, Fragment as u, renderList as m, toDisplayString as k, mergeProps as J, createTextVNode as K, withDirectives as Xe, vModelCheckbox as Ue } from "vue";
16
16
  import { _ as Ze } from "./_plugin-vue_export-helper-CHgC5LLL.js";
17
17
  const Je = Q(), Ke = {
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("vue"),u=require("./index-C_VTEz1N.cjs"),c=require("./useResponsive-BJ7DTGpm.cjs"),ot=require("./Tooltip-pcZXVRMj.cjs"),rt=require("./Legend-Dh9aF6uH.cjs"),nt=require("./Title-DFq_8HYJ.cjs"),ut=require("./Slicer-Cm0a7Otv.cjs"),Ee=require("./usePrinter-DWCqeYW6.cjs"),st=require("./vue-ui-accordion-CtBhoUw4.cjs"),it=require("./DataTable-D93-QmC8.cjs"),ct=require("./vue-ui-skeleton-D1bJntn7.cjs"),Ne=require("./useNestedProp-C7bLHE7v.cjs"),vt=require("./PenAndPaper-BsncKiRE.cjs"),dt=require("./useUserOptionState-BgepsfED.cjs"),ht=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),ft=["id"],yt=["onClick"],gt={key:2,class:"vue-data-ui-watermark"},pt=["innerHTML"],mt={__name:"vue-ui-xy-canvas",props:{dataset:{type:Array,default(){return[]}},config:{type:Object,default(){return{}}}},emits:["selectLegend"],setup(re,{expose:Be,emit:De}){const p=re,{vue_ui_xy_canvas:Fe}=u.useConfig(),Z=l.ref(u.createUid()),N=l.ref(null),S=l.ref(null),B=l.ref(null),i=l.ref(null),g=l.ref(1),T=l.ref(1),H=l.ref(!1),f=l.ref(null),V=l.ref(""),ne=l.ref(null),C=l.ref([]),O=l.ref(1),M=l.ref(!0),z=l.ref(!0),G=l.ref(null),ue=l.ref(0),se=l.ref(0),U=l.ref(!1),ie=l.ref(null),ce=l.ref(null),ve=l.ref(null),de=l.ref(null),j=l.ref(0),J=l.ref(0),K=l.ref(0),Q=l.computed(()=>!!p.dataset&&p.dataset.length),Ae=l.useSlots();l.onMounted(()=>{Ae["chart-background"]&&console.warn("VueUiXyCanvas does not support the #chart-background slot.")});const t=l.computed({get:()=>ye(),set:e=>e}),{userOptionsVisible:ee,setUserOptionsVisibility:he,keepUserOptionState:fe}=dt.useUserOptionState({config:t.value});function ye(){const e=Ne.useNestedProp({userConfig:p.config,defaultConfig:Fe});let a={};return e.theme?a={...Ne.useNestedProp({userConfig:u.themes.vue_ui_xy_canvas[e.theme]||p.config,defaultConfig:e}),customPalette:u.themePalettes[e.theme]||u.palette}:a=e,p.config&&u.hasDeepProperty(p.config,"style.chart.scale.min")?a.style.chart.scale.min=p.config.style.chart.scale.min:a.style.chart.scale.min=null,p.config&&u.hasDeepProperty(p.config,"style.chart.scale.max")?a.style.chart.scale.max=p.config.style.chart.scale.max:a.style.chart.scale.max=null,p.config&&u.hasDeepProperty(p.config,"style.chart.zoom.startIndex")?a.style.chart.zoom.startIndex=p.config.style.chart.zoom.startIndex:a.style.chart.zoom.startIndex=null,p.config&&u.hasDeepProperty(p.config,"style.chart.zoom.endIndex")?a.style.chart.zoom.endIndex=p.config.style.chart.zoom.endIndex:a.style.chart.zoom.endIndex=null,a}l.watch(()=>p.config,e=>{t.value=ye(),ee.value=!t.value.userOptions.showOnChartHover,le(),j.value+=1,J.value+=1,K.value+=1,s.value.showTable=t.value.table.show,s.value.showDataLabels=t.value.style.chart.dataLabels.show,s.value.stacked=t.value.style.chart.stacked,s.value.showTooltip=t.value.style.chart.tooltip.show},{deep:!0}),l.watch(()=>p.dataset,()=>{le(),j.value+=1,J.value+=1,K.value+=1},{deep:!0});const ge=l.ref(t.value.style.chart.aspectRatio),{isPrinting:pe,isImaging:me,generatePdf:be,generateImage:xe}=Ee.usePrinter({elementId:`xy_canvas_${Z.value}`,fileName:t.value.style.chart.title.text||"vue-ui-xy-canvas"}),s=l.ref({showTable:t.value.table.show,showDataLabels:t.value.style.chart.dataLabels.show,stacked:t.value.style.chart.stacked,showTooltip:t.value.style.chart.tooltip.show});function He(e){U.value=e,se.value+=1}const ke=l.computed(()=>u.convertCustomPalette(t.value.customPalette)),w=l.computed(()=>R.value?Math.max(...R.value.filter((e,a)=>!C.value.includes(e.absoluteIndex)).map(e=>e.series.length)):0),o=l.computed(()=>{const e=g.value-g.value*(t.value.style.chart.paddingProportions.left+t.value.style.chart.paddingProportions.right);return{canvasWidth:g.value,canvasHeight:T.value,left:g.value*t.value.style.chart.paddingProportions.left,top:T.value*t.value.style.chart.paddingProportions.top,right:g.value-g.value*t.value.style.chart.paddingProportions.right,bottom:T.value-T.value*t.value.style.chart.paddingProportions.bottom,width:e,height:T.value-T.value*(t.value.style.chart.paddingProportions.top+t.value.style.chart.paddingProportions.bottom),slot:e/(n.value.end-n.value.start)}});function Le(e,a){return e/a}function Ve({hasAutoScale:e,series:a,min:r,max:d,scale:h,yOffset:m,individualHeight:v,stackIndex:b=null}){return a.map((L,oe)=>{const $=h.min<0?Math.abs(h.min):0,I=Le(L+$,$+h.max);let P,D;e&&(P=Math.abs(h.min),D=Le(L+P,h.max+P));let F=0;return b===null?F=o.value.bottom-o.value.height*(e?D:I):F=o.value.bottom-m-v*(e?D:I),{x:o.value.left+o.value.slot*oe+o.value.slot/2,y:F,value:L}})}const x=l.computed(()=>{const e=t.value.style.chart.scale.min!==null?t.value.style.chart.scale.min:Math.min(...R.value.filter((v,b)=>!C.value.includes(v.absoluteIndex)).flatMap(v=>v.series.slice(n.value.start,n.value.end))),a=t.value.style.chart.scale.max!==null?t.value.style.chart.scale.max:Math.max(...R.value.filter((v,b)=>!C.value.includes(v.absoluteIndex)).flatMap(v=>v.series.slice(n.value.start,n.value.end))),r=u.calculateNiceScale(e<0?e:0,a===e?e+1<0?0:e+1:a<0?0:a,t.value.style.chart.scale.ticks),d=r.min<0?Math.abs(r.min):0,h=o.value.bottom-o.value.height*(d/(r.max+d)),m=r.ticks.map(v=>({y:o.value.bottom-o.value.height*((v+d)/(r.max+d)),x:o.value.left-8,value:v}));return{absoluteMin:d,max:a,min:e,scale:r,yLabels:m,zero:h}}),Ue=l.computed(()=>y.value.map(e=>`
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("vue"),u=require("./index-Dek-RNmP.cjs"),c=require("./useResponsive-BJ7DTGpm.cjs"),ot=require("./Tooltip-DJJQp-5U.cjs"),rt=require("./Legend-DZ6v6Kqo.cjs"),nt=require("./Title-D60omRAq.cjs"),ut=require("./Slicer-CZcgDA9b.cjs"),Ee=require("./usePrinter-D8SoqZxn.cjs"),st=require("./vue-ui-accordion-DKh6e8Lo.cjs"),it=require("./DataTable-B3LR2aQ-.cjs"),ct=require("./vue-ui-skeleton-Cqp3VFo6.cjs"),Ne=require("./useNestedProp-Cl_tbXJh.cjs"),vt=require("./PenAndPaper-Bb1CRWy_.cjs"),dt=require("./useUserOptionState-BgepsfED.cjs"),ht=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),ft=["id"],yt=["onClick"],gt={key:2,class:"vue-data-ui-watermark"},pt=["innerHTML"],mt={__name:"vue-ui-xy-canvas",props:{dataset:{type:Array,default(){return[]}},config:{type:Object,default(){return{}}}},emits:["selectLegend"],setup(re,{expose:Be,emit:De}){const p=re,{vue_ui_xy_canvas:Fe}=u.useConfig(),Z=l.ref(u.createUid()),N=l.ref(null),S=l.ref(null),B=l.ref(null),i=l.ref(null),g=l.ref(1),T=l.ref(1),H=l.ref(!1),f=l.ref(null),V=l.ref(""),ne=l.ref(null),C=l.ref([]),O=l.ref(1),M=l.ref(!0),z=l.ref(!0),G=l.ref(null),ue=l.ref(0),se=l.ref(0),U=l.ref(!1),ie=l.ref(null),ce=l.ref(null),ve=l.ref(null),de=l.ref(null),j=l.ref(0),J=l.ref(0),K=l.ref(0),Q=l.computed(()=>!!p.dataset&&p.dataset.length),Ae=l.useSlots();l.onMounted(()=>{Ae["chart-background"]&&console.warn("VueUiXyCanvas does not support the #chart-background slot.")});const t=l.computed({get:()=>ye(),set:e=>e}),{userOptionsVisible:ee,setUserOptionsVisibility:he,keepUserOptionState:fe}=dt.useUserOptionState({config:t.value});function ye(){const e=Ne.useNestedProp({userConfig:p.config,defaultConfig:Fe});let a={};return e.theme?a={...Ne.useNestedProp({userConfig:u.themes.vue_ui_xy_canvas[e.theme]||p.config,defaultConfig:e}),customPalette:u.themePalettes[e.theme]||u.palette}:a=e,p.config&&u.hasDeepProperty(p.config,"style.chart.scale.min")?a.style.chart.scale.min=p.config.style.chart.scale.min:a.style.chart.scale.min=null,p.config&&u.hasDeepProperty(p.config,"style.chart.scale.max")?a.style.chart.scale.max=p.config.style.chart.scale.max:a.style.chart.scale.max=null,p.config&&u.hasDeepProperty(p.config,"style.chart.zoom.startIndex")?a.style.chart.zoom.startIndex=p.config.style.chart.zoom.startIndex:a.style.chart.zoom.startIndex=null,p.config&&u.hasDeepProperty(p.config,"style.chart.zoom.endIndex")?a.style.chart.zoom.endIndex=p.config.style.chart.zoom.endIndex:a.style.chart.zoom.endIndex=null,a}l.watch(()=>p.config,e=>{t.value=ye(),ee.value=!t.value.userOptions.showOnChartHover,le(),j.value+=1,J.value+=1,K.value+=1,s.value.showTable=t.value.table.show,s.value.showDataLabels=t.value.style.chart.dataLabels.show,s.value.stacked=t.value.style.chart.stacked,s.value.showTooltip=t.value.style.chart.tooltip.show},{deep:!0}),l.watch(()=>p.dataset,()=>{le(),j.value+=1,J.value+=1,K.value+=1},{deep:!0});const ge=l.ref(t.value.style.chart.aspectRatio),{isPrinting:pe,isImaging:me,generatePdf:be,generateImage:xe}=Ee.usePrinter({elementId:`xy_canvas_${Z.value}`,fileName:t.value.style.chart.title.text||"vue-ui-xy-canvas"}),s=l.ref({showTable:t.value.table.show,showDataLabels:t.value.style.chart.dataLabels.show,stacked:t.value.style.chart.stacked,showTooltip:t.value.style.chart.tooltip.show});function He(e){U.value=e,se.value+=1}const ke=l.computed(()=>u.convertCustomPalette(t.value.customPalette)),w=l.computed(()=>R.value?Math.max(...R.value.filter((e,a)=>!C.value.includes(e.absoluteIndex)).map(e=>e.series.length)):0),o=l.computed(()=>{const e=g.value-g.value*(t.value.style.chart.paddingProportions.left+t.value.style.chart.paddingProportions.right);return{canvasWidth:g.value,canvasHeight:T.value,left:g.value*t.value.style.chart.paddingProportions.left,top:T.value*t.value.style.chart.paddingProportions.top,right:g.value-g.value*t.value.style.chart.paddingProportions.right,bottom:T.value-T.value*t.value.style.chart.paddingProportions.bottom,width:e,height:T.value-T.value*(t.value.style.chart.paddingProportions.top+t.value.style.chart.paddingProportions.bottom),slot:e/(n.value.end-n.value.start)}});function Le(e,a){return e/a}function Ve({hasAutoScale:e,series:a,min:r,max:d,scale:h,yOffset:m,individualHeight:v,stackIndex:b=null}){return a.map((L,oe)=>{const $=h.min<0?Math.abs(h.min):0,I=Le(L+$,$+h.max);let P,D;e&&(P=Math.abs(h.min),D=Le(L+P,h.max+P));let F=0;return b===null?F=o.value.bottom-o.value.height*(e?D:I):F=o.value.bottom-m-v*(e?D:I),{x:o.value.left+o.value.slot*oe+o.value.slot/2,y:F,value:L}})}const x=l.computed(()=>{const e=t.value.style.chart.scale.min!==null?t.value.style.chart.scale.min:Math.min(...R.value.filter((v,b)=>!C.value.includes(v.absoluteIndex)).flatMap(v=>v.series.slice(n.value.start,n.value.end))),a=t.value.style.chart.scale.max!==null?t.value.style.chart.scale.max:Math.max(...R.value.filter((v,b)=>!C.value.includes(v.absoluteIndex)).flatMap(v=>v.series.slice(n.value.start,n.value.end))),r=u.calculateNiceScale(e<0?e:0,a===e?e+1<0?0:e+1:a<0?0:a,t.value.style.chart.scale.ticks),d=r.min<0?Math.abs(r.min):0,h=o.value.bottom-o.value.height*(d/(r.max+d)),m=r.ticks.map(v=>({y:o.value.bottom-o.value.height*((v+d)/(r.max+d)),x:o.value.left-8,value:v}));return{absoluteMin:d,max:a,min:e,scale:r,yLabels:m,zero:h}}),Ue=l.computed(()=>y.value.map(e=>`
2
2
  <div style="display:flex;flex-direction:row;gap:6px;align-items:center;">
3
3
  <svg viewBox="0 0 10 10" height="12" width="12">
4
4
  <circle cx="5" cy="5" r="5" fill="${e.color}"/>
@@ -1,16 +1,16 @@
1
1
  import { ref as i, computed as x, useSlots as Ma, onMounted as aa, watch as N, nextTick as ce, onBeforeUnmount as Oa, openBlock as z, createElementBlock as K, normalizeStyle as B, normalizeClass as Ra, unref as S, createBlock as E, createCommentVNode as H, createSlots as Pa, withCtx as b, renderSlot as L, normalizeProps as Y, guardReactiveProps as V, createElementVNode as Q, createVNode as Fa, toDisplayString as la, createTextVNode as Ea } from "vue";
2
- import { u as Da, c as Aa, t as Na, a as Ha, p as _, C as de, b as _a, D as we, i as ee, f as ae, _ as Ua, J as Wa, d as ta, a5 as Xa, o as Ba, e as Ya, x as oa, y as Va, q as Za, r as Ga, s as le, l as ja } from "./index-DiqenHrX.js";
2
+ import { u as Da, c as Aa, t as Na, a as Ha, p as _, C as de, b as _a, D as we, i as ee, f as ae, _ as Ua, J as Wa, d as ta, a5 as Xa, o as Ba, e as Ya, x as oa, y as Va, q as Za, r as Ga, s as le, l as ja } from "./index-D7WbF7IL.js";
3
3
  import { d as qa, c as Ja, a as ra, t as Ka, l as k, r as ze, b as D, p as ua, u as Qa } from "./useResponsive-CoxXLe23.js";
4
- import { _ as el } from "./Tooltip-ZYQUXVWv.js";
5
- import { L as al } from "./Legend-DqRstaxU.js";
6
- import { _ as ll } from "./Title-CiQQgFbV.js";
7
- import { S as tl } from "./Slicer-DiUftIFQ.js";
8
- import { u as ol, U as rl } from "./usePrinter-CHAgX1f-.js";
9
- import ul from "./vue-ui-accordion-DA6XnWaz.js";
10
- import { D as sl } from "./DataTable-CpOh1tx3.js";
11
- import nl from "./vue-ui-skeleton-BwWHgSoq.js";
12
- import { u as sa } from "./useNestedProp-B3CQkP95.js";
13
- import { P as il } from "./PenAndPaper-B-VQ8eSo.js";
4
+ import { _ as el } from "./Tooltip-CtBrrBzH.js";
5
+ import { L as al } from "./Legend-6M_rfhmv.js";
6
+ import { _ as ll } from "./Title-fuZYZTyg.js";
7
+ import { S as tl } from "./Slicer-s2XQo99t.js";
8
+ import { u as ol, U as rl } from "./usePrinter-Bsq_c-4R.js";
9
+ import ul from "./vue-ui-accordion-Df7Z4z_I.js";
10
+ import { D as sl } from "./DataTable-DkvQh989.js";
11
+ import nl from "./vue-ui-skeleton-BP-sSOBv.js";
12
+ import { u as sa } from "./useNestedProp-DrpjbpQG.js";
13
+ import { P as il } from "./PenAndPaper-Yisw8HR-.js";
14
14
  import { u as vl } from "./useUserOptionState-BIvW1Kz7.js";
15
15
  import { _ as cl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
16
  const dl = ["id"], hl = ["onClick"], yl = {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vue-data-ui",
3
3
  "private": false,
4
- "version": "2.5.7",
4
+ "version": "2.5.8",
5
5
  "type": "module",
6
6
  "description": "A user-empowering data visualization Vue 3 components library for eloquent data storytelling",
7
7
  "keywords": [
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),r=require("./index-C_VTEz1N.cjs"),ve=require("./useNestedProp-C7bLHE7v.cjs"),fe=require("./usePrinter-DWCqeYW6.cjs"),Oe=require("./Title-DFq_8HYJ.cjs"),Fe=require("./PenAndPaper-BsncKiRE.cjs"),Ie=require("./useUserOptionState-BgepsfED.cjs"),Me=require("./PackageVersion-CdmZAhdE.cjs"),_e=require("./vue-ui-accordion-CtBhoUw4.cjs"),Ae=require("./DataTable-D93-QmC8.cjs"),De=require("./vue-ui-skeleton-D1bJntn7.cjs"),Le=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),qe=["id"],Re=["xmlns","viewBox"],Ue=["x","y","width","height"],He=["id"],Ge=["stop-color"],Ye=["stop-color"],We=["stop-color"],Xe={key:0},je=["x","y","width","height","stroke","stroke-width","fill","rx","onMouseenter"],Ze=["x","y","width","height","stroke","stroke-width","fill","rx"],Je=["opacity","x","y","font-size","fill","font-weight"],Ke=["opacity","x","y","font-size","fill","font-weight"],Qe=["d","fill"],et=["cx","cy","r","opacity","stroke","fill"],tt={key:0,style:{pointerEvents:"none"}},lt={key:1},at=["opacity","x","y","font-size","fill","font-weight"],ot=["opacity","x","y","font-size","fill","font-weight"],rt={key:6,class:"vue-data-ui-watermark"},nt=["innerHTML"],st={__name:"vue-ui-circle-pack",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},setup(me,{expose:he}){const y=me;e.useCssVars(l=>({"76fa81dc":C.value,"68186f8b":M.value}));const{vue_ui_circle_pack:pe}=r.useConfig(),$=e.computed(()=>!!y.dataset&&y.dataset.length),k=e.ref(r.createUid()),V=e.ref(null),ye=e.ref(null),ge=e.ref(null),H=e.ref(0),G=e.ref(0),Y=e.ref(0),ke=e.ref(null),t=e.computed({get:()=>j(),set:l=>l}),{userOptionsVisible:O,setUserOptionsVisibility:W,keepUserOptionState:X}=Ie.useUserOptionState({config:t.value});function j(){const l=ve.useNestedProp({userConfig:y.config,defaultConfig:pe});return l.theme?{...ve.useNestedProp({userConfig:r.themes.vue_ui_circle_pack[l.theme]||y.config,defaultConfig:l}),customPalette:r.themePalettes[l.theme]||r.palette}:l}e.watch(()=>y.config,l=>{t.value=j(),O.value=!t.value.userOptions.showOnChartHover,F(),H.value+=1,G.value+=1,b.value.showTable=t.value.table.show},{deep:!0});const{isPrinting:Z,isImaging:J,generatePdf:K,generateImage:Q}=fe.usePrinter({elementId:`vue-ui-circle-pack_${k.value}`,fileName:t.value.style.chart.title.text||"vue-ui-circle-pack"}),be=e.computed(()=>t.value.userOptions.show&&!t.value.style.chart.title.text),b=e.ref({showTable:t.value.table.show});async function F(){r.objectIsEmpty(y.dataset)&&r.error({componentName:"VueUiCirclePack",type:"dataset"}),await ze()}e.onMounted(F),e.watch(()=>y.dataset,async l=>{await F()},{deep:!0});const ee=e.computed(()=>r.convertCustomPalette(t.value.customPalette));function te(l,o){return Math.hypot(o.x-l.x,o.y-l.y)}function le(l,o){return o.some(a=>te(l,a)<l.radius+a.radius)}function Ce(l,o,a,u){const c=o*2;for(let h of l)for(let p=0;p<360;p+=30){let B=p*Math.PI/180,i=h.x+c*Math.cos(B),n=h.y+c*Math.sin(B),m={x:i,y:n,radius:o};if(i-o>=0&&i+o<=a&&n-o>=0&&n+o<=u&&!le(m,l))return{x:i,y:n}}return null}function xe(l,o,a,u,c=0,h=0){const p=Math.max(...l.map(m=>m.value)),i=l.map((m,d)=>({...m,radius:m.value/p*u,index:d})).map((m,d)=>({...m,index:d})).toSorted((m,d)=>d.radius-m.radius);let n=[];n.push({...i[0],x:o/2+c,y:a/2+h});for(let m of i.slice(1)){let{radius:d,...se}=m,D=Ce(n,d,o,a);if(D)n.push({...se,x:D.x,y:D.y,radius:d});else{let L=null,ue=1/0;for(let E of n)for(let q=0;q<360;q+=15){let ie=q*Math.PI/180,R=E.x+(d+E.radius)*Math.cos(ie),U=E.y+(d+E.radius)*Math.sin(ie),T={...se,x:R,y:U,radius:d};if(R-d>=0&&R+d<=o&&U-d>=0&&U+d<=a&&!le(T,n)){let ce=n.reduce((Ve,de)=>Ve+(te(T,de)<T.radius+de.radius?1:0),0);ce<ue&&(ue=ce,L=T)}}L&&n.push(L)}}return n}const I=e.computed(()=>y.dataset.map((l,o)=>{const a=r.convertColorToHex(l.color)||ee.value[o]||r.themePalettes[t.value.theme||"default"][o%r.themePalettes[t.value.theme||"default"].length]||r.palette[o]||r.palette[o%r.palette.length];return{...l,id:r.createUid(),color:a}}).filter(l=>![null,void 0,1/0,-1/0].includes(l.value))),f=e.ref([]),we=e.computed(()=>Math.max(...f.value.map(l=>l.radius)));function ae(l,o){return o/we.value*l}async function ze(){f.value=xe(I.value,1e4,1e4,32)}const oe=e.computed(()=>({width:100,height:100})),v=e.computed(()=>{const l=f.value.reduce((i,n)=>n.x-n.radius<i.x-i.radius?n:i,f.value[0]),o=f.value.reduce((i,n)=>n.y-n.radius<i.y-i.radius?n:i,f.value[0]),a=f.value.reduce((i,n)=>n.x+n.radius>i.x+i.radius?n:i,f.value[0]),u=f.value.reduce((i,n)=>n.y+n.radius>i.y+i.radius?n:i,f.value[0]),c=(l==null?void 0:l.x)||0,h=(a==null?void 0:a.x)||oe.value.width,p=(o==null?void 0:o.y)||0,B=(u==null?void 0:u.y)||oe.value.height;return{maxX:h,minX:c,width:Math.abs(h-c)+(l?l.radius:0)+(a?a.radius:0)+t.value.style.chart.circles.strokeWidth*4,height:Math.abs(B-p)+(o?o.radius:0)+(u?u.radius:0)+t.value.style.chart.circles.strokeWidth*4,x:l?(l==null?void 0:l.x)-(l==null?void 0:l.radius)-t.value.style.chart.circles.strokeWidth*2:0,y:o?(o==null?void 0:o.y)-(o==null?void 0:o.radius)-t.value.style.chart.circles.strokeWidth*2:0}}),Be=e.computed(()=>f.value.map(l=>{if(l.breakdown)return r.makeDonut({series:l.breakdown.map((o,a)=>({...o,color:r.convertColorToHex(o.color)||ee.value[a]||r.palette[a]||r.palette[a%r.palette.length]}))},l.x,l.y,l.radius,l.radius,1.99999,2,1,360,105.25,l.radius/2)})),s=e.ref(null);function $e(l){t.value.style.chart.circles.zoom.show&&(s.value=l)}const C=e.computed(()=>s.value?s.value.radius:0),M=e.computed(()=>s.value?s.value.radius>v.value.width/6*t.value.style.chart.circles.zoom.zoomRatio?s.value.radius:v.value.width/6*t.value.style.chart.circles.zoom.zoomRatio:0),g=e.ref(0),Pe=e.computed(()=>({pointerEvents:"none",opacity:g.value,filter:`drop-shadow(0px 0px 6px ${r.darkenHexColor(s.value.color,t.value.style.chart.circles.zoom.shadowForce)})`})),x=e.ref(C.value);e.watchEffect(()=>{x.value=C.value,g.value=0;let l=null;function o(a){l||(l=a);const u=(a-l)/t.value.style.chart.circles.zoom.animationFrameMs;u<1?(x.value=C.value+(M.value-C.value)*u,g.value=0+t.value.style.chart.circles.zoom.opacity*u,requestAnimationFrame(o)):(x.value=M.value,g.value=t.value.style.chart.circles.zoom.opacity)}requestAnimationFrame(o)});const w=e.computed(()=>({name:t.value.style.chart.circles.zoom.label.name.fontSize*v.value.width/300,value:t.value.style.chart.circles.zoom.label.value.fontSize*v.value.width/300}));function _(l){return r.applyDataLabel(t.value.style.chart.circles.labels.value.formatter,l.value,r.dataLabel({p:t.value.style.chart.circles.labels.value.prefix,v:l.value,s:t.value.style.chart.circles.labels.value.suffix,r:t.value.style.chart.circles.labels.value.rounding}))}function Ne(){return r.applyDataLabel(t.value.style.chart.circles.zoom.label.value.formatter,s.value.value,r.dataLabel({p:t.value.style.chart.circles.zoom.label.value.prefix,v:s.value.value,s:t.value.style.chart.circles.zoom.label.value.suffix,r:t.value.style.chart.circles.zoom.label.rounding}))}function Se(l){if(!l)return 0;const o=l.radius/_(l).length*(_(l).length===1?1:2);return Math.min(l.radius/2.5,o)}const z=e.ref(!1);function Ee(l){z.value=l,Y.value+=1}const P=e.ref(!1);function A(){P.value=!P.value}const N=e.computed(()=>{const l=I.value.map(a=>({name:a.name,value:a.value,color:a.color})).toSorted((a,u)=>u.value-a.value),o=l.map(a=>a.value);return{head:l,body:o}});function re(){e.nextTick(()=>{const l=N.value.head.map((u,c)=>[[u.name],[N.value.body[c]]]),o=[[t.value.style.chart.title.text],[t.value.style.chart.title.subtitle.text],[[""],[t.value.table.columnNames.value]]].concat(l),a=r.createCsvContent(o);r.downloadCsv({csvContent:a,title:t.value.style.chart.title.text||"vue-ui-circle-pack"})})}const S=e.computed(()=>{const l=[t.value.table.columnNames.datapoint,t.value.table.columnNames.value],o=N.value.head.map((c,h)=>{const p=r.dataLabel({p:t.value.style.chart.circles.labels.value.prefix,v:N.value.body[h],s:t.value.style.chart.circles.labels.value.suffix,r:t.value.style.chart.circles.labels.value.rounding});return[{color:c.color,name:c.name},p]}),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.datapoint,t.value.table.columnNames.value],head:l,body:o,config:a}});function ne(){b.value.showTable=!b.value.showTable}function Te(){return I.value}return he({getData:Te,generateCsv:re,generatePdf:K,generateImage:Q,toggleTable:ne,toggleAnnotator:A}),(l,o)=>(e.openBlock(),e.createElementBlock("div",{id:`vue-ui-circle-pack_${k.value}`,class:e.normalizeClass(`vue-ui-circle-pack ${z.value?"vue-data-ui-wrapper-fullscreen":""}`),ref_key:"circlePackChart",ref:V,style:e.normalizeStyle(`font-family:${t.value.style.fontFamily};width:100%; text-align:center;background:${t.value.style.chart.backgroundColor}`),onMouseenter:o[2]||(o[2]=()=>e.unref(W)(!0)),onMouseleave:o[3]||(o[3]=()=>e.unref(W)(!1))},[t.value.userOptions.buttons.annotator?(e.openBlock(),e.createBlock(Fe.PenAndPaper,{key:0,parent:V.value,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,active:P.value,onClose:A},null,8,["parent","backgroundColor","color","active"])):e.createCommentVNode("",!0),e.renderSlot(l.$slots,"userConfig",{},void 0,!0),be.value?(e.openBlock(),e.createElementBlock("div",{key:1,ref_key:"noTitle",ref:ge,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:ye,style:"width:100%;background:transparent;padding-bottom:12px"},[(e.openBlock(),e.createBlock(Oe._sfc_main,{key:`title_${H.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&&$.value&&(e.unref(X)||e.unref(O))?(e.openBlock(),e.createBlock(fe.UserOptions,{ref:"details",key:`user_option_${Y.value}`,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,isPrinting:e.unref(Z),isImaging:e.unref(J),uid:k.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:z.value,chartElement:V.value,position:t.value.userOptions.position,titles:{...t.value.userOptions.buttonTitles},hasAnnotator:t.value.userOptions.buttons.annotator,isAnnotation:P.value,onToggleFullscreen:Ee,onGeneratePdf:e.unref(K),onGenerateCsv:re,onGenerateImage:e.unref(Q),onToggleTable:ne,onToggleAnnotator:A,style:e.normalizeStyle({visibility:e.unref(X)?e.unref(O)?"visible":"hidden":"visible"})},e.createSlots({_:2},[l.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionPdf",{},void 0,!0)]),key:"0"}:void 0,l.$slots.optionCsv?{name:"optionCsv",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionCsv",{},void 0,!0)]),key:"1"}:void 0,l.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionImg",{},void 0,!0)]),key:"2"}:void 0,l.$slots.optionTable?{name:"optionTable",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionTable",{},void 0,!0)]),key:"3"}:void 0,l.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:a,isFullscreen:u})=>[e.renderSlot(l.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:a,isFullscreen:u})),void 0,!0)]),key:"4"}:void 0,l.$slots.optionAnnotator?{name:"optionAnnotator",fn:e.withCtx(({toggleAnnotator:a,isAnnotator:u})=>[e.renderSlot(l.$slots,"optionAnnotator",e.normalizeProps(e.guardReactiveProps({toggleAnnotator:a,isAnnotator:u})),void 0,!0)]),key:"5"}: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),$.value?(e.openBlock(),e.createElementBlock("svg",{key:4,xmlns:e.unref(r.XMLNS),viewBox:`${v.value.x} ${v.value.y} ${v.value.width} ${v.value.height}`,width:"100%",class:e.normalizeClass({"vue-data-ui-fullscreen--on":z.value,"vue-data-ui-fulscreen--off":!z.value}),style:e.normalizeStyle(`max-width:100%;overflow:visible;background:transparent;color:${t.value.style.chart.color};`)},[e.createVNode(Me._sfc_main),l.$slots["chart-background"]?(e.openBlock(),e.createElementBlock("foreignObject",{key:0,x:v.value.x,y:v.value.y,width:v.value.width,height:v.value.height,style:{pointerEvents:"none"}},[e.renderSlot(l.$slots,"chart-background",{},void 0,!0)],8,Ue)):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f.value,a=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("defs",null,[e.createElementVNode("radialGradient",{id:a.id,fy:"30%"},[e.createElementVNode("stop",{offset:"10%","stop-color":e.unref(r.lightenHexColor)(a.color,t.value.style.chart.circles.gradient.intensity/100)},null,8,Ge),e.createElementVNode("stop",{offset:"90%","stop-color":e.unref(r.darkenHexColor)(a.color,.1)},null,8,Ye),e.createElementVNode("stop",{offset:"100%","stop-color":a.color},null,8,We)],8,He)]),l.$slots.pattern?(e.openBlock(),e.createElementBlock("g",Xe,[e.createElementVNode("defs",null,[e.renderSlot(l.$slots,"pattern",e.normalizeProps(e.guardReactiveProps({...a,patternId:`pattern_${k.value}_${a.id}`})),void 0,!0)])])):e.createCommentVNode("",!0),e.createElementVNode("rect",{x:a.x-a.radius,y:a.y-a.radius,width:a.radius*2,height:a.radius*2,stroke:t.value.style.chart.circles.stroke,"stroke-width":t.value.style.chart.circles.strokeWidth,fill:t.value.style.chart.circles.gradient.show?`url(#${a.id})`:a.color,rx:a.radius,onMouseenter:()=>$e(a),onMouseout:o[0]||(o[0]=u=>s.value=null)},null,40,je),l.$slots.pattern?(e.openBlock(),e.createElementBlock("rect",{key:1,x:a.x-a.radius,y:a.y-a.radius,width:a.radius*2,height:a.radius*2,stroke:t.value.style.chart.circles.stroke,"stroke-width":t.value.style.chart.circles.strokeWidth,fill:`url(#pattern_${k.value}_${a.id})`,rx:a.radius,style:{pointerEvents:"none"}},null,8,Ze)):e.createCommentVNode("",!0),t.value.style.chart.circles.labels.name.show&&a.name?(e.openBlock(),e.createElementBlock("text",{key:2,style:{pointerEvents:"none",transition:"opacity 0.2s ease-in-out"},opacity:s.value?.2:1,x:a.x,y:a.y+ae(a.radius,t.value.style.chart.circles.labels.name.offsetY)-a.radius/6,"font-size":a.radius/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(r.adaptColorToBackground)(a.color),"font-weight":t.value.style.chart.circles.labels.name.bold?"bold":"normal","text-anchor":"middle"},e.toDisplayString(a.name),9,Je)):e.createCommentVNode("",!0),t.value.style.chart.circles.labels.value.show?(e.openBlock(),e.createElementBlock("text",{key:3,style:{pointerEvents:"none",transition:"opacity 0.2s ease-in-out"},opacity:s.value?.2:1,x:a.x,y:a.y+ae(a.radius,t.value.style.chart.circles.labels.value.offsetY)+a.radius/3,"font-size":Se(a)*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(r.adaptColorToBackground)(a.color),"font-weight":t.value.style.chart.circles.labels.value.bold?"bold":"normal","text-anchor":"middle"},e.toDisplayString(_(a)),9,Ke)):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Be.value,u=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(u,c=>(e.openBlock(),e.createElementBlock("path",{d:c.arcSlice,fill:c.color,stroke:"black"},null,8,Qe))),256))],64))),256))],64))),256)),s.value&&t.value.style.chart.circles.zoom.show?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("circle",{style:e.normalizeStyle(Pe.value),cx:s.value.x,cy:s.value.y,r:x.value,opacity:g.value,stroke:t.value.style.chart.circles.stroke,fill:t.value.style.chart.circles.gradient.show?`url(#${s.value.id})`:s.value.color},null,12,et),l.$slots["zoom-label"]?(e.openBlock(),e.createElementBlock("g",tt,[e.renderSlot(l.$slots,"zoom-label",e.normalizeProps(e.guardReactiveProps({...s.value,zoomOpacity:g.value,currentRadius:x.value,fontSize:w.value})),void 0,!0)])):(e.openBlock(),e.createElementBlock("g",lt,[e.createElementVNode("text",{style:{pointerEvents:"none"},opacity:g.value,x:s.value.x,y:s.value.y+t.value.style.chart.circles.zoom.label.name.offsetY-w.value.name/4,"text-anchor":"middle","font-size":w.value.name,fill:t.value.style.chart.circles.zoom.label.name.color?t.value.style.chart.circles.zoom.label.name.color:e.unref(r.adaptColorToBackground)(s.value.color),"font-weight":t.value.style.chart.circles.zoom.label.name.bold?"bold":"normal"},e.toDisplayString(s.value.name),9,at),e.createElementVNode("text",{style:{pointerEvents:"none"},opacity:g.value,x:s.value.x,y:s.value.y+w.value.value+t.value.style.chart.circles.zoom.label.value.offsetY,"text-anchor":"middle","font-size":w.value.value,fill:t.value.style.chart.circles.zoom.label.value.color?t.value.style.chart.circles.zoom.label.value.color:e.unref(r.adaptColorToBackground)(s.value.color),"font-weight":t.value.style.chart.circles.zoom.label.value.bold?"bold":"normal"},e.toDisplayString(Ne()),9,ot)]))],64)):e.createCommentVNode("",!0),e.renderSlot(l.$slots,"svg",{svg:{...v.value}},void 0,!0)],14,Re)):e.createCommentVNode("",!0),$.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(De.default,{key:5,config:{type:"circlePack",style:{color:"#CCCCCC"}}})),l.$slots.watermark?(e.openBlock(),e.createElementBlock("div",rt,[e.renderSlot(l.$slots,"watermark",e.normalizeProps(e.guardReactiveProps({isPrinting:e.unref(Z)||e.unref(J)})),void 0,!0)])):e.createCommentVNode("",!0),l.$slots.source?(e.openBlock(),e.createElementBlock("div",{key:7,ref_key:"source",ref:ke,dir:"auto"},[e.renderSlot(l.$slots,"source",{},void 0,!0)],512)):e.createCommentVNode("",!0),$.value?(e.openBlock(),e.createBlock(_e.default,{key:8,hideDetails:"",config:{open:b.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(Ae.DataTable,{key:`table_${G.value}`,colNames:S.value.colNames,head:S.value.head,body:S.value.body,config:S.value.config,title:`${t.value.style.chart.title.text}${t.value.style.chart.title.subtitle.text?` : ${t.value.style.chart.title.subtitle.text}`:""}`,onClose:o[1]||(o[1]=a=>b.value.showTable=!1)},{th:e.withCtx(({th:a})=>[e.createElementVNode("div",{innerHTML:a,style:{display:"flex","align-items":"center"}},null,8,nt)]),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)],46,qe))}},ut=Le._export_sfc(st,[["__scopeId","data-v-0a09e1d3"]]);exports.default=ut;