vue-data-ui 3.1.1 → 3.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Arrow-xQM7mBzd.js → Arrow-DBaAWGvq.js} +1 -1
- package/dist/{BaseDraggableDialog-B2BQC0-h.js → BaseDraggableDialog-BmN9jTP8.js} +2 -2
- package/dist/{BaseIcon-DLesaZpW.js → BaseIcon-BcOSijbz.js} +5 -3
- package/dist/{ColorPicker-BKvJvFtX.js → ColorPicker-D1yNPt76.js} +2 -2
- package/dist/{DataTable-BAf4Obr9.js → DataTable-Cm8Tt9PQ.js} +2 -2
- package/dist/Legend-5qvgVkrY.js +85 -0
- package/dist/{NonSvgPenAndPaper-Cq4fHmA0.js → NonSvgPenAndPaper-D3QGd7vP.js} +3 -3
- package/dist/{PackageVersion-Cv_ypT0N.js → PackageVersion-0XlRFsI_.js} +1 -1
- package/dist/{PenAndPaper-B6OvfyHH.js → PenAndPaper-CyH7Ip2i.js} +3 -3
- package/dist/{Shape-Cjca5zta.js → Shape-DiplSMFy.js} +1 -1
- package/dist/{Slicer-6w3K8gAc.js → Slicer-DG99wPTy.js} +11 -9
- package/dist/{SparkTooltip-BV4Z-NMp.js → SparkTooltip-VveQSwlw.js} +1 -1
- package/dist/Title-CqYBs02Y.js +88 -0
- package/dist/{Tooltip-BTGOEC7w.js → Tooltip-CP0tVHAf.js} +1 -1
- package/dist/{UserOptions-CsDlFB0L.js → UserOptions-ZmwlARCV.js} +125 -108
- package/dist/{dom-to-png-BOu5-Ohz.js → dom-to-png-DGA4a3xT.js} +1 -1
- package/dist/{img-gBDz7xQQ.js → img-DSrvx9J6.js} +1 -1
- package/dist/{index-BKQqb9lF.js → index-CaxArMHL.js} +97 -74
- package/dist/pdf-BG8PiGFH.js +79 -0
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +28 -3
- package/dist/types/vue-data-ui.d.ts +28 -3
- package/dist/{useAutoSizeLabelsInsideViewbox-IO2dh0Uq.js → useAutoSizeLabelsInsideViewbox-DmtFf4bt.js} +1 -1
- package/dist/{useNestedProp-aBOhgs4U.js → useNestedProp-tWT02_6S.js} +1 -1
- package/dist/{usePrinter-BzuXiubT.js → usePrinter-BYtPmEo8.js} +13 -12
- package/dist/{vue-data-ui-B6eM6hF3.js → vue-data-ui-DVb8r5z7.js} +64 -64
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-DBeWmnvH.js → vue-ui-3d-bar-BLKyWpz7.js} +371 -366
- package/dist/{vue-ui-accordion-B5QeV3BK.js → vue-ui-accordion-DUlNpLir.js} +3 -3
- package/dist/{vue-ui-age-pyramid-rZFdUsgz.js → vue-ui-age-pyramid-LLqbXP1m.js} +200 -195
- package/dist/{vue-ui-annotator-CCCuslrT.js → vue-ui-annotator-CcYIlcKF.js} +2 -2
- package/dist/{vue-ui-bullet-DhJf9mvK.js → vue-ui-bullet-BKmts_u4.js} +7 -7
- package/dist/{vue-ui-candlestick-CGVtDKqZ.js → vue-ui-candlestick-C9l_NpXu.js} +225 -220
- package/dist/{vue-ui-carousel-table-DLAR3WY8.js → vue-ui-carousel-table-H7xS6aBC.js} +4 -4
- package/dist/{vue-ui-chestnut-BXnSxoXB.js → vue-ui-chestnut-CAW0IOdY.js} +344 -340
- package/dist/{vue-ui-chord-DH_MwAKX.js → vue-ui-chord-CK5YhCqM.js} +272 -266
- package/dist/{vue-ui-circle-pack-Cx_E1R63.js → vue-ui-circle-pack-NLyZgTGF.js} +6 -6
- package/dist/{vue-ui-cursor-CEvH1qDS.js → vue-ui-cursor-CyGUrKWU.js} +2 -2
- package/dist/vue-ui-dashboard-Cf5pvEzD.js +412 -0
- package/dist/{vue-ui-digits-PTozKs3l.js → vue-ui-digits-BZWwwp7c.js} +2 -2
- package/dist/{vue-ui-donut-evolution-DD7o-CxF.js → vue-ui-donut-evolution-CaEYMVZj.js} +310 -304
- package/dist/{vue-ui-donut-CsEtKJJD.js → vue-ui-donut-g1WHrj6G.js} +348 -343
- package/dist/{vue-ui-dumbbell-DfPYl3fu.js → vue-ui-dumbbell-BArS1nXS.js} +293 -287
- package/dist/{vue-ui-flow-CSTTZHwg.js → vue-ui-flow-BR0CB5qt.js} +263 -257
- package/dist/{vue-ui-funnel-C-NUZqIo.js → vue-ui-funnel-D2OCItvq.js} +206 -200
- package/dist/{vue-ui-galaxy-BwsZnU6T.js → vue-ui-galaxy-qgGF1AAf.js} +243 -238
- package/dist/{vue-ui-gauge-D9MUneq0.js → vue-ui-gauge-BIXmGyQL.js} +7 -7
- package/dist/{vue-ui-gizmo-Dnzs9wSf.js → vue-ui-gizmo-DHEoS051.js} +3 -3
- package/dist/{vue-ui-heatmap-CYaQIhy8.js → vue-ui-heatmap-tRzq9BnI.js} +405 -401
- package/dist/{vue-ui-history-plot-DMTFzl-_.js → vue-ui-history-plot-DmwHhrDk.js} +305 -299
- package/dist/{vue-ui-kpi-CkPotdff.js → vue-ui-kpi-C2b2R5i1.js} +3 -3
- package/dist/{vue-ui-mini-loader-CCE-bDOJ.js → vue-ui-mini-loader-Bs1Mi1tD.js} +2 -2
- package/dist/{vue-ui-molecule-DaN5lroq.js → vue-ui-molecule-BsUvf2v7.js} +188 -183
- package/dist/{vue-ui-mood-radar-tM0mmZh8.js → vue-ui-mood-radar-D3JIpVvX.js} +197 -192
- package/dist/{vue-ui-nested-donuts-RB4r6beI.js → vue-ui-nested-donuts-dJEgQXTH.js} +326 -320
- package/dist/{vue-ui-onion-CxDozHg3.js → vue-ui-onion-D8dF1DdA.js} +8 -8
- package/dist/{vue-ui-parallel-coordinate-plot-CK9nNExU.js → vue-ui-parallel-coordinate-plot-LmFsg7UA.js} +401 -395
- package/dist/{vue-ui-quadrant-C7tLJYn7.js → vue-ui-quadrant-C4O8ki4N.js} +339 -334
- package/dist/{vue-ui-quick-chart-MUBAkrHb.js → vue-ui-quick-chart-6bEtTQBG.js} +6 -6
- package/dist/{vue-ui-radar-Br4K80I9.js → vue-ui-radar-CfjGWGk3.js} +248 -243
- package/dist/{vue-ui-rating-NtvT9r_M.js → vue-ui-rating-D3WSs2OD.js} +2 -2
- package/dist/{vue-ui-relation-circle-CPQjAy1g.js → vue-ui-relation-circle-DzTfi7Tf.js} +7 -7
- package/dist/{vue-ui-ridgeline-C2M_Cjlh.js → vue-ui-ridgeline-NtYOJvDy.js} +267 -263
- package/dist/{vue-ui-rings-DEru-cWN.js → vue-ui-rings-CYQ4i71V.js} +229 -224
- package/dist/{vue-ui-scatter-CJKkiKle.js → vue-ui-scatter-meJEHdAD.js} +359 -354
- package/dist/{vue-ui-skeleton--twnjS2t.js → vue-ui-skeleton-BtILTxx-.js} +3 -3
- package/dist/{vue-ui-smiley-CNccdPZ7.js → vue-ui-smiley-B5bELpYD.js} +2 -2
- package/dist/{vue-ui-spark-trend-9BFkkC0u.js → vue-ui-spark-trend-lixdWq_N.js} +3 -3
- package/dist/{vue-ui-sparkbar-RYAThoA4.js → vue-ui-sparkbar-CaGPav-J.js} +3 -3
- package/dist/{vue-ui-sparkgauge-DkPlmgMF.js → vue-ui-sparkgauge-BZBGYDjs.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-6EkCyYRF.js → vue-ui-sparkhistogram-Bp6KxpjH.js} +4 -4
- package/dist/{vue-ui-sparkline-Bl3nj8zd.js → vue-ui-sparkline-CF-EAZa6.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-B88lA7iy.js → vue-ui-sparkstackbar-Cj1LAYC8.js} +3 -3
- package/dist/{vue-ui-stackbar-Csj7NhT6.js → vue-ui-stackbar-BrzKhqAK.js} +310 -304
- package/dist/{vue-ui-strip-plot-yY9NsUUI.js → vue-ui-strip-plot-BfVVaSFn.js} +246 -240
- package/dist/{vue-ui-table-Dg6U31ex.js → vue-ui-table-CBzNgzVP.js} +3 -3
- package/dist/{vue-ui-table-heatmap-BWU7CAWP.js → vue-ui-table-heatmap-CKz5bA7N.js} +5 -5
- package/dist/{vue-ui-table-sparkline-DV4Y9aRL.js → vue-ui-table-sparkline-O-Z0YH6u.js} +4 -4
- package/dist/{vue-ui-thermometer-C3fKamV-.js → vue-ui-thermometer-DpNyTGNH.js} +7 -7
- package/dist/{vue-ui-timer-6VAK9XyF.js → vue-ui-timer-uvshaRMI.js} +5 -5
- package/dist/{vue-ui-tiremarks-BB-KAkF7.js → vue-ui-tiremarks-A8Akuz-q.js} +6 -6
- package/dist/{vue-ui-treemap-GrXkD_3Z.js → vue-ui-treemap-Dvmuo3tM.js} +262 -256
- package/dist/{vue-ui-vertical-bar-Mmz6u4aX.js → vue-ui-vertical-bar-eMgRMSKN.js} +310 -306
- package/dist/{vue-ui-waffle-DzPVRUOA.js → vue-ui-waffle-Cm8VfnG8.js} +257 -252
- package/dist/{vue-ui-wheel-idRCvS5t.js → vue-ui-wheel-Bhsklf_m.js} +6 -6
- package/dist/vue-ui-word-cloud-C9HGLsG4.js +817 -0
- package/dist/{vue-ui-world-D6s5Eph8.js → vue-ui-world-B_MrjwGJ.js} +257 -252
- package/dist/{vue-ui-xy-BKTGSvfU.js → vue-ui-xy-DnYJw2aS.js} +1448 -1438
- package/dist/{vue-ui-xy-canvas-BOQyxVRl.js → vue-ui-xy-canvas-C0Snw0Dz.js} +235 -229
- package/package.json +1 -1
- package/dist/Legend-8_V5egWW.js +0 -72
- package/dist/Title-Dz-j6ERs.js +0 -61
- package/dist/pdf-Cjsn5GEE.js +0 -61
- package/dist/vue-ui-dashboard-CvduVgEy.js +0 -325
- package/dist/vue-ui-word-cloud-B2641uNP.js +0 -811
|
@@ -1,65 +1,65 @@
|
|
|
1
|
-
import { useCssVars as
|
|
2
|
-
import { u as
|
|
3
|
-
import { t as
|
|
4
|
-
import { u as
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as
|
|
7
|
-
import { u as
|
|
8
|
-
import { u as
|
|
9
|
-
import { u as
|
|
10
|
-
import { u as
|
|
11
|
-
import { u as
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import { _ as
|
|
16
|
-
const
|
|
1
|
+
import { useCssVars as Gt, defineAsyncComponent as Q, computed as g, ref as c, shallowRef as Wt, toRefs as jt, watch as we, onBeforeUnmount as vt, onMounted as qt, watchEffect as Pe, reactive as ct, nextTick as dt, createElementBlock as n, openBlock as u, normalizeStyle as w, normalizeClass as ce, createBlock as de, createCommentVNode as h, createElementVNode as f, createVNode as ke, unref as i, createSlots as yt, withCtx as S, renderSlot as L, normalizeProps as Z, guardReactiveProps as ee, Fragment as C, renderList as F, withDirectives as ht, createTextVNode as Xe, toDisplayString as T, vShow as Kt, resolveDynamicComponent as Jt, mergeProps as Qt, withKeys as Zt } from "vue";
|
|
2
|
+
import { u as el, c as Ie, t as tl, b as ll, C as al, o as ft, f as pt, P as ye, g as ol, X as sl, F as Ae, k as B, i as H, h as E, v as ul, w as il, y as nl, z as rl } from "./index-CaxArMHL.js";
|
|
3
|
+
import { t as Ce, u as vl } from "./useResponsive-DfdjqQps.js";
|
|
4
|
+
import { u as cl } from "./usePrinter-BYtPmEo8.js";
|
|
5
|
+
import { u as dl, B as yl } from "./BaseScanner-BgWxam9d.js";
|
|
6
|
+
import { u as gt } from "./useNestedProp-tWT02_6S.js";
|
|
7
|
+
import { u as bt } from "./useTimeLabels-BGFjWgrv.js";
|
|
8
|
+
import { u as hl } from "./useTableResponsive-Cbx-ACcP.js";
|
|
9
|
+
import { u as fl } from "./useUserOptionState-BIvW1Kz7.js";
|
|
10
|
+
import { u as mt } from "./useTimeLabelCollider-CIsgDrl9.js";
|
|
11
|
+
import { u as pl } from "./useChartAccessibility-9icAAmYg.js";
|
|
12
|
+
import gl from "./img-DSrvx9J6.js";
|
|
13
|
+
import bl from "./Title-CqYBs02Y.js";
|
|
14
|
+
import ml from "./vue-ui-accordion-DUlNpLir.js";
|
|
15
|
+
import { _ as xl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
16
|
+
const wl = {
|
|
17
17
|
mounted(b, P) {
|
|
18
|
-
|
|
18
|
+
xt(b, P.value);
|
|
19
19
|
},
|
|
20
20
|
updated(b, P) {
|
|
21
|
-
|
|
21
|
+
xt(b, P.value);
|
|
22
22
|
}
|
|
23
23
|
};
|
|
24
|
-
function
|
|
24
|
+
function xt(b, {
|
|
25
25
|
cellWidth: P,
|
|
26
|
-
cellHeight:
|
|
26
|
+
cellHeight: he,
|
|
27
27
|
maxFontSize: W,
|
|
28
|
-
minFontSize:
|
|
29
|
-
index:
|
|
30
|
-
reportRotation:
|
|
28
|
+
minFontSize: te,
|
|
29
|
+
index: $,
|
|
30
|
+
reportRotation: le,
|
|
31
31
|
reportHide: X,
|
|
32
|
-
rotateAll:
|
|
33
|
-
hideAll:
|
|
32
|
+
rotateAll: Le,
|
|
33
|
+
hideAll: Te
|
|
34
34
|
}) {
|
|
35
35
|
b.removeAttribute("transform"), b.removeAttribute("visibility");
|
|
36
|
-
let k = !1,
|
|
36
|
+
let k = !1, fe = !1;
|
|
37
37
|
b.setAttribute("font-size", W);
|
|
38
38
|
const j = b.getComputedTextLength();
|
|
39
39
|
if (j <= P)
|
|
40
|
-
|
|
40
|
+
le($, !1), X($, !1);
|
|
41
41
|
else {
|
|
42
42
|
const M = Math.floor(W * P / j);
|
|
43
|
-
M >=
|
|
43
|
+
M >= te ? (b.setAttribute("font-size", M), le($, !1), X($, !1)) : (le($, !0), X($, !1), k = !0);
|
|
44
44
|
}
|
|
45
|
-
if (
|
|
45
|
+
if (Le && (k = !0), k) {
|
|
46
46
|
b.setAttribute("font-size", W);
|
|
47
|
-
const M = b.getBBox(), O = M.x + M.width / 2,
|
|
48
|
-
b.setAttribute("transform", `rotate(-90 ${O} ${
|
|
47
|
+
const M = b.getBBox(), O = M.x + M.width / 2, ae = M.y + M.height / 2;
|
|
48
|
+
b.setAttribute("transform", `rotate(-90 ${O} ${ae})`);
|
|
49
49
|
const q = b.getBBox().width;
|
|
50
|
-
if (q <=
|
|
51
|
-
X(
|
|
50
|
+
if (q <= he)
|
|
51
|
+
X($, !1);
|
|
52
52
|
else {
|
|
53
|
-
const
|
|
54
|
-
|
|
53
|
+
const oe = Math.floor(W * he / q);
|
|
54
|
+
oe >= te ? (b.setAttribute("font-size", oe), X($, !1)) : (fe = !0, X($, !0));
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
|
-
(
|
|
57
|
+
(Te || fe) && b.setAttribute("visibility", "hidden");
|
|
58
58
|
}
|
|
59
|
-
const
|
|
59
|
+
const kl = ["id"], Al = ["xmlns", "viewBox"], Cl = ["x", "y", "width", "height"], Ll = ["x", "y", "height", "width", "fill", "stroke", "stroke-width"], Tl = ["x", "y", "height", "width", "fill", "stroke", "stroke-width"], _l = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], Sl = ["x", "y", "width", "height", "fill", "stroke", "stroke-width", "onMouseover", "onMouseout", "onClick"], zl = ["font-size", "font-weight", "fill", "x", "y"], $l = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], Ml = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], Ol = ["font-size", "fill", "x", "y", "font-weight"], Rl = ["font-size", "fill", "x", "y", "font-weight"], Fl = ["text-anchor", "font-size", "fill", "font-weight", "transform"], Dl = ["text-anchor", "font-size", "fill", "font-weight", "transform"], Nl = { key: 6 }, Hl = ["x", "y", "width", "height", "stroke", "stroke-width"], Pl = { class: "vue-ui-heatmap-legend-gauge-right" }, Xl = ["data-value"], Il = { class: "vue-ui-heatmap-gauge-indicator-value" }, Vl = {
|
|
60
60
|
key: 4,
|
|
61
61
|
class: "vue-data-ui-watermark"
|
|
62
|
-
},
|
|
62
|
+
}, Bl = { class: "vue-ui-data-table" }, El = { key: 0 }, Ul = ["data-cell"], Yl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Gl = ["data-cell"], Wl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, jl = {
|
|
63
63
|
__name: "vue-ui-heatmap",
|
|
64
64
|
props: {
|
|
65
65
|
config: {
|
|
@@ -76,37 +76,37 @@ const wl = ["id"], kl = ["xmlns", "viewBox"], Al = ["x", "y", "width", "height"]
|
|
|
76
76
|
}
|
|
77
77
|
},
|
|
78
78
|
emits: ["selectDatapoint"],
|
|
79
|
-
setup(b, { expose: P, emit:
|
|
80
|
-
|
|
81
|
-
"
|
|
79
|
+
setup(b, { expose: P, emit: he }) {
|
|
80
|
+
Gt((t) => ({
|
|
81
|
+
"3df99572": t.tdo
|
|
82
82
|
}));
|
|
83
|
-
const W =
|
|
83
|
+
const W = Q(() => import("./Tooltip-CP0tVHAf.js")), te = Q(() => import("./BaseIcon-BcOSijbz.js")), $ = Q(() => import("./PenAndPaper-CyH7Ip2i.js")), le = Q(() => import("./UserOptions-ZmwlARCV.js")), X = Q(() => import("./PackageVersion-0XlRFsI_.js")), Le = Q(() => import("./BaseDraggableDialog-BmN9jTP8.js")), { vue_ui_heatmap: Te } = el(), k = b, fe = he, j = g({
|
|
84
84
|
get() {
|
|
85
85
|
return !!k.dataset && k.dataset.length;
|
|
86
86
|
},
|
|
87
87
|
set(t) {
|
|
88
88
|
return t;
|
|
89
89
|
}
|
|
90
|
-
}), M = c(
|
|
91
|
-
function
|
|
92
|
-
const t = Array(7).fill("_"),
|
|
90
|
+
}), M = c(Ie()), O = c(null), ae = c(!1), q = c(""), oe = c(void 0), se = c(null), Ve = c(0), Be = c(null), Ee = c(0), wt = c(null), ue = c(null), _e = c(null), Ue = c(null), Ye = c(null), kt = c(null), Ge = c(null), At = c(null), Se = c(null), ze = c(null), Ct = c(null), We = c(null), K = Wt(null), e = c(Oe());
|
|
91
|
+
function Lt() {
|
|
92
|
+
const t = Array(7).fill("_"), o = [], a = 14, s = t.length;
|
|
93
93
|
for (let d = 0; d < s; d += 1) {
|
|
94
94
|
const v = [];
|
|
95
|
-
for (let x = 0; x <
|
|
95
|
+
for (let x = 0; x < a; x += 1)
|
|
96
96
|
v.push(d + x * 2);
|
|
97
|
-
|
|
97
|
+
o.push({
|
|
98
98
|
name: `${t[d]}`,
|
|
99
99
|
values: v
|
|
100
100
|
});
|
|
101
101
|
}
|
|
102
|
-
return
|
|
102
|
+
return o;
|
|
103
103
|
}
|
|
104
|
-
const { loading:
|
|
105
|
-
...
|
|
104
|
+
const { loading: pe, FINAL_DATASET: m, manualLoading: $e } = dl({
|
|
105
|
+
...jt(k),
|
|
106
106
|
FINAL_CONFIG: e,
|
|
107
|
-
prepareConfig:
|
|
108
|
-
skeletonDataset:
|
|
109
|
-
skeletonConfig:
|
|
107
|
+
prepareConfig: Oe,
|
|
108
|
+
skeletonDataset: Lt(),
|
|
109
|
+
skeletonConfig: tl({
|
|
110
110
|
defaultConfig: e.value,
|
|
111
111
|
userConfig: {
|
|
112
112
|
table: { show: !1 },
|
|
@@ -131,156 +131,156 @@ const wl = ["id"], kl = ["xmlns", "viewBox"], Al = ["x", "y", "width", "height"]
|
|
|
131
131
|
}
|
|
132
132
|
}
|
|
133
133
|
})
|
|
134
|
-
}), { userOptionsVisible:
|
|
135
|
-
function
|
|
136
|
-
|
|
134
|
+
}), { userOptionsVisible: Me, setUserOptionsVisibility: Tt, keepUserOptionState: je } = fl({ config: e.value }), { svgRef: qe } = pl({ config: e.value.style.title });
|
|
135
|
+
function Ke(t) {
|
|
136
|
+
Tt(t);
|
|
137
137
|
}
|
|
138
|
-
function
|
|
139
|
-
const t =
|
|
138
|
+
function Oe() {
|
|
139
|
+
const t = gt({
|
|
140
140
|
userConfig: k.config,
|
|
141
|
-
defaultConfig:
|
|
141
|
+
defaultConfig: Te
|
|
142
142
|
});
|
|
143
|
-
let
|
|
144
|
-
return t.theme ?
|
|
145
|
-
...
|
|
146
|
-
userConfig:
|
|
143
|
+
let o = {};
|
|
144
|
+
return t.theme ? o = {
|
|
145
|
+
...gt({
|
|
146
|
+
userConfig: ll.vue_ui_heatmap[t.theme] || k.config,
|
|
147
147
|
defaultConfig: t
|
|
148
148
|
})
|
|
149
|
-
} :
|
|
149
|
+
} : o = t, k.config && al(k.config, "style.layout.dataLabels.xAxis.showOnlyAtModulo") ? o.style.layout.dataLabels.xAxis.showOnlyAtModulo = k.config.style.layout.dataLabels.xAxis.showOnlyAtModulo : o.style.layout.dataLabels.xAxis.showOnlyAtModulo = null, o;
|
|
150
150
|
}
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
}, { deep: !0 }),
|
|
154
|
-
Array.isArray(t) && t.length > 0 && ($e.value = !1),
|
|
151
|
+
we(() => k.config, (t) => {
|
|
152
|
+
pe.value || (e.value = Oe()), Me.value = !e.value.userOptions.showOnChartHover, Re(), Ee.value += 1, z.value.showTable = e.value.table.show, z.value.showTooltip = e.value.style.tooltip.show, ie.value = e.value.style.layout.width, ne.value = e.value.style.layout.height;
|
|
153
|
+
}, { deep: !0 }), we(() => k.dataset, (t) => {
|
|
154
|
+
Array.isArray(t) && t.length > 0 && ($e.value = !1), Re();
|
|
155
155
|
}, { deep: !0 });
|
|
156
|
-
const { isPrinting:
|
|
156
|
+
const { isPrinting: Je, isImaging: Qe, generatePdf: Ze, generateImage: et } = cl({
|
|
157
157
|
elementId: `heatmap__${M.value}`,
|
|
158
158
|
fileName: e.value.style.title.text || "vue-ui-heatmap",
|
|
159
159
|
options: e.value.userOptions.print
|
|
160
|
-
}),
|
|
160
|
+
}), _t = g(() => e.value.userOptions.show && !e.value.style.title.text), z = c({
|
|
161
161
|
showTable: e.value.table.show,
|
|
162
162
|
showTooltip: e.value.style.tooltip.show
|
|
163
163
|
});
|
|
164
|
-
|
|
165
|
-
|
|
164
|
+
we(e, () => {
|
|
165
|
+
z.value = {
|
|
166
166
|
showTable: e.value.table.show,
|
|
167
167
|
showTooltip: e.value.style.tooltip.show
|
|
168
168
|
};
|
|
169
169
|
}, { immediate: !0 });
|
|
170
|
-
const
|
|
171
|
-
function
|
|
172
|
-
if (
|
|
170
|
+
const St = g(() => e.value.table.responsiveBreakpoint), I = c(null), tt = g(() => !!e.value.debug);
|
|
171
|
+
function Re() {
|
|
172
|
+
if (ft(k.dataset) && (pt({
|
|
173
173
|
componentName: "VueUiHeatmap",
|
|
174
174
|
type: "dataset",
|
|
175
|
-
debug:
|
|
176
|
-
}), j.value = !1, $e.value = !0),
|
|
177
|
-
const t =
|
|
178
|
-
const { width:
|
|
175
|
+
debug: tt.value
|
|
176
|
+
}), j.value = !1, $e.value = !0), ft(k.dataset) || ($e.value = e.value.loading), e.value.responsive) {
|
|
177
|
+
const t = Ce(() => {
|
|
178
|
+
const { width: o, height: a } = vl({
|
|
179
179
|
chart: O.value,
|
|
180
|
-
title: e.value.style.title.text ?
|
|
180
|
+
title: e.value.style.title.text ? Ue.value : null,
|
|
181
181
|
// add legend hirizontal in legend attr
|
|
182
182
|
// add legend vertical in some other attr and modify composable to subtract width
|
|
183
|
-
source:
|
|
184
|
-
noTitle:
|
|
183
|
+
source: We.value,
|
|
184
|
+
noTitle: Ye.value
|
|
185
185
|
});
|
|
186
186
|
requestAnimationFrame(() => {
|
|
187
|
-
|
|
187
|
+
ie.value = o, ne.value = a;
|
|
188
188
|
});
|
|
189
189
|
});
|
|
190
|
-
I.value && (
|
|
190
|
+
I.value && (K.value && I.value.unobserve(K.value), I.value.disconnect()), I.value = new ResizeObserver(t), K.value = O.value.parentNode, I.value.observe(K.value);
|
|
191
191
|
}
|
|
192
192
|
}
|
|
193
|
-
|
|
194
|
-
I.value && (
|
|
195
|
-
}),
|
|
196
|
-
|
|
193
|
+
vt(() => {
|
|
194
|
+
I.value && (K.value && I.value.unobserve(K.value), I.value.disconnect());
|
|
195
|
+
}), qt(() => {
|
|
196
|
+
Re();
|
|
197
197
|
});
|
|
198
|
-
const
|
|
199
|
-
width: Math.max(10,
|
|
200
|
-
height: Math.max(10,
|
|
201
|
-
})),
|
|
202
|
-
|
|
198
|
+
const D = g(() => Math.max(...m.value.flatMap((t) => (t.values || []).length))), ie = c(e.value.style.layout.width), ne = c(e.value.style.layout.height), _ = g(() => ({
|
|
199
|
+
width: Math.max(10, ie.value),
|
|
200
|
+
height: Math.max(10, ne.value)
|
|
201
|
+
})), re = c(0), zt = Ce((t) => {
|
|
202
|
+
re.value = t;
|
|
203
203
|
}, 100);
|
|
204
|
-
|
|
205
|
-
const
|
|
206
|
-
if (!
|
|
207
|
-
const
|
|
208
|
-
|
|
204
|
+
Pe((t) => {
|
|
205
|
+
const o = Se.value;
|
|
206
|
+
if (!o) return;
|
|
207
|
+
const a = new ResizeObserver((s) => {
|
|
208
|
+
zt(s[0].contentRect.height);
|
|
209
209
|
});
|
|
210
|
-
|
|
210
|
+
a.observe(o), t(() => a.disconnect());
|
|
211
211
|
});
|
|
212
|
-
const
|
|
213
|
-
|
|
212
|
+
const J = c(0), $t = Ce((t) => {
|
|
213
|
+
J.value = t;
|
|
214
214
|
}, 100);
|
|
215
|
-
|
|
216
|
-
const
|
|
217
|
-
if (!
|
|
218
|
-
const
|
|
215
|
+
Pe((t) => {
|
|
216
|
+
const o = Ge.value;
|
|
217
|
+
if (!o) return;
|
|
218
|
+
const a = new ResizeObserver((s) => {
|
|
219
219
|
$t(s[0].contentRect.width);
|
|
220
220
|
});
|
|
221
|
-
|
|
221
|
+
a.observe(o), t(() => a.disconnect());
|
|
222
222
|
});
|
|
223
|
-
const
|
|
224
|
-
|
|
223
|
+
const ge = c(0), Mt = Ce((t) => {
|
|
224
|
+
ge.value = t;
|
|
225
225
|
}, 100);
|
|
226
|
-
|
|
227
|
-
const
|
|
228
|
-
if (!
|
|
229
|
-
const
|
|
230
|
-
|
|
226
|
+
Pe((t) => {
|
|
227
|
+
const o = ze.value;
|
|
228
|
+
if (!o) return;
|
|
229
|
+
const a = new ResizeObserver((s) => {
|
|
230
|
+
Mt(s[0].contentRect.height);
|
|
231
231
|
});
|
|
232
|
-
|
|
233
|
-
}),
|
|
234
|
-
|
|
232
|
+
a.observe(o), t(() => a.disconnect());
|
|
233
|
+
}), vt(() => {
|
|
234
|
+
re.value = 0, J.value = 0, ge.value = 0;
|
|
235
235
|
});
|
|
236
|
-
const r = g(() => Math.min(
|
|
236
|
+
const r = g(() => Math.min(_.value.height, _.value.width) / 1e3 * e.value.style.layout.cells.spacing), l = g(() => {
|
|
237
237
|
let t = 0;
|
|
238
238
|
e.value.style.legend.show && (t = e.value.style.legend.width);
|
|
239
|
-
const
|
|
240
|
-
x: r.value *
|
|
239
|
+
const o = e.value.style.layout.padding, a = e.value.style.layout.dataLabels.xAxis.fontSize / 3, s = e.value.style.layout.dataLabels.xAxis.fontSize / 2, d = _.value.height - o.top - o.bottom - re.value - a, v = _.value.width / 60, x = {
|
|
240
|
+
x: r.value * D.value,
|
|
241
241
|
y: r.value * ((m.value || []).length + 1)
|
|
242
|
-
},
|
|
243
|
-
width: Math.max(3,
|
|
242
|
+
}, N = _.value.width - o.left - o.right - x.x - v * 2 - 2 - t - J.value, y = d - v - x.y - ge.value - s - e.value.style.layout.cells.columnTotal.value.offsetY, A = {
|
|
243
|
+
width: Math.max(3, N / D.value),
|
|
244
244
|
height: Math.max(3, y / (m.value.length ?? 1))
|
|
245
245
|
};
|
|
246
246
|
return {
|
|
247
|
-
top:
|
|
248
|
-
topLabelsHeight:
|
|
247
|
+
top: o.top + re.value + v + a,
|
|
248
|
+
topLabelsHeight: re.value,
|
|
249
249
|
sumCellXHeight: v,
|
|
250
250
|
height: y,
|
|
251
|
-
left:
|
|
252
|
-
right:
|
|
253
|
-
bottom:
|
|
254
|
-
width:
|
|
251
|
+
left: o.left + J.value + v / 2,
|
|
252
|
+
right: o.right - t,
|
|
253
|
+
bottom: _.value.height - o.bottom - ge.value,
|
|
254
|
+
width: N,
|
|
255
255
|
cellSize: A
|
|
256
256
|
};
|
|
257
|
-
}), V = g(() => Math.max(...m.value.flatMap((t) => t.values))),
|
|
258
|
-
const t = m.value.flatMap((
|
|
259
|
-
return t.reduce((
|
|
260
|
-
}),
|
|
257
|
+
}), V = g(() => Math.max(...m.value.flatMap((t) => t.values))), ve = g(() => Math.min(...m.value.flatMap((t) => t.values))), U = g(() => {
|
|
258
|
+
const t = m.value.flatMap((a) => a.values);
|
|
259
|
+
return t.reduce((a, s) => a + s, 0) / t.length;
|
|
260
|
+
}), Ot = g(() => bt({
|
|
261
261
|
values: e.value.style.layout.dataLabels.yAxis.values.length ? e.value.style.layout.dataLabels.yAxis.values : m.value.map((t) => t.name),
|
|
262
262
|
maxDatapoints: m.value.length,
|
|
263
263
|
formatter: e.value.style.layout.dataLabels.yAxis.datetimeFormatter,
|
|
264
264
|
start: 0,
|
|
265
265
|
end: m.value.length
|
|
266
|
-
})),
|
|
266
|
+
})), Rt = g(() => bt({
|
|
267
267
|
values: e.value.style.layout.dataLabels.xAxis.values,
|
|
268
|
-
maxDatapoints:
|
|
268
|
+
maxDatapoints: D.value,
|
|
269
269
|
formatter: e.value.style.layout.dataLabels.xAxis.datetimeFormatter,
|
|
270
270
|
start: 0,
|
|
271
|
-
end:
|
|
271
|
+
end: D.value
|
|
272
272
|
})), p = g(() => {
|
|
273
|
-
const t =
|
|
274
|
-
for (let y = 0; y <
|
|
275
|
-
v.push(m.value.map((A) => A.values[y] || 0).reduce((A,
|
|
276
|
-
const x = Math.max(...v),
|
|
273
|
+
const t = Ot.value.map((y) => y.text), o = Rt.value.map((y) => y.text), a = m.value.map((y) => y.values.reduce((A, He) => A + He, 0)), s = Math.max(...a), d = Math.min(...a), v = [];
|
|
274
|
+
for (let y = 0; y < D.value; y += 1)
|
|
275
|
+
v.push(m.value.map((A) => A.values[y] || 0).reduce((A, He) => A + He, 0));
|
|
276
|
+
const x = Math.max(...v), N = Math.min(...v);
|
|
277
277
|
return {
|
|
278
|
-
yTotals:
|
|
278
|
+
yTotals: a.map((y) => {
|
|
279
279
|
const A = isNaN(y / s) ? 0 : y / s;
|
|
280
280
|
return {
|
|
281
281
|
total: y,
|
|
282
282
|
proportion: A,
|
|
283
|
-
color:
|
|
283
|
+
color: ye(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, d, s, y)
|
|
284
284
|
};
|
|
285
285
|
}),
|
|
286
286
|
xTotals: v.map((y) => {
|
|
@@ -288,75 +288,75 @@ const wl = ["id"], kl = ["xmlns", "viewBox"], Al = ["x", "y", "width", "height"]
|
|
|
288
288
|
return {
|
|
289
289
|
total: y,
|
|
290
290
|
proportion: A,
|
|
291
|
-
color:
|
|
291
|
+
color: ye(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, N, x, y)
|
|
292
292
|
};
|
|
293
293
|
}),
|
|
294
294
|
yLabels: t,
|
|
295
|
-
xLabels:
|
|
295
|
+
xLabels: o.slice(0, D.value)
|
|
296
296
|
};
|
|
297
|
-
}), Y = g(() => (m.value.forEach((t,
|
|
298
|
-
|
|
297
|
+
}), Y = g(() => (m.value.forEach((t, o) => {
|
|
298
|
+
ol({
|
|
299
299
|
datasetObject: t,
|
|
300
300
|
requiredAttributes: ["values"]
|
|
301
|
-
}).forEach((
|
|
302
|
-
|
|
301
|
+
}).forEach((a) => {
|
|
302
|
+
pt({
|
|
303
303
|
componentName: "VueUiHeatmap",
|
|
304
304
|
type: "datasetSerieAttribute",
|
|
305
305
|
property: "values",
|
|
306
|
-
index:
|
|
307
|
-
debug:
|
|
306
|
+
index: o,
|
|
307
|
+
debug: tt.value
|
|
308
308
|
});
|
|
309
309
|
});
|
|
310
|
-
}), m.value.map((t,
|
|
310
|
+
}), m.value.map((t, o) => ({
|
|
311
311
|
...t,
|
|
312
|
-
temperatures: (t.values || []).map((
|
|
312
|
+
temperatures: (t.values || []).map((a, s) => a >= U.value ? {
|
|
313
313
|
side: "up",
|
|
314
|
-
color:
|
|
315
|
-
ratio: Math.abs(Math.abs(
|
|
316
|
-
value:
|
|
317
|
-
yAxisName: p.value.yLabels[
|
|
314
|
+
color: ye(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, ve.value, V.value, a),
|
|
315
|
+
ratio: Math.abs(Math.abs(a - U.value) / Math.abs(V.value - U.value)) > 1 ? 1 : Math.abs(Math.abs(a - U.value) / Math.abs(V.value - U.value)),
|
|
316
|
+
value: a,
|
|
317
|
+
yAxisName: p.value.yLabels[o],
|
|
318
318
|
xAxisName: p.value.xLabels[s],
|
|
319
|
-
id: `vue-data-ui-heatmap-cell-${
|
|
319
|
+
id: `vue-data-ui-heatmap-cell-${Ie()}`
|
|
320
320
|
} : {
|
|
321
321
|
side: "down",
|
|
322
|
-
ratio: Math.abs(1 - Math.abs(
|
|
323
|
-
color:
|
|
324
|
-
value:
|
|
325
|
-
yAxisName: p.value.yLabels[
|
|
322
|
+
ratio: Math.abs(1 - Math.abs(a) / Math.abs(U.value)) > 1 ? 1 : Math.abs(1 - Math.abs(a) / Math.abs(U.value)),
|
|
323
|
+
color: ye(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, ve.value, V.value, a),
|
|
324
|
+
value: a,
|
|
325
|
+
yAxisName: p.value.yLabels[o],
|
|
326
326
|
xAxisName: p.value.xLabels[s],
|
|
327
|
-
id: `vue-data-ui-heatmap-cell-${
|
|
327
|
+
id: `vue-data-ui-heatmap-cell-${Ie()}`
|
|
328
328
|
})
|
|
329
|
-
})))),
|
|
330
|
-
function
|
|
331
|
-
|
|
329
|
+
})))), lt = g(() => m.value.length), at = ct(Array(lt.value * D.value || 1).fill(!1)), Ft = g(() => at.some((t) => t));
|
|
330
|
+
function Dt(t, o) {
|
|
331
|
+
at[t] = o;
|
|
332
332
|
}
|
|
333
|
-
const
|
|
334
|
-
function
|
|
335
|
-
|
|
333
|
+
const ot = ct(Array(lt.value * D.value || 1).fill(!1)), Nt = g(() => ot.some((t) => t));
|
|
334
|
+
function Ht(t, o) {
|
|
335
|
+
ot[t] = o;
|
|
336
336
|
}
|
|
337
|
-
const R = c(null),
|
|
338
|
-
function
|
|
339
|
-
e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex:
|
|
340
|
-
const { value: d, yAxisName: v, xAxisName: x, id:
|
|
341
|
-
|
|
337
|
+
const R = c(null), be = c(null);
|
|
338
|
+
function Pt(t, o, a, s) {
|
|
339
|
+
e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: o }), se.value = { x: a, y: s };
|
|
340
|
+
const { value: d, yAxisName: v, xAxisName: x, id: N } = t;
|
|
341
|
+
oe.value = N, R.value = d, be.value = {
|
|
342
342
|
datapoint: t,
|
|
343
|
-
seriesIndex:
|
|
343
|
+
seriesIndex: o,
|
|
344
344
|
series: Y.value,
|
|
345
345
|
config: e.value
|
|
346
|
-
},
|
|
346
|
+
}, ae.value = !0;
|
|
347
347
|
let y = "";
|
|
348
348
|
const A = e.value.style.tooltip.customFormat;
|
|
349
|
-
|
|
349
|
+
nl(A) && rl(() => A({
|
|
350
350
|
datapoint: t,
|
|
351
|
-
seriesIndex:
|
|
351
|
+
seriesIndex: o,
|
|
352
352
|
series: Y.value,
|
|
353
353
|
config: e.value
|
|
354
|
-
})) ?
|
|
354
|
+
})) ? q.value = A({
|
|
355
355
|
datapoint: t,
|
|
356
|
-
seriesIndex:
|
|
356
|
+
seriesIndex: o,
|
|
357
357
|
series: Y.value,
|
|
358
358
|
config: e.value
|
|
359
|
-
}) : (y += `<div>${v} ${x ? v ? ` - ${x}` : `${x}` : ""}</div>`, y += `<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:${
|
|
359
|
+
}) : (y += `<div>${v} ${x ? v ? ` - ${x}` : `${x}` : ""}</div>`, y += `<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:${ye(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, ve.value, V.value, d)}">⬤</span><span>${isNaN(d) ? "-" : B(
|
|
360
360
|
e.value.style.layout.cells.value.formatter,
|
|
361
361
|
d,
|
|
362
362
|
H({
|
|
@@ -365,13 +365,13 @@ const wl = ["id"], kl = ["xmlns", "viewBox"], Al = ["x", "y", "width", "height"]
|
|
|
365
365
|
s: e.value.style.layout.dataLabels.suffix,
|
|
366
366
|
r: e.value.style.tooltip.roundingValue
|
|
367
367
|
}),
|
|
368
|
-
{ datapoint: t, seriesIndex:
|
|
369
|
-
)}</span></div>`,
|
|
368
|
+
{ datapoint: t, seriesIndex: o }
|
|
369
|
+
)}</span></div>`, q.value = `<div style="font-size:${e.value.style.tooltip.fontSize}px">${y}</div>`);
|
|
370
370
|
}
|
|
371
|
-
function
|
|
372
|
-
e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex:
|
|
371
|
+
function Xt({ datapoint: t, seriesIndex: o }) {
|
|
372
|
+
e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: o }), ae.value = !1, oe.value = void 0, R.value = null, se.value = null;
|
|
373
373
|
}
|
|
374
|
-
function
|
|
374
|
+
function It(t) {
|
|
375
375
|
return B(
|
|
376
376
|
e.value.style.layout.cells.value.formatter,
|
|
377
377
|
p.value.yTotals[t].total,
|
|
@@ -384,7 +384,7 @@ const wl = ["id"], kl = ["xmlns", "viewBox"], Al = ["x", "y", "width", "height"]
|
|
|
384
384
|
{ datapoint: p.value.yTotals[t], rowIndex: t }
|
|
385
385
|
);
|
|
386
386
|
}
|
|
387
|
-
function
|
|
387
|
+
function Vt(t) {
|
|
388
388
|
return B(
|
|
389
389
|
e.value.style.layout.cells.value.formatter,
|
|
390
390
|
p.value.xTotals[t].total,
|
|
@@ -398,89 +398,89 @@ const wl = ["id"], kl = ["xmlns", "viewBox"], Al = ["x", "y", "width", "height"]
|
|
|
398
398
|
);
|
|
399
399
|
}
|
|
400
400
|
g(() => {
|
|
401
|
-
const t = m.value.map((
|
|
402
|
-
name:
|
|
403
|
-
})),
|
|
404
|
-
return { head: t, body:
|
|
401
|
+
const t = m.value.map((a) => ({
|
|
402
|
+
name: a.name
|
|
403
|
+
})), o = m.value.map((a) => a.values);
|
|
404
|
+
return { head: t, body: o };
|
|
405
405
|
});
|
|
406
|
-
function
|
|
407
|
-
|
|
408
|
-
const
|
|
406
|
+
function Fe(t = null) {
|
|
407
|
+
dt(() => {
|
|
408
|
+
const o = ["", ...m.value.map((v, x) => v.name)], a = [];
|
|
409
409
|
for (let v = 0; v < p.value.xLabels.length; v += 1) {
|
|
410
410
|
const x = [p.value.xLabels[v]];
|
|
411
|
-
for (let
|
|
412
|
-
x.push([m.value[
|
|
413
|
-
|
|
411
|
+
for (let N = 0; N < m.value.length; N += 1)
|
|
412
|
+
x.push([m.value[N].values[v]]);
|
|
413
|
+
a.push(x);
|
|
414
414
|
}
|
|
415
|
-
const s = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([
|
|
416
|
-
t ? t(d) :
|
|
415
|
+
const s = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([o]).concat(a), d = ul(s);
|
|
416
|
+
t ? t(d) : il({ csvContent: d, title: e.value.style.title.text || "vue-ui-heatmap" });
|
|
417
417
|
});
|
|
418
418
|
}
|
|
419
419
|
const G = c(!1);
|
|
420
|
-
function
|
|
421
|
-
G.value = t,
|
|
422
|
-
}
|
|
423
|
-
function st() {
|
|
424
|
-
L.value.showTable = !L.value.showTable;
|
|
420
|
+
function st(t) {
|
|
421
|
+
G.value = t, Ve.value += 1;
|
|
425
422
|
}
|
|
426
423
|
function ut() {
|
|
427
|
-
|
|
424
|
+
z.value.showTable = !z.value.showTable;
|
|
428
425
|
}
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
be.value = !be.value;
|
|
426
|
+
function it() {
|
|
427
|
+
z.value.showTooltip = !z.value.showTooltip;
|
|
432
428
|
}
|
|
433
|
-
|
|
434
|
-
|
|
429
|
+
const me = c(!1);
|
|
430
|
+
function De() {
|
|
431
|
+
me.value = !me.value;
|
|
435
432
|
}
|
|
436
|
-
function Bt() {
|
|
433
|
+
function Bt(t, o) {
|
|
434
|
+
e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: o }), fe("selectDatapoint", t);
|
|
435
|
+
}
|
|
436
|
+
function Et() {
|
|
437
437
|
return Y.value;
|
|
438
438
|
}
|
|
439
|
-
async function
|
|
439
|
+
async function Ut({ scale: t = 2 } = {}) {
|
|
440
440
|
if (!O.value) return;
|
|
441
|
-
const { width:
|
|
441
|
+
const { width: o, height: a } = O.value.getBoundingClientRect(), s = o / a, { imageUri: d, base64: v } = await gl({ domElement: O.value, base64: !0, img: !0, scale: t });
|
|
442
442
|
return {
|
|
443
443
|
imageUri: d,
|
|
444
444
|
base64: v,
|
|
445
445
|
title: e.value.style.title.text,
|
|
446
|
-
width:
|
|
447
|
-
height:
|
|
446
|
+
width: o,
|
|
447
|
+
height: a,
|
|
448
448
|
aspectRatio: s
|
|
449
449
|
};
|
|
450
450
|
}
|
|
451
|
-
const
|
|
451
|
+
const nt = g(() => ({
|
|
452
452
|
start: 0,
|
|
453
|
-
end:
|
|
454
|
-
})),
|
|
455
|
-
|
|
456
|
-
timeLabelsEls:
|
|
457
|
-
timeLabels:
|
|
458
|
-
slicer:
|
|
453
|
+
end: D.value
|
|
454
|
+
})), rt = g(() => p.value.xLabels);
|
|
455
|
+
mt({
|
|
456
|
+
timeLabelsEls: Se,
|
|
457
|
+
timeLabels: rt,
|
|
458
|
+
slicer: nt,
|
|
459
459
|
configRef: e,
|
|
460
460
|
rotationPath: ["style", "layout", "dataLabels", "xAxis", "rotation"],
|
|
461
461
|
autoRotatePath: ["style", "layout", "dataLabels", "xAxis", "autoRotate", "enable"],
|
|
462
462
|
isAutoSize: !1,
|
|
463
463
|
targetClass: ".vue-ui-heatmap-col-name",
|
|
464
464
|
rotation: e.value.style.layout.dataLabels.xAxis.autoRotate.angle,
|
|
465
|
-
width:
|
|
466
|
-
height:
|
|
467
|
-
}),
|
|
468
|
-
timeLabelsEls:
|
|
469
|
-
timeLabels:
|
|
470
|
-
slicer:
|
|
465
|
+
width: ie,
|
|
466
|
+
height: ne
|
|
467
|
+
}), mt({
|
|
468
|
+
timeLabelsEls: ze,
|
|
469
|
+
timeLabels: rt,
|
|
470
|
+
slicer: nt,
|
|
471
471
|
configRef: e,
|
|
472
472
|
rotationPath: ["style", "layout", "cells", "columnTotal", "value", "rotation"],
|
|
473
473
|
autoRotatePath: ["style", "layout", "cells", "columnTotal", "value", "autoRotate", "enable"],
|
|
474
474
|
isAutoSize: !1,
|
|
475
475
|
targetClass: ".vue-ui-heatmap-col-total",
|
|
476
476
|
rotation: e.value.style.layout.cells.columnTotal.value.autoRotate.angle,
|
|
477
|
-
width:
|
|
478
|
-
height:
|
|
477
|
+
width: ie,
|
|
478
|
+
height: ne
|
|
479
479
|
});
|
|
480
|
-
const
|
|
481
|
-
const t = e.value.table.useDialog && !e.value.table.show,
|
|
480
|
+
const xe = g(() => {
|
|
481
|
+
const t = e.value.table.useDialog && !e.value.table.show, o = z.value.showTable;
|
|
482
482
|
return {
|
|
483
|
-
component: t ?
|
|
483
|
+
component: t ? Le : ml,
|
|
484
484
|
title: `${e.value.style.title.text}${e.value.style.title.subtitle.text ? `: ${e.value.style.title.subtitle.text}` : ""}`,
|
|
485
485
|
props: t ? {
|
|
486
486
|
backgroundColor: e.value.table.th.backgroundColor,
|
|
@@ -493,7 +493,7 @@ const wl = ["id"], kl = ["xmlns", "viewBox"], Al = ["x", "y", "width", "height"]
|
|
|
493
493
|
} : {
|
|
494
494
|
hideDetails: !0,
|
|
495
495
|
config: {
|
|
496
|
-
open:
|
|
496
|
+
open: o,
|
|
497
497
|
maxHeight: 1e4,
|
|
498
498
|
body: {
|
|
499
499
|
backgroundColor: e.value.style.backgroundColor,
|
|
@@ -507,52 +507,55 @@ const wl = ["id"], kl = ["xmlns", "viewBox"], Al = ["x", "y", "width", "height"]
|
|
|
507
507
|
}
|
|
508
508
|
};
|
|
509
509
|
});
|
|
510
|
-
|
|
511
|
-
e.value.table.show || (t && e.value.table.useDialog &&
|
|
510
|
+
we(() => z.value.showTable, async (t) => {
|
|
511
|
+
e.value.table.show || (t && e.value.table.useDialog && ue.value ? (await dt(), ue.value.open()) : "close" in ue.value && ue.value.close());
|
|
512
512
|
});
|
|
513
|
-
const { isResponsive:
|
|
513
|
+
const { isResponsive: Yt } = hl(Be, St);
|
|
514
|
+
function Ne() {
|
|
515
|
+
z.value.showTable = !1, _e.value && _e.value.setTableIconState(!1);
|
|
516
|
+
}
|
|
514
517
|
return P({
|
|
515
|
-
getData:
|
|
516
|
-
getImage:
|
|
517
|
-
generatePdf:
|
|
518
|
-
generateCsv:
|
|
519
|
-
generateImage:
|
|
520
|
-
toggleTable:
|
|
521
|
-
toggleTooltip:
|
|
522
|
-
toggleAnnotator:
|
|
523
|
-
toggleFullscreen:
|
|
524
|
-
}), (t,
|
|
518
|
+
getData: Et,
|
|
519
|
+
getImage: Ut,
|
|
520
|
+
generatePdf: Ze,
|
|
521
|
+
generateCsv: Fe,
|
|
522
|
+
generateImage: et,
|
|
523
|
+
toggleTable: ut,
|
|
524
|
+
toggleTooltip: it,
|
|
525
|
+
toggleAnnotator: De,
|
|
526
|
+
toggleFullscreen: st
|
|
527
|
+
}), (t, o) => (u(), n("div", {
|
|
525
528
|
ref_key: "heatmapChart",
|
|
526
529
|
ref: O,
|
|
527
|
-
class:
|
|
530
|
+
class: ce(`vue-ui-heatmap ${G.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
528
531
|
style: w(`font-family:${e.value.style.fontFamily};width:100%;${e.value.responsive ? "height: 100%;" : ""} text-align:center;background:${e.value.style.backgroundColor}`),
|
|
529
532
|
id: `heatmap__${M.value}`,
|
|
530
|
-
onMouseenter:
|
|
531
|
-
onMouseleave:
|
|
533
|
+
onMouseenter: o[1] || (o[1] = () => Ke(!0)),
|
|
534
|
+
onMouseleave: o[2] || (o[2] = () => Ke(!1))
|
|
532
535
|
}, [
|
|
533
|
-
e.value.userOptions.buttons.annotator ? (u(),
|
|
536
|
+
e.value.userOptions.buttons.annotator ? (u(), de(i($), {
|
|
534
537
|
key: 0,
|
|
535
|
-
svgRef: i(
|
|
538
|
+
svgRef: i(qe),
|
|
536
539
|
backgroundColor: e.value.style.backgroundColor,
|
|
537
540
|
color: e.value.style.color,
|
|
538
|
-
active:
|
|
539
|
-
onClose:
|
|
541
|
+
active: me.value,
|
|
542
|
+
onClose: De
|
|
540
543
|
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : h("", !0),
|
|
541
|
-
|
|
544
|
+
_t.value ? (u(), n("div", {
|
|
542
545
|
key: 1,
|
|
543
546
|
ref_key: "noTitle",
|
|
544
|
-
ref:
|
|
547
|
+
ref: Ye,
|
|
545
548
|
class: "vue-data-ui-no-title-space",
|
|
546
549
|
style: "height:36px; width: 100%;background:transparent"
|
|
547
550
|
}, null, 512)) : h("", !0),
|
|
548
551
|
e.value.style.title.text ? (u(), n("div", {
|
|
549
552
|
key: 2,
|
|
550
553
|
ref_key: "chartTitle",
|
|
551
|
-
ref:
|
|
554
|
+
ref: Ue,
|
|
552
555
|
style: "width:100%;background:transparent"
|
|
553
556
|
}, [
|
|
554
|
-
(u(),
|
|
555
|
-
key: `title_${
|
|
557
|
+
(u(), de(bl, {
|
|
558
|
+
key: `title_${Ee.value}`,
|
|
556
559
|
config: {
|
|
557
560
|
title: {
|
|
558
561
|
cy: "heatmap-div-title",
|
|
@@ -565,14 +568,14 @@ const wl = ["id"], kl = ["xmlns", "viewBox"], Al = ["x", "y", "width", "height"]
|
|
|
565
568
|
}
|
|
566
569
|
}, null, 8, ["config"]))
|
|
567
570
|
], 512)) : h("", !0),
|
|
568
|
-
e.value.userOptions.show && j.value && (i(
|
|
569
|
-
ref_key: "
|
|
570
|
-
ref:
|
|
571
|
-
key: `user_options_${
|
|
571
|
+
e.value.userOptions.show && j.value && (i(je) || i(Me)) ? (u(), de(i(le), {
|
|
572
|
+
ref_key: "userOptionsRef",
|
|
573
|
+
ref: _e,
|
|
574
|
+
key: `user_options_${Ve.value}`,
|
|
572
575
|
backgroundColor: e.value.style.backgroundColor,
|
|
573
576
|
color: e.value.style.color,
|
|
574
|
-
isImaging: i(
|
|
575
|
-
isPrinting: i(
|
|
577
|
+
isImaging: i(Qe),
|
|
578
|
+
isPrinting: i(Je),
|
|
576
579
|
uid: M.value,
|
|
577
580
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.tooltip.show,
|
|
578
581
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
@@ -581,101 +584,102 @@ const wl = ["id"], kl = ["xmlns", "viewBox"], Al = ["x", "y", "width", "height"]
|
|
|
581
584
|
hasTable: e.value.userOptions.buttons.table,
|
|
582
585
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
583
586
|
isFullscreen: G.value,
|
|
584
|
-
isTooltip:
|
|
587
|
+
isTooltip: z.value.showTooltip,
|
|
585
588
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
586
589
|
chartElement: O.value,
|
|
587
590
|
position: e.value.userOptions.position,
|
|
588
591
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
589
|
-
isAnnotation:
|
|
592
|
+
isAnnotation: me.value,
|
|
590
593
|
callbacks: e.value.userOptions.callbacks,
|
|
591
594
|
printScale: e.value.userOptions.print.scale,
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
595
|
+
tableDialog: e.value.table.useDialog,
|
|
596
|
+
onToggleFullscreen: st,
|
|
597
|
+
onGeneratePdf: i(Ze),
|
|
598
|
+
onGenerateCsv: Fe,
|
|
599
|
+
onGenerateImage: i(et),
|
|
600
|
+
onToggleTable: ut,
|
|
601
|
+
onToggleTooltip: it,
|
|
602
|
+
onToggleAnnotator: De,
|
|
599
603
|
style: w({
|
|
600
|
-
visibility: i(
|
|
604
|
+
visibility: i(je) ? i(Me) ? "visible" : "hidden" : "visible"
|
|
601
605
|
})
|
|
602
|
-
},
|
|
606
|
+
}, yt({ _: 2 }, [
|
|
603
607
|
t.$slots.menuIcon ? {
|
|
604
608
|
name: "menuIcon",
|
|
605
|
-
fn:
|
|
606
|
-
|
|
609
|
+
fn: S(({ isOpen: a, color: s }) => [
|
|
610
|
+
L(t.$slots, "menuIcon", Z(ee({ isOpen: a, color: s })), void 0, !0)
|
|
607
611
|
]),
|
|
608
612
|
key: "0"
|
|
609
613
|
} : void 0,
|
|
610
614
|
t.$slots.optionTooltip ? {
|
|
611
615
|
name: "optionTooltip",
|
|
612
|
-
fn:
|
|
613
|
-
|
|
616
|
+
fn: S(() => [
|
|
617
|
+
L(t.$slots, "optionTooltip", {}, void 0, !0)
|
|
614
618
|
]),
|
|
615
619
|
key: "1"
|
|
616
620
|
} : void 0,
|
|
617
621
|
t.$slots.optionPdf ? {
|
|
618
622
|
name: "optionPdf",
|
|
619
|
-
fn:
|
|
620
|
-
|
|
623
|
+
fn: S(() => [
|
|
624
|
+
L(t.$slots, "optionPdf", {}, void 0, !0)
|
|
621
625
|
]),
|
|
622
626
|
key: "2"
|
|
623
627
|
} : void 0,
|
|
624
628
|
t.$slots.optionCsv ? {
|
|
625
629
|
name: "optionCsv",
|
|
626
|
-
fn:
|
|
627
|
-
|
|
630
|
+
fn: S(() => [
|
|
631
|
+
L(t.$slots, "optionCsv", {}, void 0, !0)
|
|
628
632
|
]),
|
|
629
633
|
key: "3"
|
|
630
634
|
} : void 0,
|
|
631
635
|
t.$slots.optionImg ? {
|
|
632
636
|
name: "optionImg",
|
|
633
|
-
fn:
|
|
634
|
-
|
|
637
|
+
fn: S(() => [
|
|
638
|
+
L(t.$slots, "optionImg", {}, void 0, !0)
|
|
635
639
|
]),
|
|
636
640
|
key: "4"
|
|
637
641
|
} : void 0,
|
|
638
642
|
t.$slots.optionTable ? {
|
|
639
643
|
name: "optionTable",
|
|
640
|
-
fn:
|
|
641
|
-
|
|
644
|
+
fn: S(() => [
|
|
645
|
+
L(t.$slots, "optionTable", {}, void 0, !0)
|
|
642
646
|
]),
|
|
643
647
|
key: "5"
|
|
644
648
|
} : void 0,
|
|
645
649
|
t.$slots.optionFullscreen ? {
|
|
646
650
|
name: "optionFullscreen",
|
|
647
|
-
fn:
|
|
648
|
-
|
|
651
|
+
fn: S(({ toggleFullscreen: a, isFullscreen: s }) => [
|
|
652
|
+
L(t.$slots, "optionFullscreen", Z(ee({ toggleFullscreen: a, isFullscreen: s })), void 0, !0)
|
|
649
653
|
]),
|
|
650
654
|
key: "6"
|
|
651
655
|
} : void 0,
|
|
652
656
|
t.$slots.optionAnnotator ? {
|
|
653
657
|
name: "optionAnnotator",
|
|
654
|
-
fn:
|
|
655
|
-
|
|
658
|
+
fn: S(({ toggleAnnotator: a, isAnnotator: s }) => [
|
|
659
|
+
L(t.$slots, "optionAnnotator", Z(ee({ toggleAnnotator: a, isAnnotator: s })), void 0, !0)
|
|
656
660
|
]),
|
|
657
661
|
key: "7"
|
|
658
662
|
} : void 0
|
|
659
|
-
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : h("", !0),
|
|
663
|
+
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : h("", !0),
|
|
660
664
|
f("div", {
|
|
661
|
-
class:
|
|
665
|
+
class: ce({
|
|
662
666
|
"vue-ui-heatmap-chart-wrapper": !0,
|
|
663
667
|
"vue-ui-heatmap-chart-wrapper-legend-right": e.value.style.legend.show
|
|
664
668
|
})
|
|
665
669
|
}, [
|
|
666
670
|
(u(), n("svg", {
|
|
667
671
|
ref_key: "svgRef",
|
|
668
|
-
ref:
|
|
669
|
-
xmlns: i(
|
|
670
|
-
class:
|
|
671
|
-
viewBox: `0 0 ${
|
|
672
|
+
ref: qe,
|
|
673
|
+
xmlns: i(sl),
|
|
674
|
+
class: ce({ "vue-data-ui-fullscreen--on": G.value, "vue-data-ui-fulscreen--off": !G.value }),
|
|
675
|
+
viewBox: `0 0 ${_.value.width} ${_.value.height}`,
|
|
672
676
|
width: "100%",
|
|
673
677
|
style: w(`overflow: visible; background:transparent;color:${e.value.style.color}`),
|
|
674
678
|
"aria-live": "polite",
|
|
675
679
|
role: "img",
|
|
676
680
|
preserveAspectRatio: "xMidYMid"
|
|
677
681
|
}, [
|
|
678
|
-
|
|
682
|
+
ke(i(X)),
|
|
679
683
|
t.$slots["chart-background"] ? (u(), n("foreignObject", {
|
|
680
684
|
key: 0,
|
|
681
685
|
x: l.value.left,
|
|
@@ -686,38 +690,38 @@ const wl = ["id"], kl = ["xmlns", "viewBox"], Al = ["x", "y", "width", "height"]
|
|
|
686
690
|
pointerEvents: "none"
|
|
687
691
|
}
|
|
688
692
|
}, [
|
|
689
|
-
|
|
690
|
-
], 8,
|
|
693
|
+
L(t.$slots, "chart-background", {}, void 0, !0)
|
|
694
|
+
], 8, Cl)) : h("", !0),
|
|
691
695
|
e.value.style.layout.cells.columnTotal.color.show ? (u(), n("g", {
|
|
692
696
|
key: 1,
|
|
693
697
|
ref_key: "xAxisSumRects",
|
|
694
|
-
ref:
|
|
698
|
+
ref: Ct
|
|
695
699
|
}, [
|
|
696
|
-
(u(!0), n(C, null, F(p.value.xTotals, (
|
|
700
|
+
(u(!0), n(C, null, F(p.value.xTotals, (a, s) => (u(), n("rect", {
|
|
697
701
|
x: l.value.left + l.value.cellSize.width * s + r.value / 2 + l.value.sumCellXHeight,
|
|
698
|
-
y: l.value.top - l.value.sumCellXHeight + r.value * (
|
|
702
|
+
y: l.value.top - l.value.sumCellXHeight + r.value * (_.value.height / _.value.width),
|
|
699
703
|
height: l.value.sumCellXHeight,
|
|
700
704
|
width: l.value.cellSize.width - r.value,
|
|
701
705
|
fill: e.value.style.layout.cells.colors.underlayer,
|
|
702
706
|
stroke: e.value.style.backgroundColor,
|
|
703
707
|
"stroke-width": r.value
|
|
704
|
-
}, null, 8,
|
|
705
|
-
(u(!0), n(C, null, F(p.value.xTotals, (
|
|
708
|
+
}, null, 8, Ll))), 256)),
|
|
709
|
+
(u(!0), n(C, null, F(p.value.xTotals, (a, s) => (u(), n("rect", {
|
|
706
710
|
x: l.value.left + l.value.cellSize.width * s + r.value / 2 + l.value.sumCellXHeight,
|
|
707
|
-
y: l.value.top - l.value.sumCellXHeight + r.value * (
|
|
711
|
+
y: l.value.top - l.value.sumCellXHeight + r.value * (_.value.height / _.value.width),
|
|
708
712
|
height: l.value.sumCellXHeight,
|
|
709
713
|
width: l.value.cellSize.width - r.value,
|
|
710
|
-
fill:
|
|
714
|
+
fill: a.color,
|
|
711
715
|
stroke: e.value.style.backgroundColor,
|
|
712
716
|
"stroke-width": r.value
|
|
713
|
-
}, null, 8,
|
|
717
|
+
}, null, 8, Tl))), 256))
|
|
714
718
|
], 512)) : h("", !0),
|
|
715
719
|
f("g", {
|
|
716
720
|
ref_key: "datapoints",
|
|
717
|
-
ref:
|
|
721
|
+
ref: wt
|
|
718
722
|
}, [
|
|
719
|
-
(u(!0), n(C, null, F(Y.value, (
|
|
720
|
-
(u(!0), n(C, null, F(
|
|
723
|
+
(u(!0), n(C, null, F(Y.value, (a, s) => (u(), n(C, null, [
|
|
724
|
+
(u(!0), n(C, null, F(a.temperatures, (d, v) => (u(), n("g", null, [
|
|
721
725
|
f("rect", {
|
|
722
726
|
x: l.value.left + l.value.cellSize.width * v + r.value / 2 + l.value.sumCellXHeight,
|
|
723
727
|
y: l.value.top + l.value.cellSize.height * s + r.value / 2,
|
|
@@ -726,7 +730,7 @@ const wl = ["id"], kl = ["xmlns", "viewBox"], Al = ["x", "y", "width", "height"]
|
|
|
726
730
|
fill: e.value.style.layout.cells.colors.underlayer,
|
|
727
731
|
stroke: e.value.style.backgroundColor,
|
|
728
732
|
"stroke-width": r.value
|
|
729
|
-
}, null, 8,
|
|
733
|
+
}, null, 8, _l),
|
|
730
734
|
f("rect", {
|
|
731
735
|
x: l.value.left + l.value.cellSize.width * v + r.value / 2 + l.value.sumCellXHeight,
|
|
732
736
|
y: l.value.top + l.value.cellSize.height * s + r.value / 2,
|
|
@@ -735,21 +739,21 @@ const wl = ["id"], kl = ["xmlns", "viewBox"], Al = ["x", "y", "width", "height"]
|
|
|
735
739
|
fill: d.color,
|
|
736
740
|
stroke: e.value.style.backgroundColor,
|
|
737
741
|
"stroke-width": r.value,
|
|
738
|
-
onMouseover: (x) =>
|
|
739
|
-
onMouseout: () =>
|
|
740
|
-
onClick: () =>
|
|
741
|
-
}, null, 40,
|
|
742
|
-
e.value.style.layout.cells.value.show ?
|
|
742
|
+
onMouseover: (x) => Pt(d, s, l.value.left + l.value.cellSize.width * v, l.value.top + l.value.cellSize.height * s),
|
|
743
|
+
onMouseout: () => Xt({ datapoint: d, seriesIndex: s }),
|
|
744
|
+
onClick: () => Bt(d, s)
|
|
745
|
+
}, null, 40, Sl),
|
|
746
|
+
e.value.style.layout.cells.value.show ? ht((u(), n("text", {
|
|
743
747
|
key: 0,
|
|
744
748
|
"text-anchor": "middle",
|
|
745
749
|
"font-size": e.value.style.layout.cells.value.fontSize,
|
|
746
750
|
"font-weight": e.value.style.layout.cells.value.bold ? "bold" : "normal",
|
|
747
|
-
fill: i(
|
|
751
|
+
fill: i(Ae)(d.color),
|
|
748
752
|
x: l.value.left + l.value.cellSize.width * v + l.value.cellSize.width / 2 + l.value.sumCellXHeight,
|
|
749
753
|
y: l.value.top + l.value.cellSize.height * s + l.value.cellSize.height / 2 + e.value.style.layout.cells.value.fontSize / 3,
|
|
750
754
|
style: { pointerEvents: "none", userSelect: "none" }
|
|
751
755
|
}, [
|
|
752
|
-
|
|
756
|
+
Xe(T(i(B)(
|
|
753
757
|
e.value.style.layout.cells.value.formatter,
|
|
754
758
|
d.value,
|
|
755
759
|
i(H)({
|
|
@@ -760,17 +764,17 @@ const wl = ["id"], kl = ["xmlns", "viewBox"], Al = ["x", "y", "width", "height"]
|
|
|
760
764
|
}),
|
|
761
765
|
{ datapoint: d }
|
|
762
766
|
)), 1)
|
|
763
|
-
], 8,
|
|
764
|
-
[i(
|
|
767
|
+
], 8, zl)), [
|
|
768
|
+
[i(wl), {
|
|
765
769
|
cellWidth: l.value.cellSize.width - r.value,
|
|
766
770
|
cellHeight: l.value.cellSize.height - r.value,
|
|
767
771
|
maxFontSize: e.value.style.layout.cells.value.fontSize,
|
|
768
772
|
minFontSize: 10,
|
|
769
|
-
index: s *
|
|
770
|
-
reportHide:
|
|
771
|
-
reportRotation:
|
|
773
|
+
index: s * D.value + v,
|
|
774
|
+
reportHide: Ht,
|
|
775
|
+
reportRotation: Dt,
|
|
772
776
|
hideAll: Nt.value,
|
|
773
|
-
rotateAll:
|
|
777
|
+
rotateAll: Ft.value
|
|
774
778
|
}]
|
|
775
779
|
]) : h("", !0)
|
|
776
780
|
]))), 256))
|
|
@@ -779,9 +783,9 @@ const wl = ["id"], kl = ["xmlns", "viewBox"], Al = ["x", "y", "width", "height"]
|
|
|
779
783
|
e.value.style.layout.cells.rowTotal.color.show ? (u(), n("g", {
|
|
780
784
|
key: 2,
|
|
781
785
|
ref_key: "yAxisSumRects",
|
|
782
|
-
ref:
|
|
786
|
+
ref: At
|
|
783
787
|
}, [
|
|
784
|
-
(u(!0), n(C, null, F(Y.value, (
|
|
788
|
+
(u(!0), n(C, null, F(Y.value, (a, s) => (u(), n(C, null, [
|
|
785
789
|
f("rect", {
|
|
786
790
|
x: l.value.left,
|
|
787
791
|
y: l.value.top + l.value.cellSize.height * s,
|
|
@@ -799,42 +803,42 @@ const wl = ["id"], kl = ["xmlns", "viewBox"], Al = ["x", "y", "width", "height"]
|
|
|
799
803
|
fill: p.value.yTotals[s].color,
|
|
800
804
|
stroke: e.value.style.backgroundColor,
|
|
801
805
|
"stroke-width": r.value
|
|
802
|
-
}, null, 8,
|
|
806
|
+
}, null, 8, Ml)
|
|
803
807
|
], 64))), 256))
|
|
804
808
|
], 512)) : h("", !0),
|
|
805
809
|
e.value.style.layout.dataLabels.yAxis.show ? (u(), n("g", {
|
|
806
810
|
key: 3,
|
|
807
811
|
ref_key: "yAxisLabels",
|
|
808
|
-
ref:
|
|
812
|
+
ref: Ge
|
|
809
813
|
}, [
|
|
810
|
-
(u(!0), n(C, null, F(Y.value, (
|
|
814
|
+
(u(!0), n(C, null, F(Y.value, (a, s) => (u(), n(C, null, [
|
|
811
815
|
f("text", {
|
|
812
816
|
class: "vue-ui-heatmap-row-name",
|
|
813
817
|
"font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
|
|
814
818
|
fill: e.value.style.layout.dataLabels.yAxis.color,
|
|
815
|
-
x:
|
|
819
|
+
x: J.value,
|
|
816
820
|
y: l.value.top + l.value.cellSize.height * s + 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),
|
|
817
821
|
"text-anchor": "end",
|
|
818
822
|
"font-weight": e.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal"
|
|
819
|
-
},
|
|
823
|
+
}, T(p.value.yLabels[s]), 9, Ol),
|
|
820
824
|
e.value.style.layout.cells.rowTotal.value.show ? (u(), n("text", {
|
|
821
825
|
key: 0,
|
|
822
826
|
class: "vue-ui-heatmap-row-total",
|
|
823
827
|
"font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
|
|
824
828
|
fill: e.value.style.layout.dataLabels.yAxis.color,
|
|
825
|
-
x:
|
|
829
|
+
x: J.value,
|
|
826
830
|
y: l.value.top + l.value.cellSize.height * s + l.value.cellSize.height / 2 + e.value.style.layout.dataLabels.yAxis.fontSize + e.value.style.layout.dataLabels.yAxis.offsetY,
|
|
827
831
|
"text-anchor": "end",
|
|
828
832
|
"font-weight": e.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal"
|
|
829
|
-
},
|
|
833
|
+
}, T(It(s)), 9, Rl)) : h("", !0)
|
|
830
834
|
], 64))), 256))
|
|
831
835
|
], 512)) : h("", !0),
|
|
832
836
|
e.value.style.layout.dataLabels.xAxis.show ? (u(), n("g", {
|
|
833
837
|
key: 4,
|
|
834
838
|
ref_key: "xAxisLabels",
|
|
835
|
-
ref:
|
|
839
|
+
ref: Se
|
|
836
840
|
}, [
|
|
837
|
-
(u(!0), n(C, null, F(p.value.xLabels, (
|
|
841
|
+
(u(!0), n(C, null, F(p.value.xLabels, (a, s) => (u(), n(C, null, [
|
|
838
842
|
!e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo || e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo && s % e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo === 0 ? (u(), n("text", {
|
|
839
843
|
key: 0,
|
|
840
844
|
class: "vue-ui-heatmap-col-name",
|
|
@@ -843,55 +847,55 @@ const wl = ["id"], kl = ["xmlns", "viewBox"], Al = ["x", "y", "width", "height"]
|
|
|
843
847
|
fill: e.value.style.layout.dataLabels.xAxis.color,
|
|
844
848
|
"font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
|
|
845
849
|
transform: `translate(${l.value.left + l.value.cellSize.width / 2 + l.value.width / p.value.xLabels.length * s + e.value.style.layout.dataLabels.xAxis.offsetX + l.value.sumCellXHeight}, ${l.value.topLabelsHeight}), rotate(${e.value.style.layout.dataLabels.xAxis.rotation})`
|
|
846
|
-
},
|
|
850
|
+
}, T(a), 9, Fl)) : h("", !0)
|
|
847
851
|
], 64))), 256))
|
|
848
852
|
], 512)) : h("", !0),
|
|
849
853
|
e.value.style.layout.cells.columnTotal.value.show ? (u(), n("g", {
|
|
850
854
|
key: 5,
|
|
851
855
|
ref_key: "xAxisSums",
|
|
852
|
-
ref:
|
|
856
|
+
ref: ze
|
|
853
857
|
}, [
|
|
854
|
-
(u(!0), n(C, null, F(p.value.xLabels, (
|
|
858
|
+
(u(!0), n(C, null, F(p.value.xLabels, (a, s) => (u(), n("text", {
|
|
855
859
|
class: "vue-ui-heatmap-col-total",
|
|
856
860
|
"text-anchor": e.value.style.layout.cells.columnTotal.value.rotation === 0 ? "middle" : e.value.style.layout.cells.columnTotal.value.rotation < 0 ? "end" : "start",
|
|
857
861
|
"font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
|
|
858
862
|
fill: e.value.style.layout.dataLabels.xAxis.color,
|
|
859
863
|
"font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
|
|
860
864
|
transform: `translate(${l.value.left + l.value.cellSize.width / 2 + l.value.width / p.value.xLabels.length * s + 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})`
|
|
861
|
-
},
|
|
865
|
+
}, T(Vt(s)), 9, Dl))), 256))
|
|
862
866
|
], 512)) : h("", !0),
|
|
863
|
-
|
|
867
|
+
se.value ? (u(), n("g", Nl, [
|
|
864
868
|
f("rect", {
|
|
865
869
|
style: { "pointer-events": "none" },
|
|
866
|
-
x:
|
|
867
|
-
y:
|
|
870
|
+
x: se.value.x - e.value.style.layout.cells.selected.border / 2 + r.value + l.value.sumCellXHeight,
|
|
871
|
+
y: se.value.y - e.value.style.layout.cells.selected.border / 2 + r.value,
|
|
868
872
|
width: l.value.cellSize.width - r.value + e.value.style.layout.cells.selected.border - r.value,
|
|
869
873
|
height: l.value.cellSize.height - r.value + e.value.style.layout.cells.selected.border - r.value,
|
|
870
874
|
fill: "transparent",
|
|
871
875
|
stroke: e.value.style.layout.cells.selected.color,
|
|
872
876
|
"stroke-width": e.value.style.layout.cells.selected.border,
|
|
873
877
|
rx: 1
|
|
874
|
-
}, null, 8,
|
|
878
|
+
}, null, 8, Hl)
|
|
875
879
|
])) : h("", !0),
|
|
876
|
-
|
|
877
|
-
], 14,
|
|
880
|
+
L(t.$slots, "svg", { svg: _.value }, void 0, !0)
|
|
881
|
+
], 14, Al)),
|
|
878
882
|
e.value.style.legend.show ? (u(), n("div", {
|
|
879
883
|
key: 0,
|
|
880
884
|
ref_key: "legendRight",
|
|
881
|
-
ref:
|
|
885
|
+
ref: kt,
|
|
882
886
|
class: "vue-ui-heatmap-legend-right",
|
|
883
887
|
style: w({
|
|
884
888
|
"--legend-width": e.value.style.legend.width + "px"
|
|
885
889
|
})
|
|
886
890
|
}, [
|
|
887
|
-
i(
|
|
891
|
+
i(pe) ? h("", !0) : (u(), n("div", {
|
|
888
892
|
key: 0,
|
|
889
893
|
class: "vue-ui-heatmap-legend-label-max",
|
|
890
894
|
style: w({
|
|
891
895
|
fontSize: e.value.style.legend.fontSize + "px",
|
|
892
896
|
color: e.value.style.legend.color
|
|
893
897
|
})
|
|
894
|
-
},
|
|
898
|
+
}, T(i(B)(
|
|
895
899
|
e.value.style.layout.cells.value.formatter,
|
|
896
900
|
i(E)(V.value),
|
|
897
901
|
i(H)({
|
|
@@ -901,14 +905,14 @@ const wl = ["id"], kl = ["xmlns", "viewBox"], Al = ["x", "y", "width", "height"]
|
|
|
901
905
|
r: e.value.style.legend.roundingValue
|
|
902
906
|
})
|
|
903
907
|
)), 5)),
|
|
904
|
-
f("div",
|
|
908
|
+
f("div", Pl, [
|
|
905
909
|
f("div", {
|
|
906
910
|
class: "vue-ui-heatmap-gauge",
|
|
907
911
|
style: w({
|
|
908
912
|
background: `linear-gradient(to bottom, ${e.value.style.layout.cells.colors.hot}, ${e.value.style.layout.cells.colors.cold})`
|
|
909
913
|
})
|
|
910
914
|
}, [
|
|
911
|
-
|
|
915
|
+
ht(f("div", {
|
|
912
916
|
class: "vue-ui-heatmap-gauge-indicator",
|
|
913
917
|
"data-value": i(B)(
|
|
914
918
|
e.value.style.layout.cells.value.formatter,
|
|
@@ -924,17 +928,17 @@ const wl = ["id"], kl = ["xmlns", "viewBox"], Al = ["x", "y", "width", "height"]
|
|
|
924
928
|
position: "absolute",
|
|
925
929
|
width: "100%",
|
|
926
930
|
height: "2px",
|
|
927
|
-
background: [void 0, null].includes(R.value) ? "transparent" : i(
|
|
931
|
+
background: [void 0, null].includes(R.value) ? "transparent" : i(Ae)(be.value.datapoint.color),
|
|
928
932
|
top: `${[void 0, null].includes(R.value) ? 0 : (1 - R.value / V.value) * 100}%`,
|
|
929
933
|
transition: "all 0.2s ease-in-out",
|
|
930
934
|
"--background-color": e.value.style.backgroundColor,
|
|
931
|
-
"--gauge-arrow-color": i(
|
|
932
|
-
"--gauge-arrow-text-color": i(
|
|
935
|
+
"--gauge-arrow-color": i(Ae)(e.value.style.backgroundColor),
|
|
936
|
+
"--gauge-arrow-text-color": i(Ae)(e.value.style.backgroundColor),
|
|
933
937
|
"--gauge-arrow-value": R.value,
|
|
934
938
|
"--gauge-arrow-font-size": e.value.style.legend.fontSize + "px"
|
|
935
939
|
})
|
|
936
940
|
}, [
|
|
937
|
-
f("div",
|
|
941
|
+
f("div", Il, T(i(B)(
|
|
938
942
|
e.value.style.layout.cells.value.formatter,
|
|
939
943
|
i(E)(R.value),
|
|
940
944
|
i(H)({
|
|
@@ -944,43 +948,43 @@ const wl = ["id"], kl = ["xmlns", "viewBox"], Al = ["x", "y", "width", "height"]
|
|
|
944
948
|
r: e.value.style.legend.roundingValue
|
|
945
949
|
})
|
|
946
950
|
)), 1)
|
|
947
|
-
], 12,
|
|
948
|
-
[
|
|
951
|
+
], 12, Xl), [
|
|
952
|
+
[Kt, ![void 0, null].includes(R.value)]
|
|
949
953
|
])
|
|
950
954
|
], 4)
|
|
951
955
|
]),
|
|
952
|
-
i(
|
|
956
|
+
i(pe) ? h("", !0) : (u(), n("div", {
|
|
953
957
|
key: 1,
|
|
954
958
|
class: "vue-ui-heatmap-legend-label-min",
|
|
955
959
|
style: w({
|
|
956
960
|
fontSize: e.value.style.legend.fontSize + "px",
|
|
957
961
|
color: e.value.style.legend.color
|
|
958
962
|
})
|
|
959
|
-
},
|
|
963
|
+
}, T(i(B)(
|
|
960
964
|
e.value.style.layout.cells.value.formatter,
|
|
961
|
-
i(E)(
|
|
965
|
+
i(E)(ve.value),
|
|
962
966
|
i(H)({
|
|
963
967
|
p: e.value.style.layout.dataLabels.prefix,
|
|
964
|
-
v: i(E)(
|
|
968
|
+
v: i(E)(ve.value),
|
|
965
969
|
s: e.value.style.layout.dataLabels.suffix,
|
|
966
970
|
r: e.value.style.legend.roundingValue
|
|
967
971
|
})
|
|
968
972
|
)), 5))
|
|
969
973
|
], 4)) : h("", !0)
|
|
970
974
|
], 2),
|
|
971
|
-
t.$slots.watermark ? (u(), n("div",
|
|
972
|
-
|
|
975
|
+
t.$slots.watermark ? (u(), n("div", Vl, [
|
|
976
|
+
L(t.$slots, "watermark", Z(ee({ isPrinting: i(Je) || i(Qe) })), void 0, !0)
|
|
973
977
|
])) : h("", !0),
|
|
974
978
|
t.$slots.source ? (u(), n("div", {
|
|
975
979
|
key: 5,
|
|
976
980
|
ref_key: "source",
|
|
977
|
-
ref:
|
|
981
|
+
ref: We,
|
|
978
982
|
dir: "auto"
|
|
979
983
|
}, [
|
|
980
|
-
|
|
984
|
+
L(t.$slots, "source", {}, void 0, !0)
|
|
981
985
|
], 512)) : h("", !0),
|
|
982
|
-
|
|
983
|
-
show:
|
|
986
|
+
ke(i(W), {
|
|
987
|
+
show: z.value.showTooltip && ae.value,
|
|
984
988
|
backgroundColor: e.value.style.tooltip.backgroundColor,
|
|
985
989
|
color: e.value.style.tooltip.color,
|
|
986
990
|
borderRadius: e.value.style.tooltip.borderRadius,
|
|
@@ -991,57 +995,57 @@ const wl = ["id"], kl = ["xmlns", "viewBox"], Al = ["x", "y", "width", "height"]
|
|
|
991
995
|
position: e.value.style.tooltip.position,
|
|
992
996
|
offsetY: e.value.style.tooltip.offsetY,
|
|
993
997
|
parent: O.value,
|
|
994
|
-
content:
|
|
998
|
+
content: q.value,
|
|
995
999
|
isFullscreen: G.value,
|
|
996
1000
|
isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function",
|
|
997
1001
|
smooth: e.value.style.tooltip.smooth,
|
|
998
1002
|
backdropFilter: e.value.style.tooltip.backdropFilter
|
|
999
1003
|
}, {
|
|
1000
|
-
"tooltip-before":
|
|
1001
|
-
|
|
1004
|
+
"tooltip-before": S(() => [
|
|
1005
|
+
L(t.$slots, "tooltip-before", Z(ee({ ...be.value })), void 0, !0)
|
|
1002
1006
|
]),
|
|
1003
|
-
"tooltip-after":
|
|
1004
|
-
|
|
1007
|
+
"tooltip-after": S(() => [
|
|
1008
|
+
L(t.$slots, "tooltip-after", Z(ee({ ...be.value })), void 0, !0)
|
|
1005
1009
|
]),
|
|
1006
1010
|
_: 3
|
|
1007
1011
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter"]),
|
|
1008
|
-
j.value ? (u(),
|
|
1012
|
+
j.value ? (u(), de(Jt(xe.value.component), Qt({ key: 6 }, xe.value.props, {
|
|
1009
1013
|
ref_key: "tableUnit",
|
|
1010
|
-
ref:
|
|
1011
|
-
onClose:
|
|
1012
|
-
}),
|
|
1013
|
-
content:
|
|
1014
|
+
ref: ue,
|
|
1015
|
+
onClose: Ne
|
|
1016
|
+
}), yt({
|
|
1017
|
+
content: S(() => [
|
|
1014
1018
|
f("div", {
|
|
1015
1019
|
ref_key: "tableContainer",
|
|
1016
|
-
ref:
|
|
1020
|
+
ref: Be,
|
|
1017
1021
|
class: "vue-ui-heatmap-table atom-data-table",
|
|
1018
1022
|
style: w(`${e.value.table.useDialog ? "" : "max-height: 300px; margin-top: 24px;"}`)
|
|
1019
1023
|
}, [
|
|
1020
1024
|
f("div", {
|
|
1021
1025
|
style: w(`width:100%;overflow-x:auto;position:relative;${e.value.table.useDialog ? "" : "padding-top:36px"};`),
|
|
1022
|
-
class:
|
|
1026
|
+
class: ce({ "vue-ui-responsive": i(Yt) })
|
|
1023
1027
|
}, [
|
|
1024
1028
|
e.value.table.useDialog ? h("", !0) : (u(), n("div", {
|
|
1025
1029
|
key: 0,
|
|
1026
1030
|
role: "button",
|
|
1027
1031
|
tabindex: "0",
|
|
1028
1032
|
style: w(`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};`),
|
|
1029
|
-
onClick:
|
|
1030
|
-
onKeypress:
|
|
1033
|
+
onClick: Ne,
|
|
1034
|
+
onKeypress: Zt(Ne, ["enter"])
|
|
1031
1035
|
}, [
|
|
1032
|
-
|
|
1036
|
+
ke(i(te), {
|
|
1033
1037
|
name: "close",
|
|
1034
1038
|
stroke: e.value.table.th.color,
|
|
1035
1039
|
"stroke-width": 2
|
|
1036
1040
|
}, null, 8, ["stroke"])
|
|
1037
1041
|
], 36)),
|
|
1038
|
-
f("table",
|
|
1042
|
+
f("table", Bl, [
|
|
1039
1043
|
e.value.table.useDialog ? h("", !0) : (u(), n("caption", {
|
|
1040
1044
|
key: 0,
|
|
1041
1045
|
style: w(`backgroundColor:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
|
|
1042
1046
|
}, [
|
|
1043
|
-
|
|
1044
|
-
e.value.style.title.subtitle.text ? (u(), n("span",
|
|
1047
|
+
Xe(T(e.value.style.title.text) + " ", 1),
|
|
1048
|
+
e.value.style.title.subtitle.text ? (u(), n("span", El, T(e.value.style.title.subtitle.text), 1)) : h("", !0)
|
|
1045
1049
|
], 4)),
|
|
1046
1050
|
f("thead", null, [
|
|
1047
1051
|
f("tr", {
|
|
@@ -1051,16 +1055,16 @@ const wl = ["id"], kl = ["xmlns", "viewBox"], Al = ["x", "y", "width", "height"]
|
|
|
1051
1055
|
f("th", {
|
|
1052
1056
|
style: w(`outline:${e.value.table.th.outline};padding-right:6px`)
|
|
1053
1057
|
}, null, 4),
|
|
1054
|
-
(u(!0), n(C, null, F(b.dataset, (
|
|
1058
|
+
(u(!0), n(C, null, F(b.dataset, (a, s) => (u(), n("th", {
|
|
1055
1059
|
align: "right",
|
|
1056
1060
|
style: w(`outline:${e.value.table.th.outline};padding-right:6px`)
|
|
1057
|
-
},
|
|
1061
|
+
}, T(a.name), 5))), 256))
|
|
1058
1062
|
], 4)
|
|
1059
1063
|
]),
|
|
1060
1064
|
f("tbody", null, [
|
|
1061
|
-
(u(!0), n(C, null, F(p.value.xLabels, (
|
|
1065
|
+
(u(!0), n(C, null, F(p.value.xLabels, (a, s) => (u(), n("tr", {
|
|
1062
1066
|
role: "row",
|
|
1063
|
-
class:
|
|
1067
|
+
class: ce({ "vue-ui-data-table__tbody__row": !0, "vue-ui-data-table__tbody__row-even": s % 2 === 0, "vue-ui-data-table__tbody__row-odd": s % 2 !== 0 }),
|
|
1064
1068
|
style: w(`background:${e.value.table.td.backgroundColor};color:${e.value.table.td.color}`)
|
|
1065
1069
|
}, [
|
|
1066
1070
|
f("td", {
|
|
@@ -1068,15 +1072,15 @@ const wl = ["id"], kl = ["xmlns", "viewBox"], Al = ["x", "y", "width", "height"]
|
|
|
1068
1072
|
class: "vue-ui-data-table__tbody__td",
|
|
1069
1073
|
style: w(`outline:${e.value.table.td.outline}`)
|
|
1070
1074
|
}, [
|
|
1071
|
-
f("div",
|
|
1072
|
-
], 12,
|
|
1075
|
+
f("div", Yl, T(a), 1)
|
|
1076
|
+
], 12, Ul),
|
|
1073
1077
|
(u(!0), n(C, null, F(b.dataset, (d, v) => (u(), n("td", {
|
|
1074
1078
|
class: "vue-ui-data-table__tbody__td",
|
|
1075
1079
|
"data-cell": b.dataset[v].name,
|
|
1076
1080
|
style: w(`outline:${e.value.table.td.outline}`)
|
|
1077
1081
|
}, [
|
|
1078
|
-
f("div",
|
|
1079
|
-
], 12,
|
|
1082
|
+
f("div", Wl, T(isNaN(d.values[s]) ? "-" : i(H)({ p: e.value.style.layout.dataLabels.prefix, v: d.values[s], s: e.value.style.layout.dataLabels.suffix, r: e.value.table.td.roundingValue })), 1)
|
|
1083
|
+
], 12, Gl))), 256))
|
|
1080
1084
|
], 6))), 256))
|
|
1081
1085
|
])
|
|
1082
1086
|
])
|
|
@@ -1087,32 +1091,32 @@ const wl = ["id"], kl = ["xmlns", "viewBox"], Al = ["x", "y", "width", "height"]
|
|
|
1087
1091
|
}, [
|
|
1088
1092
|
e.value.table.useDialog ? {
|
|
1089
1093
|
name: "title",
|
|
1090
|
-
fn:
|
|
1091
|
-
|
|
1094
|
+
fn: S(() => [
|
|
1095
|
+
Xe(T(xe.value.title), 1)
|
|
1092
1096
|
]),
|
|
1093
1097
|
key: "0"
|
|
1094
1098
|
} : void 0,
|
|
1095
1099
|
e.value.table.useDialog ? {
|
|
1096
1100
|
name: "actions",
|
|
1097
|
-
fn:
|
|
1101
|
+
fn: S(() => [
|
|
1098
1102
|
f("button", {
|
|
1099
1103
|
tabindex: "0",
|
|
1100
1104
|
class: "vue-ui-user-options-button",
|
|
1101
|
-
onClick:
|
|
1105
|
+
onClick: o[0] || (o[0] = (a) => Fe(e.value.userOptions.callbacks.csv))
|
|
1102
1106
|
}, [
|
|
1103
|
-
|
|
1107
|
+
ke(i(te), {
|
|
1104
1108
|
name: "excel",
|
|
1105
|
-
stroke:
|
|
1109
|
+
stroke: xe.value.props.color
|
|
1106
1110
|
}, null, 8, ["stroke"])
|
|
1107
1111
|
])
|
|
1108
1112
|
]),
|
|
1109
1113
|
key: "1"
|
|
1110
1114
|
} : void 0
|
|
1111
1115
|
]), 1040)) : h("", !0),
|
|
1112
|
-
i(
|
|
1113
|
-
], 46,
|
|
1116
|
+
i(pe) ? (u(), de(yl, { key: 7 })) : h("", !0)
|
|
1117
|
+
], 46, kl));
|
|
1114
1118
|
}
|
|
1115
|
-
},
|
|
1119
|
+
}, va = /* @__PURE__ */ xl(jl, [["__scopeId", "data-v-e3daac0e"]]);
|
|
1116
1120
|
export {
|
|
1117
|
-
|
|
1121
|
+
va as default
|
|
1118
1122
|
};
|