vue-data-ui 3.0.0-next.5 → 3.0.0-next.50

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 (115) hide show
  1. package/dist/{Arrow-6c56sGJ3.js → Arrow-Z9jhaVP0.js} +1 -1
  2. package/dist/{BaseDraggableDialog-y-BEzdTM.js → BaseDraggableDialog-CXFM6lrb.js} +2 -2
  3. package/dist/{BaseIcon-C-MP5EHV.js → BaseIcon-D3lVmh4q.js} +1 -1
  4. package/dist/{useLoading-Bt5Doa8m.js → BaseScanner-DIK2NTdp.js} +11 -11
  5. package/dist/{ColorPicker-P7R8vBej.js → ColorPicker-CZydWpxG.js} +2 -2
  6. package/dist/{DataTable-DD2pZIgh.js → DataTable-DBPMgoC3.js} +2 -2
  7. package/dist/{Legend-DZZeyx5j.js → Legend-Dj4hW4ih.js} +2 -2
  8. package/dist/{NonSvgPenAndPaper-uETwt6yC.js → NonSvgPenAndPaper-JPMlKVW3.js} +3 -3
  9. package/dist/{PackageVersion-D3jqYZS6.js → PackageVersion-_JpUHIQF.js} +1 -1
  10. package/dist/{PenAndPaper-Dy9zUXnw.js → PenAndPaper-CiXy6ifX.js} +3 -3
  11. package/dist/{Shape-CFp_TwS5.js → Shape-BLUp5WPA.js} +43 -37
  12. package/dist/Slicer-QbudvRet.js +602 -0
  13. package/dist/{SparkTooltip-BMV9aNLi.js → SparkTooltip-Nh3_vlzT.js} +7 -7
  14. package/dist/{Title-zqtIOYc5.js → Title-CxOYqn0J.js} +1 -1
  15. package/dist/{Tooltip-Bo30Qf34.js → Tooltip-CzRs24i2.js} +23 -19
  16. package/dist/{UserOptions-Cgrlu96K.js → UserOptions-RZkXTOCa.js} +2 -2
  17. package/dist/{dom-to-png-SVXVB8J4.js → dom-to-png-CV2fR0EQ.js} +1 -1
  18. package/dist/{img-DJTFe-dE.js → img-B7ogJ4e0.js} +1 -1
  19. package/dist/{index-DFSXaw69.js → index-CJ_8wwwn.js} +1594 -1216
  20. package/dist/{pdf-D-ie2h2J.js → pdf-set5F9CM.js} +1 -1
  21. package/dist/style.css +1 -1
  22. package/dist/types/vue-data-ui.d.cts +324 -14
  23. package/dist/types/vue-data-ui.d.ts +324 -14
  24. package/dist/useAutoSizeLabelsInsideViewbox-CyuM0n69.js +41 -0
  25. package/dist/{useNestedProp-CV3NndHa.js → useNestedProp-Co3NIfJz.js} +1 -1
  26. package/dist/{usePrinter-DXG9SdJr.js → usePrinter-Djgu-cC0.js} +2 -2
  27. package/dist/useTimeLabelCollider-CIsgDrl9.js +78 -0
  28. package/dist/{useTimeLabels-Mrr0jrpL.js → useTimeLabels-DkzmKfZn.js} +211 -152
  29. package/dist/{vue-data-ui-DhThPvS0.js → vue-data-ui-HYXpyDKV.js} +64 -64
  30. package/dist/vue-data-ui.js +30 -29
  31. package/dist/{vue-ui-3d-bar-C1M9fXQl.js → vue-ui-3d-bar-CT_YtMoO.js} +6 -6
  32. package/dist/{vue-ui-accordion-B-PjY4U8.js → vue-ui-accordion-3yBUN0ar.js} +3 -3
  33. package/dist/vue-ui-age-pyramid-FUsbvtyA.js +834 -0
  34. package/dist/{vue-ui-annotator-DauoYrzs.js → vue-ui-annotator-C4Z-9ldl.js} +2 -2
  35. package/dist/vue-ui-bullet-B1ALDthr.js +571 -0
  36. package/dist/vue-ui-candlestick-BuD3f7_o.js +999 -0
  37. package/dist/{vue-ui-carousel-table-B7i9TvuL.js → vue-ui-carousel-table-Dm_FdAF0.js} +4 -4
  38. package/dist/{vue-ui-chestnut-D9HL_oAu.js → vue-ui-chestnut-WTwQvrY9.js} +5 -5
  39. package/dist/{vue-ui-chord-BaEQ4_bQ.js → vue-ui-chord-CPVmSnYG.js} +8 -8
  40. package/dist/{vue-ui-circle-pack-DumySU9s.js → vue-ui-circle-pack-Bc8bJtl0.js} +26 -26
  41. package/dist/{vue-ui-cursor-D-88A6ue.js → vue-ui-cursor-DfZVsgB6.js} +2 -2
  42. package/dist/{vue-ui-dashboard-Br7MlswR.js → vue-ui-dashboard-BP5AhItc.js} +62 -62
  43. package/dist/{vue-ui-digits-BMb2ZxN9.js → vue-ui-digits-FvXrM2xK.js} +2 -2
  44. package/dist/{vue-ui-donut-NZIGKCYr.js → vue-ui-donut-3JmvHI0A.js} +401 -375
  45. package/dist/vue-ui-donut-evolution-DiBD970y.js +1075 -0
  46. package/dist/{vue-ui-dumbbell-B7jEqxUu.js → vue-ui-dumbbell-BiD393o3.js} +7 -7
  47. package/dist/vue-ui-flow-DbdQR23z.js +841 -0
  48. package/dist/{vue-ui-funnel-BRfQjCk6.js → vue-ui-funnel-DByaDRM7.js} +6 -6
  49. package/dist/{vue-ui-galaxy-u0oNgjDP.js → vue-ui-galaxy-C4Al6xQj.js} +60 -58
  50. package/dist/vue-ui-gauge-DjUtEfNU.js +791 -0
  51. package/dist/{vue-ui-gizmo-6QSDxdTp.js → vue-ui-gizmo-CzrxRz6L.js} +3 -3
  52. package/dist/vue-ui-heatmap-HVYUxTOT.js +1078 -0
  53. package/dist/vue-ui-history-plot-DXSpSL4A.js +1073 -0
  54. package/dist/{vue-ui-kpi-DwOX2xG0.js → vue-ui-kpi-DU8bOzeM.js} +3 -3
  55. package/dist/{vue-ui-mini-loader-CrAhBt4w.js → vue-ui-mini-loader-E4KhKAQz.js} +2 -2
  56. package/dist/{vue-ui-molecule-DVPFCYdv.js → vue-ui-molecule-DrFrNbBj.js} +46 -44
  57. package/dist/{vue-ui-mood-radar-BPCedEDi.js → vue-ui-mood-radar-Cf_2QCYC.js} +7 -7
  58. package/dist/vue-ui-nested-donuts-BnA1KtIt.js +1286 -0
  59. package/dist/vue-ui-onion-B84CPvyH.js +776 -0
  60. package/dist/vue-ui-parallel-coordinate-plot-D4Ct2cvP.js +915 -0
  61. package/dist/{vue-ui-quadrant-CRR0XJzp.js → vue-ui-quadrant-8ksd3FSu.js} +59 -57
  62. package/dist/vue-ui-quick-chart-BY8Kd1LO.js +1761 -0
  63. package/dist/{vue-ui-radar-Fxk4Nq3_.js → vue-ui-radar-BUQaHh0L.js} +12 -10
  64. package/dist/{vue-ui-rating-EwwvsCi3.js → vue-ui-rating-Cn1_Hn2b.js} +2 -2
  65. package/dist/{vue-ui-relation-circle-DB7plTEJ.js → vue-ui-relation-circle-DPKDfjYx.js} +6 -6
  66. package/dist/vue-ui-ridgeline-zvRHpo_N.js +1153 -0
  67. package/dist/vue-ui-rings-Tw1dHWHH.js +728 -0
  68. package/dist/vue-ui-scatter-8LZZMVhD.js +1178 -0
  69. package/dist/{vue-ui-skeleton-1OErZL6t.js → vue-ui-skeleton-DVxUvega.js} +3 -3
  70. package/dist/{vue-ui-smiley-C_8dvJDX.js → vue-ui-smiley-DJTTUjT_.js} +2 -2
  71. package/dist/{vue-ui-spark-trend-Ds3apeYN.js → vue-ui-spark-trend-Dsku4oGR.js} +6 -6
  72. package/dist/{vue-ui-sparkbar-NpyQVY-J.js → vue-ui-sparkbar-Br_fLEOr.js} +3 -3
  73. package/dist/{vue-ui-sparkgauge-BYHhBxke.js → vue-ui-sparkgauge-DSBJsCu3.js} +3 -3
  74. package/dist/{vue-ui-sparkhistogram-DFbQ-g2X.js → vue-ui-sparkhistogram-BX6SXzWN.js} +4 -4
  75. package/dist/vue-ui-sparkline-DgVH0bCY.js +489 -0
  76. package/dist/{vue-ui-sparkstackbar-BxMFKBBt.js → vue-ui-sparkstackbar-D-KbMYmo.js} +55 -53
  77. package/dist/vue-ui-stackbar-DWOm3J6d.js +1370 -0
  78. package/dist/{vue-ui-strip-plot-Crml8nCi.js → vue-ui-strip-plot-Bi4PWqJG.js} +30 -28
  79. package/dist/{vue-ui-table-C3lxyo1m.js → vue-ui-table-Ac5mvoTX.js} +11 -11
  80. package/dist/{vue-ui-table-heatmap-DYgu1wOK.js → vue-ui-table-heatmap-DtN-NEea.js} +5 -5
  81. package/dist/{vue-ui-table-sparkline-B_eROo0E.js → vue-ui-table-sparkline-Dm9VtfGM.js} +4 -4
  82. package/dist/{vue-ui-thermometer-Dn8-68zJ.js → vue-ui-thermometer-CKzsQxea.js} +6 -6
  83. package/dist/{vue-ui-timer-CREgpYVZ.js → vue-ui-timer-CRuQHU_f.js} +5 -5
  84. package/dist/vue-ui-tiremarks-0mS5yMkd.js +406 -0
  85. package/dist/vue-ui-treemap-BkU919fN.js +1035 -0
  86. package/dist/{vue-ui-vertical-bar-BYtbI3Eq.js → vue-ui-vertical-bar-ByPC7JmK.js} +322 -306
  87. package/dist/vue-ui-waffle-GWXnMKeQ.js +910 -0
  88. package/dist/{vue-ui-wheel-CUgfhL9p.js → vue-ui-wheel-PP-IY2XR.js} +6 -6
  89. package/dist/{vue-ui-word-cloud-DBJueUIP.js → vue-ui-word-cloud-Cc5c_8Z1.js} +12 -10
  90. package/dist/{vue-ui-world-DR6IEkat.js → vue-ui-world-B1zbPwk3.js} +11 -9
  91. package/dist/vue-ui-xy-D7Sx_bPF.js +3760 -0
  92. package/dist/{vue-ui-xy-canvas-C2k2SOVa.js → vue-ui-xy-canvas-sA_OEIMw.js} +265 -264
  93. package/package.json +1 -1
  94. package/dist/Slicer-Bba4UfIm.js +0 -577
  95. package/dist/vue-ui-age-pyramid-Bt0KEjza.js +0 -746
  96. package/dist/vue-ui-bullet-CWxvbrat.js +0 -513
  97. package/dist/vue-ui-candlestick-BmYaA6wk.js +0 -873
  98. package/dist/vue-ui-donut-evolution-D38U9QxB.js +0 -903
  99. package/dist/vue-ui-flow-k4KjXCTn.js +0 -765
  100. package/dist/vue-ui-gauge-DUpSrOgm.js +0 -738
  101. package/dist/vue-ui-heatmap-CqqXcJ8F.js +0 -877
  102. package/dist/vue-ui-history-plot-BiC39PhQ.js +0 -924
  103. package/dist/vue-ui-nested-donuts-C2kl6581.js +0 -1177
  104. package/dist/vue-ui-onion-Dk3OUNGJ.js +0 -701
  105. package/dist/vue-ui-parallel-coordinate-plot-B-r0h3BM.js +0 -807
  106. package/dist/vue-ui-quick-chart-CS-Uk49C.js +0 -1612
  107. package/dist/vue-ui-ridgeline-D55xotqc.js +0 -969
  108. package/dist/vue-ui-rings-D6gr6DBO.js +0 -685
  109. package/dist/vue-ui-scatter-hFI2YfFt.js +0 -1045
  110. package/dist/vue-ui-sparkline-CiVlvGOI.js +0 -459
  111. package/dist/vue-ui-stackbar-DHsxlaNI.js +0 -1207
  112. package/dist/vue-ui-tiremarks-DrFKdGSj.js +0 -358
  113. package/dist/vue-ui-treemap-C1m-cAh0.js +0 -965
  114. package/dist/vue-ui-waffle-Cr0JqMuU.js +0 -863
  115. package/dist/vue-ui-xy-BCFKGTws.js +0 -2980
