vue-data-ui 3.4.6 → 3.4.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{PackageVersion-BSldVhnp.js → PackageVersion-D-auaEEJ.js} +1 -1
- package/dist/{UserOptions-CnzumGJj.js → UserOptions-CGnQt6Fd.js} +91 -91
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/style.css +1 -1
- package/dist/{vue-data-ui-BCOCglbX.js → vue-data-ui-CzqHcPqG.js} +55 -55
- package/dist/vue-data-ui.js +55 -55
- package/dist/{vue-ui-3d-bar-E-nuI5P-.js → vue-ui-3d-bar-CwXiD8zD.js} +49 -42
- package/dist/{vue-ui-age-pyramid-DfN03uDZ.js → vue-ui-age-pyramid-DlEPlWmV.js} +12 -5
- package/dist/{vue-ui-bullet-DVOmSxcg.js → vue-ui-bullet-DtzpeIu4.js} +59 -52
- package/dist/{vue-ui-candlestick-C0tlhgvf.js → vue-ui-candlestick-DzoiyaeB.js} +56 -49
- package/dist/{vue-ui-carousel-table-Bwf70lBb.js → vue-ui-carousel-table-BqRERrjs.js} +79 -72
- package/dist/{vue-ui-chestnut-CzNj08EH.js → vue-ui-chestnut-CzBGckif.js} +77 -70
- package/dist/{vue-ui-chord-CQAAGCjj.js → vue-ui-chord-B4waG93A.js} +71 -64
- package/dist/{vue-ui-circle-pack-8Ut7fxPJ.js → vue-ui-circle-pack-DiTw_p5r.js} +58 -51
- package/dist/{vue-ui-dashboard-CpG2L2Xk.js → vue-ui-dashboard-Bt-MUKqy.js} +56 -56
- package/dist/{vue-ui-donut-acdGdmqY.js → vue-ui-donut-Bc492JeS.js} +95 -88
- package/dist/{vue-ui-donut-evolution-J2tTLcht.js → vue-ui-donut-evolution-D6TaZK2x.js} +80 -73
- package/dist/{vue-ui-dumbbell-DhDvD0DH.js → vue-ui-dumbbell-BlZr68Sq.js} +12 -5
- package/dist/{vue-ui-flow-Du9joQEy.js → vue-ui-flow-ByEP18dA.js} +205 -198
- package/dist/{vue-ui-funnel-BPccZaVG.js → vue-ui-funnel-BU7d_U6T.js} +98 -91
- package/dist/{vue-ui-galaxy-D69X300F.js → vue-ui-galaxy-CpVrxaTr.js} +140 -133
- package/dist/{vue-ui-gauge-C_tPaN05.js → vue-ui-gauge-B9Z4EXoj.js} +108 -101
- package/dist/{vue-ui-gizmo-Bsc620Bs.js → vue-ui-gizmo-T1paJEJ3.js} +1 -1
- package/dist/{vue-ui-heatmap-CRoQ0Xo1.js → vue-ui-heatmap-Uw83eEMz.js} +97 -90
- package/dist/{vue-ui-history-plot-PQT8iCyT.js → vue-ui-history-plot-C93VwVCY.js} +41 -34
- package/dist/{vue-ui-molecule-C0hQ1BHF.js → vue-ui-molecule-CFMWwXFN.js} +94 -87
- package/dist/{vue-ui-mood-radar-DMng4w8x.js → vue-ui-mood-radar-FkVaaOVG.js} +71 -64
- package/dist/{vue-ui-nested-donuts-DtnysjV9.js → vue-ui-nested-donuts-Cyi98NXq.js} +93 -86
- package/dist/{vue-ui-onion-C0Z5_zay.js → vue-ui-onion-BCENNhsY.js} +82 -75
- package/dist/{vue-ui-parallel-coordinate-plot-C0grlzOd.js → vue-ui-parallel-coordinate-plot-Dca9wkD0.js} +116 -109
- package/dist/{vue-ui-quadrant-BJGF3wuL.js → vue-ui-quadrant-CEtFEZT3.js} +46 -39
- package/dist/{vue-ui-quick-chart-CaR3jp1D.js → vue-ui-quick-chart-bqcp6BIl.js} +171 -164
- package/dist/{vue-ui-radar-wYNRX7Uh.js → vue-ui-radar-lgRCmyNP.js} +36 -29
- package/dist/{vue-ui-relation-circle-CIwou-3d.js → vue-ui-relation-circle-cRRrbaIT.js} +100 -93
- package/dist/{vue-ui-ridgeline-DnzoIClq.js → vue-ui-ridgeline-CaeFJq9a.js} +23 -16
- package/dist/{vue-ui-rings-B7zSZa8h.js → vue-ui-rings-DbsYfGjx.js} +55 -48
- package/dist/{vue-ui-scatter-Bevyh8s3.js → vue-ui-scatter-DcMnoNrY.js} +189 -182
- package/dist/{vue-ui-skeleton-DfuGqFYM.js → vue-ui-skeleton-b5fdgyHv.js} +1 -1
- package/dist/{vue-ui-spark-trend-D16UBZxk.js → vue-ui-spark-trend-DrQ26BzL.js} +1 -1
- package/dist/{vue-ui-sparkbar-Dl1kY_5e.js → vue-ui-sparkbar-BlvXLcfO.js} +1 -1
- package/dist/{vue-ui-sparkgauge-iJIT26xG.js → vue-ui-sparkgauge-CQmNePxu.js} +1 -1
- package/dist/{vue-ui-sparkhistogram-Bawjmfxu.js → vue-ui-sparkhistogram-CJatqy8x.js} +1 -1
- package/dist/{vue-ui-sparkline-CGVoLIcr.js → vue-ui-sparkline-5m7hFiMq.js} +1 -1
- package/dist/{vue-ui-sparkstackbar-CdlGAlFM.js → vue-ui-sparkstackbar-Z5g6L2Hj.js} +1 -1
- package/dist/{vue-ui-stackbar-Cjz4PvOG.js → vue-ui-stackbar-WrexTg8_.js} +53 -46
- package/dist/{vue-ui-strip-plot-DS84cU6V.js → vue-ui-strip-plot-DqX7yya9.js} +13 -6
- package/dist/{vue-ui-table-t9Shp522.js → vue-ui-table-BhrP9BCp.js} +2 -2
- package/dist/{vue-ui-table-heatmap-B4rjR34n.js → vue-ui-table-heatmap-BqCEBoUf.js} +1 -1
- package/dist/{vue-ui-table-sparkline-CAqqSvhG.js → vue-ui-table-sparkline-BECa8n5_.js} +1 -1
- package/dist/{vue-ui-thermometer-CKciCjTK.js → vue-ui-thermometer-BxBGrsSR.js} +83 -76
- package/dist/{vue-ui-timer-CNwoVRn5.js → vue-ui-timer-BbHY5Ed5.js} +1 -1
- package/dist/{vue-ui-tiremarks-Dxp9rcJi.js → vue-ui-tiremarks-DzL3Sc1f.js} +43 -36
- package/dist/{vue-ui-treemap-D4cRZ9SZ.js → vue-ui-treemap-DoHoS5NK.js} +114 -107
- package/dist/{vue-ui-vertical-bar-Cz6yCNYK.js → vue-ui-vertical-bar-D0N5btU-.js} +89 -82
- package/dist/{vue-ui-waffle-BhQ0m4Ia.js → vue-ui-waffle-CTt7dxCY.js} +41 -34
- package/dist/{vue-ui-wheel-Bh_G3WQQ.js → vue-ui-wheel--TIPvQ9I.js} +132 -125
- package/dist/{vue-ui-word-cloud-Bk2yP7oQ.js → vue-ui-word-cloud-D5pZq4Jq.js} +116 -109
- package/dist/{vue-ui-world-C_eUAzmI.js → vue-ui-world-BERHgePa.js} +71 -64
- package/dist/{vue-ui-xy-BDc2EKMr.js → vue-ui-xy-BI5stV8f.js} +163 -156
- package/dist/{vue-ui-xy-canvas-BGl_2pHw.js → vue-ui-xy-canvas-DXnLFwW3.js} +1 -1
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { watchEffect as Jt, nextTick as Se, useCssVars as Qt, defineAsyncComponent as oe, 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 n, openBlock as u, normalizeStyle as A, normalizeClass as fe, createBlock as ge, createCommentVNode as p, createElementVNode as b, createVNode as Ce, unref as i, createSlots as yt, withCtx as
|
|
1
|
+
import { watchEffect as Jt, nextTick as Se, useCssVars as Qt, defineAsyncComponent as oe, 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 n, openBlock as u, normalizeStyle as A, normalizeClass as fe, createBlock as ge, createCommentVNode as p, createElementVNode as b, createVNode as Ce, unref as i, createSlots as yt, withCtx as S, renderSlot as L, normalizeProps as se, guardReactiveProps as ue, Fragment as T, renderList as D, withDirectives as ft, createTextVNode as Xe, toDisplayString as _, vShow as ll, resolveDynamicComponent as al, mergeProps as ol, withKeys as sl } from "vue";
|
|
2
2
|
import { c as Ie, t as ul, O as il, o as gt, f as pt, ae as pe, g as nl, X as rl, J as Le, a as Y, d as X, x as W, 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
4
|
import { u as gl, a as bt } from "./useNestedProp-BjZe1Y85.js";
|
|
@@ -20,8 +20,8 @@ function Ve({ elementRef: y, callback: R, attr: B, earlyReturn: I = !1 }) {
|
|
|
20
20
|
(j) => {
|
|
21
21
|
const x = y.value;
|
|
22
22
|
if (!x) return;
|
|
23
|
-
const V = new ResizeObserver((
|
|
24
|
-
const q =
|
|
23
|
+
const V = new ResizeObserver(($) => {
|
|
24
|
+
const q = $[0]?.contentRect;
|
|
25
25
|
let f;
|
|
26
26
|
if (q && q[B] != null)
|
|
27
27
|
f = q[B];
|
|
@@ -37,7 +37,7 @@ function Ve({ elementRef: y, callback: R, attr: B, earlyReturn: I = !1 }) {
|
|
|
37
37
|
V.observe(x), Se(() => {
|
|
38
38
|
requestAnimationFrame(() => {
|
|
39
39
|
if (!y.value) return;
|
|
40
|
-
const
|
|
40
|
+
const $ = y.value.getBoundingClientRect(), E = B === "width" ? $.width : $.height;
|
|
41
41
|
typeof E == "number" && !Number.isNaN(E) && R(E);
|
|
42
42
|
});
|
|
43
43
|
}), j(() => V.disconnect());
|
|
@@ -45,7 +45,7 @@ function Ve({ elementRef: y, callback: R, attr: B, earlyReturn: I = !1 }) {
|
|
|
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
|
},
|
|
@@ -60,7 +60,7 @@ function wt(y, {
|
|
|
60
60
|
minFontSize: j,
|
|
61
61
|
index: x,
|
|
62
62
|
reportRotation: V,
|
|
63
|
-
reportHide:
|
|
63
|
+
reportHide: $,
|
|
64
64
|
rotateAll: E,
|
|
65
65
|
hideAll: q
|
|
66
66
|
}) {
|
|
@@ -69,10 +69,10 @@ function wt(y, {
|
|
|
69
69
|
y.setAttribute("font-size", I);
|
|
70
70
|
const ee = y.getComputedTextLength();
|
|
71
71
|
if (ee <= R)
|
|
72
|
-
V(x, !1),
|
|
72
|
+
V(x, !1), $(x, !1);
|
|
73
73
|
else {
|
|
74
74
|
const F = Math.floor(I * R / ee);
|
|
75
|
-
F >= j ? (y.setAttribute("font-size", F), V(x, !1),
|
|
75
|
+
F >= j ? (y.setAttribute("font-size", F), V(x, !1), $(x, !1)) : (V(x, !0), $(x, !1), f = !0);
|
|
76
76
|
}
|
|
77
77
|
if (E && (f = !0), f) {
|
|
78
78
|
y.setAttribute("font-size", I);
|
|
@@ -80,15 +80,15 @@ function wt(y, {
|
|
|
80
80
|
y.setAttribute("transform", `rotate(-90 ${z} ${ie})`);
|
|
81
81
|
const te = y.getBBox().width;
|
|
82
82
|
if (te <= B)
|
|
83
|
-
|
|
83
|
+
$(x, !1);
|
|
84
84
|
else {
|
|
85
85
|
const ne = Math.floor(I * B / te);
|
|
86
|
-
ne >= j ? (y.setAttribute("font-size", ne),
|
|
86
|
+
ne >= j ? (y.setAttribute("font-size", ne), $(x, !1)) : (K = !0, $(x, !0));
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
89
|
(q || K) && y.setAttribute("visibility", "hidden");
|
|
90
90
|
}
|
|
91
|
-
const
|
|
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,
|
|
93
93
|
class: "vue-data-ui-watermark"
|
|
94
94
|
}, Kl = { class: "vue-ui-data-table" }, Jl = { key: 0 }, Ql = ["data-cell"], Zl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ea = ["data-cell"], ta = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, la = {
|
|
@@ -110,16 +110,16 @@ const $l = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
|
|
|
110
110
|
emits: ["selectDatapoint"],
|
|
111
111
|
setup(y, { expose: R, emit: B }) {
|
|
112
112
|
Qt((t) => ({
|
|
113
|
-
|
|
113
|
+
v10a17c55: t.tdo
|
|
114
114
|
}));
|
|
115
|
-
const I = oe(() => import("./Tooltip-oWCO1HKy.js")), j = oe(() => import("./BaseIcon-BmMbm4d0.js")), x = oe(() => import("./PenAndPaper-DSvu9dwa.js")), V = oe(() => import("./UserOptions-
|
|
115
|
+
const I = oe(() => import("./Tooltip-oWCO1HKy.js")), j = oe(() => import("./BaseIcon-BmMbm4d0.js")), x = oe(() => import("./PenAndPaper-DSvu9dwa.js")), V = oe(() => import("./UserOptions-CGnQt6Fd.js")), $ = oe(() => import("./PackageVersion-D-auaEEJ.js")), E = oe(() => import("./BaseDraggableDialog-ymf2sfB8.js")), { vue_ui_heatmap: q } = gl(), f = y, K = B, ee = 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), ie = d(!1), te = d(""), ne = 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),
|
|
122
|
+
}), F = d(Ie()), z = d(null), ie = d(!1), te = d(""), ne = 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), le = 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) {
|
|
@@ -204,7 +204,7 @@ const $l = ["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), U = d(null), lt = g(() => !!e.value.debug);
|
|
208
208
|
function Ne() {
|
|
209
209
|
if (gt(f.dataset) && (pt({
|
|
210
210
|
componentName: "VueUiHeatmap",
|
|
@@ -232,13 +232,13 @@ const $l = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
|
|
|
232
232
|
}), tl(() => {
|
|
233
233
|
Ne();
|
|
234
234
|
});
|
|
235
|
-
const H = g(() => Math.max(...w.value.flatMap((t) => (t.values || []).length))), ce = d(e.value.style.layout.width), de = d(e.value.style.layout.height),
|
|
235
|
+
const H = g(() => Math.max(...w.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
|
-
})), he = d(0),
|
|
238
|
+
})), he = d(0), zt = Te((t) => {
|
|
239
239
|
he.value = t;
|
|
240
240
|
}, 100);
|
|
241
|
-
Ve({ elementRef:
|
|
241
|
+
Ve({ elementRef: $e, callback: zt, attr: "height" });
|
|
242
242
|
const ae = d(0), Ot = Te((t) => {
|
|
243
243
|
ae.value = t;
|
|
244
244
|
}, 100);
|
|
@@ -246,16 +246,16 @@ const $l = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
|
|
|
246
246
|
const me = d(0), Mt = Te((t) => {
|
|
247
247
|
me.value = t;
|
|
248
248
|
}, 100);
|
|
249
|
-
Ve({ elementRef:
|
|
249
|
+
Ve({ elementRef: ze, callback: Mt, attr: "height" }), dt(() => {
|
|
250
250
|
he.value = 0, ae.value = 0, me.value = 0;
|
|
251
251
|
});
|
|
252
|
-
const r = g(() => Math.min(
|
|
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 =
|
|
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, k = {
|
|
256
256
|
x: r.value * H.value,
|
|
257
257
|
y: r.value * ((w.value || []).length + 1)
|
|
258
|
-
}, P =
|
|
258
|
+
}, P = O.value.width - s.left - s.right - k.x - c * 2 - 2 - t - ae.value, h = v - c - k.y - me.value - o - e.value.style.layout.cells.columnTotal.value.offsetY, C = {
|
|
259
259
|
width: Math.max(3, P / H.value),
|
|
260
260
|
height: Math.max(3, h / (w.value.length ?? 1))
|
|
261
261
|
};
|
|
@@ -266,7 +266,7 @@ const $l = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
|
|
|
266
266
|
height: h,
|
|
267
267
|
left: s.left + ae.value + c / 2,
|
|
268
268
|
right: s.right - t,
|
|
269
|
-
bottom:
|
|
269
|
+
bottom: O.value.height - s.bottom - me.value,
|
|
270
270
|
width: P,
|
|
271
271
|
cellSize: C
|
|
272
272
|
};
|
|
@@ -469,7 +469,7 @@ const $l = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
|
|
|
469
469
|
end: H.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,
|
|
@@ -481,7 +481,7 @@ const $l = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
|
|
|
481
481
|
width: ce,
|
|
482
482
|
height: de
|
|
483
483
|
}), xt({
|
|
484
|
-
timeLabelsEls:
|
|
484
|
+
timeLabelsEls: ze,
|
|
485
485
|
timeLabels: vt,
|
|
486
486
|
slicer: rt,
|
|
487
487
|
configRef: e,
|
|
@@ -526,7 +526,7 @@ const $l = ["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
531
|
M.value.showTable = !1, _e.value && _e.value.setTableIconState(!1);
|
|
532
532
|
}
|
|
@@ -637,59 +637,66 @@ const $l = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
|
|
|
637
637
|
}, yt({ _: 2 }, [
|
|
638
638
|
t.$slots.menuIcon ? {
|
|
639
639
|
name: "menuIcon",
|
|
640
|
-
fn:
|
|
641
|
-
|
|
640
|
+
fn: S(({ isOpen: a, color: o }) => [
|
|
641
|
+
L(t.$slots, "menuIcon", se(ue({ isOpen: a, color: o })), void 0, !0)
|
|
642
642
|
]),
|
|
643
643
|
key: "0"
|
|
644
644
|
} : void 0,
|
|
645
645
|
t.$slots.optionTooltip ? {
|
|
646
646
|
name: "optionTooltip",
|
|
647
|
-
fn:
|
|
648
|
-
|
|
647
|
+
fn: S(() => [
|
|
648
|
+
L(t.$slots, "optionTooltip", {}, void 0, !0)
|
|
649
649
|
]),
|
|
650
650
|
key: "1"
|
|
651
651
|
} : void 0,
|
|
652
652
|
t.$slots.optionPdf ? {
|
|
653
653
|
name: "optionPdf",
|
|
654
|
-
fn:
|
|
655
|
-
|
|
654
|
+
fn: S(() => [
|
|
655
|
+
L(t.$slots, "optionPdf", {}, void 0, !0)
|
|
656
656
|
]),
|
|
657
657
|
key: "2"
|
|
658
658
|
} : void 0,
|
|
659
659
|
t.$slots.optionCsv ? {
|
|
660
660
|
name: "optionCsv",
|
|
661
|
-
fn:
|
|
662
|
-
|
|
661
|
+
fn: S(() => [
|
|
662
|
+
L(t.$slots, "optionCsv", {}, void 0, !0)
|
|
663
663
|
]),
|
|
664
664
|
key: "3"
|
|
665
665
|
} : void 0,
|
|
666
666
|
t.$slots.optionImg ? {
|
|
667
667
|
name: "optionImg",
|
|
668
|
-
fn:
|
|
669
|
-
|
|
668
|
+
fn: S(() => [
|
|
669
|
+
L(t.$slots, "optionImg", {}, void 0, !0)
|
|
670
670
|
]),
|
|
671
671
|
key: "4"
|
|
672
672
|
} : void 0,
|
|
673
|
+
t.$slots.optionSvg ? {
|
|
674
|
+
name: "optionSvg",
|
|
675
|
+
fn: S(() => [
|
|
676
|
+
L(t.$slots, "optionSvg", {}, void 0, !0)
|
|
677
|
+
]),
|
|
678
|
+
key: "5"
|
|
679
|
+
} : void 0,
|
|
673
680
|
t.$slots.optionTable ? {
|
|
674
681
|
name: "optionTable",
|
|
675
|
-
fn:
|
|
676
|
-
|
|
682
|
+
fn: S(() => [
|
|
683
|
+
L(t.$slots, "optionTable", {}, void 0, !0)
|
|
677
684
|
]),
|
|
678
|
-
key: "
|
|
685
|
+
key: "6"
|
|
679
686
|
} : void 0,
|
|
680
687
|
t.$slots.optionFullscreen ? {
|
|
681
688
|
name: "optionFullscreen",
|
|
682
|
-
fn:
|
|
683
|
-
|
|
689
|
+
fn: S(({ toggleFullscreen: a, isFullscreen: o }) => [
|
|
690
|
+
L(t.$slots, "optionFullscreen", se(ue({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
|
|
684
691
|
]),
|
|
685
|
-
key: "
|
|
692
|
+
key: "7"
|
|
686
693
|
} : void 0,
|
|
687
694
|
t.$slots.optionAnnotator ? {
|
|
688
695
|
name: "optionAnnotator",
|
|
689
|
-
fn:
|
|
690
|
-
|
|
696
|
+
fn: S(({ toggleAnnotator: a, isAnnotator: o }) => [
|
|
697
|
+
L(t.$slots, "optionAnnotator", se(ue({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
|
|
691
698
|
]),
|
|
692
|
-
key: "
|
|
699
|
+
key: "8"
|
|
693
700
|
} : void 0
|
|
694
701
|
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasSvg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : p("", !0),
|
|
695
702
|
b("div", {
|
|
@@ -703,14 +710,14 @@ const $l = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
|
|
|
703
710
|
ref: Re,
|
|
704
711
|
xmlns: i(rl),
|
|
705
712
|
class: fe({ "vue-data-ui-fullscreen--on": Z.value, "vue-data-ui-fulscreen--off": !Z.value }),
|
|
706
|
-
viewBox: `0 0 ${
|
|
713
|
+
viewBox: `0 0 ${O.value.width} ${O.value.height}`,
|
|
707
714
|
width: "100%",
|
|
708
715
|
style: A(`overflow: visible; background:transparent;color:${e.value.style.color}`),
|
|
709
716
|
"aria-live": "polite",
|
|
710
717
|
role: "img",
|
|
711
718
|
preserveAspectRatio: "xMidYMid"
|
|
712
719
|
}, [
|
|
713
|
-
Ce(i(
|
|
720
|
+
Ce(i($)),
|
|
714
721
|
t.$slots["chart-background"] ? (u(), n("foreignObject", {
|
|
715
722
|
key: 0,
|
|
716
723
|
x: l.value.left,
|
|
@@ -721,25 +728,25 @@ const $l = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
|
|
|
721
728
|
pointerEvents: "none"
|
|
722
729
|
}
|
|
723
730
|
}, [
|
|
724
|
-
|
|
731
|
+
L(t.$slots, "chart-background", {}, void 0, !0)
|
|
725
732
|
], 8, Ml)) : p("", !0),
|
|
726
733
|
e.value.style.layout.cells.columnTotal.color.show ? (u(), n("g", {
|
|
727
734
|
key: 1,
|
|
728
735
|
ref_key: "xAxisSumRects",
|
|
729
736
|
ref: Lt
|
|
730
737
|
}, [
|
|
731
|
-
(u(!0), n(
|
|
738
|
+
(u(!0), n(T, null, D(m.value.xTotals, (a, o) => (u(), n("rect", {
|
|
732
739
|
x: l.value.left + l.value.cellSize.width * o + r.value / 2 + l.value.sumCellXHeight,
|
|
733
|
-
y: l.value.top - l.value.sumCellXHeight + r.value * (
|
|
740
|
+
y: l.value.top - l.value.sumCellXHeight + r.value * (O.value.height / O.value.width),
|
|
734
741
|
height: l.value.sumCellXHeight,
|
|
735
742
|
width: l.value.cellSize.width - r.value,
|
|
736
743
|
fill: e.value.style.layout.cells.colors.underlayer,
|
|
737
744
|
stroke: e.value.style.backgroundColor,
|
|
738
745
|
"stroke-width": r.value
|
|
739
746
|
}, null, 8, Rl))), 256)),
|
|
740
|
-
(u(!0), n(
|
|
747
|
+
(u(!0), n(T, null, D(m.value.xTotals, (a, o) => (u(), n("rect", {
|
|
741
748
|
x: l.value.left + l.value.cellSize.width * o + r.value / 2 + l.value.sumCellXHeight,
|
|
742
|
-
y: l.value.top - l.value.sumCellXHeight + r.value * (
|
|
749
|
+
y: l.value.top - l.value.sumCellXHeight + r.value * (O.value.height / O.value.width),
|
|
743
750
|
height: l.value.sumCellXHeight,
|
|
744
751
|
width: l.value.cellSize.width - r.value,
|
|
745
752
|
fill: a.color,
|
|
@@ -751,8 +758,8 @@ const $l = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
|
|
|
751
758
|
ref_key: "datapoints",
|
|
752
759
|
ref: kt
|
|
753
760
|
}, [
|
|
754
|
-
(u(!0), n(
|
|
755
|
-
(u(!0), n(
|
|
761
|
+
(u(!0), n(T, null, D(Q.value, (a, o) => (u(), n(T, null, [
|
|
762
|
+
(u(!0), n(T, null, D(a.temperatures, (v, c) => (u(), n("g", null, [
|
|
756
763
|
b("rect", {
|
|
757
764
|
x: l.value.left + l.value.cellSize.width * c + r.value / 2 + l.value.sumCellXHeight,
|
|
758
765
|
y: l.value.top + l.value.cellSize.height * o + r.value / 2,
|
|
@@ -784,7 +791,7 @@ const $l = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
|
|
|
784
791
|
y: l.value.top + l.value.cellSize.height * o + l.value.cellSize.height / 2 + e.value.style.layout.cells.value.fontSize / 3,
|
|
785
792
|
style: { pointerEvents: "none", userSelect: "none" }
|
|
786
793
|
}, [
|
|
787
|
-
Xe(
|
|
794
|
+
Xe(_(i(Y)(
|
|
788
795
|
e.value.style.layout.cells.value.formatter,
|
|
789
796
|
v.value,
|
|
790
797
|
i(X)({
|
|
@@ -796,7 +803,7 @@ const $l = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
|
|
|
796
803
|
{ datapoint: v }
|
|
797
804
|
)), 1)
|
|
798
805
|
], 8, Bl)), [
|
|
799
|
-
[i(
|
|
806
|
+
[i($l), {
|
|
800
807
|
cellWidth: l.value.cellSize.width - r.value,
|
|
801
808
|
cellHeight: l.value.cellSize.height - r.value,
|
|
802
809
|
maxFontSize: e.value.style.layout.cells.value.fontSize,
|
|
@@ -816,7 +823,7 @@ const $l = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
|
|
|
816
823
|
ref_key: "yAxisSumRects",
|
|
817
824
|
ref: Ct
|
|
818
825
|
}, [
|
|
819
|
-
(u(!0), n(
|
|
826
|
+
(u(!0), n(T, null, D(Q.value, (a, o) => (u(), n(T, null, [
|
|
820
827
|
b("rect", {
|
|
821
828
|
x: l.value.left,
|
|
822
829
|
y: l.value.top + l.value.cellSize.height * o,
|
|
@@ -842,7 +849,7 @@ const $l = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
|
|
|
842
849
|
ref_key: "yAxisLabels",
|
|
843
850
|
ref: je
|
|
844
851
|
}, [
|
|
845
|
-
(u(!0), n(
|
|
852
|
+
(u(!0), n(T, null, D(Q.value, (a, o) => (u(), n(T, null, [
|
|
846
853
|
b("text", {
|
|
847
854
|
class: "vue-ui-heatmap-row-name",
|
|
848
855
|
"font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
|
|
@@ -851,7 +858,7 @@ const $l = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
|
|
|
851
858
|
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),
|
|
852
859
|
"text-anchor": "end",
|
|
853
860
|
"font-weight": e.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal"
|
|
854
|
-
},
|
|
861
|
+
}, _(m.value.yLabels[o]), 9, Xl),
|
|
855
862
|
e.value.style.layout.cells.rowTotal.value.show ? (u(), n("text", {
|
|
856
863
|
key: 0,
|
|
857
864
|
class: "vue-ui-heatmap-row-total",
|
|
@@ -861,15 +868,15 @@ const $l = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
|
|
|
861
868
|
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,
|
|
862
869
|
"text-anchor": "end",
|
|
863
870
|
"font-weight": e.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal"
|
|
864
|
-
},
|
|
871
|
+
}, _(It(o)), 9, Il)) : p("", !0)
|
|
865
872
|
], 64))), 256))
|
|
866
873
|
], 512)) : p("", !0),
|
|
867
874
|
e.value.style.layout.dataLabels.xAxis.show ? (u(), n("g", {
|
|
868
875
|
key: 4,
|
|
869
876
|
ref_key: "xAxisLabels",
|
|
870
|
-
ref:
|
|
877
|
+
ref: $e
|
|
871
878
|
}, [
|
|
872
|
-
(u(!0), n(
|
|
879
|
+
(u(!0), n(T, null, D(m.value.xLabels, (a, o) => (u(), n(T, null, [
|
|
873
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(), n("text", {
|
|
874
881
|
key: 0,
|
|
875
882
|
class: "vue-ui-heatmap-col-name",
|
|
@@ -878,22 +885,22 @@ const $l = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
|
|
|
878
885
|
fill: e.value.style.layout.dataLabels.xAxis.color,
|
|
879
886
|
"font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
|
|
880
887
|
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})`
|
|
881
|
-
},
|
|
888
|
+
}, _(a), 9, Vl)) : p("", !0)
|
|
882
889
|
], 64))), 256))
|
|
883
890
|
], 512)) : p("", !0),
|
|
884
891
|
e.value.style.layout.cells.columnTotal.value.show ? (u(), n("g", {
|
|
885
892
|
key: 5,
|
|
886
893
|
ref_key: "xAxisSums",
|
|
887
|
-
ref:
|
|
894
|
+
ref: ze
|
|
888
895
|
}, [
|
|
889
|
-
(u(!0), n(
|
|
896
|
+
(u(!0), n(T, null, D(m.value.xLabels, (a, o) => (u(), n("text", {
|
|
890
897
|
class: "vue-ui-heatmap-col-total",
|
|
891
898
|
"text-anchor": e.value.style.layout.cells.columnTotal.value.rotation === 0 ? "middle" : e.value.style.layout.cells.columnTotal.value.rotation < 0 ? "end" : "start",
|
|
892
899
|
"font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
|
|
893
900
|
fill: e.value.style.layout.dataLabels.xAxis.color,
|
|
894
901
|
"font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
|
|
895
902
|
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})`
|
|
896
|
-
},
|
|
903
|
+
}, _(Vt(o)), 9, El))), 256))
|
|
897
904
|
], 512)) : p("", !0),
|
|
898
905
|
re.value ? (u(), n("g", Ul, [
|
|
899
906
|
b("rect", {
|
|
@@ -908,7 +915,7 @@ const $l = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
|
|
|
908
915
|
rx: 1
|
|
909
916
|
}, null, 8, Gl)
|
|
910
917
|
])) : p("", !0),
|
|
911
|
-
|
|
918
|
+
L(t.$slots, "svg", { svg: O.value }, void 0, !0)
|
|
912
919
|
], 14, Ol)),
|
|
913
920
|
e.value.style.legend.show ? (u(), n("div", {
|
|
914
921
|
key: 0,
|
|
@@ -926,7 +933,7 @@ const $l = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
|
|
|
926
933
|
fontSize: e.value.style.legend.fontSize + "px",
|
|
927
934
|
color: e.value.style.legend.color
|
|
928
935
|
})
|
|
929
|
-
},
|
|
936
|
+
}, _(i(Y)(
|
|
930
937
|
e.value.style.layout.cells.value.formatter,
|
|
931
938
|
i(W)(G.value),
|
|
932
939
|
i(X)({
|
|
@@ -969,7 +976,7 @@ const $l = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
|
|
|
969
976
|
"--gauge-arrow-font-size": e.value.style.legend.fontSize + "px"
|
|
970
977
|
})
|
|
971
978
|
}, [
|
|
972
|
-
b("div", jl,
|
|
979
|
+
b("div", jl, _(i(Y)(
|
|
973
980
|
e.value.style.layout.cells.value.formatter,
|
|
974
981
|
i(W)(N.value),
|
|
975
982
|
i(X)({
|
|
@@ -991,7 +998,7 @@ const $l = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
|
|
|
991
998
|
fontSize: e.value.style.legend.fontSize + "px",
|
|
992
999
|
color: e.value.style.legend.color
|
|
993
1000
|
})
|
|
994
|
-
},
|
|
1001
|
+
}, _(i(Y)(
|
|
995
1002
|
e.value.style.layout.cells.value.formatter,
|
|
996
1003
|
i(W)(ye.value),
|
|
997
1004
|
i(X)({
|
|
@@ -1004,7 +1011,7 @@ const $l = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
|
|
|
1004
1011
|
], 4)) : p("", !0)
|
|
1005
1012
|
], 2),
|
|
1006
1013
|
t.$slots.watermark ? (u(), n("div", ql, [
|
|
1007
|
-
|
|
1014
|
+
L(t.$slots, "watermark", se(ue({ isPrinting: i(Qe) || i(Ze) })), void 0, !0)
|
|
1008
1015
|
])) : p("", !0),
|
|
1009
1016
|
t.$slots.source ? (u(), n("div", {
|
|
1010
1017
|
key: 5,
|
|
@@ -1012,7 +1019,7 @@ const $l = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
|
|
|
1012
1019
|
ref: qe,
|
|
1013
1020
|
dir: "auto"
|
|
1014
1021
|
}, [
|
|
1015
|
-
|
|
1022
|
+
L(t.$slots, "source", {}, void 0, !0)
|
|
1016
1023
|
], 512)) : p("", !0),
|
|
1017
1024
|
Ce(i(I), {
|
|
1018
1025
|
show: M.value.showTooltip && ie.value,
|
|
@@ -1034,11 +1041,11 @@ const $l = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
|
|
|
1034
1041
|
smoothForce: e.value.style.tooltip.smoothForce,
|
|
1035
1042
|
smoothSnapThreshold: e.value.style.tooltip.smoothSnapThreshold
|
|
1036
1043
|
}, {
|
|
1037
|
-
"tooltip-before":
|
|
1038
|
-
|
|
1044
|
+
"tooltip-before": S(() => [
|
|
1045
|
+
L(t.$slots, "tooltip-before", se(ue({ ...xe.value })), void 0, !0)
|
|
1039
1046
|
]),
|
|
1040
|
-
"tooltip-after":
|
|
1041
|
-
|
|
1047
|
+
"tooltip-after": S(() => [
|
|
1048
|
+
L(t.$slots, "tooltip-after", se(ue({ ...xe.value })), void 0, !0)
|
|
1042
1049
|
]),
|
|
1043
1050
|
_: 3
|
|
1044
1051
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
|
|
@@ -1047,7 +1054,7 @@ const $l = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
|
|
|
1047
1054
|
ref: ve,
|
|
1048
1055
|
onClose: He
|
|
1049
1056
|
}), yt({
|
|
1050
|
-
content:
|
|
1057
|
+
content: S(() => [
|
|
1051
1058
|
b("div", {
|
|
1052
1059
|
ref_key: "tableContainer",
|
|
1053
1060
|
ref: Ue,
|
|
@@ -1077,8 +1084,8 @@ const $l = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
|
|
|
1077
1084
|
key: 0,
|
|
1078
1085
|
style: A(`backgroundColor:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
|
|
1079
1086
|
}, [
|
|
1080
|
-
Xe(
|
|
1081
|
-
e.value.style.title.subtitle.text ? (u(), n("span", Jl,
|
|
1087
|
+
Xe(_(e.value.style.title.text) + " ", 1),
|
|
1088
|
+
e.value.style.title.subtitle.text ? (u(), n("span", Jl, _(e.value.style.title.subtitle.text), 1)) : p("", !0)
|
|
1082
1089
|
], 4)),
|
|
1083
1090
|
b("thead", null, [
|
|
1084
1091
|
b("tr", {
|
|
@@ -1088,14 +1095,14 @@ const $l = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
|
|
|
1088
1095
|
b("th", {
|
|
1089
1096
|
style: A(`outline:${e.value.table.th.outline};padding-right:6px`)
|
|
1090
1097
|
}, null, 4),
|
|
1091
|
-
(u(!0), n(
|
|
1098
|
+
(u(!0), n(T, null, D(y.dataset, (a, o) => (u(), n("th", {
|
|
1092
1099
|
align: "right",
|
|
1093
1100
|
style: A(`outline:${e.value.table.th.outline};padding-right:6px`)
|
|
1094
|
-
},
|
|
1101
|
+
}, _(a.name), 5))), 256))
|
|
1095
1102
|
], 4)
|
|
1096
1103
|
]),
|
|
1097
1104
|
b("tbody", null, [
|
|
1098
|
-
(u(!0), n(
|
|
1105
|
+
(u(!0), n(T, null, D(m.value.xLabels, (a, o) => (u(), n("tr", {
|
|
1099
1106
|
role: "row",
|
|
1100
1107
|
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 }),
|
|
1101
1108
|
style: A(`background:${e.value.table.td.backgroundColor};color:${e.value.table.td.color}`)
|
|
@@ -1105,14 +1112,14 @@ const $l = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
|
|
|
1105
1112
|
class: "vue-ui-data-table__tbody__td",
|
|
1106
1113
|
style: A(`outline:${e.value.table.td.outline}`)
|
|
1107
1114
|
}, [
|
|
1108
|
-
b("div", Zl,
|
|
1115
|
+
b("div", Zl, _(a), 1)
|
|
1109
1116
|
], 12, Ql),
|
|
1110
|
-
(u(!0), n(
|
|
1117
|
+
(u(!0), n(T, null, D(y.dataset, (v, c) => (u(), n("td", {
|
|
1111
1118
|
class: "vue-ui-data-table__tbody__td",
|
|
1112
1119
|
"data-cell": y.dataset[c].name,
|
|
1113
1120
|
style: A(`outline:${e.value.table.td.outline}`)
|
|
1114
1121
|
}, [
|
|
1115
|
-
b("div", ta,
|
|
1122
|
+
b("div", ta, _(isNaN(v.values[o]) ? "-" : i(X)({ 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)
|
|
1116
1123
|
], 12, ea))), 256))
|
|
1117
1124
|
], 6))), 256))
|
|
1118
1125
|
])
|
|
@@ -1124,14 +1131,14 @@ const $l = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
|
|
|
1124
1131
|
}, [
|
|
1125
1132
|
e.value.table.useDialog ? {
|
|
1126
1133
|
name: "title",
|
|
1127
|
-
fn:
|
|
1128
|
-
Xe(
|
|
1134
|
+
fn: S(() => [
|
|
1135
|
+
Xe(_(ke.value.title), 1)
|
|
1129
1136
|
]),
|
|
1130
1137
|
key: "0"
|
|
1131
1138
|
} : void 0,
|
|
1132
1139
|
e.value.table.useDialog ? {
|
|
1133
1140
|
name: "actions",
|
|
1134
|
-
fn:
|
|
1141
|
+
fn: S(() => [
|
|
1135
1142
|
b("button", {
|
|
1136
1143
|
tabindex: "0",
|
|
1137
1144
|
class: "vue-ui-user-options-button",
|
|
@@ -1147,9 +1154,9 @@ const $l = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
|
|
|
1147
1154
|
} : void 0
|
|
1148
1155
|
]), 1040)) : p("", !0),
|
|
1149
1156
|
i(be) ? (u(), ge(ml, { key: 7 })) : p("", !0)
|
|
1150
|
-
], 46,
|
|
1157
|
+
], 46, zl));
|
|
1151
1158
|
}
|
|
1152
|
-
}, xa = /* @__PURE__ */ _l(la, [["__scopeId", "data-v-
|
|
1159
|
+
}, xa = /* @__PURE__ */ _l(la, [["__scopeId", "data-v-194eb27b"]]);
|
|
1153
1160
|
export {
|
|
1154
1161
|
xa as default
|
|
1155
1162
|
};
|