vue-data-ui 3.0.0-next.0 → 3.0.0-next.2

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.
Files changed (102) hide show
  1. package/README.md +108 -67
  2. package/dist/{Arrow-CzFtSJ1v.js → Arrow-Dck2Ea5K.js} +1 -1
  3. package/dist/{BaseDraggableDialog-0S5xhs2P.js → BaseDraggableDialog-CatHZ1ns.js} +2 -2
  4. package/dist/{BaseIcon-DoDjTdD5.js → BaseIcon-BmZ4MREl.js} +1 -1
  5. package/dist/{ColorPicker-BGRchgqQ.js → ColorPicker-C1MXyD9Q.js} +2 -2
  6. package/dist/{DataTable-BBbOgI-a.js → DataTable-CgL0Rz0x.js} +2 -2
  7. package/dist/{Legend-Q4bOb-Nf.js → Legend-CYbP3Kfg.js} +12 -11
  8. package/dist/{NonSvgPenAndPaper-DNKRvsBB.js → NonSvgPenAndPaper-CcbcJm_U.js} +3 -3
  9. package/dist/{PackageVersion-D0VPY8-5.js → PackageVersion-CAkNkiIG.js} +1 -1
  10. package/dist/{PenAndPaper-DhBJsnob.js → PenAndPaper-Cx1-5zdD.js} +32 -32
  11. package/dist/{Shape-DbsLJ-SE.js → Shape-DBXkGxKt.js} +1 -1
  12. package/dist/{Slicer-DZEFp2GU.js → Slicer-nrMi5hzj.js} +2 -2
  13. package/dist/{SparkTooltip-CoOJR62O.js → SparkTooltip-fNzL4pIU.js} +1 -1
  14. package/dist/{Title-D29apS4l.js → Title-pVYRzQXY.js} +1 -1
  15. package/dist/Tooltip-NwATo4ZJ.js +157 -0
  16. package/dist/{UserOptions-Bdit7AWO.js → UserOptions-DAsRxxrf.js} +137 -129
  17. package/dist/{dom-to-png-BdPIrHOF.js → dom-to-png-BF_4H_6u.js} +1 -1
  18. package/dist/img-ku4zevVD.js +33 -0
  19. package/dist/{index-DMqAxz7R.js → index-BzfnuLnw.js} +1199 -1135
  20. package/dist/pdf-CguiIsUc.js +58 -0
  21. package/dist/style.css +1 -1
  22. package/dist/types/vue-data-ui.d.cts +1051 -217
  23. package/dist/types/vue-data-ui.d.ts +1051 -217
  24. package/dist/useLoading-Bt5Doa8m.js +28 -0
  25. package/dist/{useNestedProp-YgN3FV_8.js → useNestedProp-DorElw91.js} +1 -1
  26. package/dist/{usePrinter-COkTjv6C.js → usePrinter-C9qkgv0r.js} +2 -2
  27. package/dist/vue-data-ui-DQef_oFO.js +314 -0
  28. package/dist/vue-data-ui.js +13 -13
  29. package/dist/{vue-ui-3d-bar-Ojgjl20n.js → vue-ui-3d-bar-DPSamIA-.js} +261 -245
  30. package/dist/{vue-ui-accordion-P6eFHGQp.js → vue-ui-accordion-DgZK-qDz.js} +3 -3
  31. package/dist/{vue-ui-age-pyramid-IcMpAhiw.js → vue-ui-age-pyramid-DVeGKvf9.js} +233 -217
  32. package/dist/{vue-ui-annotator-Bk7d86-x.js → vue-ui-annotator-6ikkK-FK.js} +2 -2
  33. package/dist/{vue-ui-bullet-DCvWbCPk.js → vue-ui-bullet-Bg4hfFk2.js} +172 -156
  34. package/dist/{vue-ui-candlestick-DCf-88Yv.js → vue-ui-candlestick-Bi59FGXn.js} +271 -254
  35. package/dist/{vue-ui-carousel-table-DEsl0XUh.js → vue-ui-carousel-table-DitKhrFT.js} +17 -16
  36. package/dist/{vue-ui-chestnut-Cg10-3wu.js → vue-ui-chestnut-D8wGAZod.js} +419 -403
  37. package/dist/{vue-ui-chord-BWYzR6vf.js → vue-ui-chord-C-uTVCDP.js} +256 -240
  38. package/dist/{vue-ui-circle-pack-CO2Ra2-5.js → vue-ui-circle-pack-CPy6xcxv.js} +230 -214
  39. package/dist/{vue-ui-cursor-BbYHJDbV.js → vue-ui-cursor-Dd7vUd0q.js} +2 -2
  40. package/dist/{vue-ui-dashboard-DkCnNuse.js → vue-ui-dashboard-CKurbu8M.js} +62 -62
  41. package/dist/{vue-ui-digits-DRsphHt2.js → vue-ui-digits-DfdZI11G.js} +2 -2
  42. package/dist/{vue-ui-donut-evolution-B5F2-0bh.js → vue-ui-donut-evolution-CKbLO8yR.js} +370 -357
  43. package/dist/vue-ui-donut-tECBFvud.js +1532 -0
  44. package/dist/{vue-ui-dumbbell-DqqSxoSh.js → vue-ui-dumbbell-DI5Lj3r_.js} +216 -200
  45. package/dist/{vue-ui-flow-CTIcUJgV.js → vue-ui-flow-CjU48s9z.js} +217 -201
  46. package/dist/{vue-ui-funnel-k7KD7Xoc.js → vue-ui-funnel-DM_5vHZ4.js} +213 -197
  47. package/dist/{vue-ui-galaxy-C9EHaP4I.js → vue-ui-galaxy-ocvZgZJx.js} +215 -202
  48. package/dist/{vue-ui-gauge-CBiM_1-n.js → vue-ui-gauge-DajNoY-D.js} +220 -204
  49. package/dist/{vue-ui-gizmo-CAc7b2oK.js → vue-ui-gizmo-DTnzeQbm.js} +3 -3
  50. package/dist/{vue-ui-heatmap-B3ubrP2v.js → vue-ui-heatmap-CfBS8jQe.js} +244 -224
  51. package/dist/{vue-ui-history-plot-XCqccO3b.js → vue-ui-history-plot-BuOPWQoP.js} +268 -252
  52. package/dist/{vue-ui-kpi-DTGMDjaZ.js → vue-ui-kpi-DLGHOIRj.js} +3 -3
  53. package/dist/{vue-ui-mini-loader-Cn_7nvVq.js → vue-ui-mini-loader-CHAHi4c9.js} +2 -2
  54. package/dist/{vue-ui-molecule-BugMXFAK.js → vue-ui-molecule-R5-oDFeW.js} +204 -188
  55. package/dist/{vue-ui-mood-radar-Cv4dHZPL.js → vue-ui-mood-radar-Ddf2gaES.js} +206 -190
  56. package/dist/vue-ui-nested-donuts-CksklV83.js +1177 -0
  57. package/dist/{vue-ui-onion-Bha2hRAb.js → vue-ui-onion-D2n4zUkV.js} +196 -180
  58. package/dist/{vue-ui-parallel-coordinate-plot-DWJ2DWx4.js → vue-ui-parallel-coordinate-plot-CNWQqlxf.js} +194 -178
  59. package/dist/{vue-ui-quadrant-BKHZoTml.js → vue-ui-quadrant-CxNj2FEx.js} +321 -305
  60. package/dist/{vue-ui-quick-chart-D_k3lbU8.js → vue-ui-quick-chart-Bm_VmhJR.js} +347 -331
  61. package/dist/{vue-ui-radar-Co4EOjSk.js → vue-ui-radar-DSYMQJ6K.js} +193 -177
  62. package/dist/{vue-ui-rating-dtNN0EdX.js → vue-ui-rating-BiQpwXnc.js} +2 -2
  63. package/dist/{vue-ui-relation-circle-CR4UpQzM.js → vue-ui-relation-circle-Cdxe78Bm.js} +188 -172
  64. package/dist/{vue-ui-ridgeline-BKX97EnR.js → vue-ui-ridgeline-DpeM2hRi.js} +212 -196
  65. package/dist/{vue-ui-rings-EPTwyt6D.js → vue-ui-rings-BenmQHKv.js} +223 -210
  66. package/dist/{vue-ui-scatter-BlxzblSR.js → vue-ui-scatter-mDMY1H6U.js} +288 -273
  67. package/dist/{vue-ui-skeleton-CjN2ZdgT.js → vue-ui-skeleton-Ch_XkFuP.js} +3 -3
  68. package/dist/{vue-ui-smiley-DdF_ErYG.js → vue-ui-smiley-DTig5lTU.js} +2 -2
  69. package/dist/{vue-ui-spark-trend-RdOlCuT9.js → vue-ui-spark-trend-BkDsp8E0.js} +3 -3
  70. package/dist/{vue-ui-sparkbar-DWufRGcN.js → vue-ui-sparkbar-CgqoyBOm.js} +3 -3
  71. package/dist/{vue-ui-sparkgauge-IP1O3qyT.js → vue-ui-sparkgauge-B4jR_Y62.js} +3 -3
  72. package/dist/{vue-ui-sparkhistogram-Cnv9xZ8H.js → vue-ui-sparkhistogram-DfxjglLy.js} +4 -4
  73. package/dist/{vue-ui-sparkline-CYgeD5V3.js → vue-ui-sparkline-M3QR8xJE.js} +3 -3
  74. package/dist/{vue-ui-sparkstackbar-BCwoK9xd.js → vue-ui-sparkstackbar-B2Ls-Mb8.js} +3 -3
  75. package/dist/{vue-ui-stackbar-CqFIvfrK.js → vue-ui-stackbar-DIHkn6__.js} +497 -474
  76. package/dist/{vue-ui-strip-plot-Dq-kDRai.js → vue-ui-strip-plot-B_ZLbu2D.js} +241 -225
  77. package/dist/{vue-ui-table-vaIdQnPl.js → vue-ui-table-BhymhDOh.js} +3 -3
  78. package/dist/{vue-ui-table-heatmap-U_Td0cdh.js → vue-ui-table-heatmap-DokRh4dS.js} +26 -25
  79. package/dist/{vue-ui-table-sparkline-DkOaHx5L.js → vue-ui-table-sparkline-DxBZGKZJ.js} +8 -7
  80. package/dist/{vue-ui-thermometer-CzckBZgs.js → vue-ui-thermometer-e2L6IdF-.js} +170 -154
  81. package/dist/{vue-ui-timer-DSdUshUs.js → vue-ui-timer-BG2EwK3o.js} +5 -5
  82. package/dist/vue-ui-tiremarks-nzQH7woJ.js +358 -0
  83. package/dist/vue-ui-treemap-CZxyi6fl.js +965 -0
  84. package/dist/{vue-ui-vertical-bar-Dd4sYeAC.js → vue-ui-vertical-bar-DahdX1Sn.js} +382 -360
  85. package/dist/{vue-ui-waffle-DusUVY6y.js → vue-ui-waffle-D399D4UE.js} +234 -221
  86. package/dist/vue-ui-wheel-DtcwtHzJ.js +352 -0
  87. package/dist/{vue-ui-word-cloud-_7uYjJ5A.js → vue-ui-word-cloud-CTDceQsf.js} +249 -233
  88. package/dist/{vue-ui-world-COIyBHII.js → vue-ui-world-BjNSbqMZ.js} +239 -223
  89. package/dist/vue-ui-xy-BkTP-JpK.js +2958 -0
  90. package/dist/{vue-ui-xy-canvas-CuYRyub2.js → vue-ui-xy-canvas-BKAowbe0.js} +447 -431
  91. package/package.json +2 -2
  92. package/dist/Tooltip-hVZUY_s5.js +0 -149
  93. package/dist/img-BeMVTwmF.js +0 -20
  94. package/dist/pdf-DPxOdzfi.js +0 -51
  95. package/dist/useMouse-AicQS8Vf.js +0 -13
  96. package/dist/vue-data-ui-nceqWRts.js +0 -301
  97. package/dist/vue-ui-donut-DSE7ubVv.js +0 -1315
  98. package/dist/vue-ui-nested-donuts-CYe0Are_.js +0 -1154
  99. package/dist/vue-ui-tiremarks-B2WWklqG.js +0 -342
  100. package/dist/vue-ui-treemap-D1dgDhjG.js +0 -952
  101. package/dist/vue-ui-wheel-ClsKBh52.js +0 -336
  102. package/dist/vue-ui-xy-C_OUyzTC.js +0 -3135
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vue-data-ui",
3
3
  "private": false,
