vue-data-ui 3.22.6 → 3.22.7

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 (191) hide show
  1. package/dist/{Arrow-Ds4xmpiQ.js → Arrow-DaGI9u-b.js} +1 -1
  2. package/dist/{BaseDraggableDialog-VbypEaAa.js → BaseDraggableDialog-1wwwdwV2.js} +2 -2
  3. package/dist/{BaseIcon-DcUvOfxf.js → BaseIcon-_-BX7be3.js} +1 -1
  4. package/dist/{BaseLegendToggle-DFwIY5bE.js → BaseLegendToggle-CHnlKalt.js} +1 -1
  5. package/dist/{BaseZoomControls-DwolSINF.js → BaseZoomControls-C9bdZSCj.js} +2 -2
  6. package/dist/{ColorPicker-UVDPcrjE.js → ColorPicker-TB3KhY3j.js} +2 -2
  7. package/dist/{DataTable-CXfvIulC.js → DataTable-CVF7DoZn.js} +2 -2
  8. package/dist/{Legend-D-635Kag.js → Legend-kAr7Vqqu.js} +2 -2
  9. package/dist/{NonSvgPenAndPaper-pR_1qp3s.js → NonSvgPenAndPaper-CEiv7_gM.js} +29 -29
  10. package/dist/{PackageVersion-Da7hl-34.js → PackageVersion-Dse0n05o.js} +1 -1
  11. package/dist/{PenAndPaper-Bk2-E7V4.js → PenAndPaper-gaV1QPpP.js} +18 -18
  12. package/dist/{Shape-BSetplwm.js → Shape-CiQIxyyT.js} +1 -1
  13. package/dist/{Slicer-ClIGOuoX.js → Slicer-6FOtg9py.js} +2 -2
  14. package/dist/{SlicerPreview-D1n9AW39.js → SlicerPreview-DUywypFu.js} +4 -4
  15. package/dist/{SparkTooltip-CjDAyolg.js → SparkTooltip-B-qsPj68.js} +1 -1
  16. package/dist/{Title-C-p0ilWB.js → Title-PiTKr6sp.js} +1 -1
  17. package/dist/{Tooltip-YabpoXo1.js → Tooltip-B8yYfISA.js} +1 -1
  18. package/dist/{UserOptions-BO4VFL8O.js → UserOptions-BL9VlHop.js} +2 -2
  19. package/dist/components/arrow.js +1 -1
  20. package/dist/components/vue-ui-3d-bar.js +1 -1
  21. package/dist/components/vue-ui-accordion.js +1 -1
  22. package/dist/components/vue-ui-age-pyramid.js +1 -1
  23. package/dist/components/vue-ui-annotator.js +1 -1
  24. package/dist/components/vue-ui-bullet.js +1 -1
  25. package/dist/components/vue-ui-bump.js +1 -1
  26. package/dist/components/vue-ui-candlestick.js +1 -1
  27. package/dist/components/vue-ui-carousel-table.js +1 -1
  28. package/dist/components/vue-ui-chestnut.js +1 -1
  29. package/dist/components/vue-ui-chord.js +1 -1
  30. package/dist/components/vue-ui-circle-pack.js +1 -1
  31. package/dist/components/vue-ui-cursor.js +1 -1
  32. package/dist/components/vue-ui-dag.js +1 -1
  33. package/dist/components/vue-ui-dashboard.js +1 -1
  34. package/dist/components/vue-ui-digits.js +1 -1
  35. package/dist/components/vue-ui-donut-evolution.js +1 -1
  36. package/dist/components/vue-ui-donut.js +1 -1
  37. package/dist/components/vue-ui-dumbbell.js +1 -1
  38. package/dist/components/vue-ui-flow.js +1 -1
  39. package/dist/components/vue-ui-funnel.js +1 -1
  40. package/dist/components/vue-ui-galaxy.js +1 -1
  41. package/dist/components/vue-ui-gauge.js +1 -1
  42. package/dist/components/vue-ui-geo.js +1 -1
  43. package/dist/components/vue-ui-gizmo.js +1 -1
  44. package/dist/components/vue-ui-heatmap.js +1 -1
  45. package/dist/components/vue-ui-history-plot.js +1 -1
  46. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  47. package/dist/components/vue-ui-icon.js +1 -1
  48. package/dist/components/vue-ui-kpi.js +1 -1
  49. package/dist/components/vue-ui-mini-loader.js +1 -1
  50. package/dist/components/vue-ui-molecule.js +1 -1
  51. package/dist/components/vue-ui-mood-radar.js +1 -1
  52. package/dist/components/vue-ui-nested-donuts.js +1 -1
  53. package/dist/components/vue-ui-onion.js +1 -1
  54. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  55. package/dist/components/vue-ui-quadrant.js +1 -1
  56. package/dist/components/vue-ui-quick-chart.js +1 -1
  57. package/dist/components/vue-ui-radar.js +1 -1
  58. package/dist/components/vue-ui-rating.js +1 -1
  59. package/dist/components/vue-ui-relation-circle.js +1 -1
  60. package/dist/components/vue-ui-ridgeline.js +1 -1
  61. package/dist/components/vue-ui-rings.js +1 -1
  62. package/dist/components/vue-ui-scatter.js +1 -1
  63. package/dist/components/vue-ui-skeleton.js +1 -1
  64. package/dist/components/vue-ui-smiley.js +1 -1
  65. package/dist/components/vue-ui-spark-trend.js +1 -1
  66. package/dist/components/vue-ui-sparkbar.js +1 -1
  67. package/dist/components/vue-ui-sparkgauge.js +1 -1
  68. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  69. package/dist/components/vue-ui-sparkline.js +1 -1
  70. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  71. package/dist/components/vue-ui-stackbar.js +1 -1
  72. package/dist/components/vue-ui-stackline.js +1 -1
  73. package/dist/components/vue-ui-strip-plot.js +1 -1
  74. package/dist/components/vue-ui-table-heatmap.js +1 -1
  75. package/dist/components/vue-ui-table-sparkline.js +1 -1
  76. package/dist/components/vue-ui-table.js +1 -1
  77. package/dist/components/vue-ui-thermometer.js +1 -1
  78. package/dist/components/vue-ui-timer.js +1 -1
  79. package/dist/components/vue-ui-tiremarks.js +1 -1
  80. package/dist/components/vue-ui-treemap.js +1 -1
  81. package/dist/components/vue-ui-vertical-bar.js +1 -1
  82. package/dist/components/vue-ui-waffle.js +1 -1
  83. package/dist/components/vue-ui-wheel.js +1 -1
  84. package/dist/components/vue-ui-word-cloud.js +1 -1
  85. package/dist/components/vue-ui-world.js +1 -1
  86. package/dist/components/vue-ui-xy-canvas.js +1 -1
  87. package/dist/components/vue-ui-xy.js +1 -1
  88. package/dist/{dom-to-png-CVJfsfwL.js → dom-to-png-BZjYWNEg.js} +1 -1
  89. package/dist/exposedLib-Be0ifkti.js +19 -0
  90. package/dist/{img-B_y5qDdm.js → img-B_abIg0o.js} +1 -1
  91. package/dist/{labelUtils-CyVwqXSh.js → labelUtils-CTDRZdP1.js} +1 -1
  92. package/dist/{lib-DRBJCmHW.js → lib-EAmk-PgA.js} +14 -1
  93. package/dist/{package-DyQ_PQis.js → package-DeMimPej.js} +1 -1
  94. package/dist/{pdf-CG02qhAH.js → pdf-B6qrdEqB.js} +1 -1
  95. package/dist/{render-common-CUAlQvAQ.js → render-common-DMai0gHB.js} +2 -2
  96. package/dist/ssr/vue-ui-donut.js +1 -1
  97. package/dist/ssr/vue-ui-xy.js +1 -1
  98. package/dist/ssr.js +2 -2
  99. package/dist/style.css +1 -1
  100. package/dist/{useAutoSizeLabelsInsideViewbox-DPMOys9n.js → useAutoSizeLabelsInsideViewbox-CyOGrdD_.js} +1 -1
  101. package/dist/{useNestedProp-BEo2N1Db.js → useNestedProp-D8XqxgOU.js} +1 -1
  102. package/dist/{usePrinter-CRp5IW3v.js → usePrinter-DnGzpp6Q.js} +2 -2
  103. package/dist/utils.js +10 -10
  104. package/dist/{vue-data-ui-Bpu4kxlm.js → vue-data-ui-D6qVWloL.js} +68 -68
  105. package/dist/vue-data-ui.js +72 -72
  106. package/dist/vue-ui-3d-bar-CjNuWXoA.js +1757 -0
  107. package/dist/{vue-ui-accordion-CfMrbDoq.js → vue-ui-accordion-Dzz8XhX3.js} +3 -3
  108. package/dist/{vue-ui-age-pyramid-BF5ZuuyI.js → vue-ui-age-pyramid-CC7Dxli-.js} +21 -21
  109. package/dist/{vue-ui-annotator-CG6rhFpy.js → vue-ui-annotator-DXZumSP8.js} +67 -67
  110. package/dist/{vue-ui-bullet-C_oBS1cr.js → vue-ui-bullet-Dde6FhbR.js} +17 -17
  111. package/dist/{vue-ui-bump-BZB1Na8h.js → vue-ui-bump-C5pni1JV.js} +243 -243
  112. package/dist/{vue-ui-candlestick-8d_1xO8X.js → vue-ui-candlestick-Ctw65O4_.js} +449 -446
  113. package/dist/{vue-ui-carousel-table-BfZNcwmY.js → vue-ui-carousel-table-BEUvhUH0.js} +42 -42
  114. package/dist/vue-ui-chestnut-C3IbAdkQ.js +2010 -0
  115. package/dist/vue-ui-chord-5eCWG4br.js +1391 -0
  116. package/dist/{vue-ui-circle-pack-BLh8HnGK.js → vue-ui-circle-pack-Cq4lkmee.js} +31 -31
  117. package/dist/{vue-ui-cursor-DVsEm_4l.js → vue-ui-cursor-DLJcFwRZ.js} +3 -3
  118. package/dist/{vue-ui-dag-Cfi0b9qm.js → vue-ui-dag-DemsIecS.js} +23 -23
  119. package/dist/{vue-ui-dashboard-F_NZ1xoQ.js → vue-ui-dashboard-DWHD_wNN.js} +69 -69
  120. package/dist/{vue-ui-digits-BfP1kbj3.js → vue-ui-digits-sIKc85vS.js} +3 -3
  121. package/dist/{vue-ui-donut-BwAyvV3-.js → vue-ui-donut-CLheJPcO.js} +414 -414
  122. package/dist/{vue-ui-donut-DlVRnVr_.js → vue-ui-donut-Dp6GW0dw.js} +85 -85
  123. package/dist/{vue-ui-donut-evolution-D1k4u6cA.js → vue-ui-donut-evolution-zmRPpJLj.js} +419 -419
  124. package/dist/vue-ui-dumbbell-bSbgHd0U.js +1530 -0
  125. package/dist/{vue-ui-flow-D_7Idmmw.js → vue-ui-flow-q_M7O1BK.js} +83 -83
  126. package/dist/vue-ui-funnel-BEZUEuuh.js +777 -0
  127. package/dist/{vue-ui-galaxy-Bjxbg5_B.js → vue-ui-galaxy-DCCWmIyH.js} +250 -250
  128. package/dist/{vue-ui-gauge-Dt0H7DgC.js → vue-ui-gauge-B1ljgfE1.js} +216 -216
  129. package/dist/{vue-ui-geo-89DEQb5l.js → vue-ui-geo-CM59rpnj.js} +17 -17
  130. package/dist/{vue-ui-gizmo-CQyLK18v.js → vue-ui-gizmo-D2RL6IVp.js} +62 -62
  131. package/dist/{vue-ui-heatmap-o6MvoxBK.js → vue-ui-heatmap-BX6PQxML.js} +245 -245
  132. package/dist/vue-ui-history-plot-DaHAeQph.js +1715 -0
  133. package/dist/{vue-ui-horizontal-bar-CwB4sc6M.js → vue-ui-horizontal-bar-CTW6l4n3.js} +274 -274
  134. package/dist/{vue-ui-kpi-4C-j92D-.js → vue-ui-kpi-DLbP7lJR.js} +3 -3
  135. package/dist/{vue-ui-mini-loader-Bj4Wv-i8.js → vue-ui-mini-loader-DPHzHsM7.js} +2 -2
  136. package/dist/vue-ui-molecule-aD0SMTiX.js +925 -0
  137. package/dist/{vue-ui-mood-radar-B5W35Fvp.js → vue-ui-mood-radar-CCWaPr0P.js} +29 -29
  138. package/dist/{vue-ui-nested-donuts-wfesrzle.js → vue-ui-nested-donuts--BCPWkl7.js} +104 -104
  139. package/dist/{vue-ui-onion-B8-psLbF.js → vue-ui-onion-s4iMCGAP.js} +39 -39
  140. package/dist/vue-ui-parallel-coordinate-plot-CfgvpyoC.js +1416 -0
  141. package/dist/vue-ui-quadrant-T_UmRAAy.js +1978 -0
  142. package/dist/vue-ui-quick-chart-D1OWBgQJ.js +2469 -0
  143. package/dist/{vue-ui-radar-5fQ5AAWD.js → vue-ui-radar-CHjeGOMC.js} +78 -78
  144. package/dist/{vue-ui-rating-CKWHDKOT.js → vue-ui-rating-Bek8Tgr-.js} +33 -33
  145. package/dist/vue-ui-relation-circle-DRZGQ_UX.js +924 -0
  146. package/dist/{vue-ui-ridgeline-DVbYznRz.js → vue-ui-ridgeline-DIODGiu8.js} +101 -101
  147. package/dist/vue-ui-rings-CcdUSXGG.js +1246 -0
  148. package/dist/vue-ui-scatter-CixnqLoi.js +2413 -0
  149. package/dist/{vue-ui-skeleton-BkxB6Dik.js → vue-ui-skeleton-Fmue6DAG.js} +3 -3
  150. package/dist/{vue-ui-smiley-C4g0iaF7.js → vue-ui-smiley-BVMI5vUy.js} +9 -9
  151. package/dist/{vue-ui-spark-trend-0FELlq4x.js → vue-ui-spark-trend-DfZeLiWA.js} +98 -98
  152. package/dist/{vue-ui-sparkbar-D-i_VLO6.js → vue-ui-sparkbar-Cl1e49sw.js} +87 -87
  153. package/dist/{vue-ui-sparkgauge-CWw6w_ng.js → vue-ui-sparkgauge-DDNNBIdf.js} +48 -48
  154. package/dist/{vue-ui-sparkhistogram-DuGpkfma.js → vue-ui-sparkhistogram-ny_liYa6.js} +104 -104
  155. package/dist/{vue-ui-sparkline-Bi06lHQd.js → vue-ui-sparkline-BNxdO-Bx.js} +268 -268
  156. package/dist/vue-ui-sparkstackbar-BfF5-Wg2.js +662 -0
  157. package/dist/vue-ui-stackbar-B-2Me3d-.js +2332 -0
  158. package/dist/{vue-ui-stackline-C0NHBUaE.js → vue-ui-stackline-CdvVPQUM.js} +697 -694
  159. package/dist/{vue-ui-strip-plot-_6LL45i9.js → vue-ui-strip-plot-CRXPXA5V.js} +368 -368
  160. package/dist/{vue-ui-table-DBlZswRi.js → vue-ui-table-Dr1dK3d_.js} +25 -25
  161. package/dist/{vue-ui-table-heatmap-3xYIDKcP.js → vue-ui-table-heatmap-D-Qrm3oX.js} +5 -5
  162. package/dist/{vue-ui-table-sparkline-BH5PzEnJ.js → vue-ui-table-sparkline-C31Q32My.js} +201 -201
  163. package/dist/{vue-ui-thermometer-BxMzAqoT.js → vue-ui-thermometer-BUrtIfuo.js} +119 -119
  164. package/dist/{vue-ui-timer-ONSitYDm.js → vue-ui-timer-B5bkNNHS.js} +29 -29
  165. package/dist/{vue-ui-tiremarks-DWXM-9nR.js → vue-ui-tiremarks-Bn8b-ZSz.js} +14 -14
  166. package/dist/vue-ui-treemap-LMWiicop.js +1713 -0
  167. package/dist/{vue-ui-waffle-afa8HSxz.js → vue-ui-waffle-B_L3gkky.js} +306 -306
  168. package/dist/{vue-ui-wheel-DRP7X8S2.js → vue-ui-wheel-CeVwXtEX.js} +36 -36
  169. package/dist/{vue-ui-word-cloud-AKpMO97a.js → vue-ui-word-cloud-D81-qJLw.js} +37 -37
  170. package/dist/{vue-ui-world-CqS-HhZl.js → vue-ui-world-B7npRmTa.js} +399 -399
  171. package/dist/{vue-ui-xy-Bmd11BxR.js → vue-ui-xy-C2p9H2IX.js} +1438 -1436
  172. package/dist/{vue-ui-xy-DJ8YKPgs.js → vue-ui-xy-OhwS0kcZ.js} +218 -218
  173. package/dist/{vue-ui-xy-canvas-DO_PDGKf.js → vue-ui-xy-canvas-DLKDdH35.js} +420 -417
  174. package/package.json +1 -1
  175. package/dist/exposedLib-CjwriUaG.js +0 -19
  176. package/dist/vue-ui-3d-bar-BAH0jNtT.js +0 -1757
  177. package/dist/vue-ui-chestnut-Cx8T3NEl.js +0 -2010
  178. package/dist/vue-ui-chord-B-sauvLo.js +0 -1391
  179. package/dist/vue-ui-dumbbell-DgmvPpK2.js +0 -1530
  180. package/dist/vue-ui-funnel-BYCFV5TD.js +0 -777
  181. package/dist/vue-ui-history-plot-B7zuCfdg.js +0 -1715
  182. package/dist/vue-ui-molecule-BDrRmwmm.js +0 -925
  183. package/dist/vue-ui-parallel-coordinate-plot-DBpHCFxa.js +0 -1416
  184. package/dist/vue-ui-quadrant-BzyGOJR2.js +0 -1978
  185. package/dist/vue-ui-quick-chart-so_8PzvS.js +0 -2469
  186. package/dist/vue-ui-relation-circle-Bd_ONHCz.js +0 -924
  187. package/dist/vue-ui-rings-c-yLWFHr.js +0 -1246
  188. package/dist/vue-ui-scatter-QhmE7n1H.js +0 -2413
  189. package/dist/vue-ui-sparkstackbar-DrKgBUmt.js +0 -662
  190. package/dist/vue-ui-stackbar-DDvuDGQ_.js +0 -2329
  191. package/dist/vue-ui-treemap-B03c4RIy.js +0 -1713
