vue-data-ui 2.14.2 → 2.14.3-beta.1

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 (88) hide show
  1. package/README.md +17 -0
  2. package/dist/{Arrow-DNJvKMao.js → Arrow-CHiKXhrZ.js} +1 -1
  3. package/dist/{BaseDraggableDialog-XPll8ONG.js → BaseDraggableDialog-C_zNQi8p.js} +2 -2
  4. package/dist/{BaseIcon-D0Q4E4nY.js → BaseIcon-CjLVVFOF.js} +1 -1
  5. package/dist/{ColorPicker-CQl1kba_.js → ColorPicker-4qYqEUzw.js} +2 -2
  6. package/dist/{DataTable-DzCoab4C.js → DataTable-CQHjdD9t.js} +2 -2
  7. package/dist/{Legend-DLJ9I-cg.js → Legend-XakQeDJw.js} +4 -4
  8. package/dist/{NonSvgPenAndPaper-B0-XpttN.js → NonSvgPenAndPaper-BVSNCCsg.js} +3 -3
  9. package/dist/{PackageVersion-DrhYhyQR.js → PackageVersion-mH9eFSdi.js} +2 -2
  10. package/dist/{PenAndPaper-BdnVqpO9.js → PenAndPaper-C49A3fVl.js} +3 -3
  11. package/dist/{Shape-DdpwkHh8.js → Shape-D_nY-zV8.js} +1 -1
  12. package/dist/{Slicer-B6mk6VRe.js → Slicer-DAuA0E6E.js} +14 -14
  13. package/dist/{SparkTooltip-DvS7F_gk.js → SparkTooltip-BRAWFiKX.js} +1 -1
  14. package/dist/{Title-xtSGHclp.js → Title-Be-4IBib.js} +1 -1
  15. package/dist/{Tooltip-D8swCIay.js → Tooltip-B4lRAXc3.js} +1 -1
  16. package/dist/{UserOptions-BbJkNcCM.js → UserOptions-CZOjPjId.js} +2 -2
  17. package/dist/{dom-to-png-DrB0WHa5.js → dom-to-png-O95d2xYz.js} +1 -1
  18. package/dist/{img-CtqhCOnQ.js → img-B5QfWbFM.js} +1 -1
  19. package/dist/{index-DBYSSUsg.js → index-DpgjO9No.js} +409 -394
  20. package/dist/{pdf-Cq3bf6D0.js → pdf-C86OOuya.js} +1 -1
  21. package/dist/style.css +1 -1
  22. package/dist/{useNestedProp-Cu77c3W4.js → useNestedProp-BS0-lsm3.js} +1 -1
  23. package/dist/{usePrinter-xF9W73YL.js → usePrinter-EqGRLYQ_.js} +2 -2
  24. package/dist/{vue-data-ui-BhsGEgCE.js → vue-data-ui-CkGWUdE5.js} +63 -63
  25. package/dist/vue-data-ui.js +21 -21
  26. package/dist/{vue-ui-3d-bar-BiehKQpG.js → vue-ui-3d-bar-BMy6RIsR.js} +5 -5
  27. package/dist/{vue-ui-accordion-CEZHj_of.js → vue-ui-accordion-B7SuIgFc.js} +3 -3
  28. package/dist/{vue-ui-age-pyramid-CV3X9UIL.js → vue-ui-age-pyramid-DWAc3Ofk.js} +5 -5
  29. package/dist/{vue-ui-annotator-C0tRqId7.js → vue-ui-annotator-BjW1IoFR.js} +2 -2
  30. package/dist/{vue-ui-bullet-Dnzzp7eQ.js → vue-ui-bullet-DfpzNl51.js} +6 -6
  31. package/dist/{vue-ui-candlestick-HP8z-e20.js → vue-ui-candlestick-BhWpJIxD.js} +6 -6
  32. package/dist/{vue-ui-carousel-table-CIytKGfB.js → vue-ui-carousel-table-DMSlJoWw.js} +4 -4
  33. package/dist/{vue-ui-chestnut-jJ5DocEt.js → vue-ui-chestnut-Dby5X8Oy.js} +4 -4
  34. package/dist/{vue-ui-chord-C2p48bdc.js → vue-ui-chord-BBjEiNoo.js} +7 -7
  35. package/dist/{vue-ui-circle-pack-Cm42Kre2.js → vue-ui-circle-pack-QR1HniAL.js} +5 -5
  36. package/dist/{vue-ui-cursor-DYOAowBf.js → vue-ui-cursor-D9HDDbAr.js} +2 -2
  37. package/dist/{vue-ui-dashboard-CqQ_erdb.js → vue-ui-dashboard-DMgkrLHs.js} +62 -62
  38. package/dist/{vue-ui-digits-Ckblhu11.js → vue-ui-digits-AxsWsoNG.js} +2 -2
  39. package/dist/{vue-ui-donut-6ioyEN3H.js → vue-ui-donut-B3cs-HjU.js} +111 -111
  40. package/dist/{vue-ui-donut-evolution-DcpDJ9Nx.js → vue-ui-donut-evolution-piOrh5of.js} +295 -279
  41. package/dist/{vue-ui-dumbbell-Bs6C9JZw.js → vue-ui-dumbbell-C_amhKRH.js} +6 -6
  42. package/dist/{vue-ui-flow-2PtX-g_5.js → vue-ui-flow-kgzJDBYW.js} +26 -26
  43. package/dist/{vue-ui-funnel-DnjXDXiD.js → vue-ui-funnel-D582UlDY.js} +5 -5
  44. package/dist/{vue-ui-galaxy-C15I7QgX.js → vue-ui-galaxy-BCPNqux7.js} +4 -4
  45. package/dist/{vue-ui-gauge-C4ukJ9LH.js → vue-ui-gauge-6YFYdXxG.js} +5 -5
  46. package/dist/{vue-ui-gizmo-CV03sWPz.js → vue-ui-gizmo-PN0sgIDN.js} +3 -3
  47. package/dist/{vue-ui-heatmap-C-9U8urH.js → vue-ui-heatmap-bWGrfPpu.js} +6 -6
  48. package/dist/{vue-ui-history-plot-CctIOnX8.js → vue-ui-history-plot-CNxerxJF.js} +234 -210
  49. package/dist/{vue-ui-kpi-D8DQ02cm.js → vue-ui-kpi-BXiiCP9f.js} +3 -3
  50. package/dist/{vue-ui-mini-loader-DpwNHrxl.js → vue-ui-mini-loader-LXae2ars.js} +2 -2
  51. package/dist/{vue-ui-molecule-je8BUEgl.js → vue-ui-molecule-B2dzn9rQ.js} +16 -16
  52. package/dist/{vue-ui-mood-radar-DUwpDrKf.js → vue-ui-mood-radar-DIJJhVIZ.js} +19 -19
  53. package/dist/{vue-ui-nested-donuts-CcIiH5y3.js → vue-ui-nested-donuts-4lqDDJmG.js} +46 -46
  54. package/dist/{vue-ui-onion-B3ciM-zx.js → vue-ui-onion-BIgfyn7z.js} +6 -6
  55. package/dist/{vue-ui-parallel-coordinate-plot-C4jC8sCn.js → vue-ui-parallel-coordinate-plot-COW7u6EQ.js} +192 -175
  56. package/dist/{vue-ui-quadrant--xMPLV7W.js → vue-ui-quadrant-B3HOf0aF.js} +243 -225
  57. package/dist/{vue-ui-quick-chart-Bce5gdOB.js → vue-ui-quick-chart-Cg7pNkb3.js} +459 -443
  58. package/dist/{vue-ui-radar-Bs4DRm4L.js → vue-ui-radar-DY7BOmEO.js} +45 -45
  59. package/dist/{vue-ui-rating-BjP1BHbM.js → vue-ui-rating-C8ubvpA2.js} +8 -8
  60. package/dist/{vue-ui-relation-circle-D9P-zdmr.js → vue-ui-relation-circle-BSUJrp9v.js} +5 -5
  61. package/dist/{vue-ui-ridgeline-DmNbKyms.js → vue-ui-ridgeline-CNNfP0Gl.js} +185 -165
  62. package/dist/{vue-ui-rings-BebupVaJ.js → vue-ui-rings-C0iQMvwp.js} +7 -7
  63. package/dist/{vue-ui-scatter-cQ-Eu6ff.js → vue-ui-scatter-BaXESoFU.js} +49 -49
  64. package/dist/{vue-ui-skeleton-BJy7bURO.js → vue-ui-skeleton-C-ca3jum.js} +3 -3
  65. package/dist/{vue-ui-smiley-D5QHdm68.js → vue-ui-smiley-BPSnI-sv.js} +2 -2
  66. package/dist/{vue-ui-spark-trend-CP5l6hCt.js → vue-ui-spark-trend-C2p4SwT6.js} +3 -3
  67. package/dist/{vue-ui-sparkbar-CW95uw6O.js → vue-ui-sparkbar-C_Z7se8R.js} +3 -3
  68. package/dist/{vue-ui-sparkgauge-a4VbU8l_.js → vue-ui-sparkgauge-BNQP-wru.js} +8 -8
  69. package/dist/{vue-ui-sparkhistogram-Bu2URfSJ.js → vue-ui-sparkhistogram-S7ZqAbMr.js} +4 -4
  70. package/dist/{vue-ui-sparkline-TItbUk-X.js → vue-ui-sparkline-BOUcxjBn.js} +11 -11
  71. package/dist/{vue-ui-sparkstackbar-B7hTZ5lP.js → vue-ui-sparkstackbar-Bcz6Tg5h.js} +3 -3
  72. package/dist/{vue-ui-stackbar-Dsdwa6lC.js → vue-ui-stackbar-BwY3L4k_.js} +417 -373
  73. package/dist/{vue-ui-strip-plot-8t8ozRzt.js → vue-ui-strip-plot-BQKMvJ_f.js} +202 -184
  74. package/dist/{vue-ui-table-CFn0ptr3.js → vue-ui-table-BMFeG4Ll.js} +3 -3
  75. package/dist/{vue-ui-table-heatmap-By7Epu_x.js → vue-ui-table-heatmap-BMcm8nz5.js} +18 -18
  76. package/dist/{vue-ui-table-sparkline-CXqoNu29.js → vue-ui-table-sparkline-DvbV5c0E.js} +4 -4
  77. package/dist/{vue-ui-thermometer-XTsctSeT.js → vue-ui-thermometer-DaUJKwlB.js} +5 -5
  78. package/dist/{vue-ui-timer-LsMK3baq.js → vue-ui-timer-2lttGgfU.js} +5 -5
  79. package/dist/{vue-ui-tiremarks-Dmqxy_za.js → vue-ui-tiremarks-Br-K5C0A.js} +5 -5
  80. package/dist/{vue-ui-treemap-CBK79HgE.js → vue-ui-treemap-BMcITB4q.js} +7 -7
  81. package/dist/{vue-ui-vertical-bar-s0W_ZvXa.js → vue-ui-vertical-bar-DyHNX6fM.js} +8 -8
  82. package/dist/{vue-ui-waffle-DYSvsk-v.js → vue-ui-waffle-D2O27EVK.js} +246 -242
  83. package/dist/{vue-ui-wheel-ffWrYzpO.js → vue-ui-wheel-BJ11Yo4p.js} +5 -5
  84. package/dist/{vue-ui-word-cloud-DMtRVU6x.js → vue-ui-word-cloud-DoiCiPEX.js} +15 -15
  85. package/dist/{vue-ui-world-DPT1WnyR.js → vue-ui-world-DnATnNkX.js} +5 -5
  86. package/dist/{vue-ui-xy-BhuRQnpn.js → vue-ui-xy-DRE6d6PA.js} +591 -570
  87. package/dist/{vue-ui-xy-canvas-BaqwCoBL.js → vue-ui-xy-canvas-CB8YSoKV.js} +7 -7
  88. package/package.json +1 -1
