vue-data-ui 2.17.4 → 2.17.5

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 (87) hide show
  1. package/dist/{Arrow-Cr03AON-.js → Arrow-V2QU9IrH.js} +1 -1
  2. package/dist/{BaseDraggableDialog-D_TGhcK2.js → BaseDraggableDialog-B9we9Njj.js} +2 -2
  3. package/dist/{BaseIcon-CyM92oim.js → BaseIcon-CIwIBC3F.js} +1 -1
  4. package/dist/{ColorPicker-DQQa1N1O.js → ColorPicker-DIh1Yy5j.js} +2 -2
  5. package/dist/{DataTable-CoyBJeJB.js → DataTable-CuWuzeRI.js} +2 -2
  6. package/dist/{Legend-B44OtRfQ.js → Legend-Bqi7F2iA.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-DpwO3vYO.js → NonSvgPenAndPaper-CZZHY1OT.js} +3 -3
  8. package/dist/{PackageVersion-drEOUlg2.js → PackageVersion-BrZUdhZl.js} +1 -1
  9. package/dist/{PenAndPaper-B7H1_uts.js → PenAndPaper-DYoM74sL.js} +3 -3
  10. package/dist/{Shape-D18tEWq4.js → Shape-J_57EZ2b.js} +1 -1
  11. package/dist/{Slicer-oLrrkKHp.js → Slicer-BcmxCA-7.js} +2 -2
  12. package/dist/{SparkTooltip-CVcLzqfq.js → SparkTooltip-DTZ9lyG2.js} +1 -1
  13. package/dist/{Title-CedjJEqz.js → Title-C6IPIA3g.js} +1 -1
  14. package/dist/{Tooltip-BHzRX_iV.js → Tooltip-Co7-BfJt.js} +1 -1
  15. package/dist/{UserOptions-EKIA1_GD.js → UserOptions-B_r-qsSM.js} +2 -2
  16. package/dist/{dom-to-png-60ykzqkP.js → dom-to-png-BIakyQa8.js} +1 -1
  17. package/dist/{img-BXq3W8b5.js → img-01ajmdrG.js} +1 -1
  18. package/dist/{index-AQZj6e2N.js → index-1P8hgXEL.js} +1 -1
  19. package/dist/{pdf-EAkMc133.js → pdf-DpU5K64g.js} +1 -1
  20. package/dist/style.css +1 -1
  21. package/dist/{useNestedProp-BIWGxeSS.js → useNestedProp-DpGVxlm5.js} +1 -1
  22. package/dist/{usePrinter-CuWuVLtO.js → usePrinter-DhVpUIjn.js} +2 -2
  23. package/dist/{vue-data-ui-CML3eTbI.js → vue-data-ui-CY8hyLh3.js} +63 -63
  24. package/dist/vue-data-ui.js +1 -1
  25. package/dist/{vue-ui-3d-bar-Bm1MqS-x.js → vue-ui-3d-bar-BylWATuf.js} +6 -6
  26. package/dist/{vue-ui-accordion-DiRbM5Q1.js → vue-ui-accordion-24NeyZv-.js} +3 -3
  27. package/dist/{vue-ui-age-pyramid-PLMkOCqQ.js → vue-ui-age-pyramid-B83tZ39h.js} +6 -6
  28. package/dist/{vue-ui-annotator-BDneVOiO.js → vue-ui-annotator-CzjOtDZF.js} +2 -2
  29. package/dist/{vue-ui-bullet-DkSgDU6f.js → vue-ui-bullet-DF3LC9Bq.js} +7 -7
  30. package/dist/{vue-ui-candlestick-CdpbG3Ab.js → vue-ui-candlestick-CUz_PMvv.js} +7 -7
  31. package/dist/{vue-ui-carousel-table-Dq3krKLE.js → vue-ui-carousel-table-l3XWJkDn.js} +4 -4
  32. package/dist/{vue-ui-chestnut-DwOBNaW8.js → vue-ui-chestnut-Up5iZggG.js} +5 -5
  33. package/dist/{vue-ui-chord-vUd9A0cK.js → vue-ui-chord-Ci4m__az.js} +8 -8
  34. package/dist/{vue-ui-circle-pack-CXqs1Gjv.js → vue-ui-circle-pack-Bt-mm22Z.js} +6 -6
  35. package/dist/{vue-ui-cursor-Cr3JiUQT.js → vue-ui-cursor-DrhAdLl4.js} +2 -2
  36. package/dist/{vue-ui-dashboard-BKtuJnjA.js → vue-ui-dashboard-BTHMYSV_.js} +62 -62
  37. package/dist/{vue-ui-digits-BcUS_dXh.js → vue-ui-digits-CuQv2y9K.js} +2 -2
  38. package/dist/{vue-ui-donut-rQxbBoMB.js → vue-ui-donut-C1leqtTL.js} +8 -8
  39. package/dist/{vue-ui-donut-evolution-DN8_n4GY.js → vue-ui-donut-evolution-K9ak_ipi.js} +8 -8
  40. package/dist/{vue-ui-dumbbell-BKTCQfoS.js → vue-ui-dumbbell-BgkwijRo.js} +7 -7
  41. package/dist/{vue-ui-flow-CHDTSMfE.js → vue-ui-flow-DERu1AKJ.js} +7 -7
  42. package/dist/{vue-ui-funnel-CBZX2VCo.js → vue-ui-funnel-Cg9WOVIy.js} +6 -6
  43. package/dist/{vue-ui-galaxy-DxYqtdyu.js → vue-ui-galaxy-EQjQWQnQ.js} +5 -5
  44. package/dist/{vue-ui-gauge-hcSR0dD4.js → vue-ui-gauge-DK6IYcgh.js} +6 -6
  45. package/dist/{vue-ui-gizmo-BSNhk3zT.js → vue-ui-gizmo-CTP17DpI.js} +3 -3
  46. package/dist/{vue-ui-heatmap-ExnYpGTE.js → vue-ui-heatmap-_2cCJYLT.js} +7 -7
  47. package/dist/{vue-ui-history-plot-2H5OZ766.js → vue-ui-history-plot-DLDyT58X.js} +7 -7
  48. package/dist/{vue-ui-kpi-OghOruOA.js → vue-ui-kpi-DjPn2a-U.js} +3 -3
  49. package/dist/{vue-ui-mini-loader-sLd2fgBF.js → vue-ui-mini-loader-DU6qKMZd.js} +2 -2
  50. package/dist/{vue-ui-molecule-D6DBVZzU.js → vue-ui-molecule-Gh7AgRWc.js} +5 -5
  51. package/dist/{vue-ui-mood-radar-DbTs_POL.js → vue-ui-mood-radar-DIwX-_gl.js} +7 -7
  52. package/dist/{vue-ui-nested-donuts-DXpZHGho.js → vue-ui-nested-donuts-DBTmpY4B.js} +7 -7
  53. package/dist/{vue-ui-onion-QOM46fCR.js → vue-ui-onion-DwGWtFDH.js} +7 -7
  54. package/dist/{vue-ui-parallel-coordinate-plot-Bh1LysH2.js → vue-ui-parallel-coordinate-plot-BgeqRRyn.js} +8 -8
  55. package/dist/{vue-ui-quadrant-CiIjOX1A.js → vue-ui-quadrant-CBzkH3qE.js} +8 -8
  56. package/dist/{vue-ui-quick-chart--JMjm27V.js → vue-ui-quick-chart-CDDj9TxF.js} +6 -6
  57. package/dist/{vue-ui-radar-CYgHLKwi.js → vue-ui-radar-D1UXMxkA.js} +7 -7
  58. package/dist/{vue-ui-rating-Rr-JEtXO.js → vue-ui-rating-aNFQ5sd7.js} +2 -2
  59. package/dist/{vue-ui-relation-circle-DdUqCEdR.js → vue-ui-relation-circle-DLALezkH.js} +6 -6
  60. package/dist/{vue-ui-ridgeline-BsC4l5Cf.js → vue-ui-ridgeline-D1ZwVo6V.js} +8 -8
  61. package/dist/{vue-ui-rings-D2zLJkWT.js → vue-ui-rings-CE31ZZXT.js} +8 -8
  62. package/dist/{vue-ui-scatter-DinQI45N.js → vue-ui-scatter-DyyuU-A3.js} +8 -8
  63. package/dist/{vue-ui-skeleton-DdA_7GYv.js → vue-ui-skeleton-DGfviPaE.js} +3 -3
  64. package/dist/{vue-ui-smiley-BC87HDgZ.js → vue-ui-smiley-C6TsY3Hl.js} +2 -2
  65. package/dist/{vue-ui-spark-trend-DC59f_85.js → vue-ui-spark-trend-B400VATP.js} +3 -3
  66. package/dist/{vue-ui-sparkbar-BaMzdG1G.js → vue-ui-sparkbar-C0OnOOJ5.js} +3 -3
  67. package/dist/{vue-ui-sparkgauge-BeAK_K1G.js → vue-ui-sparkgauge-BkNqshFM.js} +3 -3
  68. package/dist/{vue-ui-sparkhistogram-DoWKUeUs.js → vue-ui-sparkhistogram-C3LwQSVu.js} +4 -4
  69. package/dist/{vue-ui-sparkline-BAbURG77.js → vue-ui-sparkline-CLfr_Who.js} +3 -3
  70. package/dist/{vue-ui-sparkstackbar-CK1RERzf.js → vue-ui-sparkstackbar-zycRUKtt.js} +3 -3
  71. package/dist/{vue-ui-stackbar-DvACEasj.js → vue-ui-stackbar-Bc-qdemV.js} +159 -158
  72. package/dist/{vue-ui-strip-plot-XN7_6LCe.js → vue-ui-strip-plot-KZtAVPn8.js} +7 -7
  73. package/dist/{vue-ui-table-C-O2v0N9.js → vue-ui-table-4Oxtep8q.js} +3 -3
  74. package/dist/{vue-ui-table-heatmap-Bs6D0aoV.js → vue-ui-table-heatmap-Cx-gl_Jh.js} +5 -5
  75. package/dist/{vue-ui-table-sparkline-5Xbz-k7Z.js → vue-ui-table-sparkline-u8mbihVP.js} +4 -4
  76. package/dist/{vue-ui-thermometer-xm7p0IsR.js → vue-ui-thermometer-CIdkm0Cz.js} +6 -6
  77. package/dist/{vue-ui-timer-DOTmAFNn.js → vue-ui-timer-BbVyIS3I.js} +5 -5
  78. package/dist/{vue-ui-tiremarks-17IGDg94.js → vue-ui-tiremarks-CAX9tTfm.js} +6 -6
  79. package/dist/{vue-ui-treemap-JXZ9Fc8t.js → vue-ui-treemap-CjzvHTfM.js} +8 -8
  80. package/dist/{vue-ui-vertical-bar-UHjNE_tx.js → vue-ui-vertical-bar-C81RHFCQ.js} +9 -9
  81. package/dist/{vue-ui-waffle-Cg68D_51.js → vue-ui-waffle-DOtUYFsS.js} +8 -8
  82. package/dist/{vue-ui-wheel-CLsDKzlB.js → vue-ui-wheel-cn3Z8XVN.js} +6 -6
  83. package/dist/{vue-ui-word-cloud-QXExzLAu.js → vue-ui-word-cloud-COUvIVpX.js} +6 -6
  84. package/dist/{vue-ui-world-BxU6IfEv.js → vue-ui-world-NdI2WafX.js} +6 -6
  85. package/dist/{vue-ui-xy-BgJBKQhc.js → vue-ui-xy-D9eKQQ5Z.js} +17 -17
  86. package/dist/{vue-ui-xy-canvas-X4MI-pf0.js → vue-ui-xy-canvas-IunRC-hl.js} +8 -8
  87. package/package.json +1 -1
