vue-data-ui 3.0.0-next.60 → 3.0.0-next.61

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 (91) hide show
  1. package/dist/{Arrow-Dt0ZxTK2.js → Arrow-CTQyTL3_.js} +1 -1
  2. package/dist/{BaseDraggableDialog-Bl-2tw3H.js → BaseDraggableDialog-BmcSbNWl.js} +2 -2
  3. package/dist/{BaseIcon-C3ljqn8J.js → BaseIcon-E-K7hXbm.js} +1 -1
  4. package/dist/{ColorPicker-0d0whOB3.js → ColorPicker-BZSE2TU-.js} +2 -2
  5. package/dist/{DataTable-C_tJHvMd.js → DataTable-B5DjuhMR.js} +2 -2
  6. package/dist/{Legend-VD0VB7l7.js → Legend-zE2FGq08.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-DQsHc_AG.js → NonSvgPenAndPaper-DI_RgDTc.js} +3 -3
  8. package/dist/{PackageVersion-5S8ajCUS.js → PackageVersion-Bdp5L-7L.js} +1 -1
  9. package/dist/{PenAndPaper-D6wazxlT.js → PenAndPaper-AGK10PP8.js} +3 -3
  10. package/dist/{Shape-DDSX29LV.js → Shape-WLqGGUwB.js} +1 -1
  11. package/dist/{Slicer-D3SbIarX.js → Slicer-BztBbYcP.js} +2 -2
  12. package/dist/{SparkTooltip-BCdP3VDl.js → SparkTooltip-DJJKq5GE.js} +1 -1
  13. package/dist/{Title-DEKAfzRX.js → Title-C6NLfPnz.js} +1 -1
  14. package/dist/{Tooltip-DJlC-n25.js → Tooltip-p-yn5Kd2.js} +1 -1
  15. package/dist/{UserOptions-D2G7II3G.js → UserOptions-DWW9T1IK.js} +2 -2
  16. package/dist/{dom-to-png-Y0tASTWQ.js → dom-to-png-4P9Z65Z4.js} +1 -1
  17. package/dist/{img-ChLGv8nO.js → img-fg88maiR.js} +1 -1
  18. package/dist/{index-BLtc1AIS.js → index-BRenDuve.js} +71 -50
  19. package/dist/{pdf-DNiq-xsc.js → pdf-BuhR1JTC.js} +1 -1
  20. package/dist/style.css +1 -1
  21. package/dist/types/vue-data-ui.d.cts +12 -0
  22. package/dist/types/vue-data-ui.d.ts +12 -0
  23. package/dist/{useAutoSizeLabelsInsideViewbox-BJDcwsoB.js → useAutoSizeLabelsInsideViewbox-BkBqjBrr.js} +1 -1
  24. package/dist/{useNestedProp-DExlTpuj.js → useNestedProp-iKx-oGDH.js} +1 -1
  25. package/dist/{usePrinter-fqbzwh0l.js → usePrinter-Co_j432s.js} +2 -2
  26. package/dist/{vue-data-ui-B8bRwUEL.js → vue-data-ui-CUDfDclz.js} +64 -64
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/{vue-ui-3d-bar-Dddx5kJW.js → vue-ui-3d-bar-DWL8tnZS.js} +6 -6
  29. package/dist/{vue-ui-accordion-EMAj3Ykx.js → vue-ui-accordion-CYDiGhBw.js} +3 -3
  30. package/dist/{vue-ui-age-pyramid-CMzKOGfv.js → vue-ui-age-pyramid-d31eHPpI.js} +6 -6
  31. package/dist/{vue-ui-annotator-BQxXVdZW.js → vue-ui-annotator-dkOqfvKt.js} +2 -2
  32. package/dist/{vue-ui-bullet-DIie_6-T.js → vue-ui-bullet-D4tBc3eh.js} +7 -7
  33. package/dist/{vue-ui-candlestick-DU796IGE.js → vue-ui-candlestick-GoQ4LBVC.js} +7 -7
  34. package/dist/{vue-ui-carousel-table-xDItqzuw.js → vue-ui-carousel-table-Bp3MJfzX.js} +4 -4
  35. package/dist/{vue-ui-chestnut-DnQ494SU.js → vue-ui-chestnut-D3fzDYcV.js} +5 -5
  36. package/dist/{vue-ui-chord-DTs9gQ-R.js → vue-ui-chord-CntRIJ55.js} +8 -8
  37. package/dist/{vue-ui-circle-pack-D73gxFJW.js → vue-ui-circle-pack-BMuynHUs.js} +6 -6
  38. package/dist/{vue-ui-cursor-CNXTFeSs.js → vue-ui-cursor-KR7TU5mQ.js} +2 -2
  39. package/dist/{vue-ui-dashboard-Duph5Yta.js → vue-ui-dashboard-C6OQIu4w.js} +62 -62
  40. package/dist/{vue-ui-digits-D7qOSGZ-.js → vue-ui-digits-6KV8lh1Q.js} +2 -2
  41. package/dist/{vue-ui-donut-EfxITdHJ.js → vue-ui-donut-Dg0b9Sag.js} +8 -8
  42. package/dist/{vue-ui-donut-evolution-H6nfW_kx.js → vue-ui-donut-evolution-BqDGpZwn.js} +8 -8
  43. package/dist/{vue-ui-dumbbell-DCUR8kl_.js → vue-ui-dumbbell-BvTH-vpa.js} +7 -7
  44. package/dist/{vue-ui-flow-DUENWmgc.js → vue-ui-flow-DY0brMkH.js} +7 -7
  45. package/dist/{vue-ui-funnel-BSGUxWhW.js → vue-ui-funnel-Z2nxFAoy.js} +6 -6
  46. package/dist/{vue-ui-galaxy-D8PBQfbb.js → vue-ui-galaxy-Dho2szS3.js} +5 -5
  47. package/dist/{vue-ui-gauge-C8v8wKJO.js → vue-ui-gauge-0FV4JwS3.js} +7 -7
  48. package/dist/{vue-ui-gizmo-DmguslRh.js → vue-ui-gizmo-CxuU2BQY.js} +3 -3
  49. package/dist/{vue-ui-heatmap-BM5Gfdzz.js → vue-ui-heatmap-FFmRSZ9u.js} +7 -7
  50. package/dist/{vue-ui-history-plot-CF6SlpwK.js → vue-ui-history-plot-CUH155Yu.js} +7 -7
  51. package/dist/{vue-ui-kpi-BCyX-Zu-.js → vue-ui-kpi-Dmpm_ZZb.js} +3 -3
  52. package/dist/{vue-ui-mini-loader-ByMff4PK.js → vue-ui-mini-loader-DPsQQimr.js} +2 -2
  53. package/dist/{vue-ui-molecule-Cxnf2xDy.js → vue-ui-molecule-BNSTyoBk.js} +5 -5
  54. package/dist/{vue-ui-mood-radar-DEfJWXE7.js → vue-ui-mood-radar-Db-qlLKm.js} +7 -7
  55. package/dist/{vue-ui-nested-donuts-Bt7Pw9l0.js → vue-ui-nested-donuts-BMECUS7j.js} +9 -9
  56. package/dist/{vue-ui-onion-Bk3KL1Nk.js → vue-ui-onion-CARHtDjI.js} +8 -8
  57. package/dist/{vue-ui-parallel-coordinate-plot-BpKRlOYy.js → vue-ui-parallel-coordinate-plot-C7pL6x10.js} +8 -8
  58. package/dist/{vue-ui-quadrant-D1dgOAp2.js → vue-ui-quadrant-BdtVr-y2.js} +8 -8
  59. package/dist/{vue-ui-quick-chart-_I6OrH-J.js → vue-ui-quick-chart-D7uobNWx.js} +6 -6
  60. package/dist/{vue-ui-radar-BWnhxayf.js → vue-ui-radar-VoD-Lot7.js} +7 -7
  61. package/dist/{vue-ui-rating-I08lL1Nb.js → vue-ui-rating-DZ89nAiD.js} +2 -2
  62. package/dist/{vue-ui-relation-circle-CMF5FSha.js → vue-ui-relation-circle-B2z8YXgB.js} +6 -6
  63. package/dist/{vue-ui-ridgeline-prYrXNYF.js → vue-ui-ridgeline-DfFSJ747.js} +8 -8
  64. package/dist/{vue-ui-rings-DmbUIw9S.js → vue-ui-rings-Dyt5QafW.js} +8 -8
  65. package/dist/{vue-ui-scatter-srTVLcUK.js → vue-ui-scatter-BFFRDlp-.js} +8 -8
  66. package/dist/{vue-ui-skeleton-FanSnKr8.js → vue-ui-skeleton-DU2RLC8J.js} +3 -3
  67. package/dist/{vue-ui-smiley-CWA0Y6wM.js → vue-ui-smiley-Bud0unLv.js} +2 -2
  68. package/dist/{vue-ui-spark-trend-EiEzMoPj.js → vue-ui-spark-trend-BD6UWRMn.js} +3 -3
  69. package/dist/{vue-ui-sparkbar-CCe0U_o0.js → vue-ui-sparkbar-I4wpToMO.js} +3 -3
  70. package/dist/{vue-ui-sparkgauge-Cdcirik_.js → vue-ui-sparkgauge-Dih6jl_u.js} +3 -3
  71. package/dist/vue-ui-sparkhistogram-DBJcd-6V.js +444 -0
  72. package/dist/{vue-ui-sparkline-B2-YztKx.js → vue-ui-sparkline-B64MPZBB.js} +3 -3
  73. package/dist/{vue-ui-sparkstackbar-BGMtc_HC.js → vue-ui-sparkstackbar-CtdHM2gY.js} +3 -3
  74. package/dist/{vue-ui-stackbar-DrKaioRS.js → vue-ui-stackbar-Bee1NxIb.js} +9 -9
  75. package/dist/{vue-ui-strip-plot-C4qWoDEh.js → vue-ui-strip-plot-CmC5Byn1.js} +7 -7
  76. package/dist/{vue-ui-table-CXqyTj_Z.js → vue-ui-table-DyScQo_p.js} +3 -3
  77. package/dist/{vue-ui-table-heatmap-BZTn3qnM.js → vue-ui-table-heatmap-DLtEbgnG.js} +5 -5
  78. package/dist/{vue-ui-table-sparkline-CIBdN_KF.js → vue-ui-table-sparkline-CSOSu5lF.js} +4 -4
  79. package/dist/{vue-ui-thermometer-DPIpWKUI.js → vue-ui-thermometer-DvWCyvgp.js} +7 -7
  80. package/dist/{vue-ui-timer-Cha-Gb1x.js → vue-ui-timer-DIe7TbGV.js} +5 -5
  81. package/dist/{vue-ui-tiremarks-B4SjQyS7.js → vue-ui-tiremarks-DFAFKdig.js} +6 -6
  82. package/dist/{vue-ui-treemap-1twI_ag-.js → vue-ui-treemap-Car9RQI6.js} +8 -8
  83. package/dist/{vue-ui-vertical-bar-C31Jqkbw.js → vue-ui-vertical-bar-I05hhnAv.js} +9 -9
  84. package/dist/{vue-ui-waffle-DkZykFPK.js → vue-ui-waffle-DyY-UYli.js} +8 -8
  85. package/dist/{vue-ui-wheel-CYOrBHBD.js → vue-ui-wheel-Bb4GPN1q.js} +6 -6
  86. package/dist/{vue-ui-word-cloud-Clyg0CRZ.js → vue-ui-word-cloud-8Xl-ixz8.js} +6 -6
  87. package/dist/{vue-ui-world-BYgMbS-e.js → vue-ui-world-DpgHCDon.js} +6 -6
  88. package/dist/{vue-ui-xy-BMszd4wZ.js → vue-ui-xy-B5GeHpC1.js} +9 -9
  89. package/dist/{vue-ui-xy-canvas-DwXvZ311.js → vue-ui-xy-canvas-CJpbS5qD.js} +8 -8
  90. package/package.json +1 -1
  91. package/dist/vue-ui-sparkhistogram-CEj9qz9m.js +0 -313
