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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (90) hide show
  1. package/README.md +15 -0
  2. package/dist/{Arrow-HbfibAF0.js → Arrow-kQyQXUUg.js} +1 -1
  3. package/dist/{BaseDraggableDialog-DGrErCX-.js → BaseDraggableDialog-DLRFrsDT.js} +2 -2
  4. package/dist/{BaseIcon-j0c6lJUs.js → BaseIcon-DaR0sIWZ.js} +1 -1
  5. package/dist/{ColorPicker-DitXXl-H.js → ColorPicker-Bj3sq9o7.js} +2 -2
  6. package/dist/{DataTable-CsoAI95B.js → DataTable-BBqbcutV.js} +2 -2
  7. package/dist/{Legend-ZW-PFcHg.js → Legend-DRqzYrP9.js} +2 -2
  8. package/dist/{NonSvgPenAndPaper-DJTUaQ94.js → NonSvgPenAndPaper-CQIC2PMP.js} +3 -3
  9. package/dist/{PackageVersion-DCAZ9Z7V.js → PackageVersion-ClpqQxYT.js} +1 -1
  10. package/dist/{PenAndPaper-B9RP4oFj.js → PenAndPaper-B-T7XvxF.js} +3 -3
  11. package/dist/{Shape-BBbhObHC.js → Shape-DEWxbZ-l.js} +1 -1
  12. package/dist/{Slicer-Vh74fjdf.js → Slicer-o6jJH5bw.js} +2 -2
  13. package/dist/{SparkTooltip-CG-HMbX2.js → SparkTooltip-LPnbBoFu.js} +1 -1
  14. package/dist/{Title-Dx8ctnVy.js → Title-apr_T9tg.js} +1 -1
  15. package/dist/{Tooltip-COHlzpZI.js → Tooltip-BuHsMAfp.js} +1 -1
  16. package/dist/{UserOptions-CGn3YdRV.js → UserOptions-OVNxxnq5.js} +144 -133
  17. package/dist/{dom-to-png-BjSUS-jY.js → dom-to-png-C0Ct8ClX.js} +1 -1
  18. package/dist/{img-DWfzRJdv.js → img-P0SFFw37.js} +1 -1
  19. package/dist/{index-CbcpITE_.js → index-CH_mJIWj.js} +185 -127
  20. package/dist/{pdf-Cy09nTjn.js → pdf-Jun3ogRn.js} +1 -1
  21. package/dist/style.css +1 -1
  22. package/dist/types/vue-data-ui.d.cts +42 -0
  23. package/dist/types/vue-data-ui.d.ts +42 -0
  24. package/dist/{useNestedProp-y56W8I7J.js → useNestedProp-rMR-JeOJ.js} +1 -1
  25. package/dist/{usePrinter-u-gQiRNz.js → usePrinter-DJ7WfWUs.js} +2 -2
  26. package/dist/{vue-data-ui-DGmMT-Yp.js → vue-data-ui-D7AaTKU6.js} +63 -63
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/{vue-ui-3d-bar-Du4TkjPV.js → vue-ui-3d-bar-BfLLrwWi.js} +8 -7
  29. package/dist/{vue-ui-accordion-BkA7rtwr.js → vue-ui-accordion-Ds4zkPIx.js} +3 -3
  30. package/dist/{vue-ui-age-pyramid-bw7gLRlR.js → vue-ui-age-pyramid-C7ca5TG5.js} +41 -40
  31. package/dist/{vue-ui-annotator-C-_zXB7H.js → vue-ui-annotator-DG2z1gw8.js} +2 -2
  32. package/dist/{vue-ui-bullet-BRnz7E8e.js → vue-ui-bullet-Dh25QAEH.js} +9 -8
  33. package/dist/{vue-ui-candlestick-9cPPnO0t.js → vue-ui-candlestick-7Yo_kEV0.js} +9 -8
  34. package/dist/{vue-ui-carousel-table-BJuSGbk2.js → vue-ui-carousel-table-Det9Kwmy.js} +28 -27
  35. package/dist/{vue-ui-chestnut-D2dnrdHT.js → vue-ui-chestnut-DLlFv6Uj.js} +8 -7
  36. package/dist/{vue-ui-chord-Rvygj27H.js → vue-ui-chord-BXlv5Z2x.js} +35 -34
  37. package/dist/{vue-ui-circle-pack-BR79EDAC.js → vue-ui-circle-pack-DdRcdWmx.js} +43 -42
  38. package/dist/{vue-ui-cursor-K11x9TYc.js → vue-ui-cursor-Djtg6Ppw.js} +2 -2
  39. package/dist/{vue-ui-dashboard-BgxqXwqN.js → vue-ui-dashboard-C4MDDCl6.js} +62 -62
  40. package/dist/{vue-ui-digits-D7StMUym.js → vue-ui-digits-8Ox6q1Ov.js} +2 -2
  41. package/dist/{vue-ui-donut-CyOg8kph.js → vue-ui-donut-Hk4EaVhb.js} +10 -9
  42. package/dist/{vue-ui-donut-evolution-CVhQaMNQ.js → vue-ui-donut-evolution-DzgYokPU.js} +10 -9
  43. package/dist/{vue-ui-dumbbell-C7Wex4VO.js → vue-ui-dumbbell-CAC44_Hu.js} +52 -51
  44. package/dist/{vue-ui-flow-DFNdP-V9.js → vue-ui-flow-CYWiZjrP.js} +9 -8
  45. package/dist/{vue-ui-funnel-DqWcZVvF.js → vue-ui-funnel-C2eqxh_8.js} +20 -19
  46. package/dist/{vue-ui-galaxy-BhPbJqYr.js → vue-ui-galaxy-BBfg84E4.js} +7 -6
  47. package/dist/{vue-ui-gauge-sP6YPTJH.js → vue-ui-gauge-BJgJgef_.js} +33 -32
  48. package/dist/{vue-ui-gizmo-B4fq_bGX.js → vue-ui-gizmo-DBclpybR.js} +3 -3
  49. package/dist/{vue-ui-heatmap-CpNjtuyD.js → vue-ui-heatmap-D65wOgqe.js} +10 -9
  50. package/dist/{vue-ui-history-plot-CtgTg4fG.js → vue-ui-history-plot-CHhDy7Da.js} +9 -8
  51. package/dist/{vue-ui-kpi-CN2AE1VF.js → vue-ui-kpi-uT6fsAaO.js} +3 -3
  52. package/dist/{vue-ui-mini-loader-CYt8LlhO.js → vue-ui-mini-loader-CKVlBiYB.js} +2 -2
  53. package/dist/{vue-ui-molecule-D3kexAu_.js → vue-ui-molecule-BwtHZtGN.js} +22 -21
  54. package/dist/{vue-ui-mood-radar-hHqR8eS7.js → vue-ui-mood-radar-Vf4_-R-m.js} +9 -8
  55. package/dist/{vue-ui-nested-donuts-DXwaOA_n.js → vue-ui-nested-donuts-BVkSns4S.js} +44 -43
  56. package/dist/{vue-ui-onion-C7R2R5tf.js → vue-ui-onion-UzMmwtvF.js} +9 -8
  57. package/dist/{vue-ui-parallel-coordinate-plot-Dh772r8W.js → vue-ui-parallel-coordinate-plot-Dk5T3ZAr.js} +10 -9
  58. package/dist/{vue-ui-quadrant-jrOesLSU.js → vue-ui-quadrant-Ck7xALez.js} +10 -9
  59. package/dist/{vue-ui-quick-chart-CtLnhGZA.js → vue-ui-quick-chart-B62Pa0nG.js} +8 -7
  60. package/dist/{vue-ui-radar-BikYRjfw.js → vue-ui-radar-DMfv2hSb.js} +6 -6
  61. package/dist/{vue-ui-rating-DUYbT-Ve.js → vue-ui-rating-CFYHJrxj.js} +2 -2
  62. package/dist/{vue-ui-relation-circle-CjnDrflp.js → vue-ui-relation-circle-RWlfC5BI.js} +75 -74
  63. package/dist/{vue-ui-ridgeline-o7-RpeJx.js → vue-ui-ridgeline-Bh93VzcO.js} +10 -9
  64. package/dist/{vue-ui-rings-Dinj5ws1.js → vue-ui-rings-CyX30Ccv.js} +23 -22
  65. package/dist/{vue-ui-scatter-CODAsxBq.js → vue-ui-scatter-BEDnWByj.js} +10 -9
  66. package/dist/{vue-ui-skeleton-miKWlCAi.js → vue-ui-skeleton-C6PWt_m5.js} +3 -3
  67. package/dist/{vue-ui-smiley-DwqlNm1O.js → vue-ui-smiley-79itAe84.js} +2 -2
  68. package/dist/{vue-ui-spark-trend-BjL35phT.js → vue-ui-spark-trend-AaA4KuaH.js} +3 -3
  69. package/dist/{vue-ui-sparkbar-2o2ZLL50.js → vue-ui-sparkbar-CYBZeaor.js} +3 -3
  70. package/dist/{vue-ui-sparkgauge-CMlBpOcc.js → vue-ui-sparkgauge-ElGarXVS.js} +3 -3
  71. package/dist/{vue-ui-sparkhistogram-C7Ue-aaI.js → vue-ui-sparkhistogram-C_LV99i1.js} +4 -4
  72. package/dist/{vue-ui-sparkline-w29yzdZG.js → vue-ui-sparkline-DwzCA8d6.js} +3 -3
  73. package/dist/{vue-ui-sparkstackbar-DbIxY7W3.js → vue-ui-sparkstackbar-CobB11uw.js} +3 -3
  74. package/dist/{vue-ui-stackbar-CWqpeYW-.js → vue-ui-stackbar-B4SxM5Ix.js} +11 -10
  75. package/dist/{vue-ui-strip-plot-DyjQVaDX.js → vue-ui-strip-plot-9VK_Y3SC.js} +9 -8
  76. package/dist/{vue-ui-table-Bx82XIlz.js → vue-ui-table-DFTE1OH5.js} +3 -3
  77. package/dist/{vue-ui-table-heatmap-RvSyx9L6.js → vue-ui-table-heatmap-DvyJx0j7.js} +48 -47
  78. package/dist/{vue-ui-table-sparkline-DebvtEV3.js → vue-ui-table-sparkline-SGsBnQTK.js} +8 -7
  79. package/dist/{vue-ui-thermometer-yPKRIlqA.js → vue-ui-thermometer-DEMS6HXl.js} +22 -21
  80. package/dist/{vue-ui-timer-C15nOU7T.js → vue-ui-timer-CQ71yJ_N.js} +5 -5
  81. package/dist/{vue-ui-tiremarks-C2G8HtiX.js → vue-ui-tiremarks-CsN_QtUK.js} +38 -37
  82. package/dist/{vue-ui-treemap-cFhw0xSg.js → vue-ui-treemap-B0CPNusH.js} +229 -228
  83. package/dist/{vue-ui-vertical-bar-dWiOw4sV.js → vue-ui-vertical-bar-Cxv-ahMT.js} +12 -11
  84. package/dist/{vue-ui-waffle-Uldnmn6D.js → vue-ui-waffle-TgNNo9UX.js} +66 -65
  85. package/dist/{vue-ui-wheel-Cz79iDLO.js → vue-ui-wheel-Bq0ZLc-R.js} +8 -7
  86. package/dist/{vue-ui-word-cloud-BGeHV6hS.js → vue-ui-word-cloud-D28awCaT.js} +66 -65
  87. package/dist/{vue-ui-world-D1Dy-4mh.js → vue-ui-world-BhUsfhY5.js} +8 -7
  88. package/dist/{vue-ui-xy-BA7xWU7_.js → vue-ui-xy-CEFkua9H.js} +918 -811
  89. package/dist/{vue-ui-xy-canvas-B2kkKb64.js → vue-ui-xy-canvas-oHhzL0ui.js} +53 -52
  90. package/package.json +1 -1
