vue-data-ui 3.0.0-next.7 → 3.0.0-next.71
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-Bl8urcli.js → Arrow-BZNpld6u.js} +1 -1
- package/dist/{BaseDraggableDialog-CyhpaZU5.js → BaseDraggableDialog-kg-eVvXZ.js} +2 -2
- package/dist/{BaseIcon-BCZfTCeM.js → BaseIcon-BdOEhJar.js} +1 -1
- package/dist/{ColorPicker-CSJf42vx.js → ColorPicker-CWvXlPxS.js} +2 -2
- package/dist/{DataTable-mQ6Wd-rR.js → DataTable-B3yakHEM.js} +2 -2
- package/dist/{Legend-B2hrDh4G.js → Legend-DiGLrlzP.js} +2 -2
- package/dist/{NonSvgPenAndPaper-DQ8KsK4W.js → NonSvgPenAndPaper-C-ZjpJQd.js} +3 -3
- package/dist/{PackageVersion-CeEYZfaH.js → PackageVersion-6s4eI8W7.js} +1 -1
- package/dist/{PenAndPaper-DhSxfUrQ.js → PenAndPaper-JoUN7Ink.js} +3 -3
- package/dist/{Shape-C2qH26wh.js → Shape-CWIa2nta.js} +43 -37
- package/dist/Slicer-DYuvPkEM.js +602 -0
- package/dist/{SparkTooltip-BcHgW6YX.js → SparkTooltip-C_fUmbP7.js} +1 -1
- package/dist/{Title-B7Xb3YuE.js → Title-VLWyIYrj.js} +1 -1
- package/dist/{Tooltip-BidRoM5E.js → Tooltip-BS5naLS2.js} +23 -19
- package/dist/{UserOptions-0tvMM8PF.js → UserOptions-BV_xM-sB.js} +2 -2
- package/dist/{dom-to-png-CTrlbKHr.js → dom-to-png-PUk0ukSG.js} +1 -1
- package/dist/{img-D72yZNUg.js → img-DD_2wgY3.js} +1 -1
- package/dist/{index-Cg-RjxqH.js → index-DKpp7RIH.js} +2236 -1505
- package/dist/{pdf-DgX01_wu.js → pdf-0TQQyXWM.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +610 -22
- package/dist/types/vue-data-ui.d.ts +610 -22
- package/dist/useAutoSizeLabelsInsideViewbox-Qhry5WvH.js +81 -0
- package/dist/useFitSvgText-2crs6Fv5.js +69 -0
- package/dist/useLoading-D7YHNtLX.js +29 -0
- package/dist/useNestedProp-D-8c0o4p.js +13 -0
- package/dist/usePanZoom-BVca3eMk.js +122 -0
- package/dist/{usePrinter-BUzmyQf9.js → usePrinter-NUeckmCX.js} +2 -2
- package/dist/useTimeLabelCollider-CIsgDrl9.js +78 -0
- package/dist/{useTimeLabels-Mrr0jrpL.js → useTimeLabels-DkzmKfZn.js} +211 -152
- package/dist/{vue-data-ui-DpO93ey5.js → vue-data-ui-BIXXEsFZ.js} +105 -100
- package/dist/vue-data-ui.js +23 -22
- package/dist/vue-ui-3d-bar-CVUfj12F.js +1323 -0
- package/dist/{vue-ui-accordion-CRomxzaL.js → vue-ui-accordion-Cpovz3RE.js} +3 -3
- package/dist/vue-ui-age-pyramid-CQWFaHLV.js +834 -0
- package/dist/{vue-ui-annotator-BAOxPiFx.js → vue-ui-annotator-C49Xw5Mh.js} +2 -2
- package/dist/vue-ui-bullet-DED2SuIa.js +571 -0
- package/dist/vue-ui-candlestick-DGgbevy6.js +999 -0
- package/dist/{vue-ui-carousel-table-DVGlPZIa.js → vue-ui-carousel-table-DKIgSB1T.js} +29 -29
- package/dist/{vue-ui-chestnut-P1v4ffD0.js → vue-ui-chestnut-D1bEM91d.js} +5 -5
- package/dist/vue-ui-chord-CBLSqtEP.js +1038 -0
- package/dist/{vue-ui-circle-pack-FXmemXgl.js → vue-ui-circle-pack-g2ts9NTG.js} +24 -24
- package/dist/{vue-ui-cursor-CdvMgIrP.js → vue-ui-cursor-DSxmPUD8.js} +2 -2
- package/dist/{vue-ui-dashboard-Vke0452J.js → vue-ui-dashboard-B6FfoNjQ.js} +62 -62
- package/dist/{vue-ui-digits-BVhyYqCs.js → vue-ui-digits-DKffQVgr.js} +2 -2
- package/dist/{vue-ui-donut-BpIivKcf.js → vue-ui-donut-CJrWc4-g.js} +320 -308
- package/dist/vue-ui-donut-evolution-Bys6cs-D.js +1075 -0
- package/dist/vue-ui-dumbbell-Cb_I__qC.js +1119 -0
- package/dist/vue-ui-flow-BzuT3ij5.js +841 -0
- package/dist/{vue-ui-funnel-BbFmbsft.js → vue-ui-funnel-Ctp7GDiN.js} +16 -16
- package/dist/vue-ui-galaxy-CRBy0aio.js +680 -0
- package/dist/vue-ui-gauge-NcQq5UFr.js +791 -0
- package/dist/vue-ui-gizmo-Cwfb8c-0.js +210 -0
- package/dist/vue-ui-heatmap-DElqpFVY.js +1078 -0
- package/dist/vue-ui-history-plot-De1Dvnhw.js +1073 -0
- package/dist/{vue-ui-kpi-jN_yMnLj.js → vue-ui-kpi-_bLScmgO.js} +26 -26
- package/dist/{vue-ui-mini-loader-rYr76x8g.js → vue-ui-mini-loader-PsHE_2Wy.js} +2 -2
- package/dist/{vue-ui-molecule-BWZHOQLi.js → vue-ui-molecule-CgiahnC6.js} +53 -51
- package/dist/vue-ui-mood-radar-dXVOOrhl.js +785 -0
- package/dist/vue-ui-nested-donuts-C0X6BetT.js +1286 -0
- package/dist/vue-ui-onion-C7sxQzk_.js +776 -0
- package/dist/vue-ui-parallel-coordinate-plot-jwtnNX59.js +915 -0
- package/dist/{vue-ui-quadrant-BFFzfDw3.js → vue-ui-quadrant-DguDE91h.js} +512 -459
- package/dist/vue-ui-quick-chart-BpEDS08U.js +1761 -0
- package/dist/vue-ui-radar-lFrqTRqo.js +796 -0
- package/dist/{vue-ui-rating-BAauyqTn.js → vue-ui-rating-BHghXziv.js} +2 -2
- package/dist/vue-ui-relation-circle-C5W6NFOb.js +598 -0
- package/dist/vue-ui-ridgeline-A2DuFEDS.js +1153 -0
- package/dist/vue-ui-rings-BgJAm9_b.js +728 -0
- package/dist/vue-ui-scatter-COfpLChz.js +1178 -0
- package/dist/{vue-ui-skeleton-CUOhCY4p.js → vue-ui-skeleton-DMLCBUtZ.js} +3 -3
- package/dist/{vue-ui-smiley-B6SqWMov.js → vue-ui-smiley-ZopESYc_.js} +26 -26
- package/dist/vue-ui-spark-trend-CuSQ03fQ.js +315 -0
- package/dist/vue-ui-sparkbar-BCsX9M4q.js +351 -0
- package/dist/vue-ui-sparkgauge-DdyZLA0T.js +232 -0
- package/dist/vue-ui-sparkhistogram-CUxFgIcE.js +380 -0
- package/dist/vue-ui-sparkline-DOkofsLL.js +489 -0
- package/dist/vue-ui-sparkstackbar-Bq9PZzmH.js +421 -0
- package/dist/vue-ui-stackbar-B7ceoT0V.js +1370 -0
- package/dist/vue-ui-strip-plot-DYh-NGQN.js +915 -0
- package/dist/{vue-ui-table-heatmap-DazTE3fa.js → vue-ui-table-heatmap-BVTb1xuA.js} +5 -5
- package/dist/{vue-ui-table-Dwjl3L0p.js → vue-ui-table-pESH5KAJ.js} +11 -11
- package/dist/{vue-ui-table-sparkline-BXMPUEpN.js → vue-ui-table-sparkline-Bw-6l9lA.js} +14 -14
- package/dist/vue-ui-thermometer-BqqfmS-B.js +541 -0
- package/dist/{vue-ui-timer-yLvNAZL_.js → vue-ui-timer-CVisMxLS.js} +5 -5
- package/dist/vue-ui-tiremarks-K1dcCdpj.js +406 -0
- package/dist/vue-ui-treemap-Bz3c68s4.js +1035 -0
- package/dist/{vue-ui-vertical-bar-BrYCoVym.js → vue-ui-vertical-bar-BvtXpCjw.js} +71 -69
- package/dist/vue-ui-waffle-CYO7bIf1.js +910 -0
- package/dist/vue-ui-wheel-De1spwLh.js +379 -0
- package/dist/vue-ui-word-cloud-BMmVrx_T.js +765 -0
- package/dist/{vue-ui-world-B4Dqrk4l.js → vue-ui-world-Ccpr00nJ.js} +11 -9
- package/dist/vue-ui-xy-D4jaRKe3.js +3771 -0
- package/dist/{vue-ui-xy-canvas-D7fL36kT.js → vue-ui-xy-canvas-DE-Uu5oq.js} +265 -264
- package/package.json +1 -1
- package/dist/Slicer-BD8Z8VCW.js +0 -577
- package/dist/useLoading-Bt5Doa8m.js +0 -28
- package/dist/useNestedProp-C_G5E08Y.js +0 -13
- package/dist/usePanZoom-BQMvRXEQ.js +0 -115
- package/dist/vue-ui-3d-bar-D8imUwEz.js +0 -1227
- package/dist/vue-ui-age-pyramid-CV7gtFOC.js +0 -746
- package/dist/vue-ui-bullet-BtuMMBF7.js +0 -513
- package/dist/vue-ui-candlestick-BsRtXKrv.js +0 -873
- package/dist/vue-ui-chord-CIuzYmpM.js +0 -949
- package/dist/vue-ui-donut-evolution-BRlsCA4U.js +0 -903
- package/dist/vue-ui-dumbbell-D87Dumjh.js +0 -753
- package/dist/vue-ui-flow-D_L_xssL.js +0 -765
- package/dist/vue-ui-galaxy-Cn6vHbaw.js +0 -617
- package/dist/vue-ui-gauge-Ds4terqY.js +0 -738
- package/dist/vue-ui-gizmo-BTncpI62.js +0 -192
- package/dist/vue-ui-heatmap-B6GpjeWC.js +0 -877
- package/dist/vue-ui-history-plot-DTDzEeGq.js +0 -924
- package/dist/vue-ui-mood-radar-CPfS6f1L.js +0 -670
- package/dist/vue-ui-nested-donuts-Bsd2kGoJ.js +0 -1177
- package/dist/vue-ui-onion-BQ4nISXW.js +0 -701
- package/dist/vue-ui-parallel-coordinate-plot-BoHgVgbn.js +0 -807
- package/dist/vue-ui-quick-chart-oNMTeOAL.js +0 -1612
- package/dist/vue-ui-radar-98mXFZe-.js +0 -741
- package/dist/vue-ui-relation-circle-6oDCSxkO.js +0 -542
- package/dist/vue-ui-ridgeline-CugMGjOU.js +0 -969
- package/dist/vue-ui-rings-bsGXaD2m.js +0 -685
- package/dist/vue-ui-scatter-7ssLliGg.js +0 -1045
- package/dist/vue-ui-spark-trend-jauInkkN.js +0 -291
- package/dist/vue-ui-sparkbar-DXByIxQH.js +0 -301
- package/dist/vue-ui-sparkgauge-BMrV2gDi.js +0 -201
- package/dist/vue-ui-sparkhistogram-CoNM4G7o.js +0 -313
- package/dist/vue-ui-sparkline-DrN3_wS0.js +0 -459
- package/dist/vue-ui-sparkstackbar-W1a0JQi9.js +0 -381
- package/dist/vue-ui-stackbar-D1-gbUgE.js +0 -1207
- package/dist/vue-ui-strip-plot-KhfvrVuN.js +0 -761
- package/dist/vue-ui-thermometer-Cn6lJRs3.js +0 -495
- package/dist/vue-ui-tiremarks-BYsWePfK.js +0 -358
- package/dist/vue-ui-treemap-Ce7RVFG3.js +0 -965
- package/dist/vue-ui-waffle-CCrR2T1G.js +0 -863
- package/dist/vue-ui-wheel-BuxjnrDN.js +0 -352
- package/dist/vue-ui-word-cloud-C6fawHJE.js +0 -659
- package/dist/vue-ui-xy-ubRnv9iJ.js +0 -2980
|
@@ -1,291 +0,0 @@
|
|
|
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, a as oe, a5 as I, o as se, e as ue, v as c, a6 as re, X as ie, s as F, V as U, f as P, i as de } from "./index-Cg-RjxqH.js";
|
|
3
|
-
import { u as q } from "./useNestedProp-C_G5E08Y.js";
|
|
4
|
-
import { _ as ve } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
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
|
-
key: 2,
|
|
7
|
-
ref: "source",
|
|
8
|
-
dir: "auto"
|
|
9
|
-
}, ze = {
|
|
10
|
-
__name: "vue-ui-spark-trend",
|
|
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
|
-
setup(W) {
|
|
26
|
-
const $ = M(() => import("./BaseIcon-BCZfTCeM.js")), X = M(() => import("./PackageVersion-CeEYZfaH.js")), Z = M(() => import("./vue-ui-skeleton-CUOhCY4p.js")), { vue_ui_spark_trend: R } = le(), d = W, H = s(() => !!d.dataset && d.dataset.length), b = k(ne()), e = s({
|
|
27
|
-
get: () => j(),
|
|
28
|
-
set: (t) => t
|
|
29
|
-
});
|
|
30
|
-
function j() {
|
|
31
|
-
const t = q({
|
|
32
|
-
userConfig: d.config,
|
|
33
|
-
defaultConfig: R
|
|
34
|
-
});
|
|
35
|
-
return t.theme ? {
|
|
36
|
-
...q({
|
|
37
|
-
userConfig: oe.vue_ui_spark_trend[t.theme] || d.config,
|
|
38
|
-
defaultConfig: t
|
|
39
|
-
})
|
|
40
|
-
} : t;
|
|
41
|
-
}
|
|
42
|
-
const f = s(() => I({
|
|
43
|
-
data: d.dataset,
|
|
44
|
-
threshold: e.value.downsample.threshold
|
|
45
|
-
}));
|
|
46
|
-
D(() => d.config, (t) => {
|
|
47
|
-
e.value = j(), A();
|
|
48
|
-
}, { deep: !0 }), D(() => d.dataset, (t) => {
|
|
49
|
-
g.value = I({
|
|
50
|
-
data: d.dataset,
|
|
51
|
-
threshold: e.value.downsample.threshold
|
|
52
|
-
}).map((n) => [void 0, 1 / 0, -1 / 0, null, NaN].includes(n) ? null : n);
|
|
53
|
-
}, { deep: !0 });
|
|
54
|
-
function N(t) {
|
|
55
|
-
return t.map((n) => c(n));
|
|
56
|
-
}
|
|
57
|
-
const g = k(I({
|
|
58
|
-
data: d.dataset,
|
|
59
|
-
threshold: e.value.downsample.threshold
|
|
60
|
-
}).map((t) => e.value.style.animation.show || [void 0, 1 / 0, -1 / 0, null, NaN].includes(t) ? null : t)), m = k(!1), T = k(null);
|
|
61
|
-
ee(() => {
|
|
62
|
-
A();
|
|
63
|
-
let n = 1e3 / e.value.style.animation.animationFrames, h = performance.now();
|
|
64
|
-
if (e.value.style.animation.show && e.value.style.animation.animationFrames && d.dataset.length > 1) {
|
|
65
|
-
let S = function() {
|
|
66
|
-
m.value = !0;
|
|
67
|
-
let B = performance.now(), E = B - h;
|
|
68
|
-
E > n ? (h = B - E % n, p < f.value.length ? (g.value.push(f.value[p]), p += 1, T.value = requestAnimationFrame(S)) : (cancelAnimationFrame(T.value), g.value = N(f.value), m.value = !1)) : T.value = requestAnimationFrame(S);
|
|
69
|
-
};
|
|
70
|
-
g.value = [];
|
|
71
|
-
let p = 0;
|
|
72
|
-
S();
|
|
73
|
-
}
|
|
74
|
-
});
|
|
75
|
-
function A() {
|
|
76
|
-
se(d.dataset) && ue({
|
|
77
|
-
componentName: "VueUiSparkTrend",
|
|
78
|
-
type: "dataset"
|
|
79
|
-
});
|
|
80
|
-
}
|
|
81
|
-
const l = k({
|
|
82
|
-
height: 80,
|
|
83
|
-
width: 300
|
|
84
|
-
}), y = s(() => ({
|
|
85
|
-
top: e.value.style.padding.top,
|
|
86
|
-
left: e.value.style.padding.left,
|
|
87
|
-
right: l.value.width - e.value.style.padding.right,
|
|
88
|
-
bottom: l.value.height - e.value.style.padding.bottom,
|
|
89
|
-
height: l.value.height - (e.value.style.padding.top + e.value.style.padding.bottom) - (e.value.style.dataLabel.show ? e.value.style.dataLabel.fontSize : 0),
|
|
90
|
-
width: l.value.width - (e.value.style.padding.left + e.value.style.padding.right)
|
|
91
|
-
})), z = s(() => {
|
|
92
|
-
const t = N(f.value);
|
|
93
|
-
return {
|
|
94
|
-
max: Math.max(...t.map((n) => c(n))),
|
|
95
|
-
min: Math.min(...t.map((n) => c(n)))
|
|
96
|
-
};
|
|
97
|
-
}), w = s(() => {
|
|
98
|
-
const t = z.value.min >= 0 ? 0 : z.value.min;
|
|
99
|
-
return Math.abs(t);
|
|
100
|
-
}), J = s(() => z.value.max + w.value);
|
|
101
|
-
function V(t) {
|
|
102
|
-
return t / J.value;
|
|
103
|
-
}
|
|
104
|
-
const K = s(() => f.value.length), a = s(() => g.value.map((t, n) => {
|
|
105
|
-
const h = isNaN(t) || [void 0, null, "NaN", NaN, 1 / 0, -1 / 0].includes(t) ? 0 : t || 0;
|
|
106
|
-
return {
|
|
107
|
-
value: c(t),
|
|
108
|
-
absoluteValue: c(h),
|
|
109
|
-
plotValue: c(h + w.value),
|
|
110
|
-
toMax: V(h + w.value),
|
|
111
|
-
x: y.value.left + c(n * (y.value.width / (K.value - 1))) - e.value.style.padding.right,
|
|
112
|
-
y: y.value.bottom - c(y.value.height * V(h + w.value))
|
|
113
|
-
};
|
|
114
|
-
})), x = s(() => {
|
|
115
|
-
const t = N(f.value);
|
|
116
|
-
return e.value.style.trendLabel.trendType === "global" ? re(t) : e.value.style.trendLabel.trendType === "n-1" && t.length > 1 ? (t.at(-1) / t.at(-2) - 1) * 100 : e.value.style.trendLabel.trendType === "lastToFirst" ? (t.at(-1) / t[0] - 1) * 100 : 0;
|
|
117
|
-
}), C = s(() => m.value || x.value === 0 ? "neutral" : x.value > 0 ? "positive" : "negative"), v = s(() => e.value.style.arrow.colors[C.value]), Q = s(() => {
|
|
118
|
-
const t = { x: a.value[0].x, y: l.value.height - 6 }, n = { x: a.value[a.value.length - 1].x, y: l.value.height - 6 }, h = [];
|
|
119
|
-
return a.value.forEach((p) => {
|
|
120
|
-
h.push(`${p.x},${p.y} `);
|
|
121
|
-
}), [t.x, t.y, ...h, n.x, n.y].toString();
|
|
122
|
-
}), Y = s(() => {
|
|
123
|
-
let t = [];
|
|
124
|
-
return a.value.forEach((n) => {
|
|
125
|
-
t.push(`${n.x},${n.y} `);
|
|
126
|
-
}), `M ${t.toString()}`;
|
|
127
|
-
});
|
|
128
|
-
return (t, n) => (o(), r("div", {
|
|
129
|
-
class: "vue-ui-spark-trend",
|
|
130
|
-
id: b.value,
|
|
131
|
-
style: te(`width:100%;font-family:${e.value.style.fontFamily};background:${e.value.style.backgroundColor}`)
|
|
132
|
-
}, [
|
|
133
|
-
H.value ? (o(), r("svg", {
|
|
134
|
-
key: 1,
|
|
135
|
-
xmlns: u(ie),
|
|
136
|
-
viewBox: `0 0 ${l.value.width} ${l.value.height}`,
|
|
137
|
-
style: "width:100%;background:transparent;overflow:visible"
|
|
138
|
-
}, [
|
|
139
|
-
ae(u(X)),
|
|
140
|
-
t.$slots["chart-background"] ? (o(), r("foreignObject", {
|
|
141
|
-
key: 0,
|
|
142
|
-
x: 0,
|
|
143
|
-
y: 0,
|
|
144
|
-
width: l.value.width <= 0 ? 10 : l.value.width,
|
|
145
|
-
height: l.value.height <= 0 ? 10 : l.value.height,
|
|
146
|
-
style: {
|
|
147
|
-
pointerEvents: "none"
|
|
148
|
-
}
|
|
149
|
-
}, [
|
|
150
|
-
O(t.$slots, "chart-background", {}, void 0, !0)
|
|
151
|
-
], 8, ye)) : i("", !0),
|
|
152
|
-
_("defs", null, [
|
|
153
|
-
_("linearGradient", {
|
|
154
|
-
x1: "0%",
|
|
155
|
-
y1: "0%",
|
|
156
|
-
x2: "0%",
|
|
157
|
-
y2: "100%",
|
|
158
|
-
id: `pill_gradient_${b.value}`
|
|
159
|
-
}, [
|
|
160
|
-
_("stop", {
|
|
161
|
-
offset: "0%",
|
|
162
|
-
"stop-color": u(F)(e.value.style.line.useColorTrend ? v.value : e.value.style.line.stroke, e.value.style.area.opacity)
|
|
163
|
-
}, null, 8, pe),
|
|
164
|
-
_("stop", {
|
|
165
|
-
offset: "100%",
|
|
166
|
-
"stop-color": e.value.style.backgroundColor
|
|
167
|
-
}, null, 8, ge)
|
|
168
|
-
], 8, fe)
|
|
169
|
-
]),
|
|
170
|
-
e.value.style.area.show && a.value[0] ? (o(), r("g", me, [
|
|
171
|
-
e.value.style.line.smooth ? (o(), r("path", {
|
|
172
|
-
key: 0,
|
|
173
|
-
d: `M ${a.value[0].x},${y.value.bottom} ${u(U)(a.value)} L ${a.value.at(-1).x},${y.value.bottom} Z`,
|
|
174
|
-
fill: e.value.style.area.useGradient ? `url(#pill_gradient_${b.value})` : u(F)(e.value.style.line.useColorTrend ? v.value : e.value.style.line.stroke, e.value.style.area.opacity),
|
|
175
|
-
stroke: "none"
|
|
176
|
-
}, null, 8, ke)) : (o(), r("path", {
|
|
177
|
-
key: 1,
|
|
178
|
-
d: `M${Q.value}Z`,
|
|
179
|
-
fill: e.value.style.area.useGradient ? `url(#pill_gradient_${b.value})` : u(F)(e.value.style.line.useColorTrend ? v.value : e.value.style.line.stroke, e.value.style.area.opacity),
|
|
180
|
-
stroke: "none"
|
|
181
|
-
}, null, 8, _e))
|
|
182
|
-
])) : i("", !0),
|
|
183
|
-
e.value.style.line.smooth && a.value.length ? (o(), r("path", {
|
|
184
|
-
key: 2,
|
|
185
|
-
d: `M ${u(U)(a.value)}`,
|
|
186
|
-
stroke: e.value.style.line.useColorTrend ? v.value : e.value.style.line.stroke,
|
|
187
|
-
fill: "none",
|
|
188
|
-
"stroke-width": e.value.style.line.strokeWidth,
|
|
189
|
-
"stroke-linecap": e.value.style.line.strokeLinecap,
|
|
190
|
-
"stroke-linejoin": e.value.style.line.strokeLinejoin
|
|
191
|
-
}, null, 8, be)) : i("", !0),
|
|
192
|
-
!e.value.style.line.smooth && a.value.length ? (o(), r("path", {
|
|
193
|
-
key: 3,
|
|
194
|
-
d: Y.value,
|
|
195
|
-
stroke: e.value.style.line.useColorTrend ? v.value : e.value.style.line.stroke,
|
|
196
|
-
fill: "none",
|
|
197
|
-
"stroke-width": e.value.style.line.strokeWidth,
|
|
198
|
-
"stroke-linecap": e.value.style.line.strokeLinecap,
|
|
199
|
-
"stroke-linejoin": e.value.style.line.strokeLinejoin
|
|
200
|
-
}, null, 8, we)) : i("", !0),
|
|
201
|
-
m.value ? i("", !0) : (o(), r("foreignObject", {
|
|
202
|
-
key: 4,
|
|
203
|
-
height: l.value.height / 2,
|
|
204
|
-
width: l.value.height / 2,
|
|
205
|
-
x: l.value.height / 5,
|
|
206
|
-
y: 8
|
|
207
|
-
}, [
|
|
208
|
-
_("div", Ce, [
|
|
209
|
-
C.value === "positive" ? (o(), L(u($), {
|
|
210
|
-
key: 0,
|
|
211
|
-
stroke: v.value,
|
|
212
|
-
name: "arrowTop",
|
|
213
|
-
size: l.value.height / 2
|
|
214
|
-
}, null, 8, ["stroke", "size"])) : i("", !0),
|
|
215
|
-
C.value === "negative" ? (o(), L(u($), {
|
|
216
|
-
key: 1,
|
|
217
|
-
stroke: v.value,
|
|
218
|
-
name: "arrowBottom",
|
|
219
|
-
size: l.value.height / 2
|
|
220
|
-
}, null, 8, ["stroke", "size"])) : i("", !0),
|
|
221
|
-
C.value === "neutral" ? (o(), L(u($), {
|
|
222
|
-
key: 2,
|
|
223
|
-
stroke: v.value,
|
|
224
|
-
name: "arrowRight",
|
|
225
|
-
size: l.value.height / 2
|
|
226
|
-
}, null, 8, ["stroke", "size"])) : i("", !0)
|
|
227
|
-
])
|
|
228
|
-
], 8, xe)),
|
|
229
|
-
m.value ? i("", !0) : (o(), r("text", {
|
|
230
|
-
key: 5,
|
|
231
|
-
x: l.value.height / 2 - l.value.height / 20,
|
|
232
|
-
y: y.value.bottom,
|
|
233
|
-
"text-anchor": "middle",
|
|
234
|
-
fill: e.value.style.trendLabel.useColorTrend ? v.value : e.value.style.trendLabel.color,
|
|
235
|
-
"font-size": e.value.style.trendLabel.fontSize,
|
|
236
|
-
"font-weight": e.value.style.trendLabel.bold ? "bold" : "normal"
|
|
237
|
-
}, G(u(P)({
|
|
238
|
-
p: x.value > 0 ? "+" : "",
|
|
239
|
-
v: x.value,
|
|
240
|
-
s: "%",
|
|
241
|
-
r: e.value.style.trendLabel.rounding
|
|
242
|
-
})), 9, Le)),
|
|
243
|
-
a.value.length && a.value.at(-1).x !== void 0 ? (o(), r("circle", {
|
|
244
|
-
key: 6,
|
|
245
|
-
stroke: e.value.style.backgroundColor,
|
|
246
|
-
"stroke-width": 2,
|
|
247
|
-
cx: a.value.at(-1).x,
|
|
248
|
-
cy: a.value.at(-1).y,
|
|
249
|
-
r: 4,
|
|
250
|
-
fill: v.value
|
|
251
|
-
}, null, 8, $e)) : i("", !0),
|
|
252
|
-
a.value.length && a.value.at(-1).x !== void 0 && e.value.style.dataLabel.show ? (o(), r("text", {
|
|
253
|
-
key: 7,
|
|
254
|
-
"text-anchor": "middle",
|
|
255
|
-
x: a.value.at(-1).x,
|
|
256
|
-
y: a.value.at(-1).y - e.value.style.dataLabel.fontSize / 1.5,
|
|
257
|
-
"font-size": e.value.style.dataLabel.fontSize,
|
|
258
|
-
fill: e.value.style.dataLabel.useColorTrend ? v.value : e.value.style.dataLabel.color,
|
|
259
|
-
"font-weight": e.value.style.dataLabel.bold ? "bold" : "normal"
|
|
260
|
-
}, G(u(de)(
|
|
261
|
-
e.value.style.dataLabel.formatter,
|
|
262
|
-
a.value.at(-1).value,
|
|
263
|
-
u(P)({
|
|
264
|
-
p: e.value.style.dataLabel.prefix,
|
|
265
|
-
v: a.value.at(-1).value,
|
|
266
|
-
s: e.value.style.dataLabel.suffix,
|
|
267
|
-
r: e.value.style.dataLabel.rounding
|
|
268
|
-
}),
|
|
269
|
-
{ datapoint: a.value.at(-1) }
|
|
270
|
-
)), 9, Ne)) : i("", !0)
|
|
271
|
-
], 8, ce)) : (o(), L(u(Z), {
|
|
272
|
-
key: 0,
|
|
273
|
-
config: {
|
|
274
|
-
type: "sparkline",
|
|
275
|
-
style: {
|
|
276
|
-
backgroundColor: e.value.style.backgroundColor,
|
|
277
|
-
sparkline: {
|
|
278
|
-
color: "#CCCCCC"
|
|
279
|
-
}
|
|
280
|
-
}
|
|
281
|
-
}
|
|
282
|
-
}, null, 8, ["config"])),
|
|
283
|
-
t.$slots.source ? (o(), r("div", Te, [
|
|
284
|
-
O(t.$slots, "source", {}, void 0, !0)
|
|
285
|
-
], 512)) : i("", !0)
|
|
286
|
-
], 12, he));
|
|
287
|
-
}
|
|
288
|
-
}, je = /* @__PURE__ */ ve(ze, [["__scopeId", "data-v-1a673d38"]]);
|
|
289
|
-
export {
|
|
290
|
-
je as default
|
|
291
|
-
};
|
|
@@ -1,301 +0,0 @@
|
|
|
1
|
-
import { defineAsyncComponent as V, useSlots as R, onMounted as z, computed as g, ref as k, watch as L, nextTick as Y, createElementBlock as c, openBlock as u, normalizeStyle as p, unref as o, renderSlot as _, createCommentVNode as v, createBlock as Z, normalizeProps as ee, mergeProps as O, createElementVNode as d, toDisplayString as f, Fragment as T, renderList as te, createVNode as le } from "vue";
|
|
2
|
-
import { u as ae, c as oe, t as se, p as x, a as ne, b as ue, o as re, e as E, g as ie, d as ce, s as $, i as b, f as w, X as ve, w as de } from "./index-Cg-RjxqH.js";
|
|
3
|
-
import { u as B } from "./useNestedProp-C_G5E08Y.js";
|
|
4
|
-
const pe = ["onClick"], fe = { key: 1 }, ye = ["xmlns", "viewBox"], me = ["id"], ge = ["stop-color"], he = ["stop-color"], ke = ["height", "width", "fill", "rx"], xe = ["height", "width", "fill", "rx"], be = ["height", "width", "fill", "rx"], we = {
|
|
5
|
-
key: 2,
|
|
6
|
-
ref: "source",
|
|
7
|
-
dir: "auto"
|
|
8
|
-
}, Se = {
|
|
9
|
-
__name: "vue-ui-sparkbar",
|
|
10
|
-
props: {
|
|
11
|
-
config: {
|
|
12
|
-
type: Object,
|
|
13
|
-
default() {
|
|
14
|
-
return {};
|
|
15
|
-
}
|
|
16
|
-
},
|
|
17
|
-
dataset: {
|
|
18
|
-
type: Array,
|
|
19
|
-
default() {
|
|
20
|
-
return [];
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
|
-
/**
|
|
24
|
-
* Used in VueUiRadar's tooltip exclusively
|
|
25
|
-
*/
|
|
26
|
-
backgroundOpacity: {
|
|
27
|
-
type: Number,
|
|
28
|
-
default: null
|
|
29
|
-
}
|
|
30
|
-
},
|
|
31
|
-
emits: ["selectDatapoint"],
|
|
32
|
-
setup(C, { emit: M }) {
|
|
33
|
-
const U = V(() => import("./PackageVersion-CeEYZfaH.js")), j = V(() => import("./vue-ui-skeleton-CUOhCY4p.js")), { vue_ui_sparkbar: G } = ae(), a = C, W = R();
|
|
34
|
-
z(() => {
|
|
35
|
-
W["chart-background"] && console.warn("VueUiSparkbar does not support the #chart-background slot.");
|
|
36
|
-
});
|
|
37
|
-
const S = g(() => !!a.dataset && a.dataset.length), A = k(oe()), e = g({
|
|
38
|
-
get: () => N(),
|
|
39
|
-
set: (t) => t
|
|
40
|
-
});
|
|
41
|
-
function N() {
|
|
42
|
-
const t = B({
|
|
43
|
-
userConfig: a.config,
|
|
44
|
-
defaultConfig: G
|
|
45
|
-
});
|
|
46
|
-
return t.theme ? {
|
|
47
|
-
...B({
|
|
48
|
-
userConfig: ne.vue_ui_sparkbar[t.theme] || a.config,
|
|
49
|
-
defaultConfig: t
|
|
50
|
-
}),
|
|
51
|
-
customPalette: se[t.theme] || x
|
|
52
|
-
} : t;
|
|
53
|
-
}
|
|
54
|
-
L(() => a.config, (t) => {
|
|
55
|
-
e.value = N();
|
|
56
|
-
}, { deep: !0 });
|
|
57
|
-
const q = g(() => ue(e.value.customPalette)), y = k(a.dataset.map((t) => ({
|
|
58
|
-
...t,
|
|
59
|
-
value: e.value.style.animation.show ? 0 : t.value || 0,
|
|
60
|
-
formatter: t.formatter || null
|
|
61
|
-
}))), D = k(null);
|
|
62
|
-
z(async () => {
|
|
63
|
-
re(a.dataset) && E({
|
|
64
|
-
componentName: "VueUiSparkbar",
|
|
65
|
-
type: "dataset"
|
|
66
|
-
}), F();
|
|
67
|
-
});
|
|
68
|
-
function F() {
|
|
69
|
-
if (e.value.style.animation.show) {
|
|
70
|
-
let P = function() {
|
|
71
|
-
i += l / t, i < l ? (y.value = y.value.map((n, h) => ({
|
|
72
|
-
...n,
|
|
73
|
-
value: n.value += s[h]
|
|
74
|
-
})), D.value = requestAnimationFrame(P)) : y.value = a.dataset.map((n) => ({
|
|
75
|
-
...n,
|
|
76
|
-
value: n.value || 0,
|
|
77
|
-
formatter: n.formatter || null
|
|
78
|
-
}));
|
|
79
|
-
};
|
|
80
|
-
const t = e.value.style.animation.animationFrames, s = a.dataset.map((n, h) => n.value / t), l = a.dataset.map((n) => n.value || 0).reduce((n, h) => n + h, 0);
|
|
81
|
-
let i = 0;
|
|
82
|
-
P();
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
L(() => a.dataset, async (t) => {
|
|
86
|
-
cancelAnimationFrame(D.value), y.value = a.dataset.map((s) => ({
|
|
87
|
-
...s,
|
|
88
|
-
value: e.value.style.animation.show ? 0 : s.value || 0,
|
|
89
|
-
formatter: s.formatter || null
|
|
90
|
-
})), Y(F);
|
|
91
|
-
}, { deep: !0 });
|
|
92
|
-
const r = k({
|
|
93
|
-
width: 500,
|
|
94
|
-
height: 16
|
|
95
|
-
}), H = g(() => Math.max(...a.dataset.map((t) => t.value))), X = g(() => (a.dataset.forEach((t, s) => {
|
|
96
|
-
ie({
|
|
97
|
-
datasetObject: t,
|
|
98
|
-
requiredAttributes: ["name", "value"]
|
|
99
|
-
}).forEach((l) => {
|
|
100
|
-
E({
|
|
101
|
-
componentName: "VueUiSparkbar",
|
|
102
|
-
type: "datasetSerieAttribute",
|
|
103
|
-
property: l,
|
|
104
|
-
index: s
|
|
105
|
-
});
|
|
106
|
-
});
|
|
107
|
-
}), y.value.map((t, s) => ({
|
|
108
|
-
...t,
|
|
109
|
-
value: t.value || 0,
|
|
110
|
-
color: ce(t.color) || q.value[s] || x[s] || x[s % x.length]
|
|
111
|
-
}))));
|
|
112
|
-
function J(t) {
|
|
113
|
-
return t / H.value;
|
|
114
|
-
}
|
|
115
|
-
function I(t) {
|
|
116
|
-
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 : J(t.value);
|
|
117
|
-
}
|
|
118
|
-
function m(t) {
|
|
119
|
-
return e.value.style.layout.independant && t.target || e.value.style.layout.target;
|
|
120
|
-
}
|
|
121
|
-
const K = M;
|
|
122
|
-
function Q(t, s) {
|
|
123
|
-
K("selectDatapoint", { datapoint: t, index: s });
|
|
124
|
-
}
|
|
125
|
-
return (t, s) => (u(), c("div", {
|
|
126
|
-
class: "vue-ui-sparkbar",
|
|
127
|
-
style: p({
|
|
128
|
-
width: "100%",
|
|
129
|
-
fontFamily: e.value.style.fontFamily,
|
|
130
|
-
background: a.backgroundOpacity !== null ? o($)(e.value.style.backgroundColor, a.backgroundOpacity) : e.value.style.backgroundColor
|
|
131
|
-
})
|
|
132
|
-
}, [
|
|
133
|
-
t.$slots.title ? _(t.$slots, "title", ee(O({ key: 0 }, { title: { ...t.title, title: e.value.style.title.text, subtitle: e.value.style.title.subtitle.text } }))) : v("", !0),
|
|
134
|
-
!t.$slots.title && e.value.style.title.text ? (u(), c("div", {
|
|
135
|
-
key: 1,
|
|
136
|
-
class: "vue-ui-sparkbar-title-container",
|
|
137
|
-
style: p({
|
|
138
|
-
background: e.value.style.title.backgroundColor,
|
|
139
|
-
margin: e.value.style.title.margin,
|
|
140
|
-
textAlign: e.value.style.title.textAlign
|
|
141
|
-
})
|
|
142
|
-
}, [
|
|
143
|
-
d("div", {
|
|
144
|
-
class: "vue-ui-sparkbar-title",
|
|
145
|
-
style: p({
|
|
146
|
-
fontSize: e.value.style.title.fontSize + "px",
|
|
147
|
-
color: e.value.style.title.color,
|
|
148
|
-
fontWeight: e.value.style.title.bold ? "bold" : "normal"
|
|
149
|
-
})
|
|
150
|
-
}, f(e.value.style.title.text), 5),
|
|
151
|
-
e.value.style.title.subtitle.text ? (u(), c("div", {
|
|
152
|
-
key: 0,
|
|
153
|
-
class: "vue-ui-sparkbar-subtitle",
|
|
154
|
-
style: p({
|
|
155
|
-
fontSize: e.value.style.title.subtitle.fontSize + "px",
|
|
156
|
-
color: e.value.style.title.subtitle.color,
|
|
157
|
-
fontWeight: e.value.style.title.subtitle.bold ? "bold" : "normal"
|
|
158
|
-
})
|
|
159
|
-
}, f(e.value.style.title.subtitle.text), 5)) : v("", !0)
|
|
160
|
-
], 4)) : v("", !0),
|
|
161
|
-
(u(!0), c(T, null, te(X.value, (l, i) => (u(), c(T, null, [
|
|
162
|
-
S.value ? (u(), c("div", {
|
|
163
|
-
key: 0,
|
|
164
|
-
style: p(`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;${C.dataset.length > 0 && i !== C.dataset.length - 1 ? "margin-bottom:6px" : ""}`),
|
|
165
|
-
onClick: () => Q(l, i)
|
|
166
|
-
}, [
|
|
167
|
-
_(t.$slots, "data-label", O({ ref_for: !0 }, { bar: {
|
|
168
|
-
...l,
|
|
169
|
-
target: m(l),
|
|
170
|
-
valueLabel: o(b)(
|
|
171
|
-
l.formatter,
|
|
172
|
-
l.value,
|
|
173
|
-
o(w)({
|
|
174
|
-
p: l.prefix || "",
|
|
175
|
-
v: l.value,
|
|
176
|
-
s: l.suffix || "",
|
|
177
|
-
r: l.rounding || 0
|
|
178
|
-
}),
|
|
179
|
-
{ datapoint: l, seriesIndex: i }
|
|
180
|
-
),
|
|
181
|
-
targetLabel: o(b)(
|
|
182
|
-
l.formatter,
|
|
183
|
-
m(l),
|
|
184
|
-
o(w)({
|
|
185
|
-
p: l.prefix || "",
|
|
186
|
-
v: m(l),
|
|
187
|
-
s: l.suffix || "",
|
|
188
|
-
r: l.rounding || 0
|
|
189
|
-
}),
|
|
190
|
-
{ datapoint: l, seriesIndex: i }
|
|
191
|
-
)
|
|
192
|
-
} })),
|
|
193
|
-
t.$slots["data-label"] ? v("", !0) : (u(), c("div", {
|
|
194
|
-
key: 0,
|
|
195
|
-
style: p({
|
|
196
|
-
width: e.value.style.labels.name.width,
|
|
197
|
-
color: e.value.style.labels.name.color,
|
|
198
|
-
fontSize: e.value.style.labels.fontSize + "px",
|
|
199
|
-
fontWeight: e.value.style.labels.name.bold ? "bold" : "normal",
|
|
200
|
-
textAlign: ["left", "right"].includes(e.value.style.labels.name.position) || ["top", "top-left"].includes(e.value.style.labels.name.position) ? "left" : e.value.style.labels.name.position === "top-center" ? "center" : "right"
|
|
201
|
-
})
|
|
202
|
-
}, [
|
|
203
|
-
d("span", null, f(l.name), 1),
|
|
204
|
-
e.value.style.labels.value.show ? (u(), c("span", {
|
|
205
|
-
key: 0,
|
|
206
|
-
style: p(`font-weight:${e.value.style.labels.value.bold ? "bold" : "normal"}`)
|
|
207
|
-
}, ": " + f(o(b)(
|
|
208
|
-
l.formatter,
|
|
209
|
-
l.value,
|
|
210
|
-
o(w)({
|
|
211
|
-
p: l.prefix || "",
|
|
212
|
-
v: l.value,
|
|
213
|
-
s: l.suffix || "",
|
|
214
|
-
r: l.rounding || 0
|
|
215
|
-
}),
|
|
216
|
-
{ datapoint: l, seriesIndex: i }
|
|
217
|
-
)), 5)) : v("", !0),
|
|
218
|
-
e.value.style.layout.showTargetValue ? (u(), c("span", fe, f(" " + e.value.style.layout.targetValueText) + " " + f(o(b)(
|
|
219
|
-
l.formatter,
|
|
220
|
-
m(l),
|
|
221
|
-
o(w)({
|
|
222
|
-
p: l.prefix || "",
|
|
223
|
-
v: m(l),
|
|
224
|
-
s: l.suffix || "",
|
|
225
|
-
r: l.rounding || 0
|
|
226
|
-
}),
|
|
227
|
-
{ datapoint: l, seriesIndex: i }
|
|
228
|
-
)), 1)) : v("", !0)
|
|
229
|
-
], 4)),
|
|
230
|
-
(u(), c("svg", {
|
|
231
|
-
xmlns: o(ve),
|
|
232
|
-
viewBox: `0 0 ${r.value.width} ${r.value.height}`,
|
|
233
|
-
width: "100%"
|
|
234
|
-
}, [
|
|
235
|
-
le(o(U)),
|
|
236
|
-
d("defs", null, [
|
|
237
|
-
d("linearGradient", {
|
|
238
|
-
x1: "0%",
|
|
239
|
-
y1: "0%",
|
|
240
|
-
x2: "100%",
|
|
241
|
-
y2: "0%",
|
|
242
|
-
id: `sparkbar_gradient_${i}_${A.value}`
|
|
243
|
-
}, [
|
|
244
|
-
d("stop", {
|
|
245
|
-
offset: "0%",
|
|
246
|
-
"stop-color": o($)(o(de)(l.color, 0.03), 100 - e.value.style.bar.gradient.intensity)
|
|
247
|
-
}, null, 8, ge),
|
|
248
|
-
d("stop", {
|
|
249
|
-
offset: "100%",
|
|
250
|
-
"stop-color": l.color
|
|
251
|
-
}, null, 8, he)
|
|
252
|
-
], 8, me)
|
|
253
|
-
]),
|
|
254
|
-
d("rect", {
|
|
255
|
-
height: r.value.height,
|
|
256
|
-
width: r.value.width,
|
|
257
|
-
x: 0,
|
|
258
|
-
y: 0,
|
|
259
|
-
fill: o($)(e.value.style.gutter.backgroundColor, e.value.style.gutter.opacity),
|
|
260
|
-
rx: r.value.height / 2
|
|
261
|
-
}, null, 8, ke),
|
|
262
|
-
d("rect", {
|
|
263
|
-
height: r.value.height,
|
|
264
|
-
width: r.value.width * I(l),
|
|
265
|
-
x: 0,
|
|
266
|
-
y: 0,
|
|
267
|
-
fill: e.value.style.bar.gradient.underlayerColor,
|
|
268
|
-
rx: r.value.height / 2
|
|
269
|
-
}, null, 8, xe),
|
|
270
|
-
d("rect", {
|
|
271
|
-
height: r.value.height,
|
|
272
|
-
width: r.value.width * I(l),
|
|
273
|
-
x: 0,
|
|
274
|
-
y: 0,
|
|
275
|
-
fill: e.value.style.bar.gradient.show ? `url(#sparkbar_gradient_${i}_${A.value})` : l.color,
|
|
276
|
-
rx: r.value.height / 2
|
|
277
|
-
}, null, 8, be)
|
|
278
|
-
], 8, ye))
|
|
279
|
-
], 12, pe)) : v("", !0)
|
|
280
|
-
], 64))), 256)),
|
|
281
|
-
t.$slots.source ? (u(), c("div", we, [
|
|
282
|
-
_(t.$slots, "source")
|
|
283
|
-
], 512)) : v("", !0),
|
|
284
|
-
S.value ? v("", !0) : (u(), Z(o(j), {
|
|
285
|
-
key: 3,
|
|
286
|
-
config: {
|
|
287
|
-
type: "sparkbar",
|
|
288
|
-
style: {
|
|
289
|
-
backgroundColor: e.value.style.backgroundColor,
|
|
290
|
-
sparkbar: {
|
|
291
|
-
color: "#CCCCCC"
|
|
292
|
-
}
|
|
293
|
-
}
|
|
294
|
-
}
|
|
295
|
-
}, null, 8, ["config"]))
|
|
296
|
-
], 4));
|
|
297
|
-
}
|
|
298
|
-
};
|
|
299
|
-
export {
|
|
300
|
-
Se as default
|
|
301
|
-
};
|