@@ -1,10 +1,10 @@
1
- import { ref as s, onMounted as S, onUnmounted as g, watch as p, nextTick as k, computed as x, createBlock as $, openBlock as h, Teleport as C, createElementBlock as F, createCommentVNode as B, normalizeStyle as w, normalizeClass as N, renderSlot as m, createElementVNode as Y } from "vue";
2
- import { s as z } from "./index-DFSXaw69.js";
3
- function M({ tooltip: e, chart: a, clientPosition: t, positionPreference: d = "center", defaultOffsetY: c = 24, blockShiftY: u = !1 }) {
4
- const o = s(0), i = s(c);
1
+ import { ref as d, onMounted as k, onUnmounted as g, watch as p, nextTick as F, computed as x, createBlock as S, openBlock as h, Teleport as $, createElementBlock as B, createCommentVNode as C, normalizeStyle as w, normalizeClass as N, renderSlot as m, createElementVNode as Y } from "vue";
2
+ import { s as z } from "./index-CJ_8wwwn.js";
3
+ function M({ tooltip: e, chart: a, clientPosition: t, positionPreference: s = "center", defaultOffsetY: c = 24, blockShiftY: u = !1 }) {
4
+ const o = d(0), i = d(c);
5
5
  if (e && a) {
6
6
  const { width: n, height: v } = e.getBoundingClientRect(), { right: f, left: l, bottom: r } = a.getBoundingClientRect();
7
- d === "center" && (t.x + n / 2 > f ? o.value = -n + (f - t.x) : t.x - n / 2 < l ? o.value = -n + (n - (t.x - l)) : o.value = -n / 2), d === "right" && (t.x + n > f ? o.value = -n + (f - t.x) : o.value = 0), d === "left" && (t.x < l + n ? o.value = -n + (n - (t.x - l)) : o.value = -n), t.y + v > r && !u && (i.value = -v - c);
7
+ s === "center" && (t.x + n / 2 > f ? o.value = -n + (f - t.x) : t.x - n / 2 < l ? o.value = -n + (n - (t.x - l)) : o.value = -n / 2), s === "right" && (t.x + n > f ? o.value = -n + (f - t.x) : o.value = 0), s === "left" && (t.x < l + n ? o.value = -n + (n - (t.x - l)) : o.value = -n), t.y + v > r && !u && (i.value = -v - c);
8
8
  }
9
9
  return {
10
10
  top: t.y + i.value,
@@ -12,10 +12,10 @@ function M({ tooltip: e, chart: a, clientPosition: t, positionPreference: d = "c
12
12
  };
13
13
  }
14
14
  function T(e, a, t) {
15
- S(() => e.addEventListener(a, t)), g(() => e.removeEventListener(a, t));
15
+ k(() => e.addEventListener(a, t)), g(() => e.removeEventListener(a, t));
16
16
  }
17
17
  function E() {
18
- const e = s(0), a = s(0);
18
+ const e = d(0), a = d(0);
19
19
  return T(window, "mousemove", (t) => {
20
20
  e.value = t.clientX, a.value = t.clientY;
21
21
  }), { x: e, y: a };
@@ -83,27 +83,31 @@ const L = ["aria-hidden"], O = ["innerHTML"], b = 0.18, A = {
83
83
  type: Boolean,
84
84
  default: !1
85
85
  },
86
- disableSmoothing: {
86
+ smooth: {
87
87
  type: Boolean,
88
- default: !1
88
+ default: !0
89
+ },
90
+ backdropFilter: {
91
+ type: Boolean,
92
+ default: !0
89
93
  }
90
94
  },
91
95
  setup(e) {
92
- const a = e, t = s(null), { x: d, y: c } = E(a.parent), u = s({ x: 0, y: 0 }), o = s({ x: 0, y: 0 });
96
+ const a = e, t = d(null), { x: s, y: c } = E(a.parent), u = d({ x: 0, y: 0 }), o = d({ x: 0, y: 0 });
93
97
  let i = null;
94
98
  function n() {
95
- if (a.disableSmoothing) {
99
+ if (!a.smooth) {
96
100
  o.value.x = u.value.x, o.value.y = u.value.y;
97
101
  return;
98
102
  }
99
103
  o.value.x += (u.value.x - o.value.x) * b, o.value.y += (u.value.y - o.value.y) * b, i = requestAnimationFrame(n);
100
104
  }
101
- p([d, c], ([l, r]) => {
102
- u.value.x = l, u.value.y = r, a.disableSmoothing && (o.value.x = l, o.value.y = r);
105
+ p([s, c], ([l, r]) => {
106
+ u.value.x = l, u.value.y = r, a.smooth || (o.value.x = l, o.value.y = r);
103
107
  }), p(() => a.show, async (l) => {
104
108
  if (l) {
105
- const r = d.value, y = c.value;
106
- u.value.x = r, u.value.y = y, o.value.x = r, o.value.y = y, await k(), i || n();
109
+ const r = s.value, y = c.value;
110
+ u.value.x = r, u.value.y = y, o.value.x = r, o.value.y = y, await F(), i || n();
107
111
  } else
108
112
  i && (cancelAnimationFrame(i), i = null);
109
113
  }), g(() => {
@@ -123,17 +127,17 @@ const L = ["aria-hidden"], O = ["innerHTML"], b = 0.18, A = {
123
127
  left: Math.round(l.left)
124
128
  };
125
129
  }), f = x(() => z(a.backgroundColor, a.backgroundOpacity));
126
- return (l, r) => (h(), $(C, {
130
+ return (l, r) => (h(), S($, {
127
131
  to: e.isFullscreen ? e.parent : "body"
128
132
  }, [
129
- e.show ? (h(), F("div", {
133
+ e.show ? (h(), B("div", {
130
134
  key: 0,
131
135
  ref_key: "tooltip",
132
136
  ref: t,
133
137
  role: "tooltip",
134
138
  "aria-hidden": !e.show,
135
139
  "aria-live": "polite",
136
- class: N({ "vue-data-ui-custom-tooltip": e.isCustom, "vue-data-ui-tooltip": !e.isCustom }),
140
+ class: N({ "vue-data-ui-custom-tooltip": e.isCustom, "vue-data-ui-tooltip": !e.isCustom, "vue-data-ui-tooltip-backdrop": e.backdropFilter }),
137
141
  style: w(`
138
142
  pointer-events:none;
139
143
  top:${v.value.top}px;
@@ -148,7 +152,7 @@ const L = ["aria-hidden"], O = ["innerHTML"], b = 0.18, A = {
148
152
  m(l.$slots, "default"),
149
153
  Y("div", { innerHTML: e.content }, null, 8, O),
150
154
  m(l.$slots, "tooltip-after")
151
- ], 14, L)) : B("", !0)
155
+ ], 14, L)) : C("", !0)
152
156
  ], 8, ["to"]));
153
157
  }
154
158
  };
@@ -1,7 +1,7 @@
1
1
  import { ref as m, computed as w, onMounted as Q, onBeforeUnmount as Y, withDirectives as Z, createElementBlock as s, openBlock as o, normalizeStyle as v, createElementVNode as X, withKeys as p, withModifiers as _, renderSlot as d, normalizeProps as S, guardReactiveProps as ee, createVNode as te, normalizeClass as k, createCommentVNode as a, Fragment as $, createBlock as f, toDisplayString as c, mergeProps as T, unref as oe } from "vue";
2
2
  import { v as ne } from "./vClickOutside-C6WiFswA.js";
3
- import r from "./BaseIcon-C-MP5EHV.js";
4
- import z from "./img-DJTFe-dE.js";
3
+ import r from "./BaseIcon-D3lVmh4q.js";
4
+ import z from "./img-B7ogJ4e0.js";
5
5
  import { _ as le } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
6
  const ie = ["title"], se = ["data-open"], ae = {
7
7
  __name: "UserOptions",
@@ -1,4 +1,4 @@
1
- import { X as x } from "./index-DFSXaw69.js";
1
+ import { X as x } from "./index-CJ_8wwwn.js";
2
2
  async function F(n) {
3
3
  const i = n.querySelectorAll("img"), s = Array.from(i).map((t) => new Promise((o) => {
4
4
  if (!t.src || t.src.startsWith("data:")) return o();
@@ -1,4 +1,4 @@
1
- import { d as n } from "./dom-to-png-SVXVB8J4.js";
1
+ import { d as n } from "./dom-to-png-CV2fR0EQ.js";
2
2
  async function u({ domElement: t, fileName: c, format: f = "png", scale: i = 2, base64: a = !1, img: g = !1 }) {
3
3
  if (!t) return Promise.reject("No element provided");
4
4
  const h = typeof navigator < "u" && /^((?!chrome|android).)*safari/i.test(navigator.userAgent);