vue-data-ui 3.4.9 → 3.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (151) hide show
  1. package/README.md +114 -37
  2. package/dist/{ColorPicker-J5wOPCeB.js → ColorPicker-ChuwChMo.js} +58 -56
  3. package/dist/{NonSvgPenAndPaper-C7TRn0_3.js → NonSvgPenAndPaper-DVgKKLIf.js} +1 -1
  4. package/dist/{PackageVersion-CTUqGqWV.js → PackageVersion-DQvyATVa.js} +1 -1
  5. package/dist/PenAndPaper-SZQIAgkg.js +388 -0
  6. package/dist/{Title-l36lOBMx.js → Title-isbiM8i8.js} +1 -1
  7. package/dist/components/vue-ui-3d-bar.js +1 -1
  8. package/dist/components/vue-ui-accordion.js +1 -1
  9. package/dist/components/vue-ui-age-pyramid.js +1 -1
  10. package/dist/components/vue-ui-annotator.js +1 -1
  11. package/dist/components/vue-ui-bullet.js +1 -1
  12. package/dist/components/vue-ui-candlestick.js +1 -1
  13. package/dist/components/vue-ui-carousel-table.js +1 -1
  14. package/dist/components/vue-ui-chestnut.js +1 -1
  15. package/dist/components/vue-ui-chord.js +1 -1
  16. package/dist/components/vue-ui-circle-pack.js +1 -1
  17. package/dist/components/vue-ui-cursor.js +1 -1
  18. package/dist/components/vue-ui-dashboard.js +1 -1
  19. package/dist/components/vue-ui-digits.js +1 -1
  20. package/dist/components/vue-ui-donut-evolution.js +1 -1
  21. package/dist/components/vue-ui-donut.js +1 -1
  22. package/dist/components/vue-ui-dumbbell.js +1 -1
  23. package/dist/components/vue-ui-flow.js +1 -1
  24. package/dist/components/vue-ui-funnel.js +1 -1
  25. package/dist/components/vue-ui-galaxy.js +1 -1
  26. package/dist/components/vue-ui-gauge.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-mini-loader.js +1 -1
  33. package/dist/components/vue-ui-molecule.js +1 -1
  34. package/dist/components/vue-ui-mood-radar.js +1 -1
  35. package/dist/components/vue-ui-nested-donuts.js +1 -1
  36. package/dist/components/vue-ui-onion.js +1 -1
  37. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  38. package/dist/components/vue-ui-quadrant.js +1 -1
  39. package/dist/components/vue-ui-quick-chart.js +1 -1
  40. package/dist/components/vue-ui-radar.js +1 -1
  41. package/dist/components/vue-ui-rating.js +1 -1
  42. package/dist/components/vue-ui-relation-circle.js +1 -1
  43. package/dist/components/vue-ui-ridgeline.js +1 -1
  44. package/dist/components/vue-ui-rings.js +1 -1
  45. package/dist/components/vue-ui-scatter.js +1 -1
  46. package/dist/components/vue-ui-skeleton.js +1 -1
  47. package/dist/components/vue-ui-smiley.js +1 -1
  48. package/dist/components/vue-ui-spark-trend.js +1 -1
  49. package/dist/components/vue-ui-sparkbar.js +1 -1
  50. package/dist/components/vue-ui-sparkgauge.js +1 -1
  51. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  52. package/dist/components/vue-ui-sparkline.js +1 -1
  53. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  54. package/dist/components/vue-ui-stackbar.js +1 -1
  55. package/dist/components/vue-ui-strip-plot.js +1 -1
  56. package/dist/components/vue-ui-table-heatmap.js +1 -1
  57. package/dist/components/vue-ui-table-sparkline.js +1 -1
  58. package/dist/components/vue-ui-table.js +1 -1
  59. package/dist/components/vue-ui-thermometer.js +1 -1
  60. package/dist/components/vue-ui-timer.js +1 -1
  61. package/dist/components/vue-ui-tiremarks.js +1 -1
  62. package/dist/components/vue-ui-treemap.js +1 -1
  63. package/dist/components/vue-ui-vertical-bar.js +1 -1
  64. package/dist/components/vue-ui-waffle.js +1 -1
  65. package/dist/components/vue-ui-wheel.js +1 -1
  66. package/dist/components/vue-ui-word-cloud.js +1 -1
  67. package/dist/components/vue-ui-world.js +1 -1
  68. package/dist/components/vue-ui-xy-canvas.js +1 -1
  69. package/dist/components/vue-ui-xy.js +1 -1
  70. package/dist/style.css +1 -1
  71. package/dist/types/vue-data-ui.d.ts +17 -8
  72. package/dist/{useNestedProp-BjZe1Y85.js → useNestedProp-DjGXw6S9.js} +22 -8
  73. package/dist/{vue-data-ui-DjxWWa78.js → vue-data-ui-B_RxfmEm.js} +113 -107
  74. package/dist/vue-data-ui.js +64 -64
  75. package/dist/{vue-ui-3d-bar-CLE7f9pl.js → vue-ui-3d-bar-CMNYyVa2.js} +454 -434
  76. package/dist/{vue-ui-accordion-CZ0thhxa.js → vue-ui-accordion-CqhVCfc2.js} +1 -1
  77. package/dist/{vue-ui-age-pyramid-D73uIOPm.js → vue-ui-age-pyramid-Vqa9iYXE.js} +180 -160
  78. package/dist/{vue-ui-annotator-BylDgUVb.js → vue-ui-annotator-nNv10fBm.js} +3 -3
  79. package/dist/{vue-ui-bullet-Bybo0xK2.js → vue-ui-bullet-BWEBeYV5.js} +190 -170
  80. package/dist/{vue-ui-candlestick-D_FyMdqH.js → vue-ui-candlestick-BoLzL0g1.js} +201 -181
  81. package/dist/{vue-ui-carousel-table-BvMlNdVo.js → vue-ui-carousel-table-Bi6wvUUU.js} +2 -2
  82. package/dist/{vue-ui-chestnut-DA0g0bDV.js → vue-ui-chestnut-BGz1TLXG.js} +375 -355
  83. package/dist/vue-ui-chord-CebhS7ln.js +1153 -0
  84. package/dist/{vue-ui-circle-pack-BPDm-ro5.js → vue-ui-circle-pack-7PJVyKjp.js} +289 -269
  85. package/dist/{vue-ui-cursor-ik59bfC4.js → vue-ui-cursor-qYLAwvzn.js} +1 -1
  86. package/dist/vue-ui-dashboard-DcmMvhgM.js +432 -0
  87. package/dist/{vue-ui-digits-ByNNcWXi.js → vue-ui-digits-DyE8eU1m.js} +1 -1
  88. package/dist/vue-ui-donut-CxZcJFTo.js +1681 -0
  89. package/dist/{vue-ui-donut-evolution-Ca3Svr0B.js → vue-ui-donut-evolution-BVYL-BUJ.js} +480 -444
  90. package/dist/{vue-ui-dumbbell-CxCE2luV.js → vue-ui-dumbbell-QxZn86A3.js} +210 -190
  91. package/dist/{vue-ui-flow-DEvwXd4W.js → vue-ui-flow-DEI5LRch.js} +339 -319
  92. package/dist/{vue-ui-funnel-Bgcx7xia.js → vue-ui-funnel-B_A5orFg.js} +218 -198
  93. package/dist/{vue-ui-galaxy-BWr1EMob.js → vue-ui-galaxy-CUoDRr-O.js} +313 -277
  94. package/dist/{vue-ui-gauge-DQricvo2.js → vue-ui-gauge-46tSRZN5.js} +311 -291
  95. package/dist/{vue-ui-gizmo-C-fKe3io.js → vue-ui-gizmo-BOgbsXao.js} +2 -2
  96. package/dist/{vue-ui-heatmap-B-o_i7Hu.js → vue-ui-heatmap-DKKjl1A2.js} +303 -283
  97. package/dist/{vue-ui-history-plot-DzQ9DPUJ.js → vue-ui-history-plot-C6p_aThr.js} +478 -442
  98. package/dist/{vue-ui-kpi-BGGff8LM.js → vue-ui-kpi-B1yJ83aF.js} +2 -2
  99. package/dist/{vue-ui-mini-loader-CSF-7TJL.js → vue-ui-mini-loader-BudcNBg-.js} +1 -1
  100. package/dist/{vue-ui-molecule-I2OhrCR2.js → vue-ui-molecule-L90GnHee.js} +156 -136
  101. package/dist/{vue-ui-mood-radar-BAT7kZUy.js → vue-ui-mood-radar-Dhigm5rw.js} +266 -246
  102. package/dist/{vue-ui-nested-donuts-CjhJDAQi.js → vue-ui-nested-donuts-D0MCLs5n.js} +597 -557
  103. package/dist/vue-ui-onion-B7yPJ3gL.js +915 -0
  104. package/dist/vue-ui-parallel-coordinate-plot-DY21ivNe.js +1051 -0
  105. package/dist/{vue-ui-quadrant-DGnasrCR.js → vue-ui-quadrant-b0vMRaq-.js} +532 -495
  106. package/dist/{vue-ui-quick-chart-Cam_sWet.js → vue-ui-quick-chart-VK2EN7sh.js} +288 -268
  107. package/dist/{vue-ui-radar-DNI9WI2R.js → vue-ui-radar-B5Vkoz9M.js} +412 -373
  108. package/dist/{vue-ui-rating-CiMoFM_c.js → vue-ui-rating-BH4DW1ZY.js} +1 -1
  109. package/dist/{vue-ui-relation-circle-Dj1jhcsl.js → vue-ui-relation-circle-XHbE-ZUX.js} +228 -208
  110. package/dist/{vue-ui-ridgeline-adIls6bj.js → vue-ui-ridgeline-CAMNq-p_.js} +517 -481
  111. package/dist/vue-ui-rings-ImGOqm_J.js +855 -0
  112. package/dist/vue-ui-scatter-CterNJYe.js +1590 -0
  113. package/dist/{vue-ui-skeleton-DUdI2uOO.js → vue-ui-skeleton-CykXHWj-.js} +2 -2
  114. package/dist/{vue-ui-smiley-sGFRbn31.js → vue-ui-smiley-DnGm6qrK.js} +1 -1
  115. package/dist/{vue-ui-spark-trend-DxpRfUJz.js → vue-ui-spark-trend-N1AsNQJA.js} +2 -2
  116. package/dist/{vue-ui-sparkbar-B44oER5n.js → vue-ui-sparkbar-Bvsi5DTT.js} +2 -2
  117. package/dist/{vue-ui-sparkgauge-ix12NZ7M.js → vue-ui-sparkgauge-DyJmWCWT.js} +2 -2
  118. package/dist/{vue-ui-sparkhistogram-Cs-QDYBR.js → vue-ui-sparkhistogram-5eKrkmSb.js} +143 -140
  119. package/dist/{vue-ui-sparkline-Cb8ZmyUq.js → vue-ui-sparkline-ChKAzlVq.js} +2 -2
  120. package/dist/vue-ui-sparkstackbar-BXNy6nuw.js +441 -0
  121. package/dist/vue-ui-stackbar-1IwvUYBO.js +1827 -0
  122. package/dist/{vue-ui-strip-plot-BjG-Jxnb.js → vue-ui-strip-plot-B1wGxP8-.js} +245 -225
  123. package/dist/{vue-ui-table-DdBdLrAL.js → vue-ui-table-DSsIrT4L.js} +3 -3
  124. package/dist/{vue-ui-table-heatmap-BqCEBoUf.js → vue-ui-table-heatmap-DXFHy7-E.js} +1 -1
  125. package/dist/{vue-ui-table-sparkline-EpCo2Be5.js → vue-ui-table-sparkline-DpqY_4ay.js} +2 -2
  126. package/dist/vue-ui-thermometer-CMKvSA8p.js +584 -0
  127. package/dist/{vue-ui-timer-Br3wp8hG.js → vue-ui-timer-BpdCY_wg.js} +3 -3
  128. package/dist/vue-ui-tiremarks-CNipzVli.js +450 -0
  129. package/dist/vue-ui-treemap-DPE8SY0_.js +1330 -0
  130. package/dist/{vue-ui-vertical-bar-yfbEfLqy.js → vue-ui-vertical-bar-ZU1GCbX0.js} +484 -448
  131. package/dist/{vue-ui-waffle-m-9sqQik.js → vue-ui-waffle-z7nuSuSV.js} +398 -362
  132. package/dist/vue-ui-wheel-DLRoRjeM.js +663 -0
  133. package/dist/{vue-ui-word-cloud-vNwswYZD.js → vue-ui-word-cloud-D2r5E3pP.js} +248 -228
  134. package/dist/{vue-ui-world-BsCNyZy_.js → vue-ui-world-goXYnTyM.js} +287 -267
  135. package/dist/{vue-ui-xy-CIrw1lWQ.js → vue-ui-xy-NDDbNbds.js} +1263 -1227
  136. package/dist/{vue-ui-xy-canvas-DXnLFwW3.js → vue-ui-xy-canvas-2a6NlQe3.js} +338 -322
  137. package/package.json +4 -4
  138. package/dist/PenAndPaper-DSvu9dwa.js +0 -373
  139. package/dist/vue-ui-chord-CDgzolI-.js +0 -1133
  140. package/dist/vue-ui-dashboard-CeJwbiON.js +0 -412
  141. package/dist/vue-ui-donut-DjQXHBJE.js +0 -1645
  142. package/dist/vue-ui-onion-DTY2p87s.js +0 -873
  143. package/dist/vue-ui-parallel-coordinate-plot-C8aWTcNn.js +0 -1014
  144. package/dist/vue-ui-rings-CnTMFK6R.js +0 -813
  145. package/dist/vue-ui-scatter-fzR2c0St.js +0 -1554
  146. package/dist/vue-ui-sparkstackbar-BiRZ51OU.js +0 -424
  147. package/dist/vue-ui-stackbar-DubS6Pg8.js +0 -1708
  148. package/dist/vue-ui-thermometer-DTnfnf9z.js +0 -564
  149. package/dist/vue-ui-tiremarks-CrC_tlIx.js +0 -430
  150. package/dist/vue-ui-treemap-kyuyi2ES.js +0 -1294
  151. package/dist/vue-ui-wheel-BasM7FWt.js +0 -643
