vue-data-ui 3.4.6 → 3.4.8
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-BSldVhnp.js → PackageVersion-D-auaEEJ.js} +1 -1
- package/dist/{UserOptions-CnzumGJj.js → UserOptions-CGnQt6Fd.js} +91 -91
- 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-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/style.css +1 -1
- package/dist/{vue-data-ui-BCOCglbX.js → vue-data-ui-CzqHcPqG.js} +55 -55
- package/dist/vue-data-ui.js +55 -55
- package/dist/{vue-ui-3d-bar-E-nuI5P-.js → vue-ui-3d-bar-CwXiD8zD.js} +49 -42
- package/dist/{vue-ui-age-pyramid-DfN03uDZ.js → vue-ui-age-pyramid-DlEPlWmV.js} +12 -5
- package/dist/{vue-ui-bullet-DVOmSxcg.js → vue-ui-bullet-DtzpeIu4.js} +59 -52
- package/dist/{vue-ui-candlestick-C0tlhgvf.js → vue-ui-candlestick-DzoiyaeB.js} +56 -49
- package/dist/{vue-ui-carousel-table-Bwf70lBb.js → vue-ui-carousel-table-BqRERrjs.js} +79 -72
- package/dist/{vue-ui-chestnut-CzNj08EH.js → vue-ui-chestnut-CzBGckif.js} +77 -70
- package/dist/{vue-ui-chord-CQAAGCjj.js → vue-ui-chord-B4waG93A.js} +71 -64
- package/dist/{vue-ui-circle-pack-8Ut7fxPJ.js → vue-ui-circle-pack-DiTw_p5r.js} +58 -51
- package/dist/{vue-ui-dashboard-CpG2L2Xk.js → vue-ui-dashboard-Bt-MUKqy.js} +56 -56
- package/dist/{vue-ui-donut-acdGdmqY.js → vue-ui-donut-Bc492JeS.js} +95 -88
- package/dist/{vue-ui-donut-evolution-J2tTLcht.js → vue-ui-donut-evolution-D6TaZK2x.js} +80 -73
- package/dist/{vue-ui-dumbbell-DhDvD0DH.js → vue-ui-dumbbell-BlZr68Sq.js} +12 -5
- package/dist/{vue-ui-flow-Du9joQEy.js → vue-ui-flow-ByEP18dA.js} +205 -198
- package/dist/{vue-ui-funnel-BPccZaVG.js → vue-ui-funnel-BU7d_U6T.js} +98 -91
- package/dist/{vue-ui-galaxy-D69X300F.js → vue-ui-galaxy-CpVrxaTr.js} +140 -133
- package/dist/{vue-ui-gauge-C_tPaN05.js → vue-ui-gauge-B9Z4EXoj.js} +108 -101
- package/dist/{vue-ui-gizmo-Bsc620Bs.js → vue-ui-gizmo-T1paJEJ3.js} +1 -1
- package/dist/{vue-ui-heatmap-CRoQ0Xo1.js → vue-ui-heatmap-Uw83eEMz.js} +97 -90
- package/dist/{vue-ui-history-plot-PQT8iCyT.js → vue-ui-history-plot-C93VwVCY.js} +41 -34
- package/dist/{vue-ui-molecule-C0hQ1BHF.js → vue-ui-molecule-CFMWwXFN.js} +94 -87
- package/dist/{vue-ui-mood-radar-DMng4w8x.js → vue-ui-mood-radar-FkVaaOVG.js} +71 -64
- package/dist/{vue-ui-nested-donuts-DtnysjV9.js → vue-ui-nested-donuts-Cyi98NXq.js} +93 -86
- package/dist/{vue-ui-onion-C0Z5_zay.js → vue-ui-onion-BCENNhsY.js} +82 -75
- package/dist/{vue-ui-parallel-coordinate-plot-C0grlzOd.js → vue-ui-parallel-coordinate-plot-Dca9wkD0.js} +116 -109
- package/dist/{vue-ui-quadrant-BJGF3wuL.js → vue-ui-quadrant-CEtFEZT3.js} +46 -39
- package/dist/{vue-ui-quick-chart-CaR3jp1D.js → vue-ui-quick-chart-bqcp6BIl.js} +171 -164
- package/dist/{vue-ui-radar-wYNRX7Uh.js → vue-ui-radar-lgRCmyNP.js} +36 -29
- package/dist/{vue-ui-relation-circle-CIwou-3d.js → vue-ui-relation-circle-cRRrbaIT.js} +100 -93
- package/dist/{vue-ui-ridgeline-DnzoIClq.js → vue-ui-ridgeline-CaeFJq9a.js} +23 -16
- package/dist/{vue-ui-rings-B7zSZa8h.js → vue-ui-rings-DbsYfGjx.js} +55 -48
- package/dist/{vue-ui-scatter-Bevyh8s3.js → vue-ui-scatter-DcMnoNrY.js} +189 -182
- package/dist/{vue-ui-skeleton-DfuGqFYM.js → vue-ui-skeleton-b5fdgyHv.js} +1 -1
- package/dist/{vue-ui-spark-trend-D16UBZxk.js → vue-ui-spark-trend-DrQ26BzL.js} +1 -1
- package/dist/{vue-ui-sparkbar-Dl1kY_5e.js → vue-ui-sparkbar-BlvXLcfO.js} +1 -1
- package/dist/{vue-ui-sparkgauge-iJIT26xG.js → vue-ui-sparkgauge-CQmNePxu.js} +1 -1
- package/dist/{vue-ui-sparkhistogram-Bawjmfxu.js → vue-ui-sparkhistogram-CJatqy8x.js} +1 -1
- package/dist/{vue-ui-sparkline-CGVoLIcr.js → vue-ui-sparkline-5m7hFiMq.js} +1 -1
- package/dist/{vue-ui-sparkstackbar-CdlGAlFM.js → vue-ui-sparkstackbar-Z5g6L2Hj.js} +1 -1
- package/dist/{vue-ui-stackbar-Cjz4PvOG.js → vue-ui-stackbar-WrexTg8_.js} +53 -46
- package/dist/{vue-ui-strip-plot-DS84cU6V.js → vue-ui-strip-plot-DqX7yya9.js} +13 -6
- package/dist/{vue-ui-table-t9Shp522.js → vue-ui-table-BhrP9BCp.js} +2 -2
- package/dist/{vue-ui-table-heatmap-B4rjR34n.js → vue-ui-table-heatmap-BqCEBoUf.js} +1 -1
- package/dist/{vue-ui-table-sparkline-CAqqSvhG.js → vue-ui-table-sparkline-BECa8n5_.js} +1 -1
- package/dist/{vue-ui-thermometer-CKciCjTK.js → vue-ui-thermometer-BxBGrsSR.js} +83 -76
- package/dist/{vue-ui-timer-CNwoVRn5.js → vue-ui-timer-BbHY5Ed5.js} +1 -1
- package/dist/{vue-ui-tiremarks-Dxp9rcJi.js → vue-ui-tiremarks-DzL3Sc1f.js} +43 -36
- package/dist/{vue-ui-treemap-D4cRZ9SZ.js → vue-ui-treemap-DoHoS5NK.js} +114 -107
- package/dist/{vue-ui-vertical-bar-Cz6yCNYK.js → vue-ui-vertical-bar-D0N5btU-.js} +89 -82
- package/dist/{vue-ui-waffle-BhQ0m4Ia.js → vue-ui-waffle-CTt7dxCY.js} +41 -34
- package/dist/{vue-ui-wheel-Bh_G3WQQ.js → vue-ui-wheel--TIPvQ9I.js} +132 -125
- package/dist/{vue-ui-word-cloud-Bk2yP7oQ.js → vue-ui-word-cloud-D5pZq4Jq.js} +116 -109
- package/dist/{vue-ui-world-C_eUAzmI.js → vue-ui-world-BERHgePa.js} +71 -64
- package/dist/{vue-ui-xy-BDc2EKMr.js → vue-ui-xy-BI5stV8f.js} +163 -156
- package/dist/{vue-ui-xy-canvas-BGl_2pHw.js → vue-ui-xy-canvas-DXnLFwW3.js} +1 -1
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineAsyncComponent as D, computed as k, ref as F, onMounted as n4, toRefs as r4, watch as C1, createElementBlock as S, openBlock as b, unref as f, normalizeStyle as k1, normalizeClass as c2, createBlock as X, createCommentVNode as I, renderSlot as
|
|
1
|
+
import { defineAsyncComponent as D, computed as k, ref as F, onMounted as n4, toRefs as r4, watch as C1, createElementBlock as S, openBlock as b, unref as f, normalizeStyle as k1, normalizeClass as c2, createBlock as X, createCommentVNode as I, renderSlot as A, createElementVNode as T, createVNode as w1, createSlots as O1, withCtx as L, normalizeProps as u1, guardReactiveProps as p1, withModifiers as i4, Fragment as h1, renderList as m2, mergeProps as d2, createTextVNode as T1, toDisplayString as v1, Teleport as s4, resolveDynamicComponent as l4, nextTick as u4 } from "vue";
|
|
2
2
|
import { u as p4, a as y4 } from "./useNestedProp-BjZe1Y85.js";
|
|
3
3
|
import { c as g2, t as c4, e as m4, h as S1, p as f1, X as d4, S as g4, U as h2, a as v2, d as f2, O as I1, ae as h4, P as v4, Q as f4, G as P4 } from "./lib-C_mNZmhD.js";
|
|
4
4
|
import { u as M4, B as b4 } from "./BaseScanner-BgWxam9d.js";
|
|
@@ -44,8 +44,8 @@ const I4 = { type: "FeatureCollection", features: [{ type: "Feature", geometry:
|
|
|
44
44
|
[0.5322, 1]
|
|
45
45
|
], [M, m] = g;
|
|
46
46
|
y = y - M, i = Math.max(-89.9999, Math.min(89.9999, i));
|
|
47
|
-
const n = Math.abs(i), d = Math.floor(n / 5), p = n % 5 / 5, [v, c] = r[d], [_, h] = r[Math.min(d + 1, r.length - 1)],
|
|
48
|
-
return !Number.isFinite(
|
|
47
|
+
const n = Math.abs(i), d = Math.floor(n / 5), p = n % 5 / 5, [v, c] = r[d], [_, h] = r[Math.min(d + 1, r.length - 1)], N = v + (_ - v) * p, C = c + (h - c) * p, x = y * Math.PI / 180, $ = s / 2 + s / 2 * N * x / Math.PI, U = l / 2 - Math.sign(i) * (l / 2) * C / 1;
|
|
48
|
+
return !Number.isFinite($) || !Number.isFinite(U) ? [-9999, -9999] : [$, U];
|
|
49
49
|
},
|
|
50
50
|
mollweide([y, i], s, l, g) {
|
|
51
51
|
i = Math.max(Math.min(i, 89.9999), -89.9999);
|
|
@@ -56,15 +56,15 @@ const I4 = { type: "FeatureCollection", features: [{ type: "Feature", geometry:
|
|
|
56
56
|
for (; Math.abs(p) > d && v < 10; )
|
|
57
57
|
p = -(2 * n + Math.sin(2 * n) - Math.PI * Math.sin(m)) / (2 + 2 * Math.cos(2 * n)), n += p, v++;
|
|
58
58
|
isFinite(n) || (n = m > 0 ? Math.PI / 2 : -Math.PI / 2);
|
|
59
|
-
const c = s / (2 * Math.SQRT2), h = (c * (2 * Math.SQRT2 / Math.PI) * M * Math.cos(n) + 2 * c) / (4.6 * c) * s,
|
|
59
|
+
const c = s / (2 * Math.SQRT2), h = (c * (2 * Math.SQRT2 / Math.PI) * M * Math.cos(n) + 2 * c) / (4.6 * c) * s, N = -c * Math.SQRT2 * Math.sin(n), C = -c * Math.SQRT2, x = c * Math.SQRT2, $ = (N - C) / (x - C) * l;
|
|
60
60
|
return [
|
|
61
61
|
isFinite(h) ? h : 0,
|
|
62
|
-
isFinite(
|
|
62
|
+
isFinite($) ? $ : 0
|
|
63
63
|
];
|
|
64
64
|
},
|
|
65
65
|
winkelTripel([y, i], s, l, g) {
|
|
66
|
-
const [r, M] = g, m = (y - r) * Math.PI / 180, n = i * Math.PI / 180, d = m * Math.cos(Math.PI / 6), p = n, v = Math.acos(Math.cos(n) * Math.cos(m / 2)), c = 2 * Math.cos(n) * Math.sin(m / 2) / (Math.sin(v) / v || 1), _ = Math.sin(n) / (Math.sin(v) / v || 1), h = s / 2 + s / (2 * Math.PI) * (d + c) / 2,
|
|
67
|
-
return [h,
|
|
66
|
+
const [r, M] = g, m = (y - r) * Math.PI / 180, n = i * Math.PI / 180, d = m * Math.cos(Math.PI / 6), p = n, v = Math.acos(Math.cos(n) * Math.cos(m / 2)), c = 2 * Math.cos(n) * Math.sin(m / 2) / (Math.sin(v) / v || 1), _ = Math.sin(n) / (Math.sin(v) / v || 1), h = s / 2 + s / (2 * Math.PI) * (d + c) / 2, N = l / 2 - l / (2 * Math.PI) * (p + _) / 2;
|
|
67
|
+
return [h, N];
|
|
68
68
|
},
|
|
69
69
|
aitoff([y, i], s, l, g) {
|
|
70
70
|
Math.sinc || (Math.sinc = function(c) {
|
|
@@ -79,8 +79,8 @@ const I4 = { type: "FeatureCollection", features: [{ type: "Feature", geometry:
|
|
|
79
79
|
return [p, v];
|
|
80
80
|
},
|
|
81
81
|
bonne([y, i], s, l, g = [0, 0]) {
|
|
82
|
-
const r = 45 * Math.PI / 180, [M, m] = g, n = (y - M) * Math.PI / 180, p = Math.max(Math.min(i, 89.9), -89.9) * Math.PI / 180, v = 1 / Math.tan(r), c = v + r - p, _ = c === 0 ? 0 : n * Math.cos(p) / c, h = Math.min(s, l) / 2.6,
|
|
83
|
-
return [
|
|
82
|
+
const r = 45 * Math.PI / 180, [M, m] = g, n = (y - M) * Math.PI / 180, p = Math.max(Math.min(i, 89.9), -89.9) * Math.PI / 180, v = 1 / Math.tan(r), c = v + r - p, _ = c === 0 ? 0 : n * Math.cos(p) / c, h = Math.min(s, l) / 2.6, N = s / 2 + h * c * Math.sin(_), C = l / 2 - h * (v - c * Math.cos(_));
|
|
83
|
+
return [N, C];
|
|
84
84
|
},
|
|
85
85
|
sinusoidal([y, i], s, l, g) {
|
|
86
86
|
const [r, M] = g, m = (y - r) * Math.PI / 180, n = i * Math.PI / 180, d = s / 2 + s / (2 * Math.PI) * m * Math.cos(n), p = l / 2 - l / Math.PI * n;
|
|
@@ -100,11 +100,11 @@ const I4 = { type: "FeatureCollection", features: [{ type: "Feature", geometry:
|
|
|
100
100
|
else if (p < m || Math.abs(v - M) < m)
|
|
101
101
|
c = 0, _ = Math.sign(d) * r * Math.tan(Math.asin(v / M) / 2);
|
|
102
102
|
else {
|
|
103
|
-
let x = v / M,
|
|
103
|
+
let x = v / M, $ = Math.asin(x), U = Math.cos($), o1 = 0.5 * Math.abs(r / n - n / r), a1 = o1 * o1, q = U / (x + U - 1), n1 = q * (2 / x - 1), r1 = n1 * n1, Q = r1 + a1, w = q - r1, H = a1 + q;
|
|
104
104
|
c = Math.sign(n) * r * (o1 * w + Math.sqrt(Math.max(0, a1 * w * w - Q * (q * q - r1)))) / Q, _ = Math.sign(d) * r * (n1 * H - o1 * Math.sqrt(Math.max(0, (a1 + 1) * Q - H * H))) / Q;
|
|
105
105
|
}
|
|
106
|
-
const h = s / 2 / r * 0.98,
|
|
107
|
-
return [
|
|
106
|
+
const h = s / 2 / r * 0.98, N = s / 2, C = l / 2;
|
|
107
|
+
return [N + c * h, C - _ * h];
|
|
108
108
|
},
|
|
109
109
|
globe([y, i], s, l, g) {
|
|
110
110
|
const [r, M] = g, m = (y - r) * Math.PI / 180, n = i * Math.PI / 180, d = M * Math.PI / 180, p = Math.min(s, l) / 2 * 0.95, v = s / 2, c = l / 2, _ = p * Math.cos(n) * Math.sin(m) + v, h = -p * (Math.cos(d) * Math.sin(n) - Math.sin(d) * Math.cos(n) * Math.cos(m)) + c;
|
|
@@ -113,10 +113,10 @@ const I4 = { type: "FeatureCollection", features: [{ type: "Feature", geometry:
|
|
|
113
113
|
azimuthalEquidistant([y, i], s, l, g = [0, 0]) {
|
|
114
114
|
const r = (U) => U * Math.PI / 180, [M, m] = g, n = r(y - M), d = r(i), p = r(m), v = Math.sin(p) * Math.sin(d) + Math.cos(p) * Math.cos(d) * Math.cos(n), c = Math.acos(Math.max(-1, Math.min(1, v)));
|
|
115
115
|
let _ = c === 0 ? 1 : c / Math.sin(c);
|
|
116
|
-
const h = _ * Math.cos(d) * Math.sin(n),
|
|
116
|
+
const h = _ * Math.cos(d) * Math.sin(n), N = _ * (Math.cos(p) * Math.sin(d) - Math.sin(p) * Math.cos(d) * Math.cos(n)), C = Math.min(s, l) / 2 / Math.PI, x = s / 2, $ = l / 2;
|
|
117
117
|
return [
|
|
118
118
|
x + h * C,
|
|
119
|
-
|
|
119
|
+
$ - N * C
|
|
120
120
|
];
|
|
121
121
|
}
|
|
122
122
|
};
|
|
@@ -126,8 +126,8 @@ function A4(y, i, s, l, g = [0, 0]) {
|
|
|
126
126
|
const p = d.geometry, v = p.type === "Polygon" ? [p.coordinates] : p.type === "MultiPolygon" ? p.coordinates : [];
|
|
127
127
|
for (const c of v)
|
|
128
128
|
for (const _ of c)
|
|
129
|
-
for (const [h,
|
|
130
|
-
const [C, x] = y([h,
|
|
129
|
+
for (const [h, N] of _) {
|
|
130
|
+
const [C, x] = y([h, N], s, l, g);
|
|
131
131
|
!Number.isFinite(C) || !Number.isFinite(x) || (r = Math.min(r, C), m = Math.max(m, C), M = Math.min(M, x), n = Math.max(n, x));
|
|
132
132
|
}
|
|
133
133
|
}
|
|
@@ -180,14 +180,14 @@ const $4 = {
|
|
|
180
180
|
},
|
|
181
181
|
emits: ["selectDatapoint", "selectLegend"],
|
|
182
182
|
setup(y, { expose: i, emit: s }) {
|
|
183
|
-
const l = D(() => import("./Title-l36lOBMx.js")), g = D(() => import("./Legend-G6GMcdAc.js")), r = D(() => import("./Tooltip-oWCO1HKy.js")), M = D(() => import("./BaseIcon-BmMbm4d0.js")), m = D(() => import("./vue-ui-accordion-CZ0thhxa.js")), n = D(() => import("./DataTable-BT7VF2ua.js")), d = D(() => import("./PenAndPaper-DSvu9dwa.js")), p = D(() => import("./UserOptions-
|
|
183
|
+
const l = D(() => import("./Title-l36lOBMx.js")), g = D(() => import("./Legend-G6GMcdAc.js")), r = D(() => import("./Tooltip-oWCO1HKy.js")), M = D(() => import("./BaseIcon-BmMbm4d0.js")), m = D(() => import("./vue-ui-accordion-CZ0thhxa.js")), n = D(() => import("./DataTable-BT7VF2ua.js")), d = D(() => import("./PenAndPaper-DSvu9dwa.js")), p = D(() => import("./UserOptions-CGnQt6Fd.js")), v = D(() => import("./PackageVersion-D-auaEEJ.js")), c = D(() => import("./BaseDraggableDialog-ymf2sfB8.js")), { vue_ui_world: _ } = p4(), h = y, N = s, C = k({
|
|
184
184
|
get() {
|
|
185
185
|
return !!m1.value;
|
|
186
186
|
},
|
|
187
187
|
set(e) {
|
|
188
188
|
return e;
|
|
189
189
|
}
|
|
190
|
-
}), x = k(() => C ? Object.values(m1.value).some((e) => Object.hasOwn(e, "category")) : !1),
|
|
190
|
+
}), x = k(() => C ? Object.values(m1.value).some((e) => Object.hasOwn(e, "category")) : !1), $ = F(null), U = F(null), o1 = F(null), a1 = F(null), q = F(null), n1 = F(0), r1 = F(0), Q = F(0), w = F(g2()), H = F(!1), x1 = F(""), D1 = F(0), U1 = F(!1), y1 = F(null), A1 = F(null);
|
|
191
191
|
n4(() => {
|
|
192
192
|
U1.value = !0;
|
|
193
193
|
});
|
|
@@ -369,7 +369,7 @@ const $4 = {
|
|
|
369
369
|
H.value = !1, Y.value = null, t.value.events.datapointLeave && t.value.events.datapointLeave({ datapoint: e, seriesIndex: a });
|
|
370
370
|
}
|
|
371
371
|
function A2({ datapoint: e, seriesIndex: a }) {
|
|
372
|
-
|
|
372
|
+
N("selectDatapoint", e), t.value.events.datapointClick && t.value.events.datapointClick({ datapoint: e, seriesIndex: a });
|
|
373
373
|
}
|
|
374
374
|
function L2({ datapoint: e, seriesIndex: a }) {
|
|
375
375
|
t.value.events.datapointEnter && t.value.events.datapointEnter({ datapoint: e, seriesIndex: a }), Y.value = e, B1.value = { datapoint: e, config: t.value, series: i1.value }, H.value = !0;
|
|
@@ -507,7 +507,7 @@ const $4 = {
|
|
|
507
507
|
}
|
|
508
508
|
const V = F([]);
|
|
509
509
|
function o2(e) {
|
|
510
|
-
V.value.includes(e) ? V.value = V.value.filter((a) => a !== e) : V.value.push(e),
|
|
510
|
+
V.value.includes(e) ? V.value = V.value.filter((a) => a !== e) : V.value.push(e), N("selectLegend", { name: e });
|
|
511
511
|
}
|
|
512
512
|
const G1 = k(() => x ? W1.value.map(({ name: e, color: a }, o) => ({ name: e, color: a, shape: "circle", patternIndex: o })).map((e) => ({
|
|
513
513
|
...e,
|
|
@@ -526,8 +526,8 @@ const $4 = {
|
|
|
526
526
|
return i1.value;
|
|
527
527
|
}
|
|
528
528
|
async function D2({ scale: e = 2 } = {}) {
|
|
529
|
-
if (
|
|
530
|
-
const { width: a, height: o } =
|
|
529
|
+
if (!$.value) return;
|
|
530
|
+
const { width: a, height: o } = $.value.getBoundingClientRect(), u = a / o, { imageUri: P, base64: B } = await w4({ domElement: $.value, base64: !0, img: !0, scale: e });
|
|
531
531
|
return {
|
|
532
532
|
imageUri: P,
|
|
533
533
|
base64: B,
|
|
@@ -548,7 +548,7 @@ const $4 = {
|
|
|
548
548
|
headerColor: t.value.table.th.color,
|
|
549
549
|
headerBg: t.value.table.th.backgroundColor,
|
|
550
550
|
isFullscreen: J.value,
|
|
551
|
-
fullscreenParent:
|
|
551
|
+
fullscreenParent: $.value,
|
|
552
552
|
forcedWidth: Math.min(800, window.innerWidth * 0.8)
|
|
553
553
|
} : {
|
|
554
554
|
hideDetails: !0,
|
|
@@ -600,7 +600,7 @@ const $4 = {
|
|
|
600
600
|
toggleFullscreen: V1
|
|
601
601
|
}), (e, a) => (b(), S("div", {
|
|
602
602
|
ref_key: "worldChart",
|
|
603
|
-
ref:
|
|
603
|
+
ref: $,
|
|
604
604
|
id: `world_${w.value}`,
|
|
605
605
|
class: c2(`vue-data-ui-component vue-ui-world ${J.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
606
606
|
style: k1(`font-family:${t.value.style.fontFamily};width:100%; text-align:center;background:${t.value.style.chart.backgroundColor}`),
|
|
@@ -615,7 +615,7 @@ const $4 = {
|
|
|
615
615
|
svgRef: f(M1),
|
|
616
616
|
onClose: $1
|
|
617
617
|
}, null, 8, ["color", "backgroundColor", "active", "svgRef"])) : I("", !0),
|
|
618
|
-
|
|
618
|
+
A(e.$slots, "userConfig", {}, void 0, !0),
|
|
619
619
|
T2.value ? (b(), S("div", {
|
|
620
620
|
key: 1,
|
|
621
621
|
ref_key: "noTitle",
|
|
@@ -665,7 +665,7 @@ const $4 = {
|
|
|
665
665
|
hasLabel: !1,
|
|
666
666
|
hasFullscreen: t.value.userOptions.buttons.fullscreen,
|
|
667
667
|
isFullscreen: J.value,
|
|
668
|
-
chartElement:
|
|
668
|
+
chartElement: $.value,
|
|
669
669
|
position: t.value.userOptions.position,
|
|
670
670
|
printScale: t.value.userOptions.print.scale,
|
|
671
671
|
isTooltip: R.value.showTooltip,
|
|
@@ -685,59 +685,66 @@ const $4 = {
|
|
|
685
685
|
}, O1({ _: 2 }, [
|
|
686
686
|
e.$slots.menuIcon ? {
|
|
687
687
|
name: "menuIcon",
|
|
688
|
-
fn:
|
|
689
|
-
|
|
688
|
+
fn: L(({ isOpen: o, color: u }) => [
|
|
689
|
+
A(e.$slots, "menuIcon", u1(p1({ isOpen: o, color: u })), void 0, !0)
|
|
690
690
|
]),
|
|
691
691
|
key: "0"
|
|
692
692
|
} : void 0,
|
|
693
693
|
e.$slots.optionTooltip ? {
|
|
694
694
|
name: "optionTooltip",
|
|
695
|
-
fn:
|
|
696
|
-
|
|
695
|
+
fn: L(() => [
|
|
696
|
+
A(e.$slots, "optionTooltip", {}, void 0, !0)
|
|
697
697
|
]),
|
|
698
698
|
key: "1"
|
|
699
699
|
} : void 0,
|
|
700
700
|
e.$slots.optionPdf ? {
|
|
701
701
|
name: "optionPdf",
|
|
702
|
-
fn:
|
|
703
|
-
|
|
702
|
+
fn: L(() => [
|
|
703
|
+
A(e.$slots, "optionPdf", {}, void 0, !0)
|
|
704
704
|
]),
|
|
705
705
|
key: "2"
|
|
706
706
|
} : void 0,
|
|
707
707
|
e.$slots.optionCsv ? {
|
|
708
708
|
name: "optionCsv",
|
|
709
|
-
fn:
|
|
710
|
-
|
|
709
|
+
fn: L(() => [
|
|
710
|
+
A(e.$slots, "optionCsv", {}, void 0, !0)
|
|
711
711
|
]),
|
|
712
712
|
key: "3"
|
|
713
713
|
} : void 0,
|
|
714
714
|
e.$slots.optionImg ? {
|
|
715
715
|
name: "optionImg",
|
|
716
|
-
fn:
|
|
717
|
-
|
|
716
|
+
fn: L(() => [
|
|
717
|
+
A(e.$slots, "optionImg", {}, void 0, !0)
|
|
718
718
|
]),
|
|
719
719
|
key: "4"
|
|
720
720
|
} : void 0,
|
|
721
|
+
e.$slots.optionSvg ? {
|
|
722
|
+
name: "optionSvg",
|
|
723
|
+
fn: L(() => [
|
|
724
|
+
A(e.$slots, "optionSvg", {}, void 0, !0)
|
|
725
|
+
]),
|
|
726
|
+
key: "5"
|
|
727
|
+
} : void 0,
|
|
721
728
|
e.$slots.optionTable ? {
|
|
722
729
|
name: "optionTable",
|
|
723
|
-
fn:
|
|
724
|
-
|
|
730
|
+
fn: L(() => [
|
|
731
|
+
A(e.$slots, "optionTable", {}, void 0, !0)
|
|
725
732
|
]),
|
|
726
|
-
key: "
|
|
733
|
+
key: "6"
|
|
727
734
|
} : void 0,
|
|
728
735
|
e.$slots.optionFullscreen ? {
|
|
729
736
|
name: "optionFullscreen",
|
|
730
|
-
fn:
|
|
731
|
-
|
|
737
|
+
fn: L(({ toggleFullscreen: o, isFullscreen: u }) => [
|
|
738
|
+
A(e.$slots, "optionFullscreen", u1(p1({ toggleFullscreen: o, isFullscreen: u })), void 0, !0)
|
|
732
739
|
]),
|
|
733
|
-
key: "
|
|
740
|
+
key: "7"
|
|
734
741
|
} : void 0,
|
|
735
742
|
e.$slots.optionAnnotator ? {
|
|
736
743
|
name: "optionAnnotator",
|
|
737
|
-
fn:
|
|
738
|
-
|
|
744
|
+
fn: L(({ toggleAnnotator: o, isAnnotator: u }) => [
|
|
745
|
+
A(e.$slots, "optionAnnotator", u1(p1({ toggleAnnotator: o, isAnnotator: u })), void 0, !0)
|
|
739
746
|
]),
|
|
740
|
-
key: "
|
|
747
|
+
key: "8"
|
|
741
748
|
} : void 0
|
|
742
749
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "callbacks", "hasTooltip", "hasPdf", "hasImg", "hasSvg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "chartElement", "position", "printScale", "isTooltip", "titles", "hasAnnotator", "isAnnotation", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : I("", !0),
|
|
743
750
|
(b(), S("svg", {
|
|
@@ -778,7 +785,7 @@ const $4 = {
|
|
|
778
785
|
pointerEvents: "none"
|
|
779
786
|
}
|
|
780
787
|
}, [
|
|
781
|
-
|
|
788
|
+
A(e.$slots, "chart-background", {}, void 0, !0)
|
|
782
789
|
], 8, E4)) : I("", !0),
|
|
783
790
|
C.value ? (b(), S("g", O4, [
|
|
784
791
|
j.value === "globe" ? (b(), S(h1, { key: 0 }, [
|
|
@@ -840,7 +847,7 @@ const $4 = {
|
|
|
840
847
|
]),
|
|
841
848
|
e.$slots.pattern ? (b(), S("g", V4, [
|
|
842
849
|
(b(!0), S(h1, null, m2(i1.value, (o, u) => (b(), S("defs", null, [
|
|
843
|
-
|
|
850
|
+
A(e.$slots, "pattern", d2({ ref_for: !0 }, { ...o, patternId: `pattern_${w.value}_${o.code}` }), void 0, !0)
|
|
844
851
|
]))), 256))
|
|
845
852
|
])) : I("", !0),
|
|
846
853
|
T("circle", {
|
|
@@ -898,7 +905,7 @@ const $4 = {
|
|
|
898
905
|
}, null, 8, e0)) : I("", !0)
|
|
899
906
|
], 64))), 128))
|
|
900
907
|
])) : I("", !0),
|
|
901
|
-
|
|
908
|
+
A(e.$slots, "svg", {
|
|
902
909
|
svg: {
|
|
903
910
|
height: K.value.height,
|
|
904
911
|
width: K.value.width
|
|
@@ -906,7 +913,7 @@ const $4 = {
|
|
|
906
913
|
}, void 0, !0)
|
|
907
914
|
], 46, G4)),
|
|
908
915
|
e.$slots.watermark ? (b(), S("div", t0, [
|
|
909
|
-
|
|
916
|
+
A(e.$slots, "watermark", u1(p1({ isPrinting: f(q1) || f(Q1) })), void 0, !0)
|
|
910
917
|
])) : I("", !0),
|
|
911
918
|
T("div", {
|
|
912
919
|
id: `legend-bottom-${w.value}`
|
|
@@ -926,7 +933,7 @@ const $4 = {
|
|
|
926
933
|
config: E2.value,
|
|
927
934
|
onClickMarker: a[0] || (a[0] = (o) => o2(o))
|
|
928
935
|
}, O1({
|
|
929
|
-
item:
|
|
936
|
+
item: L(({ legend: o, index: u }) => [
|
|
930
937
|
T("div", {
|
|
931
938
|
style: k1(`opacity:${V.value.includes(o.name) ? 0.5 : 1}`),
|
|
932
939
|
onClick: (P) => o.segregate()
|
|
@@ -936,7 +943,7 @@ const $4 = {
|
|
|
936
943
|
}, [
|
|
937
944
|
e.$slots.pattern ? {
|
|
938
945
|
name: "legend-pattern",
|
|
939
|
-
fn:
|
|
946
|
+
fn: L(({ legend: o, index: u }) => [
|
|
940
947
|
w1(T4, {
|
|
941
948
|
shape: o.shape,
|
|
942
949
|
radius: 30,
|
|
@@ -948,7 +955,7 @@ const $4 = {
|
|
|
948
955
|
key: "0"
|
|
949
956
|
} : void 0
|
|
950
957
|
]), 1032, ["legendSet", "config"])) : I("", !0),
|
|
951
|
-
|
|
958
|
+
A(e.$slots, "legend", { legend: G1.value }, void 0, !0)
|
|
952
959
|
], 512)) : I("", !0)
|
|
953
960
|
], 8, ["to"])) : I("", !0),
|
|
954
961
|
e.$slots.source ? (b(), S("div", {
|
|
@@ -957,7 +964,7 @@ const $4 = {
|
|
|
957
964
|
ref: a1,
|
|
958
965
|
dir: "auto"
|
|
959
966
|
}, [
|
|
960
|
-
|
|
967
|
+
A(e.$slots, "source", {}, void 0, !0)
|
|
961
968
|
], 512)) : I("", !0),
|
|
962
969
|
w1(f(r), {
|
|
963
970
|
show: R.value.showTooltip && H.value,
|
|
@@ -970,7 +977,7 @@ const $4 = {
|
|
|
970
977
|
backgroundOpacity: t.value.style.chart.tooltip.backgroundOpacity,
|
|
971
978
|
position: t.value.style.chart.tooltip.position,
|
|
972
979
|
offsetY: t.value.style.chart.tooltip.offsetY,
|
|
973
|
-
parent:
|
|
980
|
+
parent: $.value,
|
|
974
981
|
content: x1.value,
|
|
975
982
|
isCustom: d1.value,
|
|
976
983
|
isFullscreen: J.value,
|
|
@@ -979,11 +986,11 @@ const $4 = {
|
|
|
979
986
|
smoothForce: t.value.style.chart.tooltip.smoothForce,
|
|
980
987
|
smoothSnapThreshold: t.value.style.chart.tooltip.smoothSnapThreshold
|
|
981
988
|
}, {
|
|
982
|
-
"tooltip-before":
|
|
983
|
-
|
|
989
|
+
"tooltip-before": L(() => [
|
|
990
|
+
A(e.$slots, "tooltip-before", u1(p1({ ...B1.value })), void 0, !0)
|
|
984
991
|
]),
|
|
985
|
-
"tooltip-after":
|
|
986
|
-
|
|
992
|
+
"tooltip-after": L(() => [
|
|
993
|
+
A(e.$slots, "tooltip-after", u1(p1({ ...B1.value })), void 0, !0)
|
|
987
994
|
]),
|
|
988
995
|
_: 3
|
|
989
996
|
}, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom", "isFullscreen", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
|
|
@@ -992,7 +999,7 @@ const $4 = {
|
|
|
992
999
|
ref: y1,
|
|
993
1000
|
onClose: a2
|
|
994
1001
|
}), O1({
|
|
995
|
-
content:
|
|
1002
|
+
content: L(() => [
|
|
996
1003
|
(b(), X(f(n), {
|
|
997
1004
|
key: `table_${Q.value}`,
|
|
998
1005
|
colNames: F1.value.colNames,
|
|
@@ -1003,13 +1010,13 @@ const $4 = {
|
|
|
1003
1010
|
withCloseButton: !t.value.table.useDialog,
|
|
1004
1011
|
onClose: a2
|
|
1005
1012
|
}, {
|
|
1006
|
-
th:
|
|
1013
|
+
th: L(({ th: o }) => [
|
|
1007
1014
|
T("div", {
|
|
1008
1015
|
innerHTML: o,
|
|
1009
1016
|
style: { display: "flex", "align-items": "center" }
|
|
1010
1017
|
}, null, 8, n0)
|
|
1011
1018
|
]),
|
|
1012
|
-
td:
|
|
1019
|
+
td: L(({ td: o }) => [
|
|
1013
1020
|
T1(v1(o.name ? o.name : o.category ? o.category : f(v2)(
|
|
1014
1021
|
t.value.style.chart.dataLabels.formatter,
|
|
1015
1022
|
o,
|
|
@@ -1028,14 +1035,14 @@ const $4 = {
|
|
|
1028
1035
|
}, [
|
|
1029
1036
|
t.value.table.useDialog ? {
|
|
1030
1037
|
name: "title",
|
|
1031
|
-
fn:
|
|
1038
|
+
fn: L(() => [
|
|
1032
1039
|
T1(v1(g1.value.title), 1)
|
|
1033
1040
|
]),
|
|
1034
1041
|
key: "0"
|
|
1035
1042
|
} : void 0,
|
|
1036
1043
|
t.value.table.useDialog ? {
|
|
1037
1044
|
name: "actions",
|
|
1038
|
-
fn:
|
|
1045
|
+
fn: L(() => [
|
|
1039
1046
|
T("button", {
|
|
1040
1047
|
tabindex: "0",
|
|
1041
1048
|
class: "vue-ui-user-options-button",
|
|
@@ -1053,7 +1060,7 @@ const $4 = {
|
|
|
1053
1060
|
f(b2) ? (b(), X(b4, { key: 8 })) : I("", !0)
|
|
1054
1061
|
], 46, B4));
|
|
1055
1062
|
}
|
|
1056
|
-
}, v0 = /* @__PURE__ */ S4(r0, [["__scopeId", "data-v-
|
|
1063
|
+
}, v0 = /* @__PURE__ */ S4(r0, [["__scopeId", "data-v-d781bc6c"]]);
|
|
1057
1064
|
export {
|
|
1058
1065
|
v0 as default
|
|
1059
1066
|
};
|