vue-data-ui 2.3.73 → 2.3.75

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 (193) hide show
  1. package/dist/{Arrow-B9ZuNkP-.js → Arrow-BTG7M25z.js} +1 -1
  2. package/dist/{Arrow-B8nZeqNJ.cjs → Arrow-CZK77NmC.cjs} +1 -1
  3. package/dist/{BaseIcon-CXbZK6D-.cjs → BaseIcon--PMhZ3f-.cjs} +1 -1
  4. package/dist/{BaseIcon-_V_BEdy8.js → BaseIcon-BAOfPaXs.js} +1 -1
  5. package/dist/{DataTable-BOdJVZzF.js → DataTable-CQANRZju.js} +2 -2
  6. package/dist/{DataTable-wmKwMbsJ.cjs → DataTable-DjQzrklZ.cjs} +1 -1
  7. package/dist/{Legend-DdndVhHV.cjs → Legend-CtbPB0Bo.cjs} +1 -1
  8. package/dist/{Legend-CHd5QFPM.js → Legend-DX1kv21U.js} +1 -1
  9. package/dist/{Shape-CLRxBhyM.cjs → Shape-CadGs1Am.cjs} +1 -1
  10. package/dist/{Shape-DNbJlwSU.js → Shape-kqcyauhC.js} +1 -1
  11. package/dist/{Slicer-Dts-BToH.cjs → Slicer-i_oECHxH.cjs} +1 -1
  12. package/dist/{Slicer-8Gg45iGX.js → Slicer-yaJs-izT.js} +2 -2
  13. package/dist/{Title-Ngy9HNqO.js → Title-C26I_HC3.js} +1 -1
  14. package/dist/{Title-CujodUjt.cjs → Title-XBiDFYKD.cjs} +1 -1
  15. package/dist/{Tooltip-BCtg7xYX.js → Tooltip-CH8GmDCG.js} +1 -1
  16. package/dist/{Tooltip-DsmWz8gF.cjs → Tooltip-DxtWkIt5.cjs} +1 -1
  17. package/dist/{index-Dvs5Ra-u.js → index-Cm4Iry5c.js} +1 -1
  18. package/dist/{index-sFjJ2dIj.cjs → index-DYUBiaGS.cjs} +1 -1
  19. package/dist/style.css +1 -1
  20. package/dist/{useNestedProp-UohhCyBz.js → useNestedProp-CurQIHTa.js} +1 -1
  21. package/dist/{useNestedProp-ir0jEo5M.cjs → useNestedProp-w7AMWWmz.cjs} +1 -1
  22. package/dist/{usePrinter-B8-keRMa.js → usePrinter-B8RnF8_q.js} +1 -1
  23. package/dist/{usePrinter-DSMMs1w9.cjs → usePrinter-ZlHxdaEz.cjs} +1 -1
  24. package/dist/{vue-data-ui-NvV5qa--.cjs → vue-data-ui-B7amrpT-.cjs} +1 -1
  25. package/dist/{vue-data-ui-Bgo6YUhl.js → vue-data-ui-Bj6kEIpq.js} +57 -57
  26. package/dist/vue-data-ui.cjs +1 -1
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/vue-ui-3d-bar-BAz41kL7.cjs +19 -0
  29. package/dist/{vue-ui-3d-bar-DckNIYgA.js → vue-ui-3d-bar-Bg9IgVVc.js} +499 -486
  30. package/dist/{vue-ui-accordion-RuCkf_li.cjs → vue-ui-accordion-1WxrfiCH.cjs} +1 -1
  31. package/dist/{vue-ui-accordion-C-qAry7P.js → vue-ui-accordion-Cb6XBCbu.js} +3 -3
  32. package/dist/{vue-ui-age-pyramid-CamjaXUw.js → vue-ui-age-pyramid-BhwmnQru.js} +182 -169
  33. package/dist/vue-ui-age-pyramid-CHNvRXx8.cjs +1 -0
  34. package/dist/{vue-ui-annotator-D0kYZ56C.cjs → vue-ui-annotator-B22cdlhA.cjs} +1 -1
  35. package/dist/{vue-ui-annotator-DMmdqorj.js → vue-ui-annotator-BiHQvMdW.js} +1 -1
  36. package/dist/{vue-ui-candlestick-DRi8lDTn.js → vue-ui-candlestick-Cl9dyh4l.js} +295 -279
  37. package/dist/vue-ui-candlestick-D7DjdYyw.cjs +2 -0
  38. package/dist/vue-ui-carousel-table-Do5cYRqN.cjs +1 -0
  39. package/dist/{vue-ui-carousel-table-u5OoOMr1.js → vue-ui-carousel-table-QsONwqNz.js} +106 -91
  40. package/dist/vue-ui-chestnut-CyE8MafY.cjs +6 -0
  41. package/dist/{vue-ui-chestnut-D5a4OH1D.js → vue-ui-chestnut-Drb01WMC.js} +215 -204
  42. package/dist/{vue-ui-cursor-Bp_PHbz4.js → vue-ui-cursor-BP04_XbB.js} +2 -2
  43. package/dist/{vue-ui-cursor-DpBsZNEE.cjs → vue-ui-cursor-DZeTQBKz.cjs} +1 -1
  44. package/dist/{vue-ui-dashboard-BwBYH8V_.js → vue-ui-dashboard-BWdx5gjZ.js} +2 -2
  45. package/dist/{vue-ui-dashboard--kjU0uMc.cjs → vue-ui-dashboard-Z63RE1XS.cjs} +1 -1
  46. package/dist/{vue-ui-digits-CIV9J3SW.cjs → vue-ui-digits-CBQaHW6a.cjs} +1 -1
  47. package/dist/{vue-ui-digits-t2G4B6uD.js → vue-ui-digits-DUhkLcmd.js} +2 -2
  48. package/dist/vue-ui-donut-D2YJYgOB.cjs +1 -0
  49. package/dist/{vue-ui-donut-BTug2gsP.js → vue-ui-donut-DRPSwmGr.js} +376 -362
  50. package/dist/{vue-ui-donut-evolution-DTD0Hfgh.js → vue-ui-donut-evolution-gRXAyxq8.js} +270 -255
  51. package/dist/vue-ui-donut-evolution-jAMVgNHQ.cjs +1 -0
  52. package/dist/{vue-ui-dumbbell-BZw7lntE.js → vue-ui-dumbbell-CQo5jqSK.js} +232 -213
  53. package/dist/vue-ui-dumbbell-DLfZcrXq.cjs +9 -0
  54. package/dist/vue-ui-flow-BQ3UbMUb.js +481 -0
  55. package/dist/vue-ui-flow-BlX2-eEC.cjs +1 -0
  56. package/dist/{vue-ui-galaxy-Bjlm3WtB.js → vue-ui-galaxy-BHWugUKG.js} +175 -162
  57. package/dist/vue-ui-galaxy-Cax5o6Yl.cjs +1 -0
  58. package/dist/vue-ui-gauge-DG6_kvKh.js +500 -0
  59. package/dist/vue-ui-gauge-DpGcv_00.cjs +1 -0
  60. package/dist/vue-ui-gizmo-D9Vh9Rmr.cjs +1 -0
  61. package/dist/{vue-ui-gizmo-CiutQM-A.js → vue-ui-gizmo-bV148qAf.js} +66 -53
  62. package/dist/{vue-ui-heatmap-C933pQPU.js → vue-ui-heatmap-BZZUvnMa.js} +157 -143
  63. package/dist/vue-ui-heatmap-B_ELXKKV.cjs +1 -0
  64. package/dist/vue-ui-kpi-C5v7qQvZ.js +98 -0
  65. package/dist/vue-ui-kpi-CwVAvTB2.cjs +1 -0
  66. package/dist/{vue-ui-mini-loader-B5XG2gKd.js → vue-ui-mini-loader-BdKizX_J.js} +2 -2
  67. package/dist/{vue-ui-mini-loader-C67Z1C6r.cjs → vue-ui-mini-loader-DZNY-3rr.cjs} +1 -1
  68. package/dist/{vue-ui-molecule-DzIeuL8t.js → vue-ui-molecule-MKyrhqqm.js} +177 -167
  69. package/dist/vue-ui-molecule-bva6OvPc.cjs +1 -0
  70. package/dist/{vue-ui-mood-radar-02L4M-n_.js → vue-ui-mood-radar-BNIFFvq0.js} +172 -161
  71. package/dist/vue-ui-mood-radar-CzQOAyNI.cjs +1 -0
  72. package/dist/{vue-ui-nested-donuts-BY50trfJ.js → vue-ui-nested-donuts-BDAlZrMF.js} +377 -364
  73. package/dist/vue-ui-nested-donuts-CxdZC6JF.cjs +17 -0
  74. package/dist/{vue-ui-onion-BmQ7B9xY.js → vue-ui-onion-CFa4VD-w.js} +191 -177
  75. package/dist/vue-ui-onion-Df7YcsVR.cjs +5 -0
  76. package/dist/vue-ui-parallel-coordinate-plot-D7Q2zfcR.cjs +8 -0
  77. package/dist/{vue-ui-parallel-coordinate-plot-BdfcqlfT.js → vue-ui-parallel-coordinate-plot-DmqYXT-U.js} +298 -284
  78. package/dist/{vue-ui-quadrant-CLimyRoA.js → vue-ui-quadrant-D5jHkq9g.js} +347 -334
  79. package/dist/vue-ui-quadrant-ZqhcVYf5.cjs +1 -0
  80. package/dist/{vue-ui-quick-chart-CX8Kas-o.js → vue-ui-quick-chart-BjXXSx7V.js} +483 -469
  81. package/dist/vue-ui-quick-chart-Dt9AsEU6.cjs +15 -0
  82. package/dist/vue-ui-radar-2EuZr7i2.cjs +1 -0
  83. package/dist/{vue-ui-radar-CK0PB5oY.js → vue-ui-radar-CW8EKW4o.js} +202 -189
  84. package/dist/{vue-ui-rating-Ceu3pXmF.cjs → vue-ui-rating-DrtLvVA0.cjs} +1 -1
  85. package/dist/{vue-ui-rating-BnqWN2ui.js → vue-ui-rating-eSWsmJUU.js} +2 -2
  86. package/dist/vue-ui-relation-circle-C60OTe88.cjs +1 -0
  87. package/dist/vue-ui-relation-circle-DiUCpEqa.js +322 -0
  88. package/dist/{vue-ui-rings-CYthauSM.js → vue-ui-rings-BxhLbyG0.js} +203 -189
  89. package/dist/vue-ui-rings-CHq-a5ZS.cjs +2 -0
  90. package/dist/{vue-ui-scatter-Cxr9eymz.js → vue-ui-scatter-DQchX_mM.js} +284 -270
  91. package/dist/vue-ui-scatter-DZUZUbnk.cjs +1 -0
  92. package/dist/{vue-ui-screenshot-CVWC5rbJ.js → vue-ui-screenshot-CLa9vMzM.js} +1 -1
  93. package/dist/{vue-ui-screenshot-sBd8-Oyh.cjs → vue-ui-screenshot-SLSIpqx2.cjs} +1 -1
  94. package/dist/{vue-ui-skeleton-CAvlIcgk.js → vue-ui-skeleton-C1oUnz7R.js} +2 -2
  95. package/dist/{vue-ui-skeleton-CqF0NJ4g.cjs → vue-ui-skeleton-ClpTCY1x.cjs} +1 -1
  96. package/dist/{vue-ui-smiley-CXbipVsb.js → vue-ui-smiley-CmWHSt1S.js} +2 -2
  97. package/dist/{vue-ui-smiley-c_I60YOy.cjs → vue-ui-smiley-Daw8fPDy.cjs} +1 -1
  98. package/dist/vue-ui-spark-trend-CO69Dg31.js +263 -0
  99. package/dist/vue-ui-spark-trend-DmDlv8ie.cjs +1 -0
  100. package/dist/{vue-ui-sparkbar-Dm-2_5Ef.js → vue-ui-sparkbar-BRlqpe4e.js} +95 -87
  101. package/dist/vue-ui-sparkbar-BUGdi0BY.cjs +1 -0
  102. package/dist/vue-ui-sparkgauge-CCxKzDjT.cjs +1 -0
  103. package/dist/vue-ui-sparkgauge-CbuFESsM.js +178 -0
  104. package/dist/{vue-ui-sparkhistogram-qf87TXA-.js → vue-ui-sparkhistogram-B4-hrDHz.js} +79 -68
  105. package/dist/vue-ui-sparkhistogram-XtqX10_t.cjs +1 -0
  106. package/dist/vue-ui-sparkline-BZTEi9YC.cjs +1 -0
  107. package/dist/{vue-ui-sparkline-CZBgvY1A.js → vue-ui-sparkline-DlXNmG6M.js} +142 -123
  108. package/dist/vue-ui-sparkstackbar-CDmZeXnq.cjs +1 -0
  109. package/dist/{vue-ui-sparkstackbar-GtkDZDXZ.js → vue-ui-sparkstackbar-J1YowQmP.js} +120 -104
  110. package/dist/{vue-ui-stackbar-D_Ui7xec.js → vue-ui-stackbar-CKIDqkkY.js} +235 -222
  111. package/dist/vue-ui-stackbar-CXGWukoJ.cjs +6 -0
  112. package/dist/vue-ui-strip-plot-CvmoRcYN.cjs +1 -0
  113. package/dist/{vue-ui-strip-plot--VJ3f5UV.js → vue-ui-strip-plot-JVLwIy0j.js} +246 -232
  114. package/dist/{vue-ui-table-BCQ7voEV.js → vue-ui-table-BSi_cHh7.js} +1 -1
  115. package/dist/{vue-ui-table-B_6N0VOD.cjs → vue-ui-table-Dqi64VE7.cjs} +1 -1
  116. package/dist/vue-ui-table-heatmap-BwghEh5t.cjs +1 -0
  117. package/dist/{vue-ui-table-heatmap-UwpQQMHB.js → vue-ui-table-heatmap-CfvW3rcm.js} +106 -95
  118. package/dist/{vue-ui-table-sparkline-Bzqs2Hcp.js → vue-ui-table-sparkline-Y6Lrrzxy.js} +151 -138
  119. package/dist/vue-ui-table-sparkline-bIy3kkHB.cjs +1 -0
  120. package/dist/{vue-ui-thermometer-BQbYzsSV.js → vue-ui-thermometer-BPTs7Nxc.js} +116 -104
  121. package/dist/vue-ui-thermometer-DDtxYr7w.cjs +1 -0
  122. package/dist/{vue-ui-timer-KGEswANF.js → vue-ui-timer-CkB7eZaE.js} +191 -176
  123. package/dist/vue-ui-timer-DRSSYxOX.cjs +64 -0
  124. package/dist/{vue-ui-tiremarks-BSkMCIu1.js → vue-ui-tiremarks-BbOaoY8S.js} +115 -103
  125. package/dist/vue-ui-tiremarks-Bttwg3-p.cjs +1 -0
  126. package/dist/vue-ui-treemap-Chq0WQPe.cjs +1 -0
  127. package/dist/{vue-ui-treemap-DIWveOrq.js → vue-ui-treemap-CoaK3wBl.js} +251 -237
  128. package/dist/{vue-ui-vertical-bar-Dx6wReOw.js → vue-ui-vertical-bar-BA43_uHV.js} +374 -358
  129. package/dist/vue-ui-vertical-bar-BLIUt-HT.cjs +4 -0
  130. package/dist/{vue-ui-waffle-D3jMPOd3.js → vue-ui-waffle-BoEf8CcG.js} +285 -265
  131. package/dist/vue-ui-waffle-NBjY0mko.cjs +1 -0
  132. package/dist/vue-ui-wheel-Bgo2jpj0.js +255 -0
  133. package/dist/vue-ui-wheel-t5bI4a-P.cjs +1 -0
  134. package/dist/vue-ui-word-cloud-DPW_-Hzz.cjs +1 -0
  135. package/dist/vue-ui-word-cloud-Jd9_JUyi.js +512 -0
  136. package/dist/{vue-ui-xy-9_2IHEOX.js → vue-ui-xy-BMBYAC4z.js} +300 -274
  137. package/dist/vue-ui-xy-CBHEBcZK.cjs +3 -0
  138. package/dist/vue-ui-xy-canvas-D5FqRF4p.cjs +9 -0
  139. package/dist/{vue-ui-xy-canvas-DGuGy69l.js → vue-ui-xy-canvas-LOsQ_DM-.js} +345 -327
  140. package/package.json +1 -1
  141. package/dist/vue-ui-3d-bar-DhzN0gd4.cjs +0 -19
  142. package/dist/vue-ui-age-pyramid-CfUUEeKt.cjs +0 -1
  143. package/dist/vue-ui-candlestick-DJIJnnI_.cjs +0 -2
  144. package/dist/vue-ui-carousel-table-uYt1zVjx.cjs +0 -1
  145. package/dist/vue-ui-chestnut-CG5krVO-.cjs +0 -6
  146. package/dist/vue-ui-donut-D6SrEIEJ.cjs +0 -1
  147. package/dist/vue-ui-donut-evolution-Cb45erSA.cjs +0 -1
  148. package/dist/vue-ui-dumbbell-DVabaAYH.cjs +0 -9
  149. package/dist/vue-ui-flow-Bn1EP9Z1.cjs +0 -1
  150. package/dist/vue-ui-flow-Cz_xaLAs.js +0 -469
  151. package/dist/vue-ui-galaxy-Drnhlmmw.cjs +0 -1
  152. package/dist/vue-ui-gauge-CxIVYnG2.js +0 -488
  153. package/dist/vue-ui-gauge-D2reVZ-b.cjs +0 -1
  154. package/dist/vue-ui-gizmo-B6ZwXwFY.cjs +0 -1
  155. package/dist/vue-ui-heatmap-ClFm7qUu.cjs +0 -1
  156. package/dist/vue-ui-kpi-CdPFWSHA.cjs +0 -1
  157. package/dist/vue-ui-kpi-ClreiT4V.js +0 -84
  158. package/dist/vue-ui-molecule-JJQ3af-R.cjs +0 -1
  159. package/dist/vue-ui-mood-radar-DT4JU_6B.cjs +0 -1
  160. package/dist/vue-ui-nested-donuts-D6Dihmne.cjs +0 -17
  161. package/dist/vue-ui-onion-DoNDCpth.cjs +0 -5
  162. package/dist/vue-ui-parallel-coordinate-plot-CJMjEDXR.cjs +0 -8
  163. package/dist/vue-ui-quadrant-DWqmU3-5.cjs +0 -1
  164. package/dist/vue-ui-quick-chart-CB5VelG0.cjs +0 -15
  165. package/dist/vue-ui-radar-aTceo-HQ.cjs +0 -1
  166. package/dist/vue-ui-relation-circle-D1z8MBVH.js +0 -310
  167. package/dist/vue-ui-relation-circle-DWGtziD_.cjs +0 -1
  168. package/dist/vue-ui-rings-gp0sEMy6.cjs +0 -2
  169. package/dist/vue-ui-scatter-BKl2fUIR.cjs +0 -1
  170. package/dist/vue-ui-spark-trend-C3sBXu8D.js +0 -251
  171. package/dist/vue-ui-spark-trend-CXkkMK6N.cjs +0 -1
  172. package/dist/vue-ui-sparkbar-BkN5iTUq.cjs +0 -1
  173. package/dist/vue-ui-sparkgauge-D4EqU3x3.cjs +0 -1
  174. package/dist/vue-ui-sparkgauge-FKTXvE7e.js +0 -167
  175. package/dist/vue-ui-sparkhistogram-BkJz2dBD.cjs +0 -1
  176. package/dist/vue-ui-sparkline-TPkuvKtA.cjs +0 -1
  177. package/dist/vue-ui-sparkstackbar-CzzfnPDS.cjs +0 -1
  178. package/dist/vue-ui-stackbar-NHgsl2-Z.cjs +0 -6
  179. package/dist/vue-ui-strip-plot-CU6OtKt7.cjs +0 -1
  180. package/dist/vue-ui-table-heatmap-DFMF1RZ0.cjs +0 -1
  181. package/dist/vue-ui-table-sparkline-DWvOKdPb.cjs +0 -1
  182. package/dist/vue-ui-thermometer-BOuuVWuf.cjs +0 -1
  183. package/dist/vue-ui-timer-BCiMjXdm.cjs +0 -64
  184. package/dist/vue-ui-tiremarks-DuEz8cO5.cjs +0 -1
  185. package/dist/vue-ui-treemap-BO8gKQ4O.cjs +0 -1
  186. package/dist/vue-ui-vertical-bar-Dpzyha_P.cjs +0 -4
  187. package/dist/vue-ui-waffle-C0-IVDjk.cjs +0 -1
  188. package/dist/vue-ui-wheel-B10kCoLD.js +0 -242
  189. package/dist/vue-ui-wheel-mWdIHlXV.cjs +0 -1
  190. package/dist/vue-ui-word-cloud-CYtRxpdV.cjs +0 -1
  191. package/dist/vue-ui-word-cloud-rhrsHes4.js +0 -498
  192. package/dist/vue-ui-xy-CFqs5rtd.cjs +0 -3
  193. package/dist/vue-ui-xy-canvas-sLH0pM-i.cjs +0 -9
