vue-data-ui 2.12.5 → 2.12.7-beta.0
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 +56 -1
- package/dist/{Arrow-CD7YT-M0.js → Arrow-CmqjRRUl.js} +1 -1
- package/dist/BaseDraggableDialog-BMlyvt7E.js +180 -0
- package/dist/{BaseIcon-CgSWwnK7.js → BaseIcon-CZdMutjs.js} +1 -1
- package/dist/{ColorPicker-w8R8Tqdv.js → ColorPicker-DvVKgyAl.js} +23 -24
- package/dist/{DataTable-CicthvOV.js → DataTable-Cv9CIz-a.js} +11 -11
- package/dist/{Legend-0UY0Mmli.js → Legend-DFunFf8i.js} +8 -8
- package/dist/NonSvgPenAndPaper-pVuHj6_A.js +467 -0
- package/dist/PackageVersion-CLY-udAA.js +10 -0
- package/dist/{PenAndPaper-DLsvRwoD.js → PenAndPaper-B9na2mbr.js} +8 -10
- package/dist/RecursiveCircles-Dn3TGoL6.js +96 -0
- package/dist/RecursiveLabels-NTMB9w5C.js +49 -0
- package/dist/RecursiveLinks-ld_gDZH4.js +64 -0
- package/dist/{Shape-DICeBEtN.js → Shape-D3w9qas1.js} +2 -2
- package/dist/{Slicer-D1nsbsWE.js → Slicer-ncY8krrM.js} +2 -2
- package/dist/SparkTooltip-CwThutH2.js +68 -0
- package/dist/{Title-xO1jFsSw.js → Title-B5qqUI3M.js} +2 -2
- package/dist/Tooltip-C9rxJ-Ru.js +149 -0
- package/dist/{usePrinter-CcgJXHIK.js → UserOptions-Ddy6CuLC.js} +172 -231
- package/dist/{dom-to-png-CS4NRYd_.js → dom-to-png-DDlooC9r.js} +1 -1
- package/dist/{img-CsXjm5I4.js → img-m9g7lR5d.js} +1 -1
- package/dist/{index-vjCxtaM0.js → index-BiHmNd1-.js} +153 -118
- package/dist/{pdf-DHexTTpK.js → pdf-BqM953uL.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +96 -2
- package/dist/types/vue-data-ui.d.ts +96 -2
- package/dist/useChartAccessibility-9icAAmYg.js +12 -0
- package/dist/useMouse-AicQS8Vf.js +13 -0
- package/dist/{useNestedProp-Du1hnYFA.js → useNestedProp-tRqS0ZAM.js} +1 -1
- package/dist/{usePanZoom-CUkkqW81.js → usePanZoom-BQMvRXEQ.js} +16 -17
- package/dist/usePrinter-CRCbl1WG.js +53 -0
- package/dist/vClickOutside-C6WiFswA.js +13 -0
- package/dist/{vue-data-ui-BOrA3Tc9.js → vue-data-ui-D9uTDt73.js} +63 -63
- package/dist/vue-data-ui.js +42 -40
- package/dist/{vue-ui-3d-bar-Z8yAd4bw.js → vue-ui-3d-bar-rtuSc8FS.js} +397 -402
- package/dist/{vue-ui-accordion-CAN430Oy.js → vue-ui-accordion-CmCs2yR2.js} +3 -3
- package/dist/{vue-ui-age-pyramid-C6PZU9Ez.js → vue-ui-age-pyramid-BrzMSiyu.js} +215 -218
- package/dist/{vue-ui-annotator-CqoDLx3t.js → vue-ui-annotator-CYxmTpf6.js} +2 -2
- package/dist/{vue-ui-bullet-DZC3aY3d.js → vue-ui-bullet-D25qNQfb.js} +137 -140
- package/dist/{vue-ui-candlestick-B5mq_lgW.js → vue-ui-candlestick-BuerNa-r.js} +265 -271
- package/dist/{vue-ui-carousel-table-CBwerU49.js → vue-ui-carousel-table-aN0HLsOO.js} +137 -137
- package/dist/{vue-ui-chestnut-COyOAY28.js → vue-ui-chestnut-oUj2ocsZ.js} +397 -400
- package/dist/{vue-ui-chord-Cw0F_jHM.js → vue-ui-chord-C4evlXYB.js} +356 -365
- package/dist/vue-ui-circle-pack-CWrNiKTY.js +656 -0
- package/dist/{vue-ui-cursor-CWXqmlVy.js → vue-ui-cursor-DgpSttlt.js} +2 -2
- package/dist/{vue-ui-dashboard-Ba2tF4md.js → vue-ui-dashboard-BN2ha1Eh.js} +62 -62
- package/dist/{vue-ui-digits-BV7yyUdY.js → vue-ui-digits-BhjAxXgm.js} +2 -2
- package/dist/vue-ui-donut-D3_z61HI.js +1291 -0
- package/dist/vue-ui-donut-evolution-oKtmZPx4.js +864 -0
- package/dist/{vue-ui-dumbbell-SDCcLJIc.js → vue-ui-dumbbell-C8Lokx-F.js} +265 -270
- package/dist/{vue-ui-flow-CrqGSDNK.js → vue-ui-flow-BVRkH0PS.js} +291 -300
- package/dist/{vue-ui-funnel-CcDOoxp8.js → vue-ui-funnel-DFxcmAB5.js} +216 -219
- package/dist/{vue-ui-galaxy-jlDp0DRJ.js → vue-ui-galaxy-CGE0hlBC.js} +227 -235
- package/dist/{vue-ui-gauge-8t8rWb1C.js → vue-ui-gauge-B48eMvOR.js} +240 -243
- package/dist/{vue-ui-gizmo-CFwdrMYP.js → vue-ui-gizmo-zTKNpjvv.js} +57 -58
- package/dist/{vue-ui-heatmap-BT-mIeZp.js → vue-ui-heatmap-UNfTt8SM.js} +239 -242
- package/dist/{vue-ui-history-plot-crLloc7J.js → vue-ui-history-plot-CbCWmvtg.js} +257 -262
- package/dist/{vue-ui-kpi-96v4ZIYo.js → vue-ui-kpi-Drf_lrlh.js} +29 -30
- package/dist/{vue-ui-mini-loader-rBHBxNIT.js → vue-ui-mini-loader-DU3G6BVs.js} +2 -2
- package/dist/vue-ui-molecule-B5MOXYEA.js +580 -0
- package/dist/{vue-ui-mood-radar-DrVSXIY4.js → vue-ui-mood-radar-CC_CVLvn.js} +180 -186
- package/dist/{vue-ui-nested-donuts-C9Ah9lgv.js → vue-ui-nested-donuts-D_H962kk.js} +366 -374
- package/dist/{vue-ui-onion-DwNPyn4X.js → vue-ui-onion-P8k6T724.js} +252 -258
- package/dist/{vue-ui-parallel-coordinate-plot-tSuK6xWu.js → vue-ui-parallel-coordinate-plot-B5Los0vX.js} +296 -303
- package/dist/{vue-ui-quadrant-C0Kaoo7K.js → vue-ui-quadrant-B3wzCTxK.js} +402 -409
- package/dist/{vue-ui-quick-chart-xMh_Ygct.js → vue-ui-quick-chart-oucj6hXk.js} +611 -616
- package/dist/{vue-ui-radar-C1jSDQt_.js → vue-ui-radar-Cjqlyu6d.js} +270 -277
- package/dist/{vue-ui-rating-6Kb7hsKF.js → vue-ui-rating-gryk_h_6.js} +2 -2
- package/dist/vue-ui-relation-circle-ielvWC-1.js +525 -0
- package/dist/{vue-ui-ridgeline-BBvPVQjC.js → vue-ui-ridgeline-Dydqo68b.js} +321 -326
- package/dist/{vue-ui-rings-B92cXv7f.js → vue-ui-rings-BRBXektJ.js} +262 -269
- package/dist/{vue-ui-scatter-Bt1aty87.js → vue-ui-scatter-Df-BM7Ts.js} +372 -379
- package/dist/{vue-ui-skeleton-DfOIDTJM.js → vue-ui-skeleton-CbYQYRvD.js} +19 -19
- package/dist/{vue-ui-smiley-sVgBnkbx.js → vue-ui-smiley-BfHaQMaW.js} +2 -2
- package/dist/{vue-ui-spark-trend-D6uzJ4Qd.js → vue-ui-spark-trend-z3fUChs_.js} +114 -117
- package/dist/{vue-ui-sparkbar-D4c2EE7J.js → vue-ui-sparkbar-ChtFIugH.js} +104 -106
- package/dist/{vue-ui-sparkgauge-DaQ6iz98.js → vue-ui-sparkgauge-DtpODCww.js} +72 -74
- package/dist/{vue-ui-sparkhistogram-D_YnmM2T.js → vue-ui-sparkhistogram-C3XnYiXI.js} +83 -86
- package/dist/vue-ui-sparkline-CoL8jiX8.js +459 -0
- package/dist/{vue-ui-sparkstackbar-DecnmqgJ.js → vue-ui-sparkstackbar-CYk3mZJH.js} +102 -105
- package/dist/{vue-ui-stackbar-D1eNs1j_.js → vue-ui-stackbar-D9LGbuG5.js} +433 -437
- package/dist/{vue-ui-strip-plot-iPZ8Hhmr.js → vue-ui-strip-plot-C5r1Ee2R.js} +245 -252
- package/dist/{vue-ui-table-BFjE28sw.js → vue-ui-table-DBaT_TfA.js} +3 -3
- package/dist/{vue-ui-table-heatmap-DipFDu39.js → vue-ui-table-heatmap-CYW4YfKN.js} +93 -94
- package/dist/{vue-ui-table-sparkline-CGAecOZh.js → vue-ui-table-sparkline-Di0MYR4p.js} +212 -212
- package/dist/{vue-ui-thermometer-Cx_yr-hs.js → vue-ui-thermometer-BF1btHY2.js} +154 -157
- package/dist/{vue-ui-timer-ClVmS8MH.js → vue-ui-timer-D9FfRWN5.js} +180 -181
- package/dist/vue-ui-tiremarks-CQ0lk8fJ.js +341 -0
- package/dist/vue-ui-treemap-1Lx7YRtc.js +947 -0
- package/dist/{vue-ui-vertical-bar-BHYCnFEN.js → vue-ui-vertical-bar-DdVVQ1ED.js} +397 -403
- package/dist/{vue-ui-waffle-DEPUbrOt.js → vue-ui-waffle-BhnuPiRD.js} +317 -324
- package/dist/vue-ui-wheel-BIjJ0fg8.js +335 -0
- package/dist/vue-ui-word-cloud-3-r8HwO_.js +642 -0
- package/dist/{vue-ui-world-DStJ5i0i.js → vue-ui-world-CPIGEswq.js} +430 -442
- package/dist/{vue-ui-xy-CEop49z6.js → vue-ui-xy-9e_epIN4.js} +845 -846
- package/dist/vue-ui-xy-canvas-DcGgQ7s4.js +1206 -0
- package/package.json +6 -6
- package/dist/BaseDraggableDialog-BjFEob7i.js +0 -186
- package/dist/PackageVersion-Cw2caN1c.js +0 -10
- package/dist/Tooltip-LKe8L-Mg.js +0 -158
- package/dist/useChartAccessibility-BWojgys7.js +0 -13
- package/dist/vue-ui-circle-pack-BtpaZLYs.js +0 -659
- package/dist/vue-ui-donut-CRdQFQgA.js +0 -1292
- package/dist/vue-ui-donut-evolution-De3-5OgR.js +0 -871
- package/dist/vue-ui-molecule-DSr_bHGG.js +0 -782
- package/dist/vue-ui-relation-circle-fh0Hl9m0.js +0 -528
- package/dist/vue-ui-sparkline-C2HuTMDz.js +0 -519
- package/dist/vue-ui-tiremarks-4Sa3RCSv.js +0 -344
- package/dist/vue-ui-treemap-CD5pPg7v.js +0 -956
- package/dist/vue-ui-wheel-qU0bgJsi.js +0 -338
- package/dist/vue-ui-word-cloud-z2ZguOdy.js +0 -648
- package/dist/vue-ui-xy-canvas-DV0BVdZb.js +0 -1673
|
@@ -1,144 +1,139 @@
|
|
|
1
|
-
import { ref as L, computed as
|
|
2
|
-
import { u as
|
|
3
|
-
import { t as
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import { u as
|
|
7
|
-
import { S as
|
|
8
|
-
import
|
|
9
|
-
import { u as rt } from "./useNestedProp-Du1hnYFA.js";
|
|
10
|
-
import { _ as qt } from "./PackageVersion-Cw2caN1c.js";
|
|
11
|
-
import { _ as Ht } from "./PenAndPaper-DLsvRwoD.js";
|
|
12
|
-
import { u as Wt } from "./useChartAccessibility-BWojgys7.js";
|
|
13
|
-
import { _ as jt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
1
|
+
import { defineAsyncComponent as de, ref as L, computed as U, watch as De, shallowRef as ct, onMounted as Et, onBeforeUnmount as Pt, nextTick as Re, createElementBlock as l, openBlock as a, normalizeStyle as R, normalizeClass as ce, createBlock as Me, createCommentVNode as g, createVNode as he, unref as f, createSlots as Ot, withCtx as G, renderSlot as M, normalizeProps as oe, guardReactiveProps as ne, toDisplayString as P, createElementVNode as _, Fragment as m, renderList as $, mergeProps as Ve } from "vue";
|
|
2
|
+
import { u as Tt, c as Rt, t as Mt, p as q, a as Nt, C as ht, b as Ft, H as Ut, e as Bt, d as qe, m as Dt, D as ft, X as Vt, j as qt, k as He, n as _e, i as X, f as D, U as gt, v as Z, x as Ne, y as We } from "./index-BiHmNd1-.js";
|
|
3
|
+
import { t as Ht, u as Wt } from "./useResponsive-JZ9xq-JV.js";
|
|
4
|
+
import { u as mt } from "./useNestedProp-tRqS0ZAM.js";
|
|
5
|
+
import { u as jt } from "./usePrinter-CRCbl1WG.js";
|
|
6
|
+
import { u as Gt } from "./useChartAccessibility-9icAAmYg.js";
|
|
7
|
+
import { S as Xt } from "./Slicer-ncY8krrM.js";
|
|
8
|
+
import { _ as Zt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
14
9
|
const A = {
|
|
15
10
|
LINE: "LINE",
|
|
16
11
|
BAR: "BAR",
|
|
17
12
|
DONUT: "DONUT"
|
|
18
|
-
},
|
|
19
|
-
function
|
|
20
|
-
let y = null,
|
|
21
|
-
if ((typeof c == "number" || typeof c == "string") && console.warn(`The provided dataset (${c}) is not sufficient to build a chart`),
|
|
22
|
-
if (!
|
|
13
|
+
}, Yt = ["SERIE", "SERIES", "DATA", "VALUE", "VALUES", "NUM"];
|
|
14
|
+
function Jt({ dataset: c, barLineSwitch: C = 6 }) {
|
|
15
|
+
let y = null, O = null, H = 0;
|
|
16
|
+
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, O = c, H = c.length), Fe(c))) {
|
|
17
|
+
if (!Kt(c))
|
|
23
18
|
return console.warn("The objects in the dataset array have a different data structure. Either keys or value types are different."), !1;
|
|
24
|
-
const
|
|
25
|
-
if (!
|
|
19
|
+
const me = Object.keys(c[0]), Le = Object.values(c[0]);
|
|
20
|
+
if (!me.some((N) => ea(N)))
|
|
26
21
|
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;
|
|
27
|
-
|
|
28
|
-
...
|
|
29
|
-
data:
|
|
30
|
-
}))), c = c.map((
|
|
22
|
+
pt(Le, (N) => typeof N == "number") && (y = A.DONUT, O = c), pt(Le, (N) => Array.isArray(N) && Y(N)) && (yt(c) > C ? y = A.LINE : y = A.BAR, H = yt(c), O = c.map((N) => ({
|
|
23
|
+
...N,
|
|
24
|
+
data: ta(N, (B) => Y(B))
|
|
25
|
+
}))), c = c.map((N) => xt(N)), O = O.map((N) => xt(N));
|
|
31
26
|
}
|
|
32
|
-
return
|
|
27
|
+
return ze(c) && [...new Set(c.flatMap((me) => Array.isArray(me)))][0], {
|
|
33
28
|
dataset: c,
|
|
34
29
|
type: y,
|
|
35
|
-
usableDataset:
|
|
36
|
-
maxSeriesLength:
|
|
30
|
+
usableDataset: O,
|
|
31
|
+
maxSeriesLength: H
|
|
37
32
|
};
|
|
38
33
|
}
|
|
39
|
-
function
|
|
40
|
-
return !c ||
|
|
34
|
+
function kt(c) {
|
|
35
|
+
return !c || ze(c) && !c.length;
|
|
41
36
|
}
|
|
42
|
-
function
|
|
37
|
+
function ze(c) {
|
|
43
38
|
return Array.isArray(c);
|
|
44
39
|
}
|
|
45
|
-
function
|
|
46
|
-
if (!
|
|
40
|
+
function Y(c) {
|
|
41
|
+
if (!ze(c) || kt(c)) return !1;
|
|
47
42
|
const C = c.map((y) => Number(y));
|
|
48
43
|
return ![...new Set(C.flatMap((y) => typeof y == "number" && !isNaN(y)))].includes(!1);
|
|
49
44
|
}
|
|
50
|
-
function
|
|
51
|
-
return !
|
|
45
|
+
function Fe(c) {
|
|
46
|
+
return !ze(c) || kt(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);
|
|
52
47
|
}
|
|
53
|
-
function
|
|
54
|
-
const y = Object.keys(c).sort(),
|
|
55
|
-
if (y.length !==
|
|
48
|
+
function Qt(c, C) {
|
|
49
|
+
const y = Object.keys(c).sort(), O = Object.keys(C).sort();
|
|
50
|
+
if (y.length !== O.length)
|
|
56
51
|
return !1;
|
|
57
|
-
for (let
|
|
58
|
-
const
|
|
59
|
-
if (
|
|
52
|
+
for (let H = 0; H < y.length; H += 1) {
|
|
53
|
+
const fe = y[H], ge = O[H];
|
|
54
|
+
if (fe !== ge || typeof c[fe] != typeof C[ge])
|
|
60
55
|
return !1;
|
|
61
56
|
}
|
|
62
57
|
return !0;
|
|
63
58
|
}
|
|
64
|
-
function
|
|
59
|
+
function Kt(c) {
|
|
65
60
|
if (c.length <= 1) return !0;
|
|
66
61
|
for (let C = 0; C < c.length; C += 1)
|
|
67
62
|
for (let y = C + 1; y < c.length; y += 1)
|
|
68
|
-
if (!
|
|
63
|
+
if (!Qt(c[C], c[y]))
|
|
69
64
|
return !1;
|
|
70
65
|
return !0;
|
|
71
66
|
}
|
|
72
|
-
function
|
|
73
|
-
return
|
|
67
|
+
function ea(c) {
|
|
68
|
+
return Yt.includes(c.toUpperCase());
|
|
74
69
|
}
|
|
75
|
-
function
|
|
70
|
+
function pt(c, C) {
|
|
76
71
|
let y = [];
|
|
77
|
-
for (let
|
|
78
|
-
y.push(C(c[
|
|
72
|
+
for (let O = 0; O < c.length; O += 1)
|
|
73
|
+
y.push(C(c[O]));
|
|
79
74
|
return y.includes(!0);
|
|
80
75
|
}
|
|
81
|
-
function
|
|
82
|
-
return Math.max(...[...c].flatMap((C) => Object.values(C).filter((y) =>
|
|
76
|
+
function yt(c) {
|
|
77
|
+
return Math.max(...[...c].flatMap((C) => Object.values(C).filter((y) => Y(y)).map((y) => y.length)));
|
|
83
78
|
}
|
|
84
|
-
function
|
|
79
|
+
function ta(c, C) {
|
|
85
80
|
return Object.values(c).filter((y) => C(y))[0];
|
|
86
81
|
}
|
|
87
|
-
function
|
|
82
|
+
function xt(c) {
|
|
88
83
|
const C = {};
|
|
89
84
|
for (let y in c)
|
|
90
85
|
c.hasOwnProperty(y) && (C[y.toUpperCase()] = c[y]);
|
|
91
86
|
return C;
|
|
92
87
|
}
|
|
93
|
-
const
|
|
88
|
+
const aa = ["id"], la = ["xmlns", "viewBox"], oa = ["x", "y", "width", "height"], na = ["x", "y", "width", "height"], ua = ["width", "height"], ia = ["id"], ra = ["id"], sa = ["id"], va = ["flood-color"], da = {
|
|
94
89
|
key: 0,
|
|
95
90
|
class: "donut-label-connectors"
|
|
96
|
-
},
|
|
91
|
+
}, ca = ["d", "stroke", "stroke-width", "filter"], ha = ["cx", "cy", "r", "fill", "filter"], fa = { class: "donut" }, ga = ["d", "fill", "stroke", "stroke-width", "filter"], ma = ["d", "onMouseenter", "onClick"], pa = {
|
|
97
92
|
key: 1,
|
|
98
93
|
class: "donut-labels quick-animation"
|
|
99
|
-
},
|
|
94
|
+
}, ya = ["cx", "cy", "fill", "stroke", "filter"], xa = ["text-anchor", "x", "y", "fill", "font-size", "filter"], ka = ["text-anchor", "x", "y", "fill", "font-size", "filter"], ba = {
|
|
100
95
|
key: 2,
|
|
101
96
|
class: "donut-hollow quick-animation"
|
|
102
|
-
},
|
|
97
|
+
}, Sa = ["x", "y", "font-size", "fill"], wa = ["x", "y", "font-size", "fill"], Aa = {
|
|
103
98
|
key: 0,
|
|
104
99
|
class: "line-grid"
|
|
105
|
-
},
|
|
100
|
+
}, _a = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], za = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], La = {
|
|
106
101
|
key: 1,
|
|
107
102
|
class: "line-axis"
|
|
108
|
-
},
|
|
103
|
+
}, $a = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ca = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ia = {
|
|
109
104
|
key: 2,
|
|
110
105
|
class: "yLabels"
|
|
111
|
-
},
|
|
106
|
+
}, Ea = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Pa = ["x", "y", "font-size", "fill"], Oa = {
|
|
112
107
|
key: 3,
|
|
113
108
|
class: "periodLabels"
|
|
114
|
-
},
|
|
109
|
+
}, Ta = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ra = ["font-size", "text-anchor", "fill", "transform"], Ma = { class: "plots" }, Na = { class: "line-plot-series" }, Fa = ["d", "stroke", "stroke-width"], Ua = ["d", "stroke", "stroke-width"], Ba = ["d", "stroke", "stroke-width"], Da = ["d", "stroke", "stroke-width"], Va = ["cx", "cy", "fill", "stroke"], qa = {
|
|
115
110
|
key: 4,
|
|
116
111
|
class: "dataLabels"
|
|
117
|
-
},
|
|
112
|
+
}, Ha = ["font-size", "fill", "x", "y"], Wa = { class: "tooltip-traps" }, ja = ["x", "y", "height", "width", "fill", "onMouseenter", "onClick"], Ga = {
|
|
118
113
|
key: 0,
|
|
119
114
|
class: "line-grid"
|
|
120
|
-
},
|
|
115
|
+
}, Xa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Za = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ya = {
|
|
121
116
|
key: 1,
|
|
122
117
|
class: "line-axis"
|
|
123
|
-
},
|
|
118
|
+
}, Ja = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Qa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ka = {
|
|
124
119
|
key: 2,
|
|
125
120
|
class: "yLabels"
|
|
126
|
-
},
|
|
121
|
+
}, el = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], tl = ["x", "y", "font-size", "fill"], al = {
|
|
127
122
|
key: 3,
|
|
128
123
|
class: "periodLabels"
|
|
129
|
-
},
|
|
124
|
+
}, ll = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ol = ["font-size", "text-anchor", "transform", "fill"], nl = { class: "plots" }, ul = ["x", "width", "height", "y", "fill", "stroke", "stroke-width"], il = ["to"], rl = ["from", "to"], sl = {
|
|
130
125
|
key: 4,
|
|
131
126
|
class: "dataLabels"
|
|
132
|
-
},
|
|
127
|
+
}, vl = ["x", "y", "font-size", "fill"], dl = { class: "tooltip-traps" }, cl = ["x", "y", "height", "width", "fill", "onMouseenter", "onClick"], hl = {
|
|
133
128
|
key: 6,
|
|
134
129
|
class: "axis-labels"
|
|
135
|
-
},
|
|
130
|
+
}, fl = { key: 0 }, gl = ["font-size", "fill", "x", "y"], ml = { key: 1 }, pl = ["font-size", "fill", "x", "y"], yl = { key: 2 }, xl = ["font-size", "fill", "transform"], kl = { key: 3 }, bl = ["font-size", "fill", "transform"], Sl = {
|
|
136
131
|
key: 6,
|
|
137
132
|
class: "vue-data-ui-watermark"
|
|
138
|
-
},
|
|
133
|
+
}, wl = ["onClick"], Al = ["onClick"], _l = ["onClick"], zl = {
|
|
139
134
|
key: 1,
|
|
140
135
|
class: "vue-ui-quick-chart-not-processable"
|
|
141
|
-
},
|
|
136
|
+
}, Ll = {
|
|
142
137
|
__name: "vue-ui-quick-chart",
|
|
143
138
|
props: {
|
|
144
139
|
config: {
|
|
@@ -156,34 +151,34 @@ const Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"]
|
|
|
156
151
|
},
|
|
157
152
|
emits: ["selectDatapoint", "selectLegend"],
|
|
158
153
|
setup(c, { expose: C, emit: y }) {
|
|
159
|
-
const { vue_ui_quick_chart:
|
|
160
|
-
get: () =>
|
|
154
|
+
const O = de(() => import("./BaseIcon-CZdMutjs.js")), H = de(() => import("./PackageVersion-CLY-udAA.js")), fe = de(() => import("./PenAndPaper-B9na2mbr.js")), ge = de(() => import("./vue-ui-skeleton-CbYQYRvD.js")), me = de(() => import("./Tooltip-C9rxJ-Ru.js")), Le = de(() => import("./UserOptions-Ddy6CuLC.js")), { vue_ui_quick_chart: N } = Tt(), B = c, pe = L(null), je = L(null), Ge = L(null), Xe = L(null), J = L(Rt()), K = L(!1), ye = L(null), ee = L(""), W = L(null), Ze = L(null), Ye = L(null), w = L([]), Je = L(0), $e = L(0), e = U({
|
|
155
|
+
get: () => tt(),
|
|
161
156
|
set: (o) => o
|
|
162
|
-
}), { svgRef:
|
|
163
|
-
function
|
|
164
|
-
|
|
157
|
+
}), { svgRef: Qe } = Gt({ config: { text: e.value.title } }), bt = U(() => e.value.showUserOptionsOnChartHover), Ke = U(() => e.value.keepUserOptionsStateOnChartLeave), Ce = L(!e.value.showUserOptionsOnChartHover);
|
|
158
|
+
function et(o = !1) {
|
|
159
|
+
bt.value && (Ce.value = o);
|
|
165
160
|
}
|
|
166
|
-
function
|
|
167
|
-
const o =
|
|
168
|
-
userConfig:
|
|
169
|
-
defaultConfig:
|
|
161
|
+
function tt() {
|
|
162
|
+
const o = mt({
|
|
163
|
+
userConfig: B.config,
|
|
164
|
+
defaultConfig: N
|
|
170
165
|
});
|
|
171
166
|
let s = {};
|
|
172
167
|
return o.theme ? s = {
|
|
173
|
-
...
|
|
174
|
-
userConfig:
|
|
168
|
+
...mt({
|
|
169
|
+
userConfig: Nt.vue_ui_quick_chart[o.theme] || B.config,
|
|
175
170
|
defaultConfig: o
|
|
176
171
|
}),
|
|
177
|
-
customPalette:
|
|
178
|
-
} : s = o,
|
|
172
|
+
customPalette: Mt[o.theme] || q
|
|
173
|
+
} : s = o, B.config && ht(B.config, "zoomStartIndex") ? s.zoomStartIndex = B.config.zoomStartIndex : s.zoomStartIndex = null, B.config && ht(B.config, "zoomEndIndex") ? s.zoomEndIndex = B.config.zoomEndIndex : s.zoomEndIndex = null, s;
|
|
179
174
|
}
|
|
180
|
-
|
|
181
|
-
e.value =
|
|
182
|
-
}, { deep: !0 }),
|
|
183
|
-
x.value =
|
|
175
|
+
De(() => B.config, (o) => {
|
|
176
|
+
e.value = tt(), b.value.width = e.value.width, b.value.height = e.value.height, Ce.value = !e.value.showUserOptionsOnChartHover, ot(), be.value.showTooltip = e.value.showTooltip;
|
|
177
|
+
}, { deep: !0 }), De(() => B.dataset, (o) => {
|
|
178
|
+
x.value = ke.value, p.value.start = 0, p.value.end = x.value.maxSeriesLength, $e.value += 1;
|
|
184
179
|
}, { deep: !0 });
|
|
185
|
-
const
|
|
186
|
-
const o =
|
|
180
|
+
const xe = U(() => Ft(e.value.customPalette)), ue = y, ke = U(() => {
|
|
181
|
+
const o = Jt({ dataset: Ut(B.dataset, [
|
|
187
182
|
"serie",
|
|
188
183
|
"series",
|
|
189
184
|
"data",
|
|
@@ -192,49 +187,49 @@ const Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"]
|
|
|
192
187
|
"num"
|
|
193
188
|
]), barLineSwitch: e.value.chartIsBarUnderDatasetLength });
|
|
194
189
|
return o || console.error("VueUiQuickChart : Dataset is not processable"), o;
|
|
195
|
-
}), x = L(
|
|
196
|
-
|
|
197
|
-
o ||
|
|
190
|
+
}), x = L(ke.value), St = U(() => !!x.value), z = U(() => x.value ? x.value.type : null);
|
|
191
|
+
De(() => z.value, (o) => {
|
|
192
|
+
o || Bt({
|
|
198
193
|
componentName: "VueUiQuickChart",
|
|
199
194
|
type: "dataset"
|
|
200
195
|
});
|
|
201
196
|
}, { immediate: !0 });
|
|
202
|
-
const { isPrinting:
|
|
203
|
-
elementId: `${z.value}_${
|
|
197
|
+
const { isPrinting: Ie, isImaging: Ee, generatePdf: at, generateImage: lt } = jt({
|
|
198
|
+
elementId: `${z.value}_${J.value}`,
|
|
204
199
|
fileName: e.value.title || z.value,
|
|
205
200
|
options: e.value.userOptionsPrint
|
|
206
|
-
}),
|
|
201
|
+
}), wt = U(() => e.value.showUserOptions && !e.value.title), b = L({
|
|
207
202
|
width: e.value.width,
|
|
208
203
|
height: e.value.height
|
|
209
|
-
}),
|
|
204
|
+
}), be = L({
|
|
210
205
|
showTooltip: e.value.showTooltip
|
|
211
|
-
}),
|
|
212
|
-
|
|
213
|
-
|
|
206
|
+
}), Q = ct(null), ie = ct(null);
|
|
207
|
+
Et(() => {
|
|
208
|
+
ot();
|
|
214
209
|
});
|
|
215
|
-
function
|
|
210
|
+
function ot() {
|
|
216
211
|
if (e.value.responsive) {
|
|
217
|
-
const o =
|
|
218
|
-
const { width: s, height: t } =
|
|
219
|
-
chart:
|
|
220
|
-
title: e.value.title ?
|
|
221
|
-
legend: e.value.showLegend ?
|
|
222
|
-
slicer: [A.BAR, A.LINE].includes(z.value) && e.value.zoomXy && x.value.maxSeriesLength > 1 ?
|
|
223
|
-
source:
|
|
224
|
-
noTitle:
|
|
212
|
+
const o = Ht(() => {
|
|
213
|
+
const { width: s, height: t } = Wt({
|
|
214
|
+
chart: pe.value,
|
|
215
|
+
title: e.value.title ? je.value : null,
|
|
216
|
+
legend: e.value.showLegend ? Ge.value : null,
|
|
217
|
+
slicer: [A.BAR, A.LINE].includes(z.value) && e.value.zoomXy && x.value.maxSeriesLength > 1 ? Xe.value : null,
|
|
218
|
+
source: Ze.value,
|
|
219
|
+
noTitle: Ye.value
|
|
225
220
|
});
|
|
226
221
|
requestAnimationFrame(() => {
|
|
227
222
|
b.value.width = s, b.value.height = t;
|
|
228
223
|
});
|
|
229
224
|
});
|
|
230
|
-
|
|
225
|
+
Q.value && (ie.value && Q.value.unobserve(ie.value), Q.value.disconnect()), Q.value = new ResizeObserver(o), ie.value = pe.value.parentNode, Q.value.observe(ie.value);
|
|
231
226
|
}
|
|
232
|
-
|
|
227
|
+
vt();
|
|
233
228
|
}
|
|
234
|
-
|
|
235
|
-
|
|
229
|
+
Pt(() => {
|
|
230
|
+
Q.value && (ie.value && Q.value.unobserve(ie.value), Q.value.disconnect());
|
|
236
231
|
});
|
|
237
|
-
const
|
|
232
|
+
const At = U(() => {
|
|
238
233
|
switch (z.value) {
|
|
239
234
|
case A.LINE:
|
|
240
235
|
return `0 0 ${b.value.width <= 0 ? 10 : b.value.width} ${b.value.height <= 0 ? 10 : b.value.height}`;
|
|
@@ -246,79 +241,79 @@ const Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"]
|
|
|
246
241
|
return `0 0 ${b.value.width <= 0 ? 10 : b.value.width} ${b.value.height <= 0 ? 10 : b.value.height}`;
|
|
247
242
|
}
|
|
248
243
|
});
|
|
249
|
-
function
|
|
244
|
+
function nt(o) {
|
|
250
245
|
return [...o].map((s) => s.value).reduce((s, t) => s + t, 0);
|
|
251
246
|
}
|
|
252
|
-
function
|
|
253
|
-
return e.value.blurOnHover && ![null, void 0].includes(
|
|
247
|
+
function Se(o) {
|
|
248
|
+
return e.value.blurOnHover && ![null, void 0].includes(W.value) && W.value !== o ? `url(#blur_${J.value})` : "";
|
|
254
249
|
}
|
|
255
|
-
function
|
|
250
|
+
function ut(o, s) {
|
|
256
251
|
w.value.includes(o) ? w.value = w.value.filter((t) => t !== o) : w.value.length < s && w.value.push(o);
|
|
257
252
|
}
|
|
258
|
-
const
|
|
259
|
-
function
|
|
260
|
-
|
|
253
|
+
const it = L(null), rt = L(null), Pe = L(!1);
|
|
254
|
+
function _t(o, s) {
|
|
255
|
+
Pe.value = !0;
|
|
261
256
|
let t = o.value;
|
|
262
|
-
const
|
|
257
|
+
const i = ke.value.dataset.find((r, h) => o.id === `donut_${h}`).VALUE;
|
|
263
258
|
if (w.value.includes(o.id)) {
|
|
264
259
|
let r = function() {
|
|
265
|
-
t >
|
|
260
|
+
t > i ? (Pe.value = !1, cancelAnimationFrame(rt.value), x.value = {
|
|
266
261
|
...x.value,
|
|
267
|
-
dataset: x.value.dataset.map((h,
|
|
262
|
+
dataset: x.value.dataset.map((h, T) => o.id === `donut_${T}` ? {
|
|
268
263
|
...h,
|
|
269
|
-
value:
|
|
270
|
-
VALUE:
|
|
264
|
+
value: i,
|
|
265
|
+
VALUE: i
|
|
271
266
|
} : h)
|
|
272
|
-
}) : (t +=
|
|
267
|
+
}) : (t += i * 0.025, x.value = {
|
|
273
268
|
...x.value,
|
|
274
|
-
dataset: x.value.dataset.map((h,
|
|
269
|
+
dataset: x.value.dataset.map((h, T) => o.id === `donut_${T}` ? {
|
|
275
270
|
...h,
|
|
276
271
|
value: t,
|
|
277
272
|
VALUE: t
|
|
278
273
|
} : h)
|
|
279
|
-
},
|
|
274
|
+
}, rt.value = requestAnimationFrame(r));
|
|
280
275
|
};
|
|
281
276
|
w.value = w.value.filter((h) => h !== o.id), r();
|
|
282
277
|
} else if (s.length > 1) {
|
|
283
278
|
let r = function() {
|
|
284
|
-
t <
|
|
279
|
+
t < i / 100 ? (Pe.value = !1, cancelAnimationFrame(it.value), w.value.push(o.id), x.value = {
|
|
285
280
|
...x.value,
|
|
286
|
-
dataset: x.value.dataset.map((h,
|
|
281
|
+
dataset: x.value.dataset.map((h, T) => o.id === `donut_${T}` ? {
|
|
287
282
|
...h,
|
|
288
283
|
value: 0,
|
|
289
284
|
VALUE: 0
|
|
290
285
|
} : h)
|
|
291
286
|
}) : (t /= 1.1, x.value = {
|
|
292
287
|
...x.value,
|
|
293
|
-
dataset: x.value.dataset.map((h,
|
|
288
|
+
dataset: x.value.dataset.map((h, T) => o.id === `donut_${T}` ? {
|
|
294
289
|
...h,
|
|
295
290
|
value: t,
|
|
296
291
|
VALUE: t
|
|
297
292
|
} : h)
|
|
298
|
-
},
|
|
293
|
+
}, it.value = requestAnimationFrame(r));
|
|
299
294
|
};
|
|
300
295
|
r();
|
|
301
296
|
}
|
|
302
297
|
}
|
|
303
|
-
const
|
|
304
|
-
function
|
|
305
|
-
|
|
298
|
+
const j = L(null);
|
|
299
|
+
function zt(o) {
|
|
300
|
+
j.value = o;
|
|
306
301
|
}
|
|
307
|
-
const
|
|
302
|
+
const st = U(() => e.value.donutThicknessRatio < 0.15 ? 0.15 : e.value.donutThicknessRatio > 0.4 ? 0.4 : e.value.donutThicknessRatio), I = U(() => {
|
|
308
303
|
if (z.value !== A.DONUT) return null;
|
|
309
|
-
const o = x.value.dataset.map((n,
|
|
304
|
+
const o = x.value.dataset.map((n, u) => ({
|
|
310
305
|
...n,
|
|
311
306
|
value: n.VALUE || n.DATA || n.SERIE || n.VALUES || n.NUM || 0,
|
|
312
|
-
name: n.NAME || n.DESCRIPTION || n.TITLE || n.LABEL || `Serie ${
|
|
313
|
-
id: `donut_${
|
|
314
|
-
})).map((n,
|
|
307
|
+
name: n.NAME || n.DESCRIPTION || n.TITLE || n.LABEL || `Serie ${u}`,
|
|
308
|
+
id: `donut_${u}`
|
|
309
|
+
})).map((n, u) => ({
|
|
315
310
|
...n,
|
|
316
|
-
color: n.COLOR ?
|
|
311
|
+
color: n.COLOR ? qe(n.COLOR) : xe.value[u + e.value.paletteStartIndex] || q[u + e.value.paletteStartIndex] || q[(u + e.value.paletteStartIndex) % q.length],
|
|
317
312
|
immutableValue: n.value
|
|
318
313
|
}));
|
|
319
|
-
function s(n,
|
|
314
|
+
function s(n, u) {
|
|
320
315
|
return D({
|
|
321
|
-
v: isNaN(n.value /
|
|
316
|
+
v: isNaN(n.value / nt(u)) ? 0 : n.value / nt(u) * 100,
|
|
322
317
|
s: "%",
|
|
323
318
|
r: e.value.dataLabelRoundingPercentage
|
|
324
319
|
});
|
|
@@ -326,28 +321,28 @@ const Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"]
|
|
|
326
321
|
function t(n) {
|
|
327
322
|
return n.proportion * 100 > e.value.donutHideLabelUnderPercentage;
|
|
328
323
|
}
|
|
329
|
-
function
|
|
330
|
-
const S =
|
|
331
|
-
return Math.abs(String(Number(S.toFixed(0))).length - String(Number(
|
|
324
|
+
function i(n, u) {
|
|
325
|
+
const S = ke.value.dataset.find((E, F) => `donut_${F}` === n).VALUE;
|
|
326
|
+
return Math.abs(String(Number(S.toFixed(0))).length - String(Number(u.toFixed(0))).length);
|
|
332
327
|
}
|
|
333
|
-
function r({ datapoint: n, seriesIndex:
|
|
334
|
-
|
|
328
|
+
function r({ datapoint: n, seriesIndex: u }) {
|
|
329
|
+
ye.value = { datapoint: n, seriesIndex: u, config: e.value, dataset: o }, W.value = n.id;
|
|
335
330
|
const S = e.value.tooltipCustomFormat;
|
|
336
|
-
if (
|
|
331
|
+
if (Ne(S) && We(() => S({
|
|
337
332
|
datapoint: n,
|
|
338
|
-
seriesIndex:
|
|
333
|
+
seriesIndex: u,
|
|
339
334
|
series: o,
|
|
340
335
|
config: e.value
|
|
341
336
|
})))
|
|
342
|
-
|
|
337
|
+
ee.value = S({
|
|
343
338
|
datapoint: n,
|
|
344
|
-
seriesIndex:
|
|
339
|
+
seriesIndex: u,
|
|
345
340
|
series: o,
|
|
346
341
|
config: e.value
|
|
347
342
|
});
|
|
348
343
|
else {
|
|
349
344
|
let k = "";
|
|
350
|
-
k += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.tooltipBorderColor};padding-bottom:6px;margin-bottom:3px;">${n.name}</div>`, k += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${n.color}"/></svg>`, k += `<b>${
|
|
345
|
+
k += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.tooltipBorderColor};padding-bottom:6px;margin-bottom:3px;">${n.name}</div>`, k += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${n.color}"/></svg>`, k += `<b>${X(
|
|
351
346
|
e.value.formatter,
|
|
352
347
|
n.value,
|
|
353
348
|
D({
|
|
@@ -356,85 +351,85 @@ const Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"]
|
|
|
356
351
|
s: e.value.valueSuffix,
|
|
357
352
|
r: e.value.dataLabelRoundingValue
|
|
358
353
|
}),
|
|
359
|
-
{ datapoint: n, seriesIndex:
|
|
360
|
-
)}</b>`, k += `<span>(${D({ v: n.proportion * 100, s: "%", r: e.value.dataLabelRoundingPercentage })})</span></div>`,
|
|
354
|
+
{ datapoint: n, seriesIndex: u }
|
|
355
|
+
)}</b>`, k += `<span>(${D({ v: n.proportion * 100, s: "%", r: e.value.dataLabelRoundingPercentage })})</span></div>`, ee.value = `<div>${k}</div>`;
|
|
361
356
|
}
|
|
362
|
-
|
|
357
|
+
K.value = !0;
|
|
363
358
|
}
|
|
364
359
|
function h() {
|
|
365
|
-
|
|
360
|
+
K.value = !1, W.value = null, j.value = null;
|
|
366
361
|
}
|
|
367
|
-
const
|
|
362
|
+
const T = {
|
|
368
363
|
centerX: b.value.width / 2,
|
|
369
364
|
centerY: b.value.height / 2
|
|
370
|
-
}, V = o.filter((n) => !w.value.includes(n.id)).map((n) => n.value || 0).reduce((n,
|
|
365
|
+
}, V = o.filter((n) => !w.value.includes(n.id)).map((n) => n.value || 0).reduce((n, u) => n + u, 0), se = o.map((n, u) => ({
|
|
371
366
|
...n,
|
|
372
367
|
proportion: (n.value || 0) / V,
|
|
373
368
|
value: n.value || 0,
|
|
374
|
-
absoluteValue:
|
|
375
|
-
})),
|
|
369
|
+
absoluteValue: ke.value.dataset.find((S, k) => `donut_${k}` === n.id).VALUE
|
|
370
|
+
})), te = b.value.width / 2, ve = b.value.height / 2, ae = b.value.height * e.value.donutRadiusRatio;
|
|
376
371
|
return {
|
|
377
|
-
dataset:
|
|
378
|
-
legend:
|
|
379
|
-
drawingArea:
|
|
372
|
+
dataset: se.filter((n) => !w.value.includes(n.id)),
|
|
373
|
+
legend: se,
|
|
374
|
+
drawingArea: T,
|
|
380
375
|
displayArcPercentage: s,
|
|
381
376
|
isArcBigEnough: t,
|
|
382
377
|
useTooltip: r,
|
|
383
378
|
killTooltip: h,
|
|
384
|
-
getSpaces:
|
|
379
|
+
getSpaces: i,
|
|
385
380
|
total: V,
|
|
386
|
-
cx:
|
|
387
|
-
cy:
|
|
388
|
-
radius:
|
|
389
|
-
chart:
|
|
381
|
+
cx: te,
|
|
382
|
+
cy: ve,
|
|
383
|
+
radius: ae,
|
|
384
|
+
chart: Dt(
|
|
390
385
|
{ series: o.filter((n) => !w.value.includes(n.id)) },
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
386
|
+
te,
|
|
387
|
+
ve,
|
|
388
|
+
ae,
|
|
389
|
+
ae,
|
|
395
390
|
1.99999,
|
|
396
391
|
2,
|
|
397
392
|
1,
|
|
398
393
|
360,
|
|
399
394
|
105.25,
|
|
400
|
-
b.value.height *
|
|
395
|
+
b.value.height * st.value
|
|
401
396
|
)
|
|
402
397
|
};
|
|
403
398
|
}), p = L({
|
|
404
399
|
start: 0,
|
|
405
400
|
end: x.value.maxSeriesLength
|
|
406
401
|
});
|
|
407
|
-
function
|
|
408
|
-
|
|
402
|
+
function Lt() {
|
|
403
|
+
vt();
|
|
409
404
|
}
|
|
410
|
-
const
|
|
411
|
-
async function
|
|
412
|
-
(e.value.zoomStartIndex !== null || e.value.zoomEndIndex !== null) &&
|
|
405
|
+
const re = L(null);
|
|
406
|
+
async function vt() {
|
|
407
|
+
(e.value.zoomStartIndex !== null || e.value.zoomEndIndex !== null) && re.value ? (e.value.zoomStartIndex !== null && (await Re(), await Re(), re.value && re.value.setStartValue(e.value.zoomStartIndex)), e.value.zoomEndIndex !== null && (await Re(), await Re(), re.value && re.value.setEndValue($t(e.value.zoomEndIndex + 1)))) : (p.value = {
|
|
413
408
|
start: 0,
|
|
414
409
|
end: x.value.maxSeriesLength
|
|
415
|
-
},
|
|
410
|
+
}, $e.value += 1);
|
|
416
411
|
}
|
|
417
|
-
function
|
|
412
|
+
function $t(o) {
|
|
418
413
|
const s = x.value.maxSeriesLength;
|
|
419
414
|
return o > s ? s : o < 0 || e.value.zoomStartIndex !== null && o < e.value.zoomStartIndex ? e.value.zoomStartIndex !== null ? e.value.zoomStartIndex + 1 : 1 : o;
|
|
420
415
|
}
|
|
421
|
-
const
|
|
416
|
+
const Ct = U(() => {
|
|
422
417
|
if (!e.value.zoomMinimap.show || z.value === A.DONUT) return [];
|
|
423
418
|
let o = [];
|
|
424
|
-
|
|
419
|
+
Y(x.value.dataset) && (o = x.value.dataset), Fe(x.value.dataset) && (o = x.value.dataset.map((r, h) => ({
|
|
425
420
|
values: r.VALUE || r.DATA || r.SERIE || r.SERIES || r.VALUES || r.NUM || 0,
|
|
426
421
|
id: z.value === A.LINE ? `line_${h}` : `bar_${h}`
|
|
427
422
|
})).filter((r) => !w.value.includes(r.id)));
|
|
428
|
-
const s =
|
|
423
|
+
const s = Y(o) ? o.length : Math.max(...o.map((r) => r.values.length));
|
|
429
424
|
let t = [];
|
|
430
|
-
if (
|
|
425
|
+
if (Y(o))
|
|
431
426
|
t = o;
|
|
432
427
|
else
|
|
433
428
|
for (let r = 0; r < s; r += 1)
|
|
434
|
-
t.push(o.map((h) => h.values[r] || 0).reduce((h,
|
|
435
|
-
const
|
|
436
|
-
return t.map((r) => r + (
|
|
437
|
-
}), d =
|
|
429
|
+
t.push(o.map((h) => h.values[r] || 0).reduce((h, T) => (h || 0) + (T || 0), 0));
|
|
430
|
+
const i = Math.min(...t);
|
|
431
|
+
return t.map((r) => r + (i < 0 ? Math.abs(i) : 0));
|
|
432
|
+
}), d = U(() => {
|
|
438
433
|
if (z.value !== A.LINE) return null;
|
|
439
434
|
const o = {
|
|
440
435
|
height: b.value.height,
|
|
@@ -448,34 +443,34 @@ const Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"]
|
|
|
448
443
|
height: o.height - e.value.xyPaddingTop - e.value.xyPaddingBottom
|
|
449
444
|
};
|
|
450
445
|
let t = [];
|
|
451
|
-
|
|
446
|
+
Y(x.value.dataset) && (t = [
|
|
452
447
|
{
|
|
453
448
|
values: x.value.dataset.slice(p.value.start, p.value.end),
|
|
454
|
-
absoluteIndices: x.value.dataset.map((n,
|
|
449
|
+
absoluteIndices: x.value.dataset.map((n, u) => u).slice(p.value.start, p.value.end),
|
|
455
450
|
name: e.value.title,
|
|
456
|
-
color:
|
|
451
|
+
color: xe.value[e.value.paletteStartIndex] || q[e.value.paletteStartIndex],
|
|
457
452
|
id: "line_0"
|
|
458
453
|
}
|
|
459
|
-
]),
|
|
454
|
+
]), Fe(x.value.dataset) && (t = x.value.dataset.map((n, u) => ({
|
|
460
455
|
...n,
|
|
461
456
|
values: n.VALUE || n.DATA || n.SERIE || n.SERIES || n.VALUES || n.NUM || 0,
|
|
462
|
-
name: n.NAME || n.DESCRIPTION || n.TITLE || n.LABEL || `Serie ${
|
|
463
|
-
id: `line_${
|
|
464
|
-
})).map((n,
|
|
457
|
+
name: n.NAME || n.DESCRIPTION || n.TITLE || n.LABEL || `Serie ${u}`,
|
|
458
|
+
id: `line_${u}`
|
|
459
|
+
})).map((n, u) => ({
|
|
465
460
|
...n,
|
|
466
|
-
color: n.COLOR ?
|
|
461
|
+
color: n.COLOR ? qe(n.COLOR) : xe.value[u + e.value.paletteStartIndex] || q[u + e.value.paletteStartIndex] || q[(u + e.value.paletteStartIndex) % q.length],
|
|
467
462
|
values: n.values.slice(p.value.start, p.value.end),
|
|
468
463
|
absoluteIndices: n.values.map((S, k) => k).slice(p.value.start, p.value.end)
|
|
469
464
|
})));
|
|
470
|
-
const
|
|
465
|
+
const i = {
|
|
471
466
|
max: Math.max(...t.filter((n) => !w.value.includes(n.id)).flatMap((n) => n.values)),
|
|
472
467
|
min: Math.min(...t.filter((n) => !w.value.includes(n.id)).flatMap((n) => n.values)),
|
|
473
468
|
maxSeries: Math.max(...t.map((n) => n.values.length))
|
|
474
|
-
}, r =
|
|
469
|
+
}, r = ft(i.min < 0 ? i.min : 0, i.max < 0 ? 0 : i.max, e.value.xyScaleSegments), h = i.min < 0 ? Math.abs(i.min) : 0, T = i.max < 0 ? s.top : s.bottom - h / (r.max + h) * s.height, V = s.width / i.maxSeries, se = r.ticks.map((n) => ({
|
|
475
470
|
y: s.bottom - s.height * ((n + h) / (r.max + h)),
|
|
476
471
|
x: s.left - 8,
|
|
477
472
|
value: n
|
|
478
|
-
})),
|
|
473
|
+
})), te = t.map((n, u) => ({
|
|
479
474
|
...n,
|
|
480
475
|
coordinates: n.values.map((S, k) => ({
|
|
481
476
|
x: s.left + V * (k + 1) - V / 2,
|
|
@@ -483,75 +478,75 @@ const Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"]
|
|
|
483
478
|
value: S
|
|
484
479
|
}))
|
|
485
480
|
})).map((n) => {
|
|
486
|
-
let
|
|
481
|
+
let u = [];
|
|
487
482
|
return n.coordinates.forEach((S) => {
|
|
488
|
-
|
|
483
|
+
u.push(`${S.x},${S.y} `);
|
|
489
484
|
}), {
|
|
490
485
|
...n,
|
|
491
|
-
linePath:
|
|
486
|
+
linePath: u.join(" ")
|
|
492
487
|
};
|
|
493
488
|
});
|
|
494
|
-
function
|
|
495
|
-
|
|
496
|
-
const
|
|
489
|
+
function ve(n) {
|
|
490
|
+
W.value = n, j.value = n;
|
|
491
|
+
const u = t.map((k) => ({
|
|
497
492
|
...k,
|
|
498
493
|
value: k.values[n],
|
|
499
494
|
absoluteIndex: k.absoluteIndices[n]
|
|
500
495
|
})).filter((k) => !w.value.includes(k.id));
|
|
501
|
-
|
|
496
|
+
ye.value = { datapoint: u, seriesIndex: n, config: e.value, dataset: t };
|
|
502
497
|
const S = e.value.tooltipCustomFormat;
|
|
503
|
-
if (
|
|
504
|
-
datapoint:
|
|
498
|
+
if (Ne(S) && We(() => S({
|
|
499
|
+
datapoint: u,
|
|
505
500
|
seriesIndex: n,
|
|
506
501
|
series: t,
|
|
507
502
|
config: e.value
|
|
508
503
|
})))
|
|
509
|
-
|
|
510
|
-
datapoint:
|
|
504
|
+
ee.value = S({
|
|
505
|
+
datapoint: u,
|
|
511
506
|
seriesIndex: n,
|
|
512
507
|
series: t,
|
|
513
508
|
config: e.value
|
|
514
509
|
});
|
|
515
510
|
else {
|
|
516
511
|
let k = "";
|
|
517
|
-
e.value.xyPeriods[
|
|
512
|
+
e.value.xyPeriods[u[0].absoluteIndex] && (k += `<div style="border-bottom:1px solid ${e.value.tooltipBorderColor};padding-bottom:6px;margin-bottom:3px;">${e.value.xyPeriods[u[0].absoluteIndex]}</div>`), u.forEach((E, F) => {
|
|
518
513
|
k += `
|
|
519
514
|
<div style="display:flex; flex-wrap: wrap; align-items:center; gap:3px;">
|
|
520
|
-
<svg viewBox="0 0 12 12" height="14" width="12"><circle cx="6" cy="6" r="6" stroke="none" fill="${
|
|
521
|
-
<span>${
|
|
522
|
-
<b>${
|
|
515
|
+
<svg viewBox="0 0 12 12" height="14" width="12"><circle cx="6" cy="6" r="6" stroke="none" fill="${E.color}"/></svg>
|
|
516
|
+
<span>${E.name}:</span>
|
|
517
|
+
<b>${X(
|
|
523
518
|
e.value.formatter,
|
|
524
|
-
|
|
519
|
+
E.value,
|
|
525
520
|
D({
|
|
526
521
|
p: e.value.valuePrefix,
|
|
527
|
-
v:
|
|
522
|
+
v: E.value,
|
|
528
523
|
s: e.value.valueSuffix,
|
|
529
524
|
r: e.value.dataLabelRoundingValue
|
|
530
525
|
}),
|
|
531
|
-
{ datapoint:
|
|
526
|
+
{ datapoint: E, seriesIndex: F }
|
|
532
527
|
)}
|
|
533
528
|
</b>
|
|
534
529
|
</div>
|
|
535
530
|
`;
|
|
536
|
-
}),
|
|
531
|
+
}), ee.value = k;
|
|
537
532
|
}
|
|
538
|
-
|
|
533
|
+
K.value = !0;
|
|
539
534
|
}
|
|
540
|
-
function
|
|
541
|
-
|
|
535
|
+
function ae() {
|
|
536
|
+
W.value = null, j.value = null, K.value = !1;
|
|
542
537
|
}
|
|
543
538
|
return {
|
|
544
|
-
absoluteZero:
|
|
545
|
-
dataset:
|
|
546
|
-
legend:
|
|
539
|
+
absoluteZero: T,
|
|
540
|
+
dataset: te.filter((n) => !w.value.includes(n.id)),
|
|
541
|
+
legend: te,
|
|
547
542
|
drawingArea: s,
|
|
548
|
-
extremes:
|
|
543
|
+
extremes: i,
|
|
549
544
|
slotSize: V,
|
|
550
|
-
yLabels:
|
|
551
|
-
useTooltip:
|
|
552
|
-
killTooltip:
|
|
545
|
+
yLabels: se,
|
|
546
|
+
useTooltip: ve,
|
|
547
|
+
killTooltip: ae
|
|
553
548
|
};
|
|
554
|
-
}), v =
|
|
549
|
+
}), v = U(() => {
|
|
555
550
|
if (z.value !== A.BAR) return null;
|
|
556
551
|
const o = {
|
|
557
552
|
height: b.value.height,
|
|
@@ -565,247 +560,247 @@ const Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"]
|
|
|
565
560
|
height: o.height - e.value.xyPaddingTop - e.value.xyPaddingBottom
|
|
566
561
|
};
|
|
567
562
|
let t = [];
|
|
568
|
-
|
|
563
|
+
Y(x.value.dataset) && (t = [
|
|
569
564
|
{
|
|
570
565
|
values: x.value.dataset.slice(p.value.start, p.value.end),
|
|
571
|
-
absoluteIndices: x.value.dataset.map((
|
|
566
|
+
absoluteIndices: x.value.dataset.map((u, S) => S).slice(p.value.start, p.value.end),
|
|
572
567
|
name: e.value.title,
|
|
573
|
-
color:
|
|
568
|
+
color: xe.value[e.value.paletteStartIndex] || q[e.value.paletteStartIndex],
|
|
574
569
|
id: "bar_0"
|
|
575
570
|
}
|
|
576
|
-
]),
|
|
577
|
-
...
|
|
578
|
-
values:
|
|
579
|
-
name:
|
|
571
|
+
]), Fe(x.value.dataset) && (t = x.value.dataset.map((u, S) => ({
|
|
572
|
+
...u,
|
|
573
|
+
values: u.VALUE || u.DATA || u.SERIE || u.SERIES || u.VALUES || u.NUM || 0,
|
|
574
|
+
name: u.NAME || u.DESCRIPTION || u.TITLE || u.LABEL || `Serie ${S}`,
|
|
580
575
|
id: `bar_${S}`
|
|
581
|
-
})).map((
|
|
582
|
-
...
|
|
583
|
-
color:
|
|
584
|
-
values:
|
|
585
|
-
absoluteIndices:
|
|
576
|
+
})).map((u, S) => ({
|
|
577
|
+
...u,
|
|
578
|
+
color: u.COLOR ? qe(u.COLOR) : xe.value[S + e.value.paletteStartIndex] || q[S + e.value.paletteStartIndex] || q[(S + e.value.paletteStartIndex) % q.length],
|
|
579
|
+
values: u.values.slice(p.value.start, p.value.end),
|
|
580
|
+
absoluteIndices: u.values.map((k, E) => E).slice(p.value.start, p.value.end)
|
|
586
581
|
})));
|
|
587
|
-
const
|
|
588
|
-
max: Math.max(...t.filter((
|
|
589
|
-
min: Math.min(...t.filter((
|
|
590
|
-
maxSeries: Math.max(...t.filter((
|
|
591
|
-
}, r =
|
|
592
|
-
y: s.bottom - s.height * ((
|
|
582
|
+
const i = {
|
|
583
|
+
max: Math.max(...t.filter((u) => !w.value.includes(u.id)).flatMap((u) => u.values)) < 0 ? 0 : Math.max(...t.filter((u) => !w.value.includes(u.id)).flatMap((u) => u.values)),
|
|
584
|
+
min: Math.min(...t.filter((u) => !w.value.includes(u.id)).flatMap((u) => u.values)),
|
|
585
|
+
maxSeries: Math.max(...t.filter((u) => !w.value.includes(u.id)).map((u) => u.values.length))
|
|
586
|
+
}, r = ft(i.min < 0 ? i.min : 0, i.max, e.value.xyScaleSegments), h = r.min < 0 ? Math.abs(r.min) : 0, T = s.bottom - h / (r.max + h) * s.height, V = s.width / i.maxSeries, se = r.ticks.map((u) => ({
|
|
587
|
+
y: s.bottom - s.height * ((u + h) / (r.max + h)),
|
|
593
588
|
x: s.left - 8,
|
|
594
|
-
value:
|
|
595
|
-
})),
|
|
596
|
-
...
|
|
597
|
-
coordinates:
|
|
598
|
-
const
|
|
589
|
+
value: u
|
|
590
|
+
})), te = t.map((u, S) => ({
|
|
591
|
+
...u,
|
|
592
|
+
coordinates: u.values.map((k, E) => {
|
|
593
|
+
const F = (k + h) / (i.max + h) * s.height, we = Math.abs(k) / Math.abs(i.min) * (s.height - T), Be = h / (i.max + h) * s.height, Ae = V / t.filter((le) => !w.value.includes(le.id)).length - e.value.barGap / t.filter((le) => !w.value.includes(le.id)).length;
|
|
599
594
|
return {
|
|
600
|
-
x: s.left + V *
|
|
601
|
-
y: k > 0 ? s.bottom -
|
|
602
|
-
height: k > 0 ?
|
|
595
|
+
x: s.left + V * E + Ae * S + e.value.barGap / 2,
|
|
596
|
+
y: k > 0 ? s.bottom - F : T,
|
|
597
|
+
height: k > 0 ? F - Be : we,
|
|
603
598
|
value: k,
|
|
604
|
-
width:
|
|
599
|
+
width: Ae
|
|
605
600
|
};
|
|
606
601
|
})
|
|
607
|
-
})),
|
|
608
|
-
...
|
|
609
|
-
coordinates:
|
|
610
|
-
const
|
|
602
|
+
})), ve = t.filter((u) => !w.value.includes(u.id)).map((u, S) => ({
|
|
603
|
+
...u,
|
|
604
|
+
coordinates: u.values.map((k, E) => {
|
|
605
|
+
const F = (k + h) / (i.max + h) * s.height, we = Math.abs(k) / (i.max + h) * s.height, Be = h / (i.max + h) * s.height, Ae = V / t.filter((le) => !w.value.includes(le.id)).length - e.value.barGap / t.filter((le) => !w.value.includes(le.id)).length;
|
|
611
606
|
return {
|
|
612
|
-
x: s.left + V *
|
|
613
|
-
y: k > 0 ? s.bottom -
|
|
614
|
-
height: k > 0 ?
|
|
607
|
+
x: s.left + V * E + Ae * S + e.value.barGap / 2,
|
|
608
|
+
y: k > 0 ? s.bottom - F : T,
|
|
609
|
+
height: k > 0 ? F - Be : we,
|
|
615
610
|
value: k,
|
|
616
|
-
width:
|
|
611
|
+
width: Ae
|
|
617
612
|
};
|
|
618
613
|
})
|
|
619
614
|
}));
|
|
620
|
-
function
|
|
621
|
-
|
|
622
|
-
const S = t.map((
|
|
623
|
-
...
|
|
624
|
-
value:
|
|
625
|
-
absoluteIndex:
|
|
626
|
-
})).filter((
|
|
627
|
-
|
|
615
|
+
function ae(u) {
|
|
616
|
+
W.value = u, j.value = u;
|
|
617
|
+
const S = t.map((E) => ({
|
|
618
|
+
...E,
|
|
619
|
+
value: E.values[u],
|
|
620
|
+
absoluteIndex: E.absoluteIndices[u]
|
|
621
|
+
})).filter((E) => !w.value.includes(E.id));
|
|
622
|
+
ye.value = { datapoint: S, seriesIndex: u, config: e.value, dataset: t };
|
|
628
623
|
const k = e.value.tooltipCustomFormat;
|
|
629
|
-
if (
|
|
624
|
+
if (Ne(k) && We(() => k({
|
|
630
625
|
datapoint: S,
|
|
631
|
-
seriesIndex:
|
|
626
|
+
seriesIndex: u,
|
|
632
627
|
series: t,
|
|
633
628
|
config: e.value
|
|
634
629
|
})))
|
|
635
|
-
|
|
630
|
+
ee.value = k({
|
|
636
631
|
point: S,
|
|
637
|
-
seriesIndex:
|
|
632
|
+
seriesIndex: u,
|
|
638
633
|
series: t,
|
|
639
634
|
config: e.value
|
|
640
635
|
});
|
|
641
636
|
else {
|
|
642
|
-
let
|
|
643
|
-
e.value.xyPeriods[S[0].absoluteIndex] && (
|
|
644
|
-
|
|
637
|
+
let E = "";
|
|
638
|
+
e.value.xyPeriods[S[0].absoluteIndex] && (E += `<div style="border-bottom:1px solid ${e.value.tooltipBorderColor};padding-bottom:6px;margin-bottom:3px;">${e.value.xyPeriods[S[0].absoluteIndex]}</div>`), S.forEach((F, we) => {
|
|
639
|
+
E += `
|
|
645
640
|
<div style="display:flex; flex-wrap: wrap; align-items:center; gap:3px;">
|
|
646
|
-
<svg viewBox="0 0 12 12" height="14" width="12"><rect x=0 y="0" width="12" height="12" rx="1" stroke="none" fill="${
|
|
647
|
-
<span>${
|
|
648
|
-
<b>${
|
|
641
|
+
<svg viewBox="0 0 12 12" height="14" width="12"><rect x=0 y="0" width="12" height="12" rx="1" stroke="none" fill="${F.color}"/></svg>
|
|
642
|
+
<span>${F.name}:</span>
|
|
643
|
+
<b>${X(
|
|
649
644
|
e.value.formatter,
|
|
650
|
-
|
|
645
|
+
F.value,
|
|
651
646
|
D({
|
|
652
647
|
p: e.value.valuePrefix,
|
|
653
|
-
v:
|
|
648
|
+
v: F.value,
|
|
654
649
|
s: e.value.valueSuffix,
|
|
655
650
|
r: e.value.dataLabelRoundingValue
|
|
656
651
|
}),
|
|
657
|
-
{ datapoint:
|
|
652
|
+
{ datapoint: F, seriesIndex: we }
|
|
658
653
|
)}
|
|
659
654
|
</b>
|
|
660
655
|
</div>
|
|
661
656
|
`;
|
|
662
|
-
}),
|
|
657
|
+
}), ee.value = E;
|
|
663
658
|
}
|
|
664
|
-
|
|
659
|
+
K.value = !0;
|
|
665
660
|
}
|
|
666
661
|
function n() {
|
|
667
|
-
|
|
662
|
+
K.value = !1, W.value = null, j.value = null;
|
|
668
663
|
}
|
|
669
664
|
return {
|
|
670
|
-
absoluteZero:
|
|
671
|
-
dataset:
|
|
672
|
-
legend:
|
|
665
|
+
absoluteZero: T,
|
|
666
|
+
dataset: ve.filter((u) => !w.value.includes(u.id)),
|
|
667
|
+
legend: te,
|
|
673
668
|
drawingArea: s,
|
|
674
|
-
extremes:
|
|
669
|
+
extremes: i,
|
|
675
670
|
slotSize: V,
|
|
676
|
-
yLabels:
|
|
677
|
-
useTooltip:
|
|
671
|
+
yLabels: se,
|
|
672
|
+
useTooltip: ae,
|
|
678
673
|
killTooltip: n
|
|
679
674
|
};
|
|
680
|
-
}),
|
|
681
|
-
function
|
|
682
|
-
|
|
675
|
+
}), Oe = L(!1);
|
|
676
|
+
function It(o) {
|
|
677
|
+
Oe.value = o, Je.value += 1;
|
|
683
678
|
}
|
|
684
|
-
function
|
|
685
|
-
|
|
679
|
+
function dt() {
|
|
680
|
+
be.value.showTooltip = !be.value.showTooltip;
|
|
686
681
|
}
|
|
687
|
-
const
|
|
688
|
-
function
|
|
689
|
-
|
|
682
|
+
const Te = L(!1);
|
|
683
|
+
function Ue() {
|
|
684
|
+
Te.value = !Te.value;
|
|
690
685
|
}
|
|
691
686
|
return C({
|
|
692
|
-
generatePdf:
|
|
693
|
-
generateImage:
|
|
694
|
-
toggleTooltip:
|
|
695
|
-
toggleAnnotator:
|
|
696
|
-
}), (o, s) =>
|
|
687
|
+
generatePdf: at,
|
|
688
|
+
generateImage: lt,
|
|
689
|
+
toggleTooltip: dt,
|
|
690
|
+
toggleAnnotator: Ue
|
|
691
|
+
}), (o, s) => St.value ? (a(), l("div", {
|
|
697
692
|
key: 0,
|
|
698
|
-
id: `${z.value}_${
|
|
693
|
+
id: `${z.value}_${J.value}`,
|
|
699
694
|
ref_key: "quickChart",
|
|
700
|
-
ref:
|
|
701
|
-
class:
|
|
702
|
-
style:
|
|
703
|
-
onMouseenter: s[5] || (s[5] = () =>
|
|
704
|
-
onMouseleave: s[6] || (s[6] = () =>
|
|
695
|
+
ref: pe,
|
|
696
|
+
class: ce({ "vue-ui-quick-chart": !0, "vue-data-ui-wrapper-fullscreen": Oe.value }),
|
|
697
|
+
style: R(`background:${e.value.backgroundColor};color:${e.value.color};font-family:${e.value.fontFamily}; position: relative; ${e.value.responsive ? "height: 100%" : ""}`),
|
|
698
|
+
onMouseenter: s[5] || (s[5] = () => et(!0)),
|
|
699
|
+
onMouseleave: s[6] || (s[6] = () => et(!1))
|
|
705
700
|
}, [
|
|
706
|
-
e.value.userOptionsButtons.annotator ? (a(),
|
|
701
|
+
e.value.userOptionsButtons.annotator ? (a(), Me(f(fe), {
|
|
707
702
|
key: 0,
|
|
708
|
-
svgRef:
|
|
703
|
+
svgRef: f(Qe),
|
|
709
704
|
backgroundColor: e.value.backgroundColor,
|
|
710
705
|
color: e.value.color,
|
|
711
|
-
active:
|
|
712
|
-
onClose:
|
|
713
|
-
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) :
|
|
714
|
-
|
|
706
|
+
active: Te.value,
|
|
707
|
+
onClose: Ue
|
|
708
|
+
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : g("", !0),
|
|
709
|
+
wt.value ? (a(), l("div", {
|
|
715
710
|
key: 1,
|
|
716
711
|
ref_key: "noTitle",
|
|
717
|
-
ref:
|
|
712
|
+
ref: Ye,
|
|
718
713
|
class: "vue-data-ui-no-title-space",
|
|
719
714
|
style: "height:36px; width: 100%;background:transparent"
|
|
720
|
-
}, null, 512)) :
|
|
721
|
-
e.value.showUserOptions && (
|
|
715
|
+
}, null, 512)) : g("", !0),
|
|
716
|
+
e.value.showUserOptions && (Ke.value || Ce.value) ? (a(), Me(f(Le), {
|
|
722
717
|
ref: "details",
|
|
723
|
-
key: `user_option_${
|
|
718
|
+
key: `user_option_${Je.value}`,
|
|
724
719
|
backgroundColor: e.value.backgroundColor,
|
|
725
720
|
color: e.value.color,
|
|
726
|
-
isPrinting:
|
|
727
|
-
isImaging:
|
|
728
|
-
uid:
|
|
721
|
+
isPrinting: f(Ie),
|
|
722
|
+
isImaging: f(Ee),
|
|
723
|
+
uid: J.value,
|
|
729
724
|
hasTooltip: e.value.userOptionsButtons.tooltip && e.value.showTooltip,
|
|
730
725
|
hasPdf: e.value.userOptionsButtons.pdf,
|
|
731
726
|
hasImg: e.value.userOptionsButtons.img,
|
|
732
727
|
hasFullscreen: e.value.userOptionsButtons.fullscreen,
|
|
733
728
|
hasXls: !1,
|
|
734
|
-
isTooltip:
|
|
735
|
-
isFullscreen:
|
|
729
|
+
isTooltip: be.value.showTooltip,
|
|
730
|
+
isFullscreen: Oe.value,
|
|
736
731
|
titles: { ...e.value.userOptionsButtonTitles },
|
|
737
|
-
chartElement:
|
|
732
|
+
chartElement: pe.value,
|
|
738
733
|
position: e.value.userOptionsPosition,
|
|
739
734
|
hasAnnotator: e.value.userOptionsButtons.annotator,
|
|
740
|
-
isAnnotation:
|
|
741
|
-
onToggleFullscreen:
|
|
742
|
-
onGeneratePdf:
|
|
743
|
-
onGenerateImage:
|
|
744
|
-
onToggleTooltip:
|
|
745
|
-
onToggleAnnotator:
|
|
746
|
-
style:
|
|
747
|
-
visibility:
|
|
735
|
+
isAnnotation: Te.value,
|
|
736
|
+
onToggleFullscreen: It,
|
|
737
|
+
onGeneratePdf: f(at),
|
|
738
|
+
onGenerateImage: f(lt),
|
|
739
|
+
onToggleTooltip: dt,
|
|
740
|
+
onToggleAnnotator: Ue,
|
|
741
|
+
style: R({
|
|
742
|
+
visibility: Ke.value ? Ce.value ? "visible" : "hidden" : "visible"
|
|
748
743
|
})
|
|
749
|
-
},
|
|
744
|
+
}, Ot({ _: 2 }, [
|
|
750
745
|
o.$slots.menuIcon ? {
|
|
751
746
|
name: "menuIcon",
|
|
752
|
-
fn:
|
|
753
|
-
|
|
747
|
+
fn: G(({ isOpen: t, color: i }) => [
|
|
748
|
+
M(o.$slots, "menuIcon", oe(ne({ isOpen: t, color: i })), void 0, !0)
|
|
754
749
|
]),
|
|
755
750
|
key: "0"
|
|
756
751
|
} : void 0,
|
|
757
752
|
o.$slots.optionTooltip ? {
|
|
758
753
|
name: "optionTooltip",
|
|
759
|
-
fn:
|
|
760
|
-
|
|
754
|
+
fn: G(() => [
|
|
755
|
+
M(o.$slots, "optionTooltip", {}, void 0, !0)
|
|
761
756
|
]),
|
|
762
757
|
key: "1"
|
|
763
758
|
} : void 0,
|
|
764
759
|
o.$slots.optionPdf ? {
|
|
765
760
|
name: "optionPdf",
|
|
766
|
-
fn:
|
|
767
|
-
|
|
761
|
+
fn: G(() => [
|
|
762
|
+
M(o.$slots, "optionPdf", {}, void 0, !0)
|
|
768
763
|
]),
|
|
769
764
|
key: "2"
|
|
770
765
|
} : void 0,
|
|
771
766
|
o.$slots.optionImg ? {
|
|
772
767
|
name: "optionImg",
|
|
773
|
-
fn:
|
|
774
|
-
|
|
768
|
+
fn: G(() => [
|
|
769
|
+
M(o.$slots, "optionImg", {}, void 0, !0)
|
|
775
770
|
]),
|
|
776
771
|
key: "3"
|
|
777
772
|
} : void 0,
|
|
778
773
|
o.$slots.optionFullscreen ? {
|
|
779
774
|
name: "optionFullscreen",
|
|
780
|
-
fn:
|
|
781
|
-
|
|
775
|
+
fn: G(({ toggleFullscreen: t, isFullscreen: i }) => [
|
|
776
|
+
M(o.$slots, "optionFullscreen", oe(ne({ toggleFullscreen: t, isFullscreen: i })), void 0, !0)
|
|
782
777
|
]),
|
|
783
778
|
key: "4"
|
|
784
779
|
} : void 0,
|
|
785
780
|
o.$slots.optionAnnotator ? {
|
|
786
781
|
name: "optionAnnotator",
|
|
787
|
-
fn:
|
|
788
|
-
|
|
782
|
+
fn: G(({ toggleAnnotator: t, isAnnotator: i }) => [
|
|
783
|
+
M(o.$slots, "optionAnnotator", oe(ne({ toggleAnnotator: t, isAnnotator: i })), void 0, !0)
|
|
789
784
|
]),
|
|
790
785
|
key: "5"
|
|
791
786
|
} : void 0
|
|
792
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) :
|
|
787
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : g("", !0),
|
|
793
788
|
e.value.title ? (a(), l("div", {
|
|
794
789
|
key: 3,
|
|
795
790
|
ref_key: "quickChartTitle",
|
|
796
|
-
ref:
|
|
791
|
+
ref: je,
|
|
797
792
|
class: "vue-ui-quick-chart-title",
|
|
798
|
-
style:
|
|
799
|
-
},
|
|
793
|
+
style: R(`background:transparent;color:${e.value.color};font-size:${e.value.titleFontSize}px;font-weight:${e.value.titleBold ? "bold" : "normal"};text-align:${e.value.titleTextAlign}`)
|
|
794
|
+
}, P(e.value.title), 5)) : g("", !0),
|
|
800
795
|
z.value ? (a(), l("svg", {
|
|
801
796
|
key: 4,
|
|
802
797
|
ref_key: "svgRef",
|
|
803
|
-
ref:
|
|
804
|
-
xmlns:
|
|
805
|
-
viewBox:
|
|
806
|
-
style:
|
|
798
|
+
ref: Qe,
|
|
799
|
+
xmlns: f(Vt),
|
|
800
|
+
viewBox: At.value,
|
|
801
|
+
style: R(`max-width:100%;overflow:visible;background:transparent;color:${e.value.color}`)
|
|
807
802
|
}, [
|
|
808
|
-
|
|
803
|
+
he(f(H)),
|
|
809
804
|
o.$slots["chart-background"] && z.value === A.BAR ? (a(), l("foreignObject", {
|
|
810
805
|
key: 0,
|
|
811
806
|
x: v.value.drawingArea.left,
|
|
@@ -816,8 +811,8 @@ const Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"]
|
|
|
816
811
|
pointerEvents: "none"
|
|
817
812
|
}
|
|
818
813
|
}, [
|
|
819
|
-
|
|
820
|
-
], 8,
|
|
814
|
+
M(o.$slots, "chart-background", {}, void 0, !0)
|
|
815
|
+
], 8, oa)) : g("", !0),
|
|
821
816
|
o.$slots["chart-background"] && z.value === A.LINE ? (a(), l("foreignObject", {
|
|
822
817
|
key: 1,
|
|
823
818
|
x: d.value.drawingArea.left,
|
|
@@ -828,8 +823,8 @@ const Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"]
|
|
|
828
823
|
pointerEvents: "none"
|
|
829
824
|
}
|
|
830
825
|
}, [
|
|
831
|
-
|
|
832
|
-
], 8,
|
|
826
|
+
M(o.$slots, "chart-background", {}, void 0, !0)
|
|
827
|
+
], 8, na)) : g("", !0),
|
|
833
828
|
o.$slots["chart-background"] && z.value === A.DONUT ? (a(), l("foreignObject", {
|
|
834
829
|
key: 2,
|
|
835
830
|
x: 0,
|
|
@@ -840,11 +835,11 @@ const Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"]
|
|
|
840
835
|
pointerEvents: "none"
|
|
841
836
|
}
|
|
842
837
|
}, [
|
|
843
|
-
|
|
844
|
-
], 8,
|
|
838
|
+
M(o.$slots, "chart-background", {}, void 0, !0)
|
|
839
|
+
], 8, ua)) : g("", !0),
|
|
845
840
|
_("defs", null, [
|
|
846
841
|
_("filter", {
|
|
847
|
-
id: `blur_${
|
|
842
|
+
id: `blur_${J.value}`,
|
|
848
843
|
x: "-50%",
|
|
849
844
|
y: "-50%",
|
|
850
845
|
width: "200%",
|
|
@@ -853,15 +848,15 @@ const Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"]
|
|
|
853
848
|
_("feGaussianBlur", {
|
|
854
849
|
in: "SourceGraphic",
|
|
855
850
|
stdDeviation: 2,
|
|
856
|
-
id: `blur_std_${
|
|
857
|
-
}, null, 8,
|
|
851
|
+
id: `blur_std_${J.value}`
|
|
852
|
+
}, null, 8, ra),
|
|
858
853
|
s[7] || (s[7] = _("feColorMatrix", {
|
|
859
854
|
type: "saturate",
|
|
860
855
|
values: "0"
|
|
861
856
|
}, null, -1))
|
|
862
|
-
], 8,
|
|
857
|
+
], 8, ia),
|
|
863
858
|
_("filter", {
|
|
864
|
-
id: `shadow_${
|
|
859
|
+
id: `shadow_${J.value}`,
|
|
865
860
|
"color-interpolation-filters": "sRGB"
|
|
866
861
|
}, [
|
|
867
862
|
_("feDropShadow", {
|
|
@@ -870,113 +865,113 @@ const Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"]
|
|
|
870
865
|
stdDeviation: "10",
|
|
871
866
|
"flood-opacity": "0.5",
|
|
872
867
|
"flood-color": e.value.donutShadowColor
|
|
873
|
-
}, null, 8,
|
|
874
|
-
], 8,
|
|
868
|
+
}, null, 8, va)
|
|
869
|
+
], 8, sa)
|
|
875
870
|
]),
|
|
876
871
|
z.value === A.DONUT ? (a(), l(m, { key: 3 }, [
|
|
877
|
-
e.value.showDataLabels ? (a(), l("g",
|
|
878
|
-
(a(!0), l(m, null, $(I.value.chart, (t,
|
|
872
|
+
e.value.showDataLabels ? (a(), l("g", da, [
|
|
873
|
+
(a(!0), l(m, null, $(I.value.chart, (t, i) => (a(), l(m, null, [
|
|
879
874
|
I.value.isArcBigEnough(t) ? (a(), l("path", {
|
|
880
875
|
key: 0,
|
|
881
|
-
d:
|
|
876
|
+
d: f(qt)(t, { x: b.value.width / 2, y: b.value.height / 2 }, 16, 16, !1, !1, b.value.height * st.value),
|
|
882
877
|
stroke: t.color,
|
|
883
878
|
"stroke-width": e.value.donutLabelMarkerStrokeWidth,
|
|
884
879
|
"stroke-linecap": "round",
|
|
885
880
|
"stroke-linejoin": "round",
|
|
886
881
|
fill: "none",
|
|
887
|
-
filter:
|
|
888
|
-
}, null, 8,
|
|
882
|
+
filter: Se(t.id)
|
|
883
|
+
}, null, 8, ca)) : g("", !0)
|
|
889
884
|
], 64))), 256))
|
|
890
|
-
])) :
|
|
885
|
+
])) : g("", !0),
|
|
891
886
|
_("circle", {
|
|
892
887
|
cx: I.value.cx,
|
|
893
888
|
cy: I.value.cy,
|
|
894
889
|
r: I.value.radius,
|
|
895
890
|
fill: e.value.backgroundColor,
|
|
896
|
-
filter: e.value.donutUseShadow ? `url(#shadow_${
|
|
897
|
-
}, null, 8,
|
|
898
|
-
_("g",
|
|
899
|
-
(a(!0), l(m, null, $(I.value.chart, (t,
|
|
891
|
+
filter: e.value.donutUseShadow ? `url(#shadow_${J.value})` : ""
|
|
892
|
+
}, null, 8, ha),
|
|
893
|
+
_("g", fa, [
|
|
894
|
+
(a(!0), l(m, null, $(I.value.chart, (t, i) => (a(), l("path", {
|
|
900
895
|
d: t.arcSlice,
|
|
901
896
|
fill: t.color,
|
|
902
897
|
stroke: e.value.backgroundColor,
|
|
903
898
|
"stroke-width": e.value.donutStrokeWidth,
|
|
904
|
-
filter:
|
|
905
|
-
}, null, 8,
|
|
906
|
-
(a(!0), l(m, null, $(I.value.chart, (t,
|
|
899
|
+
filter: Se(t.id)
|
|
900
|
+
}, null, 8, ga))), 256)),
|
|
901
|
+
(a(!0), l(m, null, $(I.value.chart, (t, i) => (a(), l("path", {
|
|
907
902
|
d: t.arcSlice,
|
|
908
903
|
fill: "transparent",
|
|
909
|
-
onMouseenter: (r) => I.value.useTooltip({ datapoint: t, seriesIndex:
|
|
904
|
+
onMouseenter: (r) => I.value.useTooltip({ datapoint: t, seriesIndex: i }),
|
|
910
905
|
onMouseout: s[0] || (s[0] = (r) => I.value.killTooltip()),
|
|
911
|
-
onClick: (r) =>
|
|
912
|
-
}, null, 40,
|
|
906
|
+
onClick: (r) => ue("selectDatapoint", t)
|
|
907
|
+
}, null, 40, ma))), 256))
|
|
913
908
|
]),
|
|
914
|
-
e.value.showDataLabels ? (a(), l("g",
|
|
915
|
-
(a(!0), l(m, null, $(I.value.chart, (t,
|
|
909
|
+
e.value.showDataLabels ? (a(), l("g", pa, [
|
|
910
|
+
(a(!0), l(m, null, $(I.value.chart, (t, i) => (a(), l(m, null, [
|
|
916
911
|
I.value.isArcBigEnough(t) ? (a(), l("circle", {
|
|
917
912
|
key: 0,
|
|
918
|
-
cx:
|
|
919
|
-
cy:
|
|
913
|
+
cx: f(_e)(t).x,
|
|
914
|
+
cy: f(He)(t) - 3.7,
|
|
920
915
|
fill: t.color,
|
|
921
916
|
stroke: e.value.backgroundColor,
|
|
922
917
|
"stroke-width": 1,
|
|
923
918
|
r: 3,
|
|
924
|
-
filter:
|
|
925
|
-
}, null, 8,
|
|
919
|
+
filter: Se(t.id)
|
|
920
|
+
}, null, 8, ya)) : g("", !0),
|
|
926
921
|
I.value.isArcBigEnough(t) ? (a(), l("text", {
|
|
927
922
|
key: 1,
|
|
928
|
-
"text-anchor":
|
|
929
|
-
x:
|
|
930
|
-
y:
|
|
923
|
+
"text-anchor": f(_e)(t, !0, 20).anchor,
|
|
924
|
+
x: f(_e)(t, !0).x,
|
|
925
|
+
y: f(He)(t),
|
|
931
926
|
fill: e.value.color,
|
|
932
927
|
"font-size": e.value.dataLabelFontSize,
|
|
933
|
-
filter:
|
|
934
|
-
},
|
|
928
|
+
filter: Se(t.id)
|
|
929
|
+
}, P(I.value.displayArcPercentage(t, I.value.chart)) + " (" + P(f(X)(
|
|
935
930
|
e.value.formatter,
|
|
936
931
|
t.value,
|
|
937
|
-
|
|
932
|
+
f(D)({
|
|
938
933
|
p: e.value.valuePrefix,
|
|
939
934
|
v: t.value,
|
|
940
935
|
s: e.value.valueSuffix,
|
|
941
936
|
r: e.value.dataLabelRoundingValue
|
|
942
937
|
}),
|
|
943
|
-
{ datapoint: t, seriesIndex:
|
|
944
|
-
)) + ") ", 9,
|
|
938
|
+
{ datapoint: t, seriesIndex: i }
|
|
939
|
+
)) + ") ", 9, xa)) : g("", !0),
|
|
945
940
|
I.value.isArcBigEnough(t, !0, 20) ? (a(), l("text", {
|
|
946
941
|
key: 2,
|
|
947
|
-
"text-anchor":
|
|
948
|
-
x:
|
|
949
|
-
y:
|
|
942
|
+
"text-anchor": f(_e)(t).anchor,
|
|
943
|
+
x: f(_e)(t, !0).x,
|
|
944
|
+
y: f(He)(t) + e.value.dataLabelFontSize,
|
|
950
945
|
fill: e.value.color,
|
|
951
946
|
"font-size": e.value.dataLabelFontSize,
|
|
952
|
-
filter:
|
|
953
|
-
},
|
|
947
|
+
filter: Se(t.id)
|
|
948
|
+
}, P(t.name), 9, ka)) : g("", !0)
|
|
954
949
|
], 64))), 256))
|
|
955
|
-
])) :
|
|
956
|
-
e.value.donutShowTotal ? (a(), l("g",
|
|
950
|
+
])) : g("", !0),
|
|
951
|
+
e.value.donutShowTotal ? (a(), l("g", ba, [
|
|
957
952
|
_("text", {
|
|
958
953
|
"text-anchor": "middle",
|
|
959
954
|
x: I.value.drawingArea.centerX,
|
|
960
955
|
y: I.value.drawingArea.centerY - e.value.donutTotalLabelFontSize / 2,
|
|
961
956
|
"font-size": e.value.donutTotalLabelFontSize,
|
|
962
957
|
fill: e.value.color
|
|
963
|
-
},
|
|
958
|
+
}, P(e.value.donutTotalLabelText), 9, Sa),
|
|
964
959
|
_("text", {
|
|
965
960
|
"text-anchor": "middle",
|
|
966
961
|
x: I.value.drawingArea.centerX,
|
|
967
962
|
y: I.value.drawingArea.centerY + e.value.donutTotalLabelFontSize,
|
|
968
963
|
"font-size": e.value.donutTotalLabelFontSize,
|
|
969
964
|
fill: e.value.color
|
|
970
|
-
},
|
|
965
|
+
}, P(f(D)({
|
|
971
966
|
p: e.value.valuePrefix,
|
|
972
967
|
v: I.value.total,
|
|
973
968
|
s: e.value.valueSuffix,
|
|
974
969
|
r: e.value.dataLabelRoundingValue
|
|
975
|
-
})), 9,
|
|
976
|
-
])) :
|
|
977
|
-
], 64)) :
|
|
970
|
+
})), 9, wa)
|
|
971
|
+
])) : g("", !0)
|
|
972
|
+
], 64)) : g("", !0),
|
|
978
973
|
z.value === A.LINE ? (a(), l(m, { key: 4 }, [
|
|
979
|
-
e.value.xyShowGrid ? (a(), l("g",
|
|
974
|
+
e.value.xyShowGrid ? (a(), l("g", Aa, [
|
|
980
975
|
(a(!0), l(m, null, $(d.value.yLabels, (t) => (a(), l(m, null, [
|
|
981
976
|
t.y <= d.value.drawingArea.bottom ? (a(), l("line", {
|
|
982
977
|
key: 0,
|
|
@@ -987,19 +982,19 @@ const Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"]
|
|
|
987
982
|
stroke: e.value.xyGridStroke,
|
|
988
983
|
"stroke-width": e.value.xyGridStrokeWidth,
|
|
989
984
|
"stroke-linecap": "round"
|
|
990
|
-
}, null, 8,
|
|
985
|
+
}, null, 8, _a)) : g("", !0)
|
|
991
986
|
], 64))), 256)),
|
|
992
|
-
(a(!0), l(m, null, $(d.value.extremes.maxSeries + 1, (t,
|
|
993
|
-
x1: d.value.drawingArea.left + d.value.slotSize *
|
|
994
|
-
x2: d.value.drawingArea.left + d.value.slotSize *
|
|
987
|
+
(a(!0), l(m, null, $(d.value.extremes.maxSeries + 1, (t, i) => (a(), l("line", {
|
|
988
|
+
x1: d.value.drawingArea.left + d.value.slotSize * i,
|
|
989
|
+
x2: d.value.drawingArea.left + d.value.slotSize * i,
|
|
995
990
|
y1: d.value.drawingArea.top,
|
|
996
991
|
y2: d.value.drawingArea.bottom,
|
|
997
992
|
stroke: e.value.xyGridStroke,
|
|
998
993
|
"stroke-width": e.value.xyGridStrokeWidth,
|
|
999
994
|
"stroke-linecap": "round"
|
|
1000
|
-
}, null, 8,
|
|
1001
|
-
])) :
|
|
1002
|
-
e.value.xyShowAxis ? (a(), l("g",
|
|
995
|
+
}, null, 8, za))), 256))
|
|
996
|
+
])) : g("", !0),
|
|
997
|
+
e.value.xyShowAxis ? (a(), l("g", La, [
|
|
1003
998
|
_("line", {
|
|
1004
999
|
x1: d.value.drawingArea.left,
|
|
1005
1000
|
x2: d.value.drawingArea.left,
|
|
@@ -1008,7 +1003,7 @@ const Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"]
|
|
|
1008
1003
|
stroke: e.value.xyAxisStroke,
|
|
1009
1004
|
"stroke-width": e.value.xyAxisStrokeWidth,
|
|
1010
1005
|
"stroke-linecap": "round"
|
|
1011
|
-
}, null, 8,
|
|
1006
|
+
}, null, 8, $a),
|
|
1012
1007
|
_("line", {
|
|
1013
1008
|
x1: d.value.drawingArea.left,
|
|
1014
1009
|
x2: d.value.drawingArea.right,
|
|
@@ -1017,10 +1012,10 @@ const Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"]
|
|
|
1017
1012
|
stroke: e.value.xyAxisStroke,
|
|
1018
1013
|
"stroke-width": e.value.xyAxisStrokeWidth,
|
|
1019
1014
|
"stroke-linecap": "round"
|
|
1020
|
-
}, null, 8,
|
|
1021
|
-
])) :
|
|
1022
|
-
e.value.xyShowScale ? (a(), l("g",
|
|
1023
|
-
(a(!0), l(m, null, $(d.value.yLabels, (t,
|
|
1015
|
+
}, null, 8, Ca)
|
|
1016
|
+
])) : g("", !0),
|
|
1017
|
+
e.value.xyShowScale ? (a(), l("g", Ia, [
|
|
1018
|
+
(a(!0), l(m, null, $(d.value.yLabels, (t, i) => (a(), l(m, null, [
|
|
1024
1019
|
t.y <= d.value.drawingArea.bottom ? (a(), l("line", {
|
|
1025
1020
|
key: 0,
|
|
1026
1021
|
x1: t.x + 4,
|
|
@@ -1030,7 +1025,7 @@ const Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"]
|
|
|
1030
1025
|
stroke: e.value.xyAxisStroke,
|
|
1031
1026
|
"stroke-width": e.value.xyAxisStrokeWidth,
|
|
1032
1027
|
"stroke-linecap": "round"
|
|
1033
|
-
}, null, 8,
|
|
1028
|
+
}, null, 8, Ea)) : g("", !0),
|
|
1034
1029
|
t.y <= d.value.drawingArea.bottom ? (a(), l("text", {
|
|
1035
1030
|
key: 1,
|
|
1036
1031
|
x: t.x,
|
|
@@ -1038,61 +1033,61 @@ const Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"]
|
|
|
1038
1033
|
"text-anchor": "end",
|
|
1039
1034
|
"font-size": e.value.xyLabelsYFontSize,
|
|
1040
1035
|
fill: e.value.color
|
|
1041
|
-
},
|
|
1036
|
+
}, P(f(X)(
|
|
1042
1037
|
e.value.formatter,
|
|
1043
1038
|
t.value,
|
|
1044
|
-
|
|
1039
|
+
f(D)({
|
|
1045
1040
|
p: e.value.valuePrefix,
|
|
1046
1041
|
v: t.value,
|
|
1047
1042
|
s: e.value.valueSuffix,
|
|
1048
1043
|
r: e.value.dataLabelRoundingValue
|
|
1049
1044
|
}),
|
|
1050
|
-
{ datapoint: t, seriesIndex:
|
|
1051
|
-
)), 9,
|
|
1045
|
+
{ datapoint: t, seriesIndex: i }
|
|
1046
|
+
)), 9, Pa)) : g("", !0)
|
|
1052
1047
|
], 64))), 256))
|
|
1053
|
-
])) :
|
|
1054
|
-
e.value.xyShowScale && e.value.xyPeriods.length ? (a(), l("g",
|
|
1055
|
-
(a(!0), l(m, null, $(e.value.xyPeriods.slice(p.value.start, p.value.end), (t,
|
|
1056
|
-
!e.value.xyPeriodsShowOnlyAtModulo || e.value.xyPeriodsShowOnlyAtModulo &&
|
|
1048
|
+
])) : g("", !0),
|
|
1049
|
+
e.value.xyShowScale && e.value.xyPeriods.length ? (a(), l("g", Oa, [
|
|
1050
|
+
(a(!0), l(m, null, $(e.value.xyPeriods.slice(p.value.start, p.value.end), (t, i) => (a(), l(m, null, [
|
|
1051
|
+
!e.value.xyPeriodsShowOnlyAtModulo || e.value.xyPeriodsShowOnlyAtModulo && i % Math.floor((p.value.end - p.value.start) / e.value.xyPeriodsModulo) === 0 || p.value.end - p.value.start <= e.value.xyPeriodsModulo ? (a(), l("line", {
|
|
1057
1052
|
key: 0,
|
|
1058
|
-
x1: d.value.drawingArea.left + d.value.slotSize * (
|
|
1059
|
-
x2: d.value.drawingArea.left + d.value.slotSize * (
|
|
1053
|
+
x1: d.value.drawingArea.left + d.value.slotSize * (i + 1) - d.value.slotSize / 2,
|
|
1054
|
+
x2: d.value.drawingArea.left + d.value.slotSize * (i + 1) - d.value.slotSize / 2,
|
|
1060
1055
|
y1: d.value.drawingArea.bottom,
|
|
1061
1056
|
y2: d.value.drawingArea.bottom + 4,
|
|
1062
1057
|
stroke: e.value.xyAxisStroke,
|
|
1063
1058
|
"stroke-width": e.value.xyAxisStrokeWidth,
|
|
1064
1059
|
"stroke-linecap": "round"
|
|
1065
|
-
}, null, 8,
|
|
1066
|
-
!e.value.xyPeriodsShowOnlyAtModulo || e.value.xyPeriodsShowOnlyAtModulo &&
|
|
1060
|
+
}, null, 8, Ta)) : g("", !0),
|
|
1061
|
+
!e.value.xyPeriodsShowOnlyAtModulo || e.value.xyPeriodsShowOnlyAtModulo && i % Math.floor((p.value.end - p.value.start) / e.value.xyPeriodsModulo) === 0 || p.value.end - p.value.start <= e.value.xyPeriodsModulo ? (a(), l("text", {
|
|
1067
1062
|
key: 1,
|
|
1068
1063
|
"font-size": e.value.xyLabelsXFontSize,
|
|
1069
1064
|
"text-anchor": e.value.xyPeriodLabelsRotation > 0 ? "start" : e.value.xyPeriodLabelsRotation < 0 ? "end" : "middle",
|
|
1070
1065
|
fill: e.value.color,
|
|
1071
|
-
transform: `translate(${d.value.drawingArea.left + d.value.slotSize * (
|
|
1072
|
-
},
|
|
1066
|
+
transform: `translate(${d.value.drawingArea.left + d.value.slotSize * (i + 1) - d.value.slotSize / 2}, ${d.value.drawingArea.bottom + e.value.xyLabelsXFontSize + 6}), rotate(${e.value.xyPeriodLabelsRotation})`
|
|
1067
|
+
}, P(t), 9, Ra)) : g("", !0)
|
|
1073
1068
|
], 64))), 256))
|
|
1074
|
-
])) :
|
|
1075
|
-
_("g",
|
|
1076
|
-
(a(!0), l(m, null, $(d.value.dataset, (t,
|
|
1069
|
+
])) : g("", !0),
|
|
1070
|
+
_("g", Ma, [
|
|
1071
|
+
(a(!0), l(m, null, $(d.value.dataset, (t, i) => (a(), l("g", Na, [
|
|
1077
1072
|
e.value.lineSmooth ? (a(), l(m, { key: 0 }, [
|
|
1078
1073
|
_("path", {
|
|
1079
|
-
d: `M ${
|
|
1074
|
+
d: `M ${f(gt)(t.coordinates)}`,
|
|
1080
1075
|
stroke: e.value.backgroundColor,
|
|
1081
1076
|
"stroke-width": e.value.lineStrokeWidth + 1,
|
|
1082
1077
|
"stroke-linecap": "round",
|
|
1083
1078
|
fill: "none",
|
|
1084
|
-
class:
|
|
1079
|
+
class: ce({ "quick-animation": !0, "vue-data-ui-line-animated": e.value.lineAnimated }),
|
|
1085
1080
|
style: { transition: "all 0.3s ease-in-out" }
|
|
1086
|
-
}, null, 10,
|
|
1081
|
+
}, null, 10, Fa),
|
|
1087
1082
|
_("path", {
|
|
1088
|
-
d: `M ${
|
|
1083
|
+
d: `M ${f(gt)(t.coordinates)}`,
|
|
1089
1084
|
stroke: t.color,
|
|
1090
1085
|
"stroke-width": e.value.lineStrokeWidth,
|
|
1091
1086
|
"stroke-linecap": "round",
|
|
1092
1087
|
fill: "none",
|
|
1093
|
-
class:
|
|
1088
|
+
class: ce({ "quick-animation": !0, "vue-data-ui-line-animated": e.value.lineAnimated }),
|
|
1094
1089
|
style: { transition: "all 0.3s ease-in-out" }
|
|
1095
|
-
}, null, 10,
|
|
1090
|
+
}, null, 10, Ua)
|
|
1096
1091
|
], 64)) : (a(), l(m, { key: 1 }, [
|
|
1097
1092
|
_("path", {
|
|
1098
1093
|
d: `M ${t.linePath}`,
|
|
@@ -1100,73 +1095,73 @@ const Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"]
|
|
|
1100
1095
|
"stroke-width": e.value.lineStrokeWidth + 1,
|
|
1101
1096
|
"stroke-linecap": "round",
|
|
1102
1097
|
fill: "none",
|
|
1103
|
-
class:
|
|
1098
|
+
class: ce({ "quick-animation": !0, "vue-data-ui-line-animated": e.value.lineAnimated }),
|
|
1104
1099
|
style: { transition: "all 0.3s ease-in-out" }
|
|
1105
|
-
}, null, 10,
|
|
1100
|
+
}, null, 10, Ba),
|
|
1106
1101
|
_("path", {
|
|
1107
1102
|
d: `M ${t.linePath}`,
|
|
1108
1103
|
stroke: t.color,
|
|
1109
1104
|
"stroke-width": e.value.lineStrokeWidth,
|
|
1110
1105
|
"stroke-linecap": "round",
|
|
1111
1106
|
fill: "none",
|
|
1112
|
-
class:
|
|
1107
|
+
class: ce({ "quick-animation": !0, "vue-data-ui-line-animated": e.value.lineAnimated }),
|
|
1113
1108
|
style: { transition: "all 0.3s ease-in-out" }
|
|
1114
|
-
}, null, 10,
|
|
1109
|
+
}, null, 10, Da)
|
|
1115
1110
|
], 64)),
|
|
1116
1111
|
(a(!0), l(m, null, $(t.coordinates, (r, h) => (a(), l("circle", {
|
|
1117
1112
|
cx: r.x,
|
|
1118
|
-
cy:
|
|
1113
|
+
cy: f(Z)(r.y),
|
|
1119
1114
|
r: 3,
|
|
1120
1115
|
fill: t.color,
|
|
1121
1116
|
stroke: e.value.backgroundColor,
|
|
1122
1117
|
"stroke-width": "0.5",
|
|
1123
1118
|
class: "quick-animation",
|
|
1124
1119
|
style: { transition: "all 0.3s ease-in-out" }
|
|
1125
|
-
}, null, 8,
|
|
1120
|
+
}, null, 8, Va))), 256))
|
|
1126
1121
|
]))), 256))
|
|
1127
1122
|
]),
|
|
1128
|
-
e.value.showDataLabels ? (a(), l("g",
|
|
1129
|
-
(a(!0), l(m, null, $(d.value.dataset, (t,
|
|
1123
|
+
e.value.showDataLabels ? (a(), l("g", qa, [
|
|
1124
|
+
(a(!0), l(m, null, $(d.value.dataset, (t, i) => (a(), l(m, null, [
|
|
1130
1125
|
(a(!0), l(m, null, $(t.coordinates, (r, h) => (a(), l("text", {
|
|
1131
1126
|
"text-anchor": "middle",
|
|
1132
1127
|
"font-size": e.value.dataLabelFontSize,
|
|
1133
1128
|
fill: t.color,
|
|
1134
1129
|
x: r.x,
|
|
1135
|
-
y:
|
|
1130
|
+
y: f(Z)(r.y) - e.value.dataLabelFontSize / 2,
|
|
1136
1131
|
class: "quick-animation",
|
|
1137
1132
|
style: { transition: "all 0.3s ease-in-out" }
|
|
1138
|
-
},
|
|
1133
|
+
}, P(f(X)(
|
|
1139
1134
|
e.value.formatter,
|
|
1140
|
-
|
|
1141
|
-
|
|
1135
|
+
f(Z)(r.value),
|
|
1136
|
+
f(D)({
|
|
1142
1137
|
p: e.value.valuePrefix,
|
|
1143
|
-
v:
|
|
1138
|
+
v: f(Z)(r.value),
|
|
1144
1139
|
s: e.value.valueSuffix,
|
|
1145
1140
|
r: e.value.dataLabelRoundingValue
|
|
1146
1141
|
}),
|
|
1147
1142
|
{ datapoint: r, seriesIndex: h }
|
|
1148
|
-
)), 9,
|
|
1143
|
+
)), 9, Ha))), 256))
|
|
1149
1144
|
], 64))), 256))
|
|
1150
|
-
])) :
|
|
1151
|
-
_("g",
|
|
1152
|
-
(a(!0), l(m, null, $(d.value.extremes.maxSeries, (t,
|
|
1153
|
-
x: d.value.drawingArea.left +
|
|
1145
|
+
])) : g("", !0),
|
|
1146
|
+
_("g", Wa, [
|
|
1147
|
+
(a(!0), l(m, null, $(d.value.extremes.maxSeries, (t, i) => (a(), l("rect", {
|
|
1148
|
+
x: d.value.drawingArea.left + i * d.value.slotSize,
|
|
1154
1149
|
y: d.value.drawingArea.top,
|
|
1155
1150
|
height: d.value.drawingArea.height <= 0 ? 1e-5 : d.value.drawingArea.height,
|
|
1156
1151
|
width: d.value.slotSize <= 0 ? 1e-5 : d.value.slotSize,
|
|
1157
|
-
fill: [
|
|
1158
|
-
style:
|
|
1159
|
-
onMouseenter: (r) => d.value.useTooltip(
|
|
1152
|
+
fill: [W.value, j.value].includes(i) ? e.value.xyHighlighterColor : "transparent",
|
|
1153
|
+
style: R(`opacity:${e.value.xyHighlighterOpacity}`),
|
|
1154
|
+
onMouseenter: (r) => d.value.useTooltip(i),
|
|
1160
1155
|
onMouseleave: s[1] || (s[1] = (r) => d.value.killTooltip()),
|
|
1161
|
-
onClick: (r) =>
|
|
1156
|
+
onClick: (r) => ue("selectDatapoint", d.value.dataset.map((h) => ({
|
|
1162
1157
|
...h,
|
|
1163
|
-
value: h.values[
|
|
1158
|
+
value: h.values[i]
|
|
1164
1159
|
})))
|
|
1165
|
-
}, null, 44,
|
|
1160
|
+
}, null, 44, ja))), 256))
|
|
1166
1161
|
])
|
|
1167
|
-
], 64)) :
|
|
1162
|
+
], 64)) : g("", !0),
|
|
1168
1163
|
z.value === A.BAR ? (a(), l(m, { key: 5 }, [
|
|
1169
|
-
e.value.xyShowGrid ? (a(), l("g",
|
|
1164
|
+
e.value.xyShowGrid ? (a(), l("g", Ga, [
|
|
1170
1165
|
(a(!0), l(m, null, $(v.value.yLabels, (t) => (a(), l(m, null, [
|
|
1171
1166
|
t.y <= v.value.drawingArea.bottom ? (a(), l("line", {
|
|
1172
1167
|
key: 0,
|
|
@@ -1177,19 +1172,19 @@ const Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"]
|
|
|
1177
1172
|
stroke: e.value.xyGridStroke,
|
|
1178
1173
|
"stroke-width": e.value.xyGridStrokeWidth,
|
|
1179
1174
|
"stroke-linecap": "round"
|
|
1180
|
-
}, null, 8,
|
|
1175
|
+
}, null, 8, Xa)) : g("", !0)
|
|
1181
1176
|
], 64))), 256)),
|
|
1182
|
-
(a(!0), l(m, null, $(v.value.extremes.maxSeries + 1, (t,
|
|
1183
|
-
x1: v.value.drawingArea.left + v.value.slotSize *
|
|
1184
|
-
x2: v.value.drawingArea.left + v.value.slotSize *
|
|
1177
|
+
(a(!0), l(m, null, $(v.value.extremes.maxSeries + 1, (t, i) => (a(), l("line", {
|
|
1178
|
+
x1: v.value.drawingArea.left + v.value.slotSize * i,
|
|
1179
|
+
x2: v.value.drawingArea.left + v.value.slotSize * i,
|
|
1185
1180
|
y1: v.value.drawingArea.top,
|
|
1186
1181
|
y2: v.value.drawingArea.bottom,
|
|
1187
1182
|
stroke: e.value.xyGridStroke,
|
|
1188
1183
|
"stroke-width": e.value.xyGridStrokeWidth,
|
|
1189
1184
|
"stroke-linecap": "round"
|
|
1190
|
-
}, null, 8,
|
|
1191
|
-
])) :
|
|
1192
|
-
e.value.xyShowAxis ? (a(), l("g",
|
|
1185
|
+
}, null, 8, Za))), 256))
|
|
1186
|
+
])) : g("", !0),
|
|
1187
|
+
e.value.xyShowAxis ? (a(), l("g", Ya, [
|
|
1193
1188
|
_("line", {
|
|
1194
1189
|
x1: v.value.drawingArea.left,
|
|
1195
1190
|
x2: v.value.drawingArea.left,
|
|
@@ -1198,7 +1193,7 @@ const Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"]
|
|
|
1198
1193
|
stroke: e.value.xyAxisStroke,
|
|
1199
1194
|
"stroke-width": e.value.xyAxisStrokeWidth,
|
|
1200
1195
|
"stroke-linecap": "round"
|
|
1201
|
-
}, null, 8,
|
|
1196
|
+
}, null, 8, Ja),
|
|
1202
1197
|
_("line", {
|
|
1203
1198
|
x1: v.value.drawingArea.left,
|
|
1204
1199
|
x2: v.value.drawingArea.right,
|
|
@@ -1207,10 +1202,10 @@ const Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"]
|
|
|
1207
1202
|
stroke: e.value.xyAxisStroke,
|
|
1208
1203
|
"stroke-width": e.value.xyAxisStrokeWidth,
|
|
1209
1204
|
"stroke-linecap": "round"
|
|
1210
|
-
}, null, 8,
|
|
1211
|
-
])) :
|
|
1212
|
-
e.value.xyShowScale ? (a(), l("g",
|
|
1213
|
-
(a(!0), l(m, null, $(v.value.yLabels, (t,
|
|
1205
|
+
}, null, 8, Qa)
|
|
1206
|
+
])) : g("", !0),
|
|
1207
|
+
e.value.xyShowScale ? (a(), l("g", Ka, [
|
|
1208
|
+
(a(!0), l(m, null, $(v.value.yLabels, (t, i) => (a(), l(m, null, [
|
|
1214
1209
|
t.y <= v.value.drawingArea.bottom ? (a(), l("line", {
|
|
1215
1210
|
key: 0,
|
|
1216
1211
|
x1: t.x + 4,
|
|
@@ -1220,7 +1215,7 @@ const Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"]
|
|
|
1220
1215
|
stroke: e.value.xyAxisStroke,
|
|
1221
1216
|
"stroke-width": e.value.xyAxisStrokeWidth,
|
|
1222
1217
|
"stroke-linecap": "round"
|
|
1223
|
-
}, null, 8,
|
|
1218
|
+
}, null, 8, el)) : g("", !0),
|
|
1224
1219
|
t.y <= v.value.drawingArea.bottom ? (a(), l("text", {
|
|
1225
1220
|
key: 1,
|
|
1226
1221
|
x: t.x,
|
|
@@ -1228,143 +1223,143 @@ const Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"]
|
|
|
1228
1223
|
"text-anchor": "end",
|
|
1229
1224
|
"font-size": e.value.xyLabelsYFontSize,
|
|
1230
1225
|
fill: e.value.color
|
|
1231
|
-
},
|
|
1226
|
+
}, P(f(X)(
|
|
1232
1227
|
e.value.formatter,
|
|
1233
1228
|
t.value,
|
|
1234
|
-
|
|
1229
|
+
f(D)({
|
|
1235
1230
|
p: e.value.valuePrefix,
|
|
1236
1231
|
v: t.value,
|
|
1237
1232
|
s: e.value.valueSuffix,
|
|
1238
1233
|
r: e.value.dataLabelRoundingValue
|
|
1239
1234
|
}),
|
|
1240
|
-
{ datapoint: t, seriesIndex:
|
|
1241
|
-
)), 9,
|
|
1235
|
+
{ datapoint: t, seriesIndex: i }
|
|
1236
|
+
)), 9, tl)) : g("", !0)
|
|
1242
1237
|
], 64))), 256))
|
|
1243
|
-
])) :
|
|
1244
|
-
e.value.xyShowScale && e.value.xyPeriods.length ? (a(), l("g",
|
|
1245
|
-
(a(!0), l(m, null, $(e.value.xyPeriods.slice(p.value.start, p.value.end), (t,
|
|
1246
|
-
x1: v.value.drawingArea.left + v.value.slotSize * (
|
|
1247
|
-
x2: v.value.drawingArea.left + v.value.slotSize * (
|
|
1238
|
+
])) : g("", !0),
|
|
1239
|
+
e.value.xyShowScale && e.value.xyPeriods.length ? (a(), l("g", al, [
|
|
1240
|
+
(a(!0), l(m, null, $(e.value.xyPeriods.slice(p.value.start, p.value.end), (t, i) => (a(), l("line", {
|
|
1241
|
+
x1: v.value.drawingArea.left + v.value.slotSize * (i + 1) - v.value.slotSize / 2,
|
|
1242
|
+
x2: v.value.drawingArea.left + v.value.slotSize * (i + 1) - v.value.slotSize / 2,
|
|
1248
1243
|
y1: v.value.drawingArea.bottom,
|
|
1249
1244
|
y2: v.value.drawingArea.bottom + 4,
|
|
1250
1245
|
stroke: e.value.xyAxisStroke,
|
|
1251
1246
|
"stroke-width": e.value.xyAxisStrokeWidth,
|
|
1252
1247
|
"stroke-linecap": "round"
|
|
1253
|
-
}, null, 8,
|
|
1254
|
-
(a(!0), l(m, null, $(e.value.xyPeriods.slice(p.value.start, p.value.end), (t,
|
|
1248
|
+
}, null, 8, ll))), 256)),
|
|
1249
|
+
(a(!0), l(m, null, $(e.value.xyPeriods.slice(p.value.start, p.value.end), (t, i) => (a(), l("text", {
|
|
1255
1250
|
"font-size": e.value.xyLabelsXFontSize,
|
|
1256
1251
|
"text-anchor": e.value.xyPeriodLabelsRotation > 0 ? "start" : e.value.xyPeriodLabelsRotation < 0 ? "end" : "middle",
|
|
1257
|
-
transform: `translate(${v.value.drawingArea.left + v.value.slotSize * (
|
|
1252
|
+
transform: `translate(${v.value.drawingArea.left + v.value.slotSize * (i + 1) - v.value.slotSize / 2}, ${v.value.drawingArea.bottom + e.value.xyLabelsXFontSize + 6}) rotate(${e.value.xyPeriodLabelsRotation})`,
|
|
1258
1253
|
fill: e.value.color
|
|
1259
|
-
},
|
|
1260
|
-
])) :
|
|
1261
|
-
_("g",
|
|
1262
|
-
(a(!0), l(m, null, $(v.value.dataset, (t,
|
|
1254
|
+
}, P(t), 9, ol))), 256))
|
|
1255
|
+
])) : g("", !0),
|
|
1256
|
+
_("g", nl, [
|
|
1257
|
+
(a(!0), l(m, null, $(v.value.dataset, (t, i) => (a(), l(m, null, [
|
|
1263
1258
|
(a(!0), l(m, null, $(t.coordinates, (r, h) => (a(), l("rect", {
|
|
1264
1259
|
x: r.x,
|
|
1265
1260
|
width: r.width <= 0 ? 1e-5 : r.width,
|
|
1266
|
-
height:
|
|
1267
|
-
y:
|
|
1261
|
+
height: f(Z)(r.height <= 0 ? 1e-5 : r.height),
|
|
1262
|
+
y: f(Z)(r.y),
|
|
1268
1263
|
fill: t.color,
|
|
1269
1264
|
stroke: e.value.backgroundColor,
|
|
1270
1265
|
"stroke-width": e.value.barStrokeWidth,
|
|
1271
1266
|
"stroke-linecap": "round",
|
|
1272
|
-
class:
|
|
1267
|
+
class: ce({ "vue-data-ui-bar-animated": e.value.barAnimated && r.value < 0 })
|
|
1273
1268
|
}, [
|
|
1274
|
-
e.value.barAnimated && r.value > 0 && !
|
|
1269
|
+
e.value.barAnimated && r.value > 0 && !f(Ie) && !f(Ee) ? (a(), l("animate", {
|
|
1275
1270
|
key: 0,
|
|
1276
1271
|
attributeName: "height",
|
|
1277
1272
|
from: 0,
|
|
1278
1273
|
to: r.height,
|
|
1279
1274
|
dur: "0.5s"
|
|
1280
|
-
}, null, 8,
|
|
1281
|
-
e.value.barAnimated && r.value > 0 && !
|
|
1275
|
+
}, null, 8, il)) : g("", !0),
|
|
1276
|
+
e.value.barAnimated && r.value > 0 && !f(Ie) && !f(Ee) ? (a(), l("animate", {
|
|
1282
1277
|
key: 1,
|
|
1283
1278
|
attributeName: "y",
|
|
1284
1279
|
from: v.value.absoluteZero,
|
|
1285
1280
|
to: v.value.absoluteZero - r.height,
|
|
1286
1281
|
dur: "0.5s"
|
|
1287
|
-
}, null, 8,
|
|
1288
|
-
], 10,
|
|
1282
|
+
}, null, 8, rl)) : g("", !0)
|
|
1283
|
+
], 10, ul))), 256))
|
|
1289
1284
|
], 64))), 256))
|
|
1290
1285
|
]),
|
|
1291
|
-
e.value.showDataLabels ? (a(), l("g",
|
|
1292
|
-
(a(!0), l(m, null, $(v.value.dataset, (t,
|
|
1286
|
+
e.value.showDataLabels ? (a(), l("g", sl, [
|
|
1287
|
+
(a(!0), l(m, null, $(v.value.dataset, (t, i) => (a(), l(m, null, [
|
|
1293
1288
|
(a(!0), l(m, null, $(t.coordinates, (r, h) => (a(), l("text", {
|
|
1294
1289
|
x: r.x + r.width / 2,
|
|
1295
|
-
y:
|
|
1290
|
+
y: f(Z)(r.y) - e.value.dataLabelFontSize / 2,
|
|
1296
1291
|
"text-anchor": "middle",
|
|
1297
1292
|
"font-size": e.value.dataLabelFontSize,
|
|
1298
1293
|
fill: t.color,
|
|
1299
1294
|
class: "quick-animation"
|
|
1300
|
-
},
|
|
1295
|
+
}, P(f(X)(
|
|
1301
1296
|
e.value.formatter,
|
|
1302
|
-
|
|
1303
|
-
|
|
1297
|
+
f(Z)(r.value),
|
|
1298
|
+
f(D)({
|
|
1304
1299
|
p: e.value.valuePrefix,
|
|
1305
|
-
v:
|
|
1300
|
+
v: f(Z)(r.value),
|
|
1306
1301
|
s: e.value.valueSuffix,
|
|
1307
1302
|
r: e.value.dataLabelRoundingValue
|
|
1308
1303
|
}),
|
|
1309
1304
|
{ datapoint: r, seriesIndex: h }
|
|
1310
|
-
)), 9,
|
|
1305
|
+
)), 9, vl))), 256))
|
|
1311
1306
|
], 64))), 256))
|
|
1312
|
-
])) :
|
|
1313
|
-
_("g",
|
|
1314
|
-
(a(!0), l(m, null, $(v.value.extremes.maxSeries, (t,
|
|
1315
|
-
x: v.value.drawingArea.left +
|
|
1307
|
+
])) : g("", !0),
|
|
1308
|
+
_("g", dl, [
|
|
1309
|
+
(a(!0), l(m, null, $(v.value.extremes.maxSeries, (t, i) => (a(), l("rect", {
|
|
1310
|
+
x: v.value.drawingArea.left + i * v.value.slotSize,
|
|
1316
1311
|
y: v.value.drawingArea.top,
|
|
1317
1312
|
height: v.value.drawingArea.height <= 0 ? 1e-5 : v.value.drawingArea.height,
|
|
1318
1313
|
width: v.value.slotSize <= 0 ? 1e-5 : v.value.slotSize,
|
|
1319
|
-
fill: [
|
|
1320
|
-
style:
|
|
1321
|
-
onMouseenter: (r) => v.value.useTooltip(
|
|
1314
|
+
fill: [W.value, j.value].includes(i) ? e.value.xyHighlighterColor : "transparent",
|
|
1315
|
+
style: R(`opacity:${e.value.xyHighlighterOpacity}`),
|
|
1316
|
+
onMouseenter: (r) => v.value.useTooltip(i),
|
|
1322
1317
|
onMouseleave: s[2] || (s[2] = (r) => v.value.killTooltip()),
|
|
1323
|
-
onClick: (r) =>
|
|
1318
|
+
onClick: (r) => ue("selectDatapoint", v.value.dataset.map((h) => ({
|
|
1324
1319
|
...h,
|
|
1325
|
-
value: h.values[
|
|
1320
|
+
value: h.values[i]
|
|
1326
1321
|
})))
|
|
1327
|
-
}, null, 44,
|
|
1322
|
+
}, null, 44, cl))), 256))
|
|
1328
1323
|
])
|
|
1329
|
-
], 64)) :
|
|
1330
|
-
[A.LINE, A.BAR].includes(z.value) ? (a(), l("g",
|
|
1331
|
-
e.value.xAxisLabel && z.value === A.LINE ? (a(), l("g",
|
|
1324
|
+
], 64)) : g("", !0),
|
|
1325
|
+
[A.LINE, A.BAR].includes(z.value) ? (a(), l("g", hl, [
|
|
1326
|
+
e.value.xAxisLabel && z.value === A.LINE ? (a(), l("g", fl, [
|
|
1332
1327
|
_("text", {
|
|
1333
1328
|
"font-size": e.value.axisLabelsFontSize,
|
|
1334
1329
|
fill: e.value.color,
|
|
1335
1330
|
"text-anchor": "middle",
|
|
1336
1331
|
x: d.value.drawingArea.left + d.value.drawingArea.width / 2,
|
|
1337
1332
|
y: b.value.height - e.value.axisLabelsFontSize / 3
|
|
1338
|
-
},
|
|
1339
|
-
])) :
|
|
1340
|
-
e.value.xAxisLabel && z.value === A.BAR ? (a(), l("g",
|
|
1333
|
+
}, P(e.value.xAxisLabel), 9, gl)
|
|
1334
|
+
])) : g("", !0),
|
|
1335
|
+
e.value.xAxisLabel && z.value === A.BAR ? (a(), l("g", ml, [
|
|
1341
1336
|
_("text", {
|
|
1342
1337
|
"font-size": e.value.axisLabelsFontSize,
|
|
1343
1338
|
fill: e.value.color,
|
|
1344
1339
|
"text-anchor": "middle",
|
|
1345
1340
|
x: v.value.drawingArea.left + v.value.drawingArea.width / 2,
|
|
1346
1341
|
y: b.value.height - e.value.axisLabelsFontSize / 3
|
|
1347
|
-
},
|
|
1348
|
-
])) :
|
|
1349
|
-
e.value.yAxisLabel && z.value === A.LINE ? (a(), l("g",
|
|
1342
|
+
}, P(e.value.xAxisLabel), 9, pl)
|
|
1343
|
+
])) : g("", !0),
|
|
1344
|
+
e.value.yAxisLabel && z.value === A.LINE ? (a(), l("g", yl, [
|
|
1350
1345
|
_("text", {
|
|
1351
1346
|
"font-size": e.value.axisLabelsFontSize,
|
|
1352
1347
|
fill: e.value.color,
|
|
1353
1348
|
transform: `translate(${e.value.axisLabelsFontSize}, ${d.value.drawingArea.top + d.value.drawingArea.height / 2}) rotate(-90)`,
|
|
1354
1349
|
"text-anchor": "middle"
|
|
1355
|
-
},
|
|
1356
|
-
])) :
|
|
1357
|
-
e.value.yAxisLabel && z.value === A.BAR ? (a(), l("g",
|
|
1350
|
+
}, P(e.value.yAxisLabel), 9, xl)
|
|
1351
|
+
])) : g("", !0),
|
|
1352
|
+
e.value.yAxisLabel && z.value === A.BAR ? (a(), l("g", kl, [
|
|
1358
1353
|
_("text", {
|
|
1359
1354
|
"font-size": e.value.axisLabelsFontSize,
|
|
1360
1355
|
fill: e.value.color,
|
|
1361
1356
|
transform: `translate(${e.value.axisLabelsFontSize}, ${v.value.drawingArea.top + v.value.drawingArea.height / 2}) rotate(-90)`,
|
|
1362
1357
|
"text-anchor": "middle"
|
|
1363
|
-
},
|
|
1364
|
-
])) :
|
|
1365
|
-
])) :
|
|
1366
|
-
], 12,
|
|
1367
|
-
z.value ?
|
|
1358
|
+
}, P(e.value.yAxisLabel), 9, bl)
|
|
1359
|
+
])) : g("", !0)
|
|
1360
|
+
])) : g("", !0)
|
|
1361
|
+
], 12, la)) : g("", !0),
|
|
1362
|
+
z.value ? g("", !0) : (a(), Me(f(ge), {
|
|
1368
1363
|
key: 5,
|
|
1369
1364
|
config: {
|
|
1370
1365
|
type: "line",
|
|
@@ -1382,18 +1377,18 @@ const Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"]
|
|
|
1382
1377
|
}
|
|
1383
1378
|
}
|
|
1384
1379
|
}, null, 8, ["config"])),
|
|
1385
|
-
o.$slots.watermark ? (a(), l("div",
|
|
1386
|
-
|
|
1387
|
-
])) :
|
|
1380
|
+
o.$slots.watermark ? (a(), l("div", Sl, [
|
|
1381
|
+
M(o.$slots, "watermark", oe(ne({ isPrinting: f(Ie) || f(Ee) })), void 0, !0)
|
|
1382
|
+
])) : g("", !0),
|
|
1388
1383
|
[A.BAR, A.LINE].includes(z.value) && e.value.zoomXy && x.value.maxSeriesLength > 1 ? (a(), l("div", {
|
|
1389
|
-
key: `slicer_${
|
|
1384
|
+
key: `slicer_${$e.value}`,
|
|
1390
1385
|
ref_key: "quickChartSlicer",
|
|
1391
|
-
ref:
|
|
1386
|
+
ref: Xe
|
|
1392
1387
|
}, [
|
|
1393
|
-
(a(),
|
|
1388
|
+
(a(), Me(Xt, {
|
|
1394
1389
|
ref_key: "slicerComponent",
|
|
1395
|
-
ref:
|
|
1396
|
-
key: `slicer_${
|
|
1390
|
+
ref: re,
|
|
1391
|
+
key: `slicer_${$e.value}`,
|
|
1397
1392
|
background: e.value.zoomColor,
|
|
1398
1393
|
borderColor: e.value.backgroundColor,
|
|
1399
1394
|
fontSize: e.value.zoomFontSize,
|
|
@@ -1412,10 +1407,10 @@ const Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"]
|
|
|
1412
1407
|
minimapSelectedColorOpacity: e.value.zoomMinimap.selectedColorOpacity,
|
|
1413
1408
|
minimapSelectionRadius: e.value.zoomMinimap.selectionRadius,
|
|
1414
1409
|
minimapLineColor: e.value.zoomMinimap.lineColor,
|
|
1415
|
-
minimap:
|
|
1410
|
+
minimap: Ct.value,
|
|
1416
1411
|
minimapIndicatorColor: e.value.zoomMinimap.indicatorColor,
|
|
1417
1412
|
verticalHandles: e.value.zoomMinimap.verticalHandles,
|
|
1418
|
-
minimapSelectedIndex:
|
|
1413
|
+
minimapSelectedIndex: j.value,
|
|
1419
1414
|
start: p.value.start,
|
|
1420
1415
|
"onUpdate:start": s[3] || (s[3] = (t) => p.value.start = t),
|
|
1421
1416
|
end: p.value.end,
|
|
@@ -1424,123 +1419,123 @@ const Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"]
|
|
|
1424
1419
|
refreshEndPoint: e.value.zoomEndIndex !== null ? e.value.zoomEndIndex + 1 : x.value.maxSeriesLength,
|
|
1425
1420
|
enableRangeHandles: e.value.zoomEnableRangeHandles,
|
|
1426
1421
|
enableSelectionDrag: e.value.zoomEnableSelectionDrag,
|
|
1427
|
-
onReset:
|
|
1428
|
-
onTrapMouse:
|
|
1422
|
+
onReset: Lt,
|
|
1423
|
+
onTrapMouse: zt
|
|
1429
1424
|
}, {
|
|
1430
|
-
"reset-action":
|
|
1431
|
-
|
|
1425
|
+
"reset-action": G(({ reset: t }) => [
|
|
1426
|
+
M(o.$slots, "reset-action", oe(ne({ reset: t })), void 0, !0)
|
|
1432
1427
|
]),
|
|
1433
1428
|
_: 3
|
|
1434
1429
|
}, 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"]))
|
|
1435
|
-
])) :
|
|
1430
|
+
])) : g("", !0),
|
|
1436
1431
|
e.value.showLegend ? (a(), l("div", {
|
|
1437
1432
|
key: 8,
|
|
1438
1433
|
ref_key: "quickChartLegend",
|
|
1439
|
-
ref:
|
|
1434
|
+
ref: Ge,
|
|
1440
1435
|
class: "vue-ui-quick-chart-legend",
|
|
1441
|
-
style:
|
|
1436
|
+
style: R(`background:transparent;color:${e.value.color}`)
|
|
1442
1437
|
}, [
|
|
1443
|
-
z.value === A.DONUT ? (a(!0), l(m, { key: 0 }, $(I.value.legend, (t,
|
|
1438
|
+
z.value === A.DONUT ? (a(!0), l(m, { key: 0 }, $(I.value.legend, (t, i) => (a(), l("div", {
|
|
1444
1439
|
class: "vue-ui-quick-chart-legend-item",
|
|
1445
1440
|
onClick: (r) => {
|
|
1446
|
-
|
|
1441
|
+
_t(t, I.value.dataset), ue("selectLegend", t);
|
|
1447
1442
|
},
|
|
1448
|
-
style:
|
|
1443
|
+
style: R(`cursor: ${I.value.legend.length > 1 ? "pointer" : "default"}; opacity:${w.value.includes(t.id) ? "0.5" : "1"}`)
|
|
1449
1444
|
}, [
|
|
1450
|
-
e.value.useCustomLegend ?
|
|
1445
|
+
e.value.useCustomLegend ? M(o.$slots, "legend", Ve({
|
|
1451
1446
|
key: 0,
|
|
1452
1447
|
ref_for: !0
|
|
1453
1448
|
}, { legend: t }), void 0, !0) : (a(), l(m, { key: 1 }, [
|
|
1454
|
-
|
|
1449
|
+
he(f(O), {
|
|
1455
1450
|
name: e.value.legendIcon,
|
|
1456
1451
|
stroke: t.color,
|
|
1457
1452
|
size: e.value.legendIconSize
|
|
1458
1453
|
}, null, 8, ["name", "stroke", "size"]),
|
|
1459
1454
|
_("span", {
|
|
1460
|
-
style:
|
|
1461
|
-
},
|
|
1455
|
+
style: R(`font-size:${e.value.legendFontSize}px`)
|
|
1456
|
+
}, P(t.name), 5),
|
|
1462
1457
|
_("span", {
|
|
1463
|
-
style:
|
|
1464
|
-
},
|
|
1458
|
+
style: R(`font-size:${e.value.legendFontSize}px;font-variant-numeric:tabular-nums`)
|
|
1459
|
+
}, P(w.value.includes(t.id) ? "-" : f(X)(
|
|
1465
1460
|
e.value.formatter,
|
|
1466
1461
|
t.absoluteValue,
|
|
1467
|
-
|
|
1462
|
+
f(D)({
|
|
1468
1463
|
p: e.value.valuePrefix,
|
|
1469
1464
|
v: t.absoluteValue,
|
|
1470
1465
|
s: e.value.valueSuffix,
|
|
1471
1466
|
r: e.value.dataLabelRoundingValue
|
|
1472
1467
|
}),
|
|
1473
|
-
{ datapoint: t, seriesIndex:
|
|
1468
|
+
{ datapoint: t, seriesIndex: i }
|
|
1474
1469
|
)), 5),
|
|
1475
1470
|
w.value.includes(t.id) ? (a(), l("span", {
|
|
1476
1471
|
key: 0,
|
|
1477
|
-
style:
|
|
1478
|
-
}, " ( - % ) ", 4)) :
|
|
1472
|
+
style: R(`font-size:${e.value.legendFontSize}px`)
|
|
1473
|
+
}, " ( - % ) ", 4)) : Pe.value ? (a(), l("span", {
|
|
1479
1474
|
key: 1,
|
|
1480
|
-
style:
|
|
1475
|
+
style: R(`font-size:${e.value.legendFontSize}px; font-variant-numeric: tabular-nums;`)
|
|
1481
1476
|
}, " ( - % ) ", 4)) : (a(), l("span", {
|
|
1482
1477
|
key: 2,
|
|
1483
|
-
style:
|
|
1484
|
-
}, " (" +
|
|
1478
|
+
style: R(`font-size:${e.value.legendFontSize}px; font-variant-numeric: tabular-nums;`)
|
|
1479
|
+
}, " (" + P(f(D)({
|
|
1485
1480
|
v: t.value / I.value.total * 100,
|
|
1486
1481
|
s: "%",
|
|
1487
1482
|
r: e.value.dataLabelRoundingPercentage
|
|
1488
1483
|
})) + ") ", 5))
|
|
1489
1484
|
], 64))
|
|
1490
|
-
], 12,
|
|
1491
|
-
z.value === A.LINE ? (a(!0), l(m, { key: 1 }, $(d.value.legend, (t,
|
|
1485
|
+
], 12, wl))), 256)) : g("", !0),
|
|
1486
|
+
z.value === A.LINE ? (a(!0), l(m, { key: 1 }, $(d.value.legend, (t, i) => (a(), l("div", {
|
|
1492
1487
|
class: "vue-ui-quick-chart-legend-item",
|
|
1493
1488
|
onClick: (r) => {
|
|
1494
|
-
|
|
1489
|
+
ut(t.id, d.value.legend.length - 1), ue("selectLegend", t);
|
|
1495
1490
|
},
|
|
1496
|
-
style:
|
|
1491
|
+
style: R(`cursor: ${d.value.legend.length > 1 ? "pointer" : "default"}; opacity:${w.value.includes(t.id) ? "0.5" : "1"}`)
|
|
1497
1492
|
}, [
|
|
1498
|
-
e.value.useCustomLegend ?
|
|
1493
|
+
e.value.useCustomLegend ? M(o.$slots, "legend", Ve({
|
|
1499
1494
|
key: 0,
|
|
1500
1495
|
ref_for: !0
|
|
1501
1496
|
}, { legend: t }), void 0, !0) : (a(), l(m, { key: 1 }, [
|
|
1502
|
-
|
|
1497
|
+
he(f(O), {
|
|
1503
1498
|
name: e.value.legendIcon,
|
|
1504
1499
|
stroke: t.color,
|
|
1505
1500
|
size: e.value.legendIconSize
|
|
1506
1501
|
}, null, 8, ["name", "stroke", "size"]),
|
|
1507
1502
|
_("span", {
|
|
1508
|
-
style:
|
|
1509
|
-
},
|
|
1503
|
+
style: R(`font-size:${e.value.legendFontSize}px`)
|
|
1504
|
+
}, P(t.name), 5)
|
|
1510
1505
|
], 64))
|
|
1511
|
-
], 12,
|
|
1512
|
-
z.value === A.BAR ? (a(!0), l(m, { key: 2 }, $(v.value.legend, (t,
|
|
1506
|
+
], 12, Al))), 256)) : g("", !0),
|
|
1507
|
+
z.value === A.BAR ? (a(!0), l(m, { key: 2 }, $(v.value.legend, (t, i) => (a(), l("div", {
|
|
1513
1508
|
class: "vue-ui-quick-chart-legend-item",
|
|
1514
1509
|
onClick: (r) => {
|
|
1515
|
-
|
|
1510
|
+
ut(t.id, v.value.legend.length - 1), ue("selectLegend", t);
|
|
1516
1511
|
},
|
|
1517
|
-
style:
|
|
1512
|
+
style: R(`cursor: ${v.value.legend.length > 1 ? "pointer" : "default"}; opacity:${w.value.includes(t.id) ? "0.5" : "1"}`)
|
|
1518
1513
|
}, [
|
|
1519
|
-
e.value.useCustomLegend ?
|
|
1514
|
+
e.value.useCustomLegend ? M(o.$slots, "legend", Ve({
|
|
1520
1515
|
key: 0,
|
|
1521
1516
|
ref_for: !0
|
|
1522
1517
|
}, { legend: t }), void 0, !0) : (a(), l(m, { key: 1 }, [
|
|
1523
|
-
|
|
1518
|
+
he(f(O), {
|
|
1524
1519
|
name: e.value.legendIcon,
|
|
1525
1520
|
stroke: t.color,
|
|
1526
1521
|
size: e.value.legendIconSize
|
|
1527
1522
|
}, null, 8, ["name", "stroke", "size"]),
|
|
1528
1523
|
_("span", {
|
|
1529
|
-
style:
|
|
1530
|
-
},
|
|
1524
|
+
style: R(`font-size:${e.value.legendFontSize}px`)
|
|
1525
|
+
}, P(t.name), 5)
|
|
1531
1526
|
], 64))
|
|
1532
|
-
], 12,
|
|
1533
|
-
], 4)) :
|
|
1527
|
+
], 12, _l))), 256)) : g("", !0)
|
|
1528
|
+
], 4)) : g("", !0),
|
|
1534
1529
|
o.$slots.source ? (a(), l("div", {
|
|
1535
1530
|
key: 9,
|
|
1536
1531
|
ref_key: "source",
|
|
1537
|
-
ref:
|
|
1532
|
+
ref: Ze,
|
|
1538
1533
|
dir: "auto"
|
|
1539
1534
|
}, [
|
|
1540
|
-
|
|
1541
|
-
], 512)) :
|
|
1542
|
-
|
|
1543
|
-
show:
|
|
1535
|
+
M(o.$slots, "source", {}, void 0, !0)
|
|
1536
|
+
], 512)) : g("", !0),
|
|
1537
|
+
he(f(me), {
|
|
1538
|
+
show: be.value.showTooltip && K.value,
|
|
1544
1539
|
backgroundColor: e.value.backgroundColor,
|
|
1545
1540
|
color: e.value.color,
|
|
1546
1541
|
borderRadius: e.value.tooltipBorderRadius,
|
|
@@ -1550,28 +1545,28 @@ const Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"]
|
|
|
1550
1545
|
backgroundOpacity: e.value.tooltipBackgroundOpacity,
|
|
1551
1546
|
position: e.value.tooltipPosition,
|
|
1552
1547
|
offsetY: e.value.tooltipOffsetY,
|
|
1553
|
-
parent:
|
|
1554
|
-
content:
|
|
1555
|
-
isFullscreen:
|
|
1556
|
-
isCustom:
|
|
1548
|
+
parent: pe.value,
|
|
1549
|
+
content: ee.value,
|
|
1550
|
+
isFullscreen: Oe.value,
|
|
1551
|
+
isCustom: f(Ne)(e.value.tooltipCustomFormat)
|
|
1557
1552
|
}, {
|
|
1558
|
-
"tooltip-before":
|
|
1559
|
-
|
|
1553
|
+
"tooltip-before": G(() => [
|
|
1554
|
+
M(o.$slots, "tooltip-before", oe(ne({ ...ye.value })), void 0, !0)
|
|
1560
1555
|
]),
|
|
1561
|
-
"tooltip-after":
|
|
1562
|
-
|
|
1556
|
+
"tooltip-after": G(() => [
|
|
1557
|
+
M(o.$slots, "tooltip-after", oe(ne({ ...ye.value })), void 0, !0)
|
|
1563
1558
|
]),
|
|
1564
1559
|
_: 3
|
|
1565
1560
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"])
|
|
1566
|
-
], 46,
|
|
1567
|
-
|
|
1561
|
+
], 46, aa)) : (a(), l("div", zl, [
|
|
1562
|
+
he(f(O), {
|
|
1568
1563
|
name: "circleCancel",
|
|
1569
1564
|
stroke: "red"
|
|
1570
1565
|
}),
|
|
1571
1566
|
s[8] || (s[8] = _("span", null, "Dataset is not processable", -1))
|
|
1572
1567
|
]));
|
|
1573
1568
|
}
|
|
1574
|
-
},
|
|
1569
|
+
}, Ml = /* @__PURE__ */ Zt(Ll, [["__scopeId", "data-v-1682d0a5"]]);
|
|
1575
1570
|
export {
|
|
1576
|
-
|
|
1571
|
+
Ml as default
|
|
1577
1572
|
};
|