vue-data-ui 3.4.9 → 3.5.0

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 (114) hide show
  1. package/README.md +88 -37
  2. package/dist/{PackageVersion-CTUqGqWV.js → PackageVersion-Cyx_s25h.js} +1 -1
  3. package/dist/components/vue-ui-3d-bar.js +1 -1
  4. package/dist/components/vue-ui-age-pyramid.js +1 -1
  5. package/dist/components/vue-ui-bullet.js +1 -1
  6. package/dist/components/vue-ui-candlestick.js +1 -1
  7. package/dist/components/vue-ui-carousel-table.js +1 -1
  8. package/dist/components/vue-ui-chestnut.js +1 -1
  9. package/dist/components/vue-ui-chord.js +1 -1
  10. package/dist/components/vue-ui-circle-pack.js +1 -1
  11. package/dist/components/vue-ui-dashboard.js +1 -1
  12. package/dist/components/vue-ui-donut-evolution.js +1 -1
  13. package/dist/components/vue-ui-donut.js +1 -1
  14. package/dist/components/vue-ui-dumbbell.js +1 -1
  15. package/dist/components/vue-ui-flow.js +1 -1
  16. package/dist/components/vue-ui-funnel.js +1 -1
  17. package/dist/components/vue-ui-galaxy.js +1 -1
  18. package/dist/components/vue-ui-gauge.js +1 -1
  19. package/dist/components/vue-ui-gizmo.js +1 -1
  20. package/dist/components/vue-ui-heatmap.js +1 -1
  21. package/dist/components/vue-ui-history-plot.js +1 -1
  22. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  23. package/dist/components/vue-ui-molecule.js +1 -1
  24. package/dist/components/vue-ui-mood-radar.js +1 -1
  25. package/dist/components/vue-ui-nested-donuts.js +1 -1
  26. package/dist/components/vue-ui-onion.js +1 -1
  27. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  28. package/dist/components/vue-ui-quadrant.js +1 -1
  29. package/dist/components/vue-ui-quick-chart.js +1 -1
  30. package/dist/components/vue-ui-radar.js +1 -1
  31. package/dist/components/vue-ui-relation-circle.js +1 -1
  32. package/dist/components/vue-ui-ridgeline.js +1 -1
  33. package/dist/components/vue-ui-rings.js +1 -1
  34. package/dist/components/vue-ui-scatter.js +1 -1
  35. package/dist/components/vue-ui-skeleton.js +1 -1
  36. package/dist/components/vue-ui-spark-trend.js +1 -1
  37. package/dist/components/vue-ui-sparkbar.js +1 -1
  38. package/dist/components/vue-ui-sparkgauge.js +1 -1
  39. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  40. package/dist/components/vue-ui-sparkline.js +1 -1
  41. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  42. package/dist/components/vue-ui-stackbar.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-canvas.js +1 -1
  56. package/dist/components/vue-ui-xy.js +1 -1
  57. package/dist/style.css +1 -1
  58. package/dist/{vue-data-ui-DjxWWa78.js → vue-data-ui-DxgRqCAo.js} +104 -98
  59. package/dist/vue-data-ui.js +54 -54
  60. package/dist/{vue-ui-3d-bar-CLE7f9pl.js → vue-ui-3d-bar-DmNJp8SY.js} +1 -1
  61. package/dist/{vue-ui-age-pyramid-D73uIOPm.js → vue-ui-age-pyramid-CPAP3sNY.js} +1 -1
  62. package/dist/{vue-ui-bullet-Bybo0xK2.js → vue-ui-bullet-Ce6uvCQJ.js} +1 -1
  63. package/dist/{vue-ui-candlestick-D_FyMdqH.js → vue-ui-candlestick-DewevWV_.js} +1 -1
  64. package/dist/{vue-ui-carousel-table-BvMlNdVo.js → vue-ui-carousel-table-Dv1CDfE5.js} +1 -1
  65. package/dist/{vue-ui-chestnut-DA0g0bDV.js → vue-ui-chestnut-D9sdFZ4E.js} +1 -1
  66. package/dist/{vue-ui-chord-CDgzolI-.js → vue-ui-chord-BG4dxKNA.js} +1 -1
  67. package/dist/{vue-ui-circle-pack-BPDm-ro5.js → vue-ui-circle-pack-Be74QB_0.js} +1 -1
  68. package/dist/{vue-ui-dashboard-CeJwbiON.js → vue-ui-dashboard-C4BLwHey.js} +54 -54
  69. package/dist/{vue-ui-donut-DjQXHBJE.js → vue-ui-donut-BRGFcgxS.js} +542 -526
  70. package/dist/{vue-ui-donut-evolution-Ca3Svr0B.js → vue-ui-donut-evolution-DJ0C-7jH.js} +364 -348
  71. package/dist/{vue-ui-dumbbell-CxCE2luV.js → vue-ui-dumbbell-iQJ0BUhm.js} +1 -1
  72. package/dist/{vue-ui-flow-DEvwXd4W.js → vue-ui-flow-CTYFoib3.js} +1 -1
  73. package/dist/{vue-ui-funnel-Bgcx7xia.js → vue-ui-funnel-CG55Xcdy.js} +1 -1
  74. package/dist/{vue-ui-galaxy-BWr1EMob.js → vue-ui-galaxy-BQrxjKZJ.js} +221 -205
  75. package/dist/{vue-ui-gauge-DQricvo2.js → vue-ui-gauge-Tc-0NI0Y.js} +1 -1
  76. package/dist/{vue-ui-gizmo-C-fKe3io.js → vue-ui-gizmo-P8h-gnLd.js} +1 -1
  77. package/dist/{vue-ui-heatmap-B-o_i7Hu.js → vue-ui-heatmap-BZimPzsL.js} +1 -1
  78. package/dist/{vue-ui-history-plot-DzQ9DPUJ.js → vue-ui-history-plot-BVzbuqYY.js} +383 -367
  79. package/dist/{vue-ui-molecule-I2OhrCR2.js → vue-ui-molecule-BALqwB8c.js} +1 -1
  80. package/dist/{vue-ui-mood-radar-BAT7kZUy.js → vue-ui-mood-radar-QJ5nlZby.js} +1 -1
  81. package/dist/{vue-ui-nested-donuts-CjhJDAQi.js → vue-ui-nested-donuts-CmUabkkQ.js} +404 -384
  82. package/dist/{vue-ui-onion-DTY2p87s.js → vue-ui-onion-DAOCf3f8.js} +331 -309
  83. package/dist/{vue-ui-parallel-coordinate-plot-C8aWTcNn.js → vue-ui-parallel-coordinate-plot-D8jTuFjq.js} +378 -361
  84. package/dist/{vue-ui-quadrant-DGnasrCR.js → vue-ui-quadrant-CO52mSRY.js} +428 -411
  85. package/dist/{vue-ui-quick-chart-Cam_sWet.js → vue-ui-quick-chart-DEaVSldE.js} +1 -1
  86. package/dist/{vue-ui-radar-DNI9WI2R.js → vue-ui-radar-C5V4hhbW.js} +393 -374
  87. package/dist/{vue-ui-relation-circle-Dj1jhcsl.js → vue-ui-relation-circle-CbMM0Jka.js} +1 -1
  88. package/dist/{vue-ui-ridgeline-adIls6bj.js → vue-ui-ridgeline-CXCIRDq6.js} +454 -438
  89. package/dist/{vue-ui-rings-CnTMFK6R.js → vue-ui-rings-BpUcyqo7.js} +285 -263
  90. package/dist/{vue-ui-scatter-fzR2c0St.js → vue-ui-scatter--Dxe-hfO.js} +629 -613
  91. package/dist/{vue-ui-skeleton-DUdI2uOO.js → vue-ui-skeleton-BWq-VDzg.js} +1 -1
  92. package/dist/{vue-ui-spark-trend-DxpRfUJz.js → vue-ui-spark-trend-T4J_YOa_.js} +1 -1
  93. package/dist/{vue-ui-sparkbar-B44oER5n.js → vue-ui-sparkbar-DnKP55Vu.js} +1 -1
  94. package/dist/{vue-ui-sparkgauge-ix12NZ7M.js → vue-ui-sparkgauge-BDQLP-zi.js} +1 -1
  95. package/dist/{vue-ui-sparkhistogram-Cs-QDYBR.js → vue-ui-sparkhistogram-Dm7QXrA-.js} +1 -1
  96. package/dist/{vue-ui-sparkline-Cb8ZmyUq.js → vue-ui-sparkline-tXGDLHRy.js} +1 -1
  97. package/dist/vue-ui-sparkstackbar-M53Nt07M.js +441 -0
  98. package/dist/{vue-ui-stackbar-DubS6Pg8.js → vue-ui-stackbar-CkBOjryQ.js} +437 -421
  99. package/dist/{vue-ui-strip-plot-BjG-Jxnb.js → vue-ui-strip-plot-BX9i3wMn.js} +1 -1
  100. package/dist/{vue-ui-table-DdBdLrAL.js → vue-ui-table-7r02N9R9.js} +2 -2
  101. package/dist/{vue-ui-table-sparkline-EpCo2Be5.js → vue-ui-table-sparkline-DZaAh10E.js} +1 -1
  102. package/dist/{vue-ui-thermometer-DTnfnf9z.js → vue-ui-thermometer-CFPt3MOv.js} +1 -1
  103. package/dist/{vue-ui-timer-Br3wp8hG.js → vue-ui-timer-Ds-MJoW2.js} +1 -1
  104. package/dist/{vue-ui-tiremarks-CrC_tlIx.js → vue-ui-tiremarks-2eIQ6vxu.js} +1 -1
  105. package/dist/{vue-ui-treemap-kyuyi2ES.js → vue-ui-treemap-BEvl8hiw.js} +500 -484
  106. package/dist/{vue-ui-vertical-bar-yfbEfLqy.js → vue-ui-vertical-bar-D8dtM8sw.js} +350 -334
  107. package/dist/{vue-ui-waffle-m-9sqQik.js → vue-ui-waffle-B3q-2SCR.js} +302 -286
  108. package/dist/{vue-ui-wheel-BasM7FWt.js → vue-ui-wheel-BpirIgAG.js} +1 -1
  109. package/dist/{vue-ui-word-cloud-vNwswYZD.js → vue-ui-word-cloud-ChT7uLbN.js} +1 -1
  110. package/dist/{vue-ui-world-BsCNyZy_.js → vue-ui-world-CdP4g_3_.js} +1 -1
  111. package/dist/{vue-ui-xy-CIrw1lWQ.js → vue-ui-xy-B68qQ-gX.js} +1089 -1073
  112. package/dist/{vue-ui-xy-canvas-DXnLFwW3.js → vue-ui-xy-canvas-DDngEA1s.js} +338 -322
  113. package/package.json +1 -1
  114. package/dist/vue-ui-sparkstackbar-BiRZ51OU.js +0 -424
