vue-data-ui 3.0.0-next.28 → 3.0.0-next.29

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 (90) hide show
  1. package/dist/{Arrow-FEiXAF1f.js → Arrow-CiuwQF8m.js} +1 -1
  2. package/dist/{BaseDraggableDialog-B0E68Ss_.js → BaseDraggableDialog-Cu_9Wh21.js} +2 -2
  3. package/dist/{BaseIcon-CNk8ZQxC.js → BaseIcon-Ds5wm_lU.js} +1 -1
  4. package/dist/{ColorPicker-Bh0sQqJU.js → ColorPicker-BoUMEIs2.js} +2 -2
  5. package/dist/{DataTable-BtWOpycK.js → DataTable-BYNUm5Gf.js} +2 -2
  6. package/dist/{Legend-DTMU8MPG.js → Legend-BisCjbG2.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-DFdkMS2K.js → NonSvgPenAndPaper-CD5eBRSn.js} +3 -3
  8. package/dist/{PackageVersion-BcAEQLLi.js → PackageVersion-BzwYjMOW.js} +1 -1
  9. package/dist/{PenAndPaper-CmO7bEfi.js → PenAndPaper-DTcaSmnI.js} +3 -3
  10. package/dist/{Shape-CQVlnhqo.js → Shape-EL8kKFHT.js} +1 -1
  11. package/dist/{Slicer-DVW32UTi.js → Slicer-jLSY0Lnb.js} +2 -2
  12. package/dist/{SparkTooltip-BKSFRids.js → SparkTooltip-CZY7wxg6.js} +7 -7
  13. package/dist/{Title-CGN9QiYI.js → Title-DONRFCZQ.js} +1 -1
  14. package/dist/{Tooltip-mMwokTkO.js → Tooltip-cz9CUpDk.js} +1 -1
  15. package/dist/{UserOptions-DYn2297n.js → UserOptions-By5PgYu0.js} +2 -2
  16. package/dist/{dom-to-png-BVzHEl2w.js → dom-to-png-Ds-_cp6X.js} +1 -1
  17. package/dist/{img-ChuzqrF3.js → img-D3r3OOFG.js} +1 -1
  18. package/dist/{index-DwurWOmm.js → index-Drw6d_8M.js} +471 -446
  19. package/dist/{pdf-C9A0Wlta.js → pdf-CVT2uMk-.js} +1 -1
  20. package/dist/style.css +1 -1
  21. package/dist/types/vue-data-ui.d.cts +11 -1
  22. package/dist/types/vue-data-ui.d.ts +11 -1
  23. package/dist/{useNestedProp-CFAjw-uI.js → useNestedProp-DU20xu9g.js} +1 -1
  24. package/dist/{usePrinter-BvsDO5CU.js → usePrinter-QRK7y9fG.js} +2 -2
  25. package/dist/{vue-data-ui-DnH55d6o.js → vue-data-ui-DuuCpgPB.js} +64 -64
  26. package/dist/vue-data-ui.js +14 -14
  27. package/dist/{vue-ui-3d-bar-BIPJDf4a.js → vue-ui-3d-bar-CWlFg9DD.js} +6 -6
  28. package/dist/{vue-ui-accordion-C7ba8AVe.js → vue-ui-accordion-DFtpDmPO.js} +3 -3
  29. package/dist/{vue-ui-age-pyramid-CIg_Ehbq.js → vue-ui-age-pyramid-is2_9zCy.js} +6 -6
  30. package/dist/{vue-ui-annotator-C3nqKGzo.js → vue-ui-annotator-Do3nQwyq.js} +2 -2
  31. package/dist/{vue-ui-bullet-DK3bEHJG.js → vue-ui-bullet-BCcEWGfk.js} +7 -7
  32. package/dist/{vue-ui-candlestick-HXpLcsDU.js → vue-ui-candlestick-D75PUpAs.js} +368 -356
  33. package/dist/{vue-ui-carousel-table-BnplX7KO.js → vue-ui-carousel-table-293Ej8CA.js} +4 -4
  34. package/dist/{vue-ui-chestnut-sQskMYei.js → vue-ui-chestnut-CqevC3UI.js} +5 -5
  35. package/dist/{vue-ui-chord-CT-viUg5.js → vue-ui-chord-Rp3K6Lii.js} +8 -8
  36. package/dist/{vue-ui-circle-pack-BEjSuhTw.js → vue-ui-circle-pack-CXtlLhzT.js} +26 -26
  37. package/dist/{vue-ui-cursor-DP40Z3Pg.js → vue-ui-cursor-DMJ3qvUm.js} +2 -2
  38. package/dist/{vue-ui-dashboard-CoukhCPg.js → vue-ui-dashboard-CRBPcH6A.js} +62 -62
  39. package/dist/{vue-ui-digits-FLazCL03.js → vue-ui-digits-DH-Q4hVR.js} +2 -2
  40. package/dist/{vue-ui-donut-C_f5VCo9.js → vue-ui-donut-SfwmwqtT.js} +15 -15
  41. package/dist/{vue-ui-donut-evolution-C8eGM4Wc.js → vue-ui-donut-evolution-D0_XaBt0.js} +8 -8
  42. package/dist/{vue-ui-dumbbell-Bcy0H0ej.js → vue-ui-dumbbell-DstzNHet.js} +7 -7
  43. package/dist/{vue-ui-flow-PBHoj24k.js → vue-ui-flow-CINFQqZt.js} +7 -7
  44. package/dist/{vue-ui-funnel--s2L_i_f.js → vue-ui-funnel-BkiTiKQd.js} +6 -6
  45. package/dist/{vue-ui-galaxy-5iik4XcF.js → vue-ui-galaxy-DBFG7HdS.js} +5 -5
  46. package/dist/{vue-ui-gauge-Cc8XdZEO.js → vue-ui-gauge-CpitXRT_.js} +6 -6
  47. package/dist/{vue-ui-gizmo-D9YdWF0U.js → vue-ui-gizmo-qNDblGTz.js} +3 -3
  48. package/dist/{vue-ui-heatmap-CNuiN6e-.js → vue-ui-heatmap-B_oEnnp5.js} +7 -7
  49. package/dist/{vue-ui-history-plot-DTv_F82N.js → vue-ui-history-plot-C0u_r6yx.js} +7 -7
  50. package/dist/{vue-ui-kpi-pLPQLsiF.js → vue-ui-kpi-C3yPBtHe.js} +3 -3
  51. package/dist/{vue-ui-mini-loader-CDYKGa7j.js → vue-ui-mini-loader-DKo5mbDP.js} +2 -2
  52. package/dist/{vue-ui-molecule-BV9JjR8F.js → vue-ui-molecule-B2mjoO1f.js} +5 -5
  53. package/dist/{vue-ui-mood-radar-Cknw3hKt.js → vue-ui-mood-radar-Bz9hnSwG.js} +7 -7
  54. package/dist/{vue-ui-nested-donuts-C85ZFJ_q.js → vue-ui-nested-donuts-BG1-HO_j.js} +9 -9
  55. package/dist/{vue-ui-onion-C9cZNyC3.js → vue-ui-onion-Bd8kKYgU.js} +7 -7
  56. package/dist/{vue-ui-parallel-coordinate-plot-D7H2zhCF.js → vue-ui-parallel-coordinate-plot-AlccjyUy.js} +8 -8
  57. package/dist/{vue-ui-quadrant-Cfvu8-h1.js → vue-ui-quadrant-lwBwsQGQ.js} +8 -8
  58. package/dist/{vue-ui-quick-chart-B3d2FDBP.js → vue-ui-quick-chart-ptglu1rg.js} +6 -6
  59. package/dist/{vue-ui-radar-CQcjyxwQ.js → vue-ui-radar-CvfWH-X1.js} +7 -7
  60. package/dist/{vue-ui-rating-DEDPYi2F.js → vue-ui-rating-B62Mouk9.js} +2 -2
  61. package/dist/{vue-ui-relation-circle-swVQdvQX.js → vue-ui-relation-circle-Dz5xbuMA.js} +6 -6
  62. package/dist/{vue-ui-ridgeline-DU85JJKL.js → vue-ui-ridgeline-rihpGXpL.js} +8 -8
  63. package/dist/{vue-ui-rings-CwVJAUv8.js → vue-ui-rings-Bvkl_gGE.js} +8 -8
  64. package/dist/{vue-ui-scatter-Dqltdynp.js → vue-ui-scatter-iiBD78Rv.js} +8 -8
  65. package/dist/{vue-ui-skeleton-C8QYEKxX.js → vue-ui-skeleton-Nk3lNLyJ.js} +3 -3
  66. package/dist/{vue-ui-smiley-BiPXfmqf.js → vue-ui-smiley-DW9VJtj5.js} +2 -2
  67. package/dist/{vue-ui-spark-trend-DkyWiTg0.js → vue-ui-spark-trend-CGVoppzj.js} +3 -3
  68. package/dist/{vue-ui-sparkbar-CEjHYHRg.js → vue-ui-sparkbar-DmrLheol.js} +3 -3
  69. package/dist/{vue-ui-sparkgauge-CqsLMGbd.js → vue-ui-sparkgauge-CKperP9m.js} +3 -3
  70. package/dist/{vue-ui-sparkhistogram-BQeOmWdJ.js → vue-ui-sparkhistogram-EzDfHOa5.js} +4 -4
  71. package/dist/vue-ui-sparkline-B37Xfywa.js +489 -0
  72. package/dist/{vue-ui-sparkstackbar-WMpYFqmu.js → vue-ui-sparkstackbar-Cm6GOcMS.js} +3 -3
  73. package/dist/{vue-ui-stackbar-BvA1pWBy.js → vue-ui-stackbar-uwRm8VIN.js} +9 -9
  74. package/dist/{vue-ui-strip-plot-sPsAx0ly.js → vue-ui-strip-plot-Ct3KViHW.js} +7 -7
  75. package/dist/{vue-ui-table-DFIQk2V5.js → vue-ui-table-DK2l7UuW.js} +3 -3
  76. package/dist/{vue-ui-table-heatmap-DP9OWEX0.js → vue-ui-table-heatmap-ClNGX-vt.js} +5 -5
  77. package/dist/{vue-ui-table-sparkline-DQBQeejJ.js → vue-ui-table-sparkline-uOKEV4lQ.js} +4 -4
  78. package/dist/{vue-ui-thermometer-BfPYbE4s.js → vue-ui-thermometer-7P2C_tYI.js} +6 -6
  79. package/dist/{vue-ui-timer-B7vfnEvV.js → vue-ui-timer-91k48mL9.js} +5 -5
  80. package/dist/{vue-ui-tiremarks-BBSUpVrJ.js → vue-ui-tiremarks-Q7YTYW8d.js} +6 -6
  81. package/dist/{vue-ui-treemap-BKrRAwDR.js → vue-ui-treemap-Bec-ZUUL.js} +8 -8
  82. package/dist/{vue-ui-vertical-bar-BcaY2dnD.js → vue-ui-vertical-bar-BYuzy6qw.js} +9 -9
  83. package/dist/{vue-ui-waffle-CBPTLkE9.js → vue-ui-waffle-C2iKJKJU.js} +8 -8
  84. package/dist/{vue-ui-wheel-CzCd72Xa.js → vue-ui-wheel-qtyTFtKC.js} +6 -6
  85. package/dist/{vue-ui-word-cloud-DQrrAfUw.js → vue-ui-word-cloud-BKF4BkvX.js} +6 -6
  86. package/dist/{vue-ui-world-CSnvYru5.js → vue-ui-world-DfHQKtGj.js} +6 -6
  87. package/dist/{vue-ui-xy-D1ZyohhW.js → vue-ui-xy-Bq3enVyu.js} +8 -8
  88. package/dist/{vue-ui-xy-canvas-CQWhSrqq.js → vue-ui-xy-canvas-Cq0zmNY0.js} +8 -8
  89. package/package.json +1 -1
  90. package/dist/vue-ui-sparkline-BzskaXWk.js +0 -459
