vue-data-ui 3.23.10 → 3.23.12

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 (200) hide show
  1. package/README.md +40 -40
  2. package/dist/{Arrow-bwmME0jw.js → Arrow-DrF4NNJO.js} +1 -1
  3. package/dist/{BaseDraggableDialog-DBVHlhQZ.js → BaseDraggableDialog-Dr_Q6Yt5.js} +2 -2
  4. package/dist/{BaseIcon-B4n7br_R.js → BaseIcon-BbElSC8_.js} +1 -1
  5. package/dist/{BaseLegendToggle-wRhcG_-q.js → BaseLegendToggle-CtEdLr4R.js} +1 -1
  6. package/dist/{BaseZoomControls-BZjzzyQo.js → BaseZoomControls-Cvq4UmNG.js} +2 -2
  7. package/dist/{ColorPicker-B9kUMLSz.js → ColorPicker-ChOgAmCi.js} +2 -2
  8. package/dist/{DataTable-DMsScfkx.js → DataTable-CmyEubtT.js} +2 -2
  9. package/dist/{HillActions-IWPfuceW.js → HillActions-3HneGJhS.js} +1 -1
  10. package/dist/{Legend-DWEFXq9E.js → Legend-BJtY2RA9.js} +2 -2
  11. package/dist/{NonSvgPenAndPaper-Crs4-xWz.js → NonSvgPenAndPaper-DmxzHJtV.js} +3 -3
  12. package/dist/{PackageVersion-DNTJUKh1.js → PackageVersion-CT8FfP7h.js} +1 -1
  13. package/dist/{PenAndPaper-DJ607Hx6.js → PenAndPaper-CIa1F5Jq.js} +3 -3
  14. package/dist/{Shape-BAhF1ToV.js → Shape-BAL5bQmA.js} +1 -1
  15. package/dist/{SlicerPreview-sXtk2ZZ2.js → SlicerPreview-BRRyc1p7.js} +426 -426
  16. package/dist/{SparkTooltip-BE50SZQH.js → SparkTooltip-Bou05CV_.js} +1 -1
  17. package/dist/{Title-BGLPsoA9.js → Title-CaVA8EIw.js} +1 -1
  18. package/dist/{Tooltip-DO4-MVhc.js → Tooltip-CVxJe3UW.js} +1 -1
  19. package/dist/{UserOptions-HQyukyl2.js → UserOptions-WH7-49V0.js} +2 -2
  20. package/dist/components/arrow.js +1 -1
  21. package/dist/components/vue-ui-3d-bar.js +1 -1
  22. package/dist/components/vue-ui-accordion.js +1 -1
  23. package/dist/components/vue-ui-age-pyramid.js +1 -1
  24. package/dist/components/vue-ui-annotator.js +1 -1
  25. package/dist/components/vue-ui-bullet.js +1 -1
  26. package/dist/components/vue-ui-bump.js +1 -1
  27. package/dist/components/vue-ui-candlestick.js +1 -1
  28. package/dist/components/vue-ui-carousel-table.js +1 -1
  29. package/dist/components/vue-ui-chestnut.js +1 -1
  30. package/dist/components/vue-ui-chord.js +1 -1
  31. package/dist/components/vue-ui-circle-pack.js +1 -1
  32. package/dist/components/vue-ui-cursor.js +1 -1
  33. package/dist/components/vue-ui-dag.js +1 -1
  34. package/dist/components/vue-ui-dashboard.js +1 -1
  35. package/dist/components/vue-ui-digits.js +1 -1
  36. package/dist/components/vue-ui-donut-evolution.js +1 -1
  37. package/dist/components/vue-ui-donut.js +1 -1
  38. package/dist/components/vue-ui-dumbbell.js +1 -1
  39. package/dist/components/vue-ui-flow.js +1 -1
  40. package/dist/components/vue-ui-funnel.js +1 -1
  41. package/dist/components/vue-ui-galaxy.js +1 -1
  42. package/dist/components/vue-ui-gauge.js +1 -1
  43. package/dist/components/vue-ui-geo.js +1 -1
  44. package/dist/components/vue-ui-gizmo.js +1 -1
  45. package/dist/components/vue-ui-heatmap.js +1 -1
  46. package/dist/components/vue-ui-hill.js +1 -1
  47. package/dist/components/vue-ui-history-plot.js +1 -1
  48. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  49. package/dist/components/vue-ui-icon.js +1 -1
  50. package/dist/components/vue-ui-kpi.js +1 -1
  51. package/dist/components/vue-ui-mini-loader.js +1 -1
  52. package/dist/components/vue-ui-molecule.js +1 -1
  53. package/dist/components/vue-ui-mood-radar.js +1 -1
  54. package/dist/components/vue-ui-nested-donuts.js +1 -1
  55. package/dist/components/vue-ui-onion.js +1 -1
  56. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  57. package/dist/components/vue-ui-quadrant.js +1 -1
  58. package/dist/components/vue-ui-quick-chart.js +1 -1
  59. package/dist/components/vue-ui-radar.js +1 -1
  60. package/dist/components/vue-ui-rating.js +1 -1
  61. package/dist/components/vue-ui-relation-circle.js +1 -1
  62. package/dist/components/vue-ui-ridgeline.js +1 -1
  63. package/dist/components/vue-ui-rings.js +1 -1
  64. package/dist/components/vue-ui-scatter.js +1 -1
  65. package/dist/components/vue-ui-skeleton.js +1 -1
  66. package/dist/components/vue-ui-smiley.js +1 -1
  67. package/dist/components/vue-ui-spark-trend.js +1 -1
  68. package/dist/components/vue-ui-sparkbar.js +1 -1
  69. package/dist/components/vue-ui-sparkgauge.js +1 -1
  70. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  71. package/dist/components/vue-ui-sparkline.js +1 -1
  72. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  73. package/dist/components/vue-ui-stackbar.js +1 -1
  74. package/dist/components/vue-ui-stackline.js +1 -1
  75. package/dist/components/vue-ui-strip-plot.js +1 -1
  76. package/dist/components/vue-ui-table-heatmap.js +1 -1
  77. package/dist/components/vue-ui-table-sparkline.js +1 -1
  78. package/dist/components/vue-ui-table.js +1 -1
  79. package/dist/components/vue-ui-thermometer.js +1 -1
  80. package/dist/components/vue-ui-timer.js +1 -1
  81. package/dist/components/vue-ui-tiremarks.js +1 -1
  82. package/dist/components/vue-ui-treemap.js +1 -1
  83. package/dist/components/vue-ui-vertical-bar.js +1 -1
  84. package/dist/components/vue-ui-waffle.js +1 -1
  85. package/dist/components/vue-ui-wheel.js +1 -1
  86. package/dist/components/vue-ui-word-cloud.js +1 -1
  87. package/dist/components/vue-ui-world.js +1 -1
  88. package/dist/components/vue-ui-xy-canvas.js +1 -1
  89. package/dist/components/vue-ui-xy.js +1 -1
  90. package/dist/{dom-to-png-Cg_3vpOo.js → dom-to-png-COvyU2SG.js} +1 -1
  91. package/dist/exposedLib-DrUEXSyf.js +28 -0
  92. package/dist/{img-tU9mMt9W.js → img-Bkzj3lDD.js} +1 -1
  93. package/dist/{labelUtils-C_lMnQRs.js → labelUtils-iX76cA2-.js} +1 -1
  94. package/dist/{lib-AT2PUyyh.js → lib-Dqr_-I6Y.js} +165 -162
  95. package/dist/{package-enC-Nivt.js → package-CXgp_UWC.js} +1 -1
  96. package/dist/{pdf-ColHHJFH.js → pdf-Bk_9lTdQ.js} +1 -1
  97. package/dist/{render-common-CqcoYfCA.js → render-common-D9TESN6N.js} +12 -12
  98. package/dist/ssr/vue-ui-donut.js +1 -1
  99. package/dist/ssr/vue-ui-xy.js +1 -1
  100. package/dist/ssr.js +2 -2
  101. package/dist/style.css +1 -1
  102. package/dist/types/vue-data-ui.d.ts +13 -2
  103. package/dist/types/vue-ui-dag.d.ts +2 -0
  104. package/dist/{useNestedProp-CW0vJS1B.js → useNestedProp-CulPqtou.js} +1 -1
  105. package/dist/{usePrinter-BFS7d6eb.js → usePrinter-CEiH1b6R.js} +2 -2
  106. package/dist/utils.js +9 -9
  107. package/dist/{vue-data-ui-DD7J3yor.js → vue-data-ui-BTHfxD0A.js} +69 -69
  108. package/dist/vue-data-ui.js +73 -73
  109. package/dist/vue-ui-3d-bar-qYgLQzCk.js +1829 -0
  110. package/dist/{vue-ui-accordion-DJNjilyy.js → vue-ui-accordion-C6L7glHU.js} +3 -3
  111. package/dist/{vue-ui-age-pyramid-DI8b5E2H.js → vue-ui-age-pyramid-DlDqWHMv.js} +27 -27
  112. package/dist/{vue-ui-annotator-7ZVfFskI.js → vue-ui-annotator-BwIu0JUV.js} +9 -9
  113. package/dist/vue-ui-bullet-KPROgHpN.js +700 -0
  114. package/dist/{vue-ui-bump-DzB3WQnq.js → vue-ui-bump-_ccDjRda.js} +237 -237
  115. package/dist/{vue-ui-candlestick--YWEtek_.js → vue-ui-candlestick-C_21KIXE.js} +245 -245
  116. package/dist/{vue-ui-carousel-table-Dn3RZU0p.js → vue-ui-carousel-table--JukD8gC.js} +108 -108
  117. package/dist/{vue-ui-chestnut-BIsXeXiU.js → vue-ui-chestnut-BWvgfxnY.js} +86 -86
  118. package/dist/vue-ui-chord-CGkWt2XK.js +1345 -0
  119. package/dist/vue-ui-circle-pack-BWaN2mEB.js +1633 -0
  120. package/dist/{vue-ui-cursor-C-P2D5i6.js → vue-ui-cursor-YbxnsOd1.js} +3 -3
  121. package/dist/{vue-ui-dag-CThnMMWA.js → vue-ui-dag-B-X2eE3W.js} +923 -885
  122. package/dist/{vue-ui-dashboard-D0NNTRO3.js → vue-ui-dashboard-DgayqETw.js} +69 -69
  123. package/dist/{vue-ui-digits-9tGjGzZh.js → vue-ui-digits-1ULOKtDh.js} +3 -3
  124. package/dist/{vue-ui-donut-EZu8p7HF.js → vue-ui-donut-Bz2ZI_vO.js} +85 -85
  125. package/dist/{vue-ui-donut-DLN9uPOi.js → vue-ui-donut-Ci2MsJLu.js} +64 -64
  126. package/dist/{vue-ui-donut-evolution-mu-iGTIn.js → vue-ui-donut-evolution-Bo54mlFQ.js} +347 -347
  127. package/dist/{vue-ui-dumbbell-Dvldi3Oo.js → vue-ui-dumbbell-D2bJ_P7K.js} +229 -229
  128. package/dist/vue-ui-flow-D9m-k3tM.js +1214 -0
  129. package/dist/vue-ui-funnel-DyETq2KE.js +747 -0
  130. package/dist/{vue-ui-galaxy-D6eYN8Ut.js → vue-ui-galaxy-pjGKZLrq.js} +64 -64
  131. package/dist/vue-ui-gauge-BO5lLCyJ.js +932 -0
  132. package/dist/{vue-ui-geo-CQqNemR6.js → vue-ui-geo-DpyLvk_B.js} +34 -34
  133. package/dist/{vue-ui-gizmo-ClunTUxX.js → vue-ui-gizmo-CUl8dgmV.js} +10 -10
  134. package/dist/{vue-ui-heatmap-B_pSQNzO.js → vue-ui-heatmap-CiV3kCrx.js} +472 -472
  135. package/dist/{vue-ui-hill-Byp0Tnny.js → vue-ui-hill-CkMtYGo2.js} +10 -10
  136. package/dist/vue-ui-history-plot-X2gQI4TY.js +1695 -0
  137. package/dist/vue-ui-horizontal-bar-DVT1wthh.js +1708 -0
  138. package/dist/{vue-ui-kpi-BKw5t-rX.js → vue-ui-kpi-CWPmkLKR.js} +3 -3
  139. package/dist/{vue-ui-mini-loader-BNm0MQDw.js → vue-ui-mini-loader-BVSIAFYi.js} +2 -2
  140. package/dist/{vue-ui-molecule-DRwQV5hN.js → vue-ui-molecule-DnW5HYZP.js} +176 -176
  141. package/dist/{vue-ui-mood-radar-Bj3KTWYj.js → vue-ui-mood-radar-FovwTDLw.js} +20 -20
  142. package/dist/{vue-ui-nested-donuts-83Wh2w6z.js → vue-ui-nested-donuts-DHCOlxTO.js} +104 -104
  143. package/dist/vue-ui-onion-CzAEqZ0B.js +1233 -0
  144. package/dist/vue-ui-parallel-coordinate-plot-BZN75P6u.js +1430 -0
  145. package/dist/{vue-ui-quadrant-_J-Qr7-K.js → vue-ui-quadrant-CNeP5WEC.js} +32 -32
  146. package/dist/{vue-ui-quick-chart-DcOUq4ym.js → vue-ui-quick-chart-Bnj8oh82.js} +153 -153
  147. package/dist/{vue-ui-radar-FlRlsoAd.js → vue-ui-radar-DMyMAtx7.js} +41 -41
  148. package/dist/{vue-ui-rating-eCxEZD8C.js → vue-ui-rating-dBCk6ECe.js} +26 -26
  149. package/dist/vue-ui-relation-circle-DFj5V39I.js +903 -0
  150. package/dist/vue-ui-ridgeline-BaplQZZK.js +1614 -0
  151. package/dist/vue-ui-rings-B9QJ1Rnb.js +1250 -0
  152. package/dist/vue-ui-scatter-UH0wqUO5.js +2403 -0
  153. package/dist/{vue-ui-skeleton-CNOam3kC.js → vue-ui-skeleton-DkoEclfa.js} +3 -3
  154. package/dist/{vue-ui-smiley-YdyidjBH.js → vue-ui-smiley-D1pW2Fdy.js} +23 -23
  155. package/dist/{vue-ui-spark-trend-CS5GLtYL.js → vue-ui-spark-trend-BW8WYOva.js} +23 -23
  156. package/dist/{vue-ui-sparkbar-DDHwgP4k.js → vue-ui-sparkbar-ADRsH-GZ.js} +24 -24
  157. package/dist/{vue-ui-sparkgauge-BcQu9V3h.js → vue-ui-sparkgauge-BYs1L6I7.js} +61 -61
  158. package/dist/{vue-ui-sparkhistogram-CPsA5P6c.js → vue-ui-sparkhistogram-D1Paq9X0.js} +15 -15
  159. package/dist/vue-ui-sparkline-D2Hf_NP-.js +1584 -0
  160. package/dist/{vue-ui-sparkstackbar-4tsTxMe2.js → vue-ui-sparkstackbar-Uy6Q0X15.js} +207 -207
  161. package/dist/vue-ui-stackbar-Vt9AjazE.js +2332 -0
  162. package/dist/{vue-ui-stackline-BNCWO_jG.js → vue-ui-stackline-CBIGhWpn.js} +605 -605
  163. package/dist/{vue-ui-strip-plot-2Y1c02Ek.js → vue-ui-strip-plot-DhZV1Sl6.js} +57 -57
  164. package/dist/vue-ui-table-DqMxdgj4.js +1352 -0
  165. package/dist/{vue-ui-table-heatmap-BacaEjQy.js → vue-ui-table-heatmap-CglQqfWH.js} +84 -84
  166. package/dist/{vue-ui-table-sparkline-B8oAU5yr.js → vue-ui-table-sparkline-2KZ2UoEA.js} +11 -11
  167. package/dist/vue-ui-thermometer-mVP2GqO7.js +756 -0
  168. package/dist/{vue-ui-timer-CWZgSpP8.js → vue-ui-timer-CGrqG8H3.js} +12 -12
  169. package/dist/{vue-ui-tiremarks-LLVCPyg9.js → vue-ui-tiremarks-DyFUPB5s.js} +12 -12
  170. package/dist/{vue-ui-treemap-ehBl9JMC.js → vue-ui-treemap-BVFHSTfq.js} +44 -44
  171. package/dist/vue-ui-waffle-DNZsc5x0.js +1619 -0
  172. package/dist/{vue-ui-wheel-C4OHPrtC.js → vue-ui-wheel-Cg4oNFmH.js} +28 -28
  173. package/dist/{vue-ui-word-cloud-CDHn3Kwa.js → vue-ui-word-cloud-CUf1h_L1.js} +32 -32
  174. package/dist/{vue-ui-world-ao1xf04I.js → vue-ui-world-CIcrI3zP.js} +116 -116
  175. package/dist/{vue-ui-xy-DmJDCl3c.js → vue-ui-xy-8V-CU7No.js} +99 -99
  176. package/dist/{vue-ui-xy-_U3wmtCf.js → vue-ui-xy-CJ5ZixIL.js} +304 -304
  177. package/dist/vue-ui-xy-canvas-BHpBO5dS.js +1823 -0
  178. package/package.json +1 -1
  179. package/dist/exposedLib-vfRiIvq_.js +0 -28
  180. package/dist/vue-ui-3d-bar-DgrcdAgz.js +0 -1829
  181. package/dist/vue-ui-bullet-Dyd5F1Wa.js +0 -700
  182. package/dist/vue-ui-chord-BimXqVsF.js +0 -1345
  183. package/dist/vue-ui-circle-pack-DKQEhL-L.js +0 -1633
  184. package/dist/vue-ui-flow-DYZBT5Cb.js +0 -1214
  185. package/dist/vue-ui-funnel--NaxO0cZ.js +0 -747
  186. package/dist/vue-ui-gauge-DTIEl2Xb.js +0 -932
  187. package/dist/vue-ui-history-plot-CMu8ST1E.js +0 -1695
  188. package/dist/vue-ui-horizontal-bar-BQn7WxQ-.js +0 -1708
  189. package/dist/vue-ui-onion-C27GpneA.js +0 -1233
  190. package/dist/vue-ui-parallel-coordinate-plot-BklOszr1.js +0 -1430
  191. package/dist/vue-ui-relation-circle-DnsxHv7t.js +0 -903
  192. package/dist/vue-ui-ridgeline-TopTLyaE.js +0 -1614
  193. package/dist/vue-ui-rings-obVfb09j.js +0 -1250
  194. package/dist/vue-ui-scatter-BHSuA506.js +0 -2403
  195. package/dist/vue-ui-sparkline-CnbO-GkM.js +0 -1584
  196. package/dist/vue-ui-stackbar-2_SrMFNT.js +0 -2332
  197. package/dist/vue-ui-table-DJZxHo5N.js +0 -1352
  198. package/dist/vue-ui-thermometer-BGtxNU9T.js +0 -756
  199. package/dist/vue-ui-waffle-DpBAXbhh.js +0 -1610
  200. package/dist/vue-ui-xy-canvas-Bx-9y53V.js +0 -1823
