vue-data-ui 3.1.16 → 3.1.18

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 (89) hide show
  1. package/dist/{Arrow-5vUlLOBt.js → Arrow-BC5klzOh.js} +1 -1
  2. package/dist/{BaseDraggableDialog-RzeiqHjP.js → BaseDraggableDialog-CkjMZyIs.js} +2 -2
  3. package/dist/{BaseIcon-wGdAhoaF.js → BaseIcon-BPiT94Lb.js} +1 -1
  4. package/dist/{ColorPicker-DNOgu-Rw.js → ColorPicker-bx5e2RB2.js} +2 -2
  5. package/dist/{DataTable-JX5MWop0.js → DataTable-CywujQw9.js} +2 -2
  6. package/dist/{Legend-QXKyEiPD.js → Legend-h35dp0Qf.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-BG4C0Flj.js → NonSvgPenAndPaper-CvnlQ378.js} +3 -3
  8. package/dist/{PackageVersion-BSXHahdf.js → PackageVersion-BzGzkGiC.js} +1 -1
  9. package/dist/{PenAndPaper-ScGkrINJ.js → PenAndPaper-Deh70G9d.js} +3 -3
  10. package/dist/{Shape-B5nsWKct.js → Shape-sVxD_SDm.js} +1 -1
  11. package/dist/{Slicer-BP5JybRr.js → Slicer-CQB967He.js} +2 -2
  12. package/dist/{SparkTooltip-qH7jdTTV.js → SparkTooltip-DFRSPT3_.js} +1 -1
  13. package/dist/{Title-Cs26H3hX.js → Title-B_WMW2Bp.js} +1 -1
  14. package/dist/{Tooltip-BAx7Btsw.js → Tooltip-Db9jy0Iu.js} +1 -1
  15. package/dist/{UserOptions-BLVLaZDQ.js → UserOptions-CtECQwBN.js} +2 -2
  16. package/dist/{dom-to-png-8xSfWIE3.js → dom-to-png-BHpS3cMi.js} +1 -1
  17. package/dist/{img-DYi-2xfu.js → img-BArHHegM.js} +1 -1
  18. package/dist/{index-D6OjIQeq.js → index-smzxfsyV.js} +2 -2
  19. package/dist/{pdf-BE8YApaL.js → pdf-D1L3r23x.js} +1 -1
  20. package/dist/style.css +1 -1
  21. package/dist/{useAutoSizeLabelsInsideViewbox-CeJVwNle.js → useAutoSizeLabelsInsideViewbox-DeqXeTNw.js} +1 -1
  22. package/dist/{useNestedProp-QUe0ze7N.js → useNestedProp-DeKmJzsE.js} +1 -1
  23. package/dist/{usePrinter-BZ8rT5v2.js → usePrinter-nFj0xF0a.js} +2 -2
  24. package/dist/{vue-data-ui-C8k4Y_oL.js → vue-data-ui-DcBYykse.js} +64 -64
  25. package/dist/vue-data-ui.js +1 -1
  26. package/dist/{vue-ui-3d-bar-Bt5Fz91G.js → vue-ui-3d-bar-D4rc8PD3.js} +57 -57
  27. package/dist/{vue-ui-accordion-Cq060UfJ.js → vue-ui-accordion-7cfJUVx5.js} +3 -3
  28. package/dist/{vue-ui-age-pyramid-8y3q3bso.js → vue-ui-age-pyramid-BXMIUNB_.js} +6 -6
  29. package/dist/{vue-ui-annotator-CiYwSoCc.js → vue-ui-annotator-aCDhQ-m2.js} +2 -2
  30. package/dist/{vue-ui-bullet-1eQWn7Q3.js → vue-ui-bullet-Cd_iix-z.js} +7 -7
  31. package/dist/{vue-ui-candlestick-CIlTxwGr.js → vue-ui-candlestick-C-TTTgiW.js} +7 -7
  32. package/dist/{vue-ui-carousel-table-CgwL2hyg.js → vue-ui-carousel-table-C58J4zpm.js} +4 -4
  33. package/dist/{vue-ui-chestnut-DlpqIPgH.js → vue-ui-chestnut-C7u6GW-T.js} +5 -5
  34. package/dist/{vue-ui-chord-EjxXbSFh.js → vue-ui-chord-DxLU3Fg1.js} +8 -8
  35. package/dist/{vue-ui-circle-pack-DTCERNzf.js → vue-ui-circle-pack--a_KE7qz.js} +6 -6
  36. package/dist/{vue-ui-cursor-DvUoY7hb.js → vue-ui-cursor-DJQWAIj8.js} +2 -2
  37. package/dist/{vue-ui-dashboard-CXhJYlHM.js → vue-ui-dashboard-CIACUYB-.js} +67 -67
  38. package/dist/{vue-ui-digits-BIyBotSz.js → vue-ui-digits-CLV8h-P8.js} +2 -2
  39. package/dist/{vue-ui-donut-evolution-UXTR4300.js → vue-ui-donut-evolution-XGJvBQIm.js} +8 -8
  40. package/dist/{vue-ui-donut-BQZwtNJm.js → vue-ui-donut-sO6G5oor.js} +8 -8
  41. package/dist/{vue-ui-dumbbell-g6zDDlZe.js → vue-ui-dumbbell-Bi11rDL7.js} +7 -7
  42. package/dist/{vue-ui-flow-Ca_dZjw9.js → vue-ui-flow-RP2v-aZJ.js} +7 -7
  43. package/dist/{vue-ui-funnel-Om9LCUCJ.js → vue-ui-funnel-TVQXGyw7.js} +6 -6
  44. package/dist/{vue-ui-galaxy-BLUw06YE.js → vue-ui-galaxy-CUURaWgH.js} +7 -7
  45. package/dist/{vue-ui-gauge-CK-pZBWT.js → vue-ui-gauge-hTRlwARA.js} +125 -125
  46. package/dist/{vue-ui-gizmo-BSxlb7sM.js → vue-ui-gizmo-CZIgBvWV.js} +3 -3
  47. package/dist/{vue-ui-heatmap-DZg46_w0.js → vue-ui-heatmap-RKtFMgDP.js} +7 -7
  48. package/dist/{vue-ui-history-plot-D8sq7qDo.js → vue-ui-history-plot-fbTG7Mke.js} +7 -7
  49. package/dist/{vue-ui-kpi-CK4Sz-AD.js → vue-ui-kpi-CfX-zUDS.js} +3 -3
  50. package/dist/{vue-ui-mini-loader-D-potdmP.js → vue-ui-mini-loader-C1nANuMy.js} +2 -2
  51. package/dist/{vue-ui-molecule-B36nPur5.js → vue-ui-molecule-BU7T1ysb.js} +5 -5
  52. package/dist/{vue-ui-mood-radar-DaacpsBj.js → vue-ui-mood-radar-Cb8cFWzE.js} +7 -7
  53. package/dist/{vue-ui-nested-donuts-UgIV0zrL.js → vue-ui-nested-donuts-DTZD8BTA.js} +7 -7
  54. package/dist/{vue-ui-onion-DWUFUuVG.js → vue-ui-onion-5xmlEUsJ.js} +8 -8
  55. package/dist/{vue-ui-parallel-coordinate-plot-DleqNzzO.js → vue-ui-parallel-coordinate-plot-Wc0TbyJH.js} +8 -8
  56. package/dist/{vue-ui-quadrant-B_dlGzjJ.js → vue-ui-quadrant-BC99Cua7.js} +8 -8
  57. package/dist/{vue-ui-quick-chart-Dyo1b6H6.js → vue-ui-quick-chart-Cbv2UcEu.js} +6 -6
  58. package/dist/{vue-ui-radar-NbR2uHg4.js → vue-ui-radar-B-ey_fDA.js} +8 -8
  59. package/dist/{vue-ui-rating-CryvFvr7.js → vue-ui-rating-BNCKLcCa.js} +2 -2
  60. package/dist/{vue-ui-relation-circle-DF6dE4zW.js → vue-ui-relation-circle-CYFQcAgc.js} +7 -7
  61. package/dist/{vue-ui-ridgeline-8-dQ3bbv.js → vue-ui-ridgeline-B_6K1FTc.js} +8 -8
  62. package/dist/{vue-ui-rings-B147Pr4Q.js → vue-ui-rings-D_BTgxYc.js} +8 -8
  63. package/dist/{vue-ui-scatter-yKBu-zLG.js → vue-ui-scatter-B69SYOfv.js} +8 -8
  64. package/dist/{vue-ui-skeleton-C-jwsbrt.js → vue-ui-skeleton-CpkwgALO.js} +3 -3
  65. package/dist/{vue-ui-smiley-DFJ2-pxP.js → vue-ui-smiley-t16dEIoQ.js} +2 -2
  66. package/dist/vue-ui-spark-trend-DskdjYw4.js +336 -0
  67. package/dist/{vue-ui-sparkbar-DRsv3ulD.js → vue-ui-sparkbar-C-evQIq2.js} +81 -81
  68. package/dist/{vue-ui-sparkgauge-BfoO71Ji.js → vue-ui-sparkgauge-DycVSHAs.js} +4 -4
  69. package/dist/{vue-ui-sparkhistogram-DJtyI7Bl.js → vue-ui-sparkhistogram-CZLnlSUD.js} +4 -4
  70. package/dist/{vue-ui-sparkline-dHdyjp0m.js → vue-ui-sparkline-C1nZRVTa.js} +169 -169
  71. package/dist/{vue-ui-sparkstackbar-DQhZm6u2.js → vue-ui-sparkstackbar-CUUeuwAI.js} +3 -3
  72. package/dist/{vue-ui-stackbar-BEoSEdhL.js → vue-ui-stackbar-D27Wq8Y4.js} +9 -9
  73. package/dist/{vue-ui-strip-plot-CNqY9uEA.js → vue-ui-strip-plot-D-srKJUr.js} +7 -7
  74. package/dist/{vue-ui-table-ywthhZy0.js → vue-ui-table-LcImk124.js} +4 -4
  75. package/dist/{vue-ui-table-heatmap-DDR4_yLN.js → vue-ui-table-heatmap-BfXe_f0K.js} +5 -5
  76. package/dist/{vue-ui-table-sparkline-qFmRMBGM.js → vue-ui-table-sparkline-DyrnPNGv.js} +4 -4
  77. package/dist/{vue-ui-thermometer-Dk534ePJ.js → vue-ui-thermometer-DxRDmz-L.js} +7 -7
  78. package/dist/{vue-ui-timer-UVZZcr4T.js → vue-ui-timer-Bbzb09O8.js} +5 -5
  79. package/dist/{vue-ui-tiremarks-BaFMrJSV.js → vue-ui-tiremarks-DWy1Dkub.js} +6 -6
  80. package/dist/{vue-ui-treemap-CuHOtSzw.js → vue-ui-treemap-C3Ek_E4n.js} +8 -8
  81. package/dist/{vue-ui-vertical-bar-C-_UEN9K.js → vue-ui-vertical-bar-CV3Mc1cX.js} +9 -9
  82. package/dist/{vue-ui-waffle-BTUdTAI_.js → vue-ui-waffle-D2mQJdcV.js} +8 -8
  83. package/dist/{vue-ui-wheel-BaqvZwV1.js → vue-ui-wheel-zbog7bII.js} +6 -6
  84. package/dist/{vue-ui-word-cloud-Iry997aF.js → vue-ui-word-cloud-D9iZRkQP.js} +6 -6
  85. package/dist/{vue-ui-world-B-iFEOiQ.js → vue-ui-world-D5dR5VdK.js} +6 -6
  86. package/dist/{vue-ui-xy-LlykHLgF.js → vue-ui-xy-Cll76_i9.js} +1254 -1250
  87. package/dist/{vue-ui-xy-canvas-CvkmWMXw.js → vue-ui-xy-canvas-DJVXAfpL.js} +10 -10
  88. package/package.json +1 -1
  89. package/dist/vue-ui-spark-trend-BU0OIb8g.js +0 -315