@@ -0,0 +1,444 @@
1
+ import { nextTick as Q, useCssVars as ge, computed as F, defineAsyncComponent as be, ref as p, toRefs as me, onMounted as Z, watch as ee, createElementBlock as o, openBlock as a, normalizeStyle as R, createCommentVNode as h, createBlock as te, createElementVNode as m, createTextVNode as _e, toDisplayString as A, unref as d, createVNode as xe, renderSlot as le, Fragment as f, renderList as g, normalizeClass as ae } from "vue";
2
+ import { u as ke, c as Ce, t as Ae, b as we, o as ze, f as se, g as Se, s as w, k as oe, i as ie, X as $e, x as K } from "./index-BRenDuve.js";
3
+ import { t as Le, u as Me } from "./useResponsive-DfdjqQps.js";
4
+ import { u as Fe, B as Ne } from "./useLoading-Bt5Doa8m.js";
5
+ import { u as ne } from "./useNestedProp-iKx-oGDH.js";
6
+ import { u as Te } from "./useChartAccessibility-9icAAmYg.js";
7
+ import { _ as Ee } from "./Shape-WLqGGUwB.js";
8
+ import { _ as Ie } from "./_plugin-vue_export-helper-CHgC5LLL.js";
9
+ function De({
10
+ svgRef: U,
11
+ unitWidth: X,
12
+ fontSize: j = 12,
13
+ step: q = 0.5,
14
+ maxIterations: _ = 60,
15
+ hideUnderMin: x = !0
16
+ }) {
17
+ const S = /* @__PURE__ */ new WeakMap(), N = (i) => {
18
+ if (typeof i == "number") return i;
19
+ if (!i) return NaN;
20
+ const c = parseFloat(String(i).replace("px", ""));
21
+ return Number.isFinite(c) ? c : NaN;
22
+ }, $ = (i) => {
23
+ const c = N(i.getAttribute("font-size"));
24
+ if (Number.isFinite(c)) return c;
25
+ const k = window.getComputedStyle(i);
26
+ return N(k.fontSize) || j;
27
+ }, y = (i, c) => {
28
+ i.setAttribute("font-size", String(c));
29
+ }, L = (i) => {
30
+ if (S.has(i))
31
+ y(i, S.get(i));
32
+ else {
33
+ const c = $(i);
34
+ S.set(i, c), y(i, c);
35
+ }
36
+ }, e = (i) => {
37
+ try {
38
+ return i.getBBox().width || 0;
39
+ } catch {
40
+ return 0;
41
+ }
42
+ };
43
+ return {
44
+ fitText: async (i, c = 6) => {
45
+ await Q();
46
+ const k = U?.value;
47
+ if (!k) return;
48
+ const T = k.querySelectorAll(i);
49
+ if (!T.length) return;
50
+ const C = Math.max(0, X.value);
51
+ if (C <= 0) return;
52
+ const z = [];
53
+ T.forEach((s) => {
54
+ const E = s.style.display, W = s.style.opacity;
55
+ s.style.display = "", s.style.opacity = "0", L(s);
56
+ let r = e(s), I = $(s), v = I, B = 0;
57
+ if (r <= C)
58
+ z.push({ el: s, finalSize: I, fits: !0 });
59
+ else {
60
+ for (; r > C && v > c && B < _; )
61
+ v = Math.max(c, v - q), y(s, v), r = e(s), B += 1;
62
+ const P = r <= C && v > c;
63
+ z.push({ el: s, finalSize: v, fits: P }), y(s, I);
64
+ }
65
+ s.style.display = E, s.style.opacity = W;
66
+ });
67
+ const D = x && z.some((s) => !s.fits);
68
+ z.forEach(({ el: s, finalSize: E, fits: W }) => {
69
+ D ? s.style.display = "none" : (s.style.display = "", y(s, E));
70
+ });
71
+ }
72
+ };
73
+ }
74
+ const We = { key: 0 }, Be = { key: 1 }, He = ["xmlns", "viewBox"], Oe = ["width", "height"], Ve = ["id"], Re = ["stop-color"], Ue = ["stop-color"], Xe = ["id"], je = ["stop-color"], qe = ["stop-color"], Ge = ["id"], Pe = ["stop-color"], Ye = ["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 = {
75
+ __name: "vue-ui-sparkhistogram",
76
+ props: {
77
+ config: {
78
+ type: Object,
79
+ default() {
80
+ return {};
81
+ }
82
+ },
83
+ dataset: {
84
+ type: Array,
85
+ default() {
86
+ return [];
87
+ }
88
+ }
89
+ },
90
+ emits: ["selectDatapoint"],
91
+ setup(U, { emit: X }) {
92
+ ge((l) => ({
93
+ c8e2d1ee: ve.value
94
+ }));
95
+ const j = be(() => import("./PackageVersion-Bdp5L-7L.js")), { vue_ui_sparkhistogram: q } = ke(), _ = U, x = p(Ce()), S = p(null), N = p(null), $ = p(null), y = p(null), L = p(null), e = p(C()), { loading: G, FINAL_DATASET: i } = Fe({
96
+ ...me(_),
97
+ FINAL_CONFIG: e,
98
+ prepareConfig: C,
99
+ skeletonDataset: [
100
+ { value: 1, intensity: 0.2, color: "#CACACA" },
101
+ { value: 2, intensity: 0.3, color: "#CACACA" },
102
+ { value: 3, intensity: 0.5, color: "#CACACA" },
103
+ { value: 5, intensity: 0.7, color: "#CACACA" },
104
+ { value: 8, intensity: 0.9, color: "#CACACA" },
105
+ { value: 13, intensity: 0.95, color: "#CACACA" },
106
+ { value: 21, intensity: 1, color: "#CACACA" },
107
+ { value: 13, intensity: 0.95, color: "#CACACA" },
108
+ { value: 8, intensity: 0.9, color: "#CACACA" },
109
+ { value: 5, intensity: 0.7, color: "#CACACA" },
110
+ { value: 3, intensity: 0.5, color: "#CACACA" },
111
+ { value: 2, intensity: 0.3, color: "#CACACA" },
112
+ { value: 1, intensity: 0.2, color: "#CACACA" }
113
+ ],
114
+ skeletonConfig: Ae({
115
+ defaultConfig: e.value,
116
+ userConfig: {
117
+ style: {
118
+ animation: { show: !1 },
119
+ backgroundColor: "#99999930"
120
+ }
121
+ }
122
+ })
123
+ }), c = p(e.value.style.layout.width), k = p(e.value.style.layout.height), { svgRef: T } = Te({ config: e.value.style.title });
124
+ function C() {
125
+ const l = ne({
126
+ userConfig: _.config,
127
+ defaultConfig: q
128
+ });
129
+ return l.theme ? {
130
+ ...ne({
131
+ userConfig: we.vue_ui_sparkhistogram[l.theme] || _.config,
132
+ defaultConfig: l
133
+ })
134
+ } : l;
135
+ }
136
+ Z(() => {
137
+ D();
138
+ });
139
+ const z = F(() => !!e.value.debug);
140
+ function D() {
141
+ if (ze(_.dataset) ? se({
142
+ componentName: "VueUiSparkHistogram",
143
+ type: "dataset",
144
+ debug: z.value
145
+ }) : _.dataset.forEach((l, n) => {
146
+ Se({
147
+ datasetObject: l,
148
+ requiredAttributes: ["value"]
149
+ }).forEach((t) => {
150
+ se({
151
+ componentName: "VueUiSparkHistogram",
152
+ type: "datasetSerieAttribute",
153
+ property: t,
154
+ index: n,
155
+ debug: z.value
156
+ });
157
+ });
158
+ }), e.value.responsive) {
159
+ const l = Le(() => {
160
+ const { width: n, height: t } = Me({
161
+ chart: $.value,
162
+ title: e.value.style.title.text ? N.value : null,
163
+ source: S.value
164
+ });
165
+ requestAnimationFrame(() => {
166
+ c.value = Math.max(10, n), k.value = Math.max(10, t - 12);
167
+ });
168
+ });
169
+ y.value && (L.value && y.value.unobserve(L.value), y.value.disconnect()), y.value = new ResizeObserver(l), L.value = $.value.parentNode, y.value.observe(L.value);
170
+ }
171
+ }
172
+ ee(() => _.config, (l) => {
173
+ e.value = C(), D();
174
+ }, { deep: !0 });
175
+ const s = F(() => {
176
+ const l = k.value, n = c.value, t = e.value.style.layout.padding.top, u = l - e.value.style.layout.padding.bottom, b = e.value.style.layout.padding.left, H = n - e.value.style.layout.padding.right, O = t + (l - t - e.value.style.layout.padding.bottom) / 2, Y = l - e.value.style.layout.padding.top - e.value.style.layout.padding.bottom, V = n - e.value.style.layout.padding.left - e.value.style.layout.padding.right;
177
+ return {
178
+ bottom: u,
179
+ centerY: O,
180
+ drawingHeight: Y,
181
+ drawingWidth: V,
182
+ height: l,
183
+ left: b,
184
+ right: H,
185
+ top: t,
186
+ width: n
187
+ };
188
+ }), E = F(() => Math.max(...i.value.map((l) => Math.abs(l.value || 0))));
189
+ function W(l) {
190
+ return Math.abs(l) / E.value;
191
+ }
192
+ const r = F(() => i.value.map((l, n) => {
193
+ const t = W(l.value || 0), u = s.value.drawingHeight * t, b = s.value.drawingWidth / i.value.length, H = b * (e.value.style.bars.gap / 100), O = b - H, Y = s.value.centerY - u / 2, V = s.value.left + (H / 2 + n * b), de = s.value.left + n * b, J = typeof l.intensity > "u" ? 100 : Math.round(l.intensity * 100), ye = l.color ? l.color : l.value >= 0 ? w(e.value.style.bars.colors.positive, J) : w(e.value.style.bars.colors.negative, J), he = l.color ? l.color : l.value >= 0 ? e.value.style.bars.colors.positive : e.value.style.bars.colors.negative, fe = l.color ? `url(#gradient_datapoint_${n}_${x.value})` : l.value >= 0 ? `url(#gradient_positive_${n}_${x.value})` : `url(#gradient_negative_${n}_${x.value})`, pe = V + O / 2;
194
+ return {
195
+ ...l,
196
+ color: ye,
197
+ gradient: fe,
198
+ height: u,
199
+ intensity: J,
200
+ proportion: t,
201
+ stroke: he,
202
+ textAnchor: pe,
203
+ trapX: de,
204
+ unitWidth: b,
205
+ width: O,
206
+ x: V,
207
+ y: Y
208
+ };
209
+ }));
210
+ function I(l, n) {
211
+ return oe(
212
+ e.value.style.labels.value.formatter,
213
+ l.value,
214
+ ie({
215
+ p: e.value.style.labels.value.prefix,
216
+ v: l.value,
217
+ s: e.value.style.labels.value.suffix,
218
+ r: e.value.style.labels.value.rounding
219
+ }),
220
+ { datapoint: l, seriesIndex: n }
221
+ );
222
+ }
223
+ const v = p(null), B = X;
224
+ function P(l, n) {
225
+ B("selectDatapoint", { datapoint: l, index: n }), e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: l, seriesIndex: n });
226
+ }
227
+ function ue(l, n) {
228
+ v.value = n, e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: l, seriesIndex: n });
229
+ }
230
+ function re(l, n) {
231
+ v.value = null, e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: l, seriesIndex: n });
232
+ }
233
+ const ve = F(() => `${e.value.style.animation.speedMs}ms`), ce = F(() => s.value.drawingWidth / i.value.length * 0.9), { fitText: M } = De({
234
+ svgRef: T,
235
+ unitWidth: ce
236
+ });
237
+ return Z(async () => {
238
+ await Q(), M(".vue-ui-sparkhistogram-top-label", e.value.style.labels.value.minFontSize), M(".vue-ui-sparkhistogram-bottom-label", e.value.style.labels.valueLabel.minFontSize), M(".vue-ui-sparkhistogram-time-label", e.value.style.labels.timeLabel.minFontSize);
239
+ }), ee([c, k, () => i.value], async () => {
240
+ await Q(), M(".vue-ui-sparkhistogram-top-label", e.value.style.labels.value.minFontSize), M(".vue-ui-sparkhistogram-bottom-label", e.value.style.labels.valueLabel.minFontSize), M(".vue-ui-sparkhistogram-time-label", e.value.style.labels.timeLabel.minFontSize);
241
+ }), (l, n) => (a(), o("div", {
242
+ class: "vue-ui-spark-histogram",
243
+ ref_key: "histogramChart",
244
+ ref: $,
245
+ style: R(`width:100%;background:${e.value.style.backgroundColor};font-family:${e.value.style.fontFamily}`),
246
+ onMouseleave: n[0] || (n[0] = (t) => v.value = null)
247
+ }, [
248
+ e.value.style.title.text ? (a(), o("div", {
249
+ key: 0,
250
+ ref_key: "chartTitle",
251
+ ref: N,
252
+ style: R(`width:calc(100% - 12px);background:transparent;margin:0 auto;margin:${e.value.style.title.margin};padding: 0 6px;text-align:${e.value.style.title.textAlign}`)
253
+ }, [
254
+ m("div", {
255
+ style: R(`font-size:${e.value.style.title.fontSize}px;color:${e.value.style.title.color};font-weight:${e.value.style.title.bold ? "bold" : "normal"}`)
256
+ }, [
257
+ _e(A(e.value.style.title.text) + " ", 1),
258
+ v.value !== null ? (a(), o("span", We, "- " + A(r.value[v.value].timeLabel || "") + " " + A(d(oe)(
259
+ e.value.style.labels.value.formatter,
260
+ r.value[v.value].value,
261
+ d(ie)({
262
+ p: e.value.style.labels.value.prefix,
263
+ v: r.value[v.value].value,
264
+ s: e.value.style.labels.value.suffix,
265
+ r: e.value.style.labels.value.rounding
266
+ }),
267
+ { datapoint: r.value[v.value], seriesIndex: v.value }
268
+ )), 1)) : h("", !0),
269
+ ![void 0, null].includes(v.value) && ![null, void 0].includes(r.value[v.value].valueLabel) ? (a(), o("span", Be, "(" + A(r.value[v.value].valueLabel || 0) + ")", 1)) : h("", !0)
270
+ ], 4),
271
+ e.value.style.title.subtitle.text ? (a(), o("div", {
272
+ key: 0,
273
+ style: R(`font-size:${e.value.style.title.subtitle.fontSize}px;color:${e.value.style.title.subtitle.color};font-weight:${e.value.style.title.subtitle.bold ? "bold" : "normal"}`)
274
+ }, A(e.value.style.title.subtitle.text), 5)) : h("", !0)
275
+ ], 4)) : h("", !0),
276
+ (a(), o("svg", {
277
+ ref_key: "svgRef",
278
+ ref: T,
279
+ xmlns: d($e),
280
+ viewBox: `0 0 ${s.value.width} ${s.value.height}`,
281
+ style: { overflow: "visible" }
282
+ }, [
283
+ xe(d(j)),
284
+ l.$slots["chart-background"] ? (a(), o("foreignObject", {
285
+ key: 0,
286
+ x: 0,
287
+ y: 0,
288
+ width: s.value.width,
289
+ height: s.value.height,
290
+ style: {
291
+ pointerEvents: "none"
292
+ }
293
+ }, [
294
+ le(l.$slots, "chart-background", {}, void 0, !0)
295
+ ], 8, Oe)) : h("", !0),
296
+ m("defs", null, [
297
+ (a(!0), o(f, null, g(r.value, (t, u) => (a(), o("radialGradient", {
298
+ id: `gradient_positive_${u}_${x.value}`,
299
+ cy: "50%",
300
+ cx: "50%",
301
+ r: "50%",
302
+ fx: "50%",
303
+ fy: "50%"
304
+ }, [
305
+ m("stop", {
306
+ offset: "0%",
307
+ "stop-color": d(w)(d(K)(e.value.style.bars.colors.positive, 0.05), t.intensity)
308
+ }, null, 8, Re),
309
+ m("stop", {
310
+ offset: "100%",
311
+ "stop-color": d(w)(e.value.style.bars.colors.positive, t.intensity)
312
+ }, null, 8, Ue)
313
+ ], 8, Ve))), 256)),
314
+ (a(!0), o(f, null, g(r.value, (t, u) => (a(), o("radialGradient", {
315
+ id: `gradient_negative_${u}_${x.value}`,
316
+ cy: "50%",
317
+ cx: "50%",
318
+ r: "50%",
319
+ fx: "50%",
320
+ fy: "50%"
321
+ }, [
322
+ m("stop", {
323
+ offset: "0%",
324
+ "stop-color": d(w)(d(K)(e.value.style.bars.colors.negative, 0.05), t.intensity)
325
+ }, null, 8, je),
326
+ m("stop", {
327
+ offset: "100%",
328
+ "stop-color": d(w)(e.value.style.bars.colors.negative, t.intensity)
329
+ }, null, 8, qe)
330
+ ], 8, Xe))), 256)),
331
+ (a(!0), o(f, null, g(r.value, (t, u) => (a(), o("radialGradient", {
332
+ id: `gradient_datapoint_${u}_${x.value}`,
333
+ cy: "50%",
334
+ cx: "50%",
335
+ r: "50%",
336
+ fx: "50%",
337
+ fy: "50%"
338
+ }, [
339
+ m("stop", {
340
+ offset: "0%",
341
+ "stop-color": d(w)(d(K)(t.color, 0.05), t.intensity)
342
+ }, null, 8, Pe),
343
+ m("stop", {
344
+ offset: "100%",
345
+ "stop-color": d(w)(t.color, t.intensity)
346
+ }, null, 8, Ye)
347
+ ], 8, Ge))), 256))
348
+ ]),
349
+ (a(!0), o(f, null, g(r.value, (t, u) => (a(), o("g", null, [
350
+ v.value !== null && v.value === u ? (a(), o("rect", {
351
+ key: 0,
352
+ height: s.value.height,
353
+ width: t.unitWidth,
354
+ fill: e.value.style.selector.fill,
355
+ x: t.trapX,
356
+ y: 0,
357
+ stroke: e.value.style.selector.stroke,
358
+ "stroke-width": e.value.style.selector.strokeWidth,
359
+ rx: e.value.style.selector.borderRadius,
360
+ "stroke-dasharray": e.value.style.selector.strokeDasharray
361
+ }, null, 8, Je)) : h("", !0)
362
+ ]))), 256)),
363
+ !e.value.style.bars.shape || e.value.style.bars.shape === "square" ? (a(), o("g", Ke, [
364
+ (a(!0), o(f, null, g(r.value, (t, u) => (a(), o("rect", {
365
+ x: t.x,
366
+ y: t.y,
367
+ height: t.height,
368
+ width: t.width,
369
+ fill: e.value.style.bars.colors.gradient.show ? t.gradient : t.color,
370
+ stroke: t.stroke,
371
+ "stroke-width": e.value.style.bars.strokeWidth,
372
+ rx: `${e.value.style.bars.borderRadius * t.proportion / 12}%`,
373
+ class: ae({ "vue-ui-sparkhistogram-shape": e.value.style.animation.show })
374
+ }, null, 10, Qe))), 256))
375
+ ])) : (a(), o("g", Ze, [
376
+ (a(!0), o(f, null, g(r.value, (t, u) => (a(), te(Ee, {
377
+ plot: { x: t.x + t.width / 2, y: t.y + t.height / 2 },
378
+ color: e.value.style.bars.colors.gradient.show ? t.gradient : t.color,
379
+ shape: e.value.style.bars.shape,
380
+ radius: Math.min(t.height * 0.4, t.width * 0.4),
381
+ class: ae({ "vue-ui-sparkhistogram-shape": e.value.style.animation.show })
382
+ }, null, 8, ["plot", "color", "shape", "radius", "class"]))), 256))
383
+ ])),
384
+ d(G) ? h("", !0) : (a(), o(f, { key: 3 }, [
385
+ (a(!0), o(f, null, g(r.value, (t, u) => (a(), o("text", {
386
+ class: "vue-ui-sparkhistogram-top-label",
387
+ "text-anchor": "middle",
388
+ x: t.textAnchor,
389
+ y: t.y - e.value.style.labels.value.fontSize / 3 + e.value.style.labels.value.offsetY,
390
+ "font-size": e.value.style.labels.value.fontSize,
391
+ "font-weight": e.value.style.labels.value.bold ? "bold" : "normal",
392
+ fill: e.value.style.labels.value.color
393
+ }, A(I(t, u)), 9, et))), 256)),
394
+ (a(!0), o(f, null, g(r.value, (t, u) => (a(), o("g", null, [
395
+ t.valueLabel ? (a(), o("text", {
396
+ key: 0,
397
+ class: "vue-ui-sparkhistogram-bottom-label",
398
+ x: t.textAnchor,
399
+ y: t.y + t.height + e.value.style.labels.valueLabel.fontSize,
400
+ "font-size": e.value.style.labels.valueLabel.fontSize,
401
+ "text-anchor": "middle",
402
+ fill: e.value.style.labels.valueLabel.color
403
+ }, A(t.valueLabel), 9, tt)) : h("", !0)
404
+ ]))), 256)),
405
+ (a(!0), o(f, null, g(r.value, (t, u) => (a(), o("g", null, [
406
+ t.timeLabel ? (a(), o("text", {
407
+ key: 0,
408
+ class: "vue-ui-sparkhistogram-time-label",
409
+ x: t.textAnchor,
410
+ y: s.value.height - e.value.style.labels.timeLabel.fontSize / 2,
411
+ "font-size": e.value.style.labels.timeLabel.fontSize,
412
+ fill: e.value.style.labels.timeLabel.color,
413
+ "text-anchor": "middle"
414
+ }, A(t.timeLabel), 9, lt)) : h("", !0)
415
+ ]))), 256))
416
+ ], 64)),
417
+ (a(!0), o(f, null, g(r.value, (t, u) => (a(), o("g", null, [
418
+ m("rect", {
419
+ height: s.value.height,
420
+ width: t.unitWidth,
421
+ fill: "transparent",
422
+ x: t.trapX,
423
+ y: 0,
424
+ onMouseover: (b) => ue(t, u),
425
+ onMouseleave: (b) => re(t, u),
426
+ onClick: () => P(t, u)
427
+ }, null, 40, at)
428
+ ]))), 256))
429
+ ], 8, He)),
430
+ l.$slots.source ? (a(), o("div", {
431
+ key: 1,
432
+ ref_key: "source",
433
+ ref: S,
434
+ dir: "auto"
435
+ }, [
436
+ le(l.$slots, "source", {}, void 0, !0)
437
+ ], 512)) : h("", !0),
438
+ d(G) ? (a(), te(Ne, { key: 2 })) : h("", !0)
439
+ ], 36));
440
+ }
441
+ }, yt = /* @__PURE__ */ Ie(st, [["__scopeId", "data-v-f8e879db"]]);
442
+ export {
443
+ yt as default
444
+ };
@@ -1,6 +1,6 @@
1
1
  import { defineAsyncComponent as le, computed as h, ref as g, toRefs as $e, watch as ue, shallowRef as oe, onMounted as Ce, onBeforeUnmount as Me, createElementBlock as d, openBlock as r, normalizeStyle as V, renderSlot as M, createCommentVNode as y, createBlock as se, normalizeProps as ne, guardReactiveProps as re, createElementVNode as f, toDisplayString as z, unref as i, createVNode as Ie, Fragment as G, renderList as U, withCtx as Se, createTextVNode as Ve, nextTick as ze } from "vue";
