vue-data-ui 2.3.28 → 2.3.29

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 (180) hide show
  1. package/README.md +15 -0
  2. package/dist/{Arrow-C6lQ94rK.cjs → Arrow-B8z06v67.cjs} +1 -1
  3. package/dist/{Arrow-BPoxM_Tq.js → Arrow-Bh7WeO_g.js} +1 -1
  4. package/dist/{BaseIcon-Op8_v5x7.js → BaseIcon-BG_bJS3R.js} +1 -1
  5. package/dist/{BaseIcon-BK5xYOzV.cjs → BaseIcon-DDCJA3rm.cjs} +1 -1
  6. package/dist/{DataTable-bEXuvNn5.js → DataTable-CsPidn0_.js} +23 -20
  7. package/dist/DataTable-Doh_4M84.cjs +1 -0
  8. package/dist/{Legend-BNfS77GS.cjs → Legend-B20rRwGi.cjs} +1 -1
  9. package/dist/{Legend-DwludSgp.js → Legend-CkQ_zypV.js} +1 -1
  10. package/dist/{Shape-COYAxpcP.js → Shape-B4gGeBLI.js} +1 -1
  11. package/dist/{Shape-CcWWIf-s.cjs → Shape-B8O8_E6l.cjs} +1 -1
  12. package/dist/{Slicer-DGkm-5p-.cjs → Slicer-BXveU40S.cjs} +1 -1
  13. package/dist/{Slicer-Cv-2s_-r.js → Slicer-DaEfxscP.js} +1 -1
  14. package/dist/{Title-DQz9dO4d.cjs → Title-BU6E8Xld.cjs} +1 -1
  15. package/dist/{Title-CtWGLaoz.js → Title-eBTH8iGJ.js} +1 -1
  16. package/dist/{Tooltip-D6BUVHr1.js → Tooltip-B11OahTD.js} +1 -1
  17. package/dist/{Tooltip-DQgBkgFk.cjs → Tooltip-Oicp_EIo.cjs} +1 -1
  18. package/dist/{index-BhCM2QF1.js → index-BlXzlBwZ.js} +443 -364
  19. package/dist/index-hKWfT7Wa.cjs +4 -0
  20. package/dist/style.css +1 -1
  21. package/dist/types/vue-data-ui.d.cts +65 -0
  22. package/dist/types/vue-data-ui.d.ts +65 -0
  23. package/dist/{useNestedProp-CH3PVhvc.js → useNestedProp-BoNl5H_z.js} +1 -1
  24. package/dist/{useNestedProp-C2H2jmU6.cjs → useNestedProp-Cggpoz7e.cjs} +1 -1
  25. package/dist/{usePrinter-B75HLwzw.js → usePrinter-CZ8F5Cth.js} +1 -1
  26. package/dist/{usePrinter-DTF28E03.cjs → usePrinter-DoYKBzst.cjs} +1 -1
  27. package/dist/{vue-data-ui-DdhV5Pth.js → vue-data-ui-BOqzG_nZ.js} +57 -57
  28. package/dist/{vue-data-ui-cqeqQWwY.cjs → vue-data-ui-CGgiWEo3.cjs} +1 -1
  29. package/dist/vue-data-ui.cjs +1 -1
  30. package/dist/vue-data-ui.js +6 -6
  31. package/dist/{vue-ui-3d-bar-gi0fEJUl.js → vue-ui-3d-bar-CjnVg4YI.js} +342 -294
  32. package/dist/vue-ui-3d-bar-CpntMt7p.cjs +19 -0
  33. package/dist/{vue-ui-accordion-CVrj6roI.cjs → vue-ui-accordion-CTYvdLLH.cjs} +1 -1
  34. package/dist/{vue-ui-accordion-CSZdj7wA.js → vue-ui-accordion-wHRG3nXl.js} +3 -3
  35. package/dist/vue-ui-age-pyramid-DDiL1Zje.cjs +1 -0
  36. package/dist/{vue-ui-age-pyramid-CFSWDX3d.js → vue-ui-age-pyramid-vmCwgRy9.js} +258 -219
  37. package/dist/{vue-ui-annotator-DqZU11ky.js → vue-ui-annotator-9FGJdNLY.js} +1 -1
  38. package/dist/{vue-ui-annotator-u5YbenPl.cjs → vue-ui-annotator-DQ3wKf9n.cjs} +1 -1
  39. package/dist/{vue-ui-candlestick-C3xswSm3.cjs → vue-ui-candlestick-6joQ9JKQ.cjs} +1 -1
  40. package/dist/{vue-ui-candlestick-Dph2PhZC.js → vue-ui-candlestick-DpMr2r0i.js} +9 -9
  41. package/dist/{vue-ui-carousel-table-0S6lSZnt.cjs → vue-ui-carousel-table-BV0EOLqU.cjs} +1 -1
  42. package/dist/{vue-ui-carousel-table-eY08SE2G.js → vue-ui-carousel-table-CgR4ADOz.js} +4 -4
  43. package/dist/{vue-ui-chestnut-BikYCrjQ.js → vue-ui-chestnut-Ca2878kV.js} +439 -347
  44. package/dist/vue-ui-chestnut-CxoCcw_B.cjs +6 -0
  45. package/dist/{vue-ui-cursor-OFgeAFSo.js → vue-ui-cursor-BW8C6oUc.js} +2 -2
  46. package/dist/{vue-ui-cursor-DUA57VkZ.cjs → vue-ui-cursor-DxF_gXQf.cjs} +1 -1
  47. package/dist/{vue-ui-dashboard-BTG0m9YL.cjs → vue-ui-dashboard-BGrVyITN.cjs} +1 -1
  48. package/dist/{vue-ui-dashboard-DA4M1Z0-.js → vue-ui-dashboard-DN4nErBZ.js} +2 -2
  49. package/dist/{vue-ui-digits-55Zmunkv.js → vue-ui-digits-CmSFSs5S.js} +2 -2
  50. package/dist/{vue-ui-digits-COxRiMVI.cjs → vue-ui-digits-CpSKBG2c.cjs} +1 -1
  51. package/dist/vue-ui-donut-BqfRwAIM.js +857 -0
  52. package/dist/vue-ui-donut-C29yXH3H.cjs +1 -0
  53. package/dist/vue-ui-donut-evolution-COFG73Xl.cjs +1 -0
  54. package/dist/vue-ui-donut-evolution-DIR7yBUC.js +839 -0
  55. package/dist/{vue-ui-dumbbell-BSFT-Bce.cjs → vue-ui-dumbbell-1NA60u3h.cjs} +2 -2
  56. package/dist/{vue-ui-dumbbell-BtEXt5Ox.js → vue-ui-dumbbell-BASuPAvI.js} +202 -187
  57. package/dist/{vue-ui-flow-BPEGOFRZ.cjs → vue-ui-flow-DBK7d0DQ.cjs} +1 -1
  58. package/dist/{vue-ui-flow-BBoXBTkC.js → vue-ui-flow-wq0aqc5r.js} +98 -93
  59. package/dist/vue-ui-galaxy-BgdVvk4N.cjs +1 -0
  60. package/dist/{vue-ui-galaxy-ZFEufIyy.js → vue-ui-galaxy-CFQ2hQAl.js} +180 -144
  61. package/dist/{vue-ui-gauge-CfZ9XJW_.cjs → vue-ui-gauge-C4_kEbgg.cjs} +1 -1
  62. package/dist/{vue-ui-gauge-BqZp_V5m.js → vue-ui-gauge-CIN265dN.js} +158 -149
  63. package/dist/vue-ui-gizmo-BpT3iwC9.cjs +1 -0
  64. package/dist/{vue-ui-gizmo-DitbWAJp.js → vue-ui-gizmo-DRXWEpqU.js} +63 -49
  65. package/dist/vue-ui-heatmap-CVD7FVfk.cjs +1 -0
  66. package/dist/vue-ui-heatmap-Dc0ft_Ga.js +644 -0
  67. package/dist/{vue-ui-kpi-BWuzEkyY.js → vue-ui-kpi-DDL1TvBP.js} +19 -10
  68. package/dist/{vue-ui-kpi-B2Bo26hh.cjs → vue-ui-kpi-WDZIt76s.cjs} +1 -1
  69. package/dist/{vue-ui-mini-loader-BwAWiK3k.js → vue-ui-mini-loader-B2C5U55l.js} +2 -2
  70. package/dist/{vue-ui-mini-loader-C_Nb-qVd.cjs → vue-ui-mini-loader-BcGSpUfg.cjs} +1 -1
  71. package/dist/{vue-ui-molecule-CSbXNrvu.cjs → vue-ui-molecule-C5BmRi2R.cjs} +1 -1
  72. package/dist/{vue-ui-molecule-BD2UW2lJ.js → vue-ui-molecule-CD3cPNOq.js} +9 -9
  73. package/dist/{vue-ui-mood-radar-CbMab8pJ.js → vue-ui-mood-radar-D0KbeV5j.js} +213 -187
  74. package/dist/vue-ui-mood-radar-afS64zg-.cjs +1 -0
  75. package/dist/{vue-ui-nested-donuts-SDaiotgC.js → vue-ui-nested-donuts-BGoc1RFX.js} +295 -228
  76. package/dist/vue-ui-nested-donuts-D-TeyOtL.cjs +17 -0
  77. package/dist/{vue-ui-onion-BamHJBdP.js → vue-ui-onion-B_khL0Kv.js} +230 -196
  78. package/dist/vue-ui-onion-CFdbWLu3.cjs +1 -0
  79. package/dist/{vue-ui-parallel-coordinate-plot-BaAa3t1h.cjs → vue-ui-parallel-coordinate-plot-BmXvVt8r.cjs} +2 -2
  80. package/dist/{vue-ui-parallel-coordinate-plot-1R4CyBdQ.js → vue-ui-parallel-coordinate-plot-CP4V0K8m.js} +87 -87
  81. package/dist/{vue-ui-quadrant-CKCLhAS7.js → vue-ui-quadrant-C1YbjeI7.js} +455 -397
  82. package/dist/vue-ui-quadrant-C6-A8Gx_.cjs +1 -0
  83. package/dist/vue-ui-quick-chart-ConXdEsU.cjs +15 -0
  84. package/dist/vue-ui-quick-chart-CtWhs_2c.js +1374 -0
  85. package/dist/{vue-ui-radar-BY-y8Mal.js → vue-ui-radar-B2vAPYa7.js} +237 -214
  86. package/dist/vue-ui-radar-DMJLLVWb.cjs +1 -0
  87. package/dist/{vue-ui-rating-DGEgzOaB.cjs → vue-ui-rating-DhZ0tltR.cjs} +1 -1
  88. package/dist/{vue-ui-rating-Bq1SsByA.js → vue-ui-rating-xGz4av68.js} +9 -9
  89. package/dist/{vue-ui-relation-circle-BPzLP6U6.js → vue-ui-relation-circle-BQK8wMQE.js} +5 -5
  90. package/dist/{vue-ui-relation-circle-pdZ79G9r.cjs → vue-ui-relation-circle-hb4Q051h.cjs} +1 -1
  91. package/dist/vue-ui-rings-D1EW3d4M.cjs +2 -0
  92. package/dist/{vue-ui-rings-C5ce6pEf.js → vue-ui-rings-ZKjhNx5K.js} +191 -162
  93. package/dist/{vue-ui-scatter-CMetujXJ.js → vue-ui-scatter-CHONk8k0.js} +437 -381
  94. package/dist/vue-ui-scatter-CMRe2b2K.cjs +1 -0
  95. package/dist/{vue-ui-screenshot-BqzljUT3.cjs → vue-ui-screenshot-DcKhT745.cjs} +1 -1
  96. package/dist/{vue-ui-screenshot--2aeIH_x.js → vue-ui-screenshot-DmGe5ptH.js} +6 -6
  97. package/dist/{vue-ui-skeleton-_VMQ594N.js → vue-ui-skeleton-CJ2R5R6u.js} +37 -37
  98. package/dist/{vue-ui-skeleton-B5Z4craS.cjs → vue-ui-skeleton-j-IOiy5w.cjs} +1 -1
  99. package/dist/{vue-ui-smiley-CL-bubXk.cjs → vue-ui-smiley-D5Jn6d5f.cjs} +1 -1
  100. package/dist/{vue-ui-smiley-Cty3e_yE.js → vue-ui-smiley-DXVcosKR.js} +2 -2
  101. package/dist/{vue-ui-spark-trend-DT1fMqf_.cjs → vue-ui-spark-trend-CWH3W7h3.cjs} +1 -1
  102. package/dist/{vue-ui-spark-trend-pgdWTEqG.js → vue-ui-spark-trend-Gg6TxR4m.js} +63 -58
  103. package/dist/vue-ui-sparkbar-BsoKTXr2.cjs +1 -0
  104. package/dist/vue-ui-sparkbar-DUx1qVzQ.js +280 -0
  105. package/dist/{vue-ui-sparkgauge-DdzlyDsm.cjs → vue-ui-sparkgauge-DPusPoRv.cjs} +1 -1
  106. package/dist/{vue-ui-sparkgauge-Dx2gFX6H.js → vue-ui-sparkgauge-xrvp9g87.js} +60 -50
  107. package/dist/vue-ui-sparkhistogram---JRg2R1.cjs +1 -0
  108. package/dist/{vue-ui-sparkhistogram-Bg_fJsT5.js → vue-ui-sparkhistogram-DzYXMNj8.js} +99 -90
  109. package/dist/{vue-ui-sparkline-WMI-RgkW.cjs → vue-ui-sparkline-1Z6GnwoN.cjs} +1 -1
  110. package/dist/{vue-ui-sparkline-BWl_B6LX.js → vue-ui-sparkline-CGWePkVI.js} +114 -105
  111. package/dist/{vue-ui-sparkstackbar-Skcshn6g.cjs → vue-ui-sparkstackbar-DCc68t8g.cjs} +1 -1
  112. package/dist/{vue-ui-sparkstackbar-MMGRG9eS.js → vue-ui-sparkstackbar-DFgeRAbQ.js} +52 -47
  113. package/dist/{vue-ui-stackbar-NZFO3R77.js → vue-ui-stackbar-B0dWToaf.js} +211 -196
  114. package/dist/vue-ui-stackbar-Cz0mT8Mo.cjs +15 -0
  115. package/dist/{vue-ui-strip-plot-CJmCgC_a.js → vue-ui-strip-plot-BFqd-S7c.js} +213 -198
  116. package/dist/vue-ui-strip-plot-DZt1Wq20.cjs +1 -0
  117. package/dist/{vue-ui-table-jJ3daLHe.cjs → vue-ui-table-CMvyMuc4.cjs} +1 -1
  118. package/dist/{vue-ui-table-B-vHHlRw.js → vue-ui-table-DtwEoIzI.js} +9 -9
  119. package/dist/{vue-ui-table-heatmap-YCyFyq8J.cjs → vue-ui-table-heatmap-3RSMOHkc.cjs} +1 -1
  120. package/dist/{vue-ui-table-heatmap-BfzDb2H7.js → vue-ui-table-heatmap-C8b3pE04.js} +12 -12
  121. package/dist/vue-ui-table-sparkline-BKOaVFtt.cjs +1 -0
  122. package/dist/vue-ui-table-sparkline-BrqhBv29.js +467 -0
  123. package/dist/vue-ui-thermometer-CKgIqM5y.cjs +1 -0
  124. package/dist/{vue-ui-thermometer-CdtG1AoI.js → vue-ui-thermometer-DMkLvJgE.js} +118 -108
  125. package/dist/{vue-ui-timer-Cb95XSdn.cjs → vue-ui-timer-D7fvoR77.cjs} +1 -1
  126. package/dist/{vue-ui-timer-DBqMb9iX.js → vue-ui-timer-RA9yfgBk.js} +8 -8
  127. package/dist/{vue-ui-tiremarks-CHKETcHr.js → vue-ui-tiremarks-B_EncUi6.js} +79 -71
  128. package/dist/{vue-ui-tiremarks-BqXfvQ4t.cjs → vue-ui-tiremarks-C7y6Mbxe.cjs} +1 -1
  129. package/dist/{vue-ui-treemap-DxKunHfW.js → vue-ui-treemap-BuGZgQsr.js} +274 -236
  130. package/dist/vue-ui-treemap-CfngjVUS.cjs +1 -0
  131. package/dist/vue-ui-vertical-bar-DKbq4bX4.cjs +4 -0
  132. package/dist/vue-ui-vertical-bar-T4bFd3JF.js +792 -0
  133. package/dist/vue-ui-waffle-BJFbhWnA.cjs +1 -0
  134. package/dist/vue-ui-waffle-CrxmrYsV.js +735 -0
  135. package/dist/{vue-ui-wheel-kMVi976p.cjs → vue-ui-wheel-BDRvKR1Z.cjs} +1 -1
  136. package/dist/{vue-ui-wheel-4HKXl04I.js → vue-ui-wheel-DOyC7NgR.js} +73 -65
  137. package/dist/{vue-ui-word-cloud-CrC3iKGd.js → vue-ui-word-cloud-DBxVNlJ3.js} +7 -7
  138. package/dist/{vue-ui-word-cloud-WgbYJhMF.cjs → vue-ui-word-cloud-Dmcelg3z.cjs} +1 -1
  139. package/dist/{vue-ui-xy-BN_H7q0X.js → vue-ui-xy-BIbvJSh2.js} +367 -288
  140. package/dist/vue-ui-xy-CVKaR90p.cjs +3 -0
  141. package/dist/vue-ui-xy-canvas-2AaNivzI.cjs +9 -0
  142. package/dist/{vue-ui-xy-canvas-DAY9Ylzs.js → vue-ui-xy-canvas-CXVni3kC.js} +284 -259
  143. package/package.json +1 -1
  144. package/dist/DataTable-B4_9ynlY.cjs +0 -1
  145. package/dist/index-Y23HeR26.cjs +0 -4
  146. package/dist/vue-ui-3d-bar-BB6yidY7.cjs +0 -19
  147. package/dist/vue-ui-age-pyramid-CrTadT86.cjs +0 -1
  148. package/dist/vue-ui-chestnut-C3XOHDgw.cjs +0 -6
  149. package/dist/vue-ui-donut-CG3VWjnG.js +0 -751
  150. package/dist/vue-ui-donut-JA9hlLlV.cjs +0 -1
  151. package/dist/vue-ui-donut-evolution-CA8sDbwX.js +0 -805
  152. package/dist/vue-ui-donut-evolution-_E0xUI9Y.cjs +0 -1
  153. package/dist/vue-ui-galaxy-DPrJum3L.cjs +0 -1
  154. package/dist/vue-ui-gizmo-CrSaW32p.cjs +0 -1
  155. package/dist/vue-ui-heatmap-CTRjjhmd.cjs +0 -1
  156. package/dist/vue-ui-heatmap-zV0pg2Q5.js +0 -606
  157. package/dist/vue-ui-mood-radar-zpxdsZ4u.cjs +0 -1
  158. package/dist/vue-ui-nested-donuts-07UI_VlW.cjs +0 -16
  159. package/dist/vue-ui-onion-DiychUul.cjs +0 -1
  160. package/dist/vue-ui-quadrant-DxLYb8Mk.cjs +0 -1
  161. package/dist/vue-ui-quick-chart-CAXuRSdm.js +0 -1318
  162. package/dist/vue-ui-quick-chart-DgCRM6WA.cjs +0 -13
  163. package/dist/vue-ui-radar-iETP_3US.cjs +0 -1
  164. package/dist/vue-ui-rings-DdpKT3DJ.cjs +0 -1
  165. package/dist/vue-ui-scatter-Dsc6RABP.cjs +0 -1
  166. package/dist/vue-ui-sparkbar-BVQPOz2O.js +0 -257
  167. package/dist/vue-ui-sparkbar-kfA-BPVJ.cjs +0 -1
  168. package/dist/vue-ui-sparkhistogram-B5xstgQG.cjs +0 -1
  169. package/dist/vue-ui-stackbar-DZ0CArmk.cjs +0 -15
  170. package/dist/vue-ui-strip-plot-Db_dqjd9.cjs +0 -1
  171. package/dist/vue-ui-table-sparkline-4Qbmxxsy.cjs +0 -1
  172. package/dist/vue-ui-table-sparkline-DZt-bo2D.js +0 -420
  173. package/dist/vue-ui-thermometer-HXWDU2wD.cjs +0 -1
  174. package/dist/vue-ui-treemap-CW9JmJ2d.cjs +0 -1
  175. package/dist/vue-ui-vertical-bar-83AMwsHD.cjs +0 -4
  176. package/dist/vue-ui-vertical-bar-DRLwZjIz.js +0 -745
  177. package/dist/vue-ui-waffle-BRuDxyDU.js +0 -650
  178. package/dist/vue-ui-waffle-BwUbvdOE.cjs +0 -1
  179. package/dist/vue-ui-xy-BXfP5pz5.cjs +0 -3
  180. package/dist/vue-ui-xy-canvas-NrhVgFsv.cjs +0 -9
