vue-data-ui 2.4.89 → 2.5.0

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 (187) hide show
  1. package/README.md +8 -1
  2. package/dist/{Arrow-CbP9kLxJ.cjs → Arrow-CDKNBZrn.cjs} +1 -1
  3. package/dist/{Arrow-CuAfInZx.js → Arrow-DO1Kr0tq.js} +1 -1
  4. package/dist/{BaseIcon-C8eZuK3O.cjs → BaseIcon-BKYwMJ4Y.cjs} +1 -1
  5. package/dist/{BaseIcon-BpNWrQFd.js → BaseIcon-DVY6e_YL.js} +4 -3
  6. package/dist/{DataTable-CBJXWv2y.js → DataTable-D4_TjSBJ.js} +2 -2
  7. package/dist/{DataTable-D-lEfCvI.cjs → DataTable-ZowHAjXC.cjs} +1 -1
  8. package/dist/{Legend-BHqhIxpn.cjs → Legend-CcoLuZn0.cjs} +1 -1
  9. package/dist/{Legend-BSpbp1BZ.js → Legend-K7NRkzGf.js} +2 -2
  10. package/dist/PackageVersion-Cun_qdX7.cjs +1 -0
  11. package/dist/{PackageVersion-DtBpSOiQ.js → PackageVersion-DKr8jVlI.js} +1 -1
  12. package/dist/{PenAndPaper-B2XkoPXE.js → PenAndPaper-CurhQVkh.js} +3 -3
  13. package/dist/{PenAndPaper-JJPSlM7l.cjs → PenAndPaper-u46MyY7W.cjs} +1 -1
  14. package/dist/{Shape-Do_AzV1G.cjs → Shape-B6dlN2je.cjs} +1 -1
  15. package/dist/{Shape-BOPYNx7w.js → Shape-C4LyHNQ3.js} +1 -1
  16. package/dist/{Slicer-Ztz1Ij0w.cjs → Slicer-BIzpsKb9.cjs} +1 -1
  17. package/dist/{Slicer-ChE3bif9.js → Slicer-CP2dQhd5.js} +2 -2
  18. package/dist/{Title-ccoiJ0mq.js → Title-C4aoNP1T.js} +1 -1
  19. package/dist/{Title-0PbYWvbk.cjs → Title-bDp_4dQV.cjs} +1 -1
  20. package/dist/{Tooltip-DvT_JgqK.js → Tooltip-CG6ZX21C.js} +1 -1
  21. package/dist/{Tooltip-yfpr967Z.cjs → Tooltip-fEuHWstj.cjs} +1 -1
  22. package/dist/documentation/installation.md +2 -1
  23. package/dist/index-CHCA909R.cjs +9 -0
  24. package/dist/{index-CbMgQMOZ.js → index-DAAFXQJj.js} +709 -542
  25. package/dist/style.css +1 -1
  26. package/dist/types/vue-data-ui.d.cts +1140 -384
  27. package/dist/types/vue-data-ui.d.ts +1140 -384
  28. package/dist/{useNestedProp-BbHX6tgE.cjs → useNestedProp--1nKK7i0.cjs} +1 -1
  29. package/dist/{useNestedProp-vYrmxXEi.js → useNestedProp-DMtJzMiX.js} +1 -1
  30. package/dist/{usePrinter-sMoxYV4s.js → usePrinter-BvlefWMW.js} +1 -1
  31. package/dist/{usePrinter-CCvLCahd.cjs → usePrinter-xicwiw8r.cjs} +1 -1
  32. package/dist/{vue-data-ui-cjdjZcIN.js → vue-data-ui-59LZYiyy.js} +68 -66
  33. package/dist/vue-data-ui-DfZfDAuq.cjs +9 -0
  34. package/dist/vue-data-ui.cjs +1 -1
  35. package/dist/vue-data-ui.js +59 -58
  36. package/dist/{vue-ui-3d-bar-BCUFEN3E.js → vue-ui-3d-bar-Bm56SoLy.js} +41 -41
  37. package/dist/{vue-ui-3d-bar-BIxPk-3O.cjs → vue-ui-3d-bar-CZlGwiDq.cjs} +11 -11
  38. package/dist/{vue-ui-accordion-D0YEkQP_.cjs → vue-ui-accordion-B4PyxVUm.cjs} +1 -1
  39. package/dist/{vue-ui-accordion-DXPXhPPW.js → vue-ui-accordion-B67N9Oo8.js} +3 -3
  40. package/dist/vue-ui-age-pyramid-D9DN4SYa.cjs +1 -0
  41. package/dist/{vue-ui-age-pyramid-Bu2gLwi_.js → vue-ui-age-pyramid-DCMUbrYc.js} +12 -12
  42. package/dist/{vue-ui-annotator-np4TLsbB.cjs → vue-ui-annotator-CNrWYokB.cjs} +1 -1
  43. package/dist/{vue-ui-annotator-rRlHgjug.js → vue-ui-annotator-MuRFw529.js} +1 -1
  44. package/dist/{vue-ui-bullet-BG4ZoJWg.js → vue-ui-bullet-Bojb2p0l.js} +42 -42
  45. package/dist/vue-ui-bullet-DJjM56tB.cjs +34 -0
  46. package/dist/{vue-ui-candlestick-zm-vNhJF.cjs → vue-ui-candlestick-B3J5_Q_K.cjs} +2 -2
  47. package/dist/{vue-ui-candlestick-Bs_FB1xf.js → vue-ui-candlestick-DXMPVZ0k.js} +13 -13
  48. package/dist/{vue-ui-carousel-table-D73qjY94.js → vue-ui-carousel-table-CQAWsXet.js} +26 -26
  49. package/dist/vue-ui-carousel-table-WNkO6kVE.cjs +1 -0
  50. package/dist/{vue-ui-chestnut-BKka1suh.js → vue-ui-chestnut-CChxV7D2.js} +11 -11
  51. package/dist/{vue-ui-chestnut-BZ7WKn-P.cjs → vue-ui-chestnut-DUHyQSIc.cjs} +2 -2
  52. package/dist/vue-ui-circle-pack-Bo9NTyE5.cjs +1 -0
  53. package/dist/vue-ui-circle-pack-feW9MRNc.js +639 -0
  54. package/dist/{vue-ui-cursor-CKQ7lIEU.js → vue-ui-cursor-CTNCoeO1.js} +2 -2
  55. package/dist/{vue-ui-cursor-BvDKJ-EE.cjs → vue-ui-cursor-Y79oTXbN.cjs} +1 -1
  56. package/dist/{vue-ui-dashboard-CLDULZmZ.js → vue-ui-dashboard-CTk7cXk3.js} +2 -2
  57. package/dist/{vue-ui-dashboard-CU18bFKg.cjs → vue-ui-dashboard-ht0wjO32.cjs} +1 -1
  58. package/dist/{vue-ui-digits-_Q3BPnPQ.js → vue-ui-digits-CRfqQd-4.js} +2 -2
  59. package/dist/{vue-ui-digits-ZsDxljaT.cjs → vue-ui-digits-CSzsY3pv.cjs} +1 -1
  60. package/dist/{vue-ui-donut-uSvi7mes.js → vue-ui-donut-D6U1P8MA.js} +15 -15
  61. package/dist/vue-ui-donut-DhQt8Zro.cjs +1 -0
  62. package/dist/{vue-ui-donut-evolution-DeaRL3Qp.js → vue-ui-donut-evolution-BSk3uqC8.js} +42 -42
  63. package/dist/vue-ui-donut-evolution-ZOfJ13fG.cjs +1 -0
  64. package/dist/vue-ui-dumbbell-Cc2vQuKa.cjs +9 -0
  65. package/dist/{vue-ui-dumbbell-DxOC8F_T.js → vue-ui-dumbbell-DwNJ0t9t.js} +12 -12
  66. package/dist/vue-ui-flow-BbKP10ov.cjs +1 -0
  67. package/dist/{vue-ui-flow-Cli1Nia2.js → vue-ui-flow-CQisc_LK.js} +11 -11
  68. package/dist/{vue-ui-funnel-DUSetrwZ.js → vue-ui-funnel-DA82mX-l.js} +12 -12
  69. package/dist/vue-ui-funnel-DybxnhPr.cjs +1 -0
  70. package/dist/vue-ui-galaxy-C-hNndez.cjs +1 -0
  71. package/dist/{vue-ui-galaxy-B6chdxw9.js → vue-ui-galaxy-Co-39JiJ.js} +29 -29
  72. package/dist/{vue-ui-gauge-BWsStiRt.js → vue-ui-gauge-TvTF5LS6.js} +46 -46
  73. package/dist/vue-ui-gauge-gWdl5oo1.cjs +1 -0
  74. package/dist/{vue-ui-gizmo-CIZXKQaP.cjs → vue-ui-gizmo-BQoNUgtQ.cjs} +1 -1
  75. package/dist/{vue-ui-gizmo-BwPZP3S1.js → vue-ui-gizmo-KnX0YMoX.js} +3 -3
  76. package/dist/vue-ui-heatmap-B5xnkUqI.cjs +1 -0
  77. package/dist/{vue-ui-heatmap-DPO0-7Kr.js → vue-ui-heatmap-BYhGn41t.js} +32 -32
  78. package/dist/{vue-ui-history-plot-Bn1Pt_Ti.js → vue-ui-history-plot-8n3FPjHp.js} +33 -33
  79. package/dist/vue-ui-history-plot-BFZOwwn-.cjs +1 -0
  80. package/dist/{vue-ui-kpi-DyI2-86Q.cjs → vue-ui-kpi-BRrkDdp5.cjs} +1 -1
  81. package/dist/{vue-ui-kpi-BbeBozJ_.js → vue-ui-kpi-r9o6PDR7.js} +3 -3
  82. package/dist/{vue-ui-mini-loader-DkkBYJla.cjs → vue-ui-mini-loader-BXBmMZE5.cjs} +1 -1
  83. package/dist/{vue-ui-mini-loader-BbXkCdaA.js → vue-ui-mini-loader-z5Tjy9_F.js} +2 -2
  84. package/dist/vue-ui-molecule-BS-uVTx6.cjs +1 -0
  85. package/dist/{vue-ui-molecule-b4smncqZ.js → vue-ui-molecule-Hmix0fg_.js} +13 -13
  86. package/dist/vue-ui-mood-radar-D3bJvAUA.cjs +1 -0
  87. package/dist/{vue-ui-mood-radar-BdT3nuEz.js → vue-ui-mood-radar-cQQYzxOe.js} +13 -13
  88. package/dist/{vue-ui-nested-donuts-DttOstux.js → vue-ui-nested-donuts-BQ-orCsy.js} +14 -14
  89. package/dist/{vue-ui-nested-donuts-ko1-nRO2.cjs → vue-ui-nested-donuts-CJoByLIN.cjs} +2 -2
  90. package/dist/{vue-ui-onion-CFjFt2g0.cjs → vue-ui-onion-2gpWMiK3.cjs} +2 -2
  91. package/dist/{vue-ui-onion-TYSsqogk.js → vue-ui-onion-DMdgBAGm.js} +13 -13
  92. package/dist/{vue-ui-parallel-coordinate-plot-DzBoNAa1.cjs → vue-ui-parallel-coordinate-plot-BkksCptE.cjs} +2 -2
  93. package/dist/{vue-ui-parallel-coordinate-plot-CAqhUHot.js → vue-ui-parallel-coordinate-plot-CORjvdpu.js} +35 -35
  94. package/dist/{vue-ui-quadrant-BQH_Xifg.js → vue-ui-quadrant-C7z-xan4.js} +14 -14
  95. package/dist/vue-ui-quadrant-DwLVQDkC.cjs +1 -0
  96. package/dist/{vue-ui-quick-chart-CULnpCgG.js → vue-ui-quick-chart-BNBYa1qm.js} +9 -9
  97. package/dist/{vue-ui-quick-chart-Bz-nNd-y.cjs → vue-ui-quick-chart-DQ_0L2k8.cjs} +1 -1
  98. package/dist/{vue-ui-radar-Cx-rxEMq.js → vue-ui-radar-BJalnvQ0.js} +14 -14
  99. package/dist/vue-ui-radar-DMug3I3r.cjs +1 -0
  100. package/dist/{vue-ui-rating-BKQNJZ0P.cjs → vue-ui-rating-CAtmkCip.cjs} +1 -1
  101. package/dist/{vue-ui-rating-F9PTlU7Q.js → vue-ui-rating-YrpteNHP.js} +2 -2
  102. package/dist/vue-ui-relation-circle-6WgpxOdi.cjs +1 -0
  103. package/dist/{vue-ui-relation-circle-DegxFhlA.js → vue-ui-relation-circle-CaX6ryF7.js} +37 -37
  104. package/dist/{vue-ui-rings-fJvO6eX_.js → vue-ui-rings-B94ER7yb.js} +36 -36
  105. package/dist/{vue-ui-rings-B18Wqo7x.cjs → vue-ui-rings-DwXSWAh9.cjs} +2 -2
  106. package/dist/{vue-ui-scatter-nVMhmeVK.js → vue-ui-scatter-R_o-56au.js} +14 -14
  107. package/dist/vue-ui-scatter-klHezU7g.cjs +1 -0
  108. package/dist/{vue-ui-screenshot-CL_BGDeM.cjs → vue-ui-screenshot-BJBVXs5F.cjs} +1 -1
  109. package/dist/{vue-ui-screenshot-DsGxjAas.js → vue-ui-screenshot-CawOtRGf.js} +1 -1
  110. package/dist/{vue-ui-skeleton-odlG21I6.js → vue-ui-skeleton-BM3ut-zl.js} +457 -377
  111. package/dist/vue-ui-skeleton-DsMIGHB3.cjs +41 -0
  112. package/dist/{vue-ui-smiley-CcM-XG7o.js → vue-ui-smiley-DX5k4pRq.js} +2 -2
  113. package/dist/{vue-ui-smiley-DjCnF05n.cjs → vue-ui-smiley-bh_FuZmP.cjs} +1 -1
  114. package/dist/{vue-ui-spark-trend-DbfmJnyG.js → vue-ui-spark-trend-BSLfkSAJ.js} +5 -5
  115. package/dist/{vue-ui-spark-trend-B3wvoHdy.cjs → vue-ui-spark-trend-N88_MES6.cjs} +1 -1
  116. package/dist/{vue-ui-sparkbar-DkwgnqvW.js → vue-ui-sparkbar-CgV-sv7t.js} +4 -4
  117. package/dist/{vue-ui-sparkbar-Unem3qlf.cjs → vue-ui-sparkbar-NRuy_wAW.cjs} +1 -1
  118. package/dist/{vue-ui-sparkgauge-CFNCtwjD.js → vue-ui-sparkgauge-YOs41cOi.js} +4 -4
  119. package/dist/{vue-ui-sparkgauge-1oonX7Pt.cjs → vue-ui-sparkgauge-h9hOQBbL.cjs} +1 -1
  120. package/dist/{vue-ui-sparkhistogram-BDq3T-6n.js → vue-ui-sparkhistogram-BHVoP35U.js} +5 -5
  121. package/dist/{vue-ui-sparkhistogram-C2FOzWbO.cjs → vue-ui-sparkhistogram-BIoA2rZ8.cjs} +1 -1
  122. package/dist/{vue-ui-sparkline-BXCPWLbx.cjs → vue-ui-sparkline-C3lqwFGV.cjs} +1 -1
  123. package/dist/{vue-ui-sparkline-CDGqFfbA.js → vue-ui-sparkline-nIfo0etd.js} +4 -4
  124. package/dist/{vue-ui-sparkstackbar-Crr9O93o.cjs → vue-ui-sparkstackbar-CBBZJlfz.cjs} +1 -1
  125. package/dist/{vue-ui-sparkstackbar-BGDxXx1H.js → vue-ui-sparkstackbar-CMH38Bht.js} +5 -5
  126. package/dist/{vue-ui-stackbar-CXVJgWTO.js → vue-ui-stackbar-CBzYWzrX.js} +15 -15
  127. package/dist/{vue-ui-stackbar-YULKQ4Q2.cjs → vue-ui-stackbar-CwwOCVW2.cjs} +2 -2
  128. package/dist/{vue-ui-strip-plot-D-_BcZGB.js → vue-ui-strip-plot-3UZVAou8.js} +13 -13
  129. package/dist/vue-ui-strip-plot-Dp2kJ7iQ.cjs +1 -0
  130. package/dist/{vue-ui-table-DCR-izqY.cjs → vue-ui-table-B3s1IcfE.cjs} +1 -1
  131. package/dist/{vue-ui-table-BKMfZhPB.js → vue-ui-table-CDmWHO-z.js} +1 -1
  132. package/dist/vue-ui-table-heatmap-BsZvR-Zs.cjs +1 -0
  133. package/dist/{vue-ui-table-heatmap-BYnl_vUh.js → vue-ui-table-heatmap-CZD0-bMz.js} +8 -8
  134. package/dist/vue-ui-table-sparkline-BqGa1gwS.cjs +1 -0
  135. package/dist/{vue-ui-table-sparkline-C1Xx-B2E.js → vue-ui-table-sparkline-nCnQKAqx.js} +8 -8
  136. package/dist/{vue-ui-thermometer-Ba5L3NM-.js → vue-ui-thermometer-Be7yQtd0.js} +12 -12
  137. package/dist/vue-ui-thermometer-dk2T8fWc.cjs +1 -0
  138. package/dist/{vue-ui-timer-CrJJnZKN.js → vue-ui-timer-B7jYXTxP.js} +5 -5
  139. package/dist/{vue-ui-timer-BLM1ZnqH.cjs → vue-ui-timer-DMPyhmkw.cjs} +1 -1
  140. package/dist/vue-ui-tiremarks-B2YzKOZ9.cjs +1 -0
  141. package/dist/{vue-ui-tiremarks-C0FaGxaE.js → vue-ui-tiremarks-BysMKDiL.js} +9 -9
  142. package/dist/vue-ui-treemap-BgPQTI0-.cjs +1 -0
  143. package/dist/{vue-ui-treemap-DUUBok0Z.js → vue-ui-treemap-CVEo4sPM.js} +40 -40
  144. package/dist/{vue-ui-vertical-bar-DGSL6lGQ.js → vue-ui-vertical-bar-DqNS7Ash.js} +36 -36
  145. package/dist/{vue-ui-vertical-bar-qY3NE5sf.cjs → vue-ui-vertical-bar-tR8BBtIQ.cjs} +2 -2
  146. package/dist/vue-ui-waffle-CNIMp_6k.cjs +1 -0
  147. package/dist/{vue-ui-waffle-DeDjMqj4.js → vue-ui-waffle-pwRzgt1I.js} +40 -40
  148. package/dist/{vue-ui-wheel-D2pWanO3.js → vue-ui-wheel-U-zWCCQP.js} +18 -18
  149. package/dist/vue-ui-wheel-yVszAJvl.cjs +1 -0
  150. package/dist/vue-ui-word-cloud-D2bvq4zl.cjs +1 -0
  151. package/dist/{vue-ui-word-cloud-DDubuSNu.js → vue-ui-word-cloud-RI8RK0o-.js} +38 -38
  152. package/dist/{vue-ui-xy-DvaJ_oyE.js → vue-ui-xy-BqbnfSBo.js} +14 -14
  153. package/dist/{vue-ui-xy-BKEjcTkg.cjs → vue-ui-xy-Iprttv_w.cjs} +1 -1
  154. package/dist/{vue-ui-xy-canvas-CgzTusyc.cjs → vue-ui-xy-canvas-7QgtFfPE.cjs} +3 -3
  155. package/dist/{vue-ui-xy-canvas-DpTDw8Rv.js → vue-ui-xy-canvas-CauFtYWC.js} +13 -13
  156. package/package.json +3 -2
  157. package/dist/PackageVersion-fh_T3pry.cjs +0 -1
  158. package/dist/index-DHTOdsmm.cjs +0 -9
  159. package/dist/vue-data-ui-B4yl-5k7.cjs +0 -9
  160. package/dist/vue-ui-age-pyramid-JUp6_DQU.cjs +0 -1
  161. package/dist/vue-ui-bullet-DuPHT9m_.cjs +0 -34
  162. package/dist/vue-ui-carousel-table-CVlt3x_V.cjs +0 -1
  163. package/dist/vue-ui-donut-BTLM3pc-.cjs +0 -1
  164. package/dist/vue-ui-donut-evolution-B9b0VDlt.cjs +0 -1
  165. package/dist/vue-ui-dumbbell-D0-fNbuR.cjs +0 -9
  166. package/dist/vue-ui-flow-CVX1Booa.cjs +0 -1
  167. package/dist/vue-ui-funnel-CkrA8ZGZ.cjs +0 -1
  168. package/dist/vue-ui-galaxy-XLY4fBs_.cjs +0 -1
  169. package/dist/vue-ui-gauge-DKv2V1ZR.cjs +0 -1
  170. package/dist/vue-ui-heatmap-DpZM0Il7.cjs +0 -1
  171. package/dist/vue-ui-history-plot-DyTTxsEC.cjs +0 -1
  172. package/dist/vue-ui-molecule-CVg3G3jq.cjs +0 -1
  173. package/dist/vue-ui-mood-radar-bRCa4Y3L.cjs +0 -1
  174. package/dist/vue-ui-quadrant-Cx1wlTvP.cjs +0 -1
  175. package/dist/vue-ui-radar-gWd0pEpW.cjs +0 -1
  176. package/dist/vue-ui-relation-circle-B3PfO20q.cjs +0 -1
  177. package/dist/vue-ui-scatter-ZJO-zIjS.cjs +0 -1
  178. package/dist/vue-ui-skeleton-BZDfN8kq.cjs +0 -41
  179. package/dist/vue-ui-strip-plot-D2tY6IaY.cjs +0 -1
  180. package/dist/vue-ui-table-heatmap-BQk6Gd_E.cjs +0 -1
  181. package/dist/vue-ui-table-sparkline-Fk2HnXUF.cjs +0 -1
  182. package/dist/vue-ui-thermometer-CUa9blx-.cjs +0 -1
  183. package/dist/vue-ui-tiremarks-C0ic3lVR.cjs +0 -1
  184. package/dist/vue-ui-treemap-C7lv9JcH.cjs +0 -1
  185. package/dist/vue-ui-waffle-lANO8NSp.cjs +0 -1
  186. package/dist/vue-ui-wheel-yw94VIYd.cjs +0 -1
  187. package/dist/vue-ui-word-cloud-BQuOLoHD.cjs +0 -1