2
- import { u as De, c as We, t as Pe, b as Re, C as ie, a7 as j, o as ve, f as de, g as Te, x as D, a8 as Ee, a9 as Oe, X as Be, s as W, V as ce, U as Fe, aa as he, k as X, i as Y, ab as Ge } from "./index-BLtc1AIS.js";
3
- import { u as ye } from "./useNestedProp-DExlTpuj.js";
2
+ import { u as De, c as We, t as Pe, b as Re, C as ie, a7 as j, o as ve, f as de, g as Te, x as D, a8 as Ee, a9 as Oe, X as Be, s as W, V as ce, U as Fe, aa as he, k as X, i as Y, ab as Ge } from "./index-BRenDuve.js";
3
+ import { u as ye } from "./useNestedProp-iKx-oGDH.js";
4
4
  import { t as Ue, u as je } from "./useResponsive-DfdjqQps.js";
5
5
  import { u as Xe } from "./useChartAccessibility-9icAAmYg.js";
6
6
  import { u as Ye, B as qe } from "./useLoading-Bt5Doa8m.js";
@@ -40,7 +40,7 @@ const Je = ["id"], Ke = ["xmlns", "viewBox"], Qe = ["width", "height"], et = ["i
40
40
  },
41
41
  emits: ["hoverIndex", "selectDatapoint"],
