vue-data-ui 2.6.6 → 2.6.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (197) hide show
  1. package/dist/{Arrow-DFWjAvCY.js → Arrow-BHD3VBsD.js} +1 -1
  2. package/dist/{Arrow-BYqxz6UG.cjs → Arrow-YuEygGzC.cjs} +1 -1
  3. package/dist/{BaseIcon-COe_H-UB.cjs → BaseIcon-D326yPTV.cjs} +1 -1
  4. package/dist/{BaseIcon-t20JEZNG.js → BaseIcon-dThl5uNa.js} +1 -1
  5. package/dist/{DataTable-Du7nJ0TM.cjs → DataTable-CaD8j-SL.cjs} +1 -1
  6. package/dist/{DataTable-CJN0sipt.js → DataTable-D0-zzsJg.js} +2 -2
  7. package/dist/{Legend-CM7IGBC3.cjs → Legend-CEw2uq9s.cjs} +1 -1
  8. package/dist/{Legend-BDyPoYfp.js → Legend-Oaw0MY8Y.js} +2 -2
  9. package/dist/{PackageVersion-qeLvq6l8.cjs → PackageVersion-CCgJTyH9.cjs} +1 -1
  10. package/dist/{PackageVersion-DqmHcoqz.js → PackageVersion-J_USnljf.js} +1 -1
  11. package/dist/{PenAndPaper-6UYizrkQ.js → PenAndPaper-CoEXEMcN.js} +3 -3
  12. package/dist/{PenAndPaper-BYqaxOpk.cjs → PenAndPaper-DvNBHCpq.cjs} +1 -1
  13. package/dist/Shape-Cwx-wRaK.cjs +1 -0
  14. package/dist/{Shape-C_qIhG3J.js → Shape-Dtm6toQp.js} +26 -23
  15. package/dist/{Slicer-DPae3p1M.cjs → Slicer-7z_6bjyU.cjs} +1 -1
  16. package/dist/{Slicer-BQP3UIW-.js → Slicer-BAcq2vD0.js} +2 -2
  17. package/dist/{Title-BGiQdt7J.cjs → Title-BQSh4ukk.cjs} +1 -1
  18. package/dist/{Title-D6h1gTvZ.js → Title-DePxeqVl.js} +1 -1
  19. package/dist/{Tooltip-BonEVaob.js → Tooltip-DRw9RoFp.js} +23 -20
  20. package/dist/Tooltip-DtqrGu-Q.cjs +1 -0
  21. package/dist/{index-B9qF6XbP.js → index-CZlI7PiS.js} +1 -1
  22. package/dist/{index-kZKcQZM_.cjs → index-DD4PT0Pl.cjs} +1 -1
  23. package/dist/style.css +1 -1
  24. package/dist/useChartAccessibility-BWojgys7.js +13 -0
  25. package/dist/useChartAccessibility-Cm7nkzTG.cjs +1 -0
  26. package/dist/{useNestedProp-g5oKzlVy.js → useNestedProp-Cg0NIwr6.js} +1 -1
  27. package/dist/{useNestedProp-D4Jn2Oxr.cjs → useNestedProp-DU7JFxpL.cjs} +1 -1
  28. package/dist/{usePrinter-DR42gTOS.cjs → usePrinter-BtJq2wwh.cjs} +1 -1
  29. package/dist/{usePrinter-DsiBLAy1.js → usePrinter-D-sSdR2l.js} +1 -1
  30. package/dist/{vue-data-ui-DB2kdhYH.js → vue-data-ui-Dh3BJvUF.js} +61 -61
  31. package/dist/{vue-data-ui-DbhVASfn.cjs → vue-data-ui-DzVmFW3P.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-DHeSFJ5z.js → vue-ui-3d-bar-Ckd-GTWY.js} +171 -168
  35. package/dist/vue-ui-3d-bar-llxfgI9N.cjs +19 -0
  36. package/dist/{vue-ui-accordion-BfDu7hTY.cjs → vue-ui-accordion-2He8z0Sy.cjs} +1 -1
  37. package/dist/{vue-ui-accordion-DBmchkva.js → vue-ui-accordion-DVtmOO3I.js} +3 -3
  38. package/dist/{vue-ui-age-pyramid-CvUCPqxa.js → vue-ui-age-pyramid-BUGAES7K.js} +85 -82
  39. package/dist/vue-ui-age-pyramid-CxBb12yp.cjs +1 -0
  40. package/dist/{vue-ui-annotator-BV9t6ro7.cjs → vue-ui-annotator-BDUanFLb.cjs} +1 -1
  41. package/dist/{vue-ui-annotator-Dr5PLrJx.js → vue-ui-annotator-gIa7-tAI.js} +1 -1
  42. package/dist/vue-ui-bullet-Bg8f_RzX.cjs +34 -0
  43. package/dist/{vue-ui-bullet-D7Uw9tez.js → vue-ui-bullet-DNfzMdcg.js} +92 -89
  44. package/dist/vue-ui-candlestick-CnKPX6xB.cjs +2 -0
  45. package/dist/{vue-ui-candlestick-BFmh-zx1.js → vue-ui-candlestick-jErGIOZA.js} +155 -152
  46. package/dist/{vue-ui-carousel-table-CUhkylz_.js → vue-ui-carousel-table-DHyvpjWL.js} +4 -4
  47. package/dist/{vue-ui-carousel-table-C30Gvanv.cjs → vue-ui-carousel-table-DsY9Mrdg.cjs} +1 -1
  48. package/dist/vue-ui-chestnut-BTCxF3dU.cjs +6 -0
  49. package/dist/{vue-ui-chestnut-C53wdHmR.js → vue-ui-chestnut-kQjk4FqR.js} +186 -183
  50. package/dist/{vue-ui-circle-pack-Bj3sA7RV.js → vue-ui-circle-pack-BQbwIDRa.js} +99 -96
  51. package/dist/vue-ui-circle-pack-D-eMMNzU.cjs +1 -0
  52. package/dist/{vue-ui-cursor-ZBrt-jTo.cjs → vue-ui-cursor-Dd2eSMAz.cjs} +1 -1
  53. package/dist/{vue-ui-cursor-0GY46Ywr.js → vue-ui-cursor-xy62w2ep.js} +2 -2
  54. package/dist/{vue-ui-dashboard-BX787_or.js → vue-ui-dashboard-DPjU-kPn.js} +2 -2
  55. package/dist/{vue-ui-dashboard-pzZD8J2y.cjs → vue-ui-dashboard-nMODKstD.cjs} +1 -1
  56. package/dist/{vue-ui-digits-BvCMwL0L.js → vue-ui-digits-BNTE0Lsb.js} +2 -2
  57. package/dist/{vue-ui-digits-Blb8fghV.cjs → vue-ui-digits-Beuy8wvV.cjs} +1 -1
  58. package/dist/vue-ui-donut-DWKUDr7k.cjs +1 -0
  59. package/dist/vue-ui-donut-evolution-BICtQ8ke.cjs +1 -0
  60. package/dist/{vue-ui-donut-evolution-DRfJVMrP.js → vue-ui-donut-evolution-DfHfXqar.js} +133 -131
  61. package/dist/{vue-ui-donut-yBjSgsTz.js → vue-ui-donut-ipVF2Pk6.js} +158 -155
  62. package/dist/{vue-ui-dumbbell-4-hWZn-o.js → vue-ui-dumbbell-D04To0aO.js} +125 -122
  63. package/dist/vue-ui-dumbbell-DPZYa6RZ.cjs +9 -0
  64. package/dist/{vue-ui-flow-aH6xSdwn.js → vue-ui-flow-DYpBU4gG.js} +96 -93
  65. package/dist/vue-ui-flow-HFjfjzgX.cjs +1 -0
  66. package/dist/vue-ui-funnel-BwClLXO6.cjs +1 -0
  67. package/dist/{vue-ui-funnel-BZy4SvlW.js → vue-ui-funnel-CVQHETom.js} +88 -85
  68. package/dist/vue-ui-galaxy-B0W8yBZU.cjs +1 -0
  69. package/dist/{vue-ui-galaxy-GDXdZqjm.js → vue-ui-galaxy-DseGnRIL.js} +123 -120
  70. package/dist/vue-ui-gauge-0vhiDi19.cjs +1 -0
  71. package/dist/{vue-ui-gauge-CeyHdkuS.js → vue-ui-gauge-B7nCLtyI.js} +86 -83
  72. package/dist/{vue-ui-gizmo-veFxjktw.js → vue-ui-gizmo-C1fpqm2H.js} +3 -3
  73. package/dist/{vue-ui-gizmo-CRTzb1J_.cjs → vue-ui-gizmo-CTMnMH7C.cjs} +1 -1
  74. package/dist/{vue-ui-heatmap-BizLgjJ8.js → vue-ui-heatmap-B0a6TegZ.js} +109 -106
  75. package/dist/vue-ui-heatmap-DjxXVFyU.cjs +1 -0
  76. package/dist/vue-ui-history-plot-CfjWg_3c.cjs +1 -0
  77. package/dist/{vue-ui-history-plot-gzx5uGyY.js → vue-ui-history-plot-DsLgXpZ8.js} +130 -127
  78. package/dist/{vue-ui-kpi-CP08PB51.cjs → vue-ui-kpi-CTsWQvCi.cjs} +1 -1
  79. package/dist/{vue-ui-kpi-MdyAQjdJ.js → vue-ui-kpi-be1EaVNS.js} +3 -3
  80. package/dist/{vue-ui-mini-loader-CYVr1K6S.js → vue-ui-mini-loader-BHm2QQQF.js} +2 -2
  81. package/dist/{vue-ui-mini-loader-BRmtJ6az.cjs → vue-ui-mini-loader-DLdlPE48.cjs} +1 -1
  82. package/dist/{vue-ui-molecule-CJ05ddhf.js → vue-ui-molecule--G2QIMak.js} +147 -144
  83. package/dist/vue-ui-molecule-DQOP_2JN.cjs +1 -0
  84. package/dist/{vue-ui-mood-radar-DG1pF6Ii.js → vue-ui-mood-radar-Bhr5Q9pC.js} +97 -94
  85. package/dist/vue-ui-mood-radar-HxyTIDLP.cjs +1 -0
  86. package/dist/vue-ui-nested-donuts-C0aK_Cmr.cjs +17 -0
  87. package/dist/{vue-ui-nested-donuts-CDjZ6KfI.js → vue-ui-nested-donuts-Dtll0W-x.js} +99 -96
  88. package/dist/{vue-ui-onion-DsskQUiP.js → vue-ui-onion-CRRZ8ajr.js} +105 -102
  89. package/dist/vue-ui-onion-DJFv8ezH.cjs +5 -0
  90. package/dist/vue-ui-parallel-coordinate-plot-BTkf3dkR.cjs +8 -0
  91. package/dist/{vue-ui-parallel-coordinate-plot-D7r71vdp.js → vue-ui-parallel-coordinate-plot-DMk3iobe.js} +97 -94
  92. package/dist/vue-ui-quadrant-B7iHGaqG.cjs +1 -0
  93. package/dist/{vue-ui-quadrant-DCHEhvMX.js → vue-ui-quadrant-EcGC8p0U.js} +155 -152
  94. package/dist/vue-ui-quick-chart-BOla8Yse.cjs +15 -0
  95. package/dist/{vue-ui-quick-chart-BB5b4AQ1.js → vue-ui-quick-chart-D6AS1YSx.js} +164 -161
  96. package/dist/vue-ui-radar-DmM3tCiY.cjs +1 -0
  97. package/dist/{vue-ui-radar-CNEXWSEx.js → vue-ui-radar-LzAasUWm.js} +105 -102
  98. package/dist/{vue-ui-rating-ClvF4LPg.cjs → vue-ui-rating-D9K7meNL.cjs} +1 -1
  99. package/dist/{vue-ui-rating-DJLSl0-4.js → vue-ui-rating-DK4hwg8z.js} +2 -2
  100. package/dist/{vue-ui-relation-circle-Hdzt7fOS.js → vue-ui-relation-circle-CbOCYAmF.js} +127 -124
  101. package/dist/vue-ui-relation-circle-DIJuJZrt.cjs +1 -0
  102. package/dist/vue-ui-rings-BWgF92GG.cjs +2 -0
  103. package/dist/{vue-ui-rings-BAFkqjcL.js → vue-ui-rings-Cqzy5T3m.js} +114 -111
  104. package/dist/{vue-ui-scatter-Ca67EOrI.js → vue-ui-scatter-DXvyWQYL.js} +157 -154
  105. package/dist/vue-ui-scatter-F-gNKXpp.cjs +1 -0
  106. package/dist/{vue-ui-screenshot-CsdnwhSO.js → vue-ui-screenshot-BL75IkNz.js} +1 -1
  107. package/dist/{vue-ui-screenshot-CFcvBOJm.cjs → vue-ui-screenshot-BXngAa8V.cjs} +1 -1
  108. package/dist/{vue-ui-skeleton-CHEZlRpn.js → vue-ui-skeleton-D8r-yAkW.js} +3 -3
  109. package/dist/{vue-ui-skeleton-BBNX7lud.cjs → vue-ui-skeleton-Tk4j6G2D.cjs} +1 -1
  110. package/dist/{vue-ui-smiley-Dth6gRqg.js → vue-ui-smiley-BKWWVHh7.js} +2 -2
  111. package/dist/{vue-ui-smiley-EngC6Vc4.cjs → vue-ui-smiley-BLnMEG6Z.cjs} +1 -1
  112. package/dist/{vue-ui-spark-trend-33sBlF-n.js → vue-ui-spark-trend-Bb7xpmpt.js} +5 -5
  113. package/dist/{vue-ui-spark-trend-DJ8yhFMx.cjs → vue-ui-spark-trend-CqG-PKFp.cjs} +1 -1
  114. package/dist/{vue-ui-sparkbar-D9QLpB7G.cjs → vue-ui-sparkbar-0h661dcM.cjs} +1 -1
  115. package/dist/{vue-ui-sparkbar-mJu95295.js → vue-ui-sparkbar-JIpGYhbq.js} +4 -4
  116. package/dist/vue-ui-sparkgauge-BLglWMCN.cjs +1 -0
  117. package/dist/{vue-ui-sparkgauge-nFFf8h-x.js → vue-ui-sparkgauge-Cc-l_NLU.js} +56 -53
  118. package/dist/{vue-ui-sparkhistogram-Bh6R737O.js → vue-ui-sparkhistogram-BysifQmq.js} +93 -90
  119. package/dist/vue-ui-sparkhistogram-CCbcvIJ1.cjs +1 -0
  120. package/dist/vue-ui-sparkline-CDJX8K9i.cjs +1 -0
  121. package/dist/{vue-ui-sparkline-BfBiA1O5.js → vue-ui-sparkline-CV-N3Wio.js} +109 -106
  122. package/dist/vue-ui-sparkstackbar-Bo4JAlsR.cjs +1 -0
  123. package/dist/{vue-ui-sparkstackbar-BNTFNUIA.js → vue-ui-sparkstackbar-WOO_AbtI.js} +59 -56
  124. package/dist/{vue-ui-stackbar-BbFUifMU.js → vue-ui-stackbar-CP0igpri.js} +136 -133
  125. package/dist/vue-ui-stackbar-D7odU6jb.cjs +6 -0
  126. package/dist/vue-ui-strip-plot-CUqC58Ki.cjs +1 -0
  127. package/dist/{vue-ui-strip-plot-wsxpyqrw.js → vue-ui-strip-plot-_3AJWLnm.js} +127 -124
  128. package/dist/{vue-ui-table-DUokotBj.cjs → vue-ui-table-8O19epjz.cjs} +1 -1
  129. package/dist/{vue-ui-table-CQYM4uPf.js → vue-ui-table-WdE7p5Oy.js} +1 -1
  130. package/dist/{vue-ui-table-heatmap-OYQ9OOzo.js → vue-ui-table-heatmap-CXS6WfTi.js} +4 -4
  131. package/dist/{vue-ui-table-heatmap-Brk58nK_.cjs → vue-ui-table-heatmap-DH5kHmxx.cjs} +1 -1
  132. package/dist/{vue-ui-table-sparkline-DUjDhg8A.js → vue-ui-table-sparkline-CWwjANqk.js} +5 -5
  133. package/dist/{vue-ui-table-sparkline-C9dOsIAB.cjs → vue-ui-table-sparkline-DnvQfr2p.cjs} +1 -1
  134. package/dist/{vue-ui-thermometer-WSMSVcM_.js → vue-ui-thermometer-BxrDTquG.js} +84 -81
  135. package/dist/vue-ui-thermometer-COmtpPaq.cjs +1 -0
  136. package/dist/vue-ui-timer-Bx3W4oUc.cjs +64 -0
  137. package/dist/{vue-ui-timer-DBP_fRcm.js → vue-ui-timer-DjKCOw9A.js} +183 -180
  138. package/dist/vue-ui-tiremarks--XDyJeJg.cjs +1 -0
  139. package/dist/{vue-ui-tiremarks-WWgS2mqw.js → vue-ui-tiremarks-VWxcZxB-.js} +59 -56
  140. package/dist/{vue-ui-treemap-CXoXEuSA.js → vue-ui-treemap-BGFmZcII.js} +123 -120
  141. package/dist/vue-ui-treemap-DTwjydy8.cjs +1 -0
  142. package/dist/vue-ui-vertical-bar-Bpv8mXW2.cjs +4 -0
  143. package/dist/{vue-ui-vertical-bar-COaAa4nz.js → vue-ui-vertical-bar-DC9czKCT.js} +108 -105
  144. package/dist/vue-ui-waffle-B_6ZAnKt.cjs +1 -0
  145. package/dist/{vue-ui-waffle-DD8pT7JN.js → vue-ui-waffle-Cu63K9Iy.js} +107 -104
  146. package/dist/{vue-ui-wheel-BLlKekiu.js → vue-ui-wheel-AOt-pfpa.js} +75 -72
  147. package/dist/vue-ui-wheel-BQM-dxTa.cjs +1 -0
  148. package/dist/vue-ui-word-cloud-Bam3-7P_.cjs +1 -0
  149. package/dist/{vue-ui-word-cloud-CcYtTXW6.js → vue-ui-word-cloud-CrILrx6m.js} +97 -94
  150. package/dist/{vue-ui-xy-DYzfiZnJ.js → vue-ui-xy-BuLymzS3.js} +179 -150
  151. package/dist/vue-ui-xy-CSmObuR7.cjs +3 -0
  152. package/dist/{vue-ui-xy-canvas-CkB7VDhF.cjs → vue-ui-xy-canvas-BQ0Lbxbd.cjs} +2 -2
  153. package/dist/{vue-ui-xy-canvas-DqnK_i0Q.js → vue-ui-xy-canvas-DPnb5mqS.js} +82 -81
  154. package/package.json +1 -1
  155. package/dist/Shape-BN3-_2DI.cjs +0 -1
  156. package/dist/Tooltip-DSPKrQcQ.cjs +0 -1
  157. package/dist/vue-ui-3d-bar-DEu24HHj.cjs +0 -19
  158. package/dist/vue-ui-age-pyramid-CRYYDXFo.cjs +0 -1
  159. package/dist/vue-ui-bullet-Dy71N3Jf.cjs +0 -34
  160. package/dist/vue-ui-candlestick-aZ1YN4hh.cjs +0 -2
  161. package/dist/vue-ui-chestnut-DuycsDaB.cjs +0 -6
  162. package/dist/vue-ui-circle-pack-BFF5_9Sm.cjs +0 -1
  163. package/dist/vue-ui-donut-BO6RWqZ6.cjs +0 -1
  164. package/dist/vue-ui-donut-evolution-BgJMw_a4.cjs +0 -1
  165. package/dist/vue-ui-dumbbell-BSXxNjyK.cjs +0 -9
  166. package/dist/vue-ui-flow-LNlNIRfb.cjs +0 -1
  167. package/dist/vue-ui-funnel-BhDmLkFj.cjs +0 -1
  168. package/dist/vue-ui-galaxy-BcwAAgUh.cjs +0 -1
  169. package/dist/vue-ui-gauge-BCf-2H4T.cjs +0 -1
  170. package/dist/vue-ui-heatmap-Bxhy4dCf.cjs +0 -1
  171. package/dist/vue-ui-history-plot-CTBCFIG0.cjs +0 -1
  172. package/dist/vue-ui-molecule-pTMJG_3k.cjs +0 -1
  173. package/dist/vue-ui-mood-radar-DXLYUXbX.cjs +0 -1
  174. package/dist/vue-ui-nested-donuts-yztsnsjM.cjs +0 -17
  175. package/dist/vue-ui-onion-BgbKMVNe.cjs +0 -5
  176. package/dist/vue-ui-parallel-coordinate-plot-Cha1Em8k.cjs +0 -8
  177. package/dist/vue-ui-quadrant-BzYnR_Hc.cjs +0 -1
  178. package/dist/vue-ui-quick-chart-BcW7URue.cjs +0 -15
  179. package/dist/vue-ui-radar-D-XPVXa9.cjs +0 -1
  180. package/dist/vue-ui-relation-circle-DfxnHEqR.cjs +0 -1
  181. package/dist/vue-ui-rings-C9NFME3F.cjs +0 -2
  182. package/dist/vue-ui-scatter-D0UloS1C.cjs +0 -1
  183. package/dist/vue-ui-sparkgauge-CBCbyOG2.cjs +0 -1
  184. package/dist/vue-ui-sparkhistogram-BstSpbti.cjs +0 -1
  185. package/dist/vue-ui-sparkline-DTRZ-_Qw.cjs +0 -1
  186. package/dist/vue-ui-sparkstackbar-CuU8Vpcv.cjs +0 -1
  187. package/dist/vue-ui-stackbar-B5uNBkxp.cjs +0 -6
  188. package/dist/vue-ui-strip-plot-7G7BAGQM.cjs +0 -1
  189. package/dist/vue-ui-thermometer-VnlcJh4G.cjs +0 -1
  190. package/dist/vue-ui-timer-Bh8RpM2u.cjs +0 -64
  191. package/dist/vue-ui-tiremarks-Ct96o_fd.cjs +0 -1
  192. package/dist/vue-ui-treemap-BfDk53pM.cjs +0 -1
  193. package/dist/vue-ui-vertical-bar-EIy7A0dV.cjs +0 -4
  194. package/dist/vue-ui-waffle-BB3l0zZU.cjs +0 -1
  195. package/dist/vue-ui-wheel-DfpXZJ8A.cjs +0 -1
  196. package/dist/vue-ui-word-cloud-DdaMzF2e.cjs +0 -1
  197. package/dist/vue-ui-xy-B4Mzyy81.cjs +0 -3