@@ -1,28 +1,28 @@
1
- import { Bt as e, Jt as t, K as n, Kt as r, Mt as i, Pt as a, S as o, Vt as s, X as c, b as l, f as u, h as d, i as f, j as p, kt as m, nt as h, p as g, q as _, t as v } from "./lib-AT2PUyyh.js";
1
+ import { Ht as e, It as t, Jt as n, K as r, Pt as i, S as a, Ut as o, X as s, Xt as c, b as l, f as u, h as d, i as f, j as p, jt as m, p as h, q as g, rt as _, t as v } from "./lib-Dqr_-I6Y.js";
2
2
  import { t as y } from "./useConfig-DwdGsXTx.js";
3
3
  import { t as b } from "./vue_ui_donut-BDGqG07h.js";
4
- import { _ as x, a as S, c as C, d as w, g as T, i as E, l as D, n as O, o as k, p as A, r as j, s as ee, t as te, u as M, v as N } from "./render-common-CqcoYfCA.js";
4
+ import { _ as x, a as S, c as C, d as w, g as T, i as E, l as D, n as O, o as k, p as A, r as j, s as ee, t as te, u as M, v as N } from "./render-common-D9TESN6N.js";
5
5
  //#region src/svg/vue-ui-donut/create.js
6
6
  var { vue_ui_donut: ne } = y();
