vue-data-ui 3.0.0-next.58 → 3.0.0-next.59
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.
- package/dist/{Arrow-BdebCogi.js → Arrow-Cy3DXLKh.js} +1 -1
- package/dist/{BaseDraggableDialog-QfXlICHa.js → BaseDraggableDialog-BMX7Vs05.js} +2 -2
- package/dist/{BaseIcon-B-Zuw4hN.js → BaseIcon-CY5cKZco.js} +1 -1
- package/dist/{ColorPicker-DWCBREFx.js → ColorPicker-B6qnvRPP.js} +2 -2
- package/dist/{DataTable-9RqEr3O7.js → DataTable-0vMEKXyc.js} +2 -2
- package/dist/{Legend-BqrngbHw.js → Legend-CxcYd88T.js} +2 -2
- package/dist/{NonSvgPenAndPaper-BBs_NC2x.js → NonSvgPenAndPaper-B9VyAH8V.js} +3 -3
- package/dist/{PackageVersion-Q84nLP1I.js → PackageVersion-Drk6yOgG.js} +1 -1
- package/dist/{PenAndPaper-DTDvVEz-.js → PenAndPaper-BSBB3lDR.js} +3 -3
- package/dist/{Shape-KHCRkkSS.js → Shape--XKRrfTm.js} +1 -1
- package/dist/{Slicer-CUaK2ypg.js → Slicer-DCDucxqY.js} +2 -2
- package/dist/{SparkTooltip-D721EASE.js → SparkTooltip-CjvxSe5t.js} +1 -1
- package/dist/{Title-ENZfmjfM.js → Title-D0LcJx9c.js} +1 -1
- package/dist/{Tooltip-CsLS8Tc8.js → Tooltip-A0rXVeCS.js} +1 -1
- package/dist/{UserOptions-GxEENfvl.js → UserOptions-B6pdFvnh.js} +2 -2
- package/dist/{dom-to-png-LQVV7IWB.js → dom-to-png-soMc4J-O.js} +1 -1
- package/dist/{img-CJNBD126.js → img-XQW68ydk.js} +1 -1
- package/dist/{index-BshAuNuP.js → index-3dwsQVpJ.js} +14 -1
- package/dist/{pdf-BF0iuIbz.js → pdf-uuJ9bA-G.js} +1 -1
- package/dist/types/vue-data-ui.d.cts +8 -0
- package/dist/types/vue-data-ui.d.ts +8 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-B7H3AMHf.js → useAutoSizeLabelsInsideViewbox-BD2VwIW8.js} +1 -1
- package/dist/{useNestedProp-BbGfeZ8E.js → useNestedProp-gsSGb_lz.js} +1 -1
- package/dist/{usePrinter-CQBNBSp8.js → usePrinter-eX-mHqpH.js} +2 -2
- package/dist/{vue-data-ui-DGoTdDDK.js → vue-data-ui-vW4TPl3U.js} +64 -64
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-DJfeL_-3.js → vue-ui-3d-bar-f6DERIfX.js} +6 -6
- package/dist/{vue-ui-accordion-DmrWcofh.js → vue-ui-accordion-B8nt3TxA.js} +3 -3
- package/dist/{vue-ui-age-pyramid-BODmxkHt.js → vue-ui-age-pyramid-CMTrjr66.js} +6 -6
- package/dist/{vue-ui-annotator-Dhfc8JyT.js → vue-ui-annotator-DQ7W33jU.js} +2 -2
- package/dist/{vue-ui-bullet-Ca3euWoC.js → vue-ui-bullet-DZpiGlT4.js} +7 -7
- package/dist/{vue-ui-candlestick-t7vzD0Bo.js → vue-ui-candlestick-D_-OKcLB.js} +7 -7
- package/dist/{vue-ui-carousel-table-CBLL1-2k.js → vue-ui-carousel-table-Kc13xumV.js} +4 -4
- package/dist/{vue-ui-chestnut-Cx4bOdLO.js → vue-ui-chestnut-BzDu3Rn6.js} +5 -5
- package/dist/{vue-ui-chord-CReroqMA.js → vue-ui-chord-U669mk50.js} +8 -8
- package/dist/{vue-ui-circle-pack-B8xZmTcm.js → vue-ui-circle-pack-xw5KQZU-.js} +6 -6
- package/dist/{vue-ui-cursor-DJ8_qBBD.js → vue-ui-cursor-Ce7aQLHI.js} +2 -2
- package/dist/{vue-ui-dashboard-bsvwPzpW.js → vue-ui-dashboard-y82bZlmD.js} +62 -62
- package/dist/{vue-ui-digits-BZfnD3ez.js → vue-ui-digits-KEMPMv_F.js} +2 -2
- package/dist/{vue-ui-donut-Be20FP2o.js → vue-ui-donut-DE6uXbjC.js} +8 -8
- package/dist/{vue-ui-donut-evolution-C9trFeUZ.js → vue-ui-donut-evolution-CnqbDlWb.js} +8 -8
- package/dist/{vue-ui-dumbbell-Cd-3lAW2.js → vue-ui-dumbbell-BxQn3t4G.js} +7 -7
- package/dist/{vue-ui-flow-BEjXZezX.js → vue-ui-flow-94-MPmDY.js} +7 -7
- package/dist/{vue-ui-funnel-BdmG7svM.js → vue-ui-funnel-CwlWwL3n.js} +6 -6
- package/dist/{vue-ui-galaxy-CZUbavYa.js → vue-ui-galaxy-CNf7tCih.js} +5 -5
- package/dist/{vue-ui-gauge-C8uIlUO6.js → vue-ui-gauge-Cew9UDzz.js} +7 -7
- package/dist/{vue-ui-gizmo-BIdvqPj0.js → vue-ui-gizmo--xaQAnQu.js} +3 -3
- package/dist/{vue-ui-heatmap-LOmwdZli.js → vue-ui-heatmap-D6cGvObH.js} +7 -7
- package/dist/{vue-ui-history-plot-BsXbkJKP.js → vue-ui-history-plot-DW5MxS_b.js} +7 -7
- package/dist/{vue-ui-kpi-CMh4W-9S.js → vue-ui-kpi-BatAZ4-E.js} +3 -3
- package/dist/{vue-ui-mini-loader-D4iGH9_v.js → vue-ui-mini-loader-GPIqVVO1.js} +2 -2
- package/dist/{vue-ui-molecule-Re28mKit.js → vue-ui-molecule-k7qyYVdZ.js} +5 -5
- package/dist/{vue-ui-mood-radar-DYRGx5Rl.js → vue-ui-mood-radar-BabL_H73.js} +7 -7
- package/dist/{vue-ui-nested-donuts-DbUZlrBg.js → vue-ui-nested-donuts-WKD01a1O.js} +9 -9
- package/dist/{vue-ui-onion-DmIJphbZ.js → vue-ui-onion-BkyATCmO.js} +8 -8
- package/dist/{vue-ui-parallel-coordinate-plot-ChF6ulPo.js → vue-ui-parallel-coordinate-plot-jm-azRXI.js} +8 -8
- package/dist/{vue-ui-quadrant-CIAG3pKZ.js → vue-ui-quadrant-DBd4oVbT.js} +8 -8
- package/dist/{vue-ui-quick-chart-Bka9tPEx.js → vue-ui-quick-chart-CwBj1P_V.js} +6 -6
- package/dist/{vue-ui-radar-BNYr-0Me.js → vue-ui-radar-CSv_3sN3.js} +7 -7
- package/dist/{vue-ui-rating-BNUL56t4.js → vue-ui-rating-C6KezTXl.js} +2 -2
- package/dist/{vue-ui-relation-circle-DOYkBvSY.js → vue-ui-relation-circle-DUzsyxP3.js} +6 -6
- package/dist/{vue-ui-ridgeline-DEn1oudN.js → vue-ui-ridgeline-BCHnAtYx.js} +8 -8
- package/dist/{vue-ui-rings-CSNmlblD.js → vue-ui-rings-I6pUXmJJ.js} +8 -8
- package/dist/{vue-ui-scatter-CVKhR03G.js → vue-ui-scatter-CIbgIR2N.js} +8 -8
- package/dist/{vue-ui-skeleton-C-F_6Vl8.js → vue-ui-skeleton-DfTWTIRD.js} +3 -3
- package/dist/{vue-ui-smiley-9uchQGm-.js → vue-ui-smiley-D-jjuB_S.js} +2 -2
- package/dist/{vue-ui-spark-trend-CB3DO3a4.js → vue-ui-spark-trend-CTEVFB0f.js} +3 -3
- package/dist/vue-ui-sparkbar-BmrXpZdR.js +351 -0
- package/dist/{vue-ui-sparkgauge-BtW6-sLc.js → vue-ui-sparkgauge-EkEm4AS9.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-CW0N9NcQ.js → vue-ui-sparkhistogram-CvzKB01S.js} +4 -4
- package/dist/{vue-ui-sparkline-Cz8tNNX5.js → vue-ui-sparkline-B76XhHl5.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-CnmBJnbX.js → vue-ui-sparkstackbar-BJ-rHvP2.js} +3 -3
- package/dist/{vue-ui-stackbar-qIRqTunP.js → vue-ui-stackbar-D1cu4co4.js} +9 -9
- package/dist/{vue-ui-strip-plot-mmGIF-Kt.js → vue-ui-strip-plot-Ch1NtN_S.js} +7 -7
- package/dist/{vue-ui-table-C1ftm37c.js → vue-ui-table-DCJDWKjJ.js} +3 -3
- package/dist/{vue-ui-table-heatmap-0AkmMtph.js → vue-ui-table-heatmap-CNOFepne.js} +5 -5
- package/dist/{vue-ui-table-sparkline-53LdwwOX.js → vue-ui-table-sparkline-B4caHVFQ.js} +4 -4
- package/dist/{vue-ui-thermometer-cpmry95L.js → vue-ui-thermometer-ApFwWbAJ.js} +7 -7
- package/dist/{vue-ui-timer-BkPmheSp.js → vue-ui-timer-CXFlnQWL.js} +5 -5
- package/dist/{vue-ui-tiremarks-0Td6rFSB.js → vue-ui-tiremarks-Co2nDZn0.js} +6 -6
- package/dist/{vue-ui-treemap-ClL19tZl.js → vue-ui-treemap-CPqRKKv9.js} +8 -8
- package/dist/{vue-ui-vertical-bar-Yigs8iR9.js → vue-ui-vertical-bar-D6PiL6Hm.js} +9 -9
- package/dist/{vue-ui-waffle-CLbJ0gNv.js → vue-ui-waffle-DTf2hN2Q.js} +8 -8
- package/dist/{vue-ui-wheel-Ddr9_dsz.js → vue-ui-wheel-CO06fgiJ.js} +6 -6
- package/dist/{vue-ui-word-cloud-BnYr9XJt.js → vue-ui-word-cloud-B13xfkXT.js} +6 -6
- package/dist/{vue-ui-world-D5iO6V_L.js → vue-ui-world-C5S4zyBs.js} +6 -6
- package/dist/{vue-ui-xy-ByTY6gwo.js → vue-ui-xy-DQTFeS0H.js} +9 -9
- package/dist/{vue-ui-xy-canvas-B_VipV62.js → vue-ui-xy-canvas-CUpEoeSY.js} +8 -8
- package/package.json +1 -1
- package/dist/vue-ui-sparkbar-C2R03dNB.js +0 -301
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useSlots as E, onMounted as G, ref as R, computed as _, watch as T, createElementBlock as s, openBlock as i, normalizeStyle as a, createCommentVNode as d, createElementVNode as l, toDisplayString as c, unref as o, withKeys as z, normalizeClass as M, createTextVNode as S, createStaticVNode as $ } from "vue";
|
|
2
|
-
import { u as P, o as q, f as J, k as x, i as b, X as f, x as m } from "./index-
|
|
3
|
-
import { u as Q } from "./useNestedProp-
|
|
2
|
+
import { u as P, o as q, f as J, k as x, i as b, X as f, x as m } from "./index-3dwsQVpJ.js";
|
|
3
|
+
import { u as Q } from "./useNestedProp-gsSGb_lz.js";
|
|
4
4
|
import { _ as W } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const Z = {
|
|
6
6
|
key: 0,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineAsyncComponent as M, computed as s, ref as k, watch as D, onMounted as ee, createElementBlock as r, openBlock as o, normalizeStyle as te, createBlock as L, createCommentVNode as i, unref as u, createVNode as ae, createElementVNode as _, renderSlot as O, toDisplayString as G } from "vue";
|
|
2
|
-
import { u as le, c as ne, b as oe, a5 as I, o as se, f as ue, h as c, a6 as re, X as ie, s as F, V as U, i as P, k as de } from "./index-
|
|
3
|
-
import { u as q } from "./useNestedProp-
|
|
2
|
+
import { u as le, c as ne, b as oe, a5 as I, o as se, f as ue, h as c, a6 as re, X as ie, s as F, V as U, i as P, k as de } from "./index-3dwsQVpJ.js";
|
|
3
|
+
import { u as q } from "./useNestedProp-gsSGb_lz.js";
|
|
4
4
|
import { _ as ve } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const he = ["id"], ce = ["xmlns", "viewBox"], ye = ["width", "height"], fe = ["id"], pe = ["stop-color"], ge = ["stop-color"], me = { key: 1 }, ke = ["d", "fill"], _e = ["d", "fill"], be = ["d", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin"], we = ["d", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin"], xe = ["height", "width", "x"], Ce = { style: { width: "100%" } }, Le = ["x", "y", "fill", "font-size", "font-weight"], $e = ["stroke", "cx", "cy", "fill"], Ne = ["x", "y", "font-size", "fill", "font-weight"], Te = {
|
|
6
6
|
key: 2,
|
|
@@ -23,7 +23,7 @@ const he = ["id"], ce = ["xmlns", "viewBox"], ye = ["width", "height"], fe = ["i
|
|
|
23
23
|
}
|
|
24
24
|
},
|
|
25
25
|
setup(W) {
|
|
26
|
-
const $ = M(() => import("./BaseIcon-
|
|
26
|
+
const $ = M(() => import("./BaseIcon-CY5cKZco.js")), X = M(() => import("./PackageVersion-Drk6yOgG.js")), Z = M(() => import("./vue-ui-skeleton-DfTWTIRD.js")), { vue_ui_spark_trend: R } = le(), d = W, H = s(() => !!d.dataset && d.dataset.length), b = k(ne()), e = s({
|
|
27
27
|
get: () => j(),
|
|
28
28
|
set: (t) => t
|
|
29
29
|
});
|
|
@@ -0,0 +1,351 @@
|
|
|
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-3dwsQVpJ.js";
|
|
3
|
+
import { u as O } from "./useNestedProp-gsSGb_lz.js";
|
|
4
|
+
import { u as he, B as xe } from "./useLoading-Bt5Doa8m.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 = {
|
|
6
|
+
key: 2,
|
|
7
|
+
ref: "source",
|
|
8
|
+
dir: "auto"
|
|
9
|
+
}, Fe = {
|
|
10
|
+
__name: "vue-ui-sparkbar",
|
|
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
|
+
/**
|
|
25
|
+
* Used in VueUiRadar's tooltip exclusively
|
|
26
|
+
*/
|
|
27
|
+
backgroundOpacity: {
|
|
28
|
+
type: Number,
|
|
29
|
+
default: null
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
emits: ["selectDatapoint"],
|
|
33
|
+
setup(S, { emit: j }) {
|
|
34
|
+
const U = Z(() => import("./PackageVersion-Drk6yOgG.js")), { vue_ui_sparkbar: R } = ue(), f = S, W = ee();
|
|
35
|
+
B(() => {
|
|
36
|
+
W["chart-background"] && console.warn("VueUiSparkbar does not support the #chart-background slot.");
|
|
37
|
+
});
|
|
38
|
+
const L = x(ie()), e = x($()), { loading: k, FINAL_DATASET: p } = he({
|
|
39
|
+
...te(f),
|
|
40
|
+
FINAL_CONFIG: e,
|
|
41
|
+
prepareConfig: $,
|
|
42
|
+
skeletonDataset: [
|
|
43
|
+
{ name: "_", value: 21, target: 25, color: "#808080" },
|
|
44
|
+
{ name: "_", value: 13, target: 25, color: "#ADADAD" },
|
|
45
|
+
{ name: "_", value: 8, target: 25, color: "#DBDBDB" }
|
|
46
|
+
],
|
|
47
|
+
skeletonConfig: re({
|
|
48
|
+
defaultConfig: e.value,
|
|
49
|
+
userConfig: {
|
|
50
|
+
style: {
|
|
51
|
+
backgroundColor: "#99999930",
|
|
52
|
+
animation: { show: !1 },
|
|
53
|
+
layout: { independant: !0 },
|
|
54
|
+
gutter: {
|
|
55
|
+
backgroundColor: "#6A6A6A",
|
|
56
|
+
opacity: 50
|
|
57
|
+
},
|
|
58
|
+
bar: {
|
|
59
|
+
gradient: {
|
|
60
|
+
underlayerColor: "#6A6A6A"
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
})
|
|
66
|
+
}), T = w(() => !!e.value.debug);
|
|
67
|
+
function $() {
|
|
68
|
+
const t = O({
|
|
69
|
+
userConfig: f.config,
|
|
70
|
+
defaultConfig: R
|
|
71
|
+
});
|
|
72
|
+
return t.theme ? {
|
|
73
|
+
...O({
|
|
74
|
+
userConfig: de.vue_ui_sparkbar[t.theme] || f.config,
|
|
75
|
+
defaultConfig: t
|
|
76
|
+
}),
|
|
77
|
+
customPalette: ve[t.theme] || C
|
|
78
|
+
} : t;
|
|
79
|
+
}
|
|
80
|
+
E(() => f.config, (t) => {
|
|
81
|
+
e.value = $();
|
|
82
|
+
}, { deep: !0 });
|
|
83
|
+
const G = w(() => ce(e.value.customPalette)), g = x(p.value.map((t) => ({
|
|
84
|
+
...t,
|
|
85
|
+
value: e.value.style.animation.show ? 0 : t.value || 0,
|
|
86
|
+
formatter: t.formatter || null
|
|
87
|
+
}))), z = x(null);
|
|
88
|
+
B(async () => {
|
|
89
|
+
pe(f.dataset) && V({
|
|
90
|
+
componentName: "VueUiSparkbar",
|
|
91
|
+
type: "dataset",
|
|
92
|
+
debug: T.value
|
|
93
|
+
}), N();
|
|
94
|
+
});
|
|
95
|
+
function N() {
|
|
96
|
+
if (e.value.style.animation.show) {
|
|
97
|
+
let h = function() {
|
|
98
|
+
s += l / t, s < l ? (g.value = g.value.map((u, b) => ({
|
|
99
|
+
...u,
|
|
100
|
+
value: u.value += a[b]
|
|
101
|
+
})), z.value = requestAnimationFrame(h)) : g.value = p.value.map((u) => ({
|
|
102
|
+
...u,
|
|
103
|
+
value: u.value || 0,
|
|
104
|
+
formatter: u.formatter || null
|
|
105
|
+
}));
|
|
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);
|
|
108
|
+
let s = 0;
|
|
109
|
+
h();
|
|
110
|
+
}
|
|
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);
|
|
118
|
+
}, { deep: !0 });
|
|
119
|
+
const r = x({
|
|
120
|
+
width: 500,
|
|
121
|
+
height: 16
|
|
122
|
+
}), q = w(() => Math.max(...p.value.map((t) => t.value))), H = w(() => (p.value.forEach((t, a) => {
|
|
123
|
+
fe({
|
|
124
|
+
datasetObject: t,
|
|
125
|
+
requiredAttributes: ["name", "value"]
|
|
126
|
+
}).forEach((l) => {
|
|
127
|
+
V({
|
|
128
|
+
componentName: "VueUiSparkbar",
|
|
129
|
+
type: "datasetSerieAttribute",
|
|
130
|
+
property: l,
|
|
131
|
+
index: a,
|
|
132
|
+
debug: T.value
|
|
133
|
+
});
|
|
134
|
+
});
|
|
135
|
+
}), g.value.map((t, a) => ({
|
|
136
|
+
...t,
|
|
137
|
+
value: t.value || 0,
|
|
138
|
+
color: ye(t.color) || G.value[a] || C[a] || C[a % C.length]
|
|
139
|
+
}))));
|
|
140
|
+
function X(t) {
|
|
141
|
+
return t / q.value;
|
|
142
|
+
}
|
|
143
|
+
function F(t) {
|
|
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
|
+
}
|
|
146
|
+
function m(t) {
|
|
147
|
+
return e.value.style.layout.independant && t.target || e.value.style.layout.target;
|
|
148
|
+
}
|
|
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 });
|
|
152
|
+
}
|
|
153
|
+
function Q(t, a) {
|
|
154
|
+
e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: a });
|
|
155
|
+
}
|
|
156
|
+
function Y(t, a) {
|
|
157
|
+
e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: a });
|
|
158
|
+
}
|
|
159
|
+
return (t, a) => (n(), i("div", {
|
|
160
|
+
class: "vue-ui-sparkbar",
|
|
161
|
+
style: d({
|
|
162
|
+
width: "100%",
|
|
163
|
+
position: "relative",
|
|
164
|
+
fontFamily: e.value.style.fontFamily,
|
|
165
|
+
background: f.backgroundOpacity !== null ? o(I)(e.value.style.backgroundColor, f.backgroundOpacity) : e.value.style.backgroundColor
|
|
166
|
+
})
|
|
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),
|
|
169
|
+
!t.$slots.title && e.value.style.title.text ? (n(), i("div", {
|
|
170
|
+
key: 1,
|
|
171
|
+
class: "vue-ui-sparkbar-title-container",
|
|
172
|
+
style: d({
|
|
173
|
+
background: e.value.style.title.backgroundColor,
|
|
174
|
+
margin: e.value.style.title.margin,
|
|
175
|
+
textAlign: e.value.style.title.textAlign
|
|
176
|
+
})
|
|
177
|
+
}, [
|
|
178
|
+
v("div", {
|
|
179
|
+
class: "vue-ui-sparkbar-title",
|
|
180
|
+
style: d({
|
|
181
|
+
fontSize: e.value.style.title.fontSize + "px",
|
|
182
|
+
color: e.value.style.title.color,
|
|
183
|
+
fontWeight: e.value.style.title.bold ? "bold" : "normal"
|
|
184
|
+
})
|
|
185
|
+
}, y(e.value.style.title.text), 5),
|
|
186
|
+
e.value.style.title.subtitle.text ? (n(), i("div", {
|
|
187
|
+
key: 0,
|
|
188
|
+
class: "vue-ui-sparkbar-subtitle",
|
|
189
|
+
style: d({
|
|
190
|
+
fontSize: e.value.style.title.subtitle.fontSize + "px",
|
|
191
|
+
color: e.value.style.title.subtitle.color,
|
|
192
|
+
fontWeight: e.value.style.title.subtitle.bold ? "bold" : "normal"
|
|
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" : ""}`),
|
|
198
|
+
onClick: (h) => K(l, s),
|
|
199
|
+
onMouseenter: (h) => Q(l, s),
|
|
200
|
+
onMouseleave: (h) => Y(l, s)
|
|
201
|
+
}, [
|
|
202
|
+
o(k) ? c("", !0) : D(t.$slots, "data-label", M({
|
|
203
|
+
key: 0,
|
|
204
|
+
ref_for: !0
|
|
205
|
+
}, { bar: {
|
|
206
|
+
...l,
|
|
207
|
+
target: m(l),
|
|
208
|
+
valueLabel: o(_)(
|
|
209
|
+
l.formatter,
|
|
210
|
+
l.value,
|
|
211
|
+
o(A)({
|
|
212
|
+
p: l.prefix || "",
|
|
213
|
+
v: l.value,
|
|
214
|
+
s: l.suffix || "",
|
|
215
|
+
r: l.rounding || 0
|
|
216
|
+
}),
|
|
217
|
+
{ datapoint: l, seriesIndex: s }
|
|
218
|
+
),
|
|
219
|
+
targetLabel: o(_)(
|
|
220
|
+
l.formatter,
|
|
221
|
+
m(l),
|
|
222
|
+
o(A)({
|
|
223
|
+
p: l.prefix || "",
|
|
224
|
+
v: m(l),
|
|
225
|
+
s: l.suffix || "",
|
|
226
|
+
r: l.rounding || 0
|
|
227
|
+
}),
|
|
228
|
+
{ datapoint: l, seriesIndex: s }
|
|
229
|
+
)
|
|
230
|
+
} })),
|
|
231
|
+
!t.$slots["data-label"] || o(k) ? (n(), i("div", {
|
|
232
|
+
key: 1,
|
|
233
|
+
style: d({
|
|
234
|
+
display: "flex",
|
|
235
|
+
justifyContent: ["right", "top-right"].includes(e.value.style.labels.name.position) ? "flex-end" : ["top-center"].includes(e.value.style.labels.name.position) ? "center" : "flex-start",
|
|
236
|
+
alignItems: "center",
|
|
237
|
+
width: e.value.style.labels.name.width,
|
|
238
|
+
color: e.value.style.labels.name.color,
|
|
239
|
+
fontSize: e.value.style.labels.fontSize + "px",
|
|
240
|
+
fontWeight: e.value.style.labels.name.bold ? "bold" : "normal",
|
|
241
|
+
flexWrap: "wrap"
|
|
242
|
+
})
|
|
243
|
+
}, [
|
|
244
|
+
o(k) ? (n(), i("div", {
|
|
245
|
+
key: 0,
|
|
246
|
+
class: "vue-ui-sparkbar-skeleton-name",
|
|
247
|
+
style: d({
|
|
248
|
+
width: "60px",
|
|
249
|
+
height: e.value.style.labels.fontSize + "px",
|
|
250
|
+
borderRadius: e.value.style.labels.fontSize / 4 + "px",
|
|
251
|
+
display: "flex",
|
|
252
|
+
alignItems: "center",
|
|
253
|
+
justifyContent: "space-between",
|
|
254
|
+
marginTop: "5px"
|
|
255
|
+
})
|
|
256
|
+
}, [
|
|
257
|
+
v("div", {
|
|
258
|
+
style: d({ height: "100%", width: "40px", borderRadius: e.value.style.labels.fontSize / 4 + "px", backgroundColor: "#6A6A6A80" })
|
|
259
|
+
}, null, 4),
|
|
260
|
+
v("div", {
|
|
261
|
+
style: d({ height: "100%", width: "15px", borderRadius: e.value.style.labels.fontSize / 4 + "px", backgroundColor: "#6A6A6A80" })
|
|
262
|
+
}, null, 4)
|
|
263
|
+
], 4)) : (n(), i(P, { key: 1 }, [
|
|
264
|
+
v("span", null, y(l.name), 1),
|
|
265
|
+
e.value.style.labels.value.show ? (n(), i("span", {
|
|
266
|
+
key: 0,
|
|
267
|
+
style: d(`font-weight:${e.value.style.labels.value.bold ? "bold" : "normal"}`)
|
|
268
|
+
}, ": " + y(o(_)(
|
|
269
|
+
l.formatter,
|
|
270
|
+
l.value,
|
|
271
|
+
o(A)({
|
|
272
|
+
p: l.prefix || "",
|
|
273
|
+
v: l.value,
|
|
274
|
+
s: l.suffix || "",
|
|
275
|
+
r: l.rounding || 0
|
|
276
|
+
}),
|
|
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(_)(
|
|
280
|
+
l.formatter,
|
|
281
|
+
m(l),
|
|
282
|
+
o(A)({
|
|
283
|
+
p: l.prefix || "",
|
|
284
|
+
v: m(l),
|
|
285
|
+
s: l.suffix || "",
|
|
286
|
+
r: l.rounding || 0
|
|
287
|
+
}),
|
|
288
|
+
{ datapoint: l, seriesIndex: s }
|
|
289
|
+
)), 1)) : c("", !0)
|
|
290
|
+
], 64))
|
|
291
|
+
], 4)) : c("", !0),
|
|
292
|
+
(n(), i("svg", {
|
|
293
|
+
xmlns: o(ge),
|
|
294
|
+
viewBox: `0 0 ${r.value.width} ${r.value.height}`,
|
|
295
|
+
width: "100%"
|
|
296
|
+
}, [
|
|
297
|
+
ne(o(U)),
|
|
298
|
+
v("defs", null, [
|
|
299
|
+
v("linearGradient", {
|
|
300
|
+
x1: "0%",
|
|
301
|
+
y1: "0%",
|
|
302
|
+
x2: "100%",
|
|
303
|
+
y2: "0%",
|
|
304
|
+
id: `sparkbar_gradient_${s}_${L.value}`
|
|
305
|
+
}, [
|
|
306
|
+
v("stop", {
|
|
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),
|
|
310
|
+
v("stop", {
|
|
311
|
+
offset: "100%",
|
|
312
|
+
"stop-color": l.color
|
|
313
|
+
}, null, 8, Ae)
|
|
314
|
+
], 8, Ce)
|
|
315
|
+
]),
|
|
316
|
+
v("rect", {
|
|
317
|
+
height: r.value.height,
|
|
318
|
+
width: r.value.width,
|
|
319
|
+
x: 0,
|
|
320
|
+
y: 0,
|
|
321
|
+
fill: o(I)(e.value.style.gutter.backgroundColor, e.value.style.gutter.opacity),
|
|
322
|
+
rx: r.value.height / 2
|
|
323
|
+
}, null, 8, Se),
|
|
324
|
+
v("rect", {
|
|
325
|
+
height: r.value.height,
|
|
326
|
+
width: r.value.width * F(l),
|
|
327
|
+
x: 0,
|
|
328
|
+
y: 0,
|
|
329
|
+
fill: e.value.style.bar.gradient.underlayerColor,
|
|
330
|
+
rx: r.value.height / 2
|
|
331
|
+
}, null, 8, $e),
|
|
332
|
+
v("rect", {
|
|
333
|
+
height: r.value.height,
|
|
334
|
+
width: r.value.width * F(l),
|
|
335
|
+
x: 0,
|
|
336
|
+
y: 0,
|
|
337
|
+
fill: e.value.style.bar.gradient.show ? `url(#sparkbar_gradient_${s}_${L.value})` : l.color,
|
|
338
|
+
rx: r.value.height / 2
|
|
339
|
+
}, null, 8, De)
|
|
340
|
+
], 8, we))
|
|
341
|
+
], 44, ke))), 256)),
|
|
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)
|
|
346
|
+
], 4));
|
|
347
|
+
}
|
|
348
|
+
};
|
|
349
|
+
export {
|
|
350
|
+
Fe as default
|
|
351
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineAsyncComponent as A, computed as s, onMounted as N, ref as M, watch as S, createElementBlock as r, openBlock as n, normalizeStyle as y, createCommentVNode as v, createBlock as R, toDisplayString as g, unref as i, createVNode as U, createElementVNode as d, renderSlot as z, normalizeClass as q } from "vue";
|
|
2
|
-
import { u as O } from "./useNestedProp-
|
|
3
|
-
import { u as T, o as V, f as j, g as X, c as H, b as Y, P as J, X as K, k as Q, h as m, i as W } from "./index-
|
|
2
|
+
import { u as O } from "./useNestedProp-gsSGb_lz.js";
|
|
3
|
+
import { u as T, o as V, f as j, g as X, c as H, b as Y, P as J, X as K, k as Q, h as m, i as W } from "./index-3dwsQVpJ.js";
|
|
4
4
|
import { u as Z } from "./useChartAccessibility-9icAAmYg.js";
|
|
5
5
|
const ee = ["xmlns", "viewBox"], te = ["width", "height"], ae = ["id"], le = ["stop-color"], oe = ["stop-color"], se = ["d", "stroke", "stroke-linecap"], ue = ["d", "stroke", "stroke-linecap", "stroke-dashoffset"], ne = ["x", "y", "font-size", "fill", "font-weight"], ie = {
|
|
6
6
|
key: 4,
|
|
@@ -23,7 +23,7 @@ const ee = ["xmlns", "viewBox"], te = ["width", "height"], ae = ["id"], le = ["s
|
|
|
23
23
|
}
|
|
24
24
|
},
|
|
25
25
|
setup(E) {
|
|
26
|
-
const F = A(() => import("./PackageVersion-
|
|
26
|
+
const F = A(() => import("./PackageVersion-Drk6yOgG.js")), B = A(() => import("./vue-ui-skeleton-DfTWTIRD.js")), { vue_ui_sparkgauge: D } = T(), a = E, p = s(() => !!a.dataset && Object.keys(a.dataset).length);
|
|
27
27
|
N(() => {
|
|
28
28
|
h();
|
|
29
29
|
});
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { useCssVars as le, computed as _, defineAsyncComponent as N, onMounted as ae, ref as D, watch as se, createElementBlock as s, openBlock as a, normalizeStyle as $, createCommentVNode as c, createBlock as V, createElementVNode as h, createTextVNode as oe, toDisplayString as p, unref as n, createVNode as ie, renderSlot as I, Fragment as f, renderList as g, normalizeClass as E } from "vue";
|
|
2
|
-
import { u as ue, o as re, f as H, g as ne, c as ve, b as de, s as b, k as F, i as O, X as ce, x as z } from "./index-
|
|
3
|
-
import { u as W } from "./useNestedProp-
|
|
2
|
+
import { u as ue, o as re, f as H, g as ne, c as ve, b as de, s as b, k as F, i as O, X as ce, x as z } from "./index-3dwsQVpJ.js";
|
|
3
|
+
import { u as W } from "./useNestedProp-gsSGb_lz.js";
|
|
4
4
|
import { u as ye } from "./useChartAccessibility-9icAAmYg.js";
|
|
5
|
-
import { _ as he } from "./Shape
|
|
5
|
+
import { _ as he } from "./Shape--XKRrfTm.js";
|
|
6
6
|
import { _ as fe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
7
7
|
const ge = { key: 0 }, pe = { key: 1 }, be = ["xmlns", "viewBox"], me = ["width", "height"], _e = ["id"], xe = ["stop-color"], ke = ["stop-color"], we = ["id"], $e = ["stop-color"], Ce = ["stop-color"], Le = ["id"], ze = ["stop-color"], Se = ["stop-color"], Ae = { key: 1 }, Me = ["x", "y", "height", "width", "fill", "stroke", "stroke-width", "rx"], Ne = { key: 2 }, De = ["x", "y", "font-size", "font-weight", "fill"], Ve = ["x", "y", "font-size", "fill"], Ie = ["x", "y", "font-size", "fill"], Ee = ["height", "width", "x", "onMouseover", "stroke", "stroke-width", "rx", "stroke-dasharray", "onClick"], He = {
|
|
8
8
|
key: 2,
|
|
@@ -29,7 +29,7 @@ const ge = { key: 0 }, pe = { key: 1 }, be = ["xmlns", "viewBox"], me = ["width"
|
|
|
29
29
|
le((l) => ({
|
|
30
30
|
"2d6ebc7a": J.value
|
|
31
31
|
}));
|
|
32
|
-
const j = N(() => import("./PackageVersion-
|
|
32
|
+
const j = N(() => import("./PackageVersion-Drk6yOgG.js")), R = N(() => import("./vue-ui-skeleton-DfTWTIRD.js")), { vue_ui_sparkhistogram: X } = ue(), d = B, S = _(() => !!d.dataset && d.dataset.length);
|
|
33
33
|
ae(() => {
|
|
34
34
|
A();
|
|
35
35
|
});
|
|
@@ -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-
|
|
3
|
-
import { u as ye } from "./useNestedProp-
|
|
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-3dwsQVpJ.js";
|
|
3
|
+
import { u as ye } from "./useNestedProp-gsSGb_lz.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-
|
|
43
|
+
const pe = le(() => import("./PackageVersion-Drk6yOgG.js")), ge = le(() => import("./SparkTooltip-CjvxSe5t.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 V, useSlots as pe, onMounted as G, computed as k, ref as d, watch as q, createElementBlock as r, openBlock as s, normalizeStyle as v, createCommentVNode as y, createBlock as ge, createVNode as H, createElementVNode as p, toDisplayString as C, unref as m, Fragment as x, renderList as $, normalizeClass as A, withCtx as X, renderSlot as T, normalizeProps as J, guardReactiveProps as K } from "vue";
|
|
2
|
-
import { u as he, c as Q, a as fe, p as i, b as ye, e as D, d as me, o as ke, f as Z, g as be, i as U, X as _e, s as we, x as Ce, k as ee, y as xe } from "./index-
|
|
3
|
-
import { u as te } from "./useNestedProp-
|
|
2
|
+
import { u as he, c as Q, a as fe, p as i, b as ye, e as D, d as me, o as ke, f as Z, g as be, i as U, X as _e, s as we, x as Ce, k as ee, y as xe } from "./index-3dwsQVpJ.js";
|
|
3
|
+
import { u as te } from "./useNestedProp-gsSGb_lz.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 Fe = ["xmlns", "viewBox"], Pe = ["id"], ze = ["stop-color"], Ae = ["stop-color"], De = ["stop-color"], Ne = {
|
|
@@ -31,7 +31,7 @@ const Fe = ["xmlns", "viewBox"], Pe = ["id"], ze = ["stop-color"], Ae = ["stop-c
|
|
|
31
31
|
},
|
|
32
32
|
emits: ["selectDatapoint"],
|
|
33
33
|
setup(le, { emit: oe }) {
|
|
34
|
-
const ae = V(() => import("./PackageVersion-
|
|
34
|
+
const ae = V(() => import("./PackageVersion-Drk6yOgG.js")), se = V(() => import("./vue-ui-skeleton-DfTWTIRD.js")), re = V(() => import("./Tooltip-A0rXVeCS.js")), { vue_ui_sparkstackbar: ne } = he(), u = le, ue = pe();
|
|
35
35
|
G(() => {
|
|
36
36
|
ue["chart-background"] && console.warn("VueUiSparkStackbar does not support the #chart-background slot.");
|
|
37
37
|
});
|
|
@@ -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-
|
|
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-3dwsQVpJ.js";
|
|
3
3
|
import { t as He, u as Pa } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as Va } from "./usePrinter-
|
|
4
|
+
import { u as Va } from "./usePrinter-eX-mHqpH.js";
|
|
5
5
|
import { u as Ea, B as Da } from "./useLoading-Bt5Doa8m.js";
|
|
6
|
-
import { u as Et } from "./useNestedProp-
|
|
6
|
+
import { u as Et } from "./useNestedProp-gsSGb_lz.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-
|
|
12
|
-
import Ya from "./Title-
|
|
13
|
-
import { _ as Xa } from "./Shape
|
|
14
|
-
import Ga from "./Legend-
|
|
15
|
-
import { S as Ja } from "./Slicer-
|
|
11
|
+
import Wa from "./img-XQW68ydk.js";
|
|
12
|
+
import Ya from "./Title-D0LcJx9c.js";
|
|
13
|
+
import { _ as Xa } from "./Shape--XKRrfTm.js";
|
|
14
|
+
import Ga from "./Legend-CxcYd88T.js";
|
|
15
|
+
import { S as Ja } from "./Slicer-DCDucxqY.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-
|
|
38
|
+
const Ht = te(() => import("./Tooltip-A0rXVeCS.js")), Ut = te(() => import("./vue-ui-accordion-B8nt3TxA.js")), Bt = te(() => import("./DataTable-0vMEKXyc.js")), Wt = te(() => import("./PenAndPaper-BSBB3lDR.js")), Yt = te(() => import("./UserOptions-B6pdFvnh.js")), Xt = te(() => import("./PackageVersion-Drk6yOgG.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-
|
|
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-3dwsQVpJ.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-
|
|
6
|
-
import { u as qe } from "./useNestedProp-
|
|
5
|
+
import { u as Vt } from "./usePrinter-eX-mHqpH.js";
|
|
6
|
+
import { u as qe } from "./useNestedProp-gsSGb_lz.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-
|
|
11
|
-
import { _ as qt } from "./Shape
|
|
12
|
-
import Jt from "./Title-
|
|
10
|
+
import Yt from "./img-XQW68ydk.js";
|
|
11
|
+
import { _ as qt } from "./Shape--XKRrfTm.js";
|
|
12
|
+
import Jt from "./Title-D0LcJx9c.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-
|
|
35
|
+
const Ze = I(() => import("./Tooltip-A0rXVeCS.js")), et = I(() => import("./vue-ui-accordion-B8nt3TxA.js")), tt = I(() => import("./DataTable-0vMEKXyc.js")), lt = I(() => import("./UserOptions-B6pdFvnh.js")), at = I(() => import("./PenAndPaper-BSBB3lDR.js")), ot = I(() => import("./PackageVersion-Drk6yOgG.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-
|
|
2
|
-
import q from "./vue-ui-xy-
|
|
3
|
-
import Q from "./vue-ui-donut-
|
|
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-3dwsQVpJ.js";
|
|
2
|
+
import q from "./vue-ui-xy-DQTFeS0H.js";
|
|
3
|
+
import Q from "./vue-ui-donut-DE6uXbjC.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-
|
|
3
|
-
import { u as H } from "./useNestedProp-
|
|
4
|
-
import { u as ye } from "./usePrinter-
|
|
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-3dwsQVpJ.js";
|
|
3
|
+
import { u as H } from "./useNestedProp-gsSGb_lz.js";
|
|
4
|
+
import { u as ye } from "./usePrinter-eX-mHqpH.js";
|
|
5
5
|
import { u as Ce } from "./useUserOptionState-BIvW1Kz7.js";
|
|
6
|
-
import { _ as ke } from "./Shape
|
|
6
|
+
import { _ as ke } from "./Shape--XKRrfTm.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-
|
|
48
|
+
const X = oe(() => import("./UserOptions-B6pdFvnh.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-
|
|
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-
|
|
4
|
-
import { u as je } from "./usePrinter-
|
|
2
|
+
import { u as ye } from "./useNestedProp-gsSGb_lz.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-3dwsQVpJ.js";
|
|
4
|
+
import { u as je } from "./usePrinter-eX-mHqpH.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-
|
|
46
|
+
const Ce = J(() => import("./vue-ui-sparkline-B76XhHl5.js")), N = J(() => import("./BaseIcon-CY5cKZco.js")), xe = J(() => import("./UserOptions-B6pdFvnh.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
|
});
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { useCssVars as ze, computed as c, defineAsyncComponent as j, ref as v, onMounted as We, toRefs as Ue, watch as Le, createElementBlock as u, openBlock as a, unref as n, normalizeStyle as ve, normalizeClass as z, createBlock as W, createCommentVNode as i, createSlots as Ne, withCtx as A, renderSlot as y, normalizeProps as U, guardReactiveProps as L, createVNode as Ye, createElementVNode as d, Fragment as N, renderList as de, toDisplayString as He } from "vue";
|
|
2
|
-
import { u as qe, c as Ee, t as Re, o as Ve, f as me, g as Ge, a as Be, p as F, b as De, d as je, h as f, e as Y, X as Xe, s as Je, k as Ke, i as Qe } from "./index-
|
|
2
|
+
import { u as qe, c as Ee, t as Re, o as Ve, f as me, g as Ge, a as Be, p as F, b as De, d as je, h as f, e as Y, X as Xe, s as Je, k as Ke, i as Qe } from "./index-3dwsQVpJ.js";
|
|
3
3
|
import { t as Ze, u as et } from "./useResponsive-DfdjqQps.js";
|
|
4
4
|
import { u as tt, B as st } from "./useLoading-Bt5Doa8m.js";
|
|
5
|
-
import { u as ot } from "./usePrinter-
|
|
6
|
-
import { u as ye } from "./useNestedProp-
|
|
5
|
+
import { u as ot } from "./usePrinter-eX-mHqpH.js";
|
|
6
|
+
import { u as ye } from "./useNestedProp-gsSGb_lz.js";
|
|
7
7
|
import { u as lt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
8
8
|
import { u as at } from "./useChartAccessibility-9icAAmYg.js";
|
|
9
|
-
import { u as rt } from "./useAutoSizeLabelsInsideViewbox-
|
|
10
|
-
import ut from "./Title-
|
|
11
|
-
import nt from "./img-
|
|
9
|
+
import { u as rt } from "./useAutoSizeLabelsInsideViewbox-BD2VwIW8.js";
|
|
10
|
+
import ut from "./Title-D0LcJx9c.js";
|
|
11
|
+
import nt from "./img-XQW68ydk.js";
|
|
12
12
|
import { _ as it } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
13
|
const ht = ["id"], ct = {
|
|
14
14
|
key: 1,
|
|
@@ -40,7 +40,7 @@ const ht = ["id"], ct = {
|
|
|
40
40
|
"94da5bc2": Ae.value,
|
|
41
41
|
"3f9c62cc": $e.value
|
|
42
42
|
}));
|
|
43
|
-
const ge = j(() => import("./PackageVersion-
|
|
43
|
+
const ge = j(() => import("./PackageVersion-Drk6yOgG.js")), pe = j(() => import("./PenAndPaper-BSBB3lDR.js")), ke = j(() => import("./UserOptions-B6pdFvnh.js")), { vue_ui_thermometer: be } = qe(), g = O, p = v(Ee()), k = v(null), X = v(0), J = v(0), K = v(null), Q = v(null), b = v(null), I = v(null), xe = c(() => !!g.dataset && Object.keys(g.dataset).length);
|
|
44
44
|
We(() => {
|
|
45
45
|
te();
|
|
46
46
|
});
|