vue-data-ui 2.3.3 → 2.3.5
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/README.md +19 -15
- package/dist/Arrow-BSOdhAJO.cjs +1 -0
- package/dist/Arrow-BjDVSrfA.js +101 -0
- package/dist/BaseIcon-BoKtpbrI.cjs +1 -0
- package/dist/BaseIcon-vmmfWlyR.js +174 -0
- package/dist/DataTable-CaB7GIwQ.js +127 -0
- package/dist/DataTable-ssrNbONo.cjs +1 -0
- package/dist/Legend-DHpoRTAE.js +62 -0
- package/dist/Legend-Dl5IYoxK.cjs +1 -0
- package/dist/Shape-CQT4S7N-.js +107 -0
- package/dist/Shape-CaF4pvOn.cjs +1 -0
- package/dist/Slicer-Bdb1BlrC.js +156 -0
- package/dist/Slicer-QC8nTm24.cjs +1 -0
- package/dist/Title-BNPZwnkp.js +46 -0
- package/dist/Title-Cj_xubjI.cjs +1 -0
- package/dist/Tooltip-CdJ5hegk.cjs +1 -0
- package/dist/Tooltip-ZnJAz6dl.js +94 -0
- package/dist/_plugin-vue_export-helper-BHFhmbuH.cjs +1 -0
- package/dist/_plugin-vue_export-helper-CHgC5LLL.js +9 -0
- package/dist/documentation/installation.md +14 -13
- package/dist/html2canvas.esm-BA_v9SIU.cjs +22 -0
- package/dist/html2canvas.esm-d2sM-0Wm.js +4870 -0
- package/dist/index-BMCvLyab.js +10369 -0
- package/dist/index-BkomIE9L.cjs +4 -0
- package/dist/{index.es-ypwniJN8.js → index.es-YufTdp0y.js} +1 -1
- package/dist/{index.es-Dnua3tHc.cjs → index.es-uyeSCnWE.cjs} +1 -1
- package/dist/jspdf.es.min-C660YX78.js +8038 -0
- package/dist/jspdf.es.min-DLYY9DTT.cjs +243 -0
- package/dist/pdf-97UbtKC2.js +44 -0
- package/dist/pdf-Cz3729tZ.cjs +1 -0
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +105 -5
- package/dist/types/vue-data-ui.d.ts +105 -5
- package/dist/useNestedProp-BMxXyPbW.cjs +1 -0
- package/dist/useNestedProp-CkP8xhG_.js +13 -0
- package/dist/usePrinter-BuuBz5JR.js +513 -0
- package/dist/usePrinter-r6uHYEcR.cjs +1 -0
- package/dist/useResponsive-B3TrDDIG.cjs +1 -0
- package/dist/useResponsive-NZB-WLRF.js +187 -0
- package/dist/vue-data-ui-Bc5U1cOP.cjs +9 -0
- package/dist/vue-data-ui-DxeO0iaC.js +254 -0
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +61 -59
- package/dist/vue-ui-3d-bar-32wM0tiX.js +1085 -0
- package/dist/vue-ui-3d-bar-CgB0fLQT.cjs +19 -0
- package/dist/vue-ui-accordion-CLlVxx3Q.js +77 -0
- package/dist/vue-ui-accordion-SXsobrUt.cjs +1 -0
- package/dist/vue-ui-age-pyramid-D_CY99xF.js +596 -0
- package/dist/vue-ui-age-pyramid-DqiwcOIr.cjs +1 -0
- package/dist/vue-ui-annotator-DvP-IxDm.js +2177 -0
- package/dist/vue-ui-annotator-mntqd3q_.cjs +371 -0
- package/dist/vue-ui-candlestick-C-5u3i-1.js +657 -0
- package/dist/vue-ui-candlestick-C_TvUQvH.cjs +2 -0
- package/dist/vue-ui-carousel-table-BCePqkuz.cjs +1 -0
- package/dist/vue-ui-carousel-table-CAqhsLVx.js +304 -0
- package/dist/vue-ui-chestnut-DhWlw2MD.cjs +6 -0
- package/dist/vue-ui-chestnut-DylSfYMB.js +1051 -0
- package/dist/vue-ui-cursor-B04HJQVl.cjs +1 -0
- package/dist/vue-ui-cursor-DTYEMgbU.js +229 -0
- package/dist/vue-ui-dashboard-Bd0-cmSZ.js +232 -0
- package/dist/vue-ui-dashboard-DFIYwP1s.cjs +1 -0
- package/dist/vue-ui-digits-CW5qNMIk.js +153 -0
- package/dist/vue-ui-digits-Ced5mBJZ.cjs +1 -0
- package/dist/vue-ui-donut-DIhhgvWp.cjs +1 -0
- package/dist/vue-ui-donut-EeVmrVJs.js +743 -0
- package/dist/vue-ui-donut-evolution-BN08Y2hy.js +799 -0
- package/dist/vue-ui-donut-evolution-Ct6KAzs-.cjs +1 -0
- package/dist/vue-ui-dumbbell-BMlxS1Nq.js +624 -0
- package/dist/vue-ui-dumbbell-pextarqH.cjs +9 -0
- package/dist/vue-ui-flow-BXVsbmyb.cjs +1 -0
- package/dist/vue-ui-flow-CHmkgfyb.js +454 -0
- package/dist/vue-ui-galaxy-D4xyd-J1.cjs +1 -0
- package/dist/vue-ui-galaxy-kiVOZOBz.js +485 -0
- package/dist/vue-ui-gauge-BcO-z97J.js +466 -0
- package/dist/vue-ui-gauge-DPFBsbFj.cjs +1 -0
- package/dist/vue-ui-heatmap-DBOKYaJz.cjs +1 -0
- package/dist/vue-ui-heatmap-DD-Bzddj.js +598 -0
- package/dist/vue-ui-kpi-BEgf5yDv.cjs +1 -0
- package/dist/vue-ui-kpi-BS0o7zb9.js +54 -0
- package/dist/vue-ui-mini-loader-Bm5EJxtG.cjs +1 -0
- package/dist/vue-ui-mini-loader-DJEvG6ju.js +131 -0
- package/dist/vue-ui-molecule-DdwnFEBJ.js +750 -0
- package/dist/vue-ui-molecule-DzUqcaxd.cjs +1 -0
- package/dist/vue-ui-mood-radar-B9Gczs_Z.js +548 -0
- package/dist/vue-ui-mood-radar-DbB7m4Ku.cjs +1 -0
- package/dist/vue-ui-nested-donuts-BSINf8hd.cjs +16 -0
- package/dist/vue-ui-nested-donuts-CVQ1CaXo.js +771 -0
- package/dist/vue-ui-onion-D3-6Tv4u.cjs +1 -0
- package/dist/vue-ui-onion-Ut75t7hB.js +554 -0
- package/dist/vue-ui-parallel-coordinate-plot-Bjo09ZTX.js +651 -0
- package/dist/vue-ui-parallel-coordinate-plot-CJGkoIgN.cjs +8 -0
- package/dist/vue-ui-quadrant-CzCvejGn.cjs +1 -0
- package/dist/vue-ui-quadrant-Du9PKvlO.js +1178 -0
- package/dist/vue-ui-quick-chart-BsxsPbjz.cjs +13 -0
- package/dist/vue-ui-quick-chart-u0cPmD3q.js +1310 -0
- package/dist/vue-ui-radar-CBrpuE5r.js +614 -0
- package/dist/vue-ui-radar-DIpCrj1h.cjs +1 -0
- package/dist/vue-ui-rating-CaeGGlCw.js +271 -0
- package/dist/vue-ui-rating-D8fJC8Yt.cjs +1 -0
- package/dist/vue-ui-relation-circle-5DNf880s.js +304 -0
- package/dist/vue-ui-relation-circle-Ky3nPk6S.cjs +1 -0
- package/dist/vue-ui-rings-CffZ4T2S.cjs +1 -0
- package/dist/vue-ui-rings-IE3IdNRF.js +510 -0
- package/dist/vue-ui-scatter-C4GCZm0V.js +874 -0
- package/dist/vue-ui-scatter-TsX5dW9l.cjs +1 -0
- package/dist/vue-ui-screenshot-Bl3oooKI.js +160 -0
- package/dist/vue-ui-screenshot-Bzpg6yof.cjs +3 -0
- package/dist/vue-ui-skeleton-BisWX1sO.js +2064 -0
- package/dist/vue-ui-skeleton-JmGp11-u.cjs +41 -0
- package/dist/vue-ui-smiley-BhSrt9f-.cjs +2 -0
- package/dist/vue-ui-smiley-Sth2pqG1.js +763 -0
- package/dist/vue-ui-spark-trend-C8NSz4l8.cjs +1 -0
- package/dist/vue-ui-spark-trend-DAqO0TW2.js +246 -0
- package/dist/vue-ui-sparkbar-B0zX7NU7.js +242 -0
- package/dist/vue-ui-sparkbar-hL1Q6ObK.cjs +1 -0
- package/dist/vue-ui-sparkgauge-CWR8zJnU.js +157 -0
- package/dist/vue-ui-sparkgauge-tbVqaLCK.cjs +1 -0
- package/dist/vue-ui-sparkhistogram-Dv-lml4g.cjs +1 -0
- package/dist/vue-ui-sparkhistogram-DxqCtDpw.js +244 -0
- package/dist/vue-ui-sparkline-B6pvaBY_.cjs +1 -0
- package/dist/vue-ui-sparkline-BpL1jn7F.js +333 -0
- package/dist/vue-ui-sparkstackbar-BzbuBNIV.js +244 -0
- package/dist/vue-ui-sparkstackbar-CQ2TEi4p.cjs +1 -0
- package/dist/vue-ui-strip-plot-DCC6F4VM.cjs +1 -0
- package/dist/vue-ui-strip-plot-DCcbD6UE.js +618 -0
- package/dist/vue-ui-table-CFqIWfxl.js +1430 -0
- package/dist/vue-ui-table-CseaFWgX.cjs +14 -0
- package/dist/vue-ui-table-heatmap-Bwut-V1D.cjs +1 -0
- package/dist/vue-ui-table-heatmap-Bz8KYDxr.js +237 -0
- package/dist/vue-ui-table-sparkline-CJBU3y8-.cjs +1 -0
- package/dist/vue-ui-table-sparkline-z29ND2lq.js +420 -0
- package/dist/vue-ui-thermometer-BNAITzJa.js +385 -0
- package/dist/vue-ui-thermometer-DM2IKhqN.cjs +1 -0
- package/dist/vue-ui-timer-DLfXuW8T.cjs +64 -0
- package/dist/vue-ui-timer-DV6lQVHU.js +453 -0
- package/dist/vue-ui-tiremarks-B1bd1jPf.cjs +1 -0
- package/dist/vue-ui-tiremarks-WyQPg7yo.js +249 -0
- package/dist/vue-ui-treemap-BZGmoDHb.cjs +1 -0
- package/dist/vue-ui-treemap-DKmBhzV-.js +722 -0
- package/dist/vue-ui-vertical-bar-Bi-0rRN3.cjs +4 -0
- package/dist/vue-ui-vertical-bar-C-ySfrhJ.js +737 -0
- package/dist/vue-ui-waffle-CGRWu-da.js +638 -0
- package/dist/vue-ui-waffle-VLYkR-YZ.cjs +1 -0
- package/dist/vue-ui-wheel-D2q5vy5V.cjs +1 -0
- package/dist/vue-ui-wheel-Pj9OPk9f.js +227 -0
- package/dist/vue-ui-word-cloud-8Vr-jo1p.js +346 -0
- package/dist/vue-ui-word-cloud-Ba4BjatU.cjs +1 -0
- package/dist/vue-ui-xy-C4QW5Lfl.cjs +3 -0
- package/dist/vue-ui-xy-canvas-Be-Da_0x.cjs +9 -0
- package/dist/vue-ui-xy-canvas-DnLWrf0e.js +1006 -0
- package/dist/vue-ui-xy-qToggEfh.js +2064 -0
- package/package.json +1 -1
- package/dist/index-BcMihqI4.cjs +0 -843
- package/dist/index-C7FeCQ7K.js +0 -57303
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
function b(e, i, o, t = {}) {
|
|
2
|
+
if (o <= 0) return;
|
|
3
|
+
e.save();
|
|
4
|
+
const {
|
|
5
|
+
color: s = "black",
|
|
6
|
+
lineWidth: u = 1,
|
|
7
|
+
lineCap: d = "round",
|
|
8
|
+
lineJoin: f = "round",
|
|
9
|
+
lineDash: w = null,
|
|
10
|
+
lineDashoffset: r = 0,
|
|
11
|
+
shadowColor: l = null,
|
|
12
|
+
shadowBlur: a = 0,
|
|
13
|
+
shadowOffsetX: y = 0,
|
|
14
|
+
shadowOffsetY: g = 0,
|
|
15
|
+
fillStyle: N = "#FFFFFF"
|
|
16
|
+
} = t;
|
|
17
|
+
e.beginPath(), e.arc(i.x, i.y, o, 0, 2 * Math.PI), e.strokeStyle = s, e.lineWidth = u, e.lineCap = d, e.lineJoin = f, w && (e.setLineDash(w), e.lineDashoffset = r), l && (e.shadowColor = l, e.shadowOffsetX = y, e.shadowOffsetY = g), a && (e.shadowBlur = a), N && (e.fillStyle = N), e.fillStyle && e.fill(), e.stroke(), e.restore();
|
|
18
|
+
}
|
|
19
|
+
function C(e, i, o = {}) {
|
|
20
|
+
if (!i.length) return;
|
|
21
|
+
e.save();
|
|
22
|
+
const {
|
|
23
|
+
color: t = "black",
|
|
24
|
+
lineWidth: s = 1,
|
|
25
|
+
lineCap: u = "round",
|
|
26
|
+
lineJoin: d = "round",
|
|
27
|
+
lineDash: f = null,
|
|
28
|
+
lineDashoffset: w = 0,
|
|
29
|
+
shadowColor: r = null,
|
|
30
|
+
shadowBlur: l = 0,
|
|
31
|
+
shadowOffsetX: a = 0,
|
|
32
|
+
shadowOffsetY: y = 0
|
|
33
|
+
} = o;
|
|
34
|
+
e.beginPath(), e.moveTo(i[0].x, i[0].y);
|
|
35
|
+
for (let g = 1; g < i.length; g += 1)
|
|
36
|
+
e.lineTo(i[g].x, i[g].y);
|
|
37
|
+
e.strokeStyle = t, e.lineWidth = s, e.lineCap = u, e.lineJoin = d, f && (e.setLineDash(f), e.lineDashoffset = w), r && (e.shadowColor = r, e.shadowOffsetX = a, e.shadowOffsetY = y), l && (e.shadowBlur = l), e.stroke(), e.restore();
|
|
38
|
+
}
|
|
39
|
+
function m(e, i, o = {}) {
|
|
40
|
+
if (!i.length) return;
|
|
41
|
+
e.save();
|
|
42
|
+
const {
|
|
43
|
+
strokeColor: t = "black",
|
|
44
|
+
lineWidth: s = 1,
|
|
45
|
+
lineCap: u = "round",
|
|
46
|
+
lineJoin: d = "round",
|
|
47
|
+
lineDash: f = null,
|
|
48
|
+
lineDashoffset: w = 0,
|
|
49
|
+
fillColor: r = null,
|
|
50
|
+
gradient: l = null,
|
|
51
|
+
shadowColor: a = null,
|
|
52
|
+
shadowBlur: y = 0,
|
|
53
|
+
shadowOffsetX: g = 0,
|
|
54
|
+
shadowOffsetY: N = 0
|
|
55
|
+
} = o;
|
|
56
|
+
e.beginPath(), e.moveTo(i[0].x, i[0].y);
|
|
57
|
+
for (let n = 1; n < i.length; n += 1)
|
|
58
|
+
e.lineTo(i[n].x, i[n].y);
|
|
59
|
+
if (e.closePath(), e.strokeStyle = t, e.lineWidth = s, e.lineCap = u, e.lineJoin = d, f && (e.setLineDash(f), e.lineDashoffset = w), a && (e.shadowColor = a, e.shadowBlur = y, e.shadowOffsetX = g, e.shadowOffsetY = N), l) {
|
|
60
|
+
let n;
|
|
61
|
+
l.type === "linear" ? n = e.createLinearGradient(
|
|
62
|
+
h(l.start.x, Number.MIN_VALUE),
|
|
63
|
+
h(l.start.y, Number.MIN_VALUE),
|
|
64
|
+
h(l.end.x, Number.MIN_VALUE * 2),
|
|
65
|
+
h(l.end.y, Number.MIN_VALUE * 2)
|
|
66
|
+
) : l.type === "radial" && (n = e.createRadialGradient(
|
|
67
|
+
h(l.start.x, Number.MIN_VALUE),
|
|
68
|
+
h(l.start.y, Number.MIN_VALUE),
|
|
69
|
+
l.start.r || 0,
|
|
70
|
+
h(l.end.x, Number.MIN_VALUE * 2),
|
|
71
|
+
h(l.end.y, Number.MIN_VALUE * 2),
|
|
72
|
+
l.end.r || 0
|
|
73
|
+
)), n && l.stops && (l.stops.forEach((p) => {
|
|
74
|
+
n.addColorStop(p.offset, p.color);
|
|
75
|
+
}), e.fillStyle = n);
|
|
76
|
+
} else r && (e.fillStyle = r);
|
|
77
|
+
e.fillStyle && e.fill(), t && e.stroke(), e.restore();
|
|
78
|
+
}
|
|
79
|
+
function L(e, i, o = {}) {
|
|
80
|
+
if (!i.length) return;
|
|
81
|
+
e.save();
|
|
82
|
+
const {
|
|
83
|
+
strokeColor: t = "black",
|
|
84
|
+
lineWidth: s = 1,
|
|
85
|
+
lineCap: u = "round",
|
|
86
|
+
lineJoin: d = "round",
|
|
87
|
+
lineDash: f = null,
|
|
88
|
+
lineDashoffset: w = 0,
|
|
89
|
+
fillColor: r = null,
|
|
90
|
+
gradient: l = null,
|
|
91
|
+
shadowColor: a = null,
|
|
92
|
+
shadowBlur: y = 0,
|
|
93
|
+
shadowOffsetX: g = 0,
|
|
94
|
+
shadowOffsetY: N = 0
|
|
95
|
+
} = o;
|
|
96
|
+
e.beginPath(), e.moveTo(i[0].x, i[0].y);
|
|
97
|
+
for (let n = 1; n < i.length; n += 1)
|
|
98
|
+
e.lineTo(i[n].x, i[n].y);
|
|
99
|
+
if (e.closePath(), e.strokeStyle = t, e.lineWidth = s, e.lineCap = u, e.lineJoin = d, f && (e.setLineDash(f), e.lineDashoffset = w), a && (e.shadowColor = a, e.shadowBlur = y, e.shadowOffsetX = g, e.shadowOffsetY = N), l) {
|
|
100
|
+
let n;
|
|
101
|
+
l.type === "linear" ? n = e.createLinearGradient(
|
|
102
|
+
h(l.start.x, Number.MIN_VALUE),
|
|
103
|
+
h(l.start.y, Number.MIN_VALUE),
|
|
104
|
+
h(l.end.x, Number.MIN_VALUE * 2),
|
|
105
|
+
h(l.end.y, Number.MIN_VALUE * 2)
|
|
106
|
+
) : l.type === "radial" && (n = e.createRadialGradient(
|
|
107
|
+
h(l.start.x, Number.MIN_VALUE),
|
|
108
|
+
h(l.start.y, Number.MIN_VALUE),
|
|
109
|
+
l.start.r || 0,
|
|
110
|
+
h(l.end.x, Number.MIN_VALUE * 2),
|
|
111
|
+
h(l.end.y, Number.MIN_VALUE * 2),
|
|
112
|
+
l.end.r || 0
|
|
113
|
+
)), n && l.stops && (l.stops.forEach((p) => {
|
|
114
|
+
n.addColorStop(p.offset, p.color);
|
|
115
|
+
}), e.fillStyle = n);
|
|
116
|
+
} else r && (e.fillStyle = r);
|
|
117
|
+
e.fillStyle && e.fill(), t && e.stroke(), e.restore();
|
|
118
|
+
}
|
|
119
|
+
function I(e, i, o, t, s = {}) {
|
|
120
|
+
e.save();
|
|
121
|
+
const {
|
|
122
|
+
font: u = "16px sans-serif",
|
|
123
|
+
color: d = "black",
|
|
124
|
+
align: f = "start",
|
|
125
|
+
baseline: w = "alphabetic",
|
|
126
|
+
maxWidth: r = void 0,
|
|
127
|
+
rotation: l = 0,
|
|
128
|
+
shadowColor: a = null,
|
|
129
|
+
shadowBlur: y = 0,
|
|
130
|
+
shadowOffsetX: g = 0,
|
|
131
|
+
shadowOffsetY: N = 0,
|
|
132
|
+
strokeColor: n = null,
|
|
133
|
+
lineWidth: p = 1
|
|
134
|
+
} = s;
|
|
135
|
+
e.font = u, e.fillStyle = d, e.textAlign = f, e.textBaseline = w, a && (e.shadowColor = a, e.shadowBlur = y, e.shadowOffsetX = g, e.shadowOffsetY = N), n && (e.strokeStyle = n, e.lineWidth = p), l !== 0 && (e.translate(o, t), e.rotate(Math.PI / 180 * l), e.translate(-o, -t)), e.fillText(i, o, t, r), n && e.strokeText(i, o, t, r), e.restore();
|
|
136
|
+
}
|
|
137
|
+
function O(e, i = 20) {
|
|
138
|
+
let o;
|
|
139
|
+
return function(...t) {
|
|
140
|
+
const s = this;
|
|
141
|
+
o || (e.apply(s, t), o = !0, setTimeout(() => o = !1, i));
|
|
142
|
+
};
|
|
143
|
+
}
|
|
144
|
+
function E(e, i, o = !1) {
|
|
145
|
+
let t;
|
|
146
|
+
return function(...s) {
|
|
147
|
+
const u = this, d = function() {
|
|
148
|
+
t = null, o || e.apply(u, s);
|
|
149
|
+
}, f = o && !t;
|
|
150
|
+
clearTimeout(t), t = setTimeout(d, i), f && e.apply(u, s);
|
|
151
|
+
};
|
|
152
|
+
}
|
|
153
|
+
function k(e) {
|
|
154
|
+
const i = document.createElement("canvas");
|
|
155
|
+
return i.width = e.width || 1, i.height = e.height || 1, e.width || (e.width = 1), e.height || (e.height = 1), i.getContext("2d").drawImage(e, 0, 0), i;
|
|
156
|
+
}
|
|
157
|
+
function h(e, i) {
|
|
158
|
+
return [null, void 0, NaN, 1 / 0, -1 / 0].includes(e) ? i : e;
|
|
159
|
+
}
|
|
160
|
+
function M({
|
|
161
|
+
chart: e,
|
|
162
|
+
title: i = null,
|
|
163
|
+
slicer: o = null,
|
|
164
|
+
legend: t = null
|
|
165
|
+
}) {
|
|
166
|
+
let s = 0, u = 0;
|
|
167
|
+
if (e) {
|
|
168
|
+
const d = e.parentNode, { height: f, width: w } = d.getBoundingClientRect();
|
|
169
|
+
let r = 0, l = 0, a = 0;
|
|
170
|
+
i && (r = i.getBoundingClientRect().height), o && (l = o.getBoundingClientRect().height), t && (a = t.getBoundingClientRect().height), s = f - r - l - a, u = w;
|
|
171
|
+
}
|
|
172
|
+
return {
|
|
173
|
+
width: u,
|
|
174
|
+
height: s
|
|
175
|
+
};
|
|
176
|
+
}
|
|
177
|
+
export {
|
|
178
|
+
b as a,
|
|
179
|
+
I as b,
|
|
180
|
+
k as c,
|
|
181
|
+
E as d,
|
|
182
|
+
C as l,
|
|
183
|
+
m as p,
|
|
184
|
+
L as r,
|
|
185
|
+
O as t,
|
|
186
|
+
M as u
|
|
187
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),G=require("./BaseIcon-BoKtpbrI.cjs"),Q={key:0,style:{width:"100%",display:"flex",gap:"6px","align-items":"center",color:"#FF0000"}},$={style:{width:"36px"}},K={__name:"vue-data-ui",props:{component:{type:String},dataset:{type:[Object,Array,Number,String]},config:{type:Object}},emits:["selectLegend","selectDatapoint","toggleOpenState","saveAnnotations","selectRoot","selectBranch","selectNut","change","selectPlot","selectSide","rate","postImage","hoverIndex","selectX","toggleLock","toggleTooltip","start","play","pause","reset","restart","lap"],setup(_,{expose:B,emit:E}){const i=_,{component:H,dataset:O,config:N}=e.toRefs(i),l={VueUi3dBar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-3d-bar-CgB0fLQT.cjs"))),VueUiAgePyramid:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-age-pyramid-DqiwcOIr.cjs"))),VueUiAnnotator:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-annotator-mntqd3q_.cjs"))),VueUiCandlestick:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-candlestick-C_TvUQvH.cjs"))),VueUiChestnut:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-chestnut-DhWlw2MD.cjs"))),VueUiDashboard:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-dashboard-DFIYwP1s.cjs"))),VueUiDigits:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-digits-Ced5mBJZ.cjs"))),VueUiDonut:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-donut-DIhhgvWp.cjs"))),VueUiDonutEvolution:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-donut-evolution-Ct6KAzs-.cjs"))),VueUiGalaxy:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-galaxy-D4xyd-J1.cjs"))),VueUiGauge:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-gauge-DPFBsbFj.cjs"))),VueUiHeatmap:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-heatmap-DBOKYaJz.cjs"))),VueUiKpi:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-kpi-BEgf5yDv.cjs"))),VueUiMiniLoader:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-mini-loader-Bm5EJxtG.cjs"))),VueUiMolecule:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-molecule-DzUqcaxd.cjs"))),VueUiMoodRadar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-mood-radar-DbB7m4Ku.cjs"))),VueUiNestedDonuts:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-nested-donuts-BSINf8hd.cjs"))),VueUiOnion:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-onion-D3-6Tv4u.cjs"))),VueUiQuadrant:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-quadrant-CzCvejGn.cjs"))),VueUiRadar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-radar-DIpCrj1h.cjs"))),VueUiRating:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-rating-D8fJC8Yt.cjs"))),VueUiRelationCircle:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-relation-circle-Ky3nPk6S.cjs"))),VueUiRings:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-rings-CffZ4T2S.cjs"))),VueUiScatter:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-scatter-TsX5dW9l.cjs"))),VueUiScreenshot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-screenshot-Bzpg6yof.cjs"))),VueUiSkeleton:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-skeleton-JmGp11-u.cjs"))),VueUiSmiley:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-smiley-BhSrt9f-.cjs"))),VueUiSparkbar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkbar-hL1Q6ObK.cjs"))),VueUiSparkgauge:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkgauge-tbVqaLCK.cjs"))),VueUiSparkHistogram:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkhistogram-Dv-lml4g.cjs"))),VueUiSparkline:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkline-B6pvaBY_.cjs"))),VueUiSparkStackbar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkstackbar-CQ2TEi4p.cjs"))),VueUiTable:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-CseaFWgX.cjs"))),VueUiTableSparkline:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-sparkline-CJBU3y8-.cjs"))),VueUiThermometer:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-thermometer-DM2IKhqN.cjs"))),VueUiTiremarks:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-tiremarks-B1bd1jPf.cjs"))),VueUiTreemap:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-treemap-BZGmoDHb.cjs"))),VueUiVerticalBar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-vertical-bar-Bi-0rRN3.cjs"))),VueUiWaffle:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-waffle-VLYkR-YZ.cjs"))),VueUiWheel:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-wheel-D2q5vy5V.cjs"))),VueUiXy:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-xy-C4QW5Lfl.cjs"))),VueUiTableHeatmap:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-heatmap-Bwut-V1D.cjs"))),VueUiAccordion:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-accordion-SXsobrUt.cjs"))),VueUiQuickChart:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-quick-chart-BsxsPbjz.cjs"))),VueUiCursor:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-cursor-B04HJQVl.cjs"))),VueUiSparkTrend:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-spark-trend-C8NSz4l8.cjs"))),VueUiStripPlot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-strip-plot-DCC6F4VM.cjs"))),VueUiDumbbell:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-dumbbell-pextarqH.cjs"))),VueUiWordCloud:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-word-cloud-Ba4BjatU.cjs"))),VueUiXyCanvas:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-xy-canvas-Be-Da_0x.cjs"))),VueUiFlow:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-flow-BXVsbmyb.cjs"))),VueUiParallelCoordinatePlot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-parallel-coordinate-plot-CJGkoIgN.cjs"))),VueUiTimer:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-timer-DLfXuW8T.cjs"))),VueUiCarouselTable:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-carousel-table-BCePqkuz.cjs")))},M={VueUi3dBar:["config","dataset"],VueUiAgePyramid:["config","dataset"],VueUiAnnotator:["config","dataset"],VueUiCandlestick:["config","dataset"],VueUiChestnut:["config","dataset"],VueUiDashboard:["config","dataset"],VueUiDigits:["config","dataset"],VueUiDonut:["config","dataset"],VueUiDonutEvolution:["config","dataset"],VueUiGalaxy:["config","dataset"],VueUiGauge:["config","dataset"],VueUiHeatmap:["config","dataset"],VueUiKpi:["config","dataset"],VueUiMiniLoader:["config"],VueUiMolecule:["config","dataset"],VueUiMoodRadar:["config","dataset"],VueUiNestedDonuts:["config","dataset"],VueUiOnion:["config","dataset"],VueUiQuadrant:["config","dataset"],VueUiRadar:["config","dataset"],VueUiRating:["config","dataset"],VueUiRelationCircle:["config","dataset"],VueUiRings:["config","dataset"],VueUiScatter:["config","dataset"],VueUiScreenshot:["config"],VueUiSkeleton:["config"],VueUiSmiley:["config","dataset"],VueUiSparkbar:["config","dataset"],VueUiSparkgauge:["config","dataset"],VueUiSparkHistogram:["config","dataset"],VueUiSparkline:["config","dataset"],VueUiSparkStackbar:["config","dataset"],VueUiTable:["config","dataset"],VueUiTableSparkline:["config","dataset"],VueUiThermometer:["config","dataset"],VueUiTiremarks:["config","dataset"],VueUiTreemap:["config","dataset"],VueUiVerticalBar:["config","dataset"],VueUiWaffle:["config","dataset"],VueUiWheel:["config","dataset"],VueUiXy:["config","dataset"],VueUiTableHeatmap:["config","dataset"],VueUiAccordion:["config"],VueUiQuickChart:["config","dataset"],VueUiCursor:["config"],VueUiSparkTrend:["config","dataset"],VueUiStripPlot:["config","dataset"],VueUiDumbbell:["config","dataset"],VueUiWordCloud:["config","dataset"],VueUiXyCanvas:["config","dataset"],VueUiFlow:["config","dataset"],VueUiParallelCoordinatePlot:["config","dataset"],VueUiTimer:["config"],VueUiCarouselTable:["config","dataset"]},u=e.computed(()=>!l[i.component]),F=e.computed(()=>l[i.component]||null),o=e.ref(null),W=e.computed(()=>{const t=M[i.component]||[],n={};return t.includes("config")&&(n.config=N.value),t.includes("dataset")&&(n.dataset=O.value),n}),c=e.ref(()=>null),m=e.ref(()=>null),d=e.ref(()=>null),g=e.ref(()=>null),p=e.ref(()=>null),f=e.ref(()=>null),V=e.ref(()=>null),v=e.ref(()=>null),U=e.ref(()=>null),h=e.ref(()=>null),y=e.ref(()=>null),C=e.ref(()=>null),A=e.ref(()=>null),P=e.ref(()=>null),q=e.ref(()=>null),S=e.ref(()=>null),k=e.ref(()=>null),T=e.ref(()=>null),b=e.ref(()=>null),D=e.ref(()=>null),x=e.ref(()=>null),L=e.ref(()=>null),I=e.ref(()=>null);e.onMounted(()=>{if(u.value)throw new Error(`
|
|
2
|
+
|
|
3
|
+
Vue Data UI exception:
|
|
4
|
+
The provided component "${i.component}" does not exist. Check the spelling.
|
|
5
|
+
|
|
6
|
+
Available components:
|
|
7
|
+
|
|
8
|
+
${Object.keys(l).map(t=>`. ${t}
|
|
9
|
+
`).join("")}`)}),e.watch(o,async t=>{t&&(t.generatePdf&&(c.value=t.generatePdf),t.generateImage&&(d.value=t.generateImage),t.generateCsv&&(m.value=t.generateCsv),t.getItemsPositions&&(g.value=t.getItemsPositions),t.toggleReadonly&&(p.value=t.toggleReadonly),t.shoot&&(f.value=t.shoot),t.close&&(V.value=t.close),t.restoreOrder&&(v.value=t.restoreOrder),t.recalculateHeight&&(U.value=t.recalculateHeight),t.toggleLock&&(h.value=t.toggleLock),t.toggleTable&&(y.value=t.toggleTable),t.toggleLabels&&(C.value=t.toggleLabels),t.toggleSort&&(A.value=t.toggleSort),t.toggleStack&&(P.value=t.toggleStack),t.toggleTooltip&&(q.value=t.toggleTooltip),t.start&&(S.value=t.start),t.pause&&(k.value=t.pause),t.reset&&(T.value=t.reset),t.restart&&(b.value=t.restart),t.lap&&(D.value=t.lap),t.toggleAnimation&&(x.value=t.toggleAnimation),t.pauseAnimation&&(L.value=t.pauseAnimation),t.resumeAnimation&&(I.value=t.resumeAnimation))});const X=()=>{const t=["selectLegend","selectDatapoint","toggleOpenState","saveAnnotations","selectRoot","selectBranch","selectNut","change","selectPlot","selectSide","rate","postImage","hoverIndex","selectX","toggleLock","toggleTooltip","start","pause","reset","restart","lap","toggleAnimation","pauseAnimation","resumeAnimation"],n={};return t.forEach(s=>{n[s]=(...a)=>E(s,...a)}),n},r=e.shallowReactive([]);return e.watch([r,o],()=>{if(o.value)for(;r.length;){const[t,...n]=r.shift();typeof o.value[t]=="function"&&o.value[t](...n)}}),B({getData:(...t)=>o.value&&typeof o.value.getData=="function"?o.value.getData():r.push(["getData",...t]),generatePdf:c,generateCsv:m,generateImage:d,getItemsPositions:g,toggleReadonly:p,shoot:f,close:V,restoreOrder:v,recalculateHeight:U,toggleLock:h,toggleTable:y,toggleLabels:C,toggleSort:A,toggleStack:P,toggleTooltip:q,start:S,pause:k,reset:T,restart:b,lap:D,pauseAnimation:L,resumeAnimation:I,toggleAnimation:x}),(t,n)=>u.value?(e.openBlock(),e.createElementBlock("div",Q,[e.createElementVNode("div",$,[e.createVNode(G.default,{name:"moodFlat",stroke:"#FF0000"})]),e.createTextVNode(' The provided component "'+e.toDisplayString(e.unref(H))+'" does not exist ',1)])):(e.openBlock(),e.createBlock(e.resolveDynamicComponent(F.value),e.mergeProps({key:1,ref_key:"currentComponentRef",ref:o},W.value,e.toHandlers(X())),e.createSlots({_:2},[e.renderList(t.$slots,(s,a)=>({name:a,fn:e.withCtx(j=>[e.renderSlot(t.$slots,a,e.normalizeProps(e.guardReactiveProps(j)),()=>[e.createTextVNode(e.toDisplayString(s),1)])])}))]),1040))}};exports.default=K;
|
|
@@ -0,0 +1,254 @@
|
|
|
1
|
+
import { toRefs as Y, defineAsyncComponent as t, computed as c, ref as o, onMounted as Z, watch as B, shallowReactive as R, openBlock as O, createElementBlock as w, createElementVNode as ee, createVNode as te, createTextVNode as N, toDisplayString as F, unref as oe, createBlock as ie, resolveDynamicComponent as ae, mergeProps as ne, toHandlers as re, createSlots as le, renderList as se, withCtx as ue, renderSlot as ce, normalizeProps as ge, guardReactiveProps as pe } from "vue";
|
|
2
|
+
import me from "./BaseIcon-vmmfWlyR.js";
|
|
3
|
+
const de = {
|
|
4
|
+
key: 0,
|
|
5
|
+
style: { width: "100%", display: "flex", gap: "6px", "align-items": "center", color: "#FF0000" }
|
|
6
|
+
}, Ve = { style: { width: "36px" } }, ve = {
|
|
7
|
+
__name: "vue-data-ui",
|
|
8
|
+
props: {
|
|
9
|
+
component: { type: String },
|
|
10
|
+
dataset: { type: [Object, Array, Number, String] },
|
|
11
|
+
config: { type: Object }
|
|
12
|
+
},
|
|
13
|
+
emits: [
|
|
14
|
+
"selectLegend",
|
|
15
|
+
"selectDatapoint",
|
|
16
|
+
"toggleOpenState",
|
|
17
|
+
"saveAnnotations",
|
|
18
|
+
"selectRoot",
|
|
19
|
+
"selectBranch",
|
|
20
|
+
"selectNut",
|
|
21
|
+
"change",
|
|
22
|
+
"selectPlot",
|
|
23
|
+
"selectSide",
|
|
24
|
+
"rate",
|
|
25
|
+
"postImage",
|
|
26
|
+
"hoverIndex",
|
|
27
|
+
"selectX",
|
|
28
|
+
"toggleLock",
|
|
29
|
+
"toggleTooltip",
|
|
30
|
+
"start",
|
|
31
|
+
"play",
|
|
32
|
+
"pause",
|
|
33
|
+
"reset",
|
|
34
|
+
"restart",
|
|
35
|
+
"lap"
|
|
36
|
+
],
|
|
37
|
+
setup(M, { expose: W, emit: X }) {
|
|
38
|
+
const n = M, { component: G, dataset: Q, config: $ } = Y(n), u = {
|
|
39
|
+
VueUi3dBar: t(() => import("./vue-ui-3d-bar-32wM0tiX.js")),
|
|
40
|
+
VueUiAgePyramid: t(() => import("./vue-ui-age-pyramid-D_CY99xF.js")),
|
|
41
|
+
VueUiAnnotator: t(() => import("./vue-ui-annotator-DvP-IxDm.js")),
|
|
42
|
+
VueUiCandlestick: t(() => import("./vue-ui-candlestick-C-5u3i-1.js")),
|
|
43
|
+
VueUiChestnut: t(() => import("./vue-ui-chestnut-DylSfYMB.js")),
|
|
44
|
+
VueUiDashboard: t(() => import("./vue-ui-dashboard-Bd0-cmSZ.js")),
|
|
45
|
+
VueUiDigits: t(() => import("./vue-ui-digits-CW5qNMIk.js")),
|
|
46
|
+
VueUiDonut: t(() => import("./vue-ui-donut-EeVmrVJs.js")),
|
|
47
|
+
VueUiDonutEvolution: t(() => import("./vue-ui-donut-evolution-BN08Y2hy.js")),
|
|
48
|
+
VueUiGalaxy: t(() => import("./vue-ui-galaxy-kiVOZOBz.js")),
|
|
49
|
+
VueUiGauge: t(() => import("./vue-ui-gauge-BcO-z97J.js")),
|
|
50
|
+
VueUiHeatmap: t(() => import("./vue-ui-heatmap-DD-Bzddj.js")),
|
|
51
|
+
VueUiKpi: t(() => import("./vue-ui-kpi-BS0o7zb9.js")),
|
|
52
|
+
VueUiMiniLoader: t(() => import("./vue-ui-mini-loader-DJEvG6ju.js")),
|
|
53
|
+
VueUiMolecule: t(() => import("./vue-ui-molecule-DdwnFEBJ.js")),
|
|
54
|
+
VueUiMoodRadar: t(() => import("./vue-ui-mood-radar-B9Gczs_Z.js")),
|
|
55
|
+
VueUiNestedDonuts: t(() => import("./vue-ui-nested-donuts-CVQ1CaXo.js")),
|
|
56
|
+
VueUiOnion: t(() => import("./vue-ui-onion-Ut75t7hB.js")),
|
|
57
|
+
VueUiQuadrant: t(() => import("./vue-ui-quadrant-Du9PKvlO.js")),
|
|
58
|
+
VueUiRadar: t(() => import("./vue-ui-radar-CBrpuE5r.js")),
|
|
59
|
+
VueUiRating: t(() => import("./vue-ui-rating-CaeGGlCw.js")),
|
|
60
|
+
VueUiRelationCircle: t(() => import("./vue-ui-relation-circle-5DNf880s.js")),
|
|
61
|
+
VueUiRings: t(() => import("./vue-ui-rings-IE3IdNRF.js")),
|
|
62
|
+
VueUiScatter: t(() => import("./vue-ui-scatter-C4GCZm0V.js")),
|
|
63
|
+
VueUiScreenshot: t(() => import("./vue-ui-screenshot-Bl3oooKI.js")),
|
|
64
|
+
VueUiSkeleton: t(() => import("./vue-ui-skeleton-BisWX1sO.js")),
|
|
65
|
+
VueUiSmiley: t(() => import("./vue-ui-smiley-Sth2pqG1.js")),
|
|
66
|
+
VueUiSparkbar: t(() => import("./vue-ui-sparkbar-B0zX7NU7.js")),
|
|
67
|
+
VueUiSparkgauge: t(() => import("./vue-ui-sparkgauge-CWR8zJnU.js")),
|
|
68
|
+
VueUiSparkHistogram: t(() => import("./vue-ui-sparkhistogram-DxqCtDpw.js")),
|
|
69
|
+
VueUiSparkline: t(() => import("./vue-ui-sparkline-BpL1jn7F.js")),
|
|
70
|
+
VueUiSparkStackbar: t(() => import("./vue-ui-sparkstackbar-BzbuBNIV.js")),
|
|
71
|
+
VueUiTable: t(() => import("./vue-ui-table-CFqIWfxl.js")),
|
|
72
|
+
VueUiTableSparkline: t(() => import("./vue-ui-table-sparkline-z29ND2lq.js")),
|
|
73
|
+
VueUiThermometer: t(() => import("./vue-ui-thermometer-BNAITzJa.js")),
|
|
74
|
+
VueUiTiremarks: t(() => import("./vue-ui-tiremarks-WyQPg7yo.js")),
|
|
75
|
+
VueUiTreemap: t(() => import("./vue-ui-treemap-DKmBhzV-.js")),
|
|
76
|
+
VueUiVerticalBar: t(() => import("./vue-ui-vertical-bar-C-ySfrhJ.js")),
|
|
77
|
+
VueUiWaffle: t(() => import("./vue-ui-waffle-CGRWu-da.js")),
|
|
78
|
+
VueUiWheel: t(() => import("./vue-ui-wheel-Pj9OPk9f.js")),
|
|
79
|
+
VueUiXy: t(() => import("./vue-ui-xy-qToggEfh.js")),
|
|
80
|
+
VueUiTableHeatmap: t(() => import("./vue-ui-table-heatmap-Bz8KYDxr.js")),
|
|
81
|
+
VueUiAccordion: t(() => import("./vue-ui-accordion-CLlVxx3Q.js")),
|
|
82
|
+
VueUiQuickChart: t(() => import("./vue-ui-quick-chart-u0cPmD3q.js")),
|
|
83
|
+
VueUiCursor: t(() => import("./vue-ui-cursor-DTYEMgbU.js")),
|
|
84
|
+
VueUiSparkTrend: t(() => import("./vue-ui-spark-trend-DAqO0TW2.js")),
|
|
85
|
+
VueUiStripPlot: t(() => import("./vue-ui-strip-plot-DCcbD6UE.js")),
|
|
86
|
+
VueUiDumbbell: t(() => import("./vue-ui-dumbbell-BMlxS1Nq.js")),
|
|
87
|
+
VueUiWordCloud: t(() => import("./vue-ui-word-cloud-8Vr-jo1p.js")),
|
|
88
|
+
VueUiXyCanvas: t(() => import("./vue-ui-xy-canvas-DnLWrf0e.js")),
|
|
89
|
+
VueUiFlow: t(() => import("./vue-ui-flow-CHmkgfyb.js")),
|
|
90
|
+
VueUiParallelCoordinatePlot: t(() => import("./vue-ui-parallel-coordinate-plot-Bjo09ZTX.js")),
|
|
91
|
+
VueUiTimer: t(() => import("./vue-ui-timer-DV6lQVHU.js")),
|
|
92
|
+
VueUiCarouselTable: t(() => import("./vue-ui-carousel-table-CAqhsLVx.js"))
|
|
93
|
+
}, j = {
|
|
94
|
+
VueUi3dBar: ["config", "dataset"],
|
|
95
|
+
VueUiAgePyramid: ["config", "dataset"],
|
|
96
|
+
VueUiAnnotator: ["config", "dataset"],
|
|
97
|
+
VueUiCandlestick: ["config", "dataset"],
|
|
98
|
+
VueUiChestnut: ["config", "dataset"],
|
|
99
|
+
VueUiDashboard: ["config", "dataset"],
|
|
100
|
+
VueUiDigits: ["config", "dataset"],
|
|
101
|
+
VueUiDonut: ["config", "dataset"],
|
|
102
|
+
VueUiDonutEvolution: ["config", "dataset"],
|
|
103
|
+
VueUiGalaxy: ["config", "dataset"],
|
|
104
|
+
VueUiGauge: ["config", "dataset"],
|
|
105
|
+
VueUiHeatmap: ["config", "dataset"],
|
|
106
|
+
VueUiKpi: ["config", "dataset"],
|
|
107
|
+
VueUiMiniLoader: ["config"],
|
|
108
|
+
VueUiMolecule: ["config", "dataset"],
|
|
109
|
+
VueUiMoodRadar: ["config", "dataset"],
|
|
110
|
+
VueUiNestedDonuts: ["config", "dataset"],
|
|
111
|
+
VueUiOnion: ["config", "dataset"],
|
|
112
|
+
VueUiQuadrant: ["config", "dataset"],
|
|
113
|
+
VueUiRadar: ["config", "dataset"],
|
|
114
|
+
VueUiRating: ["config", "dataset"],
|
|
115
|
+
VueUiRelationCircle: ["config", "dataset"],
|
|
116
|
+
VueUiRings: ["config", "dataset"],
|
|
117
|
+
VueUiScatter: ["config", "dataset"],
|
|
118
|
+
VueUiScreenshot: ["config"],
|
|
119
|
+
VueUiSkeleton: ["config"],
|
|
120
|
+
VueUiSmiley: ["config", "dataset"],
|
|
121
|
+
VueUiSparkbar: ["config", "dataset"],
|
|
122
|
+
VueUiSparkgauge: ["config", "dataset"],
|
|
123
|
+
VueUiSparkHistogram: ["config", "dataset"],
|
|
124
|
+
VueUiSparkline: ["config", "dataset"],
|
|
125
|
+
VueUiSparkStackbar: ["config", "dataset"],
|
|
126
|
+
VueUiTable: ["config", "dataset"],
|
|
127
|
+
VueUiTableSparkline: ["config", "dataset"],
|
|
128
|
+
VueUiThermometer: ["config", "dataset"],
|
|
129
|
+
VueUiTiremarks: ["config", "dataset"],
|
|
130
|
+
VueUiTreemap: ["config", "dataset"],
|
|
131
|
+
VueUiVerticalBar: ["config", "dataset"],
|
|
132
|
+
VueUiWaffle: ["config", "dataset"],
|
|
133
|
+
VueUiWheel: ["config", "dataset"],
|
|
134
|
+
VueUiXy: ["config", "dataset"],
|
|
135
|
+
VueUiTableHeatmap: ["config", "dataset"],
|
|
136
|
+
VueUiAccordion: ["config"],
|
|
137
|
+
VueUiQuickChart: ["config", "dataset"],
|
|
138
|
+
VueUiCursor: ["config"],
|
|
139
|
+
VueUiSparkTrend: ["config", "dataset"],
|
|
140
|
+
VueUiStripPlot: ["config", "dataset"],
|
|
141
|
+
VueUiDumbbell: ["config", "dataset"],
|
|
142
|
+
VueUiWordCloud: ["config", "dataset"],
|
|
143
|
+
VueUiXyCanvas: ["config", "dataset"],
|
|
144
|
+
VueUiFlow: ["config", "dataset"],
|
|
145
|
+
VueUiParallelCoordinatePlot: ["config", "dataset"],
|
|
146
|
+
VueUiTimer: ["config"],
|
|
147
|
+
VueUiCarouselTable: ["config", "dataset"]
|
|
148
|
+
}, g = c(() => !u[n.component]), K = c(() => u[n.component] || null), i = o(null), q = c(() => {
|
|
149
|
+
const e = j[n.component] || [], a = {};
|
|
150
|
+
return e.includes("config") && (a.config = $.value), e.includes("dataset") && (a.dataset = Q.value), a;
|
|
151
|
+
}), p = o(() => null), m = o(() => null), d = o(() => null), V = o(() => null), U = o(() => null), f = o(() => null), v = o(() => null), h = o(() => null), k = o(() => null), S = o(() => null), y = o(() => null), T = o(() => null), b = o(() => null), C = o(() => null), A = o(() => null), P = o(() => null), D = o(() => null), x = o(() => null), L = o(() => null), I = o(() => null), _ = o(() => null), E = o(() => null), H = o(() => null);
|
|
152
|
+
Z(() => {
|
|
153
|
+
if (g.value)
|
|
154
|
+
throw new Error(`
|
|
155
|
+
|
|
156
|
+
Vue Data UI exception:
|
|
157
|
+
The provided component "${n.component}" does not exist. Check the spelling.
|
|
158
|
+
|
|
159
|
+
Available components:
|
|
160
|
+
|
|
161
|
+
${Object.keys(u).map((e) => `. ${e}
|
|
162
|
+
`).join("")}`);
|
|
163
|
+
}), B(i, async (e) => {
|
|
164
|
+
e && (e.generatePdf && (p.value = e.generatePdf), e.generateImage && (d.value = e.generateImage), e.generateCsv && (m.value = e.generateCsv), e.getItemsPositions && (V.value = e.getItemsPositions), e.toggleReadonly && (U.value = e.toggleReadonly), e.shoot && (f.value = e.shoot), e.close && (v.value = e.close), e.restoreOrder && (h.value = e.restoreOrder), e.recalculateHeight && (k.value = e.recalculateHeight), e.toggleLock && (S.value = e.toggleLock), e.toggleTable && (y.value = e.toggleTable), e.toggleLabels && (T.value = e.toggleLabels), e.toggleSort && (b.value = e.toggleSort), e.toggleStack && (C.value = e.toggleStack), e.toggleTooltip && (A.value = e.toggleTooltip), e.start && (P.value = e.start), e.pause && (D.value = e.pause), e.reset && (x.value = e.reset), e.restart && (L.value = e.restart), e.lap && (I.value = e.lap), e.toggleAnimation && (_.value = e.toggleAnimation), e.pauseAnimation && (E.value = e.pauseAnimation), e.resumeAnimation && (H.value = e.resumeAnimation));
|
|
165
|
+
});
|
|
166
|
+
const z = () => {
|
|
167
|
+
const e = [
|
|
168
|
+
"selectLegend",
|
|
169
|
+
"selectDatapoint",
|
|
170
|
+
"toggleOpenState",
|
|
171
|
+
"saveAnnotations",
|
|
172
|
+
"selectRoot",
|
|
173
|
+
"selectBranch",
|
|
174
|
+
"selectNut",
|
|
175
|
+
"change",
|
|
176
|
+
"selectPlot",
|
|
177
|
+
"selectSide",
|
|
178
|
+
"rate",
|
|
179
|
+
"postImage",
|
|
180
|
+
"hoverIndex",
|
|
181
|
+
"selectX",
|
|
182
|
+
"toggleLock",
|
|
183
|
+
"toggleTooltip",
|
|
184
|
+
"start",
|
|
185
|
+
"pause",
|
|
186
|
+
"reset",
|
|
187
|
+
"restart",
|
|
188
|
+
"lap",
|
|
189
|
+
"toggleAnimation",
|
|
190
|
+
"pauseAnimation",
|
|
191
|
+
"resumeAnimation"
|
|
192
|
+
], a = {};
|
|
193
|
+
return e.forEach((l) => {
|
|
194
|
+
a[l] = (...s) => X(l, ...s);
|
|
195
|
+
}), a;
|
|
196
|
+
}, r = R([]);
|
|
197
|
+
return B([r, i], () => {
|
|
198
|
+
if (i.value)
|
|
199
|
+
for (; r.length; ) {
|
|
200
|
+
const [e, ...a] = r.shift();
|
|
201
|
+
typeof i.value[e] == "function" && i.value[e](...a);
|
|
202
|
+
}
|
|
203
|
+
}), W({
|
|
204
|
+
getData: (...e) => i.value && typeof i.value.getData == "function" ? i.value.getData() : r.push(["getData", ...e]),
|
|
205
|
+
generatePdf: p,
|
|
206
|
+
generateCsv: m,
|
|
207
|
+
generateImage: d,
|
|
208
|
+
getItemsPositions: V,
|
|
209
|
+
toggleReadonly: U,
|
|
210
|
+
shoot: f,
|
|
211
|
+
close: v,
|
|
212
|
+
restoreOrder: h,
|
|
213
|
+
recalculateHeight: k,
|
|
214
|
+
toggleLock: S,
|
|
215
|
+
toggleTable: y,
|
|
216
|
+
toggleLabels: T,
|
|
217
|
+
toggleSort: b,
|
|
218
|
+
toggleStack: C,
|
|
219
|
+
toggleTooltip: A,
|
|
220
|
+
start: P,
|
|
221
|
+
pause: D,
|
|
222
|
+
reset: x,
|
|
223
|
+
restart: L,
|
|
224
|
+
lap: I,
|
|
225
|
+
pauseAnimation: E,
|
|
226
|
+
resumeAnimation: H,
|
|
227
|
+
toggleAnimation: _
|
|
228
|
+
}), (e, a) => g.value ? (O(), w("div", de, [
|
|
229
|
+
ee("div", Ve, [
|
|
230
|
+
te(me, {
|
|
231
|
+
name: "moodFlat",
|
|
232
|
+
stroke: "#FF0000"
|
|
233
|
+
})
|
|
234
|
+
]),
|
|
235
|
+
N(' The provided component "' + F(oe(G)) + '" does not exist ', 1)
|
|
236
|
+
])) : (O(), ie(ae(K.value), ne({
|
|
237
|
+
key: 1,
|
|
238
|
+
ref_key: "currentComponentRef",
|
|
239
|
+
ref: i
|
|
240
|
+
}, q.value, re(z())), le({ _: 2 }, [
|
|
241
|
+
se(e.$slots, (l, s) => ({
|
|
242
|
+
name: s,
|
|
243
|
+
fn: ue((J) => [
|
|
244
|
+
ce(e.$slots, s, ge(pe(J)), () => [
|
|
245
|
+
N(F(l), 1)
|
|
246
|
+
])
|
|
247
|
+
])
|
|
248
|
+
}))
|
|
249
|
+
]), 1040));
|
|
250
|
+
}
|
|
251
|
+
};
|
|
252
|
+
export {
|
|
253
|
+
ve as default
|
|
254
|
+
};
|
package/dist/vue-data-ui.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("vue");const e=require("./index-BkomIE9L.cjs");exports.Arrow=e.Arrow;exports.VueDataUi=e.VueDataUi;exports.VueUi3dBar=e.VueUi3dBar;exports.VueUiAccordion=e.VueUiAccordion;exports.VueUiAgePyramid=e.VueUiAgePyramid;exports.VueUiAnnotator=e.VueUiAnnotator;exports.VueUiCandlestick=e.VueUiCandlestick;exports.VueUiCarouselTable=e.VueUiCarouselTable;exports.VueUiChestnut=e.VueUiChestnut;exports.VueUiCursor=e.VueUiCursor;exports.VueUiDashboard=e.VueUiDashboard;exports.VueUiDigits=e.VueUiDigits;exports.VueUiDonut=e.VueUiDonut;exports.VueUiDonutEvolution=e.VueUiDonutEvolution;exports.VueUiDumbbell=e.VueUiDumbbell;exports.VueUiFlow=e.VueUiFlow;exports.VueUiGalaxy=e.VueUiGalaxy;exports.VueUiGauge=e.VueUiGauge;exports.VueUiHeatmap=e.VueUiHeatmap;exports.VueUiIcon=e.VueUiIcon;exports.VueUiKpi=e.VueUiKpi;exports.VueUiMiniLoader=e.VueUiMiniLoader;exports.VueUiMolecule=e.VueUiMolecule;exports.VueUiMoodRadar=e.VueUiMoodRadar;exports.VueUiNestedDonuts=e.VueUiNestedDonuts;exports.VueUiOnion=e.VueUiOnion;exports.VueUiParallelCoordinatePlot=e.VueUiParallelCoordinatePlot;exports.VueUiQuadrant=e.VueUiQuadrant;exports.VueUiQuickChart=e.VueUiQuickChart;exports.VueUiRadar=e.VueUiRadar;exports.VueUiRating=e.VueUiRating;exports.VueUiRelationCircle=e.VueUiRelationCircle;exports.VueUiRings=e.VueUiRings;exports.VueUiScatter=e.VueUiScatter;exports.VueUiScreenshot=e.VueUiScreenshot;exports.VueUiSkeleton=e.VueUiSkeleton;exports.VueUiSmiley=e.VueUiSmiley;exports.VueUiSparkHistogram=e.VueUiSparkHistogram;exports.VueUiSparkStackbar=e.VueUiSparkStackbar;exports.VueUiSparkTrend=e.VueUiSparkTrend;exports.VueUiSparkbar=e.VueUiSparkbar;exports.VueUiSparkgauge=e.VueUiSparkgauge;exports.VueUiSparkline=e.VueUiSparkline;exports.VueUiStripPlot=e.VueUiStripPlot;exports.VueUiTable=e.VueUiTable;exports.VueUiTableHeatmap=e.VueUiTableHeatmap;exports.VueUiTableSparkline=e.VueUiTableSparkline;exports.VueUiThermometer=e.VueUiThermometer;exports.VueUiTimer=e.VueUiTimer;exports.VueUiTiremarks=e.VueUiTiremarks;exports.VueUiTreemap=e.VueUiTreemap;exports.VueUiVerticalBar=e.VueUiVerticalBar;exports.VueUiWaffle=e.VueUiWaffle;exports.VueUiWheel=e.VueUiWheel;exports.VueUiWordCloud=e.VueUiWordCloud;exports.VueUiXy=e.VueUiXy;exports.VueUiXyCanvas=e.VueUiXyCanvas;exports.createWordCloudDatasetFromPlainText=e.createWordCloudDatasetFromPlainText;exports.getPalette=e.getPalette;exports.getThemeConfig=e.getThemeConfig;exports.getVueDataUiConfig=e.getVueDataUiConfig;
|
package/dist/vue-data-ui.js
CHANGED
|
@@ -1,63 +1,65 @@
|
|
|
1
|
-
import
|
|
1
|
+
import "vue";
|
|
2
|
+
import { Z as s, _ as u, $ as U, a0 as V, a1 as r, a2 as t, a3 as o, aR as l, a4 as n, a5 as d, a6 as m, a7 as p, a8 as S, a9 as g, aa as c, ab as k, ac as C, ad as T, ae as b, af as D, ag as h, ah as P, ai as f, aj as y, ak as R, al as A, am as x, an as H, ao as M, ap as W, aq as v, ar as w, as as B, at as F, au as G, av as Q, aw as E, ax as I, ay as K, az as L, aA as N, aB as O, aC as X, aD as j, aE as q, aF as z, aG as J, aH as Z, aI as _, aJ as $, aK as Y, aL as aa, aM as ea, aN as ia, aO as sa, aP as ua, aQ as Ua, S as Va, aS as ra, aT as ta, aU as oa } from "./index-BMCvLyab.js";
|
|
2
3
|
export {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
s as Arrow,
|
|
5
|
+
u as VueDataUi,
|
|
6
|
+
U as VueUi3dBar,
|
|
6
7
|
V as VueUiAccordion,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
8
|
+
r as VueUiAgePyramid,
|
|
9
|
+
t as VueUiAnnotator,
|
|
10
|
+
o as VueUiCandlestick,
|
|
11
|
+
l as VueUiCarouselTable,
|
|
12
|
+
n as VueUiChestnut,
|
|
13
|
+
d as VueUiCursor,
|
|
14
|
+
m as VueUiDashboard,
|
|
15
|
+
p as VueUiDigits,
|
|
16
|
+
S as VueUiDonut,
|
|
15
17
|
g as VueUiDonutEvolution,
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
18
|
+
c as VueUiDumbbell,
|
|
19
|
+
k as VueUiFlow,
|
|
20
|
+
C as VueUiGalaxy,
|
|
21
|
+
T as VueUiGauge,
|
|
22
|
+
b as VueUiHeatmap,
|
|
23
|
+
D as VueUiIcon,
|
|
24
|
+
h as VueUiKpi,
|
|
25
|
+
P as VueUiMiniLoader,
|
|
26
|
+
f as VueUiMolecule,
|
|
27
|
+
y as VueUiMoodRadar,
|
|
28
|
+
R as VueUiNestedDonuts,
|
|
29
|
+
A as VueUiOnion,
|
|
30
|
+
x as VueUiParallelCoordinatePlot,
|
|
31
|
+
H as VueUiQuadrant,
|
|
32
|
+
M as VueUiQuickChart,
|
|
33
|
+
W as VueUiRadar,
|
|
34
|
+
v as VueUiRating,
|
|
35
|
+
w as VueUiRelationCircle,
|
|
36
|
+
B as VueUiRings,
|
|
37
|
+
F as VueUiScatter,
|
|
38
|
+
G as VueUiScreenshot,
|
|
39
|
+
Q as VueUiSkeleton,
|
|
40
|
+
E as VueUiSmiley,
|
|
41
|
+
I as VueUiSparkHistogram,
|
|
42
|
+
K as VueUiSparkStackbar,
|
|
43
|
+
L as VueUiSparkTrend,
|
|
44
|
+
N as VueUiSparkbar,
|
|
45
|
+
O as VueUiSparkgauge,
|
|
46
|
+
X as VueUiSparkline,
|
|
47
|
+
j as VueUiStripPlot,
|
|
48
|
+
q as VueUiTable,
|
|
49
|
+
z as VueUiTableHeatmap,
|
|
50
|
+
J as VueUiTableSparkline,
|
|
51
|
+
Z as VueUiThermometer,
|
|
52
|
+
_ as VueUiTimer,
|
|
53
|
+
$ as VueUiTiremarks,
|
|
54
|
+
Y as VueUiTreemap,
|
|
55
|
+
aa as VueUiVerticalBar,
|
|
56
|
+
ea as VueUiWaffle,
|
|
57
|
+
ia as VueUiWheel,
|
|
58
|
+
sa as VueUiWordCloud,
|
|
59
|
+
ua as VueUiXy,
|
|
60
|
+
Ua as VueUiXyCanvas,
|
|
61
|
+
Va as createWordCloudDatasetFromPlainText,
|
|
62
|
+
ra as getPalette,
|
|
63
|
+
ta as getThemeConfig,
|
|
64
|
+
oa as getVueDataUiConfig
|
|
63
65
|
};
|