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

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 (116) hide show
  1. package/dist/{Arrow-6c56sGJ3.js → Arrow-BMGju2_w.js} +1 -1
  2. package/dist/{BaseDraggableDialog-y-BEzdTM.js → BaseDraggableDialog-ttBbgyGA.js} +2 -2
  3. package/dist/{BaseIcon-C-MP5EHV.js → BaseIcon-DBAQZ9vX.js} +1 -1
  4. package/dist/{useLoading-Bt5Doa8m.js → BaseScanner-DIK2NTdp.js} +11 -11
  5. package/dist/{ColorPicker-P7R8vBej.js → ColorPicker-BzrG0PPC.js} +2 -2
  6. package/dist/{DataTable-DD2pZIgh.js → DataTable-CdD7tKpP.js} +2 -2
  7. package/dist/{Legend-DZZeyx5j.js → Legend-BwFrIr1T.js} +2 -2
  8. package/dist/{NonSvgPenAndPaper-uETwt6yC.js → NonSvgPenAndPaper-7fQv8_3z.js} +3 -3
  9. package/dist/{PackageVersion-D3jqYZS6.js → PackageVersion-DQcP7Cwd.js} +1 -1
  10. package/dist/{PenAndPaper-Dy9zUXnw.js → PenAndPaper-Bf9A4qL1.js} +3 -3
  11. package/dist/{Shape-CFp_TwS5.js → Shape-DOpTDQGX.js} +43 -37
  12. package/dist/Slicer-CU5E8-Ee.js +602 -0
  13. package/dist/{SparkTooltip-BMV9aNLi.js → SparkTooltip-DlMDmeF6.js} +7 -7
  14. package/dist/{Title-zqtIOYc5.js → Title-3ACEciQv.js} +1 -1
  15. package/dist/{Tooltip-Bo30Qf34.js → Tooltip-D4AvFVyr.js} +23 -19
  16. package/dist/{UserOptions-Cgrlu96K.js → UserOptions-oB62jZT7.js} +2 -2
  17. package/dist/{dom-to-png-SVXVB8J4.js → dom-to-png-DYbPVI5z.js} +1 -1
  18. package/dist/{img-DJTFe-dE.js → img-Ck7tqm17.js} +1 -1
  19. package/dist/{index-DFSXaw69.js → index-DJKz3EWJ.js} +1598 -1216
  20. package/dist/{pdf-D-ie2h2J.js → pdf-p5i09caM.js} +1 -1
  21. package/dist/style.css +1 -1
  22. package/dist/types/vue-data-ui.d.cts +326 -14
  23. package/dist/types/vue-data-ui.d.ts +326 -14
  24. package/dist/useAutoSizeLabelsInsideViewbox-Cz_aX3xn.js +41 -0
  25. package/dist/{useNestedProp-CV3NndHa.js → useNestedProp-DoTKbeYP.js} +1 -1
  26. package/dist/{usePrinter-DXG9SdJr.js → usePrinter-Iy7FxhyL.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-qsd4viNh.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-B4Yzjkm9.js} +6 -6
  32. package/dist/{vue-ui-accordion-B-PjY4U8.js → vue-ui-accordion-C0GWT8Ql.js} +3 -3
  33. package/dist/vue-ui-age-pyramid-CpM6j4zn.js +834 -0
  34. package/dist/{vue-ui-annotator-DauoYrzs.js → vue-ui-annotator-BiMqF0-h.js} +2 -2
  35. package/dist/vue-ui-bullet-Ceut2XIO.js +571 -0
  36. package/dist/vue-ui-candlestick-BuTIRR3U.js +999 -0
  37. package/dist/{vue-ui-carousel-table-B7i9TvuL.js → vue-ui-carousel-table-Ci_1ZoKD.js} +4 -4
  38. package/dist/{vue-ui-chestnut-D9HL_oAu.js → vue-ui-chestnut-Cuf0fg9v.js} +5 -5
  39. package/dist/{vue-ui-chord-BaEQ4_bQ.js → vue-ui-chord-BVRIWOiZ.js} +8 -8
  40. package/dist/{vue-ui-circle-pack-DumySU9s.js → vue-ui-circle-pack-BR5cI0BK.js} +26 -26
  41. package/dist/{vue-ui-cursor-D-88A6ue.js → vue-ui-cursor-DoIpdlLl.js} +2 -2
  42. package/dist/{vue-ui-dashboard-Br7MlswR.js → vue-ui-dashboard-BjBuMTeM.js} +62 -62
  43. package/dist/{vue-ui-digits-BMb2ZxN9.js → vue-ui-digits-C_JqOPx0.js} +2 -2
  44. package/dist/{vue-ui-donut-NZIGKCYr.js → vue-ui-donut-DXUQ0UP0.js} +401 -375
  45. package/dist/vue-ui-donut-evolution-BR6Xdy54.js +1075 -0
  46. package/dist/{vue-ui-dumbbell-B7jEqxUu.js → vue-ui-dumbbell-_JfspQwX.js} +7 -7
  47. package/dist/vue-ui-flow-BEnIvnRQ.js +841 -0
  48. package/dist/{vue-ui-funnel-BRfQjCk6.js → vue-ui-funnel-CyuziHMi.js} +6 -6
  49. package/dist/{vue-ui-galaxy-u0oNgjDP.js → vue-ui-galaxy-DcWvmZ6n.js} +60 -58
  50. package/dist/vue-ui-gauge-oN1N7b28.js +791 -0
  51. package/dist/{vue-ui-gizmo-6QSDxdTp.js → vue-ui-gizmo-Mqwbrfln.js} +3 -3
  52. package/dist/vue-ui-heatmap-Dhjk-00-.js +1078 -0
  53. package/dist/vue-ui-history-plot-BSJQ35vE.js +1073 -0
  54. package/dist/{vue-ui-kpi-DwOX2xG0.js → vue-ui-kpi-D0rfVSKA.js} +3 -3
  55. package/dist/{vue-ui-mini-loader-CrAhBt4w.js → vue-ui-mini-loader-Jp6LdxDx.js} +2 -2
  56. package/dist/{vue-ui-molecule-DVPFCYdv.js → vue-ui-molecule-CSXuV9bG.js} +46 -44
  57. package/dist/{vue-ui-mood-radar-BPCedEDi.js → vue-ui-mood-radar-im8oGB8C.js} +7 -7
  58. package/dist/vue-ui-nested-donuts-DnLmjykV.js +1286 -0
  59. package/dist/vue-ui-onion-Bk4zJ_9o.js +776 -0
  60. package/dist/vue-ui-parallel-coordinate-plot-C2595LWs.js +915 -0
  61. package/dist/{vue-ui-quadrant-CRR0XJzp.js → vue-ui-quadrant-BmJdsTsT.js} +59 -57
  62. package/dist/vue-ui-quick-chart-D9TOJnI3.js +1761 -0
  63. package/dist/{vue-ui-radar-Fxk4Nq3_.js → vue-ui-radar-DTm1lF8I.js} +12 -10
  64. package/dist/{vue-ui-rating-EwwvsCi3.js → vue-ui-rating-BdMFk64J.js} +2 -2
  65. package/dist/{vue-ui-relation-circle-DB7plTEJ.js → vue-ui-relation-circle-CPJ8D3Kg.js} +6 -6
  66. package/dist/vue-ui-ridgeline-C4mCCqFj.js +1153 -0
  67. package/dist/vue-ui-rings-CAXGp0RS.js +728 -0
  68. package/dist/vue-ui-scatter-DgFXq8bL.js +1178 -0
  69. package/dist/{vue-ui-skeleton-1OErZL6t.js → vue-ui-skeleton-B-rmcfy0.js} +3 -3
  70. package/dist/{vue-ui-smiley-C_8dvJDX.js → vue-ui-smiley-r_P2OEcO.js} +2 -2
  71. package/dist/{vue-ui-spark-trend-Ds3apeYN.js → vue-ui-spark-trend-DQDvNfRA.js} +6 -6
  72. package/dist/{vue-ui-sparkbar-NpyQVY-J.js → vue-ui-sparkbar-68lw7dCX.js} +3 -3
  73. package/dist/{vue-ui-sparkgauge-BYHhBxke.js → vue-ui-sparkgauge-BymOwBcd.js} +3 -3
  74. package/dist/{vue-ui-sparkhistogram-DFbQ-g2X.js → vue-ui-sparkhistogram-q1Yk5jCv.js} +4 -4
  75. package/dist/vue-ui-sparkline-D8DYc1V7.js +489 -0
  76. package/dist/{vue-ui-sparkstackbar-BxMFKBBt.js → vue-ui-sparkstackbar-DOGkUFjJ.js} +55 -53
  77. package/dist/vue-ui-stackbar-7Xj5uhuM.js +1370 -0
  78. package/dist/{vue-ui-strip-plot-Crml8nCi.js → vue-ui-strip-plot-CAnsn0VI.js} +30 -28
  79. package/dist/{vue-ui-table-C3lxyo1m.js → vue-ui-table-D3CUOPTQ.js} +11 -11
  80. package/dist/{vue-ui-table-heatmap-DYgu1wOK.js → vue-ui-table-heatmap-BZVJgTWg.js} +5 -5
  81. package/dist/{vue-ui-table-sparkline-B_eROo0E.js → vue-ui-table-sparkline-Du1BvydE.js} +4 -4
  82. package/dist/{vue-ui-thermometer-Dn8-68zJ.js → vue-ui-thermometer-CcRtjSqY.js} +6 -6
  83. package/dist/{vue-ui-timer-CREgpYVZ.js → vue-ui-timer-DacMmmiu.js} +5 -5
  84. package/dist/vue-ui-tiremarks-BtYB3Ynv.js +406 -0
  85. package/dist/vue-ui-treemap-ZpdTWlqY.js +1035 -0
  86. package/dist/{vue-ui-vertical-bar-BYtbI3Eq.js → vue-ui-vertical-bar-BTk4W7w-.js} +322 -306
  87. package/dist/vue-ui-waffle-Fa9tb_rV.js +910 -0
  88. package/dist/vue-ui-wheel-4Z4eLQhc.js +379 -0
  89. package/dist/{vue-ui-word-cloud-DBJueUIP.js → vue-ui-word-cloud-DoaJFhqN.js} +12 -10
  90. package/dist/{vue-ui-world-DR6IEkat.js → vue-ui-world-Dz9YUEEG.js} +11 -9
  91. package/dist/vue-ui-xy-D5RVw5D0.js +3760 -0
  92. package/dist/{vue-ui-xy-canvas-C2k2SOVa.js → vue-ui-xy-canvas-DzDX5ysJ.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-wheel-CUgfhL9p.js +0 -352
  116. package/dist/vue-ui-xy-BCFKGTws.js +0 -2980
@@ -1,9 +1,9 @@
1
- import { defineAsyncComponent as V, useSlots as pe, onMounted as G, computed as b, ref as d, watch as q, createElementBlock as r, openBlock as s, normalizeStyle as v, createCommentVNode as y, createBlock as ge, createVNode as H, createElementVNode as p, toDisplayString as C, unref as m, Fragment as x, renderList as $, normalizeClass as D, withCtx as X, renderSlot as T, normalizeProps as J, guardReactiveProps as K } from "vue";
2
- import { u as fe, c as Q, t as he, p as i, a as ye, d as F, b as me, o as be, e as Z, g as ke, f as U, X as _e, s as we, w as Ce, i as ee, x as xe } from "./index-DFSXaw69.js";
3
- import { u as te } from "./useNestedProp-CV3NndHa.js";
1
+ import { defineAsyncComponent as V, useSlots as pe, onMounted as G, computed as k, ref as d, watch as q, createElementBlock as r, openBlock as s, normalizeStyle as v, createCommentVNode as y, createBlock as ge, createVNode as H, createElementVNode as p, toDisplayString as C, unref as m, Fragment as x, renderList as $, normalizeClass as A, withCtx as X, renderSlot as T, normalizeProps as J, guardReactiveProps as K } from "vue";
2
+ import { u as he, c as Q, t as fe, p as i, a as ye, d as D, b as me, o as ke, e as Z, g as be, f as U, X as _e, s as we, x as Ce, i as ee, y as xe } from "./index-DJKz3EWJ.js";
3
+ import { u as te } from "./useNestedProp-DoTKbeYP.js";
4
4
  import { u as $e } from "./useChartAccessibility-9icAAmYg.js";
5
5
  import { _ as Se } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
- const Pe = ["xmlns", "viewBox"], ze = ["id"], Ae = ["stop-color"], De = ["stop-color"], Fe = ["stop-color"], Ne = {
6
+ const Fe = ["xmlns", "viewBox"], Pe = ["id"], ze = ["stop-color"], Ae = ["stop-color"], De = ["stop-color"], Ne = {
7
7
  id: "stackPill",
8
8
  clipPathUnits: "objectBoundingBox"
9
9
  }, Le = ["fill"], Be = {
@@ -31,11 +31,11 @@ const Pe = ["xmlns", "viewBox"], ze = ["id"], Ae = ["stop-color"], De = ["stop-c
31
31
  },
32
32
  emits: ["selectDatapoint"],
33
33
  setup(le, { emit: oe }) {
34
- const ae = V(() => import("./PackageVersion-D3jqYZS6.js")), se = V(() => import("./vue-ui-skeleton-1OErZL6t.js")), re = V(() => import("./Tooltip-Bo30Qf34.js")), { vue_ui_sparkstackbar: ne } = fe(), u = le, ue = pe();
34
+ const ae = V(() => import("./PackageVersion-DQcP7Cwd.js")), se = V(() => import("./vue-ui-skeleton-B-rmcfy0.js")), re = V(() => import("./Tooltip-D4AvFVyr.js")), { vue_ui_sparkstackbar: ne } = he(), u = le, ue = pe();
35
35
  G(() => {
36
36
  ue["chart-background"] && console.warn("VueUiSparkStackbar does not support the #chart-background slot.");
37
37
  });
38
- const j = b(() => !!u.dataset && u.dataset.length), E = d(null), M = d(Q()), N = d(!1), L = d(""), e = b({
38
+ const j = k(() => !!u.dataset && u.dataset.length), E = d(null), M = d(Q()), N = d(!1), L = d(""), e = k({
39
39
  get: () => R(),
40
40
  set: (t) => t
41
41
  }), { svgRef: ie } = $e({ config: e.value.style.title });
@@ -49,47 +49,47 @@ const Pe = ["xmlns", "viewBox"], ze = ["id"], Ae = ["stop-color"], De = ["stop-c
49
49
  userConfig: ye.vue_ui_sparkstackbar[t.theme] || u.config,
50
50
  defaultConfig: t
51
51
  }),
52
- customPalette: he[t.theme] || i
52
+ customPalette: fe[t.theme] || i
53
53
  } : t;
54
54
  }
55
55
  q(() => u.config, (t) => {
56
56
  e.value = R(), I();
57
57
  }, { deep: !0 }), q(() => u.dataset, (t) => {
58
- k.value = u.dataset.map((a, l) => ({
58
+ b.value = u.dataset.map((a, l) => ({
59
59
  ...a,
60
- color: a.color ? F(a.color) : S.value[l] || i[l] || i[l % i.length]
60
+ color: a.color ? D(a.color) : S.value[l] || i[l] || i[l % i.length]
61
61
  }));
62
62
  }, { deep: !0 });
63
- const S = b(() => me(e.value.customPalette)), k = d(u.dataset.map((t, a) => ({
63
+ const S = k(() => me(e.value.customPalette)), b = d(u.dataset.map((t, a) => ({
64
64
  ...t,
65
65
  value: e.value.style.animation.show ? 0 : t.value || 0,
66
- color: t.color ? F(t.color) : S.value[a] || i[a] || i[a % i.length]
66
+ color: t.color ? D(t.color) : S.value[a] || i[a] || i[a % i.length]
67
67
  }))), w = d(!0);
68
68
  G(() => {
69
69
  if (I(), e.value.style.animation.show) {
70
- let h = function() {
71
- o += l / t, o < l ? (k.value = k.value.map((n, c) => ({
70
+ let f = function() {
71
+ o += l / t, o < l ? (b.value = b.value.map((n, c) => ({
72
72
  ...n,
73
73
  value: n.value += a[c],
74
- color: n.color ? F(n.color) : S.value[c] || i[c] || i[c % i.length]
75
- })), requestAnimationFrame(h)) : (w.value = !1, k.value = u.dataset.map((n, c) => ({
74
+ color: n.color ? D(n.color) : S.value[c] || i[c] || i[c % i.length]
75
+ })), requestAnimationFrame(f)) : (w.value = !1, b.value = u.dataset.map((n, c) => ({
76
76
  ...n,
77
77
  value: n.value || 0,
78
- color: n.color ? F(n.color) : S.value[c] || i[c] || i[c % i.length],
78
+ color: n.color ? D(n.color) : S.value[c] || i[c] || i[c % i.length],
79
79
  id: Q()
80
80
  })));
81
81
  };
82
82
  const t = e.value.style.animation.animationFrames, a = u.dataset.map((n, c) => n.value / t), l = u.dataset.map((n) => n.value || 0).reduce((n, c) => n + c, 0);
83
83
  let o = 0;
84
- w.value = !0, h();
84
+ w.value = !0, f();
85
85
  }
86
86
  });
87
87
  function I() {
88
- be(u.dataset) ? Z({
88
+ ke(u.dataset) ? Z({
89
89
  componentName: "VueUiSparkStackbar",
90
90
  type: "dataset"
91
91
  }) : u.dataset.forEach((t, a) => {
92
- ke({
92
+ be({
93
93
  datasetObject: t,
94
94
  requiredAttributes: ["name", "value"]
95
95
  }).forEach((l) => {
@@ -105,24 +105,24 @@ const Pe = ["xmlns", "viewBox"], ze = ["id"], Ae = ["stop-color"], De = ["stop-c
105
105
  const g = d({
106
106
  width: 500,
107
107
  height: 16
108
- }), f = d([]), W = b(() => u.dataset.map((t) => t.value || 0).filter((t, a) => !f.value.includes(a)).reduce((t, a) => t + a, 0)), P = b(() => k.value.map((t, a) => {
109
- const l = t.value || 0, o = l / W.value, h = isNaN(o) ? 0 : o, n = h * g.value.width;
108
+ }), h = d([]), W = k(() => u.dataset.map((t) => t.value || 0).filter((t, a) => !h.value.includes(a)).reduce((t, a) => t + a, 0)), F = k(() => b.value.map((t, a) => {
109
+ const l = t.value || 0, o = l / W.value, f = isNaN(o) ? 0 : o, n = f * g.value.width;
110
110
  return {
111
111
  ...t,
112
112
  value: l,
113
- proportion: h,
113
+ proportion: f,
114
114
  width: n,
115
115
  proportionLabel: U({
116
- v: h * 100,
116
+ v: f * 100,
117
117
  s: "%",
118
118
  r: e.value.style.legend.percentage.rounding
119
119
  })
120
120
  };
121
- })), B = b(() => P.value.filter((t, a) => !f.value.includes(a)));
121
+ })), B = k(() => F.value.filter((t, a) => !h.value.includes(a)));
122
122
  function ce(t) {
123
- f.value.includes(t) ? f.value = f.value.filter((a) => a !== t) : f.value.length < k.value.length - 1 && f.value.push(t);
123
+ h.value.includes(t) ? h.value = h.value.filter((a) => a !== t) : h.value.length < b.value.length - 1 && h.value.push(t);
124
124
  }
125
- const z = b(() => {
125
+ const P = k(() => {
126
126
  let t = 0;
127
127
  const a = [];
128
128
  for (let l = 0; l < B.value.length; l += 1)
@@ -135,25 +135,25 @@ const Pe = ["xmlns", "viewBox"], ze = ["id"], Ae = ["stop-color"], De = ["stop-c
135
135
  function Y(t, a) {
136
136
  de("selectDatapoint", { datapoint: t, index: a });
137
137
  }
138
- const O = d(null), A = d(!1), _ = d(null);
138
+ const O = d(null), z = d(!1), _ = d(null);
139
139
  function ve({ datapoint: t, seriesIndex: a }) {
140
140
  if (!e.value.style.tooltip.show)
141
141
  return;
142
- O.value = { datapoint: t, seriesIndex: a, config: e.value, series: P.value }, N.value = !0, _.value = a;
142
+ O.value = { datapoint: t, seriesIndex: a, config: e.value, series: F.value }, N.value = !0, _.value = a;
143
143
  const l = e.value.style.tooltip.customFormat;
144
144
  if (xe(l))
145
145
  try {
146
146
  const o = l({
147
147
  seriesIndex: a,
148
148
  datapoint: t,
149
- series: P.value,
149
+ series: F.value,
150
150
  config: e.value
151
151
  });
152
- typeof o == "string" && (L.value = o, A.value = !0);
152
+ typeof o == "string" && (L.value = o, z.value = !0);
153
153
  } catch {
154
- console.warn("Custom format cannot be applied."), A.value = !1;
154
+ console.warn("Custom format cannot be applied."), z.value = !1;
155
155
  }
156
- if (!A.value) {
156
+ if (!z.value) {
157
157
  let o = "";
158
158
  o += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${t.name}</div>`, o += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${t.color}"/></svg>`, o += `<b>${t.proportionLabel}</b>`, o += `<span>(${ee(
159
159
  e.value.style.legend.value.formatter,
@@ -201,7 +201,7 @@ const Pe = ["xmlns", "viewBox"], ze = ["id"], Ae = ["stop-color"], De = ["stop-c
201
201
  }, [
202
202
  H(m(ae)),
203
203
  p("defs", null, [
204
- (s(!0), r(x, null, $(z.value, (l, o) => (s(), r("linearGradient", {
204
+ (s(!0), r(x, null, $(P.value, (l, o) => (s(), r("linearGradient", {
205
205
  key: `stack_gradient_${o}`,
206
206
  gradientTransform: "rotate(90)",
207
207
  id: `stack_gradient_${o}_${M.value}`
@@ -209,16 +209,16 @@ const Pe = ["xmlns", "viewBox"], ze = ["id"], Ae = ["stop-color"], De = ["stop-c
209
209
  p("stop", {
210
210
  offset: "0%",
211
211
  "stop-color": l.color
212
- }, null, 8, Ae),
212
+ }, null, 8, ze),
213
213
  p("stop", {
214
214
  offset: "50%",
215
215
  "stop-color": m(we)(m(Ce)(l.color, 0.05), 100 - e.value.style.bar.gradient.intensity)
216
- }, null, 8, De),
216
+ }, null, 8, Ae),
217
217
  p("stop", {
218
218
  offset: "100%",
219
219
  "stop-color": l.color
220
- }, null, 8, Fe)
221
- ], 8, ze))), 128)),
220
+ }, null, 8, De)
221
+ ], 8, Pe))), 128)),
222
222
  p("clipPath", Ne, [
223
223
  p("rect", {
224
224
  x: "0.005",
@@ -232,19 +232,19 @@ const Pe = ["xmlns", "viewBox"], ze = ["id"], Ae = ["stop-color"], De = ["stop-c
232
232
  ])
233
233
  ]),
234
234
  W.value > 0 ? (s(), r("g", Be, [
235
- (s(!0), r(x, null, $(z.value, (l, o) => (s(), r("rect", {
235
+ (s(!0), r(x, null, $(P.value, (l, o) => (s(), r("rect", {
236
236
  key: `stack_underlayer_${o}`,
237
237
  x: l.start,
238
238
  y: 0,
239
239
  width: l.width,
240
240
  height: g.value.height,
241
241
  fill: e.value.style.bar.gradient.underlayerColor,
242
- class: D({ animated: !w.value }),
242
+ class: A({ animated: !w.value }),
243
243
  style: v({
244
244
  opacity: _.value !== null && e.value.style.tooltip.show ? _.value === o ? 1 : 0.5 : 1
245
245
  })
246
246
  }, null, 14, Oe))), 128)),
247
- (s(!0), r(x, null, $(z.value, (l, o) => (s(), r("rect", {
247
+ (s(!0), r(x, null, $(P.value, (l, o) => (s(), r("rect", {
248
248
  key: `stack_${o}`,
249
249
  x: l.start,
250
250
  y: 0,
@@ -253,12 +253,12 @@ const Pe = ["xmlns", "viewBox"], ze = ["id"], Ae = ["stop-color"], De = ["stop-c
253
253
  fill: e.value.style.bar.gradient.show ? `url(#stack_gradient_${o}_${M.value})` : l.color,
254
254
  stroke: e.value.style.backgroundColor,
255
255
  "stroke-linecap": "round",
256
- class: D({ animated: !w.value }),
256
+ class: A({ animated: !w.value }),
257
257
  style: v({
258
258
  opacity: _.value !== null && e.value.style.tooltip.show ? _.value === o ? 1 : 0.5 : 1
259
259
  })
260
260
  }, null, 14, Ve))), 128)),
261
- (s(!0), r(x, null, $(z.value, (l, o) => (s(), r("rect", {
261
+ (s(!0), r(x, null, $(P.value, (l, o) => (s(), r("rect", {
262
262
  key: `stack_trap_${o}`,
263
263
  onClick: () => Y(l, o),
264
264
  x: l.start,
@@ -267,9 +267,9 @@ const Pe = ["xmlns", "viewBox"], ze = ["id"], Ae = ["stop-color"], De = ["stop-c
267
267
  height: g.value.height,
268
268
  fill: "transparent",
269
269
  stroke: "none",
270
- class: D({ animated: !w.value }),
270
+ class: A({ animated: !w.value }),
271
271
  onMouseenter: () => ve({ datapoint: l, seriesIndex: o }),
272
- onMouseleave: a[0] || (a[0] = (h) => {
272
+ onMouseleave: a[0] || (a[0] = (f) => {
273
273
  N.value = !1, _.value = null;
274
274
  })
275
275
  }, null, 42, Te))), 128))
@@ -284,7 +284,7 @@ const Pe = ["xmlns", "viewBox"], ze = ["id"], Ae = ["stop-color"], De = ["stop-c
284
284
  fill: "transparent",
285
285
  rx: (g.value.height - 4) / 2
286
286
  }, null, 8, Ue))
287
- ], 8, Pe)) : y("", !0),
287
+ ], 8, Fe)) : y("", !0),
288
288
  j.value ? y("", !0) : (s(), ge(m(se), {
289
289
  key: 2,
290
290
  config: {
@@ -302,10 +302,10 @@ const Pe = ["xmlns", "viewBox"], ze = ["id"], Ae = ["stop-color"], De = ["stop-c
302
302
  style: v(`background:transparent;margin:0 auto;margin:${e.value.style.legend.margin};justify-content:${e.value.style.legend.textAlign === "left" ? "flex-start" : e.value.style.legend.textAlign === "right" ? "flex-end" : "center"}`),
303
303
  class: "vue-ui-sparkstackbar-legend"
304
304
  }, [
305
- (s(!0), r(x, null, $(P.value, (l, o) => (s(), r("div", {
305
+ (s(!0), r(x, null, $(F.value, (l, o) => (s(), r("div", {
306
306
  style: v(`font-size:${e.value.style.legend.fontSize}px;`),
307
- class: D({ "vue-ui-sparkstackbar-legend-item": !0, "vue-ui-sparkstackbar-legend-item-unselected": f.value.includes(o) }),
308
- onClick: (h) => {
307
+ class: A({ "vue-ui-sparkstackbar-legend-item": !0, "vue-ui-sparkstackbar-legend-item-unselected": h.value.includes(o) }),
308
+ onClick: (f) => {
309
309
  ce(o), Y(l, o);
310
310
  }
311
311
  }, [
@@ -328,7 +328,7 @@ const Pe = ["xmlns", "viewBox"], ze = ["id"], Ae = ["stop-color"], De = ["stop-c
328
328
  e.value.style.legend.percentage.show ? (s(), r("span", {
329
329
  key: 0,
330
330
  style: v(`font-weight:${e.value.style.legend.percentage.bold ? "bold" : "normal"};color:${e.value.style.legend.percentage.color}`)
331
- }, C(f.value.includes(o) ? " - " : l.proportionLabel), 5)) : y("", !0),
331
+ }, C(h.value.includes(o) ? " - " : l.proportionLabel), 5)) : y("", !0),
332
332
  e.value.style.legend.value.show ? (s(), r("span", {
333
333
  key: 1,
334
334
  style: v(`font-weight:${e.value.style.legend.value.bold ? "bold" : "normal"};color:${e.value.style.legend.value.color}`)
@@ -358,9 +358,11 @@ const Pe = ["xmlns", "viewBox"], ze = ["id"], Ae = ["stop-color"], De = ["stop-c
358
358
  backgroundOpacity: e.value.style.tooltip.backgroundOpacity,
359
359
  position: e.value.style.tooltip.position,
360
360
  content: L.value,
361
- isCustom: A.value,
361
+ isCustom: z.value,
362
362
  offsetY: -124 + e.value.style.tooltip.offsetY,
363
- blockShiftY: !0
363
+ blockShiftY: !0,
364
+ smooth: e.value.style.tooltip.smooth,
365
+ backdropFilter: e.value.style.tooltip.backdropFilter
364
366
  }, {
365
367
  "tooltip-before": X(() => [
366
368
  T(t.$slots, "tooltip-before", J(K({ ...O.value })), void 0, !0)
@@ -369,13 +371,13 @@ const Pe = ["xmlns", "viewBox"], ze = ["id"], Ae = ["stop-color"], De = ["stop-c
369
371
  T(t.$slots, "tooltip-after", J(K({ ...O.value })), void 0, !0)
370
372
  ]),
371
373
  _: 3
372
- }, 8, ["show", "parent", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "content", "isCustom", "offsetY"]),
374
+ }, 8, ["show", "parent", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "content", "isCustom", "offsetY", "smooth", "backdropFilter"]),
373
375
  t.$slots.source ? (s(), r("div", Ie, [
374
376
  T(t.$slots, "source", {}, void 0, !0)
375
377
  ], 512)) : y("", !0)
376
378
  ], 4));
377
379
  }
378
- }, Je = /* @__PURE__ */ Se(We, [["__scopeId", "data-v-bd91b3ec"]]);
380
+ }, Je = /* @__PURE__ */ Se(We, [["__scopeId", "data-v-d2ef945d"]]);
379
381
  export {
380
382
  Je as default
381
383
  };