@@ -1,18 +1,19 @@
1
- import { computed as y, ref as i, watch as V, onMounted as ve, onBeforeUnmount as he, createElementBlock as c, openBlock as s, unref as n, normalizeStyle as A, createBlock as C, createCommentVNode as h, createSlots as de, withCtx as _, renderSlot as f, normalizeProps as F, guardReactiveProps as S, normalizeClass as z, createVNode as ye, Fragment as J, renderList as K, toDisplayString as fe } from "vue";
2
- import { u as pe, c as ge, a as me, o as ke, e as we, w as Q, m as be, X as Ce, i as _e, v as Z, f as Oe } from "./index-B9qF6XbP.js";
3
- import { _ as $e } from "./Title-D6h1gTvZ.js";
4
- import { u as xe, U as Ie } from "./usePrinter-DsiBLAy1.js";
5
- import { t as Pe, u as Ae } from "./useResponsive-BWapHhVH.js";
6
- import Fe from "./vue-ui-skeleton-CHEZlRpn.js";
7
- import { u as ee } from "./useNestedProp-g5oKzlVy.js";
8
- import { _ as Se } from "./PackageVersion-DqmHcoqz.js";
9
- import { P as ze } from "./PenAndPaper-6UYizrkQ.js";
10
- import { u as Me } from "./useUserOptionState-BIvW1Kz7.js";
11
- import { _ as Te } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
- const Ne = ["id"], Ue = ["xmlns", "viewBox"], Xe = ["width", "height"], Le = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-linecap"], Be = ["d", "fill"], Ee = ["cx", "cy", "r", "stroke", "stroke-width"], Ge = ["x", "y", "font-size", "fill", "font-weight"], Re = {
1
+ import { computed as y, ref as i, watch as V, onMounted as he, onBeforeUnmount as de, createElementBlock as c, openBlock as n, unref as s, normalizeStyle as A, createBlock as C, createCommentVNode as h, createSlots as ye, withCtx as _, renderSlot as f, normalizeProps as F, guardReactiveProps as S, normalizeClass as z, createVNode as fe, Fragment as J, renderList as K, toDisplayString as pe } from "vue";
2
+ import { u as ge, c as me, a as ke, o as we, e as be, w as Q, m as Ce, X as _e, i as Oe, v as Z, f as $e } from "./index-CZlI7PiS.js";
3
+ import { _ as xe } from "./Title-DePxeqVl.js";
4
+ import { u as Ie, U as Pe } from "./usePrinter-D-sSdR2l.js";
5
+ import { t as Ae, u as Fe } from "./useResponsive-BWapHhVH.js";
6
+ import Se from "./vue-ui-skeleton-D8r-yAkW.js";
7
+ import { u as ee } from "./useNestedProp-Cg0NIwr6.js";
8
+ import { _ as ze } from "./PackageVersion-J_USnljf.js";
9
+ import { P as Me } from "./PenAndPaper-CoEXEMcN.js";
10
+ import { u as Te } from "./useUserOptionState-BIvW1Kz7.js";
11
+ import { u as Ne } from "./useChartAccessibility-BWojgys7.js";
12
+ import { _ as Ue } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
+ const Re = ["id"], Xe = ["xmlns", "viewBox"], Le = ["width", "height"], Be = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-linecap"], Ee = ["d", "fill"], Ge = ["cx", "cy", "r", "stroke", "stroke-width"], je = ["x", "y", "font-size", "fill", "font-weight"], De = {
13
14
  key: 5,
