vue-data-ui 2.6.19 → 2.6.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (171) hide show
  1. package/README.md +8 -0
  2. package/dist/{Arrow-QMACp9z-.cjs → Arrow-C1pcd-am.cjs} +1 -1
  3. package/dist/{Arrow-DTtLZwne.js → Arrow-DQaZQgi6.js} +1 -1
  4. package/dist/{BaseIcon-BpRuwiFD.cjs → BaseIcon-BQwivF_K.cjs} +1 -1
  5. package/dist/{BaseIcon-nz-vbP7I.js → BaseIcon-DH34CAFx.js} +1 -1
  6. package/dist/{DataTable-Dr-djTUz.cjs → DataTable-D5572vAU.cjs} +1 -1
  7. package/dist/{DataTable-pNLWbeCL.js → DataTable-DfMqgTjL.js} +2 -2
  8. package/dist/{Legend-BHbX2C8f.cjs → Legend-CoREnR30.cjs} +1 -1
  9. package/dist/{Legend-s9DRKvJo.js → Legend-PL8rU0J1.js} +2 -2
  10. package/dist/{PackageVersion-hltZM-fb.js → PackageVersion-1Y7SXTrk.js} +1 -1
  11. package/dist/{PackageVersion-DsoqDgVf.cjs → PackageVersion-JsuXjgR_.cjs} +1 -1
  12. package/dist/PenAndPaper-7lGhxIH8.cjs +1 -0
  13. package/dist/{PenAndPaper-qmkn1GhB.js → PenAndPaper-BYhUvcy4.js} +20 -16
  14. package/dist/{PenAndPaper.vue_vue_type_style_index_0_scoped_c968a401_lang-z17A_S1M.js → PenAndPaper.vue_vue_type_style_index_0_scoped_3cea7589_lang-AmNwJZI7.js} +3 -3
  15. package/dist/{PenAndPaper.vue_vue_type_style_index_0_scoped_c968a401_lang-lH7bkq1z.cjs → PenAndPaper.vue_vue_type_style_index_0_scoped_3cea7589_lang-NplvneD1.cjs} +1 -1
  16. package/dist/{Shape-YhMDtuHk.cjs → Shape-HtDeeGqp.cjs} +1 -1
  17. package/dist/{Shape-C3y6rj0O.js → Shape-Ov27sl2L.js} +1 -1
  18. package/dist/{Slicer-BIW17-XH.js → Slicer-6F4tHrZR.js} +3 -3
  19. package/dist/{Slicer-BA8XF-Ak.cjs → Slicer-COXIFuZ-.cjs} +1 -1
  20. package/dist/{Title-dsg3PqUg.js → Title-1PWD04Gh.js} +1 -1
  21. package/dist/{Title-DWqgN4Kv.cjs → Title-Pgt1Ixvo.cjs} +1 -1
  22. package/dist/{Tooltip-DRFQIslg.js → Tooltip-BTO5NGkn.js} +1 -1
  23. package/dist/{Tooltip-B6T_qzJD.cjs → Tooltip-te_h24w6.cjs} +1 -1
  24. package/dist/{index-3OrObUP-.cjs → index-DM-Bs-Ua.cjs} +1 -1
  25. package/dist/{index-DvAaY6OP.js → index-DUnEDLbc.js} +1 -1
  26. package/dist/index.es-DvaaoatM.cjs +18 -0
  27. package/dist/index.es-RWt7DWPC.js +6645 -0
  28. package/dist/{jspdf.es.min-C5v1xtPn.cjs → jspdf.es.min-Rw70uifz.cjs} +23 -23
  29. package/dist/{jspdf.es.min-DKXYalZb.js → jspdf.es.min-eTA26cmm.js} +476 -470
  30. package/dist/{pdf-CHXlEvWj.cjs → pdf-DSkQT5iH.cjs} +1 -1
  31. package/dist/{pdf-70oZh5Jp.js → pdf-DVWl3Adn.js} +1 -1
  32. package/dist/style.css +1 -1
  33. package/dist/{useNestedProp-CGzX7c5Q.js → useNestedProp-CEMeoM-f.js} +1 -1
  34. package/dist/{useNestedProp-B53Yi1Rk.cjs → useNestedProp-CYy5g-mh.cjs} +1 -1
  35. package/dist/usePrinter-DbpIk44f.cjs +1 -0
  36. package/dist/{usePrinter-D_2jA4x8.js → usePrinter-Undaynpo.js} +73 -71
  37. package/dist/useResponsive-N8jl0-aC.cjs +1 -0
  38. package/dist/{useResponsive-BWapHhVH.js → useResponsive-vZgZwV-S.js} +65 -64
  39. package/dist/{vue-data-ui-CTjgYwlW.cjs → vue-data-ui-BapofDyJ.cjs} +1 -1
  40. package/dist/{vue-data-ui-DMl9rAwQ.js → vue-data-ui-DnaIYz0z.js} +61 -61
  41. package/dist/vue-data-ui.cjs +1 -1
  42. package/dist/vue-data-ui.js +1 -1
  43. package/dist/{vue-ui-3d-bar-DBVRoMwv.js → vue-ui-3d-bar-DLYaW0-y.js} +105 -98
  44. package/dist/{vue-ui-3d-bar-OwVsZokU.cjs → vue-ui-3d-bar-DansBM76.cjs} +2 -2
  45. package/dist/{vue-ui-accordion-LbUarYuf.js → vue-ui-accordion-C8Couc_G.js} +3 -3
  46. package/dist/{vue-ui-accordion-BmScSwW2.cjs → vue-ui-accordion-ZIsT4At8.cjs} +1 -1
  47. package/dist/{vue-ui-age-pyramid-DQ5dL4yb.cjs → vue-ui-age-pyramid-BSXnW9GF.cjs} +1 -1
  48. package/dist/{vue-ui-age-pyramid-rmfEfmj7.js → vue-ui-age-pyramid-BdruKMmo.js} +76 -69
  49. package/dist/{vue-ui-annotator-nS_RSspz.cjs → vue-ui-annotator-B7Go0M7W.cjs} +1 -1
  50. package/dist/{vue-ui-annotator-FlMkU7Kj.js → vue-ui-annotator-DVfdPMa7.js} +2 -2
  51. package/dist/{vue-ui-bullet-esfPgi-9.js → vue-ui-bullet-CkCJgmoJ.js} +145 -138
  52. package/dist/{vue-ui-bullet-BGTTcXBJ.cjs → vue-ui-bullet-N9ud2cQ7.cjs} +4 -4
  53. package/dist/{vue-ui-candlestick-RHrlnUqs.js → vue-ui-candlestick-C9B13qeU.js} +116 -109
  54. package/dist/{vue-ui-candlestick-BUEGFHg_.cjs → vue-ui-candlestick-DPIs9tEW.cjs} +2 -2
  55. package/dist/{vue-ui-carousel-table-6uP-Kk9U.js → vue-ui-carousel-table-BLo52Rqu.js} +130 -123
  56. package/dist/{vue-ui-carousel-table-DCcPnWRU.cjs → vue-ui-carousel-table-DgcY4j9y.cjs} +1 -1
  57. package/dist/{vue-ui-chestnut-B7Ep4Lho.cjs → vue-ui-chestnut-C9Zw_bey.cjs} +2 -2
  58. package/dist/{vue-ui-chestnut-Dh4y5s_v.js → vue-ui-chestnut-D8oXG8Tf.js} +131 -124
  59. package/dist/vue-ui-circle-pack-CrEdkNM7.js +648 -0
  60. package/dist/vue-ui-circle-pack-DYW-e2E5.cjs +1 -0
  61. package/dist/{vue-ui-cursor-D-IzE_jd.cjs → vue-ui-cursor-CtSijliN.cjs} +1 -1
  62. package/dist/{vue-ui-cursor-C21WgpGu.js → vue-ui-cursor-DkW4pJcP.js} +2 -2
  63. package/dist/{vue-ui-dashboard-T0LqYCqM.js → vue-ui-dashboard-5_Du0Yr2.js} +3 -3
  64. package/dist/{vue-ui-dashboard-DQ_wht4B.cjs → vue-ui-dashboard-Dh5vRbdI.cjs} +1 -1
  65. package/dist/{vue-ui-digits-CwV6mhHZ.cjs → vue-ui-digits-DEmYk7sS.cjs} +1 -1
  66. package/dist/{vue-ui-digits-CLFrlUIW.js → vue-ui-digits-DhA1bHdz.js} +2 -2
  67. package/dist/{vue-ui-donut-dVplEheX.js → vue-ui-donut-B-G7gRdV.js} +118 -111
  68. package/dist/{vue-ui-donut-b_UXDeKJ.cjs → vue-ui-donut-BrZxaijU.cjs} +1 -1
  69. package/dist/{vue-ui-donut-evolution-Bl50EWBG.js → vue-ui-donut-evolution-B4almlBq.js} +164 -157
  70. package/dist/{vue-ui-donut-evolution-VxNtQWGH.cjs → vue-ui-donut-evolution-CTbXi7wk.cjs} +1 -1
  71. package/dist/{vue-ui-dumbbell-B-7s7x7a.cjs → vue-ui-dumbbell-CAIlnhsM.cjs} +2 -2
  72. package/dist/{vue-ui-dumbbell-Bp685TTG.js → vue-ui-dumbbell-kZGa__IU.js} +75 -68
  73. package/dist/{vue-ui-flow-CHbfoU97.js → vue-ui-flow-Bc31ZN1W.js} +177 -170
  74. package/dist/{vue-ui-flow-DJqOVlD7.cjs → vue-ui-flow-D2UNbwlp.cjs} +1 -1
  75. package/dist/{vue-ui-funnel-B77giO54.cjs → vue-ui-funnel-DfCz1GNN.cjs} +1 -1
  76. package/dist/{vue-ui-funnel-Bhv0XRzJ.js → vue-ui-funnel-V7hu2Iib.js} +129 -122
  77. package/dist/{vue-ui-galaxy-Dt4dx9bS.cjs → vue-ui-galaxy-CNBC7IbU.cjs} +1 -1
  78. package/dist/{vue-ui-galaxy-DMA8AX8h.js → vue-ui-galaxy-DLCcy7Kq.js} +77 -70
  79. package/dist/{vue-ui-gauge-CBlurlZk.js → vue-ui-gauge-CZMHtEcr.js} +153 -146
  80. package/dist/{vue-ui-gauge-Bh3iSbSd.cjs → vue-ui-gauge-D8IglqIF.cjs} +1 -1
  81. package/dist/{vue-ui-gizmo-CHhJKge-.js → vue-ui-gizmo-BuAVBMBp.js} +3 -3
  82. package/dist/{vue-ui-gizmo-BMrnNfYR.cjs → vue-ui-gizmo-fyC414Iv.cjs} +1 -1
  83. package/dist/vue-ui-heatmap-CDOry_F1.cjs +1 -0
  84. package/dist/{vue-ui-heatmap-CB4852rp.js → vue-ui-heatmap-hUfFzGck.js} +139 -132
  85. package/dist/{vue-ui-history-plot-AwmdEhYL.js → vue-ui-history-plot-C79l8rPm.js} +122 -115
  86. package/dist/{vue-ui-history-plot-BG7r0ZF7.cjs → vue-ui-history-plot-CIXgvWpk.cjs} +1 -1
  87. package/dist/{vue-ui-kpi-DcxE4Vv7.js → vue-ui-kpi-C3tHthXH.js} +3 -3
  88. package/dist/{vue-ui-kpi-BYCMEzBt.cjs → vue-ui-kpi-yiWxNLJ-.cjs} +1 -1
  89. package/dist/{vue-ui-mini-loader-CdDRH8Rb.js → vue-ui-mini-loader-1p1jAKx_.js} +2 -2
  90. package/dist/{vue-ui-mini-loader-DOqUfxRJ.cjs → vue-ui-mini-loader-26yCYjxn.cjs} +1 -1
  91. package/dist/{vue-ui-molecule-C-Z0Ywq1.cjs → vue-ui-molecule-Bw0dYLfu.cjs} +1 -1
  92. package/dist/{vue-ui-molecule-BskBKGbQ.js → vue-ui-molecule-COQ-yrBr.js} +249 -242
  93. package/dist/{vue-ui-mood-radar-BAPZ1LyF.js → vue-ui-mood-radar-CwfGiQ43.js} +111 -104
  94. package/dist/{vue-ui-mood-radar-BIrQKfVf.cjs → vue-ui-mood-radar-Cyde9hnR.cjs} +1 -1
  95. package/dist/{vue-ui-nested-donuts-BB2Kgb5F.js → vue-ui-nested-donuts-BVaW7w1U.js} +117 -110
  96. package/dist/{vue-ui-nested-donuts-7YjtP-jC.cjs → vue-ui-nested-donuts-Y07lLGRa.cjs} +2 -2
  97. package/dist/{vue-ui-onion-BWb18zcN.cjs → vue-ui-onion-DkXss-B_.cjs} +2 -2
  98. package/dist/{vue-ui-onion-BjMfXAZK.js → vue-ui-onion-h6DP9kOi.js} +143 -136
  99. package/dist/{vue-ui-parallel-coordinate-plot-D6Vs-5Vh.cjs → vue-ui-parallel-coordinate-plot-CkI21cq2.cjs} +2 -2
  100. package/dist/{vue-ui-parallel-coordinate-plot-ryqdfkHL.js → vue-ui-parallel-coordinate-plot-O5cwKbzH.js} +113 -106
  101. package/dist/{vue-ui-quadrant-Cr4ypLzT.js → vue-ui-quadrant-CfywvXnV.js} +112 -105
  102. package/dist/{vue-ui-quadrant-BmsHBpKo.cjs → vue-ui-quadrant-F6w-QJE_.cjs} +1 -1
  103. package/dist/{vue-ui-quick-chart-45IEXHb0.cjs → vue-ui-quick-chart-BeMHD_Kz.cjs} +3 -3
  104. package/dist/{vue-ui-quick-chart-C9dIHRYi.js → vue-ui-quick-chart-C1AwFGSr.js} +195 -188
  105. package/dist/{vue-ui-radar-Nr5JmVlk.cjs → vue-ui-radar-BejYh3DW.cjs} +1 -1
  106. package/dist/{vue-ui-radar-T6xdl9ic.js → vue-ui-radar-DDKXLi5o.js} +101 -94
  107. package/dist/{vue-ui-rating-C5AaiBqZ.js → vue-ui-rating-BrGbM0Op.js} +2 -2
  108. package/dist/{vue-ui-rating-CFIhZlG-.cjs → vue-ui-rating-C40ktvn7.cjs} +1 -1
  109. package/dist/{vue-ui-relation-circle-Cw-DcsRY.cjs → vue-ui-relation-circle-C4qT13SI.cjs} +1 -1
  110. package/dist/{vue-ui-relation-circle-BktS594K.js → vue-ui-relation-circle-DrtdiTMX.js} +103 -96
  111. package/dist/{vue-ui-rings-_evAK3j7.js → vue-ui-rings-C4IdhEUE.js} +169 -162
  112. package/dist/{vue-ui-rings-2j5fsO_o.cjs → vue-ui-rings-Cd8WyeDZ.cjs} +2 -2
  113. package/dist/{vue-ui-scatter-C5ePnByD.js → vue-ui-scatter-BS8sgyMi.js} +85 -78
  114. package/dist/{vue-ui-scatter-W1_ChsfO.cjs → vue-ui-scatter-MmvIeu4D.cjs} +1 -1
  115. package/dist/{vue-ui-screenshot-B6ASKPJf.cjs → vue-ui-screenshot-BB51-eRL.cjs} +1 -1
  116. package/dist/{vue-ui-screenshot-DM-PQM2g.js → vue-ui-screenshot-tnFPT1vi.js} +1 -1
  117. package/dist/{vue-ui-skeleton-WoggMoff.js → vue-ui-skeleton-DieABKlo.js} +3 -3
  118. package/dist/{vue-ui-skeleton-DaowWOKJ.cjs → vue-ui-skeleton-DlC-U64G.cjs} +1 -1
  119. package/dist/{vue-ui-smiley-gulDZ8i7.js → vue-ui-smiley-C32wVXgu.js} +2 -2
  120. package/dist/{vue-ui-smiley-hlaNlq2y.cjs → vue-ui-smiley-DSxKw3ud.cjs} +1 -1
  121. package/dist/{vue-ui-spark-trend-LbApLsdt.js → vue-ui-spark-trend-B_x1dX38.js} +5 -5
  122. package/dist/{vue-ui-spark-trend-BcrMflk6.cjs → vue-ui-spark-trend-vexkCCy9.cjs} +1 -1
  123. package/dist/{vue-ui-sparkbar-BdfaDBkw.cjs → vue-ui-sparkbar-CsOEiHDQ.cjs} +1 -1
  124. package/dist/{vue-ui-sparkbar-CnL6FbaE.js → vue-ui-sparkbar-ZSbB6Llo.js} +4 -4
  125. package/dist/{vue-ui-sparkgauge-CHv1q1cO.cjs → vue-ui-sparkgauge-Bdh7X--h.cjs} +1 -1
  126. package/dist/{vue-ui-sparkgauge-Du7PRJyB.js → vue-ui-sparkgauge-Cf3bDk98.js} +4 -4
  127. package/dist/{vue-ui-sparkhistogram-CyEyZvbD.js → vue-ui-sparkhistogram-CrZy1xf0.js} +5 -5
  128. package/dist/{vue-ui-sparkhistogram-CBqKXnvX.cjs → vue-ui-sparkhistogram-fALwb3uK.cjs} +1 -1
  129. package/dist/{vue-ui-sparkline-DRHE0kK8.cjs → vue-ui-sparkline-D4WDvcZR.cjs} +1 -1
  130. package/dist/{vue-ui-sparkline-BMNXPHhB.js → vue-ui-sparkline-DTW_lXgp.js} +5 -5
  131. package/dist/{vue-ui-sparkstackbar-D6wuDd8h.cjs → vue-ui-sparkstackbar-DBPLhUoi.cjs} +1 -1
  132. package/dist/{vue-ui-sparkstackbar-D33lwh8d.js → vue-ui-sparkstackbar-Db2Ndf0k.js} +5 -5
  133. package/dist/{vue-ui-stackbar-CnxGAca-.cjs → vue-ui-stackbar-B3eaSIoO.cjs} +3 -3
  134. package/dist/{vue-ui-stackbar-C5yoqQAY.js → vue-ui-stackbar-DbF3ZJTD.js} +211 -204
  135. package/dist/{vue-ui-strip-plot-Cg1B7i3X.js → vue-ui-strip-plot-CpkH2Gfd.js} +83 -76
  136. package/dist/{vue-ui-strip-plot-DDTTc2jA.cjs → vue-ui-strip-plot-DiCVf5u-.cjs} +1 -1
  137. package/dist/{vue-ui-table-BGfZl0wF.js → vue-ui-table-D6zWwikN.js} +1 -1
  138. package/dist/{vue-ui-table-TV5Coa0A.cjs → vue-ui-table-K13fqkDI.cjs} +1 -1
  139. package/dist/{vue-ui-table-heatmap-Jjx8L8St.cjs → vue-ui-table-heatmap-BgenCoVa.cjs} +1 -1
  140. package/dist/{vue-ui-table-heatmap-D0j2OFv0.js → vue-ui-table-heatmap-EAevgnzN.js} +63 -56
  141. package/dist/{vue-ui-table-sparkline-D0_FhhN5.cjs → vue-ui-table-sparkline-3JMqr89P.cjs} +1 -1
  142. package/dist/{vue-ui-table-sparkline-C2sUG_7S.js → vue-ui-table-sparkline-s_oWe6MG.js} +90 -83
  143. package/dist/{vue-ui-thermometer-Bw35Fw8v.cjs → vue-ui-thermometer--mYRly4x.cjs} +1 -1
  144. package/dist/{vue-ui-thermometer-CdLZ8te2.js → vue-ui-thermometer-Bo3l_0Kf.js} +113 -106
  145. package/dist/{vue-ui-timer-1-kXQ5_q.js → vue-ui-timer-C9EuUurN.js} +6 -6
  146. package/dist/{vue-ui-timer-Deg5YPx0.cjs → vue-ui-timer-Djh-ZDNe.cjs} +1 -1
  147. package/dist/{vue-ui-tiremarks-uSgVLSbo.cjs → vue-ui-tiremarks-CKv_KApZ.cjs} +1 -1
  148. package/dist/{vue-ui-tiremarks-BHTSw0fa.js → vue-ui-tiremarks-DgdpEDJ1.js} +76 -69
  149. package/dist/{vue-ui-treemap-7W_lvbV0.cjs → vue-ui-treemap-AkNJjd2c.cjs} +1 -1
  150. package/dist/{vue-ui-treemap-C2u5sEzh.js → vue-ui-treemap-D13sISL0.js} +144 -137
  151. package/dist/{vue-ui-vertical-bar-BlzOi8LC.cjs → vue-ui-vertical-bar-CQlvpdJl.cjs} +3 -3
  152. package/dist/{vue-ui-vertical-bar-U3LQF-NS.js → vue-ui-vertical-bar-DfegzHj4.js} +120 -113
  153. package/dist/{vue-ui-waffle-DUXvINoC.cjs → vue-ui-waffle-Dve1LWVt.cjs} +1 -1
  154. package/dist/{vue-ui-waffle-qAheWwiI.js → vue-ui-waffle-f72Lq8_D.js} +78 -71
  155. package/dist/{vue-ui-wheel-DIoKCgCS.cjs → vue-ui-wheel-BG1GcVvN.cjs} +1 -1
  156. package/dist/{vue-ui-wheel-CuLQchDK.js → vue-ui-wheel-BxefMdit.js} +105 -98
  157. package/dist/{vue-ui-word-cloud-B-nFH7hZ.js → vue-ui-word-cloud-BYY4K2G4.js} +123 -116
  158. package/dist/{vue-ui-word-cloud-BSvmRQ5n.cjs → vue-ui-word-cloud-CRRR7H7h.cjs} +1 -1
  159. package/dist/{vue-ui-xy-DXMoSF2C.js → vue-ui-xy-BS0_aTIH.js} +73 -66
  160. package/dist/{vue-ui-xy-BGsFH9wE.cjs → vue-ui-xy-DGYZFgdd.cjs} +2 -2
  161. package/dist/{vue-ui-xy-canvas-CTymfSH6.js → vue-ui-xy-canvas-Bl2v7Z3U.js} +200 -193
  162. package/dist/{vue-ui-xy-canvas-i13v43UX.cjs → vue-ui-xy-canvas-R_pPaj0X.cjs} +2 -2
  163. package/package.json +2 -7
  164. package/dist/PenAndPaper-Dbw8Fph9.cjs +0 -1
  165. package/dist/index-Dwoe0gcF.cjs +0 -15
  166. package/dist/index-Fl-W8YeZ.js +0 -3971
  167. package/dist/usePrinter-bPnqqKha.cjs +0 -1
  168. package/dist/useResponsive-YQYQrAZ_.cjs +0 -1
  169. package/dist/vue-ui-circle-pack-Ce1oEvgz.cjs +0 -1
  170. package/dist/vue-ui-circle-pack-CrgnQ_jY.js +0 -663
  171. package/dist/vue-ui-heatmap-DvItO4xs.cjs +0 -1