@@ -1,16 +1,16 @@
1
- import { defineAsyncComponent as G, useSlots as Zt, computed as w, ref as p, onMounted as ut, watch as ct, shallowRef as ht, onBeforeUnmount as Kt, nextTick as fe, createElementBlock as n, openBlock as s, unref as y, normalizeStyle as J, normalizeClass as oe, createBlock as ee, createCommentVNode as g, renderSlot as z, createElementVNode as q, createVNode as ie, createSlots as vt, withCtx as _, normalizeProps as F, guardReactiveProps as E, Fragment as v, renderList as f, mergeProps as Me, toDisplayString as T, createTextVNode as Qt } from "vue";
2
- import { u as jt, c as dt, t as ea, p as me, a as ta, C as te, b as aa, o as la, e as yt, g as ra, d as sa, al as pe, ai as gt, D as bt, X as oa, l as ia, a7 as xe, F as ft, i as ke, f as Z, I as na, am as ua, x as mt, q as ca, r as ha, y as va } from "./index-AQZj6e2N.js";
3
- import { u as pt } from "./useNestedProp-BIWGxeSS.js";
1
+ import { defineAsyncComponent as G, useSlots as Zt, computed as w, ref as p, onMounted as ct, watch as ht, shallowRef as vt, onBeforeUnmount as Kt, nextTick as be, createElementBlock as n, openBlock as s, unref as y, normalizeStyle as J, normalizeClass as oe, createBlock as q, createCommentVNode as g, renderSlot as z, createElementVNode as Z, createVNode as fe, createSlots as dt, withCtx as _, normalizeProps as F, guardReactiveProps as E, Fragment as v, renderList as f, mergeProps as Me, toDisplayString as T, createTextVNode as Qt } from "vue";
2
+ import { u as jt, c as yt, t as ea, p as me, a as ta, C as te, b as aa, o as la, e as gt, g as ra, d as sa, al as pe, ai as bt, D as ft, X as oa, l as ia, a7 as xe, F as mt, i as ke, f as K, I as na, am as ua, x as pt, q as ca, r as ha, y as va } from "./index-1P8hgXEL.js";
3
+ import { u as xt } from "./useNestedProp-DpGVxlm5.js";
4
4
  import { t as da, u as ya } from "./useResponsive-DfdjqQps.js";
5
- import { u as ga } from "./usePrinter-CuWuVLtO.js";
5
+ import { u as ga } from "./usePrinter-DhVpUIjn.js";
6
6
  import { u as ba } from "./useUserOptionState-BIvW1Kz7.js";
7
7
  import { u as fa } from "./useChartAccessibility-9icAAmYg.js";
8
- import ma from "./Legend-B44OtRfQ.js";
9
- import { S as pa } from "./Slicer-oLrrkKHp.js";
10
- import xa from "./Title-CedjJEqz.js";
11
- import { _ as ka } from "./Shape-D18tEWq4.js";
8
+ import ma from "./Legend-Bqi7F2iA.js";
9
+ import { S as pa } from "./Slicer-BcmxCA-7.js";
10
+ import xa from "./Title-C6IPIA3g.js";
11
+ import { _ as ka } from "./Shape-J_57EZ2b.js";
12
12
  import { u as wa } from "./useTimeLabels-Mrr0jrpL.js";
13
- import za from "./img-BXq3W8b5.js";
13
+ import za from "./img-01ajmdrG.js";
14
14
  import { _ as La } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
15
  const Ca = ["id"], _a = ["xmlns", "viewBox"], Sa = ["x", "y", "width", "height"], $a = { key: 1 }, Ma = ["id"], Ta = ["stop-color"], Na = ["stop-color"], Ia = ["stop-color"], Pa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Oa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Ra = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Va = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Aa = { key: 0 }, Ua = ["x", "y", "height", "rx", "width", "fill", "stroke", "stroke-width"], Da = { key: 0 }, Fa = ["x", "y", "height", "rx", "width", "fill", "stroke", "stroke-width"], Ea = ["x", "y", "width", "rx", "height", "fill", "stroke", "stroke-width"], Ha = { key: 0 }, Ba = ["x", "y", "width", "rx", "height", "fill", "stroke", "stroke-width"], Wa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ya = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Xa = ["x", "y", "font-size", "fill", "font-weight"], Ga = ["transform", "font-size", "fill", "font-weight"], Ja = ["x", "y", "font-size", "fill", "font-weight"], qa = { key: 0 }, Za = ["x", "y", "font-size", "font-weight", "fill"], Ka = ["x", "y", "font-size", "fill", "font-weight"], Qa = { key: 0 }, ja = ["x", "y", "font-size", "font-weight", "fill"], el = ["x1", "x2", "y1", "y2", "stroke"], tl = ["x", "y", "font-size", "font-weight", "fill"], al = ["x1", "x2", "y1", "y2", "stroke"], ll = ["font-size", "font-weight", "fill", "text-anchor", "transform"], rl = { key: 0 }, sl = { key: 1 }, ol = ["text-anchor", "font-size", "font-weight", "fill", "transform", "onClick"], il = ["text-anchor", "font-size", "fill", "transform", "innerHTML", "onClick"], nl = { key: 0 }, ul = { key: 1 }, cl = ["font-size", "font-weight", "fill", "x", "y", "onClick"], hl = ["font-size", "font-weight", "fill", "x", "y", "onClick", "innerHTML"], vl = ["x", "y", "width", "height", "onClick", "onMouseenter", "fill"], dl = ["x", "y", "width", "height", "onClick", "onMouseenter", "fill"], yl = {
16
16
  key: 4,
@@ -32,41 +32,41 @@ const Ca = ["id"], _a = ["xmlns", "viewBox"], Sa = ["x", "y", "width", "height"]
32
32
  }
33
33
  },
34
34
  emits: ["selectDatapoint", "selectLegend", "selectTimeLabel"],