@@ -1,7 +1,7 @@
1
- import { defineAsyncComponent as Ee, ref as w, computed as M, toRefs as ya, watch as Te, shallowRef as Rt, onMounted as xa, onBeforeUnmount as Nt, nextTick as ot, watchEffect as ka, createElementBlock as n, openBlock as o, normalizeStyle as B, normalizeClass as de, createBlock as Ie, createCommentVNode as m, createElementVNode as $, createVNode as be, unref as s, createSlots as ba, withCtx as ae, renderSlot as H, normalizeProps as me, guardReactiveProps as ge, toDisplayString as U, Fragment as x, renderList as T, Teleport as Sa, mergeProps as nt } from "vue";
2
- import { c as wa, t as Aa, b as La, p as J, O as We, e as _a, a1 as za, f as $a, o as Ca, h as it, T as Ea, m as Xe, X as Ta, V as Ia, W as ut, Y as Pe, a as ie, d as j, M as Bt, z as Dt, x as ue, G as Ge, H as rt } from "./lib-C_mNZmhD.js";
1
+ import { defineAsyncComponent as Ee, ref as w, computed as M, toRefs as ya, watch as Te, shallowRef as Rt, onMounted as xa, onBeforeUnmount as Nt, nextTick as ot, watchEffect as ka, createElementBlock as n, openBlock as o, normalizeStyle as D, normalizeClass as fe, createBlock as Ie, createCommentVNode as m, createElementVNode as $, createVNode as be, unref as s, withCtx as G, renderSlot as R, normalizeProps as Q, guardReactiveProps as K, createSlots as ba, toDisplayString as V, Fragment as x, renderList as T, Teleport as Sa, mergeProps as nt } from "vue";
2
+ import { c as wa, t as Aa, b as La, p as ee, O as We, e as _a, a1 as za, f as $a, o as Ca, h as it, T as Ea, m as Xe, X as Ta, V as Ia, W as ut, Y as Pe, a as re, d as Y, M as Bt, z as Dt, x as se, G as Ge, H as rt } from "./lib-C_mNZmhD.js";
3
3
  import { t as Ut, u as Pa } from "./useResponsive-DfdjqQps.js";
4
- import { u as Oa, a as Vt } from "./useNestedProp-BjZe1Y85.js";
4
+ import { u as Oa, a as Vt } from "./useNestedProp-DjGXw6S9.js";
5
5
  import { u as Fa, B as Ma } from "./BaseScanner-BgWxam9d.js";
6
6
  import { u as Ra } from "./usePrinter-DTzqpYKF.js";
7
7
  import { u as Na } from "./useSvgExport-DrjCWun4.js";
@@ -18,23 +18,23 @@ const A = {
18
18
  DONUT: "DONUT"
19
19
  }, Xa = ["SERIE", "SERIES", "DATA", "VALUE", "VALUES", "NUM"];
