vue-data-ui 3.17.5 → 3.17.7
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-BjeuEImy.js → PackageVersion-D7UsxIU3.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-bump.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.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-kpi.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-stackline.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.js +1 -1
- package/dist/style.css +1 -1
- package/dist/{vue-data-ui-sUtQffE5.js → vue-data-ui-Du_qkQyu.js} +60 -60
- package/dist/vue-data-ui.js +60 -60
- package/dist/{vue-ui-3d-bar-D9T1Rz8K.js → vue-ui-3d-bar-gIc1g60K.js} +1 -1
- package/dist/{vue-ui-age-pyramid-vHYpqVeE.js → vue-ui-age-pyramid-CRxbfWdY.js} +1 -1
- package/dist/{vue-ui-bullet-B-PfDV7g.js → vue-ui-bullet-BlEOUwNr.js} +1 -1
- package/dist/{vue-ui-bump-CpQyyxzJ.js → vue-ui-bump-Bs3e3KcI.js} +1 -1
- package/dist/{vue-ui-candlestick-B5wVhTFS.js → vue-ui-candlestick-BEGQhq-W.js} +1 -1
- package/dist/{vue-ui-carousel-table-BwrTmEUk.js → vue-ui-carousel-table-CuOUIIbO.js} +1 -1
- package/dist/{vue-ui-chestnut-DpwRmult.js → vue-ui-chestnut-1gHrx1-s.js} +1 -1
- package/dist/{vue-ui-chord-Co8hJS-b.js → vue-ui-chord-DOPm4RmH.js} +1 -1
- package/dist/{vue-ui-circle-pack-CF6Dgnfc.js → vue-ui-circle-pack-CI76sYNB.js} +1 -1
- package/dist/{vue-ui-cursor-DH_wY_tf.js → vue-ui-cursor-CGn-QDX9.js} +1 -1
- package/dist/{vue-ui-dag-DNbCfrdq.js → vue-ui-dag-LAYMq6km.js} +1 -1
- package/dist/{vue-ui-dashboard-BCpIGFXu.js → vue-ui-dashboard-CPQxEo42.js} +57 -57
- package/dist/{vue-ui-digits-D6ndc1-Y.js → vue-ui-digits-5t8TjeeS.js} +1 -1
- package/dist/{vue-ui-donut-CHDVQ77G.js → vue-ui-donut-BvopByst.js} +1 -1
- package/dist/{vue-ui-donut-evolution-BHGQCixS.js → vue-ui-donut-evolution-BGXBWuKg.js} +2 -2
- package/dist/{vue-ui-dumbbell-Bmr188oI.js → vue-ui-dumbbell-C5f56KQI.js} +1 -1
- package/dist/{vue-ui-flow-Bk4XhCzv.js → vue-ui-flow-BXaXVXas.js} +1 -1
- package/dist/{vue-ui-funnel-BrNSApwi.js → vue-ui-funnel-CsU05oj2.js} +2 -2
- package/dist/{vue-ui-galaxy-Q5iomgg7.js → vue-ui-galaxy-hjPGRUCf.js} +1 -1
- package/dist/{vue-ui-gauge-BaWqd5eR.js → vue-ui-gauge-CTqZJDCY.js} +1 -1
- package/dist/{vue-ui-geo-BvySgBl9.js → vue-ui-geo-BbIgbqV-.js} +1 -1
- package/dist/{vue-ui-gizmo-B9wHNMWI.js → vue-ui-gizmo-WFwz6fj6.js} +1 -1
- package/dist/{vue-ui-heatmap-CHmJrc5H.js → vue-ui-heatmap-DzrHrimV.js} +1 -1
- package/dist/{vue-ui-history-plot-DlDV_-XR.js → vue-ui-history-plot-DXQnRjJM.js} +1 -1
- package/dist/{vue-ui-horizontal-bar-DDj9N2Df.js → vue-ui-horizontal-bar-DG9_Wql8.js} +1 -1
- package/dist/{vue-ui-kpi-CT4lahy2.js → vue-ui-kpi-D-WCJhyF.js} +1 -1
- package/dist/{vue-ui-molecule-BiixieE_.js → vue-ui-molecule-DbXKNiG4.js} +1 -1
- package/dist/{vue-ui-mood-radar-DPBpYEDx.js → vue-ui-mood-radar-BQPBN4mA.js} +1 -1
- package/dist/{vue-ui-nested-donuts-DegYxm8S.js → vue-ui-nested-donuts-Csuw3C58.js} +1 -1
- package/dist/{vue-ui-onion-D4hRf3z7.js → vue-ui-onion-CDA_eWqE.js} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-DZ015lrs.js → vue-ui-parallel-coordinate-plot-CjPfE5uv.js} +1 -1
- package/dist/{vue-ui-quadrant-BG8B3jz-.js → vue-ui-quadrant-BP91bgJ2.js} +1 -1
- package/dist/{vue-ui-quick-chart-BzNfX1Ry.js → vue-ui-quick-chart-BECkCQV0.js} +1 -1
- package/dist/{vue-ui-radar-Bjl5EavN.js → vue-ui-radar-CEjKIwz2.js} +2 -2
- package/dist/{vue-ui-relation-circle-CK6hnanW.js → vue-ui-relation-circle-Ds9sdr-h.js} +1 -1
- package/dist/{vue-ui-ridgeline-ClC-DGEI.js → vue-ui-ridgeline-CaNrSWz1.js} +2 -2
- package/dist/{vue-ui-rings-BtDpfeuS.js → vue-ui-rings-LRiAx82U.js} +1 -1
- package/dist/{vue-ui-scatter-CnUnzVb4.js → vue-ui-scatter-jY8YHHIr.js} +1 -1
- package/dist/{vue-ui-skeleton-CWW9zQ2I.js → vue-ui-skeleton-DFCkA9d2.js} +1 -1
- package/dist/{vue-ui-spark-trend-DMTsPJrB.js → vue-ui-spark-trend-DV6s8MY4.js} +1 -1
- package/dist/{vue-ui-sparkbar-CNRgbyb6.js → vue-ui-sparkbar-6832jVNI.js} +1 -1
- package/dist/{vue-ui-sparkgauge-DXOELREA.js → vue-ui-sparkgauge-DkhMo6EH.js} +1 -1
- package/dist/{vue-ui-sparkhistogram-B83Tb5ee.js → vue-ui-sparkhistogram-DM2rWusY.js} +1 -1
- package/dist/{vue-ui-sparkline-PLYMeA9O.js → vue-ui-sparkline-xqwvE5D3.js} +1 -1
- package/dist/{vue-ui-sparkstackbar-C-UNOmDZ.js → vue-ui-sparkstackbar-DFQ5Cb2h.js} +1 -1
- package/dist/{vue-ui-stackbar-CcVtuQTN.js → vue-ui-stackbar-OUgzqXk4.js} +1 -1
- package/dist/{vue-ui-stackline-C6c2nPQM.js → vue-ui-stackline-BCXq29Jo.js} +1 -1
- package/dist/{vue-ui-strip-plot-iwjHwBgZ.js → vue-ui-strip-plot-BgztfGLm.js} +1 -1
- package/dist/{vue-ui-table-CfhBUYL5.js → vue-ui-table-B0AtIA3B.js} +2 -2
- package/dist/{vue-ui-table-sparkline-BZb8f2RN.js → vue-ui-table-sparkline-B1N0kuUe.js} +1 -1
- package/dist/{vue-ui-thermometer-CR4tSQWQ.js → vue-ui-thermometer-7FNwmAOQ.js} +1 -1
- package/dist/{vue-ui-timer-DubcPvRK.js → vue-ui-timer-CMrWGqdt.js} +1 -1
- package/dist/{vue-ui-tiremarks-CFnJT7Pn.js → vue-ui-tiremarks-Co1Z7Sqt.js} +1 -1
- package/dist/{vue-ui-treemap--bugssUn.js → vue-ui-treemap-CoAbOv9j.js} +423 -413
- package/dist/{vue-ui-waffle-K9ojC2iZ.js → vue-ui-waffle-DvDucxEW.js} +1 -1
- package/dist/{vue-ui-wheel-TgOkrNNt.js → vue-ui-wheel-ntU5t4mw.js} +1 -1
- package/dist/{vue-ui-word-cloud-B77SnVWg.js → vue-ui-word-cloud-Boqcvs5-.js} +1 -1
- package/dist/{vue-ui-world-Y0yBodxT.js → vue-ui-world-CSEx_65t.js} +1 -1
- package/dist/{vue-ui-xy-Cs4_NqXo.js → vue-ui-xy-CVbiS4kX.js} +4 -4
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineAsyncComponent as be, useSlots as rl, onMounted as ao, computed as
|
|
2
|
-
import { j as
|
|
1
|
+
import { defineAsyncComponent as be, useSlots as rl, onMounted as ao, computed as $, ref as g, shallowRef as se, toRefs as ul, watch as Ce, onBeforeUnmount as il, openBlock as c, createElementBlock as A, unref as m, normalizeStyle as he, normalizeClass as Ct, createElementVNode as N, toDisplayString as Ne, createBlock as Q, createCommentVNode as _, withCtx as T, renderSlot as b, normalizeProps as D, guardReactiveProps as B, createSlots as no, Fragment as xe, renderList as Re, withKeys as so, withModifiers as wt, mergeProps as kt, createVNode as Ze, createTextVNode as je, Teleport as cl, resolveDynamicComponent as dl, nextTick as ro } from "vue";
|
|
2
|
+
import { j as Ke, t as uo, m as vl, p as R, n as hl, ag as io, o as co, q as fl, s as fe, k as qe, l as ze, X as pl, x as vo, W as ho, T as fo, a0 as gl, a1 as yl, U as ml, az as bl } from "./lib-DMzrGQHK.js";
|
|
3
3
|
import { t as Cl, u as wl } from "./useResponsive-DfdjqQps.js";
|
|
4
4
|
import { u as kl } from "./useConfig-DTHxOX6V.js";
|
|
5
5
|
import { u as $l, B as Tl } from "./BaseScanner-C2j3TsSY.js";
|
|
@@ -24,14 +24,14 @@ function go(u, h) {
|
|
|
24
24
|
`Max aspect ratio cannot be computed: ${u} is an empty array`
|
|
25
25
|
);
|
|
26
26
|
{
|
|
27
|
-
let f = 1 / 0, v = -1 / 0,
|
|
28
|
-
for (let
|
|
29
|
-
const x = u[
|
|
30
|
-
x < f && (f = x), x > v && (v = x),
|
|
27
|
+
let f = 1 / 0, v = -1 / 0, C = 0;
|
|
28
|
+
for (let S = 0; S < d; S += 1) {
|
|
29
|
+
const x = u[S].normalizedValue;
|
|
30
|
+
x < f && (f = x), x > v && (v = x), C += x;
|
|
31
31
|
}
|
|
32
32
|
return Math.max(
|
|
33
|
-
h ** 2 * v /
|
|
34
|
-
|
|
33
|
+
h ** 2 * v / C ** 2,
|
|
34
|
+
C ** 2 / (h ** 2 * f)
|
|
35
35
|
);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
@@ -48,15 +48,15 @@ function zl(u, h, d) {
|
|
|
48
48
|
if (u.length === 0)
|
|
49
49
|
return !0;
|
|
50
50
|
{
|
|
51
|
-
const f = u.concat(h), v = go(u, d),
|
|
52
|
-
return v >=
|
|
51
|
+
const f = u.concat(h), v = go(u, d), C = go(f, d);
|
|
52
|
+
return v >= C;
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
function Dl(u) {
|
|
56
56
|
const h = [], d = u.length;
|
|
57
57
|
for (let f = 0; f < d; f += 1) {
|
|
58
|
-
const v = u[f],
|
|
59
|
-
for (let p = 0; p <
|
|
58
|
+
const v = u[f], C = v.length;
|
|
59
|
+
for (let p = 0; p < C; p += 1)
|
|
60
60
|
h.push(v[p]);
|
|
61
61
|
}
|
|
62
62
|
return h;
|
|
@@ -68,49 +68,49 @@ function Bl(u, h) {
|
|
|
68
68
|
};
|
|
69
69
|
return bo(d);
|
|
70
70
|
}
|
|
71
|
-
function
|
|
71
|
+
function Vl(u) {
|
|
72
72
|
return (u.x1 - u.x0) * (u.y1 - u.y0);
|
|
73
73
|
}
|
|
74
74
|
function mo(u, h) {
|
|
75
|
-
const { width: d, height: f, xOffset: v, yOffset:
|
|
76
|
-
let j = v, ee =
|
|
75
|
+
const { width: d, height: f, xOffset: v, yOffset: C } = Tt(h), p = u.length, S = u.map((w) => w.normalizedValue || 0).reduce((w, z) => w + z, 0), x = S / f, re = S / d;
|
|
76
|
+
let j = v, ee = C;
|
|
77
77
|
const U = [];
|
|
78
78
|
if (d >= f) {
|
|
79
|
-
for (let
|
|
80
|
-
const
|
|
79
|
+
for (let w = 0; w < p; w += 1) {
|
|
80
|
+
const z = u[w], te = ee + z.normalizedValue / x, ue = {
|
|
81
81
|
x0: j,
|
|
82
82
|
y0: ee,
|
|
83
83
|
x1: j + x,
|
|
84
84
|
y1: te
|
|
85
|
-
}, oe = Object.assign({},
|
|
85
|
+
}, oe = Object.assign({}, z, ue);
|
|
86
86
|
ee = te, U.push(oe);
|
|
87
87
|
}
|
|
88
88
|
return U;
|
|
89
89
|
} else {
|
|
90
|
-
for (let
|
|
91
|
-
const
|
|
90
|
+
for (let w = 0; w < p; w += 1) {
|
|
91
|
+
const z = u[w], te = j + z.normalizedValue / re, ue = {
|
|
92
92
|
x0: j,
|
|
93
93
|
y0: ee,
|
|
94
94
|
x1: te,
|
|
95
95
|
y1: ee + re
|
|
96
|
-
}, oe = Object.assign({},
|
|
96
|
+
}, oe = Object.assign({}, z, ue);
|
|
97
97
|
j = te, U.push(oe);
|
|
98
98
|
}
|
|
99
99
|
return U;
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
|
-
function
|
|
102
|
+
function Hl(u) {
|
|
103
103
|
const h = Tt(u), d = h.width, f = h.height;
|
|
104
104
|
return Math.min(d, f);
|
|
105
105
|
}
|
|
106
106
|
function El(u, h) {
|
|
107
|
-
const d = u.length, f = u.map((x) => x.value ?? 0).reduce((x, re) => x + re, 0), v = h / f,
|
|
108
|
-
let p,
|
|
107
|
+
const d = u.length, f = u.map((x) => x.value ?? 0).reduce((x, re) => x + re, 0), v = h / f, C = [];
|
|
108
|
+
let p, S;
|
|
109
109
|
for (let x = 0; x < d; x += 1)
|
|
110
|
-
|
|
111
|
-
normalizedValue:
|
|
112
|
-
}),
|
|
113
|
-
return
|
|
110
|
+
S = u[x], p = Object.assign({}, S, {
|
|
111
|
+
normalizedValue: S.value * (v || 0)
|
|
112
|
+
}), C.push(p);
|
|
113
|
+
return C;
|
|
114
114
|
}
|
|
115
115
|
function Tt(u) {
|
|
116
116
|
const { x0: h, y0: d, x1: f, y1: v } = u;
|
|
@@ -122,24 +122,24 @@ function Tt(u) {
|
|
|
122
122
|
};
|
|
123
123
|
}
|
|
124
124
|
function Ul(u, h, d, f) {
|
|
125
|
-
let v = u,
|
|
125
|
+
let v = u, C = h, p = d, S = f;
|
|
126
126
|
for (; ; ) {
|
|
127
127
|
const x = v.length;
|
|
128
128
|
if (x === 0) {
|
|
129
|
-
const U = mo(
|
|
130
|
-
return
|
|
129
|
+
const U = mo(C, p);
|
|
130
|
+
return S.concat(U);
|
|
131
131
|
}
|
|
132
|
-
const re =
|
|
133
|
-
if (zl(
|
|
134
|
-
const U =
|
|
135
|
-
v = ee,
|
|
132
|
+
const re = Hl(p), j = v[0], ee = v.slice(1, x);
|
|
133
|
+
if (zl(C, j, re)) {
|
|
134
|
+
const U = C.concat(j);
|
|
135
|
+
v = ee, C = U, p = p, S = S;
|
|
136
136
|
} else {
|
|
137
|
-
const U =
|
|
138
|
-
let
|
|
137
|
+
const U = C.length;
|
|
138
|
+
let w = 0;
|
|
139
139
|
for (let oe = 0; oe < U; oe += 1)
|
|
140
|
-
|
|
141
|
-
const
|
|
142
|
-
v = v,
|
|
140
|
+
w += C[oe].normalizedValue;
|
|
141
|
+
const z = Wl(p, w), te = mo(C, p), ue = S.concat(te);
|
|
142
|
+
v = v, C = [], p = z, S = ue;
|
|
143
143
|
}
|
|
144
144
|
}
|
|
145
145
|
}
|
|
@@ -147,28 +147,28 @@ function bo(u) {
|
|
|
147
147
|
if (typeof u.children > "u" || !u.children.length)
|
|
148
148
|
return [u];
|
|
149
149
|
{
|
|
150
|
-
const h = El(u.children,
|
|
150
|
+
const h = El(u.children, Vl(u)), d = Ul(h, [], u, []), f = d.length, v = [];
|
|
151
151
|
for (let p = 0; p < f; p += 1)
|
|
152
152
|
v.push(bo(d[p]));
|
|
153
153
|
return Dl(v);
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
156
|
function Wl(u, h) {
|
|
157
|
-
const { width: d, height: f, xOffset: v, yOffset:
|
|
157
|
+
const { width: d, height: f, xOffset: v, yOffset: C } = Tt(u);
|
|
158
158
|
if (d >= f) {
|
|
159
|
-
const p = h / f,
|
|
159
|
+
const p = h / f, S = d - p, x = {
|
|
160
160
|
xOffset: v + p,
|
|
161
|
-
yOffset:
|
|
162
|
-
width:
|
|
161
|
+
yOffset: C,
|
|
162
|
+
width: S,
|
|
163
163
|
height: f
|
|
164
164
|
};
|
|
165
165
|
return yo(x);
|
|
166
166
|
} else {
|
|
167
|
-
const p = h / d,
|
|
167
|
+
const p = h / d, S = f - p, x = {
|
|
168
168
|
xOffset: v,
|
|
169
|
-
yOffset:
|
|
169
|
+
yOffset: C + p,
|
|
170
170
|
width: d,
|
|
171
|
-
height:
|
|
171
|
+
height: S
|
|
172
172
|
};
|
|
173
173
|
return yo(x);
|
|
174
174
|
}
|
|
@@ -213,21 +213,21 @@ const Xl = ["id"], Gl = ["id"], Yl = ["id"], Zl = ["tabindex", "onClick", "onKey
|
|
|
213
213
|
setup(u, { expose: h, emit: d }) {
|
|
214
214
|
const f = be(() => import("./DataTable-cMnb68Ik.js")), v = be(
|
|
215
215
|
() => import("./PenAndPaper-CJDoB5H9.js")
|
|
216
|
-
),
|
|
216
|
+
), C = be(() => import("./vue-ui-accordion-BHmfmb_6.js")), p = be(() => import("./Tooltip-Cvt7Fi0Q.js")), S = be(
|
|
217
217
|
() => import("./UserOptions-DVduN6X7.js")
|
|
218
218
|
), x = be(
|
|
219
|
-
() => import("./PackageVersion-
|
|
219
|
+
() => import("./PackageVersion-D7UsxIU3.js")
|
|
220
220
|
), re = be(
|
|
221
221
|
() => import("./BaseDraggableDialog-Di8Hlru3.js")
|
|
222
|
-
), { vue_ui_treemap: j } = kl(), { isThemeValid: ee, warnInvalidTheme: U } = Sl(),
|
|
222
|
+
), { vue_ui_treemap: j } = kl(), { isThemeValid: ee, warnInvalidTheme: U } = Sl(), w = u, z = d, te = rl();
|
|
223
223
|
ao(() => {
|
|
224
224
|
te["chart-background"] && console.warn(
|
|
225
225
|
"VueUiTreemap does not support the #chart-background slot."
|
|
226
226
|
);
|
|
227
227
|
});
|
|
228
|
-
const ue =
|
|
228
|
+
const ue = $(() => !!w.dataset && w.dataset.length), oe = $(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent)), W = g(Ke()), Ae = g(!1), Je = g(""), pe = g(!1), xt = g(0), P = g([]), K = se(null), At = se(null), St = se(null), It = se(null), Mt = se(null), Ot = g(0), De = g(0), Be = g(0), V = g([]), Qe = g(null), Pt = g(!1), Se = g(null), et = g(null), _t = g(null), tt = g(/* @__PURE__ */ new Map()), Ve = g(!1), He = g(!1), le = g(null), Lt = g({ x: 0, y: 0 }), Ie = g("pointer"), ot = g(!1), t = g(nt()), ie = $(
|
|
229
229
|
() => t.value.userOptions.useCursorPointer
|
|
230
|
-
), Co =
|
|
230
|
+
), Co = $(() => uo({
|
|
231
231
|
defaultConfig: {
|
|
232
232
|
userOptions: { show: !1 },
|
|
233
233
|
style: {
|
|
@@ -248,11 +248,11 @@ const Xl = ["id"], Gl = ["id"], Yl = ["id"], Zl = ["tabindex", "onClick", "onKey
|
|
|
248
248
|
}
|
|
249
249
|
},
|
|
250
250
|
userConfig: t.value.skeletonConfig ?? {}
|
|
251
|
-
})), { loading: ge, FINAL_DATASET:
|
|
252
|
-
...ul(
|
|
251
|
+
})), { loading: ge, FINAL_DATASET: lt, manualLoading: wo } = $l({
|
|
252
|
+
...ul(w),
|
|
253
253
|
FINAL_CONFIG: t,
|
|
254
|
-
prepareConfig:
|
|
255
|
-
skeletonDataset:
|
|
254
|
+
prepareConfig: nt,
|
|
255
|
+
skeletonDataset: w.config?.skeletonDataset ?? [
|
|
256
256
|
{
|
|
257
257
|
name: "_",
|
|
258
258
|
value: 53,
|
|
@@ -272,41 +272,41 @@ const Xl = ["id"], Gl = ["id"], Yl = ["id"], Zl = ["tabindex", "onClick", "onKey
|
|
|
272
272
|
defaultConfig: t.value,
|
|
273
273
|
userConfig: Co.value
|
|
274
274
|
})
|
|
275
|
-
}), { userOptionsVisible:
|
|
275
|
+
}), { userOptionsVisible: at, setUserOptionsVisibility: Ft, keepUserOptionState: Nt } = Il({ config: t.value }), { svgRef: ye } = Ml({
|
|
276
276
|
config: t.value.style.chart.title
|
|
277
277
|
});
|
|
278
|
-
function
|
|
278
|
+
function nt() {
|
|
279
279
|
const e = $t({
|
|
280
|
-
userConfig:
|
|
280
|
+
userConfig: w.config,
|
|
281
281
|
defaultConfig: j
|
|
282
282
|
}), l = e.theme;
|
|
283
283
|
if (!l) return e;
|
|
284
284
|
if (!ee.value(e))
|
|
285
285
|
return U(e), e;
|
|
286
286
|
const o = $t({
|
|
287
|
-
userConfig: _l[l] ||
|
|
287
|
+
userConfig: _l[l] || w.config,
|
|
288
288
|
defaultConfig: e
|
|
289
289
|
}), a = $t({
|
|
290
|
-
userConfig:
|
|
290
|
+
userConfig: w.config,
|
|
291
291
|
defaultConfig: o
|
|
292
292
|
});
|
|
293
293
|
return {
|
|
294
294
|
...a,
|
|
295
|
-
customPalette: a.customPalette.length ? a.customPalette : vl[l] ||
|
|
295
|
+
customPalette: a.customPalette.length ? a.customPalette : vl[l] || R
|
|
296
296
|
};
|
|
297
297
|
}
|
|
298
298
|
Ce(
|
|
299
|
-
() =>
|
|
299
|
+
() => w.config,
|
|
300
300
|
(e) => {
|
|
301
|
-
ge.value || (t.value =
|
|
301
|
+
ge.value || (t.value = nt()), at.value = !t.value.userOptions.showOnChartHover, Ot.value += 1, De.value += 1, Be.value += 1, X.value.showTable = t.value.table.show, X.value.showTooltip = t.value.style.chart.tooltip.show;
|
|
302
302
|
},
|
|
303
303
|
{ deep: !0 }
|
|
304
304
|
);
|
|
305
|
-
const { isPrinting:
|
|
305
|
+
const { isPrinting: st, isImaging: rt, generatePdf: Rt, generateImage: zt } = xl({
|
|
306
306
|
elementId: `treemap_${W.value}`,
|
|
307
307
|
fileName: t.value.style.chart.title.text || "vue-ui-treemap",
|
|
308
308
|
options: t.value.userOptions.print
|
|
309
|
-
}), ko =
|
|
309
|
+
}), ko = $(() => t.value.userOptions.show && !t.value.style.chart.title.text), Me = $(() => hl(t.value.customPalette)), X = g({
|
|
310
310
|
showTable: t.value.table.show,
|
|
311
311
|
showTooltip: t.value.style.chart.tooltip.show
|
|
312
312
|
});
|
|
@@ -331,11 +331,11 @@ const Xl = ["id"], Gl = ["id"], Yl = ["id"], Zl = ["tabindex", "onClick", "onKey
|
|
|
331
331
|
return e * (o / a.height);
|
|
332
332
|
}
|
|
333
333
|
function To() {
|
|
334
|
-
if (!
|
|
335
|
-
const e =
|
|
334
|
+
if (!Qe.value || ae.value.length <= 1) return 0;
|
|
335
|
+
const e = Qe.value, l = getComputedStyle(e), o = e.offsetHeight + parseFloat(l.marginTop || "0") + parseFloat(l.marginBottom || "0") + parseFloat(l.paddingTop || "0") + parseFloat(l.paddingBottom || "0");
|
|
336
336
|
return $o(o);
|
|
337
337
|
}
|
|
338
|
-
const
|
|
338
|
+
const Y = $(() => {
|
|
339
339
|
const e = t.value.style.chart.padding, l = me.value.width, o = me.value.height, a = To(), n = e.left, s = l - e.right, r = e.top, k = o - e.bottom - a;
|
|
340
340
|
return {
|
|
341
341
|
left: n,
|
|
@@ -348,46 +348,46 @@ const Xl = ["id"], Gl = ["id"], Yl = ["id"], Zl = ["tabindex", "onClick", "onKey
|
|
|
348
348
|
vbHeight: o - a,
|
|
349
349
|
offsetY: a
|
|
350
350
|
};
|
|
351
|
-
}), E = g(io(
|
|
351
|
+
}), E = g(io(lt.value)), q = g(E.value), ut = se(/* @__PURE__ */ new Map());
|
|
352
352
|
Ce(
|
|
353
353
|
[E, () => t.value],
|
|
354
354
|
() => {
|
|
355
|
-
_t.value = null,
|
|
355
|
+
_t.value = null, tt.value = /* @__PURE__ */ new Map();
|
|
356
356
|
},
|
|
357
357
|
{ deep: !0 }
|
|
358
358
|
), Ce(
|
|
359
359
|
() => P.value,
|
|
360
360
|
() => {
|
|
361
|
-
_t.value = null,
|
|
361
|
+
_t.value = null, tt.value = /* @__PURE__ */ new Map(), Vt(), Be.value += 1, De.value += 1;
|
|
362
362
|
},
|
|
363
363
|
{ deep: !0 }
|
|
364
364
|
), Ce(
|
|
365
365
|
[() => me.value.width, () => me.value.height],
|
|
366
366
|
() => {
|
|
367
|
-
|
|
367
|
+
tt.value = /* @__PURE__ */ new Map();
|
|
368
368
|
}
|
|
369
369
|
);
|
|
370
370
|
function Dt(e) {
|
|
371
371
|
Array.isArray(e) && e.forEach((l, o) => {
|
|
372
|
-
l.id || (l.id =
|
|
373
|
-
let a = l.sourceColor ||
|
|
374
|
-
a = fe(a),
|
|
372
|
+
l.id || (l.id = Ke()), l.sourceColor === void 0 && (l.sourceColor = fe(l.color) || null);
|
|
373
|
+
let a = l.sourceColor || ut.value.get(l.id) || Me.value[o] || R[o] || R[o % R.length];
|
|
374
|
+
a = fe(a), ut.value.set(l.id, a), l.color = a, Bt(l, a);
|
|
375
375
|
});
|
|
376
376
|
}
|
|
377
377
|
function Bt(e, l) {
|
|
378
378
|
Array.isArray(e.children) && e.children.forEach((o) => {
|
|
379
|
-
o.id || (o.id =
|
|
379
|
+
o.id || (o.id = Ke()), o.parentId = e.id, o.sourceColor === void 0 && (o.sourceColor = fe(o.color) || null);
|
|
380
380
|
const a = o.sourceColor || l;
|
|
381
381
|
o.color = a, Bt(o, a);
|
|
382
382
|
});
|
|
383
383
|
}
|
|
384
384
|
function xo(e) {
|
|
385
|
-
let l =
|
|
385
|
+
let l = Z(e);
|
|
386
386
|
for (; l?.parentId; )
|
|
387
|
-
l =
|
|
387
|
+
l = Z(l.parentId);
|
|
388
388
|
return l?.id ?? null;
|
|
389
389
|
}
|
|
390
|
-
function
|
|
390
|
+
function Vt() {
|
|
391
391
|
const e = E.value.filter(
|
|
392
392
|
(n) => !P.value.includes(n.id)
|
|
393
393
|
);
|
|
@@ -395,7 +395,7 @@ const Xl = ["id"], Gl = ["id"], Yl = ["id"], Zl = ["tabindex", "onClick", "onKey
|
|
|
395
395
|
q.value = e;
|
|
396
396
|
return;
|
|
397
397
|
}
|
|
398
|
-
const l = V.value[V.value.length - 1], o =
|
|
398
|
+
const l = V.value[V.value.length - 1], o = Z(l);
|
|
399
399
|
if (!o) {
|
|
400
400
|
V.value = [], q.value = e;
|
|
401
401
|
return;
|
|
@@ -408,9 +408,9 @@ const Xl = ["id"], Gl = ["id"], Yl = ["id"], Zl = ["tabindex", "onClick", "onKey
|
|
|
408
408
|
q.value = [o];
|
|
409
409
|
}
|
|
410
410
|
Ce(
|
|
411
|
-
() =>
|
|
411
|
+
() => lt.value,
|
|
412
412
|
() => {
|
|
413
|
-
E.value = io(
|
|
413
|
+
E.value = io(lt.value), Dt(E.value), Vt(), Be.value += 1, De.value += 1;
|
|
414
414
|
},
|
|
415
415
|
{ deep: !0, immediate: !0, flush: "post" }
|
|
416
416
|
);
|
|
@@ -418,13 +418,13 @@ const Xl = ["id"], Gl = ["id"], Yl = ["id"], Zl = ["tabindex", "onClick", "onKey
|
|
|
418
418
|
ao(() => {
|
|
419
419
|
Pt.value = !0, So();
|
|
420
420
|
});
|
|
421
|
-
const Ao =
|
|
421
|
+
const Ao = $(() => t.value.debug);
|
|
422
422
|
function So() {
|
|
423
|
-
if (co(
|
|
423
|
+
if (co(w.dataset) && fl({
|
|
424
424
|
componentName: "VueUiTreemap",
|
|
425
425
|
type: "dataset",
|
|
426
426
|
debug: Ao.value
|
|
427
|
-
}), Dt(E.value), co(
|
|
427
|
+
}), Dt(E.value), co(w.dataset) || (wo.value = t.value.loading), t.value.responsive) {
|
|
428
428
|
const e = Cl(() => {
|
|
429
429
|
const { width: l, height: o } = wl({
|
|
430
430
|
chart: K.value,
|
|
@@ -443,12 +443,12 @@ const Xl = ["id"], Gl = ["id"], Yl = ["id"], Zl = ["tabindex", "onClick", "onKey
|
|
|
443
443
|
il(() => {
|
|
444
444
|
ce.value && (we.value && ce.value.unobserve(we.value), ce.value.disconnect());
|
|
445
445
|
});
|
|
446
|
-
const Oe =
|
|
446
|
+
const Oe = $(() => q.value.map((e, l) => ({
|
|
447
447
|
...e,
|
|
448
|
-
color: fe(e.color) || Me.value[l] ||
|
|
449
|
-
})).filter((e) => !P.value.includes(e.id))), ke =
|
|
448
|
+
color: fe(e.color) || Me.value[l] || R[l] || R[l % R.length]
|
|
449
|
+
})).filter((e) => !P.value.includes(e.id))), ke = $(
|
|
450
450
|
() => E.value.filter((e) => !P.value.includes(e.id)).map((e) => e.value || 0).reduce((e, l) => e + l, 0)
|
|
451
|
-
),
|
|
451
|
+
), Ht = $({
|
|
452
452
|
get() {
|
|
453
453
|
let e = [...Oe.value];
|
|
454
454
|
return t.value.style.chart.layout.sorted && (e = [...Oe.value].sort((l, o) => o.value - l.value)), e.map((l) => ({
|
|
@@ -480,84 +480,84 @@ const Xl = ["id"], Gl = ["id"], Yl = ["id"], Zl = ["tabindex", "onClick", "onKey
|
|
|
480
480
|
}
|
|
481
481
|
function Xt(e, l, o, a, n) {
|
|
482
482
|
return Io(e).map((r, k) => {
|
|
483
|
-
const
|
|
484
|
-
(
|
|
483
|
+
const I = r.sourceColor || fe(r.color) || fe(l) || Me.value[k] || R[k] || R[k % R.length], i = r.sourceColor ? r.sourceColor : Ut(I, r, a), y = Et(r, a), M = n ?? r.parentId ?? r.id, L = Array.isArray(r.children) && r.children.length && r.children.reduce(
|
|
484
|
+
(H, G) => H + (Number(G.value) || 0),
|
|
485
485
|
0
|
|
486
486
|
) || 1;
|
|
487
487
|
return {
|
|
488
488
|
...r,
|
|
489
489
|
color: i,
|
|
490
|
-
proportion:
|
|
490
|
+
proportion: y,
|
|
491
491
|
parentName: o,
|
|
492
|
-
rootId:
|
|
492
|
+
rootId: M,
|
|
493
493
|
children: Array.isArray(r.children) && r.children.length ? Xt(
|
|
494
494
|
r.children,
|
|
495
|
-
|
|
495
|
+
I,
|
|
496
496
|
r.name,
|
|
497
|
-
|
|
498
|
-
|
|
497
|
+
L,
|
|
498
|
+
M
|
|
499
499
|
) : void 0
|
|
500
500
|
};
|
|
501
501
|
});
|
|
502
502
|
}
|
|
503
503
|
function Mo(e) {
|
|
504
|
-
const l =
|
|
505
|
-
return
|
|
504
|
+
const l = ct(e), o = it(e), a = l * 0.55, n = l * 0.55, s = l * 1.05, r = l * 1.05, k = l * 0.35, I = o ? s + r + k : l * 0.45, i = e.x0 + a, y = e.x1 - a, M = e.y0 + I, L = e.y1 - n;
|
|
505
|
+
return y <= i || L <= M ? null : { x0: i, y0: M, x1: y, y1: L };
|
|
506
506
|
}
|
|
507
|
-
function
|
|
508
|
-
const { height: l, lineHeight: o, width: a } =
|
|
507
|
+
function it(e) {
|
|
508
|
+
const { height: l, lineHeight: o, width: a } = Ye(e);
|
|
509
509
|
return l >= o && a > 6;
|
|
510
510
|
}
|
|
511
511
|
function Gt(e, l, o = 0, a = null) {
|
|
512
512
|
if (!Array.isArray(e) || !e.length) return [];
|
|
513
513
|
const n = e.map((i) => {
|
|
514
|
-
const { children:
|
|
514
|
+
const { children: y, ...M } = i;
|
|
515
515
|
return {
|
|
516
|
-
...
|
|
516
|
+
...M
|
|
517
517
|
};
|
|
518
518
|
}), s = new Map(
|
|
519
519
|
e.map((i) => [
|
|
520
520
|
i.id,
|
|
521
521
|
Array.isArray(i.children) ? i.children : []
|
|
522
522
|
])
|
|
523
|
-
), r = new Map(e.map((i) => [i.id, i])), k = Bl(n, l),
|
|
523
|
+
), r = new Map(e.map((i) => [i.id, i])), k = Bl(n, l), I = [];
|
|
524
524
|
for (const i of k) {
|
|
525
|
-
const
|
|
525
|
+
const y = s.get(i.id) || [], M = r.get(i.id), L = {
|
|
526
526
|
...i,
|
|
527
527
|
depth: o,
|
|
528
528
|
parentId: a ?? i.parentId ?? null,
|
|
529
|
-
color:
|
|
530
|
-
children:
|
|
529
|
+
color: M?.color ?? i.color ?? null,
|
|
530
|
+
children: y,
|
|
531
531
|
isVisibleNode: !0,
|
|
532
|
-
showLabel:
|
|
532
|
+
showLabel: it(i)
|
|
533
533
|
};
|
|
534
|
-
if (
|
|
535
|
-
const
|
|
536
|
-
|
|
534
|
+
if (I.push(L), y.length) {
|
|
535
|
+
const H = Mo(L);
|
|
536
|
+
H && I.push(
|
|
537
537
|
...Gt(
|
|
538
|
-
|
|
539
|
-
|
|
538
|
+
y,
|
|
539
|
+
H,
|
|
540
540
|
o + 1,
|
|
541
541
|
i.id
|
|
542
542
|
)
|
|
543
543
|
);
|
|
544
544
|
}
|
|
545
545
|
}
|
|
546
|
-
return
|
|
546
|
+
return I;
|
|
547
547
|
}
|
|
548
|
-
const Oo =
|
|
549
|
-
const e = q.value.length ? q.value :
|
|
548
|
+
const Oo = $(() => {
|
|
549
|
+
const e = q.value.length ? q.value : Ht.value, l = e.map((n) => Number(n.value) || 0).reduce((n, s) => n + s, 0) || 1, o = e.map((n, s) => {
|
|
550
550
|
const r = n.children ? n.children.reduce(
|
|
551
|
-
(
|
|
551
|
+
(M, L) => M + (Number(L.value) || 0),
|
|
552
552
|
0
|
|
553
|
-
) : n.value, { children: k, ...
|
|
553
|
+
) : n.value, { children: k, ...I } = n, i = n.sourceColor || fe(n.color) || ut.value.get(n.id) || Me.value[s] || R[s] || R[s % R.length], y = n.sourceColor ? n.sourceColor : Ut(i, n, l);
|
|
554
554
|
return {
|
|
555
|
-
...
|
|
556
|
-
id: n.id ||
|
|
555
|
+
...I,
|
|
556
|
+
id: n.id || Ke(),
|
|
557
557
|
parentId: n.parentId ?? null,
|
|
558
558
|
name: n.name,
|
|
559
559
|
value: n.value,
|
|
560
|
-
color:
|
|
560
|
+
color: y,
|
|
561
561
|
proportion: (Number(n.value) || 0) / l,
|
|
562
562
|
children: Array.isArray(n.children) && n.children.length ? Xt(
|
|
563
563
|
n.children,
|
|
@@ -567,49 +567,49 @@ const Xl = ["id"], Gl = ["id"], Yl = ["id"], Zl = ["tabindex", "onClick", "onKey
|
|
|
567
567
|
) : void 0
|
|
568
568
|
};
|
|
569
569
|
}), a = {
|
|
570
|
-
x0:
|
|
571
|
-
y0:
|
|
572
|
-
x1:
|
|
573
|
-
y1:
|
|
570
|
+
x0: Y.value.left,
|
|
571
|
+
y0: Y.value.top,
|
|
572
|
+
x1: Y.value.left + Y.value.width,
|
|
573
|
+
y1: Y.value.top + Y.value.height
|
|
574
574
|
};
|
|
575
575
|
return Gt(o, a);
|
|
576
|
-
}), O =
|
|
576
|
+
}), O = $(() => Oo.value);
|
|
577
577
|
function de({ y0: e, y1: l }) {
|
|
578
578
|
return l - e <= 0 ? 1e-4 : l - e;
|
|
579
579
|
}
|
|
580
580
|
function ve({ x0: e, x1: l }) {
|
|
581
581
|
return l - e <= 0 ? 1e-4 : l - e;
|
|
582
582
|
}
|
|
583
|
-
function
|
|
584
|
-
const l = t.value.style.chart.layout.labels, o = l.fontSize, a = l.minFontSize, n = l.fontSize * 2, s = 0.5, r = 0.6, k = 1,
|
|
583
|
+
function ct(e) {
|
|
584
|
+
const l = t.value.style.chart.layout.labels, o = l.fontSize, a = l.minFontSize, n = l.fontSize * 2, s = 0.5, r = 0.6, k = 1, I = 0.9;
|
|
585
585
|
let i = e.proportion;
|
|
586
586
|
if (!(typeof i == "number" && isFinite(i))) {
|
|
587
|
-
const nl = Math.max(1e-6, ve(e) * de(e)), sl = Math.max(1e-6,
|
|
587
|
+
const nl = Math.max(1e-6, ve(e) * de(e)), sl = Math.max(1e-6, Y.value.width * Y.value.height);
|
|
588
588
|
i = nl / sl;
|
|
589
589
|
}
|
|
590
|
-
const
|
|
590
|
+
const y = Math.pow(
|
|
591
591
|
Math.min(1, Math.max(0, i)),
|
|
592
592
|
s
|
|
593
|
-
),
|
|
594
|
-
let
|
|
595
|
-
const
|
|
596
|
-
return
|
|
593
|
+
), M = r + (k - r) * y, L = Math.max(0, Number(e.depth) || 0), H = Math.pow(0.9, L);
|
|
594
|
+
let G = o * M * H;
|
|
595
|
+
const bt = Math.max(1e-4, Math.min(ve(e), de(e)));
|
|
596
|
+
return G = Math.min(G, bt * I), G = Math.min(G, n), G = Math.max(a, G), G;
|
|
597
597
|
}
|
|
598
598
|
function Yt(e) {
|
|
599
599
|
pe.value = e, xt.value += 1;
|
|
600
600
|
}
|
|
601
|
-
const J =
|
|
601
|
+
const J = $(() => ({
|
|
602
602
|
startX: 0,
|
|
603
603
|
startY: 0,
|
|
604
|
-
width:
|
|
605
|
-
height:
|
|
604
|
+
width: Y.value.vbWidth,
|
|
605
|
+
height: Y.value.vbHeight
|
|
606
606
|
}));
|
|
607
|
-
function
|
|
607
|
+
function Z(e, l = E.value) {
|
|
608
608
|
for (const o of l) {
|
|
609
609
|
if (o.id === e)
|
|
610
610
|
return o;
|
|
611
611
|
if (o.children) {
|
|
612
|
-
const a =
|
|
612
|
+
const a = Z(e, o.children);
|
|
613
613
|
if (a)
|
|
614
614
|
return a;
|
|
615
615
|
}
|
|
@@ -618,74 +618,74 @@ const Xl = ["id"], Gl = ["id"], Yl = ["id"], Zl = ["tabindex", "onClick", "onKey
|
|
|
618
618
|
}
|
|
619
619
|
function Zt(e) {
|
|
620
620
|
const l = [];
|
|
621
|
-
let o =
|
|
621
|
+
let o = Z(e);
|
|
622
622
|
for (; o && o.parentId; ) {
|
|
623
|
-
const a =
|
|
623
|
+
const a = Z(o.parentId);
|
|
624
624
|
if (!a) break;
|
|
625
625
|
l.unshift(a.id), o = a;
|
|
626
626
|
}
|
|
627
627
|
return l;
|
|
628
628
|
}
|
|
629
|
-
const Pe =
|
|
630
|
-
function
|
|
631
|
-
q.value = E.value.slice(), V.value = [],
|
|
629
|
+
const Pe = $(() => V.value.length > 0);
|
|
630
|
+
function Ee() {
|
|
631
|
+
q.value = E.value.slice(), V.value = [], z("selectDatapoint", void 0);
|
|
632
632
|
}
|
|
633
|
-
function
|
|
633
|
+
function dt() {
|
|
634
634
|
return V.value[V.value.length - 1] ?? null;
|
|
635
635
|
}
|
|
636
636
|
function Po(e, l, o) {
|
|
637
637
|
V.value = [...Zt(e.id), e.id], q.value = [e], t.value.events.datapointClick && t.value.events.datapointClick({
|
|
638
638
|
datapoint: l ?? e,
|
|
639
639
|
seriesIndex: o
|
|
640
|
-
}),
|
|
640
|
+
}), z("selectDatapoint", l ?? e);
|
|
641
641
|
}
|
|
642
642
|
function _o(e, l) {
|
|
643
|
-
const o =
|
|
643
|
+
const o = dt();
|
|
644
644
|
if (!o) {
|
|
645
|
-
|
|
645
|
+
Ee();
|
|
646
646
|
return;
|
|
647
647
|
}
|
|
648
|
-
const a =
|
|
648
|
+
const a = Z(o);
|
|
649
649
|
if (!a?.parentId) {
|
|
650
650
|
t.value.events.datapointClick && t.value.events.datapointClick({
|
|
651
651
|
datapoint: e,
|
|
652
652
|
seriesIndex: l
|
|
653
|
-
}),
|
|
653
|
+
}), Ee();
|
|
654
654
|
return;
|
|
655
655
|
}
|
|
656
|
-
const n =
|
|
656
|
+
const n = Z(a.parentId);
|
|
657
657
|
if (!n) {
|
|
658
|
-
|
|
658
|
+
Ee();
|
|
659
659
|
return;
|
|
660
660
|
}
|
|
661
661
|
V.value = [...Zt(n.id), n.id], q.value = [n], t.value.events.datapointClick && t.value.events.datapointClick({
|
|
662
662
|
datapoint: e,
|
|
663
663
|
seriesIndex: l
|
|
664
|
-
}),
|
|
664
|
+
}), z("selectDatapoint", e);
|
|
665
665
|
}
|
|
666
666
|
function _e(e, l) {
|
|
667
667
|
if (!e) {
|
|
668
|
-
|
|
668
|
+
Ee();
|
|
669
669
|
return;
|
|
670
670
|
}
|
|
671
|
-
const o =
|
|
671
|
+
const o = Z(e.id);
|
|
672
672
|
if (!o) return;
|
|
673
|
-
if (
|
|
673
|
+
if (dt() === o.id) {
|
|
674
674
|
_o(e, l);
|
|
675
675
|
return;
|
|
676
676
|
}
|
|
677
677
|
Po(o, e, l);
|
|
678
678
|
}
|
|
679
679
|
function Lo(e) {
|
|
680
|
-
return e ?
|
|
680
|
+
return e ? dt() === e.id : !1;
|
|
681
681
|
}
|
|
682
|
-
const ae =
|
|
682
|
+
const ae = $(() => {
|
|
683
683
|
const e = [{ id: null, label: "All" }];
|
|
684
684
|
if (V.value.length > 0) {
|
|
685
|
-
let l =
|
|
685
|
+
let l = Z(V.value[V.value.length - 1]);
|
|
686
686
|
const o = [];
|
|
687
687
|
for (; l; )
|
|
688
|
-
o.unshift(l), l = l.parentId ?
|
|
688
|
+
o.unshift(l), l = l.parentId ? Z(l.parentId) : null;
|
|
689
689
|
for (const a of o)
|
|
690
690
|
e.push({
|
|
691
691
|
id: a.id,
|
|
@@ -694,9 +694,9 @@ const Xl = ["id"], Gl = ["id"], Yl = ["id"], Zl = ["tabindex", "onClick", "onKey
|
|
|
694
694
|
});
|
|
695
695
|
}
|
|
696
696
|
return e;
|
|
697
|
-
}),
|
|
697
|
+
}), F = se(null), $e = $(() => E.value.map((e, l) => ({
|
|
698
698
|
...e,
|
|
699
|
-
color: fe(e.color) || Me.value[l] ||
|
|
699
|
+
color: fe(e.color) || Me.value[l] || R[l] || R[l % R.length],
|
|
700
700
|
shape: "square"
|
|
701
701
|
})).sort((e, l) => l.value - e.value).map((e, l) => {
|
|
702
702
|
const o = e.value / E.value.map((a) => a.value).reduce((a, n) => a + n, 0);
|
|
@@ -704,10 +704,10 @@ const Xl = ["id"], Gl = ["id"], Yl = ["id"], Zl = ["tabindex", "onClick", "onKey
|
|
|
704
704
|
...e,
|
|
705
705
|
proportion: o,
|
|
706
706
|
opacity: P.value.includes(e.id) ? 0.5 : 1,
|
|
707
|
-
display: `${e.name}${t.value.style.chart.legend.showPercentage || t.value.style.chart.legend.showValue ? ": " : ""}${t.value.style.chart.legend.showValue ?
|
|
707
|
+
display: `${e.name}${t.value.style.chart.legend.showPercentage || t.value.style.chart.legend.showValue ? ": " : ""}${t.value.style.chart.legend.showValue ? qe(
|
|
708
708
|
t.value.style.chart.layout.labels.formatter,
|
|
709
709
|
e.value,
|
|
710
|
-
|
|
710
|
+
ze({
|
|
711
711
|
p: t.value.style.chart.layout.labels.prefix,
|
|
712
712
|
v: e.value,
|
|
713
713
|
s: t.value.style.chart.layout.labels.suffix,
|
|
@@ -716,14 +716,14 @@ const Xl = ["id"], Gl = ["id"], Yl = ["id"], Zl = ["tabindex", "onClick", "onKey
|
|
|
716
716
|
{ datapoint: e }
|
|
717
717
|
) : ""}${t.value.style.chart.legend.showPercentage ? P.value.includes(e.id) ? `${t.value.style.chart.legend.showValue ? " (" : ""}- %${t.value.style.chart.legend.showValue ? ")" : ""}` : `${t.value.style.chart.legend.showValue ? " (" : ""}${isNaN(e.value / ke.value) ? "-" : (e.value / ke.value * 100).toFixed(t.value.style.chart.legend.roundingPercentage)}%${t.value.style.chart.legend.showValue ? ")" : ""}` : ""}`
|
|
718
718
|
};
|
|
719
|
-
})), Fo =
|
|
719
|
+
})), Fo = $(() => ({
|
|
720
720
|
cy: "treemap-div-legend",
|
|
721
721
|
backgroundColor: t.value.style.chart.legend.backgroundColor,
|
|
722
722
|
color: t.value.style.chart.legend.color,
|
|
723
723
|
fontSize: t.value.style.chart.legend.fontSize,
|
|
724
724
|
paddingBottom: 12,
|
|
725
725
|
fontWeight: t.value.style.chart.legend.bold ? "bold" : ""
|
|
726
|
-
})),
|
|
726
|
+
})), Ue = $(
|
|
727
727
|
() => P.value.length === $e.value.length
|
|
728
728
|
);
|
|
729
729
|
function No() {
|
|
@@ -731,8 +731,8 @@ const Xl = ["id"], Gl = ["id"], Yl = ["id"], Zl = ["tabindex", "onClick", "onKey
|
|
|
731
731
|
P.value.push(e.id);
|
|
732
732
|
});
|
|
733
733
|
}
|
|
734
|
-
function
|
|
735
|
-
|
|
734
|
+
function We(e) {
|
|
735
|
+
F.value = null, P.value.includes(e.id) ? P.value = P.value.filter((l) => l !== e.id) : P.value.length < w.dataset.length - 1 && P.value.push(e.id), z("selectLegend", Ht.value);
|
|
736
736
|
}
|
|
737
737
|
function jt(e) {
|
|
738
738
|
if (!E.value.length)
|
|
@@ -742,19 +742,19 @@ const Xl = ["id"], Gl = ["id"], Yl = ["id"], Zl = ["tabindex", "onClick", "onKey
|
|
|
742
742
|
}
|
|
743
743
|
function Ro(e) {
|
|
744
744
|
const l = jt(e);
|
|
745
|
-
l !== null && P.value.includes(l.id) &&
|
|
745
|
+
l !== null && P.value.includes(l.id) && We({ id: l.id });
|
|
746
746
|
}
|
|
747
747
|
function zo(e) {
|
|
748
748
|
const l = jt(e);
|
|
749
|
-
l !== null && (P.value.includes(l.id) ||
|
|
749
|
+
l !== null && (P.value.includes(l.id) || We({ id: l.id }));
|
|
750
750
|
}
|
|
751
751
|
function Do({ datapoint: e, seriesIndex: l }) {
|
|
752
|
-
|
|
752
|
+
F.value = null, Ae.value = !1, le.value = null, Ie.value = "pointer", t.value.events.datapointLeave && t.value.events.datapointLeave({ datapoint: e, seriesIndex: l });
|
|
753
753
|
}
|
|
754
|
-
const
|
|
754
|
+
const Xe = g(null);
|
|
755
755
|
function Kt({ datapoint: e, seriesIndex: l, triggerMode: o = "pointer" }) {
|
|
756
|
-
if (
|
|
757
|
-
t.value.events.datapointEnter && t.value.events.datapointEnter({ datapoint: e, seriesIndex: l }), le.value = l, Ie.value = o,
|
|
756
|
+
if (Ue.value) return;
|
|
757
|
+
t.value.events.datapointEnter && t.value.events.datapointEnter({ datapoint: e, seriesIndex: l }), le.value = l, Ie.value = o, F.value = e, Xe.value = {
|
|
758
758
|
datapoint: e,
|
|
759
759
|
seriesIndex: l,
|
|
760
760
|
config: t.value,
|
|
@@ -769,7 +769,7 @@ const Xl = ["id"], Gl = ["id"], Yl = ["id"], Zl = ["tabindex", "onClick", "onKey
|
|
|
769
769
|
config: t.value
|
|
770
770
|
})
|
|
771
771
|
))
|
|
772
|
-
|
|
772
|
+
Je.value = a({
|
|
773
773
|
seriesIndex: l,
|
|
774
774
|
datapoint: e,
|
|
775
775
|
series: Oe.value,
|
|
@@ -777,28 +777,28 @@ const Xl = ["id"], Gl = ["id"], Yl = ["id"], Zl = ["tabindex", "onClick", "onKey
|
|
|
777
777
|
});
|
|
778
778
|
else {
|
|
779
779
|
let n = "";
|
|
780
|
-
n += `<div style="width:100%;text-align:center;border-bottom:1px solid ${t.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${e.name}</div>`, n += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><rect x="0" y="0" height="12" width="12" stroke="none" fill="${e.color}"/></svg>`, n += `<b>${
|
|
780
|
+
n += `<div style="width:100%;text-align:center;border-bottom:1px solid ${t.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${e.name}</div>`, n += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><rect x="0" y="0" height="12" width="12" stroke="none" fill="${e.color}"/></svg>`, n += `<b>${qe(
|
|
781
781
|
t.value.style.chart.layout.labels.formatter,
|
|
782
782
|
e.value,
|
|
783
|
-
|
|
783
|
+
ze({
|
|
784
784
|
p: t.value.style.chart.layout.labels.prefix,
|
|
785
785
|
v: e.value,
|
|
786
786
|
s: t.value.style.chart.layout.labels.suffix,
|
|
787
787
|
r: t.value.style.chart.tooltip.roundingValue
|
|
788
788
|
}),
|
|
789
789
|
{ datapoint: e, seriesIndex: l }
|
|
790
|
-
)}</b>`,
|
|
790
|
+
)}</b>`, Je.value = `<div>${n}</div>`;
|
|
791
791
|
}
|
|
792
792
|
Ae.value = !0;
|
|
793
793
|
}
|
|
794
|
-
const ne =
|
|
794
|
+
const ne = $(() => {
|
|
795
795
|
const e = O.value.map((o) => ({
|
|
796
796
|
name: o.name,
|
|
797
797
|
color: o.color
|
|
798
798
|
})), l = O.value.map((o) => o.value);
|
|
799
799
|
return { head: e, body: l };
|
|
800
800
|
});
|
|
801
|
-
function
|
|
801
|
+
function vt(e = null) {
|
|
802
802
|
ro(() => {
|
|
803
803
|
const l = ne.value.head.map((n, s) => [
|
|
804
804
|
[n.name],
|
|
@@ -817,16 +817,16 @@ const Xl = ["id"], Gl = ["id"], Yl = ["id"], Zl = ["tabindex", "onClick", "onKey
|
|
|
817
817
|
});
|
|
818
818
|
});
|
|
819
819
|
}
|
|
820
|
-
const Te =
|
|
820
|
+
const Te = $(() => {
|
|
821
821
|
const e = [
|
|
822
822
|
t.value.table.columnNames.series,
|
|
823
823
|
t.value.table.columnNames.value,
|
|
824
824
|
t.value.table.columnNames.percentage
|
|
825
825
|
], l = ne.value.head.map((n, s) => {
|
|
826
|
-
const r =
|
|
826
|
+
const r = qe(
|
|
827
827
|
t.value.style.chart.layout.labels.formatter,
|
|
828
828
|
ne.value.body[s],
|
|
829
|
-
|
|
829
|
+
ze({
|
|
830
830
|
p: t.value.style.chart.layout.labels.prefix,
|
|
831
831
|
v: ne.value.body[s],
|
|
832
832
|
s: t.value.style.chart.layout.labels.suffix,
|
|
@@ -840,7 +840,7 @@ const Xl = ["id"], Gl = ["id"], Yl = ["id"], Zl = ["tabindex", "onClick", "onKey
|
|
|
840
840
|
shape: "square"
|
|
841
841
|
},
|
|
842
842
|
r,
|
|
843
|
-
isNaN(ne.value.body[s] / ke.value) ? "-" :
|
|
843
|
+
isNaN(ne.value.body[s] / ke.value) ? "-" : ze({
|
|
844
844
|
v: ne.value.body[s] / ke.value * 100,
|
|
845
845
|
s: "%",
|
|
846
846
|
r: t.value.table.td.roundingPercentage
|
|
@@ -879,17 +879,17 @@ const Xl = ["id"], Gl = ["id"], Yl = ["id"], Zl = ["tabindex", "onClick", "onKey
|
|
|
879
879
|
X.value.showTooltip = !X.value.showTooltip;
|
|
880
880
|
}
|
|
881
881
|
const Le = g(!1);
|
|
882
|
-
function
|
|
882
|
+
function ht() {
|
|
883
883
|
Le.value = !Le.value;
|
|
884
884
|
}
|
|
885
|
-
const
|
|
885
|
+
const Ge = g(null);
|
|
886
886
|
function Qt(e) {
|
|
887
|
-
|
|
887
|
+
Ge.value = e;
|
|
888
888
|
}
|
|
889
889
|
function eo() {
|
|
890
|
-
|
|
890
|
+
Ge.value = null;
|
|
891
891
|
}
|
|
892
|
-
async function
|
|
892
|
+
async function Vo({ scale: e = 2 } = {}) {
|
|
893
893
|
if (!K.value) return;
|
|
894
894
|
const { width: l, height: o } = K.value.getBoundingClientRect(), a = l / o, { imageUri: n, base64: s } = await Ol({
|
|
895
895
|
domElement: K.value,
|
|
@@ -906,10 +906,10 @@ const Xl = ["id"], Gl = ["id"], Yl = ["id"], Zl = ["tabindex", "onClick", "onKey
|
|
|
906
906
|
aspectRatio: a
|
|
907
907
|
};
|
|
908
908
|
}
|
|
909
|
-
const Fe =
|
|
909
|
+
const Fe = $(() => {
|
|
910
910
|
const e = t.value.table.useDialog && !t.value.table.show, l = X.value.showTable;
|
|
911
911
|
return {
|
|
912
|
-
component: e ? re :
|
|
912
|
+
component: e ? re : C,
|
|
913
913
|
title: `${t.value.style.chart.title.text}${t.value.style.chart.title.subtitle.text ? `: ${t.value.style.chart.title.subtitle.text}` : ""}`,
|
|
914
914
|
props: e ? {
|
|
915
915
|
backgroundColor: t.value.table.th.backgroundColor,
|
|
@@ -944,16 +944,16 @@ const Xl = ["id"], Gl = ["id"], Yl = ["id"], Zl = ["tabindex", "onClick", "onKey
|
|
|
944
944
|
}
|
|
945
945
|
);
|
|
946
946
|
function to() {
|
|
947
|
-
X.value.showTable = !1,
|
|
947
|
+
X.value.showTable = !1, et.value && et.value.setTableIconState(!1);
|
|
948
948
|
}
|
|
949
|
-
const
|
|
949
|
+
const Ho = $(() => $e.value.map((e) => ({
|
|
950
950
|
...e,
|
|
951
951
|
name: e.display
|
|
952
|
-
}))), Eo =
|
|
952
|
+
}))), Eo = $(() => t.value.style.chart.backgroundColor), Uo = $(() => t.value.style.chart.legend), Wo = $(() => t.value.style.chart.title), { exportSvg: Xo, getSvg: Go } = Al({
|
|
953
953
|
svg: ye,
|
|
954
954
|
title: Wo,
|
|
955
955
|
legend: Uo,
|
|
956
|
-
legendItems:
|
|
956
|
+
legendItems: Ho,
|
|
957
957
|
backgroundColor: Eo
|
|
958
958
|
});
|
|
959
959
|
async function oo({ isCb: e }) {
|
|
@@ -977,17 +977,17 @@ const Xl = ["id"], Gl = ["id"], Yl = ["id"], Zl = ["tabindex", "onClick", "onKey
|
|
|
977
977
|
}
|
|
978
978
|
function Yo(e) {
|
|
979
979
|
if (e?.stage === "start") {
|
|
980
|
-
|
|
980
|
+
Ve.value = !0;
|
|
981
981
|
return;
|
|
982
982
|
}
|
|
983
983
|
if (e?.stage === "end") {
|
|
984
|
-
|
|
984
|
+
Ve.value = !1;
|
|
985
985
|
return;
|
|
986
986
|
}
|
|
987
987
|
zt();
|
|
988
988
|
}
|
|
989
|
-
function
|
|
990
|
-
const l =
|
|
989
|
+
function ft(e) {
|
|
990
|
+
const l = ct(e), o = Math.max(l * 0.5, 4), a = Math.max(l * 0.5, 4), n = l * 1.1;
|
|
991
991
|
return {
|
|
992
992
|
fontSize: l,
|
|
993
993
|
paddingX: o,
|
|
@@ -995,8 +995,8 @@ const Xl = ["id"], Gl = ["id"], Yl = ["id"], Zl = ["tabindex", "onClick", "onKey
|
|
|
995
995
|
lineHeight: n
|
|
996
996
|
};
|
|
997
997
|
}
|
|
998
|
-
function
|
|
999
|
-
const { paddingX: l, paddingTop: o, lineHeight: a } =
|
|
998
|
+
function Ye(e) {
|
|
999
|
+
const { paddingX: l, paddingTop: o, lineHeight: a } = ft(e), n = e.x0 + l, s = e.y0 + o, r = Math.max(ve(e) - l * 2, 0), k = Math.max(de(e) - o * 2, 0);
|
|
1000
1000
|
return {
|
|
1001
1001
|
x: n,
|
|
1002
1002
|
y: s,
|
|
@@ -1010,103 +1010,75 @@ const Xl = ["id"], Gl = ["id"], Yl = ["id"], Zl = ["tabindex", "onClick", "onKey
|
|
|
1010
1010
|
e.color ?? t.value.style.chart.backgroundColor
|
|
1011
1011
|
);
|
|
1012
1012
|
}
|
|
1013
|
-
function jo(e) {
|
|
1014
|
-
const { fontSize:
|
|
1015
|
-
if (
|
|
1013
|
+
function jo(e, l) {
|
|
1014
|
+
const { fontSize: o, lineHeight: a } = ft(e), n = Jo(e), s = Qo(e);
|
|
1015
|
+
if (n <= 0 || s <= 0)
|
|
1016
1016
|
return [];
|
|
1017
|
-
const
|
|
1018
|
-
Math.floor(
|
|
1017
|
+
const r = Math.max(
|
|
1018
|
+
Math.floor(s / Math.max(a, 1)),
|
|
1019
1019
|
1
|
|
1020
|
-
),
|
|
1021
|
-
|
|
1020
|
+
), k = qe(
|
|
1021
|
+
t.value.style.chart.layout.labels.formatter,
|
|
1022
|
+
e.value,
|
|
1023
|
+
ze({
|
|
1024
|
+
p: t.value.style.chart.layout.labels.prefix,
|
|
1025
|
+
v: e.value,
|
|
1026
|
+
s: t.value.style.chart.layout.labels.suffix,
|
|
1027
|
+
r: t.value.style.chart.tooltip.roundingValue
|
|
1028
|
+
}),
|
|
1029
|
+
{ datapoint: e, seriesIndex: l }
|
|
1030
|
+
), I = Math.ceil(o * 0.2), i = Math.ceil(o * 1.4), y = Math.max(
|
|
1031
|
+
n - i - I,
|
|
1022
1032
|
0
|
|
1023
1033
|
);
|
|
1024
|
-
if (
|
|
1034
|
+
if (y <= 0)
|
|
1025
1035
|
return [];
|
|
1026
1036
|
if (Array.isArray(e.children) && e.children.length) {
|
|
1027
|
-
const
|
|
1028
|
-
`${e.name} (${
|
|
1029
|
-
|
|
1030
|
-
|
|
1037
|
+
const H = yt(
|
|
1038
|
+
`${e.name} (${k})`,
|
|
1039
|
+
y,
|
|
1040
|
+
o,
|
|
1031
1041
|
500
|
|
1032
1042
|
);
|
|
1033
|
-
return
|
|
1043
|
+
return H ? [H] : [];
|
|
1034
1044
|
}
|
|
1035
|
-
const
|
|
1045
|
+
const M = [], L = yt(
|
|
1036
1046
|
`${e.name}`,
|
|
1037
|
-
|
|
1038
|
-
|
|
1047
|
+
y,
|
|
1048
|
+
o,
|
|
1039
1049
|
500
|
|
1040
1050
|
);
|
|
1041
|
-
if (
|
|
1042
|
-
const
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1051
|
+
if (L && M.push(L), r >= 2) {
|
|
1052
|
+
const H = yt(
|
|
1053
|
+
k,
|
|
1054
|
+
y,
|
|
1055
|
+
o,
|
|
1046
1056
|
400
|
|
1047
1057
|
);
|
|
1048
|
-
|
|
1058
|
+
H && M.push(H);
|
|
1049
1059
|
}
|
|
1050
|
-
return
|
|
1051
|
-
}
|
|
1052
|
-
let ft;
|
|
1053
|
-
function Ko() {
|
|
1054
|
-
return ft || (ft = document.createElement("canvas")), ft.getContext("2d");
|
|
1055
|
-
}
|
|
1056
|
-
function pt(e, l, o = 400) {
|
|
1057
|
-
const a = Ko();
|
|
1058
|
-
return a ? (a.font = `${o} ${l}px ${t.value.style.fontFamily}`, a.measureText(String(e)).width) : e.length * l * 0.6;
|
|
1060
|
+
return M.slice(0, r);
|
|
1059
1061
|
}
|
|
1060
|
-
function
|
|
1061
|
-
|
|
1062
|
-
if (!n.length || l <= 0)
|
|
1062
|
+
function Ko({ rect: e, seriesIndex: l, isTitle: o }) {
|
|
1063
|
+
if (!e || !t.value.style.chart.layout.labels.showDefaultLabels || !it(e))
|
|
1063
1064
|
return "";
|
|
1064
|
-
|
|
1065
|
-
return n;
|
|
1066
|
-
const s = "…";
|
|
1067
|
-
if (pt(
|
|
1068
|
-
s,
|
|
1069
|
-
o,
|
|
1070
|
-
a
|
|
1071
|
-
) > l)
|
|
1072
|
-
return "";
|
|
1073
|
-
let k = 0, S = n.length, i = "";
|
|
1074
|
-
for (; k <= S; ) {
|
|
1075
|
-
const $ = Math.floor((k + S) / 2), I = `${n.slice(0, $)}${s}`;
|
|
1076
|
-
pt(
|
|
1077
|
-
I,
|
|
1078
|
-
o,
|
|
1079
|
-
a
|
|
1080
|
-
) <= l ? (i = I, k = $ + 1) : S = $ - 1;
|
|
1081
|
-
}
|
|
1082
|
-
return i || s;
|
|
1083
|
-
}
|
|
1084
|
-
function qo(e) {
|
|
1085
|
-
return Ge(e).width;
|
|
1086
|
-
}
|
|
1087
|
-
function Jo(e) {
|
|
1088
|
-
return Ge(e).height;
|
|
1089
|
-
}
|
|
1090
|
-
function Qo({ rect: e, seriesIndex: l, isTitle: o }) {
|
|
1091
|
-
if (!e || !t.value.style.chart.layout.labels.showDefaultLabels || !ut(e))
|
|
1092
|
-
return "";
|
|
1093
|
-
const { fontSize: a } = ht(e), n = Zo(e), s = jo(e), r = Ge(e);
|
|
1065
|
+
const { fontSize: a } = ft(e), n = Zo(e), s = jo(e, l), r = Ye(e);
|
|
1094
1066
|
if (!s.length || r.width <= 0 || r.height <= 0)
|
|
1095
1067
|
return "";
|
|
1096
|
-
const k = `treemap_clip_${W.value}_${e.id}_${e.depth}_${l}`,
|
|
1097
|
-
const
|
|
1068
|
+
const k = `treemap_clip_${W.value}_${e.id}_${e.depth}_${l}`, I = r.x, i = r.y, y = Math.max(r.width, 0), M = Math.max(r.height, 0), L = s.map((H, G) => {
|
|
1069
|
+
const bt = r.y + r.lineHeight * G;
|
|
1098
1070
|
return `
|
|
1099
1071
|
<text
|
|
1100
1072
|
x="${r.x}"
|
|
1101
|
-
y="${
|
|
1073
|
+
y="${bt}"
|
|
1102
1074
|
fill="${n}"
|
|
1103
1075
|
font-size="${a}"
|
|
1104
1076
|
font-family="${t.value.style.fontFamily}"
|
|
1105
|
-
font-weight="${
|
|
1077
|
+
font-weight="${G === 0 ? 500 : 400}"
|
|
1106
1078
|
text-anchor="start"
|
|
1107
1079
|
dominant-baseline="text-before-edge"
|
|
1108
1080
|
>
|
|
1109
|
-
${bl(
|
|
1081
|
+
${bl(H)}
|
|
1110
1082
|
</text>
|
|
1111
1083
|
`;
|
|
1112
1084
|
}).join("");
|
|
@@ -1115,25 +1087,63 @@ const Xl = ["id"], Gl = ["id"], Yl = ["id"], Zl = ["tabindex", "onClick", "onKey
|
|
|
1115
1087
|
<defs>
|
|
1116
1088
|
<clipPath id="${k}" clipPathUnits="userSpaceOnUse">
|
|
1117
1089
|
<rect
|
|
1118
|
-
x="${
|
|
1090
|
+
x="${I}"
|
|
1119
1091
|
y="${i}"
|
|
1120
|
-
width="${
|
|
1121
|
-
height="${
|
|
1092
|
+
width="${y}"
|
|
1093
|
+
height="${M}"
|
|
1122
1094
|
/>
|
|
1123
1095
|
</clipPath>
|
|
1124
1096
|
</defs>
|
|
1125
1097
|
<g clip-path="url(#${k})">
|
|
1126
|
-
${
|
|
1098
|
+
${L}
|
|
1127
1099
|
</g>
|
|
1128
1100
|
</g>
|
|
1129
1101
|
`;
|
|
1130
1102
|
}
|
|
1103
|
+
let pt;
|
|
1104
|
+
function qo() {
|
|
1105
|
+
return pt || (pt = document.createElement("canvas")), pt.getContext("2d");
|
|
1106
|
+
}
|
|
1107
|
+
function gt(e, l, o = 400) {
|
|
1108
|
+
const a = qo();
|
|
1109
|
+
return a ? (a.font = `${o} ${l}px ${t.value.style.fontFamily}`, a.measureText(String(e)).width) : e.length * l * 0.6;
|
|
1110
|
+
}
|
|
1111
|
+
function yt(e, l, o, a = 400) {
|
|
1112
|
+
const n = String(e ?? "");
|
|
1113
|
+
if (!n.length || l <= 0)
|
|
1114
|
+
return "";
|
|
1115
|
+
if (gt(n, o, a) <= l)
|
|
1116
|
+
return n;
|
|
1117
|
+
const s = "…";
|
|
1118
|
+
if (gt(
|
|
1119
|
+
s,
|
|
1120
|
+
o,
|
|
1121
|
+
a
|
|
1122
|
+
) > l)
|
|
1123
|
+
return "";
|
|
1124
|
+
let k = 0, I = n.length, i = "";
|
|
1125
|
+
for (; k <= I; ) {
|
|
1126
|
+
const y = Math.floor((k + I) / 2), M = `${n.slice(0, y)}${s}`;
|
|
1127
|
+
gt(
|
|
1128
|
+
M,
|
|
1129
|
+
o,
|
|
1130
|
+
a
|
|
1131
|
+
) <= l ? (i = M, k = y + 1) : I = y - 1;
|
|
1132
|
+
}
|
|
1133
|
+
return i || s;
|
|
1134
|
+
}
|
|
1135
|
+
function Jo(e) {
|
|
1136
|
+
return Ye(e).width;
|
|
1137
|
+
}
|
|
1138
|
+
function Qo(e) {
|
|
1139
|
+
return Ye(e).height;
|
|
1140
|
+
}
|
|
1131
1141
|
function el(e) {
|
|
1132
1142
|
const l = t.value.style.chart.layout.rects.borderRadius, o = ve(e), a = de(e);
|
|
1133
1143
|
return Math.min(l, Math.min(o, a) / 6);
|
|
1134
1144
|
}
|
|
1135
1145
|
async function lo() {
|
|
1136
|
-
if (
|
|
1146
|
+
if (z("copyAlt", {
|
|
1137
1147
|
config: t.value,
|
|
1138
1148
|
dataset: O.value
|
|
1139
1149
|
}), !t.value.userOptions.callbacks.altCopy) {
|
|
@@ -1150,32 +1160,32 @@ const Xl = ["id"], Gl = ["id"], Yl = ["id"], Zl = ["tabindex", "onClick", "onKey
|
|
|
1150
1160
|
);
|
|
1151
1161
|
}
|
|
1152
1162
|
function tl() {
|
|
1153
|
-
le.value = null,
|
|
1163
|
+
le.value = null, ot.value = !0;
|
|
1154
1164
|
}
|
|
1155
1165
|
function ol() {
|
|
1156
|
-
le.value = null, Ie.value = "pointer", Ae.value = !1,
|
|
1166
|
+
le.value = null, Ie.value = "pointer", Ae.value = !1, F.value = null, ot.value = !1;
|
|
1157
1167
|
}
|
|
1158
1168
|
function ll(e) {
|
|
1159
|
-
if (!ye.value || Le.value || document.activeElement !== ye.value || !O.value.length ||
|
|
1169
|
+
if (!ye.value || Le.value || document.activeElement !== ye.value || !O.value.length || Ue.value) return;
|
|
1160
1170
|
const l = ["ArrowLeft", "ArrowUp"].includes(e.key), o = ["ArrowRight", "ArrowDown"].includes(e.key), a = e.key === "Enter" || e.key === " ", n = e.key === "Escape";
|
|
1161
1171
|
if (!l && !o && !a && !n)
|
|
1162
1172
|
return;
|
|
1163
1173
|
if (e.preventDefault(), e.stopPropagation(), n) {
|
|
1164
|
-
le.value = null, Ie.value = "pointer", Ae.value = !1,
|
|
1174
|
+
le.value = null, Ie.value = "pointer", Ae.value = !1, F.value = null;
|
|
1165
1175
|
return;
|
|
1166
1176
|
}
|
|
1167
1177
|
if (a) {
|
|
1168
1178
|
if (le.value === null) return;
|
|
1169
|
-
const
|
|
1170
|
-
if (
|
|
1171
|
-
_e(
|
|
1179
|
+
const y = O.value[le.value];
|
|
1180
|
+
if (!y) return;
|
|
1181
|
+
_e(y, le.value);
|
|
1172
1182
|
return;
|
|
1173
1183
|
}
|
|
1174
1184
|
let s = le.value;
|
|
1175
|
-
const r =
|
|
1176
|
-
(
|
|
1177
|
-
) : null, k = s !== null && s >= 0 && s < O.value.length,
|
|
1178
|
-
k ? o ? (s += 1, s >= O.value.length && (s = 0)) : l && (s -= 1, s < 0 && (s = O.value.length - 1)) :
|
|
1185
|
+
const r = F.value ? O.value.findIndex(
|
|
1186
|
+
(y) => y.id === F.value.id
|
|
1187
|
+
) : null, k = s !== null && s >= 0 && s < O.value.length, I = r !== null && r >= 0 && r < O.value.length;
|
|
1188
|
+
k ? o ? (s += 1, s >= O.value.length && (s = 0)) : l && (s -= 1, s < 0 && (s = O.value.length - 1)) : I ? (s = o ? r + 1 : r - 1, s >= O.value.length && (s = 0), s < 0 && (s = O.value.length - 1)) : o ? s = 0 : s = O.value.length - 1;
|
|
1179
1189
|
const i = O.value[s];
|
|
1180
1190
|
i && (al(s), Kt({
|
|
1181
1191
|
datapoint: i,
|
|
@@ -1193,14 +1203,14 @@ const Xl = ["id"], Gl = ["id"], Yl = ["id"], Zl = ["tabindex", "onClick", "onKey
|
|
|
1193
1203
|
y: n.top + (a - J.value.startY) / J.value.height * n.height
|
|
1194
1204
|
};
|
|
1195
1205
|
}
|
|
1196
|
-
const
|
|
1206
|
+
const mt = $(() => {
|
|
1197
1207
|
const e = Te.value?.colNames ?? [], l = Te.value?.body ?? [];
|
|
1198
1208
|
return { headers: e, rows: l };
|
|
1199
1209
|
});
|
|
1200
1210
|
return h({
|
|
1201
1211
|
getData: Bo,
|
|
1202
|
-
getImage:
|
|
1203
|
-
generateCsv:
|
|
1212
|
+
getImage: Vo,
|
|
1213
|
+
generateCsv: vt,
|
|
1204
1214
|
generateImage: zt,
|
|
1205
1215
|
generateSvg: oo,
|
|
1206
1216
|
generatePdf: Rt,
|
|
@@ -1208,68 +1218,68 @@ const Xl = ["id"], Gl = ["id"], Yl = ["id"], Zl = ["tabindex", "onClick", "onKey
|
|
|
1208
1218
|
showSeries: Ro,
|
|
1209
1219
|
toggleTable: qt,
|
|
1210
1220
|
toggleTooltip: Jt,
|
|
1211
|
-
toggleAnnotator:
|
|
1221
|
+
toggleAnnotator: ht,
|
|
1212
1222
|
toggleFullscreen: Yt,
|
|
1213
1223
|
copyAlt: lo
|
|
1214
1224
|
}), (e, l) => (c(), A("div", {
|
|
1215
1225
|
ref_key: "treemapChart",
|
|
1216
1226
|
ref: K,
|
|
1217
|
-
class:
|
|
1227
|
+
class: Ct(`vue-data-ui-component vue-ui-treemap ${pe.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${t.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
1218
1228
|
style: he(`font-family:${t.value.style.fontFamily};width:100%; ${t.value.responsive ? "height: 100%;" : ""} text-align:center;background:${t.value.style.chart.backgroundColor}`),
|
|
1219
1229
|
id: `treemap_${W.value}`,
|
|
1220
|
-
onMouseenter: l[2] || (l[2] = () =>
|
|
1221
|
-
onMouseleave: l[3] || (l[3] = () =>
|
|
1230
|
+
onMouseenter: l[2] || (l[2] = () => m(Ft)(!0)),
|
|
1231
|
+
onMouseleave: l[3] || (l[3] = () => m(Ft)(!1))
|
|
1222
1232
|
}, [
|
|
1223
|
-
|
|
1233
|
+
N("div", {
|
|
1224
1234
|
id: `chart-instructions-${W.value}`,
|
|
1225
1235
|
class: "sr-only"
|
|
1226
1236
|
}, [
|
|
1227
|
-
|
|
1237
|
+
N("p", null, Ne(t.value.a11y.translations.keyboardNavigation), 1)
|
|
1228
1238
|
], 8, Gl),
|
|
1229
|
-
|
|
1239
|
+
mt.value?.rows?.length ? (c(), Q(Fl, {
|
|
1230
1240
|
key: 0,
|
|
1231
1241
|
uid: W.value,
|
|
1232
|
-
head:
|
|
1233
|
-
body:
|
|
1242
|
+
head: mt.value.headers,
|
|
1243
|
+
body: mt.value.rows,
|
|
1234
1244
|
notice: t.value.a11y.translations.tableAvailable,
|
|
1235
1245
|
caption: t.value.a11y.translations.tableCaption
|
|
1236
|
-
}, null, 8, ["uid", "head", "body", "notice", "caption"])) :
|
|
1237
|
-
t.value.userOptions.buttons.annotator ? (c(), Q(
|
|
1246
|
+
}, null, 8, ["uid", "head", "body", "notice", "caption"])) : _("", !0),
|
|
1247
|
+
t.value.userOptions.buttons.annotator ? (c(), Q(m(v), {
|
|
1238
1248
|
key: 1,
|
|
1239
|
-
svgRef:
|
|
1249
|
+
svgRef: m(ye),
|
|
1240
1250
|
backgroundColor: t.value.style.chart.backgroundColor,
|
|
1241
1251
|
color: t.value.style.chart.color,
|
|
1242
1252
|
active: Le.value,
|
|
1243
1253
|
isCursorPointer: ie.value,
|
|
1244
|
-
onClose:
|
|
1254
|
+
onClose: ht
|
|
1245
1255
|
}, {
|
|
1246
1256
|
"annotator-action-close": T(() => [
|
|
1247
|
-
|
|
1257
|
+
b(e.$slots, "annotator-action-close", {}, void 0, !0)
|
|
1248
1258
|
]),
|
|
1249
1259
|
"annotator-action-color": T(({ color: o }) => [
|
|
1250
|
-
|
|
1260
|
+
b(e.$slots, "annotator-action-color", D(B({ color: o })), void 0, !0)
|
|
1251
1261
|
]),
|
|
1252
1262
|
"annotator-action-draw": T(({ mode: o }) => [
|
|
1253
|
-
|
|
1263
|
+
b(e.$slots, "annotator-action-draw", D(B({ mode: o })), void 0, !0)
|
|
1254
1264
|
]),
|
|
1255
1265
|
"annotator-action-undo": T(({ disabled: o }) => [
|
|
1256
|
-
|
|
1266
|
+
b(e.$slots, "annotator-action-undo", D(B({ disabled: o })), void 0, !0)
|
|
1257
1267
|
]),
|
|
1258
1268
|
"annotator-action-redo": T(({ disabled: o }) => [
|
|
1259
|
-
|
|
1269
|
+
b(e.$slots, "annotator-action-redo", D(B({ disabled: o })), void 0, !0)
|
|
1260
1270
|
]),
|
|
1261
1271
|
"annotator-action-delete": T(({ disabled: o }) => [
|
|
1262
|
-
|
|
1272
|
+
b(e.$slots, "annotator-action-delete", D(B({ disabled: o })), void 0, !0)
|
|
1263
1273
|
]),
|
|
1264
1274
|
_: 3
|
|
1265
|
-
}, 8, ["svgRef", "backgroundColor", "color", "active", "isCursorPointer"])) :
|
|
1275
|
+
}, 8, ["svgRef", "backgroundColor", "color", "active", "isCursorPointer"])) : _("", !0),
|
|
1266
1276
|
ko.value ? (c(), A("div", {
|
|
1267
1277
|
key: 2,
|
|
1268
1278
|
ref_key: "noTitle",
|
|
1269
1279
|
ref: Mt,
|
|
1270
1280
|
class: "vue-data-ui-no-title-space",
|
|
1271
1281
|
style: "height:36px; width: 100%;background:transparent"
|
|
1272
|
-
}, null, 512)) :
|
|
1282
|
+
}, null, 512)) : _("", !0),
|
|
1273
1283
|
t.value.style.chart.title.text ? (c(), A("div", {
|
|
1274
1284
|
key: 3,
|
|
1275
1285
|
ref_key: "chartTitle",
|
|
@@ -1289,18 +1299,18 @@ const Xl = ["id"], Gl = ["id"], Yl = ["id"], Zl = ["tabindex", "onClick", "onKey
|
|
|
1289
1299
|
}
|
|
1290
1300
|
}
|
|
1291
1301
|
}, null, 8, ["config"]))
|
|
1292
|
-
], 4)) :
|
|
1293
|
-
|
|
1302
|
+
], 4)) : _("", !0),
|
|
1303
|
+
N("div", {
|
|
1294
1304
|
id: `legend-top-${W.value}`
|
|
1295
1305
|
}, null, 8, Yl),
|
|
1296
|
-
t.value.userOptions.show && ue.value && (
|
|
1306
|
+
t.value.userOptions.show && ue.value && (m(Nt) || m(at)) ? (c(), Q(m(S), {
|
|
1297
1307
|
ref_key: "userOptionsRef",
|
|
1298
|
-
ref:
|
|
1308
|
+
ref: et,
|
|
1299
1309
|
key: `user_option_${xt.value}`,
|
|
1300
1310
|
backgroundColor: t.value.style.chart.backgroundColor,
|
|
1301
1311
|
color: t.value.style.chart.color,
|
|
1302
|
-
isPrinting:
|
|
1303
|
-
isImaging:
|
|
1312
|
+
isPrinting: m(st),
|
|
1313
|
+
isImaging: m(rt),
|
|
1304
1314
|
uid: W.value,
|
|
1305
1315
|
hasTooltip: t.value.userOptions.buttons.tooltip && t.value.style.chart.tooltip.show,
|
|
1306
1316
|
hasPdf: t.value.userOptions.buttons.pdf,
|
|
@@ -1322,95 +1332,95 @@ const Xl = ["id"], Gl = ["id"], Yl = ["id"], Zl = ["tabindex", "onClick", "onKey
|
|
|
1322
1332
|
tableDialog: t.value.table.useDialog,
|
|
1323
1333
|
isCursorPointer: ie.value,
|
|
1324
1334
|
onToggleFullscreen: Yt,
|
|
1325
|
-
onGeneratePdf:
|
|
1326
|
-
onGenerateCsv:
|
|
1335
|
+
onGeneratePdf: m(Rt),
|
|
1336
|
+
onGenerateCsv: vt,
|
|
1327
1337
|
onGenerateImage: Yo,
|
|
1328
1338
|
onGenerateSvg: oo,
|
|
1329
1339
|
onToggleTable: qt,
|
|
1330
1340
|
onToggleTooltip: Jt,
|
|
1331
|
-
onToggleAnnotator:
|
|
1341
|
+
onToggleAnnotator: ht,
|
|
1332
1342
|
onCopyAlt: lo,
|
|
1333
1343
|
style: he({
|
|
1334
|
-
visibility:
|
|
1344
|
+
visibility: m(Nt) ? m(at) ? "visible" : "hidden" : "visible"
|
|
1335
1345
|
})
|
|
1336
1346
|
}, no({ _: 2 }, [
|
|
1337
1347
|
e.$slots.menuIcon ? {
|
|
1338
1348
|
name: "menuIcon",
|
|
1339
1349
|
fn: T(({ isOpen: o, color: a }) => [
|
|
1340
|
-
|
|
1350
|
+
b(e.$slots, "menuIcon", D(B({ isOpen: o, color: a })), void 0, !0)
|
|
1341
1351
|
]),
|
|
1342
1352
|
key: "0"
|
|
1343
1353
|
} : void 0,
|
|
1344
1354
|
e.$slots.optionTooltip ? {
|
|
1345
1355
|
name: "optionTooltip",
|
|
1346
1356
|
fn: T(() => [
|
|
1347
|
-
|
|
1357
|
+
b(e.$slots, "optionTooltip", {}, void 0, !0)
|
|
1348
1358
|
]),
|
|
1349
1359
|
key: "1"
|
|
1350
1360
|
} : void 0,
|
|
1351
1361
|
e.$slots.optionPdf ? {
|
|
1352
1362
|
name: "optionPdf",
|
|
1353
1363
|
fn: T(() => [
|
|
1354
|
-
|
|
1364
|
+
b(e.$slots, "optionPdf", {}, void 0, !0)
|
|
1355
1365
|
]),
|
|
1356
1366
|
key: "2"
|
|
1357
1367
|
} : void 0,
|
|
1358
1368
|
e.$slots.optionCsv ? {
|
|
1359
1369
|
name: "optionCsv",
|
|
1360
1370
|
fn: T(() => [
|
|
1361
|
-
|
|
1371
|
+
b(e.$slots, "optionCsv", {}, void 0, !0)
|
|
1362
1372
|
]),
|
|
1363
1373
|
key: "3"
|
|
1364
1374
|
} : void 0,
|
|
1365
1375
|
e.$slots.optionImg ? {
|
|
1366
1376
|
name: "optionImg",
|
|
1367
1377
|
fn: T(() => [
|
|
1368
|
-
|
|
1378
|
+
b(e.$slots, "optionImg", {}, void 0, !0)
|
|
1369
1379
|
]),
|
|
1370
1380
|
key: "4"
|
|
1371
1381
|
} : void 0,
|
|
1372
1382
|
e.$slots.optionSvg ? {
|
|
1373
1383
|
name: "optionSvg",
|
|
1374
1384
|
fn: T(() => [
|
|
1375
|
-
|
|
1385
|
+
b(e.$slots, "optionSvg", {}, void 0, !0)
|
|
1376
1386
|
]),
|
|
1377
1387
|
key: "5"
|
|
1378
1388
|
} : void 0,
|
|
1379
1389
|
e.$slots.optionTable ? {
|
|
1380
1390
|
name: "optionTable",
|
|
1381
1391
|
fn: T(() => [
|
|
1382
|
-
|
|
1392
|
+
b(e.$slots, "optionTable", {}, void 0, !0)
|
|
1383
1393
|
]),
|
|
1384
1394
|
key: "6"
|
|
1385
1395
|
} : void 0,
|
|
1386
1396
|
e.$slots.optionFullscreen ? {
|
|
1387
1397
|
name: "optionFullscreen",
|
|
1388
1398
|
fn: T(({ toggleFullscreen: o, isFullscreen: a }) => [
|
|
1389
|
-
|
|
1399
|
+
b(e.$slots, "optionFullscreen", D(B({ toggleFullscreen: o, isFullscreen: a })), void 0, !0)
|
|
1390
1400
|
]),
|
|
1391
1401
|
key: "7"
|
|
1392
1402
|
} : void 0,
|
|
1393
1403
|
e.$slots.optionAnnotator ? {
|
|
1394
1404
|
name: "optionAnnotator",
|
|
1395
1405
|
fn: T(({ toggleAnnotator: o, isAnnotator: a }) => [
|
|
1396
|
-
|
|
1406
|
+
b(e.$slots, "optionAnnotator", D(B({ toggleAnnotator: o, isAnnotator: a })), void 0, !0)
|
|
1397
1407
|
]),
|
|
1398
1408
|
key: "8"
|
|
1399
1409
|
} : void 0,
|
|
1400
1410
|
e.$slots.optionAltCopy ? {
|
|
1401
1411
|
name: "optionAltCopy",
|
|
1402
1412
|
fn: T(({ altCopy: o }) => [
|
|
1403
|
-
|
|
1413
|
+
b(e.$slots, "optionAltCopy", D(B({ altCopy: o })), void 0, !0)
|
|
1404
1414
|
]),
|
|
1405
1415
|
key: "9"
|
|
1406
1416
|
} : void 0
|
|
1407
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasSvg", "hasTable", "hasFullscreen", "hasAltCopy", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "isCursorPointer", "onGeneratePdf", "style"])) :
|
|
1417
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasSvg", "hasTable", "hasFullscreen", "hasAltCopy", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "isCursorPointer", "onGeneratePdf", "style"])) : _("", !0),
|
|
1408
1418
|
ae.value.length > 1 ? (c(), A("nav", {
|
|
1409
1419
|
key: 5,
|
|
1410
1420
|
class: "vue-ui-treemap-breadcrumbs",
|
|
1411
1421
|
"data-dom-to-png-ignore": "",
|
|
1412
1422
|
ref_key: "breadcrumbsNav",
|
|
1413
|
-
ref:
|
|
1423
|
+
ref: Qe
|
|
1414
1424
|
}, [
|
|
1415
1425
|
(c(!0), A(xe, null, Re(ae.value, (o, a) => (c(), A("span", {
|
|
1416
1426
|
role: "button",
|
|
@@ -1419,8 +1429,8 @@ const Xl = ["id"], Gl = ["id"], Yl = ["id"], Zl = ["tabindex", "onClick", "onKey
|
|
|
1419
1429
|
onClick: (n) => a === ae.value.length - 1 ? () => {
|
|
1420
1430
|
} : _e(o.node),
|
|
1421
1431
|
onKeydown: [
|
|
1422
|
-
so(
|
|
1423
|
-
so(
|
|
1432
|
+
so(wt((n) => a === ae.value.length - 1 ? void 0 : _e(o.node), ["prevent"]), ["enter"]),
|
|
1433
|
+
so(wt((n) => a === ae.value.length - 1 ? void 0 : _e(o.node), ["prevent"]), ["space"])
|
|
1424
1434
|
],
|
|
1425
1435
|
class: "vue-ui-treemap-crumb",
|
|
1426
1436
|
"data-last-crumb": a === ae.value.length - 1,
|
|
@@ -1433,43 +1443,43 @@ const Xl = ["id"], Gl = ["id"], Yl = ["id"], Zl = ["tabindex", "onClick", "onKey
|
|
|
1433
1443
|
onFocus: (n) => Qt(a),
|
|
1434
1444
|
onBlur: eo
|
|
1435
1445
|
}, [
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1446
|
+
N("span", jl, [
|
|
1447
|
+
N("span", Kl, [
|
|
1448
|
+
b(e.$slots, "breadcrumb-label", kt({ ref_for: !0 }, {
|
|
1439
1449
|
crumb: o,
|
|
1440
1450
|
isRoot: a === 0,
|
|
1441
|
-
isFocus:
|
|
1451
|
+
isFocus: Ge.value === a
|
|
1442
1452
|
}), () => [
|
|
1443
1453
|
a === 0 ? (c(), A("div", ql, [
|
|
1444
|
-
|
|
1445
|
-
name:
|
|
1454
|
+
Ze(po, {
|
|
1455
|
+
name: Ge.value === 0 ? "homeFilled" : "home",
|
|
1446
1456
|
stroke: t.value.style.chart.color
|
|
1447
1457
|
}, null, 8, ["name", "stroke"])
|
|
1448
1458
|
])) : (c(), A(xe, { key: 1 }, [
|
|
1449
|
-
|
|
1459
|
+
je(Ne(o.label), 1)
|
|
1450
1460
|
], 64))
|
|
1451
1461
|
], !0)
|
|
1452
1462
|
]),
|
|
1453
1463
|
a < ae.value.length - 1 ? (c(), A("span", Jl, [
|
|
1454
|
-
|
|
1455
|
-
l[4] || (l[4] =
|
|
1464
|
+
b(e.$slots, "breadcrumb-arrow", {}, () => [
|
|
1465
|
+
l[4] || (l[4] = je(" › ", -1))
|
|
1456
1466
|
], !0)
|
|
1457
|
-
])) :
|
|
1467
|
+
])) : _("", !0)
|
|
1458
1468
|
])
|
|
1459
1469
|
], 44, Zl))), 128))
|
|
1460
|
-
], 512)) :
|
|
1461
|
-
|
|
1470
|
+
], 512)) : _("", !0),
|
|
1471
|
+
N("div", Ql, [
|
|
1462
1472
|
(c(), A("svg", {
|
|
1463
1473
|
ref_key: "svgRef",
|
|
1464
1474
|
ref: ye,
|
|
1465
|
-
xmlns:
|
|
1475
|
+
xmlns: m(pl),
|
|
1466
1476
|
"aria-describedby": `chart-instructions-${W.value}`,
|
|
1467
|
-
class:
|
|
1477
|
+
class: Ct({
|
|
1468
1478
|
"vue-data-ui-fullscreen--on": pe.value,
|
|
1469
1479
|
"vue-data-ui-fulscreen--off": !pe.value,
|
|
1470
1480
|
"vue-data-ui-zoom-plus": !Pe.value,
|
|
1471
1481
|
"vue-data-ui-zoom-minus": Pe.value,
|
|
1472
|
-
loading:
|
|
1482
|
+
loading: m(ge)
|
|
1473
1483
|
}),
|
|
1474
1484
|
viewBox: `${J.value.startX} ${J.value.startY} ${J.value.width <= 0 ? 10 : J.value.width} ${J.value.height <= 0 ? 10 : J.value.height}`,
|
|
1475
1485
|
style: he(`max-width:100%; overflow: hidden; background:transparent;color:${t.value.style.chart.color}`),
|
|
@@ -1478,51 +1488,51 @@ const Xl = ["id"], Gl = ["id"], Yl = ["id"], Zl = ["tabindex", "onClick", "onKey
|
|
|
1478
1488
|
onBlur: ol,
|
|
1479
1489
|
onKeydown: ll
|
|
1480
1490
|
}, [
|
|
1481
|
-
|
|
1491
|
+
Ze(m(x)),
|
|
1482
1492
|
(c(!0), A(xe, null, Re(O.value, (o, a) => (c(), A("g", {
|
|
1483
1493
|
key: `tgrad_${o.id}`
|
|
1484
1494
|
}, [
|
|
1485
1495
|
t.value.style.chart.layout.rects.gradient.show ? (c(), A("defs", ta, [
|
|
1486
|
-
|
|
1496
|
+
N("radialGradient", {
|
|
1487
1497
|
id: `tgrad_${o.id}`,
|
|
1488
1498
|
gradientTransform: "translate(-1, -1.000001) scale(2, 2)"
|
|
1489
1499
|
}, [
|
|
1490
|
-
|
|
1500
|
+
N("stop", {
|
|
1491
1501
|
offset: "18%",
|
|
1492
1502
|
"stop-color": o.color
|
|
1493
1503
|
}, null, 8, la),
|
|
1494
|
-
|
|
1504
|
+
N("stop", {
|
|
1495
1505
|
offset: "100%",
|
|
1496
|
-
"stop-color":
|
|
1506
|
+
"stop-color": m(vo)(
|
|
1497
1507
|
o.color,
|
|
1498
1508
|
t.value.style.chart.layout.rects.gradient.intensity / 100
|
|
1499
1509
|
)
|
|
1500
1510
|
}, null, 8, aa)
|
|
1501
1511
|
], 8, oa)
|
|
1502
|
-
])) :
|
|
1512
|
+
])) : _("", !0)
|
|
1503
1513
|
]))), 128)),
|
|
1504
|
-
|
|
1514
|
+
N("g", null, [
|
|
1505
1515
|
(c(!0), A(xe, null, Re(O.value, (o, a) => (c(), A("g", {
|
|
1506
1516
|
key: `rect_${o.id}_${o.depth}`
|
|
1507
1517
|
}, [
|
|
1508
|
-
|
|
1518
|
+
N("rect", {
|
|
1509
1519
|
x: o.x0,
|
|
1510
1520
|
y: o.y0,
|
|
1511
1521
|
height: de(o),
|
|
1512
1522
|
width: ve(o),
|
|
1513
|
-
fill: oe.value ? o.color ?? t.value.style.chart.backgroundColor : t.value.style.chart.layout.rects.gradient.show ?
|
|
1523
|
+
fill: oe.value ? o.color ?? t.value.style.chart.backgroundColor : t.value.style.chart.layout.rects.gradient.show ? Ue.value ? t.value.style.chart.backgroundColor : `url(#tgrad_${o.id})` : o.color ?? t.value.style.chart.backgroundColor,
|
|
1514
1524
|
rx: el(o),
|
|
1515
|
-
stroke:
|
|
1516
|
-
"stroke-width":
|
|
1517
|
-
onClick:
|
|
1525
|
+
stroke: F.value && F.value.id === o.id ? t.value.style.chart.layout.rects.selected.stroke : t.value.style.chart.layout.rects.stroke,
|
|
1526
|
+
"stroke-width": F.value && F.value.id === o.id ? t.value.style.chart.layout.rects.selected.strokeWidth : t.value.style.chart.layout.rects.strokeWidth,
|
|
1527
|
+
onClick: wt((n) => _e(o, a), ["stop"]),
|
|
1518
1528
|
onMouseenter: () => Kt({
|
|
1519
1529
|
datapoint: o,
|
|
1520
1530
|
seriesIndex: a,
|
|
1521
1531
|
triggerMode: "pointer"
|
|
1522
1532
|
}),
|
|
1523
1533
|
onMouseleave: (n) => Do({ datapoint: o, seriesIndex: a }),
|
|
1524
|
-
style: he(`opacity:${
|
|
1525
|
-
class:
|
|
1534
|
+
style: he(`opacity:${F.value ? F.value.id === o.id ? 1 : t.value.style.chart.layout.rects.selected.unselectedOpacity : 1}`),
|
|
1535
|
+
class: Ct([
|
|
1526
1536
|
"vue-ui-treemap-rect",
|
|
1527
1537
|
Lo(o) ? "vue-data-ui-zoom-minus" : "vue-data-ui-zoom-plus"
|
|
1528
1538
|
])
|
|
@@ -1531,15 +1541,15 @@ const Xl = ["id"], Gl = ["id"], Yl = ["id"], Zl = ["tabindex", "onClick", "onKey
|
|
|
1531
1541
|
(c(!0), A(xe, null, Re(O.value, (o, a) => (c(), A("g", {
|
|
1532
1542
|
key: `label_${o.id}_${o.depth}`
|
|
1533
1543
|
}, [
|
|
1534
|
-
!e.$slots.rect && !
|
|
1544
|
+
!e.$slots.rect && !m(ge) && t.value.style.chart.layout.labels.showDefaultLabels && !Ue.value && o.showLabel ? (c(), A("g", {
|
|
1535
1545
|
key: 0,
|
|
1536
1546
|
style: { "pointer-events": "none" },
|
|
1537
|
-
innerHTML:
|
|
1547
|
+
innerHTML: Ko({
|
|
1538
1548
|
rect: o,
|
|
1539
1549
|
seriesIndex: a,
|
|
1540
1550
|
isTitle: !!(o.children && o.children.length)
|
|
1541
1551
|
})
|
|
1542
|
-
}, null, 8, sa)) :
|
|
1552
|
+
}, null, 8, sa)) : _("", !0)
|
|
1543
1553
|
]))), 128)),
|
|
1544
1554
|
(c(!0), A(xe, null, Re(O.value, (o, a) => (c(), A("g", {
|
|
1545
1555
|
key: `slot_${o.id}_${o.depth}`
|
|
@@ -1552,8 +1562,8 @@ const Xl = ["id"], Gl = ["id"], Yl = ["id"], Zl = ["tabindex", "onClick", "onKey
|
|
|
1552
1562
|
class: "vue-ui-treemap-cell-foreignObject",
|
|
1553
1563
|
style: { "pointer-events": "none" }
|
|
1554
1564
|
}, [
|
|
1555
|
-
|
|
1556
|
-
|
|
1565
|
+
N("div", ua, [
|
|
1566
|
+
m(ge) ? _("", !0) : b(e.$slots, "rect", kt({
|
|
1557
1567
|
key: 0,
|
|
1558
1568
|
ref_for: !0
|
|
1559
1569
|
}, {
|
|
@@ -1561,12 +1571,12 @@ const Xl = ["id"], Gl = ["id"], Yl = ["id"], Zl = ["tabindex", "onClick", "onKey
|
|
|
1561
1571
|
...o,
|
|
1562
1572
|
height: de(o),
|
|
1563
1573
|
width: ve(o),
|
|
1564
|
-
isSelected:
|
|
1574
|
+
isSelected: F.value ? F.value.id === o.id : !0
|
|
1565
1575
|
},
|
|
1566
1576
|
shouldShow: o.proportion > t.value.style.chart.layout.labels.hideUnderProportion || Pe.value,
|
|
1567
|
-
fontSize:
|
|
1577
|
+
fontSize: ct(o),
|
|
1568
1578
|
isZoom: Pe.value,
|
|
1569
|
-
textColor:
|
|
1579
|
+
textColor: m(ho)(
|
|
1570
1580
|
o.color
|
|
1571
1581
|
)
|
|
1572
1582
|
}), void 0, !0)
|
|
@@ -1574,55 +1584,55 @@ const Xl = ["id"], Gl = ["id"], Yl = ["id"], Zl = ["tabindex", "onClick", "onKey
|
|
|
1574
1584
|
], 8, ra))
|
|
1575
1585
|
]))), 128))
|
|
1576
1586
|
]),
|
|
1577
|
-
|
|
1578
|
-
svg:
|
|
1587
|
+
b(e.$slots, "svg", D(B({
|
|
1588
|
+
svg: Y.value,
|
|
1579
1589
|
isZoom: Pe.value,
|
|
1580
|
-
rect:
|
|
1590
|
+
rect: F.value,
|
|
1581
1591
|
config: t.value,
|
|
1582
|
-
isPrintingImg:
|
|
1592
|
+
isPrintingImg: m(st) | m(rt) | Ve.value,
|
|
1583
1593
|
isPrintingSvg: He.value
|
|
1584
1594
|
})), void 0, !0)
|
|
1585
1595
|
], 46, ea)),
|
|
1586
1596
|
e.$slots.hint ? (c(), A("div", ia, [
|
|
1587
|
-
|
|
1597
|
+
b(e.$slots, "hint", D(B({
|
|
1588
1598
|
hint: t.value.a11y.translations.keyboardNavigation,
|
|
1589
|
-
isVisible:
|
|
1599
|
+
isVisible: ot.value
|
|
1590
1600
|
})), void 0, !0)
|
|
1591
|
-
])) :
|
|
1601
|
+
])) : _("", !0)
|
|
1592
1602
|
]),
|
|
1593
1603
|
e.$slots.watermark ? (c(), A("div", ca, [
|
|
1594
|
-
|
|
1595
|
-
isPrinting:
|
|
1604
|
+
b(e.$slots, "watermark", D(B({
|
|
1605
|
+
isPrinting: m(st) || m(rt) || Ve.value || He.value
|
|
1596
1606
|
})), void 0, !0)
|
|
1597
|
-
])) :
|
|
1598
|
-
|
|
1607
|
+
])) : _("", !0),
|
|
1608
|
+
N("div", {
|
|
1599
1609
|
id: `legend-bottom-${W.value}`
|
|
1600
1610
|
}, null, 8, da),
|
|
1601
1611
|
Pt.value ? (c(), Q(cl, {
|
|
1602
1612
|
key: 7,
|
|
1603
1613
|
to: t.value.style.chart.legend.position === "top" ? `#legend-top-${W.value}` : `#legend-bottom-${W.value}`
|
|
1604
1614
|
}, [
|
|
1605
|
-
|
|
1615
|
+
N("div", {
|
|
1606
1616
|
ref_key: "chartLegend",
|
|
1607
1617
|
ref: St
|
|
1608
1618
|
}, [
|
|
1609
1619
|
t.value.style.chart.legend.show ? (c(), Q(Ll, {
|
|
1610
|
-
key: `legend_${
|
|
1620
|
+
key: `legend_${Be.value}`,
|
|
1611
1621
|
legendSet: $e.value,
|
|
1612
1622
|
config: Fo.value,
|
|
1613
1623
|
id: `treemap_legend_${W.value}`,
|
|
1614
1624
|
isCursorPointer: ie.value,
|
|
1615
|
-
onClickMarker: l[0] || (l[0] = ({ legend: o }) =>
|
|
1625
|
+
onClickMarker: l[0] || (l[0] = ({ legend: o }) => We(o))
|
|
1616
1626
|
}, {
|
|
1617
1627
|
item: T(({ legend: o, index: a }) => [
|
|
1618
|
-
|
|
1628
|
+
m(ge) ? _("", !0) : (c(), A("div", {
|
|
1619
1629
|
key: 0,
|
|
1620
|
-
onClick: (n) =>
|
|
1630
|
+
onClick: (n) => We(o),
|
|
1621
1631
|
style: he(`opacity:${P.value.includes(o.id) ? 0.5 : 1}`)
|
|
1622
1632
|
}, Ne(o.display), 13, va))
|
|
1623
1633
|
]),
|
|
1624
1634
|
legendToggle: T(() => [
|
|
1625
|
-
$e.value.length > 2 && t.value.style.chart.legend.selectAllToggle.show && !
|
|
1635
|
+
$e.value.length > 2 && t.value.style.chart.legend.selectAllToggle.show && !m(ge) ? (c(), Q(Nl, {
|
|
1626
1636
|
key: 0,
|
|
1627
1637
|
backgroundColor: t.value.style.chart.legend.selectAllToggle.backgroundColor,
|
|
1628
1638
|
color: t.value.style.chart.legend.selectAllToggle.color,
|
|
@@ -1630,24 +1640,24 @@ const Xl = ["id"], Gl = ["id"], Yl = ["id"], Zl = ["tabindex", "onClick", "onKey
|
|
|
1630
1640
|
checked: P.value.length > 0,
|
|
1631
1641
|
isCursorPointer: ie.value,
|
|
1632
1642
|
onToggle: No
|
|
1633
|
-
}, null, 8, ["backgroundColor", "color", "fontSize", "checked", "isCursorPointer"])) :
|
|
1643
|
+
}, null, 8, ["backgroundColor", "color", "fontSize", "checked", "isCursorPointer"])) : _("", !0)
|
|
1634
1644
|
]),
|
|
1635
1645
|
_: 1
|
|
1636
|
-
}, 8, ["legendSet", "config", "id", "isCursorPointer"])) :
|
|
1646
|
+
}, 8, ["legendSet", "config", "id", "isCursorPointer"])) : b(e.$slots, "legend", {
|
|
1637
1647
|
key: 1,
|
|
1638
1648
|
legend: $e.value
|
|
1639
1649
|
}, void 0, !0)
|
|
1640
1650
|
], 512)
|
|
1641
|
-
], 8, ["to"])) :
|
|
1651
|
+
], 8, ["to"])) : _("", !0),
|
|
1642
1652
|
e.$slots.source ? (c(), A("div", {
|
|
1643
1653
|
key: 8,
|
|
1644
1654
|
ref_key: "source",
|
|
1645
1655
|
ref: It,
|
|
1646
1656
|
dir: "auto"
|
|
1647
1657
|
}, [
|
|
1648
|
-
|
|
1649
|
-
], 512)) :
|
|
1650
|
-
|
|
1658
|
+
b(e.$slots, "source", {}, void 0, !0)
|
|
1659
|
+
], 512)) : _("", !0),
|
|
1660
|
+
Ze(m(p), {
|
|
1651
1661
|
teleportTo: t.value.style.chart.tooltip.teleportTo,
|
|
1652
1662
|
show: X.value.showTooltip && Ae.value,
|
|
1653
1663
|
backgroundColor: t.value.style.chart.tooltip.backgroundColor,
|
|
@@ -1660,9 +1670,9 @@ const Xl = ["id"], Gl = ["id"], Yl = ["id"], Zl = ["tabindex", "onClick", "onKey
|
|
|
1660
1670
|
position: t.value.style.chart.tooltip.position,
|
|
1661
1671
|
offsetY: t.value.style.chart.tooltip.offsetY,
|
|
1662
1672
|
parent: K.value,
|
|
1663
|
-
content:
|
|
1673
|
+
content: Je.value,
|
|
1664
1674
|
isFullscreen: pe.value,
|
|
1665
|
-
isCustom:
|
|
1675
|
+
isCustom: m(fo)(t.value.style.chart.tooltip.customFormat),
|
|
1666
1676
|
smooth: t.value.style.chart.tooltip.smooth,
|
|
1667
1677
|
backdropFilter: t.value.style.chart.tooltip.backdropFilter,
|
|
1668
1678
|
smoothForce: t.value.style.chart.tooltip.smoothForce,
|
|
@@ -1671,24 +1681,24 @@ const Xl = ["id"], Gl = ["id"], Yl = ["id"], Zl = ["tabindex", "onClick", "onKey
|
|
|
1671
1681
|
a11yPosition: Lt.value
|
|
1672
1682
|
}, {
|
|
1673
1683
|
"tooltip-before": T(() => [
|
|
1674
|
-
|
|
1684
|
+
b(e.$slots, "tooltip-before", D(B({ ...Xe.value })), void 0, !0)
|
|
1675
1685
|
]),
|
|
1676
1686
|
tooltip: T(() => [
|
|
1677
|
-
|
|
1687
|
+
b(e.$slots, "tooltip", D(B({ ...Xe.value })), void 0, !0)
|
|
1678
1688
|
]),
|
|
1679
1689
|
"tooltip-after": T(() => [
|
|
1680
|
-
|
|
1690
|
+
b(e.$slots, "tooltip-after", D(B({ ...Xe.value })), void 0, !0)
|
|
1681
1691
|
]),
|
|
1682
1692
|
_: 3
|
|
1683
1693
|
}, 8, ["teleportTo", "show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold", "isA11yMode", "a11yPosition"]),
|
|
1684
|
-
ue.value && t.value.userOptions.buttons.table ? (c(), Q(dl(Fe.value.component),
|
|
1694
|
+
ue.value && t.value.userOptions.buttons.table ? (c(), Q(dl(Fe.value.component), kt({ key: 9 }, Fe.value.props, {
|
|
1685
1695
|
ref_key: "tableUnit",
|
|
1686
1696
|
ref: Se,
|
|
1687
1697
|
onClose: to
|
|
1688
1698
|
}), no({
|
|
1689
1699
|
content: T(() => [
|
|
1690
|
-
(c(), Q(
|
|
1691
|
-
key: `table_${
|
|
1700
|
+
(c(), Q(m(f), {
|
|
1701
|
+
key: `table_${De.value}`,
|
|
1692
1702
|
colNames: Te.value.colNames,
|
|
1693
1703
|
head: Te.value.head,
|
|
1694
1704
|
body: Te.value.body,
|
|
@@ -1699,13 +1709,13 @@ const Xl = ["id"], Gl = ["id"], Yl = ["id"], Zl = ["tabindex", "onClick", "onKey
|
|
|
1699
1709
|
onClose: to
|
|
1700
1710
|
}, {
|
|
1701
1711
|
th: T(({ th: o }) => [
|
|
1702
|
-
|
|
1712
|
+
N("div", {
|
|
1703
1713
|
innerHTML: o,
|
|
1704
1714
|
style: { display: "flex", "align-items": "center" }
|
|
1705
1715
|
}, null, 8, ha)
|
|
1706
1716
|
]),
|
|
1707
1717
|
td: T(({ td: o }) => [
|
|
1708
|
-
|
|
1718
|
+
je(Ne(o.name || o), 1)
|
|
1709
1719
|
]),
|
|
1710
1720
|
_: 1
|
|
1711
1721
|
}, 8, ["colNames", "head", "body", "config", "title", "withCloseButton", "isCursorPointer"]))
|
|
@@ -1715,20 +1725,20 @@ const Xl = ["id"], Gl = ["id"], Yl = ["id"], Zl = ["tabindex", "onClick", "onKey
|
|
|
1715
1725
|
t.value.table.useDialog ? {
|
|
1716
1726
|
name: "title",
|
|
1717
1727
|
fn: T(() => [
|
|
1718
|
-
|
|
1728
|
+
je(Ne(Fe.value.title), 1)
|
|
1719
1729
|
]),
|
|
1720
1730
|
key: "0"
|
|
1721
1731
|
} : void 0,
|
|
1722
1732
|
t.value.table.useDialog ? {
|
|
1723
1733
|
name: "actions",
|
|
1724
1734
|
fn: T(() => [
|
|
1725
|
-
|
|
1735
|
+
N("button", {
|
|
1726
1736
|
tabindex: "0",
|
|
1727
1737
|
class: "vue-ui-user-options-button",
|
|
1728
|
-
onClick: l[1] || (l[1] = (o) =>
|
|
1738
|
+
onClick: l[1] || (l[1] = (o) => vt(t.value.userOptions.callbacks.csv)),
|
|
1729
1739
|
style: he({ cursor: ie.value ? "pointer" : "default" })
|
|
1730
1740
|
}, [
|
|
1731
|
-
|
|
1741
|
+
Ze(po, {
|
|
1732
1742
|
name: "fileCsv",
|
|
1733
1743
|
stroke: Fe.value.props.color
|
|
1734
1744
|
}, null, 8, ["stroke"])
|
|
@@ -1736,13 +1746,13 @@ const Xl = ["id"], Gl = ["id"], Yl = ["id"], Zl = ["tabindex", "onClick", "onKey
|
|
|
1736
1746
|
]),
|
|
1737
1747
|
key: "1"
|
|
1738
1748
|
} : void 0
|
|
1739
|
-
]), 1040)) :
|
|
1740
|
-
|
|
1741
|
-
|
|
1749
|
+
]), 1040)) : _("", !0),
|
|
1750
|
+
b(e.$slots, "skeleton", {}, () => [
|
|
1751
|
+
m(ge) ? (c(), Q(Tl, { key: 0 })) : _("", !0)
|
|
1742
1752
|
], !0)
|
|
1743
1753
|
], 46, Xl));
|
|
1744
1754
|
}
|
|
1745
|
-
}, Fa = /* @__PURE__ */ Rl(fa, [["__scopeId", "data-v-
|
|
1755
|
+
}, Fa = /* @__PURE__ */ Rl(fa, [["__scopeId", "data-v-ba43cd2e"]]);
|
|
1746
1756
|
export {
|
|
1747
1757
|
Fa as default
|
|
1748
1758
|
};
|