35
- setup(we, { expose: xt, emit: kt }) {
36
- const wt = G(() => import("./vue-ui-accordion-DiRbM5Q1.js")), zt = G(() => import("./DataTable-CoyBJeJB.js")), Lt = G(() => import("./PackageVersion-drEOUlg2.js")), Ct = G(() => import("./PenAndPaper-B7H1_uts.js")), _t = G(() => import("./vue-ui-skeleton-DdA_7GYv.js")), St = G(() => import("./Tooltip-BHzRX_iV.js")), $t = G(() => import("./UserOptions-EKIA1_GD.js")), { vue_ui_stackbar: Mt } = jt(), Tt = Zt(), b = we, ze = kt, K = w({
35
+ setup(we, { expose: kt, emit: wt }) {
36
+ const zt = G(() => import("./vue-ui-accordion-24NeyZv-.js")), Lt = G(() => import("./DataTable-CuWuzeRI.js")), Ct = G(() => import("./PackageVersion-BrZUdhZl.js")), _t = G(() => import("./PenAndPaper-DYoM74sL.js")), St = G(() => import("./vue-ui-skeleton-DGfviPaE.js")), $t = G(() => import("./Tooltip-Co7-BfJt.js")), Mt = G(() => import("./UserOptions-B_r-qsSM.js")), { vue_ui_stackbar: Tt } = jt(), Nt = Zt(), b = we, ze = wt, Q = w({
37
37
  get() {
38
38
  return !!b.dataset && b.dataset.length;
39
39
  },
40
40
  set(a) {
41
41
  return a;
42
42
  }
43
- }), R = p(null), V = p(dt()), ne = p(!1), Le = p(null), Ce = p(""), S = p([]), Te = p(0), Ne = p(null), Ie = p(null), Pe = p(null), Oe = p(null), Re = p(0), ue = p(!1), ae = p(null), H = p(!1), Nt = p(0), It = p(0), Pt = p(0), Q = p(null);
44
- ut(() => {
43
+ }), R = p(null), V = p(yt()), ie = p(!1), Le = p(null), Ce = p(""), S = p([]), Te = p(0), Ne = p(null), Ie = p(null), Pe = p(null), Oe = p(null), Re = p(0), ne = p(!1), ae = p(null), H = p(!1), Ve = p(0), It = p(0), Pt = p(0), j = p(null);
44
+ ct(() => {
45
45
  Se();
46
46
  });
47
47
  const e = w({
48
- get: () => De(),
48
+ get: () => Fe(),
49
49
  set: (a) => a
50
- }), { userOptionsVisible: _e, setUserOptionsVisibility: Ve, keepUserOptionState: Ae } = ba({ config: e.value }), { svgRef: Ue } = fa({ config: e.value.style.chart.title });
51
- function De() {
52
- const a = pt({
50
+ }), { userOptionsVisible: _e, setUserOptionsVisibility: Ae, keepUserOptionState: Ue } = ba({ config: e.value }), { svgRef: De } = fa({ config: e.value.style.chart.title });
51
+ function Fe() {
52
+ const a = xt({
53
53
  userConfig: b.config,
54
- defaultConfig: Mt
54
+ defaultConfig: Tt
55
55
  });
56
56
  let r = {};
57
57
  return a.theme ? r = {
58
- ...pt({
58
+ ...xt({
59
59
  userConfig: ta.vue_ui_stackbar[a.theme] || b.config,
60
60
  defaultConfig: a
61
61
  }),
62
62
  customPalette: ea[a.theme] || me
63
63
  } : r = a, b.config && te(b.config, "style.chart.grid.scale.scaleMin") ? r.style.chart.grid.scale.scaleMin = b.config.style.chart.grid.scale.scaleMin : r.style.chart.grid.scale.scaleMin = null, b.config && te(b.config, "style.chart.grid.scale.scaleMax") ? r.style.chart.grid.scale.scaleMax = b.config.style.chart.grid.scale.scaleMax : r.style.chart.grid.scale.scaleMax = null, b.config && te(b.config, "style.chart.zoom.startIndex") ? r.style.chart.zoom.startIndex = b.config.style.chart.zoom.startIndex : r.style.chart.zoom.startIndex = null, b.config && te(b.config, "style.chart.zoom.endIndex") ? r.style.chart.zoom.endIndex = b.config.style.chart.zoom.endIndex : r.style.chart.zoom.endIndex = null, b.config && te(b.config, "style.chart.bars.dataLabels.hideUnderValue") ? r.style.chart.bars.dataLabels.hideUnderValue = b.config.style.chart.bars.dataLabels.hideUnderValue : r.style.chart.bars.dataLabels.hideUnderValue = null, b.config && te(b.config, "style.chart.bars.dataLabels.hideUnderPercentage") ? r.style.chart.bars.dataLabels.hideUnderPercentage = b.config.style.chart.bars.dataLabels.hideUnderPercentage : r.style.chart.bars.dataLabels.hideUnderPercentage = null, r;
64
64
  }
65
- const Fe = w(() => e.value.style.chart.bars.dataLabels.hideUnderValue !== null), Ee = w(() => e.value.style.chart.bars.dataLabels.hideUnderPercentage !== null);
66
- ct(() => b.config, (a) => {
67
- e.value = De(), _e.value = !e.value.userOptions.showOnChartHover, Se(), Nt.value += 1, It.value += 1, Pt.value += 1, L.value.dataLabels.show = e.value.style.chart.bars.dataLabels.show, L.value.showTable = e.value.table.show, L.value.showTooltip = e.value.style.chart.tooltip.show;
68
- }, { deep: !0 }), ct(() => b.dataset, (a) => {
69
- Ge();
65
+ const Ee = w(() => e.value.style.chart.bars.dataLabels.hideUnderValue !== null), He = w(() => e.value.style.chart.bars.dataLabels.hideUnderPercentage !== null);
66
+ ht(() => b.config, (a) => {
67
+ e.value = Fe(), _e.value = !e.value.userOptions.showOnChartHover, Se(), Ve.value += 1, It.value += 1, Pt.value += 1, L.value.dataLabels.show = e.value.style.chart.bars.dataLabels.show, L.value.showTable = e.value.table.show, L.value.showTooltip = e.value.style.chart.tooltip.show;
68
+ }, { deep: !0 }), ht(() => b.dataset, (a) => {
69
+ Je();
70
70
  }, { deep: !0 });
71
71
  const L = p({
72
72
  dataLabels: {
@@ -74,11 +74,11 @@ const Ca = ["id"], _a = ["xmlns", "viewBox"], Sa = ["x", "y", "width", "height"]
74
74
  },
75
75
  showTable: e.value.table.show,
76
76
  showTooltip: e.value.style.chart.tooltip.show
77
- }), { isPrinting: He, isImaging: Be, generatePdf: We, generateImage: Ye } = ga({
77
+ }), { isPrinting: Be, isImaging: We, generatePdf: Ye, generateImage: Xe } = ga({
78
78
  elementId: `stackbar_${V.value}`,
79
79
  fileName: e.value.style.chart.title.text || "vue-ui-stackbar",
80
80
  options: e.value.userOptions.print
81
- }), ce = p({
81
+ }), ue = p({
82
82
  width: e.value.style.chart.width,
83
83
  height: e.value.style.chart.height,
84
84
  paddingRatio: {
@@ -87,12 +87,12 @@ const Ca = ["id"], _a = ["xmlns", "viewBox"], Sa = ["x", "y", "width", "height"]
87
87
  bottom: e.value.style.chart.padding.bottom / e.value.style.chart.height,
88
88
  left: e.value.style.chart.padding.left / e.value.style.chart.width
89
89
  }
90
- }), Ot = w(() => aa(e.value.customPalette)), A = ht(null), j = ht(null), Xe = p(null);
91
- ut(() => {
90
+ }), Ot = w(() => aa(e.value.customPalette)), A = vt(null), ee = vt(null), Ge = p(null);
91
+ ct(() => {
92
92
  Se();
93
93
  });
94
94
  function Se() {
95
- if (la(b.dataset) ? yt({
95
+ if (la(b.dataset) ? gt({
96
96
  componentName: "VueUiStackbar",
97
97
  type: "dataset"
98
98
  }) : b.dataset.forEach((a, r) => {
@@ -100,7 +100,7 @@ const Ca = ["id"], _a = ["xmlns", "viewBox"], Sa = ["x", "y", "width", "height"]
100
100
  datasetObject: a,
101
101
  requiredAttributes: ["name", "series"]
102
102
  }).forEach((t) => {
103
- K.value = !1, yt({
103
+ Q.value = !1, gt({
104
104
  componentName: "VueUiStackbar",
105
105
  type: "datasetSerieAttribute",
106
106
  property: t,
@@ -120,20 +120,20 @@ const Ca = ["id"], _a = ["xmlns", "viewBox"], Sa = ["x", "y", "width", "height"]
120
120
  source: Oe.value
121
121
  });
122
122
  requestAnimationFrame(() => {
123
- ce.value.width = r, ce.value.height = t, clearTimeout(Xe.value), Xe.value = setTimeout(() => {
123
+ ue.value.width = r, ue.value.height = t, clearTimeout(Ge.value), Ge.value = setTimeout(() => {
124
124
  H.value = !0;
125
125
  }, 10);
126
126
  });
127
127
  });
128
- A.value && (j.value && A.value.unobserve(j.value), A.value.disconnect()), A.value = new ResizeObserver(a), j.value = R.value.parentNode, A.value.observe(j.value);
128
+ A.value && (ee.value && A.value.unobserve(ee.value), A.value.disconnect()), A.value = new ResizeObserver(a), ee.value = R.value.parentNode, A.value.observe(ee.value);
129
129
  }
130
- Je();
130
+ qe();
131
131
  }
132
132
  Kt(() => {
133
- A.value && (j.value && A.value.unobserve(j.value), A.value.disconnect());
133
+ A.value && (ee.value && A.value.unobserve(ee.value), A.value.disconnect());
134
134
  });
135
135
  const o = w(() => {
136
- const { height: a, width: r } = ce.value, { right: t } = ce.value.paddingRatio, l = e.value.style.chart.padding.top, c = r - r * t, u = a - e.value.style.chart.padding.bottom, C = e.value.style.chart.padding.left, B = r - C - r * t, W = a - l - e.value.style.chart.padding.bottom;
136
+ const { height: a, width: r } = ue.value, { right: t } = ue.value.paddingRatio, l = e.value.style.chart.padding.top, c = r - r * t, u = a - e.value.style.chart.padding.bottom, C = e.value.style.chart.padding.left, B = r - C - r * t, W = a - l - e.value.style.chart.padding.bottom;
137
137
  return {
138
138
  chartHeight: a,
139
139
  chartWidth: r,
@@ -153,18 +153,18 @@ const Ca = ["id"], _a = ["xmlns", "viewBox"], Sa = ["x", "y", "width", "height"]
153
153
  // Store signs to manage display of neg values in distributed mode
154
154
  signedSeries: a.series.map((l) => l >= 0 ? 1 : -1),
155
155
  absoluteIndex: r,
156
- id: dt(),
156
+ id: yt(),
157
157
  color: t
158
158
  };
159
159
  })), D = w(() => Math.max(...U.value.filter((a) => !S.value.includes(a.id)).map((a) => a.series.length))), h = p({
160
160
  start: 0,
161
161
  end: Math.max(...b.dataset.map((a) => a.series.length))
162
162
  });
163
- function Ge() {
164
- Je();
163
+ function Je() {
164
+ qe();
165
165
  }
166
- async function Je() {
167
- (e.value.style.chart.zoom.startIndex !== null || e.value.style.chart.zoom.endIndex !== null) && Q.value ? (e.value.style.chart.zoom.startIndex !== null && (await fe(), await fe(), Q.value && Q.value.setStartValue(e.value.style.chart.zoom.startIndex)), e.value.style.chart.zoom.endIndex !== null && (await fe(), await fe(), Q.value && Q.value.setEndValue(Rt(e.value.style.chart.zoom.endIndex + 1)))) : (h.value = {
166
+ async function qe() {
167
+ (e.value.style.chart.zoom.startIndex !== null || e.value.style.chart.zoom.endIndex !== null) && j.value ? (e.value.style.chart.zoom.startIndex !== null && (await be(), await be(), j.value && j.value.setStartValue(e.value.style.chart.zoom.startIndex)), e.value.style.chart.zoom.endIndex !== null && (await be(), await be(), j.value && j.value.setEndValue(Rt(e.value.style.chart.zoom.endIndex + 1)))) : (h.value = {
168
168
  start: 0,
169
169
  end: Math.max(...b.dataset.map((a) => a.series.length))
170
170
  }, Re.value += 1);
@@ -179,7 +179,7 @@ const Ca = ["id"], _a = ["xmlns", "viewBox"], Sa = ["x", "y", "width", "height"]
179
179
  }), le = w(() => pe(U.value.filter((a) => !S.value.includes(a.id))).slice(h.value.start, h.value.end)), Vt = w(() => pe(U.value.filter((a) => !S.value.includes(a.id)).map((a) => ({
180
180
  ...a,
181
181
  series: a.series.map((r, t) => a.signedSeries[t] === -1 && r >= 0 ? -r : r)
182
- }))).slice(h.value.start, h.value.end)), he = w(() => {
182
+ }))).slice(h.value.start, h.value.end)), ce = w(() => {
183
183
  const a = U.value.filter((r) => !S.value.includes(r.id));
184
184
  return {
185
185
  positive: pe(a.map((r) => ({
@@ -192,7 +192,7 @@ const Ca = ["id"], _a = ["xmlns", "viewBox"], Sa = ["x", "y", "width", "height"]
192
192
  })))
193
193
  };
194
194
  }), P = w(() => {
195
- const a = e.value.style.chart.grid.scale.scaleMax !== null && !e.value.style.chart.bars.distributed ? e.value.style.chart.grid.scale.scaleMax : Math.max(...he.value.positive), r = Math.min(...he.value.negative), t = e.value.style.chart.grid.scale.scaleMin !== null && !e.value.style.chart.bars.distributed ? e.value.style.chart.grid.scale.scaleMin : [-1 / 0, 1 / 0, NaN, void 0, null].includes(r) ? 0 : r, l = !e.value.style.chart.bars.distributed && (e.value.style.chart.grid.scale.scaleMax !== null || e.value.style.chart.grid.scale.scaleMin !== null) ? gt(t > 0 ? 0 : t, a < 0 ? 0 : a, e.value.style.chart.grid.scale.ticks) : bt(t > 0 ? 0 : t, a < 0 ? 0 : a, e.value.style.chart.grid.scale.ticks);
195
+ const a = e.value.style.chart.grid.scale.scaleMax !== null && !e.value.style.chart.bars.distributed ? e.value.style.chart.grid.scale.scaleMax : Math.max(...ce.value.positive), r = Math.min(...ce.value.negative), t = e.value.style.chart.grid.scale.scaleMin !== null && !e.value.style.chart.bars.distributed ? e.value.style.chart.grid.scale.scaleMin : [-1 / 0, 1 / 0, NaN, void 0, null].includes(r) ? 0 : r, l = !e.value.style.chart.bars.distributed && (e.value.style.chart.grid.scale.scaleMax !== null || e.value.style.chart.grid.scale.scaleMin !== null) ? bt(t > 0 ? 0 : t, a < 0 ? 0 : a, e.value.style.chart.grid.scale.ticks) : ft(t > 0 ? 0 : t, a < 0 ? 0 : a, e.value.style.chart.grid.scale.ticks);
196
196
  return l.ticks.map((c) => ({
197
197
  zero: o.value.bottom - o.value.height * (Math.abs(l.min) / (l.max + Math.abs(l.min))),
198
198
  y: o.value.bottom - o.value.height * ((c + Math.abs(l.min)) / (l.max + Math.abs(l.min))),
@@ -209,24 +209,24 @@ const Ca = ["id"], _a = ["xmlns", "viewBox"], Sa = ["x", "y", "width", "height"]
209
209
  start: h.value.start,
210
210
  end: h.value.end
211
211
  })), k = w(() => {
212
- if (!K.value) return [];
212
+ if (!Q.value) return [];
213
213
  let a = Array(D.value).fill(0), r = Array(D.value).fill(0), t = Array(D.value).fill(0), l = Array(D.value).fill(0);
214
- const c = Math.max(...he.value.positive) || 0, u = Math.min(...he.value.negative), C = [-1 / 0, 1 / 0, NaN, void 0, null].includes(u) ? 0 : u, B = !e.value.style.chart.bars.distributed && (e.value.style.chart.grid.scale.scaleMax !== null || e.value.style.chart.grid.scale.scaleMin !== null) ? gt(e.value.style.chart.grid.scale.scaleMin !== null ? e.value.style.chart.grid.scale.scaleMin : C > 0 ? 0 : C, e.value.style.chart.grid.scale.scaleMax !== null ? e.value.style.chart.grid.scale.scaleMax : c < 0 ? 0 : c, e.value.style.chart.grid.scale.ticks) : bt(e.value.style.chart.grid.scale.scaleMin !== null ? e.value.style.chart.grid.scale.scaleMin : C > 0 ? 0 : C, e.value.style.chart.grid.scale.scaleMax !== null ? e.value.style.chart.grid.scale.scaleMax : c < 0 ? 0 : c, e.value.style.chart.grid.scale.ticks), { min: W, max: re } = B, Y = re + (W >= 0 ? 0 : Math.abs(W)) || 1, M = o.value.height, be = o.value.width, it = P.value[0] ? P.value[0].zero : o.value.bottom, nt = P.value[0] ? P.value[0].horizontal_zero : o.value.left;
214
+ const c = Math.max(...ce.value.positive) || 0, u = Math.min(...ce.value.negative), C = [-1 / 0, 1 / 0, NaN, void 0, null].includes(u) ? 0 : u, B = !e.value.style.chart.bars.distributed && (e.value.style.chart.grid.scale.scaleMax !== null || e.value.style.chart.grid.scale.scaleMin !== null) ? bt(e.value.style.chart.grid.scale.scaleMin !== null ? e.value.style.chart.grid.scale.scaleMin : C > 0 ? 0 : C, e.value.style.chart.grid.scale.scaleMax !== null ? e.value.style.chart.grid.scale.scaleMax : c < 0 ? 0 : c, e.value.style.chart.grid.scale.ticks) : ft(e.value.style.chart.grid.scale.scaleMin !== null ? e.value.style.chart.grid.scale.scaleMin : C > 0 ? 0 : C, e.value.style.chart.grid.scale.scaleMax !== null ? e.value.style.chart.grid.scale.scaleMax : c < 0 ? 0 : c, e.value.style.chart.grid.scale.ticks), { min: W, max: re } = B, Y = re + (W >= 0 ? 0 : Math.abs(W)) || 1, M = o.value.height, ge = o.value.width, nt = P.value[0] ? P.value[0].zero : o.value.bottom, ut = P.value[0] ? P.value[0].horizontal_zero : o.value.left;
215
215
  return U.value.filter((se) => !S.value.includes(se.id)).map((se) => {
216
216
  const O = se.series.slice(h.value.start, h.value.end), Ht = se.signedSeries.slice(h.value.start, h.value.end), Bt = O.map((m, x) => o.value.left + d.value * x + d.value * e.value.style.chart.bars.gapRatio / 4), Wt = O.map((m, x) => o.value.top + d.value * x + d.value * e.value.style.chart.bars.gapRatio / 4), Yt = O.map((m, x) => {
217
217
  const N = e.value.style.chart.bars.distributed ? (m || 0) / le.value[x] : (m || 0) / Y;
218
218
  let X, I;
219
- return m > 0 ? (I = M * N, X = it - I - a[x], a[x] += I) : (I = M * N, X = it + t[x], t[x] += Math.abs(I)), X;
219
+ return m > 0 ? (I = M * N, X = nt - I - a[x], a[x] += I) : (I = M * N, X = nt + t[x], t[x] += Math.abs(I)), X;
220
220
  }), Xt = O.map((m, x) => {
221
221
  const N = e.value.style.chart.bars.distributed ? (m || 0) / le.value[x] : (m || 0) / Y;
222
222
  let X, I;
223
- return m > 0 ? (I = be * N, X = nt + r[x], r[x] += I) : (I = be * N, X = nt - Math.abs(I) - l[x], l[x] += Math.abs(I)), X;
223
+ return m > 0 ? (I = ge * N, X = ut + r[x], r[x] += I) : (I = ge * N, X = ut - Math.abs(I) - l[x], l[x] += Math.abs(I)), X;
224
224
  }), Gt = O.map((m, x) => {
225
225
  const N = e.value.style.chart.bars.distributed ? (m || 0) / le.value[x] : (m || 0) / Y;
226
226
  return m > 0 ? M * N : M * Math.abs(N);
227
227
  }), Jt = O.map((m, x) => {
228
228
  const N = e.value.style.chart.bars.distributed ? (m || 0) / le.value[x] : (m || 0) / Y;
229
- return m > 0 ? be * N : be * Math.abs(N);
229
+ return m > 0 ? ge * N : ge * Math.abs(N);
230
230
  }), qt = O.map((m) => Math.abs(m)).reduce((m, x) => m + x, 0);
231
231
  return {
232
232
  ...se,
@@ -241,16 +241,16 @@ const Ca = ["id"], _a = ["xmlns", "viewBox"], Sa = ["x", "y", "width", "height"]
241
241
  horizontal_x: Xt
242
242
  };
243
243
  });
244
- }), qe = w(() => Vt.value.map((a, r) => ({
244
+ }), Ze = w(() => Vt.value.map((a, r) => ({
245
245
  value: a,
246
246
  sign: a >= 0 ? 1 : -1
247
247
  })));
248
- function ve(a, r, t, l, c) {
248
+ function he(a, r, t, l, c) {
249
249
  const u = c === -1 && a >= 0 ? -a : a;
250
250
  return ke(
251
251
  e.value.style.chart.bars.dataLabels.formatter,
252
252
  u,
253
- Z({
253
+ K({
254
254
  p: e.value.style.chart.bars.dataLabels.prefix,
255
255
  v: u,
256
256
  s: e.value.style.chart.bars.dataLabels.suffix,
@@ -259,11 +259,11 @@ const Ca = ["id"], _a = ["xmlns", "viewBox"], Sa = ["x", "y", "width", "height"]
259
259
  { datapoint: r, seriesIndex: t, datapointIndex: l }
260
260
  );
261
261
  }
262
- function Ze(a, r, t, l) {
262
+ function Ke(a, r, t, l) {
263
263
  return ke(
264
264
  e.value.style.chart.bars.dataLabels.formatter,
265
265
  a,
266
- Z({
266
+ K({
267
267
  v: isNaN(a) ? 0 : a,
268
268
  s: "%",
269
269
  r: e.value.style.chart.bars.dataLabels.rounding
@@ -271,7 +271,7 @@ const Ca = ["id"], _a = ["xmlns", "viewBox"], Sa = ["x", "y", "width", "height"]
271
271
  { datapoint: r, seriesIndex: t, datapointIndex: l }
272
272
  );
273
273
  }
274
- function Ke(a) {
274
+ function Qe(a) {
275
275
  const r = JSON.parse(JSON.stringify(k.value)).map((t) => ({
276
276
  name: t.name,
277
277
  value: t.series[a] === 0 ? 0 : t.series[a] || null,
@@ -281,8 +281,8 @@ const Ca = ["id"], _a = ["xmlns", "viewBox"], Sa = ["x", "y", "width", "height"]
281
281
  }));
282
282
  ze("selectDatapoint", { datapoint: r, period: $.value[a] });
283
283
  }
284
- function Qe(a) {
285
- ae.value = a, ne.value = !0;
284
+ function je(a) {
285
+ ae.value = a, ie.value = !0;
286
286
  const r = e.value.style.chart.tooltip.customFormat, t = JSON.parse(JSON.stringify(k.value)).map((c) => ({
287
287
  name: c.name,
288
288
  absoluteIndex: c.absoluteIndex,
@@ -298,7 +298,7 @@ const Ca = ["id"], _a = ["xmlns", "viewBox"], Sa = ["x", "y", "width", "height"]
298
298
  series: k.value
299
299
  };
300
300
  const l = t.map((c) => Math.abs(c.value)).reduce((c, u) => c + u, 0);
301
- if (mt(r) && va(() => r({
301
+ if (pt(r) && va(() => r({
302
302
  seriesIndex: a,
303
303
  datapoint: t,
304
304
  series: k.value,
@@ -327,13 +327,13 @@ const Ca = ["id"], _a = ["xmlns", "viewBox"], Sa = ["x", "y", "width", "height"]
327
327
  t.reverse().forEach((M) => {
328
328
  re += `
329
329
  <div style="display:flex;flex-direction:row;align-items:center;gap:4px">
330
- <svg viewBox="0 0 60 60" height="14" width="14"><rect rx="5" x="0" y="0" height="60" width="60" stroke="none" fill="${e.value.style.chart.bars.gradient.show ? `url(#gradient_${M.id})` : M.color}"/>${Tt.pattern ? `<rect rx="5" x="0" y="0" height="60" width="60" stroke="none" fill="url(#pattern_${V.value}_${M.absoluteIndex})"/>` : ""}</svg>
331
- ${M.name}${c || u ? ":" : ""} ${c ? Z({
330
+ <svg viewBox="0 0 60 60" height="14" width="14"><rect rx="5" x="0" y="0" height="60" width="60" stroke="none" fill="${e.value.style.chart.bars.gradient.show ? `url(#gradient_${M.id})` : M.color}"/>${Nt.pattern ? `<rect rx="5" x="0" y="0" height="60" width="60" stroke="none" fill="url(#pattern_${V.value}_${M.absoluteIndex})"/>` : ""}</svg>
331
+ ${M.name}${c || u ? ":" : ""} ${c ? K({
332
332
  p: e.value.style.chart.bars.dataLabels.prefix,
333
333
  v: M.value,
334
334
  s: e.value.style.chart.bars.dataLabels.suffix,
335
335
  r: B
336
- }) : ""} ${Y[0]}${u ? Z({
336
+ }) : ""} ${Y[0]}${u ? K({
337
337
  v: isNaN(M.value / l) ? 0 : Math.abs(M.value) / l * 100,
338
338
  // Negs are absed to show relative proportion to absolute total. It's opinionated.
339
339
  s: "%",
@@ -344,22 +344,22 @@ const Ca = ["id"], _a = ["xmlns", "viewBox"], Sa = ["x", "y", "width", "height"]
344
344
  }), Ce.value = `<div>${re}</div>`;
345
345
  }
346
346
  }
347
- function je(a) {
348
- ue.value = a, Te.value += 1;
347
+ function et(a) {
348
+ ne.value = a, Te.value += 1;
349
349
  }
350
- function et() {
350
+ function tt() {
351
351
  L.value.showTable = !L.value.showTable;
352
352
  }
353
- function tt() {
353
+ function at() {
354
354
  L.value.dataLabels.show = !L.value.dataLabels.show;
355
355
  }
356
- function at() {
356
+ function lt() {
357
357
  L.value.showTooltip = !L.value.showTooltip;
358
358
  }
359
359
  function At() {
360
360
  return k.value;
361
361
  }
362
- const lt = w(() => {
362
+ const rt = w(() => {
363
363
  if (k.value.length === 0) return { head: [], body: [], config: {}, columnNames: [] };
364
364
  const a = k.value.map(({ name: t, color: l }) => ({
365
365
  label: t,
@@ -372,11 +372,11 @@ const Ca = ["id"], _a = ["xmlns", "viewBox"], Sa = ["x", "y", "width", "height"]
372
372
  }), r.push(l);
373
373
  }), { head: a, body: r };
374
374
  });
375
- function rt(a = null) {
376
- const r = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], t = ["", ...lt.value.head.map((C) => C.label)], l = lt.value.body, c = r.concat([t]).concat(l), u = ca(c);
375
+ function st(a = null) {
376
+ const r = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], t = ["", ...rt.value.head.map((C) => C.label)], l = rt.value.body, c = r.concat([t]).concat(l), u = ca(c);
377
377
  a ? a(u) : ha({ csvContent: u, title: e.value.style.chart.title.text || "vue-ui-stackbar" });
378
378
  }
379
- const de = w(() => {
379
+ const ve = w(() => {
380
380
  const a = [""].concat(k.value.map((c) => c.name)).concat(' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>');
381
381
  let r = [];
382
382
  for (let c = 0; c < D.value; c += 1) {
@@ -406,7 +406,7 @@ const Ca = ["id"], _a = ["xmlns", "viewBox"], Sa = ["x", "y", "width", "height"]
406
406
  S.value.push(r.id);
407
407
  }
408
408
  }
409
- const st = w(() => U.value.map((a, r) => ({
409
+ const ot = w(() => U.value.map((a, r) => ({
410
410
  ...a,
411
411
  shape: "square"
412
412
  })).map((a) => ({
@@ -421,11 +421,11 @@ const Ca = ["id"], _a = ["xmlns", "viewBox"], Sa = ["x", "y", "width", "height"]
421
421
  fontSize: e.value.style.chart.legend.fontSize,
422
422
  paddingBottom: 12,
423
423
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
424
- })), ye = p(!1);
424
+ })), de = p(!1);
425
425
  function $e() {
426
- ye.value = !ye.value;
426
+ de.value = !de.value;
427
427
  }
428
- function ge(a, r) {
428
+ function ye(a, r) {
429
429
  const t = JSON.parse(JSON.stringify(k.value)).map((l) => ({
430
430
  name: l.name,
431
431
  value: l.series[r] === 0 ? 0 : (l.signedSeries[r] === -1 && l.series[r] >= 0 ? -l.series[r] : l.series[r]) || null,
@@ -440,8 +440,8 @@ const Ca = ["id"], _a = ["xmlns", "viewBox"], Sa = ["x", "y", "width", "height"]
440
440
  });
441
441
  }
442
442
  const Ft = w(() => Math.max(...k.value.flatMap((a) => a.series)));
443
- function ot(a, r) {
444
- return e.value.style.chart.bars.showDistributedPercentage && e.value.style.chart.bars.distributed ? Ee.value ? r * 100 >= e.value.style.chart.bars.dataLabels.hideUnderPercentage : e.value.style.chart.bars.dataLabels.hideEmptyPercentages ? r > 0 : !0 : Ee.value ? (Fe.value && console.warn("Vue Data UI - VueUiStackbar - You cannot set both dataLabels.hideUnderPercentage and dataLabels.hideUnderValue. Note that dataLabels.hideUnderPercentage takes precedence in this case."), a > Ft.value * e.value.style.chart.bars.dataLabels.hideUnderPercentage / 100) : Fe.value ? Math.abs(a) >= e.value.style.chart.bars.dataLabels.hideUnderValue : e.value.style.chart.bars.dataLabels.hideEmptyValues ? a !== 0 : !0;
443
+ function it(a, r) {
444
+ return e.value.style.chart.bars.showDistributedPercentage && e.value.style.chart.bars.distributed ? He.value ? r * 100 >= e.value.style.chart.bars.dataLabels.hideUnderPercentage : e.value.style.chart.bars.dataLabels.hideEmptyPercentages ? r > 0 : !0 : He.value ? (Ee.value && console.warn("Vue Data UI - VueUiStackbar - You cannot set both dataLabels.hideUnderPercentage and dataLabels.hideUnderValue. Note that dataLabels.hideUnderPercentage takes precedence in this case."), a > Ft.value * e.value.style.chart.bars.dataLabels.hideUnderPercentage / 100) : Ee.value ? Math.abs(a) >= e.value.style.chart.bars.dataLabels.hideUnderValue : e.value.style.chart.bars.dataLabels.hideEmptyValues ? a !== 0 : !0;
445
445
  }
446
446
  async function Et({ scale: a = 2 } = {}) {
447
447
  if (!R.value) return;
@@ -455,32 +455,32 @@ const Ca = ["id"], _a = ["xmlns", "viewBox"], Sa = ["x", "y", "width", "height"]
455
455
  aspectRatio: l
456
456
  };
457
457
  }
458
- return xt({
458
+ return kt({
459
459
  getData: At,
460
460
  getImage: Et,
461
- generatePdf: We,
462
- generateCsv: rt,
463
- generateImage: Ye,
464
- toggleTable: et,
465
- toggleLabels: tt,
466
- toggleTooltip: at,
461
+ generatePdf: Ye,
462
+ generateCsv: st,
463
+ generateImage: Xe,
464
+ toggleTable: tt,
465
+ toggleLabels: at,
466
+ toggleTooltip: lt,
467
467
  toggleAnnotator: $e,
468
- toggleFullscreen: je
468
+ toggleFullscreen: et
469
469
  }), (a, r) => (s(), n("div", {
470
470
  id: `stackbar_${V.value}`,
471
471
  ref_key: "stackbarChart",
472
472
  ref: R,
473
- class: oe({ "vue-ui-stackbar": !0, "vue-data-ui-wrapper-fullscreen": ue.value }),
473
+ class: oe({ "vue-ui-stackbar": !0, "vue-data-ui-wrapper-fullscreen": ne.value }),
474
474
  style: J(`background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color};font-family:${e.value.style.fontFamily}; position: relative; ${e.value.responsive ? "height: 100%" : ""}`),
475
- onMouseenter: r[6] || (r[6] = () => y(Ve)(!0)),
476
- onMouseleave: r[7] || (r[7] = () => y(Ve)(!1))
475
+ onMouseenter: r[6] || (r[6] = () => y(Ae)(!0)),
476
+ onMouseleave: r[7] || (r[7] = () => y(Ae)(!1))
477
477
  }, [
478
- e.value.userOptions.buttons.annotator ? (s(), ee(y(Ct), {
478
+ e.value.userOptions.buttons.annotator ? (s(), q(y(_t), {
479
479
  key: 0,
480
- svgRef: y(Ue),
480
+ svgRef: y(De),
481
481
  backgroundColor: e.value.style.chart.backgroundColor,
482
482
  color: e.value.style.chart.color,
483
- active: ye.value,
483
+ active: de.value,
484
484
  onClose: $e
485
485
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : g("", !0),
486
486
  z(a.$slots, "userConfig", {}, void 0, !0),
@@ -490,7 +490,8 @@ const Ca = ["id"], _a = ["xmlns", "viewBox"], Sa = ["x", "y", "width", "height"]
490
490
  ref: Ne,
491
491
  style: "width:100%;background:transparent;padding-bottom:24px"
492
492
  }, [
493
- ie(xa, {
493
+ (s(), q(xa, {
494
+ key: `title_${Ve.value}`,
494
495
  config: {
495
496
  title: {
496
497
  cy: "stackbar-title",
@@ -501,15 +502,15 @@ const Ca = ["id"], _a = ["xmlns", "viewBox"], Sa = ["x", "y", "width", "height"]
501
502
  ...e.value.style.chart.title.subtitle
502
503
  }
503
504
  }
504
- }, null, 8, ["config"])
505
+ }, null, 8, ["config"]))
505
506
  ], 512)) : g("", !0),
506
- e.value.userOptions.show && K.value && (y(Ae) || y(_e)) ? (s(), ee(y($t), {
507
+ e.value.userOptions.show && Q.value && (y(Ue) || y(_e)) ? (s(), q(y(Mt), {
507
508
  ref: "details",
508
509
  key: `user_option_${Te.value}`,
509
510
  backgroundColor: e.value.style.chart.backgroundColor,
510
511
  color: e.value.style.chart.color,
511
- isPrinting: y(He),
512
- isImaging: y(Be),
512
+ isPrinting: y(Be),
513
+ isImaging: y(We),
513
514
  uid: V.value,
514
515
  hasTooltip: e.value.style.chart.tooltip.show && e.value.userOptions.buttons.tooltip,
515
516
  hasPdf: e.value.userOptions.buttons.pdf,
@@ -518,27 +519,27 @@ const Ca = ["id"], _a = ["xmlns", "viewBox"], Sa = ["x", "y", "width", "height"]
518
519
  hasTable: e.value.userOptions.buttons.table,
519
520
  hasLabel: e.value.userOptions.buttons.labels,
520
521
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
521
- isFullscreen: ue.value,
522
+ isFullscreen: ne.value,
522
523
  chartElement: R.value,
523
524
  position: e.value.userOptions.position,
524
525
  isTooltip: L.value.showTooltip,
525
526
  titles: { ...e.value.userOptions.buttonTitles },
526
527
  hasAnnotator: e.value.userOptions.buttons.annotator,
527
- isAnnotation: ye.value,
528
+ isAnnotation: de.value,
528
529
  callbacks: e.value.userOptions.callbacks,
529
530
  printScale: e.value.userOptions.print.scale,
530
- onToggleFullscreen: je,
531
- onGeneratePdf: y(We),
532
- onGenerateCsv: rt,
533
- onGenerateImage: y(Ye),
534
- onToggleTable: et,
535
- onToggleLabels: tt,
536
- onToggleTooltip: at,
531
+ onToggleFullscreen: et,
532
+ onGeneratePdf: y(Ye),
533
+ onGenerateCsv: st,
534
+ onGenerateImage: y(Xe),
535
+ onToggleTable: tt,
536
+ onToggleLabels: at,
537
+ onToggleTooltip: lt,
537
538
  onToggleAnnotator: $e,
538
539
  style: J({
539
- visibility: y(Ae) ? y(_e) ? "visible" : "hidden" : "visible"
540
+ visibility: y(Ue) ? y(_e) ? "visible" : "hidden" : "visible"
540
541
  })
541
- }, vt({ _: 2 }, [
542
+ }, dt({ _: 2 }, [
542
543
  a.$slots.menuIcon ? {
543
544
  name: "menuIcon",
544
545
  fn: _(({ isOpen: t, color: l }) => [
@@ -603,15 +604,15 @@ const Ca = ["id"], _a = ["xmlns", "viewBox"], Sa = ["x", "y", "width", "height"]
603
604
  key: "8"
604
605
  } : void 0
605
606
  ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "chartElement", "position", "isTooltip", "titles", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : g("", !0),
606
- K.value ? (s(), n("svg", {
607
+ Q.value ? (s(), n("svg", {
607
608
  key: 3,
608
609
  ref_key: "svgRef",
609
- ref: Ue,
610
+ ref: De,
610
611
  xmlns: y(oa),
611
612
  viewBox: `0 0 ${o.value.chartWidth <= 0 ? 10 : o.value.chartWidth} ${o.value.chartHeight <= 0 ? 10 : o.value.chartHeight}`,
612
613
  style: J(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
613
614
  }, [
614
- ie(y(Lt)),
615
+ fe(y(Ct)),
615
616
  a.$slots["chart-background"] ? (s(), n("foreignObject", {
616
617
  key: 0,
617
618
  x: o.value.left,
@@ -632,15 +633,15 @@ const Ca = ["id"], _a = ["xmlns", "viewBox"], Sa = ["x", "y", "width", "height"]
632
633
  x2: "0%",
633
634
  y2: "100%"
634
635
  }, [
635
- q("stop", {
636
+ Z("stop", {
636
637
  offset: "0%",
637
638
  "stop-color": t.color
638
639
  }, null, 8, Ta),
639
- q("stop", {
640
+ Z("stop", {
640
641
  offset: "61.8%",
641
642
  "stop-color": y(ia)(t.color, e.value.style.chart.bars.gradient.intensity / 100)
642
643
  }, null, 8, Na),
643
- q("stop", {
644
+ Z("stop", {
644
645
  offset: "100%",
645
646
  "stop-color": t.color
646
647
  }, null, 8, Ia)
@@ -792,19 +793,19 @@ const Ca = ["id"], _a = ["xmlns", "viewBox"], Sa = ["x", "y", "width", "height"]
792
793
  L.value.dataLabels.show && e.value.orientation === "vertical" ? (s(), n(v, { key: 10 }, [
793
794
  (s(!0), n(v, null, f(k.value, (t, l) => (s(), n("g", null, [
794
795
  (s(!0), n(v, null, f(t.x, (c, u) => (s(), n(v, null, [
795
- ot(t.series[u], t.proportions[u]) ? (s(), n("text", {
796
+ it(t.series[u], t.proportions[u]) ? (s(), n("text", {
796
797
  key: 0,
797
798
  x: c + d.value * (1 - e.value.style.chart.bars.gapRatio / 2) / 2,
798
799
  y: t.y[u] + t.height[u] / 2 + e.value.style.chart.bars.dataLabels.fontSize / 3,
799
800
  "font-size": e.value.style.chart.bars.dataLabels.fontSize,
800
- fill: e.value.style.chart.bars.dataLabels.adaptColorToBackground ? y(ft)(t.color) : e.value.style.chart.bars.dataLabels.color,
801
+ fill: e.value.style.chart.bars.dataLabels.adaptColorToBackground ? y(mt)(t.color) : e.value.style.chart.bars.dataLabels.color,
801
802
  "font-weight": e.value.style.chart.bars.dataLabels.bold ? "bold" : "normal",
802
803
  "text-anchor": "middle"
803
- }, T(e.value.style.chart.bars.showDistributedPercentage && e.value.style.chart.bars.distributed ? Ze(t.proportions[u] * 100, t, l, u) : ve(t.series[u], t, l, u, t.signedSeries[u])), 9, Ja)) : g("", !0)
804
+ }, T(e.value.style.chart.bars.showDistributedPercentage && e.value.style.chart.bars.distributed ? Ke(t.proportions[u] * 100, t, l, u) : he(t.series[u], t, l, u, t.signedSeries[u])), 9, Ja)) : g("", !0)
804
805
  ], 64))), 256))
805
806
  ]))), 256)),
806
807
  e.value.style.chart.bars.totalValues.show && k.value.length > 1 ? (s(), n("g", qa, [
807
- (s(!0), n(v, null, f(qe.value, (t, l) => (s(), n(v, null, [
808
+ (s(!0), n(v, null, f(Ze.value, (t, l) => (s(), n(v, null, [
808
809
  !e.value.style.chart.bars.dataLabels.hideEmptyValues || t.value !== 0 ? (s(), n("text", {
809
810
  key: 0,
810
811
  x: o.value.left + d.value * l + d.value / 2,
@@ -813,26 +814,26 @@ const Ca = ["id"], _a = ["xmlns", "viewBox"], Sa = ["x", "y", "width", "height"]
813
814
  "font-size": e.value.style.chart.bars.totalValues.fontSize,
814
815
  "font-weight": e.value.style.chart.bars.totalValues.bold ? "bold" : "normal",
815
816
  fill: e.value.style.chart.bars.totalValues.color
816
- }, T(ve(t.value, t, l, t.sign)), 9, Za)) : g("", !0)
817
+ }, T(he(t.value, t, l, t.sign)), 9, Za)) : g("", !0)
817
818
  ], 64))), 256))
818
819
  ])) : g("", !0)
819
820
  ], 64)) : g("", !0),
820
821
  L.value.dataLabels.show && e.value.orientation === "horizontal" ? (s(), n(v, { key: 11 }, [
821
822
  (s(!0), n(v, null, f(k.value, (t, l) => (s(), n("g", null, [
822
823
  (s(!0), n(v, null, f(t.horizontal_x, (c, u) => (s(), n(v, null, [
823
- ot(t.series[u], t.proportions[u]) ? (s(), n("text", {
824
+ it(t.series[u], t.proportions[u]) ? (s(), n("text", {
824
825
  key: 0,
825
826
  x: c + (t.horizontal_width[u] < 0 ? 1e-4 : t.horizontal_width[u]) / 2,
826
827
  y: t.horizontal_y[u] + d.value * (1 - e.value.style.chart.bars.gapRatio / 2) / 2 + e.value.style.chart.bars.dataLabels.fontSize / 3,
827
828
  "font-size": e.value.style.chart.bars.dataLabels.fontSize,
828
- fill: e.value.style.chart.bars.dataLabels.adaptColorToBackground ? y(ft)(t.color) : e.value.style.chart.bars.dataLabels.color,
829
+ fill: e.value.style.chart.bars.dataLabels.adaptColorToBackground ? y(mt)(t.color) : e.value.style.chart.bars.dataLabels.color,
829
830
  "font-weight": e.value.style.chart.bars.dataLabels.bold ? "bold" : "normal",
830
831
  "text-anchor": "middle"
831
- }, T(e.value.style.chart.bars.showDistributedPercentage && e.value.style.chart.bars.distributed ? Ze(t.proportions[u] * 100, t, l, u) : ve(t.series[u], t, l, u, t.signedSeries[u])), 9, Ka)) : g("", !0)
832
+ }, T(e.value.style.chart.bars.showDistributedPercentage && e.value.style.chart.bars.distributed ? Ke(t.proportions[u] * 100, t, l, u) : he(t.series[u], t, l, u, t.signedSeries[u])), 9, Ka)) : g("", !0)
832
833
  ], 64))), 256))
833
834
  ]))), 256)),
834
835
  e.value.style.chart.bars.totalValues.show && k.value.length > 1 ? (s(), n("g", Qa, [
835
- (s(!0), n(v, null, f(qe.value, (t, l) => (s(), n(v, null, [
836
+ (s(!0), n(v, null, f(Ze.value, (t, l) => (s(), n(v, null, [
836
837
  !e.value.style.chart.bars.dataLabels.hideEmptyValues || t.value !== 0 ? (s(), n("text", {
837
838
  key: 0,
838
839
  x: o.value.right + e.value.style.chart.bars.totalValues.fontSize / 3,
@@ -841,7 +842,7 @@ const Ca = ["id"], _a = ["xmlns", "viewBox"], Sa = ["x", "y", "width", "height"]
841
842
  "font-size": e.value.style.chart.bars.totalValues.fontSize,
842
843
  "font-weight": e.value.style.chart.bars.totalValues.bold ? "bold" : "normal",
843
844
  fill: e.value.style.chart.bars.totalValues.color
844
- }, T(ve(t.value, t, l, t.sign)), 9, ja)) : g("", !0)
845
+ }, T(he(t.value, t, l, t.sign)), 9, ja)) : g("", !0)
845
846
  ], 64))), 256))
846
847
  ])) : g("", !0)
847
848
  ], 64)) : g("", !0),
@@ -864,7 +865,7 @@ const Ca = ["id"], _a = ["xmlns", "viewBox"], Sa = ["x", "y", "width", "height"]
864
865
  }, T(y(ke)(
865
866
  e.value.style.chart.grid.y.axisLabels.formatter,
866
867
  t.value,
867
- y(Z)({
868
+ y(K)({
868
869
  p: e.value.style.chart.bars.dataLabels.prefix,
869
870
  v: t.value,
870
871
  s: e.value.style.chart.bars.dataLabels.suffix,
@@ -892,7 +893,7 @@ const Ca = ["id"], _a = ["xmlns", "viewBox"], Sa = ["x", "y", "width", "height"]
892
893
  }, T(y(ke)(
893
894
  e.value.style.chart.grid.y.axisLabels.formatter,
894
895
  t.value,
895
- y(Z)({
896
+ y(K)({
896
897
  p: e.value.style.chart.bars.dataLabels.prefix,
897
898
  v: t.value,
898
899
  s: e.value.style.chart.bars.dataLabels.suffix,
@@ -939,7 +940,7 @@ const Ca = ["id"], _a = ["xmlns", "viewBox"], Sa = ["x", "y", "width", "height"]
939
940
  x: 0,
940
941
  y: 0
941
942
  }),
942
- onClick: () => ge(t, l)
943
+ onClick: () => ye(t, l)
943
944
  }, null, 8, il)) : (s(), n("text", {
944
945
  key: l,
945
946
  "text-anchor": e.value.style.chart.grid.x.timeLabels.rotation > 0 ? "start" : e.value.style.chart.grid.x.timeLabels.rotation < 0 ? "end" : "middle",
@@ -948,7 +949,7 @@ const Ca = ["id"], _a = ["xmlns", "viewBox"], Sa = ["x", "y", "width", "height"]
948
949
  fill: e.value.style.chart.grid.x.timeLabels.color,
949
950
  transform: `translate(${o.value.left + d.value * l + d.value / 2}, ${o.value.bottom + e.value.style.chart.grid.x.timeLabels.fontSize * 1.3 + e.value.style.chart.grid.x.timeLabels.offsetY}), rotate(${e.value.style.chart.grid.x.timeLabels.rotation})`,
950
951
  style: { cursor: "pointer" },
951
- onClick: () => ge(t, l)
952
+ onClick: () => ye(t, l)
952
953
  }, T(t.text), 9, ol))
953
954
  ]))), 256))
954
955
  ]))
@@ -980,7 +981,7 @@ const Ca = ["id"], _a = ["xmlns", "viewBox"], Sa = ["x", "y", "width", "height"]
980
981
  x: o.value.left - 8,
981
982
  y: o.value.top + d.value * l + d.value / 2 + e.value.style.chart.grid.y.axisLabels.fontSize / 3,
982
983
  style: { cursor: "pointer" },
983
- onClick: () => ge(t, l),
984
+ onClick: () => ye(t, l),
984
985
  innerHTML: y(ua)({
985
986
  content: String(t.text),
986
987
  fontSize: e.value.style.chart.grid.y.axisLabels.fontSize,
@@ -999,7 +1000,7 @@ const Ca = ["id"], _a = ["xmlns", "viewBox"], Sa = ["x", "y", "width", "height"]
999
1000
  style: {
1000
1001
  cursor: "pointer"
1001
1002
  },
1002
- onClick: () => ge(t, l)
1003
+ onClick: () => ye(t, l)
1003
1004
  }, T(t.text), 9, cl))
1004
1005
  ]))), 256))
1005
1006
  ]))
@@ -1009,10 +1010,10 @@ const Ca = ["id"], _a = ["xmlns", "viewBox"], Sa = ["x", "y", "width", "height"]
1009
1010
  y: o.value.top,
1010
1011
  width: d.value,
1011
1012
  height: o.value.height < 0 ? 0 : o.value.height,
1012
- onClick: (c) => Ke(l),
1013
- onMouseenter: (c) => Qe(l),
1013
+ onClick: (c) => Qe(l),
1014
+ onMouseenter: (c) => je(l),
1014
1015
  onMouseleave: r[0] || (r[0] = (c) => {
1015
- ae.value = null, ne.value = !1;
1016
+ ae.value = null, ie.value = !1;
1016
1017
  }),
1017
1018
  fill: l === ae.value ? e.value.style.chart.highlighter.color : "transparent",
1018
1019
  style: J({ opacity: e.value.style.chart.highlighter.opacity / 100 })
@@ -1022,10 +1023,10 @@ const Ca = ["id"], _a = ["xmlns", "viewBox"], Sa = ["x", "y", "width", "height"]
1022
1023
  y: o.value.top + l * d.value,
1023
1024
  width: o.value.width < 0 ? 0 : o.value.width,
1024
1025
  height: d.value,
1025
- onClick: (c) => Ke(l),
1026
- onMouseenter: (c) => Qe(l),
1026
+ onClick: (c) => Qe(l),
1027
+ onMouseenter: (c) => je(l),
1027
1028
  onMouseleave: r[1] || (r[1] = (c) => {
1028
- ae.value = null, ne.value = !1;
1029
+ ae.value = null, ie.value = !1;
1029
1030
  }),
1030
1031
  fill: l === ae.value ? e.value.style.chart.highlighter.color : "transparent",
1031
1032
  style: J({ opacity: e.value.style.chart.highlighter.opacity / 100 })
@@ -1033,9 +1034,9 @@ const Ca = ["id"], _a = ["xmlns", "viewBox"], Sa = ["x", "y", "width", "height"]
1033
1034
  z(a.$slots, "svg", F(E({ ...o.value })), void 0, !0)
1034
1035
  ], 12, _a)) : g("", !0),
1035
1036
  a.$slots.watermark ? (s(), n("div", yl, [
1036
- z(a.$slots, "watermark", F(E({ isPrinting: y(He) || y(Be) })), void 0, !0)
1037
+ z(a.$slots, "watermark", F(E({ isPrinting: y(Be) || y(We) })), void 0, !0)
1037
1038
  ])) : g("", !0),
1038
- K.value ? g("", !0) : (s(), ee(y(_t), {
1039
+ Q.value ? g("", !0) : (s(), q(y(St), {
1039
1040
  key: 5,
1040
1041
  config: {
1041
1042
  type: "bar",
@@ -1050,15 +1051,15 @@ const Ca = ["id"], _a = ["xmlns", "viewBox"], Sa = ["x", "y", "width", "height"]
1050
1051
  }
1051
1052
  }
1052
1053
  }, null, 8, ["config"])),
1053
- q("div", {
1054
+ Z("div", {
1054
1055
  ref_key: "chartSlicer",
1055
1056
  ref: Pe,
1056
1057
  style: J(`width:100%;background:${e.value.style.chart.backgroundColor}`),
1057
1058
  "data-dom-to-png-ignore": ""
1058
1059
  }, [
1059
- e.value.style.chart.zoom.show && D.value > 1 ? (s(), ee(pa, {
1060
+ e.value.style.chart.zoom.show && D.value > 1 ? (s(), q(pa, {
1060
1061
  ref_key: "slicerComponent",
1061
- ref: Q,
1062
+ ref: j,
1062
1063
  key: `slicer_${Re.value}`,
1063
1064
  background: e.value.style.chart.zoom.color,
1064
1065
  borderColor: e.value.style.chart.backgroundColor,
@@ -1081,7 +1082,7 @@ const Ca = ["id"], _a = ["xmlns", "viewBox"], Sa = ["x", "y", "width", "height"]
1081
1082
  refreshEndPoint: e.value.style.chart.zoom.endIndex !== null ? e.value.style.chart.zoom.endIndex + 1 : Math.max(...we.dataset.map((t) => t.series.length)),
1082
1083
  enableRangeHandles: e.value.style.chart.zoom.enableRangeHandles,
1083
1084
  enableSelectionDrag: e.value.style.chart.zoom.enableSelectionDrag,
1084
- onReset: Ge
1085
+ onReset: Je
1085
1086
  }, {
1086
1087
  "reset-action": _(({ reset: t }) => [
1087
1088
  z(a.$slots, "reset-action", F(E({ reset: t })), void 0, !0)
@@ -1089,8 +1090,8 @@ const Ca = ["id"], _a = ["xmlns", "viewBox"], Sa = ["x", "y", "width", "height"]
1089
1090
  _: 3
1090
1091
  }, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "start", "end", "refreshStartPoint", "refreshEndPoint", "enableRangeHandles", "enableSelectionDrag"])) : g("", !0)
1091
1092
  ], 4),
1092
- ie(y(St), {
1093
- show: L.value.showTooltip && ne.value,
1093
+ fe(y($t), {
1094
+ show: L.value.showTooltip && ie.value,
1094
1095
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
1095
1096
  color: e.value.style.chart.tooltip.color,
1096
1097
  fontSize: e.value.style.chart.tooltip.fontSize,
@@ -1102,8 +1103,8 @@ const Ca = ["id"], _a = ["xmlns", "viewBox"], Sa = ["x", "y", "width", "height"]
1102
1103
  offsetY: e.value.style.chart.tooltip.offsetY,
1103
1104
  parent: R.value,
1104
1105
  content: Ce.value,
1105
- isFullscreen: ue.value,
1106
- isCustom: y(mt)(e.value.style.chart.tooltip.customFormat)
1106
+ isFullscreen: ne.value,
1107
+ isCustom: y(pt)(e.value.style.chart.tooltip.customFormat)
1107
1108
  }, {
1108
1109
  "tooltip-before": _(() => [
1109
1110
  z(a.$slots, "tooltip-before", F(E({ ...Le.value })), void 0, !0)
@@ -1113,18 +1114,18 @@ const Ca = ["id"], _a = ["xmlns", "viewBox"], Sa = ["x", "y", "width", "height"]
1113
1114
  ]),
1114
1115
  _: 3
1115
1116
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
1116
- q("div", {
1117
+ Z("div", {
1117
1118
  ref_key: "chartLegend",
1118
1119
  ref: Ie
1119
1120
  }, [
1120
- e.value.style.chart.legend.show && K.value ? (s(), ee(ma, {
1121
+ e.value.style.chart.legend.show && Q.value ? (s(), q(ma, {
1121
1122
  key: 0,
1122
- legendSet: st.value,
1123
+ legendSet: ot.value,
1123
1124
  config: Dt.value,
1124
1125
  onClickMarker: r[4] || (r[4] = ({ legend: t }) => t.segregate())
1125
- }, vt({
1126
+ }, dt({
1126
1127
  item: _(({ legend: t }) => [
1127
- q("div", {
1128
+ Z("div", {
1128
1129
  onClick: (l) => t.segregate(),
1129
1130
  style: J(`opacity:${S.value.includes(t.id) ? 0.5 : 1}`)
1130
1131
  }, T(t.name), 13, gl)
@@ -1134,7 +1135,7 @@ const Ca = ["id"], _a = ["xmlns", "viewBox"], Sa = ["x", "y", "width", "height"]
1134
1135
  a.$slots.pattern ? {
1135
1136
  name: "legend-pattern",
1136
1137
  fn: _(({ legend: t, index: l }) => [
1137
- ie(ka, {
1138
+ fe(ka, {
1138
1139
  shape: t.shape,
1139
1140
  radius: 30,
1140
1141
  stroke: "none",
@@ -1146,7 +1147,7 @@ const Ca = ["id"], _a = ["xmlns", "viewBox"], Sa = ["x", "y", "width", "height"]
1146
1147
  } : void 0
1147
1148
  ]), 1032, ["legendSet", "config"])) : z(a.$slots, "legend", {
1148
1149
  key: 1,
1149
- legend: st.value
1150
+ legend: ot.value
1150
1151
  }, void 0, !0)
1151
1152
  ], 512),
1152
1153
  a.$slots.source ? (s(), n("div", {
@@ -1157,7 +1158,7 @@ const Ca = ["id"], _a = ["xmlns", "viewBox"], Sa = ["x", "y", "width", "height"]
1157
1158
  }, [
1158
1159
  z(a.$slots, "source", {}, void 0, !0)
1159
1160
  ], 512)) : g("", !0),
1160
- h.value.end - h.value.start < 200 ? (s(), ee(y(wt), {
1161
+ h.value.end - h.value.start < 200 ? (s(), q(y(zt), {
1161
1162
  key: 7,
1162
1163
  hideDetails: "",
1163
1164
  config: {
@@ -1174,19 +1175,19 @@ const Ca = ["id"], _a = ["xmlns", "viewBox"], Sa = ["x", "y", "width", "height"]
1174
1175
  }
1175
1176
  }, {
1176
1177
  content: _(() => [
1177
- ie(y(zt), {
1178
- colNames: de.value.colNames,
1179
- head: de.value.head,
1180
- body: de.value.body,
1181
- config: de.value.config,
1178
+ fe(y(Lt), {
1179
+ colNames: ve.value.colNames,
1180
+ head: ve.value.head,
1181
+ body: ve.value.body,
1182
+ config: ve.value.config,
1182
1183
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
1183
1184
  onClose: r[5] || (r[5] = (t) => L.value.showTable = !1)
1184
1185
  }, {
1185
1186
  th: _(({ th: t }) => [
1186
- q("div", { innerHTML: t }, null, 8, bl)
1187
+ Z("div", { innerHTML: t }, null, 8, bl)
1187
1188
  ]),
1188
1189
  td: _(({ td: t }) => [
1189
- Qt(T(isNaN(Number(t)) ? t : y(Z)({
1190
+ Qt(T(isNaN(Number(t)) ? t : y(K)({
1190
1191
  p: e.value.style.chart.bars.dataLabels.prefix,
1191
1192
  v: t,
1192
1193
  s: e.value.style.chart.bars.dataLabels.suffix,
@@ -1200,7 +1201,7 @@ const Ca = ["id"], _a = ["xmlns", "viewBox"], Sa = ["x", "y", "width", "height"]
1200
1201
  }, 8, ["config"])) : g("", !0)
1201
1202
  ], 46, Ca));
1202
1203
  }
1203
- }, Il = /* @__PURE__ */ La(fl, [["__scopeId", "data-v-0ba585b2"]]);
1204
+ }, Il = /* @__PURE__ */ La(fl, [["__scopeId", "data-v-95413bca"]]);
1204
1205
  export {
1205
1206
  Il as default
1206
1207
  };