@@ -1,8 +1,8 @@
1
- import { defineAsyncComponent as Z, useSlots as ee, onMounted as B, ref as x, toRefs as te, computed as w, watch as E, nextTick as le, createElementBlock as i, openBlock as n, normalizeStyle as d, unref as o, renderSlot as D, createCommentVNode as c, createBlock as ae, normalizeProps as oe, mergeProps as M, createElementVNode as v, toDisplayString as y, Fragment as P, renderList as se, createVNode as ne } from "vue";
2
- import { u as ue, c as ie, t as re, a as ve, p as C, b as de, d as ce, o as pe, f as V, g as fe, e as ye, s as I, k as _, i as A, X as ge, x as me } from "./index-D6OjIQeq.js";
3
- import { u as O } from "./useNestedProp-QUe0ze7N.js";
1
+ import { defineAsyncComponent as Z, useSlots as ee, onMounted as F, ref as x, toRefs as te, computed as w, watch as B, nextTick as le, createElementBlock as i, openBlock as n, normalizeStyle as d, unref as a, renderSlot as $, createCommentVNode as p, createBlock as ae, normalizeProps as oe, mergeProps as E, createElementVNode as v, toDisplayString as y, Fragment as M, renderList as se, createVNode as ne } from "vue";
2
+ import { u as ue, c as ie, t as re, a as ve, p as _, b as ce, d as de, o as pe, f as P, g as fe, e as ye, s as D, k as C, i as A, X as ge, x as me } from "./index-smzxfsyV.js";
3
+ import { u as V } from "./useNestedProp-DeKmJzsE.js";
4
4
  import { u as he, B as xe } from "./BaseScanner-BgWxam9d.js";
