vue-data-ui 3.16.0 → 3.16.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 (136) hide show
  1. package/dist/ColorPicker-B0mV4xzu.js +255 -0
  2. package/dist/{NonSvgPenAndPaper-vqweC0WU.js → NonSvgPenAndPaper-VyJFyJ6X.js} +1 -1
  3. package/dist/{PackageVersion-IIGK_e2C.js → PackageVersion-DPO-OOVI.js} +1 -1
  4. package/dist/{PenAndPaper-DARlvvKW.js → PenAndPaper-Ct3qJ4lA.js} +109 -101
  5. package/dist/{UserOptions-DWHf8jyO.js → UserOptions-rW2fRf3V.js} +2 -2
  6. package/dist/components/vue-ui-3d-bar.js +1 -1
  7. package/dist/components/vue-ui-age-pyramid.js +1 -1
  8. package/dist/components/vue-ui-annotator.js +1 -1
  9. package/dist/components/vue-ui-bullet.js +1 -1
  10. package/dist/components/vue-ui-bump.js +1 -1
  11. package/dist/components/vue-ui-candlestick.js +1 -1
  12. package/dist/components/vue-ui-carousel-table.js +1 -1
  13. package/dist/components/vue-ui-chestnut.js +1 -1
  14. package/dist/components/vue-ui-chord.js +1 -1
  15. package/dist/components/vue-ui-circle-pack.js +1 -1
  16. package/dist/components/vue-ui-cursor.js +1 -1
  17. package/dist/components/vue-ui-dag.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-geo.js +1 -1
  28. package/dist/components/vue-ui-gizmo.js +1 -1
  29. package/dist/components/vue-ui-heatmap.js +1 -1
  30. package/dist/components/vue-ui-history-plot.js +1 -1
  31. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  32. package/dist/components/vue-ui-kpi.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-relation-circle.js +1 -1
  42. package/dist/components/vue-ui-ridgeline.js +1 -1
  43. package/dist/components/vue-ui-rings.js +1 -1
  44. package/dist/components/vue-ui-scatter.js +1 -1
  45. package/dist/components/vue-ui-skeleton.js +1 -1
  46. package/dist/components/vue-ui-spark-trend.js +1 -1
  47. package/dist/components/vue-ui-sparkbar.js +1 -1
  48. package/dist/components/vue-ui-sparkgauge.js +1 -1
  49. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  50. package/dist/components/vue-ui-sparkline.js +1 -1
  51. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  52. package/dist/components/vue-ui-stackbar.js +1 -1
  53. package/dist/components/vue-ui-stackline.js +1 -1
  54. package/dist/components/vue-ui-strip-plot.js +1 -1
  55. package/dist/components/vue-ui-table-heatmap.js +1 -1
  56. package/dist/components/vue-ui-table-sparkline.js +1 -1
  57. package/dist/components/vue-ui-table.js +1 -1
  58. package/dist/components/vue-ui-thermometer.js +1 -1
  59. package/dist/components/vue-ui-timer.js +1 -1
  60. package/dist/components/vue-ui-tiremarks.js +1 -1
  61. package/dist/components/vue-ui-treemap.js +1 -1
  62. package/dist/components/vue-ui-vertical-bar.js +1 -1
  63. package/dist/components/vue-ui-waffle.js +1 -1
  64. package/dist/components/vue-ui-wheel.js +1 -1
  65. package/dist/components/vue-ui-word-cloud.js +1 -1
  66. package/dist/components/vue-ui-world.js +1 -1
  67. package/dist/components/vue-ui-xy-canvas.js +1 -1
  68. package/dist/components/vue-ui-xy.js +1 -1
  69. package/dist/style.css +1 -1
  70. package/dist/types/vue-data-ui.d.ts +1 -0
  71. package/dist/{vue-data-ui-CykQ4SW2.js → vue-data-ui-DXGkXRnC.js} +63 -63
  72. package/dist/vue-data-ui.js +63 -63
  73. package/dist/{vue-ui-3d-bar-D5KRiVmZ.js → vue-ui-3d-bar-BaFpQnd5.js} +1 -1
  74. package/dist/{vue-ui-age-pyramid-QfZ1J5Xx.js → vue-ui-age-pyramid-CRM498Pc.js} +342 -341
  75. package/dist/{vue-ui-annotator-CpSMITlP.js → vue-ui-annotator-CkPi9moo.js} +1 -1
  76. package/dist/{vue-ui-bullet-B-mo7tzz.js → vue-ui-bullet-BBiwof3c.js} +1 -1
  77. package/dist/{vue-ui-bump-NfZcJ9Q0.js → vue-ui-bump-Brxpu4xV.js} +1 -1
  78. package/dist/{vue-ui-candlestick-CGU-0rrF.js → vue-ui-candlestick-DAnZv77-.js} +240 -239
  79. package/dist/{vue-ui-carousel-table-BsdD3wU7.js → vue-ui-carousel-table-BHRZBYY0.js} +1 -1
  80. package/dist/{vue-ui-chestnut-JpoNeiHD.js → vue-ui-chestnut-CbrYnRgm.js} +1 -1
  81. package/dist/{vue-ui-chord-CxhxjRQz.js → vue-ui-chord-CaX_IUVs.js} +1 -1
  82. package/dist/{vue-ui-circle-pack-DbxOzzk2.js → vue-ui-circle-pack-CR3h53sc.js} +1 -1
  83. package/dist/{vue-ui-cursor-CZGKKkeT.js → vue-ui-cursor-Cjfazw7Z.js} +1 -1
  84. package/dist/{vue-ui-dag-gal2eIv-.js → vue-ui-dag-B9vH3c66.js} +1 -1
  85. package/dist/{vue-ui-dashboard-ClnkPMc5.js → vue-ui-dashboard-DWll05qs.js} +62 -62
  86. package/dist/{vue-ui-digits-DColgbmH.js → vue-ui-digits-DcM67rMx.js} +1 -1
  87. package/dist/{vue-ui-donut-Bckj-DX2.js → vue-ui-donut-Be5G38P5.js} +395 -394
  88. package/dist/{vue-ui-donut-evolution-B6HtvZVs.js → vue-ui-donut-evolution-BLSesj3c.js} +265 -264
  89. package/dist/{vue-ui-dumbbell-r3Jv9uut.js → vue-ui-dumbbell-DIMiCY4r.js} +1 -1
  90. package/dist/{vue-ui-flow-BxfLqYXa.js → vue-ui-flow-zvZylhgr.js} +1 -1
  91. package/dist/{vue-ui-funnel-B6Gevxqh.js → vue-ui-funnel-CSri-oWm.js} +1 -1
  92. package/dist/{vue-ui-galaxy-BJr1ddJZ.js → vue-ui-galaxy-CGykxsAI.js} +1 -1
  93. package/dist/{vue-ui-gauge-Q-Slhgwx.js → vue-ui-gauge-D1MNB9Jq.js} +1 -1
  94. package/dist/{vue-ui-geo-Dow4oyTv.js → vue-ui-geo-DdJDGhG2.js} +1 -1
  95. package/dist/{vue-ui-gizmo-zpVjAoDG.js → vue-ui-gizmo-BZYRHGFm.js} +1 -1
  96. package/dist/{vue-ui-heatmap-mKX5Bzql.js → vue-ui-heatmap-CryOx6XK.js} +494 -482
  97. package/dist/{vue-ui-history-plot-D6kiRkhD.js → vue-ui-history-plot-C85iw9Kl.js} +1 -1
  98. package/dist/{vue-ui-horizontal-bar-FKkR13e7.js → vue-ui-horizontal-bar-BoBZOybC.js} +430 -429
  99. package/dist/{vue-ui-kpi-CMRe29m5.js → vue-ui-kpi-DHrolXw6.js} +1 -1
  100. package/dist/{vue-ui-molecule-7eT7D17p.js → vue-ui-molecule-DJ_BQ4DK.js} +1 -1
  101. package/dist/{vue-ui-mood-radar-DsC0X_C2.js → vue-ui-mood-radar-CBE02TpQ.js} +1 -1
  102. package/dist/{vue-ui-nested-donuts-FbiXKFZX.js → vue-ui-nested-donuts-YTFtb4CL.js} +284 -283
  103. package/dist/{vue-ui-onion-CjWiTq2x.js → vue-ui-onion-B9l81-PS.js} +1 -1
  104. package/dist/{vue-ui-parallel-coordinate-plot-kl1jgKIX.js → vue-ui-parallel-coordinate-plot-C1e_rs8J.js} +1 -1
  105. package/dist/{vue-ui-quadrant-CyalzEfW.js → vue-ui-quadrant-C1qsLCRn.js} +556 -555
  106. package/dist/{vue-ui-quick-chart-DgWwf7SJ.js → vue-ui-quick-chart-DFoz3WiA.js} +360 -359
  107. package/dist/{vue-ui-radar-Bw9veQKf.js → vue-ui-radar-Cmo3p-UA.js} +1 -1
  108. package/dist/{vue-ui-relation-circle-D4-9g-5t.js → vue-ui-relation-circle-BqwznVwf.js} +1 -1
  109. package/dist/{vue-ui-ridgeline-BZy69VT6.js → vue-ui-ridgeline-CDk9eXJq.js} +1 -1
  110. package/dist/{vue-ui-rings-LDs6OFnx.js → vue-ui-rings-BRkGoQdL.js} +1 -1
  111. package/dist/{vue-ui-scatter-i_hakuFa.js → vue-ui-scatter-BxDtWASQ.js} +479 -466
  112. package/dist/{vue-ui-skeleton-F2qaXsQ2.js → vue-ui-skeleton-D6kTb9aO.js} +1 -1
  113. package/dist/{vue-ui-spark-trend-ZIMooBi3.js → vue-ui-spark-trend-D8Mf2A1w.js} +1 -1
  114. package/dist/{vue-ui-sparkbar-BYRKG_Mm.js → vue-ui-sparkbar-BbYj56c3.js} +1 -1
  115. package/dist/{vue-ui-sparkgauge-BM0mnDHp.js → vue-ui-sparkgauge-DXzOSLRb.js} +1 -1
  116. package/dist/{vue-ui-sparkhistogram-z4-7Q6J8.js → vue-ui-sparkhistogram-DMfSx1iH.js} +1 -1
  117. package/dist/{vue-ui-sparkline-9m1__jVp.js → vue-ui-sparkline-D-rQ9PsC.js} +439 -438
  118. package/dist/{vue-ui-sparkstackbar-uM98VUDw.js → vue-ui-sparkstackbar-DK5n8IKP.js} +1 -1
  119. package/dist/{vue-ui-stackbar-DcSJuwTC.js → vue-ui-stackbar-BHthy6jf.js} +212 -211
  120. package/dist/{vue-ui-stackline-Dl_FfJAO.js → vue-ui-stackline-C6-WNpKD.js} +363 -362
  121. package/dist/{vue-ui-strip-plot-CcV8bOkg.js → vue-ui-strip-plot-CHu-1ilI.js} +1 -1
  122. package/dist/{vue-ui-table-Dx-N-eF1.js → vue-ui-table-DW9JGsLq.js} +2 -2
  123. package/dist/{vue-ui-table-heatmap-CVxNZzGe.js → vue-ui-table-heatmap-LYqoBit9.js} +1 -1
  124. package/dist/{vue-ui-table-sparkline-DdtbqaUL.js → vue-ui-table-sparkline-CXK1dFr-.js} +1 -1
  125. package/dist/{vue-ui-thermometer-Clwz-wUE.js → vue-ui-thermometer-BN8tflOz.js} +1 -1
  126. package/dist/{vue-ui-timer-BYVk_bvz.js → vue-ui-timer-DGT0UBOF.js} +1 -1
  127. package/dist/{vue-ui-tiremarks-D5TSv5yw.js → vue-ui-tiremarks-BZ-osQqY.js} +1 -1
  128. package/dist/{vue-ui-treemap-C0zhPMxE.js → vue-ui-treemap-98KaVRyd.js} +388 -387
  129. package/dist/{vue-ui-waffle-BtjLPkLm.js → vue-ui-waffle-Cb7oJnIc.js} +1 -1
  130. package/dist/{vue-ui-wheel-DSlnowV4.js → vue-ui-wheel-sfew1fjw.js} +1 -1
  131. package/dist/{vue-ui-word-cloud-DFdiRCqc.js → vue-ui-word-cloud-vq1t9JHr.js} +1 -1
  132. package/dist/{vue-ui-world-CymT7_Ep.js → vue-ui-world-CN0f6elD.js} +1 -1
  133. package/dist/{vue-ui-xy-B9Q4FR0g.js → vue-ui-xy-BdzEiImZ.js} +956 -955
  134. package/dist/{vue-ui-xy-canvas-CrnBxoa0.js → vue-ui-xy-canvas-CWQzUQzY.js} +113 -113
  135. package/package.json +1 -1
  136. package/dist/ColorPicker-DQ5sdRrl.js +0 -244
@@ -1,5 +1,5 @@
1
- import { defineAsyncComponent as De, ref as L, computed as M, toRefs as Oa, watch as Ue, shallowRef as Yt, onMounted as Fa, onBeforeUnmount as Zt, nextTick as ft, watchEffect as Jt, openBlock as n, createElementBlock as i, normalizeStyle as N, normalizeClass as ye, createElementVNode as $, toDisplayString as B, createBlock as Se, createCommentVNode as g, unref as c, withCtx as W, renderSlot as R, normalizeProps as J, guardReactiveProps as Q, createSlots as Na, createVNode as Ce, Fragment as S, renderList as O, Teleport as Ba, mergeProps as ht } from "vue";
2
- import { j as Da, t as Qt, m as Ua, p as le, n as Va, a8 as qa, q as Ha, o as Wa, s as gt, a4 as Xa, D as Je, l as j, k as ue, X as ja, a5 as Ga, a6 as Qe, a7 as ze, Z as ea, c as ta, K as he, T as et, U as mt } from "./lib-DBptbyyI.js";
1
+ import { defineAsyncComponent as De, ref as L, computed as M, toRefs as Oa, watch as Ue, shallowRef as Yt, onMounted as Fa, onBeforeUnmount as Zt, nextTick as ft, watchEffect as Jt, openBlock as n, createElementBlock as i, normalizeStyle as N, normalizeClass as xe, createElementVNode as $, toDisplayString as B, createBlock as we, createCommentVNode as g, unref as c, withCtx as X, renderSlot as R, normalizeProps as Q, guardReactiveProps as ee, createSlots as Na, createVNode as ze, Fragment as S, renderList as O, Teleport as Ba, mergeProps as ht } from "vue";
2
+ import { j as Da, t as Qt, m as Ua, p as ne, n as Va, a8 as qa, q as Ha, o as Wa, s as gt, a4 as Xa, D as Je, l as G, k as ue, X as ja, a5 as Ga, a6 as Qe, a7 as $e, Z as ea, c as ta, K as he, T as et, U as mt } from "./lib-DBptbyyI.js";
3
3
  import { t as aa, u as Ka } from "./useResponsive-DfdjqQps.js";
4
4
  import { u as Ya } from "./useConfig-DO94Aj5s.js";
5
5
  import { u as Za, B as Ja } from "./BaseScanner-BhhkKVoj.js";
@@ -22,22 +22,22 @@ const y = {
22
22
  DONUT: "DONUT"
23
23
  }, dl = ["SERIE", "SERIES", "DATA", "VALUE", "VALUES", "NUM"];