@@ -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 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-CbcpITE_.js";
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";
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-y56W8I7J.js";
5
- import { u as yl } from "./usePrinter-u-gQiRNz.js";
4
+ import { u as ca } from "./useNestedProp-rMR-JeOJ.js";
5
+ import { u as yl } from "./usePrinter-DJ7WfWUs.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-ZW-PFcHg.js";
9
- import ml from "./Title-Dx8ctnVy.js";
10
- import { S as bl } from "./Slicer-Vh74fjdf.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";
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,7 +30,7 @@ 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-BkA7rtwr.js")), fa = J(() => import("./DataTable-CsoAI95B.js")), ga = J(() => import("./NonSvgPenAndPaper-DJTUaQ94.js")), pa = J(() => import("./vue-ui-skeleton-miKWlCAi.js")), ma = J(() => import("./Tooltip-COHlzpZI.js")), ba = J(() => import("./UserOptions-CGn3YdRV.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 = k(() => !!g.dataset && g.dataset.length), La = ha, ka = _a();
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();
34
34
  ra(() => {
35
35
  ka["chart-background"] && console.warn("VueUiXyCanvas does not support the #chart-background slot.");
36
36
  });
@@ -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_${me.value}`,
61
+ elementId: `xy_canvas_${be.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({
@@ -100,7 +100,7 @@ const Ll = ["id"], kl = ["onClick"], Cl = {
100
100
  };
101
101
  });
102
102
  }
