vue-data-ui 3.0.0-next.25 → 3.0.0-next.27

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 (90) hide show
  1. package/dist/{Arrow-BTsjhHHh.js → Arrow-RGDVmFSH.js} +1 -1
  2. package/dist/{BaseDraggableDialog-7344fBM0.js → BaseDraggableDialog-2MH5hxMc.js} +2 -2
  3. package/dist/{BaseIcon-CDz2oozx.js → BaseIcon-DLJ5Lzvf.js} +1 -1
  4. package/dist/{ColorPicker-BxiEt6Tt.js → ColorPicker-uH4pBeoc.js} +2 -2
  5. package/dist/{DataTable-iAIT4SCP.js → DataTable-DWXGn13M.js} +2 -2
  6. package/dist/{Legend-CyOENTUo.js → Legend-XvLWu-U4.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-CA6KMiGz.js → NonSvgPenAndPaper-DY6-8nWM.js} +3 -3
  8. package/dist/{PackageVersion-BYRaFDzL.js → PackageVersion-CcyOrmqr.js} +1 -1
  9. package/dist/{PenAndPaper-rr8902FN.js → PenAndPaper-S1h1sM_v.js} +3 -3
  10. package/dist/{Shape-CEqtl1VO.js → Shape-B2NNkVEU.js} +1 -1
  11. package/dist/{Slicer-DDzthK35.js → Slicer-C2128jWm.js} +2 -2
  12. package/dist/{SparkTooltip-CtRls3um.js → SparkTooltip-B0IgrAiC.js} +1 -1
  13. package/dist/{Title-B7M9e3sH.js → Title-BT7bS0eb.js} +1 -1
  14. package/dist/{Tooltip-COY92a5-.js → Tooltip-CbaafXw_.js} +1 -1
  15. package/dist/{UserOptions-DK3vsMFd.js → UserOptions-C9lB05jb.js} +2 -2
  16. package/dist/{dom-to-png-D3GALOZU.js → dom-to-png-B5f_cRVB.js} +1 -1
  17. package/dist/{img-CcchoCI6.js → img-BScthXJW.js} +1 -1
  18. package/dist/{index-fJBJ72OC.js → index-DTJkgcxh.js} +341 -337
  19. package/dist/{pdf-DYTZWUjw.js → pdf-DEfty6-G.js} +1 -1
  20. package/dist/style.css +1 -1
  21. package/dist/types/vue-data-ui.d.cts +3 -2
  22. package/dist/types/vue-data-ui.d.ts +3 -2
  23. package/dist/{useNestedProp-BliM4SGD.js → useNestedProp-DvwKj8Zn.js} +1 -1
  24. package/dist/{usePrinter-DQuFkOC5.js → usePrinter-CbokYjoB.js} +2 -2
  25. package/dist/{vue-data-ui-C1lvBv6z.js → vue-data-ui-BubXK-EN.js} +64 -64
  26. package/dist/vue-data-ui.js +1 -1
  27. package/dist/{vue-ui-3d-bar-C3eQe8U7.js → vue-ui-3d-bar-BgbiwMsJ.js} +6 -6
  28. package/dist/{vue-ui-accordion-CsrBV8sH.js → vue-ui-accordion-BDuLBbkX.js} +3 -3
  29. package/dist/{vue-ui-age-pyramid-n7sNiWF2.js → vue-ui-age-pyramid-B8esFXAj.js} +6 -6
  30. package/dist/{vue-ui-annotator-DYst7GL2.js → vue-ui-annotator-BM2Fxwyn.js} +2 -2
  31. package/dist/{vue-ui-bullet-Cl2M41Ke.js → vue-ui-bullet-C5r2tlAw.js} +7 -7
  32. package/dist/{vue-ui-candlestick-6jYtO7Vh.js → vue-ui-candlestick-DEqKEVdy.js} +149 -150
  33. package/dist/{vue-ui-carousel-table--F9f6OWZ.js → vue-ui-carousel-table-CHABZSa7.js} +4 -4
  34. package/dist/{vue-ui-chestnut-nZz6MY0E.js → vue-ui-chestnut-CKmXKQ61.js} +5 -5
  35. package/dist/{vue-ui-chord-Dlj-3X51.js → vue-ui-chord-DW2ndivp.js} +8 -8
  36. package/dist/{vue-ui-circle-pack-DhUppMs-.js → vue-ui-circle-pack-BKlgiMRS.js} +6 -6
  37. package/dist/{vue-ui-cursor-D6sHbFHG.js → vue-ui-cursor-BpctNjDR.js} +2 -2
  38. package/dist/{vue-ui-dashboard-DaxbLtod.js → vue-ui-dashboard-C304-EeY.js} +62 -62
  39. package/dist/{vue-ui-digits-D-ujFZF8.js → vue-ui-digits-anpApSWe.js} +2 -2
  40. package/dist/{vue-ui-donut-DORQBhM_.js → vue-ui-donut-JzjQTiDx.js} +8 -8
  41. package/dist/vue-ui-donut-evolution-nQbgWXs5.js +1072 -0
  42. package/dist/{vue-ui-dumbbell-Biush2C5.js → vue-ui-dumbbell-BgnmrlkA.js} +7 -7
  43. package/dist/{vue-ui-flow-DpX0UCZi.js → vue-ui-flow-DEPrQA-w.js} +7 -7
  44. package/dist/{vue-ui-funnel-CP1GlNtS.js → vue-ui-funnel-ojf0srk6.js} +6 -6
  45. package/dist/{vue-ui-galaxy-DfKr6Mae.js → vue-ui-galaxy-CYP_NOuc.js} +5 -5
  46. package/dist/{vue-ui-gauge-BZmrsbJ9.js → vue-ui-gauge-PZkGA3xT.js} +6 -6
  47. package/dist/{vue-ui-gizmo-DU7dxEIZ.js → vue-ui-gizmo-BVEf1l02.js} +3 -3
  48. package/dist/{vue-ui-heatmap-DLeCwx6k.js → vue-ui-heatmap-C0QKWdB2.js} +7 -7
  49. package/dist/{vue-ui-history-plot-BrvUX4gK.js → vue-ui-history-plot-DL6znOA2.js} +7 -7
  50. package/dist/{vue-ui-kpi-s56r373O.js → vue-ui-kpi-k901VoIN.js} +3 -3
  51. package/dist/{vue-ui-mini-loader-jNRdHqeK.js → vue-ui-mini-loader-dO16jdj9.js} +2 -2
  52. package/dist/{vue-ui-molecule-DZUOPeeV.js → vue-ui-molecule-CgBLfrXa.js} +5 -5
  53. package/dist/{vue-ui-mood-radar-CySbOHJ9.js → vue-ui-mood-radar-BxwR2Ez7.js} +7 -7
  54. package/dist/{vue-ui-nested-donuts-zmWAssyd.js → vue-ui-nested-donuts-BIjRulQt.js} +9 -9
  55. package/dist/{vue-ui-onion-L_TXtgR4.js → vue-ui-onion-CkoPdA0-.js} +7 -7
  56. package/dist/{vue-ui-parallel-coordinate-plot-BjTfK64F.js → vue-ui-parallel-coordinate-plot-CHQ4Brih.js} +8 -8
  57. package/dist/{vue-ui-quadrant-DndNU61k.js → vue-ui-quadrant-CEQTH_Vf.js} +8 -8
  58. package/dist/{vue-ui-quick-chart-B1RCrld7.js → vue-ui-quick-chart-DIoqKBCM.js} +265 -263
  59. package/dist/{vue-ui-radar-OMddOqeu.js → vue-ui-radar-Cft9wyK8.js} +7 -7
  60. package/dist/{vue-ui-rating-BTFawXu8.js → vue-ui-rating-OARiI9ot.js} +2 -2
  61. package/dist/{vue-ui-relation-circle-CSZUUpA2.js → vue-ui-relation-circle-B-Zb1LQY.js} +6 -6
  62. package/dist/{vue-ui-ridgeline-Hq3omBeT.js → vue-ui-ridgeline-v7NEDfRs.js} +8 -8
  63. package/dist/{vue-ui-rings-CwPNpgCY.js → vue-ui-rings-BQwfTTzr.js} +8 -8
  64. package/dist/{vue-ui-scatter-CtiY2eO5.js → vue-ui-scatter-CHQCbV8M.js} +8 -8
  65. package/dist/{vue-ui-skeleton-Coyylsf1.js → vue-ui-skeleton-CHJxsFpK.js} +3 -3
  66. package/dist/{vue-ui-smiley-CtC16aE_.js → vue-ui-smiley-CsWC9IZ1.js} +2 -2
  67. package/dist/{vue-ui-spark-trend-D51qNzOE.js → vue-ui-spark-trend-BuamubwE.js} +3 -3
  68. package/dist/{vue-ui-sparkbar-BIV0QfYy.js → vue-ui-sparkbar-BHGRAUXV.js} +3 -3
  69. package/dist/{vue-ui-sparkgauge-B4ClXnGf.js → vue-ui-sparkgauge-DUnltuDi.js} +3 -3
  70. package/dist/{vue-ui-sparkhistogram-Dr7IDQTa.js → vue-ui-sparkhistogram-BMedlapo.js} +4 -4
  71. package/dist/{vue-ui-sparkline-BOlHSO6v.js → vue-ui-sparkline-BHNwaMiS.js} +3 -3
  72. package/dist/{vue-ui-sparkstackbar-D4XwZcKR.js → vue-ui-sparkstackbar-vRQz_uQJ.js} +3 -3
  73. package/dist/{vue-ui-stackbar-4aaZsvIC.js → vue-ui-stackbar-CQ6dTUhn.js} +328 -329
  74. package/dist/{vue-ui-strip-plot-CjqnGufK.js → vue-ui-strip-plot-CO2CPtr7.js} +7 -7
  75. package/dist/{vue-ui-table-CmOvVren.js → vue-ui-table-BLsZesaa.js} +3 -3
  76. package/dist/{vue-ui-table-heatmap-DBl2qszz.js → vue-ui-table-heatmap-CGDBekDd.js} +5 -5
  77. package/dist/{vue-ui-table-sparkline-CocUmVJB.js → vue-ui-table-sparkline-DDBnNFfS.js} +4 -4
  78. package/dist/{vue-ui-thermometer-BrjOEzEz.js → vue-ui-thermometer-DCgjIlYn.js} +6 -6
  79. package/dist/{vue-ui-timer-B5AaNDZt.js → vue-ui-timer-BUTGgiXL.js} +5 -5
  80. package/dist/{vue-ui-tiremarks-CMhnPzcj.js → vue-ui-tiremarks-Dbwy0DLv.js} +6 -6
  81. package/dist/{vue-ui-treemap-wV1Brun_.js → vue-ui-treemap-fZnaJFLV.js} +8 -8
  82. package/dist/{vue-ui-vertical-bar-DkdMEKrJ.js → vue-ui-vertical-bar-CC1RSDNH.js} +9 -9
  83. package/dist/{vue-ui-waffle-D7UqwRa-.js → vue-ui-waffle-yCHIWPVz.js} +8 -8
  84. package/dist/{vue-ui-wheel-G7G2XvoJ.js → vue-ui-wheel-BgCEnXux.js} +6 -6
  85. package/dist/{vue-ui-word-cloud-D04DJczJ.js → vue-ui-word-cloud-DdYN7hGc.js} +6 -6
  86. package/dist/{vue-ui-world-F3toaZ3V.js → vue-ui-world-Drt14jLg.js} +6 -6
  87. package/dist/{vue-ui-xy-DgUQf_Zh.js → vue-ui-xy-E2hScHc-.js} +348 -342
  88. package/dist/{vue-ui-xy-canvas-BEEg7Vs6.js → vue-ui-xy-canvas-DYaSIflg.js} +251 -252
  89. package/package.json +1 -1
  90. package/dist/vue-ui-donut-evolution-CIESyjfI.js +0 -1034
