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