vue-data-ui 3.7.12 → 3.7.14

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 (113) hide show
  1. package/dist/{PackageVersion-CIzi6Isi.js → PackageVersion-DtFSiS0a.js} +1 -1
  2. package/dist/components/vue-ui-3d-bar.js +1 -1
  3. package/dist/components/vue-ui-age-pyramid.js +1 -1
  4. package/dist/components/vue-ui-bullet.js +1 -1
  5. package/dist/components/vue-ui-candlestick.js +1 -1
  6. package/dist/components/vue-ui-carousel-table.js +1 -1
  7. package/dist/components/vue-ui-chestnut.js +1 -1
  8. package/dist/components/vue-ui-chord.js +1 -1
  9. package/dist/components/vue-ui-circle-pack.js +1 -1
  10. package/dist/components/vue-ui-dashboard.js +1 -1
  11. package/dist/components/vue-ui-donut-evolution.js +1 -1
  12. package/dist/components/vue-ui-donut.js +1 -1
  13. package/dist/components/vue-ui-dumbbell.js +1 -1
  14. package/dist/components/vue-ui-flow.js +1 -1
  15. package/dist/components/vue-ui-funnel.js +1 -1
  16. package/dist/components/vue-ui-galaxy.js +1 -1
  17. package/dist/components/vue-ui-gauge.js +1 -1
  18. package/dist/components/vue-ui-gizmo.js +1 -1
  19. package/dist/components/vue-ui-heatmap.js +1 -1
  20. package/dist/components/vue-ui-history-plot.js +1 -1
  21. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  22. package/dist/components/vue-ui-molecule.js +1 -1
  23. package/dist/components/vue-ui-mood-radar.js +1 -1
  24. package/dist/components/vue-ui-nested-donuts.js +1 -1
  25. package/dist/components/vue-ui-onion.js +1 -1
  26. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  27. package/dist/components/vue-ui-quadrant.js +1 -1
  28. package/dist/components/vue-ui-quick-chart.js +1 -1
  29. package/dist/components/vue-ui-radar.js +1 -1
  30. package/dist/components/vue-ui-relation-circle.js +1 -1
  31. package/dist/components/vue-ui-ridgeline.js +1 -1
  32. package/dist/components/vue-ui-rings.js +1 -1
  33. package/dist/components/vue-ui-scatter.js +1 -1
  34. package/dist/components/vue-ui-skeleton.js +1 -1
  35. package/dist/components/vue-ui-spark-trend.js +1 -1
  36. package/dist/components/vue-ui-sparkbar.js +1 -1
  37. package/dist/components/vue-ui-sparkgauge.js +1 -1
  38. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  39. package/dist/components/vue-ui-sparkline.js +1 -1
  40. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  41. package/dist/components/vue-ui-stackbar.js +1 -1
  42. package/dist/components/vue-ui-stackline.js +1 -1
  43. package/dist/components/vue-ui-strip-plot.js +1 -1
  44. package/dist/components/vue-ui-table-sparkline.js +1 -1
  45. package/dist/components/vue-ui-table.js +1 -1
  46. package/dist/components/vue-ui-thermometer.js +1 -1
  47. package/dist/components/vue-ui-timer.js +1 -1
  48. package/dist/components/vue-ui-tiremarks.js +1 -1
  49. package/dist/components/vue-ui-treemap.js +1 -1
  50. package/dist/components/vue-ui-vertical-bar.js +1 -1
  51. package/dist/components/vue-ui-waffle.js +1 -1
  52. package/dist/components/vue-ui-wheel.js +1 -1
  53. package/dist/components/vue-ui-word-cloud.js +1 -1
  54. package/dist/components/vue-ui-world.js +1 -1
  55. package/dist/components/vue-ui-xy.js +1 -1
  56. package/dist/style.css +1 -1
  57. package/dist/{vue-data-ui-DXOL8JbX.js → vue-data-ui-Y3bsII4e.js} +54 -54
  58. package/dist/vue-data-ui.js +55 -55
  59. package/dist/{vue-ui-3d-bar-BGZil2TK.js → vue-ui-3d-bar-BEq_QYDw.js} +1 -1
  60. package/dist/{vue-ui-age-pyramid-BX2e52Q2.js → vue-ui-age-pyramid-CTZ8MQWv.js} +1 -1
  61. package/dist/{vue-ui-bullet-nJx9rMXK.js → vue-ui-bullet-CdszYw76.js} +1 -1
  62. package/dist/{vue-ui-candlestick-Cb68B5k4.js → vue-ui-candlestick-BgqEDWwB.js} +1 -1
  63. package/dist/{vue-ui-carousel-table-trYl02CW.js → vue-ui-carousel-table-B-Nig8SF.js} +1 -1
  64. package/dist/{vue-ui-chestnut-zrcwO41U.js → vue-ui-chestnut-BQDpGhPH.js} +1 -1
  65. package/dist/{vue-ui-chord-B-sXwjHt.js → vue-ui-chord-Cm8enZ-m.js} +1 -1
  66. package/dist/{vue-ui-circle-pack-B1WNdzW4.js → vue-ui-circle-pack-CsFGW1eB.js} +1 -1
  67. package/dist/{vue-ui-dashboard-1dKfzZXp.js → vue-ui-dashboard-UOeqXi6-.js} +54 -54
  68. package/dist/{vue-ui-donut-3_yDoSFz.js → vue-ui-donut-Ckz6GstQ.js} +1 -1
  69. package/dist/{vue-ui-donut-evolution-DrwKiA2M.js → vue-ui-donut-evolution-CFRT7O_s.js} +471 -471
  70. package/dist/{vue-ui-dumbbell-C6HC3rMM.js → vue-ui-dumbbell-Djwlq0Rf.js} +1 -1
  71. package/dist/{vue-ui-flow-CwR_s28j.js → vue-ui-flow-B97OGV1a.js} +1 -1
  72. package/dist/{vue-ui-funnel-DvXxOYBP.js → vue-ui-funnel-BXG8DRLY.js} +1 -1
  73. package/dist/{vue-ui-galaxy-DKf1nXTk.js → vue-ui-galaxy-D2O9-OYS.js} +1 -1
  74. package/dist/{vue-ui-gauge-Bm5zZxyU.js → vue-ui-gauge-B0FlPkKR.js} +1 -1
  75. package/dist/{vue-ui-gizmo-BmFEdgMW.js → vue-ui-gizmo-BW0UgYhD.js} +1 -1
  76. package/dist/{vue-ui-heatmap-Ca2sjrNj.js → vue-ui-heatmap-Dpn7FGns.js} +1 -1
  77. package/dist/{vue-ui-history-plot-C1M7ALcV.js → vue-ui-history-plot-CL2ZEcD2.js} +1 -1
  78. package/dist/{vue-ui-horizontal-bar-B18BRinS.js → vue-ui-horizontal-bar-D2mcVfxK.js} +1 -1
  79. package/dist/{vue-ui-molecule-BnfSbPYZ.js → vue-ui-molecule-vv1p3SyW.js} +1 -1
  80. package/dist/{vue-ui-mood-radar-D4cOvedN.js → vue-ui-mood-radar-Whcu-ZOg.js} +1 -1
  81. package/dist/{vue-ui-nested-donuts-C780G4fi.js → vue-ui-nested-donuts-CzWDhltb.js} +1 -1
  82. package/dist/{vue-ui-onion-Bb9CvBV5.js → vue-ui-onion-D8UDqyva.js} +1 -1
  83. package/dist/{vue-ui-parallel-coordinate-plot-C1ulKs61.js → vue-ui-parallel-coordinate-plot-CIZH5K2W.js} +1 -1
  84. package/dist/{vue-ui-quadrant-CgN9LskD.js → vue-ui-quadrant-Dnt0cVR5.js} +1 -1
  85. package/dist/{vue-ui-quick-chart-6ZlTBOJa.js → vue-ui-quick-chart-3PF3h9Px.js} +1 -1
  86. package/dist/{vue-ui-radar-DG-cyprm.js → vue-ui-radar-CEbL9Shz.js} +1 -1
  87. package/dist/{vue-ui-relation-circle-CJNTeB9M.js → vue-ui-relation-circle-DzpqvYOF.js} +1 -1
  88. package/dist/{vue-ui-ridgeline-KDgRIm4x.js → vue-ui-ridgeline-D-PPE15J.js} +1 -1
  89. package/dist/{vue-ui-rings-BWFU_jnZ.js → vue-ui-rings-lhCHl30r.js} +1 -1
  90. package/dist/{vue-ui-scatter-Cg70SqNA.js → vue-ui-scatter-CzHyLXEO.js} +1 -1
  91. package/dist/{vue-ui-skeleton-DnYifGw9.js → vue-ui-skeleton-DleKPF3G.js} +1 -1
  92. package/dist/{vue-ui-spark-trend-BeEKZUQe.js → vue-ui-spark-trend-DpwkGAmg.js} +1 -1
  93. package/dist/{vue-ui-sparkbar-BrZ-5un4.js → vue-ui-sparkbar-CbJvU0rf.js} +1 -1
  94. package/dist/{vue-ui-sparkgauge-BBGzI_sy.js → vue-ui-sparkgauge-B0CvXpE3.js} +1 -1
  95. package/dist/{vue-ui-sparkhistogram-CN0bXP4I.js → vue-ui-sparkhistogram-BMqK69TJ.js} +1 -1
  96. package/dist/{vue-ui-sparkline-BWfoqo6W.js → vue-ui-sparkline-BzXfYlcf.js} +1 -1
  97. package/dist/{vue-ui-sparkstackbar-BGy3Ecos.js → vue-ui-sparkstackbar-DoA2pTmw.js} +1 -1
  98. package/dist/{vue-ui-stackbar-DsXVvQ7x.js → vue-ui-stackbar-AJjoa2tk.js} +1 -1
  99. package/dist/{vue-ui-stackline-DmT-ZzBp.js → vue-ui-stackline-CN5pHu5R.js} +1 -1
  100. package/dist/{vue-ui-strip-plot-C7SArefH.js → vue-ui-strip-plot-Dzl2_jdd.js} +1 -1
  101. package/dist/{vue-ui-table-eJ-RLAOT.js → vue-ui-table-CkrPb0oh.js} +2 -2
  102. package/dist/{vue-ui-table-sparkline-FPsXOGRt.js → vue-ui-table-sparkline-83wvFrDq.js} +1 -1
  103. package/dist/{vue-ui-thermometer-DVjluX1P.js → vue-ui-thermometer-C-q3BXx7.js} +1 -1
  104. package/dist/{vue-ui-timer-ByI99w2I.js → vue-ui-timer-DdPan7AR.js} +1 -1
  105. package/dist/{vue-ui-tiremarks-BS2RVL8Y.js → vue-ui-tiremarks-CM4SFul5.js} +1 -1
  106. package/dist/{vue-ui-treemap-C4Mtlrah.js → vue-ui-treemap-BFIBgzvj.js} +1 -1
  107. package/dist/{vue-ui-waffle-M4DvcCOK.js → vue-ui-waffle-b5MrZni2.js} +1 -1
  108. package/dist/{vue-ui-wheel-Uk81MoA6.js → vue-ui-wheel-BphjlN7h.js} +1 -1
  109. package/dist/vue-ui-word-cloud-BE7kYijj.js +1224 -0
  110. package/dist/{vue-ui-world-BI0QxIAO.js → vue-ui-world-khFqzGoQ.js} +1 -1
  111. package/dist/{vue-ui-xy-BYTDwzNW.js → vue-ui-xy-DyWuuhwF.js} +1 -1
  112. package/package.json +1 -1
  113. package/dist/vue-ui-word-cloud-BMAiJ8ZJ.js +0 -1033
@@ -1,6 +1,6 @@
1
- import { defineAsyncComponent as V, ref as i, shallowRef as xt, computed as g, onMounted as xl, toRefs as kl, nextTick as ze, watch as ie, watchEffect as Al, onBeforeUnmount as wl, createElementBlock as n, openBlock as u, unref as c, normalizeStyle as te, normalizeClass as I, createBlock as E, createCommentVNode as d, createElementVNode as m, withCtx as f, renderSlot as C, normalizeProps as O, guardReactiveProps as P, createSlots as kt, createVNode as At, Fragment as $, renderList as D, toDisplayString as A, Teleport as Ll, resolveDynamicComponent as _l, mergeProps as Sl, createTextVNode as Fe } from "vue";
2
- import { c as wt, o as Lt, g as ce, k as $l, t as Dl, i as zl, p as de, W as _t, j as Fl, l as Ee, a5 as El, F as St, Z as Te, a as Be, d as ve, X as Tl, s as le, a6 as Bl, U as Il, _ as Ol, $ as Pl, a0 as $t, u as Nl, q as Rl, a7 as Dt, a8 as Vl } from "./lib-DUaaQGCv.js";
3
- import { t as zt, u as Ml } from "./useResponsive-DfdjqQps.js";
1
+ import { defineAsyncComponent as V, ref as i, shallowRef as pt, computed as g, onMounted as pl, toRefs as kl, nextTick as Be, watch as ie, watchEffect as xl, onBeforeUnmount as wl, createElementBlock as n, openBlock as r, unref as c, normalizeStyle as te, normalizeClass as I, createBlock as $, createCommentVNode as d, createElementVNode as C, withCtx as y, renderSlot as m, normalizeProps as O, guardReactiveProps as P, createSlots as kt, createVNode as xt, Fragment as S, renderList as F, toDisplayString as x, Teleport as Ll, resolveDynamicComponent as Dl, mergeProps as _l, createTextVNode as Ee } from "vue";
2
+ import { c as wt, o as Lt, g as ce, k as Sl, t as Fl, i as Bl, p as de, W as Dt, j as El, l as $e, a5 as $l, F as _t, Z as ze, a as Te, d as ve, X as zl, s as le, a6 as Tl, U as Il, _ as Ol, $ as Pl, a0 as St, u as Nl, q as Rl, a7 as Ft, a8 as Vl } from "./lib-DUaaQGCv.js";
3
+ import { t as Bt, u as Ml } from "./useResponsive-DfdjqQps.js";
4
4
  import { u as Ul, a as Ie } from "./useNestedProp-BjZ1Lg9E.js";
5
5
  import { u as Hl } from "./usePrinter-BdVu83IN.js";
6
6
  import { u as Xl, B as Wl } from "./BaseScanner-BgWxam9d.js";
@@ -12,30 +12,30 @@ import { u as Zl } from "./useChartAccessibility-9icAAmYg.js";
12
12
  import { u as Jl } from "./useTimeLabelCollider-CIsgDrl9.js";
13
13
  import Kl from "./img-BYzbY8TZ.js";
14
14
  import Ql from "./Title-BwhstTFA.js";
