vue-data-ui 2.12.8-beta.3 → 2.13.0

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 (92) hide show
  1. package/README.md +10 -4
  2. package/dist/{Arrow-kQyQXUUg.js → Arrow-B2y3GYgv.js} +1 -1
  3. package/dist/{BaseDraggableDialog-DLRFrsDT.js → BaseDraggableDialog-B3CZVeze.js} +2 -2
  4. package/dist/{BaseIcon-DaR0sIWZ.js → BaseIcon-P7wV92Er.js} +1 -1
  5. package/dist/{ColorPicker-Bj3sq9o7.js → ColorPicker-C7b6TR_9.js} +2 -2
  6. package/dist/{DataTable-BBqbcutV.js → DataTable-DBkfb6pd.js} +2 -2
  7. package/dist/{Legend-DRqzYrP9.js → Legend-DcDRW3Xd.js} +2 -2
  8. package/dist/{NonSvgPenAndPaper-CQIC2PMP.js → NonSvgPenAndPaper-DYA_rF1x.js} +3 -3
  9. package/dist/{PackageVersion-ClpqQxYT.js → PackageVersion-C5fpg4GN.js} +2 -2
  10. package/dist/{PenAndPaper-B-T7XvxF.js → PenAndPaper-BRkuVFb4.js} +3 -3
  11. package/dist/{Shape-DEWxbZ-l.js → Shape-CnD-h_98.js} +1 -1
  12. package/dist/{Slicer-o6jJH5bw.js → Slicer-CxdgZOQ7.js} +2 -2
  13. package/dist/{SparkTooltip-LPnbBoFu.js → SparkTooltip-BIAMOmfJ.js} +1 -1
  14. package/dist/{Title-apr_T9tg.js → Title-DoWqzga-.js} +1 -1
  15. package/dist/{Tooltip-BuHsMAfp.js → Tooltip-DYCBNM-_.js} +1 -1
  16. package/dist/{UserOptions-OVNxxnq5.js → UserOptions-B3q-xfQV.js} +16 -11
  17. package/dist/dom-to-png-4VVH9Qna.js +247 -0
  18. package/dist/img-Dy6IrSzX.js +20 -0
  19. package/dist/{index-CH_mJIWj.js → index-BXbyT0Qn.js} +6 -2
  20. package/dist/{pdf-Jun3ogRn.js → pdf-ZrUvUcH9.js} +1 -1
  21. package/dist/style.css +1 -1
  22. package/dist/types/vue-data-ui.d.cts +20 -3
  23. package/dist/types/vue-data-ui.d.ts +20 -3
  24. package/dist/{useNestedProp-rMR-JeOJ.js → useNestedProp-DVZpeH84.js} +1 -1
  25. package/dist/{usePrinter-DJ7WfWUs.js → usePrinter-aKh5-HcK.js} +2 -2
  26. package/dist/{vue-data-ui-D7AaTKU6.js → vue-data-ui-DUHiuRmY.js} +63 -63
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/{vue-ui-3d-bar-BfLLrwWi.js → vue-ui-3d-bar-C3cqHCNp.js} +173 -173
  29. package/dist/{vue-ui-accordion-Ds4zkPIx.js → vue-ui-accordion-CXsjHe1y.js} +3 -3
  30. package/dist/{vue-ui-age-pyramid-C7ca5TG5.js → vue-ui-age-pyramid-B2EpIzV9.js} +179 -179
  31. package/dist/{vue-ui-annotator-DG2z1gw8.js → vue-ui-annotator-Czvbjx_j.js} +2 -2
  32. package/dist/{vue-ui-bullet-Dh25QAEH.js → vue-ui-bullet-ClY1tgTT.js} +6 -6
  33. package/dist/{vue-ui-candlestick-7Yo_kEV0.js → vue-ui-candlestick-BQ1RVdoH.js} +113 -113
  34. package/dist/{vue-ui-carousel-table-Det9Kwmy.js → vue-ui-carousel-table-UQjCOJJV.js} +94 -94
  35. package/dist/{vue-ui-chestnut-DLlFv6Uj.js → vue-ui-chestnut-DmEa8kef.js} +452 -452
  36. package/dist/{vue-ui-chord-BXlv5Z2x.js → vue-ui-chord-CEDZ-UcP.js} +17 -17
  37. package/dist/{vue-ui-circle-pack-DdRcdWmx.js → vue-ui-circle-pack-Bx_mLhCR.js} +116 -116
  38. package/dist/{vue-ui-cursor-Djtg6Ppw.js → vue-ui-cursor-D27qwk90.js} +2 -2
  39. package/dist/{vue-ui-dashboard-C4MDDCl6.js → vue-ui-dashboard-DKsYxh6J.js} +62 -62
  40. package/dist/{vue-ui-digits-8Ox6q1Ov.js → vue-ui-digits-CdDTbIAN.js} +2 -2
  41. package/dist/{vue-ui-donut-Hk4EaVhb.js → vue-ui-donut-DS-DfHIm.js} +149 -149
  42. package/dist/{vue-ui-donut-evolution-DzgYokPU.js → vue-ui-donut-evolution-XMEmv1DK.js} +109 -109
  43. package/dist/{vue-ui-dumbbell-CAC44_Hu.js → vue-ui-dumbbell-DAm5A4u3.js} +65 -65
  44. package/dist/{vue-ui-flow-CYWiZjrP.js → vue-ui-flow-CTbmqqmV.js} +12 -12
  45. package/dist/{vue-ui-funnel-C2eqxh_8.js → vue-ui-funnel-CihunDsZ.js} +65 -65
  46. package/dist/{vue-ui-galaxy-BBfg84E4.js → vue-ui-galaxy-CJHycmpt.js} +82 -82
  47. package/dist/{vue-ui-gauge-BJgJgef_.js → vue-ui-gauge-Bsc9wIKK.js} +5 -5
  48. package/dist/{vue-ui-gizmo-DBclpybR.js → vue-ui-gizmo-D6AciZZe.js} +3 -3
  49. package/dist/{vue-ui-heatmap-D65wOgqe.js → vue-ui-heatmap-in5WwNRr.js} +221 -221
  50. package/dist/{vue-ui-history-plot-CHhDy7Da.js → vue-ui-history-plot-C9IEmAmm.js} +232 -232
  51. package/dist/{vue-ui-kpi-uT6fsAaO.js → vue-ui-kpi-fDPWRpRZ.js} +3 -3
  52. package/dist/{vue-ui-mini-loader-CKVlBiYB.js → vue-ui-mini-loader-BeJRaP7N.js} +2 -2
  53. package/dist/{vue-ui-molecule-BwtHZtGN.js → vue-ui-molecule-BJbwA0F6.js} +30 -30
  54. package/dist/{vue-ui-mood-radar-Vf4_-R-m.js → vue-ui-mood-radar--YEOJ6q6.js} +75 -75
  55. package/dist/{vue-ui-nested-donuts-BVkSns4S.js → vue-ui-nested-donuts-BswKH0D6.js} +16 -16
  56. package/dist/{vue-ui-onion-UzMmwtvF.js → vue-ui-onion-BAw8X4iu.js} +70 -70
  57. package/dist/{vue-ui-parallel-coordinate-plot-Dk5T3ZAr.js → vue-ui-parallel-coordinate-plot-CYkzOe_Q.js} +11 -11
  58. package/dist/{vue-ui-quadrant-Ck7xALez.js → vue-ui-quadrant-BupqUnMn.js} +11 -11
  59. package/dist/{vue-ui-quick-chart-B62Pa0nG.js → vue-ui-quick-chart-BzpDL6CR.js} +5 -5
  60. package/dist/{vue-ui-radar-DMfv2hSb.js → vue-ui-radar-zPrbIZv5.js} +283 -282
  61. package/dist/{vue-ui-rating-CFYHJrxj.js → vue-ui-rating-DqCOz2LB.js} +2 -2
  62. package/dist/{vue-ui-relation-circle-RWlfC5BI.js → vue-ui-relation-circle-DQp_zboM.js} +5 -5
  63. package/dist/{vue-ui-ridgeline-Bh93VzcO.js → vue-ui-ridgeline-DoJfX7Ii.js} +100 -100
  64. package/dist/{vue-ui-rings-CyX30Ccv.js → vue-ui-rings-Bk4QJYsW.js} +96 -96
  65. package/dist/{vue-ui-scatter-BEDnWByj.js → vue-ui-scatter-RxF0N8Zj.js} +164 -164
  66. package/dist/{vue-ui-skeleton-C6PWt_m5.js → vue-ui-skeleton-Fxr752Oi.js} +3 -3
  67. package/dist/{vue-ui-smiley-79itAe84.js → vue-ui-smiley-CNScIHKI.js} +2 -2
  68. package/dist/{vue-ui-spark-trend-AaA4KuaH.js → vue-ui-spark-trend-CyMzdoJ9.js} +3 -3
  69. package/dist/{vue-ui-sparkbar-CYBZeaor.js → vue-ui-sparkbar-DMTRPWwC.js} +3 -3
  70. package/dist/{vue-ui-sparkgauge-ElGarXVS.js → vue-ui-sparkgauge-itAGdTj_.js} +3 -3
  71. package/dist/{vue-ui-sparkhistogram-C_LV99i1.js → vue-ui-sparkhistogram-CZx5cF_r.js} +4 -4
  72. package/dist/{vue-ui-sparkline-DwzCA8d6.js → vue-ui-sparkline-POYMl6cO.js} +3 -3
  73. package/dist/{vue-ui-sparkstackbar-CobB11uw.js → vue-ui-sparkstackbar-C0EE8xrA.js} +3 -3
  74. package/dist/{vue-ui-stackbar-B4SxM5Ix.js → vue-ui-stackbar-B6ytrTFL.js} +37 -37
  75. package/dist/{vue-ui-strip-plot-9VK_Y3SC.js → vue-ui-strip-plot-u39z36tT.js} +80 -80
  76. package/dist/{vue-ui-table-DFTE1OH5.js → vue-ui-table-Cvmrm0sZ.js} +3 -3
  77. package/dist/{vue-ui-table-heatmap-DvyJx0j7.js → vue-ui-table-heatmap-BOFRFilm.js} +57 -57
  78. package/dist/{vue-ui-table-sparkline-SGsBnQTK.js → vue-ui-table-sparkline-CMhk8rpj.js} +72 -72
  79. package/dist/{vue-ui-thermometer-DEMS6HXl.js → vue-ui-thermometer-Cxznchnu.js} +5 -5
  80. package/dist/{vue-ui-timer-CQ71yJ_N.js → vue-ui-timer-Du0Cskiy.js} +5 -5
  81. package/dist/{vue-ui-tiremarks-CsN_QtUK.js → vue-ui-tiremarks-BzC40iBw.js} +5 -5
  82. package/dist/{vue-ui-treemap-B0CPNusH.js → vue-ui-treemap-D5Nk7usb.js} +297 -297
  83. package/dist/{vue-ui-vertical-bar-Cxv-ahMT.js → vue-ui-vertical-bar-BivMp4WH.js} +81 -81
  84. package/dist/{vue-ui-waffle-TgNNo9UX.js → vue-ui-waffle-DI0Ul1Tb.js} +50 -50
  85. package/dist/{vue-ui-wheel-Bq0ZLc-R.js → vue-ui-wheel-BfHsxhQq.js} +5 -5
  86. package/dist/{vue-ui-word-cloud-D28awCaT.js → vue-ui-word-cloud-ytYbdQKa.js} +67 -67
  87. package/dist/{vue-ui-world-BhUsfhY5.js → vue-ui-world-CiYvMEKb.js} +55 -55
  88. package/dist/{vue-ui-xy-CEFkua9H.js → vue-ui-xy-DxgCkZEV.js} +201 -182
  89. package/dist/{vue-ui-xy-canvas-oHhzL0ui.js → vue-ui-xy-canvas-R0tICTKy.js} +80 -80
  90. package/package.json +1 -1
  91. package/dist/dom-to-png-C0Ct8ClX.js +0 -243
  92. package/dist/img-P0SFFw37.js +0 -19
