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
@@ -0,0 +1,657 @@
1
+ import { useCssVars as Xe, computed as w, ref as p, watch as ze, onMounted as Ye, watchEffect as Ze, createElementBlock as b, openBlock as f, unref as y, normalizeStyle as J, normalizeClass as $e, createBlock as M, createCommentVNode as k, renderSlot as x, createSlots as Je, withCtx as _, normalizeProps as U, guardReactiveProps as B, createVNode as Ke, Fragment as K, renderList as Qe, createElementVNode as C, mergeProps as Te, toDisplayString as j, createTextVNode as et, nextTick as Pe } from "vue";
2
+ import { u as tt, c as Ie, t as ie, p as Q, a as lt, o as at, e as ot, b as st, d as nt, h as Oe, f as ce, X as rt, l as ut, G as q, a7 as it, q as ct, r as vt, i as Se } from "./index-CORoDQCP.js";
3
+ import { u as Ne } from "./useNestedProp-BP2kns_4.js";
4
+ import { u as dt, U as ht } from "./usePrinter-B4-qiZp3.js";
5
+ import { _ as ft } from "./Title-Cp_BaOUM.js";
6
+ import { P as yt } from "./PenAndPaper-SlsCQe6h.js";
7
+ import { u as mt } from "./useUserOptionState-BIvW1Kz7.js";
8
+ import { _ as pt } from "./PackageVersion-iMtoLiV5.js";
9
+ import bt from "./vue-ui-accordion-BnQrFX7-.js";
10
+ import { D as gt } from "./DataTable-Rgwt5jLm.js";
11
+ import kt from "./vue-ui-skeleton-CrROSIXs.js";
12
+ import { u as xt } from "./useChartAccessibility-BWojgys7.js";
13
+ import { t as wt, u as Ct } from "./useResponsive-vZgZwV-S.js";
14
+ import { _ as _t } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
+ function Fe(r, c = 0) {
16
+ const h = r.reduce((a, { x: s, r: i }) => Math.min(a, s - i - c), 1 / 0), u = r.reduce((a, { x: s, r: i }) => Math.max(a, s + i + c), -1 / 0), v = r.reduce((a, { y: s, r: i }) => Math.min(a, s - i - c), 1 / 0), o = r.reduce((a, { y: s, r: i }) => Math.max(a, s + i + c), -1 / 0);
17
+ return [h, v, u - h, o - v];
18
+ }
19
+ function zt(r, c, h) {
20
+ const u = r._, v = r.next._, o = u.r + v.r, a = (u.x * v.r + v.x * u.r) / o, s = (u.y * v.r + v.y * u.r) / o;
21
+ return Math.max(Math.abs(a * h), Math.abs(s * c));
22
+ }
23
+ function Me(r, c, h) {
24
+ const u = zt, v = r.length;
25
+ if (!v) return r;
26
+ let o, a, s;
27
+ if (o = r[0], o.x = 0, o.y = 0, !(v > 1) || (a = r[1], o.x = -a.r, a.x = o.r, a.y = 0, !(v > 2))) return r;
28
+ Re(a, o, s = r[2]), o = new ee(o), a = new ee(a), s = new ee(s), o.next = s.previous = a, a.next = o.previous = s, s.next = a.previous = o;
29
+ e: for (let i = 3; i < v; ++i) {
30
+ Re(o._, a._, s = r[i]), s = new ee(s);
31
+ let g = a.next, z = o.previous, R = a._.r, A = o._.r;
32
+ do
33
+ if (R <= A) {
34
+ if (Ae(g._, s._)) {
35
+ a = g, o.next = a, a.previous = o, --i;
36
+ continue e;
37
+ }
38
+ R += g._.r, g = g.next;
39
+ } else {
40
+ if (Ae(z._, s._)) {
41
+ o = z, o.next = a, a.previous = o, --i;
42
+ continue e;
43
+ }
44
+ A += z._.r, z = z.previous;
45
+ }
46
+ while (g !== z.next);
47
+ s.previous = o, s.next = a, o.next = a.previous = a = s;
48
+ let E = u(o, h, c), W;
49
+ for (; (s = s.next) !== a; )
50
+ (W = u(s, h, c)) < E && (o = s, E = W);
51
+ a = o.next;
52
+ }
53
+ return r;
54
+ }
55
+ function Re(r, c, h) {
56
+ const u = r.x - c.x, v = r.y - c.y, o = u * u + v * v;
57
+ if (o) {
58
+ const a = (c.r + h.r) ** 2, s = (r.r + h.r) ** 2;
59
+ if (a > s) {
60
+ const i = (o + s - a) / (2 * o), g = Math.sqrt(Math.max(0, s / o - i * i));
61
+ h.x = r.x - i * u - g * v, h.y = r.y - i * v + g * u;
62
+ } else {
63
+ const i = (o + a - s) / (2 * o), g = Math.sqrt(Math.max(0, a / o - i * i));
64
+ h.x = c.x + i * u - g * v, h.y = c.y + i * v + g * u;
65
+ }
66
+ } else
67
+ h.x = c.x + h.r, h.y = c.y;
68
+ }
69
+ function Ae(r, c) {
70
+ const h = r.r + c.r - 1e-6, u = c.x - r.x, v = c.y - r.y;
71
+ return h > 0 && h * h > u * u + v * v;
72
+ }
73
+ class ee {
74
+ constructor(c) {
75
+ this._ = c, this.next = null, this.previous = null;
76
+ }
77
+ }
78
+ const $t = ["id"], Tt = ["xmlns", "viewBox", "height", "width"], Pt = ["x", "y", "width", "height"], It = ["id"], Ot = ["stop-color"], St = ["stop-color"], Nt = ["stop-color"], Ft = { key: 0 }, Mt = ["x", "y", "width", "height", "stroke", "stroke-width", "fill", "rx", "onMouseenter", "onClick"], Rt = ["x", "y", "width", "height", "stroke", "stroke-width", "fill", "rx"], At = ["opacity", "x", "y", "font-size", "fill", "font-weight"], Et = ["opacity", "x", "y", "font-size", "fill", "font-weight"], Dt = ["cx", "cy", "r", "opacity", "stroke", "stroke-width", "fill"], Lt = {
79
+ key: 0,
80
+ style: { pointerEvents: "none" }
81
+ }, Vt = { key: 1 }, Gt = ["opacity", "x", "y", "font-size", "fill", "font-weight"], Ht = ["opacity", "x", "y", "font-size", "fill", "font-weight"], Ut = {
82
+ key: 6,
83
+ class: "vue-data-ui-watermark"
84
+ }, Bt = ["innerHTML"], jt = {
85
+ __name: "vue-ui-circle-pack",
86
+ props: {
87
+ config: {
88
+ type: Object,
89
+ default() {
90
+ return {};
91
+ }
92
+ },
93
+ dataset: {
94
+ type: Array,
95
+ default() {
96
+ return [];
97
+ }
98
+ }
99
+ },
100
+ emits: ["selectDatapoint"],
101
+ setup(r, { expose: c, emit: h }) {
102
+ Xe((t) => ({
103
+ aa1e4ba6: Le.value,
104
+ "2f469fb7": F.value,
105
+ 23363570: oe.value
106
+ }));
107
+ const u = r, v = h, { vue_ui_circle_pack: o } = tt(), a = w(() => !!u.dataset && u.dataset.length), s = p(Ie()), i = p(null), g = p(null), z = p(null), R = p(0), A = p(0), E = p(0), W = p(null), e = w({
108
+ get: () => fe(),
109
+ set: (t) => t
110
+ }), { svgRef: ve } = xt({ config: e.value.style.chart.title }), {
111
+ userOptionsVisible: te,
112
+ setUserOptionsVisibility: de,
113
+ keepUserOptionState: he
114
+ } = mt({ config: e.value });
115
+ function fe() {
116
+ const t = Ne({
117
+ userConfig: u.config,
118
+ defaultConfig: o
119
+ });
120
+ return t.theme ? {
121
+ ...Ne({
122
+ userConfig: lt.vue_ui_circle_pack[t.theme] || u.config,
123
+ defaultConfig: t
124
+ }),
125
+ customPalette: ie[t.theme] || Q
126
+ } : t;
127
+ }
128
+ ze(() => u.config, (t) => {
129
+ e.value = fe(), te.value = !e.value.userOptions.showOnChartHover, ae(), R.value += 1, A.value += 1, D.value.showTable = e.value.table.show;
130
+ }, { deep: !0 });
131
+ const { isPrinting: ye, isImaging: me, generatePdf: pe, generateImage: be } = dt({
132
+ elementId: `vue-ui-circle-pack_${s.value}`,
133
+ fileName: e.value.style.chart.title.text || "vue-ui-circle-pack"
134
+ }), Ee = w(() => e.value.userOptions.show && !e.value.style.chart.title.text), D = p({
135
+ showTable: e.value.table.show
136
+ }), ge = p(null), $ = p({ h: 10, w: 10 }), le = p(0), S = p([0, 0, 100, 100]);
137
+ async function ae() {
138
+ at(u.dataset) && ot({
139
+ componentName: "VueUiCirclePack",
140
+ type: "dataset"
141
+ }), N.value = await Me(X.value), T.value = Fe(N.value, 1).join(" ");
142
+ const t = wt(() => {
143
+ const { width: n, height: l, heightTitle: m, heightNoTitle: O } = Ct({
144
+ chart: i.value,
145
+ title: g.value,
146
+ noTitle: z.value
147
+ }), re = n || 10, ue = l && l > 10 ? l : 10;
148
+ le.value = e.value.style.chart.title.text ? m : O, requestAnimationFrame(() => {
149
+ $.value.w = re, $.value.h = ue - le.value, Pe(async () => {
150
+ const qe = X.value.map((We) => ({ ...We }));
151
+ N.value = await Me(qe, $.value.h, $.value.w), S.value = Fe(N.value, 1), T.value = S.value.join(" ");
152
+ });
153
+ });
154
+ });
155
+ ge.value = new ResizeObserver(t), ge.value.observe(i.value.parentNode);
156
+ }
157
+ function ke(t, n) {
158
+ return n === 0 ? t : ke(n, t % n);
159
+ }
160
+ function De(t, n) {
161
+ const l = ke(t, n), m = t / l, O = n / l;
162
+ return `${m}/${O}`;
163
+ }
164
+ const Le = w(() => De($.value.w, $.value.h - le.value));
165
+ Ye(ae), ze(() => u.dataset, async (t) => {
166
+ await ae();
167
+ }, { deep: !0 });
168
+ const Ve = w(() => st(e.value.customPalette)), X = w(() => u.dataset.map((t, n) => {
169
+ const l = nt(t.color) || Ve.value[n] || ie[e.value.theme || "default"][n % ie[e.value.theme || "default"].length] || Q[n] || Q[n % Q.length];
170
+ return {
171
+ ...t,
172
+ r: t.value,
173
+ id: Ie(),
174
+ color: l
175
+ };
176
+ }).filter((t) => ![null, void 0, 1 / 0, -1 / 0].includes(t.value))), N = p([]), T = p("0 0 100 100"), L = w(() => Math.max(...N.value.map((t) => t.r)));
177
+ function xe(t, n) {
178
+ return n / L.value * t;
179
+ }
180
+ const d = p(null);
181
+ function Ge(t) {
182
+ e.value.style.chart.circles.zoom.show && (d.value = t);
183
+ }
184
+ const F = w(() => d.value ? d.value.r : 0), oe = w(() => I.value ? F.value : d.value ? d.value.r > S.value[3] / 6 * e.value.style.chart.circles.zoom.zoomRatio ? d.value.r : S.value[3] / 6 * e.value.style.chart.circles.zoom.zoomRatio : 0), P = p(0), He = w(() => ({
185
+ pointerEvents: "none",
186
+ opacity: P.value,
187
+ filter: `drop-shadow(0px 0px 6px ${Oe(d.value.color, e.value.style.chart.circles.zoom.shadowForce)})`
188
+ })), V = p(F.value);
189
+ Ze(() => {
190
+ V.value = F.value, P.value = 0;
191
+ let t = null;
192
+ function n(l) {
193
+ t || (t = l);
194
+ const m = (l - t) / e.value.style.chart.circles.zoom.animationFrameMs;
195
+ m < 1 ? (V.value = F.value + (oe.value - F.value) * m, P.value = 0 + e.value.style.chart.circles.zoom.opacity * m, requestAnimationFrame(n)) : (V.value = oe.value, P.value = e.value.style.chart.circles.zoom.opacity);
196
+ }
197
+ requestAnimationFrame(n);
198
+ });
199
+ const G = w(() => ({
200
+ name: e.value.style.chart.circles.zoom.label.name.fontSize * S.value[3] / 300,
201
+ value: e.value.style.chart.circles.zoom.label.value.fontSize * S.value[3] / 300
202
+ }));
203
+ function se(t) {
204
+ return Se(
205
+ e.value.style.chart.circles.labels.value.formatter,
206
+ t.value,
207
+ ce({
208
+ p: e.value.style.chart.circles.labels.value.prefix,
209
+ v: t.value,
210
+ s: e.value.style.chart.circles.labels.value.suffix,
211
+ r: e.value.style.chart.circles.labels.value.rounding
212
+ })
213
+ );
214
+ }
215
+ function Ue() {
216
+ return Se(
217
+ e.value.style.chart.circles.zoom.label.value.formatter,
218
+ d.value.value,
219
+ ce({
220
+ p: e.value.style.chart.circles.zoom.label.value.prefix,
221
+ v: d.value.value,
222
+ s: e.value.style.chart.circles.zoom.label.value.suffix,
223
+ r: e.value.style.chart.circles.zoom.label.value.rounding
224
+ })
225
+ );
226
+ }
227
+ function we(t) {
228
+ if (!t)
229
+ return 0;
230
+ const n = t.r / se(t).length * (se(t).length === 1 ? 1 : 2);
231
+ return Math.min(t.r / 2.5, n);
232
+ }
233
+ const H = p(!1);
234
+ function Be(t) {
235
+ H.value = t, E.value += 1;
236
+ }
237
+ const I = p(!1);
238
+ function ne() {
239
+ I.value = !I.value;
240
+ }
241
+ const Y = w(() => {
242
+ const t = X.value.map((l) => ({
243
+ name: l.name,
244
+ value: l.value,
245
+ color: l.color
246
+ })).toSorted((l, m) => m.value - l.value), n = t.map((l) => l.value);
247
+ return { head: t, body: n };
248
+ });
249
+ function Ce() {
250
+ Pe(() => {
251
+ const t = Y.value.head.map((m, O) => [[
252
+ m.name
253
+ ], [Y.value.body[O]]]), n = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], [e.value.table.columnNames.value]]].concat(t), l = ct(n);
254
+ vt({ csvContent: l, title: e.value.style.chart.title.text || "vue-ui-circle-pack" });
255
+ });
256
+ }
257
+ const Z = w(() => {
258
+ const t = [
259
+ e.value.table.columnNames.datapoint,
260
+ e.value.table.columnNames.value
261
+ ], n = Y.value.head.map((O, re) => {
262
+ const ue = ce({
263
+ p: e.value.style.chart.circles.labels.value.prefix,
264
+ v: Y.value.body[re],
265
+ s: e.value.style.chart.circles.labels.value.suffix,
266
+ r: e.value.style.chart.circles.labels.value.rounding
267
+ });
268
+ return [
269
+ {
270
+ color: O.color,
271
+ name: O.name
272
+ },
273
+ ue
274
+ ];
275
+ }), l = {
276
+ th: {
277
+ backgroundColor: e.value.table.th.backgroundColor,
278
+ color: e.value.table.th.color,
279
+ outline: e.value.table.th.outline
280
+ },
281
+ td: {
282
+ backgroundColor: e.value.table.td.backgroundColor,
283
+ color: e.value.table.td.color,
284
+ outline: e.value.table.td.outline
285
+ },
286
+ breakpoint: e.value.table.responsiveBreakpoint
287
+ };
288
+ return {
289
+ colNames: [
290
+ e.value.table.columnNames.datapoint,
291
+ e.value.table.columnNames.value
292
+ ],
293
+ head: t,
294
+ body: n,
295
+ config: l
296
+ };
297
+ });
298
+ function _e() {
299
+ D.value.showTable = !D.value.showTable;
300
+ }
301
+ function je() {
302
+ return X.value;
303
+ }
304
+ return c({
305
+ getData: je,
306
+ generateCsv: Ce,
307
+ generatePdf: pe,
308
+ generateImage: be,
309
+ toggleTable: _e,
310
+ toggleAnnotator: ne
311
+ }), (t, n) => (f(), b("div", {
312
+ id: `vue-ui-circle-pack_${s.value}`,
313
+ class: $e(`vue-ui-circle-pack ${H.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
314
+ ref_key: "circlePackChart",
315
+ ref: i,
316
+ style: J(`font-family:${e.value.style.fontFamily};text-align:center;background:${e.value.style.chart.backgroundColor}`),
317
+ onMouseenter: n[2] || (n[2] = () => y(de)(!0)),
318
+ onMouseleave: n[3] || (n[3] = () => y(de)(!1))
319
+ }, [
320
+ e.value.userOptions.buttons.annotator ? (f(), M(yt, {
321
+ key: 0,
322
+ svgRef: y(ve),
323
+ backgroundColor: e.value.style.chart.backgroundColor,
324
+ color: e.value.style.chart.color,
325
+ active: I.value,
326
+ scale: L.value / 100,
327
+ onClose: ne
328
+ }, null, 8, ["svgRef", "backgroundColor", "color", "active", "scale"])) : k("", !0),
329
+ x(t.$slots, "userConfig", {}, void 0, !0),
330
+ Ee.value ? (f(), b("div", {
331
+ key: 1,
332
+ ref_key: "noTitle",
333
+ ref: z,
334
+ class: "vue-data-ui-no-title-space",
335
+ style: "height:36px; width: 100%;background:transparent"
336
+ }, null, 512)) : k("", !0),
337
+ e.value.style.chart.title.text ? (f(), b("div", {
338
+ key: 2,
339
+ ref_key: "chartTitle",
340
+ ref: g,
341
+ style: "width:100%;background:transparent;padding-bottom:12px"
342
+ }, [
343
+ (f(), M(ft, {
344
+ key: `title_${R.value}`,
345
+ config: {
346
+ title: {
347
+ cy: "donut-div-title",
348
+ ...e.value.style.chart.title
349
+ },
350
+ subtitle: {
351
+ cy: "donut-div-subtitle",
352
+ ...e.value.style.chart.title.subtitle
353
+ }
354
+ }
355
+ }, null, 8, ["config"]))
356
+ ], 512)) : k("", !0),
357
+ e.value.userOptions.show && a.value && (y(he) || y(te)) ? (f(), M(ht, {
358
+ ref: "details",
359
+ key: `user_option_${E.value}`,
360
+ backgroundColor: e.value.style.chart.backgroundColor,
361
+ color: e.value.style.chart.color,
362
+ isPrinting: y(ye),
363
+ isImaging: y(me),
364
+ uid: s.value,
365
+ hasTooltip: !1,
366
+ hasLabel: !1,
367
+ hasPdf: e.value.userOptions.buttons.pdf,
368
+ hasImg: e.value.userOptions.buttons.img,
369
+ hasXls: e.value.userOptions.buttons.csv,
370
+ hasTable: e.value.userOptions.buttons.table,
371
+ hasFullscreen: e.value.userOptions.buttons.fullscreen,
372
+ isFullscreen: H.value,
373
+ chartElement: i.value,
374
+ position: e.value.userOptions.position,
375
+ titles: { ...e.value.userOptions.buttonTitles },
376
+ hasAnnotator: e.value.userOptions.buttons.annotator,
377
+ isAnnotation: I.value,
378
+ onToggleFullscreen: Be,
379
+ onGeneratePdf: y(pe),
380
+ onGenerateCsv: Ce,
381
+ onGenerateImage: y(be),
382
+ onToggleTable: _e,
383
+ onToggleAnnotator: ne,
384
+ style: J({
385
+ visibility: y(he) ? y(te) ? "visible" : "hidden" : "visible"
386
+ })
387
+ }, Je({ _: 2 }, [
388
+ t.$slots.menuIcon ? {
389
+ name: "menuIcon",
390
+ fn: _(({ isOpen: l, color: m }) => [
391
+ x(t.$slots, "menuIcon", U(B({ isOpen: l, color: m })), void 0, !0)
392
+ ]),
393
+ key: "0"
394
+ } : void 0,
395
+ t.$slots.optionPdf ? {
396
+ name: "optionPdf",
397
+ fn: _(() => [
398
+ x(t.$slots, "optionPdf", {}, void 0, !0)
399
+ ]),
400
+ key: "1"
401
+ } : void 0,
402
+ t.$slots.optionCsv ? {
403
+ name: "optionCsv",
404
+ fn: _(() => [
405
+ x(t.$slots, "optionCsv", {}, void 0, !0)
406
+ ]),
407
+ key: "2"
408
+ } : void 0,
409
+ t.$slots.optionImg ? {
410
+ name: "optionImg",
411
+ fn: _(() => [
412
+ x(t.$slots, "optionImg", {}, void 0, !0)
413
+ ]),
414
+ key: "3"
415
+ } : void 0,
416
+ t.$slots.optionTable ? {
417
+ name: "optionTable",
418
+ fn: _(() => [
419
+ x(t.$slots, "optionTable", {}, void 0, !0)
420
+ ]),
421
+ key: "4"
422
+ } : void 0,
423
+ t.$slots.optionFullscreen ? {
424
+ name: "optionFullscreen",
425
+ fn: _(({ toggleFullscreen: l, isFullscreen: m }) => [
426
+ x(t.$slots, "optionFullscreen", U(B({ toggleFullscreen: l, isFullscreen: m })), void 0, !0)
427
+ ]),
428
+ key: "5"
429
+ } : void 0,
430
+ t.$slots.optionAnnotator ? {
431
+ name: "optionAnnotator",
432
+ fn: _(({ toggleAnnotator: l, isAnnotator: m }) => [
433
+ x(t.$slots, "optionAnnotator", U(B({ toggleAnnotator: l, isAnnotator: m })), void 0, !0)
434
+ ]),
435
+ key: "6"
436
+ } : void 0
437
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "chartElement", "position", "titles", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : k("", !0),
438
+ a.value ? (f(), b("svg", {
439
+ key: 4,
440
+ ref_key: "svgRef",
441
+ ref: ve,
442
+ xmlns: y(rt),
443
+ viewBox: T.value,
444
+ height: $.value.h,
445
+ width: $.value.w,
446
+ class: $e({ "vue-data-ui-fullscreen--on": H.value, "vue-data-ui-fulscreen--off": !H.value }),
447
+ style: J(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color};background:${e.value.style.chart.backgroundColor};`)
448
+ }, [
449
+ Ke(pt),
450
+ t.$slots["chart-background"] ? (f(), b("foreignObject", {
451
+ key: 0,
452
+ x: T.value.x,
453
+ y: T.value.y,
454
+ width: T.value.width,
455
+ height: T.value.height,
456
+ style: {
457
+ pointerEvents: "none"
458
+ }
459
+ }, [
460
+ x(t.$slots, "chart-background", {}, void 0, !0)
461
+ ], 8, Pt)) : k("", !0),
462
+ (f(!0), b(K, null, Qe(N.value, (l) => (f(), b(K, null, [
463
+ C("defs", null, [
464
+ C("radialGradient", {
465
+ id: l.id,
466
+ fy: "30%"
467
+ }, [
468
+ C("stop", {
469
+ offset: "10%",
470
+ "stop-color": y(ut)(l.color, e.value.style.chart.circles.gradient.intensity / 100)
471
+ }, null, 8, Ot),
472
+ C("stop", {
473
+ offset: "90%",
474
+ "stop-color": y(Oe)(l.color, 0.1)
475
+ }, null, 8, St),
476
+ C("stop", {
477
+ offset: "100%",
478
+ "stop-color": l.color
479
+ }, null, 8, Nt)
480
+ ], 8, It)
481
+ ]),
482
+ t.$slots.pattern ? (f(), b("g", Ft, [
483
+ C("defs", null, [
484
+ x(t.$slots, "pattern", Te({ ref_for: !0 }, { ...l, patternId: `pattern_${s.value}_${l.id}` }), void 0, !0)
485
+ ])
486
+ ])) : k("", !0),
487
+ C("rect", {
488
+ x: l.x - l.r,
489
+ y: l.y - l.r,
490
+ width: l.r * 2,
491
+ height: l.r * 2,
492
+ stroke: e.value.style.chart.circles.stroke,
493
+ "stroke-width": e.value.style.chart.circles.strokeWidth * L.value / 100,
494
+ fill: e.value.style.chart.circles.gradient.show ? `url(#${l.id})` : l.color,
495
+ rx: l.r,
496
+ onMouseenter: () => Ge(l),
497
+ onMouseout: n[0] || (n[0] = (m) => d.value = null),
498
+ onClick: (m) => v("selectDatapoint", l)
499
+ }, null, 40, Mt),
500
+ t.$slots.pattern ? (f(), b("rect", {
501
+ key: 1,
502
+ x: l.x - l.r,
503
+ y: l.y - l.r,
504
+ width: l.r * 2,
505
+ height: l.r * 2,
506
+ stroke: e.value.style.chart.circles.stroke,
507
+ "stroke-width": e.value.style.chart.circles.strokeWidth * L.value / 100,
508
+ fill: `url(#pattern_${s.value}_${l.id})`,
509
+ rx: l.r,
510
+ style: {
511
+ pointerEvents: "none"
512
+ }
513
+ }, null, 8, Rt)) : k("", !0),
514
+ t.$slots["data-label"] ? x(t.$slots, "data-label", Te({
515
+ key: 2,
516
+ ref_for: !0
517
+ }, { ...l, createTSpans: y(it), fontSize: { name: l.r / 3 * e.value.style.chart.circles.labels.name.fontSizeRatio, value: we(l) * e.value.style.chart.circles.labels.value.fontSizeRatio }, color: e.value.style.chart.circles.labels.name.color ? e.value.style.chart.circles.labels.name.color : y(q)(l.color) }), void 0, !0) : (f(), b(K, { key: 3 }, [
518
+ e.value.style.chart.circles.labels.name.show && l.name ? (f(), b("text", {
519
+ key: 0,
520
+ style: {
521
+ pointerEvents: "none",
522
+ transition: "opacity 0.2s ease-in-out"
523
+ },
524
+ opacity: d.value && !I.value ? 0.2 : 1,
525
+ x: l.x,
526
+ y: l.y + xe(l.r, e.value.style.chart.circles.labels.name.offsetY) - l.r / 10,
527
+ "font-size": l.r / 3 * e.value.style.chart.circles.labels.name.fontSizeRatio,
528
+ fill: e.value.style.chart.circles.labels.name.color ? e.value.style.chart.circles.labels.name.color : y(q)(l.color),
529
+ "font-weight": e.value.style.chart.circles.labels.name.bold ? "bold" : "normal",
530
+ "text-anchor": "middle"
531
+ }, j(l.name), 9, At)) : k("", !0),
532
+ e.value.style.chart.circles.labels.value.show ? (f(), b("text", {
533
+ key: 1,
534
+ style: {
535
+ pointerEvents: "none",
536
+ transition: "opacity 0.2s ease-in-out"
537
+ },
538
+ opacity: d.value && !I.value ? 0.2 : 1,
539
+ x: l.x,
540
+ y: l.y + xe(l.r, e.value.style.chart.circles.labels.value.offsetY) + l.r / 2.5,
541
+ "font-size": we(l) * e.value.style.chart.circles.labels.value.fontSizeRatio,
542
+ fill: e.value.style.chart.circles.labels.value.color ? e.value.style.chart.circles.labels.value.color : y(q)(l.color),
543
+ "font-weight": e.value.style.chart.circles.labels.value.bold ? "bold" : "normal",
544
+ "text-anchor": "middle"
545
+ }, j(se(l)), 9, Et)) : k("", !0)
546
+ ], 64))
547
+ ], 64))), 256)),
548
+ d.value && e.value.style.chart.circles.zoom.show && !I.value ? (f(), b(K, { key: 1 }, [
549
+ C("circle", {
550
+ style: J(He.value),
551
+ cx: d.value.x,
552
+ cy: d.value.y,
553
+ r: V.value,
554
+ opacity: P.value,
555
+ stroke: e.value.style.chart.circles.stroke,
556
+ "stroke-width": e.value.style.chart.circles.strokeWidth * L.value / 100,
557
+ fill: e.value.style.chart.circles.gradient.show ? `url(#${d.value.id})` : d.value.color
558
+ }, null, 12, Dt),
559
+ t.$slots["zoom-label"] ? (f(), b("g", Lt, [
560
+ x(t.$slots, "zoom-label", U(B({ ...d.value, zoomOpacity: P.value, currentRadius: V.value, fontSize: G.value })), void 0, !0)
561
+ ])) : (f(), b("g", Vt, [
562
+ C("text", {
563
+ style: {
564
+ pointerEvents: "none"
565
+ },
566
+ opacity: P.value,
567
+ x: d.value.x,
568
+ y: d.value.y + e.value.style.chart.circles.zoom.label.name.offsetY - G.value.name / 4,
569
+ "text-anchor": "middle",
570
+ "font-size": G.value.name,
571
+ fill: e.value.style.chart.circles.zoom.label.name.color ? e.value.style.chart.circles.zoom.label.name.color : y(q)(d.value.color),
572
+ "font-weight": e.value.style.chart.circles.zoom.label.name.bold ? "bold" : "normal"
573
+ }, j(d.value.name), 9, Gt),
574
+ C("text", {
575
+ style: {
576
+ pointerEvents: "none"
577
+ },
578
+ opacity: P.value,
579
+ x: d.value.x,
580
+ y: d.value.y + G.value.value + e.value.style.chart.circles.zoom.label.value.offsetY,
581
+ "text-anchor": "middle",
582
+ "font-size": G.value.value,
583
+ fill: e.value.style.chart.circles.zoom.label.value.color ? e.value.style.chart.circles.zoom.label.value.color : y(q)(d.value.color),
584
+ "font-weight": e.value.style.chart.circles.zoom.label.value.bold ? "bold" : "normal"
585
+ }, j(Ue()), 9, Ht)
586
+ ]))
587
+ ], 64)) : k("", !0),
588
+ x(t.$slots, "svg", {
589
+ svg: { ...T.value }
590
+ }, void 0, !0)
591
+ ], 14, Tt)) : k("", !0),
592
+ a.value ? k("", !0) : (f(), M(kt, {
593
+ key: 5,
594
+ config: {
595
+ type: "circlePack",
596
+ style: {
597
+ color: "#CCCCCC"
598
+ }
599
+ }
600
+ })),
601
+ t.$slots.watermark ? (f(), b("div", Ut, [
602
+ x(t.$slots, "watermark", U(B({ isPrinting: y(ye) || y(me) })), void 0, !0)
603
+ ])) : k("", !0),
604
+ t.$slots.source ? (f(), b("div", {
605
+ key: 7,
606
+ ref_key: "source",
607
+ ref: W,
608
+ dir: "auto"
609
+ }, [
610
+ x(t.$slots, "source", {}, void 0, !0)
611
+ ], 512)) : k("", !0),
612
+ a.value ? (f(), M(bt, {
613
+ key: 8,
614
+ hideDetails: "",
615
+ config: {
616
+ open: D.value.showTable,
617
+ maxHeight: 1e4,
618
+ body: {
619
+ backgroundColor: e.value.style.chart.backgroundColor,
620
+ color: e.value.style.chart.color
621
+ },
622
+ head: {
623
+ backgroundColor: e.value.style.chart.backgroundColor,
624
+ color: e.value.style.chart.color
625
+ }
626
+ }
627
+ }, {
628
+ content: _(() => [
629
+ (f(), M(gt, {
630
+ key: `table_${A.value}`,
631
+ colNames: Z.value.colNames,
632
+ head: Z.value.head,
633
+ body: Z.value.body,
634
+ config: Z.value.config,
635
+ title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
636
+ onClose: n[1] || (n[1] = (l) => D.value.showTable = !1)
637
+ }, {
638
+ th: _(({ th: l }) => [
639
+ C("div", {
640
+ innerHTML: l,
641
+ style: { display: "flex", "align-items": "center" }
642
+ }, null, 8, Bt)
643
+ ]),
644
+ td: _(({ td: l }) => [
645
+ et(j(l.name || l), 1)
646
+ ]),
647
+ _: 1
648
+ }, 8, ["colNames", "head", "body", "config", "title"]))
649
+ ]),
650
+ _: 1
651
+ }, 8, ["config"])) : k("", !0)
652
+ ], 46, $t));
653
+ }
654
+ }, nl = /* @__PURE__ */ _t(jt, [["__scopeId", "data-v-3a9df29d"]]);
655
+ export {
656
+ nl as default
657
+ };
@@ -1,6 +1,6 @@
1
1
  import { ref as c, computed as _, onMounted as R, onBeforeUnmount as S, createElementBlock as l, createCommentVNode as o, openBlock as i, normalizeStyle as E, unref as m, createElementVNode as r, normalizeClass as C, toDisplayString as p, nextTick as b } from "vue";
2
- import { u as F } from "./useNestedProp-CEMeoM-f.js";
3
- import { u as L, c as z, X as O, s as I } from "./index-DUnEDLbc.js";
2
+ import { u as F } from "./useNestedProp-BP2kns_4.js";
3
+ import { u as L, c as z, X as O, s as I } from "./index-CORoDQCP.js";
4
4
  import { _ as B } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
5
  const N = ["xmlns", "height", "width"], T = {
6
6
  id: "follower",