24
24
  function cl({ dataset: m, barLineSwitch: F = 6, debug: z = !0 }) {
25
- let q = null, ee = null, me = 0;
26
- if ((typeof m == "number" || typeof m == "string") && z && console.warn(`The provided dataset (${m}) is not sufficient to build a chart`), at(m) && (ge(m) && (m.length < F ? q = y.BAR : q = y.LINE, ee = m, me = m.length), tt(m))) {
25
+ let q = null, te = null, me = 0;
26
+ if ((typeof m == "number" || typeof m == "string") && z && console.warn(`The provided dataset (${m}) is not sufficient to build a chart`), at(m) && (ge(m) && (m.length < F ? q = y.BAR : q = y.LINE, te = m, me = m.length), tt(m))) {
27
27
  if (!hl(m))
28
28
  return z && console.warn("The objects in the dataset array have a different data structure. Either keys or value types are different."), !1;
29
29
  const lt = Object.keys(m[0]), Ve = Object.values(m[0]);
30
- if (!lt.some((G) => gl(G)))
30
+ if (!lt.some((K) => gl(K)))
31
31
  return z && 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;
32
- la(Ve, (G) => typeof G == "number") && (q = y.DONUT, ee = m), la(Ve, (G) => Array.isArray(G) && ge(G)) && (oa(m) > F ? q = y.LINE : q = y.BAR, me = oa(m), ee = m.map((G) => ({
33
- ...G,
34
- data: ml(G, (oe) => ge(oe))
35
- }))), m = m.map((G) => na(G)), ee = ee.map((G) => na(G));
32
+ la(Ve, (K) => typeof K == "number") && (q = y.DONUT, te = m), la(Ve, (K) => Array.isArray(K) && ge(K)) && (oa(m) > F ? q = y.LINE : q = y.BAR, me = oa(m), te = m.map((K) => ({
33
+ ...K,
34
+ data: ml(K, (ie) => ge(ie))
35
+ }))), m = m.map((K) => na(K)), te = te.map((K) => na(K));
36
36
  }
37
37
  return {
38
38
  dataset: m,
39
39
  type: q,
40
- usableDataset: ee,
40
+ usableDataset: te,
41
41
  maxSeriesLength: me
42
42
  };
43
43
  }
@@ -59,9 +59,9 @@ function fl(m, F) {
59
59
  const z = Object.keys(m).sort(), q = Object.keys(F).sort();
60
60
  if (z.length !== q.length)
61
61
  return !1;
62
- for (let ee = 0; ee < z.length; ee += 1) {
63
- const me = z[ee], $e = q[ee];
64
- if (me !== $e || typeof m[me] != typeof F[$e])
62
+ for (let te = 0; te < z.length; te += 1) {
63
+ const me = z[te], Te = q[te];
64
+ if (me !== Te || typeof m[me] != typeof F[Te])
65
65
  return !1;
66
66
  }
67
67
  return !0;
@@ -166,12 +166,12 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
166
166
  },
167
167
  emits: ["selectDatapoint", "selectLegend", "copyAlt"],
168
168
  setup(m, { expose: F, emit: z }) {
169
- const q = De(() => import("./BaseIcon-Cb3zzG6s.js")), ee = De(() => import("./PackageVersion-IIGK_e2C.js")), me = De(() => import("./PenAndPaper-DARlvvKW.js")), $e = De(() => import("./Tooltip-Bf-kM3_A.js")), yt = De(() => import("./UserOptions-DWHf8jyO.js")), { vue_ui_quick_chart: lt } = Ya(), { isThemeValid: Ve, warnInvalidTheme: G } = al(), oe = m, se = L(null), xt = L(null), kt = L(null), bt = L(null), K = L(Da()), ve = L(!1), Te = L(null), xe = L(""), te = L(null), St = L(null), wt = L(null), w = L([]), At = L(0), qe = L(0), Lt = L(!1), Ee = L(null), Pe = L(null), de = L(null), He = L(null), _t = L(null), Ct = L(null);
169
+ const q = De(() => import("./BaseIcon-Cb3zzG6s.js")), te = De(() => import("./PackageVersion-DPO-OOVI.js")), me = De(() => import("./PenAndPaper-Ct3qJ4lA.js")), Te = De(() => import("./Tooltip-Bf-kM3_A.js")), yt = De(() => import("./UserOptions-rW2fRf3V.js")), { vue_ui_quick_chart: lt } = Ya(), { isThemeValid: Ve, warnInvalidTheme: K } = al(), ie = m, se = L(null), xt = L(null), kt = L(null), bt = L(null), Y = L(Da()), ve = L(!1), Ee = L(null), ke = L(""), ae = L(null), St = L(null), wt = L(null), w = L([]), At = L(0), qe = L(0), Lt = L(!1), Pe = L(null), Ie = L(null), de = L(null), He = L(null), _t = L(null), Ct = L(null);
170
170
  L("#FFFFFF");
171
- const e = L(ut()), ot = M(() => !!e.value.debug), we = M(() => e.value.useCursorPointer), Y = L(null), zt = L({ x: 0, y: 0 }), ce = L("pointer"), nt = L(!1), ua = M(() => Qt({
171
+ const e = L(ut()), ot = M(() => !!e.value.debug), Ae = M(() => e.value.useCursorPointer), Z = L(null), zt = L({ x: 0, y: 0 }), ce = L("pointer"), nt = L(!1), ua = M(() => Qt({
172
172
  userConfig: e.value.skeletonConfig ?? {}
173
173
  })), { loading: D, FINAL_DATASET: ra, manualLoading: $t } = Za({
174
- ...Oa(oe),
174
+ ...Oa(ie),
175
175
  FINAL_CONFIG: e,
176
176
  prepareConfig: ut,
177
177
  callback: () => {
@@ -183,50 +183,50 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
183
183
  });
184
184
  });
185
185
  },
186
- skeletonDataset: oe.config?.skeletonDataset ?? [1, 2, 3, 5, 8, 13, 21, 34, 55, 89],
186
+ skeletonDataset: ie.config?.skeletonDataset ?? [1, 2, 3, 5, 8, 13, 21, 34, 55, 89],
187
187
  skeletonConfig: Qt({
188
188
  defaultConfig: e.value,
189
189
  userConfig: ua.value
190
190
  })
191
- }), { svgRef: ke } = ll({ config: { text: e.value.title } }), sa = M(() => e.value.showUserOptionsOnChartHover), Tt = M(() => e.value.keepUserOptionsStateOnChartLeave), We = L(!e.value.showUserOptionsOnChartHover), it = L(!1);
191
+ }), { svgRef: be } = ll({ config: { text: e.value.title } }), sa = M(() => e.value.showUserOptionsOnChartHover), Tt = M(() => e.value.keepUserOptionsStateOnChartLeave), We = L(!e.value.showUserOptionsOnChartHover), it = L(!1);
192
192
  function Et(a = !1) {
193
193
  it.value = a, sa.value && (We.value = a);
194
194
  }
195
195
  function ut() {
196
196
  const a = pt({
197
- userConfig: oe.config,
197
+ userConfig: ie.config,
198
198
  defaultConfig: lt
199
199
  });
200
200
  let r = {};
201
201
  const t = a.theme;
202
202
  if (t)
203
203
  if (!Ve.value(a))
204
- G(a), r = a;
204
+ K(a), r = a;
205
205
  else {
206
206
  const l = pt({
207
- userConfig: ul[t] || oe.config,
207
+ userConfig: ul[t] || ie.config,
208
208
  defaultConfig: a
209
209
  });
210
210
  r = {
211
211
  ...pt({
212
- userConfig: oe.config,
212
+ userConfig: ie.config,
213
213
  defaultConfig: l
214
214
  }),
215
- customPalette: a.customPalette.length ? a.customPalette : Ua[t] || le
215
+ customPalette: a.customPalette.length ? a.customPalette : Ua[t] || ne
216
216
  };
217
217
  }
218
218
  else
219
219
  r = a;
220
220
  return r;
221
221
  }