5
- const ke = ["onClick", "onMouseenter", "onMouseleave"], be = { key: 1 }, we = ["xmlns", "viewBox"], Ce = ["id"], _e = ["stop-color"], Ae = ["stop-color"], Se = ["height", "width", "fill", "rx"], $e = ["height", "width", "fill", "rx"], De = ["height", "width", "fill", "rx"], Ie = {
5
+ const ke = ["onClick", "onMouseenter", "onMouseleave"], be = { key: 1 }, we = ["xmlns", "viewBox"], _e = ["id"], Ce = ["stop-color"], Ae = ["stop-color"], Se = ["height", "width", "fill", "rx"], $e = ["height", "width", "fill", "rx"], De = ["height", "width", "fill", "rx"], Ie = {
6
6
  key: 2,
7
7
  ref: "source",
8
8
  dir: "auto"
@@ -30,15 +30,15 @@ const ke = ["onClick", "onMouseenter", "onMouseleave"], be = { key: 1 }, we = ["
30
30
  }
31
31
  },
32
32
  emits: ["selectDatapoint"],
33
- setup(S, { emit: j }) {
34
- const U = Z(() => import("./PackageVersion-BSXHahdf.js")), { vue_ui_sparkbar: R } = ue(), f = S, W = ee();
35
- B(() => {
33
+ setup(O, { emit: j }) {
34
+ const U = Z(() => import("./PackageVersion-BzGzkGiC.js")), { vue_ui_sparkbar: R } = ue(), f = O, W = ee();
35
+ F(() => {
36
36
  W["chart-background"] && console.warn("VueUiSparkbar does not support the #chart-background slot.");
37
37
  });
38
- const L = x(ie()), e = x($()), { loading: k, FINAL_DATASET: p } = he({
38
+ const I = x(ie()), e = x(S()), { loading: k, FINAL_DATASET: c } = he({
39
39
  ...te(f),
40
40
  FINAL_CONFIG: e,
41
- prepareConfig: $,
41
+ prepareConfig: S,
42
42
  skeletonDataset: [
43
43
  { name: "_", value: 21, target: 25, color: "#808080" },
44
44
  { name: "_", value: 13, target: 25, color: "#ADADAD" },
@@ -63,109 +63,109 @@ const ke = ["onClick", "onMouseenter", "onMouseleave"], be = { key: 1 }, we = ["
63
63
  }
64
64
  }
65
65
  })
66
- }), T = w(() => !!e.value.debug);
67
- function $() {
68
- const t = O({
66
+ }), L = w(() => !!e.value.debug);
67
+ function S() {
68
+ const t = V({
69
69
  userConfig: f.config,
70
70
  defaultConfig: R
71
71
  });
72
72
  return t.theme ? {
73
- ...O({
74
- userConfig: de.vue_ui_sparkbar[t.theme] || f.config,
73
+ ...V({
74
+ userConfig: ce.vue_ui_sparkbar[t.theme] || f.config,
75
75
  defaultConfig: t
76
76
  }),
77
- customPalette: ve[t.theme] || C
77
+ customPalette: ve[t.theme] || _
78
78
  } : t;
79
79
  }
80
- E(() => f.config, (t) => {
81
- e.value = $();
80
+ B(() => f.config, (t) => {
81
+ e.value = S();
82
82
  }, { deep: !0 });
83
- const G = w(() => ce(e.value.customPalette)), g = x(p.value.map((t) => ({
83
+ const G = w(() => de(e.value.customPalette)), g = x(c.value.map((t) => ({
84
84
  ...t,
85
85
  value: e.value.style.animation.show ? 0 : t.value || 0,
86
86
  formatter: t.formatter || null
87
- }))), z = x(null);
88
- B(async () => {
89
- pe(f.dataset) && V({
87
+ }))), T = x(null);
88
+ F(async () => {
89
+ pe(f.dataset) && P({
90
90
  componentName: "VueUiSparkbar",
91
91
  type: "dataset",
92
- debug: T.value
93
- }), N();
92
+ debug: L.value
93
+ }), z();
94
94
  });
95
- function N() {
95
+ function z() {
96
96
  if (e.value.style.animation.show) {
97
97
  let h = function() {
98
98
  s += l / t, s < l ? (g.value = g.value.map((u, b) => ({
99
99
  ...u,
100
- value: u.value += a[b]
101
- })), z.value = requestAnimationFrame(h)) : g.value = p.value.map((u) => ({
100
+ value: u.value += o[b]
101
+ })), T.value = requestAnimationFrame(h)) : g.value = c.value.map((u) => ({
102
102
  ...u,
103
103
  value: u.value || 0,
104
104
  formatter: u.formatter || null
105
105
  }));
106
106
  };
107
- const t = e.value.style.animation.animationFrames, a = p.value.map((u, b) => u.value / t), l = p.value.map((u) => u.value || 0).reduce((u, b) => u + b, 0);
107
+ const t = e.value.style.animation.animationFrames, o = c.value.map((u, b) => u.value / t), l = c.value.map((u) => u.value || 0).reduce((u, b) => u + b, 0);
108
108
  let s = 0;
109
109
  h();
110
110
  }
111
111
  }
112
- E(() => p.value, async (t) => {
113
- cancelAnimationFrame(z.value), g.value = p.value.map((a) => ({
114
- ...a,
115
- value: e.value.style.animation.show ? 0 : a.value || 0,
116
- formatter: a.formatter || null
117
- })), le(N);
112
+ B(() => c.value, async (t) => {
113
+ cancelAnimationFrame(T.value), g.value = c.value.map((o) => ({
114
+ ...o,
115
+ value: e.value.style.animation.show ? 0 : o.value || 0,
116
+ formatter: o.formatter || null
117
+ })), le(z);
118
118
  }, { deep: !0 });
119
119
  const r = x({
120
120
  width: 500,
121
121
  height: 16
122
- }), q = w(() => Math.max(...p.value.map((t) => t.value))), H = w(() => (p.value.forEach((t, a) => {
122
+ }), q = w(() => Math.max(...c.value.map((t) => t.value))), H = w(() => (c.value.forEach((t, o) => {
123
123
  fe({
124
124
  datasetObject: t,
125
125
  requiredAttributes: ["name", "value"]
126
126
  }).forEach((l) => {
127
- V({
127
+ P({
128
128
  componentName: "VueUiSparkbar",
129
129
  type: "datasetSerieAttribute",
130
130
  property: l,
131
- index: a,
132
- debug: T.value
131
+ index: o,
132
+ debug: L.value
133
133
  });
134
134
  });
135
- }), g.value.map((t, a) => ({
135
+ }), g.value.map((t, o) => ({
136
136
  ...t,
137
137
  value: t.value || 0,
138
- color: ye(t.color) || G.value[a] || C[a] || C[a % C.length]
138
+ color: ye(t.color) || G.value[o] || _[o] || _[o % _.length]
139
139
  }))));
140
140
  function X(t) {
141
141
  return t / q.value;
142
142
  }
143
- function F(t) {
143
+ function N(t) {
144
144
  return e.value.style.layout.independant ? t.target ? t.value / t.target : e.value.style.layout.percentage ? t.value > 100 ? 1 : t.value / 100 : e.value.style.layout.target === 0 ? 1 : t.value / e.value.style.layout.target : X(t.value);
145
145
  }
146
146
  function m(t) {
147
147
  return e.value.style.layout.independant && t.target || e.value.style.layout.target;
148
148
  }
149
149
  const J = j;
150
- function K(t, a) {
151
- J("selectDatapoint", { datapoint: t, index: a }), e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: a });
150
+ function K(t, o) {
151
+ J("selectDatapoint", { datapoint: t, index: o }), e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: o });
152
152
  }
153
- function Q(t, a) {
154
- e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: a });
153
+ function Q(t, o) {
154
+ e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: o });
155
155
  }
156
- function Y(t, a) {
157
- e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: a });
156
+ function Y(t, o) {
157
+ e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: o });
158
158
  }
159
- return (t, a) => (n(), i("div", {
159
+ return (t, o) => (n(), i("div", {
160
160
  class: "vue-ui-sparkbar",
161
161
  style: d({
162
162
  width: "100%",
163
163
  position: "relative",
164
164
  fontFamily: e.value.style.fontFamily,
165
- background: f.backgroundOpacity !== null ? o(I)(e.value.style.backgroundColor, f.backgroundOpacity) : e.value.style.backgroundColor
165
+ background: f.backgroundOpacity !== null ? a(D)(e.value.style.backgroundColor, f.backgroundOpacity) : e.value.style.backgroundColor
166
166
  })
167
167
  }, [
168
- t.$slots.title ? D(t.$slots, "title", oe(M({ key: 0 }, { title: { ...t.title, title: e.value.style.title.text, subtitle: e.value.style.title.subtitle.text } }))) : c("", !0),
168
+ t.$slots.title ? $(t.$slots, "title", oe(E({ key: 0 }, { title: { ...t.title, title: e.value.style.title.text, subtitle: e.value.style.title.subtitle.text } }))) : p("", !0),
169
169
  !t.$slots.title && e.value.style.title.text ? (n(), i("div", {
170
170
  key: 1,
171
171
  class: "vue-ui-sparkbar-title-container",
@@ -191,24 +191,24 @@ const ke = ["onClick", "onMouseenter", "onMouseleave"], be = { key: 1 }, we = ["
191
191
  color: e.value.style.title.subtitle.color,
192
192
  fontWeight: e.value.style.title.subtitle.bold ? "bold" : "normal"
193
193
  })
194
- }, y(e.value.style.title.subtitle.text), 5)) : c("", !0)
195
- ], 4)) : c("", !0),
196
- (n(!0), i(P, null, se(H.value, (l, s) => (n(), i("div", {
197
- style: d(`display:flex !important;${["left", "right"].includes(e.value.style.labels.name.position) ? `flex-direction: ${e.value.style.labels.name.position === "right" ? "row-reverse" : "row"} !important` : "flex-direction:column !important"};gap:${e.value.style.gap}px !important;align-items:center;${S.dataset.length > 0 && s !== S.dataset.length - 1 ? "margin-bottom:6px" : ""}`),
194
+ }, y(e.value.style.title.subtitle.text), 5)) : p("", !0)
195
+ ], 4)) : p("", !0),
196
+ (n(!0), i(M, null, se(H.value, (l, s) => (n(), i("div", {
197
+ style: d(`display:flex !important;${["left", "right"].includes(e.value.style.labels.name.position) ? `flex-direction: ${e.value.style.labels.name.position === "right" ? "row-reverse" : "row"} !important` : "flex-direction:column !important"};gap:${e.value.style.gap}px !important;align-items:center;${a(c).length > 0 && s !== a(c).length - 1 ? "margin-bottom:6px" : ""}`),
198
198
  onClick: (h) => K(l, s),
199
199
  onMouseenter: (h) => Q(l, s),
200
200
  onMouseleave: (h) => Y(l, s)
201
201
  }, [
202
- o(k) ? c("", !0) : D(t.$slots, "data-label", M({
202
+ a(k) ? p("", !0) : $(t.$slots, "data-label", E({
203
203
  key: 0,
204
204
  ref_for: !0
205
205
  }, { bar: {
206
206
  ...l,
207
207
  target: m(l),
208
- valueLabel: o(_)(
208
+ valueLabel: a(C)(
209
209
  l.formatter,
210
210
  l.value,
211
- o(A)({
211
+ a(A)({
212
212
  p: l.prefix || "",
213
213
  v: l.value,
214
214
  s: l.suffix || "",
@@ -216,10 +216,10 @@ const ke = ["onClick", "onMouseenter", "onMouseleave"], be = { key: 1 }, we = ["
216
216
  }),
217
217
  { datapoint: l, seriesIndex: s }
218
218
  ),
219
- targetLabel: o(_)(
219
+ targetLabel: a(C)(
220
220
  l.formatter,
221
221
  m(l),
222
- o(A)({
222
+ a(A)({
223
223
  p: l.prefix || "",
224
224
  v: m(l),
225
225
  s: l.suffix || "",
@@ -228,7 +228,7 @@ const ke = ["onClick", "onMouseenter", "onMouseleave"], be = { key: 1 }, we = ["
228
228
  { datapoint: l, seriesIndex: s }
229
229
  )
230
230
  } })),
231
- !t.$slots["data-label"] || o(k) ? (n(), i("div", {
231
+ !t.$slots["data-label"] || a(k) ? (n(), i("div", {
232
232
  key: 1,
233
233
  style: d({
234
234
  display: "flex",
@@ -241,7 +241,7 @@ const ke = ["onClick", "onMouseenter", "onMouseleave"], be = { key: 1 }, we = ["
241
241
  flexWrap: "wrap"
242
242
  })
243
243
  }, [
244
- o(k) ? (n(), i("div", {
244
+ a(k) ? (n(), i("div", {
245
245
  key: 0,
246
246
  class: "vue-ui-sparkbar-skeleton-name",
247
247
  style: d({
@@ -260,70 +260,70 @@ const ke = ["onClick", "onMouseenter", "onMouseleave"], be = { key: 1 }, we = ["
260
260
  v("div", {
261
261
  style: d({ height: "100%", width: "15px", borderRadius: e.value.style.labels.fontSize / 4 + "px", backgroundColor: "#6A6A6A80" })
262
262
  }, null, 4)
263
- ], 4)) : (n(), i(P, { key: 1 }, [
263
+ ], 4)) : (n(), i(M, { key: 1 }, [
264
264
  v("span", null, y(l.name), 1),
265
265
  e.value.style.labels.value.show ? (n(), i("span", {
266
266
  key: 0,
267
267
  style: d(`font-weight:${e.value.style.labels.value.bold ? "bold" : "normal"}`)
268
- }, ": " + y(o(_)(
268
+ }, ": " + y(a(C)(
269
269
  l.formatter,
270
270
  l.value,
271
- o(A)({
271
+ a(A)({
272
272
  p: l.prefix || "",
273
273
  v: l.value,
274
274
  s: l.suffix || "",
275
275
  r: l.rounding || 0
276
276
  }),
277
277
  { datapoint: l, seriesIndex: s }
278
- )), 5)) : c("", !0),
279
- e.value.style.layout.showTargetValue ? (n(), i("span", be, y(" " + e.value.style.layout.targetValueText) + " " + y(o(_)(
278
+ )), 5)) : p("", !0),
279
+ e.value.style.layout.showTargetValue ? (n(), i("span", be, y(" " + e.value.style.layout.targetValueText) + " " + y(a(C)(
280
280
  l.formatter,
281
281
  m(l),
282
- o(A)({
282
+ a(A)({
283
283
  p: l.prefix || "",
284
284
  v: m(l),
285
285
  s: l.suffix || "",
286
286
  r: l.rounding || 0
287
287
  }),
288
288
  { datapoint: l, seriesIndex: s }
289
- )), 1)) : c("", !0)
289
+ )), 1)) : p("", !0)
290
290
  ], 64))
291
- ], 4)) : c("", !0),
291
+ ], 4)) : p("", !0),
292
292
  (n(), i("svg", {
293
- xmlns: o(ge),
293
+ xmlns: a(ge),
294
294
  viewBox: `0 0 ${r.value.width} ${r.value.height}`,
295
295
  width: "100%"
296
296
  }, [
297
- ne(o(U)),
297
+ ne(a(U)),
298
298
  v("defs", null, [
299
299
  v("linearGradient", {
300
300
  x1: "0%",
301
301
  y1: "0%",
302
302
  x2: "100%",
303
303
  y2: "0%",
304
- id: `sparkbar_gradient_${s}_${L.value}`
304
+ id: `sparkbar_gradient_${s}_${I.value}`
305
305
  }, [
306
306
  v("stop", {
307
307
  offset: "0%",
308
- "stop-color": o(I)(o(me)(l.color, 0.03), 100 - e.value.style.bar.gradient.intensity)
309
- }, null, 8, _e),
308
+ "stop-color": a(D)(a(me)(l.color, 0.03), 100 - e.value.style.bar.gradient.intensity)
309
+ }, null, 8, Ce),
310
310
  v("stop", {
311
311
  offset: "100%",
312
312
  "stop-color": l.color
313
313
  }, null, 8, Ae)
314
- ], 8, Ce)
314
+ ], 8, _e)
315
315
  ]),
316
316
  v("rect", {
317
317
  height: r.value.height,
318
318
  width: r.value.width,
319
319
  x: 0,
320
320
  y: 0,
321
- fill: o(I)(e.value.style.gutter.backgroundColor, e.value.style.gutter.opacity),
321
+ fill: a(D)(e.value.style.gutter.backgroundColor, e.value.style.gutter.opacity),
322
322
  rx: r.value.height / 2
323
323
  }, null, 8, Se),
324
324
  v("rect", {
325
325
  height: r.value.height,
326
- width: r.value.width * F(l),
326
+ width: r.value.width * N(l),
327
327
  x: 0,
328
328
  y: 0,
329
329
  fill: e.value.style.bar.gradient.underlayerColor,
@@ -331,18 +331,18 @@ const ke = ["onClick", "onMouseenter", "onMouseleave"], be = { key: 1 }, we = ["
331
331
  }, null, 8, $e),
332
332
  v("rect", {
333
333
  height: r.value.height,
334
- width: r.value.width * F(l),
334
+ width: r.value.width * N(l),
335
335
  x: 0,
336
336
  y: 0,
337
- fill: e.value.style.bar.gradient.show ? `url(#sparkbar_gradient_${s}_${L.value})` : l.color,
337
+ fill: e.value.style.bar.gradient.show ? `url(#sparkbar_gradient_${s}_${I.value})` : l.color,
338
338
  rx: r.value.height / 2
339
339
  }, null, 8, De)
340
340
  ], 8, we))
341
341
  ], 44, ke))), 256)),
342
342
  t.$slots.source ? (n(), i("div", Ie, [
343
- D(t.$slots, "source")
344
- ], 512)) : c("", !0),
345
- o(k) ? (n(), ae(xe, { key: 3 })) : c("", !0)
343
+ $(t.$slots, "source")
344
+ ], 512)) : p("", !0),
345
+ a(k) ? (n(), ae(xe, { key: 3 })) : p("", !0)
346
346
  ], 4));
347
347
  }
348
348
  };
@@ -1,6 +1,6 @@
1
1
  import { defineAsyncComponent as P, ref as b, toRefs as T, onMounted as N, computed as s, watch as M, createElementBlock as r, openBlock as u, normalizeStyle as g, createCommentVNode as d, createBlock as U, toDisplayString as k, unref as i, createVNode as q, createElementVNode as y, renderSlot as F, normalizeClass as V } from "vue";
2
- import { u as B } from "./useNestedProp-QUe0ze7N.js";
3
- import { u as X, c as Y, t as H, b as J, o as K, f as E, g as Q, P as W, X as Z, k as ee, h as x, i as te } from "./index-D6OjIQeq.js";
2
+ import { u as B } from "./useNestedProp-DeKmJzsE.js";
3
+ import { u as X, c as Y, t as H, b as J, o as K, f as E, g as Q, P as W, X as Z, k as ee, h as x, i as te } from "./index-smzxfsyV.js";
4
4
  import { u as ae, B as le } from "./BaseScanner-BgWxam9d.js";
5
5
  import { u as oe } from "./useChartAccessibility-9icAAmYg.js";
6
6
  const se = ["xmlns", "viewBox"], ue = ["width", "height"], ie = ["id"], ne = ["stop-color"], re = ["stop-color"], ve = ["d", "stroke", "stroke-linecap"], ce = ["d", "stroke", "stroke-linecap", "stroke-dashoffset"], de = ["x", "y", "width", "height"], fe = ["x", "y", "font-size", "fill", "font-weight"], ye = {
@@ -24,7 +24,7 @@ const se = ["xmlns", "viewBox"], ue = ["width", "height"], ie = ["id"], ne = ["s
24
24
  }
25
25
  },
26
26
  setup(D) {
27
- const O = P(() => import("./PackageVersion-BSXHahdf.js")), { vue_ui_sparkgauge: j } = X(), c = D, _ = b(Y()), e = b(p()), { loading: h, FINAL_DATASET: v } = ae({
27
+ const O = P(() => import("./PackageVersion-BzGzkGiC.js")), { vue_ui_sparkgauge: j } = X(), c = D, _ = b(Y()), e = b(p()), { loading: h, FINAL_DATASET: v } = ae({
28
28
  ...T(c),
29
29
  FINAL_CONFIG: e,
30
30
  prepareConfig: p,
@@ -53,7 +53,7 @@ const se = ["xmlns", "viewBox"], ue = ["width", "height"], ie = ["id"], ne = ["s
53
53
  }
54
54
  }
55
55
  })
56
- }), { svgRef: I } = oe({ config: { text: c.dataset.title } });
56
+ }), { svgRef: I } = oe({ config: { text: c.dataset?.title || "" } });
57
57
  function p() {
58
58
  const t = B({
59
59
  userConfig: c.config,
@@ -1,11 +1,11 @@
1
1
  import { useCssVars as pe, computed as k, defineAsyncComponent as me, ref as y, toRefs as be, onMounted as U, watch as X, nextTick as j, createElementBlock as s, openBlock as a, normalizeStyle as S, createCommentVNode as c, createBlock as G, createElementVNode as g, createTextVNode as _e, toDisplayString as p, unref as n, createVNode as xe, renderSlot as q, Fragment as d, renderList as h, normalizeClass as Y } from "vue";
2
- import { u as ke, c as Ce, t as Ae, b as we, o as $e, f as P, g as Le, s as m, k as J, i as K, X as ze, x as D } from "./index-D6OjIQeq.js";
2
+ import { u as ke, c as Ce, t as Ae, b as we, o as $e, f as P, g as Le, s as m, k as J, i as K, X as ze, x as D } from "./index-smzxfsyV.js";
3
3
  import { t as Se, u as Me } from "./useResponsive-DfdjqQps.js";
4
4
  import { u as Fe, B as Ie } from "./BaseScanner-BgWxam9d.js";
5
5
  import { u as Te } from "./useFitSvgText-2crs6Fv5.js";
6
- import { u as Q } from "./useNestedProp-QUe0ze7N.js";
6
+ import { u as Q } from "./useNestedProp-DeKmJzsE.js";
7
7
  import { u as Ee } from "./useChartAccessibility-9icAAmYg.js";
8
- import { _ as Ne } from "./Shape-B5nsWKct.js";
8
+ import { _ as Ne } from "./Shape-sVxD_SDm.js";
9
9
  import { _ as De } from "./_plugin-vue_export-helper-CHgC5LLL.js";
10
10
  const We = { key: 0 }, Ve = { key: 1 }, He = ["xmlns", "viewBox"], Oe = ["width", "height"], Re = ["id"], Be = ["stop-color"], Ue = ["stop-color"], Xe = ["id"], je = ["stop-color"], Ge = ["stop-color"], qe = ["id"], Ye = ["stop-color"], Pe = ["stop-color"], Je = ["height", "width", "fill", "x", "stroke", "stroke-width", "rx", "stroke-dasharray"], Ke = { key: 1 }, Qe = ["x", "y", "height", "width", "fill", "stroke", "stroke-width", "rx"], Ze = { key: 2 }, et = ["x", "y", "font-size", "font-weight", "fill"], tt = ["x", "y", "font-size", "fill"], lt = ["x", "y", "font-size", "fill"], at = ["height", "width", "x", "onMouseover", "onMouseleave", "onClick"], st = {
11
11
  __name: "vue-ui-sparkhistogram",
@@ -28,7 +28,7 @@ const We = { key: 0 }, Ve = { key: 1 }, He = ["xmlns", "viewBox"], Oe = ["width"
28
28
  pe((l) => ({
29
29
  c8e2d1ee: ve.value
30
30
  }));
31
- const te = me(() => import("./PackageVersion-BSXHahdf.js")), { vue_ui_sparkhistogram: le } = ke(), b = Z, _ = y(Ce()), W = y(null), V = y(null), M = y(null), C = y(null), w = y(null), e = y(T()), { loading: H, FINAL_DATASET: A } = Fe({
31
+ const te = me(() => import("./PackageVersion-BzGzkGiC.js")), { vue_ui_sparkhistogram: le } = ke(), b = Z, _ = y(Ce()), W = y(null), V = y(null), M = y(null), C = y(null), w = y(null), e = y(T()), { loading: H, FINAL_DATASET: A } = Fe({
32
32
  ...be(b),
33
33
  FINAL_CONFIG: e,
34
34
  prepareConfig: T,