7
7
  function re({ config: e = {} } = {}) {
8
- let n = e ?? {}, i = t({
9
- userConfig: n,
8
+ let r = e ?? {}, i = c({
9
+ userConfig: r,
10
10
  defaultConfig: ne
11
- }), o = i.theme;
12
- if (!o) return {
11
+ }), a = i.theme;
12
+ if (!a) return {
13
13
  ...i,
14
- customPalette: i.customPalette?.length ? i.customPalette : a
14
+ customPalette: i.customPalette?.length ? i.customPalette : t
15
15
  };
16
- let s = t({
17
- userConfig: b[o] || {},
16
+ let o = c({
17
+ userConfig: b[a] || {},
18
18
  defaultConfig: i
19
- }), c = t({
20
- userConfig: n,
21
- defaultConfig: s
19
+ }), s = c({
20
+ userConfig: r,
21
+ defaultConfig: o
22
22
  });
23
23
  return {
24
- ...c,
25
- customPalette: c.customPalette?.length ? c.customPalette : r[o] || a
24
+ ...s,
25
+ customPalette: s.customPalette?.length ? s.customPalette : n[a] || t
26
26
  };
27
27
  }
28
28
  function P(e, t = 0) {
@@ -38,27 +38,27 @@ function ie(e) {
38
38
  function ae(e, t) {
39
39
  return String(e?.name ?? e?.label ?? `Serie ${t + 1}`);
40
40
  }
41
- function oe(e = [], t) {
42
- let n = Array.isArray(t.customPalette) ? t.customPalette : a;
41
+ function oe(e = [], n) {
42
+ let r = Array.isArray(n.customPalette) ? n.customPalette : t;
43
43
  return (Array.isArray(e) ? e : []).map((e, t) => ({
44
44
  source: e,
45
45
  sourceIndex: t,
46
46
  value: ie(e)
47
47
  })).filter((e) => Number.isFinite(e.value)).sort((e, t) => e.source?.ghost && !t.source?.ghost ? 1 : t.source?.ghost && !e.source?.ghost ? -1 : t.value - e.value).map((e, t) => {
48
- let r = e.source, i = e.value, a = (r?.color ? o(r.color) : "") || n[t % n.length];
48
+ let n = e.source, i = e.value, o = (n?.color ? a(n.color) : "") || r[t % r.length];
49
49
  return {
50
- ...r,
51
- id: r?.id ?? `donut_serie_${t}`,
52
- name: ae(r, t),
50
+ ...n,
51
+ id: n?.id ?? `donut_serie_${t}`,
52
+ name: ae(n, t),
53
53
  value: i,
54
54
  absoluteValue: Math.abs(i),
55
- absoluteValues: Array.isArray(r?.values) ? r.values : [i],
56
- color: a,
55
+ absoluteValues: Array.isArray(n?.values) ? n.values : [i],
56
+ color: o,
57
57
  index: t,
58
58
  sourceIndex: e.sourceIndex,
59
- patternIndex: r?.patternIndex ?? t,
60
- seriesIndex: r?.seriesIndex ?? t,
61
- ghost: !!r?.ghost
59
+ patternIndex: n?.patternIndex ?? t,
60
+ seriesIndex: n?.seriesIndex ?? t,
61
+ ghost: !!n?.ghost
62
62
  };
63
63
  }).filter((e) => Number.isFinite(e.absoluteValue));
64
64
  }
@@ -117,7 +117,7 @@ function le({ dataset: e = [], config: t = {}, width: n = 512, height: r = 512,
117
117
  }
118
118
  //#endregion
119
119
  //#region src/svg/vue-ui-donut/render.js
120
- var ue = _();
120
+ var ue = g();
121
121
  function I() {
122
122
  return ue;
123
123
  }
@@ -271,9 +271,9 @@ function ve(e) {
271
271
  })), M("g", { "data-layer": "title" }, d.join(""));
272
272
  }
273
273
  function ye(t, n) {
274
- let { config: r } = t, i = [], a = !!S(r, "useGradient", !1), o = !!S(r, "layout.donut.useShadow", !1);
274
+ let { config: r } = t, i = [], a = !!S(r, "useGradient", !1), s = !!S(r, "layout.donut.useShadow", !1);
275
275
  if (a) {
276
- let a = E(r, "type", "classic"), o = x(S(r, "gradientIntensity", 30), 30);
276
+ let a = E(r, "type", "classic"), s = x(S(r, "gradientIntensity", 30), 30);
277
277
  if (a === "classic" && Number.isFinite(t.thickness / t.radius)) {
278
278
  let n = V(r) ? 1 : t.thickness / t.radius;
279
279
  i.push(M("radialGradient", { id: H(t) }, [
@@ -289,7 +289,7 @@ function ye(t, n) {
289
289
  }),
290
290
  w("stop", {
291
291
  offset: `${(1 - n / 2) * 100}%`,
292
- "stop-color": e("#FFFFFF", o)
292
+ "stop-color": e("#FFFFFF", s)
293
293
  }),
294
294
  w("stop", {
295
295
  offset: "100%",
@@ -307,15 +307,15 @@ function ye(t, n) {
307
307
  r: "62%"
308
308
  }, [w("stop", {
309
309
  offset: "0%",
310
- "stop-color": s(e.color, .05),
311
- "stop-opacity": o / 100
310
+ "stop-color": o(e.color, .05),
311
+ "stop-opacity": s / 100
312
312
  }), w("stop", {
313
313
  offset: "100%",
314
314
  "stop-color": e.color
315
315
  })].join("")));
316
316
  });
317
317
  }
318
- if (o) {
318
+ if (s) {
319
319
  let e = k(S(r, "layout.donut.shadowColor", "#000000"), "#000000"), n = x(S(r, "layout.donut.shadowOpacity", .2), .2), a = x(S(r, "layout.donut.shadowBlur", 6), 6), o = x(S(r, "layout.donut.shadowOffsetY", 3), 3);
320
320
  i.push(M("filter", {
321
321
  id: W(t),
@@ -388,16 +388,16 @@ function Ce(e, t, n) {
388
388
  }), M("g", { "data-layer": "polar-slices" }, a.join(""));
389
389
  }
390
390
  function q(e, t, n = "layout.labels.value.rounding") {
391
- let { config: r } = e, i = S(r, "layout.labels", {}), a = i.dataLabels ?? {}, o = i.value ?? {}, s = c({
391
+ let { config: r } = e, i = S(r, "layout.labels", {}), a = i.dataLabels ?? {}, o = i.value ?? {}, c = s({
392
392
  p: a.prefix ?? "",
393
393
  v: t.value,
394
394
  s: a.suffix ?? "",
395
395
  r: x(S(r, n, o.rounding ?? 0), o.rounding ?? 0)
396
396
  });
397
- return f(o.formatter, t.value, s, { datapoint: t });
397
+ return f(o.formatter, t.value, c, { datapoint: t });
398
398
  }
399
399
  function J(e, t) {
400
- let { config: n } = e, r = S(n, "layout.labels.percentage", {}), i = x(t.proportion, 0) * 100, a = c({
400
+ let { config: n } = e, r = S(n, "layout.labels.percentage", {}), i = x(t.proportion, 0) * 100, a = s({
401
401
  v: i,
402
402
  s: "%",
403
403
  r: x(r.rounding, 0)
@@ -434,7 +434,7 @@ function Q(e) {
434
434
  return !!S(e.config, "layout.curvedMarkers", S(e.config, "layout.donut.curvedMarkers", !1));
435
435
  }
436
436
  function Ee(e, t) {
437
- let n = S(e.config, "layout.labels.dataLabels", {}), r = {}, i = e.center.x, a = e.center.y, o = x(n.smallArcClusterFontSize ?? n.fontSize, 10), s = o / 3, c = o * 1.5, d = e.drawingArea.top + 16, f = e.drawingArea.bottom - 16, p = i - (e.radius + 6), m = i + (e.radius + 6), h = Q(e);
437
+ let n = S(e.config, "layout.labels.dataLabels", {}), r = {}, i = e.center.x, a = e.center.y, o = x(n.smallArcClusterFontSize ?? n.fontSize, 10), s = o / 3, c = o * 1.5, d = e.drawingArea.top + 16, f = e.drawingArea.bottom - 16, p = i - (e.radius + 6), m = i + (e.radius + 6), g = Q(e);
438
438
  function _(e) {
439
439
  return {
440
440
  x: l(e.center?.endX ?? e.endX),
@@ -442,15 +442,15 @@ function Ee(e, t) {
442
442
  };
443
443
  }
444
444
  function v({ midX: e, midY: t, bandX: n, bandY: r }) {
445
- if (!h) return `M ${e} ${t} L ${e} ${r} L ${n} ${r}`;
446
- let o = n < i ? -1 : 1, s = n - e, c = r - t, l = Math.sqrt(s * s + c * c) || 1, u = e - i, d = t - a, f = Math.sqrt(u * u + d * d) || 1, p = u / f, m = d / f, g = f + 9;
445
+ if (!g) return `M ${e} ${t} L ${e} ${r} L ${n} ${r}`;
446
+ let o = n < i ? -1 : 1, s = n - e, c = r - t, l = Math.sqrt(s * s + c * c) || 1, u = e - i, d = t - a, f = Math.sqrt(u * u + d * d) || 1, p = u / f, m = d / f, h = f + 9;
447
447
  function _({ x: e, y: t }) {
448
448
  let n = e - i, r = t - a, o = Math.sqrt(n * n + r * r) || 1;
449
- if (o >= g) return {
449
+ if (o >= h) return {
450
450
  x: e,
451
451
  y: t
452
452
  };
453
- let s = g / o;
453
+ let s = h / o;
454
454
  return {
455
455
  x: i + n * s,
456
456
  y: a + r * s
@@ -472,7 +472,7 @@ function Ee(e, t) {
472
472
  let b = _({
473
473
  x: e + p * v,
474
474
  y: t + m * v
475
- }), x = i + o * Math.max(Math.abs(n - i), g), S = _({
475
+ }), x = i + o * Math.max(Math.abs(n - i), h), S = _({
476
476
  x: n - o * Math.min(y, Math.abs(x - n) * .75),
477
477
  y: r
478
478
  });
@@ -490,7 +490,7 @@ function Ee(e, t) {
490
490
  midX: n.x,
491
491
  midY: n.y,
492
492
  inlineMarkerX: u(e).x,
493
- inlineMarkerY: g(e) - 3.5,
493
+ inlineMarkerY: h(e) - 3.5,
494
494
  labelHeight: y(e.name)
495
495
  };
496
496
  }
@@ -573,26 +573,26 @@ function Ee(e, t) {
573
573
  }), r;
574
574
  }
575
575
  function De({ state: e, arc: t, arcIndex: n, smallArcLayout: r, fontSize: i }) {
576
- let a = S(e.config, "layout.labels", {}), o = a.percentage ?? {}, s = a.name ?? {}, c = r?.labelX ?? u(t, !0, 12).x, l = r?.labelY ?? g(t), d = r?.textAnchor ?? u(t, !0, 12).anchor, { name: f } = Y(e, t), p = we(e, t), m = String(f).split(/\n/g), _ = f ? m.map((t, n) => M("tspan", {
576
+ let a = S(e.config, "layout.labels", {}), o = a.percentage ?? {}, s = a.name ?? {}, c = r?.labelX ?? u(t, !0, 12).x, l = r?.labelY ?? h(t), d = r?.textAnchor ?? u(t, !0, 12).anchor, { name: f } = Y(e, t), p = we(e, t), m = String(f).split(/\n/g), g = f ? m.map((t, n) => M("tspan", {
577
577
  class: "vue-data-ui-datalabel-name",
578
578
  x: n === 0 ? void 0 : c,
579
579
  dy: n === 0 ? void 0 : i * 1.2,
580
580
  fill: k(s.color, j(e.config)),
581
581
  "font-size": i,
582
582
  "font-weight": s.bold ? "700" : "400"
583
- }, h(t + (n === m.length - 1 ? " " : "")))).join("") : "", v = p ? M("tspan", {
583
+ }, _(t + (n === m.length - 1 ? " " : "")))).join("") : "", v = p ? M("tspan", {
584
584
  class: "vue-data-ui-datalabel-value",
585
585
  fill: k(o.color, j(e.config)),
586
586
  "font-size": i,
587
587
  "font-weight": o.bold ? "700" : "400"
588
- }, h(p)) : "";
588
+ }, _(p)) : "";
589
589
  return M("text", {
590
590
  "data-cy": `donut-label-inline-${n}`,
591
591
  class: "vue-data-ui-datalabel-inline",
592
592
  x: c,
593
593
  y: l,
594
594
  "text-anchor": d
595
- }, `${_}${v}`);
595
+ }, `${g}${v}`);
596
596
  }
597
597
  function Oe(e, t) {
598
598
  let n = S(e.config, "layout.labels", {}), r = n.dataLabels ?? {};
@@ -619,7 +619,7 @@ function Oe(e, t) {
619
619
  arcIndex: n,
620
620
  smallArcLayout: {
621
621
  labelX: u(t, !1, a + i / 2).x,
622
- labelY: g(t, a, a),
622
+ labelY: h(t, a, a),
623
623
  textAnchor: u(t).anchor
624
624
  },
625
625
  fontSize: i
@@ -644,22 +644,22 @@ function je(e, t, n, r) {
644
644
  fill: k(a.color, j(e.config)),
645
645
  "font-size": s,
646
646
  "font-weight": a.bold ? "700" : "400"
647
- }, h(String(X(e, t).replace(/\n/g, " / ")))), u = o.show ? String(t.name ?? "").split(/\n/g).map((t, r) => M("tspan", {
647
+ }, _(String(X(e, t).replace(/\n/g, " / ")))), u = o.show ? String(t.name ?? "").split(/\n/g).map((t, r) => M("tspan", {
648
648
  class: "vue-data-ui-datalabel-name",
649
649
  x: r === 0 ? void 0 : n,
650
650
  dy: r === 0 ? void 0 : c * 1.2,
651
651
  fill: k(o.color, j(e.config)),
652
652
  "font-size": c,
653
653
  "font-weight": o.bold ? "700" : "400"
654
- }, h(t))).join("") : "";
654
+ }, _(t))).join("") : "";
655
655
  return r === "end" ? `${u}${l}` : `${l}${u}`;
656
656
  }
657
- function Me(e, t, r) {
657
+ function Me(e, t, n) {
658
658
  let i = S(e.config, "layout.labels", {}), a = i.dataLabels ?? {}, o = i.value ?? {}, s = i.percentage ?? {}, c = i.name ?? {};
659
659
  if (!E(e.config, "dataLabels.show", a.show ?? !0) || !a.show) return "";
660
660
  let l = !!a.oneLine, u = x(o.fontSize, a.fontSize ?? 12), d = x(c.fontSize, a.fontSize ?? 12), f = [];
661
661
  return t.forEach((t, i) => {
662
- let a = r[i];
662
+ let a = n[i];
663
663
  if (!a || !Z(e, t)) return;
664
664
  let o = ke(e, a, 42), p = Ae(e, o);
665
665
  if (l) {
@@ -696,8 +696,8 @@ function Me(e, t, r) {
696
696
  "font-weight": c.bold ? "700" : "400",
697
697
  "text-anchor": p,
698
698
  fill: k(c.color, j(e.config))
699
- }, n({
700
- content: h(String(t.name ?? "")),
699
+ }, r({
700
+ content: _(String(t.name ?? "")),
701
701
  fontSize: d,
702
702
  fill: k(c.color, j(e.config)),
703
703
  x: o.x
@@ -727,7 +727,7 @@ function Pe(e, t) {
727
727
  })), i.push(w("circle", {
728
728
  "data-cy": `donut-label-marker-${a}`,
729
729
  cx: o?.markerX ?? u(t).x,
730
- cy: o?.markerY ?? g(t) - 3.5,
730
+ cy: o?.markerY ?? h(t) - 3.5,
731
731
  r: x(n.markerRadius, 3),
732
732
  fill: t.color,
733
733
  stroke: L(e.config),
@@ -778,7 +778,7 @@ function Ie(e, t, n) {
778
778
  if (E(e.config, "type", "classic") !== "classic" || V(e.config) || !t) return "";
779
779
  let r = S(e.config, "layout.labels.hollow", {}), i = r.total ?? {}, a = r.average ?? {}, o = [];
780
780
  if (i.show) {
781
- let n = x(i.fontSize, 14), r = !!a.show, s = e.center.y - (r ? n : 0) + x(i.offsetY, 0), l = i.value ?? {}, u = x(l.fontSize, n), d = f(l.formatter, t, c({
781
+ let n = x(i.fontSize, 14), r = !!a.show, c = e.center.y - (r ? n : 0) + x(i.offsetY, 0), l = i.value ?? {}, u = x(l.fontSize, n), d = f(l.formatter, t, s({
782
782
  p: l.prefix ?? "",
783
783
  v: t,
784
784
  s: l.suffix ?? "",
@@ -787,7 +787,7 @@ function Ie(e, t, n) {
787
787
  o.push($(i.text ?? "", {
788
788
  "data-cy": "hollow-total-name",
789
789
  x: e.center.x,
790
- y: s,
790
+ y: c,
791
791
  fill: k(i.color, j(e.config)),
792
792
  "font-size": n,
793
793
  "font-weight": i.bold ? "700" : "400"
@@ -801,7 +801,7 @@ function Ie(e, t, n) {
801
801
  }));
802
802
  }
803
803
  if (a.show) {
804
- let r = x(a.fontSize, 14), s = !!i.show, l = t / Math.max(1, n.length), u = a.value ?? {}, d = x(u.fontSize, r), p = f(u.formatter, l, c({
804
+ let r = x(a.fontSize, 14), c = !!i.show, l = t / Math.max(1, n.length), u = a.value ?? {}, d = x(u.fontSize, r), p = f(u.formatter, l, s({
805
805
  p: u.prefix ?? "",
806
806
  v: l,
807
807
  s: u.suffix ?? "",
@@ -810,14 +810,14 @@ function Ie(e, t, n) {
810
810
  o.push($(a.text ?? "", {
811
811
  "data-cy": "hollow-average-name",
812
812
  x: e.center.x,
813
- y: e.center.y + (s ? r : 0) + x(a.offsetY, 0),
813
+ y: e.center.y + (c ? r : 0) + x(a.offsetY, 0),
814
814
  fill: k(a.color, j(e.config)),
815
815
  "font-size": r,
816
816
  "font-weight": a.bold ? "700" : "400"
817
817
  })), o.push($(p, {
818
818
  "data-cy": "hollow-average-value",
819
819
  x: e.center.x,
820
- y: e.center.y + (s ? r : 0) + r + x(u.offsetY, 0),
820
+ y: e.center.y + (c ? r : 0) + r + x(u.offsetY, 0),
821
821
  fill: k(u.color, k(a.color, j(e.config))),
822
822
  "font-size": d,
823
823
  "font-weight": u.bold ? "700" : "400"
@@ -831,7 +831,7 @@ function Ie(e, t, n) {
831
831
  function Le(e, t) {
832
832
  let { config: n, center: r } = e, i = S(n, "layout.donut.labels.total", S(n, "layout.labels.total", {}));
833
833
  if (!i.show || !Number.isFinite(t) || t <= 0) return "";
834
- let a = S(n, "layout.labels.dataLabels", {}), o = x(i.fontSize, 20), s = k(i.color, j(n)), l = f(i.formatter, t, c({
834
+ let a = S(n, "layout.labels.dataLabels", {}), o = x(i.fontSize, 20), c = k(i.color, j(n)), l = f(i.formatter, t, s({
835
835
  p: a.prefix ?? "",
836
836
  v: t,
837
837
  s: a.suffix ?? "",
@@ -844,7 +844,7 @@ function Le(e, t) {
844
844
  "font-size": o,
845
845
  "font-weight": i.bold ? "700" : "400",
846
846
  "text-anchor": "middle",
847
- fill: s
847
+ fill: c
848
848
  });
849
849
  }
850
850
  function Re(e, t) {
@@ -852,7 +852,7 @@ function Re(e, t) {
852
852
  return n ? x(t.value, 0) / n * 100 : 0;
853
853
  }
854
854
  function ze(e, t) {
855
- let n = S(e.config, "legend", {}), r = S(e.config, "layout.labels", {}), i = r.dataLabels ?? {}, a = r.value ?? {}, o = c({
855
+ let n = S(e.config, "legend", {}), r = S(e.config, "layout.labels", {}), i = r.dataLabels ?? {}, a = r.value ?? {}, o = s({
856
856
  p: i.prefix ?? "",
857
857
  v: t.value,
858
858
  s: i.suffix ?? "",
@@ -864,7 +864,7 @@ function ze(e, t) {
864
864
  });
865
865
  }
866
866
  function Be(e, t) {
867
- let n = S(e.config, "legend", {}), r = S(e.config, "layout.labels", {}).percentage ?? {}, i = Re(e, t), a = c({
867
+ let n = S(e.config, "legend", {}), r = S(e.config, "layout.labels", {}).percentage ?? {}, i = Re(e, t), a = s({
868
868
  v: i,
869
869
  s: "%",
870
870
  r: x(n.roundingPercentage, r.rounding ?? 0)
@@ -931,7 +931,7 @@ function We(e, t) {
931
931
  }
932
932
  function Ge(e, t, n) {
933
933
  let r = `${E(e.config, "title.text", "Donut chart") || e.svgTitle || "Donut chart"}. ${t.length} series. Total ${l(n)}.`;
934
- return M("title", {}, h(r));
934
+ return M("title", {}, _(r));
935
935
  }
936
936
  async function Ke(e) {
937
937
  let t = e.config, n = x(e.width, S(t, "width", 512)), r = x(e.height, S(t, "height", 512)), i = R(e), a = z(i), o = me({