@@ -0,0 +1,489 @@
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, A as Pe, a as Re, C as ie, a7 as j, o as ve, e as de, g as Te, w as D, a8 as Ee, a9 as Oe, X as Be, s as W, V as ce, U as Fe, aa as he, i as X, f as Y, ab as Ge } from "./index-Drw6d_8M.js";
3
+ import { u as ye } from "./useNestedProp-DU20xu9g.js";
4
+ import { t as Ue, u as je } from "./useResponsive-DfdjqQps.js";
5
+ import { u as Xe } from "./useChartAccessibility-9icAAmYg.js";
6
+ import { u as Ye, B as qe } from "./BaseScanner-DIK2NTdp.js";
7
+ import { u as Ze } from "./useTimeLabels-DFkUfjfs.js";
8
+ import { _ as He } from "./_plugin-vue_export-helper-CHgC5LLL.js";
9
+ const Je = ["id"], Ke = ["xmlns", "viewBox"], Qe = ["width", "height"], et = ["id"], tt = ["stop-color"], at = ["stop-color"], lt = ["id"], ut = ["stop-color"], ot = ["stop-color"], st = ["id"], nt = ["stop-color"], rt = ["stop-color"], it = { key: 1 }, vt = ["d", "fill"], dt = ["d", "fill"], ct = ["d", "stroke", "stroke-width"], ht = ["d", "stroke", "stroke-width"], yt = ["x", "y", "width", "height", "fill", "rx"], ft = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], pt = ["x1", "x2", "y1", "y2", "stroke", "stroke-dasharray", "stroke-width"], gt = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], bt = ["x", "y", "font-size", "font-weight", "fill"], mt = ["x", "y", "height", "width", "onMouseenter", "onMouseleave", "onClick"], kt = {
10
+ __name: "vue-ui-sparkline",
11
+ props: {
12
+ config: {
13
+ type: Object,
14
+ default() {
15
+ return {};
16
+ }
17
+ },
18
+ dataset: {
19
+ type: Array,
20
+ default() {
21
+ return [];
22
+ }
23
+ },
24
+ showInfo: {
25
+ type: Boolean,
26
+ default: !0
27
+ },
28
+ selectedIndex: {
29
+ type: Number,
30
+ default: void 0
31
+ },
32
+ heightRatio: {
33
+ type: Number,
34
+ default: 1
35
+ },
36
+ forcedPadding: {
37
+ type: Number,
38
+ default: 30
39
+ }
40
+ },
41
+ emits: ["hoverIndex", "selectDatapoint"],
42
+ setup(_, { emit: fe }) {
43
+ const pe = le(() => import("./PackageVersion-BzwYjMOW.js")), ge = le(() => import("./SparkTooltip-CZY7wxg6.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
+ function me(t) {
45
+ return Ge(t).map((a) => ({ period: "-", value: a }));
46
+ }
47
+ const { loading: R, FINAL_DATASET: I, manualLoading: T } = Ye({
48
+ ...$e(n),
49
+ FINAL_CONFIG: e,
50
+ prepareConfig: E,
51
+ callback: () => {
52
+ Promise.resolve().then(async () => {
53
+ await ze(), K();
54
+ });
55
+ },
56
+ skeletonDataset: me(12),
57
+ skeletonConfig: Pe({
58
+ defaultConfig: e.value,
59
+ userConfig: {
60
+ style: {
61
+ backgroundColor: "#99999930",
62
+ scaleMin: 0,
63
+ scaleMax: 89,
64
+ animation: { show: !1 },
65
+ line: { color: "#AAAAAA" },
66
+ bar: { color: "#AAAAAA" },
67
+ area: { color: "#CACACA" },
68
+ zeroLine: { color: "#6A6A6A" },
69
+ dataLabel: { show: !1 },
70
+ tooltip: { show: !1 }
71
+ }
72
+ }
73
+ })
74
+ }), { svgRef: J } = Xe({ config: e.value.style.title });
75
+ function E() {
76
+ const t = ye({
77
+ userConfig: n.config,
78
+ defaultConfig: be
79
+ });
80
+ let a = {};
81
+ return t.theme ? a = {
82
+ ...ye({
83
+ userConfig: Re.vue_ui_sparkline[t.theme] || n.config,
84
+ defaultConfig: t
85
+ })
86
+ } : a = t, n.config && ie(n.config, "style.scaleMin") ? a.style.scaleMin = n.config.style.scaleMin : a.style.scaleMin = null, n.config && ie(n.config, "style.scaleMax") ? a.style.scaleMax = n.config.style.scaleMax : a.style.scaleMax = null, a;
87
+ }
88
+ const k = h(() => j({
89
+ data: I.value,
90
+ threshold: e.value.downsample.threshold
91
+ }));
92
+ ue(() => n.config, (t) => {
93
+ R.value || (e.value = E()), ee(), u.value.chartWidth = e.value.style.chartWidth;
94
+ }, { deep: !0 }), ue(() => n.dataset, (t) => {
95
+ Array.isArray(t) && t.length > 0 && (T.value = !1), x.value = j({
96
+ data: I.value.map((a) => ({
97
+ ...a,
98
+ value: [void 0].includes(a.value) ? null : a.value
99
+ })),
100
+ threshold: e.value.downsample.threshold
101
+ });
102
+ }, { deep: !0 });
103
+ const x = g(ke());
104
+ function ke() {
105
+ return j({
106
+ data: I.value.map((t) => e.value.style.animation.show && I.value.length > 1 ? {
107
+ ...t,
108
+ value: null
109
+ } : {
110
+ ...t,
111
+ value: [void 0].includes(t.value) ? null : t.value
112
+ }),
113
+ threshold: e.value.downsample.threshold
114
+ });
115
+ }
116
+ const b = oe(null), L = oe(null);
117
+ function K() {
118
+ if (e.value.style.animation.show && n.dataset.length > 1 && !R.value) {
119
+ let l = function() {
120
+ a < k.value.length ? (x.value.push(k.value[a]), setTimeout(() => {
121
+ requestAnimationFrame(l);
122
+ }, t)) : x.value = k.value, a += 1;
123
+ };
124
+ x.value = [];
125
+ const t = e.value.style.animation.animationFrames / n.dataset.length;
126
+ let a = 0;
127
+ l();
128
+ }
129
+ }
130
+ Ce(() => {
131
+ ee(), K();
132
+ });
133
+ const Q = h(() => !!e.value.debug);
134
+ function ee() {
135
+ if (ve(n.dataset) ? (de({
136
+ componentName: "VueUiSparkline",
137
+ type: "dataset",
138
+ debug: Q.value
139
+ }), T.value = !0) : n.dataset.forEach((t, a) => {
140
+ Te({
141
+ datasetObject: t,
142
+ requiredAttributes: ["period", "value"]
143
+ }).forEach((l) => {
144
+ de({
145
+ componentName: "VueUiSparkline",
146
+ type: "datasetSerieAttribute",
147
+ property: l,
148
+ index: a,
149
+ debug: Q.value
150
+ });
151
+ });
152
+ }), ve(n.dataset) || (T.value = e.value.loading), e.value.responsive) {
153
+ const t = Ue(() => {
154
+ const { width: a, height: l } = je({
155
+ chart: P.value,
156
+ title: e.value.style.title.show && n.showInfo ? Z.value : null,
157
+ source: H.value
158
+ });
159
+ requestAnimationFrame(() => {
160
+ u.value.width = a, u.value.height = l, u.value.chartWidth = e.value.style.chartWidth / 500 * a, u.value.padding = n.forcedPadding / 500 * a;
161
+ });
162
+ });
163
+ b.value && (L.value && b.value.unobserve(L.value), b.value.disconnect()), b.value = new ResizeObserver(t), L.value = P.value.parentNode, b.value.observe(L.value);
164
+ }
165
+ }
166
+ Me(() => {
167
+ b.value && (L.value && b.value.unobserve(L.value), b.value.disconnect());
168
+ });
169
+ const u = g({
170
+ height: 80 * n.heightRatio,
171
+ width: 500,
172
+ chartWidth: e.value.style.chartWidth,
173
+ padding: n.forcedPadding
174
+ }), O = fe, o = h(() => {
175
+ const { top: t, right: a, bottom: l, left: s } = e.value.style.padding;
176
+ return {
177
+ top: t,
178
+ left: s,
179
+ right: u.value.width - a,
180
+ bottom: u.value.height - l,
181
+ start: n.showInfo && e.value.style.dataLabel.show && e.value.style.dataLabel.position === "left" ? u.value.width - u.value.chartWidth + s : u.value.padding + s,
182
+ width: n.showInfo && e.value.style.dataLabel.show ? u.value.chartWidth - s - a : u.value.width - u.value.padding - s - a,
183
+ height: u.value.height - t - l
184
+ };
185
+ }), B = h(() => [null, void 0].includes(e.value.style.scaleMin) ? Math.min(...x.value.map((t) => isNaN(t.value) || [void 0, null, "NaN", NaN, 1 / 0, -1 / 0].includes(t.value) ? 0 : t.value || 0)) : e.value.style.scaleMin), xe = h(() => [null, void 0].includes(e.value.style.scaleMax) ? Math.max(...x.value.map((t) => isNaN(t.value) || [void 0, null, "NaN", NaN, 1 / 0, -1 / 0].includes(t.value) ? 0 : t.value || 0)) : e.value.style.scaleMax), $ = h(() => {
186
+ const t = B.value >= 0 ? 0 : B.value;
187
+ return Math.abs(t);
188
+ }), te = h(() => xe.value + $.value), A = h(() => o.value.bottom - o.value.height * F($.value));
189
+ function F(t) {
190
+ return isNaN(t / te.value) ? 0 : t / te.value;
191
+ }
192
+ const w = h(() => k.value.length - 1), S = h(() => Ze({
193
+ values: k.value.map((t) => t.period),
194
+ maxDatapoints: k.value.length,
195
+ formatter: e.value.style.dataLabel.datetimeFormatter,
196
+ start: 0,
197
+ end: k.value.length
198
+ })), c = h(() => x.value.map((t, a) => {
199
+ const l = isNaN(t.value) || [void 0, null, "NaN", NaN, 1 / 0, -1 / 0].includes(t.value) ? 0 : t.value || 0, s = o.value.width / (w.value + 1) > u.padding ? u.padding : o.value.width / (w.value + 1);
200
+ return {
201
+ absoluteValue: l,
202
+ period: S.value && S.value[a] && S.value[a].text ? S.value[a].text : t.period,
203
+ plotValue: l + $.value,
204
+ toMax: F(l + $.value),
205
+ x: o.value.start + a * (s > o.value.width / 12 ? o.value.width / 12 : s),
206
+ y: o.value.bottom - o.value.height * F(l + $.value),
207
+ id: `plot_${p.value}_${a}`,
208
+ color: C.value ? e.value.style.bar.color : e.value.style.area.useGradient ? D(e.value.style.line.color, 0.05 * (1 - a / w.value)) : e.value.style.line.color,
209
+ width: s > o.value.width / 12 ? o.value.width / 12 : s
210
+ };
211
+ })), we = h(() => {
212
+ const t = { x: c.value[0].x || 0, y: (u.value.height || 0) - 6 }, a = { x: c.value[c.value.length - 1].x || 0, y: (u.value.height || 0) - 6 }, l = [];
213
+ return c.value.forEach((s) => {
214
+ l.push(`${s.x || 0},${s.y || 0} `);
215
+ }), [t.x, t.y, ...l, a.x, a.y].toString();
216
+ }), v = g(void 0), N = g(void 0);
217
+ function _e(t, a) {
218
+ e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: a }), v.value = t, N.value || (N.value = t), O("hoverIndex", { index: a });
219
+ }
220
+ function Le(t, a) {
221
+ e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: a }), N.value = v.value, v.value = void 0, O("hoverIndex", { index: void 0 });
222
+ }
223
+ const m = h(() => {
224
+ if (q.value) {
225
+ const t = c.value.map((l) => l.absoluteValue), a = t.reduce((l, s) => l + s, 0);
226
+ return {
227
+ latest: c.value[c.value.length - 1].absoluteValue,
228
+ sum: a,
229
+ average: a / c.value.length,
230
+ median: Oe(t),
231
+ trend: Ee(c.value.map(({ x: l, y: s, absoluteValue: Ne }) => ({
232
+ x: l,
233
+ y: s,
234
+ value: Ne
235
+ }))).trend
236
+ };
237
+ } else
238
+ return {
239
+ latest: null,
240
+ sum: null,
241
+ average: null,
242
+ median: null,
243
+ trend: null
244
+ };
245
+ }), ae = h(() => q.value ? e.value.style.dataLabel.valueType === "latest" ? m.value.latest : e.value.style.dataLabel.valueType === "sum" ? m.value.sum : e.value.style.dataLabel.valueType === "average" ? m.value.average : 0 : 0), C = h(() => e.value.type && e.value.type === "bar");
246
+ function Ae(t, a) {
247
+ e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: a }), O("selectDatapoint", { datapoint: t, index: a });
248
+ }
249
+ return (t, a) => (r(), d("div", {
250
+ ref_key: "sparklineChart",
251
+ ref: P,
252
+ class: "vue-ui-sparkline",
253
+ id: p.value,
254
+ style: V(`width:100%;font-family:${e.value.style.fontFamily};`)
255
+ }, [
256
+ M(t.$slots, "before", ne(re({
257
+ selected: v.value,
258
+ latest: m.value.latest,
259
+ sum: m.value.sum,
260
+ average: m.value.average,
261
+ median: m.value.median,
262
+ trend: m.value.trend
263
+ })), void 0, !0),
264
+ e.value.style.title.show && _.showInfo ? (r(), d("div", {
265
+ key: 0,
266
+ ref_key: "chartTitle",
267
+ ref: Z,
268
+ class: "vue-ui-sparkline-title",
269
+ style: V(`display:flex;align-items:center;width:100%;color:${e.value.style.title.color};background:${e.value.style.backgroundColor};justify-content:${e.value.style.title.textAlign === "left" ? "flex-start" : e.value.style.title.textAlign === "right" ? "flex-end" : "center"};height:${e.value.style.title.fontSize * 2}px;font-size:${e.value.style.title.fontSize}px;font-weight:${e.value.style.title.bold ? "bold" : "normal"};`)
270
+ }, [
271
+ f("span", {
272
+ style: V(`padding:${e.value.style.title.textAlign === "left" ? "0 0 0 12px" : e.value.style.title.textAlign === "right" ? "0 12px 0 0" : "0"}`)
273
+ }, z(v.value ? v.value.period : e.value.style.title.text), 5)
274
+ ], 4)) : y("", !0),
275
+ (r(), d("svg", {
276
+ ref_key: "svgRef",
277
+ ref: J,
278
+ xmlns: i(Be),
279
+ viewBox: `0 0 ${u.value.width} ${u.value.height}`,
280
+ style: V(`background:${e.value.style.backgroundColor};overflow:visible`),
281
+ onMouseleave: a[0] || (a[0] = (l) => N.value = void 0)
282
+ }, [
283
+ Ie(i(pe)),
284
+ t.$slots["chart-background"] ? (r(), d("foreignObject", {
285
+ key: 0,
286
+ x: 0,
287
+ y: 0,
288
+ width: u.value.width <= 0 ? 10 : u.value.width,
289
+ height: u.value.height <= 0 ? 10 : u.value.height,
290
+ style: {
291
+ pointerEvents: "none"
292
+ }
293
+ }, [
294
+ M(t.$slots, "chart-background", {}, void 0, !0)
295
+ ], 8, Qe)) : y("", !0),
296
+ f("defs", null, [
297
+ f("linearGradient", {
298
+ x1: "0%",
299
+ y1: "0%",
300
+ x2: "100%",
301
+ y2: "0%",
302
+ id: `sparkline_gradient_${p.value}`
303
+ }, [
304
+ f("stop", {
305
+ offset: "0%",
306
+ "stop-color": i(W)(i(D)(e.value.style.area.color, 0.05), e.value.style.area.opacity)
307
+ }, null, 8, tt),
308
+ f("stop", {
309
+ offset: "100%",
310
+ "stop-color": i(W)(e.value.style.area.color, e.value.style.area.opacity)
311
+ }, null, 8, at)
312
+ ], 8, et),
313
+ f("linearGradient", {
314
+ x2: "0%",
315
+ y2: "100%",
316
+ id: `sparkline_bar_gradient_pos_${p.value}`
317
+ }, [
318
+ f("stop", {
319
+ offset: "0%",
320
+ "stop-color": e.value.style.bar.color
321
+ }, null, 8, ut),
322
+ f("stop", {
323
+ offset: "100%",
324
+ "stop-color": i(D)(e.value.style.bar.color, 0.05)
325
+ }, null, 8, ot)
326
+ ], 8, lt),
327
+ f("linearGradient", {
328
+ x2: "0%",
329
+ y2: "100%",
330
+ id: `sparkline_bar_gradient_neg_${p.value}`
331
+ }, [
332
+ f("stop", {
333
+ offset: "0%",
334
+ "stop-color": i(D)(e.value.style.bar.color, 0.05)
335
+ }, null, 8, nt),
336
+ f("stop", {
337
+ offset: "100%",
338
+ "stop-color": e.value.style.bar.color
339
+ }, null, 8, rt)
340
+ ], 8, st)
341
+ ]),
342
+ e.value.style.area.show && !C.value && c.value[0] ? (r(), d("g", it, [
343
+ e.value.style.line.smooth ? (r(), d("path", {
344
+ key: 0,
345
+ d: `M ${c.value[0].x},${o.value.bottom} ${i(ce)(c.value)} L ${c.value.at(-1).x},${o.value.bottom} Z`,
346
+ fill: e.value.style.area.useGradient ? `url(#sparkline_gradient_${p.value})` : i(W)(e.value.style.area.color, e.value.style.area.opacity)
347
+ }, null, 8, vt)) : (r(), d("path", {
348
+ key: 1,
349
+ d: `M${we.value}Z`,
350
+ fill: e.value.style.area.useGradient ? `url(#sparkline_gradient_${p.value})` : i(W)(e.value.style.area.color, e.value.style.area.opacity)
351
+ }, null, 8, dt))
352
+ ])) : y("", !0),
353
+ e.value.style.line.smooth && !C.value ? (r(), d("path", {
354
+ key: 2,
355
+ d: `M ${i(ce)(c.value)}`,
356
+ stroke: e.value.style.line.color,
357
+ fill: "none",
358
+ "stroke-width": e.value.style.line.strokeWidth,
359
+ "stroke-linecap": "round"
360
+ }, null, 8, ct)) : y("", !0),
361
+ !e.value.style.line.smooth && !C.value ? (r(), d("path", {
362
+ key: 3,
363
+ d: `M ${i(Fe)(c.value)}`,
364
+ stroke: e.value.style.line.color,
365
+ fill: "none",
366
+ "stroke-width": e.value.style.line.strokeWidth,
367
+ "stroke-linecap": "round"
368
+ }, null, 8, ht)) : y("", !0),
369
+ (r(!0), d(G, null, U(c.value, (l, s) => (r(), d("g", null, [
370
+ C.value ? (r(), d("rect", {
371
+ key: 0,
372
+ x: l.x - l.width / 2,
373
+ y: isNaN(l.absoluteValue > 0 ? l.y : A.value) ? 0 : l.absoluteValue > 0 ? l.y : A.value,
374
+ width: l.width,
375
+ height: isNaN(Math.abs(l.y - A.value)) ? 0 : Math.abs(l.y - A.value),
376
+ fill: l.absoluteValue > 0 ? `url(#sparkline_bar_gradient_pos_${p.value})` : `url(#sparkline_bar_gradient_neg_${p.value})`,
377
+ rx: e.value.style.bar.borderRadius
378
+ }, null, 8, yt)) : y("", !0),
379
+ e.value.style.verticalIndicator.show && (v.value && l.id === v.value.id || _.selectedIndex === s) ? (r(), d("line", {
380
+ key: 1,
381
+ x1: l.x,
382
+ x2: l.x,
383
+ y1: o.value.top - 6,
384
+ y2: o.value.bottom,
385
+ stroke: e.value.style.verticalIndicator.color || l.color,
386
+ "stroke-width": e.value.style.verticalIndicator.strokeWidth,
387
+ "stroke-linecap": "round",
388
+ "stroke-dasharray": e.value.style.verticalIndicator.strokeDasharray || 0
389
+ }, null, 8, ft)) : y("", !0)
390
+ ]))), 256)),
391
+ B.value < 0 ? (r(), d("line", {
392
+ key: 4,
393
+ x1: o.value.start,
394
+ x2: o.value.start + o.value.width - 16,
395
+ y1: i(he)(A.value, o.value.bottom),
396
+ y2: i(he)(A.value, o.value.bottom),
397
+ stroke: e.value.style.zeroLine.color,
398
+ "stroke-dasharray": e.value.style.zeroLine.strokeWidth * 2,
399
+ "stroke-width": e.value.style.zeroLine.strokeWidth,
400
+ "stroke-linecap": "round"
401
+ }, null, 8, pt)) : y("", !0),
402
+ e.value.style.plot.show ? (r(!0), d(G, { key: 5 }, U(c.value, (l, s) => (r(), d("g", null, [
403
+ v.value && l.id === v.value.id || _.selectedIndex === s || _.dataset.length === 1 ? (r(), d("circle", {
404
+ key: 0,
405
+ cx: l.x,
406
+ cy: l.y,
407
+ r: e.value.style.plot.radius,
408
+ fill: l.color,
409
+ stroke: e.value.style.plot.stroke,
410
+ "stroke-width": e.value.style.plot.strokeWidth
411
+ }, null, 8, gt)) : y("", !0)
412
+ ]))), 256)) : y("", !0),
413
+ _.showInfo && e.value.style.dataLabel.show ? (r(), d("text", {
414
+ key: 6,
415
+ x: e.value.style.dataLabel.position === "left" ? 12 + e.value.style.dataLabel.offsetX : o.value.width + 12 + e.value.style.dataLabel.offsetX,
416
+ y: u.value.height / 2 + e.value.style.dataLabel.fontSize / 2.5 + e.value.style.dataLabel.offsetY,
417
+ "font-size": e.value.style.dataLabel.fontSize,
418
+ "font-weight": e.value.style.dataLabel.bold ? "bold" : "normal",
419
+ fill: e.value.style.dataLabel.color
420
+ }, z(v.value ? i(X)(
421
+ e.value.style.dataLabel.formatter,
422
+ v.value.absoluteValue,
423
+ i(Y)({ p: e.value.style.dataLabel.prefix, v: v.value.absoluteValue, s: e.value.style.dataLabel.suffix, r: e.value.style.dataLabel.roundingValue }),
424
+ { datapoint: v.value }
425
+ ) : i(X)(
426
+ e.value.style.dataLabel.formatter,
427
+ ae.value,
428
+ i(Y)({ p: e.value.style.dataLabel.prefix, v: ae.value, s: e.value.style.dataLabel.suffix, r: e.value.style.dataLabel.roundingValue })
429
+ )), 9, bt)) : y("", !0),
430
+ (r(!0), d(G, null, U(c.value, (l, s) => (r(), d("rect", {
431
+ x: l.x - (o.value.width / (w.value + 1) > u.value.padding ? u.value.padding : o.value.width / (w.value + 1)) / 2,
432
+ y: o.value.top - 6,
433
+ height: o.value.height + 6,
434
+ width: o.value.width / (w.value + 1) > u.value.padding ? u.value.padding : o.value.width / (w.value + 1),
435
+ fill: "transparent",
436
+ onMouseenter: () => _e(l, s),
437
+ onMouseleave: () => Le(l, s),
438
+ onClick: () => Ae(l, s)
439
+ }, null, 40, mt))), 256)),
440
+ M(t.$slots, "svg", { svg: u.value }, void 0, !0)
441
+ ], 44, Ke)),
442
+ v.value && e.value.style.tooltip.show ? (r(), se(i(ge), {
443
+ key: 1,
444
+ x: v.value.x,
445
+ y: v.value.y,
446
+ prevX: N.value.x,
447
+ prevY: N.value.y,
448
+ offsetY: e.value.style.plot.radius * 3 + e.value.style.tooltip.offsetY,
449
+ svgRef: i(J),
450
+ background: e.value.style.tooltip.backgroundColor,
451
+ color: e.value.style.tooltip.color,
452
+ fontSize: e.value.style.tooltip.fontSize,
453
+ borderWidth: e.value.style.tooltip.borderWidth,
454
+ borderColor: e.value.style.tooltip.borderColor,
455
+ borderRadius: e.value.style.tooltip.borderRadius,
456
+ backgroundOpacity: e.value.style.tooltip.backgroundOpacity
457
+ }, {
458
+ default: Se(() => [
459
+ M(t.$slots, "tooltip", ne(re({ ...v.value })), () => [
460
+ Ve(z(v.value.period) + ": " + z(i(X)(
461
+ e.value.style.dataLabel.formatter,
462
+ v.value.absoluteValue,
463
+ i(Y)({
464
+ p: e.value.style.dataLabel.prefix,
465
+ v: v.value.absoluteValue,
466
+ s: e.value.style.dataLabel.suffix,
467
+ r: e.value.style.dataLabel.roundingValue
468
+ }),
469
+ { datapoint: v.value }
470
+ )), 1)
471
+ ], !0)
472
+ ]),
473
+ _: 3
474
+ }, 8, ["x", "y", "prevX", "prevY", "offsetY", "svgRef", "background", "color", "fontSize", "borderWidth", "borderColor", "borderRadius", "backgroundOpacity"])) : y("", !0),
475
+ t.$slots.source ? (r(), d("div", {
476
+ key: 2,
477
+ ref_key: "source",
478
+ ref: H,
479
+ dir: "auto"
480
+ }, [
481
+ M(t.$slots, "source", {}, void 0, !0)
482
+ ], 512)) : y("", !0),
483
+ i(R) ? (r(), se(qe, { key: 3 })) : y("", !0)
484
+ ], 12, Je));
485
+ }
486
+ }, Mt = /* @__PURE__ */ He(kt, [["__scopeId", "data-v-251d35ec"]]);
487
+ export {
488
+ Mt as default
489
+ };
@@ -1,6 +1,6 @@
1
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-DwurWOmm.js";
3
- import { u as te } from "./useNestedProp-CFAjw-uI.js";
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-Drw6d_8M.js";
3
+ import { u as te } from "./useNestedProp-DU20xu9g.js";
4
4
  import { u as $e } from "./useChartAccessibility-9icAAmYg.js";
