vue-data-ui 3.22.11 → 3.22.13

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 (148) hide show
  1. package/dist/{PackageVersion-1MNr72Bz.js → PackageVersion-B6Hokxw9.js} +1 -1
  2. package/dist/{SlicerPreview-BIdvqU32.js → SlicerPreview-Cw6WMVhG.js} +434 -434
  3. package/dist/{UserOptions-B69xBEVP.js → UserOptions-DzAFK9cY.js} +438 -438
  4. package/dist/components/vue-ui-3d-bar.js +1 -1
  5. package/dist/components/vue-ui-accordion.js +1 -1
  6. package/dist/components/vue-ui-age-pyramid.js +1 -1
  7. package/dist/components/vue-ui-annotator.js +1 -1
  8. package/dist/components/vue-ui-bullet.js +1 -1
  9. package/dist/components/vue-ui-bump.js +1 -1
  10. package/dist/components/vue-ui-candlestick.js +1 -1
  11. package/dist/components/vue-ui-carousel-table.js +1 -1
  12. package/dist/components/vue-ui-chestnut.js +1 -1
  13. package/dist/components/vue-ui-chord.js +1 -1
  14. package/dist/components/vue-ui-circle-pack.js +1 -1
  15. package/dist/components/vue-ui-cursor.js +1 -1
  16. package/dist/components/vue-ui-dag.js +1 -1
  17. package/dist/components/vue-ui-dashboard.js +1 -1
  18. package/dist/components/vue-ui-digits.js +1 -1
  19. package/dist/components/vue-ui-donut-evolution.js +1 -1
  20. package/dist/components/vue-ui-donut.js +1 -1
  21. package/dist/components/vue-ui-dumbbell.js +1 -1
  22. package/dist/components/vue-ui-flow.js +1 -1
  23. package/dist/components/vue-ui-funnel.js +1 -1
  24. package/dist/components/vue-ui-galaxy.js +1 -1
  25. package/dist/components/vue-ui-gauge.js +1 -1
  26. package/dist/components/vue-ui-geo.js +1 -1
  27. package/dist/components/vue-ui-gizmo.js +1 -1
  28. package/dist/components/vue-ui-heatmap.js +1 -1
  29. package/dist/components/vue-ui-history-plot.js +1 -1
  30. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  31. package/dist/components/vue-ui-kpi.js +1 -1
  32. package/dist/components/vue-ui-molecule.js +1 -1
  33. package/dist/components/vue-ui-mood-radar.js +1 -1
  34. package/dist/components/vue-ui-nested-donuts.js +1 -1
  35. package/dist/components/vue-ui-onion.js +1 -1
  36. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  37. package/dist/components/vue-ui-quadrant.js +1 -1
  38. package/dist/components/vue-ui-quick-chart.js +1 -1
  39. package/dist/components/vue-ui-radar.js +1 -1
  40. package/dist/components/vue-ui-relation-circle.js +1 -1
  41. package/dist/components/vue-ui-ridgeline.js +1 -1
  42. package/dist/components/vue-ui-rings.js +1 -1
  43. package/dist/components/vue-ui-scatter.js +1 -1
  44. package/dist/components/vue-ui-skeleton.js +1 -1
  45. package/dist/components/vue-ui-spark-trend.js +1 -1
  46. package/dist/components/vue-ui-sparkbar.js +1 -1
  47. package/dist/components/vue-ui-sparkgauge.js +1 -1
  48. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  49. package/dist/components/vue-ui-sparkline.js +1 -1
  50. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  51. package/dist/components/vue-ui-stackbar.js +1 -1
  52. package/dist/components/vue-ui-stackline.js +1 -1
  53. package/dist/components/vue-ui-strip-plot.js +1 -1
  54. package/dist/components/vue-ui-table-heatmap.js +1 -1
  55. package/dist/components/vue-ui-table-sparkline.js +1 -1
  56. package/dist/components/vue-ui-table.js +1 -1
  57. package/dist/components/vue-ui-thermometer.js +1 -1
  58. package/dist/components/vue-ui-timer.js +1 -1
  59. package/dist/components/vue-ui-tiremarks.js +1 -1
  60. package/dist/components/vue-ui-treemap.js +1 -1
  61. package/dist/components/vue-ui-vertical-bar.js +1 -1
  62. package/dist/components/vue-ui-waffle.js +1 -1
  63. package/dist/components/vue-ui-wheel.js +1 -1
  64. package/dist/components/vue-ui-word-cloud.js +1 -1
  65. package/dist/components/vue-ui-world.js +1 -1
  66. package/dist/components/vue-ui-xy-canvas.js +1 -1
  67. package/dist/components/vue-ui-xy.js +1 -1
  68. package/dist/{package-Bf-Nk9qU.js → package-DmDydylu.js} +1 -1
  69. package/dist/{render-common-DEb-WjM1.js → render-common-BIG8JYGK.js} +1 -1
  70. package/dist/ssr/vue-ui-donut.js +1 -1
  71. package/dist/ssr/vue-ui-xy.js +1 -1
  72. package/dist/ssr.js +2 -2
  73. package/dist/style.css +1 -1
  74. package/dist/types/composables.d.ts +28 -11
  75. package/dist/types/vue-data-ui.d.ts +26 -9
  76. package/dist/useMountedDelay-BAjrhRJb.js +14 -0
  77. package/dist/{vue-data-ui-Bme9usjG.js → vue-data-ui-rkzh6EkO.js} +64 -64
  78. package/dist/vue-data-ui.js +64 -64
  79. package/dist/{vue-ui-3d-bar-Ds1BPxqb.js → vue-ui-3d-bar-D5xHEWr1.js} +1 -1
  80. package/dist/vue-ui-accordion-UA88lv4d.js +81 -0
  81. package/dist/{vue-ui-age-pyramid-CNCrH8Kd.js → vue-ui-age-pyramid-CAJg01c7.js} +1 -1
  82. package/dist/{vue-ui-annotator-BfZ8RTzJ.js → vue-ui-annotator-q3ZKx6ua.js} +1 -1
  83. package/dist/{vue-ui-bullet-DscMmM2b.js → vue-ui-bullet-ByeaWGfI.js} +1 -1
  84. package/dist/{vue-ui-bump-BvwU1_-N.js → vue-ui-bump-BS7RCf0Z.js} +1 -1
  85. package/dist/{vue-ui-candlestick-Cp6r8ktf.js → vue-ui-candlestick-BZSGDKrM.js} +470 -470
  86. package/dist/{vue-ui-carousel-table-CbtccW1g.js → vue-ui-carousel-table-DO5NRXvX.js} +1 -1
  87. package/dist/{vue-ui-chestnut-C3Hmf1-m.js → vue-ui-chestnut-BfeSPeEh.js} +1 -1
  88. package/dist/{vue-ui-chord-DJk9j45J.js → vue-ui-chord-D6G7ceE-.js} +1 -1
  89. package/dist/{vue-ui-circle-pack-CJe2wETT.js → vue-ui-circle-pack-Cqmlw7AV.js} +3 -6
  90. package/dist/{vue-ui-cursor-BAi9omna.js → vue-ui-cursor-BpN5MsXM.js} +1 -1
  91. package/dist/{vue-ui-dag-D7BEbS71.js → vue-ui-dag-BzgOgXzU.js} +1 -1
  92. package/dist/{vue-ui-dashboard-BYFQjwgC.js → vue-ui-dashboard-DLvGJXJY.js} +63 -64
  93. package/dist/{vue-ui-digits-Bx8nZl9d.js → vue-ui-digits-OMPrn8fb.js} +1 -1
  94. package/dist/{vue-ui-donut-BUX4ybT6.js → vue-ui-donut-Cp5NbZ1r.js} +1 -1
  95. package/dist/{vue-ui-donut-jXRV-3ON.js → vue-ui-donut-ZIRebAWc.js} +1 -1
  96. package/dist/{vue-ui-donut-evolution-MWDjQPQ5.js → vue-ui-donut-evolution-DHVi5rOn.js} +351 -355
  97. package/dist/{vue-ui-dumbbell-CnwsHaIy.js → vue-ui-dumbbell-gDYjU2oF.js} +1 -1
  98. package/dist/{vue-ui-flow-CKXGk4Lm.js → vue-ui-flow-BusUK3H0.js} +1 -1
  99. package/dist/{vue-ui-funnel-CJwD7s7e.js → vue-ui-funnel-BtaYaU0r.js} +1 -1
  100. package/dist/{vue-ui-galaxy-DL85_SWR.js → vue-ui-galaxy-BMp-HzDh.js} +1 -1
  101. package/dist/{vue-ui-gauge-Dkx-aUQr.js → vue-ui-gauge-CBou0cFE.js} +1 -1
  102. package/dist/{vue-ui-geo-fkLF1rHB.js → vue-ui-geo-CyFgFKlh.js} +1 -1
  103. package/dist/{vue-ui-gizmo-S8w_p769.js → vue-ui-gizmo-DdeXwCQp.js} +1 -1
  104. package/dist/{vue-ui-heatmap-Dopkbn2N.js → vue-ui-heatmap-D8-qJ7fg.js} +2 -2
  105. package/dist/{vue-ui-history-plot-DDYpEapS.js → vue-ui-history-plot-C2Aqk2ON.js} +1 -1
  106. package/dist/{vue-ui-horizontal-bar-Bi8WvKeD.js → vue-ui-horizontal-bar-BuwxI7d1.js} +2 -2
  107. package/dist/{vue-ui-kpi-BeJ-ajaS.js → vue-ui-kpi-ByxoO01r.js} +1 -1
  108. package/dist/{vue-ui-molecule-CBTgGZ-s.js → vue-ui-molecule-BqJJq49_.js} +1 -1
  109. package/dist/{vue-ui-mood-radar-CF83PcCx.js → vue-ui-mood-radar-BiOjxFEN.js} +1 -1
  110. package/dist/{vue-ui-nested-donuts-D5dO-Uyg.js → vue-ui-nested-donuts-Cl1HVvDp.js} +1 -1
  111. package/dist/{vue-ui-onion-BxjaQKo8.js → vue-ui-onion-CRQOxurS.js} +1 -1
  112. package/dist/{vue-ui-parallel-coordinate-plot-Dz6ozRAM.js → vue-ui-parallel-coordinate-plot-Dhn18RtR.js} +298 -301
  113. package/dist/{vue-ui-quadrant-Bnxpa6m5.js → vue-ui-quadrant-B21LkUc8.js} +1 -1
  114. package/dist/{vue-ui-quick-chart-CAE0-NYj.js → vue-ui-quick-chart-DAhSXYnp.js} +600 -625
  115. package/dist/{vue-ui-radar-O4BhBOyp.js → vue-ui-radar-CyzAyVos.js} +1 -1
  116. package/dist/{vue-ui-relation-circle-BZ0Xf-Nc.js → vue-ui-relation-circle-Cb33DMZo.js} +5 -11
  117. package/dist/{vue-ui-ridgeline-DHVTPiM6.js → vue-ui-ridgeline-D7aArzQk.js} +1 -1
  118. package/dist/{vue-ui-rings-DAfY1V--.js → vue-ui-rings-FtcdX8xl.js} +1 -1
  119. package/dist/vue-ui-scatter-Cp_-2ahf.js +2409 -0
  120. package/dist/{vue-ui-skeleton-DoIqQtIV.js → vue-ui-skeleton-COytVrfN.js} +1 -1
  121. package/dist/{vue-ui-spark-trend-Db-FsXch.js → vue-ui-spark-trend-DC2KUlEY.js} +1 -1
  122. package/dist/{vue-ui-sparkbar-Ce55FP_3.js → vue-ui-sparkbar-DdxQOFIF.js} +48 -51
  123. package/dist/{vue-ui-sparkgauge-hB59dXm7.js → vue-ui-sparkgauge-DTA-fORH.js} +1 -1
  124. package/dist/{vue-ui-sparkhistogram-DjnaStBw.js → vue-ui-sparkhistogram-D1oFTrvt.js} +1 -1
  125. package/dist/{vue-ui-sparkline-D1dyhLvG.js → vue-ui-sparkline-DcR_N-zT.js} +1 -1
  126. package/dist/{vue-ui-sparkstackbar-BhOBFjts.js → vue-ui-sparkstackbar-BlFio0lP.js} +1 -1
  127. package/dist/vue-ui-stackbar-Cu13EdVa.js +2322 -0
  128. package/dist/{vue-ui-stackline-DLFNVbAz.js → vue-ui-stackline-DKL0o_-3.js} +572 -570
  129. package/dist/vue-ui-strip-plot-NLCwYvyw.js +1736 -0
  130. package/dist/{vue-ui-table-DL_R4ppI.js → vue-ui-table-AM9brdwU.js} +2 -2
  131. package/dist/{vue-ui-table-heatmap-C9gF__Np.js → vue-ui-table-heatmap-CSI482KG.js} +4 -10
  132. package/dist/{vue-ui-table-sparkline-CT-0w9-a.js → vue-ui-table-sparkline-BE6DAvur.js} +1 -1
  133. package/dist/{vue-ui-thermometer-MP0dliC3.js → vue-ui-thermometer-D6Czx7Fb.js} +1 -1
  134. package/dist/{vue-ui-timer-B5S-6Da4.js → vue-ui-timer-BZM5ITG9.js} +1 -1
  135. package/dist/{vue-ui-tiremarks-DcJiLDsm.js → vue-ui-tiremarks-BCncDpHX.js} +1 -1
  136. package/dist/{vue-ui-treemap-CjldCPnX.js → vue-ui-treemap-BOEYCOdk.js} +3 -6
  137. package/dist/{vue-ui-waffle-dZM-9z1J.js → vue-ui-waffle-BrM8IHdG.js} +1 -1
  138. package/dist/{vue-ui-wheel-or7a6-Ce.js → vue-ui-wheel-BNsajigQ.js} +1 -1
  139. package/dist/{vue-ui-word-cloud-8BwQ0cuB.js → vue-ui-word-cloud-D7R7nhk1.js} +1 -1
  140. package/dist/{vue-ui-world-Q0KZb7A_.js → vue-ui-world-DZBt-07p.js} +1 -1
  141. package/dist/{vue-ui-xy-DZIs53tH.js → vue-ui-xy-CluEZ7lS.js} +1253 -1251
  142. package/dist/{vue-ui-xy-4uzwZJcj.js → vue-ui-xy-Dt_1bSBT.js} +1 -1
  143. package/dist/{vue-ui-xy-canvas-Dz9aii7f.js → vue-ui-xy-canvas-7YSYRdwr.js} +3 -3
  144. package/package.json +2 -2
  145. package/dist/vue-ui-accordion-nNxnZTg9.js +0 -81
  146. package/dist/vue-ui-scatter-Cb63SWJT.js +0 -2421
  147. package/dist/vue-ui-stackbar-BZKw8WYn.js +0 -2340
  148. package/dist/vue-ui-strip-plot-DyN2WELD.js +0 -1735
@@ -7,18 +7,19 @@ import { n as ue, t as de } from "./BaseScanner-DZvpgOjM.js";
7
7
  import { t as fe } from "./useSvgExport-Ba9qBr9M.js";
8
8
  import { t as pe } from "./useNestedProp-BY6DNN3i.js";
9
9
  import { t as me } from "./useThemeCheck-C43Tcqmk.js";