@@ -1,19 +1,19 @@
1
- import { ref as r, computed as c, onMounted as xe, onBeforeUnmount as _e, openBlock as n, createElementBlock as y, normalizeClass as R, normalizeStyle as x, createVNode as X, createCommentVNode as _, createBlock as V, unref as m, createSlots as Ne, withCtx as h, renderSlot as p, normalizeProps as B, guardReactiveProps as D, Fragment as ue, renderList as re, createElementVNode as w, createTextVNode as ne, toDisplayString as W, nextTick as Pe } from "vue";
2
- import { u as Fe, c as ie, t as Le, a as Se, p as T, o as Ie, e as ve, g as Oe, b as Me, d as ce, f as E, X as ze, s as Ae, r as Re, v as Ve, w as Be, n as De, q as We } from "./index-BhCM2QF1.js";
3
- import { t as Ee, u as Ge } from "./useResponsive-NZB-WLRF.js";
4
- import { _ as Ue } from "./Title-CtWGLaoz.js";
5
- import { u as He, U as Xe } from "./usePrinter-B75HLwzw.js";
6
- import { _ as je } from "./Tooltip-D6BUVHr1.js";
7
- import { D as Ye } from "./DataTable-bEXuvNn5.js";
8
- import { L as qe } from "./Legend-DwludSgp.js";
9
- import Je from "./vue-ui-skeleton-_VMQ594N.js";
10
- import Ke from "./vue-ui-accordion-CSZdj7wA.js";
11
- import { u as de } from "./useNestedProp-CH3PVhvc.js";
12
- import { _ as Qe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
- const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], lt = ["stop-color"], ot = ["stop-color"], at = ["stroke", "cx", "cy", "r", "fill"], st = ["stroke", "stroke-width", "cx", "cy", "r", "fill"], ut = ["cx", "cy", "r", "onMouseenter"], rt = {
1
+ import { ref as r, computed as c, onMounted as _e, onBeforeUnmount as Ne, openBlock as n, createElementBlock as m, normalizeClass as V, normalizeStyle as _, createVNode as X, createCommentVNode as N, createBlock as B, unref as h, createSlots as Pe, withCtx as p, renderSlot as g, normalizeProps as D, guardReactiveProps as W, Fragment as ue, renderList as re, createElementVNode as w, createTextVNode as ne, toDisplayString as E, nextTick as Le } from "vue";
2
+ import { u as Fe, c as ie, t as Ie, a as Se, p as T, o as Oe, e as ve, g as Me, b as ze, d as ce, f as x, X as Ae, s as Re, v as Ve, i as de, w as Be, x as De, q as We, r as Ee } from "./index-BlXzlBwZ.js";
3
+ import { t as Ge, u as Ue } from "./useResponsive-NZB-WLRF.js";
4
+ import { _ as He } from "./Title-eBTH8iGJ.js";
5
+ import { u as Xe, U as je } from "./usePrinter-CZ8F5Cth.js";
6
+ import { _ as Ye } from "./Tooltip-B11OahTD.js";
7
+ import { D as qe } from "./DataTable-CsPidn0_.js";
8
+ import { L as Je } from "./Legend-CkQ_zypV.js";
9
+ import Ke from "./vue-ui-skeleton-CJ2R5R6u.js";
10
+ import Qe from "./vue-ui-accordion-wHRG3nXl.js";
11
+ import { u as he } from "./useNestedProp-BoNl5H_z.js";
12
+ import { _ as Ze } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
+ const et = ["id"], tt = ["xmlns", "viewBox"], lt = ["id"], ot = ["stop-color"], at = ["stop-color"], st = ["stroke", "cx", "cy", "r", "fill"], ut = ["stroke", "stroke-width", "cx", "cy", "r", "fill"], rt = ["cx", "cy", "r", "onMouseenter"], nt = {
14
14
  key: 3,
15
15
  class: "vue-data-ui-watermark"
16
- }, nt = ["onClick"], it = { key: 0 }, vt = { key: 1 }, ct = ["innerHTML"], dt = {
16
+ }, it = ["onClick"], vt = { key: 0 }, ct = { key: 1 }, dt = ["innerHTML"], ht = {
17
17
  __name: "vue-ui-rings",
18
18
  props: {
19
19
  config: {
@@ -30,26 +30,26 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], lt = ["stop-color"],
30
30
  }
31
31
  },
32
32
  emits: ["selectLegend"],
33
- setup(he, { expose: pe, emit: ge }) {
34
- const g = he, { vue_ui_rings: fe } = Fe(), N = r(!1), I = c(() => !!g.dataset && g.dataset.length), P = r(ie()), ye = r(null), O = r(!1), G = r(""), $ = r(null), j = r(0), F = r(null), Y = r(null), q = r(null), e = c(() => {
35
- const t = de({
36
- userConfig: g.config,
37
- defaultConfig: fe
33
+ setup(pe, { expose: ge, emit: fe }) {
34
+ const f = pe, { vue_ui_rings: ye } = Fe(), P = r(!1), O = c(() => !!f.dataset && f.dataset.length), L = r(ie()), me = r(null), M = r(!1), G = r(""), $ = r(null), j = r(0), F = r(null), Y = r(null), q = r(null), e = c(() => {
35
+ const t = he({
36
+ userConfig: f.config,
37
+ defaultConfig: ye
38
38
  });
39
39
  return t.theme ? {
40
- ...de({
41
- userConfig: Le.vue_ui_rings[t.theme] || g.config,
40
+ ...he({
41
+ userConfig: Ie.vue_ui_rings[t.theme] || f.config,
42
42
  defaultConfig: t
43
43
  }),
44
44
  customPalette: Se[t.theme] || T
45
45
  } : t;
46
- }), M = r(null);
47
- xe(() => {
48
- if (Ie(g.dataset) ? ve({
46
+ }), z = r(null);
47
+ _e(() => {
48
+ if (Oe(f.dataset) ? ve({
49
49
  componentName: "VueUiRings",
50
50
  type: "dataset"
51
- }) : g.dataset.forEach((t, o) => {
52
- Oe({
51
+ }) : f.dataset.forEach((t, o) => {
52
+ Me({
53
53
  datasetObject: t,
54
54
  requiredAttributes: ["name", "values"]
55
55
  }).forEach((l) => {
@@ -61,77 +61,77 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], lt = ["stop-color"],
61
61
  });
62
62
  });
63
63
  }), e.value.responsive) {
64
- const t = Ee(() => {
65
- const { width: o, height: l } = Ge({
64
+ const t = Ge(() => {
65
+ const { width: o, height: l } = Ue({
66
66
  chart: F.value,
67
67
  title: e.value.style.chart.title.text ? Y.value : null,
68
68
  legend: e.value.style.chart.legend.show ? q.value : null
69
69
  });
70
70
  u.value.width = o, u.value.height = l;
71
71
  });
72
- M.value = new ResizeObserver(t), M.value.observe(F.value.parentNode);
72
+ z.value = new ResizeObserver(t), z.value.observe(F.value.parentNode);
73
73
  }
74
74
  setTimeout(() => {
75
- N.value = !0;
75
+ P.value = !0;
76
76
  }, 600);
77
- }), _e(() => {
78
- M.value && M.value.disconnect();
77
+ }), Ne(() => {
78
+ z.value && z.value.disconnect();
79
79
  });
80
- const { isPrinting: J, isImaging: K, generatePdf: Q, generateImage: Z } = He({
81
- elementId: `rings_${P.value}`,
80
+ const { isPrinting: J, isImaging: K, generatePdf: Q, generateImage: Z } = Xe({
81
+ elementId: `rings_${L.value}`,
82
82
  fileName: e.value.style.chart.title.text || "vue-ui-rings"
83
- }), ee = c(() => Me(e.value.customPalette)), k = r({
83
+ }), ee = c(() => ze(e.value.customPalette)), k = r({
84
84
  showTable: e.value.table.show,
85
85
  showTooltip: e.value.style.chart.tooltip.show
86
86
  }), u = r({
87
87
  height: 360,
88
88
  width: 360
89
- }), me = c(() => Math.min(u.value.height, u.value.width)), i = r([]);
89
+ }), be = c(() => Math.min(u.value.height, u.value.width)), i = r([]);
90
90
  function U(t) {
91
- i.value.includes(t) ? i.value = i.value.filter((o) => o !== t) : i.value.push(t), ge("selectLegend", v.value.map((o) => ({
91
+ i.value.includes(t) ? i.value = i.value.filter((o) => o !== t) : i.value.push(t), fe("selectLegend", v.value.map((o) => ({
92
92
  name: o.name,
93
93
  color: o.color,
94
94
  value: o.value
95
95
  })));
96
96
  }
97
- const be = c(() => Math.max(
98
- ...z.value.filter((t) => !i.value.includes(t.uid)).map(({ value: t }) => t)
97
+ const ke = c(() => Math.max(
98
+ ...A.value.filter((t) => !i.value.includes(t.uid)).map(({ value: t }) => t)
99
99
  ));
100
100
  function te(t) {
101
- return t / be.value;
101
+ return t / ke.value;
102
102
  }
103
- const z = c(() => g.dataset.map(({ values: t, name: o, color: l = null }, a) => {
103
+ const A = c(() => f.dataset.map(({ values: t, name: o, color: l = null }, a) => {
104
104
  const s = (t || []).reduce((b, S) => b + S, 0);
105
105
  return {
106
106
  name: o,
107
107
  color: l || ce(l) || ee.value[a] || T[a] || T[a % T.length],
108
108
  value: s,
109
- proportion: s / g.dataset.map((b) => (b.values || []).reduce((S, Te) => S + Te, 0)).reduce((b, S) => b + S, 0),
109
+ proportion: s / f.dataset.map((b) => (b.values || []).reduce((S, xe) => S + xe, 0)).reduce((b, S) => b + S, 0),
110
110
  uid: ie()
111
111
  };
112
- })), le = c(() => z.value.map((t) => ({
112
+ })), le = c(() => A.value.map((t) => ({
113
113
  ...t,
114
114
  shape: "circle",
115
115
  opacity: i.value.includes(t.uid) ? 0.5 : 1,
116
116
  segregate: () => U(t.uid),
117
117
  isSegregated: i.value.includes(t.uid)
118
- })).toSorted((t, o) => o.value - t.value)), ke = c(() => ({
118
+ })).toSorted((t, o) => o.value - t.value)), Ce = c(() => ({
119
119
  cy: "rings-div-legend",
120
120
  backgroundColor: e.value.style.chart.legend.backgroundColor,
121
121
  color: e.value.style.chart.legend.color,
122
122
  fontSize: e.value.style.chart.legend.fontSize,
123
123
  paddingBottom: 12,
124
124
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
125
- })), f = c(() => z.value.filter((t) => !i.value.includes(t.uid)).map(({ value: t }) => t).reduce((t, o) => t + o, 0)), v = c(() => z.value.filter((t) => !i.value.includes(t.uid)).map(({ name: t, value: o, color: l = null, uid: a }, s) => ({
125
+ })), y = c(() => A.value.filter((t) => !i.value.includes(t.uid)).map(({ value: t }) => t).reduce((t, o) => t + o, 0)), v = c(() => A.value.filter((t) => !i.value.includes(t.uid)).map(({ name: t, value: o, color: l = null, uid: a }, s) => ({
126
126
  uid: a,
127
127
  name: t,
128
128
  color: l || ce(l) || ee.value[s] || T[s] || T[s % T.length],
129
129
  value: o,
130
130
  proportion: te(o),
131
- percentage: o / f.value * 100,
131
+ percentage: o / y.value * 100,
132
132
  strokeWidth: e.value.style.chart.layout.rings.strokeWidth * te(o)
133
133
  })).toSorted((t, o) => o.value - t.value));
134
- function Ce() {
134
+ function we() {
135
135
  return v.value.map(
136
136
  ({ name: t, color: o, value: l, absoluteValues: a, percentage: s }) => ({
137
137
  name: t,
@@ -142,9 +142,9 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], lt = ["stop-color"],
142
142
  })
143
143
  );
144
144
  }
145
- const d = c(() => me.value - e.value.style.chart.layout.rings.strokeWidth * 2), H = r(null);
146
- function we(t, o) {
147
- if (i.value.length === g.dataset.length) return;
145
+ const d = c(() => be.value - e.value.style.chart.layout.rings.strokeWidth * 2), H = r(null);
146
+ function $e(t, o) {
147
+ if (i.value.length === f.dataset.length) return;
148
148
  H.value = {
149
149
  datapoint: o,
150
150
  seriesIndex: t,
@@ -152,7 +152,7 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], lt = ["stop-color"],
152
152
  config: e.value
153
153
  }, $.value = t;
154
154
  const l = v.value[t], a = e.value.style.chart.tooltip.customFormat;
155
- if (Ve(a) && Be(() => a({
155
+ if (Be(a) && De(() => a({
156
156
  seriesIndex: t,
157
157
  datapoint: o,
158
158
  series: v.value,
@@ -166,13 +166,28 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], lt = ["stop-color"],
166
166
  });
167
167
  else {
168
168
  let s = "";
169
- s += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${l.name}</div>`, s += `<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="${l.color}" /></svg>`, e.value.style.chart.tooltip.showValue && (s += `<b>${E({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: l.value, s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.style.chart.tooltip.roundingValue })}</b>`), e.value.style.chart.tooltip.showPercentage && (e.value.style.chart.tooltip.showValue ? s += `<span>(${(l.value / f.value * 100).toFixed(
170
- e.value.style.chart.tooltip.roundingPercentage
171
- )}%)</span></div>` : s += `<b>${(l.value / f.value * 100).toFixed(
172
- e.value.style.chart.tooltip.roundingPercentage
173
- )}%</b></div>`), G.value = s;
169
+ s += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${l.name}</div>`, s += `<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="${l.color}" /></svg>`, e.value.style.chart.tooltip.showValue && (s += `<b>${de(
170
+ e.value.style.chart.layout.labels.dataLabels.formatter,
171
+ l.value,
172
+ x({
173
+ p: e.value.style.chart.layout.labels.dataLabels.prefix,
174
+ v: l.value,
175
+ s: e.value.style.chart.layout.labels.dataLabels.suffix,
176
+ r: e.value.style.chart.tooltip.roundingValue
177
+ }),
178
+ { datapoint: o, seriesIndex: t }
179
+ )}
180
+ </b>`), e.value.style.chart.tooltip.showPercentage && (e.value.style.chart.tooltip.showValue ? s += `<span>(${x({
181
+ v: l.value / y.value * 100,
182
+ s: "%",
183
+ r: e.value.style.chart.tooltip.roundingPercentage
184
+ })})</span></div>` : s += `<b>${x({
185
+ v: l.value / y.value * 100,
186
+ s: "%",
187
+ r: e.value.style.chart.tooltip.roundingPercentage
188
+ })}</b></div>`), G.value = s;
174
189
  }
175
- O.value = !0;
190
+ M.value = !0;
176
191
  }
177
192
  const C = c(() => {
178
193
  const t = v.value.map((l) => ({
@@ -180,18 +195,18 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], lt = ["stop-color"],
180
195
  color: l.color
181
196
  })), o = v.value.map((l) => l.value);
182
197
  return { head: t, body: o };
183
- }), A = c(() => {
198
+ }), R = c(() => {
184
199
  const t = [
185
200
  ' <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>',
186
- E({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: f.value, s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue }),
201
+ x({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: y.value, s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue }),
187
202
  "100%"
188
203
  ], o = C.value.head.map((s, b) => [
189
204
  {
190
205
  color: s.color,
191
206
  name: s.name
192
207
  },
193
- E({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: C.value.body[b], s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue }),
194
- isNaN(C.value.body[b] / f.value) ? "-" : (C.value.body[b] / f.value * 100).toFixed(e.value.table.td.roundingPercentage) + "%"
208
+ x({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: C.value.body[b], s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue }),
209
+ isNaN(C.value.body[b] / y.value) ? "-" : (C.value.body[b] / y.value * 100).toFixed(e.value.table.td.roundingPercentage) + "%"
195
210
  ]), l = {
196
211
  th: {
197
212
  backgroundColor: e.value.table.th.backgroundColor,
@@ -217,16 +232,16 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], lt = ["stop-color"],
217
232
  };
218
233
  });
219
234
  function oe() {
220
- Pe(() => {
235
+ Le(() => {
221
236
  const t = C.value.head.map((a, s) => [[
222
237
  a.name
223
- ], [C.value.body[s]], [isNaN(C.value.body[s] / f.value) ? "-" : C.value.body[s] / f.value * 100]]), o = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(t), l = De(o);
224
- We({ csvContent: l, title: e.value.style.chart.title.text || "vue-ui-rings" });
238
+ ], [C.value.body[s]], [isNaN(C.value.body[s] / y.value) ? "-" : C.value.body[s] / y.value * 100]]), o = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(t), l = We(o);
239
+ Ee({ csvContent: l, title: e.value.style.chart.title.text || "vue-ui-rings" });
225
240
  });
226
241
  }
227
- const L = r(!1);
228
- function $e(t) {
229
- L.value = t, j.value += 1;
242
+ const I = r(!1);
243
+ function Te(t) {
244
+ I.value = t, j.value += 1;
230
245
  }
231
246
  function ae() {
232
247
  k.value.showTable = !k.value.showTable;
@@ -234,30 +249,30 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], lt = ["stop-color"],
234
249
  function se() {
235
250
  k.value.showTooltip = !k.value.showTooltip;
236
251
  }
237
- return pe({
238
- getData: Ce,
252
+ return ge({
253
+ getData: we,
239
254
  generatePdf: Q,
240
255
  generateCsv: oe,
241
256
  generateImage: Z,
242
257
  toggleTable: ae,
243
258
  toggleTooltip: se
244
- }), (t, o) => (n(), y("div", {
259
+ }), (t, o) => (n(), m("div", {
245
260
  ref_key: "ringsChart",
246
261
  ref: F,
247
- class: R(`vue-ui-rings ${L.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
248
- style: x(`font-family:${e.value.style.fontFamily};text-align:center;width:100%;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`),
249
- id: `rings_${P.value}`,
262
+ class: V(`vue-ui-rings ${I.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
263
+ style: _(`font-family:${e.value.style.fontFamily};text-align:center;width:100%;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`),
264
+ id: `rings_${L.value}`,
250
265
  onMouseleave: o[3] || (o[3] = (l) => {
251
- $.value = null, O.value = !1;
266
+ $.value = null, M.value = !1;
252
267
  })
253
268
  }, [
254
- e.value.style.chart.title.text ? (n(), y("div", {
269
+ e.value.style.chart.title.text ? (n(), m("div", {
255
270
  key: 0,
256
271
  ref_key: "chartTitle",
257
272
  ref: Y,
258
- style: x(`width:100%;background:${e.value.style.chart.backgroundColor}`)
273
+ style: _(`width:100%;background:${e.value.style.chart.backgroundColor}`)
259
274
  }, [
260
- X(Ue, {
275
+ X(He, {
261
276
  config: {
262
277
  title: {
263
278
  cy: "rings-div-title",
@@ -269,16 +284,16 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], lt = ["stop-color"],
269
284
  }
270
285
  }
271
286
  }, null, 8, ["config"])
272
- ], 4)) : _("", !0),
273
- e.value.userOptions.show && I.value ? (n(), V(Xe, {
287
+ ], 4)) : N("", !0),
288
+ e.value.userOptions.show && O.value ? (n(), B(je, {
274
289
  ref_key: "details",
275
- ref: ye,
290
+ ref: me,
276
291
  key: `user_options_${j.value}`,
277
292
  backgroundColor: e.value.style.chart.backgroundColor,
278
293
  color: e.value.style.chart.color,
279
- isPrinting: m(J),
280
- isImaging: m(K),
281
- uid: P.value,
294
+ isPrinting: h(J),
295
+ isImaging: h(K),
296
+ uid: L.value,
282
297
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
283
298
  hasPdf: e.value.userOptions.buttons.pdf,
284
299
  hasXls: e.value.userOptions.buttons.csv,
@@ -286,112 +301,112 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], lt = ["stop-color"],
286
301
  hasTable: e.value.userOptions.buttons.table,
287
302
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
288
303
  isTooltip: k.value.showTooltip,
289
- isFullscreen: L.value,
304
+ isFullscreen: I.value,
290
305
  titles: { ...e.value.userOptions.buttonTitles },
291
306
  chartElement: F.value,
292
- onToggleFullscreen: $e,
293
- onGeneratePdf: m(Q),
307
+ onToggleFullscreen: Te,
308
+ onGeneratePdf: h(Q),
294
309
  onGenerateCsv: oe,
295
- onGenerateImage: m(Z),
310
+ onGenerateImage: h(Z),
296
311
  onToggleTable: ae,
297
312
  onToggleTooltip: se
298
- }, Ne({ _: 2 }, [
313
+ }, Pe({ _: 2 }, [
299
314
  t.$slots.optionTooltip ? {
300
315
  name: "optionTooltip",
301
- fn: h(() => [
302
- p(t.$slots, "optionTooltip", {}, void 0, !0)
316
+ fn: p(() => [
317
+ g(t.$slots, "optionTooltip", {}, void 0, !0)
303
318
  ]),
304
319
  key: "0"
305
320
  } : void 0,
306
321
  t.$slots.optionPdf ? {
307
322
  name: "optionPdf",
308
- fn: h(() => [
309
- p(t.$slots, "optionPdf", {}, void 0, !0)
323
+ fn: p(() => [
324
+ g(t.$slots, "optionPdf", {}, void 0, !0)
310
325
  ]),
311
326
  key: "1"
312
327
  } : void 0,
313
328
  t.$slots.optionCsv ? {
314
329
  name: "optionCsv",
315
- fn: h(() => [
316
- p(t.$slots, "optionCsv", {}, void 0, !0)
330
+ fn: p(() => [
331
+ g(t.$slots, "optionCsv", {}, void 0, !0)
317
332
  ]),
318
333
  key: "2"
319
334
  } : void 0,
320
335
  t.$slots.optionImg ? {
321
336
  name: "optionImg",
322
- fn: h(() => [
323
- p(t.$slots, "optionImg", {}, void 0, !0)
337
+ fn: p(() => [
338
+ g(t.$slots, "optionImg", {}, void 0, !0)
324
339
  ]),
325
340
  key: "3"
326
341
  } : void 0,
327
342
  t.$slots.optionTable ? {
328
343
  name: "optionTable",
329
- fn: h(() => [
330
- p(t.$slots, "optionTable", {}, void 0, !0)
344
+ fn: p(() => [
345
+ g(t.$slots, "optionTable", {}, void 0, !0)
331
346
  ]),
332
347
  key: "4"
333
348
  } : void 0,
334
349
  t.$slots.optionFullscreen ? {
335
350
  name: "optionFullscreen",
336
- fn: h(({ toggleFullscreen: l, isFullscreen: a }) => [
337
- p(t.$slots, "optionFullscreen", B(D({ toggleFullscreen: l, isFullscreen: a })), void 0, !0)
351
+ fn: p(({ toggleFullscreen: l, isFullscreen: a }) => [
352
+ g(t.$slots, "optionFullscreen", D(W({ toggleFullscreen: l, isFullscreen: a })), void 0, !0)
338
353
  ]),
339
354
  key: "5"
340
355
  } : void 0
341
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) : _("", !0),
342
- I.value ? (n(), y("svg", {
356
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) : N("", !0),
357
+ O.value ? (n(), m("svg", {
343
358
  key: 2,
344
- xmlns: m(ze),
345
- class: R({ "vue-data-ui-fullscreen--on": L.value, "vue-data-ui-fulscreen--off": !L.value }),
359
+ xmlns: h(Ae),
360
+ class: V({ "vue-data-ui-fullscreen--on": I.value, "vue-data-ui-fulscreen--off": !I.value }),
346
361
  viewBox: `0 0 ${u.value.width <= 0 ? 10 : u.value.width} ${u.value.height <= 0 ? 10 : u.value.height}`,
347
- style: x(`max-width:100%;overflow:visible;background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color}`)
362
+ style: _(`max-width:100%;overflow:visible;background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color}`)
348
363
  }, [
349
- (n(!0), y(ue, null, re(v.value, (l, a) => (n(), y("radialGradient", {
364
+ (n(!0), m(ue, null, re(v.value, (l, a) => (n(), m("radialGradient", {
350
365
  cx: "50%",
351
366
  cy: "30%",
352
367
  r: "50%",
353
368
  fx: "50%",
354
369
  fy: "50%",
355
- id: `gradient_${P.value}_${a}`
370
+ id: `gradient_${L.value}_${a}`
356
371
  }, [
357
372
  w("stop", {
358
373
  offset: "0%",
359
- "stop-color": `${m(Ae)(l.color, 0.05)}${m(Re)[100 - e.value.style.chart.layout.rings.gradient.intensity]}`
360
- }, null, 8, lt),
374
+ "stop-color": `${h(Re)(l.color, 0.05)}${h(Ve)[100 - e.value.style.chart.layout.rings.gradient.intensity]}`
375
+ }, null, 8, ot),
361
376
  w("stop", {
362
377
  offset: "100%",
363
378
  "stop-color": l.color
364
- }, null, 8, ot)
365
- ], 8, tt))), 256)),
366
- (n(!0), y(ue, null, re(v.value, (l, a) => (n(), y("g", null, [
379
+ }, null, 8, at)
380
+ ], 8, lt))), 256)),
381
+ (n(!0), m(ue, null, re(v.value, (l, a) => (n(), m("g", null, [
367
382
  w("circle", {
368
- class: R({
369
- "vue-ui-rings-item": N.value && e.value.useCssAnimation,
370
- "vue-rings-item-onload": !N.value && e.value.useCssAnimation,
383
+ class: V({
384
+ "vue-ui-rings-item": P.value && e.value.useCssAnimation,
385
+ "vue-rings-item-onload": !P.value && e.value.useCssAnimation,
371
386
  "vue-ui-rings-opacity": $.value !== null && $.value !== a
372
387
  }),
373
- style: x(`animation-delay:${a * 100}ms`),
388
+ style: _(`animation-delay:${a * 100}ms`),
374
389
  stroke: e.value.style.chart.layout.rings.stroke,
375
390
  cx: u.value.width / 2,
376
391
  cy: a === 0 ? u.value.height / 2 : u.value.height / 2 + d.value * v.value[0].proportion / 2 - d.value * l.proportion / 2 - 2 * (a + 1),
377
392
  r: d.value * l.proportion / 2 * 0.9 <= 0 ? 1e-4 : d.value * l.proportion / 2 * 0.9,
378
393
  fill: e.value.style.chart.layout.rings.gradient.underlayerColor
379
- }, null, 14, at),
394
+ }, null, 14, st),
380
395
  w("circle", {
381
- class: R({
382
- "vue-ui-rings-item": N.value && e.value.useCssAnimation,
383
- "vue-rings-item-onload": !N.value && e.value.useCssAnimation,
396
+ class: V({
397
+ "vue-ui-rings-item": P.value && e.value.useCssAnimation,
398
+ "vue-rings-item-onload": !P.value && e.value.useCssAnimation,
384
399
  "vue-ui-rings-shadow": e.value.style.chart.layout.rings.useShadow,
385
400
  "vue-ui-rings-blur": $.value !== null && $.value !== a
386
401
  }),
387
- style: x(`animation-delay:${a * 100}ms`),
402
+ style: _(`animation-delay:${a * 100}ms`),
388
403
  stroke: e.value.style.chart.layout.rings.stroke,
389
404
  "stroke-width": l.strokeWidth < 0.5 ? 0.5 : l.strokeWidth,
390
405
  cx: u.value.width / 2,
391
406
  cy: a === 0 ? u.value.height / 2 : u.value.height / 2 + d.value * v.value[0].proportion / 2 - d.value * l.proportion / 2 - 2 * (a + 1),
392
407
  r: d.value * l.proportion / 2 * 0.9 <= 0 ? 1e-4 : d.value * l.proportion / 2 * 0.9,
393
- fill: e.value.style.chart.layout.rings.gradient.show ? `url(#gradient_${P.value}_${a})` : l.color
394
- }, null, 14, st),
408
+ fill: e.value.style.chart.layout.rings.gradient.show ? `url(#gradient_${L.value}_${a})` : l.color
409
+ }, null, 14, ut),
395
410
  w("circle", {
396
411
  "data-cy-trap": "",
397
412
  stroke: "none",
@@ -399,18 +414,18 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], lt = ["stop-color"],
399
414
  cy: a === 0 ? u.value.height / 2 : u.value.height / 2 + d.value * v.value[0].proportion / 2 - d.value * l.proportion / 2 - 2 * (a + 1),
400
415
  r: d.value * l.proportion / 2 * 0.9 <= 0 ? 1e-4 : d.value * l.proportion / 2 * 0.9,
401
416
  fill: "transparent",
402
- onMouseenter: (s) => we(a, l),
417
+ onMouseenter: (s) => $e(a, l),
403
418
  onMouseleave: o[0] || (o[0] = (s) => {
404
- $.value = null, O.value = !1;
419
+ $.value = null, M.value = !1;
405
420
  })
406
- }, null, 40, ut)
421
+ }, null, 40, rt)
407
422
  ]))), 256)),
408
- p(t.$slots, "svg", { svg: u.value }, void 0, !0)
409
- ], 14, et)) : _("", !0),
410
- t.$slots.watermark ? (n(), y("div", rt, [
411
- p(t.$slots, "watermark", B(D({ isPrinting: m(J) || m(K) })), void 0, !0)
412
- ])) : _("", !0),
413
- I.value ? _("", !0) : (n(), V(Je, {
423
+ g(t.$slots, "svg", { svg: u.value }, void 0, !0)
424
+ ], 14, tt)) : N("", !0),
425
+ t.$slots.watermark ? (n(), m("div", nt, [
426
+ g(t.$slots, "watermark", D(W({ isPrinting: h(J) || h(K) })), void 0, !0)
427
+ ])) : N("", !0),
428
+ O.value ? N("", !0) : (n(), B(Ke, {
414
429
  key: 4,
415
430
  config: {
416
431
  type: "rings",
@@ -426,30 +441,44 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], lt = ["stop-color"],
426
441
  ref_key: "chartLegend",
427
442
  ref: q
428
443
  }, [
429
- e.value.style.chart.legend.show ? (n(), V(qe, {
444
+ e.value.style.chart.legend.show ? (n(), B(Je, {
430
445
  key: 0,
431
446
  legendSet: le.value,
432
- config: ke.value,
447
+ config: Ce.value,
433
448
  onClickMarker: o[1] || (o[1] = ({ legend: l }) => U(l.uid))
434
449
  }, {
435
- item: h(({ legend: l }) => [
450
+ item: p(({ legend: l, index: a }) => [
436
451
  w("div", {
437
452
  "data-cy-legend-item": "",
438
- onClick: (a) => U(l.uid),
439
- style: x(`opacity:${i.value.includes(l.uid) ? 0.5 : 1}`)
453
+ onClick: (s) => U(l.uid),
454
+ style: _(`opacity:${i.value.includes(l.uid) ? 0.5 : 1}`)
440
455
  }, [
441
- ne(W(l.name) + ": " + W(m(E)({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: l.value, s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.style.chart.legend.roundingValue })) + " ", 1),
442
- i.value.includes(l.uid) ? (n(), y("span", vt, " ( - % ) ")) : (n(), y("span", it, " (" + W(isNaN(l.value / f.value) ? "-" : (l.value / f.value * 100).toFixed(e.value.style.chart.legend.roundingPercentage)) + "%) ", 1))
443
- ], 12, nt)
456
+ ne(E(l.name) + ": " + E(h(de)(
457
+ e.value.style.chart.layout.labels.dataLabels.formatter,
458
+ l.value,
459
+ h(x)({
460
+ p: e.value.style.chart.layout.labels.dataLabels.prefix,
461
+ v: l.value,
462
+ s: e.value.style.chart.layout.labels.dataLabels.suffix,
463
+ r: e.value.style.chart.legend.roundingValue
464
+ }),
465
+ { datapoint: l, seriesIndex: a }
466
+ )) + " ", 1),
467
+ i.value.includes(l.uid) ? (n(), m("span", ct, " ( - % ) ")) : (n(), m("span", vt, " (" + E(isNaN(l.value / y.value) ? "-" : h(x)({
468
+ v: l.value / y.value * 100,
469
+ s: "%",
470
+ r: e.value.style.chart.legend.roundingPercentage
471
+ })) + ") ", 1))
472
+ ], 12, it)
444
473
  ]),
445
474
  _: 1
446
- }, 8, ["legendSet", "config"])) : p(t.$slots, "legend", {
475
+ }, 8, ["legendSet", "config"])) : g(t.$slots, "legend", {
447
476
  key: 1,
448
477
  legend: le.value
449
478
  }, void 0, !0)
450
479
  ], 512),
451
- X(je, {
452
- show: k.value.showTooltip && O.value && i.value.length < g.dataset.length,
480
+ X(Ye, {
481
+ show: k.value.showTooltip && M.value && i.value.length < f.dataset.length,
453
482
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
454
483
  color: e.value.style.chart.tooltip.color,
455
484
  borderRadius: e.value.style.chart.tooltip.borderRadius,
@@ -463,15 +492,15 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], lt = ["stop-color"],
463
492
  content: G.value,
464
493
  isCustom: e.value.style.chart.tooltip.customFormat && typeof e.value.style.chart.tooltip.customFormat == "function"
465
494
  }, {
466
- "tooltip-before": h(() => [
467
- p(t.$slots, "tooltip-before", B(D({ ...H.value })), void 0, !0)
495
+ "tooltip-before": p(() => [
496
+ g(t.$slots, "tooltip-before", D(W({ ...H.value })), void 0, !0)
468
497
  ]),
469
- "tooltip-after": h(() => [
470
- p(t.$slots, "tooltip-after", B(D({ ...H.value })), void 0, !0)
498
+ "tooltip-after": p(() => [
499
+ g(t.$slots, "tooltip-after", D(W({ ...H.value })), void 0, !0)
471
500
  ]),
472
501
  _: 3
473
502
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
474
- I.value ? (n(), V(Ke, {
503
+ O.value ? (n(), B(Qe, {
475
504
  key: 5,
476
505
  hideDetails: "",
477
506
  config: {
@@ -487,32 +516,32 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], lt = ["stop-color"],
487
516
  }
488
517
  }
489
518
  }, {
490
- content: h(() => [
491
- X(Ye, {
492
- colNames: A.value.colNames,
493
- head: A.value.head,
494
- body: A.value.body,
495
- config: A.value.config,
519
+ content: p(() => [
520
+ X(qe, {
521
+ colNames: R.value.colNames,
522
+ head: R.value.head,
523
+ body: R.value.body,
524
+ config: R.value.config,
496
525
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
497
526
  onClose: o[2] || (o[2] = (l) => k.value.showTable = !1)
498
527
  }, {
499
- th: h(({ th: l }) => [
528
+ th: p(({ th: l }) => [
500
529
  w("div", {
501
530
  innerHTML: l,
502
531
  style: { display: "flex", "align-items": "center" }
503
- }, null, 8, ct)
532
+ }, null, 8, dt)
504
533
  ]),
505
- td: h(({ td: l }) => [
506
- ne(W(l.name || l), 1)
534
+ td: p(({ td: l }) => [
535
+ ne(E(l.name || l), 1)
507
536
  ]),
508
537
  _: 1
509
538
  }, 8, ["colNames", "head", "body", "config", "title"])
510
539
  ]),
511
540
  _: 1
512
- }, 8, ["config"])) : _("", !0)
513
- ], 46, Ze));
541
+ }, 8, ["config"])) : N("", !0)
542
+ ], 46, et));
514
543
  }
515
- }, xt = /* @__PURE__ */ Qe(dt, [["__scopeId", "data-v-235fc2b3"]]);
544
+ }, _t = /* @__PURE__ */ Ze(ht, [["__scopeId", "data-v-747e43da"]]);
516
545
  export {
517
- xt as default
546
+ _t as default
518
547
  };