5
5
  import { _ as Se } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
6
  const Pe = ["xmlns", "viewBox"], ze = ["id"], Ae = ["stop-color"], De = ["stop-color"], Fe = ["stop-color"], Ne = {
@@ -31,7 +31,7 @@ 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-BcAEQLLi.js")), se = V(() => import("./vue-ui-skeleton-C8QYEKxX.js")), re = V(() => import("./Tooltip-mMwokTkO.js")), { vue_ui_sparkstackbar: ne } = fe(), u = le, ue = pe();
34
+ const ae = V(() => import("./PackageVersion-BzwYjMOW.js")), se = V(() => import("./vue-ui-skeleton-Nk3lNLyJ.js")), re = V(() => import("./Tooltip-cz9CUpDk.js")), { vue_ui_sparkstackbar: ne } = fe(), u = le, ue = pe();
35
35
  G(() => {
36
36
  ue["chart-background"] && console.warn("VueUiSparkStackbar does not support the #chart-background slot.");
37
37
  });
@@ -1,17 +1,17 @@
1
1
  import { defineAsyncComponent as te, useSlots as ga, computed as k, ref as b, onMounted as Lt, toRefs as ba, watch as De, shallowRef as zt, onBeforeUnmount as Ct, watchEffect as St, nextTick as _t, 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 Q, createVNode as we, createSlots as $t, withCtx as C, normalizeProps as U, guardReactiveProps as H, Fragment as g, renderList as m, mergeProps as Fe, toDisplayString as M, createTextVNode as fa } from "vue";
2
- import { u as ma, c as Tt, A as pa, t as xa, p as Le, a as ka, C as le, b as wa, o as Mt, e as At, g as La, d as za, am as ze, ab as Nt, D as It, X as Ca, l as Sa, aa as Ce, F as Rt, i as Se, f as j, I as _a, a0 as $a, x as Ot, q as Ta, r as Ma, y as Aa } from "./index-DwurWOmm.js";
3
- import { u as Pt } from "./useNestedProp-CFAjw-uI.js";
2
+ import { u as ma, c as Tt, A as pa, t as xa, p as Le, a as ka, C as le, b as wa, o as Mt, e as At, g as La, d as za, an as ze, ac as Nt, D as It, X as Ca, l as Sa, aa as Ce, F as Rt, i as Se, f as j, I as _a, a0 as $a, x as Ot, q as Ta, r as Ma, y as Aa } from "./index-Drw6d_8M.js";
3
+ import { u as Pt } from "./useNestedProp-DU20xu9g.js";
4
4
  import { t as Ue, u as Na } from "./useResponsive-DfdjqQps.js";
5
- import { u as Ia } from "./usePrinter-BvsDO5CU.js";
5
+ import { u as Ia } from "./usePrinter-QRK7y9fG.js";
6
6
  import { u as Ra } from "./useUserOptionState-BIvW1Kz7.js";
7
7
  import { u as Oa } from "./useChartAccessibility-9icAAmYg.js";
8
8
  import { u as Pa } from "./useTimeLabelCollider-V7AOiPLB.js";
9
- import Va from "./Legend-DTMU8MPG.js";
10
- import { S as Ea } from "./Slicer-DVW32UTi.js";
11
- import Da from "./Title-CGN9QiYI.js";
12
- import { _ as Fa } from "./Shape-CQVlnhqo.js";
9
+ import Va from "./Legend-BisCjbG2.js";
10
+ import { S as Ea } from "./Slicer-jLSY0Lnb.js";
11
+ import Da from "./Title-DONRFCZQ.js";
12
+ import { _ as Fa } from "./Shape-EL8kKFHT.js";
13
13
  import { u as Ua } from "./useTimeLabels-DFkUfjfs.js";
14
- import Ha from "./img-ChuzqrF3.js";
14
+ import Ha from "./img-D3r3OOFG.js";
15
15
  import { u as Ba, B as Wa } from "./BaseScanner-DIK2NTdp.js";
16
16
  import { _ as Ya } from "./_plugin-vue_export-helper-CHgC5LLL.js";
17
17
  const Xa = ["id"], Ga = ["xmlns", "viewBox"], Ja = ["x", "y", "width", "height"], qa = { key: 1 }, Za = ["id"], Ka = ["stop-color"], Qa = ["stop-color"], ja = ["stop-color"], el = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], tl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], al = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], ll = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], sl = { key: 0 }, rl = ["x", "y", "height", "rx", "width", "fill", "stroke", "stroke-width"], ol = { key: 0 }, il = ["x", "y", "height", "rx", "width", "fill", "stroke", "stroke-width"], nl = ["x", "y", "width", "rx", "height", "fill", "stroke", "stroke-width"], ul = { key: 0 }, cl = ["x", "y", "width", "rx", "height", "fill", "stroke", "stroke-width"], hl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], vl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], dl = ["x", "y", "font-size", "fill", "font-weight"], yl = ["transform", "font-size", "fill", "font-weight"], gl = ["x", "y", "font-size", "fill", "font-weight"], bl = ["x", "y", "font-size", "font-weight", "fill"], fl = ["x", "y", "font-size", "fill", "font-weight"], ml = ["x", "y", "font-size", "font-weight", "fill"], pl = ["x1", "x2", "y1", "y2", "stroke"], xl = ["x", "y", "font-size", "font-weight", "fill"], kl = ["x1", "x2", "y1", "y2", "stroke"], wl = ["font-size", "font-weight", "fill", "text-anchor", "transform"], Ll = { key: 0 }, zl = { key: 1 }, Cl = ["text-anchor", "font-size", "font-weight", "fill", "transform", "onClick"], Sl = ["text-anchor", "font-size", "fill", "transform", "innerHTML", "onClick"], _l = { key: 0 }, $l = { key: 1 }, Tl = ["font-size", "font-weight", "fill", "x", "y", "onClick"], Ml = ["font-size", "font-weight", "fill", "x", "y", "onClick", "innerHTML"], Al = ["x", "y", "width", "height", "onClick", "onMouseenter", "fill"], Nl = ["x", "y", "width", "height", "onClick", "onMouseenter", "fill"], Il = {
@@ -35,7 +35,7 @@ const Xa = ["id"], Ga = ["xmlns", "viewBox"], Ja = ["x", "y", "width", "height"]
35
35
  },