10
- import { t as he } from "./useTimeLabelCollider-AEcY4Ioe.js";
11
- import { t as ge } from "./img-Bikk1dGb.js";
12
- import { t as _e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
13
- import { l as ve, t as ye } from "./useResponsive-ZtArZtUf.js";
14
- import { t as be } from "./BaseLegendToggle-DsWphmIb.js";
15
- import { t as xe } from "./A11yDataTable-DdRsVULz.js";
16
- import { t as Se } from "./useChartAccessibility-DYqac8yF.js";
17
- import { t as Ce } from "./Slicer-C6qNUmZ4.js";
18
- import { t as we } from "./vue_ui_quick_chart-mZBdml3Z.js";
19
- import { Fragment as g, Teleport as Te, computed as _, createBlock as Ee, createCommentVNode as v, createElementBlock as y, createElementVNode as b, createSlots as De, createVNode as Oe, defineAsyncComponent as ke, guardReactiveProps as x, mergeProps as Ae, nextTick as je, normalizeClass as Me, normalizeProps as S, normalizeStyle as C, onBeforeUnmount as Ne, onMounted as Pe, openBlock as w, ref as T, renderList as E, renderSlot as D, shallowRef as Fe, toDisplayString as O, toRefs as Ie, unref as k, watch as Le, watchEffect as Re, withCtx as A } from "vue";
10
+ import { t as he } from "./useMountedDelay-BAjrhRJb.js";
11
+ import { t as ge } from "./useTimeLabelCollider-AEcY4Ioe.js";
12
+ import { t as _e } from "./img-Bikk1dGb.js";
13
+ import { t as ve } from "./_plugin-vue_export-helper-B3ysoDQm.js";
14
+ import { l as ye, t as be } from "./useResponsive-ZtArZtUf.js";
15
+ import { t as xe } from "./BaseLegendToggle-DsWphmIb.js";
16
+ import { t as Se } from "./A11yDataTable-DdRsVULz.js";
17
+ import { t as Ce } from "./useChartAccessibility-DYqac8yF.js";
18
+ import { t as we } from "./Slicer-C6qNUmZ4.js";
19
+ import { t as Te } from "./vue_ui_quick_chart-mZBdml3Z.js";
20
+ import { Fragment as g, Teleport as Ee, computed as _, createBlock as De, createCommentVNode as v, createElementBlock as y, createElementVNode as b, createSlots as Oe, createVNode as ke, defineAsyncComponent as Ae, guardReactiveProps as x, mergeProps as je, nextTick as Me, normalizeClass as S, normalizeProps as C, normalizeStyle as w, onBeforeUnmount as Ne, onMounted as Pe, openBlock as T, ref as E, renderList as D, renderSlot as O, shallowRef as Fe, toDisplayString as k, toRefs as Ie, unref as A, watch as Le, watchEffect as Re, withCtx as j } from "vue";
20
21
  //#region src/chartDetector.js
21
- var j = {
22
+ var M = {
22
23
  LINE: "LINE",
23
24
  BAR: "BAR",
24
25
  DONUT: "DONUT"
@@ -32,14 +33,14 @@ var j = {
32
33
  ];
33
34
  function Be({ dataset: e, barLineSwitch: t = 6, debug: n = !0 }) {
34
35
  let r = null, i = null, a = 0;
35
- if ((typeof e == "number" || typeof e == "string") && n && console.warn(`The provided dataset (${e}) is not sufficient to build a chart`), He(e) && (M(e) && (r = e.length < t ? j.BAR : j.LINE, i = e, a = e.length), Ue(e))) {
36
- if (!Ge(e)) return n && console.warn("The objects in the dataset array have a different data structure. Either keys or value types are different."), !1;
36
+ if ((typeof e == "number" || typeof e == "string") && n && console.warn(`The provided dataset (${e}) is not sufficient to build a chart`), He(e) && (Ue(e) && (r = e.length < t ? M.BAR : M.LINE, i = e, a = e.length), We(e))) {
37
+ if (!Ke(e)) return n && console.warn("The objects in the dataset array have a different data structure. Either keys or value types are different."), !1;
37
38
  let o = Object.keys(e[0]), s = Object.values(e[0]);
38
- if (!o.some((e) => Ke(e))) return n && 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;
39
- qe(s, (e) => typeof e == "number") && (r = j.DONUT, i = e), qe(s, (e) => Array.isArray(e) && M(e)) && (r = Je(e) > t ? j.LINE : j.BAR, a = Je(e), i = e.map((e) => ({
39
+ if (!o.some((e) => qe(e))) return n && 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;
40
+ Je(s, (e) => typeof e == "number") && (r = M.DONUT, i = e), Je(s, (e) => Array.isArray(e) && Ue(e)) && (r = Ye(e) > t ? M.LINE : M.BAR, a = Ye(e), i = e.map((e) => ({
40
41
  ...e,
41
- data: Ye(e, (e) => M(e))
42
- }))), e = e.map((e) => N(e)), i = i.map((e) => N(e));
42
+ data: Xe(e, (e) => Ue(e))
43
+ }))), e = e.map((e) => Ze(e)), i = i.map((e) => Ze(e));
43
44
  }
44
45
  return {
45
46
  dataset: e,
@@ -54,15 +55,15 @@ function Ve(e) {
54
55
  function He(e) {
55
56
  return Array.isArray(e);
56
57
  }
57
- function M(e) {
58
+ function Ue(e) {
58
59
  if (!He(e) || Ve(e)) return !1;
59
60
  let t = e.map((e) => Number(e));
60
61
  return ![...new Set(t.flatMap((e) => typeof e == "number" && !isNaN(e)))].includes(!1);
61
62
  }
62
- function Ue(e) {
63
+ function We(e) {
63
64
  return !He(e) || Ve(e) || [...new Set(e.flatMap((e) => typeof e == "object" && !Array.isArray(e)))].includes(!1) ? !1 : !e.map((e) => Object.keys(e).length > 0).includes(!1);
64
65
  }
65
- function We(e, t) {
66
+ function Ge(e, t) {
66
67
  let n = Object.keys(e).sort(), r = Object.keys(t).sort();
67
68
  if (n.length !== r.length) return !1;
68
69
  for (let i = 0; i < n.length; i += 1) {
@@ -71,179 +72,171 @@ function We(e, t) {
71
72
  }
72
73
  return !0;
73
74
  }
74
- function Ge(e) {
75
+ function Ke(e) {
75
76
  if (e.length <= 1) return !0;
76
- for (let t = 0; t < e.length; t += 1) for (let n = t + 1; n < e.length; n += 1) if (!We(e[t], e[n])) return !1;
77
+ for (let t = 0; t < e.length; t += 1) for (let n = t + 1; n < e.length; n += 1) if (!Ge(e[t], e[n])) return !1;
77
78
  return !0;
78
79
  }
79
- function Ke(e) {
80
+ function qe(e) {
80
81
  return ze.includes(e.toUpperCase());
81
82
  }
82
- function qe(e, t) {
83
+ function Je(e, t) {
83
84
  let n = [];
84
85
  for (let r = 0; r < e.length; r += 1) n.push(t(e[r]));
85
86
  return n.includes(!0);
86
87
  }
87
- function Je(e) {
88
- return Math.max(...[...e].flatMap((e) => Object.values(e).filter((e) => M(e)).map((e) => e.length)));
88
+ function Ye(e) {
89
+ return Math.max(...[...e].flatMap((e) => Object.values(e).filter((e) => Ue(e)).map((e) => e.length)));
89
90
  }
90
- function Ye(e, t) {
91
+ function Xe(e, t) {
91
92
  return Object.values(e).filter((e) => t(e))[0];
92
93
  }
93
- function N(e) {
94
+ function Ze(e) {
94
95
  let t = {};
95
96
  for (let n in e) e.hasOwnProperty(n) && (t[n.toUpperCase()] = e[n]);
96
97
  return t;
97
98
  }
98
99
  //#endregion
99
100
  //#region src/components/vue-ui-quick-chart.vue
100
- var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe = ["id"], $e = { style: { position: "relative" } }, et = [
101
+ var N = /* @__PURE__ */ e({ default: () => P }), Qe = ["id"], $e = ["id"], et = ["id"], tt = { style: { position: "relative" } }, nt = [
101
102
  "xmlns",
102
103
  "aria-describedby",
103
104
  "viewBox"
104
- ], tt = [
105
+ ], rt = [
105
106
  "x",
106
107
  "y",
107
108
  "width",
108
109
  "height"
109
- ], nt = [
110
+ ], it = [
110
111
  "x",
111
112
  "y",
112
113
  "width",
113
114
  "height"
114
- ], rt = ["width", "height"], it = ["id"], at = ["id"], ot = ["id"], st = ["flood-color"], ct = {
115
+ ], at = ["width", "height"], ot = ["id"], st = ["id"], ct = ["id"], lt = ["flood-color"], ut = {
115
116
  key: 0,
116
117
  class: "donut-label-connectors"
117
- }, lt = [
118
+ }, dt = [
118
119
  "d",
119
120
  "stroke",
120
121
  "stroke-width",
121
122
  "filter"
122
- ], ut = [
123
+ ], ft = [
123
124
  "cx",
124
125
  "cy",
125
126
  "r",
126
127
  "fill",
127
128
  "filter"
128
- ], dt = { class: "donut" }, ft = [
129
+ ], pt = { class: "donut" }, mt = [
129
130
  "d",
130
131
  "fill",
131
132
  "stroke",
132
133
  "stroke-width",
133
134
  "filter"
134
- ], pt = [
135
+ ], ht = [
135
136
  "d",
136
137
  "onMouseenter",
137
138
  "onMouseout",
138
139
  "onClick"
139
- ], mt = {
140
+ ], gt = {
140
141
  key: 1,
141
142
  class: "donut-labels quick-animation"
142
- }, ht = [
143
+ }, _t = [
143
144
  "cx",
144
145
  "cy",
145
146
  "fill",
146
147
  "stroke",
147
148
  "filter"
148
- ], gt = [
149
+ ], vt = [
149
150
  "text-anchor",
150
151
  "x",
151
152
  "y",
152
153
  "fill",
153
154
  "font-size",
154
155
  "filter"
155
- ], _t = [
156
+ ], yt = [
156
157
  "text-anchor",
157
158
  "x",
158
159
  "y",
159
160
  "fill",
160
161
  "font-size",
161
162
  "filter"
162
- ], vt = {
163
+ ], bt = {
163
164
  key: 2,
164
165
  class: "donut-hollow quick-animation"
165
- }, yt = [
166
+ }, xt = [
166
167
  "x",
167
168
  "y",
168
169
  "font-size",
169
170
  "fill"
170
- ], bt = [
171
+ ], St = [
171
172
  "x",
172
173
  "y",
173
174
  "font-size",
174
175
  "fill"
175
- ], xt = {
176
+ ], Ct = {
176
177
  key: 0,
177
178
  class: "line-grid"
178
- }, St = [
179
+ }, wt = [
179
180
  "x1",
180
181
  "x2",
181
182
  "y1",
182
183
  "y2",
183
184
  "stroke",
184
185
  "stroke-width"
185
- ], Ct = [
186
+ ], Tt = [
186
187
  "x1",
187
188
  "x2",
188
189
  "y1",
189
190
  "y2",
190
191
  "stroke",
191
192
  "stroke-width"
192
- ], wt = {
193
+ ], Et = {
193
194
  key: 1,
194
195
  class: "line-axis"
195
- }, Tt = [
196
+ }, Dt = [
196
197
  "x1",
197
198
  "x2",
198
199
  "y1",
199
200
  "y2",
200
201
  "stroke",
201
202
  "stroke-width"
202
- ], Et = [
203
+ ], Ot = [
203
204
  "x1",
204
205
  "x2",
205
206
  "y1",
206
207
  "y2",
207
208
  "stroke",
208
209
  "stroke-width"
209
- ], Dt = [
210
- "x1",
211
- "x2",
212
- "y1",
213
- "y2",
210
+ ], kt = [
211
+ "d",
214
212
  "stroke",
215
213
  "stroke-width"
216
- ], Ot = [
217
- "x",
218
- "y",
214
+ ], At = [
215
+ "transform",
219
216
  "font-size",
220
217
  "fill"
221
- ], kt = {
218
+ ], jt = {
222
219
  key: 3,
223
220
  class: "periodLabels"
224
- }, At = [
221
+ }, Mt = [
225
222
  "x1",
226
223
  "x2",
227
224
  "y1",
228
225
  "y2",
229
226
  "stroke",
230
227
  "stroke-width"
231
- ], jt = { key: 0 }, Mt = [
228
+ ], Nt = { key: 0 }, Pt = [
232
229
  "font-size",
233
230
  "text-anchor",
234
231
  "fill",
235
232
  "transform"
236
- ], Nt = [
233
+ ], Ft = [
237
234
  "font-size",
238
235
  "text-anchor",
239
236
  "fill",
240
237
  "transform",
241
238
  "innerHTML"
242
- ], Pt = { class: "plots" }, Ft = { class: "line-plot-series" }, It = [
243
- "d",
244
- "stroke",
245
- "stroke-width"
246
- ], Lt = [
239
+ ], It = { class: "plots" }, Lt = [
247
240
  "d",
248
241
  "stroke",
249
242
  "stroke-width"
@@ -256,22 +249,25 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
256
249
  "stroke",
257
250
  "stroke-width"
258
251
  ], Bt = [
252
+ "d",
253
+ "stroke",
254
+ "stroke-width"
255
+ ], Vt = [
259
256
  "cx",
260
257
  "cy",
261
258
  "fill",
262
259
  "stroke"
263
- ], Vt = {
260
+ ], Ht = {
264
261
  key: 4,
265
262
  class: "dataLabels"
266
- }, Ht = [
263
+ }, Ut = [
267
264
  "font-size",
268
265
  "fill",
269
- "x",
270
- "y"
271
- ], Ut = {
266
+ "transform"
267
+ ], Wt = {
272
268
  key: 5,
273
269
  class: "tooltip-traps"
274
- }, Wt = [
270
+ }, Gt = [
275
271
  "x",
276
272
  "y",
277
273
  "height",
@@ -280,34 +276,27 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
280
276
  "onMouseenter",
281
277
  "onMouseleave",
282
278
  "onClick"
283
- ], Gt = {
279
+ ], Kt = {
284
280
  key: 0,
285
281
  class: "line-grid"
286
- }, Kt = [
282
+ }, qt = [
287
283
  "x1",
288
284
  "x2",
289
285
  "y1",
290
286
  "y2",
291
287
  "stroke",
292
288
  "stroke-width"
293
- ], qt = [
289
+ ], Jt = [
294
290
  "x1",
295
291
  "x2",
296
292
  "y1",
297
293
  "y2",
298
294
  "stroke",
299
295
  "stroke-width"
300
- ], Jt = {
296
+ ], Yt = {
301
297
  key: 1,
302
298
  class: "line-axis"
303
- }, Yt = [
304
- "x1",
305
- "x2",
306
- "y1",
307
- "y2",
308
- "stroke",
309
- "stroke-width"
310
- ], Xt = [
299
+ }, Xt = [
311
300
  "x1",
312
301
  "x2",
313
302
  "y1",
@@ -322,32 +311,35 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
322
311
  "stroke",
323
312
  "stroke-width"
324
313
  ], Qt = [
325
- "x",
326
- "y",
314
+ "d",
315
+ "stroke",
316
+ "stroke-width"
317
+ ], $t = [
318
+ "transform",
327
319
  "font-size",
328
320
  "fill"
329
- ], $t = {
321
+ ], en = {
330
322
  key: 3,
331
323
  class: "periodLabels"
332
- }, en = [
324
+ }, tn = [
333
325
  "x1",
334
326
  "x2",
335
327
  "y1",
336
328
  "y2",
337
329
  "stroke",
338
330
  "stroke-width"
339
- ], tn = { key: 0 }, nn = [
331
+ ], nn = { key: 0 }, rn = [
340
332
  "font-size",
341
333
  "text-anchor",
342
334
  "fill",
343
335
  "transform"
344
- ], rn = [
336
+ ], an = [
345
337
  "font-size",
346
338
  "text-anchor",
347
339
  "fill",
348
340
  "transform",
349
341
  "innerHTML"
350
- ], an = { class: "plots" }, on = [
342
+ ], on = { class: "plots" }, sn = [
351
343
  "x",
352
344
  "width",
353
345
  "height",
@@ -355,18 +347,17 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
355
347
  "fill",
356
348
  "stroke",
357
349
  "stroke-width"
358
- ], sn = ["to"], cn = ["from", "to"], ln = {
350
+ ], cn = ["to"], ln = ["from", "to"], un = {
359
351
  key: 4,
360
352
  class: "dataLabels"
361
- }, un = [
362
- "x",
363
- "y",
353
+ }, dn = [
354
+ "transform",
364
355
  "font-size",
365
356
  "fill"
366
- ], dn = {
357
+ ], fn = {
367
358
  key: 5,
368
359
  class: "tooltip-traps"
369
- }, fn = [
360
+ }, pn = [
370
361
  "x",
371
362
  "y",
372
363
  "height",
@@ -375,28 +366,28 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
375
366
  "onMouseenter",
376
367
  "onMouseleave",
377
368
  "onClick"
378
- ], pn = {
369
+ ], mn = {
379
370
  key: 6,
380
371
  class: "axis-labels"
381
- }, mn = [
372
+ }, hn = [
382
373
  "font-size",
383
374
  "fill",
384
375
  "x",
385
376
  "y"
386
- ], hn = [
377
+ ], gn = [
387
378
  "font-size",
388
379
  "fill",
389
380
  "x",
390
381
  "y"
391
- ], gn = [
382
+ ], _n = [
392
383
  "font-size",
393
384
  "fill",
394
385
  "transform"
395
- ], _n = [
386
+ ], vn = [
396
387
  "font-size",
397
388
  "fill",
398
389
  "transform"
399
- ], vn = {
390
+ ], yn = {
400
391
  key: 1,
401
392
  style: {
402
393
  position: "absolute",
@@ -406,13 +397,13 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
406
397
  },
407
398
  "data-dom-to-png-ignore": "",
408
399
  "aria-hidden": "true"
409
- }, yn = {
400
+ }, bn = {
410
401
  key: 5,
411
402
  class: "vue-data-ui-watermark"
412
- }, bn = ["id"], xn = ["onClick", "onKeydown"], Sn = ["onClick", "onKeydown"], Cn = ["onClick", "onKeydown"], wn = {
403
+ }, xn = ["id"], Sn = ["onClick", "onKeydown"], Cn = ["onClick", "onKeydown"], wn = ["onClick", "onKeydown"], Tn = {
413
404
  key: 1,
414
405
  class: "vue-ui-quick-chart-not-processable"
415
- }, Tn = /*#__PURE__*/ _e({
406
+ }, P = /*#__PURE__*/ ve({
416
407
  __name: "vue-ui-quick-chart",
417
408
  props: {
418
409
  config: {
@@ -438,13 +429,13 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
438
429
  "selectLegend",
439
430
  "copyAlt"
440
431
  ],
441
- setup(e, { expose: _e, emit: ze }) {
442
- let Ve = ke(() => import("./BaseIcon-CP5RWnqt.js").then((e) => e.n)), He = ke(() => import("./PackageVersion-1MNr72Bz.js").then((e) => e.t)), We = ke(() => import("./PenAndPaper-CSMVXpg2.js").then((e) => e.t)), Ge = ke(() => import("./Tooltip-CA1rtSyl.js")), Ke = ke(() => import("./UserOptions-B69xBEVP.js").then((e) => e.n)), { vue_ui_quick_chart: qe } = ce(), { isThemeValid: Je, warnInvalidTheme: Ye } = me(), N = e, P = T(null), Tn = T(null), En = T(null), Dn = T(null), F = T(i()), I = T(!1), On = T(null), kn = T(""), L = T(null), An = T(null), jn = T(null), R = T([]), Mn = T(0), Nn = T(0), Pn = T(!1), Fn = T(null), In = T(null), z = T(null), Ln = T(null), Rn = T(null), zn = T(null);
443
- T("#FFFFFF");
444
- let B = T($n()), Bn = _(() => !!B.value.debug), Vn = _(() => B.value.useCursorPointer), V = T(null), Hn = T({
432
+ setup(e, { expose: ve, emit: ze }) {
433
+ let Ve = Ae(() => import("./BaseIcon-CP5RWnqt.js").then((e) => e.n)), He = Ae(() => import("./PackageVersion-B6Hokxw9.js").then((e) => e.t)), Ge = Ae(() => import("./PenAndPaper-CSMVXpg2.js").then((e) => e.t)), Ke = Ae(() => import("./Tooltip-CA1rtSyl.js")), qe = Ae(() => import("./UserOptions-DzAFK9cY.js").then((e) => e.n)), { vue_ui_quick_chart: Je } = ce(), { isThemeValid: Ye, warnInvalidTheme: Xe } = me(), { isReady: Ze } = he(300), N = e, P = E(null), En = E(null), Dn = E(null), On = E(null), F = E(i()), I = E(!1), kn = E(null), An = E(""), L = E(null), jn = E(null), Mn = E(null), R = E([]), Nn = E(0), Pn = E(0), Fn = E(!1), In = E(null), Ln = E(null), z = E(null), Rn = E(null), zn = E(null), Bn = E(null);
434
+ E("#FFFFFF");
435
+ let B = E(er()), Vn = _(() => !!B.value.debug), Hn = _(() => B.value.useCursorPointer), V = E(null), Un = E({
445
436
  x: 0,
446
437
  y: 0
447
- }), H = T("pointer"), Un = T(!1), Wn = _(() => re({
438
+ }), H = E("pointer"), Wn = E(!1), Gn = _(() => re({
448
439
  dafaultConfig: {
449
440
  backgroundColor: "#99999930",
450
441
  customPalette: ["#BABABA"],
@@ -465,13 +456,13 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
465
456
  zoomEndIndex: null
466
457
  },
467
458
  userConfig: B.value.skeletonConfig ?? {}
468
- })), { loading: U, FINAL_DATASET: Gn, manualLoading: Kn } = ue({
459
+ })), { loading: U, FINAL_DATASET: Kn, manualLoading: qn } = ue({
469
460
  ...Ie(N),
470
461
  FINAL_CONFIG: B,
471
- prepareConfig: $n,
462
+ prepareConfig: er,
472
463
  callback: () => {
473
464
  Promise.resolve().then(async () => {
474
- await je(), K.value === j.LINE && B.value.lineAnimated && !U.value && Lr({
465
+ await Me(), K.value === M.LINE && B.value.lineAnimated && !U.value && Rr({
475
466
  pathDuration: 1e3,
476
467
  pointDuration: 1200,
477
468
  labelDuration: 1200
@@ -492,21 +483,21 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
492
483
  ],
493
484
  skeletonConfig: re({
494
485
  defaultConfig: B.value,
495
- userConfig: Wn.value
486
+ userConfig: Gn.value
496
487
  })
497
- }), { svgRef: qn } = Se({ config: { text: B.value.title } }), Jn = _(() => B.value.showUserOptionsOnChartHover), Yn = _(() => B.value.keepUserOptionsStateOnChartLeave), Xn = T(!B.value.showUserOptionsOnChartHover), Zn = T(!1);
498
- function Qn(e = !1) {
499
- Zn.value = e, Jn.value && (Xn.value = e);
488
+ }), { svgRef: Jn } = Ce({ config: { text: B.value.title } }), Yn = _(() => B.value.showUserOptionsOnChartHover), Xn = _(() => B.value.keepUserOptionsStateOnChartLeave), Zn = E(!B.value.showUserOptionsOnChartHover), Qn = E(!1);
489
+ function $n(e = !1) {
490
+ Qn.value = e, Yn.value && (Zn.value = e);
500
491
  }
501
- function $n() {
492
+ function er() {
502
493
  let e = pe({
503
494
  userConfig: N.config,
504
- defaultConfig: qe
495
+ defaultConfig: Je
505
496
  }), t = {}, n = e.theme;
506
- if (n) if (!Je.value(e)) Ye(e), t = e;
497
+ if (n) if (!Ye.value(e)) Xe(e), t = e;
507
498
  else {
508
499
  let i = pe({
509
- userConfig: we[n] || N.config,
500
+ userConfig: Te[n] || N.config,
510
501
  defaultConfig: e
511
502
  });
512
503
  t = {
@@ -521,16 +512,16 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
521
512
  return t;
522
513
  }
523
514
  Le(() => N.config, (e) => {
524
- U.value || (B.value = $n()), q.value.width = B.value.width, q.value.height = B.value.height, Xn.value = !B.value.showUserOptionsOnChartHover, dr(), cr.value.showTooltip = B.value.showTooltip;
515
+ U.value || (B.value = er()), q.value.width = B.value.width, q.value.height = B.value.height, Zn.value = !B.value.showUserOptionsOnChartHover, fr(), lr.value.showTooltip = B.value.showTooltip;
525
516
  }, { deep: !0 }), Le(() => N.dataset, (e) => {
526
- G.value = tr.value, X.value.start = 0, X.value.end = G.value.maxSeriesLength, Nn.value += 1;
517
+ G.value = nr.value, X.value.start = 0, X.value.end = G.value.maxSeriesLength, Pn.value += 1;
527
518
  }, { deep: !0 }), Le(() => N.dataset, (e) => {
528
- Array.isArray(e) && e.length > 0 && (Kn.value = !1);
519
+ Array.isArray(e) && e.length > 0 && (qn.value = !1);
529
520
  }, { immediate: !0 });
530
- let er = _(() => n(B.value.customPalette)), W = ze, tr = _(() => {
521
+ let tr = _(() => n(B.value.customPalette)), W = ze, nr = _(() => {
531
522
  let e = Be({
532
- debug: Bn.value,
533
- dataset: a(Gn.value, [
523
+ debug: Vn.value,
524
+ dataset: a(Kn.value, [
534
525
  "serie",
535
526
  "series",
536
527
  "data",
@@ -540,86 +531,86 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
540
531
  ]),
541
532
  barLineSwitch: B.value.chartIsBarUnderDatasetLength
542
533
  });
543
- return !e && Bn.value && console.error("VueUiQuickChart : Dataset is not processable"), e;
544
- }), G = T(tr.value), nr = _(() => !!G.value), K = _(() => G.value ? G.value.type : null);
534
+ return !e && Vn.value && console.error("VueUiQuickChart : Dataset is not processable"), e;
535
+ }), G = E(nr.value), rr = _(() => !!G.value), K = _(() => G.value ? G.value.type : null);
545
536
  Le(() => K.value, (e) => {
546
537
  e || f({
547
538
  componentName: "VueUiQuickChart",
548
539
  type: "dataset",
549
- debug: Bn.value
540
+ debug: Vn.value
550
541
  });
551
542
  }, { immediate: !0 });
552
- let { isPrinting: rr, isImaging: ir, generatePdf: ar, generateImage: or } = le({
543
+ let { isPrinting: ir, isImaging: ar, generatePdf: or, generateImage: sr } = le({
553
544
  elementId: `${K.value}_${F.value}`,
554
545
  fileName: B.value.title || K.value,
555
546
  options: B.value.userOptionsPrint
556
- }), sr = _(() => B.value.showUserOptions && !B.value.title), q = T({
547
+ }), cr = _(() => B.value.showUserOptions && !B.value.title), q = E({
557
548
  width: B.value.width,
558
549
  height: B.value.height
559
- }), cr = T({ showTooltip: B.value.showTooltip });
550
+ }), lr = E({ showTooltip: B.value.showTooltip });
560
551
  Le(B, () => {
561
- cr.value = { showTooltip: B.value.showTooltip };
552
+ lr.value = { showTooltip: B.value.showTooltip };
562
553
  }, { immediate: !0 });
563
- let lr = Fe(null), ur = Fe(null);
554
+ let ur = Fe(null), dr = Fe(null);
564
555
  Pe(async () => {
565
- Pn.value = !0, dr();
556
+ Fn.value = !0, fr();
566
557
  });
567
- function dr() {
568
- if (t(N.dataset) || (Kn.value = B.value.loading), B.value.responsive) {
569
- let e = ve(() => {
570
- let { width: e, height: t } = ye({
558
+ function fr() {
559
+ if (t(N.dataset) || (qn.value = B.value.loading), B.value.responsive) {
560
+ let e = ye(() => {
561
+ let { width: e, height: t } = be({
571
562
  chart: P.value,
572
- title: B.value.title ? Tn.value : null,
573
- legend: B.value.showLegend ? En.value : null,
574
- slicer: [j.BAR, j.LINE].includes(K.value) && B.value.zoomXy && G.value.maxSeriesLength > 1 ? Dn.value : null,
575
- source: An.value,
576
- noTitle: jn.value
563
+ title: B.value.title ? En.value : null,
564
+ legend: B.value.showLegend ? Dn.value : null,
565
+ slicer: [M.BAR, M.LINE].includes(K.value) && B.value.zoomXy && G.value.maxSeriesLength > 1 ? On.value : null,
566
+ source: jn.value,
567
+ noTitle: Mn.value
577
568
  });
578
569
  requestAnimationFrame(() => {
579
570
  q.value.width = e, q.value.height = t;
580
571
  });
581
572
  });
582
- lr.value && (ur.value && lr.value.unobserve(ur.value), lr.value.disconnect()), lr.value = new ResizeObserver(e), ur.value = P.value.parentNode, lr.value.observe(ur.value);
573
+ ur.value && (dr.value && ur.value.unobserve(dr.value), ur.value.disconnect()), ur.value = new ResizeObserver(e), dr.value = P.value.parentNode, ur.value.observe(dr.value);
583
574
  }
584
- Tr();
575
+ Er();
585
576
  }
586
577
  Ne(() => {
587
- lr.value && (ur.value && lr.value.unobserve(ur.value), lr.value.disconnect());
578
+ ur.value && (dr.value && ur.value.unobserve(dr.value), ur.value.disconnect());
588
579
  });
589
- let fr = _(() => {
580
+ let pr = _(() => {
590
581
  switch (K.value) {
591
- case j.LINE: return `0 0 ${q.value.width <= 0 ? 10 : q.value.width} ${q.value.height <= 0 ? 10 : q.value.height}`;
592
- case j.BAR: return `0 0 ${q.value.width <= 0 ? 10 : q.value.width} ${q.value.height <= 0 ? 10 : q.value.height}`;
593
- case j.DONUT: return `0 0 ${q.value.width <= 0 ? 10 : q.value.width} ${q.value.height <= 0 ? 10 : q.value.height}`;
582
+ case M.LINE: return `0 0 ${q.value.width <= 0 ? 10 : q.value.width} ${q.value.height <= 0 ? 10 : q.value.height}`;
583
+ case M.BAR: return `0 0 ${q.value.width <= 0 ? 10 : q.value.width} ${q.value.height <= 0 ? 10 : q.value.height}`;
584
+ case M.DONUT: return `0 0 ${q.value.width <= 0 ? 10 : q.value.width} ${q.value.height <= 0 ? 10 : q.value.height}`;
594
585
  default: return `0 0 ${q.value.width <= 0 ? 10 : q.value.width} ${q.value.height <= 0 ? 10 : q.value.height}`;
595
586
  }
596
587
  });
597
- function pr(e) {
588
+ function mr(e) {
598
589
  return [...e].map((e) => e.value).reduce((e, t) => e + t, 0);
599
590
  }
600
- function mr(e) {
591
+ function hr(e) {
601
592
  return B.value.blurOnHover && ![null, void 0].includes(L.value) && L.value !== e ? `url(#blur_${F.value})` : "";
602
593
  }
603
- function hr() {
604
- R.value.length ? R.value = [] : K.value === j.DONUT ? Y.value.legend.forEach((e) => {
594
+ function gr() {
595
+ R.value.length ? R.value = [] : K.value === M.DONUT ? Y.value.legend.forEach((e) => {
605
596
  R.value.push(e.id);
606
- }) : K.value === j.LINE ? Z.value.legend.forEach((e) => {
597
+ }) : K.value === M.LINE ? Z.value.legend.forEach((e) => {
607
598
  R.value.push(e.id);
608
- }) : K.value === j.BAR && Q.value.legend.forEach((e) => {
599
+ }) : K.value === M.BAR && Q.value.legend.forEach((e) => {
609
600
  R.value.push(e.id);
610
- }), K.value === j.DONUT ? W("selectLegend", Y.value.dataset) : K.value === j.LINE ? W("selectLegend", Z.value.dataset) : K.value === j.BAR && W("selectLegend", Q.value.dataset);
601
+ }), K.value === M.DONUT ? W("selectLegend", Y.value.dataset) : K.value === M.LINE ? W("selectLegend", Z.value.dataset) : K.value === M.BAR && W("selectLegend", Q.value.dataset);
611
602
  }
612
- function gr(e, t) {
603
+ function _r(e, t) {
613
604
  R.value.includes(e) ? R.value = R.value.filter((t) => t !== e) : R.value.length < t && R.value.push(e);
614
605
  }
615
- let _r = T(null), vr = T(null), yr = T(!1);
616
- function br(e, t) {
617
- yr.value = !0;
618
- let n = e.value, r = tr.value.dataset.find((t, n) => e.id === `donut_${n}`).VALUE;
606
+ let vr = E(null), yr = E(null), br = E(!1);
607
+ function xr(e, t) {
608
+ br.value = !0;
609
+ let n = e.value, r = nr.value.dataset.find((t, n) => e.id === `donut_${n}`).VALUE;
619
610
  if (R.value.includes(e.id)) {
620
611
  R.value = R.value.filter((t) => t !== e.id);
621
612
  function t() {
622
- n > r ? (yr.value = !1, cancelAnimationFrame(vr.value), G.value = {
613
+ n > r ? (br.value = !1, cancelAnimationFrame(yr.value), G.value = {
623
614
  ...G.value,
624
615
  dataset: G.value.dataset.map((t, n) => e.id === `donut_${n}` ? {
625
616
  ...t,
@@ -633,12 +624,12 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
633
624
  value: n,
634
625
  VALUE: n
635
626
  } : t)
636
- }, vr.value = requestAnimationFrame(t));
627
+ }, yr.value = requestAnimationFrame(t));
637
628
  }
638
629
  t();
639
630
  } else if (t.length > 1) {
640
631
  function t() {
641
- n < r / 100 ? (yr.value = !1, cancelAnimationFrame(_r.value), R.value.push(e.id), G.value = {
632
+ n < r / 100 ? (br.value = !1, cancelAnimationFrame(vr.value), R.value.push(e.id), G.value = {
642
633
  ...G.value,
643
634
  dataset: G.value.dataset.map((t, n) => e.id === `donut_${n}` ? {
644
635
  ...t,
@@ -652,17 +643,17 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
652
643
  value: n,
653
644
  VALUE: n
654
645
  } : t)
655
- }, _r.value = requestAnimationFrame(t));
646
+ }, vr.value = requestAnimationFrame(t));
656
647
  }
657
648
  t();
658
649
  } else W("selectLegend", Y.value.dataset);
659
650
  }
660
- let J = T(null);
661
- function xr(e) {
651
+ let J = E(null);
652
+ function Sr(e) {
662
653
  J.value = e;
663
654
  }
664
- let Sr = _(() => B.value.donutThicknessRatio < .01 ? .01 : B.value.donutThicknessRatio > .4 ? .4 : B.value.donutThicknessRatio), Y = _(() => {
665
- if (K.value !== j.DONUT) return null;
655
+ let Cr = _(() => B.value.donutThicknessRatio < .01 ? .01 : B.value.donutThicknessRatio > .4 ? .4 : B.value.donutThicknessRatio), Y = _(() => {
656
+ if (K.value !== M.DONUT) return null;
666
657
  let e = G.value.dataset.map((e, t) => ({
667
658
  ...e,
668
659
  value: e.VALUE || e.DATA || e.SERIE || e.VALUES || e.NUM || 0,
@@ -670,12 +661,12 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
670
661
  id: `donut_${t}`
671
662
  })).map((e, t) => ({
672
663
  ...e,
673
- color: e.COLOR ? oe(e.COLOR) : er.value[t + B.value.paletteStartIndex] || s[t + B.value.paletteStartIndex] || s[(t + B.value.paletteStartIndex) % s.length],
664
+ color: e.COLOR ? oe(e.COLOR) : tr.value[t + B.value.paletteStartIndex] || s[t + B.value.paletteStartIndex] || s[(t + B.value.paletteStartIndex) % s.length],
674
665
  immutableValue: e.value
675
666
  }));
676
667
  function t(e, t) {
677
668
  return u({
678
- v: isNaN(e.value / pr(t)) ? 0 : e.value / pr(t) * 100,
669
+ v: isNaN(e.value / mr(t)) ? 0 : e.value / mr(t) * 100,
679
670
  s: "%",
680
671
  r: B.value.dataLabelRoundingPercentage
681
672
  });
@@ -684,11 +675,11 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
684
675
  return e.proportion * 100 > B.value.donutHideLabelUnderPercentage;
685
676
  }
686
677
  function r(e, t) {
687
- let n = tr.value.dataset.find((t, n) => `donut_${n}` === e).VALUE;
678
+ let n = nr.value.dataset.find((t, n) => `donut_${n}` === e).VALUE;
688
679
  return Math.abs(String(Number(n.toFixed(0))).length - String(Number(t.toFixed(0))).length);
689
680
  }
690
681
  function i({ datapoint: t, seriesIndex: n, triggerMode: r = "pointer" }) {
691
- On.value = {
682
+ kn.value = {
692
683
  datapoint: t,
693
684
  seriesIndex: n,
694
685
  config: B.value,
@@ -703,7 +694,7 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
703
694
  seriesIndex: n,
704
695
  series: e,
705
696
  config: B.value
706
- }))) kn.value = i({
697
+ }))) An.value = i({
707
698
  datapoint: t,
708
699
  seriesIndex: n,
709
700
  series: e,
@@ -723,7 +714,7 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
723
714
  v: t.proportion * 100,
724
715
  s: "%",
725
716
  r: B.value.dataLabelRoundingPercentage
726
- })})</span></div>`, kn.value = `<div>${e}</div>`;
717
+ })})</span></div>`, An.value = `<div>${e}</div>`;
727
718
  }
728
719
  I.value = !0;
729
720
  }
@@ -746,7 +737,7 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
746
737
  ...e,
747
738
  proportion: (e.value || 0) / d,
748
739
  value: e.value || 0,
749
- absoluteValue: tr.value.dataset.find((t, n) => `donut_${n}` === e.id).VALUE,
740
+ absoluteValue: nr.value.dataset.find((t, n) => `donut_${n}` === e.id).VALUE,
750
741
  shape: "circle"
751
742
  })), p = q.value.width / 2, te = q.value.height / 2, ne = q.value.height * B.value.donutRadiusRatio;
752
743
  return {
@@ -763,70 +754,70 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
763
754
  cx: p,
764
755
  cy: te,
765
756
  radius: ne,
766
- chart: c({ series: e.filter((e) => !R.value.includes(e.id)) }, p, te, ne, ne, 1.99999, 2, 1, 360, 105.25, q.value.height * Sr.value)
757
+ chart: c({ series: e.filter((e) => !R.value.includes(e.id)) }, p, te, ne, ne, 1.99999, 2, 1, 360, 105.25, q.value.height * Cr.value)
767
758
  };
768
- }), X = T({
759
+ }), X = E({
769
760
  start: 0,
770
761
  end: G.value.maxSeriesLength
771
762
  });
772
- function Cr() {
773
- Tr();
763
+ function wr() {
764
+ Er();
774
765
  }
775
- let wr = T(null);
776
- async function Tr() {
777
- await je(), await je();
778
- let { zoomStartIndex: e, zoomEndIndex: t } = B.value, n = wr.value;
779
- (e != null || t != null) && n ? (e != null && n.setStartValue(e), t != null && n.setEndValue(Er(t + 1))) : (X.value = {
766
+ let Tr = E(null);
767
+ async function Er() {
768
+ await Me(), await Me();
769
+ let { zoomStartIndex: e, zoomEndIndex: t } = B.value, n = Tr.value;
770
+ (e != null || t != null) && n ? (e != null && n.setStartValue(e), t != null && n.setEndValue(Dr(t + 1))) : (X.value = {
780
771
  start: 0,
781
772
  end: G.value.maxSeriesLength
782
- }, Nn.value += 1);
773
+ }, Pn.value += 1);
783
774
  }
784
- function Er(e) {
775
+ function Dr(e) {
785
776
  let t = G.value.maxSeriesLength;
786
777
  return e > t ? t : e < 0 || B.value.zoomStartIndex !== null && e < B.value.zoomStartIndex ? B.value.zoomStartIndex === null ? 1 : B.value.zoomStartIndex + 1 : e;
787
778
  }
788
- let Dr = _(() => {
789
- if (!B.value.zoomMinimap.show || K.value === j.DONUT) return [];
779
+ let Or = _(() => {
780
+ if (!B.value.zoomMinimap.show || K.value === M.DONUT) return [];
790
781
  let e = [];
791
- M(G.value.dataset) && (e = G.value.dataset), Ue(G.value.dataset) && (e = G.value.dataset.map((e, t) => ({
782
+ Ue(G.value.dataset) && (e = G.value.dataset), We(G.value.dataset) && (e = G.value.dataset.map((e, t) => ({
792
783
  values: e.VALUE || e.DATA || e.SERIE || e.SERIES || e.VALUES || e.NUM || 0,
793
- id: K.value === j.LINE ? `line_${t}` : `bar_${t}`
784
+ id: K.value === M.LINE ? `line_${t}` : `bar_${t}`
794
785
  })).filter((e) => !R.value.includes(e.id)));
795
- let t = M(e) ? e.length : Math.max(...e.map((e) => e.values.length)), n = [];
796
- if (M(e)) n = e;
786
+ let t = Ue(e) ? e.length : Math.max(...e.map((e) => e.values.length)), n = [];
787
+ if (Ue(e)) n = e;
797
788
  else for (let r = 0; r < t; r += 1) n.push(e.map((e) => e.values[r] || 0).reduce((e, t) => (e || 0) + (t || 0), 0));
798
789
  let r = Math.min(...n);
799
790
  return n.map((e) => e + (r < 0 ? Math.abs(r) : 0));
800
791
  });
801
- function Or() {
792
+ function kr() {
802
793
  let e = 0;
803
- return Ln.value && (e = Array.from(Ln.value.querySelectorAll("text")).reduce((e, t) => {
794
+ return Rn.value && (e = Array.from(Rn.value.querySelectorAll("text")).reduce((e, t) => {
804
795
  let n = t.getComputedTextLength();
805
796
  return n > e ? n : e;
806
797
  }, 0)), e + 4;
807
798
  }
808
- let kr = T(0), Ar = ve((e) => {
809
- kr.value = e;
799
+ let Ar = E(0), jr = ye((e) => {
800
+ Ar.value = e;
810
801
  }, 100);
811
802
  Re((e) => {
812
803
  let t = z.value;
813
804
  if (!t) return;
814
805
  let n = new ResizeObserver((e) => {
815
- Ar(e[0].contentRect.height);
806
+ jr(e[0].contentRect.height);
816
807
  });
817
808
  n.observe(t), e(() => n.disconnect());
818
809
  }), Ne(() => {
819
- kr.value = 0;
810
+ Ar.value = 0;
820
811
  });
821
- let jr = _(() => {
812
+ let Mr = _(() => {
822
813
  let e = 0;
823
- return z.value && (e = kr.value), 0 + e;
814
+ return z.value && (e = Ar.value), 0 + e;
824
815
  }), Z = _(() => {
825
- if (K.value !== j.LINE) return null;
816
+ if (K.value !== M.LINE) return null;
826
817
  let e = {
827
818
  height: q.value.height,
828
819
  width: q.value.width
829
- }, t = Or();
820
+ }, t = kr();
830
821
  if (z.value) {
831
822
  let e = z.value.getBBox().x;
832
823
  e < 0 && (t += Math.abs(e));
@@ -835,25 +826,25 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
835
826
  left: t + B.value.xyPaddingLeft,
836
827
  top: B.value.xyPaddingTop,
837
828
  right: e.width - B.value.xyPaddingRight,
838
- bottom: e.height - B.value.xyPaddingBottom - jr.value,
829
+ bottom: e.height - B.value.xyPaddingBottom - Mr.value,
839
830
  width: Math.max(10, e.width - B.value.xyPaddingLeft - B.value.xyPaddingRight - t),
840
- height: Math.max(10, e.height - B.value.xyPaddingTop - B.value.xyPaddingBottom - jr.value)
831
+ height: Math.max(10, e.height - B.value.xyPaddingTop - B.value.xyPaddingBottom - Mr.value)
841
832
  }, r = [];
842
- M(G.value.dataset) && (r = [{
833
+ Ue(G.value.dataset) && (r = [{
843
834
  values: G.value.dataset.slice(X.value.start, X.value.end),
844
835
  absoluteValues: G.value.dataset,
845
836
  absoluteIndices: G.value.dataset.map((e, t) => t).slice(X.value.start, X.value.end),
846
837
  name: B.value.title,
847
- color: er.value[B.value.paletteStartIndex] || s[B.value.paletteStartIndex],
838
+ color: tr.value[B.value.paletteStartIndex] || s[B.value.paletteStartIndex],
848
839
  id: "line_0"
849
- }]), Ue(G.value.dataset) && (r = G.value.dataset.map((e, t) => ({
840
+ }]), We(G.value.dataset) && (r = G.value.dataset.map((e, t) => ({
850
841
  ...e,
851
842
  values: e.VALUE || e.DATA || e.SERIE || e.SERIES || e.VALUES || e.NUM || 0,
852
843
  name: e.NAME || e.DESCRIPTION || e.TITLE || e.LABEL || `Serie ${t}`,
853
844
  id: `line_${t}`
854
845
  })).map((e, t) => ({
855
846
  ...e,
856
- color: e.COLOR ? oe(e.COLOR) : er.value[t + B.value.paletteStartIndex] || s[t + B.value.paletteStartIndex] || s[(t + B.value.paletteStartIndex) % s.length],
847
+ color: e.COLOR ? oe(e.COLOR) : tr.value[t + B.value.paletteStartIndex] || s[t + B.value.paletteStartIndex] || s[(t + B.value.paletteStartIndex) % s.length],
857
848
  values: e.values.slice(X.value.start, X.value.end),
858
849
  absoluteValues: e.values,
859
850
  absoluteIndices: e.values.map((e, t) => t).slice(X.value.start, X.value.end)
@@ -893,7 +884,7 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
893
884
  function ne(e, t = "pointer") {
894
885
  L.value = e, J.value = e, V.value = e, H.value = t;
895
886
  let n = p(e);
896
- On.value = {
887
+ kn.value = {
897
888
  datapoint: n,
898
889
  seriesIndex: e,
899
890
  config: B.value,
@@ -908,7 +899,7 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
908
899
  seriesIndex: e,
909
900
  series: r,
910
901
  config: B.value
911
- }))) kn.value = i({
902
+ }))) An.value = i({
912
903
  datapoint: n,
913
904
  seriesIndex: e,
914
905
  series: r,
@@ -933,7 +924,7 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
933
924
  </b>
934
925
  </div>
935
926
  `;
936
- }), kn.value = e;
927
+ }), An.value = e;
937
928
  }
938
929
  I.value = !0;
939
930
  }
@@ -964,11 +955,11 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
964
955
  selectDatapoint: ae
965
956
  };
966
957
  }), Q = _(() => {
967
- if (K.value !== j.BAR) return null;
958
+ if (K.value !== M.BAR) return null;
968
959
  let e = {
969
960
  height: q.value.height,
970
961
  width: q.value.width
971
- }, t = Or();
962
+ }, t = kr();
972
963
  if (z.value) {
973
964
  let e = z.value.getBBox().x;
974
965
  e < 0 && (t += Math.abs(e));
@@ -977,25 +968,25 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
977
968
  left: t + B.value.xyPaddingLeft,
978
969
  top: B.value.xyPaddingTop,
979
970
  right: e.width - B.value.xyPaddingRight,
980
- bottom: e.height - B.value.xyPaddingBottom - jr.value,
971
+ bottom: e.height - B.value.xyPaddingBottom - Mr.value,
981
972
  width: Math.max(10, e.width - B.value.xyPaddingLeft - B.value.xyPaddingRight - t),
982
- height: Math.max(10, e.height - B.value.xyPaddingTop - B.value.xyPaddingBottom - jr.value)
973
+ height: Math.max(10, e.height - B.value.xyPaddingTop - B.value.xyPaddingBottom - Mr.value)
983
974
  }, r = [];
984
- M(G.value.dataset) && (r = [{
975
+ Ue(G.value.dataset) && (r = [{
985
976
  values: G.value.dataset.slice(X.value.start, X.value.end),
986
977
  absoluteValues: G.value.dataset,
987
978
  absoluteIndices: G.value.dataset.map((e, t) => t).slice(X.value.start, X.value.end),
988
979
  name: B.value.title,
989
- color: er.value[B.value.paletteStartIndex] || s[B.value.paletteStartIndex],
980
+ color: tr.value[B.value.paletteStartIndex] || s[B.value.paletteStartIndex],
990
981
  id: "bar_0"
991
- }]), Ue(G.value.dataset) && (r = G.value.dataset.map((e, t) => ({
982
+ }]), We(G.value.dataset) && (r = G.value.dataset.map((e, t) => ({
992
983
  ...e,
993
984
  values: e.VALUE || e.DATA || e.SERIE || e.SERIES || e.VALUES || e.NUM || 0,
994
985
  name: e.NAME || e.DESCRIPTION || e.TITLE || e.LABEL || `Serie ${t}`,
995
986
  id: `bar_${t}`
996
987
  })).map((e, t) => ({
997
988
  ...e,
998
- color: e.COLOR ? oe(e.COLOR) : er.value[t + B.value.paletteStartIndex] || s[t + B.value.paletteStartIndex] || s[(t + B.value.paletteStartIndex) % s.length],
989
+ color: e.COLOR ? oe(e.COLOR) : tr.value[t + B.value.paletteStartIndex] || s[t + B.value.paletteStartIndex] || s[(t + B.value.paletteStartIndex) % s.length],
999
990
  values: e.values.slice(X.value.start, X.value.end),
1000
991
  absoluteValues: e.values,
1001
992
  absoluteIndices: e.values.map((e, t) => t).slice(X.value.start, X.value.end)
@@ -1044,7 +1035,7 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
1044
1035
  function re(e, t = "pointer") {
1045
1036
  L.value = e, J.value = e, V.value = e, H.value = t;
1046
1037
  let n = ne(e);
1047
- On.value = {
1038
+ kn.value = {
1048
1039
  datapoint: n,
1049
1040
  seriesIndex: e,
1050
1041
  config: B.value,
@@ -1059,7 +1050,7 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
1059
1050
  seriesIndex: e,
1060
1051
  series: r,
1061
1052
  config: B.value
1062
- }))) kn.value = i({
1053
+ }))) An.value = i({
1063
1054
  point: n,
1064
1055
  seriesIndex: e,
1065
1056
  series: r,
@@ -1084,7 +1075,7 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
1084
1075
  </b>
1085
1076
  </div>
1086
1077
  `;
1087
- }), kn.value = e;
1078
+ }), An.value = e;
1088
1079
  }
1089
1080
  I.value = !0;
1090
1081
  }
@@ -1116,26 +1107,26 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
1116
1107
  selectDatapoint: h
1117
1108
  };
1118
1109
  });
1119
- function Mr(e) {
1110
+ function Nr(e) {
1120
1111
  if (!e) return;
1121
1112
  let t = e.getTotalLength();
1122
1113
  e.style.transition = "none", e.style.strokeDasharray = `${t}`, e.style.strokeDashoffset = `${t}`;
1123
1114
  }
1124
- function Nr(e, { fromOpacity: t = "0", fromScale: n = "0.85" } = {}) {
1115
+ function Pr(e, { fromOpacity: t = "0", fromScale: n = "0.85" } = {}) {
1125
1116
  e.forEach((e) => {
1126
1117
  e.style.animation = "none", e.style.transition = "none", e.style.opacity = t, e.style.transform = `scale(${n})`, e.style.transformBox = "fill-box", e.style.transformOrigin = "50% 50%";
1127
1118
  });
1128
1119
  }
1129
- function Pr(e) {
1120
+ function Fr(e) {
1130
1121
  return e.cx?.baseVal?.value ?? parseFloat(e.getAttribute("cx"));
1131
1122
  }
1132
- function Fr(e) {
1123
+ function Ir(e) {
1133
1124
  let t = e.getAttribute("x");
1134
1125
  if (t != null) return parseFloat(t);
1135
1126
  let n = e.getCTM?.();
1136
1127
  return n ? n.e : 0;
1137
1128
  }
1138
- function Ir(e, t) {
1129
+ function Lr(e, t) {
1139
1130
  if (!e.length) return [];
1140
1131
  let n = e.map((e) => ({
1141
1132
  el: e,
@@ -1160,16 +1151,16 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
1160
1151
  }
1161
1152
  return a.push(o), a;
1162
1153
  }
1163
- function Lr({ pathDuration: e, pathEasing: t = "ease-in-out", pointDuration: n, labelDuration: r, pointDelay: i = 0, labelDelay: a = 0, pointStep: o = 0, labelStep: s = 0, intraSeriesStep: c = 0 } = {}) {
1164
- let l = Array.isArray(Fn?.value) ? Fn.value : [Fn?.value].filter(Boolean), u = Array.isArray(In?.value) ? In.value : [In?.value].filter(Boolean), ee = [...l, ...u].filter(Boolean), d = P?.value || null, f = d ? Array.from(d.querySelectorAll(".vue-ui-quick-chart-plot")) : [], p = d ? Array.from(d.querySelectorAll(".vue-ui-quick-chart-label")) : [];
1165
- ee.forEach(Mr), Nr(f, {
1154
+ function Rr({ pathDuration: e, pathEasing: t = "ease-in-out", pointDuration: n, labelDuration: r, pointDelay: i = 0, labelDelay: a = 0, pointStep: o = 0, labelStep: s = 0, intraSeriesStep: c = 0 } = {}) {
1155
+ let l = Array.isArray(In?.value) ? In.value : [In?.value].filter(Boolean), u = Array.isArray(Ln?.value) ? Ln.value : [Ln?.value].filter(Boolean), ee = [...l, ...u].filter(Boolean), d = P?.value || null, f = d ? Array.from(d.querySelectorAll(".vue-ui-quick-chart-plot")) : [], p = d ? Array.from(d.querySelectorAll(".vue-ui-quick-chart-label")) : [];
1156
+ ee.forEach(Nr), Pr(f, {
1166
1157
  fromOpacity: "0",
1167
1158
  fromScale: "0.75"
1168
- }), Nr(p, {
1159
+ }), Pr(p, {
1169
1160
  fromOpacity: "0",
1170
1161
  fromScale: "0.98"
1171
1162
  }), f.forEach((e) => e.classList.remove("quick-animation")), p.forEach((e) => e.classList.remove("quick-animation")), d && d.offsetWidth;
1172
- let te = f.length ? Ir(f, Pr) : [], m = p.length ? Ir(p, Fr) : [];
1163
+ let te = f.length ? Lr(f, Fr) : [], m = p.length ? Lr(p, Ir) : [];
1173
1164
  requestAnimationFrame(() => {
1174
1165
  requestAnimationFrame(() => {
1175
1166
  ee.forEach((n) => {
@@ -1188,22 +1179,22 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
1188
1179
  });
1189
1180
  });
1190
1181
  }
1191
- let Rr = _(() => {
1192
- if (K.value === j.LINE) return Z.value.legend.map((e) => (Math.min(...e.absoluteValues.map((e) => e ?? 0)), {
1182
+ let zr = _(() => {
1183
+ if (K.value === M.LINE) return Z.value.legend.map((e) => (Math.min(...e.absoluteValues.map((e) => e ?? 0)), {
1193
1184
  ...e,
1194
1185
  isVisible: !R.value.includes(e.id),
1195
1186
  type: "line",
1196
1187
  series: e.absoluteValues
1197
1188
  }));
1198
- if (K.value === j.BAR) return Q.value.legend.map((e) => (Math.min(...e.absoluteValues.map((e) => e ?? 0)), {
1189
+ if (K.value === M.BAR) return Q.value.legend.map((e) => (Math.min(...e.absoluteValues.map((e) => e ?? 0)), {
1199
1190
  ...e,
1200
1191
  isVisible: !R.value.includes(e.id),
1201
1192
  type: "bar",
1202
1193
  series: e.absoluteValues
1203
1194
  }));
1204
- }), $ = T([]), zr = 0;
1195
+ }), $ = E([]), Br = 0;
1205
1196
  Re(() => {
1206
- let e = ++zr;
1197
+ let e = ++Br;
1207
1198
  (async () => {
1208
1199
  let t = await se({
1209
1200
  values: B.value.xyPeriods,
@@ -1212,26 +1203,26 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
1212
1203
  start: X.value.start,
1213
1204
  end: X.value.end
1214
1205
  });
1215
- e === zr && ($.value = t);
1206
+ e === Br && ($.value = t);
1216
1207
  })();
1217
1208
  });
1218
- let Br = _(() => {
1209
+ let Vr = _(() => {
1219
1210
  let e = B.value.xyPeriodsModulo;
1220
1211
  return B.value.xyPeriods.length ? Math.min(e, [...new Set($.value.map((e) => e.text))].length) : e;
1221
- }), Vr = T(!1);
1222
- function Hr(e) {
1223
- Vr.value = e, Mn.value += 1;
1212
+ }), Hr = E(!1);
1213
+ function Ur(e) {
1214
+ Hr.value = e, Nn.value += 1;
1224
1215
  }
1225
- function Ur() {
1226
- cr.value.showTooltip = !cr.value.showTooltip;
1216
+ function Wr() {
1217
+ lr.value.showTooltip = !lr.value.showTooltip;
1227
1218
  }
1228
- let Wr = T(!1);
1229
- function Gr() {
1230
- Wr.value = !Wr.value;
1219
+ let Gr = E(!1);
1220
+ function Kr() {
1221
+ Gr.value = !Gr.value;
1231
1222
  }
1232
- async function Kr({ scale: e = 2 } = {}) {
1223
+ async function qr({ scale: e = 2 } = {}) {
1233
1224
  if (!P.value) return;
1234
- let { width: t, height: n } = P.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await ge({
1225
+ let { width: t, height: n } = P.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await _e({
1235
1226
  domElement: P.value,
1236
1227
  base64: !0,
1237
1228
  img: !0,
@@ -1246,8 +1237,8 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
1246
1237
  aspectRatio: r
1247
1238
  };
1248
1239
  }
1249
- let qr = _(() => q.value.width), Jr = _(() => q.value.height);
1250
- he({
1240
+ let Jr = _(() => q.value.width), Yr = _(() => q.value.height);
1241
+ ge({
1251
1242
  timeLabelsEls: z,
1252
1243
  timeLabels: $,
1253
1244
  slicer: X,
@@ -1256,18 +1247,18 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
1256
1247
  autoRotatePath: ["xyPeriodLabelsAutoRotate", "enable"],
1257
1248
  isAutoSize: !1,
1258
1249
  rotation: B.value.xyPeriodLabelsAutoRotate.angle,
1259
- height: Jr.value,
1260
- width: qr.value
1250
+ height: Yr.value,
1251
+ width: Jr.value
1261
1252
  });
1262
- let Yr = _(() => B.value.backgroundColor), Xr = _(() => K.value === j.DONUT ? Y.value.legend : K.value === j.LINE ? Z.value.legend : Q.value.legend), Zr = _(() => ({
1253
+ let Xr = _(() => B.value.backgroundColor), Zr = _(() => K.value === M.DONUT ? Y.value.legend : K.value === M.LINE ? Z.value.legend : Q.value.legend), Qr = _(() => ({
1263
1254
  show: B.value.showLegend,
1264
1255
  bold: !1,
1265
1256
  backgroundColor: B.value.backgroundColor,
1266
1257
  color: B.value.color,
1267
1258
  fontSize: B.value.legendFontSize,
1268
1259
  position: B.value.legendPosition
1269
- })), { exportSvg: Qr, getSvg: $r } = fe({
1270
- svg: qn,
1260
+ })), { exportSvg: $r, getSvg: ei } = fe({
1261
+ svg: Jn,
1271
1262
  title: _(() => ({
1272
1263
  text: B.value.title,
1273
1264
  color: B.value.color,
@@ -1276,22 +1267,22 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
1276
1267
  textAlign: B.value.titleTextAlign,
1277
1268
  subtitle: { text: "" }
1278
1269
  })),
1279
- legend: Zr,
1280
- legendItems: Xr,
1281
- backgroundColor: Yr
1270
+ legend: Qr,
1271
+ legendItems: Zr,
1272
+ backgroundColor: Xr
1282
1273
  });
1283
- async function ei({ isCb: e }) {
1274
+ async function ti({ isCb: e }) {
1284
1275
  if (e) {
1285
- let { blob: e, url: t, text: n, dataUrl: r } = await $r();
1276
+ let { blob: e, url: t, text: n, dataUrl: r } = await ei();
1286
1277
  B.value.userOptionsCallbacks.svg({
1287
1278
  blob: e,
1288
1279
  url: t,
1289
1280
  text: n,
1290
1281
  dataUrl: r
1291
1282
  });
1292
- } else Qr();
1283
+ } else $r();
1293
1284
  }
1294
- async function ti() {
1285
+ async function ni() {
1295
1286
  if (W("copyAlt", {
1296
1287
  config: B.value,
1297
1288
  dataset: {
@@ -1312,18 +1303,18 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
1312
1303
  }
1313
1304
  }));
1314
1305
  }
1315
- function ni(e, t) {
1306
+ function ri(e, t) {
1316
1307
  (e.key === "Enter" || e.key === " ") && (e.preventDefault(), t());
1317
1308
  }
1318
- let ri = _(() => K.value === j.DONUT ? Y.value?.chart?.length ?? 0 : K.value === j.LINE ? Z.value?.extremes?.maxSeries ?? 0 : K.value === j.BAR ? Q.value?.extremes?.maxSeries ?? 0 : 0);
1319
- function ii() {
1320
- V.value = null, Un.value = !0;
1321
- }
1309
+ let ii = _(() => K.value === M.DONUT ? Y.value?.chart?.length ?? 0 : K.value === M.LINE ? Z.value?.extremes?.maxSeries ?? 0 : K.value === M.BAR ? Q.value?.extremes?.maxSeries ?? 0 : 0);
1322
1310
  function ai() {
1323
- V.value = null, H.value = "pointer", I.value = !1, L.value = null, J.value = null, Un.value = !1;
1311
+ V.value = null, Wn.value = !0;
1324
1312
  }
1325
- function oi(e) {
1326
- if (!qn.value || Wr.value || document.activeElement !== qn.value || !ri.value) return;
1313
+ function oi() {
1314
+ V.value = null, H.value = "pointer", I.value = !1, L.value = null, J.value = null, Wn.value = !1;
1315
+ }
1316
+ function si(e) {
1317
+ if (!Jn.value || Gr.value || document.activeElement !== Jn.value || !ii.value) return;
1327
1318
  let t = e.key === "ArrowLeft", n = e.key === "ArrowRight", r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
1328
1319
  if (!t && !n && !r && !i) return;
1329
1320
  if (e.preventDefault(), e.stopPropagation(), i) {
@@ -1332,7 +1323,7 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
1332
1323
  }
1333
1324
  if (r) {
1334
1325
  if (V.value === null) return;
1335
- if (K.value === j.DONUT) {
1326
+ if (K.value === M.DONUT) {
1336
1327
  let e = Y.value?.chart?.[V.value];
1337
1328
  if (!e) return;
1338
1329
  Y.value.selectDatapoint({
@@ -1341,59 +1332,59 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
1341
1332
  });
1342
1333
  return;
1343
1334
  }
1344
- if (K.value === j.LINE) {
1335
+ if (K.value === M.LINE) {
1345
1336
  Z.value?.selectDatapoint(V.value);
1346
1337
  return;
1347
1338
  }
1348
- if (K.value === j.BAR) {
1339
+ if (K.value === M.BAR) {
1349
1340
  Q.value?.selectDatapoint(V.value);
1350
1341
  return;
1351
1342
  }
1352
1343
  return;
1353
1344
  }
1354
- let a = V.value, o = J.value, s = a !== null && a >= 0 && a < ri.value, c = o !== null && o >= 0 && o < ri.value;
1355
- if (s ? n ? (a += 1, a >= ri.value && (a = 0)) : t && (--a, a < 0 && (a = ri.value - 1)) : c ? (a = n ? o + 1 : o - 1, a >= ri.value && (a = 0), a < 0 && (a = ri.value - 1)) : a = n ? 0 : ri.value - 1, K.value === j.DONUT) {
1345
+ let a = V.value, o = J.value, s = a !== null && a >= 0 && a < ii.value, c = o !== null && o >= 0 && o < ii.value;
1346
+ if (s ? n ? (a += 1, a >= ii.value && (a = 0)) : t && (--a, a < 0 && (a = ii.value - 1)) : c ? (a = n ? o + 1 : o - 1, a >= ii.value && (a = 0), a < 0 && (a = ii.value - 1)) : a = n ? 0 : ii.value - 1, K.value === M.DONUT) {
1356
1347
  let e = Y.value?.chart?.[a];
1357
1348
  if (!e) return;
1358
- si(a), Y.value.useTooltip({
1349
+ ci(a), Y.value.useTooltip({
1359
1350
  datapoint: e,
1360
1351
  seriesIndex: a,
1361
1352
  triggerMode: "keyboard"
1362
1353
  });
1363
1354
  return;
1364
1355
  }
1365
- if (K.value === j.LINE) {
1366
- si(a), Z.value?.useTooltip(a, "keyboard");
1356
+ if (K.value === M.LINE) {
1357
+ ci(a), Z.value?.useTooltip(a, "keyboard");
1367
1358
  return;
1368
1359
  }
1369
- K.value === j.BAR && (si(a), Q.value?.useTooltip(a, "keyboard"));
1360
+ K.value === M.BAR && (ci(a), Q.value?.useTooltip(a, "keyboard"));
1370
1361
  }
1371
- function si(e) {
1372
- if (!Number.isFinite(e) || !qn.value) return;
1362
+ function ci(e) {
1363
+ if (!Number.isFinite(e) || !Jn.value) return;
1373
1364
  let t = 0, n = 0;
1374
- if (K.value === j.DONUT) {
1365
+ if (K.value === M.DONUT) {
1375
1366
  let r = Y.value?.chart?.[e];
1376
1367
  if (!r) return;
1377
1368
  t = d(r, !0).x, n = p(r);
1378
1369
  }
1379
- if (K.value === j.LINE) {
1370
+ if (K.value === M.LINE) {
1380
1371
  let r = Z.value?.drawingArea, i = Z.value?.slotSize;
1381
1372
  if (!r || !i) return;
1382
1373
  t = r.left + i * (e + 1) - i / 2, n = r.top + r.height / 2;
1383
1374
  }
1384
- if (K.value === j.BAR) {
1375
+ if (K.value === M.BAR) {
1385
1376
  let r = Q.value?.drawingArea, i = Q.value?.slotSize;
1386
1377
  if (!r || !i) return;
1387
1378
  t = r.left + i * (e + 1) - i / 2, n = r.top + r.height / 2;
1388
1379
  }
1389
- let r = qn.value.getBoundingClientRect();
1390
- Hn.value = {
1380
+ let r = Jn.value.getBoundingClientRect();
1381
+ Un.value = {
1391
1382
  x: r.left + t / q.value.width * r.width,
1392
1383
  y: r.top + n / q.value.height * r.height
1393
1384
  };
1394
1385
  }
1395
- let ci = _(() => {
1396
- if (K.value === j.DONUT) return {
1386
+ let li = _(() => {
1387
+ if (K.value === M.DONUT) return {
1397
1388
  headers: [
1398
1389
  "Series",
1399
1390
  "Value",
@@ -1417,8 +1408,8 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
1417
1408
  ];
1418
1409
  })
1419
1410
  };
1420
- if (K.value === j.LINE || K.value === j.BAR) {
1421
- let e = K.value === j.LINE ? Z.value?.dataset ?? [] : Q.value?.dataset ?? [], t = K.value === j.LINE ? Z.value?.extremes?.maxSeries ?? 0 : Q.value?.extremes?.maxSeries ?? 0;
1411
+ if (K.value === M.LINE || K.value === M.BAR) {
1412
+ let e = K.value === M.LINE ? Z.value?.dataset ?? [] : Q.value?.dataset ?? [], t = K.value === M.LINE ? Z.value?.extremes?.maxSeries ?? 0 : Q.value?.extremes?.maxSeries ?? 0;
1422
1413
  return {
1423
1414
  headers: ["Index", ...e.map((e) => e.name)],
1424
1415
  rows: Array.from({ length: t }, (t, n) => [$.value?.[n + X.value.start]?.text ?? String(n + X.value.start), ...e.map((e) => {
@@ -1437,38 +1428,38 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
1437
1428
  rows: []
1438
1429
  };
1439
1430
  });
1440
- return _e({
1441
- getImage: Kr,
1442
- generatePdf: ar,
1443
- generateImage: or,
1444
- generateSvg: ei,
1445
- toggleTooltip: Ur,
1446
- toggleAnnotator: Gr,
1447
- toggleFullscreen: Hr,
1448
- copyAlt: ti
1449
- }), (e, t) => nr.value ? (w(), y("div", {
1431
+ return ve({
1432
+ getImage: qr,
1433
+ generatePdf: or,
1434
+ generateImage: sr,
1435
+ generateSvg: ti,
1436
+ toggleTooltip: Wr,
1437
+ toggleAnnotator: Kr,
1438
+ toggleFullscreen: Ur,
1439
+ copyAlt: ni
1440
+ }), (e, t) => rr.value ? (T(), y("div", {
1450
1441
  key: 0,
1451
1442
  id: `${K.value}_${F.value}`,
1452
1443
  ref_key: "quickChart",
1453
1444
  ref: P,
1454
- class: Me({
1445
+ class: S({
1455
1446
  "vue-data-ui-component": !0,
1456
1447
  "vue-ui-quick-chart": !0,
1457
- "vue-data-ui-wrapper-fullscreen": Vr.value
1448
+ "vue-data-ui-wrapper-fullscreen": Hr.value
1458
1449
  }),
1459
- style: C(`background:${B.value.backgroundColor};color:${B.value.color};font-family:${B.value.fontFamily}; position: relative; ${B.value.responsive ? "height: 100%" : ""}`),
1460
- onMouseenter: t[2] ||= () => Qn(!0),
1461
- onMouseleave: t[3] ||= () => Qn(!1)
1450
+ style: w(`background:${B.value.backgroundColor};color:${B.value.color};font-family:${B.value.fontFamily}; position: relative; ${B.value.responsive ? "height: 100%" : ""}`),
1451
+ onMouseenter: t[2] ||= () => $n(!0),
1452
+ onMouseleave: t[3] ||= () => $n(!1)
1462
1453
  }, [
1463
1454
  b("div", {
1464
1455
  id: `chart-instructions-${F.value}`,
1465
1456
  class: "sr-only"
1466
- }, [b("p", null, O(B.value.a11y.translations.keyboardNavigation), 1)], 8, Ze),
1467
- ci.value.rows.length ? (w(), Ee(xe, {
1457
+ }, [b("p", null, k(B.value.a11y.translations.keyboardNavigation), 1)], 8, $e),
1458
+ li.value.rows.length ? (T(), De(Se, {
1468
1459
  key: 0,
1469
1460
  uid: F.value,
1470
- head: ci.value.headers,
1471
- body: ci.value.rows,
1461
+ head: li.value.headers,
1462
+ body: li.value.rows,
1472
1463
  notice: B.value.a11y.translations.tableAvailable,
1473
1464
  caption: B.value.a11y.translations.tableCaption
1474
1465
  }, null, 8, [
@@ -1478,21 +1469,21 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
1478
1469
  "notice",
1479
1470
  "caption"
1480
1471
  ])) : v("", !0),
1481
- B.value.userOptionsButtons.annotator ? (w(), Ee(k(We), {
1472
+ B.value.userOptionsButtons.annotator ? (T(), De(A(Ge), {
1482
1473
  key: 1,
1483
- svgRef: k(qn),
1474
+ svgRef: A(Jn),
1484
1475
  backgroundColor: B.value.backgroundColor,
1485
1476
  color: B.value.color,
1486
- active: Wr.value,
1487
- isCursorPointer: Vn.value,
1488
- onClose: Gr
1477
+ active: Gr.value,
1478
+ isCursorPointer: Hn.value,
1479
+ onClose: Kr
1489
1480
  }, {
1490
- "annotator-action-close": A(() => [D(e.$slots, "annotator-action-close", {}, void 0, !0)]),
1491
- "annotator-action-color": A(({ color: t }) => [D(e.$slots, "annotator-action-color", S(x({ color: t })), void 0, !0)]),
1492
- "annotator-action-draw": A(({ mode: t }) => [D(e.$slots, "annotator-action-draw", S(x({ mode: t })), void 0, !0)]),
1493
- "annotator-action-undo": A(({ disabled: t }) => [D(e.$slots, "annotator-action-undo", S(x({ disabled: t })), void 0, !0)]),
1494
- "annotator-action-redo": A(({ disabled: t }) => [D(e.$slots, "annotator-action-redo", S(x({ disabled: t })), void 0, !0)]),
1495
- "annotator-action-delete": A(({ disabled: t }) => [D(e.$slots, "annotator-action-delete", S(x({ disabled: t })), void 0, !0)]),
1481
+ "annotator-action-close": j(() => [O(e.$slots, "annotator-action-close", {}, void 0, !0)]),
1482
+ "annotator-action-color": j(({ color: t }) => [O(e.$slots, "annotator-action-color", C(x({ color: t })), void 0, !0)]),
1483
+ "annotator-action-draw": j(({ mode: t }) => [O(e.$slots, "annotator-action-draw", C(x({ mode: t })), void 0, !0)]),
1484
+ "annotator-action-undo": j(({ disabled: t }) => [O(e.$slots, "annotator-action-undo", C(x({ disabled: t })), void 0, !0)]),
1485
+ "annotator-action-redo": j(({ disabled: t }) => [O(e.$slots, "annotator-action-redo", C(x({ disabled: t })), void 0, !0)]),
1486
+ "annotator-action-delete": j(({ disabled: t }) => [O(e.$slots, "annotator-action-delete", C(x({ disabled: t })), void 0, !0)]),
1496
1487
  _: 3
1497
1488
  }, 8, [
1498
1489
  "svgRef",
@@ -1501,20 +1492,20 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
1501
1492
  "active",
1502
1493
  "isCursorPointer"
1503
1494
  ])) : v("", !0),
1504
- sr.value ? (w(), y("div", {
1495
+ cr.value ? (T(), y("div", {
1505
1496
  key: 2,
1506
1497
  ref_key: "noTitle",
1507
- ref: jn,
1498
+ ref: Mn,
1508
1499
  class: "vue-data-ui-no-title-space",
1509
1500
  style: "height:36px; width: 100%;background:transparent"
1510
1501
  }, null, 512)) : v("", !0),
1511
- B.value.showUserOptions && (Yn.value || Xn.value) ? (w(), Ee(k(Ke), {
1502
+ B.value.showUserOptions && (Xn.value || Zn.value) ? (T(), De(A(qe), {
1512
1503
  ref: "details",
1513
- key: `user_option_${Mn.value}`,
1504
+ key: `user_option_${Nn.value}`,
1514
1505
  backgroundColor: B.value.backgroundColor,
1515
1506
  color: B.value.color,
1516
- isPrinting: k(rr),
1517
- isImaging: k(ir),
1507
+ isPrinting: A(ir),
1508
+ isImaging: A(ar),
1518
1509
  uid: F.value,
1519
1510
  hasTooltip: B.value.userOptionsButtons.tooltip && B.value.showTooltip,
1520
1511
  hasPdf: B.value.userOptionsButtons.pdf,
@@ -1523,28 +1514,28 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
1523
1514
  hasFullscreen: B.value.userOptionsButtons.fullscreen,
1524
1515
  hasAltCopy: B.value.userOptionsButtons.altCopy,
1525
1516
  hasXls: !1,
1526
- isTooltip: cr.value.showTooltip,
1527
- isFullscreen: Vr.value,
1517
+ isTooltip: lr.value.showTooltip,
1518
+ isFullscreen: Hr.value,
1528
1519
  titles: { ...B.value.userOptionsButtonTitles },
1529
1520
  chartElement: P.value,
1530
1521
  position: B.value.userOptionsPosition,
1531
1522
  hasAnnotator: B.value.userOptionsButtons.annotator,
1532
- isAnnotation: Wr.value,
1523
+ isAnnotation: Gr.value,
1533
1524
  callbacks: B.value.userOptionsCallbacks,
1534
1525
  printScale: B.value.userOptionsPrint.scale,
1535
- isCursorPointer: Vn.value,
1536
- onToggleFullscreen: Hr,
1537
- onGeneratePdf: k(ar),
1538
- onGenerateImage: k(or),
1539
- onGenerateSvg: ei,
1540
- onToggleTooltip: Ur,
1541
- onToggleAnnotator: Gr,
1542
- onCopyAlt: ti,
1543
- style: C({ visibility: Yn.value ? Xn.value ? "visible" : "hidden" : "visible" })
1544
- }, De({ _: 2 }, [
1526
+ isCursorPointer: Hn.value,
1527
+ onToggleFullscreen: Ur,
1528
+ onGeneratePdf: A(or),
1529
+ onGenerateImage: A(sr),
1530
+ onGenerateSvg: ti,
1531
+ onToggleTooltip: Wr,
1532
+ onToggleAnnotator: Kr,
1533
+ onCopyAlt: ni,
1534
+ style: w({ visibility: Xn.value ? Zn.value ? "visible" : "hidden" : "visible" })
1535
+ }, Oe({ _: 2 }, [
1545
1536
  e.$slots.menuIcon ? {
1546
1537
  name: "menuIcon",
1547
- fn: A(({ isOpen: t, color: n }) => [D(e.$slots, "menuIcon", S(x({
1538
+ fn: j(({ isOpen: t, color: n }) => [O(e.$slots, "menuIcon", C(x({
1548
1539
  isOpen: t,
1549
1540
  color: n
1550
1541
  })), void 0, !0)]),
@@ -1552,27 +1543,27 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
1552
1543
  } : void 0,
1553
1544
  e.$slots.optionTooltip ? {
1554
1545
  name: "optionTooltip",
1555
- fn: A(() => [D(e.$slots, "optionTooltip", {}, void 0, !0)]),
1546
+ fn: j(() => [O(e.$slots, "optionTooltip", {}, void 0, !0)]),
1556
1547
  key: "1"
1557
1548
  } : void 0,
1558
1549
  e.$slots.optionPdf ? {
1559
1550
  name: "optionPdf",
1560
- fn: A(() => [D(e.$slots, "optionPdf", {}, void 0, !0)]),
1551
+ fn: j(() => [O(e.$slots, "optionPdf", {}, void 0, !0)]),
1561
1552
  key: "2"
1562
1553
  } : void 0,
1563
1554
  e.$slots.optionImg ? {
1564
1555
  name: "optionImg",
1565
- fn: A(() => [D(e.$slots, "optionImg", {}, void 0, !0)]),
1556
+ fn: j(() => [O(e.$slots, "optionImg", {}, void 0, !0)]),
1566
1557
  key: "3"
1567
1558
  } : void 0,
1568
1559
  e.$slots.optionSvg ? {
1569
1560
  name: "optionSvg",
1570
- fn: A(() => [D(e.$slots, "optionSvg", {}, void 0, !0)]),
1561
+ fn: j(() => [O(e.$slots, "optionSvg", {}, void 0, !0)]),
1571
1562
  key: "4"
1572
1563
  } : void 0,
1573
1564
  e.$slots.optionFullscreen ? {
1574
1565
  name: "optionFullscreen",
1575
- fn: A(({ toggleFullscreen: t, isFullscreen: n }) => [D(e.$slots, "optionFullscreen", S(x({
1566
+ fn: j(({ toggleFullscreen: t, isFullscreen: n }) => [O(e.$slots, "optionFullscreen", C(x({
1576
1567
  toggleFullscreen: t,
1577
1568
  isFullscreen: n
1578
1569
  })), void 0, !0)]),
@@ -1580,7 +1571,7 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
1580
1571
  } : void 0,
1581
1572
  e.$slots.optionAnnotator ? {
1582
1573
  name: "optionAnnotator",
1583
- fn: A(({ toggleAnnotator: t, isAnnotator: n }) => [D(e.$slots, "optionAnnotator", S(x({
1574
+ fn: j(({ toggleAnnotator: t, isAnnotator: n }) => [O(e.$slots, "optionAnnotator", C(x({
1584
1575
  toggleAnnotator: t,
1585
1576
  isAnnotator: n
1586
1577
  })), void 0, !0)]),
@@ -1588,17 +1579,17 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
1588
1579
  } : void 0,
1589
1580
  e.$slots.optionAltCopy ? {
1590
1581
  name: "optionAltCopy",
1591
- fn: A(({ altCopy: t }) => [D(e.$slots, "optionAltCopy", S(x({ altCopy: t })), void 0, !0)]),
1582
+ fn: j(({ altCopy: t }) => [O(e.$slots, "optionAltCopy", C(x({ altCopy: t })), void 0, !0)]),
1592
1583
  key: "7"
1593
1584
  } : void 0,
1594
1585
  e.$slots["custom-menu-before"] ? {
1595
1586
  name: "custom-menu-before",
1596
- fn: A(() => [D(e.$slots, "custom-menu-before", {}, void 0, !0)]),
1587
+ fn: j(() => [O(e.$slots, "custom-menu-before", {}, void 0, !0)]),
1597
1588
  key: "8"
1598
1589
  } : void 0,
1599
1590
  e.$slots["custom-menu-after"] ? {
1600
1591
  name: "custom-menu-after",
1601
- fn: A(() => [D(e.$slots, "custom-menu-after", {}, void 0, !0)]),
1592
+ fn: j(() => [O(e.$slots, "custom-menu-after", {}, void 0, !0)]),
1602
1593
  key: "9"
1603
1594
  } : void 0
1604
1595
  ]), 1032, [
@@ -1627,52 +1618,52 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
1627
1618
  "onGenerateImage",
1628
1619
  "style"
1629
1620
  ])) : v("", !0),
1630
- B.value.title ? (w(), y("div", {
1621
+ B.value.title ? (T(), y("div", {
1631
1622
  key: 4,
1632
1623
  ref_key: "quickChartTitle",
1633
- ref: Tn,
1624
+ ref: En,
1634
1625
  class: "vue-ui-quick-chart-title",
1635
- style: C(`background:transparent;color:${B.value.color};font-size:${B.value.titleFontSize}px;font-weight:${B.value.titleBold ? "bold" : "normal"};text-align:${B.value.titleTextAlign}`)
1636
- }, O(B.value.title), 5)) : v("", !0),
1637
- b("div", { id: `legend-top-${F.value}` }, null, 8, Qe),
1638
- b("div", $e, [K.value ? (w(), y("svg", {
1626
+ style: w(`background:transparent;color:${B.value.color};font-size:${B.value.titleFontSize}px;font-weight:${B.value.titleBold ? "bold" : "normal"};text-align:${B.value.titleTextAlign}`)
1627
+ }, k(B.value.title), 5)) : v("", !0),
1628
+ b("div", { id: `legend-top-${F.value}` }, null, 8, et),
1629
+ b("div", tt, [K.value ? (T(), y("svg", {
1639
1630
  key: 0,
1640
1631
  ref_key: "svgRef",
1641
- ref: qn,
1642
- xmlns: k(ae),
1632
+ ref: Jn,
1633
+ xmlns: A(ae),
1643
1634
  "aria-describedby": `chart-instructions-${F.value}`,
1644
- viewBox: fr.value,
1645
- style: C(`max-width:100%;overflow:visible;background:transparent;color:${B.value.color}`),
1635
+ viewBox: pr.value,
1636
+ style: w(`max-width:100%;overflow:visible;background:transparent;color:${B.value.color}`),
1646
1637
  tabindex: "0",
1647
- onFocus: ii,
1648
- onBlur: ai,
1649
- onKeydown: oi
1638
+ onFocus: ai,
1639
+ onBlur: oi,
1640
+ onKeydown: si
1650
1641
  }, [
1651
- Oe(k(He)),
1652
- e.$slots["chart-background"] && K.value === j.BAR ? (w(), y("foreignObject", {
1642
+ ke(A(He)),
1643
+ e.$slots["chart-background"] && K.value === M.BAR ? (T(), y("foreignObject", {
1653
1644
  key: 0,
1654
1645
  x: Q.value.drawingArea.left,
1655
1646
  y: Q.value.drawingArea.top,
1656
1647
  width: Q.value.drawingArea.width,
1657
1648
  height: Q.value.drawingArea.height,
1658
1649
  style: { pointerEvents: "none" }
1659
- }, [D(e.$slots, "chart-background", {}, void 0, !0)], 8, tt)) : v("", !0),
1660
- e.$slots["chart-background"] && K.value === j.LINE ? (w(), y("foreignObject", {
1650
+ }, [O(e.$slots, "chart-background", {}, void 0, !0)], 8, rt)) : v("", !0),
1651
+ e.$slots["chart-background"] && K.value === M.LINE ? (T(), y("foreignObject", {
1661
1652
  key: 1,
1662
1653
  x: Z.value.drawingArea.left,
1663
1654
  y: Z.value.drawingArea.top,
1664
1655
  width: Z.value.drawingArea.width,
1665
1656
  height: Z.value.drawingArea.height,
1666
1657
  style: { pointerEvents: "none" }
1667
- }, [D(e.$slots, "chart-background", {}, void 0, !0)], 8, nt)) : v("", !0),
1668
- e.$slots["chart-background"] && K.value === j.DONUT ? (w(), y("foreignObject", {
1658
+ }, [O(e.$slots, "chart-background", {}, void 0, !0)], 8, it)) : v("", !0),
1659
+ e.$slots["chart-background"] && K.value === M.DONUT ? (T(), y("foreignObject", {
1669
1660
  key: 2,
1670
1661
  x: 0,
1671
1662
  y: 0,
1672
1663
  width: q.value.width,
1673
1664
  height: q.value.height,
1674
1665
  style: { pointerEvents: "none" }
1675
- }, [D(e.$slots, "chart-background", {}, void 0, !0)], 8, rt)) : v("", !0),
1666
+ }, [O(e.$slots, "chart-background", {}, void 0, !0)], 8, at)) : v("", !0),
1676
1667
  b("defs", null, [b("filter", {
1677
1668
  id: `blur_${F.value}`,
1678
1669
  x: "-50%",
@@ -1683,10 +1674,10 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
1683
1674
  in: "SourceGraphic",
1684
1675
  stdDeviation: 2,
1685
1676
  id: `blur_std_${F.value}`
1686
- }, null, 8, at), t[4] ||= b("feColorMatrix", {
1677
+ }, null, 8, st), t[4] ||= b("feColorMatrix", {
1687
1678
  type: "saturate",
1688
1679
  values: "0"
1689
- }, null, -1)], 8, it), b("filter", {
1680
+ }, null, -1)], 8, ot), b("filter", {
1690
1681
  id: `shadow_${F.value}`,
1691
1682
  "color-interpolation-filters": "sRGB"
1692
1683
  }, [b("feDropShadow", {
@@ -1695,35 +1686,35 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
1695
1686
  stdDeviation: "10",
1696
1687
  "flood-opacity": "0.5",
1697
1688
  "flood-color": B.value.donutShadowColor
1698
- }, null, 8, st)], 8, ot)]),
1699
- K.value === j.DONUT ? (w(), y(g, { key: 3 }, [
1700
- B.value.showDataLabels ? (w(), y("g", ct, [(w(!0), y(g, null, E(Y.value.chart, (e, t) => (w(), y(g, null, [Y.value.isArcBigEnough(e) ? (w(), y("path", {
1689
+ }, null, 8, lt)], 8, ct)]),
1690
+ K.value === M.DONUT ? (T(), y(g, { key: 3 }, [
1691
+ B.value.showDataLabels ? (T(), y("g", ut, [(T(!0), y(g, null, D(Y.value.chart, (e, t) => (T(), y(g, null, [Y.value.isArcBigEnough(e) ? (T(), y("path", {
1701
1692
  key: 0,
1702
- d: k(ne)(e, {
1693
+ d: A(ne)(e, {
1703
1694
  x: q.value.width / 2,
1704
1695
  y: q.value.height / 2
1705
- }, 16, 16, !1, !1, q.value.height * Sr.value, 12, B.value.donutCurvedMarkers),
1696
+ }, 16, 16, !1, !1, q.value.height * Cr.value, 12, B.value.donutCurvedMarkers),
1706
1697
  stroke: e.color,
1707
1698
  "stroke-width": B.value.donutLabelMarkerStrokeWidth,
1708
1699
  "stroke-linecap": "round",
1709
1700
  "stroke-linejoin": "round",
1710
1701
  fill: "none",
1711
- filter: mr(e.id)
1712
- }, null, 8, lt)) : v("", !0)], 64))), 256))])) : v("", !0),
1702
+ filter: hr(e.id)
1703
+ }, null, 8, dt)) : v("", !0)], 64))), 256))])) : v("", !0),
1713
1704
  b("circle", {
1714
1705
  cx: Y.value.cx,
1715
1706
  cy: Y.value.cy,
1716
1707
  r: Y.value.radius,
1717
1708
  fill: B.value.backgroundColor,
1718
1709
  filter: B.value.donutUseShadow ? `url(#shadow_${F.value})` : ""
1719
- }, null, 8, ut),
1720
- b("g", dt, [(w(!0), y(g, null, E(Y.value.chart, (e, t) => (w(), y("path", {
1710
+ }, null, 8, ft),
1711
+ b("g", pt, [(T(!0), y(g, null, D(Y.value.chart, (e, t) => (T(), y("path", {
1721
1712
  d: e.arcSlice,
1722
1713
  fill: e.color,
1723
1714
  stroke: B.value.donutStroke || B.value.backgroundColor,
1724
1715
  "stroke-width": B.value.donutStrokeWidth,
1725
- filter: mr(e.id)
1726
- }, null, 8, ft))), 256)), (w(!0), y(g, null, E(Y.value.chart, (e, t) => (w(), y("path", {
1716
+ filter: hr(e.id)
1717
+ }, null, 8, mt))), 256)), (T(!0), y(g, null, D(Y.value.chart, (e, t) => (T(), y("path", {
1727
1718
  d: e.arcSlice,
1728
1719
  fill: "transparent",
1729
1720
  onMouseenter: (n) => Y.value.useTooltip({
@@ -1739,27 +1730,27 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
1739
1730
  datapoint: e,
1740
1731
  seriesIndex: t
1741
1732
  })
1742
- }, null, 40, pt))), 256))]),
1743
- B.value.showDataLabels ? (w(), y("g", mt, [(w(!0), y(g, null, E(Y.value.chart, (e, t) => (w(), y(g, null, [
1744
- Y.value.isArcBigEnough(e) ? (w(), y("circle", {
1733
+ }, null, 40, ht))), 256))]),
1734
+ B.value.showDataLabels ? (T(), y("g", gt, [(T(!0), y(g, null, D(Y.value.chart, (e, t) => (T(), y(g, null, [
1735
+ Y.value.isArcBigEnough(e) ? (T(), y("circle", {
1745
1736
  key: 0,
1746
- cx: k(d)(e).x,
1747
- cy: k(p)(e) - 3.7,
1737
+ cx: A(d)(e).x,
1738
+ cy: A(p)(e) - 3.7,
1748
1739
  fill: e.color,
1749
1740
  stroke: B.value.backgroundColor,
1750
1741
  "stroke-width": 1,
1751
1742
  r: 3,
1752
- filter: mr(e.id)
1753
- }, null, 8, ht)) : v("", !0),
1754
- Y.value.isArcBigEnough(e) ? (w(), y("text", {
1743
+ filter: hr(e.id)
1744
+ }, null, 8, _t)) : v("", !0),
1745
+ Y.value.isArcBigEnough(e) ? (T(), y("text", {
1755
1746
  key: 1,
1756
- "text-anchor": k(d)(e, !0, 20).anchor,
1757
- x: k(d)(e, !0).x,
1758
- y: k(p)(e),
1747
+ "text-anchor": A(d)(e, !0, 20).anchor,
1748
+ x: A(d)(e, !0).x,
1749
+ y: A(p)(e),
1759
1750
  fill: B.value.color,
1760
1751
  "font-size": B.value.dataLabelFontSize,
1761
- filter: mr(e.id)
1762
- }, O(Y.value.displayArcPercentage(e, Y.value.chart)) + " (" + O(k(m)(B.value.formatter, e.value, k(u)({
1752
+ filter: hr(e.id)
1753
+ }, k(Y.value.displayArcPercentage(e, Y.value.chart)) + " (" + k(A(m)(B.value.formatter, e.value, A(u)({
1763
1754
  p: B.value.valuePrefix,
1764
1755
  v: e.value,
1765
1756
  s: B.value.valueSuffix,
@@ -1767,38 +1758,38 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
1767
1758
  }), {
1768
1759
  datapoint: e,
1769
1760
  seriesIndex: t
1770
- })) + ") ", 9, gt)) : v("", !0),
1771
- Y.value.isArcBigEnough(e, !0, 20) ? (w(), y("text", {
1761
+ })) + ") ", 9, vt)) : v("", !0),
1762
+ Y.value.isArcBigEnough(e, !0, 20) ? (T(), y("text", {
1772
1763
  key: 2,
1773
- "text-anchor": k(d)(e).anchor,
1774
- x: k(d)(e, !0).x,
1775
- y: k(p)(e) + B.value.dataLabelFontSize,
1764
+ "text-anchor": A(d)(e).anchor,
1765
+ x: A(d)(e, !0).x,
1766
+ y: A(p)(e) + B.value.dataLabelFontSize,
1776
1767
  fill: B.value.color,
1777
1768
  "font-size": B.value.dataLabelFontSize,
1778
- filter: mr(e.id)
1779
- }, O(e.name), 9, _t)) : v("", !0)
1769
+ filter: hr(e.id)
1770
+ }, k(e.name), 9, yt)) : v("", !0)
1780
1771
  ], 64))), 256))])) : v("", !0),
1781
- B.value.donutShowTotal ? (w(), y("g", vt, [b("text", {
1772
+ B.value.donutShowTotal ? (T(), y("g", bt, [b("text", {
1782
1773
  "text-anchor": "middle",
1783
1774
  x: Y.value.drawingArea.centerX,
1784
1775
  y: Y.value.drawingArea.centerY - B.value.donutTotalLabelFontSize / 2,
1785
1776
  "font-size": B.value.donutTotalLabelFontSize,
1786
1777
  fill: B.value.color
1787
- }, O(B.value.donutTotalLabelText), 9, yt), b("text", {
1778
+ }, k(B.value.donutTotalLabelText), 9, xt), b("text", {
1788
1779
  "text-anchor": "middle",
1789
1780
  x: Y.value.drawingArea.centerX,
1790
1781
  y: Y.value.drawingArea.centerY + B.value.donutTotalLabelFontSize,
1791
1782
  "font-size": B.value.donutTotalLabelFontSize,
1792
1783
  fill: B.value.color
1793
- }, O(k(u)({
1784
+ }, k(A(u)({
1794
1785
  p: B.value.valuePrefix,
1795
1786
  v: Y.value.total,
1796
1787
  s: B.value.valueSuffix,
1797
1788
  r: B.value.dataLabelRoundingValue
1798
- })), 9, bt)])) : v("", !0)
1789
+ })), 9, St)])) : v("", !0)
1799
1790
  ], 64)) : v("", !0),
1800
- K.value === j.LINE ? (w(), y(g, { key: 4 }, [
1801
- B.value.xyShowGrid ? (w(), y("g", xt, [(w(!0), y(g, null, E(Z.value.yLabels, (e) => (w(), y(g, null, [e.y <= Z.value.drawingArea.bottom ? (w(), y("line", {
1791
+ K.value === M.LINE ? (T(), y(g, { key: 4 }, [
1792
+ B.value.xyShowGrid ? (T(), y("g", Ct, [(T(!0), y(g, null, D(Z.value.yLabels, (e) => (T(), y(g, null, [e.y <= Z.value.drawingArea.bottom ? (T(), y("line", {
1802
1793
  key: 0,
1803
1794
  x1: Z.value.drawingArea.left,
1804
1795
  x2: Z.value.drawingArea.right,
@@ -1807,7 +1798,7 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
1807
1798
  stroke: B.value.xyGridStroke,
1808
1799
  "stroke-width": B.value.xyGridStrokeWidth,
1809
1800
  "stroke-linecap": "round"
1810
- }, null, 8, St)) : v("", !0)], 64))), 256)), (w(!0), y(g, null, E(Z.value.extremes.maxSeries + 1, (e, t) => (w(), y("line", {
1801
+ }, null, 8, wt)) : v("", !0)], 64))), 256)), (T(!0), y(g, null, D(Z.value.extremes.maxSeries + 1, (e, t) => (T(), y("line", {
1811
1802
  x1: Z.value.drawingArea.left + Z.value.slotSize * t,
1812
1803
  x2: Z.value.drawingArea.left + Z.value.slotSize * t,
1813
1804
  y1: Z.value.drawingArea.top,
@@ -1815,8 +1806,8 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
1815
1806
  stroke: B.value.xyGridStroke,
1816
1807
  "stroke-width": B.value.xyGridStrokeWidth,
1817
1808
  "stroke-linecap": "round"
1818
- }, null, 8, Ct))), 256))])) : v("", !0),
1819
- B.value.xyShowAxis ? (w(), y("g", wt, [b("line", {
1809
+ }, null, 8, Tt))), 256))])) : v("", !0),
1810
+ B.value.xyShowAxis ? (T(), y("g", Et, [b("line", {
1820
1811
  x1: Z.value.drawingArea.left,
1821
1812
  x2: Z.value.drawingArea.left,
1822
1813
  y1: Z.value.drawingArea.top,
@@ -1824,7 +1815,7 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
1824
1815
  stroke: B.value.xyAxisStroke,
1825
1816
  "stroke-width": B.value.xyAxisStrokeWidth,
1826
1817
  "stroke-linecap": "round"
1827
- }, null, 8, Tt), b("line", {
1818
+ }, null, 8, Dt), b("line", {
1828
1819
  x1: Z.value.drawingArea.left,
1829
1820
  x2: Z.value.drawingArea.right,
1830
1821
  y1: isNaN(Z.value.absoluteZero) ? Z.value.drawingArea.bottom : Z.value.absoluteZero,
@@ -1832,29 +1823,27 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
1832
1823
  stroke: B.value.xyAxisStroke,
1833
1824
  "stroke-width": B.value.xyAxisStrokeWidth,
1834
1825
  "stroke-linecap": "round"
1835
- }, null, 8, Et)])) : v("", !0),
1836
- B.value.xyShowScale ? (w(), y("g", {
1826
+ }, null, 8, Ot)])) : v("", !0),
1827
+ B.value.xyShowScale ? (T(), y("g", {
1837
1828
  key: 2,
1838
1829
  class: "yLabels",
1839
1830
  ref_key: "scaleLabels",
1840
- ref: Ln
1841
- }, [(w(!0), y(g, null, E(Z.value.yLabels, (e, t) => (w(), y(g, null, [e.y <= Z.value.drawingArea.bottom ? (w(), y("line", {
1831
+ ref: Rn
1832
+ }, [(T(!0), y(g, null, D(Z.value.yLabels, (e, t) => (T(), y(g, { key: `sl_${t}` }, [e.y <= Z.value.drawingArea.bottom ? (T(), y("path", {
1842
1833
  key: 0,
1843
- x1: e.x + 4,
1844
- x2: Z.value.drawingArea.left,
1845
- y1: e.y,
1846
- y2: e.y,
1834
+ class: S({ "vue-data-ui-datalabel": A(Ze) }),
1835
+ d: `M${e.x + 4},${e.y} ${Z.value.drawingArea.left},${e.y}`,
1847
1836
  stroke: B.value.xyAxisStroke,
1848
1837
  "stroke-width": B.value.xyAxisStrokeWidth,
1849
1838
  "stroke-linecap": "round"
1850
- }, null, 8, Dt)) : v("", !0), e.y <= Z.value.drawingArea.bottom ? (w(), y("text", {
1839
+ }, null, 10, kt)) : v("", !0), e.y <= Z.value.drawingArea.bottom ? (T(), y("text", {
1851
1840
  key: 1,
1852
- x: e.x,
1853
- y: e.y + B.value.xyLabelsYFontSize / 3,
1841
+ class: S({ "vue-data-ui-datalabel": A(Ze) }),
1842
+ transform: `translate(${e.x}, ${e.y + B.value.xyLabelsYFontSize / 3})`,
1854
1843
  "text-anchor": "end",
1855
1844
  "font-size": B.value.xyLabelsYFontSize,
1856
1845
  fill: B.value.color
1857
- }, O(k(m)(B.value.formatter, e.value, k(u)({
1846
+ }, k(A(m)(B.value.formatter, e.value, A(u)({
1858
1847
  p: B.value.valuePrefix,
1859
1848
  v: e.value,
1860
1849
  s: B.value.valueSuffix,
@@ -1862,8 +1851,8 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
1862
1851
  }), {
1863
1852
  datapoint: e,
1864
1853
  seriesIndex: t
1865
- })), 9, Ot)) : v("", !0)], 64))), 256))], 512)) : v("", !0),
1866
- B.value.xyShowScale && B.value.xyPeriods.length ? (w(), y("g", kt, [(w(!0), y(g, null, E($.value.map((e) => e.text), (e, t) => (w(), y(g, null, [!B.value.xyPeriodsShowOnlyAtModulo || B.value.xyPeriodsShowOnlyAtModulo && t % Math.floor((X.value.end - X.value.start) / Br.value) === 0 || X.value.end - X.value.start <= Br.value ? (w(), y("line", {
1854
+ })), 11, At)) : v("", !0)], 64))), 128))], 512)) : v("", !0),
1855
+ B.value.xyShowScale && B.value.xyPeriods.length ? (T(), y("g", jt, [(T(!0), y(g, null, D($.value.map((e) => e.text), (e, t) => (T(), y(g, null, [!B.value.xyPeriodsShowOnlyAtModulo || B.value.xyPeriodsShowOnlyAtModulo && t % Math.floor((X.value.end - X.value.start) / Vr.value) === 0 || X.value.end - X.value.start <= Vr.value ? (T(), y("line", {
1867
1856
  key: 0,
1868
1857
  x1: Z.value.drawingArea.left + Z.value.slotSize * (t + 1) - Z.value.slotSize / 2,
1869
1858
  x2: Z.value.drawingArea.left + Z.value.slotSize * (t + 1) - Z.value.slotSize / 2,
@@ -1872,134 +1861,132 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
1872
1861
  stroke: B.value.xyAxisStroke,
1873
1862
  "stroke-width": B.value.xyAxisStrokeWidth,
1874
1863
  "stroke-linecap": "round"
1875
- }, null, 8, At)) : v("", !0)], 64))), 256)), b("g", {
1864
+ }, null, 8, Mt)) : v("", !0)], 64))), 256)), b("g", {
1876
1865
  ref_key: "timeLabelsEls",
1877
1866
  ref: z
1878
- }, [(w(!0), y(g, null, E($.value.map((e) => e.text), (e, t) => (w(), y(g, null, [!B.value.xyPeriodsShowOnlyAtModulo || B.value.xyPeriodsShowOnlyAtModulo && t % Math.floor((X.value.end - X.value.start) / Br.value) === 0 || X.value.end - X.value.start <= Br.value ? (w(), y("g", jt, [String(e).includes("\n") ? (w(), y("text", {
1867
+ }, [(T(!0), y(g, null, D($.value.map((e) => e.text), (e, t) => (T(), y(g, null, [!B.value.xyPeriodsShowOnlyAtModulo || B.value.xyPeriodsShowOnlyAtModulo && t % Math.floor((X.value.end - X.value.start) / Vr.value) === 0 || X.value.end - X.value.start <= Vr.value ? (T(), y("g", Nt, [String(e).includes("\n") ? (T(), y("text", {
1879
1868
  key: 1,
1880
1869
  class: "vue-data-ui-time-label",
1881
1870
  "font-size": B.value.xyLabelsXFontSize,
1882
1871
  "text-anchor": B.value.xyPeriodLabelsRotation > 0 ? "start" : B.value.xyPeriodLabelsRotation < 0 ? "end" : "middle",
1883
1872
  fill: B.value.color,
1884
1873
  transform: `translate(${Z.value.drawingArea.left + Z.value.slotSize * (t + 1) - Z.value.slotSize / 2}, ${Z.value.drawingArea.bottom + B.value.xyLabelsXFontSize + 6}), rotate(${B.value.xyPeriodLabelsRotation})`,
1885
- innerHTML: k(l)({
1874
+ innerHTML: A(l)({
1886
1875
  content: String(e),
1887
1876
  fontSize: B.value.xyLabelsXFontSize,
1888
1877
  fill: B.value.color,
1889
1878
  x: 0,
1890
1879
  y: 0
1891
1880
  })
1892
- }, null, 8, Nt)) : (w(), y("text", {
1881
+ }, null, 8, Ft)) : (T(), y("text", {
1893
1882
  key: 0,
1894
1883
  class: "vue-data-ui-time-label",
1895
1884
  "font-size": B.value.xyLabelsXFontSize,
1896
1885
  "text-anchor": B.value.xyPeriodLabelsRotation > 0 ? "start" : B.value.xyPeriodLabelsRotation < 0 ? "end" : "middle",
1897
1886
  fill: B.value.color,
1898
1887
  transform: `translate(${Z.value.drawingArea.left + Z.value.slotSize * (t + 1) - Z.value.slotSize / 2}, ${Z.value.drawingArea.bottom + B.value.xyLabelsXFontSize + 6}), rotate(${B.value.xyPeriodLabelsRotation})`
1899
- }, O(e), 9, Mt))])) : v("", !0)], 64))), 256))], 512)])) : v("", !0),
1900
- b("g", Pt, [(w(!0), y(g, null, E(Z.value.dataset, (e, t) => (w(), y("g", Ft, [B.value.lineSmooth ? (w(), y(g, { key: 0 }, [b("path", {
1888
+ }, k(e), 9, Pt))])) : v("", !0)], 64))), 256))], 512)])) : v("", !0),
1889
+ b("g", It, [(T(!0), y(g, null, D(Z.value.dataset, (e, t) => (T(), y("g", {
1890
+ key: `serie_${e.id}`,
1891
+ class: "line-plot-series"
1892
+ }, [B.value.lineSmooth ? (T(), y(g, { key: 0 }, [b("path", {
1901
1893
  ref_for: !0,
1902
1894
  ref_key: "pathWrapper",
1903
- ref: Fn,
1904
- d: `M ${k(o)(e.coordinates)}`,
1895
+ ref: In,
1896
+ d: `M ${A(o)(e.coordinates)}`,
1905
1897
  stroke: B.value.backgroundColor,
1906
1898
  "stroke-width": B.value.lineStrokeWidth + 1,
1907
1899
  "stroke-linecap": "round",
1908
1900
  fill: "none",
1909
- class: Me({
1910
- "quick-animation": !k(U),
1911
- "vue-data-ui-line-animated": B.value.lineAnimated && !k(U)
1901
+ class: S({
1902
+ "quick-animation": !A(U),
1903
+ "vue-data-ui-line-animated": B.value.lineAnimated && !A(U)
1912
1904
  }),
1913
- style: C({ transition: k(U) ? void 0 : "all 0.3s ease-in-out" })
1914
- }, null, 14, It), b("path", {
1905
+ style: w({ transition: A(U) ? void 0 : "all 0.2s ease-in-out" })
1906
+ }, null, 14, Lt), b("path", {
1915
1907
  ref_for: !0,
1916
1908
  ref_key: "pathTop",
1917
- ref: In,
1918
- d: `M ${k(o)(e.coordinates)}`,
1909
+ ref: Ln,
1910
+ d: `M ${A(o)(e.coordinates)}`,
1919
1911
  stroke: e.color,
1920
1912
  "stroke-width": B.value.lineStrokeWidth,
1921
1913
  "stroke-linecap": "round",
1922
1914
  fill: "none",
1923
- class: Me({
1924
- "quick-animation": !k(U),
1925
- "vue-data-ui-line-animated": B.value.lineAnimated && !k(U)
1915
+ class: S({
1916
+ "quick-animation": !A(U),
1917
+ "vue-data-ui-line-animated": B.value.lineAnimated && !A(U)
1926
1918
  }),
1927
- style: C({ transition: k(U) ? void 0 : "all 0.3s ease-in-out" })
1928
- }, null, 14, Lt)], 64)) : (w(), y(g, { key: 1 }, [b("path", {
1919
+ style: w({ transition: A(U) ? void 0 : "all 0.2s ease-in-out" })
1920
+ }, null, 14, Rt)], 64)) : (T(), y(g, { key: 1 }, [b("path", {
1929
1921
  ref_for: !0,
1930
1922
  ref_key: "pathWrapper",
1931
- ref: Fn,
1923
+ ref: In,
1932
1924
  d: `M ${e.linePath}`,
1933
1925
  stroke: B.value.backgroundColor,
1934
1926
  "stroke-width": B.value.lineStrokeWidth + 1,
1935
1927
  "stroke-linecap": "round",
1936
1928
  fill: "none",
1937
- class: Me({
1938
- "quick-animation": !k(U),
1939
- "vue-data-ui-line-animated": B.value.lineAnimated && !k(U)
1929
+ class: S({
1930
+ "quick-animation": !A(U),
1931
+ "vue-data-ui-line-animated": B.value.lineAnimated && !A(U)
1940
1932
  }),
1941
- style: C({ transition: k(U) ? void 0 : "all 0.3s ease-in-out" })
1942
- }, null, 14, Rt), b("path", {
1933
+ style: w({ transition: A(U) ? void 0 : "all 0.2s ease-in-out" })
1934
+ }, null, 14, zt), b("path", {
1943
1935
  ref_for: !0,
1944
1936
  ref_key: "pathTop",
1945
- ref: In,
1937
+ ref: Ln,
1946
1938
  d: `M ${e.linePath}`,
1947
1939
  stroke: e.color,
1948
1940
  "stroke-width": B.value.lineStrokeWidth,
1949
1941
  "stroke-linecap": "round",
1950
1942
  fill: "none",
1951
- class: Me({
1952
- "quick-animation": !k(U),
1953
- "vue-data-ui-line-animated": B.value.lineAnimated && !k(U)
1943
+ class: S({
1944
+ "quick-animation": !A(U),
1945
+ "vue-data-ui-line-animated": B.value.lineAnimated && !A(U)
1954
1946
  }),
1955
- style: C({ transition: k(U) ? void 0 : "all 0.3s ease-in-out" })
1956
- }, null, 14, zt)], 64)), (w(!0), y(g, null, E(e.coordinates, (t, n) => (w(), y("circle", {
1947
+ style: w({ transition: A(U) ? void 0 : "all 0.2s ease-in-out" })
1948
+ }, null, 14, Bt)], 64)), (T(!0), y(g, null, D(e.coordinates, (t, n) => (T(), y("circle", {
1949
+ key: `dp_${e.id}_${n + X.value.start}`,
1957
1950
  cx: t.x,
1958
- cy: k(h)(t.y),
1951
+ cy: A(h)(t.y),
1959
1952
  r: 3,
1960
1953
  fill: e.color,
1961
1954
  stroke: B.value.backgroundColor,
1962
1955
  "stroke-width": "0.5",
1963
- class: Me({
1964
- "vue-ui-quick-chart-plot": !0,
1965
- "quick-animation": !k(U)
1966
- }),
1967
- style: C({ transition: k(U) ? void 0 : "all 0.3s ease-in-out" })
1968
- }, null, 14, Bt))), 256))]))), 256))]),
1969
- B.value.showDataLabels ? (w(), y("g", Vt, [(w(!0), y(g, null, E(Z.value.dataset, (e, t) => (w(), y(g, null, [(w(!0), y(g, null, E(e.coordinates, (t, n) => (w(), y("text", {
1956
+ class: S({ "vue-ui-quick-chart-plot": !0 }),
1957
+ style: w({ transition: A(U) ? void 0 : "all 0.2s ease-in-out" })
1958
+ }, null, 12, Vt))), 128))]))), 128))]),
1959
+ B.value.showDataLabels ? (T(), y("g", Ht, [(T(!0), y(g, null, D(Z.value.dataset, (e, t) => (T(), y(g, { key: `ds_${e.id}` }, [(T(!0), y(g, null, D(e.coordinates, (t, n) => (T(), y("text", {
1960
+ class: S(["vue-ui-quick-chart-label", { "vue-data-ui-datalabel": A(Ze) }]),
1961
+ key: `plot_${e.id}_${n + X.value.start}`,
1970
1962
  "text-anchor": "middle",
1971
1963
  "font-size": B.value.dataLabelFontSize,
1972
1964
  fill: e.color,
1973
- x: t.x,
1974
- y: k(h)(t.y) - B.value.dataLabelFontSize / 2,
1975
- class: Me({
1976
- "vue-ui-quick-chart-label": !0,
1977
- "quick-animation": !k(U)
1978
- }),
1979
- style: C({ transition: k(U) ? void 0 : "all 0.3s ease-in-out" })
1980
- }, O(k(m)(B.value.formatter, k(h)(t.value), k(u)({
1965
+ transform: `translate(${t.x}, ${A(h)(t.y) - B.value.dataLabelFontSize / 2})`,
1966
+ style: w({ transition: A(U) ? void 0 : "all 0.2s ease-in-out" })
1967
+ }, k(A(m)(B.value.formatter, A(h)(t.value), A(u)({
1981
1968
  p: B.value.valuePrefix,
1982
- v: k(h)(t.value),
1969
+ v: A(h)(t.value),
1983
1970
  s: B.value.valueSuffix,
1984
1971
  r: B.value.dataLabelRoundingValue
1985
1972
  }), {
1986
1973
  datapoint: t,
1987
1974
  seriesIndex: n
1988
- })), 15, Ht))), 256))], 64))), 256))])) : v("", !0),
1989
- Zn.value ? (w(), y("g", Ut, [(w(!0), y(g, null, E(Z.value.extremes.maxSeries, (e, t) => (w(), y("rect", {
1975
+ })), 15, Ut))), 128))], 64))), 128))])) : v("", !0),
1976
+ Qn.value ? (T(), y("g", Wt, [(T(!0), y(g, null, D(Z.value.extremes.maxSeries, (e, t) => (T(), y("rect", {
1990
1977
  x: Z.value.drawingArea.left + t * Z.value.slotSize,
1991
1978
  y: Z.value.drawingArea.top,
1992
1979
  height: Z.value.drawingArea.height <= 0 ? 1e-5 : Z.value.drawingArea.height,
1993
1980
  width: Z.value.slotSize <= 0 ? 1e-5 : Z.value.slotSize,
1994
1981
  fill: [L.value, J.value].includes(t) ? B.value.xyHighlighterColor : "transparent",
1995
- style: C(`opacity:${B.value.xyHighlighterOpacity}`),
1982
+ style: w(`opacity:${B.value.xyHighlighterOpacity}`),
1996
1983
  onMouseenter: (e) => Z.value.useTooltip(t, "pointer"),
1997
1984
  onMouseleave: (e) => Z.value.killTooltip(t),
1998
1985
  onClick: (e) => Z.value.selectDatapoint(t)
1999
- }, null, 44, Wt))), 256))])) : v("", !0)
1986
+ }, null, 44, Gt))), 256))])) : v("", !0)
2000
1987
  ], 64)) : v("", !0),
2001
- K.value === j.BAR ? (w(), y(g, { key: 5 }, [
2002
- B.value.xyShowGrid ? (w(), y("g", Gt, [(w(!0), y(g, null, E(Q.value.yLabels, (e) => (w(), y(g, null, [e.y <= Q.value.drawingArea.bottom ? (w(), y("line", {
1988
+ K.value === M.BAR ? (T(), y(g, { key: 5 }, [
1989
+ B.value.xyShowGrid ? (T(), y("g", Kt, [(T(!0), y(g, null, D(Q.value.yLabels, (e) => (T(), y(g, null, [e.y <= Q.value.drawingArea.bottom ? (T(), y("line", {
2003
1990
  key: 0,
2004
1991
  x1: Q.value.drawingArea.left,
2005
1992
  x2: Q.value.drawingArea.right,
@@ -2008,7 +1995,7 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
2008
1995
  stroke: B.value.xyGridStroke,
2009
1996
  "stroke-width": B.value.xyGridStrokeWidth,
2010
1997
  "stroke-linecap": "round"
2011
- }, null, 8, Kt)) : v("", !0)], 64))), 256)), R.value.length < Q.value.legend.length ? (w(!0), y(g, { key: 0 }, E(Q.value.extremes.maxSeries + 1, (e, t) => (w(), y("line", {
1998
+ }, null, 8, qt)) : v("", !0)], 64))), 256)), R.value.length < Q.value.legend.length ? (T(!0), y(g, { key: 0 }, D(Q.value.extremes.maxSeries + 1, (e, t) => (T(), y("line", {
2012
1999
  x1: Q.value.drawingArea.left + Q.value.slotSize * t,
2013
2000
  x2: Q.value.drawingArea.left + Q.value.slotSize * t,
2014
2001
  y1: Q.value.drawingArea.top,
@@ -2016,8 +2003,8 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
2016
2003
  stroke: B.value.xyGridStroke,
2017
2004
  "stroke-width": B.value.xyGridStrokeWidth,
2018
2005
  "stroke-linecap": "round"
2019
- }, null, 8, qt))), 256)) : v("", !0)])) : v("", !0),
2020
- B.value.xyShowAxis ? (w(), y("g", Jt, [b("line", {
2006
+ }, null, 8, Jt))), 256)) : v("", !0)])) : v("", !0),
2007
+ B.value.xyShowAxis ? (T(), y("g", Yt, [b("line", {
2021
2008
  x1: Q.value.drawingArea.left,
2022
2009
  x2: Q.value.drawingArea.left,
2023
2010
  y1: Q.value.drawingArea.top,
@@ -2025,7 +2012,7 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
2025
2012
  stroke: B.value.xyAxisStroke,
2026
2013
  "stroke-width": B.value.xyAxisStrokeWidth,
2027
2014
  "stroke-linecap": "round"
2028
- }, null, 8, Yt), b("line", {
2015
+ }, null, 8, Xt), b("line", {
2029
2016
  x1: Q.value.drawingArea.left,
2030
2017
  x2: Q.value.drawingArea.right,
2031
2018
  y1: isNaN(Q.value.absoluteZero) ? Q.value.drawingArea.bottom : Q.value.absoluteZero,
@@ -2033,29 +2020,27 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
2033
2020
  stroke: B.value.xyAxisStroke,
2034
2021
  "stroke-width": B.value.xyAxisStrokeWidth,
2035
2022
  "stroke-linecap": "round"
2036
- }, null, 8, Xt)])) : v("", !0),
2037
- B.value.xyShowScale ? (w(), y("g", {
2023
+ }, null, 8, Zt)])) : v("", !0),
2024
+ B.value.xyShowScale ? (T(), y("g", {
2038
2025
  key: 2,
2039
2026
  class: "yLabels",
2040
2027
  ref_key: "scaleLabels",
2041
- ref: Ln
2042
- }, [(w(!0), y(g, null, E(Q.value.yLabels, (e, t) => (w(), y(g, null, [e.y <= Q.value.drawingArea.bottom ? (w(), y("line", {
2028
+ ref: Rn
2029
+ }, [(T(!0), y(g, null, D(Q.value.yLabels, (e, t) => (T(), y(g, { key: `sl_${t}` }, [e.y <= Q.value.drawingArea.bottom ? (T(), y("path", {
2043
2030
  key: 0,
2044
- x1: e.x + 4,
2045
- x2: Q.value.drawingArea.left,
2046
- y1: e.y,
2047
- y2: e.y,
2031
+ class: S({ "vue-data-ui-datalabel": A(Ze) }),
2032
+ d: `M${e.x + 4},${e.y} ${Q.value.drawingArea.left},${e.y}`,
2048
2033
  stroke: B.value.xyAxisStroke,
2049
2034
  "stroke-width": B.value.xyAxisStrokeWidth,
2050
2035
  "stroke-linecap": "round"
2051
- }, null, 8, Zt)) : v("", !0), e.y <= Q.value.drawingArea.bottom ? (w(), y("text", {
2036
+ }, null, 10, Qt)) : v("", !0), e.y <= Q.value.drawingArea.bottom ? (T(), y("text", {
2052
2037
  key: 1,
2053
- x: e.x,
2054
- y: e.y + B.value.xyLabelsYFontSize / 3,
2038
+ class: S({ "vue-data-ui-datalabel": A(Ze) }),
2039
+ transform: `translate(${e.x}, ${e.y + B.value.xyLabelsYFontSize / 3})`,
2055
2040
  "text-anchor": "end",
2056
2041
  "font-size": B.value.xyLabelsYFontSize,
2057
2042
  fill: B.value.color
2058
- }, O(k(m)(B.value.formatter, e.value, k(u)({
2043
+ }, k(A(m)(B.value.formatter, e.value, A(u)({
2059
2044
  p: B.value.valuePrefix,
2060
2045
  v: e.value,
2061
2046
  s: B.value.valueSuffix,
@@ -2063,8 +2048,8 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
2063
2048
  }), {
2064
2049
  datapoint: e,
2065
2050
  seriesIndex: t
2066
- })), 9, Qt)) : v("", !0)], 64))), 256))], 512)) : v("", !0),
2067
- B.value.xyShowScale && B.value.xyPeriods.length ? (w(), y("g", $t, [(w(!0), y(g, null, E(B.value.xyPeriods.slice(X.value.start, X.value.end), (e, t) => (w(), y("line", {
2051
+ })), 11, $t)) : v("", !0)], 64))), 128))], 512)) : v("", !0),
2052
+ B.value.xyShowScale && B.value.xyPeriods.length ? (T(), y("g", en, [(T(!0), y(g, null, D(B.value.xyPeriods.slice(X.value.start, X.value.end), (e, t) => (T(), y("line", {
2068
2053
  x1: Q.value.drawingArea.left + Q.value.slotSize * (t + 1) - Q.value.slotSize / 2,
2069
2054
  x2: Q.value.drawingArea.left + Q.value.slotSize * (t + 1) - Q.value.slotSize / 2,
2070
2055
  y1: Q.value.drawingArea.bottom,
@@ -2072,139 +2057,138 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
2072
2057
  stroke: B.value.xyAxisStroke,
2073
2058
  "stroke-width": B.value.xyAxisStrokeWidth,
2074
2059
  "stroke-linecap": "round"
2075
- }, null, 8, en))), 256)), b("g", {
2060
+ }, null, 8, tn))), 256)), b("g", {
2076
2061
  ref_key: "timeLabelsEls",
2077
2062
  ref: z
2078
- }, [(w(!0), y(g, null, E($.value.map((e) => e.text), (e, t) => (w(), y(g, null, [!B.value.xyPeriodsShowOnlyAtModulo || B.value.xyPeriodsShowOnlyAtModulo && t % Math.floor((X.value.end - X.value.start) / Br.value) === 0 || X.value.end - X.value.start <= Br.value ? (w(), y("g", tn, [String(e).includes("\n") ? (w(), y("text", {
2063
+ }, [(T(!0), y(g, null, D($.value.map((e) => e.text), (e, t) => (T(), y(g, null, [!B.value.xyPeriodsShowOnlyAtModulo || B.value.xyPeriodsShowOnlyAtModulo && t % Math.floor((X.value.end - X.value.start) / Vr.value) === 0 || X.value.end - X.value.start <= Vr.value ? (T(), y("g", nn, [String(e).includes("\n") ? (T(), y("text", {
2079
2064
  key: 1,
2080
2065
  class: "vue-data-ui-time-label",
2081
2066
  "font-size": B.value.xyLabelsXFontSize,
2082
2067
  "text-anchor": B.value.xyPeriodLabelsRotation > 0 ? "start" : B.value.xyPeriodLabelsRotation < 0 ? "end" : "middle",
2083
2068
  fill: B.value.color,
2084
2069
  transform: `translate(${Q.value.drawingArea.left + Q.value.slotSize * (t + 1) - Q.value.slotSize / 2}, ${Q.value.drawingArea.bottom + B.value.xyLabelsXFontSize + 6}), rotate(${B.value.xyPeriodLabelsRotation})`,
2085
- innerHTML: k(l)({
2070
+ innerHTML: A(l)({
2086
2071
  content: String(e),
2087
2072
  fontSize: B.value.xyLabelsXFontSize,
2088
2073
  fill: B.value.color,
2089
2074
  x: 0,
2090
2075
  y: 0
2091
2076
  })
2092
- }, null, 8, rn)) : (w(), y("text", {
2077
+ }, null, 8, an)) : (T(), y("text", {
2093
2078
  key: 0,
2094
2079
  class: "vue-data-ui-time-label",
2095
2080
  "font-size": B.value.xyLabelsXFontSize,
2096
2081
  "text-anchor": B.value.xyPeriodLabelsRotation > 0 ? "start" : B.value.xyPeriodLabelsRotation < 0 ? "end" : "middle",
2097
2082
  fill: B.value.color,
2098
2083
  transform: `translate(${Q.value.drawingArea.left + Q.value.slotSize * (t + 1) - Q.value.slotSize / 2}, ${Q.value.drawingArea.bottom + B.value.xyLabelsXFontSize + 6}), rotate(${B.value.xyPeriodLabelsRotation})`
2099
- }, O(e), 9, nn))])) : v("", !0)], 64))), 256))], 512)])) : v("", !0),
2100
- b("g", an, [(w(!0), y(g, null, E(Q.value.dataset, (e, t) => (w(), y(g, null, [(w(!0), y(g, null, E(e.coordinates, (t, n) => (w(), y("rect", {
2084
+ }, k(e), 9, rn))])) : v("", !0)], 64))), 256))], 512)])) : v("", !0),
2085
+ b("g", on, [(T(!0), y(g, null, D(Q.value.dataset, (e, t) => (T(), y(g, null, [(T(!0), y(g, null, D(e.coordinates, (t, n) => (T(), y("rect", {
2101
2086
  x: t.x,
2102
2087
  width: t.width <= 0 ? 1e-5 : t.width,
2103
- height: k(h)(t.height <= 0 ? 1e-5 : t.height),
2104
- y: k(h)(t.y),
2088
+ height: A(h)(t.height <= 0 ? 1e-5 : t.height),
2089
+ y: A(h)(t.y),
2105
2090
  fill: e.color,
2106
2091
  stroke: B.value.backgroundColor,
2107
2092
  "stroke-width": B.value.barStrokeWidth,
2108
2093
  "stroke-linecap": "round",
2109
- class: Me({ "vue-data-ui-bar-animated": B.value.barAnimated && t.value < 0 && !k(U) })
2110
- }, [B.value.barAnimated && t.value > 0 && !k(rr) && !k(ir) ? (w(), y("animate", {
2094
+ class: S({ "vue-data-ui-bar-animated": B.value.barAnimated && t.value < 0 && !A(U) })
2095
+ }, [B.value.barAnimated && t.value > 0 && !A(ir) && !A(ar) ? (T(), y("animate", {
2111
2096
  key: 0,
2112
2097
  attributeName: "height",
2113
2098
  from: 0,
2114
2099
  to: t.height,
2115
2100
  dur: "0.5s"
2116
- }, null, 8, sn)) : v("", !0), B.value.barAnimated && t.value > 0 && !k(rr) && !k(ir) ? (w(), y("animate", {
2101
+ }, null, 8, cn)) : v("", !0), B.value.barAnimated && t.value > 0 && !A(ir) && !A(ar) ? (T(), y("animate", {
2117
2102
  key: 1,
2118
2103
  attributeName: "y",
2119
2104
  from: Q.value.absoluteZero,
2120
2105
  to: Q.value.absoluteZero - t.height,
2121
2106
  dur: "0.5s"
2122
- }, null, 8, cn)) : v("", !0)], 10, on))), 256))], 64))), 256))]),
2123
- B.value.showDataLabels ? (w(), y("g", ln, [(w(!0), y(g, null, E(Q.value.dataset, (e, t) => (w(), y(g, null, [(w(!0), y(g, null, E(e.coordinates, (t, n) => (w(), y("text", {
2124
- x: t.x + t.width / 2,
2125
- y: k(h)(t.y) - B.value.dataLabelFontSize / 2,
2107
+ }, null, 8, ln)) : v("", !0)], 10, sn))), 256))], 64))), 256))]),
2108
+ B.value.showDataLabels ? (T(), y("g", un, [(T(!0), y(g, null, D(Q.value.dataset, (e, t) => (T(), y(g, { key: `ds_${e.id}` }, [(T(!0), y(g, null, D(e.coordinates, (t, n) => (T(), y("text", {
2109
+ key: `plot_${n + X.value.start}`,
2110
+ transform: `translate(${t.x + t.width / 2}, ${A(h)(t.y) - B.value.dataLabelFontSize / 2})`,
2126
2111
  "text-anchor": "middle",
2127
2112
  "font-size": B.value.dataLabelFontSize,
2128
- fill: e.color,
2129
- class: "quick-animation"
2130
- }, O(k(m)(B.value.formatter, k(h)(t.value), k(u)({
2113
+ fill: e.color
2114
+ }, k(A(m)(B.value.formatter, A(h)(t.value), A(u)({
2131
2115
  p: B.value.valuePrefix,
2132
- v: k(h)(t.value),
2116
+ v: A(h)(t.value),
2133
2117
  s: B.value.valueSuffix,
2134
2118
  r: B.value.dataLabelRoundingValue
2135
2119
  }), {
2136
2120
  datapoint: t,
2137
2121
  seriesIndex: n
2138
- })), 9, un))), 256))], 64))), 256))])) : v("", !0),
2139
- Zn.value && R.value.length < Q.value.legend.length ? (w(), y("g", dn, [(w(!0), y(g, null, E(Q.value.extremes.maxSeries, (e, t) => (w(), y("rect", {
2122
+ })), 9, dn))), 128))], 64))), 128))])) : v("", !0),
2123
+ Qn.value && R.value.length < Q.value.legend.length ? (T(), y("g", fn, [(T(!0), y(g, null, D(Q.value.extremes.maxSeries, (e, t) => (T(), y("rect", {
2140
2124
  x: Q.value.drawingArea.left + t * Q.value.slotSize,
2141
2125
  y: Q.value.drawingArea.top,
2142
2126
  height: Q.value.drawingArea.height <= 0 ? 1e-5 : Q.value.drawingArea.height,
2143
2127
  width: Q.value.slotSize <= 0 ? 1e-5 : Q.value.slotSize,
2144
2128
  fill: [L.value, J.value].includes(t) ? B.value.xyHighlighterColor : "transparent",
2145
- style: C(`opacity:${B.value.xyHighlighterOpacity}`),
2129
+ style: w(`opacity:${B.value.xyHighlighterOpacity}`),
2146
2130
  onMouseenter: (e) => Q.value.useTooltip(t, "pointer"),
2147
2131
  onMouseleave: (e) => Q.value.killTooltip(t),
2148
2132
  onClick: (e) => Q.value.selectDatapoint(t)
2149
- }, null, 44, fn))), 256))])) : v("", !0)
2133
+ }, null, 44, pn))), 256))])) : v("", !0)
2150
2134
  ], 64)) : v("", !0),
2151
- [j.LINE, j.BAR].includes(K.value) ? (w(), y("g", pn, [
2152
- B.value.xAxisLabel && K.value === j.LINE ? (w(), y("g", {
2135
+ [M.LINE, M.BAR].includes(K.value) ? (T(), y("g", mn, [
2136
+ B.value.xAxisLabel && K.value === M.LINE ? (T(), y("g", {
2153
2137
  key: 0,
2154
2138
  ref_key: "xAxisLabel",
2155
- ref: Rn
2139
+ ref: zn
2156
2140
  }, [b("text", {
2157
2141
  "font-size": B.value.axisLabelsFontSize,
2158
2142
  fill: B.value.color,
2159
2143
  "text-anchor": "middle",
2160
2144
  x: Z.value.drawingArea.left + Z.value.drawingArea.width / 2,
2161
2145
  y: q.value.height - B.value.axisLabelsFontSize / 3
2162
- }, O(B.value.xAxisLabel), 9, mn)], 512)) : v("", !0),
2163
- B.value.xAxisLabel && K.value === j.BAR ? (w(), y("g", {
2146
+ }, k(B.value.xAxisLabel), 9, hn)], 512)) : v("", !0),
2147
+ B.value.xAxisLabel && K.value === M.BAR ? (T(), y("g", {
2164
2148
  key: 1,
2165
2149
  ref_key: "xAxisLabel",
2166
- ref: Rn
2150
+ ref: zn
2167
2151
  }, [b("text", {
2168
2152
  "font-size": B.value.axisLabelsFontSize,
2169
2153
  fill: B.value.color,
2170
2154
  "text-anchor": "middle",
2171
2155
  x: Q.value.drawingArea.left + Q.value.drawingArea.width / 2,
2172
2156
  y: q.value.height - B.value.axisLabelsFontSize / 3
2173
- }, O(B.value.xAxisLabel), 9, hn)], 512)) : v("", !0),
2174
- B.value.yAxisLabel && K.value === j.LINE ? (w(), y("g", {
2157
+ }, k(B.value.xAxisLabel), 9, gn)], 512)) : v("", !0),
2158
+ B.value.yAxisLabel && K.value === M.LINE ? (T(), y("g", {
2175
2159
  key: 2,
2176
2160
  ref_key: "yAxisLabel",
2177
- ref: zn
2161
+ ref: Bn
2178
2162
  }, [b("text", {
2179
2163
  "font-size": B.value.axisLabelsFontSize,
2180
2164
  fill: B.value.color,
2181
2165
  transform: `translate(${B.value.axisLabelsFontSize}, ${Z.value.drawingArea.top + Z.value.drawingArea.height / 2}) rotate(-90)`,
2182
2166
  "text-anchor": "middle"
2183
- }, O(B.value.yAxisLabel), 9, gn)], 512)) : v("", !0),
2184
- B.value.yAxisLabel && K.value === j.BAR ? (w(), y("g", {
2167
+ }, k(B.value.yAxisLabel), 9, _n)], 512)) : v("", !0),
2168
+ B.value.yAxisLabel && K.value === M.BAR ? (T(), y("g", {
2185
2169
  key: 3,
2186
2170
  ref_key: "yAxisLabel",
2187
- ref: zn
2171
+ ref: Bn
2188
2172
  }, [b("text", {
2189
2173
  "font-size": B.value.axisLabelsFontSize,
2190
2174
  fill: B.value.color,
2191
2175
  transform: `translate(${B.value.axisLabelsFontSize}, ${Q.value.drawingArea.top + Q.value.drawingArea.height / 2}) rotate(-90)`,
2192
2176
  "text-anchor": "middle"
2193
- }, O(B.value.yAxisLabel), 9, _n)], 512)) : v("", !0)
2177
+ }, k(B.value.yAxisLabel), 9, vn)], 512)) : v("", !0)
2194
2178
  ])) : v("", !0)
2195
- ], 44, et)) : v("", !0), e.$slots.hint ? (w(), y("div", vn, [D(e.$slots, "hint", S(x({
2179
+ ], 44, nt)) : v("", !0), e.$slots.hint ? (T(), y("div", yn, [O(e.$slots, "hint", C(x({
2196
2180
  hint: B.value.a11y.translations.keyboardNavigation,
2197
- isVisible: Un.value
2181
+ isVisible: Wn.value
2198
2182
  })), void 0, !0)])) : v("", !0)]),
2199
- e.$slots.watermark ? (w(), y("div", yn, [D(e.$slots, "watermark", S(x({ isPrinting: k(rr) || k(ir) })), void 0, !0)])) : v("", !0),
2200
- [j.BAR, j.LINE].includes(K.value) && B.value.zoomXy && G.value.maxSeriesLength > 1 ? (w(), y("div", {
2201
- key: `slicer_${Nn.value}`,
2183
+ e.$slots.watermark ? (T(), y("div", bn, [O(e.$slots, "watermark", C(x({ isPrinting: A(ir) || A(ar) })), void 0, !0)])) : v("", !0),
2184
+ [M.BAR, M.LINE].includes(K.value) && B.value.zoomXy && G.value.maxSeriesLength > 1 ? (T(), y("div", {
2185
+ key: `slicer_${Pn.value}`,
2202
2186
  ref_key: "quickChartSlicer",
2203
- ref: Dn
2204
- }, [(w(), Ee(Ce, {
2187
+ ref: On
2188
+ }, [(T(), De(we, {
2205
2189
  ref_key: "slicerComponent",
2206
- ref: wr,
2207
- key: `slicer_${Nn.value}`,
2190
+ ref: Tr,
2191
+ key: `slicer_${Pn.value}`,
2208
2192
  background: B.value.zoomColor,
2209
2193
  borderColor: B.value.backgroundColor,
2210
2194
  fontSize: B.value.zoomFontSize,
@@ -2223,7 +2207,7 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
2223
2207
  minimapSelectedColorOpacity: B.value.zoomMinimap.selectedColorOpacity,
2224
2208
  minimapSelectionRadius: B.value.zoomMinimap.selectionRadius,
2225
2209
  minimapLineColor: B.value.zoomMinimap.lineColor,
2226
- minimap: Dr.value,
2210
+ minimap: Or.value,
2227
2211
  minimapIndicatorColor: B.value.zoomMinimap.indicatorColor,
2228
2212
  verticalHandles: B.value.zoomMinimap.verticalHandles,
2229
2213
  minimapSelectedIndex: J.value,
@@ -2237,7 +2221,7 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
2237
2221
  enableSelectionDrag: B.value.zoomEnableSelectionDrag,
2238
2222
  minimapCompact: B.value.zoomMinimap.compact,
2239
2223
  minimapMerged: B.value.zoomMinimap.merged,
2240
- allMinimaps: Rr.value,
2224
+ allMinimaps: zr.value,
2241
2225
  minimapFrameColor: B.value.zoomMinimap.frameColor,
2242
2226
  additionalMinimapHeight: B.value.zoomMinimap.additionalHeight,
2243
2227
  handleType: B.value.zoomMinimap.handleType,
@@ -2249,31 +2233,31 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
2249
2233
  focusOnDrag: B.value.zoomFocusOnDrag,
2250
2234
  focusRangeRatio: B.value.zoomFocusRangeRatio,
2251
2235
  maxWidth: B.value.zoomMaxWidth,
2252
- onReset: Cr,
2253
- onTrapMouse: xr
2236
+ onReset: wr,
2237
+ onTrapMouse: Sr
2254
2238
  }, {
2255
- "reset-action": A(({ reset: t }) => [D(e.$slots, "reset-action", S(x({ reset: t })), void 0, !0)]),
2239
+ "reset-action": j(({ reset: t }) => [O(e.$slots, "reset-action", C(x({ reset: t })), void 0, !0)]),
2256
2240
  _: 3
2257
2241
  }, 8, /* @__PURE__ */ "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.minimapCompact.minimapMerged.allMinimaps.minimapFrameColor.additionalMinimapHeight.handleType.handleWidth.handleBorderWidth.handleIconColor.handleBorderColor.handleFill.focusOnDrag.focusRangeRatio.maxWidth".split(".")))])) : v("", !0),
2258
- b("div", { id: `legend-bottom-${F.value}` }, null, 8, bn),
2259
- Pn.value && B.value.showLegend ? (w(), Ee(Te, {
2242
+ b("div", { id: `legend-bottom-${F.value}` }, null, 8, xn),
2243
+ Fn.value && B.value.showLegend ? (T(), De(Ee, {
2260
2244
  key: 7,
2261
2245
  to: B.value.legendPosition === "top" ? `#legend-top-${F.value}` : `#legend-bottom-${F.value}`
2262
- }, [B.value.showLegend ? (w(), y("div", {
2246
+ }, [B.value.showLegend ? (T(), y("div", {
2263
2247
  key: 0,
2264
2248
  ref_key: "quickChartLegend",
2265
- ref: En,
2249
+ ref: Dn,
2266
2250
  class: "vue-ui-quick-chart-legend",
2267
- style: C(`background:transparent;color:${B.value.color}`)
2251
+ style: w(`background:transparent;color:${B.value.color}`)
2268
2252
  }, [
2269
- (Y.value?.legend?.length > 2 || Z.value?.legend?.length > 2 || Q.value?.legend?.length > 2) && B.value.showLegendSelectAllToggle && !k(U) ? (w(), Ee(be, {
2253
+ (Y.value?.legend?.length > 2 || Z.value?.legend?.length > 2 || Q.value?.legend?.length > 2) && B.value.showLegendSelectAllToggle && !A(U) ? (T(), De(xe, {
2270
2254
  key: 0,
2271
2255
  backgroundColor: B.value.legendSelectAllToggleBackgroundColor,
2272
2256
  color: B.value.legendSelectAllToggleColor,
2273
2257
  fontSize: B.value.legendFontSize,
2274
2258
  checked: R.value.length > 0,
2275
- isCursorPointer: Vn.value,
2276
- onToggle: hr
2259
+ isCursorPointer: Hn.value,
2260
+ onToggle: gr
2277
2261
  }, null, 8, [
2278
2262
  "backgroundColor",
2279
2263
  "color",
@@ -2281,28 +2265,25 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
2281
2265
  "checked",
2282
2266
  "isCursorPointer"
2283
2267
  ])) : v("", !0),
2284
- K.value === j.DONUT ? (w(!0), y(g, { key: 1 }, E(Y.value.legend, (t, n) => (w(), y("div", {
2268
+ K.value === M.DONUT ? (T(!0), y(g, { key: 1 }, D(Y.value.legend, (t, n) => (T(), y("div", {
2285
2269
  class: "vue-ui-quick-chart-legend-item",
2286
- onClick: (e) => br(t, Y.value.dataset),
2287
- style: C(`cursor: ${Y.value.legend.length > 1 && Vn.value ? "pointer" : "default"}; opacity:${R.value.includes(t.id) ? "0.5" : "1"}`),
2270
+ onClick: (e) => xr(t, Y.value.dataset),
2271
+ style: w(`cursor: ${Y.value.legend.length > 1 && Hn.value ? "pointer" : "default"}; opacity:${R.value.includes(t.id) ? "0.5" : "1"}`),
2288
2272
  role: "button",
2289
2273
  tabindex: "0",
2290
2274
  onKeydown: (e) => {
2291
- ni(e, () => {
2292
- br(t, Y.value.dataset);
2275
+ ri(e, () => {
2276
+ xr(t, Y.value.dataset);
2293
2277
  });
2294
2278
  }
2295
- }, [B.value.useCustomLegend ? D(e.$slots, "legend", Ae({
2296
- key: 0,
2297
- ref_for: !0
2298
- }, { legend: {
2279
+ }, [B.value.useCustomLegend ? O(e.$slots, "legend", je({ ref_for: !0 }, { legend: {
2299
2280
  ...t,
2300
2281
  isSegregated: R.value.includes(t.id),
2301
2282
  segregate: () => {
2302
- br(t, Y.value.dataset);
2283
+ xr(t, Y.value.dataset);
2303
2284
  }
2304
- } }), void 0, !0) : (w(), y(g, { key: 1 }, [
2305
- Oe(k(Ve), {
2285
+ } }), void 0, !0, 0) : (T(), y(g, { key: 1 }, [
2286
+ ke(A(Ve), {
2306
2287
  name: B.value.legendIcon,
2307
2288
  stroke: t.color,
2308
2289
  size: B.value.legendIconSize
@@ -2311,8 +2292,8 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
2311
2292
  "stroke",
2312
2293
  "size"
2313
2294
  ]),
2314
- b("span", { style: C(`font-size:${B.value.legendFontSize}px`) }, O(t.name), 5),
2315
- b("span", { style: C(`font-size:${B.value.legendFontSize}px;font-variant-numeric:tabular-nums`) }, O(R.value.includes(t.id) ? "-" : k(m)(B.value.formatter, t.absoluteValue, k(u)({
2295
+ b("span", { style: w(`font-size:${B.value.legendFontSize}px`) }, k(t.name), 5),
2296
+ b("span", { style: w(`font-size:${B.value.legendFontSize}px;font-variant-numeric:tabular-nums`) }, k(R.value.includes(t.id) ? "-" : A(m)(B.value.formatter, t.absoluteValue, A(u)({
2316
2297
  p: B.value.valuePrefix,
2317
2298
  v: t.absoluteValue,
2318
2299
  s: B.value.valueSuffix,
@@ -2321,44 +2302,41 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
2321
2302
  datapoint: t,
2322
2303
  seriesIndex: n
2323
2304
  })), 5),
2324
- R.value.includes(t.id) ? (w(), y("span", {
2305
+ R.value.includes(t.id) ? (T(), y("span", {
2325
2306
  key: 0,
2326
- style: C(`font-size:${B.value.legendFontSize}px`)
2327
- }, " ( - % ) ", 4)) : yr.value ? (w(), y("span", {
2307
+ style: w(`font-size:${B.value.legendFontSize}px`)
2308
+ }, " ( - % ) ", 4)) : br.value ? (T(), y("span", {
2328
2309
  key: 1,
2329
- style: C(`font-size:${B.value.legendFontSize}px; font-variant-numeric: tabular-nums;`)
2330
- }, " ( - % ) ", 4)) : (w(), y("span", {
2310
+ style: w(`font-size:${B.value.legendFontSize}px; font-variant-numeric: tabular-nums;`)
2311
+ }, " ( - % ) ", 4)) : (T(), y("span", {
2331
2312
  key: 2,
2332
- style: C(`font-size:${B.value.legendFontSize}px; font-variant-numeric: tabular-nums;`)
2333
- }, " (" + O(k(u)({
2313
+ style: w(`font-size:${B.value.legendFontSize}px; font-variant-numeric: tabular-nums;`)
2314
+ }, " (" + k(A(u)({
2334
2315
  v: t.value / Y.value.total * 100,
2335
2316
  s: "%",
2336
2317
  r: B.value.dataLabelRoundingPercentage
2337
2318
  })) + ") ", 5))
2338
- ], 64))], 44, xn))), 256)) : v("", !0),
2339
- K.value === j.LINE ? (w(!0), y(g, { key: 2 }, E(Z.value.legend, (t, n) => (w(), y("div", {
2319
+ ], 64))], 44, Sn))), 256)) : v("", !0),
2320
+ K.value === M.LINE ? (T(!0), y(g, { key: 2 }, D(Z.value.legend, (t, n) => (T(), y("div", {
2340
2321
  class: "vue-ui-quick-chart-legend-item",
2341
2322
  onClick: (e) => {
2342
- gr(t.id, Z.value.legend.length - 1), W("selectLegend", Z.value.dataset);
2323
+ _r(t.id, Z.value.legend.length - 1), W("selectLegend", Z.value.dataset);
2343
2324
  },
2344
- style: C(`cursor: ${Z.value.legend.length > 1 && Vn.value ? "pointer" : "default"}; opacity:${R.value.includes(t.id) ? "0.5" : "1"}`),
2325
+ style: w(`cursor: ${Z.value.legend.length > 1 && Hn.value ? "pointer" : "default"}; opacity:${R.value.includes(t.id) ? "0.5" : "1"}`),
2345
2326
  role: "button",
2346
2327
  tabindex: "0",
2347
2328
  onKeydown: (e) => {
2348
- ni(e, () => {
2349
- gr(t.id, Z.value.legend.length - 1), W("selectLegend", Z.value.dataset);
2329
+ ri(e, () => {
2330
+ _r(t.id, Z.value.legend.length - 1), W("selectLegend", Z.value.dataset);
2350
2331
  });
2351
2332
  }
2352
- }, [B.value.useCustomLegend ? D(e.$slots, "legend", Ae({
2353
- key: 0,
2354
- ref_for: !0
2355
- }, { legend: {
2333
+ }, [B.value.useCustomLegend ? O(e.$slots, "legend", je({ ref_for: !0 }, { legend: {
2356
2334
  ...t,
2357
2335
  isSegregated: R.value.includes(t.id),
2358
2336
  segregate: () => {
2359
- gr(t.id, Z.value.legend.length - 1), W("selectLegend", Z.value.dataset);
2337
+ _r(t.id, Z.value.legend.length - 1), W("selectLegend", Z.value.dataset);
2360
2338
  }
2361
- } }), void 0, !0) : (w(), y(g, { key: 1 }, [Oe(k(Ve), {
2339
+ } }), void 0, !0, 0) : (T(), y(g, { key: 1 }, [ke(A(Ve), {
2362
2340
  name: B.value.legendIcon,
2363
2341
  stroke: t.color,
2364
2342
  size: B.value.legendIconSize
@@ -2366,30 +2344,27 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
2366
2344
  "name",
2367
2345
  "stroke",
2368
2346
  "size"
2369
- ]), b("span", { style: C(`font-size:${B.value.legendFontSize}px`) }, O(t.name), 5)], 64))], 44, Sn))), 256)) : v("", !0),
2370
- K.value === j.BAR ? (w(!0), y(g, { key: 3 }, E(Q.value.legend, (t, n) => (w(), y("div", {
2347
+ ]), b("span", { style: w(`font-size:${B.value.legendFontSize}px`) }, k(t.name), 5)], 64))], 44, Cn))), 256)) : v("", !0),
2348
+ K.value === M.BAR ? (T(!0), y(g, { key: 3 }, D(Q.value.legend, (t, n) => (T(), y("div", {
2371
2349
  class: "vue-ui-quick-chart-legend-item",
2372
2350
  onClick: (e) => {
2373
- gr(t.id, Q.value.legend.length - 1), W("selectLegend", Q.value.dataset);
2351
+ _r(t.id, Q.value.legend.length - 1), W("selectLegend", Q.value.dataset);
2374
2352
  },
2375
- style: C(`cursor: ${Q.value.legend.length > 1 && Vn.value ? "pointer" : "default"}; opacity:${R.value.includes(t.id) ? "0.5" : "1"}`),
2353
+ style: w(`cursor: ${Q.value.legend.length > 1 && Hn.value ? "pointer" : "default"}; opacity:${R.value.includes(t.id) ? "0.5" : "1"}`),
2376
2354
  role: "button",
2377
2355
  tabindex: "0",
2378
2356
  onKeydown: (e) => {
2379
- ni(e, () => {
2380
- gr(t.id, Q.value.legend.length - 1), W("selectLegend", Q.value.dataset);
2357
+ ri(e, () => {
2358
+ _r(t.id, Q.value.legend.length - 1), W("selectLegend", Q.value.dataset);
2381
2359
  });
2382
2360
  }
2383
- }, [B.value.useCustomLegend ? D(e.$slots, "legend", Ae({
2384
- key: 0,
2385
- ref_for: !0
2386
- }, { legend: {
2361
+ }, [B.value.useCustomLegend ? O(e.$slots, "legend", je({ ref_for: !0 }, { legend: {
2387
2362
  ...t,
2388
2363
  isSegregated: R.value.includes(t.id),
2389
2364
  segregate: () => {
2390
- gr(t.id, Q.value.legend.length - 1), W("selectLegend", Q.value.dataset);
2365
+ _r(t.id, Q.value.legend.length - 1), W("selectLegend", Q.value.dataset);
2391
2366
  }
2392
- } }), void 0, !0) : (w(), y(g, { key: 1 }, [Oe(k(Ve), {
2367
+ } }), void 0, !0, 0) : (T(), y(g, { key: 1 }, [ke(A(Ve), {
2393
2368
  name: B.value.legendIcon,
2394
2369
  stroke: t.color,
2395
2370
  size: B.value.legendIconSize
@@ -2397,17 +2372,17 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
2397
2372
  "name",
2398
2373
  "stroke",
2399
2374
  "size"
2400
- ]), b("span", { style: C(`font-size:${B.value.legendFontSize}px`) }, O(t.name), 5)], 64))], 44, Cn))), 256)) : v("", !0)
2375
+ ]), b("span", { style: w(`font-size:${B.value.legendFontSize}px`) }, k(t.name), 5)], 64))], 44, wn))), 256)) : v("", !0)
2401
2376
  ], 4)) : v("", !0)], 8, ["to"])) : v("", !0),
2402
- e.$slots.source ? (w(), y("div", {
2377
+ e.$slots.source ? (T(), y("div", {
2403
2378
  key: 8,
2404
2379
  ref_key: "source",
2405
- ref: An,
2380
+ ref: jn,
2406
2381
  dir: "auto"
2407
- }, [D(e.$slots, "source", {}, void 0, !0)], 512)) : v("", !0),
2408
- Oe(k(Ge), {
2382
+ }, [O(e.$slots, "source", {}, void 0, !0)], 512)) : v("", !0),
2383
+ ke(A(Ke), {
2409
2384
  teleportTo: B.value.tooltipTeleportTo,
2410
- show: cr.value.showTooltip && I.value,
2385
+ show: lr.value.showTooltip && I.value,
2411
2386
  backgroundColor: B.value.backgroundColor,
2412
2387
  color: B.value.color,
2413
2388
  borderRadius: B.value.tooltipBorderRadius,
@@ -2419,19 +2394,19 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
2419
2394
  offsetX: B.value.tooltipOffsetX,
2420
2395
  offsetY: B.value.tooltipOffsetY,
2421
2396
  parent: P.value,
2422
- content: kn.value,
2423
- isFullscreen: Vr.value,
2424
- isCustom: k(ee)(B.value.tooltipCustomFormat),
2397
+ content: An.value,
2398
+ isFullscreen: Hr.value,
2399
+ isCustom: A(ee)(B.value.tooltipCustomFormat),
2425
2400
  smooth: B.value.tooltipSmooth,
2426
2401
  smoothForce: B.value.tooltipSmoothForce,
2427
2402
  smoothSnapThreshold: B.value.tooltipSmoothSnapThreshold,
2428
2403
  backdropFilter: B.value.tooltipBackdropFilter,
2429
2404
  isA11yMode: H.value === "keyboard",
2430
- a11yPosition: Hn.value
2405
+ a11yPosition: Un.value
2431
2406
  }, {
2432
- "tooltip-before": A(() => [D(e.$slots, "tooltip-before", S(x({ ...On.value })), void 0, !0)]),
2433
- tooltip: A(() => [D(e.$slots, "tooltip", S(x({ ...On.value })), void 0, !0)]),
2434
- "tooltip-after": A(() => [D(e.$slots, "tooltip-after", S(x({ ...On.value })), void 0, !0)]),
2407
+ "tooltip-before": j(() => [O(e.$slots, "tooltip-before", C(x({ ...kn.value })), void 0, !0)]),
2408
+ tooltip: j(() => [O(e.$slots, "tooltip", C(x({ ...kn.value })), void 0, !0)]),
2409
+ "tooltip-after": j(() => [O(e.$slots, "tooltip-after", C(x({ ...kn.value })), void 0, !0)]),
2435
2410
  _: 3
2436
2411
  }, 8, [
2437
2412
  "teleportTo",
@@ -2457,12 +2432,12 @@ var P = /* @__PURE__ */ e({ default: () => Tn }), Xe = ["id"], Ze = ["id"], Qe =
2457
2432
  "isA11yMode",
2458
2433
  "a11yPosition"
2459
2434
  ]),
2460
- D(e.$slots, "skeleton", {}, () => [k(U) ? (w(), Ee(de, { key: 0 })) : v("", !0)], !0)
2461
- ], 46, Xe)) : (w(), y("div", wn, [Oe(k(Ve), {
2435
+ O(e.$slots, "skeleton", {}, () => [A(U) ? (T(), De(de, { key: 0 })) : v("", !0)], !0)
2436
+ ], 46, Qe)) : (T(), y("div", Tn, [ke(A(Ve), {
2462
2437
  name: "circleCancel",
2463
2438
  stroke: "red"
2464
2439
  }), t[5] ||= b("span", null, "Dataset is not processable", -1)]));
2465
2440
  }
2466
- }, [["__scopeId", "data-v-a78997c2"]]);
2441
+ }, [["__scopeId", "data-v-b3c8ddac"]]);
2467
2442
  //#endregion
2468
- export { P as n, Tn as t };
2443
+ export { N as n, P as t };