vue-data-ui 3.0.0-next.40 → 3.0.0-next.42
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-CJMQcuGh.js → Arrow-DOiXCR7O.js} +1 -1
- package/dist/{BaseDraggableDialog-BorVmOH6.js → BaseDraggableDialog-CLKF_e6q.js} +2 -2
- package/dist/{BaseIcon-DEsg88EI.js → BaseIcon-B5dfTMEw.js} +1 -1
- package/dist/{ColorPicker-Co40B_SG.js → ColorPicker-BKHmTJ93.js} +2 -2
- package/dist/{DataTable-DY-e2LXS.js → DataTable-CyhMY08K.js} +2 -2
- package/dist/{Legend-C7zp8-t4.js → Legend-BXtC_zq4.js} +2 -2
- package/dist/{NonSvgPenAndPaper-C2R7jHOH.js → NonSvgPenAndPaper-DsBg_wxf.js} +3 -3
- package/dist/{PackageVersion-B6kajKgU.js → PackageVersion-BocKzQvI.js} +1 -1
- package/dist/{PenAndPaper-en69u8G0.js → PenAndPaper-D1YqP905.js} +3 -3
- package/dist/{Shape-D2suYivy.js → Shape-CKvaj4o_.js} +1 -1
- package/dist/{Slicer-DlcITWn0.js → Slicer-BOvs5qma.js} +2 -2
- package/dist/{SparkTooltip-BwDKg_cF.js → SparkTooltip-qPK68pnX.js} +1 -1
- package/dist/{Title-CBSyhlmd.js → Title-DsWkPCQg.js} +1 -1
- package/dist/{Tooltip-Dis_Iqvl.js → Tooltip-CoGwbEml.js} +1 -1
- package/dist/{UserOptions-BAGpDPid.js → UserOptions-Ds_WVUoK.js} +2 -2
- package/dist/{dom-to-png-Ov4kozad.js → dom-to-png-3d_nTbwd.js} +1 -1
- package/dist/{img-lSctQ4V6.js → img-49HUnS_0.js} +1 -1
- package/dist/{index-Dt40W2hN.js → index-DulvcqLu.js} +48 -12
- package/dist/{pdf-DtFuExHv.js → pdf-hw-AJ59z.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +30 -4
- package/dist/types/vue-data-ui.d.ts +30 -4
- package/dist/{useNestedProp-CiNTcBth.js → useNestedProp-wY5tGUuK.js} +1 -1
- package/dist/{usePrinter-C4Hc_Nbf.js → usePrinter-DtvYX36b.js} +2 -2
- package/dist/{vue-data-ui-Bgp_em-v.js → vue-data-ui-DUMQj91f.js} +64 -64
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-osKQ4IOP.js → vue-ui-3d-bar-DGYmy6rk.js} +6 -6
- package/dist/{vue-ui-accordion-BrdvtjzQ.js → vue-ui-accordion-Dsh-U1bj.js} +3 -3
- package/dist/vue-ui-age-pyramid-Dg_mxXLd.js +834 -0
- package/dist/{vue-ui-annotator-CSqAhQiG.js → vue-ui-annotator-BMpO4vK0.js} +2 -2
- package/dist/{vue-ui-bullet-CVDhxrNn.js → vue-ui-bullet-C6zAygKZ.js} +7 -7
- package/dist/{vue-ui-candlestick--MPqDI4C.js → vue-ui-candlestick-DyuAT25Q.js} +7 -7
- package/dist/{vue-ui-carousel-table-BVk7PLwZ.js → vue-ui-carousel-table-CNK1zcpE.js} +4 -4
- package/dist/{vue-ui-chestnut-DEx9TbrF.js → vue-ui-chestnut-1ihNLXbp.js} +5 -5
- package/dist/{vue-ui-chord-CA-KhxYT.js → vue-ui-chord-Cae1nWM-.js} +8 -8
- package/dist/{vue-ui-circle-pack-DBathPgi.js → vue-ui-circle-pack-DseM0eRK.js} +6 -6
- package/dist/{vue-ui-cursor-DMgru1Ut.js → vue-ui-cursor-W8t9qTUD.js} +2 -2
- package/dist/{vue-ui-dashboard-DjR4GMXi.js → vue-ui-dashboard-DsDyZ7Ut.js} +62 -62
- package/dist/{vue-ui-digits-Zyo5YPt9.js → vue-ui-digits-DCfsd3Tu.js} +2 -2
- package/dist/{vue-ui-donut-CTkQZ2S_.js → vue-ui-donut-Dhb32-iV.js} +8 -8
- package/dist/{vue-ui-donut-evolution-CqWJyBuS.js → vue-ui-donut-evolution-DVFwI0sh.js} +8 -8
- package/dist/{vue-ui-dumbbell-CqW_fq8N.js → vue-ui-dumbbell-ByX7CUwG.js} +7 -7
- package/dist/{vue-ui-flow-CrAhSPCS.js → vue-ui-flow-CFHZ9yrx.js} +7 -7
- package/dist/{vue-ui-funnel-DhfW5rrz.js → vue-ui-funnel-DadpGQUz.js} +6 -6
- package/dist/{vue-ui-galaxy-PAdaOeqx.js → vue-ui-galaxy-7Y-VQIsV.js} +17 -17
- package/dist/{vue-ui-gauge-O3pWOp6L.js → vue-ui-gauge-De6alQZM.js} +6 -6
- package/dist/{vue-ui-gizmo-euqtfneE.js → vue-ui-gizmo-CCuhIEgv.js} +3 -3
- package/dist/{vue-ui-heatmap-DpJtmmha.js → vue-ui-heatmap-CnOlmpV9.js} +42 -42
- package/dist/vue-ui-history-plot-BJsKUn1P.js +1073 -0
- package/dist/{vue-ui-kpi-BVPy5lir.js → vue-ui-kpi-CGs9IJkw.js} +3 -3
- package/dist/{vue-ui-mini-loader-C1jyLTN0.js → vue-ui-mini-loader-BjwK9dlI.js} +2 -2
- package/dist/{vue-ui-molecule-D5a1xiZe.js → vue-ui-molecule-BwYrifeN.js} +18 -18
- package/dist/{vue-ui-mood-radar-BFoBLBHr.js → vue-ui-mood-radar-BgMQv7zu.js} +7 -7
- package/dist/{vue-ui-nested-donuts-C5EdQl9m.js → vue-ui-nested-donuts-DEuOZQMW.js} +9 -9
- package/dist/{vue-ui-onion-R8aDUWKW.js → vue-ui-onion-CKtxzPdZ.js} +7 -7
- package/dist/{vue-ui-parallel-coordinate-plot-BlyVabIZ.js → vue-ui-parallel-coordinate-plot-l-1naFx3.js} +8 -8
- package/dist/{vue-ui-quadrant-IUglavFx.js → vue-ui-quadrant-BxUKMHOP.js} +8 -8
- package/dist/{vue-ui-quick-chart-BpNPyMU7.js → vue-ui-quick-chart-Bzo7ee5j.js} +6 -6
- package/dist/{vue-ui-radar-gw_Juu9G.js → vue-ui-radar-CegnvUeE.js} +7 -7
- package/dist/{vue-ui-rating-1unEFc2G.js → vue-ui-rating-BSe1sqID.js} +2 -2
- package/dist/{vue-ui-relation-circle-BcfPtGPT.js → vue-ui-relation-circle-QCm_tPu0.js} +6 -6
- package/dist/{vue-ui-ridgeline-MPTZgHBN.js → vue-ui-ridgeline-xi9BJQ1h.js} +8 -8
- package/dist/{vue-ui-rings-BathT6rc.js → vue-ui-rings-Oq01Dy9Z.js} +8 -8
- package/dist/{vue-ui-scatter-c18cEUOV.js → vue-ui-scatter-C1q4PN20.js} +42 -42
- package/dist/{vue-ui-skeleton-B7-_d7dq.js → vue-ui-skeleton-Dy07NAUi.js} +3 -3
- package/dist/{vue-ui-smiley-BDXogV8H.js → vue-ui-smiley-BnZZciNA.js} +2 -2
- package/dist/{vue-ui-spark-trend-DDTjw45H.js → vue-ui-spark-trend-Cv0vaWAZ.js} +3 -3
- package/dist/{vue-ui-sparkbar-C_5eGtLa.js → vue-ui-sparkbar-BxDoZOFI.js} +3 -3
- package/dist/{vue-ui-sparkgauge-DHY87x_9.js → vue-ui-sparkgauge-BV4VLYpi.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-DS5XBE2H.js → vue-ui-sparkhistogram-uDC8wmxA.js} +4 -4
- package/dist/{vue-ui-sparkline-CSDFmjTw.js → vue-ui-sparkline-WOEYj_Ij.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-BlbqR90E.js → vue-ui-sparkstackbar-QA0KZ-7-.js} +3 -3
- package/dist/{vue-ui-stackbar-BQhWHZhn.js → vue-ui-stackbar-CATqn9L4.js} +9 -9
- package/dist/{vue-ui-strip-plot-DqW7c8P5.js → vue-ui-strip-plot-DWJybHSC.js} +7 -7
- package/dist/{vue-ui-table-CgQG6lgC.js → vue-ui-table-Cp0FCHw_.js} +11 -11
- package/dist/{vue-ui-table-heatmap-BSvr6nNW.js → vue-ui-table-heatmap-HZbo1NgN.js} +5 -5
- package/dist/{vue-ui-table-sparkline-w7bQM7Hk.js → vue-ui-table-sparkline-DcrLPK22.js} +4 -4
- package/dist/{vue-ui-thermometer-DXtr4W_t.js → vue-ui-thermometer-DwdizKjh.js} +6 -6
- package/dist/{vue-ui-timer-DFF2z6Uo.js → vue-ui-timer-BFIEtOW3.js} +5 -5
- package/dist/{vue-ui-tiremarks-a_a4b9HI.js → vue-ui-tiremarks-Dn5Rq3Nw.js} +19 -19
- package/dist/{vue-ui-treemap-DLbstU3H.js → vue-ui-treemap-Cufc0HZB.js} +42 -42
- package/dist/{vue-ui-vertical-bar-B7NnA0GU.js → vue-ui-vertical-bar-CaRASsVx.js} +9 -9
- package/dist/{vue-ui-waffle-B9VX_YKC.js → vue-ui-waffle-D1mcrR2E.js} +32 -32
- package/dist/{vue-ui-wheel-BuMOe8AU.js → vue-ui-wheel-CwaahfE7.js} +6 -6
- package/dist/{vue-ui-word-cloud-CEZ2XSvH.js → vue-ui-word-cloud-BW-wAAvQ.js} +6 -6
- package/dist/{vue-ui-world-BTXi0bm-.js → vue-ui-world-M-lcBPqw.js} +6 -6
- package/dist/{vue-ui-xy-DIstI78B.js → vue-ui-xy-CIfa-fYI.js} +9 -9
- package/dist/{vue-ui-xy-canvas-u2RoNNiK.js → vue-ui-xy-canvas-DuVFC4Sg.js} +8 -8
- package/package.json +1 -1
- package/dist/vue-ui-age-pyramid-CioF-ZZz.js +0 -748
- package/dist/vue-ui-history-plot-D-ERYWqA.js +0 -926
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineAsyncComponent as k, computed as p, onMounted as Ue, ref as n, watch as We, createElementBlock as i, openBlock as r, unref as o, normalizeStyle as M, normalizeClass as B, createBlock as x, createCommentVNode as c, renderSlot as v, createVNode as de, createSlots as He, withCtx as d, normalizeProps as P, guardReactiveProps as S, createElementVNode as _, Fragment as he, renderList as pe, toDisplayString as I, createTextVNode as Xe, nextTick as je } from "vue";
|
|
2
|
-
import { u as Ye, o as qe, e as ge, g as Je, c as ye, t as Ke, p as G, a as Qe, b as Ze, G as fe, d as et, M as tt, f as C, X as lt, i as be,
|
|
3
|
-
import { u as ke } from "./useNestedProp-
|
|
4
|
-
import { u as rt } from "./usePrinter-
|
|
2
|
+
import { u as Ye, o as qe, e as ge, g as Je, c as ye, t as Ke, p as G, a as Qe, b as Ze, G as fe, d as et, M as tt, f as C, X as lt, i as be, y as me, q as at, r as ot, z as st } from "./index-DulvcqLu.js";
|
|
3
|
+
import { u as ke } from "./useNestedProp-wY5tGUuK.js";
|
|
4
|
+
import { u as rt } from "./usePrinter-DtvYX36b.js";
|
|
5
5
|
import { u as ut } from "./useUserOptionState-BIvW1Kz7.js";
|
|
6
6
|
import { u as nt } from "./useChartAccessibility-9icAAmYg.js";
|
|
7
|
-
import it from "./img-
|
|
7
|
+
import it from "./img-49HUnS_0.js";
|
|
8
8
|
import { _ as ct } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
9
9
|
const vt = ["id"], dt = {
|
|
10
10
|
key: 1,
|
|
@@ -39,7 +39,7 @@ const vt = ["id"], dt = {
|
|
|
39
39
|
},
|
|
40
40
|
emits: ["selectLegend", "selectDatapoint"],
|
|
41
41
|
setup(we, { expose: Ce, emit: $e }) {
|
|
42
|
-
const xe = k(() => import("./vue-ui-accordion-
|
|
42
|
+
const xe = k(() => import("./vue-ui-accordion-Dsh-U1bj.js")), Te = k(() => import("./DataTable-CyhMY08K.js")), Oe = k(() => import("./Legend-BXtC_zq4.js")), Pe = k(() => import("./PackageVersion-BocKzQvI.js")), Se = k(() => import("./PenAndPaper-D1YqP905.js")), _e = k(() => import("./vue-ui-skeleton-Dy07NAUi.js")), Ne = k(() => import("./Title-DsWkPCQg.js")), Fe = k(() => import("./Tooltip-CoGwbEml.js")), Le = k(() => import("./UserOptions-Ds_WVUoK.js")), { vue_ui_galaxy: Ie } = Ye(), f = we, A = p(() => !!f.dataset && f.dataset.length);
|
|
43
43
|
Ue(() => {
|
|
44
44
|
X();
|
|
45
45
|
});
|
|
@@ -61,10 +61,10 @@ const vt = ["id"], dt = {
|
|
|
61
61
|
});
|
|
62
62
|
});
|
|
63
63
|
}
|
|
64
|
-
const N = n(ye()), T = n(null), Ae = n(null), D = n(!1),
|
|
64
|
+
const N = n(ye()), T = n(null), Ae = n(null), D = n(!1), z = n(""), b = n(null), j = n(0), Y = n(0), q = n(0), J = n(0), e = p({
|
|
65
65
|
get: () => ee(),
|
|
66
66
|
set: (t) => t
|
|
67
|
-
}), { userOptionsVisible:
|
|
67
|
+
}), { userOptionsVisible: R, setUserOptionsVisibility: K, keepUserOptionState: Q } = ut({ config: e.value }), { svgRef: Z } = nt({ config: e.value.style.chart.title });
|
|
68
68
|
function ee() {
|
|
69
69
|
const t = ke({
|
|
70
70
|
userConfig: f.config,
|
|
@@ -79,7 +79,7 @@ const vt = ["id"], dt = {
|
|
|
79
79
|
} : t;
|
|
80
80
|
}
|
|
81
81
|
We(() => f.config, (t) => {
|
|
82
|
-
e.value = ee(),
|
|
82
|
+
e.value = ee(), R.value = !e.value.userOptions.showOnChartHover, X(), Y.value += 1, q.value += 1, J.value += 1, g.value.dataLabels.show = e.value.style.chart.layout.labels.dataLabels.show, g.value.showTable = e.value.table.show, g.value.showTooltip = e.value.style.chart.tooltip.show;
|
|
83
83
|
}, { deep: !0 });
|
|
84
84
|
const { isPrinting: te, isImaging: le, generatePdf: ae, generateImage: oe } = rt({
|
|
85
85
|
elementId: `galaxy_${N.value}`,
|
|
@@ -155,7 +155,7 @@ const vt = ["id"], dt = {
|
|
|
155
155
|
datapoint: t,
|
|
156
156
|
series: $.value,
|
|
157
157
|
config: e.value
|
|
158
|
-
})) ?
|
|
158
|
+
})) ? z.value = h({
|
|
159
159
|
seriesIndex: l,
|
|
160
160
|
datapoint: t,
|
|
161
161
|
series: $.value,
|
|
@@ -178,7 +178,7 @@ const vt = ["id"], dt = {
|
|
|
178
178
|
v: t.proportion * 100,
|
|
179
179
|
s: "%",
|
|
180
180
|
r: e.value.style.chart.tooltip.roundingPercentage
|
|
181
|
-
})}</b></div>`),
|
|
181
|
+
})}</b></div>`), z.value = `<div>${u}</div>`);
|
|
182
182
|
}
|
|
183
183
|
const ne = p(() => $.value.map((t, a) => ({
|
|
184
184
|
...t,
|
|
@@ -215,13 +215,13 @@ const vt = ["id"], dt = {
|
|
|
215
215
|
C({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: m.value, s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue }),
|
|
216
216
|
"100%"
|
|
217
217
|
], a = w.value.head.map((u, h) => {
|
|
218
|
-
const
|
|
218
|
+
const Re = C({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: w.value.body[h], s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue });
|
|
219
219
|
return [
|
|
220
220
|
{
|
|
221
221
|
color: u.color,
|
|
222
222
|
name: u.name
|
|
223
223
|
},
|
|
224
|
-
|
|
224
|
+
Re,
|
|
225
225
|
isNaN(w.value.body[h] / m.value) ? "-" : C({
|
|
226
226
|
v: w.value.body[h] / m.value * 100,
|
|
227
227
|
s: "%",
|
|
@@ -262,7 +262,7 @@ const vt = ["id"], dt = {
|
|
|
262
262
|
function H() {
|
|
263
263
|
E.value = !E.value;
|
|
264
264
|
}
|
|
265
|
-
async function
|
|
265
|
+
async function ze({ scale: t = 2 } = {}) {
|
|
266
266
|
if (!T.value) return;
|
|
267
267
|
const { width: a, height: l } = T.value.getBoundingClientRect(), s = a / l, { imageUri: u, base64: h } = await it({ domElement: T.value, base64: !0, img: !0, scale: t });
|
|
268
268
|
return {
|
|
@@ -276,7 +276,7 @@ const vt = ["id"], dt = {
|
|
|
276
276
|
}
|
|
277
277
|
return Ce({
|
|
278
278
|
getData: Me,
|
|
279
|
-
getImage:
|
|
279
|
+
getImage: ze,
|
|
280
280
|
generatePdf: ae,
|
|
281
281
|
generateCsv: ie,
|
|
282
282
|
generateImage: oe,
|
|
@@ -317,7 +317,7 @@ const vt = ["id"], dt = {
|
|
|
317
317
|
}
|
|
318
318
|
}, null, 8, ["config"]))
|
|
319
319
|
])) : c("", !0),
|
|
320
|
-
e.value.userOptions.show && A.value && (o(Q) || o(
|
|
320
|
+
e.value.userOptions.show && A.value && (o(Q) || o(R)) ? (r(), x(o(Le), {
|
|
321
321
|
ref_key: "details",
|
|
322
322
|
ref: Ae,
|
|
323
323
|
key: `user_option_${j.value}`,
|
|
@@ -349,7 +349,7 @@ const vt = ["id"], dt = {
|
|
|
349
349
|
onToggleTooltip: ve,
|
|
350
350
|
onToggleAnnotator: H,
|
|
351
351
|
style: M({
|
|
352
|
-
visibility: o(Q) ? o(
|
|
352
|
+
visibility: o(Q) ? o(R) ? "visible" : "hidden" : "visible"
|
|
353
353
|
})
|
|
354
354
|
}, He({ _: 2 }, [
|
|
355
355
|
t.$slots.menuIcon ? {
|
|
@@ -557,7 +557,7 @@ const vt = ["id"], dt = {
|
|
|
557
557
|
position: e.value.style.chart.tooltip.position,
|
|
558
558
|
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
559
559
|
parent: T.value,
|
|
560
|
-
content:
|
|
560
|
+
content: z.value,
|
|
561
561
|
isFullscreen: O.value,
|
|
562
562
|
isCustom: o(me)(e.value.style.chart.tooltip.customFormat),
|
|
563
563
|
smooth: e.value.style.chart.tooltip.smooth,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineAsyncComponent as G, computed as y, ref as m, watch as be, shallowRef as _e, onMounted as De, onBeforeUnmount as Ve, createElementBlock as u, openBlock as s, unref as n, normalizeStyle as q, normalizeClass as we, createBlock as U, createCommentVNode as c, createElementVNode as g, withCtx as I, toDisplayString as P, createSlots as qe, renderSlot as x, normalizeProps as W, guardReactiveProps as j, createVNode as He, Fragment as k, renderList as S, mergeProps as A } from "vue";
|
|
2
|
-
import { u as Ze, c as Je, t as Ke, p as xe, a as Qe, b as et, o as Se, d as tt, e as T, g as $e, m as H, N as C, O as at, X as lt, s as Z, n as rt, i as J, f as K, E as Q } from "./index-
|
|
2
|
+
import { u as Ze, c as Je, t as Ke, p as xe, a as Qe, b as et, o as Se, d as tt, e as T, g as $e, m as H, N as C, O as at, X as lt, s as Z, n as rt, i as J, f as K, E as Q } from "./index-DulvcqLu.js";
|
|
3
3
|
import { t as st, u as ot } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as ze } from "./useNestedProp-
|
|
5
|
-
import { u as ut } from "./usePrinter-
|
|
4
|
+
import { u as ze } from "./useNestedProp-wY5tGUuK.js";
|
|
5
|
+
import { u as ut } from "./usePrinter-DtvYX36b.js";
|
|
6
6
|
import { u as nt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
7
7
|
import { u as it } from "./useChartAccessibility-9icAAmYg.js";
|
|
8
|
-
import ct from "./Title-
|
|
9
|
-
import vt from "./img-
|
|
8
|
+
import ct from "./Title-DsWkPCQg.js";
|
|
9
|
+
import vt from "./img-49HUnS_0.js";
|
|
10
10
|
import { _ as dt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
11
11
|
const ht = ["id"], yt = { key: 0 }, ft = ["xmlns", "viewBox"], mt = ["width", "height"], pt = ["id"], gt = ["stop-color"], kt = ["stop-color"], bt = ["stop-color"], _t = ["id"], wt = ["stdDeviation"], xt = { key: 1 }, St = ["d", "fill", "stroke"], $t = ["d", "fill", "stroke"], zt = ["d", "fill"], Ct = ["id", "d"], Ft = ["fill", "font-size", "font-weight"], Ot = ["href", "startOffset"], Mt = ["x", "y", "text-anchor", "fill", "font-size", "font-weight"], Pt = ["d", "filter"], Nt = ["stroke", "stroke-width"], Xt = ["stroke", "stroke-width"], It = ["stroke", "stroke-width"], Yt = ["stroke", "stroke-width"], At = { key: 8 }, Rt = ["x", "y", "text-anchor", "font-size", "font-weight", "fill"], Et = ["x", "y", "font-size", "font-weight", "fill"], Gt = { key: 0 }, Ut = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Wt = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], jt = ["x1", "y1", "x2", "y2", "stroke-width", "filter"], Tt = { key: 1 }, Lt = ["d", "fill", "stroke", "stroke-width"], Bt = ["cx", "cy", "fill", "r", "stroke-width", "stroke"], Dt = ["x", "y", "font-size", "fill"], Vt = {
|
|
12
12
|
key: 5,
|
|
@@ -28,7 +28,7 @@ const ht = ["id"], yt = { key: 0 }, ft = ["xmlns", "viewBox"], mt = ["width", "h
|
|
|
28
28
|
}
|
|
29
29
|
},
|
|
30
30
|
setup(L, { expose: Ce }) {
|
|
31
|
-
const Fe = G(() => import("./PenAndPaper-
|
|
31
|
+
const Fe = G(() => import("./PenAndPaper-D1YqP905.js")), Oe = G(() => import("./vue-ui-skeleton-Dy07NAUi.js")), Me = G(() => import("./UserOptions-Ds_WVUoK.js")), Pe = G(() => import("./PackageVersion-BocKzQvI.js")), { vue_ui_gauge: Ne } = Ze(), d = L, R = y(() => !!d.dataset && Object.keys(d.dataset).length > 0 && d.dataset.series && d.dataset.series.length), w = m(Je()), Xe = m(null), ee = m(0), F = m(null), te = m(null), ae = m(null), le = m(null), re = m(null), se = m(0), e = y({
|
|
32
32
|
get: () => ie(),
|
|
33
33
|
set: (t) => t
|
|
34
34
|
}), { userOptionsVisible: B, setUserOptionsVisibility: oe, keepUserOptionState: ue } = nt({ config: e.value }), { svgRef: ne } = it({ config: e.value.style.chart.title });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineAsyncComponent as z, ref as G, useSlots as L, onMounted as _, computed as c, watch as N, createElementBlock as s, openBlock as a, normalizeStyle as $, createVNode as F, createCommentVNode as n, unref as l, createElementVNode as t, Fragment as p, toDisplayString as y } from "vue";
|
|
2
|
-
import { u as V, c as B, e as P, i as k, f as m } from "./index-
|
|
3
|
-
import { u as U } from "./useNestedProp-
|
|
2
|
+
import { u as V, c as B, e as P, i as k, f as m } from "./index-DulvcqLu.js";
|
|
3
|
+
import { u as U } from "./useNestedProp-wY5tGUuK.js";
|
|
4
4
|
const D = ["viewBox", "width"], I = { key: 0 }, M = ["id"], S = ["stop-color"], A = ["stop-color"], E = ["stroke"], O = ["stroke"], j = ["width", "fill"], T = ["fill"], q = { key: 0 }, H = ["id"], J = ["stroke"], K = ["stroke", "stroke-dasharray", "stroke-dashoffset"], Q = ["filter"], R = ["stroke", "stroke-dasharray", "stroke-dashoffset"], W = ["fill"], ee = {
|
|
5
5
|
__name: "vue-ui-gizmo",
|
|
6
6
|
props: {
|
|
@@ -16,7 +16,7 @@ const D = ["viewBox", "width"], I = { key: 0 }, M = ["id"], S = ["stop-color"],
|
|
|
16
16
|
}
|
|
17
17
|
},
|
|
18
18
|
setup(f) {
|
|
19
|
-
const w = z(() => import("./PackageVersion-
|
|
19
|
+
const w = z(() => import("./PackageVersion-BocKzQvI.js")), { vue_ui_gizmo: x } = V(), o = f, u = G(B()), C = L();
|
|
20
20
|
_(() => {
|
|
21
21
|
h();
|
|
22
22
|
}), _(() => {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { useCssVars as Bt, defineAsyncComponent as ne, computed as g, ref as c, shallowRef as nt, toRefs as Ut, watch as Re, onBeforeUnmount as Fe, onMounted as Yt, watchEffect as Ne, reactive as rt, createElementBlock as n, openBlock as u, normalizeStyle as k, normalizeClass as re, createBlock as ve, createCommentVNode as p, createElementVNode as h, createVNode as He, unref as i, createSlots as Gt, withCtx as O, renderSlot as T, normalizeProps as Z, guardReactiveProps as ee, Fragment as L, renderList as R, withDirectives as vt, createTextVNode as ct, toDisplayString as
|
|
2
|
-
import { u as Kt, c as Xe,
|
|
3
|
-
import { u as ht } from "./useNestedProp-
|
|
4
|
-
import { u as ul } from "./usePrinter-
|
|
1
|
+
import { useCssVars as Bt, defineAsyncComponent as ne, computed as g, ref as c, shallowRef as nt, toRefs as Ut, watch as Re, onBeforeUnmount as Fe, onMounted as Yt, watchEffect as Ne, reactive as rt, createElementBlock as n, openBlock as u, normalizeStyle as k, normalizeClass as re, createBlock as ve, createCommentVNode as p, createElementVNode as h, createVNode as He, unref as i, createSlots as Gt, withCtx as O, renderSlot as T, normalizeProps as Z, guardReactiveProps as ee, Fragment as L, renderList as R, withDirectives as vt, createTextVNode as ct, toDisplayString as z, vShow as Wt, withKeys as jt, nextTick as qt } from "vue";
|
|
2
|
+
import { u as Kt, c as Xe, v as Jt, a as Qt, C as Zt, o as dt, e as yt, P as ce, g as el, X as tl, F as xe, i as E, f as H, w as D, q as ll, r as al, y as ol, z as sl } from "./index-DulvcqLu.js";
|
|
3
|
+
import { u as ht } from "./useNestedProp-wY5tGUuK.js";
|
|
4
|
+
import { u as ul } from "./usePrinter-DtvYX36b.js";
|
|
5
5
|
import { u as il } from "./useUserOptionState-BIvW1Kz7.js";
|
|
6
6
|
import { u as nl } from "./useChartAccessibility-9icAAmYg.js";
|
|
7
|
-
import rl from "./vue-ui-accordion-
|
|
8
|
-
import vl from "./Title-
|
|
9
|
-
import cl from "./img-
|
|
7
|
+
import rl from "./vue-ui-accordion-Dsh-U1bj.js";
|
|
8
|
+
import vl from "./Title-DsWkPCQg.js";
|
|
9
|
+
import cl from "./img-49HUnS_0.js";
|
|
10
10
|
import { t as we, u as dl } from "./useResponsive-DfdjqQps.js";
|
|
11
11
|
import { u as ft } from "./useTimeLabelCollider-CIsgDrl9.js";
|
|
12
12
|
import { u as pt } from "./useTimeLabels-DkzmKfZn.js";
|
|
@@ -55,7 +55,7 @@ function gt(b, {
|
|
|
55
55
|
}
|
|
56
56
|
(C || G) && b.setAttribute("visibility", "hidden");
|
|
57
57
|
}
|
|
58
|
-
const gl = ["id"], bl = ["xmlns", "viewBox"], ml = ["x", "y", "width", "height"], xl = ["x", "y", "height", "width", "fill", "stroke", "stroke-width"], wl = ["x", "y", "height", "width", "fill", "stroke", "stroke-width"], kl = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], Al = ["x", "y", "width", "height", "fill", "stroke", "stroke-width", "onMouseover", "onMouseout", "onClick"], Ll = ["font-size", "font-weight", "fill", "x", "y"], Cl = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], Tl = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], _l = ["font-size", "fill", "x", "y", "font-weight"],
|
|
58
|
+
const gl = ["id"], bl = ["xmlns", "viewBox"], ml = ["x", "y", "width", "height"], xl = ["x", "y", "height", "width", "fill", "stroke", "stroke-width"], wl = ["x", "y", "height", "width", "fill", "stroke", "stroke-width"], kl = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], Al = ["x", "y", "width", "height", "fill", "stroke", "stroke-width", "onMouseover", "onMouseout", "onClick"], Ll = ["font-size", "font-weight", "fill", "x", "y"], Cl = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], Tl = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], _l = ["font-size", "fill", "x", "y", "font-weight"], zl = ["font-size", "fill", "x", "y", "font-weight"], Sl = ["text-anchor", "font-size", "fill", "font-weight", "transform"], $l = ["text-anchor", "font-size", "fill", "font-weight", "transform"], Ml = { key: 6 }, Ol = ["x", "y", "width", "height", "stroke", "stroke-width"], Rl = { class: "vue-ui-heatmap-legend-gauge-right" }, Fl = ["data-value"], Nl = { class: "vue-ui-heatmap-gauge-indicator-value" }, Hl = {
|
|
59
59
|
key: 4,
|
|
60
60
|
class: "vue-data-ui-watermark"
|
|
61
61
|
}, Xl = { class: "vue-ui-data-table" }, Pl = { key: 0 }, Il = ["data-cell"], Vl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, El = ["data-cell"], Dl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Bl = {
|
|
@@ -79,14 +79,14 @@ const gl = ["id"], bl = ["xmlns", "viewBox"], ml = ["x", "y", "width", "height"]
|
|
|
79
79
|
Bt((t) => ({
|
|
80
80
|
ae23f74c: t.tdo
|
|
81
81
|
}));
|
|
82
|
-
const Y = ne(() => import("./BaseIcon-
|
|
82
|
+
const Y = ne(() => import("./BaseIcon-B5dfTMEw.js")), ye = ne(() => import("./PackageVersion-BocKzQvI.js")), $ = ne(() => import("./PenAndPaper-D1YqP905.js")), te = ne(() => import("./Tooltip-CoGwbEml.js")), P = ne(() => import("./UserOptions-Ds_WVUoK.js")), { vue_ui_heatmap: ke } = Kt(), C = b, le = de, G = g({
|
|
83
83
|
get() {
|
|
84
84
|
return !!C.dataset && C.dataset.length;
|
|
85
85
|
},
|
|
86
86
|
set(t) {
|
|
87
87
|
return t;
|
|
88
88
|
}
|
|
89
|
-
}), W = c(Xe()), w = c(null), Ae = c(null), ae = c(!1), j = c(""), oe = c(void 0), se = c(null), Pe = c(0), Le = c(null), Ie = c(!1), Ve = c(0), bt = c(null), Ee = c(null), De = c(null), mt = c(null), Be = c(null), xt = c(null), Ce = c(null), Te = c(null), wt = c(null), Ue = c(null), q = nt(null), e = c(
|
|
89
|
+
}), W = c(Xe()), w = c(null), Ae = c(null), ae = c(!1), j = c(""), oe = c(void 0), se = c(null), Pe = c(0), Le = c(null), Ie = c(!1), Ve = c(0), bt = c(null), Ee = c(null), De = c(null), mt = c(null), Be = c(null), xt = c(null), Ce = c(null), Te = c(null), wt = c(null), Ue = c(null), q = nt(null), e = c(Se());
|
|
90
90
|
function kt() {
|
|
91
91
|
const t = Array(7).fill("_"), a = [], o = 14, s = t.length;
|
|
92
92
|
for (let d = 0; d < s; d += 1) {
|
|
@@ -103,7 +103,7 @@ const gl = ["id"], bl = ["xmlns", "viewBox"], ml = ["x", "y", "width", "height"]
|
|
|
103
103
|
const { loading: he, FINAL_DATASET: m, manualLoading: _e } = yl({
|
|
104
104
|
...Ut(C),
|
|
105
105
|
FINAL_CONFIG: e,
|
|
106
|
-
prepareConfig:
|
|
106
|
+
prepareConfig: Se,
|
|
107
107
|
skeletonDataset: kt(),
|
|
108
108
|
skeletonConfig: Jt({
|
|
109
109
|
defaultConfig: e.value,
|
|
@@ -130,11 +130,11 @@ const gl = ["id"], bl = ["xmlns", "viewBox"], ml = ["x", "y", "width", "height"]
|
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
132
|
})
|
|
133
|
-
}), { userOptionsVisible:
|
|
133
|
+
}), { userOptionsVisible: ze, setUserOptionsVisibility: At, keepUserOptionState: Ye } = il({ config: e.value }), { svgRef: Ge } = nl({ config: e.value.style.title });
|
|
134
134
|
function We(t) {
|
|
135
135
|
At(t);
|
|
136
136
|
}
|
|
137
|
-
function
|
|
137
|
+
function Se() {
|
|
138
138
|
const t = ht({
|
|
139
139
|
userConfig: C.config,
|
|
140
140
|
defaultConfig: ke
|
|
@@ -148,7 +148,7 @@ const gl = ["id"], bl = ["xmlns", "viewBox"], ml = ["x", "y", "width", "height"]
|
|
|
148
148
|
} : a = t, C.config && Zt(C.config, "style.layout.dataLabels.xAxis.showOnlyAtModulo") ? a.style.layout.dataLabels.xAxis.showOnlyAtModulo = C.config.style.layout.dataLabels.xAxis.showOnlyAtModulo : a.style.layout.dataLabels.xAxis.showOnlyAtModulo = null, a;
|
|
149
149
|
}
|
|
150
150
|
Re(() => C.config, (t) => {
|
|
151
|
-
he.value || (e.value =
|
|
151
|
+
he.value || (e.value = Se()), ze.value = !e.value.userOptions.showOnChartHover, $e(), Ve.value += 1, S.value.showTable = e.value.table.show, S.value.showTooltip = e.value.style.tooltip.show;
|
|
152
152
|
}, { deep: !0 }), Re(() => C.dataset, (t) => {
|
|
153
153
|
Array.isArray(t) && t.length > 0 && (_e.value = !1), $e();
|
|
154
154
|
}, { deep: !0 });
|
|
@@ -156,12 +156,12 @@ const gl = ["id"], bl = ["xmlns", "viewBox"], ml = ["x", "y", "width", "height"]
|
|
|
156
156
|
elementId: `heatmap__${W.value}`,
|
|
157
157
|
fileName: e.value.style.title.text || "vue-ui-heatmap",
|
|
158
158
|
options: e.value.userOptions.print
|
|
159
|
-
}), Lt = g(() => e.value.userOptions.show && !e.value.style.title.text),
|
|
159
|
+
}), Lt = g(() => e.value.userOptions.show && !e.value.style.title.text), S = c({
|
|
160
160
|
showTable: e.value.table.show,
|
|
161
161
|
showTooltip: e.value.style.tooltip.show
|
|
162
162
|
});
|
|
163
163
|
Re(e, () => {
|
|
164
|
-
|
|
164
|
+
S.value = {
|
|
165
165
|
showTable: e.value.table.show,
|
|
166
166
|
showTooltip: e.value.style.tooltip.show
|
|
167
167
|
};
|
|
@@ -220,25 +220,25 @@ const gl = ["id"], bl = ["xmlns", "viewBox"], ml = ["x", "y", "width", "height"]
|
|
|
220
220
|
});
|
|
221
221
|
o.observe(a), t(() => o.disconnect());
|
|
222
222
|
});
|
|
223
|
-
const J = c(0),
|
|
223
|
+
const J = c(0), zt = we((t) => {
|
|
224
224
|
J.value = t;
|
|
225
225
|
}, 100);
|
|
226
226
|
Ne((t) => {
|
|
227
227
|
const a = Be.value;
|
|
228
228
|
if (!a) return;
|
|
229
229
|
const o = new ResizeObserver((s) => {
|
|
230
|
-
|
|
230
|
+
zt(s[0].contentRect.width);
|
|
231
231
|
});
|
|
232
232
|
o.observe(a), t(() => o.disconnect());
|
|
233
233
|
});
|
|
234
|
-
const ge = c(0),
|
|
234
|
+
const ge = c(0), St = we((t) => {
|
|
235
235
|
ge.value = t;
|
|
236
236
|
}, 100);
|
|
237
237
|
Ne((t) => {
|
|
238
238
|
const a = Te.value;
|
|
239
239
|
if (!a) return;
|
|
240
240
|
const o = new ResizeObserver((s) => {
|
|
241
|
-
|
|
241
|
+
St(s[0].contentRect.height);
|
|
242
242
|
});
|
|
243
243
|
o.observe(a), t(() => o.disconnect());
|
|
244
244
|
}), Fe(() => {
|
|
@@ -432,10 +432,10 @@ const gl = ["id"], bl = ["xmlns", "viewBox"], ml = ["x", "y", "width", "height"]
|
|
|
432
432
|
Q.value = t, Pe.value += 1;
|
|
433
433
|
}
|
|
434
434
|
function ot() {
|
|
435
|
-
|
|
435
|
+
S.value.showTable = !S.value.showTable;
|
|
436
436
|
}
|
|
437
437
|
function st() {
|
|
438
|
-
|
|
438
|
+
S.value.showTooltip = !S.value.showTooltip;
|
|
439
439
|
}
|
|
440
440
|
const me = c(!1);
|
|
441
441
|
function Me() {
|
|
@@ -541,7 +541,7 @@ const gl = ["id"], bl = ["xmlns", "viewBox"], ml = ["x", "y", "width", "height"]
|
|
|
541
541
|
}
|
|
542
542
|
}, null, 8, ["config"]))
|
|
543
543
|
], 512)) : p("", !0),
|
|
544
|
-
e.value.userOptions.show && G.value && (i(Ye) || i(
|
|
544
|
+
e.value.userOptions.show && G.value && (i(Ye) || i(ze)) ? (u(), ve(i(P), {
|
|
545
545
|
ref_key: "details",
|
|
546
546
|
ref: Ae,
|
|
547
547
|
key: `user_options_${Pe.value}`,
|
|
@@ -557,7 +557,7 @@ const gl = ["id"], bl = ["xmlns", "viewBox"], ml = ["x", "y", "width", "height"]
|
|
|
557
557
|
hasTable: e.value.userOptions.buttons.table,
|
|
558
558
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
559
559
|
isFullscreen: Q.value,
|
|
560
|
-
isTooltip:
|
|
560
|
+
isTooltip: S.value.showTooltip,
|
|
561
561
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
562
562
|
chartElement: w.value,
|
|
563
563
|
position: e.value.userOptions.position,
|
|
@@ -573,7 +573,7 @@ const gl = ["id"], bl = ["xmlns", "viewBox"], ml = ["x", "y", "width", "height"]
|
|
|
573
573
|
onToggleTooltip: st,
|
|
574
574
|
onToggleAnnotator: Me,
|
|
575
575
|
style: k({
|
|
576
|
-
visibility: i(Ye) ? i(
|
|
576
|
+
visibility: i(Ye) ? i(ze) ? "visible" : "hidden" : "visible"
|
|
577
577
|
})
|
|
578
578
|
}, Gt({ _: 2 }, [
|
|
579
579
|
t.$slots.menuIcon ? {
|
|
@@ -725,7 +725,7 @@ const gl = ["id"], bl = ["xmlns", "viewBox"], ml = ["x", "y", "width", "height"]
|
|
|
725
725
|
y: l.value.top + l.value.cellSize.height * s + l.value.cellSize.height / 2 + e.value.style.layout.cells.value.fontSize / 3,
|
|
726
726
|
style: { pointerEvents: "none", userSelect: "none" }
|
|
727
727
|
}, [
|
|
728
|
-
ct(
|
|
728
|
+
ct(z(i(E)(
|
|
729
729
|
e.value.style.layout.cells.value.formatter,
|
|
730
730
|
d.value,
|
|
731
731
|
i(H)({
|
|
@@ -792,7 +792,7 @@ const gl = ["id"], bl = ["xmlns", "viewBox"], ml = ["x", "y", "width", "height"]
|
|
|
792
792
|
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),
|
|
793
793
|
"text-anchor": "end",
|
|
794
794
|
"font-weight": e.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal"
|
|
795
|
-
},
|
|
795
|
+
}, z(f.value.yLabels[s]), 9, _l),
|
|
796
796
|
e.value.style.layout.cells.rowTotal.value.show ? (u(), n("text", {
|
|
797
797
|
key: 0,
|
|
798
798
|
class: "vue-ui-heatmap-row-total",
|
|
@@ -802,7 +802,7 @@ const gl = ["id"], bl = ["xmlns", "viewBox"], ml = ["x", "y", "width", "height"]
|
|
|
802
802
|
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,
|
|
803
803
|
"text-anchor": "end",
|
|
804
804
|
"font-weight": e.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal"
|
|
805
|
-
},
|
|
805
|
+
}, z(Pt(s)), 9, zl)) : p("", !0)
|
|
806
806
|
], 64))), 256))
|
|
807
807
|
], 512)) : p("", !0),
|
|
808
808
|
e.value.style.layout.dataLabels.xAxis.show ? (u(), n("g", {
|
|
@@ -819,7 +819,7 @@ const gl = ["id"], bl = ["xmlns", "viewBox"], ml = ["x", "y", "width", "height"]
|
|
|
819
819
|
fill: e.value.style.layout.dataLabels.xAxis.color,
|
|
820
820
|
"font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
|
|
821
821
|
transform: `translate(${l.value.left + l.value.cellSize.width / 2 + l.value.width / f.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})`
|
|
822
|
-
},
|
|
822
|
+
}, z(o), 9, Sl)) : p("", !0)
|
|
823
823
|
], 64))), 256))
|
|
824
824
|
], 512)) : p("", !0),
|
|
825
825
|
e.value.style.layout.cells.columnTotal.value.show ? (u(), n("g", {
|
|
@@ -834,7 +834,7 @@ const gl = ["id"], bl = ["xmlns", "viewBox"], ml = ["x", "y", "width", "height"]
|
|
|
834
834
|
fill: e.value.style.layout.dataLabels.xAxis.color,
|
|
835
835
|
"font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
|
|
836
836
|
transform: `translate(${l.value.left + l.value.cellSize.width / 2 + l.value.width / f.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})`
|
|
837
|
-
},
|
|
837
|
+
}, z(It(s)), 9, $l))), 256))
|
|
838
838
|
], 512)) : p("", !0),
|
|
839
839
|
se.value ? (u(), n("g", Ml, [
|
|
840
840
|
h("rect", {
|
|
@@ -867,7 +867,7 @@ const gl = ["id"], bl = ["xmlns", "viewBox"], ml = ["x", "y", "width", "height"]
|
|
|
867
867
|
fontSize: e.value.style.legend.fontSize + "px",
|
|
868
868
|
color: e.value.style.legend.color
|
|
869
869
|
})
|
|
870
|
-
},
|
|
870
|
+
}, z(i(E)(
|
|
871
871
|
e.value.style.layout.cells.value.formatter,
|
|
872
872
|
i(D)(V.value),
|
|
873
873
|
i(H)({
|
|
@@ -910,7 +910,7 @@ const gl = ["id"], bl = ["xmlns", "viewBox"], ml = ["x", "y", "width", "height"]
|
|
|
910
910
|
"--gauge-arrow-font-size": e.value.style.legend.fontSize + "px"
|
|
911
911
|
})
|
|
912
912
|
}, [
|
|
913
|
-
h("div", Nl,
|
|
913
|
+
h("div", Nl, z(i(E)(
|
|
914
914
|
e.value.style.layout.cells.value.formatter,
|
|
915
915
|
i(D)(M.value),
|
|
916
916
|
i(H)({
|
|
@@ -932,7 +932,7 @@ const gl = ["id"], bl = ["xmlns", "viewBox"], ml = ["x", "y", "width", "height"]
|
|
|
932
932
|
fontSize: e.value.style.legend.fontSize + "px",
|
|
933
933
|
color: e.value.style.legend.color
|
|
934
934
|
})
|
|
935
|
-
},
|
|
935
|
+
}, z(i(E)(
|
|
936
936
|
e.value.style.layout.cells.value.formatter,
|
|
937
937
|
i(D)(ie.value),
|
|
938
938
|
i(H)({
|
|
@@ -956,7 +956,7 @@ const gl = ["id"], bl = ["xmlns", "viewBox"], ml = ["x", "y", "width", "height"]
|
|
|
956
956
|
T(t.$slots, "source", {}, void 0, !0)
|
|
957
957
|
], 512)) : p("", !0),
|
|
958
958
|
He(i(te), {
|
|
959
|
-
show:
|
|
959
|
+
show: S.value.showTooltip && ae.value,
|
|
960
960
|
backgroundColor: e.value.style.tooltip.backgroundColor,
|
|
961
961
|
color: e.value.style.tooltip.color,
|
|
962
962
|
borderRadius: e.value.style.tooltip.borderRadius,
|
|
@@ -985,7 +985,7 @@ const gl = ["id"], bl = ["xmlns", "viewBox"], ml = ["x", "y", "width", "height"]
|
|
|
985
985
|
key: 6,
|
|
986
986
|
hideDetails: "",
|
|
987
987
|
config: {
|
|
988
|
-
open:
|
|
988
|
+
open: S.value.showTable,
|
|
989
989
|
maxHeight: 1e4,
|
|
990
990
|
body: {
|
|
991
991
|
backgroundColor: e.value.style.backgroundColor,
|
|
@@ -1011,8 +1011,8 @@ const gl = ["id"], bl = ["xmlns", "viewBox"], ml = ["x", "y", "width", "height"]
|
|
|
1011
1011
|
role: "button",
|
|
1012
1012
|
tabindex: "0",
|
|
1013
1013
|
style: k(`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};`),
|
|
1014
|
-
onClick: a[0] || (a[0] = (o) =>
|
|
1015
|
-
onKeypress: a[1] || (a[1] = jt((o) =>
|
|
1014
|
+
onClick: a[0] || (a[0] = (o) => S.value.showTable = !1),
|
|
1015
|
+
onKeypress: a[1] || (a[1] = jt((o) => S.value.showTable = !1, ["enter"]))
|
|
1016
1016
|
}, [
|
|
1017
1017
|
He(i(Y), {
|
|
1018
1018
|
name: "close",
|
|
@@ -1024,8 +1024,8 @@ const gl = ["id"], bl = ["xmlns", "viewBox"], ml = ["x", "y", "width", "height"]
|
|
|
1024
1024
|
h("caption", {
|
|
1025
1025
|
style: k(`backgroundColor:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
|
|
1026
1026
|
}, [
|
|
1027
|
-
ct(
|
|
1028
|
-
e.value.style.title.subtitle.text ? (u(), n("span", Pl,
|
|
1027
|
+
ct(z(e.value.style.title.text) + " ", 1),
|
|
1028
|
+
e.value.style.title.subtitle.text ? (u(), n("span", Pl, z(e.value.style.title.subtitle.text), 1)) : p("", !0)
|
|
1029
1029
|
], 4),
|
|
1030
1030
|
h("thead", null, [
|
|
1031
1031
|
h("tr", {
|
|
@@ -1038,7 +1038,7 @@ const gl = ["id"], bl = ["xmlns", "viewBox"], ml = ["x", "y", "width", "height"]
|
|
|
1038
1038
|
(u(!0), n(L, null, R(b.dataset, (o, s) => (u(), n("th", {
|
|
1039
1039
|
align: "right",
|
|
1040
1040
|
style: k(`outline:${e.value.table.th.outline};padding-right:6px`)
|
|
1041
|
-
},
|
|
1041
|
+
}, z(o.name), 5))), 256))
|
|
1042
1042
|
], 4)
|
|
1043
1043
|
]),
|
|
1044
1044
|
h("tbody", null, [
|
|
@@ -1052,14 +1052,14 @@ const gl = ["id"], bl = ["xmlns", "viewBox"], ml = ["x", "y", "width", "height"]
|
|
|
1052
1052
|
class: "vue-ui-data-table__tbody__td",
|
|
1053
1053
|
style: k(`outline:${e.value.table.td.outline}`)
|
|
1054
1054
|
}, [
|
|
1055
|
-
h("div", Vl,
|
|
1055
|
+
h("div", Vl, z(o), 1)
|
|
1056
1056
|
], 12, Il),
|
|
1057
1057
|
(u(!0), n(L, null, R(b.dataset, (d, v) => (u(), n("td", {
|
|
1058
1058
|
class: "vue-ui-data-table__tbody__td",
|
|
1059
1059
|
"data-cell": b.dataset[v].name,
|
|
1060
1060
|
style: k(`outline:${e.value.table.td.outline}`)
|
|
1061
1061
|
}, [
|
|
1062
|
-
h("div", Dl,
|
|
1062
|
+
h("div", Dl, z(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)
|
|
1063
1063
|
], 12, El))), 256))
|
|
1064
1064
|
], 6))), 256))
|
|
1065
1065
|
])
|