36
36
  emits: ["selectDatapoint", "selectLegend", "selectTimeLabel"],
37
37
  setup(_e, { expose: Vt, emit: Et }) {
38
- const Dt = te(() => import("./vue-ui-accordion-C7ba8AVe.js")), Ft = te(() => import("./DataTable-BtWOpycK.js")), Ut = te(() => import("./PackageVersion-BcAEQLLi.js")), Ht = te(() => import("./PenAndPaper-CmO7bEfi.js")), Bt = te(() => import("./Tooltip-mMwokTkO.js")), Wt = te(() => import("./UserOptions-DYn2297n.js")), { vue_ui_stackbar: Yt } = ma(), Xt = ga(), f = _e, $e = Et, ie = k({
38
+ const Dt = te(() => import("./vue-ui-accordion-DFtpDmPO.js")), Ft = te(() => import("./DataTable-BYNUm5Gf.js")), Ut = te(() => import("./PackageVersion-BzwYjMOW.js")), Ht = te(() => import("./PenAndPaper-DTcaSmnI.js")), Bt = te(() => import("./Tooltip-cz9CUpDk.js")), Wt = te(() => import("./UserOptions-By5PgYu0.js")), { vue_ui_stackbar: Yt } = ma(), Xt = ga(), f = _e, $e = Et, ie = k({
39
39
  get() {
40
40
  return !!f.dataset && f.dataset.length;
41
41
  },
@@ -1,13 +1,13 @@
1
1
  import { defineAsyncComponent as A, computed as f, ref as v, watch as Qe, shallowRef as Ae, onMounted as Ze, onBeforeUnmount as et, createElementBlock as u, openBlock as r, unref as n, normalizeStyle as Y, normalizeClass as R, createBlock as S, createCommentVNode as c, createVNode as Se, createSlots as tt, withCtx as y, renderSlot as p, normalizeProps as F, guardReactiveProps as I, createElementVNode as x, Fragment as k, renderList as T, toDisplayString as z, mergeProps as lt, createTextVNode as at, nextTick as ot } from "vue";
2
- import { u as st, c as le, t as rt, p as O, a as ut, o as it, e as ae, g as ze, b as nt, d as Oe, v as vt, D as ct, f as j, X as ht, i as oe, I as dt, l as pt, h as ft, x as Pe, E as yt, q as bt, r as mt, y as gt } from "./index-DwurWOmm.js";
2
+ import { u as st, c as le, t as rt, p as O, a as ut, o as it, e as ae, g as ze, b as nt, d as Oe, v as vt, D as ct, f as j, X as ht, i as oe, I as dt, l as pt, h as ft, x as Pe, E as yt, q as bt, r as mt, y as gt } from "./index-Drw6d_8M.js";
3
3
  import { t as kt, u as xt } from "./useResponsive-DfdjqQps.js";
4
- import { u as Ne } from "./useNestedProp-CFAjw-uI.js";
5
- import { u as wt } from "./usePrinter-BvsDO5CU.js";
4
+ import { u as Ne } from "./useNestedProp-DU20xu9g.js";
5
+ import { u as wt } from "./usePrinter-QRK7y9fG.js";
6
6
  import { u as Ct } from "./useUserOptionState-BIvW1Kz7.js";
7
7
  import { u as $t } from "./useChartAccessibility-9icAAmYg.js";
8
- import Tt from "./Title-CGN9QiYI.js";
9
- import { _ as _t } from "./Shape-CQVlnhqo.js";
10
- import Lt from "./img-ChuzqrF3.js";
8
+ import Tt from "./Title-DONRFCZQ.js";
9
+ import { _ as _t } from "./Shape-EL8kKFHT.js";
10
+ import Lt from "./img-D3r3OOFG.js";
11
11
  import { _ as At } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
12
  const St = ["id"], zt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"], Pt = { key: 1 }, Nt = { key: 0 }, Mt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Ft = { key: 1 }, It = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Wt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Dt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Gt = ["x", "y", "fill", "font-size"], Rt = ["x", "y", "font-size", "fill"], Et = ["x", "y", "font-size", "fill", "innerHTML"], Vt = ["fill", "font-size", "transform"], Ht = ["fill", "font-size", "x", "y"], Ut = ["x1", "x2", "y1", "y2", "stroke"], Bt = ["cx", "cy", "fill"], Xt = ["cx", "cy", "fill"], Yt = ["id"], jt = ["stop-color"], qt = ["stop-color"], Jt = ["stop-color"], Kt = { key: 0 }, Qt = ["x", "y", "font-size", "fill"], Zt = {
13
13
  key: 5,
@@ -30,7 +30,7 @@ const St = ["id"], zt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
30
30
  },
31
31
  emits: ["selectDatapoint"],
32
32
  setup(Me, { expose: Fe, emit: Ie }) {
33
- const We = A(() => import("./vue-ui-accordion-C7ba8AVe.js")), De = A(() => import("./DataTable-BtWOpycK.js")), Ge = A(() => import("./PackageVersion-BcAEQLLi.js")), Re = A(() => import("./PenAndPaper-CmO7bEfi.js")), Ee = A(() => import("./vue-ui-skeleton-C8QYEKxX.js")), Ve = A(() => import("./Tooltip-mMwokTkO.js")), He = A(() => import("./UserOptions-DYn2297n.js")), { vue_ui_strip_plot: Ue } = st(), b = Me, Be = Ie, _ = f({
33
+ const We = A(() => import("./vue-ui-accordion-DFtpDmPO.js")), De = A(() => import("./DataTable-BYNUm5Gf.js")), Ge = A(() => import("./PackageVersion-BzwYjMOW.js")), Re = A(() => import("./PenAndPaper-DTcaSmnI.js")), Ee = A(() => import("./vue-ui-skeleton-Nk3lNLyJ.js")), Ve = A(() => import("./Tooltip-cz9CUpDk.js")), He = A(() => import("./UserOptions-By5PgYu0.js")), { vue_ui_strip_plot: Ue } = st(), b = Me, Be = Ie, _ = f({
34
34
  get() {
35
35
  return !!b.dataset && b.dataset.length;
36
36
  },
@@ -1,6 +1,6 @@
1
- import { a8 as z, A as P, l as T, r as U, f as V, h as X, q as j, z as Y, d as W, F as J, u as K, p as Z } from "./index-DwurWOmm.js";
2
- import q from "./vue-ui-xy-D1ZyohhW.js";
3
- import Q from "./vue-ui-donut-C_f5VCo9.js";
1
+ import { a8 as z, A as P, l as T, r as U, f as V, h as X, q as j, z as Y, d as W, F as J, u as K, p as Z } from "./index-Drw6d_8M.js";
2
+ import q from "./vue-ui-xy-Bq3enVyu.js";
3
+ import Q from "./vue-ui-donut-SfwmwqtT.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, a as pe, o as ce, e as ve, a9 as me, F as fe, P as he, q as ge, r as be } from "./index-DwurWOmm.js";
3
- import { u as H } from "./useNestedProp-CFAjw-uI.js";
4
- import { u as ye } from "./usePrinter-BvsDO5CU.js";
2
+ import { u as de, c as A, a as pe, o as ce, e as ve, a9 as me, F as fe, P as he, q as ge, r as be } from "./index-Drw6d_8M.js";
3
+ import { u as H } from "./useNestedProp-DU20xu9g.js";
4
+ import { u as ye } from "./usePrinter-QRK7y9fG.js";
5
5
  import { u as Ce } from "./useUserOptionState-BIvW1Kz7.js";
6
- import { _ as ke } from "./Shape-CQVlnhqo.js";
6
+ import { _ as ke } from "./Shape-EL8kKFHT.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-DYn2297n.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-By5PgYu0.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-CFAjw-uI.js";
3
- import { u as Ge, c as Le, t as Re, p as T, a as He, b as qe, o as Xe, e as he, g as Je, a9 as Ke, d as Qe, i as W, f as M, q as Ye, r as Ze } from "./index-DwurWOmm.js";
4
- import { u as je } from "./usePrinter-BvsDO5CU.js";
2
+ import { u as ye } from "./useNestedProp-DU20xu9g.js";
3
+ import { u as Ge, c as Le, t as Re, p as T, a as He, b as qe, o as Xe, e as he, g as Je, a9 as Ke, d as Qe, i as W, f as M, q as Ye, r as Ze } from "./index-Drw6d_8M.js";
4
+ import { u as je } from "./usePrinter-QRK7y9fG.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-BzskaXWk.js")), N = J(() => import("./BaseIcon-CNk8ZQxC.js")), xe = J(() => import("./UserOptions-DYn2297n.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-B37Xfywa.js")), N = J(() => import("./BaseIcon-Ds5wm_lU.js")), xe = J(() => import("./UserOptions-By5PgYu0.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
  });