@@ -0,0 +1,639 @@
1
+ import { useCssVars as Qe, computed as y, ref as h, watch as Ie, onMounted as et, watchEffect as tt, openBlock as s, createElementBlock as i, normalizeClass as Fe, normalizeStyle as W, unref as c, createBlock as T, createCommentVNode as f, renderSlot as m, createSlots as lt, withCtx as C, normalizeProps as D, guardReactiveProps as L, createVNode as at, Fragment as O, renderList as se, createElementVNode as k, toDisplayString as G, createTextVNode as ot, nextTick as st } from "vue";
2
+ import { u as nt, c as Ne, t as rt, a as ne, p as P, o as ut, e as it, b as ct, d as Se, m as vt, h as Me, f as re, X as dt, l as ht, G as Y, i as _e, q as ft, r as yt } from "./index-DAAFXQJj.js";
3
+ import { u as Ae } from "./useNestedProp-DMtJzMiX.js";
4
+ import { u as pt, U as mt } from "./usePrinter-BvlefWMW.js";
5
+ import { _ as bt } from "./Title-C4aoNP1T.js";
6
+ import { P as gt } from "./PenAndPaper-CurhQVkh.js";
7
+ import { u as kt } from "./useUserOptionState-BIvW1Kz7.js";
8
+ import { _ as wt } from "./PackageVersion-DKr8jVlI.js";
9
+ import xt from "./vue-ui-accordion-B67N9Oo8.js";
10
+ import { D as Ct } from "./DataTable-D4_TjSBJ.js";
11
+ import $t from "./vue-ui-skeleton-BM3ut-zl.js";
12
+ import { _ as zt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
+ const Pt = ["id"], Tt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"], It = ["id"], Ft = ["stop-color"], Nt = ["stop-color"], St = ["stop-color"], Mt = { key: 0 }, _t = ["x", "y", "width", "height", "stroke", "stroke-width", "fill", "rx", "onMouseenter"], At = ["x", "y", "width", "height", "stroke", "stroke-width", "fill", "rx"], Et = ["opacity", "x", "y", "font-size", "fill", "font-weight"], Dt = ["opacity", "x", "y", "font-size", "fill", "font-weight"], Lt = ["d", "fill"], Gt = ["cx", "cy", "r", "opacity", "stroke", "fill"], Ut = {
14
+ key: 0,
15
+ style: { pointerEvents: "none" }
16
+ }, Bt = { key: 1 }, Vt = ["opacity", "x", "y", "font-size", "fill", "font-weight"], Ht = ["opacity", "x", "y", "font-size", "fill", "font-weight"], Rt = {
17
+ key: 6,
18
+ class: "vue-data-ui-watermark"
19
+ }, Xt = ["innerHTML"], Wt = {
20
+ __name: "vue-ui-circle-pack",
21
+ props: {
22
+ config: {
23
+ type: Object,
24
+ default() {
25
+ return {};
26
+ }
27
+ },
28
+ dataset: {
29
+ type: Array,
30
+ default() {
31
+ return [];
32
+ }
33
+ }
34
+ },
35
+ setup(Ee, { expose: De }) {
36
+ const $ = Ee;
37
+ Qe((t) => ({
38
+ "66ae9e59": N.value,
39
+ "871d16dc": K.value
40
+ }));
41
+ const { vue_ui_circle_pack: Le } = nt(), U = y(() => !!$.dataset && $.dataset.length), I = h(Ne()), j = h(null), Ge = h(null), Ue = h(null), ue = h(0), ie = h(0), ce = h(0), Be = h(null), e = y({
42
+ get: () => he(),
43
+ set: (t) => t
44
+ }), {
45
+ userOptionsVisible: q,
46
+ setUserOptionsVisibility: ve,
47
+ keepUserOptionState: de
48
+ } = kt({ config: e.value });
49
+ function he() {
50
+ const t = Ae({
51
+ userConfig: $.config,
52
+ defaultConfig: Le
53
+ });
54
+ return t.theme ? {
55
+ ...Ae({
56
+ userConfig: rt.vue_ui_circle_pack[t.theme] || $.config,
57
+ defaultConfig: t
58
+ }),
59
+ customPalette: ne[t.theme] || P
60
+ } : t;
61
+ }
62
+ Ie(() => $.config, (t) => {
63
+ e.value = he(), q.value = !e.value.userOptions.showOnChartHover, Z(), ue.value += 1, ie.value += 1, F.value.showTable = e.value.table.show;
64
+ }, { deep: !0 });
65
+ const { isPrinting: fe, isImaging: ye, generatePdf: pe, generateImage: me } = pt({
66
+ elementId: `vue-ui-circle-pack_${I.value}`,
67
+ fileName: e.value.style.chart.title.text || "vue-ui-circle-pack"
68
+ }), Ve = y(() => e.value.userOptions.show && !e.value.style.chart.title.text), F = h({
69
+ showTable: e.value.table.show
70
+ });
71
+ async function Z() {
72
+ ut($.dataset) && it({
73
+ componentName: "VueUiCirclePack",
74
+ type: "dataset"
75
+ }), await Xe();
76
+ }
77
+ et(Z), Ie(() => $.dataset, async (t) => {
78
+ await Z();
79
+ }, { deep: !0 });
80
+ const be = y(() => ct(e.value.customPalette));
81
+ function ge(t, a) {
82
+ return Math.hypot(a.x - t.x, a.y - t.y);
83
+ }
84
+ function ke(t, a) {
85
+ return a.some((l) => ge(t, l) < t.radius + l.radius);
86
+ }
87
+ function He(t, a, l, r) {
88
+ const v = a * 2;
89
+ for (let w of t)
90
+ for (let x = 0; x < 360; x += 30) {
91
+ let E = x * Math.PI / 180, u = w.x + v * Math.cos(E), o = w.y + v * Math.sin(E), b = { x: u, y: o, radius: a };
92
+ if (u - a >= 0 && u + a <= l && o - a >= 0 && o + a <= r && !ke(b, t))
93
+ return { x: u, y: o };
94
+ }
95
+ return null;
96
+ }
97
+ function Re(t, a, l, r, v = 0, w = 0) {
98
+ const x = Math.max(...t.map((b) => b.value)), u = t.map((b, d) => ({
99
+ ...b,
100
+ radius: b.value / x * r,
101
+ index: d
102
+ })).map((b, d) => ({ ...b, index: d })).toSorted((b, d) => d.radius - b.radius);
103
+ let o = [];
104
+ o.push({
105
+ ...u[0],
106
+ x: a / 2 + v,
107
+ y: l / 2 + w
108
+ });
109
+ for (let b of u.slice(1)) {
110
+ let { radius: d, ...$e } = b, ee = He(o, d, a, l);
111
+ if (ee)
112
+ o.push({ ...$e, x: ee.x, y: ee.y, radius: d });
113
+ else {
114
+ let te = null, ze = 1 / 0;
115
+ for (let R of o)
116
+ for (let le = 0; le < 360; le += 15) {
117
+ let Pe = le * Math.PI / 180, ae = R.x + (d + R.radius) * Math.cos(Pe), oe = R.y + (d + R.radius) * Math.sin(Pe), X = { ...$e, x: ae, y: oe, radius: d };
118
+ if (ae - d >= 0 && ae + d <= a && oe - d >= 0 && oe + d <= l && !ke(X, o)) {
119
+ let Te = o.reduce(
120
+ (Ke, Oe) => Ke + (ge(X, Oe) < X.radius + Oe.radius ? 1 : 0),
121
+ 0
122
+ );
123
+ Te < ze && (ze = Te, te = X);
124
+ }
125
+ }
126
+ te && o.push(te);
127
+ }
128
+ }
129
+ return o;
130
+ }
131
+ const J = y(() => $.dataset.map((t, a) => {
132
+ const l = Se(t.color) || be.value[a] || ne[e.value.theme][a % ne[e.value.theme].length] || P[a] || P[a % P.length];
133
+ return {
134
+ ...t,
135
+ id: Ne(),
136
+ color: l
137
+ };
138
+ }).filter((t) => ![null, void 0, 1 / 0, -1 / 0].includes(t.value))), g = h([]);
139
+ async function Xe() {
140
+ g.value = Re(
141
+ J.value,
142
+ // Huge plane size to place all datapoints
143
+ 1e4,
144
+ 1e4,
145
+ 32
146
+ );
147
+ }
148
+ const we = y(() => ({
149
+ width: 100,
150
+ height: 100
151
+ })), p = y(() => {
152
+ const t = g.value.reduce((u, o) => o.x - o.radius < u.x - u.radius ? o : u, g.value[0]), a = g.value.reduce((u, o) => o.y - o.radius < u.y - u.radius ? o : u, g.value[0]), l = g.value.reduce((u, o) => o.x + o.radius > u.x + u.radius ? o : u, g.value[0]), r = g.value.reduce((u, o) => o.y + o.radius > u.y + u.radius ? o : u, g.value[0]), v = (t == null ? void 0 : t.x) || 0, w = (l == null ? void 0 : l.x) || we.value.width, x = (a == null ? void 0 : a.y) || 0, E = (r == null ? void 0 : r.y) || we.value.height;
153
+ return {
154
+ maxX: w,
155
+ minX: v,
156
+ width: Math.abs(w - v) + (t ? t.radius : 0) + (l ? l.radius : 0) + e.value.style.chart.circles.strokeWidth * 4,
157
+ height: Math.abs(E - x) + (a ? a.radius : 0) + (r ? r.radius : 0) + e.value.style.chart.circles.strokeWidth * 4,
158
+ x: t ? (t == null ? void 0 : t.x) - (t == null ? void 0 : t.radius) - e.value.style.chart.circles.strokeWidth * 2 : 0,
159
+ y: a ? (a == null ? void 0 : a.y) - (a == null ? void 0 : a.radius) - e.value.style.chart.circles.strokeWidth * 2 : 0
160
+ };
161
+ }), We = y(() => g.value.map((t) => {
162
+ if (t.breakdown)
163
+ return vt(
164
+ { series: t.breakdown.map((a, l) => ({
165
+ ...a,
166
+ color: Se(a.color) || be.value[l] || P[l] || P[l % P.length]
167
+ })) },
168
+ t.x,
169
+ t.y,
170
+ t.radius,
171
+ t.radius,
172
+ 1.99999,
173
+ 2,
174
+ 1,
175
+ 360,
176
+ 105.25,
177
+ t.radius / 2
178
+ );
179
+ })), n = h(null);
180
+ function Ye(t) {
181
+ e.value.style.chart.circles.zoom.show && (n.value = t);
182
+ }
183
+ const N = y(() => n.value ? n.value.radius : 0), K = y(() => n.value ? n.value.radius > p.value.width / 6 * e.value.style.chart.circles.zoom.zoomRatio ? n.value.radius : p.value.width / 6 * e.value.style.chart.circles.zoom.zoomRatio : 0), z = h(0), je = y(() => ({
184
+ pointerEvents: "none",
185
+ opacity: z.value,
186
+ filter: `drop-shadow(0px 0px 6px ${Me(n.value.color, e.value.style.chart.circles.zoom.shadowForce)})`
187
+ })), S = h(N.value);
188
+ tt(() => {
189
+ S.value = N.value, z.value = 0;
190
+ let t = null;
191
+ function a(l) {
192
+ t || (t = l);
193
+ const r = (l - t) / e.value.style.chart.circles.zoom.animationFrameMs;
194
+ r < 1 ? (S.value = N.value + (K.value - N.value) * r, z.value = 0 + e.value.style.chart.circles.zoom.opacity * r, requestAnimationFrame(a)) : (S.value = K.value, z.value = e.value.style.chart.circles.zoom.opacity);
195
+ }
196
+ requestAnimationFrame(a);
197
+ });
198
+ const M = y(() => ({
199
+ name: e.value.style.chart.circles.zoom.label.name.fontSize * p.value.width / 300,
200
+ value: e.value.style.chart.circles.zoom.label.value.fontSize * p.value.width / 300
201
+ }));
202
+ function _(t) {
203
+ return _e(
204
+ e.value.style.chart.circles.labels.value.formatter,
205
+ t.value,
206
+ re({
207
+ p: e.value.style.chart.circles.labels.value.prefix,
208
+ v: t.value,
209
+ s: e.value.style.chart.circles.labels.value.suffix,
210
+ r: e.value.style.chart.circles.labels.value.rounding
211
+ })
212
+ );
213
+ }
214
+ function qe() {
215
+ return _e(
216
+ e.value.style.chart.circles.zoom.label.value.formatter,
217
+ n.value.value,
218
+ re({
219
+ p: e.value.style.chart.circles.zoom.label.value.prefix,
220
+ v: n.value.value,
221
+ s: e.value.style.chart.circles.zoom.label.value.suffix,
222
+ r: e.value.style.chart.circles.zoom.label.rounding
223
+ })
224
+ );
225
+ }
226
+ const A = h(!1);
227
+ function Ze(t) {
228
+ A.value = t, ce.value += 1;
229
+ }
230
+ const B = h(!1);
231
+ function Q() {
232
+ B.value = !B.value;
233
+ }
234
+ const V = y(() => {
235
+ const t = J.value.map((l) => ({
236
+ name: l.name,
237
+ value: l.value,
238
+ color: l.color
239
+ })).toSorted((l, r) => r.value - l.value), a = t.map((l) => l.value);
240
+ return { head: t, body: a };
241
+ });
242
+ function xe() {
243
+ st(() => {
244
+ const t = V.value.head.map((r, v) => [[
245
+ r.name
246
+ ], [V.value.body[v]]]), a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], [e.value.table.columnNames.value]]].concat(t), l = ft(a);
247
+ yt({ csvContent: l, title: e.value.style.chart.title.text || "vue-ui-circle-pack" });
248
+ });
249
+ }
250
+ const H = y(() => {
251
+ const t = [
252
+ e.value.table.columnNames.datapoint,
253
+ e.value.table.columnNames.value
254
+ ], a = V.value.head.map((v, w) => {
255
+ const x = re({
256
+ p: e.value.style.chart.circles.labels.value.prefix,
257
+ v: V.value.body[w],
258
+ s: e.value.style.chart.circles.labels.value.suffix,
259
+ r: e.value.style.chart.circles.labels.value.rounding
260
+ });
261
+ return [
262
+ {
263
+ color: v.color,
264
+ name: v.name
265
+ },
266
+ x
267
+ ];
268
+ }), l = {
269
+ th: {
270
+ backgroundColor: e.value.table.th.backgroundColor,
271
+ color: e.value.table.th.color,
272
+ outline: e.value.table.th.outline
273
+ },
274
+ td: {
275
+ backgroundColor: e.value.table.td.backgroundColor,
276
+ color: e.value.table.td.color,
277
+ outline: e.value.table.td.outline
278
+ },
279
+ breakpoint: e.value.table.responsiveBreakpoint
280
+ };
281
+ return {
282
+ colNames: [
283
+ e.value.table.columnNames.datapoint,
284
+ e.value.table.columnNames.value
285
+ ],
286
+ head: t,
287
+ body: a,
288
+ config: l
289
+ };
290
+ });
291
+ function Ce() {
292
+ F.value.showTable = !F.value.showTable;
293
+ }
294
+ function Je() {
295
+ return J.value;
296
+ }
297
+ return De({
298
+ getData: Je,
299
+ generateCsv: xe,
300
+ generatePdf: pe,
301
+ generateImage: me,
302
+ toggleTable: Ce,
303
+ toggleAnnotator: Q
304
+ }), (t, a) => (s(), i("div", {
305
+ id: `vue-ui-circle-pack_${I.value}`,
306
+ class: Fe(`vue-ui-circle-pack ${A.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
307
+ ref_key: "circlePackChart",
308
+ ref: j,
309
+ style: W(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
310
+ onMouseenter: a[2] || (a[2] = () => c(ve)(!0)),
311
+ onMouseleave: a[3] || (a[3] = () => c(ve)(!1))
312
+ }, [
313
+ e.value.userOptions.buttons.annotator ? (s(), T(gt, {
314
+ key: 0,
315
+ parent: j.value,
316
+ backgroundColor: e.value.style.chart.backgroundColor,
317
+ color: e.value.style.chart.color,
318
+ active: B.value,
319
+ onClose: Q
320
+ }, null, 8, ["parent", "backgroundColor", "color", "active"])) : f("", !0),
321
+ m(t.$slots, "userConfig", {}, void 0, !0),
322
+ Ve.value ? (s(), i("div", {
323
+ key: 1,
324
+ ref_key: "noTitle",
325
+ ref: Ue,
326
+ class: "vue-data-ui-no-title-space",
327
+ style: "height:36px; width: 100%;background:transparent"
328
+ }, null, 512)) : f("", !0),
329
+ e.value.style.chart.title.text ? (s(), i("div", {
330
+ key: 2,
331
+ ref_key: "chartTitle",
332
+ ref: Ge,
333
+ style: "width:100%;background:transparent;padding-bottom:12px"
334
+ }, [
335
+ (s(), T(bt, {
336
+ key: `title_${ue.value}`,
337
+ config: {
338
+ title: {
339
+ cy: "donut-div-title",
340
+ ...e.value.style.chart.title
341
+ },
342
+ subtitle: {
343
+ cy: "donut-div-subtitle",
344
+ ...e.value.style.chart.title.subtitle
345
+ }
346
+ }
347
+ }, null, 8, ["config"]))
348
+ ], 512)) : f("", !0),
349
+ e.value.userOptions.show && U.value && (c(de) || c(q)) ? (s(), T(mt, {
350
+ ref: "details",
351
+ key: `user_option_${ce.value}`,
352
+ backgroundColor: e.value.style.chart.backgroundColor,
353
+ color: e.value.style.chart.color,
354
+ isPrinting: c(fe),
355
+ isImaging: c(ye),
356
+ uid: I.value,
357
+ hasTooltip: !1,
358
+ hasLabel: !1,
359
+ hasPdf: e.value.userOptions.buttons.pdf,
360
+ hasImg: e.value.userOptions.buttons.img,
361
+ hasXls: e.value.userOptions.buttons.csv,
362
+ hasTable: e.value.userOptions.buttons.table,
363
+ hasFullscreen: e.value.userOptions.buttons.fullscreen,
364
+ isFullscreen: A.value,
365
+ chartElement: j.value,
366
+ position: e.value.userOptions.position,
367
+ titles: { ...e.value.userOptions.buttonTitles },
368
+ hasAnnotator: e.value.userOptions.buttons.annotator,
369
+ isAnnotation: B.value,
370
+ onToggleFullscreen: Ze,
371
+ onGeneratePdf: c(pe),
372
+ onGenerateCsv: xe,
373
+ onGenerateImage: c(me),
374
+ onToggleTable: Ce,
375
+ onToggleAnnotator: Q,
376
+ style: W({
377
+ visibility: c(de) ? c(q) ? "visible" : "hidden" : "visible"
378
+ })
379
+ }, lt({ _: 2 }, [
380
+ t.$slots.optionPdf ? {
381
+ name: "optionPdf",
382
+ fn: C(() => [
383
+ m(t.$slots, "optionPdf", {}, void 0, !0)
384
+ ]),
385
+ key: "0"
386
+ } : void 0,
387
+ t.$slots.optionCsv ? {
388
+ name: "optionCsv",
389
+ fn: C(() => [
390
+ m(t.$slots, "optionCsv", {}, void 0, !0)
391
+ ]),
392
+ key: "1"
393
+ } : void 0,
394
+ t.$slots.optionImg ? {
395
+ name: "optionImg",
396
+ fn: C(() => [
397
+ m(t.$slots, "optionImg", {}, void 0, !0)
398
+ ]),
399
+ key: "2"
400
+ } : void 0,
401
+ t.$slots.optionTable ? {
402
+ name: "optionTable",
403
+ fn: C(() => [
404
+ m(t.$slots, "optionTable", {}, void 0, !0)
405
+ ]),
406
+ key: "3"
407
+ } : void 0,
408
+ t.$slots.optionFullscreen ? {
409
+ name: "optionFullscreen",
410
+ fn: C(({ toggleFullscreen: l, isFullscreen: r }) => [
411
+ m(t.$slots, "optionFullscreen", D(L({ toggleFullscreen: l, isFullscreen: r })), void 0, !0)
412
+ ]),
413
+ key: "4"
414
+ } : void 0,
415
+ t.$slots.optionAnnotator ? {
416
+ name: "optionAnnotator",
417
+ fn: C(({ toggleAnnotator: l, isAnnotator: r }) => [
418
+ m(t.$slots, "optionAnnotator", D(L({ toggleAnnotator: l, isAnnotator: r })), void 0, !0)
419
+ ]),
420
+ key: "5"
421
+ } : void 0
422
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "chartElement", "position", "titles", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : f("", !0),
423
+ U.value ? (s(), i("svg", {
424
+ key: 4,
425
+ xmlns: c(dt),
426
+ viewBox: `${p.value.x} ${p.value.y} ${p.value.width} ${p.value.height}`,
427
+ width: "100%",
428
+ class: Fe({ "vue-data-ui-fullscreen--on": A.value, "vue-data-ui-fulscreen--off": !A.value }),
429
+ style: W(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color};`)
430
+ }, [
431
+ at(wt),
432
+ t.$slots["chart-background"] ? (s(), i("foreignObject", {
433
+ key: 0,
434
+ x: p.value.x,
435
+ y: p.value.y,
436
+ width: p.value.width,
437
+ height: p.value.height,
438
+ style: {
439
+ pointerEvents: "none"
440
+ }
441
+ }, [
442
+ m(t.$slots, "chart-background", {}, void 0, !0)
443
+ ], 8, Ot)) : f("", !0),
444
+ (s(!0), i(O, null, se(g.value, (l) => (s(), i(O, null, [
445
+ k("defs", null, [
446
+ k("radialGradient", {
447
+ id: l.id,
448
+ fy: "30%"
449
+ }, [
450
+ k("stop", {
451
+ offset: "10%",
452
+ "stop-color": c(ht)(l.color, e.value.style.chart.circles.gradient.intensity / 100)
453
+ }, null, 8, Ft),
454
+ k("stop", {
455
+ offset: "90%",
456
+ "stop-color": c(Me)(l.color, 0.1)
457
+ }, null, 8, Nt),
458
+ k("stop", {
459
+ offset: "100%",
460
+ "stop-color": l.color
461
+ }, null, 8, St)
462
+ ], 8, It)
463
+ ]),
464
+ t.$slots.pattern ? (s(), i("g", Mt, [
465
+ k("defs", null, [
466
+ m(t.$slots, "pattern", D(L({ ...l, patternId: `pattern_${I.value}_${l.id}` })), void 0, !0)
467
+ ])
468
+ ])) : f("", !0),
469
+ k("rect", {
470
+ x: l.x - l.radius,
471
+ y: l.y - l.radius,
472
+ width: l.radius * 2,
473
+ height: l.radius * 2,
474
+ stroke: e.value.style.chart.circles.stroke,
475
+ "stroke-width": e.value.style.chart.circles.strokeWidth,
476
+ fill: e.value.style.chart.circles.gradient.show ? `url(#${l.id})` : l.color,
477
+ rx: l.radius,
478
+ onMouseenter: () => Ye(l),
479
+ onMouseout: a[0] || (a[0] = (r) => n.value = null)
480
+ }, null, 40, _t),
481
+ t.$slots.pattern ? (s(), i("rect", {
482
+ key: 1,
483
+ x: l.x - l.radius,
484
+ y: l.y - l.radius,
485
+ width: l.radius * 2,
486
+ height: l.radius * 2,
487
+ stroke: e.value.style.chart.circles.stroke,
488
+ "stroke-width": e.value.style.chart.circles.strokeWidth,
489
+ fill: `url(#pattern_${I.value}_${l.id})`,
490
+ rx: l.radius,
491
+ style: {
492
+ pointerEvents: "none"
493
+ }
494
+ }, null, 8, At)) : f("", !0),
495
+ e.value.style.chart.circles.labels.name.show && l.name ? (s(), i("text", {
496
+ key: 2,
497
+ style: {
498
+ pointerEvents: "none",
499
+ transition: "opacity 0.2s ease-in-out"
500
+ },
501
+ opacity: n.value ? 0.2 : 1,
502
+ x: l.x,
503
+ y: l.y - l.radius / 2.5 + e.value.style.chart.circles.labels.name.offsetY,
504
+ "font-size": l.radius / l.name.length * 2,
505
+ fill: e.value.style.chart.circles.labels.name.color ? e.value.style.chart.circles.labels.name.color : c(Y)(l.color),
506
+ "font-weight": e.value.style.chart.circles.labels.name.bold ? "bold" : "normal",
507
+ "text-anchor": "middle"
508
+ }, G(l.name), 9, Et)) : f("", !0),
509
+ e.value.style.chart.circles.labels.value.show ? (s(), i("text", {
510
+ key: 3,
511
+ style: {
512
+ pointerEvents: "none",
513
+ transition: "opacity 0.2s ease-in-out"
514
+ },
515
+ opacity: n.value ? 0.2 : 1,
516
+ x: l.x,
517
+ y: l.y + l.radius / _(l).length * (_(l).length === 1 ? 1 : 2) / 2 + e.value.style.chart.circles.labels.value.offsetY,
518
+ "font-size": l.radius / _(l).length * (_(l).length === 1 ? 1 : 2),
519
+ fill: e.value.style.chart.circles.labels.value.color ? e.value.style.chart.circles.labels.value.color : c(Y)(l.color),
520
+ "font-weight": e.value.style.chart.circles.labels.value.bold ? "bold" : "normal",
521
+ "text-anchor": "middle"
522
+ }, G(_(l)), 9, Dt)) : f("", !0),
523
+ (s(!0), i(O, null, se(We.value, (r) => (s(), i(O, null, [
524
+ (s(!0), i(O, null, se(r, (v) => (s(), i("path", {
525
+ d: v.arcSlice,
526
+ fill: v.color,
527
+ stroke: "black"
528
+ }, null, 8, Lt))), 256))
529
+ ], 64))), 256))
530
+ ], 64))), 256)),
531
+ n.value && e.value.style.chart.circles.zoom.show ? (s(), i(O, { key: 1 }, [
532
+ k("circle", {
533
+ style: W(je.value),
534
+ cx: n.value.x,
535
+ cy: n.value.y,
536
+ r: S.value,
537
+ opacity: z.value,
538
+ stroke: e.value.style.chart.circles.stroke,
539
+ fill: e.value.style.chart.circles.gradient.show ? `url(#${n.value.id})` : n.value.color
540
+ }, null, 12, Gt),
541
+ t.$slots["zoom-label"] ? (s(), i("g", Ut, [
542
+ m(t.$slots, "zoom-label", D(L({ ...n.value, zoomOpacity: z.value, currentRadius: S.value, fontSize: M.value })), void 0, !0)
543
+ ])) : (s(), i("g", Bt, [
544
+ k("text", {
545
+ style: {
546
+ pointerEvents: "none"
547
+ },
548
+ opacity: z.value,
549
+ x: n.value.x,
550
+ y: n.value.y + e.value.style.chart.circles.zoom.label.name.offsetY - M.value.name / 4,
551
+ "text-anchor": "middle",
552
+ "font-size": M.value.name,
553
+ fill: e.value.style.chart.circles.zoom.label.name.color ? e.value.style.chart.circles.zoom.label.name.color : c(Y)(n.value.color),
554
+ "font-weight": e.value.style.chart.circles.zoom.label.name.bold ? "bold" : "normal"
555
+ }, G(n.value.name), 9, Vt),
556
+ k("text", {
557
+ style: {
558
+ pointerEvents: "none"
559
+ },
560
+ opacity: z.value,
561
+ x: n.value.x,
562
+ y: n.value.y + M.value.value + e.value.style.chart.circles.zoom.label.value.offsetY,
563
+ "text-anchor": "middle",
564
+ "font-size": M.value.value,
565
+ fill: e.value.style.chart.circles.zoom.label.value.color ? e.value.style.chart.circles.zoom.label.value.color : c(Y)(n.value.color),
566
+ "font-weight": e.value.style.chart.circles.zoom.label.value.bold ? "bold" : "normal"
567
+ }, G(qe()), 9, Ht)
568
+ ]))
569
+ ], 64)) : f("", !0),
570
+ m(t.$slots, "svg", {
571
+ svg: { ...p.value }
572
+ }, void 0, !0)
573
+ ], 14, Tt)) : f("", !0),
574
+ U.value ? f("", !0) : (s(), T($t, {
575
+ key: 5,
576
+ config: {
577
+ type: "circlePack",
578
+ style: {
579
+ color: "#CCCCCC"
580
+ }
581
+ }
582
+ })),
583
+ t.$slots.watermark ? (s(), i("div", Rt, [
584
+ m(t.$slots, "watermark", D(L({ isPrinting: c(fe) || c(ye) })), void 0, !0)
585
+ ])) : f("", !0),
586
+ t.$slots.source ? (s(), i("div", {
587
+ key: 7,
588
+ ref_key: "source",
589
+ ref: Be,
590
+ dir: "auto"
591
+ }, [
592
+ m(t.$slots, "source", {}, void 0, !0)
593
+ ], 512)) : f("", !0),
594
+ U.value ? (s(), T(xt, {
595
+ key: 8,
596
+ hideDetails: "",
597
+ config: {
598
+ open: F.value.showTable,
599
+ maxHeight: 1e4,
600
+ body: {
601
+ backgroundColor: e.value.style.chart.backgroundColor,
602
+ color: e.value.style.chart.color
603
+ },
604
+ head: {
605
+ backgroundColor: e.value.style.chart.backgroundColor,
606
+ color: e.value.style.chart.color
607
+ }
608
+ }
609
+ }, {
610
+ content: C(() => [
611
+ (s(), T(Ct, {
612
+ key: `table_${ie.value}`,
613
+ colNames: H.value.colNames,
614
+ head: H.value.head,
615
+ body: H.value.body,
616
+ config: H.value.config,
617
+ title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
618
+ onClose: a[1] || (a[1] = (l) => F.value.showTable = !1)
619
+ }, {
620
+ th: C(({ th: l }) => [
621
+ k("div", {
622
+ innerHTML: l,
623
+ style: { display: "flex", "align-items": "center" }
624
+ }, null, 8, Xt)
625
+ ]),
626
+ td: C(({ td: l }) => [
627
+ ot(G(l.name || l), 1)
628
+ ]),
629
+ _: 1
630
+ }, 8, ["colNames", "head", "body", "config", "title"]))
631
+ ]),
632
+ _: 1
633
+ }, 8, ["config"])) : f("", !0)
634
+ ], 46, Pt));
635
+ }
636
+ }, sl = /* @__PURE__ */ zt(Wt, [["__scopeId", "data-v-b3280cbf"]]);
637
+ export {
638
+ sl as default
639
+ };
@@ -1,6 +1,6 @@
1
1
  import { ref as n, computed as m, onMounted as R, onBeforeUnmount as E, openBlock as o, createElementBlock as l, unref as C, normalizeStyle as b, createElementVNode as r, createCommentVNode as a, normalizeClass as p, toDisplayString as x, nextTick as F, pushScopeId as I, popScopeId as L } from "vue";
2
- import { u as z } from "./useNestedProp-vYrmxXEi.js";
3
- import { u as O, c as B, X as N, s as T } from "./index-CbMgQMOZ.js";
2
+ import { u as z } from "./useNestedProp-DMtJzMiX.js";
3
+ import { u as O, c as B, X as N, s as T } from "./index-DAAFXQJj.js";
4
4
  import { _ as D } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
5
  const g = (i) => (I("data-v-6a1383ea"), i = i(), L(), i), $ = ["xmlns", "height", "width"], W = {
6
6
  id: "follower",