vue-data-ui 2.16.5 → 2.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +85 -55
- package/dist/{Arrow-D9B36pfx.js → Arrow-BAEkZGzL.js} +1 -1
- package/dist/{BaseDraggableDialog-DloHiD4h.js → BaseDraggableDialog-ChCkcmj_.js} +2 -2
- package/dist/{BaseIcon-DJab5OQD.js → BaseIcon-naqtCxVi.js} +1 -1
- package/dist/{ColorPicker-Br0rMnNb.js → ColorPicker-CfIPgxcj.js} +2 -2
- package/dist/{DataTable-B6MXw9cG.js → DataTable-D0VYDhfx.js} +2 -2
- package/dist/{Legend-DoxQwq_u.js → Legend-Bxlv67uY.js} +2 -2
- package/dist/{NonSvgPenAndPaper-DhbyLXKW.js → NonSvgPenAndPaper-b_oVy-Dd.js} +3 -3
- package/dist/{PackageVersion-DCreTQN4.js → PackageVersion-5TR4ocqp.js} +1 -1
- package/dist/{PenAndPaper-BS60tkQN.js → PenAndPaper-D6AqipIO.js} +32 -32
- package/dist/{Shape-CrstrfQ9.js → Shape-DtFT5EJa.js} +1 -1
- package/dist/{Slicer-Bd0AkciG.js → Slicer-CL6-MRI6.js} +2 -2
- package/dist/{SparkTooltip-B4j_rvhG.js → SparkTooltip-Bcv1aoA5.js} +1 -1
- package/dist/{Title-BQLtfM0P.js → Title-B-2bV0SW.js} +1 -1
- package/dist/{Tooltip-5JmGL7sR.js → Tooltip-CoQnTnr-.js} +1 -1
- package/dist/{UserOptions-DMGkAAIO.js → UserOptions-Dd34lEKb.js} +137 -129
- package/dist/{dom-to-png-g3Q8kjna.js → dom-to-png-2AA0wHlX.js} +1 -1
- package/dist/img-Y_hYz-ZC.js +27 -0
- package/dist/{index-CZNLCg7T.js → index-pPGk-uhD.js} +1 -1
- package/dist/{pdf-DJVOD0cz.js → pdf-yfk3d1is.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +1098 -162
- package/dist/types/vue-data-ui.d.ts +1098 -162
- package/dist/{useNestedProp-BcPDA6Xr.js → useNestedProp-DjACxgdZ.js} +1 -1
- package/dist/{usePrinter-ButWuZVm.js → usePrinter-DDHcrl0A.js} +2 -2
- package/dist/vue-data-ui-CIWxgKjd.js +312 -0
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-o8P0DCbz.js → vue-ui-3d-bar-D5Wpdqfk.js} +244 -235
- package/dist/{vue-ui-accordion-CO4hmfuX.js → vue-ui-accordion-CVnA550V.js} +3 -3
- package/dist/{vue-ui-age-pyramid-C9T5bAEl.js → vue-ui-age-pyramid-BuAl-zC5.js} +167 -158
- package/dist/{vue-ui-annotator-CyOygaxE.js → vue-ui-annotator-gl2A20m3.js} +2 -2
- package/dist/{vue-ui-bullet-CPT1jdcz.js → vue-ui-bullet-D-VMKpwe.js} +131 -122
- package/dist/{vue-ui-candlestick-BfZTMGE0.js → vue-ui-candlestick-1r6YwiUV.js} +248 -239
- package/dist/{vue-ui-carousel-table-Bam9qqkj.js → vue-ui-carousel-table-B6UJoNtP.js} +17 -16
- package/dist/{vue-ui-chestnut-BAIMBFaQ.js → vue-ui-chestnut-DnlBYpC5.js} +257 -248
- package/dist/{vue-ui-chord-92E1yKdu.js → vue-ui-chord-D3kpzYjp.js} +229 -220
- package/dist/{vue-ui-circle-pack-DxXPqA7Z.js → vue-ui-circle-pack-CHgdpoYu.js} +200 -191
- package/dist/{vue-ui-cursor-Bvy_o8wb.js → vue-ui-cursor-63EAvElT.js} +2 -2
- package/dist/{vue-ui-dashboard--QRCkp7q.js → vue-ui-dashboard-Da6CPET-.js} +62 -62
- package/dist/{vue-ui-digits-Dl8RHLvt.js → vue-ui-digits-CA8pUKej.js} +2 -2
- package/dist/{vue-ui-donut-BxSTOFDt.js → vue-ui-donut-CKa7nFjt.js} +352 -343
- package/dist/{vue-ui-donut-evolution-DNzTtWnJ.js → vue-ui-donut-evolution-qeBEA4W8.js} +267 -258
- package/dist/{vue-ui-dumbbell-D01p3t3P.js → vue-ui-dumbbell-Bm0PvAKT.js} +146 -137
- package/dist/{vue-ui-flow-BMvaRn7E.js → vue-ui-flow-C2dqXvrU.js} +171 -162
- package/dist/{vue-ui-funnel-Bd_3wouw.js → vue-ui-funnel-Dvy5rRld.js} +134 -125
- package/dist/{vue-ui-galaxy-D4HJH1qq.js → vue-ui-galaxy-Y8LYp5n2.js} +181 -172
- package/dist/{vue-ui-gauge-CgIlk2pu.js → vue-ui-gauge-BBo0jWAP.js} +166 -157
- package/dist/{vue-ui-gizmo-C1-QYvsn.js → vue-ui-gizmo-DjXfTOWn.js} +3 -3
- package/dist/{vue-ui-heatmap-tUn_BlSp.js → vue-ui-heatmap-BbxRpltP.js} +242 -229
- package/dist/{vue-ui-history-plot-TfVRzyIK.js → vue-ui-history-plot-ChYf3Nvc.js} +218 -209
- package/dist/{vue-ui-kpi-BuL8MAMD.js → vue-ui-kpi-Vfc5-JnE.js} +3 -3
- package/dist/{vue-ui-mini-loader-DIeG36P8.js → vue-ui-mini-loader-C0-Nsz8K.js} +2 -2
- package/dist/{vue-ui-molecule-8RJNzWIw.js → vue-ui-molecule-B7Yu7vzF.js} +155 -146
- package/dist/{vue-ui-mood-radar-DftzG_Bi.js → vue-ui-mood-radar-C8JUTwNw.js} +130 -121
- package/dist/{vue-ui-nested-donuts-B9JC_0xK.js → vue-ui-nested-donuts-D0RgFifU.js} +255 -246
- package/dist/{vue-ui-onion-DTjaH-Bu.js → vue-ui-onion-D4U7TL_N.js} +150 -141
- package/dist/{vue-ui-parallel-coordinate-plot-DwqfVqFB.js → vue-ui-parallel-coordinate-plot-CXMT7Rjr.js} +194 -185
- package/dist/{vue-ui-quadrant-Cv3VWA6d.js → vue-ui-quadrant-B13pTVVZ.js} +248 -239
- package/dist/{vue-ui-quick-chart-imc0KrbF.js → vue-ui-quick-chart-C0UL4o63.js} +328 -319
- package/dist/{vue-ui-radar-kNySclk1.js → vue-ui-radar-XpdiXnhz.js} +165 -156
- package/dist/{vue-ui-rating-DBhEbgwD.js → vue-ui-rating-CM8ZrUb1.js} +2 -2
- package/dist/{vue-ui-relation-circle-BJQhS0aG.js → vue-ui-relation-circle-CYoFNekk.js} +145 -136
- package/dist/{vue-ui-ridgeline-Bhd1Uwm8.js → vue-ui-ridgeline-QUquE6ck.js} +198 -189
- package/dist/{vue-ui-rings-C_IT2mi0.js → vue-ui-rings-DwT0IfOh.js} +136 -127
- package/dist/{vue-ui-scatter-i8XZreWa.js → vue-ui-scatter-zDpy1udm.js} +207 -199
- package/dist/{vue-ui-skeleton-D9B8DY_k.js → vue-ui-skeleton-DJPjyNYn.js} +3 -3
- package/dist/{vue-ui-smiley-gmdnUWcW.js → vue-ui-smiley-DoDXl6k0.js} +2 -2
- package/dist/{vue-ui-spark-trend-DOF3vl8_.js → vue-ui-spark-trend-CniV6Cpr.js} +3 -3
- package/dist/{vue-ui-sparkbar-BVOVq3dA.js → vue-ui-sparkbar-Ds2ITgwn.js} +3 -3
- package/dist/{vue-ui-sparkgauge-DVO2Z0Rg.js → vue-ui-sparkgauge-CosfK-kw.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-CbV86a2i.js → vue-ui-sparkhistogram-C7O1wPAJ.js} +4 -4
- package/dist/{vue-ui-sparkline-jDNAVZu-.js → vue-ui-sparkline-B_iUj3F2.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-auT8CUXm.js → vue-ui-sparkstackbar-DBhWrysr.js} +3 -3
- package/dist/{vue-ui-stackbar-DmO02We2.js → vue-ui-stackbar-C3aV4IcL.js} +242 -233
- package/dist/{vue-ui-strip-plot-B25s87lj.js → vue-ui-strip-plot-Bvr1GAzH.js} +204 -195
- package/dist/{vue-ui-table-B4xbQdK_.js → vue-ui-table-DQKKRgyo.js} +3 -3
- package/dist/{vue-ui-table-heatmap-DI57VcvH.js → vue-ui-table-heatmap-Dyqj5XJC.js} +26 -25
- package/dist/{vue-ui-table-sparkline-DRgsZztN.js → vue-ui-table-sparkline-D4RubyLj.js} +8 -7
- package/dist/{vue-ui-thermometer-DkeT5DV_.js → vue-ui-thermometer-B0FKI5cG.js} +149 -140
- package/dist/{vue-ui-timer-uon_DLeH.js → vue-ui-timer-DUCBRIl-.js} +5 -5
- package/dist/{vue-ui-tiremarks-BV0qXRF2.js → vue-ui-tiremarks-CRt4UQZD.js} +114 -105
- package/dist/{vue-ui-treemap-DzJsjtz7.js → vue-ui-treemap-CWP5nYDx.js} +298 -289
- package/dist/{vue-ui-vertical-bar-CkLS_DGb.js → vue-ui-vertical-bar-C5fPYltO.js} +294 -285
- package/dist/{vue-ui-waffle-B2XiLGQx.js → vue-ui-waffle-BpWLlfpg.js} +190 -181
- package/dist/{vue-ui-wheel-BR1DDpKU.js → vue-ui-wheel-CTzuCroy.js} +96 -87
- package/dist/{vue-ui-word-cloud-BvOT6hu2.js → vue-ui-word-cloud-BPokdaP1.js} +212 -203
- package/dist/{vue-ui-world-BeP91MNX.js → vue-ui-world-CS6k-oil.js} +201 -192
- package/dist/{vue-ui-xy-BaR-ZDba.js → vue-ui-xy-CQ425kLR.js} +517 -510
- package/dist/{vue-ui-xy-canvas-B4ZmECCK.js → vue-ui-xy-canvas-D2IFwAr7.js} +364 -355
- package/package.json +1 -1
- package/dist/img-CTC5DLKL.js +0 -20
- package/dist/vue-data-ui-BB8Upnjm.js +0 -301
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
import { defineAsyncComponent as
|
|
2
|
-
import { u as
|
|
3
|
-
import { t as
|
|
4
|
-
import { u as
|
|
5
|
-
import { u as
|
|
1
|
+
import { defineAsyncComponent as Z, useSlots as Ot, onMounted as st, computed as b, ref as $, shallowRef as B, watch as _t, onBeforeUnmount as St, createElementBlock as y, openBlock as v, unref as d, normalizeStyle as M, normalizeClass as xe, createBlock as J, createCommentVNode as O, createElementVNode as _, createVNode as Te, createSlots as It, withCtx as T, renderSlot as k, normalizeProps as Q, guardReactiveProps as ee, Fragment as ge, renderList as Oe, withKeys as ut, withModifiers as _e, mergeProps as rt, createTextVNode as ye, toDisplayString as te, nextTick as Ft } from "vue";
|
|
2
|
+
import { u as Nt, c as Se, t as zt, p as S, a as At, b as Pt, o as Rt, e as Lt, d as me, i as be, f as ie, X as Mt, l as it, F as ct, x as dt, q as Dt, r as Vt, y as Bt } from "./index-pPGk-uhD.js";
|
|
3
|
+
import { t as Ht, u as Ut } from "./useResponsive-DfdjqQps.js";
|
|
4
|
+
import { u as vt } from "./useNestedProp-DjACxgdZ.js";
|
|
5
|
+
import { u as Et } from "./usePrinter-DDHcrl0A.js";
|
|
6
6
|
import { u as Wt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
7
|
-
import { u as
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
|
|
7
|
+
import { u as qt } from "./useChartAccessibility-9icAAmYg.js";
|
|
8
|
+
import Gt from "./BaseIcon-naqtCxVi.js";
|
|
9
|
+
import Xt from "./Title-B-2bV0SW.js";
|
|
10
|
+
import jt from "./Legend-Bxlv67uY.js";
|
|
11
|
+
import Yt from "./img-Y_hYz-ZC.js";
|
|
12
|
+
import { _ as Kt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
|
+
function ht(n, r) {
|
|
13
14
|
const s = n.length;
|
|
14
15
|
if (s === 0)
|
|
15
16
|
throw new Error(`Max aspect ratio cannot be computed: ${n} is an empty array`);
|
|
@@ -25,7 +26,7 @@ function vt(n, r) {
|
|
|
25
26
|
);
|
|
26
27
|
}
|
|
27
28
|
}
|
|
28
|
-
function
|
|
29
|
+
function pt(n) {
|
|
29
30
|
const { xOffset: r, yOffset: s, width: i, height: u } = n;
|
|
30
31
|
return {
|
|
31
32
|
x0: r,
|
|
@@ -34,18 +35,18 @@ function ht(n) {
|
|
|
34
35
|
y1: s + u
|
|
35
36
|
};
|
|
36
37
|
}
|
|
37
|
-
function
|
|
38
|
+
function Zt(n, r, s) {
|
|
38
39
|
if (n.length === 0)
|
|
39
40
|
return !0;
|
|
40
41
|
{
|
|
41
|
-
const i = n.concat(r), u =
|
|
42
|
+
const i = n.concat(r), u = ht(
|
|
42
43
|
n,
|
|
43
44
|
s
|
|
44
|
-
), h =
|
|
45
|
+
), h = ht(i, s);
|
|
45
46
|
return u >= h;
|
|
46
47
|
}
|
|
47
48
|
}
|
|
48
|
-
function
|
|
49
|
+
function Jt(n) {
|
|
49
50
|
const r = [], s = n.length;
|
|
50
51
|
for (let i = 0; i < s; i += 1) {
|
|
51
52
|
const u = n[i], h = u.length;
|
|
@@ -54,17 +55,17 @@ function Kt(n) {
|
|
|
54
55
|
}
|
|
55
56
|
return r;
|
|
56
57
|
}
|
|
57
|
-
function
|
|
58
|
+
function Qt(n, r) {
|
|
58
59
|
const s = {
|
|
59
60
|
...r,
|
|
60
61
|
children: n
|
|
61
62
|
};
|
|
62
|
-
return
|
|
63
|
+
return gt(s);
|
|
63
64
|
}
|
|
64
|
-
function
|
|
65
|
+
function el(n) {
|
|
65
66
|
return (n.x1 - n.x0) * (n.y1 - n.y0);
|
|
66
67
|
}
|
|
67
|
-
function
|
|
68
|
+
function ft(n, r) {
|
|
68
69
|
const { width: s, height: i, xOffset: u, yOffset: h } = Ie(r), c = n.length, g = n.map((m) => m.normalizedValue || 0).reduce((m, x) => m + x, 0), p = g / i, H = g / s;
|
|
69
70
|
let z = u, w = h;
|
|
70
71
|
const C = [];
|
|
@@ -92,11 +93,11 @@ function pt(n, r) {
|
|
|
92
93
|
return C;
|
|
93
94
|
}
|
|
94
95
|
}
|
|
95
|
-
function
|
|
96
|
+
function tl(n) {
|
|
96
97
|
const r = Ie(n), s = r.width, i = r.height;
|
|
97
98
|
return Math.min(s, i);
|
|
98
99
|
}
|
|
99
|
-
function
|
|
100
|
+
function ll(n, r) {
|
|
100
101
|
const s = n.length, i = n.map((p) => p.value ?? 0).reduce((p, H) => p + H, 0), u = r / i, h = [];
|
|
101
102
|
let c, g;
|
|
102
103
|
for (let p = 0; p < s; p += 1)
|
|
@@ -114,16 +115,16 @@ function Ie(n) {
|
|
|
114
115
|
height: u - s
|
|
115
116
|
};
|
|
116
117
|
}
|
|
117
|
-
function
|
|
118
|
+
function ol(n, r, s, i) {
|
|
118
119
|
let u = n, h = r, c = s, g = i;
|
|
119
120
|
for (; ; ) {
|
|
120
121
|
const p = u.length;
|
|
121
122
|
if (p === 0) {
|
|
122
|
-
const C =
|
|
123
|
+
const C = ft(h, c);
|
|
123
124
|
return g.concat(C);
|
|
124
125
|
}
|
|
125
|
-
const H =
|
|
126
|
-
if (
|
|
126
|
+
const H = tl(c), z = u[0], w = u.slice(1, p);
|
|
127
|
+
if (Zt(h, z, H)) {
|
|
127
128
|
const C = h.concat(z);
|
|
128
129
|
u = w, h = C, c = c, g = g;
|
|
129
130
|
} else {
|
|
@@ -131,25 +132,25 @@ function to(n, r, s, i) {
|
|
|
131
132
|
let m = 0;
|
|
132
133
|
for (let N = 0; N < C; N += 1)
|
|
133
134
|
m += h[N].normalizedValue;
|
|
134
|
-
const x =
|
|
135
|
+
const x = al(c, m), D = ft(h, c), A = g.concat(D);
|
|
135
136
|
u = u, h = [], c = x, g = A;
|
|
136
137
|
}
|
|
137
138
|
}
|
|
138
139
|
}
|
|
139
|
-
function
|
|
140
|
+
function gt(n) {
|
|
140
141
|
if (typeof n.children > "u" || !n.children.length)
|
|
141
142
|
return [n];
|
|
142
143
|
{
|
|
143
|
-
const r =
|
|
144
|
+
const r = ll(
|
|
144
145
|
n.children,
|
|
145
|
-
|
|
146
|
-
), s =
|
|
146
|
+
el(n)
|
|
147
|
+
), s = ol(r, [], n, []), i = s.length, u = [];
|
|
147
148
|
for (let c = 0; c < i; c += 1)
|
|
148
|
-
u.push(
|
|
149
|
-
return
|
|
149
|
+
u.push(gt(s[c]));
|
|
150
|
+
return Jt(u);
|
|
150
151
|
}
|
|
151
152
|
}
|
|
152
|
-
function
|
|
153
|
+
function al(n, r) {
|
|
153
154
|
const { width: s, height: i, xOffset: u, yOffset: h } = Ie(n);
|
|
154
155
|
if (s >= i) {
|
|
155
156
|
const c = r / i, g = s - c, p = {
|
|
@@ -158,7 +159,7 @@ function oo(n, r) {
|
|
|
158
159
|
width: g,
|
|
159
160
|
height: i
|
|
160
161
|
};
|
|
161
|
-
return
|
|
162
|
+
return pt(p);
|
|
162
163
|
} else {
|
|
163
164
|
const c = r / s, g = i - c, p = {
|
|
164
165
|
xOffset: u,
|
|
@@ -166,26 +167,26 @@ function oo(n, r) {
|
|
|
166
167
|
width: s,
|
|
167
168
|
height: g
|
|
168
169
|
};
|
|
169
|
-
return
|
|
170
|
+
return pt(p);
|
|
170
171
|
}
|
|
171
172
|
}
|
|
172
|
-
const
|
|
173
|
+
const nl = ["id"], sl = {
|
|
173
174
|
key: 4,
|
|
174
175
|
class: "vue-ui-treemap-breadcrumbs",
|
|
175
176
|
"data-dom-to-png-ignore": ""
|
|
176
|
-
},
|
|
177
|
+
}, ul = ["tabindex", "onClick", "onKeydown", "data-last-crumb", "onMouseenter", "onFocus"], rl = { class: "vue-ui-treemap-crumb-unit" }, il = { class: "vue-ui-treemap-crumb-unit-label" }, cl = {
|
|
177
178
|
key: 0,
|
|
178
179
|
style: { width: "24px", display: "flex", "align-items": "center" }
|
|
179
|
-
},
|
|
180
|
+
}, dl = {
|
|
180
181
|
key: 0,
|
|
181
182
|
class: "vue-ui-treemap-crumb-unit-arrow"
|
|
182
|
-
},
|
|
183
|
+
}, vl = ["xmlns", "viewBox"], hl = { key: 0 }, pl = ["id"], fl = ["stop-color"], gl = ["stop-color"], yl = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width", "onClick", "onMouseenter"], ml = ["x", "y", "height", "width"], bl = {
|
|
183
184
|
style: { width: "100%", height: "100%" },
|
|
184
185
|
class: "vue-ui-treemap-cell"
|
|
185
|
-
},
|
|
186
|
+
}, kl = {
|
|
186
187
|
key: 6,
|
|
187
188
|
class: "vue-data-ui-watermark"
|
|
188
|
-
},
|
|
189
|
+
}, wl = ["onClick"], Cl = { key: 0 }, $l = { key: 1 }, xl = ["innerHTML"], Tl = {
|
|
189
190
|
__name: "vue-ui-treemap",
|
|
190
191
|
props: {
|
|
191
192
|
config: {
|
|
@@ -203,41 +204,41 @@ const lo = ["id"], ao = {
|
|
|
203
204
|
},
|
|
204
205
|
emits: ["selectLegend", "selectDatapoint"],
|
|
205
206
|
setup(n, { expose: r, emit: s }) {
|
|
206
|
-
const i =
|
|
207
|
-
|
|
207
|
+
const i = Z(() => import("./DataTable-D0VYDhfx.js")), u = Z(() => import("./PenAndPaper-D6AqipIO.js")), h = Z(() => import("./vue-ui-accordion-CVnA550V.js")), c = Z(() => import("./vue-ui-skeleton-DJPjyNYn.js")), g = Z(() => import("./Tooltip-CoQnTnr-.js")), p = Z(() => import("./UserOptions-Dd34lEKb.js")), H = Z(() => import("./PackageVersion-5TR4ocqp.js")), { vue_ui_treemap: z } = Nt(), w = n, C = s, m = Ot();
|
|
208
|
+
st(() => {
|
|
208
209
|
m["chart-background"] && console.warn("VueUiTreemap does not support the #chart-background slot.");
|
|
209
210
|
});
|
|
210
|
-
const x = b(() => !!w.dataset && w.dataset.length), D = b(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent)), A = $(Se()), N = $(!1), ke = $(""),
|
|
211
|
+
const x = b(() => !!w.dataset && w.dataset.length), D = b(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent)), A = $(Se()), N = $(!1), ke = $(""), le = $(!1), Fe = $(0), P = $([]), G = B(null), Ne = B(null), ze = B(null), Ae = B(null), Pe = B(null), Re = $(0), Le = $(0), Me = $(0), t = b({
|
|
211
212
|
get: () => He(),
|
|
212
213
|
set: (e) => e
|
|
213
|
-
}), { userOptionsVisible: we, setUserOptionsVisibility: De, keepUserOptionState: Ve } = Wt({ config: t.value }), { svgRef: Be } =
|
|
214
|
+
}), { userOptionsVisible: we, setUserOptionsVisibility: De, keepUserOptionState: Ve } = Wt({ config: t.value }), { svgRef: Be } = qt({ config: t.value.style.chart.title });
|
|
214
215
|
function He() {
|
|
215
|
-
const e =
|
|
216
|
+
const e = vt({
|
|
216
217
|
userConfig: w.config,
|
|
217
218
|
defaultConfig: z
|
|
218
219
|
});
|
|
219
220
|
return e.theme ? {
|
|
220
|
-
...
|
|
221
|
-
userConfig:
|
|
221
|
+
...vt({
|
|
222
|
+
userConfig: At.vue_ui_treemap[e.theme] || w.config,
|
|
222
223
|
defaultConfig: e
|
|
223
224
|
}),
|
|
224
|
-
customPalette:
|
|
225
|
+
customPalette: zt[e.theme] || S
|
|
225
226
|
} : e;
|
|
226
227
|
}
|
|
227
|
-
|
|
228
|
+
_t(() => w.config, (e) => {
|
|
228
229
|
t.value = He(), we.value = !t.value.userOptions.showOnChartHover, Re.value += 1, Le.value += 1, Me.value += 1, R.value.showTable = t.value.table.show, R.value.showTooltip = t.value.style.chart.tooltip.show;
|
|
229
230
|
}, { deep: !0 });
|
|
230
|
-
const { isPrinting: Ue, isImaging:
|
|
231
|
+
const { isPrinting: Ue, isImaging: Ee, generatePdf: We, generateImage: qe } = Et({
|
|
231
232
|
elementId: `treemap_${A.value}`,
|
|
232
233
|
fileName: t.value.style.chart.title.text || "vue-ui-treemap",
|
|
233
234
|
options: t.value.userOptions.print
|
|
234
|
-
}),
|
|
235
|
+
}), yt = b(() => t.value.userOptions.show && !t.value.style.chart.title.text), ce = b(() => Pt(t.value.customPalette)), R = $({
|
|
235
236
|
showTable: t.value.table.show,
|
|
236
237
|
showTooltip: t.value.style.chart.tooltip.show
|
|
237
238
|
}), U = $({
|
|
238
239
|
height: t.value.style.chart.height,
|
|
239
240
|
width: t.value.style.chart.width
|
|
240
|
-
}),
|
|
241
|
+
}), X = b(() => ({
|
|
241
242
|
bottom: U.value.height - t.value.style.chart.padding.bottom,
|
|
242
243
|
height: U.value.height - t.value.style.chart.padding.top - t.value.style.chart.padding.bottom,
|
|
243
244
|
left: t.value.style.chart.padding.left,
|
|
@@ -248,152 +249,152 @@ const lo = ["id"], ao = {
|
|
|
248
249
|
width: U.value.width - t.value.style.chart.padding.left - t.value.style.chart.padding.right
|
|
249
250
|
}));
|
|
250
251
|
function Ge(e) {
|
|
251
|
-
e.forEach((
|
|
252
|
-
|
|
253
|
-
a.parentId =
|
|
254
|
-
}), Ge(
|
|
252
|
+
e.forEach((o, l) => {
|
|
253
|
+
o.id = Se(), o.color = me(o.color) || ce.value[l] || S[l] || S[l % S.length], o.children && (o.children.forEach((a) => {
|
|
254
|
+
a.parentId = o.id, a.color = o.color;
|
|
255
|
+
}), Ge(o.children));
|
|
255
256
|
});
|
|
256
257
|
}
|
|
257
|
-
const
|
|
258
|
-
|
|
259
|
-
|
|
258
|
+
const E = B(w.dataset), W = B(null), oe = B(null);
|
|
259
|
+
st(() => {
|
|
260
|
+
mt();
|
|
260
261
|
});
|
|
261
|
-
function
|
|
262
|
-
if (
|
|
262
|
+
function mt() {
|
|
263
|
+
if (Rt(w.dataset) && Lt({
|
|
263
264
|
componentName: "VueUiTreemap",
|
|
264
265
|
type: "dataset"
|
|
265
|
-
}), Ge(
|
|
266
|
-
const e =
|
|
267
|
-
const { width:
|
|
268
|
-
chart:
|
|
266
|
+
}), Ge(E.value), t.value.responsive) {
|
|
267
|
+
const e = Ht(() => {
|
|
268
|
+
const { width: o, height: l } = Ut({
|
|
269
|
+
chart: G.value,
|
|
269
270
|
title: t.value.style.chart.title.text ? Ne.value : null,
|
|
270
271
|
legend: t.value.style.chart.legend.show ? ze.value : null,
|
|
271
272
|
source: Ae.value,
|
|
272
273
|
noTitle: Pe.value
|
|
273
274
|
});
|
|
274
275
|
requestAnimationFrame(() => {
|
|
275
|
-
U.value.width =
|
|
276
|
+
U.value.width = o, U.value.height = l;
|
|
276
277
|
});
|
|
277
278
|
});
|
|
278
|
-
|
|
279
|
+
W.value && (oe.value && W.value.unobserve(oe.value), W.value.disconnect()), W.value = new ResizeObserver(e), oe.value = G.value.parentNode, W.value.observe(oe.value);
|
|
279
280
|
}
|
|
280
281
|
}
|
|
281
|
-
|
|
282
|
-
|
|
282
|
+
St(() => {
|
|
283
|
+
W.value && (oe.value && W.value.unobserve(oe.value), W.value.disconnect());
|
|
283
284
|
});
|
|
284
|
-
const
|
|
285
|
+
const ae = $(E.value), ue = b(() => ae.value.map((e, o) => ({
|
|
285
286
|
...e,
|
|
286
|
-
color: me(e.color) || ce.value[
|
|
287
|
-
})).filter((e) => !P.value.includes(e.id))),
|
|
287
|
+
color: me(e.color) || ce.value[o] || S[o] || S[o % S.length]
|
|
288
|
+
})).filter((e) => !P.value.includes(e.id))), ne = b(() => E.value.filter((e) => !P.value.includes(e.id)).map((e) => e.value || 0).reduce((e, o) => e + o, 0)), Xe = b({
|
|
288
289
|
get() {
|
|
289
290
|
let e = [...ue.value];
|
|
290
|
-
return t.value.style.chart.layout.sorted && (e = [...ue.value].sort((
|
|
291
|
-
...
|
|
291
|
+
return t.value.style.chart.layout.sorted && (e = [...ue.value].sort((o, l) => l.value - o.value)), e.map((o) => ({
|
|
292
|
+
...o
|
|
292
293
|
}));
|
|
293
294
|
},
|
|
294
295
|
set(e) {
|
|
295
296
|
return e;
|
|
296
297
|
}
|
|
297
298
|
});
|
|
298
|
-
function je(e,
|
|
299
|
-
return e.value /
|
|
299
|
+
function je(e, o) {
|
|
300
|
+
return e.value / o;
|
|
300
301
|
}
|
|
301
|
-
function
|
|
302
|
-
const a = t.value.style.chart.layout.rects.colorRatio - je(
|
|
303
|
-
return
|
|
302
|
+
function bt(e, o, l) {
|
|
303
|
+
const a = t.value.style.chart.layout.rects.colorRatio - je(o, l);
|
|
304
|
+
return it(e, a < 0 ? 0 : a);
|
|
304
305
|
}
|
|
305
|
-
function Ye(e,
|
|
306
|
+
function Ye(e, o, l, a) {
|
|
306
307
|
return e.map((f, F) => {
|
|
307
|
-
const fe =
|
|
308
|
+
const fe = bt(me(o) || ce.value[F] || S[F] || S[F % S.length], f, a), Tt = je(f, a);
|
|
308
309
|
return {
|
|
309
310
|
...f,
|
|
310
311
|
color: fe,
|
|
311
|
-
proportion:
|
|
312
|
-
parentName:
|
|
312
|
+
proportion: Tt,
|
|
313
|
+
parentName: l,
|
|
313
314
|
children: f.children ? Ye(f.children, fe, f.name, a) : void 0
|
|
314
315
|
};
|
|
315
316
|
});
|
|
316
317
|
}
|
|
317
|
-
const re = b(() =>
|
|
318
|
-
Xe.value.map((e,
|
|
319
|
-
const
|
|
318
|
+
const re = b(() => Qt(
|
|
319
|
+
Xe.value.map((e, o) => {
|
|
320
|
+
const l = e.children ? e.children.reduce((a, f) => a + f.value, 0) : e.value;
|
|
320
321
|
return {
|
|
321
322
|
value: e.value,
|
|
322
323
|
id: e.id || Se(),
|
|
323
|
-
children: e.children ? Ye(e.children.sort((a, f) => f.value - a.value), e.color, e.name,
|
|
324
|
+
children: e.children ? Ye(e.children.sort((a, f) => f.value - a.value), e.color, e.name, l) : void 0,
|
|
324
325
|
color: e.color,
|
|
325
326
|
name: e.name
|
|
326
327
|
};
|
|
327
328
|
}),
|
|
328
|
-
{ x0:
|
|
329
|
+
{ x0: X.value.left * 2, y0: X.value.top, x1: X.value.width, y1: X.value.height }
|
|
329
330
|
));
|
|
330
|
-
function Ke({ y0: e, y1:
|
|
331
|
-
return
|
|
331
|
+
function Ke({ y0: e, y1: o }) {
|
|
332
|
+
return o - e <= 0 ? 1e-4 : o - e;
|
|
332
333
|
}
|
|
333
|
-
function Ze({ x0: e, x1:
|
|
334
|
-
return
|
|
334
|
+
function Ze({ x0: e, x1: o }) {
|
|
335
|
+
return o - e <= 0 ? 1e-4 : o - e;
|
|
335
336
|
}
|
|
336
|
-
function
|
|
337
|
-
const
|
|
338
|
-
return
|
|
337
|
+
function j(e) {
|
|
338
|
+
const o = t.value.style.chart.layout.labels.fontSize * (e.proportion * 2 > 1 ? 1 : e.proportion * 2);
|
|
339
|
+
return o < t.value.style.chart.layout.labels.minFontSize ? t.value.style.chart.layout.labels.minFontSize : o;
|
|
339
340
|
}
|
|
340
|
-
function
|
|
341
|
-
|
|
341
|
+
function Je(e) {
|
|
342
|
+
le.value = e, Fe.value += 1;
|
|
342
343
|
}
|
|
343
|
-
const
|
|
344
|
+
const se = b(() => ({
|
|
344
345
|
startX: 0,
|
|
345
346
|
startY: 0,
|
|
346
|
-
width:
|
|
347
|
-
height:
|
|
347
|
+
width: X.value.vbWidth,
|
|
348
|
+
height: X.value.vbHeight
|
|
348
349
|
}));
|
|
349
|
-
function
|
|
350
|
-
for (const
|
|
351
|
-
if (
|
|
352
|
-
return
|
|
353
|
-
if (
|
|
354
|
-
const a =
|
|
350
|
+
function Y(e, o = E.value) {
|
|
351
|
+
for (const l of o) {
|
|
352
|
+
if (l.id === e)
|
|
353
|
+
return l;
|
|
354
|
+
if (l.children) {
|
|
355
|
+
const a = Y(e, l.children);
|
|
355
356
|
if (a)
|
|
356
357
|
return a;
|
|
357
358
|
}
|
|
358
359
|
}
|
|
359
360
|
return null;
|
|
360
361
|
}
|
|
361
|
-
const I = $([]),
|
|
362
|
+
const I = $([]), K = b(() => I.value.length > 0);
|
|
362
363
|
function de(e) {
|
|
363
364
|
if (!e) {
|
|
364
|
-
|
|
365
|
+
ae.value = E.value.slice(), C("selectDatapoint", void 0), I.value = [];
|
|
365
366
|
return;
|
|
366
367
|
}
|
|
367
|
-
const
|
|
368
|
-
if (
|
|
369
|
-
I.value.push(
|
|
368
|
+
const o = Y(e.id);
|
|
369
|
+
if (o && o.children?.length)
|
|
370
|
+
I.value.push(o.id), ae.value = o.children.slice(), C("selectDatapoint", e);
|
|
370
371
|
else if (e.parentId) {
|
|
371
372
|
I.value.push(e.parentId);
|
|
372
|
-
const
|
|
373
|
-
|
|
373
|
+
const l = Y(e.parentId);
|
|
374
|
+
ae.value = l.children.slice(), C("selectDatapoint", e);
|
|
374
375
|
} else if (I.value.length > 0) {
|
|
375
376
|
I.value.pop();
|
|
376
|
-
const
|
|
377
|
-
if (
|
|
378
|
-
const a =
|
|
379
|
-
|
|
377
|
+
const l = I.value[I.value.length - 1];
|
|
378
|
+
if (l) {
|
|
379
|
+
const a = Y(l);
|
|
380
|
+
ae.value = a.children.slice();
|
|
380
381
|
} else
|
|
381
|
-
|
|
382
|
+
ae.value = E.value.slice(), I.value = [], C("selectDatapoint", void 0);
|
|
382
383
|
}
|
|
383
384
|
}
|
|
384
385
|
function kt(e) {
|
|
385
|
-
return !!(
|
|
386
|
+
return !!(Y(e.id)?.children?.length || e.parentId);
|
|
386
387
|
}
|
|
387
388
|
const q = b(() => {
|
|
388
389
|
const e = [
|
|
389
390
|
{ id: null, label: "All" }
|
|
390
391
|
];
|
|
391
392
|
if (I.value.length > 0) {
|
|
392
|
-
let
|
|
393
|
-
const
|
|
394
|
-
for (;
|
|
395
|
-
|
|
396
|
-
for (const a of
|
|
393
|
+
let o = Y(I.value[I.value.length - 1]);
|
|
394
|
+
const l = [];
|
|
395
|
+
for (; o; )
|
|
396
|
+
l.unshift(o), o = o.parentId ? Y(o.parentId) : null;
|
|
397
|
+
for (const a of l)
|
|
397
398
|
e.push({
|
|
398
399
|
id: a.id,
|
|
399
400
|
label: a.name,
|
|
@@ -401,13 +402,13 @@ const lo = ["id"], ao = {
|
|
|
401
402
|
});
|
|
402
403
|
}
|
|
403
404
|
return e;
|
|
404
|
-
}), L = B(null),
|
|
405
|
+
}), L = B(null), Qe = b(() => E.value.map((e, o) => ({
|
|
405
406
|
...e,
|
|
406
|
-
color: me(e.color) || ce.value[
|
|
407
|
+
color: me(e.color) || ce.value[o] || S[o] || S[o % S.length],
|
|
407
408
|
shape: "square"
|
|
408
|
-
})).sort((e,
|
|
409
|
+
})).sort((e, o) => o.value - e.value).map((e, o) => ({
|
|
409
410
|
...e,
|
|
410
|
-
proportion: e.value /
|
|
411
|
+
proportion: e.value / E.value.map((l) => l.value).reduce((l, a) => l + a, 0),
|
|
411
412
|
opacity: P.value.includes(e.id) ? 0.5 : 1
|
|
412
413
|
}))), wt = b(() => ({
|
|
413
414
|
cy: "treemap-div-legend",
|
|
@@ -417,21 +418,21 @@ const lo = ["id"], ao = {
|
|
|
417
418
|
paddingBottom: 12,
|
|
418
419
|
fontWeight: t.value.style.chart.legend.bold ? "bold" : ""
|
|
419
420
|
}));
|
|
420
|
-
function
|
|
421
|
-
L.value = null, P.value.includes(e.id) ? P.value = P.value.filter((
|
|
421
|
+
function et(e) {
|
|
422
|
+
L.value = null, P.value.includes(e.id) ? P.value = P.value.filter((o) => o !== e.id) : P.value.length < w.dataset.length - 1 && P.value.push(e.id), C("selectLegend", Xe.value);
|
|
422
423
|
}
|
|
423
424
|
const Ce = $(null);
|
|
424
|
-
function Ct({ datapoint: e, seriesIndex:
|
|
425
|
-
L.value = e, Ce.value = { datapoint: e, seriesIndex:
|
|
426
|
-
const
|
|
427
|
-
if (
|
|
428
|
-
seriesIndex:
|
|
425
|
+
function Ct({ datapoint: e, seriesIndex: o }) {
|
|
426
|
+
L.value = e, Ce.value = { datapoint: e, seriesIndex: o, config: t.value, series: ue.value };
|
|
427
|
+
const l = t.value.style.chart.tooltip.customFormat;
|
|
428
|
+
if (dt(l) && Bt(() => l({
|
|
429
|
+
seriesIndex: o,
|
|
429
430
|
datapoint: e,
|
|
430
431
|
series: ue.value,
|
|
431
432
|
config: t.value
|
|
432
433
|
})))
|
|
433
|
-
ke.value =
|
|
434
|
-
seriesIndex:
|
|
434
|
+
ke.value = l({
|
|
435
|
+
seriesIndex: o,
|
|
435
436
|
datapoint: e,
|
|
436
437
|
series: ue.value,
|
|
437
438
|
config: t.value
|
|
@@ -447,24 +448,24 @@ const lo = ["id"], ao = {
|
|
|
447
448
|
s: t.value.style.chart.layout.labels.suffix,
|
|
448
449
|
r: t.value.style.chart.tooltip.roundingValue
|
|
449
450
|
}),
|
|
450
|
-
{ datapoint: e, seriesIndex:
|
|
451
|
+
{ datapoint: e, seriesIndex: o }
|
|
451
452
|
)}</b>`, ke.value = `<div>${a}</div>`;
|
|
452
453
|
}
|
|
453
454
|
N.value = !0;
|
|
454
455
|
}
|
|
455
456
|
const V = b(() => {
|
|
456
|
-
const e = re.value.map((
|
|
457
|
-
name:
|
|
458
|
-
color:
|
|
459
|
-
})),
|
|
460
|
-
return { head: e, body:
|
|
457
|
+
const e = re.value.map((l) => ({
|
|
458
|
+
name: l.name,
|
|
459
|
+
color: l.color
|
|
460
|
+
})), o = re.value.map((l) => l.value);
|
|
461
|
+
return { head: e, body: o };
|
|
461
462
|
});
|
|
462
|
-
function
|
|
463
|
-
|
|
464
|
-
const
|
|
463
|
+
function tt(e = null) {
|
|
464
|
+
Ft(() => {
|
|
465
|
+
const o = V.value.head.map((f, F) => [[
|
|
465
466
|
f.name
|
|
466
|
-
], [V.value.body[F]], [isNaN(V.value.body[F] /
|
|
467
|
-
e ? e(a) :
|
|
467
|
+
], [V.value.body[F]], [isNaN(V.value.body[F] / ne.value) ? "-" : V.value.body[F] / ne.value * 100]]), l = [[t.value.style.chart.title.text], [t.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(o), a = Dt(l);
|
|
468
|
+
e ? e(a) : Vt({ csvContent: a, title: t.value.style.chart.title.text || "vue-ui-treemap" });
|
|
468
469
|
});
|
|
469
470
|
}
|
|
470
471
|
const ve = b(() => {
|
|
@@ -472,7 +473,7 @@ const lo = ["id"], ao = {
|
|
|
472
473
|
t.value.table.columnNames.series,
|
|
473
474
|
t.value.table.columnNames.value,
|
|
474
475
|
t.value.table.columnNames.percentage
|
|
475
|
-
],
|
|
476
|
+
], o = V.value.head.map((f, F) => {
|
|
476
477
|
const fe = be(
|
|
477
478
|
t.value.style.chart.layout.labels.formatter,
|
|
478
479
|
V.value.body[F],
|
|
@@ -490,13 +491,13 @@ const lo = ["id"], ao = {
|
|
|
490
491
|
shape: "square"
|
|
491
492
|
},
|
|
492
493
|
fe,
|
|
493
|
-
isNaN(V.value.body[F] /
|
|
494
|
-
v: V.value.body[F] /
|
|
494
|
+
isNaN(V.value.body[F] / ne.value) ? "-" : ie({
|
|
495
|
+
v: V.value.body[F] / ne.value * 100,
|
|
495
496
|
s: "%",
|
|
496
497
|
r: t.value.table.td.roundingPercentage
|
|
497
498
|
})
|
|
498
499
|
];
|
|
499
|
-
}),
|
|
500
|
+
}), l = {
|
|
500
501
|
th: {
|
|
501
502
|
backgroundColor: t.value.table.th.backgroundColor,
|
|
502
503
|
color: t.value.table.th.color,
|
|
@@ -515,14 +516,14 @@ const lo = ["id"], ao = {
|
|
|
515
516
|
t.value.table.columnNames.value
|
|
516
517
|
],
|
|
517
518
|
head: e,
|
|
518
|
-
body:
|
|
519
|
-
config:
|
|
519
|
+
body: o,
|
|
520
|
+
config: l
|
|
520
521
|
};
|
|
521
522
|
});
|
|
522
523
|
function $t() {
|
|
523
524
|
return re.value;
|
|
524
525
|
}
|
|
525
|
-
function
|
|
526
|
+
function lt() {
|
|
526
527
|
R.value.showTable = !R.value.showTable;
|
|
527
528
|
}
|
|
528
529
|
function ot() {
|
|
@@ -533,30 +534,37 @@ const lo = ["id"], ao = {
|
|
|
533
534
|
he.value = !he.value;
|
|
534
535
|
}
|
|
535
536
|
const pe = $(null);
|
|
536
|
-
function
|
|
537
|
+
function at(e) {
|
|
537
538
|
pe.value = e;
|
|
538
539
|
}
|
|
539
|
-
function
|
|
540
|
+
function nt() {
|
|
540
541
|
pe.value = null;
|
|
541
542
|
}
|
|
543
|
+
async function xt({ scale: e = 2 } = {}) {
|
|
544
|
+
if (!G.value) return;
|
|
545
|
+
const { imageUri: o, base64: l } = await Yt({ domElement: G.value, base64: !0, img: !0, scale: e });
|
|
546
|
+
return { imageUri: o, base64: l };
|
|
547
|
+
}
|
|
542
548
|
return r({
|
|
543
549
|
getData: $t,
|
|
544
|
-
|
|
550
|
+
getImage: xt,
|
|
551
|
+
generateCsv: tt,
|
|
545
552
|
generateImage: qe,
|
|
546
|
-
generatePdf:
|
|
547
|
-
toggleTable:
|
|
553
|
+
generatePdf: We,
|
|
554
|
+
toggleTable: lt,
|
|
548
555
|
toggleTooltip: ot,
|
|
549
|
-
toggleAnnotator: $e
|
|
550
|
-
|
|
556
|
+
toggleAnnotator: $e,
|
|
557
|
+
toggleFullscreen: Je
|
|
558
|
+
}), (e, o) => (v(), y("div", {
|
|
551
559
|
ref_key: "treemapChart",
|
|
552
|
-
ref:
|
|
553
|
-
class: xe(`vue-ui-treemap ${
|
|
560
|
+
ref: G,
|
|
561
|
+
class: xe(`vue-ui-treemap ${le.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${t.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
554
562
|
style: M(`font-family:${t.value.style.fontFamily};width:100%; ${t.value.responsive ? "height: 100%;" : ""} text-align:center;background:${t.value.style.chart.backgroundColor}`),
|
|
555
563
|
id: `treemap_${A.value}`,
|
|
556
|
-
onMouseenter:
|
|
557
|
-
onMouseleave:
|
|
564
|
+
onMouseenter: o[3] || (o[3] = () => d(De)(!0)),
|
|
565
|
+
onMouseleave: o[4] || (o[4] = () => d(De)(!1))
|
|
558
566
|
}, [
|
|
559
|
-
t.value.userOptions.buttons.annotator ? (v(),
|
|
567
|
+
t.value.userOptions.buttons.annotator ? (v(), J(d(u), {
|
|
560
568
|
key: 0,
|
|
561
569
|
svgRef: d(Be),
|
|
562
570
|
backgroundColor: t.value.style.chart.backgroundColor,
|
|
@@ -564,7 +572,7 @@ const lo = ["id"], ao = {
|
|
|
564
572
|
active: he.value,
|
|
565
573
|
onClose: $e
|
|
566
574
|
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : O("", !0),
|
|
567
|
-
|
|
575
|
+
yt.value ? (v(), y("div", {
|
|
568
576
|
key: 1,
|
|
569
577
|
ref_key: "noTitle",
|
|
570
578
|
ref: Pe,
|
|
@@ -577,7 +585,7 @@ const lo = ["id"], ao = {
|
|
|
577
585
|
ref: Ne,
|
|
578
586
|
style: M(`width:100%;background:${t.value.style.chart.backgroundColor};padding-bottom:6px`)
|
|
579
587
|
}, [
|
|
580
|
-
(v(),
|
|
588
|
+
(v(), J(Xt, {
|
|
581
589
|
key: `title_${Re.value}`,
|
|
582
590
|
config: {
|
|
583
591
|
title: {
|
|
@@ -591,13 +599,13 @@ const lo = ["id"], ao = {
|
|
|
591
599
|
}
|
|
592
600
|
}, null, 8, ["config"]))
|
|
593
601
|
], 4)) : O("", !0),
|
|
594
|
-
t.value.userOptions.show && x.value && (d(Ve) || d(we)) ? (v(),
|
|
602
|
+
t.value.userOptions.show && x.value && (d(Ve) || d(we)) ? (v(), J(d(p), {
|
|
595
603
|
ref: "details",
|
|
596
604
|
key: `user_option_${Fe.value}`,
|
|
597
605
|
backgroundColor: t.value.style.chart.backgroundColor,
|
|
598
606
|
color: t.value.style.chart.color,
|
|
599
607
|
isPrinting: d(Ue),
|
|
600
|
-
isImaging: d(
|
|
608
|
+
isImaging: d(Ee),
|
|
601
609
|
uid: A.value,
|
|
602
610
|
hasTooltip: t.value.userOptions.buttons.tooltip && t.value.style.chart.tooltip.show,
|
|
603
611
|
hasPdf: t.value.userOptions.buttons.pdf,
|
|
@@ -605,29 +613,30 @@ const lo = ["id"], ao = {
|
|
|
605
613
|
hasImg: t.value.userOptions.buttons.img,
|
|
606
614
|
hasTable: t.value.userOptions.buttons.table,
|
|
607
615
|
hasFullscreen: t.value.userOptions.buttons.fullscreen,
|
|
608
|
-
isFullscreen:
|
|
616
|
+
isFullscreen: le.value,
|
|
609
617
|
isTooltip: R.value.showTooltip,
|
|
610
618
|
titles: { ...t.value.userOptions.buttonTitles },
|
|
611
|
-
chartElement:
|
|
619
|
+
chartElement: G.value,
|
|
612
620
|
position: t.value.userOptions.position,
|
|
613
621
|
hasAnnotator: t.value.userOptions.buttons.annotator,
|
|
614
622
|
isAnnotation: he.value,
|
|
615
623
|
callbacks: t.value.userOptions.callbacks,
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
624
|
+
printScale: t.value.userOptions.print.scale,
|
|
625
|
+
onToggleFullscreen: Je,
|
|
626
|
+
onGeneratePdf: d(We),
|
|
627
|
+
onGenerateCsv: tt,
|
|
619
628
|
onGenerateImage: d(qe),
|
|
620
|
-
onToggleTable:
|
|
629
|
+
onToggleTable: lt,
|
|
621
630
|
onToggleTooltip: ot,
|
|
622
631
|
onToggleAnnotator: $e,
|
|
623
632
|
style: M({
|
|
624
633
|
visibility: d(Ve) ? d(we) ? "visible" : "hidden" : "visible"
|
|
625
634
|
})
|
|
626
|
-
},
|
|
635
|
+
}, It({ _: 2 }, [
|
|
627
636
|
e.$slots.menuIcon ? {
|
|
628
637
|
name: "menuIcon",
|
|
629
|
-
fn: T(({ isOpen:
|
|
630
|
-
k(e.$slots, "menuIcon",
|
|
638
|
+
fn: T(({ isOpen: l, color: a }) => [
|
|
639
|
+
k(e.$slots, "menuIcon", Q(ee({ isOpen: l, color: a })), void 0, !0)
|
|
631
640
|
]),
|
|
632
641
|
key: "0"
|
|
633
642
|
} : void 0,
|
|
@@ -668,163 +677,163 @@ const lo = ["id"], ao = {
|
|
|
668
677
|
} : void 0,
|
|
669
678
|
e.$slots.optionFullscreen ? {
|
|
670
679
|
name: "optionFullscreen",
|
|
671
|
-
fn: T(({ toggleFullscreen:
|
|
672
|
-
k(e.$slots, "optionFullscreen",
|
|
680
|
+
fn: T(({ toggleFullscreen: l, isFullscreen: a }) => [
|
|
681
|
+
k(e.$slots, "optionFullscreen", Q(ee({ toggleFullscreen: l, isFullscreen: a })), void 0, !0)
|
|
673
682
|
]),
|
|
674
683
|
key: "6"
|
|
675
684
|
} : void 0,
|
|
676
685
|
e.$slots.optionAnnotator ? {
|
|
677
686
|
name: "optionAnnotator",
|
|
678
|
-
fn: T(({ toggleAnnotator:
|
|
679
|
-
k(e.$slots, "optionAnnotator",
|
|
687
|
+
fn: T(({ toggleAnnotator: l, isAnnotator: a }) => [
|
|
688
|
+
k(e.$slots, "optionAnnotator", Q(ee({ toggleAnnotator: l, isAnnotator: a })), void 0, !0)
|
|
680
689
|
]),
|
|
681
690
|
key: "7"
|
|
682
691
|
} : void 0
|
|
683
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "onGeneratePdf", "onGenerateImage", "style"])) : O("", !0),
|
|
684
|
-
q.value.length > 1 ? (v(), y("nav",
|
|
685
|
-
(v(!0), y(ge, null, Oe(q.value, (
|
|
692
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : O("", !0),
|
|
693
|
+
q.value.length > 1 ? (v(), y("nav", sl, [
|
|
694
|
+
(v(!0), y(ge, null, Oe(q.value, (l, a) => (v(), y("span", {
|
|
686
695
|
role: "button",
|
|
687
696
|
tabindex: a < q.value.length - 1 ? 0 : void 0,
|
|
688
|
-
key:
|
|
697
|
+
key: l.id || "root",
|
|
689
698
|
onClick: (f) => a === q.value.length - 1 ? () => {
|
|
690
|
-
} : de(
|
|
699
|
+
} : de(l.node),
|
|
691
700
|
onKeydown: [
|
|
692
|
-
|
|
693
|
-
|
|
701
|
+
ut(_e((f) => a === q.value.length - 1 ? void 0 : de(l.node), ["prevent"]), ["enter"]),
|
|
702
|
+
ut(_e((f) => a === q.value.length - 1 ? void 0 : de(l.node), ["prevent"]), ["space"])
|
|
694
703
|
],
|
|
695
704
|
class: "vue-ui-treemap-crumb",
|
|
696
705
|
"data-last-crumb": a === q.value.length - 1,
|
|
697
706
|
style: M({
|
|
698
707
|
color: t.value.style.chart.color
|
|
699
708
|
}),
|
|
700
|
-
onMouseenter: (f) =>
|
|
701
|
-
onMouseleave:
|
|
702
|
-
onFocus: (f) =>
|
|
703
|
-
onBlur:
|
|
709
|
+
onMouseenter: (f) => at(a),
|
|
710
|
+
onMouseleave: nt,
|
|
711
|
+
onFocus: (f) => at(a),
|
|
712
|
+
onBlur: nt
|
|
704
713
|
}, [
|
|
705
|
-
_("span",
|
|
706
|
-
_("span",
|
|
707
|
-
k(e.$slots, "breadcrumb-label",
|
|
708
|
-
a === 0 ? (v(), y("div",
|
|
709
|
-
Te(
|
|
714
|
+
_("span", rl, [
|
|
715
|
+
_("span", il, [
|
|
716
|
+
k(e.$slots, "breadcrumb-label", rt({ ref_for: !0 }, { crumb: l, isRoot: a === 0, isFocus: pe.value === a }), () => [
|
|
717
|
+
a === 0 ? (v(), y("div", cl, [
|
|
718
|
+
Te(Gt, {
|
|
710
719
|
name: pe.value === 0 ? "homeFilled" : "home",
|
|
711
720
|
stroke: t.value.style.chart.color
|
|
712
721
|
}, null, 8, ["name", "stroke"])
|
|
713
722
|
])) : (v(), y(ge, { key: 1 }, [
|
|
714
|
-
ye(
|
|
723
|
+
ye(te(l.label), 1)
|
|
715
724
|
], 64))
|
|
716
725
|
], !0)
|
|
717
726
|
]),
|
|
718
|
-
a < q.value.length - 1 ? (v(), y("span",
|
|
727
|
+
a < q.value.length - 1 ? (v(), y("span", dl, [
|
|
719
728
|
k(e.$slots, "breadcrumb-arrow", {}, () => [
|
|
720
|
-
|
|
729
|
+
o[5] || (o[5] = ye(" › "))
|
|
721
730
|
], !0)
|
|
722
731
|
])) : O("", !0)
|
|
723
732
|
])
|
|
724
|
-
], 44,
|
|
733
|
+
], 44, ul))), 128))
|
|
725
734
|
])) : O("", !0),
|
|
726
735
|
x.value ? (v(), y("svg", {
|
|
727
736
|
key: 5,
|
|
728
737
|
ref_key: "svgRef",
|
|
729
738
|
ref: Be,
|
|
730
|
-
xmlns: d(
|
|
731
|
-
class: xe({ "vue-data-ui-fullscreen--on":
|
|
732
|
-
viewBox: `${
|
|
739
|
+
xmlns: d(Mt),
|
|
740
|
+
class: xe({ "vue-data-ui-fullscreen--on": le.value, "vue-data-ui-fulscreen--off": !le.value, "vue-data-ui-zoom-plus": !K.value, "vue-data-ui-zoom-minus": K.value }),
|
|
741
|
+
viewBox: `${se.value.startX} ${se.value.startY} ${se.value.width <= 0 ? 10 : se.value.width} ${se.value.height <= 0 ? 10 : se.value.height}`,
|
|
733
742
|
style: M(`max-width:100%; overflow: hidden; background:transparent;color:${t.value.style.chart.color}`)
|
|
734
743
|
}, [
|
|
735
744
|
Te(d(H)),
|
|
736
|
-
(v(!0), y(ge, null, Oe(re.value, (
|
|
737
|
-
key: `tgrad_${
|
|
745
|
+
(v(!0), y(ge, null, Oe(re.value, (l, a) => (v(), y("g", {
|
|
746
|
+
key: `tgrad_${l.id}`
|
|
738
747
|
}, [
|
|
739
|
-
t.value.style.chart.layout.rects.gradient.show ? (v(), y("defs",
|
|
748
|
+
t.value.style.chart.layout.rects.gradient.show ? (v(), y("defs", hl, [
|
|
740
749
|
_("radialGradient", {
|
|
741
|
-
id: `tgrad_${
|
|
750
|
+
id: `tgrad_${l.id}`,
|
|
742
751
|
gradientTransform: "translate(-1, -1.000001) scale(2, 2)"
|
|
743
752
|
}, [
|
|
744
753
|
_("stop", {
|
|
745
754
|
offset: "18%",
|
|
746
|
-
"stop-color":
|
|
747
|
-
}, null, 8,
|
|
755
|
+
"stop-color": l.color
|
|
756
|
+
}, null, 8, fl),
|
|
748
757
|
_("stop", {
|
|
749
758
|
offset: "100%",
|
|
750
|
-
"stop-color": d(
|
|
751
|
-
}, null, 8,
|
|
752
|
-
], 8,
|
|
759
|
+
"stop-color": d(it)(l.color, t.value.style.chart.layout.rects.gradient.intensity / 100)
|
|
760
|
+
}, null, 8, gl)
|
|
761
|
+
], 8, pl)
|
|
753
762
|
])) : O("", !0)
|
|
754
763
|
]))), 128)),
|
|
755
|
-
(v(!0), y(ge, null, Oe(re.value, (
|
|
756
|
-
key: `k_${
|
|
764
|
+
(v(!0), y(ge, null, Oe(re.value, (l, a) => (v(), y("g", {
|
|
765
|
+
key: `k_${l.id}`
|
|
757
766
|
}, [
|
|
758
767
|
_("rect", {
|
|
759
|
-
x:
|
|
760
|
-
y:
|
|
761
|
-
height: Ke(
|
|
762
|
-
width: Ze(
|
|
763
|
-
fill: D.value ?
|
|
768
|
+
x: l.x0,
|
|
769
|
+
y: l.y0,
|
|
770
|
+
height: Ke(l),
|
|
771
|
+
width: Ze(l),
|
|
772
|
+
fill: D.value ? l.color : t.value.style.chart.layout.rects.gradient.show ? `url(#tgrad_${l.id})` : l.color,
|
|
764
773
|
rx: t.value.style.chart.layout.rects.borderRadius,
|
|
765
|
-
stroke: L.value && L.value.id ===
|
|
766
|
-
"stroke-width": L.value && L.value.id ===
|
|
767
|
-
onClick: _e((f) => de(
|
|
774
|
+
stroke: L.value && L.value.id === l.id ? t.value.style.chart.layout.rects.selected.stroke : t.value.style.chart.layout.rects.stroke,
|
|
775
|
+
"stroke-width": L.value && L.value.id === l.id ? t.value.style.chart.layout.rects.selected.strokeWidth : t.value.style.chart.layout.rects.strokeWidth,
|
|
776
|
+
onClick: _e((f) => de(l), ["stop"]),
|
|
768
777
|
onMouseenter: () => Ct({
|
|
769
|
-
datapoint:
|
|
778
|
+
datapoint: l,
|
|
770
779
|
seriesIndex: a
|
|
771
780
|
}),
|
|
772
|
-
onMouseleave:
|
|
781
|
+
onMouseleave: o[0] || (o[0] = (f) => {
|
|
773
782
|
L.value = null, N.value = !1;
|
|
774
783
|
}),
|
|
775
|
-
style: M(`opacity:${L.value ? L.value.id ===
|
|
784
|
+
style: M(`opacity:${L.value ? L.value.id === l.id ? 1 : t.value.style.chart.layout.rects.selected.unselectedOpacity : 1}`),
|
|
776
785
|
class: xe([
|
|
777
786
|
"vue-ui-treemap-rect",
|
|
778
|
-
kt(
|
|
787
|
+
kt(l) ? "vue-data-ui-zoom-plus" : K.value ? "vue-data-ui-zoom-minus" : ""
|
|
779
788
|
])
|
|
780
|
-
}, null, 46,
|
|
789
|
+
}, null, 46, yl),
|
|
781
790
|
(v(), y("foreignObject", {
|
|
782
|
-
x:
|
|
783
|
-
y:
|
|
784
|
-
height: Ke(
|
|
785
|
-
width: Ze(
|
|
791
|
+
x: l.x0,
|
|
792
|
+
y: l.y0,
|
|
793
|
+
height: Ke(l),
|
|
794
|
+
width: Ze(l),
|
|
786
795
|
class: "vue-ui-treemap-cell-foreignObject"
|
|
787
796
|
}, [
|
|
788
|
-
_("div",
|
|
789
|
-
t.value.style.chart.layout.labels.showDefaultLabels && (
|
|
797
|
+
_("div", bl, [
|
|
798
|
+
t.value.style.chart.layout.labels.showDefaultLabels && (l.proportion > t.value.style.chart.layout.labels.hideUnderProportion || K.value) ? (v(), y("div", {
|
|
790
799
|
key: 0,
|
|
791
800
|
class: "vue-ui-treemap-cell-default",
|
|
792
|
-
style: M(`width:calc(100% - ${
|
|
801
|
+
style: M(`width:calc(100% - ${j(l) / 1.5}px);text-align:left;line-height:${j(l) < 14 ? 14 : j(l)}px;padding:${j(l) / 3}px; color:${d(ct)(l.color)}`)
|
|
793
802
|
}, [
|
|
794
803
|
_("span", {
|
|
795
|
-
style: M(`width:100%;font-size:${
|
|
796
|
-
},
|
|
797
|
-
|
|
804
|
+
style: M(`width:100%;font-size:${j(l)}px;`)
|
|
805
|
+
}, te(l.name), 5),
|
|
806
|
+
o[6] || (o[6] = _("br", null, null, -1)),
|
|
798
807
|
_("span", {
|
|
799
|
-
style: M(`width:100%;font-size:${
|
|
800
|
-
},
|
|
808
|
+
style: M(`width:100%;font-size:${j(l)}px;`)
|
|
809
|
+
}, te(d(be)(
|
|
801
810
|
t.value.style.chart.layout.labels.formatter,
|
|
802
|
-
|
|
811
|
+
l.value,
|
|
803
812
|
d(ie)({
|
|
804
813
|
p: t.value.style.chart.layout.labels.prefix,
|
|
805
|
-
v:
|
|
814
|
+
v: l.value,
|
|
806
815
|
s: t.value.style.chart.layout.labels.suffix,
|
|
807
816
|
r: t.value.style.chart.layout.labels.rounding
|
|
808
817
|
}),
|
|
809
|
-
{ datapoint:
|
|
818
|
+
{ datapoint: l }
|
|
810
819
|
)), 5)
|
|
811
820
|
], 4)) : O("", !0),
|
|
812
|
-
k(e.$slots, "rect",
|
|
813
|
-
rect:
|
|
814
|
-
shouldShow:
|
|
815
|
-
fontSize:
|
|
816
|
-
isZoom:
|
|
817
|
-
textColor: d(
|
|
821
|
+
k(e.$slots, "rect", rt({ ref_for: !0 }, {
|
|
822
|
+
rect: l,
|
|
823
|
+
shouldShow: l.proportion > t.value.style.chart.layout.labels.hideUnderProportion || K.value,
|
|
824
|
+
fontSize: j(l),
|
|
825
|
+
isZoom: K.value,
|
|
826
|
+
textColor: d(ct)(l.color)
|
|
818
827
|
}), void 0, !0)
|
|
819
828
|
])
|
|
820
|
-
], 8,
|
|
829
|
+
], 8, ml))
|
|
821
830
|
]))), 128)),
|
|
822
|
-
k(e.$slots, "svg",
|
|
823
|
-
], 14,
|
|
824
|
-
e.$slots.watermark ? (v(), y("div",
|
|
825
|
-
k(e.$slots, "watermark",
|
|
831
|
+
k(e.$slots, "svg", Q(ee({ svg: X.value, isZoom: K.value, rect: L.value, config: t.value })), void 0, !0)
|
|
832
|
+
], 14, vl)) : O("", !0),
|
|
833
|
+
e.$slots.watermark ? (v(), y("div", kl, [
|
|
834
|
+
k(e.$slots, "watermark", Q(ee({ isPrinting: d(Ue) || d(Ee) })), void 0, !0)
|
|
826
835
|
])) : O("", !0),
|
|
827
|
-
x.value ? O("", !0) : (v(),
|
|
836
|
+
x.value ? O("", !0) : (v(), J(d(c), {
|
|
828
837
|
key: 7,
|
|
829
838
|
config: {
|
|
830
839
|
type: "treemap",
|
|
@@ -840,36 +849,36 @@ const lo = ["id"], ao = {
|
|
|
840
849
|
ref_key: "chartLegend",
|
|
841
850
|
ref: ze
|
|
842
851
|
}, [
|
|
843
|
-
t.value.style.chart.legend.show ? (v(),
|
|
852
|
+
t.value.style.chart.legend.show ? (v(), J(jt, {
|
|
844
853
|
key: `legend_${Me.value}`,
|
|
845
|
-
legendSet:
|
|
854
|
+
legendSet: Qe.value,
|
|
846
855
|
config: wt.value,
|
|
847
856
|
id: `treemap_legend_${A.value}`,
|
|
848
|
-
onClickMarker:
|
|
857
|
+
onClickMarker: o[1] || (o[1] = ({ legend: l }) => et(l))
|
|
849
858
|
}, {
|
|
850
|
-
item: T(({ legend:
|
|
859
|
+
item: T(({ legend: l, index: a }) => [
|
|
851
860
|
_("div", {
|
|
852
|
-
onClick: (f) =>
|
|
853
|
-
style: M(`opacity:${P.value.includes(
|
|
861
|
+
onClick: (f) => et(l),
|
|
862
|
+
style: M(`opacity:${P.value.includes(l.id) ? 0.5 : 1}`)
|
|
854
863
|
}, [
|
|
855
|
-
ye(
|
|
864
|
+
ye(te(l.name) + ": " + te(d(be)(
|
|
856
865
|
t.value.style.chart.layout.labels.formatter,
|
|
857
|
-
|
|
866
|
+
l.value,
|
|
858
867
|
d(ie)({
|
|
859
868
|
p: t.value.style.chart.layout.labels.prefix,
|
|
860
|
-
v:
|
|
869
|
+
v: l.value,
|
|
861
870
|
s: t.value.style.chart.layout.labels.suffix,
|
|
862
871
|
r: t.value.style.chart.legend.roundingValue
|
|
863
872
|
}),
|
|
864
|
-
{ datapoint:
|
|
873
|
+
{ datapoint: l }
|
|
865
874
|
)) + " ", 1),
|
|
866
|
-
P.value.includes(
|
|
867
|
-
], 12,
|
|
875
|
+
P.value.includes(l.id) ? (v(), y("span", $l, " ( - % ) ")) : (v(), y("span", Cl, " (" + te(isNaN(l.value / ne.value) ? "-" : (l.value / ne.value * 100).toFixed(t.value.style.chart.legend.roundingPercentage)) + "%) ", 1))
|
|
876
|
+
], 12, wl)
|
|
868
877
|
]),
|
|
869
878
|
_: 1
|
|
870
879
|
}, 8, ["legendSet", "config", "id"])) : k(e.$slots, "legend", {
|
|
871
880
|
key: 1,
|
|
872
|
-
legend:
|
|
881
|
+
legend: Qe.value
|
|
873
882
|
}, void 0, !0)
|
|
874
883
|
], 512),
|
|
875
884
|
e.$slots.source ? (v(), y("div", {
|
|
@@ -891,20 +900,20 @@ const lo = ["id"], ao = {
|
|
|
891
900
|
backgroundOpacity: t.value.style.chart.tooltip.backgroundOpacity,
|
|
892
901
|
position: t.value.style.chart.tooltip.position,
|
|
893
902
|
offsetY: t.value.style.chart.tooltip.offsetY,
|
|
894
|
-
parent:
|
|
903
|
+
parent: G.value,
|
|
895
904
|
content: ke.value,
|
|
896
|
-
isFullscreen:
|
|
897
|
-
isCustom: d(
|
|
905
|
+
isFullscreen: le.value,
|
|
906
|
+
isCustom: d(dt)(t.value.style.chart.tooltip.customFormat)
|
|
898
907
|
}, {
|
|
899
908
|
"tooltip-before": T(() => [
|
|
900
|
-
k(e.$slots, "tooltip-before",
|
|
909
|
+
k(e.$slots, "tooltip-before", Q(ee({ ...Ce.value })), void 0, !0)
|
|
901
910
|
]),
|
|
902
911
|
"tooltip-after": T(() => [
|
|
903
|
-
k(e.$slots, "tooltip-after",
|
|
912
|
+
k(e.$slots, "tooltip-after", Q(ee({ ...Ce.value })), void 0, !0)
|
|
904
913
|
]),
|
|
905
914
|
_: 3
|
|
906
915
|
}, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
|
|
907
|
-
x.value ? (v(),
|
|
916
|
+
x.value ? (v(), J(d(h), {
|
|
908
917
|
key: 9,
|
|
909
918
|
hideDetails: "",
|
|
910
919
|
config: {
|
|
@@ -921,32 +930,32 @@ const lo = ["id"], ao = {
|
|
|
921
930
|
}
|
|
922
931
|
}, {
|
|
923
932
|
content: T(() => [
|
|
924
|
-
(v(),
|
|
933
|
+
(v(), J(d(i), {
|
|
925
934
|
key: `table_${Le.value}`,
|
|
926
935
|
colNames: ve.value.colNames,
|
|
927
936
|
head: ve.value.head,
|
|
928
937
|
body: ve.value.body,
|
|
929
938
|
config: ve.value.config,
|
|
930
939
|
title: `${t.value.style.chart.title.text}${t.value.style.chart.title.subtitle.text ? ` : ${t.value.style.chart.title.subtitle.text}` : ""}`,
|
|
931
|
-
onClose:
|
|
940
|
+
onClose: o[2] || (o[2] = (l) => R.value.showTable = !1)
|
|
932
941
|
}, {
|
|
933
|
-
th: T(({ th:
|
|
942
|
+
th: T(({ th: l }) => [
|
|
934
943
|
_("div", {
|
|
935
|
-
innerHTML:
|
|
944
|
+
innerHTML: l,
|
|
936
945
|
style: { display: "flex", "align-items": "center" }
|
|
937
|
-
}, null, 8,
|
|
946
|
+
}, null, 8, xl)
|
|
938
947
|
]),
|
|
939
|
-
td: T(({ td:
|
|
940
|
-
ye(
|
|
948
|
+
td: T(({ td: l }) => [
|
|
949
|
+
ye(te(l.name || l), 1)
|
|
941
950
|
]),
|
|
942
951
|
_: 1
|
|
943
952
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
944
953
|
]),
|
|
945
954
|
_: 1
|
|
946
955
|
}, 8, ["config"])) : O("", !0)
|
|
947
|
-
], 46,
|
|
956
|
+
], 46, nl));
|
|
948
957
|
}
|
|
949
|
-
},
|
|
958
|
+
}, Dl = /* @__PURE__ */ Kt(Tl, [["__scopeId", "data-v-c04debca"]]);
|
|
950
959
|
export {
|
|
951
|
-
|
|
960
|
+
Dl as default
|
|
952
961
|
};
|