42
42
  setup(_, { emit: fe }) {
43
- const pe = le(() => import("./PackageVersion-5S8ajCUS.js")), ge = le(() => import("./SparkTooltip-BCdP3VDl.js")), { vue_ui_sparkline: be } = De(), n = _, q = h(() => Array.isArray(n.dataset) && n.dataset.length > 0), p = g(We()), P = g(null), Z = g(null), H = g(null), e = g(E());
43
+ const pe = le(() => import("./PackageVersion-Bdp5L-7L.js")), ge = le(() => import("./SparkTooltip-DJJKq5GE.js")), { vue_ui_sparkline: be } = De(), n = _, q = h(() => Array.isArray(n.dataset) && n.dataset.length > 0), p = g(We()), P = g(null), Z = g(null), H = g(null), e = g(E());
44
44
  function me(t) {
45
45
  return Ge(t).map((a) => ({ period: "-", value: a }));
46
46
  }
@@ -1,6 +1,6 @@
1
1
  import { defineAsyncComponent as X, useSlots as be, onMounted as J, ref as v, toRefs as ke, watch as K, computed as $, createElementBlock as r, openBlock as s, normalizeStyle as p, createCommentVNode as h, createVNode as Q, createBlock as _e, createElementVNode as d, toDisplayString as A, unref as c, Fragment as k, renderList as F, normalizeClass as N, withCtx as Z, renderSlot as R, normalizeProps as ee, guardReactiveProps as te } from "vue";
2
- import { u as xe, c as le, t as we, a as Ce, p as i, b as $e, e as D, d as Se, o as Ae, f as oe, g as Fe, i as U, X as De, s as ae, x as se, k as re, y as Ie } from "./index-BLtc1AIS.js";
3
- import { u as ne } from "./useNestedProp-DExlTpuj.js";
2
+ import { u as xe, c as le, t as we, a as Ce, p as i, b as $e, e as D, d as Se, o as Ae, f as oe, g as Fe, i as U, X as De, s as ae, x as se, k as re, y as Ie } from "./index-BRenDuve.js";
3
+ import { u as ne } from "./useNestedProp-iKx-oGDH.js";
4
4
  import { u as Pe } from "./useChartAccessibility-9icAAmYg.js";
5
5
  import { u as ze, B as Be } from "./useLoading-Bt5Doa8m.js";
6
6
  import { _ as Le } from "./_plugin-vue_export-helper-CHgC5LLL.js";
@@ -32,7 +32,7 @@ const Ne = ["xmlns", "viewBox"], Te = ["id"], Ee = ["stop-color"], Me = ["stop-c
32
32
  },
33
33
  emits: ["selectDatapoint"],
34
34
  setup(ue, { emit: ie }) {
35
- const ce = X(() => import("./PackageVersion-5S8ajCUS.js")), de = X(() => import("./Tooltip-DJlC-n25.js")), { vue_ui_sparkstackbar: ve } = xe(), _ = ue, pe = be();
35
+ const ce = X(() => import("./PackageVersion-Bdp5L-7L.js")), de = X(() => import("./Tooltip-p-yn5Kd2.js")), { vue_ui_sparkstackbar: ve } = xe(), _ = ue, pe = be();
36
36
  J(() => {
37
37
  pe["chart-background"] && console.warn("VueUiSparkStackbar does not support the #chart-background slot.");
38
38
  });
@@ -1,18 +1,18 @@
1
1
  import { defineAsyncComponent as te, useSlots as pa, computed as x, ref as b, onMounted as Ct, toRefs as xa, watch as De, shallowRef as _t, onBeforeUnmount as St, watchEffect as $t, nextTick as Tt, createElementBlock as o, openBlock as r, unref as v, normalizeStyle as Z, normalizeClass as ae, createBlock as K, createCommentVNode as y, renderSlot as L, createElementVNode as le, createVNode as xe, createSlots as Mt, withCtx as C, normalizeProps as H, guardReactiveProps as U, Fragment as g, renderList as m, mergeProps as Fe, toDisplayString as M, createTextVNode as ka } from "vue";
2
- import { u as wa, c as At, t as La, a as za, p as ke, b as Ca, C as se, d as _a, o as Nt, f as It, g as Sa, e as $a, ao as we, ad as Rt, D as Ot, X as Ta, l as Ma, aa as Le, F as Pt, k as ze, i as Q, I as Aa, a0 as Na, y as Vt, v as Ia, w as Ra, z as Oa } from "./index-BLtc1AIS.js";
2
+ import { u as wa, c as At, t as La, a as za, p as ke, b as Ca, C as se, d as _a, o as Nt, f as It, g as Sa, e as $a, ao as we, ad as Rt, D as Ot, X as Ta, l as Ma, aa as Le, F as Pt, k as ze, i as Q, I as Aa, a0 as Na, y as Vt, v as Ia, w as Ra, z as Oa } from "./index-BRenDuve.js";
3
3
  import { t as He, u as Pa } from "./useResponsive-DfdjqQps.js";
4
- import { u as Va } from "./usePrinter-fqbzwh0l.js";
4
+ import { u as Va } from "./usePrinter-Co_j432s.js";
5
5
  import { u as Ea, B as Da } from "./useLoading-Bt5Doa8m.js";
6
- import { u as Et } from "./useNestedProp-DExlTpuj.js";
6
+ import { u as Et } from "./useNestedProp-iKx-oGDH.js";
7
7
  import { u as Fa } from "./useTimeLabels-DkzmKfZn.js";
8
8
  import { u as Ha } from "./useUserOptionState-BIvW1Kz7.js";
9
9
  import { u as Ua } from "./useChartAccessibility-9icAAmYg.js";
10
10
  import { u as Ba } from "./useTimeLabelCollider-CIsgDrl9.js";
11
- import Wa from "./img-ChLGv8nO.js";
12
- import Ya from "./Title-DEKAfzRX.js";
13
- import { _ as Xa } from "./Shape-DDSX29LV.js";
14
- import Ga from "./Legend-VD0VB7l7.js";
15
- import { S as Ja } from "./Slicer-D3SbIarX.js";
11
+ import Wa from "./img-fg88maiR.js";
12
+ import Ya from "./Title-C6NLfPnz.js";
13
+ import { _ as Xa } from "./Shape-WLqGGUwB.js";
14
+ import Ga from "./Legend-zE2FGq08.js";
15
+ import { S as Ja } from "./Slicer-BztBbYcP.js";
16
16
  import { _ as qa } from "./_plugin-vue_export-helper-CHgC5LLL.js";
17
17
  const Za = ["id"], Ka = ["xmlns", "viewBox"], Qa = ["x", "y", "width", "height"], ja = { key: 1 }, el = ["id"], tl = ["stop-color"], al = ["stop-color"], ll = ["stop-color"], sl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], rl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], ol = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], il = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], nl = { key: 0 }, ul = ["x", "y", "height", "rx", "width", "fill", "stroke", "stroke-width"], cl = { key: 0 }, hl = ["x", "y", "height", "rx", "width", "fill", "stroke", "stroke-width"], vl = ["x", "y", "width", "rx", "height", "fill", "stroke", "stroke-width"], dl = { key: 0 }, yl = ["x", "y", "width", "rx", "height", "fill", "stroke", "stroke-width"], gl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], bl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], fl = ["x", "y", "font-size", "fill", "font-weight"], ml = ["transform", "font-size", "fill", "font-weight"], pl = ["x", "y", "font-size", "fill", "font-weight"], xl = ["x", "y", "font-size", "font-weight", "fill"], kl = ["x", "y", "font-size", "fill", "font-weight"], wl = ["x", "y", "font-size", "font-weight", "fill"], Ll = ["x1", "x2", "y1", "y2", "stroke"], zl = ["x", "y", "font-size", "font-weight", "fill"], Cl = ["x1", "x2", "y1", "y2", "stroke"], _l = ["font-size", "font-weight", "fill", "text-anchor", "transform"], Sl = { key: 0 }, $l = { key: 1 }, Tl = ["text-anchor", "font-size", "font-weight", "fill", "transform", "onClick"], Ml = ["text-anchor", "font-size", "fill", "transform", "innerHTML", "onClick"], Al = { key: 0 }, Nl = { key: 1 }, Il = ["font-size", "font-weight", "fill", "x", "y", "onClick"], Rl = ["font-size", "font-weight", "fill", "x", "y", "onClick", "innerHTML"], Ol = ["x", "y", "width", "height", "onClick", "onMouseenter", "onMouseleave", "fill"], Pl = ["x", "y", "width", "height", "onClick", "onMouseenter", "onMouseleave", "fill"], Vl = {
18
18
  key: 3,
@@ -35,7 +35,7 @@ const Za = ["id"], Ka = ["xmlns", "viewBox"], Qa = ["x", "y", "width", "height"]
35
35
  },
