vue-data-ui 2.17.0 → 2.17.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -1
- package/dist/{Arrow-BAEkZGzL.js → Arrow-Dr2lyXds.js} +1 -1
- package/dist/{BaseDraggableDialog-ChCkcmj_.js → BaseDraggableDialog-DQ6yA8di.js} +2 -2
- package/dist/{BaseIcon-naqtCxVi.js → BaseIcon-C2f-EcZc.js} +1 -1
- package/dist/{ColorPicker-CfIPgxcj.js → ColorPicker-D-JmDe31.js} +2 -2
- package/dist/{DataTable-D0VYDhfx.js → DataTable-6BxhjBzt.js} +2 -2
- package/dist/{Legend-Bxlv67uY.js → Legend-1R-B-7st.js} +11 -11
- package/dist/{NonSvgPenAndPaper-b_oVy-Dd.js → NonSvgPenAndPaper-CLNy5uCL.js} +3 -3
- package/dist/{PackageVersion-5TR4ocqp.js → PackageVersion-CIX1W_aa.js} +1 -1
- package/dist/{PenAndPaper-D6AqipIO.js → PenAndPaper-CqJ4wudB.js} +3 -3
- package/dist/{Shape-DtFT5EJa.js → Shape-DJKQgAbU.js} +1 -1
- package/dist/{Slicer-CL6-MRI6.js → Slicer-Dju6LE-h.js} +2 -2
- package/dist/{SparkTooltip-Bcv1aoA5.js → SparkTooltip-D2mROH3o.js} +1 -1
- package/dist/{Title-B-2bV0SW.js → Title-BQb7X_OR.js} +1 -1
- package/dist/{Tooltip-CoQnTnr-.js → Tooltip-BTnTpPdO.js} +1 -1
- package/dist/{UserOptions-Dd34lEKb.js → UserOptions-lneAyZKu.js} +2 -2
- package/dist/{dom-to-png-2AA0wHlX.js → dom-to-png-C-9BWdwN.js} +1 -1
- package/dist/{img-Y_hYz-ZC.js → img-D0DpKcFX.js} +1 -1
- package/dist/{index-pPGk-uhD.js → index-JzUbx__y.js} +22 -8
- package/dist/{pdf-yfk3d1is.js → pdf-BgVDfZPT.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +65 -160
- package/dist/types/vue-data-ui.d.ts +65 -160
- package/dist/{useNestedProp-DjACxgdZ.js → useNestedProp-D_jd2dz9.js} +1 -1
- package/dist/{usePrinter-DDHcrl0A.js → usePrinter-CsyliflB.js} +2 -2
- package/dist/{vue-data-ui-CIWxgKjd.js → vue-data-ui-BMv8hEcb.js} +99 -97
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-D5Wpdqfk.js → vue-ui-3d-bar-CrdssfKx.js} +41 -34
- package/dist/{vue-ui-accordion-CVnA550V.js → vue-ui-accordion-CcTUbiHq.js} +3 -3
- package/dist/{vue-ui-age-pyramid-BuAl-zC5.js → vue-ui-age-pyramid-ZYFAAcwc.js} +134 -127
- package/dist/{vue-ui-annotator-gl2A20m3.js → vue-ui-annotator-BEgBoRWQ.js} +2 -2
- package/dist/{vue-ui-bullet-D-VMKpwe.js → vue-ui-bullet-DYzLfkYB.js} +90 -83
- package/dist/{vue-ui-candlestick-1r6YwiUV.js → vue-ui-candlestick-Cdu2ozig.js} +101 -94
- package/dist/{vue-ui-carousel-table-B6UJoNtP.js → vue-ui-carousel-table-Dce2wfVw.js} +4 -4
- package/dist/{vue-ui-chestnut-DnlBYpC5.js → vue-ui-chestnut-CCMAbLrw.js} +270 -263
- package/dist/{vue-ui-chord-D3kpzYjp.js → vue-ui-chord-B8Sl_FwD.js} +60 -53
- package/dist/{vue-ui-circle-pack-CHgdpoYu.js → vue-ui-circle-pack-BX6_ToJl.js} +121 -114
- package/dist/{vue-ui-cursor-63EAvElT.js → vue-ui-cursor-CyaF0qp7.js} +2 -2
- package/dist/{vue-ui-dashboard-Da6CPET-.js → vue-ui-dashboard-BmL_vnj5.js} +62 -62
- package/dist/{vue-ui-digits-CA8pUKej.js → vue-ui-digits-BRKjd-LQ.js} +2 -2
- package/dist/vue-ui-donut-LZR-vpdS.js +1338 -0
- package/dist/{vue-ui-donut-evolution-qeBEA4W8.js → vue-ui-donut-evolution-dax3dN9r.js} +215 -211
- package/dist/{vue-ui-dumbbell-Bm0PvAKT.js → vue-ui-dumbbell-C7ZNBVSy.js} +117 -110
- package/dist/{vue-ui-flow-C2dqXvrU.js → vue-ui-flow-BeLwkeHo.js} +105 -98
- package/dist/{vue-ui-funnel-Dvy5rRld.js → vue-ui-funnel-BywaRLZR.js} +138 -131
- package/dist/{vue-ui-galaxy-Y8LYp5n2.js → vue-ui-galaxy-DYavEd4o.js} +150 -146
- package/dist/{vue-ui-gauge-BBo0jWAP.js → vue-ui-gauge-DwQRlRWp.js} +125 -118
- package/dist/{vue-ui-gizmo-DjXfTOWn.js → vue-ui-gizmo-CjRczit6.js} +3 -3
- package/dist/{vue-ui-heatmap-BbxRpltP.js → vue-ui-heatmap-cRy0tcES.js} +155 -148
- package/dist/{vue-ui-history-plot-ChYf3Nvc.js → vue-ui-history-plot-D8aTdU23.js} +141 -134
- package/dist/{vue-ui-kpi-Vfc5-JnE.js → vue-ui-kpi-B10h_Hbt.js} +3 -3
- package/dist/{vue-ui-mini-loader-C0-Nsz8K.js → vue-ui-mini-loader-DNhr_0fr.js} +2 -2
- package/dist/{vue-ui-molecule-B7Yu7vzF.js → vue-ui-molecule-4MeyWn0c.js} +141 -134
- package/dist/{vue-ui-mood-radar-C8JUTwNw.js → vue-ui-mood-radar-DJmgRVT2.js} +126 -119
- package/dist/vue-ui-nested-donuts-CgaPLxV2.js +1177 -0
- package/dist/{vue-ui-onion-D4U7TL_N.js → vue-ui-onion-swDxtTT3.js} +88 -81
- package/dist/{vue-ui-parallel-coordinate-plot-CXMT7Rjr.js → vue-ui-parallel-coordinate-plot-DayzzOmK.js} +123 -116
- package/dist/{vue-ui-quadrant-B13pTVVZ.js → vue-ui-quadrant-CLf81ioF.js} +151 -144
- package/dist/{vue-ui-quick-chart-C0UL4o63.js → vue-ui-quick-chart-smKrpIwq.js} +39 -32
- package/dist/{vue-ui-radar-XpdiXnhz.js → vue-ui-radar-D8CIvG2q.js} +58 -51
- package/dist/{vue-ui-rating-CM8ZrUb1.js → vue-ui-rating-YZivkWBI.js} +2 -2
- package/dist/{vue-ui-relation-circle-CYoFNekk.js → vue-ui-relation-circle-DsEYbNs_.js} +127 -120
- package/dist/{vue-ui-ridgeline-QUquE6ck.js → vue-ui-ridgeline-Do6C5lMY.js} +98 -91
- package/dist/{vue-ui-rings-DwT0IfOh.js → vue-ui-rings-CMryJR1g.js} +208 -204
- package/dist/{vue-ui-scatter-zDpy1udm.js → vue-ui-scatter-BtLKWQbX.js} +172 -165
- package/dist/{vue-ui-skeleton-DJPjyNYn.js → vue-ui-skeleton-B4KQLEQy.js} +3 -3
- package/dist/{vue-ui-smiley-DoDXl6k0.js → vue-ui-smiley-CZBuA-1x.js} +2 -2
- package/dist/{vue-ui-spark-trend-CniV6Cpr.js → vue-ui-spark-trend-CdgyexDu.js} +3 -3
- package/dist/{vue-ui-sparkbar-Ds2ITgwn.js → vue-ui-sparkbar-DuZulYgD.js} +3 -3
- package/dist/{vue-ui-sparkgauge-CosfK-kw.js → vue-ui-sparkgauge-Di0FmUXs.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-C7O1wPAJ.js → vue-ui-sparkhistogram-CHNHz9Gm.js} +4 -4
- package/dist/{vue-ui-sparkline-B_iUj3F2.js → vue-ui-sparkline-TaWMi8gF.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-DBhWrysr.js → vue-ui-sparkstackbar-Bv2HEegT.js} +3 -3
- package/dist/{vue-ui-stackbar-C3aV4IcL.js → vue-ui-stackbar-Bk3Bbzjk.js} +61 -54
- package/dist/{vue-ui-strip-plot-Bvr1GAzH.js → vue-ui-strip-plot-BNMDY4GI.js} +116 -109
- package/dist/{vue-ui-table-DQKKRgyo.js → vue-ui-table-JG0B8HuS.js} +3 -3
- package/dist/{vue-ui-table-heatmap-Dyqj5XJC.js → vue-ui-table-heatmap-CCdWeNZj.js} +5 -5
- package/dist/{vue-ui-table-sparkline-D4RubyLj.js → vue-ui-table-sparkline-C1u_b0RG.js} +4 -4
- package/dist/{vue-ui-thermometer-B0FKI5cG.js → vue-ui-thermometer-DkldIXw7.js} +88 -81
- package/dist/{vue-ui-timer-DUCBRIl-.js → vue-ui-timer-0KDTN-Gt.js} +5 -5
- package/dist/{vue-ui-tiremarks-CRt4UQZD.js → vue-ui-tiremarks-FPtGzTGi.js} +127 -120
- package/dist/vue-ui-treemap-BA5wC5Bs.js +965 -0
- package/dist/{vue-ui-vertical-bar-C5fPYltO.js → vue-ui-vertical-bar-DUJWYMRn.js} +233 -226
- package/dist/{vue-ui-waffle-BpWLlfpg.js → vue-ui-waffle-BIngg99N.js} +183 -179
- package/dist/{vue-ui-wheel-CTzuCroy.js → vue-ui-wheel-l5U2UH9c.js} +121 -114
- package/dist/{vue-ui-word-cloud-BPokdaP1.js → vue-ui-word-cloud-CTKuxhFY.js} +152 -145
- package/dist/{vue-ui-world-CS6k-oil.js → vue-ui-world-Dx5O9Is5.js} +77 -70
- package/dist/{vue-ui-xy-CQ425kLR.js → vue-ui-xy-JjA1CMAo.js} +229 -222
- package/dist/{vue-ui-xy-canvas-D2IFwAr7.js → vue-ui-xy-canvas-CH82b2Lp.js} +154 -147
- package/package.json +1 -1
- package/dist/vue-ui-donut-CKa7nFjt.js +0 -1324
- package/dist/vue-ui-nested-donuts-D0RgFifU.js +0 -1163
- package/dist/vue-ui-treemap-CWP5nYDx.js +0 -961
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { defineAsyncComponent as
|
|
2
|
-
import { u as It, c as ve, o as
|
|
1
|
+
import { defineAsyncComponent as O, computed as f, ref as u, shallowRef as Be, onMounted as Nt, onBeforeUnmount as Ft, watch as Ue, createElementBlock as n, openBlock as r, unref as i, normalizeStyle as _, normalizeClass as q, createBlock as P, createCommentVNode as c, renderSlot as p, createElementVNode as d, createSlots as Ge, withCtx as m, normalizeProps as K, guardReactiveProps as J, createVNode as We, Fragment as g, renderList as A, mergeProps as je, toDisplayString as V, createTextVNode as Ye, nextTick as Dt } from "vue";
|
|
2
|
+
import { u as It, c as ve, o as Rt, e as he, g as qe, b as Xt, d as Et, p as Q, an as Ke, a9 as Ht, U as Je, V as Vt, W as Bt, X as Ut, F as Gt, I as Wt, i as Z, f as ee, t as jt, a as Yt, q as qt, r as Kt, K as Jt } from "./index-JzUbx__y.js";
|
|
3
3
|
import { u as Qt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
4
4
|
import { u as Zt } from "./useChartAccessibility-9icAAmYg.js";
|
|
5
|
-
import { u as el } from "./usePrinter-
|
|
5
|
+
import { u as el } from "./usePrinter-CsyliflB.js";
|
|
6
6
|
import { t as tl, u as ll } from "./useResponsive-DfdjqQps.js";
|
|
7
|
-
import { u as Qe } from "./useNestedProp-
|
|
8
|
-
import al from "./Legend-
|
|
9
|
-
import sl from "./Title-
|
|
10
|
-
import { _ as ol } from "./Shape-
|
|
7
|
+
import { u as Qe } from "./useNestedProp-D_jd2dz9.js";
|
|
8
|
+
import al from "./Legend-1R-B-7st.js";
|
|
9
|
+
import sl from "./Title-BQb7X_OR.js";
|
|
10
|
+
import { _ as ol } from "./Shape-DJKQgAbU.js";
|
|
11
11
|
import { u as rl } from "./useTimeLabels-Mrr0jrpL.js";
|
|
12
|
-
import nl from "./img-
|
|
13
|
-
import { _ as
|
|
14
|
-
const
|
|
12
|
+
import nl from "./img-D0DpKcFX.js";
|
|
13
|
+
import { _ as il } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
14
|
+
const ul = ["id"], cl = ["xmlns", "viewBox"], vl = ["id"], hl = ["stop-color"], dl = ["stop-color"], yl = ["stop-color"], fl = ["stop-color"], gl = ["id"], pl = ["stop-color"], ml = ["stop-color"], bl = ["stop-color"], xl = ["stop-color"], kl = { key: 0 }, Al = ["fill", "d"], wl = ["stroke", "stroke-width", "d"], $l = ["fill", "d"], Cl = ["stroke", "stroke-dasharray", "stroke-width", "d"], _l = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], Ml = ["cx", "cy", "stroke", "stroke-width", "r", "fill"], Pl = ["x", "y", "font-size", "font-weight", "fill", "text-decoration", "onMouseenter", "onClick"], Tl = { key: 0 }, Sl = { key: 0 }, zl = ["font-size", "fill", "font-weight", "transform", "text-anchor"], Ol = ["font-size", "fill", "font-weight", "transform", "text-anchor", "innerHTML"], Ll = ["x", "y", "width", "height", "onMouseenter", "onClick"], Nl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Fl = ["cx", "cy", "stroke", "stroke-width", "r", "fill"], Dl = ["x", "y", "text-anchor", "font-size", "fill"], Il = {
|
|
15
15
|
key: 5,
|
|
16
16
|
class: "vue-data-ui-watermark"
|
|
17
|
-
},
|
|
17
|
+
}, Rl = ["onClick"], Xl = ["innerHTML"], El = {
|
|
18
18
|
__name: "vue-ui-ridgeline",
|
|
19
19
|
props: {
|
|
20
20
|
config: {
|
|
@@ -32,14 +32,14 @@ const il = ["id"], cl = ["xmlns", "viewBox"], vl = ["id"], hl = ["stop-color"],
|
|
|
32
32
|
},
|
|
33
33
|
emits: ["selectLegend", "selectDatapoint", "selectX"],
|
|
34
34
|
setup(Ze, { expose: et, emit: tt }) {
|
|
35
|
-
const lt =
|
|
35
|
+
const lt = O(() => import("./vue-ui-accordion-CcTUbiHq.js")), at = O(() => import("./BaseDraggableDialog-DQ6yA8di.js")), st = O(() => import("./DataTable-6BxhjBzt.js")), ot = O(() => import("./PackageVersion-CIX1W_aa.js")), rt = O(() => import("./PenAndPaper-CqJ4wudB.js")), nt = O(() => import("./vue-ui-skeleton-B4KQLEQy.js")), it = O(() => import("./UserOptions-lneAyZKu.js")), ut = O(() => import("./vue-ui-xy-JjA1CMAo.js")), { vue_ui_ridgeline: ct } = It(), k = Ze, L = f({
|
|
36
36
|
get() {
|
|
37
37
|
return !!k.dataset && k.dataset.length;
|
|
38
38
|
},
|
|
39
39
|
set(l) {
|
|
40
40
|
return l;
|
|
41
41
|
}
|
|
42
|
-
}), te = tt,
|
|
42
|
+
}), te = tt, T = u(null), de = u(null), ye = u(null), S = Be(null), I = Be(null), fe = u(null), ge = u(null), pe = u(0), vt = u(0), me = u(0), w = u(ve()), be = u(0), ht = u(0), xe = u(512), v = u(null), R = u(null), le = u(null), ke = u(0);
|
|
43
43
|
function Ae() {
|
|
44
44
|
const l = Qe({
|
|
45
45
|
userConfig: k.config,
|
|
@@ -56,7 +56,7 @@ const il = ["id"], cl = ["xmlns", "viewBox"], vl = ["id"], hl = ["stop-color"],
|
|
|
56
56
|
const e = f({
|
|
57
57
|
get: () => Ae(),
|
|
58
58
|
set: (l) => l
|
|
59
|
-
}), $ =
|
|
59
|
+
}), $ = u(Math.min(
|
|
60
60
|
e.value.style.chart.areas.height,
|
|
61
61
|
e.value.style.chart.areas.rowHeight
|
|
62
62
|
)), {
|
|
@@ -66,7 +66,7 @@ const il = ["id"], cl = ["xmlns", "viewBox"], vl = ["id"], hl = ["stop-color"],
|
|
|
66
66
|
} = Qt({ config: e.value }), { svgRef: se } = Zt({ config: e.value.style.chart.title });
|
|
67
67
|
Nt(oe);
|
|
68
68
|
function oe() {
|
|
69
|
-
if (
|
|
69
|
+
if (Rt(k.dataset) ? he({
|
|
70
70
|
componentName: "VueUiRidgeline",
|
|
71
71
|
type: "dataset"
|
|
72
72
|
}) : k.dataset.forEach((l, o) => {
|
|
@@ -74,7 +74,7 @@ const il = ["id"], cl = ["xmlns", "viewBox"], vl = ["id"], hl = ["stop-color"],
|
|
|
74
74
|
datasetObject: l,
|
|
75
75
|
requiredAttributes: ["name", "datapoints"]
|
|
76
76
|
}).forEach((t) => {
|
|
77
|
-
|
|
77
|
+
L.value = !1, he({
|
|
78
78
|
componentName: "VueUiRidgeline",
|
|
79
79
|
type: "datasetSerieAttribute",
|
|
80
80
|
property: t,
|
|
@@ -85,7 +85,7 @@ const il = ["id"], cl = ["xmlns", "viewBox"], vl = ["id"], hl = ["stop-color"],
|
|
|
85
85
|
datasetObject: t,
|
|
86
86
|
requiredAttributes: ["name", "values"]
|
|
87
87
|
}).forEach((a) => {
|
|
88
|
-
|
|
88
|
+
L.value = !1, he({
|
|
89
89
|
componentName: "VueUiRidgeline",
|
|
90
90
|
type: "datasetSerieAttribute",
|
|
91
91
|
property: `datapoint.${a}`,
|
|
@@ -99,7 +99,7 @@ const il = ["id"], cl = ["xmlns", "viewBox"], vl = ["id"], hl = ["stop-color"],
|
|
|
99
99
|
), e.value.responsive) {
|
|
100
100
|
const l = tl(() => {
|
|
101
101
|
const { width: o, height: t } = ll({
|
|
102
|
-
chart:
|
|
102
|
+
chart: T.value,
|
|
103
103
|
title: e.value.style.chart.title.text ? de.value : null,
|
|
104
104
|
legend: e.value.style.chart.legend.show ? ye.value : null,
|
|
105
105
|
source: fe.value,
|
|
@@ -110,17 +110,17 @@ const il = ["id"], cl = ["xmlns", "viewBox"], vl = ["id"], hl = ["stop-color"],
|
|
|
110
110
|
xe.value = o, $.value = t / k.dataset.length, ke.value = t;
|
|
111
111
|
});
|
|
112
112
|
});
|
|
113
|
-
|
|
113
|
+
S.value && (I.value && S.value.unobserve(I.value), S.value.disconnect()), S.value = new ResizeObserver(l), I.value = T.value.parentNode, S.value.observe(I.value);
|
|
114
114
|
}
|
|
115
115
|
}
|
|
116
116
|
Ft(() => {
|
|
117
|
-
|
|
117
|
+
S.value && (I.value && S.value.unobserve(I.value), S.value.disconnect());
|
|
118
118
|
});
|
|
119
119
|
const { isPrinting: Ce, isImaging: _e, generatePdf: Me, generateImage: Pe } = el({
|
|
120
120
|
elementId: `vue-ui-ridgeline_${w.value}`,
|
|
121
121
|
fileName: e.value.style.chart.title.text || "vue-ui-ridgeline",
|
|
122
122
|
options: e.value.userOptions.print
|
|
123
|
-
}), dt = f(() => e.value.userOptions.show && !e.value.style.chart.title.text), yt = f(() =>
|
|
123
|
+
}), dt = f(() => e.value.userOptions.show && !e.value.style.chart.title.text), yt = f(() => Xt(e.value.customPalette)), B = u({
|
|
124
124
|
showTable: e.value.table.show
|
|
125
125
|
});
|
|
126
126
|
Ue(() => k.config, (l) => {
|
|
@@ -131,9 +131,9 @@ const il = ["id"], cl = ["xmlns", "viewBox"], vl = ["id"], hl = ["stop-color"],
|
|
|
131
131
|
}, { deep: !0 }), Ue(() => k.dataset, oe, { deep: !0 });
|
|
132
132
|
const re = f(() => e.value.style.chart.areas.height / e.value.style.chart.areas.rowHeight);
|
|
133
133
|
function Te(l) {
|
|
134
|
-
|
|
134
|
+
z.value.includes(l) ? z.value = z.value.filter((o) => o !== l) : z.value.push(l), te("selectLegend", E.value);
|
|
135
135
|
}
|
|
136
|
-
const M = f(() =>
|
|
136
|
+
const M = f(() => L.value ? k.dataset.map((l, o) => ({
|
|
137
137
|
...l,
|
|
138
138
|
labelLen: pt(l.name, e.value.style.chart.yAxis.labels.fontSize),
|
|
139
139
|
uid: ve(),
|
|
@@ -165,7 +165,7 @@ const il = ["id"], cl = ["xmlns", "viewBox"], vl = ["id"], hl = ["stop-color"],
|
|
|
165
165
|
formatter: e.value.style.chart.xAxis.labels.datetimeFormatter,
|
|
166
166
|
start: 0,
|
|
167
167
|
end: e.value.style.chart.xAxis.labels.values.length
|
|
168
|
-
})),
|
|
168
|
+
})), X = f(() => {
|
|
169
169
|
const l = Math.max(...M.value.map((a) => a.labelLen)), o = y.value.padding.left + l + 16 + e.value.style.chart.yAxis.labels.offsetX, t = (b.value.width - o) / ne.value, s = [];
|
|
170
170
|
for (let a = 0; a < ne.value; a += 1)
|
|
171
171
|
s.push({
|
|
@@ -198,12 +198,12 @@ const il = ["id"], cl = ["xmlns", "viewBox"], vl = ["id"], hl = ["stop-color"],
|
|
|
198
198
|
}
|
|
199
199
|
const E = f(() => {
|
|
200
200
|
$.value;
|
|
201
|
-
const l = Math.max(...M.value.map((x) => x.labelLen)), o = Math.max(...M.value.flatMap((x) => x.datapoints.map((N) => N.values.length))), t = Math.max(...M.value.flatMap((x) => x.datapoints.flatMap((N) => N.values))), s = Math.min(...M.value.flatMap((x) => x.datapoints.flatMap((N) => N.values))), a = y.value.padding.left + l + 16 + e.value.style.chart.yAxis.labels.offsetX, h = (b.value.width - a) / o, C = Math.abs(Math.min(s, 0)),
|
|
202
|
-
function
|
|
203
|
-
return isNaN(x /
|
|
201
|
+
const l = Math.max(...M.value.map((x) => x.labelLen)), o = Math.max(...M.value.flatMap((x) => x.datapoints.map((N) => N.values.length))), t = Math.max(...M.value.flatMap((x) => x.datapoints.flatMap((N) => N.values))), s = Math.min(...M.value.flatMap((x) => x.datapoints.flatMap((N) => N.values))), a = y.value.padding.left + l + 16 + e.value.style.chart.yAxis.labels.offsetX, h = (b.value.width - a) / o, C = Math.abs(Math.min(s, 0)), Re = t + C;
|
|
202
|
+
function Xe(x) {
|
|
203
|
+
return isNaN(x / Re) ? 0 : x / Re;
|
|
204
204
|
}
|
|
205
205
|
return M.value.map((x, N) => {
|
|
206
|
-
const Ee = b.value.top + $.value * N, F = b.value.top + Ee + $.value * re.value * (1 -
|
|
206
|
+
const Ee = b.value.top + $.value * N, F = b.value.top + Ee + $.value * re.value * (1 - Xe(C));
|
|
207
207
|
return {
|
|
208
208
|
...x,
|
|
209
209
|
label: {
|
|
@@ -212,7 +212,7 @@ const il = ["id"], cl = ["xmlns", "viewBox"], vl = ["id"], hl = ["stop-color"],
|
|
|
212
212
|
},
|
|
213
213
|
datapoints: x.datapoints.map((U) => {
|
|
214
214
|
const D = U.values.map((G, Tt) => {
|
|
215
|
-
const St = isNaN(G) || [void 0, null, "NaN", NaN, 1 / 0, -1 / 0].includes(G) ? 0 : G || 0, zt = a + h * Tt, Ot = b.value.top + Ee + $.value * re.value * (1 -
|
|
215
|
+
const St = isNaN(G) || [void 0, null, "NaN", NaN, 1 / 0, -1 / 0].includes(G) ? 0 : G || 0, zt = a + h * Tt, Ot = b.value.top + Ee + $.value * re.value * (1 - Xe(St + C)), Lt = G === Math.max(...U.values);
|
|
216
216
|
return {
|
|
217
217
|
x: zt,
|
|
218
218
|
y: Ot,
|
|
@@ -234,10 +234,10 @@ const il = ["id"], cl = ["xmlns", "viewBox"], vl = ["id"], hl = ["stop-color"],
|
|
|
234
234
|
smoothPathRidge: He,
|
|
235
235
|
straightPathRidge: Ve
|
|
236
236
|
};
|
|
237
|
-
}).filter((U) => !
|
|
237
|
+
}).filter((U) => !z.value.includes(U.id))
|
|
238
238
|
};
|
|
239
239
|
});
|
|
240
|
-
}),
|
|
240
|
+
}), z = u([]);
|
|
241
241
|
function mt(l) {
|
|
242
242
|
const o = /* @__PURE__ */ new Map();
|
|
243
243
|
return l.forEach((t) => {
|
|
@@ -249,24 +249,24 @@ const il = ["id"], cl = ["xmlns", "viewBox"], vl = ["id"], hl = ["stop-color"],
|
|
|
249
249
|
color: s.color,
|
|
250
250
|
shape: "circle",
|
|
251
251
|
segregate: () => Te(h),
|
|
252
|
-
isSegregated:
|
|
253
|
-
opacity:
|
|
252
|
+
isSegregated: z.value.includes(h),
|
|
253
|
+
opacity: z.value.includes(h) ? 0.5 : 1
|
|
254
254
|
});
|
|
255
255
|
});
|
|
256
256
|
}), Array.from(o.values());
|
|
257
257
|
}
|
|
258
|
-
const
|
|
258
|
+
const ie = f(() => mt(M.value)), bt = f(() => ({
|
|
259
259
|
cy: "donut-div-legend",
|
|
260
260
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
261
261
|
color: e.value.style.chart.legend.color,
|
|
262
262
|
fontSize: e.value.style.chart.legend.fontSize,
|
|
263
263
|
paddingBottom: 12,
|
|
264
264
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
265
|
-
})), H =
|
|
265
|
+
})), H = u(!1);
|
|
266
266
|
function Oe(l) {
|
|
267
267
|
H.value = l, be.value += 1;
|
|
268
268
|
}
|
|
269
|
-
const Le =
|
|
269
|
+
const Le = u({}), Ne = u([]);
|
|
270
270
|
function xt(l) {
|
|
271
271
|
te("selectDatapoint", l), e.value.style.chart.dialog.show && (Ne.value = l.datapoints.map((o) => ({
|
|
272
272
|
name: o.name,
|
|
@@ -275,7 +275,7 @@ const il = ["id"], cl = ["xmlns", "viewBox"], vl = ["id"], hl = ["stop-color"],
|
|
|
275
275
|
useArea: !0,
|
|
276
276
|
smooth: e.value.style.chart.areas.smooth,
|
|
277
277
|
series: o.values
|
|
278
|
-
})),
|
|
278
|
+
})), R.value = l, Le.value = Jt({
|
|
279
279
|
...e.value.style.chart.dialog.xyChart,
|
|
280
280
|
responsive: !0,
|
|
281
281
|
// Overriding
|
|
@@ -302,14 +302,14 @@ const il = ["id"], cl = ["xmlns", "viewBox"], vl = ["id"], hl = ["stop-color"],
|
|
|
302
302
|
}
|
|
303
303
|
}), le.value && le.value.open());
|
|
304
304
|
}
|
|
305
|
-
const
|
|
305
|
+
const ue = u(null);
|
|
306
306
|
function kt(l) {
|
|
307
|
-
|
|
307
|
+
ue.value = l;
|
|
308
308
|
}
|
|
309
309
|
function At() {
|
|
310
|
-
|
|
310
|
+
ue.value = null;
|
|
311
311
|
}
|
|
312
|
-
const j =
|
|
312
|
+
const j = u(!1);
|
|
313
313
|
function ce() {
|
|
314
314
|
j.value = !j.value;
|
|
315
315
|
}
|
|
@@ -371,9 +371,16 @@ const il = ["id"], cl = ["xmlns", "viewBox"], vl = ["id"], hl = ["stop-color"],
|
|
|
371
371
|
return E.value;
|
|
372
372
|
}
|
|
373
373
|
async function $t({ scale: l = 2 } = {}) {
|
|
374
|
-
if (!
|
|
375
|
-
const {
|
|
376
|
-
return {
|
|
374
|
+
if (!T.value) return;
|
|
375
|
+
const { width: o, height: t } = T.value.getBoundingClientRect(), s = o / t, { imageUri: a, base64: h } = await nl({ domElement: T.value, base64: !0, img: !0, scale: l });
|
|
376
|
+
return {
|
|
377
|
+
imageUri: a,
|
|
378
|
+
base64: h,
|
|
379
|
+
title: e.value.style.chart.title.text,
|
|
380
|
+
width: o,
|
|
381
|
+
height: t,
|
|
382
|
+
aspectRatio: s
|
|
383
|
+
};
|
|
377
384
|
}
|
|
378
385
|
return et({
|
|
379
386
|
getData: wt,
|
|
@@ -386,7 +393,7 @@ const il = ["id"], cl = ["xmlns", "viewBox"], vl = ["id"], hl = ["stop-color"],
|
|
|
386
393
|
toggleFullscreen: Oe
|
|
387
394
|
}), (l, o) => (r(), n("div", {
|
|
388
395
|
ref_key: "ridgelineChart",
|
|
389
|
-
ref:
|
|
396
|
+
ref: T,
|
|
390
397
|
class: q(`vue-ui-ridgeline ${H.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
391
398
|
id: `vue-ui-ridgeline_${w.value}`,
|
|
392
399
|
style: _({
|
|
@@ -396,15 +403,15 @@ const il = ["id"], cl = ["xmlns", "viewBox"], vl = ["id"], hl = ["stop-color"],
|
|
|
396
403
|
background: e.value.style.chart.backgroundColor,
|
|
397
404
|
height: e.value.responsive ? "100%" : void 0
|
|
398
405
|
}),
|
|
399
|
-
onMouseenter: o[4] || (o[4] = () =>
|
|
400
|
-
onMouseleave: o[5] || (o[5] = () =>
|
|
406
|
+
onMouseenter: o[4] || (o[4] = () => i(we)(!0)),
|
|
407
|
+
onMouseleave: o[5] || (o[5] = () => i(we)(!1))
|
|
401
408
|
}, [
|
|
402
|
-
e.value.userOptions.buttons.annotator &&
|
|
409
|
+
e.value.userOptions.buttons.annotator && i(se) ? (r(), P(i(rt), {
|
|
403
410
|
key: 0,
|
|
404
411
|
color: e.value.style.chart.color,
|
|
405
412
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
406
413
|
active: j.value,
|
|
407
|
-
svgRef:
|
|
414
|
+
svgRef: i(se),
|
|
408
415
|
onClose: ce
|
|
409
416
|
}, null, 8, ["color", "backgroundColor", "active", "svgRef"])) : c("", !0),
|
|
410
417
|
p(l.$slots, "userConfig", {}, void 0, !0),
|
|
@@ -435,13 +442,13 @@ const il = ["id"], cl = ["xmlns", "viewBox"], vl = ["id"], hl = ["stop-color"],
|
|
|
435
442
|
}
|
|
436
443
|
}, null, 8, ["config"]))
|
|
437
444
|
], 512)) : c("", !0),
|
|
438
|
-
e.value.userOptions.show &&
|
|
445
|
+
e.value.userOptions.show && L.value && (i($e) || i(ae)) ? (r(), P(i(it), {
|
|
439
446
|
ref: "details",
|
|
440
447
|
key: `user_option_${be.value}`,
|
|
441
448
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
442
449
|
color: e.value.style.chart.color,
|
|
443
|
-
isPrinting:
|
|
444
|
-
isImaging:
|
|
450
|
+
isPrinting: i(Ce),
|
|
451
|
+
isImaging: i(_e),
|
|
445
452
|
uid: w.value,
|
|
446
453
|
hasTooltip: !1,
|
|
447
454
|
callbacks: e.value.userOptions.callbacks,
|
|
@@ -453,19 +460,19 @@ const il = ["id"], cl = ["xmlns", "viewBox"], vl = ["id"], hl = ["stop-color"],
|
|
|
453
460
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
454
461
|
isFullscreen: H.value,
|
|
455
462
|
printScale: e.value.userOptions.print.scale,
|
|
456
|
-
chartElement:
|
|
463
|
+
chartElement: T.value,
|
|
457
464
|
position: e.value.userOptions.position,
|
|
458
465
|
isTooltip: !1,
|
|
459
466
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
460
467
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
461
468
|
isAnnotation: j.value,
|
|
462
469
|
style: _({
|
|
463
|
-
visibility:
|
|
470
|
+
visibility: i($e) ? i(ae) ? "visible" : "hidden" : "visible"
|
|
464
471
|
}),
|
|
465
472
|
onToggleFullscreen: Oe,
|
|
466
|
-
onGeneratePdf:
|
|
473
|
+
onGeneratePdf: i(Me),
|
|
467
474
|
onGenerateCsv: Ie,
|
|
468
|
-
onGenerateImage:
|
|
475
|
+
onGenerateImage: i(Pe),
|
|
469
476
|
onToggleTable: Fe,
|
|
470
477
|
onToggleAnnotator: ce
|
|
471
478
|
}, Ge({ _: 2 }, [
|
|
@@ -526,18 +533,18 @@ const il = ["id"], cl = ["xmlns", "viewBox"], vl = ["id"], hl = ["stop-color"],
|
|
|
526
533
|
key: "7"
|
|
527
534
|
} : void 0
|
|
528
535
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "callbacks", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "printScale", "chartElement", "position", "titles", "hasAnnotator", "isAnnotation", "style", "onGeneratePdf", "onGenerateImage"])) : c("", !0),
|
|
529
|
-
|
|
536
|
+
L.value ? (r(), n("svg", {
|
|
530
537
|
key: 4,
|
|
531
538
|
ref_key: "svgRef",
|
|
532
539
|
ref: se,
|
|
533
|
-
xmlns:
|
|
540
|
+
xmlns: i(Ut),
|
|
534
541
|
class: q({ "vue-data-ui-fullscreen--on": H.value, "vue-data-ui-fulscreen--off": !H.value }),
|
|
535
542
|
viewBox: `0 0 ${y.value.width <= 0 ? 10 : y.value.width} ${b.value.fullHeight <= 0 ? 10 : b.value.fullHeight}`,
|
|
536
543
|
style: _(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color};${e.value.responsive ? `height: ${ke.value}px; width: 100%;` : ""}`)
|
|
537
544
|
}, [
|
|
538
|
-
We(
|
|
545
|
+
We(i(ot)),
|
|
539
546
|
d("defs", null, [
|
|
540
|
-
(r(!0), n(g, null, A(
|
|
547
|
+
(r(!0), n(g, null, A(ie.value, (t, s) => (r(), n("linearGradient", {
|
|
541
548
|
id: `gradient-${t.id}-${w.value}`,
|
|
542
549
|
x1: "50%",
|
|
543
550
|
y1: "0%",
|
|
@@ -657,7 +664,7 @@ const il = ["id"], cl = ["xmlns", "viewBox"], vl = ["id"], hl = ["stop-color"],
|
|
|
657
664
|
y1: C.y,
|
|
658
665
|
x2: C.x,
|
|
659
666
|
y2: C.zero,
|
|
660
|
-
stroke: e.value.style.chart.areas.maxPoint.adaptStrokeToBackground ?
|
|
667
|
+
stroke: e.value.style.chart.areas.maxPoint.adaptStrokeToBackground ? i(Gt)(a.color) : e.value.style.chart.areas.maxPoint.stroke,
|
|
661
668
|
"stroke-width": e.value.style.chart.areas.maxPoint.strokeWidth,
|
|
662
669
|
"stroke-linecap": "round",
|
|
663
670
|
"stroke-dasharray": e.value.style.chart.areas.maxPoint.strokeDasharray
|
|
@@ -686,15 +693,15 @@ const il = ["id"], cl = ["xmlns", "viewBox"], vl = ["id"], hl = ["stop-color"],
|
|
|
686
693
|
style: _({
|
|
687
694
|
cursor: e.value.style.chart.dialog.show ? "pointer" : "default"
|
|
688
695
|
}),
|
|
689
|
-
"text-decoration": e.value.style.chart.dialog.show && (
|
|
696
|
+
"text-decoration": e.value.style.chart.dialog.show && (ue.value === s || R.value && t.uid === R.value.uid) ? "underline" : "",
|
|
690
697
|
onMouseenter: (a) => kt(s),
|
|
691
698
|
onMouseleave: At,
|
|
692
699
|
onClick: (a) => xt(t)
|
|
693
700
|
}, V(t.name), 45, Pl)
|
|
694
701
|
]))), 128)),
|
|
695
702
|
e.value.style.chart.xAxis.labels.values.length ? (r(), n("g", Tl, [
|
|
696
|
-
(r(!0), n(g, null, A(
|
|
697
|
-
show: t && !e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && !e.value.style.chart.xAxis.labels.showOnlyAtModulo || t && e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && (s === 0 || s ===
|
|
703
|
+
(r(!0), n(g, null, A(X.value, (t, s) => p(l.$slots, "time-label", je({ ref_for: !0 }, {
|
|
704
|
+
show: t && !e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && !e.value.style.chart.xAxis.labels.showOnlyAtModulo || t && e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && (s === 0 || s === X.value.length - 1) || t && v.value && v.value.index === s || t && !e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && e.value.style.chart.xAxis.labels.showOnlyAtModulo && s % Math.floor(X.value.length / e.value.style.chart.xAxis.labels.modulo) === 0,
|
|
698
705
|
fontSize: e.value.style.chart.xAxis.labels.fontSize,
|
|
699
706
|
content: t.label,
|
|
700
707
|
textAnchor: e.value.style.chart.xAxis.labels.rotation > 0 ? "start" : e.value.style.chart.xAxis.labels.rotation < 0 ? "end" : "middle",
|
|
@@ -703,7 +710,7 @@ const il = ["id"], cl = ["xmlns", "viewBox"], vl = ["id"], hl = ["stop-color"],
|
|
|
703
710
|
x: t.selectorX,
|
|
704
711
|
y: b.value.top + t.height + e.value.style.chart.xAxis.labels.offsetY
|
|
705
712
|
}), () => [
|
|
706
|
-
t && !e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && !e.value.style.chart.xAxis.labels.showOnlyAtModulo || t && e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && (s === 0 || s ===
|
|
713
|
+
t && !e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && !e.value.style.chart.xAxis.labels.showOnlyAtModulo || t && e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && (s === 0 || s === X.value.length - 1) || t && v.value && v.value.index === s || t && !e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && e.value.style.chart.xAxis.labels.showOnlyAtModulo && s % Math.floor(X.value.length / e.value.style.chart.xAxis.labels.modulo) === 0 ? (r(), n("g", Sl, [
|
|
707
714
|
String(t.label).includes(`
|
|
708
715
|
`) ? (r(), n("text", {
|
|
709
716
|
key: 1,
|
|
@@ -715,7 +722,7 @@ const il = ["id"], cl = ["xmlns", "viewBox"], vl = ["id"], hl = ["stop-color"],
|
|
|
715
722
|
style: _({
|
|
716
723
|
opacity: v.value ? v.value.index === s ? 1 : 0.2 : 1
|
|
717
724
|
}),
|
|
718
|
-
innerHTML:
|
|
725
|
+
innerHTML: i(Wt)({
|
|
719
726
|
content: String(t.label),
|
|
720
727
|
fontSize: e.value.style.chart.xAxis.labels.fontSize,
|
|
721
728
|
fill: e.value.style.chart.xAxis.labels.color,
|
|
@@ -737,7 +744,7 @@ const il = ["id"], cl = ["xmlns", "viewBox"], vl = ["id"], hl = ["stop-color"],
|
|
|
737
744
|
], !0)), 256))
|
|
738
745
|
])) : c("", !0),
|
|
739
746
|
d("g", null, [
|
|
740
|
-
(r(!0), n(g, null, A(
|
|
747
|
+
(r(!0), n(g, null, A(X.value, (t, s) => (r(), n("rect", {
|
|
741
748
|
x: t.x,
|
|
742
749
|
y: t.y,
|
|
743
750
|
width: t.width < 0 ? 0.1 : t.width,
|
|
@@ -778,10 +785,10 @@ const il = ["id"], cl = ["xmlns", "viewBox"], vl = ["id"], hl = ["stop-color"],
|
|
|
778
785
|
key: 1,
|
|
779
786
|
x: ze(
|
|
780
787
|
a.x,
|
|
781
|
-
|
|
788
|
+
i(Z)(
|
|
782
789
|
e.value.style.chart.selector.labels.formatter,
|
|
783
790
|
a.value,
|
|
784
|
-
|
|
791
|
+
i(ee)({
|
|
785
792
|
p: e.value.style.chart.xAxis.labels.prefix,
|
|
786
793
|
v: a.value,
|
|
787
794
|
s: e.value.style.chart.xAxis.labels.suffix,
|
|
@@ -793,10 +800,10 @@ const il = ["id"], cl = ["xmlns", "viewBox"], vl = ["id"], hl = ["stop-color"],
|
|
|
793
800
|
y: a.y + e.value.style.chart.selector.labels.fontSize / 3,
|
|
794
801
|
"text-anchor": ze(
|
|
795
802
|
a.x,
|
|
796
|
-
|
|
803
|
+
i(Z)(
|
|
797
804
|
e.value.style.chart.selector.labels.formatter,
|
|
798
805
|
a.value,
|
|
799
|
-
|
|
806
|
+
i(ee)({
|
|
800
807
|
p: e.value.style.chart.xAxis.labels.prefix,
|
|
801
808
|
v: a.value,
|
|
802
809
|
s: e.value.style.chart.xAxis.labels.suffix,
|
|
@@ -810,10 +817,10 @@ const il = ["id"], cl = ["xmlns", "viewBox"], vl = ["id"], hl = ["stop-color"],
|
|
|
810
817
|
style: {
|
|
811
818
|
pointerEvents: "none"
|
|
812
819
|
}
|
|
813
|
-
}, V(
|
|
820
|
+
}, V(i(Z)(
|
|
814
821
|
e.value.style.chart.selector.labels.formatter,
|
|
815
822
|
a.value,
|
|
816
|
-
|
|
823
|
+
i(ee)({
|
|
817
824
|
p: e.value.style.chart.xAxis.labels.prefix,
|
|
818
825
|
v: a.value,
|
|
819
826
|
s: e.value.style.chart.xAxis.labels.suffix,
|
|
@@ -827,9 +834,9 @@ const il = ["id"], cl = ["xmlns", "viewBox"], vl = ["id"], hl = ["stop-color"],
|
|
|
827
834
|
p(l.$slots, "svg", { svg: y.value }, void 0, !0)
|
|
828
835
|
], 14, cl)) : c("", !0),
|
|
829
836
|
l.$slots.watermark ? (r(), n("div", Il, [
|
|
830
|
-
p(l.$slots, "watermark", K(J({ isPrinting:
|
|
837
|
+
p(l.$slots, "watermark", K(J({ isPrinting: i(Ce) || i(_e) })), void 0, !0)
|
|
831
838
|
])) : c("", !0),
|
|
832
|
-
|
|
839
|
+
L.value ? c("", !0) : (r(), P(i(nt), {
|
|
833
840
|
key: 6,
|
|
834
841
|
config: {
|
|
835
842
|
type: "ridgeline",
|
|
@@ -847,15 +854,15 @@ const il = ["id"], cl = ["xmlns", "viewBox"], vl = ["id"], hl = ["stop-color"],
|
|
|
847
854
|
}, [
|
|
848
855
|
e.value.style.chart.legend.show ? (r(), P(al, {
|
|
849
856
|
key: `legend_${me.value}`,
|
|
850
|
-
legendSet:
|
|
857
|
+
legendSet: ie.value,
|
|
851
858
|
config: bt.value,
|
|
852
859
|
onClickMarker: o[1] || (o[1] = ({ legend: t }) => Te(t.id))
|
|
853
860
|
}, Ge({
|
|
854
861
|
item: m(({ legend: t }) => [
|
|
855
862
|
d("div", {
|
|
856
|
-
style: _(`opacity:${
|
|
863
|
+
style: _(`opacity:${z.value.includes(t.id) ? 0.5 : 1}`),
|
|
857
864
|
onClick: (s) => t.segregate()
|
|
858
|
-
}, V(t.name), 13,
|
|
865
|
+
}, V(t.name), 13, Rl)
|
|
859
866
|
]),
|
|
860
867
|
_: 2
|
|
861
868
|
}, [
|
|
@@ -873,7 +880,7 @@ const il = ["id"], cl = ["xmlns", "viewBox"], vl = ["id"], hl = ["stop-color"],
|
|
|
873
880
|
key: "0"
|
|
874
881
|
} : void 0
|
|
875
882
|
]), 1032, ["legendSet", "config"])) : c("", !0),
|
|
876
|
-
p(l.$slots, "legend", { legend:
|
|
883
|
+
p(l.$slots, "legend", { legend: ie.value }, void 0, !0)
|
|
877
884
|
], 512),
|
|
878
885
|
l.$slots.source ? (r(), n("div", {
|
|
879
886
|
key: 7,
|
|
@@ -883,7 +890,7 @@ const il = ["id"], cl = ["xmlns", "viewBox"], vl = ["id"], hl = ["stop-color"],
|
|
|
883
890
|
}, [
|
|
884
891
|
p(l.$slots, "source", {}, void 0, !0)
|
|
885
892
|
], 512)) : c("", !0),
|
|
886
|
-
|
|
893
|
+
L.value ? (r(), P(i(lt), {
|
|
887
894
|
key: 8,
|
|
888
895
|
hideDetails: "",
|
|
889
896
|
config: {
|
|
@@ -900,7 +907,7 @@ const il = ["id"], cl = ["xmlns", "viewBox"], vl = ["id"], hl = ["stop-color"],
|
|
|
900
907
|
}
|
|
901
908
|
}, {
|
|
902
909
|
content: m(() => [
|
|
903
|
-
(r(), P(
|
|
910
|
+
(r(), P(i(st), {
|
|
904
911
|
key: `table_${vt.value}`,
|
|
905
912
|
colNames: Y.value.colNames,
|
|
906
913
|
head: Y.value.head,
|
|
@@ -910,13 +917,13 @@ const il = ["id"], cl = ["xmlns", "viewBox"], vl = ["id"], hl = ["stop-color"],
|
|
|
910
917
|
onClose: o[2] || (o[2] = (t) => B.value.showTable = !1)
|
|
911
918
|
}, {
|
|
912
919
|
th: m(({ th: t }) => [
|
|
913
|
-
d("div", { innerHTML: t }, null, 8,
|
|
920
|
+
d("div", { innerHTML: t }, null, 8, Xl)
|
|
914
921
|
]),
|
|
915
922
|
td: m(({ td: t }) => [
|
|
916
|
-
Ye(V(t.name ? t.name :
|
|
923
|
+
Ye(V(t.name ? t.name : i(Z)(
|
|
917
924
|
e.value.style.chart.selector.labels.formatter,
|
|
918
925
|
t,
|
|
919
|
-
|
|
926
|
+
i(ee)({
|
|
920
927
|
p: e.value.style.chart.xAxis.labels.prefix,
|
|
921
928
|
v: t,
|
|
922
929
|
s: e.value.style.chart.xAxis.labels.suffix,
|
|
@@ -929,23 +936,23 @@ const il = ["id"], cl = ["xmlns", "viewBox"], vl = ["id"], hl = ["stop-color"],
|
|
|
929
936
|
]),
|
|
930
937
|
_: 1
|
|
931
938
|
}, 8, ["config"])) : c("", !0),
|
|
932
|
-
e.value.style.chart.dialog.show ? (r(), P(
|
|
939
|
+
e.value.style.chart.dialog.show ? (r(), P(i(at), {
|
|
933
940
|
key: 9,
|
|
934
941
|
ref_key: "dialog",
|
|
935
942
|
ref: le,
|
|
936
|
-
onClose: o[3] || (o[3] = (t) =>
|
|
943
|
+
onClose: o[3] || (o[3] = (t) => R.value = null),
|
|
937
944
|
backgroundColor: e.value.style.chart.dialog.backgroundColor,
|
|
938
945
|
color: e.value.style.chart.dialog.color,
|
|
939
946
|
headerBg: e.value.style.chart.dialog.header.backgroundColor,
|
|
940
947
|
headerColor: e.value.style.chart.dialog.header.color,
|
|
941
948
|
isFullscreen: H.value,
|
|
942
|
-
fullscreenParent:
|
|
949
|
+
fullscreenParent: T.value
|
|
943
950
|
}, {
|
|
944
951
|
title: m(() => [
|
|
945
|
-
Ye(V(
|
|
952
|
+
Ye(V(R.value.name), 1)
|
|
946
953
|
]),
|
|
947
954
|
default: m(() => [
|
|
948
|
-
|
|
955
|
+
R.value ? (r(), P(i(ut), {
|
|
949
956
|
key: 0,
|
|
950
957
|
config: Le.value,
|
|
951
958
|
dataset: Ne.value
|
|
@@ -953,9 +960,9 @@ const il = ["id"], cl = ["xmlns", "viewBox"], vl = ["id"], hl = ["stop-color"],
|
|
|
953
960
|
]),
|
|
954
961
|
_: 1
|
|
955
962
|
}, 8, ["backgroundColor", "color", "headerBg", "headerColor", "isFullscreen", "fullscreenParent"])) : c("", !0)
|
|
956
|
-
], 46,
|
|
963
|
+
], 46, ul));
|
|
957
964
|
}
|
|
958
|
-
}, ea = /* @__PURE__ */
|
|
965
|
+
}, ea = /* @__PURE__ */ il(El, [["__scopeId", "data-v-bc4ba503"]]);
|
|
959
966
|
export {
|
|
960
967
|
ea as default
|
|
961
968
|
};
|