vue-data-ui 3.10.0 → 3.10.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Arrow-ChEFq9U7.js → Arrow-DWr41GRU.js} +1 -1
- package/dist/{BaseDraggableDialog-O2XSymlZ.js → BaseDraggableDialog-BQYfVNu8.js} +2 -2
- package/dist/{BaseIcon-B9bGT7HU.js → BaseIcon-4uOct8re.js} +18 -18
- package/dist/{BaseZoomControls-B4rpv4Kk.js → BaseZoomControls-Cb-Qq9_R.js} +2 -2
- package/dist/{ColorPicker-VKEPgk58.js → ColorPicker-Culsjrcr.js} +2 -2
- package/dist/{DataTable-DEwh__D8.js → DataTable-DyoDzNNY.js} +2 -2
- package/dist/{Legend-D2xmnFPH.js → Legend-DN5UJOBH.js} +2 -2
- package/dist/{NonSvgPenAndPaper-CxbOhI52.js → NonSvgPenAndPaper-CNMLfAk3.js} +3 -3
- package/dist/{PackageVersion-C-JOGZBL.js → PackageVersion-CQxJyGQr.js} +1 -1
- package/dist/{PenAndPaper-CulSakut.js → PenAndPaper-LTuSTmWE.js} +3 -3
- package/dist/{Shape-12_eh8zD.js → Shape-PzdCMGsP.js} +1 -1
- package/dist/{Slicer-EQH4YKwe.js → Slicer-DckZxvyx.js} +2 -2
- package/dist/{SlicerPreview-Ddfxn6es.js → SlicerPreview-CSc_cazO.js} +2 -2
- package/dist/{SparkTooltip-D_OsZuuE.js → SparkTooltip-BLTVhvm2.js} +1 -1
- package/dist/{Title-B5L2jweB.js → Title-NgeRXqRA.js} +1 -1
- package/dist/{Tooltip-DpfUZbt7.js → Tooltip-B6qvABDL.js} +1 -1
- package/dist/{UserOptions-5pXc4J-c.js → UserOptions-CX7Xsusk.js} +2 -2
- package/dist/components/arrow.js +1 -1
- 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-icon.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/{dom-to-png-WXGPkYro.js → dom-to-png-CzjUUVZt.js} +1 -1
- package/dist/{img-CqYIrJ8I.js → img-6fNF_rG0.js} +1 -1
- package/dist/{labelUtils-B3mOOEke.js → labelUtils-D6Y-n7cD.js} +1 -1
- package/dist/{lib-2iaAPQ_c.js → lib-CVHM9FhP.js} +188 -140
- package/dist/{pdf-Q5BpWMSa.js → pdf-Dd_6HF9L.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +3 -1
- package/dist/{useAutoSizeLabelsInsideViewbox-DmpzKQ9i.js → useAutoSizeLabelsInsideViewbox-CqeJ1kZA.js} +1 -1
- package/dist/{useNestedProp-BCt4DMkT.js → useNestedProp-Ckf_2P_V.js} +1 -1
- package/dist/{usePrinter-ChVMpU2f.js → usePrinter-1NmjuP-i.js} +2 -2
- package/dist/{useThemeCheck-DGJ31Vi5.js → useThemeCheck-D1ZYXUwG.js} +5 -3
- package/dist/{vue-data-ui-CwfD22m4.js → vue-data-ui-GAruO_UT.js} +68 -68
- package/dist/vue-data-ui.js +73 -73
- package/dist/{vue-ui-3d-bar-DAr11NEe.js → vue-ui-3d-bar-t_E9saCp.js} +222 -218
- package/dist/{vue-ui-accordion-CAXPDm31.js → vue-ui-accordion-DFKaB_05.js} +3 -3
- package/dist/{vue-ui-age-pyramid-KApqwR11.js → vue-ui-age-pyramid-DKlTGZ6m.js} +177 -173
- package/dist/{vue-ui-annotator-D-x-F49X.js → vue-ui-annotator-CNkhGqqn.js} +7 -7
- package/dist/{vue-ui-bullet-D3ZOexko.js → vue-ui-bullet-C4FXVy8_.js} +135 -131
- package/dist/{vue-ui-bump-BJUb7fNz.js → vue-ui-bump-BJZrexv4.js} +264 -260
- package/dist/{vue-ui-candlestick-BBwYtV1-.js → vue-ui-candlestick-P7w1YVT6.js} +304 -300
- package/dist/{vue-ui-carousel-table-DrzQReuc.js → vue-ui-carousel-table-DQk4RoWo.js} +4 -4
- package/dist/{vue-ui-chestnut-ByqOYfmS.js → vue-ui-chestnut-Co8x4We0.js} +326 -322
- package/dist/{vue-ui-chord-3k3MxDxL.js → vue-ui-chord-NjSRzToa.js} +171 -167
- package/dist/{vue-ui-circle-pack-U-fW2dBh.js → vue-ui-circle-pack-CwrgCRKX.js} +162 -158
- package/dist/{vue-ui-cursor-PxyKLKT4.js → vue-ui-cursor-Bh5-9JWm.js} +3 -3
- package/dist/{vue-ui-dag-BgB4pBHg.js → vue-ui-dag-BBGpjSzH.js} +451 -447
- package/dist/{vue-ui-dashboard-Bb0qmaCv.js → vue-ui-dashboard-ekbwnmce.js} +68 -68
- package/dist/{vue-ui-digits-DWt_f5c-.js → vue-ui-digits-DnsDASGD.js} +2 -2
- package/dist/{vue-ui-donut-Ce4aLPAr.js → vue-ui-donut-DvLh8qa2.js} +467 -463
- package/dist/{vue-ui-donut-evolution-Dn8sOIr-.js → vue-ui-donut-evolution-BiLhAVY8.js} +354 -350
- package/dist/{vue-ui-dumbbell-Bu8opmEM.js → vue-ui-dumbbell-C2OWcZvr.js} +240 -236
- package/dist/{vue-ui-flow-CavJTxRY.js → vue-ui-flow-Cp2le1ur.js} +171 -167
- package/dist/{vue-ui-funnel-CWSmOHEt.js → vue-ui-funnel-ClGo8z4y.js} +133 -129
- package/dist/{vue-ui-galaxy-CqeQVqG-.js → vue-ui-galaxy-DTAl_-40.js} +146 -142
- package/dist/{vue-ui-gauge-DnU9JZ0v.js → vue-ui-gauge-DOG6-lgt.js} +175 -171
- package/dist/{vue-ui-geo-Dg8W127k.js → vue-ui-geo-BpWyHXwd.js} +123 -119
- package/dist/{vue-ui-gizmo-BfyTXxBY.js → vue-ui-gizmo-BMq5dzK4.js} +3 -3
- package/dist/{vue-ui-heatmap-D_JOEm4-.js → vue-ui-heatmap-Bp9HI0Zo.js} +231 -227
- package/dist/{vue-ui-history-plot-DgMc6-9X.js → vue-ui-history-plot-CVM1jz1X.js} +252 -248
- package/dist/{vue-ui-horizontal-bar-BPX7YBdV.js → vue-ui-horizontal-bar-B0UY6b-O.js} +325 -321
- package/dist/{vue-ui-kpi-BqCS6onP.js → vue-ui-kpi-DgSmfw2q.js} +3 -3
- package/dist/{vue-ui-mini-loader-CcXuJ3iD.js → vue-ui-mini-loader-D8z1PwRZ.js} +2 -2
- package/dist/{vue-ui-molecule-CX-pPp0u.js → vue-ui-molecule-CUppdL5f.js} +183 -179
- package/dist/{vue-ui-mood-radar-3nHlZfrB.js → vue-ui-mood-radar-QN25VSAw.js} +162 -158
- package/dist/{vue-ui-nested-donuts-cz79gQlJ.js → vue-ui-nested-donuts-ywWUDYjT.js} +178 -174
- package/dist/{vue-ui-onion-yseOpPeu.js → vue-ui-onion-DmwZ1gg_.js} +185 -181
- package/dist/{vue-ui-parallel-coordinate-plot-Dqg_vJCM.js → vue-ui-parallel-coordinate-plot-Bz2ROYRD.js} +195 -191
- package/dist/{vue-ui-quadrant-D4UDUZoN.js → vue-ui-quadrant-CUpWOWF2.js} +243 -239
- package/dist/{vue-ui-quick-chart-BMDrPkAJ.js → vue-ui-quick-chart-CXrm_rzI.js} +295 -291
- package/dist/{vue-ui-radar-B_wSZVDb.js → vue-ui-radar-BqLjOOnJ.js} +168 -164
- package/dist/{vue-ui-rating-CBedYtOp.js → vue-ui-rating-W6I6pacT.js} +2 -2
- package/dist/{vue-ui-relation-circle-DydZv4Pf.js → vue-ui-relation-circle-CrYmJHLI.js} +185 -181
- package/dist/vue-ui-ridgeline-ZbmQXJxt.js +1306 -0
- package/dist/{vue-ui-rings-BdYnuNS7.js → vue-ui-rings-BxYoBfvT.js} +299 -295
- package/dist/{vue-ui-scatter-QISpPygj.js → vue-ui-scatter-BhJkoRBS.js} +354 -350
- package/dist/{vue-ui-skeleton-CdpD_Zjk.js → vue-ui-skeleton-Bg1akQqn.js} +3 -3
- package/dist/{vue-ui-smiley-CTeSlfZa.js → vue-ui-smiley-B23r7AWp.js} +2 -2
- package/dist/{vue-ui-spark-trend-Jgho2QgC.js → vue-ui-spark-trend-CJtfXMSj.js} +120 -116
- package/dist/{vue-ui-sparkbar-CLqcdko6.js → vue-ui-sparkbar-DHJdmNDm.js} +84 -80
- package/dist/{vue-ui-sparkgauge-BA3NDOhA.js → vue-ui-sparkgauge-ANfPLNuD.js} +81 -77
- package/dist/{vue-ui-sparkhistogram-fb8hGuCn.js → vue-ui-sparkhistogram-CIfYUXVZ.js} +109 -105
- package/dist/{vue-ui-sparkline-BWdvoOYj.js → vue-ui-sparkline-Bm0OmFUB.js} +184 -174
- package/dist/{vue-ui-sparkstackbar-DbbdPqIp.js → vue-ui-sparkstackbar-CCnnfsqG.js} +99 -95
- package/dist/{vue-ui-stackbar-MYly9iMc.js → vue-ui-stackbar-CK5is5H7.js} +376 -372
- package/dist/{vue-ui-stackline-L0q_GsYv.js → vue-ui-stackline-CFv2OUCL.js} +349 -345
- package/dist/{vue-ui-strip-plot-B7W1EZdY.js → vue-ui-strip-plot-CJ1Zkrhq.js} +248 -244
- package/dist/{vue-ui-table-WSRRp_nE.js → vue-ui-table-CMyYl8lE.js} +5 -5
- package/dist/{vue-ui-table-heatmap-Bqr4Eubg.js → vue-ui-table-heatmap-8kBdXO2V.js} +6 -6
- package/dist/{vue-ui-table-sparkline-UhaEz2jD.js → vue-ui-table-sparkline-Bo4nuBEx.js} +174 -170
- package/dist/{vue-ui-thermometer-BFwmgdMO.js → vue-ui-thermometer-h3voYVGJ.js} +133 -129
- package/dist/{vue-ui-timer-CoLOwKwP.js → vue-ui-timer-CazY_Z4R.js} +5 -5
- package/dist/{vue-ui-tiremarks-CvXOa3z4.js → vue-ui-tiremarks-CTa_gpit.js} +156 -152
- package/dist/{vue-ui-treemap-C8HbMbin.js → vue-ui-treemap-B6AuOtaA.js} +161 -157
- package/dist/{vue-ui-waffle-rS6LRZNV.js → vue-ui-waffle-DnEBC07H.js} +185 -181
- package/dist/{vue-ui-wheel-BGle0ni9.js → vue-ui-wheel-DFU2vMsP.js} +125 -121
- package/dist/{vue-ui-word-cloud-Dj1lJdtL.js → vue-ui-word-cloud-DgY58NEj.js} +179 -175
- package/dist/{vue-ui-world-C7d5vM6d.js → vue-ui-world-xEUaTJDk.js} +6 -6
- package/dist/{vue-ui-xy-canvas-CoBMpLeE.js → vue-ui-xy-canvas-eHl--9m7.js} +213 -209
- package/dist/{vue-ui-xy-De-FDHwh.js → vue-ui-xy-spqKboQb.js} +697 -693
- package/package.json +1 -1
- package/dist/vue-ui-ridgeline-BGerPYkY.js +0 -1302
|
@@ -1,162 +1,166 @@
|
|
|
1
|
-
import { defineAsyncComponent as Fe, ref as A, computed as M, toRefs as
|
|
2
|
-
import { c as
|
|
3
|
-
import { t as Ht, u as
|
|
4
|
-
import { u as
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as
|
|
7
|
-
import { u as
|
|
8
|
-
import { u as
|
|
9
|
-
import { u as
|
|
10
|
-
import { u as
|
|
11
|
-
import { u as
|
|
12
|
-
import
|
|
13
|
-
import { S as
|
|
14
|
-
import { _ as
|
|
1
|
+
import { defineAsyncComponent as Fe, ref as A, computed as M, toRefs as za, watch as Te, shallowRef as Bt, onMounted as $a, onBeforeUnmount as Dt, nextTick as lt, watchEffect as Ea, createElementBlock as n, openBlock as o, normalizeStyle as D, normalizeClass as fe, createBlock as Ie, createCommentVNode as m, createElementVNode as z, createVNode as Se, unref as s, withCtx as W, renderSlot as R, normalizeProps as Q, guardReactiveProps as K, createSlots as Fa, toDisplayString as N, Fragment as x, renderList as F, Teleport as Ta, mergeProps as ot } from "vue";
|
|
2
|
+
import { c as Ia, t as Oa, i as Pa, j as ee, a1 as Nt, k as Ma, a7 as Ra, g as Ba, o as Da, m as nt, a3 as Na, N as Ge, X as Ua, a4 as Va, a5 as it, a6 as Oe, a as se, d as Y, $ as Ut, A as Vt, U as ve, y as We, _ as rt } from "./lib-CVHM9FhP.js";
|
|
3
|
+
import { t as Ht, u as Ha } from "./useResponsive-DfdjqQps.js";
|
|
4
|
+
import { u as qa, a as ut } from "./useNestedProp-Ckf_2P_V.js";
|
|
5
|
+
import { u as Ga, B as Wa } from "./BaseScanner-BMpwQAfz.js";
|
|
6
|
+
import { u as ja } from "./usePrinter-1NmjuP-i.js";
|
|
7
|
+
import { u as Xa } from "./useSvgExport-ByUukOZt.js";
|
|
8
|
+
import { u as Ya } from "./useTimeLabels-DKoynYae.js";
|
|
9
|
+
import { u as Za } from "./useThemeCheck-D1ZYXUwG.js";
|
|
10
|
+
import { u as Ja } from "./useChartAccessibility-9icAAmYg.js";
|
|
11
|
+
import { u as Qa } from "./useTimeLabelCollider-CIsgDrl9.js";
|
|
12
|
+
import Ka from "./img-6fNF_rG0.js";
|
|
13
|
+
import { S as el } from "./Slicer-DckZxvyx.js";
|
|
14
|
+
import { _ as tl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
15
15
|
const w = {
|
|
16
16
|
LINE: "LINE",
|
|
17
17
|
BAR: "BAR",
|
|
18
18
|
DONUT: "DONUT"
|
|
19
|
-
},
|
|
20
|
-
function
|
|
19
|
+
}, al = ["SERIE", "SERIES", "DATA", "VALUE", "VALUES", "NUM"];
|
|
20
|
+
function ll({ dataset: f, barLineSwitch: O = 6, debug: C = !0 }) {
|
|
21
21
|
let V = null, X = null, ce = 0;
|
|
22
|
-
if ((typeof
|
|
23
|
-
if (!
|
|
22
|
+
if ((typeof f == "number" || typeof f == "string") && C && console.warn(`The provided dataset (${f}) is not sufficient to build a chart`), Xe(f) && (de(f) && (f.length < O ? V = w.BAR : V = w.LINE, X = f, ce = f.length), je(f))) {
|
|
23
|
+
if (!nl(f))
|
|
24
24
|
return C && console.warn("The objects in the dataset array have a different data structure. Either keys or value types are different."), !1;
|
|
25
|
-
const Ye = Object.keys(
|
|
26
|
-
if (!Ye.some((j) =>
|
|
25
|
+
const Ye = Object.keys(f[0]), Pe = Object.values(f[0]);
|
|
26
|
+
if (!Ye.some((j) => il(j)))
|
|
27
27
|
return C && 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;
|
|
28
|
-
qt(Pe, (j) => typeof j == "number") && (V = w.DONUT, X =
|
|
28
|
+
qt(Pe, (j) => typeof j == "number") && (V = w.DONUT, X = f), qt(Pe, (j) => Array.isArray(j) && de(j)) && (Gt(f) > O ? V = w.LINE : V = w.BAR, ce = Gt(f), X = f.map((j) => ({
|
|
29
29
|
...j,
|
|
30
|
-
data:
|
|
31
|
-
}))),
|
|
30
|
+
data: rl(j, (q) => de(q))
|
|
31
|
+
}))), f = f.map((j) => Wt(j)), X = X.map((j) => Wt(j));
|
|
32
32
|
}
|
|
33
33
|
return {
|
|
34
|
-
dataset:
|
|
34
|
+
dataset: f,
|
|
35
35
|
type: V,
|
|
36
36
|
usableDataset: X,
|
|
37
37
|
maxSeriesLength: ce
|
|
38
38
|
};
|
|
39
39
|
}
|
|
40
|
-
function jt(
|
|
41
|
-
return !
|
|
40
|
+
function jt(f) {
|
|
41
|
+
return !f || Xe(f) && !f.length;
|
|
42
42
|
}
|
|
43
|
-
function Xe(
|
|
44
|
-
return Array.isArray(
|
|
43
|
+
function Xe(f) {
|
|
44
|
+
return Array.isArray(f);
|
|
45
45
|
}
|
|
46
|
-
function de(
|
|
47
|
-
if (!Xe(
|
|
48
|
-
const O =
|
|
46
|
+
function de(f) {
|
|
47
|
+
if (!Xe(f) || jt(f)) return !1;
|
|
48
|
+
const O = f.map((C) => Number(C));
|
|
49
49
|
return ![...new Set(O.flatMap((C) => typeof C == "number" && !isNaN(C)))].includes(!1);
|
|
50
50
|
}
|
|
51
|
-
function je(
|
|
52
|
-
return !Xe(
|
|
51
|
+
function je(f) {
|
|
52
|
+
return !Xe(f) || jt(f) || !![...new Set(f.flatMap((C) => typeof C == "object" && !Array.isArray(C)))].includes(!1) ? !1 : !f.map((C) => Object.keys(C).length > 0).includes(!1);
|
|
53
53
|
}
|
|
54
|
-
function
|
|
55
|
-
const C = Object.keys(
|
|
54
|
+
function ol(f, O) {
|
|
55
|
+
const C = Object.keys(f).sort(), V = Object.keys(O).sort();
|
|
56
56
|
if (C.length !== V.length)
|
|
57
57
|
return !1;
|
|
58
58
|
for (let X = 0; X < C.length; X += 1) {
|
|
59
59
|
const ce = C[X], Ae = V[X];
|
|
60
|
-
if (ce !== Ae || typeof
|
|
60
|
+
if (ce !== Ae || typeof f[ce] != typeof O[Ae])
|
|
61
61
|
return !1;
|
|
62
62
|
}
|
|
63
63
|
return !0;
|
|
64
64
|
}
|
|
65
|
-
function
|
|
66
|
-
if (
|
|
67
|
-
for (let O = 0; O <
|
|
68
|
-
for (let C = O + 1; C <
|
|
69
|
-
if (!
|
|
65
|
+
function nl(f) {
|
|
66
|
+
if (f.length <= 1) return !0;
|
|
67
|
+
for (let O = 0; O < f.length; O += 1)
|
|
68
|
+
for (let C = O + 1; C < f.length; C += 1)
|
|
69
|
+
if (!ol(f[O], f[C]))
|
|
70
70
|
return !1;
|
|
71
71
|
return !0;
|
|
72
72
|
}
|
|
73
|
-
function
|
|
74
|
-
return
|
|
73
|
+
function il(f) {
|
|
74
|
+
return al.includes(f.toUpperCase());
|
|
75
75
|
}
|
|
76
|
-
function qt(
|
|
76
|
+
function qt(f, O) {
|
|
77
77
|
let C = [];
|
|
78
|
-
for (let V = 0; V <
|
|
79
|
-
C.push(O(
|
|
78
|
+
for (let V = 0; V < f.length; V += 1)
|
|
79
|
+
C.push(O(f[V]));
|
|
80
80
|
return C.includes(!0);
|
|
81
81
|
}
|
|
82
|
-
function Gt(
|
|
83
|
-
return Math.max(...[...
|
|
82
|
+
function Gt(f) {
|
|
83
|
+
return Math.max(...[...f].flatMap((O) => Object.values(O).filter((C) => de(C)).map((C) => C.length)));
|
|
84
84
|
}
|
|
85
|
-
function
|
|
86
|
-
return Object.values(
|
|
85
|
+
function rl(f, O) {
|
|
86
|
+
return Object.values(f).filter((C) => O(C))[0];
|
|
87
87
|
}
|
|
88
|
-
function Wt(
|
|
88
|
+
function Wt(f) {
|
|
89
89
|
const O = {};
|
|
90
|
-
for (let C in
|
|
91
|
-
|
|
90
|
+
for (let C in f)
|
|
91
|
+
f.hasOwnProperty(C) && (O[C.toUpperCase()] = f[C]);
|
|
92
92
|
return O;
|
|
93
93
|
}
|
|
94
|
-
const Xt = { backgroundColor: "#1A1A1A", color: "#CCCCCC", donutStroke: "#1A1A1A", xyAxisStroke: "#5A5A5A", xyGridStroke: "#4A4A4A", xyHighlighterColor: "#CCCCCC", zoomColor: "#4A4A4A", zoomHighlightColor: "#9A9A9A", zoomMinimap: { lineColor: "#424242", selectedColor: "#8A8A8A", indicatorColor: "#CCCCCC" }, tooltipBorderColor: "#5A5A5A", tooltipBackgroundOpacity: 70 },
|
|
94
|
+
const Xt = { showUserOptions: !1, showLegend: !1, xyShowGrid: !1, zoomMinimap: { show: !0 } }, Yt = { showUserOptions: !1, showLegend: !1, backgroundColor: "#1A1A1A", color: "#CCCCCC", donutStroke: "#1A1A1A", xyAxisStroke: "#5A5A5A", xyGridStroke: "#4A4A4A", xyShowGrid: !1, xyHighlighterColor: "#CCCCCC", zoomColor: "#4A4A4A", zoomHighlightColor: "#9A9A9A", zoomMinimap: { show: !0, lineColor: "#424242", selectedColor: "#8A8A8A", indicatorColor: "#CCCCCC" }, tooltipBorderColor: "#3A3A3A", tooltipBackgroundOpacity: 70 }, Zt = { backgroundColor: "#1A1A1A", color: "#CCCCCC", donutStroke: "#1A1A1A", xyAxisStroke: "#5A5A5A", xyGridStroke: "#4A4A4A", xyHighlighterColor: "#CCCCCC", zoomColor: "#4A4A4A", zoomHighlightColor: "#9A9A9A", zoomMinimap: { lineColor: "#424242", selectedColor: "#8A8A8A", indicatorColor: "#CCCCCC" }, tooltipBorderColor: "#5A5A5A", tooltipBackgroundOpacity: 70 }, Jt = { backgroundColor: "#FFF8E1", color: "#424242", donutStroke: "#FFF8E1", xyAxisStroke: "#5D4037", xyGridStroke: "#5D403760", xyHighlighterColor: "#424242", zoomColor: "#5D4037", zoomHighlightColor: "#FF8A65", zoomMinimap: { lineColor: "#424242", selectedColor: "#FF8A65" }, tooltipBorderColor: "#FF8A65", tooltipBackgroundOpacity: 30 }, Qt = { backgroundColor: "#1E1E1E", color: "#BDBDBD", "donutStro:ke": "#1E1E1E", xyAxisStroke: "#5D4037", xyGridStroke: "#5D403780", xyHighlighterColor: "#FFF8E1", zoomColor: "#5D4037", zoomHighlightColor: "#FF8A65", zoomMinimap: { lineColor: "#FF6B6B", selectedColor: "#FF8A65", indicatorColor: "#FF8A65" }, tooltipBorderColor: "#FF8A65", tooltipBackgroundOpacity: 30 }, Kt = { backgroundColor: "#1A1A1A", color: "#99AA99", xyAxisStroke: "#5F6A5F", xyGridStroke: "#333333", donutStroke: "#1A1A1A", xyHighlighterColor: "#66CC66", zoomColor: "#5F6A5F", zoomHighlightColor: "#66CC66", tooltipBorderColor: "#66CC66" }, ea = { backgroundColor: "#fbfafa", color: "#8A9892", donutStroke: "#fbfafa", xyAxisStroke: "transparent", xyGridStroke: "transparent", xyHighlighterColor: "#8F837A", zoomColor: "#E0CFC3", zoomHighlightColor: "#8F837A" }, ta = { backgroundColor: "#f6f6fb", color: "#50606C", donutStroke: "#f6f6fb", xyAxisStroke: "#829C98", xyGridStroke: "#CCD6D3", xyHighlighterColor: "#7DA9B5", zoomColor: "#92B0AB", zoomHighlightColor: "#50606C" }, aa = {
|
|
95
95
|
default: {},
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
96
|
+
minimal: Xt,
|
|
97
|
+
minimalDark: Yt,
|
|
98
|
+
dark: Zt,
|
|
99
|
+
celebration: Jt,
|
|
100
|
+
celebrationNight: Qt,
|
|
101
|
+
hack: Kt,
|
|
102
|
+
zen: ea,
|
|
103
|
+
concrete: ta
|
|
104
|
+
}, Zo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
103
105
|
__proto__: null,
|
|
104
|
-
celebration:
|
|
105
|
-
celebrationNight:
|
|
106
|
-
concrete:
|
|
107
|
-
dark:
|
|
108
|
-
default:
|
|
109
|
-
hack:
|
|
110
|
-
|
|
111
|
-
|
|
106
|
+
celebration: Jt,
|
|
107
|
+
celebrationNight: Qt,
|
|
108
|
+
concrete: ta,
|
|
109
|
+
dark: Zt,
|
|
110
|
+
default: aa,
|
|
111
|
+
hack: Kt,
|
|
112
|
+
minimal: Xt,
|
|
113
|
+
minimalDark: Yt,
|
|
114
|
+
zen: ea
|
|
115
|
+
}, Symbol.toStringTag, { value: "Module" })), ul = ["id"], sl = ["id"], vl = ["xmlns", "viewBox"], dl = ["x", "y", "width", "height"], cl = ["x", "y", "width", "height"], hl = ["width", "height"], fl = ["id"], ml = ["id"], gl = ["id"], pl = ["flood-color"], yl = {
|
|
112
116
|
key: 0,
|
|
113
117
|
class: "donut-label-connectors"
|
|
114
|
-
},
|
|
118
|
+
}, xl = ["d", "stroke", "stroke-width", "filter"], kl = ["cx", "cy", "r", "fill", "filter"], bl = { class: "donut" }, Sl = ["d", "fill", "stroke", "stroke-width", "filter"], Al = ["d", "onMouseenter", "onMouseout", "onClick"], wl = {
|
|
115
119
|
key: 1,
|
|
116
120
|
class: "donut-labels quick-animation"
|
|
117
|
-
},
|
|
121
|
+
}, Cl = ["cx", "cy", "fill", "stroke", "filter"], Ll = ["text-anchor", "x", "y", "fill", "font-size", "filter"], _l = ["text-anchor", "x", "y", "fill", "font-size", "filter"], zl = {
|
|
118
122
|
key: 2,
|
|
119
123
|
class: "donut-hollow quick-animation"
|
|
120
|
-
},
|
|
124
|
+
}, $l = ["x", "y", "font-size", "fill"], El = ["x", "y", "font-size", "fill"], Fl = {
|
|
121
125
|
key: 0,
|
|
122
126
|
class: "line-grid"
|
|
123
|
-
},
|
|
127
|
+
}, Tl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Il = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ol = {
|
|
124
128
|
key: 1,
|
|
125
129
|
class: "line-axis"
|
|
126
|
-
},
|
|
130
|
+
}, Pl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ml = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Rl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Bl = ["x", "y", "font-size", "fill"], Dl = {
|
|
127
131
|
key: 3,
|
|
128
132
|
class: "periodLabels"
|
|
129
|
-
},
|
|
133
|
+
}, Nl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ul = { key: 0 }, Vl = ["font-size", "text-anchor", "fill", "transform"], Hl = ["font-size", "text-anchor", "fill", "transform", "innerHTML"], ql = { class: "plots" }, Gl = { class: "line-plot-series" }, Wl = ["d", "stroke", "stroke-width"], jl = ["d", "stroke", "stroke-width"], Xl = ["d", "stroke", "stroke-width"], Yl = ["d", "stroke", "stroke-width"], Zl = ["cx", "cy", "fill", "stroke"], Jl = {
|
|
130
134
|
key: 4,
|
|
131
135
|
class: "dataLabels"
|
|
132
|
-
},
|
|
136
|
+
}, Ql = ["font-size", "fill", "x", "y"], Kl = {
|
|
133
137
|
key: 5,
|
|
134
138
|
class: "tooltip-traps"
|
|
135
|
-
},
|
|
139
|
+
}, eo = ["x", "y", "height", "width", "fill", "onMouseenter", "onMouseleave", "onClick"], to = {
|
|
136
140
|
key: 0,
|
|
137
141
|
class: "line-grid"
|
|
138
|
-
},
|
|
142
|
+
}, ao = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], lo = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], oo = {
|
|
139
143
|
key: 1,
|
|
140
144
|
class: "line-axis"
|
|
141
|
-
},
|
|
145
|
+
}, no = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], io = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ro = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], uo = ["x", "y", "font-size", "fill"], so = {
|
|
142
146
|
key: 3,
|
|
143
147
|
class: "periodLabels"
|
|
144
|
-
},
|
|
148
|
+
}, vo = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], co = { key: 0 }, ho = ["font-size", "text-anchor", "fill", "transform"], fo = ["font-size", "text-anchor", "fill", "transform", "innerHTML"], mo = { class: "plots" }, go = ["x", "width", "height", "y", "fill", "stroke", "stroke-width"], po = ["to"], yo = ["from", "to"], xo = {
|
|
145
149
|
key: 4,
|
|
146
150
|
class: "dataLabels"
|
|
147
|
-
},
|
|
151
|
+
}, ko = ["x", "y", "font-size", "fill"], bo = {
|
|
148
152
|
key: 5,
|
|
149
153
|
class: "tooltip-traps"
|
|
150
|
-
},
|
|
154
|
+
}, So = ["x", "y", "height", "width", "fill", "onMouseenter", "onMouseleave", "onClick"], Ao = {
|
|
151
155
|
key: 6,
|
|
152
156
|
class: "axis-labels"
|
|
153
|
-
},
|
|
157
|
+
}, wo = ["font-size", "fill", "x", "y"], Co = ["font-size", "fill", "x", "y"], Lo = ["font-size", "fill", "transform"], _o = ["font-size", "fill", "transform"], zo = {
|
|
154
158
|
key: 5,
|
|
155
159
|
class: "vue-data-ui-watermark"
|
|
156
|
-
},
|
|
160
|
+
}, $o = ["id"], Eo = ["onClick"], Fo = ["onClick"], To = ["onClick"], Io = {
|
|
157
161
|
key: 1,
|
|
158
162
|
class: "vue-ui-quick-chart-not-processable"
|
|
159
|
-
},
|
|
163
|
+
}, Oo = {
|
|
160
164
|
__name: "vue-ui-quick-chart",
|
|
161
165
|
props: {
|
|
162
166
|
config: {
|
|
@@ -173,16 +177,16 @@ const Xt = { backgroundColor: "#1A1A1A", color: "#CCCCCC", donutStroke: "#1A1A1A
|
|
|
173
177
|
}
|
|
174
178
|
},
|
|
175
179
|
emits: ["selectDatapoint", "selectLegend"],
|
|
176
|
-
setup(
|
|
177
|
-
const V = Fe(() => import("./BaseIcon-
|
|
180
|
+
setup(f, { expose: O, emit: C }) {
|
|
181
|
+
const V = Fe(() => import("./BaseIcon-4uOct8re.js")), X = Fe(() => import("./PackageVersion-CQxJyGQr.js")), ce = Fe(() => import("./PenAndPaper-LTuSTmWE.js")), Ae = Fe(() => import("./Tooltip-B6qvABDL.js")), st = Fe(() => import("./UserOptions-CX7Xsusk.js")), { vue_ui_quick_chart: Ye } = qa(), { isThemeValid: Pe, warnInvalidTheme: j } = Za(), q = f, ne = A(null), vt = A(null), dt = A(null), ct = A(null), Z = A(Ia()), me = A(!1), we = A(null), ge = A(""), oe = A(null), ht = A(null), ft = A(null), L = A([]), mt = A(0), Me = A(0), gt = A(!1), Ce = A(null), Le = A(null), ie = A(null), Re = A(null), pt = A(null), yt = A(null);
|
|
178
182
|
A("#FFFFFF");
|
|
179
|
-
const e = A(Ke()), Ze = M(() => !!e.value.debug), { loading: U, FINAL_DATASET:
|
|
180
|
-
...
|
|
183
|
+
const e = A(Ke()), Ze = M(() => !!e.value.debug), { loading: U, FINAL_DATASET: la, manualLoading: xt } = Ga({
|
|
184
|
+
...za(q),
|
|
181
185
|
FINAL_CONFIG: e,
|
|
182
186
|
prepareConfig: Ke,
|
|
183
187
|
callback: () => {
|
|
184
188
|
Promise.resolve().then(async () => {
|
|
185
|
-
await lt(), $.value === w.LINE && e.value.lineAnimated && !U.value &&
|
|
189
|
+
await lt(), $.value === w.LINE && e.value.lineAnimated && !U.value && pa({
|
|
186
190
|
pathDuration: 1e3,
|
|
187
191
|
pointDuration: 1200,
|
|
188
192
|
labelDuration: 1200
|
|
@@ -190,7 +194,7 @@ const Xt = { backgroundColor: "#1A1A1A", color: "#CCCCCC", donutStroke: "#1A1A1A
|
|
|
190
194
|
});
|
|
191
195
|
},
|
|
192
196
|
skeletonDataset: [1, 2, 3, 5, 8, 13, 21, 34, 55, 89],
|
|
193
|
-
skeletonConfig:
|
|
197
|
+
skeletonConfig: Oa({
|
|
194
198
|
defaultConfig: e.value,
|
|
195
199
|
userConfig: {
|
|
196
200
|
backgroundColor: "#99999930",
|
|
@@ -212,9 +216,9 @@ const Xt = { backgroundColor: "#1A1A1A", color: "#CCCCCC", donutStroke: "#1A1A1A
|
|
|
212
216
|
zoomEndIndex: null
|
|
213
217
|
}
|
|
214
218
|
})
|
|
215
|
-
}), { svgRef: Je } =
|
|
219
|
+
}), { svgRef: Je } = Ja({ config: { text: e.value.title } }), oa = M(() => e.value.showUserOptionsOnChartHover), kt = M(() => e.value.keepUserOptionsStateOnChartLeave), Be = A(!e.value.showUserOptionsOnChartHover), Qe = A(!1);
|
|
216
220
|
function bt(a = !1) {
|
|
217
|
-
Qe.value = a,
|
|
221
|
+
Qe.value = a, oa.value && (Be.value = a);
|
|
218
222
|
}
|
|
219
223
|
function Ke() {
|
|
220
224
|
const a = ut({
|
|
@@ -228,7 +232,7 @@ const Xt = { backgroundColor: "#1A1A1A", color: "#CCCCCC", donutStroke: "#1A1A1A
|
|
|
228
232
|
j(a), u = a;
|
|
229
233
|
else {
|
|
230
234
|
const l = ut({
|
|
231
|
-
userConfig:
|
|
235
|
+
userConfig: aa[t] || q.config,
|
|
232
236
|
defaultConfig: a
|
|
233
237
|
});
|
|
234
238
|
u = {
|
|
@@ -236,7 +240,7 @@ const Xt = { backgroundColor: "#1A1A1A", color: "#CCCCCC", donutStroke: "#1A1A1A
|
|
|
236
240
|
userConfig: q.config,
|
|
237
241
|
defaultConfig: l
|
|
238
242
|
}),
|
|
239
|
-
customPalette: a.customPalette.length ? a.customPalette :
|
|
243
|
+
customPalette: a.customPalette.length ? a.customPalette : Pa[t] || ee
|
|
240
244
|
};
|
|
241
245
|
}
|
|
242
246
|
else
|
|
@@ -250,8 +254,8 @@ const Xt = { backgroundColor: "#1A1A1A", color: "#CCCCCC", donutStroke: "#1A1A1A
|
|
|
250
254
|
}, { deep: !0 }), Te(() => q.dataset, (a) => {
|
|
251
255
|
Array.isArray(a) && a.length > 0 && (xt.value = !1);
|
|
252
256
|
}, { immediate: !0 });
|
|
253
|
-
const _e = M(() =>
|
|
254
|
-
const a =
|
|
257
|
+
const _e = M(() => Ma(e.value.customPalette)), ye = C, ze = M(() => {
|
|
258
|
+
const a = ll({ debug: Ze.value, dataset: Ra(la.value, [
|
|
255
259
|
"serie",
|
|
256
260
|
"series",
|
|
257
261
|
"data",
|
|
@@ -260,19 +264,19 @@ const Xt = { backgroundColor: "#1A1A1A", color: "#CCCCCC", donutStroke: "#1A1A1A
|
|
|
260
264
|
"num"
|
|
261
265
|
]), barLineSwitch: e.value.chartIsBarUnderDatasetLength });
|
|
262
266
|
return !a && Ze.value && console.error("VueUiQuickChart : Dataset is not processable"), a;
|
|
263
|
-
}), k = A(ze.value),
|
|
267
|
+
}), k = A(ze.value), na = M(() => !!k.value), $ = M(() => k.value ? k.value.type : null);
|
|
264
268
|
Te(() => $.value, (a) => {
|
|
265
|
-
a ||
|
|
269
|
+
a || Ba({
|
|
266
270
|
componentName: "VueUiQuickChart",
|
|
267
271
|
type: "dataset",
|
|
268
272
|
debug: Ze.value
|
|
269
273
|
});
|
|
270
274
|
}, { immediate: !0 });
|
|
271
|
-
const { isPrinting: De, isImaging: Ne, generatePdf: St, generateImage: At } =
|
|
275
|
+
const { isPrinting: De, isImaging: Ne, generatePdf: St, generateImage: At } = ja({
|
|
272
276
|
elementId: `${$.value}_${Z.value}`,
|
|
273
277
|
fileName: e.value.title || $.value,
|
|
274
278
|
options: e.value.userOptionsPrint
|
|
275
|
-
}),
|
|
279
|
+
}), ia = M(() => e.value.showUserOptions && !e.value.title), S = A({
|
|
276
280
|
width: e.value.width,
|
|
277
281
|
height: e.value.height
|
|
278
282
|
}), xe = A({
|
|
@@ -283,33 +287,33 @@ const Xt = { backgroundColor: "#1A1A1A", color: "#CCCCCC", donutStroke: "#1A1A1A
|
|
|
283
287
|
showTooltip: e.value.showTooltip
|
|
284
288
|
};
|
|
285
289
|
}, { immediate: !0 });
|
|
286
|
-
const
|
|
287
|
-
|
|
290
|
+
const he = Bt(null), ke = Bt(null);
|
|
291
|
+
$a(async () => {
|
|
288
292
|
gt.value = !0, wt();
|
|
289
293
|
});
|
|
290
294
|
function wt() {
|
|
291
|
-
if (
|
|
295
|
+
if (Da(q.dataset) || (xt.value = e.value.loading), e.value.responsive) {
|
|
292
296
|
const a = Ht(() => {
|
|
293
|
-
const { width: u, height: t } =
|
|
297
|
+
const { width: u, height: t } = Ha({
|
|
294
298
|
chart: ne.value,
|
|
295
299
|
title: e.value.title ? vt.value : null,
|
|
296
300
|
legend: e.value.showLegend ? dt.value : null,
|
|
297
301
|
slicer: [w.BAR, w.LINE].includes($.value) && e.value.zoomXy && k.value.maxSeriesLength > 1 ? ct.value : null,
|
|
298
|
-
source:
|
|
299
|
-
noTitle:
|
|
302
|
+
source: ht.value,
|
|
303
|
+
noTitle: ft.value
|
|
300
304
|
});
|
|
301
305
|
requestAnimationFrame(() => {
|
|
302
306
|
S.value.width = u, S.value.height = t;
|
|
303
307
|
});
|
|
304
308
|
});
|
|
305
|
-
|
|
309
|
+
he.value && (ke.value && he.value.unobserve(ke.value), he.value.disconnect()), he.value = new ResizeObserver(a), ke.value = ne.value.parentNode, he.value.observe(ke.value);
|
|
306
310
|
}
|
|
307
311
|
Ft();
|
|
308
312
|
}
|
|
309
313
|
Dt(() => {
|
|
310
|
-
|
|
314
|
+
he.value && (ke.value && he.value.unobserve(ke.value), he.value.disconnect());
|
|
311
315
|
});
|
|
312
|
-
const
|
|
316
|
+
const ra = M(() => {
|
|
313
317
|
switch ($.value) {
|
|
314
318
|
case w.LINE:
|
|
315
319
|
return `0 0 ${S.value.width <= 0 ? 10 : S.value.width} ${S.value.height <= 0 ? 10 : S.value.height}`;
|
|
@@ -331,7 +335,7 @@ const Xt = { backgroundColor: "#1A1A1A", color: "#CCCCCC", donutStroke: "#1A1A1A
|
|
|
331
335
|
L.value.includes(a) ? L.value = L.value.filter((t) => t !== a) : L.value.length < u && L.value.push(a);
|
|
332
336
|
}
|
|
333
337
|
const _t = A(null), zt = A(null), Ue = A(!1);
|
|
334
|
-
function
|
|
338
|
+
function ua(a, u) {
|
|
335
339
|
Ue.value = !0;
|
|
336
340
|
let t = a.value;
|
|
337
341
|
const l = ze.value.dataset.find((r, p) => a.id === `donut_${p}`).VALUE;
|
|
@@ -376,84 +380,84 @@ const Xt = { backgroundColor: "#1A1A1A", color: "#CCCCCC", donutStroke: "#1A1A1A
|
|
|
376
380
|
}
|
|
377
381
|
}
|
|
378
382
|
const re = A(null);
|
|
379
|
-
function
|
|
383
|
+
function sa(a) {
|
|
380
384
|
re.value = a;
|
|
381
385
|
}
|
|
382
386
|
const $t = M(() => e.value.donutThicknessRatio < 0.01 ? 0.01 : e.value.donutThicknessRatio > 0.4 ? 0.4 : e.value.donutThicknessRatio), T = M(() => {
|
|
383
387
|
if ($.value !== w.DONUT) return null;
|
|
384
|
-
const a = k.value.dataset.map((
|
|
385
|
-
...
|
|
386
|
-
value:
|
|
387
|
-
name:
|
|
388
|
+
const a = k.value.dataset.map((h, _) => ({
|
|
389
|
+
...h,
|
|
390
|
+
value: h.VALUE || h.DATA || h.SERIE || h.VALUES || h.NUM || 0,
|
|
391
|
+
name: h.NAME || h.DESCRIPTION || h.TITLE || h.LABEL || `Serie ${_}`,
|
|
388
392
|
id: `donut_${_}`
|
|
389
|
-
})).map((
|
|
390
|
-
...
|
|
391
|
-
color:
|
|
392
|
-
immutableValue:
|
|
393
|
+
})).map((h, _) => ({
|
|
394
|
+
...h,
|
|
395
|
+
color: h.COLOR ? nt(h.COLOR) : _e.value[_ + e.value.paletteStartIndex] || ee[_ + e.value.paletteStartIndex] || ee[(_ + e.value.paletteStartIndex) % ee.length],
|
|
396
|
+
immutableValue: h.value
|
|
393
397
|
}));
|
|
394
|
-
function u(
|
|
398
|
+
function u(h, _) {
|
|
395
399
|
return Y({
|
|
396
|
-
v: isNaN(
|
|
400
|
+
v: isNaN(h.value / Ct(_)) ? 0 : h.value / Ct(_) * 100,
|
|
397
401
|
s: "%",
|
|
398
402
|
r: e.value.dataLabelRoundingPercentage
|
|
399
403
|
});
|
|
400
404
|
}
|
|
401
|
-
function t(
|
|
402
|
-
return
|
|
405
|
+
function t(h) {
|
|
406
|
+
return h.proportion * 100 > e.value.donutHideLabelUnderPercentage;
|
|
403
407
|
}
|
|
404
|
-
function l(
|
|
405
|
-
const d = ze.value.dataset.find((g, E) => `donut_${E}` ===
|
|
408
|
+
function l(h, _) {
|
|
409
|
+
const d = ze.value.dataset.find((g, E) => `donut_${E}` === h).VALUE;
|
|
406
410
|
return Math.abs(String(Number(d.toFixed(0))).length - String(Number(_.toFixed(0))).length);
|
|
407
411
|
}
|
|
408
|
-
function r({ datapoint:
|
|
409
|
-
we.value = { datapoint:
|
|
412
|
+
function r({ datapoint: h, seriesIndex: _ }) {
|
|
413
|
+
we.value = { datapoint: h, seriesIndex: _, config: e.value, dataset: a }, oe.value = h.id;
|
|
410
414
|
const d = e.value.tooltipCustomFormat;
|
|
411
|
-
if (e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint:
|
|
412
|
-
datapoint:
|
|
415
|
+
if (e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: h, seriesIndex: _ }), We(d) && rt(() => d({
|
|
416
|
+
datapoint: h,
|
|
413
417
|
seriesIndex: _,
|
|
414
418
|
series: a,
|
|
415
419
|
config: e.value
|
|
416
420
|
})))
|
|
417
421
|
ge.value = d({
|
|
418
|
-
datapoint:
|
|
422
|
+
datapoint: h,
|
|
419
423
|
seriesIndex: _,
|
|
420
424
|
series: a,
|
|
421
425
|
config: e.value
|
|
422
426
|
});
|
|
423
427
|
else {
|
|
424
428
|
let i = "";
|
|
425
|
-
i += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.tooltipBorderColor};padding-bottom:6px;margin-bottom:3px;">${
|
|
429
|
+
i += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.tooltipBorderColor};padding-bottom:6px;margin-bottom:3px;">${h.name}</div>`, i += `<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>`, i += `<b>${se(
|
|
426
430
|
e.value.formatter,
|
|
427
|
-
|
|
431
|
+
h.value,
|
|
428
432
|
Y({
|
|
429
433
|
p: e.value.valuePrefix,
|
|
430
|
-
v:
|
|
434
|
+
v: h.value,
|
|
431
435
|
s: e.value.valueSuffix,
|
|
432
436
|
r: e.value.dataLabelRoundingValue
|
|
433
437
|
}),
|
|
434
|
-
{ datapoint:
|
|
435
|
-
)}</b>`, i += `<span>(${Y({ v:
|
|
438
|
+
{ datapoint: h, seriesIndex: _ }
|
|
439
|
+
)}</b>`, i += `<span>(${Y({ v: h.proportion * 100, s: "%", r: e.value.dataLabelRoundingPercentage })})</span></div>`, ge.value = `<div>${i}</div>`;
|
|
436
440
|
}
|
|
437
441
|
me.value = !0;
|
|
438
442
|
}
|
|
439
|
-
function p({ datapoint:
|
|
440
|
-
e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint:
|
|
443
|
+
function p({ datapoint: h, seriesIndex: _ }) {
|
|
444
|
+
e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: h, seriesIndex: _ }), me.value = !1, oe.value = null, re.value = null;
|
|
441
445
|
}
|
|
442
|
-
function b({ datapoint:
|
|
443
|
-
e.value.events.datapointClick && e.value.events.datapointClick({ datapoint:
|
|
446
|
+
function b({ datapoint: h, seriesIndex: _ }) {
|
|
447
|
+
e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: h, seriesIndex: _ }), ye("selectDatapoint", h);
|
|
444
448
|
}
|
|
445
449
|
const I = {
|
|
446
450
|
centerX: S.value.width / 2,
|
|
447
451
|
centerY: S.value.height / 2
|
|
448
|
-
}, P = a.filter((
|
|
449
|
-
...
|
|
450
|
-
proportion: (
|
|
451
|
-
value:
|
|
452
|
-
absoluteValue: ze.value.dataset.find((d, i) => `donut_${i}` ===
|
|
452
|
+
}, P = a.filter((h) => !L.value.includes(h.id)).map((h) => h.value || 0).reduce((h, _) => h + _, 0), ae = a.map((h, _) => ({
|
|
453
|
+
...h,
|
|
454
|
+
proportion: (h.value || 0) / P,
|
|
455
|
+
value: h.value || 0,
|
|
456
|
+
absoluteValue: ze.value.dataset.find((d, i) => `donut_${i}` === h.id).VALUE,
|
|
453
457
|
shape: "circle"
|
|
454
458
|
})), ue = S.value.width / 2, J = S.value.height / 2, G = S.value.height * e.value.donutRadiusRatio;
|
|
455
459
|
return {
|
|
456
|
-
dataset: ae.filter((
|
|
460
|
+
dataset: ae.filter((h) => !L.value.includes(h.id)),
|
|
457
461
|
legend: ae,
|
|
458
462
|
drawingArea: I,
|
|
459
463
|
displayArcPercentage: u,
|
|
@@ -466,8 +470,8 @@ const Xt = { backgroundColor: "#1A1A1A", color: "#CCCCCC", donutStroke: "#1A1A1A
|
|
|
466
470
|
cx: ue,
|
|
467
471
|
cy: J,
|
|
468
472
|
radius: G,
|
|
469
|
-
chart:
|
|
470
|
-
{ series: a.filter((
|
|
473
|
+
chart: Na(
|
|
474
|
+
{ series: a.filter((h) => !L.value.includes(h.id)) },
|
|
471
475
|
ue,
|
|
472
476
|
J,
|
|
473
477
|
G,
|
|
@@ -484,23 +488,23 @@ const Xt = { backgroundColor: "#1A1A1A", color: "#CCCCCC", donutStroke: "#1A1A1A
|
|
|
484
488
|
start: 0,
|
|
485
489
|
end: k.value.maxSeriesLength
|
|
486
490
|
});
|
|
487
|
-
function
|
|
491
|
+
function va() {
|
|
488
492
|
Ft();
|
|
489
493
|
}
|
|
490
494
|
const Et = A(null);
|
|
491
495
|
async function Ft() {
|
|
492
496
|
await lt(), await lt();
|
|
493
497
|
const { zoomStartIndex: a, zoomEndIndex: u } = e.value, t = Et.value;
|
|
494
|
-
(a != null || u != null) && t ? (a != null && t.setStartValue(a), u != null && t.setEndValue(
|
|
498
|
+
(a != null || u != null) && t ? (a != null && t.setStartValue(a), u != null && t.setEndValue(da(u + 1))) : (y.value = {
|
|
495
499
|
start: 0,
|
|
496
500
|
end: k.value.maxSeriesLength
|
|
497
501
|
}, Me.value += 1);
|
|
498
502
|
}
|
|
499
|
-
function
|
|
503
|
+
function da(a) {
|
|
500
504
|
const u = k.value.maxSeriesLength;
|
|
501
505
|
return a > u ? u : a < 0 || e.value.zoomStartIndex !== null && a < e.value.zoomStartIndex ? e.value.zoomStartIndex !== null ? e.value.zoomStartIndex + 1 : 1 : a;
|
|
502
506
|
}
|
|
503
|
-
const
|
|
507
|
+
const ca = M(() => {
|
|
504
508
|
if (!e.value.zoomMinimap.show || $.value === w.DONUT) return [];
|
|
505
509
|
let a = [];
|
|
506
510
|
de(k.value.dataset) && (a = k.value.dataset), je(k.value.dataset) && (a = k.value.dataset.map((r, p) => ({
|
|
@@ -524,14 +528,14 @@ const Xt = { backgroundColor: "#1A1A1A", color: "#CCCCCC", donutStroke: "#1A1A1A
|
|
|
524
528
|
return p > l ? p : l;
|
|
525
529
|
}, 0)), a + 4;
|
|
526
530
|
}
|
|
527
|
-
const et = A(0),
|
|
531
|
+
const et = A(0), ha = Ht((a) => {
|
|
528
532
|
et.value = a;
|
|
529
533
|
}, 100);
|
|
530
|
-
|
|
534
|
+
Ea((a) => {
|
|
531
535
|
const u = ie.value;
|
|
532
536
|
if (!u) return;
|
|
533
537
|
const t = new ResizeObserver((l) => {
|
|
534
|
-
|
|
538
|
+
ha(l[0].contentRect.height);
|
|
535
539
|
});
|
|
536
540
|
t.observe(u), a(() => t.disconnect());
|
|
537
541
|
}), Dt(() => {
|
|
@@ -655,7 +659,7 @@ const Xt = { backgroundColor: "#1A1A1A", color: "#CCCCCC", donutStroke: "#1A1A1A
|
|
|
655
659
|
}
|
|
656
660
|
me.value = !0;
|
|
657
661
|
}
|
|
658
|
-
function
|
|
662
|
+
function h(d) {
|
|
659
663
|
const i = J(d);
|
|
660
664
|
e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: i, seriesIndex: d + y.value.start }), oe.value = null, re.value = null, me.value = !1;
|
|
661
665
|
}
|
|
@@ -672,7 +676,7 @@ const Xt = { backgroundColor: "#1A1A1A", color: "#CCCCCC", donutStroke: "#1A1A1A
|
|
|
672
676
|
slotSize: P,
|
|
673
677
|
yLabels: ae,
|
|
674
678
|
useTooltip: G,
|
|
675
|
-
killTooltip:
|
|
679
|
+
killTooltip: h,
|
|
676
680
|
selectDatapoint: _
|
|
677
681
|
};
|
|
678
682
|
}), v = M(() => {
|
|
@@ -757,7 +761,7 @@ const Xt = { backgroundColor: "#1A1A1A", color: "#CCCCCC", donutStroke: "#1A1A1A
|
|
|
757
761
|
absoluteIndex: g.absoluteIndices[i]
|
|
758
762
|
})).filter((g) => !L.value.includes(g.id));
|
|
759
763
|
}
|
|
760
|
-
function
|
|
764
|
+
function h(i) {
|
|
761
765
|
oe.value = i, re.value = i;
|
|
762
766
|
const g = G(i);
|
|
763
767
|
we.value = { datapoint: g, seriesIndex: i, config: e.value, dataset: l };
|
|
@@ -816,12 +820,12 @@ const Xt = { backgroundColor: "#1A1A1A", color: "#CCCCCC", donutStroke: "#1A1A1A
|
|
|
816
820
|
extremes: r,
|
|
817
821
|
slotSize: P,
|
|
818
822
|
yLabels: ae,
|
|
819
|
-
useTooltip:
|
|
823
|
+
useTooltip: h,
|
|
820
824
|
killTooltip: _,
|
|
821
825
|
selectDatapoint: d
|
|
822
826
|
};
|
|
823
827
|
});
|
|
824
|
-
function
|
|
828
|
+
function fa(a) {
|
|
825
829
|
if (!a) return;
|
|
826
830
|
const u = a.getTotalLength();
|
|
827
831
|
a.style.transition = "none", a.style.strokeDasharray = `${u}`, a.style.strokeDashoffset = `${u}`;
|
|
@@ -831,10 +835,10 @@ const Xt = { backgroundColor: "#1A1A1A", color: "#CCCCCC", donutStroke: "#1A1A1A
|
|
|
831
835
|
l.style.animation = "none", l.style.transition = "none", l.style.opacity = u, l.style.transform = `scale(${t})`, l.style.transformBox = "fill-box", l.style.transformOrigin = "50% 50%";
|
|
832
836
|
});
|
|
833
837
|
}
|
|
834
|
-
function
|
|
838
|
+
function ma(a) {
|
|
835
839
|
return a.cx?.baseVal?.value ?? parseFloat(a.getAttribute("cx"));
|
|
836
840
|
}
|
|
837
|
-
function
|
|
841
|
+
function ga(a) {
|
|
838
842
|
const u = a.getAttribute("x");
|
|
839
843
|
if (u != null) return parseFloat(u);
|
|
840
844
|
const t = a.getCTM?.();
|
|
@@ -857,7 +861,7 @@ const Xt = { backgroundColor: "#1A1A1A", color: "#CCCCCC", donutStroke: "#1A1A1A
|
|
|
857
861
|
}
|
|
858
862
|
return p.push(b), p;
|
|
859
863
|
}
|
|
860
|
-
function
|
|
864
|
+
function pa({
|
|
861
865
|
pathDuration: a,
|
|
862
866
|
pathEasing: u = "ease-in-out",
|
|
863
867
|
pointDuration: t,
|
|
@@ -868,9 +872,9 @@ const Xt = { backgroundColor: "#1A1A1A", color: "#CCCCCC", donutStroke: "#1A1A1A
|
|
|
868
872
|
labelStep: I = 0,
|
|
869
873
|
intraSeriesStep: P = 0
|
|
870
874
|
} = {}) {
|
|
871
|
-
const ae = Array.isArray(Ce?.value) ? Ce.value : [Ce?.value].filter(Boolean), ue = Array.isArray(Le?.value) ? Le.value : [Le?.value].filter(Boolean), J = [...ae, ...ue].filter(Boolean), G = ne?.value || null,
|
|
872
|
-
J.forEach(
|
|
873
|
-
const d =
|
|
875
|
+
const ae = Array.isArray(Ce?.value) ? Ce.value : [Ce?.value].filter(Boolean), ue = Array.isArray(Le?.value) ? Le.value : [Le?.value].filter(Boolean), J = [...ae, ...ue].filter(Boolean), G = ne?.value || null, h = G ? Array.from(G.querySelectorAll(".vue-ui-quick-chart-plot")) : [], _ = G ? Array.from(G.querySelectorAll(".vue-ui-quick-chart-label")) : [];
|
|
876
|
+
J.forEach(fa), It(h, { fromOpacity: "0", fromScale: "0.75" }), It(_, { fromOpacity: "0", fromScale: "0.98" }), h.forEach((g) => g.classList.remove("quick-animation")), _.forEach((g) => g.classList.remove("quick-animation")), G && G.offsetWidth;
|
|
877
|
+
const d = h.length ? Ot(h, ma) : [], i = _.length ? Ot(_, ga) : [];
|
|
874
878
|
requestAnimationFrame(() => {
|
|
875
879
|
requestAnimationFrame(() => {
|
|
876
880
|
J.forEach((g) => {
|
|
@@ -889,7 +893,7 @@ const Xt = { backgroundColor: "#1A1A1A", color: "#CCCCCC", donutStroke: "#1A1A1A
|
|
|
889
893
|
});
|
|
890
894
|
});
|
|
891
895
|
}
|
|
892
|
-
const
|
|
896
|
+
const ya = M(() => {
|
|
893
897
|
if ($.value === w.LINE)
|
|
894
898
|
return c.value.legend.map((a) => (Math.min(...a.absoluteValues.map((u) => u ?? 0)), {
|
|
895
899
|
...a,
|
|
@@ -904,7 +908,7 @@ const Xt = { backgroundColor: "#1A1A1A", color: "#CCCCCC", donutStroke: "#1A1A1A
|
|
|
904
908
|
type: "bar",
|
|
905
909
|
series: a.absoluteValues
|
|
906
910
|
}));
|
|
907
|
-
}), te = M(() =>
|
|
911
|
+
}), te = M(() => Ya({
|
|
908
912
|
values: e.value.xyPeriods,
|
|
909
913
|
maxDatapoints: k.value.maxSeriesLength,
|
|
910
914
|
formatter: e.value.datetimeFormatter,
|
|
@@ -924,9 +928,9 @@ const Xt = { backgroundColor: "#1A1A1A", color: "#CCCCCC", donutStroke: "#1A1A1A
|
|
|
924
928
|
function tt() {
|
|
925
929
|
qe.value = !qe.value;
|
|
926
930
|
}
|
|
927
|
-
async function
|
|
931
|
+
async function xa({ scale: a = 2 } = {}) {
|
|
928
932
|
if (!ne.value) return;
|
|
929
|
-
const { width: u, height: t } = ne.value.getBoundingClientRect(), l = u / t, { imageUri: r, base64: p } = await
|
|
933
|
+
const { width: u, height: t } = ne.value.getBoundingClientRect(), l = u / t, { imageUri: r, base64: p } = await Ka({ domElement: ne.value, base64: !0, img: !0, scale: a });
|
|
930
934
|
return {
|
|
931
935
|
imageUri: r,
|
|
932
936
|
base64: p,
|
|
@@ -936,8 +940,8 @@ const Xt = { backgroundColor: "#1A1A1A", color: "#CCCCCC", donutStroke: "#1A1A1A
|
|
|
936
940
|
aspectRatio: l
|
|
937
941
|
};
|
|
938
942
|
}
|
|
939
|
-
const
|
|
940
|
-
|
|
943
|
+
const ka = M(() => S.value.width), ba = M(() => S.value.height);
|
|
944
|
+
Qa({
|
|
941
945
|
timeLabelsEls: ie,
|
|
942
946
|
timeLabels: te,
|
|
943
947
|
slicer: y,
|
|
@@ -946,17 +950,17 @@ const Xt = { backgroundColor: "#1A1A1A", color: "#CCCCCC", donutStroke: "#1A1A1A
|
|
|
946
950
|
autoRotatePath: ["xyPeriodLabelsAutoRotate", "enable"],
|
|
947
951
|
isAutoSize: !1,
|
|
948
952
|
rotation: e.value.xyPeriodLabelsAutoRotate.angle,
|
|
949
|
-
height:
|
|
950
|
-
width:
|
|
953
|
+
height: ba.value,
|
|
954
|
+
width: ka.value
|
|
951
955
|
});
|
|
952
|
-
const
|
|
956
|
+
const Sa = M(() => e.value.backgroundColor), Aa = M(() => $.value === w.DONUT ? T.value.legend : $.value === w.LINE ? c.value.legend : v.value.legend), wa = M(() => ({
|
|
953
957
|
show: e.value.showLegend,
|
|
954
958
|
bold: !1,
|
|
955
959
|
backgroundColor: e.value.backgroundColor,
|
|
956
960
|
color: e.value.color,
|
|
957
961
|
fontSize: e.value.legendFontSize,
|
|
958
962
|
position: e.value.legendPosition
|
|
959
|
-
})),
|
|
963
|
+
})), Ca = M(() => ({
|
|
960
964
|
text: e.value.title,
|
|
961
965
|
color: e.value.color,
|
|
962
966
|
fontSize: e.value.titleFontSize,
|
|
@@ -965,34 +969,34 @@ const Xt = { backgroundColor: "#1A1A1A", color: "#CCCCCC", donutStroke: "#1A1A1A
|
|
|
965
969
|
subtitle: {
|
|
966
970
|
text: ""
|
|
967
971
|
}
|
|
968
|
-
})), { exportSvg:
|
|
972
|
+
})), { exportSvg: La, getSvg: _a } = Xa({
|
|
969
973
|
svg: Je,
|
|
970
|
-
title:
|
|
971
|
-
legend:
|
|
972
|
-
legendItems:
|
|
973
|
-
backgroundColor:
|
|
974
|
+
title: Ca,
|
|
975
|
+
legend: wa,
|
|
976
|
+
legendItems: Aa,
|
|
977
|
+
backgroundColor: Sa
|
|
974
978
|
});
|
|
975
979
|
async function Rt({ isCb: a }) {
|
|
976
980
|
if (a) {
|
|
977
|
-
const { blob: u, url: t, text: l, dataUrl: r } = await
|
|
981
|
+
const { blob: u, url: t, text: l, dataUrl: r } = await _a();
|
|
978
982
|
e.value.userOptionsCallbacks.svg({ blob: u, url: t, text: l, dataUrl: r });
|
|
979
983
|
} else
|
|
980
|
-
|
|
984
|
+
La();
|
|
981
985
|
}
|
|
982
986
|
return O({
|
|
983
|
-
getImage:
|
|
987
|
+
getImage: xa,
|
|
984
988
|
generatePdf: St,
|
|
985
989
|
generateImage: At,
|
|
986
990
|
generateSvg: Rt,
|
|
987
991
|
toggleTooltip: Mt,
|
|
988
992
|
toggleAnnotator: tt,
|
|
989
993
|
toggleFullscreen: Pt
|
|
990
|
-
}), (a, u) =>
|
|
994
|
+
}), (a, u) => na.value ? (o(), n("div", {
|
|
991
995
|
key: 0,
|
|
992
996
|
id: `${$.value}_${Z.value}`,
|
|
993
997
|
ref_key: "quickChart",
|
|
994
998
|
ref: ne,
|
|
995
|
-
class:
|
|
999
|
+
class: fe({ "vue-data-ui-component": !0, "vue-ui-quick-chart": !0, "vue-data-ui-wrapper-fullscreen": He.value }),
|
|
996
1000
|
style: D(`background:${e.value.backgroundColor};color:${e.value.color};font-family:${e.value.fontFamily}; position: relative; ${e.value.responsive ? "height: 100%" : ""}`),
|
|
997
1001
|
onMouseenter: u[2] || (u[2] = () => bt(!0)),
|
|
998
1002
|
onMouseleave: u[3] || (u[3] = () => bt(!1))
|
|
@@ -1025,10 +1029,10 @@ const Xt = { backgroundColor: "#1A1A1A", color: "#CCCCCC", donutStroke: "#1A1A1A
|
|
|
1025
1029
|
]),
|
|
1026
1030
|
_: 3
|
|
1027
1031
|
}, 8, ["svgRef", "backgroundColor", "color", "active"])) : m("", !0),
|
|
1028
|
-
|
|
1032
|
+
ia.value ? (o(), n("div", {
|
|
1029
1033
|
key: 1,
|
|
1030
1034
|
ref_key: "noTitle",
|
|
1031
|
-
ref:
|
|
1035
|
+
ref: ft,
|
|
1032
1036
|
class: "vue-data-ui-no-title-space",
|
|
1033
1037
|
style: "height:36px; width: 100%;background:transparent"
|
|
1034
1038
|
}, null, 512)) : m("", !0),
|
|
@@ -1064,7 +1068,7 @@ const Xt = { backgroundColor: "#1A1A1A", color: "#CCCCCC", donutStroke: "#1A1A1A
|
|
|
1064
1068
|
style: D({
|
|
1065
1069
|
visibility: kt.value ? Be.value ? "visible" : "hidden" : "visible"
|
|
1066
1070
|
})
|
|
1067
|
-
},
|
|
1071
|
+
}, Fa({ _: 2 }, [
|
|
1068
1072
|
a.$slots.menuIcon ? {
|
|
1069
1073
|
name: "menuIcon",
|
|
1070
1074
|
fn: W(({ isOpen: t, color: l }) => [
|
|
@@ -1124,13 +1128,13 @@ const Xt = { backgroundColor: "#1A1A1A", color: "#CCCCCC", donutStroke: "#1A1A1A
|
|
|
1124
1128
|
}, N(e.value.title), 5)) : m("", !0),
|
|
1125
1129
|
z("div", {
|
|
1126
1130
|
id: `legend-top-${Z.value}`
|
|
1127
|
-
}, null, 8,
|
|
1131
|
+
}, null, 8, sl),
|
|
1128
1132
|
$.value ? (o(), n("svg", {
|
|
1129
1133
|
key: 4,
|
|
1130
1134
|
ref_key: "svgRef",
|
|
1131
1135
|
ref: Je,
|
|
1132
|
-
xmlns: s(
|
|
1133
|
-
viewBox:
|
|
1136
|
+
xmlns: s(Ua),
|
|
1137
|
+
viewBox: ra.value,
|
|
1134
1138
|
style: D(`max-width:100%;overflow:visible;background:transparent;color:${e.value.color}`)
|
|
1135
1139
|
}, [
|
|
1136
1140
|
Se(s(X)),
|
|
@@ -1145,7 +1149,7 @@ const Xt = { backgroundColor: "#1A1A1A", color: "#CCCCCC", donutStroke: "#1A1A1A
|
|
|
1145
1149
|
}
|
|
1146
1150
|
}, [
|
|
1147
1151
|
R(a.$slots, "chart-background", {}, void 0, !0)
|
|
1148
|
-
], 8,
|
|
1152
|
+
], 8, dl)) : m("", !0),
|
|
1149
1153
|
a.$slots["chart-background"] && $.value === w.LINE ? (o(), n("foreignObject", {
|
|
1150
1154
|
key: 1,
|
|
1151
1155
|
x: c.value.drawingArea.left,
|
|
@@ -1157,7 +1161,7 @@ const Xt = { backgroundColor: "#1A1A1A", color: "#CCCCCC", donutStroke: "#1A1A1A
|
|
|
1157
1161
|
}
|
|
1158
1162
|
}, [
|
|
1159
1163
|
R(a.$slots, "chart-background", {}, void 0, !0)
|
|
1160
|
-
], 8,
|
|
1164
|
+
], 8, cl)) : m("", !0),
|
|
1161
1165
|
a.$slots["chart-background"] && $.value === w.DONUT ? (o(), n("foreignObject", {
|
|
1162
1166
|
key: 2,
|
|
1163
1167
|
x: 0,
|
|
@@ -1169,7 +1173,7 @@ const Xt = { backgroundColor: "#1A1A1A", color: "#CCCCCC", donutStroke: "#1A1A1A
|
|
|
1169
1173
|
}
|
|
1170
1174
|
}, [
|
|
1171
1175
|
R(a.$slots, "chart-background", {}, void 0, !0)
|
|
1172
|
-
], 8,
|
|
1176
|
+
], 8, hl)) : m("", !0),
|
|
1173
1177
|
z("defs", null, [
|
|
1174
1178
|
z("filter", {
|
|
1175
1179
|
id: `blur_${Z.value}`,
|
|
@@ -1182,12 +1186,12 @@ const Xt = { backgroundColor: "#1A1A1A", color: "#CCCCCC", donutStroke: "#1A1A1A
|
|
|
1182
1186
|
in: "SourceGraphic",
|
|
1183
1187
|
stdDeviation: 2,
|
|
1184
1188
|
id: `blur_std_${Z.value}`
|
|
1185
|
-
}, null, 8,
|
|
1189
|
+
}, null, 8, ml),
|
|
1186
1190
|
u[4] || (u[4] = z("feColorMatrix", {
|
|
1187
1191
|
type: "saturate",
|
|
1188
1192
|
values: "0"
|
|
1189
1193
|
}, null, -1))
|
|
1190
|
-
], 8,
|
|
1194
|
+
], 8, fl),
|
|
1191
1195
|
z("filter", {
|
|
1192
1196
|
id: `shadow_${Z.value}`,
|
|
1193
1197
|
"color-interpolation-filters": "sRGB"
|
|
@@ -1198,22 +1202,22 @@ const Xt = { backgroundColor: "#1A1A1A", color: "#CCCCCC", donutStroke: "#1A1A1A
|
|
|
1198
1202
|
stdDeviation: "10",
|
|
1199
1203
|
"flood-opacity": "0.5",
|
|
1200
1204
|
"flood-color": e.value.donutShadowColor
|
|
1201
|
-
}, null, 8,
|
|
1202
|
-
], 8,
|
|
1205
|
+
}, null, 8, pl)
|
|
1206
|
+
], 8, gl)
|
|
1203
1207
|
]),
|
|
1204
1208
|
$.value === w.DONUT ? (o(), n(x, { key: 3 }, [
|
|
1205
|
-
e.value.showDataLabels ? (o(), n("g",
|
|
1209
|
+
e.value.showDataLabels ? (o(), n("g", yl, [
|
|
1206
1210
|
(o(!0), n(x, null, F(T.value.chart, (t, l) => (o(), n(x, null, [
|
|
1207
1211
|
T.value.isArcBigEnough(t) ? (o(), n("path", {
|
|
1208
1212
|
key: 0,
|
|
1209
|
-
d: s(
|
|
1213
|
+
d: s(Va)(t, { x: S.value.width / 2, y: S.value.height / 2 }, 16, 16, !1, !1, S.value.height * $t.value, 12, e.value.donutCurvedMarkers),
|
|
1210
1214
|
stroke: t.color,
|
|
1211
1215
|
"stroke-width": e.value.donutLabelMarkerStrokeWidth,
|
|
1212
1216
|
"stroke-linecap": "round",
|
|
1213
1217
|
"stroke-linejoin": "round",
|
|
1214
1218
|
fill: "none",
|
|
1215
1219
|
filter: $e(t.id)
|
|
1216
|
-
}, null, 8,
|
|
1220
|
+
}, null, 8, xl)) : m("", !0)
|
|
1217
1221
|
], 64))), 256))
|
|
1218
1222
|
])) : m("", !0),
|
|
1219
1223
|
z("circle", {
|
|
@@ -1222,24 +1226,24 @@ const Xt = { backgroundColor: "#1A1A1A", color: "#CCCCCC", donutStroke: "#1A1A1A
|
|
|
1222
1226
|
r: T.value.radius,
|
|
1223
1227
|
fill: e.value.backgroundColor,
|
|
1224
1228
|
filter: e.value.donutUseShadow ? `url(#shadow_${Z.value})` : ""
|
|
1225
|
-
}, null, 8,
|
|
1226
|
-
z("g",
|
|
1229
|
+
}, null, 8, kl),
|
|
1230
|
+
z("g", bl, [
|
|
1227
1231
|
(o(!0), n(x, null, F(T.value.chart, (t, l) => (o(), n("path", {
|
|
1228
1232
|
d: t.arcSlice,
|
|
1229
1233
|
fill: t.color,
|
|
1230
1234
|
stroke: e.value.donutStroke || e.value.backgroundColor,
|
|
1231
1235
|
"stroke-width": e.value.donutStrokeWidth,
|
|
1232
1236
|
filter: $e(t.id)
|
|
1233
|
-
}, null, 8,
|
|
1237
|
+
}, null, 8, Sl))), 256)),
|
|
1234
1238
|
(o(!0), n(x, null, F(T.value.chart, (t, l) => (o(), n("path", {
|
|
1235
1239
|
d: t.arcSlice,
|
|
1236
1240
|
fill: "transparent",
|
|
1237
1241
|
onMouseenter: (r) => T.value.useTooltip({ datapoint: t, seriesIndex: l }),
|
|
1238
1242
|
onMouseout: (r) => T.value.killTooltip({ datapoint: t, seriesIndex: l }),
|
|
1239
1243
|
onClick: (r) => T.value.selectDatapoint({ datapoint: t, seriesIndex: l })
|
|
1240
|
-
}, null, 40,
|
|
1244
|
+
}, null, 40, Al))), 256))
|
|
1241
1245
|
]),
|
|
1242
|
-
e.value.showDataLabels ? (o(), n("g",
|
|
1246
|
+
e.value.showDataLabels ? (o(), n("g", wl, [
|
|
1243
1247
|
(o(!0), n(x, null, F(T.value.chart, (t, l) => (o(), n(x, null, [
|
|
1244
1248
|
T.value.isArcBigEnough(t) ? (o(), n("circle", {
|
|
1245
1249
|
key: 0,
|
|
@@ -1250,7 +1254,7 @@ const Xt = { backgroundColor: "#1A1A1A", color: "#CCCCCC", donutStroke: "#1A1A1A
|
|
|
1250
1254
|
"stroke-width": 1,
|
|
1251
1255
|
r: 3,
|
|
1252
1256
|
filter: $e(t.id)
|
|
1253
|
-
}, null, 8,
|
|
1257
|
+
}, null, 8, Cl)) : m("", !0),
|
|
1254
1258
|
T.value.isArcBigEnough(t) ? (o(), n("text", {
|
|
1255
1259
|
key: 1,
|
|
1256
1260
|
"text-anchor": s(Oe)(t, !0, 20).anchor,
|
|
@@ -1269,7 +1273,7 @@ const Xt = { backgroundColor: "#1A1A1A", color: "#CCCCCC", donutStroke: "#1A1A1A
|
|
|
1269
1273
|
r: e.value.dataLabelRoundingValue
|
|
1270
1274
|
}),
|
|
1271
1275
|
{ datapoint: t, seriesIndex: l }
|
|
1272
|
-
)) + ") ", 9,
|
|
1276
|
+
)) + ") ", 9, Ll)) : m("", !0),
|
|
1273
1277
|
T.value.isArcBigEnough(t, !0, 20) ? (o(), n("text", {
|
|
1274
1278
|
key: 2,
|
|
1275
1279
|
"text-anchor": s(Oe)(t).anchor,
|
|
@@ -1278,17 +1282,17 @@ const Xt = { backgroundColor: "#1A1A1A", color: "#CCCCCC", donutStroke: "#1A1A1A
|
|
|
1278
1282
|
fill: e.value.color,
|
|
1279
1283
|
"font-size": e.value.dataLabelFontSize,
|
|
1280
1284
|
filter: $e(t.id)
|
|
1281
|
-
}, N(t.name), 9,
|
|
1285
|
+
}, N(t.name), 9, _l)) : m("", !0)
|
|
1282
1286
|
], 64))), 256))
|
|
1283
1287
|
])) : m("", !0),
|
|
1284
|
-
e.value.donutShowTotal ? (o(), n("g",
|
|
1288
|
+
e.value.donutShowTotal ? (o(), n("g", zl, [
|
|
1285
1289
|
z("text", {
|
|
1286
1290
|
"text-anchor": "middle",
|
|
1287
1291
|
x: T.value.drawingArea.centerX,
|
|
1288
1292
|
y: T.value.drawingArea.centerY - e.value.donutTotalLabelFontSize / 2,
|
|
1289
1293
|
"font-size": e.value.donutTotalLabelFontSize,
|
|
1290
1294
|
fill: e.value.color
|
|
1291
|
-
}, N(e.value.donutTotalLabelText), 9,
|
|
1295
|
+
}, N(e.value.donutTotalLabelText), 9, $l),
|
|
1292
1296
|
z("text", {
|
|
1293
1297
|
"text-anchor": "middle",
|
|
1294
1298
|
x: T.value.drawingArea.centerX,
|
|
@@ -1300,11 +1304,11 @@ const Xt = { backgroundColor: "#1A1A1A", color: "#CCCCCC", donutStroke: "#1A1A1A
|
|
|
1300
1304
|
v: T.value.total,
|
|
1301
1305
|
s: e.value.valueSuffix,
|
|
1302
1306
|
r: e.value.dataLabelRoundingValue
|
|
1303
|
-
})), 9,
|
|
1307
|
+
})), 9, El)
|
|
1304
1308
|
])) : m("", !0)
|
|
1305
1309
|
], 64)) : m("", !0),
|
|
1306
1310
|
$.value === w.LINE ? (o(), n(x, { key: 4 }, [
|
|
1307
|
-
e.value.xyShowGrid ? (o(), n("g",
|
|
1311
|
+
e.value.xyShowGrid ? (o(), n("g", Fl, [
|
|
1308
1312
|
(o(!0), n(x, null, F(c.value.yLabels, (t) => (o(), n(x, null, [
|
|
1309
1313
|
t.y <= c.value.drawingArea.bottom ? (o(), n("line", {
|
|
1310
1314
|
key: 0,
|
|
@@ -1315,7 +1319,7 @@ const Xt = { backgroundColor: "#1A1A1A", color: "#CCCCCC", donutStroke: "#1A1A1A
|
|
|
1315
1319
|
stroke: e.value.xyGridStroke,
|
|
1316
1320
|
"stroke-width": e.value.xyGridStrokeWidth,
|
|
1317
1321
|
"stroke-linecap": "round"
|
|
1318
|
-
}, null, 8,
|
|
1322
|
+
}, null, 8, Tl)) : m("", !0)
|
|
1319
1323
|
], 64))), 256)),
|
|
1320
1324
|
(o(!0), n(x, null, F(c.value.extremes.maxSeries + 1, (t, l) => (o(), n("line", {
|
|
1321
1325
|
x1: c.value.drawingArea.left + c.value.slotSize * l,
|
|
@@ -1325,9 +1329,9 @@ const Xt = { backgroundColor: "#1A1A1A", color: "#CCCCCC", donutStroke: "#1A1A1A
|
|
|
1325
1329
|
stroke: e.value.xyGridStroke,
|
|
1326
1330
|
"stroke-width": e.value.xyGridStrokeWidth,
|
|
1327
1331
|
"stroke-linecap": "round"
|
|
1328
|
-
}, null, 8,
|
|
1332
|
+
}, null, 8, Il))), 256))
|
|
1329
1333
|
])) : m("", !0),
|
|
1330
|
-
e.value.xyShowAxis ? (o(), n("g",
|
|
1334
|
+
e.value.xyShowAxis ? (o(), n("g", Ol, [
|
|
1331
1335
|
z("line", {
|
|
1332
1336
|
x1: c.value.drawingArea.left,
|
|
1333
1337
|
x2: c.value.drawingArea.left,
|
|
@@ -1336,7 +1340,7 @@ const Xt = { backgroundColor: "#1A1A1A", color: "#CCCCCC", donutStroke: "#1A1A1A
|
|
|
1336
1340
|
stroke: e.value.xyAxisStroke,
|
|
1337
1341
|
"stroke-width": e.value.xyAxisStrokeWidth,
|
|
1338
1342
|
"stroke-linecap": "round"
|
|
1339
|
-
}, null, 8,
|
|
1343
|
+
}, null, 8, Pl),
|
|
1340
1344
|
z("line", {
|
|
1341
1345
|
x1: c.value.drawingArea.left,
|
|
1342
1346
|
x2: c.value.drawingArea.right,
|
|
@@ -1345,7 +1349,7 @@ const Xt = { backgroundColor: "#1A1A1A", color: "#CCCCCC", donutStroke: "#1A1A1A
|
|
|
1345
1349
|
stroke: e.value.xyAxisStroke,
|
|
1346
1350
|
"stroke-width": e.value.xyAxisStrokeWidth,
|
|
1347
1351
|
"stroke-linecap": "round"
|
|
1348
|
-
}, null, 8,
|
|
1352
|
+
}, null, 8, Ml)
|
|
1349
1353
|
])) : m("", !0),
|
|
1350
1354
|
e.value.xyShowScale ? (o(), n("g", {
|
|
1351
1355
|
key: 2,
|
|
@@ -1363,7 +1367,7 @@ const Xt = { backgroundColor: "#1A1A1A", color: "#CCCCCC", donutStroke: "#1A1A1A
|
|
|
1363
1367
|
stroke: e.value.xyAxisStroke,
|
|
1364
1368
|
"stroke-width": e.value.xyAxisStrokeWidth,
|
|
1365
1369
|
"stroke-linecap": "round"
|
|
1366
|
-
}, null, 8,
|
|
1370
|
+
}, null, 8, Rl)) : m("", !0),
|
|
1367
1371
|
t.y <= c.value.drawingArea.bottom ? (o(), n("text", {
|
|
1368
1372
|
key: 1,
|
|
1369
1373
|
x: t.x,
|
|
@@ -1381,10 +1385,10 @@ const Xt = { backgroundColor: "#1A1A1A", color: "#CCCCCC", donutStroke: "#1A1A1A
|
|
|
1381
1385
|
r: e.value.dataLabelRoundingValue
|
|
1382
1386
|
}),
|
|
1383
1387
|
{ datapoint: t, seriesIndex: l }
|
|
1384
|
-
)), 9,
|
|
1388
|
+
)), 9, Bl)) : m("", !0)
|
|
1385
1389
|
], 64))), 256))
|
|
1386
1390
|
], 512)) : m("", !0),
|
|
1387
|
-
e.value.xyShowScale && e.value.xyPeriods.length ? (o(), n("g",
|
|
1391
|
+
e.value.xyShowScale && e.value.xyPeriods.length ? (o(), n("g", Dl, [
|
|
1388
1392
|
(o(!0), n(x, null, F(te.value.map((t) => t.text), (t, l) => (o(), n(x, null, [
|
|
1389
1393
|
!e.value.xyPeriodsShowOnlyAtModulo || e.value.xyPeriodsShowOnlyAtModulo && l % Math.floor((y.value.end - y.value.start) / be.value) === 0 || y.value.end - y.value.start <= be.value ? (o(), n("line", {
|
|
1390
1394
|
key: 0,
|
|
@@ -1395,14 +1399,14 @@ const Xt = { backgroundColor: "#1A1A1A", color: "#CCCCCC", donutStroke: "#1A1A1A
|
|
|
1395
1399
|
stroke: e.value.xyAxisStroke,
|
|
1396
1400
|
"stroke-width": e.value.xyAxisStrokeWidth,
|
|
1397
1401
|
"stroke-linecap": "round"
|
|
1398
|
-
}, null, 8,
|
|
1402
|
+
}, null, 8, Nl)) : m("", !0)
|
|
1399
1403
|
], 64))), 256)),
|
|
1400
1404
|
z("g", {
|
|
1401
1405
|
ref_key: "timeLabelsEls",
|
|
1402
1406
|
ref: ie
|
|
1403
1407
|
}, [
|
|
1404
1408
|
(o(!0), n(x, null, F(te.value.map((t) => t.text), (t, l) => (o(), n(x, null, [
|
|
1405
|
-
!e.value.xyPeriodsShowOnlyAtModulo || e.value.xyPeriodsShowOnlyAtModulo && l % Math.floor((y.value.end - y.value.start) / be.value) === 0 || y.value.end - y.value.start <= be.value ? (o(), n("g",
|
|
1409
|
+
!e.value.xyPeriodsShowOnlyAtModulo || e.value.xyPeriodsShowOnlyAtModulo && l % Math.floor((y.value.end - y.value.start) / be.value) === 0 || y.value.end - y.value.start <= be.value ? (o(), n("g", Ul, [
|
|
1406
1410
|
String(t).includes(`
|
|
1407
1411
|
`) ? (o(), n("text", {
|
|
1408
1412
|
key: 1,
|
|
@@ -1418,20 +1422,20 @@ const Xt = { backgroundColor: "#1A1A1A", color: "#CCCCCC", donutStroke: "#1A1A1A
|
|
|
1418
1422
|
x: 0,
|
|
1419
1423
|
y: 0
|
|
1420
1424
|
})
|
|
1421
|
-
}, null, 8,
|
|
1425
|
+
}, null, 8, Hl)) : (o(), n("text", {
|
|
1422
1426
|
key: 0,
|
|
1423
1427
|
class: "vue-data-ui-time-label",
|
|
1424
1428
|
"font-size": e.value.xyLabelsXFontSize,
|
|
1425
1429
|
"text-anchor": e.value.xyPeriodLabelsRotation > 0 ? "start" : e.value.xyPeriodLabelsRotation < 0 ? "end" : "middle",
|
|
1426
1430
|
fill: e.value.color,
|
|
1427
1431
|
transform: `translate(${c.value.drawingArea.left + c.value.slotSize * (l + 1) - c.value.slotSize / 2}, ${c.value.drawingArea.bottom + e.value.xyLabelsXFontSize + 6}), rotate(${e.value.xyPeriodLabelsRotation})`
|
|
1428
|
-
}, N(t), 9,
|
|
1432
|
+
}, N(t), 9, Vl))
|
|
1429
1433
|
])) : m("", !0)
|
|
1430
1434
|
], 64))), 256))
|
|
1431
1435
|
], 512)
|
|
1432
1436
|
])) : m("", !0),
|
|
1433
|
-
z("g",
|
|
1434
|
-
(o(!0), n(x, null, F(c.value.dataset, (t, l) => (o(), n("g",
|
|
1437
|
+
z("g", ql, [
|
|
1438
|
+
(o(!0), n(x, null, F(c.value.dataset, (t, l) => (o(), n("g", Gl, [
|
|
1435
1439
|
e.value.lineSmooth ? (o(), n(x, { key: 0 }, [
|
|
1436
1440
|
z("path", {
|
|
1437
1441
|
ref_for: !0,
|
|
@@ -1442,9 +1446,9 @@ const Xt = { backgroundColor: "#1A1A1A", color: "#CCCCCC", donutStroke: "#1A1A1A
|
|
|
1442
1446
|
"stroke-width": e.value.lineStrokeWidth + 1,
|
|
1443
1447
|
"stroke-linecap": "round",
|
|
1444
1448
|
fill: "none",
|
|
1445
|
-
class:
|
|
1449
|
+
class: fe({ "quick-animation": !s(U), "vue-data-ui-line-animated": e.value.lineAnimated && !s(U) }),
|
|
1446
1450
|
style: D({ transition: s(U) ? void 0 : "all 0.3s ease-in-out" })
|
|
1447
|
-
}, null, 14,
|
|
1451
|
+
}, null, 14, Wl),
|
|
1448
1452
|
z("path", {
|
|
1449
1453
|
ref_for: !0,
|
|
1450
1454
|
ref_key: "pathTop",
|
|
@@ -1454,9 +1458,9 @@ const Xt = { backgroundColor: "#1A1A1A", color: "#CCCCCC", donutStroke: "#1A1A1A
|
|
|
1454
1458
|
"stroke-width": e.value.lineStrokeWidth,
|
|
1455
1459
|
"stroke-linecap": "round",
|
|
1456
1460
|
fill: "none",
|
|
1457
|
-
class:
|
|
1461
|
+
class: fe({ "quick-animation": !s(U), "vue-data-ui-line-animated": e.value.lineAnimated && !s(U) }),
|
|
1458
1462
|
style: D({ transition: s(U) ? void 0 : "all 0.3s ease-in-out" })
|
|
1459
|
-
}, null, 14,
|
|
1463
|
+
}, null, 14, jl)
|
|
1460
1464
|
], 64)) : (o(), n(x, { key: 1 }, [
|
|
1461
1465
|
z("path", {
|
|
1462
1466
|
ref_for: !0,
|
|
@@ -1467,9 +1471,9 @@ const Xt = { backgroundColor: "#1A1A1A", color: "#CCCCCC", donutStroke: "#1A1A1A
|
|
|
1467
1471
|
"stroke-width": e.value.lineStrokeWidth + 1,
|
|
1468
1472
|
"stroke-linecap": "round",
|
|
1469
1473
|
fill: "none",
|
|
1470
|
-
class:
|
|
1474
|
+
class: fe({ "quick-animation": !s(U), "vue-data-ui-line-animated": e.value.lineAnimated && !s(U) }),
|
|
1471
1475
|
style: D({ transition: s(U) ? void 0 : "all 0.3s ease-in-out" })
|
|
1472
|
-
}, null, 14,
|
|
1476
|
+
}, null, 14, Xl),
|
|
1473
1477
|
z("path", {
|
|
1474
1478
|
ref_for: !0,
|
|
1475
1479
|
ref_key: "pathTop",
|
|
@@ -1479,9 +1483,9 @@ const Xt = { backgroundColor: "#1A1A1A", color: "#CCCCCC", donutStroke: "#1A1A1A
|
|
|
1479
1483
|
"stroke-width": e.value.lineStrokeWidth,
|
|
1480
1484
|
"stroke-linecap": "round",
|
|
1481
1485
|
fill: "none",
|
|
1482
|
-
class:
|
|
1486
|
+
class: fe({ "quick-animation": !s(U), "vue-data-ui-line-animated": e.value.lineAnimated && !s(U) }),
|
|
1483
1487
|
style: D({ transition: s(U) ? void 0 : "all 0.3s ease-in-out" })
|
|
1484
|
-
}, null, 14,
|
|
1488
|
+
}, null, 14, Yl)
|
|
1485
1489
|
], 64)),
|
|
1486
1490
|
(o(!0), n(x, null, F(t.coordinates, (r, p) => (o(), n("circle", {
|
|
1487
1491
|
cx: r.x,
|
|
@@ -1490,12 +1494,12 @@ const Xt = { backgroundColor: "#1A1A1A", color: "#CCCCCC", donutStroke: "#1A1A1A
|
|
|
1490
1494
|
fill: t.color,
|
|
1491
1495
|
stroke: e.value.backgroundColor,
|
|
1492
1496
|
"stroke-width": "0.5",
|
|
1493
|
-
class:
|
|
1497
|
+
class: fe({ "vue-ui-quick-chart-plot": !0, "quick-animation": !s(U) }),
|
|
1494
1498
|
style: D({ transition: s(U) ? void 0 : "all 0.3s ease-in-out" })
|
|
1495
|
-
}, null, 14,
|
|
1499
|
+
}, null, 14, Zl))), 256))
|
|
1496
1500
|
]))), 256))
|
|
1497
1501
|
]),
|
|
1498
|
-
e.value.showDataLabels ? (o(), n("g",
|
|
1502
|
+
e.value.showDataLabels ? (o(), n("g", Jl, [
|
|
1499
1503
|
(o(!0), n(x, null, F(c.value.dataset, (t, l) => (o(), n(x, null, [
|
|
1500
1504
|
(o(!0), n(x, null, F(t.coordinates, (r, p) => (o(), n("text", {
|
|
1501
1505
|
"text-anchor": "middle",
|
|
@@ -1503,7 +1507,7 @@ const Xt = { backgroundColor: "#1A1A1A", color: "#CCCCCC", donutStroke: "#1A1A1A
|
|
|
1503
1507
|
fill: t.color,
|
|
1504
1508
|
x: r.x,
|
|
1505
1509
|
y: s(ve)(r.y) - e.value.dataLabelFontSize / 2,
|
|
1506
|
-
class:
|
|
1510
|
+
class: fe({ "vue-ui-quick-chart-label": !0, "quick-animation": !s(U) }),
|
|
1507
1511
|
style: D({ transition: s(U) ? void 0 : "all 0.3s ease-in-out" })
|
|
1508
1512
|
}, N(s(se)(
|
|
1509
1513
|
e.value.formatter,
|
|
@@ -1515,10 +1519,10 @@ const Xt = { backgroundColor: "#1A1A1A", color: "#CCCCCC", donutStroke: "#1A1A1A
|
|
|
1515
1519
|
r: e.value.dataLabelRoundingValue
|
|
1516
1520
|
}),
|
|
1517
1521
|
{ datapoint: r, seriesIndex: p }
|
|
1518
|
-
)), 15,
|
|
1522
|
+
)), 15, Ql))), 256))
|
|
1519
1523
|
], 64))), 256))
|
|
1520
1524
|
])) : m("", !0),
|
|
1521
|
-
Qe.value ? (o(), n("g",
|
|
1525
|
+
Qe.value ? (o(), n("g", Kl, [
|
|
1522
1526
|
(o(!0), n(x, null, F(c.value.extremes.maxSeries, (t, l) => (o(), n("rect", {
|
|
1523
1527
|
x: c.value.drawingArea.left + l * c.value.slotSize,
|
|
1524
1528
|
y: c.value.drawingArea.top,
|
|
@@ -1529,11 +1533,11 @@ const Xt = { backgroundColor: "#1A1A1A", color: "#CCCCCC", donutStroke: "#1A1A1A
|
|
|
1529
1533
|
onMouseenter: (r) => c.value.useTooltip(l),
|
|
1530
1534
|
onMouseleave: (r) => c.value.killTooltip(l),
|
|
1531
1535
|
onClick: (r) => c.value.selectDatapoint(l)
|
|
1532
|
-
}, null, 44,
|
|
1536
|
+
}, null, 44, eo))), 256))
|
|
1533
1537
|
])) : m("", !0)
|
|
1534
1538
|
], 64)) : m("", !0),
|
|
1535
1539
|
$.value === w.BAR ? (o(), n(x, { key: 5 }, [
|
|
1536
|
-
e.value.xyShowGrid ? (o(), n("g",
|
|
1540
|
+
e.value.xyShowGrid ? (o(), n("g", to, [
|
|
1537
1541
|
(o(!0), n(x, null, F(v.value.yLabels, (t) => (o(), n(x, null, [
|
|
1538
1542
|
t.y <= v.value.drawingArea.bottom ? (o(), n("line", {
|
|
1539
1543
|
key: 0,
|
|
@@ -1544,7 +1548,7 @@ const Xt = { backgroundColor: "#1A1A1A", color: "#CCCCCC", donutStroke: "#1A1A1A
|
|
|
1544
1548
|
stroke: e.value.xyGridStroke,
|
|
1545
1549
|
"stroke-width": e.value.xyGridStrokeWidth,
|
|
1546
1550
|
"stroke-linecap": "round"
|
|
1547
|
-
}, null, 8,
|
|
1551
|
+
}, null, 8, ao)) : m("", !0)
|
|
1548
1552
|
], 64))), 256)),
|
|
1549
1553
|
(o(!0), n(x, null, F(v.value.extremes.maxSeries + 1, (t, l) => (o(), n("line", {
|
|
1550
1554
|
x1: v.value.drawingArea.left + v.value.slotSize * l,
|
|
@@ -1554,9 +1558,9 @@ const Xt = { backgroundColor: "#1A1A1A", color: "#CCCCCC", donutStroke: "#1A1A1A
|
|
|
1554
1558
|
stroke: e.value.xyGridStroke,
|
|
1555
1559
|
"stroke-width": e.value.xyGridStrokeWidth,
|
|
1556
1560
|
"stroke-linecap": "round"
|
|
1557
|
-
}, null, 8,
|
|
1561
|
+
}, null, 8, lo))), 256))
|
|
1558
1562
|
])) : m("", !0),
|
|
1559
|
-
e.value.xyShowAxis ? (o(), n("g",
|
|
1563
|
+
e.value.xyShowAxis ? (o(), n("g", oo, [
|
|
1560
1564
|
z("line", {
|
|
1561
1565
|
x1: v.value.drawingArea.left,
|
|
1562
1566
|
x2: v.value.drawingArea.left,
|
|
@@ -1565,7 +1569,7 @@ const Xt = { backgroundColor: "#1A1A1A", color: "#CCCCCC", donutStroke: "#1A1A1A
|
|
|
1565
1569
|
stroke: e.value.xyAxisStroke,
|
|
1566
1570
|
"stroke-width": e.value.xyAxisStrokeWidth,
|
|
1567
1571
|
"stroke-linecap": "round"
|
|
1568
|
-
}, null, 8,
|
|
1572
|
+
}, null, 8, no),
|
|
1569
1573
|
z("line", {
|
|
1570
1574
|
x1: v.value.drawingArea.left,
|
|
1571
1575
|
x2: v.value.drawingArea.right,
|
|
@@ -1574,7 +1578,7 @@ const Xt = { backgroundColor: "#1A1A1A", color: "#CCCCCC", donutStroke: "#1A1A1A
|
|
|
1574
1578
|
stroke: e.value.xyAxisStroke,
|
|
1575
1579
|
"stroke-width": e.value.xyAxisStrokeWidth,
|
|
1576
1580
|
"stroke-linecap": "round"
|
|
1577
|
-
}, null, 8,
|
|
1581
|
+
}, null, 8, io)
|
|
1578
1582
|
])) : m("", !0),
|
|
1579
1583
|
e.value.xyShowScale ? (o(), n("g", {
|
|
1580
1584
|
key: 2,
|
|
@@ -1592,7 +1596,7 @@ const Xt = { backgroundColor: "#1A1A1A", color: "#CCCCCC", donutStroke: "#1A1A1A
|
|
|
1592
1596
|
stroke: e.value.xyAxisStroke,
|
|
1593
1597
|
"stroke-width": e.value.xyAxisStrokeWidth,
|
|
1594
1598
|
"stroke-linecap": "round"
|
|
1595
|
-
}, null, 8,
|
|
1599
|
+
}, null, 8, ro)) : m("", !0),
|
|
1596
1600
|
t.y <= v.value.drawingArea.bottom ? (o(), n("text", {
|
|
1597
1601
|
key: 1,
|
|
1598
1602
|
x: t.x,
|
|
@@ -1610,10 +1614,10 @@ const Xt = { backgroundColor: "#1A1A1A", color: "#CCCCCC", donutStroke: "#1A1A1A
|
|
|
1610
1614
|
r: e.value.dataLabelRoundingValue
|
|
1611
1615
|
}),
|
|
1612
1616
|
{ datapoint: t, seriesIndex: l }
|
|
1613
|
-
)), 9,
|
|
1617
|
+
)), 9, uo)) : m("", !0)
|
|
1614
1618
|
], 64))), 256))
|
|
1615
1619
|
], 512)) : m("", !0),
|
|
1616
|
-
e.value.xyShowScale && e.value.xyPeriods.length ? (o(), n("g",
|
|
1620
|
+
e.value.xyShowScale && e.value.xyPeriods.length ? (o(), n("g", so, [
|
|
1617
1621
|
(o(!0), n(x, null, F(e.value.xyPeriods.slice(y.value.start, y.value.end), (t, l) => (o(), n("line", {
|
|
1618
1622
|
x1: v.value.drawingArea.left + v.value.slotSize * (l + 1) - v.value.slotSize / 2,
|
|
1619
1623
|
x2: v.value.drawingArea.left + v.value.slotSize * (l + 1) - v.value.slotSize / 2,
|
|
@@ -1622,13 +1626,13 @@ const Xt = { backgroundColor: "#1A1A1A", color: "#CCCCCC", donutStroke: "#1A1A1A
|
|
|
1622
1626
|
stroke: e.value.xyAxisStroke,
|
|
1623
1627
|
"stroke-width": e.value.xyAxisStrokeWidth,
|
|
1624
1628
|
"stroke-linecap": "round"
|
|
1625
|
-
}, null, 8,
|
|
1629
|
+
}, null, 8, vo))), 256)),
|
|
1626
1630
|
z("g", {
|
|
1627
1631
|
ref_key: "timeLabelsEls",
|
|
1628
1632
|
ref: ie
|
|
1629
1633
|
}, [
|
|
1630
1634
|
(o(!0), n(x, null, F(te.value.map((t) => t.text), (t, l) => (o(), n(x, null, [
|
|
1631
|
-
!e.value.xyPeriodsShowOnlyAtModulo || e.value.xyPeriodsShowOnlyAtModulo && l % Math.floor((y.value.end - y.value.start) / be.value) === 0 || y.value.end - y.value.start <= be.value ? (o(), n("g",
|
|
1635
|
+
!e.value.xyPeriodsShowOnlyAtModulo || e.value.xyPeriodsShowOnlyAtModulo && l % Math.floor((y.value.end - y.value.start) / be.value) === 0 || y.value.end - y.value.start <= be.value ? (o(), n("g", co, [
|
|
1632
1636
|
String(t).includes(`
|
|
1633
1637
|
`) ? (o(), n("text", {
|
|
1634
1638
|
key: 1,
|
|
@@ -1644,19 +1648,19 @@ const Xt = { backgroundColor: "#1A1A1A", color: "#CCCCCC", donutStroke: "#1A1A1A
|
|
|
1644
1648
|
x: 0,
|
|
1645
1649
|
y: 0
|
|
1646
1650
|
})
|
|
1647
|
-
}, null, 8,
|
|
1651
|
+
}, null, 8, fo)) : (o(), n("text", {
|
|
1648
1652
|
key: 0,
|
|
1649
1653
|
class: "vue-data-ui-time-label",
|
|
1650
1654
|
"font-size": e.value.xyLabelsXFontSize,
|
|
1651
1655
|
"text-anchor": e.value.xyPeriodLabelsRotation > 0 ? "start" : e.value.xyPeriodLabelsRotation < 0 ? "end" : "middle",
|
|
1652
1656
|
fill: e.value.color,
|
|
1653
1657
|
transform: `translate(${v.value.drawingArea.left + v.value.slotSize * (l + 1) - v.value.slotSize / 2}, ${v.value.drawingArea.bottom + e.value.xyLabelsXFontSize + 6}), rotate(${e.value.xyPeriodLabelsRotation})`
|
|
1654
|
-
}, N(t), 9,
|
|
1658
|
+
}, N(t), 9, ho))
|
|
1655
1659
|
])) : m("", !0)
|
|
1656
1660
|
], 64))), 256))
|
|
1657
1661
|
], 512)
|
|
1658
1662
|
])) : m("", !0),
|
|
1659
|
-
z("g",
|
|
1663
|
+
z("g", mo, [
|
|
1660
1664
|
(o(!0), n(x, null, F(v.value.dataset, (t, l) => (o(), n(x, null, [
|
|
1661
1665
|
(o(!0), n(x, null, F(t.coordinates, (r, p) => (o(), n("rect", {
|
|
1662
1666
|
x: r.x,
|
|
@@ -1667,7 +1671,7 @@ const Xt = { backgroundColor: "#1A1A1A", color: "#CCCCCC", donutStroke: "#1A1A1A
|
|
|
1667
1671
|
stroke: e.value.backgroundColor,
|
|
1668
1672
|
"stroke-width": e.value.barStrokeWidth,
|
|
1669
1673
|
"stroke-linecap": "round",
|
|
1670
|
-
class:
|
|
1674
|
+
class: fe({ "vue-data-ui-bar-animated": e.value.barAnimated && r.value < 0 && !s(U) })
|
|
1671
1675
|
}, [
|
|
1672
1676
|
e.value.barAnimated && r.value > 0 && !s(De) && !s(Ne) ? (o(), n("animate", {
|
|
1673
1677
|
key: 0,
|
|
@@ -1675,18 +1679,18 @@ const Xt = { backgroundColor: "#1A1A1A", color: "#CCCCCC", donutStroke: "#1A1A1A
|
|
|
1675
1679
|
from: 0,
|
|
1676
1680
|
to: r.height,
|
|
1677
1681
|
dur: "0.5s"
|
|
1678
|
-
}, null, 8,
|
|
1682
|
+
}, null, 8, po)) : m("", !0),
|
|
1679
1683
|
e.value.barAnimated && r.value > 0 && !s(De) && !s(Ne) ? (o(), n("animate", {
|
|
1680
1684
|
key: 1,
|
|
1681
1685
|
attributeName: "y",
|
|
1682
1686
|
from: v.value.absoluteZero,
|
|
1683
1687
|
to: v.value.absoluteZero - r.height,
|
|
1684
1688
|
dur: "0.5s"
|
|
1685
|
-
}, null, 8,
|
|
1686
|
-
], 10,
|
|
1689
|
+
}, null, 8, yo)) : m("", !0)
|
|
1690
|
+
], 10, go))), 256))
|
|
1687
1691
|
], 64))), 256))
|
|
1688
1692
|
]),
|
|
1689
|
-
e.value.showDataLabels ? (o(), n("g",
|
|
1693
|
+
e.value.showDataLabels ? (o(), n("g", xo, [
|
|
1690
1694
|
(o(!0), n(x, null, F(v.value.dataset, (t, l) => (o(), n(x, null, [
|
|
1691
1695
|
(o(!0), n(x, null, F(t.coordinates, (r, p) => (o(), n("text", {
|
|
1692
1696
|
x: r.x + r.width / 2,
|
|
@@ -1705,10 +1709,10 @@ const Xt = { backgroundColor: "#1A1A1A", color: "#CCCCCC", donutStroke: "#1A1A1A
|
|
|
1705
1709
|
r: e.value.dataLabelRoundingValue
|
|
1706
1710
|
}),
|
|
1707
1711
|
{ datapoint: r, seriesIndex: p }
|
|
1708
|
-
)), 9,
|
|
1712
|
+
)), 9, ko))), 256))
|
|
1709
1713
|
], 64))), 256))
|
|
1710
1714
|
])) : m("", !0),
|
|
1711
|
-
Qe.value ? (o(), n("g",
|
|
1715
|
+
Qe.value ? (o(), n("g", bo, [
|
|
1712
1716
|
(o(!0), n(x, null, F(v.value.extremes.maxSeries, (t, l) => (o(), n("rect", {
|
|
1713
1717
|
x: v.value.drawingArea.left + l * v.value.slotSize,
|
|
1714
1718
|
y: v.value.drawingArea.top,
|
|
@@ -1719,10 +1723,10 @@ const Xt = { backgroundColor: "#1A1A1A", color: "#CCCCCC", donutStroke: "#1A1A1A
|
|
|
1719
1723
|
onMouseenter: (r) => v.value.useTooltip(l),
|
|
1720
1724
|
onMouseleave: (r) => v.value.killTooltip(l),
|
|
1721
1725
|
onClick: (r) => v.value.selectDatapoint(l)
|
|
1722
|
-
}, null, 44,
|
|
1726
|
+
}, null, 44, So))), 256))
|
|
1723
1727
|
])) : m("", !0)
|
|
1724
1728
|
], 64)) : m("", !0),
|
|
1725
|
-
[w.LINE, w.BAR].includes($.value) ? (o(), n("g",
|
|
1729
|
+
[w.LINE, w.BAR].includes($.value) ? (o(), n("g", Ao, [
|
|
1726
1730
|
e.value.xAxisLabel && $.value === w.LINE ? (o(), n("g", {
|
|
1727
1731
|
key: 0,
|
|
1728
1732
|
ref_key: "xAxisLabel",
|
|
@@ -1734,7 +1738,7 @@ const Xt = { backgroundColor: "#1A1A1A", color: "#CCCCCC", donutStroke: "#1A1A1A
|
|
|
1734
1738
|
"text-anchor": "middle",
|
|
1735
1739
|
x: c.value.drawingArea.left + c.value.drawingArea.width / 2,
|
|
1736
1740
|
y: S.value.height - e.value.axisLabelsFontSize / 3
|
|
1737
|
-
}, N(e.value.xAxisLabel), 9,
|
|
1741
|
+
}, N(e.value.xAxisLabel), 9, wo)
|
|
1738
1742
|
], 512)) : m("", !0),
|
|
1739
1743
|
e.value.xAxisLabel && $.value === w.BAR ? (o(), n("g", {
|
|
1740
1744
|
key: 1,
|
|
@@ -1747,7 +1751,7 @@ const Xt = { backgroundColor: "#1A1A1A", color: "#CCCCCC", donutStroke: "#1A1A1A
|
|
|
1747
1751
|
"text-anchor": "middle",
|
|
1748
1752
|
x: v.value.drawingArea.left + v.value.drawingArea.width / 2,
|
|
1749
1753
|
y: S.value.height - e.value.axisLabelsFontSize / 3
|
|
1750
|
-
}, N(e.value.xAxisLabel), 9,
|
|
1754
|
+
}, N(e.value.xAxisLabel), 9, Co)
|
|
1751
1755
|
], 512)) : m("", !0),
|
|
1752
1756
|
e.value.yAxisLabel && $.value === w.LINE ? (o(), n("g", {
|
|
1753
1757
|
key: 2,
|
|
@@ -1759,7 +1763,7 @@ const Xt = { backgroundColor: "#1A1A1A", color: "#CCCCCC", donutStroke: "#1A1A1A
|
|
|
1759
1763
|
fill: e.value.color,
|
|
1760
1764
|
transform: `translate(${e.value.axisLabelsFontSize}, ${c.value.drawingArea.top + c.value.drawingArea.height / 2}) rotate(-90)`,
|
|
1761
1765
|
"text-anchor": "middle"
|
|
1762
|
-
}, N(e.value.yAxisLabel), 9,
|
|
1766
|
+
}, N(e.value.yAxisLabel), 9, Lo)
|
|
1763
1767
|
], 512)) : m("", !0),
|
|
1764
1768
|
e.value.yAxisLabel && $.value === w.BAR ? (o(), n("g", {
|
|
1765
1769
|
key: 3,
|
|
@@ -1771,11 +1775,11 @@ const Xt = { backgroundColor: "#1A1A1A", color: "#CCCCCC", donutStroke: "#1A1A1A
|
|
|
1771
1775
|
fill: e.value.color,
|
|
1772
1776
|
transform: `translate(${e.value.axisLabelsFontSize}, ${v.value.drawingArea.top + v.value.drawingArea.height / 2}) rotate(-90)`,
|
|
1773
1777
|
"text-anchor": "middle"
|
|
1774
|
-
}, N(e.value.yAxisLabel), 9,
|
|
1778
|
+
}, N(e.value.yAxisLabel), 9, _o)
|
|
1775
1779
|
], 512)) : m("", !0)
|
|
1776
1780
|
])) : m("", !0)
|
|
1777
|
-
], 12,
|
|
1778
|
-
a.$slots.watermark ? (o(), n("div",
|
|
1781
|
+
], 12, vl)) : m("", !0),
|
|
1782
|
+
a.$slots.watermark ? (o(), n("div", zo, [
|
|
1779
1783
|
R(a.$slots, "watermark", Q(K({ isPrinting: s(De) || s(Ne) })), void 0, !0)
|
|
1780
1784
|
])) : m("", !0),
|
|
1781
1785
|
[w.BAR, w.LINE].includes($.value) && e.value.zoomXy && k.value.maxSeriesLength > 1 ? (o(), n("div", {
|
|
@@ -1783,7 +1787,7 @@ const Xt = { backgroundColor: "#1A1A1A", color: "#CCCCCC", donutStroke: "#1A1A1A
|
|
|
1783
1787
|
ref_key: "quickChartSlicer",
|
|
1784
1788
|
ref: ct
|
|
1785
1789
|
}, [
|
|
1786
|
-
(o(), Ie(
|
|
1790
|
+
(o(), Ie(el, {
|
|
1787
1791
|
ref_key: "slicerComponent",
|
|
1788
1792
|
ref: Et,
|
|
1789
1793
|
key: `slicer_${Me.value}`,
|
|
@@ -1805,7 +1809,7 @@ const Xt = { backgroundColor: "#1A1A1A", color: "#CCCCCC", donutStroke: "#1A1A1A
|
|
|
1805
1809
|
minimapSelectedColorOpacity: e.value.zoomMinimap.selectedColorOpacity,
|
|
1806
1810
|
minimapSelectionRadius: e.value.zoomMinimap.selectionRadius,
|
|
1807
1811
|
minimapLineColor: e.value.zoomMinimap.lineColor,
|
|
1808
|
-
minimap:
|
|
1812
|
+
minimap: ca.value,
|
|
1809
1813
|
minimapIndicatorColor: e.value.zoomMinimap.indicatorColor,
|
|
1810
1814
|
verticalHandles: e.value.zoomMinimap.verticalHandles,
|
|
1811
1815
|
minimapSelectedIndex: re.value,
|
|
@@ -1819,12 +1823,12 @@ const Xt = { backgroundColor: "#1A1A1A", color: "#CCCCCC", donutStroke: "#1A1A1A
|
|
|
1819
1823
|
enableSelectionDrag: e.value.zoomEnableSelectionDrag,
|
|
1820
1824
|
minimapCompact: e.value.zoomMinimap.compact,
|
|
1821
1825
|
minimapMerged: e.value.zoomMinimap.merged,
|
|
1822
|
-
allMinimaps:
|
|
1826
|
+
allMinimaps: ya.value,
|
|
1823
1827
|
minimapFrameColor: e.value.zoomMinimap.frameColor,
|
|
1824
1828
|
focusOnDrag: e.value.zoomFocusOnDrag,
|
|
1825
1829
|
focusRangeRatio: e.value.zoomFocusRangeRatio,
|
|
1826
|
-
onReset:
|
|
1827
|
-
onTrapMouse:
|
|
1830
|
+
onReset: va,
|
|
1831
|
+
onTrapMouse: sa
|
|
1828
1832
|
}, {
|
|
1829
1833
|
"reset-action": W(({ reset: t }) => [
|
|
1830
1834
|
R(a.$slots, "reset-action", Q(K({ reset: t })), void 0, !0)
|
|
@@ -1834,8 +1838,8 @@ const Xt = { backgroundColor: "#1A1A1A", color: "#CCCCCC", donutStroke: "#1A1A1A
|
|
|
1834
1838
|
])) : m("", !0),
|
|
1835
1839
|
z("div", {
|
|
1836
1840
|
id: `legend-bottom-${Z.value}`
|
|
1837
|
-
}, null, 8,
|
|
1838
|
-
gt.value ? (o(), Ie(
|
|
1841
|
+
}, null, 8, $o),
|
|
1842
|
+
gt.value ? (o(), Ie(Ta, {
|
|
1839
1843
|
key: 7,
|
|
1840
1844
|
to: e.value.legendPosition === "top" ? `#legend-top-${Z.value}` : `#legend-bottom-${Z.value}`
|
|
1841
1845
|
}, [
|
|
@@ -1849,7 +1853,7 @@ const Xt = { backgroundColor: "#1A1A1A", color: "#CCCCCC", donutStroke: "#1A1A1A
|
|
|
1849
1853
|
$.value === w.DONUT ? (o(!0), n(x, { key: 0 }, F(T.value.legend, (t, l) => (o(), n("div", {
|
|
1850
1854
|
class: "vue-ui-quick-chart-legend-item",
|
|
1851
1855
|
onClick: (r) => {
|
|
1852
|
-
|
|
1856
|
+
ua(t, T.value.dataset), ye("selectLegend", t);
|
|
1853
1857
|
},
|
|
1854
1858
|
style: D(`cursor: ${T.value.legend.length > 1 ? "pointer" : "default"}; opacity:${L.value.includes(t.id) ? "0.5" : "1"}`)
|
|
1855
1859
|
}, [
|
|
@@ -1893,7 +1897,7 @@ const Xt = { backgroundColor: "#1A1A1A", color: "#CCCCCC", donutStroke: "#1A1A1A
|
|
|
1893
1897
|
r: e.value.dataLabelRoundingPercentage
|
|
1894
1898
|
})) + ") ", 5))
|
|
1895
1899
|
], 64))
|
|
1896
|
-
], 12,
|
|
1900
|
+
], 12, Eo))), 256)) : m("", !0),
|
|
1897
1901
|
$.value === w.LINE ? (o(!0), n(x, { key: 1 }, F(c.value.legend, (t, l) => (o(), n("div", {
|
|
1898
1902
|
class: "vue-ui-quick-chart-legend-item",
|
|
1899
1903
|
onClick: (r) => {
|
|
@@ -1914,7 +1918,7 @@ const Xt = { backgroundColor: "#1A1A1A", color: "#CCCCCC", donutStroke: "#1A1A1A
|
|
|
1914
1918
|
style: D(`font-size:${e.value.legendFontSize}px`)
|
|
1915
1919
|
}, N(t.name), 5)
|
|
1916
1920
|
], 64))
|
|
1917
|
-
], 12,
|
|
1921
|
+
], 12, Fo))), 256)) : m("", !0),
|
|
1918
1922
|
$.value === w.BAR ? (o(!0), n(x, { key: 2 }, F(v.value.legend, (t, l) => (o(), n("div", {
|
|
1919
1923
|
class: "vue-ui-quick-chart-legend-item",
|
|
1920
1924
|
onClick: (r) => {
|
|
@@ -1935,13 +1939,13 @@ const Xt = { backgroundColor: "#1A1A1A", color: "#CCCCCC", donutStroke: "#1A1A1A
|
|
|
1935
1939
|
style: D(`font-size:${e.value.legendFontSize}px`)
|
|
1936
1940
|
}, N(t.name), 5)
|
|
1937
1941
|
], 64))
|
|
1938
|
-
], 12,
|
|
1942
|
+
], 12, To))), 256)) : m("", !0)
|
|
1939
1943
|
], 4)) : m("", !0)
|
|
1940
1944
|
], 8, ["to"])) : m("", !0),
|
|
1941
1945
|
a.$slots.source ? (o(), n("div", {
|
|
1942
1946
|
key: 8,
|
|
1943
1947
|
ref_key: "source",
|
|
1944
|
-
ref:
|
|
1948
|
+
ref: ht,
|
|
1945
1949
|
dir: "auto"
|
|
1946
1950
|
}, [
|
|
1947
1951
|
R(a.$slots, "source", {}, void 0, !0)
|
|
@@ -1975,8 +1979,8 @@ const Xt = { backgroundColor: "#1A1A1A", color: "#CCCCCC", donutStroke: "#1A1A1A
|
|
|
1975
1979
|
]),
|
|
1976
1980
|
_: 3
|
|
1977
1981
|
}, 8, ["teleportTo", "show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "smoothForce", "smoothSnapThreshold", "backdropFilter"]),
|
|
1978
|
-
s(U) ? (o(), Ie(
|
|
1979
|
-
], 46,
|
|
1982
|
+
s(U) ? (o(), Ie(Wa, { key: 9 })) : m("", !0)
|
|
1983
|
+
], 46, ul)) : (o(), n("div", Io, [
|
|
1980
1984
|
Se(s(V), {
|
|
1981
1985
|
name: "circleCancel",
|
|
1982
1986
|
stroke: "red"
|
|
@@ -1984,12 +1988,12 @@ const Xt = { backgroundColor: "#1A1A1A", color: "#CCCCCC", donutStroke: "#1A1A1A
|
|
|
1984
1988
|
u[5] || (u[5] = z("span", null, "Dataset is not processable", -1))
|
|
1985
1989
|
]));
|
|
1986
1990
|
}
|
|
1987
|
-
},
|
|
1991
|
+
}, Po = /* @__PURE__ */ tl(Oo, [["__scopeId", "data-v-3dce9f71"]]), Jo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1988
1992
|
__proto__: null,
|
|
1989
|
-
default:
|
|
1993
|
+
default: Po
|
|
1990
1994
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
1991
1995
|
export {
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
|
|
1996
|
+
Zo as a,
|
|
1997
|
+
Jo as b,
|
|
1998
|
+
Po as v
|
|
1995
1999
|
};
|