vue-data-ui 3.1.4 → 3.1.6
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-COJRk3pc.js → Arrow-DtlAIKPQ.js} +1 -1
- package/dist/{BaseDraggableDialog-BdAp3qr9.js → BaseDraggableDialog-BVZPPMT9.js} +2 -2
- package/dist/{BaseIcon-B5nQNkmd.js → BaseIcon-D_BjQBAR.js} +1 -1
- package/dist/{ColorPicker-CPqHwp1V.js → ColorPicker-BeJGNqJl.js} +2 -2
- package/dist/{DataTable-CzO3oHys.js → DataTable-IycMkaTU.js} +2 -2
- package/dist/{Legend-BQqnf4BN.js → Legend-D7l8BJ7z.js} +2 -2
- package/dist/{NonSvgPenAndPaper-D_g27Foy.js → NonSvgPenAndPaper-BK5M9Lt9.js} +3 -3
- package/dist/{PackageVersion-7CxQB-mx.js → PackageVersion-BtfT0hV9.js} +1 -1
- package/dist/{PenAndPaper-C8hICPzL.js → PenAndPaper-BdzDJYnr.js} +3 -3
- package/dist/{Shape-BEVQVI0z.js → Shape-DD3SLpa4.js} +1 -1
- package/dist/Slicer-DoGlWyq_.js +596 -0
- package/dist/{SparkTooltip-BSgzljwP.js → SparkTooltip-DAfofSes.js} +1 -1
- package/dist/{Title-nHtPyPd9.js → Title-DbQthJAs.js} +1 -1
- package/dist/Tooltip-DvtYLrX2.js +200 -0
- package/dist/{UserOptions-D3pVnvAB.js → UserOptions-Dd5XOrwq.js} +2 -2
- package/dist/{dom-to-png-CcijTM69.js → dom-to-png-j6qE-sAL.js} +1 -1
- package/dist/{img-Bl0o2UAr.js → img-DLgjML7h.js} +1 -1
- package/dist/{index-INqbM37s.js → index-C0wrF8hm.js} +6 -2
- package/dist/{pdf-BeeAdG2m.js → pdf-Csglybwj.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +4 -0
- package/dist/types/vue-data-ui.d.ts +4 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-DXkvjSDn.js → useAutoSizeLabelsInsideViewbox-Bj3DhGbZ.js} +1 -1
- package/dist/{useNestedProp-BKprMEaB.js → useNestedProp-Bg2FlIgI.js} +1 -1
- package/dist/{usePrinter-9WO5mDzj.js → usePrinter-C2jvouU0.js} +2 -2
- package/dist/{vue-data-ui-IMHc9Ta4.js → vue-data-ui-DaOijb0V.js} +64 -64
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-D-1TVi2s.js → vue-ui-3d-bar-BbW6NaRc.js} +8 -8
- package/dist/{vue-ui-accordion-CQZjxT5U.js → vue-ui-accordion-3JuSLBjV.js} +3 -3
- package/dist/{vue-ui-age-pyramid-B31NbBxS.js → vue-ui-age-pyramid-D94C1TOK.js} +44 -42
- package/dist/{vue-ui-annotator-BmFYtzWW.js → vue-ui-annotator-Jq_yw0h7.js} +2 -2
- package/dist/{vue-ui-bullet-BvMlcux3.js → vue-ui-bullet-ajwy7d-R.js} +7 -7
- package/dist/{vue-ui-candlestick-CCrNcgjy.js → vue-ui-candlestick-vMGbmNWA.js} +87 -85
- package/dist/{vue-ui-carousel-table-DrGj7_CL.js → vue-ui-carousel-table-DydTCm2Z.js} +4 -4
- package/dist/{vue-ui-chestnut-Dz0E-AxZ.js → vue-ui-chestnut-D6AP76wU.js} +37 -37
- package/dist/{vue-ui-chord-BxOzgPka.js → vue-ui-chord-Du8GJXPN.js} +11 -11
- package/dist/{vue-ui-circle-pack-CaWwzEF0.js → vue-ui-circle-pack-C-C3OGW_.js} +232 -228
- package/dist/{vue-ui-cursor-CG-oJITu.js → vue-ui-cursor-B70FlDqP.js} +2 -2
- package/dist/{vue-ui-dashboard-BFLQYXuo.js → vue-ui-dashboard-DrFCH7LP.js} +67 -67
- package/dist/{vue-ui-digits-BlZsS_qz.js → vue-ui-digits-CQy-vOC2.js} +2 -2
- package/dist/{vue-ui-donut-COXIRkz4.js → vue-ui-donut-D0RdN18d.js} +53 -51
- package/dist/{vue-ui-donut-evolution-DSGLD4z5.js → vue-ui-donut-evolution-naYIvk-b.js} +38 -38
- package/dist/{vue-ui-dumbbell-DgUPMy2W.js → vue-ui-dumbbell-D6b7WMTy.js} +84 -84
- package/dist/{vue-ui-flow-E8_jp5Qc.js → vue-ui-flow-Dh8_ii-s.js} +82 -80
- package/dist/{vue-ui-funnel-NMcBpYTQ.js → vue-ui-funnel-Ct4e9chO.js} +31 -31
- package/dist/{vue-ui-galaxy-Cay4NZ6o.js → vue-ui-galaxy-Dqklv14X.js} +49 -47
- package/dist/{vue-ui-gauge-DWOH8_Z2.js → vue-ui-gauge-D-vHj5J1.js} +7 -7
- package/dist/{vue-ui-gizmo-DtZu2tcU.js → vue-ui-gizmo-Cn0d1lVH.js} +3 -3
- package/dist/{vue-ui-heatmap-Dk5515tQ.js → vue-ui-heatmap-BpcoDwpi.js} +69 -67
- package/dist/{vue-ui-history-plot-X_jPheWu.js → vue-ui-history-plot-D8tmNUHo.js} +148 -146
- package/dist/{vue-ui-kpi-DwNsapLR.js → vue-ui-kpi-88Bguk6S.js} +3 -3
- package/dist/{vue-ui-mini-loader-uyATuTz5.js → vue-ui-mini-loader-VDpWxyls.js} +2 -2
- package/dist/{vue-ui-molecule-BOeCt8b2.js → vue-ui-molecule-Cn8yeJLZ.js} +63 -61
- package/dist/{vue-ui-mood-radar-BeHjc5Ty.js → vue-ui-mood-radar-DidC77_K.js} +9 -9
- package/dist/{vue-ui-nested-donuts-CPoaD2py.js → vue-ui-nested-donuts-D1EZ91Wm.js} +71 -69
- package/dist/{vue-ui-onion-C8H8i77u.js → vue-ui-onion-B_mir5Ax.js} +40 -37
- package/dist/{vue-ui-parallel-coordinate-plot-Cblzs6mf.js → vue-ui-parallel-coordinate-plot-DRbJyqiQ.js} +54 -52
- package/dist/{vue-ui-quadrant-BLYsMAey.js → vue-ui-quadrant-D7ihdCkd.js} +204 -202
- package/dist/{vue-ui-quick-chart-D-7cooqG.js → vue-ui-quick-chart-Dwc1xJtX.js} +63 -61
- package/dist/{vue-ui-radar-BBR8cYGx.js → vue-ui-radar-DhsgkGwF.js} +121 -119
- package/dist/{vue-ui-rating-Ccn8aUMA.js → vue-ui-rating-D_sWv7fR.js} +2 -2
- package/dist/{vue-ui-relation-circle-SKeIJXHs.js → vue-ui-relation-circle-CAvYwKpm.js} +7 -7
- package/dist/{vue-ui-ridgeline-CuHSBPB8.js → vue-ui-ridgeline-DuWQX2OI.js} +10 -10
- package/dist/{vue-ui-rings-SusI7pff.js → vue-ui-rings-BrBkOGZk.js} +162 -160
- package/dist/{vue-ui-scatter-Do8NoLng.js → vue-ui-scatter--kNBhPeG.js} +158 -156
- package/dist/{vue-ui-skeleton-FONviv9G.js → vue-ui-skeleton-B6Y0yxOn.js} +3 -3
- package/dist/{vue-ui-smiley-Bbt8bZxB.js → vue-ui-smiley-B7tZsNRS.js} +2 -2
- package/dist/{vue-ui-spark-trend-DB7RPBwQ.js → vue-ui-spark-trend-Dy5C9uny.js} +3 -3
- package/dist/{vue-ui-sparkbar-B8inUR_m.js → vue-ui-sparkbar-9NN07DOT.js} +3 -3
- package/dist/{vue-ui-sparkgauge-B4_YoY5M.js → vue-ui-sparkgauge-iV-u83Ie.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-DXSLenC7.js → vue-ui-sparkhistogram-X47TDKC2.js} +4 -4
- package/dist/{vue-ui-sparkline-BQ6Voxky.js → vue-ui-sparkline-C67Y3c7l.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-BgFJQKhq.js → vue-ui-sparkstackbar-Bzmq9peq.js} +36 -34
- package/dist/{vue-ui-stackbar-CBB-kH1C.js → vue-ui-stackbar-C0cn-5Sz.js} +15 -13
- package/dist/{vue-ui-strip-plot-3gWivNhR.js → vue-ui-strip-plot-D3StIxYT.js} +59 -57
- package/dist/{vue-ui-table-NJNp95Us.js → vue-ui-table-B-wP544v.js} +3 -3
- package/dist/{vue-ui-table-heatmap-CRzHSurU.js → vue-ui-table-heatmap-_qJwOiYG.js} +5 -5
- package/dist/{vue-ui-table-sparkline-DxGr1WNr.js → vue-ui-table-sparkline-C6MoeyKm.js} +4 -4
- package/dist/{vue-ui-thermometer-B6NudPzq.js → vue-ui-thermometer-BmYZiNK4.js} +7 -7
- package/dist/{vue-ui-timer-DO3oJlhi.js → vue-ui-timer-XeLnI_ia.js} +5 -5
- package/dist/{vue-ui-tiremarks-Dv39xDlL.js → vue-ui-tiremarks-CnCSAQiH.js} +6 -6
- package/dist/{vue-ui-treemap-D9jbccaW.js → vue-ui-treemap-Nd27H4H5.js} +41 -39
- package/dist/{vue-ui-vertical-bar-CxJNWczK.js → vue-ui-vertical-bar-Dd1XUvnp.js} +54 -52
- package/dist/{vue-ui-waffle-BMjk9LhH.js → vue-ui-waffle-Czg-z9KF.js} +56 -54
- package/dist/{vue-ui-wheel-CMACWJLJ.js → vue-ui-wheel-DfPu-QQM.js} +6 -6
- package/dist/{vue-ui-word-cloud-BbwSabN0.js → vue-ui-word-cloud-CB9_bPjO.js} +107 -104
- package/dist/{vue-ui-world-DCp2i-uy.js → vue-ui-world-Bo_NzzhJ.js} +12 -10
- package/dist/{vue-ui-xy-CRQHfrGQ.js → vue-ui-xy-Dc-o6Q3R.js} +1234 -1231
- package/dist/{vue-ui-xy-canvas-D-iziyn0.js → vue-ui-xy-canvas-D1Do33ar.js} +46 -44
- package/package.json +4 -2
- package/dist/Slicer-Cmc94zkG.js +0 -604
- package/dist/Tooltip-RCWHeRDV.js +0 -161
|
@@ -1,17 +1,17 @@
|
|
|
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
|
|
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
|
|
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 y, createElementVNode as f, createVNode as ke, unref as i, createSlots as ht, withCtx as S, renderSlot as L, normalizeProps as Z, guardReactiveProps as ee, Fragment as C, renderList as F, withDirectives as yt, 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 he, 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-C0wrF8hm.js";
|
|
3
3
|
import { t as Ce, u as vl } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as cl } from "./usePrinter-
|
|
5
|
-
import { u as dl, B as
|
|
6
|
-
import { u as gt } from "./useNestedProp-
|
|
4
|
+
import { u as cl } from "./usePrinter-C2jvouU0.js";
|
|
5
|
+
import { u as dl, B as hl } from "./BaseScanner-BgWxam9d.js";
|
|
6
|
+
import { u as gt } from "./useNestedProp-Bg2FlIgI.js";
|
|
7
7
|
import { u as bt } from "./useTimeLabels-BGFjWgrv.js";
|
|
8
|
-
import { u as
|
|
8
|
+
import { u as yl } from "./useTableResponsive-Cbx-ACcP.js";
|
|
9
9
|
import { u as fl } from "./useUserOptionState-BIvW1Kz7.js";
|
|
10
10
|
import { u as mt } from "./useTimeLabelCollider-CIsgDrl9.js";
|
|
11
11
|
import { u as pl } from "./useChartAccessibility-9icAAmYg.js";
|
|
12
|
-
import gl from "./img-
|
|
13
|
-
import bl from "./Title-
|
|
14
|
-
import ml from "./vue-ui-accordion-
|
|
12
|
+
import gl from "./img-DLgjML7h.js";
|
|
13
|
+
import bl from "./Title-DbQthJAs.js";
|
|
14
|
+
import ml from "./vue-ui-accordion-3JuSLBjV.js";
|
|
15
15
|
import { _ as xl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
16
16
|
const wl = {
|
|
17
17
|
mounted(b, P) {
|
|
@@ -23,7 +23,7 @@ const wl = {
|
|
|
23
23
|
};
|
|
24
24
|
function xt(b, {
|
|
25
25
|
cellWidth: P,
|
|
26
|
-
cellHeight:
|
|
26
|
+
cellHeight: ye,
|
|
27
27
|
maxFontSize: W,
|
|
28
28
|
minFontSize: te,
|
|
29
29
|
index: $,
|
|
@@ -47,10 +47,10 @@ function xt(b, {
|
|
|
47
47
|
const M = b.getBBox(), O = M.x + M.width / 2, ae = M.y + M.height / 2;
|
|
48
48
|
b.setAttribute("transform", `rotate(-90 ${O} ${ae})`);
|
|
49
49
|
const q = b.getBBox().width;
|
|
50
|
-
if (q <=
|
|
50
|
+
if (q <= ye)
|
|
51
51
|
X($, !1);
|
|
52
52
|
else {
|
|
53
|
-
const oe = Math.floor(W *
|
|
53
|
+
const oe = Math.floor(W * ye / q);
|
|
54
54
|
oe >= te ? (b.setAttribute("font-size", oe), X($, !1)) : (fe = !0, X($, !0));
|
|
55
55
|
}
|
|
56
56
|
}
|
|
@@ -76,11 +76,11 @@ const kl = ["id"], Al = ["xmlns", "viewBox"], Cl = ["x", "y", "width", "height"]
|
|
|
76
76
|
}
|
|
77
77
|
},
|
|
78
78
|
emits: ["selectDatapoint"],
|
|
79
|
-
setup(b, { expose: P, emit:
|
|
79
|
+
setup(b, { expose: P, emit: ye }) {
|
|
80
80
|
Gt((t) => ({
|
|
81
|
-
"
|
|
81
|
+
"12b5e388": t.tdo
|
|
82
82
|
}));
|
|
83
|
-
const W = Q(() => import("./Tooltip-
|
|
83
|
+
const W = Q(() => import("./Tooltip-DvtYLrX2.js")), te = Q(() => import("./BaseIcon-D_BjQBAR.js")), $ = Q(() => import("./PenAndPaper-BdzDJYnr.js")), le = Q(() => import("./UserOptions-Dd5XOrwq.js")), X = Q(() => import("./PackageVersion-BtfT0hV9.js")), Le = Q(() => import("./BaseDraggableDialog-BVZPPMT9.js")), { vue_ui_heatmap: Te } = el(), k = b, fe = ye, j = g({
|
|
84
84
|
get() {
|
|
85
85
|
return !!k.dataset && k.dataset.length;
|
|
86
86
|
},
|
|
@@ -239,15 +239,15 @@ const kl = ["id"], Al = ["xmlns", "viewBox"], Cl = ["x", "y", "width", "height"]
|
|
|
239
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
240
|
x: r.value * D.value,
|
|
241
241
|
y: r.value * ((m.value || []).length + 1)
|
|
242
|
-
}, N = _.value.width - o.left - o.right - x.x - v * 2 - 2 - t - J.value,
|
|
242
|
+
}, N = _.value.width - o.left - o.right - x.x - v * 2 - 2 - t - J.value, h = d - v - x.y - ge.value - s - e.value.style.layout.cells.columnTotal.value.offsetY, A = {
|
|
243
243
|
width: Math.max(3, N / D.value),
|
|
244
|
-
height: Math.max(3,
|
|
244
|
+
height: Math.max(3, h / (m.value.length ?? 1))
|
|
245
245
|
};
|
|
246
246
|
return {
|
|
247
247
|
top: o.top + re.value + v + a,
|
|
248
248
|
topLabelsHeight: re.value,
|
|
249
249
|
sumCellXHeight: v,
|
|
250
|
-
height:
|
|
250
|
+
height: h,
|
|
251
251
|
left: o.left + J.value + v / 2,
|
|
252
252
|
right: o.right - t,
|
|
253
253
|
bottom: _.value.height - o.bottom - ge.value,
|
|
@@ -270,25 +270,25 @@ const kl = ["id"], Al = ["xmlns", "viewBox"], Cl = ["x", "y", "width", "height"]
|
|
|
270
270
|
start: 0,
|
|
271
271
|
end: D.value
|
|
272
272
|
})), p = g(() => {
|
|
273
|
-
const t = Ot.value.map((
|
|
274
|
-
for (let
|
|
275
|
-
v.push(m.value.map((A) => A.values[
|
|
273
|
+
const t = Ot.value.map((h) => h.text), o = Rt.value.map((h) => h.text), a = m.value.map((h) => h.values.reduce((A, He) => A + He, 0)), s = Math.max(...a), d = Math.min(...a), v = [];
|
|
274
|
+
for (let h = 0; h < D.value; h += 1)
|
|
275
|
+
v.push(m.value.map((A) => A.values[h] || 0).reduce((A, He) => A + He, 0));
|
|
276
276
|
const x = Math.max(...v), N = Math.min(...v);
|
|
277
277
|
return {
|
|
278
|
-
yTotals: a.map((
|
|
279
|
-
const A = isNaN(
|
|
278
|
+
yTotals: a.map((h) => {
|
|
279
|
+
const A = isNaN(h / s) ? 0 : h / s;
|
|
280
280
|
return {
|
|
281
|
-
total:
|
|
281
|
+
total: h,
|
|
282
282
|
proportion: A,
|
|
283
|
-
color:
|
|
283
|
+
color: he(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, d, s, h)
|
|
284
284
|
};
|
|
285
285
|
}),
|
|
286
|
-
xTotals: v.map((
|
|
287
|
-
const A = isNaN(
|
|
286
|
+
xTotals: v.map((h) => {
|
|
287
|
+
const A = isNaN(h / x) ? 0 : h / x;
|
|
288
288
|
return {
|
|
289
|
-
total:
|
|
289
|
+
total: h,
|
|
290
290
|
proportion: A,
|
|
291
|
-
color:
|
|
291
|
+
color: he(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, N, x, h)
|
|
292
292
|
};
|
|
293
293
|
}),
|
|
294
294
|
yLabels: t,
|
|
@@ -311,7 +311,7 @@ const kl = ["id"], Al = ["xmlns", "viewBox"], Cl = ["x", "y", "width", "height"]
|
|
|
311
311
|
...t,
|
|
312
312
|
temperatures: (t.values || []).map((a, s) => a >= U.value ? {
|
|
313
313
|
side: "up",
|
|
314
|
-
color:
|
|
314
|
+
color: he(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, ve.value, V.value, a),
|
|
315
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
316
|
value: a,
|
|
317
317
|
yAxisName: p.value.yLabels[o],
|
|
@@ -320,7 +320,7 @@ const kl = ["id"], Al = ["xmlns", "viewBox"], Cl = ["x", "y", "width", "height"]
|
|
|
320
320
|
} : {
|
|
321
321
|
side: "down",
|
|
322
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:
|
|
323
|
+
color: he(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, ve.value, V.value, a),
|
|
324
324
|
value: a,
|
|
325
325
|
yAxisName: p.value.yLabels[o],
|
|
326
326
|
xAxisName: p.value.xLabels[s],
|
|
@@ -344,7 +344,7 @@ const kl = ["id"], Al = ["xmlns", "viewBox"], Cl = ["x", "y", "width", "height"]
|
|
|
344
344
|
series: Y.value,
|
|
345
345
|
config: e.value
|
|
346
346
|
}, ae.value = !0;
|
|
347
|
-
let
|
|
347
|
+
let h = "";
|
|
348
348
|
const A = e.value.style.tooltip.customFormat;
|
|
349
349
|
nl(A) && rl(() => A({
|
|
350
350
|
datapoint: t,
|
|
@@ -356,7 +356,7 @@ const kl = ["id"], Al = ["xmlns", "viewBox"], Cl = ["x", "y", "width", "height"]
|
|
|
356
356
|
seriesIndex: o,
|
|
357
357
|
series: Y.value,
|
|
358
358
|
config: e.value
|
|
359
|
-
}) : (
|
|
359
|
+
}) : (h += `<div>${v} ${x ? v ? ` - ${x}` : `${x}` : ""}</div>`, h += `<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${e.value.style.tooltip.borderColor};font-weight:bold;display:flex;flex-direction:row;gap:12px;align-items:center;justify-content:center"><span style="color:${he(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({
|
|
@@ -366,7 +366,7 @@ const kl = ["id"], Al = ["xmlns", "viewBox"], Cl = ["x", "y", "width", "height"]
|
|
|
366
366
|
r: e.value.style.tooltip.roundingValue
|
|
367
367
|
}),
|
|
368
368
|
{ datapoint: t, seriesIndex: o }
|
|
369
|
-
)}</span></div>`, q.value = `<div style="font-size:${e.value.style.tooltip.fontSize}px">${
|
|
369
|
+
)}</span></div>`, q.value = `<div style="font-size:${e.value.style.tooltip.fontSize}px">${h}</div>`);
|
|
370
370
|
}
|
|
371
371
|
function Xt({ datapoint: t, seriesIndex: o }) {
|
|
372
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;
|
|
@@ -510,7 +510,7 @@ const kl = ["id"], Al = ["xmlns", "viewBox"], Cl = ["x", "y", "width", "height"]
|
|
|
510
510
|
we(() => z.value.showTable, async (t) => {
|
|
511
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: Yt } =
|
|
513
|
+
const { isResponsive: Yt } = yl(Be, St);
|
|
514
514
|
function Ne() {
|
|
515
515
|
z.value.showTable = !1, _e.value && _e.value.setTableIconState(!1);
|
|
516
516
|
}
|
|
@@ -540,14 +540,14 @@ const kl = ["id"], Al = ["xmlns", "viewBox"], Cl = ["x", "y", "width", "height"]
|
|
|
540
540
|
color: e.value.style.color,
|
|
541
541
|
active: me.value,
|
|
542
542
|
onClose: De
|
|
543
|
-
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) :
|
|
543
|
+
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : y("", !0),
|
|
544
544
|
_t.value ? (u(), n("div", {
|
|
545
545
|
key: 1,
|
|
546
546
|
ref_key: "noTitle",
|
|
547
547
|
ref: Ye,
|
|
548
548
|
class: "vue-data-ui-no-title-space",
|
|
549
549
|
style: "height:36px; width: 100%;background:transparent"
|
|
550
|
-
}, null, 512)) :
|
|
550
|
+
}, null, 512)) : y("", !0),
|
|
551
551
|
e.value.style.title.text ? (u(), n("div", {
|
|
552
552
|
key: 2,
|
|
553
553
|
ref_key: "chartTitle",
|
|
@@ -567,7 +567,7 @@ const kl = ["id"], Al = ["xmlns", "viewBox"], Cl = ["x", "y", "width", "height"]
|
|
|
567
567
|
}
|
|
568
568
|
}
|
|
569
569
|
}, null, 8, ["config"]))
|
|
570
|
-
], 512)) :
|
|
570
|
+
], 512)) : y("", !0),
|
|
571
571
|
e.value.userOptions.show && j.value && (i(je) || i(Me)) ? (u(), de(i(le), {
|
|
572
572
|
ref_key: "userOptionsRef",
|
|
573
573
|
ref: _e,
|
|
@@ -603,7 +603,7 @@ const kl = ["id"], Al = ["xmlns", "viewBox"], Cl = ["x", "y", "width", "height"]
|
|
|
603
603
|
style: w({
|
|
604
604
|
visibility: i(je) ? i(Me) ? "visible" : "hidden" : "visible"
|
|
605
605
|
})
|
|
606
|
-
},
|
|
606
|
+
}, ht({ _: 2 }, [
|
|
607
607
|
t.$slots.menuIcon ? {
|
|
608
608
|
name: "menuIcon",
|
|
609
609
|
fn: S(({ isOpen: a, color: s }) => [
|
|
@@ -660,7 +660,7 @@ const kl = ["id"], Al = ["xmlns", "viewBox"], Cl = ["x", "y", "width", "height"]
|
|
|
660
660
|
]),
|
|
661
661
|
key: "7"
|
|
662
662
|
} : void 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"])) :
|
|
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"])) : y("", !0),
|
|
664
664
|
f("div", {
|
|
665
665
|
class: ce({
|
|
666
666
|
"vue-ui-heatmap-chart-wrapper": !0,
|
|
@@ -691,7 +691,7 @@ const kl = ["id"], Al = ["xmlns", "viewBox"], Cl = ["x", "y", "width", "height"]
|
|
|
691
691
|
}
|
|
692
692
|
}, [
|
|
693
693
|
L(t.$slots, "chart-background", {}, void 0, !0)
|
|
694
|
-
], 8, Cl)) :
|
|
694
|
+
], 8, Cl)) : y("", !0),
|
|
695
695
|
e.value.style.layout.cells.columnTotal.color.show ? (u(), n("g", {
|
|
696
696
|
key: 1,
|
|
697
697
|
ref_key: "xAxisSumRects",
|
|
@@ -715,7 +715,7 @@ const kl = ["id"], Al = ["xmlns", "viewBox"], Cl = ["x", "y", "width", "height"]
|
|
|
715
715
|
stroke: e.value.style.backgroundColor,
|
|
716
716
|
"stroke-width": r.value
|
|
717
717
|
}, null, 8, Tl))), 256))
|
|
718
|
-
], 512)) :
|
|
718
|
+
], 512)) : y("", !0),
|
|
719
719
|
f("g", {
|
|
720
720
|
ref_key: "datapoints",
|
|
721
721
|
ref: wt
|
|
@@ -743,7 +743,7 @@ const kl = ["id"], Al = ["xmlns", "viewBox"], Cl = ["x", "y", "width", "height"]
|
|
|
743
743
|
onMouseout: () => Xt({ datapoint: d, seriesIndex: s }),
|
|
744
744
|
onClick: () => Bt(d, s)
|
|
745
745
|
}, null, 40, Sl),
|
|
746
|
-
e.value.style.layout.cells.value.show ?
|
|
746
|
+
e.value.style.layout.cells.value.show ? yt((u(), n("text", {
|
|
747
747
|
key: 0,
|
|
748
748
|
"text-anchor": "middle",
|
|
749
749
|
"font-size": e.value.style.layout.cells.value.fontSize,
|
|
@@ -776,7 +776,7 @@ const kl = ["id"], Al = ["xmlns", "viewBox"], Cl = ["x", "y", "width", "height"]
|
|
|
776
776
|
hideAll: Nt.value,
|
|
777
777
|
rotateAll: Ft.value
|
|
778
778
|
}]
|
|
779
|
-
]) :
|
|
779
|
+
]) : y("", !0)
|
|
780
780
|
]))), 256))
|
|
781
781
|
], 64))), 256))
|
|
782
782
|
], 512),
|
|
@@ -805,7 +805,7 @@ const kl = ["id"], Al = ["xmlns", "viewBox"], Cl = ["x", "y", "width", "height"]
|
|
|
805
805
|
"stroke-width": r.value
|
|
806
806
|
}, null, 8, Ml)
|
|
807
807
|
], 64))), 256))
|
|
808
|
-
], 512)) :
|
|
808
|
+
], 512)) : y("", !0),
|
|
809
809
|
e.value.style.layout.dataLabels.yAxis.show ? (u(), n("g", {
|
|
810
810
|
key: 3,
|
|
811
811
|
ref_key: "yAxisLabels",
|
|
@@ -830,9 +830,9 @@ const kl = ["id"], Al = ["xmlns", "viewBox"], Cl = ["x", "y", "width", "height"]
|
|
|
830
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,
|
|
831
831
|
"text-anchor": "end",
|
|
832
832
|
"font-weight": e.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal"
|
|
833
|
-
}, T(It(s)), 9, Rl)) :
|
|
833
|
+
}, T(It(s)), 9, Rl)) : y("", !0)
|
|
834
834
|
], 64))), 256))
|
|
835
|
-
], 512)) :
|
|
835
|
+
], 512)) : y("", !0),
|
|
836
836
|
e.value.style.layout.dataLabels.xAxis.show ? (u(), n("g", {
|
|
837
837
|
key: 4,
|
|
838
838
|
ref_key: "xAxisLabels",
|
|
@@ -847,9 +847,9 @@ const kl = ["id"], Al = ["xmlns", "viewBox"], Cl = ["x", "y", "width", "height"]
|
|
|
847
847
|
fill: e.value.style.layout.dataLabels.xAxis.color,
|
|
848
848
|
"font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
|
|
849
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})`
|
|
850
|
-
}, T(a), 9, Fl)) :
|
|
850
|
+
}, T(a), 9, Fl)) : y("", !0)
|
|
851
851
|
], 64))), 256))
|
|
852
|
-
], 512)) :
|
|
852
|
+
], 512)) : y("", !0),
|
|
853
853
|
e.value.style.layout.cells.columnTotal.value.show ? (u(), n("g", {
|
|
854
854
|
key: 5,
|
|
855
855
|
ref_key: "xAxisSums",
|
|
@@ -863,7 +863,7 @@ const kl = ["id"], Al = ["xmlns", "viewBox"], Cl = ["x", "y", "width", "height"]
|
|
|
863
863
|
"font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
|
|
864
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})`
|
|
865
865
|
}, T(Vt(s)), 9, Dl))), 256))
|
|
866
|
-
], 512)) :
|
|
866
|
+
], 512)) : y("", !0),
|
|
867
867
|
se.value ? (u(), n("g", Nl, [
|
|
868
868
|
f("rect", {
|
|
869
869
|
style: { "pointer-events": "none" },
|
|
@@ -876,7 +876,7 @@ const kl = ["id"], Al = ["xmlns", "viewBox"], Cl = ["x", "y", "width", "height"]
|
|
|
876
876
|
"stroke-width": e.value.style.layout.cells.selected.border,
|
|
877
877
|
rx: 1
|
|
878
878
|
}, null, 8, Hl)
|
|
879
|
-
])) :
|
|
879
|
+
])) : y("", !0),
|
|
880
880
|
L(t.$slots, "svg", { svg: _.value }, void 0, !0)
|
|
881
881
|
], 14, Al)),
|
|
882
882
|
e.value.style.legend.show ? (u(), n("div", {
|
|
@@ -888,7 +888,7 @@ const kl = ["id"], Al = ["xmlns", "viewBox"], Cl = ["x", "y", "width", "height"]
|
|
|
888
888
|
"--legend-width": e.value.style.legend.width + "px"
|
|
889
889
|
})
|
|
890
890
|
}, [
|
|
891
|
-
i(pe) ?
|
|
891
|
+
i(pe) ? y("", !0) : (u(), n("div", {
|
|
892
892
|
key: 0,
|
|
893
893
|
class: "vue-ui-heatmap-legend-label-max",
|
|
894
894
|
style: w({
|
|
@@ -912,7 +912,7 @@ const kl = ["id"], Al = ["xmlns", "viewBox"], Cl = ["x", "y", "width", "height"]
|
|
|
912
912
|
background: `linear-gradient(to bottom, ${e.value.style.layout.cells.colors.hot}, ${e.value.style.layout.cells.colors.cold})`
|
|
913
913
|
})
|
|
914
914
|
}, [
|
|
915
|
-
|
|
915
|
+
yt(f("div", {
|
|
916
916
|
class: "vue-ui-heatmap-gauge-indicator",
|
|
917
917
|
"data-value": i(B)(
|
|
918
918
|
e.value.style.layout.cells.value.formatter,
|
|
@@ -953,7 +953,7 @@ const kl = ["id"], Al = ["xmlns", "viewBox"], Cl = ["x", "y", "width", "height"]
|
|
|
953
953
|
])
|
|
954
954
|
], 4)
|
|
955
955
|
]),
|
|
956
|
-
i(pe) ?
|
|
956
|
+
i(pe) ? y("", !0) : (u(), n("div", {
|
|
957
957
|
key: 1,
|
|
958
958
|
class: "vue-ui-heatmap-legend-label-min",
|
|
959
959
|
style: w({
|
|
@@ -970,11 +970,11 @@ const kl = ["id"], Al = ["xmlns", "viewBox"], Cl = ["x", "y", "width", "height"]
|
|
|
970
970
|
r: e.value.style.legend.roundingValue
|
|
971
971
|
})
|
|
972
972
|
)), 5))
|
|
973
|
-
], 4)) :
|
|
973
|
+
], 4)) : y("", !0)
|
|
974
974
|
], 2),
|
|
975
975
|
t.$slots.watermark ? (u(), n("div", Vl, [
|
|
976
976
|
L(t.$slots, "watermark", Z(ee({ isPrinting: i(Je) || i(Qe) })), void 0, !0)
|
|
977
|
-
])) :
|
|
977
|
+
])) : y("", !0),
|
|
978
978
|
t.$slots.source ? (u(), n("div", {
|
|
979
979
|
key: 5,
|
|
980
980
|
ref_key: "source",
|
|
@@ -982,7 +982,7 @@ const kl = ["id"], Al = ["xmlns", "viewBox"], Cl = ["x", "y", "width", "height"]
|
|
|
982
982
|
dir: "auto"
|
|
983
983
|
}, [
|
|
984
984
|
L(t.$slots, "source", {}, void 0, !0)
|
|
985
|
-
], 512)) :
|
|
985
|
+
], 512)) : y("", !0),
|
|
986
986
|
ke(i(W), {
|
|
987
987
|
show: z.value.showTooltip && ae.value,
|
|
988
988
|
backgroundColor: e.value.style.tooltip.backgroundColor,
|
|
@@ -999,7 +999,9 @@ const kl = ["id"], Al = ["xmlns", "viewBox"], Cl = ["x", "y", "width", "height"]
|
|
|
999
999
|
isFullscreen: G.value,
|
|
1000
1000
|
isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function",
|
|
1001
1001
|
smooth: e.value.style.tooltip.smooth,
|
|
1002
|
-
backdropFilter: e.value.style.tooltip.backdropFilter
|
|
1002
|
+
backdropFilter: e.value.style.tooltip.backdropFilter,
|
|
1003
|
+
smoothForce: e.value.style.tooltip.smoothForce,
|
|
1004
|
+
smoothSnapThreshold: e.value.style.tooltip.smoothSnapThreshold
|
|
1003
1005
|
}, {
|
|
1004
1006
|
"tooltip-before": S(() => [
|
|
1005
1007
|
L(t.$slots, "tooltip-before", Z(ee({ ...be.value })), void 0, !0)
|
|
@@ -1008,12 +1010,12 @@ const kl = ["id"], Al = ["xmlns", "viewBox"], Cl = ["x", "y", "width", "height"]
|
|
|
1008
1010
|
L(t.$slots, "tooltip-after", Z(ee({ ...be.value })), void 0, !0)
|
|
1009
1011
|
]),
|
|
1010
1012
|
_: 3
|
|
1011
|
-
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter"]),
|
|
1012
|
-
j.value ? (u(), de(Jt(xe.value.component), Qt({ key: 6 }, xe.value.props, {
|
|
1013
|
+
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
|
|
1014
|
+
j.value && e.value.userOptions.buttons.table ? (u(), de(Jt(xe.value.component), Qt({ key: 6 }, xe.value.props, {
|
|
1013
1015
|
ref_key: "tableUnit",
|
|
1014
1016
|
ref: ue,
|
|
1015
1017
|
onClose: Ne
|
|
1016
|
-
}),
|
|
1018
|
+
}), ht({
|
|
1017
1019
|
content: S(() => [
|
|
1018
1020
|
f("div", {
|
|
1019
1021
|
ref_key: "tableContainer",
|
|
@@ -1025,7 +1027,7 @@ const kl = ["id"], Al = ["xmlns", "viewBox"], Cl = ["x", "y", "width", "height"]
|
|
|
1025
1027
|
style: w(`width:100%;overflow-x:auto;position:relative;${e.value.table.useDialog ? "" : "padding-top:36px"};`),
|
|
1026
1028
|
class: ce({ "vue-ui-responsive": i(Yt) })
|
|
1027
1029
|
}, [
|
|
1028
|
-
e.value.table.useDialog ?
|
|
1030
|
+
e.value.table.useDialog ? y("", !0) : (u(), n("div", {
|
|
1029
1031
|
key: 0,
|
|
1030
1032
|
role: "button",
|
|
1031
1033
|
tabindex: "0",
|
|
@@ -1040,12 +1042,12 @@ const kl = ["id"], Al = ["xmlns", "viewBox"], Cl = ["x", "y", "width", "height"]
|
|
|
1040
1042
|
}, null, 8, ["stroke"])
|
|
1041
1043
|
], 36)),
|
|
1042
1044
|
f("table", Bl, [
|
|
1043
|
-
e.value.table.useDialog ?
|
|
1045
|
+
e.value.table.useDialog ? y("", !0) : (u(), n("caption", {
|
|
1044
1046
|
key: 0,
|
|
1045
1047
|
style: w(`backgroundColor:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
|
|
1046
1048
|
}, [
|
|
1047
1049
|
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)) :
|
|
1050
|
+
e.value.style.title.subtitle.text ? (u(), n("span", El, T(e.value.style.title.subtitle.text), 1)) : y("", !0)
|
|
1049
1051
|
], 4)),
|
|
1050
1052
|
f("thead", null, [
|
|
1051
1053
|
f("tr", {
|
|
@@ -1112,11 +1114,11 @@ const kl = ["id"], Al = ["xmlns", "viewBox"], Cl = ["x", "y", "width", "height"]
|
|
|
1112
1114
|
]),
|
|
1113
1115
|
key: "1"
|
|
1114
1116
|
} : void 0
|
|
1115
|
-
]), 1040)) :
|
|
1116
|
-
i(pe) ? (u(), de(
|
|
1117
|
+
]), 1040)) : y("", !0),
|
|
1118
|
+
i(pe) ? (u(), de(hl, { key: 7 })) : y("", !0)
|
|
1117
1119
|
], 46, kl));
|
|
1118
1120
|
}
|
|
1119
|
-
}, va = /* @__PURE__ */ xl(jl, [["__scopeId", "data-v-
|
|
1121
|
+
}, va = /* @__PURE__ */ xl(jl, [["__scopeId", "data-v-b8c90b2a"]]);
|
|
1120
1122
|
export {
|
|
1121
1123
|
va as default
|
|
1122
1124
|
};
|