14
15
  class: "vue-data-ui-watermark"
15
- }, je = {
16
+ }, Ye = {
16
17
  __name: "vue-ui-wheel",
17
18
  props: {
18
19
  config: {
@@ -29,26 +30,26 @@ const Ne = ["id"], Ue = ["xmlns", "viewBox"], Xe = ["width", "height"], Le = ["x
29
30
  }
30
31
  },
31
32
  setup(te, { expose: ae }) {
32
- const { vue_ui_wheel: le } = pe(), d = te, O = y(() => !!d.dataset && Object.keys(d.dataset).length), $ = i(ge()), oe = i(null), M = i(0), p = i(null), T = i(null), N = i(null), U = i(null), X = i(0), e = y({
33
- get: () => E(),
33
+ const { vue_ui_wheel: le } = ge(), d = te, O = y(() => !!d.dataset && Object.keys(d.dataset).length), $ = i(me()), oe = i(null), M = i(0), p = i(null), T = i(null), N = i(null), U = i(null), R = i(0), e = y({
34
+ get: () => B(),
34
35
  set: (t) => t
35
- }), { userOptionsVisible: x, setUserOptionsVisibility: L, keepUserOptionState: B } = Me({ config: e.value });
36
- function E() {
36
+ }), { userOptionsVisible: x, setUserOptionsVisibility: X, keepUserOptionState: L } = Te({ config: e.value }), { svgRef: se } = Ne({ config: e.value.style.chart.title });
37
+ function B() {
37
38
  const t = ee({
38
39
  userConfig: d.config,
39
40
  defaultConfig: le
40
41
  });
41
42
  return t.theme ? {
42
43
  ...ee({
43
- userConfig: me.vue_ui_wheel[t.theme] || d.config,
44
+ userConfig: ke.vue_ui_wheel[t.theme] || d.config,
44
45
  defaultConfig: t
45
46
  })
46
47
  } : t;
47
48
  }
48
49
  V(() => d.config, (t) => {
49
- e.value = E(), x.value = !e.value.userOptions.showOnChartHover, H(), X.value += 1;
50
+ e.value = B(), x.value = !e.value.userOptions.showOnChartHover, H(), R.value += 1;
50
51
  }, { deep: !0 });
51
- const { isPrinting: G, isImaging: R, generatePdf: j, generateImage: D } = xe({
52
+ const { isPrinting: E, isImaging: G, generatePdf: j, generateImage: D } = Ie({
52
53
  elementId: $.value,
53
54
  fileName: e.value.style.chart.title.text || "vue-ui-wheel"
54
55
  }), ne = y(() => e.value.userOptions.show && !e.value.style.chart.title.text), l = i({
@@ -71,16 +72,16 @@ const Ne = ["id"], Ue = ["xmlns", "viewBox"], Xe = ["width", "height"], Le = ["x
71
72
  e.value.style.chart.animation.use ? W(t.percentage) : u.value = t.percentage || 0;
72
73
  }, { deep: !0 });
73
74
  const m = i(null);
74
- ve(() => {
75
+ he(() => {
75
76
  H();
76
77
  });
77
78
  function H() {
78
- if (ke(d.dataset) && we({
79
+ if (we(d.dataset) && be({
79
80
  componentName: "VueUiWheel",
80
81
  type: "dataset"
81
82
  }), W(d.dataset.percentage || 0), e.value.responsive) {
82
- const t = Pe(() => {
83
- const { width: o, height: a } = Ae({
83
+ const t = Ae(() => {
84
+ const { width: o, height: a } = Fe({
84
85
  chart: p.value,
85
86
  title: e.value.style.chart.title.text ? T.value : null,
86
87
  source: N.value,
@@ -93,7 +94,7 @@ const Ne = ["id"], Ue = ["xmlns", "viewBox"], Xe = ["width", "height"], Le = ["x
93
94
  m.value = new ResizeObserver(t), m.value.observe(p.value.parentNode);
94
95
  }
95
96
  }
96
- he(() => {
97
+ de(() => {
97
98
  m.value && m.value.disconnect();
98
99
  });
99
100
  function W(t) {
@@ -107,22 +108,22 @@ const Ne = ["id"], Ue = ["xmlns", "viewBox"], Xe = ["width", "height"], Le = ["x
107
108
  const g = y(() => Math.max(100, e.value.style.chart.layout.wheel.ticks.quantity)), k = y(() => 100 / g.value), q = y(() => {
108
109
  const t = [];
109
110
  for (let o = 0; o < g.value; o += 1) {
110
- const a = u.value > o * k.value ? e.value.style.chart.layout.wheel.ticks.activeColor : e.value.style.chart.layout.wheel.ticks.inactiveColor, { x: v, y: ue } = Y(l.value.size / g.value * o), { x: ie, y: ce } = Y(l.value.size / g.value * o, e.value.style.chart.layout.wheel.ticks.sizeRatio);
111
+ const a = u.value > o * k.value ? e.value.style.chart.layout.wheel.ticks.activeColor : e.value.style.chart.layout.wheel.ticks.inactiveColor, { x: v, y: ie } = Y(l.value.size / g.value * o), { x: ce, y: ve } = Y(l.value.size / g.value * o, e.value.style.chart.layout.wheel.ticks.sizeRatio);
111
112
  t.push({
112
113
  x1: v,
113
- y1: ue,
114
- x2: ie,
115
- y2: ce,
114
+ y1: ie,
115
+ x2: ce,
116
+ y2: ve,
116
117
  color: e.value.style.chart.layout.wheel.ticks.gradient.show ? Q(a, o * k.value / g.value * (e.value.style.chart.layout.wheel.ticks.gradient.shiftHueIntensity / 100)) : a
117
118
  });
118
119
  }
119
120
  return t;
120
- }), se = y(() => be({ series: q.value.map((t) => ({
121
+ }), re = y(() => Ce({ series: q.value.map((t) => ({
121
122
  name: "",
122
123
  value: 1,
123
124
  color: t.color
124
125
  })) }, r.value.centerX, r.value.centerY, r.value.radius, r.value.radius, 1.99999, 2, 1, 360, 105.25, r.value.radius * (1 - e.value.style.chart.layout.wheel.ticks.sizeRatio))), w = i(!1);
125
- function re(t) {
126
+ function ue(t) {
126
127
  w.value = t, M.value += 1;
127
128
  }
128
129
  const b = i(!1);
@@ -133,16 +134,16 @@ const Ne = ["id"], Ue = ["xmlns", "viewBox"], Xe = ["width", "height"], Le = ["x
133
134
  generatePdf: j,
134
135
  generateImage: D,
135
136
  toggleAnnotator: P
136
- }), (t, o) => (s(), c("div", {
137
+ }), (t, o) => (n(), c("div", {
137
138
  class: "vue-ui-wheel",
138
139
  ref_key: "wheelChart",
139
140
  ref: p,
140
141
  id: $.value,
141
142
  style: A(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height:100%" : ""}`),
142
- onMouseenter: o[0] || (o[0] = () => n(L)(!0)),
143
- onMouseleave: o[1] || (o[1] = () => n(L)(!1))
143
+ onMouseenter: o[0] || (o[0] = () => s(X)(!0)),
144
+ onMouseleave: o[1] || (o[1] = () => s(X)(!1))
144
145
  }, [
145
- e.value.userOptions.buttons.annotator ? (s(), C(ze, {
146
+ e.value.userOptions.buttons.annotator ? (n(), C(Me, {
146
147
  key: 0,
147
148
  parent: p.value,
148
149
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -150,21 +151,21 @@ const Ne = ["id"], Ue = ["xmlns", "viewBox"], Xe = ["width", "height"], Le = ["x
150
151
  active: b.value,
151
152
  onClose: P
152
153
  }, null, 8, ["parent", "backgroundColor", "color", "active"])) : h("", !0),
153
- ne.value ? (s(), c("div", {
154
+ ne.value ? (n(), c("div", {
154
155
  key: 1,
155
156
  ref_key: "noTitle",
156
157
  ref: U,
157
158
  class: "vue-data-ui-no-title-space",
158
159
  style: "height:36px; width: 100%;background:transparent"
159
160
  }, null, 512)) : h("", !0),
160
- e.value.style.chart.title.text ? (s(), c("div", {
161
+ e.value.style.chart.title.text ? (n(), c("div", {
161
162
  key: 2,
162
163
  ref_key: "chartTitle",
163
164
  ref: T,
164
165
  style: "width:100%;background:transparent;padding-bottom:12px"
165
166
  }, [
166
- (s(), C($e, {
167
- key: `title_${X.value}`,
167
+ (n(), C(xe, {
168
+ key: `title_${R.value}`,
168
169
  config: {
169
170
  title: {
170
171
  cy: "wheel-title",
@@ -177,14 +178,14 @@ const Ne = ["id"], Ue = ["xmlns", "viewBox"], Xe = ["width", "height"], Le = ["x
177
178
  }
178
179
  }, null, 8, ["config"]))
179
180
  ], 512)) : h("", !0),
180
- e.value.userOptions.show && O.value && (n(B) || n(x)) ? (s(), C(Ie, {
181
+ e.value.userOptions.show && O.value && (s(L) || s(x)) ? (n(), C(Pe, {
181
182
  ref_key: "details",
182
183
  ref: oe,
183
184
  key: `user_options_${M.value}`,
184
185
  backgroundColor: e.value.style.chart.backgroundColor,
185
186
  color: e.value.style.chart.color,
186
- isPrinting: n(G),
187
- isImaging: n(R),
187
+ isPrinting: s(E),
188
+ isImaging: s(G),
188
189
  uid: $.value,
189
190
  hasPdf: e.value.userOptions.buttons.pdf,
190
191
  hasImg: e.value.userOptions.buttons.img,
@@ -196,14 +197,14 @@ const Ne = ["id"], Ue = ["xmlns", "viewBox"], Xe = ["width", "height"], Le = ["x
196
197
  hasAnnotator: e.value.userOptions.buttons.annotator,
197
198
  isAnnotation: b.value,
198
199
  chartElement: p.value,
199
- onToggleFullscreen: re,
200
- onGeneratePdf: n(j),
201
- onGenerateImage: n(D),
200
+ onToggleFullscreen: ue,
201
+ onGeneratePdf: s(j),
202
+ onGenerateImage: s(D),
202
203
  onToggleAnnotator: P,
203
204
  style: A({
204
- visibility: n(B) ? n(x) ? "visible" : "hidden" : "visible"
205
+ visibility: s(L) ? s(x) ? "visible" : "hidden" : "visible"
205
206
  })
206
- }, de({ _: 2 }, [
207
+ }, ye({ _: 2 }, [
207
208
  t.$slots.optionPdf ? {
208
209
  name: "optionPdf",
209
210
  fn: _(() => [
@@ -233,15 +234,17 @@ const Ne = ["id"], Ue = ["xmlns", "viewBox"], Xe = ["width", "height"], Le = ["x
233
234
  key: "3"
234
235
  } : void 0
235
236
  ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasFullscreen", "isFullscreen", "position", "titles", "hasAnnotator", "isAnnotation", "chartElement", "onGeneratePdf", "onGenerateImage", "style"])) : h("", !0),
236
- O.value ? (s(), c("svg", {
237
+ O.value ? (n(), c("svg", {
237
238
  key: 4,
238
- xmlns: n(Ce),
239
+ ref_key: "svgRef",
240
+ ref: se,
241
+ xmlns: s(_e),
239
242
  class: z({ "vue-data-ui-fullscreen--on": w.value, "vue-data-ui-fulscreen--off": !w.value }),
240
243
  viewBox: `0 0 ${l.value.width <= 0 ? 10 : l.value.width} ${l.value.height <= 0 ? 10 : l.value.height}`,
241
244
  style: A(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
242
245
  }, [
243
- ye(Se),
244
- t.$slots["chart-background"] ? (s(), c("foreignObject", {
246
+ fe(ze),
247
+ t.$slots["chart-background"] ? (n(), c("foreignObject", {
245
248
  key: 0,
246
249
  x: 0,
247
250
  y: 0,
@@ -252,8 +255,8 @@ const Ne = ["id"], Ue = ["xmlns", "viewBox"], Xe = ["width", "height"], Le = ["x
252
255
  }
253
256
  }, [
254
257
  f(t.$slots, "chart-background", {}, void 0, !0)
255
- ], 8, Xe)) : h("", !0),
256
- e.value.style.chart.layout.wheel.ticks.type === "classic" ? (s(!0), c(J, { key: 1 }, K(q.value, (a, v) => (s(), c("line", {
258
+ ], 8, Le)) : h("", !0),
259
+ e.value.style.chart.layout.wheel.ticks.type === "classic" ? (n(!0), c(J, { key: 1 }, K(q.value, (a, v) => (n(), c("line", {
257
260
  x1: a.x1,
258
261
  x2: a.x2,
259
262
  y1: a.y1,
@@ -262,12 +265,12 @@ const Ne = ["id"], Ue = ["xmlns", "viewBox"], Xe = ["width", "height"], Le = ["x
262
265
  "stroke-width": e.value.style.chart.layout.wheel.ticks.strokeWidth / 360 * Math.min(l.value.width, l.value.height),
263
266
  "stroke-linecap": e.value.style.chart.layout.wheel.ticks.rounded ? "round" : "butt",
264
267
  class: z({ "vue-ui-tick-animated": e.value.style.chart.animation.use && v * k.value <= u.value })
265
- }, null, 10, Le))), 256)) : (s(!0), c(J, { key: 2 }, K(se.value, (a, v) => (s(), c("path", {
268
+ }, null, 10, Be))), 256)) : (n(!0), c(J, { key: 2 }, K(re.value, (a, v) => (n(), c("path", {
266
269
  d: a.arcSlice,
267
270
  fill: a.color,
268
271
  class: z({ "vue-ui-tick-animated": e.value.style.chart.animation.use && v * k.value <= u.value })
269
- }, null, 10, Be))), 256)),
270
- e.value.style.chart.layout.innerCircle.show ? (s(), c("circle", {
272
+ }, null, 10, Ee))), 256)),
273
+ e.value.style.chart.layout.innerCircle.show ? (n(), c("circle", {
271
274
  key: 3,
272
275
  cx: r.value.centerX,
273
276
  cy: r.value.centerY,
@@ -275,31 +278,31 @@ const Ne = ["id"], Ue = ["xmlns", "viewBox"], Xe = ["width", "height"], Le = ["x
275
278
  stroke: e.value.style.chart.layout.innerCircle.stroke,
276
279
  "stroke-width": e.value.style.chart.layout.innerCircle.strokeWidth,
277
280
  fill: "none"
278
- }, null, 8, Ee)) : h("", !0),
279
- e.value.style.chart.layout.percentage.show ? (s(), c("text", {
281
+ }, null, 8, Ge)) : h("", !0),
282
+ e.value.style.chart.layout.percentage.show ? (n(), c("text", {
280
283
  key: 4,
281
284
  x: r.value.centerX,
282
285
  y: r.value.centerY + I.value / 3,
283
286
  "font-size": I.value,
284
- fill: e.value.style.chart.layout.wheel.ticks.gradient.show ? n(Q)(e.value.style.chart.layout.wheel.ticks.activeColor, u.value / 100 * (e.value.style.chart.layout.wheel.ticks.gradient.shiftHueIntensity / 100)) : e.value.style.chart.layout.wheel.ticks.activeColor,
287
+ fill: e.value.style.chart.layout.wheel.ticks.gradient.show ? s(Q)(e.value.style.chart.layout.wheel.ticks.activeColor, u.value / 100 * (e.value.style.chart.layout.wheel.ticks.gradient.shiftHueIntensity / 100)) : e.value.style.chart.layout.wheel.ticks.activeColor,
285
288
  "text-anchor": "middle",
286
289
  "font-weight": e.value.style.chart.layout.percentage.bold ? "bold" : "normal",
287
290
  style: { "font-variant-numeric": "tabluar-nums" }
288
- }, fe(n(_e)(
291
+ }, pe(s(Oe)(
289
292
  e.value.style.chart.layout.percentage.formatter,
290
- n(Z)(u.value),
291
- n(Oe)({
292
- v: n(Z)(u.value),
293
+ s(Z)(u.value),
294
+ s($e)({
295
+ v: s(Z)(u.value),
293
296
  s: "%",
294
297
  r: e.value.style.chart.layout.percentage.rounding
295
298
  })
296
- )), 9, Ge)) : h("", !0),
299
+ )), 9, je)) : h("", !0),
297
300
  f(t.$slots, "svg", { svg: l.value }, void 0, !0)
298
- ], 14, Ue)) : h("", !0),
299
- t.$slots.watermark ? (s(), c("div", Re, [
300
- f(t.$slots, "watermark", F(S({ isPrinting: n(G) || n(R) })), void 0, !0)
301
+ ], 14, Xe)) : h("", !0),
302
+ t.$slots.watermark ? (n(), c("div", De, [
303
+ f(t.$slots, "watermark", F(S({ isPrinting: s(E) || s(G) })), void 0, !0)
301
304
  ])) : h("", !0),
302
- t.$slots.source ? (s(), c("div", {
305
+ t.$slots.source ? (n(), c("div", {
303
306
  key: 6,
304
307
  ref_key: "source",
305
308
  ref: N,
@@ -307,7 +310,7 @@ const Ne = ["id"], Ue = ["xmlns", "viewBox"], Xe = ["width", "height"], Le = ["x
307
310
  }, [
308
311
  f(t.$slots, "source", {}, void 0, !0)
309
312
  ], 512)) : h("", !0),
310
- O.value ? h("", !0) : (s(), C(Fe, {
313
+ O.value ? h("", !0) : (n(), C(Se, {
311
314
  key: 7,
312
315
  config: {
313
316
  type: "wheel",
@@ -319,9 +322,9 @@ const Ne = ["id"], Ue = ["xmlns", "viewBox"], Xe = ["width", "height"], Le = ["x
319
322
  }
320
323
  }
321
324
  }, null, 8, ["config"]))
322
- ], 44, Ne));
325
+ ], 44, Re));
323
326
  }
324
- }, tt = /* @__PURE__ */ Te(je, [["__scopeId", "data-v-c9c35e28"]]);
327
+ }, ot = /* @__PURE__ */ Ue(Ye, [["__scopeId", "data-v-1d726029"]]);
325
328
  export {
326
- tt as default
329
+ ot as default
327
330
  };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),u=require("./index-DD4PT0Pl.cjs"),Q=require("./Title-BQSh4ukk.cjs"),q=require("./usePrinter-BtJq2wwh.cjs"),V=require("./useResponsive-YQYQrAZ_.cjs"),Z=require("./vue-ui-skeleton-Tk4j6G2D.cjs"),R=require("./useNestedProp-DU7JFxpL.cjs"),ee=require("./PackageVersion-CCgJTyH9.cjs"),te=require("./PenAndPaper-DvNBHCpq.cjs"),le=require("./useUserOptionState-BgepsfED.cjs"),ae=require("./useChartAccessibility-Cm7nkzTG.cjs"),oe=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),ne=["id"],re=["xmlns","viewBox"],se=["width","height"],ue=["x1","x2","y1","y2","stroke","stroke-width","stroke-linecap"],ie=["d","fill"],ce=["cx","cy","r","stroke","stroke-width"],ve=["x","y","font-size","fill","font-weight"],de={key:5,class:"vue-data-ui-watermark"},he={__name:"vue-ui-wheel",props:{config:{type:Object,default(){return{}}},dataset:{type:Object,default(){return{}}}},setup(U,{expose:L}){const{vue_ui_wheel:X}=u.useConfig(),c=U,m=e.computed(()=>!!c.dataset&&Object.keys(c.dataset).length),k=e.ref(u.createUid()),j=e.ref(null),b=e.ref(0),v=e.ref(null),B=e.ref(null),P=e.ref(null),_=e.ref(null),S=e.ref(0),t=e.computed({get:()=>x(),set:l=>l}),{userOptionsVisible:g,setUserOptionsVisibility:N,keepUserOptionState:O}=le.useUserOptionState({config:t.value}),{svgRef:G}=ae.useChartAccessibility({config:t.value.style.chart.title});function x(){const l=R.useNestedProp({userConfig:c.config,defaultConfig:X});return l.theme?{...R.useNestedProp({userConfig:u.themes.vue_ui_wheel[l.theme]||c.config,defaultConfig:l})}:l}e.watch(()=>c.config,l=>{t.value=x(),g.value=!t.value.userOptions.showOnChartHover,E(),S.value+=1},{deep:!0});const{isPrinting:$,isImaging:z,generatePdf:A,generateImage:I}=q.usePrinter({elementId:k.value,fileName:t.value.style.chart.title.text||"vue-ui-wheel"}),H=e.computed(()=>t.value.userOptions.show&&!t.value.style.chart.title.text),o=e.ref({size:360,height:360,width:360}),w=e.ref(t.value.style.chart.layout.percentage.fontSize),r=e.computed(()=>({radius:Math.min(o.value.width,o.value.height)*.9/2,centerX:o.value.width/2,centerY:o.value.height/2}));function F(l,n=1){return{x:r.value.centerX+r.value.radius*Math.cos(29.85+l*Math.PI/180)*n,y:r.value.centerY+r.value.radius*Math.sin(29.85+l*Math.PI/180)*n}}const s=e.ref(t.value.style.chart.animation.use?0:c.dataset.percentage||0);e.watch(()=>c.dataset,l=>{t.value.style.chart.animation.use?M(l.percentage):s.value=l.percentage||0},{deep:!0});const h=e.ref(null);e.onMounted(()=>{E()});function E(){if(u.objectIsEmpty(c.dataset)&&u.error({componentName:"VueUiWheel",type:"dataset"}),M(c.dataset.percentage||0),t.value.responsive){const l=V.throttle(()=>{const{width:n,height:a}=V.useResponsive({chart:v.value,title:t.value.style.chart.title.text?B.value:null,source:P.value,noTitle:_.value});requestAnimationFrame(()=>{o.value.width=n,o.value.height=a,w.value=t.value.style.chart.layout.percentage.fontSize/360*Math.min(n,a)})});h.value=new ResizeObserver(l),h.value.observe(v.value.parentNode)}}e.onBeforeUnmount(()=>{h.value&&h.value.disconnect()});function M(l){let n=t.value.style.chart.animation.speed;const a=Math.abs(l-s.value)/(n*120);function i(){s.value<l?s.value=Math.min(s.value+a,l):s.value>l&&(s.value=Math.max(s.value-a,l)),s.value!==l&&requestAnimationFrame(i)}i()}const d=e.computed(()=>Math.max(100,t.value.style.chart.layout.wheel.ticks.quantity)),f=e.computed(()=>100/d.value),T=e.computed(()=>{const l=[];for(let n=0;n<d.value;n+=1){const a=s.value>n*f.value?t.value.style.chart.layout.wheel.ticks.activeColor:t.value.style.chart.layout.wheel.ticks.inactiveColor,{x:i,y:W}=F(o.value.size/d.value*n),{x:J,y:K}=F(o.value.size/d.value*n,t.value.style.chart.layout.wheel.ticks.sizeRatio);l.push({x1:i,y1:W,x2:J,y2:K,color:t.value.style.chart.layout.wheel.ticks.gradient.show?u.shiftHue(a,n*f.value/d.value*(t.value.style.chart.layout.wheel.ticks.gradient.shiftHueIntensity/100)):a})}return l}),D=e.computed(()=>u.makeDonut({series:T.value.map(l=>({name:"",value:1,color:l.color}))},r.value.centerX,r.value.centerY,r.value.radius,r.value.radius,1.99999,2,1,360,105.25,r.value.radius*(1-t.value.style.chart.layout.wheel.ticks.sizeRatio))),y=e.ref(!1);function Y(l){y.value=l,b.value+=1}const p=e.ref(!1);function C(){p.value=!p.value}return L({generatePdf:A,generateImage:I,toggleAnnotator:C}),(l,n)=>(e.openBlock(),e.createElementBlock("div",{class:"vue-ui-wheel",ref_key:"wheelChart",ref:v,id:k.value,style:e.normalizeStyle(`font-family:${t.value.style.fontFamily};width:100%; text-align:center;background:${t.value.style.chart.backgroundColor};${t.value.responsive?"height:100%":""}`),onMouseenter:n[0]||(n[0]=()=>e.unref(N)(!0)),onMouseleave:n[1]||(n[1]=()=>e.unref(N)(!1))},[t.value.userOptions.buttons.annotator?(e.openBlock(),e.createBlock(te.PenAndPaper,{key:0,parent:v.value,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,active:p.value,onClose:C},null,8,["parent","backgroundColor","color","active"])):e.createCommentVNode("",!0),H.value?(e.openBlock(),e.createElementBlock("div",{key:1,ref_key:"noTitle",ref:_,class:"vue-data-ui-no-title-space",style:"height:36px; width: 100%;background:transparent"},null,512)):e.createCommentVNode("",!0),t.value.style.chart.title.text?(e.openBlock(),e.createElementBlock("div",{key:2,ref_key:"chartTitle",ref:B,style:"width:100%;background:transparent;padding-bottom:12px"},[(e.openBlock(),e.createBlock(Q._sfc_main,{key:`title_${S.value}`,config:{title:{cy:"wheel-title",...t.value.style.chart.title},subtitle:{cy:"wheel-subtitle",...t.value.style.chart.title.subtitle}}},null,8,["config"]))],512)):e.createCommentVNode("",!0),t.value.userOptions.show&&m.value&&(e.unref(O)||e.unref(g))?(e.openBlock(),e.createBlock(q.UserOptions,{ref_key:"details",ref:j,key:`user_options_${b.value}`,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,isPrinting:e.unref($),isImaging:e.unref(z),uid:k.value,hasPdf:t.value.userOptions.buttons.pdf,hasImg:t.value.userOptions.buttons.img,hasFullscreen:t.value.userOptions.buttons.fullscreen,hasXls:!1,isFullscreen:y.value,position:t.value.userOptions.position,titles:{...t.value.userOptions.buttonTitles},hasAnnotator:t.value.userOptions.buttons.annotator,isAnnotation:p.value,chartElement:v.value,onToggleFullscreen:Y,onGeneratePdf:e.unref(A),onGenerateImage:e.unref(I),onToggleAnnotator:C,style:e.normalizeStyle({visibility:e.unref(O)?e.unref(g)?"visible":"hidden":"visible"})},e.createSlots({_:2},[l.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionPdf",{},void 0,!0)]),key:"0"}:void 0,l.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionImg",{},void 0,!0)]),key:"1"}:void 0,l.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:a,isFullscreen:i})=>[e.renderSlot(l.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:a,isFullscreen:i})),void 0,!0)]),key:"2"}:void 0,l.$slots.optionAnnotator?{name:"optionAnnotator",fn:e.withCtx(({toggleAnnotator:a,isAnnotator:i})=>[e.renderSlot(l.$slots,"optionAnnotator",e.normalizeProps(e.guardReactiveProps({toggleAnnotator:a,isAnnotator:i})),void 0,!0)]),key:"3"}:void 0]),1032,["backgroundColor","color","isPrinting","isImaging","uid","hasPdf","hasImg","hasFullscreen","isFullscreen","position","titles","hasAnnotator","isAnnotation","chartElement","onGeneratePdf","onGenerateImage","style"])):e.createCommentVNode("",!0),m.value?(e.openBlock(),e.createElementBlock("svg",{key:4,ref_key:"svgRef",ref:G,xmlns:e.unref(u.XMLNS),class:e.normalizeClass({"vue-data-ui-fullscreen--on":y.value,"vue-data-ui-fulscreen--off":!y.value}),viewBox:`0 0 ${o.value.width<=0?10:o.value.width} ${o.value.height<=0?10:o.value.height}`,style:e.normalizeStyle(`max-width:100%;overflow:visible;background:transparent;color:${t.value.style.chart.color}`)},[e.createVNode(ee._sfc_main),l.$slots["chart-background"]?(e.openBlock(),e.createElementBlock("foreignObject",{key:0,x:0,y:0,width:o.value.width<=0?10:o.value.width,height:o.value.height<=0?10:o.value.height,style:{pointerEvents:"none"}},[e.renderSlot(l.$slots,"chart-background",{},void 0,!0)],8,se)):e.createCommentVNode("",!0),t.value.style.chart.layout.wheel.ticks.type==="classic"?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(T.value,(a,i)=>(e.openBlock(),e.createElementBlock("line",{x1:a.x1,x2:a.x2,y1:a.y1,y2:a.y2,stroke:a.color,"stroke-width":t.value.style.chart.layout.wheel.ticks.strokeWidth/360*Math.min(o.value.width,o.value.height),"stroke-linecap":t.value.style.chart.layout.wheel.ticks.rounded?"round":"butt",class:e.normalizeClass({"vue-ui-tick-animated":t.value.style.chart.animation.use&&i*f.value<=s.value})},null,10,ue))),256)):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:2},e.renderList(D.value,(a,i)=>(e.openBlock(),e.createElementBlock("path",{d:a.arcSlice,fill:a.color,class:e.normalizeClass({"vue-ui-tick-animated":t.value.style.chart.animation.use&&i*f.value<=s.value})},null,10,ie))),256)),t.value.style.chart.layout.innerCircle.show?(e.openBlock(),e.createElementBlock("circle",{key:3,cx:r.value.centerX,cy:r.value.centerY,r:r.value.radius*.8<=0?1e-4:r.value.radius*.8,stroke:t.value.style.chart.layout.innerCircle.stroke,"stroke-width":t.value.style.chart.layout.innerCircle.strokeWidth,fill:"none"},null,8,ce)):e.createCommentVNode("",!0),t.value.style.chart.layout.percentage.show?(e.openBlock(),e.createElementBlock("text",{key:4,x:r.value.centerX,y:r.value.centerY+w.value/3,"font-size":w.value,fill:t.value.style.chart.layout.wheel.ticks.gradient.show?e.unref(u.shiftHue)(t.value.style.chart.layout.wheel.ticks.activeColor,s.value/100*(t.value.style.chart.layout.wheel.ticks.gradient.shiftHueIntensity/100)):t.value.style.chart.layout.wheel.ticks.activeColor,"text-anchor":"middle","font-weight":t.value.style.chart.layout.percentage.bold?"bold":"normal",style:{"font-variant-numeric":"tabluar-nums"}},e.toDisplayString(e.unref(u.applyDataLabel)(t.value.style.chart.layout.percentage.formatter,e.unref(u.checkNaN)(s.value),e.unref(u.dataLabel)({v:e.unref(u.checkNaN)(s.value),s:"%",r:t.value.style.chart.layout.percentage.rounding}))),9,ve)):e.createCommentVNode("",!0),e.renderSlot(l.$slots,"svg",{svg:o.value},void 0,!0)],14,re)):e.createCommentVNode("",!0),l.$slots.watermark?(e.openBlock(),e.createElementBlock("div",de,[e.renderSlot(l.$slots,"watermark",e.normalizeProps(e.guardReactiveProps({isPrinting:e.unref($)||e.unref(z)})),void 0,!0)])):e.createCommentVNode("",!0),l.$slots.source?(e.openBlock(),e.createElementBlock("div",{key:6,ref_key:"source",ref:P,dir:"auto"},[e.renderSlot(l.$slots,"source",{},void 0,!0)],512)):e.createCommentVNode("",!0),m.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Z.default,{key:7,config:{type:"wheel",style:{backgroundColor:t.value.style.chart.backgroundColor,wheel:{color:"#CCCCCC"}}}},null,8,["config"]))],44,ne))}},fe=oe._export_sfc(he,[["__scopeId","data-v-1d726029"]]);exports.default=fe;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),s=require("./index-DD4PT0Pl.cjs"),$e=require("./Title-BQSh4ukk.cjs"),ue=require("./usePrinter-BtJq2wwh.cjs"),H=require("./useResponsive-YQYQrAZ_.cjs"),Te=require("./vue-ui-accordion-2He8z0Sy.cjs"),Ne=require("./DataTable-CaD8j-SL.cjs"),Pe=require("./BaseIcon-D326yPTV.cjs"),ce=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),ie=require("./useNestedProp-DU7JFxpL.cjs"),Be=require("./PackageVersion-CCgJTyH9.cjs"),Fe=require("./Tooltip-DtqrGu-Q.cjs"),ze=require("./PenAndPaper-DvNBHCpq.cjs"),Ae=require("./useUserOptionState-BgepsfED.cjs"),Oe=require("./useChartAccessibility-Cm7nkzTG.cjs"),Ve={"data-html2canvas-ignore":""},Ee={key:0,class:"reset-wrapper"},Me={key:1,class:"reset-wrapper"},_e={class:"mono-slicer"},Ie=["min","max","value"],Re={__name:"MonoSlicer",props:{min:{type:Number,default:0},max:{type:Number,default:0},inputColor:{type:String,default:"#1A1A1A"},background:{type:String,default:"#FFFFFF"},borderColor:{type:String,default:"#FFFFFF"},selectColor:{type:String,default:"#4A4A4A"},textColor:{type:String,default:"#1A1A1A"},useResetSlot:{type:Boolean,default:!1},value:{type:Number,default:0},source:{type:Number,default:0}},emits:["update:value","reset"],setup(d,{emit:M}){e.useCssVars(b=>({"782b8172":c.value,"102109e6":$.value,"642212d7":y.value,"1f5369d4":d.selectColor,"22b98ab8":k.value}));const v=d,c=e.computed(()=>v.inputColor),k=e.computed(()=>v.background),y=e.computed(()=>`${v.selectColor}33`),$=e.computed(()=>v.borderColor),T=M;function p(){T("reset")}const B=e.computed(()=>{const b=v.max-v.min,m=0,C=(v.value-v.min)/b*100;return{left:`${m}%`,width:`${C-m}%`,background:v.selectColor}});return(b,m)=>(e.openBlock(),e.createElementBlock("div",Ve,[d.value!==d.source?(e.openBlock(),e.createElementBlock("div",Ee,[d.useResetSlot?e.renderSlot(b.$slots,"reset-action",{key:1,reset:p},void 0,!0):(e.openBlock(),e.createElementBlock("button",{key:0,"data-cy-reset":"",tabindex:"0",role:"button",class:"vue-data-ui-refresh-button",onClick:p},[e.createVNode(Pe.default,{name:"refresh",stroke:d.textColor},null,8,["stroke"])]))])):(e.openBlock(),e.createElementBlock("div",Me)),e.createElementVNode("div",_e,[m[1]||(m[1]=e.createElementVNode("div",{class:"slider-track"},null,-1)),e.createElementVNode("div",{class:"range-highlight",style:e.normalizeStyle(B.value)},null,4),e.createElementVNode("input",{type:"range",min:d.min,max:d.max,value:Number(d.value),onInput:m[0]||(m[0]=C=>T("update:value",Number(C.target.value)))},null,40,Ie)])]))}},qe=ce._export_sfc(Re,[["__scopeId","data-v-b4e6aee9"]]),Ue=["id"],We=["xmlns","viewBox"],De=["width","height"],Ge=["transform"],Le=["fill","font-weight","x","y","font-size","transform","onMouseover"],je={key:4,class:"vue-data-ui-watermark"},He=["innerHTML"],Xe={__name:"vue-ui-word-cloud",props:{config:{type:Object,default(){return{}}},dataset:{type:[Array,String],default(){return[]}}},setup(d,{expose:M}){const{vue_ui_word_cloud:v}=s.useConfig(),c=d,k=e.computed({get(){return!!c.dataset&&c.dataset.length},set(o){return o}}),y=e.ref(typeof c.dataset=="string"?s.createWordCloudDatasetFromPlainText(c.dataset):c.dataset.map((o,a)=>({...o,value:s.checkNaN(o.value)}))),$=e.ref(s.createUid()),T=e.ref(0),p=e.ref(null),B=e.ref(null),b=e.ref(null),m=e.ref(0),C=e.ref(0),_=e.ref(!1),t=e.computed({get:()=>J(),set:o=>o}),{userOptionsVisible:I,setUserOptionsVisibility:X,keepUserOptionState:Y}=Ae.useUserOptionState({config:t.value}),{svgRef:de}=Oe.useChartAccessibility({config:t.value.style.chart.title});function J(){const o=ie.useNestedProp({userConfig:c.config,defaultConfig:v});return o.theme?{...ie.useNestedProp({userConfig:s.themes.vue_ui_word_cloud[o.theme]||c.config,defaultConfig:o}),customPalette:s.themePalettes[o.theme]||s.palette}:o}e.watch(()=>c.config,o=>{t.value=J(),I.value=!t.value.userOptions.showOnChartHover,Q(),m.value+=1,C.value+=1,R(),i.value.showTable=t.value.table.show,i.value.showTooltip=t.value.style.chart.tooltip.show},{deep:!0});const K=e.ref(null),w=e.ref(0),r=e.ref({width:t.value.style.chart.width,height:t.value.style.chart.height,maxFontSize:t.value.style.chart.words.maxFontSize,minFontSize:t.value.style.chart.words.minFontSize}),ve=H.throttle(()=>{const{width:o,height:a}=H.useResponsive({chart:p.value,title:t.value.style.chart.title.text?B.value:null,slicer:t.value.style.chart.zoom.show&&K.value,source:b.value});requestAnimationFrame(()=>{r.value.width=o,r.value.height=a,e.nextTick(U)})});e.watch(()=>w.value,()=>{he()});const he=H.debounce(()=>{U()},10);function R(){w.value=q.value}const F=e.ref(null);e.onMounted(()=>{Q(),R()});function Q(){s.objectIsEmpty(c.dataset)?s.error({componentName:"VueUiWordCloud",type:"dataset"}):y.value.forEach((o,a)=>{s.getMissingDatasetAttributes({datasetObject:o,requiredAttributes:["name","value"]}).forEach(l=>{k.value=!1,s.error({componentName:"VueUiWordCloud",type:"datasetSerieAttribute",property:l,index:a})})}),t.value.responsive&&(F.value=new ResizeObserver(ve),F.value.observe(p.value.parentNode))}e.onBeforeUnmount(()=>{F.value&&F.value.disconnect()});const{isPrinting:Z,isImaging:ee,generatePdf:te,generateImage:oe}=ue.usePrinter({elementId:`wordCloud_${$.value}`,fileName:t.value.style.chart.title.text||"vue-ui-word-cloud"}),i=e.ref({showTable:t.value.table.show,showTooltip:t.value.style.chart.tooltip.show});function me(o,a,l="Arial"){const n=document.createElement("canvas").getContext("2d");return n.font=`${a}px ${t.value.style.chart.words.bold?"bold":"normal"} ${l}`,{width:n.measureText(o).width+t.value.style.chart.words.proximity,height:a}}function pe(o,a){return o.x<a.x+a.width&&o.x+o.width>a.x&&o.y<a.y+a.height&&o.y+o.height>a.y}function fe(o,a,l){const u=[],n={x:-a/2,y:-l/2,width:a,height:l},h=0,f=0;return o.forEach(S=>{let L=!1;for(let E=0;E<Math.max(a,l)/2&&!L;E+=t.value.style.chart.words.packingWeight)for(let j=0;j<360&&!L;j+=t.value.style.chart.words.packingWeight){const se=j*Math.PI/180,ke=h+E*Math.cos(se)-S.width/2,Ce=f+E*Math.sin(se)-S.height/2,g={...S,x:ke,y:Ce},we=g.x>=n.x&&g.y>=n.y&&g.x+g.width<=n.x+n.width&&g.y+g.height<=n.y+n.height,xe=u.some(Se=>pe(g,Se));we&&!xe&&(u.push(g),L=!0)}}),u}const N=e.ref([]);e.watch(()=>c.dataset,U,{immediate:!0});const q=e.computed(()=>Math.round(Math.min(...y.value.map(o=>o.value)))),le=e.computed(()=>Math.round(Math.max(...y.value.map(o=>o.value))));function U(){const o=[...y.value].filter(n=>n.value>=w.value).map(n=>n.value),a=Math.max(...o),l=Math.min(...o),u=[...y.value].filter(n=>n.value>=w.value).map((n,h)=>{let f=(n.value-l)/(a-l)*(r.value.maxFontSize-r.value.minFontSize)+r.value.minFontSize;f=isNaN(f)?r.value.minFontSize:f;const S=me(n.name,f);return{...n,id:s.createUid(),fontSize:f,width:S.width,height:S.height,color:t.value.style.chart.words.usePalette?t.value.customPalette[h]||t.value.customPalette[h%t.value.customPalette.length]||s.palette[h]||s.palette[h%s.palette.length]:t.value.style.chart.words.color}});N.value=fe(u,r.value.width,r.value.height).sort((n,h)=>h.fontSize-n.fontSize)}const z=e.computed(()=>{const o=N.value.map(l=>({name:l.name,color:l.color})),a=N.value.map(l=>l.value);return{head:o,body:a}});function ae(){e.nextTick(()=>{const o=z.value.head.map((u,n)=>[[u.name],[z.value.body[n]]]),a=[[t.value.style.chart.title.text],[t.value.style.chart.title.subtitle.text],[[""],[t.value.table.columnNames.value]]].concat(o),l=s.createCsvContent(a);s.downloadCsv({csvContent:l,title:t.value.style.chart.title.text||"vue-ui-word-cloud"})})}const A=e.computed(()=>{const o=[t.value.table.columnNames.series,t.value.table.columnNames.value],a=z.value.head.map((n,h)=>{const f=s.dataLabel({p:t.value.table.td.prefix,v:z.value.body[h],s:t.value.table.td.suffix,r:t.value.table.td.roundingValue});return[{color:n.color,name:n.name},f]}),l={th:{backgroundColor:t.value.table.th.backgroundColor,color:t.value.table.th.color,outline:t.value.table.th.outline},td:{backgroundColor:t.value.table.td.backgroundColor,color:t.value.table.td.color,outline:t.value.table.td.outline},breakpoint:t.value.table.responsiveBreakpoint};return{colNames:[t.value.table.columnNames.series,t.value.table.columnNames.value],head:o,body:a,config:l}}),O=e.ref(!1);function ge(o){O.value=o,T.value+=1}function ye(){return N.value}function ne(){i.value.showTable=!i.value.showTable}function re(){i.value.showTooltip=!i.value.showTooltip}const V=e.ref(!1);function W(){V.value=!V.value}M({getData:ye,generateCsv:ae,generatePdf:te,generateImage:oe,toggleTable:ne,toggleTooltip:re,toggleAnnotator:W});const x=e.ref(null),P=e.ref(!1),D=e.ref(""),G=e.ref(null);function be(o){if(!i.value.showTooltip)return;x.value=o.id,G.value={datapoint:o,config:t.value};const a=t.value.style.chart.tooltip.customFormat;if(P.value=!1,s.isFunction(a))try{const l=a({datapoint:o,config:t.value});typeof l=="string"&&(D.value=l,P.value=!0)}catch{console.warn("Custom format cannot be applied."),P.value=!1}if(!P.value){let l=`<svg viewBox="0 0 10 10" height="${t.value.style.chart.tooltip.fontSize}"><circle cx="5" cy="5" r="5" fill="${o.color}"/></svg><span>${o.name}:</span><b>${(o.value||0).toFixed(t.value.style.chart.tooltip.roundingValue)}</b>`;D.value=`<div dir="auto" style="display:flex; gap:4px; align-items:center; jsutify-content:center;">${l}</div>`}_.value=!0}return(o,a)=>(e.openBlock(),e.createElementBlock("div",{class:"vue-ui-word-cloud",ref_key:"wordCloudChart",ref:p,id:`wordCloud_${$.value}`,style:e.normalizeStyle(`width: 100%; font-family:${t.value.style.fontFamily};background:${t.value.style.chart.backgroundColor};${t.value.responsive?"height:100%":""}`),onMouseenter:a[3]||(a[3]=()=>e.unref(X)(!0)),onMouseleave:a[4]||(a[4]=()=>e.unref(X)(!1))},[t.value.userOptions.buttons.annotator?(e.openBlock(),e.createBlock(ze.PenAndPaper,{key:0,parent:p.value,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,active:V.value,onClose:W},null,8,["parent","backgroundColor","color","active"])):e.createCommentVNode("",!0),t.value.style.chart.title.text?(e.openBlock(),e.createElementBlock("div",{key:1,ref_key:"chartTitle",ref:B,style:"width:100%;background:transparent;padding-bottom:24px"},[(e.openBlock(),e.createBlock($e._sfc_main,{key:`title_${m.value}`,config:{title:{...t.value.style.chart.title},subtitle:{...t.value.style.chart.title.subtitle}}},null,8,["config"]))],512)):e.createCommentVNode("",!0),t.value.userOptions.show&&k.value&&(e.unref(Y)||e.unref(I))?(e.openBlock(),e.createBlock(ue.UserOptions,{ref:"details",key:`user_option_${T.value}`,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,isPrinting:e.unref(Z),isImaging:e.unref(ee),uid:$.value,hasPdf:t.value.userOptions.buttons.pdf,hasXls:t.value.userOptions.buttons.csv,hasImg:t.value.userOptions.buttons.img,hasTable:t.value.userOptions.buttons.table,hasFullscreen:t.value.userOptions.buttons.fullscreen,isFullscreen:O.value,titles:{...t.value.userOptions.buttonTitles},chartElement:p.value,position:t.value.userOptions.position,hasTooltip:t.value.style.chart.tooltip.show&&t.value.userOptions.buttons.tooltip,isTooltip:i.value.showTooltip,hasAnnotator:t.value.userOptions.buttons.annotator,isAnnotation:V.value,onToggleFullscreen:ge,onGeneratePdf:e.unref(te),onGenerateCsv:ae,onGenerateImage:e.unref(oe),onToggleTable:ne,onToggleTooltip:re,onToggleAnnotator:W,style:e.normalizeStyle({visibility:e.unref(Y)?e.unref(I)?"visible":"hidden":"visible"})},e.createSlots({_:2},[o.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionPdf",{},void 0,!0)]),key:"0"}:void 0,o.$slots.optionCsv?{name:"optionCsv",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionCsv",{},void 0,!0)]),key:"1"}:void 0,o.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionImg",{},void 0,!0)]),key:"2"}:void 0,o.$slots.optionTable?{name:"optionTable",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionTable",{},void 0,!0)]),key:"3"}:void 0,o.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:l,isFullscreen:u})=>[e.renderSlot(o.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:l,isFullscreen:u})),void 0,!0)]),key:"4"}:void 0,o.$slots.optionAnnotator?{name:"optionAnnotator",fn:e.withCtx(({toggleAnnotator:l,isAnnotator:u})=>[e.renderSlot(o.$slots,"optionAnnotator",e.normalizeProps(e.guardReactiveProps({toggleAnnotator:l,isAnnotator:u})),void 0,!0)]),key:"5"}:void 0]),1032,["backgroundColor","color","isPrinting","isImaging","uid","hasPdf","hasXls","hasImg","hasTable","hasFullscreen","isFullscreen","titles","chartElement","position","hasTooltip","isTooltip","hasAnnotator","isAnnotation","onGeneratePdf","onGenerateImage","style"])):e.createCommentVNode("",!0),k.value?(e.openBlock(),e.createElementBlock("svg",{key:3,ref_key:"svgRef",ref:de,class:e.normalizeClass({"vue-data-ui-fullscreen--on":O.value,"vue-data-ui-fulscreen--off":!O.value}),xmlns:e.unref(s.XMLNS),viewBox:`0 0 ${r.value.width<=0?10:r.value.width} ${r.value.height<=0?10:r.value.height}`,style:"overflow:visible;background:transparent;"},[e.createVNode(Be._sfc_main),o.$slots["chart-background"]?(e.openBlock(),e.createElementBlock("foreignObject",{key:0,x:0,y:0,width:r.value.width<=0?10:r.value.width,height:r.value.height<=0?10:r.value.height,style:{pointerEvents:"none"}},[e.renderSlot(o.$slots,"chart-background",{},void 0,!0)],8,De)):e.createCommentVNode("",!0),e.createElementVNode("g",{transform:`translate(${(r.value.width<=0?10:r.value.width)/2}, ${(r.value.height<=0?10:r.value.height)/2})`},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(N.value,(l,u)=>(e.openBlock(),e.createElementBlock("g",null,[(e.openBlock(),e.createElementBlock("text",{fill:l.color,"font-weight":t.value.style.chart.words.bold?"bold":"normal",key:u,x:l.x,y:l.y,"font-size":l.fontSize,transform:`translate(${l.width/2}, ${l.height/2})`,class:e.normalizeClass({animated:t.value.useCssAnimation,"word-selected":x.value&&x.value===l.id&&i.value.showTooltip,"word-not-selected":x.value&&x.value!==l.id&&i.value.showTooltip}),"text-anchor":"middle","dominant-baseline":"central",onMouseover:n=>be(l),onMouseleave:a[0]||(a[0]=n=>{x.value=null,_.value=!1}),style:e.normalizeStyle(`animation-delay:${u*t.value.animationDelayMs}ms !important;`)},e.toDisplayString(l.name),47,Le))]))),256))],8,Ge),e.renderSlot(o.$slots,"svg",{svg:{height:r.value.height,width:r.value.width}},void 0,!0)],10,We)):e.createCommentVNode("",!0),o.$slots.watermark?(e.openBlock(),e.createElementBlock("div",je,[e.renderSlot(o.$slots,"watermark",e.normalizeProps(e.guardReactiveProps({isPrinting:e.unref(Z)||e.unref(ee)})),void 0,!0)])):e.createCommentVNode("",!0),e.createVNode(Fe._sfc_main,{show:i.value.showTooltip&&_.value,backgroundColor:t.value.style.chart.tooltip.backgroundColor,color:t.value.style.chart.tooltip.color,fontSize:t.value.style.chart.tooltip.fontSize,borderRadius:t.value.style.chart.tooltip.borderRadius,borderColor:t.value.style.chart.tooltip.borderColor,borderWidth:t.value.style.chart.tooltip.borderWidth,backgroundOpacity:t.value.style.chart.tooltip.backgroundOpacity,position:t.value.style.chart.tooltip.position,offsetY:t.value.style.chart.tooltip.offsetY,parent:p.value,content:D.value,isCustom:P.value},{"tooltip-before":e.withCtx(()=>[e.renderSlot(o.$slots,"tooltip-before",e.normalizeProps(e.guardReactiveProps({...G.value})),void 0,!0)]),"tooltip-after":e.withCtx(()=>[e.renderSlot(o.$slots,"tooltip-after",e.normalizeProps(e.guardReactiveProps({...G.value})),void 0,!0)]),_:3},8,["show","backgroundColor","color","fontSize","borderRadius","borderColor","borderWidth","backgroundOpacity","position","offsetY","parent","content","isCustom"]),e.createElementVNode("div",{ref_key:"chartSlicer",ref:K,style:"width:100%;background:transparent","data-html2canvas-ignore":""},[t.value.style.chart.zoom.show&&q.value<le.value?(e.openBlock(),e.createBlock(qe,{key:0,value:w.value,"onUpdate:value":a[1]||(a[1]=l=>w.value=l),min:q.value,max:le.value,textColor:t.value.style.chart.color,inputColor:t.value.style.chart.zoom.color,selectColor:t.value.style.chart.zoom.highlightColor,useResetSlot:t.value.style.chart.zoom.useResetSlot,background:t.value.style.chart.zoom.color,borderColor:t.value.style.chart.backgroundColor,source:t.value.style.chart.width,onReset:R},{"reset-action":e.withCtx(({reset:l})=>[e.renderSlot(o.$slots,"reset-action",e.normalizeProps(e.guardReactiveProps({reset:l})),void 0,!0)]),_:3},8,["value","min","max","textColor","inputColor","selectColor","useResetSlot","background","borderColor","source"])):e.createCommentVNode("",!0)],512),o.$slots.source?(e.openBlock(),e.createElementBlock("div",{key:5,ref_key:"source",ref:b,dir:"auto"},[e.renderSlot(o.$slots,"source",{},void 0,!0)],512)):e.createCommentVNode("",!0),k.value?(e.openBlock(),e.createBlock(Te.default,{key:6,hideDetails:"",config:{open:i.value.showTable,maxHeight:1e4,body:{backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color},head:{backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color}}},{content:e.withCtx(()=>[(e.openBlock(),e.createBlock(Ne.DataTable,{key:`table_${C.value}`,colNames:A.value.colNames,head:A.value.head,body:A.value.body,config:A.value.config,title:`${t.value.style.chart.title.text}${t.value.style.chart.title.subtitle.text?` : ${t.value.style.chart.title.subtitle.text}`:""}`,onClose:a[2]||(a[2]=l=>i.value.showTable=!1)},{th:e.withCtx(({th:l})=>[e.createElementVNode("div",{innerHTML:l,style:{display:"flex","align-items":"center"}},null,8,He)]),td:e.withCtx(({td:l})=>[e.createTextVNode(e.toDisplayString(l.name||l),1)]),_:1},8,["colNames","head","body","config","title"]))]),_:1},8,["config"])):e.createCommentVNode("",!0)],44,Ue))}},Ye=ce._export_sfc(Xe,[["__scopeId","data-v-09b6d459"]]);exports.default=Ye;