20
20
  function Ga({ dataset: h, barLineSwitch: O = 6, debug: L = !0 }) {
21
- let q = null, G = null, se = 0;
22
- if ((typeof h == "number" || typeof h == "string") && L && console.warn(`The provided dataset (${h}) is not sufficient to build a chart`), Ye(h) && (re(h) && (h.length < O ? q = A.BAR : q = A.LINE, G = h, se = h.length), je(h))) {
21
+ let H = null, j = null, de = 0;
22
+ if ((typeof h == "number" || typeof h == "string") && L && console.warn(`The provided dataset (${h}) is not sufficient to build a chart`), Ye(h) && (ve(h) && (h.length < O ? H = A.BAR : H = A.LINE, j = h, de = h.length), je(h))) {
23
23
  if (!Ya(h))
24
24
  return L && console.warn("The objects in the dataset array have a different data structure. Either keys or value types are different."), !1;
25
- const Ze = Object.keys(h[0]), D = Object.values(h[0]);
26
- if (!Ze.some((R) => Za(R)))
25
+ const Ze = Object.keys(h[0]), U = Object.values(h[0]);
26
+ if (!Ze.some((N) => Za(N)))
27
27
  return L && 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;
28
- qt(D, (R) => typeof R == "number") && (q = A.DONUT, G = h), qt(D, (R) => Array.isArray(R) && re(R)) && (Ht(h) > O ? q = A.LINE : q = A.BAR, se = Ht(h), G = h.map((R) => ({
29
- ...R,
30
- data: Ja(R, (Oe) => re(Oe))
31
- }))), h = h.map((R) => Wt(R)), G = G.map((R) => Wt(R));
28
+ qt(U, (N) => typeof N == "number") && (H = A.DONUT, j = h), qt(U, (N) => Array.isArray(N) && ve(N)) && (Ht(h) > O ? H = A.LINE : H = A.BAR, de = Ht(h), j = h.map((N) => ({
29
+ ...N,
30
+ data: Ja(N, (Oe) => ve(Oe))
31
+ }))), h = h.map((N) => Wt(N)), j = j.map((N) => Wt(N));
32
32
  }
33
33
  return {
34
34
  dataset: h,
35
- type: q,
36
- usableDataset: G,
37
- maxSeriesLength: se
35
+ type: H,
36
+ usableDataset: j,
37
+ maxSeriesLength: de
38
38
  };
39
39
  }
40
40
  function Xt(h) {
@@ -43,7 +43,7 @@ function Xt(h) {
43
43
  function Ye(h) {
44
44
  return Array.isArray(h);
45
45
  }
46
- function re(h) {
46
+ function ve(h) {
47
47
  if (!Ye(h) || Xt(h)) return !1;
48
48
  const O = h.map((L) => Number(L));
49
49
  return ![...new Set(O.flatMap((L) => typeof L == "number" && !isNaN(L)))].includes(!1);
@@ -52,12 +52,12 @@ function je(h) {
52
52
  return !Ye(h) || Xt(h) || !![...new Set(h.flatMap((L) => typeof L == "object" && !Array.isArray(L)))].includes(!1) ? !1 : !h.map((L) => Object.keys(L).length > 0).includes(!1);
53
53
  }
54
54
  function ja(h, O) {
55
- const L = Object.keys(h).sort(), q = Object.keys(O).sort();
56
- if (L.length !== q.length)
55
+ const L = Object.keys(h).sort(), H = Object.keys(O).sort();
56
+ if (L.length !== H.length)
57
57
  return !1;
58
- for (let G = 0; G < L.length; G += 1) {
59
- const se = L[G], Se = q[G];
60
- if (se !== Se || typeof h[se] != typeof O[Se])
58
+ for (let j = 0; j < L.length; j += 1) {
59
+ const de = L[j], Se = H[j];
60
+ if (de !== Se || typeof h[de] != typeof O[Se])
61
61
  return !1;
62
62
  }
63
63
  return !0;
@@ -75,12 +75,12 @@ function Za(h) {
75
75
  }
76
76
  function qt(h, O) {
77
77
  let L = [];
78
- for (let q = 0; q < h.length; q += 1)
79
- L.push(O(h[q]));
78
+ for (let H = 0; H < h.length; H += 1)
79
+ L.push(O(h[H]));
80
80
  return L.includes(!0);
81
81
  }
82
82
  function Ht(h) {
83
- return Math.max(...[...h].flatMap((O) => Object.values(O).filter((L) => re(L)).map((L) => L.length)));
83
+ return Math.max(...[...h].flatMap((O) => Object.values(O).filter((L) => ve(L)).map((L) => L.length)));
84
84
  }
85
85
  function Ja(h, O) {
86
86
  return Object.values(h).filter((L) => O(L))[0];
@@ -157,13 +157,13 @@ const Qa = ["id"], Ka = ["id"], el = ["xmlns", "viewBox"], tl = ["x", "y", "widt
157
157
  },
158
158
  emits: ["selectDatapoint", "selectLegend"],
159
159
  setup(h, { expose: O, emit: L }) {
160
- const q = Ee(() => import("./BaseIcon-BmMbm4d0.js")), G = Ee(() => import("./PackageVersion-CTUqGqWV.js")), se = Ee(() => import("./PenAndPaper-DSvu9dwa.js")), Se = Ee(() => import("./Tooltip-oWCO1HKy.js")), st = Ee(() => import("./UserOptions-CGnQt6Fd.js")), { vue_ui_quick_chart: Ze } = Oa(), D = h, R = w(null), Oe = w(null), vt = w(null), dt = w(null), Y = w(wa()), ce = w(!1), we = w(null), fe = w(""), te = w(null), ct = w(null), ft = w(null), _ = w([]), ht = w(0), Fe = w(0), mt = w(!1), Ae = w(null), Le = w(null), le = w(null), Me = w(null), gt = w(null), pt = w(null), Re = w("#FFFFFF"), e = w(et()), Je = M(() => !!e.value.debug), { loading: V, FINAL_DATASET: Gt, manualLoading: yt } = Fa({
161
- ...ya(D),
160
+ const H = Ee(() => import("./BaseIcon-BmMbm4d0.js")), j = Ee(() => import("./PackageVersion-DQvyATVa.js")), de = Ee(() => import("./PenAndPaper-SZQIAgkg.js")), Se = Ee(() => import("./Tooltip-oWCO1HKy.js")), st = Ee(() => import("./UserOptions-CGnQt6Fd.js")), { vue_ui_quick_chart: Ze } = Oa(), U = h, N = w(null), Oe = w(null), vt = w(null), dt = w(null), Z = w(wa()), he = w(!1), we = w(null), me = w(""), oe = w(null), ct = w(null), ft = w(null), _ = w([]), ht = w(0), Fe = w(0), mt = w(!1), Ae = w(null), Le = w(null), ne = w(null), Me = w(null), gt = w(null), pt = w(null), Re = w("#FFFFFF"), e = w(et()), Je = M(() => !!e.value.debug), { loading: q, FINAL_DATASET: Gt, manualLoading: yt } = Fa({
161
+ ...ya(U),
162
162
  FINAL_CONFIG: e,
163
163
  prepareConfig: et,
164
164
  callback: () => {
165
165
  Promise.resolve().then(async () => {
166
- await ot(), C.value === A.LINE && e.value.lineAnimated && !V.value && ua({
166
+ await ot(), C.value === A.LINE && e.value.lineAnimated && !q.value && ua({
167
167
  pathDuration: 1e3,
168
168
  pointDuration: 1200,
169
169
  labelDuration: 1200
@@ -199,23 +199,23 @@ const Qa = ["id"], Ka = ["id"], el = ["xmlns", "viewBox"], tl = ["x", "y", "widt
199
199
  }
200
200
  function et() {
201
201
  const a = Vt({
202
- userConfig: D.config,
202
+ userConfig: U.config,
203
203
  defaultConfig: Ze
204
204
  });
205
205
  let r = {};
206
206
  return a.theme ? r = {
207
207
  ...Vt({
208
- userConfig: Ha.vue_ui_quick_chart[a.theme] || D.config,
208
+ userConfig: Ha.vue_ui_quick_chart[a.theme] || U.config,
209
209
  defaultConfig: a
210
210
  }),
211
- customPalette: La[a.theme] || J
212
- } : r = a, D.config && We(D.config, "zoomStartIndex") ? r.zoomStartIndex = D.config.zoomStartIndex : r.zoomStartIndex = null, D.config && We(D.config, "zoomEndIndex") ? r.zoomEndIndex = D.config.zoomEndIndex : r.zoomEndIndex = null, D.config && !We(D.config, "donutStroke") ? We(D.config, "backgroundColor") ? Re.value = D.config.backgroundColor : Re.value = "#FFFFFF" : Re.value = D.config.donutStroke, r;
211
+ customPalette: La[a.theme] || ee
212
+ } : r = a, U.config && We(U.config, "zoomStartIndex") ? r.zoomStartIndex = U.config.zoomStartIndex : r.zoomStartIndex = null, U.config && We(U.config, "zoomEndIndex") ? r.zoomEndIndex = U.config.zoomEndIndex : r.zoomEndIndex = null, U.config && !We(U.config, "donutStroke") ? We(U.config, "backgroundColor") ? Re.value = U.config.backgroundColor : Re.value = "#FFFFFF" : Re.value = U.config.donutStroke, r;
213
213
  }
214
- Te(() => D.config, (a) => {
215
- V.value || (e.value = et()), S.value.width = e.value.width, S.value.height = e.value.height, Ne.value = !e.value.showUserOptionsOnChartHover, wt(), ye.value.showTooltip = e.value.showTooltip;
216
- }, { deep: !0 }), Te(() => D.dataset, (a) => {
214
+ Te(() => U.config, (a) => {
215
+ q.value || (e.value = et()), S.value.width = e.value.width, S.value.height = e.value.height, Ne.value = !e.value.showUserOptionsOnChartHover, wt(), ye.value.showTooltip = e.value.showTooltip;
216
+ }, { deep: !0 }), Te(() => U.dataset, (a) => {
217
217
  k.value = ze.value, y.value.start = 0, y.value.end = k.value.maxSeriesLength, Fe.value += 1;
218
- }, { deep: !0 }), Te(() => D.dataset, (a) => {
218
+ }, { deep: !0 }), Te(() => U.dataset, (a) => {
219
219
  Array.isArray(a) && a.length > 0 && (yt.value = !1);
220
220
  }, { immediate: !0 });
221
221
  const _e = M(() => _a(e.value.customPalette)), pe = L, ze = M(() => {
@@ -237,7 +237,7 @@ const Qa = ["id"], Ka = ["id"], el = ["xmlns", "viewBox"], tl = ["x", "y", "widt
237
237
  });
238
238
  }, { immediate: !0 });
239
239
  const { isPrinting: Be, isImaging: De, generatePdf: bt, generateImage: St } = Ra({
240
- elementId: `${C.value}_${Y.value}`,
240
+ elementId: `${C.value}_${Z.value}`,
241
241
  fileName: e.value.title || C.value,
242
242
  options: e.value.userOptionsPrint
243
243
  }), Zt = M(() => e.value.showUserOptions && !e.value.title), S = w({
@@ -251,15 +251,15 @@ const Qa = ["id"], Ka = ["id"], el = ["xmlns", "viewBox"], tl = ["x", "y", "widt
251
251
  showTooltip: e.value.showTooltip
252
252
  };
253
253
  }, { immediate: !0 });
254
- const ve = Rt(null), xe = Rt(null);
254
+ const ce = Rt(null), xe = Rt(null);
255
255
  xa(async () => {
256
256
  mt.value = !0, wt();
257
257
  });
258
258
  function wt() {
259
- if (Ca(D.dataset) || (yt.value = e.value.loading), e.value.responsive) {
259
+ if (Ca(U.dataset) || (yt.value = e.value.loading), e.value.responsive) {
260
260
  const a = Ut(() => {
261
261
  const { width: r, height: t } = Pa({
262
- chart: R.value,
262
+ chart: N.value,
263
263
  title: e.value.title ? Oe.value : null,
264
264
  legend: e.value.showLegend ? vt.value : null,
265
265
  slicer: [A.BAR, A.LINE].includes(C.value) && e.value.zoomXy && k.value.maxSeriesLength > 1 ? dt.value : null,
@@ -270,12 +270,12 @@ const Qa = ["id"], Ka = ["id"], el = ["xmlns", "viewBox"], tl = ["x", "y", "widt
270
270
  S.value.width = r, S.value.height = t;
271
271
  });
272
272
  });
273
- ve.value && (xe.value && ve.value.unobserve(xe.value), ve.value.disconnect()), ve.value = new ResizeObserver(a), xe.value = R.value.parentNode, ve.value.observe(xe.value);
273
+ ce.value && (xe.value && ce.value.unobserve(xe.value), ce.value.disconnect()), ce.value = new ResizeObserver(a), xe.value = N.value.parentNode, ce.value.observe(xe.value);
274
274
  }
275
275
  Et();
276
276
  }
277
277
  Nt(() => {
278
- ve.value && (xe.value && ve.value.unobserve(xe.value), ve.value.disconnect());
278
+ ce.value && (xe.value && ce.value.unobserve(xe.value), ce.value.disconnect());
279
279
  });
280
280
  const Jt = M(() => {
281
281
  switch (C.value) {
@@ -293,7 +293,7 @@ const Qa = ["id"], Ka = ["id"], el = ["xmlns", "viewBox"], tl = ["x", "y", "widt
293
293
  return [...a].map((r) => r.value).reduce((r, t) => r + t, 0);
294
294
  }
295
295
  function $e(a) {
296
- return e.value.blurOnHover && ![null, void 0].includes(te.value) && te.value !== a ? `url(#blur_${Y.value})` : "";
296
+ return e.value.blurOnHover && ![null, void 0].includes(oe.value) && oe.value !== a ? `url(#blur_${Z.value})` : "";
297
297
  }
298
298
  function Lt(a, r) {
299
299
  _.value.includes(a) ? _.value = _.value.filter((t) => t !== a) : _.value.length < r && _.value.push(a);
@@ -343,9 +343,9 @@ const Qa = ["id"], Ka = ["id"], el = ["xmlns", "viewBox"], tl = ["x", "y", "widt
343
343
  u();
344
344
  }
345
345
  }
346
- const oe = w(null);
346
+ const ie = w(null);
347
347
  function Kt(a) {
348
- oe.value = a;
348
+ ie.value = a;
349
349
  }
350
350
  const $t = M(() => e.value.donutThicknessRatio < 0.01 ? 0.01 : e.value.donutThicknessRatio > 0.4 ? 0.4 : e.value.donutThicknessRatio), I = M(() => {
351
351
  if (C.value !== A.DONUT) return null;
@@ -356,11 +356,11 @@ const Qa = ["id"], Ka = ["id"], el = ["xmlns", "viewBox"], tl = ["x", "y", "widt
356
356
  id: `donut_${z}`
357
357
  })).map((f, z) => ({
358
358
  ...f,
359
- color: f.COLOR ? it(f.COLOR) : _e.value[z + e.value.paletteStartIndex] || J[z + e.value.paletteStartIndex] || J[(z + e.value.paletteStartIndex) % J.length],
359
+ color: f.COLOR ? it(f.COLOR) : _e.value[z + e.value.paletteStartIndex] || ee[z + e.value.paletteStartIndex] || ee[(z + e.value.paletteStartIndex) % ee.length],
360
360
  immutableValue: f.value
361
361
  }));
362
362
  function r(f, z) {
363
- return j({
363
+ return Y({
364
364
  v: isNaN(f.value / At(z)) ? 0 : f.value / At(z) * 100,
365
365
  s: "%",
366
366
  r: e.value.dataLabelRoundingPercentage
@@ -374,7 +374,7 @@ const Qa = ["id"], Ka = ["id"], el = ["xmlns", "viewBox"], tl = ["x", "y", "widt
374
374
  return Math.abs(String(Number(d.toFixed(0))).length - String(Number(z.toFixed(0))).length);
375
375
  }
376
376
  function u({ datapoint: f, seriesIndex: z }) {
377
- we.value = { datapoint: f, seriesIndex: z, config: e.value, dataset: a }, te.value = f.id;
377
+ we.value = { datapoint: f, seriesIndex: z, config: e.value, dataset: a }, oe.value = f.id;
378
378
  const d = e.value.tooltipCustomFormat;
379
379
  if (e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: f, seriesIndex: z }), Ge(d) && rt(() => d({
380
380
  datapoint: f,
@@ -382,7 +382,7 @@ const Qa = ["id"], Ka = ["id"], el = ["xmlns", "viewBox"], tl = ["x", "y", "widt
382
382
  series: a,
383
383
  config: e.value
384
384
  })))
385
- fe.value = d({
385
+ me.value = d({
386
386
  datapoint: f,
387
387
  seriesIndex: z,
388
388
  series: a,
@@ -390,22 +390,22 @@ const Qa = ["id"], Ka = ["id"], el = ["xmlns", "viewBox"], tl = ["x", "y", "widt
390
390
  });
391
391
  else {
392
392
  let i = "";
393
- i += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.tooltipBorderColor};padding-bottom:6px;margin-bottom:3px;">${f.name}</div>`, i += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${f.color}"/></svg>`, i += `<b>${ie(
393
+ i += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.tooltipBorderColor};padding-bottom:6px;margin-bottom:3px;">${f.name}</div>`, i += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${f.color}"/></svg>`, i += `<b>${re(
394
394
  e.value.formatter,
395
395
  f.value,
396
- j({
396
+ Y({
397
397
  p: e.value.valuePrefix,
398
398
  v: f.value,
399
399
  s: e.value.valueSuffix,
400
400
  r: e.value.dataLabelRoundingValue
401
401
  }),
402
402
  { datapoint: f, seriesIndex: z }
403
- )}</b>`, i += `<span>(${j({ v: f.proportion * 100, s: "%", r: e.value.dataLabelRoundingPercentage })})</span></div>`, fe.value = `<div>${i}</div>`;
403
+ )}</b>`, i += `<span>(${Y({ v: f.proportion * 100, s: "%", r: e.value.dataLabelRoundingPercentage })})</span></div>`, me.value = `<div>${i}</div>`;
404
404
  }
405
- ce.value = !0;
405
+ he.value = !0;
406
406
  }
407
407
  function p({ datapoint: f, seriesIndex: z }) {
408
- e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: f, seriesIndex: z }), ce.value = !1, te.value = null, oe.value = null;
408
+ e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: f, seriesIndex: z }), he.value = !1, oe.value = null, ie.value = null;
409
409
  }
410
410
  function b({ datapoint: f, seriesIndex: z }) {
411
411
  e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: f, seriesIndex: z }), pe("selectDatapoint", f);
@@ -413,16 +413,16 @@ const Qa = ["id"], Ka = ["id"], el = ["xmlns", "viewBox"], tl = ["x", "y", "widt
413
413
  const P = {
414
414
  centerX: S.value.width / 2,
415
415
  centerY: S.value.height / 2
416
- }, F = a.filter((f) => !_.value.includes(f.id)).map((f) => f.value || 0).reduce((f, z) => f + z, 0), K = a.map((f, z) => ({
416
+ }, F = a.filter((f) => !_.value.includes(f.id)).map((f) => f.value || 0).reduce((f, z) => f + z, 0), ae = a.map((f, z) => ({
417
417
  ...f,
418
418
  proportion: (f.value || 0) / F,
419
419
  value: f.value || 0,
420
420
  absoluteValue: ze.value.dataset.find((d, i) => `donut_${i}` === f.id).VALUE,
421
421
  shape: "circle"
422
- })), ne = S.value.width / 2, Z = S.value.height / 2, X = S.value.height * e.value.donutRadiusRatio;
422
+ })), ue = S.value.width / 2, J = S.value.height / 2, X = S.value.height * e.value.donutRadiusRatio;
423
423
  return {
424
- dataset: K.filter((f) => !_.value.includes(f.id)),
425
- legend: K,
424
+ dataset: ae.filter((f) => !_.value.includes(f.id)),
425
+ legend: ae,
426
426
  drawingArea: P,
427
427
  displayArcPercentage: r,
428
428
  isArcBigEnough: t,
@@ -431,13 +431,13 @@ const Qa = ["id"], Ka = ["id"], el = ["xmlns", "viewBox"], tl = ["x", "y", "widt
431
431
  selectDatapoint: b,
432
432
  getSpaces: l,
433
433
  total: F,
434
- cx: ne,
435
- cy: Z,
434
+ cx: ue,
435
+ cy: J,
436
436
  radius: X,
437
437
  chart: Ea(
438
438
  { series: a.filter((f) => !_.value.includes(f.id)) },
439
- ne,
440
- Z,
439
+ ue,
440
+ J,
441
441
  X,
442
442
  X,
443
443
  1.99999,
@@ -471,13 +471,13 @@ const Qa = ["id"], Ka = ["id"], el = ["xmlns", "viewBox"], tl = ["x", "y", "widt
471
471
  const aa = M(() => {
472
472
  if (!e.value.zoomMinimap.show || C.value === A.DONUT) return [];
473
473
  let a = [];
474
- re(k.value.dataset) && (a = k.value.dataset), je(k.value.dataset) && (a = k.value.dataset.map((u, p) => ({
474
+ ve(k.value.dataset) && (a = k.value.dataset), je(k.value.dataset) && (a = k.value.dataset.map((u, p) => ({
475
475
  values: u.VALUE || u.DATA || u.SERIE || u.SERIES || u.VALUES || u.NUM || 0,
476
476
  id: C.value === A.LINE ? `line_${p}` : `bar_${p}`
477
477
  })).filter((u) => !_.value.includes(u.id)));
478
- const r = re(a) ? a.length : Math.max(...a.map((u) => u.values.length));
478
+ const r = ve(a) ? a.length : Math.max(...a.map((u) => u.values.length));
479
479
  let t = [];
480
- if (re(a))
480
+ if (ve(a))
481
481
  t = a;
482
482
  else
483
483
  for (let u = 0; u < r; u += 1)
@@ -496,7 +496,7 @@ const Qa = ["id"], Ka = ["id"], el = ["xmlns", "viewBox"], tl = ["x", "y", "widt
496
496
  tt.value = a;
497
497
  }, 100);
498
498
  ka((a) => {
499
- const r = le.value;
499
+ const r = ne.value;
500
500
  if (!r) return;
501
501
  const t = new ResizeObserver((l) => {
502
502
  la(l[0].contentRect.height);
@@ -507,7 +507,7 @@ const Qa = ["id"], Ka = ["id"], el = ["xmlns", "viewBox"], tl = ["x", "y", "widt
507
507
  });
508
508
  const Ve = M(() => {
509
509
  let a = 0, r = 0;
510
- return le.value && (r = tt.value), a + r;
510
+ return ne.value && (r = tt.value), a + r;
511
511
  }), c = M(() => {
512
512
  if (C.value !== A.LINE) return null;
513
513
  const a = {
@@ -515,8 +515,8 @@ const Qa = ["id"], Ka = ["id"], el = ["xmlns", "viewBox"], tl = ["x", "y", "widt
515
515
  width: S.value.width
516
516
  };
517
517
  let r = Tt();
518
- if (le.value) {
519
- const d = le.value.getBBox().x;
518
+ if (ne.value) {
519
+ const d = ne.value.getBBox().x;
520
520
  d < 0 && (r += Math.abs(d));
521
521
  }
522
522
  const t = {
@@ -528,13 +528,13 @@ const Qa = ["id"], Ka = ["id"], el = ["xmlns", "viewBox"], tl = ["x", "y", "widt
528
528
  height: Math.max(10, a.height - e.value.xyPaddingTop - e.value.xyPaddingBottom - Ve.value)
529
529
  };
530
530
  let l = [];
531
- re(k.value.dataset) && (l = [
531
+ ve(k.value.dataset) && (l = [
532
532
  {
533
533
  values: k.value.dataset.slice(y.value.start, y.value.end),
534
534
  absoluteValues: k.value.dataset,
535
535
  absoluteIndices: k.value.dataset.map((d, i) => i).slice(y.value.start, y.value.end),
536
536
  name: e.value.title,
537
- color: _e.value[e.value.paletteStartIndex] || J[e.value.paletteStartIndex],
537
+ color: _e.value[e.value.paletteStartIndex] || ee[e.value.paletteStartIndex],
538
538
  id: "line_0"
539
539
  }
540
540
  ]), je(k.value.dataset) && (l = k.value.dataset.map((d, i) => ({
@@ -544,7 +544,7 @@ const Qa = ["id"], Ka = ["id"], el = ["xmlns", "viewBox"], tl = ["x", "y", "widt
544
544
  id: `line_${i}`
545
545
  })).map((d, i) => ({
546
546
  ...d,
547
- color: d.COLOR ? it(d.COLOR) : _e.value[i + e.value.paletteStartIndex] || J[i + e.value.paletteStartIndex] || J[(i + e.value.paletteStartIndex) % J.length],
547
+ color: d.COLOR ? it(d.COLOR) : _e.value[i + e.value.paletteStartIndex] || ee[i + e.value.paletteStartIndex] || ee[(i + e.value.paletteStartIndex) % ee.length],
548
548
  values: d.values.slice(y.value.start, y.value.end),
549
549
  absoluteValues: d.values,
550
550
  absoluteIndices: d.values.map((g, E) => E).slice(y.value.start, y.value.end)
@@ -553,11 +553,11 @@ const Qa = ["id"], Ka = ["id"], el = ["xmlns", "viewBox"], tl = ["x", "y", "widt
553
553
  max: Math.max(...l.filter((d) => !_.value.includes(d.id)).flatMap((d) => d.values)),
554
554
  min: Math.min(...l.filter((d) => !_.value.includes(d.id)).flatMap((d) => d.values)),
555
555
  maxSeries: Math.max(...l.map((d) => d.values.length))
556
- }, p = u.max === u.min ? Xe(u.min, u.min + 1, e.value.xyScaleSegments) : Xe(u.min < 0 ? u.min : 0, u.max < 0 ? 0 : u.max, e.value.xyScaleSegments), b = u.min < 0 ? Math.abs(u.min) : 0, P = u.max < 0 ? t.top : t.bottom - b / (p.max + b) * t.height, F = t.width / u.maxSeries, K = p.ticks.map((d) => ({
556
+ }, p = u.max === u.min ? Xe(u.min, u.min + 1, e.value.xyScaleSegments) : Xe(u.min < 0 ? u.min : 0, u.max < 0 ? 0 : u.max, e.value.xyScaleSegments), b = u.min < 0 ? Math.abs(u.min) : 0, P = u.max < 0 ? t.top : t.bottom - b / (p.max + b) * t.height, F = t.width / u.maxSeries, ae = p.ticks.map((d) => ({
557
557
  y: t.bottom - t.height * ((d + b) / (p.max + b)),
558
558
  x: t.left - 8,
559
559
  value: d
560
- })), ne = l.map((d, i) => ({
560
+ })), ue = l.map((d, i) => ({
561
561
  ...d,
562
562
  shape: "circle",
563
563
  coordinates: d.values.map((g, E) => ({
@@ -574,7 +574,7 @@ const Qa = ["id"], Ka = ["id"], el = ["xmlns", "viewBox"], tl = ["x", "y", "widt
574
574
  linePath: i.join(" ")
575
575
  };
576
576
  });
577
- function Z(d) {
577
+ function J(d) {
578
578
  return l.map((i) => ({
579
579
  ...i,
580
580
  value: i.values[d],
@@ -582,8 +582,8 @@ const Qa = ["id"], Ka = ["id"], el = ["xmlns", "viewBox"], tl = ["x", "y", "widt
582
582
  })).filter((i) => !_.value.includes(i.id));
583
583
  }
584
584
  function X(d) {
585
- te.value = d, oe.value = d;
586
- const i = Z(d);
585
+ oe.value = d, ie.value = d;
586
+ const i = J(d);
587
587
  we.value = { datapoint: i, seriesIndex: d, config: e.value, dataset: l };
588
588
  const g = e.value.tooltipCustomFormat;
589
589
  if (e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: i, seriesIndex: d + y.value.start }), Ge(g) && rt(() => g({
@@ -592,7 +592,7 @@ const Qa = ["id"], Ka = ["id"], el = ["xmlns", "viewBox"], tl = ["x", "y", "widt
592
592
  series: l,
593
593
  config: e.value
594
594
  })))
595
- fe.value = g({
595
+ me.value = g({
596
596
  datapoint: i,
597
597
  seriesIndex: d,
598
598
  series: l,
@@ -600,45 +600,45 @@ const Qa = ["id"], Ka = ["id"], el = ["xmlns", "viewBox"], tl = ["x", "y", "widt
600
600
  });
601
601
  else {
602
602
  let E = "";
603
- Q.value[i[0].absoluteIndex] && (E += `<div style="border-bottom:1px solid ${e.value.tooltipBorderColor};padding-bottom:6px;margin-bottom:3px;">${Q.value[i[0].absoluteIndex].text}</div>`), i.forEach((N, W) => {
603
+ te.value[i[0].absoluteIndex] && (E += `<div style="border-bottom:1px solid ${e.value.tooltipBorderColor};padding-bottom:6px;margin-bottom:3px;">${te.value[i[0].absoluteIndex].text}</div>`), i.forEach((B, W) => {
604
604
  E += `
605
605
  <div style="display:flex; flex-wrap: wrap; align-items:center; gap:3px;">
606
- <svg viewBox="0 0 12 12" height="14" width="12"><circle cx="6" cy="6" r="6" stroke="none" fill="${N.color}"/></svg>
607
- <span>${N.name}:</span>
608
- <b>${ie(
606
+ <svg viewBox="0 0 12 12" height="14" width="12"><circle cx="6" cy="6" r="6" stroke="none" fill="${B.color}"/></svg>
607
+ <span>${B.name}:</span>
608
+ <b>${re(
609
609
  e.value.formatter,
610
- N.value,
611
- j({
610
+ B.value,
611
+ Y({
612
612
  p: e.value.valuePrefix,
613
- v: N.value,
613
+ v: B.value,
614
614
  s: e.value.valueSuffix,
615
615
  r: e.value.dataLabelRoundingValue
616
616
  }),
617
- { datapoint: N, seriesIndex: W }
617
+ { datapoint: B, seriesIndex: W }
618
618
  )}
619
619
  </b>
620
620
  </div>
621
621
  `;
622
- }), fe.value = E;
622
+ }), me.value = E;
623
623
  }
624
- ce.value = !0;
624
+ he.value = !0;
625
625
  }
626
626
  function f(d) {
627
- const i = Z(d);
628
- e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: i, seriesIndex: d + y.value.start }), te.value = null, oe.value = null, ce.value = !1;
627
+ const i = J(d);
628
+ e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: i, seriesIndex: d + y.value.start }), oe.value = null, ie.value = null, he.value = !1;
629
629
  }
630
630
  function z(d) {
631
- const i = Z(d);
631
+ const i = J(d);
632
632
  e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: i, seriesIndex: d + y.value.start }), pe("selectDatapoint", i);
633
633
  }
634
634
  return {
635
635
  absoluteZero: P,
636
- dataset: ne.filter((d) => !_.value.includes(d.id)),
637
- legend: ne,
636
+ dataset: ue.filter((d) => !_.value.includes(d.id)),
637
+ legend: ue,
638
638
  drawingArea: t,
639
639
  extremes: u,
640
640
  slotSize: F,
641
- yLabels: K,
641
+ yLabels: ae,
642
642
  useTooltip: X,
643
643
  killTooltip: f,
644
644
  selectDatapoint: z
@@ -650,8 +650,8 @@ const Qa = ["id"], Ka = ["id"], el = ["xmlns", "viewBox"], tl = ["x", "y", "widt
650
650
  width: S.value.width
651
651
  };
652
652
  let r = Tt();
653
- if (le.value) {
654
- const i = le.value.getBBox().x;
653
+ if (ne.value) {
654
+ const i = ne.value.getBBox().x;
655
655
  i < 0 && (r += Math.abs(i));
656
656
  }
657
657
  const t = {
@@ -663,13 +663,13 @@ const Qa = ["id"], Ka = ["id"], el = ["xmlns", "viewBox"], tl = ["x", "y", "widt
663
663
  height: Math.max(10, a.height - e.value.xyPaddingTop - e.value.xyPaddingBottom - Ve.value)
664
664
  };
665
665
  let l = [];
666
- re(k.value.dataset) && (l = [
666
+ ve(k.value.dataset) && (l = [
667
667
  {
668
668
  values: k.value.dataset.slice(y.value.start, y.value.end),
669
669
  absoluteValues: k.value.dataset,
670
670
  absoluteIndices: k.value.dataset.map((i, g) => g).slice(y.value.start, y.value.end),
671
671
  name: e.value.title,
672
- color: _e.value[e.value.paletteStartIndex] || J[e.value.paletteStartIndex],
672
+ color: _e.value[e.value.paletteStartIndex] || ee[e.value.paletteStartIndex],
673
673
  id: "bar_0"
674
674
  }
675
675
  ]), je(k.value.dataset) && (l = k.value.dataset.map((i, g) => ({
@@ -679,40 +679,40 @@ const Qa = ["id"], Ka = ["id"], el = ["xmlns", "viewBox"], tl = ["x", "y", "widt
679
679
  id: `bar_${g}`
680
680
  })).map((i, g) => ({
681
681
  ...i,
682
- color: i.COLOR ? it(i.COLOR) : _e.value[g + e.value.paletteStartIndex] || J[g + e.value.paletteStartIndex] || J[(g + e.value.paletteStartIndex) % J.length],
682
+ color: i.COLOR ? it(i.COLOR) : _e.value[g + e.value.paletteStartIndex] || ee[g + e.value.paletteStartIndex] || ee[(g + e.value.paletteStartIndex) % ee.length],
683
683
  values: i.values.slice(y.value.start, y.value.end),
684
684
  absoluteValues: i.values,
685
- absoluteIndices: i.values.map((E, N) => N).slice(y.value.start, y.value.end)
685
+ absoluteIndices: i.values.map((E, B) => B).slice(y.value.start, y.value.end)
686
686
  })));
687
687
  const u = {
688
688
  max: Math.max(...l.filter((i) => !_.value.includes(i.id)).flatMap((i) => i.values)) < 0 ? 0 : Math.max(...l.filter((i) => !_.value.includes(i.id)).flatMap((i) => i.values)),
689
689
  min: Math.min(...l.filter((i) => !_.value.includes(i.id)).flatMap((i) => i.values)),
690
690
  maxSeries: Math.max(...l.filter((i) => !_.value.includes(i.id)).map((i) => i.values.length))
691
- }, p = u.min === u.max ? Xe(u.min, u.min + 1, e.value.xyScaleSegments) : Xe(u.min < 0 ? u.min : 0, u.max, e.value.xyScaleSegments), b = p.min < 0 ? Math.abs(p.min) : 0, P = t.bottom - b / (p.max + b) * t.height, F = t.width / u.maxSeries, K = p.ticks.map((i) => ({
691
+ }, p = u.min === u.max ? Xe(u.min, u.min + 1, e.value.xyScaleSegments) : Xe(u.min < 0 ? u.min : 0, u.max, e.value.xyScaleSegments), b = p.min < 0 ? Math.abs(p.min) : 0, P = t.bottom - b / (p.max + b) * t.height, F = t.width / u.maxSeries, ae = p.ticks.map((i) => ({
692
692
  y: t.bottom - t.height * ((i + b) / (p.max + b)),
693
693
  x: t.left - 8,
694
694
  value: i
695
- })), ne = l.map((i, g) => ({
695
+ })), ue = l.map((i, g) => ({
696
696
  ...i,
697
697
  shape: "square",
698
- coordinates: i.values.map((E, N) => {
699
- const W = (E + b) / (u.max + b) * t.height, ee = Math.abs(E) / Math.abs(u.min) * (t.height - P), lt = b / (u.max + b) * t.height, Ce = F / l.filter((he) => !_.value.includes(he.id)).length - e.value.barGap / l.filter((he) => !_.value.includes(he.id)).length;
698
+ coordinates: i.values.map((E, B) => {
699
+ const W = (E + b) / (u.max + b) * t.height, le = Math.abs(E) / Math.abs(u.min) * (t.height - P), lt = b / (u.max + b) * t.height, Ce = F / l.filter((ge) => !_.value.includes(ge.id)).length - e.value.barGap / l.filter((ge) => !_.value.includes(ge.id)).length;
700
700
  return {
701
- x: t.left + F * N + Ce * g + e.value.barGap / 2,
701
+ x: t.left + F * B + Ce * g + e.value.barGap / 2,
702
702
  y: E > 0 ? t.bottom - W : P,
703
- height: E > 0 ? W - lt : ee,
703
+ height: E > 0 ? W - lt : le,
704
704
  value: E,
705
705
  width: Ce
706
706
  };
707
707
  })
708
- })), Z = l.filter((i) => !_.value.includes(i.id)).map((i, g) => ({
708
+ })), J = l.filter((i) => !_.value.includes(i.id)).map((i, g) => ({
709
709
  ...i,
710
- coordinates: i.values.map((E, N) => {
711
- const W = (E + b) / (u.max + b) * t.height, ee = Math.abs(E) / (u.max + b) * t.height, lt = b / (u.max + b) * t.height, Ce = F / l.filter((he) => !_.value.includes(he.id)).length - e.value.barGap / l.filter((he) => !_.value.includes(he.id)).length;
710
+ coordinates: i.values.map((E, B) => {
711
+ const W = (E + b) / (u.max + b) * t.height, le = Math.abs(E) / (u.max + b) * t.height, lt = b / (u.max + b) * t.height, Ce = F / l.filter((ge) => !_.value.includes(ge.id)).length - e.value.barGap / l.filter((ge) => !_.value.includes(ge.id)).length;
712
712
  return {
713
- x: t.left + F * N + Ce * g + e.value.barGap / 2,
713
+ x: t.left + F * B + Ce * g + e.value.barGap / 2,
714
714
  y: E > 0 ? t.bottom - W : P,
715
- height: E > 0 ? W - lt : ee,
715
+ height: E > 0 ? W - lt : le,
716
716
  value: E,
717
717
  width: Ce
718
718
  };
@@ -726,7 +726,7 @@ const Qa = ["id"], Ka = ["id"], el = ["xmlns", "viewBox"], tl = ["x", "y", "widt
726
726
  })).filter((g) => !_.value.includes(g.id));
727
727
  }
728
728
  function f(i) {
729
- te.value = i, oe.value = i;
729
+ oe.value = i, ie.value = i;
730
730
  const g = X(i);
731
731
  we.value = { datapoint: g, seriesIndex: i, config: e.value, dataset: l };
732
732
  const E = e.value.tooltipCustomFormat;
@@ -736,40 +736,40 @@ const Qa = ["id"], Ka = ["id"], el = ["xmlns", "viewBox"], tl = ["x", "y", "widt
736
736
  series: l,
737
737
  config: e.value
738
738
  })))
739
- fe.value = E({
739
+ me.value = E({
740
740
  point: g,
741
741
  seriesIndex: i,
742
742
  series: l,
743
743
  config: e.value
744
744
  });
745
745
  else {
746
- let N = "";
747
- Q.value[g[0].absoluteIndex] && (N += `<div style="border-bottom:1px solid ${e.value.tooltipBorderColor};padding-bottom:6px;margin-bottom:3px;">${Q.value[g[0].absoluteIndex].text}</div>`), g.forEach((W, ee) => {
748
- N += `
746
+ let B = "";
747
+ te.value[g[0].absoluteIndex] && (B += `<div style="border-bottom:1px solid ${e.value.tooltipBorderColor};padding-bottom:6px;margin-bottom:3px;">${te.value[g[0].absoluteIndex].text}</div>`), g.forEach((W, le) => {
748
+ B += `
749
749
  <div style="display:flex; flex-wrap: wrap; align-items:center; gap:3px;">
750
750
  <svg viewBox="0 0 12 12" height="14" width="12"><rect x=0 y="0" width="12" height="12" rx="1" stroke="none" fill="${W.color}"/></svg>
751
751
  <span>${W.name}:</span>
752
- <b>${ie(
752
+ <b>${re(
753
753
  e.value.formatter,
754
754
  W.value,
755
- j({
755
+ Y({
756
756
  p: e.value.valuePrefix,
757
757
  v: W.value,
758
758
  s: e.value.valueSuffix,
759
759
  r: e.value.dataLabelRoundingValue
760
760
  }),
761
- { datapoint: W, seriesIndex: ee }
761
+ { datapoint: W, seriesIndex: le }
762
762
  )}
763
763
  </b>
764
764
  </div>
765
765
  `;
766
- }), fe.value = N;
766
+ }), me.value = B;
767
767
  }
768
- ce.value = !0;
768
+ he.value = !0;
769
769
  }
770
770
  function z(i) {
771
771
  const g = X(i);
772
- e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: g, seriesIndex: i + y.value.start }), ce.value = !1, te.value = null, oe.value = null;
772
+ e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: g, seriesIndex: i + y.value.start }), he.value = !1, oe.value = null, ie.value = null;
773
773
  }
774
774
  function d(i) {
775
775
  const g = X(i);
@@ -777,13 +777,13 @@ const Qa = ["id"], Ka = ["id"], el = ["xmlns", "viewBox"], tl = ["x", "y", "widt
777
777
  }
778
778
  return {
779
779
  absoluteZero: P,
780
- dataset: Z.filter((i) => !_.value.includes(i.id)),
781
- absoluteDataset: Z,
782
- legend: ne,
780
+ dataset: J.filter((i) => !_.value.includes(i.id)),
781
+ absoluteDataset: J,
782
+ legend: ue,
783
783
  drawingArea: t,
784
784
  extremes: u,
785
785
  slotSize: F,
786
- yLabels: K,
786
+ yLabels: ae,
787
787
  useTooltip: f,
788
788
  killTooltip: z,
789
789
  selectDatapoint: d
@@ -820,8 +820,8 @@ const Qa = ["id"], Ka = ["id"], el = ["xmlns", "viewBox"], tl = ["x", "y", "widt
820
820
  const u = (l === 1 / 0 ? 1 : l) / 2, p = [];
821
821
  let b = { x: t[0].x, items: [t[0].el] };
822
822
  for (let P = 1; P < t.length; P++) {
823
- const { x: F, el: K } = t[P];
824
- Math.abs(F - b.x) <= u ? b.items.push(K) : (p.push(b), b = { x: F, items: [K] });
823
+ const { x: F, el: ae } = t[P];
824
+ Math.abs(F - b.x) <= u ? b.items.push(ae) : (p.push(b), b = { x: F, items: [ae] });
825
825
  }
826
826
  return p.push(b), p;
827
827
  }
@@ -836,22 +836,22 @@ const Qa = ["id"], Ka = ["id"], el = ["xmlns", "viewBox"], tl = ["x", "y", "widt
836
836
  labelStep: P = 0,
837
837
  intraSeriesStep: F = 0
838
838
  } = {}) {
839
- const K = Array.isArray(Ae?.value) ? Ae.value : [Ae?.value].filter(Boolean), ne = Array.isArray(Le?.value) ? Le.value : [Le?.value].filter(Boolean), Z = [...K, ...ne].filter(Boolean), X = R?.value || null, f = X ? Array.from(X.querySelectorAll(".vue-ui-quick-chart-plot")) : [], z = X ? Array.from(X.querySelectorAll(".vue-ui-quick-chart-label")) : [];
840
- Z.forEach(oa), It(f, { fromOpacity: "0", fromScale: "0.75" }), It(z, { fromOpacity: "0", fromScale: "0.98" }), f.forEach((g) => g.classList.remove("quick-animation")), z.forEach((g) => g.classList.remove("quick-animation")), X && X.offsetWidth;
839
+ const ae = Array.isArray(Ae?.value) ? Ae.value : [Ae?.value].filter(Boolean), ue = Array.isArray(Le?.value) ? Le.value : [Le?.value].filter(Boolean), J = [...ae, ...ue].filter(Boolean), X = N?.value || null, f = X ? Array.from(X.querySelectorAll(".vue-ui-quick-chart-plot")) : [], z = X ? Array.from(X.querySelectorAll(".vue-ui-quick-chart-label")) : [];
840
+ J.forEach(oa), It(f, { fromOpacity: "0", fromScale: "0.75" }), It(z, { fromOpacity: "0", fromScale: "0.98" }), f.forEach((g) => g.classList.remove("quick-animation")), z.forEach((g) => g.classList.remove("quick-animation")), X && X.offsetWidth;
841
841
  const d = f.length ? Pt(f, na) : [], i = z.length ? Pt(z, ia) : [];
842
842
  requestAnimationFrame(() => {
843
843
  requestAnimationFrame(() => {
844
- Z.forEach((g) => {
844
+ J.forEach((g) => {
845
845
  g.style.transition = `stroke-dashoffset ${a}ms ${r}`, g.style.strokeDashoffset = "0";
846
846
  }), d.forEach((g, E) => {
847
- g.items.forEach((N, W) => {
848
- const ee = u + E * b + W * F;
849
- N.style.transition = `opacity ${t}ms ease-out ${ee}ms, transform ${t}ms ease-out ${ee}ms`, N.style.opacity = "1", N.style.transform = "scale(1)";
847
+ g.items.forEach((B, W) => {
848
+ const le = u + E * b + W * F;
849
+ B.style.transition = `opacity ${t}ms ease-out ${le}ms, transform ${t}ms ease-out ${le}ms`, B.style.opacity = "1", B.style.transform = "scale(1)";
850
850
  });
851
851
  }), i.forEach((g, E) => {
852
- g.items.forEach((N, W) => {
853
- const ee = p + E * P + W * F;
854
- N.style.transition = `opacity ${l}ms ease-out ${ee}ms, transform ${l}ms ease-out ${ee}ms`, N.style.opacity = "1", N.style.transform = "scale(1)";
852
+ g.items.forEach((B, W) => {
853
+ const le = p + E * P + W * F;
854
+ B.style.transition = `opacity ${l}ms ease-out ${le}ms, transform ${l}ms ease-out ${le}ms`, B.style.opacity = "1", B.style.transform = "scale(1)";
855
855
  });
856
856
  });
857
857
  });
@@ -872,7 +872,7 @@ const Qa = ["id"], Ka = ["id"], el = ["xmlns", "viewBox"], tl = ["x", "y", "widt
872
872
  type: "bar",
873
873
  series: a.absoluteValues
874
874
  }));
875
- }), Q = M(() => Ba({
875
+ }), te = M(() => Ba({
876
876
  values: e.value.xyPeriods,
877
877
  maxDatapoints: k.value.maxSeriesLength,
878
878
  formatter: e.value.datetimeFormatter,
@@ -880,7 +880,7 @@ const Qa = ["id"], Ka = ["id"], el = ["xmlns", "viewBox"], tl = ["x", "y", "widt
880
880
  end: y.value.end
881
881
  })), ke = M(() => {
882
882
  const a = e.value.xyPeriodsModulo;
883
- return e.value.xyPeriods.length ? Math.min(a, [...new Set(Q.value.map((r) => r.text))].length) : a;
883
+ return e.value.xyPeriods.length ? Math.min(a, [...new Set(te.value.map((r) => r.text))].length) : a;
884
884
  }), qe = w(!1);
885
885
  function Ot(a) {
886
886
  qe.value = a, ht.value += 1;
@@ -893,8 +893,8 @@ const Qa = ["id"], Ka = ["id"], el = ["xmlns", "viewBox"], tl = ["x", "y", "widt
893
893
  He.value = !He.value;
894
894
  }
895
895
  async function sa({ scale: a = 2 } = {}) {
896
- if (!R.value) return;
897
- const { width: r, height: t } = R.value.getBoundingClientRect(), l = r / t, { imageUri: u, base64: p } = await Va({ domElement: R.value, base64: !0, img: !0, scale: a });
896
+ if (!N.value) return;
897
+ const { width: r, height: t } = N.value.getBoundingClientRect(), l = r / t, { imageUri: u, base64: p } = await Va({ domElement: N.value, base64: !0, img: !0, scale: a });
898
898
  return {
899
899
  imageUri: u,
900
900
  base64: p,
@@ -906,8 +906,8 @@ const Qa = ["id"], Ka = ["id"], el = ["xmlns", "viewBox"], tl = ["x", "y", "widt
906
906
  }
907
907
  const va = M(() => S.value.width), da = M(() => S.value.height);
908
908
  Ua({
909
- timeLabelsEls: le,
910
- timeLabels: Q,
909
+ timeLabelsEls: ne,
910
+ timeLabels: te,
911
911
  slicer: y,
912
912
  configRef: e,
913
913
  rotationPath: ["xyPeriodLabelsRotation"],
@@ -957,22 +957,42 @@ const Qa = ["id"], Ka = ["id"], el = ["xmlns", "viewBox"], tl = ["x", "y", "widt
957
957
  toggleFullscreen: Ot
958
958
  }), (a, r) => Yt.value ? (o(), n("div", {
959
959
  key: 0,
960
- id: `${C.value}_${Y.value}`,
960
+ id: `${C.value}_${Z.value}`,
961
961
  ref_key: "quickChart",
962
- ref: R,
963
- class: de({ "vue-data-ui-component": !0, "vue-ui-quick-chart": !0, "vue-data-ui-wrapper-fullscreen": qe.value }),
964
- style: B(`background:${e.value.backgroundColor};color:${e.value.color};font-family:${e.value.fontFamily}; position: relative; ${e.value.responsive ? "height: 100%" : ""}`),
962
+ ref: N,
963
+ class: fe({ "vue-data-ui-component": !0, "vue-ui-quick-chart": !0, "vue-data-ui-wrapper-fullscreen": qe.value }),
964
+ style: D(`background:${e.value.backgroundColor};color:${e.value.color};font-family:${e.value.fontFamily}; position: relative; ${e.value.responsive ? "height: 100%" : ""}`),
965
965
  onMouseenter: r[2] || (r[2] = () => kt(!0)),
966
966
  onMouseleave: r[3] || (r[3] = () => kt(!1))
967
967
  }, [
968
- e.value.userOptionsButtons.annotator ? (o(), Ie(s(se), {
968
+ e.value.userOptionsButtons.annotator ? (o(), Ie(s(de), {
969
969
  key: 0,
970
970
  svgRef: s(Qe),
971
971
  backgroundColor: e.value.backgroundColor,
972
972
  color: e.value.color,
973
973
  active: He.value,
974
974
  onClose: at
975
- }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : m("", !0),
975
+ }, {
976
+ "annotator-action-close": G(() => [
977
+ R(a.$slots, "annotator-action-close", {}, void 0, !0)
978
+ ]),
979
+ "annotator-action-color": G(({ color: t }) => [
980
+ R(a.$slots, "annotator-action-color", Q(K({ color: t })), void 0, !0)
981
+ ]),
982
+ "annotator-action-draw": G(({ mode: t }) => [
983
+ R(a.$slots, "annotator-action-draw", Q(K({ mode: t })), void 0, !0)
984
+ ]),
985
+ "annotator-action-undo": G(({ disabled: t }) => [
986
+ R(a.$slots, "annotator-action-undo", Q(K({ disabled: t })), void 0, !0)
987
+ ]),
988
+ "annotator-action-redo": G(({ disabled: t }) => [
989
+ R(a.$slots, "annotator-action-redo", Q(K({ disabled: t })), void 0, !0)
990
+ ]),
991
+ "annotator-action-delete": G(({ disabled: t }) => [
992
+ R(a.$slots, "annotator-action-delete", Q(K({ disabled: t })), void 0, !0)
993
+ ]),
994
+ _: 3
995
+ }, 8, ["svgRef", "backgroundColor", "color", "active"])) : m("", !0),
976
996
  Zt.value ? (o(), n("div", {
977
997
  key: 1,
978
998
  ref_key: "noTitle",
@@ -987,7 +1007,7 @@ const Qa = ["id"], Ka = ["id"], el = ["xmlns", "viewBox"], tl = ["x", "y", "widt
987
1007
  color: e.value.color,
988
1008
  isPrinting: s(Be),
989
1009
  isImaging: s(De),
990
- uid: Y.value,
1010
+ uid: Z.value,
991
1011
  hasTooltip: e.value.userOptionsButtons.tooltip && e.value.showTooltip,
992
1012
  hasPdf: e.value.userOptionsButtons.pdf,
993
1013
  hasImg: e.value.userOptionsButtons.img,
@@ -997,7 +1017,7 @@ const Qa = ["id"], Ka = ["id"], el = ["xmlns", "viewBox"], tl = ["x", "y", "widt
997
1017
  isTooltip: ye.value.showTooltip,
998
1018
  isFullscreen: qe.value,
999
1019
  titles: { ...e.value.userOptionsButtonTitles },
1000
- chartElement: R.value,
1020
+ chartElement: N.value,
1001
1021
  position: e.value.userOptionsPosition,
1002
1022
  hasAnnotator: e.value.userOptionsButtons.annotator,
1003
1023
  isAnnotation: He.value,
@@ -1009,56 +1029,56 @@ const Qa = ["id"], Ka = ["id"], el = ["xmlns", "viewBox"], tl = ["x", "y", "widt
1009
1029
  onGenerateSvg: Mt,
1010
1030
  onToggleTooltip: Ft,
1011
1031
  onToggleAnnotator: at,
1012
- style: B({
1032
+ style: D({
1013
1033
  visibility: xt.value ? Ne.value ? "visible" : "hidden" : "visible"
1014
1034
  })
1015
1035
  }, ba({ _: 2 }, [
1016
1036
  a.$slots.menuIcon ? {
1017
1037
  name: "menuIcon",
1018
- fn: ae(({ isOpen: t, color: l }) => [
1019
- H(a.$slots, "menuIcon", me(ge({ isOpen: t, color: l })), void 0, !0)
1038
+ fn: G(({ isOpen: t, color: l }) => [
1039
+ R(a.$slots, "menuIcon", Q(K({ isOpen: t, color: l })), void 0, !0)
1020
1040
  ]),
1021
1041
  key: "0"
1022
1042
  } : void 0,
1023
1043
  a.$slots.optionTooltip ? {
1024
1044
  name: "optionTooltip",
1025
- fn: ae(() => [
1026
- H(a.$slots, "optionTooltip", {}, void 0, !0)
1045
+ fn: G(() => [
1046
+ R(a.$slots, "optionTooltip", {}, void 0, !0)
1027
1047
  ]),
1028
1048
  key: "1"
1029
1049
  } : void 0,
1030
1050
  a.$slots.optionPdf ? {
1031
1051
  name: "optionPdf",
1032
- fn: ae(() => [
1033
- H(a.$slots, "optionPdf", {}, void 0, !0)
1052
+ fn: G(() => [
1053
+ R(a.$slots, "optionPdf", {}, void 0, !0)
1034
1054
  ]),
1035
1055
  key: "2"
1036
1056
  } : void 0,
1037
1057
  a.$slots.optionImg ? {
1038
1058
  name: "optionImg",
1039
- fn: ae(() => [
1040
- H(a.$slots, "optionImg", {}, void 0, !0)
1059
+ fn: G(() => [
1060
+ R(a.$slots, "optionImg", {}, void 0, !0)
1041
1061
  ]),
1042
1062
  key: "3"
1043
1063
  } : void 0,
1044
1064
  a.$slots.optionSvg ? {
1045
1065
  name: "optionSvg",
1046
- fn: ae(() => [
1047
- H(a.$slots, "optionSvg", {}, void 0, !0)
1066
+ fn: G(() => [
1067
+ R(a.$slots, "optionSvg", {}, void 0, !0)
1048
1068
  ]),
1049
1069
  key: "4"
1050
1070
  } : void 0,
1051
1071
  a.$slots.optionFullscreen ? {
1052
1072
  name: "optionFullscreen",
1053
- fn: ae(({ toggleFullscreen: t, isFullscreen: l }) => [
1054
- H(a.$slots, "optionFullscreen", me(ge({ toggleFullscreen: t, isFullscreen: l })), void 0, !0)
1073
+ fn: G(({ toggleFullscreen: t, isFullscreen: l }) => [
1074
+ R(a.$slots, "optionFullscreen", Q(K({ toggleFullscreen: t, isFullscreen: l })), void 0, !0)
1055
1075
  ]),
1056
1076
  key: "5"
1057
1077
  } : void 0,
1058
1078
  a.$slots.optionAnnotator ? {
1059
1079
  name: "optionAnnotator",
1060
- fn: ae(({ toggleAnnotator: t, isAnnotator: l }) => [
1061
- H(a.$slots, "optionAnnotator", me(ge({ toggleAnnotator: t, isAnnotator: l })), void 0, !0)
1080
+ fn: G(({ toggleAnnotator: t, isAnnotator: l }) => [
1081
+ R(a.$slots, "optionAnnotator", Q(K({ toggleAnnotator: t, isAnnotator: l })), void 0, !0)
1062
1082
  ]),
1063
1083
  key: "6"
1064
1084
  } : void 0
@@ -1068,10 +1088,10 @@ const Qa = ["id"], Ka = ["id"], el = ["xmlns", "viewBox"], tl = ["x", "y", "widt
1068
1088
  ref_key: "quickChartTitle",
1069
1089
  ref: Oe,
1070
1090
  class: "vue-ui-quick-chart-title",
1071
- style: B(`background:transparent;color:${e.value.color};font-size:${e.value.titleFontSize}px;font-weight:${e.value.titleBold ? "bold" : "normal"};text-align:${e.value.titleTextAlign}`)
1072
- }, U(e.value.title), 5)) : m("", !0),
1091
+ style: D(`background:transparent;color:${e.value.color};font-size:${e.value.titleFontSize}px;font-weight:${e.value.titleBold ? "bold" : "normal"};text-align:${e.value.titleTextAlign}`)
1092
+ }, V(e.value.title), 5)) : m("", !0),
1073
1093
  $("div", {
1074
- id: `legend-top-${Y.value}`
1094
+ id: `legend-top-${Z.value}`
1075
1095
  }, null, 8, Ka),
1076
1096
  C.value ? (o(), n("svg", {
1077
1097
  key: 4,
@@ -1079,9 +1099,9 @@ const Qa = ["id"], Ka = ["id"], el = ["xmlns", "viewBox"], tl = ["x", "y", "widt
1079
1099
  ref: Qe,
1080
1100
  xmlns: s(Ta),
1081
1101
  viewBox: Jt.value,
1082
- style: B(`max-width:100%;overflow:visible;background:transparent;color:${e.value.color}`)
1102
+ style: D(`max-width:100%;overflow:visible;background:transparent;color:${e.value.color}`)
1083
1103
  }, [
1084
- be(s(G)),
1104
+ be(s(j)),
1085
1105
  a.$slots["chart-background"] && C.value === A.BAR ? (o(), n("foreignObject", {
1086
1106
  key: 0,
1087
1107
  x: v.value.drawingArea.left,
@@ -1092,7 +1112,7 @@ const Qa = ["id"], Ka = ["id"], el = ["xmlns", "viewBox"], tl = ["x", "y", "widt
1092
1112
  pointerEvents: "none"
1093
1113
  }
1094
1114
  }, [
1095
- H(a.$slots, "chart-background", {}, void 0, !0)
1115
+ R(a.$slots, "chart-background", {}, void 0, !0)
1096
1116
  ], 8, tl)) : m("", !0),
1097
1117
  a.$slots["chart-background"] && C.value === A.LINE ? (o(), n("foreignObject", {
1098
1118
  key: 1,
@@ -1104,7 +1124,7 @@ const Qa = ["id"], Ka = ["id"], el = ["xmlns", "viewBox"], tl = ["x", "y", "widt
1104
1124
  pointerEvents: "none"
1105
1125
  }
1106
1126
  }, [
1107
- H(a.$slots, "chart-background", {}, void 0, !0)
1127
+ R(a.$slots, "chart-background", {}, void 0, !0)
1108
1128
  ], 8, al)) : m("", !0),
1109
1129
  a.$slots["chart-background"] && C.value === A.DONUT ? (o(), n("foreignObject", {
1110
1130
  key: 2,
@@ -1116,11 +1136,11 @@ const Qa = ["id"], Ka = ["id"], el = ["xmlns", "viewBox"], tl = ["x", "y", "widt
1116
1136
  pointerEvents: "none"
1117
1137
  }
1118
1138
  }, [
1119
- H(a.$slots, "chart-background", {}, void 0, !0)
1139
+ R(a.$slots, "chart-background", {}, void 0, !0)
1120
1140
  ], 8, ll)) : m("", !0),
1121
1141
  $("defs", null, [
1122
1142
  $("filter", {
1123
- id: `blur_${Y.value}`,
1143
+ id: `blur_${Z.value}`,
1124
1144
  x: "-50%",
1125
1145
  y: "-50%",
1126
1146
  width: "200%",
@@ -1129,7 +1149,7 @@ const Qa = ["id"], Ka = ["id"], el = ["xmlns", "viewBox"], tl = ["x", "y", "widt
1129
1149
  $("feGaussianBlur", {
1130
1150
  in: "SourceGraphic",
1131
1151
  stdDeviation: 2,
1132
- id: `blur_std_${Y.value}`
1152
+ id: `blur_std_${Z.value}`
1133
1153
  }, null, 8, nl),
1134
1154
  r[4] || (r[4] = $("feColorMatrix", {
1135
1155
  type: "saturate",
@@ -1137,7 +1157,7 @@ const Qa = ["id"], Ka = ["id"], el = ["xmlns", "viewBox"], tl = ["x", "y", "widt
1137
1157
  }, null, -1))
1138
1158
  ], 8, ol),
1139
1159
  $("filter", {
1140
- id: `shadow_${Y.value}`,
1160
+ id: `shadow_${Z.value}`,
1141
1161
  "color-interpolation-filters": "sRGB"
1142
1162
  }, [
1143
1163
  $("feDropShadow", {
@@ -1169,7 +1189,7 @@ const Qa = ["id"], Ka = ["id"], el = ["xmlns", "viewBox"], tl = ["x", "y", "widt
1169
1189
  cy: I.value.cy,
1170
1190
  r: I.value.radius,
1171
1191
  fill: e.value.backgroundColor,
1172
- filter: e.value.donutUseShadow ? `url(#shadow_${Y.value})` : ""
1192
+ filter: e.value.donutUseShadow ? `url(#shadow_${Z.value})` : ""
1173
1193
  }, null, 8, vl),
1174
1194
  $("g", dl, [
1175
1195
  (o(!0), n(x, null, T(I.value.chart, (t, l) => (o(), n("path", {
@@ -1207,10 +1227,10 @@ const Qa = ["id"], Ka = ["id"], el = ["xmlns", "viewBox"], tl = ["x", "y", "widt
1207
1227
  fill: e.value.color,
1208
1228
  "font-size": e.value.dataLabelFontSize,
1209
1229
  filter: $e(t.id)
1210
- }, U(I.value.displayArcPercentage(t, I.value.chart)) + " (" + U(s(ie)(
1230
+ }, V(I.value.displayArcPercentage(t, I.value.chart)) + " (" + V(s(re)(
1211
1231
  e.value.formatter,
1212
1232
  t.value,
1213
- s(j)({
1233
+ s(Y)({
1214
1234
  p: e.value.valuePrefix,
1215
1235
  v: t.value,
1216
1236
  s: e.value.valueSuffix,
@@ -1226,7 +1246,7 @@ const Qa = ["id"], Ka = ["id"], el = ["xmlns", "viewBox"], tl = ["x", "y", "widt
1226
1246
  fill: e.value.color,
1227
1247
  "font-size": e.value.dataLabelFontSize,
1228
1248
  filter: $e(t.id)
1229
- }, U(t.name), 9, pl)) : m("", !0)
1249
+ }, V(t.name), 9, pl)) : m("", !0)
1230
1250
  ], 64))), 256))
1231
1251
  ])) : m("", !0),
1232
1252
  e.value.donutShowTotal ? (o(), n("g", yl, [
@@ -1236,14 +1256,14 @@ const Qa = ["id"], Ka = ["id"], el = ["xmlns", "viewBox"], tl = ["x", "y", "widt
1236
1256
  y: I.value.drawingArea.centerY - e.value.donutTotalLabelFontSize / 2,
1237
1257
  "font-size": e.value.donutTotalLabelFontSize,
1238
1258
  fill: e.value.color
1239
- }, U(e.value.donutTotalLabelText), 9, xl),
1259
+ }, V(e.value.donutTotalLabelText), 9, xl),
1240
1260
  $("text", {
1241
1261
  "text-anchor": "middle",
1242
1262
  x: I.value.drawingArea.centerX,
1243
1263
  y: I.value.drawingArea.centerY + e.value.donutTotalLabelFontSize,
1244
1264
  "font-size": e.value.donutTotalLabelFontSize,
1245
1265
  fill: e.value.color
1246
- }, U(s(j)({
1266
+ }, V(s(Y)({
1247
1267
  p: e.value.valuePrefix,
1248
1268
  v: I.value.total,
1249
1269
  s: e.value.valueSuffix,
@@ -1319,10 +1339,10 @@ const Qa = ["id"], Ka = ["id"], el = ["xmlns", "viewBox"], tl = ["x", "y", "widt
1319
1339
  "text-anchor": "end",
1320
1340
  "font-size": e.value.xyLabelsYFontSize,
1321
1341
  fill: e.value.color
1322
- }, U(s(ie)(
1342
+ }, V(s(re)(
1323
1343
  e.value.formatter,
1324
1344
  t.value,
1325
- s(j)({
1345
+ s(Y)({
1326
1346
  p: e.value.valuePrefix,
1327
1347
  v: t.value,
1328
1348
  s: e.value.valueSuffix,
@@ -1333,7 +1353,7 @@ const Qa = ["id"], Ka = ["id"], el = ["xmlns", "viewBox"], tl = ["x", "y", "widt
1333
1353
  ], 64))), 256))
1334
1354
  ], 512)) : m("", !0),
1335
1355
  e.value.xyShowScale && e.value.xyPeriods.length ? (o(), n("g", Cl, [
1336
- (o(!0), n(x, null, T(Q.value.map((t) => t.text), (t, l) => (o(), n(x, null, [
1356
+ (o(!0), n(x, null, T(te.value.map((t) => t.text), (t, l) => (o(), n(x, null, [
1337
1357
  !e.value.xyPeriodsShowOnlyAtModulo || e.value.xyPeriodsShowOnlyAtModulo && l % Math.floor((y.value.end - y.value.start) / ke.value) === 0 || y.value.end - y.value.start <= ke.value ? (o(), n("line", {
1338
1358
  key: 0,
1339
1359
  x1: c.value.drawingArea.left + c.value.slotSize * (l + 1) - c.value.slotSize / 2,
@@ -1347,9 +1367,9 @@ const Qa = ["id"], Ka = ["id"], el = ["xmlns", "viewBox"], tl = ["x", "y", "widt
1347
1367
  ], 64))), 256)),
1348
1368
  $("g", {
1349
1369
  ref_key: "timeLabelsEls",
1350
- ref: le
1370
+ ref: ne
1351
1371
  }, [
1352
- (o(!0), n(x, null, T(Q.value.map((t) => t.text), (t, l) => (o(), n(x, null, [
1372
+ (o(!0), n(x, null, T(te.value.map((t) => t.text), (t, l) => (o(), n(x, null, [
1353
1373
  !e.value.xyPeriodsShowOnlyAtModulo || e.value.xyPeriodsShowOnlyAtModulo && l % Math.floor((y.value.end - y.value.start) / ke.value) === 0 || y.value.end - y.value.start <= ke.value ? (o(), n("g", Tl, [
1354
1374
  String(t).includes(`
1355
1375
  `) ? (o(), n("text", {
@@ -1373,7 +1393,7 @@ const Qa = ["id"], Ka = ["id"], el = ["xmlns", "viewBox"], tl = ["x", "y", "widt
1373
1393
  "text-anchor": e.value.xyPeriodLabelsRotation > 0 ? "start" : e.value.xyPeriodLabelsRotation < 0 ? "end" : "middle",
1374
1394
  fill: e.value.color,
1375
1395
  transform: `translate(${c.value.drawingArea.left + c.value.slotSize * (l + 1) - c.value.slotSize / 2}, ${c.value.drawingArea.bottom + e.value.xyLabelsXFontSize + 6}), rotate(${e.value.xyPeriodLabelsRotation})`
1376
- }, U(t), 9, Il))
1396
+ }, V(t), 9, Il))
1377
1397
  ])) : m("", !0)
1378
1398
  ], 64))), 256))
1379
1399
  ], 512)
@@ -1390,8 +1410,8 @@ const Qa = ["id"], Ka = ["id"], el = ["xmlns", "viewBox"], tl = ["x", "y", "widt
1390
1410
  "stroke-width": e.value.lineStrokeWidth + 1,
1391
1411
  "stroke-linecap": "round",
1392
1412
  fill: "none",
1393
- class: de({ "quick-animation": !s(V), "vue-data-ui-line-animated": e.value.lineAnimated && !s(V) }),
1394
- style: B({ transition: s(V) ? void 0 : "all 0.3s ease-in-out" })
1413
+ class: fe({ "quick-animation": !s(q), "vue-data-ui-line-animated": e.value.lineAnimated && !s(q) }),
1414
+ style: D({ transition: s(q) ? void 0 : "all 0.3s ease-in-out" })
1395
1415
  }, null, 14, Ml),
1396
1416
  $("path", {
1397
1417
  ref_for: !0,
@@ -1402,8 +1422,8 @@ const Qa = ["id"], Ka = ["id"], el = ["xmlns", "viewBox"], tl = ["x", "y", "widt
1402
1422
  "stroke-width": e.value.lineStrokeWidth,
1403
1423
  "stroke-linecap": "round",
1404
1424
  fill: "none",
1405
- class: de({ "quick-animation": !s(V), "vue-data-ui-line-animated": e.value.lineAnimated && !s(V) }),
1406
- style: B({ transition: s(V) ? void 0 : "all 0.3s ease-in-out" })
1425
+ class: fe({ "quick-animation": !s(q), "vue-data-ui-line-animated": e.value.lineAnimated && !s(q) }),
1426
+ style: D({ transition: s(q) ? void 0 : "all 0.3s ease-in-out" })
1407
1427
  }, null, 14, Rl)
1408
1428
  ], 64)) : (o(), n(x, { key: 1 }, [
1409
1429
  $("path", {
@@ -1415,8 +1435,8 @@ const Qa = ["id"], Ka = ["id"], el = ["xmlns", "viewBox"], tl = ["x", "y", "widt
1415
1435
  "stroke-width": e.value.lineStrokeWidth + 1,
1416
1436
  "stroke-linecap": "round",
1417
1437
  fill: "none",
1418
- class: de({ "quick-animation": !s(V), "vue-data-ui-line-animated": e.value.lineAnimated && !s(V) }),
1419
- style: B({ transition: s(V) ? void 0 : "all 0.3s ease-in-out" })
1438
+ class: fe({ "quick-animation": !s(q), "vue-data-ui-line-animated": e.value.lineAnimated && !s(q) }),
1439
+ style: D({ transition: s(q) ? void 0 : "all 0.3s ease-in-out" })
1420
1440
  }, null, 14, Nl),
1421
1441
  $("path", {
1422
1442
  ref_for: !0,
@@ -1427,19 +1447,19 @@ const Qa = ["id"], Ka = ["id"], el = ["xmlns", "viewBox"], tl = ["x", "y", "widt
1427
1447
  "stroke-width": e.value.lineStrokeWidth,
1428
1448
  "stroke-linecap": "round",
1429
1449
  fill: "none",
1430
- class: de({ "quick-animation": !s(V), "vue-data-ui-line-animated": e.value.lineAnimated && !s(V) }),
1431
- style: B({ transition: s(V) ? void 0 : "all 0.3s ease-in-out" })
1450
+ class: fe({ "quick-animation": !s(q), "vue-data-ui-line-animated": e.value.lineAnimated && !s(q) }),
1451
+ style: D({ transition: s(q) ? void 0 : "all 0.3s ease-in-out" })
1432
1452
  }, null, 14, Bl)
1433
1453
  ], 64)),
1434
1454
  (o(!0), n(x, null, T(t.coordinates, (u, p) => (o(), n("circle", {
1435
1455
  cx: u.x,
1436
- cy: s(ue)(u.y),
1456
+ cy: s(se)(u.y),
1437
1457
  r: 3,
1438
1458
  fill: t.color,
1439
1459
  stroke: e.value.backgroundColor,
1440
1460
  "stroke-width": "0.5",
1441
- class: de({ "vue-ui-quick-chart-plot": !0, "quick-animation": !s(V) }),
1442
- style: B({ transition: s(V) ? void 0 : "all 0.3s ease-in-out" })
1461
+ class: fe({ "vue-ui-quick-chart-plot": !0, "quick-animation": !s(q) }),
1462
+ style: D({ transition: s(q) ? void 0 : "all 0.3s ease-in-out" })
1443
1463
  }, null, 14, Dl))), 256))
1444
1464
  ]))), 256))
1445
1465
  ]),
@@ -1450,15 +1470,15 @@ const Qa = ["id"], Ka = ["id"], el = ["xmlns", "viewBox"], tl = ["x", "y", "widt
1450
1470
  "font-size": e.value.dataLabelFontSize,
1451
1471
  fill: t.color,
1452
1472
  x: u.x,
1453
- y: s(ue)(u.y) - e.value.dataLabelFontSize / 2,
1454
- class: de({ "vue-ui-quick-chart-label": !0, "quick-animation": !s(V) }),
1455
- style: B({ transition: s(V) ? void 0 : "all 0.3s ease-in-out" })
1456
- }, U(s(ie)(
1473
+ y: s(se)(u.y) - e.value.dataLabelFontSize / 2,
1474
+ class: fe({ "vue-ui-quick-chart-label": !0, "quick-animation": !s(q) }),
1475
+ style: D({ transition: s(q) ? void 0 : "all 0.3s ease-in-out" })
1476
+ }, V(s(re)(
1457
1477
  e.value.formatter,
1458
- s(ue)(u.value),
1459
- s(j)({
1478
+ s(se)(u.value),
1479
+ s(Y)({
1460
1480
  p: e.value.valuePrefix,
1461
- v: s(ue)(u.value),
1481
+ v: s(se)(u.value),
1462
1482
  s: e.value.valueSuffix,
1463
1483
  r: e.value.dataLabelRoundingValue
1464
1484
  }),
@@ -1472,8 +1492,8 @@ const Qa = ["id"], Ka = ["id"], el = ["xmlns", "viewBox"], tl = ["x", "y", "widt
1472
1492
  y: c.value.drawingArea.top,
1473
1493
  height: c.value.drawingArea.height <= 0 ? 1e-5 : c.value.drawingArea.height,
1474
1494
  width: c.value.slotSize <= 0 ? 1e-5 : c.value.slotSize,
1475
- fill: [te.value, oe.value].includes(l) ? e.value.xyHighlighterColor : "transparent",
1476
- style: B(`opacity:${e.value.xyHighlighterOpacity}`),
1495
+ fill: [oe.value, ie.value].includes(l) ? e.value.xyHighlighterColor : "transparent",
1496
+ style: D(`opacity:${e.value.xyHighlighterOpacity}`),
1477
1497
  onMouseenter: (u) => c.value.useTooltip(l),
1478
1498
  onMouseleave: (u) => c.value.killTooltip(l),
1479
1499
  onClick: (u) => c.value.selectDatapoint(l)
@@ -1548,10 +1568,10 @@ const Qa = ["id"], Ka = ["id"], el = ["xmlns", "viewBox"], tl = ["x", "y", "widt
1548
1568
  "text-anchor": "end",
1549
1569
  "font-size": e.value.xyLabelsYFontSize,
1550
1570
  fill: e.value.color
1551
- }, U(s(ie)(
1571
+ }, V(s(re)(
1552
1572
  e.value.formatter,
1553
1573
  t.value,
1554
- s(j)({
1574
+ s(Y)({
1555
1575
  p: e.value.valuePrefix,
1556
1576
  v: t.value,
1557
1577
  s: e.value.valueSuffix,
@@ -1573,9 +1593,9 @@ const Qa = ["id"], Ka = ["id"], el = ["xmlns", "viewBox"], tl = ["x", "y", "widt
1573
1593
  }, null, 8, eo))), 256)),
1574
1594
  $("g", {
1575
1595
  ref_key: "timeLabelsEls",
1576
- ref: le
1596
+ ref: ne
1577
1597
  }, [
1578
- (o(!0), n(x, null, T(Q.value.map((t) => t.text), (t, l) => (o(), n(x, null, [
1598
+ (o(!0), n(x, null, T(te.value.map((t) => t.text), (t, l) => (o(), n(x, null, [
1579
1599
  !e.value.xyPeriodsShowOnlyAtModulo || e.value.xyPeriodsShowOnlyAtModulo && l % Math.floor((y.value.end - y.value.start) / ke.value) === 0 || y.value.end - y.value.start <= ke.value ? (o(), n("g", to, [
1580
1600
  String(t).includes(`
1581
1601
  `) ? (o(), n("text", {
@@ -1599,7 +1619,7 @@ const Qa = ["id"], Ka = ["id"], el = ["xmlns", "viewBox"], tl = ["x", "y", "widt
1599
1619
  "text-anchor": e.value.xyPeriodLabelsRotation > 0 ? "start" : e.value.xyPeriodLabelsRotation < 0 ? "end" : "middle",
1600
1620
  fill: e.value.color,
1601
1621
  transform: `translate(${v.value.drawingArea.left + v.value.slotSize * (l + 1) - v.value.slotSize / 2}, ${v.value.drawingArea.bottom + e.value.xyLabelsXFontSize + 6}), rotate(${e.value.xyPeriodLabelsRotation})`
1602
- }, U(t), 9, ao))
1622
+ }, V(t), 9, ao))
1603
1623
  ])) : m("", !0)
1604
1624
  ], 64))), 256))
1605
1625
  ], 512)
@@ -1609,13 +1629,13 @@ const Qa = ["id"], Ka = ["id"], el = ["xmlns", "viewBox"], tl = ["x", "y", "widt
1609
1629
  (o(!0), n(x, null, T(t.coordinates, (u, p) => (o(), n("rect", {
1610
1630
  x: u.x,
1611
1631
  width: u.width <= 0 ? 1e-5 : u.width,
1612
- height: s(ue)(u.height <= 0 ? 1e-5 : u.height),
1613
- y: s(ue)(u.y),
1632
+ height: s(se)(u.height <= 0 ? 1e-5 : u.height),
1633
+ y: s(se)(u.y),
1614
1634
  fill: t.color,
1615
1635
  stroke: e.value.backgroundColor,
1616
1636
  "stroke-width": e.value.barStrokeWidth,
1617
1637
  "stroke-linecap": "round",
1618
- class: de({ "vue-data-ui-bar-animated": e.value.barAnimated && u.value < 0 && !s(V) })
1638
+ class: fe({ "vue-data-ui-bar-animated": e.value.barAnimated && u.value < 0 && !s(q) })
1619
1639
  }, [
1620
1640
  e.value.barAnimated && u.value > 0 && !s(Be) && !s(De) ? (o(), n("animate", {
1621
1641
  key: 0,
@@ -1638,17 +1658,17 @@ const Qa = ["id"], Ka = ["id"], el = ["xmlns", "viewBox"], tl = ["x", "y", "widt
1638
1658
  (o(!0), n(x, null, T(v.value.dataset, (t, l) => (o(), n(x, null, [
1639
1659
  (o(!0), n(x, null, T(t.coordinates, (u, p) => (o(), n("text", {
1640
1660
  x: u.x + u.width / 2,
1641
- y: s(ue)(u.y) - e.value.dataLabelFontSize / 2,
1661
+ y: s(se)(u.y) - e.value.dataLabelFontSize / 2,
1642
1662
  "text-anchor": "middle",
1643
1663
  "font-size": e.value.dataLabelFontSize,
1644
1664
  fill: t.color,
1645
1665
  class: "quick-animation"
1646
- }, U(s(ie)(
1666
+ }, V(s(re)(
1647
1667
  e.value.formatter,
1648
- s(ue)(u.value),
1649
- s(j)({
1668
+ s(se)(u.value),
1669
+ s(Y)({
1650
1670
  p: e.value.valuePrefix,
1651
- v: s(ue)(u.value),
1671
+ v: s(se)(u.value),
1652
1672
  s: e.value.valueSuffix,
1653
1673
  r: e.value.dataLabelRoundingValue
1654
1674
  }),
@@ -1662,8 +1682,8 @@ const Qa = ["id"], Ka = ["id"], el = ["xmlns", "viewBox"], tl = ["x", "y", "widt
1662
1682
  y: v.value.drawingArea.top,
1663
1683
  height: v.value.drawingArea.height <= 0 ? 1e-5 : v.value.drawingArea.height,
1664
1684
  width: v.value.slotSize <= 0 ? 1e-5 : v.value.slotSize,
1665
- fill: [te.value, oe.value].includes(l) ? e.value.xyHighlighterColor : "transparent",
1666
- style: B(`opacity:${e.value.xyHighlighterOpacity}`),
1685
+ fill: [oe.value, ie.value].includes(l) ? e.value.xyHighlighterColor : "transparent",
1686
+ style: D(`opacity:${e.value.xyHighlighterOpacity}`),
1667
1687
  onMouseenter: (u) => v.value.useTooltip(l),
1668
1688
  onMouseleave: (u) => v.value.killTooltip(l),
1669
1689
  onClick: (u) => v.value.selectDatapoint(l)
@@ -1682,7 +1702,7 @@ const Qa = ["id"], Ka = ["id"], el = ["xmlns", "viewBox"], tl = ["x", "y", "widt
1682
1702
  "text-anchor": "middle",
1683
1703
  x: c.value.drawingArea.left + c.value.drawingArea.width / 2,
1684
1704
  y: S.value.height - e.value.axisLabelsFontSize / 3
1685
- }, U(e.value.xAxisLabel), 9, ho)
1705
+ }, V(e.value.xAxisLabel), 9, ho)
1686
1706
  ], 512)) : m("", !0),
1687
1707
  e.value.xAxisLabel && C.value === A.BAR ? (o(), n("g", {
1688
1708
  key: 1,
@@ -1695,7 +1715,7 @@ const Qa = ["id"], Ka = ["id"], el = ["xmlns", "viewBox"], tl = ["x", "y", "widt
1695
1715
  "text-anchor": "middle",
1696
1716
  x: v.value.drawingArea.left + v.value.drawingArea.width / 2,
1697
1717
  y: S.value.height - e.value.axisLabelsFontSize / 3
1698
- }, U(e.value.xAxisLabel), 9, mo)
1718
+ }, V(e.value.xAxisLabel), 9, mo)
1699
1719
  ], 512)) : m("", !0),
1700
1720
  e.value.yAxisLabel && C.value === A.LINE ? (o(), n("g", {
1701
1721
  key: 2,
@@ -1707,7 +1727,7 @@ const Qa = ["id"], Ka = ["id"], el = ["xmlns", "viewBox"], tl = ["x", "y", "widt
1707
1727
  fill: e.value.color,
1708
1728
  transform: `translate(${e.value.axisLabelsFontSize}, ${c.value.drawingArea.top + c.value.drawingArea.height / 2}) rotate(-90)`,
1709
1729
  "text-anchor": "middle"
1710
- }, U(e.value.yAxisLabel), 9, go)
1730
+ }, V(e.value.yAxisLabel), 9, go)
1711
1731
  ], 512)) : m("", !0),
1712
1732
  e.value.yAxisLabel && C.value === A.BAR ? (o(), n("g", {
1713
1733
  key: 3,
@@ -1719,12 +1739,12 @@ const Qa = ["id"], Ka = ["id"], el = ["xmlns", "viewBox"], tl = ["x", "y", "widt
1719
1739
  fill: e.value.color,
1720
1740
  transform: `translate(${e.value.axisLabelsFontSize}, ${v.value.drawingArea.top + v.value.drawingArea.height / 2}) rotate(-90)`,
1721
1741
  "text-anchor": "middle"
1722
- }, U(e.value.yAxisLabel), 9, po)
1742
+ }, V(e.value.yAxisLabel), 9, po)
1723
1743
  ], 512)) : m("", !0)
1724
1744
  ])) : m("", !0)
1725
1745
  ], 12, el)) : m("", !0),
1726
1746
  a.$slots.watermark ? (o(), n("div", yo, [
1727
- H(a.$slots, "watermark", me(ge({ isPrinting: s(Be) || s(De) })), void 0, !0)
1747
+ R(a.$slots, "watermark", Q(K({ isPrinting: s(Be) || s(De) })), void 0, !0)
1728
1748
  ])) : m("", !0),
1729
1749
  [A.BAR, A.LINE].includes(C.value) && e.value.zoomXy && k.value.maxSeriesLength > 1 ? (o(), n("div", {
1730
1750
  key: `slicer_${Fe.value}`,
@@ -1739,8 +1759,8 @@ const Qa = ["id"], Ka = ["id"], el = ["xmlns", "viewBox"], tl = ["x", "y", "widt
1739
1759
  borderColor: e.value.backgroundColor,
1740
1760
  fontSize: e.value.zoomFontSize,
1741
1761
  useResetSlot: e.value.zoomUseResetSlot,
1742
- labelLeft: e.value.xyPeriods[y.value.start] ? Q.value[0].text : "",
1743
- labelRight: e.value.xyPeriods[y.value.end - 1] ? Q.value.at(-1).text : "",
1762
+ labelLeft: e.value.xyPeriods[y.value.start] ? te.value[0].text : "",
1763
+ labelRight: e.value.xyPeriods[y.value.end - 1] ? te.value.at(-1).text : "",
1744
1764
  textColor: e.value.color,
1745
1765
  inputColor: e.value.zoomColor,
1746
1766
  selectColor: e.value.zoomHighlightColor,
@@ -1756,7 +1776,7 @@ const Qa = ["id"], Ka = ["id"], el = ["xmlns", "viewBox"], tl = ["x", "y", "widt
1756
1776
  minimap: aa.value,
1757
1777
  minimapIndicatorColor: e.value.zoomMinimap.indicatorColor,
1758
1778
  verticalHandles: e.value.zoomMinimap.verticalHandles,
1759
- minimapSelectedIndex: oe.value,
1779
+ minimapSelectedIndex: ie.value,
1760
1780
  start: y.value.start,
1761
1781
  "onUpdate:start": r[0] || (r[0] = (t) => y.value.start = t),
1762
1782
  end: y.value.end,
@@ -1774,51 +1794,51 @@ const Qa = ["id"], Ka = ["id"], el = ["xmlns", "viewBox"], tl = ["x", "y", "widt
1774
1794
  onReset: ea,
1775
1795
  onTrapMouse: Kt
1776
1796
  }, {
1777
- "reset-action": ae(({ reset: t }) => [
1778
- H(a.$slots, "reset-action", me(ge({ reset: t })), void 0, !0)
1797
+ "reset-action": G(({ reset: t }) => [
1798
+ R(a.$slots, "reset-action", Q(K({ reset: t })), void 0, !0)
1779
1799
  ]),
1780
1800
  _: 3
1781
1801
  }, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "smoothMinimap", "minimapSelectedColor", "minimapSelectedColorOpacity", "minimapSelectionRadius", "minimapLineColor", "minimap", "minimapIndicatorColor", "verticalHandles", "minimapSelectedIndex", "start", "end", "refreshStartPoint", "refreshEndPoint", "enableRangeHandles", "enableSelectionDrag", "minimapCompact", "minimapMerged", "allMinimaps", "minimapFrameColor", "focusOnDrag", "focusRangeRatio"]))
1782
1802
  ])) : m("", !0),
1783
1803
  $("div", {
1784
- id: `legend-bottom-${Y.value}`
1804
+ id: `legend-bottom-${Z.value}`
1785
1805
  }, null, 8, xo),
1786
1806
  mt.value ? (o(), Ie(Sa, {
1787
1807
  key: 7,
1788
- to: e.value.legendPosition === "top" ? `#legend-top-${Y.value}` : `#legend-bottom-${Y.value}`
1808
+ to: e.value.legendPosition === "top" ? `#legend-top-${Z.value}` : `#legend-bottom-${Z.value}`
1789
1809
  }, [
1790
1810
  e.value.showLegend ? (o(), n("div", {
1791
1811
  key: 0,
1792
1812
  ref_key: "quickChartLegend",
1793
1813
  ref: vt,
1794
1814
  class: "vue-ui-quick-chart-legend",
1795
- style: B(`background:transparent;color:${e.value.color}`)
1815
+ style: D(`background:transparent;color:${e.value.color}`)
1796
1816
  }, [
1797
1817
  C.value === A.DONUT ? (o(!0), n(x, { key: 0 }, T(I.value.legend, (t, l) => (o(), n("div", {
1798
1818
  class: "vue-ui-quick-chart-legend-item",
1799
1819
  onClick: (u) => {
1800
1820
  Qt(t, I.value.dataset), pe("selectLegend", t);
1801
1821
  },
1802
- style: B(`cursor: ${I.value.legend.length > 1 ? "pointer" : "default"}; opacity:${_.value.includes(t.id) ? "0.5" : "1"}`)
1822
+ style: D(`cursor: ${I.value.legend.length > 1 ? "pointer" : "default"}; opacity:${_.value.includes(t.id) ? "0.5" : "1"}`)
1803
1823
  }, [
1804
- e.value.useCustomLegend ? H(a.$slots, "legend", nt({
1824
+ e.value.useCustomLegend ? R(a.$slots, "legend", nt({
1805
1825
  key: 0,
1806
1826
  ref_for: !0
1807
1827
  }, { legend: t }), void 0, !0) : (o(), n(x, { key: 1 }, [
1808
- be(s(q), {
1828
+ be(s(H), {
1809
1829
  name: e.value.legendIcon,
1810
1830
  stroke: t.color,
1811
1831
  size: e.value.legendIconSize
1812
1832
  }, null, 8, ["name", "stroke", "size"]),
1813
1833
  $("span", {
1814
- style: B(`font-size:${e.value.legendFontSize}px`)
1815
- }, U(t.name), 5),
1834
+ style: D(`font-size:${e.value.legendFontSize}px`)
1835
+ }, V(t.name), 5),
1816
1836
  $("span", {
1817
- style: B(`font-size:${e.value.legendFontSize}px;font-variant-numeric:tabular-nums`)
1818
- }, U(_.value.includes(t.id) ? "-" : s(ie)(
1837
+ style: D(`font-size:${e.value.legendFontSize}px;font-variant-numeric:tabular-nums`)
1838
+ }, V(_.value.includes(t.id) ? "-" : s(re)(
1819
1839
  e.value.formatter,
1820
1840
  t.absoluteValue,
1821
- s(j)({
1841
+ s(Y)({
1822
1842
  p: e.value.valuePrefix,
1823
1843
  v: t.absoluteValue,
1824
1844
  s: e.value.valueSuffix,
@@ -1828,14 +1848,14 @@ const Qa = ["id"], Ka = ["id"], el = ["xmlns", "viewBox"], tl = ["x", "y", "widt
1828
1848
  )), 5),
1829
1849
  _.value.includes(t.id) ? (o(), n("span", {
1830
1850
  key: 0,
1831
- style: B(`font-size:${e.value.legendFontSize}px`)
1851
+ style: D(`font-size:${e.value.legendFontSize}px`)
1832
1852
  }, " ( - % ) ", 4)) : Ue.value ? (o(), n("span", {
1833
1853
  key: 1,
1834
- style: B(`font-size:${e.value.legendFontSize}px; font-variant-numeric: tabular-nums;`)
1854
+ style: D(`font-size:${e.value.legendFontSize}px; font-variant-numeric: tabular-nums;`)
1835
1855
  }, " ( - % ) ", 4)) : (o(), n("span", {
1836
1856
  key: 2,
1837
- style: B(`font-size:${e.value.legendFontSize}px; font-variant-numeric: tabular-nums;`)
1838
- }, " (" + U(s(j)({
1857
+ style: D(`font-size:${e.value.legendFontSize}px; font-variant-numeric: tabular-nums;`)
1858
+ }, " (" + V(s(Y)({
1839
1859
  v: t.value / I.value.total * 100,
1840
1860
  s: "%",
1841
1861
  r: e.value.dataLabelRoundingPercentage
@@ -1847,20 +1867,20 @@ const Qa = ["id"], Ka = ["id"], el = ["xmlns", "viewBox"], tl = ["x", "y", "widt
1847
1867
  onClick: (u) => {
1848
1868
  Lt(t.id, c.value.legend.length - 1), pe("selectLegend", t);
1849
1869
  },
1850
- style: B(`cursor: ${c.value.legend.length > 1 ? "pointer" : "default"}; opacity:${_.value.includes(t.id) ? "0.5" : "1"}`)
1870
+ style: D(`cursor: ${c.value.legend.length > 1 ? "pointer" : "default"}; opacity:${_.value.includes(t.id) ? "0.5" : "1"}`)
1851
1871
  }, [
1852
- e.value.useCustomLegend ? H(a.$slots, "legend", nt({
1872
+ e.value.useCustomLegend ? R(a.$slots, "legend", nt({
1853
1873
  key: 0,
1854
1874
  ref_for: !0
1855
1875
  }, { legend: t }), void 0, !0) : (o(), n(x, { key: 1 }, [
1856
- be(s(q), {
1876
+ be(s(H), {
1857
1877
  name: e.value.legendIcon,
1858
1878
  stroke: t.color,
1859
1879
  size: e.value.legendIconSize
1860
1880
  }, null, 8, ["name", "stroke", "size"]),
1861
1881
  $("span", {
1862
- style: B(`font-size:${e.value.legendFontSize}px`)
1863
- }, U(t.name), 5)
1882
+ style: D(`font-size:${e.value.legendFontSize}px`)
1883
+ }, V(t.name), 5)
1864
1884
  ], 64))
1865
1885
  ], 12, bo))), 256)) : m("", !0),
1866
1886
  C.value === A.BAR ? (o(!0), n(x, { key: 2 }, T(v.value.legend, (t, l) => (o(), n("div", {
@@ -1868,20 +1888,20 @@ const Qa = ["id"], Ka = ["id"], el = ["xmlns", "viewBox"], tl = ["x", "y", "widt
1868
1888
  onClick: (u) => {
1869
1889
  Lt(t.id, v.value.legend.length - 1), pe("selectLegend", t);
1870
1890
  },
1871
- style: B(`cursor: ${v.value.legend.length > 1 ? "pointer" : "default"}; opacity:${_.value.includes(t.id) ? "0.5" : "1"}`)
1891
+ style: D(`cursor: ${v.value.legend.length > 1 ? "pointer" : "default"}; opacity:${_.value.includes(t.id) ? "0.5" : "1"}`)
1872
1892
  }, [
1873
- e.value.useCustomLegend ? H(a.$slots, "legend", nt({
1893
+ e.value.useCustomLegend ? R(a.$slots, "legend", nt({
1874
1894
  key: 0,
1875
1895
  ref_for: !0
1876
1896
  }, { legend: t }), void 0, !0) : (o(), n(x, { key: 1 }, [
1877
- be(s(q), {
1897
+ be(s(H), {
1878
1898
  name: e.value.legendIcon,
1879
1899
  stroke: t.color,
1880
1900
  size: e.value.legendIconSize
1881
1901
  }, null, 8, ["name", "stroke", "size"]),
1882
1902
  $("span", {
1883
- style: B(`font-size:${e.value.legendFontSize}px`)
1884
- }, U(t.name), 5)
1903
+ style: D(`font-size:${e.value.legendFontSize}px`)
1904
+ }, V(t.name), 5)
1885
1905
  ], 64))
1886
1906
  ], 12, So))), 256)) : m("", !0)
1887
1907
  ], 4)) : m("", !0)
@@ -1892,10 +1912,10 @@ const Qa = ["id"], Ka = ["id"], el = ["xmlns", "viewBox"], tl = ["x", "y", "widt
1892
1912
  ref: ct,
1893
1913
  dir: "auto"
1894
1914
  }, [
1895
- H(a.$slots, "source", {}, void 0, !0)
1915
+ R(a.$slots, "source", {}, void 0, !0)
1896
1916
  ], 512)) : m("", !0),
1897
1917
  be(s(Se), {
1898
- show: ye.value.showTooltip && ce.value,
1918
+ show: ye.value.showTooltip && he.value,
1899
1919
  backgroundColor: e.value.backgroundColor,
1900
1920
  color: e.value.color,
1901
1921
  borderRadius: e.value.tooltipBorderRadius,
@@ -1905,8 +1925,8 @@ const Qa = ["id"], Ka = ["id"], el = ["xmlns", "viewBox"], tl = ["x", "y", "widt
1905
1925
  backgroundOpacity: e.value.tooltipBackgroundOpacity,
1906
1926
  position: e.value.tooltipPosition,
1907
1927
  offsetY: e.value.tooltipOffsetY,
1908
- parent: R.value,
1909
- content: fe.value,
1928
+ parent: N.value,
1929
+ content: me.value,
1910
1930
  isFullscreen: qe.value,
1911
1931
  isCustom: s(Ge)(e.value.tooltipCustomFormat),
1912
1932
  smooth: e.value.tooltipSmooth,
@@ -1914,24 +1934,24 @@ const Qa = ["id"], Ka = ["id"], el = ["xmlns", "viewBox"], tl = ["x", "y", "widt
1914
1934
  smoothSnapThreshold: e.value.tooltipSmoothSnapThreshold,
1915
1935
  backdropFilter: e.value.tooltipBackdropFilter
1916
1936
  }, {
1917
- "tooltip-before": ae(() => [
1918
- H(a.$slots, "tooltip-before", me(ge({ ...we.value })), void 0, !0)
1937
+ "tooltip-before": G(() => [
1938
+ R(a.$slots, "tooltip-before", Q(K({ ...we.value })), void 0, !0)
1919
1939
  ]),
1920
- "tooltip-after": ae(() => [
1921
- H(a.$slots, "tooltip-after", me(ge({ ...we.value })), void 0, !0)
1940
+ "tooltip-after": G(() => [
1941
+ R(a.$slots, "tooltip-after", Q(K({ ...we.value })), void 0, !0)
1922
1942
  ]),
1923
1943
  _: 3
1924
1944
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "smoothForce", "smoothSnapThreshold", "backdropFilter"]),
1925
- s(V) ? (o(), Ie(Ma, { key: 9 })) : m("", !0)
1945
+ s(q) ? (o(), Ie(Ma, { key: 9 })) : m("", !0)
1926
1946
  ], 46, Qa)) : (o(), n("div", wo, [
1927
- be(s(q), {
1947
+ be(s(H), {
1928
1948
  name: "circleCancel",
1929
1949
  stroke: "red"
1930
1950
  }),
1931
1951
  r[5] || (r[5] = $("span", null, "Dataset is not processable", -1))
1932
1952
  ]));
1933
1953
  }
1934
- }, Bo = /* @__PURE__ */ Wa(Ao, [["__scopeId", "data-v-3c6f78c8"]]);
1954
+ }, Bo = /* @__PURE__ */ Wa(Ao, [["__scopeId", "data-v-63e8b40f"]]);
1935
1955
  export {
1936
1956
  Bo as default
1937
1957
  };