@@ -1,13 +1,13 @@
1
- import { defineAsyncComponent as J, ref as d, computed as k, useSlots as _a, onMounted as ra, watch as A, nextTick as ge, shallowRef as $e, onBeforeUnmount as Ba, createElementBlock as se, openBlock as z, unref as p, normalizeClass as Va, normalizeStyle as K, createCommentVNode as U, createBlock as D, createElementVNode as ne, createSlots as Za, withCtx as m, renderSlot as x, normalizeProps as W, guardReactiveProps as X, createVNode as Ga, toDisplayString as ua, createTextVNode as ja } from "vue";
2
- import { u as qa, c as Ja, t as Ka, p as _, a as Qa, C as pe, b as el, D as Ie, i as Q, f as ee, d as sa, a1 as al, H as ll, ai as tl, o as ol, e as rl, x as na, q as ul, r as sl, y as nl, s as ie, l as il } from "./index-CH_mJIWj.js";
1
+ import { defineAsyncComponent as J, ref as d, computed as C, useSlots as _a, onMounted as ra, watch as A, nextTick as ge, shallowRef as $e, onBeforeUnmount as Ba, createElementBlock as se, openBlock as z, unref as p, normalizeClass as Va, normalizeStyle as K, createCommentVNode as U, createBlock as D, createElementVNode as ne, createSlots as Za, withCtx as b, renderSlot as x, normalizeProps as W, guardReactiveProps as X, createVNode as Ga, toDisplayString as ua, createTextVNode as ja } from "vue";
2
+ import { u as qa, c as Ja, t as Ka, p as _, a as Qa, C as pe, b as el, D as Ie, i as Q, f as ee, d as sa, a1 as al, H as ll, ai as tl, o as ol, e as rl, x as na, q as ul, r as sl, y as nl, s as ie, l as il } from "./index-BXbyT0Qn.js";
3
3
  import { d as vl, t as cl, u as dl, c as hl, a as ia, l as L, r as Me, b as R, p as va } from "./useResponsive-JZ9xq-JV.js";
