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 { computed as d, ref as n, onMounted as _e, onBeforeUnmount as Pe, watch as Oe, openBlock as s, createElementBlock as u, normalizeClass as A, normalizeStyle as D, createVNode as W, createCommentVNode as m, createBlock as L, unref as k, createSlots as Fe, withCtx as v, renderSlot as h, normalizeProps as z, guardReactiveProps as B, Fragment as F, renderList as I, createElementVNode as C, toDisplayString as T, createTextVNode as Ie, nextTick as Se } from "vue";
2
- import { u as Me, c as Ne, t as Re, a as Ae, p as ne, b as De, o as Le, e as j, d as ze, X as Be, v as ue, n as Ve, q as Ye, w as Xe, f as ie } from "./index-BhCM2QF1.js";
3
- import { t as Ge, u as Ue } from "./useResponsive-NZB-WLRF.js";
4
- import { _ as Ee } from "./Title-CtWGLaoz.js";
5
- import { u as He, U as We } from "./usePrinter-B75HLwzw.js";
6
- import { L as je } from "./Legend-DwludSgp.js";
7
- import { D as qe } from "./DataTable-bEXuvNn5.js";
8
- import { _ as Je } from "./Tooltip-D6BUVHr1.js";
9
- import Ke from "./vue-ui-skeleton-_VMQ594N.js";
10
- import Qe from "./vue-ui-accordion-CSZdj7wA.js";
11
- import { u as ce } from "./useNestedProp-CH3PVhvc.js";
12
- import { _ as Ze } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
- const et = ["id"], tt = ["xmlns", "viewBox"], at = ["cx", "cy", "r", "stroke", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], lt = ["cx", "cy", "r", "stroke", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], ot = ["id"], rt = ["stdDeviation"], st = ["filter"], nt = ["cx", "cy", "r", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], ut = ["cx", "cy", "r", "stroke-width", "stroke-dasharray", "stroke-dashoffset", "onMouseenter"], it = { key: 1 }, ct = ["onMouseenter"], dt = ["x", "y", "font-size", "fill", "font-weight"], vt = {
1
+ import { computed as d, ref as u, onMounted as Pe, onBeforeUnmount as Oe, watch as Ie, openBlock as s, createElementBlock as n, normalizeClass as D, normalizeStyle as L, createVNode as j, createCommentVNode as b, createBlock as z, unref as v, createSlots as Fe, withCtx as h, renderSlot as f, normalizeProps as B, guardReactiveProps as V, Fragment as I, renderList as F, createElementVNode as C, toDisplayString as T, createTextVNode as Se, nextTick as Me } from "vue";
2
+ import { u as Ne, c as Re, t as Ae, a as De, p as ie, b as Le, o as ze, e as q, d as Be, X as Ve, f as S, i as J, w as ce, q as Ye, r as Xe, x as Ge } from "./index-BlXzlBwZ.js";
3
+ import { t as Ue, u as Ee } from "./useResponsive-NZB-WLRF.js";
4
+ import { _ as He } from "./Title-eBTH8iGJ.js";
5
+ import { u as We, U as je } from "./usePrinter-CZ8F5Cth.js";
6
+ import { L as qe } from "./Legend-CkQ_zypV.js";
7
+ import { D as Je } from "./DataTable-CsPidn0_.js";
8
+ import { _ as Ke } from "./Tooltip-B11OahTD.js";
9
+ import Qe from "./vue-ui-skeleton-CJ2R5R6u.js";
10
+ import Ze from "./vue-ui-accordion-wHRG3nXl.js";
11
+ import { u as de } from "./useNestedProp-BoNl5H_z.js";
12
+ import { _ as et } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
+ const tt = ["id"], at = ["xmlns", "viewBox"], lt = ["cx", "cy", "r", "stroke", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], ot = ["cx", "cy", "r", "stroke", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], rt = ["id"], st = ["stdDeviation"], ut = ["filter"], nt = ["cx", "cy", "r", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], it = ["cx", "cy", "r", "stroke-width", "stroke-dasharray", "stroke-dashoffset", "onMouseenter"], ct = { key: 1 }, dt = ["onMouseenter"], vt = ["x", "y", "font-size", "fill", "font-weight"], ht = {
14
14
  key: 3,
15
15
  class: "vue-data-ui-watermark"
16
- }, ht = ["onClick"], ft = ["innerHTML"], gt = {
16
+ }, ft = ["onClick"], gt = ["innerHTML"], pt = {
17
17
  __name: "vue-ui-onion",
18
18
  props: {
19
19
  config: {
@@ -30,26 +30,26 @@ const et = ["id"], tt = ["xmlns", "viewBox"], at = ["cx", "cy", "r", "stroke", "
30
30
  }
31
31
  },
32
32
  emits: ["selectLegend"],
33
- setup(de, { expose: ve, emit: he }) {
34
- const $ = de, { vue_ui_onion: fe } = Me(), S = d(() => !!$.dataset && $.dataset.length), x = n(Ne()), ge = n(null), q = n(0), M = n(!1), V = n(""), f = n([]), _ = n(null), J = n(null), K = n(null), e = d(() => {
35
- const a = ce({
36
- userConfig: $.config,
37
- defaultConfig: fe
33
+ setup(ve, { expose: he, emit: fe }) {
34
+ const w = ve, { vue_ui_onion: ge } = Ne(), M = d(() => !!w.dataset && w.dataset.length), x = u(Re()), pe = u(null), K = u(0), N = u(!1), Y = u(""), g = u([]), _ = u(null), Q = u(null), Z = u(null), e = d(() => {
35
+ const a = de({
36
+ userConfig: w.config,
37
+ defaultConfig: ge
38
38
  });
39
39
  return a.theme ? {
40
- ...ce({
41
- userConfig: Re.vue_ui_onion[a.theme] || $.config,
40
+ ...de({
41
+ userConfig: Ae.vue_ui_onion[a.theme] || w.config,
42
42
  defaultConfig: a
43
43
  }),
44
- customPalette: Ae[a.theme] || ne
44
+ customPalette: De[a.theme] || ie
45
45
  } : a;
46
- }), { isPrinting: Q, isImaging: Z, generatePdf: ee, generateImage: te } = He({
46
+ }), { isPrinting: ee, isImaging: te, generatePdf: ae, generateImage: le } = We({
47
47
  elementId: `vue-ui-onion_${x.value}`,
48
48
  fileName: e.value.style.chart.title.text || "vue-ui-onion"
49
- }), pe = d(() => De(e.value.customPalette)), b = n({
49
+ }), ye = d(() => Le(e.value.customPalette)), k = u({
50
50
  showTable: e.value.table.show,
51
51
  showTooltip: e.value.style.chart.tooltip.show
52
- }), r = n({
52
+ }), r = u({
53
53
  height: 512,
54
54
  width: 512,
55
55
  padding: {
@@ -59,24 +59,24 @@ const et = ["id"], tt = ["xmlns", "viewBox"], at = ["cx", "cy", "r", "stroke", "
59
59
  bottom: 64
60
60
  },
61
61
  minRadius: 64
62
- }), N = n(null);
63
- _e(() => {
64
- if (Le($.dataset) && j({
62
+ }), R = u(null);
63
+ Pe(() => {
64
+ if (ze(w.dataset) && q({
65
65
  componentName: "VueUiOnion",
66
66
  type: "dataset"
67
67
  }), e.value.responsive) {
68
- const o = Ge(() => {
69
- const { width: t, height: l } = Ue({
68
+ const o = Ue(() => {
69
+ const { width: t, height: l } = Ee({
70
70
  chart: _.value,
71
- title: e.value.style.chart.title.text ? J.value : null,
72
- legend: e.value.style.chart.legend.show ? K.value : null
71
+ title: e.value.style.chart.title.text ? Q.value : null,
72
+ legend: e.value.style.chart.legend.show ? Z.value : null
73
73
  });
74
74
  r.value.width = t, r.value.height = l, r.value.padding.top = Math.max(t, l) * 0.125, r.value.padding.right = Math.max(t, l) * 0.125, r.value.padding.bottom = Math.max(t, l) * 0.125, r.value.padding.left = Math.max(t, l) * 0.125, r.value.minRadius = Math.min(t, l) * 0.125;
75
75
  });
76
- N.value = new ResizeObserver(o), N.value.observe(_.value.parentNode);
76
+ R.value = new ResizeObserver(o), R.value.observe(_.value.parentNode);
77
77
  }
78
- }), Pe(() => {
79
- N.value && N.value.disconnect();
78
+ }), Oe(() => {
79
+ R.value && R.value.disconnect();
80
80
  });
81
81
  const i = d(() => ({
82
82
  top: r.value.padding.top,
@@ -89,41 +89,41 @@ const et = ["id"], tt = ["xmlns", "viewBox"], at = ["cx", "cy", "r", "stroke", "
89
89
  height: r.value.height - r.value.padding.bottom - r.value.padding.top,
90
90
  minRadius: r.value.minRadius,
91
91
  maxRadius: Math.min(r.value.width, r.value.height) - r.value.padding.top * 2
92
- })), c = d(() => ($.dataset.forEach((a, o) => {
93
- [null, void 0].includes(a.name) && j({
92
+ })), c = d(() => (w.dataset.forEach((a, o) => {
93
+ [null, void 0].includes(a.name) && q({
94
94
  componentName: "VueUiOnion",
95
95
  type: "datasetSerieAttribute",
96
96
  property: "name",
97
97
  index: o
98
- }), [void 0].includes(a.percentage) && j({
98
+ }), [void 0].includes(a.percentage) && q({
99
99
  componentName: "VueUiOnion",
100
100
  type: "datasetSerieAttribute",
101
101
  property: "percentage",
102
102
  index: o
103
103
  });
104
- }), $.dataset.map((a, o) => {
104
+ }), w.dataset.map((a, o) => {
105
105
  const t = `onion_serie_${o}_${x.value}`;
106
106
  return {
107
107
  ...a,
108
108
  percentage: a.percentage || 0,
109
109
  targetPercentage: a.percentage || 0,
110
- color: ze(a.color) || pe.value[o] || ne[o],
110
+ color: Be(a.color) || ye.value[o] || ie[o],
111
111
  id: t,
112
112
  shape: "circle",
113
- opacity: f.value.includes(t) ? 0.5 : 1,
113
+ opacity: g.value.includes(t) ? 0.5 : 1,
114
114
  absoluteIndex: o,
115
- segregate: () => ae(t),
116
- isSegregated: f.value.includes(t)
115
+ segregate: () => oe(t),
116
+ isSegregated: g.value.includes(t)
117
117
  };
118
- }))), P = n(c.value), ye = d(() => e.value.useStartAnimation), me = n(null), be = d(() => Math.max(...c.value.map((a) => a.percentage))), Y = n(!1);
119
- Oe(() => c.value, ke, { immediate: !0 });
120
- function ke() {
121
- if (ye.value && !Y.value) {
118
+ }))), P = u(c.value), me = d(() => e.value.useStartAnimation), be = u(null), ke = d(() => Math.max(...c.value.map((a) => a.percentage))), X = u(!1);
119
+ Ie(() => c.value, we, { immediate: !0 });
120
+ function we() {
121
+ if (me.value && !X.value) {
122
122
  let o = function() {
123
- a >= be.value ? (cancelAnimationFrame(me.value), P.value = c.value, Y.value = !0) : (P.value = c.value.map((t) => ({
123
+ a >= ke.value ? (cancelAnimationFrame(be.value), P.value = c.value, X.value = !0) : (P.value = c.value.map((t) => ({
124
124
  ...t,
125
125
  percentage: a < t.targetPercentage ? a : t.targetPercentage
126
- })), a += 1, requestAnimationFrame(o), Y.value = !0);
126
+ })), a += 1, requestAnimationFrame(o), X.value = !0);
127
127
  };
128
128
  P.value = c.value.map((t) => ({
129
129
  ...t,
@@ -141,23 +141,23 @@ const et = ["id"], tt = ["xmlns", "viewBox"], at = ["cx", "cy", "r", "stroke", "
141
141
  fontSize: e.value.style.chart.legend.fontSize,
142
142
  paddingBottom: 12,
143
143
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
144
- })), we = d(() => c.value.filter((a) => !f.value.includes(a.id)).length), w = d(() => {
144
+ })), xe = d(() => c.value.filter((a) => !g.value.includes(a.id)).length), $ = d(() => {
145
145
  const a = Math.min(i.value.width, i.value.height) / 2 / c.value.length;
146
146
  return {
147
147
  gutter: (a > e.value.style.chart.layout.maxThickness ? e.value.style.chart.layout.maxThickness : a) * e.value.style.chart.layout.gutter.width,
148
148
  track: (a > e.value.style.chart.layout.maxThickness ? e.value.style.chart.layout.maxThickness : a) * e.value.style.chart.layout.track.width
149
149
  };
150
- }), g = d(() => P.value.filter((a) => !f.value.includes(a.id)).map((a, o) => {
151
- const t = (i.value.maxRadius - w.value.track) / we.value / 2 * (1 + o), l = i.value.centerY - t;
150
+ }), p = d(() => P.value.filter((a) => !g.value.includes(a.id)).map((a, o) => {
151
+ const t = (i.value.maxRadius - $.value.track) / xe.value / 2 * (1 + o), l = i.value.centerY - t;
152
152
  return {
153
153
  percentage: a.percentage || 0,
154
154
  ...a,
155
155
  labelY: l,
156
156
  radius: t,
157
- path: xe(t, a.percentage || 0)
157
+ path: Ce(t, a.percentage || 0)
158
158
  };
159
159
  }));
160
- function xe(a, o) {
160
+ function Ce(a, o) {
161
161
  const t = a * (1.5 + (o / 100 > 0.3333333333333333 ? 0 : 1 - o / 100)) * Math.PI, l = a * 1.5 * Math.PI;
162
162
  return {
163
163
  bgDashArray: `${l} ${l}`,
@@ -168,21 +168,21 @@ const et = ["id"], tt = ["xmlns", "viewBox"], at = ["cx", "cy", "r", "stroke", "
168
168
  active: `M${i.value.centerX},${i.value.centerY} A ${a},${a} 0 0 0 ${i.value.right},${i.value.top}`
169
169
  };
170
170
  }
171
- function ae(a) {
172
- f.value.includes(a) ? f.value = f.value.filter((o) => o !== a) : f.value.push(a), he("selectLegend", g.value);
171
+ function oe(a) {
172
+ g.value.includes(a) ? g.value = g.value.filter((o) => o !== a) : g.value.push(a), fe("selectLegend", p.value);
173
173
  }
174
- function Ce() {
175
- return g.value;
174
+ function Te() {
175
+ return p.value;
176
176
  }
177
- const X = d(() => {
178
- const a = [e.value.table.translations.serie, e.value.table.translations.percentage, e.value.table.translations.value], o = g.value.map((t) => [
177
+ const G = d(() => {
178
+ const a = [e.value.table.translations.serie, e.value.table.translations.percentage, e.value.table.translations.value], o = p.value.map((t) => [
179
179
  t.name,
180
180
  t.percentage,
181
181
  t.value
182
182
  ]);
183
183
  return { head: a, body: o };
184
- }), R = d(() => {
185
- const a = X.value.head, o = g.value.map((l) => [
184
+ }), A = d(() => {
185
+ const a = G.value.head, o = p.value.map((l) => [
186
186
  `<span style="color:${l.color}">⬤</span> ${l.name}`,
187
187
  `${Number(l.percentage ?? 0).toFixed(e.value.table.td.roundingPercentage).toLocaleString()}%`,
188
188
  `${l.prefix || ""}${[null, void 0, NaN, "NaN"].includes(l.value) ? "-" : l.value.toFixed(e.value.table.td.roundingValue).toLocaleString()}${l.suffix || ""}`
@@ -201,71 +201,81 @@ const et = ["id"], tt = ["xmlns", "viewBox"], at = ["cx", "cy", "r", "stroke", "
201
201
  };
202
202
  return { head: a, body: o, config: t, colNames: a };
203
203
  });
204
- function le() {
205
- Se(() => {
206
- const a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], o = X.value.head, t = X.value.body, l = a.concat([o]).concat(t), y = Ve(l);
207
- Ye({ csvContent: y, title: e.value.style.chart.title.text || "vue-ui-onion" });
204
+ function re() {
205
+ Me(() => {
206
+ const a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], o = G.value.head, t = G.value.body, l = a.concat([o]).concat(t), m = Ye(l);
207
+ Xe({ csvContent: m, title: e.value.style.chart.title.text || "vue-ui-onion" });
208
208
  });
209
209
  }
210
- const p = n(void 0), O = n(!1);
211
- function Te(a) {
212
- O.value = a, q.value += 1;
210
+ const y = u(void 0), O = u(!1);
211
+ function _e(a) {
212
+ O.value = a, K.value += 1;
213
213
  }
214
- const G = n(null);
215
- function oe({ datapoint: a, seriesIndex: o, show: t = !0 }) {
214
+ const U = u(null);
215
+ function se({ datapoint: a, seriesIndex: o, show: t = !0 }) {
216
216
  const l = a.absoluteIndex;
217
- p.value = o, G.value = {
217
+ y.value = o, U.value = {
218
218
  datapoint: a,
219
219
  seriesIndex: l,
220
220
  series: c.value,
221
221
  config: e.value
222
- }, M.value = t;
223
- let y = "";
224
- const U = e.value.style.chart.tooltip.customFormat;
225
- if (ue(U) && Xe(() => U({
222
+ }, N.value = t;
223
+ let m = "";
224
+ const E = e.value.style.chart.tooltip.customFormat;
225
+ if (ce(E) && Ge(() => E({
226
226
  seriesIndex: l,
227
227
  datapoint: a,
228
228
  series: c.value,
229
229
  config: e.value
230
230
  })))
231
- V.value = U({
231
+ Y.value = E({
232
232
  seriesIndex: l,
233
233
  datapoint: a,
234
234
  series: c.value,
235
235
  config: e.value
236
236
  });
237
237
  else {
238
- const E = e.value.style.chart.tooltip.showPercentage, H = e.value.style.chart.tooltip.showValue;
239
- y += `<div style="width: 100%; border-bottom: 1px solid ${e.value.style.chart.tooltip.borderColor}; padding-bottom: 6px;margin-bottom:3px;display:flex;flex-direction:row;gap:3px;align-items:center"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${a.color}"/></svg><span></span>${a.name}</span></div>`, y += `<div style="width:100%;text-align:left;"><b>${E ? ie({ p: "", v: a.percentage, s: "%", r: e.value.style.chart.tooltip.roundingPercentage }) : ""}</b> ${E && H ? "(" : ""}${H ? ie({ p: a.prefix || "", v: a.value, s: a.suffix || "", r: e.value.style.chart.tooltip.roundingValue }) : ""}${E && H ? ")" : ""}</div>`, V.value = `<div>${y}</div>`;
238
+ const H = e.value.style.chart.tooltip.showPercentage, W = e.value.style.chart.tooltip.showValue;
239
+ m += `<div style="width: 100%; border-bottom: 1px solid ${e.value.style.chart.tooltip.borderColor}; padding-bottom: 6px;margin-bottom:3px;display:flex;flex-direction:row;gap:3px;align-items:center"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${a.color}"/></svg><span></span>${a.name}</span></div>`, m += `<div style="width:100%;text-align:left;"><b>${H ? S({ p: "", v: a.percentage, s: "%", r: e.value.style.chart.tooltip.roundingPercentage }) : ""}</b> ${H && W ? "(" : ""}${W ? J(
240
+ e.value.style.chart.layout.labels.value.formatter,
241
+ a.value,
242
+ S({
243
+ p: a.prefix || "",
244
+ v: a.value,
245
+ s: a.suffix || "",
246
+ r: e.value.style.chart.tooltip.roundingValue
247
+ }),
248
+ { datapoint: a, seriesIndex: o }
249
+ ) : ""}${H && W ? ")" : ""}</div>`, Y.value = `<div>${m}</div>`;
240
250
  }
241
251
  }
242
- function re() {
243
- b.value.showTable = !b.value.showTable;
252
+ function ue() {
253
+ k.value.showTable = !k.value.showTable;
244
254
  }
245
- function se() {
246
- b.value.showTooltip = !b.value.showTooltip;
255
+ function ne() {
256
+ k.value.showTooltip = !k.value.showTooltip;
247
257
  }
248
- return ve({
249
- getData: Ce,
250
- generatePdf: ee,
251
- generateCsv: le,
252
- generateImage: te,
253
- toggleTable: re,
254
- toggleTooltip: se
255
- }), (a, o) => (s(), u("div", {
256
- class: A(`vue-ui-onion ${O.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
258
+ return he({
259
+ getData: Te,
260
+ generatePdf: ae,
261
+ generateCsv: re,
262
+ generateImage: le,
263
+ toggleTable: ue,
264
+ toggleTooltip: ne
265
+ }), (a, o) => (s(), n("div", {
266
+ class: D(`vue-ui-onion ${O.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
257
267
  ref_key: "onionChart",
258
268
  ref: _,
259
269
  id: `vue-ui-onion_${x.value}`,
260
- style: D(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height: 100%;" : ""} text-align:center;background:${e.value.style.chart.backgroundColor}`)
270
+ style: L(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height: 100%;" : ""} text-align:center;background:${e.value.style.chart.backgroundColor}`)
261
271
  }, [
262
- e.value.style.chart.title.text ? (s(), u("div", {
272
+ e.value.style.chart.title.text ? (s(), n("div", {
263
273
  key: 0,
264
274
  ref_key: "chartTitle",
265
- ref: J,
266
- style: D(`width:100%;background:${e.value.style.chart.backgroundColor}`)
275
+ ref: Q,
276
+ style: L(`width:100%;background:${e.value.style.chart.backgroundColor}`)
267
277
  }, [
268
- W(Ee, {
278
+ j(He, {
269
279
  config: {
270
280
  title: {
271
281
  cy: "onion-div-title",
@@ -277,15 +287,15 @@ const et = ["id"], tt = ["xmlns", "viewBox"], at = ["cx", "cy", "r", "stroke", "
277
287
  }
278
288
  }
279
289
  }, null, 8, ["config"])
280
- ], 4)) : m("", !0),
281
- e.value.userOptions.show && S.value ? (s(), L(We, {
290
+ ], 4)) : b("", !0),
291
+ e.value.userOptions.show && M.value ? (s(), z(je, {
282
292
  ref_key: "details",
283
- ref: ge,
284
- key: `user_options${q.value}`,
293
+ ref: pe,
294
+ key: `user_options${K.value}`,
285
295
  backgroundColor: e.value.style.chart.backgroundColor,
286
296
  color: e.value.style.chart.color,
287
- isImaging: k(Z),
288
- isPrinting: k(Q),
297
+ isImaging: v(te),
298
+ isPrinting: v(ee),
289
299
  uid: x.value,
290
300
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
291
301
  hasPdf: e.value.userOptions.buttons.pdf,
@@ -294,92 +304,92 @@ const et = ["id"], tt = ["xmlns", "viewBox"], at = ["cx", "cy", "r", "stroke", "
294
304
  hasTable: e.value.userOptions.buttons.table,
295
305
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
296
306
  isFullscreen: O.value,
297
- isTooltip: b.value.showTooltip,
307
+ isTooltip: k.value.showTooltip,
298
308
  titles: { ...e.value.userOptions.buttonTitles },
299
309
  chartElement: _.value,
300
- onToggleFullscreen: Te,
301
- onGeneratePdf: k(ee),
302
- onGenerateCsv: le,
303
- onGenerateImage: k(te),
304
- onToggleTable: re,
305
- onToggleTooltip: se
310
+ onToggleFullscreen: _e,
311
+ onGeneratePdf: v(ae),
312
+ onGenerateCsv: re,
313
+ onGenerateImage: v(le),
314
+ onToggleTable: ue,
315
+ onToggleTooltip: ne
306
316
  }, Fe({ _: 2 }, [
307
317
  a.$slots.optionTooltip ? {
308
318
  name: "optionTooltip",
309
- fn: v(() => [
310
- h(a.$slots, "optionTooltip", {}, void 0, !0)
319
+ fn: h(() => [
320
+ f(a.$slots, "optionTooltip", {}, void 0, !0)
311
321
  ]),
312
322
  key: "0"
313
323
  } : void 0,
314
324
  a.$slots.optionPdf ? {
315
325
  name: "optionPdf",
316
- fn: v(() => [
317
- h(a.$slots, "optionPdf", {}, void 0, !0)
326
+ fn: h(() => [
327
+ f(a.$slots, "optionPdf", {}, void 0, !0)
318
328
  ]),
319
329
  key: "1"
320
330
  } : void 0,
321
331
  a.$slots.optionCsv ? {
322
332
  name: "optionCsv",
323
- fn: v(() => [
324
- h(a.$slots, "optionCsv", {}, void 0, !0)
333
+ fn: h(() => [
334
+ f(a.$slots, "optionCsv", {}, void 0, !0)
325
335
  ]),
326
336
  key: "2"
327
337
  } : void 0,
328
338
  a.$slots.optionImg ? {
329
339
  name: "optionImg",
330
- fn: v(() => [
331
- h(a.$slots, "optionImg", {}, void 0, !0)
340
+ fn: h(() => [
341
+ f(a.$slots, "optionImg", {}, void 0, !0)
332
342
  ]),
333
343
  key: "3"
334
344
  } : void 0,
335
345
  a.$slots.optionTable ? {
336
346
  name: "optionTable",
337
- fn: v(() => [
338
- h(a.$slots, "optionTable", {}, void 0, !0)
347
+ fn: h(() => [
348
+ f(a.$slots, "optionTable", {}, void 0, !0)
339
349
  ]),
340
350
  key: "4"
341
351
  } : void 0,
342
352
  a.$slots.optionFullscreen ? {
343
353
  name: "optionFullscreen",
344
- fn: v(({ toggleFullscreen: t, isFullscreen: l }) => [
345
- h(a.$slots, "optionFullscreen", z(B({ toggleFullscreen: t, isFullscreen: l })), void 0, !0)
354
+ fn: h(({ toggleFullscreen: t, isFullscreen: l }) => [
355
+ f(a.$slots, "optionFullscreen", B(V({ toggleFullscreen: t, isFullscreen: l })), void 0, !0)
346
356
  ]),
347
357
  key: "5"
348
358
  } : void 0
349
- ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) : m("", !0),
350
- S.value ? (s(), u("svg", {
359
+ ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) : b("", !0),
360
+ M.value ? (s(), n("svg", {
351
361
  key: 2,
352
- xmlns: k(Be),
353
- class: A({ "vue-data-ui-fullscreen--on": O.value, "vue-data-ui-fulscreen--off": !O.value }),
362
+ xmlns: v(Ve),
363
+ class: D({ "vue-data-ui-fullscreen--on": O.value, "vue-data-ui-fulscreen--off": !O.value }),
354
364
  viewBox: `0 0 ${r.value.width <= 0 ? 1e-4 : r.value.width} ${r.value.height <= 0 ? 1e-4 : r.value.height}`,
355
- style: D(`max-width:100%;overflow:visible;background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color}`)
365
+ style: L(`max-width:100%;overflow:visible;background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color}`)
356
366
  }, [
357
- (s(!0), u(F, null, I(g.value, (t, l) => (s(), u("circle", {
367
+ (s(!0), n(I, null, F(p.value, (t, l) => (s(), n("circle", {
358
368
  cx: i.value.centerX,
359
369
  cy: i.value.centerY,
360
370
  r: t.radius <= 0 ? 1e-4 : t.radius,
361
371
  stroke: e.value.style.chart.layout.gutter.color,
362
- "stroke-width": w.value.gutter,
372
+ "stroke-width": $.value.gutter,
363
373
  fill: "none",
364
374
  "stroke-dasharray": t.path.bgDashArray,
365
375
  "stroke-dashoffset": t.path.fullOffset,
366
376
  "stroke-linecap": "round",
367
- class: A({ "vue-ui-onion-path": !0, "vue-ui-onion-blur": e.value.useBlurOnHover && ![null, void 0].includes(p.value) && p.value !== l }),
377
+ class: D({ "vue-ui-onion-path": !0, "vue-ui-onion-blur": e.value.useBlurOnHover && ![null, void 0].includes(y.value) && y.value !== l }),
368
378
  style: { transform: "rotate(-90deg)", "transform-origin": "50% 50%" }
369
- }, null, 10, at))), 256)),
370
- (s(!0), u(F, null, I(g.value, (t, l) => (s(), u("circle", {
379
+ }, null, 10, lt))), 256)),
380
+ (s(!0), n(I, null, F(p.value, (t, l) => (s(), n("circle", {
371
381
  cx: i.value.centerX,
372
382
  cy: i.value.centerY,
373
383
  r: t.radius < 0 ? 1e-4 : t.radius,
374
384
  stroke: `${t.color}`,
375
- "stroke-width": w.value.track,
385
+ "stroke-width": $.value.track,
376
386
  fill: "none",
377
387
  "stroke-dasharray": t.path.dashArray,
378
388
  "stroke-dashoffset": t.path.dashOffset,
379
- class: A({ "vue-ui-onion-path": !0, "vue-ui-onion-blur": e.value.useBlurOnHover && ![null, void 0].includes(p.value) && p.value !== l }),
389
+ class: D({ "vue-ui-onion-path": !0, "vue-ui-onion-blur": e.value.useBlurOnHover && ![null, void 0].includes(y.value) && y.value !== l }),
380
390
  "stroke-linecap": "round",
381
391
  style: { transform: "rotate(-90deg)", "transform-origin": "50% 50%" }
382
- }, null, 10, lt))), 256)),
392
+ }, null, 10, ot))), 256)),
383
393
  C("defs", null, [
384
394
  C("filter", {
385
395
  id: `blur_${x.value}`,
@@ -391,76 +401,100 @@ const et = ["id"], tt = ["xmlns", "viewBox"], at = ["cx", "cy", "r", "stroke", "
391
401
  C("feGaussianBlur", {
392
402
  in: "SourceGraphic",
393
403
  stdDeviation: 100 / e.value.style.chart.gradientIntensity
394
- }, null, 8, rt)
395
- ], 8, ot)
404
+ }, null, 8, st)
405
+ ], 8, rt)
396
406
  ]),
397
- e.value.style.chart.useGradient ? (s(), u("g", {
407
+ e.value.style.chart.useGradient ? (s(), n("g", {
398
408
  key: 0,
399
409
  filter: `url(#blur_${x.value})`
400
410
  }, [
401
- (s(!0), u(F, null, I(g.value, (t, l) => (s(), u("circle", {
411
+ (s(!0), n(I, null, F(p.value, (t, l) => (s(), n("circle", {
402
412
  cx: i.value.centerX,
403
413
  cy: i.value.centerY,
404
414
  r: t.radius <= 0 ? 1e-4 : t.radius,
405
415
  stroke: "white",
406
- "stroke-width": w.value.track / 3,
416
+ "stroke-width": $.value.track / 3,
407
417
  fill: "none",
408
418
  "stroke-linecap": "round",
409
419
  "stroke-dasharray": t.path.dashArray,
410
420
  "stroke-dashoffset": t.path.dashOffset,
411
421
  style: { transform: "rotate(-90deg)", "transform-origin": "50% 50%" }
412
422
  }, null, 8, nt))), 256))
413
- ], 8, st)) : m("", !0),
414
- (s(!0), u(F, null, I(g.value, (t, l) => (s(), u("circle", {
423
+ ], 8, ut)) : b("", !0),
424
+ (s(!0), n(I, null, F(p.value, (t, l) => (s(), n("circle", {
415
425
  "data-cy-trap": "",
416
426
  cx: i.value.centerX,
417
427
  cy: i.value.centerY,
418
428
  r: t.radius <= 0 ? 1e-4 : t.radius,
419
429
  stroke: "transparent",
420
- "stroke-width": Math.max(w.value.track, w.value.gutter),
430
+ "stroke-width": Math.max($.value.track, $.value.gutter),
421
431
  fill: "none",
422
432
  "stroke-dasharray": t.path.bgDashArray,
423
433
  "stroke-dashoffset": t.path.fullOffset,
424
434
  "stroke-linecap": "round",
425
435
  class: "vue-ui-onion-path",
426
436
  style: { transform: "rotate(-90deg)", "transform-origin": "50% 50%" },
427
- onMouseenter: (y) => oe({
437
+ onMouseenter: (m) => se({
428
438
  datapoint: t,
429
439
  show: !0,
430
440
  seriesIndex: l
431
441
  }),
432
- onMouseleave: o[0] || (o[0] = (y) => {
433
- p.value = void 0, M.value = !1;
442
+ onMouseleave: o[0] || (o[0] = (m) => {
443
+ y.value = void 0, N.value = !1;
434
444
  })
435
- }, null, 40, ut))), 256)),
436
- e.value.style.chart.layout.labels.show ? (s(), u("g", it, [
437
- (s(!0), u(F, null, I(g.value, (t, l) => (s(), u("g", {
438
- onMouseenter: (y) => oe({
445
+ }, null, 40, it))), 256)),
446
+ e.value.style.chart.layout.labels.show ? (s(), n("g", ct, [
447
+ (s(!0), n(I, null, F(p.value, (t, l) => (s(), n("g", {
448
+ onMouseenter: (m) => se({
439
449
  datapoint: t,
440
450
  show: !0,
441
451
  seriesIndex: l
442
452
  }),
443
- onMouseleave: o[1] || (o[1] = (y) => {
444
- p.value = void 0, M.value = !1;
453
+ onMouseleave: o[1] || (o[1] = (m) => {
454
+ y.value = void 0, N.value = !1;
445
455
  })
446
456
  }, [
447
- f.value.includes(t.id) ? m("", !0) : (s(), u("text", {
457
+ g.value.includes(t.id) ? b("", !0) : (s(), n("text", {
448
458
  key: 0,
449
- x: r.value.width / 2 - w.value.gutter * 0.8 + e.value.style.chart.layout.labels.offsetX,
459
+ x: r.value.width / 2 - $.value.gutter * 0.8 + e.value.style.chart.layout.labels.offsetX,
450
460
  y: t.labelY + e.value.style.chart.layout.labels.offsetY,
451
461
  "text-anchor": "end",
452
462
  "font-size": e.value.style.chart.layout.labels.fontSize,
453
- fill: e.value.useBlurOnHover && ![null, void 0].includes(p.value) && p.value === l ? t.color : e.value.style.chart.layout.labels.color,
463
+ fill: e.value.useBlurOnHover && ![null, void 0].includes(y.value) && y.value === l ? t.color : e.value.style.chart.layout.labels.color,
454
464
  "font-weight": e.value.style.chart.layout.labels.bold ? "bold" : "normal"
455
- }, T(t.name ? t.name + ": " : "") + " " + T(e.value.style.chart.layout.labels.percentage.show ? `${(t.percentage || 0).toFixed(e.value.style.chart.layout.labels.roundingPercentage)}%` : "") + " " + T(!e.value.style.chart.layout.labels.percentage.show && e.value.style.chart.layout.labels.value.show ? ` : ${t.value ? `${t.prefix || ""}${t.value.toFixed(e.value.style.chart.layout.labels.roundingValue)}${t.suffix || ""}` : ""}` : `${e.value.style.chart.layout.labels.value.show && t.value ? `(${t.prefix || ""}${t.value.toFixed(e.value.style.chart.layout.labels.roundingValue)}${t.suffix || ""})` : ""}`), 9, dt))
456
- ], 40, ct))), 256))
457
- ])) : m("", !0),
458
- h(a.$slots, "svg", { svg: r.value }, void 0, !0)
459
- ], 14, tt)) : m("", !0),
460
- a.$slots.watermark ? (s(), u("div", vt, [
461
- h(a.$slots, "watermark", z(B({ isPrinting: k(Q) || k(Z) })), void 0, !0)
462
- ])) : m("", !0),
463
- S.value ? m("", !0) : (s(), L(Ke, {
465
+ }, T(t.name ? t.name + ": " : "") + " " + T(e.value.style.chart.layout.labels.percentage.show ? v(S)({
466
+ v: t.percentage,
467
+ s: "%",
468
+ r: e.value.style.chart.layout.labels.roundingPercentage
469
+ }) : "") + " " + T(!e.value.style.chart.layout.labels.percentage.show && e.value.style.chart.layout.labels.value.show ? `: ${v(J)(
470
+ e.value.style.chart.layout.labels.value.formatter,
471
+ t.value,
472
+ v(S)({
473
+ p: t.prefix || "",
474
+ v: t.value || 0,
475
+ s: t.suffix || "",
476
+ r: e.value.style.chart.layout.labels.roundingValue
477
+ }),
478
+ { datapoint: t, seriesIndex: l }
479
+ )}` : `${e.value.style.chart.layout.labels.value.show && t.value ? `(${v(J)(
480
+ e.value.style.chart.layout.labels.value.formatter,
481
+ t.value,
482
+ v(S)({
483
+ p: t.prefix || "",
484
+ v: t.value || 0,
485
+ s: t.suffix || "",
486
+ r: e.value.style.chart.layout.labels.roundingValue
487
+ }),
488
+ { datapoint: t, seriesIndex: l }
489
+ )})` : ""}`), 9, vt))
490
+ ], 40, dt))), 256))
491
+ ])) : b("", !0),
492
+ f(a.$slots, "svg", { svg: r.value }, void 0, !0)
493
+ ], 14, at)) : b("", !0),
494
+ a.$slots.watermark ? (s(), n("div", ht, [
495
+ f(a.$slots, "watermark", B(V({ isPrinting: v(ee) || v(te) })), void 0, !0)
496
+ ])) : b("", !0),
497
+ M.value ? b("", !0) : (s(), z(Qe, {
464
498
  key: 4,
465
499
  config: {
466
500
  type: "onion",
@@ -474,29 +508,29 @@ const et = ["id"], tt = ["xmlns", "viewBox"], at = ["cx", "cy", "r", "stroke", "
474
508
  }, null, 8, ["config"])),
475
509
  C("div", {
476
510
  ref_key: "chartLegend",
477
- ref: K
511
+ ref: Z
478
512
  }, [
479
- e.value.style.chart.legend.show ? (s(), L(je, {
513
+ e.value.style.chart.legend.show ? (s(), z(qe, {
480
514
  key: 0,
481
515
  legendSet: c.value,
482
516
  config: $e.value,
483
- onClickMarker: o[2] || (o[2] = ({ legend: t }) => ae(t.id))
517
+ onClickMarker: o[2] || (o[2] = ({ legend: t }) => oe(t.id))
484
518
  }, {
485
- item: v(({ legend: t }) => [
519
+ item: h(({ legend: t }) => [
486
520
  C("div", {
487
521
  "data-cy-legend-item": "",
488
522
  onClick: (l) => t.segregate(),
489
- style: D(`opacity:${f.value.includes(t.id) ? 0.5 : 1}`)
490
- }, T(t.name ? t.name + ": " : "") + " " + T((t.percentage || 0).toFixed(e.value.style.chart.legend.roundingPercentage)) + "% ", 13, ht)
523
+ style: L(`opacity:${g.value.includes(t.id) ? 0.5 : 1}`)
524
+ }, T(t.name ? t.name + ": " : "") + " " + T((t.percentage || 0).toFixed(e.value.style.chart.legend.roundingPercentage)) + "% ", 13, ft)
491
525
  ]),
492
526
  _: 1
493
- }, 8, ["legendSet", "config"])) : h(a.$slots, "legend", {
527
+ }, 8, ["legendSet", "config"])) : f(a.$slots, "legend", {
494
528
  key: 1,
495
529
  legend: c.value
496
530
  }, void 0, !0)
497
531
  ], 512),
498
- W(Je, {
499
- show: b.value.showTooltip && M.value,
532
+ j(Ke, {
533
+ show: k.value.showTooltip && N.value,
500
534
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
501
535
  color: e.value.style.chart.tooltip.color,
502
536
  borderRadius: e.value.style.chart.tooltip.borderRadius,
@@ -507,22 +541,22 @@ const et = ["id"], tt = ["xmlns", "viewBox"], at = ["cx", "cy", "r", "stroke", "
507
541
  position: e.value.style.chart.tooltip.position,
508
542
  offsetY: e.value.style.chart.tooltip.offsetY,
509
543
  parent: _.value,
510
- content: V.value,
511
- isCustom: k(ue)(e.value.style.chart.tooltip.customFormat)
544
+ content: Y.value,
545
+ isCustom: v(ce)(e.value.style.chart.tooltip.customFormat)
512
546
  }, {
513
- "tooltip-before": v(() => [
514
- h(a.$slots, "tooltip-before", z(B({ ...G.value })), void 0, !0)
547
+ "tooltip-before": h(() => [
548
+ f(a.$slots, "tooltip-before", B(V({ ...U.value })), void 0, !0)
515
549
  ]),
516
- "tooltip-after": v(() => [
517
- h(a.$slots, "tooltip-after", z(B({ ...G.value })), void 0, !0)
550
+ "tooltip-after": h(() => [
551
+ f(a.$slots, "tooltip-after", B(V({ ...U.value })), void 0, !0)
518
552
  ]),
519
553
  _: 3
520
554
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
521
- S.value ? (s(), L(Qe, {
555
+ M.value ? (s(), z(Ze, {
522
556
  key: 5,
523
557
  hideDetails: "",
524
558
  config: {
525
- open: b.value.showTable,
559
+ open: k.value.showTable,
526
560
  maxHeight: 1e4,
527
561
  head: {
528
562
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -534,29 +568,29 @@ const et = ["id"], tt = ["xmlns", "viewBox"], at = ["cx", "cy", "r", "stroke", "
534
568
  }
535
569
  }
536
570
  }, {
537
- content: v(() => [
538
- W(qe, {
539
- colNames: R.value.colNames,
540
- head: R.value.head,
541
- body: R.value.body,
542
- config: R.value.config,
571
+ content: h(() => [
572
+ j(Je, {
573
+ colNames: A.value.colNames,
574
+ head: A.value.head,
575
+ body: A.value.body,
576
+ config: A.value.config,
543
577
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
544
- onClose: o[3] || (o[3] = (t) => b.value.showTable = !1)
578
+ onClose: o[3] || (o[3] = (t) => k.value.showTable = !1)
545
579
  }, {
546
- th: v(({ th: t }) => [
547
- Ie(T(t), 1)
580
+ th: h(({ th: t }) => [
581
+ Se(T(t), 1)
548
582
  ]),
549
- td: v(({ td: t }) => [
550
- C("div", { innerHTML: t }, null, 8, ft)
583
+ td: h(({ td: t }) => [
584
+ C("div", { innerHTML: t }, null, 8, gt)
551
585
  ]),
552
586
  _: 1
553
587
  }, 8, ["colNames", "head", "body", "config", "title"])
554
588
  ]),
555
589
  _: 1
556
- }, 8, ["config"])) : m("", !0)
557
- ], 14, et));
590
+ }, 8, ["config"])) : b("", !0)
591
+ ], 14, tt));
558
592
  }
559
- }, Ot = /* @__PURE__ */ Ze(gt, [["__scopeId", "data-v-d5bc0216"]]);
593
+ }, It = /* @__PURE__ */ et(pt, [["__scopeId", "data-v-92cdbc16"]]);
560
594
  export {
561
- Ot as default
595
+ It as default
562
596
  };