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,33 +1,34 @@
1
- import { computed as h, onMounted as Fe, ref as u, watch as Ae, createElementBlock as n, openBlock as o, unref as i, normalizeStyle as E, normalizeClass as V, createBlock as $, createCommentVNode as c, renderSlot as v, createVNode as ie, createSlots as Ie, withCtx as d, normalizeProps as S, guardReactiveProps as N, createElementVNode as T, Fragment as ce, renderList as ve, createTextVNode as de, toDisplayString as M, nextTick as Ee } from "vue";
2
- import { u as Ve, o as Me, e as he, g as De, c as pe, t as Be, p as D, a as Ge, b as ze, J as ye, d as Ue, M as We, f as k, X as He, i as ge, x as fe, q as Xe, r as je, y as Re } from "./index-B9qF6XbP.js";
3
- import { L as Ye } from "./Legend-BDyPoYfp.js";
4
- import { _ as qe } from "./Title-D6h1gTvZ.js";
5
- import { _ as Je } from "./Tooltip-BonEVaob.js";
6
- import { D as Ke } from "./DataTable-CJN0sipt.js";
7
- import { u as Qe, U as Ze } from "./usePrinter-DsiBLAy1.js";
8
- import et from "./vue-ui-skeleton-CHEZlRpn.js";
9
- import tt from "./vue-ui-accordion-DBmchkva.js";
10
- import { u as be } from "./useNestedProp-g5oKzlVy.js";
11
- import { _ as lt } from "./PackageVersion-DqmHcoqz.js";
12
- import { P as at } from "./PenAndPaper-6UYizrkQ.js";
13
- import { u as ot } from "./useUserOptionState-BIvW1Kz7.js";
14
- import { _ as st } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
- const rt = ["id"], ut = {
1
+ import { computed as h, onMounted as Ae, ref as u, watch as Ie, createElementBlock as n, openBlock as o, unref as i, normalizeStyle as E, normalizeClass as V, createBlock as $, createCommentVNode as c, renderSlot as v, createVNode as ie, createSlots as Ee, withCtx as d, normalizeProps as S, guardReactiveProps as N, createElementVNode as _, Fragment as ce, renderList as ve, createTextVNode as de, toDisplayString as M, nextTick as Ve } from "vue";
2
+ import { u as Me, o as De, e as he, g as Be, c as pe, t as Ge, p as D, a as ze, b as Ue, J as ye, d as We, M as He, f as k, X as Re, i as fe, x as ge, q as Xe, r as je, y as Ye } from "./index-CZlI7PiS.js";
3
+ import { L as qe } from "./Legend-Oaw0MY8Y.js";
4
+ import { _ as Je } from "./Title-DePxeqVl.js";
5
+ import { _ as Ke } from "./Tooltip-DRw9RoFp.js";
6
+ import { D as Qe } from "./DataTable-D0-zzsJg.js";
7
+ import { u as Ze, U as et } from "./usePrinter-D-sSdR2l.js";
8
+ import tt from "./vue-ui-skeleton-D8r-yAkW.js";
9
+ import lt from "./vue-ui-accordion-DVtmOO3I.js";
10
+ import { u as be } from "./useNestedProp-Cg0NIwr6.js";
11
+ import { _ as at } from "./PackageVersion-J_USnljf.js";
12
+ import { P as ot } from "./PenAndPaper-CoEXEMcN.js";
13
+ import { u as st } from "./useUserOptionState-BIvW1Kz7.js";
14
+ import { u as rt } from "./useChartAccessibility-BWojgys7.js";
15
+ import { _ as ut } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
+ const nt = ["id"], it = {
16
17
  key: 1,
17
18
  ref: "noTitle",
18
19
  class: "vue-data-ui-no-title-space",
19
20
  style: "height:36px; width: 100%;background:transparent"
20
- }, nt = {
21
+ }, ct = {
21
22
  key: 2,
22
23
  style: "width:100%;background:transparent;padding-bottom:24px"
23
- }, it = ["xmlns", "viewBox"], ct = ["width", "height"], vt = ["id"], dt = ["stdDeviation"], ht = ["d", "stroke", "stroke-width"], pt = ["d", "stroke", "stroke-width"], yt = ["filter"], gt = ["d", "stroke", "stroke-width"], ft = ["d", "stroke-width", "onMouseenter", "onClick"], bt = {
24
+ }, vt = ["xmlns", "viewBox"], dt = ["width", "height"], ht = ["id"], pt = ["stdDeviation"], yt = ["d", "stroke", "stroke-width"], ft = ["d", "stroke", "stroke-width"], gt = ["filter"], bt = ["d", "stroke", "stroke-width"], mt = ["d", "stroke-width", "onMouseenter", "onClick"], kt = {
24
25
  key: 5,
25
26
  class: "vue-data-ui-watermark"
26
- }, mt = ["onClick"], kt = { key: 0 }, wt = { key: 1 }, Ct = {
27
+ }, Ct = ["onClick"], wt = { key: 0 }, $t = { key: 1 }, xt = {
27
28
  key: 8,
28
29
  ref: "source",
29
30
  dir: "auto"
30
- }, $t = ["innerHTML"], xt = {
31
+ }, _t = ["innerHTML"], Tt = {
31
32
  __name: "vue-ui-galaxy",
32
33
  props: {
33
34
  config: {
@@ -44,17 +45,17 @@ const rt = ["id"], ut = {
44
45
  }
45
46
  },
46
47
  emits: ["selectLegend", "selectDatapoint"],
47
- setup(me, { expose: ke, emit: we }) {
48
- const { vue_ui_galaxy: Ce } = Ve(), g = me, L = h(() => !!g.dataset && g.dataset.length);
49
- Fe(() => {
50
- X();
48
+ setup(me, { expose: ke, emit: Ce }) {
49
+ const { vue_ui_galaxy: we } = Me(), f = me, L = h(() => !!f.dataset && f.dataset.length);
50
+ Ae(() => {
51
+ R();
51
52
  });
52
- function X() {
53
- Me(g.dataset) ? he({
53
+ function R() {
54
+ De(f.dataset) ? he({
54
55
  componentName: "VueUiGalaxy",
55
56
  type: "dataset"
56
- }) : g.dataset.forEach((t, a) => {
57
- De({
57
+ }) : f.dataset.forEach((t, a) => {
58
+ Be({
58
59
  datasetObject: t,
59
60
  requiredAttributes: ["name", "values"]
60
61
  }).forEach((l) => {
@@ -67,30 +68,30 @@ const rt = ["id"], ut = {
67
68
  });
68
69
  });
69
70
  }
70
- const _ = u(pe()), F = u(null), $e = u(null), B = u(!1), G = u(""), f = u(null), j = u(0), R = u(0), Y = u(0), q = u(0), e = h({
71
+ const T = u(pe()), F = u(null), $e = u(null), B = u(!1), G = u(""), g = u(null), X = u(0), j = u(0), Y = u(0), q = u(0), e = h({
71
72
  get: () => Q(),
72
73
  set: (t) => t
73
- }), { userOptionsVisible: z, setUserOptionsVisibility: J, keepUserOptionState: K } = ot({ config: e.value });
74
+ }), { userOptionsVisible: z, setUserOptionsVisibility: J, keepUserOptionState: K } = st({ config: e.value }), { svgRef: xe } = rt({ config: e.value.style.chart.title });
74
75
  function Q() {
75
76
  const t = be({
76
- userConfig: g.config,
77
- defaultConfig: Ce
77
+ userConfig: f.config,
78
+ defaultConfig: we
78
79
  });
79
80
  return t.theme ? {
80
81
  ...be({
81
- userConfig: Ge.vue_ui_galaxy[t.theme] || g.config,
82
+ userConfig: ze.vue_ui_galaxy[t.theme] || f.config,
82
83
  defaultConfig: t
83
84
  }),
84
- customPalette: Be[t.theme] || D
85
+ customPalette: Ge[t.theme] || D
85
86
  } : t;
86
87
  }
87
- Ae(() => g.config, (t) => {
88
- e.value = Q(), z.value = !e.value.userOptions.showOnChartHover, X(), R.value += 1, Y.value += 1, q.value += 1, p.value.dataLabels.show = e.value.style.chart.layout.labels.dataLabels.show, p.value.showTable = e.value.table.show, p.value.showTooltip = e.value.style.chart.tooltip.show;
88
+ Ie(() => f.config, (t) => {
89
+ e.value = Q(), z.value = !e.value.userOptions.showOnChartHover, R(), j.value += 1, Y.value += 1, q.value += 1, p.value.dataLabels.show = e.value.style.chart.layout.labels.dataLabels.show, p.value.showTable = e.value.table.show, p.value.showTooltip = e.value.style.chart.tooltip.show;
89
90
  }, { deep: !0 });
90
- const { isPrinting: Z, isImaging: ee, generatePdf: te, generateImage: le } = Qe({
91
- elementId: `galaxy_${_.value}`,
91
+ const { isPrinting: Z, isImaging: ee, generatePdf: te, generateImage: le } = Ze({
92
+ elementId: `galaxy_${T.value}`,
92
93
  fileName: e.value.style.chart.title.text || "vue-ui-galaxy"
93
- }), xe = h(() => e.value.userOptions.show && !e.value.style.chart.title.text), Te = h(() => ze(e.value.customPalette)), p = u({
94
+ }), _e = h(() => e.value.userOptions.show && !e.value.style.chart.title.text), Te = h(() => Ue(e.value.customPalette)), p = u({
94
95
  dataLabels: {
95
96
  show: e.value.style.chart.layout.labels.dataLabels.show
96
97
  },
@@ -100,7 +101,7 @@ const rt = ["id"], ut = {
100
101
  height: 180,
101
102
  // or 250 if non fibo
102
103
  width: 250
103
- }), ae = we, y = u([]);
104
+ }), ae = Ce, y = u([]);
104
105
  function U(t) {
105
106
  y.value.includes(t.id) ? y.value = y.value.filter((a) => a !== t.id) : y.value.push(t.id), ae("selectLegend", O.value.map((a) => ({
106
107
  name: a.name,
@@ -108,32 +109,32 @@ const rt = ["id"], ut = {
108
109
  value: a.value
109
110
  })));
110
111
  }
111
- const w = h(() => g.dataset.map((t, a) => ({
112
+ const C = h(() => f.dataset.map((t, a) => ({
112
113
  name: t.name,
113
- color: Ue(t.color) || Te.value[a] || D[a] || D[a % D.length],
114
+ color: We(t.color) || Te.value[a] || D[a] || D[a % D.length],
114
115
  value: t.values ? ye(t.values).reduce((l, s) => l + s, 0) : 0,
115
116
  absoluteValues: ye(t.values),
116
117
  id: pe(),
117
118
  seriesIndex: a
118
119
  })).sort((t, a) => a.value - t.value));
119
- function _e() {
120
- return w.value.map((t) => ({
120
+ function Pe() {
121
+ return C.value.map((t) => ({
121
122
  name: t.name,
122
123
  color: t.color,
123
124
  value: t.value
124
125
  }));
125
126
  }
126
- const b = h(() => w.value.filter((t) => !y.value.includes(t.id)).map((t) => t.value).reduce((t, a) => t + a, 0)), Pe = u(190), oe = h(() => w.value.filter((t) => !y.value.includes(t.id))), O = h(() => {
127
+ const b = h(() => C.value.filter((t) => !y.value.includes(t.id)).map((t) => t.value).reduce((t, a) => t + a, 0)), Oe = u(190), oe = h(() => C.value.filter((t) => !y.value.includes(t.id))), O = h(() => {
127
128
  const t = [];
128
129
  for (let a = 0; a < oe.value.length; a += 1) {
129
130
  const l = oe.value[a];
130
- let s = l.value / b.value * Pe.value;
131
+ let s = l.value / b.value * Oe.value;
131
132
  a > 0 && t.length && (s += t[a - 1].points), t.push({
132
133
  points: s,
133
134
  ...l,
134
135
  seriesIndex: a,
135
136
  proportion: l.value / b.value,
136
- path: We({
137
+ path: He({
137
138
  points: s,
138
139
  startX: 115 + e.value.style.chart.layout.arcs.offsetX,
139
140
  startY: 90 + e.value.style.chart.layout.arcs.offsetY
@@ -142,30 +143,30 @@ const rt = ["id"], ut = {
142
143
  }
143
144
  return t.filter((a, l) => !y.value.includes(a.id)).toSorted((a, l) => l.points - a.points);
144
145
  }), x = u(!1);
145
- function Oe(t) {
146
- x.value = t, j.value += 1;
146
+ function Se(t) {
147
+ x.value = t, X.value += 1;
147
148
  }
148
149
  const W = u(null);
149
- function Se({ datapoint: t, _relativeIndex: a, seriesIndex: l, show: s = !1 }) {
150
+ function Ne({ datapoint: t, _relativeIndex: a, seriesIndex: l, show: s = !1 }) {
150
151
  W.value = {
151
152
  datapoint: t,
152
153
  seriesIndex: l,
153
- series: w.value,
154
+ series: C.value,
154
155
  config: e.value
155
- }, B.value = s, f.value = t.id;
156
+ }, B.value = s, g.value = t.id;
156
157
  let r = "";
157
- const C = e.value.style.chart.tooltip.customFormat;
158
- fe(C) && Re(() => C({
158
+ const w = e.value.style.chart.tooltip.customFormat;
159
+ ge(w) && Ye(() => w({
159
160
  seriesIndex: l,
160
161
  datapoint: t,
161
- series: w.value,
162
+ series: C.value,
162
163
  config: e.value
163
- })) ? G.value = C({
164
+ })) ? G.value = w({
164
165
  seriesIndex: l,
165
166
  datapoint: t,
166
- series: w.value,
167
+ series: C.value,
167
168
  config: e.value
168
- }) : (r += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${t.name}</div>`, r += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${t.color}"/></svg>`, e.value.style.chart.tooltip.showValue && (r += `<b>${ge(
169
+ }) : (r += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${t.name}</div>`, r += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${t.color}"/></svg>`, e.value.style.chart.tooltip.showValue && (r += `<b>${fe(
169
170
  e.value.style.chart.layout.labels.dataLabels.formatter,
170
171
  t.value,
171
172
  k({
@@ -185,14 +186,14 @@ const rt = ["id"], ut = {
185
186
  r: e.value.style.chart.tooltip.roundingPercentage
186
187
  })}</b></div>`), G.value = `<div>${r}</div>`);
187
188
  }
188
- const se = h(() => w.value.map((t, a) => ({
189
+ const se = h(() => C.value.map((t, a) => ({
189
190
  ...t,
190
- proportion: (t.value || 0) / g.dataset.map((l) => (l.values || []).reduce((s, r) => s + r, 0)).reduce((l, s) => l + s, 0),
191
+ proportion: (t.value || 0) / f.dataset.map((l) => (l.values || []).reduce((s, r) => s + r, 0)).reduce((l, s) => l + s, 0),
191
192
  opacity: y.value.includes(t.id) ? 0.5 : 1,
192
193
  shape: t.shape || "circle",
193
194
  segregate: () => U(t),
194
195
  isSegregated: y.value.includes(t.id)
195
- }))), Ne = h(() => ({
196
+ }))), Le = h(() => ({
196
197
  cy: "galaxy-div-legend",
197
198
  backgroundColor: e.value.style.chart.legend.backgroundColor,
198
199
  color: e.value.style.chart.legend.color,
@@ -207,7 +208,7 @@ const rt = ["id"], ut = {
207
208
  return { head: t, body: a };
208
209
  });
209
210
  function re() {
210
- Ee(() => {
211
+ Ve(() => {
211
212
  const t = m.value.head.map((s, r) => [[
212
213
  s.name
213
214
  ], [m.value.body[r]], [isNaN(m.value.body[r] / b.value) ? "-" : m.value.body[r] / b.value * 100]]), a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(t), l = Xe(a);
@@ -219,16 +220,16 @@ const rt = ["id"], ut = {
219
220
  ' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>',
220
221
  k({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: b.value, s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue }),
221
222
  "100%"
222
- ], a = m.value.head.map((r, C) => {
223
- const Le = k({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: m.value.body[C], s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue });
223
+ ], a = m.value.head.map((r, w) => {
224
+ const Fe = k({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: m.value.body[w], s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue });
224
225
  return [
225
226
  {
226
227
  color: r.color,
227
228
  name: r.name
228
229
  },
229
- Le,
230
- isNaN(m.value.body[C] / b.value) ? "-" : k({
231
- v: m.value.body[C] / b.value * 100,
230
+ Fe,
231
+ isNaN(m.value.body[w] / b.value) ? "-" : k({
232
+ v: m.value.body[w] / b.value * 100,
232
233
  s: "%",
233
234
  r: e.value.table.td.roundingPercentage
234
235
  })
@@ -268,7 +269,7 @@ const rt = ["id"], ut = {
268
269
  I.value = !I.value;
269
270
  }
270
271
  return ke({
271
- getData: _e,
272
+ getData: Pe,
272
273
  generatePdf: te,
273
274
  generateCsv: re,
274
275
  generateImage: le,
@@ -280,11 +281,11 @@ const rt = ["id"], ut = {
280
281
  ref: F,
281
282
  class: V(`vue-ui-galaxy ${x.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
282
283
  style: E(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;${e.value.style.chart.title.text ? "" : "padding-top:36px"};background:${e.value.style.chart.backgroundColor}`),
283
- id: `galaxy_${_.value}`,
284
+ id: `galaxy_${T.value}`,
284
285
  onMouseenter: a[3] || (a[3] = () => i(J)(!0)),
285
286
  onMouseleave: a[4] || (a[4] = () => i(J)(!1))
286
287
  }, [
287
- e.value.userOptions.buttons.annotator ? (o(), $(at, {
288
+ e.value.userOptions.buttons.annotator ? (o(), $(ot, {
288
289
  key: 0,
289
290
  parent: F.value,
290
291
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -292,10 +293,10 @@ const rt = ["id"], ut = {
292
293
  active: I.value,
293
294
  onClose: H
294
295
  }, null, 8, ["parent", "backgroundColor", "color", "active"])) : c("", !0),
295
- xe.value ? (o(), n("div", ut, null, 512)) : c("", !0),
296
- e.value.style.chart.title.text ? (o(), n("div", nt, [
297
- (o(), $(qe, {
298
- key: `title_${R.value}`,
296
+ _e.value ? (o(), n("div", it, null, 512)) : c("", !0),
297
+ e.value.style.chart.title.text ? (o(), n("div", ct, [
298
+ (o(), $(Je, {
299
+ key: `title_${j.value}`,
299
300
  config: {
300
301
  title: {
301
302
  cy: "galaxy-div-title",
@@ -308,15 +309,15 @@ const rt = ["id"], ut = {
308
309
  }
309
310
  }, null, 8, ["config"]))
310
311
  ])) : c("", !0),
311
- e.value.userOptions.show && L.value && (i(K) || i(z)) ? (o(), $(Ze, {
312
+ e.value.userOptions.show && L.value && (i(K) || i(z)) ? (o(), $(et, {
312
313
  ref_key: "details",
313
314
  ref: $e,
314
- key: `user_option_${j.value}`,
315
+ key: `user_option_${X.value}`,
315
316
  backgroundColor: e.value.style.chart.backgroundColor,
316
317
  color: e.value.style.chart.color,
317
318
  isPrinting: i(Z),
318
319
  isImaging: i(ee),
319
- uid: _.value,
320
+ uid: T.value,
320
321
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
321
322
  hasPdf: e.value.userOptions.buttons.pdf,
322
323
  hasXls: e.value.userOptions.buttons.csv,
@@ -330,7 +331,7 @@ const rt = ["id"], ut = {
330
331
  position: e.value.userOptions.position,
331
332
  hasAnnotator: e.value.userOptions.buttons.annotator,
332
333
  isAnnotation: I.value,
333
- onToggleFullscreen: Oe,
334
+ onToggleFullscreen: Se,
334
335
  onGeneratePdf: i(te),
335
336
  onGenerateCsv: re,
336
337
  onGenerateImage: i(le),
@@ -340,7 +341,7 @@ const rt = ["id"], ut = {
340
341
  style: E({
341
342
  visibility: i(K) ? i(z) ? "visible" : "hidden" : "visible"
342
343
  })
343
- }, Ie({ _: 2 }, [
344
+ }, Ee({ _: 2 }, [
344
345
  t.$slots.optionTooltip ? {
345
346
  name: "optionTooltip",
346
347
  fn: d(() => [
@@ -393,12 +394,14 @@ const rt = ["id"], ut = {
393
394
  ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : c("", !0),
394
395
  L.value ? (o(), n("svg", {
395
396
  key: 4,
396
- xmlns: i(He),
397
+ ref_key: "svgRef",
398
+ ref: xe,
399
+ xmlns: i(Re),
397
400
  class: V({ "vue-data-ui-fullscreen--on": x.value, "vue-data-ui-fulscreen--off": !x.value }),
398
401
  viewBox: `0 0 ${P.value.width} ${P.value.height}`,
399
402
  style: E(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
400
403
  }, [
401
- ie(lt),
404
+ ie(at),
402
405
  t.$slots["chart-background"] ? (o(), n("foreignObject", {
403
406
  key: 0,
404
407
  x: 0,
@@ -410,20 +413,20 @@ const rt = ["id"], ut = {
410
413
  }
411
414
  }, [
412
415
  v(t.$slots, "chart-background", {}, void 0, !0)
413
- ], 8, ct)) : c("", !0),
414
- T("defs", null, [
415
- T("filter", {
416
- id: `blur_${_.value}`,
416
+ ], 8, dt)) : c("", !0),
417
+ _("defs", null, [
418
+ _("filter", {
419
+ id: `blur_${T.value}`,
417
420
  x: "-50%",
418
421
  y: "-50%",
419
422
  width: "200%",
420
423
  height: "200%"
421
424
  }, [
422
- T("feGaussianBlur", {
425
+ _("feGaussianBlur", {
423
426
  in: "SourceGraphic",
424
427
  stdDeviation: 100 / e.value.style.chart.layout.arcs.gradient.intensity
425
- }, null, 8, dt)
426
- ], 8, vt)
428
+ }, null, 8, pt)
429
+ ], 8, ht)
427
430
  ]),
428
431
  (o(!0), n(ce, null, ve(O.value, (l) => (o(), n("g", null, [
429
432
  l.value ? (o(), n("path", {
@@ -431,31 +434,31 @@ const rt = ["id"], ut = {
431
434
  d: l.path,
432
435
  fill: "none",
433
436
  stroke: e.value.style.chart.backgroundColor,
434
- "stroke-width": (e.value.style.chart.layout.arcs.strokeWidth + e.value.style.chart.layout.arcs.borderWidth) * (f.value === l.id && e.value.style.chart.layout.arcs.hoverEffect.show ? e.value.style.chart.layout.arcs.hoverEffect.multiplicator : 1),
437
+ "stroke-width": (e.value.style.chart.layout.arcs.strokeWidth + e.value.style.chart.layout.arcs.borderWidth) * (g.value === l.id && e.value.style.chart.layout.arcs.hoverEffect.show ? e.value.style.chart.layout.arcs.hoverEffect.multiplicator : 1),
435
438
  "stroke-linecap": "round"
436
- }, null, 8, ht)) : c("", !0),
439
+ }, null, 8, yt)) : c("", !0),
437
440
  l.value ? (o(), n("path", {
438
441
  key: 1,
439
442
  d: l.path,
440
443
  fill: "none",
441
444
  stroke: l.color,
442
- "stroke-width": e.value.style.chart.layout.arcs.strokeWidth * (f.value === l.id && e.value.style.chart.layout.arcs.hoverEffect.show ? e.value.style.chart.layout.arcs.hoverEffect.multiplicator : 1),
445
+ "stroke-width": e.value.style.chart.layout.arcs.strokeWidth * (g.value === l.id && e.value.style.chart.layout.arcs.hoverEffect.show ? e.value.style.chart.layout.arcs.hoverEffect.multiplicator : 1),
443
446
  "stroke-linecap": "round",
444
- class: V(`${f.value && f.value !== l.id && e.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
445
- }, null, 10, pt)) : c("", !0),
447
+ class: V(`${g.value && g.value !== l.id && e.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
448
+ }, null, 10, ft)) : c("", !0),
446
449
  l.value && e.value.style.chart.layout.arcs.gradient.show ? (o(), n("g", {
447
450
  key: 2,
448
- filter: `url(#blur_${_.value})`
451
+ filter: `url(#blur_${T.value})`
449
452
  }, [
450
- T("path", {
453
+ _("path", {
451
454
  d: l.path,
452
455
  fill: "none",
453
456
  stroke: e.value.style.chart.layout.arcs.gradient.color,
454
- "stroke-width": e.value.style.chart.layout.arcs.strokeWidth / 2 * (f.value === l.id && e.value.style.chart.layout.arcs.hoverEffect.show ? e.value.style.chart.layout.arcs.hoverEffect.multiplicator : 1),
457
+ "stroke-width": e.value.style.chart.layout.arcs.strokeWidth / 2 * (g.value === l.id && e.value.style.chart.layout.arcs.hoverEffect.show ? e.value.style.chart.layout.arcs.hoverEffect.multiplicator : 1),
455
458
  "stroke-linecap": "round",
456
- class: V(`vue-ui-galaxy-gradient ${f.value && f.value !== l.id && e.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
457
- }, null, 10, gt)
458
- ], 8, yt)) : c("", !0)
459
+ class: V(`vue-ui-galaxy-gradient ${g.value && g.value !== l.id && e.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
460
+ }, null, 10, bt)
461
+ ], 8, gt)) : c("", !0)
459
462
  ]))), 256)),
460
463
  (o(!0), n(ce, null, ve(O.value, (l, s) => (o(), n("g", null, [
461
464
  l.value ? (o(), n("path", {
@@ -465,23 +468,23 @@ const rt = ["id"], ut = {
465
468
  stroke: "transparent",
466
469
  "stroke-width": e.value.style.chart.layout.arcs.strokeWidth + e.value.style.chart.layout.arcs.borderWidth,
467
470
  "stroke-linecap": "round",
468
- onMouseenter: (r) => Se({
471
+ onMouseenter: (r) => Ne({
469
472
  datapoint: l,
470
473
  seriesIndex: l.seriesIndex,
471
474
  show: !0
472
475
  }),
473
476
  onMouseleave: a[0] || (a[0] = (r) => {
474
- B.value = !1, f.value = null;
477
+ B.value = !1, g.value = null;
475
478
  }),
476
479
  onClick: (r) => ae("selectDatapoint", l)
477
- }, null, 40, ft)) : c("", !0)
480
+ }, null, 40, mt)) : c("", !0)
478
481
  ]))), 256)),
479
482
  v(t.$slots, "svg", { svg: P.value }, void 0, !0)
480
- ], 14, it)) : c("", !0),
481
- t.$slots.watermark ? (o(), n("div", bt, [
483
+ ], 14, vt)) : c("", !0),
484
+ t.$slots.watermark ? (o(), n("div", kt, [
482
485
  v(t.$slots, "watermark", S(N({ isPrinting: i(Z) || i(ee) })), void 0, !0)
483
486
  ])) : c("", !0),
484
- L.value ? c("", !0) : (o(), $(et, {
487
+ L.value ? c("", !0) : (o(), $(tt, {
485
488
  key: 6,
486
489
  config: {
487
490
  type: "galaxy",
@@ -493,18 +496,18 @@ const rt = ["id"], ut = {
493
496
  }
494
497
  }
495
498
  }, null, 8, ["config"])),
496
- e.value.style.chart.legend.show ? (o(), $(Ye, {
499
+ e.value.style.chart.legend.show ? (o(), $(qe, {
497
500
  key: `legend_${q.value}`,
498
501
  legendSet: se.value,
499
- config: Ne.value,
502
+ config: Le.value,
500
503
  onClickMarker: a[1] || (a[1] = ({ legend: l }) => U(l))
501
504
  }, {
502
505
  item: d(({ legend: l, index: s }) => [
503
- T("div", {
506
+ _("div", {
504
507
  onClick: (r) => U(l),
505
508
  style: E(`opacity:${y.value.includes(l.id) ? 0.5 : 1}`)
506
509
  }, [
507
- de(M(l.name) + ": " + M(i(ge)(
510
+ de(M(l.name) + ": " + M(i(fe)(
508
511
  e.value.style.chart.layout.labels.dataLabels.formatter,
509
512
  l.value,
510
513
  i(k)({
@@ -515,20 +518,20 @@ const rt = ["id"], ut = {
515
518
  }),
516
519
  { datapoint: l, seriesIndex: s }
517
520
  )) + " ", 1),
518
- y.value.includes(l.id) ? (o(), n("span", wt, " ( - % ) ")) : (o(), n("span", kt, " (" + M(isNaN(l.value / b.value) ? "-" : i(k)({
521
+ y.value.includes(l.id) ? (o(), n("span", $t, " ( - % ) ")) : (o(), n("span", wt, " (" + M(isNaN(l.value / b.value) ? "-" : i(k)({
519
522
  v: l.value / b.value * 100,
520
523
  s: "%",
521
524
  r: e.value.style.chart.legend.roundingPercentage
522
525
  })) + ") ", 1))
523
- ], 12, mt)
526
+ ], 12, Ct)
524
527
  ]),
525
528
  _: 1
526
529
  }, 8, ["legendSet", "config"])) : c("", !0),
527
530
  v(t.$slots, "legend", { legend: se.value }, void 0, !0),
528
- t.$slots.source ? (o(), n("div", Ct, [
531
+ t.$slots.source ? (o(), n("div", xt, [
529
532
  v(t.$slots, "source", {}, void 0, !0)
530
533
  ], 512)) : c("", !0),
531
- ie(Je, {
534
+ ie(Ke, {
532
535
  show: p.value.showTooltip && B.value,
533
536
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
534
537
  color: e.value.style.chart.tooltip.color,
@@ -542,7 +545,7 @@ const rt = ["id"], ut = {
542
545
  parent: F.value,
543
546
  content: G.value,
544
547
  isFullscreen: x.value,
545
- isCustom: i(fe)(e.value.style.chart.tooltip.customFormat)
548
+ isCustom: i(ge)(e.value.style.chart.tooltip.customFormat)
546
549
  }, {
547
550
  "tooltip-before": d(() => [
548
551
  v(t.$slots, "tooltip-before", S(N({ ...W.value })), void 0, !0)
@@ -552,7 +555,7 @@ const rt = ["id"], ut = {
552
555
  ]),
553
556
  _: 3
554
557
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
555
- L.value ? (o(), $(tt, {
558
+ L.value ? (o(), $(lt, {
556
559
  key: 9,
557
560
  hideDetails: "",
558
561
  config: {
@@ -569,7 +572,7 @@ const rt = ["id"], ut = {
569
572
  }
570
573
  }, {
571
574
  content: d(() => [
572
- (o(), $(Ke, {
575
+ (o(), $(Qe, {
573
576
  key: `table_${Y.value}`,
574
577
  colNames: A.value.colNames,
575
578
  head: A.value.head,
@@ -579,10 +582,10 @@ const rt = ["id"], ut = {
579
582
  onClose: a[2] || (a[2] = (l) => p.value.showTable = !1)
580
583
  }, {
581
584
  th: d(({ th: l }) => [
582
- T("div", {
585
+ _("div", {
583
586
  innerHTML: l,
584
587
  style: { display: "flex", "align-items": "center" }
585
- }, null, 8, $t)
588
+ }, null, 8, _t)
586
589
  ]),
587
590
  td: d(({ td: l }) => [
588
591
  de(M(l.name || l), 1)
@@ -592,9 +595,9 @@ const rt = ["id"], ut = {
592
595
  ]),
593
596
  _: 1
594
597
  }, 8, ["config"])) : c("", !0)
595
- ], 46, rt));
598
+ ], 46, nt));
596
599
  }
597
- }, Bt = /* @__PURE__ */ st(xt, [["__scopeId", "data-v-0ba6a1b9"]]);
600
+ }, Ut = /* @__PURE__ */ ut(Tt, [["__scopeId", "data-v-67e1681a"]]);
598
601
  export {
599
- Bt as default
602
+ Ut as default
600
603
  };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),s=require("./index-DD4PT0Pl.cjs"),W=require("./useResponsive-YQYQrAZ_.cjs"),H=require("./usePrinter-BtJq2wwh.cjs"),he=require("./vue-ui-skeleton-Tk4j6G2D.cjs"),me=require("./Title-BQSh4ukk.cjs"),Z=require("./useNestedProp-DU7JFxpL.cjs"),fe=require("./PackageVersion-CCgJTyH9.cjs"),ye=require("./PenAndPaper-DvNBHCpq.cjs"),pe=require("./useUserOptionState-BgepsfED.cjs"),ke=require("./useChartAccessibility-Cm7nkzTG.cjs"),ge=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),be=["id"],Be={key:0},_e=["xmlns","viewBox"],Se=["width","height"],xe=["id"],Ce=["stop-color"],we=["stop-color"],Ne=["stop-color"],Fe=["id"],Ee=["stdDeviation"],ze={key:1},$e=["d","fill","stroke"],Pe=["d","fill","stroke"],Oe=["d","fill"],Me=["id","d"],Ve=["fill","font-size","font-weight"],Xe=["href","startOffset"],Ae=["x","y","text-anchor","fill","font-size","font-weight"],Ie=["d","filter"],Ye=["stroke","stroke-width"],Re=["stroke","stroke-width"],Le=["stroke","stroke-width"],De=["stroke","stroke-width"],qe={key:8},Ge=["x","y","text-anchor","font-size","font-weight","fill"],je=["x","y","font-size","font-weight","fill"],Te={key:0},Ue=["x1","y1","x2","y2","stroke","stroke-width"],We=["x1","y1","x2","y2","stroke","stroke-width"],He=["x1","y1","x2","y2","stroke-width","filter"],Ze={key:1},Je=["d","fill","stroke","stroke-width"],Ke=["cx","cy","fill","r","stroke-width","stroke"],Qe=["x","y","font-size","fill"],et={key:5,class:"vue-data-ui-watermark"},tt={__name:"vue-ui-gauge",props:{config:{type:Object,default(){return{}}},dataset:{type:Object,default(){return{}}}},setup(w,{expose:J}){const{vue_ui_gauge:K}=s.useConfig(),c=w,S=e.computed(()=>!!c.dataset&&Object.keys(c.dataset).length>0&&c.dataset.series&&c.dataset.series.length),m=e.ref(s.createUid()),Q=e.ref(null),z=e.ref(0),B=e.ref(null),$=e.ref(null),P=e.ref(null),O=e.ref(null),M=e.ref(null),V=e.ref(0),t=e.computed({get:()=>I(),set:a=>a}),{userOptionsVisible:N,setUserOptionsVisibility:X,keepUserOptionState:A}=pe.useUserOptionState({config:t.value}),{svgRef:ee}=ke.useChartAccessibility({config:t.value.style.chart.title});e.watch(()=>c.config,a=>{t.value=I(),N.value=!t.value.userOptions.showOnChartHover,G(),V.value+=1},{deep:!0});function I(){const a=Z.useNestedProp({userConfig:c.config,defaultConfig:K});return a.theme?{...Z.useNestedProp({userConfig:s.themes.vue_ui_gauge[a.theme]||c.config,defaultConfig:a}),customPalette:s.themePalettes[a.theme]||s.palette}:a}const{isPrinting:Y,isImaging:R,generatePdf:L,generateImage:D}=H.usePrinter({elementId:`vue-ui-gauge_${m.value}`,fileName:t.value.style.chart.title.text||"vue-ui-gauge"}),te=e.computed(()=>t.value.userOptions.show&&!t.value.style.chart.title.text),ae=e.computed(()=>s.convertCustomPalette(t.value.customPalette)),k=e.computed(()=>{if(!S.value||s.objectIsEmpty(c.dataset.series||{}))return{value:0,series:[{from:0,to:0}]};const a=[];(c.dataset.series||[]).forEach(l=>{a.push(l.from||1e-7),a.push(l.to||1e-7)});const n=Math.max(...a);return{...c.dataset,series:(c.dataset.series||[]).map((l,o)=>({...l,color:s.convertColorToHex(l.color)||ae.value[o]||s.palette[o],value:((l.to||0)-(l.from||0))/n*100}))}}),h=e.ref(512),r=e.ref({height:358.4,width:h.value,top:0,bottom:358.4,centerX:179.2,centerY:h.value/2,labelFontSize:18,legendFontSize:t.value.style.chart.legend.fontSize,pointerRadius:t.value.style.chart.layout.pointer.circle.radius,trackSize:t.value.style.chart.layout.track.size,pointerSize:t.value.style.chart.layout.pointer.size,pointerStrokeWidth:t.value.style.chart.layout.pointer.strokeWidth,markerOffset:t.value.style.chart.layout.markers.offsetY+3,segmentFontSize:t.value.style.chart.layout.segmentNames.fontSize}),b=e.ref(0),p=e.ref(0),d=e.ref(t.value.style.chart.animation.use?Math.min(...c.dataset.series.map(a=>a.from)):c.dataset.value);e.watch(()=>c.dataset.value,()=>{j(c.dataset.value)});const u=e.computed(()=>{const a=r.value.width/2,n=i.value.base,l=Math.PI*((d.value+0-p.value)/(b.value-p.value))+Math.PI;return{x1:a,y1:n,x2:a+i.value.pointerSize*r.value.pointerSize*.9*Math.cos(l),y2:n+i.value.pointerSize*r.value.pointerSize*.9*Math.sin(l)}}),q=e.computed(()=>{const a=r.value.width/2,n=i.value.base,l=Math.PI*((d.value+0-p.value)/(b.value-p.value))+Math.PI,o=a+i.value.pointerSize*r.value.pointerSize*.9*Math.cos(l),f=n+i.value.pointerSize*r.value.pointerSize*.9*Math.sin(l),y=r.value.pointerRadius,ie=a+y*Math.cos(l+Math.PI/2),ce=n+y*Math.sin(l+Math.PI/2),ve=a+y*Math.cos(l-Math.PI/2),de=n+y*Math.sin(l-Math.PI/2);return isNaN(o)?null:`M ${o},${f} ${ie},${ce} ${ve},${de} Z`}),F=e.computed(()=>{for(let a=0;a<k.value.series.length;a+=1){const{color:n,from:l,to:o}=k.value.series[a];if(d.value>=l&&d.value<=o)return n}return"#2D353C"}),x=e.ref(null);function G(){if(s.objectIsEmpty(c.dataset)?s.error({componentName:"VueUiGauge",type:"dataset"}):(s.getMissingDatasetAttributes({datasetObject:c.dataset,requiredAttributes:["value","series"]}).forEach(a=>{s.error({componentName:"VueUiGauge",type:"datasetAttribute",property:a})}),Object.hasOwn(c.dataset,"series")&&(c.dataset.series.length?c.dataset.series.forEach((a,n)=>{s.getMissingDatasetAttributes({datasetObject:a,requiredAttributes:["from","to"]}).forEach(l=>{s.error({componentName:"VueUiGauge",type:"datasetSerieAttribute",property:l,index:n})})}):s.error({componentName:"VueUiGauge",type:"datasetAttributeEmpty",property:"series"}))),j(c.dataset.value||0),t.value.responsive){const a=W.throttle(()=>{const{width:n,height:l}=W.useResponsive({chart:B.value,title:t.value.style.chart.title.text?$.value:null,legend:P.value,source:O.value,noTitle:M.value});requestAnimationFrame(()=>{r.value.width=n,r.value.height=l,r.value.centerX=n/2,r.value.centerY=h.value/2/358.4*l,r.value.bottom=l,r.value.labelFontSize=18/h.value*Math.min(l,n)<10?10:18/h.value*Math.min(l,n),r.value.legendFontSize=t.value.style.chart.legend.fontSize/h.value*Math.min(l,n)<14?14:t.value.style.chart.legend.fontSize/h.value*Math.min(l,n),r.value.pointerRadius=t.value.style.chart.layout.pointer.circle.radius/h.value*Math.min(l,n),r.value.trackSize=t.value.style.chart.layout.track.size/h.value*Math.min(l,n),r.value.pointerStrokeWidth=s.translateSize({relator:Math.min(n,l),adjuster:h.value,source:t.value.style.chart.layout.pointer.strokeWidth,threshold:2,fallback:2}),r.value.markerOffset=s.translateSize({relator:Math.max(n,l),adjuster:h.value,source:t.value.style.chart.layout.markers.offsetY+3,threshold:2,fallback:2}),r.value.segmentFontSize=s.translateSize({relator:Math.min(n,l),adjuster:h.value,source:t.value.style.chart.layout.segmentNames.fontSize,threshold:8,fallback:8})})});x.value=new ResizeObserver(a),x.value.observe(B.value.parentNode)}}e.onMounted(()=>{G()}),e.onBeforeUnmount(()=>{x.value&&x.value.disconnect()});function j(a){const n=[];(k.value.series||[]).forEach(y=>{n.push(y.from||0),n.push(y.to||0)}),b.value=Math.max(...n),p.value=Math.min(...n);let l=t.value.style.chart.animation.speed;const o=Math.abs(a-d.value)/(l*60);function f(){d.value<a?d.value=Math.min(d.value+o,a):d.value>a&&(d.value=Math.max(d.value-o,a)),d.value!==a&&requestAnimationFrame(f)}f()}const i=e.computed(()=>{const a=t.value.responsive?Math.min(r.value.width,r.value.height):r.value.width,n=2.5/t.value.style.chart.layout.radiusRatio;return{arcs:a/n,gradients:a/(n*1.1),base:t.value.responsive?r.value.height/2:r.value.height*.7,ratingBase:t.value.responsive?r.value.height/2+r.value.height/4:r.value.height*.9,pointerSize:t.value.responsive?Math.min(r.value.width,r.value.height)/3:r.value.width/3.2}}),v=e.computed(()=>s.makeDonut({series:k.value.series},r.value.width/2,i.value.base,i.value.arcs,i.value.arcs,1,1,1,180,109.9495,40*r.value.trackSize)),le=e.computed(()=>s.makeDonut({series:k.value.series},r.value.width/2,i.value.base,i.value.arcs*t.value.style.chart.layout.segmentNames.offsetRatio,i.value.arcs*t.value.style.chart.layout.segmentNames.offsetRatio,1,1,1,180,109.9495,40*r.value.trackSize)),g=e.computed(()=>v.value.map(a=>i.value.arcs*t.value.style.chart.layout.segmentNames.offsetRatio*(a.nameOffsetRatio||1))),T=e.computed(()=>{const{x:a,y:n}=s.offsetFromCenterPoint({initX:v.value[0].firstSeparator.x,initY:v.value[0].firstSeparator.y,centerX:u.value.x1,centerY:u.value.y1,offset:-t.value.style.chart.layout.segmentSeparators.offsetIn}),{x:l,y:o}=s.offsetFromCenterPoint({initX:v.value[0].startX,initY:v.value[0].startY,centerX:u.value.x1,centerY:u.value.y1,offset:t.value.style.chart.layout.segmentSeparators.offsetOut});return{x1:a,y1:n,x2:l,y2:o}}),U=e.computed(()=>v.value.map(a=>{const{x:n,y:l}=s.offsetFromCenterPoint({initX:a.separator.x,initY:a.separator.y,centerX:u.value.x1,centerY:u.value.y1,offset:-t.value.style.chart.layout.segmentSeparators.offsetIn}),{x:o,y:f}=s.offsetFromCenterPoint({initX:a.endX,initY:a.endY,centerX:u.value.x1,centerY:u.value.y1,offset:t.value.style.chart.layout.segmentSeparators.offsetOut});return{x1:n,y1:l,x2:o,y2:f}}));function re(a){if(a.reduce((f,y)=>f+y,0)>100)throw new Error("Total % must not exceed 100");const l=50;let o=0;return a.map(f=>(o+=f,`${o/100*l-f/4}%`))}const oe=e.computed(()=>re(v.value.map(a=>a.proportion*100))),ne=e.computed(()=>s.makeDonut({series:k.value.series},r.value.width/2,i.value.base,i.value.gradients,i.value.gradients,.95,1,1,180,110.02,2*r.value.trackSize)),se=e.computed(()=>{const a=p.value>=0?-p.value:Math.abs(p.value);return s.createHalfCircleArc({radius:t.value.style.chart.layout.indicatorArc.radius*r.value.trackSize,centerX:r.value.width/2,centerY:i.value.base,percentage:(d.value+a)/(b.value+a)})}),_=e.ref(!1);function ue(a){_.value=a,z.value+=1}const C=e.ref(!1);function E(){C.value=!C.value}return J({generatePdf:L,generateImage:D,toggleAnnotator:E}),(a,n)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(`vue-ui-gauge ${_.value?"vue-data-ui-wrapper-fullscreen":""}`),ref_key:"gaugeChart",ref:B,id:`vue-ui-gauge_${m.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(X)(!0)),onMouseleave:n[1]||(n[1]=()=>e.unref(X)(!1))},[t.value.userOptions.buttons.annotator?(e.openBlock(),e.createBlock(ye.PenAndPaper,{key:0,parent:B.value,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,active:C.value,onClose:E},null,8,["parent","backgroundColor","color","active"])):e.createCommentVNode("",!0),te.value?(e.openBlock(),e.createElementBlock("div",{key:1,ref_key:"noTitle",ref:M,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:$,style:"width:100%;background:transparent;padding-bottom:12px"},[(e.openBlock(),e.createBlock(me._sfc_main,{key:`title_${V.value}`,config:{title:{cy:"gauge-div-title",...t.value.style.chart.title},subtitle:{cy:"gauge-div-subtitle",...t.value.style.chart.title.subtitle}}},{default:e.withCtx(()=>[t.value.translations.base&&w.dataset.base?(e.openBlock(),e.createElementBlock("span",Be,e.toDisplayString(t.value.translations.base)+": "+e.toDisplayString(w.dataset.base),1)):e.createCommentVNode("",!0)]),_:1},8,["config"]))],512)):e.createCommentVNode("",!0),t.value.userOptions.show&&S.value&&(e.unref(A)||e.unref(N))?(e.openBlock(),e.createBlock(H.UserOptions,{ref_key:"details",ref:Q,key:`user_options_${z.value}`,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,isImaging:e.unref(R),isPrinting:e.unref(Y),uid:m.value,hasXls:!1,hasPdf:t.value.userOptions.buttons.pdf,hasImg:t.value.userOptions.buttons.img,hasFullscreen:t.value.userOptions.buttons.fullscreen,isFullscreen:_.value,titles:{...t.value.userOptions.buttonTitles},chartElement:B.value,position:t.value.userOptions.position,hasAnnotator:t.value.userOptions.buttons.annotator,isAnnotation:C.value,onToggleFullscreen:ue,onGeneratePdf:e.unref(L),onGenerateImage:e.unref(D),onToggleAnnotator:E,style:e.normalizeStyle({visibility:e.unref(A)?e.unref(N)?"visible":"hidden":"visible"})},e.createSlots({_:2},[a.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(a.$slots,"optionPdf",{},void 0,!0)]),key:"0"}:void 0,a.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(a.$slots,"optionImg",{},void 0,!0)]),key:"1"}:void 0,a.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:l,isFullscreen:o})=>[e.renderSlot(a.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:l,isFullscreen:o})),void 0,!0)]),key:"2"}:void 0,a.$slots.optionAnnotator?{name:"optionAnnotator",fn:e.withCtx(({toggleAnnotator:l,isAnnotator:o})=>[e.renderSlot(a.$slots,"optionAnnotator",e.normalizeProps(e.guardReactiveProps({toggleAnnotator:l,isAnnotator:o})),void 0,!0)]),key:"3"}:void 0]),1032,["backgroundColor","color","isImaging","isPrinting","uid","hasPdf","hasImg","hasFullscreen","isFullscreen","titles","chartElement","position","hasAnnotator","isAnnotation","onGeneratePdf","onGenerateImage","style"])):e.createCommentVNode("",!0),S.value?(e.openBlock(),e.createElementBlock("svg",{key:4,ref_key:"svgRef",ref:ee,xmlns:e.unref(s.XMLNS),class:e.normalizeClass({"vue-data-ui-fullscreen--on":_.value,"vue-data-ui-fulscreen--off":!_.value}),viewBox:`0 0 ${r.value.width<=0?10:r.value.width} ${r.value.height<=0?10:r.value.height}`,style:e.normalizeStyle(`max-width:100%;overflow:hidden !important;background:transparent;color:${t.value.style.chart.color}`)},[e.createVNode(fe._sfc_main),a.$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(a.$slots,"chart-background",{},void 0,!0)],8,Se)):e.createCommentVNode("",!0),e.createElementVNode("defs",null,[e.createElementVNode("radialGradient",{id:`gradient_${m.value}`,cx:"50%",cy:"50%",r:"50%",fx:"50%",fy:"50%"},[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(s.setOpacity)("#FFFFFF",1)},null,8,Ce),e.createElementVNode("stop",{offset:"80%","stop-color":e.unref(s.setOpacity)("#FFFFFF",t.value.style.chart.layout.track.gradientIntensity)},null,8,we),e.createElementVNode("stop",{offset:"100%","stop-color":e.unref(s.setOpacity)("#FFFFFF",1)},null,8,Ne)],8,xe)]),e.createElementVNode("defs",null,[e.createElementVNode("filter",{id:`blur_${m.value}`,x:"-50%",y:"-50%",width:"200%",height:"200%"},[e.createElementVNode("feGaussianBlur",{in:"SourceGraphic",stdDeviation:100/t.value.style.chart.layout.track.gradientIntensity},null,8,Ee)],8,Fe)]),a.$slots.pattern?(e.openBlock(),e.createElementBlock("g",ze,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(v.value,(l,o)=>(e.openBlock(),e.createElementBlock("defs",null,[e.renderSlot(a.$slots,"pattern",e.mergeProps({ref_for:!0},{seriesIndex:o,patternId:`pattern_${m.value}_${o}`}),void 0,!0)]))),256))])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(v.value,(l,o)=>(e.openBlock(),e.createElementBlock("path",{key:`arc_${o}`,d:l.arcSlice,fill:l.color,stroke:t.value.style.chart.backgroundColor,"stroke-linecap":"round"},null,8,$e))),128)),a.$slots.pattern?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:2},e.renderList(v.value,(l,o)=>(e.openBlock(),e.createElementBlock("path",{key:`arc_${o}`,d:l.arcSlice,fill:`url(#pattern_${m.value}_${o})`,stroke:t.value.style.chart.backgroundColor,"stroke-linecap":"round"},null,8,Pe))),128)):e.createCommentVNode("",!0),t.value.style.chart.layout.indicatorArc.show?(e.openBlock(),e.createElementBlock("path",{key:3,d:se.value,fill:t.value.style.chart.layout.indicatorArc.fill},null,8,Oe)):e.createCommentVNode("",!0),t.value.style.chart.layout.segmentNames.show&&t.value.style.chart.layout.segmentNames.curved?(e.openBlock(),e.createElementBlock(e.Fragment,{key:4},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(v.value,(l,o)=>(e.openBlock(),e.createElementBlock("path",{id:`curve_${m.value}_${o}`,d:`M ${u.value.x1},${u.value.y1} m -${g.value[o]},0 a ${g.value[o]},${g.value[o]} 0 1,1 ${2*g.value[o]},0 a ${g.value[o]},${g.value[o]} 0 1,1 -${2*g.value[o]},0`,fill:"transparent"},null,8,Me))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(v.value,(l,o)=>(e.openBlock(),e.createElementBlock("text",{fill:t.value.style.chart.layout.segmentNames.useSerieColor?l.color:t.value.style.chart.layout.segmentNames.color,"font-size":r.value.segmentFontSize,"font-weight":t.value.style.chart.layout.segmentNames.bold?"bold":"normal","text-anchor":"middle"},[e.createElementVNode("textPath",{href:`#curve_${m.value}_${o}`,startOffset:oe.value[o]},e.toDisplayString(l.name||""),9,Xe)],8,Ve))),256))],64)):e.createCommentVNode("",!0),t.value.style.chart.layout.segmentNames.show&&!t.value.style.chart.layout.segmentNames.curved?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:5},e.renderList(le.value,(l,o)=>(e.openBlock(),e.createElementBlock("text",{x:l.center.endX,y:l.center.endY,"text-anchor":e.unref(s.calcMarkerOffsetX)(l,!1,12).anchor,fill:t.value.style.chart.layout.segmentNames.useSerieColor?l.color:t.value.style.chart.layout.segmentNames.color,"font-size":r.value.segmentFontSize,"font-weight":t.value.style.chart.layout.segmentNames.bold?"bold":"normal"},e.toDisplayString(l.name||""),9,Ae))),256)):e.createCommentVNode("",!0),t.value.style.chart.layout.track.useGradient?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:6},e.renderList(ne.value,(l,o)=>(e.openBlock(),e.createElementBlock("path",{key:`arc_${o}`,d:l.arcSlice,fill:"#FFFFFF",stroke:"none","stroke-linecap":"round",filter:`url(#blur_${m.value})`},null,8,Ie))),128)):e.createCommentVNode("",!0),t.value.style.chart.layout.segmentSeparators.show?(e.openBlock(),e.createElementBlock(e.Fragment,{key:7},[e.createElementVNode("line",e.mergeProps(T.value,{stroke:t.value.style.chart.backgroundColor,"stroke-width":t.value.style.chart.layout.segmentSeparators.strokeWidth+2,"stroke-linecap":"round"}),null,16,Ye),e.createElementVNode("line",e.mergeProps(T.value,{stroke:t.value.style.chart.layout.segmentSeparators.stroke,"stroke-width":t.value.style.chart.layout.segmentSeparators.strokeWidth,"stroke-linecap":"round"}),null,16,Re),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(U.value,l=>(e.openBlock(),e.createElementBlock("line",e.mergeProps({ref_for:!0},l,{stroke:t.value.style.chart.backgroundColor,"stroke-width":t.value.style.chart.layout.segmentSeparators.strokeWidth+2,"stroke-linecap":"round"}),null,16,Le))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(U.value,l=>(e.openBlock(),e.createElementBlock("line",e.mergeProps({ref_for:!0},l,{stroke:t.value.style.chart.layout.segmentSeparators.stroke,"stroke-width":t.value.style.chart.layout.segmentSeparators.strokeWidth,"stroke-linecap":"round"}),null,16,De))),256))],64)):e.createCommentVNode("",!0),t.value.style.chart.layout.markers.show?(e.openBlock(),e.createElementBlock("g",qe,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(v.value,(l,o)=>(e.openBlock(),e.createElementBlock("text",{x:e.unref(s.offsetFromCenterPoint)({centerX:u.value.x1,centerY:i.value.base,initX:l.center.startX,initY:l.center.startY,offset:r.value.markerOffset}).x,y:e.unref(s.offsetFromCenterPoint)({centerX:u.value.x1,centerY:i.value.base,initX:l.center.startX,initY:l.center.startY,offset:r.value.markerOffset}).y,"text-anchor":l.center.startX<u.value.x1-5?"end":l.center.startX>u.value.x1+5?"start":"middle","font-size":r.value.labelFontSize*t.value.style.chart.layout.markers.fontSizeRatio,"font-weight":`${t.value.style.chart.layout.markers.bold?"bold":"normal"}`,fill:t.value.style.chart.layout.markers.color},e.toDisplayString(e.unref(s.applyDataLabel)(t.value.style.chart.layout.markers.formatter,l.from,e.unref(s.dataLabel)({p:t.value.style.chart.layout.markers.prefix,v:l.from,s:t.value.style.chart.layout.markers.suffix,r:t.value.style.chart.layout.markers.roundingValue}))),9,Ge))),256))])):e.createCommentVNode("",!0),t.value.style.chart.layout.markers.show?(e.openBlock(),e.createElementBlock("text",{key:9,x:e.unref(s.offsetFromCenterPoint)({centerX:r.value.width/2,centerY:i.value.base,initX:v.value.at(-1).endX,initY:v.value.at(-1).endY,offset:r.value.markerOffset}).x,y:e.unref(s.offsetFromCenterPoint)({centerX:r.value.width/2,centerY:i.value.base,initX:v.value.at(-1).endX,initY:v.value.at(-1).endY,offset:r.value.markerOffset}).y,"text-anchor":"start","font-size":r.value.labelFontSize*t.value.style.chart.layout.markers.fontSizeRatio,"font-weight":`${t.value.style.chart.layout.markers.bold?"bold":"normal"}`,fill:t.value.style.chart.layout.markers.color},e.toDisplayString(e.unref(s.applyDataLabel)(t.value.style.chart.layout.markers.formatter,b.value,e.unref(s.dataLabel)({p:t.value.style.chart.layout.markers.prefix,v:b.value,s:t.value.style.chart.layout.markers.suffix,r:t.value.style.chart.layout.markers.roundingValue}))),9,je)):e.createCommentVNode("",!0),t.value.style.chart.layout.pointer.show?(e.openBlock(),e.createElementBlock(e.Fragment,{key:10},[t.value.style.chart.layout.pointer.type==="rounded"?(e.openBlock(),e.createElementBlock("g",Te,[isNaN(u.value.x2)?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("line",{key:0,x1:u.value.x1,y1:u.value.y1,x2:u.value.x2,y2:u.value.y2,stroke:t.value.style.chart.layout.pointer.stroke,"stroke-width":r.value.pointerStrokeWidth,"stroke-linecap":"round"},null,8,Ue)),isNaN(u.value.x2)?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("line",{key:1,x1:u.value.x1,y1:u.value.y1,x2:u.value.x2,y2:u.value.y2,stroke:t.value.style.chart.layout.pointer.useRatingColor?F.value:t.value.style.chart.layout.pointer.color,"stroke-linecap":"round","stroke-width":r.value.pointerStrokeWidth*.7},null,8,We)),!isNaN(u.value.x2)&&t.value.style.chart.layout.track.useGradient?(e.openBlock(),e.createElementBlock("line",{key:2,x1:u.value.x1,y1:u.value.y1,x2:u.value.x2,y2:u.value.y2,stroke:"white","stroke-linecap":"round","stroke-width":r.value.pointerStrokeWidth*.3,filter:`url(#blur_${m.value})`},null,8,He)):e.createCommentVNode("",!0)])):(e.openBlock(),e.createElementBlock("g",Ze,[q.value?(e.openBlock(),e.createElementBlock("path",{key:0,d:q.value,fill:t.value.style.chart.layout.pointer.useRatingColor?F.value:t.value.style.chart.layout.pointer.color,stroke:t.value.style.chart.layout.pointer.stroke,"stroke-width":t.value.style.chart.layout.pointer.circle.strokeWidth,"stroke-linejoin":"round"},null,8,Je)):e.createCommentVNode("",!0)])),e.createElementVNode("circle",{cx:r.value.width/2,cy:i.value.base,fill:t.value.style.chart.layout.pointer.circle.color,r:r.value.pointerRadius<=0?1e-4:r.value.pointerRadius,"stroke-width":t.value.style.chart.layout.pointer.circle.strokeWidth,stroke:t.value.style.chart.layout.pointer.circle.stroke},null,8,Ke)],64)):e.createCommentVNode("",!0),t.value.style.chart.legend.show?(e.openBlock(),e.createElementBlock("text",{key:11,x:r.value.width/2,y:i.value.ratingBase,"text-anchor":"middle","font-size":r.value.legendFontSize,"font-weight":"bold",fill:t.value.style.chart.legend.useRatingColor?F.value:t.value.style.chart.legend.color},e.toDisplayString(e.unref(s.applyDataLabel)(t.value.style.chart.legend.formatter,d.value,e.unref(s.dataLabel)({p:t.value.style.chart.legend.prefix+(t.value.style.chart.legend.showPlusSymbol&&d.value>0?"+":""),v:d.value,s:t.value.style.chart.legend.suffix,r:t.value.style.chart.legend.roundingValue}))),9,Qe)):e.createCommentVNode("",!0),e.renderSlot(a.$slots,"svg",{svg:r.value},void 0,!0)],14,_e)):e.createCommentVNode("",!0),a.$slots.watermark?(e.openBlock(),e.createElementBlock("div",et,[e.renderSlot(a.$slots,"watermark",e.normalizeProps(e.guardReactiveProps({isPrinting:e.unref(Y)||e.unref(R)})),void 0,!0)])):e.createCommentVNode("",!0),S.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(he.default,{key:6,config:{type:"gauge",style:{backgroundColor:t.value.style.chart.backgroundColor,gauge:{color:"#CCCCCC"}}}},null,8,["config"])),e.createElementVNode("div",{ref_key:"chartLegend",ref:P},[e.renderSlot(a.$slots,"legend",{legend:k.value},void 0,!0)],512),a.$slots.source?(e.openBlock(),e.createElementBlock("div",{key:7,ref_key:"source",ref:O,dir:"auto"},[e.renderSlot(a.$slots,"source",{},void 0,!0)],512)):e.createCommentVNode("",!0)],46,be))}},at=ge._export_sfc(tt,[["__scopeId","data-v-b25b19d0"]]);exports.default=at;