@@ -1,12 +1,12 @@
1
- import { defineAsyncComponent as he, ref as z, computed as U, watch as Ve, shallowRef as ft, onMounted as Tt, onBeforeUnmount as Pt, nextTick as Me, createElementBlock as l, openBlock as a, normalizeStyle as R, normalizeClass as fe, createBlock as Fe, createCommentVNode as g, createVNode as ge, unref as f, createSlots as Rt, withCtx as G, renderSlot as M, normalizeProps as ie, guardReactiveProps as ue, toDisplayString as O, createElementVNode as _, Fragment as m, renderList as $, mergeProps as qe } from "vue";
2
- import { u as Mt, c as Ft, t as Nt, p as q, a as Ut, C as gt, b as Bt, G as Dt, e as Vt, d as He, m as qt, D as mt, X as Ht, j as Wt, k as We, n as Le, i as X, f as D, I as jt, V as pt, v as Z, x as Ne, y as je } from "./index-fJBJ72OC.js";
1
+ import { defineAsyncComponent as ce, ref as z, computed as U, watch as Be, shallowRef as ht, onMounted as Tt, onBeforeUnmount as Pt, nextTick as ft, createElementBlock as l, openBlock as a, normalizeStyle as R, normalizeClass as he, createBlock as Re, createCommentVNode as g, createVNode as fe, unref as f, createSlots as Rt, withCtx as G, renderSlot as M, normalizeProps as ie, guardReactiveProps as ue, toDisplayString as O, createElementVNode as _, Fragment as m, renderList as $, mergeProps as De } from "vue";
2
+ import { u as Mt, c as Ft, t as Nt, p as q, a as Ut, C as gt, b as Bt, G as Dt, e as Vt, d as Ve, m as qt, D as mt, X as Ht, j as Wt, k as qe, n as _e, i as X, f as D, I as jt, V as pt, v as Z, x as Me, y as He } from "./index-DTJkgcxh.js";
3
3
  import { t as Gt, u as Xt } from "./useResponsive-DfdjqQps.js";
4
- import { u as yt } from "./useNestedProp-BliM4SGD.js";
5
- import { u as Zt } from "./usePrinter-DQuFkOC5.js";
4
+ import { u as yt } from "./useNestedProp-DvwKj8Zn.js";
5
+ import { u as Zt } from "./usePrinter-CbokYjoB.js";
6
6
  import { u as Yt } from "./useChartAccessibility-9icAAmYg.js";
7
- import { S as Jt } from "./Slicer-DDzthK35.js";
7
+ import { S as Jt } from "./Slicer-C2128jWm.js";
8
8
  import { u as Qt } from "./useTimeLabels-DFkUfjfs.js";
9
- import Kt from "./img-CcchoCI6.js";
9
+ import Kt from "./img-BScthXJW.js";
10
10
  import { _ as ea } from "./_plugin-vue_export-helper-CHgC5LLL.js";
