vue-data-ui 3.1.4 → 3.1.6

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/dist/{Arrow-COJRk3pc.js → Arrow-DtlAIKPQ.js} +1 -1
  2. package/dist/{BaseDraggableDialog-BdAp3qr9.js → BaseDraggableDialog-BVZPPMT9.js} +2 -2
  3. package/dist/{BaseIcon-B5nQNkmd.js → BaseIcon-D_BjQBAR.js} +1 -1
  4. package/dist/{ColorPicker-CPqHwp1V.js → ColorPicker-BeJGNqJl.js} +2 -2
  5. package/dist/{DataTable-CzO3oHys.js → DataTable-IycMkaTU.js} +2 -2
  6. package/dist/{Legend-BQqnf4BN.js → Legend-D7l8BJ7z.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-D_g27Foy.js → NonSvgPenAndPaper-BK5M9Lt9.js} +3 -3
  8. package/dist/{PackageVersion-7CxQB-mx.js → PackageVersion-BtfT0hV9.js} +1 -1
  9. package/dist/{PenAndPaper-C8hICPzL.js → PenAndPaper-BdzDJYnr.js} +3 -3
  10. package/dist/{Shape-BEVQVI0z.js → Shape-DD3SLpa4.js} +1 -1
  11. package/dist/Slicer-DoGlWyq_.js +596 -0
  12. package/dist/{SparkTooltip-BSgzljwP.js → SparkTooltip-DAfofSes.js} +1 -1
  13. package/dist/{Title-nHtPyPd9.js → Title-DbQthJAs.js} +1 -1
  14. package/dist/Tooltip-DvtYLrX2.js +200 -0
  15. package/dist/{UserOptions-D3pVnvAB.js → UserOptions-Dd5XOrwq.js} +2 -2
  16. package/dist/{dom-to-png-CcijTM69.js → dom-to-png-j6qE-sAL.js} +1 -1
  17. package/dist/{img-Bl0o2UAr.js → img-DLgjML7h.js} +1 -1
  18. package/dist/{index-INqbM37s.js → index-C0wrF8hm.js} +6 -2
  19. package/dist/{pdf-BeeAdG2m.js → pdf-Csglybwj.js} +1 -1
  20. package/dist/style.css +1 -1
  21. package/dist/types/vue-data-ui.d.cts +4 -0
  22. package/dist/types/vue-data-ui.d.ts +4 -0
  23. package/dist/{useAutoSizeLabelsInsideViewbox-DXkvjSDn.js → useAutoSizeLabelsInsideViewbox-Bj3DhGbZ.js} +1 -1
  24. package/dist/{useNestedProp-BKprMEaB.js → useNestedProp-Bg2FlIgI.js} +1 -1
  25. package/dist/{usePrinter-9WO5mDzj.js → usePrinter-C2jvouU0.js} +2 -2
  26. package/dist/{vue-data-ui-IMHc9Ta4.js → vue-data-ui-DaOijb0V.js} +64 -64
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/{vue-ui-3d-bar-D-1TVi2s.js → vue-ui-3d-bar-BbW6NaRc.js} +8 -8
  29. package/dist/{vue-ui-accordion-CQZjxT5U.js → vue-ui-accordion-3JuSLBjV.js} +3 -3
  30. package/dist/{vue-ui-age-pyramid-B31NbBxS.js → vue-ui-age-pyramid-D94C1TOK.js} +44 -42
  31. package/dist/{vue-ui-annotator-BmFYtzWW.js → vue-ui-annotator-Jq_yw0h7.js} +2 -2
  32. package/dist/{vue-ui-bullet-BvMlcux3.js → vue-ui-bullet-ajwy7d-R.js} +7 -7
  33. package/dist/{vue-ui-candlestick-CCrNcgjy.js → vue-ui-candlestick-vMGbmNWA.js} +87 -85
  34. package/dist/{vue-ui-carousel-table-DrGj7_CL.js → vue-ui-carousel-table-DydTCm2Z.js} +4 -4
  35. package/dist/{vue-ui-chestnut-Dz0E-AxZ.js → vue-ui-chestnut-D6AP76wU.js} +37 -37
  36. package/dist/{vue-ui-chord-BxOzgPka.js → vue-ui-chord-Du8GJXPN.js} +11 -11
  37. package/dist/{vue-ui-circle-pack-CaWwzEF0.js → vue-ui-circle-pack-C-C3OGW_.js} +232 -228
  38. package/dist/{vue-ui-cursor-CG-oJITu.js → vue-ui-cursor-B70FlDqP.js} +2 -2
  39. package/dist/{vue-ui-dashboard-BFLQYXuo.js → vue-ui-dashboard-DrFCH7LP.js} +67 -67
  40. package/dist/{vue-ui-digits-BlZsS_qz.js → vue-ui-digits-CQy-vOC2.js} +2 -2
  41. package/dist/{vue-ui-donut-COXIRkz4.js → vue-ui-donut-D0RdN18d.js} +53 -51
  42. package/dist/{vue-ui-donut-evolution-DSGLD4z5.js → vue-ui-donut-evolution-naYIvk-b.js} +38 -38
  43. package/dist/{vue-ui-dumbbell-DgUPMy2W.js → vue-ui-dumbbell-D6b7WMTy.js} +84 -84
  44. package/dist/{vue-ui-flow-E8_jp5Qc.js → vue-ui-flow-Dh8_ii-s.js} +82 -80
  45. package/dist/{vue-ui-funnel-NMcBpYTQ.js → vue-ui-funnel-Ct4e9chO.js} +31 -31
  46. package/dist/{vue-ui-galaxy-Cay4NZ6o.js → vue-ui-galaxy-Dqklv14X.js} +49 -47
  47. package/dist/{vue-ui-gauge-DWOH8_Z2.js → vue-ui-gauge-D-vHj5J1.js} +7 -7
  48. package/dist/{vue-ui-gizmo-DtZu2tcU.js → vue-ui-gizmo-Cn0d1lVH.js} +3 -3
  49. package/dist/{vue-ui-heatmap-Dk5515tQ.js → vue-ui-heatmap-BpcoDwpi.js} +69 -67
  50. package/dist/{vue-ui-history-plot-X_jPheWu.js → vue-ui-history-plot-D8tmNUHo.js} +148 -146
  51. package/dist/{vue-ui-kpi-DwNsapLR.js → vue-ui-kpi-88Bguk6S.js} +3 -3
  52. package/dist/{vue-ui-mini-loader-uyATuTz5.js → vue-ui-mini-loader-VDpWxyls.js} +2 -2
  53. package/dist/{vue-ui-molecule-BOeCt8b2.js → vue-ui-molecule-Cn8yeJLZ.js} +63 -61
  54. package/dist/{vue-ui-mood-radar-BeHjc5Ty.js → vue-ui-mood-radar-DidC77_K.js} +9 -9
  55. package/dist/{vue-ui-nested-donuts-CPoaD2py.js → vue-ui-nested-donuts-D1EZ91Wm.js} +71 -69
  56. package/dist/{vue-ui-onion-C8H8i77u.js → vue-ui-onion-B_mir5Ax.js} +40 -37
  57. package/dist/{vue-ui-parallel-coordinate-plot-Cblzs6mf.js → vue-ui-parallel-coordinate-plot-DRbJyqiQ.js} +54 -52
  58. package/dist/{vue-ui-quadrant-BLYsMAey.js → vue-ui-quadrant-D7ihdCkd.js} +204 -202
  59. package/dist/{vue-ui-quick-chart-D-7cooqG.js → vue-ui-quick-chart-Dwc1xJtX.js} +63 -61
  60. package/dist/{vue-ui-radar-BBR8cYGx.js → vue-ui-radar-DhsgkGwF.js} +121 -119
  61. package/dist/{vue-ui-rating-Ccn8aUMA.js → vue-ui-rating-D_sWv7fR.js} +2 -2
  62. package/dist/{vue-ui-relation-circle-SKeIJXHs.js → vue-ui-relation-circle-CAvYwKpm.js} +7 -7
  63. package/dist/{vue-ui-ridgeline-CuHSBPB8.js → vue-ui-ridgeline-DuWQX2OI.js} +10 -10
  64. package/dist/{vue-ui-rings-SusI7pff.js → vue-ui-rings-BrBkOGZk.js} +162 -160
  65. package/dist/{vue-ui-scatter-Do8NoLng.js → vue-ui-scatter--kNBhPeG.js} +158 -156
  66. package/dist/{vue-ui-skeleton-FONviv9G.js → vue-ui-skeleton-B6Y0yxOn.js} +3 -3
  67. package/dist/{vue-ui-smiley-Bbt8bZxB.js → vue-ui-smiley-B7tZsNRS.js} +2 -2
  68. package/dist/{vue-ui-spark-trend-DB7RPBwQ.js → vue-ui-spark-trend-Dy5C9uny.js} +3 -3
  69. package/dist/{vue-ui-sparkbar-B8inUR_m.js → vue-ui-sparkbar-9NN07DOT.js} +3 -3
  70. package/dist/{vue-ui-sparkgauge-B4_YoY5M.js → vue-ui-sparkgauge-iV-u83Ie.js} +3 -3
  71. package/dist/{vue-ui-sparkhistogram-DXSLenC7.js → vue-ui-sparkhistogram-X47TDKC2.js} +4 -4
  72. package/dist/{vue-ui-sparkline-BQ6Voxky.js → vue-ui-sparkline-C67Y3c7l.js} +3 -3
  73. package/dist/{vue-ui-sparkstackbar-BgFJQKhq.js → vue-ui-sparkstackbar-Bzmq9peq.js} +36 -34
  74. package/dist/{vue-ui-stackbar-CBB-kH1C.js → vue-ui-stackbar-C0cn-5Sz.js} +15 -13
  75. package/dist/{vue-ui-strip-plot-3gWivNhR.js → vue-ui-strip-plot-D3StIxYT.js} +59 -57
  76. package/dist/{vue-ui-table-NJNp95Us.js → vue-ui-table-B-wP544v.js} +3 -3
  77. package/dist/{vue-ui-table-heatmap-CRzHSurU.js → vue-ui-table-heatmap-_qJwOiYG.js} +5 -5
  78. package/dist/{vue-ui-table-sparkline-DxGr1WNr.js → vue-ui-table-sparkline-C6MoeyKm.js} +4 -4
  79. package/dist/{vue-ui-thermometer-B6NudPzq.js → vue-ui-thermometer-BmYZiNK4.js} +7 -7
  80. package/dist/{vue-ui-timer-DO3oJlhi.js → vue-ui-timer-XeLnI_ia.js} +5 -5
  81. package/dist/{vue-ui-tiremarks-Dv39xDlL.js → vue-ui-tiremarks-CnCSAQiH.js} +6 -6
  82. package/dist/{vue-ui-treemap-D9jbccaW.js → vue-ui-treemap-Nd27H4H5.js} +41 -39
  83. package/dist/{vue-ui-vertical-bar-CxJNWczK.js → vue-ui-vertical-bar-Dd1XUvnp.js} +54 -52
  84. package/dist/{vue-ui-waffle-BMjk9LhH.js → vue-ui-waffle-Czg-z9KF.js} +56 -54
  85. package/dist/{vue-ui-wheel-CMACWJLJ.js → vue-ui-wheel-DfPu-QQM.js} +6 -6
  86. package/dist/{vue-ui-word-cloud-BbwSabN0.js → vue-ui-word-cloud-CB9_bPjO.js} +107 -104
  87. package/dist/{vue-ui-world-DCp2i-uy.js → vue-ui-world-Bo_NzzhJ.js} +12 -10
  88. package/dist/{vue-ui-xy-CRQHfrGQ.js → vue-ui-xy-Dc-o6Q3R.js} +1234 -1231
  89. package/dist/{vue-ui-xy-canvas-D-iziyn0.js → vue-ui-xy-canvas-D1Do33ar.js} +46 -44
  90. package/package.json +4 -2
  91. package/dist/Slicer-Cmc94zkG.js +0 -604
  92. package/dist/Tooltip-RCWHeRDV.js +0 -161