@@ -1,19 +1,19 @@
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 L, normalizeStyle as z, createVNode as j, createCommentVNode as b, createBlock as Y, unref as v, createSlots as Me, withCtx as h, renderSlot as g, normalizeProps as B, guardReactiveProps as V, Fragment as M, renderList as F, createElementVNode as C, toDisplayString as T, createTextVNode as Fe, nextTick as Se } 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 Ye, X as Be, f as S, i as J, x as ce, q as Ve, r as Xe, y as Ge } from "./index-Dvs5Ra-u.js";
3
- import { t as Ue, u as Ee } from "./useResponsive-NZB-WLRF.js";
4
- import { _ as He } from "./Title-Ngy9HNqO.js";
5
- import { u as We, U as je } from "./usePrinter-B8-keRMa.js";
6
- import { L as qe } from "./Legend-CHd5QFPM.js";
7
- import { D as Je } from "./DataTable-BOdJVZzF.js";
8
- import { _ as Ke } from "./Tooltip-BCtg7xYX.js";
9
- import Qe from "./vue-ui-skeleton-CAvlIcgk.js";
10
- import Ze from "./vue-ui-accordion-C-qAry7P.js";
11
- import { u as de } from "./useNestedProp-UohhCyBz.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 = {
1
+ import { computed as d, ref as u, watch as he, onMounted as Fe, onBeforeUnmount as Ne, openBlock as s, createElementBlock as n, normalizeClass as z, normalizeStyle as Y, createBlock as x, createCommentVNode as b, unref as v, createSlots as Re, withCtx as h, renderSlot as g, normalizeProps as B, guardReactiveProps as V, Fragment as M, renderList as F, createElementVNode as T, toDisplayString as _, createVNode as Ae, createTextVNode as De, nextTick as Le } from "vue";
2
+ import { u as ze, c as Ye, t as Be, a as Ve, p as fe, b as Xe, o as Ge, e as j, d as Ue, X as Ee, f as N, i as q, x as ge, q as He, r as We, y as je } from "./index-Cm4Iry5c.js";
3
+ import { t as qe, u as Je } from "./useResponsive-NZB-WLRF.js";
4
+ import { _ as Ke } from "./Title-C26I_HC3.js";
5
+ import { u as Qe, U as Ze } from "./usePrinter-B8RnF8_q.js";
6
+ import { L as et } from "./Legend-DX1kv21U.js";
7
+ import { D as tt } from "./DataTable-CQANRZju.js";
8
+ import { _ as at } from "./Tooltip-CH8GmDCG.js";
9
+ import lt from "./vue-ui-skeleton-C1oUnz7R.js";
10
+ import ot from "./vue-ui-accordion-Cb6XBCbu.js";
11
+ import { u as pe } from "./useNestedProp-CurQIHTa.js";
12
+ import { _ as rt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
+ const st = ["id"], ut = ["xmlns", "viewBox"], nt = ["cx", "cy", "r", "stroke", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], it = ["cx", "cy", "r", "stroke", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], ct = ["id"], dt = ["stdDeviation"], vt = ["filter"], ht = ["cx", "cy", "r", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], ft = ["cx", "cy", "r", "stroke-width", "stroke-dasharray", "stroke-dashoffset", "onMouseenter"], gt = { key: 1 }, pt = ["onMouseenter"], yt = ["x", "y", "font-size", "fill", "font-weight"], mt = {
14
14
  key: 3,
15
15
  class: "vue-data-ui-watermark"
16
- }, ft = ["onClick"], gt = ["innerHTML"], pt = {
16
+ }, bt = ["onClick"], kt = ["innerHTML"], $t = {
17
17
  __name: "vue-ui-onion",
18
18
  props: {
19
19
  config: {
@@ -30,23 +30,31 @@ const tt = ["id"], at = ["xmlns", "viewBox"], lt = ["cx", "cy", "r", "stroke", "
30
30
  }
31
31
  },
32
32
  emits: ["selectLegend"],
33
- setup(ve, { expose: he, emit: fe }) {
34
- const w = ve, { vue_ui_onion: ge } = Ne(), N = d(() => !!w.dataset && w.dataset.length), x = u(Re()), pe = u(null), K = u(0), R = u(!1), X = u(""), p = u([]), _ = u(null), Q = u(null), Z = u(null), e = d(() => {
35
- const a = de({
36
- userConfig: w.config,
37
- defaultConfig: ge
33
+ setup(ye, { expose: me, emit: be }) {
34
+ const k = ye, { vue_ui_onion: ke } = ze(), R = d(() => !!k.dataset && k.dataset.length), C = u(Ye()), $e = u(null), J = u(0), A = u(!1), X = u(""), p = u([]), P = u(null), K = u(null), Q = u(null), Z = u(0), ee = u(0), te = u(0), e = d({
35
+ get: () => ae(),
36
+ set: (a) => a
37
+ });
38
+ function ae() {
39
+ const a = pe({
40
+ userConfig: k.config,
41
+ defaultConfig: ke
38
42
  });
39
43
  return a.theme ? {
40
- ...de({
41
- userConfig: Ae.vue_ui_onion[a.theme] || w.config,
44
+ ...pe({
45
+ userConfig: Be.vue_ui_onion[a.theme] || k.config,
42
46
  defaultConfig: a
43
47
  }),
44
- customPalette: De[a.theme] || ie
48
+ customPalette: Ve[a.theme] || fe
45
49
  } : a;
46
- }), { isPrinting: ee, isImaging: te, generatePdf: ae, generateImage: le } = We({
47
- elementId: `vue-ui-onion_${x.value}`,
50
+ }
51
+ he(() => k.config, (a) => {
52
+ e.value = ae(), ue(), Z.value += 1, ee.value += 1, te.value += 1;
53
+ }, { deep: !0 });
54
+ const { isPrinting: le, isImaging: oe, generatePdf: re, generateImage: se } = Qe({
55
+ elementId: `vue-ui-onion_${C.value}`,
48
56
  fileName: e.value.style.chart.title.text || "vue-ui-onion"
49
- }), ye = d(() => Le(e.value.customPalette)), k = u({
57
+ }), we = d(() => Xe(e.value.customPalette)), $ = u({
50
58
  showTable: e.value.table.show,
51
59
  showTooltip: e.value.style.chart.tooltip.show
52
60
  }), r = u({
@@ -59,24 +67,28 @@ const tt = ["id"], at = ["xmlns", "viewBox"], lt = ["cx", "cy", "r", "stroke", "
59
67
  bottom: 64
60
68
  },
61
69
  minRadius: 64
62
- }), A = u(null);
63
- Pe(() => {
64
- if (ze(w.dataset) && q({
70
+ }), D = u(null);
71
+ Fe(() => {
72
+ ue();
73
+ });
74
+ function ue() {
75
+ if (Ge(k.dataset) && j({
65
76
  componentName: "VueUiOnion",
66
77
  type: "dataset"
67
78
  }), e.value.responsive) {
68
- const o = Ue(() => {
69
- const { width: t, height: l } = Ee({
70
- chart: _.value,
71
- title: e.value.style.chart.title.text ? Q.value : null,
72
- legend: e.value.style.chart.legend.show ? Z.value : null
79
+ const o = qe(() => {
80
+ const { width: t, height: l } = Je({
81
+ chart: P.value,
82
+ title: e.value.style.chart.title.text ? K.value : null,
83
+ legend: e.value.style.chart.legend.show ? Q.value : null
73
84
  });
74
85
  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
86
  });
76
- A.value = new ResizeObserver(o), A.value.observe(_.value.parentNode);
87
+ D.value = new ResizeObserver(o), D.value.observe(P.value.parentNode);
77
88
  }
78
- }), Oe(() => {
79
- A.value && A.value.disconnect();
89
+ }
90
+ Ne(() => {
91
+ D.value && D.value.disconnect();
80
92
  });
81
93
  const i = d(() => ({
82
94
  top: r.value.padding.top,
@@ -89,81 +101,81 @@ const tt = ["id"], at = ["xmlns", "viewBox"], lt = ["cx", "cy", "r", "stroke", "
89
101
  height: r.value.height - r.value.padding.bottom - r.value.padding.top,
90
102
  minRadius: r.value.minRadius,
91
103
  maxRadius: Math.min(r.value.width, r.value.height) - r.value.padding.top * 2
92
- })), c = d(() => (w.dataset.forEach((a, o) => {
93
- [null, void 0].includes(a.name) && q({
104
+ })), c = d(() => (k.dataset.forEach((a, o) => {
105
+ [null, void 0].includes(a.name) && j({
94
106
  componentName: "VueUiOnion",
95
107
  type: "datasetSerieAttribute",
96
108
  property: "name",
97
109
  index: o
98
- }), [void 0].includes(a.percentage) && q({
110
+ }), [void 0].includes(a.percentage) && j({
99
111
  componentName: "VueUiOnion",
100
112
  type: "datasetSerieAttribute",
101
113
  property: "percentage",
102
114
  index: o
103
115
  });
104
- }), w.dataset.map((a, o) => {
105
- const t = `onion_serie_${o}_${x.value}`;
116
+ }), k.dataset.map((a, o) => {
117
+ const t = `onion_serie_${o}_${C.value}`;
106
118
  return {
107
119
  ...a,
108
120
  percentage: a.percentage || 0,
109
121
  targetPercentage: a.percentage || 0,
110
- color: Ye(a.color) || ye.value[o] || ie[o],
122
+ color: Ue(a.color) || we.value[o] || fe[o],
111
123
  id: t,
112
124
  shape: "circle",
113
125
  opacity: p.value.includes(t) ? 0.5 : 1,
114
126
  absoluteIndex: o,
115
- segregate: () => oe(t),
127
+ segregate: () => ne(t),
116
128
  isSegregated: p.value.includes(t)
117
129
  };
118
- }))), P = u(c.value), me = d(() => e.value.useStartAnimation), be = u(null), ke = d(() => Math.max(...c.value.map((a) => a.percentage))), G = u(!1);
119
- Ie(() => c.value, we, { immediate: !0 });
120
- function we() {
121
- if (me.value && !G.value) {
130
+ }))), O = u(c.value), Ce = d(() => e.value.useStartAnimation), xe = u(null), Te = d(() => Math.max(...c.value.map((a) => a.percentage))), G = u(!1);
131
+ he(() => c.value, _e, { immediate: !0 });
132
+ function _e() {
133
+ if (Ce.value && !G.value) {
122
134
  let o = function() {
123
- a >= ke.value ? (cancelAnimationFrame(be.value), P.value = c.value, G.value = !0) : (P.value = c.value.map((t) => ({
135
+ a >= Te.value ? (cancelAnimationFrame(xe.value), O.value = c.value, G.value = !0) : (O.value = c.value.map((t) => ({
124
136
  ...t,
125
137
  percentage: a < t.targetPercentage ? a : t.targetPercentage
126
138
  })), a += 1, requestAnimationFrame(o), G.value = !0);
127
139
  };
128
- P.value = c.value.map((t) => ({
140
+ O.value = c.value.map((t) => ({
129
141
  ...t,
130
142
  percentage: 0
131
143
  }));
132
144
  let a = 0;
133
145
  o();
134
146
  } else
135
- P.value = c.value;
147
+ O.value = c.value;
136
148
  }
137
- const $e = d(() => ({
149
+ const Pe = d(() => ({
138
150
  cy: "onion-div-legend",
139
151
  backgroundColor: e.value.style.chart.legend.backgroundColor,
140
152
  color: e.value.style.chart.legend.color,
141
153
  fontSize: e.value.style.chart.legend.fontSize,
142
154
  paddingBottom: 12,
143
155
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
144
- })), xe = d(() => c.value.filter((a) => !p.value.includes(a.id)).length), $ = d(() => {
156
+ })), Oe = d(() => c.value.filter((a) => !p.value.includes(a.id)).length), w = d(() => {
145
157
  const a = Math.min(i.value.width, i.value.height) / 2 / c.value.length;
146
158
  return {
147
159
  gutter: (a > e.value.style.chart.layout.maxThickness ? e.value.style.chart.layout.maxThickness : a) * e.value.style.chart.layout.gutter.width,
148
160
  track: (a > e.value.style.chart.layout.maxThickness ? e.value.style.chart.layout.maxThickness : a) * e.value.style.chart.layout.track.width
149
161
  };
150
- }), y = d(() => P.value.filter((a) => !p.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;
162
+ }), y = d(() => O.value.filter((a) => !p.value.includes(a.id)).map((a, o) => {
163
+ const t = (i.value.maxRadius - w.value.track) / Oe.value / 2 * (1 + o), l = i.value.centerY - t;
152
164
  return {
153
165
  percentage: a.percentage || 0,
154
166
  ...a,
155
167
  labelY: l,
156
168
  radius: t,
157
- path: Ce(t, a.percentage || 0)
169
+ path: Ie(t, a.percentage || 0)
158
170
  };
159
171
  }));
160
- function Ce(a, o) {
161
- const t = 2 * Math.PI * a, l = t * 0.75, f = `${l} ${t}`, I = l * (1 - o / 100);
172
+ function Ie(a, o) {
173
+ const t = 2 * Math.PI * a, l = t * 0.75, f = `${l} ${t}`, S = l * (1 - o / 100);
162
174
  return {
163
175
  bgDashArray: `${l} ${t}`,
164
176
  bgDashOffset: 0,
165
177
  dashArray: f,
166
- dashOffset: I,
178
+ dashOffset: S,
167
179
  fullOffset: 0,
168
180
  active: `
169
181
  M ${i.value.centerX},${i.value.centerY - a}
@@ -172,10 +184,10 @@ const tt = ["id"], at = ["xmlns", "viewBox"], lt = ["cx", "cy", "r", "stroke", "
172
184
  `.trim()
173
185
  };
174
186
  }
175
- function oe(a) {
176
- p.value.includes(a) ? p.value = p.value.filter((o) => o !== a) : p.value.push(a), fe("selectLegend", y.value);
187
+ function ne(a) {
188
+ p.value.includes(a) ? p.value = p.value.filter((o) => o !== a) : p.value.push(a), be("selectLegend", y.value);
177
189
  }
178
- function Te() {
190
+ function Se() {
179
191
  return y.value;
180
192
  }
181
193
  const U = d(() => {
@@ -185,7 +197,7 @@ const tt = ["id"], at = ["xmlns", "viewBox"], lt = ["cx", "cy", "r", "stroke", "
185
197
  t.value
186
198
  ]);
187
199
  return { head: a, body: o };
188
- }), D = d(() => {
200
+ }), L = d(() => {
189
201
  const a = U.value.head, o = y.value.map((l) => [
190
202
  `<span style="color:${l.color}">⬤</span> ${l.name}`,
191
203
  `${Number(l.percentage ?? 0).toFixed(e.value.table.td.roundingPercentage).toLocaleString()}%`,
@@ -205,34 +217,34 @@ const tt = ["id"], at = ["xmlns", "viewBox"], lt = ["cx", "cy", "r", "stroke", "
205
217
  };
206
218
  return { head: a, body: o, config: t, colNames: a };
207
219
  });
208
- function re() {
209
- Se(() => {
210
- const a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], o = U.value.head, t = U.value.body, l = a.concat([o]).concat(t), f = Ve(l);
211
- Xe({ csvContent: f, title: e.value.style.chart.title.text || "vue-ui-onion" });
220
+ function ie() {
221
+ Le(() => {
222
+ const a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], o = U.value.head, t = U.value.body, l = a.concat([o]).concat(t), f = He(l);
223
+ We({ csvContent: f, title: e.value.style.chart.title.text || "vue-ui-onion" });
212
224
  });
213
225
  }
214
- const m = u(void 0), O = u(!1);
215
- function _e(a) {
216
- O.value = a, K.value += 1;
226
+ const m = u(void 0), I = u(!1);
227
+ function Me(a) {
228
+ I.value = a, J.value += 1;
217
229
  }
218
230
  const E = u(null);
219
- function se({ datapoint: a, seriesIndex: o, show: t = !0 }) {
231
+ function ce({ datapoint: a, seriesIndex: o, show: t = !0 }) {
220
232
  const l = a.absoluteIndex;
221
233
  m.value = o, E.value = {
222
234
  datapoint: a,
223
235
  seriesIndex: l,
224
236
  series: c.value,
225
237
  config: e.value
226
- }, R.value = t;
238
+ }, A.value = t;
227
239
  let f = "";
228
- const I = e.value.style.chart.tooltip.customFormat;
229
- if (ce(I) && Ge(() => I({
240
+ const S = e.value.style.chart.tooltip.customFormat;
241
+ if (ge(S) && je(() => S({
230
242
  seriesIndex: l,
231
243
  datapoint: a,
232
244
  series: c.value,
233
245
  config: e.value
234
246
  })))
235
- X.value = I({
247
+ X.value = S({
236
248
  seriesIndex: l,
237
249
  datapoint: a,
238
250
  series: c.value,
@@ -240,10 +252,10 @@ const tt = ["id"], at = ["xmlns", "viewBox"], lt = ["cx", "cy", "r", "stroke", "
240
252
  });
241
253
  else {
242
254
  const H = e.value.style.chart.tooltip.showPercentage, W = e.value.style.chart.tooltip.showValue;
243
- f += `<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>`, f += `<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(
255
+ f += `<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>`, f += `<div style="width:100%;text-align:left;"><b>${H ? N({ p: "", v: a.percentage, s: "%", r: e.value.style.chart.tooltip.roundingPercentage }) : ""}</b> ${H && W ? "(" : ""}${W ? q(
244
256
  e.value.style.chart.layout.labels.value.formatter,
245
257
  a.value,
246
- S({
258
+ N({
247
259
  p: a.prefix || "",
248
260
  v: a.value,
249
261
  s: a.suffix || "",
@@ -253,33 +265,34 @@ const tt = ["id"], at = ["xmlns", "viewBox"], lt = ["cx", "cy", "r", "stroke", "
253
265
  ) : ""}${H && W ? ")" : ""}</div>`, X.value = `<div>${f}</div>`;
254
266
  }
255
267
  }
256
- function ue() {
257
- k.value.showTable = !k.value.showTable;
268
+ function de() {
269
+ $.value.showTable = !$.value.showTable;
258
270
  }
259
- function ne() {
260
- k.value.showTooltip = !k.value.showTooltip;
271
+ function ve() {
272
+ $.value.showTooltip = !$.value.showTooltip;
261
273
  }
262
- return he({
263
- getData: Te,
264
- generatePdf: ae,
265
- generateCsv: re,
266
- generateImage: le,
267
- toggleTable: ue,
268
- toggleTooltip: ne
274
+ return me({
275
+ getData: Se,
276
+ generatePdf: re,
277
+ generateCsv: ie,
278
+ generateImage: se,
279
+ toggleTable: de,
280
+ toggleTooltip: ve
269
281
  }), (a, o) => (s(), n("div", {
270
- class: L(`vue-ui-onion ${O.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
282
+ class: z(`vue-ui-onion ${I.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
271
283
  ref_key: "onionChart",
272
- ref: _,
273
- id: `vue-ui-onion_${x.value}`,
274
- style: z(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height: 100%;" : ""} text-align:center;background:${e.value.style.chart.backgroundColor}`)
284
+ ref: P,
285
+ id: `vue-ui-onion_${C.value}`,
286
+ style: Y(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height: 100%;" : ""} text-align:center;background:${e.value.style.chart.backgroundColor}`)
275
287
  }, [
276
288
  e.value.style.chart.title.text ? (s(), n("div", {
277
289
  key: 0,
278
290
  ref_key: "chartTitle",
279
- ref: Q,
280
- style: z(`width:100%;background:${e.value.style.chart.backgroundColor}`)
291
+ ref: K,
292
+ style: Y(`width:100%;background:${e.value.style.chart.backgroundColor}`)
281
293
  }, [
282
- j(He, {
294
+ (s(), x(Ke, {
295
+ key: `title_${Z.value}`,
283
296
  config: {
284
297
  title: {
285
298
  cy: "onion-div-title",
@@ -290,34 +303,34 @@ const tt = ["id"], at = ["xmlns", "viewBox"], lt = ["cx", "cy", "r", "stroke", "
290
303
  ...e.value.style.chart.title.subtitle
291
304
  }
292
305
  }
293
- }, null, 8, ["config"])
306
+ }, null, 8, ["config"]))
294
307
  ], 4)) : b("", !0),
295
- e.value.userOptions.show && N.value ? (s(), Y(je, {
308
+ e.value.userOptions.show && R.value ? (s(), x(Ze, {
296
309
  ref_key: "details",
297
- ref: pe,
298
- key: `user_options${K.value}`,
310
+ ref: $e,
311
+ key: `user_options${J.value}`,
299
312
  backgroundColor: e.value.style.chart.backgroundColor,
300
313
  color: e.value.style.chart.color,
301
- isImaging: v(te),
302
- isPrinting: v(ee),
303
- uid: x.value,
314
+ isImaging: v(oe),
315
+ isPrinting: v(le),
316
+ uid: C.value,
304
317
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
305
318
  hasPdf: e.value.userOptions.buttons.pdf,
306
319
  hasImg: e.value.userOptions.buttons.img,
307
320
  hasXls: e.value.userOptions.buttons.csv,
308
321
  hasTable: e.value.userOptions.buttons.table,
309
322
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
310
- isFullscreen: O.value,
311
- isTooltip: k.value.showTooltip,
323
+ isFullscreen: I.value,
324
+ isTooltip: $.value.showTooltip,
312
325
  titles: { ...e.value.userOptions.buttonTitles },
313
- chartElement: _.value,
314
- onToggleFullscreen: _e,
315
- onGeneratePdf: v(ae),
316
- onGenerateCsv: re,
317
- onGenerateImage: v(le),
318
- onToggleTable: ue,
319
- onToggleTooltip: ne
320
- }, Me({ _: 2 }, [
326
+ chartElement: P.value,
327
+ onToggleFullscreen: Me,
328
+ onGeneratePdf: v(re),
329
+ onGenerateCsv: ie,
330
+ onGenerateImage: v(se),
331
+ onToggleTable: de,
332
+ onToggleTooltip: ve
333
+ }, Re({ _: 2 }, [
321
334
  a.$slots.optionTooltip ? {
322
335
  name: "optionTooltip",
323
336
  fn: h(() => [
@@ -361,144 +374,144 @@ const tt = ["id"], at = ["xmlns", "viewBox"], lt = ["cx", "cy", "r", "stroke", "
361
374
  key: "5"
362
375
  } : void 0
363
376
  ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) : b("", !0),
364
- N.value ? (s(), n("svg", {
377
+ R.value ? (s(), n("svg", {
365
378
  key: 2,
366
- xmlns: v(Be),
367
- class: L({ "vue-data-ui-fullscreen--on": O.value, "vue-data-ui-fulscreen--off": !O.value }),
379
+ xmlns: v(Ee),
380
+ class: z({ "vue-data-ui-fullscreen--on": I.value, "vue-data-ui-fulscreen--off": !I.value }),
368
381
  viewBox: `0 0 ${r.value.width <= 0 ? 1e-4 : r.value.width} ${r.value.height <= 0 ? 1e-4 : r.value.height}`,
369
- style: z(`max-width:100%;overflow:visible;background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color}`)
382
+ style: Y(`max-width:100%;overflow:visible;background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color}`)
370
383
  }, [
371
384
  (s(!0), n(M, null, F(y.value, (t, l) => (s(), n("circle", {
372
385
  cx: i.value.centerX,
373
386
  cy: i.value.centerY,
374
387
  r: t.radius <= 0 ? 1e-4 : t.radius,
375
388
  stroke: e.value.style.chart.layout.gutter.color,
376
- "stroke-width": $.value.gutter,
389
+ "stroke-width": w.value.gutter,
377
390
  fill: "none",
378
391
  "stroke-dasharray": t.path.bgDashArray,
379
392
  "stroke-dashoffset": t.path.fullOffset,
380
393
  "stroke-linecap": "round",
381
- class: L({ "vue-ui-onion-path": !0, "vue-ui-onion-blur": e.value.useBlurOnHover && ![null, void 0].includes(m.value) && m.value !== l }),
394
+ class: z({ "vue-ui-onion-path": !0, "vue-ui-onion-blur": e.value.useBlurOnHover && ![null, void 0].includes(m.value) && m.value !== l }),
382
395
  style: { transform: "rotate(-90deg)", "transform-origin": "50% 50%" }
383
- }, null, 10, lt))), 256)),
396
+ }, null, 10, nt))), 256)),
384
397
  (s(!0), n(M, null, F(y.value, (t, l) => (s(), n("circle", {
385
398
  cx: i.value.centerX,
386
399
  cy: i.value.centerY,
387
400
  r: t.radius < 0 ? 1e-4 : t.radius,
388
401
  stroke: `${t.color}`,
389
- "stroke-width": $.value.track,
402
+ "stroke-width": w.value.track,
390
403
  fill: "none",
391
404
  "stroke-dasharray": t.path.dashArray,
392
405
  "stroke-dashoffset": t.path.dashOffset,
393
- class: L({ "vue-ui-onion-path": !0, "vue-ui-onion-blur": e.value.useBlurOnHover && ![null, void 0].includes(m.value) && m.value !== l }),
406
+ class: z({ "vue-ui-onion-path": !0, "vue-ui-onion-blur": e.value.useBlurOnHover && ![null, void 0].includes(m.value) && m.value !== l }),
394
407
  "stroke-linecap": "round",
395
408
  style: { transform: "rotate(-90deg)", "transform-origin": "50% 50%" }
396
- }, null, 10, ot))), 256)),
397
- C("defs", null, [
398
- C("filter", {
399
- id: `blur_${x.value}`,
409
+ }, null, 10, it))), 256)),
410
+ T("defs", null, [
411
+ T("filter", {
412
+ id: `blur_${C.value}`,
400
413
  x: "-50%",
401
414
  y: "-50%",
402
415
  width: "200%",
403
416
  height: "200%"
404
417
  }, [
405
- C("feGaussianBlur", {
418
+ T("feGaussianBlur", {
406
419
  in: "SourceGraphic",
407
420
  stdDeviation: 100 / e.value.style.chart.gradientIntensity
408
- }, null, 8, st)
409
- ], 8, rt)
421
+ }, null, 8, dt)
422
+ ], 8, ct)
410
423
  ]),
411
424
  e.value.style.chart.useGradient ? (s(), n("g", {
412
425
  key: 0,
413
- filter: `url(#blur_${x.value})`
426
+ filter: `url(#blur_${C.value})`
414
427
  }, [
415
428
  (s(!0), n(M, null, F(y.value, (t, l) => (s(), n("circle", {
416
429
  cx: i.value.centerX,
417
430
  cy: i.value.centerY,
418
431
  r: t.radius <= 0 ? 1e-4 : t.radius,
419
432
  stroke: "white",
420
- "stroke-width": $.value.track / 3,
433
+ "stroke-width": w.value.track / 3,
421
434
  fill: "none",
422
435
  "stroke-linecap": "round",
423
436
  "stroke-dasharray": t.path.dashArray,
424
437
  "stroke-dashoffset": t.path.dashOffset,
425
438
  style: { transform: "rotate(-90deg)", "transform-origin": "50% 50%" }
426
- }, null, 8, nt))), 256))
427
- ], 8, ut)) : b("", !0),
439
+ }, null, 8, ht))), 256))
440
+ ], 8, vt)) : b("", !0),
428
441
  (s(!0), n(M, null, F(y.value, (t, l) => (s(), n("circle", {
429
442
  "data-cy-trap": "",
430
443
  cx: i.value.centerX,
431
444
  cy: i.value.centerY,
432
445
  r: t.radius <= 0 ? 1e-4 : t.radius,
433
446
  stroke: "transparent",
434
- "stroke-width": Math.max($.value.track, $.value.gutter),
447
+ "stroke-width": Math.max(w.value.track, w.value.gutter),
435
448
  fill: "none",
436
449
  "stroke-dasharray": t.path.bgDashArray,
437
450
  "stroke-dashoffset": t.path.fullOffset,
438
451
  "stroke-linecap": "round",
439
452
  class: "vue-ui-onion-path",
440
453
  style: { transform: "rotate(-90deg)", "transform-origin": "50% 50%" },
441
- onMouseenter: (f) => se({
454
+ onMouseenter: (f) => ce({
442
455
  datapoint: t,
443
456
  show: !0,
444
457
  seriesIndex: l
445
458
  }),
446
459
  onMouseleave: o[0] || (o[0] = (f) => {
447
- m.value = void 0, R.value = !1;
460
+ m.value = void 0, A.value = !1;
448
461
  })
449
- }, null, 40, it))), 256)),
450
- e.value.style.chart.layout.labels.show ? (s(), n("g", ct, [
462
+ }, null, 40, ft))), 256)),
463
+ e.value.style.chart.layout.labels.show ? (s(), n("g", gt, [
451
464
  (s(!0), n(M, null, F(y.value, (t, l) => (s(), n("g", {
452
- onMouseenter: (f) => se({
465
+ onMouseenter: (f) => ce({
453
466
  datapoint: t,
454
467
  show: !0,
455
468
  seriesIndex: l
456
469
  }),
457
470
  onMouseleave: o[1] || (o[1] = (f) => {
458
- m.value = void 0, R.value = !1;
471
+ m.value = void 0, A.value = !1;
459
472
  })
460
473
  }, [
461
474
  p.value.includes(t.id) ? b("", !0) : (s(), n("text", {
462
475
  key: 0,
463
- x: r.value.width / 2 - $.value.gutter * 0.8 + e.value.style.chart.layout.labels.offsetX,
476
+ x: r.value.width / 2 - w.value.gutter * 0.8 + e.value.style.chart.layout.labels.offsetX,
464
477
  y: t.labelY + e.value.style.chart.layout.labels.offsetY,
465
478
  "text-anchor": "end",
466
479
  "font-size": e.value.style.chart.layout.labels.fontSize,
467
480
  fill: e.value.useBlurOnHover && ![null, void 0].includes(m.value) && m.value === l ? t.color : e.value.style.chart.layout.labels.color,
468
481
  "font-weight": e.value.style.chart.layout.labels.bold ? "bold" : "normal"
469
- }, T(t.name ? t.name + ": " : "") + " " + T(e.value.style.chart.layout.labels.percentage.show ? v(S)({
482
+ }, _(t.name ? t.name + ": " : "") + " " + _(e.value.style.chart.layout.labels.percentage.show ? v(N)({
470
483
  v: t.percentage,
471
484
  s: "%",
472
485
  r: e.value.style.chart.layout.labels.roundingPercentage
473
- }) : "") + " " + T(!e.value.style.chart.layout.labels.percentage.show && e.value.style.chart.layout.labels.value.show ? `: ${v(J)(
486
+ }) : "") + " " + _(!e.value.style.chart.layout.labels.percentage.show && e.value.style.chart.layout.labels.value.show ? `: ${v(q)(
474
487
  e.value.style.chart.layout.labels.value.formatter,
475
488
  t.value,
476
- v(S)({
489
+ v(N)({
477
490
  p: t.prefix || "",
478
491
  v: t.value || 0,
479
492
  s: t.suffix || "",
480
493
  r: e.value.style.chart.layout.labels.roundingValue
481
494
  }),
482
495
  { datapoint: t, seriesIndex: l }
483
- )}` : `${e.value.style.chart.layout.labels.value.show && t.value ? `(${v(J)(
496
+ )}` : `${e.value.style.chart.layout.labels.value.show && t.value ? `(${v(q)(
484
497
  e.value.style.chart.layout.labels.value.formatter,
485
498
  t.value,
486
- v(S)({
499
+ v(N)({
487
500
  p: t.prefix || "",
488
501
  v: t.value || 0,
489
502
  s: t.suffix || "",
490
503
  r: e.value.style.chart.layout.labels.roundingValue
491
504
  }),
492
505
  { datapoint: t, seriesIndex: l }
493
- )})` : ""}`), 9, vt))
494
- ], 40, dt))), 256))
506
+ )})` : ""}`), 9, yt))
507
+ ], 40, pt))), 256))
495
508
  ])) : b("", !0),
496
509
  g(a.$slots, "svg", { svg: r.value }, void 0, !0)
497
- ], 14, at)) : b("", !0),
498
- a.$slots.watermark ? (s(), n("div", ht, [
499
- g(a.$slots, "watermark", B(V({ isPrinting: v(ee) || v(te) })), void 0, !0)
510
+ ], 14, ut)) : b("", !0),
511
+ a.$slots.watermark ? (s(), n("div", mt, [
512
+ g(a.$slots, "watermark", B(V({ isPrinting: v(le) || v(oe) })), void 0, !0)
500
513
  ])) : b("", !0),
501
- N.value ? b("", !0) : (s(), Y(Qe, {
514
+ R.value ? b("", !0) : (s(), x(lt, {
502
515
  key: 4,
503
516
  config: {
504
517
  type: "onion",
@@ -510,22 +523,22 @@ const tt = ["id"], at = ["xmlns", "viewBox"], lt = ["cx", "cy", "r", "stroke", "
510
523
  }
511
524
  }
512
525
  }, null, 8, ["config"])),
513
- C("div", {
526
+ T("div", {
514
527
  ref_key: "chartLegend",
515
- ref: Z
528
+ ref: Q
516
529
  }, [
517
- e.value.style.chart.legend.show ? (s(), Y(qe, {
518
- key: 0,
530
+ e.value.style.chart.legend.show ? (s(), x(et, {
531
+ key: `legend_${te.value}`,
519
532
  legendSet: c.value,
520
- config: $e.value,
521
- onClickMarker: o[2] || (o[2] = ({ legend: t }) => oe(t.id))
533
+ config: Pe.value,
534
+ onClickMarker: o[2] || (o[2] = ({ legend: t }) => ne(t.id))
522
535
  }, {
523
536
  item: h(({ legend: t }) => [
524
- C("div", {
537
+ T("div", {
525
538
  "data-cy-legend-item": "",
526
539
  onClick: (l) => t.segregate(),
527
- style: z(`opacity:${p.value.includes(t.id) ? 0.5 : 1}`)
528
- }, T(t.name ? t.name + ": " : "") + " " + T((t.percentage || 0).toFixed(e.value.style.chart.legend.roundingPercentage)) + "% ", 13, ft)
540
+ style: Y(`opacity:${p.value.includes(t.id) ? 0.5 : 1}`)
541
+ }, _(t.name ? t.name + ": " : "") + " " + _((t.percentage || 0).toFixed(e.value.style.chart.legend.roundingPercentage)) + "% ", 13, bt)
529
542
  ]),
530
543
  _: 1
531
544
  }, 8, ["legendSet", "config"])) : g(a.$slots, "legend", {
@@ -533,8 +546,8 @@ const tt = ["id"], at = ["xmlns", "viewBox"], lt = ["cx", "cy", "r", "stroke", "
533
546
  legend: c.value
534
547
  }, void 0, !0)
535
548
  ], 512),
536
- j(Ke, {
537
- show: k.value.showTooltip && R.value,
549
+ Ae(at, {
550
+ show: $.value.showTooltip && A.value,
538
551
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
539
552
  color: e.value.style.chart.tooltip.color,
540
553
  borderRadius: e.value.style.chart.tooltip.borderRadius,
@@ -544,9 +557,9 @@ const tt = ["id"], at = ["xmlns", "viewBox"], lt = ["cx", "cy", "r", "stroke", "
544
557
  backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
545
558
  position: e.value.style.chart.tooltip.position,
546
559
  offsetY: e.value.style.chart.tooltip.offsetY,
547
- parent: _.value,
560
+ parent: P.value,
548
561
  content: X.value,
549
- isCustom: v(ce)(e.value.style.chart.tooltip.customFormat)
562
+ isCustom: v(ge)(e.value.style.chart.tooltip.customFormat)
550
563
  }, {
551
564
  "tooltip-before": h(() => [
552
565
  g(a.$slots, "tooltip-before", B(V({ ...E.value })), void 0, !0)
@@ -556,11 +569,11 @@ const tt = ["id"], at = ["xmlns", "viewBox"], lt = ["cx", "cy", "r", "stroke", "
556
569
  ]),
557
570
  _: 3
558
571
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
559
- N.value ? (s(), Y(Ze, {
572
+ R.value ? (s(), x(ot, {
560
573
  key: 5,
561
574
  hideDetails: "",
562
575
  config: {
563
- open: k.value.showTable,
576
+ open: $.value.showTable,
564
577
  maxHeight: 1e4,
565
578
  head: {
566
579
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -573,28 +586,29 @@ const tt = ["id"], at = ["xmlns", "viewBox"], lt = ["cx", "cy", "r", "stroke", "
573
586
  }
574
587
  }, {
575
588
  content: h(() => [
576
- j(Je, {
577
- colNames: D.value.colNames,
578
- head: D.value.head,
579
- body: D.value.body,
580
- config: D.value.config,
589
+ (s(), x(tt, {
590
+ key: `table_${ee.value}`,
591
+ colNames: L.value.colNames,
592
+ head: L.value.head,
593
+ body: L.value.body,
594
+ config: L.value.config,
581
595
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
582
- onClose: o[3] || (o[3] = (t) => k.value.showTable = !1)
596
+ onClose: o[3] || (o[3] = (t) => $.value.showTable = !1)
583
597
  }, {
584
598
  th: h(({ th: t }) => [
585
- Fe(T(t), 1)
599
+ De(_(t), 1)
586
600
  ]),
587
601
  td: h(({ td: t }) => [
588
- C("div", { innerHTML: t }, null, 8, gt)
602
+ T("div", { innerHTML: t }, null, 8, kt)
589
603
  ]),
590
604
  _: 1
591
- }, 8, ["colNames", "head", "body", "config", "title"])
605
+ }, 8, ["colNames", "head", "body", "config", "title"]))
592
606
  ]),
593
607
  _: 1
594
608
  }, 8, ["config"])) : b("", !0)
595
- ], 14, tt));
609
+ ], 14, st));
596
610
  }
597
- }, It = /* @__PURE__ */ et(pt, [["__scopeId", "data-v-74ab3911"]]);
611
+ }, Rt = /* @__PURE__ */ rt($t, [["__scopeId", "data-v-d5a5e6fb"]]);
598
612
  export {
599
- It as default
613
+ Rt as default
600
614
  };