4
- "version": "3.0.0-next.0",
4
+ "version": "3.0.0-next.2",
5
5
  "type": "module",
6
6
  "description": "A user-empowering data visualization Vue 3 components library for eloquent data storytelling",
7
7
  "keywords": [
@@ -105,7 +105,7 @@
105
105
  "remove-attr": "^0.0.13",
106
106
  "sass": "^1.57.1",
107
107
  "simple-git": "^3.24.0",
108
- "vite": "^7.0.1",
108
+ "vite": "^7.0.6",
109
109
  "vitest": "^3.2.4",
110
110
  "vue": "^3.5.17"
111
111
  }
@@ -1,149 +0,0 @@
1
- import { ref as m, watch as p, nextTick as g, onUnmounted as S, computed as x, createBlock as k, openBlock as h, Teleport as $, createElementBlock as C, createCommentVNode as F, normalizeStyle as B, normalizeClass as N, renderSlot as v, createElementVNode as w } from "vue";
2
- import { u as z } from "./useMouse-AicQS8Vf.js";
3
- import { s as T } from "./index-DMqAxz7R.js";
4
- function Y({ tooltip: t, chart: n, clientPosition: l, positionPreference: s = "center", defaultOffsetY: d = 24, blockShiftY: u = !1 }) {
5
- const e = m(0), i = m(d);
6
- if (t && n) {
7
- const { width: a, height: c } = t.getBoundingClientRect(), { right: f, left: o, bottom: r } = n.getBoundingClientRect();
8
- s === "center" && (l.x + a / 2 > f ? e.value = -a + (f - l.x) : l.x - a / 2 < o ? e.value = -a + (a - (l.x - o)) : e.value = -a / 2), s === "right" && (l.x + a > f ? e.value = -a + (f - l.x) : e.value = 0), s === "left" && (l.x < o + a ? e.value = -a + (a - (l.x - o)) : e.value = -a), l.y + c > r && !u && (i.value = -c - d);
9
- }
10
- return {
11
- top: l.y + i.value,
12
- left: l.x + e.value
13
- };
14
- }
15
- const M = ["aria-hidden"], O = ["innerHTML"], b = 0.18, E = {
16
- __name: "Tooltip",
17
- props: {
18
- backgroundColor: {
19
- type: String,
20
- default: "#FFFFFF"
21
- },
22
- color: {
23
- type: String,
24
- default: "#000000"
25
- },
26
- content: String,
27
- maxWidth: {
28
- type: String,
29
- default: "300px"
30
- },
31
- parent: {
32
- type: Object
33
- },
34
- show: {
35
- type: Boolean,
36
- default: !1
37
- },
38
- isCustom: {
39
- type: Boolean,
40
- default: !1
41
- },
42
- fontSize: {
43
- type: [Number, String],
44
- default: 14
45
- },
46
- borderRadius: {
47
- type: Number,
48
- default: 4
49
- },
50
- borderColor: {
51
- type: String,
52
- default: "#e1e5e8"
53
- },
54
- borderWidth: {
55
- type: Number,
56
- default: 1
57
- },
58
- backgroundOpacity: {
59
- type: Number,
60
- default: 100
61
- },
62
- position: {
63
- type: String,
64
- default: "center"
65
- },
66
- offsetY: {
67
- type: Number,
68
- default: 24
69
- },
70
- blockShiftY: {
71
- type: Boolean,
72
- default: !1
73
- },
74
- isFullscreen: {
75
- type: Boolean,
76
- default: !1
77
- },
78
- disableSmoothing: {
79
- type: Boolean,
80
- default: !1
81
- }
82
- },
83
- setup(t) {
84
- const n = t, l = m(null), { x: s, y: d } = z(n.parent), u = m({ x: 0, y: 0 }), e = m({ x: 0, y: 0 });
85
- let i = null;
86
- function a() {
87
- if (n.disableSmoothing) {
88
- e.value.x = u.value.x, e.value.y = u.value.y;
89
- return;
90
- }
91
- e.value.x += (u.value.x - e.value.x) * b, e.value.y += (u.value.y - e.value.y) * b, i = requestAnimationFrame(a);
92
- }
93
- p([s, d], ([o, r]) => {
94
- u.value.x = o, u.value.y = r, n.disableSmoothing && (e.value.x = o, e.value.y = r);
95
- }), p(() => n.show, async (o) => {
96
- if (o) {
97
- const r = s.value, y = d.value;
98
- u.value.x = r, u.value.y = y, e.value.x = r, e.value.y = y, await g(), i || a();
99
- } else
100
- i && (cancelAnimationFrame(i), i = null);
101
- }), S(() => {
102
- i && cancelAnimationFrame(i);
103
- });
104
- const c = x(() => {
105
- const o = Y({
106
- tooltip: l.value,
107
- chart: n.parent,
108
- clientPosition: e.value,
109
- positionPreference: n.position,
110
- defaultOffsetY: n.offsetY,
111
- blockShiftY: n.blockShiftY
112
- });
113
- return {
114
- top: Math.round(o.top),
115
- left: Math.round(o.left)
116
- };
117
- }), f = x(() => T(n.backgroundColor, n.backgroundOpacity));
118
- return (o, r) => (h(), k($, {
119
- to: t.isFullscreen ? t.parent : "body"
120
- }, [
121
- t.show ? (h(), C("div", {
122
- key: 0,
123
- ref_key: "tooltip",
124
- ref: l,
125
- role: "tooltip",
126
- "aria-hidden": !t.show,
127
- "aria-live": "polite",
128
- class: N({ "vue-data-ui-custom-tooltip": t.isCustom, "vue-data-ui-tooltip": !t.isCustom }),
129
- style: B(`
130
- pointer-events:none;
131
- top:${c.value.top}px;
132
- left:${c.value.left}px;
133
- ${t.isCustom ? "" : `background:${f.value};color:${t.color};max-width:${t.maxWidth};font-size:${t.fontSize}px`};
134
- border-radius:${t.borderRadius}px;
135
- border:${t.borderWidth}px solid ${t.borderColor};
136
- z-index:2147483647;
137
- `)
138
- }, [
139
- v(o.$slots, "tooltip-before"),
140
- v(o.$slots, "default"),
141
- w("div", { innerHTML: t.content }, null, 8, O),
142
- v(o.$slots, "tooltip-after")
143
- ], 14, M)) : F("", !0)
144
- ], 8, ["to"]));
145
- }
146
- };
147
- export {
148
- E as default
149
- };
@@ -1,20 +0,0 @@
1
- import { d as a } from "./dom-to-png-BdPIrHOF.js";
2
- async function g({ domElement: t, fileName: c, format: i = "png", scale: o = 2, base64: n = !1 }) {
3
- if (!t) return Promise.reject("No element provided");
4
- if (n)
5
- try {
6
- return a({ container: t, scale: o, base64: n }).then((r) => r);
7
- } catch (r) {
8
- console.error("Error generating the base64 string of the chart", r);
9
- }
10
- else
11
- try {
12
- const r = await a({ container: t, scale: o }), e = document.createElement("a");
13
- e.href = r, e.download = `${c}.${i}`, document.body.appendChild(e), e.click(), document.body.removeChild(e);
14
- } catch (r) {
15
- throw console.error("Error generating image:", r), r;
16
- }
17
- }
18
- export {
19
- g as default
20
- };
@@ -1,51 +0,0 @@
1
- import { d as u } from "./dom-to-png-BdPIrHOF.js";
2
- async function H({ domElement: d, fileName: f, scale: p = 2, options: P = {} }) {
3
- if (!d) return Promise.reject("No domElement provided");
4
- let r;
5
- try {
6
- r = (await import("jspdf")).default;
7
- } catch {
8
- return Promise.reject("jspdf is not installed. Run npm install jspdf");
9
- }
10
- const t = {
11
- width: 595.28,
12
- height: 841.89
13
- }, o = await u({ container: d, scale: p });
14
- return await new Promise((s, w) => {
15
- const e = new window.Image();
16
- e.onload = function() {
17
- const i = e.naturalWidth, h = e.naturalHeight;
18
- let g = t.width, l = t.width / i * h;
19
- const n = new r("", "pt", "a4");
20
- let c = 0, a = h;
21
- const m = i / t.width * t.height;
22
- if (a < m)
23
- n.addImage(
24
- o,
25
- "PNG",
26
- 0,
27
- 0,
28
- g,
29
- l,
30
- "",
31
- "FAST"
32
- );
33
- else
34
- for (; a > 0; )
35
- n.addImage(
36
- o,
37
- "PNG",
38
- 0,
39
- c,
40
- g,
41
- l,
42
- "",
43
- "FAST"
44
- ), a -= m, c -= t.height, a > 0 && n.addPage();
45
- n.save(`${f}.pdf`), s();
46
- }, e.onerror = (i) => w("Failed to load image for PDF: " + i), e.src = o;
47
- });
48
- }
49
- export {
50
- H as default
51
- };
@@ -1,13 +0,0 @@
1
- import { onMounted as u, onUnmounted as s, ref as t } from "vue";
2
- function i(e, n, o) {
3
- u(() => e.addEventListener(n, o)), s(() => e.removeEventListener(n, o));
4
- }
5
- function m() {
6
- const e = t(0), n = t(0);
7
- return i(window, "mousemove", (o) => {
8
- e.value = o.clientX, n.value = o.clientY;
9
- }), { x: e, y: n };
10
- }
11
- export {
12
- m as u
13
- };
@@ -1,301 +0,0 @@
1
- import { toRefs as ot, defineAsyncComponent as e, computed as s, ref as o, onMounted as it, watch as $, shallowReactive as at, createElementBlock as nt, createBlock as m, openBlock as c, normalizeStyle as lt, createElementVNode as rt, createTextVNode as ut, createCommentVNode as X, toDisplayString as st, resolveDynamicComponent as ct, mergeProps as gt, toHandlers as pt, createSlots as mt, renderList as dt, withCtx as Vt, renderSlot as Ut, normalizeProps as ft, guardReactiveProps as vt } from "vue";
2
- import Q from "./BaseIcon-DoDjTdD5.js";
3
- const kt = { style: { width: "36px" } }, yt = {
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
- ],
37
- setup(j, { expose: z, emit: K }) {
38
- const n = j, { component: St, dataset: q, config: Y } = ot(n), g = {
39
- VueUi3dBar: e(() => import("./vue-ui-3d-bar-Ojgjl20n.js")),
40
- VueUiAgePyramid: e(() => import("./vue-ui-age-pyramid-IcMpAhiw.js")),
41
- VueUiAnnotator: e(() => import("./vue-ui-annotator-Bk7d86-x.js")),
42
- VueUiCandlestick: e(() => import("./vue-ui-candlestick-DCf-88Yv.js")),
43
- VueUiChestnut: e(() => import("./vue-ui-chestnut-Cg10-3wu.js")),
44
- VueUiDashboard: e(() => import("./vue-ui-dashboard-DkCnNuse.js")),
45
- VueUiDigits: e(() => import("./vue-ui-digits-DRsphHt2.js")),
46
- VueUiDonut: e(() => import("./vue-ui-donut-DSE7ubVv.js")),
47
- VueUiDonutEvolution: e(() => import("./vue-ui-donut-evolution-B5F2-0bh.js")),
48
- VueUiGalaxy: e(() => import("./vue-ui-galaxy-C9EHaP4I.js")),
49
- VueUiGauge: e(() => import("./vue-ui-gauge-CBiM_1-n.js")),
50
- VueUiHeatmap: e(() => import("./vue-ui-heatmap-B3ubrP2v.js")),
51
- VueUiKpi: e(() => import("./vue-ui-kpi-DTGMDjaZ.js")),
52
- VueUiMiniLoader: e(() => import("./vue-ui-mini-loader-Cn_7nvVq.js")),
53
- VueUiMolecule: e(() => import("./vue-ui-molecule-BugMXFAK.js")),
54
- VueUiMoodRadar: e(() => import("./vue-ui-mood-radar-Cv4dHZPL.js")),
55
- VueUiNestedDonuts: e(() => import("./vue-ui-nested-donuts-CYe0Are_.js")),
56
- VueUiOnion: e(() => import("./vue-ui-onion-Bha2hRAb.js")),
57
- VueUiQuadrant: e(() => import("./vue-ui-quadrant-BKHZoTml.js")),
58
- VueUiRadar: e(() => import("./vue-ui-radar-Co4EOjSk.js")),
59
- VueUiRating: e(() => import("./vue-ui-rating-dtNN0EdX.js")),
60
- VueUiRelationCircle: e(() => import("./vue-ui-relation-circle-CR4UpQzM.js")),
61
- VueUiRings: e(() => import("./vue-ui-rings-EPTwyt6D.js")),
62
- VueUiScatter: e(() => import("./vue-ui-scatter-BlxzblSR.js")),
63
- VueUiSkeleton: e(() => import("./vue-ui-skeleton-CjN2ZdgT.js")),
64
- VueUiSmiley: e(() => import("./vue-ui-smiley-DdF_ErYG.js")),
65
- VueUiSparkbar: e(() => import("./vue-ui-sparkbar-DWufRGcN.js")),
66
- VueUiSparkgauge: e(() => import("./vue-ui-sparkgauge-IP1O3qyT.js")),
67
- VueUiSparkHistogram: e(() => import("./vue-ui-sparkhistogram-Cnv9xZ8H.js")),
68
- VueUiSparkline: e(() => import("./vue-ui-sparkline-CYgeD5V3.js")),
69
- VueUiSparkStackbar: e(() => import("./vue-ui-sparkstackbar-BCwoK9xd.js")),
70
- VueUiTable: e(() => import("./vue-ui-table-vaIdQnPl.js")),
71
- VueUiTableSparkline: e(() => import("./vue-ui-table-sparkline-DkOaHx5L.js")),
72
- VueUiThermometer: e(() => import("./vue-ui-thermometer-CzckBZgs.js")),
73
- VueUiTiremarks: e(() => import("./vue-ui-tiremarks-B2WWklqG.js")),
74
- VueUiTreemap: e(() => import("./vue-ui-treemap-D1dgDhjG.js")),
75
- VueUiVerticalBar: e(() => import("./vue-ui-vertical-bar-Dd4sYeAC.js")),
76
- VueUiWaffle: e(() => import("./vue-ui-waffle-DusUVY6y.js")),
77
- VueUiWheel: e(() => import("./vue-ui-wheel-ClsKBh52.js")),
78
- VueUiXy: e(() => import("./vue-ui-xy-C_OUyzTC.js")),
79
- VueUiTableHeatmap: e(() => import("./vue-ui-table-heatmap-U_Td0cdh.js")),
80
- VueUiAccordion: e(() => import("./vue-ui-accordion-P6eFHGQp.js")),
81
- VueUiQuickChart: e(() => import("./vue-ui-quick-chart-D_k3lbU8.js")),
82
- VueUiCursor: e(() => import("./vue-ui-cursor-BbYHJDbV.js")),
83
- VueUiSparkTrend: e(() => import("./vue-ui-spark-trend-RdOlCuT9.js")),
84
- VueUiStripPlot: e(() => import("./vue-ui-strip-plot-Dq-kDRai.js")),
85
- VueUiDumbbell: e(() => import("./vue-ui-dumbbell-DqqSxoSh.js")),
86
- VueUiWordCloud: e(() => import("./vue-ui-word-cloud-_7uYjJ5A.js")),
87
- VueUiXyCanvas: e(() => import("./vue-ui-xy-canvas-CuYRyub2.js")),
88
- VueUiFlow: e(() => import("./vue-ui-flow-CTIcUJgV.js")),
89
- VueUiParallelCoordinatePlot: e(() => import("./vue-ui-parallel-coordinate-plot-DWJ2DWx4.js")),
90
- VueUiTimer: e(() => import("./vue-ui-timer-DSdUshUs.js")),
91
- VueUiCarouselTable: e(() => import("./vue-ui-carousel-table-DEsl0XUh.js")),
92
- VueUiGizmo: e(() => import("./vue-ui-gizmo-CAc7b2oK.js")),
93
- VueUiStackbar: e(() => import("./vue-ui-stackbar-CqFIvfrK.js")),
94
- VueUiBullet: e(() => import("./vue-ui-bullet-DCvWbCPk.js")),
95
- VueUiFunnel: e(() => import("./vue-ui-funnel-k7KD7Xoc.js")),
96
- VueUiHistoryPlot: e(() => import("./vue-ui-history-plot-XCqccO3b.js")),
97
- VueUiCirclePack: e(() => import("./vue-ui-circle-pack-CO2Ra2-5.js")),
98
- VueUiWorld: e(() => import("./vue-ui-world-COIyBHII.js")),
99
- VueUiRidgeline: e(() => import("./vue-ui-ridgeline-BKX97EnR.js")),
100
- VueUiChord: e(() => import("./vue-ui-chord-BWYzR6vf.js"))
101
- }, J = {
102
- VueUi3dBar: ["config", "dataset"],
103
- VueUiAgePyramid: ["config", "dataset"],
104
- VueUiAnnotator: ["config", "dataset"],
105
- VueUiCandlestick: ["config", "dataset"],
106
- VueUiChestnut: ["config", "dataset"],
107
- VueUiDashboard: ["config", "dataset"],
108
- VueUiDigits: ["config", "dataset"],
109
- VueUiDonut: ["config", "dataset"],
110
- VueUiDonutEvolution: ["config", "dataset"],
111
- VueUiGalaxy: ["config", "dataset"],
112
- VueUiGauge: ["config", "dataset"],
113
- VueUiHeatmap: ["config", "dataset"],
114
- VueUiKpi: ["config", "dataset"],
115
- VueUiMiniLoader: ["config"],
116
- VueUiMolecule: ["config", "dataset"],
117
- VueUiMoodRadar: ["config", "dataset"],
118
- VueUiNestedDonuts: ["config", "dataset"],
119
- VueUiOnion: ["config", "dataset"],
120
- VueUiQuadrant: ["config", "dataset"],
121
- VueUiRadar: ["config", "dataset"],
122
- VueUiRating: ["config", "dataset"],
123
- VueUiRelationCircle: ["config", "dataset"],
124
- VueUiRings: ["config", "dataset"],
125
- VueUiScatter: ["config", "dataset"],
126
- VueUiSkeleton: ["config"],
127
- VueUiSmiley: ["config", "dataset"],
128
- VueUiSparkbar: ["config", "dataset"],
129
- VueUiSparkgauge: ["config", "dataset"],
130
- VueUiSparkHistogram: ["config", "dataset"],
131
- VueUiSparkline: ["config", "dataset"],
132
- VueUiSparkStackbar: ["config", "dataset"],
133
- VueUiTable: ["config", "dataset"],
134
- VueUiTableSparkline: ["config", "dataset"],
135
- VueUiThermometer: ["config", "dataset"],
136
- VueUiTiremarks: ["config", "dataset"],
137
- VueUiTreemap: ["config", "dataset"],
138
- VueUiVerticalBar: ["config", "dataset"],
139
- VueUiWaffle: ["config", "dataset"],
140
- VueUiWheel: ["config", "dataset"],
141
- VueUiXy: ["config", "dataset"],
142
- VueUiTableHeatmap: ["config", "dataset"],
143
- VueUiAccordion: ["config"],
144
- VueUiQuickChart: ["config", "dataset"],
145
- VueUiCursor: ["config"],
146
- VueUiSparkTrend: ["config", "dataset"],
147
- VueUiStripPlot: ["config", "dataset"],
148
- VueUiDumbbell: ["config", "dataset"],
149
- VueUiWordCloud: ["config", "dataset"],
150
- VueUiXyCanvas: ["config", "dataset"],
151
- VueUiFlow: ["config", "dataset"],
152
- VueUiParallelCoordinatePlot: ["config", "dataset"],
153
- VueUiTimer: ["config"],
154
- VueUiCarouselTable: ["config", "dataset"],
155
- VueUiGizmo: ["config", "dataset"],
156
- VueUiStackbar: ["config", "dataset"],
157
- VueUiBullet: ["config", "dataset"],
158
- VueUiFunnel: ["config", "dataset"],
159
- VueUiHistoryPlot: ["config", "dataset"],
160
- VueUiCirclePack: ["config", "dataset"],
161
- VueUiWorld: ["config", "dataset"],
162
- VueUiRidgeline: ["config", "dataset"],
163
- VueUiChord: ["config", "dataset"]
164
- }, Z = K, d = s(() => !g[n.component]), R = s(() => g[n.component] || null), i = o(null), w = s(() => {
165
- const t = J[n.component] || [], a = {};
166
- return t.includes("config") && (a.config = Y.value), t.includes("dataset") && (a.dataset = q.value), a;
167
- }), V = o(() => null), U = o(() => null), f = o(() => null), v = o(() => null), k = o(() => null), S = o(() => null), h = o(() => null), b = o(() => null), y = o(() => null), C = o(() => null), A = o(() => null), T = o(() => null), P = o(() => null), D = o(() => null), x = o(() => null), I = o(() => null), F = o(() => null), H = o(() => null), L = o(() => null), N = o(() => null), B = o(() => null), G = o(() => null), E = o(() => null), _ = o(() => null), O = o(() => null), W = o(() => null), M = o(() => null);
168
- it(() => {
169
- d.value && console.error(`
170
-
171
- Vue Data UI exception:
172
- The provided component "${n.component}" does not exist. Check the spelling.
173
-
174
- Available components:
175
-
176
- ${Object.keys(g).map((t) => `. ${t}
177
- `).join("")}`);
178
- }), $(i, async (t) => {
179
- t && (t.generatePdf && (V.value = t.generatePdf), t.generateImage && (f.value = t.generateImage), t.generateCsv && (U.value = t.generateCsv), t.getItemsPositions && (v.value = t.getItemsPositions), t.toggleReadonly && (k.value = t.toggleReadonly), t.shoot && (S.value = t.shoot), t.close && (h.value = t.close), t.restoreOrder && (b.value = t.restoreOrder), t.recalculateHeight && (y.value = t.recalculateHeight), t.toggleLock && (C.value = t.toggleLock), t.toggleTable && (A.value = t.toggleTable), t.toggleLabels && (T.value = t.toggleLabels), t.toggleSort && (P.value = t.toggleSort), t.toggleStack && (D.value = t.toggleStack), t.toggleTooltip && (x.value = t.toggleTooltip), t.start && (I.value = t.start), t.pause && (F.value = t.pause), t.reset && (H.value = t.reset), t.restart && (L.value = t.restart), t.lap && (N.value = t.lap), t.toggleAnimation && (B.value = t.toggleAnimation), t.pauseAnimation && (G.value = t.pauseAnimation), t.resumeAnimation && (E.value = t.resumeAnimation), t.toggleAnnotator && (_.value = t.toggleAnnotator), t.selectNode && (O.value = t.selectNode), t.selectGroup && (W.value = t.selectGroup), t.selectRibbon && (M.value = t.selectRibbon));
180
- });
181
- const tt = () => {
182
- const t = [
183
- "selectLegend",
184
- "selectDatapoint",
185
- "toggleOpenState",
186
- "saveAnnotations",
187
- "selectRoot",
188
- "selectBranch",
189
- "selectNut",
190
- "change",
191
- "selectPlot",
192
- "selectSide",
193
- "rate",
194
- "postImage",
195
- "hoverIndex",
196
- "selectX",
197
- "toggleLock",
198
- "toggleTooltip",
199
- "start",
200
- "pause",
201
- "reset",
202
- "restart",
203
- "lap",
204
- "toggleAnimation",
205
- "pauseAnimation",
206
- "resumeAnimation",
207
- "toggleAnnotator",
208
- "selectNode",
209
- "selectGroup",
210
- "selectRibbon"
211
- ], a = {};
212
- return t.forEach((p) => {
213
- a[p] = (...u) => Z(p, ...u);
214
- }), a;
215
- }, l = at([]);
216
- $([l, i], () => {
217
- if (i.value)
218
- for (; l.length; ) {
219
- const [t, ...a] = l.shift();
220
- typeof i.value[t] == "function" && i.value[t](...a);
221
- }
222
- }), z({
223
- getData: (...t) => i.value && typeof i.value.getData == "function" ? i.value.getData() : l.push(["getData", ...t]),
224
- generatePdf: V,
225
- generateCsv: U,
226
- generateImage: f,
227
- getItemsPositions: v,
228
- toggleReadonly: k,
229
- shoot: S,
230
- close: h,
231
- restoreOrder: b,
232
- recalculateHeight: y,
233
- toggleLock: C,
234
- toggleTable: A,
235
- toggleLabels: T,
236
- toggleSort: P,
237
- toggleStack: D,
238
- toggleTooltip: x,
239
- start: I,
240
- pause: F,
241
- reset: H,
242
- restart: L,
243
- lap: N,
244
- pauseAnimation: G,
245
- resumeAnimation: E,
246
- toggleAnimation: B,
247
- toggleAnnotator: _,
248
- selectNode: O,
249
- selectGroup: W,
250
- selectRibbon: M
251
- });
252
- const r = s(() => {
253
- let t = `The provided component ${n.component} does not exist.`;
254
- return ["VueUiIcon", "VueUiPattern", "Arrow"].includes(n.component) ? (t = `${n.component} is not supported by the VueDataUi universal component. You must import it individually.`, console.warn(t), {
255
- status: "notSupported",
256
- message: t
257
- }) : (console.warn(t), {
258
- status: "unknown",
259
- message: t
260
- });
261
- });
262
- return (t, a) => d.value ? (c(), nt("div", {
263
- key: 0,
264
- style: lt({
265
- width: "100%",
266
- display: "flex",
267
- gap: "6px",
268
- alignItems: "center",
269
- color: r.value.status === "notSupported" ? "#FF9000" : "#FF0000"
270
- })
271
- }, [
272
- rt("div", kt, [
273
- r.value.status === "unknown" ? (c(), m(Q, {
274
- key: 0,
275
- name: "moodFlat",
276
- stroke: "#FF0000"
277
- })) : X("", !0),
278
- r.value.status === "notSupported" ? (c(), m(Q, {
279
- key: 1,
280
- name: "circleExclamation",
281
- stroke: "#FF9000"
282
- })) : X("", !0)
283
- ]),
284
- ut(" " + st(r.value.message), 1)
285
- ], 4)) : (c(), m(ct(R.value), gt({
286
- key: 1,
287
- ref_key: "currentComponentRef",
288
- ref: i
289
- }, w.value, pt(tt())), mt({ _: 2 }, [
290
- dt(t.$slots, (p, u) => ({
291
- name: u,
292
- fn: Vt((et) => [
293
- Ut(t.$slots, u, ft(vt(et)))
294
- ])
295
- }))
296
- ]), 1040));
297
- }
298
- };
299
- export {
300
- yt as default
301
- };