@@ -1,19 +1,19 @@
1
- import { defineAsyncComponent as ee, ref as c, computed as L, useSlots as ea, onMounted as dl, watch as D, nextTick as hl, shallowRef as Me, onBeforeUnmount as la, createElementBlock as de, openBlock as S, unref as p, normalizeClass as aa, normalizeStyle as le, createCommentVNode as H, createElementVNode as Y, createBlock as P, createSlots as yl, withCtx as b, renderSlot as k, normalizeProps as V, guardReactiveProps as G, createVNode as fl, Teleport as ta, toDisplayString as Oe, resolveDynamicComponent as oa, mergeProps as ua, createTextVNode as gl } from "vue";
2
- import { u as ra, c as sa, a as na, p as Z, b as ia, C as xe, d as va, D as Re, k as ae, i as te, e as pl, a4 as ca, G as da, ae as ha, o as ya, f as fa, y as bl, v as ga, w as pa, z as ba, s as he, l as ma } from "./index-INqbM37s.js";
3
- import { d as xa, t as La, u as ka, c as Ca, a as ml, l as C, r as De, b as F, p as xl } from "./useResponsive-DfdjqQps.js";
4
- import { u as Ll } from "./useNestedProp-BKprMEaB.js";
5
- import { u as wa } from "./usePrinter-9WO5mDzj.js";
1
+ import { defineAsyncComponent as ee, ref as c, computed as L, useSlots as ea, onMounted as dl, watch as D, nextTick as hl, shallowRef as Me, onBeforeUnmount as la, createElementBlock as de, openBlock as S, unref as p, normalizeClass as aa, normalizeStyle as le, createCommentVNode as H, createElementVNode as Y, createBlock as F, createSlots as yl, withCtx as b, renderSlot as k, normalizeProps as V, guardReactiveProps as G, createVNode as fl, Teleport as ta, toDisplayString as Oe, resolveDynamicComponent as oa, mergeProps as ua, createTextVNode as gl } from "vue";
2
+ import { u as ra, c as sa, a as na, p as Z, b as ia, C as xe, d as va, D as Re, k as ae, i as te, e as pl, a4 as ca, G as da, ae as ha, o as ya, f as fa, y as bl, v as ga, w as pa, z as ba, s as he, l as ma } from "./index-C0wrF8hm.js";
3
+ import { d as xa, t as La, u as ka, c as Ca, a as ml, l as C, r as De, b as P, p as xl } from "./useResponsive-DfdjqQps.js";
4
+ import { u as Ll } from "./useNestedProp-Bg2FlIgI.js";
5
+ import { u as wa } from "./usePrinter-C2jvouU0.js";
6
6
  import { u as Sa } from "./useUserOptionState-BIvW1Kz7.js";