@@ -1,663 +0,0 @@
1
- import { useCssVars as rt, computed as h, ref as f, watch as Me, onMounted as nt, watchEffect as ut, createElementBlock as c, openBlock as s, unref as i, normalizeStyle as H, normalizeClass as Ne, createBlock as I, createCommentVNode as y, renderSlot as m, createSlots as it, withCtx as C, normalizeProps as X, guardReactiveProps as Y, createVNode as ct, Fragment as P, renderList as oe, createElementVNode as k, mergeProps as _e, toDisplayString as E, createTextVNode as vt, nextTick as dt } from "vue";
2
- import { u as ht, c as Ae, t as se, p as S, a as ft, o as yt, e as mt, b as pt, d as Re, m as bt, h as Ee, f as re, X as gt, l as kt, G as D, a7 as xt, q as wt, r as Ct, i as De } from "./index-DvAaY6OP.js";
3
- import { u as Le } from "./useNestedProp-CGzX7c5Q.js";
4
- import { u as zt, U as $t } from "./usePrinter-D_2jA4x8.js";
5
- import { _ as Tt } from "./Title-dsg3PqUg.js";
6
- import { P as Pt } from "./PenAndPaper-qmkn1GhB.js";
7
- import { u as St } from "./useUserOptionState-BIvW1Kz7.js";
8
- import { _ as Ot } from "./PackageVersion-hltZM-fb.js";
9
- import It from "./vue-ui-accordion-LbUarYuf.js";
10
- import { D as Ft } from "./DataTable-pNLWbeCL.js";
11
- import Mt from "./vue-ui-skeleton-WoggMoff.js";
12
- import { u as Nt } from "./useChartAccessibility-BWojgys7.js";
13
- import { _ as _t } from "./_plugin-vue_export-helper-CHgC5LLL.js";
14
- const At = ["id"], Rt = ["xmlns", "viewBox"], Et = ["x", "y", "width", "height"], Dt = ["id"], Lt = ["stop-color"], Gt = ["stop-color"], Ut = ["stop-color"], Vt = { key: 0 }, Bt = ["x", "y", "width", "height", "stroke", "stroke-width", "fill", "rx", "onMouseenter", "onClick"], Ht = ["x", "y", "width", "height", "stroke", "stroke-width", "fill", "rx"], Xt = ["opacity", "x", "y", "font-size", "fill", "font-weight"], Yt = ["opacity", "x", "y", "font-size", "fill", "font-weight"], Wt = ["d", "fill"], jt = ["cx", "cy", "r", "opacity", "stroke", "fill"], qt = {
15
- key: 0,
16
- style: { pointerEvents: "none" }
17
- }, Zt = { key: 1 }, Jt = ["opacity", "x", "y", "font-size", "fill", "font-weight"], Kt = ["opacity", "x", "y", "font-size", "fill", "font-weight"], Qt = {
18
- key: 6,
19
- class: "vue-data-ui-watermark"
20
- }, el = ["innerHTML"], tl = {
21
- __name: "vue-ui-circle-pack",
22
- props: {
23
- config: {
24
- type: Object,
25
- default() {
26
- return {};
27
- }
28
- },
29
- dataset: {
30
- type: Array,
31
- default() {
32
- return [];
33
- }
34
- }
35
- },
36
- emits: ["selectDatapoint"],
37
- setup(Ge, { expose: Ue, emit: Ve }) {
38
- rt((t) => ({
39
- "7b92e490": O.value,
40
- "0f4fdc89": Z.value
41
- }));
42
- const z = Ge, Be = Ve, { vue_ui_circle_pack: He } = ht(), L = h(() => !!z.dataset && z.dataset.length), F = f(Ae()), ne = f(null), Xe = f(null), Ye = f(null), ue = f(0), ie = f(0), ce = f(0), We = f(null), e = h({
43
- get: () => fe(),
44
- set: (t) => t
45
- }), { svgRef: ve } = Nt({ config: e.value.style.chart.title }), {
46
- userOptionsVisible: W,
47
- setUserOptionsVisibility: de,
48
- keepUserOptionState: he
49
- } = St({ config: e.value });
50
- function fe() {
51
- const t = Le({
52
- userConfig: z.config,
53
- defaultConfig: He
54
- });
55
- return t.theme ? {
56
- ...Le({
57
- userConfig: ft.vue_ui_circle_pack[t.theme] || z.config,
58
- defaultConfig: t
59
- }),
60
- customPalette: se[t.theme] || S
61
- } : t;
62
- }
63
- Me(() => z.config, (t) => {
64
- e.value = fe(), W.value = !e.value.userOptions.showOnChartHover, j(), ue.value += 1, ie.value += 1, M.value.showTable = e.value.table.show;
65
- }, { deep: !0 });
66
- const { isPrinting: ye, isImaging: me, generatePdf: pe, generateImage: be } = zt({
67
- elementId: `vue-ui-circle-pack_${F.value}`,
68
- fileName: e.value.style.chart.title.text || "vue-ui-circle-pack"
69
- }), je = h(() => e.value.userOptions.show && !e.value.style.chart.title.text), M = f({
70
- showTable: e.value.table.show
71
- });
72
- async function j() {
73
- yt(z.dataset) && mt({
74
- componentName: "VueUiCirclePack",
75
- type: "dataset"
76
- }), await Ke();
77
- }
78
- nt(j), Me(() => z.dataset, async (t) => {
79
- await j();
80
- }, { deep: !0 });
81
- const ge = h(() => pt(e.value.customPalette));
82
- function ke(t, a) {
83
- return Math.hypot(a.x - t.x, a.y - t.y);
84
- }
85
- function xe(t, a) {
86
- return a.some((l) => ke(t, l) < t.radius + l.radius);
87
- }
88
- function qe(t, a, l, r) {
89
- const v = a * 2;
90
- for (let x of t)
91
- for (let w = 0; w < 360; w += 1) {
92
- let R = w * Math.PI / 180, u = x.x + v * Math.cos(R), o = x.y - v * Math.sin(R), g = { x: u, y: o, radius: a };
93
- if (u - a >= 0 && u + a <= l && o - a >= 0 && o + a <= r && !xe(g, t))
94
- return { x: u, y: o };
95
- }
96
- return null;
97
- }
98
- function Ze({
99
- datapoints: t,
100
- width: a,
101
- height: l,
102
- maxRadius: r,
103
- offsetX: v = 0,
104
- offsetY: x = 0
105
- }) {
106
- const w = Math.max(...t.map((g) => g.value)), u = t.map((g, d) => ({
107
- ...g,
108
- radius: g.value / w * r,
109
- index: d
110
- })).map((g, d) => ({ ...g, index: d })).toSorted((g, d) => d.radius - g.radius);
111
- let o = [];
112
- o.push({
113
- ...u[0],
114
- x: a / 2 + v,
115
- y: l / 2 + x
116
- });
117
- for (let g of u.slice(1)) {
118
- let { radius: d, ...Pe } = g, Q = qe(o, d, a, l);
119
- if (Q)
120
- o.push({ ...Pe, x: Q.x, y: Q.y, radius: d });
121
- else {
122
- let ee = null, Se = 1 / 0;
123
- for (let V of o)
124
- for (let te = 0; te < 360; te += 15) {
125
- let Oe = te * Math.PI / 180, le = V.x + (d + V.radius) * Math.cos(Oe), ae = V.y + (d + V.radius) * Math.sin(Oe), B = { ...Pe, x: le, y: ae, radius: d };
126
- if (le - d >= 0 && le + d <= a && ae - d >= 0 && ae + d <= l && !xe(B, o)) {
127
- let Ie = o.reduce(
128
- (st, Fe) => st + (ke(B, Fe) < B.radius + Fe.radius ? 1 : 0),
129
- 0
130
- );
131
- Ie < Se && (Se = Ie, ee = B);
132
- }
133
- }
134
- ee && o.push(ee);
135
- }
136
- }
137
- return o;
138
- }
139
- const q = h(() => z.dataset.map((t, a) => {
140
- const l = Re(t.color) || ge.value[a] || se[e.value.theme || "default"][a % se[e.value.theme || "default"].length] || S[a] || S[a % S.length];
141
- return {
142
- ...t,
143
- id: Ae(),
144
- color: l
145
- };
146
- }).filter((t) => ![null, void 0, 1 / 0, -1 / 0].includes(t.value))), b = f([]), Je = h(() => Math.max(...b.value.map((t) => t.radius)));
147
- function we(t, a) {
148
- return a / Je.value * t;
149
- }
150
- async function Ke() {
151
- b.value = Ze({
152
- datapoints: q.value,
153
- width: 1e4,
154
- height: 1e4,
155
- maxRadius: 32
156
- });
157
- }
158
- const Ce = h(() => ({
159
- width: 100,
160
- height: 100
161
- })), p = h(() => {
162
- const t = b.value.reduce((u, o) => o.x - o.radius < u.x - u.radius ? o : u, b.value[0]), a = b.value.reduce((u, o) => o.y - o.radius < u.y - u.radius ? o : u, b.value[0]), l = b.value.reduce((u, o) => o.x + o.radius > u.x + u.radius ? o : u, b.value[0]), r = b.value.reduce((u, o) => o.y + o.radius > u.y + u.radius ? o : u, b.value[0]), v = (t == null ? void 0 : t.x) || 0, x = (l == null ? void 0 : l.x) || Ce.value.width, w = (a == null ? void 0 : a.y) || 0, R = (r == null ? void 0 : r.y) || Ce.value.height;
163
- return {
164
- maxX: x,
165
- minX: v,
166
- width: Math.abs(x - v) + (t ? t.radius : 0) + (l ? l.radius : 0) + e.value.style.chart.circles.strokeWidth * 4,
167
- height: Math.abs(R - w) + (a ? a.radius : 0) + (r ? r.radius : 0) + e.value.style.chart.circles.strokeWidth * 4,
168
- x: t ? (t == null ? void 0 : t.x) - (t == null ? void 0 : t.radius) - e.value.style.chart.circles.strokeWidth * 2 : 0,
169
- y: a ? (a == null ? void 0 : a.y) - (a == null ? void 0 : a.radius) - e.value.style.chart.circles.strokeWidth * 2 : 0
170
- };
171
- }), Qe = h(() => b.value.map((t) => {
172
- if (t.breakdown)
173
- return bt(
174
- { series: t.breakdown.map((a, l) => ({
175
- ...a,
176
- color: Re(a.color) || ge.value[l] || S[l] || S[l % S.length]
177
- })) },
178
- t.x,
179
- t.y,
180
- t.radius,
181
- t.radius,
182
- 1.99999,
183
- 2,
184
- 1,
185
- 360,
186
- 105.25,
187
- t.radius / 2
188
- );
189
- })), n = f(null);
190
- function et(t) {
191
- e.value.style.chart.circles.zoom.show && (n.value = t);
192
- }
193
- const O = h(() => n.value ? n.value.radius : 0), Z = h(() => T.value ? O.value : 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), $ = f(0), tt = h(() => ({
194
- pointerEvents: "none",
195
- opacity: $.value,
196
- filter: `drop-shadow(0px 0px 6px ${Ee(n.value.color, e.value.style.chart.circles.zoom.shadowForce)})`
197
- })), N = f(O.value);
198
- ut(() => {
199
- N.value = O.value, $.value = 0;
200
- let t = null;
201
- function a(l) {
202
- t || (t = l);
203
- const r = (l - t) / e.value.style.chart.circles.zoom.animationFrameMs;
204
- r < 1 ? (N.value = O.value + (Z.value - O.value) * r, $.value = 0 + e.value.style.chart.circles.zoom.opacity * r, requestAnimationFrame(a)) : (N.value = Z.value, $.value = e.value.style.chart.circles.zoom.opacity);
205
- }
206
- requestAnimationFrame(a);
207
- });
208
- const _ = h(() => ({
209
- name: e.value.style.chart.circles.zoom.label.name.fontSize * p.value.width / 300,
210
- value: e.value.style.chart.circles.zoom.label.value.fontSize * p.value.width / 300
211
- }));
212
- function J(t) {
213
- return De(
214
- e.value.style.chart.circles.labels.value.formatter,
215
- t.value,
216
- re({
217
- p: e.value.style.chart.circles.labels.value.prefix,
218
- v: t.value,
219
- s: e.value.style.chart.circles.labels.value.suffix,
220
- r: e.value.style.chart.circles.labels.value.rounding
221
- })
222
- );
223
- }
224
- function lt() {
225
- return De(
226
- e.value.style.chart.circles.zoom.label.value.formatter,
227
- n.value.value,
228
- re({
229
- p: e.value.style.chart.circles.zoom.label.value.prefix,
230
- v: n.value.value,
231
- s: e.value.style.chart.circles.zoom.label.value.suffix,
232
- r: e.value.style.chart.circles.zoom.label.value.rounding
233
- })
234
- );
235
- }
236
- function ze(t) {
237
- if (!t)
238
- return 0;
239
- const a = t.radius / J(t).length * (J(t).length === 1 ? 1 : 2);
240
- return Math.min(t.radius / 2.5, a);
241
- }
242
- const A = f(!1);
243
- function at(t) {
244
- A.value = t, ce.value += 1;
245
- }
246
- const T = f(!1);
247
- function K() {
248
- T.value = !T.value;
249
- }
250
- const G = h(() => {
251
- const t = q.value.map((l) => ({
252
- name: l.name,
253
- value: l.value,
254
- color: l.color
255
- })).toSorted((l, r) => r.value - l.value), a = t.map((l) => l.value);
256
- return { head: t, body: a };
257
- });
258
- function $e() {
259
- dt(() => {
260
- const t = G.value.head.map((r, v) => [[
261
- r.name
262
- ], [G.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 = wt(a);
263
- Ct({ csvContent: l, title: e.value.style.chart.title.text || "vue-ui-circle-pack" });
264
- });
265
- }
266
- const U = h(() => {
267
- const t = [
268
- e.value.table.columnNames.datapoint,
269
- e.value.table.columnNames.value
270
- ], a = G.value.head.map((v, x) => {
271
- const w = re({
272
- p: e.value.style.chart.circles.labels.value.prefix,
273
- v: G.value.body[x],
274
- s: e.value.style.chart.circles.labels.value.suffix,
275
- r: e.value.style.chart.circles.labels.value.rounding
276
- });
277
- return [
278
- {
279
- color: v.color,
280
- name: v.name
281
- },
282
- w
283
- ];
284
- }), l = {
285
- th: {
286
- backgroundColor: e.value.table.th.backgroundColor,
287
- color: e.value.table.th.color,
288
- outline: e.value.table.th.outline
289
- },
290
- td: {
291
- backgroundColor: e.value.table.td.backgroundColor,
292
- color: e.value.table.td.color,
293
- outline: e.value.table.td.outline
294
- },
295
- breakpoint: e.value.table.responsiveBreakpoint
296
- };
297
- return {
298
- colNames: [
299
- e.value.table.columnNames.datapoint,
300
- e.value.table.columnNames.value
301
- ],
302
- head: t,
303
- body: a,
304
- config: l
305
- };
306
- });
307
- function Te() {
308
- M.value.showTable = !M.value.showTable;
309
- }
310
- function ot() {
311
- return q.value;
312
- }
313
- return Ue({
314
- getData: ot,
315
- generateCsv: $e,
316
- generatePdf: pe,
317
- generateImage: be,
318
- toggleTable: Te,
319
- toggleAnnotator: K
320
- }), (t, a) => (s(), c("div", {
321
- id: `vue-ui-circle-pack_${F.value}`,
322
- class: Ne(`vue-ui-circle-pack ${A.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
323
- ref_key: "circlePackChart",
324
- ref: ne,
325
- style: H(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
326
- onMouseenter: a[2] || (a[2] = () => i(de)(!0)),
327
- onMouseleave: a[3] || (a[3] = () => i(de)(!1))
328
- }, [
329
- e.value.userOptions.buttons.annotator ? (s(), I(Pt, {
330
- key: 0,
331
- svgRef: i(ve),
332
- backgroundColor: e.value.style.chart.backgroundColor,
333
- color: e.value.style.chart.color,
334
- active: T.value,
335
- onClose: K
336
- }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : y("", !0),
337
- m(t.$slots, "userConfig", {}, void 0, !0),
338
- je.value ? (s(), c("div", {
339
- key: 1,
340
- ref_key: "noTitle",
341
- ref: Ye,
342
- class: "vue-data-ui-no-title-space",
343
- style: "height:36px; width: 100%;background:transparent"
344
- }, null, 512)) : y("", !0),
345
- e.value.style.chart.title.text ? (s(), c("div", {
346
- key: 2,
347
- ref_key: "chartTitle",
348
- ref: Xe,
349
- style: "width:100%;background:transparent;padding-bottom:12px"
350
- }, [
351
- (s(), I(Tt, {
352
- key: `title_${ue.value}`,
353
- config: {
354
- title: {
355
- cy: "donut-div-title",
356
- ...e.value.style.chart.title
357
- },
358
- subtitle: {
359
- cy: "donut-div-subtitle",
360
- ...e.value.style.chart.title.subtitle
361
- }
362
- }
363
- }, null, 8, ["config"]))
364
- ], 512)) : y("", !0),
365
- e.value.userOptions.show && L.value && (i(he) || i(W)) ? (s(), I($t, {
366
- ref: "details",
367
- key: `user_option_${ce.value}`,
368
- backgroundColor: e.value.style.chart.backgroundColor,
369
- color: e.value.style.chart.color,
370
- isPrinting: i(ye),
371
- isImaging: i(me),
372
- uid: F.value,
373
- hasTooltip: !1,
374
- hasLabel: !1,
375
- hasPdf: e.value.userOptions.buttons.pdf,
376
- hasImg: e.value.userOptions.buttons.img,
377
- hasXls: e.value.userOptions.buttons.csv,
378
- hasTable: e.value.userOptions.buttons.table,
379
- hasFullscreen: e.value.userOptions.buttons.fullscreen,
380
- isFullscreen: A.value,
381
- chartElement: ne.value,
382
- position: e.value.userOptions.position,
383
- titles: { ...e.value.userOptions.buttonTitles },
384
- hasAnnotator: e.value.userOptions.buttons.annotator,
385
- isAnnotation: T.value,
386
- onToggleFullscreen: at,
387
- onGeneratePdf: i(pe),
388
- onGenerateCsv: $e,
389
- onGenerateImage: i(be),
390
- onToggleTable: Te,
391
- onToggleAnnotator: K,
392
- style: H({
393
- visibility: i(he) ? i(W) ? "visible" : "hidden" : "visible"
394
- })
395
- }, it({ _: 2 }, [
396
- t.$slots.optionPdf ? {
397
- name: "optionPdf",
398
- fn: C(() => [
399
- m(t.$slots, "optionPdf", {}, void 0, !0)
400
- ]),
401
- key: "0"
402
- } : void 0,
403
- t.$slots.optionCsv ? {
404
- name: "optionCsv",
405
- fn: C(() => [
406
- m(t.$slots, "optionCsv", {}, void 0, !0)
407
- ]),
408
- key: "1"
409
- } : void 0,
410
- t.$slots.optionImg ? {
411
- name: "optionImg",
412
- fn: C(() => [
413
- m(t.$slots, "optionImg", {}, void 0, !0)
414
- ]),
415
- key: "2"
416
- } : void 0,
417
- t.$slots.optionTable ? {
418
- name: "optionTable",
419
- fn: C(() => [
420
- m(t.$slots, "optionTable", {}, void 0, !0)
421
- ]),
422
- key: "3"
423
- } : void 0,
424
- t.$slots.optionFullscreen ? {
425
- name: "optionFullscreen",
426
- fn: C(({ toggleFullscreen: l, isFullscreen: r }) => [
427
- m(t.$slots, "optionFullscreen", X(Y({ toggleFullscreen: l, isFullscreen: r })), void 0, !0)
428
- ]),
429
- key: "4"
430
- } : void 0,
431
- t.$slots.optionAnnotator ? {
432
- name: "optionAnnotator",
433
- fn: C(({ toggleAnnotator: l, isAnnotator: r }) => [
434
- m(t.$slots, "optionAnnotator", X(Y({ toggleAnnotator: l, isAnnotator: r })), void 0, !0)
435
- ]),
436
- key: "5"
437
- } : void 0
438
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "chartElement", "position", "titles", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : y("", !0),
439
- L.value ? (s(), c("svg", {
440
- key: 4,
441
- ref_key: "svgRef",
442
- ref: ve,
443
- xmlns: i(gt),
444
- viewBox: `${p.value.x} ${p.value.y} ${p.value.width} ${p.value.height}`,
445
- width: "100%",
446
- class: Ne({ "vue-data-ui-fullscreen--on": A.value, "vue-data-ui-fulscreen--off": !A.value }),
447
- style: H(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color};`)
448
- }, [
449
- ct(Ot),
450
- t.$slots["chart-background"] ? (s(), c("foreignObject", {
451
- key: 0,
452
- x: p.value.x,
453
- y: p.value.y,
454
- width: p.value.width,
455
- height: p.value.height,
456
- style: {
457
- pointerEvents: "none"
458
- }
459
- }, [
460
- m(t.$slots, "chart-background", {}, void 0, !0)
461
- ], 8, Et)) : y("", !0),
462
- (s(!0), c(P, null, oe(b.value, (l) => (s(), c(P, null, [
463
- k("defs", null, [
464
- k("radialGradient", {
465
- id: l.id,
466
- fy: "30%"
467
- }, [
468
- k("stop", {
469
- offset: "10%",
470
- "stop-color": i(kt)(l.color, e.value.style.chart.circles.gradient.intensity / 100)
471
- }, null, 8, Lt),
472
- k("stop", {
473
- offset: "90%",
474
- "stop-color": i(Ee)(l.color, 0.1)
475
- }, null, 8, Gt),
476
- k("stop", {
477
- offset: "100%",
478
- "stop-color": l.color
479
- }, null, 8, Ut)
480
- ], 8, Dt)
481
- ]),
482
- t.$slots.pattern ? (s(), c("g", Vt, [
483
- k("defs", null, [
484
- m(t.$slots, "pattern", _e({ ref_for: !0 }, { ...l, patternId: `pattern_${F.value}_${l.id}` }), void 0, !0)
485
- ])
486
- ])) : y("", !0),
487
- k("rect", {
488
- x: l.x - l.radius,
489
- y: l.y - l.radius,
490
- width: l.radius * 2,
491
- height: l.radius * 2,
492
- stroke: e.value.style.chart.circles.stroke,
493
- "stroke-width": e.value.style.chart.circles.strokeWidth,
494
- fill: e.value.style.chart.circles.gradient.show ? `url(#${l.id})` : l.color,
495
- rx: l.radius,
496
- onMouseenter: () => et(l),
497
- onMouseout: a[0] || (a[0] = (r) => n.value = null),
498
- onClick: (r) => Be("selectDatapoint", l)
499
- }, null, 40, Bt),
500
- t.$slots.pattern ? (s(), c("rect", {
501
- key: 1,
502
- x: l.x - l.radius,
503
- y: l.y - l.radius,
504
- width: l.radius * 2,
505
- height: l.radius * 2,
506
- stroke: e.value.style.chart.circles.stroke,
507
- "stroke-width": e.value.style.chart.circles.strokeWidth,
508
- fill: `url(#pattern_${F.value}_${l.id})`,
509
- rx: l.radius,
510
- style: {
511
- pointerEvents: "none"
512
- }
513
- }, null, 8, Ht)) : y("", !0),
514
- t.$slots["data-label"] ? m(t.$slots, "data-label", _e({
515
- key: 2,
516
- ref_for: !0
517
- }, { ...l, createTSpans: i(xt), fontSize: { name: l.radius / 3 * e.value.style.chart.circles.labels.name.fontSizeRatio, value: ze(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 : i(D)(l.color) }), void 0, !0) : (s(), c(P, { key: 3 }, [
518
- e.value.style.chart.circles.labels.name.show && l.name ? (s(), c("text", {
519
- key: 0,
520
- style: {
521
- pointerEvents: "none",
522
- transition: "opacity 0.2s ease-in-out"
523
- },
524
- opacity: n.value && !T.value ? 0.2 : 1,
525
- x: l.x,
526
- y: l.y + we(l.radius, e.value.style.chart.circles.labels.name.offsetY) - l.radius / 6,
527
- "font-size": l.radius / 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 : i(D)(l.color),
529
- "font-weight": e.value.style.chart.circles.labels.name.bold ? "bold" : "normal",
530
- "text-anchor": "middle"
531
- }, E(l.name), 9, Xt)) : y("", !0),
532
- e.value.style.chart.circles.labels.value.show ? (s(), c("text", {
533
- key: 1,
534
- style: {
535
- pointerEvents: "none",
536
- transition: "opacity 0.2s ease-in-out"
537
- },
538
- opacity: n.value && !T.value ? 0.2 : 1,
539
- x: l.x,
540
- y: l.y + we(l.radius, e.value.style.chart.circles.labels.value.offsetY) + l.radius / 3,
541
- "font-size": ze(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 : i(D)(l.color),
543
- "font-weight": e.value.style.chart.circles.labels.value.bold ? "bold" : "normal",
544
- "text-anchor": "middle"
545
- }, E(J(l)), 9, Yt)) : y("", !0)
546
- ], 64)),
547
- (s(!0), c(P, null, oe(Qe.value, (r) => (s(), c(P, null, [
548
- (s(!0), c(P, null, oe(r, (v) => (s(), c("path", {
549
- d: v.arcSlice,
550
- fill: v.color,
551
- stroke: "black"
552
- }, null, 8, Wt))), 256))
553
- ], 64))), 256))
554
- ], 64))), 256)),
555
- n.value && e.value.style.chart.circles.zoom.show && !T.value ? (s(), c(P, { key: 1 }, [
556
- k("circle", {
557
- style: H(tt.value),
558
- cx: n.value.x,
559
- cy: n.value.y,
560
- r: N.value,
561
- opacity: $.value,
562
- stroke: e.value.style.chart.circles.stroke,
563
- fill: e.value.style.chart.circles.gradient.show ? `url(#${n.value.id})` : n.value.color
564
- }, null, 12, jt),
565
- t.$slots["zoom-label"] ? (s(), c("g", qt, [
566
- m(t.$slots, "zoom-label", X(Y({ ...n.value, zoomOpacity: $.value, currentRadius: N.value, fontSize: _.value })), void 0, !0)
567
- ])) : (s(), c("g", Zt, [
568
- k("text", {
569
- style: {
570
- pointerEvents: "none"
571
- },
572
- opacity: $.value,
573
- x: n.value.x,
574
- y: n.value.y + e.value.style.chart.circles.zoom.label.name.offsetY - _.value.name / 4,
575
- "text-anchor": "middle",
576
- "font-size": _.value.name,
577
- fill: e.value.style.chart.circles.zoom.label.name.color ? e.value.style.chart.circles.zoom.label.name.color : i(D)(n.value.color),
578
- "font-weight": e.value.style.chart.circles.zoom.label.name.bold ? "bold" : "normal"
579
- }, E(n.value.name), 9, Jt),
580
- k("text", {
581
- style: {
582
- pointerEvents: "none"
583
- },
584
- opacity: $.value,
585
- x: n.value.x,
586
- y: n.value.y + _.value.value + e.value.style.chart.circles.zoom.label.value.offsetY,
587
- "text-anchor": "middle",
588
- "font-size": _.value.value,
589
- fill: e.value.style.chart.circles.zoom.label.value.color ? e.value.style.chart.circles.zoom.label.value.color : i(D)(n.value.color),
590
- "font-weight": e.value.style.chart.circles.zoom.label.value.bold ? "bold" : "normal"
591
- }, E(lt()), 9, Kt)
592
- ]))
593
- ], 64)) : y("", !0),
594
- m(t.$slots, "svg", {
595
- svg: { ...p.value }
596
- }, void 0, !0)
597
- ], 14, Rt)) : y("", !0),
598
- L.value ? y("", !0) : (s(), I(Mt, {
599
- key: 5,
600
- config: {
601
- type: "circlePack",
602
- style: {
603
- color: "#CCCCCC"
604
- }
605
- }
606
- })),
607
- t.$slots.watermark ? (s(), c("div", Qt, [
608
- m(t.$slots, "watermark", X(Y({ isPrinting: i(ye) || i(me) })), void 0, !0)
609
- ])) : y("", !0),
610
- t.$slots.source ? (s(), c("div", {
611
- key: 7,
612
- ref_key: "source",
613
- ref: We,
614
- dir: "auto"
615
- }, [
616
- m(t.$slots, "source", {}, void 0, !0)
617
- ], 512)) : y("", !0),
618
- L.value ? (s(), I(It, {
619
- key: 8,
620
- hideDetails: "",
621
- config: {
622
- open: M.value.showTable,
623
- maxHeight: 1e4,
624
- body: {
625
- backgroundColor: e.value.style.chart.backgroundColor,
626
- color: e.value.style.chart.color
627
- },
628
- head: {
629
- backgroundColor: e.value.style.chart.backgroundColor,
630
- color: e.value.style.chart.color
631
- }
632
- }
633
- }, {
634
- content: C(() => [
635
- (s(), I(Ft, {
636
- key: `table_${ie.value}`,
637
- colNames: U.value.colNames,
638
- head: U.value.head,
639
- body: U.value.body,
640
- config: U.value.config,
641
- title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
642
- onClose: a[1] || (a[1] = (l) => M.value.showTable = !1)
643
- }, {
644
- th: C(({ th: l }) => [
645
- k("div", {
646
- innerHTML: l,
647
- style: { display: "flex", "align-items": "center" }
648
- }, null, 8, el)
649
- ]),
650
- td: C(({ td: l }) => [
651
- vt(E(l.name || l), 1)
652
- ]),
653
- _: 1
654
- }, 8, ["colNames", "head", "body", "config", "title"]))
655
- ]),
656
- _: 1
657
- }, 8, ["config"])) : y("", !0)
658
- ], 46, At));
659
- }
660
- }, yl = /* @__PURE__ */ _t(tl, [["__scopeId", "data-v-3a8c7731"]]);
661
- export {
662
- yl as default
663
- };