vue-data-ui 2.3.28 → 2.3.30

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 +66 -0
  22. package/dist/types/vue-data-ui.d.ts +66 -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,33 +1,33 @@
1
- import { computed as _, ref as c, onMounted as Me, onBeforeUnmount as Be, watch as Ue, openBlock as u, createElementBlock as n, normalizeClass as z, normalizeStyle as oe, createVNode as se, createCommentVNode as y, createBlock as W, unref as r, createSlots as Ee, withCtx as m, renderSlot as $, normalizeProps as H, guardReactiveProps as q, createElementVNode as p, Fragment as w, renderList as C, toDisplayString as N, createTextVNode as j, nextTick as Re, pushScopeId as Ge, popScopeId as Ye } from "vue";
2
- import { u as Xe, c as We, t as He, a as qe, p as J, o as je, e as O, b as Je, d as Ke, m as Ce, f as T, X as Qe, E as Ze, j as A, k as ue, v as Le, w as et, n as tt, q as lt } from "./index-BhCM2QF1.js";
3
- import { t as at, u as ot } from "./useResponsive-NZB-WLRF.js";
4
- import { _ as st } from "./Title-CtWGLaoz.js";
5
- import { u as ut, U as nt } from "./usePrinter-B75HLwzw.js";
6
- import { D as rt } from "./DataTable-bEXuvNn5.js";
7
- import { _ as it } from "./Tooltip-D6BUVHr1.js";
8
- import { L as dt } from "./Legend-DwludSgp.js";
9
- import ct from "./vue-ui-skeleton-_VMQ594N.js";
10
- import vt from "./vue-ui-accordion-CSZdj7wA.js";
11
- import { u as Se } from "./useNestedProp-CH3PVhvc.js";
12
- import { _ as ht } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
- const ne = (V) => (Ge("data-v-2c46844f"), V = V(), Ye(), V), ft = ["id"], yt = ["xmlns", "viewBox"], pt = ["id", "fr"], bt = /* @__PURE__ */ ne(() => /* @__PURE__ */ p("stop", {
1
+ import { computed as L, ref as c, onMounted as Be, onBeforeUnmount as Ue, watch as Re, openBlock as u, createElementBlock as n, normalizeClass as z, normalizeStyle as se, createVNode as ue, createCommentVNode as y, createBlock as H, unref as r, createSlots as Ee, withCtx as m, renderSlot as _, normalizeProps as q, guardReactiveProps as J, createElementVNode as b, Fragment as w, renderList as $, toDisplayString as F, createTextVNode as K, nextTick as Ge, pushScopeId as Ye, popScopeId as Xe } from "vue";
2
+ import { u as We, c as He, t as qe, a as Je, p as Q, o as Ke, e as O, b as Qe, d as Ze, m as Ce, f as C, X as je, F as et, k as A, n as ne, i as R, w as Se, x as tt, q as lt, r as at } from "./index-BlXzlBwZ.js";
3
+ import { t as ot, u as st } from "./useResponsive-NZB-WLRF.js";
4
+ import { _ as ut } from "./Title-eBTH8iGJ.js";
5
+ import { u as nt, U as rt } from "./usePrinter-CZ8F5Cth.js";
6
+ import { D as it } from "./DataTable-CsPidn0_.js";
7
+ import { _ as dt } from "./Tooltip-B11OahTD.js";
8
+ import { L as ct } from "./Legend-CkQ_zypV.js";
9
+ import vt from "./vue-ui-skeleton-CJ2R5R6u.js";
10
+ import ht from "./vue-ui-accordion-wHRG3nXl.js";
11
+ import { u as Ne } from "./useNestedProp-BoNl5H_z.js";
12
+ import { _ as ft } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
+ const re = (V) => (Ye("data-v-57753849"), V = V(), Xe(), V), yt = ["id"], bt = ["xmlns", "viewBox"], pt = ["id", "fr"], gt = /* @__PURE__ */ re(() => /* @__PURE__ */ b("stop", {
14
14
  offset: "0%",
15
15
  "stop-color": "#FFFFFF",
16
16
  "stop-opacity": "0"
17
- }, null, -1)), gt = ["offset", "stop-opacity"], mt = /* @__PURE__ */ ne(() => /* @__PURE__ */ p("stop", {
17
+ }, null, -1)), mt = ["offset", "stop-opacity"], wt = /* @__PURE__ */ re(() => /* @__PURE__ */ b("stop", {
18
18
  offset: "100%",
19
19
  "stop-color": "#FFFFFF",
20
20
  "stop-opacity": "0"
21
- }, null, -1)), wt = ["id"], xt = ["id"], kt = /* @__PURE__ */ ne(() => /* @__PURE__ */ p("feColorMatrix", {
21
+ }, null, -1)), xt = ["id"], kt = ["id"], Lt = /* @__PURE__ */ re(() => /* @__PURE__ */ b("feColorMatrix", {
22
22
  type: "saturate",
23
23
  values: "0"
24
- }, null, -1)), _t = ["id"], $t = ["flood-color"], Ct = ["cx", "cy", "r", "fill", "filter"], Lt = ["d", "fill", "stroke", "stroke-width", "filter"], St = { key: 0 }, Ft = ["d", "fill"], Nt = { key: 1 }, Tt = ["x", "y", "font-size", "font-weight", "fill"], It = { key: 2 }, Dt = ["filter"], Pt = ["text-anchor", "x", "y", "fill", "font-size", "font-weight"], zt = ["text-anchor", "x", "y", "fill", "font-size", "font-weight"], Ot = ["text-anchor", "x", "y", "fill", "font-size", "font-weight"], At = ["d", "fill", "onMouseenter", "onClick"], Vt = {
24
+ }, null, -1)), _t = ["id"], $t = ["flood-color"], Ct = ["cx", "cy", "r", "fill", "filter"], St = ["d", "fill", "stroke", "stroke-width", "filter"], Nt = { key: 0 }, Tt = ["d", "fill"], Ft = { key: 1 }, It = ["x", "y", "font-size", "font-weight", "fill"], Dt = { key: 2 }, Pt = ["filter"], zt = ["text-anchor", "x", "y", "fill", "font-size", "font-weight"], Ot = ["text-anchor", "x", "y", "fill", "font-size", "font-weight"], At = ["text-anchor", "x", "y", "fill", "font-size", "font-weight"], Vt = ["d", "fill", "onMouseenter", "onClick"], Mt = {
25
25
  key: 3,
26
26
  class: "vue-data-ui-watermark"
27
- }, Mt = {
27
+ }, Bt = {
28
28
  key: 0,
29
29
  class: "vue-ui-nested-donuts-legend-title"
30
- }, Bt = ["onClick"], Ut = ["innerHTML"], Et = {
30
+ }, Ut = ["onClick"], Rt = ["innerHTML"], Et = {
31
31
  __name: "vue-ui-nested-donuts",
32
32
  props: {
33
33
  config: {
@@ -44,46 +44,46 @@ const ne = (V) => (Ge("data-v-2c46844f"), V = V(), Ye(), V), ft = ["id"], yt = [
44
44
  }
45
45
  },
46
46
  emits: ["selectLegend", "selectDatapoint"],
47
- setup(V, { expose: Fe, emit: re }) {
48
- const D = V, { vue_ui_nested_donuts: Ne } = Xe(), E = _(() => !!D.dataset && D.dataset.length), b = c(We()), K = c(!1), Q = c(""), Te = c(null), ie = c(0), M = c(null), de = c(null), Z = c(null), B = c(!1);
49
- function Ie(t) {
50
- B.value = t, ie.value += 1;
47
+ setup(V, { expose: Te, emit: ie }) {
48
+ const D = V, { vue_ui_nested_donuts: Fe } = We(), E = L(() => !!D.dataset && D.dataset.length), p = c(He()), Z = c(!1), j = c(""), Ie = c(null), de = c(0), M = c(null), ce = c(null), ee = c(null), B = c(!1);
49
+ function De(t) {
50
+ B.value = t, de.value += 1;
51
51
  }
52
- const e = _(() => {
53
- const t = Se({
52
+ const e = L(() => {
53
+ const t = Ne({
54
54
  userConfig: D.config,
55
- defaultConfig: Ne
55
+ defaultConfig: Fe
56
56
  });
57
57
  return t.theme ? {
58
- ...Se({
59
- userConfig: He.vue_ui_nested_donuts[t.theme] || D.config,
58
+ ...Ne({
59
+ userConfig: qe.vue_ui_nested_donuts[t.theme] || D.config,
60
60
  defaultConfig: t
61
61
  }),
62
- customPalette: qe[t.theme] || J
62
+ customPalette: Je[t.theme] || Q
63
63
  } : t;
64
- }), R = c(null);
65
- Me(() => {
66
- if (je(D.dataset) && O({
64
+ }), G = c(null);
65
+ Be(() => {
66
+ if (Ke(D.dataset) && O({
67
67
  componentName: "VueUiNestedDonuts",
68
68
  type: "dataset"
69
69
  }), e.value.responsive) {
70
- const t = at(() => {
71
- const { width: s, height: l } = ot({
70
+ const t = ot(() => {
71
+ const { width: s, height: l } = st({
72
72
  chart: M.value,
73
- title: e.value.style.chart.title.text ? de.value : null,
74
- legend: e.value.style.chart.legend.show ? Z.value : null
73
+ title: e.value.style.chart.title.text ? ce.value : null,
74
+ legend: e.value.style.chart.legend.show ? ee.value : null
75
75
  });
76
76
  v.value.width = s, v.value.height = l;
77
77
  });
78
- R.value = new ResizeObserver(t), R.value.observe(M.value.parentNode);
78
+ G.value = new ResizeObserver(t), G.value.observe(M.value.parentNode);
79
79
  }
80
- }), Be(() => {
81
- R.value && R.value.disconnect();
80
+ }), Ue(() => {
81
+ G.value && G.value.disconnect();
82
82
  });
83
- const { isPrinting: ce, isImaging: ve, generatePdf: he, generateImage: fe } = ut({
84
- elementId: `nested_donuts_${b.value}`,
83
+ const { isPrinting: ve, isImaging: he, generatePdf: fe, generateImage: ye } = nt({
84
+ elementId: `nested_donuts_${p.value}`,
85
85
  fileName: e.value.style.chart.title.text || "vue-ui-nested-donuts"
86
- }), De = _(() => Je(e.value.customPalette)), x = c({
86
+ }), Pe = L(() => Qe(e.value.customPalette)), x = c({
87
87
  dataLabels: {
88
88
  show: e.value.style.chart.layout.labels.dataLabels.show
89
89
  },
@@ -93,10 +93,10 @@ const ne = (V) => (Ge("data-v-2c46844f"), V = V(), Ye(), V), ft = ["id"], yt = [
93
93
  height: 512,
94
94
  width: 512
95
95
  });
96
- function Pe({ datapoint: t, index: s }) {
97
- re("selectDatapoint", { datapoint: t, index: s });
96
+ function ze({ datapoint: t, index: s }) {
97
+ ie("selectDatapoint", { datapoint: t, index: s });
98
98
  }
99
- const f = c([]), L = _(() => (D.dataset.forEach((t, s) => {
99
+ const f = c([]), S = L(() => (D.dataset.forEach((t, s) => {
100
100
  [null, void 0].includes(t.name) && O({
101
101
  componentName: "VueUiNestedDonuts",
102
102
  type: "datasetSerieAttribute",
@@ -130,21 +130,21 @@ const ne = (V) => (Ge("data-v-2c46844f"), V = V(), Ye(), V), ft = ["id"], yt = [
130
130
  ...t,
131
131
  total: t.series.filter((l) => !f.value.includes(l.id)).map((l) => (l.values || []).reduce((a, o) => a + o, 0)).reduce((l, a) => l + a, 0),
132
132
  datasetIndex: s,
133
- id: `${b.value}_${s}`,
133
+ id: `${p.value}_${s}`,
134
134
  series: t.series.map((l, a) => ({
135
135
  name: l.name,
136
136
  arcOf: t.name,
137
- arcOfId: `${b.value}_${s}`,
138
- id: `${b.value}_${s}_${a}`,
137
+ arcOfId: `${p.value}_${s}`,
138
+ id: `${p.value}_${s}_${a}`,
139
139
  seriesIndex: a,
140
140
  datasetIndex: s,
141
- color: Ke(l.color) || De.value[a] || J[a] || J[a % J.length],
141
+ color: Ze(l.color) || Pe.value[a] || Q[a] || Q[a % Q.length],
142
142
  value: (l.values || []).reduce((o, i) => o + i, 0),
143
143
  absoluteValues: l.values || []
144
144
  }))
145
145
  }))));
146
146
  c(e.value.style.chart.layout.donut.strokeWidth);
147
- const S = _(() => Math.min(v.value.height, v.value.width) * (e.value.style.chart.layout.donut.strokeWidth / 512)), ye = _(() => [...L.value].map((t, s) => {
147
+ const N = L(() => Math.min(v.value.height, v.value.width) * (e.value.style.chart.layout.donut.strokeWidth / 512)), be = L(() => [...S.value].map((t, s) => {
148
148
  const l = t.series.filter((a) => !f.value.includes(a.id)).map((a) => a.value).reduce((a, o) => a + o, 0);
149
149
  return {
150
150
  ...t,
@@ -155,109 +155,109 @@ const ne = (V) => (Ge("data-v-2c46844f"), V = V(), Ye(), V), ft = ["id"], yt = [
155
155
  }))
156
156
  };
157
157
  }));
158
- function ze(t, s, l) {
158
+ function Oe(t, s, l) {
159
159
  let a = 0;
160
160
  for (let o = 0; o < t.length; o += 1)
161
161
  l.includes(t[o]) && (a += 1);
162
162
  return a < s;
163
163
  }
164
- const h = c(ye.value);
165
- Ue(() => ye.value, (t) => h.value = t);
166
- const pe = c(null), be = c(null);
167
- function ee(t) {
168
- re("selectLegend", t);
169
- const s = L.value.flatMap((d) => d.series).find((d) => d.id === t.id), l = h.value.flatMap((d) => d.series).find((d) => d.id === t.id);
164
+ const h = c(be.value);
165
+ Re(() => be.value, (t) => h.value = t);
166
+ const pe = c(null), ge = c(null);
167
+ function te(t) {
168
+ ie("selectLegend", t);
169
+ const s = S.value.flatMap((d) => d.series).find((d) => d.id === t.id), l = h.value.flatMap((d) => d.series).find((d) => d.id === t.id);
170
170
  let o = l ? l.value : 0;
171
- const i = L.value.find((d) => d.id === s.arcOfId).series.map((d) => d.id), g = ze(i, i.length - 1, f.value);
171
+ const i = S.value.find((d) => d.id === s.arcOfId).series.map((d) => d.id), g = Oe(i, i.length - 1, f.value);
172
172
  if (f.value.includes(t.id)) {
173
173
  let d = function() {
174
174
  o > s.value ? (cancelAnimationFrame(pe.value), h.value = h.value.map((k) => ({
175
175
  ...k,
176
- series: k.series.map((F) => F.id == t.id ? {
177
- ...F,
176
+ series: k.series.map((T) => T.id == t.id ? {
177
+ ...T,
178
178
  value: s.value
179
- } : F)
179
+ } : T)
180
180
  }))) : (o += s.value * 0.025, h.value = h.value.map((k) => ({
181
181
  ...k,
182
- series: k.series.map((F) => F.id === t.id ? {
183
- ...F,
182
+ series: k.series.map((T) => T.id === t.id ? {
183
+ ...T,
184
184
  value: o
185
- } : F)
185
+ } : T)
186
186
  })), pe.value = requestAnimationFrame(d));
187
187
  };
188
188
  f.value = f.value.filter((k) => k !== t.id), d();
189
189
  } else if (g) {
190
190
  let d = function() {
191
- o < 0.1 ? (cancelAnimationFrame(be.value), f.value.push(t.id), h.value = h.value.map((k, F) => ({
191
+ o < 0.1 ? (cancelAnimationFrame(ge.value), f.value.push(t.id), h.value = h.value.map((k, T) => ({
192
192
  ...k,
193
193
  series: k.series.map((P) => P.id === t.id ? {
194
194
  ...P,
195
195
  value: 0
196
196
  } : P)
197
- }))) : (o /= 1.1, h.value = h.value.map((k, F) => ({
197
+ }))) : (o /= 1.1, h.value = h.value.map((k, T) => ({
198
198
  ...k,
199
199
  series: k.series.map((P) => P.id === t.id ? {
200
200
  ...P,
201
201
  value: o
202
202
  } : P)
203
- })), be.value = requestAnimationFrame(d));
203
+ })), ge.value = requestAnimationFrame(d));
204
204
  };
205
205
  d();
206
206
  }
207
207
  }
208
- const U = _(() => h.value.map((t, s) => {
209
- const l = s * S.value / L.value.length;
208
+ const U = L(() => h.value.map((t, s) => {
209
+ const l = s * N.value / S.value.length;
210
210
  return {
211
211
  ...t,
212
- radius: S.value - l,
212
+ radius: N.value - l,
213
213
  donut: Ce(
214
214
  { series: t.series },
215
215
  v.value.width / 2,
216
216
  v.value.height / 2,
217
- S.value - l,
218
- S.value - l,
217
+ N.value - l,
218
+ N.value - l,
219
219
  1.99999,
220
220
  2,
221
221
  1,
222
222
  360,
223
223
  105.25,
224
- S.value / L.value.length * e.value.style.chart.layout.donut.spacingRatio
224
+ N.value / S.value.length * e.value.style.chart.layout.donut.spacingRatio
225
225
  )
226
226
  };
227
- })), ge = _(() => [...L.value].map((t, s) => {
228
- const l = s * S.value / L.value.length;
227
+ })), me = L(() => [...S.value].map((t, s) => {
228
+ const l = s * N.value / S.value.length;
229
229
  return {
230
230
  sizeRatio: l,
231
231
  donut: Ce(
232
232
  { series: [{ value: 1 }] },
233
233
  v.value.width / 2,
234
234
  v.value.height / 2,
235
- S.value - l,
236
- S.value - l,
235
+ N.value - l,
236
+ N.value - l,
237
237
  1.99999,
238
238
  2,
239
239
  1,
240
240
  360,
241
241
  105.25,
242
- S.value / L.value.length * e.value.style.chart.layout.donut.spacingRatio
242
+ N.value / S.value.length * e.value.style.chart.layout.donut.spacingRatio
243
243
  )[0]
244
244
  };
245
- })), me = c(null), G = c(null), Y = c(null), te = c(null);
246
- function Oe({ datapoint: t, _relativeIndex: s, seriesIndex: l }) {
247
- me.value = t.arcOfId, G.value = t.id, Y.value = l, te.value = {
245
+ })), we = c(null), Y = c(null), X = c(null), le = c(null);
246
+ function Ae({ datapoint: t, _relativeIndex: s, seriesIndex: l }) {
247
+ we.value = t.arcOfId, Y.value = t.id, X.value = l, le.value = {
248
248
  datapoint: t,
249
249
  seriesIndex: l,
250
250
  series: h.value,
251
251
  config: e.value
252
252
  };
253
253
  const a = e.value.style.chart.tooltip.customFormat;
254
- if (Le(a) && et(() => a({
254
+ if (Se(a) && tt(() => a({
255
255
  seriesIndex: l,
256
256
  datapoint: t,
257
257
  series: h.value,
258
258
  config: e.value
259
259
  })))
260
- Q.value = a({
260
+ j.value = a({
261
261
  seriesIndex: l,
262
262
  datapoint: t,
263
263
  series: h.value,
@@ -280,30 +280,63 @@ const ne = (V) => (Ge("data-v-2c46844f"), V = V(), Ye(), V), ft = ["id"], yt = [
280
280
  </span>
281
281
  </div>
282
282
  <span>
283
- ${e.value.style.chart.tooltip.showValue ? `<b>${T({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: t.value, s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.style.chart.tooltip.roundingValue })}</b>` : ""}
284
- ${e.value.style.chart.tooltip.showPercentage ? `(${T({ v: g.proportion * 100, s: "%", r: e.value.style.chart.tooltip.roundingPercentage })})` : ""}
283
+ ${e.value.style.chart.tooltip.showValue ? `<b>${R(
284
+ e.value.style.chart.layout.labels.dataLabels.formatter,
285
+ t.value,
286
+ C({
287
+ p: e.value.style.chart.layout.labels.dataLabels.prefix,
288
+ v: t.value,
289
+ s: e.value.style.chart.layout.labels.dataLabels.suffix,
290
+ r: e.value.style.chart.tooltip.roundingValue
291
+ }),
292
+ { datapoint: t, seriesIndex: l }
293
+ )}
294
+ </b>` : ""}
295
+ ${e.value.style.chart.tooltip.showPercentage ? `(${C({
296
+ v: g.proportion * 100,
297
+ s: "%",
298
+ r: e.value.style.chart.tooltip.roundingPercentage
299
+ })})` : ""}
285
300
  </span>
286
301
  </div>
287
302
  `;
288
303
  });
289
304
  } else
290
- o += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${t.arcOf ?? ""} - ${t.name}</div>`, o += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${t.color}"/></svg>`, e.value.style.chart.tooltip.showValue && (o += `<b>${T({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: t.value, s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.style.chart.tooltip.roundingValue })}</b>`), e.value.style.chart.tooltip.showPercentage && (e.value.style.chart.tooltip.showValue ? o += `<span>(${(t.proportion * 100).toFixed(e.value.style.chart.tooltip.roundingPercentage)}%)</span></div>` : o += `<b>${(t.proportion * 100).toFixed(e.value.style.chart.tooltip.roundingPercentage)}%</b></div>`);
291
- Q.value = `<div style="font-size:${e.value.style.chart.tooltip.fontSize}px">${o}</div>`;
305
+ o += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${t.arcOf ?? ""} - ${t.name}</div>`, o += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${t.color}"/></svg>`, e.value.style.chart.tooltip.showValue && (o += `<b>${R(
306
+ e.value.style.chart.layout.labels.dataLabels.formatter,
307
+ t.value,
308
+ C({
309
+ p: e.value.style.chart.layout.labels.dataLabels.prefix,
310
+ v: t.value,
311
+ s: e.value.style.chart.layout.labels.dataLabels.suffix,
312
+ r: e.value.style.chart.tooltip.roundingValue
313
+ }),
314
+ { datapoint: t, seriesIndex: l }
315
+ )}</b>`), e.value.style.chart.tooltip.showPercentage && (e.value.style.chart.tooltip.showValue ? o += `<span>(${C({
316
+ v: t.proportion * 100,
317
+ s: "%",
318
+ r: e.value.style.chart.tooltip.roundingPercentage
319
+ })})</span></div>` : o += `<b>${C({
320
+ v: t.proportion * 100,
321
+ s: "%",
322
+ r: e.value.style.chart.tooltip.roundingPercentage
323
+ })}</b></div>`);
324
+ j.value = `<div style="font-size:${e.value.style.chart.tooltip.fontSize}px">${o}</div>`;
292
325
  }
293
- K.value = !0;
326
+ Z.value = !0;
294
327
  }
295
- function le(t) {
328
+ function ae(t) {
296
329
  return t.proportion * 100 > e.value.style.chart.layout.labels.dataLabels.hideUnderValue;
297
330
  }
298
- function we(t, s) {
331
+ function xe(t, s) {
299
332
  if (!e.value.useBlurOnHover)
300
333
  return "";
301
334
  if (e.value.style.chart.tooltip.showAllItemsAtIndex && f.value.length === 0)
302
- return [null, void 0].includes(Y.value) || Y.value === s ? "" : `url(#blur_${b.value})`;
335
+ return [null, void 0].includes(X.value) || X.value === s ? "" : `url(#blur_${p.value})`;
303
336
  if (!e.value.style.chart.tooltip.showAllItemsAtIndex || f.value.length)
304
- return [null, void 0].includes(G.value) || G.value === t.id ? "" : `url(#blur_${b.value})`;
337
+ return [null, void 0].includes(Y.value) || Y.value === t.id ? "" : `url(#blur_${p.value})`;
305
338
  }
306
- const ae = _(() => L.value.map((t, s) => t.series.map((l, a) => ({
339
+ const oe = L(() => S.value.map((t, s) => t.series.map((l, a) => ({
307
340
  name: l.name,
308
341
  color: l.color,
309
342
  value: l.value,
@@ -316,16 +349,16 @@ const ne = (V) => (Ge("data-v-2c46844f"), V = V(), Ye(), V), ft = ["id"], yt = [
316
349
  })).map((l) => ({
317
350
  ...l,
318
351
  opacity: f.value.includes(l.id) ? 0.5 : 1,
319
- segregate: () => ee(l),
352
+ segregate: () => te(l),
320
353
  isSegregated: f.value.includes(l.id)
321
- })))), Ae = _(() => ({
354
+ })))), Ve = L(() => ({
322
355
  cy: "nested-donuts-legend",
323
356
  backgroundColor: e.value.style.chart.legend.backgroundColor,
324
357
  color: e.value.style.chart.legend.color,
325
358
  fontSize: e.value.style.chart.legend.fontSize,
326
359
  paddingBottom: 12,
327
360
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
328
- })), I = _(() => {
361
+ })), I = L(() => {
329
362
  const t = h.value.flatMap((l) => l.series.map((a) => ({
330
363
  name: `${l.name} - ${a.name}`,
331
364
  color: a.color,
@@ -333,28 +366,32 @@ const ne = (V) => (Ge("data-v-2c46844f"), V = V(), Ye(), V), ft = ["id"], yt = [
333
366
  }))), s = h.value.flatMap((l) => l.series.map((a) => a.value));
334
367
  return { head: t, body: s };
335
368
  });
336
- function xe() {
337
- Re(() => {
369
+ function ke() {
370
+ Ge(() => {
338
371
  const t = I.value.head.map((a, o) => [[
339
372
  a.name
340
- ], [I.value.body[o]], [isNaN(I.value.body[o] / a.total) ? "-" : I.value.body[o] / a.total * 100]]), s = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(t), l = tt(s);
341
- lt({ csvContent: l, title: e.value.style.chart.title.text || "vue-ui-nested-donuts" });
373
+ ], [I.value.body[o]], [isNaN(I.value.body[o] / a.total) ? "-" : I.value.body[o] / a.total * 100]]), s = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(t), l = lt(s);
374
+ at({ csvContent: l, title: e.value.style.chart.title.text || "vue-ui-nested-donuts" });
342
375
  });
343
376
  }
344
- const X = _(() => {
377
+ const W = L(() => {
345
378
  const t = [
346
379
  e.value.table.columnNames.series,
347
380
  e.value.table.columnNames.value,
348
381
  e.value.table.columnNames.percentage
349
382
  ], s = I.value.head.map((o, i) => {
350
- const g = T({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: I.value.body[i], s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue });
383
+ const g = C({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: I.value.body[i], s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue });
351
384
  return [
352
385
  {
353
386
  color: o.color,
354
387
  name: o.name
355
388
  },
356
389
  g,
357
- isNaN(I.value.body[i] / o.total) ? "-" : (I.value.body[i] / o.total * 100).toFixed(e.value.table.td.roundingPercentage) + "%"
390
+ isNaN(I.value.body[i] / o.total) ? "-" : C({
391
+ v: I.value.body[i] / o.total * 100,
392
+ s: "%",
393
+ r: e.value.table.td.roundingPercentage
394
+ })
358
395
  ];
359
396
  }), l = {
360
397
  th: {
@@ -380,10 +417,10 @@ const ne = (V) => (Ge("data-v-2c46844f"), V = V(), Ye(), V), ft = ["id"], yt = [
380
417
  config: l
381
418
  };
382
419
  });
383
- function Ve() {
384
- return L.value;
420
+ function Me() {
421
+ return S.value;
385
422
  }
386
- function ke() {
423
+ function Le() {
387
424
  x.value.showTable = !x.value.showTable;
388
425
  }
389
426
  function _e() {
@@ -392,27 +429,27 @@ const ne = (V) => (Ge("data-v-2c46844f"), V = V(), Ye(), V), ft = ["id"], yt = [
392
429
  function $e() {
393
430
  x.value.showTooltip = !x.value.showTooltip;
394
431
  }
395
- return Fe({
396
- getData: Ve,
397
- generatePdf: he,
398
- generateCsv: xe,
399
- generateImage: fe,
400
- toggleTable: ke,
432
+ return Te({
433
+ getData: Me,
434
+ generatePdf: fe,
435
+ generateCsv: ke,
436
+ generateImage: ye,
437
+ toggleTable: Le,
401
438
  toggleLabels: _e,
402
439
  toggleTooltip: $e
403
440
  }), (t, s) => (u(), n("div", {
404
441
  ref_key: "nestedDonutsChart",
405
442
  ref: M,
406
443
  class: z(`vue-ui-nested-donuts ${B.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
407
- style: oe(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;${!e.value.style.chart.title.text && e.value.userOptions.show ? "padding-top:36px" : ""};background:${e.value.style.chart.backgroundColor}`),
408
- id: `nested_donuts_${b.value}`
444
+ style: se(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;${!e.value.style.chart.title.text && e.value.userOptions.show ? "padding-top:36px" : ""};background:${e.value.style.chart.backgroundColor}`),
445
+ id: `nested_donuts_${p.value}`
409
446
  }, [
410
447
  e.value.style.chart.title.text ? (u(), n("div", {
411
448
  key: 0,
412
449
  ref_key: "chartTitle",
413
- ref: de
450
+ ref: ce
414
451
  }, [
415
- se(st, {
452
+ ue(ut, {
416
453
  config: {
417
454
  title: {
418
455
  cy: "donut-div-title",
@@ -425,14 +462,14 @@ const ne = (V) => (Ge("data-v-2c46844f"), V = V(), Ye(), V), ft = ["id"], yt = [
425
462
  }
426
463
  }, null, 8, ["config"])
427
464
  ], 512)) : y("", !0),
428
- e.value.userOptions.show && E.value ? (u(), W(nt, {
465
+ e.value.userOptions.show && E.value ? (u(), H(rt, {
429
466
  ref: "details",
430
- key: `user_option_${ie.value}`,
467
+ key: `user_option_${de.value}`,
431
468
  backgroundColor: e.value.style.chart.backgroundColor,
432
469
  color: e.value.style.chart.color,
433
- isPrinting: r(ce),
434
- isImaging: r(ve),
435
- uid: b.value,
470
+ isPrinting: r(ve),
471
+ isImaging: r(he),
472
+ uid: p.value,
436
473
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
437
474
  hasPdf: e.value.userOptions.buttons.pdf,
438
475
  hasXls: e.value.userOptions.buttons.csv,
@@ -444,108 +481,108 @@ const ne = (V) => (Ge("data-v-2c46844f"), V = V(), Ye(), V), ft = ["id"], yt = [
444
481
  isTooltip: x.value.showTooltip,
445
482
  titles: { ...e.value.userOptions.buttonTitles },
446
483
  chartElement: M.value,
447
- onToggleFullscreen: Ie,
448
- onGeneratePdf: r(he),
449
- onGenerateCsv: xe,
450
- onGenerateImage: r(fe),
451
- onToggleTable: ke,
484
+ onToggleFullscreen: De,
485
+ onGeneratePdf: r(fe),
486
+ onGenerateCsv: ke,
487
+ onGenerateImage: r(ye),
488
+ onToggleTable: Le,
452
489
  onToggleLabels: _e,
453
490
  onToggleTooltip: $e
454
491
  }, Ee({ _: 2 }, [
455
492
  t.$slots.optionTooltip ? {
456
493
  name: "optionTooltip",
457
494
  fn: m(() => [
458
- $(t.$slots, "optionTooltip", {}, void 0, !0)
495
+ _(t.$slots, "optionTooltip", {}, void 0, !0)
459
496
  ]),
460
497
  key: "0"
461
498
  } : void 0,
462
499
  t.$slots.optionPdf ? {
463
500
  name: "optionPdf",
464
501
  fn: m(() => [
465
- $(t.$slots, "optionPdf", {}, void 0, !0)
502
+ _(t.$slots, "optionPdf", {}, void 0, !0)
466
503
  ]),
467
504
  key: "1"
468
505
  } : void 0,
469
506
  t.$slots.optionCsv ? {
470
507
  name: "optionCsv",
471
508
  fn: m(() => [
472
- $(t.$slots, "optionCsv", {}, void 0, !0)
509
+ _(t.$slots, "optionCsv", {}, void 0, !0)
473
510
  ]),
474
511
  key: "2"
475
512
  } : void 0,
476
513
  t.$slots.optionImg ? {
477
514
  name: "optionImg",
478
515
  fn: m(() => [
479
- $(t.$slots, "optionImg", {}, void 0, !0)
516
+ _(t.$slots, "optionImg", {}, void 0, !0)
480
517
  ]),
481
518
  key: "3"
482
519
  } : void 0,
483
520
  t.$slots.optionTable ? {
484
521
  name: "optionTable",
485
522
  fn: m(() => [
486
- $(t.$slots, "optionTable", {}, void 0, !0)
523
+ _(t.$slots, "optionTable", {}, void 0, !0)
487
524
  ]),
488
525
  key: "4"
489
526
  } : void 0,
490
527
  t.$slots.optionLabels ? {
491
528
  name: "optionLabels",
492
529
  fn: m(() => [
493
- $(t.$slots, "optionLabels", {}, void 0, !0)
530
+ _(t.$slots, "optionLabels", {}, void 0, !0)
494
531
  ]),
495
532
  key: "5"
496
533
  } : void 0,
497
534
  t.$slots.optionFullscreen ? {
498
535
  name: "optionFullscreen",
499
536
  fn: m(({ toggleFullscreen: l, isFullscreen: a }) => [
500
- $(t.$slots, "optionFullscreen", H(q({ toggleFullscreen: l, isFullscreen: a })), void 0, !0)
537
+ _(t.$slots, "optionFullscreen", q(J({ toggleFullscreen: l, isFullscreen: a })), void 0, !0)
501
538
  ]),
502
539
  key: "6"
503
540
  } : void 0
504
541
  ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) : y("", !0),
505
542
  E.value ? (u(), n("svg", {
506
543
  key: 2,
507
- xmlns: r(Qe),
544
+ xmlns: r(je),
508
545
  class: z({ "vue-data-ui-fullscreen--on": B.value, "vue-data-ui-fulscreen--off": !B.value }),
509
546
  viewBox: `0 0 ${v.value.width <= 0 ? 1e-3 : v.value.width} ${v.value.height < 0 ? 1e-3 : v.value.height}`,
510
- style: oe(`max-width:100%; overflow: visible; background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color}`)
547
+ style: se(`max-width:100%; overflow: visible; background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color}`)
511
548
  }, [
512
- p("defs", null, [
513
- (u(!0), n(w, null, C(ge.value, (l, a) => (u(), n("radialGradient", {
514
- id: `radial_${b.value}_${a}`,
549
+ b("defs", null, [
550
+ (u(!0), n(w, null, $(me.value, (l, a) => (u(), n("radialGradient", {
551
+ id: `radial_${p.value}_${a}`,
515
552
  cx: "50%",
516
553
  cy: "50%",
517
554
  r: "50%",
518
555
  fr: 30 - 1 * (a + 1) + "%"
519
556
  }, [
520
- bt,
521
- p("stop", {
557
+ gt,
558
+ b("stop", {
522
559
  offset: 70 - 20 * a + "%",
523
560
  "stop-color": "#FFFFFF",
524
561
  "stop-opacity": e.value.style.chart.gradientIntensity / 100
525
- }, null, 8, gt),
526
- mt
562
+ }, null, 8, mt),
563
+ wt
527
564
  ], 8, pt))), 256))
528
565
  ]),
529
- p("defs", null, [
530
- p("filter", {
531
- id: `blur_${b.value}`,
566
+ b("defs", null, [
567
+ b("filter", {
568
+ id: `blur_${p.value}`,
532
569
  x: "-50%",
533
570
  y: "-50%",
534
571
  width: "200%",
535
572
  height: "200%"
536
573
  }, [
537
- p("feGaussianBlur", {
574
+ b("feGaussianBlur", {
538
575
  in: "SourceGraphic",
539
576
  stdDeviation: 2,
540
- id: `blur_std_${b.value}`
541
- }, null, 8, xt),
542
- kt
543
- ], 8, wt),
544
- p("filter", {
545
- id: `shadow_${b.value}`,
577
+ id: `blur_std_${p.value}`
578
+ }, null, 8, kt),
579
+ Lt
580
+ ], 8, xt),
581
+ b("filter", {
582
+ id: `shadow_${p.value}`,
546
583
  "color-interpolation-filters": "sRGB"
547
584
  }, [
548
- p("feDropShadow", {
585
+ b("feDropShadow", {
549
586
  dx: "0",
550
587
  dy: "0",
551
588
  stdDeviation: "10",
@@ -554,38 +591,38 @@ const ne = (V) => (Ge("data-v-2c46844f"), V = V(), Ye(), V), ft = ["id"], yt = [
554
591
  }, null, 8, $t)
555
592
  ], 8, _t)
556
593
  ]),
557
- (u(!0), n(w, null, C(U.value, (l) => (u(), n("circle", {
594
+ (u(!0), n(w, null, $(U.value, (l) => (u(), n("circle", {
558
595
  cx: v.value.width / 2,
559
596
  cy: v.value.height / 2,
560
597
  r: l.radius < 0 ? 1e-5 : l.radius,
561
598
  fill: e.value.style.chart.backgroundColor,
562
- filter: e.value.style.chart.layout.donut.useShadow ? `url(#shadow_${b.value})` : ""
599
+ filter: e.value.style.chart.layout.donut.useShadow ? `url(#shadow_${p.value})` : ""
563
600
  }, null, 8, Ct))), 256)),
564
- (u(!0), n(w, null, C(U.value, (l, a) => (u(), n("g", null, [
565
- (u(!0), n(w, null, C(l.donut, (o, i) => (u(), n("g", null, [
566
- p("path", {
601
+ (u(!0), n(w, null, $(U.value, (l, a) => (u(), n("g", null, [
602
+ (u(!0), n(w, null, $(l.donut, (o, i) => (u(), n("g", null, [
603
+ b("path", {
567
604
  class: "vue-ui-donut-arc-path",
568
605
  d: o.arcSlice,
569
606
  fill: `${o.color}CC`,
570
607
  stroke: e.value.style.chart.backgroundColor,
571
608
  "stroke-width": e.value.style.chart.layout.donut.borderWidth,
572
- filter: we(o, i)
573
- }, null, 8, Lt)
609
+ filter: xe(o, i)
610
+ }, null, 8, St)
574
611
  ]))), 256))
575
612
  ]))), 256)),
576
- e.value.style.chart.useGradient ? (u(), n("g", St, [
577
- (u(!0), n(w, null, C(ge.value, (l, a) => (u(), n("g", null, [
578
- p("path", {
613
+ e.value.style.chart.useGradient ? (u(), n("g", Nt, [
614
+ (u(!0), n(w, null, $(me.value, (l, a) => (u(), n("g", null, [
615
+ b("path", {
579
616
  d: l.donut.arcSlice,
580
- fill: `url(#radial_${b.value}_${a})`,
617
+ fill: `url(#radial_${p.value}_${a})`,
581
618
  stroke: "transparent",
582
619
  "stroke-width": "0"
583
- }, null, 8, Ft)
620
+ }, null, 8, Tt)
584
621
  ]))), 256))
585
622
  ])) : y("", !0),
586
- e.value.style.chart.layout.labels.dataLabels.showDonutName ? (u(), n("g", Nt, [
587
- (u(!0), n(w, null, C(U.value, (l, a) => (u(), n("g", null, [
588
- (u(!0), n(w, null, C(l.donut, (o, i) => (u(), n("g", null, [
623
+ e.value.style.chart.layout.labels.dataLabels.showDonutName ? (u(), n("g", Ft, [
624
+ (u(!0), n(w, null, $(U.value, (l, a) => (u(), n("g", null, [
625
+ (u(!0), n(w, null, $(l.donut, (o, i) => (u(), n("g", null, [
589
626
  i === 0 && v.value.width && v.value.height ? (u(), n("text", {
590
627
  key: 0,
591
628
  class: z({ animated: e.value.useCssAnimation }),
@@ -595,72 +632,92 @@ const ne = (V) => (Ge("data-v-2c46844f"), V = V(), Ye(), V), ft = ["id"], yt = [
595
632
  "font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
596
633
  "font-weight": e.value.style.chart.layout.labels.dataLabels.boldDonutName ? "bold" : "normal",
597
634
  fill: e.value.style.chart.layout.labels.dataLabels.color
598
- }, N(e.value.style.chart.layout.labels.dataLabels.donutNameAbbreviation ? r(Ze)({ source: l.name, length: e.value.style.chart.layout.labels.dataLabels.donutNameMaxAbbreviationSize }) : l.name), 11, Tt)) : y("", !0)
635
+ }, F(e.value.style.chart.layout.labels.dataLabels.donutNameAbbreviation ? r(et)({ source: l.name, length: e.value.style.chart.layout.labels.dataLabels.donutNameMaxAbbreviationSize }) : l.name), 11, It)) : y("", !0)
599
636
  ]))), 256))
600
637
  ]))), 256))
601
638
  ])) : y("", !0),
602
- e.value.style.chart.layout.labels.dataLabels.show ? (u(), n("g", It, [
603
- (u(!0), n(w, null, C(U.value, (l, a) => (u(), n("g", null, [
604
- (u(!0), n(w, null, C(l.donut, (o, i) => (u(), n("g", {
605
- filter: we(o, i)
639
+ e.value.style.chart.layout.labels.dataLabels.show ? (u(), n("g", Dt, [
640
+ (u(!0), n(w, null, $(U.value, (l, a) => (u(), n("g", null, [
641
+ (u(!0), n(w, null, $(l.donut, (o, i) => (u(), n("g", {
642
+ filter: xe(o, i)
606
643
  }, [
607
- le(o) && x.value.dataLabels.show && e.value.style.chart.layout.labels.dataLabels.showPercentage ? (u(), n("text", {
644
+ ae(o) && x.value.dataLabels.show && e.value.style.chart.layout.labels.dataLabels.showPercentage ? (u(), n("text", {
608
645
  key: 0,
609
646
  class: z({ animated: e.value.useCssAnimation }),
610
647
  "text-anchor": r(A)(o, !0).anchor,
611
648
  x: r(A)(o, !1, e.value.style.chart.layout.labels.dataLabels.offsetX).x || 0,
612
- y: r(ue)(o, e.value.style.chart.layout.labels.dataLabels.offsetY, e.value.style.chart.layout.labels.dataLabels.offsetY),
649
+ y: r(ne)(o, e.value.style.chart.layout.labels.dataLabels.offsetY, e.value.style.chart.layout.labels.dataLabels.offsetY),
613
650
  fill: e.value.style.chart.layout.labels.dataLabels.useSerieColor ? o.color : e.value.style.chart.layout.labels.dataLabels.color,
614
651
  "font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
615
652
  "font-weight": e.value.style.chart.layout.labels.dataLabels.boldPercentage ? "bold" : "normal"
616
- }, N(r(T)({ v: o.proportion * 100, s: "%", r: e.value.style.chart.layout.labels.dataLabels.roundingPercentage })), 11, Pt)) : y("", !0),
617
- le(o) && x.value.dataLabels.show && e.value.style.chart.layout.labels.dataLabels.showPercentage && e.value.style.chart.layout.labels.dataLabels.showValue ? (u(), n("text", {
653
+ }, F(r(C)({ v: o.proportion * 100, s: "%", r: e.value.style.chart.layout.labels.dataLabels.roundingPercentage })), 11, zt)) : y("", !0),
654
+ ae(o) && x.value.dataLabels.show && e.value.style.chart.layout.labels.dataLabels.showPercentage && e.value.style.chart.layout.labels.dataLabels.showValue ? (u(), n("text", {
618
655
  key: 1,
619
656
  class: z({ animated: e.value.useCssAnimation }),
620
657
  "text-anchor": r(A)(o, !0).anchor,
621
658
  x: r(A)(o, !1, e.value.style.chart.layout.labels.dataLabels.offsetX).x || 0,
622
- y: r(ue)(o, e.value.style.chart.layout.labels.dataLabels.offsetY, e.value.style.chart.layout.labels.dataLabels.offsetY) + e.value.style.chart.layout.labels.dataLabels.fontSize,
659
+ y: r(ne)(o, e.value.style.chart.layout.labels.dataLabels.offsetY, e.value.style.chart.layout.labels.dataLabels.offsetY) + e.value.style.chart.layout.labels.dataLabels.fontSize,
623
660
  fill: e.value.style.chart.layout.labels.dataLabels.useSerieColor ? o.color : e.value.style.chart.layout.labels.dataLabels.color,
624
661
  "font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
625
662
  "font-weight": e.value.style.chart.layout.labels.dataLabels.boldValue ? "bold" : "normal"
626
- }, " (" + N(r(T)({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: o.value, s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.style.chart.layout.labels.dataLabels.roundingValue })) + ") ", 11, zt)) : y("", !0),
627
- le(o) && x.value.dataLabels.show && !e.value.style.chart.layout.labels.dataLabels.showPercentage && e.value.style.chart.layout.labels.dataLabels.showValue ? (u(), n("text", {
663
+ }, " (" + F(r(R)(
664
+ e.value.style.chart.layout.labels.dataLabels.formatter,
665
+ o.value,
666
+ r(C)({
667
+ p: e.value.style.chart.layout.labels.dataLabels.prefix,
668
+ v: o.value,
669
+ s: e.value.style.chart.layout.labels.dataLabels.suffix,
670
+ r: e.value.style.chart.layout.labels.dataLabels.roundingValue
671
+ }),
672
+ { datapoint: o, seriesIndex: a, datapointIndex: i }
673
+ )) + ") ", 11, Ot)) : y("", !0),
674
+ ae(o) && x.value.dataLabels.show && !e.value.style.chart.layout.labels.dataLabels.showPercentage && e.value.style.chart.layout.labels.dataLabels.showValue ? (u(), n("text", {
628
675
  key: 2,
629
676
  class: z({ animated: e.value.useCssAnimation }),
630
677
  "text-anchor": r(A)(o, !0).anchor,
631
678
  x: r(A)(o, !1, e.value.style.chart.layout.labels.dataLabels.offsetX).x || 0,
632
- y: r(ue)(o, e.value.style.chart.layout.labels.dataLabels.offsetY, e.value.style.chart.layout.labels.dataLabels.offsetY),
679
+ y: r(ne)(o, e.value.style.chart.layout.labels.dataLabels.offsetY, e.value.style.chart.layout.labels.dataLabels.offsetY),
633
680
  fill: e.value.style.chart.layout.labels.dataLabels.useSerieColor ? o.color : e.value.style.chart.layout.labels.dataLabels.color,
634
681
  "font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
635
682
  "font-weight": e.value.style.chart.layout.labels.dataLabels.boldValue ? "bold" : "normal"
636
- }, N(r(T)({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: o.value, s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.style.chart.layout.labels.dataLabels.roundingValue })), 11, Ot)) : y("", !0)
637
- ], 8, Dt))), 256))
683
+ }, F(r(R)(
684
+ e.value.style.chart.layout.labels.dataLabels.formatter,
685
+ o.value,
686
+ r(C)({
687
+ p: e.value.style.chart.layout.labels.dataLabels.prefix,
688
+ v: o.value,
689
+ s: e.value.style.chart.layout.labels.dataLabels.suffix,
690
+ r: e.value.style.chart.layout.labels.dataLabels.roundingValue
691
+ }),
692
+ { datapoint: o, seriesIndex: a, datapointIndex: i }
693
+ )), 11, At)) : y("", !0)
694
+ ], 8, Pt))), 256))
638
695
  ]))), 256))
639
696
  ])) : y("", !0),
640
- (u(!0), n(w, null, C(U.value, (l, a) => (u(), n("g", null, [
641
- (u(!0), n(w, null, C(l.donut, (o, i) => (u(), n("g", null, [
642
- p("path", {
697
+ (u(!0), n(w, null, $(U.value, (l, a) => (u(), n("g", null, [
698
+ (u(!0), n(w, null, $(l.donut, (o, i) => (u(), n("g", null, [
699
+ b("path", {
643
700
  "data-cy-donut-trap": "",
644
701
  d: o.arcSlice,
645
- fill: Te.value === a ? "rgba(0,0,0,0.1)" : "transparent",
646
- onMouseenter: (g) => Oe({
702
+ fill: Ie.value === a ? "rgba(0,0,0,0.1)" : "transparent",
703
+ onMouseenter: (g) => Ae({
647
704
  datapoint: o,
648
705
  relativeIndex: a,
649
706
  seriesIndex: o.seriesIndex
650
707
  }),
651
- onClick: (g) => Pe({ datapoint: o, index: i }),
708
+ onClick: (g) => ze({ datapoint: o, index: i }),
652
709
  onMouseleave: s[0] || (s[0] = (g) => {
653
- K.value = !1, me.value = null, G.value = null, Y.value = null;
710
+ Z.value = !1, we.value = null, Y.value = null, X.value = null;
654
711
  })
655
- }, null, 40, At)
712
+ }, null, 40, Vt)
656
713
  ]))), 256))
657
714
  ]))), 256)),
658
- $(t.$slots, "svg", { svg: v.value }, void 0, !0)
659
- ], 14, yt)) : y("", !0),
660
- t.$slots.watermark ? (u(), n("div", Vt, [
661
- $(t.$slots, "watermark", H(q({ isPrinting: r(ce) || r(ve) })), void 0, !0)
715
+ _(t.$slots, "svg", { svg: v.value }, void 0, !0)
716
+ ], 14, bt)) : y("", !0),
717
+ t.$slots.watermark ? (u(), n("div", Mt, [
718
+ _(t.$slots, "watermark", q(J({ isPrinting: r(ve) || r(he) })), void 0, !0)
662
719
  ])) : y("", !0),
663
- E.value ? y("", !0) : (u(), W(ct, {
720
+ E.value ? y("", !0) : (u(), H(vt, {
664
721
  key: 4,
665
722
  config: {
666
723
  type: "donut",
@@ -672,8 +729,8 @@ const ne = (V) => (Ge("data-v-2c46844f"), V = V(), Ye(), V), ft = ["id"], yt = [
672
729
  }
673
730
  }
674
731
  }, null, 8, ["config"])),
675
- se(it, {
676
- show: x.value.showTooltip && K.value,
732
+ ue(dt, {
733
+ show: x.value.showTooltip && Z.value,
677
734
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
678
735
  color: e.value.style.chart.tooltip.color,
679
736
  borderRadius: e.value.style.chart.tooltip.borderRadius,
@@ -684,43 +741,53 @@ const ne = (V) => (Ge("data-v-2c46844f"), V = V(), Ye(), V), ft = ["id"], yt = [
684
741
  position: e.value.style.chart.tooltip.position,
685
742
  offsetY: e.value.style.chart.tooltip.offsetY,
686
743
  parent: M.value,
687
- content: Q.value,
688
- isCustom: r(Le)(e.value.style.chart.tooltip.customFormat)
744
+ content: j.value,
745
+ isCustom: r(Se)(e.value.style.chart.tooltip.customFormat)
689
746
  }, {
690
747
  "tooltip-before": m(() => [
691
- $(t.$slots, "tooltip-before", H(q({ ...te.value })), void 0, !0)
748
+ _(t.$slots, "tooltip-before", q(J({ ...le.value })), void 0, !0)
692
749
  ]),
693
750
  "tooltip-after": m(() => [
694
- $(t.$slots, "tooltip-after", H(q({ ...te.value })), void 0, !0)
751
+ _(t.$slots, "tooltip-after", q(J({ ...le.value })), void 0, !0)
695
752
  ]),
696
753
  _: 3
697
754
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
698
755
  e.value.style.chart.legend.show ? (u(), n("div", {
699
756
  key: 5,
700
757
  ref_key: "chartLegend",
701
- ref: Z,
702
- class: z({ "vue-ui-nested-donuts-legend": ae.value.length > 1 })
758
+ ref: ee,
759
+ class: z({ "vue-ui-nested-donuts-legend": oe.value.length > 1 })
703
760
  }, [
704
- (u(!0), n(w, null, C(ae.value, (l) => (u(), W(dt, {
761
+ (u(!0), n(w, null, $(oe.value, (l) => (u(), H(ct, {
705
762
  legendSet: l,
706
- config: Ae.value,
707
- onClickMarker: s[1] || (s[1] = ({ legend: a }) => ee(a))
763
+ config: Ve.value,
764
+ onClickMarker: s[1] || (s[1] = ({ legend: a }) => te(a))
708
765
  }, {
709
766
  legendTitle: m(({ titleSet: a }) => [
710
- a[0].arcOf ? (u(), n("div", Mt, N(a[0].arcOf), 1)) : y("", !0)
767
+ a[0].arcOf ? (u(), n("div", Bt, F(a[0].arcOf), 1)) : y("", !0)
711
768
  ]),
712
769
  item: m(({ legend: a, index: o }) => [
713
- p("div", {
714
- onClick: (i) => ee(a),
715
- style: oe(`opacity:${f.value.includes(a.id) ? 0.5 : 1}`)
770
+ b("div", {
771
+ onClick: (i) => te(a),
772
+ style: se(`opacity:${f.value.includes(a.id) ? 0.5 : 1}`)
716
773
  }, [
717
- j(N(a.name) + ": " + N(r(T)({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: a.value, s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.style.chart.legend.roundingValue })) + " ", 1),
774
+ K(F(a.name) + ": " + F(r(R)(
775
+ e.value.style.chart.layout.labels.dataLabels.formatter,
776
+ a.value,
777
+ r(C)({
778
+ p: e.value.style.chart.layout.labels.dataLabels.prefix,
779
+ v: a.value,
780
+ s: e.value.style.chart.layout.labels.dataLabels.suffix,
781
+ r: e.value.style.chart.legend.roundingValue
782
+ }),
783
+ { datapoint: a, seriesIndex: o }
784
+ )) + " ", 1),
718
785
  f.value.includes(a.id) ? (u(), n(w, { key: 1 }, [
719
- j(" ( - % ) ")
786
+ K(" ( - % ) ")
720
787
  ], 64)) : (u(), n(w, { key: 0 }, [
721
- j(" (" + N(isNaN(a.value / a.total) ? "-" : r(T)({ v: a.value / a.total * 100, s: "%", r: e.value.style.chart.legend.roundingPercentage })) + ") ", 1)
788
+ K(" (" + F(isNaN(a.value / a.total) ? "-" : r(C)({ v: a.value / a.total * 100, s: "%", r: e.value.style.chart.legend.roundingPercentage })) + ") ", 1)
722
789
  ], 64))
723
- ], 12, Bt)
790
+ ], 12, Ut)
724
791
  ]),
725
792
  _: 2
726
793
  }, 1032, ["legendSet", "config"]))), 256))
@@ -728,11 +795,11 @@ const ne = (V) => (Ge("data-v-2c46844f"), V = V(), Ye(), V), ft = ["id"], yt = [
728
795
  e.value.style.chart.legend.show ? y("", !0) : (u(), n("div", {
729
796
  key: 6,
730
797
  ref_key: "chartLegend",
731
- ref: Z
798
+ ref: ee
732
799
  }, [
733
- $(t.$slots, "legend", { legend: ae.value }, void 0, !0)
800
+ _(t.$slots, "legend", { legend: oe.value }, void 0, !0)
734
801
  ], 512)),
735
- E.value ? (u(), W(vt, {
802
+ E.value ? (u(), H(ht, {
736
803
  key: 7,
737
804
  hideDetails: "",
738
805
  config: {
@@ -749,31 +816,31 @@ const ne = (V) => (Ge("data-v-2c46844f"), V = V(), Ye(), V), ft = ["id"], yt = [
749
816
  }
750
817
  }, {
751
818
  content: m(() => [
752
- se(rt, {
753
- colNames: X.value.colNames,
754
- head: X.value.head,
755
- body: X.value.body,
756
- config: X.value.config,
819
+ ue(it, {
820
+ colNames: W.value.colNames,
821
+ head: W.value.head,
822
+ body: W.value.body,
823
+ config: W.value.config,
757
824
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
758
825
  onClose: s[2] || (s[2] = (l) => x.value.showTable = !1)
759
826
  }, {
760
827
  th: m(({ th: l }) => [
761
- p("div", {
828
+ b("div", {
762
829
  innerHTML: l,
763
830
  style: { display: "flex", "align-items": "center" }
764
- }, null, 8, Ut)
831
+ }, null, 8, Rt)
765
832
  ]),
766
833
  td: m(({ td: l }) => [
767
- j(N(l.name || l), 1)
834
+ K(F(l.name || l), 1)
768
835
  ]),
769
836
  _: 1
770
837
  }, 8, ["colNames", "head", "body", "config", "title"])
771
838
  ]),
772
839
  _: 1
773
840
  }, 8, ["config"])) : y("", !0)
774
- ], 14, ft));
841
+ ], 14, yt));
775
842
  }
776
- }, el = /* @__PURE__ */ ht(Et, [["__scopeId", "data-v-2c46844f"]]);
843
+ }, tl = /* @__PURE__ */ ft(Et, [["__scopeId", "data-v-57753849"]]);
777
844
  export {
778
- el as default
845
+ tl as default
779
846
  };