7
7
  import { u as za } from "./useChartAccessibility-9icAAmYg.js";
8
- import $a from "./Legend-BQqnf4BN.js";
9
- import Ta from "./Title-nHtPyPd9.js";
10
- import { S as Ia } from "./Slicer-Cmc94zkG.js";
11
- import Ma from "./vue-ui-accordion-CQZjxT5U.js";
8
+ import $a from "./Legend-D7l8BJ7z.js";
9
+ import Ta from "./Title-DbQthJAs.js";
10
+ import { S as Ia } from "./Slicer-DoGlWyq_.js";
11
+ import Ma from "./vue-ui-accordion-3JuSLBjV.js";
12
12
  import { u as Oa } from "./useTimeLabels-BGFjWgrv.js";
13
- import Ra from "./img-Bl0o2UAr.js";
14
- import Da from "./BaseIcon-B5nQNkmd.js";
15
- import { _ as Pa } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
- const Fa = ["id"], Ea = ["id"], Aa = ["id"], Na = ["onClick"], Ha = {
13
+ import Ra from "./img-DLgjML7h.js";
14
+ import Da from "./BaseIcon-D_BjQBAR.js";
15
+ import { _ as Fa } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
+ const Pa = ["id"], Ea = ["id"], Aa = ["id"], Na = ["onClick"], Ha = {
17
17
  key: 3,
18
18
  class: "vue-data-ui-watermark"
19
19
  }, Ya = ["innerHTML"], _a = {
@@ -33,8 +33,8 @@ const Fa = ["id"], Ea = ["id"], Aa = ["id"], Na = ["onClick"], Ha = {
33
33
  }
34
34
  },
35
35
  emits: ["selectLegend"],
36
- setup(Pe, { expose: kl, emit: Cl }) {
37
- const wl = ee(() => import("./DataTable-CzO3oHys.js")), Sl = ee(() => import("./NonSvgPenAndPaper-D_g27Foy.js")), zl = ee(() => import("./vue-ui-skeleton-FONviv9G.js")), $l = ee(() => import("./Tooltip-RCWHeRDV.js")), Tl = ee(() => import("./UserOptions-D3pVnvAB.js")), Il = ee(() => import("./BaseDraggableDialog-BdAp3qr9.js")), { vue_ui_xy_canvas: Ml } = ra(), g = Pe, _ = c(sa()), I = c(null), oe = c(null), n = c(null), y = c(1), E = c(1), ye = c(!1), d = c(null), fe = c(""), Fe = c(null), $ = c([]), j = c(1), B = c(!0), q = c(!0), Le = c(null), Ee = c(0), Ae = c(0), ue = c(!1), Ne = c(null), He = c(null), Ye = c(null), _e = c(null), ke = c(0), Ce = c(0), we = c(0), M = c(null), Be = c(!1), re = c(null), Se = c(null), ge = L(() => !!g.dataset && g.dataset.length), Ol = Cl, Rl = ea();
36
+ setup(Fe, { expose: kl, emit: Cl }) {
37
+ const wl = ee(() => import("./DataTable-IycMkaTU.js")), Sl = ee(() => import("./NonSvgPenAndPaper-BK5M9Lt9.js")), zl = ee(() => import("./vue-ui-skeleton-B6Y0yxOn.js")), $l = ee(() => import("./Tooltip-DvtYLrX2.js")), Tl = ee(() => import("./UserOptions-Dd5XOrwq.js")), Il = ee(() => import("./BaseDraggableDialog-BVZPPMT9.js")), { vue_ui_xy_canvas: Ml } = ra(), g = Fe, _ = c(sa()), I = c(null), oe = c(null), n = c(null), y = c(1), E = c(1), ye = c(!1), d = c(null), fe = c(""), Pe = c(null), $ = c([]), j = c(1), B = c(!0), q = c(!0), Le = c(null), Ee = c(0), Ae = c(0), ue = c(!1), Ne = c(null), He = c(null), Ye = c(null), _e = c(null), ke = c(0), Ce = c(0), we = c(0), M = c(null), Be = c(!1), re = c(null), Se = c(null), ge = L(() => !!g.dataset && g.dataset.length), Ol = Cl, Rl = ea();
38
38
  dl(() => {
39
39
  Rl["chart-background"] && console.warn("VueUiXyCanvas does not support the #chart-background slot.");
40
40
  });
@@ -118,7 +118,7 @@ const Fa = ["id"], Ea = ["id"], Aa = ["id"], Na = ["onClick"], Ha = {
118
118
  yLabels: x,
119
119
  zero: i
120
120
  };
121
- }), Pl = L(() => h.value.map((e) => `
121
+ }), Fl = L(() => h.value.map((e) => `
122
122
  <div style="display:flex;flex-direction:row;gap:6px;align-items:center;">
123
123
  <svg viewBox="0 0 10 10" height="12" width="12">
124
124
  <circle cx="5" cy="5" r="5" fill="${e.color}"/>
@@ -200,9 +200,9 @@ const Fa = ["id"], Ea = ["id"], Aa = ["id"], Na = ["onClick"], Ha = {
200
200
  async function al() {
201
201
  await hl(), await hl();
202
202
  const { startIndex: e, endIndex: a } = l.value.style.chart.zoom, o = ll.value, s = T.value;
203
- u.value = { start: 0, end: s }, (e != null || a != null) && o ? (e != null ? o.setStartValue(e) : (u.value.start = 0, o.setStartValue(0)), a != null ? o.setEndValue(Fl(a + 1)) : (u.value.end = s, o.setEndValue(s))) : (u.value = { start: 0, end: s }, Ee.value += 1);
203
+ u.value = { start: 0, end: s }, (e != null || a != null) && o ? (e != null ? o.setStartValue(e) : (u.value.start = 0, o.setStartValue(0)), a != null ? o.setEndValue(Pl(a + 1)) : (u.value.end = s, o.setEndValue(s))) : (u.value = { start: 0, end: s }, Ee.value += 1);
204
204
  }
205
- function Fl(e) {
205
+ function Pl(e) {
206
206
  const a = T.value;
207
207
  return e > a ? a : e < 0 || l.value.style.chart.zoom.startIndex !== null && e < l.value.style.chart.zoom.startIndex ? l.value.style.chart.zoom.startIndex !== null ? l.value.style.chart.zoom.startIndex + 1 : 1 : e;
208
208
  }
@@ -313,7 +313,7 @@ const Fa = ["id"], Ea = ["id"], Aa = ["id"], Na = ["onClick"], Ha = {
313
313
  }
314
314
  );
315
315
  }), h.value.forEach((e) => {
316
- F(
316
+ P(
317
317
  n.value,
318
318
  e.name,
319
319
  y.value / 35,
@@ -408,7 +408,7 @@ const Fa = ["id"], Ea = ["id"], Aa = ["id"], Na = ["onClick"], Ha = {
408
408
  }
409
409
  );
410
410
  }
411
- l.value.style.chart.grid.y.axisName && F(
411
+ l.value.style.chart.grid.y.axisName && P(
412
412
  n.value,
413
413
  l.value.style.chart.grid.y.axisName,
414
414
  y.value - y.value / 40 * l.value.style.chart.grid.y.axisLabels.fontSizeRatio * 1.2,
@@ -419,7 +419,7 @@ const Fa = ["id"], Ea = ["id"], Aa = ["id"], Na = ["onClick"], Ha = {
419
419
  align: "center",
420
420
  rotation: 90
421
421
  }
422
- ), l.value.style.chart.grid.x.axisName && F(
422
+ ), l.value.style.chart.grid.x.axisName && P(
423
423
  n.value,
424
424
  l.value.style.chart.grid.x.axisName,
425
425
  y.value / 2,
@@ -447,7 +447,7 @@ const Fa = ["id"], Ea = ["id"], Aa = ["id"], Na = ["onClick"], Ha = {
447
447
  }
448
448
  function Yl() {
449
449
  h.value.forEach((e) => {
450
- e.showYMarker && ne(e) && F(
450
+ e.showYMarker && ne(e) && P(
451
451
  n.value,
452
452
  ae(
453
453
  l.value.style.chart.dataLabels.formatter,
@@ -473,7 +473,7 @@ const Fa = ["id"], Ea = ["id"], Aa = ["id"], Na = ["onClick"], Ha = {
473
473
  function _l() {
474
474
  l.value.style.chart.grid.y.axisLabels.show && (r.value.stacked ? h.value.forEach((e) => {
475
475
  e.localYLabels.forEach((a, o) => {
476
- F(
476
+ P(
477
477
  n.value,
478
478
  ae(
479
479
  l.value.style.chart.dataLabels.formatter,
@@ -497,7 +497,7 @@ const Fa = ["id"], Ea = ["id"], Aa = ["id"], Na = ["onClick"], Ha = {
497
497
  );
498
498
  });
499
499
  }) : m.value.yLabels.forEach((e, a) => {
500
- F(
500
+ P(
501
501
  n.value,
502
502
  ae(
503
503
  l.value.style.chart.dataLabels.formatter,
@@ -523,7 +523,7 @@ const Fa = ["id"], Ea = ["id"], Aa = ["id"], Na = ["onClick"], Ha = {
523
523
  }
524
524
  function Bl(e) {
525
525
  for (let a = 0; a < e.coordinatesLine.length; a += 1)
526
- F(
526
+ P(
527
527
  n.value,
528
528
  ae(
529
529
  l.value.style.chart.dataLabels.formatter,
@@ -554,7 +554,7 @@ const Fa = ["id"], Ea = ["id"], Aa = ["id"], Na = ["onClick"], Ha = {
554
554
  }));
555
555
  function Ul() {
556
556
  for (let e = u.value.start; e < u.value.end; e += 1)
557
- (u.value.end - u.value.start < l.value.style.chart.grid.y.timeLabels.modulo || u.value.end - u.value.start >= l.value.style.chart.grid.y.timeLabels.modulo && (e % Math.floor((u.value.end - u.value.start) / l.value.style.chart.grid.y.timeLabels.modulo) === 0 || e === d.value + u.value.start && l.value.style.chart.grid.y.timeLabels.showMarker)) && F(
557
+ (u.value.end - u.value.start < l.value.style.chart.grid.y.timeLabels.modulo || u.value.end - u.value.start >= l.value.style.chart.grid.y.timeLabels.modulo && (e % Math.floor((u.value.end - u.value.start) / l.value.style.chart.grid.y.timeLabels.modulo) === 0 || e === d.value + u.value.start && l.value.style.chart.grid.y.timeLabels.showMarker)) && P(
558
558
  n.value,
559
559
  U.value[e] ? U.value[e].text : e + 1,
560
560
  t.value.left + t.value.slot * (e - u.value.start) + t.value.slot / 2,
@@ -636,7 +636,7 @@ const Fa = ["id"], Ea = ["id"], Aa = ["id"], Na = ["onClick"], Ha = {
636
636
  ]
637
637
  }
638
638
  }
639
- ), r.value.showDataLabels && [!0, void 0].includes(e.dataLabels) && F(
639
+ ), r.value.showDataLabels && [!0, void 0].includes(e.dataLabels) && P(
640
640
  n.value,
641
641
  ae(
642
642
  l.value.style.chart.dataLabels.formatter,
@@ -757,7 +757,7 @@ const Fa = ["id"], Ea = ["id"], Aa = ["id"], Na = ["onClick"], Ha = {
757
757
  })),
758
758
  series: h.value,
759
759
  config: l.value
760
- }) : (l.value.style.chart.grid.y.timeLabels.values.slice(u.value.start, u.value.end)[d.value] && (x += `<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid ${l.value.style.chart.tooltip.borderColor}; width:100%">${U.value.slice(u.value.start, u.value.end)[d.value].text}</div>`), x += Pl.value.join(""), fe.value = x), q.value = !1;
760
+ }) : (l.value.style.chart.grid.y.timeLabels.values.slice(u.value.start, u.value.end)[d.value] && (x += `<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid ${l.value.style.chart.tooltip.borderColor}; width:100%">${U.value.slice(u.value.start, u.value.end)[d.value].text}</div>`), x += Fl.value.join(""), fe.value = x), q.value = !1;
761
761
  }
762
762
  D(() => d.value, (e) => {
763
763
  pe();
@@ -963,7 +963,7 @@ const Fa = ["id"], Ea = ["id"], Aa = ["id"], Na = ["onClick"], Ha = {
963
963
  ref: Ne,
964
964
  style: le(`width:100%;background:${l.value.style.chart.backgroundColor};`)
965
965
  }, [
966
- (S(), P(Ta, {
966
+ (S(), F(Ta, {
967
967
  key: `title_${ke.value}`,
968
968
  config: {
969
969
  title: {
@@ -980,7 +980,7 @@ const Fa = ["id"], Ea = ["id"], Aa = ["id"], Na = ["onClick"], Ha = {
980
980
  Y("div", {
981
981
  id: `legend-top-${_.value}`
982
982
  }, null, 8, Ea),
983
- l.value.userOptions.show && ge.value && (p(We) || p(ze)) ? (S(), P(p(Tl), {
983
+ l.value.userOptions.show && ge.value && (p(We) || p(ze)) ? (S(), F(p(Tl), {
984
984
  ref_key: "userOptionsRef",
985
985
  ref: Se,
986
986
  key: `user_option_${Ae.value}`,
@@ -994,7 +994,7 @@ const Fa = ["id"], Ea = ["id"], Aa = ["id"], Na = ["onClick"], Ha = {
994
994
  hasImg: l.value.userOptions.buttons.img,
995
995
  hasXls: l.value.userOptions.buttons.csv,
996
996
  hasLabel: l.value.userOptions.buttons.labels,
997
- hasStack: Pe.dataset.length > 1 && l.value.userOptions.buttons.stack,
997
+ hasStack: Fe.dataset.length > 1 && l.value.userOptions.buttons.stack,
998
998
  hasFullscreen: l.value.userOptions.buttons.fullscreen,
999
999
  hasTable: u.value.end - u.value.start <= 730 && l.value.userOptions.buttons.table,
1000
1000
  isFullscreen: ue.value,
@@ -1105,7 +1105,7 @@ const Fa = ["id"], Ea = ["id"], Aa = ["id"], Na = ["onClick"], Ha = {
1105
1105
  style: { width: "100%", height: "100%" },
1106
1106
  onMousemove: a[0] || (a[0] = (o) => Zl(o)),
1107
1107
  onMouseleave: jl
1108
- }, null, 544)) : (S(), P(p(zl), {
1108
+ }, null, 544)) : (S(), F(p(zl), {
1109
1109
  key: 1,
1110
1110
  config: {
1111
1111
  type: "line",
@@ -1139,16 +1139,18 @@ const Fa = ["id"], Ea = ["id"], Aa = ["id"], Na = ["onClick"], Ha = {
1139
1139
  backgroundOpacity: l.value.style.chart.tooltip.backgroundOpacity,
1140
1140
  isCustom: p(bl)(l.value.style.chart.tooltip.customFormat),
1141
1141
  smooth: l.value.style.chart.tooltip.smooth,
1142
- backdropFilter: l.value.style.chart.tooltip.backdropFilter
1142
+ backdropFilter: l.value.style.chart.tooltip.backdropFilter,
1143
+ smoothForce: l.value.style.chart.tooltip.smoothForce,
1144
+ smoothSnapThreshold: l.value.style.chart.tooltip.smoothSnapThreshold
1143
1145
  }, {
1144
1146
  "tooltip-before": b(() => [
1145
- k(e.$slots, "tooltip-before", V(G({ ...Fe.value })), void 0, !0)
1147
+ k(e.$slots, "tooltip-before", V(G({ ...Pe.value })), void 0, !0)
1146
1148
  ]),
1147
1149
  "tooltip-after": b(() => [
1148
- k(e.$slots, "tooltip-after", V(G({ ...Fe.value })), void 0, !0)
1150
+ k(e.$slots, "tooltip-after", V(G({ ...Pe.value })), void 0, !0)
1149
1151
  ]),
1150
1152
  _: 3
1151
- }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "position", "offsetY", "parent", "content", "isFullscreen", "backgroundOpacity", "isCustom", "smooth", "backdropFilter"])
1153
+ }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "position", "offsetY", "parent", "content", "isFullscreen", "backgroundOpacity", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"])
1152
1154
  ], 4),
1153
1155
  Y("div", {
1154
1156
  ref_key: "chartSlicer",
@@ -1156,7 +1158,7 @@ const Fa = ["id"], Ea = ["id"], Aa = ["id"], Na = ["onClick"], Ha = {
1156
1158
  style: le(`width:100%;background:${l.value.style.chart.backgroundColor}`),
1157
1159
  "data-dom-to-png-ignore": ""
1158
1160
  }, [
1159
- l.value.style.chart.zoom.show && T.value > 1 ? (S(), P(Ia, {
1161
+ l.value.style.chart.zoom.show && T.value > 1 ? (S(), F(Ia, {
1160
1162
  ref_key: "slicerComponent",
1161
1163
  ref: ll,
1162
1164
  key: `slicer_${Ee.value}`,
@@ -1192,7 +1194,7 @@ const Fa = ["id"], Ea = ["id"], Aa = ["id"], Na = ["onClick"], Ha = {
1192
1194
  Y("div", {
1193
1195
  id: `legend-bottom-${_.value}`
1194
1196
  }, null, 8, Aa),
1195
- Be.value ? (S(), P(ta, {
1197
+ Be.value ? (S(), F(ta, {
1196
1198
  key: 2,
1197
1199
  to: l.value.style.chart.legend.position === "top" ? `#legend-top-${_.value}` : `#legend-bottom-${_.value}`
1198
1200
  }, [
@@ -1200,7 +1202,7 @@ const Fa = ["id"], Ea = ["id"], Aa = ["id"], Na = ["onClick"], Ha = {
1200
1202
  ref_key: "chartLegend",
1201
1203
  ref: He
1202
1204
  }, [
1203
- l.value.style.chart.legend.show && ge.value ? (S(), P($a, {
1205
+ l.value.style.chart.legend.show && ge.value ? (S(), F($a, {
1204
1206
  legendSet: ul.value,
1205
1207
  config: ql.value,
1206
1208
  key: `legend_${we.value}`,
@@ -1230,13 +1232,13 @@ const Fa = ["id"], Ea = ["id"], Aa = ["id"], Na = ["onClick"], Ha = {
1230
1232
  }, [
1231
1233
  k(e.$slots, "source", {}, void 0, !0)
1232
1234
  ], 512)) : H("", !0),
1233
- ge.value ? (S(), P(oa(ie.value.component), ua({ key: 5 }, ie.value.props, {
1235
+ ge.value && l.value.userOptions.buttons.table ? (S(), F(oa(ie.value.component), ua({ key: 5 }, ie.value.props, {
1234
1236
  ref_key: "tableUnit",
1235
1237
  ref: re,
1236
1238
  onClose: cl
1237
1239
  }), yl({
1238
1240
  content: b(() => [
1239
- (S(), P(p(wl), {
1241
+ (S(), F(p(wl), {
1240
1242
  key: `table_${Ce.value}`,
1241
1243
  colNames: be.value.colNames,
1242
1244
  head: be.value.head,
@@ -1281,7 +1283,7 @@ const Fa = ["id"], Ea = ["id"], Aa = ["id"], Na = ["onClick"], Ha = {
1281
1283
  key: "1"
1282
1284
  } : void 0
1283
1285
  ]), 1040)) : H("", !0),
1284
- l.value.userOptions.buttons.annotator && h.value.length ? (S(), P(p(Sl), {
1286
+ l.value.userOptions.buttons.annotator && h.value.length ? (S(), F(p(Sl), {
1285
1287
  key: 6,
1286
1288
  parent: I.value,
1287
1289
  backgroundColor: l.value.style.chart.backgroundColor,
@@ -1289,9 +1291,9 @@ const Fa = ["id"], Ea = ["id"], Aa = ["id"], Na = ["onClick"], Ha = {
1289
1291
  active: me.value,
1290
1292
  onClose: Ie
1291
1293
  }, null, 8, ["parent", "backgroundColor", "color", "active"])) : H("", !0)
1292
- ], 46, Fa));
1294
+ ], 46, Pa));
1293
1295
  }
1294
- }, tt = /* @__PURE__ */ Pa(_a, [["__scopeId", "data-v-5ac4ec5c"]]);
1296
+ }, tt = /* @__PURE__ */ Fa(_a, [["__scopeId", "data-v-0db6c29f"]]);
1295
1297
  export {
1296
1298
  tt as default
1297
1299
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vue-data-ui",
3
3
  "private": false,
4
- "version": "3.1.4",
4
+ "version": "3.1.6",
5
5
  "type": "module",
6
6
  "description": "A user-empowering data visualization Vue 3 components library for eloquent data storytelling",
7
7
  "keywords": [
@@ -88,7 +88,9 @@
88
88
  "test:w": "vitest --watch",
89
89
  "test:e2e": "npx cypress open",
90
90
  "simple-build": "npm run clean && vite build --mode production && node copy-types.cjs",
91
- "preprod": "node del-dev-dep.cjs && npm run clean && vite build --mode production && node copy-types.cjs && node copy-docs.cjs && node post-build.cjs"
91
+ "preprod": "node del-dev-dep.cjs && npm run clean && vite build --mode production && node copy-types.cjs && node copy-docs.cjs && node post-build.cjs",
92
+ "cy-all": "npx cypress run --component",
93
+ "cy": "node run-cy.cjs"
92
94
  },
93
95
  "peerDependencies": {
94
96
  "vue": ">=3.3.0",