vue-data-ui 3.4.9 → 3.5.1
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 +114 -37
- package/dist/{ColorPicker-J5wOPCeB.js → ColorPicker-ChuwChMo.js} +58 -56
- package/dist/{NonSvgPenAndPaper-C7TRn0_3.js → NonSvgPenAndPaper-DVgKKLIf.js} +1 -1
- package/dist/{PackageVersion-CTUqGqWV.js → PackageVersion-DQvyATVa.js} +1 -1
- package/dist/PenAndPaper-SZQIAgkg.js +388 -0
- package/dist/{Title-l36lOBMx.js → Title-isbiM8i8.js} +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.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-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-mini-loader.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-rating.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-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +17 -8
- package/dist/{useNestedProp-BjZe1Y85.js → useNestedProp-DjGXw6S9.js} +22 -8
- package/dist/{vue-data-ui-DjxWWa78.js → vue-data-ui-B_RxfmEm.js} +113 -107
- package/dist/vue-data-ui.js +64 -64
- package/dist/{vue-ui-3d-bar-CLE7f9pl.js → vue-ui-3d-bar-CMNYyVa2.js} +454 -434
- package/dist/{vue-ui-accordion-CZ0thhxa.js → vue-ui-accordion-CqhVCfc2.js} +1 -1
- package/dist/{vue-ui-age-pyramid-D73uIOPm.js → vue-ui-age-pyramid-Vqa9iYXE.js} +180 -160
- package/dist/{vue-ui-annotator-BylDgUVb.js → vue-ui-annotator-nNv10fBm.js} +3 -3
- package/dist/{vue-ui-bullet-Bybo0xK2.js → vue-ui-bullet-BWEBeYV5.js} +190 -170
- package/dist/{vue-ui-candlestick-D_FyMdqH.js → vue-ui-candlestick-BoLzL0g1.js} +201 -181
- package/dist/{vue-ui-carousel-table-BvMlNdVo.js → vue-ui-carousel-table-Bi6wvUUU.js} +2 -2
- package/dist/{vue-ui-chestnut-DA0g0bDV.js → vue-ui-chestnut-BGz1TLXG.js} +375 -355
- package/dist/vue-ui-chord-CebhS7ln.js +1153 -0
- package/dist/{vue-ui-circle-pack-BPDm-ro5.js → vue-ui-circle-pack-7PJVyKjp.js} +289 -269
- package/dist/{vue-ui-cursor-ik59bfC4.js → vue-ui-cursor-qYLAwvzn.js} +1 -1
- package/dist/vue-ui-dashboard-DcmMvhgM.js +432 -0
- package/dist/{vue-ui-digits-ByNNcWXi.js → vue-ui-digits-DyE8eU1m.js} +1 -1
- package/dist/vue-ui-donut-CxZcJFTo.js +1681 -0
- package/dist/{vue-ui-donut-evolution-Ca3Svr0B.js → vue-ui-donut-evolution-BVYL-BUJ.js} +480 -444
- package/dist/{vue-ui-dumbbell-CxCE2luV.js → vue-ui-dumbbell-QxZn86A3.js} +210 -190
- package/dist/{vue-ui-flow-DEvwXd4W.js → vue-ui-flow-DEI5LRch.js} +339 -319
- package/dist/{vue-ui-funnel-Bgcx7xia.js → vue-ui-funnel-B_A5orFg.js} +218 -198
- package/dist/{vue-ui-galaxy-BWr1EMob.js → vue-ui-galaxy-CUoDRr-O.js} +313 -277
- package/dist/{vue-ui-gauge-DQricvo2.js → vue-ui-gauge-46tSRZN5.js} +311 -291
- package/dist/{vue-ui-gizmo-C-fKe3io.js → vue-ui-gizmo-BOgbsXao.js} +2 -2
- package/dist/{vue-ui-heatmap-B-o_i7Hu.js → vue-ui-heatmap-DKKjl1A2.js} +303 -283
- package/dist/{vue-ui-history-plot-DzQ9DPUJ.js → vue-ui-history-plot-C6p_aThr.js} +478 -442
- package/dist/{vue-ui-kpi-BGGff8LM.js → vue-ui-kpi-B1yJ83aF.js} +2 -2
- package/dist/{vue-ui-mini-loader-CSF-7TJL.js → vue-ui-mini-loader-BudcNBg-.js} +1 -1
- package/dist/{vue-ui-molecule-I2OhrCR2.js → vue-ui-molecule-L90GnHee.js} +156 -136
- package/dist/{vue-ui-mood-radar-BAT7kZUy.js → vue-ui-mood-radar-Dhigm5rw.js} +266 -246
- package/dist/{vue-ui-nested-donuts-CjhJDAQi.js → vue-ui-nested-donuts-D0MCLs5n.js} +597 -557
- package/dist/vue-ui-onion-B7yPJ3gL.js +915 -0
- package/dist/vue-ui-parallel-coordinate-plot-DY21ivNe.js +1051 -0
- package/dist/{vue-ui-quadrant-DGnasrCR.js → vue-ui-quadrant-b0vMRaq-.js} +532 -495
- package/dist/{vue-ui-quick-chart-Cam_sWet.js → vue-ui-quick-chart-VK2EN7sh.js} +288 -268
- package/dist/{vue-ui-radar-DNI9WI2R.js → vue-ui-radar-B5Vkoz9M.js} +412 -373
- package/dist/{vue-ui-rating-CiMoFM_c.js → vue-ui-rating-BH4DW1ZY.js} +1 -1
- package/dist/{vue-ui-relation-circle-Dj1jhcsl.js → vue-ui-relation-circle-XHbE-ZUX.js} +228 -208
- package/dist/{vue-ui-ridgeline-adIls6bj.js → vue-ui-ridgeline-CAMNq-p_.js} +517 -481
- package/dist/vue-ui-rings-ImGOqm_J.js +855 -0
- package/dist/vue-ui-scatter-CterNJYe.js +1590 -0
- package/dist/{vue-ui-skeleton-DUdI2uOO.js → vue-ui-skeleton-CykXHWj-.js} +2 -2
- package/dist/{vue-ui-smiley-sGFRbn31.js → vue-ui-smiley-DnGm6qrK.js} +1 -1
- package/dist/{vue-ui-spark-trend-DxpRfUJz.js → vue-ui-spark-trend-N1AsNQJA.js} +2 -2
- package/dist/{vue-ui-sparkbar-B44oER5n.js → vue-ui-sparkbar-Bvsi5DTT.js} +2 -2
- package/dist/{vue-ui-sparkgauge-ix12NZ7M.js → vue-ui-sparkgauge-DyJmWCWT.js} +2 -2
- package/dist/{vue-ui-sparkhistogram-Cs-QDYBR.js → vue-ui-sparkhistogram-5eKrkmSb.js} +143 -140
- package/dist/{vue-ui-sparkline-Cb8ZmyUq.js → vue-ui-sparkline-ChKAzlVq.js} +2 -2
- package/dist/vue-ui-sparkstackbar-BXNy6nuw.js +441 -0
- package/dist/vue-ui-stackbar-1IwvUYBO.js +1827 -0
- package/dist/{vue-ui-strip-plot-BjG-Jxnb.js → vue-ui-strip-plot-B1wGxP8-.js} +245 -225
- package/dist/{vue-ui-table-DdBdLrAL.js → vue-ui-table-DSsIrT4L.js} +3 -3
- package/dist/{vue-ui-table-heatmap-BqCEBoUf.js → vue-ui-table-heatmap-DXFHy7-E.js} +1 -1
- package/dist/{vue-ui-table-sparkline-EpCo2Be5.js → vue-ui-table-sparkline-DpqY_4ay.js} +2 -2
- package/dist/vue-ui-thermometer-CMKvSA8p.js +584 -0
- package/dist/{vue-ui-timer-Br3wp8hG.js → vue-ui-timer-BpdCY_wg.js} +3 -3
- package/dist/vue-ui-tiremarks-CNipzVli.js +450 -0
- package/dist/vue-ui-treemap-DPE8SY0_.js +1330 -0
- package/dist/{vue-ui-vertical-bar-yfbEfLqy.js → vue-ui-vertical-bar-ZU1GCbX0.js} +484 -448
- package/dist/{vue-ui-waffle-m-9sqQik.js → vue-ui-waffle-z7nuSuSV.js} +398 -362
- package/dist/vue-ui-wheel-DLRoRjeM.js +663 -0
- package/dist/{vue-ui-word-cloud-vNwswYZD.js → vue-ui-word-cloud-D2r5E3pP.js} +248 -228
- package/dist/{vue-ui-world-BsCNyZy_.js → vue-ui-world-goXYnTyM.js} +287 -267
- package/dist/{vue-ui-xy-CIrw1lWQ.js → vue-ui-xy-NDDbNbds.js} +1263 -1227
- package/dist/{vue-ui-xy-canvas-DXnLFwW3.js → vue-ui-xy-canvas-2a6NlQe3.js} +338 -322
- package/package.json +4 -4
- package/dist/PenAndPaper-DSvu9dwa.js +0 -373
- package/dist/vue-ui-chord-CDgzolI-.js +0 -1133
- package/dist/vue-ui-dashboard-CeJwbiON.js +0 -412
- package/dist/vue-ui-donut-DjQXHBJE.js +0 -1645
- package/dist/vue-ui-onion-DTY2p87s.js +0 -873
- package/dist/vue-ui-parallel-coordinate-plot-C8aWTcNn.js +0 -1014
- package/dist/vue-ui-rings-CnTMFK6R.js +0 -813
- package/dist/vue-ui-scatter-fzR2c0St.js +0 -1554
- package/dist/vue-ui-sparkstackbar-BiRZ51OU.js +0 -424
- package/dist/vue-ui-stackbar-DubS6Pg8.js +0 -1708
- package/dist/vue-ui-thermometer-DTnfnf9z.js +0 -564
- package/dist/vue-ui-tiremarks-CrC_tlIx.js +0 -430
- package/dist/vue-ui-treemap-kyuyi2ES.js +0 -1294
- package/dist/vue-ui-wheel-BasM7FWt.js +0 -643
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { watchEffect as Jt, nextTick as Se, useCssVars as Qt, defineAsyncComponent as
|
|
2
|
-
import { c as Ie, t as ul, O as
|
|
1
|
+
import { watchEffect as Jt, nextTick as Se, useCssVars as Qt, defineAsyncComponent as ue, computed as g, ref as d, shallowRef as Zt, toRefs as el, watch as Ae, onBeforeUnmount as dt, onMounted as tl, reactive as ht, createElementBlock as i, openBlock as u, normalizeStyle as L, normalizeClass as fe, createBlock as ge, createCommentVNode as p, createElementVNode as b, createVNode as Ce, unref as n, withCtx as k, renderSlot as w, normalizeProps as D, guardReactiveProps as B, createSlots as yt, Fragment as S, renderList as H, withDirectives as ft, createTextVNode as Xe, toDisplayString as $, vShow as ll, resolveDynamicComponent as al, mergeProps as ol, withKeys as sl } from "vue";
|
|
2
|
+
import { c as Ie, t as ul, O as nl, o as gt, f as pt, ae as pe, g as il, X as rl, J as Le, a as j, d as V, x as q, aw as vl, P as cl, Q as dl, G as hl, H as yl } from "./lib-C_mNZmhD.js";
|
|
3
3
|
import { t as Te, u as fl } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as gl, a as bt } from "./useNestedProp-
|
|
4
|
+
import { u as gl, a as bt } from "./useNestedProp-DjGXw6S9.js";
|
|
5
5
|
import { u as pl } from "./usePrinter-DTzqpYKF.js";
|
|
6
6
|
import { u as bl, B as ml } from "./BaseScanner-BgWxam9d.js";
|
|
7
7
|
import { u as xl } from "./useSvgExport-DrjCWun4.js";
|
|
@@ -11,41 +11,41 @@ import { u as kl } from "./useUserOptionState-BIvW1Kz7.js";
|
|
|
11
11
|
import { u as xt } from "./useTimeLabelCollider-CIsgDrl9.js";
|
|
12
12
|
import { u as Al } from "./useChartAccessibility-9icAAmYg.js";
|
|
13
13
|
import Cl from "./img-BecE5qXd.js";
|
|
14
|
-
import Ll from "./Title-
|
|
14
|
+
import Ll from "./Title-isbiM8i8.js";
|
|
15
15
|
import { t as Tl } from "./themes-AUNCOb2G.js";
|
|
16
|
-
import Sl from "./vue-ui-accordion-
|
|
17
|
-
import { _ as
|
|
18
|
-
function Ve({ elementRef: y, callback: R, attr:
|
|
19
|
-
|
|
20
|
-
(
|
|
16
|
+
import Sl from "./vue-ui-accordion-CqhVCfc2.js";
|
|
17
|
+
import { _ as $l } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
18
|
+
function Ve({ elementRef: y, callback: R, attr: P, earlyReturn: E = !1 }) {
|
|
19
|
+
E || Jt(
|
|
20
|
+
(K) => {
|
|
21
21
|
const x = y.value;
|
|
22
22
|
if (!x) return;
|
|
23
|
-
const
|
|
24
|
-
const
|
|
23
|
+
const U = new ResizeObserver((_) => {
|
|
24
|
+
const J = _[0]?.contentRect;
|
|
25
25
|
let f;
|
|
26
|
-
if (
|
|
27
|
-
f =
|
|
26
|
+
if (J && J[P] != null)
|
|
27
|
+
f = J[P];
|
|
28
28
|
else
|
|
29
29
|
try {
|
|
30
|
-
|
|
30
|
+
P === "width" ? f = typeof x.getBBox == "function" ? x.getBBox().width : x.getBoundingClientRect().width : f = typeof x.getBBox == "function" ? x.getBBox().height : x.getBoundingClientRect().height;
|
|
31
31
|
} catch {
|
|
32
|
-
const
|
|
33
|
-
f =
|
|
32
|
+
const Q = x.getBoundingClientRect();
|
|
33
|
+
f = P === "width" ? Q.width : Q.height;
|
|
34
34
|
}
|
|
35
35
|
typeof f == "number" && !Number.isNaN(f) && R(f);
|
|
36
36
|
});
|
|
37
|
-
|
|
37
|
+
U.observe(x), Se(() => {
|
|
38
38
|
requestAnimationFrame(() => {
|
|
39
39
|
if (!y.value) return;
|
|
40
|
-
const
|
|
41
|
-
typeof
|
|
40
|
+
const _ = y.value.getBoundingClientRect(), G = P === "width" ? _.width : _.height;
|
|
41
|
+
typeof G == "number" && !Number.isNaN(G) && R(G);
|
|
42
42
|
});
|
|
43
|
-
}),
|
|
43
|
+
}), K(() => U.disconnect());
|
|
44
44
|
},
|
|
45
45
|
{ flush: "post" }
|
|
46
46
|
);
|
|
47
47
|
}
|
|
48
|
-
const
|
|
48
|
+
const _l = {
|
|
49
49
|
mounted(y, R) {
|
|
50
50
|
wt(y, R.value);
|
|
51
51
|
},
|
|
@@ -55,38 +55,38 @@ const $l = {
|
|
|
55
55
|
};
|
|
56
56
|
function wt(y, {
|
|
57
57
|
cellWidth: R,
|
|
58
|
-
cellHeight:
|
|
59
|
-
maxFontSize:
|
|
60
|
-
minFontSize:
|
|
58
|
+
cellHeight: P,
|
|
59
|
+
maxFontSize: E,
|
|
60
|
+
minFontSize: K,
|
|
61
61
|
index: x,
|
|
62
|
-
reportRotation:
|
|
63
|
-
reportHide:
|
|
64
|
-
rotateAll:
|
|
65
|
-
hideAll:
|
|
62
|
+
reportRotation: U,
|
|
63
|
+
reportHide: _,
|
|
64
|
+
rotateAll: G,
|
|
65
|
+
hideAll: J
|
|
66
66
|
}) {
|
|
67
67
|
y.removeAttribute("transform"), y.removeAttribute("visibility");
|
|
68
|
-
let f = !1,
|
|
69
|
-
y.setAttribute("font-size",
|
|
70
|
-
const
|
|
71
|
-
if (
|
|
72
|
-
|
|
68
|
+
let f = !1, Q = !1;
|
|
69
|
+
y.setAttribute("font-size", E);
|
|
70
|
+
const le = y.getComputedTextLength();
|
|
71
|
+
if (le <= R)
|
|
72
|
+
U(x, !1), _(x, !1);
|
|
73
73
|
else {
|
|
74
|
-
const F = Math.floor(
|
|
75
|
-
F >=
|
|
74
|
+
const F = Math.floor(E * R / le);
|
|
75
|
+
F >= K ? (y.setAttribute("font-size", F), U(x, !1), _(x, !1)) : (U(x, !0), _(x, !1), f = !0);
|
|
76
76
|
}
|
|
77
|
-
if (
|
|
78
|
-
y.setAttribute("font-size",
|
|
79
|
-
const F = y.getBBox(), z = F.x + F.width / 2,
|
|
80
|
-
y.setAttribute("transform", `rotate(-90 ${z} ${
|
|
81
|
-
const
|
|
82
|
-
if (
|
|
83
|
-
|
|
77
|
+
if (G && (f = !0), f) {
|
|
78
|
+
y.setAttribute("font-size", E);
|
|
79
|
+
const F = y.getBBox(), z = F.x + F.width / 2, ne = F.y + F.height / 2;
|
|
80
|
+
y.setAttribute("transform", `rotate(-90 ${z} ${ne})`);
|
|
81
|
+
const ae = y.getBBox().width;
|
|
82
|
+
if (ae <= P)
|
|
83
|
+
_(x, !1);
|
|
84
84
|
else {
|
|
85
|
-
const
|
|
86
|
-
|
|
85
|
+
const ie = Math.floor(E * P / ae);
|
|
86
|
+
ie >= K ? (y.setAttribute("font-size", ie), _(x, !1)) : (Q = !0, _(x, !0));
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
|
-
(
|
|
89
|
+
(J || Q) && y.setAttribute("visibility", "hidden");
|
|
90
90
|
}
|
|
91
91
|
const zl = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"], Rl = ["x", "y", "height", "width", "fill", "stroke", "stroke-width"], Fl = ["x", "y", "height", "width", "fill", "stroke", "stroke-width"], Nl = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], Dl = ["x", "y", "width", "height", "fill", "stroke", "stroke-width", "onMouseover", "onMouseout", "onClick"], Bl = ["font-size", "font-weight", "fill", "x", "y"], Hl = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], Pl = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], Xl = ["font-size", "fill", "x", "y", "font-weight"], Il = ["font-size", "fill", "x", "y", "font-weight"], Vl = ["text-anchor", "font-size", "fill", "font-weight", "transform"], El = ["text-anchor", "font-size", "fill", "font-weight", "transform"], Ul = { key: 6 }, Gl = ["x", "y", "width", "height", "stroke", "stroke-width"], Yl = { class: "vue-ui-heatmap-legend-gauge-right" }, Wl = ["data-value"], jl = { class: "vue-ui-heatmap-gauge-indicator-value" }, ql = {
|
|
92
92
|
key: 4,
|
|
@@ -108,24 +108,24 @@ const zl = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
|
|
|
108
108
|
}
|
|
109
109
|
},
|
|
110
110
|
emits: ["selectDatapoint"],
|
|
111
|
-
setup(y, { expose: R, emit:
|
|
111
|
+
setup(y, { expose: R, emit: P }) {
|
|
112
112
|
Qt((t) => ({
|
|
113
|
-
|
|
113
|
+
v18304948: t.tdo
|
|
114
114
|
}));
|
|
115
|
-
const
|
|
115
|
+
const E = ue(() => import("./Tooltip-oWCO1HKy.js")), K = ue(() => import("./BaseIcon-BmMbm4d0.js")), x = ue(() => import("./PenAndPaper-SZQIAgkg.js")), U = ue(() => import("./UserOptions-CGnQt6Fd.js")), _ = ue(() => import("./PackageVersion-DQvyATVa.js")), G = ue(() => import("./BaseDraggableDialog-ymf2sfB8.js")), { vue_ui_heatmap: J } = gl(), f = y, Q = P, le = g({
|
|
116
116
|
get() {
|
|
117
117
|
return !!f.dataset && f.dataset.length;
|
|
118
118
|
},
|
|
119
119
|
set(t) {
|
|
120
120
|
return t;
|
|
121
121
|
}
|
|
122
|
-
}), F = d(Ie()), z = d(null),
|
|
122
|
+
}), F = d(Ie()), z = d(null), ne = d(!1), ae = d(""), ie = d(void 0), re = d(null), Ee = d(0), Ue = d(null), Ge = d(0), kt = d(null), ve = d(null), $e = d(null), Ye = d(null), We = d(null), At = d(null), je = d(null), Ct = d(null), _e = d(null), ze = d(null), Lt = d(null), qe = d(null), oe = Zt(null), e = d(Fe());
|
|
123
123
|
function Tt() {
|
|
124
124
|
const t = Array(7).fill("_"), s = [], a = 14, o = t.length;
|
|
125
125
|
for (let v = 0; v < o; v += 1) {
|
|
126
126
|
const c = [];
|
|
127
|
-
for (let
|
|
128
|
-
c.push(v +
|
|
127
|
+
for (let C = 0; C < a; C += 1)
|
|
128
|
+
c.push(v + C * 2);
|
|
129
129
|
s.push({
|
|
130
130
|
name: `${t[v]}`,
|
|
131
131
|
values: c
|
|
@@ -133,7 +133,7 @@ const zl = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
|
|
|
133
133
|
}
|
|
134
134
|
return s;
|
|
135
135
|
}
|
|
136
|
-
const { loading: be, FINAL_DATASET:
|
|
136
|
+
const { loading: be, FINAL_DATASET: A, manualLoading: Oe } = bl({
|
|
137
137
|
...el(f),
|
|
138
138
|
FINAL_CONFIG: e,
|
|
139
139
|
prepareConfig: Fe,
|
|
@@ -175,7 +175,7 @@ const zl = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
|
|
|
175
175
|
function Fe() {
|
|
176
176
|
const t = bt({
|
|
177
177
|
userConfig: f.config,
|
|
178
|
-
defaultConfig:
|
|
178
|
+
defaultConfig: J
|
|
179
179
|
});
|
|
180
180
|
let s = {};
|
|
181
181
|
return t.theme ? s = {
|
|
@@ -183,7 +183,7 @@ const zl = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
|
|
|
183
183
|
userConfig: Tl.vue_ui_heatmap[t.theme] || f.config,
|
|
184
184
|
defaultConfig: t
|
|
185
185
|
})
|
|
186
|
-
} : s = t, f.config &&
|
|
186
|
+
} : s = t, f.config && nl(f.config, "style.layout.dataLabels.xAxis.showOnlyAtModulo") ? s.style.layout.dataLabels.xAxis.showOnlyAtModulo = f.config.style.layout.dataLabels.xAxis.showOnlyAtModulo : s.style.layout.dataLabels.xAxis.showOnlyAtModulo = null, s;
|
|
187
187
|
}
|
|
188
188
|
Ae(() => f.config, (t) => {
|
|
189
189
|
be.value || (e.value = Fe()), Me.value = !e.value.userOptions.showOnChartHover, Ne(), Ge.value += 1, M.value.showTable = e.value.table.show, M.value.showTooltip = e.value.style.tooltip.show, ce.value = e.value.style.layout.width, de.value = e.value.style.layout.height;
|
|
@@ -194,7 +194,7 @@ const zl = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
|
|
|
194
194
|
elementId: `heatmap__${F.value}`,
|
|
195
195
|
fileName: e.value.style.title.text || "vue-ui-heatmap",
|
|
196
196
|
options: e.value.userOptions.print
|
|
197
|
-
}),
|
|
197
|
+
}), $t = g(() => e.value.userOptions.show && !e.value.style.title.text), M = d({
|
|
198
198
|
showTable: e.value.table.show,
|
|
199
199
|
showTooltip: e.value.style.tooltip.show
|
|
200
200
|
});
|
|
@@ -204,13 +204,13 @@ const zl = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
|
|
|
204
204
|
showTooltip: e.value.style.tooltip.show
|
|
205
205
|
};
|
|
206
206
|
}, { immediate: !0 });
|
|
207
|
-
const
|
|
207
|
+
const _t = g(() => e.value.table.responsiveBreakpoint), Y = d(null), lt = g(() => !!e.value.debug);
|
|
208
208
|
function Ne() {
|
|
209
209
|
if (gt(f.dataset) && (pt({
|
|
210
210
|
componentName: "VueUiHeatmap",
|
|
211
211
|
type: "dataset",
|
|
212
212
|
debug: lt.value
|
|
213
|
-
}),
|
|
213
|
+
}), le.value = !1, Oe.value = !0), gt(f.dataset) || (Oe.value = e.value.loading), e.value.responsive) {
|
|
214
214
|
const t = Te(() => {
|
|
215
215
|
const { width: s, height: a } = fl({
|
|
216
216
|
chart: z.value,
|
|
@@ -224,94 +224,94 @@ const zl = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
|
|
|
224
224
|
ce.value = s, de.value = a;
|
|
225
225
|
});
|
|
226
226
|
});
|
|
227
|
-
|
|
227
|
+
Y.value && (oe.value && Y.value.unobserve(oe.value), Y.value.disconnect()), Y.value = new ResizeObserver(t), oe.value = z.value.parentNode, Y.value.observe(oe.value);
|
|
228
228
|
}
|
|
229
229
|
}
|
|
230
230
|
dt(() => {
|
|
231
|
-
|
|
231
|
+
Y.value && (oe.value && Y.value.unobserve(oe.value), Y.value.disconnect());
|
|
232
232
|
}), tl(() => {
|
|
233
233
|
Ne();
|
|
234
234
|
});
|
|
235
|
-
const
|
|
235
|
+
const X = g(() => Math.max(...A.value.flatMap((t) => (t.values || []).length))), ce = d(e.value.style.layout.width), de = d(e.value.style.layout.height), O = g(() => ({
|
|
236
236
|
width: Math.max(10, ce.value),
|
|
237
237
|
height: Math.max(10, de.value)
|
|
238
238
|
})), he = d(0), zt = Te((t) => {
|
|
239
239
|
he.value = t;
|
|
240
240
|
}, 100);
|
|
241
|
-
Ve({ elementRef:
|
|
242
|
-
const
|
|
243
|
-
|
|
241
|
+
Ve({ elementRef: _e, callback: zt, attr: "height" });
|
|
242
|
+
const se = d(0), Ot = Te((t) => {
|
|
243
|
+
se.value = t;
|
|
244
244
|
}, 100);
|
|
245
245
|
Ve({ elementRef: je, callback: Ot, attr: "width" });
|
|
246
246
|
const me = d(0), Mt = Te((t) => {
|
|
247
247
|
me.value = t;
|
|
248
248
|
}, 100);
|
|
249
249
|
Ve({ elementRef: ze, callback: Mt, attr: "height" }), dt(() => {
|
|
250
|
-
he.value = 0,
|
|
250
|
+
he.value = 0, se.value = 0, me.value = 0;
|
|
251
251
|
});
|
|
252
252
|
const r = g(() => Math.min(O.value.height, O.value.width) / 1e3 * e.value.style.layout.cells.spacing), l = g(() => {
|
|
253
253
|
let t = 0;
|
|
254
254
|
e.value.style.legend.show && (t = e.value.style.legend.width);
|
|
255
|
-
const s = e.value.style.layout.padding, a = e.value.style.layout.dataLabels.xAxis.fontSize / 3, o = e.value.style.layout.dataLabels.xAxis.fontSize / 2, v = O.value.height - s.top - s.bottom - he.value - a, c = O.value.width / 60,
|
|
256
|
-
x: r.value *
|
|
257
|
-
y: r.value * ((
|
|
258
|
-
},
|
|
259
|
-
width: Math.max(3,
|
|
260
|
-
height: Math.max(3, h / (
|
|
255
|
+
const s = e.value.style.layout.padding, a = e.value.style.layout.dataLabels.xAxis.fontSize / 3, o = e.value.style.layout.dataLabels.xAxis.fontSize / 2, v = O.value.height - s.top - s.bottom - he.value - a, c = O.value.width / 60, C = {
|
|
256
|
+
x: r.value * X.value,
|
|
257
|
+
y: r.value * ((A.value || []).length + 1)
|
|
258
|
+
}, I = O.value.width - s.left - s.right - C.x - c * 2 - 2 - t - se.value, h = v - c - C.y - me.value - o - e.value.style.layout.cells.columnTotal.value.offsetY, T = {
|
|
259
|
+
width: Math.max(3, I / X.value),
|
|
260
|
+
height: Math.max(3, h / (A.value.length ?? 1))
|
|
261
261
|
};
|
|
262
262
|
return {
|
|
263
263
|
top: s.top + he.value + c + a,
|
|
264
264
|
topLabelsHeight: he.value,
|
|
265
265
|
sumCellXHeight: c,
|
|
266
266
|
height: h,
|
|
267
|
-
left: s.left +
|
|
267
|
+
left: s.left + se.value + c / 2,
|
|
268
268
|
right: s.right - t,
|
|
269
269
|
bottom: O.value.height - s.bottom - me.value,
|
|
270
|
-
width:
|
|
271
|
-
cellSize:
|
|
270
|
+
width: I,
|
|
271
|
+
cellSize: T
|
|
272
272
|
};
|
|
273
|
-
}),
|
|
274
|
-
const t =
|
|
273
|
+
}), W = g(() => Math.max(...A.value.flatMap((t) => t.values))), ye = g(() => Math.min(...A.value.flatMap((t) => t.values))), Z = g(() => {
|
|
274
|
+
const t = A.value.flatMap((a) => a.values);
|
|
275
275
|
return t.reduce((a, o) => a + o, 0) / t.length;
|
|
276
276
|
}), Rt = g(() => mt({
|
|
277
|
-
values: e.value.style.layout.dataLabels.yAxis.values.length ? e.value.style.layout.dataLabels.yAxis.values :
|
|
278
|
-
maxDatapoints:
|
|
277
|
+
values: e.value.style.layout.dataLabels.yAxis.values.length ? e.value.style.layout.dataLabels.yAxis.values : A.value.map((t) => t.name),
|
|
278
|
+
maxDatapoints: A.value.length,
|
|
279
279
|
formatter: e.value.style.layout.dataLabels.yAxis.datetimeFormatter,
|
|
280
280
|
start: 0,
|
|
281
|
-
end:
|
|
281
|
+
end: A.value.length
|
|
282
282
|
})), Ft = g(() => mt({
|
|
283
283
|
values: e.value.style.layout.dataLabels.xAxis.values,
|
|
284
|
-
maxDatapoints:
|
|
284
|
+
maxDatapoints: X.value,
|
|
285
285
|
formatter: e.value.style.layout.dataLabels.xAxis.datetimeFormatter,
|
|
286
286
|
start: 0,
|
|
287
|
-
end:
|
|
287
|
+
end: X.value
|
|
288
288
|
})), m = g(() => {
|
|
289
|
-
const t = Rt.value.map((h) => h.text), s = Ft.value.map((h) => h.text), a =
|
|
290
|
-
for (let h = 0; h <
|
|
291
|
-
c.push(
|
|
292
|
-
const
|
|
289
|
+
const t = Rt.value.map((h) => h.text), s = Ft.value.map((h) => h.text), a = A.value.map((h) => h.values.reduce((T, Pe) => T + Pe, 0)), o = Math.max(...a), v = Math.min(...a), c = [];
|
|
290
|
+
for (let h = 0; h < X.value; h += 1)
|
|
291
|
+
c.push(A.value.map((T) => T.values[h] || 0).reduce((T, Pe) => T + Pe, 0));
|
|
292
|
+
const C = Math.max(...c), I = Math.min(...c);
|
|
293
293
|
return {
|
|
294
294
|
yTotals: a.map((h) => {
|
|
295
|
-
const
|
|
295
|
+
const T = isNaN(h / o) ? 0 : h / o;
|
|
296
296
|
return {
|
|
297
297
|
total: h,
|
|
298
|
-
proportion:
|
|
298
|
+
proportion: T,
|
|
299
299
|
color: pe(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, v, o, h)
|
|
300
300
|
};
|
|
301
301
|
}),
|
|
302
302
|
xTotals: c.map((h) => {
|
|
303
|
-
const
|
|
303
|
+
const T = isNaN(h / C) ? 0 : h / C;
|
|
304
304
|
return {
|
|
305
305
|
total: h,
|
|
306
|
-
proportion:
|
|
307
|
-
color: pe(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot,
|
|
306
|
+
proportion: T,
|
|
307
|
+
color: pe(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, I, C, h)
|
|
308
308
|
};
|
|
309
309
|
}),
|
|
310
310
|
yLabels: t,
|
|
311
|
-
xLabels: s.slice(0,
|
|
311
|
+
xLabels: s.slice(0, X.value)
|
|
312
312
|
};
|
|
313
|
-
}),
|
|
314
|
-
|
|
313
|
+
}), ee = g(() => (A.value.forEach((t, s) => {
|
|
314
|
+
il({
|
|
315
315
|
datasetObject: t,
|
|
316
316
|
requiredAttributes: ["values"]
|
|
317
317
|
}).forEach((a) => {
|
|
@@ -323,75 +323,75 @@ const zl = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
|
|
|
323
323
|
debug: lt.value
|
|
324
324
|
});
|
|
325
325
|
});
|
|
326
|
-
}),
|
|
326
|
+
}), A.value.map((t, s) => ({
|
|
327
327
|
...t,
|
|
328
|
-
temperatures: (t.values || []).map((a, o) => a >=
|
|
328
|
+
temperatures: (t.values || []).map((a, o) => a >= Z.value ? {
|
|
329
329
|
side: "up",
|
|
330
|
-
color: pe(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, ye.value,
|
|
331
|
-
ratio: Math.abs(Math.abs(a -
|
|
330
|
+
color: pe(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, ye.value, W.value, a),
|
|
331
|
+
ratio: Math.abs(Math.abs(a - Z.value) / Math.abs(W.value - Z.value)) > 1 ? 1 : Math.abs(Math.abs(a - Z.value) / Math.abs(W.value - Z.value)),
|
|
332
332
|
value: a,
|
|
333
333
|
yAxisName: m.value.yLabels[s],
|
|
334
334
|
xAxisName: m.value.xLabels[o],
|
|
335
335
|
id: `vue-data-ui-heatmap-cell-${Ie()}`
|
|
336
336
|
} : {
|
|
337
337
|
side: "down",
|
|
338
|
-
ratio: Math.abs(1 - Math.abs(a) / Math.abs(
|
|
339
|
-
color: pe(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, ye.value,
|
|
338
|
+
ratio: Math.abs(1 - Math.abs(a) / Math.abs(Z.value)) > 1 ? 1 : Math.abs(1 - Math.abs(a) / Math.abs(Z.value)),
|
|
339
|
+
color: pe(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, ye.value, W.value, a),
|
|
340
340
|
value: a,
|
|
341
341
|
yAxisName: m.value.yLabels[s],
|
|
342
342
|
xAxisName: m.value.xLabels[o],
|
|
343
343
|
id: `vue-data-ui-heatmap-cell-${Ie()}`
|
|
344
344
|
})
|
|
345
|
-
})))), at = g(() =>
|
|
345
|
+
})))), at = g(() => A.value.length), ot = ht(Array(at.value * X.value || 1).fill(!1)), Nt = g(() => ot.some((t) => t));
|
|
346
346
|
function Dt(t, s) {
|
|
347
347
|
ot[t] = s;
|
|
348
348
|
}
|
|
349
|
-
const st = ht(Array(at.value *
|
|
349
|
+
const st = ht(Array(at.value * X.value || 1).fill(!1)), Bt = g(() => st.some((t) => t));
|
|
350
350
|
function Ht(t, s) {
|
|
351
351
|
st[t] = s;
|
|
352
352
|
}
|
|
353
353
|
const N = d(null), xe = d(null);
|
|
354
354
|
function Pt(t, s, a, o) {
|
|
355
355
|
e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: s }), re.value = { x: a, y: o };
|
|
356
|
-
const { value: v, yAxisName: c, xAxisName:
|
|
357
|
-
|
|
356
|
+
const { value: v, yAxisName: c, xAxisName: C, id: I } = t;
|
|
357
|
+
ie.value = I, N.value = v, xe.value = {
|
|
358
358
|
datapoint: t,
|
|
359
359
|
seriesIndex: s,
|
|
360
|
-
series:
|
|
360
|
+
series: ee.value,
|
|
361
361
|
config: e.value
|
|
362
|
-
},
|
|
362
|
+
}, ne.value = !0;
|
|
363
363
|
let h = "";
|
|
364
|
-
const
|
|
365
|
-
hl(
|
|
364
|
+
const T = e.value.style.tooltip.customFormat;
|
|
365
|
+
hl(T) && yl(() => T({
|
|
366
366
|
datapoint: t,
|
|
367
367
|
seriesIndex: s,
|
|
368
|
-
series:
|
|
368
|
+
series: ee.value,
|
|
369
369
|
config: e.value
|
|
370
|
-
})) ?
|
|
370
|
+
})) ? ae.value = T({
|
|
371
371
|
datapoint: t,
|
|
372
372
|
seriesIndex: s,
|
|
373
|
-
series:
|
|
373
|
+
series: ee.value,
|
|
374
374
|
config: e.value
|
|
375
|
-
}) : (h += `<div>${c} ${
|
|
375
|
+
}) : (h += `<div>${c} ${C ? c ? ` - ${C}` : `${C}` : ""}</div>`, h += `<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${e.value.style.tooltip.borderColor};font-weight:bold;display:flex;flex-direction:row;gap:12px;align-items:center;justify-content:center"><span style="color:${pe(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, ye.value, W.value, v)}">⬤</span><span>${isNaN(v) ? "-" : j(
|
|
376
376
|
e.value.style.layout.cells.value.formatter,
|
|
377
377
|
v,
|
|
378
|
-
|
|
378
|
+
V({
|
|
379
379
|
p: e.value.style.layout.dataLabels.prefix,
|
|
380
380
|
v,
|
|
381
381
|
s: e.value.style.layout.dataLabels.suffix,
|
|
382
382
|
r: e.value.style.tooltip.roundingValue
|
|
383
383
|
}),
|
|
384
384
|
{ datapoint: t, seriesIndex: s }
|
|
385
|
-
)}</span></div>`,
|
|
385
|
+
)}</span></div>`, ae.value = `<div style="font-size:${e.value.style.tooltip.fontSize}px">${h}</div>`);
|
|
386
386
|
}
|
|
387
387
|
function Xt({ datapoint: t, seriesIndex: s }) {
|
|
388
|
-
e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: s }),
|
|
388
|
+
e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: s }), ne.value = !1, ie.value = void 0, N.value = null, re.value = null;
|
|
389
389
|
}
|
|
390
390
|
function It(t) {
|
|
391
|
-
return
|
|
391
|
+
return j(
|
|
392
392
|
e.value.style.layout.cells.value.formatter,
|
|
393
393
|
m.value.yTotals[t].total,
|
|
394
|
-
|
|
394
|
+
V({
|
|
395
395
|
p: e.value.style.layout.dataLabels.prefix,
|
|
396
396
|
v: m.value.yTotals[t].total,
|
|
397
397
|
s: e.value.style.layout.dataLabels.suffix,
|
|
@@ -401,10 +401,10 @@ const zl = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
|
|
|
401
401
|
);
|
|
402
402
|
}
|
|
403
403
|
function Vt(t) {
|
|
404
|
-
return
|
|
404
|
+
return j(
|
|
405
405
|
e.value.style.layout.cells.value.formatter,
|
|
406
406
|
m.value.xTotals[t].total,
|
|
407
|
-
|
|
407
|
+
V({
|
|
408
408
|
p: e.value.style.layout.dataLabels.prefix,
|
|
409
409
|
v: m.value.xTotals[t].total,
|
|
410
410
|
s: e.value.style.layout.dataLabels.suffix,
|
|
@@ -414,32 +414,32 @@ const zl = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
|
|
|
414
414
|
);
|
|
415
415
|
}
|
|
416
416
|
g(() => {
|
|
417
|
-
const t =
|
|
417
|
+
const t = A.value.map((a) => ({
|
|
418
418
|
name: a.name
|
|
419
|
-
})), s =
|
|
419
|
+
})), s = A.value.map((a) => a.values);
|
|
420
420
|
return { head: t, body: s };
|
|
421
421
|
});
|
|
422
422
|
function De(t = null) {
|
|
423
423
|
Se(() => {
|
|
424
|
-
const s = ["", ...
|
|
424
|
+
const s = ["", ...A.value.map((c, C) => c.name)], a = [];
|
|
425
425
|
for (let c = 0; c < m.value.xLabels.length; c += 1) {
|
|
426
|
-
const
|
|
427
|
-
for (let
|
|
428
|
-
|
|
429
|
-
a.push(
|
|
426
|
+
const C = [m.value.xLabels[c]];
|
|
427
|
+
for (let I = 0; I < A.value.length; I += 1)
|
|
428
|
+
C.push([A.value[I].values[c]]);
|
|
429
|
+
a.push(C);
|
|
430
430
|
}
|
|
431
431
|
const o = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([s]).concat(a), v = cl(o);
|
|
432
432
|
t ? t(v) : dl({ csvContent: v, title: e.value.style.title.text || "vue-ui-heatmap" });
|
|
433
433
|
});
|
|
434
434
|
}
|
|
435
|
-
const
|
|
435
|
+
const te = d(!1);
|
|
436
436
|
function ut(t) {
|
|
437
|
-
|
|
437
|
+
te.value = t, Ee.value += 1;
|
|
438
438
|
}
|
|
439
|
-
function
|
|
439
|
+
function nt() {
|
|
440
440
|
M.value.showTable = !M.value.showTable;
|
|
441
441
|
}
|
|
442
|
-
function
|
|
442
|
+
function it() {
|
|
443
443
|
M.value.showTooltip = !M.value.showTooltip;
|
|
444
444
|
}
|
|
445
445
|
const we = d(!1);
|
|
@@ -447,10 +447,10 @@ const zl = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
|
|
|
447
447
|
we.value = !we.value;
|
|
448
448
|
}
|
|
449
449
|
function Et(t, s) {
|
|
450
|
-
e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: s }),
|
|
450
|
+
e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: s }), Q("selectDatapoint", t);
|
|
451
451
|
}
|
|
452
452
|
function Ut() {
|
|
453
|
-
return
|
|
453
|
+
return ee.value;
|
|
454
454
|
}
|
|
455
455
|
async function Gt({ scale: t = 2 } = {}) {
|
|
456
456
|
if (!z.value) return;
|
|
@@ -466,10 +466,10 @@ const zl = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
|
|
|
466
466
|
}
|
|
467
467
|
const rt = g(() => ({
|
|
468
468
|
start: 0,
|
|
469
|
-
end:
|
|
469
|
+
end: X.value
|
|
470
470
|
})), vt = g(() => m.value.xLabels);
|
|
471
471
|
xt({
|
|
472
|
-
timeLabelsEls:
|
|
472
|
+
timeLabelsEls: _e,
|
|
473
473
|
timeLabels: vt,
|
|
474
474
|
slicer: rt,
|
|
475
475
|
configRef: e,
|
|
@@ -496,14 +496,14 @@ const zl = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
|
|
|
496
496
|
const ke = g(() => {
|
|
497
497
|
const t = e.value.table.useDialog && !e.value.table.show, s = M.value.showTable;
|
|
498
498
|
return {
|
|
499
|
-
component: t ?
|
|
499
|
+
component: t ? G : Sl,
|
|
500
500
|
title: `${e.value.style.title.text}${e.value.style.title.subtitle.text ? `: ${e.value.style.title.subtitle.text}` : ""}`,
|
|
501
501
|
props: t ? {
|
|
502
502
|
backgroundColor: e.value.table.th.backgroundColor,
|
|
503
503
|
color: e.value.table.th.color,
|
|
504
504
|
headerColor: e.value.table.th.color,
|
|
505
505
|
headerBg: e.value.table.th.backgroundColor,
|
|
506
|
-
isFullscreen:
|
|
506
|
+
isFullscreen: te.value,
|
|
507
507
|
fullscreenParent: z.value,
|
|
508
508
|
forcedWidth: Math.min(800, window.innerWidth * 0.8)
|
|
509
509
|
} : {
|
|
@@ -526,9 +526,9 @@ const zl = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
|
|
|
526
526
|
Ae(() => M.value.showTable, async (t) => {
|
|
527
527
|
e.value.table.show || (t && e.value.table.useDialog && ve.value ? (await Se(), ve.value.open()) : "close" in ve.value && ve.value.close());
|
|
528
528
|
});
|
|
529
|
-
const { isResponsive: Yt } = wl(Ue,
|
|
529
|
+
const { isResponsive: Yt } = wl(Ue, _t);
|
|
530
530
|
function He() {
|
|
531
|
-
M.value.showTable = !1,
|
|
531
|
+
M.value.showTable = !1, $e.value && $e.value.setTableIconState(!1);
|
|
532
532
|
}
|
|
533
533
|
const Wt = g(() => e.value.style.backgroundColor), jt = g(() => e.value.style.title), { exportSvg: qt, getSvg: Kt } = xl({
|
|
534
534
|
svg: Re,
|
|
@@ -549,35 +549,55 @@ const zl = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
|
|
|
549
549
|
generateCsv: De,
|
|
550
550
|
generateImage: tt,
|
|
551
551
|
generateSvg: ct,
|
|
552
|
-
toggleTable:
|
|
553
|
-
toggleTooltip:
|
|
552
|
+
toggleTable: nt,
|
|
553
|
+
toggleTooltip: it,
|
|
554
554
|
toggleAnnotator: Be,
|
|
555
555
|
toggleFullscreen: ut
|
|
556
|
-
}), (t, s) => (u(),
|
|
556
|
+
}), (t, s) => (u(), i("div", {
|
|
557
557
|
ref_key: "heatmapChart",
|
|
558
558
|
ref: z,
|
|
559
|
-
class: fe(`vue-data-ui-component vue-ui-heatmap ${
|
|
560
|
-
style:
|
|
559
|
+
class: fe(`vue-data-ui-component vue-ui-heatmap ${te.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
560
|
+
style: L(`font-family:${e.value.style.fontFamily};width:100%;${e.value.responsive ? "height: 100%;" : ""} text-align:center;background:${e.value.style.backgroundColor}`),
|
|
561
561
|
id: `heatmap__${F.value}`,
|
|
562
562
|
onMouseenter: s[1] || (s[1] = () => Je(!0)),
|
|
563
563
|
onMouseleave: s[2] || (s[2] = () => Je(!1))
|
|
564
564
|
}, [
|
|
565
|
-
e.value.userOptions.buttons.annotator ? (u(), ge(
|
|
565
|
+
e.value.userOptions.buttons.annotator ? (u(), ge(n(x), {
|
|
566
566
|
key: 0,
|
|
567
|
-
svgRef:
|
|
567
|
+
svgRef: n(Re),
|
|
568
568
|
backgroundColor: e.value.style.backgroundColor,
|
|
569
569
|
color: e.value.style.color,
|
|
570
570
|
active: we.value,
|
|
571
571
|
onClose: Be
|
|
572
|
-
},
|
|
573
|
-
|
|
572
|
+
}, {
|
|
573
|
+
"annotator-action-close": k(() => [
|
|
574
|
+
w(t.$slots, "annotator-action-close", {}, void 0, !0)
|
|
575
|
+
]),
|
|
576
|
+
"annotator-action-color": k(({ color: a }) => [
|
|
577
|
+
w(t.$slots, "annotator-action-color", D(B({ color: a })), void 0, !0)
|
|
578
|
+
]),
|
|
579
|
+
"annotator-action-draw": k(({ mode: a }) => [
|
|
580
|
+
w(t.$slots, "annotator-action-draw", D(B({ mode: a })), void 0, !0)
|
|
581
|
+
]),
|
|
582
|
+
"annotator-action-undo": k(({ disabled: a }) => [
|
|
583
|
+
w(t.$slots, "annotator-action-undo", D(B({ disabled: a })), void 0, !0)
|
|
584
|
+
]),
|
|
585
|
+
"annotator-action-redo": k(({ disabled: a }) => [
|
|
586
|
+
w(t.$slots, "annotator-action-redo", D(B({ disabled: a })), void 0, !0)
|
|
587
|
+
]),
|
|
588
|
+
"annotator-action-delete": k(({ disabled: a }) => [
|
|
589
|
+
w(t.$slots, "annotator-action-delete", D(B({ disabled: a })), void 0, !0)
|
|
590
|
+
]),
|
|
591
|
+
_: 3
|
|
592
|
+
}, 8, ["svgRef", "backgroundColor", "color", "active"])) : p("", !0),
|
|
593
|
+
$t.value ? (u(), i("div", {
|
|
574
594
|
key: 1,
|
|
575
595
|
ref_key: "noTitle",
|
|
576
596
|
ref: We,
|
|
577
597
|
class: "vue-data-ui-no-title-space",
|
|
578
598
|
style: "height:36px; width: 100%;background:transparent"
|
|
579
599
|
}, null, 512)) : p("", !0),
|
|
580
|
-
e.value.style.title.text ? (u(),
|
|
600
|
+
e.value.style.title.text ? (u(), i("div", {
|
|
581
601
|
key: 2,
|
|
582
602
|
ref_key: "chartTitle",
|
|
583
603
|
ref: Ye,
|
|
@@ -597,14 +617,14 @@ const zl = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
|
|
|
597
617
|
}
|
|
598
618
|
}, null, 8, ["config"]))
|
|
599
619
|
], 512)) : p("", !0),
|
|
600
|
-
e.value.userOptions.show &&
|
|
620
|
+
e.value.userOptions.show && le.value && (n(Ke) || n(Me)) ? (u(), ge(n(U), {
|
|
601
621
|
ref_key: "userOptionsRef",
|
|
602
|
-
ref:
|
|
622
|
+
ref: $e,
|
|
603
623
|
key: `user_options_${Ee.value}`,
|
|
604
624
|
backgroundColor: e.value.style.backgroundColor,
|
|
605
625
|
color: e.value.style.color,
|
|
606
|
-
isImaging:
|
|
607
|
-
isPrinting:
|
|
626
|
+
isImaging: n(Ze),
|
|
627
|
+
isPrinting: n(Qe),
|
|
608
628
|
uid: F.value,
|
|
609
629
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.tooltip.show,
|
|
610
630
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
@@ -613,7 +633,7 @@ const zl = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
|
|
|
613
633
|
hasXls: e.value.userOptions.buttons.csv,
|
|
614
634
|
hasTable: e.value.userOptions.buttons.table,
|
|
615
635
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
616
|
-
isFullscreen:
|
|
636
|
+
isFullscreen: te.value,
|
|
617
637
|
isTooltip: M.value.showTooltip,
|
|
618
638
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
619
639
|
chartElement: z.value,
|
|
@@ -624,77 +644,77 @@ const zl = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
|
|
|
624
644
|
printScale: e.value.userOptions.print.scale,
|
|
625
645
|
tableDialog: e.value.table.useDialog,
|
|
626
646
|
onToggleFullscreen: ut,
|
|
627
|
-
onGeneratePdf:
|
|
647
|
+
onGeneratePdf: n(et),
|
|
628
648
|
onGenerateCsv: De,
|
|
629
|
-
onGenerateImage:
|
|
649
|
+
onGenerateImage: n(tt),
|
|
630
650
|
onGenerateSvg: ct,
|
|
631
|
-
onToggleTable:
|
|
632
|
-
onToggleTooltip:
|
|
651
|
+
onToggleTable: nt,
|
|
652
|
+
onToggleTooltip: it,
|
|
633
653
|
onToggleAnnotator: Be,
|
|
634
|
-
style:
|
|
635
|
-
visibility:
|
|
654
|
+
style: L({
|
|
655
|
+
visibility: n(Ke) ? n(Me) ? "visible" : "hidden" : "visible"
|
|
636
656
|
})
|
|
637
657
|
}, yt({ _: 2 }, [
|
|
638
658
|
t.$slots.menuIcon ? {
|
|
639
659
|
name: "menuIcon",
|
|
640
|
-
fn:
|
|
641
|
-
|
|
660
|
+
fn: k(({ isOpen: a, color: o }) => [
|
|
661
|
+
w(t.$slots, "menuIcon", D(B({ isOpen: a, color: o })), void 0, !0)
|
|
642
662
|
]),
|
|
643
663
|
key: "0"
|
|
644
664
|
} : void 0,
|
|
645
665
|
t.$slots.optionTooltip ? {
|
|
646
666
|
name: "optionTooltip",
|
|
647
|
-
fn:
|
|
648
|
-
|
|
667
|
+
fn: k(() => [
|
|
668
|
+
w(t.$slots, "optionTooltip", {}, void 0, !0)
|
|
649
669
|
]),
|
|
650
670
|
key: "1"
|
|
651
671
|
} : void 0,
|
|
652
672
|
t.$slots.optionPdf ? {
|
|
653
673
|
name: "optionPdf",
|
|
654
|
-
fn:
|
|
655
|
-
|
|
674
|
+
fn: k(() => [
|
|
675
|
+
w(t.$slots, "optionPdf", {}, void 0, !0)
|
|
656
676
|
]),
|
|
657
677
|
key: "2"
|
|
658
678
|
} : void 0,
|
|
659
679
|
t.$slots.optionCsv ? {
|
|
660
680
|
name: "optionCsv",
|
|
661
|
-
fn:
|
|
662
|
-
|
|
681
|
+
fn: k(() => [
|
|
682
|
+
w(t.$slots, "optionCsv", {}, void 0, !0)
|
|
663
683
|
]),
|
|
664
684
|
key: "3"
|
|
665
685
|
} : void 0,
|
|
666
686
|
t.$slots.optionImg ? {
|
|
667
687
|
name: "optionImg",
|
|
668
|
-
fn:
|
|
669
|
-
|
|
688
|
+
fn: k(() => [
|
|
689
|
+
w(t.$slots, "optionImg", {}, void 0, !0)
|
|
670
690
|
]),
|
|
671
691
|
key: "4"
|
|
672
692
|
} : void 0,
|
|
673
693
|
t.$slots.optionSvg ? {
|
|
674
694
|
name: "optionSvg",
|
|
675
|
-
fn:
|
|
676
|
-
|
|
695
|
+
fn: k(() => [
|
|
696
|
+
w(t.$slots, "optionSvg", {}, void 0, !0)
|
|
677
697
|
]),
|
|
678
698
|
key: "5"
|
|
679
699
|
} : void 0,
|
|
680
700
|
t.$slots.optionTable ? {
|
|
681
701
|
name: "optionTable",
|
|
682
|
-
fn:
|
|
683
|
-
|
|
702
|
+
fn: k(() => [
|
|
703
|
+
w(t.$slots, "optionTable", {}, void 0, !0)
|
|
684
704
|
]),
|
|
685
705
|
key: "6"
|
|
686
706
|
} : void 0,
|
|
687
707
|
t.$slots.optionFullscreen ? {
|
|
688
708
|
name: "optionFullscreen",
|
|
689
|
-
fn:
|
|
690
|
-
|
|
709
|
+
fn: k(({ toggleFullscreen: a, isFullscreen: o }) => [
|
|
710
|
+
w(t.$slots, "optionFullscreen", D(B({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
|
|
691
711
|
]),
|
|
692
712
|
key: "7"
|
|
693
713
|
} : void 0,
|
|
694
714
|
t.$slots.optionAnnotator ? {
|
|
695
715
|
name: "optionAnnotator",
|
|
696
|
-
fn:
|
|
697
|
-
|
|
716
|
+
fn: k(({ toggleAnnotator: a, isAnnotator: o }) => [
|
|
717
|
+
w(t.$slots, "optionAnnotator", D(B({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
|
|
698
718
|
]),
|
|
699
719
|
key: "8"
|
|
700
720
|
} : void 0
|
|
@@ -705,20 +725,20 @@ const zl = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
|
|
|
705
725
|
"vue-ui-heatmap-chart-wrapper-legend-right": e.value.style.legend.show
|
|
706
726
|
})
|
|
707
727
|
}, [
|
|
708
|
-
(u(),
|
|
728
|
+
(u(), i("svg", {
|
|
709
729
|
ref_key: "svgRef",
|
|
710
730
|
ref: Re,
|
|
711
|
-
xmlns:
|
|
712
|
-
class: fe({ "vue-data-ui-fullscreen--on":
|
|
731
|
+
xmlns: n(rl),
|
|
732
|
+
class: fe({ "vue-data-ui-fullscreen--on": te.value, "vue-data-ui-fulscreen--off": !te.value }),
|
|
713
733
|
viewBox: `0 0 ${O.value.width} ${O.value.height}`,
|
|
714
734
|
width: "100%",
|
|
715
|
-
style:
|
|
735
|
+
style: L(`overflow: visible; background:transparent;color:${e.value.style.color}`),
|
|
716
736
|
"aria-live": "polite",
|
|
717
737
|
role: "img",
|
|
718
738
|
preserveAspectRatio: "xMidYMid"
|
|
719
739
|
}, [
|
|
720
|
-
Ce(
|
|
721
|
-
t.$slots["chart-background"] ? (u(),
|
|
740
|
+
Ce(n(_)),
|
|
741
|
+
t.$slots["chart-background"] ? (u(), i("foreignObject", {
|
|
722
742
|
key: 0,
|
|
723
743
|
x: l.value.left,
|
|
724
744
|
y: l.value.top,
|
|
@@ -728,14 +748,14 @@ const zl = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
|
|
|
728
748
|
pointerEvents: "none"
|
|
729
749
|
}
|
|
730
750
|
}, [
|
|
731
|
-
|
|
751
|
+
w(t.$slots, "chart-background", {}, void 0, !0)
|
|
732
752
|
], 8, Ml)) : p("", !0),
|
|
733
|
-
e.value.style.layout.cells.columnTotal.color.show ? (u(),
|
|
753
|
+
e.value.style.layout.cells.columnTotal.color.show ? (u(), i("g", {
|
|
734
754
|
key: 1,
|
|
735
755
|
ref_key: "xAxisSumRects",
|
|
736
756
|
ref: Lt
|
|
737
757
|
}, [
|
|
738
|
-
(u(!0),
|
|
758
|
+
(u(!0), i(S, null, H(m.value.xTotals, (a, o) => (u(), i("rect", {
|
|
739
759
|
x: l.value.left + l.value.cellSize.width * o + r.value / 2 + l.value.sumCellXHeight,
|
|
740
760
|
y: l.value.top - l.value.sumCellXHeight + r.value * (O.value.height / O.value.width),
|
|
741
761
|
height: l.value.sumCellXHeight,
|
|
@@ -744,7 +764,7 @@ const zl = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
|
|
|
744
764
|
stroke: e.value.style.backgroundColor,
|
|
745
765
|
"stroke-width": r.value
|
|
746
766
|
}, null, 8, Rl))), 256)),
|
|
747
|
-
(u(!0),
|
|
767
|
+
(u(!0), i(S, null, H(m.value.xTotals, (a, o) => (u(), i("rect", {
|
|
748
768
|
x: l.value.left + l.value.cellSize.width * o + r.value / 2 + l.value.sumCellXHeight,
|
|
749
769
|
y: l.value.top - l.value.sumCellXHeight + r.value * (O.value.height / O.value.width),
|
|
750
770
|
height: l.value.sumCellXHeight,
|
|
@@ -758,8 +778,8 @@ const zl = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
|
|
|
758
778
|
ref_key: "datapoints",
|
|
759
779
|
ref: kt
|
|
760
780
|
}, [
|
|
761
|
-
(u(!0),
|
|
762
|
-
(u(!0),
|
|
781
|
+
(u(!0), i(S, null, H(ee.value, (a, o) => (u(), i(S, null, [
|
|
782
|
+
(u(!0), i(S, null, H(a.temperatures, (v, c) => (u(), i("g", null, [
|
|
763
783
|
b("rect", {
|
|
764
784
|
x: l.value.left + l.value.cellSize.width * c + r.value / 2 + l.value.sumCellXHeight,
|
|
765
785
|
y: l.value.top + l.value.cellSize.height * o + r.value / 2,
|
|
@@ -777,24 +797,24 @@ const zl = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
|
|
|
777
797
|
fill: v.color,
|
|
778
798
|
stroke: e.value.style.backgroundColor,
|
|
779
799
|
"stroke-width": r.value,
|
|
780
|
-
onMouseover: (
|
|
800
|
+
onMouseover: (C) => Pt(v, o, l.value.left + l.value.cellSize.width * c, l.value.top + l.value.cellSize.height * o),
|
|
781
801
|
onMouseout: () => Xt({ datapoint: v, seriesIndex: o }),
|
|
782
802
|
onClick: () => Et(v, o)
|
|
783
803
|
}, null, 40, Dl),
|
|
784
|
-
e.value.style.layout.cells.value.show ? ft((u(),
|
|
804
|
+
e.value.style.layout.cells.value.show ? ft((u(), i("text", {
|
|
785
805
|
key: 0,
|
|
786
806
|
"text-anchor": "middle",
|
|
787
807
|
"font-size": e.value.style.layout.cells.value.fontSize,
|
|
788
808
|
"font-weight": e.value.style.layout.cells.value.bold ? "bold" : "normal",
|
|
789
|
-
fill:
|
|
809
|
+
fill: n(Le)(v.color),
|
|
790
810
|
x: l.value.left + l.value.cellSize.width * c + l.value.cellSize.width / 2 + l.value.sumCellXHeight,
|
|
791
811
|
y: l.value.top + l.value.cellSize.height * o + l.value.cellSize.height / 2 + e.value.style.layout.cells.value.fontSize / 3,
|
|
792
812
|
style: { pointerEvents: "none", userSelect: "none" }
|
|
793
813
|
}, [
|
|
794
|
-
Xe(
|
|
814
|
+
Xe($(n(j)(
|
|
795
815
|
e.value.style.layout.cells.value.formatter,
|
|
796
816
|
v.value,
|
|
797
|
-
|
|
817
|
+
n(V)({
|
|
798
818
|
p: e.value.style.layout.dataLabels.prefix,
|
|
799
819
|
v: v.value,
|
|
800
820
|
s: e.value.style.layout.dataLabels.suffix,
|
|
@@ -803,12 +823,12 @@ const zl = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
|
|
|
803
823
|
{ datapoint: v }
|
|
804
824
|
)), 1)
|
|
805
825
|
], 8, Bl)), [
|
|
806
|
-
[
|
|
826
|
+
[n(_l), {
|
|
807
827
|
cellWidth: l.value.cellSize.width - r.value,
|
|
808
828
|
cellHeight: l.value.cellSize.height - r.value,
|
|
809
829
|
maxFontSize: e.value.style.layout.cells.value.fontSize,
|
|
810
830
|
minFontSize: 10,
|
|
811
|
-
index: o *
|
|
831
|
+
index: o * X.value + c,
|
|
812
832
|
reportHide: Ht,
|
|
813
833
|
reportRotation: Dt,
|
|
814
834
|
hideAll: Bt.value,
|
|
@@ -818,12 +838,12 @@ const zl = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
|
|
|
818
838
|
]))), 256))
|
|
819
839
|
], 64))), 256))
|
|
820
840
|
], 512),
|
|
821
|
-
e.value.style.layout.cells.rowTotal.color.show ? (u(),
|
|
841
|
+
e.value.style.layout.cells.rowTotal.color.show ? (u(), i("g", {
|
|
822
842
|
key: 2,
|
|
823
843
|
ref_key: "yAxisSumRects",
|
|
824
844
|
ref: Ct
|
|
825
845
|
}, [
|
|
826
|
-
(u(!0),
|
|
846
|
+
(u(!0), i(S, null, H(ee.value, (a, o) => (u(), i(S, null, [
|
|
827
847
|
b("rect", {
|
|
828
848
|
x: l.value.left,
|
|
829
849
|
y: l.value.top + l.value.cellSize.height * o,
|
|
@@ -844,40 +864,40 @@ const zl = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
|
|
|
844
864
|
}, null, 8, Pl)
|
|
845
865
|
], 64))), 256))
|
|
846
866
|
], 512)) : p("", !0),
|
|
847
|
-
e.value.style.layout.dataLabels.yAxis.show ? (u(),
|
|
867
|
+
e.value.style.layout.dataLabels.yAxis.show ? (u(), i("g", {
|
|
848
868
|
key: 3,
|
|
849
869
|
ref_key: "yAxisLabels",
|
|
850
870
|
ref: je
|
|
851
871
|
}, [
|
|
852
|
-
(u(!0),
|
|
872
|
+
(u(!0), i(S, null, H(ee.value, (a, o) => (u(), i(S, null, [
|
|
853
873
|
b("text", {
|
|
854
874
|
class: "vue-ui-heatmap-row-name",
|
|
855
875
|
"font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
|
|
856
876
|
fill: e.value.style.layout.dataLabels.yAxis.color,
|
|
857
|
-
x:
|
|
877
|
+
x: se.value,
|
|
858
878
|
y: l.value.top + l.value.cellSize.height * o + l.value.cellSize.height / 2 + e.value.style.layout.dataLabels.yAxis.fontSize / 3 + e.value.style.layout.dataLabels.yAxis.offsetY - (e.value.style.layout.cells.rowTotal.value.show ? e.value.style.layout.dataLabels.yAxis.fontSize / 1.5 : 0),
|
|
859
879
|
"text-anchor": "end",
|
|
860
880
|
"font-weight": e.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal"
|
|
861
|
-
},
|
|
862
|
-
e.value.style.layout.cells.rowTotal.value.show ? (u(),
|
|
881
|
+
}, $(m.value.yLabels[o]), 9, Xl),
|
|
882
|
+
e.value.style.layout.cells.rowTotal.value.show ? (u(), i("text", {
|
|
863
883
|
key: 0,
|
|
864
884
|
class: "vue-ui-heatmap-row-total",
|
|
865
885
|
"font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
|
|
866
886
|
fill: e.value.style.layout.dataLabels.yAxis.color,
|
|
867
|
-
x:
|
|
887
|
+
x: se.value,
|
|
868
888
|
y: l.value.top + l.value.cellSize.height * o + l.value.cellSize.height / 2 + e.value.style.layout.dataLabels.yAxis.fontSize + e.value.style.layout.dataLabels.yAxis.offsetY,
|
|
869
889
|
"text-anchor": "end",
|
|
870
890
|
"font-weight": e.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal"
|
|
871
|
-
},
|
|
891
|
+
}, $(It(o)), 9, Il)) : p("", !0)
|
|
872
892
|
], 64))), 256))
|
|
873
893
|
], 512)) : p("", !0),
|
|
874
|
-
e.value.style.layout.dataLabels.xAxis.show ? (u(),
|
|
894
|
+
e.value.style.layout.dataLabels.xAxis.show ? (u(), i("g", {
|
|
875
895
|
key: 4,
|
|
876
896
|
ref_key: "xAxisLabels",
|
|
877
|
-
ref:
|
|
897
|
+
ref: _e
|
|
878
898
|
}, [
|
|
879
|
-
(u(!0),
|
|
880
|
-
!e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo || e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo && o % e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo === 0 ? (u(),
|
|
899
|
+
(u(!0), i(S, null, H(m.value.xLabels, (a, o) => (u(), i(S, null, [
|
|
900
|
+
!e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo || e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo && o % e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo === 0 ? (u(), i("text", {
|
|
881
901
|
key: 0,
|
|
882
902
|
class: "vue-ui-heatmap-col-name",
|
|
883
903
|
"text-anchor": e.value.style.layout.dataLabels.xAxis.rotation === 0 ? "middle" : e.value.style.layout.dataLabels.xAxis.rotation < 0 ? "start" : "end",
|
|
@@ -885,24 +905,24 @@ const zl = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
|
|
|
885
905
|
fill: e.value.style.layout.dataLabels.xAxis.color,
|
|
886
906
|
"font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
|
|
887
907
|
transform: `translate(${l.value.left + l.value.cellSize.width / 2 + l.value.width / m.value.xLabels.length * o + e.value.style.layout.dataLabels.xAxis.offsetX + l.value.sumCellXHeight}, ${l.value.topLabelsHeight}), rotate(${e.value.style.layout.dataLabels.xAxis.rotation})`
|
|
888
|
-
},
|
|
908
|
+
}, $(a), 9, Vl)) : p("", !0)
|
|
889
909
|
], 64))), 256))
|
|
890
910
|
], 512)) : p("", !0),
|
|
891
|
-
e.value.style.layout.cells.columnTotal.value.show ? (u(),
|
|
911
|
+
e.value.style.layout.cells.columnTotal.value.show ? (u(), i("g", {
|
|
892
912
|
key: 5,
|
|
893
913
|
ref_key: "xAxisSums",
|
|
894
914
|
ref: ze
|
|
895
915
|
}, [
|
|
896
|
-
(u(!0),
|
|
916
|
+
(u(!0), i(S, null, H(m.value.xLabels, (a, o) => (u(), i("text", {
|
|
897
917
|
class: "vue-ui-heatmap-col-total",
|
|
898
918
|
"text-anchor": e.value.style.layout.cells.columnTotal.value.rotation === 0 ? "middle" : e.value.style.layout.cells.columnTotal.value.rotation < 0 ? "end" : "start",
|
|
899
919
|
"font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
|
|
900
920
|
fill: e.value.style.layout.dataLabels.xAxis.color,
|
|
901
921
|
"font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
|
|
902
922
|
transform: `translate(${l.value.left + l.value.cellSize.width / 2 + l.value.width / m.value.xLabels.length * o + e.value.style.layout.dataLabels.xAxis.offsetX + e.value.style.layout.cells.columnTotal.value.offsetX + l.value.sumCellXHeight}, ${l.value.bottom + e.value.style.layout.dataLabels.xAxis.fontSize / 2}), rotate(${e.value.style.layout.cells.columnTotal.value.rotation})`
|
|
903
|
-
},
|
|
923
|
+
}, $(Vt(o)), 9, El))), 256))
|
|
904
924
|
], 512)) : p("", !0),
|
|
905
|
-
re.value ? (u(),
|
|
925
|
+
re.value ? (u(), i("g", Ul, [
|
|
906
926
|
b("rect", {
|
|
907
927
|
style: { "pointer-events": "none" },
|
|
908
928
|
x: re.value.x - e.value.style.layout.cells.selected.border / 2 + r.value + l.value.sumCellXHeight,
|
|
@@ -915,30 +935,30 @@ const zl = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
|
|
|
915
935
|
rx: 1
|
|
916
936
|
}, null, 8, Gl)
|
|
917
937
|
])) : p("", !0),
|
|
918
|
-
|
|
938
|
+
w(t.$slots, "svg", { svg: O.value }, void 0, !0)
|
|
919
939
|
], 14, Ol)),
|
|
920
|
-
e.value.style.legend.show ? (u(),
|
|
940
|
+
e.value.style.legend.show ? (u(), i("div", {
|
|
921
941
|
key: 0,
|
|
922
942
|
ref_key: "legendRight",
|
|
923
943
|
ref: At,
|
|
924
944
|
class: "vue-ui-heatmap-legend-right",
|
|
925
|
-
style:
|
|
945
|
+
style: L({
|
|
926
946
|
"--legend-width": e.value.style.legend.width + "px"
|
|
927
947
|
})
|
|
928
948
|
}, [
|
|
929
|
-
|
|
949
|
+
n(be) ? p("", !0) : (u(), i("div", {
|
|
930
950
|
key: 0,
|
|
931
951
|
class: "vue-ui-heatmap-legend-label-max",
|
|
932
|
-
style:
|
|
952
|
+
style: L({
|
|
933
953
|
fontSize: e.value.style.legend.fontSize + "px",
|
|
934
954
|
color: e.value.style.legend.color
|
|
935
955
|
})
|
|
936
|
-
},
|
|
956
|
+
}, $(n(j)(
|
|
937
957
|
e.value.style.layout.cells.value.formatter,
|
|
938
|
-
|
|
939
|
-
|
|
958
|
+
n(q)(W.value),
|
|
959
|
+
n(V)({
|
|
940
960
|
p: e.value.style.layout.dataLabels.prefix,
|
|
941
|
-
v:
|
|
961
|
+
v: n(q)(W.value),
|
|
942
962
|
s: e.value.style.layout.dataLabels.suffix,
|
|
943
963
|
r: e.value.style.legend.roundingValue
|
|
944
964
|
})
|
|
@@ -946,42 +966,42 @@ const zl = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
|
|
|
946
966
|
b("div", Yl, [
|
|
947
967
|
b("div", {
|
|
948
968
|
class: "vue-ui-heatmap-gauge",
|
|
949
|
-
style:
|
|
969
|
+
style: L({
|
|
950
970
|
background: `linear-gradient(to bottom, ${e.value.style.layout.cells.colors.hot}, ${e.value.style.layout.cells.colors.cold})`
|
|
951
971
|
})
|
|
952
972
|
}, [
|
|
953
973
|
ft(b("div", {
|
|
954
974
|
class: "vue-ui-heatmap-gauge-indicator",
|
|
955
|
-
"data-value":
|
|
975
|
+
"data-value": n(j)(
|
|
956
976
|
e.value.style.layout.cells.value.formatter,
|
|
957
|
-
|
|
958
|
-
|
|
977
|
+
n(q)(N.value),
|
|
978
|
+
n(V)({
|
|
959
979
|
p: e.value.style.layout.dataLabels.prefix,
|
|
960
|
-
v:
|
|
980
|
+
v: n(q)(N.value),
|
|
961
981
|
s: e.value.style.layout.dataLabels.suffix,
|
|
962
982
|
r: e.value.style.legend.roundingValue
|
|
963
983
|
})
|
|
964
984
|
),
|
|
965
|
-
style:
|
|
985
|
+
style: L({
|
|
966
986
|
position: "absolute",
|
|
967
987
|
width: "100%",
|
|
968
988
|
height: "2px",
|
|
969
|
-
background: [void 0, null].includes(N.value) ? "transparent" :
|
|
970
|
-
top: `${[void 0, null].includes(N.value) ? 0 : (1 - N.value /
|
|
989
|
+
background: [void 0, null].includes(N.value) ? "transparent" : n(Le)(xe.value.datapoint.color),
|
|
990
|
+
top: `${[void 0, null].includes(N.value) ? 0 : (1 - N.value / W.value) * 100}%`,
|
|
971
991
|
transition: "all 0.2s ease-in-out",
|
|
972
992
|
"--background-color": e.value.style.backgroundColor,
|
|
973
|
-
"--gauge-arrow-color":
|
|
974
|
-
"--gauge-arrow-text-color":
|
|
993
|
+
"--gauge-arrow-color": n(Le)(e.value.style.backgroundColor),
|
|
994
|
+
"--gauge-arrow-text-color": n(Le)(e.value.style.backgroundColor),
|
|
975
995
|
"--gauge-arrow-value": N.value,
|
|
976
996
|
"--gauge-arrow-font-size": e.value.style.legend.fontSize + "px"
|
|
977
997
|
})
|
|
978
998
|
}, [
|
|
979
|
-
b("div", jl,
|
|
999
|
+
b("div", jl, $(n(j)(
|
|
980
1000
|
e.value.style.layout.cells.value.formatter,
|
|
981
|
-
|
|
982
|
-
|
|
1001
|
+
n(q)(N.value),
|
|
1002
|
+
n(V)({
|
|
983
1003
|
p: e.value.style.layout.dataLabels.prefix,
|
|
984
|
-
v:
|
|
1004
|
+
v: n(q)(N.value),
|
|
985
1005
|
s: e.value.style.layout.dataLabels.suffix,
|
|
986
1006
|
r: e.value.style.legend.roundingValue
|
|
987
1007
|
})
|
|
@@ -991,38 +1011,38 @@ const zl = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
|
|
|
991
1011
|
])
|
|
992
1012
|
], 4)
|
|
993
1013
|
]),
|
|
994
|
-
|
|
1014
|
+
n(be) ? p("", !0) : (u(), i("div", {
|
|
995
1015
|
key: 1,
|
|
996
1016
|
class: "vue-ui-heatmap-legend-label-min",
|
|
997
|
-
style:
|
|
1017
|
+
style: L({
|
|
998
1018
|
fontSize: e.value.style.legend.fontSize + "px",
|
|
999
1019
|
color: e.value.style.legend.color
|
|
1000
1020
|
})
|
|
1001
|
-
},
|
|
1021
|
+
}, $(n(j)(
|
|
1002
1022
|
e.value.style.layout.cells.value.formatter,
|
|
1003
|
-
|
|
1004
|
-
|
|
1023
|
+
n(q)(ye.value),
|
|
1024
|
+
n(V)({
|
|
1005
1025
|
p: e.value.style.layout.dataLabels.prefix,
|
|
1006
|
-
v:
|
|
1026
|
+
v: n(q)(ye.value),
|
|
1007
1027
|
s: e.value.style.layout.dataLabels.suffix,
|
|
1008
1028
|
r: e.value.style.legend.roundingValue
|
|
1009
1029
|
})
|
|
1010
1030
|
)), 5))
|
|
1011
1031
|
], 4)) : p("", !0)
|
|
1012
1032
|
], 2),
|
|
1013
|
-
t.$slots.watermark ? (u(),
|
|
1014
|
-
|
|
1033
|
+
t.$slots.watermark ? (u(), i("div", ql, [
|
|
1034
|
+
w(t.$slots, "watermark", D(B({ isPrinting: n(Qe) || n(Ze) })), void 0, !0)
|
|
1015
1035
|
])) : p("", !0),
|
|
1016
|
-
t.$slots.source ? (u(),
|
|
1036
|
+
t.$slots.source ? (u(), i("div", {
|
|
1017
1037
|
key: 5,
|
|
1018
1038
|
ref_key: "source",
|
|
1019
1039
|
ref: qe,
|
|
1020
1040
|
dir: "auto"
|
|
1021
1041
|
}, [
|
|
1022
|
-
|
|
1042
|
+
w(t.$slots, "source", {}, void 0, !0)
|
|
1023
1043
|
], 512)) : p("", !0),
|
|
1024
|
-
Ce(
|
|
1025
|
-
show: M.value.showTooltip &&
|
|
1044
|
+
Ce(n(E), {
|
|
1045
|
+
show: M.value.showTooltip && ne.value,
|
|
1026
1046
|
backgroundColor: e.value.style.tooltip.backgroundColor,
|
|
1027
1047
|
color: e.value.style.tooltip.color,
|
|
1028
1048
|
borderRadius: e.value.style.tooltip.borderRadius,
|
|
@@ -1033,93 +1053,93 @@ const zl = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
|
|
|
1033
1053
|
position: e.value.style.tooltip.position,
|
|
1034
1054
|
offsetY: e.value.style.tooltip.offsetY,
|
|
1035
1055
|
parent: z.value,
|
|
1036
|
-
content:
|
|
1037
|
-
isFullscreen:
|
|
1056
|
+
content: ae.value,
|
|
1057
|
+
isFullscreen: te.value,
|
|
1038
1058
|
isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function",
|
|
1039
1059
|
smooth: e.value.style.tooltip.smooth,
|
|
1040
1060
|
backdropFilter: e.value.style.tooltip.backdropFilter,
|
|
1041
1061
|
smoothForce: e.value.style.tooltip.smoothForce,
|
|
1042
1062
|
smoothSnapThreshold: e.value.style.tooltip.smoothSnapThreshold
|
|
1043
1063
|
}, {
|
|
1044
|
-
"tooltip-before":
|
|
1045
|
-
|
|
1064
|
+
"tooltip-before": k(() => [
|
|
1065
|
+
w(t.$slots, "tooltip-before", D(B({ ...xe.value })), void 0, !0)
|
|
1046
1066
|
]),
|
|
1047
|
-
"tooltip-after":
|
|
1048
|
-
|
|
1067
|
+
"tooltip-after": k(() => [
|
|
1068
|
+
w(t.$slots, "tooltip-after", D(B({ ...xe.value })), void 0, !0)
|
|
1049
1069
|
]),
|
|
1050
1070
|
_: 3
|
|
1051
1071
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
|
|
1052
|
-
|
|
1072
|
+
le.value && e.value.userOptions.buttons.table ? (u(), ge(al(ke.value.component), ol({ key: 6 }, ke.value.props, {
|
|
1053
1073
|
ref_key: "tableUnit",
|
|
1054
1074
|
ref: ve,
|
|
1055
1075
|
onClose: He
|
|
1056
1076
|
}), yt({
|
|
1057
|
-
content:
|
|
1077
|
+
content: k(() => [
|
|
1058
1078
|
b("div", {
|
|
1059
1079
|
ref_key: "tableContainer",
|
|
1060
1080
|
ref: Ue,
|
|
1061
1081
|
class: "vue-ui-heatmap-table atom-data-table",
|
|
1062
|
-
style:
|
|
1082
|
+
style: L(`${e.value.table.useDialog ? "" : "max-height: 300px; margin-top: 24px;"}`)
|
|
1063
1083
|
}, [
|
|
1064
1084
|
b("div", {
|
|
1065
|
-
style:
|
|
1066
|
-
class: fe({ "vue-ui-responsive":
|
|
1085
|
+
style: L(`width:100%;overflow-x:auto;position:relative;${e.value.table.useDialog ? "" : "padding-top:36px"};`),
|
|
1086
|
+
class: fe({ "vue-ui-responsive": n(Yt) })
|
|
1067
1087
|
}, [
|
|
1068
|
-
e.value.table.useDialog ? p("", !0) : (u(),
|
|
1088
|
+
e.value.table.useDialog ? p("", !0) : (u(), i("div", {
|
|
1069
1089
|
key: 0,
|
|
1070
1090
|
role: "button",
|
|
1071
1091
|
tabindex: "0",
|
|
1072
|
-
style:
|
|
1092
|
+
style: L(`width:32px; position: absolute; top: 0; left:4px; padding: 0 0px; display: flex; align-items:center;justify-content:center;height: 36px; width: 32px; cursor:pointer; background:${e.value.table.th.backgroundColor};`),
|
|
1073
1093
|
onClick: He,
|
|
1074
1094
|
onKeypress: sl(He, ["enter"])
|
|
1075
1095
|
}, [
|
|
1076
|
-
Ce(
|
|
1096
|
+
Ce(n(K), {
|
|
1077
1097
|
name: "close",
|
|
1078
1098
|
stroke: e.value.table.th.color,
|
|
1079
1099
|
"stroke-width": 2
|
|
1080
1100
|
}, null, 8, ["stroke"])
|
|
1081
1101
|
], 36)),
|
|
1082
1102
|
b("table", Kl, [
|
|
1083
|
-
e.value.table.useDialog ? p("", !0) : (u(),
|
|
1103
|
+
e.value.table.useDialog ? p("", !0) : (u(), i("caption", {
|
|
1084
1104
|
key: 0,
|
|
1085
|
-
style:
|
|
1105
|
+
style: L(`backgroundColor:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
|
|
1086
1106
|
}, [
|
|
1087
|
-
Xe(
|
|
1088
|
-
e.value.style.title.subtitle.text ? (u(),
|
|
1107
|
+
Xe($(e.value.style.title.text) + " ", 1),
|
|
1108
|
+
e.value.style.title.subtitle.text ? (u(), i("span", Jl, $(e.value.style.title.subtitle.text), 1)) : p("", !0)
|
|
1089
1109
|
], 4)),
|
|
1090
1110
|
b("thead", null, [
|
|
1091
1111
|
b("tr", {
|
|
1092
1112
|
role: "row",
|
|
1093
|
-
style:
|
|
1113
|
+
style: L(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color}`)
|
|
1094
1114
|
}, [
|
|
1095
1115
|
b("th", {
|
|
1096
|
-
style:
|
|
1116
|
+
style: L(`outline:${e.value.table.th.outline};padding-right:6px`)
|
|
1097
1117
|
}, null, 4),
|
|
1098
|
-
(u(!0),
|
|
1118
|
+
(u(!0), i(S, null, H(y.dataset, (a, o) => (u(), i("th", {
|
|
1099
1119
|
align: "right",
|
|
1100
|
-
style:
|
|
1101
|
-
},
|
|
1120
|
+
style: L(`outline:${e.value.table.th.outline};padding-right:6px`)
|
|
1121
|
+
}, $(a.name), 5))), 256))
|
|
1102
1122
|
], 4)
|
|
1103
1123
|
]),
|
|
1104
1124
|
b("tbody", null, [
|
|
1105
|
-
(u(!0),
|
|
1125
|
+
(u(!0), i(S, null, H(m.value.xLabels, (a, o) => (u(), i("tr", {
|
|
1106
1126
|
role: "row",
|
|
1107
1127
|
class: fe({ "vue-ui-data-table__tbody__row": !0, "vue-ui-data-table__tbody__row-even": o % 2 === 0, "vue-ui-data-table__tbody__row-odd": o % 2 !== 0 }),
|
|
1108
|
-
style:
|
|
1128
|
+
style: L(`background:${e.value.table.td.backgroundColor};color:${e.value.table.td.color}`)
|
|
1109
1129
|
}, [
|
|
1110
1130
|
b("td", {
|
|
1111
1131
|
"data-cell": e.value.table.colNames.xAxis,
|
|
1112
1132
|
class: "vue-ui-data-table__tbody__td",
|
|
1113
|
-
style:
|
|
1133
|
+
style: L(`outline:${e.value.table.td.outline}`)
|
|
1114
1134
|
}, [
|
|
1115
|
-
b("div", Zl,
|
|
1135
|
+
b("div", Zl, $(a), 1)
|
|
1116
1136
|
], 12, Ql),
|
|
1117
|
-
(u(!0),
|
|
1137
|
+
(u(!0), i(S, null, H(y.dataset, (v, c) => (u(), i("td", {
|
|
1118
1138
|
class: "vue-ui-data-table__tbody__td",
|
|
1119
1139
|
"data-cell": y.dataset[c].name,
|
|
1120
|
-
style:
|
|
1140
|
+
style: L(`outline:${e.value.table.td.outline}`)
|
|
1121
1141
|
}, [
|
|
1122
|
-
b("div", ta,
|
|
1142
|
+
b("div", ta, $(isNaN(v.values[o]) ? "-" : n(V)({ p: e.value.style.layout.dataLabels.prefix, v: v.values[o], s: e.value.style.layout.dataLabels.suffix, r: e.value.table.td.roundingValue })), 1)
|
|
1123
1143
|
], 12, ea))), 256))
|
|
1124
1144
|
], 6))), 256))
|
|
1125
1145
|
])
|
|
@@ -1131,20 +1151,20 @@ const zl = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
|
|
|
1131
1151
|
}, [
|
|
1132
1152
|
e.value.table.useDialog ? {
|
|
1133
1153
|
name: "title",
|
|
1134
|
-
fn:
|
|
1135
|
-
Xe(
|
|
1154
|
+
fn: k(() => [
|
|
1155
|
+
Xe($(ke.value.title), 1)
|
|
1136
1156
|
]),
|
|
1137
1157
|
key: "0"
|
|
1138
1158
|
} : void 0,
|
|
1139
1159
|
e.value.table.useDialog ? {
|
|
1140
1160
|
name: "actions",
|
|
1141
|
-
fn:
|
|
1161
|
+
fn: k(() => [
|
|
1142
1162
|
b("button", {
|
|
1143
1163
|
tabindex: "0",
|
|
1144
1164
|
class: "vue-ui-user-options-button",
|
|
1145
1165
|
onClick: s[0] || (s[0] = (a) => De(e.value.userOptions.callbacks.csv))
|
|
1146
1166
|
}, [
|
|
1147
|
-
Ce(
|
|
1167
|
+
Ce(n(K), {
|
|
1148
1168
|
name: "excel",
|
|
1149
1169
|
stroke: ke.value.props.color
|
|
1150
1170
|
}, null, 8, ["stroke"])
|
|
@@ -1153,10 +1173,10 @@ const zl = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
|
|
|
1153
1173
|
key: "1"
|
|
1154
1174
|
} : void 0
|
|
1155
1175
|
]), 1040)) : p("", !0),
|
|
1156
|
-
|
|
1176
|
+
n(be) ? (u(), ge(ml, { key: 7 })) : p("", !0)
|
|
1157
1177
|
], 46, zl));
|
|
1158
1178
|
}
|
|
1159
|
-
}, xa = /* @__PURE__ */
|
|
1179
|
+
}, xa = /* @__PURE__ */ $l(la, [["__scopeId", "data-v-4477a8c9"]]);
|
|
1160
1180
|
export {
|
|
1161
1181
|
xa as default
|
|
1162
1182
|
};
|