103
- const m = k(() => {
103
+ const b = k(() => {
104
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) => ({
105
105
  y: l.value.bottom - l.value.height * ((i + n) / (o.max + n)),
106
106
  x: l.value.left - 8,
@@ -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 : m.value.min,
170
- max: u.value.stacked ? n : m.value.max,
171
- scale: u.value.stacked ? i : m.value.scale,
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,
172
172
  yOffset: f,
173
173
  individualHeight: S,
174
174
  stackIndex: u.value.stacked ? t : null
@@ -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 ? m.value.yLabels.forEach((e, t) => {
352
- t < m.value.yLabels.length - 1 && Me(
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(
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: m.value.yLabels[t + 1].y },
358
- { x: l.value.left, y: m.value.yLabels[t + 1].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 }
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
- }) : m.value.yLabels.forEach((e) => {
365
+ }) : b.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: m.value.zero },
400
- { x: l.value.right, y: m.value.zero }
399
+ { x: l.value.left, y: b.value.zero },
400
+ { x: l.value.right, y: b.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
- }) : m.value.yLabels.forEach((e, t) => {
496
+ }) : b.value.yLabels.forEach((e, t) => {
497
497
  R(
498
498
  s.value,
499
499
  Q(
@@ -593,11 +593,11 @@ const Ll = ["id"], kl = ["onClick"], Cl = {
593
593
  [
594
594
  {
595
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 : m.value.zero
596
+ y: u.value.stacked ? e.localZero : b.value.zero
597
597
  },
598
598
  {
599
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 : m.value.zero
600
+ y: u.value.stacked ? e.localZero : b.value.zero
601
601
  },
602
602
  {
603
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),
@@ -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 : m.value.zero
621
+ y: u.value.stacked ? e.localZero : b.value.zero
622
622
  },
623
623
  stops: [
624
624
  { offset: 0, color: e.color },
@@ -640,7 +640,7 @@ const Ll = ["id"], kl = ["onClick"], Cl = {
640
640
  { datapoint: e.coordinatesLine[o], seriesIndex: o }
641
641
  ),
642
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 : m.value.zero : e.coordinatesLine[o].y) + a.value.style.chart.dataLabels.offsetY,
643
+ (e.coordinatesLine[o].value < 0 ? u.value.stacked ? e.localZero : b.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: m.value.zero }, ...e.coordinatesLine, { x: e.coordinatesLine.at(-1).x, y: m.value.zero }],
664
+ [{ x: e.coordinatesLine[0].x, y: b.value.zero }, ...e.coordinatesLine, { x: e.coordinatesLine.at(-1).x, y: b.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
- }), 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) => {
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) => {
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(
@@ -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_${me.value}`,
895
+ id: `xy_canvas_${be.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(ml, {
906
+ (z(), D(bl, {
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(ba), {
920
+ a.value.userOptions.show && Ce.value && (p(Ne) || p(we)) ? (z(), D(p(ma), {
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: me.value,
927
+ uid: be.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,
@@ -941,6 +941,7 @@ const Ll = ["id"], kl = ["onClick"], Cl = {
941
941
  position: a.value.userOptions.position,
942
942
  hasAnnotator: a.value.userOptions.buttons.annotator,
943
943
  isAnnotation: fe.value,
944
+ callbacks: a.value.userOptions.callbacks,
944
945
  onToggleFullscreen: Ca,
945
946
  onGeneratePdf: p(_e),
946
947
  onGenerateCsv: ea,
@@ -956,75 +957,75 @@ const Ll = ["id"], kl = ["onClick"], Cl = {
956
957
  }, Za({ _: 2 }, [
957
958
  e.$slots.menuIcon ? {
958
959
  name: "menuIcon",
959
- fn: b(({ isOpen: o, color: n }) => [
960
+ fn: m(({ isOpen: o, color: n }) => [
960
961
  x(e.$slots, "menuIcon", W(X({ isOpen: o, color: n })), void 0, !0)
961
962
  ]),
962
963
  key: "0"
963
964
  } : void 0,
964
965
  e.$slots.optionTooltip ? {
965
966
  name: "optionTooltip",
966
- fn: b(() => [
967
+ fn: m(() => [
967
968
  x(e.$slots, "optionTooltip", {}, void 0, !0)
968
969
  ]),
969
970
  key: "1"
970
971
  } : void 0,
971
972
  e.$slots.optionPdf ? {
972
973
  name: "optionPdf",
973
- fn: b(() => [
974
+ fn: m(() => [
974
975
  x(e.$slots, "optionPdf", {}, void 0, !0)
975
976
  ]),
976
977
  key: "2"
977
978
  } : void 0,
978
979
  e.$slots.optionCsv ? {
979
980
  name: "optionCsv",
980
- fn: b(() => [
981
+ fn: m(() => [
981
982
  x(e.$slots, "optionCsv", {}, void 0, !0)
982
983
  ]),
983
984
  key: "3"
984
985
  } : void 0,
985
986
  e.$slots.optionImg ? {
986
987
  name: "optionImg",
987
- fn: b(() => [
988
+ fn: m(() => [
988
989
  x(e.$slots, "optionImg", {}, void 0, !0)
989
990
  ]),
990
991
  key: "4"
991
992
  } : void 0,
992
993
  e.$slots.optionTable ? {
993
994
  name: "optionTable",
994
- fn: b(() => [
995
+ fn: m(() => [
995
996
  x(e.$slots, "optionTable", {}, void 0, !0)
996
997
  ]),
997
998
  key: "5"
998
999
  } : void 0,
999
1000
  e.$slots.optionLabels ? {
1000
1001
  name: "optionLabels",
1001
- fn: b(() => [
1002
+ fn: m(() => [
1002
1003
  x(e.$slots, "optionLabels", {}, void 0, !0)
1003
1004
  ]),
1004
1005
  key: "6"
1005
1006
  } : void 0,
1006
1007
  e.$slots.optionStack ? {
1007
1008
  name: "optionStack",
1008
- fn: b(() => [
1009
+ fn: m(() => [
1009
1010
  x(e.$slots, "optionStack", {}, void 0, !0)
1010
1011
  ]),
1011
1012
  key: "7"
1012
1013
  } : void 0,
1013
1014
  e.$slots.optionFullscreen ? {
1014
1015
  name: "optionFullscreen",
1015
- fn: b(({ toggleFullscreen: o, isFullscreen: n }) => [
1016
+ fn: m(({ toggleFullscreen: o, isFullscreen: n }) => [
1016
1017
  x(e.$slots, "optionFullscreen", W(X({ toggleFullscreen: o, isFullscreen: n })), void 0, !0)
1017
1018
  ]),
1018
1019
  key: "8"
1019
1020
  } : void 0,
1020
1021
  e.$slots.optionAnnotator ? {
1021
1022
  name: "optionAnnotator",
1022
- fn: b(({ toggleAnnotator: o, isAnnotator: n }) => [
1023
+ fn: m(({ toggleAnnotator: o, isAnnotator: n }) => [
1023
1024
  x(e.$slots, "optionAnnotator", W(X({ toggleAnnotator: o, isAnnotator: n })), void 0, !0)
1024
1025
  ]),
1025
1026
  key: "9"
1026
1027
  } : void 0
1027
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasLabel", "hasStack", "hasFullscreen", "hasTable", "isFullscreen", "isTooltip", "isStacked", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : U("", !0),
1028
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasLabel", "hasStack", "hasFullscreen", "hasTable", "isFullscreen", "isTooltip", "isStacked", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "onGeneratePdf", "onGenerateImage", "style"])) : U("", !0),
1028
1029
  ne("div", {
1029
1030
  class: "vue-ui-xy-canvas",
1030
1031
  style: K(`position: relative; aspect-ratio: ${Ue.value}`),
@@ -1056,7 +1057,7 @@ const Ll = ["id"], kl = ["onClick"], Cl = {
1056
1057
  }
1057
1058
  }
1058
1059
  }, null, 8, ["config"])),
1059
- Ga(p(ma), {
1060
+ Ga(p(ba), {
1060
1061
  show: u.value.showTooltip && ve.value,
1061
1062
  backgroundColor: a.value.style.chart.tooltip.backgroundColor,
1062
1063
  color: a.value.style.chart.tooltip.color,
@@ -1072,10 +1073,10 @@ const Ll = ["id"], kl = ["onClick"], Cl = {
1072
1073
  backgroundOpacity: a.value.style.chart.tooltip.backgroundOpacity,
1073
1074
  isCustom: p(na)(a.value.style.chart.tooltip.customFormat)
1074
1075
  }, {
1075
- "tooltip-before": b(() => [
1076
+ "tooltip-before": m(() => [
1076
1077
  x(e.$slots, "tooltip-before", W(X({ ...Oe.value })), void 0, !0)
1077
1078
  ]),
1078
- "tooltip-after": b(() => [
1079
+ "tooltip-after": m(() => [
1079
1080
  x(e.$slots, "tooltip-after", W(X({ ...Oe.value })), void 0, !0)
1080
1081
  ]),
1081
1082
  _: 3
@@ -1087,7 +1088,7 @@ const Ll = ["id"], kl = ["onClick"], Cl = {
1087
1088
  style: K(`width:100%;background:${a.value.style.chart.backgroundColor}`),
1088
1089
  "data-dom-to-png-ignore": ""
1089
1090
  }, [
1090
- a.value.style.chart.zoom.show && I.value > 1 ? (z(), D(bl, {
1091
+ a.value.style.chart.zoom.show && I.value > 1 ? (z(), D(ml, {
1091
1092
  ref_key: "slicerComponent",
1092
1093
  ref: G,
1093
1094
  key: `slicer_${Re.value}`,
@@ -1114,7 +1115,7 @@ const Ll = ["id"], kl = ["onClick"], Cl = {
1114
1115
  enableSelectionDrag: a.value.style.chart.zoom.enableSelectionDrag,
1115
1116
  onReset: Ge
1116
1117
  }, {
1117
- "reset-action": b(({ reset: o }) => [
1118
+ "reset-action": m(({ reset: o }) => [
1118
1119
  x(e.$slots, "reset-action", W(X({ reset: o })), void 0, !0)
1119
1120
  ]),
1120
1121
  _: 3
@@ -1130,7 +1131,7 @@ const Ll = ["id"], kl = ["onClick"], Cl = {
1130
1131
  key: `legend_${ke.value}`,
1131
1132
  onClickMarker: t[3] || (t[3] = ({ i: o }) => Je(o))
1132
1133
  }, {
1133
- item: b(({ legend: o, index: n }) => [
1134
+ item: m(({ legend: o, index: n }) => [
1134
1135
  ne("div", {
1135
1136
  onClick: (c) => o.segregate(),
1136
1137
  style: K(`opacity:${$.value.includes(n) ? 0.5 : 1}`)
@@ -1169,7 +1170,7 @@ const Ll = ["id"], kl = ["onClick"], Cl = {
1169
1170
  }
1170
1171
  }
1171
1172
  }, {
1172
- content: b(() => [
1173
+ content: m(() => [
1173
1174
  (z(), D(p(fa), {
1174
1175
  key: `table_${Le.value}`,
1175
1176
  colNames: ye.value.colNames,
@@ -1179,10 +1180,10 @@ const Ll = ["id"], kl = ["onClick"], Cl = {
1179
1180
  title: `${a.value.style.chart.title.text}${a.value.style.chart.title.subtitle.text ? ` : ${a.value.style.chart.title.subtitle.text}` : ""}`,
1180
1181
  onClose: t[4] || (t[4] = (o) => u.value.showTable = !1)
1181
1182
  }, {
1182
- th: b(({ th: o }) => [
1183
+ th: m(({ th: o }) => [
1183
1184
  ne("div", { innerHTML: o }, null, 8, wl)
1184
1185
  ]),
1185
- td: b(({ td: o }) => [
1186
+ td: m(({ td: o }) => [
1186
1187
  ja(ua(o), 1)
1187
1188
  ]),
1188
1189
  _: 1
@@ -1200,7 +1201,7 @@ const Ll = ["id"], kl = ["onClick"], Cl = {
1200
1201
  }, null, 8, ["parent", "backgroundColor", "color", "active"])) : U("", !0)
1201
1202
  ], 46, Ll));
1202
1203
  }
1203
- }, Dl = /* @__PURE__ */ xl(zl, [["__scopeId", "data-v-557b6e93"]]);
1204
+ }, Dl = /* @__PURE__ */ xl(zl, [["__scopeId", "data-v-e72e8115"]]);
1204
1205
  export {
1205
1206
  Dl as default
1206
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.2",
4
+ "version": "2.12.8-beta.3",
5
5
  "type": "module",
6
6
  "description": "A user-empowering data visualization Vue 3 components library for eloquent data storytelling",
7
7
  "keywords": [