vue-data-ui 3.7.16 → 3.8.0
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 +49 -43
- package/dist/{Arrow-9T8aUCDR.js → Arrow-pvqmWZAQ.js} +1 -1
- package/dist/{BaseDraggableDialog-CtB38kJq.js → BaseDraggableDialog-BYwNgX3M.js} +2 -2
- package/dist/{BaseIcon--wNsuYtd.js → BaseIcon-CALhpING.js} +5 -3
- package/dist/{ColorPicker-CsQ_h1jK.js → ColorPicker-B_9b0REv.js} +2 -2
- package/dist/{DataTable-DRZJOlJB.js → DataTable-Ca1twcf7.js} +2 -2
- package/dist/{Legend-DSyOOSJ1.js → Legend-Djkw4FGq.js} +2 -2
- package/dist/{NonSvgPenAndPaper-C_uUSM9z.js → NonSvgPenAndPaper-DCQPVA4M.js} +3 -3
- package/dist/{PackageVersion-BW9_gimf.js → PackageVersion-B9RA2_BM.js} +1 -1
- package/dist/{PenAndPaper-CMmG5Mka.js → PenAndPaper-DscVdZ1u.js} +3 -3
- package/dist/{Shape-rPzC8L-O.js → Shape-BEGGcaL8.js} +1 -1
- package/dist/{Slicer-BJ0Jqa6a.js → Slicer-DaUi0o8i.js} +2 -2
- package/dist/{SlicerPreview-BWl4UOqy.js → SlicerPreview-Bk-h_ANq.js} +2 -2
- package/dist/{SparkTooltip-reDvtQYF.js → SparkTooltip-BWdCP-h3.js} +1 -1
- package/dist/{Title-CM2dM0rQ.js → Title-CgkWUXeV.js} +1 -1
- package/dist/{Tooltip-De7i-i20.js → Tooltip-OHx7yHlS.js} +1 -1
- package/dist/{UserOptions-5GYBcJJU.js → UserOptions-ChRXLqps.js} +2 -2
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +5 -0
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/{dom-to-png-BG68zYm5.js → dom-to-png-VQEAYRVr.js} +1 -1
- package/dist/{img-BYzbY8TZ.js → img-CwrkWkkl.js} +1 -1
- package/dist/{lib-DUaaQGCv.js → lib-qMPkcvmh.js} +194 -179
- package/dist/{pdf--SSvtzbF.js → pdf-BMMrFX8S.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +143 -5
- package/dist/types/vue-ui-dag.d.ts +16 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-DBJqy2aF.js → useAutoSizeLabelsInsideViewbox-CY90KinM.js} +1 -1
- package/dist/{useNestedProp-CoXaJ2T6.js → useNestedProp-DOOBu_sL.js} +267 -184
- package/dist/usePanZoom-DMfuOfaC.js +135 -0
- package/dist/{usePrinter-BdVu83IN.js → usePrinter-CjGh4mFJ.js} +2 -2
- package/dist/vue-data-ui-BgQPEjgE.js +351 -0
- package/dist/vue-data-ui.js +202 -216
- package/dist/{vue-ui-3d-bar--XbxxtdU.js → vue-ui-3d-bar-BHcSmBFt.js} +6 -6
- package/dist/{vue-ui-accordion-WOXCCkiC.js → vue-ui-accordion-BWfQ8Imt.js} +3 -3
- package/dist/{vue-ui-age-pyramid-oJ-yVno1.js → vue-ui-age-pyramid-CKtsF5IW.js} +25 -25
- package/dist/{vue-ui-annotator-DmX0nJap.js → vue-ui-annotator-DQmmDTg7.js} +7 -7
- package/dist/{vue-ui-bullet-BSexyA7e.js → vue-ui-bullet-CZKHPSsG.js} +7 -7
- package/dist/{vue-ui-candlestick-Cn0FCDdN.js → vue-ui-candlestick-DW7yeLnE.js} +39 -39
- package/dist/{vue-ui-carousel-table-HJewuQDB.js → vue-ui-carousel-table-Bv0TZYW1.js} +4 -4
- package/dist/{vue-ui-chestnut-jpnadZPu.js → vue-ui-chestnut-BUqGBycr.js} +5 -5
- package/dist/{vue-ui-chord-DtAB5se2.js → vue-ui-chord-Awtzhq_0.js} +8 -8
- package/dist/{vue-ui-circle-pack-BTbgkyJ2.js → vue-ui-circle-pack-WTa2Mj2O.js} +37 -37
- package/dist/{vue-ui-cursor-DgWumfhl.js → vue-ui-cursor-D6_m463R.js} +3 -3
- package/dist/vue-ui-dag-tle30Ehr.js +2727 -0
- package/dist/{vue-ui-dashboard-BnAUQtnC.js → vue-ui-dashboard-BLgMwKmT.js} +68 -68
- package/dist/{vue-ui-digits-ByiQlK70.js → vue-ui-digits-DIZ8pi6C.js} +2 -2
- package/dist/{vue-ui-donut-CKSt_cq4.js → vue-ui-donut-DY8Q-PAg.js} +88 -88
- package/dist/{vue-ui-donut-evolution-DvdTGB7S.js → vue-ui-donut-evolution-DGnq03PX.js} +85 -85
- package/dist/{vue-ui-dumbbell-Injrp_b4.js → vue-ui-dumbbell-xRMH2Mlv.js} +33 -33
- package/dist/{vue-ui-flow-bbLDmA3Q.js → vue-ui-flow-C0a8rOyT.js} +42 -42
- package/dist/{vue-ui-funnel-B9iC-gYh.js → vue-ui-funnel-D6krkF1a.js} +19 -19
- package/dist/{vue-ui-galaxy-SMeufYzr.js → vue-ui-galaxy-BCkJt9OE.js} +59 -59
- package/dist/{vue-ui-gauge-FMuSlHqG.js → vue-ui-gauge-BaH-VYAi.js} +25 -25
- package/dist/{vue-ui-gizmo-0B3wKFgG.js → vue-ui-gizmo-BnCONs1t.js} +3 -3
- package/dist/{vue-ui-heatmap-BxztC6jw.js → vue-ui-heatmap-BYoD6XaS.js} +67 -67
- package/dist/{vue-ui-history-plot-D_qkv6IS.js → vue-ui-history-plot-BZBtIBsY.js} +43 -43
- package/dist/{vue-ui-horizontal-bar-BhTVXhQB.js → vue-ui-horizontal-bar-DsDDKUa6.js} +69 -69
- package/dist/{vue-ui-kpi-DvCTUXWh.js → vue-ui-kpi-Dn750UNZ.js} +3 -3
- package/dist/{vue-ui-mini-loader-BjT-X5O8.js → vue-ui-mini-loader-44NP38K0.js} +2 -2
- package/dist/{vue-ui-molecule-CazE9-Nk.js → vue-ui-molecule-C994_mOK.js} +53 -53
- package/dist/{vue-ui-mood-radar-vrciNRi0.js → vue-ui-mood-radar-BI2SAtcM.js} +7 -7
- package/dist/{vue-ui-nested-donuts-BAcHknTn.js → vue-ui-nested-donuts-CSF_bA-I.js} +38 -38
- package/dist/{vue-ui-onion-DgmiBf_W.js → vue-ui-onion-L5ULuI3B.js} +38 -38
- package/dist/{vue-ui-parallel-coordinate-plot-CdvrCiVK.js → vue-ui-parallel-coordinate-plot-CYetuoa5.js} +43 -43
- package/dist/{vue-ui-quadrant-C1GEbyIm.js → vue-ui-quadrant-Diwm1-e6.js} +8 -8
- package/dist/{vue-ui-quick-chart-DL9GV0J3.js → vue-ui-quick-chart-YBj4Iyk6.js} +51 -51
- package/dist/{vue-ui-radar-B4DfCpS5.js → vue-ui-radar-D76Mi-4u.js} +41 -41
- package/dist/{vue-ui-rating-CyJYLx9l.js → vue-ui-rating-CJjSt6-z.js} +2 -2
- package/dist/{vue-ui-relation-circle-Dm8wLlBa.js → vue-ui-relation-circle-BlYazckd.js} +19 -19
- package/dist/{vue-ui-ridgeline-E2EPeaJ7.js → vue-ui-ridgeline-DW8JqGxN.js} +8 -8
- package/dist/{vue-ui-rings-DnlHsA26.js → vue-ui-rings-De3shW_r.js} +37 -37
- package/dist/{vue-ui-scatter-DuKgh9Zo.js → vue-ui-scatter-oDhPqRJq.js} +8 -8
- package/dist/{vue-ui-skeleton-BhWvFc3O.js → vue-ui-skeleton-BUIXG_mY.js} +3 -3
- package/dist/{vue-ui-smiley-BkXC5UFE.js → vue-ui-smiley-Cni8Q56U.js} +2 -2
- package/dist/{vue-ui-spark-trend-DZWSf9JB.js → vue-ui-spark-trend-D1Zt5np6.js} +16 -16
- package/dist/{vue-ui-sparkbar-CqH28hXO.js → vue-ui-sparkbar-CdmXCSnj.js} +3 -3
- package/dist/{vue-ui-sparkgauge-DT_yPxzw.js → vue-ui-sparkgauge-Dn2PQhZj.js} +17 -17
- package/dist/{vue-ui-sparkhistogram-Dv9UjLCt.js → vue-ui-sparkhistogram-nrkglHJk.js} +4 -4
- package/dist/{vue-ui-sparkline-AvAyn0Uv.js → vue-ui-sparkline-tz8fAf2C.js} +31 -31
- package/dist/{vue-ui-sparkstackbar-X_VGCj6T.js → vue-ui-sparkstackbar-BQPSsF5Q.js} +3 -3
- package/dist/{vue-ui-stackbar-DQP8yEJM.js → vue-ui-stackbar-DMO3YIQp.js} +9 -9
- package/dist/{vue-ui-stackline-VLPuuMyW.js → vue-ui-stackline-BQo4KoIK.js} +55 -55
- package/dist/{vue-ui-strip-plot-Tf-eojtF.js → vue-ui-strip-plot-CJpmLgCV.js} +28 -28
- package/dist/{vue-ui-table-Onk8Ep_o.js → vue-ui-table-Cp4ee_1a.js} +5 -5
- package/dist/{vue-ui-table-heatmap-DKJxeQIL.js → vue-ui-table-heatmap-1qpMxFyu.js} +5 -5
- package/dist/{vue-ui-table-sparkline-DgISlLtt.js → vue-ui-table-sparkline-wSJjRJc4.js} +4 -4
- package/dist/{vue-ui-thermometer-BnYdXPWo.js → vue-ui-thermometer-DA8pG0Tr.js} +19 -19
- package/dist/{vue-ui-timer-BWNvvVI8.js → vue-ui-timer-Bc0J-YWP.js} +12 -12
- package/dist/{vue-ui-tiremarks-CW0yee-q.js → vue-ui-tiremarks-DqYsca6Q.js} +6 -6
- package/dist/{vue-ui-treemap-BfY0n0I2.js → vue-ui-treemap-BQsPzEFA.js} +51 -51
- package/dist/{vue-ui-waffle-D9lUh12t.js → vue-ui-waffle-5wkXlR4p.js} +69 -69
- package/dist/{vue-ui-wheel-C-oMzvbq.js → vue-ui-wheel-CkZko1RX.js} +6 -6
- package/dist/{vue-ui-word-cloud-DYrmMP9R.js → vue-ui-word-cloud-52bv_Ba-.js} +41 -41
- package/dist/{vue-ui-world-DAObATdc.js → vue-ui-world-oIyf91PY.js} +6 -6
- package/dist/{vue-ui-xy-D6gFGE5R.js → vue-ui-xy-DIEBv1b8.js} +75 -75
- package/dist/{vue-ui-xy-canvas-B_dtbPQy.js → vue-ui-xy-canvas-pnm8ar87.js} +127 -127
- package/package.json +4 -3
- package/dist/usePanZoom-DZtyJi5q.js +0 -127
- package/dist/vue-data-ui-DOR1SV2J.js +0 -337
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vue-data-ui",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.8.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "A user-empowering data visualization Vue 3 components library for eloquent data storytelling",
|
|
7
7
|
"keywords": [
|
|
@@ -50,7 +50,8 @@
|
|
|
50
50
|
"waffle",
|
|
51
51
|
"wheel",
|
|
52
52
|
"wordcloud",
|
|
53
|
-
"circle packing"
|
|
53
|
+
"circle packing",
|
|
54
|
+
"dag"
|
|
54
55
|
],
|
|
55
56
|
"author": "Alec Lloyd Probert",
|
|
56
57
|
"repository": {
|
|
@@ -110,7 +111,7 @@
|
|
|
110
111
|
"remove-attr": "^0.0.13",
|
|
111
112
|
"sass": "^1.57.1",
|
|
112
113
|
"simple-git": "^3.24.0",
|
|
113
|
-
"vite": "^7.2.
|
|
114
|
+
"vite": "^7.2.6",
|
|
114
115
|
"vitest": "^4.0.13",
|
|
115
116
|
"vue": "^3.5.25"
|
|
116
117
|
}
|
|
@@ -1,127 +0,0 @@
|
|
|
1
|
-
import { ref as h, computed as H, onMounted as I, onUnmounted as W, watchEffect as G, watch as N } from "vue";
|
|
2
|
-
function j(r, C = { x: 0, y: 0, width: 100, height: 100 }, k = 1, d) {
|
|
3
|
-
const i = h({ ...C }), o = h({ ...i.value }), v = h(1), w = h(!1), E = h(!1), g = h(0), D = h(null), f = h({ x: 0, y: 0 }), M = H(
|
|
4
|
-
() => o.value.x !== i.value.x || o.value.y !== i.value.y || o.value.width !== i.value.width || o.value.height !== i.value.height
|
|
5
|
-
);
|
|
6
|
-
let x = null;
|
|
7
|
-
function T(e) {
|
|
8
|
-
if (e.length < 2) return 0;
|
|
9
|
-
const t = e[0].clientX - e[1].clientX, n = e[0].clientY - e[1].clientY;
|
|
10
|
-
return Math.hypot(t, n);
|
|
11
|
-
}
|
|
12
|
-
function L(e) {
|
|
13
|
-
const t = r.value;
|
|
14
|
-
if (!t) return { x: 0, y: 0 };
|
|
15
|
-
const n = t.createSVGPoint();
|
|
16
|
-
n.x = e.clientX, n.y = e.clientY;
|
|
17
|
-
const u = t.getScreenCTM()?.inverse();
|
|
18
|
-
return u ? n.matrixTransform(u) : { x: 0, y: 0 };
|
|
19
|
-
}
|
|
20
|
-
function B(e, t) {
|
|
21
|
-
const n = r.value;
|
|
22
|
-
if (!n) return { dx: 0, dy: 0 };
|
|
23
|
-
const u = Math.max(1, n.clientWidth), l = Math.max(1, n.clientHeight), c = o.value.width / u, s = o.value.height / l;
|
|
24
|
-
return { dx: e * c, dy: t * s };
|
|
25
|
-
}
|
|
26
|
-
function P(e) {
|
|
27
|
-
w.value = !0;
|
|
28
|
-
const t = e.touches?.[0] || e;
|
|
29
|
-
f.value = { x: t.clientX, y: t.clientY }, r.value && (r.value.style.cursor = "grabbing");
|
|
30
|
-
}
|
|
31
|
-
function S(e) {
|
|
32
|
-
if (!w.value) return;
|
|
33
|
-
const t = e.touches?.[0] || e, n = t.clientX - f.value.x, u = t.clientY - f.value.y;
|
|
34
|
-
if (n === 0 && u === 0) return;
|
|
35
|
-
const { dx: l, dy: c } = B(n, u);
|
|
36
|
-
o.value.x -= l, o.value.y -= c, f.value = { x: t.clientX, y: t.clientY };
|
|
37
|
-
}
|
|
38
|
-
function m() {
|
|
39
|
-
w.value = !1, r.value && (r.value.style.cursor = "");
|
|
40
|
-
}
|
|
41
|
-
function Z(e) {
|
|
42
|
-
e.preventDefault();
|
|
43
|
-
const t = e.deltaY > 0 ? 0.9 : 1.1;
|
|
44
|
-
Y(t, L(e));
|
|
45
|
-
}
|
|
46
|
-
function b(e) {
|
|
47
|
-
e.preventDefault();
|
|
48
|
-
const t = L(e), n = 1.02 * (1 + k / 100);
|
|
49
|
-
V(n, t);
|
|
50
|
-
}
|
|
51
|
-
function V(e, t) {
|
|
52
|
-
x && cancelAnimationFrame(x);
|
|
53
|
-
const n = v.value, u = n * e;
|
|
54
|
-
let l = 0;
|
|
55
|
-
const c = (a) => a < 0.5 ? 2 * a * a : -1 + (4 - 2 * a) * a, s = () => {
|
|
56
|
-
l += 0.02;
|
|
57
|
-
const a = n + (u - n) * c(l);
|
|
58
|
-
Y(a / n, t), l < 1 ? x = requestAnimationFrame(s) : x = null;
|
|
59
|
-
};
|
|
60
|
-
s();
|
|
61
|
-
}
|
|
62
|
-
function Y(e, t) {
|
|
63
|
-
const n = v.value * e, u = n / v.value, l = o.value.width / u, c = o.value.height / u, s = (t.x - o.value.x) * (1 - 1 / u), a = (t.y - o.value.y) * (1 - 1 / u);
|
|
64
|
-
o.value.x += s, o.value.y += a, o.value.width = l, o.value.height = c, v.value = n;
|
|
65
|
-
}
|
|
66
|
-
function F(e) {
|
|
67
|
-
e.touches.length === 2 ? (E.value = !0, g.value = T(e.touches), D.value = { ...o.value }) : (e.preventDefault(), P(e));
|
|
68
|
-
}
|
|
69
|
-
function A(e) {
|
|
70
|
-
if (E.value && e.touches.length === 2) {
|
|
71
|
-
e.preventDefault();
|
|
72
|
-
const t = T(e.touches);
|
|
73
|
-
if (g.value) {
|
|
74
|
-
const n = t / g.value;
|
|
75
|
-
r.value.getBoundingClientRect();
|
|
76
|
-
const l = (e.touches[0].clientX + e.touches[1].clientX) / 2, c = (e.touches[0].clientY + e.touches[1].clientY) / 2, s = L({ clientX: l, clientY: c });
|
|
77
|
-
o.value = { ...D.value }, Y(n, s);
|
|
78
|
-
}
|
|
79
|
-
} else
|
|
80
|
-
e.preventDefault(), S(e);
|
|
81
|
-
}
|
|
82
|
-
function y(e) {
|
|
83
|
-
e.touches.length < 2 && (E.value = !1), m();
|
|
84
|
-
}
|
|
85
|
-
function q(e = !1) {
|
|
86
|
-
if (!e) {
|
|
87
|
-
o.value = { ...i.value }, v.value = 1;
|
|
88
|
-
return;
|
|
89
|
-
}
|
|
90
|
-
const t = { ...o.value }, n = v.value, u = 300;
|
|
91
|
-
let l = null;
|
|
92
|
-
const c = (s) => {
|
|
93
|
-
l == null && (l = s);
|
|
94
|
-
const a = Math.min((s - l) / u, 1);
|
|
95
|
-
o.value = {
|
|
96
|
-
x: t.x + (i.value.x - t.x) * a,
|
|
97
|
-
y: t.y + (i.value.y - t.y) * a,
|
|
98
|
-
width: t.width + (i.value.width - t.width) * a,
|
|
99
|
-
height: t.height + (i.value.height - t.height) * a
|
|
100
|
-
}, v.value = n + (1 - n) * a, a < 1 && requestAnimationFrame(c);
|
|
101
|
-
};
|
|
102
|
-
requestAnimationFrame(c);
|
|
103
|
-
}
|
|
104
|
-
function z(e, t = {}) {
|
|
105
|
-
const { overwriteCurrentIfNotZoomed: n = !0 } = t;
|
|
106
|
-
i.value = { ...e }, !M.value && n && (o.value = { ...i.value }, v.value = 1);
|
|
107
|
-
}
|
|
108
|
-
function X() {
|
|
109
|
-
const e = r.value;
|
|
110
|
-
e && (e.addEventListener("mousedown", P), e.addEventListener("mousemove", S), e.addEventListener("mouseup", m), e.addEventListener("mouseleave", m), e.addEventListener("wheel", Z, { passive: !1 }), e.addEventListener("dblclick", b), e.addEventListener("touchstart", F, { passive: !1 }), e.addEventListener("touchmove", A, { passive: !1 }), e.addEventListener("touchend", y), e.addEventListener("touchcancel", y));
|
|
111
|
-
}
|
|
112
|
-
function p() {
|
|
113
|
-
const e = r.value;
|
|
114
|
-
e && (e.removeEventListener("mousedown", P), e.removeEventListener("mousemove", S), e.removeEventListener("mouseup", m), e.removeEventListener("mouseleave", m), e.removeEventListener("wheel", Z), e.removeEventListener("dblclick", b), e.removeEventListener("touchstart", F), e.removeEventListener("touchmove", A), e.removeEventListener("touchend", y), e.removeEventListener("touchcancel", y));
|
|
115
|
-
}
|
|
116
|
-
return I(() => {
|
|
117
|
-
(!d || d.value) && X();
|
|
118
|
-
}), W(p), G(() => {
|
|
119
|
-
if (d)
|
|
120
|
-
return d.value ? X() : p(), () => p();
|
|
121
|
-
}), N(r, () => {
|
|
122
|
-
p(), (!d || d.value) && X();
|
|
123
|
-
}), { viewBox: o, resetZoom: q, isZoom: M, setInitialViewBox: z };
|
|
124
|
-
}
|
|
125
|
-
export {
|
|
126
|
-
j as u
|
|
127
|
-
};
|
|
@@ -1,337 +0,0 @@
|
|
|
1
|
-
import { toRefs as ce, defineAsyncComponent as t, computed as c, ref as o, onMounted as ge, watch as J, shallowReactive as pe, createElementBlock as me, createBlock as d, openBlock as g, normalizeStyle as de, createElementVNode as Ve, createTextVNode as Ue, createCommentVNode as R, toDisplayString as he, resolveDynamicComponent as be, mergeProps as ve, toHandlers as fe, createSlots as Se, renderList as ke, withCtx as ye, renderSlot as Ce, normalizeProps as Te, guardReactiveProps as Pe } from "vue";
|
|
2
|
-
import w from "./BaseIcon--wNsuYtd.js";
|
|
3
|
-
const Ae = { style: { width: "36px" } }, xe = {
|
|
4
|
-
__name: "vue-data-ui",
|
|
5
|
-
props: {
|
|
6
|
-
component: { type: String },
|
|
7
|
-
dataset: { type: [Object, Array, Number, String] },
|
|
8
|
-
config: { type: Object }
|
|
9
|
-
},
|
|
10
|
-
emits: [
|
|
11
|
-
"selectLegend",
|
|
12
|
-
"selectDatapoint",
|
|
13
|
-
"toggleOpenState",
|
|
14
|
-
"saveAnnotations",
|
|
15
|
-
"selectRoot",
|
|
16
|
-
"selectBranch",
|
|
17
|
-
"selectNut",
|
|
18
|
-
"change",
|
|
19
|
-
"selectPlot",
|
|
20
|
-
"selectSide",
|
|
21
|
-
"rate",
|
|
22
|
-
"postImage",
|
|
23
|
-
"hoverIndex",
|
|
24
|
-
"selectX",
|
|
25
|
-
"toggleLock",
|
|
26
|
-
"toggleTooltip",
|
|
27
|
-
"start",
|
|
28
|
-
"play",
|
|
29
|
-
"pause",
|
|
30
|
-
"reset",
|
|
31
|
-
"restart",
|
|
32
|
-
"lap",
|
|
33
|
-
"toggleAnnotator",
|
|
34
|
-
"selectGroup",
|
|
35
|
-
"selectRibbon",
|
|
36
|
-
"toggleTable",
|
|
37
|
-
"resetZoom",
|
|
38
|
-
"showSeries",
|
|
39
|
-
"hideSeries",
|
|
40
|
-
"toggleZoom"
|
|
41
|
-
],
|
|
42
|
-
setup(ee, { expose: te, emit: oe }) {
|
|
43
|
-
const a = ee, { component: De, dataset: ie, config: ae } = ce(a), p = {
|
|
44
|
-
VueUi3dBar: t(() => import("./vue-ui-3d-bar--XbxxtdU.js").then((e) => e.b)),
|
|
45
|
-
VueUiAgePyramid: t(() => import("./vue-ui-age-pyramid-oJ-yVno1.js").then((e) => e.b)),
|
|
46
|
-
VueUiAnnotator: t(() => import("./vue-ui-annotator-DmX0nJap.js")),
|
|
47
|
-
VueUiCandlestick: t(() => import("./vue-ui-candlestick-Cn0FCDdN.js").then((e) => e.b)),
|
|
48
|
-
VueUiChestnut: t(() => import("./vue-ui-chestnut-jpnadZPu.js").then((e) => e.b)),
|
|
49
|
-
VueUiDashboard: t(() => import("./vue-ui-dashboard-BnAUQtnC.js")),
|
|
50
|
-
VueUiDigits: t(() => import("./vue-ui-digits-ByiQlK70.js")),
|
|
51
|
-
VueUiDonut: t(() => import("./vue-ui-donut-CKSt_cq4.js").then((e) => e.a)),
|
|
52
|
-
VueUiDonutEvolution: t(() => import("./vue-ui-donut-evolution-DvdTGB7S.js").then((e) => e.b)),
|
|
53
|
-
VueUiGalaxy: t(() => import("./vue-ui-galaxy-SMeufYzr.js").then((e) => e.b)),
|
|
54
|
-
VueUiGauge: t(() => import("./vue-ui-gauge-FMuSlHqG.js").then((e) => e.b)),
|
|
55
|
-
VueUiHeatmap: t(() => import("./vue-ui-heatmap-BxztC6jw.js").then((e) => e.b)),
|
|
56
|
-
VueUiKpi: t(() => import("./vue-ui-kpi-DvCTUXWh.js")),
|
|
57
|
-
VueUiMiniLoader: t(() => import("./vue-ui-mini-loader-BjT-X5O8.js")),
|
|
58
|
-
VueUiMolecule: t(() => import("./vue-ui-molecule-CazE9-Nk.js").then((e) => e.b)),
|
|
59
|
-
VueUiMoodRadar: t(() => import("./vue-ui-mood-radar-vrciNRi0.js").then((e) => e.b)),
|
|
60
|
-
VueUiNestedDonuts: t(() => import("./vue-ui-nested-donuts-BAcHknTn.js").then((e) => e.b)),
|
|
61
|
-
VueUiOnion: t(() => import("./vue-ui-onion-DgmiBf_W.js").then((e) => e.b)),
|
|
62
|
-
VueUiQuadrant: t(() => import("./vue-ui-quadrant-C1GEbyIm.js").then((e) => e.b)),
|
|
63
|
-
VueUiRadar: t(() => import("./vue-ui-radar-B4DfCpS5.js").then((e) => e.b)),
|
|
64
|
-
VueUiRating: t(() => import("./vue-ui-rating-CyJYLx9l.js")),
|
|
65
|
-
VueUiRelationCircle: t(() => import("./vue-ui-relation-circle-Dm8wLlBa.js").then((e) => e.b)),
|
|
66
|
-
VueUiRings: t(() => import("./vue-ui-rings-DnlHsA26.js").then((e) => e.b)),
|
|
67
|
-
VueUiScatter: t(() => import("./vue-ui-scatter-DuKgh9Zo.js").then((e) => e.b)),
|
|
68
|
-
VueUiSkeleton: t(() => import("./vue-ui-skeleton-BhWvFc3O.js")),
|
|
69
|
-
VueUiSmiley: t(() => import("./vue-ui-smiley-BkXC5UFE.js")),
|
|
70
|
-
VueUiSparkbar: t(() => import("./vue-ui-sparkbar-CqH28hXO.js").then((e) => e.a)),
|
|
71
|
-
VueUiSparkgauge: t(() => import("./vue-ui-sparkgauge-DT_yPxzw.js").then((e) => e.a)),
|
|
72
|
-
VueUiSparkHistogram: t(() => import("./vue-ui-sparkhistogram-Dv9UjLCt.js").then((e) => e.b)),
|
|
73
|
-
VueUiSparkline: t(() => import("./vue-ui-sparkline-AvAyn0Uv.js").then((e) => e.b)),
|
|
74
|
-
VueUiSparkStackbar: t(() => import("./vue-ui-sparkstackbar-X_VGCj6T.js").then((e) => e.b)),
|
|
75
|
-
VueUiTable: t(() => import("./vue-ui-table-Onk8Ep_o.js")),
|
|
76
|
-
VueUiTableSparkline: t(() => import("./vue-ui-table-sparkline-DgISlLtt.js").then((e) => e.b)),
|
|
77
|
-
VueUiThermometer: t(() => import("./vue-ui-thermometer-BnYdXPWo.js").then((e) => e.b)),
|
|
78
|
-
VueUiTiremarks: t(() => import("./vue-ui-tiremarks-CW0yee-q.js").then((e) => e.b)),
|
|
79
|
-
VueUiTreemap: t(() => import("./vue-ui-treemap-BfY0n0I2.js").then((e) => e.b)),
|
|
80
|
-
VueUiVerticalBar: t(() => import("./vue-ui-horizontal-bar-BhTVXhQB.js").then((e) => e.b)),
|
|
81
|
-
// legacy support
|
|
82
|
-
VueUiHorizontalBar: t(() => import("./vue-ui-horizontal-bar-BhTVXhQB.js").then((e) => e.b)),
|
|
83
|
-
// v3 renaming
|
|
84
|
-
VueUiWaffle: t(() => import("./vue-ui-waffle-D9lUh12t.js").then((e) => e.b)),
|
|
85
|
-
VueUiWheel: t(() => import("./vue-ui-wheel-C-oMzvbq.js").then((e) => e.b)),
|
|
86
|
-
VueUiXy: t(() => import("./vue-ui-xy-D6gFGE5R.js").then((e) => e.a)),
|
|
87
|
-
VueUiTableHeatmap: t(() => import("./vue-ui-table-heatmap-DKJxeQIL.js").then((e) => e.b)),
|
|
88
|
-
VueUiAccordion: t(() => import("./vue-ui-accordion-WOXCCkiC.js")),
|
|
89
|
-
VueUiQuickChart: t(() => import("./vue-ui-quick-chart-DL9GV0J3.js").then((e) => e.b)),
|
|
90
|
-
VueUiCursor: t(() => import("./vue-ui-cursor-DgWumfhl.js")),
|
|
91
|
-
VueUiSparkTrend: t(() => import("./vue-ui-spark-trend-DZWSf9JB.js").then((e) => e.b)),
|
|
92
|
-
VueUiStripPlot: t(() => import("./vue-ui-strip-plot-Tf-eojtF.js").then((e) => e.b)),
|
|
93
|
-
VueUiDumbbell: t(() => import("./vue-ui-dumbbell-Injrp_b4.js").then((e) => e.b)),
|
|
94
|
-
VueUiWordCloud: t(() => import("./vue-ui-word-cloud-DYrmMP9R.js").then((e) => e.b)),
|
|
95
|
-
VueUiXyCanvas: t(() => import("./vue-ui-xy-canvas-B_dtbPQy.js").then((e) => e.b)),
|
|
96
|
-
VueUiFlow: t(() => import("./vue-ui-flow-bbLDmA3Q.js").then((e) => e.b)),
|
|
97
|
-
VueUiParallelCoordinatePlot: t(() => import("./vue-ui-parallel-coordinate-plot-CdvrCiVK.js").then((e) => e.b)),
|
|
98
|
-
VueUiTimer: t(() => import("./vue-ui-timer-BWNvvVI8.js")),
|
|
99
|
-
VueUiCarouselTable: t(() => import("./vue-ui-carousel-table-HJewuQDB.js")),
|
|
100
|
-
VueUiGizmo: t(() => import("./vue-ui-gizmo-0B3wKFgG.js")),
|
|
101
|
-
VueUiStackbar: t(() => import("./vue-ui-stackbar-DQP8yEJM.js").then((e) => e.b)),
|
|
102
|
-
VueUiStackline: t(() => import("./vue-ui-stackline-VLPuuMyW.js").then((e) => e.b)),
|
|
103
|
-
VueUiBullet: t(() => import("./vue-ui-bullet-BSexyA7e.js").then((e) => e.b)),
|
|
104
|
-
VueUiFunnel: t(() => import("./vue-ui-funnel-B9iC-gYh.js").then((e) => e.b)),
|
|
105
|
-
VueUiHistoryPlot: t(() => import("./vue-ui-history-plot-D_qkv6IS.js").then((e) => e.b)),
|
|
106
|
-
VueUiCirclePack: t(() => import("./vue-ui-circle-pack-BTbgkyJ2.js").then((e) => e.b)),
|
|
107
|
-
VueUiWorld: t(() => import("./vue-ui-world-DAObATdc.js")),
|
|
108
|
-
VueUiRidgeline: t(() => import("./vue-ui-ridgeline-E2EPeaJ7.js").then((e) => e.b)),
|
|
109
|
-
VueUiChord: t(() => import("./vue-ui-chord-DtAB5se2.js").then((e) => e.b))
|
|
110
|
-
}, ne = {
|
|
111
|
-
VueUi3dBar: ["config", "dataset"],
|
|
112
|
-
VueUiAgePyramid: ["config", "dataset"],
|
|
113
|
-
VueUiAnnotator: ["config", "dataset"],
|
|
114
|
-
VueUiCandlestick: ["config", "dataset"],
|
|
115
|
-
VueUiChestnut: ["config", "dataset"],
|
|
116
|
-
VueUiDashboard: ["config", "dataset"],
|
|
117
|
-
VueUiDigits: ["config", "dataset"],
|
|
118
|
-
VueUiDonut: ["config", "dataset"],
|
|
119
|
-
VueUiDonutEvolution: ["config", "dataset"],
|
|
120
|
-
VueUiGalaxy: ["config", "dataset"],
|
|
121
|
-
VueUiGauge: ["config", "dataset"],
|
|
122
|
-
VueUiHeatmap: ["config", "dataset"],
|
|
123
|
-
VueUiKpi: ["config", "dataset"],
|
|
124
|
-
VueUiMiniLoader: ["config"],
|
|
125
|
-
VueUiMolecule: ["config", "dataset"],
|
|
126
|
-
VueUiMoodRadar: ["config", "dataset"],
|
|
127
|
-
VueUiNestedDonuts: ["config", "dataset"],
|
|
128
|
-
VueUiOnion: ["config", "dataset"],
|
|
129
|
-
VueUiQuadrant: ["config", "dataset"],
|
|
130
|
-
VueUiRadar: ["config", "dataset"],
|
|
131
|
-
VueUiRating: ["config", "dataset"],
|
|
132
|
-
VueUiRelationCircle: ["config", "dataset"],
|
|
133
|
-
VueUiRings: ["config", "dataset"],
|
|
134
|
-
VueUiScatter: ["config", "dataset"],
|
|
135
|
-
VueUiSkeleton: ["config"],
|
|
136
|
-
VueUiSmiley: ["config", "dataset"],
|
|
137
|
-
VueUiSparkbar: ["config", "dataset"],
|
|
138
|
-
VueUiSparkgauge: ["config", "dataset"],
|
|
139
|
-
VueUiSparkHistogram: ["config", "dataset"],
|
|
140
|
-
VueUiSparkline: ["config", "dataset"],
|
|
141
|
-
VueUiSparkStackbar: ["config", "dataset"],
|
|
142
|
-
VueUiTable: ["config", "dataset"],
|
|
143
|
-
VueUiTableSparkline: ["config", "dataset"],
|
|
144
|
-
VueUiThermometer: ["config", "dataset"],
|
|
145
|
-
VueUiTiremarks: ["config", "dataset"],
|
|
146
|
-
VueUiTreemap: ["config", "dataset"],
|
|
147
|
-
VueUiVerticalBar: ["config", "dataset"],
|
|
148
|
-
// delete in v4
|
|
149
|
-
VueUiHorizontalBar: ["config", "dataset"],
|
|
150
|
-
// v3 renaming
|
|
151
|
-
VueUiWaffle: ["config", "dataset"],
|
|
152
|
-
VueUiWheel: ["config", "dataset"],
|
|
153
|
-
VueUiXy: ["config", "dataset"],
|
|
154
|
-
VueUiTableHeatmap: ["config", "dataset"],
|
|
155
|
-
VueUiAccordion: ["config"],
|
|
156
|
-
VueUiQuickChart: ["config", "dataset"],
|
|
157
|
-
VueUiCursor: ["config"],
|
|
158
|
-
VueUiSparkTrend: ["config", "dataset"],
|
|
159
|
-
VueUiStripPlot: ["config", "dataset"],
|
|
160
|
-
VueUiDumbbell: ["config", "dataset"],
|
|
161
|
-
VueUiWordCloud: ["config", "dataset"],
|
|
162
|
-
VueUiXyCanvas: ["config", "dataset"],
|
|
163
|
-
VueUiFlow: ["config", "dataset"],
|
|
164
|
-
VueUiParallelCoordinatePlot: ["config", "dataset"],
|
|
165
|
-
VueUiTimer: ["config"],
|
|
166
|
-
VueUiCarouselTable: ["config", "dataset"],
|
|
167
|
-
VueUiGizmo: ["config", "dataset"],
|
|
168
|
-
VueUiStackbar: ["config", "dataset"],
|
|
169
|
-
VueUiStackline: ["config", "dataset"],
|
|
170
|
-
VueUiBullet: ["config", "dataset"],
|
|
171
|
-
VueUiFunnel: ["config", "dataset"],
|
|
172
|
-
VueUiHistoryPlot: ["config", "dataset"],
|
|
173
|
-
VueUiCirclePack: ["config", "dataset"],
|
|
174
|
-
VueUiWorld: ["config", "dataset"],
|
|
175
|
-
VueUiRidgeline: ["config", "dataset"],
|
|
176
|
-
VueUiChord: ["config", "dataset"]
|
|
177
|
-
}, re = oe, V = c(() => !p[a.component]), le = c(() => p[a.component] || null), r = o(null), se = c(() => {
|
|
178
|
-
const e = ne[a.component] || [], i = {};
|
|
179
|
-
return e.includes("config") && (i.config = ae.value), e.includes("dataset") && (i.dataset = ie.value), i;
|
|
180
|
-
}), U = o(() => null), h = o(() => null), b = o(() => null), v = o(() => null), f = o(() => null), S = o(() => null), k = o(() => null), y = o(() => null), C = o(() => null), T = o(() => null), P = o(() => null), A = o(() => null), D = o(() => null), I = o(() => null), H = o(() => null), x = o(() => null), B = o(() => null), F = o(() => null), L = o(() => null), N = o(() => null), E = o(() => null), G = o(() => null), z = o(() => null), O = o(() => null), Z = o(() => null), _ = o(() => null), $ = o(() => null), M = o(() => null), W = o(() => null), X = o(() => null), j = o(() => null), Q = o(() => null), q = o(() => null);
|
|
181
|
-
ge(() => {
|
|
182
|
-
V.value && console.error(`
|
|
183
|
-
|
|
184
|
-
Vue Data UI exception:
|
|
185
|
-
The provided component "${a.component}" does not exist. Check the spelling.
|
|
186
|
-
|
|
187
|
-
Available components:
|
|
188
|
-
|
|
189
|
-
${Object.keys(p).map((e) => `. ${e}
|
|
190
|
-
`).join("")}`);
|
|
191
|
-
}), J(r, async (e) => {
|
|
192
|
-
e && (e.generatePdf && (U.value = e.generatePdf), e.generateImage && (b.value = e.generateImage), e.generateSvg && (v.value = e.generateSvg), e.generateCsv && (h.value = e.generateCsv), e.getItemsPositions && (f.value = e.getItemsPositions), e.toggleReadonly && (S.value = e.toggleReadonly), e.shoot && (k.value = e.shoot), e.close && (y.value = e.close), e.restoreOrder && (C.value = e.restoreOrder), e.recalculateHeight && (T.value = e.recalculateHeight), e.toggleLock && (P.value = e.toggleLock), e.toggleTable && (A.value = e.toggleTable), e.toggleLabels && (D.value = e.toggleLabels), e.toggleSort && (I.value = e.toggleSort), e.toggleStack && (H.value = e.toggleStack), e.toggleTooltip && (x.value = e.toggleTooltip), e.start && (B.value = e.start), e.pause && (F.value = e.pause), e.reset && (L.value = e.reset), e.restart && (N.value = e.restart), e.lap && (E.value = e.lap), e.toggleAnimation && (G.value = e.toggleAnimation), e.pauseAnimation && (z.value = e.pauseAnimation), e.resumeAnimation && (O.value = e.resumeAnimation), e.toggleAnnotator && (Z.value = e.toggleAnnotator), e.selectNode && (_.value = e.selectNode), e.selectGroup && ($.value = e.selectGroup), e.selectRibbon && (M.value = e.selectRibbon), e.autoSize && (W.value = e.autoSize), e.resetZoom && (X.value = e.resetZoom), e.showSeries && (j.value = e.showSeries), e.hideSeries && (Q.value = e.hideSeries), e.toggleZoom && (q.value = e.toggleZoom));
|
|
193
|
-
});
|
|
194
|
-
const ue = () => {
|
|
195
|
-
const e = [
|
|
196
|
-
"selectLegend",
|
|
197
|
-
"selectDatapoint",
|
|
198
|
-
"toggleOpenState",
|
|
199
|
-
"saveAnnotations",
|
|
200
|
-
"selectRoot",
|
|
201
|
-
"selectBranch",
|
|
202
|
-
"selectNut",
|
|
203
|
-
"change",
|
|
204
|
-
"selectPlot",
|
|
205
|
-
"selectSide",
|
|
206
|
-
"rate",
|
|
207
|
-
"postImage",
|
|
208
|
-
"hoverIndex",
|
|
209
|
-
"selectX",
|
|
210
|
-
"toggleLock",
|
|
211
|
-
"toggleTooltip",
|
|
212
|
-
"start",
|
|
213
|
-
"pause",
|
|
214
|
-
"reset",
|
|
215
|
-
"restart",
|
|
216
|
-
"lap",
|
|
217
|
-
"toggleAnimation",
|
|
218
|
-
"pauseAnimation",
|
|
219
|
-
"resumeAnimation",
|
|
220
|
-
"toggleAnnotator",
|
|
221
|
-
"selectNode",
|
|
222
|
-
"selectGroup",
|
|
223
|
-
"selectRibbon",
|
|
224
|
-
"autoSize",
|
|
225
|
-
"toggleTable",
|
|
226
|
-
"resetZoom",
|
|
227
|
-
"showSeries",
|
|
228
|
-
"hideSeries",
|
|
229
|
-
"toggleZoom"
|
|
230
|
-
], i = {};
|
|
231
|
-
return e.forEach((l) => {
|
|
232
|
-
i[l] = (...n) => re(l, ...n);
|
|
233
|
-
}), i;
|
|
234
|
-
}, m = pe([]);
|
|
235
|
-
function K(e, i) {
|
|
236
|
-
return new Promise((l, n) => {
|
|
237
|
-
m.push({ method: e, args: i, resolve: l, reject: n });
|
|
238
|
-
});
|
|
239
|
-
}
|
|
240
|
-
J(r, (e) => {
|
|
241
|
-
if (e)
|
|
242
|
-
for (; m.length; ) {
|
|
243
|
-
const { method: i, args: l, resolve: n, reject: u } = m.shift(), Y = e[i];
|
|
244
|
-
typeof Y == "function" ? Promise.resolve().then(() => Y(...l)).then(n).catch(u) : u(new Error(`Method ${i} not found on ${a.component}`));
|
|
245
|
-
}
|
|
246
|
-
}), te({
|
|
247
|
-
getData(...e) {
|
|
248
|
-
return r.value?.getData ? r.value.getData(...e) : K("getData", e);
|
|
249
|
-
},
|
|
250
|
-
getImage(e = {}) {
|
|
251
|
-
const { scale: i = 2 } = e;
|
|
252
|
-
return r.value?.getImage ? r.value.getImage({ scale: i }) : K("getImage", [{ scale: i }]);
|
|
253
|
-
},
|
|
254
|
-
autoSize: W,
|
|
255
|
-
generatePdf: U,
|
|
256
|
-
generateCsv: h,
|
|
257
|
-
generateImage: b,
|
|
258
|
-
generateSvg: v,
|
|
259
|
-
getItemsPositions: f,
|
|
260
|
-
toggleReadonly: S,
|
|
261
|
-
shoot: k,
|
|
262
|
-
close: y,
|
|
263
|
-
restoreOrder: C,
|
|
264
|
-
recalculateHeight: T,
|
|
265
|
-
toggleLock: P,
|
|
266
|
-
toggleTable: A,
|
|
267
|
-
toggleLabels: D,
|
|
268
|
-
toggleSort: I,
|
|
269
|
-
toggleStack: H,
|
|
270
|
-
toggleTooltip: x,
|
|
271
|
-
start: B,
|
|
272
|
-
pause: F,
|
|
273
|
-
reset: L,
|
|
274
|
-
restart: N,
|
|
275
|
-
lap: E,
|
|
276
|
-
pauseAnimation: z,
|
|
277
|
-
resumeAnimation: O,
|
|
278
|
-
toggleAnimation: G,
|
|
279
|
-
toggleAnnotator: Z,
|
|
280
|
-
selectNode: _,
|
|
281
|
-
selectGroup: $,
|
|
282
|
-
selectRibbon: M,
|
|
283
|
-
resetZoom: X,
|
|
284
|
-
showSeries: j,
|
|
285
|
-
hideSeries: Q,
|
|
286
|
-
toggleZoom: q
|
|
287
|
-
});
|
|
288
|
-
const s = c(() => {
|
|
289
|
-
let e = `The provided component ${a.component} does not exist.`;
|
|
290
|
-
return ["VueUiIcon", "VueUiPattern", "Arrow"].includes(a.component) ? (e = `${a.component} is not supported by the VueDataUi universal component. You must import it individually.`, console.warn(e), {
|
|
291
|
-
status: "notSupported",
|
|
292
|
-
message: e
|
|
293
|
-
}) : (console.warn(e), {
|
|
294
|
-
status: "unknown",
|
|
295
|
-
message: e
|
|
296
|
-
});
|
|
297
|
-
});
|
|
298
|
-
return (e, i) => V.value ? (g(), me("div", {
|
|
299
|
-
key: 0,
|
|
300
|
-
style: de({
|
|
301
|
-
width: "100%",
|
|
302
|
-
display: "flex",
|
|
303
|
-
gap: "6px",
|
|
304
|
-
alignItems: "center",
|
|
305
|
-
color: s.value.status === "notSupported" ? "#FF9000" : "#FF0000"
|
|
306
|
-
})
|
|
307
|
-
}, [
|
|
308
|
-
Ve("div", Ae, [
|
|
309
|
-
s.value.status === "unknown" ? (g(), d(w, {
|
|
310
|
-
key: 0,
|
|
311
|
-
name: "moodFlat",
|
|
312
|
-
stroke: "#FF0000"
|
|
313
|
-
})) : R("", !0),
|
|
314
|
-
s.value.status === "notSupported" ? (g(), d(w, {
|
|
315
|
-
key: 1,
|
|
316
|
-
name: "circleExclamation",
|
|
317
|
-
stroke: "#FF9000"
|
|
318
|
-
})) : R("", !0)
|
|
319
|
-
]),
|
|
320
|
-
Ue(" " + he(s.value.message), 1)
|
|
321
|
-
], 4)) : (g(), d(be(le.value), ve({
|
|
322
|
-
key: 1,
|
|
323
|
-
ref_key: "currentComponentRef",
|
|
324
|
-
ref: r
|
|
325
|
-
}, se.value, fe(ue())), Se({ _: 2 }, [
|
|
326
|
-
ke(e.$slots, (l, n) => ({
|
|
327
|
-
name: n,
|
|
328
|
-
fn: ye((u) => [
|
|
329
|
-
Ce(e.$slots, n, Te(Pe(u)))
|
|
330
|
-
])
|
|
331
|
-
}))
|
|
332
|
-
]), 1040));
|
|
333
|
-
}
|
|
334
|
-
};
|
|
335
|
-
export {
|
|
336
|
-
xe as default
|
|
337
|
-
};
|