11
11
  const A = {
12
12
  LINE: "LINE",
@@ -15,18 +15,18 @@ const A = {
15
15
  }, ta = ["SERIE", "SERIES", "DATA", "VALUE", "VALUES", "NUM"];
16
16
  function aa({ dataset: c, barLineSwitch: C = 6 }) {
17
17
  let y = null, T = null, H = 0;
18
- if ((typeof c == "number" || typeof c == "string") && console.warn(`The provided dataset (${c}) is not sufficient to build a chart`), ze(c) && (Y(c) && (c.length < C ? y = A.BAR : y = A.LINE, T = c, H = c.length), Ue(c))) {
18
+ if ((typeof c == "number" || typeof c == "string") && console.warn(`The provided dataset (${c}) is not sufficient to build a chart`), Le(c) && (Y(c) && (c.length < C ? y = A.BAR : y = A.LINE, T = c, H = c.length), Fe(c))) {
19
19
  if (!oa(c))
20
20
  return console.warn("The objects in the dataset array have a different data structure. Either keys or value types are different."), !1;
21
- const ye = Object.keys(c[0]), $e = Object.values(c[0]);
22
- if (!ye.some((F) => na(F)))
21
+ const pe = Object.keys(c[0]), ze = Object.values(c[0]);
22
+ if (!pe.some((F) => na(F)))
23
23
  return console.warn("The data type of the dataset objects in the array must contain one of the following keys: DATA, SERIES, VALUE, VALUES, NUM. Casing is not important."), !1;
24
- xt($e, (F) => typeof F == "number") && (y = A.DONUT, T = c), xt($e, (F) => Array.isArray(F) && Y(F)) && (kt(c) > C ? y = A.LINE : y = A.BAR, H = kt(c), T = c.map((F) => ({
24
+ xt(ze, (F) => typeof F == "number") && (y = A.DONUT, T = c), xt(ze, (F) => Array.isArray(F) && Y(F)) && (kt(c) > C ? y = A.LINE : y = A.BAR, H = kt(c), T = c.map((F) => ({
25
25
  ...F,
26
26
  data: ia(F, (B) => Y(B))
27
27
  }))), c = c.map((F) => bt(F)), T = T.map((F) => bt(F));
28
28
  }
29
- return ze(c) && [...new Set(c.flatMap((ye) => Array.isArray(ye)))][0], {
29
+ return Le(c) && [...new Set(c.flatMap((pe) => Array.isArray(pe)))][0], {
30
30
  dataset: c,
31
31
  type: y,
32
32
  usableDataset: T,
@@ -34,26 +34,26 @@ function aa({ dataset: c, barLineSwitch: C = 6 }) {
34
34
  };
35
35
  }
36
36
  function St(c) {
37
- return !c || ze(c) && !c.length;
37
+ return !c || Le(c) && !c.length;
38
38
  }
39
- function ze(c) {
39
+ function Le(c) {
40
40
  return Array.isArray(c);
41
41
  }
42
42
  function Y(c) {
43
- if (!ze(c) || St(c)) return !1;
43
+ if (!Le(c) || St(c)) return !1;
44
44
  const C = c.map((y) => Number(y));
45
45
  return ![...new Set(C.flatMap((y) => typeof y == "number" && !isNaN(y)))].includes(!1);
46
46
  }
47
- function Ue(c) {
48
- return !ze(c) || St(c) || !![...new Set(c.flatMap((y) => typeof y == "object" && !Array.isArray(y)))].includes(!1) ? !1 : !c.map((y) => Object.keys(y).length > 0).includes(!1);
47
+ function Fe(c) {
48
+ return !Le(c) || St(c) || !![...new Set(c.flatMap((y) => typeof y == "object" && !Array.isArray(y)))].includes(!1) ? !1 : !c.map((y) => Object.keys(y).length > 0).includes(!1);
49
49
  }
50
50
  function la(c, C) {
51
51
  const y = Object.keys(c).sort(), T = Object.keys(C).sort();
52
52
  if (y.length !== T.length)
53
53
  return !1;
54
54
  for (let H = 0; H < y.length; H += 1) {
55
- const me = y[H], pe = T[H];
56
- if (me !== pe || typeof c[me] != typeof C[pe])
55
+ const ge = y[H], me = T[H];
56
+ if (ge !== me || typeof c[ge] != typeof C[me])
57
57
  return !1;
58
58
  }
59
59
  return !0;
@@ -153,33 +153,33 @@ const ua = ["id"], ra = ["xmlns", "viewBox"], sa = ["x", "y", "width", "height"]
153
153
  },
154
154
  emits: ["selectDatapoint", "selectLegend"],
155
155
  setup(c, { expose: C, emit: y }) {
156
- const T = he(() => import("./BaseIcon-CDz2oozx.js")), H = he(() => import("./PackageVersion-BYRaFDzL.js")), me = he(() => import("./PenAndPaper-rr8902FN.js")), pe = he(() => import("./vue-ui-skeleton-Coyylsf1.js")), ye = he(() => import("./Tooltip-COY92a5-.js")), $e = he(() => import("./UserOptions-DK3vsMFd.js")), { vue_ui_quick_chart: F } = Mt(), B = c, J = z(null), Ge = z(null), Xe = z(null), Ze = z(null), Q = z(Ft()), te = z(!1), xe = z(null), ae = z(""), W = z(null), Ye = z(null), Je = z(null), w = z([]), Qe = z(0), Ce = z(0), e = U({
157
- get: () => at(),
156
+ const T = ce(() => import("./BaseIcon-DLJ5Lzvf.js")), H = ce(() => import("./PackageVersion-CcyOrmqr.js")), ge = ce(() => import("./PenAndPaper-S1h1sM_v.js")), me = ce(() => import("./vue-ui-skeleton-CHJxsFpK.js")), pe = ce(() => import("./Tooltip-CbaafXw_.js")), ze = ce(() => import("./UserOptions-C9lB05jb.js")), { vue_ui_quick_chart: F } = Mt(), B = c, J = z(null), We = z(null), je = z(null), Ge = z(null), Q = z(Ft()), te = z(!1), ye = z(null), ae = z(""), W = z(null), Xe = z(null), Ze = z(null), w = z([]), Ye = z(0), $e = z(0), e = U({
157
+ get: () => et(),
158
158
  set: (o) => o
159
- }), { svgRef: Ke } = Yt({ config: { text: e.value.title } }), wt = U(() => e.value.showUserOptionsOnChartHover), et = U(() => e.value.keepUserOptionsStateOnChartLeave), Ie = z(!e.value.showUserOptionsOnChartHover);
160
- function tt(o = !1) {
161
- wt.value && (Ie.value = o);
159
+ }), { svgRef: Je } = Yt({ config: { text: e.value.title } }), wt = U(() => e.value.showUserOptionsOnChartHover), Qe = U(() => e.value.keepUserOptionsStateOnChartLeave), Ce = z(!e.value.showUserOptionsOnChartHover);
160
+ function Ke(o = !1) {
161
+ wt.value && (Ce.value = o);
162
162
  }
163
- function at() {
163
+ function et() {
164
164
  const o = yt({
165
165
  userConfig: B.config,
166
166
  defaultConfig: F
167
167
  });
168
- let s = {};
169
- return o.theme ? s = {
168
+ let r = {};
169
+ return o.theme ? r = {
170
170
  ...yt({
171
171
  userConfig: Ut.vue_ui_quick_chart[o.theme] || B.config,
172
172
  defaultConfig: o
173
173
  }),
174
174
  customPalette: Nt[o.theme] || q
175
- } : s = o, B.config && gt(B.config, "zoomStartIndex") ? s.zoomStartIndex = B.config.zoomStartIndex : s.zoomStartIndex = null, B.config && gt(B.config, "zoomEndIndex") ? s.zoomEndIndex = B.config.zoomEndIndex : s.zoomEndIndex = null, s;
175
+ } : r = o, B.config && gt(B.config, "zoomStartIndex") ? r.zoomStartIndex = B.config.zoomStartIndex : r.zoomStartIndex = null, B.config && gt(B.config, "zoomEndIndex") ? r.zoomEndIndex = B.config.zoomEndIndex : r.zoomEndIndex = null, r;
176
176
  }
177
- Ve(() => B.config, (o) => {
178
- e.value = at(), b.value.width = e.value.width, b.value.height = e.value.height, Ie.value = !e.value.showUserOptionsOnChartHover, nt(), Se.value.showTooltip = e.value.showTooltip;
179
- }, { deep: !0 }), Ve(() => B.dataset, (o) => {
180
- p.value = be.value, x.value.start = 0, x.value.end = p.value.maxSeriesLength, Ce.value += 1;
177
+ Be(() => B.config, (o) => {
178
+ e.value = et(), b.value.width = e.value.width, b.value.height = e.value.height, Ce.value = !e.value.showUserOptionsOnChartHover, lt(), be.value.showTooltip = e.value.showTooltip;
179
+ }, { deep: !0 }), Be(() => B.dataset, (o) => {
180
+ p.value = ke.value, x.value.start = 0, x.value.end = p.value.maxSeriesLength, $e.value += 1;
181
181
  }, { deep: !0 });
182
- const ke = U(() => Bt(e.value.customPalette)), re = y, be = U(() => {
182
+ const xe = U(() => Bt(e.value.customPalette)), re = y, ke = U(() => {
183
183
  const o = aa({ dataset: Dt(B.dataset, [
184
184
  "serie",
185
185
  "series",
@@ -189,44 +189,44 @@ const ua = ["id"], ra = ["xmlns", "viewBox"], sa = ["x", "y", "width", "height"]
189
189
  "num"
190
190
  ]), barLineSwitch: e.value.chartIsBarUnderDatasetLength });
191
191
  return o || console.error("VueUiQuickChart : Dataset is not processable"), o;
192
- }), p = z(be.value), At = U(() => !!p.value), L = U(() => p.value ? p.value.type : null);
193
- Ve(() => L.value, (o) => {
192
+ }), p = z(ke.value), At = U(() => !!p.value), L = U(() => p.value ? p.value.type : null);
193
+ Be(() => L.value, (o) => {
194
194
  o || Vt({
195
195
  componentName: "VueUiQuickChart",
196
196
  type: "dataset"
197
197
  });
198
198
  }, { immediate: !0 });
199
- const { isPrinting: Ee, isImaging: Oe, generatePdf: lt, generateImage: ot } = Zt({
199
+ const { isPrinting: Ie, isImaging: Ee, generatePdf: tt, generateImage: at } = Zt({
200
200
  elementId: `${L.value}_${Q.value}`,
201
201
  fileName: e.value.title || L.value,
202
202
  options: e.value.userOptionsPrint
203
203
  }), _t = U(() => e.value.showUserOptions && !e.value.title), b = z({
204
204
  width: e.value.width,
205
205
  height: e.value.height
206
- }), Se = z({
206
+ }), be = z({
207
207
  showTooltip: e.value.showTooltip
208
- }), K = ft(null), se = ft(null);
208
+ }), K = ht(null), se = ht(null);
209
209
  Tt(() => {
210
- nt();
210
+ lt();
211
211
  });
212
- function nt() {
212
+ function lt() {
213
213
  if (e.value.responsive) {
214
214
  const o = Gt(() => {
215
- const { width: s, height: t } = Xt({
215
+ const { width: r, height: t } = Xt({
216
216
  chart: J.value,
217
- title: e.value.title ? Ge.value : null,
218
- legend: e.value.showLegend ? Xe.value : null,
219
- slicer: [A.BAR, A.LINE].includes(L.value) && e.value.zoomXy && p.value.maxSeriesLength > 1 ? Ze.value : null,
220
- source: Ye.value,
221
- noTitle: Je.value
217
+ title: e.value.title ? We.value : null,
218
+ legend: e.value.showLegend ? je.value : null,
219
+ slicer: [A.BAR, A.LINE].includes(L.value) && e.value.zoomXy && p.value.maxSeriesLength > 1 ? Ge.value : null,
220
+ source: Xe.value,
221
+ noTitle: Ze.value
222
222
  });
223
223
  requestAnimationFrame(() => {
224
- b.value.width = s, b.value.height = t;
224
+ b.value.width = r, b.value.height = t;
225
225
  });
226
226
  });
227
227
  K.value && (se.value && K.value.unobserve(se.value), K.value.disconnect()), K.value = new ResizeObserver(o), se.value = J.value.parentNode, K.value.observe(se.value);
228
228
  }
229
- dt();
229
+ vt();
230
230
  }
231
231
  Pt(() => {
232
232
  K.value && (se.value && K.value.unobserve(se.value), K.value.disconnect());
@@ -243,23 +243,23 @@ const ua = ["id"], ra = ["xmlns", "viewBox"], sa = ["x", "y", "width", "height"]
243
243
  return `0 0 ${b.value.width <= 0 ? 10 : b.value.width} ${b.value.height <= 0 ? 10 : b.value.height}`;
244
244
  }
245
245
  });
246
- function it(o) {
247
- return [...o].map((s) => s.value).reduce((s, t) => s + t, 0);
246
+ function ot(o) {
247
+ return [...o].map((r) => r.value).reduce((r, t) => r + t, 0);
248
248
  }
249
- function we(o) {
249
+ function Se(o) {
250
250
  return e.value.blurOnHover && ![null, void 0].includes(W.value) && W.value !== o ? `url(#blur_${Q.value})` : "";
251
251
  }
252
- function ut(o, s) {
253
- w.value.includes(o) ? w.value = w.value.filter((t) => t !== o) : w.value.length < s && w.value.push(o);
252
+ function nt(o, r) {
253
+ w.value.includes(o) ? w.value = w.value.filter((t) => t !== o) : w.value.length < r && w.value.push(o);
254
254
  }
255
- const rt = z(null), st = z(null), Te = z(!1);
256
- function zt(o, s) {
257
- Te.value = !0;
255
+ const it = z(null), ut = z(null), Oe = z(!1);
256
+ function zt(o, r) {
257
+ Oe.value = !0;
258
258
  let t = o.value;
259
- const u = be.value.dataset.find((r, h) => o.id === `donut_${h}`).VALUE;
259
+ const u = ke.value.dataset.find((s, h) => o.id === `donut_${h}`).VALUE;
260
260
  if (w.value.includes(o.id)) {
261
- let r = function() {
262
- t > u ? (Te.value = !1, cancelAnimationFrame(st.value), p.value = {
261
+ let s = function() {
262
+ t > u ? (Oe.value = !1, cancelAnimationFrame(ut.value), p.value = {
263
263
  ...p.value,
264
264
  dataset: p.value.dataset.map((h, P) => o.id === `donut_${P}` ? {
265
265
  ...h,
@@ -273,12 +273,12 @@ const ua = ["id"], ra = ["xmlns", "viewBox"], sa = ["x", "y", "width", "height"]
273
273
  value: t,
274
274
  VALUE: t
275
275
  } : h)
276
- }, st.value = requestAnimationFrame(r));
276
+ }, ut.value = requestAnimationFrame(s));
277
277
  };
278
- w.value = w.value.filter((h) => h !== o.id), r();
279
- } else if (s.length > 1) {
280
- let r = function() {
281
- t < u / 100 ? (Te.value = !1, cancelAnimationFrame(rt.value), w.value.push(o.id), p.value = {
278
+ w.value = w.value.filter((h) => h !== o.id), s();
279
+ } else if (r.length > 1) {
280
+ let s = function() {
281
+ t < u / 100 ? (Oe.value = !1, cancelAnimationFrame(it.value), w.value.push(o.id), p.value = {
282
282
  ...p.value,
283
283
  dataset: p.value.dataset.map((h, P) => o.id === `donut_${P}` ? {
284
284
  ...h,
@@ -292,16 +292,16 @@ const ua = ["id"], ra = ["xmlns", "viewBox"], sa = ["x", "y", "width", "height"]
292
292
  value: t,
293
293
  VALUE: t
294
294
  } : h)
295
- }, rt.value = requestAnimationFrame(r));
295
+ }, it.value = requestAnimationFrame(s));
296
296
  };
297
- r();
297
+ s();
298
298
  }
299
299
  }
300
300
  const j = z(null);
301
301
  function $t(o) {
302
302
  j.value = o;
303
303
  }
304
- const vt = U(() => e.value.donutThicknessRatio < 0.15 ? 0.15 : e.value.donutThicknessRatio > 0.4 ? 0.4 : e.value.donutThicknessRatio), I = U(() => {
304
+ const rt = U(() => e.value.donutThicknessRatio < 0.15 ? 0.15 : e.value.donutThicknessRatio > 0.4 ? 0.4 : e.value.donutThicknessRatio), I = U(() => {
305
305
  if (L.value !== A.DONUT) return null;
306
306
  const o = p.value.dataset.map((n, i) => ({
307
307
  ...n,
@@ -310,12 +310,12 @@ const ua = ["id"], ra = ["xmlns", "viewBox"], sa = ["x", "y", "width", "height"]
310
310
  id: `donut_${i}`
311
311
  })).map((n, i) => ({
312
312
  ...n,
313
- color: n.COLOR ? He(n.COLOR) : ke.value[i + e.value.paletteStartIndex] || q[i + e.value.paletteStartIndex] || q[(i + e.value.paletteStartIndex) % q.length],
313
+ color: n.COLOR ? Ve(n.COLOR) : xe.value[i + e.value.paletteStartIndex] || q[i + e.value.paletteStartIndex] || q[(i + e.value.paletteStartIndex) % q.length],
314
314
  immutableValue: n.value
315
315
  }));
316
- function s(n, i) {
316
+ function r(n, i) {
317
317
  return D({
318
- v: isNaN(n.value / it(i)) ? 0 : n.value / it(i) * 100,
318
+ v: isNaN(n.value / ot(i)) ? 0 : n.value / ot(i) * 100,
319
319
  s: "%",
320
320
  r: e.value.dataLabelRoundingPercentage
321
321
  });
@@ -324,13 +324,13 @@ const ua = ["id"], ra = ["xmlns", "viewBox"], sa = ["x", "y", "width", "height"]
324
324
  return n.proportion * 100 > e.value.donutHideLabelUnderPercentage;
325
325
  }
326
326
  function u(n, i) {
327
- const S = be.value.dataset.find((E, N) => `donut_${N}` === n).VALUE;
327
+ const S = ke.value.dataset.find((E, N) => `donut_${N}` === n).VALUE;
328
328
  return Math.abs(String(Number(S.toFixed(0))).length - String(Number(i.toFixed(0))).length);
329
329
  }
330
- function r({ datapoint: n, seriesIndex: i }) {
331
- xe.value = { datapoint: n, seriesIndex: i, config: e.value, dataset: o }, W.value = n.id;
330
+ function s({ datapoint: n, seriesIndex: i }) {
331
+ ye.value = { datapoint: n, seriesIndex: i, config: e.value, dataset: o }, W.value = n.id;
332
332
  const S = e.value.tooltipCustomFormat;
333
- if (Ne(S) && je(() => S({
333
+ if (Me(S) && He(() => S({
334
334
  datapoint: n,
335
335
  seriesIndex: i,
336
336
  series: o,
@@ -364,29 +364,29 @@ const ua = ["id"], ra = ["xmlns", "viewBox"], sa = ["x", "y", "width", "height"]
364
364
  const P = {
365
365
  centerX: b.value.width / 2,
366
366
  centerY: b.value.height / 2
367
- }, V = o.filter((n) => !w.value.includes(n.id)).map((n) => n.value || 0).reduce((n, i) => n + i, 0), de = o.map((n, i) => ({
367
+ }, V = o.filter((n) => !w.value.includes(n.id)).map((n) => n.value || 0).reduce((n, i) => n + i, 0), ve = o.map((n, i) => ({
368
368
  ...n,
369
369
  proportion: (n.value || 0) / V,
370
370
  value: n.value || 0,
371
- absoluteValue: be.value.dataset.find((S, k) => `donut_${k}` === n.id).VALUE
372
- })), le = b.value.width / 2, ce = b.value.height / 2, oe = b.value.height * e.value.donutRadiusRatio;
371
+ absoluteValue: ke.value.dataset.find((S, k) => `donut_${k}` === n.id).VALUE
372
+ })), le = b.value.width / 2, de = b.value.height / 2, oe = b.value.height * e.value.donutRadiusRatio;
373
373
  return {
374
- dataset: de.filter((n) => !w.value.includes(n.id)),
375
- legend: de,
374
+ dataset: ve.filter((n) => !w.value.includes(n.id)),
375
+ legend: ve,
376
376
  drawingArea: P,
377
- displayArcPercentage: s,
377
+ displayArcPercentage: r,
378
378
  isArcBigEnough: t,
379
- useTooltip: r,
379
+ useTooltip: s,
380
380
  killTooltip: h,
381
381
  getSpaces: u,
382
382
  total: V,
383
383
  cx: le,
384
- cy: ce,
384
+ cy: de,
385
385
  radius: oe,
386
386
  chart: qt(
387
387
  { series: o.filter((n) => !w.value.includes(n.id)) },
388
388
  le,
389
- ce,
389
+ de,
390
390
  oe,
391
391
  oe,
392
392
  1.99999,
@@ -394,7 +394,7 @@ const ua = ["id"], ra = ["xmlns", "viewBox"], sa = ["x", "y", "width", "height"]
394
394
  1,
395
395
  360,
396
396
  105.25,
397
- b.value.height * vt.value
397
+ b.value.height * rt.value
398
398
  )
399
399
  };
400
400
  }), x = z({
@@ -402,41 +402,43 @@ const ua = ["id"], ra = ["xmlns", "viewBox"], sa = ["x", "y", "width", "height"]
402
402
  end: p.value.maxSeriesLength
403
403
  });
404
404
  function Ct() {
405
- dt();
405
+ vt();
406
406
  }
407
- const ve = z(null);
408
- async function dt() {
409
- (e.value.zoomStartIndex !== null || e.value.zoomEndIndex !== null) && ve.value ? (e.value.zoomStartIndex !== null && (await Me(), await Me(), ve.value && ve.value.setStartValue(e.value.zoomStartIndex)), e.value.zoomEndIndex !== null && (await Me(), await Me(), ve.value && ve.value.setEndValue(It(e.value.zoomEndIndex + 1)))) : (x.value = {
407
+ const st = z(null);
408
+ async function vt() {
409
+ await ft(), await ft();
410
+ const { zoomStartIndex: o, zoomEndIndex: r } = e.value, t = st.value;
411
+ (o != null || r != null) && t ? (o != null && t.setStartValue(o), r != null && t.setEndValue(It(r + 1))) : (x.value = {
410
412
  start: 0,
411
413
  end: p.value.maxSeriesLength
412
- }, Ce.value += 1);
414
+ }, $e.value += 1);
413
415
  }
414
416
  function It(o) {
415
- const s = p.value.maxSeriesLength;
416
- return o > s ? s : o < 0 || e.value.zoomStartIndex !== null && o < e.value.zoomStartIndex ? e.value.zoomStartIndex !== null ? e.value.zoomStartIndex + 1 : 1 : o;
417
+ const r = p.value.maxSeriesLength;
418
+ return o > r ? r : o < 0 || e.value.zoomStartIndex !== null && o < e.value.zoomStartIndex ? e.value.zoomStartIndex !== null ? e.value.zoomStartIndex + 1 : 1 : o;
417
419
  }
418
420
  const Et = U(() => {
419
421
  if (!e.value.zoomMinimap.show || L.value === A.DONUT) return [];
420
422
  let o = [];
421
- Y(p.value.dataset) && (o = p.value.dataset), Ue(p.value.dataset) && (o = p.value.dataset.map((r, h) => ({
422
- values: r.VALUE || r.DATA || r.SERIE || r.SERIES || r.VALUES || r.NUM || 0,
423
+ Y(p.value.dataset) && (o = p.value.dataset), Fe(p.value.dataset) && (o = p.value.dataset.map((s, h) => ({
424
+ values: s.VALUE || s.DATA || s.SERIE || s.SERIES || s.VALUES || s.NUM || 0,
423
425
  id: L.value === A.LINE ? `line_${h}` : `bar_${h}`
424
- })).filter((r) => !w.value.includes(r.id)));
425
- const s = Y(o) ? o.length : Math.max(...o.map((r) => r.values.length));
426
+ })).filter((s) => !w.value.includes(s.id)));
427
+ const r = Y(o) ? o.length : Math.max(...o.map((s) => s.values.length));
426
428
  let t = [];
427
429
  if (Y(o))
428
430
  t = o;
429
431
  else
430
- for (let r = 0; r < s; r += 1)
431
- t.push(o.map((h) => h.values[r] || 0).reduce((h, P) => (h || 0) + (P || 0), 0));
432
+ for (let s = 0; s < r; s += 1)
433
+ t.push(o.map((h) => h.values[s] || 0).reduce((h, P) => (h || 0) + (P || 0), 0));
432
434
  const u = Math.min(...t);
433
- return t.map((r) => r + (u < 0 ? Math.abs(u) : 0));
435
+ return t.map((s) => s + (u < 0 ? Math.abs(u) : 0));
434
436
  }), v = U(() => {
435
437
  if (L.value !== A.LINE) return null;
436
438
  const o = {
437
439
  height: b.value.height,
438
440
  width: b.value.width
439
- }, s = {
441
+ }, r = {
440
442
  left: e.value.xyPaddingLeft,
441
443
  top: e.value.xyPaddingTop,
442
444
  right: o.width - e.value.xyPaddingRight,
@@ -450,17 +452,17 @@ const ua = ["id"], ra = ["xmlns", "viewBox"], sa = ["x", "y", "width", "height"]
450
452
  values: p.value.dataset.slice(x.value.start, x.value.end),
451
453
  absoluteIndices: p.value.dataset.map((n, i) => i).slice(x.value.start, x.value.end),
452
454
  name: e.value.title,
453
- color: ke.value[e.value.paletteStartIndex] || q[e.value.paletteStartIndex],
455
+ color: xe.value[e.value.paletteStartIndex] || q[e.value.paletteStartIndex],
454
456
  id: "line_0"
455
457
  }
456
- ]), Ue(p.value.dataset) && (t = p.value.dataset.map((n, i) => ({
458
+ ]), Fe(p.value.dataset) && (t = p.value.dataset.map((n, i) => ({
457
459
  ...n,
458
460
  values: n.VALUE || n.DATA || n.SERIE || n.SERIES || n.VALUES || n.NUM || 0,
459
461
  name: n.NAME || n.DESCRIPTION || n.TITLE || n.LABEL || `Serie ${i}`,
460
462
  id: `line_${i}`
461
463
  })).map((n, i) => ({
462
464
  ...n,
463
- color: n.COLOR ? He(n.COLOR) : ke.value[i + e.value.paletteStartIndex] || q[i + e.value.paletteStartIndex] || q[(i + e.value.paletteStartIndex) % q.length],
465
+ color: n.COLOR ? Ve(n.COLOR) : xe.value[i + e.value.paletteStartIndex] || q[i + e.value.paletteStartIndex] || q[(i + e.value.paletteStartIndex) % q.length],
464
466
  values: n.values.slice(x.value.start, x.value.end),
465
467
  absoluteIndices: n.values.map((S, k) => k).slice(x.value.start, x.value.end)
466
468
  })));
@@ -468,15 +470,15 @@ const ua = ["id"], ra = ["xmlns", "viewBox"], sa = ["x", "y", "width", "height"]
468
470
  max: Math.max(...t.filter((n) => !w.value.includes(n.id)).flatMap((n) => n.values)),
469
471
  min: Math.min(...t.filter((n) => !w.value.includes(n.id)).flatMap((n) => n.values)),
470
472
  maxSeries: Math.max(...t.map((n) => n.values.length))
471
- }, r = mt(u.min < 0 ? u.min : 0, u.max < 0 ? 0 : u.max, e.value.xyScaleSegments), h = u.min < 0 ? Math.abs(u.min) : 0, P = u.max < 0 ? s.top : s.bottom - h / (r.max + h) * s.height, V = s.width / u.maxSeries, de = r.ticks.map((n) => ({
472
- y: s.bottom - s.height * ((n + h) / (r.max + h)),
473
- x: s.left - 8,
473
+ }, s = mt(u.min < 0 ? u.min : 0, u.max < 0 ? 0 : u.max, e.value.xyScaleSegments), h = u.min < 0 ? Math.abs(u.min) : 0, P = u.max < 0 ? r.top : r.bottom - h / (s.max + h) * r.height, V = r.width / u.maxSeries, ve = s.ticks.map((n) => ({
474
+ y: r.bottom - r.height * ((n + h) / (s.max + h)),
475
+ x: r.left - 8,
474
476
  value: n
475
477
  })), le = t.map((n, i) => ({
476
478
  ...n,
477
479
  coordinates: n.values.map((S, k) => ({
478
- x: s.left + V * (k + 1) - V / 2,
479
- y: s.bottom - (S + h) / (r.max + h) * s.height,
480
+ x: r.left + V * (k + 1) - V / 2,
481
+ y: r.bottom - (S + h) / (s.max + h) * r.height,
480
482
  value: S
481
483
  }))
482
484
  })).map((n) => {
@@ -488,16 +490,16 @@ const ua = ["id"], ra = ["xmlns", "viewBox"], sa = ["x", "y", "width", "height"]
488
490
  linePath: i.join(" ")
489
491
  };
490
492
  });
491
- function ce(n) {
493
+ function de(n) {
492
494
  W.value = n, j.value = n;
493
495
  const i = t.map((k) => ({
494
496
  ...k,
495
497
  value: k.values[n],
496
498
  absoluteIndex: k.absoluteIndices[n]
497
499
  })).filter((k) => !w.value.includes(k.id));
498
- xe.value = { datapoint: i, seriesIndex: n, config: e.value, dataset: t };
500
+ ye.value = { datapoint: i, seriesIndex: n, config: e.value, dataset: t };
499
501
  const S = e.value.tooltipCustomFormat;
500
- if (Ne(S) && je(() => S({
502
+ if (Me(S) && He(() => S({
501
503
  datapoint: i,
502
504
  seriesIndex: n,
503
505
  series: t,
@@ -541,11 +543,11 @@ const ua = ["id"], ra = ["xmlns", "viewBox"], sa = ["x", "y", "width", "height"]
541
543
  absoluteZero: P,
542
544
  dataset: le.filter((n) => !w.value.includes(n.id)),
543
545
  legend: le,
544
- drawingArea: s,
546
+ drawingArea: r,
545
547
  extremes: u,
546
548
  slotSize: V,
547
- yLabels: de,
548
- useTooltip: ce,
549
+ yLabels: ve,
550
+ useTooltip: de,
549
551
  killTooltip: oe
550
552
  };
551
553
  }), d = U(() => {
@@ -553,7 +555,7 @@ const ua = ["id"], ra = ["xmlns", "viewBox"], sa = ["x", "y", "width", "height"]
553
555
  const o = {
554
556
  height: b.value.height,
555
557
  width: b.value.width
556
- }, s = {
558
+ }, r = {
557
559
  left: e.value.xyPaddingLeft,
558
560
  top: e.value.xyPaddingTop,
559
561
  right: o.width - e.value.xyPaddingRight,
@@ -567,17 +569,17 @@ const ua = ["id"], ra = ["xmlns", "viewBox"], sa = ["x", "y", "width", "height"]
567
569
  values: p.value.dataset.slice(x.value.start, x.value.end),
568
570
  absoluteIndices: p.value.dataset.map((i, S) => S).slice(x.value.start, x.value.end),
569
571
  name: e.value.title,
570
- color: ke.value[e.value.paletteStartIndex] || q[e.value.paletteStartIndex],
572
+ color: xe.value[e.value.paletteStartIndex] || q[e.value.paletteStartIndex],
571
573
  id: "bar_0"
572
574
  }
573
- ]), Ue(p.value.dataset) && (t = p.value.dataset.map((i, S) => ({
575
+ ]), Fe(p.value.dataset) && (t = p.value.dataset.map((i, S) => ({
574
576
  ...i,
575
577
  values: i.VALUE || i.DATA || i.SERIE || i.SERIES || i.VALUES || i.NUM || 0,
576
578
  name: i.NAME || i.DESCRIPTION || i.TITLE || i.LABEL || `Serie ${S}`,
577
579
  id: `bar_${S}`
578
580
  })).map((i, S) => ({
579
581
  ...i,
580
- color: i.COLOR ? He(i.COLOR) : ke.value[S + e.value.paletteStartIndex] || q[S + e.value.paletteStartIndex] || q[(S + e.value.paletteStartIndex) % q.length],
582
+ color: i.COLOR ? Ve(i.COLOR) : xe.value[S + e.value.paletteStartIndex] || q[S + e.value.paletteStartIndex] || q[(S + e.value.paletteStartIndex) % q.length],
581
583
  values: i.values.slice(x.value.start, x.value.end),
582
584
  absoluteIndices: i.values.map((k, E) => E).slice(x.value.start, x.value.end)
583
585
  })));
@@ -585,32 +587,32 @@ const ua = ["id"], ra = ["xmlns", "viewBox"], sa = ["x", "y", "width", "height"]
585
587
  max: Math.max(...t.filter((i) => !w.value.includes(i.id)).flatMap((i) => i.values)) < 0 ? 0 : Math.max(...t.filter((i) => !w.value.includes(i.id)).flatMap((i) => i.values)),
586
588
  min: Math.min(...t.filter((i) => !w.value.includes(i.id)).flatMap((i) => i.values)),
587
589
  maxSeries: Math.max(...t.filter((i) => !w.value.includes(i.id)).map((i) => i.values.length))
588
- }, r = mt(u.min < 0 ? u.min : 0, u.max, e.value.xyScaleSegments), h = r.min < 0 ? Math.abs(r.min) : 0, P = s.bottom - h / (r.max + h) * s.height, V = s.width / u.maxSeries, de = r.ticks.map((i) => ({
589
- y: s.bottom - s.height * ((i + h) / (r.max + h)),
590
- x: s.left - 8,
590
+ }, s = mt(u.min < 0 ? u.min : 0, u.max, e.value.xyScaleSegments), h = s.min < 0 ? Math.abs(s.min) : 0, P = r.bottom - h / (s.max + h) * r.height, V = r.width / u.maxSeries, ve = s.ticks.map((i) => ({
591
+ y: r.bottom - r.height * ((i + h) / (s.max + h)),
592
+ x: r.left - 8,
591
593
  value: i
592
594
  })), le = t.map((i, S) => ({
593
595
  ...i,
594
596
  coordinates: i.values.map((k, E) => {
595
- const N = (k + h) / (u.max + h) * s.height, Ae = Math.abs(k) / Math.abs(u.min) * (s.height - P), De = h / (u.max + h) * s.height, _e = V / t.filter((ne) => !w.value.includes(ne.id)).length - e.value.barGap / t.filter((ne) => !w.value.includes(ne.id)).length;
597
+ const N = (k + h) / (u.max + h) * r.height, we = Math.abs(k) / Math.abs(u.min) * (r.height - P), Ue = h / (u.max + h) * r.height, Ae = V / t.filter((ne) => !w.value.includes(ne.id)).length - e.value.barGap / t.filter((ne) => !w.value.includes(ne.id)).length;
596
598
  return {
597
- x: s.left + V * E + _e * S + e.value.barGap / 2,
598
- y: k > 0 ? s.bottom - N : P,
599
- height: k > 0 ? N - De : Ae,
599
+ x: r.left + V * E + Ae * S + e.value.barGap / 2,
600
+ y: k > 0 ? r.bottom - N : P,
601
+ height: k > 0 ? N - Ue : we,
600
602
  value: k,
601
- width: _e
603
+ width: Ae
602
604
  };
603
605
  })
604
- })), ce = t.filter((i) => !w.value.includes(i.id)).map((i, S) => ({
606
+ })), de = t.filter((i) => !w.value.includes(i.id)).map((i, S) => ({
605
607
  ...i,
606
608
  coordinates: i.values.map((k, E) => {
607
- const N = (k + h) / (u.max + h) * s.height, Ae = Math.abs(k) / (u.max + h) * s.height, De = h / (u.max + h) * s.height, _e = V / t.filter((ne) => !w.value.includes(ne.id)).length - e.value.barGap / t.filter((ne) => !w.value.includes(ne.id)).length;
609
+ const N = (k + h) / (u.max + h) * r.height, we = Math.abs(k) / (u.max + h) * r.height, Ue = h / (u.max + h) * r.height, Ae = V / t.filter((ne) => !w.value.includes(ne.id)).length - e.value.barGap / t.filter((ne) => !w.value.includes(ne.id)).length;
608
610
  return {
609
- x: s.left + V * E + _e * S + e.value.barGap / 2,
610
- y: k > 0 ? s.bottom - N : P,
611
- height: k > 0 ? N - De : Ae,
611
+ x: r.left + V * E + Ae * S + e.value.barGap / 2,
612
+ y: k > 0 ? r.bottom - N : P,
613
+ height: k > 0 ? N - Ue : we,
612
614
  value: k,
613
- width: _e
615
+ width: Ae
614
616
  };
615
617
  })
616
618
  }));
@@ -621,9 +623,9 @@ const ua = ["id"], ra = ["xmlns", "viewBox"], sa = ["x", "y", "width", "height"]
621
623
  value: E.values[i],
622
624
  absoluteIndex: E.absoluteIndices[i]
623
625
  })).filter((E) => !w.value.includes(E.id));
624
- xe.value = { datapoint: S, seriesIndex: i, config: e.value, dataset: t };
626
+ ye.value = { datapoint: S, seriesIndex: i, config: e.value, dataset: t };
625
627
  const k = e.value.tooltipCustomFormat;
626
- if (Ne(k) && je(() => k({
628
+ if (Me(k) && He(() => k({
627
629
  datapoint: S,
628
630
  seriesIndex: i,
629
631
  series: t,
@@ -637,7 +639,7 @@ const ua = ["id"], ra = ["xmlns", "viewBox"], sa = ["x", "y", "width", "height"]
637
639
  });
638
640
  else {
639
641
  let E = "";
640
- ee.value[S[0].absoluteIndex] && (E += `<div style="border-bottom:1px solid ${e.value.tooltipBorderColor};padding-bottom:6px;margin-bottom:3px;">${ee.value[S[0].absoluteIndex].text}</div>`), S.forEach((N, Ae) => {
642
+ ee.value[S[0].absoluteIndex] && (E += `<div style="border-bottom:1px solid ${e.value.tooltipBorderColor};padding-bottom:6px;margin-bottom:3px;">${ee.value[S[0].absoluteIndex].text}</div>`), S.forEach((N, we) => {
641
643
  E += `
642
644
  <div style="display:flex; flex-wrap: wrap; align-items:center; gap:3px;">
643
645
  <svg viewBox="0 0 12 12" height="14" width="12"><rect x=0 y="0" width="12" height="12" rx="1" stroke="none" fill="${N.color}"/></svg>
@@ -651,7 +653,7 @@ const ua = ["id"], ra = ["xmlns", "viewBox"], sa = ["x", "y", "width", "height"]
651
653
  s: e.value.valueSuffix,
652
654
  r: e.value.dataLabelRoundingValue
653
655
  }),
654
- { datapoint: N, seriesIndex: Ae }
656
+ { datapoint: N, seriesIndex: we }
655
657
  )}
656
658
  </b>
657
659
  </div>
@@ -665,12 +667,12 @@ const ua = ["id"], ra = ["xmlns", "viewBox"], sa = ["x", "y", "width", "height"]
665
667
  }
666
668
  return {
667
669
  absoluteZero: P,
668
- dataset: ce.filter((i) => !w.value.includes(i.id)),
670
+ dataset: de.filter((i) => !w.value.includes(i.id)),
669
671
  legend: le,
670
- drawingArea: s,
672
+ drawingArea: r,
671
673
  extremes: u,
672
674
  slotSize: V,
673
- yLabels: de,
675
+ yLabels: ve,
674
676
  useTooltip: oe,
675
677
  killTooltip: n
676
678
  };
@@ -680,90 +682,90 @@ const ua = ["id"], ra = ["xmlns", "viewBox"], sa = ["x", "y", "width", "height"]
680
682
  formatter: e.value.datetimeFormatter,
681
683
  start: x.value.start,
682
684
  end: x.value.end
683
- })), Pe = z(!1);
684
- function ct(o) {
685
- Pe.value = o, Qe.value += 1;
685
+ })), Te = z(!1);
686
+ function dt(o) {
687
+ Te.value = o, Ye.value += 1;
686
688
  }
687
- function ht() {
688
- Se.value.showTooltip = !Se.value.showTooltip;
689
+ function ct() {
690
+ be.value.showTooltip = !be.value.showTooltip;
689
691
  }
690
- const Re = z(!1);
691
- function Be() {
692
- Re.value = !Re.value;
692
+ const Pe = z(!1);
693
+ function Ne() {
694
+ Pe.value = !Pe.value;
693
695
  }
694
696
  async function Ot({ scale: o = 2 } = {}) {
695
697
  if (!J.value) return;
696
- const { width: s, height: t } = J.value.getBoundingClientRect(), u = s / t, { imageUri: r, base64: h } = await Kt({ domElement: J.value, base64: !0, img: !0, scale: o });
698
+ const { width: r, height: t } = J.value.getBoundingClientRect(), u = r / t, { imageUri: s, base64: h } = await Kt({ domElement: J.value, base64: !0, img: !0, scale: o });
697
699
  return {
698
- imageUri: r,
700
+ imageUri: s,
699
701
  base64: h,
700
702
  title: e.value.title,
701
- width: s,
703
+ width: r,
702
704
  height: t,
703
705
  aspectRatio: u
704
706
  };
705
707
  }
706
708
  return C({
707
709
  getImage: Ot,
708
- generatePdf: lt,
709
- generateImage: ot,
710
- toggleTooltip: ht,
711
- toggleAnnotator: Be,
712
- toggleFullscreen: ct
713
- }), (o, s) => At.value ? (a(), l("div", {
710
+ generatePdf: tt,
711
+ generateImage: at,
712
+ toggleTooltip: ct,
713
+ toggleAnnotator: Ne,
714
+ toggleFullscreen: dt
715
+ }), (o, r) => At.value ? (a(), l("div", {
714
716
  key: 0,
715
717
  id: `${L.value}_${Q.value}`,
716
718
  ref_key: "quickChart",
717
719
  ref: J,
718
- class: fe({ "vue-ui-quick-chart": !0, "vue-data-ui-wrapper-fullscreen": Pe.value }),
720
+ class: he({ "vue-ui-quick-chart": !0, "vue-data-ui-wrapper-fullscreen": Te.value }),
719
721
  style: R(`background:${e.value.backgroundColor};color:${e.value.color};font-family:${e.value.fontFamily}; position: relative; ${e.value.responsive ? "height: 100%" : ""}`),
720
- onMouseenter: s[5] || (s[5] = () => tt(!0)),
721
- onMouseleave: s[6] || (s[6] = () => tt(!1))
722
+ onMouseenter: r[5] || (r[5] = () => Ke(!0)),
723
+ onMouseleave: r[6] || (r[6] = () => Ke(!1))
722
724
  }, [
723
- e.value.userOptionsButtons.annotator ? (a(), Fe(f(me), {
725
+ e.value.userOptionsButtons.annotator ? (a(), Re(f(ge), {
724
726
  key: 0,
725
- svgRef: f(Ke),
727
+ svgRef: f(Je),
726
728
  backgroundColor: e.value.backgroundColor,
727
729
  color: e.value.color,
728
- active: Re.value,
729
- onClose: Be
730
+ active: Pe.value,
731
+ onClose: Ne
730
732
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : g("", !0),
731
733
  _t.value ? (a(), l("div", {
732
734
  key: 1,
733
735
  ref_key: "noTitle",
734
- ref: Je,
736
+ ref: Ze,
735
737
  class: "vue-data-ui-no-title-space",
736
738
  style: "height:36px; width: 100%;background:transparent"
737
739
  }, null, 512)) : g("", !0),
738
- e.value.showUserOptions && (et.value || Ie.value) ? (a(), Fe(f($e), {
740
+ e.value.showUserOptions && (Qe.value || Ce.value) ? (a(), Re(f(ze), {
739
741
  ref: "details",
740
- key: `user_option_${Qe.value}`,
742
+ key: `user_option_${Ye.value}`,
741
743
  backgroundColor: e.value.backgroundColor,
742
744
  color: e.value.color,
743
- isPrinting: f(Ee),
744
- isImaging: f(Oe),
745
+ isPrinting: f(Ie),
746
+ isImaging: f(Ee),
745
747
  uid: Q.value,
746
748
  hasTooltip: e.value.userOptionsButtons.tooltip && e.value.showTooltip,
747
749
  hasPdf: e.value.userOptionsButtons.pdf,
748
750
  hasImg: e.value.userOptionsButtons.img,
749
751
  hasFullscreen: e.value.userOptionsButtons.fullscreen,
750
752
  hasXls: !1,
751
- isTooltip: Se.value.showTooltip,
752
- isFullscreen: Pe.value,
753
+ isTooltip: be.value.showTooltip,
754
+ isFullscreen: Te.value,
753
755
  titles: { ...e.value.userOptionsButtonTitles },
754
756
  chartElement: J.value,
755
757
  position: e.value.userOptionsPosition,
756
758
  hasAnnotator: e.value.userOptionsButtons.annotator,
757
- isAnnotation: Re.value,
759
+ isAnnotation: Pe.value,
758
760
  callbacks: e.value.userOptionsCallbacks,
759
761
  printScale: e.value.userOptionsPrint.scale,
760
- onToggleFullscreen: ct,
761
- onGeneratePdf: f(lt),
762
- onGenerateImage: f(ot),
763
- onToggleTooltip: ht,
764
- onToggleAnnotator: Be,
762
+ onToggleFullscreen: dt,
763
+ onGeneratePdf: f(tt),
764
+ onGenerateImage: f(at),
765
+ onToggleTooltip: ct,
766
+ onToggleAnnotator: Ne,
765
767
  style: R({
766
- visibility: et.value ? Ie.value ? "visible" : "hidden" : "visible"
768
+ visibility: Qe.value ? Ce.value ? "visible" : "hidden" : "visible"
767
769
  })
768
770
  }, Rt({ _: 2 }, [
769
771
  o.$slots.menuIcon ? {
@@ -812,19 +814,19 @@ const ua = ["id"], ra = ["xmlns", "viewBox"], sa = ["x", "y", "width", "height"]
812
814
  e.value.title ? (a(), l("div", {
813
815
  key: 3,
814
816
  ref_key: "quickChartTitle",
815
- ref: Ge,
817
+ ref: We,
816
818
  class: "vue-ui-quick-chart-title",
817
819
  style: R(`background:transparent;color:${e.value.color};font-size:${e.value.titleFontSize}px;font-weight:${e.value.titleBold ? "bold" : "normal"};text-align:${e.value.titleTextAlign}`)
818
820
  }, O(e.value.title), 5)) : g("", !0),
819
821
  L.value ? (a(), l("svg", {
820
822
  key: 4,
821
823
  ref_key: "svgRef",
822
- ref: Ke,
824
+ ref: Je,
823
825
  xmlns: f(Ht),
824
826
  viewBox: Lt.value,
825
827
  style: R(`max-width:100%;overflow:visible;background:transparent;color:${e.value.color}`)
826
828
  }, [
827
- ge(f(H)),
829
+ fe(f(H)),
828
830
  o.$slots["chart-background"] && L.value === A.BAR ? (a(), l("foreignObject", {
829
831
  key: 0,
830
832
  x: d.value.drawingArea.left,
@@ -874,7 +876,7 @@ const ua = ["id"], ra = ["xmlns", "viewBox"], sa = ["x", "y", "width", "height"]
874
876
  stdDeviation: 2,
875
877
  id: `blur_std_${Q.value}`
876
878
  }, null, 8, ha),
877
- s[7] || (s[7] = _("feColorMatrix", {
879
+ r[7] || (r[7] = _("feColorMatrix", {
878
880
  type: "saturate",
879
881
  values: "0"
880
882
  }, null, -1))
@@ -897,13 +899,13 @@ const ua = ["id"], ra = ["xmlns", "viewBox"], sa = ["x", "y", "width", "height"]
897
899
  (a(!0), l(m, null, $(I.value.chart, (t, u) => (a(), l(m, null, [
898
900
  I.value.isArcBigEnough(t) ? (a(), l("path", {
899
901
  key: 0,
900
- d: f(Wt)(t, { x: b.value.width / 2, y: b.value.height / 2 }, 16, 16, !1, !1, b.value.height * vt.value),
902
+ d: f(Wt)(t, { x: b.value.width / 2, y: b.value.height / 2 }, 16, 16, !1, !1, b.value.height * rt.value),
901
903
  stroke: t.color,
902
904
  "stroke-width": e.value.donutLabelMarkerStrokeWidth,
903
905
  "stroke-linecap": "round",
904
906
  "stroke-linejoin": "round",
905
907
  fill: "none",
906
- filter: we(t.id)
908
+ filter: Se(t.id)
907
909
  }, null, 8, pa)) : g("", !0)
908
910
  ], 64))), 256))
909
911
  ])) : g("", !0),
@@ -920,36 +922,36 @@ const ua = ["id"], ra = ["xmlns", "viewBox"], sa = ["x", "y", "width", "height"]
920
922
  fill: t.color,
921
923
  stroke: e.value.backgroundColor,
922
924
  "stroke-width": e.value.donutStrokeWidth,
923
- filter: we(t.id)
925
+ filter: Se(t.id)
924
926
  }, null, 8, ka))), 256)),
925
927
  (a(!0), l(m, null, $(I.value.chart, (t, u) => (a(), l("path", {
926
928
  d: t.arcSlice,
927
929
  fill: "transparent",
928
- onMouseenter: (r) => I.value.useTooltip({ datapoint: t, seriesIndex: u }),
929
- onMouseout: s[0] || (s[0] = (r) => I.value.killTooltip()),
930
- onClick: (r) => re("selectDatapoint", t)
930
+ onMouseenter: (s) => I.value.useTooltip({ datapoint: t, seriesIndex: u }),
931
+ onMouseout: r[0] || (r[0] = (s) => I.value.killTooltip()),
932
+ onClick: (s) => re("selectDatapoint", t)
931
933
  }, null, 40, ba))), 256))
932
934
  ]),
933
935
  e.value.showDataLabels ? (a(), l("g", Sa, [
934
936
  (a(!0), l(m, null, $(I.value.chart, (t, u) => (a(), l(m, null, [
935
937
  I.value.isArcBigEnough(t) ? (a(), l("circle", {
936
938
  key: 0,
937
- cx: f(Le)(t).x,
938
- cy: f(We)(t) - 3.7,
939
+ cx: f(_e)(t).x,
940
+ cy: f(qe)(t) - 3.7,
939
941
  fill: t.color,
940
942
  stroke: e.value.backgroundColor,
941
943
  "stroke-width": 1,
942
944
  r: 3,
943
- filter: we(t.id)
945
+ filter: Se(t.id)
944
946
  }, null, 8, wa)) : g("", !0),
945
947
  I.value.isArcBigEnough(t) ? (a(), l("text", {
946
948
  key: 1,
947
- "text-anchor": f(Le)(t, !0, 20).anchor,
948
- x: f(Le)(t, !0).x,
949
- y: f(We)(t),
949
+ "text-anchor": f(_e)(t, !0, 20).anchor,
950
+ x: f(_e)(t, !0).x,
951
+ y: f(qe)(t),
950
952
  fill: e.value.color,
951
953
  "font-size": e.value.dataLabelFontSize,
952
- filter: we(t.id)
954
+ filter: Se(t.id)
953
955
  }, O(I.value.displayArcPercentage(t, I.value.chart)) + " (" + O(f(X)(
954
956
  e.value.formatter,
955
957
  t.value,
@@ -963,12 +965,12 @@ const ua = ["id"], ra = ["xmlns", "viewBox"], sa = ["x", "y", "width", "height"]
963
965
  )) + ") ", 9, Aa)) : g("", !0),
964
966
  I.value.isArcBigEnough(t, !0, 20) ? (a(), l("text", {
965
967
  key: 2,
966
- "text-anchor": f(Le)(t).anchor,
967
- x: f(Le)(t, !0).x,
968
- y: f(We)(t) + e.value.dataLabelFontSize,
968
+ "text-anchor": f(_e)(t).anchor,
969
+ x: f(_e)(t, !0).x,
970
+ y: f(qe)(t) + e.value.dataLabelFontSize,
969
971
  fill: e.value.color,
970
972
  "font-size": e.value.dataLabelFontSize,
971
- filter: we(t.id)
973
+ filter: Se(t.id)
972
974
  }, O(t.name), 9, _a)) : g("", !0)
973
975
  ], 64))), 256))
974
976
  ])) : g("", !0),
@@ -1116,7 +1118,7 @@ const ua = ["id"], ra = ["xmlns", "viewBox"], sa = ["x", "y", "width", "height"]
1116
1118
  "stroke-width": e.value.lineStrokeWidth + 1,
1117
1119
  "stroke-linecap": "round",
1118
1120
  fill: "none",
1119
- class: fe({ "quick-animation": !0, "vue-data-ui-line-animated": e.value.lineAnimated }),
1121
+ class: he({ "quick-animation": !0, "vue-data-ui-line-animated": e.value.lineAnimated }),
1120
1122
  style: { transition: "all 0.3s ease-in-out" }
1121
1123
  }, null, 10, Wa),
1122
1124
  _("path", {
@@ -1125,7 +1127,7 @@ const ua = ["id"], ra = ["xmlns", "viewBox"], sa = ["x", "y", "width", "height"]
1125
1127
  "stroke-width": e.value.lineStrokeWidth,
1126
1128
  "stroke-linecap": "round",
1127
1129
  fill: "none",
1128
- class: fe({ "quick-animation": !0, "vue-data-ui-line-animated": e.value.lineAnimated }),
1130
+ class: he({ "quick-animation": !0, "vue-data-ui-line-animated": e.value.lineAnimated }),
1129
1131
  style: { transition: "all 0.3s ease-in-out" }
1130
1132
  }, null, 10, ja)
1131
1133
  ], 64)) : (a(), l(m, { key: 1 }, [
@@ -1135,7 +1137,7 @@ const ua = ["id"], ra = ["xmlns", "viewBox"], sa = ["x", "y", "width", "height"]
1135
1137
  "stroke-width": e.value.lineStrokeWidth + 1,
1136
1138
  "stroke-linecap": "round",
1137
1139
  fill: "none",
1138
- class: fe({ "quick-animation": !0, "vue-data-ui-line-animated": e.value.lineAnimated }),
1140
+ class: he({ "quick-animation": !0, "vue-data-ui-line-animated": e.value.lineAnimated }),
1139
1141
  style: { transition: "all 0.3s ease-in-out" }
1140
1142
  }, null, 10, Ga),
1141
1143
  _("path", {
@@ -1144,13 +1146,13 @@ const ua = ["id"], ra = ["xmlns", "viewBox"], sa = ["x", "y", "width", "height"]
1144
1146
  "stroke-width": e.value.lineStrokeWidth,
1145
1147
  "stroke-linecap": "round",
1146
1148
  fill: "none",
1147
- class: fe({ "quick-animation": !0, "vue-data-ui-line-animated": e.value.lineAnimated }),
1149
+ class: he({ "quick-animation": !0, "vue-data-ui-line-animated": e.value.lineAnimated }),
1148
1150
  style: { transition: "all 0.3s ease-in-out" }
1149
1151
  }, null, 10, Xa)
1150
1152
  ], 64)),
1151
- (a(!0), l(m, null, $(t.coordinates, (r, h) => (a(), l("circle", {
1152
- cx: r.x,
1153
- cy: f(Z)(r.y),
1153
+ (a(!0), l(m, null, $(t.coordinates, (s, h) => (a(), l("circle", {
1154
+ cx: s.x,
1155
+ cy: f(Z)(s.y),
1154
1156
  r: 3,
1155
1157
  fill: t.color,
1156
1158
  stroke: e.value.backgroundColor,
@@ -1162,24 +1164,24 @@ const ua = ["id"], ra = ["xmlns", "viewBox"], sa = ["x", "y", "width", "height"]
1162
1164
  ]),
1163
1165
  e.value.showDataLabels ? (a(), l("g", Ya, [
1164
1166
  (a(!0), l(m, null, $(v.value.dataset, (t, u) => (a(), l(m, null, [
1165
- (a(!0), l(m, null, $(t.coordinates, (r, h) => (a(), l("text", {
1167
+ (a(!0), l(m, null, $(t.coordinates, (s, h) => (a(), l("text", {
1166
1168
  "text-anchor": "middle",
1167
1169
  "font-size": e.value.dataLabelFontSize,
1168
1170
  fill: t.color,
1169
- x: r.x,
1170
- y: f(Z)(r.y) - e.value.dataLabelFontSize / 2,
1171
+ x: s.x,
1172
+ y: f(Z)(s.y) - e.value.dataLabelFontSize / 2,
1171
1173
  class: "quick-animation",
1172
1174
  style: { transition: "all 0.3s ease-in-out" }
1173
1175
  }, O(f(X)(
1174
1176
  e.value.formatter,
1175
- f(Z)(r.value),
1177
+ f(Z)(s.value),
1176
1178
  f(D)({
1177
1179
  p: e.value.valuePrefix,
1178
- v: f(Z)(r.value),
1180
+ v: f(Z)(s.value),
1179
1181
  s: e.value.valueSuffix,
1180
1182
  r: e.value.dataLabelRoundingValue
1181
1183
  }),
1182
- { datapoint: r, seriesIndex: h }
1184
+ { datapoint: s, seriesIndex: h }
1183
1185
  )), 9, Ja))), 256))
1184
1186
  ], 64))), 256))
1185
1187
  ])) : g("", !0),
@@ -1191,9 +1193,9 @@ const ua = ["id"], ra = ["xmlns", "viewBox"], sa = ["x", "y", "width", "height"]
1191
1193
  width: v.value.slotSize <= 0 ? 1e-5 : v.value.slotSize,
1192
1194
  fill: [W.value, j.value].includes(u) ? e.value.xyHighlighterColor : "transparent",
1193
1195
  style: R(`opacity:${e.value.xyHighlighterOpacity}`),
1194
- onMouseenter: (r) => v.value.useTooltip(u),
1195
- onMouseleave: s[1] || (s[1] = (r) => v.value.killTooltip()),
1196
- onClick: (r) => re("selectDatapoint", v.value.dataset.map((h) => ({
1196
+ onMouseenter: (s) => v.value.useTooltip(u),
1197
+ onMouseleave: r[1] || (r[1] = (s) => v.value.killTooltip()),
1198
+ onClick: (s) => re("selectDatapoint", v.value.dataset.map((h) => ({
1197
1199
  ...h,
1198
1200
  value: h.values[u]
1199
1201
  })))
@@ -1295,29 +1297,29 @@ const ua = ["id"], ra = ["xmlns", "viewBox"], sa = ["x", "y", "width", "height"]
1295
1297
  ])) : g("", !0),
1296
1298
  _("g", cl, [
1297
1299
  (a(!0), l(m, null, $(d.value.dataset, (t, u) => (a(), l(m, null, [
1298
- (a(!0), l(m, null, $(t.coordinates, (r, h) => (a(), l("rect", {
1299
- x: r.x,
1300
- width: r.width <= 0 ? 1e-5 : r.width,
1301
- height: f(Z)(r.height <= 0 ? 1e-5 : r.height),
1302
- y: f(Z)(r.y),
1300
+ (a(!0), l(m, null, $(t.coordinates, (s, h) => (a(), l("rect", {
1301
+ x: s.x,
1302
+ width: s.width <= 0 ? 1e-5 : s.width,
1303
+ height: f(Z)(s.height <= 0 ? 1e-5 : s.height),
1304
+ y: f(Z)(s.y),
1303
1305
  fill: t.color,
1304
1306
  stroke: e.value.backgroundColor,
1305
1307
  "stroke-width": e.value.barStrokeWidth,
1306
1308
  "stroke-linecap": "round",
1307
- class: fe({ "vue-data-ui-bar-animated": e.value.barAnimated && r.value < 0 })
1309
+ class: he({ "vue-data-ui-bar-animated": e.value.barAnimated && s.value < 0 })
1308
1310
  }, [
1309
- e.value.barAnimated && r.value > 0 && !f(Ee) && !f(Oe) ? (a(), l("animate", {
1311
+ e.value.barAnimated && s.value > 0 && !f(Ie) && !f(Ee) ? (a(), l("animate", {
1310
1312
  key: 0,
1311
1313
  attributeName: "height",
1312
1314
  from: 0,
1313
- to: r.height,
1315
+ to: s.height,
1314
1316
  dur: "0.5s"
1315
1317
  }, null, 8, fl)) : g("", !0),
1316
- e.value.barAnimated && r.value > 0 && !f(Ee) && !f(Oe) ? (a(), l("animate", {
1318
+ e.value.barAnimated && s.value > 0 && !f(Ie) && !f(Ee) ? (a(), l("animate", {
1317
1319
  key: 1,
1318
1320
  attributeName: "y",
1319
1321
  from: d.value.absoluteZero,
1320
- to: d.value.absoluteZero - r.height,
1322
+ to: d.value.absoluteZero - s.height,
1321
1323
  dur: "0.5s"
1322
1324
  }, null, 8, gl)) : g("", !0)
1323
1325
  ], 10, hl))), 256))
@@ -1325,23 +1327,23 @@ const ua = ["id"], ra = ["xmlns", "viewBox"], sa = ["x", "y", "width", "height"]
1325
1327
  ]),
1326
1328
  e.value.showDataLabels ? (a(), l("g", ml, [
1327
1329
  (a(!0), l(m, null, $(d.value.dataset, (t, u) => (a(), l(m, null, [
1328
- (a(!0), l(m, null, $(t.coordinates, (r, h) => (a(), l("text", {
1329
- x: r.x + r.width / 2,
1330
- y: f(Z)(r.y) - e.value.dataLabelFontSize / 2,
1330
+ (a(!0), l(m, null, $(t.coordinates, (s, h) => (a(), l("text", {
1331
+ x: s.x + s.width / 2,
1332
+ y: f(Z)(s.y) - e.value.dataLabelFontSize / 2,
1331
1333
  "text-anchor": "middle",
1332
1334
  "font-size": e.value.dataLabelFontSize,
1333
1335
  fill: t.color,
1334
1336
  class: "quick-animation"
1335
1337
  }, O(f(X)(
1336
1338
  e.value.formatter,
1337
- f(Z)(r.value),
1339
+ f(Z)(s.value),
1338
1340
  f(D)({
1339
1341
  p: e.value.valuePrefix,
1340
- v: f(Z)(r.value),
1342
+ v: f(Z)(s.value),
1341
1343
  s: e.value.valueSuffix,
1342
1344
  r: e.value.dataLabelRoundingValue
1343
1345
  }),
1344
- { datapoint: r, seriesIndex: h }
1346
+ { datapoint: s, seriesIndex: h }
1345
1347
  )), 9, pl))), 256))
1346
1348
  ], 64))), 256))
1347
1349
  ])) : g("", !0),
@@ -1353,9 +1355,9 @@ const ua = ["id"], ra = ["xmlns", "viewBox"], sa = ["x", "y", "width", "height"]
1353
1355
  width: d.value.slotSize <= 0 ? 1e-5 : d.value.slotSize,
1354
1356
  fill: [W.value, j.value].includes(u) ? e.value.xyHighlighterColor : "transparent",
1355
1357
  style: R(`opacity:${e.value.xyHighlighterOpacity}`),
1356
- onMouseenter: (r) => d.value.useTooltip(u),
1357
- onMouseleave: s[2] || (s[2] = (r) => d.value.killTooltip()),
1358
- onClick: (r) => re("selectDatapoint", d.value.dataset.map((h) => ({
1358
+ onMouseenter: (s) => d.value.useTooltip(u),
1359
+ onMouseleave: r[2] || (r[2] = (s) => d.value.killTooltip()),
1360
+ onClick: (s) => re("selectDatapoint", d.value.dataset.map((h) => ({
1359
1361
  ...h,
1360
1362
  value: h.values[u]
1361
1363
  })))
@@ -1399,7 +1401,7 @@ const ua = ["id"], ra = ["xmlns", "viewBox"], sa = ["x", "y", "width", "height"]
1399
1401
  ])) : g("", !0)
1400
1402
  ])) : g("", !0)
1401
1403
  ], 12, ra)) : g("", !0),
1402
- L.value ? g("", !0) : (a(), Fe(f(pe), {
1404
+ L.value ? g("", !0) : (a(), Re(f(me), {
1403
1405
  key: 5,
1404
1406
  config: {
1405
1407
  type: "line",
@@ -1418,17 +1420,17 @@ const ua = ["id"], ra = ["xmlns", "viewBox"], sa = ["x", "y", "width", "height"]
1418
1420
  }
1419
1421
  }, null, 8, ["config"])),
1420
1422
  o.$slots.watermark ? (a(), l("div", Cl, [
1421
- M(o.$slots, "watermark", ie(ue({ isPrinting: f(Ee) || f(Oe) })), void 0, !0)
1423
+ M(o.$slots, "watermark", ie(ue({ isPrinting: f(Ie) || f(Ee) })), void 0, !0)
1422
1424
  ])) : g("", !0),
1423
1425
  [A.BAR, A.LINE].includes(L.value) && e.value.zoomXy && p.value.maxSeriesLength > 1 ? (a(), l("div", {
1424
- key: `slicer_${Ce.value}`,
1426
+ key: `slicer_${$e.value}`,
1425
1427
  ref_key: "quickChartSlicer",
1426
- ref: Ze
1428
+ ref: Ge
1427
1429
  }, [
1428
- (a(), Fe(Jt, {
1430
+ (a(), Re(Jt, {
1429
1431
  ref_key: "slicerComponent",
1430
- ref: ve,
1431
- key: `slicer_${Ce.value}`,
1432
+ ref: st,
1433
+ key: `slicer_${$e.value}`,
1432
1434
  background: e.value.zoomColor,
1433
1435
  borderColor: e.value.backgroundColor,
1434
1436
  fontSize: e.value.zoomFontSize,
@@ -1452,9 +1454,9 @@ const ua = ["id"], ra = ["xmlns", "viewBox"], sa = ["x", "y", "width", "height"]
1452
1454
  verticalHandles: e.value.zoomMinimap.verticalHandles,
1453
1455
  minimapSelectedIndex: j.value,
1454
1456
  start: x.value.start,
1455
- "onUpdate:start": s[3] || (s[3] = (t) => x.value.start = t),
1457
+ "onUpdate:start": r[3] || (r[3] = (t) => x.value.start = t),
1456
1458
  end: x.value.end,
1457
- "onUpdate:end": s[4] || (s[4] = (t) => x.value.end = t),
1459
+ "onUpdate:end": r[4] || (r[4] = (t) => x.value.end = t),
1458
1460
  refreshStartPoint: e.value.zoomStartIndex !== null ? e.value.zoomStartIndex : 0,
1459
1461
  refreshEndPoint: e.value.zoomEndIndex !== null ? e.value.zoomEndIndex + 1 : p.value.maxSeriesLength,
1460
1462
  enableRangeHandles: e.value.zoomEnableRangeHandles,
@@ -1471,22 +1473,22 @@ const ua = ["id"], ra = ["xmlns", "viewBox"], sa = ["x", "y", "width", "height"]
1471
1473
  e.value.showLegend ? (a(), l("div", {
1472
1474
  key: 8,
1473
1475
  ref_key: "quickChartLegend",
1474
- ref: Xe,
1476
+ ref: je,
1475
1477
  class: "vue-ui-quick-chart-legend",
1476
1478
  style: R(`background:transparent;color:${e.value.color}`)
1477
1479
  }, [
1478
1480
  L.value === A.DONUT ? (a(!0), l(m, { key: 0 }, $(I.value.legend, (t, u) => (a(), l("div", {
1479
1481
  class: "vue-ui-quick-chart-legend-item",
1480
- onClick: (r) => {
1482
+ onClick: (s) => {
1481
1483
  zt(t, I.value.dataset), re("selectLegend", t);
1482
1484
  },
1483
1485
  style: R(`cursor: ${I.value.legend.length > 1 ? "pointer" : "default"}; opacity:${w.value.includes(t.id) ? "0.5" : "1"}`)
1484
1486
  }, [
1485
- e.value.useCustomLegend ? M(o.$slots, "legend", qe({
1487
+ e.value.useCustomLegend ? M(o.$slots, "legend", De({
1486
1488
  key: 0,
1487
1489
  ref_for: !0
1488
1490
  }, { legend: t }), void 0, !0) : (a(), l(m, { key: 1 }, [
1489
- ge(f(T), {
1491
+ fe(f(T), {
1490
1492
  name: e.value.legendIcon,
1491
1493
  stroke: t.color,
1492
1494
  size: e.value.legendIconSize
@@ -1510,7 +1512,7 @@ const ua = ["id"], ra = ["xmlns", "viewBox"], sa = ["x", "y", "width", "height"]
1510
1512
  w.value.includes(t.id) ? (a(), l("span", {
1511
1513
  key: 0,
1512
1514
  style: R(`font-size:${e.value.legendFontSize}px`)
1513
- }, " ( - % ) ", 4)) : Te.value ? (a(), l("span", {
1515
+ }, " ( - % ) ", 4)) : Oe.value ? (a(), l("span", {
1514
1516
  key: 1,
1515
1517
  style: R(`font-size:${e.value.legendFontSize}px; font-variant-numeric: tabular-nums;`)
1516
1518
  }, " ( - % ) ", 4)) : (a(), l("span", {
@@ -1525,16 +1527,16 @@ const ua = ["id"], ra = ["xmlns", "viewBox"], sa = ["x", "y", "width", "height"]
1525
1527
  ], 12, Il))), 256)) : g("", !0),
1526
1528
  L.value === A.LINE ? (a(!0), l(m, { key: 1 }, $(v.value.legend, (t, u) => (a(), l("div", {
1527
1529
  class: "vue-ui-quick-chart-legend-item",
1528
- onClick: (r) => {
1529
- ut(t.id, v.value.legend.length - 1), re("selectLegend", t);
1530
+ onClick: (s) => {
1531
+ nt(t.id, v.value.legend.length - 1), re("selectLegend", t);
1530
1532
  },
1531
1533
  style: R(`cursor: ${v.value.legend.length > 1 ? "pointer" : "default"}; opacity:${w.value.includes(t.id) ? "0.5" : "1"}`)
1532
1534
  }, [
1533
- e.value.useCustomLegend ? M(o.$slots, "legend", qe({
1535
+ e.value.useCustomLegend ? M(o.$slots, "legend", De({
1534
1536
  key: 0,
1535
1537
  ref_for: !0
1536
1538
  }, { legend: t }), void 0, !0) : (a(), l(m, { key: 1 }, [
1537
- ge(f(T), {
1539
+ fe(f(T), {
1538
1540
  name: e.value.legendIcon,
1539
1541
  stroke: t.color,
1540
1542
  size: e.value.legendIconSize
@@ -1546,16 +1548,16 @@ const ua = ["id"], ra = ["xmlns", "viewBox"], sa = ["x", "y", "width", "height"]
1546
1548
  ], 12, El))), 256)) : g("", !0),
1547
1549
  L.value === A.BAR ? (a(!0), l(m, { key: 2 }, $(d.value.legend, (t, u) => (a(), l("div", {
1548
1550
  class: "vue-ui-quick-chart-legend-item",
1549
- onClick: (r) => {
1550
- ut(t.id, d.value.legend.length - 1), re("selectLegend", t);
1551
+ onClick: (s) => {
1552
+ nt(t.id, d.value.legend.length - 1), re("selectLegend", t);
1551
1553
  },
1552
1554
  style: R(`cursor: ${d.value.legend.length > 1 ? "pointer" : "default"}; opacity:${w.value.includes(t.id) ? "0.5" : "1"}`)
1553
1555
  }, [
1554
- e.value.useCustomLegend ? M(o.$slots, "legend", qe({
1556
+ e.value.useCustomLegend ? M(o.$slots, "legend", De({
1555
1557
  key: 0,
1556
1558
  ref_for: !0
1557
1559
  }, { legend: t }), void 0, !0) : (a(), l(m, { key: 1 }, [
1558
- ge(f(T), {
1560
+ fe(f(T), {
1559
1561
  name: e.value.legendIcon,
1560
1562
  stroke: t.color,
1561
1563
  size: e.value.legendIconSize
@@ -1569,13 +1571,13 @@ const ua = ["id"], ra = ["xmlns", "viewBox"], sa = ["x", "y", "width", "height"]
1569
1571
  o.$slots.source ? (a(), l("div", {
1570
1572
  key: 9,
1571
1573
  ref_key: "source",
1572
- ref: Ye,
1574
+ ref: Xe,
1573
1575
  dir: "auto"
1574
1576
  }, [
1575
1577
  M(o.$slots, "source", {}, void 0, !0)
1576
1578
  ], 512)) : g("", !0),
1577
- ge(f(ye), {
1578
- show: Se.value.showTooltip && te.value,
1579
+ fe(f(pe), {
1580
+ show: be.value.showTooltip && te.value,
1579
1581
  backgroundColor: e.value.backgroundColor,
1580
1582
  color: e.value.color,
1581
1583
  borderRadius: e.value.tooltipBorderRadius,
@@ -1587,26 +1589,26 @@ const ua = ["id"], ra = ["xmlns", "viewBox"], sa = ["x", "y", "width", "height"]
1587
1589
  offsetY: e.value.tooltipOffsetY,
1588
1590
  parent: J.value,
1589
1591
  content: ae.value,
1590
- isFullscreen: Pe.value,
1591
- isCustom: f(Ne)(e.value.tooltipCustomFormat)
1592
+ isFullscreen: Te.value,
1593
+ isCustom: f(Me)(e.value.tooltipCustomFormat)
1592
1594
  }, {
1593
1595
  "tooltip-before": G(() => [
1594
- M(o.$slots, "tooltip-before", ie(ue({ ...xe.value })), void 0, !0)
1596
+ M(o.$slots, "tooltip-before", ie(ue({ ...ye.value })), void 0, !0)
1595
1597
  ]),
1596
1598
  "tooltip-after": G(() => [
1597
- M(o.$slots, "tooltip-after", ie(ue({ ...xe.value })), void 0, !0)
1599
+ M(o.$slots, "tooltip-after", ie(ue({ ...ye.value })), void 0, !0)
1598
1600
  ]),
1599
1601
  _: 3
1600
1602
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"])
1601
1603
  ], 46, ua)) : (a(), l("div", Tl, [
1602
- ge(f(T), {
1604
+ fe(f(T), {
1603
1605
  name: "circleCancel",
1604
1606
  stroke: "red"
1605
1607
  }),
1606
- s[8] || (s[8] = _("span", null, "Dataset is not processable", -1))
1608
+ r[8] || (r[8] = _("span", null, "Dataset is not processable", -1))
1607
1609
  ]));
1608
1610
  }
1609
- }, Wl = /* @__PURE__ */ ea(Pl, [["__scopeId", "data-v-3a5268da"]]);
1611
+ }, Wl = /* @__PURE__ */ ea(Pl, [["__scopeId", "data-v-0aa0d78f"]]);
1610
1612
  export {
1611
1613
  Wl as default
1612
1614
  };