15
- import ea from "./Legend-DSyOOSJ1.js";
16
- import { S as ta } from "./Slicer-DScoMPmj.js";
17
- import { _ as la } from "./_plugin-vue_export-helper-CHgC5LLL.js";
18
- const Ft = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoom: { color: "#4A4A4A", highlightColor: "#9A9A9A" }, dialog: { backgroundColor: "#1A1A1A", color: "#CCCCCC", header: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, donutChart: { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { labels: { percentage: { color: "#CCCCCC" }, name: { color: "#CCCCCC" }, hollow: { total: { color: "#CCCCCC", value: { color: "#CCCCCC" } }, average: { color: "#CCCCCC", value: { color: "#CCCCCC" } } } } }, legend: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#1A1A1A", backgroundOpacity: 70, color: "#CCCCCC", borderColor: "#5A5A5A" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } } }, layout: { grid: { stroke: "#5A5A5A", yAxis: { dataLabels: { color: "#CCCCCC" } }, xAxis: { dataLabels: { color: "#CCCCCC" } } }, line: { stroke: "#4A4A4A" }, highlighter: { color: "#CCCCCC" }, dataLabels: { color: "#CCCCCC" } }, legend: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } }, Et = { style: { chart: { backgroundColor: "#FFF8E1", color: "#424242", zoom: { color: "#5D4037", highlightColor: "#FF8A65" }, layout: { grid: { stroke: "#5D4037", showVerticalLines: !1, yAxis: { dataLabels: { color: "#424242" } }, xAxis: { dataLabels: { color: "#424242" } } }, line: { stroke: "#5D4037" }, highlighter: { color: "#424242" }, dataLabels: { color: "#424242" } }, legend: { backgroundColor: "#FFF8E1", color: "#424242" }, title: { color: "#424242", subtitle: { color: "#757575" } } } }, table: { th: { backgroundColor: "#FFF8E1", color: "#424242" }, td: { backgroundColor: "#FFF8E1", color: "#424242" } } }, Tt = { style: { chart: { backgroundColor: "#1E1E1E", color: "#BDBDBD", zoom: { color: "#5D4037", highlightColor: "#FF8A65" }, layout: { grid: { stroke: "#5D4037", showVerticalLines: !1, yAxis: { dataLabels: { color: "#BDBDBD" } }, xAxis: { dataLabels: { color: "#BDBDBD" } } }, line: { stroke: "#5D4037" }, highlighter: { color: "#FFF8E1" }, dataLabels: { color: "#BDBDBD" } }, legend: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } } } }, table: { th: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, td: { backgroundColor: "#1E1E1E", color: "#BDBDBD" } } }, Bt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#99AA99", zoom: { color: "#5F6A5F", highlightColor: "#66CC66" }, layout: { grid: { show: !1, stroke: "#5F6A5F", yAxis: { dataLabels: { color: "#AACCAA" } }, xAxis: { dataLabels: { color: "#AACCAA" } } }, line: { stroke: "#5F6A5F" }, highlighter: { color: "#66CC66" }, dataLabels: { color: "#AACCAA" } }, legend: { backgroundColor: "#1A1A1A", color: "#99AA99" }, title: { color: "#66CC66", subtitle: { color: "#99AA99" } } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#99AA99" }, td: { backgroundColor: "#1A1A1A", color: "#AACCAA" } } }, It = { style: { chart: { backgroundColor: "#fbfafa", color: "#8A9892", zoom: { color: "#E0CFC3", highlightColor: "#8F837A" }, layout: { grid: { show: !1, yAxis: { dataLabels: { show: !1 } }, xAxis: { dataLabels: { show: !1 } } }, line: { stroke: "#DCDFE7" }, highlighter: { color: "#8F837A" }, dataLabels: { color: "#A0AC94" } }, legend: { backgroundColor: "#fbfafa", color: "#99AA99" }, title: { color: "#8A9892", subtitle: { color: "#99AA99" } } } }, table: { th: { backgroundColor: "#fbfafa", color: "#8F837A" }, td: { backgroundColor: "#fbfafa", color: "#8F837A" } } }, Ot = { style: { chart: { backgroundColor: "#f6f6fb", color: "#50606C", zoom: { color: "#92B0AB", highlightColor: "#50606C" }, layout: { grid: { stroke: "#BBC4D3", yAxis: { dataLabels: { color: "#61747E" } }, xAxis: { dataLabels: { color: "#61747E" } } }, line: { stroke: "#92B0AB" }, highlighter: { color: "#50606C" }, dataLabels: { color: "#61747E" } }, legend: { backgroundColor: "#f6f6fb", color: "#61747E" }, title: { color: "#50606C", subtitle: { color: "#718890" } } } }, table: { th: { backgroundColor: "#f6f6fb", color: "#50606C" }, td: { backgroundColor: "#f6f6fb", color: "#50606C" } } }, Pt = {
15
+ import eo from "./Legend-DSyOOSJ1.js";
16
+ import { S as to } from "./Slicer-DScoMPmj.js";
17
+ import { _ as lo } from "./_plugin-vue_export-helper-CHgC5LLL.js";
18
+ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoom: { color: "#4A4A4A", highlightColor: "#9A9A9A" }, dialog: { backgroundColor: "#1A1A1A", color: "#CCCCCC", header: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, donutChart: { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { labels: { percentage: { color: "#CCCCCC" }, name: { color: "#CCCCCC" }, hollow: { total: { color: "#CCCCCC", value: { color: "#CCCCCC" } }, average: { color: "#CCCCCC", value: { color: "#CCCCCC" } } } } }, legend: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#1A1A1A", backgroundOpacity: 70, color: "#CCCCCC", borderColor: "#5A5A5A" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } } }, layout: { grid: { stroke: "#5A5A5A", yAxis: { dataLabels: { color: "#CCCCCC" } }, xAxis: { dataLabels: { color: "#CCCCCC" } } }, line: { stroke: "#4A4A4A" }, highlighter: { color: "#CCCCCC" }, dataLabels: { color: "#CCCCCC" } }, legend: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } }, $t = { style: { chart: { backgroundColor: "#FFF8E1", color: "#424242", zoom: { color: "#5D4037", highlightColor: "#FF8A65" }, dialog: { backgroundColor: "#FFF8E1", color: "#424242", header: { backgroundColor: "##FFF8E1", color: "#424242" }, donutChart: { style: { chart: { backgroundColor: "##FFF8E1", color: "#424242", layout: { labels: { percentage: { color: "#424242" }, name: { color: "#424242" }, hollow: { total: { color: "#424242", value: { color: "#424242" } }, average: { color: "#424242", value: { color: "#424242" } } } } }, legend: { backgroundColor: "##FFF8E1", color: "#424242" }, title: { color: "#424242", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#FFECB3", backgroundOpacity: 30, color: "#424242", borderColor: "#FF8A65" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } } }, layout: { grid: { stroke: "#5D4037", showVerticalLines: !1, yAxis: { dataLabels: { color: "#424242" } }, xAxis: { dataLabels: { color: "#424242" } } }, line: { stroke: "#5D4037" }, highlighter: { color: "#424242" }, dataLabels: { color: "#424242" } }, legend: { backgroundColor: "#FFF8E1", color: "#424242" }, title: { color: "#424242", subtitle: { color: "#757575" } } } }, table: { th: { backgroundColor: "#FFF8E1", color: "#424242" }, td: { backgroundColor: "#FFF8E1", color: "#424242" } } }, zt = { style: { chart: { backgroundColor: "#1E1E1E", color: "#BDBDBD", zoom: { color: "#5D4037", highlightColor: "#FF8A65" }, dialog: { backgroundColor: "#1E1E1E", color: "#BDBDBD", header: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, donutChart: { style: { chart: { backgroundColor: "#1E1E1E", color: "#BDBDBD", layout: { labels: { percentage: { color: "#BDBDBD" }, name: { color: "#BDBDBD" }, hollow: { total: { color: "#BDBDBD", value: { color: "#BDBDBD" } }, average: { color: "#BDBDBD", value: { color: "#BDBDBD" } } } } }, legend: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } }, tooltip: { backgroundColor: "#1E1E1E", backgroundOpacity: 30, color: "#FFF8E1", borderColor: "#FF8A65" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } } }, layout: { grid: { stroke: "#5D4037", showVerticalLines: !1, yAxis: { dataLabels: { color: "#BDBDBD" } }, xAxis: { dataLabels: { color: "#BDBDBD" } } }, line: { stroke: "#5D4037" }, highlighter: { color: "#FFF8E1" }, dataLabels: { color: "#BDBDBD" } }, legend: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } } } }, table: { th: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, td: { backgroundColor: "#1E1E1E", color: "#BDBDBD" } } }, Tt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#99AA99", zoom: { color: "#5F6A5F", highlightColor: "#66CC66" }, dialog: { backgroundColor: "#1A1A1A", color: "#BDBDBD", header: { backgroundColor: "#1A1A1A", color: "#BDBDBD" }, donutChart: { style: { chart: { backgroundColor: "#1A1A1A", color: "#99AA99", layout: { labels: { percentage: { color: "#99AA99" }, name: { color: "#99AA99" }, hollow: { total: { color: "#99AA99", value: { color: "#99AA99" } }, average: { color: "#99AA99", value: { color: "#99AA99" } } } } }, legend: { backgroundColor: "#1A1A1A", color: "#99AA99" }, title: { color: "#66CC66", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#2A2F2A", color: "#AACCAA", borderColor: "#66CC66" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } } }, layout: { grid: { show: !1, stroke: "#5F6A5F", yAxis: { dataLabels: { color: "#AACCAA" } }, xAxis: { dataLabels: { color: "#AACCAA" } } }, line: { stroke: "#5F6A5F" }, highlighter: { color: "#66CC66" }, dataLabels: { color: "#AACCAA" } }, legend: { backgroundColor: "#1A1A1A", color: "#99AA99" }, title: { color: "#66CC66", subtitle: { color: "#99AA99" } } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#99AA99" }, td: { backgroundColor: "#1A1A1A", color: "#AACCAA" } } }, It = { style: { chart: { backgroundColor: "#fbfafa", color: "#8A9892", zoom: { color: "#E0CFC3", highlightColor: "#8F837A" }, dialog: { backgroundColor: "#fbfafa", color: "#8A9892", header: { backgroundColor: "#fbfafa", color: "#8A9892" }, donutChart: { style: { chart: { backgroundColor: "#fbfafa", color: "#99AA99", layout: { labels: { percentage: { color: "#A0AC94" }, name: { color: "#A0AC94" }, hollow: { total: { color: "#A0AC94", value: { color: "#A0AC94" } }, average: { color: "#A0AC94", value: { color: "#A0AC94" } } } } }, legend: { backgroundColor: "#fbfafa", color: "#A0AC94" }, title: { color: "#8A9892", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#fbfafa", color: "#8A9892" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } } }, layout: { grid: { show: !1, yAxis: { dataLabels: { show: !1 } }, xAxis: { dataLabels: { show: !1 } } }, line: { stroke: "#DCDFE7" }, highlighter: { color: "#8F837A" }, dataLabels: { color: "#A0AC94" } }, legend: { backgroundColor: "#fbfafa", color: "#99AA99" }, title: { color: "#8A9892", subtitle: { color: "#99AA99" } } } }, table: { th: { backgroundColor: "#fbfafa", color: "#8F837A" }, td: { backgroundColor: "#fbfafa", color: "#8F837A" } } }, Ot = { style: { chart: { backgroundColor: "#f6f6fb", color: "#50606C", zoom: { color: "#92B0AB", highlightColor: "#50606C" }, dialog: { backgroundColor: "#f6f6fb", color: "#50606C", header: { backgroundColor: "#f6f6fb", color: "#50606C" }, donutChart: { style: { chart: { backgroundColor: "#f6f6fb", color: "#50606C", layout: { labels: { percentage: { color: "#61747E" }, name: { color: "#61747E" }, hollow: { total: { color: "#61747E", value: { color: "#61747E" } }, average: { color: "#61747E", value: { color: "#61747E" } } } } }, legend: { backgroundColor: "#f6f6fb", color: "#61747E" }, title: { color: "#50606C", subtitle: { color: "#718890" } }, tooltip: { backgroundColor: "#f6f6fb", color: "#50606C" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } } }, layout: { grid: { stroke: "#BBC4D3", yAxis: { dataLabels: { color: "#61747E" } }, xAxis: { dataLabels: { color: "#61747E" } } }, line: { stroke: "#92B0AB" }, highlighter: { color: "#50606C" }, dataLabels: { color: "#61747E" } }, legend: { backgroundColor: "#f6f6fb", color: "#61747E" }, title: { color: "#50606C", subtitle: { color: "#718890" } } } }, table: { th: { backgroundColor: "#f6f6fb", color: "#50606C" }, td: { backgroundColor: "#f6f6fb", color: "#50606C" } } }, Pt = {
19
19
  default: {},
20
- dark: Ft,
21
- celebration: Et,
22
- celebrationNight: Tt,
23
- hack: Bt,
20
+ dark: Et,
21
+ celebration: $t,
22
+ celebrationNight: zt,
23
+ hack: Tt,
24
24
  zen: It,
25
25
  concrete: Ot
26
- }, go = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
26
+ }, ga = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
27
27
  __proto__: null,
28
- celebration: Et,
29
- celebrationNight: Tt,
28
+ celebration: $t,
29
+ celebrationNight: zt,
30
30
  concrete: Ot,
31
- dark: Ft,
31
+ dark: Et,
32
32
  default: Pt,
33
- hack: Bt,
33
+ hack: Tt,
34
34
  zen: It
35
- }, Symbol.toStringTag, { value: "Module" })), aa = ["id"], oa = ["id"], ua = ["xmlns", "viewBox"], sa = ["x", "y", "width", "height"], na = ["id"], ra = ["stop-color"], ia = ["stop-color"], ca = ["id"], da = ["stop-color"], va = ["stop-color"], ha = ["stop-color"], ga = { key: 1 }, ya = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], fa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ba = { key: 0 }, ma = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ca = ["font-size", "fill", "transform"], pa = ["x", "y", "font-size", "fill"], xa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ka = ["x", "y", "font-size", "fill", "font-weight"], Aa = { key: 0 }, wa = ["text-anchor", "font-size", "fill", "transform"], La = ["text-anchor", "font-size", "fill", "transform", "innerHTML"], _a = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Sa = { key: 1 }, $a = ["cx", "cy", "r", "fill"], Da = { key: 0 }, za = { key: 0 }, Fa = ["d", "stroke"], Ea = ["text-anchor", "x", "y", "fill"], Ta = ["cx", "cy", "r", "fill"], Ba = { key: 0 }, Ia = ["cx", "cy", "fill"], Oa = { key: 1 }, Pa = ["d", "fill", "stroke"], Na = { key: 2 }, Ra = ["d", "fill", "stroke"], Va = ["x", "y", "font-size", "fill"], Ma = ["x", "y", "width", "height", "fill"], Ua = ["x", "y", "width", "height", "onMouseenter", "onMouseleave", "onClick"], Ha = {
35
+ }, Symbol.toStringTag, { value: "Module" })), oo = ["id"], ao = ["id"], ro = ["xmlns", "viewBox"], uo = ["x", "y", "width", "height"], no = ["id"], so = ["stop-color"], io = ["stop-color"], co = ["id"], vo = ["stop-color"], ho = ["stop-color"], go = ["stop-color"], fo = { key: 1 }, yo = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], bo = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Co = { key: 0 }, mo = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ao = ["font-size", "fill", "transform"], po = ["x", "y", "font-size", "fill"], ko = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], xo = ["x", "y", "font-size", "fill", "font-weight"], wo = { key: 0 }, Lo = ["text-anchor", "font-size", "fill", "transform"], Do = ["text-anchor", "font-size", "fill", "transform", "innerHTML"], _o = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], So = { key: 1 }, Fo = ["cx", "cy", "r", "fill"], Bo = { key: 0 }, Eo = { key: 0 }, $o = ["d", "stroke"], zo = ["text-anchor", "x", "y", "fill"], To = ["cx", "cy", "r", "fill"], Io = { key: 0 }, Oo = ["cx", "cy", "fill"], Po = { key: 1 }, No = ["d", "fill", "stroke"], Ro = { key: 2 }, Vo = ["d", "fill", "stroke"], Mo = ["x", "y", "font-size", "fill"], Uo = ["x", "y", "width", "height", "fill"], Ho = ["x", "y", "width", "height", "onMouseenter", "onMouseleave", "onClick"], Xo = {
36
36
  key: 4,
37
37
  class: "vue-data-ui-watermark"
38
- }, Xa = ["id"], Wa = ["onClick"], ja = { key: 0 }, Ga = { key: 1 }, Ya = {
38
+ }, Wo = ["id"], jo = ["onClick"], Go = { key: 0 }, Yo = { key: 1 }, qo = {
39
39
  __name: "vue-ui-donut-evolution",
40
40
  props: {
41
41
  config: {
@@ -53,18 +53,18 @@ const Ft = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
53
53
  },
54
54
  emits: ["selectLegend"],
55
55
  setup(Nt, { expose: Rt, emit: Vt }) {
56
- const Mt = V(() => import("./vue-ui-accordion-BXTVRRX7.js")), Ut = V(() => import("./BaseIcon-Dl4VBlHV.js")), Ht = V(() => import("./DataTable-Ho3Bf5oq.js")), Xt = V(() => import("./PackageVersion-CIzi6Isi.js")), Wt = V(() => import("./PenAndPaper-kymjF6_b.js")), jt = V(() => import("./UserOptions-DgscxIaa.js")), Gt = V(() => import("./vue-ui-donut-3_yDoSFz.js").then((t) => t.a)), Oe = V(() => import("./BaseDraggableDialog-DZVSjhEw.js")), { vue_ui_donut_evolution: Yt } = Ul(), { isThemeValid: qt, warnInvalidTheme: Zt } = Yl(), p = Nt, T = i(wt()), k = i([]), b = i(null), ae = i(null), he = i(!1), M = i(null), N = i(null), Jt = i(null), Pe = i(0), Ne = i(0), Re = i(0), Ve = i(0), Me = i(0), ge = i(null), oe = i(null), ye = i(null), fe = i(null), Ue = i(!1), Z = i(null), be = i(null), He = i(null), Xe = i(null), We = i(null), je = i(null), Ge = i(null), me = i(!1), J = xt(null), ue = xt(null), Ye = i(null), qe = Vt, Ze = g(() => !!p.dataset && p.dataset.length);
57
- xl(() => {
56
+ const Mt = V(() => import("./vue-ui-accordion-BXTVRRX7.js")), Ut = V(() => import("./BaseIcon-Dl4VBlHV.js")), Ht = V(() => import("./DataTable-Ho3Bf5oq.js")), Xt = V(() => import("./PackageVersion-DtFSiS0a.js")), Wt = V(() => import("./PenAndPaper-kymjF6_b.js")), jt = V(() => import("./UserOptions-DgscxIaa.js")), Gt = V(() => import("./vue-ui-donut-Ckz6GstQ.js").then((t) => t.a)), Oe = V(() => import("./BaseDraggableDialog-DZVSjhEw.js")), { vue_ui_donut_evolution: Yt } = Ul(), { isThemeValid: qt, warnInvalidTheme: Zt } = Yl(), A = Nt, z = i(wt()), k = i([]), b = i(null), oe = i(null), he = i(!1), M = i(null), N = i(null), Jt = i(null), Pe = i(0), Ne = i(0), Re = i(0), Ve = i(0), Me = i(0), ge = i(null), ae = i(null), fe = i(null), ye = i(null), Ue = i(!1), Z = i(null), be = i(null), He = i(null), Xe = i(null), We = i(null), je = i(null), Ge = i(null), Ce = i(!1), J = pt(null), re = pt(null), Ye = i(null), qe = Vt, Ze = g(() => !!A.dataset && A.dataset.length);
57
+ pl(() => {
58
58
  Ue.value = !0, Je();
59
59
  });
60
- const se = g(() => !!e.value.debug);
60
+ const ue = g(() => !!e.value.debug);
61
61
  function Je() {
62
- if (Lt(p.dataset) ? (ce({
62
+ if (Lt(A.dataset) ? (ce({
63
63
  componentName: "VueUiDonutEvolution",
64
64
  type: "dataset",
65
- debug: se.value
66
- }), ne.value = !0) : p.dataset.length && p.dataset.forEach((t, a) => {
67
- $l({
65
+ debug: ue.value
66
+ }), ne.value = !0) : A.dataset.length && A.dataset.forEach((t, o) => {
67
+ Sl({
68
68
  datasetObject: t,
69
69
  requiredAttributes: ["name", "values"]
70
70
  }).forEach((l) => {
@@ -72,16 +72,16 @@ const Ft = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
72
72
  componentName: "VueUiDonutEvolution",
73
73
  type: "datasetSerieAttribute",
74
74
  property: l,
75
- index: a,
76
- debug: se.value
75
+ index: o,
76
+ debug: ue.value
77
77
  }), ne.value = !0;
78
78
  });
79
- }), Lt(p.dataset) || (ne.value = e.value.loading), setTimeout(() => {
80
- me.value = !0;
81
- }, 10), pe(), e.value.responsive) {
82
- const t = zt(() => {
83
- me.value = !1;
84
- const { width: a, height: l } = Ml({
79
+ }), Lt(A.dataset) || (ne.value = e.value.loading), setTimeout(() => {
80
+ Ce.value = !0;
81
+ }, 10), Ae(), e.value.responsive) {
82
+ const t = Bt(() => {
83
+ Ce.value = !1;
84
+ const { width: o, height: l } = Ml({
85
85
  chart: N.value,
86
86
  title: e.value.style.chart.title.text ? He.value : null,
87
87
  legend: e.value.style.chart.legend.show ? Xe.value : null,
@@ -89,21 +89,21 @@ const Ft = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
89
89
  source: We.value
90
90
  });
91
91
  requestAnimationFrame(() => {
92
- j.value.width = a, j.value.height = l - 12, clearTimeout(Ye.value), Ye.value = setTimeout(() => {
93
- me.value = !0;
92
+ j.value.width = o, j.value.height = l - 12, clearTimeout(Ye.value), Ye.value = setTimeout(() => {
93
+ Ce.value = !0;
94
94
  }, 10);
95
95
  });
96
96
  });
97
- J.value && (ue.value && J.value.unobserve(ue.value), J.value.disconnect()), J.value = new ResizeObserver(t), ue.value = N.value.parentNode, J.value.observe(ue.value);
97
+ J.value && (re.value && J.value.unobserve(re.value), J.value.disconnect()), J.value = new ResizeObserver(t), re.value = N.value.parentNode, J.value.observe(re.value);
98
98
  }
99
99
  }
100
- const e = i(Ae()), { loading: Ke, FINAL_DATASET: Ce, manualLoading: ne } = Xl({
101
- ...kl(p),
100
+ const e = i(xe()), { loading: Ke, FINAL_DATASET: me, manualLoading: ne } = Xl({
101
+ ...kl(A),
102
102
  FINAL_CONFIG: e,
103
- prepareConfig: Ae,
103
+ prepareConfig: xe,
104
104
  callback: () => {
105
105
  Promise.resolve().then(async () => {
106
- await pe();
106
+ await Ae();
107
107
  });
108
108
  },
109
109
  skeletonDataset: [
@@ -123,7 +123,7 @@ const Ft = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
123
123
  color: "#CACACA"
124
124
  }
125
125
  ],
126
- skeletonConfig: Dl({
126
+ skeletonConfig: Fl({
127
127
  defaultConfig: e.value,
128
128
  userConfig: {
129
129
  useCssAnimation: !1,
@@ -168,63 +168,63 @@ const Ft = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
168
168
  }), j = i({
169
169
  width: e.value.style.chart.layout.width,
170
170
  height: e.value.style.chart.layout.height
171
- }), Qe = g(() => Math.max(...Ce.value.map((t) => t.values.length))), h = i({
171
+ }), Qe = g(() => Math.max(...me.value.map((t) => t.values.length))), h = i({
172
172
  start: 0,
173
173
  end: Qe.value
174
174
  });
175
175
  function et() {
176
- pe();
176
+ Ae();
177
177
  }
178
- async function pe() {
179
- await ze(), await ze();
180
- const { startIndex: t, endIndex: a } = e.value.style.chart.zoom, l = je.value;
181
- h.value = { start: 0, max: z.value }, (t != null || a != null) && l ? (t != null ? l.setStartValue(t) : (h.value.start = 0, l.setStartValue(0)), a != null ? l.setEndValue(Kt(a + 1)) : (h.value.end = z.value, l.setEndValue(z.value))) : (h.value = {
178
+ async function Ae() {
179
+ await Be(), await Be();
180
+ const { startIndex: t, endIndex: o } = e.value.style.chart.zoom, l = je.value;
181
+ h.value = { start: 0, max: B.value }, (t != null || o != null) && l ? (t != null ? l.setStartValue(t) : (h.value.start = 0, l.setStartValue(0)), o != null ? l.setEndValue(Kt(o + 1)) : (h.value.end = B.value, l.setEndValue(B.value))) : (h.value = {
182
182
  start: 0,
183
- end: z.value
183
+ end: B.value
184
184
  }, Ne.value += 1);
185
185
  }
186
186
  function Kt(t) {
187
- const a = z.value;
188
- return t > a ? a : t < 0 || e.value.style.chart.zoom.startIndex !== null && t < e.value.style.chart.zoom.startIndex ? e.value.style.chart.zoom.startIndex !== null ? e.value.style.chart.zoom.startIndex + 1 : 1 : t;
187
+ const o = B.value;
188
+ return t > o ? o : t < 0 || e.value.style.chart.zoom.startIndex !== null && t < e.value.style.chart.zoom.startIndex ? e.value.style.chart.zoom.startIndex !== null ? e.value.style.chart.zoom.startIndex + 1 : 1 : t;
189
189
  }
190
- const { userOptionsVisible: xe, setUserOptionsVisibility: tt, keepUserOptionState: lt } = ql({ config: e.value }), { svgRef: ke } = Zl({ config: e.value.style.chart.title });
191
- function Ae() {
190
+ const { userOptionsVisible: pe, setUserOptionsVisibility: tt, keepUserOptionState: lt } = ql({ config: e.value }), { svgRef: ke } = Zl({ config: e.value.style.chart.title });
191
+ function xe() {
192
192
  const t = Ie({
193
- userConfig: p.config,
193
+ userConfig: A.config,
194
194
  defaultConfig: Yt
195
195
  });
196
- let a = {};
196
+ let o = {};
197
197
  const l = t.theme;
198
198
  if (l)
199
199
  if (!qt.value(t))
200
- Zt(t), a = t;
200
+ Zt(t), o = t;
201
201
  else {
202
- const s = Ie({
203
- userConfig: Pt[l] || p.config,
202
+ const u = Ie({
203
+ userConfig: Pt[l] || A.config,
204
204
  defaultConfig: t
205
205
  });
206
- a = {
206
+ o = {
207
207
  ...Ie({
208
- userConfig: p.config,
209
- defaultConfig: s
208
+ userConfig: A.config,
209
+ defaultConfig: u
210
210
  }),
211
- customPalette: t.customPalette ? t.customPalette : zl[l] || de
211
+ customPalette: t.customPalette ? t.customPalette : Bl[l] || de
212
212
  };
213
213
  }
214
214
  else
215
- a = t;
216
- return p.config && _t(p.config, "style.chart.zoom.startIndex") ? a.style.chart.zoom.startIndex = p.config.style.chart.zoom.startIndex : a.style.chart.zoom.startIndex = null, p.config && _t(p.config, "style.chart.zoom.endIndex") ? a.style.chart.zoom.endIndex = p.config.style.chart.zoom.endIndex : a.style.chart.zoom.endIndex = null, a;
215
+ o = t;
216
+ return A.config && Dt(A.config, "style.chart.zoom.startIndex") ? o.style.chart.zoom.startIndex = A.config.style.chart.zoom.startIndex : o.style.chart.zoom.startIndex = null, A.config && Dt(A.config, "style.chart.zoom.endIndex") ? o.style.chart.zoom.endIndex = A.config.style.chart.zoom.endIndex : o.style.chart.zoom.endIndex = null, o;
217
217
  }
218
- ie(() => p.config, (t) => {
219
- Ke.value || (e.value = Ae()), xe.value = !e.value.userOptions.showOnChartHover, Je(), Re.value += 1, Ve.value += 1, Me.value += 1, U.value.showTable = e.value.table.show;
220
- }, { deep: !0 }), ie(() => p.dataset, (t) => {
218
+ ie(() => A.config, (t) => {
219
+ Ke.value || (e.value = xe()), pe.value = !e.value.userOptions.showOnChartHover, Je(), Re.value += 1, Ve.value += 1, Me.value += 1, U.value.showTable = e.value.table.show;
220
+ }, { deep: !0 }), ie(() => A.dataset, (t) => {
221
221
  Array.isArray(t) && t.length > 0 && (ne.value = !1), et();
222
222
  }, { deep: !0 });
223
- const { isPrinting: at, isImaging: ot, generatePdf: ut, generateImage: st } = Hl({
224
- elementId: T.value,
223
+ const { isPrinting: ot, isImaging: at, generatePdf: rt, generateImage: ut } = Hl({
224
+ elementId: z.value,
225
225
  fileName: e.value.style.chart.title.text || "vue-ui-donut-evolution",
226
226
  options: e.value.userOptions.print
227
- }), Qt = g(() => e.value.userOptions.show && !e.value.style.chart.title.text), el = g(() => Fl(e.value.customPalette)), U = i({
227
+ }), Qt = g(() => e.value.userOptions.show && !e.value.style.chart.title.text), el = g(() => El(e.value.customPalette)), U = i({
228
228
  showTable: e.value.table.show
229
229
  });
230
230
  ie(e, () => {
@@ -240,121 +240,121 @@ const Ft = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
240
240
  }));
241
241
  function tl() {
242
242
  let t = 0;
243
- ge.value && (t = Array.from(ge.value.querySelectorAll("text")).reduce((o, y) => {
244
- const v = y.getComputedTextLength();
245
- return v > o ? v : o;
243
+ ge.value && (t = Array.from(ge.value.querySelectorAll("text")).reduce((a, f) => {
244
+ const v = f.getComputedTextLength();
245
+ return v > a ? v : a;
246
246
  }, 0));
247
- const a = fe.value ? fe.value.getBoundingClientRect().width + e.value.style.chart.layout.grid.axis.yLabelOffsetX + e.value.style.chart.layout.grid.axis.fontSize : 0;
248
- return t + a + 5;
247
+ const o = ye.value ? ye.value.getBoundingClientRect().width + e.value.style.chart.layout.grid.axis.yLabelOffsetX + e.value.style.chart.layout.grid.axis.fontSize : 0;
248
+ return t + o + 5;
249
249
  }
250
- const we = i(0), ll = zt((t) => {
250
+ const we = i(0), ll = Bt((t) => {
251
251
  we.value = t;
252
252
  }, 100);
253
- Al((t) => {
254
- const a = oe.value;
255
- if (!a) return;
256
- const l = new ResizeObserver((s) => {
257
- ll(s[0].contentRect.height);
253
+ xl((t) => {
254
+ const o = ae.value;
255
+ if (!o) return;
256
+ const l = new ResizeObserver((u) => {
257
+ ll(u[0].contentRect.height);
258
258
  });
259
- l.observe(a), t(() => l.disconnect());
259
+ l.observe(o), t(() => l.disconnect());
260
260
  }), wl(() => {
261
261
  we.value = 0;
262
262
  });
263
263
  const nt = g(() => {
264
264
  let t = 0;
265
- ye.value && (t = ye.value.getBBox().height);
266
- let a = 0;
267
- return oe.value && (a = we.value), t + a + e.value.style.chart.layout.grid.axis.fontSize + e.value.style.chart.layout.grid.xAxis.dataLabels.offsetY;
268
- }), r = g(() => {
269
- const t = tl(), a = e.value.style.chart.layout.dataLabels.fontSize * 3, l = j.value.width, s = j.value.height, o = H.value.left + t, y = l - H.value.right, v = l - o - H.value.right, x = s - H.value.top - H.value.bottom - a - nt.value, q = H.value.top + a, R = s - H.value.bottom - nt.value;
265
+ fe.value && (t = fe.value.getBBox().height);
266
+ let o = 0;
267
+ return ae.value && (o = we.value), t + o + e.value.style.chart.layout.grid.axis.fontSize + e.value.style.chart.layout.grid.xAxis.dataLabels.offsetY;
268
+ }), s = g(() => {
269
+ const t = tl(), o = e.value.style.chart.layout.dataLabels.fontSize * 3, l = j.value.width, u = j.value.height, a = H.value.left + t, f = l - H.value.right, v = l - a - H.value.right, p = u - H.value.top - H.value.bottom - o - nt.value, q = H.value.top + o, R = u - H.value.bottom - nt.value;
270
270
  return {
271
271
  top: q,
272
- left: o,
273
- right: y,
272
+ left: a,
273
+ right: f,
274
274
  bottom: R,
275
- absoluteHeight: s,
275
+ absoluteHeight: u,
276
276
  absoluteWidth: l,
277
- centerX: o + Math.max(10, v) / 2,
278
- centerY: q + Math.max(10, x) / 2,
277
+ centerX: a + Math.max(10, v) / 2,
278
+ centerY: q + Math.max(10, p) / 2,
279
279
  width: Math.max(10, v),
280
- height: Math.max(10, x)
280
+ height: Math.max(10, p)
281
281
  };
282
- }), B = g(() => (Ce.value.forEach((t, a) => {
282
+ }), T = g(() => (me.value.forEach((t, o) => {
283
283
  [null, void 0].includes(t.name) && ce({
284
284
  componentName: "VueUiDonutEvolution",
285
285
  type: "datasetSerieAttribute",
286
286
  property: "name",
287
- index: a,
288
- debug: se.value
287
+ index: o,
288
+ debug: ue.value
289
289
  }), [null, void 0].includes(t.values) && ce({
290
290
  componentName: "VueUiDonutEvolution",
291
291
  type: "datasetSerieAttribute",
292
292
  property: "values",
293
- index: a,
294
- debug: se.value
293
+ index: o,
294
+ debug: ue.value
295
295
  });
296
- }), Ce.value.map((t, a) => ({
296
+ }), me.value.map((t, o) => ({
297
297
  ...t,
298
- values: El(t.values),
299
- color: Ee(t.color) || el.value[a] || de[a] || de[a % de.length],
298
+ values: $l(t.values),
299
+ color: $e(t.color) || el.value[o] || de[o] || de[o % de.length],
300
300
  length: (t.values || []).length,
301
301
  uid: wt()
302
- })))), X = g(() => B.value.filter((t) => !k.value.includes(t.uid)).map((t) => ({
302
+ })))), X = g(() => T.value.filter((t) => !k.value.includes(t.uid)).map((t) => ({
303
303
  ...t,
304
- values: t.values.filter((a, l) => l >= h.value.start && l <= h.value.end)
305
- }))), z = g(() => Math.max(...X.value.map((t) => t.length))), L = g(() => Gl({
304
+ values: t.values.filter((o, l) => l >= h.value.start && l <= h.value.end)
305
+ }))), B = g(() => Math.max(...X.value.map((t) => t.length))), L = g(() => Gl({
306
306
  values: e.value.style.chart.layout.grid.xAxis.dataLabels.values,
307
- maxDatapoints: z.value,
307
+ maxDatapoints: B.value,
308
308
  formatter: e.value.style.chart.layout.grid.xAxis.dataLabels.datetimeFormatter,
309
309
  start: h.value.start,
310
310
  end: h.value.end
311
- })), w = g(() => r.value.width / (h.value.end - h.value.start)), _ = g(() => {
311
+ })), w = g(() => s.value.width / (h.value.end - h.value.start)), D = g(() => {
312
312
  const t = [];
313
- for (let o = 0; o < h.value.end - h.value.start; o += 1) {
314
- const y = X.value.map((F) => F.values[o] ?? null), v = y.filter((F) => [void 0, null].includes(F)).length === y.length, x = y.reduce((F, S) => F + S, 0), q = y.map((F) => F / x), R = r.value.left + w.value * o + w.value / 2;
313
+ for (let a = 0; a < h.value.end - h.value.start; a += 1) {
314
+ const f = X.value.map((E) => E.values[a] ?? null), v = f.filter((E) => [void 0, null].includes(E)).length === f.length, p = f.reduce((E, _) => E + _, 0), q = f.map((E) => E / p), R = s.value.left + w.value * a + w.value / 2;
315
315
  t.push({
316
- index: o,
316
+ index: a,
317
317
  percentages: q,
318
- subtotal: v || x < 0 ? null : x,
319
- values: y,
318
+ subtotal: v || p < 0 ? null : p,
319
+ values: f,
320
320
  x: R
321
321
  });
322
322
  }
323
- const a = 0, l = Math.max(...t.map((o) => o.subtotal)), s = t.length === 1 ? l * 2 : l;
324
- return t.map((o, y) => {
325
- const v = Math.min(r.value.width / 24, w.value / 2 * 0.7), x = v > r.value.width / 16 ? r.value.width / 16 : v, q = b.value === o.index ? r.value.width / 16 : x, R = t.length > 4 ? v * 2 : v * 2 > w.value / 2 * 0.7 ? w.value / 2 * 0.7 : v * 2, F = r.value.bottom - r.value.height * o.subtotal / St(a, s, e.value.style.chart.layout.grid.yAxis.dataLabels.steps).max;
323
+ const o = 0, l = Math.max(...t.map((a) => a.subtotal)), u = t.length === 1 ? l * 2 : l;
324
+ return t.map((a, f) => {
325
+ const v = Math.min(s.value.width / 24, w.value / 2 * 0.7), p = v > s.value.width / 16 ? s.value.width / 16 : v, q = b.value === a.index ? s.value.width / 16 : p, R = t.length > 4 ? v * 2 : v * 2 > w.value / 2 * 0.7 ? w.value / 2 * 0.7 : v * 2, E = s.value.bottom - s.value.height * a.subtotal / _t(o, u, e.value.style.chart.layout.grid.yAxis.dataLabels.steps).max;
326
326
  return {
327
- ...o,
328
- y: F,
329
- radius: x,
327
+ ...a,
328
+ y: E,
329
+ radius: p,
330
330
  activeRadius: q,
331
331
  hoverRadius: R,
332
- donut: Te({
333
- series: X.value.map((S, pt) => ({
334
- color: S.color,
335
- name: S.name,
336
- value: S.values[y] ?? 0
332
+ donut: ze({
333
+ series: X.value.map((_, At) => ({
334
+ color: _.color,
335
+ name: _.name,
336
+ value: _.values[f] ?? 0
337
337
  }))
338
- }, o.x, F, x, x, 1.99999, 2, 1, 360, 105.25, x / 2),
339
- donutHover: Te({
340
- series: X.value.map((S, pt) => ({
341
- color: S.color,
342
- name: S.name,
343
- value: S.values[y] ?? 0
338
+ }, a.x, E, p, p, 1.99999, 2, 1, 360, 105.25, p / 2),
339
+ donutHover: ze({
340
+ series: X.value.map((_, At) => ({
341
+ color: _.color,
342
+ name: _.name,
343
+ value: _.values[f] ?? 0
344
344
  }))
345
- }, o.x, F, R, R, 1.99999, 2, 1, 360, 105.25, R / 2),
346
- donutFocus: Te({
347
- series: X.value.map((S, pt) => ({
348
- color: S.color,
349
- name: S.name,
350
- value: S.values[y] ?? 0
345
+ }, a.x, E, R, R, 1.99999, 2, 1, 360, 105.25, R / 2),
346
+ donutFocus: ze({
347
+ series: X.value.map((_, At) => ({
348
+ color: _.color,
349
+ name: _.name,
350
+ value: _.values[f] ?? 0
351
351
  }))
352
- }, r.value.centerX, r.value.centerY, r.value.height / 3.6, r.value.height / 3.6, 1.99999, 2, 1, 360, 105.25, r.value.height / 6)
352
+ }, s.value.centerX, s.value.centerY, s.value.height / 3.6, s.value.height / 3.6, 1.99999, 2, 1, 360, 105.25, s.value.height / 6)
353
353
  };
354
354
  });
355
355
  });
356
- function rt(t, a, l) {
357
- return Be(
356
+ function st(t, o, l) {
357
+ return Te(
358
358
  e.value.style.chart.layout.dataLabels.formatter,
359
359
  t,
360
360
  ve({
@@ -363,48 +363,48 @@ const Ft = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
363
363
  s: e.value.style.chart.layout.dataLabels.suffix,
364
364
  r: e.value.style.chart.layout.dataLabels.rounding
365
365
  }),
366
- { datapoint: a, index: l }
366
+ { datapoint: o, index: l }
367
367
  );
368
368
  }
369
369
  const Le = g(() => ({
370
- max: Math.max(..._.value.map((t) => t.subtotal)),
370
+ max: Math.max(...D.value.map((t) => t.subtotal)),
371
371
  min: 0
372
372
  })), G = g(() => {
373
- const t = _.value.length === 1 ? Le.value.max * 2 : Le.value.max;
374
- return St(Le.value.min, t, e.value.style.chart.layout.grid.yAxis.dataLabels.steps);
373
+ const t = D.value.length === 1 ? Le.value.max * 2 : Le.value.max;
374
+ return _t(Le.value.min, t, e.value.style.chart.layout.grid.yAxis.dataLabels.steps);
375
375
  });
376
- function al(t) {
376
+ function ol(t) {
377
377
  return t / G.value.max;
378
378
  }
379
- const ol = g(() => G.value.ticks.map((t) => ({
380
- y: r.value.bottom - r.value.height * al(t),
379
+ const al = g(() => G.value.ticks.map((t) => ({
380
+ y: s.value.bottom - s.value.height * ol(t),
381
381
  value: t
382
382
  })));
383
- function ul(t, a) {
384
- return isNaN(t.value / Dt(a, "value")) ? 0 : (t.value / Dt(a, "value") * 100).toFixed(0) + "%";
383
+ function rl(t, o) {
384
+ return isNaN(t.value / Ft(o, "value")) ? 0 : (t.value / Ft(o, "value") * 100).toFixed(0) + "%";
385
385
  }
386
386
  function it(t) {
387
- b.value = null, ae.value = null, e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: t.seriesIndex + h.value.start });
387
+ b.value = null, oe.value = null, e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: t.seriesIndex + h.value.start });
388
388
  }
389
- function sl(t) {
390
- e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: t.index + h.value.start }), b.value = t.index, ae.value = t;
389
+ function ul(t) {
390
+ e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: t.index + h.value.start }), b.value = t.index, oe.value = t;
391
391
  }
392
392
  const K = i(null);
393
- function ct(t, a) {
394
- e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: t.index + h.value.start }), !(!t.subtotal || !e.value.style.chart.dialog.show) && (ae.value = null, b.value = null, he.value = !0, M.value = t, dl(t), [null, void 0].includes(a) || (K.value = a));
393
+ function ct(t, o) {
394
+ e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: t.index + h.value.start }), !(!t.subtotal || !e.value.style.chart.dialog.show) && (oe.value = null, b.value = null, he.value = !0, M.value = t, dl(t), [null, void 0].includes(o) || (K.value = o));
395
395
  }
396
- const _e = g(() => B.value.map((t, a) => ({
396
+ const De = g(() => T.value.map((t, o) => ({
397
397
  name: t.name,
398
- value: t.values.slice(h.value.start, h.value.end).reduce((l, s) => l + s, 0),
398
+ value: t.values.slice(h.value.start, h.value.end).reduce((l, u) => l + u, 0),
399
399
  shape: "circle",
400
400
  uid: t.uid,
401
401
  color: t.color
402
- })).sort((t, a) => a.value - t.value).map((t, a) => ({
402
+ })).sort((t, o) => o.value - t.value).map((t, o) => ({
403
403
  ...t,
404
404
  opacity: k.value.includes(t.uid) ? 0.5 : 1,
405
405
  segregate: () => Q(t.uid),
406
406
  isSegregated: k.value.includes(t.uid),
407
- display: `${t.name}${e.value.style.chart.legend.showPercentage || e.value.style.chart.legend.showValue ? ": " : ""}${e.value.style.chart.legend.showValue ? Be(
407
+ display: `${t.name}${e.value.style.chart.legend.showPercentage || e.value.style.chart.legend.showValue ? ": " : ""}${e.value.style.chart.legend.showValue ? Te(
408
408
  e.value.style.chart.layout.dataLabels.formatter,
409
409
  t.value,
410
410
  ve({
@@ -413,13 +413,13 @@ const Ft = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
413
413
  s: e.value.style.chart.layout.dataLabels.suffix,
414
414
  r: e.value.style.chart.legend.roundingValue
415
415
  }),
416
- { datapoint: t, seriesIndex: a }
416
+ { datapoint: t, seriesIndex: o }
417
417
  ) : ""}${e.value.style.chart.legend.showPercentage ? k.value.includes(t.uid) ? `${e.value.style.chart.legend.showValue ? " (" : ""}- %${e.value.style.chart.legend.showValue ? ")" : ""}` : `${e.value.style.chart.legend.showValue ? " (" : ""}${isNaN(t.value / dt.value) ? "-" : ve({
418
418
  v: t.value / dt.value * 100,
419
419
  s: "%",
420
420
  r: e.value.style.chart.legend.roundingPercentage
421
421
  })}${e.value.style.chart.legend.showValue ? ")" : ""}` : ""}`
422
- }))), dt = g(() => _.value.map((t) => t.subtotal).reduce((t, a) => t + a, 0)), nl = g(() => ({
422
+ }))), dt = g(() => D.value.map((t) => t.subtotal).reduce((t, o) => t + o, 0)), nl = g(() => ({
423
423
  cy: "donut-div-legend",
424
424
  backgroundColor: e.value.style.chart.legend.backgroundColor,
425
425
  color: e.value.style.chart.legend.color,
@@ -429,39 +429,39 @@ const Ft = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
429
429
  }));
430
430
  function Q(t) {
431
431
  if (k.value.includes(t))
432
- k.value = k.value.filter((a) => a !== t), qe("selectLegend", X.value);
432
+ k.value = k.value.filter((o) => o !== t), qe("selectLegend", X.value);
433
433
  else {
434
- if (k.value.length === B.value.length - 1) return;
434
+ if (k.value.length === T.value.length - 1) return;
435
435
  k.value.push(t), qe("selectLegend", X.value);
436
436
  }
437
- M.value && ct(_.value.find((a, l) => l === K.value));
437
+ M.value && ct(D.value.find((o, l) => l === K.value));
438
438
  }
439
439
  function vt(t) {
440
- if (!B.value.length)
440
+ if (!T.value.length)
441
441
  return e.value.debug && console.warn("VueUiDonutEvolution - There are no series to show."), null;
442
- const a = B.value.find((l) => l.name === t);
443
- return a || (e.value.debug && console.warn(`VueUiDonutEvolution - Series name not found "${t}"`), null);
442
+ const o = T.value.find((l) => l.name === t);
443
+ return o || (e.value.debug && console.warn(`VueUiDonutEvolution - Series name not found "${t}"`), null);
444
444
  }
445
- function rl(t) {
446
- const a = vt(t);
447
- a !== null && k.value.includes(a.uid) && Q(a.uid);
445
+ function sl(t) {
446
+ const o = vt(t);
447
+ o !== null && k.value.includes(o.uid) && Q(o.uid);
448
448
  }
449
449
  function il(t) {
450
- const a = vt(t);
451
- a !== null && (k.value.includes(a.uid) || Q(a.uid));
450
+ const o = vt(t);
451
+ o !== null && (k.value.includes(o.uid) || Q(o.uid));
452
452
  }
453
453
  const Y = g(() => {
454
- const t = [""].concat(B.value.filter((o) => !k.value.includes(o.uid)).map((o) => ({
455
- name: o.name,
456
- color: o.color
454
+ const t = [""].concat(T.value.filter((a) => !k.value.includes(a.uid)).map((a) => ({
455
+ name: a.name,
456
+ color: a.color
457
457
  }))).concat(["Σ"]);
458
- let a = [];
459
- for (let o = 0; o < z.value; o += 1) {
460
- const y = B.value.filter((v) => !k.value.includes(v.uid)).map((v) => v.values[o] ?? 0).reduce((v, x) => v + x, 0);
461
- a.push([L.value[o] ? L.value[o].text : "-"].concat(B.value.filter((v) => !k.value.includes(v.uid)).map((v) => ({
462
- value: v.values[o] ?? 0,
463
- percentage: v.values[o] ? v.values[o] / y * 100 : 0
464
- }))).concat([`${e.value.style.chart.layout.dataLabels.prefix}${Number(y.toFixed(e.value.table.td.roundingValue))}${e.value.style.chart.layout.dataLabels.suffix}`]));
458
+ let o = [];
459
+ for (let a = 0; a < B.value; a += 1) {
460
+ const f = T.value.filter((v) => !k.value.includes(v.uid)).map((v) => v.values[a] ?? 0).reduce((v, p) => v + p, 0);
461
+ o.push([L.value[a] ? L.value[a].text : "-"].concat(T.value.filter((v) => !k.value.includes(v.uid)).map((v) => ({
462
+ value: v.values[a] ?? 0,
463
+ percentage: v.values[a] ? v.values[a] / f * 100 : 0
464
+ }))).concat([`${e.value.style.chart.layout.dataLabels.prefix}${Number(f.toFixed(e.value.table.td.roundingValue))}${e.value.style.chart.layout.dataLabels.suffix}`]));
465
465
  }
466
466
  const l = {
467
467
  th: {
@@ -475,18 +475,18 @@ const Ft = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
475
475
  outline: e.value.table.td.outline
476
476
  },
477
477
  breakpoint: e.value.table.responsiveBreakpoint
478
- }, s = [
478
+ }, u = [
479
479
  e.value.table.columnNames.period
480
- ].concat(B.value.filter((o) => !k.value.includes(o.uid)).map((o) => o.name)).concat(e.value.table.columnNames.total);
481
- return { head: t, body: a, config: l, colNames: s };
480
+ ].concat(T.value.filter((a) => !k.value.includes(a.uid)).map((a) => a.name)).concat(e.value.table.columnNames.total);
481
+ return { head: t, body: o, config: l, colNames: u };
482
482
  });
483
483
  function cl() {
484
- return B.value;
484
+ return T.value;
485
485
  }
486
- function Se(t = null) {
487
- ze(() => {
488
- const a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], l = [...Y.value.head.map((v) => v.name ?? v)], s = [...Y.value.body.map((v) => v.map((x) => x.value ?? x))], o = a.concat([l]).concat(s), y = Nl(o);
489
- t ? t(y) : Rl({ csvContent: y, title: e.value.style.chart.title.text || "vue-ui-donut-evolution" });
486
+ function _e(t = null) {
487
+ Be(() => {
488
+ const o = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], l = [...Y.value.head.map((v) => v.name ?? v)], u = [...Y.value.body.map((v) => v.map((p) => p.value ?? p))], a = o.concat([l]).concat(u), f = Nl(a);
489
+ t ? t(f) : Rl({ csvContent: f, title: e.value.style.chart.title.text || "vue-ui-donut-evolution" });
490
490
  });
491
491
  }
492
492
  const W = i(!1);
@@ -496,40 +496,40 @@ const Ft = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
496
496
  function gt() {
497
497
  U.value.showTable = !U.value.showTable;
498
498
  }
499
- const re = i(!1);
500
- function $e() {
501
- re.value = !re.value;
499
+ const se = i(!1);
500
+ function Se() {
501
+ se.value = !se.value;
502
502
  }
503
- function yt(t) {
503
+ function ft(t) {
504
504
  return t.proportion * 100 > e.value.style.chart.donuts.hover.hideLabelsUnderValue;
505
505
  }
506
- const ft = i([]), bt = i({}), De = i(null);
506
+ const yt = i([]), bt = i({}), Fe = i(null);
507
507
  function dl(t) {
508
- ft.value = t.donut.map((a) => ({
509
- name: a.name,
510
- values: [a.value],
511
- color: a.color
508
+ yt.value = t.donut.map((o) => ({
509
+ name: o.name,
510
+ values: [o.value],
511
+ color: o.color
512
512
  })), bt.value = Vl({
513
513
  ...e.value.style.chart.dialog.donutChart,
514
514
  responsive: !0,
515
515
  theme: e.value.theme
516
- }), De.value && De.value.open();
516
+ }), Fe.value && Fe.value.open();
517
517
  }
518
518
  async function vl({ scale: t = 2 } = {}) {
519
519
  if (!N.value) return;
520
- const { width: a, height: l } = N.value.getBoundingClientRect(), s = a / l, { imageUri: o, base64: y } = await Kl({ domElement: N.value, base64: !0, img: !0, scale: t });
520
+ const { width: o, height: l } = N.value.getBoundingClientRect(), u = o / l, { imageUri: a, base64: f } = await Kl({ domElement: N.value, base64: !0, img: !0, scale: t });
521
521
  return {
522
- imageUri: o,
523
- base64: y,
522
+ imageUri: a,
523
+ base64: f,
524
524
  title: e.value.style.chart.title.text,
525
- width: a,
525
+ width: o,
526
526
  height: l,
527
- aspectRatio: s
527
+ aspectRatio: u
528
528
  };
529
529
  }
530
530
  const hl = g(() => j.value.width), gl = g(() => j.value.height);
531
531
  Jl({
532
- timeLabelsEls: oe,
532
+ timeLabelsEls: ae,
533
533
  timeLabels: L,
534
534
  slicer: h,
535
535
  configRef: e,
@@ -541,7 +541,7 @@ const Ft = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
541
541
  rotation: e.value.style.chart.layout.grid.xAxis.dataLabels.autoRotate.angle
542
542
  });
543
543
  const ee = g(() => {
544
- const t = e.value.table.useDialog && !e.value.table.show, a = U.value.showTable;
544
+ const t = e.value.table.useDialog && !e.value.table.show, o = U.value.showTable;
545
545
  return {
546
546
  component: t ? Oe : Mt,
547
547
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
@@ -556,7 +556,7 @@ const Ft = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
556
556
  } : {
557
557
  hideDetails: !0,
558
558
  config: {
559
- open: a,
559
+ open: o,
560
560
  maxHeight: 1e4,
561
561
  body: {
562
562
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -573,90 +573,90 @@ const Ft = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
573
573
  ie(() => U.value.showTable, (t) => {
574
574
  e.value.table.show || (t && e.value.table.useDialog && Z.value ? Z.value.open() : "close" in Z.value && Z.value.close());
575
575
  });
576
- function mt() {
576
+ function Ct() {
577
577
  U.value.showTable = !1, be.value && be.value.setTableIconState(!1);
578
578
  }
579
- const yl = g(() => _e.value.map((t) => ({
579
+ const fl = g(() => De.value.map((t) => ({
580
580
  ...t,
581
581
  name: t.display
582
- }))), fl = g(() => e.value.style.chart.backgroundColor), bl = g(() => e.value.style.chart.legend), ml = g(() => e.value.style.chart.title), { exportSvg: Cl, getSvg: pl } = jl({
582
+ }))), yl = g(() => e.value.style.chart.backgroundColor), bl = g(() => e.value.style.chart.legend), Cl = g(() => e.value.style.chart.title), { exportSvg: ml, getSvg: Al } = jl({
583
583
  svg: ke,
584
- title: ml,
584
+ title: Cl,
585
585
  legend: bl,
586
- legendItems: yl,
587
- backgroundColor: fl
586
+ legendItems: fl,
587
+ backgroundColor: yl
588
588
  });
589
- async function Ct({ isCb: t }) {
589
+ async function mt({ isCb: t }) {
590
590
  if (t) {
591
- const { blob: a, url: l, text: s, dataUrl: o } = await pl();
592
- e.value.userOptions.callbacks.svg({ blob: a, url: l, text: s, dataUrl: o });
591
+ const { blob: o, url: l, text: u, dataUrl: a } = await Al();
592
+ e.value.userOptions.callbacks.svg({ blob: o, url: l, text: u, dataUrl: a });
593
593
  } else
594
- Cl();
594
+ ml();
595
595
  }
596
596
  return Rt({
597
597
  getData: cl,
598
598
  getImage: vl,
599
- generatePdf: ut,
600
- generateCsv: Se,
601
- generateImage: st,
602
- generateSvg: Ct,
599
+ generatePdf: rt,
600
+ generateCsv: _e,
601
+ generateImage: ut,
602
+ generateSvg: mt,
603
603
  hideSeries: il,
604
- showSeries: rl,
604
+ showSeries: sl,
605
605
  toggleTable: gt,
606
- toggleAnnotator: $e,
606
+ toggleAnnotator: Se,
607
607
  toggleFullscreen: ht
608
- }), (t, a) => (u(), n("div", {
608
+ }), (t, o) => (r(), n("div", {
609
609
  ref_key: "donutEvolutionChart",
610
610
  ref: N,
611
611
  class: I(`vue-data-ui-component vue-ui-donut-evolution ${W.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
612
612
  style: te(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
613
- id: T.value,
614
- onMouseenter: a[5] || (a[5] = () => c(tt)(!0)),
615
- onMouseleave: a[6] || (a[6] = () => c(tt)(!1))
613
+ id: z.value,
614
+ onMouseenter: o[5] || (o[5] = () => c(tt)(!0)),
615
+ onMouseleave: o[6] || (o[6] = () => c(tt)(!1))
616
616
  }, [
617
- e.value.userOptions.buttons.annotator ? (u(), E(c(Wt), {
617
+ e.value.userOptions.buttons.annotator ? (r(), $(c(Wt), {
618
618
  key: 0,
619
619
  svgRef: c(ke),
620
620
  backgroundColor: e.value.style.chart.backgroundColor,
621
621
  color: e.value.style.chart.color,
622
- active: re.value,
623
- onClose: $e
622
+ active: se.value,
623
+ onClose: Se
624
624
  }, {
625
- "annotator-action-close": f(() => [
626
- C(t.$slots, "annotator-action-close", {}, void 0, !0)
625
+ "annotator-action-close": y(() => [
626
+ m(t.$slots, "annotator-action-close", {}, void 0, !0)
627
627
  ]),
628
- "annotator-action-color": f(({ color: l }) => [
629
- C(t.$slots, "annotator-action-color", O(P({ color: l })), void 0, !0)
628
+ "annotator-action-color": y(({ color: l }) => [
629
+ m(t.$slots, "annotator-action-color", O(P({ color: l })), void 0, !0)
630
630
  ]),
631
- "annotator-action-draw": f(({ mode: l }) => [
632
- C(t.$slots, "annotator-action-draw", O(P({ mode: l })), void 0, !0)
631
+ "annotator-action-draw": y(({ mode: l }) => [
632
+ m(t.$slots, "annotator-action-draw", O(P({ mode: l })), void 0, !0)
633
633
  ]),
634
- "annotator-action-undo": f(({ disabled: l }) => [
635
- C(t.$slots, "annotator-action-undo", O(P({ disabled: l })), void 0, !0)
634
+ "annotator-action-undo": y(({ disabled: l }) => [
635
+ m(t.$slots, "annotator-action-undo", O(P({ disabled: l })), void 0, !0)
636
636
  ]),
637
- "annotator-action-redo": f(({ disabled: l }) => [
638
- C(t.$slots, "annotator-action-redo", O(P({ disabled: l })), void 0, !0)
637
+ "annotator-action-redo": y(({ disabled: l }) => [
638
+ m(t.$slots, "annotator-action-redo", O(P({ disabled: l })), void 0, !0)
639
639
  ]),
640
- "annotator-action-delete": f(({ disabled: l }) => [
641
- C(t.$slots, "annotator-action-delete", O(P({ disabled: l })), void 0, !0)
640
+ "annotator-action-delete": y(({ disabled: l }) => [
641
+ m(t.$slots, "annotator-action-delete", O(P({ disabled: l })), void 0, !0)
642
642
  ]),
643
643
  _: 3
644
644
  }, 8, ["svgRef", "backgroundColor", "color", "active"])) : d("", !0),
645
- Qt.value ? (u(), n("div", {
645
+ Qt.value ? (r(), n("div", {
646
646
  key: 1,
647
647
  ref_key: "noTitle",
648
648
  ref: Jt,
649
649
  class: "vue-data-ui-no-title-space",
650
650
  style: "height:36px; width: 100%;background:transparent"
651
651
  }, null, 512)) : d("", !0),
652
- e.value.style.chart.title.text ? (u(), n("div", {
652
+ e.value.style.chart.title.text ? (r(), n("div", {
653
653
  key: 2,
654
654
  ref_key: "chartTitle",
655
655
  ref: He,
656
656
  style: "width:100%;background:transparent;padding-bottom:24px",
657
657
  onMouseleave: it
658
658
  }, [
659
- (u(), E(Ql, {
659
+ (r(), $(Ql, {
660
660
  key: `title_${Re.value}`,
661
661
  config: {
662
662
  title: {
@@ -670,18 +670,18 @@ const Ft = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
670
670
  }
671
671
  }, null, 8, ["config"]))
672
672
  ], 544)) : d("", !0),
673
- m("div", {
674
- id: `legend-top-${T.value}`
675
- }, null, 8, oa),
676
- e.value.userOptions.show && Ze.value && (c(lt) || c(xe)) ? (u(), E(c(jt), {
673
+ C("div", {
674
+ id: `legend-top-${z.value}`
675
+ }, null, 8, ao),
676
+ e.value.userOptions.show && Ze.value && (c(lt) || c(pe)) ? (r(), $(c(jt), {
677
677
  ref_key: "userOptionsRef",
678
678
  ref: be,
679
679
  key: `user_options_${Pe.value}`,
680
680
  backgroundColor: e.value.style.chart.backgroundColor,
681
681
  color: e.value.style.chart.color,
682
- isPrinting: c(at),
683
- isImaging: c(ot),
684
- uid: T.value,
682
+ isPrinting: c(ot),
683
+ isImaging: c(at),
684
+ uid: z.value,
685
685
  hasPdf: e.value.userOptions.buttons.pdf,
686
686
  hasImg: e.value.userOptions.buttons.img,
687
687
  hasSvg: e.value.userOptions.buttons.svg,
@@ -693,211 +693,211 @@ const Ft = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
693
693
  chartElement: N.value,
694
694
  position: e.value.userOptions.position,
695
695
  hasAnnotator: e.value.userOptions.buttons.annotator,
696
- isAnnotation: re.value,
696
+ isAnnotation: se.value,
697
697
  callbacks: e.value.userOptions.callbacks,
698
698
  printScale: e.value.userOptions.print.scale,
699
699
  tableDialog: e.value.table.useDialog,
700
700
  onToggleFullscreen: ht,
701
- onGeneratePdf: c(ut),
702
- onGenerateCsv: Se,
703
- onGenerateImage: c(st),
704
- onGenerateSvg: Ct,
701
+ onGeneratePdf: c(rt),
702
+ onGenerateCsv: _e,
703
+ onGenerateImage: c(ut),
704
+ onGenerateSvg: mt,
705
705
  onToggleTable: gt,
706
- onToggleAnnotator: $e,
706
+ onToggleAnnotator: Se,
707
707
  style: te({
708
- visibility: c(lt) ? c(xe) ? "visible" : "hidden" : "visible"
708
+ visibility: c(lt) ? c(pe) ? "visible" : "hidden" : "visible"
709
709
  })
710
710
  }, kt({ _: 2 }, [
711
711
  t.$slots.menuIcon ? {
712
712
  name: "menuIcon",
713
- fn: f(({ isOpen: l, color: s }) => [
714
- C(t.$slots, "menuIcon", O(P({ isOpen: l, color: s })), void 0, !0)
713
+ fn: y(({ isOpen: l, color: u }) => [
714
+ m(t.$slots, "menuIcon", O(P({ isOpen: l, color: u })), void 0, !0)
715
715
  ]),
716
716
  key: "0"
717
717
  } : void 0,
718
718
  t.$slots.optionPdf ? {
719
719
  name: "optionPdf",
720
- fn: f(() => [
721
- C(t.$slots, "optionPdf", {}, void 0, !0)
720
+ fn: y(() => [
721
+ m(t.$slots, "optionPdf", {}, void 0, !0)
722
722
  ]),
723
723
  key: "1"
724
724
  } : void 0,
725
725
  t.$slots.optionCsv ? {
726
726
  name: "optionCsv",
727
- fn: f(() => [
728
- C(t.$slots, "optionCsv", {}, void 0, !0)
727
+ fn: y(() => [
728
+ m(t.$slots, "optionCsv", {}, void 0, !0)
729
729
  ]),
730
730
  key: "2"
731
731
  } : void 0,
732
732
  t.$slots.optionImg ? {
733
733
  name: "optionImg",
734
- fn: f(() => [
735
- C(t.$slots, "optionImg", {}, void 0, !0)
734
+ fn: y(() => [
735
+ m(t.$slots, "optionImg", {}, void 0, !0)
736
736
  ]),
737
737
  key: "3"
738
738
  } : void 0,
739
739
  t.$slots.optionSvg ? {
740
740
  name: "optionSvg",
741
- fn: f(() => [
742
- C(t.$slots, "optionSvg", {}, void 0, !0)
741
+ fn: y(() => [
742
+ m(t.$slots, "optionSvg", {}, void 0, !0)
743
743
  ]),
744
744
  key: "4"
745
745
  } : void 0,
746
746
  t.$slots.optionTable ? {
747
747
  name: "optionTable",
748
- fn: f(() => [
749
- C(t.$slots, "optionTable", {}, void 0, !0)
748
+ fn: y(() => [
749
+ m(t.$slots, "optionTable", {}, void 0, !0)
750
750
  ]),
751
751
  key: "5"
752
752
  } : void 0,
753
753
  t.$slots.optionFullscreen ? {
754
754
  name: "optionFullscreen",
755
- fn: f(({ toggleFullscreen: l, isFullscreen: s }) => [
756
- C(t.$slots, "optionFullscreen", O(P({ toggleFullscreen: l, isFullscreen: s })), void 0, !0)
755
+ fn: y(({ toggleFullscreen: l, isFullscreen: u }) => [
756
+ m(t.$slots, "optionFullscreen", O(P({ toggleFullscreen: l, isFullscreen: u })), void 0, !0)
757
757
  ]),
758
758
  key: "6"
759
759
  } : void 0,
760
760
  t.$slots.optionAnnotator ? {
761
761
  name: "optionAnnotator",
762
- fn: f(({ toggleAnnotator: l, isAnnotator: s }) => [
763
- C(t.$slots, "optionAnnotator", O(P({ toggleAnnotator: l, isAnnotator: s })), void 0, !0)
762
+ fn: y(({ toggleAnnotator: l, isAnnotator: u }) => [
763
+ m(t.$slots, "optionAnnotator", O(P({ toggleAnnotator: l, isAnnotator: u })), void 0, !0)
764
764
  ]),
765
765
  key: "7"
766
766
  } : void 0
767
767
  ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasSvg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : d("", !0),
768
- (u(), n("svg", {
768
+ (r(), n("svg", {
769
769
  ref_key: "svgRef",
770
770
  ref: ke,
771
- xmlns: c(Tl),
771
+ xmlns: c(zl),
772
772
  class: I({ "vue-data-ui-fullscreen--on": W.value, "vue-data-ui-fulscreen--off": !W.value }),
773
- viewBox: `0 0 ${r.value.absoluteWidth} ${r.value.absoluteHeight}`,
773
+ viewBox: `0 0 ${s.value.absoluteWidth} ${s.value.absoluteHeight}`,
774
774
  style: te(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color};`)
775
775
  }, [
776
- At(c(Xt)),
777
- t.$slots["chart-background"] ? (u(), n("foreignObject", {
776
+ xt(c(Xt)),
777
+ t.$slots["chart-background"] ? (r(), n("foreignObject", {
778
778
  key: 0,
779
- x: r.value.left,
780
- y: r.value.top,
781
- width: r.value.width,
782
- height: r.value.height,
779
+ x: s.value.left,
780
+ y: s.value.top,
781
+ width: s.value.width,
782
+ height: s.value.height,
783
783
  style: {
784
784
  pointerEvents: "none"
785
785
  }
786
786
  }, [
787
- C(t.$slots, "chart-background", {}, void 0, !0)
788
- ], 8, sa)) : d("", !0),
789
- m("defs", null, [
790
- m("linearGradient", {
791
- id: `hover_${T.value}`,
787
+ m(t.$slots, "chart-background", {}, void 0, !0)
788
+ ], 8, uo)) : d("", !0),
789
+ C("defs", null, [
790
+ C("linearGradient", {
791
+ id: `hover_${z.value}`,
792
792
  x1: "0%",
793
793
  y1: "0%",
794
794
  x2: "0%",
795
795
  y2: "100%"
796
796
  }, [
797
- m("stop", {
797
+ C("stop", {
798
798
  offset: "0%",
799
799
  "stop-color": c(le)(e.value.style.chart.backgroundColor, e.value.style.chart.layout.highlighter.opacity)
800
- }, null, 8, ra),
801
- m("stop", {
800
+ }, null, 8, so),
801
+ C("stop", {
802
802
  offset: "100%",
803
803
  "stop-color": c(le)(e.value.style.chart.layout.highlighter.color, e.value.style.chart.layout.highlighter.opacity)
804
- }, null, 8, ia)
805
- ], 8, na),
806
- m("radialGradient", {
807
- id: `focus_${T.value}`
804
+ }, null, 8, io)
805
+ ], 8, no),
806
+ C("radialGradient", {
807
+ id: `focus_${z.value}`
808
808
  }, [
809
- m("stop", {
809
+ C("stop", {
810
810
  offset: "0%",
811
- "stop-color": c(le)(c(Ee)(e.value.style.chart.backgroundColor), 0)
812
- }, null, 8, da),
813
- m("stop", {
811
+ "stop-color": c(le)(c($e)(e.value.style.chart.backgroundColor), 0)
812
+ }, null, 8, vo),
813
+ C("stop", {
814
814
  offset: "77%",
815
815
  "stop-color": c(le)("#FFFFFF", 30)
816
- }, null, 8, va),
817
- m("stop", {
816
+ }, null, 8, ho),
817
+ C("stop", {
818
818
  offset: "100%",
819
- "stop-color": c(le)(c(Ee)(e.value.style.chart.backgroundColor), 0)
820
- }, null, 8, ha)
821
- ], 8, ca)
819
+ "stop-color": c(le)(c($e)(e.value.style.chart.backgroundColor), 0)
820
+ }, null, 8, go)
821
+ ], 8, co)
822
822
  ]),
823
- e.value.style.chart.layout.grid.show ? (u(), n("g", ga, [
824
- m("line", {
825
- x1: r.value.left,
826
- x2: r.value.left,
827
- y1: r.value.top,
828
- y2: r.value.top + r.value.height,
823
+ e.value.style.chart.layout.grid.show ? (r(), n("g", fo, [
824
+ C("line", {
825
+ x1: s.value.left,
826
+ x2: s.value.left,
827
+ y1: s.value.top,
828
+ y2: s.value.top + s.value.height,
829
829
  stroke: e.value.style.chart.layout.grid.stroke,
830
830
  "stroke-width": e.value.style.chart.layout.grid.strokeWidth,
831
831
  "stroke-linecap": "round"
832
- }, null, 8, ya),
833
- m("line", {
834
- x1: r.value.left,
835
- x2: r.value.right,
836
- y1: r.value.bottom,
837
- y2: r.value.bottom,
832
+ }, null, 8, yo),
833
+ C("line", {
834
+ x1: s.value.left,
835
+ x2: s.value.right,
836
+ y1: s.value.bottom,
837
+ y2: s.value.bottom,
838
838
  stroke: e.value.style.chart.layout.grid.stroke,
839
839
  "stroke-width": e.value.style.chart.layout.grid.strokeWidth,
840
840
  "stroke-linecap": "round"
841
- }, null, 8, fa),
842
- e.value.style.chart.layout.grid.showVerticalLines ? (u(), n("g", ba, [
843
- (u(!0), n($, null, D(h.value.end - h.value.start, (l, s) => (u(), n("line", {
844
- x1: r.value.left + (s + 1) * w.value,
845
- x2: r.value.left + (s + 1) * w.value,
846
- y1: r.value.top,
847
- y2: r.value.bottom,
841
+ }, null, 8, bo),
842
+ e.value.style.chart.layout.grid.showVerticalLines ? (r(), n("g", Co, [
843
+ (r(!0), n(S, null, F(h.value.end - h.value.start, (l, u) => (r(), n("line", {
844
+ x1: s.value.left + (u + 1) * w.value,
845
+ x2: s.value.left + (u + 1) * w.value,
846
+ y1: s.value.top,
847
+ y2: s.value.bottom,
848
848
  stroke: e.value.style.chart.layout.grid.stroke,
849
849
  "stroke-width": e.value.style.chart.layout.grid.strokeWidth,
850
850
  "stroke-linecap": "round"
851
- }, null, 8, ma))), 256))
851
+ }, null, 8, mo))), 256))
852
852
  ])) : d("", !0)
853
853
  ])) : d("", !0),
854
- m("g", null, [
855
- e.value.style.chart.layout.grid.axis.yLabel ? (u(), n("text", {
854
+ C("g", null, [
855
+ e.value.style.chart.layout.grid.axis.yLabel ? (r(), n("text", {
856
856
  key: 0,
857
857
  ref_key: "yAxisLabel",
858
- ref: fe,
858
+ ref: ye,
859
859
  "font-size": e.value.style.chart.layout.grid.axis.fontSize,
860
860
  fill: e.value.style.chart.layout.grid.axis.color,
861
- transform: `translate(${e.value.style.chart.layout.grid.axis.fontSize}, ${r.value.top + r.value.height / 2}) rotate(-90)`,
861
+ transform: `translate(${e.value.style.chart.layout.grid.axis.fontSize}, ${s.value.top + s.value.height / 2}) rotate(-90)`,
862
862
  "text-anchor": "middle",
863
863
  style: { transition: "none" }
864
- }, A(e.value.style.chart.layout.grid.axis.yLabel), 9, Ca)) : d("", !0),
865
- e.value.style.chart.layout.grid.axis.xLabel ? (u(), n("text", {
864
+ }, x(e.value.style.chart.layout.grid.axis.yLabel), 9, Ao)) : d("", !0),
865
+ e.value.style.chart.layout.grid.axis.xLabel ? (r(), n("text", {
866
866
  key: 1,
867
867
  ref_key: "xAxisLabel",
868
- ref: ye,
868
+ ref: fe,
869
869
  "text-anchor": "middle",
870
- x: r.value.absoluteWidth / 2,
871
- y: r.value.absoluteHeight - 3,
870
+ x: s.value.absoluteWidth / 2,
871
+ y: s.value.absoluteHeight - 3,
872
872
  "font-size": e.value.style.chart.layout.grid.axis.fontSize,
873
873
  fill: e.value.style.chart.layout.grid.axis.color
874
- }, A(e.value.style.chart.layout.grid.axis.xLabel), 9, pa)) : d("", !0)
874
+ }, x(e.value.style.chart.layout.grid.axis.xLabel), 9, po)) : d("", !0)
875
875
  ]),
876
- e.value.style.chart.layout.grid.yAxis.dataLabels.show ? (u(), n("g", {
876
+ e.value.style.chart.layout.grid.yAxis.dataLabels.show ? (r(), n("g", {
877
877
  key: 2,
878
878
  ref_key: "scaleLabels",
879
879
  ref: ge,
880
880
  class: I({ "donut-opacity": !0, "donut-behind": b.value !== null })
881
881
  }, [
882
- (u(!0), n($, null, D(ol.value, (l, s) => (u(), n("g", null, [
883
- l.value >= G.value.min && l.value <= G.value.max ? (u(), n("line", {
882
+ (r(!0), n(S, null, F(al.value, (l, u) => (r(), n("g", null, [
883
+ l.value >= G.value.min && l.value <= G.value.max ? (r(), n("line", {
884
884
  key: 0,
885
- x1: r.value.left,
886
- x2: r.value.left - 5,
885
+ x1: s.value.left,
886
+ x2: s.value.left - 5,
887
887
  y1: l.y,
888
888
  y2: l.y,
889
889
  stroke: e.value.style.chart.layout.grid.stroke,
890
890
  "stroke-width": e.value.style.chart.layout.grid.strokeWidth
891
- }, null, 8, xa)) : d("", !0),
892
- l.value >= G.value.min && l.value <= G.value.max ? (u(), n("text", {
891
+ }, null, 8, ko)) : d("", !0),
892
+ l.value >= G.value.min && l.value <= G.value.max ? (r(), n("text", {
893
893
  key: 1,
894
- x: r.value.left + e.value.style.chart.layout.grid.yAxis.dataLabels.offsetX,
894
+ x: s.value.left + e.value.style.chart.layout.grid.yAxis.dataLabels.offsetX - 7,
895
895
  y: l.y + e.value.style.chart.layout.grid.yAxis.dataLabels.fontSize / 3,
896
896
  "font-size": e.value.style.chart.layout.grid.yAxis.dataLabels.fontSize,
897
897
  "text-anchor": "end",
898
898
  fill: e.value.style.chart.layout.grid.yAxis.dataLabels.color,
899
899
  "font-weight": e.value.style.chart.layout.grid.yAxis.dataLabels.bold ? "bold" : "normal"
900
- }, A(c(Bl)(l.value) ? c(Be)(
900
+ }, x(c(Tl)(l.value) ? c(Te)(
901
901
  e.value.style.chart.layout.dataLabels.formatter,
902
902
  l.value,
903
903
  c(ve)({
@@ -906,137 +906,137 @@ const Ft = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
906
906
  s: e.value.style.chart.layout.dataLabels.suffix,
907
907
  r: e.value.style.chart.layout.grid.yAxis.dataLabels.roundingValue
908
908
  }),
909
- { datapoint: l, seriesIndex: s }
910
- ) : ""), 9, ka)) : d("", !0)
909
+ { datapoint: l, seriesIndex: u }
910
+ ) : ""), 9, xo)) : d("", !0)
911
911
  ]))), 256))
912
912
  ], 2)) : d("", !0),
913
- e.value.style.chart.layout.grid.xAxis.dataLabels.show ? (u(), n("g", {
913
+ e.value.style.chart.layout.grid.xAxis.dataLabels.show ? (r(), n("g", {
914
914
  key: 3,
915
915
  ref_key: "timeLabelsEls",
916
- ref: oe,
916
+ ref: ae,
917
917
  class: I({ "donut-opacity": !0 })
918
918
  }, [
919
- (u(!0), n($, null, D(h.value.end - h.value.start, (l, s) => (u(), n("g", null, [
920
- (e.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast && (s === 0 || s === z.value - 1) || !e.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast) && L.value[s] && L.value[s].text ? (u(), n("g", Aa, [
921
- String(L.value[s].text).includes(`
922
- `) ? (u(), n("text", {
919
+ (r(!0), n(S, null, F(h.value.end - h.value.start, (l, u) => (r(), n("g", null, [
920
+ (e.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast && (u === 0 || u === B.value - 1) || !e.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast) && L.value[u] && L.value[u].text ? (r(), n("g", wo, [
921
+ String(L.value[u].text).includes(`
922
+ `) ? (r(), n("text", {
923
923
  key: 1,
924
924
  class: "vue-data-ui-time-label",
925
925
  "text-anchor": e.value.style.chart.layout.grid.xAxis.dataLabels.rotation > 0 ? "start" : e.value.style.chart.layout.grid.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
926
926
  "font-size": e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize,
927
927
  fill: e.value.style.chart.layout.grid.xAxis.dataLabels.color,
928
- transform: `translate(${r.value.left + w.value * s + w.value / 2}, ${r.value.bottom + e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize + e.value.style.chart.layout.grid.xAxis.dataLabels.offsetY}), rotate(${e.value.style.chart.layout.grid.xAxis.dataLabels.rotation})`,
928
+ transform: `translate(${s.value.left + w.value * u + w.value / 2}, ${s.value.bottom + e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize + e.value.style.chart.layout.grid.xAxis.dataLabels.offsetY}), rotate(${e.value.style.chart.layout.grid.xAxis.dataLabels.rotation})`,
929
929
  innerHTML: c(Il)({
930
- content: String(L.value[s].text),
930
+ content: String(L.value[u].text),
931
931
  fontSize: e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize,
932
932
  fill: e.value.style.chart.layout.grid.xAxis.dataLabels.color,
933
933
  x: 0,
934
934
  y: 0
935
935
  })
936
- }, null, 8, La)) : (u(), n("text", {
936
+ }, null, 8, Do)) : (r(), n("text", {
937
937
  key: 0,
938
938
  class: "vue-data-ui-time-label",
939
939
  "text-anchor": e.value.style.chart.layout.grid.xAxis.dataLabels.rotation > 0 ? "start" : e.value.style.chart.layout.grid.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
940
940
  "font-size": e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize,
941
941
  fill: e.value.style.chart.layout.grid.xAxis.dataLabels.color,
942
- transform: `translate(${r.value.left + w.value * s + w.value / 2}, ${r.value.bottom + e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize + e.value.style.chart.layout.grid.xAxis.dataLabels.offsetY}), rotate(${e.value.style.chart.layout.grid.xAxis.dataLabels.rotation})`
943
- }, A(L.value[s].text || ""), 9, wa))
942
+ transform: `translate(${s.value.left + w.value * u + w.value / 2}, ${s.value.bottom + e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize + e.value.style.chart.layout.grid.xAxis.dataLabels.offsetY}), rotate(${e.value.style.chart.layout.grid.xAxis.dataLabels.rotation})`
943
+ }, x(L.value[u].text || ""), 9, Lo))
944
944
  ])) : d("", !0)
945
945
  ]))), 256))
946
946
  ], 512)) : d("", !0),
947
- (u(!0), n($, null, D(_.value, (l, s) => (u(), n("g", null, [
948
- e.value.style.chart.layout.line.show && s < _.value.length - 1 && ![l.subtotal, _.value[s + 1].subtotal].includes(null) ? (u(), n("line", {
947
+ (r(!0), n(S, null, F(D.value, (l, u) => (r(), n("g", null, [
948
+ e.value.style.chart.layout.line.show && u < D.value.length - 1 && ![l.subtotal, D.value[u + 1].subtotal].includes(null) ? (r(), n("line", {
949
949
  key: 0,
950
950
  class: I({ "donut-opacity": !0, "donut-behind": b.value !== null }),
951
951
  x1: l.x,
952
952
  y1: l.y,
953
- x2: _.value[s + 1].x,
954
- y2: _.value[s + 1].y,
953
+ x2: D.value[u + 1].x,
954
+ y2: D.value[u + 1].y,
955
955
  stroke: e.value.style.chart.layout.line.stroke,
956
956
  "stroke-width": e.value.style.chart.layout.line.strokeWidth,
957
957
  "stroke-linecap": "round",
958
958
  "stroke-linejoin": "round"
959
- }, null, 10, _a)) : d("", !0),
960
- l.subtotal !== null ? (u(), n("g", Sa, [
961
- l.subtotal ? (u(), n("circle", {
959
+ }, null, 10, _o)) : d("", !0),
960
+ l.subtotal !== null ? (r(), n("g", So, [
961
+ l.subtotal ? (r(), n("circle", {
962
962
  key: 0,
963
963
  cx: l.x,
964
964
  cy: l.y,
965
965
  r: l.activeRadius,
966
966
  fill: e.value.style.chart.backgroundColor
967
- }, null, 8, $a)) : d("", !0)
967
+ }, null, 8, Fo)) : d("", !0)
968
968
  ])) : d("", !0)
969
969
  ]))), 256)),
970
- (u(!0), n($, null, D(_.value, (l, s) => (u(), n("g", {
971
- class: I({ "donut-opacity": !0, "donut-behind": s !== b.value && b.value !== null })
970
+ (r(!0), n(S, null, F(D.value, (l, u) => (r(), n("g", {
971
+ class: I({ "donut-opacity": !0, "donut-behind": u !== b.value && b.value !== null })
972
972
  }, [
973
- l.subtotal ? (u(), n("g", Da, [
974
- b.value !== null && b.value === s ? (u(), n("g", za, [
975
- (u(!0), n($, null, D(l.donutHover, (o) => (u(), n("g", null, [
976
- yt(o) ? (u(), n("path", {
973
+ l.subtotal ? (r(), n("g", Bo, [
974
+ b.value !== null && b.value === u ? (r(), n("g", Eo, [
975
+ (r(!0), n(S, null, F(l.donutHover, (a) => (r(), n("g", null, [
976
+ ft(a) ? (r(), n("path", {
977
977
  key: 0,
978
- d: c(Ol)(o, { x: o.center.endX, y: o.center.endY }, 12, 12, { x: l.x, y: l.y }, !1, 20),
979
- stroke: o.color,
978
+ d: c(Ol)(a, { x: a.center.endX, y: a.center.endY }, 12, 12, { x: l.x, y: l.y }, !1, 20),
979
+ stroke: a.color,
980
980
  "stroke-width": "1",
981
981
  "stroke-linecap": "round",
982
982
  "stroke-linejoin": "round",
983
983
  fill: "none"
984
- }, null, 8, Fa)) : d("", !0)
984
+ }, null, 8, $o)) : d("", !0)
985
985
  ]))), 256)),
986
- (u(!0), n($, null, D(l.donutHover, (o, y) => (u(), n("g", null, [
987
- yt(o) ? (u(), n("text", {
986
+ (r(!0), n(S, null, F(l.donutHover, (a, f) => (r(), n("g", null, [
987
+ ft(a) ? (r(), n("text", {
988
988
  key: 0,
989
989
  "data-cy-hover-label": "",
990
- "text-anchor": c($t)(o, !0, 0).anchor,
991
- x: c($t)(o, !0, 9).x,
992
- y: c(Pl)(o, 14, 10),
990
+ "text-anchor": c(St)(a, !0, 0).anchor,
991
+ x: c(St)(a, !0, 9).x,
992
+ y: c(Pl)(a, 14, 10),
993
993
  fill: e.value.style.chart.layout.grid.yAxis.dataLabels.color,
994
994
  "font-size": 8,
995
995
  "font-weight": "bold"
996
- }, A(o.name) + ": " + A(ul(o, l.donut)) + " (" + A(o.value === null ? "-" : rt(o.value, o, y)) + ") ", 9, Ea)) : d("", !0)
996
+ }, x(a.name) + ": " + x(rl(a, l.donut)) + " (" + x(a.value === null ? "-" : st(a.value, a, f)) + ") ", 9, zo)) : d("", !0)
997
997
  ]))), 256)),
998
- m("g", null, [
999
- m("circle", {
998
+ C("g", null, [
999
+ C("circle", {
1000
1000
  cx: l.x,
1001
1001
  cy: l.y,
1002
1002
  r: l.hoverRadius,
1003
1003
  fill: e.value.style.chart.backgroundColor
1004
- }, null, 8, Ta)
1004
+ }, null, 8, To)
1005
1005
  ])
1006
1006
  ])) : d("", !0)
1007
1007
  ])) : d("", !0)
1008
1008
  ], 2))), 256)),
1009
- (u(!0), n($, null, D(_.value, (l, s) => (u(), n("g", {
1010
- class: I({ "donut-opacity": !0, "donut-behind": s !== b.value && b.value !== null })
1009
+ (r(!0), n(S, null, F(D.value, (l, u) => (r(), n("g", {
1010
+ class: I({ "donut-opacity": !0, "donut-behind": u !== b.value && b.value !== null })
1011
1011
  }, [
1012
- l.subtotal !== null ? (u(), n("g", Ba, [
1013
- l.subtotal === 0 ? (u(), n("circle", {
1012
+ l.subtotal !== null ? (r(), n("g", Io, [
1013
+ l.subtotal === 0 ? (r(), n("circle", {
1014
1014
  key: 0,
1015
1015
  cx: l.x,
1016
1016
  cy: l.y,
1017
1017
  r: 3,
1018
1018
  fill: e.value.style.chart.color
1019
- }, null, 8, Ia)) : b.value !== null && b.value === s ? (u(), n("g", Oa, [
1020
- (u(!0), n($, null, D(l.donutHover, (o, y) => (u(), n("path", {
1021
- d: o.arcSlice,
1022
- fill: `${o.color}`,
1019
+ }, null, 8, Oo)) : b.value !== null && b.value === u ? (r(), n("g", Po, [
1020
+ (r(!0), n(S, null, F(l.donutHover, (a, f) => (r(), n("path", {
1021
+ d: a.arcSlice,
1022
+ fill: `${a.color}`,
1023
1023
  "stroke-width": 1,
1024
1024
  stroke: e.value.style.chart.backgroundColor
1025
- }, null, 8, Pa))), 256))
1026
- ])) : (u(), n("g", Na, [
1027
- (u(!0), n($, null, D(l.donut, (o, y) => (u(), n("path", {
1028
- d: o.arcSlice,
1029
- fill: `${o.color}`,
1025
+ }, null, 8, No))), 256))
1026
+ ])) : (r(), n("g", Ro, [
1027
+ (r(!0), n(S, null, F(l.donut, (a, f) => (r(), n("path", {
1028
+ d: a.arcSlice,
1029
+ fill: `${a.color}`,
1030
1030
  "stroke-width": 0.5,
1031
1031
  stroke: e.value.style.chart.backgroundColor
1032
- }, null, 8, Ra))), 256))
1032
+ }, null, 8, Vo))), 256))
1033
1033
  ]))
1034
1034
  ])) : d("", !0)
1035
1035
  ], 2))), 256)),
1036
- (u(!0), n($, null, D(_.value, (l, s) => (u(), n("g", {
1037
- class: I({ "donut-opacity": !0, "donut-behind": s !== b.value && b.value !== null || he.value && s !== M.value.index })
1036
+ (r(!0), n(S, null, F(D.value, (l, u) => (r(), n("g", {
1037
+ class: I({ "donut-opacity": !0, "donut-behind": u !== b.value && b.value !== null || he.value && u !== M.value.index })
1038
1038
  }, [
1039
- l.subtotal !== null && e.value.style.chart.layout.dataLabels.show ? (u(), n("text", {
1039
+ l.subtotal !== null && e.value.style.chart.layout.dataLabels.show ? (r(), n("text", {
1040
1040
  key: 0,
1041
1041
  "text-anchor": "middle",
1042
1042
  x: l.x,
@@ -1044,43 +1044,43 @@ const Ft = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
1044
1044
  "font-size": e.value.style.chart.layout.dataLabels.fontSize,
1045
1045
  "font-weight": "bold",
1046
1046
  fill: e.value.style.chart.layout.dataLabels.color
1047
- }, A(rt(l.subtotal, l, s)), 9, Va)) : d("", !0)
1047
+ }, x(st(l.subtotal, l, u)), 9, Mo)) : d("", !0)
1048
1048
  ], 2))), 256)),
1049
- (u(!0), n($, null, D(_.value, (l, s) => (u(), n("rect", {
1050
- x: r.value.left + s * w.value,
1051
- y: r.value.top,
1049
+ (r(!0), n(S, null, F(D.value, (l, u) => (r(), n("rect", {
1050
+ x: s.value.left + u * w.value,
1051
+ y: s.value.top,
1052
1052
  width: w.value,
1053
- height: r.value.height,
1054
- fill: [b.value, K.value].includes(l.index) ? `url(#hover_${T.value})` : "transparent",
1053
+ height: s.value.height,
1054
+ fill: [b.value, K.value].includes(l.index) ? `url(#hover_${z.value})` : "transparent",
1055
1055
  class: I({ "donut-hover": l.subtotal && [b.value, K.value].includes(l.index) }),
1056
1056
  style: {
1057
1057
  pointerEvents: "none"
1058
1058
  }
1059
- }, null, 10, Ma))), 256)),
1060
- (u(!0), n($, null, D(_.value, (l, s) => (u(), n("rect", {
1059
+ }, null, 10, Uo))), 256)),
1060
+ (r(!0), n(S, null, F(D.value, (l, u) => (r(), n("rect", {
1061
1061
  "data-cy-trap": "",
1062
- x: r.value.left + s * w.value,
1063
- y: r.value.top,
1062
+ x: s.value.left + u * w.value,
1063
+ y: s.value.top,
1064
1064
  width: w.value,
1065
- height: r.value.height,
1065
+ height: s.value.height,
1066
1066
  fill: "transparent",
1067
- onMouseenter: (o) => sl(l),
1068
- onMouseleave: (o) => it(l),
1069
- onClick: (o) => ct(l, s),
1067
+ onMouseenter: (a) => ul(l),
1068
+ onMouseleave: (a) => it(l),
1069
+ onClick: (a) => ct(l, u),
1070
1070
  class: I({ "donut-hover": b.value === l.index && l.subtotal })
1071
- }, null, 42, Ua))), 256)),
1072
- C(t.$slots, "svg", { svg: r.value }, void 0, !0)
1073
- ], 14, ua)),
1074
- t.$slots.watermark ? (u(), n("div", Ha, [
1075
- C(t.$slots, "watermark", O(P({ isPrinting: c(at) || c(ot) })), void 0, !0)
1071
+ }, null, 42, Ho))), 256)),
1072
+ m(t.$slots, "svg", { svg: s.value }, void 0, !0)
1073
+ ], 14, ro)),
1074
+ t.$slots.watermark ? (r(), n("div", Xo, [
1075
+ m(t.$slots, "watermark", O(P({ isPrinting: c(ot) || c(at) })), void 0, !0)
1076
1076
  ])) : d("", !0),
1077
- m("div", {
1077
+ C("div", {
1078
1078
  ref_key: "chartSlicer",
1079
1079
  ref: Ge,
1080
1080
  style: te(`width:100%;background:${e.value.style.chart.backgroundColor}`),
1081
1081
  "data-dom-to-png-ignore": ""
1082
1082
  }, [
1083
- z.value > 1 && e.value.style.chart.zoom.show ? (u(), E(ta, {
1083
+ B.value > 1 && e.value.style.chart.zoom.show ? (r(), $(to, {
1084
1084
  ref_key: "slicerComponent",
1085
1085
  ref: je,
1086
1086
  key: `slicer_${Ne.value}`,
@@ -1093,71 +1093,71 @@ const Ft = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
1093
1093
  textColor: e.value.style.chart.color,
1094
1094
  inputColor: e.value.style.chart.zoom.color,
1095
1095
  selectColor: e.value.style.chart.zoom.highlightColor,
1096
- max: z.value,
1096
+ max: B.value,
1097
1097
  min: 0,
1098
1098
  valueStart: h.value.start,
1099
1099
  valueEnd: h.value.end,
1100
1100
  start: h.value.start,
1101
- "onUpdate:start": a[0] || (a[0] = (l) => h.value.start = l),
1101
+ "onUpdate:start": o[0] || (o[0] = (l) => h.value.start = l),
1102
1102
  end: h.value.end,
1103
- "onUpdate:end": a[1] || (a[1] = (l) => h.value.end = l),
1103
+ "onUpdate:end": o[1] || (o[1] = (l) => h.value.end = l),
1104
1104
  refreshStartPoint: e.value.style.chart.zoom.startIndex !== null ? e.value.style.chart.zoom.startIndex : 0,
1105
- refreshEndPoint: e.value.style.chart.zoom.endIndex !== null ? e.value.style.chart.zoom.endIndex + 1 : z.value,
1105
+ refreshEndPoint: e.value.style.chart.zoom.endIndex !== null ? e.value.style.chart.zoom.endIndex + 1 : B.value,
1106
1106
  enableRangeHandles: e.value.style.chart.zoom.enableRangeHandles,
1107
1107
  enableSelectionDrag: e.value.style.chart.zoom.enableSelectionDrag,
1108
1108
  focusOnDrag: e.value.style.chart.zoom.focusOnDrag,
1109
1109
  focusRangeRatio: e.value.style.chart.zoom.focusRangeRatio,
1110
1110
  onReset: et
1111
1111
  }, {
1112
- "reset-action": f(({ reset: l }) => [
1113
- C(t.$slots, "reset-action", O(P({ reset: l })), void 0, !0)
1112
+ "reset-action": y(({ reset: l }) => [
1113
+ m(t.$slots, "reset-action", O(P({ reset: l })), void 0, !0)
1114
1114
  ]),
1115
1115
  _: 3
1116
1116
  }, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "start", "end", "refreshStartPoint", "refreshEndPoint", "enableRangeHandles", "enableSelectionDrag", "focusOnDrag", "focusRangeRatio"])) : d("", !0)
1117
1117
  ], 4),
1118
- m("div", {
1119
- id: `legend-bottom-${T.value}`
1120
- }, null, 8, Xa),
1121
- Ue.value ? (u(), E(Ll, {
1118
+ C("div", {
1119
+ id: `legend-bottom-${z.value}`
1120
+ }, null, 8, Wo),
1121
+ Ue.value ? (r(), $(Ll, {
1122
1122
  key: 5,
1123
- to: e.value.style.chart.legend.position === "top" ? `#legend-top-${T.value}` : `#legend-bottom-${T.value}`
1123
+ to: e.value.style.chart.legend.position === "top" ? `#legend-top-${z.value}` : `#legend-bottom-${z.value}`
1124
1124
  }, [
1125
- m("div", {
1125
+ C("div", {
1126
1126
  ref_key: "chartLegend",
1127
1127
  ref: Xe
1128
1128
  }, [
1129
- e.value.style.chart.legend.show ? (u(), E(ea, {
1129
+ e.value.style.chart.legend.show ? (r(), $(eo, {
1130
1130
  key: `legend_${Me.value}`,
1131
- legendSet: _e.value,
1131
+ legendSet: De.value,
1132
1132
  config: nl.value,
1133
- onClickMarker: a[2] || (a[2] = ({ legend: l }) => Q(l.uid))
1133
+ onClickMarker: o[2] || (o[2] = ({ legend: l }) => Q(l.uid))
1134
1134
  }, {
1135
- item: f(({ legend: l, index: s }) => [
1136
- m("div", {
1137
- onClick: (o) => Q(l.uid),
1135
+ item: y(({ legend: l, index: u }) => [
1136
+ C("div", {
1137
+ onClick: (a) => Q(l.uid),
1138
1138
  style: te(`opacity:${k.value.includes(l.uid) ? 0.5 : 1}`)
1139
- }, A(l.display), 13, Wa)
1139
+ }, x(l.display), 13, jo)
1140
1140
  ]),
1141
1141
  _: 1
1142
1142
  }, 8, ["legendSet", "config"])) : d("", !0),
1143
- C(t.$slots, "legend", { legend: _e.value }, void 0, !0)
1143
+ m(t.$slots, "legend", { legend: De.value }, void 0, !0)
1144
1144
  ], 512)
1145
1145
  ], 8, ["to"])) : d("", !0),
1146
- t.$slots.source ? (u(), n("div", {
1146
+ t.$slots.source ? (r(), n("div", {
1147
1147
  key: 6,
1148
1148
  ref_key: "source",
1149
1149
  ref: We,
1150
1150
  dir: "auto"
1151
1151
  }, [
1152
- C(t.$slots, "source", {}, void 0, !0)
1152
+ m(t.$slots, "source", {}, void 0, !0)
1153
1153
  ], 512)) : d("", !0),
1154
- Ze.value && e.value.userOptions.buttons.table ? (u(), E(_l(ee.value.component), Sl({ key: 7 }, ee.value.props, {
1154
+ Ze.value && e.value.userOptions.buttons.table ? (r(), $(Dl(ee.value.component), _l({ key: 7 }, ee.value.props, {
1155
1155
  ref_key: "tableUnit",
1156
1156
  ref: Z,
1157
- onClose: mt
1157
+ onClose: Ct
1158
1158
  }), kt({
1159
- content: f(() => [
1160
- (u(), E(c(Ht), {
1159
+ content: y(() => [
1160
+ (r(), $(c(Ht), {
1161
1161
  key: `table_${Ve.value}`,
1162
1162
  colNames: Y.value.colNames,
1163
1163
  head: Y.value.head,
@@ -1165,14 +1165,14 @@ const Ft = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
1165
1165
  config: Y.value.config,
1166
1166
  title: e.value.table.useDialog ? "" : ee.value.title,
1167
1167
  withCloseButton: !e.value.table.useDialog,
1168
- onClose: mt
1168
+ onClose: Ct
1169
1169
  }, {
1170
- th: f(({ th: l }) => [
1171
- Fe(A(l.name ?? l), 1)
1170
+ th: y(({ th: l }) => [
1171
+ Ee(x(l.name ?? l), 1)
1172
1172
  ]),
1173
- td: f(({ td: l }) => [
1174
- l.value === null ? (u(), n("span", ja, "-")) : (u(), n("b", Ga, A(isNaN(l.value) ? "" : e.value.style.chart.layout.dataLabels.prefix) + A(!isNaN(l.value) && l.value !== null ? Number(l.value.toFixed(e.value.table.td.roundingValue)).toLocaleString() : l) + A(isNaN(l.value) ? "" : e.value.style.chart.layout.dataLabels.suffix), 1)),
1175
- m("span", null, A(l.percentage && !isNaN(l.percentage) ? `(${Number(l.percentage.toFixed(e.value.table.td.roundingPercentage)).toLocaleString()}%)` : ""), 1)
1173
+ td: y(({ td: l }) => [
1174
+ l.value === null ? (r(), n("span", Go, "-")) : (r(), n("b", Yo, x(isNaN(l.value) ? "" : e.value.style.chart.layout.dataLabels.prefix) + x(!isNaN(l.value) && l.value !== null ? Number(l.value.toFixed(e.value.table.td.roundingValue)).toLocaleString() : l) + x(isNaN(l.value) ? "" : e.value.style.chart.layout.dataLabels.suffix), 1)),
1175
+ C("span", null, x(l.percentage && !isNaN(l.percentage) ? `(${Number(l.percentage.toFixed(e.value.table.td.roundingPercentage)).toLocaleString()}%)` : ""), 1)
1176
1176
  ]),
1177
1177
  _: 1
1178
1178
  }, 8, ["colNames", "head", "body", "config", "title", "withCloseButton"]))
@@ -1181,20 +1181,20 @@ const Ft = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
1181
1181
  }, [
1182
1182
  e.value.table.useDialog ? {
1183
1183
  name: "title",
1184
- fn: f(() => [
1185
- Fe(A(ee.value.title), 1)
1184
+ fn: y(() => [
1185
+ Ee(x(ee.value.title), 1)
1186
1186
  ]),
1187
1187
  key: "0"
1188
1188
  } : void 0,
1189
1189
  e.value.table.useDialog ? {
1190
1190
  name: "actions",
1191
- fn: f(() => [
1192
- m("button", {
1191
+ fn: y(() => [
1192
+ C("button", {
1193
1193
  tabindex: "0",
1194
1194
  class: "vue-ui-user-options-button",
1195
- onClick: a[3] || (a[3] = (l) => Se(e.value.userOptions.callbacks.csv))
1195
+ onClick: o[3] || (o[3] = (l) => _e(e.value.userOptions.callbacks.csv))
1196
1196
  }, [
1197
- At(c(Ut), {
1197
+ xt(c(Ut), {
1198
1198
  name: "excel",
1199
1199
  stroke: ee.value.props.color
1200
1200
  }, null, 8, ["stroke"])
@@ -1203,12 +1203,12 @@ const Ft = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
1203
1203
  key: "1"
1204
1204
  } : void 0
1205
1205
  ]), 1040)) : d("", !0),
1206
- e.value.style.chart.dialog.show ? (u(), E(c(Oe), {
1206
+ e.value.style.chart.dialog.show ? (r(), $(c(Oe), {
1207
1207
  key: 8,
1208
1208
  ref_key: "dialog",
1209
- ref: De,
1210
- onClose: a[4] || (a[4] = (l) => {
1211
- M.value = null, he.value = !1, ae.value = null, b.value = null, K.value = null;
1209
+ ref: Fe,
1210
+ onClose: o[4] || (o[4] = (l) => {
1211
+ M.value = null, he.value = !1, oe.value = null, b.value = null, K.value = null;
1212
1212
  }),
1213
1213
  backgroundColor: e.value.style.chart.dialog.backgroundColor,
1214
1214
  color: e.value.style.chart.dialog.color,
@@ -1217,27 +1217,27 @@ const Ft = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
1217
1217
  isFullscreen: W.value,
1218
1218
  fullscreenParent: N.value
1219
1219
  }, {
1220
- title: f(() => [
1221
- Fe(A(L.value[Number(M.value.index)] ? L.value[Number(M.value.index)].text : ""), 1)
1220
+ title: y(() => [
1221
+ Ee(x(L.value[Number(M.value.index)] ? L.value[Number(M.value.index)].text : ""), 1)
1222
1222
  ]),
1223
- content: f(() => [
1224
- M.value ? (u(), E(c(Gt), {
1223
+ content: y(() => [
1224
+ M.value ? (r(), $(c(Gt), {
1225
1225
  key: 0,
1226
1226
  config: bt.value,
1227
- dataset: ft.value
1227
+ dataset: yt.value
1228
1228
  }, null, 8, ["config", "dataset"])) : d("", !0)
1229
1229
  ]),
1230
1230
  _: 1
1231
1231
  }, 8, ["backgroundColor", "color", "headerBg", "headerColor", "isFullscreen", "fullscreenParent"])) : d("", !0),
1232
- c(Ke) ? (u(), E(Wl, { key: 9 })) : d("", !0)
1233
- ], 46, aa));
1232
+ c(Ke) ? (r(), $(Wl, { key: 9 })) : d("", !0)
1233
+ ], 46, oo));
1234
1234
  }
1235
- }, qa = /* @__PURE__ */ la(Ya, [["__scopeId", "data-v-baaa9a1e"]]), yo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1235
+ }, Zo = /* @__PURE__ */ lo(qo, [["__scopeId", "data-v-ddadc763"]]), fa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1236
1236
  __proto__: null,
1237
- default: qa
1237
+ default: Zo
1238
1238
  }, Symbol.toStringTag, { value: "Module" }));
1239
1239
  export {
1240
- go as a,
1241
- yo as b,
1242
- qa as v
1240
+ ga as a,
1241
+ fa as b,
1242
+ Zo as v
1243
1243
  };