vue-data-ui 2.3.3 → 2.3.4
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-B6gJebT9.js +101 -0
- package/dist/Arrow-C5yj6zwY.cjs +1 -0
- package/dist/BaseIcon-7_g11dRj.js +174 -0
- package/dist/BaseIcon-JtWoVorZ.cjs +1 -0
- package/dist/DataTable-CwaOlAsy.js +127 -0
- package/dist/DataTable-Rm9II-m2.cjs +1 -0
- package/dist/Legend-CxvJTjEm.js +62 -0
- package/dist/Legend-D59FIuMs.cjs +1 -0
- package/dist/Shape-CVItL3vh.cjs +1 -0
- package/dist/Shape-CjLV0scA.js +107 -0
- package/dist/Slicer-Bxg5niHl.js +156 -0
- package/dist/Slicer-Cdss5Rus.cjs +1 -0
- package/dist/Title-2iks1ziC.js +46 -0
- package/dist/Title-Bb-A5OSV.cjs +1 -0
- package/dist/Tooltip-C3phqKuU.js +94 -0
- package/dist/Tooltip-C_UE6y-E.cjs +1 -0
- package/dist/_plugin-vue_export-helper-BHFhmbuH.cjs +1 -0
- package/dist/_plugin-vue_export-helper-CHgC5LLL.js +9 -0
- package/dist/html2canvas.esm-BA_v9SIU.cjs +22 -0
- package/dist/html2canvas.esm-d2sM-0Wm.js +4870 -0
- package/dist/index-p5gfZSvB.cjs +4 -0
- package/dist/index-uOtklCCx.js +10268 -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/useNestedProp-2kIU-7On.cjs +1 -0
- package/dist/useNestedProp-BgWkUab_.js +13 -0
- package/dist/usePrinter-B6xQCyL-.js +464 -0
- package/dist/usePrinter-fZlsJid8.cjs +1 -0
- package/dist/useResponsive-B3TrDDIG.cjs +1 -0
- package/dist/useResponsive-NZB-WLRF.js +187 -0
- package/dist/vue-data-ui-Be0rgmbA.cjs +9 -0
- package/dist/vue-data-ui-Ccy6rBZN.js +246 -0
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +62 -61
- package/dist/vue-ui-3d-bar-BKMPFDi2.js +1085 -0
- package/dist/vue-ui-3d-bar-CKa4UXq4.cjs +19 -0
- package/dist/vue-ui-accordion-C_pwrAJl.cjs +1 -0
- package/dist/vue-ui-accordion-HJPf7My0.js +77 -0
- package/dist/vue-ui-age-pyramid-CE1xnA-8.cjs +1 -0
- package/dist/vue-ui-age-pyramid-DB_CL-gu.js +596 -0
- package/dist/vue-ui-annotator-BAMZcPlH.cjs +371 -0
- package/dist/vue-ui-annotator-DQsAL-nZ.js +2177 -0
- package/dist/vue-ui-candlestick-DCl8fpNu.js +657 -0
- package/dist/vue-ui-candlestick-Duv6oG79.cjs +2 -0
- package/dist/vue-ui-chestnut-BYHA6MT4.js +1051 -0
- package/dist/vue-ui-chestnut-mIZ4-ZEM.cjs +6 -0
- package/dist/vue-ui-cursor-C96IChA3.js +229 -0
- package/dist/vue-ui-cursor-De7dy4Mo.cjs +1 -0
- package/dist/vue-ui-dashboard-B2Yz41yO.js +232 -0
- package/dist/vue-ui-dashboard-BMGwKr0K.cjs +1 -0
- package/dist/vue-ui-digits-BnxLp7zQ.js +153 -0
- package/dist/vue-ui-digits-DSWyL-5K.cjs +1 -0
- package/dist/vue-ui-donut-1kei9ws5.cjs +1 -0
- package/dist/vue-ui-donut-B9iXisHK.js +743 -0
- package/dist/vue-ui-donut-evolution-B7Sun8sw.js +799 -0
- package/dist/vue-ui-donut-evolution-yv17DnGy.cjs +1 -0
- package/dist/vue-ui-dumbbell-BJEf_JEq.cjs +9 -0
- package/dist/vue-ui-dumbbell-DIsDnD1d.js +624 -0
- package/dist/vue-ui-flow-BTivYoGd.js +454 -0
- package/dist/vue-ui-flow-DOxJa8di.cjs +1 -0
- package/dist/vue-ui-galaxy-BEmywfFB.js +485 -0
- package/dist/vue-ui-galaxy-CHGOwCwM.cjs +1 -0
- package/dist/vue-ui-gauge-QAfMl-8t.cjs +1 -0
- package/dist/vue-ui-gauge-o4rDOqF3.js +466 -0
- package/dist/vue-ui-heatmap-BS4EzedX.cjs +1 -0
- package/dist/vue-ui-heatmap-DwqQqEsk.js +598 -0
- package/dist/vue-ui-kpi-F4qkJ_U-.cjs +1 -0
- package/dist/vue-ui-kpi-h8elYTcA.js +54 -0
- package/dist/vue-ui-mini-loader-C_8B2Pm6.cjs +1 -0
- package/dist/vue-ui-mini-loader-Cgoi9rhH.js +131 -0
- package/dist/vue-ui-molecule-Bmv76SWz.js +750 -0
- package/dist/vue-ui-molecule-C5CY_YYc.cjs +1 -0
- package/dist/vue-ui-mood-radar-BN0dzlfp.cjs +1 -0
- package/dist/vue-ui-mood-radar-DeMouUIe.js +548 -0
- package/dist/vue-ui-nested-donuts-ZyFoV-Zn.cjs +16 -0
- package/dist/vue-ui-nested-donuts-wOUkSVyZ.js +771 -0
- package/dist/vue-ui-onion-DCOKG2wG.js +554 -0
- package/dist/vue-ui-onion-VmTUo7TR.cjs +1 -0
- package/dist/vue-ui-parallel-coordinate-plot-BGtO2P4a.js +651 -0
- package/dist/vue-ui-parallel-coordinate-plot-BziXRF8E.cjs +8 -0
- package/dist/vue-ui-quadrant--JOTjPZh.js +1178 -0
- package/dist/vue-ui-quadrant-DawUUrur.cjs +1 -0
- package/dist/vue-ui-quick-chart-LXKfaJgS.js +1310 -0
- package/dist/vue-ui-quick-chart-jFlFtiNV.cjs +13 -0
- package/dist/vue-ui-radar-CWNIqvcA.js +614 -0
- package/dist/vue-ui-radar-VGH-lhaT.cjs +1 -0
- package/dist/vue-ui-rating-BNrIoJHN.js +271 -0
- package/dist/vue-ui-rating-Dtu6pwGx.cjs +1 -0
- package/dist/vue-ui-relation-circle-B3NKudOy.js +304 -0
- package/dist/vue-ui-relation-circle-Dwpx9o18.cjs +1 -0
- package/dist/vue-ui-rings-CsUngX_F.js +510 -0
- package/dist/vue-ui-rings-D9_OG--0.cjs +1 -0
- package/dist/vue-ui-scatter-DUsuh7bd.cjs +1 -0
- package/dist/vue-ui-scatter-DgxTz4Jx.js +874 -0
- package/dist/vue-ui-screenshot-51H_VrYY.js +160 -0
- package/dist/vue-ui-screenshot-C2Dz7CAe.cjs +3 -0
- package/dist/vue-ui-skeleton-BM9rwmxY.js +2064 -0
- package/dist/vue-ui-skeleton-sjfOtCZr.cjs +41 -0
- package/dist/vue-ui-smiley-DNnBtHht.cjs +2 -0
- package/dist/vue-ui-smiley-H5rSN-1B.js +763 -0
- package/dist/vue-ui-spark-trend-CLXZDYlk.js +246 -0
- package/dist/vue-ui-spark-trend-R4JJvfry.cjs +1 -0
- package/dist/vue-ui-sparkbar-C0k4ah-7.js +242 -0
- package/dist/vue-ui-sparkbar-CEUDIw0A.cjs +1 -0
- package/dist/vue-ui-sparkgauge-BHj00A07.js +157 -0
- package/dist/vue-ui-sparkgauge-CaEw6nmI.cjs +1 -0
- package/dist/vue-ui-sparkhistogram-B6GuavEu.cjs +1 -0
- package/dist/vue-ui-sparkhistogram-DbMLYKqE.js +244 -0
- package/dist/vue-ui-sparkline-CJydanLS.cjs +1 -0
- package/dist/vue-ui-sparkline-CYova9x3.js +333 -0
- package/dist/vue-ui-sparkstackbar-Df__yM5b.cjs +1 -0
- package/dist/vue-ui-sparkstackbar-N5rVBM2h.js +244 -0
- package/dist/vue-ui-strip-plot-DJJ1vEWz.js +618 -0
- package/dist/vue-ui-strip-plot-b5lhB35d.cjs +1 -0
- package/dist/vue-ui-table-NHhOVDbs.cjs +14 -0
- package/dist/vue-ui-table-heatmap-Cro2etCY.js +237 -0
- package/dist/vue-ui-table-heatmap-DlL2nCqz.cjs +1 -0
- package/dist/vue-ui-table-sparkline-Bw2Gc_ur.cjs +1 -0
- package/dist/vue-ui-table-sparkline-DppMitqF.js +420 -0
- package/dist/vue-ui-table-xSvwJIa7.js +1430 -0
- package/dist/vue-ui-thermometer-M2kdp1x5.js +385 -0
- package/dist/vue-ui-thermometer-Q_3PX2V3.cjs +1 -0
- package/dist/vue-ui-timer-BtSDeIRp.cjs +64 -0
- package/dist/vue-ui-timer-CAaQ-QD6.js +453 -0
- package/dist/vue-ui-tiremarks-CbGOSEvD.cjs +1 -0
- package/dist/vue-ui-tiremarks-JFv4JLP0.js +249 -0
- package/dist/vue-ui-treemap-BqDX-bPf.cjs +1 -0
- package/dist/vue-ui-treemap-DCnv-xYr.js +722 -0
- package/dist/vue-ui-vertical-bar-CEbApJZl.js +737 -0
- package/dist/vue-ui-vertical-bar-CJB_KXyr.cjs +4 -0
- package/dist/vue-ui-waffle-CTS6C7gu.js +638 -0
- package/dist/vue-ui-waffle-IMEbGe-b.cjs +1 -0
- package/dist/vue-ui-wheel-CuOmEWMQ.cjs +1 -0
- package/dist/vue-ui-wheel-_zyCdFiI.js +227 -0
- package/dist/vue-ui-word-cloud-RDlXBEAN.js +346 -0
- package/dist/vue-ui-word-cloud-Y7Yk7uUJ.cjs +1 -0
- package/dist/vue-ui-xy-BZJQBKnU.cjs +3 -0
- package/dist/vue-ui-xy-DsvN9EIQ.js +2064 -0
- package/dist/vue-ui-xy-canvas-D_dnbyFS.cjs +9 -0
- package/dist/vue-ui-xy-canvas-Dbcw8-9Q.js +1006 -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"),W=require("./BaseIcon-JtWoVorZ.cjs"),X={key:0,style:{width:"100%",display:"flex",gap:"6px","align-items":"center",color:"#FF0000"}},j={style:{width:"36px"}},G={__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(x,{expose:L,emit:I}){const i=x,{component:_,dataset:B,config:E}=e.toRefs(i),l={VueUi3dBar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-3d-bar-CKa4UXq4.cjs"))),VueUiAgePyramid:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-age-pyramid-CE1xnA-8.cjs"))),VueUiAnnotator:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-annotator-BAMZcPlH.cjs"))),VueUiCandlestick:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-candlestick-Duv6oG79.cjs"))),VueUiChestnut:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-chestnut-mIZ4-ZEM.cjs"))),VueUiDashboard:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-dashboard-BMGwKr0K.cjs"))),VueUiDigits:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-digits-DSWyL-5K.cjs"))),VueUiDonut:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-donut-1kei9ws5.cjs"))),VueUiDonutEvolution:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-donut-evolution-yv17DnGy.cjs"))),VueUiGalaxy:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-galaxy-CHGOwCwM.cjs"))),VueUiGauge:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-gauge-QAfMl-8t.cjs"))),VueUiHeatmap:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-heatmap-BS4EzedX.cjs"))),VueUiKpi:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-kpi-F4qkJ_U-.cjs"))),VueUiMiniLoader:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-mini-loader-C_8B2Pm6.cjs"))),VueUiMolecule:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-molecule-C5CY_YYc.cjs"))),VueUiMoodRadar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-mood-radar-BN0dzlfp.cjs"))),VueUiNestedDonuts:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-nested-donuts-ZyFoV-Zn.cjs"))),VueUiOnion:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-onion-VmTUo7TR.cjs"))),VueUiQuadrant:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-quadrant-DawUUrur.cjs"))),VueUiRadar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-radar-VGH-lhaT.cjs"))),VueUiRating:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-rating-Dtu6pwGx.cjs"))),VueUiRelationCircle:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-relation-circle-Dwpx9o18.cjs"))),VueUiRings:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-rings-D9_OG--0.cjs"))),VueUiScatter:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-scatter-DUsuh7bd.cjs"))),VueUiScreenshot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-screenshot-C2Dz7CAe.cjs"))),VueUiSkeleton:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-skeleton-sjfOtCZr.cjs"))),VueUiSmiley:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-smiley-DNnBtHht.cjs"))),VueUiSparkbar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkbar-CEUDIw0A.cjs"))),VueUiSparkgauge:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkgauge-CaEw6nmI.cjs"))),VueUiSparkHistogram:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkhistogram-B6GuavEu.cjs"))),VueUiSparkline:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkline-CJydanLS.cjs"))),VueUiSparkStackbar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkstackbar-Df__yM5b.cjs"))),VueUiTable:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-NHhOVDbs.cjs"))),VueUiTableSparkline:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-sparkline-Bw2Gc_ur.cjs"))),VueUiThermometer:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-thermometer-Q_3PX2V3.cjs"))),VueUiTiremarks:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-tiremarks-CbGOSEvD.cjs"))),VueUiTreemap:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-treemap-BqDX-bPf.cjs"))),VueUiVerticalBar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-vertical-bar-CJB_KXyr.cjs"))),VueUiWaffle:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-waffle-IMEbGe-b.cjs"))),VueUiWheel:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-wheel-CuOmEWMQ.cjs"))),VueUiXy:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-xy-BZJQBKnU.cjs"))),VueUiTableHeatmap:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-heatmap-DlL2nCqz.cjs"))),VueUiAccordion:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-accordion-C_pwrAJl.cjs"))),VueUiQuickChart:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-quick-chart-jFlFtiNV.cjs"))),VueUiCursor:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-cursor-De7dy4Mo.cjs"))),VueUiSparkTrend:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-spark-trend-R4JJvfry.cjs"))),VueUiStripPlot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-strip-plot-b5lhB35d.cjs"))),VueUiDumbbell:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-dumbbell-BJEf_JEq.cjs"))),VueUiWordCloud:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-word-cloud-Y7Yk7uUJ.cjs"))),VueUiXyCanvas:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-xy-canvas-D_dnbyFS.cjs"))),VueUiFlow:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-flow-DOxJa8di.cjs"))),VueUiParallelCoordinatePlot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-parallel-coordinate-plot-BziXRF8E.cjs"))),VueUiTimer:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-timer-BtSDeIRp.cjs")))},H={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"]},u=e.computed(()=>!l[i.component]),O=e.computed(()=>l[i.component]||null),o=e.ref(null),N=e.computed(()=>{const t=H[i.component]||[],n={};return t.includes("config")&&(n.config=E.value),t.includes("dataset")&&(n.dataset=B.value),n}),c=e.ref(()=>null),d=e.ref(()=>null),m=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),P=e.ref(()=>null),A=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);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&&(m.value=t.generateImage),t.generateCsv&&(d.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&&(P.value=t.toggleSort),t.toggleStack&&(A.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))});const M=()=>{const t=["selectLegend","selectDatapoint","toggleOpenState","saveAnnotations","selectRoot","selectBranch","selectNut","change","selectPlot","selectSide","rate","postImage","hoverIndex","selectX","toggleLock","toggleTooltip","start","pause","reset","restart","lap"],n={};return t.forEach(s=>{n[s]=(...a)=>I(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)}}),L({getData:(...t)=>o.value&&typeof o.value.getData=="function"?o.value.getData():r.push(["getData",...t]),generatePdf:c,generateCsv:d,generateImage:m,getItemsPositions:g,toggleReadonly:p,shoot:f,close:V,restoreOrder:v,recalculateHeight:U,toggleLock:h,toggleTable:y,toggleLabels:C,toggleSort:P,toggleStack:A,toggleTooltip:q,start:S,pause:k,reset:T,restart:b,lap:D}),(t,n)=>u.value?(e.openBlock(),e.createElementBlock("div",X,[e.createElementVNode("div",j,[e.createVNode(W.default,{name:"moodFlat",stroke:"#FF0000"})]),e.createTextVNode(' The provided component "'+e.toDisplayString(e.unref(_))+'" does not exist ',1)])):(e.openBlock(),e.createBlock(e.resolveDynamicComponent(O.value),e.mergeProps({key:1,ref_key:"currentComponentRef",ref:o},N.value,e.toHandlers(M())),e.createSlots({_:2},[e.renderList(t.$slots,(s,a)=>({name:a,fn:e.withCtx(F=>[e.renderSlot(t.$slots,a,e.normalizeProps(e.guardReactiveProps(F)),()=>[e.createTextVNode(e.toDisplayString(s),1)])])}))]),1040))}};exports.default=G;
|
|
@@ -0,0 +1,246 @@
|
|
|
1
|
+
import { toRefs as q, defineAsyncComponent as t, computed as c, ref as o, onMounted as z, watch as _, shallowReactive as J, openBlock as E, createElementBlock as Y, createElementVNode as Z, createVNode as R, createTextVNode as H, toDisplayString as B, unref as w, createBlock as ee, resolveDynamicComponent as te, mergeProps as oe, toHandlers as ae, createSlots as ie, renderList as re, withCtx as ne, renderSlot as le, normalizeProps as se, guardReactiveProps as ue } from "vue";
|
|
2
|
+
import ce from "./BaseIcon-7_g11dRj.js";
|
|
3
|
+
const ge = {
|
|
4
|
+
key: 0,
|
|
5
|
+
style: { width: "100%", display: "flex", gap: "6px", "align-items": "center", color: "#FF0000" }
|
|
6
|
+
}, pe = { 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(O, { expose: N, emit: F }) {
|
|
38
|
+
const r = O, { component: M, dataset: W, config: X } = q(r), u = {
|
|
39
|
+
VueUi3dBar: t(() => import("./vue-ui-3d-bar-BKMPFDi2.js")),
|
|
40
|
+
VueUiAgePyramid: t(() => import("./vue-ui-age-pyramid-DB_CL-gu.js")),
|
|
41
|
+
VueUiAnnotator: t(() => import("./vue-ui-annotator-DQsAL-nZ.js")),
|
|
42
|
+
VueUiCandlestick: t(() => import("./vue-ui-candlestick-DCl8fpNu.js")),
|
|
43
|
+
VueUiChestnut: t(() => import("./vue-ui-chestnut-BYHA6MT4.js")),
|
|
44
|
+
VueUiDashboard: t(() => import("./vue-ui-dashboard-B2Yz41yO.js")),
|
|
45
|
+
VueUiDigits: t(() => import("./vue-ui-digits-BnxLp7zQ.js")),
|
|
46
|
+
VueUiDonut: t(() => import("./vue-ui-donut-B9iXisHK.js")),
|
|
47
|
+
VueUiDonutEvolution: t(() => import("./vue-ui-donut-evolution-B7Sun8sw.js")),
|
|
48
|
+
VueUiGalaxy: t(() => import("./vue-ui-galaxy-BEmywfFB.js")),
|
|
49
|
+
VueUiGauge: t(() => import("./vue-ui-gauge-o4rDOqF3.js")),
|
|
50
|
+
VueUiHeatmap: t(() => import("./vue-ui-heatmap-DwqQqEsk.js")),
|
|
51
|
+
VueUiKpi: t(() => import("./vue-ui-kpi-h8elYTcA.js")),
|
|
52
|
+
VueUiMiniLoader: t(() => import("./vue-ui-mini-loader-Cgoi9rhH.js")),
|
|
53
|
+
VueUiMolecule: t(() => import("./vue-ui-molecule-Bmv76SWz.js")),
|
|
54
|
+
VueUiMoodRadar: t(() => import("./vue-ui-mood-radar-DeMouUIe.js")),
|
|
55
|
+
VueUiNestedDonuts: t(() => import("./vue-ui-nested-donuts-wOUkSVyZ.js")),
|
|
56
|
+
VueUiOnion: t(() => import("./vue-ui-onion-DCOKG2wG.js")),
|
|
57
|
+
VueUiQuadrant: t(() => import("./vue-ui-quadrant--JOTjPZh.js")),
|
|
58
|
+
VueUiRadar: t(() => import("./vue-ui-radar-CWNIqvcA.js")),
|
|
59
|
+
VueUiRating: t(() => import("./vue-ui-rating-BNrIoJHN.js")),
|
|
60
|
+
VueUiRelationCircle: t(() => import("./vue-ui-relation-circle-B3NKudOy.js")),
|
|
61
|
+
VueUiRings: t(() => import("./vue-ui-rings-CsUngX_F.js")),
|
|
62
|
+
VueUiScatter: t(() => import("./vue-ui-scatter-DgxTz4Jx.js")),
|
|
63
|
+
VueUiScreenshot: t(() => import("./vue-ui-screenshot-51H_VrYY.js")),
|
|
64
|
+
VueUiSkeleton: t(() => import("./vue-ui-skeleton-BM9rwmxY.js")),
|
|
65
|
+
VueUiSmiley: t(() => import("./vue-ui-smiley-H5rSN-1B.js")),
|
|
66
|
+
VueUiSparkbar: t(() => import("./vue-ui-sparkbar-C0k4ah-7.js")),
|
|
67
|
+
VueUiSparkgauge: t(() => import("./vue-ui-sparkgauge-BHj00A07.js")),
|
|
68
|
+
VueUiSparkHistogram: t(() => import("./vue-ui-sparkhistogram-DbMLYKqE.js")),
|
|
69
|
+
VueUiSparkline: t(() => import("./vue-ui-sparkline-CYova9x3.js")),
|
|
70
|
+
VueUiSparkStackbar: t(() => import("./vue-ui-sparkstackbar-N5rVBM2h.js")),
|
|
71
|
+
VueUiTable: t(() => import("./vue-ui-table-xSvwJIa7.js")),
|
|
72
|
+
VueUiTableSparkline: t(() => import("./vue-ui-table-sparkline-DppMitqF.js")),
|
|
73
|
+
VueUiThermometer: t(() => import("./vue-ui-thermometer-M2kdp1x5.js")),
|
|
74
|
+
VueUiTiremarks: t(() => import("./vue-ui-tiremarks-JFv4JLP0.js")),
|
|
75
|
+
VueUiTreemap: t(() => import("./vue-ui-treemap-DCnv-xYr.js")),
|
|
76
|
+
VueUiVerticalBar: t(() => import("./vue-ui-vertical-bar-CEbApJZl.js")),
|
|
77
|
+
VueUiWaffle: t(() => import("./vue-ui-waffle-CTS6C7gu.js")),
|
|
78
|
+
VueUiWheel: t(() => import("./vue-ui-wheel-_zyCdFiI.js")),
|
|
79
|
+
VueUiXy: t(() => import("./vue-ui-xy-DsvN9EIQ.js")),
|
|
80
|
+
VueUiTableHeatmap: t(() => import("./vue-ui-table-heatmap-Cro2etCY.js")),
|
|
81
|
+
VueUiAccordion: t(() => import("./vue-ui-accordion-HJPf7My0.js")),
|
|
82
|
+
VueUiQuickChart: t(() => import("./vue-ui-quick-chart-LXKfaJgS.js")),
|
|
83
|
+
VueUiCursor: t(() => import("./vue-ui-cursor-C96IChA3.js")),
|
|
84
|
+
VueUiSparkTrend: t(() => import("./vue-ui-spark-trend-CLXZDYlk.js")),
|
|
85
|
+
VueUiStripPlot: t(() => import("./vue-ui-strip-plot-DJJ1vEWz.js")),
|
|
86
|
+
VueUiDumbbell: t(() => import("./vue-ui-dumbbell-DIsDnD1d.js")),
|
|
87
|
+
VueUiWordCloud: t(() => import("./vue-ui-word-cloud-RDlXBEAN.js")),
|
|
88
|
+
VueUiXyCanvas: t(() => import("./vue-ui-xy-canvas-Dbcw8-9Q.js")),
|
|
89
|
+
VueUiFlow: t(() => import("./vue-ui-flow-BTivYoGd.js")),
|
|
90
|
+
VueUiParallelCoordinatePlot: t(() => import("./vue-ui-parallel-coordinate-plot-BGtO2P4a.js")),
|
|
91
|
+
VueUiTimer: t(() => import("./vue-ui-timer-CAaQ-QD6.js"))
|
|
92
|
+
}, G = {
|
|
93
|
+
VueUi3dBar: ["config", "dataset"],
|
|
94
|
+
VueUiAgePyramid: ["config", "dataset"],
|
|
95
|
+
VueUiAnnotator: ["config", "dataset"],
|
|
96
|
+
VueUiCandlestick: ["config", "dataset"],
|
|
97
|
+
VueUiChestnut: ["config", "dataset"],
|
|
98
|
+
VueUiDashboard: ["config", "dataset"],
|
|
99
|
+
VueUiDigits: ["config", "dataset"],
|
|
100
|
+
VueUiDonut: ["config", "dataset"],
|
|
101
|
+
VueUiDonutEvolution: ["config", "dataset"],
|
|
102
|
+
VueUiGalaxy: ["config", "dataset"],
|
|
103
|
+
VueUiGauge: ["config", "dataset"],
|
|
104
|
+
VueUiHeatmap: ["config", "dataset"],
|
|
105
|
+
VueUiKpi: ["config", "dataset"],
|
|
106
|
+
VueUiMiniLoader: ["config"],
|
|
107
|
+
VueUiMolecule: ["config", "dataset"],
|
|
108
|
+
VueUiMoodRadar: ["config", "dataset"],
|
|
109
|
+
VueUiNestedDonuts: ["config", "dataset"],
|
|
110
|
+
VueUiOnion: ["config", "dataset"],
|
|
111
|
+
VueUiQuadrant: ["config", "dataset"],
|
|
112
|
+
VueUiRadar: ["config", "dataset"],
|
|
113
|
+
VueUiRating: ["config", "dataset"],
|
|
114
|
+
VueUiRelationCircle: ["config", "dataset"],
|
|
115
|
+
VueUiRings: ["config", "dataset"],
|
|
116
|
+
VueUiScatter: ["config", "dataset"],
|
|
117
|
+
VueUiScreenshot: ["config"],
|
|
118
|
+
VueUiSkeleton: ["config"],
|
|
119
|
+
VueUiSmiley: ["config", "dataset"],
|
|
120
|
+
VueUiSparkbar: ["config", "dataset"],
|
|
121
|
+
VueUiSparkgauge: ["config", "dataset"],
|
|
122
|
+
VueUiSparkHistogram: ["config", "dataset"],
|
|
123
|
+
VueUiSparkline: ["config", "dataset"],
|
|
124
|
+
VueUiSparkStackbar: ["config", "dataset"],
|
|
125
|
+
VueUiTable: ["config", "dataset"],
|
|
126
|
+
VueUiTableSparkline: ["config", "dataset"],
|
|
127
|
+
VueUiThermometer: ["config", "dataset"],
|
|
128
|
+
VueUiTiremarks: ["config", "dataset"],
|
|
129
|
+
VueUiTreemap: ["config", "dataset"],
|
|
130
|
+
VueUiVerticalBar: ["config", "dataset"],
|
|
131
|
+
VueUiWaffle: ["config", "dataset"],
|
|
132
|
+
VueUiWheel: ["config", "dataset"],
|
|
133
|
+
VueUiXy: ["config", "dataset"],
|
|
134
|
+
VueUiTableHeatmap: ["config", "dataset"],
|
|
135
|
+
VueUiAccordion: ["config"],
|
|
136
|
+
VueUiQuickChart: ["config", "dataset"],
|
|
137
|
+
VueUiCursor: ["config"],
|
|
138
|
+
VueUiSparkTrend: ["config", "dataset"],
|
|
139
|
+
VueUiStripPlot: ["config", "dataset"],
|
|
140
|
+
VueUiDumbbell: ["config", "dataset"],
|
|
141
|
+
VueUiWordCloud: ["config", "dataset"],
|
|
142
|
+
VueUiXyCanvas: ["config", "dataset"],
|
|
143
|
+
VueUiFlow: ["config", "dataset"],
|
|
144
|
+
VueUiParallelCoordinatePlot: ["config", "dataset"],
|
|
145
|
+
VueUiTimer: ["config"]
|
|
146
|
+
}, g = c(() => !u[r.component]), Q = c(() => u[r.component] || null), a = o(null), $ = c(() => {
|
|
147
|
+
const e = G[r.component] || [], i = {};
|
|
148
|
+
return e.includes("config") && (i.config = X.value), e.includes("dataset") && (i.dataset = W.value), i;
|
|
149
|
+
}), p = o(() => null), d = o(() => null), m = 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), P = o(() => null), D = o(() => null), x = o(() => null), A = o(() => null), L = o(() => null), I = o(() => null);
|
|
150
|
+
z(() => {
|
|
151
|
+
if (g.value)
|
|
152
|
+
throw new Error(`
|
|
153
|
+
|
|
154
|
+
Vue Data UI exception:
|
|
155
|
+
The provided component "${r.component}" does not exist. Check the spelling.
|
|
156
|
+
|
|
157
|
+
Available components:
|
|
158
|
+
|
|
159
|
+
${Object.keys(u).map((e) => `. ${e}
|
|
160
|
+
`).join("")}`);
|
|
161
|
+
}), _(a, async (e) => {
|
|
162
|
+
e && (e.generatePdf && (p.value = e.generatePdf), e.generateImage && (m.value = e.generateImage), e.generateCsv && (d.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 && (P.value = e.toggleTooltip), e.start && (D.value = e.start), e.pause && (x.value = e.pause), e.reset && (A.value = e.reset), e.restart && (L.value = e.restart), e.lap && (I.value = e.lap));
|
|
163
|
+
});
|
|
164
|
+
const j = () => {
|
|
165
|
+
const e = [
|
|
166
|
+
"selectLegend",
|
|
167
|
+
"selectDatapoint",
|
|
168
|
+
"toggleOpenState",
|
|
169
|
+
"saveAnnotations",
|
|
170
|
+
"selectRoot",
|
|
171
|
+
"selectBranch",
|
|
172
|
+
"selectNut",
|
|
173
|
+
"change",
|
|
174
|
+
"selectPlot",
|
|
175
|
+
"selectSide",
|
|
176
|
+
"rate",
|
|
177
|
+
"postImage",
|
|
178
|
+
"hoverIndex",
|
|
179
|
+
"selectX",
|
|
180
|
+
"toggleLock",
|
|
181
|
+
"toggleTooltip",
|
|
182
|
+
"start",
|
|
183
|
+
"pause",
|
|
184
|
+
"reset",
|
|
185
|
+
"restart",
|
|
186
|
+
"lap"
|
|
187
|
+
], i = {};
|
|
188
|
+
return e.forEach((l) => {
|
|
189
|
+
i[l] = (...s) => F(l, ...s);
|
|
190
|
+
}), i;
|
|
191
|
+
}, n = J([]);
|
|
192
|
+
return _([n, a], () => {
|
|
193
|
+
if (a.value)
|
|
194
|
+
for (; n.length; ) {
|
|
195
|
+
const [e, ...i] = n.shift();
|
|
196
|
+
typeof a.value[e] == "function" && a.value[e](...i);
|
|
197
|
+
}
|
|
198
|
+
}), N({
|
|
199
|
+
getData: (...e) => a.value && typeof a.value.getData == "function" ? a.value.getData() : n.push(["getData", ...e]),
|
|
200
|
+
generatePdf: p,
|
|
201
|
+
generateCsv: d,
|
|
202
|
+
generateImage: m,
|
|
203
|
+
getItemsPositions: V,
|
|
204
|
+
toggleReadonly: U,
|
|
205
|
+
shoot: f,
|
|
206
|
+
close: v,
|
|
207
|
+
restoreOrder: h,
|
|
208
|
+
recalculateHeight: k,
|
|
209
|
+
toggleLock: S,
|
|
210
|
+
toggleTable: y,
|
|
211
|
+
toggleLabels: T,
|
|
212
|
+
toggleSort: b,
|
|
213
|
+
toggleStack: C,
|
|
214
|
+
toggleTooltip: P,
|
|
215
|
+
start: D,
|
|
216
|
+
pause: x,
|
|
217
|
+
reset: A,
|
|
218
|
+
restart: L,
|
|
219
|
+
lap: I
|
|
220
|
+
}), (e, i) => g.value ? (E(), Y("div", ge, [
|
|
221
|
+
Z("div", pe, [
|
|
222
|
+
R(ce, {
|
|
223
|
+
name: "moodFlat",
|
|
224
|
+
stroke: "#FF0000"
|
|
225
|
+
})
|
|
226
|
+
]),
|
|
227
|
+
H(' The provided component "' + B(w(M)) + '" does not exist ', 1)
|
|
228
|
+
])) : (E(), ee(te(Q.value), oe({
|
|
229
|
+
key: 1,
|
|
230
|
+
ref_key: "currentComponentRef",
|
|
231
|
+
ref: a
|
|
232
|
+
}, $.value, ae(j())), ie({ _: 2 }, [
|
|
233
|
+
re(e.$slots, (l, s) => ({
|
|
234
|
+
name: s,
|
|
235
|
+
fn: ne((K) => [
|
|
236
|
+
le(e.$slots, s, se(ue(K)), () => [
|
|
237
|
+
H(B(l), 1)
|
|
238
|
+
])
|
|
239
|
+
])
|
|
240
|
+
}))
|
|
241
|
+
]), 1040));
|
|
242
|
+
}
|
|
243
|
+
};
|
|
244
|
+
export {
|
|
245
|
+
Ve as default
|
|
246
|
+
};
|
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-p5gfZSvB.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.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,64 @@
|
|
|
1
|
-
import
|
|
1
|
+
import "vue";
|
|
2
|
+
import { Z as s, _ as u, $ as V, a0 as U, a1 as r, a2 as t, a3 as o, a4 as l, a5 as n, a6 as d, a7 as m, a8 as p, a9 as S, aa as g, ab as c, ac as k, ad as C, ae as T, af as D, ag as b, ah as h, ai as P, aj as f, ak as y, al as R, am as A, an as x, ao as H, ap as M, aq as W, ar as v, as as w, at as B, au as F, av as G, aw as Q, ax as E, ay as I, az as K, aA as L, aB as N, aC as O, aD as X, aE as j, aF as q, aG as z, aH as J, aI as Z, aJ as _, aK as $, aL as Y, aM as aa, aN as ea, aO as ia, aP as sa, aQ as ua, S as Va, aR as Ua, aS as ra, aT as ta } from "./index-uOtklCCx.js";
|
|
2
3
|
export {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
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
|
-
|
|
4
|
+
s as Arrow,
|
|
5
|
+
u as VueDataUi,
|
|
6
|
+
V as VueUi3dBar,
|
|
7
|
+
U as VueUiAccordion,
|
|
8
|
+
r as VueUiAgePyramid,
|
|
9
|
+
t as VueUiAnnotator,
|
|
10
|
+
o as VueUiCandlestick,
|
|
11
|
+
l as VueUiChestnut,
|
|
12
|
+
n as VueUiCursor,
|
|
13
|
+
d as VueUiDashboard,
|
|
14
|
+
m as VueUiDigits,
|
|
15
|
+
p as VueUiDonut,
|
|
16
|
+
S as VueUiDonutEvolution,
|
|
17
|
+
g as VueUiDumbbell,
|
|
18
|
+
c as VueUiFlow,
|
|
19
|
+
k as VueUiGalaxy,
|
|
20
|
+
C as VueUiGauge,
|
|
21
|
+
T as VueUiHeatmap,
|
|
22
|
+
D as VueUiIcon,
|
|
23
|
+
b as VueUiKpi,
|
|
24
|
+
h as VueUiMiniLoader,
|
|
25
|
+
P as VueUiMolecule,
|
|
26
|
+
f as VueUiMoodRadar,
|
|
27
|
+
y as VueUiNestedDonuts,
|
|
28
|
+
R as VueUiOnion,
|
|
29
|
+
A as VueUiParallelCoordinatePlot,
|
|
30
|
+
x as VueUiQuadrant,
|
|
31
|
+
H as VueUiQuickChart,
|
|
32
|
+
M as VueUiRadar,
|
|
33
|
+
W as VueUiRating,
|
|
34
|
+
v as VueUiRelationCircle,
|
|
35
|
+
w as VueUiRings,
|
|
36
|
+
B as VueUiScatter,
|
|
37
|
+
F as VueUiScreenshot,
|
|
38
|
+
G as VueUiSkeleton,
|
|
39
|
+
Q as VueUiSmiley,
|
|
40
|
+
E as VueUiSparkHistogram,
|
|
41
|
+
I as VueUiSparkStackbar,
|
|
42
|
+
K as VueUiSparkTrend,
|
|
43
|
+
L as VueUiSparkbar,
|
|
44
|
+
N as VueUiSparkgauge,
|
|
45
|
+
O as VueUiSparkline,
|
|
46
|
+
X as VueUiStripPlot,
|
|
47
|
+
j as VueUiTable,
|
|
48
|
+
q as VueUiTableHeatmap,
|
|
49
|
+
z as VueUiTableSparkline,
|
|
50
|
+
J as VueUiThermometer,
|
|
51
|
+
Z as VueUiTimer,
|
|
52
|
+
_ as VueUiTiremarks,
|
|
53
|
+
$ as VueUiTreemap,
|
|
54
|
+
Y as VueUiVerticalBar,
|
|
55
|
+
aa as VueUiWaffle,
|
|
56
|
+
ea as VueUiWheel,
|
|
57
|
+
ia as VueUiWordCloud,
|
|
58
|
+
sa as VueUiXy,
|
|
59
|
+
ua as VueUiXyCanvas,
|
|
60
|
+
Va as createWordCloudDatasetFromPlainText,
|
|
61
|
+
Ua as getPalette,
|
|
62
|
+
ra as getThemeConfig,
|
|
63
|
+
ta as getVueDataUiConfig
|
|
63
64
|
};
|