vue-data-ui 2.16.6 → 2.17.1
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 +84 -53
- package/dist/{Arrow-DCqxVwey.js → Arrow-BDCVJzQB.js} +1 -1
- package/dist/{BaseDraggableDialog-6DIKXIBU.js → BaseDraggableDialog-BvuWrldK.js} +2 -2
- package/dist/{BaseIcon-Bn996RXm.js → BaseIcon-D9Tz8ARD.js} +1 -1
- package/dist/{ColorPicker-OFfLkKNb.js → ColorPicker-wGf46G2G.js} +2 -2
- package/dist/{DataTable-CHBLjKtZ.js → DataTable-Dt-TIOyY.js} +2 -2
- package/dist/{Legend-nBXoxXJH.js → Legend-3LNqqLDg.js} +2 -2
- package/dist/{NonSvgPenAndPaper-Cls2idJS.js → NonSvgPenAndPaper-iDdMuUEo.js} +3 -3
- package/dist/{PackageVersion-Bg_9KCU-.js → PackageVersion-C-4Ee8BQ.js} +1 -1
- package/dist/{PenAndPaper-BPTpbnay.js → PenAndPaper-Cde-wJ3N.js} +32 -32
- package/dist/{Shape-Bnf512BA.js → Shape-C75836Jl.js} +1 -1
- package/dist/{Slicer-BrqtJG2E.js → Slicer-CpSu7plp.js} +2 -2
- package/dist/{SparkTooltip-C-rLATAw.js → SparkTooltip-B_GXa2tb.js} +1 -1
- package/dist/{Title-Gi81VwUM.js → Title-DpERl1yr.js} +1 -1
- package/dist/{Tooltip-CJxVw7-T.js → Tooltip-DA0bYKFG.js} +1 -1
- package/dist/{UserOptions-CBEK6_jo.js → UserOptions-DTEJ3UM_.js} +2 -2
- package/dist/{dom-to-png-CRHNL8VU.js → dom-to-png-DWDGYXFL.js} +1 -1
- package/dist/{img-BgOg8opa.js → img-utitT2Gd.js} +1 -1
- package/dist/{index-DvIXJm6t.js → index-CobsZUkv.js} +22 -8
- package/dist/{pdf-DhTxBrbJ.js → pdf-DWZ8IB56.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +999 -160
- package/dist/types/vue-data-ui.d.ts +999 -160
- package/dist/{useNestedProp-DrYHm61t.js → useNestedProp-BwL5wmVa.js} +1 -1
- package/dist/{usePrinter-CWnXbGMb.js → usePrinter-DPh6U_Qk.js} +2 -2
- package/dist/vue-data-ui-D7ZgRDQ_.js +312 -0
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-CtlB4p7i.js → vue-ui-3d-bar-ORUAjkg7.js} +246 -231
- package/dist/{vue-ui-accordion-D55kCO5G.js → vue-ui-accordion-UewqY6OI.js} +3 -3
- package/dist/{vue-ui-age-pyramid-DSshyUn-.js → vue-ui-age-pyramid-Yl4aRpNc.js} +225 -210
- package/dist/{vue-ui-annotator-DQSMv_k2.js → vue-ui-annotator-B1gqiBqq.js} +2 -2
- package/dist/{vue-ui-bullet-FeScjj7q.js → vue-ui-bullet-C307lCPt.js} +168 -153
- package/dist/{vue-ui-candlestick-Drupgyoi.js → vue-ui-candlestick-BE6PcEdh.js} +218 -203
- package/dist/{vue-ui-carousel-table-BTZQRZfO.js → vue-ui-carousel-table-Cpvjr677.js} +4 -4
- package/dist/{vue-ui-chestnut-DLWjPwRL.js → vue-ui-chestnut-CUw74AgC.js} +412 -397
- package/dist/{vue-ui-chord-BgLbFBT9.js → vue-ui-chord-CCPGeAiY.js} +202 -187
- package/dist/{vue-ui-circle-pack-VXcRh2gy.js → vue-ui-circle-pack-dfyPiQmy.js} +222 -207
- package/dist/{vue-ui-cursor-DWmfnM25.js → vue-ui-cursor-C2zmfeoD.js} +2 -2
- package/dist/{vue-ui-dashboard-CGIocEHj.js → vue-ui-dashboard-CotAqRbX.js} +62 -62
- package/dist/{vue-ui-digits-BgQch3Fc.js → vue-ui-digits-7qJFCuoI.js} +2 -2
- package/dist/{vue-ui-donut-B59bCV5_.js → vue-ui-donut-D41WeqQU.js} +420 -411
- package/dist/{vue-ui-donut-evolution-CI8qBIQd.js → vue-ui-donut-evolution-Deg0dsYg.js} +352 -340
- package/dist/{vue-ui-dumbbell-CXv7sk88.js → vue-ui-dumbbell-DDwNoTPG.js} +214 -199
- package/dist/{vue-ui-flow-DxF0ELtv.js → vue-ui-flow-6oR7IMyi.js} +215 -200
- package/dist/{vue-ui-funnel-Bco8rqF8.js → vue-ui-funnel-BnXtOJmh.js} +212 -197
- package/dist/{vue-ui-galaxy-CaPJwwOj.js → vue-ui-galaxy-75XC8SpV.js} +213 -201
- package/dist/{vue-ui-gauge-D7arhDmb.js → vue-ui-gauge-w31j915C.js} +218 -203
- package/dist/{vue-ui-gizmo-Dwli-Mip.js → vue-ui-gizmo-bZqk6oZS.js} +3 -3
- package/dist/{vue-ui-heatmap-Cyn-ahGO.js → vue-ui-heatmap-BfU62tMW.js} +242 -223
- package/dist/{vue-ui-history-plot-C2AEToqx.js → vue-ui-history-plot-CFfco-Yj.js} +267 -252
- package/dist/{vue-ui-kpi-DKDibSdl.js → vue-ui-kpi-DaJ1U3wf.js} +3 -3
- package/dist/{vue-ui-mini-loader-B8OVutUx.js → vue-ui-mini-loader-CF_2jAI8.js} +2 -2
- package/dist/{vue-ui-molecule-BVSrqIGw.js → vue-ui-molecule-Tdk3Gd8M.js} +207 -192
- package/dist/{vue-ui-mood-radar-DvlyS3RN.js → vue-ui-mood-radar-Dg5wS7W5.js} +204 -189
- package/dist/{vue-ui-nested-donuts-D9ssSus6.js → vue-ui-nested-donuts-CpRe0sQB.js} +248 -240
- package/dist/{vue-ui-onion-Buu4VX3u.js → vue-ui-onion-B8o4ft2v.js} +184 -169
- package/dist/{vue-ui-parallel-coordinate-plot-DFLUvhxD.js → vue-ui-parallel-coordinate-plot-zW-CNqWC.js} +192 -177
- package/dist/{vue-ui-quadrant-BMC7NBGd.js → vue-ui-quadrant-DiRtZ16w.js} +259 -244
- package/dist/{vue-ui-quick-chart-DB9RKUkb.js → vue-ui-quick-chart-BRlYC_yT.js} +324 -309
- package/dist/{vue-ui-radar-68NMPxxQ.js → vue-ui-radar-DKgX1Ibx.js} +195 -180
- package/dist/{vue-ui-rating-swH9kRr3.js → vue-ui-rating-DlklKr-X.js} +2 -2
- package/dist/{vue-ui-relation-circle-CT-EdSjO.js → vue-ui-relation-circle-MHiAp8dC.js} +186 -171
- package/dist/{vue-ui-ridgeline-DftROPaX.js → vue-ui-ridgeline-DA8verAe.js} +227 -212
- package/dist/{vue-ui-rings-M-9dPI5D.js → vue-ui-rings-Dh6lFqun.js} +214 -202
- package/dist/{vue-ui-scatter-CsGhaFJh.js → vue-ui-scatter-CLC5sTOi.js} +270 -256
- package/dist/{vue-ui-skeleton-BAOt2neL.js → vue-ui-skeleton-8s4xts8z.js} +3 -3
- package/dist/{vue-ui-smiley-7_kIgPg-.js → vue-ui-smiley-utuzw8uI.js} +2 -2
- package/dist/{vue-ui-spark-trend-DHlQQpwz.js → vue-ui-spark-trend-BODEqGRr.js} +3 -3
- package/dist/{vue-ui-sparkbar-BnHhzuKf.js → vue-ui-sparkbar-B8MB-kn9.js} +3 -3
- package/dist/{vue-ui-sparkgauge-WtfkCK8g.js → vue-ui-sparkgauge-CuD7kTS3.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-B2u4XLVd.js → vue-ui-sparkhistogram-BYJszvna.js} +4 -4
- package/dist/{vue-ui-sparkline-DKIyUlSm.js → vue-ui-sparkline-D77GyWzG.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-BLGz2qIb.js → vue-ui-sparkstackbar-DNb1yD64.js} +3 -3
- package/dist/{vue-ui-stackbar-BDpMsTYe.js → vue-ui-stackbar-C6rjCYDD.js} +251 -236
- package/dist/{vue-ui-strip-plot-5qDcYPnR.js → vue-ui-strip-plot-B6cYojHQ.js} +239 -224
- package/dist/{vue-ui-table-Bg5HIQ3O.js → vue-ui-table-IC7SmWVd.js} +3 -3
- package/dist/{vue-ui-table-heatmap-DmjNy1q1.js → vue-ui-table-heatmap-DHFpJMpA.js} +5 -5
- package/dist/{vue-ui-table-sparkline-CnkJkBk5.js → vue-ui-table-sparkline-D7wz-sCj.js} +4 -4
- package/dist/{vue-ui-thermometer-RlD-9mJf.js → vue-ui-thermometer-D-oiVT3n.js} +168 -153
- package/dist/{vue-ui-timer-Bes74INL.js → vue-ui-timer-C9jVyX5l.js} +5 -5
- package/dist/vue-ui-tiremarks-B1bM9Aoo.js +358 -0
- package/dist/{vue-ui-treemap-BG1Omm38.js → vue-ui-treemap-DX48YlU5.js} +374 -362
- package/dist/{vue-ui-vertical-bar-CwqQyZFX.js → vue-ui-vertical-bar-6SjKPQWR.js} +252 -237
- package/dist/{vue-ui-waffle-Ce3T4BPp.js → vue-ui-waffle-CYao9MMw.js} +232 -220
- package/dist/vue-ui-wheel-USuDhMwW.js +352 -0
- package/dist/vue-ui-word-cloud-TOBTs7yF.js +659 -0
- package/dist/{vue-ui-world-B9PxVO4n.js → vue-ui-world-C2qikqBa.js} +237 -222
- package/dist/{vue-ui-xy-DtJ7qJib.js → vue-ui-xy-DxwgKoO-.js} +557 -544
- package/dist/{vue-ui-xy-canvas-S6YpFgzs.js → vue-ui-xy-canvas-N69OpVn8.js} +395 -380
- package/package.json +1 -1
- package/dist/vue-data-ui-B8EWlMIK.js +0 -301
- package/dist/vue-ui-tiremarks-DiLS3akQ.js +0 -343
- package/dist/vue-ui-wheel-6B0WTkf2.js +0 -337
- package/dist/vue-ui-word-cloud-ByYZCOh7.js +0 -644
|
@@ -1,140 +1,141 @@
|
|
|
1
|
-
import { defineAsyncComponent as
|
|
2
|
-
import { u as
|
|
3
|
-
import { t as
|
|
4
|
-
import { u as
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as
|
|
7
|
-
import { S as
|
|
8
|
-
import { u as
|
|
9
|
-
import
|
|
1
|
+
import { defineAsyncComponent as he, ref as z, computed as U, watch as Ve, shallowRef as ft, onMounted as Tt, onBeforeUnmount as Pt, nextTick as Me, createElementBlock as l, openBlock as a, normalizeStyle as R, normalizeClass as fe, createBlock as Fe, createCommentVNode as g, createVNode as ge, unref as f, createSlots as Rt, withCtx as G, renderSlot as M, normalizeProps as ie, guardReactiveProps as ue, toDisplayString as O, createElementVNode as _, Fragment as m, renderList as $, mergeProps as qe } from "vue";
|
|
2
|
+
import { u as Mt, c as Ft, t as Nt, p as q, a as Ut, C as gt, b as Bt, G as Dt, e as Vt, d as He, m as qt, D as mt, X as Ht, j as Wt, k as We, n as Le, i as X, f as D, I as jt, V as pt, v as Z, x as Ne, y as je } from "./index-CobsZUkv.js";
|
|
3
|
+
import { t as Gt, u as Xt } from "./useResponsive-DfdjqQps.js";
|
|
4
|
+
import { u as yt } from "./useNestedProp-BwL5wmVa.js";
|
|
5
|
+
import { u as Zt } from "./usePrinter-DPh6U_Qk.js";
|
|
6
|
+
import { u as Yt } from "./useChartAccessibility-9icAAmYg.js";
|
|
7
|
+
import { S as Jt } from "./Slicer-CpSu7plp.js";
|
|
8
|
+
import { u as Qt } from "./useTimeLabels-Mrr0jrpL.js";
|
|
9
|
+
import Kt from "./img-utitT2Gd.js";
|
|
10
|
+
import { _ as ea } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
11
|
const A = {
|
|
11
12
|
LINE: "LINE",
|
|
12
13
|
BAR: "BAR",
|
|
13
14
|
DONUT: "DONUT"
|
|
14
|
-
},
|
|
15
|
-
function
|
|
16
|
-
let
|
|
17
|
-
if ((typeof c == "number" || typeof c == "string") && console.warn(`The provided dataset (${c}) is not sufficient to build a chart`), ze(c) && (Y(c) && (c.length < C ?
|
|
18
|
-
if (!
|
|
15
|
+
}, ta = ["SERIE", "SERIES", "DATA", "VALUE", "VALUES", "NUM"];
|
|
16
|
+
function aa({ dataset: c, barLineSwitch: C = 6 }) {
|
|
17
|
+
let y = null, T = null, H = 0;
|
|
18
|
+
if ((typeof c == "number" || typeof c == "string") && console.warn(`The provided dataset (${c}) is not sufficient to build a chart`), ze(c) && (Y(c) && (c.length < C ? y = A.BAR : y = A.LINE, T = c, H = c.length), Ue(c))) {
|
|
19
|
+
if (!oa(c))
|
|
19
20
|
return console.warn("The objects in the dataset array have a different data structure. Either keys or value types are different."), !1;
|
|
20
|
-
const
|
|
21
|
-
if (!
|
|
21
|
+
const ye = Object.keys(c[0]), $e = Object.values(c[0]);
|
|
22
|
+
if (!ye.some((F) => na(F)))
|
|
22
23
|
return console.warn("The data type of the dataset objects in the array must contain one of the following keys: DATA, SERIES, VALUE, VALUES, NUM. Casing is not important."), !1;
|
|
23
|
-
xt($e, (F) => typeof F == "number") && (
|
|
24
|
+
xt($e, (F) => typeof F == "number") && (y = A.DONUT, T = c), xt($e, (F) => Array.isArray(F) && Y(F)) && (kt(c) > C ? y = A.LINE : y = A.BAR, H = kt(c), T = c.map((F) => ({
|
|
24
25
|
...F,
|
|
25
|
-
data:
|
|
26
|
-
}))), c = c.map((F) =>
|
|
26
|
+
data: ia(F, (B) => Y(B))
|
|
27
|
+
}))), c = c.map((F) => bt(F)), T = T.map((F) => bt(F));
|
|
27
28
|
}
|
|
28
|
-
return ze(c) && [...new Set(c.flatMap((
|
|
29
|
+
return ze(c) && [...new Set(c.flatMap((ye) => Array.isArray(ye)))][0], {
|
|
29
30
|
dataset: c,
|
|
30
|
-
type:
|
|
31
|
+
type: y,
|
|
31
32
|
usableDataset: T,
|
|
32
33
|
maxSeriesLength: H
|
|
33
34
|
};
|
|
34
35
|
}
|
|
35
|
-
function
|
|
36
|
+
function St(c) {
|
|
36
37
|
return !c || ze(c) && !c.length;
|
|
37
38
|
}
|
|
38
39
|
function ze(c) {
|
|
39
40
|
return Array.isArray(c);
|
|
40
41
|
}
|
|
41
42
|
function Y(c) {
|
|
42
|
-
if (!ze(c) ||
|
|
43
|
-
const C = c.map((
|
|
44
|
-
return ![...new Set(C.flatMap((
|
|
43
|
+
if (!ze(c) || St(c)) return !1;
|
|
44
|
+
const C = c.map((y) => Number(y));
|
|
45
|
+
return ![...new Set(C.flatMap((y) => typeof y == "number" && !isNaN(y)))].includes(!1);
|
|
45
46
|
}
|
|
46
47
|
function Ue(c) {
|
|
47
|
-
return !ze(c) ||
|
|
48
|
+
return !ze(c) || St(c) || !![...new Set(c.flatMap((y) => typeof y == "object" && !Array.isArray(y)))].includes(!1) ? !1 : !c.map((y) => Object.keys(y).length > 0).includes(!1);
|
|
48
49
|
}
|
|
49
|
-
function
|
|
50
|
-
const
|
|
51
|
-
if (
|
|
50
|
+
function la(c, C) {
|
|
51
|
+
const y = Object.keys(c).sort(), T = Object.keys(C).sort();
|
|
52
|
+
if (y.length !== T.length)
|
|
52
53
|
return !1;
|
|
53
|
-
for (let H = 0; H <
|
|
54
|
-
const
|
|
55
|
-
if (
|
|
54
|
+
for (let H = 0; H < y.length; H += 1) {
|
|
55
|
+
const me = y[H], pe = T[H];
|
|
56
|
+
if (me !== pe || typeof c[me] != typeof C[pe])
|
|
56
57
|
return !1;
|
|
57
58
|
}
|
|
58
59
|
return !0;
|
|
59
60
|
}
|
|
60
|
-
function
|
|
61
|
+
function oa(c) {
|
|
61
62
|
if (c.length <= 1) return !0;
|
|
62
63
|
for (let C = 0; C < c.length; C += 1)
|
|
63
|
-
for (let
|
|
64
|
-
if (!
|
|
64
|
+
for (let y = C + 1; y < c.length; y += 1)
|
|
65
|
+
if (!la(c[C], c[y]))
|
|
65
66
|
return !1;
|
|
66
67
|
return !0;
|
|
67
68
|
}
|
|
68
|
-
function
|
|
69
|
-
return
|
|
69
|
+
function na(c) {
|
|
70
|
+
return ta.includes(c.toUpperCase());
|
|
70
71
|
}
|
|
71
72
|
function xt(c, C) {
|
|
72
|
-
let
|
|
73
|
+
let y = [];
|
|
73
74
|
for (let T = 0; T < c.length; T += 1)
|
|
74
|
-
|
|
75
|
-
return
|
|
75
|
+
y.push(C(c[T]));
|
|
76
|
+
return y.includes(!0);
|
|
76
77
|
}
|
|
77
|
-
function
|
|
78
|
-
return Math.max(...[...c].flatMap((C) => Object.values(C).filter((
|
|
78
|
+
function kt(c) {
|
|
79
|
+
return Math.max(...[...c].flatMap((C) => Object.values(C).filter((y) => Y(y)).map((y) => y.length)));
|
|
79
80
|
}
|
|
80
|
-
function
|
|
81
|
-
return Object.values(c).filter((
|
|
81
|
+
function ia(c, C) {
|
|
82
|
+
return Object.values(c).filter((y) => C(y))[0];
|
|
82
83
|
}
|
|
83
|
-
function
|
|
84
|
+
function bt(c) {
|
|
84
85
|
const C = {};
|
|
85
|
-
for (let
|
|
86
|
-
c.hasOwnProperty(
|
|
86
|
+
for (let y in c)
|
|
87
|
+
c.hasOwnProperty(y) && (C[y.toUpperCase()] = c[y]);
|
|
87
88
|
return C;
|
|
88
89
|
}
|
|
89
|
-
const
|
|
90
|
+
const ua = ["id"], ra = ["xmlns", "viewBox"], sa = ["x", "y", "width", "height"], va = ["x", "y", "width", "height"], da = ["width", "height"], ca = ["id"], ha = ["id"], fa = ["id"], ga = ["flood-color"], ma = {
|
|
90
91
|
key: 0,
|
|
91
92
|
class: "donut-label-connectors"
|
|
92
|
-
},
|
|
93
|
+
}, pa = ["d", "stroke", "stroke-width", "filter"], ya = ["cx", "cy", "r", "fill", "filter"], xa = { class: "donut" }, ka = ["d", "fill", "stroke", "stroke-width", "filter"], ba = ["d", "onMouseenter", "onClick"], Sa = {
|
|
93
94
|
key: 1,
|
|
94
95
|
class: "donut-labels quick-animation"
|
|
95
|
-
},
|
|
96
|
+
}, wa = ["cx", "cy", "fill", "stroke", "filter"], Aa = ["text-anchor", "x", "y", "fill", "font-size", "filter"], _a = ["text-anchor", "x", "y", "fill", "font-size", "filter"], La = {
|
|
96
97
|
key: 2,
|
|
97
98
|
class: "donut-hollow quick-animation"
|
|
98
|
-
},
|
|
99
|
+
}, za = ["x", "y", "font-size", "fill"], $a = ["x", "y", "font-size", "fill"], Ca = {
|
|
99
100
|
key: 0,
|
|
100
101
|
class: "line-grid"
|
|
101
|
-
},
|
|
102
|
+
}, Ia = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ea = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Oa = {
|
|
102
103
|
key: 1,
|
|
103
104
|
class: "line-axis"
|
|
104
|
-
},
|
|
105
|
+
}, Ta = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Pa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ra = {
|
|
105
106
|
key: 2,
|
|
106
107
|
class: "yLabels"
|
|
107
|
-
},
|
|
108
|
+
}, Ma = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Fa = ["x", "y", "font-size", "fill"], Na = {
|
|
108
109
|
key: 3,
|
|
109
110
|
class: "periodLabels"
|
|
110
|
-
},
|
|
111
|
+
}, Ua = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ba = { key: 1 }, Da = ["font-size", "text-anchor", "fill", "transform"], Va = ["font-size", "text-anchor", "fill", "transform", "innerHTML"], qa = { class: "plots" }, Ha = { class: "line-plot-series" }, Wa = ["d", "stroke", "stroke-width"], ja = ["d", "stroke", "stroke-width"], Ga = ["d", "stroke", "stroke-width"], Xa = ["d", "stroke", "stroke-width"], Za = ["cx", "cy", "fill", "stroke"], Ya = {
|
|
111
112
|
key: 4,
|
|
112
113
|
class: "dataLabels"
|
|
113
|
-
},
|
|
114
|
+
}, Ja = ["font-size", "fill", "x", "y"], Qa = { class: "tooltip-traps" }, Ka = ["x", "y", "height", "width", "fill", "onMouseenter", "onClick"], el = {
|
|
114
115
|
key: 0,
|
|
115
116
|
class: "line-grid"
|
|
116
|
-
},
|
|
117
|
+
}, tl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], al = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ll = {
|
|
117
118
|
key: 1,
|
|
118
119
|
class: "line-axis"
|
|
119
|
-
},
|
|
120
|
+
}, ol = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], nl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], il = {
|
|
120
121
|
key: 2,
|
|
121
122
|
class: "yLabels"
|
|
122
|
-
},
|
|
123
|
+
}, ul = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], rl = ["x", "y", "font-size", "fill"], sl = {
|
|
123
124
|
key: 3,
|
|
124
125
|
class: "periodLabels"
|
|
125
|
-
},
|
|
126
|
+
}, vl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], dl = ["font-size", "text-anchor", "transform", "fill"], cl = { class: "plots" }, hl = ["x", "width", "height", "y", "fill", "stroke", "stroke-width"], fl = ["to"], gl = ["from", "to"], ml = {
|
|
126
127
|
key: 4,
|
|
127
128
|
class: "dataLabels"
|
|
128
|
-
},
|
|
129
|
+
}, pl = ["x", "y", "font-size", "fill"], yl = { class: "tooltip-traps" }, xl = ["x", "y", "height", "width", "fill", "onMouseenter", "onClick"], kl = {
|
|
129
130
|
key: 6,
|
|
130
131
|
class: "axis-labels"
|
|
131
|
-
},
|
|
132
|
+
}, bl = { key: 0 }, Sl = ["font-size", "fill", "x", "y"], wl = { key: 1 }, Al = ["font-size", "fill", "x", "y"], _l = { key: 2 }, Ll = ["font-size", "fill", "transform"], zl = { key: 3 }, $l = ["font-size", "fill", "transform"], Cl = {
|
|
132
133
|
key: 6,
|
|
133
134
|
class: "vue-data-ui-watermark"
|
|
134
|
-
},
|
|
135
|
+
}, Il = ["onClick"], El = ["onClick"], Ol = ["onClick"], Tl = {
|
|
135
136
|
key: 1,
|
|
136
137
|
class: "vue-ui-quick-chart-not-processable"
|
|
137
|
-
},
|
|
138
|
+
}, Pl = {
|
|
138
139
|
__name: "vue-ui-quick-chart",
|
|
139
140
|
props: {
|
|
140
141
|
config: {
|
|
@@ -151,35 +152,35 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
151
152
|
}
|
|
152
153
|
},
|
|
153
154
|
emits: ["selectDatapoint", "selectLegend"],
|
|
154
|
-
setup(c, { expose: C, emit:
|
|
155
|
-
const T =
|
|
155
|
+
setup(c, { expose: C, emit: y }) {
|
|
156
|
+
const T = he(() => import("./BaseIcon-D9Tz8ARD.js")), H = he(() => import("./PackageVersion-C-4Ee8BQ.js")), me = he(() => import("./PenAndPaper-Cde-wJ3N.js")), pe = he(() => import("./vue-ui-skeleton-8s4xts8z.js")), ye = he(() => import("./Tooltip-DA0bYKFG.js")), $e = he(() => import("./UserOptions-DTEJ3UM_.js")), { vue_ui_quick_chart: F } = Mt(), B = c, J = z(null), Ge = z(null), Xe = z(null), Ze = z(null), Q = z(Ft()), te = z(!1), xe = z(null), ae = z(""), W = z(null), Ye = z(null), Je = z(null), w = z([]), Qe = z(0), Ce = z(0), e = U({
|
|
156
157
|
get: () => at(),
|
|
157
158
|
set: (o) => o
|
|
158
|
-
}), { svgRef: Ke } =
|
|
159
|
+
}), { svgRef: Ke } = Yt({ config: { text: e.value.title } }), wt = U(() => e.value.showUserOptionsOnChartHover), et = U(() => e.value.keepUserOptionsStateOnChartLeave), Ie = z(!e.value.showUserOptionsOnChartHover);
|
|
159
160
|
function tt(o = !1) {
|
|
160
|
-
|
|
161
|
+
wt.value && (Ie.value = o);
|
|
161
162
|
}
|
|
162
163
|
function at() {
|
|
163
|
-
const o =
|
|
164
|
+
const o = yt({
|
|
164
165
|
userConfig: B.config,
|
|
165
166
|
defaultConfig: F
|
|
166
167
|
});
|
|
167
168
|
let s = {};
|
|
168
169
|
return o.theme ? s = {
|
|
169
|
-
...
|
|
170
|
-
userConfig:
|
|
170
|
+
...yt({
|
|
171
|
+
userConfig: Ut.vue_ui_quick_chart[o.theme] || B.config,
|
|
171
172
|
defaultConfig: o
|
|
172
173
|
}),
|
|
173
|
-
customPalette:
|
|
174
|
-
} : s = o, B.config &&
|
|
174
|
+
customPalette: Nt[o.theme] || q
|
|
175
|
+
} : s = o, B.config && gt(B.config, "zoomStartIndex") ? s.zoomStartIndex = B.config.zoomStartIndex : s.zoomStartIndex = null, B.config && gt(B.config, "zoomEndIndex") ? s.zoomEndIndex = B.config.zoomEndIndex : s.zoomEndIndex = null, s;
|
|
175
176
|
}
|
|
176
177
|
Ve(() => B.config, (o) => {
|
|
177
178
|
e.value = at(), b.value.width = e.value.width, b.value.height = e.value.height, Ie.value = !e.value.showUserOptionsOnChartHover, nt(), Se.value.showTooltip = e.value.showTooltip;
|
|
178
179
|
}, { deep: !0 }), Ve(() => B.dataset, (o) => {
|
|
179
|
-
p.value = be.value,
|
|
180
|
+
p.value = be.value, x.value.start = 0, x.value.end = p.value.maxSeriesLength, Ce.value += 1;
|
|
180
181
|
}, { deep: !0 });
|
|
181
|
-
const ke = U(() =>
|
|
182
|
-
const o =
|
|
182
|
+
const ke = U(() => Bt(e.value.customPalette)), re = y, be = U(() => {
|
|
183
|
+
const o = aa({ dataset: Dt(B.dataset, [
|
|
183
184
|
"serie",
|
|
184
185
|
"series",
|
|
185
186
|
"data",
|
|
@@ -188,31 +189,31 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
188
189
|
"num"
|
|
189
190
|
]), barLineSwitch: e.value.chartIsBarUnderDatasetLength });
|
|
190
191
|
return o || console.error("VueUiQuickChart : Dataset is not processable"), o;
|
|
191
|
-
}), p = z(be.value),
|
|
192
|
+
}), p = z(be.value), At = U(() => !!p.value), L = U(() => p.value ? p.value.type : null);
|
|
192
193
|
Ve(() => L.value, (o) => {
|
|
193
|
-
o ||
|
|
194
|
+
o || Vt({
|
|
194
195
|
componentName: "VueUiQuickChart",
|
|
195
196
|
type: "dataset"
|
|
196
197
|
});
|
|
197
198
|
}, { immediate: !0 });
|
|
198
|
-
const { isPrinting: Ee, isImaging: Oe, generatePdf: lt, generateImage: ot } =
|
|
199
|
-
elementId: `${L.value}_${
|
|
199
|
+
const { isPrinting: Ee, isImaging: Oe, generatePdf: lt, generateImage: ot } = Zt({
|
|
200
|
+
elementId: `${L.value}_${Q.value}`,
|
|
200
201
|
fileName: e.value.title || L.value,
|
|
201
202
|
options: e.value.userOptionsPrint
|
|
202
|
-
}),
|
|
203
|
+
}), _t = U(() => e.value.showUserOptions && !e.value.title), b = z({
|
|
203
204
|
width: e.value.width,
|
|
204
205
|
height: e.value.height
|
|
205
206
|
}), Se = z({
|
|
206
207
|
showTooltip: e.value.showTooltip
|
|
207
|
-
}),
|
|
208
|
-
|
|
208
|
+
}), K = ft(null), se = ft(null);
|
|
209
|
+
Tt(() => {
|
|
209
210
|
nt();
|
|
210
211
|
});
|
|
211
212
|
function nt() {
|
|
212
213
|
if (e.value.responsive) {
|
|
213
|
-
const o =
|
|
214
|
-
const { width: s, height: t } =
|
|
215
|
-
chart:
|
|
214
|
+
const o = Gt(() => {
|
|
215
|
+
const { width: s, height: t } = Xt({
|
|
216
|
+
chart: J.value,
|
|
216
217
|
title: e.value.title ? Ge.value : null,
|
|
217
218
|
legend: e.value.showLegend ? Xe.value : null,
|
|
218
219
|
slicer: [A.BAR, A.LINE].includes(L.value) && e.value.zoomXy && p.value.maxSeriesLength > 1 ? Ze.value : null,
|
|
@@ -223,14 +224,14 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
223
224
|
b.value.width = s, b.value.height = t;
|
|
224
225
|
});
|
|
225
226
|
});
|
|
226
|
-
|
|
227
|
+
K.value && (se.value && K.value.unobserve(se.value), K.value.disconnect()), K.value = new ResizeObserver(o), se.value = J.value.parentNode, K.value.observe(se.value);
|
|
227
228
|
}
|
|
228
229
|
dt();
|
|
229
230
|
}
|
|
230
|
-
|
|
231
|
-
|
|
231
|
+
Pt(() => {
|
|
232
|
+
K.value && (se.value && K.value.unobserve(se.value), K.value.disconnect());
|
|
232
233
|
});
|
|
233
|
-
const
|
|
234
|
+
const Lt = U(() => {
|
|
234
235
|
switch (L.value) {
|
|
235
236
|
case A.LINE:
|
|
236
237
|
return `0 0 ${b.value.width <= 0 ? 10 : b.value.width} ${b.value.height <= 0 ? 10 : b.value.height}`;
|
|
@@ -246,13 +247,13 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
246
247
|
return [...o].map((s) => s.value).reduce((s, t) => s + t, 0);
|
|
247
248
|
}
|
|
248
249
|
function we(o) {
|
|
249
|
-
return e.value.blurOnHover && ![null, void 0].includes(W.value) && W.value !== o ? `url(#blur_${
|
|
250
|
+
return e.value.blurOnHover && ![null, void 0].includes(W.value) && W.value !== o ? `url(#blur_${Q.value})` : "";
|
|
250
251
|
}
|
|
251
252
|
function ut(o, s) {
|
|
252
253
|
w.value.includes(o) ? w.value = w.value.filter((t) => t !== o) : w.value.length < s && w.value.push(o);
|
|
253
254
|
}
|
|
254
255
|
const rt = z(null), st = z(null), Te = z(!1);
|
|
255
|
-
function
|
|
256
|
+
function zt(o, s) {
|
|
256
257
|
Te.value = !0;
|
|
257
258
|
let t = o.value;
|
|
258
259
|
const u = be.value.dataset.find((r, h) => o.id === `donut_${h}`).VALUE;
|
|
@@ -297,7 +298,7 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
297
298
|
}
|
|
298
299
|
}
|
|
299
300
|
const j = z(null);
|
|
300
|
-
function
|
|
301
|
+
function $t(o) {
|
|
301
302
|
j.value = o;
|
|
302
303
|
}
|
|
303
304
|
const vt = U(() => e.value.donutThicknessRatio < 0.15 ? 0.15 : e.value.donutThicknessRatio > 0.4 ? 0.4 : e.value.donutThicknessRatio), I = U(() => {
|
|
@@ -327,7 +328,7 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
327
328
|
return Math.abs(String(Number(S.toFixed(0))).length - String(Number(i.toFixed(0))).length);
|
|
328
329
|
}
|
|
329
330
|
function r({ datapoint: n, seriesIndex: i }) {
|
|
330
|
-
|
|
331
|
+
xe.value = { datapoint: n, seriesIndex: i, config: e.value, dataset: o }, W.value = n.id;
|
|
331
332
|
const S = e.value.tooltipCustomFormat;
|
|
332
333
|
if (Ne(S) && je(() => S({
|
|
333
334
|
datapoint: n,
|
|
@@ -335,7 +336,7 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
335
336
|
series: o,
|
|
336
337
|
config: e.value
|
|
337
338
|
})))
|
|
338
|
-
|
|
339
|
+
ae.value = S({
|
|
339
340
|
datapoint: n,
|
|
340
341
|
seriesIndex: i,
|
|
341
342
|
series: o,
|
|
@@ -353,25 +354,25 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
353
354
|
r: e.value.dataLabelRoundingValue
|
|
354
355
|
}),
|
|
355
356
|
{ datapoint: n, seriesIndex: i }
|
|
356
|
-
)}</b>`, k += `<span>(${D({ v: n.proportion * 100, s: "%", r: e.value.dataLabelRoundingPercentage })})</span></div>`,
|
|
357
|
+
)}</b>`, k += `<span>(${D({ v: n.proportion * 100, s: "%", r: e.value.dataLabelRoundingPercentage })})</span></div>`, ae.value = `<div>${k}</div>`;
|
|
357
358
|
}
|
|
358
|
-
|
|
359
|
+
te.value = !0;
|
|
359
360
|
}
|
|
360
361
|
function h() {
|
|
361
|
-
|
|
362
|
+
te.value = !1, W.value = null, j.value = null;
|
|
362
363
|
}
|
|
363
364
|
const P = {
|
|
364
365
|
centerX: b.value.width / 2,
|
|
365
366
|
centerY: b.value.height / 2
|
|
366
|
-
}, V = o.filter((n) => !w.value.includes(n.id)).map((n) => n.value || 0).reduce((n, i) => n + i, 0),
|
|
367
|
+
}, V = o.filter((n) => !w.value.includes(n.id)).map((n) => n.value || 0).reduce((n, i) => n + i, 0), de = o.map((n, i) => ({
|
|
367
368
|
...n,
|
|
368
369
|
proportion: (n.value || 0) / V,
|
|
369
370
|
value: n.value || 0,
|
|
370
371
|
absoluteValue: be.value.dataset.find((S, k) => `donut_${k}` === n.id).VALUE
|
|
371
|
-
})),
|
|
372
|
+
})), le = b.value.width / 2, ce = b.value.height / 2, oe = b.value.height * e.value.donutRadiusRatio;
|
|
372
373
|
return {
|
|
373
|
-
dataset:
|
|
374
|
-
legend:
|
|
374
|
+
dataset: de.filter((n) => !w.value.includes(n.id)),
|
|
375
|
+
legend: de,
|
|
375
376
|
drawingArea: P,
|
|
376
377
|
displayArcPercentage: s,
|
|
377
378
|
isArcBigEnough: t,
|
|
@@ -379,15 +380,15 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
379
380
|
killTooltip: h,
|
|
380
381
|
getSpaces: u,
|
|
381
382
|
total: V,
|
|
382
|
-
cx:
|
|
383
|
-
cy:
|
|
384
|
-
radius:
|
|
385
|
-
chart:
|
|
383
|
+
cx: le,
|
|
384
|
+
cy: ce,
|
|
385
|
+
radius: oe,
|
|
386
|
+
chart: qt(
|
|
386
387
|
{ series: o.filter((n) => !w.value.includes(n.id)) },
|
|
387
|
-
ae,
|
|
388
|
-
de,
|
|
389
|
-
le,
|
|
390
388
|
le,
|
|
389
|
+
ce,
|
|
390
|
+
oe,
|
|
391
|
+
oe,
|
|
391
392
|
1.99999,
|
|
392
393
|
2,
|
|
393
394
|
1,
|
|
@@ -396,25 +397,25 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
396
397
|
b.value.height * vt.value
|
|
397
398
|
)
|
|
398
399
|
};
|
|
399
|
-
}),
|
|
400
|
+
}), x = z({
|
|
400
401
|
start: 0,
|
|
401
402
|
end: p.value.maxSeriesLength
|
|
402
403
|
});
|
|
403
|
-
function
|
|
404
|
+
function Ct() {
|
|
404
405
|
dt();
|
|
405
406
|
}
|
|
406
|
-
const
|
|
407
|
+
const ve = z(null);
|
|
407
408
|
async function dt() {
|
|
408
|
-
(e.value.zoomStartIndex !== null || e.value.zoomEndIndex !== null) &&
|
|
409
|
+
(e.value.zoomStartIndex !== null || e.value.zoomEndIndex !== null) && ve.value ? (e.value.zoomStartIndex !== null && (await Me(), await Me(), ve.value && ve.value.setStartValue(e.value.zoomStartIndex)), e.value.zoomEndIndex !== null && (await Me(), await Me(), ve.value && ve.value.setEndValue(It(e.value.zoomEndIndex + 1)))) : (x.value = {
|
|
409
410
|
start: 0,
|
|
410
411
|
end: p.value.maxSeriesLength
|
|
411
412
|
}, Ce.value += 1);
|
|
412
413
|
}
|
|
413
|
-
function
|
|
414
|
+
function It(o) {
|
|
414
415
|
const s = p.value.maxSeriesLength;
|
|
415
416
|
return o > s ? s : o < 0 || e.value.zoomStartIndex !== null && o < e.value.zoomStartIndex ? e.value.zoomStartIndex !== null ? e.value.zoomStartIndex + 1 : 1 : o;
|
|
416
417
|
}
|
|
417
|
-
const
|
|
418
|
+
const Et = U(() => {
|
|
418
419
|
if (!e.value.zoomMinimap.show || L.value === A.DONUT) return [];
|
|
419
420
|
let o = [];
|
|
420
421
|
Y(p.value.dataset) && (o = p.value.dataset), Ue(p.value.dataset) && (o = p.value.dataset.map((r, h) => ({
|
|
@@ -446,8 +447,8 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
446
447
|
let t = [];
|
|
447
448
|
Y(p.value.dataset) && (t = [
|
|
448
449
|
{
|
|
449
|
-
values: p.value.dataset.slice(
|
|
450
|
-
absoluteIndices: p.value.dataset.map((n, i) => i).slice(
|
|
450
|
+
values: p.value.dataset.slice(x.value.start, x.value.end),
|
|
451
|
+
absoluteIndices: p.value.dataset.map((n, i) => i).slice(x.value.start, x.value.end),
|
|
451
452
|
name: e.value.title,
|
|
452
453
|
color: ke.value[e.value.paletteStartIndex] || q[e.value.paletteStartIndex],
|
|
453
454
|
id: "line_0"
|
|
@@ -460,18 +461,18 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
460
461
|
})).map((n, i) => ({
|
|
461
462
|
...n,
|
|
462
463
|
color: n.COLOR ? He(n.COLOR) : ke.value[i + e.value.paletteStartIndex] || q[i + e.value.paletteStartIndex] || q[(i + e.value.paletteStartIndex) % q.length],
|
|
463
|
-
values: n.values.slice(
|
|
464
|
-
absoluteIndices: n.values.map((S, k) => k).slice(
|
|
464
|
+
values: n.values.slice(x.value.start, x.value.end),
|
|
465
|
+
absoluteIndices: n.values.map((S, k) => k).slice(x.value.start, x.value.end)
|
|
465
466
|
})));
|
|
466
467
|
const u = {
|
|
467
468
|
max: Math.max(...t.filter((n) => !w.value.includes(n.id)).flatMap((n) => n.values)),
|
|
468
469
|
min: Math.min(...t.filter((n) => !w.value.includes(n.id)).flatMap((n) => n.values)),
|
|
469
470
|
maxSeries: Math.max(...t.map((n) => n.values.length))
|
|
470
|
-
}, r =
|
|
471
|
+
}, r = mt(u.min < 0 ? u.min : 0, u.max < 0 ? 0 : u.max, e.value.xyScaleSegments), h = u.min < 0 ? Math.abs(u.min) : 0, P = u.max < 0 ? s.top : s.bottom - h / (r.max + h) * s.height, V = s.width / u.maxSeries, de = r.ticks.map((n) => ({
|
|
471
472
|
y: s.bottom - s.height * ((n + h) / (r.max + h)),
|
|
472
473
|
x: s.left - 8,
|
|
473
474
|
value: n
|
|
474
|
-
})),
|
|
475
|
+
})), le = t.map((n, i) => ({
|
|
475
476
|
...n,
|
|
476
477
|
coordinates: n.values.map((S, k) => ({
|
|
477
478
|
x: s.left + V * (k + 1) - V / 2,
|
|
@@ -487,14 +488,14 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
487
488
|
linePath: i.join(" ")
|
|
488
489
|
};
|
|
489
490
|
});
|
|
490
|
-
function
|
|
491
|
+
function ce(n) {
|
|
491
492
|
W.value = n, j.value = n;
|
|
492
493
|
const i = t.map((k) => ({
|
|
493
494
|
...k,
|
|
494
495
|
value: k.values[n],
|
|
495
496
|
absoluteIndex: k.absoluteIndices[n]
|
|
496
497
|
})).filter((k) => !w.value.includes(k.id));
|
|
497
|
-
|
|
498
|
+
xe.value = { datapoint: i, seriesIndex: n, config: e.value, dataset: t };
|
|
498
499
|
const S = e.value.tooltipCustomFormat;
|
|
499
500
|
if (Ne(S) && je(() => S({
|
|
500
501
|
datapoint: i,
|
|
@@ -502,7 +503,7 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
502
503
|
series: t,
|
|
503
504
|
config: e.value
|
|
504
505
|
})))
|
|
505
|
-
|
|
506
|
+
ae.value = S({
|
|
506
507
|
datapoint: i,
|
|
507
508
|
seriesIndex: n,
|
|
508
509
|
series: t,
|
|
@@ -510,7 +511,7 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
510
511
|
});
|
|
511
512
|
else {
|
|
512
513
|
let k = "";
|
|
513
|
-
|
|
514
|
+
ee.value[i[0].absoluteIndex] && (k += `<div style="border-bottom:1px solid ${e.value.tooltipBorderColor};padding-bottom:6px;margin-bottom:3px;">${ee.value[i[0].absoluteIndex].text}</div>`), i.forEach((E, N) => {
|
|
514
515
|
k += `
|
|
515
516
|
<div style="display:flex; flex-wrap: wrap; align-items:center; gap:3px;">
|
|
516
517
|
<svg viewBox="0 0 12 12" height="14" width="12"><circle cx="6" cy="6" r="6" stroke="none" fill="${E.color}"/></svg>
|
|
@@ -529,23 +530,23 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
529
530
|
</b>
|
|
530
531
|
</div>
|
|
531
532
|
`;
|
|
532
|
-
}),
|
|
533
|
+
}), ae.value = k;
|
|
533
534
|
}
|
|
534
|
-
|
|
535
|
+
te.value = !0;
|
|
535
536
|
}
|
|
536
|
-
function
|
|
537
|
-
W.value = null, j.value = null,
|
|
537
|
+
function oe() {
|
|
538
|
+
W.value = null, j.value = null, te.value = !1;
|
|
538
539
|
}
|
|
539
540
|
return {
|
|
540
541
|
absoluteZero: P,
|
|
541
|
-
dataset:
|
|
542
|
-
legend:
|
|
542
|
+
dataset: le.filter((n) => !w.value.includes(n.id)),
|
|
543
|
+
legend: le,
|
|
543
544
|
drawingArea: s,
|
|
544
545
|
extremes: u,
|
|
545
546
|
slotSize: V,
|
|
546
|
-
yLabels:
|
|
547
|
-
useTooltip:
|
|
548
|
-
killTooltip:
|
|
547
|
+
yLabels: de,
|
|
548
|
+
useTooltip: ce,
|
|
549
|
+
killTooltip: oe
|
|
549
550
|
};
|
|
550
551
|
}), d = U(() => {
|
|
551
552
|
if (L.value !== A.BAR) return null;
|
|
@@ -563,8 +564,8 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
563
564
|
let t = [];
|
|
564
565
|
Y(p.value.dataset) && (t = [
|
|
565
566
|
{
|
|
566
|
-
values: p.value.dataset.slice(
|
|
567
|
-
absoluteIndices: p.value.dataset.map((i, S) => S).slice(
|
|
567
|
+
values: p.value.dataset.slice(x.value.start, x.value.end),
|
|
568
|
+
absoluteIndices: p.value.dataset.map((i, S) => S).slice(x.value.start, x.value.end),
|
|
568
569
|
name: e.value.title,
|
|
569
570
|
color: ke.value[e.value.paletteStartIndex] || q[e.value.paletteStartIndex],
|
|
570
571
|
id: "bar_0"
|
|
@@ -577,21 +578,21 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
577
578
|
})).map((i, S) => ({
|
|
578
579
|
...i,
|
|
579
580
|
color: i.COLOR ? He(i.COLOR) : ke.value[S + e.value.paletteStartIndex] || q[S + e.value.paletteStartIndex] || q[(S + e.value.paletteStartIndex) % q.length],
|
|
580
|
-
values: i.values.slice(
|
|
581
|
-
absoluteIndices: i.values.map((k, E) => E).slice(
|
|
581
|
+
values: i.values.slice(x.value.start, x.value.end),
|
|
582
|
+
absoluteIndices: i.values.map((k, E) => E).slice(x.value.start, x.value.end)
|
|
582
583
|
})));
|
|
583
584
|
const u = {
|
|
584
585
|
max: Math.max(...t.filter((i) => !w.value.includes(i.id)).flatMap((i) => i.values)) < 0 ? 0 : Math.max(...t.filter((i) => !w.value.includes(i.id)).flatMap((i) => i.values)),
|
|
585
586
|
min: Math.min(...t.filter((i) => !w.value.includes(i.id)).flatMap((i) => i.values)),
|
|
586
587
|
maxSeries: Math.max(...t.filter((i) => !w.value.includes(i.id)).map((i) => i.values.length))
|
|
587
|
-
}, r =
|
|
588
|
+
}, r = mt(u.min < 0 ? u.min : 0, u.max, e.value.xyScaleSegments), h = r.min < 0 ? Math.abs(r.min) : 0, P = s.bottom - h / (r.max + h) * s.height, V = s.width / u.maxSeries, de = r.ticks.map((i) => ({
|
|
588
589
|
y: s.bottom - s.height * ((i + h) / (r.max + h)),
|
|
589
590
|
x: s.left - 8,
|
|
590
591
|
value: i
|
|
591
|
-
})),
|
|
592
|
+
})), le = t.map((i, S) => ({
|
|
592
593
|
...i,
|
|
593
594
|
coordinates: i.values.map((k, E) => {
|
|
594
|
-
const N = (k + h) / (u.max + h) * s.height, Ae = Math.abs(k) / Math.abs(u.min) * (s.height - P), De = h / (u.max + h) * s.height, _e = V / t.filter((
|
|
595
|
+
const N = (k + h) / (u.max + h) * s.height, Ae = Math.abs(k) / Math.abs(u.min) * (s.height - P), De = h / (u.max + h) * s.height, _e = V / t.filter((ne) => !w.value.includes(ne.id)).length - e.value.barGap / t.filter((ne) => !w.value.includes(ne.id)).length;
|
|
595
596
|
return {
|
|
596
597
|
x: s.left + V * E + _e * S + e.value.barGap / 2,
|
|
597
598
|
y: k > 0 ? s.bottom - N : P,
|
|
@@ -600,10 +601,10 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
600
601
|
width: _e
|
|
601
602
|
};
|
|
602
603
|
})
|
|
603
|
-
})),
|
|
604
|
+
})), ce = t.filter((i) => !w.value.includes(i.id)).map((i, S) => ({
|
|
604
605
|
...i,
|
|
605
606
|
coordinates: i.values.map((k, E) => {
|
|
606
|
-
const N = (k + h) / (u.max + h) * s.height, Ae = Math.abs(k) / (u.max + h) * s.height, De = h / (u.max + h) * s.height, _e = V / t.filter((
|
|
607
|
+
const N = (k + h) / (u.max + h) * s.height, Ae = Math.abs(k) / (u.max + h) * s.height, De = h / (u.max + h) * s.height, _e = V / t.filter((ne) => !w.value.includes(ne.id)).length - e.value.barGap / t.filter((ne) => !w.value.includes(ne.id)).length;
|
|
607
608
|
return {
|
|
608
609
|
x: s.left + V * E + _e * S + e.value.barGap / 2,
|
|
609
610
|
y: k > 0 ? s.bottom - N : P,
|
|
@@ -613,14 +614,14 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
613
614
|
};
|
|
614
615
|
})
|
|
615
616
|
}));
|
|
616
|
-
function
|
|
617
|
+
function oe(i) {
|
|
617
618
|
W.value = i, j.value = i;
|
|
618
619
|
const S = t.map((E) => ({
|
|
619
620
|
...E,
|
|
620
621
|
value: E.values[i],
|
|
621
622
|
absoluteIndex: E.absoluteIndices[i]
|
|
622
623
|
})).filter((E) => !w.value.includes(E.id));
|
|
623
|
-
|
|
624
|
+
xe.value = { datapoint: S, seriesIndex: i, config: e.value, dataset: t };
|
|
624
625
|
const k = e.value.tooltipCustomFormat;
|
|
625
626
|
if (Ne(k) && je(() => k({
|
|
626
627
|
datapoint: S,
|
|
@@ -628,7 +629,7 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
628
629
|
series: t,
|
|
629
630
|
config: e.value
|
|
630
631
|
})))
|
|
631
|
-
|
|
632
|
+
ae.value = k({
|
|
632
633
|
point: S,
|
|
633
634
|
seriesIndex: i,
|
|
634
635
|
series: t,
|
|
@@ -636,7 +637,7 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
636
637
|
});
|
|
637
638
|
else {
|
|
638
639
|
let E = "";
|
|
639
|
-
|
|
640
|
+
ee.value[S[0].absoluteIndex] && (E += `<div style="border-bottom:1px solid ${e.value.tooltipBorderColor};padding-bottom:6px;margin-bottom:3px;">${ee.value[S[0].absoluteIndex].text}</div>`), S.forEach((N, Ae) => {
|
|
640
641
|
E += `
|
|
641
642
|
<div style="display:flex; flex-wrap: wrap; align-items:center; gap:3px;">
|
|
642
643
|
<svg viewBox="0 0 12 12" height="14" width="12"><rect x=0 y="0" width="12" height="12" rx="1" stroke="none" fill="${N.color}"/></svg>
|
|
@@ -655,57 +656,71 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
655
656
|
</b>
|
|
656
657
|
</div>
|
|
657
658
|
`;
|
|
658
|
-
}),
|
|
659
|
+
}), ae.value = E;
|
|
659
660
|
}
|
|
660
|
-
|
|
661
|
+
te.value = !0;
|
|
661
662
|
}
|
|
662
663
|
function n() {
|
|
663
|
-
|
|
664
|
+
te.value = !1, W.value = null, j.value = null;
|
|
664
665
|
}
|
|
665
666
|
return {
|
|
666
667
|
absoluteZero: P,
|
|
667
|
-
dataset:
|
|
668
|
-
legend:
|
|
668
|
+
dataset: ce.filter((i) => !w.value.includes(i.id)),
|
|
669
|
+
legend: le,
|
|
669
670
|
drawingArea: s,
|
|
670
671
|
extremes: u,
|
|
671
672
|
slotSize: V,
|
|
672
|
-
yLabels:
|
|
673
|
-
useTooltip:
|
|
673
|
+
yLabels: de,
|
|
674
|
+
useTooltip: oe,
|
|
674
675
|
killTooltip: n
|
|
675
676
|
};
|
|
676
|
-
}),
|
|
677
|
+
}), ee = U(() => Qt({
|
|
677
678
|
values: e.value.xyPeriods,
|
|
678
679
|
maxDatapoints: p.value.maxSeriesLength,
|
|
679
680
|
formatter: e.value.datetimeFormatter,
|
|
680
|
-
start:
|
|
681
|
-
end:
|
|
681
|
+
start: x.value.start,
|
|
682
|
+
end: x.value.end
|
|
682
683
|
})), Pe = z(!1);
|
|
683
|
-
function
|
|
684
|
+
function ct(o) {
|
|
684
685
|
Pe.value = o, Qe.value += 1;
|
|
685
686
|
}
|
|
686
|
-
function
|
|
687
|
+
function ht() {
|
|
687
688
|
Se.value.showTooltip = !Se.value.showTooltip;
|
|
688
689
|
}
|
|
689
690
|
const Re = z(!1);
|
|
690
691
|
function Be() {
|
|
691
692
|
Re.value = !Re.value;
|
|
692
693
|
}
|
|
694
|
+
async function Ot({ scale: o = 2 } = {}) {
|
|
695
|
+
if (!J.value) return;
|
|
696
|
+
const { width: s, height: t } = J.value.getBoundingClientRect(), u = s / t, { imageUri: r, base64: h } = await Kt({ domElement: J.value, base64: !0, img: !0, scale: o });
|
|
697
|
+
return {
|
|
698
|
+
imageUri: r,
|
|
699
|
+
base64: h,
|
|
700
|
+
title: e.value.title,
|
|
701
|
+
width: s,
|
|
702
|
+
height: t,
|
|
703
|
+
aspectRatio: u
|
|
704
|
+
};
|
|
705
|
+
}
|
|
693
706
|
return C({
|
|
707
|
+
getImage: Ot,
|
|
694
708
|
generatePdf: lt,
|
|
695
709
|
generateImage: ot,
|
|
696
|
-
toggleTooltip:
|
|
697
|
-
toggleAnnotator: Be
|
|
698
|
-
|
|
710
|
+
toggleTooltip: ht,
|
|
711
|
+
toggleAnnotator: Be,
|
|
712
|
+
toggleFullscreen: ct
|
|
713
|
+
}), (o, s) => At.value ? (a(), l("div", {
|
|
699
714
|
key: 0,
|
|
700
|
-
id: `${L.value}_${
|
|
715
|
+
id: `${L.value}_${Q.value}`,
|
|
701
716
|
ref_key: "quickChart",
|
|
702
|
-
ref:
|
|
703
|
-
class:
|
|
717
|
+
ref: J,
|
|
718
|
+
class: fe({ "vue-ui-quick-chart": !0, "vue-data-ui-wrapper-fullscreen": Pe.value }),
|
|
704
719
|
style: R(`background:${e.value.backgroundColor};color:${e.value.color};font-family:${e.value.fontFamily}; position: relative; ${e.value.responsive ? "height: 100%" : ""}`),
|
|
705
720
|
onMouseenter: s[5] || (s[5] = () => tt(!0)),
|
|
706
721
|
onMouseleave: s[6] || (s[6] = () => tt(!1))
|
|
707
722
|
}, [
|
|
708
|
-
e.value.userOptionsButtons.annotator ? (a(), Fe(f(
|
|
723
|
+
e.value.userOptionsButtons.annotator ? (a(), Fe(f(me), {
|
|
709
724
|
key: 0,
|
|
710
725
|
svgRef: f(Ke),
|
|
711
726
|
backgroundColor: e.value.backgroundColor,
|
|
@@ -713,7 +728,7 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
713
728
|
active: Re.value,
|
|
714
729
|
onClose: Be
|
|
715
730
|
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : g("", !0),
|
|
716
|
-
|
|
731
|
+
_t.value ? (a(), l("div", {
|
|
717
732
|
key: 1,
|
|
718
733
|
ref_key: "noTitle",
|
|
719
734
|
ref: Je,
|
|
@@ -727,7 +742,7 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
727
742
|
color: e.value.color,
|
|
728
743
|
isPrinting: f(Ee),
|
|
729
744
|
isImaging: f(Oe),
|
|
730
|
-
uid:
|
|
745
|
+
uid: Q.value,
|
|
731
746
|
hasTooltip: e.value.userOptionsButtons.tooltip && e.value.showTooltip,
|
|
732
747
|
hasPdf: e.value.userOptionsButtons.pdf,
|
|
733
748
|
hasImg: e.value.userOptionsButtons.img,
|
|
@@ -736,25 +751,25 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
736
751
|
isTooltip: Se.value.showTooltip,
|
|
737
752
|
isFullscreen: Pe.value,
|
|
738
753
|
titles: { ...e.value.userOptionsButtonTitles },
|
|
739
|
-
chartElement:
|
|
754
|
+
chartElement: J.value,
|
|
740
755
|
position: e.value.userOptionsPosition,
|
|
741
756
|
hasAnnotator: e.value.userOptionsButtons.annotator,
|
|
742
757
|
isAnnotation: Re.value,
|
|
743
758
|
callbacks: e.value.userOptionsCallbacks,
|
|
744
759
|
printScale: e.value.userOptionsPrint.scale,
|
|
745
|
-
onToggleFullscreen:
|
|
760
|
+
onToggleFullscreen: ct,
|
|
746
761
|
onGeneratePdf: f(lt),
|
|
747
762
|
onGenerateImage: f(ot),
|
|
748
|
-
onToggleTooltip:
|
|
763
|
+
onToggleTooltip: ht,
|
|
749
764
|
onToggleAnnotator: Be,
|
|
750
765
|
style: R({
|
|
751
766
|
visibility: et.value ? Ie.value ? "visible" : "hidden" : "visible"
|
|
752
767
|
})
|
|
753
|
-
},
|
|
768
|
+
}, Rt({ _: 2 }, [
|
|
754
769
|
o.$slots.menuIcon ? {
|
|
755
770
|
name: "menuIcon",
|
|
756
771
|
fn: G(({ isOpen: t, color: u }) => [
|
|
757
|
-
M(o.$slots, "menuIcon",
|
|
772
|
+
M(o.$slots, "menuIcon", ie(ue({ isOpen: t, color: u })), void 0, !0)
|
|
758
773
|
]),
|
|
759
774
|
key: "0"
|
|
760
775
|
} : void 0,
|
|
@@ -782,14 +797,14 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
782
797
|
o.$slots.optionFullscreen ? {
|
|
783
798
|
name: "optionFullscreen",
|
|
784
799
|
fn: G(({ toggleFullscreen: t, isFullscreen: u }) => [
|
|
785
|
-
M(o.$slots, "optionFullscreen",
|
|
800
|
+
M(o.$slots, "optionFullscreen", ie(ue({ toggleFullscreen: t, isFullscreen: u })), void 0, !0)
|
|
786
801
|
]),
|
|
787
802
|
key: "4"
|
|
788
803
|
} : void 0,
|
|
789
804
|
o.$slots.optionAnnotator ? {
|
|
790
805
|
name: "optionAnnotator",
|
|
791
806
|
fn: G(({ toggleAnnotator: t, isAnnotator: u }) => [
|
|
792
|
-
M(o.$slots, "optionAnnotator",
|
|
807
|
+
M(o.$slots, "optionAnnotator", ie(ue({ toggleAnnotator: t, isAnnotator: u })), void 0, !0)
|
|
793
808
|
]),
|
|
794
809
|
key: "5"
|
|
795
810
|
} : void 0
|
|
@@ -805,11 +820,11 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
805
820
|
key: 4,
|
|
806
821
|
ref_key: "svgRef",
|
|
807
822
|
ref: Ke,
|
|
808
|
-
xmlns: f(
|
|
809
|
-
viewBox:
|
|
823
|
+
xmlns: f(Ht),
|
|
824
|
+
viewBox: Lt.value,
|
|
810
825
|
style: R(`max-width:100%;overflow:visible;background:transparent;color:${e.value.color}`)
|
|
811
826
|
}, [
|
|
812
|
-
|
|
827
|
+
ge(f(H)),
|
|
813
828
|
o.$slots["chart-background"] && L.value === A.BAR ? (a(), l("foreignObject", {
|
|
814
829
|
key: 0,
|
|
815
830
|
x: d.value.drawingArea.left,
|
|
@@ -821,7 +836,7 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
821
836
|
}
|
|
822
837
|
}, [
|
|
823
838
|
M(o.$slots, "chart-background", {}, void 0, !0)
|
|
824
|
-
], 8,
|
|
839
|
+
], 8, sa)) : g("", !0),
|
|
825
840
|
o.$slots["chart-background"] && L.value === A.LINE ? (a(), l("foreignObject", {
|
|
826
841
|
key: 1,
|
|
827
842
|
x: v.value.drawingArea.left,
|
|
@@ -833,7 +848,7 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
833
848
|
}
|
|
834
849
|
}, [
|
|
835
850
|
M(o.$slots, "chart-background", {}, void 0, !0)
|
|
836
|
-
], 8,
|
|
851
|
+
], 8, va)) : g("", !0),
|
|
837
852
|
o.$slots["chart-background"] && L.value === A.DONUT ? (a(), l("foreignObject", {
|
|
838
853
|
key: 2,
|
|
839
854
|
x: 0,
|
|
@@ -845,10 +860,10 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
845
860
|
}
|
|
846
861
|
}, [
|
|
847
862
|
M(o.$slots, "chart-background", {}, void 0, !0)
|
|
848
|
-
], 8,
|
|
863
|
+
], 8, da)) : g("", !0),
|
|
849
864
|
_("defs", null, [
|
|
850
865
|
_("filter", {
|
|
851
|
-
id: `blur_${
|
|
866
|
+
id: `blur_${Q.value}`,
|
|
852
867
|
x: "-50%",
|
|
853
868
|
y: "-50%",
|
|
854
869
|
width: "200%",
|
|
@@ -857,15 +872,15 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
857
872
|
_("feGaussianBlur", {
|
|
858
873
|
in: "SourceGraphic",
|
|
859
874
|
stdDeviation: 2,
|
|
860
|
-
id: `blur_std_${
|
|
861
|
-
}, null, 8,
|
|
875
|
+
id: `blur_std_${Q.value}`
|
|
876
|
+
}, null, 8, ha),
|
|
862
877
|
s[7] || (s[7] = _("feColorMatrix", {
|
|
863
878
|
type: "saturate",
|
|
864
879
|
values: "0"
|
|
865
880
|
}, null, -1))
|
|
866
|
-
], 8,
|
|
881
|
+
], 8, ca),
|
|
867
882
|
_("filter", {
|
|
868
|
-
id: `shadow_${
|
|
883
|
+
id: `shadow_${Q.value}`,
|
|
869
884
|
"color-interpolation-filters": "sRGB"
|
|
870
885
|
}, [
|
|
871
886
|
_("feDropShadow", {
|
|
@@ -874,22 +889,22 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
874
889
|
stdDeviation: "10",
|
|
875
890
|
"flood-opacity": "0.5",
|
|
876
891
|
"flood-color": e.value.donutShadowColor
|
|
877
|
-
}, null, 8,
|
|
878
|
-
], 8,
|
|
892
|
+
}, null, 8, ga)
|
|
893
|
+
], 8, fa)
|
|
879
894
|
]),
|
|
880
895
|
L.value === A.DONUT ? (a(), l(m, { key: 3 }, [
|
|
881
|
-
e.value.showDataLabels ? (a(), l("g",
|
|
896
|
+
e.value.showDataLabels ? (a(), l("g", ma, [
|
|
882
897
|
(a(!0), l(m, null, $(I.value.chart, (t, u) => (a(), l(m, null, [
|
|
883
898
|
I.value.isArcBigEnough(t) ? (a(), l("path", {
|
|
884
899
|
key: 0,
|
|
885
|
-
d: f(
|
|
900
|
+
d: f(Wt)(t, { x: b.value.width / 2, y: b.value.height / 2 }, 16, 16, !1, !1, b.value.height * vt.value),
|
|
886
901
|
stroke: t.color,
|
|
887
902
|
"stroke-width": e.value.donutLabelMarkerStrokeWidth,
|
|
888
903
|
"stroke-linecap": "round",
|
|
889
904
|
"stroke-linejoin": "round",
|
|
890
905
|
fill: "none",
|
|
891
906
|
filter: we(t.id)
|
|
892
|
-
}, null, 8,
|
|
907
|
+
}, null, 8, pa)) : g("", !0)
|
|
893
908
|
], 64))), 256))
|
|
894
909
|
])) : g("", !0),
|
|
895
910
|
_("circle", {
|
|
@@ -897,25 +912,25 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
897
912
|
cy: I.value.cy,
|
|
898
913
|
r: I.value.radius,
|
|
899
914
|
fill: e.value.backgroundColor,
|
|
900
|
-
filter: e.value.donutUseShadow ? `url(#shadow_${
|
|
901
|
-
}, null, 8,
|
|
902
|
-
_("g",
|
|
915
|
+
filter: e.value.donutUseShadow ? `url(#shadow_${Q.value})` : ""
|
|
916
|
+
}, null, 8, ya),
|
|
917
|
+
_("g", xa, [
|
|
903
918
|
(a(!0), l(m, null, $(I.value.chart, (t, u) => (a(), l("path", {
|
|
904
919
|
d: t.arcSlice,
|
|
905
920
|
fill: t.color,
|
|
906
921
|
stroke: e.value.backgroundColor,
|
|
907
922
|
"stroke-width": e.value.donutStrokeWidth,
|
|
908
923
|
filter: we(t.id)
|
|
909
|
-
}, null, 8,
|
|
924
|
+
}, null, 8, ka))), 256)),
|
|
910
925
|
(a(!0), l(m, null, $(I.value.chart, (t, u) => (a(), l("path", {
|
|
911
926
|
d: t.arcSlice,
|
|
912
927
|
fill: "transparent",
|
|
913
928
|
onMouseenter: (r) => I.value.useTooltip({ datapoint: t, seriesIndex: u }),
|
|
914
929
|
onMouseout: s[0] || (s[0] = (r) => I.value.killTooltip()),
|
|
915
|
-
onClick: (r) =>
|
|
916
|
-
}, null, 40,
|
|
930
|
+
onClick: (r) => re("selectDatapoint", t)
|
|
931
|
+
}, null, 40, ba))), 256))
|
|
917
932
|
]),
|
|
918
|
-
e.value.showDataLabels ? (a(), l("g",
|
|
933
|
+
e.value.showDataLabels ? (a(), l("g", Sa, [
|
|
919
934
|
(a(!0), l(m, null, $(I.value.chart, (t, u) => (a(), l(m, null, [
|
|
920
935
|
I.value.isArcBigEnough(t) ? (a(), l("circle", {
|
|
921
936
|
key: 0,
|
|
@@ -926,7 +941,7 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
926
941
|
"stroke-width": 1,
|
|
927
942
|
r: 3,
|
|
928
943
|
filter: we(t.id)
|
|
929
|
-
}, null, 8,
|
|
944
|
+
}, null, 8, wa)) : g("", !0),
|
|
930
945
|
I.value.isArcBigEnough(t) ? (a(), l("text", {
|
|
931
946
|
key: 1,
|
|
932
947
|
"text-anchor": f(Le)(t, !0, 20).anchor,
|
|
@@ -945,7 +960,7 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
945
960
|
r: e.value.dataLabelRoundingValue
|
|
946
961
|
}),
|
|
947
962
|
{ datapoint: t, seriesIndex: u }
|
|
948
|
-
)) + ") ", 9,
|
|
963
|
+
)) + ") ", 9, Aa)) : g("", !0),
|
|
949
964
|
I.value.isArcBigEnough(t, !0, 20) ? (a(), l("text", {
|
|
950
965
|
key: 2,
|
|
951
966
|
"text-anchor": f(Le)(t).anchor,
|
|
@@ -954,17 +969,17 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
954
969
|
fill: e.value.color,
|
|
955
970
|
"font-size": e.value.dataLabelFontSize,
|
|
956
971
|
filter: we(t.id)
|
|
957
|
-
}, O(t.name), 9,
|
|
972
|
+
}, O(t.name), 9, _a)) : g("", !0)
|
|
958
973
|
], 64))), 256))
|
|
959
974
|
])) : g("", !0),
|
|
960
|
-
e.value.donutShowTotal ? (a(), l("g",
|
|
975
|
+
e.value.donutShowTotal ? (a(), l("g", La, [
|
|
961
976
|
_("text", {
|
|
962
977
|
"text-anchor": "middle",
|
|
963
978
|
x: I.value.drawingArea.centerX,
|
|
964
979
|
y: I.value.drawingArea.centerY - e.value.donutTotalLabelFontSize / 2,
|
|
965
980
|
"font-size": e.value.donutTotalLabelFontSize,
|
|
966
981
|
fill: e.value.color
|
|
967
|
-
}, O(e.value.donutTotalLabelText), 9,
|
|
982
|
+
}, O(e.value.donutTotalLabelText), 9, za),
|
|
968
983
|
_("text", {
|
|
969
984
|
"text-anchor": "middle",
|
|
970
985
|
x: I.value.drawingArea.centerX,
|
|
@@ -976,11 +991,11 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
976
991
|
v: I.value.total,
|
|
977
992
|
s: e.value.valueSuffix,
|
|
978
993
|
r: e.value.dataLabelRoundingValue
|
|
979
|
-
})), 9,
|
|
994
|
+
})), 9, $a)
|
|
980
995
|
])) : g("", !0)
|
|
981
996
|
], 64)) : g("", !0),
|
|
982
997
|
L.value === A.LINE ? (a(), l(m, { key: 4 }, [
|
|
983
|
-
e.value.xyShowGrid ? (a(), l("g",
|
|
998
|
+
e.value.xyShowGrid ? (a(), l("g", Ca, [
|
|
984
999
|
(a(!0), l(m, null, $(v.value.yLabels, (t) => (a(), l(m, null, [
|
|
985
1000
|
t.y <= v.value.drawingArea.bottom ? (a(), l("line", {
|
|
986
1001
|
key: 0,
|
|
@@ -991,7 +1006,7 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
991
1006
|
stroke: e.value.xyGridStroke,
|
|
992
1007
|
"stroke-width": e.value.xyGridStrokeWidth,
|
|
993
1008
|
"stroke-linecap": "round"
|
|
994
|
-
}, null, 8,
|
|
1009
|
+
}, null, 8, Ia)) : g("", !0)
|
|
995
1010
|
], 64))), 256)),
|
|
996
1011
|
(a(!0), l(m, null, $(v.value.extremes.maxSeries + 1, (t, u) => (a(), l("line", {
|
|
997
1012
|
x1: v.value.drawingArea.left + v.value.slotSize * u,
|
|
@@ -1001,9 +1016,9 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
1001
1016
|
stroke: e.value.xyGridStroke,
|
|
1002
1017
|
"stroke-width": e.value.xyGridStrokeWidth,
|
|
1003
1018
|
"stroke-linecap": "round"
|
|
1004
|
-
}, null, 8,
|
|
1019
|
+
}, null, 8, Ea))), 256))
|
|
1005
1020
|
])) : g("", !0),
|
|
1006
|
-
e.value.xyShowAxis ? (a(), l("g",
|
|
1021
|
+
e.value.xyShowAxis ? (a(), l("g", Oa, [
|
|
1007
1022
|
_("line", {
|
|
1008
1023
|
x1: v.value.drawingArea.left,
|
|
1009
1024
|
x2: v.value.drawingArea.left,
|
|
@@ -1012,7 +1027,7 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
1012
1027
|
stroke: e.value.xyAxisStroke,
|
|
1013
1028
|
"stroke-width": e.value.xyAxisStrokeWidth,
|
|
1014
1029
|
"stroke-linecap": "round"
|
|
1015
|
-
}, null, 8,
|
|
1030
|
+
}, null, 8, Ta),
|
|
1016
1031
|
_("line", {
|
|
1017
1032
|
x1: v.value.drawingArea.left,
|
|
1018
1033
|
x2: v.value.drawingArea.right,
|
|
@@ -1021,9 +1036,9 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
1021
1036
|
stroke: e.value.xyAxisStroke,
|
|
1022
1037
|
"stroke-width": e.value.xyAxisStrokeWidth,
|
|
1023
1038
|
"stroke-linecap": "round"
|
|
1024
|
-
}, null, 8,
|
|
1039
|
+
}, null, 8, Pa)
|
|
1025
1040
|
])) : g("", !0),
|
|
1026
|
-
e.value.xyShowScale ? (a(), l("g",
|
|
1041
|
+
e.value.xyShowScale ? (a(), l("g", Ra, [
|
|
1027
1042
|
(a(!0), l(m, null, $(v.value.yLabels, (t, u) => (a(), l(m, null, [
|
|
1028
1043
|
t.y <= v.value.drawingArea.bottom ? (a(), l("line", {
|
|
1029
1044
|
key: 0,
|
|
@@ -1034,7 +1049,7 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
1034
1049
|
stroke: e.value.xyAxisStroke,
|
|
1035
1050
|
"stroke-width": e.value.xyAxisStrokeWidth,
|
|
1036
1051
|
"stroke-linecap": "round"
|
|
1037
|
-
}, null, 8,
|
|
1052
|
+
}, null, 8, Ma)) : g("", !0),
|
|
1038
1053
|
t.y <= v.value.drawingArea.bottom ? (a(), l("text", {
|
|
1039
1054
|
key: 1,
|
|
1040
1055
|
x: t.x,
|
|
@@ -1052,12 +1067,12 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
1052
1067
|
r: e.value.dataLabelRoundingValue
|
|
1053
1068
|
}),
|
|
1054
1069
|
{ datapoint: t, seriesIndex: u }
|
|
1055
|
-
)), 9,
|
|
1070
|
+
)), 9, Fa)) : g("", !0)
|
|
1056
1071
|
], 64))), 256))
|
|
1057
1072
|
])) : g("", !0),
|
|
1058
|
-
e.value.xyShowScale && e.value.xyPeriods.length ? (a(), l("g",
|
|
1059
|
-
(a(!0), l(m, null, $(
|
|
1060
|
-
!e.value.xyPeriodsShowOnlyAtModulo || e.value.xyPeriodsShowOnlyAtModulo && u % Math.floor((
|
|
1073
|
+
e.value.xyShowScale && e.value.xyPeriods.length ? (a(), l("g", Na, [
|
|
1074
|
+
(a(!0), l(m, null, $(ee.value.map((t) => t.text), (t, u) => (a(), l(m, null, [
|
|
1075
|
+
!e.value.xyPeriodsShowOnlyAtModulo || e.value.xyPeriodsShowOnlyAtModulo && u % Math.floor((x.value.end - x.value.start) / e.value.xyPeriodsModulo) === 0 || x.value.end - x.value.start <= e.value.xyPeriodsModulo ? (a(), l("line", {
|
|
1061
1076
|
key: 0,
|
|
1062
1077
|
x1: v.value.drawingArea.left + v.value.slotSize * (u + 1) - v.value.slotSize / 2,
|
|
1063
1078
|
x2: v.value.drawingArea.left + v.value.slotSize * (u + 1) - v.value.slotSize / 2,
|
|
@@ -1066,8 +1081,8 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
1066
1081
|
stroke: e.value.xyAxisStroke,
|
|
1067
1082
|
"stroke-width": e.value.xyAxisStrokeWidth,
|
|
1068
1083
|
"stroke-linecap": "round"
|
|
1069
|
-
}, null, 8,
|
|
1070
|
-
!e.value.xyPeriodsShowOnlyAtModulo || e.value.xyPeriodsShowOnlyAtModulo && u % Math.floor((
|
|
1084
|
+
}, null, 8, Ua)) : g("", !0),
|
|
1085
|
+
!e.value.xyPeriodsShowOnlyAtModulo || e.value.xyPeriodsShowOnlyAtModulo && u % Math.floor((x.value.end - x.value.start) / e.value.xyPeriodsModulo) === 0 || x.value.end - x.value.start <= e.value.xyPeriodsModulo ? (a(), l("g", Ba, [
|
|
1071
1086
|
String(t).includes(`
|
|
1072
1087
|
`) ? (a(), l("text", {
|
|
1073
1088
|
key: 1,
|
|
@@ -1075,44 +1090,44 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
1075
1090
|
"text-anchor": e.value.xyPeriodLabelsRotation > 0 ? "start" : e.value.xyPeriodLabelsRotation < 0 ? "end" : "middle",
|
|
1076
1091
|
fill: e.value.color,
|
|
1077
1092
|
transform: `translate(${v.value.drawingArea.left + v.value.slotSize * (u + 1) - v.value.slotSize / 2}, ${v.value.drawingArea.bottom + e.value.xyLabelsXFontSize + 6}), rotate(${e.value.xyPeriodLabelsRotation})`,
|
|
1078
|
-
innerHTML: f(
|
|
1093
|
+
innerHTML: f(jt)({
|
|
1079
1094
|
content: String(t),
|
|
1080
1095
|
fontSize: e.value.xyLabelsXFontSize,
|
|
1081
1096
|
fill: e.value.color,
|
|
1082
1097
|
x: 0,
|
|
1083
1098
|
y: 0
|
|
1084
1099
|
})
|
|
1085
|
-
}, null, 8,
|
|
1100
|
+
}, null, 8, Va)) : (a(), l("text", {
|
|
1086
1101
|
key: 0,
|
|
1087
1102
|
"font-size": e.value.xyLabelsXFontSize,
|
|
1088
1103
|
"text-anchor": e.value.xyPeriodLabelsRotation > 0 ? "start" : e.value.xyPeriodLabelsRotation < 0 ? "end" : "middle",
|
|
1089
1104
|
fill: e.value.color,
|
|
1090
1105
|
transform: `translate(${v.value.drawingArea.left + v.value.slotSize * (u + 1) - v.value.slotSize / 2}, ${v.value.drawingArea.bottom + e.value.xyLabelsXFontSize + 6}), rotate(${e.value.xyPeriodLabelsRotation})`
|
|
1091
|
-
}, O(t), 9,
|
|
1106
|
+
}, O(t), 9, Da))
|
|
1092
1107
|
])) : g("", !0)
|
|
1093
1108
|
], 64))), 256))
|
|
1094
1109
|
])) : g("", !0),
|
|
1095
|
-
_("g",
|
|
1096
|
-
(a(!0), l(m, null, $(v.value.dataset, (t, u) => (a(), l("g",
|
|
1110
|
+
_("g", qa, [
|
|
1111
|
+
(a(!0), l(m, null, $(v.value.dataset, (t, u) => (a(), l("g", Ha, [
|
|
1097
1112
|
e.value.lineSmooth ? (a(), l(m, { key: 0 }, [
|
|
1098
1113
|
_("path", {
|
|
1099
|
-
d: `M ${f(
|
|
1114
|
+
d: `M ${f(pt)(t.coordinates)}`,
|
|
1100
1115
|
stroke: e.value.backgroundColor,
|
|
1101
1116
|
"stroke-width": e.value.lineStrokeWidth + 1,
|
|
1102
1117
|
"stroke-linecap": "round",
|
|
1103
1118
|
fill: "none",
|
|
1104
|
-
class:
|
|
1119
|
+
class: fe({ "quick-animation": !0, "vue-data-ui-line-animated": e.value.lineAnimated }),
|
|
1105
1120
|
style: { transition: "all 0.3s ease-in-out" }
|
|
1106
|
-
}, null, 10,
|
|
1121
|
+
}, null, 10, Wa),
|
|
1107
1122
|
_("path", {
|
|
1108
|
-
d: `M ${f(
|
|
1123
|
+
d: `M ${f(pt)(t.coordinates)}`,
|
|
1109
1124
|
stroke: t.color,
|
|
1110
1125
|
"stroke-width": e.value.lineStrokeWidth,
|
|
1111
1126
|
"stroke-linecap": "round",
|
|
1112
1127
|
fill: "none",
|
|
1113
|
-
class:
|
|
1128
|
+
class: fe({ "quick-animation": !0, "vue-data-ui-line-animated": e.value.lineAnimated }),
|
|
1114
1129
|
style: { transition: "all 0.3s ease-in-out" }
|
|
1115
|
-
}, null, 10,
|
|
1130
|
+
}, null, 10, ja)
|
|
1116
1131
|
], 64)) : (a(), l(m, { key: 1 }, [
|
|
1117
1132
|
_("path", {
|
|
1118
1133
|
d: `M ${t.linePath}`,
|
|
@@ -1120,18 +1135,18 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
1120
1135
|
"stroke-width": e.value.lineStrokeWidth + 1,
|
|
1121
1136
|
"stroke-linecap": "round",
|
|
1122
1137
|
fill: "none",
|
|
1123
|
-
class:
|
|
1138
|
+
class: fe({ "quick-animation": !0, "vue-data-ui-line-animated": e.value.lineAnimated }),
|
|
1124
1139
|
style: { transition: "all 0.3s ease-in-out" }
|
|
1125
|
-
}, null, 10,
|
|
1140
|
+
}, null, 10, Ga),
|
|
1126
1141
|
_("path", {
|
|
1127
1142
|
d: `M ${t.linePath}`,
|
|
1128
1143
|
stroke: t.color,
|
|
1129
1144
|
"stroke-width": e.value.lineStrokeWidth,
|
|
1130
1145
|
"stroke-linecap": "round",
|
|
1131
1146
|
fill: "none",
|
|
1132
|
-
class:
|
|
1147
|
+
class: fe({ "quick-animation": !0, "vue-data-ui-line-animated": e.value.lineAnimated }),
|
|
1133
1148
|
style: { transition: "all 0.3s ease-in-out" }
|
|
1134
|
-
}, null, 10,
|
|
1149
|
+
}, null, 10, Xa)
|
|
1135
1150
|
], 64)),
|
|
1136
1151
|
(a(!0), l(m, null, $(t.coordinates, (r, h) => (a(), l("circle", {
|
|
1137
1152
|
cx: r.x,
|
|
@@ -1142,10 +1157,10 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
1142
1157
|
"stroke-width": "0.5",
|
|
1143
1158
|
class: "quick-animation",
|
|
1144
1159
|
style: { transition: "all 0.3s ease-in-out" }
|
|
1145
|
-
}, null, 8,
|
|
1160
|
+
}, null, 8, Za))), 256))
|
|
1146
1161
|
]))), 256))
|
|
1147
1162
|
]),
|
|
1148
|
-
e.value.showDataLabels ? (a(), l("g",
|
|
1163
|
+
e.value.showDataLabels ? (a(), l("g", Ya, [
|
|
1149
1164
|
(a(!0), l(m, null, $(v.value.dataset, (t, u) => (a(), l(m, null, [
|
|
1150
1165
|
(a(!0), l(m, null, $(t.coordinates, (r, h) => (a(), l("text", {
|
|
1151
1166
|
"text-anchor": "middle",
|
|
@@ -1165,10 +1180,10 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
1165
1180
|
r: e.value.dataLabelRoundingValue
|
|
1166
1181
|
}),
|
|
1167
1182
|
{ datapoint: r, seriesIndex: h }
|
|
1168
|
-
)), 9,
|
|
1183
|
+
)), 9, Ja))), 256))
|
|
1169
1184
|
], 64))), 256))
|
|
1170
1185
|
])) : g("", !0),
|
|
1171
|
-
_("g",
|
|
1186
|
+
_("g", Qa, [
|
|
1172
1187
|
(a(!0), l(m, null, $(v.value.extremes.maxSeries, (t, u) => (a(), l("rect", {
|
|
1173
1188
|
x: v.value.drawingArea.left + u * v.value.slotSize,
|
|
1174
1189
|
y: v.value.drawingArea.top,
|
|
@@ -1178,15 +1193,15 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
1178
1193
|
style: R(`opacity:${e.value.xyHighlighterOpacity}`),
|
|
1179
1194
|
onMouseenter: (r) => v.value.useTooltip(u),
|
|
1180
1195
|
onMouseleave: s[1] || (s[1] = (r) => v.value.killTooltip()),
|
|
1181
|
-
onClick: (r) =>
|
|
1196
|
+
onClick: (r) => re("selectDatapoint", v.value.dataset.map((h) => ({
|
|
1182
1197
|
...h,
|
|
1183
1198
|
value: h.values[u]
|
|
1184
1199
|
})))
|
|
1185
|
-
}, null, 44,
|
|
1200
|
+
}, null, 44, Ka))), 256))
|
|
1186
1201
|
])
|
|
1187
1202
|
], 64)) : g("", !0),
|
|
1188
1203
|
L.value === A.BAR ? (a(), l(m, { key: 5 }, [
|
|
1189
|
-
e.value.xyShowGrid ? (a(), l("g",
|
|
1204
|
+
e.value.xyShowGrid ? (a(), l("g", el, [
|
|
1190
1205
|
(a(!0), l(m, null, $(d.value.yLabels, (t) => (a(), l(m, null, [
|
|
1191
1206
|
t.y <= d.value.drawingArea.bottom ? (a(), l("line", {
|
|
1192
1207
|
key: 0,
|
|
@@ -1197,7 +1212,7 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
1197
1212
|
stroke: e.value.xyGridStroke,
|
|
1198
1213
|
"stroke-width": e.value.xyGridStrokeWidth,
|
|
1199
1214
|
"stroke-linecap": "round"
|
|
1200
|
-
}, null, 8,
|
|
1215
|
+
}, null, 8, tl)) : g("", !0)
|
|
1201
1216
|
], 64))), 256)),
|
|
1202
1217
|
(a(!0), l(m, null, $(d.value.extremes.maxSeries + 1, (t, u) => (a(), l("line", {
|
|
1203
1218
|
x1: d.value.drawingArea.left + d.value.slotSize * u,
|
|
@@ -1207,9 +1222,9 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
1207
1222
|
stroke: e.value.xyGridStroke,
|
|
1208
1223
|
"stroke-width": e.value.xyGridStrokeWidth,
|
|
1209
1224
|
"stroke-linecap": "round"
|
|
1210
|
-
}, null, 8,
|
|
1225
|
+
}, null, 8, al))), 256))
|
|
1211
1226
|
])) : g("", !0),
|
|
1212
|
-
e.value.xyShowAxis ? (a(), l("g",
|
|
1227
|
+
e.value.xyShowAxis ? (a(), l("g", ll, [
|
|
1213
1228
|
_("line", {
|
|
1214
1229
|
x1: d.value.drawingArea.left,
|
|
1215
1230
|
x2: d.value.drawingArea.left,
|
|
@@ -1218,7 +1233,7 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
1218
1233
|
stroke: e.value.xyAxisStroke,
|
|
1219
1234
|
"stroke-width": e.value.xyAxisStrokeWidth,
|
|
1220
1235
|
"stroke-linecap": "round"
|
|
1221
|
-
}, null, 8,
|
|
1236
|
+
}, null, 8, ol),
|
|
1222
1237
|
_("line", {
|
|
1223
1238
|
x1: d.value.drawingArea.left,
|
|
1224
1239
|
x2: d.value.drawingArea.right,
|
|
@@ -1227,9 +1242,9 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
1227
1242
|
stroke: e.value.xyAxisStroke,
|
|
1228
1243
|
"stroke-width": e.value.xyAxisStrokeWidth,
|
|
1229
1244
|
"stroke-linecap": "round"
|
|
1230
|
-
}, null, 8,
|
|
1245
|
+
}, null, 8, nl)
|
|
1231
1246
|
])) : g("", !0),
|
|
1232
|
-
e.value.xyShowScale ? (a(), l("g",
|
|
1247
|
+
e.value.xyShowScale ? (a(), l("g", il, [
|
|
1233
1248
|
(a(!0), l(m, null, $(d.value.yLabels, (t, u) => (a(), l(m, null, [
|
|
1234
1249
|
t.y <= d.value.drawingArea.bottom ? (a(), l("line", {
|
|
1235
1250
|
key: 0,
|
|
@@ -1240,7 +1255,7 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
1240
1255
|
stroke: e.value.xyAxisStroke,
|
|
1241
1256
|
"stroke-width": e.value.xyAxisStrokeWidth,
|
|
1242
1257
|
"stroke-linecap": "round"
|
|
1243
|
-
}, null, 8,
|
|
1258
|
+
}, null, 8, ul)) : g("", !0),
|
|
1244
1259
|
t.y <= d.value.drawingArea.bottom ? (a(), l("text", {
|
|
1245
1260
|
key: 1,
|
|
1246
1261
|
x: t.x,
|
|
@@ -1258,11 +1273,11 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
1258
1273
|
r: e.value.dataLabelRoundingValue
|
|
1259
1274
|
}),
|
|
1260
1275
|
{ datapoint: t, seriesIndex: u }
|
|
1261
|
-
)), 9,
|
|
1276
|
+
)), 9, rl)) : g("", !0)
|
|
1262
1277
|
], 64))), 256))
|
|
1263
1278
|
])) : g("", !0),
|
|
1264
|
-
e.value.xyShowScale && e.value.xyPeriods.length ? (a(), l("g",
|
|
1265
|
-
(a(!0), l(m, null, $(e.value.xyPeriods.slice(
|
|
1279
|
+
e.value.xyShowScale && e.value.xyPeriods.length ? (a(), l("g", sl, [
|
|
1280
|
+
(a(!0), l(m, null, $(e.value.xyPeriods.slice(x.value.start, x.value.end), (t, u) => (a(), l("line", {
|
|
1266
1281
|
x1: d.value.drawingArea.left + d.value.slotSize * (u + 1) - d.value.slotSize / 2,
|
|
1267
1282
|
x2: d.value.drawingArea.left + d.value.slotSize * (u + 1) - d.value.slotSize / 2,
|
|
1268
1283
|
y1: d.value.drawingArea.bottom,
|
|
@@ -1270,15 +1285,15 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
1270
1285
|
stroke: e.value.xyAxisStroke,
|
|
1271
1286
|
"stroke-width": e.value.xyAxisStrokeWidth,
|
|
1272
1287
|
"stroke-linecap": "round"
|
|
1273
|
-
}, null, 8,
|
|
1274
|
-
(a(!0), l(m, null, $(
|
|
1288
|
+
}, null, 8, vl))), 256)),
|
|
1289
|
+
(a(!0), l(m, null, $(ee.value.map((t) => t.text), (t, u) => (a(), l("text", {
|
|
1275
1290
|
"font-size": e.value.xyLabelsXFontSize,
|
|
1276
1291
|
"text-anchor": e.value.xyPeriodLabelsRotation > 0 ? "start" : e.value.xyPeriodLabelsRotation < 0 ? "end" : "middle",
|
|
1277
1292
|
transform: `translate(${d.value.drawingArea.left + d.value.slotSize * (u + 1) - d.value.slotSize / 2}, ${d.value.drawingArea.bottom + e.value.xyLabelsXFontSize + 6}) rotate(${e.value.xyPeriodLabelsRotation})`,
|
|
1278
1293
|
fill: e.value.color
|
|
1279
|
-
}, O(t), 9,
|
|
1294
|
+
}, O(t), 9, dl))), 256))
|
|
1280
1295
|
])) : g("", !0),
|
|
1281
|
-
_("g",
|
|
1296
|
+
_("g", cl, [
|
|
1282
1297
|
(a(!0), l(m, null, $(d.value.dataset, (t, u) => (a(), l(m, null, [
|
|
1283
1298
|
(a(!0), l(m, null, $(t.coordinates, (r, h) => (a(), l("rect", {
|
|
1284
1299
|
x: r.x,
|
|
@@ -1289,7 +1304,7 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
1289
1304
|
stroke: e.value.backgroundColor,
|
|
1290
1305
|
"stroke-width": e.value.barStrokeWidth,
|
|
1291
1306
|
"stroke-linecap": "round",
|
|
1292
|
-
class:
|
|
1307
|
+
class: fe({ "vue-data-ui-bar-animated": e.value.barAnimated && r.value < 0 })
|
|
1293
1308
|
}, [
|
|
1294
1309
|
e.value.barAnimated && r.value > 0 && !f(Ee) && !f(Oe) ? (a(), l("animate", {
|
|
1295
1310
|
key: 0,
|
|
@@ -1297,18 +1312,18 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
1297
1312
|
from: 0,
|
|
1298
1313
|
to: r.height,
|
|
1299
1314
|
dur: "0.5s"
|
|
1300
|
-
}, null, 8,
|
|
1315
|
+
}, null, 8, fl)) : g("", !0),
|
|
1301
1316
|
e.value.barAnimated && r.value > 0 && !f(Ee) && !f(Oe) ? (a(), l("animate", {
|
|
1302
1317
|
key: 1,
|
|
1303
1318
|
attributeName: "y",
|
|
1304
1319
|
from: d.value.absoluteZero,
|
|
1305
1320
|
to: d.value.absoluteZero - r.height,
|
|
1306
1321
|
dur: "0.5s"
|
|
1307
|
-
}, null, 8,
|
|
1308
|
-
], 10,
|
|
1322
|
+
}, null, 8, gl)) : g("", !0)
|
|
1323
|
+
], 10, hl))), 256))
|
|
1309
1324
|
], 64))), 256))
|
|
1310
1325
|
]),
|
|
1311
|
-
e.value.showDataLabels ? (a(), l("g",
|
|
1326
|
+
e.value.showDataLabels ? (a(), l("g", ml, [
|
|
1312
1327
|
(a(!0), l(m, null, $(d.value.dataset, (t, u) => (a(), l(m, null, [
|
|
1313
1328
|
(a(!0), l(m, null, $(t.coordinates, (r, h) => (a(), l("text", {
|
|
1314
1329
|
x: r.x + r.width / 2,
|
|
@@ -1327,10 +1342,10 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
1327
1342
|
r: e.value.dataLabelRoundingValue
|
|
1328
1343
|
}),
|
|
1329
1344
|
{ datapoint: r, seriesIndex: h }
|
|
1330
|
-
)), 9,
|
|
1345
|
+
)), 9, pl))), 256))
|
|
1331
1346
|
], 64))), 256))
|
|
1332
1347
|
])) : g("", !0),
|
|
1333
|
-
_("g",
|
|
1348
|
+
_("g", yl, [
|
|
1334
1349
|
(a(!0), l(m, null, $(d.value.extremes.maxSeries, (t, u) => (a(), l("rect", {
|
|
1335
1350
|
x: d.value.drawingArea.left + u * d.value.slotSize,
|
|
1336
1351
|
y: d.value.drawingArea.top,
|
|
@@ -1340,51 +1355,51 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
1340
1355
|
style: R(`opacity:${e.value.xyHighlighterOpacity}`),
|
|
1341
1356
|
onMouseenter: (r) => d.value.useTooltip(u),
|
|
1342
1357
|
onMouseleave: s[2] || (s[2] = (r) => d.value.killTooltip()),
|
|
1343
|
-
onClick: (r) =>
|
|
1358
|
+
onClick: (r) => re("selectDatapoint", d.value.dataset.map((h) => ({
|
|
1344
1359
|
...h,
|
|
1345
1360
|
value: h.values[u]
|
|
1346
1361
|
})))
|
|
1347
|
-
}, null, 44,
|
|
1362
|
+
}, null, 44, xl))), 256))
|
|
1348
1363
|
])
|
|
1349
1364
|
], 64)) : g("", !0),
|
|
1350
|
-
[A.LINE, A.BAR].includes(L.value) ? (a(), l("g",
|
|
1351
|
-
e.value.xAxisLabel && L.value === A.LINE ? (a(), l("g",
|
|
1365
|
+
[A.LINE, A.BAR].includes(L.value) ? (a(), l("g", kl, [
|
|
1366
|
+
e.value.xAxisLabel && L.value === A.LINE ? (a(), l("g", bl, [
|
|
1352
1367
|
_("text", {
|
|
1353
1368
|
"font-size": e.value.axisLabelsFontSize,
|
|
1354
1369
|
fill: e.value.color,
|
|
1355
1370
|
"text-anchor": "middle",
|
|
1356
1371
|
x: v.value.drawingArea.left + v.value.drawingArea.width / 2,
|
|
1357
1372
|
y: b.value.height - e.value.axisLabelsFontSize / 3
|
|
1358
|
-
}, O(e.value.xAxisLabel), 9,
|
|
1373
|
+
}, O(e.value.xAxisLabel), 9, Sl)
|
|
1359
1374
|
])) : g("", !0),
|
|
1360
|
-
e.value.xAxisLabel && L.value === A.BAR ? (a(), l("g",
|
|
1375
|
+
e.value.xAxisLabel && L.value === A.BAR ? (a(), l("g", wl, [
|
|
1361
1376
|
_("text", {
|
|
1362
1377
|
"font-size": e.value.axisLabelsFontSize,
|
|
1363
1378
|
fill: e.value.color,
|
|
1364
1379
|
"text-anchor": "middle",
|
|
1365
1380
|
x: d.value.drawingArea.left + d.value.drawingArea.width / 2,
|
|
1366
1381
|
y: b.value.height - e.value.axisLabelsFontSize / 3
|
|
1367
|
-
}, O(e.value.xAxisLabel), 9,
|
|
1382
|
+
}, O(e.value.xAxisLabel), 9, Al)
|
|
1368
1383
|
])) : g("", !0),
|
|
1369
|
-
e.value.yAxisLabel && L.value === A.LINE ? (a(), l("g",
|
|
1384
|
+
e.value.yAxisLabel && L.value === A.LINE ? (a(), l("g", _l, [
|
|
1370
1385
|
_("text", {
|
|
1371
1386
|
"font-size": e.value.axisLabelsFontSize,
|
|
1372
1387
|
fill: e.value.color,
|
|
1373
1388
|
transform: `translate(${e.value.axisLabelsFontSize}, ${v.value.drawingArea.top + v.value.drawingArea.height / 2}) rotate(-90)`,
|
|
1374
1389
|
"text-anchor": "middle"
|
|
1375
|
-
}, O(e.value.yAxisLabel), 9,
|
|
1390
|
+
}, O(e.value.yAxisLabel), 9, Ll)
|
|
1376
1391
|
])) : g("", !0),
|
|
1377
|
-
e.value.yAxisLabel && L.value === A.BAR ? (a(), l("g",
|
|
1392
|
+
e.value.yAxisLabel && L.value === A.BAR ? (a(), l("g", zl, [
|
|
1378
1393
|
_("text", {
|
|
1379
1394
|
"font-size": e.value.axisLabelsFontSize,
|
|
1380
1395
|
fill: e.value.color,
|
|
1381
1396
|
transform: `translate(${e.value.axisLabelsFontSize}, ${d.value.drawingArea.top + d.value.drawingArea.height / 2}) rotate(-90)`,
|
|
1382
1397
|
"text-anchor": "middle"
|
|
1383
|
-
}, O(e.value.yAxisLabel), 9,
|
|
1398
|
+
}, O(e.value.yAxisLabel), 9, $l)
|
|
1384
1399
|
])) : g("", !0)
|
|
1385
1400
|
])) : g("", !0)
|
|
1386
|
-
], 12,
|
|
1387
|
-
L.value ? g("", !0) : (a(), Fe(f(
|
|
1401
|
+
], 12, ra)) : g("", !0),
|
|
1402
|
+
L.value ? g("", !0) : (a(), Fe(f(pe), {
|
|
1388
1403
|
key: 5,
|
|
1389
1404
|
config: {
|
|
1390
1405
|
type: "line",
|
|
@@ -1402,53 +1417,53 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
1402
1417
|
}
|
|
1403
1418
|
}
|
|
1404
1419
|
}, null, 8, ["config"])),
|
|
1405
|
-
o.$slots.watermark ? (a(), l("div",
|
|
1406
|
-
M(o.$slots, "watermark",
|
|
1420
|
+
o.$slots.watermark ? (a(), l("div", Cl, [
|
|
1421
|
+
M(o.$slots, "watermark", ie(ue({ isPrinting: f(Ee) || f(Oe) })), void 0, !0)
|
|
1407
1422
|
])) : g("", !0),
|
|
1408
1423
|
[A.BAR, A.LINE].includes(L.value) && e.value.zoomXy && p.value.maxSeriesLength > 1 ? (a(), l("div", {
|
|
1409
1424
|
key: `slicer_${Ce.value}`,
|
|
1410
1425
|
ref_key: "quickChartSlicer",
|
|
1411
1426
|
ref: Ze
|
|
1412
1427
|
}, [
|
|
1413
|
-
(a(), Fe(
|
|
1428
|
+
(a(), Fe(Jt, {
|
|
1414
1429
|
ref_key: "slicerComponent",
|
|
1415
|
-
ref:
|
|
1430
|
+
ref: ve,
|
|
1416
1431
|
key: `slicer_${Ce.value}`,
|
|
1417
1432
|
background: e.value.zoomColor,
|
|
1418
1433
|
borderColor: e.value.backgroundColor,
|
|
1419
1434
|
fontSize: e.value.zoomFontSize,
|
|
1420
1435
|
useResetSlot: e.value.zoomUseResetSlot,
|
|
1421
|
-
labelLeft: e.value.xyPeriods[
|
|
1422
|
-
labelRight: e.value.xyPeriods[
|
|
1436
|
+
labelLeft: e.value.xyPeriods[x.value.start] ? ee.value[0].text : "",
|
|
1437
|
+
labelRight: e.value.xyPeriods[x.value.end - 1] ? ee.value.at(-1).text : "",
|
|
1423
1438
|
textColor: e.value.color,
|
|
1424
1439
|
inputColor: e.value.zoomColor,
|
|
1425
1440
|
selectColor: e.value.zoomHighlightColor,
|
|
1426
1441
|
max: p.value.maxSeriesLength,
|
|
1427
1442
|
min: 0,
|
|
1428
|
-
valueStart:
|
|
1429
|
-
valueEnd:
|
|
1443
|
+
valueStart: x.value.start,
|
|
1444
|
+
valueEnd: x.value.end,
|
|
1430
1445
|
smoothMinimap: e.value.zoomMinimap.smooth,
|
|
1431
1446
|
minimapSelectedColor: e.value.zoomMinimap.selectedColor,
|
|
1432
1447
|
minimapSelectedColorOpacity: e.value.zoomMinimap.selectedColorOpacity,
|
|
1433
1448
|
minimapSelectionRadius: e.value.zoomMinimap.selectionRadius,
|
|
1434
1449
|
minimapLineColor: e.value.zoomMinimap.lineColor,
|
|
1435
|
-
minimap:
|
|
1450
|
+
minimap: Et.value,
|
|
1436
1451
|
minimapIndicatorColor: e.value.zoomMinimap.indicatorColor,
|
|
1437
1452
|
verticalHandles: e.value.zoomMinimap.verticalHandles,
|
|
1438
1453
|
minimapSelectedIndex: j.value,
|
|
1439
|
-
start:
|
|
1440
|
-
"onUpdate:start": s[3] || (s[3] = (t) =>
|
|
1441
|
-
end:
|
|
1442
|
-
"onUpdate:end": s[4] || (s[4] = (t) =>
|
|
1454
|
+
start: x.value.start,
|
|
1455
|
+
"onUpdate:start": s[3] || (s[3] = (t) => x.value.start = t),
|
|
1456
|
+
end: x.value.end,
|
|
1457
|
+
"onUpdate:end": s[4] || (s[4] = (t) => x.value.end = t),
|
|
1443
1458
|
refreshStartPoint: e.value.zoomStartIndex !== null ? e.value.zoomStartIndex : 0,
|
|
1444
1459
|
refreshEndPoint: e.value.zoomEndIndex !== null ? e.value.zoomEndIndex + 1 : p.value.maxSeriesLength,
|
|
1445
1460
|
enableRangeHandles: e.value.zoomEnableRangeHandles,
|
|
1446
1461
|
enableSelectionDrag: e.value.zoomEnableSelectionDrag,
|
|
1447
|
-
onReset:
|
|
1448
|
-
onTrapMouse:
|
|
1462
|
+
onReset: Ct,
|
|
1463
|
+
onTrapMouse: $t
|
|
1449
1464
|
}, {
|
|
1450
1465
|
"reset-action": G(({ reset: t }) => [
|
|
1451
|
-
M(o.$slots, "reset-action",
|
|
1466
|
+
M(o.$slots, "reset-action", ie(ue({ reset: t })), void 0, !0)
|
|
1452
1467
|
]),
|
|
1453
1468
|
_: 3
|
|
1454
1469
|
}, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "smoothMinimap", "minimapSelectedColor", "minimapSelectedColorOpacity", "minimapSelectionRadius", "minimapLineColor", "minimap", "minimapIndicatorColor", "verticalHandles", "minimapSelectedIndex", "start", "end", "refreshStartPoint", "refreshEndPoint", "enableRangeHandles", "enableSelectionDrag"]))
|
|
@@ -1463,7 +1478,7 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
1463
1478
|
L.value === A.DONUT ? (a(!0), l(m, { key: 0 }, $(I.value.legend, (t, u) => (a(), l("div", {
|
|
1464
1479
|
class: "vue-ui-quick-chart-legend-item",
|
|
1465
1480
|
onClick: (r) => {
|
|
1466
|
-
|
|
1481
|
+
zt(t, I.value.dataset), re("selectLegend", t);
|
|
1467
1482
|
},
|
|
1468
1483
|
style: R(`cursor: ${I.value.legend.length > 1 ? "pointer" : "default"}; opacity:${w.value.includes(t.id) ? "0.5" : "1"}`)
|
|
1469
1484
|
}, [
|
|
@@ -1471,7 +1486,7 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
1471
1486
|
key: 0,
|
|
1472
1487
|
ref_for: !0
|
|
1473
1488
|
}, { legend: t }), void 0, !0) : (a(), l(m, { key: 1 }, [
|
|
1474
|
-
|
|
1489
|
+
ge(f(T), {
|
|
1475
1490
|
name: e.value.legendIcon,
|
|
1476
1491
|
stroke: t.color,
|
|
1477
1492
|
size: e.value.legendIconSize
|
|
@@ -1507,11 +1522,11 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
1507
1522
|
r: e.value.dataLabelRoundingPercentage
|
|
1508
1523
|
})) + ") ", 5))
|
|
1509
1524
|
], 64))
|
|
1510
|
-
], 12,
|
|
1525
|
+
], 12, Il))), 256)) : g("", !0),
|
|
1511
1526
|
L.value === A.LINE ? (a(!0), l(m, { key: 1 }, $(v.value.legend, (t, u) => (a(), l("div", {
|
|
1512
1527
|
class: "vue-ui-quick-chart-legend-item",
|
|
1513
1528
|
onClick: (r) => {
|
|
1514
|
-
ut(t.id, v.value.legend.length - 1),
|
|
1529
|
+
ut(t.id, v.value.legend.length - 1), re("selectLegend", t);
|
|
1515
1530
|
},
|
|
1516
1531
|
style: R(`cursor: ${v.value.legend.length > 1 ? "pointer" : "default"}; opacity:${w.value.includes(t.id) ? "0.5" : "1"}`)
|
|
1517
1532
|
}, [
|
|
@@ -1519,7 +1534,7 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
1519
1534
|
key: 0,
|
|
1520
1535
|
ref_for: !0
|
|
1521
1536
|
}, { legend: t }), void 0, !0) : (a(), l(m, { key: 1 }, [
|
|
1522
|
-
|
|
1537
|
+
ge(f(T), {
|
|
1523
1538
|
name: e.value.legendIcon,
|
|
1524
1539
|
stroke: t.color,
|
|
1525
1540
|
size: e.value.legendIconSize
|
|
@@ -1528,11 +1543,11 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
1528
1543
|
style: R(`font-size:${e.value.legendFontSize}px`)
|
|
1529
1544
|
}, O(t.name), 5)
|
|
1530
1545
|
], 64))
|
|
1531
|
-
], 12,
|
|
1546
|
+
], 12, El))), 256)) : g("", !0),
|
|
1532
1547
|
L.value === A.BAR ? (a(!0), l(m, { key: 2 }, $(d.value.legend, (t, u) => (a(), l("div", {
|
|
1533
1548
|
class: "vue-ui-quick-chart-legend-item",
|
|
1534
1549
|
onClick: (r) => {
|
|
1535
|
-
ut(t.id, d.value.legend.length - 1),
|
|
1550
|
+
ut(t.id, d.value.legend.length - 1), re("selectLegend", t);
|
|
1536
1551
|
},
|
|
1537
1552
|
style: R(`cursor: ${d.value.legend.length > 1 ? "pointer" : "default"}; opacity:${w.value.includes(t.id) ? "0.5" : "1"}`)
|
|
1538
1553
|
}, [
|
|
@@ -1540,7 +1555,7 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
1540
1555
|
key: 0,
|
|
1541
1556
|
ref_for: !0
|
|
1542
1557
|
}, { legend: t }), void 0, !0) : (a(), l(m, { key: 1 }, [
|
|
1543
|
-
|
|
1558
|
+
ge(f(T), {
|
|
1544
1559
|
name: e.value.legendIcon,
|
|
1545
1560
|
stroke: t.color,
|
|
1546
1561
|
size: e.value.legendIconSize
|
|
@@ -1549,7 +1564,7 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
1549
1564
|
style: R(`font-size:${e.value.legendFontSize}px`)
|
|
1550
1565
|
}, O(t.name), 5)
|
|
1551
1566
|
], 64))
|
|
1552
|
-
], 12,
|
|
1567
|
+
], 12, Ol))), 256)) : g("", !0)
|
|
1553
1568
|
], 4)) : g("", !0),
|
|
1554
1569
|
o.$slots.source ? (a(), l("div", {
|
|
1555
1570
|
key: 9,
|
|
@@ -1559,8 +1574,8 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
1559
1574
|
}, [
|
|
1560
1575
|
M(o.$slots, "source", {}, void 0, !0)
|
|
1561
1576
|
], 512)) : g("", !0),
|
|
1562
|
-
|
|
1563
|
-
show: Se.value.showTooltip &&
|
|
1577
|
+
ge(f(ye), {
|
|
1578
|
+
show: Se.value.showTooltip && te.value,
|
|
1564
1579
|
backgroundColor: e.value.backgroundColor,
|
|
1565
1580
|
color: e.value.color,
|
|
1566
1581
|
borderRadius: e.value.tooltipBorderRadius,
|
|
@@ -1570,28 +1585,28 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
1570
1585
|
backgroundOpacity: e.value.tooltipBackgroundOpacity,
|
|
1571
1586
|
position: e.value.tooltipPosition,
|
|
1572
1587
|
offsetY: e.value.tooltipOffsetY,
|
|
1573
|
-
parent:
|
|
1574
|
-
content:
|
|
1588
|
+
parent: J.value,
|
|
1589
|
+
content: ae.value,
|
|
1575
1590
|
isFullscreen: Pe.value,
|
|
1576
1591
|
isCustom: f(Ne)(e.value.tooltipCustomFormat)
|
|
1577
1592
|
}, {
|
|
1578
1593
|
"tooltip-before": G(() => [
|
|
1579
|
-
M(o.$slots, "tooltip-before",
|
|
1594
|
+
M(o.$slots, "tooltip-before", ie(ue({ ...xe.value })), void 0, !0)
|
|
1580
1595
|
]),
|
|
1581
1596
|
"tooltip-after": G(() => [
|
|
1582
|
-
M(o.$slots, "tooltip-after",
|
|
1597
|
+
M(o.$slots, "tooltip-after", ie(ue({ ...xe.value })), void 0, !0)
|
|
1583
1598
|
]),
|
|
1584
1599
|
_: 3
|
|
1585
1600
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"])
|
|
1586
|
-
], 46,
|
|
1587
|
-
|
|
1601
|
+
], 46, ua)) : (a(), l("div", Tl, [
|
|
1602
|
+
ge(f(T), {
|
|
1588
1603
|
name: "circleCancel",
|
|
1589
1604
|
stroke: "red"
|
|
1590
1605
|
}),
|
|
1591
1606
|
s[8] || (s[8] = _("span", null, "Dataset is not processable", -1))
|
|
1592
1607
|
]));
|
|
1593
1608
|
}
|
|
1594
|
-
},
|
|
1609
|
+
}, Wl = /* @__PURE__ */ ea(Pl, [["__scopeId", "data-v-38c96f9a"]]);
|
|
1595
1610
|
export {
|
|
1596
|
-
|
|
1611
|
+
Wl as default
|
|
1597
1612
|
};
|