@@ -1,24 +1,24 @@
1
- import { defineAsyncComponent as E, ref as i, shallowRef as pt, computed as y, onMounted as il, toRefs as cl, nextTick as Ie, watch as re, watchEffect as vl, onBeforeUnmount as dl, createElementBlock as n, openBlock as u, unref as c, normalizeStyle as K, normalizeClass as N, createBlock as T, createCommentVNode as v, createElementVNode as b, createSlots as xt, withCtx as x, renderSlot as A, normalizeProps as Z, guardReactiveProps as ee, createVNode as kt, Fragment as $, renderList as z, toDisplayString as k, Teleport as hl, resolveDynamicComponent as yl, mergeProps as gl, createTextVNode as Oe } from "vue";
2
- import { c as wt, o as Ct, f as ie, g as fl, t as bl, b as ml, p as ce, O as _t, e as pl, h as Te, a1 as xl, m as Lt, T as De, a as Ne, d as ve, X as kl, s as te, a2 as wl, M as Cl, V as _l, W as Ll, Y as At, P as Al, Q as Sl, a3 as St, a4 as $l } from "./lib-C_mNZmhD.js";
3
- import { t as $t, u as zl } from "./useResponsive-DfdjqQps.js";
4
- import { u as Il, a as zt } from "./useNestedProp-BjZe1Y85.js";
5
- import { u as Ol } from "./usePrinter-DTzqpYKF.js";
6
- import { u as Tl, B as Dl } from "./BaseScanner-BgWxam9d.js";
7
- import { u as Nl } from "./useSvgExport-DrjCWun4.js";
8
- import { u as Pl } from "./useTimeLabels-BGFjWgrv.js";
9
- import { u as Rl } from "./useUserOptionState-BIvW1Kz7.js";
10
- import { u as Fl } from "./useChartAccessibility-9icAAmYg.js";
11
- import { u as El } from "./useTimeLabelCollider-CIsgDrl9.js";
12
- import Vl from "./img-BecE5qXd.js";
13
- import Bl from "./Title-l36lOBMx.js";
14
- import { t as Ml } from "./themes-AUNCOb2G.js";
15
- import Hl from "./Legend-G6GMcdAc.js";
16
- import { S as Ul } from "./Slicer-D2wm0coO.js";
17
- import { _ as Xl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
18
- const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "width", "height"], ql = ["id"], Ql = ["stop-color"], Jl = ["stop-color"], Kl = ["id"], Zl = ["stop-color"], ea = ["stop-color"], ta = ["stop-color"], la = { key: 1 }, aa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], oa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ua = { key: 0 }, sa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], na = ["font-size", "fill", "transform"], ra = ["x", "y", "font-size", "fill"], ia = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ca = ["x", "y", "font-size", "fill", "font-weight"], va = { key: 0 }, da = ["text-anchor", "font-size", "fill", "transform"], ha = ["text-anchor", "font-size", "fill", "transform", "innerHTML"], ya = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], ga = { key: 1 }, fa = ["cx", "cy", "r", "fill"], ba = { key: 0 }, ma = { key: 0 }, pa = ["d", "stroke"], xa = ["text-anchor", "x", "y", "fill"], ka = ["cx", "cy", "r", "fill"], wa = { key: 0 }, Ca = ["cx", "cy", "fill"], _a = { key: 1 }, La = ["d", "fill", "stroke"], Aa = { key: 2 }, Sa = ["d", "fill", "stroke"], $a = ["x", "y", "font-size", "fill"], za = ["x", "y", "width", "height", "fill"], Ia = ["x", "y", "width", "height", "onMouseenter", "onMouseleave", "onClick"], Oa = {
1
+ import { defineAsyncComponent as F, ref as i, shallowRef as xt, computed as y, onMounted as dl, toRefs as hl, nextTick as Ie, watch as ie, watchEffect as yl, onBeforeUnmount as gl, createElementBlock as n, openBlock as u, unref as c, normalizeStyle as Z, normalizeClass as P, createBlock as D, createCommentVNode as v, createElementVNode as b, createSlots as kt, withCtx as x, renderSlot as A, normalizeProps as ee, guardReactiveProps as te, createVNode as wt, Fragment as $, renderList as z, toDisplayString as w, Teleport as fl, resolveDynamicComponent as bl, mergeProps as ml, createTextVNode as Te } from "vue";
2
+ import { c as Ct, o as _t, f as ce, g as pl, t as xl, b as kl, p as ve, O as Lt, e as wl, h as De, a1 as Cl, m as At, T as Oe, a as Ne, d as de, X as _l, s as le, a2 as Ll, M as Al, V as Sl, W as $l, Y as St, P as zl, Q as Il, a3 as $t, a4 as Tl } from "./lib-C_mNZmhD.js";
3
+ import { t as zt, u as Dl } from "./useResponsive-DfdjqQps.js";
4
+ import { u as Ol, a as It } from "./useNestedProp-BjZe1Y85.js";
5
+ import { u as Nl } from "./usePrinter-DTzqpYKF.js";
6
+ import { u as Pl, B as Rl } from "./BaseScanner-BgWxam9d.js";
7
+ import { u as El } from "./useSvgExport-DrjCWun4.js";
8
+ import { u as Fl } from "./useTimeLabels-BGFjWgrv.js";
9
+ import { u as Vl } from "./useUserOptionState-BIvW1Kz7.js";
10
+ import { u as Bl } from "./useChartAccessibility-9icAAmYg.js";
11
+ import { u as Ml } from "./useTimeLabelCollider-CIsgDrl9.js";
12
+ import Hl from "./img-BecE5qXd.js";
13
+ import Ul from "./Title-l36lOBMx.js";
14
+ import { t as Xl } from "./themes-AUNCOb2G.js";
15
+ import Wl from "./Legend-G6GMcdAc.js";
16
+ import { S as Gl } from "./Slicer-D2wm0coO.js";
17
+ import { _ as Yl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
18
+ const jl = ["id"], ql = ["id"], Ql = ["xmlns", "viewBox"], Jl = ["x", "y", "width", "height"], Kl = ["id"], Zl = ["stop-color"], ea = ["stop-color"], ta = ["id"], la = ["stop-color"], aa = ["stop-color"], oa = ["stop-color"], ua = { key: 1 }, sa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], na = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ra = { key: 0 }, ia = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ca = ["font-size", "fill", "transform"], va = ["x", "y", "font-size", "fill"], da = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ha = ["x", "y", "font-size", "fill", "font-weight"], ya = { key: 0 }, ga = ["text-anchor", "font-size", "fill", "transform"], fa = ["text-anchor", "font-size", "fill", "transform", "innerHTML"], ba = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], ma = { key: 1 }, pa = ["cx", "cy", "r", "fill"], xa = { key: 0 }, ka = { key: 0 }, wa = ["d", "stroke"], Ca = ["text-anchor", "x", "y", "fill"], _a = ["cx", "cy", "r", "fill"], La = { key: 0 }, Aa = ["cx", "cy", "fill"], Sa = { key: 1 }, $a = ["d", "fill", "stroke"], za = { key: 2 }, Ia = ["d", "fill", "stroke"], Ta = ["x", "y", "font-size", "fill"], Da = ["x", "y", "width", "height", "fill"], Oa = ["x", "y", "width", "height", "onMouseenter", "onMouseleave", "onClick"], Na = {
19
19
  key: 4,
20
20
  class: "vue-data-ui-watermark"
21
- }, Ta = ["id"], Da = ["onClick"], Na = { key: 0 }, Pa = { key: 1 }, Ra = {
21
+ }, Pa = ["id"], Ra = ["onClick"], Ea = { key: 0 }, Fa = { key: 1 }, Va = {
22
22
  __name: "vue-ui-donut-evolution",
23
23
  props: {
24
24
  config: {
@@ -35,58 +35,58 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
35
35
  }
36
36
  },
37
37
  emits: ["selectLegend"],
38
- setup(It, { expose: Ot, emit: Tt }) {
39
- const Dt = E(() => import("./vue-ui-accordion-CZ0thhxa.js")), Nt = E(() => import("./BaseIcon-BmMbm4d0.js")), Pt = E(() => import("./DataTable-BT7VF2ua.js")), Rt = E(() => import("./PackageVersion-CTUqGqWV.js")), Ft = E(() => import("./PenAndPaper-DSvu9dwa.js")), Et = E(() => import("./UserOptions-CGnQt6Fd.js")), Vt = E(() => import("./vue-ui-donut-DjQXHBJE.js")), Pe = E(() => import("./BaseDraggableDialog-ymf2sfB8.js")), { vue_ui_donut_evolution: Bt } = Il(), m = It, D = i(wt()), C = i([]), f = i(null), le = i(null), de = i(!1), V = i(null), P = i(null), Mt = i(null), Re = i(0), Fe = i(0), Ee = i(0), Ve = i(0), Be = i(0), he = i(null), ae = i(null), ye = i(null), ge = i(null), Me = i(!1), Y = i(null), fe = i(null), He = i(null), Ue = i(null), Xe = i(null), We = i(null), Ge = i(null), be = i(!1), j = pt(null), oe = pt(null), Ye = i(null), je = Tt, qe = y(() => !!m.dataset && m.dataset.length);
40
- il(() => {
38
+ setup(Tt, { expose: Dt, emit: Ot }) {
39
+ const Nt = F(() => import("./vue-ui-accordion-CZ0thhxa.js")), Pt = F(() => import("./BaseIcon-BmMbm4d0.js")), Rt = F(() => import("./DataTable-BT7VF2ua.js")), Et = F(() => import("./PackageVersion-Cyx_s25h.js")), Ft = F(() => import("./PenAndPaper-DSvu9dwa.js")), Vt = F(() => import("./UserOptions-CGnQt6Fd.js")), Bt = F(() => import("./vue-ui-donut-BRGFcgxS.js")), Pe = F(() => import("./BaseDraggableDialog-ymf2sfB8.js")), { vue_ui_donut_evolution: Mt } = Ol(), m = Tt, O = i(Ct()), k = i([]), f = i(null), ae = i(null), he = i(!1), V = i(null), R = i(null), Ht = i(null), Re = i(0), Ee = i(0), Fe = i(0), Ve = i(0), Be = i(0), ye = i(null), oe = i(null), ge = i(null), fe = i(null), Me = i(!1), j = i(null), be = i(null), He = i(null), Ue = i(null), Xe = i(null), We = i(null), Ge = i(null), me = i(!1), q = xt(null), ue = xt(null), Ye = i(null), je = Ot, qe = y(() => !!m.dataset && m.dataset.length);
40
+ dl(() => {
41
41
  Me.value = !0, Qe();
42
42
  });
43
- const ue = y(() => !!e.value.debug);
43
+ const se = y(() => !!e.value.debug);
44
44
  function Qe() {
45
- if (Ct(m.dataset) ? (ie({
45
+ if (_t(m.dataset) ? (ce({
46
46
  componentName: "VueUiDonutEvolution",
47
47
  type: "dataset",
48
- debug: ue.value
49
- }), se.value = !0) : m.dataset.length && m.dataset.forEach((t, a) => {
50
- fl({
48
+ debug: se.value
49
+ }), ne.value = !0) : m.dataset.length && m.dataset.forEach((t, a) => {
50
+ pl({
51
51
  datasetObject: t,
52
52
  requiredAttributes: ["name", "values"]
53
53
  }).forEach((l) => {
54
- ie({
54
+ ce({
55
55
  componentName: "VueUiDonutEvolution",
56
56
  type: "datasetSerieAttribute",
57
57
  property: l,
58
58
  index: a,
59
- debug: ue.value
60
- }), se.value = !0;
59
+ debug: se.value
60
+ }), ne.value = !0;
61
61
  });
62
- }), Ct(m.dataset) || (se.value = e.value.loading), setTimeout(() => {
63
- be.value = !0;
64
- }, 10), pe(), e.value.responsive) {
65
- const t = $t(() => {
66
- be.value = !1;
67
- const { width: a, height: l } = zl({
68
- chart: P.value,
62
+ }), _t(m.dataset) || (ne.value = e.value.loading), setTimeout(() => {
63
+ me.value = !0;
64
+ }, 10), xe(), e.value.responsive) {
65
+ const t = zt(() => {
66
+ me.value = !1;
67
+ const { width: a, height: l } = Dl({
68
+ chart: R.value,
69
69
  title: e.value.style.chart.title.text ? He.value : null,
70
70
  legend: e.value.style.chart.legend.show ? Ue.value : null,
71
71
  slicer: e.value.style.chart.zoom.show && Ke.value > 1 ? Ge.value : null,
72
72
  source: Xe.value
73
73
  });
74
74
  requestAnimationFrame(() => {
75
- U.value.width = a, U.value.height = l - 12, clearTimeout(Ye.value), Ye.value = setTimeout(() => {
76
- be.value = !0;
75
+ X.value.width = a, X.value.height = l - 12, clearTimeout(Ye.value), Ye.value = setTimeout(() => {
76
+ me.value = !0;
77
77
  }, 10);
78
78
  });
79
79
  });
80
- j.value && (oe.value && j.value.unobserve(oe.value), j.value.disconnect()), j.value = new ResizeObserver(t), oe.value = P.value.parentNode, j.value.observe(oe.value);
80
+ q.value && (ue.value && q.value.unobserve(ue.value), q.value.disconnect()), q.value = new ResizeObserver(t), ue.value = R.value.parentNode, q.value.observe(ue.value);
81
81
  }
82
82
  }
83
- const e = i(we()), { loading: Je, FINAL_DATASET: me, manualLoading: se } = Tl({
84
- ...cl(m),
83
+ const e = i(Ce()), { loading: Je, FINAL_DATASET: pe, manualLoading: ne } = Pl({
84
+ ...hl(m),
85
85
  FINAL_CONFIG: e,
86
- prepareConfig: we,
86
+ prepareConfig: Ce,
87
87
  callback: () => {
88
88
  Promise.resolve().then(async () => {
89
- await pe();
89
+ await xe();
90
90
  });
91
91
  },
92
92
  skeletonDataset: [
@@ -106,7 +106,7 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
106
106
  color: "#CACACA"
107
107
  }
108
108
  ],
109
- skeletonConfig: bl({
109
+ skeletonConfig: xl({
110
110
  defaultConfig: e.value,
111
111
  userConfig: {
112
112
  useCssAnimation: !1,
@@ -148,56 +148,56 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
148
148
  }
149
149
  }
150
150
  })
151
- }), U = i({
151
+ }), X = i({
152
152
  width: e.value.style.chart.layout.width,
153
153
  height: e.value.style.chart.layout.height
154
- }), Ke = y(() => Math.max(...me.value.map((t) => t.values.length))), h = i({
154
+ }), Ke = y(() => Math.max(...pe.value.map((t) => t.values.length))), h = i({
155
155
  start: 0,
156
156
  end: Ke.value
157
157
  });
158
158
  function Ze() {
159
- pe();
159
+ xe();
160
160
  }
161
- async function pe() {
161
+ async function xe() {
162
162
  await Ie(), await Ie();
163
163
  const { startIndex: t, endIndex: a } = e.value.style.chart.zoom, l = We.value;
164
- h.value = { start: 0, max: I.value }, (t != null || a != null) && l ? (t != null ? l.setStartValue(t) : (h.value.start = 0, l.setStartValue(0)), a != null ? l.setEndValue(Ht(a + 1)) : (h.value.end = I.value, l.setEndValue(I.value))) : (h.value = {
164
+ h.value = { start: 0, max: I.value }, (t != null || a != null) && l ? (t != null ? l.setStartValue(t) : (h.value.start = 0, l.setStartValue(0)), a != null ? l.setEndValue(Ut(a + 1)) : (h.value.end = I.value, l.setEndValue(I.value))) : (h.value = {
165
165
  start: 0,
166
166
  end: I.value
167
- }, Fe.value += 1);
167
+ }, Ee.value += 1);
168
168
  }
169
- function Ht(t) {
169
+ function Ut(t) {
170
170
  const a = I.value;
171
171
  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;
172
172
  }
173
- const { userOptionsVisible: xe, setUserOptionsVisibility: et, keepUserOptionState: tt } = Rl({ config: e.value }), { svgRef: ke } = Fl({ config: e.value.style.chart.title });
174
- function we() {
175
- const t = zt({
173
+ const { userOptionsVisible: ke, setUserOptionsVisibility: et, keepUserOptionState: tt } = Vl({ config: e.value }), { svgRef: we } = Bl({ config: e.value.style.chart.title });
174
+ function Ce() {
175
+ const t = It({
176
176
  userConfig: m.config,
177
- defaultConfig: Bt
177
+ defaultConfig: Mt
178
178
  });
179
179
  let a = {};
180
180
  return t.theme ? a = {
181
- ...zt({
182
- userConfig: Ml.vue_ui_donut_evolution[t.theme] || m.config,
181
+ ...It({
182
+ userConfig: Xl.vue_ui_donut_evolution[t.theme] || m.config,
183
183
  defaultConfig: t
184
184
  }),
185
- customPalette: ml[t.theme] || ce
186
- } : a = t, m.config && _t(m.config, "style.chart.zoom.startIndex") ? a.style.chart.zoom.startIndex = m.config.style.chart.zoom.startIndex : a.style.chart.zoom.startIndex = null, m.config && _t(m.config, "style.chart.zoom.endIndex") ? a.style.chart.zoom.endIndex = m.config.style.chart.zoom.endIndex : a.style.chart.zoom.endIndex = null, a;
185
+ customPalette: kl[t.theme] || ve
186
+ } : a = t, m.config && Lt(m.config, "style.chart.zoom.startIndex") ? a.style.chart.zoom.startIndex = m.config.style.chart.zoom.startIndex : a.style.chart.zoom.startIndex = null, m.config && Lt(m.config, "style.chart.zoom.endIndex") ? a.style.chart.zoom.endIndex = m.config.style.chart.zoom.endIndex : a.style.chart.zoom.endIndex = null, a;
187
187
  }
188
- re(() => m.config, (t) => {
189
- Je.value || (e.value = we()), xe.value = !e.value.userOptions.showOnChartHover, Qe(), Ee.value += 1, Ve.value += 1, Be.value += 1, B.value.showTable = e.value.table.show;
190
- }, { deep: !0 }), re(() => m.dataset, (t) => {
191
- Array.isArray(t) && t.length > 0 && (se.value = !1), Ze();
188
+ ie(() => m.config, (t) => {
189
+ Je.value || (e.value = Ce()), ke.value = !e.value.userOptions.showOnChartHover, Qe(), Fe.value += 1, Ve.value += 1, Be.value += 1, B.value.showTable = e.value.table.show;
190
+ }, { deep: !0 }), ie(() => m.dataset, (t) => {
191
+ Array.isArray(t) && t.length > 0 && (ne.value = !1), Ze();
192
192
  }, { deep: !0 });
193
- const { isPrinting: lt, isImaging: at, generatePdf: ot, generateImage: ut } = Ol({
194
- elementId: D.value,
193
+ const { isPrinting: lt, isImaging: at, generatePdf: ot, generateImage: ut } = Nl({
194
+ elementId: O.value,
195
195
  fileName: e.value.style.chart.title.text || "vue-ui-donut-evolution",
196
196
  options: e.value.userOptions.print
197
- }), Ut = y(() => e.value.userOptions.show && !e.value.style.chart.title.text), Xt = y(() => pl(e.value.customPalette)), B = i({
197
+ }), Xt = y(() => e.value.userOptions.show && !e.value.style.chart.title.text), Wt = y(() => wl(e.value.customPalette)), B = i({
198
198
  showTable: e.value.table.show
199
199
  });
200
- re(e, () => {
200
+ ie(e, () => {
201
201
  B.value = {
202
202
  showTable: e.value.table.show
203
203
  };
@@ -208,113 +208,113 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
208
208
  bottom: e.value.style.chart.layout.padding.bottom,
209
209
  left: e.value.style.chart.layout.padding.left
210
210
  }));
211
- function Wt() {
211
+ function Gt() {
212
212
  let t = 0;
213
- he.value && (t = Array.from(he.value.querySelectorAll("text")).reduce((o, g) => {
213
+ ye.value && (t = Array.from(ye.value.querySelectorAll("text")).reduce((o, g) => {
214
214
  const d = g.getComputedTextLength();
215
215
  return (d > o ? d : o) + e.value.style.chart.layout.grid.axis.yLabelOffsetX;
216
216
  }, 0));
217
- const a = ge.value ? ge.value.getBoundingClientRect().width + e.value.style.chart.layout.grid.axis.yLabelOffsetX + e.value.style.chart.layout.grid.axis.fontSize : 0;
217
+ 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;
218
218
  return t + a + 5;
219
219
  }
220
- const Ce = i(0), Gt = $t((t) => {
221
- Ce.value = t;
220
+ const _e = i(0), Yt = zt((t) => {
221
+ _e.value = t;
222
222
  }, 100);
223
- vl((t) => {
224
- const a = ae.value;
223
+ yl((t) => {
224
+ const a = oe.value;
225
225
  if (!a) return;
226
226
  const l = new ResizeObserver((s) => {
227
- Gt(s[0].contentRect.height);
227
+ Yt(s[0].contentRect.height);
228
228
  });
229
229
  l.observe(a), t(() => l.disconnect());
230
- }), dl(() => {
231
- Ce.value = 0;
230
+ }), gl(() => {
231
+ _e.value = 0;
232
232
  });
233
233
  const st = y(() => {
234
234
  let t = 0;
235
- ye.value && (t = ye.value.getBBox().height);
235
+ ge.value && (t = ge.value.getBBox().height);
236
236
  let a = 0;
237
- return ae.value && (a = Ce.value), t + a + e.value.style.chart.layout.grid.axis.fontSize + e.value.style.chart.layout.grid.xAxis.dataLabels.offsetY;
237
+ return oe.value && (a = _e.value), t + a + e.value.style.chart.layout.grid.axis.fontSize + e.value.style.chart.layout.grid.xAxis.dataLabels.offsetY;
238
238
  }), r = y(() => {
239
- const t = Wt(), a = e.value.style.chart.layout.dataLabels.fontSize * 3, l = U.value.width, s = U.value.height, o = M.value.left + t, g = l - M.value.right, d = l - o - M.value.right, p = s - M.value.top - M.value.bottom - a - st.value, G = M.value.top + a, F = s - M.value.bottom - st.value;
239
+ const t = Gt(), a = e.value.style.chart.layout.dataLabels.fontSize * 3, l = X.value.width, s = X.value.height, o = M.value.left + t, g = l - M.value.right, d = l - o - M.value.right, p = s - M.value.top - M.value.bottom - a - st.value, Y = M.value.top + a, E = s - M.value.bottom - st.value;
240
240
  return {
241
- top: G,
241
+ top: Y,
242
242
  left: o,
243
243
  right: g,
244
- bottom: F,
244
+ bottom: E,
245
245
  absoluteHeight: s,
246
246
  absoluteWidth: l,
247
247
  centerX: o + Math.max(10, d) / 2,
248
- centerY: G + Math.max(10, p) / 2,
248
+ centerY: Y + Math.max(10, p) / 2,
249
249
  width: Math.max(10, d),
250
250
  height: Math.max(10, p)
251
251
  };
252
- }), R = y(() => (me.value.forEach((t, a) => {
253
- [null, void 0].includes(t.name) && ie({
252
+ }), N = y(() => (pe.value.forEach((t, a) => {
253
+ [null, void 0].includes(t.name) && ce({
254
254
  componentName: "VueUiDonutEvolution",
255
255
  type: "datasetSerieAttribute",
256
256
  property: "name",
257
257
  index: a,
258
- debug: ue.value
259
- }), [null, void 0].includes(t.values) && ie({
258
+ debug: se.value
259
+ }), [null, void 0].includes(t.values) && ce({
260
260
  componentName: "VueUiDonutEvolution",
261
261
  type: "datasetSerieAttribute",
262
262
  property: "values",
263
263
  index: a,
264
- debug: ue.value
264
+ debug: se.value
265
265
  });
266
- }), me.value.map((t, a) => ({
266
+ }), pe.value.map((t, a) => ({
267
267
  ...t,
268
- values: xl(t.values),
269
- color: Te(t.color) || Xt.value[a] || ce[a] || ce[a % ce.length],
268
+ values: Cl(t.values),
269
+ color: De(t.color) || Wt.value[a] || ve[a] || ve[a % ve.length],
270
270
  length: (t.values || []).length,
271
- uid: wt()
272
- })))), q = y(() => R.value.filter((t) => !C.value.includes(t.uid)).map((t) => ({
271
+ uid: Ct()
272
+ })))), H = y(() => N.value.filter((t) => !k.value.includes(t.uid)).map((t) => ({
273
273
  ...t,
274
274
  values: t.values.filter((a, l) => l >= h.value.start && l <= h.value.end)
275
- }))), I = y(() => Math.max(...q.value.map((t) => t.length))), _ = y(() => Pl({
275
+ }))), I = y(() => Math.max(...H.value.map((t) => t.length))), _ = y(() => Fl({
276
276
  values: e.value.style.chart.layout.grid.xAxis.dataLabels.values,
277
277
  maxDatapoints: I.value,
278
278
  formatter: e.value.style.chart.layout.grid.xAxis.dataLabels.datetimeFormatter,
279
279
  start: h.value.start,
280
280
  end: h.value.end
281
- })), w = y(() => r.value.width / (h.value.end - h.value.start)), L = y(() => {
281
+ })), C = y(() => r.value.width / (h.value.end - h.value.start)), L = y(() => {
282
282
  const t = [];
283
283
  for (let o = 0; o < h.value.end - h.value.start; o += 1) {
284
- const g = q.value.map((O) => O.values[o] ?? null), d = g.filter((O) => [void 0, null].includes(O)).length === g.length, p = g.reduce((O, S) => O + S, 0), G = g.map((O) => O / p), F = r.value.left + w.value * o + w.value / 2;
284
+ const g = H.value.map((T) => T.values[o] ?? null), d = g.filter((T) => [void 0, null].includes(T)).length === g.length, p = g.reduce((T, S) => T + S, 0), Y = g.map((T) => T / p), E = r.value.left + C.value * o + C.value / 2;
285
285
  t.push({
286
286
  index: o,
287
- percentages: G,
287
+ percentages: Y,
288
288
  subtotal: d || p < 0 ? null : p,
289
289
  values: g,
290
- x: F
290
+ x: E
291
291
  });
292
292
  }
293
293
  const a = 0, l = Math.max(...t.map((o) => o.subtotal)), s = t.length === 1 ? l * 2 : l;
294
294
  return t.map((o, g) => {
295
- const d = Math.min(r.value.width / 24, w.value / 2 * 0.7), p = d > r.value.width / 16 ? r.value.width / 16 : d, G = f.value === o.index ? r.value.width / 16 : p, F = t.length > 4 ? d * 2 : d * 2 > w.value / 2 * 0.7 ? w.value / 2 * 0.7 : d * 2, O = r.value.bottom - r.value.height * o.subtotal / Lt(a, s, e.value.style.chart.layout.grid.yAxis.dataLabels.steps).max;
295
+ const d = Math.min(r.value.width / 24, C.value / 2 * 0.7), p = d > r.value.width / 16 ? r.value.width / 16 : d, Y = f.value === o.index ? r.value.width / 16 : p, E = t.length > 4 ? d * 2 : d * 2 > C.value / 2 * 0.7 ? C.value / 2 * 0.7 : d * 2, T = r.value.bottom - r.value.height * o.subtotal / At(a, s, e.value.style.chart.layout.grid.yAxis.dataLabels.steps).max;
296
296
  return {
297
297
  ...o,
298
- y: O,
298
+ y: T,
299
299
  radius: p,
300
- activeRadius: G,
301
- hoverRadius: F,
302
- donut: De({
303
- series: q.value.map((S, mt) => ({
300
+ activeRadius: Y,
301
+ hoverRadius: E,
302
+ donut: Oe({
303
+ series: H.value.map((S, pt) => ({
304
304
  color: S.color,
305
305
  name: S.name,
306
306
  value: S.values[g] ?? 0
307
307
  }))
308
- }, o.x, O, p, p, 1.99999, 2, 1, 360, 105.25, p / 2),
309
- donutHover: De({
310
- series: q.value.map((S, mt) => ({
308
+ }, o.x, T, p, p, 1.99999, 2, 1, 360, 105.25, p / 2),
309
+ donutHover: Oe({
310
+ series: H.value.map((S, pt) => ({
311
311
  color: S.color,
312
312
  name: S.name,
313
313
  value: S.values[g] ?? 0
314
314
  }))
315
- }, o.x, O, F, F, 1.99999, 2, 1, 360, 105.25, F / 2),
316
- donutFocus: De({
317
- series: q.value.map((S, mt) => ({
315
+ }, o.x, T, E, E, 1.99999, 2, 1, 360, 105.25, E / 2),
316
+ donutFocus: Oe({
317
+ series: H.value.map((S, pt) => ({
318
318
  color: S.color,
319
319
  name: S.name,
320
320
  value: S.values[g] ?? 0
@@ -327,7 +327,7 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
327
327
  return Ne(
328
328
  e.value.style.chart.layout.dataLabels.formatter,
329
329
  t,
330
- ve({
330
+ de({
331
331
  p: e.value.style.chart.layout.dataLabels.prefix,
332
332
  v: t,
333
333
  s: e.value.style.chart.layout.dataLabels.suffix,
@@ -336,34 +336,34 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
336
336
  { datapoint: a, index: l }
337
337
  );
338
338
  }
339
- const _e = y(() => ({
339
+ const Le = y(() => ({
340
340
  max: Math.max(...L.value.map((t) => t.subtotal)),
341
341
  min: 0
342
- })), X = y(() => {
343
- const t = L.value.length === 1 ? _e.value.max * 2 : _e.value.max;
344
- return Lt(_e.value.min, t, e.value.style.chart.layout.grid.yAxis.dataLabels.steps);
342
+ })), W = y(() => {
343
+ const t = L.value.length === 1 ? Le.value.max * 2 : Le.value.max;
344
+ return At(Le.value.min, t, e.value.style.chart.layout.grid.yAxis.dataLabels.steps);
345
345
  });
346
- function Yt(t) {
347
- return t / X.value.max;
346
+ function jt(t) {
347
+ return t / W.value.max;
348
348
  }
349
- const jt = y(() => X.value.ticks.map((t) => ({
350
- y: r.value.bottom - r.value.height * Yt(t),
349
+ const qt = y(() => W.value.ticks.map((t) => ({
350
+ y: r.value.bottom - r.value.height * jt(t),
351
351
  value: t
352
352
  })));
353
- function qt(t, a) {
354
- return isNaN(t.value / St(a, "value")) ? 0 : (t.value / St(a, "value") * 100).toFixed(0) + "%";
353
+ function Qt(t, a) {
354
+ return isNaN(t.value / $t(a, "value")) ? 0 : (t.value / $t(a, "value") * 100).toFixed(0) + "%";
355
355
  }
356
356
  function rt(t) {
357
- f.value = null, le.value = null, e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: t.seriesIndex + h.value.start });
357
+ f.value = null, ae.value = null, e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: t.seriesIndex + h.value.start });
358
358
  }
359
- function Qt(t) {
360
- e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: t.index + h.value.start }), f.value = t.index, le.value = t;
359
+ function Jt(t) {
360
+ e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: t.index + h.value.start }), f.value = t.index, ae.value = t;
361
361
  }
362
362
  const Q = i(null);
363
363
  function it(t, a) {
364
- e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: t.index + h.value.start }), !(!t.subtotal || !e.value.style.chart.dialog.show) && (le.value = null, f.value = null, de.value = !0, V.value = t, Zt(t), [null, void 0].includes(a) || (Q.value = a));
364
+ 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, f.value = null, he.value = !0, V.value = t, ll(t), [null, void 0].includes(a) || (Q.value = a));
365
365
  }
366
- const Le = y(() => R.value.map((t, a) => ({
366
+ const Ae = y(() => N.value.map((t, a) => ({
367
367
  name: t.name,
368
368
  value: t.values.slice(h.value.start, h.value.end).reduce((l, s) => l + s, 0),
369
369
  shape: "circle",
@@ -371,25 +371,25 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
371
371
  color: t.color
372
372
  })).sort((t, a) => a.value - t.value).map((t, a) => ({
373
373
  ...t,
374
- opacity: C.value.includes(t.uid) ? 0.5 : 1,
375
- segregate: () => Ae(t.uid),
376
- isSegregated: C.value.includes(t.uid),
374
+ opacity: k.value.includes(t.uid) ? 0.5 : 1,
375
+ segregate: () => J(t.uid),
376
+ isSegregated: k.value.includes(t.uid),
377
377
  display: `${t.name}${e.value.style.chart.legend.showPercentage || e.value.style.chart.legend.showValue ? ": " : ""}${e.value.style.chart.legend.showValue ? Ne(
378
378
  e.value.style.chart.layout.dataLabels.formatter,
379
379
  t.value,
380
- ve({
380
+ de({
381
381
  p: e.value.style.chart.layout.dataLabels.prefix,
382
382
  v: t.value,
383
383
  s: e.value.style.chart.layout.dataLabels.suffix,
384
384
  r: e.value.style.chart.legend.roundingValue
385
385
  }),
386
386
  { datapoint: t, seriesIndex: a }
387
- ) : ""}${e.value.style.chart.legend.showPercentage ? C.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 / ct.value) ? "-" : ve({
387
+ ) : ""}${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 / ct.value) ? "-" : de({
388
388
  v: t.value / ct.value * 100,
389
389
  s: "%",
390
390
  r: e.value.style.chart.legend.roundingPercentage
391
391
  })}${e.value.style.chart.legend.showValue ? ")" : ""}` : ""}`
392
- }))), ct = y(() => L.value.map((t) => t.subtotal).reduce((t, a) => t + a, 0)), Jt = y(() => ({
392
+ }))), ct = y(() => L.value.map((t) => t.subtotal).reduce((t, a) => t + a, 0)), Kt = y(() => ({
393
393
  cy: "donut-div-legend",
394
394
  backgroundColor: e.value.style.chart.legend.backgroundColor,
395
395
  color: e.value.style.chart.legend.color,
@@ -397,24 +397,38 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
397
397
  paddingBottom: 12,
398
398
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
399
399
  }));
400
- function Ae(t) {
401
- if (C.value.includes(t))
402
- C.value = C.value.filter((a) => a !== t), je("selectLegend", null);
400
+ function J(t) {
401
+ if (k.value.includes(t))
402
+ k.value = k.value.filter((a) => a !== t), je("selectLegend", H.value);
403
403
  else {
404
- if (C.value.length === R.value.length - 1) return;
405
- C.value.push(t), je("selectLegend", R.value.find((a) => a.uid === t));
404
+ if (k.value.length === N.value.length - 1) return;
405
+ k.value.push(t), je("selectLegend", H.value);
406
406
  }
407
407
  V.value && it(L.value.find((a, l) => l === Q.value));
408
408
  }
409
- const W = y(() => {
410
- const t = [""].concat(R.value.filter((o) => !C.value.includes(o.uid)).map((o) => ({
409
+ function vt(t) {
410
+ if (!N.value.length)
411
+ return e.value.debug && console.warn("VueUiDonutEvolution - There are no series to show."), null;
412
+ const a = N.value.find((l) => l.name === t);
413
+ return a || (e.value.debug && console.warn(`VueUiDonutEvolution - Series name not found "${t}"`), null);
414
+ }
415
+ function Zt(t) {
416
+ const a = vt(t);
417
+ a !== null && k.value.includes(a.uid) && J(a.uid);
418
+ }
419
+ function el(t) {
420
+ const a = vt(t);
421
+ a !== null && (k.value.includes(a.uid) || J(a.uid));
422
+ }
423
+ const G = y(() => {
424
+ const t = [""].concat(N.value.filter((o) => !k.value.includes(o.uid)).map((o) => ({
411
425
  name: o.name,
412
426
  color: o.color
413
427
  }))).concat(["Σ"]);
414
428
  let a = [];
415
429
  for (let o = 0; o < I.value; o += 1) {
416
- const g = R.value.filter((d) => !C.value.includes(d.uid)).map((d) => d.values[o] ?? 0).reduce((d, p) => d + p, 0);
417
- a.push([_.value[o] ? _.value[o].text : "-"].concat(R.value.filter((d) => !C.value.includes(d.uid)).map((d) => ({
430
+ const g = N.value.filter((d) => !k.value.includes(d.uid)).map((d) => d.values[o] ?? 0).reduce((d, p) => d + p, 0);
431
+ a.push([_.value[o] ? _.value[o].text : "-"].concat(N.value.filter((d) => !k.value.includes(d.uid)).map((d) => ({
418
432
  value: d.values[o] ?? 0,
419
433
  percentage: d.values[o] ? d.values[o] / g * 100 : 0
420
434
  }))).concat([`${e.value.style.chart.layout.dataLabels.prefix}${Number(g.toFixed(e.value.table.td.roundingValue))}${e.value.style.chart.layout.dataLabels.suffix}`]));
@@ -433,47 +447,47 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
433
447
  breakpoint: e.value.table.responsiveBreakpoint
434
448
  }, s = [
435
449
  e.value.table.columnNames.period
436
- ].concat(R.value.filter((o) => !C.value.includes(o.uid)).map((o) => o.name)).concat(e.value.table.columnNames.total);
450
+ ].concat(N.value.filter((o) => !k.value.includes(o.uid)).map((o) => o.name)).concat(e.value.table.columnNames.total);
437
451
  return { head: t, body: a, config: l, colNames: s };
438
452
  });
439
- function Kt() {
440
- return R.value;
453
+ function tl() {
454
+ return N.value;
441
455
  }
442
456
  function Se(t = null) {
443
457
  Ie(() => {
444
- const a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], l = [...W.value.head.map((d) => d.name ?? d)], s = [...W.value.body.map((d) => d.map((p) => p.value ?? p))], o = a.concat([l]).concat(s), g = Al(o);
445
- t ? t(g) : Sl({ csvContent: g, title: e.value.style.chart.title.text || "vue-ui-donut-evolution" });
458
+ const a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], l = [...G.value.head.map((d) => d.name ?? d)], s = [...G.value.body.map((d) => d.map((p) => p.value ?? p))], o = a.concat([l]).concat(s), g = zl(o);
459
+ t ? t(g) : Il({ csvContent: g, title: e.value.style.chart.title.text || "vue-ui-donut-evolution" });
446
460
  });
447
461
  }
448
- const H = i(!1);
449
- function vt(t) {
450
- H.value = t, Re.value += 1;
462
+ const U = i(!1);
463
+ function dt(t) {
464
+ U.value = t, Re.value += 1;
451
465
  }
452
- function dt() {
466
+ function ht() {
453
467
  B.value.showTable = !B.value.showTable;
454
468
  }
455
- const ne = i(!1);
469
+ const re = i(!1);
456
470
  function $e() {
457
- ne.value = !ne.value;
471
+ re.value = !re.value;
458
472
  }
459
- function ht(t) {
473
+ function yt(t) {
460
474
  return t.proportion * 100 > e.value.style.chart.donuts.hover.hideLabelsUnderValue;
461
475
  }
462
- const yt = i([]), gt = i({}), ze = i(null);
463
- function Zt(t) {
464
- yt.value = t.donut.map((a) => ({
476
+ const gt = i([]), ft = i({}), ze = i(null);
477
+ function ll(t) {
478
+ gt.value = t.donut.map((a) => ({
465
479
  name: a.name,
466
480
  values: [a.value],
467
481
  color: a.color
468
- })), gt.value = $l({
482
+ })), ft.value = Tl({
469
483
  ...e.value.style.chart.dialog.donutChart,
470
484
  responsive: !0,
471
485
  theme: e.value.theme
472
486
  }), ze.value && ze.value.open();
473
487
  }
474
- async function el({ scale: t = 2 } = {}) {
475
- if (!P.value) return;
476
- const { width: a, height: l } = P.value.getBoundingClientRect(), s = a / l, { imageUri: o, base64: g } = await Vl({ domElement: P.value, base64: !0, img: !0, scale: t });
488
+ async function al({ scale: t = 2 } = {}) {
489
+ if (!R.value) return;
490
+ const { width: a, height: l } = R.value.getBoundingClientRect(), s = a / l, { imageUri: o, base64: g } = await Hl({ domElement: R.value, base64: !0, img: !0, scale: t });
477
491
  return {
478
492
  imageUri: o,
479
493
  base64: g,
@@ -483,31 +497,31 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
483
497
  aspectRatio: s
484
498
  };
485
499
  }
486
- const tl = y(() => U.value.width), ll = y(() => U.value.height);
487
- El({
488
- timeLabelsEls: ae,
500
+ const ol = y(() => X.value.width), ul = y(() => X.value.height);
501
+ Ml({
502
+ timeLabelsEls: oe,
489
503
  timeLabels: _,
490
504
  slicer: h,
491
505
  configRef: e,
492
506
  rotationPath: ["style", "chart", "layout", "grid", "xAxis", "dataLabels", "rotation"],
493
507
  autoRotatePath: ["style", "chart", "layout", "grid", "xAxis", "dataLabels", "autoRotate", "enable"],
494
508
  isAutoSize: !1,
495
- width: tl,
496
- height: ll,
509
+ width: ol,
510
+ height: ul,
497
511
  rotation: e.value.style.chart.layout.grid.xAxis.dataLabels.autoRotate.angle
498
512
  });
499
- const J = y(() => {
513
+ const K = y(() => {
500
514
  const t = e.value.table.useDialog && !e.value.table.show, a = B.value.showTable;
501
515
  return {
502
- component: t ? Pe : Dt,
516
+ component: t ? Pe : Nt,
503
517
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
504
518
  props: t ? {
505
519
  backgroundColor: e.value.table.th.backgroundColor,
506
520
  color: e.value.table.th.color,
507
521
  headerColor: e.value.table.th.color,
508
522
  headerBg: e.value.table.th.backgroundColor,
509
- isFullscreen: H.value,
510
- fullscreenParent: P.value,
523
+ isFullscreen: U.value,
524
+ fullscreenParent: R.value,
511
525
  forcedWidth: Math.min(800, window.innerWidth * 0.8)
512
526
  } : {
513
527
  hideDetails: !0,
@@ -526,60 +540,62 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
526
540
  }
527
541
  };
528
542
  });
529
- re(() => B.value.showTable, (t) => {
530
- e.value.table.show || (t && e.value.table.useDialog && Y.value ? Y.value.open() : "close" in Y.value && Y.value.close());
543
+ ie(() => B.value.showTable, (t) => {
544
+ e.value.table.show || (t && e.value.table.useDialog && j.value ? j.value.open() : "close" in j.value && j.value.close());
531
545
  });
532
- function ft() {
533
- B.value.showTable = !1, fe.value && fe.value.setTableIconState(!1);
546
+ function bt() {
547
+ B.value.showTable = !1, be.value && be.value.setTableIconState(!1);
534
548
  }
535
- const al = y(() => Le.value.map((t) => ({
549
+ const sl = y(() => Ae.value.map((t) => ({
536
550
  ...t,
537
551
  name: t.display
538
- }))), ol = y(() => e.value.style.chart.backgroundColor), ul = y(() => e.value.style.chart.legend), sl = y(() => e.value.style.chart.title), { exportSvg: nl, getSvg: rl } = Nl({
539
- svg: ke,
540
- title: sl,
541
- legend: ul,
542
- legendItems: al,
543
- backgroundColor: ol
552
+ }))), nl = y(() => e.value.style.chart.backgroundColor), rl = y(() => e.value.style.chart.legend), il = y(() => e.value.style.chart.title), { exportSvg: cl, getSvg: vl } = El({
553
+ svg: we,
554
+ title: il,
555
+ legend: rl,
556
+ legendItems: sl,
557
+ backgroundColor: nl
544
558
  });
545
- async function bt({ isCb: t }) {
559
+ async function mt({ isCb: t }) {
546
560
  if (t) {
547
- const { blob: a, url: l, text: s, dataUrl: o } = await rl();
561
+ const { blob: a, url: l, text: s, dataUrl: o } = await vl();
548
562
  e.value.userOptions.callbacks.svg({ blob: a, url: l, text: s, dataUrl: o });
549
563
  } else
550
- nl();
564
+ cl();
551
565
  }
552
- return Ot({
553
- getData: Kt,
554
- getImage: el,
566
+ return Dt({
567
+ getData: tl,
568
+ getImage: al,
555
569
  generatePdf: ot,
556
570
  generateCsv: Se,
557
571
  generateImage: ut,
558
- generateSvg: bt,
559
- toggleTable: dt,
572
+ generateSvg: mt,
573
+ hideSeries: el,
574
+ showSeries: Zt,
575
+ toggleTable: ht,
560
576
  toggleAnnotator: $e,
561
- toggleFullscreen: vt
577
+ toggleFullscreen: dt
562
578
  }), (t, a) => (u(), n("div", {
563
579
  ref_key: "donutEvolutionChart",
564
- ref: P,
565
- class: N(`vue-data-ui-component vue-ui-donut-evolution ${H.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
566
- style: K(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
567
- id: D.value,
580
+ ref: R,
581
+ class: P(`vue-data-ui-component vue-ui-donut-evolution ${U.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
582
+ style: Z(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
583
+ id: O.value,
568
584
  onMouseenter: a[5] || (a[5] = () => c(et)(!0)),
569
585
  onMouseleave: a[6] || (a[6] = () => c(et)(!1))
570
586
  }, [
571
- e.value.userOptions.buttons.annotator ? (u(), T(c(Ft), {
587
+ e.value.userOptions.buttons.annotator ? (u(), D(c(Ft), {
572
588
  key: 0,
573
- svgRef: c(ke),
589
+ svgRef: c(we),
574
590
  backgroundColor: e.value.style.chart.backgroundColor,
575
591
  color: e.value.style.chart.color,
576
- active: ne.value,
592
+ active: re.value,
577
593
  onClose: $e
578
594
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : v("", !0),
579
- Ut.value ? (u(), n("div", {
595
+ Xt.value ? (u(), n("div", {
580
596
  key: 1,
581
597
  ref_key: "noTitle",
582
- ref: Mt,
598
+ ref: Ht,
583
599
  class: "vue-data-ui-no-title-space",
584
600
  style: "height:36px; width: 100%;background:transparent"
585
601
  }, null, 512)) : v("", !0),
@@ -590,8 +606,8 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
590
606
  style: "width:100%;background:transparent;padding-bottom:24px",
591
607
  onMouseleave: rt
592
608
  }, [
593
- (u(), T(Bl, {
594
- key: `title_${Ee.value}`,
609
+ (u(), D(Ul, {
610
+ key: `title_${Fe.value}`,
595
611
  config: {
596
612
  title: {
597
613
  cy: "donut-evolution-div-title",
@@ -605,47 +621,47 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
605
621
  }, null, 8, ["config"]))
606
622
  ], 544)) : v("", !0),
607
623
  b("div", {
608
- id: `legend-top-${D.value}`
609
- }, null, 8, Gl),
610
- e.value.userOptions.show && qe.value && (c(tt) || c(xe)) ? (u(), T(c(Et), {
624
+ id: `legend-top-${O.value}`
625
+ }, null, 8, ql),
626
+ e.value.userOptions.show && qe.value && (c(tt) || c(ke)) ? (u(), D(c(Vt), {
611
627
  ref_key: "userOptionsRef",
612
- ref: fe,
628
+ ref: be,
613
629
  key: `user_options_${Re.value}`,
614
630
  backgroundColor: e.value.style.chart.backgroundColor,
615
631
  color: e.value.style.chart.color,
616
632
  isPrinting: c(lt),
617
633
  isImaging: c(at),
618
- uid: D.value,
634
+ uid: O.value,
619
635
  hasPdf: e.value.userOptions.buttons.pdf,
620
636
  hasImg: e.value.userOptions.buttons.img,
621
637
  hasSvg: e.value.userOptions.buttons.svg,
622
638
  hasXls: e.value.userOptions.buttons.csv,
623
639
  hasTable: e.value.userOptions.buttons.table,
624
640
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
625
- isFullscreen: H.value,
641
+ isFullscreen: U.value,
626
642
  titles: { ...e.value.userOptions.buttonTitles },
627
- chartElement: P.value,
643
+ chartElement: R.value,
628
644
  position: e.value.userOptions.position,
629
645
  hasAnnotator: e.value.userOptions.buttons.annotator,
630
- isAnnotation: ne.value,
646
+ isAnnotation: re.value,
631
647
  callbacks: e.value.userOptions.callbacks,
632
648
  printScale: e.value.userOptions.print.scale,
633
649
  tableDialog: e.value.table.useDialog,
634
- onToggleFullscreen: vt,
650
+ onToggleFullscreen: dt,
635
651
  onGeneratePdf: c(ot),
636
652
  onGenerateCsv: Se,
637
653
  onGenerateImage: c(ut),
638
- onGenerateSvg: bt,
639
- onToggleTable: dt,
654
+ onGenerateSvg: mt,
655
+ onToggleTable: ht,
640
656
  onToggleAnnotator: $e,
641
- style: K({
642
- visibility: c(tt) ? c(xe) ? "visible" : "hidden" : "visible"
657
+ style: Z({
658
+ visibility: c(tt) ? c(ke) ? "visible" : "hidden" : "visible"
643
659
  })
644
- }, xt({ _: 2 }, [
660
+ }, kt({ _: 2 }, [
645
661
  t.$slots.menuIcon ? {
646
662
  name: "menuIcon",
647
663
  fn: x(({ isOpen: l, color: s }) => [
648
- A(t.$slots, "menuIcon", Z(ee({ isOpen: l, color: s })), void 0, !0)
664
+ A(t.$slots, "menuIcon", ee(te({ isOpen: l, color: s })), void 0, !0)
649
665
  ]),
650
666
  key: "0"
651
667
  } : void 0,
@@ -687,27 +703,27 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
687
703
  t.$slots.optionFullscreen ? {
688
704
  name: "optionFullscreen",
689
705
  fn: x(({ toggleFullscreen: l, isFullscreen: s }) => [
690
- A(t.$slots, "optionFullscreen", Z(ee({ toggleFullscreen: l, isFullscreen: s })), void 0, !0)
706
+ A(t.$slots, "optionFullscreen", ee(te({ toggleFullscreen: l, isFullscreen: s })), void 0, !0)
691
707
  ]),
692
708
  key: "6"
693
709
  } : void 0,
694
710
  t.$slots.optionAnnotator ? {
695
711
  name: "optionAnnotator",
696
712
  fn: x(({ toggleAnnotator: l, isAnnotator: s }) => [
697
- A(t.$slots, "optionAnnotator", Z(ee({ toggleAnnotator: l, isAnnotator: s })), void 0, !0)
713
+ A(t.$slots, "optionAnnotator", ee(te({ toggleAnnotator: l, isAnnotator: s })), void 0, !0)
698
714
  ]),
699
715
  key: "7"
700
716
  } : void 0
701
717
  ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasSvg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : v("", !0),
702
718
  (u(), n("svg", {
703
719
  ref_key: "svgRef",
704
- ref: ke,
705
- xmlns: c(kl),
706
- class: N({ "vue-data-ui-fullscreen--on": H.value, "vue-data-ui-fulscreen--off": !H.value }),
720
+ ref: we,
721
+ xmlns: c(_l),
722
+ class: P({ "vue-data-ui-fullscreen--on": U.value, "vue-data-ui-fulscreen--off": !U.value }),
707
723
  viewBox: `0 0 ${r.value.absoluteWidth} ${r.value.absoluteHeight}`,
708
- style: K(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color};`)
724
+ style: Z(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color};`)
709
725
  }, [
710
- kt(c(Rt)),
726
+ wt(c(Et)),
711
727
  t.$slots["chart-background"] ? (u(), n("foreignObject", {
712
728
  key: 0,
713
729
  x: r.value.left,
@@ -719,10 +735,10 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
719
735
  }
720
736
  }, [
721
737
  A(t.$slots, "chart-background", {}, void 0, !0)
722
- ], 8, jl)) : v("", !0),
738
+ ], 8, Jl)) : v("", !0),
723
739
  b("defs", null, [
724
740
  b("linearGradient", {
725
- id: `hover_${D.value}`,
741
+ id: `hover_${O.value}`,
726
742
  x1: "0%",
727
743
  y1: "0%",
728
744
  x2: "0%",
@@ -730,31 +746,31 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
730
746
  }, [
731
747
  b("stop", {
732
748
  offset: "0%",
733
- "stop-color": c(te)(e.value.style.chart.backgroundColor, e.value.style.chart.layout.highlighter.opacity)
734
- }, null, 8, Ql),
749
+ "stop-color": c(le)(e.value.style.chart.backgroundColor, e.value.style.chart.layout.highlighter.opacity)
750
+ }, null, 8, Zl),
735
751
  b("stop", {
736
752
  offset: "100%",
737
- "stop-color": c(te)(e.value.style.chart.layout.highlighter.color, e.value.style.chart.layout.highlighter.opacity)
738
- }, null, 8, Jl)
739
- ], 8, ql),
753
+ "stop-color": c(le)(e.value.style.chart.layout.highlighter.color, e.value.style.chart.layout.highlighter.opacity)
754
+ }, null, 8, ea)
755
+ ], 8, Kl),
740
756
  b("radialGradient", {
741
- id: `focus_${D.value}`
757
+ id: `focus_${O.value}`
742
758
  }, [
743
759
  b("stop", {
744
760
  offset: "0%",
745
- "stop-color": c(te)(c(Te)(e.value.style.chart.backgroundColor), 0)
746
- }, null, 8, Zl),
761
+ "stop-color": c(le)(c(De)(e.value.style.chart.backgroundColor), 0)
762
+ }, null, 8, la),
747
763
  b("stop", {
748
764
  offset: "77%",
749
- "stop-color": c(te)("#FFFFFF", 30)
750
- }, null, 8, ea),
765
+ "stop-color": c(le)("#FFFFFF", 30)
766
+ }, null, 8, aa),
751
767
  b("stop", {
752
768
  offset: "100%",
753
- "stop-color": c(te)(c(Te)(e.value.style.chart.backgroundColor), 0)
754
- }, null, 8, ta)
755
- ], 8, Kl)
769
+ "stop-color": c(le)(c(De)(e.value.style.chart.backgroundColor), 0)
770
+ }, null, 8, oa)
771
+ ], 8, ta)
756
772
  ]),
757
- e.value.style.chart.layout.grid.show ? (u(), n("g", la, [
773
+ e.value.style.chart.layout.grid.show ? (u(), n("g", ua, [
758
774
  b("line", {
759
775
  x1: r.value.left,
760
776
  x2: r.value.left,
@@ -763,7 +779,7 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
763
779
  stroke: e.value.style.chart.layout.grid.stroke,
764
780
  "stroke-width": e.value.style.chart.layout.grid.strokeWidth,
765
781
  "stroke-linecap": "round"
766
- }, null, 8, aa),
782
+ }, null, 8, sa),
767
783
  b("line", {
768
784
  x1: r.value.left,
769
785
  x2: r.value.right,
@@ -772,49 +788,49 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
772
788
  stroke: e.value.style.chart.layout.grid.stroke,
773
789
  "stroke-width": e.value.style.chart.layout.grid.strokeWidth,
774
790
  "stroke-linecap": "round"
775
- }, null, 8, oa),
776
- e.value.style.chart.layout.grid.showVerticalLines ? (u(), n("g", ua, [
791
+ }, null, 8, na),
792
+ e.value.style.chart.layout.grid.showVerticalLines ? (u(), n("g", ra, [
777
793
  (u(!0), n($, null, z(h.value.end - h.value.start, (l, s) => (u(), n("line", {
778
- x1: r.value.left + (s + 1) * w.value,
779
- x2: r.value.left + (s + 1) * w.value,
794
+ x1: r.value.left + (s + 1) * C.value,
795
+ x2: r.value.left + (s + 1) * C.value,
780
796
  y1: r.value.top,
781
797
  y2: r.value.bottom,
782
798
  stroke: e.value.style.chart.layout.grid.stroke,
783
799
  "stroke-width": e.value.style.chart.layout.grid.strokeWidth,
784
800
  "stroke-linecap": "round"
785
- }, null, 8, sa))), 256))
801
+ }, null, 8, ia))), 256))
786
802
  ])) : v("", !0)
787
803
  ])) : v("", !0),
788
804
  b("g", null, [
789
805
  e.value.style.chart.layout.grid.axis.yLabel ? (u(), n("text", {
790
806
  key: 0,
791
807
  ref_key: "yAxisLabel",
792
- ref: ge,
808
+ ref: fe,
793
809
  "font-size": e.value.style.chart.layout.grid.axis.fontSize,
794
810
  fill: e.value.style.chart.layout.grid.axis.color,
795
811
  transform: `translate(${e.value.style.chart.layout.grid.axis.fontSize}, ${r.value.top + r.value.height / 2}) rotate(-90)`,
796
812
  "text-anchor": "middle",
797
813
  style: { transition: "none" }
798
- }, k(e.value.style.chart.layout.grid.axis.yLabel), 9, na)) : v("", !0),
814
+ }, w(e.value.style.chart.layout.grid.axis.yLabel), 9, ca)) : v("", !0),
799
815
  e.value.style.chart.layout.grid.axis.xLabel ? (u(), n("text", {
800
816
  key: 1,
801
817
  ref_key: "xAxisLabel",
802
- ref: ye,
818
+ ref: ge,
803
819
  "text-anchor": "middle",
804
820
  x: r.value.absoluteWidth / 2,
805
821
  y: r.value.absoluteHeight - 3,
806
822
  "font-size": e.value.style.chart.layout.grid.axis.fontSize,
807
823
  fill: e.value.style.chart.layout.grid.axis.color
808
- }, k(e.value.style.chart.layout.grid.axis.xLabel), 9, ra)) : v("", !0)
824
+ }, w(e.value.style.chart.layout.grid.axis.xLabel), 9, va)) : v("", !0)
809
825
  ]),
810
826
  e.value.style.chart.layout.grid.yAxis.dataLabels.show ? (u(), n("g", {
811
827
  key: 2,
812
828
  ref_key: "scaleLabels",
813
- ref: he,
814
- class: N({ "donut-opacity": !0, "donut-behind": f.value !== null })
829
+ ref: ye,
830
+ class: P({ "donut-opacity": !0, "donut-behind": f.value !== null })
815
831
  }, [
816
- (u(!0), n($, null, z(jt.value, (l, s) => (u(), n("g", null, [
817
- l.value >= X.value.min && l.value <= X.value.max ? (u(), n("line", {
832
+ (u(!0), n($, null, z(qt.value, (l, s) => (u(), n("g", null, [
833
+ l.value >= W.value.min && l.value <= W.value.max ? (u(), n("line", {
818
834
  key: 0,
819
835
  x1: r.value.left,
820
836
  x2: r.value.left - 5,
@@ -822,8 +838,8 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
822
838
  y2: l.y,
823
839
  stroke: e.value.style.chart.layout.grid.stroke,
824
840
  "stroke-width": e.value.style.chart.layout.grid.strokeWidth
825
- }, null, 8, ia)) : v("", !0),
826
- l.value >= X.value.min && l.value <= X.value.max ? (u(), n("text", {
841
+ }, null, 8, da)) : v("", !0),
842
+ l.value >= W.value.min && l.value <= W.value.max ? (u(), n("text", {
827
843
  key: 1,
828
844
  x: r.value.left,
829
845
  y: l.y + e.value.style.chart.layout.grid.yAxis.dataLabels.fontSize / 3,
@@ -831,27 +847,27 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
831
847
  "text-anchor": "end",
832
848
  fill: e.value.style.chart.layout.grid.yAxis.dataLabels.color,
833
849
  "font-weight": e.value.style.chart.layout.grid.yAxis.dataLabels.bold ? "bold" : "normal"
834
- }, k(c(wl)(l.value) ? c(Ne)(
850
+ }, w(c(Ll)(l.value) ? c(Ne)(
835
851
  e.value.style.chart.layout.dataLabels.formatter,
836
852
  l.value,
837
- c(ve)({
853
+ c(de)({
838
854
  p: e.value.style.chart.layout.dataLabels.prefix,
839
855
  v: l.value,
840
856
  s: e.value.style.chart.layout.dataLabels.suffix,
841
857
  r: e.value.style.chart.layout.grid.yAxis.dataLabels.roundingValue
842
858
  }),
843
859
  { datapoint: l, seriesIndex: s }
844
- ) : ""), 9, ca)) : v("", !0)
860
+ ) : ""), 9, ha)) : v("", !0)
845
861
  ]))), 256))
846
862
  ], 2)) : v("", !0),
847
863
  e.value.style.chart.layout.grid.xAxis.dataLabels.show ? (u(), n("g", {
848
864
  key: 3,
849
865
  ref_key: "timeLabelsEls",
850
- ref: ae,
851
- class: N({ "donut-opacity": !0 })
866
+ ref: oe,
867
+ class: P({ "donut-opacity": !0 })
852
868
  }, [
853
869
  (u(!0), n($, null, z(h.value.end - h.value.start, (l, s) => (u(), n("g", null, [
854
- (e.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast && (s === 0 || s === I.value - 1) || !e.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast) && _.value[s] && _.value[s].text ? (u(), n("g", va, [
870
+ (e.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast && (s === 0 || s === I.value - 1) || !e.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast) && _.value[s] && _.value[s].text ? (u(), n("g", ya, [
855
871
  String(_.value[s].text).includes(`
856
872
  `) ? (u(), n("text", {
857
873
  key: 1,
@@ -859,29 +875,29 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
859
875
  "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",
860
876
  "font-size": e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize,
861
877
  fill: e.value.style.chart.layout.grid.xAxis.dataLabels.color,
862
- 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})`,
863
- innerHTML: c(Cl)({
878
+ transform: `translate(${r.value.left + C.value * s + C.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})`,
879
+ innerHTML: c(Al)({
864
880
  content: String(_.value[s].text),
865
881
  fontSize: e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize,
866
882
  fill: e.value.style.chart.layout.grid.xAxis.dataLabels.color,
867
883
  x: 0,
868
884
  y: 0
869
885
  })
870
- }, null, 8, ha)) : (u(), n("text", {
886
+ }, null, 8, fa)) : (u(), n("text", {
871
887
  key: 0,
872
888
  class: "vue-data-ui-time-label",
873
889
  "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",
874
890
  "font-size": e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize,
875
891
  fill: e.value.style.chart.layout.grid.xAxis.dataLabels.color,
876
- 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})`
877
- }, k(_.value[s].text || ""), 9, da))
892
+ transform: `translate(${r.value.left + C.value * s + C.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})`
893
+ }, w(_.value[s].text || ""), 9, ga))
878
894
  ])) : v("", !0)
879
895
  ]))), 256))
880
896
  ], 512)) : v("", !0),
881
897
  (u(!0), n($, null, z(L.value, (l, s) => (u(), n("g", null, [
882
898
  e.value.style.chart.layout.line.show && s < L.value.length - 1 && ![l.subtotal, L.value[s + 1].subtotal].includes(null) ? (u(), n("line", {
883
899
  key: 0,
884
- class: N({ "donut-opacity": !0, "donut-behind": f.value !== null }),
900
+ class: P({ "donut-opacity": !0, "donut-behind": f.value !== null }),
885
901
  x1: l.x,
886
902
  y1: l.y,
887
903
  x2: L.value[s + 1].x,
@@ -890,44 +906,44 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
890
906
  "stroke-width": e.value.style.chart.layout.line.strokeWidth,
891
907
  "stroke-linecap": "round",
892
908
  "stroke-linejoin": "round"
893
- }, null, 10, ya)) : v("", !0),
894
- l.subtotal !== null ? (u(), n("g", ga, [
909
+ }, null, 10, ba)) : v("", !0),
910
+ l.subtotal !== null ? (u(), n("g", ma, [
895
911
  l.subtotal ? (u(), n("circle", {
896
912
  key: 0,
897
913
  cx: l.x,
898
914
  cy: l.y,
899
915
  r: l.activeRadius,
900
916
  fill: e.value.style.chart.backgroundColor
901
- }, null, 8, fa)) : v("", !0)
917
+ }, null, 8, pa)) : v("", !0)
902
918
  ])) : v("", !0)
903
919
  ]))), 256)),
904
920
  (u(!0), n($, null, z(L.value, (l, s) => (u(), n("g", {
905
- class: N({ "donut-opacity": !0, "donut-behind": s !== f.value && f.value !== null })
921
+ class: P({ "donut-opacity": !0, "donut-behind": s !== f.value && f.value !== null })
906
922
  }, [
907
- l.subtotal ? (u(), n("g", ba, [
908
- f.value !== null && f.value === s ? (u(), n("g", ma, [
923
+ l.subtotal ? (u(), n("g", xa, [
924
+ f.value !== null && f.value === s ? (u(), n("g", ka, [
909
925
  (u(!0), n($, null, z(l.donutHover, (o) => (u(), n("g", null, [
910
- ht(o) ? (u(), n("path", {
926
+ yt(o) ? (u(), n("path", {
911
927
  key: 0,
912
- d: c(_l)(o, { x: o.center.endX, y: o.center.endY }, 12, 12, { x: l.x, y: l.y }, !1, 20),
928
+ d: c(Sl)(o, { x: o.center.endX, y: o.center.endY }, 12, 12, { x: l.x, y: l.y }, !1, 20),
913
929
  stroke: o.color,
914
930
  "stroke-width": "1",
915
931
  "stroke-linecap": "round",
916
932
  "stroke-linejoin": "round",
917
933
  fill: "none"
918
- }, null, 8, pa)) : v("", !0)
934
+ }, null, 8, wa)) : v("", !0)
919
935
  ]))), 256)),
920
936
  (u(!0), n($, null, z(l.donutHover, (o, g) => (u(), n("g", null, [
921
- ht(o) ? (u(), n("text", {
937
+ yt(o) ? (u(), n("text", {
922
938
  key: 0,
923
939
  "data-cy-hover-label": "",
924
- "text-anchor": c(At)(o, !0, 0).anchor,
925
- x: c(At)(o, !0, 9).x,
926
- y: c(Ll)(o, 14, 10),
940
+ "text-anchor": c(St)(o, !0, 0).anchor,
941
+ x: c(St)(o, !0, 9).x,
942
+ y: c($l)(o, 14, 10),
927
943
  fill: e.value.style.chart.layout.grid.yAxis.dataLabels.color,
928
944
  "font-size": 8,
929
945
  "font-weight": "bold"
930
- }, k(o.name) + ": " + k(qt(o, l.donut)) + " (" + k(o.value === null ? "-" : nt(o.value, o, g)) + ") ", 9, xa)) : v("", !0)
946
+ }, w(o.name) + ": " + w(Qt(o, l.donut)) + " (" + w(o.value === null ? "-" : nt(o.value, o, g)) + ") ", 9, Ca)) : v("", !0)
931
947
  ]))), 256)),
932
948
  b("g", null, [
933
949
  b("circle", {
@@ -935,40 +951,40 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
935
951
  cy: l.y,
936
952
  r: l.hoverRadius,
937
953
  fill: e.value.style.chart.backgroundColor
938
- }, null, 8, ka)
954
+ }, null, 8, _a)
939
955
  ])
940
956
  ])) : v("", !0)
941
957
  ])) : v("", !0)
942
958
  ], 2))), 256)),
943
959
  (u(!0), n($, null, z(L.value, (l, s) => (u(), n("g", {
944
- class: N({ "donut-opacity": !0, "donut-behind": s !== f.value && f.value !== null })
960
+ class: P({ "donut-opacity": !0, "donut-behind": s !== f.value && f.value !== null })
945
961
  }, [
946
- l.subtotal !== null ? (u(), n("g", wa, [
962
+ l.subtotal !== null ? (u(), n("g", La, [
947
963
  l.subtotal === 0 ? (u(), n("circle", {
948
964
  key: 0,
949
965
  cx: l.x,
950
966
  cy: l.y,
951
967
  r: 3,
952
968
  fill: e.value.style.chart.color
953
- }, null, 8, Ca)) : f.value !== null && f.value === s ? (u(), n("g", _a, [
969
+ }, null, 8, Aa)) : f.value !== null && f.value === s ? (u(), n("g", Sa, [
954
970
  (u(!0), n($, null, z(l.donutHover, (o, g) => (u(), n("path", {
955
971
  d: o.arcSlice,
956
972
  fill: `${o.color}`,
957
973
  "stroke-width": 1,
958
974
  stroke: e.value.style.chart.backgroundColor
959
- }, null, 8, La))), 256))
960
- ])) : (u(), n("g", Aa, [
975
+ }, null, 8, $a))), 256))
976
+ ])) : (u(), n("g", za, [
961
977
  (u(!0), n($, null, z(l.donut, (o, g) => (u(), n("path", {
962
978
  d: o.arcSlice,
963
979
  fill: `${o.color}`,
964
980
  "stroke-width": 0.5,
965
981
  stroke: e.value.style.chart.backgroundColor
966
- }, null, 8, Sa))), 256))
982
+ }, null, 8, Ia))), 256))
967
983
  ]))
968
984
  ])) : v("", !0)
969
985
  ], 2))), 256)),
970
986
  (u(!0), n($, null, z(L.value, (l, s) => (u(), n("g", {
971
- class: N({ "donut-opacity": !0, "donut-behind": s !== f.value && f.value !== null || de.value && s !== V.value.index })
987
+ class: P({ "donut-opacity": !0, "donut-behind": s !== f.value && f.value !== null || he.value && s !== V.value.index })
972
988
  }, [
973
989
  l.subtotal !== null && e.value.style.chart.layout.dataLabels.show ? (u(), n("text", {
974
990
  key: 0,
@@ -978,46 +994,46 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
978
994
  "font-size": e.value.style.chart.layout.dataLabels.fontSize,
979
995
  "font-weight": "bold",
980
996
  fill: e.value.style.chart.layout.dataLabels.color
981
- }, k(nt(l.subtotal, l, s)), 9, $a)) : v("", !0)
997
+ }, w(nt(l.subtotal, l, s)), 9, Ta)) : v("", !0)
982
998
  ], 2))), 256)),
983
999
  (u(!0), n($, null, z(L.value, (l, s) => (u(), n("rect", {
984
- x: r.value.left + s * w.value,
1000
+ x: r.value.left + s * C.value,
985
1001
  y: r.value.top,
986
- width: w.value,
1002
+ width: C.value,
987
1003
  height: r.value.height,
988
- fill: [f.value, Q.value].includes(l.index) ? `url(#hover_${D.value})` : "transparent",
989
- class: N({ "donut-hover": l.subtotal && [f.value, Q.value].includes(l.index) }),
1004
+ fill: [f.value, Q.value].includes(l.index) ? `url(#hover_${O.value})` : "transparent",
1005
+ class: P({ "donut-hover": l.subtotal && [f.value, Q.value].includes(l.index) }),
990
1006
  style: {
991
1007
  pointerEvents: "none"
992
1008
  }
993
- }, null, 10, za))), 256)),
1009
+ }, null, 10, Da))), 256)),
994
1010
  (u(!0), n($, null, z(L.value, (l, s) => (u(), n("rect", {
995
1011
  "data-cy-trap": "",
996
- x: r.value.left + s * w.value,
1012
+ x: r.value.left + s * C.value,
997
1013
  y: r.value.top,
998
- width: w.value,
1014
+ width: C.value,
999
1015
  height: r.value.height,
1000
1016
  fill: "transparent",
1001
- onMouseenter: (o) => Qt(l),
1017
+ onMouseenter: (o) => Jt(l),
1002
1018
  onMouseleave: (o) => rt(l),
1003
1019
  onClick: (o) => it(l, s),
1004
- class: N({ "donut-hover": f.value === l.index && l.subtotal })
1005
- }, null, 42, Ia))), 256)),
1020
+ class: P({ "donut-hover": f.value === l.index && l.subtotal })
1021
+ }, null, 42, Oa))), 256)),
1006
1022
  A(t.$slots, "svg", { svg: r.value }, void 0, !0)
1007
- ], 14, Yl)),
1008
- t.$slots.watermark ? (u(), n("div", Oa, [
1009
- A(t.$slots, "watermark", Z(ee({ isPrinting: c(lt) || c(at) })), void 0, !0)
1023
+ ], 14, Ql)),
1024
+ t.$slots.watermark ? (u(), n("div", Na, [
1025
+ A(t.$slots, "watermark", ee(te({ isPrinting: c(lt) || c(at) })), void 0, !0)
1010
1026
  ])) : v("", !0),
1011
1027
  b("div", {
1012
1028
  ref_key: "chartSlicer",
1013
1029
  ref: Ge,
1014
- style: K(`width:100%;background:${e.value.style.chart.backgroundColor}`),
1030
+ style: Z(`width:100%;background:${e.value.style.chart.backgroundColor}`),
1015
1031
  "data-dom-to-png-ignore": ""
1016
1032
  }, [
1017
- I.value > 1 && e.value.style.chart.zoom.show ? (u(), T(Ul, {
1033
+ I.value > 1 && e.value.style.chart.zoom.show ? (u(), D(Gl, {
1018
1034
  ref_key: "slicerComponent",
1019
1035
  ref: We,
1020
- key: `slicer_${Fe.value}`,
1036
+ key: `slicer_${Ee.value}`,
1021
1037
  background: e.value.style.chart.zoom.color,
1022
1038
  borderColor: e.value.style.chart.backgroundColor,
1023
1039
  fontSize: e.value.style.chart.zoom.fontSize,
@@ -1044,37 +1060,37 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
1044
1060
  onReset: Ze
1045
1061
  }, {
1046
1062
  "reset-action": x(({ reset: l }) => [
1047
- A(t.$slots, "reset-action", Z(ee({ reset: l })), void 0, !0)
1063
+ A(t.$slots, "reset-action", ee(te({ reset: l })), void 0, !0)
1048
1064
  ]),
1049
1065
  _: 3
1050
1066
  }, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "start", "end", "refreshStartPoint", "refreshEndPoint", "enableRangeHandles", "enableSelectionDrag", "focusOnDrag", "focusRangeRatio"])) : v("", !0)
1051
1067
  ], 4),
1052
1068
  b("div", {
1053
- id: `legend-bottom-${D.value}`
1054
- }, null, 8, Ta),
1055
- Me.value ? (u(), T(hl, {
1069
+ id: `legend-bottom-${O.value}`
1070
+ }, null, 8, Pa),
1071
+ Me.value ? (u(), D(fl, {
1056
1072
  key: 5,
1057
- to: e.value.style.chart.legend.position === "top" ? `#legend-top-${D.value}` : `#legend-bottom-${D.value}`
1073
+ to: e.value.style.chart.legend.position === "top" ? `#legend-top-${O.value}` : `#legend-bottom-${O.value}`
1058
1074
  }, [
1059
1075
  b("div", {
1060
1076
  ref_key: "chartLegend",
1061
1077
  ref: Ue
1062
1078
  }, [
1063
- e.value.style.chart.legend.show ? (u(), T(Hl, {
1079
+ e.value.style.chart.legend.show ? (u(), D(Wl, {
1064
1080
  key: `legend_${Be.value}`,
1065
- legendSet: Le.value,
1066
- config: Jt.value,
1067
- onClickMarker: a[2] || (a[2] = ({ legend: l }) => Ae(l.uid))
1081
+ legendSet: Ae.value,
1082
+ config: Kt.value,
1083
+ onClickMarker: a[2] || (a[2] = ({ legend: l }) => J(l.uid))
1068
1084
  }, {
1069
1085
  item: x(({ legend: l, index: s }) => [
1070
1086
  b("div", {
1071
- onClick: (o) => Ae(l.uid),
1072
- style: K(`opacity:${C.value.includes(l.uid) ? 0.5 : 1}`)
1073
- }, k(l.display), 13, Da)
1087
+ onClick: (o) => J(l.uid),
1088
+ style: Z(`opacity:${k.value.includes(l.uid) ? 0.5 : 1}`)
1089
+ }, w(l.display), 13, Ra)
1074
1090
  ]),
1075
1091
  _: 1
1076
1092
  }, 8, ["legendSet", "config"])) : v("", !0),
1077
- A(t.$slots, "legend", { legend: Le.value }, void 0, !0)
1093
+ A(t.$slots, "legend", { legend: Ae.value }, void 0, !0)
1078
1094
  ], 512)
1079
1095
  ], 8, ["to"])) : v("", !0),
1080
1096
  t.$slots.source ? (u(), n("div", {
@@ -1085,28 +1101,28 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
1085
1101
  }, [
1086
1102
  A(t.$slots, "source", {}, void 0, !0)
1087
1103
  ], 512)) : v("", !0),
1088
- qe.value && e.value.userOptions.buttons.table ? (u(), T(yl(J.value.component), gl({ key: 7 }, J.value.props, {
1104
+ qe.value && e.value.userOptions.buttons.table ? (u(), D(bl(K.value.component), ml({ key: 7 }, K.value.props, {
1089
1105
  ref_key: "tableUnit",
1090
- ref: Y,
1091
- onClose: ft
1092
- }), xt({
1106
+ ref: j,
1107
+ onClose: bt
1108
+ }), kt({
1093
1109
  content: x(() => [
1094
- (u(), T(c(Pt), {
1110
+ (u(), D(c(Rt), {
1095
1111
  key: `table_${Ve.value}`,
1096
- colNames: W.value.colNames,
1097
- head: W.value.head,
1098
- body: W.value.body,
1099
- config: W.value.config,
1100
- title: e.value.table.useDialog ? "" : J.value.title,
1112
+ colNames: G.value.colNames,
1113
+ head: G.value.head,
1114
+ body: G.value.body,
1115
+ config: G.value.config,
1116
+ title: e.value.table.useDialog ? "" : K.value.title,
1101
1117
  withCloseButton: !e.value.table.useDialog,
1102
- onClose: ft
1118
+ onClose: bt
1103
1119
  }, {
1104
1120
  th: x(({ th: l }) => [
1105
- Oe(k(l.name ?? l), 1)
1121
+ Te(w(l.name ?? l), 1)
1106
1122
  ]),
1107
1123
  td: x(({ td: l }) => [
1108
- l.value === null ? (u(), n("span", Na, "-")) : (u(), n("b", Pa, k(isNaN(l.value) ? "" : e.value.style.chart.layout.dataLabels.prefix) + k(!isNaN(l.value) && l.value !== null ? Number(l.value.toFixed(e.value.table.td.roundingValue)).toLocaleString() : l) + k(isNaN(l.value) ? "" : e.value.style.chart.layout.dataLabels.suffix), 1)),
1109
- b("span", null, k(l.percentage && !isNaN(l.percentage) ? `(${Number(l.percentage.toFixed(e.value.table.td.roundingPercentage)).toLocaleString()}%)` : ""), 1)
1124
+ l.value === null ? (u(), n("span", Ea, "-")) : (u(), n("b", Fa, w(isNaN(l.value) ? "" : e.value.style.chart.layout.dataLabels.prefix) + w(!isNaN(l.value) && l.value !== null ? Number(l.value.toFixed(e.value.table.td.roundingValue)).toLocaleString() : l) + w(isNaN(l.value) ? "" : e.value.style.chart.layout.dataLabels.suffix), 1)),
1125
+ b("span", null, w(l.percentage && !isNaN(l.percentage) ? `(${Number(l.percentage.toFixed(e.value.table.td.roundingPercentage)).toLocaleString()}%)` : ""), 1)
1110
1126
  ]),
1111
1127
  _: 1
1112
1128
  }, 8, ["colNames", "head", "body", "config", "title", "withCloseButton"]))
@@ -1116,7 +1132,7 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
1116
1132
  e.value.table.useDialog ? {
1117
1133
  name: "title",
1118
1134
  fn: x(() => [
1119
- Oe(k(J.value.title), 1)
1135
+ Te(w(K.value.title), 1)
1120
1136
  ]),
1121
1137
  key: "0"
1122
1138
  } : void 0,
@@ -1128,45 +1144,45 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
1128
1144
  class: "vue-ui-user-options-button",
1129
1145
  onClick: a[3] || (a[3] = (l) => Se(e.value.userOptions.callbacks.csv))
1130
1146
  }, [
1131
- kt(c(Nt), {
1147
+ wt(c(Pt), {
1132
1148
  name: "excel",
1133
- stroke: J.value.props.color
1149
+ stroke: K.value.props.color
1134
1150
  }, null, 8, ["stroke"])
1135
1151
  ])
1136
1152
  ]),
1137
1153
  key: "1"
1138
1154
  } : void 0
1139
1155
  ]), 1040)) : v("", !0),
1140
- e.value.style.chart.dialog.show ? (u(), T(c(Pe), {
1156
+ e.value.style.chart.dialog.show ? (u(), D(c(Pe), {
1141
1157
  key: 8,
1142
1158
  ref_key: "dialog",
1143
1159
  ref: ze,
1144
1160
  onClose: a[4] || (a[4] = (l) => {
1145
- V.value = null, de.value = !1, le.value = null, f.value = null, Q.value = null;
1161
+ V.value = null, he.value = !1, ae.value = null, f.value = null, Q.value = null;
1146
1162
  }),
1147
1163
  backgroundColor: e.value.style.chart.dialog.backgroundColor,
1148
1164
  color: e.value.style.chart.dialog.color,
1149
1165
  headerBg: e.value.style.chart.dialog.header.backgroundColor,
1150
1166
  headerColor: e.value.style.chart.dialog.header.color,
1151
- isFullscreen: H.value,
1152
- fullscreenParent: P.value
1167
+ isFullscreen: U.value,
1168
+ fullscreenParent: R.value
1153
1169
  }, {
1154
1170
  title: x(() => [
1155
- Oe(k(_.value[Number(V.value.index)] ? _.value[Number(V.value.index)].text : ""), 1)
1171
+ Te(w(_.value[Number(V.value.index)] ? _.value[Number(V.value.index)].text : ""), 1)
1156
1172
  ]),
1157
1173
  content: x(() => [
1158
- V.value ? (u(), T(c(Vt), {
1174
+ V.value ? (u(), D(c(Bt), {
1159
1175
  key: 0,
1160
- config: gt.value,
1161
- dataset: yt.value
1176
+ config: ft.value,
1177
+ dataset: gt.value
1162
1178
  }, null, 8, ["config", "dataset"])) : v("", !0)
1163
1179
  ]),
1164
1180
  _: 1
1165
1181
  }, 8, ["backgroundColor", "color", "headerBg", "headerColor", "isFullscreen", "fullscreenParent"])) : v("", !0),
1166
- c(Je) ? (u(), T(Dl, { key: 9 })) : v("", !0)
1167
- ], 46, Wl));
1182
+ c(Je) ? (u(), D(Rl, { key: 9 })) : v("", !0)
1183
+ ], 46, jl));
1168
1184
  }
1169
- }, eo = /* @__PURE__ */ Xl(Ra, [["__scopeId", "data-v-33d95825"]]);
1185
+ }, ao = /* @__PURE__ */ Yl(Va, [["__scopeId", "data-v-dae6987b"]]);
1170
1186
  export {
1171
- eo as default
1187
+ ao as default
1172
1188
  };