@@ -1,28 +1,28 @@
1
- import { $ as e, At as t, Ht as n, It as r, Lt as i, O as a, Ot as o, Tt as s, U as c, W as l, Wt as u, b as d, d as f, i as p, p as m, q as h, t as g, u as _, v } from "./lib-DRBJCmHW.js";
1
+ import { $ as e, Et as t, Gt as n, Lt as r, O as i, Rt as a, U as o, Ut as s, W as c, b as l, d as u, i as d, jt as f, kt as p, p as m, q as h, t as g, u as _, v } from "./lib-EAmk-PgA.js";
2
2
  import { t as y } from "./useConfig-DYM3f6EI.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-CUAlQvAQ.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-DMai0gHB.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 r = e ?? {}, i = u({
9
- userConfig: r,
8
+ let t = e ?? {}, r = n({
9
+ userConfig: t,
10
10
  defaultConfig: ne
11
- }), a = i.theme;
12
- if (!a) return {
13
- ...i,
14
- customPalette: i.customPalette?.length ? i.customPalette : t
11
+ }), i = r.theme;
12
+ if (!i) return {
13
+ ...r,
14
+ customPalette: r.customPalette?.length ? r.customPalette : f
15
15
  };
16
- let o = u({
17
- userConfig: r,
18
- defaultConfig: u({
19
- userConfig: b[a] || {},
20
- defaultConfig: i
16
+ let a = n({
17
+ userConfig: t,
18
+ defaultConfig: n({
19
+ userConfig: b[i] || {},
20
+ defaultConfig: r
21
21
  })
22
22
  });
23
23
  return {
24
- ...o,
25
- customPalette: o.customPalette?.length ? o.customPalette : n[a] || t
24
+ ...a,
25
+ customPalette: a.customPalette?.length ? a.customPalette : s[i] || f
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 = [], n) {
42
- let r = Array.isArray(n.customPalette) ? n.customPalette : t;
41
+ function oe(e = [], t) {
42
+ let n = Array.isArray(t.customPalette) ? t.customPalette : f;
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 n = e.source, i = e.value, a = (n?.color ? d(n.color) : "") || r[t % r.length];
48
+ let r = e.source, i = e.value, a = (r?.color ? l(r.color) : "") || n[t % n.length];
49
49
  return {
50
- ...n,
51
- id: n?.id ?? `donut_serie_${t}`,
52
- name: ae(n, t),
50
+ ...r,
51
+ id: r?.id ?? `donut_serie_${t}`,
52
+ name: ae(r, t),
53
53
  value: i,
54
54
  absoluteValue: Math.abs(i),
55
- absoluteValues: Array.isArray(n?.values) ? n.values : [i],
55
+ absoluteValues: Array.isArray(r?.values) ? r.values : [i],
56
56
  color: a,
57
57
  index: t,
58
58
  sourceIndex: e.sourceIndex,
59
- patternIndex: n?.patternIndex ?? t,
60
- seriesIndex: n?.seriesIndex ?? t,
61
- ghost: !!n?.ghost
59
+ patternIndex: r?.patternIndex ?? t,
60
+ seriesIndex: r?.seriesIndex ?? t,
61
+ ghost: !!r?.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 = l();
120
+ var ue = c();
121
121
  function I() {
122
122
  return ue;
123
123
  }
@@ -209,21 +209,21 @@ function me(e, t) {
209
209
  innerRadius: V(n) ? 0 : Math.max(0, T - A)
210
210
  };
211
211
  }
212
- function he(e, t) {
213
- let n = x(S(e.config, "layout.donut.rotation", 105.25), 105.25);
214
- return s({ series: t }, e.center.x, e.center.y, e.radius, e.radius, 1.99999, 2, 1, 360, n, V(e.config) ? e.radius : e.thickness).map((e, n) => ({
212
+ function he(e, n) {
213
+ let r = x(S(e.config, "layout.donut.rotation", 105.25), 105.25);
214
+ return t({ series: n }, e.center.x, e.center.y, e.radius, e.radius, 1.99999, 2, 1, 360, r, V(e.config) ? e.radius : e.thickness).map((e, t) => ({
215
215
  ...e,
216
- index: n,
217
- color: k(e.color, t[n]?.color),
216
+ index: t,
217
+ color: k(e.color, n[t]?.color),
218
218
  value: x(e.value, 0),
219
- name: String(e.name ?? t[n]?.name ?? `Serie ${n + 1}`),
220
- patternIndex: e.patternIndex ?? t[n]?.patternIndex ?? n,
221
- seriesIndex: e.seriesIndex ?? t[n]?.seriesIndex ?? n
219
+ name: String(e.name ?? n[t]?.name ?? `Serie ${t + 1}`),
220
+ patternIndex: e.patternIndex ?? n[t]?.patternIndex ?? t,
221
+ seriesIndex: e.seriesIndex ?? n[t]?.seriesIndex ?? t
222
222
  }));
223
223
  }
224
224
  function ge(e, t) {
225
225
  let n = Math.max(1, ...t.map((e) => Math.abs(x(e.value, 0))));
226
- return a({
226
+ return i({
227
227
  series: t.map((e) => Math.abs(x(e.value, 0)) / n),
228
228
  center: e.center,
229
229
  maxRadius: Math.min(e.drawingArea.width, e.drawingArea.height) / 3,
@@ -271,12 +271,12 @@ function ve(e) {
271
271
  })), M("g", { "data-layer": "title" }, d.join(""));
272
272
  }
273
273
  function ye(e, t) {
274
- let { config: n } = e, a = [], o = !!S(n, "useGradient", !1), s = !!S(n, "layout.donut.useShadow", !1);
274
+ let { config: n } = e, i = [], o = !!S(n, "useGradient", !1), s = !!S(n, "layout.donut.useShadow", !1);
275
275
  if (o) {
276
276
  let o = E(n, "type", "classic"), s = x(S(n, "gradientIntensity", 30), 30);
277
277
  if (o === "classic" && Number.isFinite(e.thickness / e.radius)) {
278
278
  let t = V(n) ? 1 : e.thickness / e.radius;
279
- a.push(M("radialGradient", { id: H(e) }, [
279
+ i.push(M("radialGradient", { id: H(e) }, [
280
280
  w("stop", {
281
281
  offset: "0%",
282
282
  "stop-color": r(L(n), 0),
@@ -300,14 +300,14 @@ function ye(e, t) {
300
300
  }
301
301
  o === "polar" && t.forEach((t, n) => {
302
302
  let r = e.polarAreas?.[n];
303
- r?.middlePoint && a.push(M("radialGradient", {
303
+ r?.middlePoint && i.push(M("radialGradient", {
304
304
  id: U(e, n),
305
305
  cx: `${v(r.middlePoint.x / e.width * 100)}%`,
306
306
  cy: `${v(r.middlePoint.y / e.height * 100)}%`,
307
307
  r: "62%"
308
308
  }, [w("stop", {
309
309
  offset: "0%",
310
- "stop-color": i(t.color, .05),
310
+ "stop-color": a(t.color, .05),
311
311
  "stop-opacity": s / 100
312
312
  }), w("stop", {
313
313
  offset: "100%",
@@ -316,8 +316,8 @@ function ye(e, t) {
316
316
  });
317
317
  }
318
318
  if (s) {
319
- let t = k(S(n, "layout.donut.shadowColor", "#000000"), "#000000"), r = x(S(n, "layout.donut.shadowOpacity", .2), .2), i = x(S(n, "layout.donut.shadowBlur", 6), 6), o = x(S(n, "layout.donut.shadowOffsetY", 3), 3);
320
- a.push(M("filter", {
319
+ let t = k(S(n, "layout.donut.shadowColor", "#000000"), "#000000"), r = x(S(n, "layout.donut.shadowOpacity", .2), .2), a = x(S(n, "layout.donut.shadowBlur", 6), 6), o = x(S(n, "layout.donut.shadowOffsetY", 3), 3);
320
+ i.push(M("filter", {
321
321
  id: W(e),
322
322
  x: "-50%",
323
323
  y: "-50%",
@@ -326,12 +326,12 @@ function ye(e, t) {
326
326
  }, [w("feDropShadow", {
327
327
  dx: 0,
328
328
  dy: o,
329
- stdDeviation: i,
329
+ stdDeviation: a,
330
330
  "flood-color": t,
331
331
  "flood-opacity": r
332
332
  })].join("")));
333
333
  }
334
- return a.length ? M("defs", { "data-layer": "definitions" }, a.join("")) : "";
334
+ return i.length ? M("defs", { "data-layer": "definitions" }, i.join("")) : "";
335
335
  }
336
336
  function be(e, t) {
337
337
  return t.color;
@@ -394,7 +394,7 @@ function q(e, t, n = "layout.labels.value.rounding") {
394
394
  s: a.suffix ?? "",
395
395
  r: x(S(r, n, o.rounding ?? 0), o.rounding ?? 0)
396
396
  });
397
- return p(o.formatter, t.value, s, { datapoint: t });
397
+ return d(o.formatter, t.value, s, { datapoint: t });
398
398
  }
399
399
  function J(e, t) {
400
400
  let { config: n } = e, r = S(n, "layout.labels.percentage", {}), i = x(t.proportion, 0) * 100, a = h({
@@ -402,7 +402,7 @@ function J(e, t) {
402
402
  s: "%",
403
403
  r: x(r.rounding, 0)
404
404
  });
405
- return p(r.formatter, i, a, { datapoint: t });
405
+ return d(r.formatter, i, a, { datapoint: t });
406
406
  }
407
407
  function Y(e, t) {
408
408
  let n = S(e.config, "layout.labels", {}), r = !!n.name?.show, i = !!(n.value?.show ?? !0), a = !!(n.percentage?.show ?? !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, l = e.drawingArea.top + 16, u = e.drawingArea.bottom - 16, d = i - (e.radius + 6), p = i + (e.radius + 6), m = 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, l = e.drawingArea.top + 16, d = e.drawingArea.bottom - 16, f = i - (e.radius + 6), p = i + (e.radius + 6), m = Q(e);
438
438
  function h(e) {
439
439
  return {
440
440
  x: v(e.center?.endX ?? e.endX),
@@ -490,7 +490,7 @@ function Ee(e, t) {
490
490
  midX: n.x,
491
491
  midY: n.y,
492
492
  inlineMarkerX: _(e).x,
493
- inlineMarkerY: f(e) - 3.5,
493
+ inlineMarkerY: u(e) - 3.5,
494
494
  labelHeight: y(e.name)
495
495
  };
496
496
  }
@@ -549,7 +549,7 @@ function Ee(e, t) {
549
549
  }), E({
550
550
  candidateList: D.TL,
551
551
  side: "left",
552
- bandMarkerX: d,
552
+ bandMarkerX: f,
553
553
  startY: l,
554
554
  direction: "down"
555
555
  }), E({
@@ -561,19 +561,19 @@ function Ee(e, t) {
561
561
  }), D.BL.length > 1 && E({
562
562
  candidateList: D.BL,
563
563
  side: "left",
564
- bandMarkerX: d,
565
- startY: u,
564
+ bandMarkerX: f,
565
+ startY: d,
566
566
  direction: "up"
567
567
  }), D.BR.length > 1 && E({
568
568
  candidateList: D.BR,
569
569
  side: "right",
570
570
  bandMarkerX: p,
571
- startY: u,
571
+ startY: d,
572
572
  direction: "up"
573
573
  }), r;
574
574
  }
575
575
  function De({ state: t, arc: n, arcIndex: r, smallArcLayout: i, fontSize: a }) {
576
- let o = S(t.config, "layout.labels", {}), s = o.percentage ?? {}, c = o.name ?? {}, l = i?.labelX ?? _(n, !0, 12).x, u = i?.labelY ?? f(n), d = i?.textAnchor ?? _(n, !0, 12).anchor, { name: p } = Y(t, n), m = we(t, n), h = String(p).split(/\n/g), g = p ? h.map((n, r) => M("tspan", {
576
+ let o = S(t.config, "layout.labels", {}), s = o.percentage ?? {}, c = o.name ?? {}, l = i?.labelX ?? _(n, !0, 12).x, d = i?.labelY ?? u(n), f = i?.textAnchor ?? _(n, !0, 12).anchor, { name: p } = Y(t, n), m = we(t, n), h = String(p).split(/\n/g), g = p ? h.map((n, r) => M("tspan", {
577
577
  class: "vue-data-ui-datalabel-name",
578
578
  x: r === 0 ? void 0 : l,
579
579
  dy: r === 0 ? void 0 : a * 1.2,
@@ -590,8 +590,8 @@ function De({ state: t, arc: n, arcIndex: r, smallArcLayout: i, fontSize: a }) {
590
590
  "data-cy": `donut-label-inline-${r}`,
591
591
  class: "vue-data-ui-datalabel-inline",
592
592
  x: l,
593
- y: u,
594
- "text-anchor": d
593
+ y: d,
594
+ "text-anchor": f
595
595
  }, `${g}${v}`);
596
596
  }
597
597
  function Oe(e, t) {
@@ -619,7 +619,7 @@ function Oe(e, t) {
619
619
  arcIndex: n,
620
620
  smallArcLayout: {
621
621
  labelX: _(t, !1, a + i / 2).x,
622
- labelY: f(t, a, a),
622
+ labelY: u(t, a, a),
623
623
  textAnchor: _(t).anchor
624
624
  },
625
625
  fontSize: i
@@ -627,7 +627,7 @@ function Oe(e, t) {
627
627
  }), s.length ? M("g", { "data-layer": "data-labels" }, s.join("")) : "";
628
628
  }
629
629
  function ke(e, t, n = 42) {
630
- return o({
630
+ return p({
631
631
  initX: t.middlePoint.x,
632
632
  initY: t.middlePoint.y,
633
633
  offset: n,
@@ -655,52 +655,52 @@ function je(t, n, r, i) {
655
655
  return i === "end" ? `${d}${u}` : `${u}${d}`;
656
656
  }
657
657
  function Me(t, n, r) {
658
- let i = S(t.config, "layout.labels", {}), a = i.dataLabels ?? {}, o = i.value ?? {}, s = i.percentage ?? {}, l = i.name ?? {};
658
+ let i = S(t.config, "layout.labels", {}), a = i.dataLabels ?? {}, s = i.value ?? {}, c = i.percentage ?? {}, l = i.name ?? {};
659
659
  if (!E(t.config, "dataLabels.show", a.show ?? !0) || !a.show) return "";
660
- let u = !!a.oneLine, d = x(o.fontSize, a.fontSize ?? 12), f = x(l.fontSize, a.fontSize ?? 12), p = [];
660
+ let u = !!a.oneLine, d = x(s.fontSize, a.fontSize ?? 12), f = x(l.fontSize, a.fontSize ?? 12), p = [];
661
661
  return n.forEach((n, i) => {
662
662
  let a = r[i];
663
663
  if (!a || !Z(t, n)) return;
664
- let o = ke(t, a, 42), m = Ae(t, o);
664
+ let s = ke(t, a, 42), m = Ae(t, s);
665
665
  if (u) {
666
666
  p.push(M("text", {
667
667
  "data-cy": "polar-label-inline",
668
668
  class: "vue-data-ui-datalabel-inline",
669
- x: o.x,
670
- y: o.y,
669
+ x: s.x,
670
+ y: s.y,
671
671
  "text-anchor": m
672
- }, je(t, n, o.x, m)));
672
+ }, je(t, n, s.x, m)));
673
673
  return;
674
674
  }
675
675
  p.push(M("text", {
676
676
  "data-cy": "polar-label-value",
677
677
  class: "vue-data-ui-datalabel-value",
678
- x: o.x,
679
- y: o.y,
678
+ x: s.x,
679
+ y: s.y,
680
680
  "font-size": d,
681
- "font-weight": s.bold ? "700" : "400",
681
+ "font-weight": c.bold ? "700" : "400",
682
682
  "text-anchor": m,
683
683
  fill: valueFill
684
684
  }, te({
685
685
  content: X(t, n),
686
- x: o.x,
686
+ x: s.x,
687
687
  fontSize: d,
688
688
  fill: valueFill,
689
689
  textAnchor: m
690
690
  }))), l.show && p.push(M("text", {
691
691
  "data-cy": "polar-label-name",
692
692
  class: "vue-data-ui-datalabel-name",
693
- x: o.x,
694
- y: o.y + f * 1.2,
693
+ x: s.x,
694
+ y: s.y + f * 1.2,
695
695
  "font-size": f,
696
696
  "font-weight": l.bold ? "700" : "400",
697
697
  "text-anchor": m,
698
698
  fill: k(l.color, j(t.config))
699
- }, c({
699
+ }, o({
700
700
  content: e(String(n.name ?? "")),
701
701
  fontSize: f,
702
702
  fill: k(l.color, j(t.config)),
703
- x: o.x
703
+ x: s.x
704
704
  })));
705
705
  }), p.length ? M("g", { "data-layer": "polar-data-labels" }, p.join("")) : "";
706
706
  }
@@ -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 ?? _(t).x,
730
- cy: o?.markerY ?? f(t) - 3.5,
730
+ cy: o?.markerY ?? u(t) - 3.5,
731
731
  r: x(n.markerRadius, 3),
732
732
  fill: t.color,
733
733
  stroke: L(e.config),
@@ -740,18 +740,18 @@ function Fe(e, t, n) {
740
740
  if (!E(e.config, "dataLabels.show", r.show ?? !0) || !r.show) return "";
741
741
  let i = [];
742
742
  return t.forEach((t, a) => {
743
- let s = n[a];
744
- if (!s?.middlePoint || !Z(e, t)) return;
745
- let c = o({
746
- initX: s.middlePoint.x,
747
- initY: s.middlePoint.y,
743
+ let o = n[a];
744
+ if (!o?.middlePoint || !Z(e, t)) return;
745
+ let s = p({
746
+ initX: o.middlePoint.x,
747
+ initY: o.middlePoint.y,
748
748
  offset: 24,
749
749
  centerX: e.center.x,
750
750
  centerY: e.center.y
751
751
  });
752
752
  i.push(w("path", {
753
753
  "data-cy": `polar-marker-${a}`,
754
- d: `M ${c.x},${c.y} ${s.middlePoint.x},${s.middlePoint.y}`,
754
+ d: `M ${s.x},${s.y} ${o.middlePoint.x},${o.middlePoint.y}`,
755
755
  stroke: t.color,
756
756
  "stroke-width": x(r.markerStrokeWidth, 1),
757
757
  "stroke-linecap": "round",
@@ -759,8 +759,8 @@ function Fe(e, t, n) {
759
759
  fill: "none"
760
760
  })), i.push(w("circle", {
761
761
  "data-cy": `polar-label-marker-${a}`,
762
- cx: c.x,
763
- cy: c.y,
762
+ cx: s.x,
763
+ cy: s.y,
764
764
  r: x(r.markerRadius, 3),
765
765
  fill: t.color,
766
766
  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), c = i.value ?? {}, l = x(c.fontSize, n), u = p(c.formatter, t, h({
781
+ let n = x(i.fontSize, 14), r = !!a.show, s = e.center.y - (r ? n : 0) + x(i.offsetY, 0), c = i.value ?? {}, l = x(c.fontSize, n), u = d(c.formatter, t, h({
782
782
  p: c.prefix ?? "",
783
783
  v: t,
784
784
  s: c.suffix ?? "",
@@ -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, c = t / Math.max(1, n.length), l = a.value ?? {}, u = x(l.fontSize, r), d = p(l.formatter, c, h({
804
+ let r = x(a.fontSize, 14), s = !!i.show, c = t / Math.max(1, n.length), l = a.value ?? {}, u = x(l.fontSize, r), f = d(l.formatter, c, h({
805
805
  p: l.prefix ?? "",
806
806
  v: c,
807
807
  s: l.suffix ?? "",
@@ -814,7 +814,7 @@ function Ie(e, t, n) {
814
814
  fill: k(a.color, j(e.config)),
815
815
  "font-size": r,
816
816
  "font-weight": a.bold ? "700" : "400"
817
- })), o.push($(d, {
817
+ })), o.push($(f, {
818
818
  "data-cy": "hollow-average-value",
819
819
  x: e.center.x,
820
820
  y: e.center.y + (s ? r : 0) + r + x(l.offsetY, 0),
@@ -832,7 +832,7 @@ 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
834
  let a = S(n, "layout.labels.dataLabels", {}), o = x(i.fontSize, 20), s = k(i.color, j(n));
835
- return N(p(i.formatter, t, h({
835
+ return N(d(i.formatter, t, h({
836
836
  p: a.prefix ?? "",
837
837
  v: t,
838
838
  s: a.suffix ?? "",
@@ -858,7 +858,7 @@ function ze(e, t) {
858
858
  s: i.suffix ?? "",
859
859
  r: x(n.roundingValue, a.rounding ?? 0)
860
860
  });
861
- return p(a.formatter, t.value, o, {
861
+ return d(a.formatter, t.value, o, {
862
862
  datapoint: t,
863
863
  serie: t
864
864
  });
@@ -869,7 +869,7 @@ function Be(e, t) {
869
869
  s: "%",
870
870
  r: x(n.roundingPercentage, r.rounding ?? 0)
871
871
  });
872
- return p(r.formatter, i, a, {
872
+ return d(r.formatter, i, a, {
873
873
  datapoint: t,
874
874
  serie: t
875
875
  });