vue-data-ui 3.3.1 → 3.3.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.
- package/dist/{PackageVersion-BfykJm_B.js → PackageVersion-r-Q1R3nV.js} +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-age-pyramid.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-dashboard.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-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-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-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-strip-plot.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/style.css +1 -1
- package/dist/useResizeObserverEffect-DfnWps4W.js +109 -0
- package/dist/{vue-data-ui-j8Dnx_Ui.js → vue-data-ui-BFdGl7rL.js} +54 -54
- package/dist/vue-data-ui.js +54 -54
- package/dist/{vue-ui-3d-bar-Cml_eeEU.js → vue-ui-3d-bar-kzlIaqHU.js} +1 -1
- package/dist/{vue-ui-age-pyramid-MULKSv5c.js → vue-ui-age-pyramid-YFzQ15k1.js} +26 -33
- package/dist/{vue-ui-bullet-BHO5zu9m.js → vue-ui-bullet-DdjpiM-T.js} +1 -1
- package/dist/{vue-ui-candlestick-B7EjAlSi.js → vue-ui-candlestick-x9U5Ni0N.js} +28 -35
- package/dist/{vue-ui-carousel-table-DXnYj0Gc.js → vue-ui-carousel-table-CRI_iPLn.js} +1 -1
- package/dist/{vue-ui-chestnut-B1Usqda-.js → vue-ui-chestnut-YrEA5Gq3.js} +1 -1
- package/dist/{vue-ui-chord-DgXH82Hg.js → vue-ui-chord-D_2DdvpZ.js} +1 -1
- package/dist/{vue-ui-circle-pack-BQfaZFFz.js → vue-ui-circle-pack-xm9-OOAR.js} +1 -1
- package/dist/{vue-ui-dashboard-C6xHAPp8.js → vue-ui-dashboard-29ZuFoLn.js} +54 -54
- package/dist/{vue-ui-donut-swJu7UL2.js → vue-ui-donut-BQptfVfE.js} +1 -1
- package/dist/{vue-ui-donut-evolution-D_CKlaay.js → vue-ui-donut-evolution-fiqngEFW.js} +72 -79
- package/dist/{vue-ui-dumbbell-siD31WFG.js → vue-ui-dumbbell-Cw45EBO0.js} +28 -35
- package/dist/{vue-ui-flow-BZCnqIs-.js → vue-ui-flow-DPu9BjPy.js} +1 -1
- package/dist/{vue-ui-funnel-DmgcIRzW.js → vue-ui-funnel-CtlDuNjO.js} +1 -1
- package/dist/{vue-ui-galaxy-C-zegxf9.js → vue-ui-galaxy-BiVjoNHW.js} +1 -1
- package/dist/{vue-ui-gauge-D6C8eUvP.js → vue-ui-gauge-CoM6Q3Nb.js} +1 -1
- package/dist/{vue-ui-gizmo-iSYUVKlt.js → vue-ui-gizmo-DXG8dS5u.js} +1 -1
- package/dist/{vue-ui-heatmap-RHDxexNf.js → vue-ui-heatmap-D6n8AnCc.js} +135 -156
- package/dist/{vue-ui-history-plot-4nwAd1qA.js → vue-ui-history-plot-C8WMHda_.js} +35 -42
- package/dist/{vue-ui-molecule-BhisFSGQ.js → vue-ui-molecule-DC4_vXt_.js} +1 -1
- package/dist/{vue-ui-mood-radar-B8yHPdrV.js → vue-ui-mood-radar-BgT5wMS0.js} +1 -1
- package/dist/{vue-ui-nested-donuts-Bfp0oVSK.js → vue-ui-nested-donuts-D2gSqe1f.js} +1 -1
- package/dist/{vue-ui-onion-f1B0W_oT.js → vue-ui-onion-CEbv2ii4.js} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-DcY-0R-7.js → vue-ui-parallel-coordinate-plot-budrvcwU.js} +34 -41
- package/dist/{vue-ui-quadrant-DuzopA33.js → vue-ui-quadrant-PpymeiXe.js} +1 -1
- package/dist/{vue-ui-quick-chart-45Tm1UnC.js → vue-ui-quick-chart-k6mjTD56.js} +205 -212
- package/dist/{vue-ui-radar-DDS405TF.js → vue-ui-radar-C5NvYMnv.js} +1 -1
- package/dist/{vue-ui-relation-circle-BqXHJEvi.js → vue-ui-relation-circle-Df33aaUT.js} +1 -1
- package/dist/{vue-ui-ridgeline-Lx7YOCRg.js → vue-ui-ridgeline-BTw-37RS.js} +34 -41
- package/dist/{vue-ui-rings-crjrV65X.js → vue-ui-rings-C_s9xOtZ.js} +1 -1
- package/dist/{vue-ui-scatter-Bk4liS2c.js → vue-ui-scatter-Jd8bQ0S5.js} +1 -1
- package/dist/{vue-ui-skeleton-Pu9gPf97.js → vue-ui-skeleton-Ce7H57o7.js} +1 -1
- package/dist/{vue-ui-spark-trend-BmaybxJn.js → vue-ui-spark-trend-DQy4iSO7.js} +1 -1
- package/dist/{vue-ui-sparkbar-DvhcXniz.js → vue-ui-sparkbar-CUFTHql0.js} +1 -1
- package/dist/{vue-ui-sparkgauge-D4Brfset.js → vue-ui-sparkgauge-CcykuBps.js} +1 -1
- package/dist/{vue-ui-sparkhistogram-D5_lR__d.js → vue-ui-sparkhistogram-CyGvYpYn.js} +1 -1
- package/dist/{vue-ui-sparkline-DxNG5QQg.js → vue-ui-sparkline-CLWJM6hA.js} +1 -1
- package/dist/{vue-ui-sparkstackbar-BTFzo3fq.js → vue-ui-sparkstackbar-Cln1pduE.js} +1 -1
- package/dist/{vue-ui-stackbar-B8glHsE6.js → vue-ui-stackbar-DIUil9DO.js} +24 -39
- package/dist/{vue-ui-strip-plot-C5Bro8-W.js → vue-ui-strip-plot-C4U0fT5D.js} +104 -111
- package/dist/{vue-ui-table-Ddu9yx2S.js → vue-ui-table-DpdP3PDq.js} +2 -2
- package/dist/{vue-ui-table-sparkline-D3tgrV_k.js → vue-ui-table-sparkline-Chf5YY4A.js} +1 -1
- package/dist/{vue-ui-thermometer-BxQIZoXd.js → vue-ui-thermometer-D6RmaNE6.js} +1 -1
- package/dist/{vue-ui-timer-BwFlr_19.js → vue-ui-timer-C5E1kJRt.js} +1 -1
- package/dist/{vue-ui-tiremarks-KwISwJS6.js → vue-ui-tiremarks-D0erVBnj.js} +1 -1
- package/dist/{vue-ui-treemap-C6PLDL2Y.js → vue-ui-treemap-K8FYxuYz.js} +1 -1
- package/dist/{vue-ui-vertical-bar-CTmRo06n.js → vue-ui-vertical-bar-BA3OY8Sh.js} +1 -1
- package/dist/{vue-ui-waffle-BwOLL9aa.js → vue-ui-waffle-CgLgPuro.js} +1 -1
- package/dist/{vue-ui-wheel-KI9mkz8y.js → vue-ui-wheel-C_cOUhCs.js} +1 -1
- package/dist/{vue-ui-word-cloud-DTyjx6X4.js → vue-ui-word-cloud-uvHNOIpN.js} +1 -1
- package/dist/{vue-ui-world-C3QXAlC7.js → vue-ui-world-DmeNMwpX.js} +1 -1
- package/dist/{vue-ui-xy-canvas-CdkE1NHd.js → vue-ui-xy-canvas-BQKR36bd.js} +1 -1
- package/dist/{vue-ui-xy-b-CN-G4J.js → vue-ui-xy-tWE4H5ij.js} +274 -281
- package/package.json +1 -1
- package/dist/useTimeLabelCollider-CIsgDrl9.js +0 -78
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { watch as R, nextTick as q, watchEffect as j } from "vue";
|
|
2
|
+
function D({
|
|
3
|
+
timeLabelsEls: v,
|
|
4
|
+
timeLabels: m,
|
|
5
|
+
slicer: u,
|
|
6
|
+
configRef: r,
|
|
7
|
+
rotationPath: f,
|
|
8
|
+
autoRotatePath: o,
|
|
9
|
+
isAutoSize: x,
|
|
10
|
+
setViewBox: a,
|
|
11
|
+
forceResizeObserver: c,
|
|
12
|
+
callback: l,
|
|
13
|
+
targetClass: s = ".vue-data-ui-time-label",
|
|
14
|
+
rotation: g = -30.0001,
|
|
15
|
+
height: N = null,
|
|
16
|
+
width: T = null
|
|
17
|
+
}) {
|
|
18
|
+
function w(i, n) {
|
|
19
|
+
return n.reduce((e, t) => e && e[t], i);
|
|
20
|
+
}
|
|
21
|
+
function A(i, n, e) {
|
|
22
|
+
n.slice(0, -1).reduce((t, h) => t[h], i)[n.slice(-1)] = e;
|
|
23
|
+
}
|
|
24
|
+
function E(i) {
|
|
25
|
+
const n = /translate\(\s*([^\s,]+)\s*,\s*([^\s,]+)\s*\)/.exec(i);
|
|
26
|
+
return n ? {
|
|
27
|
+
x: parseFloat(n[1]),
|
|
28
|
+
y: parseFloat(n[2])
|
|
29
|
+
} : { x: 0, y: 0 };
|
|
30
|
+
}
|
|
31
|
+
async function y() {
|
|
32
|
+
await q();
|
|
33
|
+
const i = v.value;
|
|
34
|
+
if (!i) return;
|
|
35
|
+
const e = Array.from(i.querySelectorAll(s)).map((d) => ({
|
|
36
|
+
...E(d.getAttribute("transform")),
|
|
37
|
+
width: d.getBBox().width
|
|
38
|
+
}));
|
|
39
|
+
let t = !1;
|
|
40
|
+
const h = 4;
|
|
41
|
+
for (let d = 0; d < e.length && !t; d += 1)
|
|
42
|
+
for (let p = d + 1; p < e.length; p += 1) {
|
|
43
|
+
const C = e[d], b = e[p];
|
|
44
|
+
if (!(C.x + C.width + h < b.x || b.x + b.width + h < C.x)) {
|
|
45
|
+
t = !0;
|
|
46
|
+
break;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
const B = w(r.value, f);
|
|
50
|
+
t && !B ? (A(r.value, f, g), l && l({ collision: t }), x.value && a && c && (a(), c())) : !t && B === g && (A(r.value, f, 0), l && l({ collision: t }));
|
|
51
|
+
}
|
|
52
|
+
function L(i, n) {
|
|
53
|
+
let e;
|
|
54
|
+
return (...t) => {
|
|
55
|
+
clearTimeout(e), e = setTimeout(() => i(...t), n);
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
const F = L(y, 200);
|
|
59
|
+
return N && T && R([() => T.value, () => N.value], async ([i, n], [e, t]) => {
|
|
60
|
+
if (!w(r.value, o)) return;
|
|
61
|
+
i !== e || n !== t ? F() : await y();
|
|
62
|
+
}), R(
|
|
63
|
+
[
|
|
64
|
+
() => m.value,
|
|
65
|
+
() => w(r.value, f),
|
|
66
|
+
() => u.value.start,
|
|
67
|
+
() => u.value.end
|
|
68
|
+
],
|
|
69
|
+
async ([, , i, n], [, , e, t]) => {
|
|
70
|
+
if (!w(r.value, o)) return;
|
|
71
|
+
i !== e || n !== t ? F() : await y();
|
|
72
|
+
},
|
|
73
|
+
{ immediate: !0 }
|
|
74
|
+
), { detectTimeLabelCollision: y };
|
|
75
|
+
}
|
|
76
|
+
function M({ elementRef: v, callback: m, attr: u, earlyReturn: r = !1 }) {
|
|
77
|
+
r || j(
|
|
78
|
+
(f) => {
|
|
79
|
+
const o = v.value;
|
|
80
|
+
if (!o) return;
|
|
81
|
+
const x = new ResizeObserver((a) => {
|
|
82
|
+
const l = a[0]?.contentRect;
|
|
83
|
+
let s;
|
|
84
|
+
if (l && l[u] != null)
|
|
85
|
+
s = l[u];
|
|
86
|
+
else
|
|
87
|
+
try {
|
|
88
|
+
u === "width" ? s = typeof o.getBBox == "function" ? o.getBBox().width : o.getBoundingClientRect().width : s = typeof o.getBBox == "function" ? o.getBBox().height : o.getBoundingClientRect().height;
|
|
89
|
+
} catch {
|
|
90
|
+
const g = o.getBoundingClientRect();
|
|
91
|
+
s = u === "width" ? g.width : g.height;
|
|
92
|
+
}
|
|
93
|
+
typeof s == "number" && !Number.isNaN(s) && m(s);
|
|
94
|
+
});
|
|
95
|
+
x.observe(o), q(() => {
|
|
96
|
+
requestAnimationFrame(() => {
|
|
97
|
+
if (!v.value) return;
|
|
98
|
+
const a = v.value.getBoundingClientRect(), c = u === "width" ? a.width : a.height;
|
|
99
|
+
typeof c == "number" && !Number.isNaN(c) && m(c);
|
|
100
|
+
});
|
|
101
|
+
}), f(() => x.disconnect());
|
|
102
|
+
},
|
|
103
|
+
{ flush: "post" }
|
|
104
|
+
);
|
|
105
|
+
}
|
|
106
|
+
export {
|
|
107
|
+
D as a,
|
|
108
|
+
M as u
|
|
109
|
+
};
|
|
@@ -38,71 +38,71 @@ const Ce = { style: { width: "36px" } }, De = {
|
|
|
38
38
|
],
|
|
39
39
|
setup(J, { expose: R, emit: w }) {
|
|
40
40
|
const a = J, { component: Te, dataset: ee, config: te } = le(a), p = {
|
|
41
|
-
VueUi3dBar: t(() => import("./vue-ui-3d-bar-
|
|
42
|
-
VueUiAgePyramid: t(() => import("./vue-ui-age-pyramid-
|
|
41
|
+
VueUi3dBar: t(() => import("./vue-ui-3d-bar-kzlIaqHU.js")),
|
|
42
|
+
VueUiAgePyramid: t(() => import("./vue-ui-age-pyramid-YFzQ15k1.js")),
|
|
43
43
|
VueUiAnnotator: t(() => import("./vue-ui-annotator-CmwDyy9m.js")),
|
|
44
|
-
VueUiCandlestick: t(() => import("./vue-ui-candlestick-
|
|
45
|
-
VueUiChestnut: t(() => import("./vue-ui-chestnut-
|
|
46
|
-
VueUiDashboard: t(() => import("./vue-ui-dashboard-
|
|
44
|
+
VueUiCandlestick: t(() => import("./vue-ui-candlestick-x9U5Ni0N.js")),
|
|
45
|
+
VueUiChestnut: t(() => import("./vue-ui-chestnut-YrEA5Gq3.js")),
|
|
46
|
+
VueUiDashboard: t(() => import("./vue-ui-dashboard-29ZuFoLn.js")),
|
|
47
47
|
VueUiDigits: t(() => import("./vue-ui-digits-nKPRJ9Vz.js")),
|
|
48
|
-
VueUiDonut: t(() => import("./vue-ui-donut-
|
|
49
|
-
VueUiDonutEvolution: t(() => import("./vue-ui-donut-evolution-
|
|
50
|
-
VueUiGalaxy: t(() => import("./vue-ui-galaxy-
|
|
51
|
-
VueUiGauge: t(() => import("./vue-ui-gauge-
|
|
52
|
-
VueUiHeatmap: t(() => import("./vue-ui-heatmap-
|
|
48
|
+
VueUiDonut: t(() => import("./vue-ui-donut-BQptfVfE.js")),
|
|
49
|
+
VueUiDonutEvolution: t(() => import("./vue-ui-donut-evolution-fiqngEFW.js")),
|
|
50
|
+
VueUiGalaxy: t(() => import("./vue-ui-galaxy-BiVjoNHW.js")),
|
|
51
|
+
VueUiGauge: t(() => import("./vue-ui-gauge-CoM6Q3Nb.js")),
|
|
52
|
+
VueUiHeatmap: t(() => import("./vue-ui-heatmap-D6n8AnCc.js")),
|
|
53
53
|
VueUiKpi: t(() => import("./vue-ui-kpi-Dphnwumo.js")),
|
|
54
54
|
VueUiMiniLoader: t(() => import("./vue-ui-mini-loader-DFk9GZ5V.js")),
|
|
55
|
-
VueUiMolecule: t(() => import("./vue-ui-molecule-
|
|
56
|
-
VueUiMoodRadar: t(() => import("./vue-ui-mood-radar-
|
|
57
|
-
VueUiNestedDonuts: t(() => import("./vue-ui-nested-donuts-
|
|
58
|
-
VueUiOnion: t(() => import("./vue-ui-onion-
|
|
59
|
-
VueUiQuadrant: t(() => import("./vue-ui-quadrant-
|
|
60
|
-
VueUiRadar: t(() => import("./vue-ui-radar-
|
|
55
|
+
VueUiMolecule: t(() => import("./vue-ui-molecule-DC4_vXt_.js")),
|
|
56
|
+
VueUiMoodRadar: t(() => import("./vue-ui-mood-radar-BgT5wMS0.js")),
|
|
57
|
+
VueUiNestedDonuts: t(() => import("./vue-ui-nested-donuts-D2gSqe1f.js")),
|
|
58
|
+
VueUiOnion: t(() => import("./vue-ui-onion-CEbv2ii4.js")),
|
|
59
|
+
VueUiQuadrant: t(() => import("./vue-ui-quadrant-PpymeiXe.js")),
|
|
60
|
+
VueUiRadar: t(() => import("./vue-ui-radar-C5NvYMnv.js")),
|
|
61
61
|
VueUiRating: t(() => import("./vue-ui-rating-eKlTJch9.js")),
|
|
62
|
-
VueUiRelationCircle: t(() => import("./vue-ui-relation-circle-
|
|
63
|
-
VueUiRings: t(() => import("./vue-ui-rings-
|
|
64
|
-
VueUiScatter: t(() => import("./vue-ui-scatter-
|
|
65
|
-
VueUiSkeleton: t(() => import("./vue-ui-skeleton-
|
|
62
|
+
VueUiRelationCircle: t(() => import("./vue-ui-relation-circle-Df33aaUT.js")),
|
|
63
|
+
VueUiRings: t(() => import("./vue-ui-rings-C_s9xOtZ.js")),
|
|
64
|
+
VueUiScatter: t(() => import("./vue-ui-scatter-Jd8bQ0S5.js")),
|
|
65
|
+
VueUiSkeleton: t(() => import("./vue-ui-skeleton-Ce7H57o7.js")),
|
|
66
66
|
VueUiSmiley: t(() => import("./vue-ui-smiley-C4mhT7ZV.js")),
|
|
67
|
-
VueUiSparkbar: t(() => import("./vue-ui-sparkbar-
|
|
68
|
-
VueUiSparkgauge: t(() => import("./vue-ui-sparkgauge-
|
|
69
|
-
VueUiSparkHistogram: t(() => import("./vue-ui-sparkhistogram-
|
|
70
|
-
VueUiSparkline: t(() => import("./vue-ui-sparkline-
|
|
71
|
-
VueUiSparkStackbar: t(() => import("./vue-ui-sparkstackbar-
|
|
72
|
-
VueUiTable: t(() => import("./vue-ui-table-
|
|
73
|
-
VueUiTableSparkline: t(() => import("./vue-ui-table-sparkline-
|
|
74
|
-
VueUiThermometer: t(() => import("./vue-ui-thermometer-
|
|
75
|
-
VueUiTiremarks: t(() => import("./vue-ui-tiremarks-
|
|
76
|
-
VueUiTreemap: t(() => import("./vue-ui-treemap-
|
|
77
|
-
VueUiVerticalBar: t(() => import("./vue-ui-vertical-bar-
|
|
67
|
+
VueUiSparkbar: t(() => import("./vue-ui-sparkbar-CUFTHql0.js")),
|
|
68
|
+
VueUiSparkgauge: t(() => import("./vue-ui-sparkgauge-CcykuBps.js")),
|
|
69
|
+
VueUiSparkHistogram: t(() => import("./vue-ui-sparkhistogram-CyGvYpYn.js")),
|
|
70
|
+
VueUiSparkline: t(() => import("./vue-ui-sparkline-CLWJM6hA.js")),
|
|
71
|
+
VueUiSparkStackbar: t(() => import("./vue-ui-sparkstackbar-Cln1pduE.js")),
|
|
72
|
+
VueUiTable: t(() => import("./vue-ui-table-DpdP3PDq.js")),
|
|
73
|
+
VueUiTableSparkline: t(() => import("./vue-ui-table-sparkline-Chf5YY4A.js")),
|
|
74
|
+
VueUiThermometer: t(() => import("./vue-ui-thermometer-D6RmaNE6.js")),
|
|
75
|
+
VueUiTiremarks: t(() => import("./vue-ui-tiremarks-D0erVBnj.js")),
|
|
76
|
+
VueUiTreemap: t(() => import("./vue-ui-treemap-K8FYxuYz.js")),
|
|
77
|
+
VueUiVerticalBar: t(() => import("./vue-ui-vertical-bar-BA3OY8Sh.js")),
|
|
78
78
|
// delete in v4
|
|
79
|
-
VueUiHorizontalBar: t(() => import("./vue-ui-vertical-bar-
|
|
79
|
+
VueUiHorizontalBar: t(() => import("./vue-ui-vertical-bar-BA3OY8Sh.js")),
|
|
80
80
|
// v3 renaming
|
|
81
|
-
VueUiWaffle: t(() => import("./vue-ui-waffle-
|
|
82
|
-
VueUiWheel: t(() => import("./vue-ui-wheel-
|
|
83
|
-
VueUiXy: t(() => import("./vue-ui-xy-
|
|
81
|
+
VueUiWaffle: t(() => import("./vue-ui-waffle-CgLgPuro.js")),
|
|
82
|
+
VueUiWheel: t(() => import("./vue-ui-wheel-C_cOUhCs.js")),
|
|
83
|
+
VueUiXy: t(() => import("./vue-ui-xy-tWE4H5ij.js")),
|
|
84
84
|
VueUiTableHeatmap: t(() => import("./vue-ui-table-heatmap-J29d8nds.js")),
|
|
85
85
|
VueUiAccordion: t(() => import("./vue-ui-accordion-VTP418mC.js")),
|
|
86
|
-
VueUiQuickChart: t(() => import("./vue-ui-quick-chart-
|
|
86
|
+
VueUiQuickChart: t(() => import("./vue-ui-quick-chart-k6mjTD56.js")),
|
|
87
87
|
VueUiCursor: t(() => import("./vue-ui-cursor-Dt8Zzw22.js")),
|
|
88
|
-
VueUiSparkTrend: t(() => import("./vue-ui-spark-trend-
|
|
89
|
-
VueUiStripPlot: t(() => import("./vue-ui-strip-plot-
|
|
90
|
-
VueUiDumbbell: t(() => import("./vue-ui-dumbbell-
|
|
91
|
-
VueUiWordCloud: t(() => import("./vue-ui-word-cloud-
|
|
92
|
-
VueUiXyCanvas: t(() => import("./vue-ui-xy-canvas-
|
|
93
|
-
VueUiFlow: t(() => import("./vue-ui-flow-
|
|
94
|
-
VueUiParallelCoordinatePlot: t(() => import("./vue-ui-parallel-coordinate-plot-
|
|
95
|
-
VueUiTimer: t(() => import("./vue-ui-timer-
|
|
96
|
-
VueUiCarouselTable: t(() => import("./vue-ui-carousel-table-
|
|
97
|
-
VueUiGizmo: t(() => import("./vue-ui-gizmo-
|
|
98
|
-
VueUiStackbar: t(() => import("./vue-ui-stackbar-
|
|
99
|
-
VueUiBullet: t(() => import("./vue-ui-bullet-
|
|
100
|
-
VueUiFunnel: t(() => import("./vue-ui-funnel-
|
|
101
|
-
VueUiHistoryPlot: t(() => import("./vue-ui-history-plot-
|
|
102
|
-
VueUiCirclePack: t(() => import("./vue-ui-circle-pack-
|
|
103
|
-
VueUiWorld: t(() => import("./vue-ui-world-
|
|
104
|
-
VueUiRidgeline: t(() => import("./vue-ui-ridgeline-
|
|
105
|
-
VueUiChord: t(() => import("./vue-ui-chord-
|
|
88
|
+
VueUiSparkTrend: t(() => import("./vue-ui-spark-trend-DQy4iSO7.js")),
|
|
89
|
+
VueUiStripPlot: t(() => import("./vue-ui-strip-plot-C4U0fT5D.js")),
|
|
90
|
+
VueUiDumbbell: t(() => import("./vue-ui-dumbbell-Cw45EBO0.js")),
|
|
91
|
+
VueUiWordCloud: t(() => import("./vue-ui-word-cloud-uvHNOIpN.js")),
|
|
92
|
+
VueUiXyCanvas: t(() => import("./vue-ui-xy-canvas-BQKR36bd.js")),
|
|
93
|
+
VueUiFlow: t(() => import("./vue-ui-flow-DPu9BjPy.js")),
|
|
94
|
+
VueUiParallelCoordinatePlot: t(() => import("./vue-ui-parallel-coordinate-plot-budrvcwU.js")),
|
|
95
|
+
VueUiTimer: t(() => import("./vue-ui-timer-C5E1kJRt.js")),
|
|
96
|
+
VueUiCarouselTable: t(() => import("./vue-ui-carousel-table-CRI_iPLn.js")),
|
|
97
|
+
VueUiGizmo: t(() => import("./vue-ui-gizmo-DXG8dS5u.js")),
|
|
98
|
+
VueUiStackbar: t(() => import("./vue-ui-stackbar-DIUil9DO.js")),
|
|
99
|
+
VueUiBullet: t(() => import("./vue-ui-bullet-DdjpiM-T.js")),
|
|
100
|
+
VueUiFunnel: t(() => import("./vue-ui-funnel-CtlDuNjO.js")),
|
|
101
|
+
VueUiHistoryPlot: t(() => import("./vue-ui-history-plot-C8WMHda_.js")),
|
|
102
|
+
VueUiCirclePack: t(() => import("./vue-ui-circle-pack-xm9-OOAR.js")),
|
|
103
|
+
VueUiWorld: t(() => import("./vue-ui-world-DmeNMwpX.js")),
|
|
104
|
+
VueUiRidgeline: t(() => import("./vue-ui-ridgeline-BTw-37RS.js")),
|
|
105
|
+
VueUiChord: t(() => import("./vue-ui-chord-D_2DdvpZ.js"))
|
|
106
106
|
}, oe = {
|
|
107
107
|
VueUi3dBar: ["config", "dataset"],
|
|
108
108
|
VueUiAgePyramid: ["config", "dataset"],
|
package/dist/vue-data-ui.js
CHANGED
|
@@ -1,69 +1,69 @@
|
|
|
1
|
-
import { default as F } from "./vue-ui-xy-
|
|
1
|
+
import { default as F } from "./vue-ui-xy-tWE4H5ij.js";
|
|
2
2
|
import { _ as I } from "./Arrow-DLi6NnGD.js";
|
|
3
|
-
import { default as Q } from "./vue-ui-3d-bar-
|
|
3
|
+
import { default as Q } from "./vue-ui-3d-bar-kzlIaqHU.js";
|
|
4
4
|
import { default as X } from "./vue-ui-accordion-VTP418mC.js";
|
|
5
|
-
import { default as K } from "./vue-ui-age-pyramid-
|
|
5
|
+
import { default as K } from "./vue-ui-age-pyramid-YFzQ15k1.js";
|
|
6
6
|
import { default as N } from "./vue-ui-annotator-CmwDyy9m.js";
|
|
7
|
-
import { default as J } from "./vue-ui-candlestick-
|
|
8
|
-
import { default as Z } from "./vue-ui-chestnut-
|
|
7
|
+
import { default as J } from "./vue-ui-candlestick-x9U5Ni0N.js";
|
|
8
|
+
import { default as Z } from "./vue-ui-chestnut-YrEA5Gq3.js";
|
|
9
9
|
import { default as te } from "./vue-ui-cursor-Dt8Zzw22.js";
|
|
10
|
-
import { default as re } from "./vue-ui-dashboard-
|
|
10
|
+
import { default as re } from "./vue-ui-dashboard-29ZuFoLn.js";
|
|
11
11
|
import { default as ue } from "./vue-ui-digits-nKPRJ9Vz.js";
|
|
12
|
-
import { default as ie } from "./vue-ui-donut-
|
|
13
|
-
import { default as le } from "./vue-ui-donut-evolution-
|
|
14
|
-
import { default as de } from "./vue-ui-dumbbell-
|
|
15
|
-
import { default as xe } from "./vue-ui-flow-
|
|
16
|
-
import { default as Ue } from "./vue-ui-galaxy-
|
|
17
|
-
import { default as pe } from "./vue-ui-gauge-
|
|
18
|
-
import { default as ge } from "./vue-ui-heatmap-
|
|
12
|
+
import { default as ie } from "./vue-ui-donut-BQptfVfE.js";
|
|
13
|
+
import { default as le } from "./vue-ui-donut-evolution-fiqngEFW.js";
|
|
14
|
+
import { default as de } from "./vue-ui-dumbbell-Cw45EBO0.js";
|
|
15
|
+
import { default as xe } from "./vue-ui-flow-DPu9BjPy.js";
|
|
16
|
+
import { default as Ue } from "./vue-ui-galaxy-BiVjoNHW.js";
|
|
17
|
+
import { default as pe } from "./vue-ui-gauge-CoM6Q3Nb.js";
|
|
18
|
+
import { default as ge } from "./vue-ui-heatmap-D6n8AnCc.js";
|
|
19
19
|
import { default as ke } from "./BaseIcon-eZbszQrv.js";
|
|
20
20
|
import { default as ve } from "./vue-ui-kpi-Dphnwumo.js";
|
|
21
21
|
import { default as Se } from "./vue-ui-mini-loader-DFk9GZ5V.js";
|
|
22
|
-
import { default as Te } from "./vue-ui-molecule-
|
|
23
|
-
import { default as De } from "./vue-ui-mood-radar-
|
|
24
|
-
import { default as He } from "./vue-ui-nested-donuts-
|
|
25
|
-
import { default as Oe } from "./vue-ui-onion-
|
|
26
|
-
import { default as Be } from "./vue-ui-parallel-coordinate-plot-
|
|
27
|
-
import { default as Me } from "./vue-ui-quadrant-
|
|
28
|
-
import { default as Fe } from "./vue-ui-quick-chart-
|
|
29
|
-
import { default as Ie } from "./vue-ui-radar-
|
|
22
|
+
import { default as Te } from "./vue-ui-molecule-DC4_vXt_.js";
|
|
23
|
+
import { default as De } from "./vue-ui-mood-radar-BgT5wMS0.js";
|
|
24
|
+
import { default as He } from "./vue-ui-nested-donuts-D2gSqe1f.js";
|
|
25
|
+
import { default as Oe } from "./vue-ui-onion-CEbv2ii4.js";
|
|
26
|
+
import { default as Be } from "./vue-ui-parallel-coordinate-plot-budrvcwU.js";
|
|
27
|
+
import { default as Me } from "./vue-ui-quadrant-PpymeiXe.js";
|
|
28
|
+
import { default as Fe } from "./vue-ui-quick-chart-k6mjTD56.js";
|
|
29
|
+
import { default as Ie } from "./vue-ui-radar-C5NvYMnv.js";
|
|
30
30
|
import { default as Qe } from "./vue-ui-rating-eKlTJch9.js";
|
|
31
|
-
import { default as Xe } from "./vue-ui-relation-circle-
|
|
32
|
-
import { default as Ke } from "./vue-ui-rings-
|
|
33
|
-
import { default as Ne } from "./vue-ui-scatter-
|
|
34
|
-
import { default as Je } from "./vue-ui-skeleton-
|
|
31
|
+
import { default as Xe } from "./vue-ui-relation-circle-Df33aaUT.js";
|
|
32
|
+
import { default as Ke } from "./vue-ui-rings-C_s9xOtZ.js";
|
|
33
|
+
import { default as Ne } from "./vue-ui-scatter-Jd8bQ0S5.js";
|
|
34
|
+
import { default as Je } from "./vue-ui-skeleton-Ce7H57o7.js";
|
|
35
35
|
import { default as Ze } from "./vue-ui-smiley-C4mhT7ZV.js";
|
|
36
|
-
import { default as tt } from "./vue-ui-sparkhistogram-
|
|
37
|
-
import { default as rt } from "./vue-ui-sparkstackbar-
|
|
38
|
-
import { default as ut } from "./vue-ui-spark-trend-
|
|
39
|
-
import { default as it } from "./vue-ui-sparkbar-
|
|
40
|
-
import { default as lt } from "./vue-ui-sparkgauge-
|
|
41
|
-
import { default as dt } from "./vue-ui-sparkline-
|
|
42
|
-
import { default as xt } from "./vue-ui-strip-plot-
|
|
43
|
-
import { default as Ut } from "./vue-ui-table-
|
|
36
|
+
import { default as tt } from "./vue-ui-sparkhistogram-CyGvYpYn.js";
|
|
37
|
+
import { default as rt } from "./vue-ui-sparkstackbar-Cln1pduE.js";
|
|
38
|
+
import { default as ut } from "./vue-ui-spark-trend-DQy4iSO7.js";
|
|
39
|
+
import { default as it } from "./vue-ui-sparkbar-CUFTHql0.js";
|
|
40
|
+
import { default as lt } from "./vue-ui-sparkgauge-CcykuBps.js";
|
|
41
|
+
import { default as dt } from "./vue-ui-sparkline-CLWJM6hA.js";
|
|
42
|
+
import { default as xt } from "./vue-ui-strip-plot-C4U0fT5D.js";
|
|
43
|
+
import { default as Ut } from "./vue-ui-table-DpdP3PDq.js";
|
|
44
44
|
import { default as pt } from "./vue-ui-table-heatmap-J29d8nds.js";
|
|
45
|
-
import { default as gt } from "./vue-ui-table-sparkline-
|
|
46
|
-
import { default as kt } from "./vue-ui-thermometer-
|
|
47
|
-
import { default as vt } from "./vue-ui-timer-
|
|
48
|
-
import { default as St } from "./vue-ui-tiremarks-
|
|
49
|
-
import { default as Tt } from "./vue-ui-treemap-
|
|
50
|
-
import { default as Dt, default as wt } from "./vue-ui-vertical-bar-
|
|
51
|
-
import { default as At } from "./vue-ui-waffle-
|
|
52
|
-
import { default as Wt } from "./vue-ui-wheel-
|
|
53
|
-
import { default as jt } from "./vue-ui-word-cloud-
|
|
54
|
-
import { default as Et } from "./vue-ui-xy-canvas-
|
|
55
|
-
import { default as Gt } from "./vue-ui-carousel-table-
|
|
56
|
-
import { default as zt } from "./vue-ui-gizmo-
|
|
57
|
-
import { default as Rt } from "./vue-ui-stackbar-
|
|
58
|
-
import { default as $t } from "./vue-ui-bullet-
|
|
59
|
-
import { default as Lt } from "./vue-ui-funnel-
|
|
60
|
-
import { default as qt } from "./vue-ui-history-plot-
|
|
45
|
+
import { default as gt } from "./vue-ui-table-sparkline-Chf5YY4A.js";
|
|
46
|
+
import { default as kt } from "./vue-ui-thermometer-D6RmaNE6.js";
|
|
47
|
+
import { default as vt } from "./vue-ui-timer-C5E1kJRt.js";
|
|
48
|
+
import { default as St } from "./vue-ui-tiremarks-D0erVBnj.js";
|
|
49
|
+
import { default as Tt } from "./vue-ui-treemap-K8FYxuYz.js";
|
|
50
|
+
import { default as Dt, default as wt } from "./vue-ui-vertical-bar-BA3OY8Sh.js";
|
|
51
|
+
import { default as At } from "./vue-ui-waffle-CgLgPuro.js";
|
|
52
|
+
import { default as Wt } from "./vue-ui-wheel-C_cOUhCs.js";
|
|
53
|
+
import { default as jt } from "./vue-ui-word-cloud-uvHNOIpN.js";
|
|
54
|
+
import { default as Et } from "./vue-ui-xy-canvas-BQKR36bd.js";
|
|
55
|
+
import { default as Gt } from "./vue-ui-carousel-table-CRI_iPLn.js";
|
|
56
|
+
import { default as zt } from "./vue-ui-gizmo-DXG8dS5u.js";
|
|
57
|
+
import { default as Rt } from "./vue-ui-stackbar-DIUil9DO.js";
|
|
58
|
+
import { default as $t } from "./vue-ui-bullet-DdjpiM-T.js";
|
|
59
|
+
import { default as Lt } from "./vue-ui-funnel-CtlDuNjO.js";
|
|
60
|
+
import { default as qt } from "./vue-ui-history-plot-C8WMHda_.js";
|
|
61
61
|
import { _ as Yt } from "./vue-ui-pattern-D5pNvoQp.js";
|
|
62
|
-
import { default as ea } from "./vue-ui-circle-pack-
|
|
63
|
-
import { default as aa } from "./vue-ui-world-
|
|
64
|
-
import { default as oa } from "./vue-ui-ridgeline-
|
|
65
|
-
import { default as fa } from "./vue-ui-chord-
|
|
66
|
-
import { default as sa } from "./vue-data-ui-
|
|
62
|
+
import { default as ea } from "./vue-ui-circle-pack-xm9-OOAR.js";
|
|
63
|
+
import { default as aa } from "./vue-ui-world-DmeNMwpX.js";
|
|
64
|
+
import { default as oa } from "./vue-ui-ridgeline-BTw-37RS.js";
|
|
65
|
+
import { default as fa } from "./vue-ui-chord-D_2DdvpZ.js";
|
|
66
|
+
import { default as sa } from "./vue-data-ui-BFdGl7rL.js";
|
|
67
67
|
import { u as p } from "./useNestedProp-Ce3PwN8T.js";
|
|
68
68
|
import { t as h } from "./themes-Dw-dDudK.js";
|
|
69
69
|
import { h as V, m as g, r as y, i as k, t as C } from "./lib-CEjkWSLj.js";
|
|
@@ -32,7 +32,7 @@ const el = ["id"], tl = ["xmlns", "viewBox"], ll = ["width", "height"], ol = ["i
|
|
|
32
32
|
},
|
|
33
33
|
emits: ["selectDatapoint"],
|
|
34
34
|
setup(rt, { expose: ut, emit: it }) {
|
|
35
|
-
const dt = H(() => import("./BaseIcon-eZbszQrv.js")), ct = H(() => import("./vue-ui-accordion-VTP418mC.js")), vt = H(() => import("./DataTable-yAMEyP6y.js")), ht = H(() => import("./PenAndPaper-Bo-lMUik.js")), ft = H(() => import("./UserOptions-CSja1SGU.js")), pt = H(() => import("./PackageVersion-
|
|
35
|
+
const dt = H(() => import("./BaseIcon-eZbszQrv.js")), ct = H(() => import("./vue-ui-accordion-VTP418mC.js")), vt = H(() => import("./DataTable-yAMEyP6y.js")), ht = H(() => import("./PenAndPaper-Bo-lMUik.js")), ft = H(() => import("./UserOptions-CSja1SGU.js")), pt = H(() => import("./PackageVersion-r-Q1R3nV.js")), gt = H(() => import("./BaseDraggableDialog-CVGErydD.js")), { vue_ui_3d_bar: yt } = Gt(), O = rt, se = it, Fe = P(() => !!O.dataset && Object.keys(O.dataset).length), F = _(ot()), N = _(null), I = _(!1), Te = _(0), Pe = _(0), De = _(null), ee = _(null), ae = _(null), Se = _(null), te = _(!1), le = _(null), ge = _(null), e = _($e()), { loading: Z, FINAL_DATASET: A } = Vt({
|
|
36
36
|
...Pt(O),
|
|
37
37
|
FINAL_CONFIG: e,
|
|
38
38
|
prepareConfig: $e,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { defineAsyncComponent as T, computed as y, ref as v, toRefs as yt, watch as X, shallowRef as ze, onMounted as ht, onBeforeUnmount as Oe,
|
|
2
|
-
import { c as
|
|
3
|
-
import { t as Pe, u as
|
|
4
|
-
import { u as
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as
|
|
7
|
-
import { u as
|
|
8
|
-
import { u as
|
|
9
|
-
import { u as
|
|
10
|
-
import { u as Rt } from "./
|
|
1
|
+
import { defineAsyncComponent as T, computed as y, ref as v, toRefs as yt, watch as X, shallowRef as ze, onMounted as ht, onBeforeUnmount as Oe, createElementBlock as n, openBlock as i, unref as u, normalizeStyle as se, normalizeClass as Ie, createBlock as D, createCommentVNode as h, renderSlot as c, createVNode as ie, createSlots as Fe, withCtx as f, normalizeProps as P, guardReactiveProps as M, createElementVNode as d, Fragment as L, renderList as z, toDisplayString as C, resolveDynamicComponent as ct, mergeProps as ft, createTextVNode as ue, nextTick as gt } from "vue";
|
|
2
|
+
import { c as pt, t as bt, o as Re, f as xt, q as p, X as mt, s as ne, i as De, a as O, d as I, x as wt, y as kt, z as Ct, A as _t } from "./lib-CEjkWSLj.js";
|
|
3
|
+
import { t as Pe, u as At } from "./useResponsive-DfdjqQps.js";
|
|
4
|
+
import { u as Tt, a as Me } from "./useNestedProp-Ce3PwN8T.js";
|
|
5
|
+
import { u as Lt, B as $t } from "./BaseScanner-BgWxam9d.js";
|
|
6
|
+
import { u as St } from "./usePrinter-DJ1iH-F_.js";
|
|
7
|
+
import { u as zt } from "./useSvgExport-DrjCWun4.js";
|
|
8
|
+
import { u as Ot } from "./useUserOptionState-BIvW1Kz7.js";
|
|
9
|
+
import { u as It } from "./useChartAccessibility-9icAAmYg.js";
|
|
10
|
+
import { u as Ft, a as Rt } from "./useResizeObserverEffect-DfnWps4W.js";
|
|
11
11
|
import Dt from "./img-J2dLIr8Y.js";
|
|
12
12
|
import Pt from "./Title-Camz1Lce.js";
|
|
13
13
|
import { t as Mt } from "./themes-Dw-dDudK.js";
|
|
@@ -32,7 +32,7 @@ const Bt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["x", "y", "width", "height"]
|
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
34
|
setup(re, { expose: Ne }) {
|
|
35
|
-
const Be = T(() => import("./Tooltip-VOcQEHa4.js")), Ee = T(() => import("./BaseIcon-eZbszQrv.js")), Ue = T(() => import("./vue-ui-accordion-VTP418mC.js")), Ge = T(() => import("./DataTable-yAMEyP6y.js")), He = T(() => import("./PenAndPaper-Bo-lMUik.js")), We = T(() => import("./UserOptions-CSja1SGU.js")), Ve = T(() => import("./PackageVersion-
|
|
35
|
+
const Be = T(() => import("./Tooltip-VOcQEHa4.js")), Ee = T(() => import("./BaseIcon-eZbszQrv.js")), Ue = T(() => import("./vue-ui-accordion-VTP418mC.js")), Ge = T(() => import("./DataTable-yAMEyP6y.js")), He = T(() => import("./PenAndPaper-Bo-lMUik.js")), We = T(() => import("./UserOptions-CSja1SGU.js")), Ve = T(() => import("./PackageVersion-r-Q1R3nV.js")), Xe = T(() => import("./BaseDraggableDialog-CVGErydD.js")), { vue_ui_age_pyramid: je } = Tt(), x = re, ve = y(() => !!x.dataset && x.dataset.length), w = v(pt()), j = v(!1), Y = v(""), U = v(null), de = v(0), k = v(null), ye = v(null), he = v(null), ce = v(null), fe = v(0), ge = v(0), q = v(null), N = v(null), J = v(null), e = v(ee()), { loading: pe, FINAL_DATASET: G, manualLoading: K } = Lt({
|
|
36
36
|
...yt(x),
|
|
37
37
|
FINAL_CONFIG: e,
|
|
38
38
|
prepareConfig: ee,
|
|
@@ -48,7 +48,7 @@ const Bt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["x", "y", "width", "height"]
|
|
|
48
48
|
["_", 1, 89, 89],
|
|
49
49
|
["_", 0, 144, 144]
|
|
50
50
|
],
|
|
51
|
-
skeletonConfig:
|
|
51
|
+
skeletonConfig: bt({
|
|
52
52
|
defaultConfig: e.value,
|
|
53
53
|
userConfig: {
|
|
54
54
|
userOptions: { show: !1 },
|
|
@@ -81,7 +81,7 @@ const Bt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["x", "y", "width", "height"]
|
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
83
|
})
|
|
84
|
-
}), { userOptionsVisible: Q, setUserOptionsVisibility: be, keepUserOptionState: xe } =
|
|
84
|
+
}), { userOptionsVisible: Q, setUserOptionsVisibility: be, keepUserOptionState: xe } = Ot({ config: e.value }), { svgRef: Z } = It({ config: e.value.style.title });
|
|
85
85
|
function ee() {
|
|
86
86
|
const t = Me({
|
|
87
87
|
userConfig: x.config,
|
|
@@ -105,13 +105,13 @@ const Bt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["x", "y", "width", "height"]
|
|
|
105
105
|
});
|
|
106
106
|
const Ye = y(() => !!e.value.debug);
|
|
107
107
|
function me() {
|
|
108
|
-
if (Re(x.dataset) && (
|
|
108
|
+
if (Re(x.dataset) && (xt({
|
|
109
109
|
componentName: "VueUiAgePyramid",
|
|
110
110
|
type: "dataset",
|
|
111
111
|
debug: Ye.value
|
|
112
112
|
}), K.value = !0), Re(x.dataset) || (K.value = e.value.loading), e.value.responsive) {
|
|
113
113
|
const t = Pe(() => {
|
|
114
|
-
const { width: o, height: l } =
|
|
114
|
+
const { width: o, height: l } = At({
|
|
115
115
|
chart: k.value,
|
|
116
116
|
title: e.value.style.title.text ? ye.value : null,
|
|
117
117
|
source: he.value,
|
|
@@ -127,7 +127,7 @@ const Bt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["x", "y", "width", "height"]
|
|
|
127
127
|
Oe(() => {
|
|
128
128
|
_.value && (F.value && _.value.unobserve(F.value), _.value.disconnect());
|
|
129
129
|
});
|
|
130
|
-
const { isPrinting: we, isImaging: ke, generatePdf: Ce, generateImage: _e } =
|
|
130
|
+
const { isPrinting: we, isImaging: ke, generatePdf: Ce, generateImage: _e } = St({
|
|
131
131
|
elementId: `vue-ui-age-pyramid_${w.value}`,
|
|
132
132
|
fileName: e.value.style.title.text || "vue-ui-age-pyramid",
|
|
133
133
|
options: e.value.userOptions.print
|
|
@@ -147,14 +147,7 @@ const Bt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["x", "y", "width", "height"]
|
|
|
147
147
|
}), Je = y(() => g.value.width), Ke = y(() => g.value.height), H = v(0), Qe = Pe((t) => {
|
|
148
148
|
H.value = t;
|
|
149
149
|
}, 100);
|
|
150
|
-
|
|
151
|
-
const o = q.value;
|
|
152
|
-
if (!o) return;
|
|
153
|
-
const l = new ResizeObserver((a) => {
|
|
154
|
-
Qe(a[0].contentRect.height);
|
|
155
|
-
});
|
|
156
|
-
l.observe(o), t(() => l.disconnect());
|
|
157
|
-
}), Oe(() => {
|
|
150
|
+
Ft({ elementRef: q, callback: Qe, attr: "height" }), Oe(() => {
|
|
158
151
|
H.value = 0;
|
|
159
152
|
});
|
|
160
153
|
const s = y(() => {
|
|
@@ -251,7 +244,7 @@ const Bt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["x", "y", "width", "height"]
|
|
|
251
244
|
config: e.value
|
|
252
245
|
};
|
|
253
246
|
const l = e.value.style.tooltip.customFormat;
|
|
254
|
-
if (
|
|
247
|
+
if (Ct(l) && _t(() => l({
|
|
255
248
|
seriesIndex: t,
|
|
256
249
|
datapoint: {
|
|
257
250
|
segment: o[0],
|
|
@@ -301,15 +294,15 @@ const Bt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["x", "y", "width", "height"]
|
|
|
301
294
|
j.value = !0;
|
|
302
295
|
}
|
|
303
296
|
function ae(t = null) {
|
|
304
|
-
|
|
297
|
+
gt(() => {
|
|
305
298
|
const o = [e.value.translations.year, e.value.translations.age, e.value.translations.female, e.value.translations.male, e.value.translations.total], l = x.dataset.map((m) => [
|
|
306
299
|
m[0],
|
|
307
300
|
m[1],
|
|
308
301
|
m[2],
|
|
309
302
|
m[3],
|
|
310
303
|
m[2] ?? 0 + m[3] ?? 0
|
|
311
|
-
]), a = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([o]).concat(l), r =
|
|
312
|
-
t ? t(r) :
|
|
304
|
+
]), a = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([o]).concat(l), r = wt(a);
|
|
305
|
+
t ? t(r) : kt({ csvContent: r, title: e.value.style.title.text || "vue-ui-heatmap" });
|
|
313
306
|
});
|
|
314
307
|
}
|
|
315
308
|
const W = y(() => {
|
|
@@ -415,7 +408,7 @@ const Bt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["x", "y", "width", "height"]
|
|
|
415
408
|
function $e() {
|
|
416
409
|
b.value.showTable = !1, J.value && J.value.setTableIconState(!1);
|
|
417
410
|
}
|
|
418
|
-
const nt = y(() => e.value.style.backgroundColor), rt = y(() => e.value.style.title), { exportSvg: vt, getSvg: dt } =
|
|
411
|
+
const nt = y(() => e.value.style.backgroundColor), rt = y(() => e.value.style.title), { exportSvg: vt, getSvg: dt } = zt({
|
|
419
412
|
svg: Z,
|
|
420
413
|
title: rt,
|
|
421
414
|
backgroundColor: nt
|
|
@@ -579,7 +572,7 @@ const Bt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["x", "y", "width", "height"]
|
|
|
579
572
|
(i(), n("svg", {
|
|
580
573
|
ref_key: "svgRef",
|
|
581
574
|
ref: Z,
|
|
582
|
-
xmlns: u(
|
|
575
|
+
xmlns: u(mt),
|
|
583
576
|
class: Ie({ "vue-data-ui-fullscreen--on": S.value, "vue-data-ui-fulscreen--off": !S.value }),
|
|
584
577
|
viewBox: `0 0 ${g.value.width <= 0 ? 10 : g.value.width} ${g.value.height <= 0 ? 10 : g.value.height}`,
|
|
585
578
|
style: se(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`)
|
|
@@ -846,7 +839,7 @@ const Bt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["x", "y", "width", "height"]
|
|
|
846
839
|
]),
|
|
847
840
|
_: 3
|
|
848
841
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
|
|
849
|
-
ve.value && e.value.userOptions.buttons.table ? (i(), D(
|
|
842
|
+
ve.value && e.value.userOptions.buttons.table ? (i(), D(ct(E.value.component), ft({ key: 6 }, E.value.props, {
|
|
850
843
|
ref_key: "tableUnit",
|
|
851
844
|
ref: N,
|
|
852
845
|
onClose: $e
|
|
@@ -897,10 +890,10 @@ const Bt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["x", "y", "width", "height"]
|
|
|
897
890
|
key: "1"
|
|
898
891
|
} : void 0
|
|
899
892
|
]), 1040)) : h("", !0),
|
|
900
|
-
u(pe) ? (i(), D(
|
|
893
|
+
u(pe) ? (i(), D($t, { key: 7 })) : h("", !0)
|
|
901
894
|
], 46, Bt));
|
|
902
895
|
}
|
|
903
|
-
}, Sl = /* @__PURE__ */ Nt(cl, [["__scopeId", "data-v-
|
|
896
|
+
}, Sl = /* @__PURE__ */ Nt(cl, [["__scopeId", "data-v-24d19a0e"]]);
|
|
904
897
|
export {
|
|
905
898
|
Sl as default
|
|
906
899
|
};
|
|
@@ -41,7 +41,7 @@ const ct = ["id"], ht = {
|
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
43
|
setup(me, { expose: ye }) {
|
|
44
|
-
const pe = G(() => import("./PackageVersion-
|
|
44
|
+
const pe = G(() => import("./PackageVersion-r-Q1R3nV.js")), be = G(() => import("./PenAndPaper-Bo-lMUik.js")), ke = G(() => import("./UserOptions-CSja1SGU.js")), { vue_ui_bullet: we } = Ge(), O = me, y = v(null), X = v(null), Y = v(0), J = v(null), K = v(null), xe = v(0), A = v(null), S = v(null), Q = v(!1), b = c({
|
|
45
45
|
get: () => i.value.hasOwnProperty("value"),
|
|
46
46
|
set: (t) => t
|
|
47
47
|
}), L = c(() => i.value.segments ? Array.isArray(i.value.segments) ? i.value.segments.length ? !0 : (console.warn(`VueUiBullet: dataset segments is empty. Provide segments with this datastructure:
|