36
36
  emits: ["selectDatapoint", "selectLegend", "selectTimeLabel"],
37
37
  setup(Ce, { expose: Dt, emit: Ft }) {
38
- const Ht = te(() => import("./Tooltip-DJlC-n25.js")), Ut = te(() => import("./vue-ui-accordion-EMAj3Ykx.js")), Bt = te(() => import("./DataTable-C_tJHvMd.js")), Wt = te(() => import("./PenAndPaper-D6wazxlT.js")), Yt = te(() => import("./UserOptions-D2G7II3G.js")), Xt = te(() => import("./PackageVersion-5S8ajCUS.js")), { vue_ui_stackbar: Gt } = wa(), Jt = pa(), f = Ce, _e = Ft, Se = x({
38
+ const Ht = te(() => import("./Tooltip-p-yn5Kd2.js")), Ut = te(() => import("./vue-ui-accordion-CYDiGhBw.js")), Bt = te(() => import("./DataTable-B5DjuhMR.js")), Wt = te(() => import("./PenAndPaper-AGK10PP8.js")), Yt = te(() => import("./UserOptions-DWW9T1IK.js")), Xt = te(() => import("./PackageVersion-Bdp5L-7L.js")), { vue_ui_stackbar: Gt } = wa(), Jt = pa(), f = Ce, _e = Ft, Se = x({
39
39
  get() {
40
40
  return !!f.dataset && f.dataset.length;
41
41
  },
@@ -1,15 +1,15 @@
1
1
  import { defineAsyncComponent as I, computed as p, ref as v, toRefs as gt, watch as ce, shallowRef as Ee, onMounted as xt, onBeforeUnmount as Ge, watchEffect as kt, createElementBlock as n, openBlock as r, unref as i, normalizeStyle as j, normalizeClass as W, createBlock as T, createCommentVNode as c, createVNode as Be, createSlots as wt, withCtx as b, renderSlot as y, normalizeProps as M, guardReactiveProps as F, createElementVNode as k, Fragment as m, renderList as C, toDisplayString as S, mergeProps as At, createTextVNode as Lt, nextTick as Ct } from "vue";
2
- import { u as _t, c as he, t as $t, a as Tt, p as O, b as St, o as He, f as de, g as Ve, d as Ot, e as Ue, h as zt, D as Pt, i as Y, X as Nt, k as pe, ac as Xe, I as It, l as Mt, j as Ft, y as je, E as Dt, v as Rt, w as Wt, z as Et } from "./index-BLtc1AIS.js";
2
+ import { u as _t, c as he, t as $t, a as Tt, p as O, b as St, o as He, f as de, g as Ve, d as Ot, e as Ue, h as zt, D as Pt, i as Y, X as Nt, k as pe, ac as Xe, I as It, l as Mt, j as Ft, y as je, E as Dt, v as Rt, w as Wt, z as Et } from "./index-BRenDuve.js";
3
3
  import { t as Ye, u as Gt } from "./useResponsive-DfdjqQps.js";
4
4
  import { u as Bt, B as Ht } from "./useLoading-Bt5Doa8m.js";
5
- import { u as Vt } from "./usePrinter-fqbzwh0l.js";
6
- import { u as qe } from "./useNestedProp-DExlTpuj.js";
5
+ import { u as Vt } from "./usePrinter-Co_j432s.js";
6
+ import { u as qe } from "./useNestedProp-iKx-oGDH.js";
7
7
  import { u as Ut } from "./useUserOptionState-BIvW1Kz7.js";
8
8
  import { u as Xt } from "./useChartAccessibility-9icAAmYg.js";
9
9
  import { u as jt } from "./useTimeLabelCollider-CIsgDrl9.js";
10
- import Yt from "./img-ChLGv8nO.js";
11
- import { _ as qt } from "./Shape-DDSX29LV.js";
12
- import Jt from "./Title-DEKAfzRX.js";
10
+ import Yt from "./img-fg88maiR.js";
11
+ import { _ as qt } from "./Shape-WLqGGUwB.js";
12
+ import Jt from "./Title-C6NLfPnz.js";
13
13
  import { _ as Kt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
14
14
  const Qt = ["id"], Zt = ["xmlns", "viewBox"], el = ["x", "y", "width", "height"], tl = { key: 1 }, ll = { key: 0 }, al = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], ol = { key: 1 }, sl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], rl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ul = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], nl = ["x", "y", "fill", "font-size"], il = ["transform", "font-size", "fill", "text-anchor"], vl = ["transform", "font-size", "fill", "text-anchor", "innerHTML"], cl = ["fill", "font-size", "transform"], hl = ["fill", "font-size", "x", "y"], dl = ["x1", "x2", "y1", "y2", "stroke"], pl = ["cx", "cy", "fill"], fl = ["cx", "cy", "fill"], yl = ["id"], bl = ["stop-color"], ml = ["stop-color"], gl = ["stop-color"], xl = { key: 0 }, kl = ["x", "y", "font-size", "fill"], wl = {
15
15
  key: 4,
@@ -32,7 +32,7 @@ const Qt = ["id"], Zt = ["xmlns", "viewBox"], el = ["x", "y", "width", "height"]
32
32
  },
33
33
  emits: ["selectDatapoint"],
34
34
  setup(Je, { expose: Ke, emit: Qe }) {
35
- const Ze = I(() => import("./Tooltip-DJlC-n25.js")), et = I(() => import("./vue-ui-accordion-EMAj3Ykx.js")), tt = I(() => import("./DataTable-C_tJHvMd.js")), lt = I(() => import("./UserOptions-D2G7II3G.js")), at = I(() => import("./PenAndPaper-D6wazxlT.js")), ot = I(() => import("./PackageVersion-5S8ajCUS.js")), { vue_ui_strip_plot: st } = _t(), g = Je, rt = Qe, E = p({
35
+ const Ze = I(() => import("./Tooltip-p-yn5Kd2.js")), et = I(() => import("./vue-ui-accordion-CYDiGhBw.js")), tt = I(() => import("./DataTable-B5DjuhMR.js")), lt = I(() => import("./UserOptions-DWW9T1IK.js")), at = I(() => import("./PenAndPaper-AGK10PP8.js")), ot = I(() => import("./PackageVersion-Bdp5L-7L.js")), { vue_ui_strip_plot: st } = _t(), g = Je, rt = Qe, E = p({
36
36
  get() {
37
37
  return !!g.dataset && g.dataset.length;
38
38
  },
@@ -1,6 +1,6 @@
1
- import { a8 as P, t as z, l as T, w as U, i as V, j as X, v as j, A as Y, e as W, F as J, u as K, p as Z } from "./index-BLtc1AIS.js";
2
- import q from "./vue-ui-xy-BMszd4wZ.js";
3
- import Q from "./vue-ui-donut-EfxITdHJ.js";
1
+ import { a8 as P, t as z, l as T, w as U, i as V, j as X, v as j, A as Y, e as W, F as J, u as K, p as Z } from "./index-BRenDuve.js";
2
+ import q from "./vue-ui-xy-B5GeHpC1.js";
3
+ import Q from "./vue-ui-donut-Dg0b9Sag.js";
4
4
  import { resolveComponent as x, createElementBlock as u, openBlock as c, normalizeStyle as g, createElementVNode as a, createCommentVNode as b, toDisplayString as d, Fragment as I, renderList as _, normalizeClass as p, createTextVNode as w, withDirectives as O, vModelText as S, withKeys as L, withModifiers as A, vModelSelect as $, createBlock as E, createVNode as ee } from "vue";
5
5
  import { _ as te } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
6
  const se = {
@@ -1,9 +1,9 @@
1
1
  import { useCssVars as ae, computed as c, defineAsyncComponent as oe, ref as h, useSlots as se, onMounted as z, watch as ne, createElementBlock as r, openBlock as n, unref as i, normalizeClass as E, normalizeStyle as C, createBlock as le, createCommentVNode as v, createElementVNode as g, createSlots as re, withCtx as b, renderSlot as u, normalizeProps as G, guardReactiveProps as B, Fragment as k, renderList as w, mergeProps as f, createVNode as ue, nextTick as ie } from "vue";
2
- import { u as de, c as A, b as pe, o as ce, f as ve, a9 as me, F as fe, P as he, v as ge, w as be } from "./index-BLtc1AIS.js";
3
- import { u as H } from "./useNestedProp-DExlTpuj.js";
4
- import { u as ye } from "./usePrinter-fqbzwh0l.js";
2
+ import { u as de, c as A, b as pe, o as ce, f as ve, a9 as me, F as fe, P as he, v as ge, w as be } from "./index-BRenDuve.js";
3
+ import { u as H } from "./useNestedProp-iKx-oGDH.js";
4
+ import { u as ye } from "./usePrinter-Co_j432s.js";
5
5
  import { u as Ce } from "./useUserOptionState-BIvW1Kz7.js";
6
- import { _ as ke } from "./Shape-DDSX29LV.js";
6
+ import { _ as ke } from "./Shape-WLqGGUwB.js";
7
7
  import { _ as _e } from "./_plugin-vue_export-helper-CHgC5LLL.js";
8
8
  const Ie = ["id"], $e = { role: "cell" }, we = { role: "row" }, Oe = ["data-cell"], Fe = {
9
9
  key: 0,
@@ -45,7 +45,7 @@ const Ie = ["id"], $e = { role: "cell" }, we = { role: "row" }, Oe = ["data-cell
45
45
  "8f8e7142": ee.value,
46
46
  cb3b028c: j.value
47
47
  }));
48
- const X = oe(() => import("./UserOptions-D2G7II3G.js")), { vue_ui_table_heatmap: W } = de(), m = D, _ = h(A()), d = h(!1), y = h(null), I = h(!1), O = h(0), q = se();
48
+ const X = oe(() => import("./UserOptions-DWW9T1IK.js")), { vue_ui_table_heatmap: W } = de(), m = D, _ = h(A()), d = h(!1), y = h(null), I = h(!1), O = h(0), q = se();
49
49
  z(() => {
50
50
  q["chart-background"] && console.warn("VueUiTableHeatmap does not support the #chart-background slot.");
51
51
  });
@@ -1,7 +1,7 @@
1
1
  import { useCssVars as Fe, defineAsyncComponent as J, ref as p, useSlots as Ve, onMounted as me, computed as _, watch as be, shallowRef as Te, onBeforeUnmount as We, createElementBlock as c, openBlock as v, unref as u, normalizeClass as K, createCommentVNode as g, createElementVNode as f, normalizeStyle as r, toDisplayString as C, withDirectives as Me, createVNode as D, Fragment as Q, renderList as Y, createBlock as Ue, createSlots as Be, withCtx as P, renderSlot as O, mergeProps as ge, nextTick as Ee } from "vue";
2
- import { u as ye } from "./useNestedProp-DExlTpuj.js";
3
- import { u as Ge, c as Le, a as Re, p as T, b as He, d as Xe, o as qe, f as he, g as Je, a9 as Ke, e as Qe, k as W, i as M, v as Ye, w as Ze } from "./index-BLtc1AIS.js";
4
- import { u as je } from "./usePrinter-fqbzwh0l.js";
2
+ import { u as ye } from "./useNestedProp-iKx-oGDH.js";
3
+ import { u as Ge, c as Le, a as Re, p as T, b as He, d as Xe, o as qe, f as he, g as Je, a9 as Ke, e as Qe, k as W, i as M, v as Ye, w as Ze } from "./index-BRenDuve.js";
4
+ import { u as je } from "./usePrinter-Co_j432s.js";
5
5
  import { u as et } from "./useUserOptionState-BIvW1Kz7.js";
6
6
  import { v as tt } from "./vClickOutside-C6WiFswA.js";
7
7
  import { _ as at } from "./_plugin-vue_export-helper-CHgC5LLL.js";
@@ -43,7 +43,7 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
43
43
  Fe((t) => ({
44
44
  "3f28d054": t.tdo
45
45
  }));
46
- const Ce = J(() => import("./vue-ui-sparkline-B2-YztKx.js")), N = J(() => import("./BaseIcon-C3ljqn8J.js")), xe = J(() => import("./UserOptions-D2G7II3G.js")), { vue_ui_table_sparkline: we } = Ge(), x = ke, U = p(Le()), Z = p(0), B = p(0), E = p(null), Se = Ve();
46
+ const Ce = J(() => import("./vue-ui-sparkline-B64MPZBB.js")), N = J(() => import("./BaseIcon-E-K7hXbm.js")), xe = J(() => import("./UserOptions-DWW9T1IK.js")), { vue_ui_table_sparkline: we } = Ge(), x = ke, U = p(Le()), Z = p(0), B = p(0), E = p(null), Se = Ve();
47
47
  me(() => {
48
48
  Se["chart-background"] && console.warn("VueUiTableSparkline does not support the #chart-background slot.");
49
49
  });