vue-data-ui 3.16.4 → 3.17.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 +64 -46
- package/dist/{PackageVersion-1BHnPIBZ.js → PackageVersion-B3kmPxTR.js} +1 -1
- package/dist/{Slicer-DUycDH_N.js → Slicer-CIHwwuNR.js} +107 -110
- package/dist/SlicerPreview-BIvxyb5W.js +1484 -0
- package/dist/{Tooltip-Bf-kM3_A.js → Tooltip-C8KGyqQk.js} +19 -17
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-bump.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +1 -1
- package/dist/{useConfig-CpJA0VZa.js → useConfig-ChRble71.js} +1 -0
- package/dist/{useObjectBindings-DToqZaRC.js → useObjectBindings-BVFCsss5.js} +1 -1
- package/dist/utils.js +1 -1
- package/dist/{vue-data-ui-D28lrXzG.js → vue-data-ui-BX3I-ZQt.js} +67 -67
- package/dist/vue-data-ui.js +68 -68
- package/dist/{vue-ui-3d-bar-BOrQb1Zm.js → vue-ui-3d-bar-DsSxN6Xl.js} +2 -2
- package/dist/{vue-ui-accordion-BF4v32wv.js → vue-ui-accordion-CnDW2UQL.js} +1 -1
- package/dist/{vue-ui-age-pyramid-txthNdz1.js → vue-ui-age-pyramid-DgAJXx1F.js} +112 -109
- package/dist/{vue-ui-annotator-U961V1Kc.js → vue-ui-annotator-BA4hRkfX.js} +2 -2
- package/dist/{vue-ui-bullet-BboXC-yM.js → vue-ui-bullet-BCuT1zVr.js} +2 -2
- package/dist/{vue-ui-bump-oRhoxgeR.js → vue-ui-bump-BTnwgB5Q.js} +2 -2
- package/dist/{vue-ui-candlestick-RAgVO1Hl.js → vue-ui-candlestick-BMvM7WIc.js} +148 -145
- package/dist/{vue-ui-carousel-table-BFqP05En.js → vue-ui-carousel-table-DCtWIG49.js} +2 -2
- package/dist/{vue-ui-chestnut-ComiA10N.js → vue-ui-chestnut-DJ0R3Aqx.js} +2 -2
- package/dist/{vue-ui-chord-D9dLOTr5.js → vue-ui-chord-BbWToSBq.js} +2 -2
- package/dist/{vue-ui-circle-pack-pqOFrf-X.js → vue-ui-circle-pack-CwuEfQPE.js} +117 -114
- package/dist/{vue-ui-cursor-BmAytuMu.js → vue-ui-cursor-C4MnK_CE.js} +2 -2
- package/dist/{vue-ui-dag-CuJNCfFw.js → vue-ui-dag-HKbeFOit.js} +2 -2
- package/dist/{vue-ui-dashboard-DDuu-xwh.js → vue-ui-dashboard-DTYz-idn.js} +65 -65
- package/dist/{vue-ui-digits-DYKnwhao.js → vue-ui-digits-CrFH4BlD.js} +2 -2
- package/dist/{vue-ui-donut-CbD2wI-a.js → vue-ui-donut-B1C7vzFY.js} +100 -97
- package/dist/{vue-ui-donut-evolution-BdA0k4Eg.js → vue-ui-donut-evolution-BUIQwZ-c.js} +3 -3
- package/dist/{vue-ui-dumbbell-CPbXszE_.js → vue-ui-dumbbell-Bq-X5L24.js} +2 -2
- package/dist/{vue-ui-flow-RyxU8f22.js → vue-ui-flow-DUn9hp_J.js} +141 -138
- package/dist/{vue-ui-funnel-Cda_iN_h.js → vue-ui-funnel-CNF2ULOQ.js} +2 -2
- package/dist/{vue-ui-galaxy-BNUPKqkV.js → vue-ui-galaxy-BzlU9OSU.js} +75 -72
- package/dist/{vue-ui-gauge-CihaQBsc.js → vue-ui-gauge-aF_V6ynK.js} +2 -2
- package/dist/{vue-ui-geo-Da95dDom.js → vue-ui-geo-xaZvHjAP.js} +116 -113
- package/dist/{vue-ui-gizmo-DzHN0cW5.js → vue-ui-gizmo-BGvS_AHj.js} +2 -2
- package/dist/{vue-ui-heatmap-DqQiO1Oz.js → vue-ui-heatmap-B_BmpyVy.js} +191 -188
- package/dist/{vue-ui-history-plot-DqeaH_61.js → vue-ui-history-plot-DsoLp3aL.js} +124 -121
- package/dist/{vue-ui-horizontal-bar-CX6TPm9_.js → vue-ui-horizontal-bar-JVjE88ZW.js} +218 -215
- package/dist/{vue-ui-kpi-OxZqguE4.js → vue-ui-kpi-B-v1zpd4.js} +2 -2
- package/dist/{vue-ui-mini-loader-DSQ9kcmW.js → vue-ui-mini-loader-CPfZsqWP.js} +1 -1
- package/dist/{vue-ui-molecule-CTm126iW.js → vue-ui-molecule-Di9_wsME.js} +61 -58
- package/dist/{vue-ui-mood-radar-C0E6bq6E.js → vue-ui-mood-radar-CetQpdnu.js} +2 -2
- package/dist/{vue-ui-nested-donuts-Bh0ZICKK.js → vue-ui-nested-donuts-Y-UMjjYV.js} +131 -128
- package/dist/{vue-ui-onion-QsjwjlCa.js → vue-ui-onion-MM3QZLzF.js} +142 -139
- package/dist/{vue-ui-parallel-coordinate-plot-wJcWVLAC.js → vue-ui-parallel-coordinate-plot-CcHmB0MQ.js} +91 -88
- package/dist/{vue-ui-quadrant-lJ7T6q87.js → vue-ui-quadrant-CQIMUggy.js} +58 -55
- package/dist/{vue-ui-quick-chart-CEMQYbSC.js → vue-ui-quick-chart-lwGufdDj.js} +235 -232
- package/dist/{vue-ui-radar-d7b-Y40r.js → vue-ui-radar-CS74L65M.js} +117 -114
- package/dist/{vue-ui-rating-hudM2QS0.js → vue-ui-rating-DiLLVHq3.js} +1 -1
- package/dist/{vue-ui-relation-circle-_PoDqM8x.js → vue-ui-relation-circle-D3dO8RTC.js} +2 -2
- package/dist/{vue-ui-ridgeline-BU_EA8-u.js → vue-ui-ridgeline-Dpvq9yp2.js} +2 -2
- package/dist/{vue-ui-rings-BQKtt-FQ.js → vue-ui-rings-D-45pPpZ.js} +122 -119
- package/dist/{vue-ui-scatter-Bh95G7ZD.js → vue-ui-scatter-BzCjfGB9.js} +121 -118
- package/dist/{vue-ui-skeleton-BIw-u4zp.js → vue-ui-skeleton-Dai-bZZw.js} +2 -2
- package/dist/{vue-ui-smiley-CQ_rGHFe.js → vue-ui-smiley-BioqmYwT.js} +1 -1
- package/dist/{vue-ui-spark-trend-D4QxExdm.js → vue-ui-spark-trend-DiC9V0VU.js} +2 -2
- package/dist/{vue-ui-sparkbar-BmiEOs4E.js → vue-ui-sparkbar-D6EsbW6u.js} +2 -2
- package/dist/{vue-ui-sparkgauge-hwEkTICS.js → vue-ui-sparkgauge-BHDXZgJH.js} +2 -2
- package/dist/{vue-ui-sparkhistogram-DEkO_5i3.js → vue-ui-sparkhistogram-DzuOjuNH.js} +2 -2
- package/dist/{vue-ui-sparkline-DFnG0CrA.js → vue-ui-sparkline-B-zOqzrC.js} +288 -276
- package/dist/{vue-ui-sparkstackbar-CQqUPbkU.js → vue-ui-sparkstackbar-bqKzIKSg.js} +147 -144
- package/dist/{vue-ui-stackbar-BcP_TA9R.js → vue-ui-stackbar-DPfxqQUG.js} +435 -424
- package/dist/{vue-ui-stackline-Bnuj-z-G.js → vue-ui-stackline-Ctqe1OuF.js} +627 -609
- package/dist/{vue-ui-strip-plot-B-tszwir.js → vue-ui-strip-plot-Dg2URhvc.js} +72 -69
- package/dist/{vue-ui-table-heatmap-DU7w6PrX.js → vue-ui-table-heatmap-Da6sqBlI.js} +1 -1
- package/dist/{vue-ui-table-sparkline-DHjZyVAg.js → vue-ui-table-sparkline-Bkv6Qz6V.js} +2 -2
- package/dist/{vue-ui-table-BVQyX-Yx.js → vue-ui-table-xrD-xqis.js} +3 -3
- package/dist/{vue-ui-thermometer-ZED83TXZ.js → vue-ui-thermometer-D7VVeA2i.js} +2 -2
- package/dist/{vue-ui-timer-Xg7H9EaE.js → vue-ui-timer-D7XYgZfb.js} +2 -2
- package/dist/{vue-ui-tiremarks-BDoU-BcX.js → vue-ui-tiremarks-i6e8GTI9.js} +2 -2
- package/dist/{vue-ui-treemap-BcS1k9hJ.js → vue-ui-treemap-D8Mbfeuc.js} +220 -217
- package/dist/{vue-ui-waffle-CSvzbC5u.js → vue-ui-waffle-7rVD530d.js} +123 -120
- package/dist/{vue-ui-wheel-BrLKEar8.js → vue-ui-wheel-HQNWtsvJ.js} +2 -2
- package/dist/{vue-ui-word-cloud-D05ZR0u7.js → vue-ui-word-cloud-DFAEbzUa.js} +159 -156
- package/dist/{vue-ui-world-CtPJIK5c.js → vue-ui-world-YvmrdfIm.js} +86 -83
- package/dist/vue-ui-xy-canvas-CEaAQ_tr.js +1819 -0
- package/dist/{vue-ui-xy-5mNo0EDu.js → vue-ui-xy-n4juEarQ.js} +402 -398
- package/package.json +1 -1
- package/dist/SlicerPreview-DTjwV0iY.js +0 -1372
- package/dist/vue-ui-xy-canvas-CaoWw3AU.js +0 -1810
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { defineAsyncComponent as De, ref as L, computed as
|
|
2
|
-
import { j as Da, t as Qt, m as Ua, p as ne, n as Va, a8 as qa, q as Ha, o as Wa, s as gt, a4 as Xa, D as Je, l as G, k as ue, X as ja, a5 as Ga, a6 as Qe, a7 as
|
|
1
|
+
import { defineAsyncComponent as De, ref as L, computed as R, toRefs as Oa, watch as Ue, shallowRef as Yt, onMounted as Fa, onBeforeUnmount as Zt, nextTick as ft, watchEffect as Jt, openBlock as n, createElementBlock as i, normalizeStyle as N, normalizeClass as xe, createElementVNode as $, toDisplayString as B, createBlock as we, createCommentVNode as g, unref as c, withCtx as H, renderSlot as M, normalizeProps as Q, guardReactiveProps as ee, createSlots as Na, createVNode as $e, Fragment as S, renderList as O, Teleport as Ba, mergeProps as ht } from "vue";
|
|
2
|
+
import { j as Da, t as Qt, m as Ua, p as ne, n as Va, a8 as qa, q as Ha, o as Wa, s as gt, a4 as Xa, D as Je, l as G, k as ue, X as ja, a5 as Ga, a6 as Qe, a7 as Te, Z as ea, c as ta, K as he, T as et, U as pt } from "./lib-DBptbyyI.js";
|
|
3
3
|
import { t as aa, u as Ka } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as Ya } from "./useConfig-
|
|
4
|
+
import { u as Ya } from "./useConfig-ChRble71.js";
|
|
5
5
|
import { u as Za, B as Ja } from "./BaseScanner-BhhkKVoj.js";
|
|
6
6
|
import { u as Qa } from "./usePrinter-CEpYU3r5.js";
|
|
7
7
|
import { u as el } from "./useSvgExport-ByUukOZt.js";
|
|
8
|
-
import { u as
|
|
8
|
+
import { u as mt } from "./useNestedProp-Bf5XFbs8.js";
|
|
9
9
|
import { u as tl } from "./useTimeLabels-C-A2uZKi.js";
|
|
10
10
|
import { u as al } from "./useThemeCheck-D1ZYXUwG.js";
|
|
11
11
|
import { u as ll } from "./useChartAccessibility-9icAAmYg.js";
|
|
12
12
|
import { u as ol } from "./useTimeLabelCollider-CIsgDrl9.js";
|
|
13
13
|
import nl from "./img-LXxMLmCg.js";
|
|
14
|
-
import { S as il } from "./Slicer-
|
|
14
|
+
import { S as il } from "./Slicer-CIHwwuNR.js";
|
|
15
15
|
import ul from "./vue_ui_quick_chart-DMCjEjPe.js";
|
|
16
16
|
import { A as rl } from "./A11yDataTable-KcVAX2cP.js";
|
|
17
17
|
import { B as sl } from "./BaseLegendToggle-BQVIawmA.js";
|
|
@@ -21,81 +21,81 @@ const y = {
|
|
|
21
21
|
BAR: "BAR",
|
|
22
22
|
DONUT: "DONUT"
|
|
23
23
|
}, dl = ["SERIE", "SERIES", "DATA", "VALUE", "VALUES", "NUM"];
|
|
24
|
-
function cl({ dataset:
|
|
25
|
-
let q = null, te = null,
|
|
26
|
-
if ((typeof
|
|
27
|
-
if (!hl(
|
|
24
|
+
function cl({ dataset: p, barLineSwitch: F = 6, debug: z = !0 }) {
|
|
25
|
+
let q = null, te = null, pe = 0;
|
|
26
|
+
if ((typeof p == "number" || typeof p == "string") && z && console.warn(`The provided dataset (${p}) is not sufficient to build a chart`), at(p) && (ge(p) && (p.length < F ? q = y.BAR : q = y.LINE, te = p, pe = p.length), tt(p))) {
|
|
27
|
+
if (!hl(p))
|
|
28
28
|
return z && console.warn("The objects in the dataset array have a different data structure. Either keys or value types are different."), !1;
|
|
29
|
-
const lt = Object.keys(
|
|
29
|
+
const lt = Object.keys(p[0]), Ve = Object.values(p[0]);
|
|
30
30
|
if (!lt.some((K) => gl(K)))
|
|
31
31
|
return z && 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;
|
|
32
|
-
la(Ve, (K) => typeof K == "number") && (q = y.DONUT, te =
|
|
32
|
+
la(Ve, (K) => typeof K == "number") && (q = y.DONUT, te = p), la(Ve, (K) => Array.isArray(K) && ge(K)) && (oa(p) > F ? q = y.LINE : q = y.BAR, pe = oa(p), te = p.map((K) => ({
|
|
33
33
|
...K,
|
|
34
|
-
data:
|
|
35
|
-
}))),
|
|
34
|
+
data: pl(K, (ie) => ge(ie))
|
|
35
|
+
}))), p = p.map((K) => na(K)), te = te.map((K) => na(K));
|
|
36
36
|
}
|
|
37
37
|
return {
|
|
38
|
-
dataset:
|
|
38
|
+
dataset: p,
|
|
39
39
|
type: q,
|
|
40
40
|
usableDataset: te,
|
|
41
|
-
maxSeriesLength:
|
|
41
|
+
maxSeriesLength: pe
|
|
42
42
|
};
|
|
43
43
|
}
|
|
44
|
-
function ia(
|
|
45
|
-
return !
|
|
44
|
+
function ia(p) {
|
|
45
|
+
return !p || at(p) && !p.length;
|
|
46
46
|
}
|
|
47
|
-
function at(
|
|
48
|
-
return Array.isArray(
|
|
47
|
+
function at(p) {
|
|
48
|
+
return Array.isArray(p);
|
|
49
49
|
}
|
|
50
|
-
function ge(
|
|
51
|
-
if (!at(
|
|
52
|
-
const F =
|
|
50
|
+
function ge(p) {
|
|
51
|
+
if (!at(p) || ia(p)) return !1;
|
|
52
|
+
const F = p.map((z) => Number(z));
|
|
53
53
|
return ![...new Set(F.flatMap((z) => typeof z == "number" && !isNaN(z)))].includes(!1);
|
|
54
54
|
}
|
|
55
|
-
function tt(
|
|
56
|
-
return !at(
|
|
55
|
+
function tt(p) {
|
|
56
|
+
return !at(p) || ia(p) || !![...new Set(p.flatMap((z) => typeof z == "object" && !Array.isArray(z)))].includes(!1) ? !1 : !p.map((z) => Object.keys(z).length > 0).includes(!1);
|
|
57
57
|
}
|
|
58
|
-
function fl(
|
|
59
|
-
const z = Object.keys(
|
|
58
|
+
function fl(p, F) {
|
|
59
|
+
const z = Object.keys(p).sort(), q = Object.keys(F).sort();
|
|
60
60
|
if (z.length !== q.length)
|
|
61
61
|
return !1;
|
|
62
62
|
for (let te = 0; te < z.length; te += 1) {
|
|
63
|
-
const
|
|
64
|
-
if (
|
|
63
|
+
const pe = z[te], Ee = q[te];
|
|
64
|
+
if (pe !== Ee || typeof p[pe] != typeof F[Ee])
|
|
65
65
|
return !1;
|
|
66
66
|
}
|
|
67
67
|
return !0;
|
|
68
68
|
}
|
|
69
|
-
function hl(
|
|
70
|
-
if (
|
|
71
|
-
for (let F = 0; F <
|
|
72
|
-
for (let z = F + 1; z <
|
|
73
|
-
if (!fl(
|
|
69
|
+
function hl(p) {
|
|
70
|
+
if (p.length <= 1) return !0;
|
|
71
|
+
for (let F = 0; F < p.length; F += 1)
|
|
72
|
+
for (let z = F + 1; z < p.length; z += 1)
|
|
73
|
+
if (!fl(p[F], p[z]))
|
|
74
74
|
return !1;
|
|
75
75
|
return !0;
|
|
76
76
|
}
|
|
77
|
-
function gl(
|
|
78
|
-
return dl.includes(
|
|
77
|
+
function gl(p) {
|
|
78
|
+
return dl.includes(p.toUpperCase());
|
|
79
79
|
}
|
|
80
|
-
function la(
|
|
80
|
+
function la(p, F) {
|
|
81
81
|
let z = [];
|
|
82
|
-
for (let q = 0; q <
|
|
83
|
-
z.push(F(
|
|
82
|
+
for (let q = 0; q < p.length; q += 1)
|
|
83
|
+
z.push(F(p[q]));
|
|
84
84
|
return z.includes(!0);
|
|
85
85
|
}
|
|
86
|
-
function oa(
|
|
87
|
-
return Math.max(...[...
|
|
86
|
+
function oa(p) {
|
|
87
|
+
return Math.max(...[...p].flatMap((F) => Object.values(F).filter((z) => ge(z)).map((z) => z.length)));
|
|
88
88
|
}
|
|
89
|
-
function
|
|
90
|
-
return Object.values(
|
|
89
|
+
function pl(p, F) {
|
|
90
|
+
return Object.values(p).filter((z) => F(z))[0];
|
|
91
91
|
}
|
|
92
|
-
function na(
|
|
92
|
+
function na(p) {
|
|
93
93
|
const F = {};
|
|
94
|
-
for (let z in
|
|
95
|
-
|
|
94
|
+
for (let z in p)
|
|
95
|
+
p.hasOwnProperty(z) && (F[z.toUpperCase()] = p[z]);
|
|
96
96
|
return F;
|
|
97
97
|
}
|
|
98
|
-
const
|
|
98
|
+
const ml = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative" } }, bl = ["xmlns", "aria-describedby", "viewBox"], Sl = ["x", "y", "width", "height"], wl = ["x", "y", "width", "height"], Al = ["width", "height"], Ll = ["id"], _l = ["id"], Cl = ["id"], zl = ["flood-color"], $l = {
|
|
99
99
|
key: 0,
|
|
100
100
|
class: "donut-label-connectors"
|
|
101
101
|
}, Tl = ["d", "stroke", "stroke-width", "filter"], El = ["cx", "cy", "r", "fill", "filter"], Pl = { class: "donut" }, Il = ["d", "fill", "stroke", "stroke-width", "filter"], Ml = ["d", "onMouseenter", "onMouseout", "onClick"], Rl = {
|
|
@@ -122,10 +122,10 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
|
|
|
122
122
|
}, co = ["x", "y", "height", "width", "fill", "onMouseenter", "onMouseleave", "onClick"], fo = {
|
|
123
123
|
key: 0,
|
|
124
124
|
class: "line-grid"
|
|
125
|
-
}, ho = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], go = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"],
|
|
125
|
+
}, ho = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], go = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], po = {
|
|
126
126
|
key: 1,
|
|
127
127
|
class: "line-axis"
|
|
128
|
-
},
|
|
128
|
+
}, mo = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], yo = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], xo = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ko = ["x", "y", "font-size", "fill"], bo = {
|
|
129
129
|
key: 3,
|
|
130
130
|
class: "periodLabels"
|
|
131
131
|
}, So = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], wo = { key: 0 }, Ao = ["font-size", "text-anchor", "fill", "transform"], Lo = ["font-size", "text-anchor", "fill", "transform", "innerHTML"], _o = { class: "plots" }, Co = ["x", "width", "height", "y", "fill", "stroke", "stroke-width"], zo = ["to"], $o = ["from", "to"], To = {
|
|
@@ -165,10 +165,10 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
|
|
|
165
165
|
}
|
|
166
166
|
},
|
|
167
167
|
emits: ["selectDatapoint", "selectLegend", "copyAlt"],
|
|
168
|
-
setup(
|
|
169
|
-
const q = De(() => import("./BaseIcon-Cb3zzG6s.js")), te = De(() => import("./PackageVersion-
|
|
168
|
+
setup(p, { expose: F, emit: z }) {
|
|
169
|
+
const q = De(() => import("./BaseIcon-Cb3zzG6s.js")), te = De(() => import("./PackageVersion-B3kmPxTR.js")), pe = De(() => import("./PenAndPaper-Ct3qJ4lA.js")), Ee = De(() => import("./Tooltip-C8KGyqQk.js")), yt = De(() => import("./UserOptions-rW2fRf3V.js")), { vue_ui_quick_chart: lt } = Ya(), { isThemeValid: Ve, warnInvalidTheme: K } = al(), ie = p, se = L(null), xt = L(null), kt = L(null), bt = L(null), Y = L(Da()), ve = L(!1), Ae = L(null), ke = L(""), ae = L(null), St = L(null), wt = L(null), w = L([]), At = L(0), qe = L(0), Lt = L(!1), Pe = L(null), Ie = L(null), de = L(null), He = L(null), _t = L(null), Ct = L(null);
|
|
170
170
|
L("#FFFFFF");
|
|
171
|
-
const e = L(ut()), ot =
|
|
171
|
+
const e = L(ut()), ot = R(() => !!e.value.debug), Le = R(() => e.value.useCursorPointer), Z = L(null), zt = L({ x: 0, y: 0 }), ce = L("pointer"), nt = L(!1), ua = R(() => Qt({
|
|
172
172
|
userConfig: e.value.skeletonConfig ?? {}
|
|
173
173
|
})), { loading: D, FINAL_DATASET: ra, manualLoading: $t } = Za({
|
|
174
174
|
...Oa(ie),
|
|
@@ -188,12 +188,12 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
|
|
|
188
188
|
defaultConfig: e.value,
|
|
189
189
|
userConfig: ua.value
|
|
190
190
|
})
|
|
191
|
-
}), { svgRef: be } = ll({ config: { text: e.value.title } }), sa =
|
|
191
|
+
}), { svgRef: be } = ll({ config: { text: e.value.title } }), sa = R(() => e.value.showUserOptionsOnChartHover), Tt = R(() => e.value.keepUserOptionsStateOnChartLeave), We = L(!e.value.showUserOptionsOnChartHover), it = L(!1);
|
|
192
192
|
function Et(a = !1) {
|
|
193
193
|
it.value = a, sa.value && (We.value = a);
|
|
194
194
|
}
|
|
195
195
|
function ut() {
|
|
196
|
-
const a =
|
|
196
|
+
const a = mt({
|
|
197
197
|
userConfig: ie.config,
|
|
198
198
|
defaultConfig: lt
|
|
199
199
|
});
|
|
@@ -203,12 +203,12 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
|
|
|
203
203
|
if (!Ve.value(a))
|
|
204
204
|
K(a), r = a;
|
|
205
205
|
else {
|
|
206
|
-
const l =
|
|
206
|
+
const l = mt({
|
|
207
207
|
userConfig: ul[t] || ie.config,
|
|
208
208
|
defaultConfig: a
|
|
209
209
|
});
|
|
210
210
|
r = {
|
|
211
|
-
...
|
|
211
|
+
...mt({
|
|
212
212
|
userConfig: ie.config,
|
|
213
213
|
defaultConfig: l
|
|
214
214
|
}),
|
|
@@ -220,13 +220,13 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
|
|
|
220
220
|
return r;
|
|
221
221
|
}
|
|
222
222
|
Ue(() => ie.config, (a) => {
|
|
223
|
-
D.value || (e.value = ut()), _.value.width = e.value.width, _.value.height = e.value.height, We.value = !e.value.showUserOptionsOnChartHover, Mt(),
|
|
223
|
+
D.value || (e.value = ut()), _.value.width = e.value.width, _.value.height = e.value.height, We.value = !e.value.showUserOptionsOnChartHover, Mt(), _e.value.showTooltip = e.value.showTooltip;
|
|
224
224
|
}, { deep: !0 }), Ue(() => ie.dataset, (a) => {
|
|
225
225
|
A.value = Re.value, k.value.start = 0, k.value.end = A.value.maxSeriesLength, qe.value += 1;
|
|
226
226
|
}, { deep: !0 }), Ue(() => ie.dataset, (a) => {
|
|
227
227
|
Array.isArray(a) && a.length > 0 && ($t.value = !1);
|
|
228
228
|
}, { immediate: !0 });
|
|
229
|
-
const Me =
|
|
229
|
+
const Me = R(() => Va(e.value.customPalette)), re = z, Re = R(() => {
|
|
230
230
|
const a = cl({ debug: ot.value, dataset: qa(ra.value, [
|
|
231
231
|
"serie",
|
|
232
232
|
"series",
|
|
@@ -236,7 +236,7 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
|
|
|
236
236
|
"num"
|
|
237
237
|
]), barLineSwitch: e.value.chartIsBarUnderDatasetLength });
|
|
238
238
|
return !a && ot.value && console.error("VueUiQuickChart : Dataset is not processable"), a;
|
|
239
|
-
}), A = L(Re.value), va =
|
|
239
|
+
}), A = L(Re.value), va = R(() => !!A.value), x = R(() => A.value ? A.value.type : null);
|
|
240
240
|
Ue(() => x.value, (a) => {
|
|
241
241
|
a || Ha({
|
|
242
242
|
componentName: "VueUiQuickChart",
|
|
@@ -248,18 +248,18 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
|
|
|
248
248
|
elementId: `${x.value}_${Y.value}`,
|
|
249
249
|
fileName: e.value.title || x.value,
|
|
250
250
|
options: e.value.userOptionsPrint
|
|
251
|
-
}), da =
|
|
251
|
+
}), da = R(() => e.value.showUserOptions && !e.value.title), _ = L({
|
|
252
252
|
width: e.value.width,
|
|
253
253
|
height: e.value.height
|
|
254
|
-
}),
|
|
254
|
+
}), _e = L({
|
|
255
255
|
showTooltip: e.value.showTooltip
|
|
256
256
|
});
|
|
257
257
|
Ue(e, () => {
|
|
258
|
-
|
|
258
|
+
_e.value = {
|
|
259
259
|
showTooltip: e.value.showTooltip
|
|
260
260
|
};
|
|
261
261
|
}, { immediate: !0 });
|
|
262
|
-
const
|
|
262
|
+
const me = Yt(null), Ce = Yt(null);
|
|
263
263
|
Fa(async () => {
|
|
264
264
|
Lt.value = !0, Mt();
|
|
265
265
|
});
|
|
@@ -278,14 +278,14 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
|
|
|
278
278
|
_.value.width = r, _.value.height = t;
|
|
279
279
|
});
|
|
280
280
|
});
|
|
281
|
-
|
|
281
|
+
me.value && (Ce.value && me.value.unobserve(Ce.value), me.value.disconnect()), me.value = new ResizeObserver(a), Ce.value = se.value.parentNode, me.value.observe(Ce.value);
|
|
282
282
|
}
|
|
283
283
|
Ut();
|
|
284
284
|
}
|
|
285
285
|
Zt(() => {
|
|
286
|
-
|
|
286
|
+
me.value && (Ce.value && me.value.unobserve(Ce.value), me.value.disconnect());
|
|
287
287
|
});
|
|
288
|
-
const ca =
|
|
288
|
+
const ca = R(() => {
|
|
289
289
|
switch (x.value) {
|
|
290
290
|
case y.LINE:
|
|
291
291
|
return `0 0 ${_.value.width <= 0 ? 10 : _.value.width} ${_.value.height <= 0 ? 10 : _.value.height}`;
|
|
@@ -364,7 +364,7 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
|
|
|
364
364
|
function ha(a) {
|
|
365
365
|
le.value = a;
|
|
366
366
|
}
|
|
367
|
-
const Bt =
|
|
367
|
+
const Bt = R(() => e.value.donutThicknessRatio < 0.01 ? 0.01 : e.value.donutThicknessRatio > 0.4 ? 0.4 : e.value.donutThicknessRatio), C = R(() => {
|
|
368
368
|
if (x.value !== y.DONUT) return null;
|
|
369
369
|
const a = A.value.dataset.map((h, T) => ({
|
|
370
370
|
...h,
|
|
@@ -387,13 +387,13 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
|
|
|
387
387
|
return h.proportion * 100 > e.value.donutHideLabelUnderPercentage;
|
|
388
388
|
}
|
|
389
389
|
function l(h, T) {
|
|
390
|
-
const f = Re.value.dataset.find((
|
|
390
|
+
const f = Re.value.dataset.find((m, E) => `donut_${E}` === h).VALUE;
|
|
391
391
|
return Math.abs(String(Number(f.toFixed(0))).length - String(Number(T.toFixed(0))).length);
|
|
392
392
|
}
|
|
393
393
|
function o({ datapoint: h, seriesIndex: T, triggerMode: f = "pointer" }) {
|
|
394
|
-
|
|
394
|
+
Ae.value = { datapoint: h, seriesIndex: T, config: e.value, dataset: a }, ae.value = h.id, Z.value = T, ce.value = f;
|
|
395
395
|
const u = e.value.tooltipCustomFormat;
|
|
396
|
-
if (e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: h, seriesIndex: T }), et(u) &&
|
|
396
|
+
if (e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: h, seriesIndex: T }), et(u) && pt(() => u({
|
|
397
397
|
datapoint: h,
|
|
398
398
|
seriesIndex: T,
|
|
399
399
|
series: a,
|
|
@@ -406,8 +406,8 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
|
|
|
406
406
|
config: e.value
|
|
407
407
|
});
|
|
408
408
|
else {
|
|
409
|
-
let
|
|
410
|
-
|
|
409
|
+
let m = "";
|
|
410
|
+
m += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.tooltipBorderColor};padding-bottom:6px;margin-bottom:3px;">${h.name}</div>`, m += `<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="${h.color}"/></svg>`, m += `<b>${ue(
|
|
411
411
|
e.value.formatter,
|
|
412
412
|
h.value,
|
|
413
413
|
G({
|
|
@@ -417,7 +417,7 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
|
|
|
417
417
|
r: e.value.dataLabelRoundingValue
|
|
418
418
|
}),
|
|
419
419
|
{ datapoint: h, seriesIndex: T }
|
|
420
|
-
)}</b>`,
|
|
420
|
+
)}</b>`, m += `<span>(${G({ v: h.proportion * 100, s: "%", r: e.value.dataLabelRoundingPercentage })})</span></div>`, ke.value = `<div>${m}</div>`;
|
|
421
421
|
}
|
|
422
422
|
ve.value = !0;
|
|
423
423
|
}
|
|
@@ -430,7 +430,7 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
|
|
|
430
430
|
const P = {
|
|
431
431
|
centerX: _.value.width / 2,
|
|
432
432
|
centerY: _.value.height / 2
|
|
433
|
-
}, I = a.filter((h) => !w.value.includes(h.id)).map((h) => h.value || 0).reduce((h, T) => h + T, 0),
|
|
433
|
+
}, I = a.filter((h) => !w.value.includes(h.id)).map((h) => h.value || 0).reduce((h, T) => h + T, 0), W = a.map((h, T) => ({
|
|
434
434
|
...h,
|
|
435
435
|
proportion: (h.value || 0) / I,
|
|
436
436
|
value: h.value || 0,
|
|
@@ -438,8 +438,8 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
|
|
|
438
438
|
shape: "circle"
|
|
439
439
|
})), fe = _.value.width / 2, oe = _.value.height / 2, j = _.value.height * e.value.donutRadiusRatio;
|
|
440
440
|
return {
|
|
441
|
-
dataset:
|
|
442
|
-
legend:
|
|
441
|
+
dataset: W.filter((h) => !w.value.includes(h.id)),
|
|
442
|
+
legend: W,
|
|
443
443
|
drawingArea: P,
|
|
444
444
|
displayArcPercentage: r,
|
|
445
445
|
isArcBigEnough: t,
|
|
@@ -476,16 +476,16 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
|
|
|
476
476
|
async function Ut() {
|
|
477
477
|
await ft(), await ft();
|
|
478
478
|
const { zoomStartIndex: a, zoomEndIndex: r } = e.value, t = Dt.value;
|
|
479
|
-
(a != null || r != null) && t ? (a != null && t.setStartValue(a), r != null && t.setEndValue(
|
|
479
|
+
(a != null || r != null) && t ? (a != null && t.setStartValue(a), r != null && t.setEndValue(pa(r + 1))) : (k.value = {
|
|
480
480
|
start: 0,
|
|
481
481
|
end: A.value.maxSeriesLength
|
|
482
482
|
}, qe.value += 1);
|
|
483
483
|
}
|
|
484
|
-
function
|
|
484
|
+
function pa(a) {
|
|
485
485
|
const r = A.value.maxSeriesLength;
|
|
486
486
|
return a > r ? r : a < 0 || e.value.zoomStartIndex !== null && a < e.value.zoomStartIndex ? e.value.zoomStartIndex !== null ? e.value.zoomStartIndex + 1 : 1 : a;
|
|
487
487
|
}
|
|
488
|
-
const
|
|
488
|
+
const ma = R(() => {
|
|
489
489
|
if (!e.value.zoomMinimap.show || x.value === y.DONUT) return [];
|
|
490
490
|
let a = [];
|
|
491
491
|
ge(A.value.dataset) && (a = A.value.dataset), tt(A.value.dataset) && (a = A.value.dataset.map((o, s) => ({
|
|
@@ -522,10 +522,10 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
|
|
|
522
522
|
}), Zt(() => {
|
|
523
523
|
rt.value = 0;
|
|
524
524
|
});
|
|
525
|
-
const Ye =
|
|
525
|
+
const Ye = R(() => {
|
|
526
526
|
let a = 0, r = 0;
|
|
527
527
|
return de.value && (r = rt.value), a + r;
|
|
528
|
-
}), d =
|
|
528
|
+
}), d = R(() => {
|
|
529
529
|
if (x.value !== y.LINE) return null;
|
|
530
530
|
const a = {
|
|
531
531
|
height: _.value.height,
|
|
@@ -564,28 +564,28 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
|
|
|
564
564
|
color: f.COLOR ? gt(f.COLOR) : Me.value[u + e.value.paletteStartIndex] || ne[u + e.value.paletteStartIndex] || ne[(u + e.value.paletteStartIndex) % ne.length],
|
|
565
565
|
values: f.values.slice(k.value.start, k.value.end),
|
|
566
566
|
absoluteValues: f.values,
|
|
567
|
-
absoluteIndices: f.values.map((
|
|
567
|
+
absoluteIndices: f.values.map((m, E) => E).slice(k.value.start, k.value.end)
|
|
568
568
|
})));
|
|
569
569
|
const o = {
|
|
570
570
|
max: Math.max(...l.filter((f) => !w.value.includes(f.id)).flatMap((f) => f.values)),
|
|
571
571
|
min: Math.min(...l.filter((f) => !w.value.includes(f.id)).flatMap((f) => f.values)),
|
|
572
572
|
maxSeries: Math.max(...l.map((f) => f.values.length))
|
|
573
|
-
}, s = o.max === o.min ? Je(o.min, o.min + 1, e.value.xyScaleSegments) : Je(o.min < 0 ? o.min : 0, o.max < 0 ? 0 : o.max, e.value.xyScaleSegments), b = o.min < 0 ? Math.abs(o.min) : 0, P = o.max < 0 ? t.top : t.bottom - b / (s.max + b) * t.height, I = t.width / o.maxSeries,
|
|
573
|
+
}, s = o.max === o.min ? Je(o.min, o.min + 1, e.value.xyScaleSegments) : Je(o.min < 0 ? o.min : 0, o.max < 0 ? 0 : o.max, e.value.xyScaleSegments), b = o.min < 0 ? Math.abs(o.min) : 0, P = o.max < 0 ? t.top : t.bottom - b / (s.max + b) * t.height, I = t.width / o.maxSeries, W = s.ticks.map((f) => ({
|
|
574
574
|
y: t.bottom - t.height * ((f + b) / (s.max + b)),
|
|
575
575
|
x: t.left - 8,
|
|
576
576
|
value: f
|
|
577
577
|
})), fe = l.map((f, u) => ({
|
|
578
578
|
...f,
|
|
579
579
|
shape: "circle",
|
|
580
|
-
coordinates: f.values.map((
|
|
580
|
+
coordinates: f.values.map((m, E) => ({
|
|
581
581
|
x: t.left + I * (E + 1) - I / 2,
|
|
582
|
-
y: t.bottom - (
|
|
583
|
-
value:
|
|
582
|
+
y: t.bottom - (m + b) / (s.max + b) * t.height,
|
|
583
|
+
value: m
|
|
584
584
|
}))
|
|
585
585
|
})).map((f) => {
|
|
586
586
|
let u = [];
|
|
587
|
-
return f.coordinates.forEach((
|
|
588
|
-
u.push(`${
|
|
587
|
+
return f.coordinates.forEach((m) => {
|
|
588
|
+
u.push(`${m.x},${m.y} `);
|
|
589
589
|
}), {
|
|
590
590
|
...f,
|
|
591
591
|
linePath: u.join(" ")
|
|
@@ -600,24 +600,24 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
|
|
|
600
600
|
}
|
|
601
601
|
function j(f, u = "pointer") {
|
|
602
602
|
ae.value = f, le.value = f, Z.value = f, ce.value = u;
|
|
603
|
-
const
|
|
604
|
-
|
|
603
|
+
const m = oe(f);
|
|
604
|
+
Ae.value = { datapoint: m, seriesIndex: f, config: e.value, dataset: l };
|
|
605
605
|
const E = e.value.tooltipCustomFormat;
|
|
606
|
-
if (e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint:
|
|
607
|
-
datapoint:
|
|
606
|
+
if (e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: m, seriesIndex: f + k.value.start }), et(E) && pt(() => E({
|
|
607
|
+
datapoint: m,
|
|
608
608
|
seriesIndex: f,
|
|
609
609
|
series: l,
|
|
610
610
|
config: e.value
|
|
611
611
|
})))
|
|
612
612
|
ke.value = E({
|
|
613
|
-
datapoint:
|
|
613
|
+
datapoint: m,
|
|
614
614
|
seriesIndex: f,
|
|
615
615
|
series: l,
|
|
616
616
|
config: e.value
|
|
617
617
|
});
|
|
618
618
|
else {
|
|
619
619
|
let U = "";
|
|
620
|
-
J.value[
|
|
620
|
+
J.value[m[0].absoluteIndex] && (U += `<div style="border-bottom:1px solid ${e.value.tooltipBorderColor};padding-bottom:6px;margin-bottom:3px;">${J.value[m[0].absoluteIndex].text}</div>`), m.forEach((V, X) => {
|
|
621
621
|
U += `
|
|
622
622
|
<div style="display:flex; flex-wrap: wrap; align-items:center; gap:3px;">
|
|
623
623
|
<svg viewBox="0 0 12 12" height="14" width="12"><circle cx="6" cy="6" r="6" stroke="none" fill="${V.color}"/></svg>
|
|
@@ -631,7 +631,7 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
|
|
|
631
631
|
s: e.value.valueSuffix,
|
|
632
632
|
r: e.value.dataLabelRoundingValue
|
|
633
633
|
}),
|
|
634
|
-
{ datapoint: V, seriesIndex:
|
|
634
|
+
{ datapoint: V, seriesIndex: X }
|
|
635
635
|
)}
|
|
636
636
|
</b>
|
|
637
637
|
</div>
|
|
@@ -655,12 +655,12 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
|
|
|
655
655
|
drawingArea: t,
|
|
656
656
|
extremes: o,
|
|
657
657
|
slotSize: I,
|
|
658
|
-
yLabels:
|
|
658
|
+
yLabels: W,
|
|
659
659
|
useTooltip: j,
|
|
660
660
|
killTooltip: h,
|
|
661
661
|
selectDatapoint: T
|
|
662
662
|
};
|
|
663
|
-
}), v =
|
|
663
|
+
}), v = R(() => {
|
|
664
664
|
if (x.value !== y.BAR) return null;
|
|
665
665
|
const a = {
|
|
666
666
|
height: _.value.height,
|
|
@@ -684,19 +684,19 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
|
|
|
684
684
|
{
|
|
685
685
|
values: A.value.dataset.slice(k.value.start, k.value.end),
|
|
686
686
|
absoluteValues: A.value.dataset,
|
|
687
|
-
absoluteIndices: A.value.dataset.map((u,
|
|
687
|
+
absoluteIndices: A.value.dataset.map((u, m) => m).slice(k.value.start, k.value.end),
|
|
688
688
|
name: e.value.title,
|
|
689
689
|
color: Me.value[e.value.paletteStartIndex] || ne[e.value.paletteStartIndex],
|
|
690
690
|
id: "bar_0"
|
|
691
691
|
}
|
|
692
|
-
]), tt(A.value.dataset) && (l = A.value.dataset.map((u,
|
|
692
|
+
]), tt(A.value.dataset) && (l = A.value.dataset.map((u, m) => ({
|
|
693
693
|
...u,
|
|
694
694
|
values: u.VALUE || u.DATA || u.SERIE || u.SERIES || u.VALUES || u.NUM || 0,
|
|
695
|
-
name: u.NAME || u.DESCRIPTION || u.TITLE || u.LABEL || `Serie ${
|
|
696
|
-
id: `bar_${
|
|
697
|
-
})).map((u,
|
|
695
|
+
name: u.NAME || u.DESCRIPTION || u.TITLE || u.LABEL || `Serie ${m}`,
|
|
696
|
+
id: `bar_${m}`
|
|
697
|
+
})).map((u, m) => ({
|
|
698
698
|
...u,
|
|
699
|
-
color: u.COLOR ? gt(u.COLOR) : Me.value[
|
|
699
|
+
color: u.COLOR ? gt(u.COLOR) : Me.value[m + e.value.paletteStartIndex] || ne[m + e.value.paletteStartIndex] || ne[(m + e.value.paletteStartIndex) % ne.length],
|
|
700
700
|
values: u.values.slice(k.value.start, k.value.end),
|
|
701
701
|
absoluteValues: u.values,
|
|
702
702
|
absoluteIndices: u.values.map((E, U) => U).slice(k.value.start, k.value.end)
|
|
@@ -705,49 +705,49 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
|
|
|
705
705
|
max: Math.max(...l.filter((u) => !w.value.includes(u.id)).flatMap((u) => u.values)) < 0 ? 0 : Math.max(...l.filter((u) => !w.value.includes(u.id)).flatMap((u) => u.values)) ?? 1,
|
|
706
706
|
min: Math.min(...l.filter((u) => !w.value.includes(u.id)).flatMap((u) => u.values)) ?? 0,
|
|
707
707
|
maxSeries: Math.max(...l.filter((u) => !w.value.includes(u.id)).map((u) => u.values.length)) ?? 0
|
|
708
|
-
}, s = o.min === o.max ? Je(o.min, o.min + 1, e.value.xyScaleSegments) : Je(o.min < 0 ? o.min : 0, o.max, e.value.xyScaleSegments), b = s.min < 0 ? Math.abs(s.min) : 0, P = t.bottom - b / (s.max + b) * t.height, I = t.width / o.maxSeries,
|
|
708
|
+
}, s = o.min === o.max ? Je(o.min, o.min + 1, e.value.xyScaleSegments) : Je(o.min < 0 ? o.min : 0, o.max, e.value.xyScaleSegments), b = s.min < 0 ? Math.abs(s.min) : 0, P = t.bottom - b / (s.max + b) * t.height, I = t.width / o.maxSeries, W = s.ticks.map((u) => ({
|
|
709
709
|
y: t.bottom - t.height * ((u + b) / (s.max + b)),
|
|
710
710
|
x: t.left - 8,
|
|
711
711
|
value: u
|
|
712
|
-
})), fe = l.map((u,
|
|
712
|
+
})), fe = l.map((u, m) => ({
|
|
713
713
|
...u,
|
|
714
714
|
shape: "square",
|
|
715
715
|
coordinates: u.values.map((E, U) => {
|
|
716
|
-
const V = (E + b) / (o.max + b) * t.height,
|
|
716
|
+
const V = (E + b) / (o.max + b) * t.height, X = Math.abs(E) / Math.abs(o.min) * (t.height - P), Ne = b / (o.max + b) * t.height, Be = I / l.filter((Se) => !w.value.includes(Se.id)).length - e.value.barGap / l.filter((Se) => !w.value.includes(Se.id)).length;
|
|
717
717
|
return {
|
|
718
|
-
x: t.left + I * U + Be *
|
|
718
|
+
x: t.left + I * U + Be * m + e.value.barGap / 2,
|
|
719
719
|
y: E > 0 ? t.bottom - V : P,
|
|
720
|
-
height: E > 0 ? V - Ne :
|
|
720
|
+
height: E > 0 ? V - Ne : X,
|
|
721
721
|
value: E,
|
|
722
722
|
width: Be
|
|
723
723
|
};
|
|
724
724
|
})
|
|
725
|
-
})), oe = l.filter((u) => !w.value.includes(u.id)).map((u,
|
|
725
|
+
})), oe = l.filter((u) => !w.value.includes(u.id)).map((u, m) => ({
|
|
726
726
|
...u,
|
|
727
727
|
coordinates: u.values.map((E, U) => {
|
|
728
|
-
const V = (E + b) / (o.max + b) * t.height,
|
|
728
|
+
const V = (E + b) / (o.max + b) * t.height, X = Math.abs(E) / (o.max + b) * t.height, Ne = b / (o.max + b) * t.height, Be = I / l.filter((Se) => !w.value.includes(Se.id)).length - e.value.barGap / l.filter((Se) => !w.value.includes(Se.id)).length;
|
|
729
729
|
return {
|
|
730
|
-
x: t.left + I * U + Be *
|
|
730
|
+
x: t.left + I * U + Be * m + e.value.barGap / 2,
|
|
731
731
|
y: E > 0 ? t.bottom - V : P,
|
|
732
|
-
height: E > 0 ? V - Ne :
|
|
732
|
+
height: E > 0 ? V - Ne : X,
|
|
733
733
|
value: E,
|
|
734
734
|
width: Be
|
|
735
735
|
};
|
|
736
736
|
})
|
|
737
737
|
}));
|
|
738
738
|
function j(u) {
|
|
739
|
-
return l.map((
|
|
740
|
-
...
|
|
741
|
-
value:
|
|
742
|
-
absoluteIndex:
|
|
743
|
-
})).filter((
|
|
739
|
+
return l.map((m) => ({
|
|
740
|
+
...m,
|
|
741
|
+
value: m.values[u],
|
|
742
|
+
absoluteIndex: m.absoluteIndices[u]
|
|
743
|
+
})).filter((m) => !w.value.includes(m.id));
|
|
744
744
|
}
|
|
745
|
-
function h(u,
|
|
746
|
-
ae.value = u, le.value = u, Z.value = u, ce.value =
|
|
745
|
+
function h(u, m = "pointer") {
|
|
746
|
+
ae.value = u, le.value = u, Z.value = u, ce.value = m;
|
|
747
747
|
const E = j(u);
|
|
748
|
-
|
|
748
|
+
Ae.value = { datapoint: E, seriesIndex: u, config: e.value, dataset: l };
|
|
749
749
|
const U = e.value.tooltipCustomFormat;
|
|
750
|
-
if (e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: E, seriesIndex: u + k.value.start }), et(U) &&
|
|
750
|
+
if (e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: E, seriesIndex: u + k.value.start }), et(U) && pt(() => U({
|
|
751
751
|
datapoint: E,
|
|
752
752
|
seriesIndex: u,
|
|
753
753
|
series: l,
|
|
@@ -761,21 +761,21 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
|
|
|
761
761
|
});
|
|
762
762
|
else {
|
|
763
763
|
let V = "";
|
|
764
|
-
J.value[E[0].absoluteIndex] && (V += `<div style="border-bottom:1px solid ${e.value.tooltipBorderColor};padding-bottom:6px;margin-bottom:3px;">${J.value[E[0].absoluteIndex].text}</div>`), E.forEach((
|
|
764
|
+
J.value[E[0].absoluteIndex] && (V += `<div style="border-bottom:1px solid ${e.value.tooltipBorderColor};padding-bottom:6px;margin-bottom:3px;">${J.value[E[0].absoluteIndex].text}</div>`), E.forEach((X, Ne) => {
|
|
765
765
|
V += `
|
|
766
766
|
<div style="display:flex; flex-wrap: wrap; align-items:center; gap:3px;">
|
|
767
|
-
<svg viewBox="0 0 12 12" height="14" width="12"><rect x=0 y="0" width="12" height="12" rx="1" stroke="none" fill="${
|
|
768
|
-
<span>${
|
|
767
|
+
<svg viewBox="0 0 12 12" height="14" width="12"><rect x=0 y="0" width="12" height="12" rx="1" stroke="none" fill="${X.color}"/></svg>
|
|
768
|
+
<span>${X.name}:</span>
|
|
769
769
|
<b>${ue(
|
|
770
770
|
e.value.formatter,
|
|
771
|
-
|
|
771
|
+
X.value,
|
|
772
772
|
G({
|
|
773
773
|
p: e.value.valuePrefix,
|
|
774
|
-
v:
|
|
774
|
+
v: X.value,
|
|
775
775
|
s: e.value.valueSuffix,
|
|
776
776
|
r: e.value.dataLabelRoundingValue
|
|
777
777
|
}),
|
|
778
|
-
{ datapoint:
|
|
778
|
+
{ datapoint: X, seriesIndex: Ne }
|
|
779
779
|
)}
|
|
780
780
|
</b>
|
|
781
781
|
</div>
|
|
@@ -785,12 +785,12 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
|
|
|
785
785
|
ve.value = !0;
|
|
786
786
|
}
|
|
787
787
|
function T(u) {
|
|
788
|
-
const
|
|
789
|
-
e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint:
|
|
788
|
+
const m = j(u);
|
|
789
|
+
e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: m, seriesIndex: u + k.value.start }), ve.value = !1, ae.value = null, le.value = null, Z.value = null, ce.value = "pointer";
|
|
790
790
|
}
|
|
791
791
|
function f(u) {
|
|
792
|
-
const
|
|
793
|
-
e.value.events.datapointClick && e.value.events.datapointClick({ datapoint:
|
|
792
|
+
const m = j(u);
|
|
793
|
+
e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: m, seriesIndex: u + k.value.start }), re("selectDatapoint", m);
|
|
794
794
|
}
|
|
795
795
|
return {
|
|
796
796
|
absoluteZero: P,
|
|
@@ -800,7 +800,7 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
|
|
|
800
800
|
drawingArea: t,
|
|
801
801
|
extremes: o,
|
|
802
802
|
slotSize: I,
|
|
803
|
-
yLabels:
|
|
803
|
+
yLabels: W,
|
|
804
804
|
useTooltip: h,
|
|
805
805
|
killTooltip: T,
|
|
806
806
|
selectDatapoint: f
|
|
@@ -837,8 +837,8 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
|
|
|
837
837
|
const o = (l === 1 / 0 ? 1 : l) / 2, s = [];
|
|
838
838
|
let b = { x: t[0].x, items: [t[0].el] };
|
|
839
839
|
for (let P = 1; P < t.length; P++) {
|
|
840
|
-
const { x: I, el:
|
|
841
|
-
Math.abs(I - b.x) <= o ? b.items.push(
|
|
840
|
+
const { x: I, el: W } = t[P];
|
|
841
|
+
Math.abs(I - b.x) <= o ? b.items.push(W) : (s.push(b), b = { x: I, items: [W] });
|
|
842
842
|
}
|
|
843
843
|
return s.push(b), s;
|
|
844
844
|
}
|
|
@@ -853,28 +853,28 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
|
|
|
853
853
|
labelStep: P = 0,
|
|
854
854
|
intraSeriesStep: I = 0
|
|
855
855
|
} = {}) {
|
|
856
|
-
const
|
|
857
|
-
oe.forEach(xa), qt(h, { fromOpacity: "0", fromScale: "0.75" }), qt(T, { fromOpacity: "0", fromScale: "0.98" }), h.forEach((
|
|
856
|
+
const W = Array.isArray(Pe?.value) ? Pe.value : [Pe?.value].filter(Boolean), fe = Array.isArray(Ie?.value) ? Ie.value : [Ie?.value].filter(Boolean), oe = [...W, ...fe].filter(Boolean), j = se?.value || null, h = j ? Array.from(j.querySelectorAll(".vue-ui-quick-chart-plot")) : [], T = j ? Array.from(j.querySelectorAll(".vue-ui-quick-chart-label")) : [];
|
|
857
|
+
oe.forEach(xa), qt(h, { fromOpacity: "0", fromScale: "0.75" }), qt(T, { fromOpacity: "0", fromScale: "0.98" }), h.forEach((m) => m.classList.remove("quick-animation")), T.forEach((m) => m.classList.remove("quick-animation")), j && j.offsetWidth;
|
|
858
858
|
const f = h.length ? Ht(h, ka) : [], u = T.length ? Ht(T, ba) : [];
|
|
859
859
|
requestAnimationFrame(() => {
|
|
860
860
|
requestAnimationFrame(() => {
|
|
861
|
-
oe.forEach((
|
|
862
|
-
|
|
863
|
-
}), f.forEach((
|
|
864
|
-
|
|
865
|
-
const
|
|
866
|
-
U.style.transition = `opacity ${t}ms ease-out ${
|
|
861
|
+
oe.forEach((m) => {
|
|
862
|
+
m.style.transition = `stroke-dashoffset ${a}ms ${r}`, m.style.strokeDashoffset = "0";
|
|
863
|
+
}), f.forEach((m, E) => {
|
|
864
|
+
m.items.forEach((U, V) => {
|
|
865
|
+
const X = o + E * b + V * I;
|
|
866
|
+
U.style.transition = `opacity ${t}ms ease-out ${X}ms, transform ${t}ms ease-out ${X}ms`, U.style.opacity = "1", U.style.transform = "scale(1)";
|
|
867
867
|
});
|
|
868
|
-
}), u.forEach((
|
|
869
|
-
|
|
870
|
-
const
|
|
871
|
-
U.style.transition = `opacity ${l}ms ease-out ${
|
|
868
|
+
}), u.forEach((m, E) => {
|
|
869
|
+
m.items.forEach((U, V) => {
|
|
870
|
+
const X = s + E * P + V * I;
|
|
871
|
+
U.style.transition = `opacity ${l}ms ease-out ${X}ms, transform ${l}ms ease-out ${X}ms`, U.style.opacity = "1", U.style.transform = "scale(1)";
|
|
872
872
|
});
|
|
873
873
|
});
|
|
874
874
|
});
|
|
875
875
|
});
|
|
876
876
|
}
|
|
877
|
-
const wa =
|
|
877
|
+
const wa = R(() => {
|
|
878
878
|
if (x.value === y.LINE)
|
|
879
879
|
return d.value.legend.map((a) => (Math.min(...a.absoluteValues.map((r) => r ?? 0)), {
|
|
880
880
|
...a,
|
|
@@ -904,7 +904,7 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
|
|
|
904
904
|
a === Wt && (J.value = r);
|
|
905
905
|
})();
|
|
906
906
|
});
|
|
907
|
-
const
|
|
907
|
+
const ze = R(() => {
|
|
908
908
|
const a = e.value.xyPeriodsModulo;
|
|
909
909
|
return e.value.xyPeriods.length ? Math.min(a, [...new Set(J.value.map((r) => r.text))].length) : a;
|
|
910
910
|
}), Ze = L(!1);
|
|
@@ -912,7 +912,7 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
|
|
|
912
912
|
Ze.value = a, At.value += 1;
|
|
913
913
|
}
|
|
914
914
|
function jt() {
|
|
915
|
-
|
|
915
|
+
_e.value.showTooltip = !_e.value.showTooltip;
|
|
916
916
|
}
|
|
917
917
|
const Fe = L(!1);
|
|
918
918
|
function st() {
|
|
@@ -930,7 +930,7 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
|
|
|
930
930
|
aspectRatio: l
|
|
931
931
|
};
|
|
932
932
|
}
|
|
933
|
-
const La =
|
|
933
|
+
const La = R(() => _.value.width), _a = R(() => _.value.height);
|
|
934
934
|
ol({
|
|
935
935
|
timeLabelsEls: de,
|
|
936
936
|
timeLabels: J,
|
|
@@ -943,14 +943,14 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
|
|
|
943
943
|
height: _a.value,
|
|
944
944
|
width: La.value
|
|
945
945
|
});
|
|
946
|
-
const Ca =
|
|
946
|
+
const Ca = R(() => e.value.backgroundColor), za = R(() => x.value === y.DONUT ? C.value.legend : x.value === y.LINE ? d.value.legend : v.value.legend), $a = R(() => ({
|
|
947
947
|
show: e.value.showLegend,
|
|
948
948
|
bold: !1,
|
|
949
949
|
backgroundColor: e.value.backgroundColor,
|
|
950
950
|
color: e.value.color,
|
|
951
951
|
fontSize: e.value.legendFontSize,
|
|
952
952
|
position: e.value.legendPosition
|
|
953
|
-
})), Ta =
|
|
953
|
+
})), Ta = R(() => ({
|
|
954
954
|
text: e.value.title,
|
|
955
955
|
color: e.value.color,
|
|
956
956
|
fontSize: e.value.titleFontSize,
|
|
@@ -997,7 +997,7 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
|
|
|
997
997
|
function vt(a, r) {
|
|
998
998
|
(a.key === "Enter" || a.key === " ") && (a.preventDefault(), r());
|
|
999
999
|
}
|
|
1000
|
-
const ye =
|
|
1000
|
+
const ye = R(() => x.value === y.DONUT ? C.value?.chart?.length ?? 0 : x.value === y.LINE ? d.value?.extremes?.maxSeries ?? 0 : x.value === y.BAR ? v.value?.extremes?.maxSeries ?? 0 : 0);
|
|
1001
1001
|
function Ia() {
|
|
1002
1002
|
Z.value = null, nt.value = !0;
|
|
1003
1003
|
}
|
|
@@ -1015,9 +1015,9 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
|
|
|
1015
1015
|
if (l) {
|
|
1016
1016
|
if (Z.value === null) return;
|
|
1017
1017
|
if (x.value === y.DONUT) {
|
|
1018
|
-
const
|
|
1019
|
-
if (!
|
|
1020
|
-
C.value.selectDatapoint({ datapoint:
|
|
1018
|
+
const W = C.value?.chart?.[Z.value];
|
|
1019
|
+
if (!W) return;
|
|
1020
|
+
C.value.selectDatapoint({ datapoint: W, seriesIndex: Z.value });
|
|
1021
1021
|
return;
|
|
1022
1022
|
}
|
|
1023
1023
|
if (x.value === y.LINE) {
|
|
@@ -1033,10 +1033,10 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
|
|
|
1033
1033
|
let s = Z.value;
|
|
1034
1034
|
const b = le.value, P = s !== null && s >= 0 && s < ye.value, I = b !== null && b >= 0 && b < ye.value;
|
|
1035
1035
|
if (P ? t ? (s += 1, s >= ye.value && (s = 0)) : r && (s -= 1, s < 0 && (s = ye.value - 1)) : I ? (s = t ? b + 1 : b - 1, s >= ye.value && (s = 0), s < 0 && (s = ye.value - 1)) : t ? s = 0 : s = ye.value - 1, x.value === y.DONUT) {
|
|
1036
|
-
const
|
|
1037
|
-
if (!
|
|
1036
|
+
const W = C.value?.chart?.[s];
|
|
1037
|
+
if (!W) return;
|
|
1038
1038
|
dt(s), C.value.useTooltip({
|
|
1039
|
-
datapoint:
|
|
1039
|
+
datapoint: W,
|
|
1040
1040
|
seriesIndex: s,
|
|
1041
1041
|
triggerMode: "keyboard"
|
|
1042
1042
|
});
|
|
@@ -1054,7 +1054,7 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
|
|
|
1054
1054
|
if (x.value === y.DONUT) {
|
|
1055
1055
|
const o = C.value?.chart?.[a];
|
|
1056
1056
|
if (!o) return;
|
|
1057
|
-
r =
|
|
1057
|
+
r = Te(o, !0).x, t = Qe(o);
|
|
1058
1058
|
}
|
|
1059
1059
|
if (x.value === y.LINE) {
|
|
1060
1060
|
const o = d.value?.drawingArea, s = d.value?.slotSize;
|
|
@@ -1072,7 +1072,7 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
|
|
|
1072
1072
|
y: l.top + t / _.value.height * l.height
|
|
1073
1073
|
};
|
|
1074
1074
|
}
|
|
1075
|
-
const ct =
|
|
1075
|
+
const ct = R(() => {
|
|
1076
1076
|
if (x.value === y.DONUT) {
|
|
1077
1077
|
const a = (C.value?.dataset ?? []).map((r) => {
|
|
1078
1078
|
const t = C.value?.total ? G({
|
|
@@ -1160,32 +1160,32 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
|
|
|
1160
1160
|
notice: e.value.a11y.translations.tableAvailable,
|
|
1161
1161
|
caption: e.value.a11y.translations.tableCaption
|
|
1162
1162
|
}, null, 8, ["uid", "head", "body", "notice", "caption"])) : g("", !0),
|
|
1163
|
-
e.value.userOptionsButtons.annotator ? (n(), we(c(
|
|
1163
|
+
e.value.userOptionsButtons.annotator ? (n(), we(c(pe), {
|
|
1164
1164
|
key: 1,
|
|
1165
1165
|
svgRef: c(be),
|
|
1166
1166
|
backgroundColor: e.value.backgroundColor,
|
|
1167
1167
|
color: e.value.color,
|
|
1168
1168
|
active: Fe.value,
|
|
1169
|
-
isCursorPointer:
|
|
1169
|
+
isCursorPointer: Le.value,
|
|
1170
1170
|
onClose: st
|
|
1171
1171
|
}, {
|
|
1172
|
-
"annotator-action-close":
|
|
1173
|
-
|
|
1172
|
+
"annotator-action-close": H(() => [
|
|
1173
|
+
M(a.$slots, "annotator-action-close", {}, void 0, !0)
|
|
1174
1174
|
]),
|
|
1175
|
-
"annotator-action-color":
|
|
1176
|
-
|
|
1175
|
+
"annotator-action-color": H(({ color: t }) => [
|
|
1176
|
+
M(a.$slots, "annotator-action-color", Q(ee({ color: t })), void 0, !0)
|
|
1177
1177
|
]),
|
|
1178
|
-
"annotator-action-draw":
|
|
1179
|
-
|
|
1178
|
+
"annotator-action-draw": H(({ mode: t }) => [
|
|
1179
|
+
M(a.$slots, "annotator-action-draw", Q(ee({ mode: t })), void 0, !0)
|
|
1180
1180
|
]),
|
|
1181
|
-
"annotator-action-undo":
|
|
1182
|
-
|
|
1181
|
+
"annotator-action-undo": H(({ disabled: t }) => [
|
|
1182
|
+
M(a.$slots, "annotator-action-undo", Q(ee({ disabled: t })), void 0, !0)
|
|
1183
1183
|
]),
|
|
1184
|
-
"annotator-action-redo":
|
|
1185
|
-
|
|
1184
|
+
"annotator-action-redo": H(({ disabled: t }) => [
|
|
1185
|
+
M(a.$slots, "annotator-action-redo", Q(ee({ disabled: t })), void 0, !0)
|
|
1186
1186
|
]),
|
|
1187
|
-
"annotator-action-delete":
|
|
1188
|
-
|
|
1187
|
+
"annotator-action-delete": H(({ disabled: t }) => [
|
|
1188
|
+
M(a.$slots, "annotator-action-delete", Q(ee({ disabled: t })), void 0, !0)
|
|
1189
1189
|
]),
|
|
1190
1190
|
_: 3
|
|
1191
1191
|
}, 8, ["svgRef", "backgroundColor", "color", "active", "isCursorPointer"])) : g("", !0),
|
|
@@ -1211,7 +1211,7 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
|
|
|
1211
1211
|
hasFullscreen: e.value.userOptionsButtons.fullscreen,
|
|
1212
1212
|
hasAltCopy: e.value.userOptionsButtons.altCopy,
|
|
1213
1213
|
hasXls: !1,
|
|
1214
|
-
isTooltip:
|
|
1214
|
+
isTooltip: _e.value.showTooltip,
|
|
1215
1215
|
isFullscreen: Ze.value,
|
|
1216
1216
|
titles: { ...e.value.userOptionsButtonTitles },
|
|
1217
1217
|
chartElement: se.value,
|
|
@@ -1220,7 +1220,7 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
|
|
|
1220
1220
|
isAnnotation: Fe.value,
|
|
1221
1221
|
callbacks: e.value.userOptionsCallbacks,
|
|
1222
1222
|
printScale: e.value.userOptionsPrint.scale,
|
|
1223
|
-
isCursorPointer:
|
|
1223
|
+
isCursorPointer: Le.value,
|
|
1224
1224
|
onToggleFullscreen: Xt,
|
|
1225
1225
|
onGeneratePdf: c(Pt),
|
|
1226
1226
|
onGenerateImage: c(It),
|
|
@@ -1234,57 +1234,57 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
|
|
|
1234
1234
|
}, Na({ _: 2 }, [
|
|
1235
1235
|
a.$slots.menuIcon ? {
|
|
1236
1236
|
name: "menuIcon",
|
|
1237
|
-
fn:
|
|
1238
|
-
|
|
1237
|
+
fn: H(({ isOpen: t, color: l }) => [
|
|
1238
|
+
M(a.$slots, "menuIcon", Q(ee({ isOpen: t, color: l })), void 0, !0)
|
|
1239
1239
|
]),
|
|
1240
1240
|
key: "0"
|
|
1241
1241
|
} : void 0,
|
|
1242
1242
|
a.$slots.optionTooltip ? {
|
|
1243
1243
|
name: "optionTooltip",
|
|
1244
|
-
fn:
|
|
1245
|
-
|
|
1244
|
+
fn: H(() => [
|
|
1245
|
+
M(a.$slots, "optionTooltip", {}, void 0, !0)
|
|
1246
1246
|
]),
|
|
1247
1247
|
key: "1"
|
|
1248
1248
|
} : void 0,
|
|
1249
1249
|
a.$slots.optionPdf ? {
|
|
1250
1250
|
name: "optionPdf",
|
|
1251
|
-
fn:
|
|
1252
|
-
|
|
1251
|
+
fn: H(() => [
|
|
1252
|
+
M(a.$slots, "optionPdf", {}, void 0, !0)
|
|
1253
1253
|
]),
|
|
1254
1254
|
key: "2"
|
|
1255
1255
|
} : void 0,
|
|
1256
1256
|
a.$slots.optionImg ? {
|
|
1257
1257
|
name: "optionImg",
|
|
1258
|
-
fn:
|
|
1259
|
-
|
|
1258
|
+
fn: H(() => [
|
|
1259
|
+
M(a.$slots, "optionImg", {}, void 0, !0)
|
|
1260
1260
|
]),
|
|
1261
1261
|
key: "3"
|
|
1262
1262
|
} : void 0,
|
|
1263
1263
|
a.$slots.optionSvg ? {
|
|
1264
1264
|
name: "optionSvg",
|
|
1265
|
-
fn:
|
|
1266
|
-
|
|
1265
|
+
fn: H(() => [
|
|
1266
|
+
M(a.$slots, "optionSvg", {}, void 0, !0)
|
|
1267
1267
|
]),
|
|
1268
1268
|
key: "4"
|
|
1269
1269
|
} : void 0,
|
|
1270
1270
|
a.$slots.optionFullscreen ? {
|
|
1271
1271
|
name: "optionFullscreen",
|
|
1272
|
-
fn:
|
|
1273
|
-
|
|
1272
|
+
fn: H(({ toggleFullscreen: t, isFullscreen: l }) => [
|
|
1273
|
+
M(a.$slots, "optionFullscreen", Q(ee({ toggleFullscreen: t, isFullscreen: l })), void 0, !0)
|
|
1274
1274
|
]),
|
|
1275
1275
|
key: "5"
|
|
1276
1276
|
} : void 0,
|
|
1277
1277
|
a.$slots.optionAnnotator ? {
|
|
1278
1278
|
name: "optionAnnotator",
|
|
1279
|
-
fn:
|
|
1280
|
-
|
|
1279
|
+
fn: H(({ toggleAnnotator: t, isAnnotator: l }) => [
|
|
1280
|
+
M(a.$slots, "optionAnnotator", Q(ee({ toggleAnnotator: t, isAnnotator: l })), void 0, !0)
|
|
1281
1281
|
]),
|
|
1282
1282
|
key: "6"
|
|
1283
1283
|
} : void 0,
|
|
1284
1284
|
a.$slots.optionAltCopy ? {
|
|
1285
1285
|
name: "optionAltCopy",
|
|
1286
|
-
fn:
|
|
1287
|
-
|
|
1286
|
+
fn: H(({ altCopy: t }) => [
|
|
1287
|
+
M(a.$slots, "optionAltCopy", Q(ee({ altCopy: t })), void 0, !0)
|
|
1288
1288
|
]),
|
|
1289
1289
|
key: "7"
|
|
1290
1290
|
} : void 0
|
|
@@ -1313,7 +1313,7 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
|
|
|
1313
1313
|
onBlur: Ma,
|
|
1314
1314
|
onKeydown: Ra
|
|
1315
1315
|
}, [
|
|
1316
|
-
|
|
1316
|
+
$e(c(te)),
|
|
1317
1317
|
a.$slots["chart-background"] && x.value === y.BAR ? (n(), i("foreignObject", {
|
|
1318
1318
|
key: 0,
|
|
1319
1319
|
x: v.value.drawingArea.left,
|
|
@@ -1324,7 +1324,7 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
|
|
|
1324
1324
|
pointerEvents: "none"
|
|
1325
1325
|
}
|
|
1326
1326
|
}, [
|
|
1327
|
-
|
|
1327
|
+
M(a.$slots, "chart-background", {}, void 0, !0)
|
|
1328
1328
|
], 8, Sl)) : g("", !0),
|
|
1329
1329
|
a.$slots["chart-background"] && x.value === y.LINE ? (n(), i("foreignObject", {
|
|
1330
1330
|
key: 1,
|
|
@@ -1336,7 +1336,7 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
|
|
|
1336
1336
|
pointerEvents: "none"
|
|
1337
1337
|
}
|
|
1338
1338
|
}, [
|
|
1339
|
-
|
|
1339
|
+
M(a.$slots, "chart-background", {}, void 0, !0)
|
|
1340
1340
|
], 8, wl)) : g("", !0),
|
|
1341
1341
|
a.$slots["chart-background"] && x.value === y.DONUT ? (n(), i("foreignObject", {
|
|
1342
1342
|
key: 2,
|
|
@@ -1348,7 +1348,7 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
|
|
|
1348
1348
|
pointerEvents: "none"
|
|
1349
1349
|
}
|
|
1350
1350
|
}, [
|
|
1351
|
-
|
|
1351
|
+
M(a.$slots, "chart-background", {}, void 0, !0)
|
|
1352
1352
|
], 8, Al)) : g("", !0),
|
|
1353
1353
|
$("defs", null, [
|
|
1354
1354
|
$("filter", {
|
|
@@ -1423,7 +1423,7 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
|
|
|
1423
1423
|
(n(!0), i(S, null, O(C.value.chart, (t, l) => (n(), i(S, null, [
|
|
1424
1424
|
C.value.isArcBigEnough(t) ? (n(), i("circle", {
|
|
1425
1425
|
key: 0,
|
|
1426
|
-
cx: c(
|
|
1426
|
+
cx: c(Te)(t).x,
|
|
1427
1427
|
cy: c(Qe)(t) - 3.7,
|
|
1428
1428
|
fill: t.color,
|
|
1429
1429
|
stroke: e.value.backgroundColor,
|
|
@@ -1433,8 +1433,8 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
|
|
|
1433
1433
|
}, null, 8, Ol)) : g("", !0),
|
|
1434
1434
|
C.value.isArcBigEnough(t) ? (n(), i("text", {
|
|
1435
1435
|
key: 1,
|
|
1436
|
-
"text-anchor": c(
|
|
1437
|
-
x: c(
|
|
1436
|
+
"text-anchor": c(Te)(t, !0, 20).anchor,
|
|
1437
|
+
x: c(Te)(t, !0).x,
|
|
1438
1438
|
y: c(Qe)(t),
|
|
1439
1439
|
fill: e.value.color,
|
|
1440
1440
|
"font-size": e.value.dataLabelFontSize,
|
|
@@ -1452,8 +1452,8 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
|
|
|
1452
1452
|
)) + ") ", 9, Fl)) : g("", !0),
|
|
1453
1453
|
C.value.isArcBigEnough(t, !0, 20) ? (n(), i("text", {
|
|
1454
1454
|
key: 2,
|
|
1455
|
-
"text-anchor": c(
|
|
1456
|
-
x: c(
|
|
1455
|
+
"text-anchor": c(Te)(t).anchor,
|
|
1456
|
+
x: c(Te)(t, !0).x,
|
|
1457
1457
|
y: c(Qe)(t) + e.value.dataLabelFontSize,
|
|
1458
1458
|
fill: e.value.color,
|
|
1459
1459
|
"font-size": e.value.dataLabelFontSize,
|
|
@@ -1566,7 +1566,7 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
|
|
|
1566
1566
|
], 512)) : g("", !0),
|
|
1567
1567
|
e.value.xyShowScale && e.value.xyPeriods.length ? (n(), i("g", Yl, [
|
|
1568
1568
|
(n(!0), i(S, null, O(J.value.map((t) => t.text), (t, l) => (n(), i(S, null, [
|
|
1569
|
-
!e.value.xyPeriodsShowOnlyAtModulo || e.value.xyPeriodsShowOnlyAtModulo && l % Math.floor((k.value.end - k.value.start) /
|
|
1569
|
+
!e.value.xyPeriodsShowOnlyAtModulo || e.value.xyPeriodsShowOnlyAtModulo && l % Math.floor((k.value.end - k.value.start) / ze.value) === 0 || k.value.end - k.value.start <= ze.value ? (n(), i("line", {
|
|
1570
1570
|
key: 0,
|
|
1571
1571
|
x1: d.value.drawingArea.left + d.value.slotSize * (l + 1) - d.value.slotSize / 2,
|
|
1572
1572
|
x2: d.value.drawingArea.left + d.value.slotSize * (l + 1) - d.value.slotSize / 2,
|
|
@@ -1582,7 +1582,7 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
|
|
|
1582
1582
|
ref: de
|
|
1583
1583
|
}, [
|
|
1584
1584
|
(n(!0), i(S, null, O(J.value.map((t) => t.text), (t, l) => (n(), i(S, null, [
|
|
1585
|
-
!e.value.xyPeriodsShowOnlyAtModulo || e.value.xyPeriodsShowOnlyAtModulo && l % Math.floor((k.value.end - k.value.start) /
|
|
1585
|
+
!e.value.xyPeriodsShowOnlyAtModulo || e.value.xyPeriodsShowOnlyAtModulo && l % Math.floor((k.value.end - k.value.start) / ze.value) === 0 || k.value.end - k.value.start <= ze.value ? (n(), i("g", Jl, [
|
|
1586
1586
|
String(t).includes(`
|
|
1587
1587
|
`) ? (n(), i("text", {
|
|
1588
1588
|
key: 1,
|
|
@@ -1736,7 +1736,7 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
|
|
|
1736
1736
|
"stroke-linecap": "round"
|
|
1737
1737
|
}, null, 8, go))), 256)) : g("", !0)
|
|
1738
1738
|
])) : g("", !0),
|
|
1739
|
-
e.value.xyShowAxis ? (n(), i("g",
|
|
1739
|
+
e.value.xyShowAxis ? (n(), i("g", po, [
|
|
1740
1740
|
$("line", {
|
|
1741
1741
|
x1: v.value.drawingArea.left,
|
|
1742
1742
|
x2: v.value.drawingArea.left,
|
|
@@ -1745,7 +1745,7 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
|
|
|
1745
1745
|
stroke: e.value.xyAxisStroke,
|
|
1746
1746
|
"stroke-width": e.value.xyAxisStrokeWidth,
|
|
1747
1747
|
"stroke-linecap": "round"
|
|
1748
|
-
}, null, 8,
|
|
1748
|
+
}, null, 8, mo),
|
|
1749
1749
|
$("line", {
|
|
1750
1750
|
x1: v.value.drawingArea.left,
|
|
1751
1751
|
x2: v.value.drawingArea.right,
|
|
@@ -1808,7 +1808,7 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
|
|
|
1808
1808
|
ref: de
|
|
1809
1809
|
}, [
|
|
1810
1810
|
(n(!0), i(S, null, O(J.value.map((t) => t.text), (t, l) => (n(), i(S, null, [
|
|
1811
|
-
!e.value.xyPeriodsShowOnlyAtModulo || e.value.xyPeriodsShowOnlyAtModulo && l % Math.floor((k.value.end - k.value.start) /
|
|
1811
|
+
!e.value.xyPeriodsShowOnlyAtModulo || e.value.xyPeriodsShowOnlyAtModulo && l % Math.floor((k.value.end - k.value.start) / ze.value) === 0 || k.value.end - k.value.start <= ze.value ? (n(), i("g", wo, [
|
|
1812
1812
|
String(t).includes(`
|
|
1813
1813
|
`) ? (n(), i("text", {
|
|
1814
1814
|
key: 1,
|
|
@@ -1956,11 +1956,11 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
|
|
|
1956
1956
|
])) : g("", !0)
|
|
1957
1957
|
], 44, bl)) : g("", !0),
|
|
1958
1958
|
a.$slots.hint ? (n(), i("div", Bo, [
|
|
1959
|
-
|
|
1959
|
+
M(a.$slots, "hint", Q(ee({ hint: e.value.a11y.translations.keyboardNavigation, isVisible: nt.value })), void 0, !0)
|
|
1960
1960
|
])) : g("", !0)
|
|
1961
1961
|
]),
|
|
1962
1962
|
a.$slots.watermark ? (n(), i("div", Do, [
|
|
1963
|
-
|
|
1963
|
+
M(a.$slots, "watermark", Q(ee({ isPrinting: c(Xe) || c(je) })), void 0, !0)
|
|
1964
1964
|
])) : g("", !0),
|
|
1965
1965
|
[y.BAR, y.LINE].includes(x.value) && e.value.zoomXy && A.value.maxSeriesLength > 1 ? (n(), i("div", {
|
|
1966
1966
|
key: `slicer_${qe.value}`,
|
|
@@ -1989,7 +1989,7 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
|
|
|
1989
1989
|
minimapSelectedColorOpacity: e.value.zoomMinimap.selectedColorOpacity,
|
|
1990
1990
|
minimapSelectionRadius: e.value.zoomMinimap.selectionRadius,
|
|
1991
1991
|
minimapLineColor: e.value.zoomMinimap.lineColor,
|
|
1992
|
-
minimap:
|
|
1992
|
+
minimap: ma.value,
|
|
1993
1993
|
minimapIndicatorColor: e.value.zoomMinimap.indicatorColor,
|
|
1994
1994
|
verticalHandles: e.value.zoomMinimap.verticalHandles,
|
|
1995
1995
|
minimapSelectedIndex: le.value,
|
|
@@ -2018,8 +2018,8 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
|
|
|
2018
2018
|
onReset: ga,
|
|
2019
2019
|
onTrapMouse: ha
|
|
2020
2020
|
}, {
|
|
2021
|
-
"reset-action":
|
|
2022
|
-
|
|
2021
|
+
"reset-action": H(({ reset: t }) => [
|
|
2022
|
+
M(a.$slots, "reset-action", Q(ee({ reset: t })), void 0, !0)
|
|
2023
2023
|
]),
|
|
2024
2024
|
_: 3
|
|
2025
2025
|
}, 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", "minimapCompact", "minimapMerged", "allMinimaps", "minimapFrameColor", "additionalMinimapHeight", "handleType", "handleWidth", "handleBorderWidth", "handleIconColor", "handleBorderColor", "handleFill", "focusOnDrag", "focusRangeRatio", "maxWidth"]))
|
|
@@ -2044,7 +2044,7 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
|
|
|
2044
2044
|
color: e.value.legendSelectAllToggleColor,
|
|
2045
2045
|
fontSize: e.value.legendFontSize,
|
|
2046
2046
|
checked: w.value.length > 0,
|
|
2047
|
-
isCursorPointer:
|
|
2047
|
+
isCursorPointer: Le.value,
|
|
2048
2048
|
onToggle: fa
|
|
2049
2049
|
}, null, 8, ["backgroundColor", "color", "fontSize", "checked", "isCursorPointer"])) : g("", !0),
|
|
2050
2050
|
x.value === y.DONUT ? (n(!0), i(S, { key: 1 }, O(C.value.legend, (t, l) => (n(), i("div", {
|
|
@@ -2052,7 +2052,7 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
|
|
|
2052
2052
|
onClick: (o) => {
|
|
2053
2053
|
Nt(t, C.value.dataset), re("selectLegend", t);
|
|
2054
2054
|
},
|
|
2055
|
-
style: N(`cursor: ${C.value.legend.length > 1 &&
|
|
2055
|
+
style: N(`cursor: ${C.value.legend.length > 1 && Le.value ? "pointer" : "default"}; opacity:${w.value.includes(t.id) ? "0.5" : "1"}`),
|
|
2056
2056
|
role: "button",
|
|
2057
2057
|
tabindex: "0",
|
|
2058
2058
|
onKeydown: (o) => {
|
|
@@ -2061,11 +2061,11 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
|
|
|
2061
2061
|
});
|
|
2062
2062
|
}
|
|
2063
2063
|
}, [
|
|
2064
|
-
e.value.useCustomLegend ?
|
|
2064
|
+
e.value.useCustomLegend ? M(a.$slots, "legend", ht({
|
|
2065
2065
|
key: 0,
|
|
2066
2066
|
ref_for: !0
|
|
2067
2067
|
}, { legend: t }), void 0, !0) : (n(), i(S, { key: 1 }, [
|
|
2068
|
-
|
|
2068
|
+
$e(c(q), {
|
|
2069
2069
|
name: e.value.legendIcon,
|
|
2070
2070
|
stroke: t.color,
|
|
2071
2071
|
size: e.value.legendIconSize
|
|
@@ -2107,7 +2107,7 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
|
|
|
2107
2107
|
onClick: (o) => {
|
|
2108
2108
|
Ge(t.id, d.value.legend.length - 1), re("selectLegend", t);
|
|
2109
2109
|
},
|
|
2110
|
-
style: N(`cursor: ${d.value.legend.length > 1 &&
|
|
2110
|
+
style: N(`cursor: ${d.value.legend.length > 1 && Le.value ? "pointer" : "default"}; opacity:${w.value.includes(t.id) ? "0.5" : "1"}`),
|
|
2111
2111
|
role: "button",
|
|
2112
2112
|
tabindex: "0",
|
|
2113
2113
|
onKeydown: (o) => {
|
|
@@ -2116,11 +2116,11 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
|
|
|
2116
2116
|
});
|
|
2117
2117
|
}
|
|
2118
2118
|
}, [
|
|
2119
|
-
e.value.useCustomLegend ?
|
|
2119
|
+
e.value.useCustomLegend ? M(a.$slots, "legend", ht({
|
|
2120
2120
|
key: 0,
|
|
2121
2121
|
ref_for: !0
|
|
2122
2122
|
}, { legend: t }), void 0, !0) : (n(), i(S, { key: 1 }, [
|
|
2123
|
-
|
|
2123
|
+
$e(c(q), {
|
|
2124
2124
|
name: e.value.legendIcon,
|
|
2125
2125
|
stroke: t.color,
|
|
2126
2126
|
size: e.value.legendIconSize
|
|
@@ -2135,7 +2135,7 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
|
|
|
2135
2135
|
onClick: (o) => {
|
|
2136
2136
|
Ge(t.id, v.value.legend.length - 1), re("selectLegend", t);
|
|
2137
2137
|
},
|
|
2138
|
-
style: N(`cursor: ${v.value.legend.length > 1 &&
|
|
2138
|
+
style: N(`cursor: ${v.value.legend.length > 1 && Le.value ? "pointer" : "default"}; opacity:${w.value.includes(t.id) ? "0.5" : "1"}`),
|
|
2139
2139
|
role: "button",
|
|
2140
2140
|
tabindex: "0",
|
|
2141
2141
|
onKeydown: (o) => {
|
|
@@ -2144,11 +2144,11 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
|
|
|
2144
2144
|
});
|
|
2145
2145
|
}
|
|
2146
2146
|
}, [
|
|
2147
|
-
e.value.useCustomLegend ?
|
|
2147
|
+
e.value.useCustomLegend ? M(a.$slots, "legend", ht({
|
|
2148
2148
|
key: 0,
|
|
2149
2149
|
ref_for: !0
|
|
2150
2150
|
}, { legend: t }), void 0, !0) : (n(), i(S, { key: 1 }, [
|
|
2151
|
-
|
|
2151
|
+
$e(c(q), {
|
|
2152
2152
|
name: e.value.legendIcon,
|
|
2153
2153
|
stroke: t.color,
|
|
2154
2154
|
size: e.value.legendIconSize
|
|
@@ -2166,11 +2166,11 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
|
|
|
2166
2166
|
ref: St,
|
|
2167
2167
|
dir: "auto"
|
|
2168
2168
|
}, [
|
|
2169
|
-
|
|
2169
|
+
M(a.$slots, "source", {}, void 0, !0)
|
|
2170
2170
|
], 512)) : g("", !0),
|
|
2171
|
-
|
|
2171
|
+
$e(c(Ee), {
|
|
2172
2172
|
teleportTo: e.value.tooltipTeleportTo,
|
|
2173
|
-
show:
|
|
2173
|
+
show: _e.value.showTooltip && ve.value,
|
|
2174
2174
|
backgroundColor: e.value.backgroundColor,
|
|
2175
2175
|
color: e.value.color,
|
|
2176
2176
|
borderRadius: e.value.tooltipBorderRadius,
|
|
@@ -2191,26 +2191,29 @@ const pl = ["id"], yl = ["id"], xl = ["id"], kl = { style: { position: "relative
|
|
|
2191
2191
|
isA11yMode: ce.value === "keyboard",
|
|
2192
2192
|
a11yPosition: zt.value
|
|
2193
2193
|
}, {
|
|
2194
|
-
"tooltip-before":
|
|
2195
|
-
|
|
2194
|
+
"tooltip-before": H(() => [
|
|
2195
|
+
M(a.$slots, "tooltip-before", Q(ee({ ...Ae.value })), void 0, !0)
|
|
2196
2196
|
]),
|
|
2197
|
-
|
|
2198
|
-
|
|
2197
|
+
tooltip: H(() => [
|
|
2198
|
+
M(a.$slots, "tooltip", Q(ee({ ...Ae.value })), void 0, !0)
|
|
2199
|
+
]),
|
|
2200
|
+
"tooltip-after": H(() => [
|
|
2201
|
+
M(a.$slots, "tooltip-after", Q(ee({ ...Ae.value })), void 0, !0)
|
|
2199
2202
|
]),
|
|
2200
2203
|
_: 3
|
|
2201
2204
|
}, 8, ["teleportTo", "show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "smoothForce", "smoothSnapThreshold", "backdropFilter", "isA11yMode", "a11yPosition"]),
|
|
2202
|
-
|
|
2205
|
+
M(a.$slots, "skeleton", {}, () => [
|
|
2203
2206
|
c(D) ? (n(), we(Ja, { key: 0 })) : g("", !0)
|
|
2204
2207
|
], !0)
|
|
2205
|
-
], 46,
|
|
2206
|
-
|
|
2208
|
+
], 46, ml)) : (n(), i("div", Wo, [
|
|
2209
|
+
$e(c(q), {
|
|
2207
2210
|
name: "circleCancel",
|
|
2208
2211
|
stroke: "red"
|
|
2209
2212
|
}),
|
|
2210
2213
|
r[5] || (r[5] = $("span", null, "Dataset is not processable", -1))
|
|
2211
2214
|
]));
|
|
2212
2215
|
}
|
|
2213
|
-
}, cn = /* @__PURE__ */ vl(Xo, [["__scopeId", "data-v-
|
|
2216
|
+
}, cn = /* @__PURE__ */ vl(Xo, [["__scopeId", "data-v-728cea32"]]);
|
|
2214
2217
|
export {
|
|
2215
2218
|
cn as default
|
|
2216
2219
|
};
|