vue-data-ui 3.0.23 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Arrow-B1Op9F3x.js → Arrow-DvG07exK.js} +1 -1
- package/dist/{BaseDraggableDialog-B4OaMIom.js → BaseDraggableDialog-O7900pGp.js} +72 -59
- package/dist/{BaseIcon-CgUOIGjr.js → BaseIcon-DHtro8us.js} +1 -1
- package/dist/{useLoading-D7YHNtLX.js → BaseScanner-BgWxam9d.js} +11 -11
- package/dist/{ColorPicker-C0nf8VH0.js → ColorPicker-CpWzNn4r.js} +2 -2
- package/dist/DataTable-DJjA2_wf.js +140 -0
- package/dist/{Legend-CyYXMSsW.js → Legend-2-dC7DVb.js} +2 -2
- package/dist/{NonSvgPenAndPaper-D63qeScu.js → NonSvgPenAndPaper-DHeE4Yuv.js} +3 -3
- package/dist/{PackageVersion-B6M-3jRt.js → PackageVersion-DU12WH3O.js} +1 -1
- package/dist/{PenAndPaper-zym5uEeN.js → PenAndPaper-B7QEDgx4.js} +3 -3
- package/dist/{Shape-CYVs2kYz.js → Shape-Dj2Hl33H.js} +1 -1
- package/dist/{Slicer-BTIFUO4x.js → Slicer-D99HytqX.js} +2 -2
- package/dist/{SparkTooltip-CNz7AYUL.js → SparkTooltip-B-wL07rI.js} +1 -1
- package/dist/{Title-D_e0SFWS.js → Title-Dq2_Z9kR.js} +1 -1
- package/dist/{Tooltip-DjVoFYj1.js → Tooltip-Y219DXZO.js} +1 -1
- package/dist/{UserOptions-z0NWZ7aQ.js → UserOptions-BuGfCdAY.js} +2 -2
- package/dist/{dom-to-png-DD0au3Qz.js → dom-to-png-BhciAKaM.js} +1 -1
- package/dist/{img-z5p1gGfY.js → img-JOqdlnUs.js} +1 -1
- package/dist/{index-BEuUtONc.js → index-CDQbCd41.js} +37 -2
- package/dist/{pdf-BmUjVBni.js → pdf-Dd-LIJqz.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +35 -0
- package/dist/types/vue-data-ui.d.ts +35 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-CchB8S-o.js → useAutoSizeLabelsInsideViewbox-Bky5KGFZ.js} +1 -1
- package/dist/{useNestedProp-DhLFhguL.js → useNestedProp-BPEHGiYX.js} +1 -1
- package/dist/{usePrinter-DiB0_UNt.js → usePrinter-Bnl1YeUU.js} +2 -2
- package/dist/{vue-data-ui-DJIAas-7.js → vue-data-ui-DcNYz3cZ.js} +64 -64
- package/dist/vue-data-ui.js +1 -1
- package/dist/vue-ui-3d-bar-BNIFAeN-.js +1369 -0
- package/dist/{vue-ui-accordion-B4YfUjZ5.js → vue-ui-accordion-Bf_LHFFX.js} +3 -3
- package/dist/{vue-ui-age-pyramid-CkXXNN79.js → vue-ui-age-pyramid-Bz-l1afR.js} +333 -286
- package/dist/{vue-ui-annotator-DnSsIkvU.js → vue-ui-annotator-BcfRH2BF.js} +2 -2
- package/dist/{vue-ui-bullet-kZkBsWPY.js → vue-ui-bullet-DK1aM9fX.js} +8 -8
- package/dist/{vue-ui-candlestick-CIn0xZm0.js → vue-ui-candlestick-D6mMjvtu.js} +453 -406
- package/dist/{vue-ui-carousel-table-f1FDOAqH.js → vue-ui-carousel-table-Vp5f238W.js} +4 -4
- package/dist/{vue-ui-chestnut-B-jSj7FT.js → vue-ui-chestnut-BKc4v-lf.js} +509 -459
- package/dist/vue-ui-chord-CquhRjf0.js +1100 -0
- package/dist/vue-ui-circle-pack-D6zLgxa3.js +755 -0
- package/dist/{vue-ui-cursor-DdBrui6i.js → vue-ui-cursor-DIXb2S93.js} +2 -2
- package/dist/{vue-ui-dashboard-DSUfW7mI.js → vue-ui-dashboard-DmiriAK7.js} +62 -62
- package/dist/{vue-ui-digits-Cb3Wq5WR.js → vue-ui-digits-CLAIo9gW.js} +2 -2
- package/dist/{vue-ui-donut-BCZqlAO3.js → vue-ui-donut-C8h_tCSO.js} +477 -431
- package/dist/{vue-ui-donut-evolution-HmQBq9VP.js → vue-ui-donut-evolution-C3r0YhKz.js} +482 -435
- package/dist/{vue-ui-dumbbell-B5w2oqNO.js → vue-ui-dumbbell-D-t4M00E.js} +443 -398
- package/dist/vue-ui-flow-D7_D_UNm.js +900 -0
- package/dist/vue-ui-funnel-B0QOfZRz.js +666 -0
- package/dist/vue-ui-galaxy-Ccw5uNes.js +744 -0
- package/dist/{vue-ui-gauge-C_KLPWk2.js → vue-ui-gauge-DvW7nFmK.js} +8 -8
- package/dist/{vue-ui-gizmo-CsPX25Ti.js → vue-ui-gizmo-WGQxvGPy.js} +4 -4
- package/dist/vue-ui-heatmap-BQkLujyp.js +1127 -0
- package/dist/{vue-ui-history-plot-DgpYiaUD.js → vue-ui-history-plot-eU33r_Ot.js} +408 -361
- package/dist/{vue-ui-kpi-DOgibU7W.js → vue-ui-kpi-CKg2i71M.js} +3 -3
- package/dist/{vue-ui-mini-loader-BjsQAxDx.js → vue-ui-mini-loader-BmkGQsm_.js} +2 -2
- package/dist/vue-ui-molecule-Dlu0hjSg.js +702 -0
- package/dist/{vue-ui-mood-radar-DMwVl3wz.js → vue-ui-mood-radar-DQaxfw9R.js} +342 -291
- package/dist/{vue-ui-nested-donuts-H0GzIAF0.js → vue-ui-nested-donuts-Djj9Aw_i.js} +548 -502
- package/dist/{vue-ui-onion-A6nKcus1.js → vue-ui-onion-ZgsErXis.js} +363 -317
- package/dist/vue-ui-parallel-coordinate-plot-B5fB22Jc.js +979 -0
- package/dist/vue-ui-quadrant-CMevCtXH.js +1483 -0
- package/dist/{vue-ui-quick-chart-mwXE3w_o.js → vue-ui-quick-chart-DcparKSX.js} +7 -7
- package/dist/vue-ui-radar-DFbxoKCK.js +858 -0
- package/dist/{vue-ui-rating-CleNHFo5.js → vue-ui-rating-ZUpxCWrk.js} +2 -2
- package/dist/{vue-ui-relation-circle-CMCH7Ia6.js → vue-ui-relation-circle-eNKJY4Sx.js} +8 -8
- package/dist/vue-ui-ridgeline-D4shpQZd.js +1204 -0
- package/dist/vue-ui-rings-TdTHMbsa.js +785 -0
- package/dist/{vue-ui-scatter-kv28dsT3.js → vue-ui-scatter-CVuV9ljU.js} +594 -548
- package/dist/{vue-ui-skeleton-DCNOYh9x.js → vue-ui-skeleton-CFxBU2-p.js} +3 -3
- package/dist/{vue-ui-smiley-DcS0CM-z.js → vue-ui-smiley-Har3B3aQ.js} +2 -2
- package/dist/{vue-ui-spark-trend-LHgReXth.js → vue-ui-spark-trend-FPk-XEwI.js} +4 -4
- package/dist/{vue-ui-sparkbar-Da315uRq.js → vue-ui-sparkbar-V3eJ0w0t.js} +4 -4
- package/dist/{vue-ui-sparkgauge-BeAkjGap.js → vue-ui-sparkgauge-DKTGkWnJ.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-Cy19W3y1.js → vue-ui-sparkhistogram-DJsgFwHs.js} +5 -5
- package/dist/{vue-ui-sparkline-IjlQWgs3.js → vue-ui-sparkline-Dmrm5SL5.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-CoFgOa3r.js → vue-ui-sparkstackbar-B0Pl7VMI.js} +4 -4
- package/dist/{vue-ui-stackbar-fbCs4sHF.js → vue-ui-stackbar-CNsgBPhj.js} +525 -479
- package/dist/{vue-ui-strip-plot-Cm8Zr6RE.js → vue-ui-strip-plot-CYAWwYOM.js} +390 -343
- package/dist/{vue-ui-table-q7jWgS26.js → vue-ui-table-Dn6H98rP.js} +3 -3
- package/dist/{vue-ui-table-heatmap-CsK9gR1G.js → vue-ui-table-heatmap-COI9LRqC.js} +5 -5
- package/dist/{vue-ui-table-sparkline-CXTPucPr.js → vue-ui-table-sparkline-B7Gg5FfJ.js} +4 -4
- package/dist/{vue-ui-thermometer-BFxdNgrd.js → vue-ui-thermometer-Bgynq5El.js} +8 -8
- package/dist/{vue-ui-timer-BsoeDFjK.js → vue-ui-timer-CXng51v5.js} +5 -5
- package/dist/{vue-ui-tiremarks-BW_jSayT.js → vue-ui-tiremarks-Cy1U3hO1.js} +7 -7
- package/dist/vue-ui-treemap-BsvIvRmE.js +1092 -0
- package/dist/{vue-ui-vertical-bar-OrLV4CxH.js → vue-ui-vertical-bar-DHqWeDIf.js} +512 -464
- package/dist/{vue-ui-waffle-BA6rNfVs.js → vue-ui-waffle-D1Mscj3N.js} +416 -370
- package/dist/{vue-ui-wheel-B_BkI-5f.js → vue-ui-wheel-DpV-N5tF.js} +7 -7
- package/dist/vue-ui-word-cloud-MaNQ3Kdk.js +811 -0
- package/dist/{vue-ui-world-B4mKuSSn.js → vue-ui-world-DYz6zw3x.js} +512 -466
- package/dist/{vue-ui-xy-m1SWJk77.js → vue-ui-xy-B1nqNbzw.js} +1551 -1500
- package/dist/vue-ui-xy-canvas-D4wd-Asd.js +1291 -0
- package/package.json +1 -1
- package/dist/DataTable-nO6ydJO2.js +0 -133
- package/dist/vue-ui-3d-bar-B56WqLJ-.js +0 -1323
- package/dist/vue-ui-chord-Ck4yV3Tb.js +0 -1049
- package/dist/vue-ui-circle-pack-BAfRk_Hd.js +0 -709
- package/dist/vue-ui-flow-BXkxtUoF.js +0 -852
- package/dist/vue-ui-funnel-DFvDO--q.js +0 -620
- package/dist/vue-ui-galaxy-BXNLLc3U.js +0 -691
- package/dist/vue-ui-heatmap-BHq6hBaL.js +0 -1078
- package/dist/vue-ui-molecule-BtyMTwEn.js +0 -656
- package/dist/vue-ui-parallel-coordinate-plot-DZ9_0F5c.js +0 -927
- package/dist/vue-ui-quadrant-CUggSeUN.js +0 -1432
- package/dist/vue-ui-radar-BRKZ8e_X.js +0 -807
- package/dist/vue-ui-ridgeline-xW7UrSfR.js +0 -1157
- package/dist/vue-ui-rings-D3NfFMaO.js +0 -739
- package/dist/vue-ui-treemap-DhAYSVB9.js +0 -1046
- package/dist/vue-ui-word-cloud-CrSLGFOK.js +0 -765
- package/dist/vue-ui-xy-canvas-CX2JT6T3.js +0 -1243
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { defineAsyncComponent as
|
|
2
|
-
import { u as
|
|
3
|
-
import { t as
|
|
4
|
-
import { u as
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as
|
|
7
|
-
import { u as
|
|
8
|
-
import { u as
|
|
9
|
-
import { u as
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import { _ as
|
|
14
|
-
const
|
|
1
|
+
import { defineAsyncComponent as O, ref as v, shallowRef as Re, computed as y, onMounted as St, onBeforeUnmount as Tt, toRefs as Mt, watch as K, watchEffect as zt, createElementBlock as r, openBlock as o, unref as u, normalizeStyle as $, normalizeClass as F, renderSlot as p, createBlock as I, createCommentVNode as h, createElementVNode as _, createVNode as he, createSlots as Ye, withCtx as m, normalizeProps as B, guardReactiveProps as R, Fragment as b, renderList as g, toDisplayString as T, Teleport as Nt, resolveDynamicComponent as Ot, mergeProps as It, createTextVNode as Ee, nextTick as Pt } from "vue";
|
|
2
|
+
import { u as Ft, c as He, o as We, f as je, g as Dt, t as Xt, d as Bt, e as Rt, p as Q, D as Ue, k as Y, i as E, X as Yt, l as Et, j as Ht, I as Wt, F as jt, E as D, a as Ut, b as Gt, C as ee, v as Vt, w as qt, y as Zt } from "./index-CDQbCd41.js";
|
|
3
|
+
import { t as Ge, u as Jt } from "./useResponsive-DfdjqQps.js";
|
|
4
|
+
import { u as Kt, B as Qt } from "./BaseScanner-BgWxam9d.js";
|
|
5
|
+
import { u as el } from "./usePrinter-Bnl1YeUU.js";
|
|
6
|
+
import { u as Ve } from "./useNestedProp-BPEHGiYX.js";
|
|
7
|
+
import { u as tl } from "./useUserOptionState-BIvW1Kz7.js";
|
|
8
|
+
import { u as ll } from "./useChartAccessibility-9icAAmYg.js";
|
|
9
|
+
import { u as al } from "./useTimeLabelCollider-CIsgDrl9.js";
|
|
10
|
+
import sl from "./img-JOqdlnUs.js";
|
|
11
|
+
import ol from "./Title-Dq2_Z9kR.js";
|
|
12
|
+
import rl from "./Legend-2-dC7DVb.js";
|
|
13
|
+
import { _ as nl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
14
|
+
const il = ["id"], ul = ["id"], cl = ["xmlns", "viewBox"], vl = ["x", "y", "width", "height"], hl = { key: 1 }, dl = ["id"], yl = ["stop-color"], fl = ["stop-color"], xl = ["stop-color"], pl = { key: 2 }, ml = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], bl = { key: 3 }, gl = ["stroke", "stroke-width", "x1", "x2", "y1", "y2"], kl = ["x", "y", "fill", "font-size"], wl = ["transform", "font-size", "fill", "font-weight"], Cl = { key: 6 }, Al = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], _l = { key: 7 }, $l = ["stroke", "stroke-width", "x1", "x2", "y1", "y2"], Ll = ["transform", "fill", "font-size", "text-anchor"], Sl = ["x", "y", "font-size", "fill", "font-weight"], Tl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ml = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], zl = ["d", "stroke", "stroke-width"], Nl = ["d", "stroke", "stroke-width"], Ol = ["cx", "cy", "fill", "r"], Il = ["cx", "cy", "fill", "r", "stroke", "stroke-width"], Pl = { key: 1 }, Fl = ["x", "y", "font-size", "fill", "font-weight"], Dl = ["x", "y", "font-size", "fill", "font-weight", "innerHTML"], Xl = { key: 2 }, Bl = ["x", "y", "font-size", "font-weight", "fill"], Rl = ["cx", "cy", "r", "onMouseenter", "onMouseleave", "onClick"], Yl = {
|
|
15
15
|
key: 4,
|
|
16
16
|
class: "vue-data-ui-watermark"
|
|
17
|
-
},
|
|
17
|
+
}, El = ["id"], Hl = ["onClick"], Wl = ["innerHTML"], jl = {
|
|
18
18
|
__name: "vue-ui-history-plot",
|
|
19
19
|
props: {
|
|
20
20
|
config: {
|
|
@@ -31,80 +31,80 @@ const ll = ["id"], al = ["id"], sl = ["xmlns", "viewBox"], ol = ["x", "y", "widt
|
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
emits: ["selectLegend", "selectDatapoint"],
|
|
34
|
-
setup(
|
|
35
|
-
const
|
|
36
|
-
get: () => !!
|
|
34
|
+
setup(qe, { expose: Ze, emit: Je }) {
|
|
35
|
+
const Ke = O(() => import("./Tooltip-Y219DXZO.js")), Qe = O(() => import("./BaseIcon-DHtro8us.js")), et = O(() => import("./vue-ui-accordion-Bf_LHFFX.js")), tt = O(() => import("./DataTable-DJjA2_wf.js")), lt = O(() => import("./PenAndPaper-B7QEDgx4.js")), at = O(() => import("./UserOptions-BuGfCdAY.js")), st = O(() => import("./PackageVersion-DU12WH3O.js")), ot = O(() => import("./BaseDraggableDialog-O7900pGp.js")), { vue_ui_history_plot: rt } = Ft(), d = qe, L = v(null), de = v(null), ye = v(0), fe = v(null), xe = v(0), pe = v(0), me = v(0), M = Re(null), X = Re(null), be = v(null), S = v(He()), te = v(!1), le = v(""), C = v([]), H = v(!1), A = v(null), W = v(!1), ge = v(null), ke = v(!1), j = v(null), ae = v(null), se = v(null), G = v(null), oe = v(null), V = y({
|
|
36
|
+
get: () => !!d.dataset && d.dataset.length,
|
|
37
37
|
set: (t) => t
|
|
38
|
-
}),
|
|
39
|
-
|
|
40
|
-
|
|
38
|
+
}), we = Je;
|
|
39
|
+
St(() => {
|
|
40
|
+
ke.value = !0, Ae();
|
|
41
41
|
});
|
|
42
|
-
const
|
|
43
|
-
function
|
|
44
|
-
if (
|
|
42
|
+
const Ce = y(() => !!e.value.debug);
|
|
43
|
+
function Ae() {
|
|
44
|
+
if (We(d.dataset) ? (je({
|
|
45
45
|
componentName: "VueUiHistoryPlot",
|
|
46
46
|
type: "dataset",
|
|
47
|
-
debug:
|
|
48
|
-
}),
|
|
49
|
-
|
|
47
|
+
debug: Ce.value
|
|
48
|
+
}), ne.value = !0) : d.dataset.forEach((t, a) => {
|
|
49
|
+
Dt({
|
|
50
50
|
datasetObject: t,
|
|
51
51
|
requiredAttributes: ["name", "values"]
|
|
52
52
|
}).forEach((l) => {
|
|
53
|
-
|
|
53
|
+
V.value = !1, je({
|
|
54
54
|
componentName: "VueUiHistoryPlot",
|
|
55
55
|
type: "datasetSerieAttribute",
|
|
56
56
|
property: l,
|
|
57
57
|
index: a,
|
|
58
|
-
debug:
|
|
58
|
+
debug: Ce.value
|
|
59
59
|
});
|
|
60
60
|
});
|
|
61
|
-
}),
|
|
62
|
-
const t =
|
|
63
|
-
const { width: a, height: l } =
|
|
64
|
-
chart:
|
|
65
|
-
title: e.value.style.chart.title.text ?
|
|
66
|
-
noTitle:
|
|
67
|
-
legend: e.value.style.chart.legend.show ?
|
|
68
|
-
source:
|
|
61
|
+
}), We(d.dataset) || (ne.value = e.value.loading), e.value.responsive) {
|
|
62
|
+
const t = Ge(() => {
|
|
63
|
+
const { width: a, height: l } = Jt({
|
|
64
|
+
chart: L.value,
|
|
65
|
+
title: e.value.style.chart.title.text ? de.value : null,
|
|
66
|
+
noTitle: be.value,
|
|
67
|
+
legend: e.value.style.chart.legend.show ? fe.value : null,
|
|
68
|
+
source: ge.value
|
|
69
69
|
});
|
|
70
70
|
requestAnimationFrame(() => {
|
|
71
|
-
f.value.width = a, f.value.height = l, e.value.responsiveProportionalSizing ? (n.value.plots =
|
|
71
|
+
f.value.width = a, f.value.height = l, e.value.responsiveProportionalSizing ? (n.value.plots = D({
|
|
72
72
|
relator: Math.min(a, l),
|
|
73
73
|
adjuster: 600,
|
|
74
74
|
source: e.value.style.chart.plots.radius,
|
|
75
75
|
threshold: 3,
|
|
76
76
|
fallback: 3
|
|
77
|
-
}), n.value.indexLabels =
|
|
77
|
+
}), n.value.indexLabels = D({
|
|
78
78
|
relator: Math.min(a, l),
|
|
79
79
|
adjuster: 600,
|
|
80
80
|
source: e.value.style.chart.plots.indexLabels.fontSize,
|
|
81
81
|
threshold: 6,
|
|
82
82
|
fallback: 6
|
|
83
|
-
}), n.value.labels =
|
|
83
|
+
}), n.value.labels = D({
|
|
84
84
|
relator: Math.min(a, l),
|
|
85
85
|
adjuster: 600,
|
|
86
86
|
source: e.value.style.chart.plots.labels.fontSize,
|
|
87
87
|
threshold: 6,
|
|
88
88
|
fallback: 6
|
|
89
|
-
}), n.value.xAxisLabels =
|
|
89
|
+
}), n.value.xAxisLabels = D({
|
|
90
90
|
relator: Math.min(a, l),
|
|
91
91
|
adjuster: 600,
|
|
92
92
|
source: e.value.style.chart.axes.x.labels.fontSize,
|
|
93
93
|
threshold: 6,
|
|
94
94
|
fallback: 6
|
|
95
|
-
}), n.value.xAxisName =
|
|
95
|
+
}), n.value.xAxisName = D({
|
|
96
96
|
relator: Math.min(a, l),
|
|
97
97
|
adjuster: 600,
|
|
98
98
|
source: e.value.style.chart.axes.x.name.fontSize,
|
|
99
99
|
threshold: 6,
|
|
100
100
|
fallback: 6
|
|
101
|
-
}), n.value.yAxisLabels =
|
|
101
|
+
}), n.value.yAxisLabels = D({
|
|
102
102
|
relator: Math.min(a, l),
|
|
103
103
|
adjuster: 600,
|
|
104
104
|
source: e.value.style.chart.axes.y.labels.fontSize,
|
|
105
105
|
threshold: 6,
|
|
106
106
|
fallback: 6
|
|
107
|
-
}), n.value.yAxisName =
|
|
107
|
+
}), n.value.yAxisName = D({
|
|
108
108
|
relator: Math.min(a, l),
|
|
109
109
|
adjuster: 600,
|
|
110
110
|
source: e.value.style.chart.axes.y.name.fontSize,
|
|
@@ -113,30 +113,30 @@ const ll = ["id"], al = ["id"], sl = ["xmlns", "viewBox"], ol = ["x", "y", "widt
|
|
|
113
113
|
})) : (n.value.plots = e.value.style.chart.plots.radius, n.value.indexLabels = e.value.style.chart.plots.indexLabels.fontSize, n.value.labels = e.value.style.chart.plots.labels.fontSize, n.value.xAxisLabels = e.value.style.chart.axes.x.labels.fontSize, n.value.xAxisName = e.value.style.chart.axes.x.name.fontSize, n.value.yAxisLabels = e.value.style.chart.axes.y.labels.fontSize, n.value.yAxisName = e.value.style.chart.axes.y.name.fontSize);
|
|
114
114
|
});
|
|
115
115
|
});
|
|
116
|
-
|
|
116
|
+
M.value && (X.value && M.value.unobserve(X.value), M.value.disconnect()), M.value = new ResizeObserver(t), X.value = L.value.parentNode, M.value.observe(X.value);
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
|
-
|
|
120
|
-
|
|
119
|
+
Tt(() => {
|
|
120
|
+
M.value && (X.value && M.value.unobserve(X.value), M.value.disconnect());
|
|
121
121
|
});
|
|
122
|
-
function
|
|
123
|
-
const t =
|
|
124
|
-
userConfig:
|
|
125
|
-
defaultConfig:
|
|
122
|
+
function re() {
|
|
123
|
+
const t = Ve({
|
|
124
|
+
userConfig: d.config,
|
|
125
|
+
defaultConfig: rt
|
|
126
126
|
});
|
|
127
127
|
let a = {};
|
|
128
128
|
return t.theme ? a = {
|
|
129
|
-
...
|
|
130
|
-
userConfig:
|
|
129
|
+
...Ve({
|
|
130
|
+
userConfig: Gt.vue_ui_history_plot[t.theme] || d.config,
|
|
131
131
|
defaultConfig: t
|
|
132
132
|
}),
|
|
133
|
-
customPalette:
|
|
134
|
-
} : a = t,
|
|
133
|
+
customPalette: Ut[t.theme] || Q
|
|
134
|
+
} : a = t, d.config && ee(d.config, "style.chart.axes.x.scaleMin") ? a.style.chart.axes.x.scaleMin = d.config.style.chart.axes.x.scaleMin : a.style.chart.axes.x.scaleMin = null, d.config && ee(d.config, "style.chart.axes.x.scaleMax") ? a.style.chart.axes.x.scaleMax = d.config.style.chart.axes.x.scaleMax : a.style.chart.axes.x.scaleMax = null, d.config && ee(d.config, "style.chart.axes.y.scaleMin") ? a.style.chart.axes.y.scaleMin = d.config.style.chart.axes.y.scaleMin : a.style.chart.axes.y.scaleMin = null, d.config && ee(d.config, "style.chart.axes.y.scaleMax") ? a.style.chart.axes.y.scaleMax = d.config.style.chart.axes.y.scaleMax : a.style.chart.axes.y.scaleMax = null, a;
|
|
135
135
|
}
|
|
136
|
-
const e = v(
|
|
137
|
-
...
|
|
136
|
+
const e = v(re()), { loading: z, FINAL_DATASET: nt, manualLoading: ne } = Kt({
|
|
137
|
+
...Mt(d),
|
|
138
138
|
FINAL_CONFIG: e,
|
|
139
|
-
prepareConfig:
|
|
139
|
+
prepareConfig: re,
|
|
140
140
|
skeletonDataset: [
|
|
141
141
|
{
|
|
142
142
|
name: "",
|
|
@@ -149,7 +149,7 @@ const ll = ["id"], al = ["id"], sl = ["xmlns", "viewBox"], ol = ["x", "y", "widt
|
|
|
149
149
|
]
|
|
150
150
|
}
|
|
151
151
|
],
|
|
152
|
-
skeletonConfig:
|
|
152
|
+
skeletonConfig: Xt({
|
|
153
153
|
defaultConfig: e.value,
|
|
154
154
|
userConfig: {
|
|
155
155
|
userOptions: { show: !1 },
|
|
@@ -201,22 +201,22 @@ const ll = ["id"], al = ["id"], sl = ["xmlns", "viewBox"], ol = ["x", "y", "widt
|
|
|
201
201
|
}
|
|
202
202
|
}
|
|
203
203
|
})
|
|
204
|
-
}), { userOptionsVisible:
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
}, { deep: !0 }),
|
|
208
|
-
Array.isArray(t) && t.length > 0 && (
|
|
204
|
+
}), { userOptionsVisible: ie, setUserOptionsVisibility: _e, keepUserOptionState: $e } = tl({ config: e.value }), { svgRef: Le } = ll({ config: e.value.style.chart.title });
|
|
205
|
+
K(() => d.config, (t) => {
|
|
206
|
+
z.value || (e.value = re()), ie.value = !e.value.userOptions.showOnChartHover, Ae(), ye.value += 1, pe.value += 1, xe.value += 1, f.value.height = e.value.style.chart.height, f.value.width = e.value.style.chart.width, n.value.plots = e.value.style.chart.plots.radius, n.value.indexLabels = e.value.style.chart.plots.indexLabels.fontSize, n.value.labels = e.value.style.chart.plots.labels.fontSize, n.value.xAxisLabels = e.value.style.chart.axes.x.labels.fontSize, n.value.xAxisName = e.value.style.chart.axes.x.name.fontSize, n.value.yAxisLabels = e.value.style.chart.axes.y.labels.fontSize, n.value.yAxisName = e.value.style.chart.axes.y.name.fontSize, k.value.showTable = e.value.table.show, k.value.showTooltip = e.value.style.chart.tooltip.show;
|
|
207
|
+
}, { deep: !0 }), K(() => d.dataset, (t) => {
|
|
208
|
+
Array.isArray(t) && t.length > 0 && (ne.value = !1);
|
|
209
209
|
}, { deep: !0 });
|
|
210
|
-
const { isPrinting:
|
|
211
|
-
elementId: `history_plot_${
|
|
210
|
+
const { isPrinting: Se, isImaging: Te, generatePdf: Me, generateImage: ze } = el({
|
|
211
|
+
elementId: `history_plot_${S.value}`,
|
|
212
212
|
fileName: e.value.style.chart.title.text || "vue-ui-history-plot",
|
|
213
213
|
options: e.value.userOptions.print
|
|
214
|
-
}),
|
|
214
|
+
}), it = y(() => e.value.userOptions.show && !e.value.style.chart.title.text), ut = y(() => Bt(e.value.customPalette)), k = v({
|
|
215
215
|
showTable: e.value.table.show,
|
|
216
216
|
showTooltip: e.value.style.chart.tooltip.show
|
|
217
217
|
});
|
|
218
|
-
|
|
219
|
-
|
|
218
|
+
K(e, () => {
|
|
219
|
+
k.value = {
|
|
220
220
|
showTable: e.value.table.show,
|
|
221
221
|
showTooltip: e.value.style.chart.tooltip.show
|
|
222
222
|
};
|
|
@@ -224,41 +224,41 @@ const ll = ["id"], al = ["id"], sl = ["xmlns", "viewBox"], ol = ["x", "y", "widt
|
|
|
224
224
|
const f = v({
|
|
225
225
|
height: e.value.style.chart.height,
|
|
226
226
|
width: e.value.style.chart.width
|
|
227
|
-
}),
|
|
228
|
-
function
|
|
227
|
+
}), ct = y(() => f.value.width), vt = y(() => f.value.height);
|
|
228
|
+
function ht() {
|
|
229
229
|
let t = 0;
|
|
230
|
-
|
|
231
|
-
const
|
|
232
|
-
return
|
|
230
|
+
oe.value && (t = Array.from(oe.value.querySelectorAll("text")).reduce((i, s) => {
|
|
231
|
+
const w = s.getComputedTextLength();
|
|
232
|
+
return w > i ? w : i;
|
|
233
233
|
}, 0));
|
|
234
|
-
const a =
|
|
234
|
+
const a = se.value ? se.value.getBoundingClientRect().width : 0;
|
|
235
235
|
return t + a + (a ? 24 : 0);
|
|
236
236
|
}
|
|
237
|
-
const
|
|
238
|
-
|
|
237
|
+
const Ne = v(0), dt = Ge((t) => {
|
|
238
|
+
Ne.value = t;
|
|
239
239
|
});
|
|
240
|
-
|
|
241
|
-
const a =
|
|
240
|
+
zt((t) => {
|
|
241
|
+
const a = G.value;
|
|
242
242
|
if (!a) return;
|
|
243
243
|
const l = new ResizeObserver((i) => {
|
|
244
|
-
|
|
244
|
+
dt(i[0].contentRect.height);
|
|
245
245
|
});
|
|
246
246
|
l.observe(a), t(() => l.disconnect());
|
|
247
247
|
});
|
|
248
|
-
const
|
|
248
|
+
const Oe = y(() => {
|
|
249
249
|
let t = 0;
|
|
250
|
-
|
|
250
|
+
ae.value && (t = ae.value.getBBox().height + n.value.xAxisName / 2);
|
|
251
251
|
let a = 0;
|
|
252
|
-
return
|
|
253
|
-
}), c =
|
|
254
|
-
const t = e.value.style.chart.padding.left, a = e.value.style.chart.padding.top, l =
|
|
252
|
+
return G.value && (a = Ne.value), t + a;
|
|
253
|
+
}), c = y(() => {
|
|
254
|
+
const t = e.value.style.chart.padding.left, a = e.value.style.chart.padding.top, l = ht(), i = e.value.style.chart.plots.radius;
|
|
255
255
|
return {
|
|
256
256
|
left: t + l + e.value.style.chart.axes.y.name.offsetX,
|
|
257
257
|
top: a + i,
|
|
258
258
|
right: f.value.width - e.value.style.chart.padding.right - i - e.value.style.chart.axes.y.name.offsetX,
|
|
259
|
-
bottom: f.value.height - e.value.style.chart.padding.bottom -
|
|
259
|
+
bottom: f.value.height - e.value.style.chart.padding.bottom - Oe.value - i - e.value.style.chart.axes.x.name.offsetY,
|
|
260
260
|
width: f.value.width - t - e.value.style.chart.padding.right - l - i - e.value.style.chart.axes.y.name.offsetX,
|
|
261
|
-
height: f.value.height - a - e.value.style.chart.padding.bottom -
|
|
261
|
+
height: f.value.height - a - e.value.style.chart.padding.bottom - Oe.value - i * 2 - e.value.style.chart.axes.x.name.offsetY
|
|
262
262
|
};
|
|
263
263
|
}), n = v({
|
|
264
264
|
plots: e.value.style.chart.plots.radius,
|
|
@@ -268,24 +268,24 @@ const ll = ["id"], al = ["id"], sl = ["xmlns", "viewBox"], ol = ["x", "y", "widt
|
|
|
268
268
|
xAxisName: e.value.style.chart.axes.x.name.fontSize,
|
|
269
269
|
yAxisLabels: e.value.style.chart.axes.y.labels.fontSize,
|
|
270
270
|
yAxisName: e.value.style.chart.axes.y.name.fontSize
|
|
271
|
-
}),
|
|
271
|
+
}), N = y(() => nt.value.map((t, a) => ({
|
|
272
272
|
...t,
|
|
273
|
-
color: t.color ?
|
|
273
|
+
color: t.color ? Rt(t.color) : ut.value[a] || Q[a] || Q[a % Q.length],
|
|
274
274
|
seriesIndex: a
|
|
275
|
-
}))),
|
|
276
|
-
const t = Math.min(...
|
|
275
|
+
}))), yt = y(() => Math.max(...N.value.filter((t) => !C.value.includes(t.seriesIndex)).flatMap((t) => t.values.map((a) => a.x)))), ft = y(() => {
|
|
276
|
+
const t = Math.min(...N.value.filter((a) => !C.value.includes(a.seriesIndex)).flatMap((a) => a.values.map((l) => l.x)));
|
|
277
277
|
return t < 0 ? t : 0;
|
|
278
|
-
}),
|
|
279
|
-
const t = Math.min(...
|
|
278
|
+
}), xt = y(() => Math.max(...N.value.filter((t) => !C.value.includes(t.seriesIndex)).flatMap((t) => t.values.map((a) => a.y)))), pt = y(() => {
|
|
279
|
+
const t = Math.min(...N.value.filter((a) => !C.value.includes(a.seriesIndex)).flatMap((a) => a.values.map((l) => l.y)));
|
|
280
280
|
return t < 0 ? t : 0;
|
|
281
|
-
}), x =
|
|
282
|
-
const t =
|
|
283
|
-
e.value.style.chart.axes.x.scaleMin === null ?
|
|
284
|
-
e.value.style.chart.axes.x.scaleMax === null ?
|
|
281
|
+
}), x = y(() => {
|
|
282
|
+
const t = Ue(
|
|
283
|
+
e.value.style.chart.axes.x.scaleMin === null ? ft.value : e.value.style.chart.axes.x.scaleMin,
|
|
284
|
+
e.value.style.chart.axes.x.scaleMax === null ? yt.value : e.value.style.chart.axes.x.scaleMax,
|
|
285
285
|
e.value.style.chart.axes.x.ticks
|
|
286
|
-
), a =
|
|
287
|
-
e.value.style.chart.axes.y.scaleMin === null ?
|
|
288
|
-
e.value.style.chart.axes.y.scaleMax === null ?
|
|
286
|
+
), a = Ue(
|
|
287
|
+
e.value.style.chart.axes.y.scaleMin === null ? pt.value : e.value.style.chart.axes.y.scaleMin,
|
|
288
|
+
e.value.style.chart.axes.y.scaleMax === null ? xt.value : e.value.style.chart.axes.y.scaleMax,
|
|
289
289
|
e.value.style.chart.axes.y.ticks
|
|
290
290
|
);
|
|
291
291
|
return {
|
|
@@ -305,24 +305,24 @@ const ll = ["id"], al = ["id"], sl = ["xmlns", "viewBox"], ol = ["x", "y", "widt
|
|
|
305
305
|
}))
|
|
306
306
|
};
|
|
307
307
|
});
|
|
308
|
-
function
|
|
308
|
+
function mt(t) {
|
|
309
309
|
const a = x.value.x.min < 0 ? Math.abs(x.value.x.min) : x.value.x.min > 0 ? -x.value.x.min : 0;
|
|
310
310
|
return c.value.left + ((t || 0) + a) / (x.value.x.max + a) * c.value.width;
|
|
311
311
|
}
|
|
312
|
-
function
|
|
312
|
+
function bt(t) {
|
|
313
313
|
const a = x.value.y.min < 0 ? Math.abs(x.value.y.min) : x.value.y.min > 0 ? -x.value.y.min : 0;
|
|
314
314
|
return c.value.bottom - ((t || 0) + a) / (x.value.y.max + a) * c.value.height;
|
|
315
315
|
}
|
|
316
|
-
const
|
|
317
|
-
const l = t.values.map((s,
|
|
316
|
+
const P = y(() => N.value.filter((t) => !C.value.includes(t.seriesIndex)).map((t, a) => {
|
|
317
|
+
const l = t.values.map((s, w) => ({
|
|
318
318
|
valueX: s.x,
|
|
319
319
|
valueY: s.y,
|
|
320
320
|
label: s.label,
|
|
321
|
-
x:
|
|
322
|
-
y:
|
|
321
|
+
x: mt(s.x),
|
|
322
|
+
y: bt(s.y),
|
|
323
323
|
color: t.color,
|
|
324
324
|
seriesName: t.name,
|
|
325
|
-
id:
|
|
325
|
+
id: He()
|
|
326
326
|
})), i = l.map((s) => `${s.x},${s.y} `).join("").trim();
|
|
327
327
|
return {
|
|
328
328
|
...t,
|
|
@@ -330,16 +330,16 @@ const ll = ["id"], al = ["id"], sl = ["xmlns", "viewBox"], ol = ["x", "y", "widt
|
|
|
330
330
|
path: `M${i}`
|
|
331
331
|
};
|
|
332
332
|
}));
|
|
333
|
-
function
|
|
334
|
-
|
|
333
|
+
function Ie(t) {
|
|
334
|
+
C.value.includes(t) ? C.value = C.value.filter((a) => a !== t) : C.value.push(t);
|
|
335
335
|
}
|
|
336
|
-
const
|
|
336
|
+
const Pe = y(() => N.value.map((t) => ({
|
|
337
337
|
...t,
|
|
338
|
-
opacity:
|
|
339
|
-
segregate: () =>
|
|
340
|
-
isSegregated:
|
|
338
|
+
opacity: C.value.includes(t.seriesIndex) ? 0.5 : 1,
|
|
339
|
+
segregate: () => Ie(t.seriesIndex),
|
|
340
|
+
isSegregated: C.value.includes(t.seriesIndex),
|
|
341
341
|
shape: "circle"
|
|
342
|
-
}))),
|
|
342
|
+
}))), gt = y(() => ({
|
|
343
343
|
cy: "history-plot-div-legend",
|
|
344
344
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
345
345
|
color: e.value.style.chart.legend.color,
|
|
@@ -347,42 +347,42 @@ const ll = ["id"], al = ["id"], sl = ["xmlns", "viewBox"], ol = ["x", "y", "widt
|
|
|
347
347
|
paddingBottom: 12,
|
|
348
348
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
349
349
|
}));
|
|
350
|
-
function
|
|
351
|
-
e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: { ...t, plotIndex: a, seriesIndex: l }, seriesIndex: l }),
|
|
350
|
+
function kt({ datapoint: t, plotIndex: a, seriesIndex: l }) {
|
|
351
|
+
e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: { ...t, plotIndex: a, seriesIndex: l }, seriesIndex: l }), we("selectDatapoint", t);
|
|
352
352
|
}
|
|
353
|
-
function
|
|
354
|
-
|
|
353
|
+
function Fe(t) {
|
|
354
|
+
we("selectLegend", {
|
|
355
355
|
...t,
|
|
356
356
|
isSegregated: !t.isSegregated,
|
|
357
357
|
opacity: t.isSegregated ? 1 : 0.5
|
|
358
358
|
});
|
|
359
359
|
}
|
|
360
|
-
function
|
|
361
|
-
|
|
360
|
+
function De(t) {
|
|
361
|
+
H.value = t, me.value += 1;
|
|
362
362
|
}
|
|
363
|
-
const
|
|
364
|
-
function
|
|
365
|
-
e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: { ...t, plotIndex: a, seriesIndex: l }, seriesIndex: l }),
|
|
363
|
+
const ue = v(null);
|
|
364
|
+
function wt({ datapoint: t, plotIndex: a, seriesIndex: l }) {
|
|
365
|
+
e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: { ...t, plotIndex: a, seriesIndex: l }, seriesIndex: l }), te.value = !1, A.value = null;
|
|
366
366
|
}
|
|
367
|
-
function
|
|
368
|
-
e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: { ...t, plotIndex: a, seriesIndex: l }, seriesIndex: l }),
|
|
367
|
+
function Ct({ datapoint: t, plotIndex: a, seriesIndex: l }) {
|
|
368
|
+
e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: { ...t, plotIndex: a, seriesIndex: l }, seriesIndex: l }), ue.value = { datapoint: t, seriesIndex: l, plotIndex: a, config: e.value, series: N.value }, A.value = t;
|
|
369
369
|
const i = e.value.style.chart.tooltip.customFormat;
|
|
370
|
-
if (
|
|
370
|
+
if (W.value = !1, Zt(i))
|
|
371
371
|
try {
|
|
372
372
|
const s = i({
|
|
373
373
|
seriesIndex: l,
|
|
374
374
|
datapoint: t,
|
|
375
375
|
plotIndex: a,
|
|
376
|
-
series:
|
|
376
|
+
series: N.value,
|
|
377
377
|
config: e.value
|
|
378
378
|
});
|
|
379
|
-
typeof s == "string" && (
|
|
379
|
+
typeof s == "string" && (le.value = s, W.value = !0);
|
|
380
380
|
} catch {
|
|
381
|
-
console.warn("Custom format cannot be applied."),
|
|
381
|
+
console.warn("Custom format cannot be applied."), W.value = !1;
|
|
382
382
|
}
|
|
383
|
-
if (!
|
|
383
|
+
if (!W.value) {
|
|
384
384
|
let s = "";
|
|
385
|
-
s += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};margin-bottom:3px;padding-bottom:6px;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${t.color}"/></svg><span>${t.seriesName}</span></div>`, s += `<div>${t.label}</div>`, s += `<div>${e.value.style.chart.axes.x.name.text || "x"}: ${
|
|
385
|
+
s += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};margin-bottom:3px;padding-bottom:6px;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${t.color}"/></svg><span>${t.seriesName}</span></div>`, s += `<div>${t.label}</div>`, s += `<div>${e.value.style.chart.axes.x.name.text || "x"}: ${Y(
|
|
386
386
|
e.value.style.chart.axes.x.labels.formatter,
|
|
387
387
|
t.valueX,
|
|
388
388
|
E({
|
|
@@ -391,7 +391,7 @@ const ll = ["id"], al = ["id"], sl = ["xmlns", "viewBox"], ol = ["x", "y", "widt
|
|
|
391
391
|
s: e.value.style.chart.axes.x.labels.suffix,
|
|
392
392
|
r: e.value.style.chart.axes.x.labels.rounding
|
|
393
393
|
})
|
|
394
|
-
)}</div>`, s += `<div>${e.value.style.chart.axes.y.name.text || "y"}: ${
|
|
394
|
+
)}</div>`, s += `<div>${e.value.style.chart.axes.y.name.text || "y"}: ${Y(
|
|
395
395
|
e.value.style.chart.axes.y.labels.formatter,
|
|
396
396
|
t.valueY,
|
|
397
397
|
E({
|
|
@@ -400,27 +400,27 @@ const ll = ["id"], al = ["id"], sl = ["xmlns", "viewBox"], ol = ["x", "y", "widt
|
|
|
400
400
|
s: e.value.style.chart.axes.y.labels.suffix,
|
|
401
401
|
r: e.value.style.chart.axes.y.labels.rounding
|
|
402
402
|
})
|
|
403
|
-
)}</div>`,
|
|
403
|
+
)}</div>`, le.value = `<div>${s}</div>`;
|
|
404
404
|
}
|
|
405
|
-
|
|
405
|
+
te.value = !0;
|
|
406
406
|
}
|
|
407
|
-
|
|
407
|
+
y(() => ({ head: P.value.map((a) => ({
|
|
408
408
|
name: a.name,
|
|
409
409
|
color: a.color
|
|
410
410
|
})) }));
|
|
411
|
-
const
|
|
411
|
+
const q = y(() => {
|
|
412
412
|
const t = [
|
|
413
413
|
e.value.table.columnNames.series,
|
|
414
414
|
e.value.table.columnNames.datapoint,
|
|
415
415
|
e.value.table.columnNames.x,
|
|
416
416
|
e.value.table.columnNames.y
|
|
417
|
-
], a =
|
|
417
|
+
], a = P.value.flatMap((i) => i.plots.map((s) => [
|
|
418
418
|
{
|
|
419
419
|
color: s.color,
|
|
420
420
|
name: s.seriesName
|
|
421
421
|
},
|
|
422
422
|
s.label,
|
|
423
|
-
|
|
423
|
+
Y(
|
|
424
424
|
e.value.style.chart.axes.x.labels.formatter,
|
|
425
425
|
s.valueX,
|
|
426
426
|
E({
|
|
@@ -430,7 +430,7 @@ const ll = ["id"], al = ["id"], sl = ["xmlns", "viewBox"], ol = ["x", "y", "widt
|
|
|
430
430
|
r: e.value.style.chart.axes.x.labels.rounding
|
|
431
431
|
})
|
|
432
432
|
),
|
|
433
|
-
|
|
433
|
+
Y(
|
|
434
434
|
e.value.style.chart.axes.y.labels.formatter,
|
|
435
435
|
s.valueY,
|
|
436
436
|
E({
|
|
@@ -460,111 +460,144 @@ const ll = ["id"], al = ["id"], sl = ["xmlns", "viewBox"], ol = ["x", "y", "widt
|
|
|
460
460
|
colNames: t
|
|
461
461
|
};
|
|
462
462
|
});
|
|
463
|
-
function
|
|
464
|
-
|
|
463
|
+
function ce(t = null) {
|
|
464
|
+
Pt(() => {
|
|
465
465
|
const a = [
|
|
466
466
|
[e.value.table.columnNames.series],
|
|
467
467
|
[e.value.table.columnNames.datapoint],
|
|
468
468
|
[e.value.table.columnNames.x],
|
|
469
469
|
[e.value.table.columnNames.y]
|
|
470
|
-
], l =
|
|
471
|
-
[
|
|
472
|
-
[
|
|
473
|
-
[
|
|
474
|
-
[
|
|
470
|
+
], l = P.value.flatMap((w) => w.plots.map((J) => [
|
|
471
|
+
[J.seriesName],
|
|
472
|
+
[J.label],
|
|
473
|
+
[J.valueX],
|
|
474
|
+
[J.valueY]
|
|
475
475
|
])), i = [
|
|
476
476
|
[e.value.style.chart.title.text],
|
|
477
477
|
[e.value.style.chart.title.subtitle.text],
|
|
478
478
|
a
|
|
479
|
-
].concat(l), s =
|
|
480
|
-
t ? t(s) :
|
|
479
|
+
].concat(l), s = Vt(i);
|
|
480
|
+
t ? t(s) : qt({
|
|
481
481
|
csvContent: s,
|
|
482
482
|
title: e.value.style.chart.title.text || "vue-ui-history-plot"
|
|
483
483
|
});
|
|
484
484
|
});
|
|
485
485
|
}
|
|
486
|
-
const
|
|
487
|
-
function
|
|
488
|
-
|
|
486
|
+
const Z = v(!1);
|
|
487
|
+
function ve() {
|
|
488
|
+
Z.value = !Z.value;
|
|
489
489
|
}
|
|
490
|
-
function
|
|
491
|
-
|
|
490
|
+
function Xe() {
|
|
491
|
+
k.value.showTable = !k.value.showTable;
|
|
492
492
|
}
|
|
493
|
-
function
|
|
494
|
-
|
|
493
|
+
function Be() {
|
|
494
|
+
k.value.showTooltip = !k.value.showTooltip;
|
|
495
495
|
}
|
|
496
|
-
function
|
|
497
|
-
return
|
|
496
|
+
function At() {
|
|
497
|
+
return P.value;
|
|
498
498
|
}
|
|
499
|
-
async function
|
|
500
|
-
if (!
|
|
501
|
-
const { width: a, height: l } =
|
|
499
|
+
async function _t({ scale: t = 2 } = {}) {
|
|
500
|
+
if (!L.value) return;
|
|
501
|
+
const { width: a, height: l } = L.value.getBoundingClientRect(), i = a / l, { imageUri: s, base64: w } = await sl({ domElement: L.value, base64: !0, img: !0, scale: t });
|
|
502
502
|
return {
|
|
503
503
|
imageUri: s,
|
|
504
|
-
base64:
|
|
504
|
+
base64: w,
|
|
505
505
|
title: e.value.style.chart.title.text,
|
|
506
506
|
width: a,
|
|
507
507
|
height: l,
|
|
508
508
|
aspectRatio: i
|
|
509
509
|
};
|
|
510
510
|
}
|
|
511
|
-
const
|
|
512
|
-
|
|
513
|
-
timeLabelsEls:
|
|
514
|
-
timeLabels:
|
|
515
|
-
slicer:
|
|
511
|
+
const $t = y(() => x.value.tickX), Lt = y(() => ({ start: 0, end: x.value.tickX.length }));
|
|
512
|
+
al({
|
|
513
|
+
timeLabelsEls: G,
|
|
514
|
+
timeLabels: $t,
|
|
515
|
+
slicer: Lt,
|
|
516
516
|
configRef: e,
|
|
517
517
|
rotationPath: ["style", "chart", "axes", "x", "labels", "rotation"],
|
|
518
518
|
autoRotatePath: ["style", "chart", "axes", "x", "labels", "autoRotate", "enable"],
|
|
519
519
|
isAutoSize: !1,
|
|
520
|
-
width:
|
|
521
|
-
height:
|
|
520
|
+
width: ct,
|
|
521
|
+
height: vt,
|
|
522
522
|
targetClass: ".vue-ui-history-plot-x-axis-scale",
|
|
523
523
|
rotation: e.value.style.chart.axes.x.labels.autoRotate.angle
|
|
524
|
-
})
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
524
|
+
});
|
|
525
|
+
const U = y(() => {
|
|
526
|
+
const t = e.value.table.useDialog && !e.value.table.show, a = k.value.showTable;
|
|
527
|
+
return {
|
|
528
|
+
component: t ? ot : et,
|
|
529
|
+
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
530
|
+
props: t ? {
|
|
531
|
+
backgroundColor: e.value.table.th.backgroundColor,
|
|
532
|
+
color: e.value.table.th.color,
|
|
533
|
+
headerColor: e.value.table.th.color,
|
|
534
|
+
headerBg: e.value.table.th.backgroundColor,
|
|
535
|
+
isFullscreen: H.value,
|
|
536
|
+
fullscreenParent: L.value,
|
|
537
|
+
forcedWidth: Math.min(800, window.innerWidth * 0.8)
|
|
538
|
+
} : {
|
|
539
|
+
hideDetails: !0,
|
|
540
|
+
config: {
|
|
541
|
+
open: a,
|
|
542
|
+
maxHeight: 1e4,
|
|
543
|
+
body: {
|
|
544
|
+
backgroundColor: e.value.style.chart.backgroundColor,
|
|
545
|
+
color: e.value.style.chart.color
|
|
546
|
+
},
|
|
547
|
+
head: {
|
|
548
|
+
backgroundColor: e.value.style.chart.backgroundColor,
|
|
549
|
+
color: e.value.style.chart.color
|
|
550
|
+
}
|
|
551
|
+
}
|
|
552
|
+
}
|
|
553
|
+
};
|
|
554
|
+
});
|
|
555
|
+
return K(() => k.value.showTable, (t) => {
|
|
556
|
+
e.value.table.show || (t && e.value.table.useDialog && j.value ? j.value.open() : "close" in j.value && j.value.close());
|
|
557
|
+
}), Ze({
|
|
558
|
+
getData: At,
|
|
559
|
+
getImage: _t,
|
|
560
|
+
generatePdf: Me,
|
|
561
|
+
generateCsv: ce,
|
|
562
|
+
generateImage: ze,
|
|
563
|
+
toggleTable: Xe,
|
|
564
|
+
toggleTooltip: Be,
|
|
565
|
+
toggleAnnotator: ve,
|
|
566
|
+
toggleFullscreen: De
|
|
534
567
|
}), (t, a) => (o(), r("div", {
|
|
535
|
-
id: `history_plot_${
|
|
568
|
+
id: `history_plot_${S.value}`,
|
|
536
569
|
ref_key: "historyPlotChart",
|
|
537
|
-
ref:
|
|
538
|
-
class:
|
|
539
|
-
style:
|
|
540
|
-
onMouseenter: a[
|
|
541
|
-
onMouseleave: a[
|
|
570
|
+
ref: L,
|
|
571
|
+
class: F({ "vue-ui-history-plot": !0, "vue-data-ui-wrapper-fullscreen": H.value }),
|
|
572
|
+
style: $(`background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color};font-family:${e.value.style.fontFamily}; position: relative; ${e.value.responsive ? "height: 100%" : ""}`),
|
|
573
|
+
onMouseenter: a[4] || (a[4] = () => u(_e)(!0)),
|
|
574
|
+
onMouseleave: a[5] || (a[5] = () => u(_e)(!1))
|
|
542
575
|
}, [
|
|
543
576
|
p(t.$slots, "userConfig", {}, void 0, !0),
|
|
544
|
-
e.value.userOptions.buttons.annotator ? (o(),
|
|
577
|
+
e.value.userOptions.buttons.annotator ? (o(), I(u(lt), {
|
|
545
578
|
key: 0,
|
|
546
|
-
svgRef: u(
|
|
579
|
+
svgRef: u(Le),
|
|
547
580
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
548
581
|
color: e.value.style.chart.color,
|
|
549
|
-
active:
|
|
550
|
-
onClose:
|
|
582
|
+
active: Z.value,
|
|
583
|
+
onClose: ve
|
|
551
584
|
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : h("", !0),
|
|
552
|
-
|
|
585
|
+
it.value ? (o(), r("div", {
|
|
553
586
|
key: 1,
|
|
554
587
|
ref_key: "noTitle",
|
|
555
|
-
ref:
|
|
588
|
+
ref: be,
|
|
556
589
|
class: "vue-data-ui-no-title-space",
|
|
557
590
|
style: "height:36px; width: 100%;background:transparent"
|
|
558
591
|
}, null, 512)) : h("", !0),
|
|
559
592
|
e.value.style.chart.title.text ? (o(), r("div", {
|
|
560
593
|
key: 2,
|
|
561
594
|
ref_key: "chartTitle",
|
|
562
|
-
ref:
|
|
595
|
+
ref: de,
|
|
563
596
|
class: "vue-ui-xy-title",
|
|
564
|
-
style:
|
|
597
|
+
style: $(`font-family:${e.value.style.fontFamily}`)
|
|
565
598
|
}, [
|
|
566
|
-
(o(),
|
|
567
|
-
key: `title_${
|
|
599
|
+
(o(), I(ol, {
|
|
600
|
+
key: `title_${ye.value}`,
|
|
568
601
|
config: {
|
|
569
602
|
title: {
|
|
570
603
|
cy: "history-plot-div-title",
|
|
@@ -577,17 +610,17 @@ const ll = ["id"], al = ["id"], sl = ["xmlns", "viewBox"], ol = ["x", "y", "widt
|
|
|
577
610
|
}
|
|
578
611
|
}, null, 8, ["config"]))
|
|
579
612
|
], 4)) : h("", !0),
|
|
580
|
-
|
|
581
|
-
id: `legend-top-${
|
|
582
|
-
}, null, 8,
|
|
583
|
-
e.value.userOptions.show &&
|
|
613
|
+
_("div", {
|
|
614
|
+
id: `legend-top-${S.value}`
|
|
615
|
+
}, null, 8, ul),
|
|
616
|
+
e.value.userOptions.show && V.value && (u($e) || u(ie)) ? (o(), I(u(at), {
|
|
584
617
|
ref: "details",
|
|
585
|
-
key: `user_option_${
|
|
618
|
+
key: `user_option_${me.value}`,
|
|
586
619
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
587
620
|
color: e.value.style.chart.color,
|
|
588
|
-
isPrinting: u(
|
|
589
|
-
isImaging: u(
|
|
590
|
-
uid:
|
|
621
|
+
isPrinting: u(Se),
|
|
622
|
+
isImaging: u(Te),
|
|
623
|
+
uid: S.value,
|
|
591
624
|
hasTooltip: e.value.style.chart.tooltip.show && e.value.userOptions.buttons.tooltip,
|
|
592
625
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
593
626
|
hasImg: e.value.userOptions.buttons.img,
|
|
@@ -595,30 +628,30 @@ const ll = ["id"], al = ["id"], sl = ["xmlns", "viewBox"], ol = ["x", "y", "widt
|
|
|
595
628
|
hasTable: e.value.userOptions.buttons.table,
|
|
596
629
|
hasLabel: !1,
|
|
597
630
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
598
|
-
isFullscreen:
|
|
599
|
-
chartElement:
|
|
631
|
+
isFullscreen: H.value,
|
|
632
|
+
chartElement: L.value,
|
|
600
633
|
position: e.value.userOptions.position,
|
|
601
|
-
isTooltip:
|
|
634
|
+
isTooltip: k.value.showTooltip,
|
|
602
635
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
603
636
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
604
|
-
isAnnotation:
|
|
637
|
+
isAnnotation: Z.value,
|
|
605
638
|
callbacks: e.value.userOptions.callbacks,
|
|
606
639
|
printScale: e.value.userOptions.print.scale,
|
|
607
|
-
onToggleFullscreen:
|
|
608
|
-
onGeneratePdf: u(
|
|
609
|
-
onGenerateCsv:
|
|
610
|
-
onGenerateImage: u(
|
|
611
|
-
onToggleTable:
|
|
612
|
-
onToggleTooltip:
|
|
613
|
-
onToggleAnnotator:
|
|
614
|
-
style:
|
|
615
|
-
visibility: u(
|
|
640
|
+
onToggleFullscreen: De,
|
|
641
|
+
onGeneratePdf: u(Me),
|
|
642
|
+
onGenerateCsv: ce,
|
|
643
|
+
onGenerateImage: u(ze),
|
|
644
|
+
onToggleTable: Xe,
|
|
645
|
+
onToggleTooltip: Be,
|
|
646
|
+
onToggleAnnotator: ve,
|
|
647
|
+
style: $({
|
|
648
|
+
visibility: u($e) ? u(ie) ? "visible" : "hidden" : "visible"
|
|
616
649
|
})
|
|
617
|
-
},
|
|
650
|
+
}, Ye({ _: 2 }, [
|
|
618
651
|
t.$slots.menuIcon ? {
|
|
619
652
|
name: "menuIcon",
|
|
620
653
|
fn: m(({ isOpen: l, color: i }) => [
|
|
621
|
-
p(t.$slots, "menuIcon",
|
|
654
|
+
p(t.$slots, "menuIcon", B(R({ isOpen: l, color: i })), void 0, !0)
|
|
622
655
|
]),
|
|
623
656
|
key: "0"
|
|
624
657
|
} : void 0,
|
|
@@ -660,26 +693,26 @@ const ll = ["id"], al = ["id"], sl = ["xmlns", "viewBox"], ol = ["x", "y", "widt
|
|
|
660
693
|
t.$slots.optionFullscreen ? {
|
|
661
694
|
name: "optionFullscreen",
|
|
662
695
|
fn: m(({ toggleFullscreen: l, isFullscreen: i }) => [
|
|
663
|
-
p(t.$slots, "optionFullscreen",
|
|
696
|
+
p(t.$slots, "optionFullscreen", B(R({ toggleFullscreen: l, isFullscreen: i })), void 0, !0)
|
|
664
697
|
]),
|
|
665
698
|
key: "6"
|
|
666
699
|
} : void 0,
|
|
667
700
|
t.$slots.optionAnnotator ? {
|
|
668
701
|
name: "optionAnnotator",
|
|
669
702
|
fn: m(({ toggleAnnotator: l, isAnnotator: i }) => [
|
|
670
|
-
p(t.$slots, "optionAnnotator",
|
|
703
|
+
p(t.$slots, "optionAnnotator", B(R({ toggleAnnotator: l, isAnnotator: i })), void 0, !0)
|
|
671
704
|
]),
|
|
672
705
|
key: "7"
|
|
673
706
|
} : void 0
|
|
674
707
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "chartElement", "position", "isTooltip", "titles", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : h("", !0),
|
|
675
708
|
(o(), r("svg", {
|
|
676
709
|
ref_key: "svgRef",
|
|
677
|
-
ref:
|
|
678
|
-
xmlns: u(
|
|
710
|
+
ref: Le,
|
|
711
|
+
xmlns: u(Yt),
|
|
679
712
|
viewBox: `0 0 ${f.value.width < 0 ? 0.1 : f.value.width} ${f.value.height < 0 ? 0.1 : f.value.height}`,
|
|
680
|
-
style:
|
|
713
|
+
style: $(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
|
|
681
714
|
}, [
|
|
682
|
-
|
|
715
|
+
he(u(st)),
|
|
683
716
|
t.$slots["chart-background"] ? (o(), r("foreignObject", {
|
|
684
717
|
key: 0,
|
|
685
718
|
x: c.value.left,
|
|
@@ -691,28 +724,28 @@ const ll = ["id"], al = ["id"], sl = ["xmlns", "viewBox"], ol = ["x", "y", "widt
|
|
|
691
724
|
}
|
|
692
725
|
}, [
|
|
693
726
|
p(t.$slots, "chart-background", {}, void 0, !0)
|
|
694
|
-
], 8,
|
|
695
|
-
e.value.style.chart.plots.gradient.show ? (o(), r("defs",
|
|
696
|
-
(o(!0), r(
|
|
697
|
-
id: `gradient_${i}_${
|
|
727
|
+
], 8, vl)) : h("", !0),
|
|
728
|
+
e.value.style.chart.plots.gradient.show ? (o(), r("defs", hl, [
|
|
729
|
+
(o(!0), r(b, null, g(P.value, (l, i) => (o(), r("radialGradient", {
|
|
730
|
+
id: `gradient_${i}_${S.value}`,
|
|
698
731
|
fy: "30%"
|
|
699
732
|
}, [
|
|
700
|
-
|
|
733
|
+
_("stop", {
|
|
701
734
|
offset: "10%",
|
|
702
|
-
"stop-color": u(
|
|
703
|
-
}, null, 8,
|
|
704
|
-
|
|
735
|
+
"stop-color": u(Et)(l.color, e.value.style.chart.plots.gradient.intensity / 100)
|
|
736
|
+
}, null, 8, yl),
|
|
737
|
+
_("stop", {
|
|
705
738
|
offset: "90%",
|
|
706
|
-
"stop-color": u(
|
|
707
|
-
}, null, 8,
|
|
708
|
-
|
|
739
|
+
"stop-color": u(Ht)(l.color, 0.1)
|
|
740
|
+
}, null, 8, fl),
|
|
741
|
+
_("stop", {
|
|
709
742
|
offset: "100%",
|
|
710
743
|
"stop-color": l.color
|
|
711
|
-
}, null, 8,
|
|
712
|
-
], 8,
|
|
744
|
+
}, null, 8, xl)
|
|
745
|
+
], 8, dl))), 256))
|
|
713
746
|
])) : h("", !0),
|
|
714
|
-
e.value.style.chart.grid.verticalLines.show ? (o(), r("g",
|
|
715
|
-
(o(!0), r(
|
|
747
|
+
e.value.style.chart.grid.verticalLines.show ? (o(), r("g", pl, [
|
|
748
|
+
(o(!0), r(b, null, g(x.value.tickX, (l) => (o(), r("line", {
|
|
716
749
|
x1: l.x,
|
|
717
750
|
x2: l.x,
|
|
718
751
|
y1: l.y1,
|
|
@@ -720,10 +753,10 @@ const ll = ["id"], al = ["id"], sl = ["xmlns", "viewBox"], ol = ["x", "y", "widt
|
|
|
720
753
|
stroke: e.value.style.chart.grid.verticalLines.stroke,
|
|
721
754
|
"stroke-width": e.value.style.chart.grid.verticalLines.strokeWidth,
|
|
722
755
|
"stroke-linecap": "round"
|
|
723
|
-
}, null, 8,
|
|
756
|
+
}, null, 8, ml))), 256))
|
|
724
757
|
])) : h("", !0),
|
|
725
|
-
e.value.style.chart.axes.y.labels.show ? (o(), r("g",
|
|
726
|
-
(o(!0), r(
|
|
758
|
+
e.value.style.chart.axes.y.labels.show ? (o(), r("g", bl, [
|
|
759
|
+
(o(!0), r(b, null, g(x.value.tickY, (l) => (o(), r("line", {
|
|
727
760
|
stroke: e.value.style.chart.grid.verticalLines.stroke,
|
|
728
761
|
"stroke-width": e.value.style.chart.grid.verticalLines.strokeWidth,
|
|
729
762
|
"stroke-linecap": "round",
|
|
@@ -731,20 +764,20 @@ const ll = ["id"], al = ["id"], sl = ["xmlns", "viewBox"], ol = ["x", "y", "widt
|
|
|
731
764
|
x2: c.value.left,
|
|
732
765
|
y1: l.y,
|
|
733
766
|
y2: l.y
|
|
734
|
-
}, null, 8,
|
|
767
|
+
}, null, 8, gl))), 256))
|
|
735
768
|
])) : h("", !0),
|
|
736
769
|
e.value.style.chart.axes.y.labels.show ? (o(), r("g", {
|
|
737
770
|
key: 4,
|
|
738
771
|
ref_key: "yAxisScales",
|
|
739
|
-
ref:
|
|
772
|
+
ref: oe
|
|
740
773
|
}, [
|
|
741
|
-
(o(!0), r(
|
|
774
|
+
(o(!0), r(b, null, g(x.value.tickY, (l) => (o(), r("text", {
|
|
742
775
|
x: c.value.left + e.value.style.chart.axes.y.labels.offsetX - 4 - e.value.style.chart.plots.radius,
|
|
743
776
|
y: l.y + n.value.yAxisLabels / 3,
|
|
744
777
|
fill: e.value.style.chart.axes.y.labels.color,
|
|
745
778
|
"font-size": n.value.yAxisLabels,
|
|
746
779
|
"text-anchor": "end"
|
|
747
|
-
},
|
|
780
|
+
}, T(u(Y)(
|
|
748
781
|
e.value.style.chart.axes.y.labels.formatter,
|
|
749
782
|
l.value,
|
|
750
783
|
u(E)({
|
|
@@ -753,20 +786,20 @@ const ll = ["id"], al = ["id"], sl = ["xmlns", "viewBox"], ol = ["x", "y", "widt
|
|
|
753
786
|
s: e.value.style.chart.axes.y.labels.suffix,
|
|
754
787
|
r: e.value.style.chart.axes.y.labels.rounding
|
|
755
788
|
})
|
|
756
|
-
)), 9,
|
|
789
|
+
)), 9, kl))), 256))
|
|
757
790
|
], 512)) : h("", !0),
|
|
758
791
|
e.value.style.chart.axes.y.name.text ? (o(), r("text", {
|
|
759
792
|
key: 5,
|
|
760
793
|
ref_key: "yAxisLabel",
|
|
761
|
-
ref:
|
|
794
|
+
ref: se,
|
|
762
795
|
transform: `translate(${n.value.yAxisName}, ${f.value.height / 2 + e.value.style.chart.axes.y.name.offsetY}), rotate(-90)`,
|
|
763
796
|
"font-size": n.value.yAxisName,
|
|
764
797
|
fill: e.value.style.chart.axes.y.name.color,
|
|
765
798
|
"font-weight": e.value.style.chart.axes.y.name.bold ? "bold" : "normal",
|
|
766
799
|
"text-anchor": "middle"
|
|
767
|
-
},
|
|
768
|
-
e.value.style.chart.grid.horizontalLines.show ? (o(), r("g",
|
|
769
|
-
(o(!0), r(
|
|
800
|
+
}, T(e.value.style.chart.axes.y.name.text), 9, wl)) : h("", !0),
|
|
801
|
+
e.value.style.chart.grid.horizontalLines.show ? (o(), r("g", Cl, [
|
|
802
|
+
(o(!0), r(b, null, g(x.value.tickY, (l) => (o(), r("line", {
|
|
770
803
|
x1: l.x1,
|
|
771
804
|
x2: l.x2,
|
|
772
805
|
y1: l.y,
|
|
@@ -774,10 +807,10 @@ const ll = ["id"], al = ["id"], sl = ["xmlns", "viewBox"], ol = ["x", "y", "widt
|
|
|
774
807
|
stroke: e.value.style.chart.grid.horizontalLines.stroke,
|
|
775
808
|
"stroke-width": e.value.style.chart.grid.horizontalLines.strokeWidth,
|
|
776
809
|
"stroke-linecap": "round"
|
|
777
|
-
}, null, 8,
|
|
810
|
+
}, null, 8, Al))), 256))
|
|
778
811
|
])) : h("", !0),
|
|
779
|
-
e.value.style.chart.axes.x.labels.show ? (o(), r("g",
|
|
780
|
-
(o(!0), r(
|
|
812
|
+
e.value.style.chart.axes.x.labels.show ? (o(), r("g", _l, [
|
|
813
|
+
(o(!0), r(b, null, g(x.value.tickX, (l) => (o(), r("line", {
|
|
781
814
|
stroke: e.value.style.chart.grid.verticalLines.stroke,
|
|
782
815
|
"stroke-width": e.value.style.chart.grid.verticalLines.strokeWidth,
|
|
783
816
|
"stroke-linecap": "round",
|
|
@@ -785,20 +818,20 @@ const ll = ["id"], al = ["id"], sl = ["xmlns", "viewBox"], ol = ["x", "y", "widt
|
|
|
785
818
|
x2: l.x,
|
|
786
819
|
y1: c.value.bottom,
|
|
787
820
|
y2: c.value.bottom + 5
|
|
788
|
-
}, null, 8,
|
|
821
|
+
}, null, 8, $l))), 256))
|
|
789
822
|
])) : h("", !0),
|
|
790
823
|
e.value.style.chart.axes.x.labels.show ? (o(), r("g", {
|
|
791
824
|
key: 8,
|
|
792
825
|
ref_key: "xAxisScales",
|
|
793
|
-
ref:
|
|
826
|
+
ref: G
|
|
794
827
|
}, [
|
|
795
|
-
(o(!0), r(
|
|
828
|
+
(o(!0), r(b, null, g(x.value.tickX, (l) => (o(), r("text", {
|
|
796
829
|
class: "vue-ui-history-plot-x-axis-scale",
|
|
797
830
|
transform: `translate(${l.x}, ${c.value.bottom + e.value.style.chart.axes.x.labels.offsetY + n.value.xAxisLabels + e.value.style.chart.plots.radius}), rotate(${e.value.style.chart.axes.x.labels.rotation})`,
|
|
798
831
|
fill: e.value.style.chart.axes.x.labels.color,
|
|
799
832
|
"font-size": n.value.xAxisLabels,
|
|
800
833
|
"text-anchor": e.value.style.chart.axes.x.labels.rotation > 0 ? "start" : e.value.style.chart.axes.x.labels.rotation < 0 ? "end" : "middle"
|
|
801
|
-
},
|
|
834
|
+
}, T(u(Y)(
|
|
802
835
|
e.value.style.chart.axes.x.labels.formatter,
|
|
803
836
|
l.value,
|
|
804
837
|
u(E)({
|
|
@@ -807,19 +840,19 @@ const ll = ["id"], al = ["id"], sl = ["xmlns", "viewBox"], ol = ["x", "y", "widt
|
|
|
807
840
|
s: e.value.style.chart.axes.x.labels.suffix,
|
|
808
841
|
r: e.value.style.chart.axes.x.labels.rounding
|
|
809
842
|
})
|
|
810
|
-
)), 9,
|
|
843
|
+
)), 9, Ll))), 256))
|
|
811
844
|
], 512)) : h("", !0),
|
|
812
845
|
e.value.style.chart.axes.x.name.text ? (o(), r("text", {
|
|
813
846
|
key: 9,
|
|
814
847
|
ref_key: "xAxisLabel",
|
|
815
|
-
ref:
|
|
848
|
+
ref: ae,
|
|
816
849
|
x: f.value.width / 2 + e.value.style.chart.axes.x.name.offsetX,
|
|
817
850
|
y: f.value.height,
|
|
818
851
|
"font-size": n.value.xAxisName,
|
|
819
852
|
fill: e.value.style.chart.axes.x.name.color,
|
|
820
853
|
"font-weight": e.value.style.chart.axes.x.name.bold ? "bold" : "normal",
|
|
821
854
|
"text-anchor": "middle"
|
|
822
|
-
},
|
|
855
|
+
}, T(e.value.style.chart.axes.x.name.text), 9, Sl)) : h("", !0),
|
|
823
856
|
e.value.style.chart.grid.xAxis.show ? (o(), r("line", {
|
|
824
857
|
key: 10,
|
|
825
858
|
x1: c.value.left,
|
|
@@ -829,7 +862,7 @@ const ll = ["id"], al = ["id"], sl = ["xmlns", "viewBox"], ol = ["x", "y", "widt
|
|
|
829
862
|
stroke: e.value.style.chart.grid.xAxis.stroke,
|
|
830
863
|
"stroke-width": e.value.style.chart.grid.xAxis.strokeWidth,
|
|
831
864
|
"stroke-linecap": "round"
|
|
832
|
-
}, null, 8,
|
|
865
|
+
}, null, 8, Tl)) : h("", !0),
|
|
833
866
|
e.value.style.chart.grid.yAxis.show ? (o(), r("line", {
|
|
834
867
|
key: 11,
|
|
835
868
|
x1: c.value.left,
|
|
@@ -839,55 +872,55 @@ const ll = ["id"], al = ["id"], sl = ["xmlns", "viewBox"], ol = ["x", "y", "widt
|
|
|
839
872
|
stroke: e.value.style.chart.grid.yAxis.stroke,
|
|
840
873
|
"stroke-width": e.value.style.chart.grid.yAxis.strokeWidth,
|
|
841
874
|
"stroke-linecap": "round"
|
|
842
|
-
}, null, 8,
|
|
843
|
-
(o(!0), r(
|
|
875
|
+
}, null, 8, Ml)) : h("", !0),
|
|
876
|
+
(o(!0), r(b, null, g(P.value, (l, i) => (o(), r("g", null, [
|
|
844
877
|
e.value.style.chart.paths.show ? (o(), r("g", {
|
|
845
878
|
key: 0,
|
|
846
|
-
style:
|
|
879
|
+
style: $({
|
|
847
880
|
opacity: A.value === null ? 1 : 0.3
|
|
848
881
|
})
|
|
849
882
|
}, [
|
|
850
|
-
|
|
883
|
+
_("path", {
|
|
851
884
|
d: l.path,
|
|
852
885
|
stroke: e.value.style.chart.backgroundColor,
|
|
853
886
|
"stroke-width": e.value.style.chart.paths.strokeWidth + 4,
|
|
854
887
|
fill: "none",
|
|
855
888
|
"stroke-linecap": "round",
|
|
856
889
|
"stroke-linejoin": "round",
|
|
857
|
-
class:
|
|
858
|
-
}, null, 10,
|
|
859
|
-
|
|
890
|
+
class: F({ animated: e.value.useCssAnimation && !u(z) })
|
|
891
|
+
}, null, 10, zl),
|
|
892
|
+
_("path", {
|
|
860
893
|
d: l.path,
|
|
861
894
|
stroke: e.value.style.chart.paths.useSerieColor ? l.color : e.value.style.chart.paths.stroke,
|
|
862
895
|
"stroke-width": e.value.style.chart.paths.strokeWidth,
|
|
863
896
|
fill: "none",
|
|
864
897
|
"stroke-linecap": "round",
|
|
865
898
|
"stroke-linejoin": "round",
|
|
866
|
-
class:
|
|
867
|
-
}, null, 10,
|
|
899
|
+
class: F({ animated: e.value.useCssAnimation && !u(z) })
|
|
900
|
+
}, null, 10, Nl)
|
|
868
901
|
], 4)) : h("", !0),
|
|
869
|
-
(o(!0), r(
|
|
902
|
+
(o(!0), r(b, null, g(l.plots, (s) => (o(), r("circle", {
|
|
870
903
|
cx: s.x,
|
|
871
904
|
cy: s.y,
|
|
872
905
|
fill: e.value.style.chart.backgroundColor,
|
|
873
906
|
r: n.value.plots,
|
|
874
907
|
stroke: "none"
|
|
875
|
-
}, null, 8,
|
|
876
|
-
(o(!0), r(
|
|
908
|
+
}, null, 8, Ol))), 256)),
|
|
909
|
+
(o(!0), r(b, null, g(l.plots, (s) => (o(), r("circle", {
|
|
877
910
|
cx: s.x,
|
|
878
911
|
cy: s.y,
|
|
879
|
-
fill: e.value.style.chart.plots.gradient.show ? `url(#gradient_${i}_${
|
|
912
|
+
fill: e.value.style.chart.plots.gradient.show ? `url(#gradient_${i}_${S.value})` : s.color,
|
|
880
913
|
r: n.value.plots,
|
|
881
914
|
stroke: e.value.style.chart.plots.stroke,
|
|
882
915
|
"stroke-width": e.value.style.chart.plots.strokeWidth,
|
|
883
|
-
class:
|
|
884
|
-
style:
|
|
916
|
+
class: F({ animated: e.value.useCssAnimation && !u(z) }),
|
|
917
|
+
style: $({
|
|
885
918
|
opacity: A.value === null || A.value.id === s.id ? 1 : 0.3,
|
|
886
919
|
transition: "opacity 0.2s ease-in-out"
|
|
887
920
|
})
|
|
888
|
-
}, null, 14,
|
|
889
|
-
e.value.style.chart.plots.labels.show ? (o(), r("g",
|
|
890
|
-
(o(!0), r(
|
|
921
|
+
}, null, 14, Il))), 256)),
|
|
922
|
+
e.value.style.chart.plots.labels.show ? (o(), r("g", Pl, [
|
|
923
|
+
(o(!0), r(b, null, g(l.plots, (s) => (o(), r("g", null, [
|
|
891
924
|
String(s.label).includes(`
|
|
892
925
|
`) ? (o(), r("text", {
|
|
893
926
|
key: 1,
|
|
@@ -897,19 +930,19 @@ const ll = ["id"], al = ["id"], sl = ["xmlns", "viewBox"], ol = ["x", "y", "widt
|
|
|
897
930
|
fill: e.value.style.chart.plots.labels.color,
|
|
898
931
|
"font-weight": e.value.style.chart.plots.labels.bold ? "bold" : "normal",
|
|
899
932
|
"text-anchor": "middle",
|
|
900
|
-
class:
|
|
901
|
-
style:
|
|
933
|
+
class: F({ animated: e.value.useCssAnimation && !u(z) }),
|
|
934
|
+
style: $({
|
|
902
935
|
opacity: A.value === null || A.value.id === s.id ? 1 : 0.3,
|
|
903
936
|
transition: "opacity 0.2s ease-in-out"
|
|
904
937
|
}),
|
|
905
|
-
innerHTML: u(
|
|
938
|
+
innerHTML: u(Wt)({
|
|
906
939
|
content: String(s.label),
|
|
907
940
|
fontSize: n.value.labels,
|
|
908
941
|
fill: e.value.style.chart.plots.labels.color,
|
|
909
942
|
x: s.x + e.value.style.chart.plots.labels.offsetX,
|
|
910
943
|
y: s.y + e.value.style.chart.plots.labels.offsetY + n.value.plots + n.value.labels
|
|
911
944
|
})
|
|
912
|
-
}, null, 14,
|
|
945
|
+
}, null, 14, Dl)) : (o(), r("text", {
|
|
913
946
|
key: 0,
|
|
914
947
|
x: s.x + e.value.style.chart.plots.labels.offsetX,
|
|
915
948
|
y: s.y + e.value.style.chart.plots.labels.offsetY + n.value.plots + n.value.labels,
|
|
@@ -917,103 +950,103 @@ const ll = ["id"], al = ["id"], sl = ["xmlns", "viewBox"], ol = ["x", "y", "widt
|
|
|
917
950
|
fill: e.value.style.chart.plots.labels.color,
|
|
918
951
|
"font-weight": e.value.style.chart.plots.labels.bold ? "bold" : "normal",
|
|
919
952
|
"text-anchor": "middle",
|
|
920
|
-
class:
|
|
921
|
-
style:
|
|
953
|
+
class: F({ animated: e.value.useCssAnimation && !u(z) }),
|
|
954
|
+
style: $({
|
|
922
955
|
opacity: A.value === null || A.value.id === s.id ? 1 : 0.3,
|
|
923
956
|
transition: "opacity 0.2s ease-in-out"
|
|
924
957
|
})
|
|
925
|
-
},
|
|
958
|
+
}, T(s.label), 15, Fl))
|
|
926
959
|
]))), 256))
|
|
927
960
|
])) : h("", !0),
|
|
928
|
-
e.value.style.chart.plots.indexLabels.show ? (o(), r("g",
|
|
929
|
-
(o(!0), r(
|
|
961
|
+
e.value.style.chart.plots.indexLabels.show ? (o(), r("g", Xl, [
|
|
962
|
+
(o(!0), r(b, null, g(l.plots, (s, w) => (o(), r("text", {
|
|
930
963
|
x: s.x + e.value.style.chart.plots.indexLabels.offsetX,
|
|
931
964
|
y: s.y + e.value.style.chart.plots.indexLabels.offsetY + n.value.indexLabels / 3,
|
|
932
965
|
"font-size": n.value.indexLabels,
|
|
933
966
|
"font-weight": e.value.style.chart.plots.indexLabels.bold ? "bold" : "normal",
|
|
934
|
-
fill: e.value.style.chart.plots.indexLabels.adaptColorToBackground ? u(
|
|
967
|
+
fill: e.value.style.chart.plots.indexLabels.adaptColorToBackground ? u(jt)(l.color) : e.value.style.chart.plots.indexLabels.color,
|
|
935
968
|
"text-anchor": "middle",
|
|
936
|
-
class:
|
|
937
|
-
style:
|
|
969
|
+
class: F({ animated: e.value.useCssAnimation && !u(z) }),
|
|
970
|
+
style: $({
|
|
938
971
|
opacity: A.value === null || A.value.id === s.id ? 1 : 0.3,
|
|
939
972
|
transition: "opacity 0.2s ease-in-out"
|
|
940
973
|
})
|
|
941
|
-
},
|
|
974
|
+
}, T(e.value.style.chart.plots.indexLabels.startAtZero ? w : w + 1), 15, Bl))), 256))
|
|
942
975
|
])) : h("", !0)
|
|
943
976
|
]))), 256)),
|
|
944
|
-
(o(!0), r(
|
|
945
|
-
(o(!0), r(
|
|
977
|
+
(o(!0), r(b, null, g(P.value, (l) => (o(), r("g", null, [
|
|
978
|
+
(o(!0), r(b, null, g(l.plots, (i, s) => (o(), r("circle", {
|
|
946
979
|
cx: i.x,
|
|
947
980
|
cy: i.y,
|
|
948
981
|
fill: "transparent",
|
|
949
982
|
r: n.value.plots,
|
|
950
983
|
stroke: "none",
|
|
951
|
-
onMouseenter: (
|
|
984
|
+
onMouseenter: (w) => Ct({
|
|
952
985
|
datapoint: i,
|
|
953
986
|
plotIndex: s,
|
|
954
987
|
seriesIndex: l.seriesIndex
|
|
955
988
|
}),
|
|
956
|
-
onMouseleave: (
|
|
989
|
+
onMouseleave: (w) => wt({
|
|
957
990
|
datapoint: i,
|
|
958
991
|
plotIndex: s,
|
|
959
992
|
seriesIndex: l.seriesIndex
|
|
960
993
|
}),
|
|
961
|
-
onClick: (
|
|
994
|
+
onClick: (w) => kt({
|
|
962
995
|
datapoint: i,
|
|
963
996
|
plotIndex: s,
|
|
964
997
|
seriesIndex: l.seriesIndex
|
|
965
998
|
})
|
|
966
|
-
}, null, 40,
|
|
999
|
+
}, null, 40, Rl))), 256))
|
|
967
1000
|
]))), 256)),
|
|
968
1001
|
p(t.$slots, "svg", { svg: f.value }, void 0, !0)
|
|
969
|
-
], 12,
|
|
970
|
-
t.$slots.watermark ? (o(), r("div",
|
|
971
|
-
p(t.$slots, "watermark",
|
|
1002
|
+
], 12, cl)),
|
|
1003
|
+
t.$slots.watermark ? (o(), r("div", Yl, [
|
|
1004
|
+
p(t.$slots, "watermark", B(R({ isPrinting: u(Se) || u(Te) })), void 0, !0)
|
|
972
1005
|
])) : h("", !0),
|
|
973
|
-
|
|
974
|
-
id: `legend-bottom-${
|
|
975
|
-
}, null, 8,
|
|
976
|
-
|
|
1006
|
+
_("div", {
|
|
1007
|
+
id: `legend-bottom-${S.value}`
|
|
1008
|
+
}, null, 8, El),
|
|
1009
|
+
ke.value ? (o(), I(Nt, {
|
|
977
1010
|
key: 5,
|
|
978
|
-
to: e.value.style.chart.legend.position === "top" ? `#legend-top-${
|
|
1011
|
+
to: e.value.style.chart.legend.position === "top" ? `#legend-top-${S.value}` : `#legend-bottom-${S.value}`
|
|
979
1012
|
}, [
|
|
980
|
-
|
|
1013
|
+
_("div", {
|
|
981
1014
|
ref_key: "chartLegend",
|
|
982
|
-
ref:
|
|
1015
|
+
ref: fe
|
|
983
1016
|
}, [
|
|
984
|
-
e.value.style.chart.legend.show &&
|
|
985
|
-
key: `legend_${
|
|
986
|
-
legendSet:
|
|
987
|
-
config:
|
|
1017
|
+
e.value.style.chart.legend.show && V.value ? (o(), I(rl, {
|
|
1018
|
+
key: `legend_${xe.value}`,
|
|
1019
|
+
legendSet: Pe.value,
|
|
1020
|
+
config: gt.value,
|
|
988
1021
|
onClickMarker: a[0] || (a[0] = ({ legend: l }) => {
|
|
989
|
-
|
|
1022
|
+
Ie(l.seriesIndex), Fe(l);
|
|
990
1023
|
})
|
|
991
1024
|
}, {
|
|
992
1025
|
item: m(({ legend: l, index: i }) => [
|
|
993
|
-
|
|
1026
|
+
_("div", {
|
|
994
1027
|
onClick: (s) => {
|
|
995
|
-
l.segregate(),
|
|
1028
|
+
l.segregate(), Fe(l);
|
|
996
1029
|
},
|
|
997
|
-
style:
|
|
998
|
-
},
|
|
1030
|
+
style: $(`opacity:${C.value.includes(l.seriesIndex) ? 0.5 : 1}`)
|
|
1031
|
+
}, T(l.name), 13, Hl)
|
|
999
1032
|
]),
|
|
1000
1033
|
_: 1
|
|
1001
1034
|
}, 8, ["legendSet", "config"])) : p(t.$slots, "legend", {
|
|
1002
1035
|
key: 1,
|
|
1003
|
-
legend:
|
|
1036
|
+
legend: Pe.value
|
|
1004
1037
|
}, void 0, !0)
|
|
1005
1038
|
], 512)
|
|
1006
1039
|
], 8, ["to"])) : h("", !0),
|
|
1007
1040
|
t.$slots.source ? (o(), r("div", {
|
|
1008
1041
|
key: 6,
|
|
1009
1042
|
ref_key: "source",
|
|
1010
|
-
ref:
|
|
1043
|
+
ref: ge,
|
|
1011
1044
|
dir: "auto"
|
|
1012
1045
|
}, [
|
|
1013
1046
|
p(t.$slots, "source", {}, void 0, !0)
|
|
1014
1047
|
], 512)) : h("", !0),
|
|
1015
|
-
|
|
1016
|
-
show:
|
|
1048
|
+
he(u(Ke), {
|
|
1049
|
+
show: k.value.showTooltip && te.value,
|
|
1017
1050
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
1018
1051
|
color: e.value.style.chart.tooltip.color,
|
|
1019
1052
|
fontSize: e.value.style.chart.tooltip.fontSize,
|
|
@@ -1023,65 +1056,79 @@ const ll = ["id"], al = ["id"], sl = ["xmlns", "viewBox"], ol = ["x", "y", "widt
|
|
|
1023
1056
|
backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
|
|
1024
1057
|
position: e.value.style.chart.tooltip.position,
|
|
1025
1058
|
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
1026
|
-
parent:
|
|
1027
|
-
content:
|
|
1028
|
-
isCustom:
|
|
1029
|
-
isFullscreen:
|
|
1059
|
+
parent: L.value,
|
|
1060
|
+
content: le.value,
|
|
1061
|
+
isCustom: W.value,
|
|
1062
|
+
isFullscreen: H.value,
|
|
1030
1063
|
smooth: e.value.style.chart.tooltip.smooth,
|
|
1031
1064
|
backdropFilter: e.value.style.chart.tooltip.backdropFilter
|
|
1032
1065
|
}, {
|
|
1033
1066
|
"tooltip-before": m(() => [
|
|
1034
|
-
p(t.$slots, "tooltip-before",
|
|
1067
|
+
p(t.$slots, "tooltip-before", B(R({ ...ue.value })), void 0, !0)
|
|
1035
1068
|
]),
|
|
1036
1069
|
"tooltip-after": m(() => [
|
|
1037
|
-
p(t.$slots, "tooltip-after",
|
|
1070
|
+
p(t.$slots, "tooltip-after", B(R({ ...ue.value })), void 0, !0)
|
|
1038
1071
|
]),
|
|
1039
1072
|
_: 3
|
|
1040
1073
|
}, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom", "isFullscreen", "smooth", "backdropFilter"]),
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
maxHeight: 1e4,
|
|
1047
|
-
body: {
|
|
1048
|
-
backgroundColor: e.value.style.chart.backgroundColor,
|
|
1049
|
-
color: e.value.style.chart.color
|
|
1050
|
-
},
|
|
1051
|
-
head: {
|
|
1052
|
-
backgroundColor: e.value.style.chart.backgroundColor,
|
|
1053
|
-
color: e.value.style.chart.color
|
|
1054
|
-
}
|
|
1055
|
-
}
|
|
1056
|
-
}, {
|
|
1074
|
+
V.value ? (o(), I(Ot(U.value.component), It({ key: 7 }, U.value.props, {
|
|
1075
|
+
ref_key: "tableUnit",
|
|
1076
|
+
ref: j,
|
|
1077
|
+
onClose: a[3] || (a[3] = (l) => k.value.showTable = !1)
|
|
1078
|
+
}), Ye({
|
|
1057
1079
|
content: m(() => [
|
|
1058
|
-
(o(),
|
|
1059
|
-
key: `table_${
|
|
1060
|
-
colNames:
|
|
1061
|
-
head:
|
|
1062
|
-
body:
|
|
1063
|
-
config:
|
|
1064
|
-
title:
|
|
1065
|
-
|
|
1080
|
+
(o(), I(u(tt), {
|
|
1081
|
+
key: `table_${pe.value}`,
|
|
1082
|
+
colNames: q.value.colNames,
|
|
1083
|
+
head: q.value.head,
|
|
1084
|
+
body: q.value.body,
|
|
1085
|
+
config: q.value.config,
|
|
1086
|
+
title: e.value.table.useDialog ? "" : U.value.title,
|
|
1087
|
+
withCloseButton: !e.value.table.useDialog,
|
|
1088
|
+
onClose: a[2] || (a[2] = (l) => k.value.showTable = !1)
|
|
1066
1089
|
}, {
|
|
1067
1090
|
th: m(({ th: l }) => [
|
|
1068
|
-
|
|
1091
|
+
_("div", {
|
|
1069
1092
|
innerHTML: l,
|
|
1070
1093
|
style: { display: "flex", "align-items": "center" }
|
|
1071
|
-
}, null, 8,
|
|
1094
|
+
}, null, 8, Wl)
|
|
1072
1095
|
]),
|
|
1073
1096
|
td: m(({ td: l }) => [
|
|
1074
|
-
|
|
1097
|
+
Ee(T(l.name || l), 1)
|
|
1075
1098
|
]),
|
|
1076
1099
|
_: 1
|
|
1077
|
-
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
1100
|
+
}, 8, ["colNames", "head", "body", "config", "title", "withCloseButton"]))
|
|
1078
1101
|
]),
|
|
1079
|
-
_:
|
|
1080
|
-
},
|
|
1081
|
-
|
|
1082
|
-
|
|
1102
|
+
_: 2
|
|
1103
|
+
}, [
|
|
1104
|
+
e.value.table.useDialog ? {
|
|
1105
|
+
name: "title",
|
|
1106
|
+
fn: m(() => [
|
|
1107
|
+
Ee(T(U.value.title), 1)
|
|
1108
|
+
]),
|
|
1109
|
+
key: "0"
|
|
1110
|
+
} : void 0,
|
|
1111
|
+
e.value.table.useDialog ? {
|
|
1112
|
+
name: "actions",
|
|
1113
|
+
fn: m(() => [
|
|
1114
|
+
_("button", {
|
|
1115
|
+
tabindex: "0",
|
|
1116
|
+
class: "vue-ui-user-options-button",
|
|
1117
|
+
onClick: a[1] || (a[1] = (l) => ce(e.value.userOptions.callbacks.csv))
|
|
1118
|
+
}, [
|
|
1119
|
+
he(u(Qe), {
|
|
1120
|
+
name: "excel",
|
|
1121
|
+
stroke: U.value.props.color
|
|
1122
|
+
}, null, 8, ["stroke"])
|
|
1123
|
+
])
|
|
1124
|
+
]),
|
|
1125
|
+
key: "1"
|
|
1126
|
+
} : void 0
|
|
1127
|
+
]), 1040)) : h("", !0),
|
|
1128
|
+
u(z) ? (o(), I(Qt, { key: 8 })) : h("", !0)
|
|
1129
|
+
], 46, il));
|
|
1083
1130
|
}
|
|
1084
|
-
},
|
|
1131
|
+
}, oa = /* @__PURE__ */ nl(jl, [["__scopeId", "data-v-d76a8a07"]]);
|
|
1085
1132
|
export {
|
|
1086
|
-
|
|
1133
|
+
oa as default
|
|
1087
1134
|
};
|