222
- Ue(() => oe.config, (a) => {
223
- D.value || (e.value = ut()), _.value.width = e.value.width, _.value.height = e.value.height, We.value = !e.value.showUserOptionsOnChartHover, Mt(), Ae.value.showTooltip = e.value.showTooltip;
224
- }, { deep: !0 }), Ue(() => oe.dataset, (a) => {
225
- A.value = Me.value, k.value.start = 0, k.value.end = A.value.maxSeriesLength, qe.value += 1;
226
- }, { deep: !0 }), Ue(() => oe.dataset, (a) => {
222
+ Ue(() => ie.config, (a) => {
223
+ D.value || (e.value = ut()), _.value.width = e.value.width, _.value.height = e.value.height, We.value = !e.value.showUserOptionsOnChartHover, Mt(), Le.value.showTooltip = e.value.showTooltip;
224
+ }, { deep: !0 }), Ue(() => ie.dataset, (a) => {
225
+ A.value = Re.value, k.value.start = 0, k.value.end = A.value.maxSeriesLength, qe.value += 1;
226
+ }, { deep: !0 }), Ue(() => ie.dataset, (a) => {
227
227
  Array.isArray(a) && a.length > 0 && ($t.value = !1);
228
228
  }, { immediate: !0 });
229
- const Ie = M(() => Va(e.value.customPalette)), re = z, Me = M(() => {
229
+ const Me = M(() => Va(e.value.customPalette)), re = z, Re = M(() => {
230
230
  const a = cl({ debug: ot.value, dataset: qa(ra.value, [
231
231
  "serie",
232
232
  "series",
@@ -236,7 +236,7 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
236
236
  "num"
237
237
  ]), barLineSwitch: e.value.chartIsBarUnderDatasetLength });
238
238
  return !a && ot.value && console.error("VueUiQuickChart : Dataset is not processable"), a;
239
- }), A = L(Me.value), va = M(() => !!A.value), x = M(() => A.value ? A.value.type : null);
239
+ }), A = L(Re.value), va = M(() => !!A.value), x = M(() => A.value ? A.value.type : null);
240
240
  Ue(() => x.value, (a) => {
241
241
  a || Ha({
242
242
  componentName: "VueUiQuickChart",
@@ -245,26 +245,26 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
245
245
  });
246
246
  }, { immediate: !0 });
247
247
  const { isPrinting: Xe, isImaging: je, generatePdf: Pt, generateImage: It } = Qa({
248
- elementId: `${x.value}_${K.value}`,
248
+ elementId: `${x.value}_${Y.value}`,
249
249
  fileName: e.value.title || x.value,
250
250
  options: e.value.userOptionsPrint
251
251
  }), da = M(() => e.value.showUserOptions && !e.value.title), _ = L({
252
252
  width: e.value.width,
253
253
  height: e.value.height
254
- }), Ae = L({
254
+ }), Le = L({
255
255
  showTooltip: e.value.showTooltip
256
256
  });
257
257
  Ue(e, () => {
258
- Ae.value = {
258
+ Le.value = {
259
259
  showTooltip: e.value.showTooltip
260
260
  };
261
261
  }, { immediate: !0 });
262
- const pe = Yt(null), Le = Yt(null);
262
+ const pe = Yt(null), _e = Yt(null);
263
263
  Fa(async () => {
264
264
  Lt.value = !0, Mt();
265
265
  });
266
266
  function Mt() {
267
- if (Wa(oe.dataset) || ($t.value = e.value.loading), e.value.responsive) {
267
+ if (Wa(ie.dataset) || ($t.value = e.value.loading), e.value.responsive) {
268
268
  const a = aa(() => {
269
269
  const { width: r, height: t } = Ka({
270
270
  chart: se.value,
@@ -278,12 +278,12 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
278
278
  _.value.width = r, _.value.height = t;
279
279
  });
280
280
  });
281
- pe.value && (Le.value && pe.value.unobserve(Le.value), pe.value.disconnect()), pe.value = new ResizeObserver(a), Le.value = se.value.parentNode, pe.value.observe(Le.value);
281
+ pe.value && (_e.value && pe.value.unobserve(_e.value), pe.value.disconnect()), pe.value = new ResizeObserver(a), _e.value = se.value.parentNode, pe.value.observe(_e.value);
282
282
  }
283
283
  Ut();
284
284
  }
285
285
  Zt(() => {
286
- pe.value && (Le.value && pe.value.unobserve(Le.value), pe.value.disconnect());
286
+ pe.value && (_e.value && pe.value.unobserve(_e.value), pe.value.disconnect());
287
287
  });
288
288
  const ca = M(() => {
289
289
  switch (x.value) {
@@ -300,15 +300,15 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
300
300
  function Rt(a) {
301
301
  return [...a].map((r) => r.value).reduce((r, t) => r + t, 0);
302
302
  }
303
- function Re(a) {
304
- return e.value.blurOnHover && ![null, void 0].includes(te.value) && te.value !== a ? `url(#blur_${K.value})` : "";
303
+ function Oe(a) {
304
+ return e.value.blurOnHover && ![null, void 0].includes(ae.value) && ae.value !== a ? `url(#blur_${Y.value})` : "";
305
305
  }
306
306
  function fa() {
307
307
  w.value.length ? w.value = [] : x.value === y.DONUT ? C.value.legend.forEach((a) => {
308
308
  w.value.push(a.id);
309
309
  }) : x.value === y.LINE ? d.value.legend.forEach((a) => {
310
310
  w.value.push(a.id);
311
- }) : x.value === y.BAR && s.value.legend.forEach((a) => {
311
+ }) : x.value === y.BAR && v.value.legend.forEach((a) => {
312
312
  w.value.push(a.id);
313
313
  });
314
314
  }
@@ -319,50 +319,50 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
319
319
  function Nt(a, r) {
320
320
  Ke.value = !0;
321
321
  let t = a.value;
322
- const l = Me.value.dataset.find((o, v) => a.id === `donut_${v}`).VALUE;
322
+ const l = Re.value.dataset.find((o, s) => a.id === `donut_${s}`).VALUE;
323
323
  if (w.value.includes(a.id)) {
324
324
  let o = function() {
325
325
  t > l ? (Ke.value = !1, cancelAnimationFrame(Ft.value), A.value = {
326
326
  ...A.value,
327
- dataset: A.value.dataset.map((v, b) => a.id === `donut_${b}` ? {
328
- ...v,
327
+ dataset: A.value.dataset.map((s, b) => a.id === `donut_${b}` ? {
328
+ ...s,
329
329
  value: l,
330
330
  VALUE: l
331
- } : v)
331
+ } : s)
332
332
  }) : (t += l * 0.025, A.value = {
333
333
  ...A.value,
334
- dataset: A.value.dataset.map((v, b) => a.id === `donut_${b}` ? {
335
- ...v,
334
+ dataset: A.value.dataset.map((s, b) => a.id === `donut_${b}` ? {
335
+ ...s,
336
336
  value: t,
337
337
  VALUE: t
338
- } : v)
338
+ } : s)
339
339
  }, Ft.value = requestAnimationFrame(o));
340
340
  };
341
- w.value = w.value.filter((v) => v !== a.id), o();
341
+ w.value = w.value.filter((s) => s !== a.id), o();
342
342
  } else if (r.length > 1) {
343
343
  let o = function() {
344
344
  t < l / 100 ? (Ke.value = !1, cancelAnimationFrame(Ot.value), w.value.push(a.id), A.value = {
345
345
  ...A.value,
346
- dataset: A.value.dataset.map((v, b) => a.id === `donut_${b}` ? {
347
- ...v,
346
+ dataset: A.value.dataset.map((s, b) => a.id === `donut_${b}` ? {
347
+ ...s,
348
348
  value: 0,
349
349
  VALUE: 0
350
- } : v)
350
+ } : s)
351
351
  }) : (t /= 1.1, A.value = {
352
352
  ...A.value,
353
- dataset: A.value.dataset.map((v, b) => a.id === `donut_${b}` ? {
354
- ...v,
353
+ dataset: A.value.dataset.map((s, b) => a.id === `donut_${b}` ? {
354
+ ...s,
355
355
  value: t,
356
356
  VALUE: t
357
- } : v)
357
+ } : s)
358
358
  }, Ot.value = requestAnimationFrame(o));
359
359
  };
360
360
  o();
361
361
  }
362
362
  }
363
- const ne = L(null);
363
+ const le = L(null);
364
364
  function ha(a) {
365
- ne.value = a;
365
+ le.value = a;
366
366
  }
367
367
  const Bt = M(() => e.value.donutThicknessRatio < 0.01 ? 0.01 : e.value.donutThicknessRatio > 0.4 ? 0.4 : e.value.donutThicknessRatio), C = M(() => {
368
368
  if (x.value !== y.DONUT) return null;
@@ -373,11 +373,11 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
373
373
  id: `donut_${T}`
374
374
  })).map((h, T) => ({
375
375
  ...h,
376
- color: h.COLOR ? gt(h.COLOR) : Ie.value[T + e.value.paletteStartIndex] || le[T + e.value.paletteStartIndex] || le[(T + e.value.paletteStartIndex) % le.length],
376
+ color: h.COLOR ? gt(h.COLOR) : Me.value[T + e.value.paletteStartIndex] || ne[T + e.value.paletteStartIndex] || ne[(T + e.value.paletteStartIndex) % ne.length],
377
377
  immutableValue: h.value
378
378
  }));
379
379
  function r(h, T) {
380
- return j({
380
+ return G({
381
381
  v: isNaN(h.value / Rt(T)) ? 0 : h.value / Rt(T) * 100,
382
382
  s: "%",
383
383
  r: e.value.dataLabelRoundingPercentage
@@ -387,11 +387,11 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
387
387
  return h.proportion * 100 > e.value.donutHideLabelUnderPercentage;
388
388
  }
389
389
  function l(h, T) {
390
- const f = Me.value.dataset.find((p, E) => `donut_${E}` === h).VALUE;
390
+ const f = Re.value.dataset.find((p, E) => `donut_${E}` === h).VALUE;
391
391
  return Math.abs(String(Number(f.toFixed(0))).length - String(Number(T.toFixed(0))).length);
392
392
  }
393
393
  function o({ datapoint: h, seriesIndex: T, triggerMode: f = "pointer" }) {
394
- Te.value = { datapoint: h, seriesIndex: T, config: e.value, dataset: a }, te.value = h.id, Y.value = T, ce.value = f;
394
+ Ee.value = { datapoint: h, seriesIndex: T, config: e.value, dataset: a }, ae.value = h.id, Z.value = T, ce.value = f;
395
395
  const u = e.value.tooltipCustomFormat;
396
396
  if (e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: h, seriesIndex: T }), et(u) && mt(() => u({
397
397
  datapoint: h,
@@ -399,7 +399,7 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
399
399
  series: a,
400
400
  config: e.value
401
401
  })))
402
- xe.value = u({
402
+ ke.value = u({
403
403
  datapoint: h,
404
404
  seriesIndex: T,
405
405
  series: a,
@@ -410,19 +410,19 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
410
410
  p += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.tooltipBorderColor};padding-bottom:6px;margin-bottom:3px;">${h.name}</div>`, p += `<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="${h.color}"/></svg>`, p += `<b>${ue(
411
411
  e.value.formatter,
412
412
  h.value,
413
- j({
413
+ G({
414
414
  p: e.value.valuePrefix,
415
415
  v: h.value,
416
416
  s: e.value.valueSuffix,
417
417
  r: e.value.dataLabelRoundingValue
418
418
  }),
419
419
  { datapoint: h, seriesIndex: T }
420
- )}</b>`, p += `<span>(${j({ v: h.proportion * 100, s: "%", r: e.value.dataLabelRoundingPercentage })})</span></div>`, xe.value = `<div>${p}</div>`;
420
+ )}</b>`, p += `<span>(${G({ v: h.proportion * 100, s: "%", r: e.value.dataLabelRoundingPercentage })})</span></div>`, ke.value = `<div>${p}</div>`;
421
421
  }
422
422
  ve.value = !0;
423
423
  }
424
- function v({ datapoint: h, seriesIndex: T }) {
425
- e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: h, seriesIndex: T }), ve.value = !1, te.value = null, ne.value = null, Y.value = null, ce.value = "pointer";
424
+ function s({ datapoint: h, seriesIndex: T }) {
425
+ e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: h, seriesIndex: T }), ve.value = !1, ae.value = null, le.value = null, Z.value = null, ce.value = "pointer";
426
426
  }
427
427
  function b({ datapoint: h, seriesIndex: T }) {
428
428
  e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: h, seriesIndex: T }), re("selectDatapoint", h);
@@ -430,33 +430,33 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
430
430
  const P = {
431
431
  centerX: _.value.width / 2,
432
432
  centerY: _.value.height / 2
433
- }, I = a.filter((h) => !w.value.includes(h.id)).map((h) => h.value || 0).reduce((h, T) => h + T, 0), ie = a.map((h, T) => ({
433
+ }, I = a.filter((h) => !w.value.includes(h.id)).map((h) => h.value || 0).reduce((h, T) => h + T, 0), H = a.map((h, T) => ({
434
434
  ...h,
435
435
  proportion: (h.value || 0) / I,
436
436
  value: h.value || 0,
437
- absoluteValue: Me.value.dataset.find((f, u) => `donut_${u}` === h.id).VALUE,
437
+ absoluteValue: Re.value.dataset.find((f, u) => `donut_${u}` === h.id).VALUE,
438
438
  shape: "circle"
439
- })), fe = _.value.width / 2, ae = _.value.height / 2, X = _.value.height * e.value.donutRadiusRatio;
439
+ })), fe = _.value.width / 2, oe = _.value.height / 2, j = _.value.height * e.value.donutRadiusRatio;
440
440
  return {
441
- dataset: ie.filter((h) => !w.value.includes(h.id)),
442
- legend: ie,
441
+ dataset: H.filter((h) => !w.value.includes(h.id)),
442
+ legend: H,
443
443
  drawingArea: P,
444
444
  displayArcPercentage: r,
445
445
  isArcBigEnough: t,
446
446
  useTooltip: o,
447
- killTooltip: v,
447
+ killTooltip: s,
448
448
  selectDatapoint: b,
449
449
  getSpaces: l,
450
450
  total: I,
451
451
  cx: fe,
452
- cy: ae,
453
- radius: X,
452
+ cy: oe,
453
+ radius: j,
454
454
  chart: Xa(
455
455
  { series: a.filter((h) => !w.value.includes(h.id)) },
456
456
  fe,
457
- ae,
458
- X,
459
- X,
457
+ oe,
458
+ j,
459
+ j,
460
460
  1.99999,
461
461
  2,
462
462
  1,
@@ -488,9 +488,9 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
488
488
  const pa = M(() => {
489
489
  if (!e.value.zoomMinimap.show || x.value === y.DONUT) return [];
490
490
  let a = [];
491
- ge(A.value.dataset) && (a = A.value.dataset), tt(A.value.dataset) && (a = A.value.dataset.map((o, v) => ({
491
+ ge(A.value.dataset) && (a = A.value.dataset), tt(A.value.dataset) && (a = A.value.dataset.map((o, s) => ({
492
492
  values: o.VALUE || o.DATA || o.SERIE || o.SERIES || o.VALUES || o.NUM || 0,
493
- id: x.value === y.LINE ? `line_${v}` : `bar_${v}`
493
+ id: x.value === y.LINE ? `line_${s}` : `bar_${s}`
494
494
  })).filter((o) => !w.value.includes(o.id)));
495
495
  const r = ge(a) ? a.length : Math.max(...a.map((o) => o.values.length));
496
496
  let t = [];
@@ -498,15 +498,15 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
498
498
  t = a;
499
499
  else
500
500
  for (let o = 0; o < r; o += 1)
501
- t.push(a.map((v) => v.values[o] || 0).reduce((v, b) => (v || 0) + (b || 0), 0));
501
+ t.push(a.map((s) => s.values[o] || 0).reduce((s, b) => (s || 0) + (b || 0), 0));
502
502
  const l = Math.min(...t);
503
503
  return t.map((o) => o + (l < 0 ? Math.abs(l) : 0));
504
504
  });
505
505
  function Vt() {
506
506
  let a = 0;
507
507
  return He.value && (a = Array.from(He.value.querySelectorAll("text")).reduce((l, o) => {
508
- const v = o.getComputedTextLength();
509
- return v > l ? v : l;
508
+ const s = o.getComputedTextLength();
509
+ return s > l ? s : l;
510
510
  }, 0)), a + 4;
511
511
  }
512
512
  const rt = L(0), ya = aa((a) => {
@@ -551,7 +551,7 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
551
551
  absoluteValues: A.value.dataset,
552
552
  absoluteIndices: A.value.dataset.map((f, u) => u).slice(k.value.start, k.value.end),
553
553
  name: e.value.title,
554
- color: Ie.value[e.value.paletteStartIndex] || le[e.value.paletteStartIndex],
554
+ color: Me.value[e.value.paletteStartIndex] || ne[e.value.paletteStartIndex],
555
555
  id: "line_0"
556
556
  }
557
557
  ]), tt(A.value.dataset) && (l = A.value.dataset.map((f, u) => ({
@@ -561,7 +561,7 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
561
561
  id: `line_${u}`
562
562
  })).map((f, u) => ({
563
563
  ...f,
564
- color: f.COLOR ? gt(f.COLOR) : Ie.value[u + e.value.paletteStartIndex] || le[u + e.value.paletteStartIndex] || le[(u + e.value.paletteStartIndex) % le.length],
564
+ color: f.COLOR ? gt(f.COLOR) : Me.value[u + e.value.paletteStartIndex] || ne[u + e.value.paletteStartIndex] || ne[(u + e.value.paletteStartIndex) % ne.length],
565
565
  values: f.values.slice(k.value.start, k.value.end),
566
566
  absoluteValues: f.values,
567
567
  absoluteIndices: f.values.map((p, E) => E).slice(k.value.start, k.value.end)
@@ -570,8 +570,8 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
570
570
  max: Math.max(...l.filter((f) => !w.value.includes(f.id)).flatMap((f) => f.values)),
571
571
  min: Math.min(...l.filter((f) => !w.value.includes(f.id)).flatMap((f) => f.values)),
572
572
  maxSeries: Math.max(...l.map((f) => f.values.length))
573
- }, v = o.max === o.min ? Je(o.min, o.min + 1, e.value.xyScaleSegments) : Je(o.min < 0 ? o.min : 0, o.max < 0 ? 0 : o.max, e.value.xyScaleSegments), b = o.min < 0 ? Math.abs(o.min) : 0, P = o.max < 0 ? t.top : t.bottom - b / (v.max + b) * t.height, I = t.width / o.maxSeries, ie = v.ticks.map((f) => ({
574
- y: t.bottom - t.height * ((f + b) / (v.max + b)),
573
+ }, s = o.max === o.min ? Je(o.min, o.min + 1, e.value.xyScaleSegments) : Je(o.min < 0 ? o.min : 0, o.max < 0 ? 0 : o.max, e.value.xyScaleSegments), b = o.min < 0 ? Math.abs(o.min) : 0, P = o.max < 0 ? t.top : t.bottom - b / (s.max + b) * t.height, I = t.width / o.maxSeries, H = s.ticks.map((f) => ({
574
+ y: t.bottom - t.height * ((f + b) / (s.max + b)),
575
575
  x: t.left - 8,
576
576
  value: f
577
577
  })), fe = l.map((f, u) => ({
@@ -579,7 +579,7 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
579
579
  shape: "circle",
580
580
  coordinates: f.values.map((p, E) => ({
581
581
  x: t.left + I * (E + 1) - I / 2,
582
- y: t.bottom - (p + b) / (v.max + b) * t.height,
582
+ y: t.bottom - (p + b) / (s.max + b) * t.height,
583
583
  value: p
584
584
  }))
585
585
  })).map((f) => {
@@ -591,17 +591,17 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
591
591
  linePath: u.join(" ")
592
592
  };
593
593
  });
594
- function ae(f) {
594
+ function oe(f) {
595
595
  return l.map((u) => ({
596
596
  ...u,
597
597
  value: u.values[f],
598
598
  absoluteIndex: u.absoluteIndices[f]
599
599
  })).filter((u) => !w.value.includes(u.id));
600
600
  }
601
- function X(f, u = "pointer") {
602
- te.value = f, ne.value = f, Y.value = f, ce.value = u;
603
- const p = ae(f);
604
- Te.value = { datapoint: p, seriesIndex: f, config: e.value, dataset: l };
601
+ function j(f, u = "pointer") {
602
+ ae.value = f, le.value = f, Z.value = f, ce.value = u;
603
+ const p = oe(f);
604
+ Ee.value = { datapoint: p, seriesIndex: f, config: e.value, dataset: l };
605
605
  const E = e.value.tooltipCustomFormat;
606
606
  if (e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: p, seriesIndex: f + k.value.start }), et(E) && mt(() => E({
607
607
  datapoint: p,
@@ -609,7 +609,7 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
609
609
  series: l,
610
610
  config: e.value
611
611
  })))
612
- xe.value = E({
612
+ ke.value = E({
613
613
  datapoint: p,
614
614
  seriesIndex: f,
615
615
  series: l,
@@ -617,7 +617,7 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
617
617
  });
618
618
  else {
619
619
  let U = "";
620
- Z.value[p[0].absoluteIndex] && (U += `<div style="border-bottom:1px solid ${e.value.tooltipBorderColor};padding-bottom:6px;margin-bottom:3px;">${Z.value[p[0].absoluteIndex].text}</div>`), p.forEach((V, H) => {
620
+ J.value[p[0].absoluteIndex] && (U += `<div style="border-bottom:1px solid ${e.value.tooltipBorderColor};padding-bottom:6px;margin-bottom:3px;">${J.value[p[0].absoluteIndex].text}</div>`), p.forEach((V, W) => {
621
621
  U += `
622
622
  <div style="display:flex; flex-wrap: wrap; align-items:center; gap:3px;">
623
623
  <svg viewBox="0 0 12 12" height="14" width="12"><circle cx="6" cy="6" r="6" stroke="none" fill="${V.color}"/></svg>
@@ -625,27 +625,27 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
625
625
  <b>${ue(
626
626
  e.value.formatter,
627
627
  V.value,
628
- j({
628
+ G({
629
629
  p: e.value.valuePrefix,
630
630
  v: V.value,
631
631
  s: e.value.valueSuffix,
632
632
  r: e.value.dataLabelRoundingValue
633
633
  }),
634
- { datapoint: V, seriesIndex: H }
634
+ { datapoint: V, seriesIndex: W }
635
635
  )}
636
636
  </b>
637
637
  </div>
638
638
  `;
639
- }), xe.value = U;
639
+ }), ke.value = U;
640
640
  }
641
641
  ve.value = !0;
642
642
  }
643
643
  function h(f) {
644
- const u = ae(f);
645
- e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: u, seriesIndex: f + k.value.start }), te.value = null, ne.value = null, ve.value = !1, Y.value = null, ce.value = "pointer";
644
+ const u = oe(f);
645
+ e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: u, seriesIndex: f + k.value.start }), ae.value = null, le.value = null, ve.value = !1, Z.value = null, ce.value = "pointer";
646
646
  }
647
647
  function T(f) {
648
- const u = ae(f);
648
+ const u = oe(f);
649
649
  e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: u, seriesIndex: f + k.value.start }), re("selectDatapoint", u);
650
650
  }
651
651
  return {
@@ -655,12 +655,12 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
655
655
  drawingArea: t,
656
656
  extremes: o,
657
657
  slotSize: I,
658
- yLabels: ie,
659
- useTooltip: X,
658
+ yLabels: H,
659
+ useTooltip: j,
660
660
  killTooltip: h,
661
661
  selectDatapoint: T
662
662
  };
663
- }), s = M(() => {
663
+ }), v = M(() => {
664
664
  if (x.value !== y.BAR) return null;
665
665
  const a = {
666
666
  height: _.value.height,
@@ -686,7 +686,7 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
686
686
  absoluteValues: A.value.dataset,
687
687
  absoluteIndices: A.value.dataset.map((u, p) => p).slice(k.value.start, k.value.end),
688
688
  name: e.value.title,
689
- color: Ie.value[e.value.paletteStartIndex] || le[e.value.paletteStartIndex],
689
+ color: Me.value[e.value.paletteStartIndex] || ne[e.value.paletteStartIndex],
690
690
  id: "bar_0"
691
691
  }
692
692
  ]), tt(A.value.dataset) && (l = A.value.dataset.map((u, p) => ({
@@ -696,7 +696,7 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
696
696
  id: `bar_${p}`
697
697
  })).map((u, p) => ({
698
698
  ...u,
699
- color: u.COLOR ? gt(u.COLOR) : Ie.value[p + e.value.paletteStartIndex] || le[p + e.value.paletteStartIndex] || le[(p + e.value.paletteStartIndex) % le.length],
699
+ color: u.COLOR ? gt(u.COLOR) : Me.value[p + e.value.paletteStartIndex] || ne[p + e.value.paletteStartIndex] || ne[(p + e.value.paletteStartIndex) % ne.length],
700
700
  values: u.values.slice(k.value.start, k.value.end),
701
701
  absoluteValues: u.values,
702
702
  absoluteIndices: u.values.map((E, U) => U).slice(k.value.start, k.value.end)
@@ -705,37 +705,37 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
705
705
  max: Math.max(...l.filter((u) => !w.value.includes(u.id)).flatMap((u) => u.values)) < 0 ? 0 : Math.max(...l.filter((u) => !w.value.includes(u.id)).flatMap((u) => u.values)) ?? 1,
706
706
  min: Math.min(...l.filter((u) => !w.value.includes(u.id)).flatMap((u) => u.values)) ?? 0,
707
707
  maxSeries: Math.max(...l.filter((u) => !w.value.includes(u.id)).map((u) => u.values.length)) ?? 0
708
- }, v = o.min === o.max ? Je(o.min, o.min + 1, e.value.xyScaleSegments) : Je(o.min < 0 ? o.min : 0, o.max, e.value.xyScaleSegments), b = v.min < 0 ? Math.abs(v.min) : 0, P = t.bottom - b / (v.max + b) * t.height, I = t.width / o.maxSeries, ie = v.ticks.map((u) => ({
709
- y: t.bottom - t.height * ((u + b) / (v.max + b)),
708
+ }, s = o.min === o.max ? Je(o.min, o.min + 1, e.value.xyScaleSegments) : Je(o.min < 0 ? o.min : 0, o.max, e.value.xyScaleSegments), b = s.min < 0 ? Math.abs(s.min) : 0, P = t.bottom - b / (s.max + b) * t.height, I = t.width / o.maxSeries, H = s.ticks.map((u) => ({
709
+ y: t.bottom - t.height * ((u + b) / (s.max + b)),
710
710
  x: t.left - 8,
711
711
  value: u
712
712
  })), fe = l.map((u, p) => ({
713
713
  ...u,
714
714
  shape: "square",
715
715
  coordinates: u.values.map((E, U) => {
716
- const V = (E + b) / (o.max + b) * t.height, H = Math.abs(E) / Math.abs(o.min) * (t.height - P), Ne = b / (o.max + b) * t.height, Be = I / l.filter((be) => !w.value.includes(be.id)).length - e.value.barGap / l.filter((be) => !w.value.includes(be.id)).length;
716
+ const V = (E + b) / (o.max + b) * t.height, W = Math.abs(E) / Math.abs(o.min) * (t.height - P), Ne = b / (o.max + b) * t.height, Be = I / l.filter((Se) => !w.value.includes(Se.id)).length - e.value.barGap / l.filter((Se) => !w.value.includes(Se.id)).length;
717
717
  return {
718
718
  x: t.left + I * U + Be * p + e.value.barGap / 2,
719
719
  y: E > 0 ? t.bottom - V : P,
720
- height: E > 0 ? V - Ne : H,
720
+ height: E > 0 ? V - Ne : W,
721
721
  value: E,
722
722
  width: Be
723
723
  };
724
724
  })
725
- })), ae = l.filter((u) => !w.value.includes(u.id)).map((u, p) => ({
725
+ })), oe = l.filter((u) => !w.value.includes(u.id)).map((u, p) => ({
726
726
  ...u,
727
727
  coordinates: u.values.map((E, U) => {
728
- const V = (E + b) / (o.max + b) * t.height, H = Math.abs(E) / (o.max + b) * t.height, Ne = b / (o.max + b) * t.height, Be = I / l.filter((be) => !w.value.includes(be.id)).length - e.value.barGap / l.filter((be) => !w.value.includes(be.id)).length;
728
+ const V = (E + b) / (o.max + b) * t.height, W = Math.abs(E) / (o.max + b) * t.height, Ne = b / (o.max + b) * t.height, Be = I / l.filter((Se) => !w.value.includes(Se.id)).length - e.value.barGap / l.filter((Se) => !w.value.includes(Se.id)).length;
729
729
  return {
730
730
  x: t.left + I * U + Be * p + e.value.barGap / 2,
731
731
  y: E > 0 ? t.bottom - V : P,
732
- height: E > 0 ? V - Ne : H,
732
+ height: E > 0 ? V - Ne : W,
733
733
  value: E,
734
734
  width: Be
735
735
  };
736
736
  })
737
737
  }));
738
- function X(u) {
738
+ function j(u) {
739
739
  return l.map((p) => ({
740
740
  ...p,
741
741
  value: p.values[u],
@@ -743,9 +743,9 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
743
743
  })).filter((p) => !w.value.includes(p.id));
744
744
  }
745
745
  function h(u, p = "pointer") {
746
- te.value = u, ne.value = u, Y.value = u, ce.value = p;
747
- const E = X(u);
748
- Te.value = { datapoint: E, seriesIndex: u, config: e.value, dataset: l };
746
+ ae.value = u, le.value = u, Z.value = u, ce.value = p;
747
+ const E = j(u);
748
+ Ee.value = { datapoint: E, seriesIndex: u, config: e.value, dataset: l };
749
749
  const U = e.value.tooltipCustomFormat;
750
750
  if (e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: E, seriesIndex: u + k.value.start }), et(U) && mt(() => U({
751
751
  datapoint: E,
@@ -753,7 +753,7 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
753
753
  series: l,
754
754
  config: e.value
755
755
  })))
756
- xe.value = U({
756
+ ke.value = U({
757
757
  point: E,
758
758
  seriesIndex: u,
759
759
  series: l,
@@ -761,46 +761,46 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
761
761
  });
762
762
  else {
763
763
  let V = "";
764
- Z.value[E[0].absoluteIndex] && (V += `<div style="border-bottom:1px solid ${e.value.tooltipBorderColor};padding-bottom:6px;margin-bottom:3px;">${Z.value[E[0].absoluteIndex].text}</div>`), E.forEach((H, Ne) => {
764
+ J.value[E[0].absoluteIndex] && (V += `<div style="border-bottom:1px solid ${e.value.tooltipBorderColor};padding-bottom:6px;margin-bottom:3px;">${J.value[E[0].absoluteIndex].text}</div>`), E.forEach((W, Ne) => {
765
765
  V += `
766
766
  <div style="display:flex; flex-wrap: wrap; align-items:center; gap:3px;">
767
- <svg viewBox="0 0 12 12" height="14" width="12"><rect x=0 y="0" width="12" height="12" rx="1" stroke="none" fill="${H.color}"/></svg>
768
- <span>${H.name}:</span>
767
+ <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>
768
+ <span>${W.name}:</span>
769
769
  <b>${ue(
770
770
  e.value.formatter,
771
- H.value,
772
- j({
771
+ W.value,
772
+ G({
773
773
  p: e.value.valuePrefix,
774
- v: H.value,
774
+ v: W.value,
775
775
  s: e.value.valueSuffix,
776
776
  r: e.value.dataLabelRoundingValue
777
777
  }),
778
- { datapoint: H, seriesIndex: Ne }
778
+ { datapoint: W, seriesIndex: Ne }
779
779
  )}
780
780
  </b>
781
781
  </div>
782
782
  `;
783
- }), xe.value = V;
783
+ }), ke.value = V;
784
784
  }
785
785
  ve.value = !0;
786
786
  }
787
787
  function T(u) {
788
- const p = X(u);
789
- e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: p, seriesIndex: u + k.value.start }), ve.value = !1, te.value = null, ne.value = null, Y.value = null, ce.value = "pointer";
788
+ const p = j(u);
789
+ e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: p, seriesIndex: u + k.value.start }), ve.value = !1, ae.value = null, le.value = null, Z.value = null, ce.value = "pointer";
790
790
  }
791
791
  function f(u) {
792
- const p = X(u);
792
+ const p = j(u);
793
793
  e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: p, seriesIndex: u + k.value.start }), re("selectDatapoint", p);
794
794
  }
795
795
  return {
796
796
  absoluteZero: P,
797
- dataset: ae.filter((u) => !w.value.includes(u.id)),
798
- absoluteDataset: ae,
797
+ dataset: oe.filter((u) => !w.value.includes(u.id)),
798
+ absoluteDataset: oe,
799
799
  legend: fe,
800
800
  drawingArea: t,
801
801
  extremes: o,
802
802
  slotSize: I,
803
- yLabels: ie,
803
+ yLabels: H,
804
804
  useTooltip: h,
805
805
  killTooltip: T,
806
806
  selectDatapoint: f
@@ -834,13 +834,13 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
834
834
  const I = t[P].x - t[P - 1].x;
835
835
  I > 0 && I < l && (l = I);
836
836
  }
837
- const o = (l === 1 / 0 ? 1 : l) / 2, v = [];
837
+ const o = (l === 1 / 0 ? 1 : l) / 2, s = [];
838
838
  let b = { x: t[0].x, items: [t[0].el] };
839
839
  for (let P = 1; P < t.length; P++) {
840
- const { x: I, el: ie } = t[P];
841
- Math.abs(I - b.x) <= o ? b.items.push(ie) : (v.push(b), b = { x: I, items: [ie] });
840
+ const { x: I, el: H } = t[P];
841
+ Math.abs(I - b.x) <= o ? b.items.push(H) : (s.push(b), b = { x: I, items: [H] });
842
842
  }
843
- return v.push(b), v;
843
+ return s.push(b), s;
844
844
  }
845
845
  function Sa({
846
846
  pathDuration: a,
@@ -848,27 +848,27 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
848
848
  pointDuration: t,
849
849
  labelDuration: l,
850
850
  pointDelay: o = 0,
851
- labelDelay: v = 0,
851
+ labelDelay: s = 0,
852
852
  pointStep: b = 0,
853
853
  labelStep: P = 0,
854
854
  intraSeriesStep: I = 0
855
855
  } = {}) {
856
- const ie = Array.isArray(Ee?.value) ? Ee.value : [Ee?.value].filter(Boolean), fe = Array.isArray(Pe?.value) ? Pe.value : [Pe?.value].filter(Boolean), ae = [...ie, ...fe].filter(Boolean), X = se?.value || null, h = X ? Array.from(X.querySelectorAll(".vue-ui-quick-chart-plot")) : [], T = X ? Array.from(X.querySelectorAll(".vue-ui-quick-chart-label")) : [];
857
- ae.forEach(xa), qt(h, { fromOpacity: "0", fromScale: "0.75" }), qt(T, { fromOpacity: "0", fromScale: "0.98" }), h.forEach((p) => p.classList.remove("quick-animation")), T.forEach((p) => p.classList.remove("quick-animation")), X && X.offsetWidth;
856
+ const H = Array.isArray(Pe?.value) ? Pe.value : [Pe?.value].filter(Boolean), fe = Array.isArray(Ie?.value) ? Ie.value : [Ie?.value].filter(Boolean), oe = [...H, ...fe].filter(Boolean), j = se?.value || null, h = j ? Array.from(j.querySelectorAll(".vue-ui-quick-chart-plot")) : [], T = j ? Array.from(j.querySelectorAll(".vue-ui-quick-chart-label")) : [];
857
+ oe.forEach(xa), qt(h, { fromOpacity: "0", fromScale: "0.75" }), qt(T, { fromOpacity: "0", fromScale: "0.98" }), h.forEach((p) => p.classList.remove("quick-animation")), T.forEach((p) => p.classList.remove("quick-animation")), j && j.offsetWidth;
858
858
  const f = h.length ? Ht(h, ka) : [], u = T.length ? Ht(T, ba) : [];
859
859
  requestAnimationFrame(() => {
860
860
  requestAnimationFrame(() => {
861
- ae.forEach((p) => {
861
+ oe.forEach((p) => {
862
862
  p.style.transition = `stroke-dashoffset ${a}ms ${r}`, p.style.strokeDashoffset = "0";
863
863
  }), f.forEach((p, E) => {
864
864
  p.items.forEach((U, V) => {
865
- const H = o + E * b + V * I;
866
- U.style.transition = `opacity ${t}ms ease-out ${H}ms, transform ${t}ms ease-out ${H}ms`, U.style.opacity = "1", U.style.transform = "scale(1)";
865
+ const W = o + E * b + V * I;
866
+ U.style.transition = `opacity ${t}ms ease-out ${W}ms, transform ${t}ms ease-out ${W}ms`, U.style.opacity = "1", U.style.transform = "scale(1)";
867
867
  });
868
868
  }), u.forEach((p, E) => {
869
869
  p.items.forEach((U, V) => {
870
- const H = v + E * P + V * I;
871
- U.style.transition = `opacity ${l}ms ease-out ${H}ms, transform ${l}ms ease-out ${H}ms`, U.style.opacity = "1", U.style.transform = "scale(1)";
870
+ const W = s + E * P + V * I;
871
+ U.style.transition = `opacity ${l}ms ease-out ${W}ms, transform ${l}ms ease-out ${W}ms`, U.style.opacity = "1", U.style.transform = "scale(1)";
872
872
  });
873
873
  });
874
874
  });
@@ -883,13 +883,13 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
883
883
  series: a.absoluteValues
884
884
  }));
885
885
  if (x.value === y.BAR)
886
- return s.value.legend.map((a) => (Math.min(...a.absoluteValues.map((r) => r ?? 0)), {
886
+ return v.value.legend.map((a) => (Math.min(...a.absoluteValues.map((r) => r ?? 0)), {
887
887
  ...a,
888
888
  isVisible: !w.value.includes(a.id),
889
889
  type: "bar",
890
890
  series: a.absoluteValues
891
891
  }));
892
- }), Z = L([]);
892
+ }), J = L([]);
893
893
  let Wt = 0;
894
894
  Jt(() => {
895
895
  const a = ++Wt;
@@ -901,29 +901,29 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
901
901
  start: k.value.start,
902
902
  end: k.value.end
903
903
  });
904
- a === Wt && (Z.value = r);
904
+ a === Wt && (J.value = r);
905
905
  })();
906
906
  });
907
- const _e = M(() => {
907
+ const Ce = M(() => {
908
908
  const a = e.value.xyPeriodsModulo;
909
- return e.value.xyPeriods.length ? Math.min(a, [...new Set(Z.value.map((r) => r.text))].length) : a;
909
+ return e.value.xyPeriods.length ? Math.min(a, [...new Set(J.value.map((r) => r.text))].length) : a;
910
910
  }), Ze = L(!1);
911
911
  function Xt(a) {
912
912
  Ze.value = a, At.value += 1;
913
913
  }
914
914
  function jt() {
915
- Ae.value.showTooltip = !Ae.value.showTooltip;
915
+ Le.value.showTooltip = !Le.value.showTooltip;
916
916
  }
917
- const Oe = L(!1);
917
+ const Fe = L(!1);
918
918
  function st() {
919
- Oe.value = !Oe.value;
919
+ Fe.value = !Fe.value;
920
920
  }
921
921
  async function Aa({ scale: a = 2 } = {}) {
922
922
  if (!se.value) return;
923
- const { width: r, height: t } = se.value.getBoundingClientRect(), l = r / t, { imageUri: o, base64: v } = await nl({ domElement: se.value, base64: !0, img: !0, scale: a });
923
+ const { width: r, height: t } = se.value.getBoundingClientRect(), l = r / t, { imageUri: o, base64: s } = await nl({ domElement: se.value, base64: !0, img: !0, scale: a });
924
924
  return {
925
925
  imageUri: o,
926
- base64: v,
926
+ base64: s,
927
927
  title: e.value.title,
928
928
  width: r,
929
929
  height: t,
@@ -933,7 +933,7 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
933
933
  const La = M(() => _.value.width), _a = M(() => _.value.height);
934
934
  ol({
935
935
  timeLabelsEls: de,
936
- timeLabels: Z,
936
+ timeLabels: J,
937
937
  slicer: k,
938
938
  configRef: e,
939
939
  rotationPath: ["xyPeriodLabelsRotation"],
@@ -943,7 +943,7 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
943
943
  height: _a.value,
944
944
  width: La.value
945
945
  });
946
- const Ca = M(() => e.value.backgroundColor), za = M(() => x.value === y.DONUT ? C.value.legend : x.value === y.LINE ? d.value.legend : s.value.legend), $a = M(() => ({
946
+ const Ca = M(() => e.value.backgroundColor), za = M(() => x.value === y.DONUT ? C.value.legend : x.value === y.LINE ? d.value.legend : v.value.legend), $a = M(() => ({
947
947
  show: e.value.showLegend,
948
948
  bold: !1,
949
949
  backgroundColor: e.value.backgroundColor,
@@ -960,7 +960,7 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
960
960
  text: ""
961
961
  }
962
962
  })), { exportSvg: Ea, getSvg: Pa } = el({
963
- svg: ke,
963
+ svg: be,
964
964
  title: Ta,
965
965
  legend: $a,
966
966
  legendItems: za,
@@ -978,7 +978,7 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
978
978
  config: e.value,
979
979
  dataset: {
980
980
  line: d.value,
981
- bar: s.value,
981
+ bar: v.value,
982
982
  donut: C.value
983
983
  }
984
984
  }), !e.value.userOptionsCallbacks.altCopy) {
@@ -989,7 +989,7 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
989
989
  config: e.value,
990
990
  dataset: {
991
991
  line: d.value,
992
- bar: s.value,
992
+ bar: v.value,
993
993
  donut: C.value
994
994
  }
995
995
  }));
@@ -997,75 +997,76 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
997
997
  function vt(a, r) {
998
998
  (a.key === "Enter" || a.key === " ") && (a.preventDefault(), r());
999
999
  }
1000
- const Fe = M(() => x.value === y.DONUT ? C.value?.chart?.length ?? 0 : x.value === y.LINE ? d.value?.extremes?.maxSeries ?? 0 : x.value === y.BAR ? s.value?.extremes?.maxSeries ?? 0 : 0);
1000
+ const ye = M(() => x.value === y.DONUT ? C.value?.chart?.length ?? 0 : x.value === y.LINE ? d.value?.extremes?.maxSeries ?? 0 : x.value === y.BAR ? v.value?.extremes?.maxSeries ?? 0 : 0);
1001
1001
  function Ia() {
1002
- Y.value = null, nt.value = !0;
1002
+ Z.value = null, nt.value = !0;
1003
1003
  }
1004
1004
  function Ma() {
1005
- Y.value = null, ce.value = "pointer", ve.value = !1, te.value = null, ne.value = null, nt.value = !1;
1005
+ Z.value = null, ce.value = "pointer", ve.value = !1, ae.value = null, le.value = null, nt.value = !1;
1006
1006
  }
1007
1007
  function Ra(a) {
1008
- if (!ke.value || Oe.value || document.activeElement !== ke.value || !Fe.value) return;
1008
+ if (!be.value || Fe.value || document.activeElement !== be.value || !ye.value) return;
1009
1009
  const r = a.key === "ArrowLeft", t = a.key === "ArrowRight", l = a.key === "Enter" || a.key === " ", o = a.key === "Escape";
1010
1010
  if (!r && !t && !l && !o) return;
1011
1011
  if (a.preventDefault(), a.stopPropagation(), o) {
1012
- Y.value = null, ce.value = "pointer", ve.value = !1, te.value = null, ne.value = null;
1012
+ Z.value = null, ce.value = "pointer", ve.value = !1, ae.value = null, le.value = null;
1013
1013
  return;
1014
1014
  }
1015
1015
  if (l) {
1016
- if (Y.value === null) return;
1016
+ if (Z.value === null) return;
1017
1017
  if (x.value === y.DONUT) {
1018
- const b = C.value?.chart?.[Y.value];
1019
- if (!b) return;
1020
- C.value.selectDatapoint({ datapoint: b, seriesIndex: Y.value });
1018
+ const H = C.value?.chart?.[Z.value];
1019
+ if (!H) return;
1020
+ C.value.selectDatapoint({ datapoint: H, seriesIndex: Z.value });
1021
1021
  return;
1022
1022
  }
1023
1023
  if (x.value === y.LINE) {
1024
- d.value?.selectDatapoint(Y.value);
1024
+ d.value?.selectDatapoint(Z.value);
1025
1025
  return;
1026
1026
  }
1027
1027
  if (x.value === y.BAR) {
1028
- s.value?.selectDatapoint(Y.value);
1028
+ v.value?.selectDatapoint(Z.value);
1029
1029
  return;
1030
1030
  }
1031
1031
  return;
1032
1032
  }
1033
- let v = Y.value;
1034
- if (v === null || v < 0 || v >= Fe.value ? v = t ? 0 : Fe.value - 1 : t ? (v += 1, v >= Fe.value && (v = 0)) : r && (v -= 1, v < 0 && (v = Fe.value - 1)), x.value === y.DONUT) {
1035
- const b = C.value?.chart?.[v];
1036
- if (!b) return;
1037
- dt(v), C.value.useTooltip({
1038
- datapoint: b,
1039
- seriesIndex: v,
1033
+ let s = Z.value;
1034
+ const b = le.value, P = s !== null && s >= 0 && s < ye.value, I = b !== null && b >= 0 && b < ye.value;
1035
+ if (P ? t ? (s += 1, s >= ye.value && (s = 0)) : r && (s -= 1, s < 0 && (s = ye.value - 1)) : I ? (s = t ? b + 1 : b - 1, s >= ye.value && (s = 0), s < 0 && (s = ye.value - 1)) : t ? s = 0 : s = ye.value - 1, x.value === y.DONUT) {
1036
+ const H = C.value?.chart?.[s];
1037
+ if (!H) return;
1038
+ dt(s), C.value.useTooltip({
1039
+ datapoint: H,
1040
+ seriesIndex: s,
1040
1041
  triggerMode: "keyboard"
1041
1042
  });
1042
1043
  return;
1043
1044
  }
1044
1045
  if (x.value === y.LINE) {
1045
- dt(v), d.value?.useTooltip(v, "keyboard");
1046
+ dt(s), d.value?.useTooltip(s, "keyboard");
1046
1047
  return;
1047
1048
  }
1048
- x.value === y.BAR && (dt(v), s.value?.useTooltip(v, "keyboard"));
1049
+ x.value === y.BAR && (dt(s), v.value?.useTooltip(s, "keyboard"));
1049
1050
  }
1050
1051
  function dt(a) {
1051
- if (!Number.isFinite(a) || !ke.value) return;
1052
+ if (!Number.isFinite(a) || !be.value) return;
1052
1053
  let r = 0, t = 0;
1053
1054
  if (x.value === y.DONUT) {
1054
1055
  const o = C.value?.chart?.[a];
1055
1056
  if (!o) return;
1056
- r = ze(o, !0).x, t = Qe(o);
1057
+ r = $e(o, !0).x, t = Qe(o);
1057
1058
  }
1058
1059
  if (x.value === y.LINE) {
1059
- const o = d.value?.drawingArea, v = d.value?.slotSize;
1060
- if (!o || !v) return;
1061
- r = o.left + v * (a + 1) - v / 2, t = o.top + o.height / 2;
1060
+ const o = d.value?.drawingArea, s = d.value?.slotSize;
1061
+ if (!o || !s) return;
1062
+ r = o.left + s * (a + 1) - s / 2, t = o.top + o.height / 2;
1062
1063
  }
1063
1064
  if (x.value === y.BAR) {
1064
- const o = s.value?.drawingArea, v = s.value?.slotSize;
1065
- if (!o || !v) return;
1066
- r = o.left + v * (a + 1) - v / 2, t = o.top + o.height / 2;
1065
+ const o = v.value?.drawingArea, s = v.value?.slotSize;
1066
+ if (!o || !s) return;
1067
+ r = o.left + s * (a + 1) - s / 2, t = o.top + o.height / 2;
1067
1068
  }
1068
- const l = ke.value.getBoundingClientRect();
1069
+ const l = be.value.getBoundingClientRect();
1069
1070
  zt.value = {
1070
1071
  x: l.left + r / _.value.width * l.width,
1071
1072
  y: l.top + t / _.value.height * l.height
@@ -1074,7 +1075,7 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
1074
1075
  const ct = M(() => {
1075
1076
  if (x.value === y.DONUT) {
1076
1077
  const a = (C.value?.dataset ?? []).map((r) => {
1077
- const t = C.value?.total ? j({
1078
+ const t = C.value?.total ? G({
1078
1079
  v: r.value / C.value.total * 100,
1079
1080
  s: "%",
1080
1081
  r: e.value.dataLabelRoundingPercentage
@@ -1084,7 +1085,7 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
1084
1085
  ue(
1085
1086
  e.value.formatter,
1086
1087
  r.value,
1087
- j({
1088
+ G({
1088
1089
  p: e.value.valuePrefix,
1089
1090
  v: r.value,
1090
1091
  s: e.value.valueSuffix,
@@ -1100,17 +1101,17 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
1100
1101
  };
1101
1102
  }
1102
1103
  if (x.value === y.LINE || x.value === y.BAR) {
1103
- const a = x.value === y.LINE ? d.value?.dataset ?? [] : s.value?.dataset ?? [], r = x.value === y.LINE ? d.value?.extremes?.maxSeries ?? 0 : s.value?.extremes?.maxSeries ?? 0, t = [
1104
+ const a = x.value === y.LINE ? d.value?.dataset ?? [] : v.value?.dataset ?? [], r = x.value === y.LINE ? d.value?.extremes?.maxSeries ?? 0 : v.value?.extremes?.maxSeries ?? 0, t = [
1104
1105
  "Index",
1105
1106
  ...a.map((o) => o.name)
1106
- ], l = Array.from({ length: r }, (o, v) => [
1107
- Z.value?.[v + k.value.start]?.text ?? String(v + k.value.start),
1107
+ ], l = Array.from({ length: r }, (o, s) => [
1108
+ J.value?.[s + k.value.start]?.text ?? String(s + k.value.start),
1108
1109
  ...a.map((P) => {
1109
- const I = P.values?.[v];
1110
+ const I = P.values?.[s];
1110
1111
  return ue(
1111
1112
  e.value.formatter,
1112
1113
  I,
1113
- j({
1114
+ G({
1114
1115
  p: e.value.valuePrefix,
1115
1116
  v: I,
1116
1117
  s: e.value.valueSuffix,
@@ -1137,54 +1138,54 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
1137
1138
  copyAlt: Kt
1138
1139
  }), (a, r) => va.value ? (n(), i("div", {
1139
1140
  key: 0,
1140
- id: `${x.value}_${K.value}`,
1141
+ id: `${x.value}_${Y.value}`,
1141
1142
  ref_key: "quickChart",
1142
1143
  ref: se,
1143
- class: ye({ "vue-data-ui-component": !0, "vue-ui-quick-chart": !0, "vue-data-ui-wrapper-fullscreen": Ze.value }),
1144
+ class: xe({ "vue-data-ui-component": !0, "vue-ui-quick-chart": !0, "vue-data-ui-wrapper-fullscreen": Ze.value }),
1144
1145
  style: N(`background:${e.value.backgroundColor};color:${e.value.color};font-family:${e.value.fontFamily}; position: relative; ${e.value.responsive ? "height: 100%" : ""}`),
1145
1146
  onMouseenter: r[2] || (r[2] = () => Et(!0)),
1146
1147
  onMouseleave: r[3] || (r[3] = () => Et(!1))
1147
1148
  }, [
1148
1149
  $("div", {
1149
- id: `chart-instructions-${K.value}`,
1150
+ id: `chart-instructions-${Y.value}`,
1150
1151
  class: "sr-only"
1151
1152
  }, [
1152
1153
  $("p", null, B(e.value.a11y.translations.keyboardNavigation), 1)
1153
1154
  ], 8, yl),
1154
- ct.value.rows.length ? (n(), Se(rl, {
1155
+ ct.value.rows.length ? (n(), we(rl, {
1155
1156
  key: 0,
1156
- uid: K.value,
1157
+ uid: Y.value,
1157
1158
  head: ct.value.headers,
1158
1159
  body: ct.value.rows,
1159
1160
  notice: e.value.a11y.translations.tableAvailable,
1160
1161
  caption: e.value.a11y.translations.tableCaption
1161
1162
  }, null, 8, ["uid", "head", "body", "notice", "caption"])) : g("", !0),
1162
- e.value.userOptionsButtons.annotator ? (n(), Se(c(me), {
1163
+ e.value.userOptionsButtons.annotator ? (n(), we(c(me), {
1163
1164
  key: 1,
1164
- svgRef: c(ke),
1165
+ svgRef: c(be),
1165
1166
  backgroundColor: e.value.backgroundColor,
1166
1167
  color: e.value.color,
1167
- active: Oe.value,
1168
- isCursorPointer: we.value,
1168
+ active: Fe.value,
1169
+ isCursorPointer: Ae.value,
1169
1170
  onClose: st
1170
1171
  }, {
1171
- "annotator-action-close": W(() => [
1172
+ "annotator-action-close": X(() => [
1172
1173
  R(a.$slots, "annotator-action-close", {}, void 0, !0)
1173
1174
  ]),
1174
- "annotator-action-color": W(({ color: t }) => [
1175
- R(a.$slots, "annotator-action-color", J(Q({ color: t })), void 0, !0)
1175
+ "annotator-action-color": X(({ color: t }) => [
1176
+ R(a.$slots, "annotator-action-color", Q(ee({ color: t })), void 0, !0)
1176
1177
  ]),
1177
- "annotator-action-draw": W(({ mode: t }) => [
1178
- R(a.$slots, "annotator-action-draw", J(Q({ mode: t })), void 0, !0)
1178
+ "annotator-action-draw": X(({ mode: t }) => [
1179
+ R(a.$slots, "annotator-action-draw", Q(ee({ mode: t })), void 0, !0)
1179
1180
  ]),
1180
- "annotator-action-undo": W(({ disabled: t }) => [
1181
- R(a.$slots, "annotator-action-undo", J(Q({ disabled: t })), void 0, !0)
1181
+ "annotator-action-undo": X(({ disabled: t }) => [
1182
+ R(a.$slots, "annotator-action-undo", Q(ee({ disabled: t })), void 0, !0)
1182
1183
  ]),
1183
- "annotator-action-redo": W(({ disabled: t }) => [
1184
- R(a.$slots, "annotator-action-redo", J(Q({ disabled: t })), void 0, !0)
1184
+ "annotator-action-redo": X(({ disabled: t }) => [
1185
+ R(a.$slots, "annotator-action-redo", Q(ee({ disabled: t })), void 0, !0)
1185
1186
  ]),
1186
- "annotator-action-delete": W(({ disabled: t }) => [
1187
- R(a.$slots, "annotator-action-delete", J(Q({ disabled: t })), void 0, !0)
1187
+ "annotator-action-delete": X(({ disabled: t }) => [
1188
+ R(a.$slots, "annotator-action-delete", Q(ee({ disabled: t })), void 0, !0)
1188
1189
  ]),
1189
1190
  _: 3
1190
1191
  }, 8, ["svgRef", "backgroundColor", "color", "active", "isCursorPointer"])) : g("", !0),
@@ -1195,14 +1196,14 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
1195
1196
  class: "vue-data-ui-no-title-space",
1196
1197
  style: "height:36px; width: 100%;background:transparent"
1197
1198
  }, null, 512)) : g("", !0),
1198
- e.value.showUserOptions && (Tt.value || We.value) ? (n(), Se(c(yt), {
1199
+ e.value.showUserOptions && (Tt.value || We.value) ? (n(), we(c(yt), {
1199
1200
  ref: "details",
1200
1201
  key: `user_option_${At.value}`,
1201
1202
  backgroundColor: e.value.backgroundColor,
1202
1203
  color: e.value.color,
1203
1204
  isPrinting: c(Xe),
1204
1205
  isImaging: c(je),
1205
- uid: K.value,
1206
+ uid: Y.value,
1206
1207
  hasTooltip: e.value.userOptionsButtons.tooltip && e.value.showTooltip,
1207
1208
  hasPdf: e.value.userOptionsButtons.pdf,
1208
1209
  hasImg: e.value.userOptionsButtons.img,
@@ -1210,16 +1211,16 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
1210
1211
  hasFullscreen: e.value.userOptionsButtons.fullscreen,
1211
1212
  hasAltCopy: e.value.userOptionsButtons.altCopy,
1212
1213
  hasXls: !1,
1213
- isTooltip: Ae.value.showTooltip,
1214
+ isTooltip: Le.value.showTooltip,
1214
1215
  isFullscreen: Ze.value,
1215
1216
  titles: { ...e.value.userOptionsButtonTitles },
1216
1217
  chartElement: se.value,
1217
1218
  position: e.value.userOptionsPosition,
1218
1219
  hasAnnotator: e.value.userOptionsButtons.annotator,
1219
- isAnnotation: Oe.value,
1220
+ isAnnotation: Fe.value,
1220
1221
  callbacks: e.value.userOptionsCallbacks,
1221
1222
  printScale: e.value.userOptionsPrint.scale,
1222
- isCursorPointer: we.value,
1223
+ isCursorPointer: Ae.value,
1223
1224
  onToggleFullscreen: Xt,
1224
1225
  onGeneratePdf: c(Pt),
1225
1226
  onGenerateImage: c(It),
@@ -1233,57 +1234,57 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
1233
1234
  }, Na({ _: 2 }, [
1234
1235
  a.$slots.menuIcon ? {
1235
1236
  name: "menuIcon",
1236
- fn: W(({ isOpen: t, color: l }) => [
1237
- R(a.$slots, "menuIcon", J(Q({ isOpen: t, color: l })), void 0, !0)
1237
+ fn: X(({ isOpen: t, color: l }) => [
1238
+ R(a.$slots, "menuIcon", Q(ee({ isOpen: t, color: l })), void 0, !0)
1238
1239
  ]),
1239
1240
  key: "0"
1240
1241
  } : void 0,
1241
1242
  a.$slots.optionTooltip ? {
1242
1243
  name: "optionTooltip",
1243
- fn: W(() => [
1244
+ fn: X(() => [
1244
1245
  R(a.$slots, "optionTooltip", {}, void 0, !0)
1245
1246
  ]),
1246
1247
  key: "1"
1247
1248
  } : void 0,
1248
1249
  a.$slots.optionPdf ? {
1249
1250
  name: "optionPdf",
1250
- fn: W(() => [
1251
+ fn: X(() => [
1251
1252
  R(a.$slots, "optionPdf", {}, void 0, !0)
1252
1253
  ]),
1253
1254
  key: "2"
1254
1255
  } : void 0,
1255
1256
  a.$slots.optionImg ? {
1256
1257
  name: "optionImg",
1257
- fn: W(() => [
1258
+ fn: X(() => [
1258
1259
  R(a.$slots, "optionImg", {}, void 0, !0)
1259
1260
  ]),
1260
1261
  key: "3"
1261
1262
  } : void 0,
1262
1263
  a.$slots.optionSvg ? {
1263
1264
  name: "optionSvg",
1264
- fn: W(() => [
1265
+ fn: X(() => [
1265
1266
  R(a.$slots, "optionSvg", {}, void 0, !0)
1266
1267
  ]),
1267
1268
  key: "4"
1268
1269
  } : void 0,
1269
1270
  a.$slots.optionFullscreen ? {
1270
1271
  name: "optionFullscreen",
1271
- fn: W(({ toggleFullscreen: t, isFullscreen: l }) => [
1272
- R(a.$slots, "optionFullscreen", J(Q({ toggleFullscreen: t, isFullscreen: l })), void 0, !0)
1272
+ fn: X(({ toggleFullscreen: t, isFullscreen: l }) => [
1273
+ R(a.$slots, "optionFullscreen", Q(ee({ toggleFullscreen: t, isFullscreen: l })), void 0, !0)
1273
1274
  ]),
1274
1275
  key: "5"
1275
1276
  } : void 0,
1276
1277
  a.$slots.optionAnnotator ? {
1277
1278
  name: "optionAnnotator",
1278
- fn: W(({ toggleAnnotator: t, isAnnotator: l }) => [
1279
- R(a.$slots, "optionAnnotator", J(Q({ toggleAnnotator: t, isAnnotator: l })), void 0, !0)
1279
+ fn: X(({ toggleAnnotator: t, isAnnotator: l }) => [
1280
+ R(a.$slots, "optionAnnotator", Q(ee({ toggleAnnotator: t, isAnnotator: l })), void 0, !0)
1280
1281
  ]),
1281
1282
  key: "6"
1282
1283
  } : void 0,
1283
1284
  a.$slots.optionAltCopy ? {
1284
1285
  name: "optionAltCopy",
1285
- fn: W(({ altCopy: t }) => [
1286
- R(a.$slots, "optionAltCopy", J(Q({ altCopy: t })), void 0, !0)
1286
+ fn: X(({ altCopy: t }) => [
1287
+ R(a.$slots, "optionAltCopy", Q(ee({ altCopy: t })), void 0, !0)
1287
1288
  ]),
1288
1289
  key: "7"
1289
1290
  } : void 0
@@ -1296,15 +1297,15 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
1296
1297
  style: N(`background:transparent;color:${e.value.color};font-size:${e.value.titleFontSize}px;font-weight:${e.value.titleBold ? "bold" : "normal"};text-align:${e.value.titleTextAlign}`)
1297
1298
  }, B(e.value.title), 5)) : g("", !0),
1298
1299
  $("div", {
1299
- id: `legend-top-${K.value}`
1300
+ id: `legend-top-${Y.value}`
1300
1301
  }, null, 8, xl),
1301
1302
  $("div", kl, [
1302
1303
  x.value ? (n(), i("svg", {
1303
1304
  key: 0,
1304
1305
  ref_key: "svgRef",
1305
- ref: ke,
1306
+ ref: be,
1306
1307
  xmlns: c(ja),
1307
- "aria-describedby": `chart-instructions-${K.value}`,
1308
+ "aria-describedby": `chart-instructions-${Y.value}`,
1308
1309
  viewBox: ca.value,
1309
1310
  style: N(`max-width:100%;overflow:visible;background:transparent;color:${e.value.color}`),
1310
1311
  tabindex: "0",
@@ -1312,13 +1313,13 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
1312
1313
  onBlur: Ma,
1313
1314
  onKeydown: Ra
1314
1315
  }, [
1315
- Ce(c(ee)),
1316
+ ze(c(te)),
1316
1317
  a.$slots["chart-background"] && x.value === y.BAR ? (n(), i("foreignObject", {
1317
1318
  key: 0,
1318
- x: s.value.drawingArea.left,
1319
- y: s.value.drawingArea.top,
1320
- width: s.value.drawingArea.width,
1321
- height: s.value.drawingArea.height,
1319
+ x: v.value.drawingArea.left,
1320
+ y: v.value.drawingArea.top,
1321
+ width: v.value.drawingArea.width,
1322
+ height: v.value.drawingArea.height,
1322
1323
  style: {
1323
1324
  pointerEvents: "none"
1324
1325
  }
@@ -1351,7 +1352,7 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
1351
1352
  ], 8, Al)) : g("", !0),
1352
1353
  $("defs", null, [
1353
1354
  $("filter", {
1354
- id: `blur_${K.value}`,
1355
+ id: `blur_${Y.value}`,
1355
1356
  x: "-50%",
1356
1357
  y: "-50%",
1357
1358
  width: "200%",
@@ -1360,7 +1361,7 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
1360
1361
  $("feGaussianBlur", {
1361
1362
  in: "SourceGraphic",
1362
1363
  stdDeviation: 2,
1363
- id: `blur_std_${K.value}`
1364
+ id: `blur_std_${Y.value}`
1364
1365
  }, null, 8, _l),
1365
1366
  r[4] || (r[4] = $("feColorMatrix", {
1366
1367
  type: "saturate",
@@ -1368,7 +1369,7 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
1368
1369
  }, null, -1))
1369
1370
  ], 8, Ll),
1370
1371
  $("filter", {
1371
- id: `shadow_${K.value}`,
1372
+ id: `shadow_${Y.value}`,
1372
1373
  "color-interpolation-filters": "sRGB"
1373
1374
  }, [
1374
1375
  $("feDropShadow", {
@@ -1391,7 +1392,7 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
1391
1392
  "stroke-linecap": "round",
1392
1393
  "stroke-linejoin": "round",
1393
1394
  fill: "none",
1394
- filter: Re(t.id)
1395
+ filter: Oe(t.id)
1395
1396
  }, null, 8, Tl)) : g("", !0)
1396
1397
  ], 64))), 256))
1397
1398
  ])) : g("", !0),
@@ -1400,7 +1401,7 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
1400
1401
  cy: C.value.cy,
1401
1402
  r: C.value.radius,
1402
1403
  fill: e.value.backgroundColor,
1403
- filter: e.value.donutUseShadow ? `url(#shadow_${K.value})` : ""
1404
+ filter: e.value.donutUseShadow ? `url(#shadow_${Y.value})` : ""
1404
1405
  }, null, 8, El),
1405
1406
  $("g", Pl, [
1406
1407
  (n(!0), i(S, null, O(C.value.chart, (t, l) => (n(), i("path", {
@@ -1408,7 +1409,7 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
1408
1409
  fill: t.color,
1409
1410
  stroke: e.value.donutStroke || e.value.backgroundColor,
1410
1411
  "stroke-width": e.value.donutStrokeWidth,
1411
- filter: Re(t.id)
1412
+ filter: Oe(t.id)
1412
1413
  }, null, 8, Il))), 256)),
1413
1414
  (n(!0), i(S, null, O(C.value.chart, (t, l) => (n(), i("path", {
1414
1415
  d: t.arcSlice,
@@ -1422,26 +1423,26 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
1422
1423
  (n(!0), i(S, null, O(C.value.chart, (t, l) => (n(), i(S, null, [
1423
1424
  C.value.isArcBigEnough(t) ? (n(), i("circle", {
1424
1425
  key: 0,
1425
- cx: c(ze)(t).x,
1426
+ cx: c($e)(t).x,
1426
1427
  cy: c(Qe)(t) - 3.7,
1427
1428
  fill: t.color,
1428
1429
  stroke: e.value.backgroundColor,
1429
1430
  "stroke-width": 1,
1430
1431
  r: 3,
1431
- filter: Re(t.id)
1432
+ filter: Oe(t.id)
1432
1433
  }, null, 8, Ol)) : g("", !0),
1433
1434
  C.value.isArcBigEnough(t) ? (n(), i("text", {
1434
1435
  key: 1,
1435
- "text-anchor": c(ze)(t, !0, 20).anchor,
1436
- x: c(ze)(t, !0).x,
1436
+ "text-anchor": c($e)(t, !0, 20).anchor,
1437
+ x: c($e)(t, !0).x,
1437
1438
  y: c(Qe)(t),
1438
1439
  fill: e.value.color,
1439
1440
  "font-size": e.value.dataLabelFontSize,
1440
- filter: Re(t.id)
1441
+ filter: Oe(t.id)
1441
1442
  }, B(C.value.displayArcPercentage(t, C.value.chart)) + " (" + B(c(ue)(
1442
1443
  e.value.formatter,
1443
1444
  t.value,
1444
- c(j)({
1445
+ c(G)({
1445
1446
  p: e.value.valuePrefix,
1446
1447
  v: t.value,
1447
1448
  s: e.value.valueSuffix,
@@ -1451,12 +1452,12 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
1451
1452
  )) + ") ", 9, Fl)) : g("", !0),
1452
1453
  C.value.isArcBigEnough(t, !0, 20) ? (n(), i("text", {
1453
1454
  key: 2,
1454
- "text-anchor": c(ze)(t).anchor,
1455
- x: c(ze)(t, !0).x,
1455
+ "text-anchor": c($e)(t).anchor,
1456
+ x: c($e)(t, !0).x,
1456
1457
  y: c(Qe)(t) + e.value.dataLabelFontSize,
1457
1458
  fill: e.value.color,
1458
1459
  "font-size": e.value.dataLabelFontSize,
1459
- filter: Re(t.id)
1460
+ filter: Oe(t.id)
1460
1461
  }, B(t.name), 9, Nl)) : g("", !0)
1461
1462
  ], 64))), 256))
1462
1463
  ])) : g("", !0),
@@ -1474,7 +1475,7 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
1474
1475
  y: C.value.drawingArea.centerY + e.value.donutTotalLabelFontSize,
1475
1476
  "font-size": e.value.donutTotalLabelFontSize,
1476
1477
  fill: e.value.color
1477
- }, B(c(j)({
1478
+ }, B(c(G)({
1478
1479
  p: e.value.valuePrefix,
1479
1480
  v: C.value.total,
1480
1481
  s: e.value.valueSuffix,
@@ -1553,7 +1554,7 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
1553
1554
  }, B(c(ue)(
1554
1555
  e.value.formatter,
1555
1556
  t.value,
1556
- c(j)({
1557
+ c(G)({
1557
1558
  p: e.value.valuePrefix,
1558
1559
  v: t.value,
1559
1560
  s: e.value.valueSuffix,
@@ -1564,8 +1565,8 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
1564
1565
  ], 64))), 256))
1565
1566
  ], 512)) : g("", !0),
1566
1567
  e.value.xyShowScale && e.value.xyPeriods.length ? (n(), i("g", Yl, [
1567
- (n(!0), i(S, null, O(Z.value.map((t) => t.text), (t, l) => (n(), i(S, null, [
1568
- !e.value.xyPeriodsShowOnlyAtModulo || e.value.xyPeriodsShowOnlyAtModulo && l % Math.floor((k.value.end - k.value.start) / _e.value) === 0 || k.value.end - k.value.start <= _e.value ? (n(), i("line", {
1568
+ (n(!0), i(S, null, O(J.value.map((t) => t.text), (t, l) => (n(), i(S, null, [
1569
+ !e.value.xyPeriodsShowOnlyAtModulo || e.value.xyPeriodsShowOnlyAtModulo && l % Math.floor((k.value.end - k.value.start) / Ce.value) === 0 || k.value.end - k.value.start <= Ce.value ? (n(), i("line", {
1569
1570
  key: 0,
1570
1571
  x1: d.value.drawingArea.left + d.value.slotSize * (l + 1) - d.value.slotSize / 2,
1571
1572
  x2: d.value.drawingArea.left + d.value.slotSize * (l + 1) - d.value.slotSize / 2,
@@ -1580,8 +1581,8 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
1580
1581
  ref_key: "timeLabelsEls",
1581
1582
  ref: de
1582
1583
  }, [
1583
- (n(!0), i(S, null, O(Z.value.map((t) => t.text), (t, l) => (n(), i(S, null, [
1584
- !e.value.xyPeriodsShowOnlyAtModulo || e.value.xyPeriodsShowOnlyAtModulo && l % Math.floor((k.value.end - k.value.start) / _e.value) === 0 || k.value.end - k.value.start <= _e.value ? (n(), i("g", Jl, [
1584
+ (n(!0), i(S, null, O(J.value.map((t) => t.text), (t, l) => (n(), i(S, null, [
1585
+ !e.value.xyPeriodsShowOnlyAtModulo || e.value.xyPeriodsShowOnlyAtModulo && l % Math.floor((k.value.end - k.value.start) / Ce.value) === 0 || k.value.end - k.value.start <= Ce.value ? (n(), i("g", Jl, [
1585
1586
  String(t).includes(`
1586
1587
  `) ? (n(), i("text", {
1587
1588
  key: 1,
@@ -1615,85 +1616,85 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
1615
1616
  $("path", {
1616
1617
  ref_for: !0,
1617
1618
  ref_key: "pathWrapper",
1618
- ref: Ee,
1619
+ ref: Pe,
1619
1620
  d: `M ${c(ta)(t.coordinates)}`,
1620
1621
  stroke: e.value.backgroundColor,
1621
1622
  "stroke-width": e.value.lineStrokeWidth + 1,
1622
1623
  "stroke-linecap": "round",
1623
1624
  fill: "none",
1624
- class: ye({ "quick-animation": !c(D), "vue-data-ui-line-animated": e.value.lineAnimated && !c(D) }),
1625
+ class: xe({ "quick-animation": !c(D), "vue-data-ui-line-animated": e.value.lineAnimated && !c(D) }),
1625
1626
  style: N({ transition: c(D) ? void 0 : "all 0.3s ease-in-out" })
1626
1627
  }, null, 14, lo),
1627
1628
  $("path", {
1628
1629
  ref_for: !0,
1629
1630
  ref_key: "pathTop",
1630
- ref: Pe,
1631
+ ref: Ie,
1631
1632
  d: `M ${c(ta)(t.coordinates)}`,
1632
1633
  stroke: t.color,
1633
1634
  "stroke-width": e.value.lineStrokeWidth,
1634
1635
  "stroke-linecap": "round",
1635
1636
  fill: "none",
1636
- class: ye({ "quick-animation": !c(D), "vue-data-ui-line-animated": e.value.lineAnimated && !c(D) }),
1637
+ class: xe({ "quick-animation": !c(D), "vue-data-ui-line-animated": e.value.lineAnimated && !c(D) }),
1637
1638
  style: N({ transition: c(D) ? void 0 : "all 0.3s ease-in-out" })
1638
1639
  }, null, 14, oo)
1639
1640
  ], 64)) : (n(), i(S, { key: 1 }, [
1640
1641
  $("path", {
1641
1642
  ref_for: !0,
1642
1643
  ref_key: "pathWrapper",
1643
- ref: Ee,
1644
+ ref: Pe,
1644
1645
  d: `M ${t.linePath}`,
1645
1646
  stroke: e.value.backgroundColor,
1646
1647
  "stroke-width": e.value.lineStrokeWidth + 1,
1647
1648
  "stroke-linecap": "round",
1648
1649
  fill: "none",
1649
- class: ye({ "quick-animation": !c(D), "vue-data-ui-line-animated": e.value.lineAnimated && !c(D) }),
1650
+ class: xe({ "quick-animation": !c(D), "vue-data-ui-line-animated": e.value.lineAnimated && !c(D) }),
1650
1651
  style: N({ transition: c(D) ? void 0 : "all 0.3s ease-in-out" })
1651
1652
  }, null, 14, no),
1652
1653
  $("path", {
1653
1654
  ref_for: !0,
1654
1655
  ref_key: "pathTop",
1655
- ref: Pe,
1656
+ ref: Ie,
1656
1657
  d: `M ${t.linePath}`,
1657
1658
  stroke: t.color,
1658
1659
  "stroke-width": e.value.lineStrokeWidth,
1659
1660
  "stroke-linecap": "round",
1660
1661
  fill: "none",
1661
- class: ye({ "quick-animation": !c(D), "vue-data-ui-line-animated": e.value.lineAnimated && !c(D) }),
1662
+ class: xe({ "quick-animation": !c(D), "vue-data-ui-line-animated": e.value.lineAnimated && !c(D) }),
1662
1663
  style: N({ transition: c(D) ? void 0 : "all 0.3s ease-in-out" })
1663
1664
  }, null, 14, io)
1664
1665
  ], 64)),
1665
- (n(!0), i(S, null, O(t.coordinates, (o, v) => (n(), i("circle", {
1666
+ (n(!0), i(S, null, O(t.coordinates, (o, s) => (n(), i("circle", {
1666
1667
  cx: o.x,
1667
1668
  cy: c(he)(o.y),
1668
1669
  r: 3,
1669
1670
  fill: t.color,
1670
1671
  stroke: e.value.backgroundColor,
1671
1672
  "stroke-width": "0.5",
1672
- class: ye({ "vue-ui-quick-chart-plot": !0, "quick-animation": !c(D) }),
1673
+ class: xe({ "vue-ui-quick-chart-plot": !0, "quick-animation": !c(D) }),
1673
1674
  style: N({ transition: c(D) ? void 0 : "all 0.3s ease-in-out" })
1674
1675
  }, null, 14, uo))), 256))
1675
1676
  ]))), 256))
1676
1677
  ]),
1677
1678
  e.value.showDataLabels ? (n(), i("g", ro, [
1678
1679
  (n(!0), i(S, null, O(d.value.dataset, (t, l) => (n(), i(S, null, [
1679
- (n(!0), i(S, null, O(t.coordinates, (o, v) => (n(), i("text", {
1680
+ (n(!0), i(S, null, O(t.coordinates, (o, s) => (n(), i("text", {
1680
1681
  "text-anchor": "middle",
1681
1682
  "font-size": e.value.dataLabelFontSize,
1682
1683
  fill: t.color,
1683
1684
  x: o.x,
1684
1685
  y: c(he)(o.y) - e.value.dataLabelFontSize / 2,
1685
- class: ye({ "vue-ui-quick-chart-label": !0, "quick-animation": !c(D) }),
1686
+ class: xe({ "vue-ui-quick-chart-label": !0, "quick-animation": !c(D) }),
1686
1687
  style: N({ transition: c(D) ? void 0 : "all 0.3s ease-in-out" })
1687
1688
  }, B(c(ue)(
1688
1689
  e.value.formatter,
1689
1690
  c(he)(o.value),
1690
- c(j)({
1691
+ c(G)({
1691
1692
  p: e.value.valuePrefix,
1692
1693
  v: c(he)(o.value),
1693
1694
  s: e.value.valueSuffix,
1694
1695
  r: e.value.dataLabelRoundingValue
1695
1696
  }),
1696
- { datapoint: o, seriesIndex: v }
1697
+ { datapoint: o, seriesIndex: s }
1697
1698
  )), 15, so))), 256))
1698
1699
  ], 64))), 256))
1699
1700
  ])) : g("", !0),
@@ -1703,7 +1704,7 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
1703
1704
  y: d.value.drawingArea.top,
1704
1705
  height: d.value.drawingArea.height <= 0 ? 1e-5 : d.value.drawingArea.height,
1705
1706
  width: d.value.slotSize <= 0 ? 1e-5 : d.value.slotSize,
1706
- fill: [te.value, ne.value].includes(l) ? e.value.xyHighlighterColor : "transparent",
1707
+ fill: [ae.value, le.value].includes(l) ? e.value.xyHighlighterColor : "transparent",
1707
1708
  style: N(`opacity:${e.value.xyHighlighterOpacity}`),
1708
1709
  onMouseenter: (o) => d.value.useTooltip(l, "pointer"),
1709
1710
  onMouseleave: (o) => d.value.killTooltip(l),
@@ -1713,11 +1714,11 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
1713
1714
  ], 64)) : g("", !0),
1714
1715
  x.value === y.BAR ? (n(), i(S, { key: 5 }, [
1715
1716
  e.value.xyShowGrid ? (n(), i("g", fo, [
1716
- (n(!0), i(S, null, O(s.value.yLabels, (t) => (n(), i(S, null, [
1717
- t.y <= s.value.drawingArea.bottom ? (n(), i("line", {
1717
+ (n(!0), i(S, null, O(v.value.yLabels, (t) => (n(), i(S, null, [
1718
+ t.y <= v.value.drawingArea.bottom ? (n(), i("line", {
1718
1719
  key: 0,
1719
- x1: s.value.drawingArea.left,
1720
- x2: s.value.drawingArea.right,
1720
+ x1: v.value.drawingArea.left,
1721
+ x2: v.value.drawingArea.right,
1721
1722
  y1: t.y,
1722
1723
  y2: t.y,
1723
1724
  stroke: e.value.xyGridStroke,
@@ -1725,11 +1726,11 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
1725
1726
  "stroke-linecap": "round"
1726
1727
  }, null, 8, ho)) : g("", !0)
1727
1728
  ], 64))), 256)),
1728
- w.value.length < s.value.legend.length ? (n(!0), i(S, { key: 0 }, O(s.value.extremes.maxSeries + 1, (t, l) => (n(), i("line", {
1729
- x1: s.value.drawingArea.left + s.value.slotSize * l,
1730
- x2: s.value.drawingArea.left + s.value.slotSize * l,
1731
- y1: s.value.drawingArea.top,
1732
- y2: s.value.drawingArea.bottom,
1729
+ w.value.length < v.value.legend.length ? (n(!0), i(S, { key: 0 }, O(v.value.extremes.maxSeries + 1, (t, l) => (n(), i("line", {
1730
+ x1: v.value.drawingArea.left + v.value.slotSize * l,
1731
+ x2: v.value.drawingArea.left + v.value.slotSize * l,
1732
+ y1: v.value.drawingArea.top,
1733
+ y2: v.value.drawingArea.bottom,
1733
1734
  stroke: e.value.xyGridStroke,
1734
1735
  "stroke-width": e.value.xyGridStrokeWidth,
1735
1736
  "stroke-linecap": "round"
@@ -1737,19 +1738,19 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
1737
1738
  ])) : g("", !0),
1738
1739
  e.value.xyShowAxis ? (n(), i("g", mo, [
1739
1740
  $("line", {
1740
- x1: s.value.drawingArea.left,
1741
- x2: s.value.drawingArea.left,
1742
- y1: s.value.drawingArea.top,
1743
- y2: s.value.drawingArea.bottom,
1741
+ x1: v.value.drawingArea.left,
1742
+ x2: v.value.drawingArea.left,
1743
+ y1: v.value.drawingArea.top,
1744
+ y2: v.value.drawingArea.bottom,
1744
1745
  stroke: e.value.xyAxisStroke,
1745
1746
  "stroke-width": e.value.xyAxisStrokeWidth,
1746
1747
  "stroke-linecap": "round"
1747
1748
  }, null, 8, po),
1748
1749
  $("line", {
1749
- x1: s.value.drawingArea.left,
1750
- x2: s.value.drawingArea.right,
1751
- y1: isNaN(s.value.absoluteZero) ? s.value.drawingArea.bottom : s.value.absoluteZero,
1752
- y2: isNaN(s.value.absoluteZero) ? s.value.drawingArea.bottom : s.value.absoluteZero,
1750
+ x1: v.value.drawingArea.left,
1751
+ x2: v.value.drawingArea.right,
1752
+ y1: isNaN(v.value.absoluteZero) ? v.value.drawingArea.bottom : v.value.absoluteZero,
1753
+ y2: isNaN(v.value.absoluteZero) ? v.value.drawingArea.bottom : v.value.absoluteZero,
1753
1754
  stroke: e.value.xyAxisStroke,
1754
1755
  "stroke-width": e.value.xyAxisStrokeWidth,
1755
1756
  "stroke-linecap": "round"
@@ -1761,18 +1762,18 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
1761
1762
  ref_key: "scaleLabels",
1762
1763
  ref: He
1763
1764
  }, [
1764
- (n(!0), i(S, null, O(s.value.yLabels, (t, l) => (n(), i(S, null, [
1765
- t.y <= s.value.drawingArea.bottom ? (n(), i("line", {
1765
+ (n(!0), i(S, null, O(v.value.yLabels, (t, l) => (n(), i(S, null, [
1766
+ t.y <= v.value.drawingArea.bottom ? (n(), i("line", {
1766
1767
  key: 0,
1767
1768
  x1: t.x + 4,
1768
- x2: s.value.drawingArea.left,
1769
+ x2: v.value.drawingArea.left,
1769
1770
  y1: t.y,
1770
1771
  y2: t.y,
1771
1772
  stroke: e.value.xyAxisStroke,
1772
1773
  "stroke-width": e.value.xyAxisStrokeWidth,
1773
1774
  "stroke-linecap": "round"
1774
1775
  }, null, 8, xo)) : g("", !0),
1775
- t.y <= s.value.drawingArea.bottom ? (n(), i("text", {
1776
+ t.y <= v.value.drawingArea.bottom ? (n(), i("text", {
1776
1777
  key: 1,
1777
1778
  x: t.x,
1778
1779
  y: t.y + e.value.xyLabelsYFontSize / 3,
@@ -1782,7 +1783,7 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
1782
1783
  }, B(c(ue)(
1783
1784
  e.value.formatter,
1784
1785
  t.value,
1785
- c(j)({
1786
+ c(G)({
1786
1787
  p: e.value.valuePrefix,
1787
1788
  v: t.value,
1788
1789
  s: e.value.valueSuffix,
@@ -1794,10 +1795,10 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
1794
1795
  ], 512)) : g("", !0),
1795
1796
  e.value.xyShowScale && e.value.xyPeriods.length ? (n(), i("g", bo, [
1796
1797
  (n(!0), i(S, null, O(e.value.xyPeriods.slice(k.value.start, k.value.end), (t, l) => (n(), i("line", {
1797
- x1: s.value.drawingArea.left + s.value.slotSize * (l + 1) - s.value.slotSize / 2,
1798
- x2: s.value.drawingArea.left + s.value.slotSize * (l + 1) - s.value.slotSize / 2,
1799
- y1: s.value.drawingArea.bottom,
1800
- y2: s.value.drawingArea.bottom + 4,
1798
+ x1: v.value.drawingArea.left + v.value.slotSize * (l + 1) - v.value.slotSize / 2,
1799
+ x2: v.value.drawingArea.left + v.value.slotSize * (l + 1) - v.value.slotSize / 2,
1800
+ y1: v.value.drawingArea.bottom,
1801
+ y2: v.value.drawingArea.bottom + 4,
1801
1802
  stroke: e.value.xyAxisStroke,
1802
1803
  "stroke-width": e.value.xyAxisStrokeWidth,
1803
1804
  "stroke-linecap": "round"
@@ -1806,8 +1807,8 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
1806
1807
  ref_key: "timeLabelsEls",
1807
1808
  ref: de
1808
1809
  }, [
1809
- (n(!0), i(S, null, O(Z.value.map((t) => t.text), (t, l) => (n(), i(S, null, [
1810
- !e.value.xyPeriodsShowOnlyAtModulo || e.value.xyPeriodsShowOnlyAtModulo && l % Math.floor((k.value.end - k.value.start) / _e.value) === 0 || k.value.end - k.value.start <= _e.value ? (n(), i("g", wo, [
1810
+ (n(!0), i(S, null, O(J.value.map((t) => t.text), (t, l) => (n(), i(S, null, [
1811
+ !e.value.xyPeriodsShowOnlyAtModulo || e.value.xyPeriodsShowOnlyAtModulo && l % Math.floor((k.value.end - k.value.start) / Ce.value) === 0 || k.value.end - k.value.start <= Ce.value ? (n(), i("g", wo, [
1811
1812
  String(t).includes(`
1812
1813
  `) ? (n(), i("text", {
1813
1814
  key: 1,
@@ -1815,7 +1816,7 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
1815
1816
  "font-size": e.value.xyLabelsXFontSize,
1816
1817
  "text-anchor": e.value.xyPeriodLabelsRotation > 0 ? "start" : e.value.xyPeriodLabelsRotation < 0 ? "end" : "middle",
1817
1818
  fill: e.value.color,
1818
- transform: `translate(${s.value.drawingArea.left + s.value.slotSize * (l + 1) - s.value.slotSize / 2}, ${s.value.drawingArea.bottom + e.value.xyLabelsXFontSize + 6}), rotate(${e.value.xyPeriodLabelsRotation})`,
1819
+ 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})`,
1819
1820
  innerHTML: c(ea)({
1820
1821
  content: String(t),
1821
1822
  fontSize: e.value.xyLabelsXFontSize,
@@ -1829,15 +1830,15 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
1829
1830
  "font-size": e.value.xyLabelsXFontSize,
1830
1831
  "text-anchor": e.value.xyPeriodLabelsRotation > 0 ? "start" : e.value.xyPeriodLabelsRotation < 0 ? "end" : "middle",
1831
1832
  fill: e.value.color,
1832
- transform: `translate(${s.value.drawingArea.left + s.value.slotSize * (l + 1) - s.value.slotSize / 2}, ${s.value.drawingArea.bottom + e.value.xyLabelsXFontSize + 6}), rotate(${e.value.xyPeriodLabelsRotation})`
1833
+ 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})`
1833
1834
  }, B(t), 9, Ao))
1834
1835
  ])) : g("", !0)
1835
1836
  ], 64))), 256))
1836
1837
  ], 512)
1837
1838
  ])) : g("", !0),
1838
1839
  $("g", _o, [
1839
- (n(!0), i(S, null, O(s.value.dataset, (t, l) => (n(), i(S, null, [
1840
- (n(!0), i(S, null, O(t.coordinates, (o, v) => (n(), i("rect", {
1840
+ (n(!0), i(S, null, O(v.value.dataset, (t, l) => (n(), i(S, null, [
1841
+ (n(!0), i(S, null, O(t.coordinates, (o, s) => (n(), i("rect", {
1841
1842
  x: o.x,
1842
1843
  width: o.width <= 0 ? 1e-5 : o.width,
1843
1844
  height: c(he)(o.height <= 0 ? 1e-5 : o.height),
@@ -1846,7 +1847,7 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
1846
1847
  stroke: e.value.backgroundColor,
1847
1848
  "stroke-width": e.value.barStrokeWidth,
1848
1849
  "stroke-linecap": "round",
1849
- class: ye({ "vue-data-ui-bar-animated": e.value.barAnimated && o.value < 0 && !c(D) })
1850
+ class: xe({ "vue-data-ui-bar-animated": e.value.barAnimated && o.value < 0 && !c(D) })
1850
1851
  }, [
1851
1852
  e.value.barAnimated && o.value > 0 && !c(Xe) && !c(je) ? (n(), i("animate", {
1852
1853
  key: 0,
@@ -1858,16 +1859,16 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
1858
1859
  e.value.barAnimated && o.value > 0 && !c(Xe) && !c(je) ? (n(), i("animate", {
1859
1860
  key: 1,
1860
1861
  attributeName: "y",
1861
- from: s.value.absoluteZero,
1862
- to: s.value.absoluteZero - o.height,
1862
+ from: v.value.absoluteZero,
1863
+ to: v.value.absoluteZero - o.height,
1863
1864
  dur: "0.5s"
1864
1865
  }, null, 8, $o)) : g("", !0)
1865
1866
  ], 10, Co))), 256))
1866
1867
  ], 64))), 256))
1867
1868
  ]),
1868
1869
  e.value.showDataLabels ? (n(), i("g", To, [
1869
- (n(!0), i(S, null, O(s.value.dataset, (t, l) => (n(), i(S, null, [
1870
- (n(!0), i(S, null, O(t.coordinates, (o, v) => (n(), i("text", {
1870
+ (n(!0), i(S, null, O(v.value.dataset, (t, l) => (n(), i(S, null, [
1871
+ (n(!0), i(S, null, O(t.coordinates, (o, s) => (n(), i("text", {
1871
1872
  x: o.x + o.width / 2,
1872
1873
  y: c(he)(o.y) - e.value.dataLabelFontSize / 2,
1873
1874
  "text-anchor": "middle",
@@ -1877,27 +1878,27 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
1877
1878
  }, B(c(ue)(
1878
1879
  e.value.formatter,
1879
1880
  c(he)(o.value),
1880
- c(j)({
1881
+ c(G)({
1881
1882
  p: e.value.valuePrefix,
1882
1883
  v: c(he)(o.value),
1883
1884
  s: e.value.valueSuffix,
1884
1885
  r: e.value.dataLabelRoundingValue
1885
1886
  }),
1886
- { datapoint: o, seriesIndex: v }
1887
+ { datapoint: o, seriesIndex: s }
1887
1888
  )), 9, Eo))), 256))
1888
1889
  ], 64))), 256))
1889
1890
  ])) : g("", !0),
1890
- it.value && w.value.length < s.value.legend.length ? (n(), i("g", Po, [
1891
- (n(!0), i(S, null, O(s.value.extremes.maxSeries, (t, l) => (n(), i("rect", {
1892
- x: s.value.drawingArea.left + l * s.value.slotSize,
1893
- y: s.value.drawingArea.top,
1894
- height: s.value.drawingArea.height <= 0 ? 1e-5 : s.value.drawingArea.height,
1895
- width: s.value.slotSize <= 0 ? 1e-5 : s.value.slotSize,
1896
- fill: [te.value, ne.value].includes(l) ? e.value.xyHighlighterColor : "transparent",
1891
+ it.value && w.value.length < v.value.legend.length ? (n(), i("g", Po, [
1892
+ (n(!0), i(S, null, O(v.value.extremes.maxSeries, (t, l) => (n(), i("rect", {
1893
+ x: v.value.drawingArea.left + l * v.value.slotSize,
1894
+ y: v.value.drawingArea.top,
1895
+ height: v.value.drawingArea.height <= 0 ? 1e-5 : v.value.drawingArea.height,
1896
+ width: v.value.slotSize <= 0 ? 1e-5 : v.value.slotSize,
1897
+ fill: [ae.value, le.value].includes(l) ? e.value.xyHighlighterColor : "transparent",
1897
1898
  style: N(`opacity:${e.value.xyHighlighterOpacity}`),
1898
- onMouseenter: (o) => s.value.useTooltip(l, "pointer"),
1899
- onMouseleave: (o) => s.value.killTooltip(l),
1900
- onClick: (o) => s.value.selectDatapoint(l)
1899
+ onMouseenter: (o) => v.value.useTooltip(l, "pointer"),
1900
+ onMouseleave: (o) => v.value.killTooltip(l),
1901
+ onClick: (o) => v.value.selectDatapoint(l)
1901
1902
  }, null, 44, Io))), 256))
1902
1903
  ])) : g("", !0)
1903
1904
  ], 64)) : g("", !0),
@@ -1924,7 +1925,7 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
1924
1925
  "font-size": e.value.axisLabelsFontSize,
1925
1926
  fill: e.value.color,
1926
1927
  "text-anchor": "middle",
1927
- x: s.value.drawingArea.left + s.value.drawingArea.width / 2,
1928
+ x: v.value.drawingArea.left + v.value.drawingArea.width / 2,
1928
1929
  y: _.value.height - e.value.axisLabelsFontSize / 3
1929
1930
  }, B(e.value.xAxisLabel), 9, Oo)
1930
1931
  ], 512)) : g("", !0),
@@ -1948,25 +1949,25 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
1948
1949
  $("text", {
1949
1950
  "font-size": e.value.axisLabelsFontSize,
1950
1951
  fill: e.value.color,
1951
- transform: `translate(${e.value.axisLabelsFontSize}, ${s.value.drawingArea.top + s.value.drawingArea.height / 2}) rotate(-90)`,
1952
+ transform: `translate(${e.value.axisLabelsFontSize}, ${v.value.drawingArea.top + v.value.drawingArea.height / 2}) rotate(-90)`,
1952
1953
  "text-anchor": "middle"
1953
1954
  }, B(e.value.yAxisLabel), 9, No)
1954
1955
  ], 512)) : g("", !0)
1955
1956
  ])) : g("", !0)
1956
1957
  ], 44, bl)) : g("", !0),
1957
1958
  a.$slots.hint ? (n(), i("div", Bo, [
1958
- R(a.$slots, "hint", J(Q({ hint: e.value.a11y.translations.keyboardNavigation, isVisible: nt.value })), void 0, !0)
1959
+ R(a.$slots, "hint", Q(ee({ hint: e.value.a11y.translations.keyboardNavigation, isVisible: nt.value })), void 0, !0)
1959
1960
  ])) : g("", !0)
1960
1961
  ]),
1961
1962
  a.$slots.watermark ? (n(), i("div", Do, [
1962
- R(a.$slots, "watermark", J(Q({ isPrinting: c(Xe) || c(je) })), void 0, !0)
1963
+ R(a.$slots, "watermark", Q(ee({ isPrinting: c(Xe) || c(je) })), void 0, !0)
1963
1964
  ])) : g("", !0),
1964
1965
  [y.BAR, y.LINE].includes(x.value) && e.value.zoomXy && A.value.maxSeriesLength > 1 ? (n(), i("div", {
1965
1966
  key: `slicer_${qe.value}`,
1966
1967
  ref_key: "quickChartSlicer",
1967
1968
  ref: bt
1968
1969
  }, [
1969
- (n(), Se(il, {
1970
+ (n(), we(il, {
1970
1971
  ref_key: "slicerComponent",
1971
1972
  ref: Dt,
1972
1973
  key: `slicer_${qe.value}`,
@@ -1974,8 +1975,8 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
1974
1975
  borderColor: e.value.backgroundColor,
1975
1976
  fontSize: e.value.zoomFontSize,
1976
1977
  useResetSlot: e.value.zoomUseResetSlot,
1977
- labelLeft: e.value.xyPeriods[k.value.start] && Z.value[0] ? Z.value[0].text : "",
1978
- labelRight: e.value.xyPeriods[k.value.end - 1] && Z.value?.length ? Z.value.at(-1).text : "",
1978
+ labelLeft: e.value.xyPeriods[k.value.start] && J.value[0] ? J.value[0].text : "",
1979
+ labelRight: e.value.xyPeriods[k.value.end - 1] && J.value?.length ? J.value.at(-1).text : "",
1979
1980
  textColor: e.value.color,
1980
1981
  inputColor: e.value.zoomColor,
1981
1982
  selectColor: e.value.zoomHighlightColor,
@@ -1991,7 +1992,7 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
1991
1992
  minimap: pa.value,
1992
1993
  minimapIndicatorColor: e.value.zoomMinimap.indicatorColor,
1993
1994
  verticalHandles: e.value.zoomMinimap.verticalHandles,
1994
- minimapSelectedIndex: ne.value,
1995
+ minimapSelectedIndex: le.value,
1995
1996
  start: k.value.start,
1996
1997
  "onUpdate:start": r[0] || (r[0] = (t) => k.value.start = t),
1997
1998
  end: k.value.end,
@@ -2017,18 +2018,18 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
2017
2018
  onReset: ga,
2018
2019
  onTrapMouse: ha
2019
2020
  }, {
2020
- "reset-action": W(({ reset: t }) => [
2021
- R(a.$slots, "reset-action", J(Q({ reset: t })), void 0, !0)
2021
+ "reset-action": X(({ reset: t }) => [
2022
+ R(a.$slots, "reset-action", Q(ee({ reset: t })), void 0, !0)
2022
2023
  ]),
2023
2024
  _: 3
2024
2025
  }, 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", "additionalMinimapHeight", "handleType", "handleWidth", "handleBorderWidth", "handleIconColor", "handleBorderColor", "handleFill", "focusOnDrag", "focusRangeRatio", "maxWidth"]))
2025
2026
  ])) : g("", !0),
2026
2027
  $("div", {
2027
- id: `legend-bottom-${K.value}`
2028
+ id: `legend-bottom-${Y.value}`
2028
2029
  }, null, 8, Uo),
2029
- Lt.value ? (n(), Se(Ba, {
2030
+ Lt.value ? (n(), we(Ba, {
2030
2031
  key: 7,
2031
- to: e.value.legendPosition === "top" ? `#legend-top-${K.value}` : `#legend-bottom-${K.value}`
2032
+ to: e.value.legendPosition === "top" ? `#legend-top-${Y.value}` : `#legend-bottom-${Y.value}`
2032
2033
  }, [
2033
2034
  e.value.showLegend ? (n(), i("div", {
2034
2035
  key: 0,
@@ -2037,13 +2038,13 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
2037
2038
  class: "vue-ui-quick-chart-legend",
2038
2039
  style: N(`background:transparent;color:${e.value.color}`)
2039
2040
  }, [
2040
- (C.value?.legend?.length > 2 || d.value?.legend?.length > 2 || s.value?.legend?.length > 2) && e.value.showLegendSelectAllToggle && !c(D) ? (n(), Se(sl, {
2041
+ (C.value?.legend?.length > 2 || d.value?.legend?.length > 2 || v.value?.legend?.length > 2) && e.value.showLegendSelectAllToggle && !c(D) ? (n(), we(sl, {
2041
2042
  key: 0,
2042
2043
  backgroundColor: e.value.legendSelectAllToggleBackgroundColor,
2043
2044
  color: e.value.legendSelectAllToggleColor,
2044
2045
  fontSize: e.value.legendFontSize,
2045
2046
  checked: w.value.length > 0,
2046
- isCursorPointer: we.value,
2047
+ isCursorPointer: Ae.value,
2047
2048
  onToggle: fa
2048
2049
  }, null, 8, ["backgroundColor", "color", "fontSize", "checked", "isCursorPointer"])) : g("", !0),
2049
2050
  x.value === y.DONUT ? (n(!0), i(S, { key: 1 }, O(C.value.legend, (t, l) => (n(), i("div", {
@@ -2051,7 +2052,7 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
2051
2052
  onClick: (o) => {
2052
2053
  Nt(t, C.value.dataset), re("selectLegend", t);
2053
2054
  },
2054
- style: N(`cursor: ${C.value.legend.length > 1 && we.value ? "pointer" : "default"}; opacity:${w.value.includes(t.id) ? "0.5" : "1"}`),
2055
+ style: N(`cursor: ${C.value.legend.length > 1 && Ae.value ? "pointer" : "default"}; opacity:${w.value.includes(t.id) ? "0.5" : "1"}`),
2055
2056
  role: "button",
2056
2057
  tabindex: "0",
2057
2058
  onKeydown: (o) => {
@@ -2064,7 +2065,7 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
2064
2065
  key: 0,
2065
2066
  ref_for: !0
2066
2067
  }, { legend: t }), void 0, !0) : (n(), i(S, { key: 1 }, [
2067
- Ce(c(q), {
2068
+ ze(c(q), {
2068
2069
  name: e.value.legendIcon,
2069
2070
  stroke: t.color,
2070
2071
  size: e.value.legendIconSize
@@ -2077,7 +2078,7 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
2077
2078
  }, B(w.value.includes(t.id) ? "-" : c(ue)(
2078
2079
  e.value.formatter,
2079
2080
  t.absoluteValue,
2080
- c(j)({
2081
+ c(G)({
2081
2082
  p: e.value.valuePrefix,
2082
2083
  v: t.absoluteValue,
2083
2084
  s: e.value.valueSuffix,
@@ -2094,7 +2095,7 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
2094
2095
  }, " ( - % ) ", 4)) : (n(), i("span", {
2095
2096
  key: 2,
2096
2097
  style: N(`font-size:${e.value.legendFontSize}px; font-variant-numeric: tabular-nums;`)
2097
- }, " (" + B(c(j)({
2098
+ }, " (" + B(c(G)({
2098
2099
  v: t.value / C.value.total * 100,
2099
2100
  s: "%",
2100
2101
  r: e.value.dataLabelRoundingPercentage
@@ -2106,7 +2107,7 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
2106
2107
  onClick: (o) => {
2107
2108
  Ge(t.id, d.value.legend.length - 1), re("selectLegend", t);
2108
2109
  },
2109
- style: N(`cursor: ${d.value.legend.length > 1 && we.value ? "pointer" : "default"}; opacity:${w.value.includes(t.id) ? "0.5" : "1"}`),
2110
+ style: N(`cursor: ${d.value.legend.length > 1 && Ae.value ? "pointer" : "default"}; opacity:${w.value.includes(t.id) ? "0.5" : "1"}`),
2110
2111
  role: "button",
2111
2112
  tabindex: "0",
2112
2113
  onKeydown: (o) => {
@@ -2119,7 +2120,7 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
2119
2120
  key: 0,
2120
2121
  ref_for: !0
2121
2122
  }, { legend: t }), void 0, !0) : (n(), i(S, { key: 1 }, [
2122
- Ce(c(q), {
2123
+ ze(c(q), {
2123
2124
  name: e.value.legendIcon,
2124
2125
  stroke: t.color,
2125
2126
  size: e.value.legendIconSize
@@ -2129,17 +2130,17 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
2129
2130
  }, B(t.name), 5)
2130
2131
  ], 64))
2131
2132
  ], 44, qo))), 256)) : g("", !0),
2132
- x.value === y.BAR ? (n(!0), i(S, { key: 3 }, O(s.value.legend, (t, l) => (n(), i("div", {
2133
+ x.value === y.BAR ? (n(!0), i(S, { key: 3 }, O(v.value.legend, (t, l) => (n(), i("div", {
2133
2134
  class: "vue-ui-quick-chart-legend-item",
2134
2135
  onClick: (o) => {
2135
- Ge(t.id, s.value.legend.length - 1), re("selectLegend", t);
2136
+ Ge(t.id, v.value.legend.length - 1), re("selectLegend", t);
2136
2137
  },
2137
- style: N(`cursor: ${s.value.legend.length > 1 && we.value ? "pointer" : "default"}; opacity:${w.value.includes(t.id) ? "0.5" : "1"}`),
2138
+ style: N(`cursor: ${v.value.legend.length > 1 && Ae.value ? "pointer" : "default"}; opacity:${w.value.includes(t.id) ? "0.5" : "1"}`),
2138
2139
  role: "button",
2139
2140
  tabindex: "0",
2140
2141
  onKeydown: (o) => {
2141
2142
  vt(o, () => {
2142
- Ge(t.id, s.value.legend.length - 1), re("selectLegend", t);
2143
+ Ge(t.id, v.value.legend.length - 1), re("selectLegend", t);
2143
2144
  });
2144
2145
  }
2145
2146
  }, [
@@ -2147,7 +2148,7 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
2147
2148
  key: 0,
2148
2149
  ref_for: !0
2149
2150
  }, { legend: t }), void 0, !0) : (n(), i(S, { key: 1 }, [
2150
- Ce(c(q), {
2151
+ ze(c(q), {
2151
2152
  name: e.value.legendIcon,
2152
2153
  stroke: t.color,
2153
2154
  size: e.value.legendIconSize
@@ -2167,9 +2168,9 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
2167
2168
  }, [
2168
2169
  R(a.$slots, "source", {}, void 0, !0)
2169
2170
  ], 512)) : g("", !0),
2170
- Ce(c($e), {
2171
+ ze(c(Te), {
2171
2172
  teleportTo: e.value.tooltipTeleportTo,
2172
- show: Ae.value.showTooltip && ve.value,
2173
+ show: Le.value.showTooltip && ve.value,
2173
2174
  backgroundColor: e.value.backgroundColor,
2174
2175
  color: e.value.color,
2175
2176
  borderRadius: e.value.tooltipBorderRadius,
@@ -2180,7 +2181,7 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
2180
2181
  position: e.value.tooltipPosition,
2181
2182
  offsetY: e.value.tooltipOffsetY,
2182
2183
  parent: se.value,
2183
- content: xe.value,
2184
+ content: ke.value,
2184
2185
  isFullscreen: Ze.value,
2185
2186
  isCustom: c(et)(e.value.tooltipCustomFormat),
2186
2187
  smooth: e.value.tooltipSmooth,
@@ -2190,26 +2191,26 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
2190
2191
  isA11yMode: ce.value === "keyboard",
2191
2192
  a11yPosition: zt.value
2192
2193
  }, {
2193
- "tooltip-before": W(() => [
2194
- R(a.$slots, "tooltip-before", J(Q({ ...Te.value })), void 0, !0)
2194
+ "tooltip-before": X(() => [
2195
+ R(a.$slots, "tooltip-before", Q(ee({ ...Ee.value })), void 0, !0)
2195
2196
  ]),
2196
- "tooltip-after": W(() => [
2197
- R(a.$slots, "tooltip-after", J(Q({ ...Te.value })), void 0, !0)
2197
+ "tooltip-after": X(() => [
2198
+ R(a.$slots, "tooltip-after", Q(ee({ ...Ee.value })), void 0, !0)
2198
2199
  ]),
2199
2200
  _: 3
2200
2201
  }, 8, ["teleportTo", "show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "smoothForce", "smoothSnapThreshold", "backdropFilter", "isA11yMode", "a11yPosition"]),
2201
2202
  R(a.$slots, "skeleton", {}, () => [
2202
- c(D) ? (n(), Se(Ja, { key: 0 })) : g("", !0)
2203
+ c(D) ? (n(), we(Ja, { key: 0 })) : g("", !0)
2203
2204
  ], !0)
2204
2205
  ], 46, pl)) : (n(), i("div", Wo, [
2205
- Ce(c(q), {
2206
+ ze(c(q), {
2206
2207
  name: "circleCancel",
2207
2208
  stroke: "red"
2208
2209
  }),
2209
2210
  r[5] || (r[5] = $("span", null, "Dataset is not processable", -1))
2210
2211
  ]));
2211
2212
  }
2212
- }, cn = /* @__PURE__ */ vl(Xo, [["__scopeId", "data-v-1ed12539"]]);
2213
+ }, cn = /* @__PURE__ */ vl(Xo, [["__scopeId", "data-v-c3a69f59"]]);
2213
2214
  export {
2214
2215
  cn as default
2215
2216
  };