vue-data-ui 3.3.2 → 3.3.3
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-DLi6NnGD.js → Arrow-ayTeSvpe.js} +1 -1
- package/dist/{BaseDraggableDialog-CVGErydD.js → BaseDraggableDialog-Cysanw8-.js} +2 -2
- package/dist/{BaseIcon-eZbszQrv.js → BaseIcon-DG6cvf2h.js} +1 -1
- package/dist/{ColorPicker-BoPM4Ejg.js → ColorPicker-CA8kKZjZ.js} +2 -2
- package/dist/{DataTable-yAMEyP6y.js → DataTable-DUpZ_s2c.js} +2 -2
- package/dist/{Legend-By4rru90.js → Legend-CCBZ2x8T.js} +2 -2
- package/dist/{NonSvgPenAndPaper-C7QqIewT.js → NonSvgPenAndPaper-D2IMGwaN.js} +3 -3
- package/dist/{PackageVersion-r-Q1R3nV.js → PackageVersion-CQvYRebC.js} +1 -1
- package/dist/{PenAndPaper-Bo-lMUik.js → PenAndPaper-D9LruJaM.js} +3 -3
- package/dist/{Shape-BceHSLHf.js → Shape-BS9UGhNq.js} +1 -1
- package/dist/{Slicer-Znzt0gSE.js → Slicer-BOki89CB.js} +2 -2
- package/dist/{SparkTooltip--YwqrrgZ.js → SparkTooltip-svd8Hb6c.js} +1 -1
- package/dist/{Title-Camz1Lce.js → Title-B6rAo9Oz.js} +1 -1
- package/dist/{Tooltip-VOcQEHa4.js → Tooltip-DaInVNiV.js} +1 -1
- package/dist/{UserOptions-CSja1SGU.js → UserOptions-CJXSEhan.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-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-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-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-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-DxyZSvDx.js → dom-to-png-Tq92GZKA.js} +1 -1
- package/dist/{img-J2dLIr8Y.js → img-DI-W68vp.js} +1 -1
- package/dist/{lib-CEjkWSLj.js → lib-CSDxt1Zh.js} +12 -12
- package/dist/{pdf-anN8VbM7.js → pdf-BzVpWnNO.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useAutoSizeLabelsInsideViewbox-CovTrBjm.js → useAutoSizeLabelsInsideViewbox-CtQ7pJ8G.js} +1 -1
- package/dist/{useNestedProp-Ce3PwN8T.js → useNestedProp-Dh-ldrr5.js} +1 -1
- package/dist/{usePrinter-DJ1iH-F_.js → usePrinter-Cq8Pt6Lh.js} +2 -2
- package/dist/useTimeLabelCollider-CIsgDrl9.js +78 -0
- package/dist/{vue-data-ui-BFdGl7rL.js → vue-data-ui-CDY7snWF.js} +64 -64
- package/dist/vue-data-ui.js +68 -68
- package/dist/{vue-ui-3d-bar-kzlIaqHU.js → vue-ui-3d-bar-DbpiTjGu.js} +6 -6
- package/dist/{vue-ui-accordion-VTP418mC.js → vue-ui-accordion-CaClZrCp.js} +3 -3
- package/dist/{vue-ui-age-pyramid-YFzQ15k1.js → vue-ui-age-pyramid-DuIxXz5p.js} +35 -28
- package/dist/{vue-ui-annotator-CmwDyy9m.js → vue-ui-annotator-C2efSKQK.js} +7 -7
- package/dist/{vue-ui-bullet-DdjpiM-T.js → vue-ui-bullet-qpcqLKmp.js} +7 -7
- package/dist/{vue-ui-candlestick-x9U5Ni0N.js → vue-ui-candlestick-DTWbbdGH.js} +38 -31
- package/dist/{vue-ui-carousel-table-CRI_iPLn.js → vue-ui-carousel-table-CCTtArFX.js} +4 -4
- package/dist/{vue-ui-chestnut-YrEA5Gq3.js → vue-ui-chestnut-CbvxJ8hy.js} +5 -5
- package/dist/{vue-ui-chord-D_2DdvpZ.js → vue-ui-chord-Cp9nyIdv.js} +8 -8
- package/dist/{vue-ui-circle-pack-xm9-OOAR.js → vue-ui-circle-pack-kHzd0UYO.js} +21 -21
- package/dist/{vue-ui-cursor-Dt8Zzw22.js → vue-ui-cursor-DEvkJRCz.js} +2 -2
- package/dist/{vue-ui-dashboard-29ZuFoLn.js → vue-ui-dashboard-k_mz9iwy.js} +67 -67
- package/dist/{vue-ui-digits-nKPRJ9Vz.js → vue-ui-digits-CqWCkEu2.js} +2 -2
- package/dist/{vue-ui-donut-BQptfVfE.js → vue-ui-donut-CDKS6sVu.js} +8 -8
- package/dist/{vue-ui-donut-evolution-fiqngEFW.js → vue-ui-donut-evolution-C6cGI_P3.js} +83 -76
- package/dist/{vue-ui-dumbbell-Cw45EBO0.js → vue-ui-dumbbell-ZjJst3xs.js} +38 -31
- package/dist/{vue-ui-flow-DPu9BjPy.js → vue-ui-flow-sX1PYIkr.js} +7 -7
- package/dist/{vue-ui-funnel-CtlDuNjO.js → vue-ui-funnel--VViM9gH.js} +6 -6
- package/dist/{vue-ui-galaxy-BiVjoNHW.js → vue-ui-galaxy-Du0V9GF8.js} +7 -7
- package/dist/{vue-ui-gauge-CoM6Q3Nb.js → vue-ui-gauge-BAe4p2g-.js} +7 -7
- package/dist/{vue-ui-gizmo-DXG8dS5u.js → vue-ui-gizmo-CfjwAt38.js} +3 -3
- package/dist/{vue-ui-heatmap-D6n8AnCc.js → vue-ui-heatmap-Q0jrPM5h.js} +466 -436
- package/dist/{vue-ui-history-plot-C8WMHda_.js → vue-ui-history-plot-CLSN3mPy.js} +45 -38
- package/dist/{vue-ui-kpi-Dphnwumo.js → vue-ui-kpi-CBRgXD1s.js} +3 -3
- package/dist/{vue-ui-mini-loader-DFk9GZ5V.js → vue-ui-mini-loader-3yCeDEPK.js} +2 -2
- package/dist/{vue-ui-molecule-DC4_vXt_.js → vue-ui-molecule-Ddh4hbX0.js} +5 -5
- package/dist/{vue-ui-mood-radar-BgT5wMS0.js → vue-ui-mood-radar-CK8UF-ka.js} +7 -7
- package/dist/{vue-ui-nested-donuts-D2gSqe1f.js → vue-ui-nested-donuts-DO0FV0tU.js} +7 -7
- package/dist/{vue-ui-onion-CEbv2ii4.js → vue-ui-onion-DXLqoj-4.js} +8 -8
- package/dist/{vue-ui-parallel-coordinate-plot-budrvcwU.js → vue-ui-parallel-coordinate-plot-BlffHAHB.js} +45 -38
- package/dist/{vue-ui-quadrant-PpymeiXe.js → vue-ui-quadrant-pw2ALj7p.js} +8 -8
- package/dist/{vue-ui-quick-chart-k6mjTD56.js → vue-ui-quick-chart-9oGbV593.js} +214 -207
- package/dist/{vue-ui-radar-C5NvYMnv.js → vue-ui-radar-Csznqw19.js} +8 -8
- package/dist/{vue-ui-rating-eKlTJch9.js → vue-ui-rating-C4yZY1sb.js} +2 -2
- package/dist/{vue-ui-relation-circle-Df33aaUT.js → vue-ui-relation-circle-Duxv-A4H.js} +7 -7
- package/dist/{vue-ui-ridgeline-BTw-37RS.js → vue-ui-ridgeline-B-q7J-C0.js} +45 -38
- package/dist/{vue-ui-rings-C_s9xOtZ.js → vue-ui-rings-PRAcmP1H.js} +8 -8
- package/dist/{vue-ui-scatter-Jd8bQ0S5.js → vue-ui-scatter-BLW4MJtJ.js} +8 -8
- package/dist/{vue-ui-skeleton-Ce7H57o7.js → vue-ui-skeleton-D0PF0jxa.js} +3 -3
- package/dist/{vue-ui-smiley-C4mhT7ZV.js → vue-ui-smiley-Be44gMTh.js} +2 -2
- package/dist/{vue-ui-spark-trend-DQy4iSO7.js → vue-ui-spark-trend-B2XY2dRa.js} +3 -3
- package/dist/{vue-ui-sparkbar-CUFTHql0.js → vue-ui-sparkbar-DWQN4gvR.js} +3 -3
- package/dist/{vue-ui-sparkgauge-CcykuBps.js → vue-ui-sparkgauge-fDhQGQ12.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-CyGvYpYn.js → vue-ui-sparkhistogram-f7Acvipt.js} +4 -4
- package/dist/{vue-ui-sparkline-CLWJM6hA.js → vue-ui-sparkline-Ys3JW7Ap.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-Cln1pduE.js → vue-ui-sparkstackbar-Dv0HeSna.js} +3 -3
- package/dist/{vue-ui-stackbar-DIUil9DO.js → vue-ui-stackbar-DUlN5QiM.js} +45 -30
- package/dist/{vue-ui-strip-plot-C4U0fT5D.js → vue-ui-strip-plot-DN13ntF-.js} +113 -106
- package/dist/{vue-ui-table-DpdP3PDq.js → vue-ui-table-Qb5tDX1n.js} +5 -5
- package/dist/{vue-ui-table-heatmap-J29d8nds.js → vue-ui-table-heatmap-hMrgJ25a.js} +5 -5
- package/dist/{vue-ui-table-sparkline-Chf5YY4A.js → vue-ui-table-sparkline-CdkFyJjv.js} +4 -4
- package/dist/{vue-ui-thermometer-D6RmaNE6.js → vue-ui-thermometer-D7U2C7kJ.js} +7 -7
- package/dist/{vue-ui-timer-C5E1kJRt.js → vue-ui-timer-KtA4M2mV.js} +5 -5
- package/dist/{vue-ui-tiremarks-D0erVBnj.js → vue-ui-tiremarks-C6GTGszq.js} +6 -6
- package/dist/{vue-ui-treemap-K8FYxuYz.js → vue-ui-treemap-rhnl1TW9.js} +8 -8
- package/dist/{vue-ui-vertical-bar-BA3OY8Sh.js → vue-ui-vertical-bar-n_Lvbd_X.js} +9 -9
- package/dist/{vue-ui-waffle-CgLgPuro.js → vue-ui-waffle-D-4whGLN.js} +8 -8
- package/dist/{vue-ui-wheel-C_cOUhCs.js → vue-ui-wheel-D92HLjfr.js} +6 -6
- package/dist/{vue-ui-word-cloud-uvHNOIpN.js → vue-ui-word-cloud-Df9AMw6v.js} +20 -20
- package/dist/{vue-ui-world-DmeNMwpX.js → vue-ui-world-Bg9S35ug.js} +6 -6
- package/dist/{vue-ui-xy-tWE4H5ij.js → vue-ui-xy-Da6oy2rm.js} +284 -277
- package/dist/{vue-ui-xy-canvas-BQKR36bd.js → vue-ui-xy-canvas-0CLSIKpO.js} +10 -10
- package/package.json +1 -1
- package/dist/useResizeObserverEffect-DfnWps4W.js +0 -109
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { useCssVars as
|
|
2
|
-
import { c as ga, z as xa, X as un, E as ht, ad as ya, U as pa, ae as ka, T as wa, af as
|
|
1
|
+
import { useCssVars as jo, computed as x, ref as y, watch as ft, onMounted as Zl, onBeforeUnmount as _l, onUpdated as fo, nextTick as Ml, createElementBlock as i, openBlock as n, createElementVNode as S, createCommentVNode as g, renderSlot as le, normalizeStyle as L, createVNode as gl, withDirectives as Oa, unref as m, Fragment as b, renderList as _, normalizeProps as Gt, mergeProps as Ut, normalizeClass as Ke, withKeys as mo, vModelText as go, toDisplayString as xe, defineAsyncComponent as Xt, useSlots as en, getCurrentInstance as tn, toRefs as ln, watchEffect as xo, createBlock as vt, createSlots as bo, withCtx as Me, guardReactiveProps as hl, Teleport as an, resolveDynamicComponent as on, vModelCheckbox as nn, createTextVNode as yo } from "vue";
|
|
2
|
+
import { c as ga, z as xa, X as un, E as ht, ad as ya, U as pa, ae as ka, T as wa, af as po, f as Pa, t as sn, e as rn, C as ql, a9 as fl, h as ko, p as wo, ao as da, a4 as ee, _ as Fa, a7 as cn, q, ab as vn, ap as So, aq as $o, a as Ae, ar as dn, A as hn, j as Mo, k as Mt, d as _t, i as ml, s as dt, O as fn, aj as ha, a2 as lt, L as mn, as as Yt, B as Be, b as gn, o as _o, x as xn, y as bn, D as $l } from "./lib-CSDxt1Zh.js";
|
|
3
3
|
import { t as ba, d as yn, u as pn } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as kn, a as fa } from "./useNestedProp-
|
|
5
|
-
import { u as wn } from "./usePrinter-
|
|
4
|
+
import { u as kn, a as fa } from "./useNestedProp-Dh-ldrr5.js";
|
|
5
|
+
import { u as wn } from "./usePrinter-Cq8Pt6Lh.js";
|
|
6
6
|
import { u as Sn, B as $n } from "./BaseScanner-BgWxam9d.js";
|
|
7
|
-
import { u as
|
|
7
|
+
import { u as Lo, a as Mn, l as _n } from "./useTimeLabels-BGFjWgrv.js";
|
|
8
8
|
import { u as Ln } from "./useSvgExport-DrjCWun4.js";
|
|
9
|
-
import { u as Cn
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import { t as
|
|
13
|
-
import { _ as ma } from "./Shape-
|
|
14
|
-
import
|
|
15
|
-
import { _ as
|
|
16
|
-
import
|
|
17
|
-
const
|
|
9
|
+
import { u as Cn } from "./useTimeLabelCollider-CIsgDrl9.js";
|
|
10
|
+
import An from "./img-DI-W68vp.js";
|
|
11
|
+
import Tn from "./Title-B6rAo9Oz.js";
|
|
12
|
+
import { t as zn } from "./themes-Dw-dDudK.js";
|
|
13
|
+
import { _ as ma } from "./Shape-BS9UGhNq.js";
|
|
14
|
+
import In from "./BaseIcon-DG6cvf2h.js";
|
|
15
|
+
import { _ as Co } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
16
|
+
import Nn from "./vue-ui-accordion-CaClZrCp.js";
|
|
17
|
+
const Pn = {
|
|
18
18
|
class: "vue-data-ui-slicer-labels",
|
|
19
19
|
style: { position: "relative", "z-index": "1", "pointer-events": "none" }
|
|
20
|
-
},
|
|
20
|
+
}, Fn = {
|
|
21
21
|
key: 0,
|
|
22
22
|
style: { width: "100%", position: "relative" }
|
|
23
|
-
},
|
|
23
|
+
}, Rn = {
|
|
24
24
|
key: 0,
|
|
25
25
|
class: "minimap",
|
|
26
26
|
style: { width: "100%" }
|
|
27
|
-
},
|
|
27
|
+
}, On = ["xmlns", "viewBox"], Vn = ["id"], Bn = ["stop-color"], En = ["width", "height", "stroke"], Hn = ["d", "stroke"], Dn = ["d", "fill"], Wn = ["x", "y", "width", "height", "fill"], Xn = ["d", "stroke"], Yn = ["cx", "cy", "fill", "stroke"], Gn = ["x", "width", "height", "fill", "rx"], Un = ["x", "width", "height", "rx", "fill"], qn = ["x", "width", "height", "fill", "rx"], Zn = ["x2", "y1", "y2", "stroke"], Kn = { key: "merged-tree" }, Jn = ["d", "fill"], Qn = ["d", "stroke"], jn = ["cx", "cy", "stroke", "fill"], ei = ["cx", "cy", "stroke", "fill"], ti = { key: "split-tree" }, li = ["x", "y", "width", "height", "fill"], ai = ["d", "stroke"], oi = ["x", "height", "fill", "stroke"], ni = ["x", "height", "fill", "stroke"], ii = { key: "merged-tree" }, ui = ["cx", "cy", "stroke", "fill"], si = ["cx", "cy", "fill"], ri = ["cx", "cy", "stroke", "fill"], ci = ["cx", "cy", "fill"], vi = { key: 11 }, di = ["d", "stroke"], hi = ["cx", "cy", "fill", "stroke"], fi = ["cx", "cy", "stroke", "fill"], mi = ["cx", "cy", "fill"], gi = ["cx", "cy", "stroke", "fill"], xi = ["cx", "cy", "fill"], bi = ["x", "height", "width", "onMouseenter"], yi = ["min", "max"], pi = ["min", "max"], Ra = 48, ki = {
|
|
28
28
|
__name: "SlicerPreview",
|
|
29
29
|
props: {
|
|
30
30
|
immediate: {
|
|
@@ -191,7 +191,7 @@ const Fn = {
|
|
|
191
191
|
},
|
|
192
192
|
emits: ["futureStart", "futureEnd", "update:start", "update:end", "reset", "trapMouse"],
|
|
193
193
|
setup(w, { expose: Sa, emit: $a }) {
|
|
194
|
-
|
|
194
|
+
jo((d) => ({
|
|
195
195
|
v31489338: Al.value,
|
|
196
196
|
v7f513ed8: ue.value,
|
|
197
197
|
v74ff4a49: gt.value,
|
|
@@ -485,7 +485,7 @@ const Fn = {
|
|
|
485
485
|
let wt = ea.value - I;
|
|
486
486
|
wt = Math.max(v.min, Math.min(wt, v.max - ne));
|
|
487
487
|
const ul = Math.min(v.max, wt + ne);
|
|
488
|
-
Zt.value = wt, at.value = ul, qt(wt), xl(ul),
|
|
488
|
+
Zt.value = wt, at.value = ul, qt(wt), xl(ul), po(Fe.value, "mouseup"), await Ml(), po(Fe.value, "mousedown", { clientX: C });
|
|
489
489
|
}
|
|
490
490
|
Vl.value = ce.value, Ot.value = fe.value, _a.value = Xe.value, et = h ? "touchmove" : "mousemove", it = h ? "touchend" : "mouseup", ut = h ? Ye : kl, st = h ? Ge : rt, window.addEventListener(et, ut, { passive: !1 }), window.addEventListener(it, st);
|
|
491
491
|
};
|
|
@@ -615,8 +615,8 @@ const Fn = {
|
|
|
615
615
|
onMousedown: al,
|
|
616
616
|
onTouchstart: al
|
|
617
617
|
}, [
|
|
618
|
-
S("div",
|
|
619
|
-
w.valueStart !== w.refreshStartPoint || w.valueEnd !== Je.value ? (n(), i("div",
|
|
618
|
+
S("div", Pn, [
|
|
619
|
+
w.valueStart !== w.refreshStartPoint || w.valueEnd !== Je.value ? (n(), i("div", Fn, [
|
|
620
620
|
w.useResetSlot ? le(d.$slots, "reset-action", {
|
|
621
621
|
key: 1,
|
|
622
622
|
reset: E
|
|
@@ -631,7 +631,7 @@ const Fn = {
|
|
|
631
631
|
}),
|
|
632
632
|
onClick: E
|
|
633
633
|
}, [
|
|
634
|
-
gl(
|
|
634
|
+
gl(In, {
|
|
635
635
|
name: "refresh",
|
|
636
636
|
stroke: w.textColor
|
|
637
637
|
}, null, 8, ["stroke"])
|
|
@@ -646,7 +646,7 @@ const Fn = {
|
|
|
646
646
|
onMouseenter: h[11] || (h[11] = (f) => c.value = !0),
|
|
647
647
|
onMouseleave: h[12] || (h[12] = (f) => c.value = !1)
|
|
648
648
|
}, [
|
|
649
|
-
me.value ? (n(), i("div",
|
|
649
|
+
me.value ? (n(), i("div", Rn, [
|
|
650
650
|
(n(), i("svg", {
|
|
651
651
|
key: `mm-${w.minimapMerged ? "merged" : "split"}-${w.minimapCompact ? "compact" : "normal"}`,
|
|
652
652
|
xmlns: m(un),
|
|
@@ -663,12 +663,12 @@ const Fn = {
|
|
|
663
663
|
S("stop", {
|
|
664
664
|
offset: "0%",
|
|
665
665
|
"stop-color": `${w.minimapLineColor}50`
|
|
666
|
-
}, null, 8,
|
|
666
|
+
}, null, 8, Bn),
|
|
667
667
|
h[13] || (h[13] = S("stop", {
|
|
668
668
|
offset: "100%",
|
|
669
669
|
"stop-color": "transparent"
|
|
670
670
|
}, null, -1))
|
|
671
|
-
], 8,
|
|
671
|
+
], 8, Vn)
|
|
672
672
|
]),
|
|
673
673
|
w.minimapCompact ? (n(), i("rect", {
|
|
674
674
|
key: 0,
|
|
@@ -680,7 +680,7 @@ const Fn = {
|
|
|
680
680
|
fill: "none",
|
|
681
681
|
stroke: w.minimapFrameColor,
|
|
682
682
|
rx: 3
|
|
683
|
-
}, null, 8,
|
|
683
|
+
}, null, 8, En)) : g("", !0),
|
|
684
684
|
w.minimapMerged ? (n(), i("path", {
|
|
685
685
|
key: 1,
|
|
686
686
|
d: `M${H.value.fullSet}`,
|
|
@@ -690,14 +690,14 @@ const Fn = {
|
|
|
690
690
|
"stroke-linecap": "round",
|
|
691
691
|
"stroke-linejoin": "round",
|
|
692
692
|
style: { opacity: "0.6" }
|
|
693
|
-
}, null, 8,
|
|
693
|
+
}, null, 8, Hn)) : g("", !0),
|
|
694
694
|
w.minimapMerged && !w.minimapCompact ? (n(), i("path", {
|
|
695
695
|
key: 2,
|
|
696
696
|
d: `M${oe.value / 2},${Math.max(W.value.height, 0)} ${H.value.fullSet} L${W.value.width - oe.value / 2},${Math.max(W.value.height, 0)}Z`,
|
|
697
697
|
fill: `url(#${Ll.value})`,
|
|
698
698
|
stroke: "none",
|
|
699
699
|
style: { opacity: "0.6" }
|
|
700
|
-
}, null, 8,
|
|
700
|
+
}, null, 8, Dn)) : w.minimapMerged ? g("", !0) : (n(), i(b, { key: 3 }, [
|
|
701
701
|
(n(!0), i(b, null, _(Qe.value.filter((f) => f.type === "bar"), (f, $) => (n(), i("g", null, [
|
|
702
702
|
(n(!0), i(b, null, _(f.points, (C, D) => (n(), i(b, null, [
|
|
703
703
|
f.isVisible && !isNaN(C.y) ? (n(), i("rect", {
|
|
@@ -708,7 +708,7 @@ const Fn = {
|
|
|
708
708
|
height: C.v >= 0 ? C.y0 - C.y : C.y - C.y0,
|
|
709
709
|
fill: f.color,
|
|
710
710
|
style: { opacity: 0.6 }
|
|
711
|
-
}, null, 8,
|
|
711
|
+
}, null, 8, Wn)) : g("", !0)
|
|
712
712
|
], 64))), 256))
|
|
713
713
|
]))), 256)),
|
|
714
714
|
(n(!0), i(b, null, _(Qe.value.filter((f) => f.type === "line"), (f) => (n(), i("g", null, [
|
|
@@ -718,7 +718,7 @@ const Fn = {
|
|
|
718
718
|
fill: "none",
|
|
719
719
|
stroke: f.color,
|
|
720
720
|
style: { opacity: "0.6" }
|
|
721
|
-
}, null, 8,
|
|
721
|
+
}, null, 8, Xn)) : g("", !0),
|
|
722
722
|
f.isVisible && w.cutNullValues ? (n(!0), i(b, { key: 1 }, _(f.fullMarkers, ($) => (n(), i("circle", {
|
|
723
723
|
key: `sel-dot-under-${f.key}-${$.i}`,
|
|
724
724
|
cx: $.x,
|
|
@@ -728,7 +728,7 @@ const Fn = {
|
|
|
728
728
|
stroke: ue.value,
|
|
729
729
|
"stroke-width": "0.5",
|
|
730
730
|
style: { opacity: "0.6" }
|
|
731
|
-
}, null, 8,
|
|
731
|
+
}, null, 8, Yn))), 128)) : g("", !0)
|
|
732
732
|
]))), 256))
|
|
733
733
|
], 64)),
|
|
734
734
|
S("rect", {
|
|
@@ -739,7 +739,7 @@ const Fn = {
|
|
|
739
739
|
fill: ue.value,
|
|
740
740
|
rx: w.minimapSelectionRadius,
|
|
741
741
|
stroke: "none"
|
|
742
|
-
}, null, 8,
|
|
742
|
+
}, null, 8, Gn),
|
|
743
743
|
S("rect", {
|
|
744
744
|
x: M.value.x,
|
|
745
745
|
y: 0,
|
|
@@ -748,7 +748,7 @@ const Fn = {
|
|
|
748
748
|
rx: w.minimapSelectionRadius,
|
|
749
749
|
fill: ue.value,
|
|
750
750
|
style: L({ opacity: Rt.value || Lt.value ? 0 : 1 })
|
|
751
|
-
}, null, 12,
|
|
751
|
+
}, null, 12, Un),
|
|
752
752
|
S("rect", {
|
|
753
753
|
x: M.value.x,
|
|
754
754
|
y: 0,
|
|
@@ -757,7 +757,7 @@ const Fn = {
|
|
|
757
757
|
fill: w.minimapSelectedColor,
|
|
758
758
|
rx: w.minimapSelectionRadius,
|
|
759
759
|
style: L({ opacity: w.minimapSelectedColorOpacity })
|
|
760
|
-
}, null, 12,
|
|
760
|
+
}, null, 12, qn),
|
|
761
761
|
!w.minimapMerged && X.value < 0 ? (n(), i("line", {
|
|
762
762
|
key: 4,
|
|
763
763
|
class: "slicer-minimap-zero-line",
|
|
@@ -767,8 +767,8 @@ const Fn = {
|
|
|
767
767
|
y2: $e.value,
|
|
768
768
|
stroke: w.minimapFrameColor,
|
|
769
769
|
"stroke-width": "0.5"
|
|
770
|
-
}, null, 8,
|
|
771
|
-
w.minimapMerged ? (n(), i("g",
|
|
770
|
+
}, null, 8, Zn)) : g("", !0),
|
|
771
|
+
w.minimapMerged ? (n(), i("g", Kn, [
|
|
772
772
|
H.value && H.value.sliced && H.value.sliced.length ? (n(), i(b, { key: 0 }, [
|
|
773
773
|
H.value.selectionSet ? (n(), i("path", {
|
|
774
774
|
key: 0,
|
|
@@ -776,7 +776,7 @@ const Fn = {
|
|
|
776
776
|
fill: `url(#${Ll.value})`,
|
|
777
777
|
stroke: "none",
|
|
778
778
|
style: { opacity: "1" }
|
|
779
|
-
}, null, 8,
|
|
779
|
+
}, null, 8, Jn)) : g("", !0),
|
|
780
780
|
H.value.selectionSet ? (n(), i("path", {
|
|
781
781
|
key: 1,
|
|
782
782
|
d: `M ${H.value.selectionSet}`,
|
|
@@ -785,7 +785,7 @@ const Fn = {
|
|
|
785
785
|
"stroke-width": "2",
|
|
786
786
|
"stroke-linecap": "round",
|
|
787
787
|
"stroke-linejoin": "round"
|
|
788
|
-
}, null, 8,
|
|
788
|
+
}, null, 8, Qn)) : g("", !0)
|
|
789
789
|
], 64)) : g("", !0),
|
|
790
790
|
H.value && H.value.firstPlot ? (n(), i("circle", {
|
|
791
791
|
key: 1,
|
|
@@ -795,7 +795,7 @@ const Fn = {
|
|
|
795
795
|
stroke: ue.value,
|
|
796
796
|
r: "3",
|
|
797
797
|
fill: w.minimapLineColor
|
|
798
|
-
}, null, 8,
|
|
798
|
+
}, null, 8, jn)) : g("", !0),
|
|
799
799
|
H.value && H.value.lastPlot ? (n(), i("circle", {
|
|
800
800
|
key: 2,
|
|
801
801
|
cx: H.value.lastPlot.x,
|
|
@@ -804,8 +804,8 @@ const Fn = {
|
|
|
804
804
|
stroke: ue.value,
|
|
805
805
|
r: "3",
|
|
806
806
|
fill: w.minimapLineColor
|
|
807
|
-
}, null, 8,
|
|
808
|
-
])) : (n(), i("g",
|
|
807
|
+
}, null, 8, ei)) : g("", !0)
|
|
808
|
+
])) : (n(), i("g", ti, [
|
|
809
809
|
(n(!0), i(b, null, _(Qe.value.filter((f) => f.type === "bar"), (f, $) => (n(), i("g", null, [
|
|
810
810
|
(n(!0), i(b, null, _(f.points, (C, D) => (n(), i(b, null, [
|
|
811
811
|
f && f.isVisible && !isNaN(C.y) ? (n(), i("rect", {
|
|
@@ -816,7 +816,7 @@ const Fn = {
|
|
|
816
816
|
height: C.v >= 0 ? C.y0 - C.y : C.y - C.y0,
|
|
817
817
|
fill: f.color,
|
|
818
818
|
style: L({ opacity: D >= Zt.value && D < at.value ? 1 : 0 })
|
|
819
|
-
}, null, 12,
|
|
819
|
+
}, null, 12, li)) : g("", !0)
|
|
820
820
|
], 64))), 256))
|
|
821
821
|
]))), 256)),
|
|
822
822
|
(n(!0), i(b, null, _(Qe.value.filter((f) => f.type === "line"), (f) => (n(), i("g", {
|
|
@@ -830,7 +830,7 @@ const Fn = {
|
|
|
830
830
|
"stroke-width": "2",
|
|
831
831
|
"stroke-linecap": "round",
|
|
832
832
|
"stroke-linejoin": "round"
|
|
833
|
-
}, null, 8,
|
|
833
|
+
}, null, 8, ai)) : g("", !0)
|
|
834
834
|
]))), 128))
|
|
835
835
|
])),
|
|
836
836
|
me.value && w.minimapCompact ? (n(), i("rect", {
|
|
@@ -843,7 +843,7 @@ const Fn = {
|
|
|
843
843
|
fill: ue.value,
|
|
844
844
|
stroke: w.textColor,
|
|
845
845
|
rx: 3
|
|
846
|
-
}, null, 8,
|
|
846
|
+
}, null, 8, oi)) : g("", !0),
|
|
847
847
|
me.value && w.minimapCompact ? (n(), i("rect", {
|
|
848
848
|
key: 8,
|
|
849
849
|
class: "vue-ui-zoom-compact-minimap-handle",
|
|
@@ -854,9 +854,9 @@ const Fn = {
|
|
|
854
854
|
fill: ue.value,
|
|
855
855
|
stroke: w.textColor,
|
|
856
856
|
rx: 3
|
|
857
|
-
}, null, 8,
|
|
857
|
+
}, null, 8, ni)) : g("", !0),
|
|
858
858
|
bt.value !== null && !pt.value ? (n(), i("line", Gt(Ut({ key: 9 }, la.value)), null, 16)) : g("", !0),
|
|
859
|
-
w.minimapMerged ? (n(), i("g",
|
|
859
|
+
w.minimapMerged ? (n(), i("g", ii, [
|
|
860
860
|
H.value && H.value.firstPlot && H.value.firstPlot.value !== null ? (n(), i("circle", {
|
|
861
861
|
key: 0,
|
|
862
862
|
cx: H.value.firstPlot.x,
|
|
@@ -865,14 +865,14 @@ const Fn = {
|
|
|
865
865
|
stroke: ue.value,
|
|
866
866
|
r: "4",
|
|
867
867
|
fill: w.minimapLineColor
|
|
868
|
-
}, null, 8,
|
|
868
|
+
}, null, 8, ui)) : g("", !0),
|
|
869
869
|
H.value && H.value.firstPlot && H.value.firstPlot.value !== null ? (n(), i("circle", {
|
|
870
870
|
key: 1,
|
|
871
871
|
cx: H.value.firstPlot.x,
|
|
872
872
|
cy: H.value.firstPlot.y,
|
|
873
873
|
r: 2,
|
|
874
874
|
fill: ue.value
|
|
875
|
-
}, null, 8,
|
|
875
|
+
}, null, 8, si)) : g("", !0),
|
|
876
876
|
H.value && H.value.lastPlot && H.value.lastPlot.value !== null ? (n(), i("circle", {
|
|
877
877
|
key: 2,
|
|
878
878
|
cx: H.value.lastPlot.x,
|
|
@@ -881,15 +881,15 @@ const Fn = {
|
|
|
881
881
|
stroke: ue.value,
|
|
882
882
|
r: "4",
|
|
883
883
|
fill: w.minimapLineColor
|
|
884
|
-
}, null, 8,
|
|
884
|
+
}, null, 8, ri)) : g("", !0),
|
|
885
885
|
H.value && H.value.lastPlot && H.value.lastPlot.value !== null ? (n(), i("circle", {
|
|
886
886
|
key: 3,
|
|
887
887
|
cx: H.value.lastPlot.x,
|
|
888
888
|
cy: H.value.lastPlot.y,
|
|
889
889
|
r: "2",
|
|
890
890
|
fill: ue.value
|
|
891
|
-
}, null, 8,
|
|
892
|
-
])) : (n(), i("g",
|
|
891
|
+
}, null, 8, ci)) : g("", !0)
|
|
892
|
+
])) : (n(), i("g", vi, [
|
|
893
893
|
(n(!0), i(b, null, _(Qe.value.filter((f) => f.type === "line"), (f) => (n(), i("g", {
|
|
894
894
|
key: String(f.key)
|
|
895
895
|
}, [
|
|
@@ -901,7 +901,7 @@ const Fn = {
|
|
|
901
901
|
"stroke-width": "2",
|
|
902
902
|
"stroke-linecap": "round",
|
|
903
903
|
"stroke-linejoin": "round"
|
|
904
|
-
}, null, 8,
|
|
904
|
+
}, null, 8, di)) : g("", !0),
|
|
905
905
|
f.isVisible && w.cutNullValues ? (n(!0), i(b, { key: 1 }, _(f.selectionMarkers, ($) => (n(), i("circle", {
|
|
906
906
|
key: `sel-dot-${f.key}-${$.i}`,
|
|
907
907
|
cx: $.x,
|
|
@@ -910,7 +910,7 @@ const Fn = {
|
|
|
910
910
|
fill: f.color,
|
|
911
911
|
stroke: ue.value,
|
|
912
912
|
"stroke-width": "0.5"
|
|
913
|
-
}, null, 8,
|
|
913
|
+
}, null, 8, hi))), 128)) : g("", !0),
|
|
914
914
|
f && f.firstPlot && f.isVisible && f.firstPlot.value !== null ? (n(), i("circle", {
|
|
915
915
|
key: 2,
|
|
916
916
|
cx: f.firstPlot.x,
|
|
@@ -919,14 +919,14 @@ const Fn = {
|
|
|
919
919
|
stroke: ue.value,
|
|
920
920
|
r: "4",
|
|
921
921
|
fill: f.color
|
|
922
|
-
}, null, 8,
|
|
922
|
+
}, null, 8, fi)) : g("", !0),
|
|
923
923
|
f && f.firstPlot && f.isVisible && f.firstPlot.value !== null ? (n(), i("circle", {
|
|
924
924
|
key: 3,
|
|
925
925
|
cx: f.firstPlot.x,
|
|
926
926
|
cy: f.firstPlot.y,
|
|
927
927
|
r: "2",
|
|
928
928
|
fill: ue.value
|
|
929
|
-
}, null, 8,
|
|
929
|
+
}, null, 8, mi)) : g("", !0),
|
|
930
930
|
f && f.lastPlot && f.isVisible && f.lastPlot.value !== null ? (n(), i("circle", {
|
|
931
931
|
key: 4,
|
|
932
932
|
cx: f.lastPlot.x,
|
|
@@ -935,14 +935,14 @@ const Fn = {
|
|
|
935
935
|
stroke: ue.value,
|
|
936
936
|
r: "4",
|
|
937
937
|
fill: f.color
|
|
938
|
-
}, null, 8,
|
|
938
|
+
}, null, 8, gi)) : g("", !0),
|
|
939
939
|
f && f.lastPlot && f.isVisible && f.lastPlot.value !== null ? (n(), i("circle", {
|
|
940
940
|
key: 5,
|
|
941
941
|
cx: f.lastPlot.x,
|
|
942
942
|
cy: f.lastPlot.y,
|
|
943
943
|
r: "2",
|
|
944
944
|
fill: ue.value
|
|
945
|
-
}, null, 8,
|
|
945
|
+
}, null, 8, xi)) : g("", !0)
|
|
946
946
|
]))), 128))
|
|
947
947
|
])),
|
|
948
948
|
(n(!0), i(b, null, _(Jl.value, (f, $) => (n(), i("rect", {
|
|
@@ -958,8 +958,8 @@ const Fn = {
|
|
|
958
958
|
onMouseleave: h[2] || (h[2] = (C) => {
|
|
959
959
|
bt.value = null, Le("trapMouse", null);
|
|
960
960
|
})
|
|
961
|
-
}, null, 44,
|
|
962
|
-
], 8,
|
|
961
|
+
}, null, 44, bi))), 256))
|
|
962
|
+
], 8, On))
|
|
963
963
|
])) : g("", !0),
|
|
964
964
|
S("div", {
|
|
965
965
|
class: "slider-track",
|
|
@@ -995,7 +995,7 @@ const Fn = {
|
|
|
995
995
|
onBlur: Te,
|
|
996
996
|
onMouseenter: h[7] || (h[7] = (f) => ta("start")),
|
|
997
997
|
onPointerup: Te
|
|
998
|
-
}, null, 42,
|
|
998
|
+
}, null, 42, yi)), [
|
|
999
999
|
[
|
|
1000
1000
|
go,
|
|
1001
1001
|
Pt.value,
|
|
@@ -1023,7 +1023,7 @@ const Fn = {
|
|
|
1023
1023
|
onBlur: Te,
|
|
1024
1024
|
onMouseenter: h[10] || (h[10] = (f) => ta("end")),
|
|
1025
1025
|
onPointerup: Te
|
|
1026
|
-
}, null, 42,
|
|
1026
|
+
}, null, 42, pi)), [
|
|
1027
1027
|
[
|
|
1028
1028
|
go,
|
|
1029
1029
|
tl.value,
|
|
@@ -1094,51 +1094,51 @@ const Fn = {
|
|
|
1094
1094
|
], 544)
|
|
1095
1095
|
], 544));
|
|
1096
1096
|
}
|
|
1097
|
-
},
|
|
1097
|
+
}, wi = /* @__PURE__ */ Co(ki, [["__scopeId", "data-v-8840236b"]]), Si = ["id"], $i = ["id"], Mi = ["viewBox", "aria-label"], _i = ["x", "y", "width", "height"], Li = { key: 1 }, Ci = { class: "vue-ui-xy-grid" }, Ai = ["stroke", "x1", "x2", "y1", "y2"], Ti = ["stroke", "x1", "x2", "y1", "y2"], zi = { key: 1 }, Ii = ["x1", "x2", "y1", "y2", "stroke"], Ni = ["x1", "x2", "y1", "y2", "stroke"], Pi = ["x1", "x2", "y1", "y2", "stroke"], Fi = { key: 3 }, Ri = ["d", "stroke"], Oi = { key: 4 }, Vi = ["d", "stroke"], Bi = ["id"], Ei = ["stop-color"], Hi = ["stop-color"], Di = ["stop-color"], Wi = ["id"], Xi = ["stop-color"], Yi = ["stop-color"], Gi = ["stop-color"], Ui = ["id"], qi = ["stop-color"], Zi = ["stop-color"], Ki = ["id"], Ji = ["stop-color"], Qi = ["stop-color"], ji = ["id"], eu = ["stop-color"], tu = ["stop-color"], lu = ["x", "y", "height", "width", "fill"], au = ["x", "y", "width"], ou = { key: 0 }, nu = ["x", "y", "height", "width", "fill"], iu = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], uu = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], su = ["width", "x", "y"], ru = ["stroke", "x1", "x2", "y1", "y2"], cu = { key: 3 }, vu = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], du = ["x", "y", "width", "height", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin", "stroke-dasharray"], hu = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], fu = ["fill", "font-size", "transform"], mu = ["x1", "x2", "y1", "y2", "stroke"], gu = ["x", "y", "font-size", "fill"], xu = ["x1", "x2", "y1", "y2", "stroke"], bu = ["x", "y", "font-size", "fill"], yu = ["width", "x", "y"], pu = { style: { width: "100%" } }, ku = ["d", "stroke", "stroke-width", "stroke-dasharray"], wu = ["d", "stroke", "stroke-width", "stroke-dasharray"], Su = { key: 6 }, $u = { key: 7 }, Mu = ["d", "fill", "fill-opacity"], _u = { key: 0 }, Lu = ["d", "fill"], Cu = ["d", "fill"], Au = ["d", "fill"], Tu = ["d", "fill"], zu = ["d", "stroke", "stroke-width", "stroke-dasharray"], Iu = ["d", "stroke", "stroke-width", "stroke-dasharray"], Nu = ["width", "x", "y"], Pu = { style: { width: "100%" } }, Fu = { key: 8 }, Ru = ["x", "y", "font-size", "fill"], Ou = ["x", "y", "font-size", "fill", "font-weight"], Vu = { key: 9 }, Bu = ["x", "y", "font-size", "fill"], Eu = { key: 10 }, Hu = ["x", "y"], Du = ["innerHTML"], Wu = ["x", "y"], Xu = ["innerHTML"], Yu = ["x1", "x2", "y1", "y2", "stroke"], Gu = { key: 11 }, Uu = ["x", "y", "font-size", "fill"], qu = { key: 12 }, Zu = ["x", "y"], Ku = ["innerHTML"], Ju = ["x", "y"], Qu = ["innerHTML"], ju = ["x1", "x2", "y1", "y2", "stroke"], es = ["x", "y", "font-size", "fill", "innerHTML"], ts = ["x", "y", "font-size", "fill", "innerHTML"], ls = ["x", "y", "font-size", "fill", "innerHTML"], as = ["x", "y", "font-size", "fill", "innerHTML"], os = { key: 0 }, ns = ["id"], is = ["fill", "stroke"], us = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], ss = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], rs = ["x", "y", "font-size", "fill", "stroke"], cs = ["id"], vs = ["stop-color"], ds = ["stop-color"], hs = ["x", "y", "width", "height", "fill", "onMouseenter"], fs = ["font-size", "fill", "transform"], ms = ["x", "y", "font-size", "fill"], gs = ["text-anchor", "font-size", "fill", "transform", "onClick"], xs = ["text-anchor", "font-size", "fill", "transform", "innerHTML", "onClick"], bs = { key: 15 }, ys = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], ps = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], ks = ["y", "x", "width", "height", "fill"], ws = ["id", "x", "y", "font-size", "fill", "text-anchor"], Ss = {
|
|
1098
1098
|
key: 16,
|
|
1099
1099
|
style: { "pointer-events": "none" }
|
|
1100
|
-
},
|
|
1100
|
+
}, $s = ["x", "y"], Ms = ["innerHTML"], _s = ["cx", "cy", "r", "fill"], Ls = ["data-start", "data-end"], Cs = {
|
|
1101
1101
|
key: 4,
|
|
1102
1102
|
class: "vue-data-ui-watermark"
|
|
1103
|
-
},
|
|
1103
|
+
}, As = {
|
|
1104
1104
|
class: "vue-ui-xy-tag-arrow",
|
|
1105
1105
|
height: "20",
|
|
1106
1106
|
viewBox: "0 0 10 20",
|
|
1107
1107
|
style: { position: "absolute", right: "100%", top: "50%", transform: "translateY(-50%)" }
|
|
1108
|
-
},
|
|
1108
|
+
}, Ts = ["fill"], zs = ["innerHTML"], Is = {
|
|
1109
1109
|
class: "vue-ui-xy-tag-arrow",
|
|
1110
1110
|
height: "100%",
|
|
1111
1111
|
viewBox: "0 0 10 20",
|
|
1112
1112
|
style: { position: "absolute", left: "100%", top: "50%", transform: "translateY(-50%)" }
|
|
1113
|
-
},
|
|
1113
|
+
}, Ns = ["fill"], Ps = ["innerHTML"], Fs = {
|
|
1114
1114
|
class: "vue-ui-xy-tag-arrow",
|
|
1115
1115
|
height: "20",
|
|
1116
1116
|
viewBox: "0 0 10 20",
|
|
1117
1117
|
style: { position: "absolute", right: "100%", top: "50%", transform: "translateY(-50%)" }
|
|
1118
|
-
},
|
|
1118
|
+
}, Rs = ["fill"], Os = ["innerHTML"], Vs = {
|
|
1119
1119
|
class: "vue-ui-xy-tag-arrow",
|
|
1120
1120
|
height: "100%",
|
|
1121
1121
|
viewBox: "0 0 10 20",
|
|
1122
1122
|
style: { position: "absolute", left: "100%", top: "50%", transform: "translateY(-50%)" }
|
|
1123
|
-
},
|
|
1123
|
+
}, Bs = ["fill"], Es = ["innerHTML"], Hs = ["id"], Ds = ["onClick"], Ws = {
|
|
1124
1124
|
key: 0,
|
|
1125
1125
|
viewBox: "0 0 20 12",
|
|
1126
1126
|
height: "1em",
|
|
1127
1127
|
width: "1.43em"
|
|
1128
|
-
},
|
|
1128
|
+
}, Xs = ["stroke", "fill"], Ys = {
|
|
1129
1129
|
key: 1,
|
|
1130
1130
|
viewBox: "0 0 40 40",
|
|
1131
1131
|
height: "1em",
|
|
1132
1132
|
width: "1em"
|
|
1133
|
-
},
|
|
1133
|
+
}, Gs = ["fill"], Us = ["fill"], qs = {
|
|
1134
1134
|
key: 2,
|
|
1135
1135
|
viewBox: "0 0 12 12",
|
|
1136
1136
|
height: "1em",
|
|
1137
1137
|
width: "1em"
|
|
1138
|
-
},
|
|
1138
|
+
}, Zs = {
|
|
1139
1139
|
style: { display: "flex", "flex-direction": "row", gap: "6px", "align-items": "center", "padding-left": "6px" },
|
|
1140
1140
|
"data-dom-to-png-ignore": ""
|
|
1141
|
-
},
|
|
1141
|
+
}, Ks = ["innerHTML"], Js = {
|
|
1142
1142
|
__name: "vue-ui-xy",
|
|
1143
1143
|
props: {
|
|
1144
1144
|
config: {
|
|
@@ -1160,7 +1160,7 @@ const Fn = {
|
|
|
1160
1160
|
},
|
|
1161
1161
|
emits: ["selectTimeLabel", "selectX", "selectLegend"],
|
|
1162
1162
|
setup(w, { expose: Sa, emit: $a }) {
|
|
1163
|
-
const v = w, Fe = Xt(() => import("./DataTable-
|
|
1163
|
+
const v = w, Fe = Xt(() => import("./DataTable-DUpZ_s2c.js")), ce = Xt(() => import("./Tooltip-DaInVNiV.js")), fe = Xt(() => import("./UserOptions-CJXSEhan.js")), me = Xt(() => import("./BaseIcon-DG6cvf2h.js")), Ll = Xt(() => import("./vue-ui-table-sparkline-CdkFyJjv.js")), Lt = Xt(() => import("./PackageVersion-CQvYRebC.js")), Nt = Xt(() => import("./PenAndPaper-D9LruJaM.js")), Kl = Xt(() => import("./BaseDraggableDialog-Cysanw8-.js")), qt = $a, xl = en(), Zt = tn(), { vue_ui_xy: at } = kn(), Ee = y(null), Te = y(null), Je = y(null), Le = y(null), mt = y(null), Ct = y(null), Cl = y(null), Kt = y(null), Jt = y(null), _e = y(null), Al = y(null), Tl = y(null), gt = y(null), ue = y(null), Jl = y(0), E = y(null), Qt = y(!0), W = y(600), ae = y(1e3), ot = y("0 0 1000 600"), Ql = y({ x: 0, y: 0 }), jt = y({ line: "line", bar: "bar", plot: "plot" }), He = y(!1), Re = y(!1), bl = y(!1), oe = y(null), ve = y([]), Z = y(ga()), zl = y(0), Il = y(0), Nl = y(0), De = y(!0), xt = y(0), X = y(null), jl = y(!1), Pl = y(!0), yl = y(!0), $e = y(null), nt = y({}), el = y(null), H = y(!1), Qe = y(null), M = y(null), bt = x(() => ({
|
|
1164
1164
|
height: W.value,
|
|
1165
1165
|
width: ae.value
|
|
1166
1166
|
}));
|
|
@@ -1205,7 +1205,7 @@ const Fn = {
|
|
|
1205
1205
|
userConfig: v.config.chart.highlightArea
|
|
1206
1206
|
})), l.theme ? {
|
|
1207
1207
|
...fa({
|
|
1208
|
-
userConfig:
|
|
1208
|
+
userConfig: zn.vue_ui_xy[l.theme] || v.config,
|
|
1209
1209
|
defaultConfig: l
|
|
1210
1210
|
}),
|
|
1211
1211
|
customPalette: gn[l.theme] || v.palette
|
|
@@ -1241,7 +1241,7 @@ const Fn = {
|
|
|
1241
1241
|
}, tl.value = !0);
|
|
1242
1242
|
}
|
|
1243
1243
|
const Tt = x(() => !!t.value.debug), { loading: be, FINAL_DATASET: ye, manualLoading: pl } = Sn({
|
|
1244
|
-
...
|
|
1244
|
+
...ln(v),
|
|
1245
1245
|
FINAL_CONFIG: t,
|
|
1246
1246
|
prepareConfig: Rl,
|
|
1247
1247
|
callback: () => {
|
|
@@ -1395,7 +1395,7 @@ const Fn = {
|
|
|
1395
1395
|
...l,
|
|
1396
1396
|
slotAbsoluteIndex: s,
|
|
1397
1397
|
series: e.map((a) => da(a) ? a : null).slice(k.value.start, k.value.end),
|
|
1398
|
-
color:
|
|
1398
|
+
color: ko(l.color ? l.color : Vt.value[s] ? Vt.value[s] : wo[s]),
|
|
1399
1399
|
id: u,
|
|
1400
1400
|
scaleLabel: l.scaleLabel || u
|
|
1401
1401
|
};
|
|
@@ -1423,7 +1423,14 @@ const Fn = {
|
|
|
1423
1423
|
const zt = y(0), ol = ba((l) => {
|
|
1424
1424
|
zt.value = l;
|
|
1425
1425
|
}, 100);
|
|
1426
|
-
|
|
1426
|
+
xo((l) => {
|
|
1427
|
+
const s = _e.value;
|
|
1428
|
+
if (!s) return;
|
|
1429
|
+
const e = new ResizeObserver((u) => {
|
|
1430
|
+
ol(u[0].contentRect.height);
|
|
1431
|
+
});
|
|
1432
|
+
e.observe(s), l(() => e.disconnect());
|
|
1433
|
+
}), _l(() => {
|
|
1427
1434
|
zt.value = 0;
|
|
1428
1435
|
});
|
|
1429
1436
|
const nl = x(() => {
|
|
@@ -1492,7 +1499,7 @@ const Fn = {
|
|
|
1492
1499
|
}
|
|
1493
1500
|
const h = x(() => {
|
|
1494
1501
|
const l = Math.max(...ye.value.map((s) => Fa({ data: s.series, threshold: t.value.downsample.threshold }).length));
|
|
1495
|
-
return
|
|
1502
|
+
return Lo({
|
|
1496
1503
|
values: t.value.chart.grid.labels.xAxisLabels.values,
|
|
1497
1504
|
maxDatapoints: l,
|
|
1498
1505
|
formatter: t.value.chart.grid.labels.xAxisLabels.datetimeFormatter,
|
|
@@ -1501,7 +1508,7 @@ const Fn = {
|
|
|
1501
1508
|
});
|
|
1502
1509
|
}), f = x(() => {
|
|
1503
1510
|
const l = Math.max(...ye.value.map((s) => Fa({ data: s.series, threshold: t.value.downsample.threshold }).length));
|
|
1504
|
-
return
|
|
1511
|
+
return Lo({
|
|
1505
1512
|
values: t.value.chart.grid.labels.xAxisLabels.values,
|
|
1506
1513
|
maxDatapoints: l,
|
|
1507
1514
|
formatter: t.value.chart.grid.labels.xAxisLabels.datetimeFormatter,
|
|
@@ -1629,7 +1636,7 @@ const Fn = {
|
|
|
1629
1636
|
const s = aa(l);
|
|
1630
1637
|
s !== k.value.end && (k.value.end = s, Xe.value.end = s, Ot());
|
|
1631
1638
|
}
|
|
1632
|
-
async function
|
|
1639
|
+
async function Ao() {
|
|
1633
1640
|
await St();
|
|
1634
1641
|
}
|
|
1635
1642
|
function Ue(l) {
|
|
@@ -1684,7 +1691,7 @@ const Fn = {
|
|
|
1684
1691
|
return { x: O, y: A, ok: !0 };
|
|
1685
1692
|
}
|
|
1686
1693
|
let cl = 0;
|
|
1687
|
-
function
|
|
1694
|
+
function To(l) {
|
|
1688
1695
|
He.value || (cl && cancelAnimationFrame(cl), cl = requestAnimationFrame(() => {
|
|
1689
1696
|
cl = 0;
|
|
1690
1697
|
const s = Wa(l);
|
|
@@ -1734,7 +1741,7 @@ const Fn = {
|
|
|
1734
1741
|
}
|
|
1735
1742
|
), t.value.events.datapointClick && t.value.events.datapointClick({ datapoint: s, seriesIndex: l + k.value.start });
|
|
1736
1743
|
}
|
|
1737
|
-
function
|
|
1744
|
+
function zo() {
|
|
1738
1745
|
return Ge.value.map((l) => ({
|
|
1739
1746
|
values: l.absoluteValues,
|
|
1740
1747
|
color: l.color,
|
|
@@ -1742,9 +1749,9 @@ const Fn = {
|
|
|
1742
1749
|
type: l.type
|
|
1743
1750
|
}));
|
|
1744
1751
|
}
|
|
1745
|
-
async function
|
|
1752
|
+
async function Io({ scale: l = 2 } = {}) {
|
|
1746
1753
|
if (!Ee.value) return;
|
|
1747
|
-
const { width: s, height: e } = Ee.value.getBoundingClientRect(), u = s / e, { imageUri: a, base64: r } = await
|
|
1754
|
+
const { width: s, height: e } = Ee.value.getBoundingClientRect(), u = s / e, { imageUri: a, base64: r } = await An({ domElement: Ee.value, base64: !0, img: !0, scale: l });
|
|
1748
1755
|
return {
|
|
1749
1756
|
imageUri: a,
|
|
1750
1757
|
base64: r,
|
|
@@ -1768,12 +1775,12 @@ const Fn = {
|
|
|
1768
1775
|
type: s.type
|
|
1769
1776
|
}))), xt.value += 1;
|
|
1770
1777
|
}
|
|
1771
|
-
const
|
|
1778
|
+
const No = x(() => {
|
|
1772
1779
|
const l = t.value.chart.title.text || "Chart visualization", s = t.value.chart.title.subtitle.text || "";
|
|
1773
1780
|
return `${l}. ${s}`;
|
|
1774
1781
|
}), Ua = x(() => ({
|
|
1775
1782
|
linePlot: I.value > t.value.line.dot.hideAboveMaxSerieLength
|
|
1776
|
-
})),
|
|
1783
|
+
})), Po = x(() => t.value.chart.userOptions.show && (!t.value.chart.title.show || !t.value.chart.title.text)), Fo = x(() => {
|
|
1777
1784
|
if (Array.isArray(t.value.chart.highlightArea))
|
|
1778
1785
|
return t.value.chart.highlightArea.map((s) => {
|
|
1779
1786
|
const e = Math.min(s.to, je.value - 1);
|
|
@@ -1791,8 +1798,8 @@ const Fn = {
|
|
|
1791
1798
|
...l,
|
|
1792
1799
|
series: yt(l.series),
|
|
1793
1800
|
id: `uniqueId_${s}`,
|
|
1794
|
-
color:
|
|
1795
|
-
})) : ye.value),
|
|
1801
|
+
color: ko(l.color ? l.color : Vt.value[s] ? Vt.value[s] : wo[s])
|
|
1802
|
+
})) : ye.value), Ro = x(() => ze.value.map((l) => {
|
|
1796
1803
|
const s = l.absoluteValues.map((e) => [void 0, null].includes(e) ? 0 : e);
|
|
1797
1804
|
return {
|
|
1798
1805
|
id: l.id,
|
|
@@ -1800,7 +1807,7 @@ const Fn = {
|
|
|
1800
1807
|
color: l.color,
|
|
1801
1808
|
values: La(I.value, s)
|
|
1802
1809
|
};
|
|
1803
|
-
})),
|
|
1810
|
+
})), Oo = x(() => ({
|
|
1804
1811
|
responsiveBreakpoint: t.value.table.responsiveBreakpoint,
|
|
1805
1812
|
roundingValues: t.value.table.rounding,
|
|
1806
1813
|
showAverage: !1,
|
|
@@ -1837,17 +1844,17 @@ const Fn = {
|
|
|
1837
1844
|
};
|
|
1838
1845
|
}
|
|
1839
1846
|
return s;
|
|
1840
|
-
}),
|
|
1847
|
+
}), Vo = x(() => {
|
|
1841
1848
|
const l = rt.value.filter((s) => s.type === "bar").filter((s) => !ve.value.includes(s.id)).length;
|
|
1842
1849
|
return c.value.width / I.value / l - ia.value * l;
|
|
1843
|
-
}), ia = x(() => de.value.line * t.value.bar.periodGap), ua = x(() => Math.max(1e-5, Ht() - (p.value.useIndividualScale && p.value.isStacked ? 0 : ia.value))), sa = x(() => ua.value * Math.min(Math.abs(t.value.bar.innerGap), 0.95)),
|
|
1850
|
+
}), ia = x(() => de.value.line * t.value.bar.periodGap), ua = x(() => Math.max(1e-5, Ht() - (p.value.useIndividualScale && p.value.isStacked ? 0 : ia.value))), sa = x(() => ua.value * Math.min(Math.abs(t.value.bar.innerGap), 0.95)), Bo = x(() => {
|
|
1844
1851
|
if (!t.value.chart.zoom.minimap.show) return [];
|
|
1845
1852
|
const l = qa.value.filter((a) => !ve.value.includes(a.id)), s = Math.max(...l.map((a) => a.series.length)), e = [];
|
|
1846
1853
|
for (let a = 0; a < s; a += 1)
|
|
1847
1854
|
e.push(l.map((r) => r.series[a] || 0).reduce((r, o) => (r || 0) + (o || 0), 0));
|
|
1848
1855
|
const u = Math.min(...e);
|
|
1849
1856
|
return e.map((a) => a + (u < 0 ? Math.abs(u) : 0));
|
|
1850
|
-
}),
|
|
1857
|
+
}), Eo = x(() => t.value.chart.zoom.minimap.show ? qa.value.map((s) => ({
|
|
1851
1858
|
...s,
|
|
1852
1859
|
isVisible: !ve.value.includes(s.id)
|
|
1853
1860
|
})) : []), It = x(() => ze.value.map((l) => ({
|
|
@@ -1926,7 +1933,7 @@ const Fn = {
|
|
|
1926
1933
|
max: o.scaleMax || Math.max(...o.absoluteValues) || 1,
|
|
1927
1934
|
min: o.scaleMin || Math.min(...o.absoluteValues.filter((K) => ![void 0, null].includes(K))) > 0 ? 0 : Math.min(...o.absoluteValues.filter((K) => ![null, void 0].includes(K)))
|
|
1928
1935
|
}, j = o.scaleSteps || t.value.chart.grid.labels.yAxis.commonScaleSteps, z = 1.0000001, U = t.value.chart.grid.labels.yAxis.useNiceScale ? ql(N.min, N.max === N.min ? N.max * z : N.max, j) : fl(N.min, N.max === N.min ? N.max * z : N.max, j), V = t.value.chart.grid.labels.yAxis.useNiceScale ? ql(A.valueMin, A.valueMax === A.valueMin ? A.valueMax * z : A.valueMax, j) : fl(A.valueMin, A.valueMax === A.valueMin ? A.valueMax * z : A.valueMax, j), he = U.min >= 0 ? 0 : Math.abs(U.min), Y = 0, B = U.max + he, re = V.max + Math.abs(Y), Oe = o.stackIndex, Sl = s - 1 - Oe, qe = u ? 1 - o.cumulatedStackRatio : 0, J = u ? r * qe + e * Sl : 0, Q = u ? r * o.stackRatio : c.value.height, ke = c.value.bottom - J - Q * he / B, Ze = c.value.bottom - J - Q * Y / re, Pe = Ge.value.filter((K) => K.type === "bar").filter((K) => !ve.value.includes(K.id)).length, Gl = o.series.map((K, Se) => {
|
|
1929
|
-
const Wt = p.value.useIndividualScale ? (o.absoluteValues[Se] + he) / B : rl(K), dl = p.value.useIndividualScale && p.value.isStacked ? c.value.left + c.value.width / I.value * Se : c.value.left + de.value.bar * F + de.value.bar * Se * Pe -
|
|
1936
|
+
const Wt = p.value.useIndividualScale ? (o.absoluteValues[Se] + he) / B : rl(K), dl = p.value.useIndividualScale && p.value.isStacked ? c.value.left + c.value.width / I.value * Se : c.value.left + de.value.bar * F + de.value.bar * Se * Pe - Vo.value / 2 - F * ia.value;
|
|
1930
1937
|
return {
|
|
1931
1938
|
yOffset: q(J),
|
|
1932
1939
|
individualHeight: q(Q),
|
|
@@ -1991,10 +1998,10 @@ const Fn = {
|
|
|
1991
1998
|
max: o.scaleMax || Math.max(...o.absoluteValues) || 1,
|
|
1992
1999
|
min: o.scaleMin || (Math.min(...o.absoluteValues) > 0 ? 0 : Math.min(...o.absoluteValues))
|
|
1993
2000
|
}, j = o.scaleSteps || t.value.chart.grid.labels.yAxis.commonScaleSteps, z = 1.0000001, U = t.value.chart.grid.labels.yAxis.useNiceScale ? ql(N.min, N.max === N.min ? N.max * z : N.max, j) : fl(N.min, N.max === N.min ? N.max * z : N.max, j), V = t.value.chart.grid.labels.yAxis.useNiceScale ? ql(A.valueMin, A.valueMax === A.valueMin ? A.valueMax * z : A.valueMax, j) : fl(A.valueMin, A.valueMax === A.valueMin ? A.valueMax * z : A.valueMax, j), he = U.min >= 0 ? 0 : Math.abs(U.min), Y = 0, B = U.max + Math.abs(he), re = V.max + Math.abs(Y), Oe = o.stackIndex, Sl = s - 1 - Oe, qe = u ? 1 - o.cumulatedStackRatio : 0, J = u ? r * qe + e * Sl : 0, Q = u ? r * o.stackRatio : c.value.height, ke = c.value.bottom - J - Q * he / B, Ze = c.value.bottom - J - Q * Y / re, Pe = o.series.map((G, Ce) => {
|
|
1994
|
-
const
|
|
2001
|
+
const Qo = p.value.useIndividualScale ? (o.absoluteValues[Ce] + Math.abs(he)) / B : rl(G);
|
|
1995
2002
|
return {
|
|
1996
2003
|
x: q(c.value.left + de.value.line / 2 + de.value.line * Ce),
|
|
1997
|
-
y: q(c.value.bottom - J - Q *
|
|
2004
|
+
y: q(c.value.bottom - J - Q * Qo),
|
|
1998
2005
|
value: o.absoluteValues[Ce],
|
|
1999
2006
|
comment: o.comments && o.comments.slice(k.value.start, k.value.end)[Ce] || ""
|
|
2000
2007
|
};
|
|
@@ -2037,13 +2044,13 @@ const Fn = {
|
|
|
2037
2044
|
zeroPosition: o.autoScaling ? Ze : ke,
|
|
2038
2045
|
curve: o.autoScaling ? ie : Dt,
|
|
2039
2046
|
plots: o.autoScaling ? Ve : Pe,
|
|
2040
|
-
area: o.useArea ? p.value.useIndividualScale ? t.value.line.cutNullValues ?
|
|
2047
|
+
area: o.useArea ? p.value.useIndividualScale ? t.value.line.cutNullValues ? So(
|
|
2041
2048
|
o.autoScaling ? Ve : Pe,
|
|
2042
2049
|
Ul
|
|
2043
|
-
) :
|
|
2050
|
+
) : $o(
|
|
2044
2051
|
o.autoScaling ? Ve.filter((G) => G.value !== null) : Pe.filter((G) => G.value !== null),
|
|
2045
2052
|
Ul
|
|
2046
|
-
) : t.value.line.cutNullValues ?
|
|
2053
|
+
) : t.value.line.cutNullValues ? So(Pe, Ul) : $o(Pe.filter((G) => G.value !== null), Ul) : "",
|
|
2047
2054
|
curveAreas: o.useArea ? vn(
|
|
2048
2055
|
o.autoScaling ? t.value.line.cutNullValues ? Ve : Ve.filter((G) => G.value !== null) : t.value.line.cutNullValues ? Pe : Pe.filter((G) => G.value !== null),
|
|
2049
2056
|
Ul,
|
|
@@ -2243,7 +2250,7 @@ const Fn = {
|
|
|
2243
2250
|
}
|
|
2244
2251
|
return { left: l, right: s };
|
|
2245
2252
|
});
|
|
2246
|
-
const
|
|
2253
|
+
const Ho = x(() => {
|
|
2247
2254
|
let l = "", s = It.value.map((a) => a.value).filter((a) => da(a) && a !== null).reduce((a, r) => Math.abs(a) + Math.abs(r), 0);
|
|
2248
2255
|
const e = h.value[M.value], u = t.value.chart.tooltip.customFormat;
|
|
2249
2256
|
if (xa(u) && hn(() => u({
|
|
@@ -2278,7 +2285,7 @@ const Fn = {
|
|
|
2278
2285
|
r = `<svg viewBox="0 0 40 40" height="14" width="14">${xl.pattern ? `<rect x="0" y="0" rx="1" stroke="none" height="40" width="40" fill="${a.color}" />` : ""}<rect x="0" y="0" rx="1" stroke="none" height="40" width="40" fill="${xl.pattern ? `url(#pattern_${Z.value}_${a.slotAbsoluteIndex}` : a.color}" /></svg>`;
|
|
2279
2286
|
break;
|
|
2280
2287
|
case "line":
|
|
2281
|
-
!a.shape || !["star", "triangle", "square", "diamond", "pentagon", "hexagon"].includes(a.shape) ? o = `<circle cx="10" cy="8" r="4" stroke="${t.value.chart.tooltip.backgroundColor}" stroke-width="0.5" fill="${a.color}" />` : a.shape === "triangle" ? o = `<path d="${Mt({ plot: { x: 10, y: 8 }, radius: 4, sides: 3, rotation: 0.52 }).path}" fill="${a.color}" stroke="${t.value.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : a.shape === "square" ? o = `<path d="${Mt({ plot: { x: 10, y: 8 }, radius: 4, sides: 4, rotation: 0.8 }).path}" fill="${a.color}" stroke="${t.value.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : a.shape === "diamond" ? o = `<path d="${Mt({ plot: { x: 10, y: 8 }, radius: 4, sides: 4, rotation: 0 }).path}" fill="${a.color}" stroke="${t.value.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : a.shape === "pentagon" ? o = `<path d="${Mt({ plot: { x: 10, y: 8 }, radius: 4, sides: 5, rotation: 0.95 }).path}" fill="${a.color}" stroke="${t.value.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : a.shape === "hexagon" ? o = `<path d="${Mt({ plot: { x: 10, y: 8 }, radius: 4, sides: 6, rotation: 0 }).path}" fill="${a.color}" stroke="${t.value.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : a.shape === "star" && (o = `<polygon stroke="${t.value.chart.tooltip.backgroundColor}" stroke-width="0.5" fill="${a.color}" points="${
|
|
2288
|
+
!a.shape || !["star", "triangle", "square", "diamond", "pentagon", "hexagon"].includes(a.shape) ? o = `<circle cx="10" cy="8" r="4" stroke="${t.value.chart.tooltip.backgroundColor}" stroke-width="0.5" fill="${a.color}" />` : a.shape === "triangle" ? o = `<path d="${Mt({ plot: { x: 10, y: 8 }, radius: 4, sides: 3, rotation: 0.52 }).path}" fill="${a.color}" stroke="${t.value.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : a.shape === "square" ? o = `<path d="${Mt({ plot: { x: 10, y: 8 }, radius: 4, sides: 4, rotation: 0.8 }).path}" fill="${a.color}" stroke="${t.value.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : a.shape === "diamond" ? o = `<path d="${Mt({ plot: { x: 10, y: 8 }, radius: 4, sides: 4, rotation: 0 }).path}" fill="${a.color}" stroke="${t.value.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : a.shape === "pentagon" ? o = `<path d="${Mt({ plot: { x: 10, y: 8 }, radius: 4, sides: 5, rotation: 0.95 }).path}" fill="${a.color}" stroke="${t.value.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : a.shape === "hexagon" ? o = `<path d="${Mt({ plot: { x: 10, y: 8 }, radius: 4, sides: 6, rotation: 0 }).path}" fill="${a.color}" stroke="${t.value.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : a.shape === "star" && (o = `<polygon stroke="${t.value.chart.tooltip.backgroundColor}" stroke-width="0.5" fill="${a.color}" points="${Mo({ plot: { x: 10, y: 8 }, radius: 4 })}" />`), r = `<svg viewBox="0 0 20 12" height="14" width="20"><rect rx="1.5" x="0" y="6.5" stroke="${t.value.chart.tooltip.backgroundColor}" stroke-width="0.5" height="3" width="20" fill="${a.color}" />${o}</svg>`;
|
|
2282
2289
|
break;
|
|
2283
2290
|
case "plot":
|
|
2284
2291
|
if (!a.shape || !["star", "triangle", "square", "diamond", "pentagon", "hexagon"].includes(a.shape)) {
|
|
@@ -2286,7 +2293,7 @@ const Fn = {
|
|
|
2286
2293
|
break;
|
|
2287
2294
|
}
|
|
2288
2295
|
if (a.shape === "star") {
|
|
2289
|
-
r = `<svg viewBox="0 0 12 12" height="14" width="14"><polygon stroke="${t.value.chart.tooltip.backgroundColor}" stroke-width="1" fill="${a.color}" points="${
|
|
2296
|
+
r = `<svg viewBox="0 0 12 12" height="14" width="14"><polygon stroke="${t.value.chart.tooltip.backgroundColor}" stroke-width="1" fill="${a.color}" points="${Mo({ plot: { x: 6, y: 6 }, radius: 5 })}" /></svg>`;
|
|
2290
2297
|
break;
|
|
2291
2298
|
}
|
|
2292
2299
|
if (a.shape === "triangle") {
|
|
@@ -2449,7 +2456,7 @@ const Fn = {
|
|
|
2449
2456
|
});
|
|
2450
2457
|
}
|
|
2451
2458
|
function Ia() {
|
|
2452
|
-
|
|
2459
|
+
_o(v.dataset) ? (Pa({
|
|
2453
2460
|
componentName: "VueUiXy",
|
|
2454
2461
|
type: "dataset",
|
|
2455
2462
|
debug: Tt.value
|
|
@@ -2467,7 +2474,7 @@ const Fn = {
|
|
|
2467
2474
|
-----> The serie '${s.name}' contains the value '${e}' at index ${u}.
|
|
2468
2475
|
'${e}' was converted to null to allow the chart to display.`);
|
|
2469
2476
|
});
|
|
2470
|
-
}),
|
|
2477
|
+
}), _o(v.dataset) || (pl.value = t.value.loading), jl.value = t.value.chart.userOptions.showOnChartHover, Pl.value = t.value.chart.userOptions.keepStateOnChartLeave, yl.value = !t.value.chart.userOptions.showOnChartHover, ll();
|
|
2471
2478
|
const l = 12;
|
|
2472
2479
|
if (t.value.responsive) {
|
|
2473
2480
|
const e = Ee.value.parentNode;
|
|
@@ -2503,7 +2510,7 @@ const Fn = {
|
|
|
2503
2510
|
Ia(), St(), document.addEventListener("mousemove", uo, { passive: !0 }), document.addEventListener("scroll", Et, { passive: !0 });
|
|
2504
2511
|
}), _l(() => {
|
|
2505
2512
|
document.removeEventListener("scroll", Et, { passive: !0 }), document.removeEventListener("mousemove", uo, { passive: !0 }), gt.value && (gt.value.unobserve(ue.value), gt.value.disconnect(), gt.value = null);
|
|
2506
|
-
}),
|
|
2513
|
+
}), Cn({
|
|
2507
2514
|
timeLabelsEls: _e,
|
|
2508
2515
|
timeLabels: h,
|
|
2509
2516
|
slicer: k,
|
|
@@ -2515,15 +2522,15 @@ const Fn = {
|
|
|
2515
2522
|
width: ae,
|
|
2516
2523
|
rotation: t.value.chart.grid.labels.xAxisLabels.autoRotate.angle
|
|
2517
2524
|
});
|
|
2518
|
-
const va = y(!1), so = y(null), ro = y(200),
|
|
2525
|
+
const va = y(!1), so = y(null), ro = y(200), Do = x(
|
|
2519
2526
|
() => M.value ?? X.value ?? 0
|
|
2520
2527
|
);
|
|
2521
|
-
function
|
|
2528
|
+
function Wo() {
|
|
2522
2529
|
const l = Math.ceil(ro.value || 200);
|
|
2523
2530
|
return Math.min(Math.max(l, 1), 200);
|
|
2524
2531
|
}
|
|
2525
|
-
function
|
|
2526
|
-
const l =
|
|
2532
|
+
function Xo() {
|
|
2533
|
+
const l = Wo(), s = 200, e = Math.max(1, I.value), u = c.value.width / e, r = c.value.left + Do.value * u + u / 2 - l / 2 - (s - l) / 2, o = c.value.left - (s - l) / 2, F = c.value.right - (s + l) / 2, R = Math.max(o, Math.min(r, F));
|
|
2527
2534
|
return q(R);
|
|
2528
2535
|
}
|
|
2529
2536
|
Zl(() => {
|
|
@@ -2535,7 +2542,7 @@ const Fn = {
|
|
|
2535
2542
|
}, u = new ResizeObserver((r) => {
|
|
2536
2543
|
let o = r.find((F) => F.target === l) || r[0];
|
|
2537
2544
|
o && e(o.contentRect.width || 200);
|
|
2538
|
-
}), a =
|
|
2545
|
+
}), a = xo((r) => {
|
|
2539
2546
|
const o = so.value;
|
|
2540
2547
|
l && l !== o && (u.unobserve(l), l = null), o && o !== l && (Ml(() => {
|
|
2541
2548
|
o.offsetParent !== null && e(o.offsetWidth || o.getBoundingClientRect().width || 200);
|
|
@@ -2550,7 +2557,7 @@ const Fn = {
|
|
|
2550
2557
|
}
|
|
2551
2558
|
});
|
|
2552
2559
|
});
|
|
2553
|
-
const
|
|
2560
|
+
const Yo = x(() => {
|
|
2554
2561
|
if ([null, void 0].includes(M.value) && [null, void 0].includes(X.value)) return "";
|
|
2555
2562
|
const l = (M.value != null ? M.value : 0) || (X.value != null ? X.value : 0), s = t.value.chart.timeTag.customFormat;
|
|
2556
2563
|
if (va.value = !1, xa(s))
|
|
@@ -2602,7 +2609,7 @@ const Fn = {
|
|
|
2602
2609
|
const Yl = x(() => {
|
|
2603
2610
|
const l = t.value.table.useDialog && !t.value.showTable, s = p.value.showTable;
|
|
2604
2611
|
return {
|
|
2605
|
-
component: l ? Kl :
|
|
2612
|
+
component: l ? Kl : Nn,
|
|
2606
2613
|
title: `${t.value.chart.title.text}${t.value.chart.title.subtitle.text ? `: ${t.value.chart.title.subtitle.text}` : ""}`,
|
|
2607
2614
|
props: l ? {
|
|
2608
2615
|
backgroundColor: t.value.table.th.backgroundColor,
|
|
@@ -2635,27 +2642,27 @@ const Fn = {
|
|
|
2635
2642
|
function vo() {
|
|
2636
2643
|
p.value.showTable = !1, Tl.value && Tl.value.setTableIconState(!1);
|
|
2637
2644
|
}
|
|
2638
|
-
const
|
|
2645
|
+
const Go = x(() => Ge.value.map((l) => ({
|
|
2639
2646
|
shape: l.type === "bar" ? "square" : l.shape ?? "circle",
|
|
2640
2647
|
color: l.color,
|
|
2641
2648
|
name: l.name
|
|
2642
|
-
}))),
|
|
2649
|
+
}))), Uo = x(() => t.value.chart.backgroundColor), qo = x(() => t.value.chart.legend), Zo = x(() => t.value.chart.title), { exportSvg: Ko, getSvg: Jo } = Ln({
|
|
2643
2650
|
svg: $e,
|
|
2644
|
-
title:
|
|
2645
|
-
legend:
|
|
2646
|
-
legendItems:
|
|
2647
|
-
backgroundColor:
|
|
2651
|
+
title: Zo,
|
|
2652
|
+
legend: qo,
|
|
2653
|
+
legendItems: Go,
|
|
2654
|
+
backgroundColor: Uo
|
|
2648
2655
|
});
|
|
2649
2656
|
async function ho({ isCb: l }) {
|
|
2650
2657
|
if (l) {
|
|
2651
|
-
const { blob: s, url: e, text: u, dataUrl: a } = await
|
|
2658
|
+
const { blob: s, url: e, text: u, dataUrl: a } = await Jo();
|
|
2652
2659
|
t.value.chart.userOptions.callbacks.svg({ blob: s, url: e, text: u, dataUrl: a });
|
|
2653
2660
|
} else
|
|
2654
|
-
|
|
2661
|
+
Ko();
|
|
2655
2662
|
}
|
|
2656
2663
|
return Sa({
|
|
2657
|
-
getData:
|
|
2658
|
-
getImage:
|
|
2664
|
+
getData: zo,
|
|
2665
|
+
getImage: Io,
|
|
2659
2666
|
generatePdf: ut,
|
|
2660
2667
|
generateImage: st,
|
|
2661
2668
|
generateSvg: ho,
|
|
@@ -2684,7 +2691,7 @@ const Fn = {
|
|
|
2684
2691
|
active: He.value,
|
|
2685
2692
|
onClose: d
|
|
2686
2693
|
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : g("", !0),
|
|
2687
|
-
|
|
2694
|
+
Po.value ? (n(), i("div", {
|
|
2688
2695
|
key: 1,
|
|
2689
2696
|
ref_key: "noTitle",
|
|
2690
2697
|
ref: Ct,
|
|
@@ -2698,7 +2705,7 @@ const Fn = {
|
|
|
2698
2705
|
class: "vue-ui-xy-title",
|
|
2699
2706
|
style: L(`font-family:${t.value.chart.fontFamily}`)
|
|
2700
2707
|
}, [
|
|
2701
|
-
(n(), vt(
|
|
2708
|
+
(n(), vt(Tn, {
|
|
2702
2709
|
key: `title_${Nl.value}`,
|
|
2703
2710
|
config: {
|
|
2704
2711
|
title: {
|
|
@@ -2714,7 +2721,7 @@ const Fn = {
|
|
|
2714
2721
|
], 4)) : g("", !0),
|
|
2715
2722
|
S("div", {
|
|
2716
2723
|
id: `legend-top-${Z.value}`
|
|
2717
|
-
}, null, 8,
|
|
2724
|
+
}, null, 8, $i),
|
|
2718
2725
|
t.value.chart.userOptions.show && (Pl.value || yl.value) ? (n(), vt(m(fe), {
|
|
2719
2726
|
ref_key: "userOptionsRef",
|
|
2720
2727
|
ref: Tl,
|
|
@@ -2757,7 +2764,7 @@ const Fn = {
|
|
|
2757
2764
|
style: L({
|
|
2758
2765
|
visibility: Pl.value ? yl.value ? "visible" : "hidden" : "visible"
|
|
2759
2766
|
})
|
|
2760
|
-
},
|
|
2767
|
+
}, bo({ _: 2 }, [
|
|
2761
2768
|
l.$slots.menuIcon ? {
|
|
2762
2769
|
name: "menuIcon",
|
|
2763
2770
|
fn: Me(({ isOpen: e, color: u }) => [
|
|
@@ -2841,11 +2848,11 @@ const Fn = {
|
|
|
2841
2848
|
color: t.value.chart.color,
|
|
2842
2849
|
fontFamily: t.value.chart.fontFamily
|
|
2843
2850
|
}),
|
|
2844
|
-
"aria-label":
|
|
2851
|
+
"aria-label": No.value,
|
|
2845
2852
|
role: "img",
|
|
2846
2853
|
"aria-live": "polite",
|
|
2847
2854
|
preserveAspectRatio: "xMidYMid",
|
|
2848
|
-
onMousemove:
|
|
2855
|
+
onMousemove: To,
|
|
2849
2856
|
onMouseleave: na,
|
|
2850
2857
|
onClick: Xa
|
|
2851
2858
|
}, [
|
|
@@ -2866,9 +2873,9 @@ const Fn = {
|
|
|
2866
2873
|
}
|
|
2867
2874
|
}, [
|
|
2868
2875
|
le(l.$slots, "chart-background", {}, void 0, !0)
|
|
2869
|
-
], 8,
|
|
2870
|
-
I.value > 0 ? (n(), i("g",
|
|
2871
|
-
S("g",
|
|
2876
|
+
], 8, _i)) : g("", !0),
|
|
2877
|
+
I.value > 0 ? (n(), i("g", Li, [
|
|
2878
|
+
S("g", Ci, [
|
|
2872
2879
|
t.value.chart.grid.labels.xAxis.showBaseline ? (n(), i("line", {
|
|
2873
2880
|
key: 0,
|
|
2874
2881
|
stroke: t.value.chart.grid.stroke,
|
|
@@ -2879,7 +2886,7 @@ const Fn = {
|
|
|
2879
2886
|
y2: m(ee)(c.value.bottom),
|
|
2880
2887
|
"stroke-linecap": "round",
|
|
2881
2888
|
style: { animation: "none !important" }
|
|
2882
|
-
}, null, 8,
|
|
2889
|
+
}, null, 8, Ai)) : g("", !0),
|
|
2883
2890
|
p.value.useIndividualScale ? t.value.chart.grid.showHorizontalLines ? (n(!0), i(b, { key: 2 }, _(Xl.value, (e) => (n(), i("g", null, [
|
|
2884
2891
|
e.id === E.value && e.yLabels.length ? (n(!0), i(b, { key: 0 }, _(e.yLabels, (u) => (n(), i("line", {
|
|
2885
2892
|
x1: c.value.left + se.value,
|
|
@@ -2890,7 +2897,7 @@ const Fn = {
|
|
|
2890
2897
|
"stroke-width": 0.5,
|
|
2891
2898
|
"stroke-linecap": "round",
|
|
2892
2899
|
style: { animation: "none !important" }
|
|
2893
|
-
}, null, 8,
|
|
2900
|
+
}, null, 8, Ni))), 256)) : e.yLabels.length ? (n(!0), i(b, { key: 1 }, _(e.yLabels, (u) => (n(), i("line", {
|
|
2894
2901
|
x1: c.value.left + se.value,
|
|
2895
2902
|
x2: c.value.right - se.value,
|
|
2896
2903
|
y1: m(ee)(u.y),
|
|
@@ -2899,7 +2906,7 @@ const Fn = {
|
|
|
2899
2906
|
"stroke-width": 0.5,
|
|
2900
2907
|
"stroke-linecap": "round",
|
|
2901
2908
|
style: { animation: "none !important" }
|
|
2902
|
-
}, null, 8,
|
|
2909
|
+
}, null, 8, Pi))), 256)) : g("", !0)
|
|
2903
2910
|
]))), 256)) : g("", !0) : (n(), i(b, { key: 1 }, [
|
|
2904
2911
|
t.value.chart.grid.labels.yAxis.showBaseline ? (n(), i("line", {
|
|
2905
2912
|
key: 0,
|
|
@@ -2911,8 +2918,8 @@ const Fn = {
|
|
|
2911
2918
|
y2: m(ee)(c.value.bottom),
|
|
2912
2919
|
"stroke-linecap": "round",
|
|
2913
2920
|
style: { animation: "none !important" }
|
|
2914
|
-
}, null, 8,
|
|
2915
|
-
t.value.chart.grid.showHorizontalLines ? (n(), i("g",
|
|
2921
|
+
}, null, 8, Ti)) : g("", !0),
|
|
2922
|
+
t.value.chart.grid.showHorizontalLines ? (n(), i("g", zi, [
|
|
2916
2923
|
(n(!0), i(b, null, _(Za.value, (e) => (n(), i("line", {
|
|
2917
2924
|
x1: c.value.left + se.value,
|
|
2918
2925
|
x2: c.value.right,
|
|
@@ -2922,26 +2929,26 @@ const Fn = {
|
|
|
2922
2929
|
"stroke-width": 0.5,
|
|
2923
2930
|
"stroke-linecap": "round",
|
|
2924
2931
|
style: { animation: "none !important" }
|
|
2925
|
-
}, null, 8,
|
|
2932
|
+
}, null, 8, Ii))), 256))
|
|
2926
2933
|
])) : g("", !0)
|
|
2927
2934
|
], 64)),
|
|
2928
|
-
t.value.chart.grid.showVerticalLines ? (n(), i("g",
|
|
2935
|
+
t.value.chart.grid.showVerticalLines ? (n(), i("g", Fi, [
|
|
2929
2936
|
S("path", {
|
|
2930
2937
|
d: Bl.value,
|
|
2931
2938
|
"stroke-width": 0.5,
|
|
2932
2939
|
stroke: t.value.chart.grid.stroke,
|
|
2933
2940
|
"stroke-linecap": "round",
|
|
2934
2941
|
style: { animation: "none !important" }
|
|
2935
|
-
}, null, 8,
|
|
2942
|
+
}, null, 8, Ri)
|
|
2936
2943
|
])) : g("", !0),
|
|
2937
|
-
t.value.chart.grid.labels.xAxisLabels.show ? (n(), i("g",
|
|
2944
|
+
t.value.chart.grid.labels.xAxisLabels.show ? (n(), i("g", Oi, [
|
|
2938
2945
|
S("path", {
|
|
2939
2946
|
d: El.value,
|
|
2940
2947
|
stroke: t.value.chart.grid.stroke,
|
|
2941
2948
|
"stroke-width": 1,
|
|
2942
2949
|
"stroke-linecap": "round",
|
|
2943
2950
|
style: { animation: "none !important" }
|
|
2944
|
-
}, null, 8,
|
|
2951
|
+
}, null, 8, Vi)
|
|
2945
2952
|
])) : g("", !0)
|
|
2946
2953
|
]),
|
|
2947
2954
|
(n(!0), i(b, null, _($t.value, (e, u) => (n(), i("defs", {
|
|
@@ -2959,16 +2966,16 @@ const Fn = {
|
|
|
2959
2966
|
S("stop", {
|
|
2960
2967
|
offset: "0%",
|
|
2961
2968
|
"stop-color": e.color
|
|
2962
|
-
}, null, 8,
|
|
2969
|
+
}, null, 8, Ei),
|
|
2963
2970
|
S("stop", {
|
|
2964
2971
|
offset: "62%",
|
|
2965
2972
|
"stop-color": `${m(ml)(e.color, 0.02)}`
|
|
2966
|
-
}, null, 8,
|
|
2973
|
+
}, null, 8, Hi),
|
|
2967
2974
|
S("stop", {
|
|
2968
2975
|
offset: "100%",
|
|
2969
2976
|
"stop-color": `${m(ml)(e.color, 0.05)}`
|
|
2970
|
-
}, null, 8,
|
|
2971
|
-
], 8,
|
|
2977
|
+
}, null, 8, Di)
|
|
2978
|
+
], 8, Bi),
|
|
2972
2979
|
S("linearGradient", {
|
|
2973
2980
|
id: `rectGradient_neg_${u}_${Z.value}`,
|
|
2974
2981
|
x2: "0%",
|
|
@@ -2977,16 +2984,16 @@ const Fn = {
|
|
|
2977
2984
|
S("stop", {
|
|
2978
2985
|
offset: "0%",
|
|
2979
2986
|
"stop-color": `${m(ml)(e.color, 0.05)}`
|
|
2980
|
-
}, null, 8,
|
|
2987
|
+
}, null, 8, Xi),
|
|
2981
2988
|
S("stop", {
|
|
2982
2989
|
offset: "38%",
|
|
2983
2990
|
"stop-color": `${m(ml)(e.color, 0.02)}`
|
|
2984
|
-
}, null, 8,
|
|
2991
|
+
}, null, 8, Yi),
|
|
2985
2992
|
S("stop", {
|
|
2986
2993
|
offset: "100%",
|
|
2987
2994
|
"stop-color": e.color
|
|
2988
|
-
}, null, 8,
|
|
2989
|
-
], 8,
|
|
2995
|
+
}, null, 8, Gi)
|
|
2996
|
+
], 8, Wi)
|
|
2990
2997
|
], 64))
|
|
2991
2998
|
]))), 128)),
|
|
2992
2999
|
(n(!0), i(b, null, _(tt.value, (e, u) => (n(), i("defs", {
|
|
@@ -3003,12 +3010,12 @@ const Fn = {
|
|
|
3003
3010
|
S("stop", {
|
|
3004
3011
|
offset: "0%",
|
|
3005
3012
|
"stop-color": `${m(ml)(e.color, 0.05)}`
|
|
3006
|
-
}, null, 8,
|
|
3013
|
+
}, null, 8, qi),
|
|
3007
3014
|
S("stop", {
|
|
3008
3015
|
offset: "100%",
|
|
3009
3016
|
"stop-color": e.color
|
|
3010
|
-
}, null, 8,
|
|
3011
|
-
], 8,
|
|
3017
|
+
}, null, 8, Zi)
|
|
3018
|
+
], 8, Ui)
|
|
3012
3019
|
]))), 128)),
|
|
3013
3020
|
(n(!0), i(b, null, _(Ne.value, (e, u) => (n(), i("defs", {
|
|
3014
3021
|
key: `def_line_${e.id}`
|
|
@@ -3024,12 +3031,12 @@ const Fn = {
|
|
|
3024
3031
|
S("stop", {
|
|
3025
3032
|
offset: "0%",
|
|
3026
3033
|
"stop-color": `${m(ml)(e.color, 0.05)}`
|
|
3027
|
-
}, null, 8,
|
|
3034
|
+
}, null, 8, Ji),
|
|
3028
3035
|
S("stop", {
|
|
3029
3036
|
offset: "100%",
|
|
3030
3037
|
"stop-color": e.color
|
|
3031
|
-
}, null, 8,
|
|
3032
|
-
], 8,
|
|
3038
|
+
}, null, 8, Qi)
|
|
3039
|
+
], 8, Ki),
|
|
3033
3040
|
l.$slots["area-gradient"] ? le(l.$slots, "area-gradient", Ut({
|
|
3034
3041
|
key: 0,
|
|
3035
3042
|
ref_for: !0
|
|
@@ -3044,14 +3051,14 @@ const Fn = {
|
|
|
3044
3051
|
S("stop", {
|
|
3045
3052
|
offset: "0%",
|
|
3046
3053
|
"stop-color": `${m(dt)(m(ml)(e.color, 0.03), t.value.line.area.opacity)}`
|
|
3047
|
-
}, null, 8,
|
|
3054
|
+
}, null, 8, eu),
|
|
3048
3055
|
S("stop", {
|
|
3049
3056
|
offset: "100%",
|
|
3050
3057
|
"stop-color": `${m(dt)(e.color, t.value.line.area.opacity)}`
|
|
3051
|
-
}, null, 8,
|
|
3052
|
-
], 8,
|
|
3058
|
+
}, null, 8, tu)
|
|
3059
|
+
], 8, ji))
|
|
3053
3060
|
]))), 128)),
|
|
3054
|
-
(n(!0), i(b, null, _(
|
|
3061
|
+
(n(!0), i(b, null, _(Fo.value, (e) => (n(), i("g", null, [
|
|
3055
3062
|
e.show ? (n(), i(b, { key: 0 }, [
|
|
3056
3063
|
(n(!0), i(b, null, _(e.span, (u, a) => (n(), i("g", null, [
|
|
3057
3064
|
S("rect", {
|
|
@@ -3064,7 +3071,7 @@ const Fn = {
|
|
|
3064
3071
|
height: c.value.height < 0 ? 10 : c.value.height,
|
|
3065
3072
|
width: c.value.width / I.value < 0 ? 1e-5 : c.value.width / I.value,
|
|
3066
3073
|
fill: m(dt)(e.color, e.opacity)
|
|
3067
|
-
}, null, 12,
|
|
3074
|
+
}, null, 12, lu)
|
|
3068
3075
|
]))), 256)),
|
|
3069
3076
|
(n(!0), i(b, null, _(e.span, (u, a) => (n(), i("g", null, [
|
|
3070
3077
|
e.caption.text && a === 0 ? (n(), i("foreignObject", {
|
|
@@ -3081,11 +3088,11 @@ const Fn = {
|
|
|
3081
3088
|
S("div", {
|
|
3082
3089
|
style: L(`padding:${e.caption.padding}px;text-align:${e.caption.textAlign};font-size:${e.caption.fontSize}px;color:${e.caption.color};font-weight:${e.caption.bold ? "bold" : "normal"}`)
|
|
3083
3090
|
}, xe(e.caption.text), 5)
|
|
3084
|
-
], 12,
|
|
3091
|
+
], 12, au)) : g("", !0)
|
|
3085
3092
|
]))), 256))
|
|
3086
3093
|
], 64)) : g("", !0)
|
|
3087
3094
|
]))), 256)),
|
|
3088
|
-
ge.value ? (n(), i("g",
|
|
3095
|
+
ge.value ? (n(), i("g", ou, [
|
|
3089
3096
|
(n(!0), i(b, null, _(I.value, (e, u) => (n(), i("g", {
|
|
3090
3097
|
key: `tooltip_trap_highlighter_${u}`
|
|
3091
3098
|
}, [
|
|
@@ -3096,7 +3103,7 @@ const Fn = {
|
|
|
3096
3103
|
width: c.value.width / I.value < 0 ? 1e-5 : c.value.width / I.value,
|
|
3097
3104
|
fill: [X.value, M.value, oe.value].includes(u) ? m(dt)(t.value.chart.highlighter.color, t.value.chart.highlighter.opacity) : "transparent",
|
|
3098
3105
|
style: { transition: "none !important", animation: "none !important" }
|
|
3099
|
-
}, null, 8,
|
|
3106
|
+
}, null, 8, nu)
|
|
3100
3107
|
]))), 128))
|
|
3101
3108
|
])) : g("", !0),
|
|
3102
3109
|
$t.value.length ? (n(!0), i(b, { key: 1 }, _($t.value, (e, u) => (n(), i("g", {
|
|
@@ -3120,7 +3127,7 @@ const Fn = {
|
|
|
3120
3127
|
style: L({
|
|
3121
3128
|
transition: m(be) || !t.value.bar.showTransition ? void 0 : `all ${t.value.bar.transitionDurationMs}ms ease-in-out`
|
|
3122
3129
|
})
|
|
3123
|
-
}, null, 12,
|
|
3130
|
+
}, null, 12, iu)) : g("", !0),
|
|
3124
3131
|
Ue(a.value) && l.$slots.pattern ? (n(), i("rect", {
|
|
3125
3132
|
key: 1,
|
|
3126
3133
|
x: oa(a) - sa.value / 2,
|
|
@@ -3132,7 +3139,7 @@ const Fn = {
|
|
|
3132
3139
|
stroke: t.value.bar.border.useSerieColor ? e.color : t.value.bar.border.stroke,
|
|
3133
3140
|
"stroke-width": t.value.bar.border.strokeWidth,
|
|
3134
3141
|
style: L({ transition: m(be) || !t.value.bar.showTransition ? void 0 : `all ${t.value.bar.transitionDurationMs}ms ease-in-out` })
|
|
3135
|
-
}, null, 12,
|
|
3142
|
+
}, null, 12, uu)) : g("", !0),
|
|
3136
3143
|
a.comment && t.value.chart.comments.show ? (n(), i("foreignObject", {
|
|
3137
3144
|
key: 2,
|
|
3138
3145
|
style: { overflow: "visible" },
|
|
@@ -3144,7 +3151,7 @@ const Fn = {
|
|
|
3144
3151
|
le(l.$slots, "plot-comment", {
|
|
3145
3152
|
plot: { ...a, color: e.color, seriesIndex: u, datapointIndex: r }
|
|
3146
3153
|
}, void 0, !0)
|
|
3147
|
-
], 8,
|
|
3154
|
+
], 8, su)) : g("", !0)
|
|
3148
3155
|
]))), 128))
|
|
3149
3156
|
], 6))), 128)) : g("", !0),
|
|
3150
3157
|
!p.value.useIndividualScale && t.value.chart.grid.labels.zeroLine.show ? (n(), i("line", {
|
|
@@ -3157,8 +3164,8 @@ const Fn = {
|
|
|
3157
3164
|
y2: m(ee)(Ie.value),
|
|
3158
3165
|
"stroke-linecap": "round",
|
|
3159
3166
|
style: { animation: "none !important" }
|
|
3160
|
-
}, null, 8,
|
|
3161
|
-
t.value.chart.highlighter.useLine && (![null, void 0].includes(M.value) || ![null, void 0].includes(X.value)) ? (n(), i("g",
|
|
3167
|
+
}, null, 8, ru)) : g("", !0),
|
|
3168
|
+
t.value.chart.highlighter.useLine && (![null, void 0].includes(M.value) || ![null, void 0].includes(X.value)) ? (n(), i("g", cu, [
|
|
3162
3169
|
S("line", {
|
|
3163
3170
|
x1: c.value.left + c.value.width / I.value * ((M.value !== null ? M.value : 0) || (X.value !== null ? X.value : 0)) + c.value.width / I.value / 2,
|
|
3164
3171
|
x2: c.value.left + c.value.width / I.value * ((M.value !== null ? M.value : 0) || (X.value !== null ? X.value : 0)) + c.value.width / I.value / 2,
|
|
@@ -3169,7 +3176,7 @@ const Fn = {
|
|
|
3169
3176
|
"stroke-dasharray": t.value.chart.highlighter.lineDasharray,
|
|
3170
3177
|
"stroke-linecap": "round",
|
|
3171
3178
|
style: { transition: "none !important", animation: "none !important", "pointer-events": "none" }
|
|
3172
|
-
}, null, 8,
|
|
3179
|
+
}, null, 8, vu)
|
|
3173
3180
|
])) : g("", !0),
|
|
3174
3181
|
t.value.chart.grid.frame.show ? (n(), i("rect", {
|
|
3175
3182
|
key: 4,
|
|
@@ -3184,7 +3191,7 @@ const Fn = {
|
|
|
3184
3191
|
"stroke-linecap": t.value.chart.grid.frame.strokeLinecap,
|
|
3185
3192
|
"stroke-linejoin": t.value.chart.grid.frame.strokeLinejoin,
|
|
3186
3193
|
"stroke-dasharray": t.value.chart.grid.frame.strokeDasharray
|
|
3187
|
-
}, null, 8,
|
|
3194
|
+
}, null, 8, du)) : g("", !0),
|
|
3188
3195
|
t.value.chart.grid.labels.show ? (n(), i("g", {
|
|
3189
3196
|
key: 5,
|
|
3190
3197
|
ref_key: "scaleLabels",
|
|
@@ -3201,7 +3208,7 @@ const Fn = {
|
|
|
3201
3208
|
"stroke-width": t.value.chart.grid.stroke,
|
|
3202
3209
|
"stroke-linecap": "round",
|
|
3203
3210
|
style: L(`opacity:${E.value ? E.value === e.groupId ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out; animation: none !important`)
|
|
3204
|
-
}, null, 12,
|
|
3211
|
+
}, null, 12, hu)
|
|
3205
3212
|
]))), 256)),
|
|
3206
3213
|
(n(!0), i(b, null, _(Xl.value, (e) => (n(), i("g", {
|
|
3207
3214
|
style: L(`opacity:${E.value ? E.value === e.groupId ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out`)
|
|
@@ -3212,7 +3219,7 @@ const Fn = {
|
|
|
3212
3219
|
"text-anchor": "middle",
|
|
3213
3220
|
transform: `translate(${e.x - T.value.dataLabels * 0.8 / 2 + se.value}, ${p.value.isStacked ? c.value.bottom - e.yOffset - e.individualHeight / 2 : c.value.top + c.value.height / 2}) rotate(-90)`
|
|
3214
3221
|
}, xe(e.name) + " " + xe(e.scaleLabel && e.unique && e.scaleLabel !== e.id ? `-
|
|
3215
|
-
${e.scaleLabel}` : ""), 9,
|
|
3222
|
+
${e.scaleLabel}` : ""), 9, fu),
|
|
3216
3223
|
(n(!0), i(b, null, _(e.yLabels, (u, a) => (n(), i(b, null, [
|
|
3217
3224
|
t.value.chart.grid.labels.yAxis.showCrosshairs ? (n(), i("line", {
|
|
3218
3225
|
key: 0,
|
|
@@ -3224,7 +3231,7 @@ const Fn = {
|
|
|
3224
3231
|
"stroke-width": 1,
|
|
3225
3232
|
"stroke-linecap": "round",
|
|
3226
3233
|
style: { animation: "none !important" }
|
|
3227
|
-
}, null, 8,
|
|
3234
|
+
}, null, 8, mu)) : g("", !0)
|
|
3228
3235
|
], 64))), 256)),
|
|
3229
3236
|
(n(!0), i(b, null, _(e.yLabels, (u, a) => (n(), i("text", {
|
|
3230
3237
|
x: e.x - 5 + se.value - c.value.individualOffsetX,
|
|
@@ -3242,7 +3249,7 @@ const Fn = {
|
|
|
3242
3249
|
r: t.value.chart.grid.labels.yAxis.rounding
|
|
3243
3250
|
}),
|
|
3244
3251
|
{ datapoint: u.datapoint, seriesIndex: a }
|
|
3245
|
-
)), 9,
|
|
3252
|
+
)), 9, gu))), 256))
|
|
3246
3253
|
], 4))), 256))
|
|
3247
3254
|
], 64)) : (n(!0), i(b, { key: 1 }, _(Za.value, (e, u) => (n(), i("g", {
|
|
3248
3255
|
key: `yLabel_${u}`
|
|
@@ -3257,7 +3264,7 @@ const Fn = {
|
|
|
3257
3264
|
"stroke-width": "1",
|
|
3258
3265
|
"stroke-linecap": "round",
|
|
3259
3266
|
style: { animation: "none !important" }
|
|
3260
|
-
}, null, 8,
|
|
3267
|
+
}, null, 8, xu)) : g("", !0),
|
|
3261
3268
|
e.value >= Ye.value.min && e.value <= Ye.value.max ? (n(), i("text", {
|
|
3262
3269
|
key: 1,
|
|
3263
3270
|
x: c.value.scaleLabelX - t.value.chart.grid.labels.yAxis.crosshairSize,
|
|
@@ -3274,7 +3281,7 @@ const Fn = {
|
|
|
3274
3281
|
s: e.suffix,
|
|
3275
3282
|
r: t.value.chart.grid.labels.yAxis.rounding
|
|
3276
3283
|
})
|
|
3277
|
-
) : ""), 9,
|
|
3284
|
+
) : ""), 9, bu)) : g("", !0)
|
|
3278
3285
|
]))), 128))
|
|
3279
3286
|
], 512)) : g("", !0),
|
|
3280
3287
|
(n(!0), i(b, null, _(tt.value, (e, u) => (n(), i("g", {
|
|
@@ -3303,12 +3310,12 @@ const Fn = {
|
|
|
3303
3310
|
x: a.x - t.value.chart.comments.width / 2 + t.value.chart.comments.offsetX,
|
|
3304
3311
|
y: a.y + t.value.chart.comments.offsetY + 6
|
|
3305
3312
|
}, [
|
|
3306
|
-
S("div",
|
|
3313
|
+
S("div", pu, [
|
|
3307
3314
|
le(l.$slots, "plot-comment", {
|
|
3308
3315
|
plot: { ...a, color: e.color, seriesIndex: u, datapointIndex: r }
|
|
3309
3316
|
}, void 0, !0)
|
|
3310
3317
|
])
|
|
3311
|
-
], 8,
|
|
3318
|
+
], 8, yu)) : g("", !0)
|
|
3312
3319
|
]))), 128))
|
|
3313
3320
|
], 6))), 128)),
|
|
3314
3321
|
(n(!0), i(b, null, _(Ne.value, (e, u) => (n(), i("g", {
|
|
@@ -3324,7 +3331,7 @@ const Fn = {
|
|
|
3324
3331
|
"stroke-dasharray": e.dashed ? t.value.line.strokeWidth * 2 : 0,
|
|
3325
3332
|
fill: "none",
|
|
3326
3333
|
style: L({ transition: m(be) || !t.value.line.showTransition ? void 0 : `all ${t.value.line.transitionDurationMs}ms ease-in-out` })
|
|
3327
|
-
}, null, 12,
|
|
3334
|
+
}, null, 12, ku)) : e.plots.length > 1 && e.straight ? (n(), i("path", {
|
|
3328
3335
|
key: 1,
|
|
3329
3336
|
d: `M${e.straight}`,
|
|
3330
3337
|
stroke: t.value.chart.backgroundColor,
|
|
@@ -3334,14 +3341,14 @@ const Fn = {
|
|
|
3334
3341
|
"stroke-linecap": "round",
|
|
3335
3342
|
"stroke-linejoin": "round",
|
|
3336
3343
|
style: L({ transition: m(be) || !t.value.line.showTransition ? void 0 : `all ${t.value.line.transitionDurationMs}ms ease-in-out` })
|
|
3337
|
-
}, null, 12,
|
|
3344
|
+
}, null, 12, wu)) : g("", !0)
|
|
3338
3345
|
], 6))), 128)),
|
|
3339
|
-
l.$slots.pattern ? (n(), i("defs",
|
|
3346
|
+
l.$slots.pattern ? (n(), i("defs", Su, [
|
|
3340
3347
|
(n(!0), i(b, null, _(rt.value, (e, u) => le(l.$slots, "pattern", Ut({
|
|
3341
3348
|
key: `serie_pattern_slot_${e.id}`
|
|
3342
3349
|
}, { ref_for: !0 }, { ...e, seriesIndex: e.slotAbsoluteIndex, patternId: `pattern_${Z.value}_${u}` }), void 0, !0)), 128))
|
|
3343
3350
|
])) : g("", !0),
|
|
3344
|
-
Qa.value.length && !p.value.isStacked ? (n(), i("g",
|
|
3351
|
+
Qa.value.length && !p.value.isStacked ? (n(), i("g", $u, [
|
|
3345
3352
|
(n(!0), i(b, null, _(Qa.value, (e) => (n(), i("path", {
|
|
3346
3353
|
key: e.key,
|
|
3347
3354
|
d: e.d,
|
|
@@ -3350,40 +3357,40 @@ const Fn = {
|
|
|
3350
3357
|
stroke: "none",
|
|
3351
3358
|
"pointer-events": "none",
|
|
3352
3359
|
style: L({ transition: m(be) || !t.value.line.showTransition ? void 0 : `all ${t.value.line.transitionDurationMs}ms ease-in-out` })
|
|
3353
|
-
}, null, 12,
|
|
3360
|
+
}, null, 12, Mu))), 128))
|
|
3354
3361
|
])) : g("", !0),
|
|
3355
3362
|
(n(!0), i(b, null, _(Ne.value, (e, u) => (n(), i("g", {
|
|
3356
3363
|
key: `serie_line_above_${e.id}`,
|
|
3357
3364
|
class: Ke(`serie_line_${u}`),
|
|
3358
3365
|
style: L(`opacity:${E.value ? E.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
3359
3366
|
}, [
|
|
3360
|
-
e.useArea && e.plots.length > 1 ? (n(), i("g",
|
|
3367
|
+
e.useArea && e.plots.length > 1 ? (n(), i("g", _u, [
|
|
3361
3368
|
e.smooth ? (n(!0), i(b, { key: 0 }, _(e.curveAreas, (a, r) => (n(), i(b, { key: r }, [
|
|
3362
3369
|
a ? (n(), i("path", {
|
|
3363
3370
|
key: 0,
|
|
3364
3371
|
d: a,
|
|
3365
3372
|
fill: t.value.line.area.useGradient ? `url(#areaGradient_${u}_${Z.value})` : m(dt)(e.color, t.value.line.area.opacity),
|
|
3366
3373
|
style: L({ transition: m(be) || !t.value.line.showTransition ? void 0 : `all ${t.value.line.transitionDurationMs}ms ease-in-out` })
|
|
3367
|
-
}, null, 12,
|
|
3374
|
+
}, null, 12, Lu)) : g("", !0),
|
|
3368
3375
|
l.$slots.pattern && a ? (n(), i("path", {
|
|
3369
3376
|
key: 1,
|
|
3370
3377
|
d: a,
|
|
3371
3378
|
fill: `url(#pattern_${Z.value}_${e.slotAbsoluteIndex})`,
|
|
3372
3379
|
style: L({ transition: m(be) || !t.value.line.showTransition ? void 0 : `all ${t.value.line.transitionDurationMs}ms ease-in-out` })
|
|
3373
|
-
}, null, 12,
|
|
3380
|
+
}, null, 12, Cu)) : g("", !0)
|
|
3374
3381
|
], 64))), 128)) : (n(!0), i(b, { key: 1 }, _(e.area.split(";"), (a, r) => (n(), i(b, { key: r }, [
|
|
3375
3382
|
a ? (n(), i("path", {
|
|
3376
3383
|
key: 0,
|
|
3377
3384
|
d: `M${a}Z`,
|
|
3378
3385
|
fill: t.value.line.area.useGradient ? `url(#areaGradient_${u}_${Z.value})` : m(dt)(e.color, t.value.line.area.opacity),
|
|
3379
3386
|
style: L({ transition: m(be) || !t.value.line.showTransition ? void 0 : `all ${t.value.line.transitionDurationMs}ms ease-in-out` })
|
|
3380
|
-
}, null, 12,
|
|
3387
|
+
}, null, 12, Au)) : g("", !0),
|
|
3381
3388
|
l.$slots.pattern && a ? (n(), i("path", {
|
|
3382
3389
|
key: 1,
|
|
3383
3390
|
d: `M${a}Z`,
|
|
3384
3391
|
fill: `url(#pattern_${Z.value}_${e.slotAbsoluteIndex})`,
|
|
3385
3392
|
style: L({ transition: m(be) || !t.value.line.showTransition ? void 0 : `all ${t.value.line.transitionDurationMs}ms ease-in-out` })
|
|
3386
|
-
}, null, 12,
|
|
3393
|
+
}, null, 12, Tu)) : g("", !0)
|
|
3387
3394
|
], 64))), 128))
|
|
3388
3395
|
])) : g("", !0),
|
|
3389
3396
|
e.smooth && e.plots.length > 1 && e.curve ? (n(), i("path", {
|
|
@@ -3395,7 +3402,7 @@ const Fn = {
|
|
|
3395
3402
|
fill: "none",
|
|
3396
3403
|
"stroke-linecap": "round",
|
|
3397
3404
|
style: L({ transition: m(be) || !t.value.line.showTransition ? void 0 : `all ${t.value.line.transitionDurationMs}ms ease-in-out` })
|
|
3398
|
-
}, null, 12,
|
|
3405
|
+
}, null, 12, zu)) : e.plots.length > 1 && e.straight ? (n(), i("path", {
|
|
3399
3406
|
key: 2,
|
|
3400
3407
|
d: `M${e.straight}`,
|
|
3401
3408
|
stroke: e.color,
|
|
@@ -3405,7 +3412,7 @@ const Fn = {
|
|
|
3405
3412
|
"stroke-linecap": "round",
|
|
3406
3413
|
"stroke-linejoin": "round",
|
|
3407
3414
|
style: L({ transition: m(be) || !t.value.line.showTransition ? void 0 : `all ${t.value.line.transitionDurationMs}ms ease-in-out` })
|
|
3408
|
-
}, null, 12,
|
|
3415
|
+
}, null, 12, Iu)) : g("", !0),
|
|
3409
3416
|
(n(!0), i(b, null, _(e.plots, (a, r) => (n(), i(b, {
|
|
3410
3417
|
key: `circle_line_${u}_${r}`
|
|
3411
3418
|
}, [
|
|
@@ -3427,15 +3434,15 @@ const Fn = {
|
|
|
3427
3434
|
x: a.x - t.value.chart.comments.width / 2 + t.value.chart.comments.offsetX,
|
|
3428
3435
|
y: a.y + t.value.chart.comments.offsetY + 6
|
|
3429
3436
|
}, [
|
|
3430
|
-
S("div",
|
|
3437
|
+
S("div", Pu, [
|
|
3431
3438
|
le(l.$slots, "plot-comment", {
|
|
3432
3439
|
plot: { ...a, color: e.color, seriesIndex: u, datapointIndex: r }
|
|
3433
3440
|
}, void 0, !0)
|
|
3434
3441
|
])
|
|
3435
|
-
], 8,
|
|
3442
|
+
], 8, Nu)) : g("", !0)
|
|
3436
3443
|
], 64))), 128))
|
|
3437
3444
|
], 6))), 128)),
|
|
3438
|
-
(t.value.bar.labels.show || t.value.bar.serieName.show) && p.value.dataLabels.show ? (n(), i("g",
|
|
3445
|
+
(t.value.bar.labels.show || t.value.bar.serieName.show) && p.value.dataLabels.show ? (n(), i("g", Fu, [
|
|
3439
3446
|
(n(!0), i(b, null, _($t.value, (e, u) => (n(), i(b, {
|
|
3440
3447
|
key: `xLabel_bar_${e.id}`
|
|
3441
3448
|
}, [
|
|
@@ -3463,7 +3470,7 @@ const Fn = {
|
|
|
3463
3470
|
datapoint: a,
|
|
3464
3471
|
serie: e
|
|
3465
3472
|
}
|
|
3466
|
-
) : ""), 13,
|
|
3473
|
+
) : ""), 13, Ru)) : g("", !0),
|
|
3467
3474
|
a && t.value.bar.serieName.show ? (n(), i("text", {
|
|
3468
3475
|
key: 1,
|
|
3469
3476
|
x: p.value.useIndividualScale && p.value.isStacked ? a.x + de.value.line / 2 : a.x + Ht() * 1.1,
|
|
@@ -3476,11 +3483,11 @@ const Fn = {
|
|
|
3476
3483
|
}, xe(t.value.bar.serieName.useAbbreviation ? m(fn)({
|
|
3477
3484
|
source: e.name,
|
|
3478
3485
|
length: t.value.bar.serieName.abbreviationSize
|
|
3479
|
-
}) : e.name), 13,
|
|
3486
|
+
}) : e.name), 13, Ou)) : g("", !0)
|
|
3480
3487
|
], 64))), 128))
|
|
3481
3488
|
], 64))), 128))
|
|
3482
3489
|
])) : g("", !0),
|
|
3483
|
-
t.value.plot.labels.show && p.value.dataLabels.show ? (n(), i("g",
|
|
3490
|
+
t.value.plot.labels.show && p.value.dataLabels.show ? (n(), i("g", Vu, [
|
|
3484
3491
|
(n(!0), i(b, null, _(tt.value, (e, u) => (n(), i(b, {
|
|
3485
3492
|
key: `xLabel_plot_${e.id}`
|
|
3486
3493
|
}, [
|
|
@@ -3508,10 +3515,10 @@ const Fn = {
|
|
|
3508
3515
|
datapoint: a,
|
|
3509
3516
|
serie: e
|
|
3510
3517
|
}
|
|
3511
|
-
) : ""), 13,
|
|
3518
|
+
) : ""), 13, Bu)) : g("", !0)
|
|
3512
3519
|
], 64))), 128))
|
|
3513
3520
|
], 64))), 128))
|
|
3514
|
-
])) : (n(), i("g",
|
|
3521
|
+
])) : (n(), i("g", Eu, [
|
|
3515
3522
|
(n(!0), i(b, null, _(tt.value, (e, u) => (n(), i(b, {
|
|
3516
3523
|
key: `xLabel_plot_${e.id}`
|
|
3517
3524
|
}, [
|
|
@@ -3530,7 +3537,7 @@ const Fn = {
|
|
|
3530
3537
|
"stroke-linecap": "round",
|
|
3531
3538
|
"stroke-dasharray": "2",
|
|
3532
3539
|
stroke: e.color
|
|
3533
|
-
}, null, 8,
|
|
3540
|
+
}, null, 8, Yu)) : g("", !0)
|
|
3534
3541
|
], 64)) : (n(), i(b, { key: 0 }, [
|
|
3535
3542
|
a && r === 0 && e.useTag && e.useTag === "start" ? (n(), i("foreignObject", {
|
|
3536
3543
|
key: 0,
|
|
@@ -3552,8 +3559,8 @@ const Fn = {
|
|
|
3552
3559
|
serieName: e.name
|
|
3553
3560
|
}
|
|
3554
3561
|
)
|
|
3555
|
-
}, null, 12,
|
|
3556
|
-
], 12,
|
|
3562
|
+
}, null, 12, Du)
|
|
3563
|
+
], 12, Hu)) : g("", !0),
|
|
3557
3564
|
a && r === e.plots.length - 1 && e.useTag && e.useTag === "end" ? (n(), i("foreignObject", {
|
|
3558
3565
|
key: 1,
|
|
3559
3566
|
x: a.x - e.name.length * (T.value.plotLabels / 2),
|
|
@@ -3574,13 +3581,13 @@ const Fn = {
|
|
|
3574
3581
|
serieName: e.name
|
|
3575
3582
|
}
|
|
3576
3583
|
)
|
|
3577
|
-
}, null, 12,
|
|
3578
|
-
], 12,
|
|
3584
|
+
}, null, 12, Xu)
|
|
3585
|
+
], 12, Wu)) : g("", !0)
|
|
3579
3586
|
], 64))
|
|
3580
3587
|
], 64))), 128))
|
|
3581
3588
|
], 64))), 128))
|
|
3582
3589
|
])),
|
|
3583
|
-
t.value.line.labels.show && p.value.dataLabels.show ? (n(), i("g",
|
|
3590
|
+
t.value.line.labels.show && p.value.dataLabels.show ? (n(), i("g", Gu, [
|
|
3584
3591
|
(n(!0), i(b, null, _(Ne.value, (e, u) => (n(), i(b, {
|
|
3585
3592
|
key: `xLabel_line_${e.id}`
|
|
3586
3593
|
}, [
|
|
@@ -3608,10 +3615,10 @@ const Fn = {
|
|
|
3608
3615
|
datapoint: a,
|
|
3609
3616
|
serie: e
|
|
3610
3617
|
}
|
|
3611
|
-
) : ""), 13,
|
|
3618
|
+
) : ""), 13, Uu)) : g("", !0)
|
|
3612
3619
|
], 64))), 128))
|
|
3613
3620
|
], 64))), 128))
|
|
3614
|
-
])) : (n(), i("g",
|
|
3621
|
+
])) : (n(), i("g", qu, [
|
|
3615
3622
|
(n(!0), i(b, null, _(Ne.value, (e, u) => (n(), i(b, {
|
|
3616
3623
|
key: `xLabel_line_${e.id}`
|
|
3617
3624
|
}, [
|
|
@@ -3630,7 +3637,7 @@ const Fn = {
|
|
|
3630
3637
|
"stroke-linecap": "round",
|
|
3631
3638
|
"stroke-dasharray": "2",
|
|
3632
3639
|
stroke: e.color
|
|
3633
|
-
}, null, 8,
|
|
3640
|
+
}, null, 8, ju)) : g("", !0)
|
|
3634
3641
|
], 64)) : (n(), i(b, { key: 0 }, [
|
|
3635
3642
|
a && r === 0 && e.useTag && e.useTag === "start" ? (n(), i("foreignObject", {
|
|
3636
3643
|
key: 0,
|
|
@@ -3652,8 +3659,8 @@ const Fn = {
|
|
|
3652
3659
|
serieName: e.name
|
|
3653
3660
|
}
|
|
3654
3661
|
)
|
|
3655
|
-
}, null, 12,
|
|
3656
|
-
], 12,
|
|
3662
|
+
}, null, 12, Ku)
|
|
3663
|
+
], 12, Zu)) : g("", !0),
|
|
3657
3664
|
a && r === e.plots.length - 1 && e.useTag && e.useTag === "end" ? (n(), i("foreignObject", {
|
|
3658
3665
|
key: 1,
|
|
3659
3666
|
x: a.x,
|
|
@@ -3674,8 +3681,8 @@ const Fn = {
|
|
|
3674
3681
|
serieName: e.name
|
|
3675
3682
|
}
|
|
3676
3683
|
)
|
|
3677
|
-
}, null, 12,
|
|
3678
|
-
], 12,
|
|
3684
|
+
}, null, 12, Qu)
|
|
3685
|
+
], 12, Ju)) : g("", !0)
|
|
3679
3686
|
], 64))
|
|
3680
3687
|
], 64))), 128))
|
|
3681
3688
|
], 64))), 128))
|
|
@@ -3702,7 +3709,7 @@ const Fn = {
|
|
|
3702
3709
|
maxWords: 2
|
|
3703
3710
|
}),
|
|
3704
3711
|
style: L(`opacity:${E.value ? E.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
3705
|
-
}, null, 12,
|
|
3712
|
+
}, null, 12, es)) : g("", !0),
|
|
3706
3713
|
a && r === e.plots.length - 1 && e.showSerieName && e.showSerieName === "end" ? (n(), i("text", {
|
|
3707
3714
|
key: 1,
|
|
3708
3715
|
x: a.x + T.value.plotLabels,
|
|
@@ -3719,7 +3726,7 @@ const Fn = {
|
|
|
3719
3726
|
maxWords: 2
|
|
3720
3727
|
}),
|
|
3721
3728
|
style: L(`opacity:${E.value ? E.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
3722
|
-
}, null, 12,
|
|
3729
|
+
}, null, 12, ts)) : g("", !0)
|
|
3723
3730
|
], 64))), 128))
|
|
3724
3731
|
], 64))), 128)),
|
|
3725
3732
|
(n(!0), i(b, null, _(tt.value, (e, u) => (n(), i(b, {
|
|
@@ -3744,7 +3751,7 @@ const Fn = {
|
|
|
3744
3751
|
maxWords: 2
|
|
3745
3752
|
}),
|
|
3746
3753
|
style: L(`opacity:${E.value ? E.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
3747
|
-
}, null, 12,
|
|
3754
|
+
}, null, 12, ls)) : g("", !0),
|
|
3748
3755
|
a && r === e.plots.length - 1 && e.showSerieName && e.showSerieName === "end" ? (n(), i("text", {
|
|
3749
3756
|
key: 1,
|
|
3750
3757
|
x: a.x + T.value.plotLabels,
|
|
@@ -3761,13 +3768,13 @@ const Fn = {
|
|
|
3761
3768
|
maxWords: 2
|
|
3762
3769
|
}),
|
|
3763
3770
|
style: L(`opacity:${E.value ? E.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
3764
|
-
}, null, 12,
|
|
3771
|
+
}, null, 12, as)) : g("", !0)
|
|
3765
3772
|
], 64))), 128))
|
|
3766
3773
|
], 64))), 128)),
|
|
3767
3774
|
(n(!0), i(b, null, _([...tt.value, ...Ne.value, ...$t.value], (e, u) => (n(), i(b, {
|
|
3768
3775
|
key: `progression-${u}`
|
|
3769
3776
|
}, [
|
|
3770
|
-
Object.hasOwn(e, "useProgression") && e.useProgression === !0 && !isNaN(m(lt)(e.plots).trend) ? (n(), i("g",
|
|
3777
|
+
Object.hasOwn(e, "useProgression") && e.useProgression === !0 && !isNaN(m(lt)(e.plots).trend) ? (n(), i("g", os, [
|
|
3771
3778
|
S("defs", null, [
|
|
3772
3779
|
S("marker", {
|
|
3773
3780
|
id: `progression_arrow_${u}`,
|
|
@@ -3786,8 +3793,8 @@ const Fn = {
|
|
|
3786
3793
|
stroke: t.value.chart.backgroundColor,
|
|
3787
3794
|
"stroke-width": "1",
|
|
3788
3795
|
"stroke-linejoin": "round"
|
|
3789
|
-
}, null, 8,
|
|
3790
|
-
], 8,
|
|
3796
|
+
}, null, 8, is)
|
|
3797
|
+
], 8, ns)
|
|
3791
3798
|
]),
|
|
3792
3799
|
e.plots.length > 1 ? (n(), i("line", {
|
|
3793
3800
|
key: 0,
|
|
@@ -3801,7 +3808,7 @@ const Fn = {
|
|
|
3801
3808
|
"stroke-linecap": "round",
|
|
3802
3809
|
"stroke-linejoin": "round",
|
|
3803
3810
|
"marker-end": `url(#progression_arrow_${u})`
|
|
3804
|
-
}, null, 8,
|
|
3811
|
+
}, null, 8, us)) : g("", !0),
|
|
3805
3812
|
e.plots.length > 1 ? (n(), i("line", {
|
|
3806
3813
|
key: 1,
|
|
3807
3814
|
x1: m(lt)(e.plots).x1 + (e.type === "bar" ? Ht() : 0),
|
|
@@ -3814,7 +3821,7 @@ const Fn = {
|
|
|
3814
3821
|
"stroke-linecap": "round",
|
|
3815
3822
|
"stroke-linejoin": "round",
|
|
3816
3823
|
"marker-end": `url(#progression_arrow_${u})`
|
|
3817
|
-
}, null, 8,
|
|
3824
|
+
}, null, 8, ss)) : g("", !0),
|
|
3818
3825
|
e.plots.length > 1 ? (n(), i("text", {
|
|
3819
3826
|
key: 2,
|
|
3820
3827
|
"text-anchor": "middle",
|
|
@@ -3831,7 +3838,7 @@ const Fn = {
|
|
|
3831
3838
|
v: m(lt)(e.plots).trend * 100,
|
|
3832
3839
|
s: "%",
|
|
3833
3840
|
r: 2
|
|
3834
|
-
})), 9,
|
|
3841
|
+
})), 9, rs)) : g("", !0)
|
|
3835
3842
|
])) : g("", !0)
|
|
3836
3843
|
], 64))), 128)),
|
|
3837
3844
|
p.value.useIndividualScale && !p.value.isStacked ? (n(), i(b, { key: 13 }, [
|
|
@@ -3847,13 +3854,13 @@ const Fn = {
|
|
|
3847
3854
|
offset: "0%",
|
|
3848
3855
|
"stop-color": t.value.chart.backgroundColor,
|
|
3849
3856
|
"stop-opacity": "0"
|
|
3850
|
-
}, null, 8,
|
|
3857
|
+
}, null, 8, vs),
|
|
3851
3858
|
S("stop", {
|
|
3852
3859
|
offset: "100%",
|
|
3853
3860
|
"stop-color": e.color,
|
|
3854
3861
|
"stop-opacity": "0.2"
|
|
3855
|
-
}, null, 8,
|
|
3856
|
-
], 8,
|
|
3862
|
+
}, null, 8, ds)
|
|
3863
|
+
], 8, cs))), 256))
|
|
3857
3864
|
]),
|
|
3858
3865
|
(n(!0), i(b, null, _(Xl.value, (e, u) => (n(), i("rect", {
|
|
3859
3866
|
x: e.x - t.value.chart.grid.labels.yAxis.labelWidth + se.value - c.value.individualOffsetX,
|
|
@@ -3863,7 +3870,7 @@ const Fn = {
|
|
|
3863
3870
|
fill: E.value === e.groupId ? `url(#individual_scale_gradient_${Z.value}_${u})` : "transparent",
|
|
3864
3871
|
onMouseenter: (a) => E.value = e.groupId,
|
|
3865
3872
|
onMouseleave: s[0] || (s[0] = (a) => E.value = null)
|
|
3866
|
-
}, null, 40,
|
|
3873
|
+
}, null, 40, hs))), 256))
|
|
3867
3874
|
], 64)) : g("", !0),
|
|
3868
3875
|
S("g", null, [
|
|
3869
3876
|
t.value.chart.grid.labels.axis.yLabel && !p.value.useIndividualScale ? (n(), i("text", {
|
|
@@ -3875,7 +3882,7 @@ const Fn = {
|
|
|
3875
3882
|
transform: `translate(${t.value.chart.grid.labels.axis.fontSize}, ${c.value.top + c.value.height / 2}) rotate(-90)`,
|
|
3876
3883
|
"text-anchor": "middle",
|
|
3877
3884
|
style: { transition: "none" }
|
|
3878
|
-
}, xe(t.value.chart.grid.labels.axis.yLabel), 9,
|
|
3885
|
+
}, xe(t.value.chart.grid.labels.axis.yLabel), 9, fs)) : g("", !0),
|
|
3879
3886
|
t.value.chart.grid.labels.axis.xLabel ? (n(), i("text", {
|
|
3880
3887
|
key: 1,
|
|
3881
3888
|
ref_key: "xAxisLabel",
|
|
@@ -3885,7 +3892,7 @@ const Fn = {
|
|
|
3885
3892
|
y: W.value - 3,
|
|
3886
3893
|
"font-size": T.value.yAxis,
|
|
3887
3894
|
fill: t.value.chart.grid.labels.color
|
|
3888
|
-
}, xe(t.value.chart.grid.labels.axis.xLabel), 9,
|
|
3895
|
+
}, xe(t.value.chart.grid.labels.axis.xLabel), 9, ms)) : g("", !0)
|
|
3889
3896
|
]),
|
|
3890
3897
|
t.value.chart.grid.labels.xAxisLabels.show ? (n(), i("g", {
|
|
3891
3898
|
key: 14,
|
|
@@ -3928,7 +3935,7 @@ const Fn = {
|
|
|
3928
3935
|
y: 0
|
|
3929
3936
|
}),
|
|
3930
3937
|
onClick: () => ne(e, u)
|
|
3931
|
-
}, null, 12,
|
|
3938
|
+
}, null, 12, xs)) : (n(), i("text", {
|
|
3932
3939
|
key: 0,
|
|
3933
3940
|
class: "vue-data-ui-time-label",
|
|
3934
3941
|
"text-anchor": t.value.chart.grid.labels.xAxisLabels.rotation > 0 ? "start" : t.value.chart.grid.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
|
|
@@ -3939,11 +3946,11 @@ const Fn = {
|
|
|
3939
3946
|
cursor: Hl() ? "pointer" : "default"
|
|
3940
3947
|
}),
|
|
3941
3948
|
onClick: () => ne(e, u)
|
|
3942
|
-
}, xe(e.text || ""), 13,
|
|
3949
|
+
}, xe(e.text || ""), 13, gs))
|
|
3943
3950
|
], 64)) : g("", !0)
|
|
3944
3951
|
]))), 128))
|
|
3945
3952
|
], 512)) : g("", !0),
|
|
3946
|
-
Ka.value.length && !p.value.isStacked ? (n(), i("g",
|
|
3953
|
+
Ka.value.length && !p.value.isStacked ? (n(), i("g", bs, [
|
|
3947
3954
|
(n(!0), i(b, null, _(Ka.value, (e) => (n(), i("g", {
|
|
3948
3955
|
key: e.uid
|
|
3949
3956
|
}, [
|
|
@@ -3958,7 +3965,7 @@ const Fn = {
|
|
|
3958
3965
|
"stroke-dasharray": e.config.line.strokeDasharray,
|
|
3959
3966
|
"stroke-linecap": "round",
|
|
3960
3967
|
style: { animation: "none !important" }
|
|
3961
|
-
}, null, 8,
|
|
3968
|
+
}, null, 8, ys)) : g("", !0),
|
|
3962
3969
|
e.yBottom && e.show && isFinite(e.yBottom) ? (n(), i("line", {
|
|
3963
3970
|
key: 1,
|
|
3964
3971
|
x1: e.x1,
|
|
@@ -3970,7 +3977,7 @@ const Fn = {
|
|
|
3970
3977
|
"stroke-dasharray": e.config.line.strokeDasharray,
|
|
3971
3978
|
"stroke-linecap": "round",
|
|
3972
3979
|
style: { animation: "none !important" }
|
|
3973
|
-
}, null, 8,
|
|
3980
|
+
}, null, 8, ps)) : g("", !0),
|
|
3974
3981
|
e.hasArea && e.show && isFinite(e.yTop) && isFinite(e.yBottom) ? (n(), i("rect", {
|
|
3975
3982
|
key: 2,
|
|
3976
3983
|
y: Math.min(e.yTop, e.yBottom),
|
|
@@ -3979,7 +3986,7 @@ const Fn = {
|
|
|
3979
3986
|
height: m(q)(e.areaHeight, 0),
|
|
3980
3987
|
fill: m(dt)(e.config.area.fill, e.config.area.opacity),
|
|
3981
3988
|
style: { animation: "none !important" }
|
|
3982
|
-
}, null, 8,
|
|
3989
|
+
}, null, 8, ks)) : g("", !0),
|
|
3983
3990
|
e.config.label.text && e.show && isFinite(e._box.y) ? (n(), i("rect", Ut({
|
|
3984
3991
|
key: 3,
|
|
3985
3992
|
class: "vue-ui-xy-annotation-label-box"
|
|
@@ -3993,12 +4000,12 @@ const Fn = {
|
|
|
3993
4000
|
"font-size": e.config.label.fontSize,
|
|
3994
4001
|
fill: e.config.label.color,
|
|
3995
4002
|
"text-anchor": e.config.label.textAnchor
|
|
3996
|
-
}, xe(e.config.label.text), 9,
|
|
4003
|
+
}, xe(e.config.label.text), 9, ws)) : g("", !0)
|
|
3997
4004
|
]))), 128))
|
|
3998
4005
|
])) : g("", !0),
|
|
3999
|
-
t.value.chart.timeTag.show && (![null, void 0].includes(M.value) || ![null, void 0].includes(X.value)) ? (n(), i("g",
|
|
4006
|
+
t.value.chart.timeTag.show && (![null, void 0].includes(M.value) || ![null, void 0].includes(X.value)) ? (n(), i("g", Ss, [
|
|
4000
4007
|
(n(), i("foreignObject", {
|
|
4001
|
-
x:
|
|
4008
|
+
x: Xo(),
|
|
4002
4009
|
y: c.value.bottom,
|
|
4003
4010
|
width: "200",
|
|
4004
4011
|
height: "40",
|
|
@@ -4009,25 +4016,25 @@ const Fn = {
|
|
|
4009
4016
|
ref: so,
|
|
4010
4017
|
class: "vue-ui-xy-time-tag",
|
|
4011
4018
|
style: L(`width: fit-content;margin: 0 auto;text-align:center;padding:3px 12px;background:${t.value.chart.timeTag.backgroundColor};color:${t.value.chart.timeTag.color};font-size:${t.value.chart.timeTag.fontSize}px`),
|
|
4012
|
-
innerHTML:
|
|
4013
|
-
}, null, 12,
|
|
4014
|
-
], 8,
|
|
4019
|
+
innerHTML: Yo.value
|
|
4020
|
+
}, null, 12, Ms)
|
|
4021
|
+
], 8, $s)),
|
|
4015
4022
|
S("circle", {
|
|
4016
4023
|
cx: c.value.left + c.value.width / I.value * ((M.value !== null ? M.value : 0) || (X.value !== null ? X.value : 0)) + c.value.width / I.value / 2,
|
|
4017
4024
|
cy: c.value.bottom,
|
|
4018
4025
|
r: t.value.chart.timeTag.circleMarker.radius,
|
|
4019
4026
|
fill: t.value.chart.timeTag.circleMarker.color
|
|
4020
|
-
}, null, 8,
|
|
4027
|
+
}, null, 8, _s)
|
|
4021
4028
|
])) : g("", !0)
|
|
4022
4029
|
])) : g("", !0),
|
|
4023
4030
|
Ol.value ? (n(), i("rect", Ut({ key: 2 }, _a.value, {
|
|
4024
4031
|
"data-start": k.value.start,
|
|
4025
4032
|
"data-end": k.value.end
|
|
4026
|
-
}), null, 16,
|
|
4033
|
+
}), null, 16, Ls)) : g("", !0),
|
|
4027
4034
|
le(l.$slots, "svg", { svg: bt.value }, void 0, !0)
|
|
4028
4035
|
], 512)
|
|
4029
|
-
], 46,
|
|
4030
|
-
l.$slots.watermark ? (n(), i("div",
|
|
4036
|
+
], 46, Mi)),
|
|
4037
|
+
l.$slots.watermark ? (n(), i("div", Cs, [
|
|
4031
4038
|
le(l.$slots, "watermark", Gt(hl({ isPrinting: m(et) || m(it) })), void 0, !0)
|
|
4032
4039
|
])) : g("", !0),
|
|
4033
4040
|
(n(!0), i(b, null, _(Ne.value, (e, u) => (n(), i(b, {
|
|
@@ -4067,12 +4074,12 @@ const Fn = {
|
|
|
4067
4074
|
opacity: 1
|
|
4068
4075
|
})
|
|
4069
4076
|
}, [
|
|
4070
|
-
(n(), i("svg",
|
|
4077
|
+
(n(), i("svg", As, [
|
|
4071
4078
|
S("path", {
|
|
4072
4079
|
d: "M 0,10 10,0 10,20 Z",
|
|
4073
4080
|
fill: e.color,
|
|
4074
4081
|
stroke: "none"
|
|
4075
|
-
}, null, 8,
|
|
4082
|
+
}, null, 8, Ts)
|
|
4076
4083
|
])),
|
|
4077
4084
|
S("div", {
|
|
4078
4085
|
class: "vue-ui-xy-tag-content",
|
|
@@ -4086,7 +4093,7 @@ const Fn = {
|
|
|
4086
4093
|
serieName: e.name
|
|
4087
4094
|
}
|
|
4088
4095
|
)
|
|
4089
|
-
}, null, 8,
|
|
4096
|
+
}, null, 8, zs)
|
|
4090
4097
|
], 4)) : g("", !0),
|
|
4091
4098
|
[X.value, M.value, oe.value].includes(r) && e.useTag && e.useTag === "start" && t.value.line.tag.followValue ? (n(), i("div", {
|
|
4092
4099
|
key: 1,
|
|
@@ -4119,12 +4126,12 @@ const Fn = {
|
|
|
4119
4126
|
opacity: 1
|
|
4120
4127
|
})
|
|
4121
4128
|
}, [
|
|
4122
|
-
(n(), i("svg",
|
|
4129
|
+
(n(), i("svg", Is, [
|
|
4123
4130
|
S("path", {
|
|
4124
4131
|
d: "M 0,0 10,10 0,20 Z",
|
|
4125
4132
|
fill: e.color,
|
|
4126
4133
|
stroke: "none"
|
|
4127
|
-
}, null, 8,
|
|
4134
|
+
}, null, 8, Ns)
|
|
4128
4135
|
])),
|
|
4129
4136
|
S("div", {
|
|
4130
4137
|
class: "vue-ui-xy-tag-content",
|
|
@@ -4138,7 +4145,7 @@ const Fn = {
|
|
|
4138
4145
|
serieName: e.name
|
|
4139
4146
|
}
|
|
4140
4147
|
)
|
|
4141
|
-
}, null, 8,
|
|
4148
|
+
}, null, 8, Ps)
|
|
4142
4149
|
], 4)) : g("", !0)
|
|
4143
4150
|
], 64))), 128))
|
|
4144
4151
|
], 64))), 128)),
|
|
@@ -4179,12 +4186,12 @@ const Fn = {
|
|
|
4179
4186
|
opacity: 1
|
|
4180
4187
|
})
|
|
4181
4188
|
}, [
|
|
4182
|
-
(n(), i("svg",
|
|
4189
|
+
(n(), i("svg", Fs, [
|
|
4183
4190
|
S("path", {
|
|
4184
4191
|
d: "M 0,10 10,0 10,20 Z",
|
|
4185
4192
|
fill: e.color,
|
|
4186
4193
|
stroke: "none"
|
|
4187
|
-
}, null, 8,
|
|
4194
|
+
}, null, 8, Rs)
|
|
4188
4195
|
])),
|
|
4189
4196
|
S("div", {
|
|
4190
4197
|
class: "vue-ui-xy-tag-content",
|
|
@@ -4198,7 +4205,7 @@ const Fn = {
|
|
|
4198
4205
|
serieName: e.name
|
|
4199
4206
|
}
|
|
4200
4207
|
)
|
|
4201
|
-
}, null, 8,
|
|
4208
|
+
}, null, 8, Os)
|
|
4202
4209
|
], 4)) : g("", !0),
|
|
4203
4210
|
[X.value, M.value, oe.value].includes(r) && e.useTag && e.useTag === "start" && t.value.plot.tag.followValue ? (n(), i("div", {
|
|
4204
4211
|
key: 1,
|
|
@@ -4231,12 +4238,12 @@ const Fn = {
|
|
|
4231
4238
|
opacity: 1
|
|
4232
4239
|
})
|
|
4233
4240
|
}, [
|
|
4234
|
-
(n(), i("svg",
|
|
4241
|
+
(n(), i("svg", Vs, [
|
|
4235
4242
|
S("path", {
|
|
4236
4243
|
d: "M 0,0 10,10 0,20 Z",
|
|
4237
4244
|
fill: e.color,
|
|
4238
4245
|
stroke: "none"
|
|
4239
|
-
}, null, 8,
|
|
4246
|
+
}, null, 8, Bs)
|
|
4240
4247
|
])),
|
|
4241
4248
|
S("div", {
|
|
4242
4249
|
class: "vue-ui-xy-tag-content",
|
|
@@ -4250,11 +4257,11 @@ const Fn = {
|
|
|
4250
4257
|
serieName: e.name
|
|
4251
4258
|
}
|
|
4252
4259
|
)
|
|
4253
|
-
}, null, 8,
|
|
4260
|
+
}, null, 8, Es)
|
|
4254
4261
|
], 4)) : g("", !0)
|
|
4255
4262
|
], 64))), 128))
|
|
4256
4263
|
], 64))), 128)),
|
|
4257
|
-
t.value.chart.zoom.show && je.value > 6 && At.value && Dl.value ? (n(), vt(
|
|
4264
|
+
t.value.chart.zoom.show && je.value > 6 && At.value && Dl.value ? (n(), vt(wi, {
|
|
4258
4265
|
key: 5,
|
|
4259
4266
|
ref_key: "chartSlicer",
|
|
4260
4267
|
ref: Je,
|
|
@@ -4280,7 +4287,7 @@ const Fn = {
|
|
|
4280
4287
|
inputColor: t.value.chart.zoom.color,
|
|
4281
4288
|
selectColor: t.value.chart.zoom.highlightColor,
|
|
4282
4289
|
borderColor: t.value.chart.backgroundColor,
|
|
4283
|
-
minimap:
|
|
4290
|
+
minimap: Bo.value,
|
|
4284
4291
|
smoothMinimap: t.value.chart.zoom.minimap.smooth,
|
|
4285
4292
|
minimapSelectedColor: t.value.chart.zoom.minimap.selectedColor,
|
|
4286
4293
|
minimapSelectionRadius: t.value.chart.zoom.minimap.selectionRadius,
|
|
@@ -4294,13 +4301,13 @@ const Fn = {
|
|
|
4294
4301
|
enableRangeHandles: t.value.chart.zoom.enableRangeHandles,
|
|
4295
4302
|
enableSelectionDrag: t.value.chart.zoom.enableSelectionDrag,
|
|
4296
4303
|
minimapCompact: t.value.chart.zoom.minimap.compact,
|
|
4297
|
-
allMinimaps:
|
|
4304
|
+
allMinimaps: Eo.value,
|
|
4298
4305
|
minimapMerged: t.value.chart.zoom.minimap.merged,
|
|
4299
4306
|
minimapFrameColor: t.value.chart.zoom.minimap.frameColor,
|
|
4300
4307
|
cutNullValues: t.value.line.cutNullValues,
|
|
4301
4308
|
focusOnDrag: t.value.chart.zoom.focusOnDrag,
|
|
4302
4309
|
focusRangeRatio: t.value.chart.zoom.focusRangeRatio,
|
|
4303
|
-
onReset:
|
|
4310
|
+
onReset: Ao,
|
|
4304
4311
|
onTrapMouse: wt,
|
|
4305
4312
|
onFutureStart: s[1] || (s[1] = (e) => Vl("start", e)),
|
|
4306
4313
|
onFutureEnd: s[2] || (s[2] = (e) => Vl("end", e)),
|
|
@@ -4314,7 +4321,7 @@ const Fn = {
|
|
|
4314
4321
|
}, 8, ["immediate", "max", "valueStart", "valueEnd", "start", "end", "selectedSeries", "customFormat", "background", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "usePreciseLabels", "preciseLabels", "inputColor", "selectColor", "borderColor", "minimap", "smoothMinimap", "minimapSelectedColor", "minimapSelectionRadius", "minimapLineColor", "minimapSelectedColorOpacity", "minimapSelectedIndex", "minimapIndicatorColor", "verticalHandles", "refreshStartPoint", "refreshEndPoint", "enableRangeHandles", "enableSelectionDrag", "minimapCompact", "allMinimaps", "minimapMerged", "minimapFrameColor", "cutNullValues", "focusOnDrag", "focusRangeRatio", "timeLabels", "isPreview"])) : g("", !0),
|
|
4315
4322
|
S("div", {
|
|
4316
4323
|
id: `legend-bottom-${Z.value}`
|
|
4317
|
-
}, null, 8,
|
|
4324
|
+
}, null, 8, Hs),
|
|
4318
4325
|
H.value ? (n(), vt(an, {
|
|
4319
4326
|
key: 6,
|
|
4320
4327
|
to: t.value.chart.legend.position === "top" ? `#legend-top-${Z.value}` : `#legend-bottom-${Z.value}`
|
|
@@ -4333,7 +4340,7 @@ const Fn = {
|
|
|
4333
4340
|
onClick: (a) => Ga(e),
|
|
4334
4341
|
class: Ke({ "vue-ui-xy-legend-item-alone": Ge.value.length === 1, "vue-ui-xy-legend-item": !0, "vue-ui-xy-legend-item-segregated": ve.value.includes(e.id) })
|
|
4335
4342
|
}, [
|
|
4336
|
-
jt.value[e.type] === "line" ? (n(), i("svg",
|
|
4343
|
+
jt.value[e.type] === "line" ? (n(), i("svg", Ws, [
|
|
4337
4344
|
S("rect", {
|
|
4338
4345
|
x: "0",
|
|
4339
4346
|
y: "7.5",
|
|
@@ -4343,7 +4350,7 @@ const Fn = {
|
|
|
4343
4350
|
height: "3",
|
|
4344
4351
|
width: "20",
|
|
4345
4352
|
fill: e.color
|
|
4346
|
-
}, null, 8,
|
|
4353
|
+
}, null, 8, Xs),
|
|
4347
4354
|
gl(ma, {
|
|
4348
4355
|
plot: { x: 10, y: 9 },
|
|
4349
4356
|
radius: 4,
|
|
@@ -4352,7 +4359,7 @@ const Fn = {
|
|
|
4352
4359
|
stroke: t.value.chart.backgroundColor,
|
|
4353
4360
|
strokeWidth: 0.5
|
|
4354
4361
|
}, null, 8, ["color", "shape", "stroke"])
|
|
4355
|
-
])) : jt.value[e.type] === "bar" ? (n(), i("svg",
|
|
4362
|
+
])) : jt.value[e.type] === "bar" ? (n(), i("svg", Ys, [
|
|
4356
4363
|
jt.value[e.type] === "bar" && l.$slots.pattern ? (n(), i("rect", {
|
|
4357
4364
|
key: 0,
|
|
4358
4365
|
x: "4",
|
|
@@ -4362,7 +4369,7 @@ const Fn = {
|
|
|
4362
4369
|
width: "32",
|
|
4363
4370
|
stroke: "none",
|
|
4364
4371
|
fill: e.color
|
|
4365
|
-
}, null, 8,
|
|
4372
|
+
}, null, 8, Gs)) : g("", !0),
|
|
4366
4373
|
jt.value[e.type] === "bar" ? (n(), i("rect", {
|
|
4367
4374
|
key: 1,
|
|
4368
4375
|
x: "4",
|
|
@@ -4372,8 +4379,8 @@ const Fn = {
|
|
|
4372
4379
|
width: "32",
|
|
4373
4380
|
stroke: "none",
|
|
4374
4381
|
fill: l.$slots.pattern ? `url(#pattern_${Z.value}_${e.slotAbsoluteIndex})` : e.color
|
|
4375
|
-
}, null, 8,
|
|
4376
|
-
])) : (n(), i("svg",
|
|
4382
|
+
}, null, 8, Us)) : g("", !0)
|
|
4383
|
+
])) : (n(), i("svg", qs, [
|
|
4377
4384
|
gl(ma, {
|
|
4378
4385
|
plot: { x: 6, y: 6 },
|
|
4379
4386
|
radius: 5,
|
|
@@ -4384,7 +4391,7 @@ const Fn = {
|
|
|
4384
4391
|
S("span", {
|
|
4385
4392
|
style: L(`color:${t.value.chart.legend.color}`)
|
|
4386
4393
|
}, xe(e.name), 5)
|
|
4387
|
-
], 10,
|
|
4394
|
+
], 10, Ds))), 128))
|
|
4388
4395
|
], 4)) : (n(), i("div", {
|
|
4389
4396
|
key: 1,
|
|
4390
4397
|
ref_key: "chartLegend",
|
|
@@ -4413,7 +4420,7 @@ const Fn = {
|
|
|
4413
4420
|
position: t.value.chart.tooltip.position,
|
|
4414
4421
|
offsetY: t.value.chart.tooltip.offsetY,
|
|
4415
4422
|
parent: l.$refs.chart,
|
|
4416
|
-
content:
|
|
4423
|
+
content: Ho.value,
|
|
4417
4424
|
isFullscreen: Re.value,
|
|
4418
4425
|
isCustom: t.value.chart.tooltip.customFormat && typeof t.value.chart.tooltip.customFormat == "function",
|
|
4419
4426
|
smooth: t.value.chart.tooltip.smooth,
|
|
@@ -4433,12 +4440,12 @@ const Fn = {
|
|
|
4433
4440
|
ref_key: "tableUnit",
|
|
4434
4441
|
ref: Qe,
|
|
4435
4442
|
onClose: vo
|
|
4436
|
-
}),
|
|
4443
|
+
}), bo({
|
|
4437
4444
|
content: Me(() => [
|
|
4438
4445
|
S("div", {
|
|
4439
4446
|
style: L(`${m(et) || t.value.table.useDialog ? "" : "max-height:400px"};${t.value.table.useDialog ? "height: fit-content; " : ""};overflow:auto;width:100%;${t.value.table.useDialog ? "" : "margin-top:48px"}`)
|
|
4440
4447
|
}, [
|
|
4441
|
-
S("div",
|
|
4448
|
+
S("div", Zs, [
|
|
4442
4449
|
Oa(S("input", {
|
|
4443
4450
|
type: "checkbox",
|
|
4444
4451
|
"onUpdate:modelValue": s[4] || (s[4] = (e) => De.value = e)
|
|
@@ -4458,8 +4465,8 @@ const Fn = {
|
|
|
4458
4465
|
]),
|
|
4459
4466
|
De.value ? (n(), vt(m(Ll), {
|
|
4460
4467
|
key: `sparkline_${xt.value}`,
|
|
4461
|
-
dataset:
|
|
4462
|
-
config:
|
|
4468
|
+
dataset: Ro.value,
|
|
4469
|
+
config: Oo.value
|
|
4463
4470
|
}, null, 8, ["dataset", "config"])) : (n(), vt(m(Fe), {
|
|
4464
4471
|
key: `table_${Il.value}`,
|
|
4465
4472
|
colNames: ca.value.colNames,
|
|
@@ -4471,10 +4478,10 @@ const Fn = {
|
|
|
4471
4478
|
onClose: vo
|
|
4472
4479
|
}, {
|
|
4473
4480
|
th: Me(({ th: e }) => [
|
|
4474
|
-
S("div", { innerHTML: e }, null, 8,
|
|
4481
|
+
S("div", { innerHTML: e }, null, 8, Ks)
|
|
4475
4482
|
]),
|
|
4476
4483
|
td: Me(({ td: e }) => [
|
|
4477
|
-
|
|
4484
|
+
yo(xe(isNaN(Number(e)) ? e : m(_t)({
|
|
4478
4485
|
p: t.value.chart.labels.prefix,
|
|
4479
4486
|
v: e,
|
|
4480
4487
|
s: t.value.chart.labels.suffix,
|
|
@@ -4490,7 +4497,7 @@ const Fn = {
|
|
|
4490
4497
|
t.value.table.useDialog ? {
|
|
4491
4498
|
name: "title",
|
|
4492
4499
|
fn: Me(() => [
|
|
4493
|
-
|
|
4500
|
+
yo(xe(Yl.value.title), 1)
|
|
4494
4501
|
]),
|
|
4495
4502
|
key: "0"
|
|
4496
4503
|
} : void 0,
|
|
@@ -4512,9 +4519,9 @@ const Fn = {
|
|
|
4512
4519
|
} : void 0
|
|
4513
4520
|
]), 1040)) : g("", !0),
|
|
4514
4521
|
m(be) ? (n(), vt($n, { key: 9 })) : g("", !0)
|
|
4515
|
-
], 46,
|
|
4522
|
+
], 46, Si));
|
|
4516
4523
|
}
|
|
4517
|
-
},
|
|
4524
|
+
}, fr = /* @__PURE__ */ Co(Js, [["__scopeId", "data-v-46569f1e"]]);
|
|
4518
4525
|
export {
|
|
4519
|
-
|
|
4526
|
+
fr as default
|
|
4520
4527
|
};
|