@@ -1,34 +1,34 @@
1
- import { defineAsyncComponent as ce, ref as z, computed as U, watch as Ve, shallowRef as ht, onMounted as Ot, onBeforeUnmount as Tt, nextTick as Me, createElementBlock as l, openBlock as a, normalizeStyle as R, normalizeClass as he, createBlock as Ne, createCommentVNode as g, createVNode as fe, unref as f, createSlots as Pt, withCtx as G, renderSlot as M, normalizeProps as ne, guardReactiveProps as ue, toDisplayString as O, createElementVNode as _, Fragment as m, renderList as $, mergeProps as qe } from "vue";
2
- import { u as Rt, c as Mt, t as Nt, p as q, a as Ft, C as ft, b as Ut, H as Dt, e as Bt, d as He, m as Vt, D as gt, X as qt, j as Ht, k as We, n as Le, i as X, f as B, U as mt, v as Z, x as Fe, y as je } from "./index-DBYSSUsg.js";
3
- import { t as Wt, u as jt } from "./useResponsive-JZ9xq-JV.js";
4
- import { u as pt } from "./useNestedProp-Cu77c3W4.js";
5
- import { u as Gt } from "./usePrinter-xF9W73YL.js";
6
- import { u as Xt } from "./useChartAccessibility-9icAAmYg.js";
7
- import { S as Zt } from "./Slicer-B6mk6VRe.js";
8
- import { u as Yt } from "./useTimeLabels-Mrr0jrpL.js";
9
- import { _ as Jt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
1
+ import { defineAsyncComponent as ce, ref as z, computed as U, watch as Ve, shallowRef as ht, onMounted as Tt, onBeforeUnmount as Ot, nextTick as Me, createElementBlock as l, openBlock as a, normalizeStyle as R, normalizeClass as he, createBlock as Fe, createCommentVNode as g, createVNode as fe, unref as f, createSlots as Pt, withCtx as G, renderSlot as M, normalizeProps as ne, guardReactiveProps as ie, toDisplayString as T, createElementVNode as _, Fragment as m, renderList as $, mergeProps as qe } from "vue";
2
+ import { u as Rt, c as Mt, t as Ft, p as q, a as Nt, C as ft, b as Ut, H as Bt, e as Dt, d as He, m as Vt, D as gt, X as qt, j as Ht, k as We, n as Le, i as X, f as D, I as Wt, V as mt, v as Z, x as Ne, y as je } from "./index-DpgjO9No.js";
3
+ import { t as jt, u as Gt } from "./useResponsive-JZ9xq-JV.js";
4
+ import { u as pt } from "./useNestedProp-BS0-lsm3.js";
5
+ import { u as Xt } from "./usePrinter-EqGRLYQ_.js";
6
+ import { u as Zt } from "./useChartAccessibility-9icAAmYg.js";
7
+ import { S as Yt } from "./Slicer-DAuA0E6E.js";
8
+ import { u as Jt } from "./useTimeLabels-Mrr0jrpL.js";
9
+ import { _ as Qt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
10
10
  const A = {
11
11
  LINE: "LINE",
12
12
  BAR: "BAR",
13
13
  DONUT: "DONUT"
14
- }, Qt = ["SERIE", "SERIES", "DATA", "VALUE", "VALUES", "NUM"];
15
- function Kt({ dataset: c, barLineSwitch: C = 6 }) {
16
- let y = null, T = null, H = 0;
17
- if ((typeof c == "number" || typeof c == "string") && console.warn(`The provided dataset (${c}) is not sufficient to build a chart`), ze(c) && (Y(c) && (c.length < C ? y = A.BAR : y = A.LINE, T = c, H = c.length), Ue(c))) {
18
- if (!ta(c))
14
+ }, Kt = ["SERIE", "SERIES", "DATA", "VALUE", "VALUES", "NUM"];
15
+ function ea({ dataset: c, barLineSwitch: C = 6 }) {
16
+ let x = null, O = null, H = 0;
17
+ if ((typeof c == "number" || typeof c == "string") && console.warn(`The provided dataset (${c}) is not sufficient to build a chart`), ze(c) && (Y(c) && (c.length < C ? x = A.BAR : x = A.LINE, O = c, H = c.length), Ue(c))) {
18
+ if (!aa(c))
19
19
  return console.warn("The objects in the dataset array have a different data structure. Either keys or value types are different."), !1;
20
20
  const pe = Object.keys(c[0]), $e = Object.values(c[0]);
21
- if (!pe.some((N) => aa(N)))
21
+ if (!pe.some((F) => la(F)))
22
22
  return console.warn("The data type of the dataset objects in the array must contain one of the following keys: DATA, SERIES, VALUE, VALUES, NUM. Casing is not important."), !1;
23
- yt($e, (N) => typeof N == "number") && (y = A.DONUT, T = c), yt($e, (N) => Array.isArray(N) && Y(N)) && (xt(c) > C ? y = A.LINE : y = A.BAR, H = xt(c), T = c.map((N) => ({
24
- ...N,
25
- data: la(N, (D) => Y(D))
26
- }))), c = c.map((N) => kt(N)), T = T.map((N) => kt(N));
23
+ xt($e, (F) => typeof F == "number") && (x = A.DONUT, O = c), xt($e, (F) => Array.isArray(F) && Y(F)) && (yt(c) > C ? x = A.LINE : x = A.BAR, H = yt(c), O = c.map((F) => ({
24
+ ...F,
25
+ data: oa(F, (B) => Y(B))
26
+ }))), c = c.map((F) => kt(F)), O = O.map((F) => kt(F));
27
27
  }
28
28
  return ze(c) && [...new Set(c.flatMap((pe) => Array.isArray(pe)))][0], {
29
29
  dataset: c,
30
- type: y,
31
- usableDataset: T,
30
+ type: x,
31
+ usableDataset: O,
32
32
  maxSeriesLength: H
33
33
  };
34
34
  }
@@ -40,101 +40,101 @@ function ze(c) {
40
40
  }
41
41
  function Y(c) {
42
42
  if (!ze(c) || bt(c)) return !1;
43
- const C = c.map((y) => Number(y));
44
- return ![...new Set(C.flatMap((y) => typeof y == "number" && !isNaN(y)))].includes(!1);
43
+ const C = c.map((x) => Number(x));
44
+ return ![...new Set(C.flatMap((x) => typeof x == "number" && !isNaN(x)))].includes(!1);
45
45
  }
46
46
  function Ue(c) {
47
- return !ze(c) || bt(c) || !![...new Set(c.flatMap((y) => typeof y == "object" && !Array.isArray(y)))].includes(!1) ? !1 : !c.map((y) => Object.keys(y).length > 0).includes(!1);
47
+ return !ze(c) || bt(c) || !![...new Set(c.flatMap((x) => typeof x == "object" && !Array.isArray(x)))].includes(!1) ? !1 : !c.map((x) => Object.keys(x).length > 0).includes(!1);
48
48
  }
49
- function ea(c, C) {
50
- const y = Object.keys(c).sort(), T = Object.keys(C).sort();
51
- if (y.length !== T.length)
49
+ function ta(c, C) {
50
+ const x = Object.keys(c).sort(), O = Object.keys(C).sort();
51
+ if (x.length !== O.length)
52
52
  return !1;
53
- for (let H = 0; H < y.length; H += 1) {
54
- const ge = y[H], me = T[H];
53
+ for (let H = 0; H < x.length; H += 1) {
54
+ const ge = x[H], me = O[H];
55
55
  if (ge !== me || typeof c[ge] != typeof C[me])
56
56
  return !1;
57
57
  }
58
58
  return !0;
59
59
  }
60
- function ta(c) {
60
+ function aa(c) {
61
61
  if (c.length <= 1) return !0;
62
62
  for (let C = 0; C < c.length; C += 1)
63
- for (let y = C + 1; y < c.length; y += 1)
64
- if (!ea(c[C], c[y]))
63
+ for (let x = C + 1; x < c.length; x += 1)
64
+ if (!ta(c[C], c[x]))
65
65
  return !1;
66
66
  return !0;
67
67
  }
68
- function aa(c) {
69
- return Qt.includes(c.toUpperCase());
68
+ function la(c) {
69
+ return Kt.includes(c.toUpperCase());
70
70
  }
71
- function yt(c, C) {
72
- let y = [];
73
- for (let T = 0; T < c.length; T += 1)
74
- y.push(C(c[T]));
75
- return y.includes(!0);
71
+ function xt(c, C) {
72
+ let x = [];
73
+ for (let O = 0; O < c.length; O += 1)
74
+ x.push(C(c[O]));
75
+ return x.includes(!0);
76
76
  }
77
- function xt(c) {
78
- return Math.max(...[...c].flatMap((C) => Object.values(C).filter((y) => Y(y)).map((y) => y.length)));
77
+ function yt(c) {
78
+ return Math.max(...[...c].flatMap((C) => Object.values(C).filter((x) => Y(x)).map((x) => x.length)));
79
79
  }
80
- function la(c, C) {
81
- return Object.values(c).filter((y) => C(y))[0];
80
+ function oa(c, C) {
81
+ return Object.values(c).filter((x) => C(x))[0];
82
82
  }
83
83
  function kt(c) {
84
84
  const C = {};
85
- for (let y in c)
86
- c.hasOwnProperty(y) && (C[y.toUpperCase()] = c[y]);
85
+ for (let x in c)
86
+ c.hasOwnProperty(x) && (C[x.toUpperCase()] = c[x]);
87
87
  return C;
88
88
  }
89
- const oa = ["id"], na = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"], ia = ["x", "y", "width", "height"], ra = ["width", "height"], sa = ["id"], va = ["id"], da = ["id"], ca = ["flood-color"], ha = {
89
+ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"], ra = ["x", "y", "width", "height"], sa = ["width", "height"], va = ["id"], da = ["id"], ca = ["id"], ha = ["flood-color"], fa = {
90
90
  key: 0,
91
91
  class: "donut-label-connectors"
92
- }, fa = ["d", "stroke", "stroke-width", "filter"], ga = ["cx", "cy", "r", "fill", "filter"], ma = { class: "donut" }, pa = ["d", "fill", "stroke", "stroke-width", "filter"], ya = ["d", "onMouseenter", "onClick"], xa = {
92
+ }, ga = ["d", "stroke", "stroke-width", "filter"], ma = ["cx", "cy", "r", "fill", "filter"], pa = { class: "donut" }, xa = ["d", "fill", "stroke", "stroke-width", "filter"], ya = ["d", "onMouseenter", "onClick"], ka = {
93
93
  key: 1,
94
94
  class: "donut-labels quick-animation"
95
- }, ka = ["cx", "cy", "fill", "stroke", "filter"], ba = ["text-anchor", "x", "y", "fill", "font-size", "filter"], Sa = ["text-anchor", "x", "y", "fill", "font-size", "filter"], wa = {
95
+ }, ba = ["cx", "cy", "fill", "stroke", "filter"], Sa = ["text-anchor", "x", "y", "fill", "font-size", "filter"], wa = ["text-anchor", "x", "y", "fill", "font-size", "filter"], Aa = {
96
96
  key: 2,
97
97
  class: "donut-hollow quick-animation"
98
- }, Aa = ["x", "y", "font-size", "fill"], _a = ["x", "y", "font-size", "fill"], La = {
98
+ }, _a = ["x", "y", "font-size", "fill"], La = ["x", "y", "font-size", "fill"], za = {
99
99
  key: 0,
100
100
  class: "line-grid"
101
- }, za = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], $a = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ca = {
101
+ }, $a = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ca = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ia = {
102
102
  key: 1,
103
103
  class: "line-axis"
104
- }, Ia = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ea = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Oa = {
104
+ }, Ea = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ta = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Oa = {
105
105
  key: 2,
106
106
  class: "yLabels"
107
- }, Ta = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Pa = ["x", "y", "font-size", "fill"], Ra = {
107
+ }, Pa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ra = ["x", "y", "font-size", "fill"], Ma = {
108
108
  key: 3,
109
109
  class: "periodLabels"
110
- }, Ma = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Na = ["font-size", "text-anchor", "fill", "transform"], Fa = { class: "plots" }, Ua = { class: "line-plot-series" }, Da = ["d", "stroke", "stroke-width"], Ba = ["d", "stroke", "stroke-width"], Va = ["d", "stroke", "stroke-width"], qa = ["d", "stroke", "stroke-width"], Ha = ["cx", "cy", "fill", "stroke"], Wa = {
110
+ }, Fa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Na = { key: 1 }, Ua = ["font-size", "text-anchor", "fill", "transform"], Ba = ["font-size", "text-anchor", "fill", "transform", "innerHTML"], Da = { class: "plots" }, Va = { class: "line-plot-series" }, qa = ["d", "stroke", "stroke-width"], Ha = ["d", "stroke", "stroke-width"], Wa = ["d", "stroke", "stroke-width"], ja = ["d", "stroke", "stroke-width"], Ga = ["cx", "cy", "fill", "stroke"], Xa = {
111
111
  key: 4,
112
112
  class: "dataLabels"
113
- }, ja = ["font-size", "fill", "x", "y"], Ga = { class: "tooltip-traps" }, Xa = ["x", "y", "height", "width", "fill", "onMouseenter", "onClick"], Za = {
113
+ }, Za = ["font-size", "fill", "x", "y"], Ya = { class: "tooltip-traps" }, Ja = ["x", "y", "height", "width", "fill", "onMouseenter", "onClick"], Qa = {
114
114
  key: 0,
115
115
  class: "line-grid"
116
- }, Ya = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ja = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Qa = {
116
+ }, Ka = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], el = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], tl = {
117
117
  key: 1,
118
118
  class: "line-axis"
119
- }, Ka = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], el = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], tl = {
119
+ }, al = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ll = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ol = {
120
120
  key: 2,
121
121
  class: "yLabels"
122
- }, al = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ll = ["x", "y", "font-size", "fill"], ol = {
122
+ }, nl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], il = ["x", "y", "font-size", "fill"], ul = {
123
123
  key: 3,
124
124
  class: "periodLabels"
125
- }, nl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ul = ["font-size", "text-anchor", "transform", "fill"], il = { class: "plots" }, rl = ["x", "width", "height", "y", "fill", "stroke", "stroke-width"], sl = ["to"], vl = ["from", "to"], dl = {
125
+ }, rl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], sl = ["font-size", "text-anchor", "transform", "fill"], vl = { class: "plots" }, dl = ["x", "width", "height", "y", "fill", "stroke", "stroke-width"], cl = ["to"], hl = ["from", "to"], fl = {
126
126
  key: 4,
127
127
  class: "dataLabels"
128
- }, cl = ["x", "y", "font-size", "fill"], hl = { class: "tooltip-traps" }, fl = ["x", "y", "height", "width", "fill", "onMouseenter", "onClick"], gl = {
128
+ }, gl = ["x", "y", "font-size", "fill"], ml = { class: "tooltip-traps" }, pl = ["x", "y", "height", "width", "fill", "onMouseenter", "onClick"], xl = {
129
129
  key: 6,
130
130
  class: "axis-labels"
131
- }, ml = { key: 0 }, pl = ["font-size", "fill", "x", "y"], yl = { key: 1 }, xl = ["font-size", "fill", "x", "y"], kl = { key: 2 }, bl = ["font-size", "fill", "transform"], Sl = { key: 3 }, wl = ["font-size", "fill", "transform"], Al = {
131
+ }, yl = { key: 0 }, kl = ["font-size", "fill", "x", "y"], bl = { key: 1 }, Sl = ["font-size", "fill", "x", "y"], wl = { key: 2 }, Al = ["font-size", "fill", "transform"], _l = { key: 3 }, Ll = ["font-size", "fill", "transform"], zl = {
132
132
  key: 6,
133
133
  class: "vue-data-ui-watermark"
134
- }, _l = ["onClick"], Ll = ["onClick"], zl = ["onClick"], $l = {
134
+ }, $l = ["onClick"], Cl = ["onClick"], Il = ["onClick"], El = {
135
135
  key: 1,
136
136
  class: "vue-ui-quick-chart-not-processable"
137
- }, Cl = {
137
+ }, Tl = {
138
138
  __name: "vue-ui-quick-chart",
139
139
  props: {
140
140
  config: {
@@ -151,35 +151,35 @@ const oa = ["id"], na = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
151
151
  }
152
152
  },
153
153
  emits: ["selectDatapoint", "selectLegend"],
154
- setup(c, { expose: C, emit: y }) {
155
- const T = ce(() => import("./BaseIcon-D0Q4E4nY.js")), H = ce(() => import("./PackageVersion-DrhYhyQR.js")), ge = ce(() => import("./PenAndPaper-BdnVqpO9.js")), me = ce(() => import("./vue-ui-skeleton-BJy7bURO.js")), pe = ce(() => import("./Tooltip-D8swCIay.js")), $e = ce(() => import("./UserOptions-BbJkNcCM.js")), { vue_ui_quick_chart: N } = Rt(), D = c, ye = z(null), Ge = z(null), Xe = z(null), Ze = z(null), J = z(Mt()), ee = z(!1), xe = z(null), te = z(""), W = z(null), Ye = z(null), Je = z(null), w = z([]), Qe = z(0), Ce = z(0), e = U({
154
+ setup(c, { expose: C, emit: x }) {
155
+ const O = ce(() => import("./BaseIcon-CjLVVFOF.js")), H = ce(() => import("./PackageVersion-mH9eFSdi.js")), ge = ce(() => import("./PenAndPaper-C49A3fVl.js")), me = ce(() => import("./vue-ui-skeleton-C-ca3jum.js")), pe = ce(() => import("./Tooltip-B4lRAXc3.js")), $e = ce(() => import("./UserOptions-CZOjPjId.js")), { vue_ui_quick_chart: F } = Rt(), B = c, xe = z(null), Ge = z(null), Xe = z(null), Ze = z(null), J = z(Mt()), ee = z(!1), ye = z(null), te = z(""), W = z(null), Ye = z(null), Je = z(null), w = z([]), Qe = z(0), Ce = z(0), e = U({
156
156
  get: () => at(),
157
157
  set: (o) => o
158
- }), { svgRef: Ke } = Xt({ config: { text: e.value.title } }), St = U(() => e.value.showUserOptionsOnChartHover), et = U(() => e.value.keepUserOptionsStateOnChartLeave), Ie = z(!e.value.showUserOptionsOnChartHover);
158
+ }), { svgRef: Ke } = Zt({ config: { text: e.value.title } }), St = U(() => e.value.showUserOptionsOnChartHover), et = U(() => e.value.keepUserOptionsStateOnChartLeave), Ie = z(!e.value.showUserOptionsOnChartHover);
159
159
  function tt(o = !1) {
160
160
  St.value && (Ie.value = o);
161
161
  }
162
162
  function at() {
163
163
  const o = pt({
164
- userConfig: D.config,
165
- defaultConfig: N
164
+ userConfig: B.config,
165
+ defaultConfig: F
166
166
  });
167
167
  let s = {};
168
168
  return o.theme ? s = {
169
169
  ...pt({
170
- userConfig: Ft.vue_ui_quick_chart[o.theme] || D.config,
170
+ userConfig: Nt.vue_ui_quick_chart[o.theme] || B.config,
171
171
  defaultConfig: o
172
172
  }),
173
- customPalette: Nt[o.theme] || q
174
- } : s = o, D.config && ft(D.config, "zoomStartIndex") ? s.zoomStartIndex = D.config.zoomStartIndex : s.zoomStartIndex = null, D.config && ft(D.config, "zoomEndIndex") ? s.zoomEndIndex = D.config.zoomEndIndex : s.zoomEndIndex = null, s;
173
+ customPalette: Ft[o.theme] || q
174
+ } : s = o, B.config && ft(B.config, "zoomStartIndex") ? s.zoomStartIndex = B.config.zoomStartIndex : s.zoomStartIndex = null, B.config && ft(B.config, "zoomEndIndex") ? s.zoomEndIndex = B.config.zoomEndIndex : s.zoomEndIndex = null, s;
175
175
  }
176
- Ve(() => D.config, (o) => {
176
+ Ve(() => B.config, (o) => {
177
177
  e.value = at(), b.value.width = e.value.width, b.value.height = e.value.height, Ie.value = !e.value.showUserOptionsOnChartHover, nt(), Se.value.showTooltip = e.value.showTooltip;
178
- }, { deep: !0 }), Ve(() => D.dataset, (o) => {
179
- p.value = be.value, x.value.start = 0, x.value.end = p.value.maxSeriesLength, Ce.value += 1;
178
+ }, { deep: !0 }), Ve(() => B.dataset, (o) => {
179
+ p.value = be.value, y.value.start = 0, y.value.end = p.value.maxSeriesLength, Ce.value += 1;
180
180
  }, { deep: !0 });
181
- const ke = U(() => Ut(e.value.customPalette)), ie = y, be = U(() => {
182
- const o = Kt({ dataset: Dt(D.dataset, [
181
+ const ke = U(() => Ut(e.value.customPalette)), ue = x, be = U(() => {
182
+ const o = ea({ dataset: Bt(B.dataset, [
183
183
  "serie",
184
184
  "series",
185
185
  "data",
@@ -190,12 +190,12 @@ const oa = ["id"], na = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
190
190
  return o || console.error("VueUiQuickChart : Dataset is not processable"), o;
191
191
  }), p = z(be.value), wt = U(() => !!p.value), L = U(() => p.value ? p.value.type : null);
192
192
  Ve(() => L.value, (o) => {
193
- o || Bt({
193
+ o || Dt({
194
194
  componentName: "VueUiQuickChart",
195
195
  type: "dataset"
196
196
  });
197
197
  }, { immediate: !0 });
198
- const { isPrinting: Ee, isImaging: Oe, generatePdf: lt, generateImage: ot } = Gt({
198
+ const { isPrinting: Ee, isImaging: Te, generatePdf: lt, generateImage: ot } = Xt({
199
199
  elementId: `${L.value}_${J.value}`,
200
200
  fileName: e.value.title || L.value,
201
201
  options: e.value.userOptionsPrint
@@ -205,14 +205,14 @@ const oa = ["id"], na = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
205
205
  }), Se = z({
206
206
  showTooltip: e.value.showTooltip
207
207
  }), Q = ht(null), re = ht(null);
208
- Ot(() => {
208
+ Tt(() => {
209
209
  nt();
210
210
  });
211
211
  function nt() {
212
212
  if (e.value.responsive) {
213
- const o = Wt(() => {
214
- const { width: s, height: t } = jt({
215
- chart: ye.value,
213
+ const o = jt(() => {
214
+ const { width: s, height: t } = Gt({
215
+ chart: xe.value,
216
216
  title: e.value.title ? Ge.value : null,
217
217
  legend: e.value.showLegend ? Xe.value : null,
218
218
  slicer: [A.BAR, A.LINE].includes(L.value) && e.value.zoomXy && p.value.maxSeriesLength > 1 ? Ze.value : null,
@@ -223,11 +223,11 @@ const oa = ["id"], na = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
223
223
  b.value.width = s, b.value.height = t;
224
224
  });
225
225
  });
226
- Q.value && (re.value && Q.value.unobserve(re.value), Q.value.disconnect()), Q.value = new ResizeObserver(o), re.value = ye.value.parentNode, Q.value.observe(re.value);
226
+ Q.value && (re.value && Q.value.unobserve(re.value), Q.value.disconnect()), Q.value = new ResizeObserver(o), re.value = xe.value.parentNode, Q.value.observe(re.value);
227
227
  }
228
228
  dt();
229
229
  }
230
- Tt(() => {
230
+ Ot(() => {
231
231
  Q.value && (re.value && Q.value.unobserve(re.value), Q.value.disconnect());
232
232
  });
233
233
  const _t = U(() => {
@@ -242,30 +242,30 @@ const oa = ["id"], na = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
242
242
  return `0 0 ${b.value.width <= 0 ? 10 : b.value.width} ${b.value.height <= 0 ? 10 : b.value.height}`;
243
243
  }
244
244
  });
245
- function ut(o) {
245
+ function it(o) {
246
246
  return [...o].map((s) => s.value).reduce((s, t) => s + t, 0);
247
247
  }
248
248
  function we(o) {
249
249
  return e.value.blurOnHover && ![null, void 0].includes(W.value) && W.value !== o ? `url(#blur_${J.value})` : "";
250
250
  }
251
- function it(o, s) {
251
+ function ut(o, s) {
252
252
  w.value.includes(o) ? w.value = w.value.filter((t) => t !== o) : w.value.length < s && w.value.push(o);
253
253
  }
254
- const rt = z(null), st = z(null), Te = z(!1);
254
+ const rt = z(null), st = z(null), Oe = z(!1);
255
255
  function Lt(o, s) {
256
- Te.value = !0;
256
+ Oe.value = !0;
257
257
  let t = o.value;
258
- const i = be.value.dataset.find((r, h) => o.id === `donut_${h}`).VALUE;
258
+ const u = be.value.dataset.find((r, h) => o.id === `donut_${h}`).VALUE;
259
259
  if (w.value.includes(o.id)) {
260
260
  let r = function() {
261
- t > i ? (Te.value = !1, cancelAnimationFrame(st.value), p.value = {
261
+ t > u ? (Oe.value = !1, cancelAnimationFrame(st.value), p.value = {
262
262
  ...p.value,
263
263
  dataset: p.value.dataset.map((h, P) => o.id === `donut_${P}` ? {
264
264
  ...h,
265
- value: i,
266
- VALUE: i
265
+ value: u,
266
+ VALUE: u
267
267
  } : h)
268
- }) : (t += i * 0.025, p.value = {
268
+ }) : (t += u * 0.025, p.value = {
269
269
  ...p.value,
270
270
  dataset: p.value.dataset.map((h, P) => o.id === `donut_${P}` ? {
271
271
  ...h,
@@ -277,7 +277,7 @@ const oa = ["id"], na = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
277
277
  w.value = w.value.filter((h) => h !== o.id), r();
278
278
  } else if (s.length > 1) {
279
279
  let r = function() {
280
- t < i / 100 ? (Te.value = !1, cancelAnimationFrame(rt.value), w.value.push(o.id), p.value = {
280
+ t < u / 100 ? (Oe.value = !1, cancelAnimationFrame(rt.value), w.value.push(o.id), p.value = {
281
281
  ...p.value,
282
282
  dataset: p.value.dataset.map((h, P) => o.id === `donut_${P}` ? {
283
283
  ...h,
@@ -302,19 +302,19 @@ const oa = ["id"], na = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
302
302
  }
303
303
  const vt = U(() => e.value.donutThicknessRatio < 0.15 ? 0.15 : e.value.donutThicknessRatio > 0.4 ? 0.4 : e.value.donutThicknessRatio), I = U(() => {
304
304
  if (L.value !== A.DONUT) return null;
305
- const o = p.value.dataset.map((n, u) => ({
305
+ const o = p.value.dataset.map((n, i) => ({
306
306
  ...n,
307
307
  value: n.VALUE || n.DATA || n.SERIE || n.VALUES || n.NUM || 0,
308
- name: n.NAME || n.DESCRIPTION || n.TITLE || n.LABEL || `Serie ${u}`,
309
- id: `donut_${u}`
310
- })).map((n, u) => ({
308
+ name: n.NAME || n.DESCRIPTION || n.TITLE || n.LABEL || `Serie ${i}`,
309
+ id: `donut_${i}`
310
+ })).map((n, i) => ({
311
311
  ...n,
312
- color: n.COLOR ? He(n.COLOR) : ke.value[u + e.value.paletteStartIndex] || q[u + e.value.paletteStartIndex] || q[(u + e.value.paletteStartIndex) % q.length],
312
+ color: n.COLOR ? He(n.COLOR) : ke.value[i + e.value.paletteStartIndex] || q[i + e.value.paletteStartIndex] || q[(i + e.value.paletteStartIndex) % q.length],
313
313
  immutableValue: n.value
314
314
  }));
315
- function s(n, u) {
316
- return B({
317
- v: isNaN(n.value / ut(u)) ? 0 : n.value / ut(u) * 100,
315
+ function s(n, i) {
316
+ return D({
317
+ v: isNaN(n.value / it(i)) ? 0 : n.value / it(i) * 100,
318
318
  s: "%",
319
319
  r: e.value.dataLabelRoundingPercentage
320
320
  });
@@ -322,22 +322,22 @@ const oa = ["id"], na = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
322
322
  function t(n) {
323
323
  return n.proportion * 100 > e.value.donutHideLabelUnderPercentage;
324
324
  }
325
- function i(n, u) {
326
- const S = be.value.dataset.find((E, F) => `donut_${F}` === n).VALUE;
327
- return Math.abs(String(Number(S.toFixed(0))).length - String(Number(u.toFixed(0))).length);
325
+ function u(n, i) {
326
+ const S = be.value.dataset.find((E, N) => `donut_${N}` === n).VALUE;
327
+ return Math.abs(String(Number(S.toFixed(0))).length - String(Number(i.toFixed(0))).length);
328
328
  }
329
- function r({ datapoint: n, seriesIndex: u }) {
330
- xe.value = { datapoint: n, seriesIndex: u, config: e.value, dataset: o }, W.value = n.id;
329
+ function r({ datapoint: n, seriesIndex: i }) {
330
+ ye.value = { datapoint: n, seriesIndex: i, config: e.value, dataset: o }, W.value = n.id;
331
331
  const S = e.value.tooltipCustomFormat;
332
- if (Fe(S) && je(() => S({
332
+ if (Ne(S) && je(() => S({
333
333
  datapoint: n,
334
- seriesIndex: u,
334
+ seriesIndex: i,
335
335
  series: o,
336
336
  config: e.value
337
337
  })))
338
338
  te.value = S({
339
339
  datapoint: n,
340
- seriesIndex: u,
340
+ seriesIndex: i,
341
341
  series: o,
342
342
  config: e.value
343
343
  });
@@ -346,14 +346,14 @@ const oa = ["id"], na = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
346
346
  k += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.tooltipBorderColor};padding-bottom:6px;margin-bottom:3px;">${n.name}</div>`, k += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${n.color}"/></svg>`, k += `<b>${X(
347
347
  e.value.formatter,
348
348
  n.value,
349
- B({
349
+ D({
350
350
  p: e.value.valuePrefix,
351
351
  v: n.value,
352
352
  s: e.value.valueSuffix,
353
353
  r: e.value.dataLabelRoundingValue
354
354
  }),
355
- { datapoint: n, seriesIndex: u }
356
- )}</b>`, k += `<span>(${B({ v: n.proportion * 100, s: "%", r: e.value.dataLabelRoundingPercentage })})</span></div>`, te.value = `<div>${k}</div>`;
355
+ { datapoint: n, seriesIndex: i }
356
+ )}</b>`, k += `<span>(${D({ v: n.proportion * 100, s: "%", r: e.value.dataLabelRoundingPercentage })})</span></div>`, te.value = `<div>${k}</div>`;
357
357
  }
358
358
  ee.value = !0;
359
359
  }
@@ -363,7 +363,7 @@ const oa = ["id"], na = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
363
363
  const P = {
364
364
  centerX: b.value.width / 2,
365
365
  centerY: b.value.height / 2
366
- }, V = o.filter((n) => !w.value.includes(n.id)).map((n) => n.value || 0).reduce((n, u) => n + u, 0), ve = o.map((n, u) => ({
366
+ }, V = o.filter((n) => !w.value.includes(n.id)).map((n) => n.value || 0).reduce((n, i) => n + i, 0), ve = o.map((n, i) => ({
367
367
  ...n,
368
368
  proportion: (n.value || 0) / V,
369
369
  value: n.value || 0,
@@ -377,7 +377,7 @@ const oa = ["id"], na = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
377
377
  isArcBigEnough: t,
378
378
  useTooltip: r,
379
379
  killTooltip: h,
380
- getSpaces: i,
380
+ getSpaces: u,
381
381
  total: V,
382
382
  cx: ae,
383
383
  cy: de,
@@ -396,7 +396,7 @@ const oa = ["id"], na = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
396
396
  b.value.height * vt.value
397
397
  )
398
398
  };
399
- }), x = z({
399
+ }), y = z({
400
400
  start: 0,
401
401
  end: p.value.maxSeriesLength
402
402
  });
@@ -405,7 +405,7 @@ const oa = ["id"], na = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
405
405
  }
406
406
  const se = z(null);
407
407
  async function dt() {
408
- (e.value.zoomStartIndex !== null || e.value.zoomEndIndex !== null) && se.value ? (e.value.zoomStartIndex !== null && (await Me(), await Me(), se.value && se.value.setStartValue(e.value.zoomStartIndex)), e.value.zoomEndIndex !== null && (await Me(), await Me(), se.value && se.value.setEndValue(Ct(e.value.zoomEndIndex + 1)))) : (x.value = {
408
+ (e.value.zoomStartIndex !== null || e.value.zoomEndIndex !== null) && se.value ? (e.value.zoomStartIndex !== null && (await Me(), await Me(), se.value && se.value.setStartValue(e.value.zoomStartIndex)), e.value.zoomEndIndex !== null && (await Me(), await Me(), se.value && se.value.setEndValue(Ct(e.value.zoomEndIndex + 1)))) : (y.value = {
409
409
  start: 0,
410
410
  end: p.value.maxSeriesLength
411
411
  }, Ce.value += 1);
@@ -428,9 +428,9 @@ const oa = ["id"], na = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
428
428
  else
429
429
  for (let r = 0; r < s; r += 1)
430
430
  t.push(o.map((h) => h.values[r] || 0).reduce((h, P) => (h || 0) + (P || 0), 0));
431
- const i = Math.min(...t);
432
- return t.map((r) => r + (i < 0 ? Math.abs(i) : 0));
433
- }), d = U(() => {
431
+ const u = Math.min(...t);
432
+ return t.map((r) => r + (u < 0 ? Math.abs(u) : 0));
433
+ }), v = U(() => {
434
434
  if (L.value !== A.LINE) return null;
435
435
  const o = {
436
436
  height: b.value.height,
@@ -446,32 +446,32 @@ const oa = ["id"], na = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
446
446
  let t = [];
447
447
  Y(p.value.dataset) && (t = [
448
448
  {
449
- values: p.value.dataset.slice(x.value.start, x.value.end),
450
- absoluteIndices: p.value.dataset.map((n, u) => u).slice(x.value.start, x.value.end),
449
+ values: p.value.dataset.slice(y.value.start, y.value.end),
450
+ absoluteIndices: p.value.dataset.map((n, i) => i).slice(y.value.start, y.value.end),
451
451
  name: e.value.title,
452
452
  color: ke.value[e.value.paletteStartIndex] || q[e.value.paletteStartIndex],
453
453
  id: "line_0"
454
454
  }
455
- ]), Ue(p.value.dataset) && (t = p.value.dataset.map((n, u) => ({
455
+ ]), Ue(p.value.dataset) && (t = p.value.dataset.map((n, i) => ({
456
456
  ...n,
457
457
  values: n.VALUE || n.DATA || n.SERIE || n.SERIES || n.VALUES || n.NUM || 0,
458
- name: n.NAME || n.DESCRIPTION || n.TITLE || n.LABEL || `Serie ${u}`,
459
- id: `line_${u}`
460
- })).map((n, u) => ({
458
+ name: n.NAME || n.DESCRIPTION || n.TITLE || n.LABEL || `Serie ${i}`,
459
+ id: `line_${i}`
460
+ })).map((n, i) => ({
461
461
  ...n,
462
- color: n.COLOR ? He(n.COLOR) : ke.value[u + e.value.paletteStartIndex] || q[u + e.value.paletteStartIndex] || q[(u + e.value.paletteStartIndex) % q.length],
463
- values: n.values.slice(x.value.start, x.value.end),
464
- absoluteIndices: n.values.map((S, k) => k).slice(x.value.start, x.value.end)
462
+ color: n.COLOR ? He(n.COLOR) : ke.value[i + e.value.paletteStartIndex] || q[i + e.value.paletteStartIndex] || q[(i + e.value.paletteStartIndex) % q.length],
463
+ values: n.values.slice(y.value.start, y.value.end),
464
+ absoluteIndices: n.values.map((S, k) => k).slice(y.value.start, y.value.end)
465
465
  })));
466
- const i = {
466
+ const u = {
467
467
  max: Math.max(...t.filter((n) => !w.value.includes(n.id)).flatMap((n) => n.values)),
468
468
  min: Math.min(...t.filter((n) => !w.value.includes(n.id)).flatMap((n) => n.values)),
469
469
  maxSeries: Math.max(...t.map((n) => n.values.length))
470
- }, r = gt(i.min < 0 ? i.min : 0, i.max < 0 ? 0 : i.max, e.value.xyScaleSegments), h = i.min < 0 ? Math.abs(i.min) : 0, P = i.max < 0 ? s.top : s.bottom - h / (r.max + h) * s.height, V = s.width / i.maxSeries, ve = r.ticks.map((n) => ({
470
+ }, r = gt(u.min < 0 ? u.min : 0, u.max < 0 ? 0 : u.max, e.value.xyScaleSegments), h = u.min < 0 ? Math.abs(u.min) : 0, P = u.max < 0 ? s.top : s.bottom - h / (r.max + h) * s.height, V = s.width / u.maxSeries, ve = r.ticks.map((n) => ({
471
471
  y: s.bottom - s.height * ((n + h) / (r.max + h)),
472
472
  x: s.left - 8,
473
473
  value: n
474
- })), ae = t.map((n, u) => ({
474
+ })), ae = t.map((n, i) => ({
475
475
  ...n,
476
476
  coordinates: n.values.map((S, k) => ({
477
477
  x: s.left + V * (k + 1) - V / 2,
@@ -479,38 +479,38 @@ const oa = ["id"], na = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
479
479
  value: S
480
480
  }))
481
481
  })).map((n) => {
482
- let u = [];
482
+ let i = [];
483
483
  return n.coordinates.forEach((S) => {
484
- u.push(`${S.x},${S.y} `);
484
+ i.push(`${S.x},${S.y} `);
485
485
  }), {
486
486
  ...n,
487
- linePath: u.join(" ")
487
+ linePath: i.join(" ")
488
488
  };
489
489
  });
490
490
  function de(n) {
491
491
  W.value = n, j.value = n;
492
- const u = t.map((k) => ({
492
+ const i = t.map((k) => ({
493
493
  ...k,
494
494
  value: k.values[n],
495
495
  absoluteIndex: k.absoluteIndices[n]
496
496
  })).filter((k) => !w.value.includes(k.id));
497
- xe.value = { datapoint: u, seriesIndex: n, config: e.value, dataset: t };
497
+ ye.value = { datapoint: i, seriesIndex: n, config: e.value, dataset: t };
498
498
  const S = e.value.tooltipCustomFormat;
499
- if (Fe(S) && je(() => S({
500
- datapoint: u,
499
+ if (Ne(S) && je(() => S({
500
+ datapoint: i,
501
501
  seriesIndex: n,
502
502
  series: t,
503
503
  config: e.value
504
504
  })))
505
505
  te.value = S({
506
- datapoint: u,
506
+ datapoint: i,
507
507
  seriesIndex: n,
508
508
  series: t,
509
509
  config: e.value
510
510
  });
511
511
  else {
512
512
  let k = "";
513
- K.value[u[0].absoluteIndex] && (k += `<div style="border-bottom:1px solid ${e.value.tooltipBorderColor};padding-bottom:6px;margin-bottom:3px;">${K.value[u[0].absoluteIndex].text}</div>`), u.forEach((E, F) => {
513
+ K.value[i[0].absoluteIndex] && (k += `<div style="border-bottom:1px solid ${e.value.tooltipBorderColor};padding-bottom:6px;margin-bottom:3px;">${K.value[i[0].absoluteIndex].text}</div>`), i.forEach((E, N) => {
514
514
  k += `
515
515
  <div style="display:flex; flex-wrap: wrap; align-items:center; gap:3px;">
516
516
  <svg viewBox="0 0 12 12" height="14" width="12"><circle cx="6" cy="6" r="6" stroke="none" fill="${E.color}"/></svg>
@@ -518,13 +518,13 @@ const oa = ["id"], na = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
518
518
  <b>${X(
519
519
  e.value.formatter,
520
520
  E.value,
521
- B({
521
+ D({
522
522
  p: e.value.valuePrefix,
523
523
  v: E.value,
524
524
  s: e.value.valueSuffix,
525
525
  r: e.value.dataLabelRoundingValue
526
526
  }),
527
- { datapoint: E, seriesIndex: F }
527
+ { datapoint: E, seriesIndex: N }
528
528
  )}
529
529
  </b>
530
530
  </div>
@@ -541,13 +541,13 @@ const oa = ["id"], na = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
541
541
  dataset: ae.filter((n) => !w.value.includes(n.id)),
542
542
  legend: ae,
543
543
  drawingArea: s,
544
- extremes: i,
544
+ extremes: u,
545
545
  slotSize: V,
546
546
  yLabels: ve,
547
547
  useTooltip: de,
548
548
  killTooltip: le
549
549
  };
550
- }), v = U(() => {
550
+ }), d = U(() => {
551
551
  if (L.value !== A.BAR) return null;
552
552
  const o = {
553
553
  height: b.value.height,
@@ -563,94 +563,94 @@ const oa = ["id"], na = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
563
563
  let t = [];
564
564
  Y(p.value.dataset) && (t = [
565
565
  {
566
- values: p.value.dataset.slice(x.value.start, x.value.end),
567
- absoluteIndices: p.value.dataset.map((u, S) => S).slice(x.value.start, x.value.end),
566
+ values: p.value.dataset.slice(y.value.start, y.value.end),
567
+ absoluteIndices: p.value.dataset.map((i, S) => S).slice(y.value.start, y.value.end),
568
568
  name: e.value.title,
569
569
  color: ke.value[e.value.paletteStartIndex] || q[e.value.paletteStartIndex],
570
570
  id: "bar_0"
571
571
  }
572
- ]), Ue(p.value.dataset) && (t = p.value.dataset.map((u, S) => ({
573
- ...u,
574
- values: u.VALUE || u.DATA || u.SERIE || u.SERIES || u.VALUES || u.NUM || 0,
575
- name: u.NAME || u.DESCRIPTION || u.TITLE || u.LABEL || `Serie ${S}`,
572
+ ]), Ue(p.value.dataset) && (t = p.value.dataset.map((i, S) => ({
573
+ ...i,
574
+ values: i.VALUE || i.DATA || i.SERIE || i.SERIES || i.VALUES || i.NUM || 0,
575
+ name: i.NAME || i.DESCRIPTION || i.TITLE || i.LABEL || `Serie ${S}`,
576
576
  id: `bar_${S}`
577
- })).map((u, S) => ({
578
- ...u,
579
- color: u.COLOR ? He(u.COLOR) : ke.value[S + e.value.paletteStartIndex] || q[S + e.value.paletteStartIndex] || q[(S + e.value.paletteStartIndex) % q.length],
580
- values: u.values.slice(x.value.start, x.value.end),
581
- absoluteIndices: u.values.map((k, E) => E).slice(x.value.start, x.value.end)
577
+ })).map((i, S) => ({
578
+ ...i,
579
+ color: i.COLOR ? He(i.COLOR) : ke.value[S + e.value.paletteStartIndex] || q[S + e.value.paletteStartIndex] || q[(S + e.value.paletteStartIndex) % q.length],
580
+ values: i.values.slice(y.value.start, y.value.end),
581
+ absoluteIndices: i.values.map((k, E) => E).slice(y.value.start, y.value.end)
582
582
  })));
583
- const i = {
584
- max: Math.max(...t.filter((u) => !w.value.includes(u.id)).flatMap((u) => u.values)) < 0 ? 0 : Math.max(...t.filter((u) => !w.value.includes(u.id)).flatMap((u) => u.values)),
585
- min: Math.min(...t.filter((u) => !w.value.includes(u.id)).flatMap((u) => u.values)),
586
- maxSeries: Math.max(...t.filter((u) => !w.value.includes(u.id)).map((u) => u.values.length))
587
- }, r = gt(i.min < 0 ? i.min : 0, i.max, e.value.xyScaleSegments), h = r.min < 0 ? Math.abs(r.min) : 0, P = s.bottom - h / (r.max + h) * s.height, V = s.width / i.maxSeries, ve = r.ticks.map((u) => ({
588
- y: s.bottom - s.height * ((u + h) / (r.max + h)),
583
+ const u = {
584
+ max: Math.max(...t.filter((i) => !w.value.includes(i.id)).flatMap((i) => i.values)) < 0 ? 0 : Math.max(...t.filter((i) => !w.value.includes(i.id)).flatMap((i) => i.values)),
585
+ min: Math.min(...t.filter((i) => !w.value.includes(i.id)).flatMap((i) => i.values)),
586
+ maxSeries: Math.max(...t.filter((i) => !w.value.includes(i.id)).map((i) => i.values.length))
587
+ }, r = gt(u.min < 0 ? u.min : 0, u.max, e.value.xyScaleSegments), h = r.min < 0 ? Math.abs(r.min) : 0, P = s.bottom - h / (r.max + h) * s.height, V = s.width / u.maxSeries, ve = r.ticks.map((i) => ({
588
+ y: s.bottom - s.height * ((i + h) / (r.max + h)),
589
589
  x: s.left - 8,
590
- value: u
591
- })), ae = t.map((u, S) => ({
592
- ...u,
593
- coordinates: u.values.map((k, E) => {
594
- const F = (k + h) / (i.max + h) * s.height, Ae = Math.abs(k) / Math.abs(i.min) * (s.height - P), Be = h / (i.max + h) * s.height, _e = V / t.filter((oe) => !w.value.includes(oe.id)).length - e.value.barGap / t.filter((oe) => !w.value.includes(oe.id)).length;
590
+ value: i
591
+ })), ae = t.map((i, S) => ({
592
+ ...i,
593
+ coordinates: i.values.map((k, E) => {
594
+ const N = (k + h) / (u.max + h) * s.height, Ae = Math.abs(k) / Math.abs(u.min) * (s.height - P), De = h / (u.max + h) * s.height, _e = V / t.filter((oe) => !w.value.includes(oe.id)).length - e.value.barGap / t.filter((oe) => !w.value.includes(oe.id)).length;
595
595
  return {
596
596
  x: s.left + V * E + _e * S + e.value.barGap / 2,
597
- y: k > 0 ? s.bottom - F : P,
598
- height: k > 0 ? F - Be : Ae,
597
+ y: k > 0 ? s.bottom - N : P,
598
+ height: k > 0 ? N - De : Ae,
599
599
  value: k,
600
600
  width: _e
601
601
  };
602
602
  })
603
- })), de = t.filter((u) => !w.value.includes(u.id)).map((u, S) => ({
604
- ...u,
605
- coordinates: u.values.map((k, E) => {
606
- const F = (k + h) / (i.max + h) * s.height, Ae = Math.abs(k) / (i.max + h) * s.height, Be = h / (i.max + h) * s.height, _e = V / t.filter((oe) => !w.value.includes(oe.id)).length - e.value.barGap / t.filter((oe) => !w.value.includes(oe.id)).length;
603
+ })), de = t.filter((i) => !w.value.includes(i.id)).map((i, S) => ({
604
+ ...i,
605
+ coordinates: i.values.map((k, E) => {
606
+ const N = (k + h) / (u.max + h) * s.height, Ae = Math.abs(k) / (u.max + h) * s.height, De = h / (u.max + h) * s.height, _e = V / t.filter((oe) => !w.value.includes(oe.id)).length - e.value.barGap / t.filter((oe) => !w.value.includes(oe.id)).length;
607
607
  return {
608
608
  x: s.left + V * E + _e * S + e.value.barGap / 2,
609
- y: k > 0 ? s.bottom - F : P,
610
- height: k > 0 ? F - Be : Ae,
609
+ y: k > 0 ? s.bottom - N : P,
610
+ height: k > 0 ? N - De : Ae,
611
611
  value: k,
612
612
  width: _e
613
613
  };
614
614
  })
615
615
  }));
616
- function le(u) {
617
- W.value = u, j.value = u;
616
+ function le(i) {
617
+ W.value = i, j.value = i;
618
618
  const S = t.map((E) => ({
619
619
  ...E,
620
- value: E.values[u],
621
- absoluteIndex: E.absoluteIndices[u]
620
+ value: E.values[i],
621
+ absoluteIndex: E.absoluteIndices[i]
622
622
  })).filter((E) => !w.value.includes(E.id));
623
- xe.value = { datapoint: S, seriesIndex: u, config: e.value, dataset: t };
623
+ ye.value = { datapoint: S, seriesIndex: i, config: e.value, dataset: t };
624
624
  const k = e.value.tooltipCustomFormat;
625
- if (Fe(k) && je(() => k({
625
+ if (Ne(k) && je(() => k({
626
626
  datapoint: S,
627
- seriesIndex: u,
627
+ seriesIndex: i,
628
628
  series: t,
629
629
  config: e.value
630
630
  })))
631
631
  te.value = k({
632
632
  point: S,
633
- seriesIndex: u,
633
+ seriesIndex: i,
634
634
  series: t,
635
635
  config: e.value
636
636
  });
637
637
  else {
638
638
  let E = "";
639
- K.value[S[0].absoluteIndex] && (E += `<div style="border-bottom:1px solid ${e.value.tooltipBorderColor};padding-bottom:6px;margin-bottom:3px;">${K.value[S[0].absoluteIndex].text}</div>`), S.forEach((F, Ae) => {
639
+ K.value[S[0].absoluteIndex] && (E += `<div style="border-bottom:1px solid ${e.value.tooltipBorderColor};padding-bottom:6px;margin-bottom:3px;">${K.value[S[0].absoluteIndex].text}</div>`), S.forEach((N, Ae) => {
640
640
  E += `
641
641
  <div style="display:flex; flex-wrap: wrap; align-items:center; gap:3px;">
642
- <svg viewBox="0 0 12 12" height="14" width="12"><rect x=0 y="0" width="12" height="12" rx="1" stroke="none" fill="${F.color}"/></svg>
643
- <span>${F.name}:</span>
642
+ <svg viewBox="0 0 12 12" height="14" width="12"><rect x=0 y="0" width="12" height="12" rx="1" stroke="none" fill="${N.color}"/></svg>
643
+ <span>${N.name}:</span>
644
644
  <b>${X(
645
645
  e.value.formatter,
646
- F.value,
647
- B({
646
+ N.value,
647
+ D({
648
648
  p: e.value.valuePrefix,
649
- v: F.value,
649
+ v: N.value,
650
650
  s: e.value.valueSuffix,
651
651
  r: e.value.dataLabelRoundingValue
652
652
  }),
653
- { datapoint: F, seriesIndex: Ae }
653
+ { datapoint: N, seriesIndex: Ae }
654
654
  )}
655
655
  </b>
656
656
  </div>
@@ -664,21 +664,21 @@ const oa = ["id"], na = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
664
664
  }
665
665
  return {
666
666
  absoluteZero: P,
667
- dataset: de.filter((u) => !w.value.includes(u.id)),
667
+ dataset: de.filter((i) => !w.value.includes(i.id)),
668
668
  legend: ae,
669
669
  drawingArea: s,
670
- extremes: i,
670
+ extremes: u,
671
671
  slotSize: V,
672
672
  yLabels: ve,
673
673
  useTooltip: le,
674
674
  killTooltip: n
675
675
  };
676
- }), K = U(() => Yt({
676
+ }), K = U(() => Jt({
677
677
  values: e.value.xyPeriods,
678
678
  maxDatapoints: p.value.maxSeriesLength,
679
679
  formatter: e.value.datetimeFormatter,
680
- start: x.value.start,
681
- end: x.value.end
680
+ start: y.value.start,
681
+ end: y.value.end
682
682
  })), Pe = z(!1);
683
683
  function Et(o) {
684
684
  Pe.value = o, Qe.value += 1;
@@ -687,31 +687,31 @@ const oa = ["id"], na = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
687
687
  Se.value.showTooltip = !Se.value.showTooltip;
688
688
  }
689
689
  const Re = z(!1);
690
- function De() {
690
+ function Be() {
691
691
  Re.value = !Re.value;
692
692
  }
693
693
  return C({
694
694
  generatePdf: lt,
695
695
  generateImage: ot,
696
696
  toggleTooltip: ct,
697
- toggleAnnotator: De
697
+ toggleAnnotator: Be
698
698
  }), (o, s) => wt.value ? (a(), l("div", {
699
699
  key: 0,
700
700
  id: `${L.value}_${J.value}`,
701
701
  ref_key: "quickChart",
702
- ref: ye,
702
+ ref: xe,
703
703
  class: he({ "vue-ui-quick-chart": !0, "vue-data-ui-wrapper-fullscreen": Pe.value }),
704
704
  style: R(`background:${e.value.backgroundColor};color:${e.value.color};font-family:${e.value.fontFamily}; position: relative; ${e.value.responsive ? "height: 100%" : ""}`),
705
705
  onMouseenter: s[5] || (s[5] = () => tt(!0)),
706
706
  onMouseleave: s[6] || (s[6] = () => tt(!1))
707
707
  }, [
708
- e.value.userOptionsButtons.annotator ? (a(), Ne(f(ge), {
708
+ e.value.userOptionsButtons.annotator ? (a(), Fe(f(ge), {
709
709
  key: 0,
710
710
  svgRef: f(Ke),
711
711
  backgroundColor: e.value.backgroundColor,
712
712
  color: e.value.color,
713
713
  active: Re.value,
714
- onClose: De
714
+ onClose: Be
715
715
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : g("", !0),
716
716
  At.value ? (a(), l("div", {
717
717
  key: 1,
@@ -720,13 +720,13 @@ const oa = ["id"], na = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
720
720
  class: "vue-data-ui-no-title-space",
721
721
  style: "height:36px; width: 100%;background:transparent"
722
722
  }, null, 512)) : g("", !0),
723
- e.value.showUserOptions && (et.value || Ie.value) ? (a(), Ne(f($e), {
723
+ e.value.showUserOptions && (et.value || Ie.value) ? (a(), Fe(f($e), {
724
724
  ref: "details",
725
725
  key: `user_option_${Qe.value}`,
726
726
  backgroundColor: e.value.backgroundColor,
727
727
  color: e.value.color,
728
728
  isPrinting: f(Ee),
729
- isImaging: f(Oe),
729
+ isImaging: f(Te),
730
730
  uid: J.value,
731
731
  hasTooltip: e.value.userOptionsButtons.tooltip && e.value.showTooltip,
732
732
  hasPdf: e.value.userOptionsButtons.pdf,
@@ -736,7 +736,7 @@ const oa = ["id"], na = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
736
736
  isTooltip: Se.value.showTooltip,
737
737
  isFullscreen: Pe.value,
738
738
  titles: { ...e.value.userOptionsButtonTitles },
739
- chartElement: ye.value,
739
+ chartElement: xe.value,
740
740
  position: e.value.userOptionsPosition,
741
741
  hasAnnotator: e.value.userOptionsButtons.annotator,
742
742
  isAnnotation: Re.value,
@@ -745,15 +745,15 @@ const oa = ["id"], na = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
745
745
  onGeneratePdf: f(lt),
746
746
  onGenerateImage: f(ot),
747
747
  onToggleTooltip: ct,
748
- onToggleAnnotator: De,
748
+ onToggleAnnotator: Be,
749
749
  style: R({
750
750
  visibility: et.value ? Ie.value ? "visible" : "hidden" : "visible"
751
751
  })
752
752
  }, Pt({ _: 2 }, [
753
753
  o.$slots.menuIcon ? {
754
754
  name: "menuIcon",
755
- fn: G(({ isOpen: t, color: i }) => [
756
- M(o.$slots, "menuIcon", ne(ue({ isOpen: t, color: i })), void 0, !0)
755
+ fn: G(({ isOpen: t, color: u }) => [
756
+ M(o.$slots, "menuIcon", ne(ie({ isOpen: t, color: u })), void 0, !0)
757
757
  ]),
758
758
  key: "0"
759
759
  } : void 0,
@@ -780,15 +780,15 @@ const oa = ["id"], na = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
780
780
  } : void 0,
781
781
  o.$slots.optionFullscreen ? {
782
782
  name: "optionFullscreen",
783
- fn: G(({ toggleFullscreen: t, isFullscreen: i }) => [
784
- M(o.$slots, "optionFullscreen", ne(ue({ toggleFullscreen: t, isFullscreen: i })), void 0, !0)
783
+ fn: G(({ toggleFullscreen: t, isFullscreen: u }) => [
784
+ M(o.$slots, "optionFullscreen", ne(ie({ toggleFullscreen: t, isFullscreen: u })), void 0, !0)
785
785
  ]),
786
786
  key: "4"
787
787
  } : void 0,
788
788
  o.$slots.optionAnnotator ? {
789
789
  name: "optionAnnotator",
790
- fn: G(({ toggleAnnotator: t, isAnnotator: i }) => [
791
- M(o.$slots, "optionAnnotator", ne(ue({ toggleAnnotator: t, isAnnotator: i })), void 0, !0)
790
+ fn: G(({ toggleAnnotator: t, isAnnotator: u }) => [
791
+ M(o.$slots, "optionAnnotator", ne(ie({ toggleAnnotator: t, isAnnotator: u })), void 0, !0)
792
792
  ]),
793
793
  key: "5"
794
794
  } : void 0
@@ -799,7 +799,7 @@ const oa = ["id"], na = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
799
799
  ref: Ge,
800
800
  class: "vue-ui-quick-chart-title",
801
801
  style: R(`background:transparent;color:${e.value.color};font-size:${e.value.titleFontSize}px;font-weight:${e.value.titleBold ? "bold" : "normal"};text-align:${e.value.titleTextAlign}`)
802
- }, O(e.value.title), 5)) : g("", !0),
802
+ }, T(e.value.title), 5)) : g("", !0),
803
803
  L.value ? (a(), l("svg", {
804
804
  key: 4,
805
805
  ref_key: "svgRef",
@@ -811,10 +811,10 @@ const oa = ["id"], na = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
811
811
  fe(f(H)),
812
812
  o.$slots["chart-background"] && L.value === A.BAR ? (a(), l("foreignObject", {
813
813
  key: 0,
814
- x: v.value.drawingArea.left,
815
- y: v.value.drawingArea.top,
816
- width: v.value.drawingArea.width,
817
- height: v.value.drawingArea.height,
814
+ x: d.value.drawingArea.left,
815
+ y: d.value.drawingArea.top,
816
+ width: d.value.drawingArea.width,
817
+ height: d.value.drawingArea.height,
818
818
  style: {
819
819
  pointerEvents: "none"
820
820
  }
@@ -823,16 +823,16 @@ const oa = ["id"], na = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
823
823
  ], 8, ua)) : g("", !0),
824
824
  o.$slots["chart-background"] && L.value === A.LINE ? (a(), l("foreignObject", {
825
825
  key: 1,
826
- x: d.value.drawingArea.left,
827
- y: d.value.drawingArea.top,
828
- width: d.value.drawingArea.width,
829
- height: d.value.drawingArea.height,
826
+ x: v.value.drawingArea.left,
827
+ y: v.value.drawingArea.top,
828
+ width: v.value.drawingArea.width,
829
+ height: v.value.drawingArea.height,
830
830
  style: {
831
831
  pointerEvents: "none"
832
832
  }
833
833
  }, [
834
834
  M(o.$slots, "chart-background", {}, void 0, !0)
835
- ], 8, ia)) : g("", !0),
835
+ ], 8, ra)) : g("", !0),
836
836
  o.$slots["chart-background"] && L.value === A.DONUT ? (a(), l("foreignObject", {
837
837
  key: 2,
838
838
  x: 0,
@@ -844,7 +844,7 @@ const oa = ["id"], na = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
844
844
  }
845
845
  }, [
846
846
  M(o.$slots, "chart-background", {}, void 0, !0)
847
- ], 8, ra)) : g("", !0),
847
+ ], 8, sa)) : g("", !0),
848
848
  _("defs", null, [
849
849
  _("filter", {
850
850
  id: `blur_${J.value}`,
@@ -857,12 +857,12 @@ const oa = ["id"], na = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
857
857
  in: "SourceGraphic",
858
858
  stdDeviation: 2,
859
859
  id: `blur_std_${J.value}`
860
- }, null, 8, va),
860
+ }, null, 8, da),
861
861
  s[7] || (s[7] = _("feColorMatrix", {
862
862
  type: "saturate",
863
863
  values: "0"
864
864
  }, null, -1))
865
- ], 8, sa),
865
+ ], 8, va),
866
866
  _("filter", {
867
867
  id: `shadow_${J.value}`,
868
868
  "color-interpolation-filters": "sRGB"
@@ -873,12 +873,12 @@ const oa = ["id"], na = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
873
873
  stdDeviation: "10",
874
874
  "flood-opacity": "0.5",
875
875
  "flood-color": e.value.donutShadowColor
876
- }, null, 8, ca)
877
- ], 8, da)
876
+ }, null, 8, ha)
877
+ ], 8, ca)
878
878
  ]),
879
879
  L.value === A.DONUT ? (a(), l(m, { key: 3 }, [
880
- e.value.showDataLabels ? (a(), l("g", ha, [
881
- (a(!0), l(m, null, $(I.value.chart, (t, i) => (a(), l(m, null, [
880
+ e.value.showDataLabels ? (a(), l("g", fa, [
881
+ (a(!0), l(m, null, $(I.value.chart, (t, u) => (a(), l(m, null, [
882
882
  I.value.isArcBigEnough(t) ? (a(), l("path", {
883
883
  key: 0,
884
884
  d: f(Ht)(t, { x: b.value.width / 2, y: b.value.height / 2 }, 16, 16, !1, !1, b.value.height * vt.value),
@@ -888,7 +888,7 @@ const oa = ["id"], na = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
888
888
  "stroke-linejoin": "round",
889
889
  fill: "none",
890
890
  filter: we(t.id)
891
- }, null, 8, fa)) : g("", !0)
891
+ }, null, 8, ga)) : g("", !0)
892
892
  ], 64))), 256))
893
893
  ])) : g("", !0),
894
894
  _("circle", {
@@ -897,25 +897,25 @@ const oa = ["id"], na = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
897
897
  r: I.value.radius,
898
898
  fill: e.value.backgroundColor,
899
899
  filter: e.value.donutUseShadow ? `url(#shadow_${J.value})` : ""
900
- }, null, 8, ga),
901
- _("g", ma, [
902
- (a(!0), l(m, null, $(I.value.chart, (t, i) => (a(), l("path", {
900
+ }, null, 8, ma),
901
+ _("g", pa, [
902
+ (a(!0), l(m, null, $(I.value.chart, (t, u) => (a(), l("path", {
903
903
  d: t.arcSlice,
904
904
  fill: t.color,
905
905
  stroke: e.value.backgroundColor,
906
906
  "stroke-width": e.value.donutStrokeWidth,
907
907
  filter: we(t.id)
908
- }, null, 8, pa))), 256)),
909
- (a(!0), l(m, null, $(I.value.chart, (t, i) => (a(), l("path", {
908
+ }, null, 8, xa))), 256)),
909
+ (a(!0), l(m, null, $(I.value.chart, (t, u) => (a(), l("path", {
910
910
  d: t.arcSlice,
911
911
  fill: "transparent",
912
- onMouseenter: (r) => I.value.useTooltip({ datapoint: t, seriesIndex: i }),
912
+ onMouseenter: (r) => I.value.useTooltip({ datapoint: t, seriesIndex: u }),
913
913
  onMouseout: s[0] || (s[0] = (r) => I.value.killTooltip()),
914
- onClick: (r) => ie("selectDatapoint", t)
914
+ onClick: (r) => ue("selectDatapoint", t)
915
915
  }, null, 40, ya))), 256))
916
916
  ]),
917
- e.value.showDataLabels ? (a(), l("g", xa, [
918
- (a(!0), l(m, null, $(I.value.chart, (t, i) => (a(), l(m, null, [
917
+ e.value.showDataLabels ? (a(), l("g", ka, [
918
+ (a(!0), l(m, null, $(I.value.chart, (t, u) => (a(), l(m, null, [
919
919
  I.value.isArcBigEnough(t) ? (a(), l("circle", {
920
920
  key: 0,
921
921
  cx: f(Le)(t).x,
@@ -925,7 +925,7 @@ const oa = ["id"], na = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
925
925
  "stroke-width": 1,
926
926
  r: 3,
927
927
  filter: we(t.id)
928
- }, null, 8, ka)) : g("", !0),
928
+ }, null, 8, ba)) : g("", !0),
929
929
  I.value.isArcBigEnough(t) ? (a(), l("text", {
930
930
  key: 1,
931
931
  "text-anchor": f(Le)(t, !0, 20).anchor,
@@ -934,17 +934,17 @@ const oa = ["id"], na = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
934
934
  fill: e.value.color,
935
935
  "font-size": e.value.dataLabelFontSize,
936
936
  filter: we(t.id)
937
- }, O(I.value.displayArcPercentage(t, I.value.chart)) + " (" + O(f(X)(
937
+ }, T(I.value.displayArcPercentage(t, I.value.chart)) + " (" + T(f(X)(
938
938
  e.value.formatter,
939
939
  t.value,
940
- f(B)({
940
+ f(D)({
941
941
  p: e.value.valuePrefix,
942
942
  v: t.value,
943
943
  s: e.value.valueSuffix,
944
944
  r: e.value.dataLabelRoundingValue
945
945
  }),
946
- { datapoint: t, seriesIndex: i }
947
- )) + ") ", 9, ba)) : g("", !0),
946
+ { datapoint: t, seriesIndex: u }
947
+ )) + ") ", 9, Sa)) : g("", !0),
948
948
  I.value.isArcBigEnough(t, !0, 20) ? (a(), l("text", {
949
949
  key: 2,
950
950
  "text-anchor": f(Le)(t).anchor,
@@ -953,130 +953,146 @@ const oa = ["id"], na = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
953
953
  fill: e.value.color,
954
954
  "font-size": e.value.dataLabelFontSize,
955
955
  filter: we(t.id)
956
- }, O(t.name), 9, Sa)) : g("", !0)
956
+ }, T(t.name), 9, wa)) : g("", !0)
957
957
  ], 64))), 256))
958
958
  ])) : g("", !0),
959
- e.value.donutShowTotal ? (a(), l("g", wa, [
959
+ e.value.donutShowTotal ? (a(), l("g", Aa, [
960
960
  _("text", {
961
961
  "text-anchor": "middle",
962
962
  x: I.value.drawingArea.centerX,
963
963
  y: I.value.drawingArea.centerY - e.value.donutTotalLabelFontSize / 2,
964
964
  "font-size": e.value.donutTotalLabelFontSize,
965
965
  fill: e.value.color
966
- }, O(e.value.donutTotalLabelText), 9, Aa),
966
+ }, T(e.value.donutTotalLabelText), 9, _a),
967
967
  _("text", {
968
968
  "text-anchor": "middle",
969
969
  x: I.value.drawingArea.centerX,
970
970
  y: I.value.drawingArea.centerY + e.value.donutTotalLabelFontSize,
971
971
  "font-size": e.value.donutTotalLabelFontSize,
972
972
  fill: e.value.color
973
- }, O(f(B)({
973
+ }, T(f(D)({
974
974
  p: e.value.valuePrefix,
975
975
  v: I.value.total,
976
976
  s: e.value.valueSuffix,
977
977
  r: e.value.dataLabelRoundingValue
978
- })), 9, _a)
978
+ })), 9, La)
979
979
  ])) : g("", !0)
980
980
  ], 64)) : g("", !0),
981
981
  L.value === A.LINE ? (a(), l(m, { key: 4 }, [
982
- e.value.xyShowGrid ? (a(), l("g", La, [
983
- (a(!0), l(m, null, $(d.value.yLabels, (t) => (a(), l(m, null, [
984
- t.y <= d.value.drawingArea.bottom ? (a(), l("line", {
982
+ e.value.xyShowGrid ? (a(), l("g", za, [
983
+ (a(!0), l(m, null, $(v.value.yLabels, (t) => (a(), l(m, null, [
984
+ t.y <= v.value.drawingArea.bottom ? (a(), l("line", {
985
985
  key: 0,
986
- x1: d.value.drawingArea.left,
987
- x2: d.value.drawingArea.right,
986
+ x1: v.value.drawingArea.left,
987
+ x2: v.value.drawingArea.right,
988
988
  y1: t.y,
989
989
  y2: t.y,
990
990
  stroke: e.value.xyGridStroke,
991
991
  "stroke-width": e.value.xyGridStrokeWidth,
992
992
  "stroke-linecap": "round"
993
- }, null, 8, za)) : g("", !0)
993
+ }, null, 8, $a)) : g("", !0)
994
994
  ], 64))), 256)),
995
- (a(!0), l(m, null, $(d.value.extremes.maxSeries + 1, (t, i) => (a(), l("line", {
996
- x1: d.value.drawingArea.left + d.value.slotSize * i,
997
- x2: d.value.drawingArea.left + d.value.slotSize * i,
998
- y1: d.value.drawingArea.top,
999
- y2: d.value.drawingArea.bottom,
995
+ (a(!0), l(m, null, $(v.value.extremes.maxSeries + 1, (t, u) => (a(), l("line", {
996
+ x1: v.value.drawingArea.left + v.value.slotSize * u,
997
+ x2: v.value.drawingArea.left + v.value.slotSize * u,
998
+ y1: v.value.drawingArea.top,
999
+ y2: v.value.drawingArea.bottom,
1000
1000
  stroke: e.value.xyGridStroke,
1001
1001
  "stroke-width": e.value.xyGridStrokeWidth,
1002
1002
  "stroke-linecap": "round"
1003
- }, null, 8, $a))), 256))
1003
+ }, null, 8, Ca))), 256))
1004
1004
  ])) : g("", !0),
1005
- e.value.xyShowAxis ? (a(), l("g", Ca, [
1005
+ e.value.xyShowAxis ? (a(), l("g", Ia, [
1006
1006
  _("line", {
1007
- x1: d.value.drawingArea.left,
1008
- x2: d.value.drawingArea.left,
1009
- y1: d.value.drawingArea.top,
1010
- y2: d.value.drawingArea.bottom,
1007
+ x1: v.value.drawingArea.left,
1008
+ x2: v.value.drawingArea.left,
1009
+ y1: v.value.drawingArea.top,
1010
+ y2: v.value.drawingArea.bottom,
1011
1011
  stroke: e.value.xyAxisStroke,
1012
1012
  "stroke-width": e.value.xyAxisStrokeWidth,
1013
1013
  "stroke-linecap": "round"
1014
- }, null, 8, Ia),
1014
+ }, null, 8, Ea),
1015
1015
  _("line", {
1016
- x1: d.value.drawingArea.left,
1017
- x2: d.value.drawingArea.right,
1018
- y1: isNaN(d.value.absoluteZero) ? d.value.drawingArea.bottom : d.value.absoluteZero,
1019
- y2: isNaN(d.value.absoluteZero) ? d.value.drawingArea.bottom : d.value.absoluteZero,
1016
+ x1: v.value.drawingArea.left,
1017
+ x2: v.value.drawingArea.right,
1018
+ y1: isNaN(v.value.absoluteZero) ? v.value.drawingArea.bottom : v.value.absoluteZero,
1019
+ y2: isNaN(v.value.absoluteZero) ? v.value.drawingArea.bottom : v.value.absoluteZero,
1020
1020
  stroke: e.value.xyAxisStroke,
1021
1021
  "stroke-width": e.value.xyAxisStrokeWidth,
1022
1022
  "stroke-linecap": "round"
1023
- }, null, 8, Ea)
1023
+ }, null, 8, Ta)
1024
1024
  ])) : g("", !0),
1025
1025
  e.value.xyShowScale ? (a(), l("g", Oa, [
1026
- (a(!0), l(m, null, $(d.value.yLabels, (t, i) => (a(), l(m, null, [
1027
- t.y <= d.value.drawingArea.bottom ? (a(), l("line", {
1026
+ (a(!0), l(m, null, $(v.value.yLabels, (t, u) => (a(), l(m, null, [
1027
+ t.y <= v.value.drawingArea.bottom ? (a(), l("line", {
1028
1028
  key: 0,
1029
1029
  x1: t.x + 4,
1030
- x2: d.value.drawingArea.left,
1030
+ x2: v.value.drawingArea.left,
1031
1031
  y1: t.y,
1032
1032
  y2: t.y,
1033
1033
  stroke: e.value.xyAxisStroke,
1034
1034
  "stroke-width": e.value.xyAxisStrokeWidth,
1035
1035
  "stroke-linecap": "round"
1036
- }, null, 8, Ta)) : g("", !0),
1037
- t.y <= d.value.drawingArea.bottom ? (a(), l("text", {
1036
+ }, null, 8, Pa)) : g("", !0),
1037
+ t.y <= v.value.drawingArea.bottom ? (a(), l("text", {
1038
1038
  key: 1,
1039
1039
  x: t.x,
1040
1040
  y: t.y + e.value.xyLabelsYFontSize / 3,
1041
1041
  "text-anchor": "end",
1042
1042
  "font-size": e.value.xyLabelsYFontSize,
1043
1043
  fill: e.value.color
1044
- }, O(f(X)(
1044
+ }, T(f(X)(
1045
1045
  e.value.formatter,
1046
1046
  t.value,
1047
- f(B)({
1047
+ f(D)({
1048
1048
  p: e.value.valuePrefix,
1049
1049
  v: t.value,
1050
1050
  s: e.value.valueSuffix,
1051
1051
  r: e.value.dataLabelRoundingValue
1052
1052
  }),
1053
- { datapoint: t, seriesIndex: i }
1054
- )), 9, Pa)) : g("", !0)
1053
+ { datapoint: t, seriesIndex: u }
1054
+ )), 9, Ra)) : g("", !0)
1055
1055
  ], 64))), 256))
1056
1056
  ])) : g("", !0),
1057
- e.value.xyShowScale && e.value.xyPeriods.length ? (a(), l("g", Ra, [
1058
- (a(!0), l(m, null, $(K.value.map((t) => t.text), (t, i) => (a(), l(m, null, [
1059
- !e.value.xyPeriodsShowOnlyAtModulo || e.value.xyPeriodsShowOnlyAtModulo && i % Math.floor((x.value.end - x.value.start) / e.value.xyPeriodsModulo) === 0 || x.value.end - x.value.start <= e.value.xyPeriodsModulo ? (a(), l("line", {
1057
+ e.value.xyShowScale && e.value.xyPeriods.length ? (a(), l("g", Ma, [
1058
+ (a(!0), l(m, null, $(K.value.map((t) => t.text), (t, u) => (a(), l(m, null, [
1059
+ !e.value.xyPeriodsShowOnlyAtModulo || e.value.xyPeriodsShowOnlyAtModulo && u % Math.floor((y.value.end - y.value.start) / e.value.xyPeriodsModulo) === 0 || y.value.end - y.value.start <= e.value.xyPeriodsModulo ? (a(), l("line", {
1060
1060
  key: 0,
1061
- x1: d.value.drawingArea.left + d.value.slotSize * (i + 1) - d.value.slotSize / 2,
1062
- x2: d.value.drawingArea.left + d.value.slotSize * (i + 1) - d.value.slotSize / 2,
1063
- y1: d.value.drawingArea.bottom,
1064
- y2: d.value.drawingArea.bottom + 4,
1061
+ x1: v.value.drawingArea.left + v.value.slotSize * (u + 1) - v.value.slotSize / 2,
1062
+ x2: v.value.drawingArea.left + v.value.slotSize * (u + 1) - v.value.slotSize / 2,
1063
+ y1: v.value.drawingArea.bottom,
1064
+ y2: v.value.drawingArea.bottom + 4,
1065
1065
  stroke: e.value.xyAxisStroke,
1066
1066
  "stroke-width": e.value.xyAxisStrokeWidth,
1067
1067
  "stroke-linecap": "round"
1068
- }, null, 8, Ma)) : g("", !0),
1069
- !e.value.xyPeriodsShowOnlyAtModulo || e.value.xyPeriodsShowOnlyAtModulo && i % Math.floor((x.value.end - x.value.start) / e.value.xyPeriodsModulo) === 0 || x.value.end - x.value.start <= e.value.xyPeriodsModulo ? (a(), l("text", {
1070
- key: 1,
1071
- "font-size": e.value.xyLabelsXFontSize,
1072
- "text-anchor": e.value.xyPeriodLabelsRotation > 0 ? "start" : e.value.xyPeriodLabelsRotation < 0 ? "end" : "middle",
1073
- fill: e.value.color,
1074
- transform: `translate(${d.value.drawingArea.left + d.value.slotSize * (i + 1) - d.value.slotSize / 2}, ${d.value.drawingArea.bottom + e.value.xyLabelsXFontSize + 6}), rotate(${e.value.xyPeriodLabelsRotation})`
1075
- }, O(t), 9, Na)) : g("", !0)
1068
+ }, null, 8, Fa)) : g("", !0),
1069
+ !e.value.xyPeriodsShowOnlyAtModulo || e.value.xyPeriodsShowOnlyAtModulo && u % Math.floor((y.value.end - y.value.start) / e.value.xyPeriodsModulo) === 0 || y.value.end - y.value.start <= e.value.xyPeriodsModulo ? (a(), l("g", Na, [
1070
+ String(t).includes(`
1071
+ `) ? (a(), l("text", {
1072
+ key: 1,
1073
+ "font-size": e.value.xyLabelsXFontSize,
1074
+ "text-anchor": e.value.xyPeriodLabelsRotation > 0 ? "start" : e.value.xyPeriodLabelsRotation < 0 ? "end" : "middle",
1075
+ fill: e.value.color,
1076
+ transform: `translate(${v.value.drawingArea.left + v.value.slotSize * (u + 1) - v.value.slotSize / 2}, ${v.value.drawingArea.bottom + e.value.xyLabelsXFontSize + 6}), rotate(${e.value.xyPeriodLabelsRotation})`,
1077
+ innerHTML: f(Wt)({
1078
+ content: String(t),
1079
+ fontSize: e.value.xyLabelsXFontSize,
1080
+ fill: e.value.color,
1081
+ x: 0,
1082
+ y: 0
1083
+ })
1084
+ }, null, 8, Ba)) : (a(), l("text", {
1085
+ key: 0,
1086
+ "font-size": e.value.xyLabelsXFontSize,
1087
+ "text-anchor": e.value.xyPeriodLabelsRotation > 0 ? "start" : e.value.xyPeriodLabelsRotation < 0 ? "end" : "middle",
1088
+ fill: e.value.color,
1089
+ transform: `translate(${v.value.drawingArea.left + v.value.slotSize * (u + 1) - v.value.slotSize / 2}, ${v.value.drawingArea.bottom + e.value.xyLabelsXFontSize + 6}), rotate(${e.value.xyPeriodLabelsRotation})`
1090
+ }, T(t), 9, Ua))
1091
+ ])) : g("", !0)
1076
1092
  ], 64))), 256))
1077
1093
  ])) : g("", !0),
1078
- _("g", Fa, [
1079
- (a(!0), l(m, null, $(d.value.dataset, (t, i) => (a(), l("g", Ua, [
1094
+ _("g", Da, [
1095
+ (a(!0), l(m, null, $(v.value.dataset, (t, u) => (a(), l("g", Va, [
1080
1096
  e.value.lineSmooth ? (a(), l(m, { key: 0 }, [
1081
1097
  _("path", {
1082
1098
  d: `M ${f(mt)(t.coordinates)}`,
@@ -1086,7 +1102,7 @@ const oa = ["id"], na = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
1086
1102
  fill: "none",
1087
1103
  class: he({ "quick-animation": !0, "vue-data-ui-line-animated": e.value.lineAnimated }),
1088
1104
  style: { transition: "all 0.3s ease-in-out" }
1089
- }, null, 10, Da),
1105
+ }, null, 10, qa),
1090
1106
  _("path", {
1091
1107
  d: `M ${f(mt)(t.coordinates)}`,
1092
1108
  stroke: t.color,
@@ -1095,7 +1111,7 @@ const oa = ["id"], na = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
1095
1111
  fill: "none",
1096
1112
  class: he({ "quick-animation": !0, "vue-data-ui-line-animated": e.value.lineAnimated }),
1097
1113
  style: { transition: "all 0.3s ease-in-out" }
1098
- }, null, 10, Ba)
1114
+ }, null, 10, Ha)
1099
1115
  ], 64)) : (a(), l(m, { key: 1 }, [
1100
1116
  _("path", {
1101
1117
  d: `M ${t.linePath}`,
@@ -1105,7 +1121,7 @@ const oa = ["id"], na = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
1105
1121
  fill: "none",
1106
1122
  class: he({ "quick-animation": !0, "vue-data-ui-line-animated": e.value.lineAnimated }),
1107
1123
  style: { transition: "all 0.3s ease-in-out" }
1108
- }, null, 10, Va),
1124
+ }, null, 10, Wa),
1109
1125
  _("path", {
1110
1126
  d: `M ${t.linePath}`,
1111
1127
  stroke: t.color,
@@ -1114,7 +1130,7 @@ const oa = ["id"], na = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
1114
1130
  fill: "none",
1115
1131
  class: he({ "quick-animation": !0, "vue-data-ui-line-animated": e.value.lineAnimated }),
1116
1132
  style: { transition: "all 0.3s ease-in-out" }
1117
- }, null, 10, qa)
1133
+ }, null, 10, ja)
1118
1134
  ], 64)),
1119
1135
  (a(!0), l(m, null, $(t.coordinates, (r, h) => (a(), l("circle", {
1120
1136
  cx: r.x,
@@ -1125,11 +1141,11 @@ const oa = ["id"], na = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
1125
1141
  "stroke-width": "0.5",
1126
1142
  class: "quick-animation",
1127
1143
  style: { transition: "all 0.3s ease-in-out" }
1128
- }, null, 8, Ha))), 256))
1144
+ }, null, 8, Ga))), 256))
1129
1145
  ]))), 256))
1130
1146
  ]),
1131
- e.value.showDataLabels ? (a(), l("g", Wa, [
1132
- (a(!0), l(m, null, $(d.value.dataset, (t, i) => (a(), l(m, null, [
1147
+ e.value.showDataLabels ? (a(), l("g", Xa, [
1148
+ (a(!0), l(m, null, $(v.value.dataset, (t, u) => (a(), l(m, null, [
1133
1149
  (a(!0), l(m, null, $(t.coordinates, (r, h) => (a(), l("text", {
1134
1150
  "text-anchor": "middle",
1135
1151
  "font-size": e.value.dataLabelFontSize,
@@ -1138,131 +1154,131 @@ const oa = ["id"], na = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
1138
1154
  y: f(Z)(r.y) - e.value.dataLabelFontSize / 2,
1139
1155
  class: "quick-animation",
1140
1156
  style: { transition: "all 0.3s ease-in-out" }
1141
- }, O(f(X)(
1157
+ }, T(f(X)(
1142
1158
  e.value.formatter,
1143
1159
  f(Z)(r.value),
1144
- f(B)({
1160
+ f(D)({
1145
1161
  p: e.value.valuePrefix,
1146
1162
  v: f(Z)(r.value),
1147
1163
  s: e.value.valueSuffix,
1148
1164
  r: e.value.dataLabelRoundingValue
1149
1165
  }),
1150
1166
  { datapoint: r, seriesIndex: h }
1151
- )), 9, ja))), 256))
1167
+ )), 9, Za))), 256))
1152
1168
  ], 64))), 256))
1153
1169
  ])) : g("", !0),
1154
- _("g", Ga, [
1155
- (a(!0), l(m, null, $(d.value.extremes.maxSeries, (t, i) => (a(), l("rect", {
1156
- x: d.value.drawingArea.left + i * d.value.slotSize,
1157
- y: d.value.drawingArea.top,
1158
- height: d.value.drawingArea.height <= 0 ? 1e-5 : d.value.drawingArea.height,
1159
- width: d.value.slotSize <= 0 ? 1e-5 : d.value.slotSize,
1160
- fill: [W.value, j.value].includes(i) ? e.value.xyHighlighterColor : "transparent",
1170
+ _("g", Ya, [
1171
+ (a(!0), l(m, null, $(v.value.extremes.maxSeries, (t, u) => (a(), l("rect", {
1172
+ x: v.value.drawingArea.left + u * v.value.slotSize,
1173
+ y: v.value.drawingArea.top,
1174
+ height: v.value.drawingArea.height <= 0 ? 1e-5 : v.value.drawingArea.height,
1175
+ width: v.value.slotSize <= 0 ? 1e-5 : v.value.slotSize,
1176
+ fill: [W.value, j.value].includes(u) ? e.value.xyHighlighterColor : "transparent",
1161
1177
  style: R(`opacity:${e.value.xyHighlighterOpacity}`),
1162
- onMouseenter: (r) => d.value.useTooltip(i),
1163
- onMouseleave: s[1] || (s[1] = (r) => d.value.killTooltip()),
1164
- onClick: (r) => ie("selectDatapoint", d.value.dataset.map((h) => ({
1178
+ onMouseenter: (r) => v.value.useTooltip(u),
1179
+ onMouseleave: s[1] || (s[1] = (r) => v.value.killTooltip()),
1180
+ onClick: (r) => ue("selectDatapoint", v.value.dataset.map((h) => ({
1165
1181
  ...h,
1166
- value: h.values[i]
1182
+ value: h.values[u]
1167
1183
  })))
1168
- }, null, 44, Xa))), 256))
1184
+ }, null, 44, Ja))), 256))
1169
1185
  ])
1170
1186
  ], 64)) : g("", !0),
1171
1187
  L.value === A.BAR ? (a(), l(m, { key: 5 }, [
1172
- e.value.xyShowGrid ? (a(), l("g", Za, [
1173
- (a(!0), l(m, null, $(v.value.yLabels, (t) => (a(), l(m, null, [
1174
- t.y <= v.value.drawingArea.bottom ? (a(), l("line", {
1188
+ e.value.xyShowGrid ? (a(), l("g", Qa, [
1189
+ (a(!0), l(m, null, $(d.value.yLabels, (t) => (a(), l(m, null, [
1190
+ t.y <= d.value.drawingArea.bottom ? (a(), l("line", {
1175
1191
  key: 0,
1176
- x1: v.value.drawingArea.left,
1177
- x2: v.value.drawingArea.right,
1192
+ x1: d.value.drawingArea.left,
1193
+ x2: d.value.drawingArea.right,
1178
1194
  y1: t.y,
1179
1195
  y2: t.y,
1180
1196
  stroke: e.value.xyGridStroke,
1181
1197
  "stroke-width": e.value.xyGridStrokeWidth,
1182
1198
  "stroke-linecap": "round"
1183
- }, null, 8, Ya)) : g("", !0)
1199
+ }, null, 8, Ka)) : g("", !0)
1184
1200
  ], 64))), 256)),
1185
- (a(!0), l(m, null, $(v.value.extremes.maxSeries + 1, (t, i) => (a(), l("line", {
1186
- x1: v.value.drawingArea.left + v.value.slotSize * i,
1187
- x2: v.value.drawingArea.left + v.value.slotSize * i,
1188
- y1: v.value.drawingArea.top,
1189
- y2: v.value.drawingArea.bottom,
1201
+ (a(!0), l(m, null, $(d.value.extremes.maxSeries + 1, (t, u) => (a(), l("line", {
1202
+ x1: d.value.drawingArea.left + d.value.slotSize * u,
1203
+ x2: d.value.drawingArea.left + d.value.slotSize * u,
1204
+ y1: d.value.drawingArea.top,
1205
+ y2: d.value.drawingArea.bottom,
1190
1206
  stroke: e.value.xyGridStroke,
1191
1207
  "stroke-width": e.value.xyGridStrokeWidth,
1192
1208
  "stroke-linecap": "round"
1193
- }, null, 8, Ja))), 256))
1209
+ }, null, 8, el))), 256))
1194
1210
  ])) : g("", !0),
1195
- e.value.xyShowAxis ? (a(), l("g", Qa, [
1211
+ e.value.xyShowAxis ? (a(), l("g", tl, [
1196
1212
  _("line", {
1197
- x1: v.value.drawingArea.left,
1198
- x2: v.value.drawingArea.left,
1199
- y1: v.value.drawingArea.top,
1200
- y2: v.value.drawingArea.bottom,
1213
+ x1: d.value.drawingArea.left,
1214
+ x2: d.value.drawingArea.left,
1215
+ y1: d.value.drawingArea.top,
1216
+ y2: d.value.drawingArea.bottom,
1201
1217
  stroke: e.value.xyAxisStroke,
1202
1218
  "stroke-width": e.value.xyAxisStrokeWidth,
1203
1219
  "stroke-linecap": "round"
1204
- }, null, 8, Ka),
1220
+ }, null, 8, al),
1205
1221
  _("line", {
1206
- x1: v.value.drawingArea.left,
1207
- x2: v.value.drawingArea.right,
1208
- y1: isNaN(v.value.absoluteZero) ? v.value.drawingArea.bottom : v.value.absoluteZero,
1209
- y2: isNaN(v.value.absoluteZero) ? v.value.drawingArea.bottom : v.value.absoluteZero,
1222
+ x1: d.value.drawingArea.left,
1223
+ x2: d.value.drawingArea.right,
1224
+ y1: isNaN(d.value.absoluteZero) ? d.value.drawingArea.bottom : d.value.absoluteZero,
1225
+ y2: isNaN(d.value.absoluteZero) ? d.value.drawingArea.bottom : d.value.absoluteZero,
1210
1226
  stroke: e.value.xyAxisStroke,
1211
1227
  "stroke-width": e.value.xyAxisStrokeWidth,
1212
1228
  "stroke-linecap": "round"
1213
- }, null, 8, el)
1229
+ }, null, 8, ll)
1214
1230
  ])) : g("", !0),
1215
- e.value.xyShowScale ? (a(), l("g", tl, [
1216
- (a(!0), l(m, null, $(v.value.yLabels, (t, i) => (a(), l(m, null, [
1217
- t.y <= v.value.drawingArea.bottom ? (a(), l("line", {
1231
+ e.value.xyShowScale ? (a(), l("g", ol, [
1232
+ (a(!0), l(m, null, $(d.value.yLabels, (t, u) => (a(), l(m, null, [
1233
+ t.y <= d.value.drawingArea.bottom ? (a(), l("line", {
1218
1234
  key: 0,
1219
1235
  x1: t.x + 4,
1220
- x2: v.value.drawingArea.left,
1236
+ x2: d.value.drawingArea.left,
1221
1237
  y1: t.y,
1222
1238
  y2: t.y,
1223
1239
  stroke: e.value.xyAxisStroke,
1224
1240
  "stroke-width": e.value.xyAxisStrokeWidth,
1225
1241
  "stroke-linecap": "round"
1226
- }, null, 8, al)) : g("", !0),
1227
- t.y <= v.value.drawingArea.bottom ? (a(), l("text", {
1242
+ }, null, 8, nl)) : g("", !0),
1243
+ t.y <= d.value.drawingArea.bottom ? (a(), l("text", {
1228
1244
  key: 1,
1229
1245
  x: t.x,
1230
1246
  y: t.y + e.value.xyLabelsYFontSize / 3,
1231
1247
  "text-anchor": "end",
1232
1248
  "font-size": e.value.xyLabelsYFontSize,
1233
1249
  fill: e.value.color
1234
- }, O(f(X)(
1250
+ }, T(f(X)(
1235
1251
  e.value.formatter,
1236
1252
  t.value,
1237
- f(B)({
1253
+ f(D)({
1238
1254
  p: e.value.valuePrefix,
1239
1255
  v: t.value,
1240
1256
  s: e.value.valueSuffix,
1241
1257
  r: e.value.dataLabelRoundingValue
1242
1258
  }),
1243
- { datapoint: t, seriesIndex: i }
1244
- )), 9, ll)) : g("", !0)
1259
+ { datapoint: t, seriesIndex: u }
1260
+ )), 9, il)) : g("", !0)
1245
1261
  ], 64))), 256))
1246
1262
  ])) : g("", !0),
1247
- e.value.xyShowScale && e.value.xyPeriods.length ? (a(), l("g", ol, [
1248
- (a(!0), l(m, null, $(e.value.xyPeriods.slice(x.value.start, x.value.end), (t, i) => (a(), l("line", {
1249
- x1: v.value.drawingArea.left + v.value.slotSize * (i + 1) - v.value.slotSize / 2,
1250
- x2: v.value.drawingArea.left + v.value.slotSize * (i + 1) - v.value.slotSize / 2,
1251
- y1: v.value.drawingArea.bottom,
1252
- y2: v.value.drawingArea.bottom + 4,
1263
+ e.value.xyShowScale && e.value.xyPeriods.length ? (a(), l("g", ul, [
1264
+ (a(!0), l(m, null, $(e.value.xyPeriods.slice(y.value.start, y.value.end), (t, u) => (a(), l("line", {
1265
+ x1: d.value.drawingArea.left + d.value.slotSize * (u + 1) - d.value.slotSize / 2,
1266
+ x2: d.value.drawingArea.left + d.value.slotSize * (u + 1) - d.value.slotSize / 2,
1267
+ y1: d.value.drawingArea.bottom,
1268
+ y2: d.value.drawingArea.bottom + 4,
1253
1269
  stroke: e.value.xyAxisStroke,
1254
1270
  "stroke-width": e.value.xyAxisStrokeWidth,
1255
1271
  "stroke-linecap": "round"
1256
- }, null, 8, nl))), 256)),
1257
- (a(!0), l(m, null, $(K.value.map((t) => t.text), (t, i) => (a(), l("text", {
1272
+ }, null, 8, rl))), 256)),
1273
+ (a(!0), l(m, null, $(K.value.map((t) => t.text), (t, u) => (a(), l("text", {
1258
1274
  "font-size": e.value.xyLabelsXFontSize,
1259
1275
  "text-anchor": e.value.xyPeriodLabelsRotation > 0 ? "start" : e.value.xyPeriodLabelsRotation < 0 ? "end" : "middle",
1260
- transform: `translate(${v.value.drawingArea.left + v.value.slotSize * (i + 1) - v.value.slotSize / 2}, ${v.value.drawingArea.bottom + e.value.xyLabelsXFontSize + 6}) rotate(${e.value.xyPeriodLabelsRotation})`,
1276
+ transform: `translate(${d.value.drawingArea.left + d.value.slotSize * (u + 1) - d.value.slotSize / 2}, ${d.value.drawingArea.bottom + e.value.xyLabelsXFontSize + 6}) rotate(${e.value.xyPeriodLabelsRotation})`,
1261
1277
  fill: e.value.color
1262
- }, O(t), 9, ul))), 256))
1278
+ }, T(t), 9, sl))), 256))
1263
1279
  ])) : g("", !0),
1264
- _("g", il, [
1265
- (a(!0), l(m, null, $(v.value.dataset, (t, i) => (a(), l(m, null, [
1280
+ _("g", vl, [
1281
+ (a(!0), l(m, null, $(d.value.dataset, (t, u) => (a(), l(m, null, [
1266
1282
  (a(!0), l(m, null, $(t.coordinates, (r, h) => (a(), l("rect", {
1267
1283
  x: r.x,
1268
1284
  width: r.width <= 0 ? 1e-5 : r.width,
@@ -1274,25 +1290,25 @@ const oa = ["id"], na = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
1274
1290
  "stroke-linecap": "round",
1275
1291
  class: he({ "vue-data-ui-bar-animated": e.value.barAnimated && r.value < 0 })
1276
1292
  }, [
1277
- e.value.barAnimated && r.value > 0 && !f(Ee) && !f(Oe) ? (a(), l("animate", {
1293
+ e.value.barAnimated && r.value > 0 && !f(Ee) && !f(Te) ? (a(), l("animate", {
1278
1294
  key: 0,
1279
1295
  attributeName: "height",
1280
1296
  from: 0,
1281
1297
  to: r.height,
1282
1298
  dur: "0.5s"
1283
- }, null, 8, sl)) : g("", !0),
1284
- e.value.barAnimated && r.value > 0 && !f(Ee) && !f(Oe) ? (a(), l("animate", {
1299
+ }, null, 8, cl)) : g("", !0),
1300
+ e.value.barAnimated && r.value > 0 && !f(Ee) && !f(Te) ? (a(), l("animate", {
1285
1301
  key: 1,
1286
1302
  attributeName: "y",
1287
- from: v.value.absoluteZero,
1288
- to: v.value.absoluteZero - r.height,
1303
+ from: d.value.absoluteZero,
1304
+ to: d.value.absoluteZero - r.height,
1289
1305
  dur: "0.5s"
1290
- }, null, 8, vl)) : g("", !0)
1291
- ], 10, rl))), 256))
1306
+ }, null, 8, hl)) : g("", !0)
1307
+ ], 10, dl))), 256))
1292
1308
  ], 64))), 256))
1293
1309
  ]),
1294
- e.value.showDataLabels ? (a(), l("g", dl, [
1295
- (a(!0), l(m, null, $(v.value.dataset, (t, i) => (a(), l(m, null, [
1310
+ e.value.showDataLabels ? (a(), l("g", fl, [
1311
+ (a(!0), l(m, null, $(d.value.dataset, (t, u) => (a(), l(m, null, [
1296
1312
  (a(!0), l(m, null, $(t.coordinates, (r, h) => (a(), l("text", {
1297
1313
  x: r.x + r.width / 2,
1298
1314
  y: f(Z)(r.y) - e.value.dataLabelFontSize / 2,
@@ -1300,74 +1316,74 @@ const oa = ["id"], na = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
1300
1316
  "font-size": e.value.dataLabelFontSize,
1301
1317
  fill: t.color,
1302
1318
  class: "quick-animation"
1303
- }, O(f(X)(
1319
+ }, T(f(X)(
1304
1320
  e.value.formatter,
1305
1321
  f(Z)(r.value),
1306
- f(B)({
1322
+ f(D)({
1307
1323
  p: e.value.valuePrefix,
1308
1324
  v: f(Z)(r.value),
1309
1325
  s: e.value.valueSuffix,
1310
1326
  r: e.value.dataLabelRoundingValue
1311
1327
  }),
1312
1328
  { datapoint: r, seriesIndex: h }
1313
- )), 9, cl))), 256))
1329
+ )), 9, gl))), 256))
1314
1330
  ], 64))), 256))
1315
1331
  ])) : g("", !0),
1316
- _("g", hl, [
1317
- (a(!0), l(m, null, $(v.value.extremes.maxSeries, (t, i) => (a(), l("rect", {
1318
- x: v.value.drawingArea.left + i * v.value.slotSize,
1319
- y: v.value.drawingArea.top,
1320
- height: v.value.drawingArea.height <= 0 ? 1e-5 : v.value.drawingArea.height,
1321
- width: v.value.slotSize <= 0 ? 1e-5 : v.value.slotSize,
1322
- fill: [W.value, j.value].includes(i) ? e.value.xyHighlighterColor : "transparent",
1332
+ _("g", ml, [
1333
+ (a(!0), l(m, null, $(d.value.extremes.maxSeries, (t, u) => (a(), l("rect", {
1334
+ x: d.value.drawingArea.left + u * d.value.slotSize,
1335
+ y: d.value.drawingArea.top,
1336
+ height: d.value.drawingArea.height <= 0 ? 1e-5 : d.value.drawingArea.height,
1337
+ width: d.value.slotSize <= 0 ? 1e-5 : d.value.slotSize,
1338
+ fill: [W.value, j.value].includes(u) ? e.value.xyHighlighterColor : "transparent",
1323
1339
  style: R(`opacity:${e.value.xyHighlighterOpacity}`),
1324
- onMouseenter: (r) => v.value.useTooltip(i),
1325
- onMouseleave: s[2] || (s[2] = (r) => v.value.killTooltip()),
1326
- onClick: (r) => ie("selectDatapoint", v.value.dataset.map((h) => ({
1340
+ onMouseenter: (r) => d.value.useTooltip(u),
1341
+ onMouseleave: s[2] || (s[2] = (r) => d.value.killTooltip()),
1342
+ onClick: (r) => ue("selectDatapoint", d.value.dataset.map((h) => ({
1327
1343
  ...h,
1328
- value: h.values[i]
1344
+ value: h.values[u]
1329
1345
  })))
1330
- }, null, 44, fl))), 256))
1346
+ }, null, 44, pl))), 256))
1331
1347
  ])
1332
1348
  ], 64)) : g("", !0),
1333
- [A.LINE, A.BAR].includes(L.value) ? (a(), l("g", gl, [
1334
- e.value.xAxisLabel && L.value === A.LINE ? (a(), l("g", ml, [
1349
+ [A.LINE, A.BAR].includes(L.value) ? (a(), l("g", xl, [
1350
+ e.value.xAxisLabel && L.value === A.LINE ? (a(), l("g", yl, [
1335
1351
  _("text", {
1336
1352
  "font-size": e.value.axisLabelsFontSize,
1337
1353
  fill: e.value.color,
1338
1354
  "text-anchor": "middle",
1339
- x: d.value.drawingArea.left + d.value.drawingArea.width / 2,
1355
+ x: v.value.drawingArea.left + v.value.drawingArea.width / 2,
1340
1356
  y: b.value.height - e.value.axisLabelsFontSize / 3
1341
- }, O(e.value.xAxisLabel), 9, pl)
1357
+ }, T(e.value.xAxisLabel), 9, kl)
1342
1358
  ])) : g("", !0),
1343
- e.value.xAxisLabel && L.value === A.BAR ? (a(), l("g", yl, [
1359
+ e.value.xAxisLabel && L.value === A.BAR ? (a(), l("g", bl, [
1344
1360
  _("text", {
1345
1361
  "font-size": e.value.axisLabelsFontSize,
1346
1362
  fill: e.value.color,
1347
1363
  "text-anchor": "middle",
1348
- x: v.value.drawingArea.left + v.value.drawingArea.width / 2,
1364
+ x: d.value.drawingArea.left + d.value.drawingArea.width / 2,
1349
1365
  y: b.value.height - e.value.axisLabelsFontSize / 3
1350
- }, O(e.value.xAxisLabel), 9, xl)
1366
+ }, T(e.value.xAxisLabel), 9, Sl)
1351
1367
  ])) : g("", !0),
1352
- e.value.yAxisLabel && L.value === A.LINE ? (a(), l("g", kl, [
1368
+ e.value.yAxisLabel && L.value === A.LINE ? (a(), l("g", wl, [
1353
1369
  _("text", {
1354
1370
  "font-size": e.value.axisLabelsFontSize,
1355
1371
  fill: e.value.color,
1356
- transform: `translate(${e.value.axisLabelsFontSize}, ${d.value.drawingArea.top + d.value.drawingArea.height / 2}) rotate(-90)`,
1372
+ transform: `translate(${e.value.axisLabelsFontSize}, ${v.value.drawingArea.top + v.value.drawingArea.height / 2}) rotate(-90)`,
1357
1373
  "text-anchor": "middle"
1358
- }, O(e.value.yAxisLabel), 9, bl)
1374
+ }, T(e.value.yAxisLabel), 9, Al)
1359
1375
  ])) : g("", !0),
1360
- e.value.yAxisLabel && L.value === A.BAR ? (a(), l("g", Sl, [
1376
+ e.value.yAxisLabel && L.value === A.BAR ? (a(), l("g", _l, [
1361
1377
  _("text", {
1362
1378
  "font-size": e.value.axisLabelsFontSize,
1363
1379
  fill: e.value.color,
1364
- transform: `translate(${e.value.axisLabelsFontSize}, ${v.value.drawingArea.top + v.value.drawingArea.height / 2}) rotate(-90)`,
1380
+ transform: `translate(${e.value.axisLabelsFontSize}, ${d.value.drawingArea.top + d.value.drawingArea.height / 2}) rotate(-90)`,
1365
1381
  "text-anchor": "middle"
1366
- }, O(e.value.yAxisLabel), 9, wl)
1382
+ }, T(e.value.yAxisLabel), 9, Ll)
1367
1383
  ])) : g("", !0)
1368
1384
  ])) : g("", !0)
1369
- ], 12, na)) : g("", !0),
1370
- L.value ? g("", !0) : (a(), Ne(f(me), {
1385
+ ], 12, ia)) : g("", !0),
1386
+ L.value ? g("", !0) : (a(), Fe(f(me), {
1371
1387
  key: 5,
1372
1388
  config: {
1373
1389
  type: "line",
@@ -1385,15 +1401,15 @@ const oa = ["id"], na = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
1385
1401
  }
1386
1402
  }
1387
1403
  }, null, 8, ["config"])),
1388
- o.$slots.watermark ? (a(), l("div", Al, [
1389
- M(o.$slots, "watermark", ne(ue({ isPrinting: f(Ee) || f(Oe) })), void 0, !0)
1404
+ o.$slots.watermark ? (a(), l("div", zl, [
1405
+ M(o.$slots, "watermark", ne(ie({ isPrinting: f(Ee) || f(Te) })), void 0, !0)
1390
1406
  ])) : g("", !0),
1391
1407
  [A.BAR, A.LINE].includes(L.value) && e.value.zoomXy && p.value.maxSeriesLength > 1 ? (a(), l("div", {
1392
1408
  key: `slicer_${Ce.value}`,
1393
1409
  ref_key: "quickChartSlicer",
1394
1410
  ref: Ze
1395
1411
  }, [
1396
- (a(), Ne(Zt, {
1412
+ (a(), Fe(Yt, {
1397
1413
  ref_key: "slicerComponent",
1398
1414
  ref: se,
1399
1415
  key: `slicer_${Ce.value}`,
@@ -1401,15 +1417,15 @@ const oa = ["id"], na = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
1401
1417
  borderColor: e.value.backgroundColor,
1402
1418
  fontSize: e.value.zoomFontSize,
1403
1419
  useResetSlot: e.value.zoomUseResetSlot,
1404
- labelLeft: e.value.xyPeriods[x.value.start] ? K.value[0].text : "",
1405
- labelRight: e.value.xyPeriods[x.value.end - 1] ? K.value.at(-1).text : "",
1420
+ labelLeft: e.value.xyPeriods[y.value.start] ? K.value[0].text : "",
1421
+ labelRight: e.value.xyPeriods[y.value.end - 1] ? K.value.at(-1).text : "",
1406
1422
  textColor: e.value.color,
1407
1423
  inputColor: e.value.zoomColor,
1408
1424
  selectColor: e.value.zoomHighlightColor,
1409
1425
  max: p.value.maxSeriesLength,
1410
1426
  min: 0,
1411
- valueStart: x.value.start,
1412
- valueEnd: x.value.end,
1427
+ valueStart: y.value.start,
1428
+ valueEnd: y.value.end,
1413
1429
  smoothMinimap: e.value.zoomMinimap.smooth,
1414
1430
  minimapSelectedColor: e.value.zoomMinimap.selectedColor,
1415
1431
  minimapSelectedColorOpacity: e.value.zoomMinimap.selectedColorOpacity,
@@ -1419,10 +1435,10 @@ const oa = ["id"], na = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
1419
1435
  minimapIndicatorColor: e.value.zoomMinimap.indicatorColor,
1420
1436
  verticalHandles: e.value.zoomMinimap.verticalHandles,
1421
1437
  minimapSelectedIndex: j.value,
1422
- start: x.value.start,
1423
- "onUpdate:start": s[3] || (s[3] = (t) => x.value.start = t),
1424
- end: x.value.end,
1425
- "onUpdate:end": s[4] || (s[4] = (t) => x.value.end = t),
1438
+ start: y.value.start,
1439
+ "onUpdate:start": s[3] || (s[3] = (t) => y.value.start = t),
1440
+ end: y.value.end,
1441
+ "onUpdate:end": s[4] || (s[4] = (t) => y.value.end = t),
1426
1442
  refreshStartPoint: e.value.zoomStartIndex !== null ? e.value.zoomStartIndex : 0,
1427
1443
  refreshEndPoint: e.value.zoomEndIndex !== null ? e.value.zoomEndIndex + 1 : p.value.maxSeriesLength,
1428
1444
  enableRangeHandles: e.value.zoomEnableRangeHandles,
@@ -1431,7 +1447,7 @@ const oa = ["id"], na = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
1431
1447
  onTrapMouse: zt
1432
1448
  }, {
1433
1449
  "reset-action": G(({ reset: t }) => [
1434
- M(o.$slots, "reset-action", ne(ue({ reset: t })), void 0, !0)
1450
+ M(o.$slots, "reset-action", ne(ie({ reset: t })), void 0, !0)
1435
1451
  ]),
1436
1452
  _: 3
1437
1453
  }, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "smoothMinimap", "minimapSelectedColor", "minimapSelectedColorOpacity", "minimapSelectionRadius", "minimapLineColor", "minimap", "minimapIndicatorColor", "verticalHandles", "minimapSelectedIndex", "start", "end", "refreshStartPoint", "refreshEndPoint", "enableRangeHandles", "enableSelectionDrag"]))
@@ -1443,10 +1459,10 @@ const oa = ["id"], na = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
1443
1459
  class: "vue-ui-quick-chart-legend",
1444
1460
  style: R(`background:transparent;color:${e.value.color}`)
1445
1461
  }, [
1446
- L.value === A.DONUT ? (a(!0), l(m, { key: 0 }, $(I.value.legend, (t, i) => (a(), l("div", {
1462
+ L.value === A.DONUT ? (a(!0), l(m, { key: 0 }, $(I.value.legend, (t, u) => (a(), l("div", {
1447
1463
  class: "vue-ui-quick-chart-legend-item",
1448
1464
  onClick: (r) => {
1449
- Lt(t, I.value.dataset), ie("selectLegend", t);
1465
+ Lt(t, I.value.dataset), ue("selectLegend", t);
1450
1466
  },
1451
1467
  style: R(`cursor: ${I.value.legend.length > 1 ? "pointer" : "default"}; opacity:${w.value.includes(t.id) ? "0.5" : "1"}`)
1452
1468
  }, [
@@ -1454,85 +1470,85 @@ const oa = ["id"], na = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
1454
1470
  key: 0,
1455
1471
  ref_for: !0
1456
1472
  }, { legend: t }), void 0, !0) : (a(), l(m, { key: 1 }, [
1457
- fe(f(T), {
1473
+ fe(f(O), {
1458
1474
  name: e.value.legendIcon,
1459
1475
  stroke: t.color,
1460
1476
  size: e.value.legendIconSize
1461
1477
  }, null, 8, ["name", "stroke", "size"]),
1462
1478
  _("span", {
1463
1479
  style: R(`font-size:${e.value.legendFontSize}px`)
1464
- }, O(t.name), 5),
1480
+ }, T(t.name), 5),
1465
1481
  _("span", {
1466
1482
  style: R(`font-size:${e.value.legendFontSize}px;font-variant-numeric:tabular-nums`)
1467
- }, O(w.value.includes(t.id) ? "-" : f(X)(
1483
+ }, T(w.value.includes(t.id) ? "-" : f(X)(
1468
1484
  e.value.formatter,
1469
1485
  t.absoluteValue,
1470
- f(B)({
1486
+ f(D)({
1471
1487
  p: e.value.valuePrefix,
1472
1488
  v: t.absoluteValue,
1473
1489
  s: e.value.valueSuffix,
1474
1490
  r: e.value.dataLabelRoundingValue
1475
1491
  }),
1476
- { datapoint: t, seriesIndex: i }
1492
+ { datapoint: t, seriesIndex: u }
1477
1493
  )), 5),
1478
1494
  w.value.includes(t.id) ? (a(), l("span", {
1479
1495
  key: 0,
1480
1496
  style: R(`font-size:${e.value.legendFontSize}px`)
1481
- }, " ( - % ) ", 4)) : Te.value ? (a(), l("span", {
1497
+ }, " ( - % ) ", 4)) : Oe.value ? (a(), l("span", {
1482
1498
  key: 1,
1483
1499
  style: R(`font-size:${e.value.legendFontSize}px; font-variant-numeric: tabular-nums;`)
1484
1500
  }, " ( - % ) ", 4)) : (a(), l("span", {
1485
1501
  key: 2,
1486
1502
  style: R(`font-size:${e.value.legendFontSize}px; font-variant-numeric: tabular-nums;`)
1487
- }, " (" + O(f(B)({
1503
+ }, " (" + T(f(D)({
1488
1504
  v: t.value / I.value.total * 100,
1489
1505
  s: "%",
1490
1506
  r: e.value.dataLabelRoundingPercentage
1491
1507
  })) + ") ", 5))
1492
1508
  ], 64))
1493
- ], 12, _l))), 256)) : g("", !0),
1494
- L.value === A.LINE ? (a(!0), l(m, { key: 1 }, $(d.value.legend, (t, i) => (a(), l("div", {
1509
+ ], 12, $l))), 256)) : g("", !0),
1510
+ L.value === A.LINE ? (a(!0), l(m, { key: 1 }, $(v.value.legend, (t, u) => (a(), l("div", {
1495
1511
  class: "vue-ui-quick-chart-legend-item",
1496
1512
  onClick: (r) => {
1497
- it(t.id, d.value.legend.length - 1), ie("selectLegend", t);
1513
+ ut(t.id, v.value.legend.length - 1), ue("selectLegend", t);
1498
1514
  },
1499
- style: R(`cursor: ${d.value.legend.length > 1 ? "pointer" : "default"}; opacity:${w.value.includes(t.id) ? "0.5" : "1"}`)
1515
+ style: R(`cursor: ${v.value.legend.length > 1 ? "pointer" : "default"}; opacity:${w.value.includes(t.id) ? "0.5" : "1"}`)
1500
1516
  }, [
1501
1517
  e.value.useCustomLegend ? M(o.$slots, "legend", qe({
1502
1518
  key: 0,
1503
1519
  ref_for: !0
1504
1520
  }, { legend: t }), void 0, !0) : (a(), l(m, { key: 1 }, [
1505
- fe(f(T), {
1521
+ fe(f(O), {
1506
1522
  name: e.value.legendIcon,
1507
1523
  stroke: t.color,
1508
1524
  size: e.value.legendIconSize
1509
1525
  }, null, 8, ["name", "stroke", "size"]),
1510
1526
  _("span", {
1511
1527
  style: R(`font-size:${e.value.legendFontSize}px`)
1512
- }, O(t.name), 5)
1528
+ }, T(t.name), 5)
1513
1529
  ], 64))
1514
- ], 12, Ll))), 256)) : g("", !0),
1515
- L.value === A.BAR ? (a(!0), l(m, { key: 2 }, $(v.value.legend, (t, i) => (a(), l("div", {
1530
+ ], 12, Cl))), 256)) : g("", !0),
1531
+ L.value === A.BAR ? (a(!0), l(m, { key: 2 }, $(d.value.legend, (t, u) => (a(), l("div", {
1516
1532
  class: "vue-ui-quick-chart-legend-item",
1517
1533
  onClick: (r) => {
1518
- it(t.id, v.value.legend.length - 1), ie("selectLegend", t);
1534
+ ut(t.id, d.value.legend.length - 1), ue("selectLegend", t);
1519
1535
  },
1520
- style: R(`cursor: ${v.value.legend.length > 1 ? "pointer" : "default"}; opacity:${w.value.includes(t.id) ? "0.5" : "1"}`)
1536
+ style: R(`cursor: ${d.value.legend.length > 1 ? "pointer" : "default"}; opacity:${w.value.includes(t.id) ? "0.5" : "1"}`)
1521
1537
  }, [
1522
1538
  e.value.useCustomLegend ? M(o.$slots, "legend", qe({
1523
1539
  key: 0,
1524
1540
  ref_for: !0
1525
1541
  }, { legend: t }), void 0, !0) : (a(), l(m, { key: 1 }, [
1526
- fe(f(T), {
1542
+ fe(f(O), {
1527
1543
  name: e.value.legendIcon,
1528
1544
  stroke: t.color,
1529
1545
  size: e.value.legendIconSize
1530
1546
  }, null, 8, ["name", "stroke", "size"]),
1531
1547
  _("span", {
1532
1548
  style: R(`font-size:${e.value.legendFontSize}px`)
1533
- }, O(t.name), 5)
1549
+ }, T(t.name), 5)
1534
1550
  ], 64))
1535
- ], 12, zl))), 256)) : g("", !0)
1551
+ ], 12, Il))), 256)) : g("", !0)
1536
1552
  ], 4)) : g("", !0),
1537
1553
  o.$slots.source ? (a(), l("div", {
1538
1554
  key: 9,
@@ -1553,28 +1569,28 @@ const oa = ["id"], na = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
1553
1569
  backgroundOpacity: e.value.tooltipBackgroundOpacity,
1554
1570
  position: e.value.tooltipPosition,
1555
1571
  offsetY: e.value.tooltipOffsetY,
1556
- parent: ye.value,
1572
+ parent: xe.value,
1557
1573
  content: te.value,
1558
1574
  isFullscreen: Pe.value,
1559
- isCustom: f(Fe)(e.value.tooltipCustomFormat)
1575
+ isCustom: f(Ne)(e.value.tooltipCustomFormat)
1560
1576
  }, {
1561
1577
  "tooltip-before": G(() => [
1562
- M(o.$slots, "tooltip-before", ne(ue({ ...xe.value })), void 0, !0)
1578
+ M(o.$slots, "tooltip-before", ne(ie({ ...ye.value })), void 0, !0)
1563
1579
  ]),
1564
1580
  "tooltip-after": G(() => [
1565
- M(o.$slots, "tooltip-after", ne(ue({ ...xe.value })), void 0, !0)
1581
+ M(o.$slots, "tooltip-after", ne(ie({ ...ye.value })), void 0, !0)
1566
1582
  ]),
1567
1583
  _: 3
1568
1584
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"])
1569
- ], 46, oa)) : (a(), l("div", $l, [
1570
- fe(f(T), {
1585
+ ], 46, na)) : (a(), l("div", El, [
1586
+ fe(f(O), {
1571
1587
  name: "circleCancel",
1572
1588
  stroke: "red"
1573
1589
  }),
1574
1590
  s[8] || (s[8] = _("span", null, "Dataset is not processable", -1))
1575
1591
  ]));
1576
1592
  }
1577
- }, Ul = /* @__PURE__ */ Jt(Cl, [["__scopeId", "data-v-33008594"]]);
1593
+ }, Vl = /* @__PURE__ */ Qt(Tl, [["__scopeId", "data-v-b383fd3a"]]);
1578
1594
  export {
1579
- Ul as default
1595
+ Vl as default
1580
1596
  };