4
- import { u as ca } from "./useNestedProp-rMR-JeOJ.js";
5
- import { u as yl } from "./usePrinter-DJ7WfWUs.js";
4
+ import { u as ca } from "./useNestedProp-DVZpeH84.js";
5
+ import { u as yl } from "./usePrinter-aKh5-HcK.js";
6
6
  import { u as fl } from "./useUserOptionState-BIvW1Kz7.js";
7
7
  import { u as gl } from "./useChartAccessibility-9icAAmYg.js";
8
- import pl from "./Legend-DRqzYrP9.js";
9
- import bl from "./Title-apr_T9tg.js";
10
- import { S as ml } from "./Slicer-o6jJH5bw.js";
8
+ import pl from "./Legend-DcDRW3Xd.js";
9
+ import ml from "./Title-DoWqzga-.js";
10
+ import { S as bl } from "./Slicer-CxdgZOQ7.js";
11
11
  import { _ as xl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
12
  const Ll = ["id"], kl = ["onClick"], Cl = {
13
13
  key: 2,
@@ -30,11 +30,11 @@ const Ll = ["id"], kl = ["onClick"], Cl = {
30
30
  },
31
31
  emits: ["selectLegend"],
32
32
  setup(Te, { expose: da, emit: ha }) {
33
- const ya = J(() => import("./vue-ui-accordion-Ds4zkPIx.js")), fa = J(() => import("./DataTable-BBqbcutV.js")), ga = J(() => import("./NonSvgPenAndPaper-CQIC2PMP.js")), pa = J(() => import("./vue-ui-skeleton-C6PWt_m5.js")), ba = J(() => import("./Tooltip-BuHsMAfp.js")), ma = J(() => import("./UserOptions-OVNxxnq5.js")), { vue_ui_xy_canvas: xa } = qa(), g = Te, be = d(Ja()), ae = d(null), le = d(null), s = d(null), y = d(1), P = d(1), ve = d(!1), v = d(null), ce = d(""), Oe = d(null), $ = d([]), B = d(1), H = d(!0), V = d(!0), me = d(null), Re = d(0), Pe = d(0), de = d(!1), Ee = d(null), Fe = d(null), Ae = d(null), De = d(null), xe = d(0), Le = d(0), ke = d(0), M = d(null), Ce = k(() => !!g.dataset && g.dataset.length), La = ha, ka = _a();
33
+ const ya = J(() => import("./vue-ui-accordion-CXsjHe1y.js")), fa = J(() => import("./DataTable-DBkfb6pd.js")), ga = J(() => import("./NonSvgPenAndPaper-DYA_rF1x.js")), pa = J(() => import("./vue-ui-skeleton-Fxr752Oi.js")), ma = J(() => import("./Tooltip-DYCBNM-_.js")), ba = J(() => import("./UserOptions-B3q-xfQV.js")), { vue_ui_xy_canvas: xa } = qa(), g = Te, me = d(Ja()), ae = d(null), le = d(null), s = d(null), y = d(1), P = d(1), ve = d(!1), v = d(null), ce = d(""), Oe = d(null), $ = d([]), B = d(1), H = d(!0), V = d(!0), be = d(null), Re = d(0), Pe = d(0), de = d(!1), Ee = d(null), Fe = d(null), Ae = d(null), De = d(null), xe = d(0), Le = d(0), ke = d(0), M = d(null), Ce = C(() => !!g.dataset && g.dataset.length), La = ha, ka = _a();
34
34
  ra(() => {
35
35
  ka["chart-background"] && console.warn("VueUiXyCanvas does not support the #chart-background slot.");
36
36
  });
37
- const a = k({
37
+ const a = C({
38
38
  get: () => Ye(),
39
39
  set: (e) => e
40
40
  }), { userOptionsVisible: we, setUserOptionsVisibility: He, keepUserOptionState: Ne } = fl({ config: a.value }), { svgRef: T } = gl({ config: a.value.style.chart.title });
@@ -58,7 +58,7 @@ const Ll = ["id"], kl = ["onClick"], Cl = {
58
58
  ze(), xe.value += 1, Le.value += 1, ke.value += 1;
59
59
  }, { deep: !0 });
60
60
  const Ue = d(a.value.style.chart.aspectRatio), { isPrinting: We, isImaging: Xe, generatePdf: _e, generateImage: Be } = yl({
61
- elementId: `xy_canvas_${be.value}`,
61
+ elementId: `xy_canvas_${me.value}`,
62
62
  fileName: a.value.style.chart.title.text || "vue-ui-xy-canvas",
63
63
  options: a.value.userOptions.print
64
64
  }), u = d({
@@ -70,7 +70,7 @@ const Ll = ["id"], kl = ["onClick"], Cl = {
70
70
  function Ca(e) {
71
71
  de.value = e, Pe.value += 1;
72
72
  }
73
- const Ve = k(() => el(a.value.customPalette)), I = k(() => Z.value ? Math.max(...Z.value.filter((e, t) => !$.value.includes(e.absoluteIndex)).map((e) => e.series.length)) : 0), l = k(() => {
73
+ const Ve = C(() => el(a.value.customPalette)), I = C(() => Z.value ? Math.max(...Z.value.filter((e, t) => !$.value.includes(e.absoluteIndex)).map((e) => e.series.length)) : 0), l = C(() => {
74
74
  const e = y.value - y.value * (a.value.style.chart.paddingProportions.left + a.value.style.chart.paddingProportions.right);
75
75
  return {
76
76
  canvasWidth: y.value,
@@ -87,21 +87,21 @@ const Ll = ["id"], kl = ["onClick"], Cl = {
87
87
  function Ze(e, t) {
88
88
  return e / t;
89
89
  }
90
- function wa({ hasAutoScale: e, series: t, min: o, max: n, scale: c, yOffset: w, individualHeight: i, stackIndex: f = null }) {
90
+ function wa({ hasAutoScale: e, series: t, min: o, max: n, scale: c, yOffset: k, individualHeight: i, stackIndex: f = null }) {
91
91
  return t.map((N, S) => {
92
92
  const F = c.min < 0 ? Math.abs(c.min) : 0, Y = Ze(N + F, F + c.max);
93
93
  let re, ue;
94
94
  e && (re = c.min, ue = Ze(N - re, c.max - re));
95
95
  let O = 0;
96
- return f === null ? O = l.value.bottom - l.value.height * (e ? ue : Y) : O = l.value.bottom - w - i * (e ? ue : Y), {
96
+ return f === null ? O = l.value.bottom - l.value.height * (e ? ue : Y) : O = l.value.bottom - k - i * (e ? ue : Y), {
97
97
  x: l.value.left + l.value.slot * S + l.value.slot / 2,
98
98
  y: O,
99
99
  value: N
100
100
  };
101
101
  });
102
102
  }
103
- const b = k(() => {
104
- const e = a.value.style.chart.scale.min !== null ? a.value.style.chart.scale.min : Math.min(...Z.value.filter((i, f) => !$.value.includes(i.absoluteIndex)).flatMap((i) => i.series.slice(r.value.start, r.value.end))), t = a.value.style.chart.scale.max !== null ? a.value.style.chart.scale.max : Math.max(...Z.value.filter((i, f) => !$.value.includes(i.absoluteIndex)).flatMap((i) => i.series.slice(r.value.start, r.value.end))), o = Ie(e < 0 ? e : 0, t === e ? e + 1 < 0 ? 0 : e + 1 : t < 0 ? 0 : t, a.value.style.chart.scale.ticks), n = o.min < 0 ? Math.abs(o.min) : 0, c = l.value.bottom - l.value.height * (n / (o.max + n)), w = o.ticks.map((i) => ({
103
+ const m = C(() => {
104
+ const e = a.value.style.chart.scale.min !== null ? a.value.style.chart.scale.min : Math.min(...Z.value.filter((i, f) => !$.value.includes(i.absoluteIndex)).flatMap((i) => i.series.slice(r.value.start, r.value.end))), t = a.value.style.chart.scale.max !== null ? a.value.style.chart.scale.max : Math.max(...Z.value.filter((i, f) => !$.value.includes(i.absoluteIndex)).flatMap((i) => i.series.slice(r.value.start, r.value.end))), o = Ie(e < 0 ? e : 0, t === e ? e + 1 < 0 ? 0 : e + 1 : t < 0 ? 0 : t, a.value.style.chart.scale.ticks), n = o.min < 0 ? Math.abs(o.min) : 0, c = l.value.bottom - l.value.height * (n / (o.max + n)), k = o.ticks.map((i) => ({
105
105
  y: l.value.bottom - l.value.height * ((i + n) / (o.max + n)),
106
106
  x: l.value.left - 8,
107
107
  value: i
@@ -111,10 +111,10 @@ const Ll = ["id"], kl = ["onClick"], Cl = {
111
111
  max: t,
112
112
  min: e,
113
113
  scale: o,
114
- yLabels: w,
114
+ yLabels: k,
115
115
  zero: c
116
116
  };
117
- }), za = k(() => h.value.map((e) => `
117
+ }), za = C(() => h.value.map((e) => `
118
118
  <div style="display:flex;flex-direction:row;gap:6px;align-items:center;">
119
119
  <svg viewBox="0 0 10 10" height="12" width="12">
120
120
  <circle cx="5" cy="5" r="5" fill="${e.color}"/>
@@ -132,7 +132,7 @@ const Ll = ["id"], kl = ["onClick"], Cl = {
132
132
  { datapoint: e, seriesIndex: v.value }
133
133
  )}</span>
134
134
  </div>
135
- `)), Z = k(() => g.dataset.map((e, t) => ({
135
+ `)), Z = C(() => g.dataset.map((e, t) => ({
136
136
  ...e,
137
137
  series: al({
138
138
  data: ll(e.series),
@@ -144,7 +144,7 @@ const Ll = ["id"], kl = ["onClick"], Cl = {
144
144
  A(I, (e) => {
145
145
  e && Ge();
146
146
  });
147
- const h = k(() => tl(Z.value.filter((e, t) => !$.value.includes(e.absoluteIndex))).map((e, t) => ({
147
+ const h = C(() => tl(Z.value.filter((e, t) => !$.value.includes(e.absoluteIndex))).map((e, t) => ({
148
148
  ...e,
149
149
  series: e.series.slice(r.value.start, r.value.end)
150
150
  })).map((e, t) => {
@@ -153,9 +153,9 @@ const Ll = ["id"], kl = ["onClick"], Cl = {
153
153
  const c = {
154
154
  valueMin: o,
155
155
  valueMax: n
156
- }, w = e.scaleSteps || a.value.style.chart.scale.ticks;
156
+ }, k = e.scaleSteps || a.value.style.chart.scale.ticks;
157
157
  let i;
158
- e.autoScaling ? i = Ie(c.valueMin, c.valueMax, w) : i = Ie(c.valueMin < 0 ? c.valueMin : 0, c.valueMax <= 0 ? 0 : c.valueMax, w);
158
+ e.autoScaling ? i = Ie(c.valueMin, c.valueMax, k) : i = Ie(c.valueMin < 0 ? c.valueMin : 0, c.valueMax <= 0 ? 0 : c.valueMax, k);
159
159
  const f = u.value.stacked ? l.value.height * (1 - e.cumulatedStackRatio) : 0, N = u.value.stacked ? l.value.height / a.value.style.chart.stackGap : 0, S = u.value.stacked ? l.value.height * e.stackRatio - N : l.value.height, F = i.min < 0 ? Math.abs(i.min) : 0;
160
160
  let Y;
161
161
  e.autoScaling && u.value.stacked && n <= 0 ? Y = l.value.bottom - f - S : Y = l.value.bottom - f - S * (F / (i.max + F));
@@ -166,9 +166,9 @@ const Ll = ["id"], kl = ["onClick"], Cl = {
166
166
  })), ue = wa({
167
167
  hasAutoScale: u.value.stacked && e.autoScaling,
168
168
  series: e.series,
169
- min: u.value.stacked ? o : b.value.min,
170
- max: u.value.stacked ? n : b.value.max,
171
- scale: u.value.stacked ? i : b.value.scale,
169
+ min: u.value.stacked ? o : m.value.min,
170
+ max: u.value.stacked ? n : m.value.max,
171
+ scale: u.value.stacked ? i : m.value.scale,
172
172
  yOffset: f,
173
173
  individualHeight: S,
174
174
  stackIndex: u.value.stacked ? t : null
@@ -203,7 +203,7 @@ const Ll = ["id"], kl = ["onClick"], Cl = {
203
203
  const t = I.value;
204
204
  return e > t ? t : e < 0 || a.value.style.chart.zoom.startIndex !== null && e < a.value.style.chart.zoom.startIndex ? a.value.style.chart.zoom.startIndex !== null ? a.value.style.chart.zoom.startIndex + 1 : 1 : e;
205
205
  }
206
- const $a = k(() => h.value.filter((e) => ["line", "plot", void 0].includes(e.type))), C = k(() => h.value.filter((e) => e.type === "bar"));
206
+ const $a = C(() => h.value.filter((e) => ["line", "plot", void 0].includes(e.type))), w = C(() => h.value.filter((e) => e.type === "bar"));
207
207
  function Ia() {
208
208
  if (!T.value)
209
209
  return;
@@ -348,21 +348,21 @@ const Ll = ["id"], kl = ["onClick"], Cl = {
348
348
  color: a.value.style.chart.grid.y.verticalLines.color
349
349
  }
350
350
  );
351
- a.value.style.chart.grid.x.horizontalLines.show && (a.value.style.chart.grid.x.horizontalLines.alternate ? b.value.yLabels.forEach((e, t) => {
352
- t < b.value.yLabels.length - 1 && Me(
351
+ a.value.style.chart.grid.x.horizontalLines.show && (a.value.style.chart.grid.x.horizontalLines.alternate ? m.value.yLabels.forEach((e, t) => {
352
+ t < m.value.yLabels.length - 1 && Me(
353
353
  s.value,
354
354
  [
355
355
  { x: l.value.left, y: e.y },
356
356
  { x: l.value.right, y: e.y },
357
- { x: l.value.right, y: b.value.yLabels[t + 1].y },
358
- { x: l.value.left, y: b.value.yLabels[t + 1].y }
357
+ { x: l.value.right, y: m.value.yLabels[t + 1].y },
358
+ { x: l.value.left, y: m.value.yLabels[t + 1].y }
359
359
  ],
360
360
  {
361
361
  fillColor: t % 2 === 0 ? "transparent" : ie(a.value.style.chart.grid.x.horizontalLines.color, a.value.style.chart.grid.x.horizontalLines.opacity),
362
362
  strokeColor: "transparent"
363
363
  }
364
364
  );
365
- }) : b.value.yLabels.forEach((e) => {
365
+ }) : m.value.yLabels.forEach((e) => {
366
366
  L(
367
367
  s.value,
368
368
  [
@@ -396,8 +396,8 @@ const Ll = ["id"], kl = ["onClick"], Cl = {
396
396
  ), a.value.style.chart.grid.zeroLine.show && L(
397
397
  s.value,
398
398
  [
399
- { x: l.value.left, y: b.value.zero },
400
- { x: l.value.right, y: b.value.zero }
399
+ { x: l.value.left, y: m.value.zero },
400
+ { x: l.value.right, y: m.value.zero }
401
401
  ],
402
402
  {
403
403
  color: a.value.style.chart.grid.zeroLine.color,
@@ -493,7 +493,7 @@ const Ll = ["id"], kl = ["onClick"], Cl = {
493
493
  }
494
494
  );
495
495
  });
496
- }) : b.value.yLabels.forEach((e, t) => {
496
+ }) : m.value.yLabels.forEach((e, t) => {
497
497
  R(
498
498
  s.value,
499
499
  Q(
@@ -586,25 +586,25 @@ const Ll = ["id"], kl = ["onClick"], Cl = {
586
586
  );
587
587
  }
588
588
  function Aa() {
589
- C.value.forEach((e, t) => {
589
+ w.value.forEach((e, t) => {
590
590
  for (let o = 0; o < e.coordinatesLine.length; o += 1)
591
591
  Me(
592
592
  s.value,
593
593
  [
594
594
  {
595
- x: l.value.left + l.value.slot * o + l.value.slot / 10 + (u.value.stacked ? 0 : l.value.slot / C.value.length * t - (t === 0 ? 0 : l.value.slot / (5 * C.value.length) * t)),
596
- y: u.value.stacked ? e.localZero : b.value.zero
595
+ x: l.value.left + l.value.slot * o + l.value.slot / 10 + (u.value.stacked ? 0 : l.value.slot / w.value.length * t - (t === 0 ? 0 : l.value.slot / (5 * w.value.length) * t)),
596
+ y: u.value.stacked ? e.localZero : m.value.zero
597
597
  },
598
598
  {
599
- x: l.value.left + l.value.slot * o + l.value.slot / 10 + (u.value.stacked ? 0 : l.value.slot / C.value.length * t - (t === 0 ? 0 : l.value.slot / (5 * C.value.length) * t)) + l.value.slot * 0.8 / (u.value.stacked ? 1 : C.value.length),
600
- y: u.value.stacked ? e.localZero : b.value.zero
599
+ x: l.value.left + l.value.slot * o + l.value.slot / 10 + (u.value.stacked ? 0 : l.value.slot / w.value.length * t - (t === 0 ? 0 : l.value.slot / (5 * w.value.length) * t)) + l.value.slot * 0.8 / (u.value.stacked ? 1 : w.value.length),
600
+ y: u.value.stacked ? e.localZero : m.value.zero
601
601
  },
602
602
  {
603
- x: l.value.left + l.value.slot * o + l.value.slot / 10 + (u.value.stacked ? 0 : l.value.slot / C.value.length * t - (t === 0 ? 0 : l.value.slot / (5 * C.value.length) * t)) + l.value.slot * 0.8 / (u.value.stacked ? 1 : C.value.length),
603
+ x: l.value.left + l.value.slot * o + l.value.slot / 10 + (u.value.stacked ? 0 : l.value.slot / w.value.length * t - (t === 0 ? 0 : l.value.slot / (5 * w.value.length) * t)) + l.value.slot * 0.8 / (u.value.stacked ? 1 : w.value.length),
604
604
  y: e.coordinatesLine[o].y
605
605
  },
606
606
  {
607
- x: l.value.left + l.value.slot * o + l.value.slot / 10 + (u.value.stacked ? 0 : l.value.slot / C.value.length * t - (t === 0 ? 0 : l.value.slot / (5 * C.value.length) * t)),
607
+ x: l.value.left + l.value.slot * o + l.value.slot / 10 + (u.value.stacked ? 0 : l.value.slot / w.value.length * t - (t === 0 ? 0 : l.value.slot / (5 * w.value.length) * t)),
608
608
  y: e.coordinatesLine[o].y
609
609
  }
610
610
  ],
@@ -618,7 +618,7 @@ const Ll = ["id"], kl = ["onClick"], Cl = {
618
618
  },
619
619
  end: {
620
620
  x: e.coordinatesLine[o].x,
621
- y: u.value.stacked ? e.localZero : b.value.zero
621
+ y: u.value.stacked ? e.localZero : m.value.zero
622
622
  },
623
623
  stops: [
624
624
  { offset: 0, color: e.color },
@@ -639,8 +639,8 @@ const Ll = ["id"], kl = ["onClick"], Cl = {
639
639
  }),
640
640
  { datapoint: e.coordinatesLine[o], seriesIndex: o }
641
641
  ),
642
- l.value.left + l.value.slot * o + l.value.slot / 10 + (u.value.stacked ? 0 : l.value.slot / C.value.length * t - (t === 0 ? 0 : l.value.slot / (5 * C.value.length) * t)) + l.value.slot * 0.4 / (u.value.stacked ? 1 : C.value.length),
643
- (e.coordinatesLine[o].value < 0 ? u.value.stacked ? e.localZero : b.value.zero : e.coordinatesLine[o].y) + a.value.style.chart.dataLabels.offsetY,
642
+ l.value.left + l.value.slot * o + l.value.slot / 10 + (u.value.stacked ? 0 : l.value.slot / w.value.length * t - (t === 0 ? 0 : l.value.slot / (5 * w.value.length) * t)) + l.value.slot * 0.4 / (u.value.stacked ? 1 : w.value.length),
643
+ (e.coordinatesLine[o].value < 0 ? u.value.stacked ? e.localZero : m.value.zero : e.coordinatesLine[o].y) + a.value.style.chart.dataLabels.offsetY,
644
644
  {
645
645
  align: "center",
646
646
  font: `${Math.round(y.value / 40 * a.value.style.chart.dataLabels.fontSizeRatio)}px ${a.value.style.fontFamily}`,
@@ -661,7 +661,7 @@ const Ll = ["id"], kl = ["onClick"], Cl = {
661
661
  }
662
662
  ) : va(
663
663
  s.value,
664
- [{ x: e.coordinatesLine[0].x, y: b.value.zero }, ...e.coordinatesLine, { x: e.coordinatesLine.at(-1).x, y: b.value.zero }],
664
+ [{ x: e.coordinatesLine[0].x, y: m.value.zero }, ...e.coordinatesLine, { x: e.coordinatesLine.at(-1).x, y: m.value.zero }],
665
665
  {
666
666
  fillColor: ie(e.color, a.value.style.chart.area.opacity),
667
667
  strokeColor: "transparent"
@@ -689,7 +689,7 @@ const Ll = ["id"], kl = ["onClick"], Cl = {
689
689
  function te() {
690
690
  Ma(), H.value ? (v.value !== null && a.value.style.chart.selector.show && qe(), Aa(), u.value.stacked && a.value.style.chart.grid.x.showAxis && Ha(), $a.value.forEach((e) => {
691
691
  (e.type === "line" || !e.type) && Da(e), V.value && (Ta(e), u.value.showDataLabels && [!0, void 0].includes(e.dataLabels) && Pa(e));
692
- }), me.value = hl(T.value)) : (me.value && (s.value.clearRect(0, 0, 1e4, 1e4), s.value.drawImage(me.value, 0, 0)), v.value !== null && a.value.style.chart.selector.show && qe(), v.value !== null && h.value.forEach((e) => {
692
+ }), be.value = hl(T.value)) : (be.value && (s.value.clearRect(0, 0, 1e4, 1e4), s.value.drawImage(be.value, 0, 0)), v.value !== null && a.value.style.chart.selector.show && qe(), v.value !== null && h.value.forEach((e) => {
693
693
  if (e.type === "line" || !e.type || e.type === "plot") {
694
694
  if (!e.coordinatesLine[v.value]) return;
695
695
  e.coordinatesLine[v.value].x !== void 0 && e.coordinatesLine[v.value].y !== void 0 && ia(
@@ -723,7 +723,7 @@ const Ll = ["id"], kl = ["onClick"], Cl = {
723
723
  }
724
724
  const c = n * 2 - l.value.left;
725
725
  if (v.value = Math.floor(c / l.value.slot), ve.value = !0, !V.value) return;
726
- let w = "";
726
+ let k = "";
727
727
  const i = a.value.style.chart.tooltip.customFormat;
728
728
  na(i) && nl(() => i({
729
729
  seriesIndex: v.value,
@@ -747,7 +747,7 @@ const Ll = ["id"], kl = ["onClick"], Cl = {
747
747
  })),
748
748
  series: h.value,
749
749
  config: a.value
750
- }) : (a.value.style.chart.grid.y.timeLabels.values.slice(r.value.start, r.value.end)[v.value] && (w += `<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid ${a.value.style.chart.tooltip.borderColor}; width:100%">${a.value.style.chart.grid.y.timeLabels.values.slice(r.value.start, r.value.end)[v.value]}</div>`), w += za.value.join(""), ce.value = w), V.value = !1;
750
+ }) : (a.value.style.chart.grid.y.timeLabels.values.slice(r.value.start, r.value.end)[v.value] && (k += `<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid ${a.value.style.chart.tooltip.borderColor}; width:100%">${a.value.style.chart.grid.y.timeLabels.values.slice(r.value.start, r.value.end)[v.value]}</div>`), k += za.value.join(""), ce.value = k), V.value = !1;
751
751
  }
752
752
  A(() => v.value, (e) => {
753
753
  he();
@@ -799,7 +799,7 @@ const Ll = ["id"], kl = ["onClick"], Cl = {
799
799
  function Je(e) {
800
800
  La("selectLegend", h.value.find((t) => t.absoluteIndex === e)), $.value.includes(e) ? $.value = $.value.filter((t) => t !== e) : $.value.push(e), H.value = !0, he();
801
801
  }
802
- const Ke = k(() => Z.value.map((e, t) => ({
802
+ const Ke = C(() => Z.value.map((e, t) => ({
803
803
  ...e,
804
804
  name: e.name,
805
805
  color: sa(e.color) || Ve.value[t] || _[t] || _[t % _.length],
@@ -812,19 +812,19 @@ const Ll = ["id"], kl = ["onClick"], Cl = {
812
812
  opacity: $.value.includes(e.absoluteIndex) ? 0.5 : 1,
813
813
  segregate: () => Je(e.absoluteIndex),
814
814
  isSegregated: $.value.includes(e.absoluteIndex)
815
- }))), Ua = k(() => ({
815
+ }))), Ua = C(() => ({
816
816
  cy: "donut-div-legend",
817
817
  backgroundColor: a.value.style.chart.legend.backgroundColor,
818
818
  color: a.value.style.chart.legend.color,
819
819
  fontSize: a.value.style.chart.legend.fontSize,
820
820
  paddingBottom: 12,
821
821
  fontWeight: a.value.style.chart.legend.bold ? "bold" : ""
822
- })), ye = k(() => {
822
+ })), ye = C(() => {
823
823
  const e = [""].concat(h.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>');
824
824
  let t = [];
825
825
  for (let c = 0; c < I.value; c += 1) {
826
- const w = h.value.map((i) => i.series[c] ?? 0).reduce((i, f) => i + f, 0);
827
- t.push([a.value.style.chart.grid.y.timeLabels.values.slice(r.value.start, r.value.end)[c] ?? c + 1].concat(h.value.map((i) => (i.series[c] ?? 0).toFixed(a.value.table.rounding))).concat((w ?? 0).toFixed(a.value.table.rounding)));
826
+ const k = h.value.map((i) => i.series[c] ?? 0).reduce((i, f) => i + f, 0);
827
+ t.push([a.value.style.chart.grid.y.timeLabels.values.slice(r.value.start, r.value.end)[c] ?? c + 1].concat(h.value.map((i) => (i.series[c] ?? 0).toFixed(a.value.table.rounding))).concat((k ?? 0).toFixed(a.value.table.rounding)));
828
828
  }
829
829
  const o = {
830
830
  th: {
@@ -840,7 +840,7 @@ const Ll = ["id"], kl = ["onClick"], Cl = {
840
840
  breakpoint: a.value.table.responsiveBreakpoint
841
841
  }, n = [a.value.table.columnNames.period].concat(h.value.map((c) => c.name)).concat(a.value.table.columnNames.total);
842
842
  return { head: e, body: t.slice(0, r.value.end - r.value.start), config: o, colNames: n };
843
- }), Qe = k(() => {
843
+ }), Qe = C(() => {
844
844
  if (h.value.length === 0) return { head: [], body: [], config: {}, columnNames: [] };
845
845
  const e = h.value.map((o) => ({
846
846
  label: o.name,
@@ -855,9 +855,9 @@ const Ll = ["id"], kl = ["onClick"], Cl = {
855
855
  }
856
856
  return { head: e, body: t };
857
857
  });
858
- function ea() {
859
- const e = [[a.value.style.chart.title.text], [a.value.style.chart.title.subtitle.text], [""]], t = ["", ...Qe.value.head.map((w) => w.label)], o = Qe.value.body, n = e.concat([t]).concat(o), c = ul(n);
860
- sl({ csvContent: c, title: a.value.style.chart.title.text || "vue-ui-xy-canvas" });
858
+ function ea(e = null) {
859
+ const t = [[a.value.style.chart.title.text], [a.value.style.chart.title.subtitle.text], [""]], o = ["", ...Qe.value.head.map((i) => i.label)], n = Qe.value.body, c = t.concat([o]).concat(n), k = ul(c);
860
+ e ? e(k) : sl({ csvContent: k, title: a.value.style.chart.title.text || "vue-ui-xy-canvas" });
861
861
  }
862
862
  function Wa() {
863
863
  return h.value;
@@ -892,7 +892,7 @@ const Ll = ["id"], kl = ["onClick"], Cl = {
892
892
  style: K(`width:100%; position:relative; ${a.value.responsive ? "height: 100%" : ""}`),
893
893
  ref_key: "xy",
894
894
  ref: ae,
895
- id: `xy_canvas_${be.value}`,
895
+ id: `xy_canvas_${me.value}`,
896
896
  class: Va(`vue-ui-donut ${de.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
897
897
  onMouseenter: t[5] || (t[5] = () => p(He)(!0)),
898
898
  onMouseleave: t[6] || (t[6] = () => p(He)(!1))
@@ -903,7 +903,7 @@ const Ll = ["id"], kl = ["onClick"], Cl = {
903
903
  ref: Ee,
904
904
  style: K(`width:100%;background:${a.value.style.chart.backgroundColor};`)
905
905
  }, [
906
- (z(), D(bl, {
906
+ (z(), D(ml, {
907
907
  key: `title_${xe.value}`,
908
908
  config: {
909
909
  title: {
@@ -917,14 +917,14 @@ const Ll = ["id"], kl = ["onClick"], Cl = {
917
917
  }
918
918
  }, null, 8, ["config"]))
919
919
  ], 4)) : U("", !0),
920
- a.value.userOptions.show && Ce.value && (p(Ne) || p(we)) ? (z(), D(p(ma), {
920
+ a.value.userOptions.show && Ce.value && (p(Ne) || p(we)) ? (z(), D(p(ba), {
921
921
  ref: "details",
922
922
  key: `user_option_${Pe.value}`,
923
923
  backgroundColor: a.value.style.chart.backgroundColor,
924
924
  color: a.value.style.chart.color,
925
925
  isPrinting: p(We),
926
926
  isImaging: p(Xe),
927
- uid: be.value,
927
+ uid: me.value,
928
928
  hasTooltip: a.value.userOptions.buttons.tooltip && a.value.style.chart.tooltip.show,
929
929
  hasPdf: a.value.userOptions.buttons.pdf,
930
930
  hasImg: a.value.userOptions.buttons.img,
@@ -957,70 +957,70 @@ const Ll = ["id"], kl = ["onClick"], Cl = {
957
957
  }, Za({ _: 2 }, [
958
958
  e.$slots.menuIcon ? {
959
959
  name: "menuIcon",
960
- fn: m(({ isOpen: o, color: n }) => [
960
+ fn: b(({ isOpen: o, color: n }) => [
961
961
  x(e.$slots, "menuIcon", W(X({ isOpen: o, color: n })), void 0, !0)
962
962
  ]),
963
963
  key: "0"
964
964
  } : void 0,
965
965
  e.$slots.optionTooltip ? {
966
966
  name: "optionTooltip",
967
- fn: m(() => [
967
+ fn: b(() => [
968
968
  x(e.$slots, "optionTooltip", {}, void 0, !0)
969
969
  ]),
970
970
  key: "1"
971
971
  } : void 0,
972
972
  e.$slots.optionPdf ? {
973
973
  name: "optionPdf",
974
- fn: m(() => [
974
+ fn: b(() => [
975
975
  x(e.$slots, "optionPdf", {}, void 0, !0)
976
976
  ]),
977
977
  key: "2"
978
978
  } : void 0,
979
979
  e.$slots.optionCsv ? {
980
980
  name: "optionCsv",
981
- fn: m(() => [
981
+ fn: b(() => [
982
982
  x(e.$slots, "optionCsv", {}, void 0, !0)
983
983
  ]),
984
984
  key: "3"
985
985
  } : void 0,
986
986
  e.$slots.optionImg ? {
987
987
  name: "optionImg",
988
- fn: m(() => [
988
+ fn: b(() => [
989
989
  x(e.$slots, "optionImg", {}, void 0, !0)
990
990
  ]),
991
991
  key: "4"
992
992
  } : void 0,
993
993
  e.$slots.optionTable ? {
994
994
  name: "optionTable",
995
- fn: m(() => [
995
+ fn: b(() => [
996
996
  x(e.$slots, "optionTable", {}, void 0, !0)
997
997
  ]),
998
998
  key: "5"
999
999
  } : void 0,
1000
1000
  e.$slots.optionLabels ? {
1001
1001
  name: "optionLabels",
1002
- fn: m(() => [
1002
+ fn: b(() => [
1003
1003
  x(e.$slots, "optionLabels", {}, void 0, !0)
1004
1004
  ]),
1005
1005
  key: "6"
1006
1006
  } : void 0,
1007
1007
  e.$slots.optionStack ? {
1008
1008
  name: "optionStack",
1009
- fn: m(() => [
1009
+ fn: b(() => [
1010
1010
  x(e.$slots, "optionStack", {}, void 0, !0)
1011
1011
  ]),
1012
1012
  key: "7"
1013
1013
  } : void 0,
1014
1014
  e.$slots.optionFullscreen ? {
1015
1015
  name: "optionFullscreen",
1016
- fn: m(({ toggleFullscreen: o, isFullscreen: n }) => [
1016
+ fn: b(({ toggleFullscreen: o, isFullscreen: n }) => [
1017
1017
  x(e.$slots, "optionFullscreen", W(X({ toggleFullscreen: o, isFullscreen: n })), void 0, !0)
1018
1018
  ]),
1019
1019
  key: "8"
1020
1020
  } : void 0,
1021
1021
  e.$slots.optionAnnotator ? {
1022
1022
  name: "optionAnnotator",
1023
- fn: m(({ toggleAnnotator: o, isAnnotator: n }) => [
1023
+ fn: b(({ toggleAnnotator: o, isAnnotator: n }) => [
1024
1024
  x(e.$slots, "optionAnnotator", W(X({ toggleAnnotator: o, isAnnotator: n })), void 0, !0)
1025
1025
  ]),
1026
1026
  key: "9"
@@ -1057,7 +1057,7 @@ const Ll = ["id"], kl = ["onClick"], Cl = {
1057
1057
  }
1058
1058
  }
1059
1059
  }, null, 8, ["config"])),
1060
- Ga(p(ba), {
1060
+ Ga(p(ma), {
1061
1061
  show: u.value.showTooltip && ve.value,
1062
1062
  backgroundColor: a.value.style.chart.tooltip.backgroundColor,
1063
1063
  color: a.value.style.chart.tooltip.color,
@@ -1073,10 +1073,10 @@ const Ll = ["id"], kl = ["onClick"], Cl = {
1073
1073
  backgroundOpacity: a.value.style.chart.tooltip.backgroundOpacity,
1074
1074
  isCustom: p(na)(a.value.style.chart.tooltip.customFormat)
1075
1075
  }, {
1076
- "tooltip-before": m(() => [
1076
+ "tooltip-before": b(() => [
1077
1077
  x(e.$slots, "tooltip-before", W(X({ ...Oe.value })), void 0, !0)
1078
1078
  ]),
1079
- "tooltip-after": m(() => [
1079
+ "tooltip-after": b(() => [
1080
1080
  x(e.$slots, "tooltip-after", W(X({ ...Oe.value })), void 0, !0)
1081
1081
  ]),
1082
1082
  _: 3
@@ -1088,7 +1088,7 @@ const Ll = ["id"], kl = ["onClick"], Cl = {
1088
1088
  style: K(`width:100%;background:${a.value.style.chart.backgroundColor}`),
1089
1089
  "data-dom-to-png-ignore": ""
1090
1090
  }, [
1091
- a.value.style.chart.zoom.show && I.value > 1 ? (z(), D(ml, {
1091
+ a.value.style.chart.zoom.show && I.value > 1 ? (z(), D(bl, {
1092
1092
  ref_key: "slicerComponent",
1093
1093
  ref: G,
1094
1094
  key: `slicer_${Re.value}`,
@@ -1115,7 +1115,7 @@ const Ll = ["id"], kl = ["onClick"], Cl = {
1115
1115
  enableSelectionDrag: a.value.style.chart.zoom.enableSelectionDrag,
1116
1116
  onReset: Ge
1117
1117
  }, {
1118
- "reset-action": m(({ reset: o }) => [
1118
+ "reset-action": b(({ reset: o }) => [
1119
1119
  x(e.$slots, "reset-action", W(X({ reset: o })), void 0, !0)
1120
1120
  ]),
1121
1121
  _: 3
@@ -1131,7 +1131,7 @@ const Ll = ["id"], kl = ["onClick"], Cl = {
1131
1131
  key: `legend_${ke.value}`,
1132
1132
  onClickMarker: t[3] || (t[3] = ({ i: o }) => Je(o))
1133
1133
  }, {
1134
- item: m(({ legend: o, index: n }) => [
1134
+ item: b(({ legend: o, index: n }) => [
1135
1135
  ne("div", {
1136
1136
  onClick: (c) => o.segregate(),
1137
1137
  style: K(`opacity:${$.value.includes(n) ? 0.5 : 1}`)
@@ -1170,7 +1170,7 @@ const Ll = ["id"], kl = ["onClick"], Cl = {
1170
1170
  }
1171
1171
  }
1172
1172
  }, {
1173
- content: m(() => [
1173
+ content: b(() => [
1174
1174
  (z(), D(p(fa), {
1175
1175
  key: `table_${Le.value}`,
1176
1176
  colNames: ye.value.colNames,
@@ -1180,10 +1180,10 @@ const Ll = ["id"], kl = ["onClick"], Cl = {
1180
1180
  title: `${a.value.style.chart.title.text}${a.value.style.chart.title.subtitle.text ? ` : ${a.value.style.chart.title.subtitle.text}` : ""}`,
1181
1181
  onClose: t[4] || (t[4] = (o) => u.value.showTable = !1)
1182
1182
  }, {
1183
- th: m(({ th: o }) => [
1183
+ th: b(({ th: o }) => [
1184
1184
  ne("div", { innerHTML: o }, null, 8, wl)
1185
1185
  ]),
1186
- td: m(({ td: o }) => [
1186
+ td: b(({ td: o }) => [
1187
1187
  ja(ua(o), 1)
1188
1188
  ]),
1189
1189
  _: 1
@@ -1201,7 +1201,7 @@ const Ll = ["id"], kl = ["onClick"], Cl = {
1201
1201
  }, null, 8, ["parent", "backgroundColor", "color", "active"])) : U("", !0)
1202
1202
  ], 46, Ll));
1203
1203
  }
1204
- }, Dl = /* @__PURE__ */ xl(zl, [["__scopeId", "data-v-e72e8115"]]);
1204
+ }, Dl = /* @__PURE__ */ xl(zl, [["__scopeId", "data-v-3390327e"]]);
1205
1205
  export {
1206
1206
  Dl as default
1207
1207
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vue-data-ui",
3
3
  "private": false,
4
- "version": "2.12.8-beta.3",
4
+ "version": "2.13.0",
5
5
  "type": "module",
6
6
  "description": "A user-empowering data visualization Vue 3 components library for eloquent data storytelling",
7
7
  "keywords": [