vue-data-ui 2.16.6 → 2.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +83 -53
- package/dist/{Arrow-DCqxVwey.js → Arrow-BAEkZGzL.js} +1 -1
- package/dist/{BaseDraggableDialog-6DIKXIBU.js → BaseDraggableDialog-ChCkcmj_.js} +2 -2
- package/dist/{BaseIcon-Bn996RXm.js → BaseIcon-naqtCxVi.js} +1 -1
- package/dist/{ColorPicker-OFfLkKNb.js → ColorPicker-CfIPgxcj.js} +2 -2
- package/dist/{DataTable-CHBLjKtZ.js → DataTable-D0VYDhfx.js} +2 -2
- package/dist/{Legend-nBXoxXJH.js → Legend-Bxlv67uY.js} +2 -2
- package/dist/{NonSvgPenAndPaper-Cls2idJS.js → NonSvgPenAndPaper-b_oVy-Dd.js} +3 -3
- package/dist/{PackageVersion-Bg_9KCU-.js → PackageVersion-5TR4ocqp.js} +1 -1
- package/dist/{PenAndPaper-BPTpbnay.js → PenAndPaper-D6AqipIO.js} +32 -32
- package/dist/{Shape-Bnf512BA.js → Shape-DtFT5EJa.js} +1 -1
- package/dist/{Slicer-BrqtJG2E.js → Slicer-CL6-MRI6.js} +2 -2
- package/dist/{SparkTooltip-C-rLATAw.js → SparkTooltip-Bcv1aoA5.js} +1 -1
- package/dist/{Title-Gi81VwUM.js → Title-B-2bV0SW.js} +1 -1
- package/dist/{Tooltip-CJxVw7-T.js → Tooltip-CoQnTnr-.js} +1 -1
- package/dist/{UserOptions-CBEK6_jo.js → UserOptions-Dd34lEKb.js} +2 -2
- package/dist/{dom-to-png-CRHNL8VU.js → dom-to-png-2AA0wHlX.js} +1 -1
- package/dist/{img-BgOg8opa.js → img-Y_hYz-ZC.js} +1 -1
- package/dist/{index-DvIXJm6t.js → index-pPGk-uhD.js} +1 -1
- package/dist/{pdf-DhTxBrbJ.js → pdf-yfk3d1is.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +1096 -160
- package/dist/types/vue-data-ui.d.ts +1096 -160
- package/dist/{useNestedProp-DrYHm61t.js → useNestedProp-DjACxgdZ.js} +1 -1
- package/dist/{usePrinter-CWnXbGMb.js → usePrinter-DDHcrl0A.js} +2 -2
- package/dist/vue-data-ui-CIWxgKjd.js +312 -0
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-CtlB4p7i.js → vue-ui-3d-bar-D5Wpdqfk.js} +228 -220
- package/dist/{vue-ui-accordion-D55kCO5G.js → vue-ui-accordion-CVnA550V.js} +3 -3
- package/dist/{vue-ui-age-pyramid-DSshyUn-.js → vue-ui-age-pyramid-BuAl-zC5.js} +179 -171
- package/dist/{vue-ui-annotator-DQSMv_k2.js → vue-ui-annotator-gl2A20m3.js} +2 -2
- package/dist/{vue-ui-bullet-FeScjj7q.js → vue-ui-bullet-D-VMKpwe.js} +127 -119
- package/dist/{vue-ui-candlestick-Drupgyoi.js → vue-ui-candlestick-1r6YwiUV.js} +194 -186
- package/dist/{vue-ui-carousel-table-BTZQRZfO.js → vue-ui-carousel-table-B6UJoNtP.js} +4 -4
- package/dist/{vue-ui-chestnut-DLWjPwRL.js → vue-ui-chestnut-DnlBYpC5.js} +226 -218
- package/dist/{vue-ui-chord-BgLbFBT9.js → vue-ui-chord-D3kpzYjp.js} +175 -167
- package/dist/{vue-ui-circle-pack-VXcRh2gy.js → vue-ui-circle-pack-CHgdpoYu.js} +188 -180
- package/dist/{vue-ui-cursor-DWmfnM25.js → vue-ui-cursor-63EAvElT.js} +2 -2
- package/dist/{vue-ui-dashboard-CGIocEHj.js → vue-ui-dashboard-Da6CPET-.js} +62 -62
- package/dist/{vue-ui-digits-BgQch3Fc.js → vue-ui-digits-CA8pUKej.js} +2 -2
- package/dist/{vue-ui-donut-B59bCV5_.js → vue-ui-donut-CKa7nFjt.js} +329 -321
- package/dist/{vue-ui-donut-evolution-CI8qBIQd.js → vue-ui-donut-evolution-qeBEA4W8.js} +245 -237
- package/dist/{vue-ui-dumbbell-CXv7sk88.js → vue-ui-dumbbell-Bm0PvAKT.js} +144 -136
- package/dist/{vue-ui-flow-DxF0ELtv.js → vue-ui-flow-C2dqXvrU.js} +169 -161
- package/dist/{vue-ui-funnel-Bco8rqF8.js → vue-ui-funnel-Dvy5rRld.js} +132 -124
- package/dist/{vue-ui-galaxy-CaPJwwOj.js → vue-ui-galaxy-Y8LYp5n2.js} +168 -160
- package/dist/{vue-ui-gauge-D7arhDmb.js → vue-ui-gauge-BBo0jWAP.js} +164 -156
- package/dist/{vue-ui-gizmo-Dwli-Mip.js → vue-ui-gizmo-DjXfTOWn.js} +3 -3
- package/dist/{vue-ui-heatmap-Cyn-ahGO.js → vue-ui-heatmap-BbxRpltP.js} +240 -228
- package/dist/{vue-ui-history-plot-C2AEToqx.js → vue-ui-history-plot-ChYf3Nvc.js} +214 -206
- package/dist/{vue-ui-kpi-DKDibSdl.js → vue-ui-kpi-Vfc5-JnE.js} +3 -3
- package/dist/{vue-ui-mini-loader-B8OVutUx.js → vue-ui-mini-loader-C0-Nsz8K.js} +2 -2
- package/dist/{vue-ui-molecule-BVSrqIGw.js → vue-ui-molecule-B7Yu7vzF.js} +158 -150
- package/dist/{vue-ui-mood-radar-DvlyS3RN.js → vue-ui-mood-radar-C8JUTwNw.js} +128 -120
- package/dist/{vue-ui-nested-donuts-D9ssSus6.js → vue-ui-nested-donuts-D0RgFifU.js} +196 -188
- package/dist/{vue-ui-onion-Buu4VX3u.js → vue-ui-onion-D4U7TL_N.js} +166 -158
- package/dist/{vue-ui-parallel-coordinate-plot-DFLUvhxD.js → vue-ui-parallel-coordinate-plot-CXMT7Rjr.js} +186 -178
- package/dist/{vue-ui-quadrant-BMC7NBGd.js → vue-ui-quadrant-B13pTVVZ.js} +182 -174
- package/dist/{vue-ui-quick-chart-DB9RKUkb.js → vue-ui-quick-chart-C0UL4o63.js} +305 -297
- package/dist/{vue-ui-radar-68NMPxxQ.js → vue-ui-radar-XpdiXnhz.js} +167 -159
- package/dist/{vue-ui-rating-swH9kRr3.js → vue-ui-rating-CM8ZrUb1.js} +2 -2
- package/dist/{vue-ui-relation-circle-CT-EdSjO.js → vue-ui-relation-circle-CYoFNekk.js} +144 -136
- package/dist/{vue-ui-ridgeline-DftROPaX.js → vue-ui-ridgeline-QUquE6ck.js} +196 -188
- package/dist/{vue-ui-rings-M-9dPI5D.js → vue-ui-rings-DwT0IfOh.js} +145 -137
- package/dist/{vue-ui-scatter-CsGhaFJh.js → vue-ui-scatter-zDpy1udm.js} +179 -172
- package/dist/{vue-ui-skeleton-BAOt2neL.js → vue-ui-skeleton-DJPjyNYn.js} +3 -3
- package/dist/{vue-ui-smiley-7_kIgPg-.js → vue-ui-smiley-DoDXl6k0.js} +2 -2
- package/dist/{vue-ui-spark-trend-DHlQQpwz.js → vue-ui-spark-trend-CniV6Cpr.js} +3 -3
- package/dist/{vue-ui-sparkbar-BnHhzuKf.js → vue-ui-sparkbar-Ds2ITgwn.js} +3 -3
- package/dist/{vue-ui-sparkgauge-WtfkCK8g.js → vue-ui-sparkgauge-CosfK-kw.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-B2u4XLVd.js → vue-ui-sparkhistogram-C7O1wPAJ.js} +4 -4
- package/dist/{vue-ui-sparkline-DKIyUlSm.js → vue-ui-sparkline-B_iUj3F2.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-BLGz2qIb.js → vue-ui-sparkstackbar-DBhWrysr.js} +3 -3
- package/dist/{vue-ui-stackbar-BDpMsTYe.js → vue-ui-stackbar-C3aV4IcL.js} +240 -232
- package/dist/{vue-ui-strip-plot-5qDcYPnR.js → vue-ui-strip-plot-Bvr1GAzH.js} +204 -196
- package/dist/{vue-ui-table-Bg5HIQ3O.js → vue-ui-table-DQKKRgyo.js} +3 -3
- package/dist/{vue-ui-table-heatmap-DmjNy1q1.js → vue-ui-table-heatmap-Dyqj5XJC.js} +5 -5
- package/dist/{vue-ui-table-sparkline-CnkJkBk5.js → vue-ui-table-sparkline-D4RubyLj.js} +4 -4
- package/dist/{vue-ui-thermometer-RlD-9mJf.js → vue-ui-thermometer-B0FKI5cG.js} +145 -137
- package/dist/{vue-ui-timer-Bes74INL.js → vue-ui-timer-DUCBRIl-.js} +5 -5
- package/dist/{vue-ui-tiremarks-DiLS3akQ.js → vue-ui-tiremarks-CRt4UQZD.js} +108 -100
- package/dist/vue-ui-treemap-CWP5nYDx.js +961 -0
- package/dist/{vue-ui-vertical-bar-CwqQyZFX.js → vue-ui-vertical-bar-C5fPYltO.js} +278 -270
- package/dist/{vue-ui-waffle-Ce3T4BPp.js → vue-ui-waffle-BpWLlfpg.js} +188 -180
- package/dist/{vue-ui-wheel-6B0WTkf2.js → vue-ui-wheel-CTzuCroy.js} +112 -104
- package/dist/{vue-ui-word-cloud-ByYZCOh7.js → vue-ui-word-cloud-BPokdaP1.js} +198 -190
- package/dist/{vue-ui-world-B9PxVO4n.js → vue-ui-world-CS6k-oil.js} +199 -191
- package/dist/{vue-ui-xy-DtJ7qJib.js → vue-ui-xy-CQ425kLR.js} +550 -544
- package/dist/{vue-ui-xy-canvas-S6YpFgzs.js → vue-ui-xy-canvas-D2IFwAr7.js} +306 -298
- package/package.json +1 -1
- package/dist/vue-data-ui-B8EWlMIK.js +0 -301
- package/dist/vue-ui-treemap-BG1Omm38.js +0 -953
|
@@ -1,29 +1,30 @@
|
|
|
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
|
|
9
|
-
import
|
|
10
|
-
import { _ as
|
|
11
|
-
import
|
|
12
|
-
|
|
1
|
+
import { defineAsyncComponent as F, computed as g, ref as y, watch as Ee, shallowRef as Ue, onMounted as bt, onBeforeUnmount as ft, createElementBlock as r, openBlock as s, unref as i, normalizeStyle as q, normalizeClass as T, createBlock as O, createCommentVNode as h, createElementVNode as d, createVNode as de, createSlots as pt, withCtx as m, renderSlot as x, normalizeProps as U, guardReactiveProps as D, Fragment as S, renderList as Y, toDisplayString as L, createTextVNode as gt, nextTick as mt } from "vue";
|
|
2
|
+
import { u as xt, c as De, t as $t, p as he, a as kt, o as Lt, e as G, b as wt, d as qt, Y as _t, i as R, f as V, X as St, s as oe, w as Ct, Z as zt, I as Tt, F as Xt, q as Wt, r as Yt, x as At, y as Mt } from "./index-pPGk-uhD.js";
|
|
3
|
+
import { t as Nt, u as Ot } from "./useResponsive-DfdjqQps.js";
|
|
4
|
+
import { u as Ge } from "./useNestedProp-DjACxgdZ.js";
|
|
5
|
+
import { u as Rt } from "./usePrinter-DDHcrl0A.js";
|
|
6
|
+
import { u as Vt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
7
|
+
import { u as Pt } from "./useChartAccessibility-9icAAmYg.js";
|
|
8
|
+
import Bt from "./Title-B-2bV0SW.js";
|
|
9
|
+
import Ft from "./Legend-Bxlv67uY.js";
|
|
10
|
+
import { _ as Qe } from "./Shape-DtFT5EJa.js";
|
|
11
|
+
import Ht from "./img-Y_hYz-ZC.js";
|
|
12
|
+
import { _ as It } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
|
+
const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "height"], Gt = ["id"], Qt = ["stop-color"], Jt = ["stop-color"], jt = { key: 1 }, Zt = ["fill", "x", "y", "height", "width", "stroke-width", "stroke", "rx"], Kt = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], el = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], tl = { key: 2 }, ll = ["points", "fill"], al = ["points", "fill"], ul = ["points", "fill"], ol = ["points", "fill"], sl = { key: 3 }, rl = ["y", "fill", "font-size"], nl = ["x", "y", "fill", "font-size"], il = ["x", "y", "fill", "font-size"], vl = ["y", "fill", "font-size"], cl = { key: 4 }, dl = ["x", "y", "font-size", "fill"], hl = ["x", "y", "font-size", "fill"], yl = ["x", "y", "font-size", "fill"], bl = ["id", "font-size", "transform", "fill"], fl = ["id", "font-size", "transform", "fill"], pl = ["id", "font-size", "transform", "fill"], gl = { key: 5 }, ml = ["fill", "points"], xl = ["x", "y", "width", "height"], $l = ["x", "y", "width", "height"], kl = ["x", "y", "width", "height"], Ll = ["x", "y", "width", "height"], wl = {
|
|
13
14
|
key: 0,
|
|
14
15
|
style: { "pointer-events": "none" }
|
|
15
|
-
},
|
|
16
|
+
}, ql = ["x", "y", "font-size", "fill"], _l = ["x", "y", "font-size", "fill", "innerHTML"], Sl = { key: 0 }, Cl = ["x", "y", "onMouseover", "onClick"], zl = {
|
|
16
17
|
key: 8,
|
|
17
18
|
class: "vue-ui-dna"
|
|
18
|
-
},
|
|
19
|
+
}, Tl = ["points", "fill"], Xl = ["points", "fill"], Wl = ["points", "fill"], Yl = ["points", "fill"], Al = { key: 9 }, Ml = ["x", "y", "font-size", "fill", "font-weight"], Nl = { key: 10 }, Ol = ["x", "y", "fill"], Rl = ["x", "y", "fill"], Vl = ["x", "y", "fill"], Pl = ["x", "y", "fill"], Bl = ["stroke", "d"], Fl = ["stroke", "d"], Hl = {
|
|
19
20
|
key: 5,
|
|
20
21
|
class: "vue-data-ui-watermark"
|
|
21
|
-
},
|
|
22
|
+
}, Il = ["onClick"], El = {
|
|
22
23
|
key: 0,
|
|
23
24
|
height: "14",
|
|
24
25
|
width: "14",
|
|
25
26
|
viewBox: "0 0 20 20"
|
|
26
|
-
},
|
|
27
|
+
}, Ul = ["innerHTML"], Dl = {
|
|
27
28
|
__name: "vue-ui-quadrant",
|
|
28
29
|
props: {
|
|
29
30
|
config: {
|
|
@@ -40,45 +41,45 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
40
41
|
}
|
|
41
42
|
},
|
|
42
43
|
emits: ["selectPlot", "selectSide", "selectLegend"],
|
|
43
|
-
setup(
|
|
44
|
-
const
|
|
44
|
+
setup(Je, { expose: je, emit: Ze }) {
|
|
45
|
+
const Ke = F(() => import("./DataTable-D0VYDhfx.js")), et = F(() => import("./PenAndPaper-D6AqipIO.js")), tt = F(() => import("./vue-ui-accordion-CVnA550V.js")), lt = F(() => import("./vue-ui-skeleton-DJPjyNYn.js")), at = F(() => import("./Tooltip-CoQnTnr-.js")), ut = F(() => import("./UserOptions-Dd34lEKb.js")), ot = F(() => import("./PackageVersion-5TR4ocqp.js")), { vue_ui_quadrant: st } = xt(), X = Je, K = g(() => !!X.dataset && X.dataset.length), z = y(De()), se = Ze, rt = y(null), ee = y(!1), re = y(""), ye = y(0), f = y(!1), P = y(null), be = y(null), fe = y(null), pe = y(null), ge = y(null), me = y(0), xe = y(0), $e = y(0), t = g({
|
|
45
46
|
get: () => qe(),
|
|
46
47
|
set: (l) => l
|
|
47
|
-
}), { userOptionsVisible: ne, setUserOptionsVisibility: ke, keepUserOptionState: Le } =
|
|
48
|
+
}), { userOptionsVisible: ne, setUserOptionsVisibility: ke, keepUserOptionState: Le } = Vt({ config: t.value }), { svgRef: we } = Pt({ config: t.value.style.chart.title });
|
|
48
49
|
function qe() {
|
|
49
|
-
const l =
|
|
50
|
+
const l = Ge({
|
|
50
51
|
userConfig: X.config,
|
|
51
|
-
defaultConfig:
|
|
52
|
+
defaultConfig: st
|
|
52
53
|
});
|
|
53
54
|
return l.theme ? {
|
|
54
|
-
...
|
|
55
|
-
userConfig:
|
|
55
|
+
...Ge({
|
|
56
|
+
userConfig: kt.vue_ui_quadrant[l.theme] || X.config,
|
|
56
57
|
defaultConfig: l
|
|
57
58
|
}),
|
|
58
|
-
customPalette:
|
|
59
|
+
customPalette: $t[l.theme] || he
|
|
59
60
|
} : l;
|
|
60
61
|
}
|
|
61
|
-
|
|
62
|
+
Ee(() => X.config, (l) => {
|
|
62
63
|
t.value = qe(), ne.value = !t.value.userOptions.showOnChartHover, _e(), me.value += 1, xe.value += 1, $e.value += 1, $.value.plotLabels.show = t.value.style.chart.layout.labels.plotLabels.show, $.value.showTable = t.value.table.show, $.value.showTooltip = t.value.style.chart.tooltip.show;
|
|
63
64
|
}, { deep: !0 });
|
|
64
|
-
const A =
|
|
65
|
+
const A = Ue(null), H = Ue(null);
|
|
65
66
|
function _e() {
|
|
66
|
-
if (
|
|
67
|
+
if (Lt(X.dataset) ? G({
|
|
67
68
|
componentName: "VueUiQuadrant",
|
|
68
69
|
type: "dataset"
|
|
69
70
|
}) : X.dataset.forEach((l, u) => {
|
|
70
|
-
[null, void 0].includes(l.name) &&
|
|
71
|
+
[null, void 0].includes(l.name) && G({
|
|
71
72
|
componentName: "VueUiQuadrant",
|
|
72
73
|
type: "datasetSerieAttribute",
|
|
73
74
|
property: "name",
|
|
74
75
|
index: u
|
|
75
|
-
}), [null, void 0].includes(l.series) ?
|
|
76
|
+
}), [null, void 0].includes(l.series) ? G({
|
|
76
77
|
componentName: "VueUiQuadrant",
|
|
77
78
|
type: "datasetSerieAttribute",
|
|
78
79
|
property: "series",
|
|
79
80
|
index: u
|
|
80
81
|
}) : l.series.forEach((a, o) => {
|
|
81
|
-
[null, void 0].includes(a.name) &&
|
|
82
|
+
[null, void 0].includes(a.name) && G({
|
|
82
83
|
componentName: "VueUiQuadrant",
|
|
83
84
|
type: "datasetSerieAttribute",
|
|
84
85
|
property: "name",
|
|
@@ -87,9 +88,9 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
87
88
|
});
|
|
88
89
|
});
|
|
89
90
|
}), t.value.responsive) {
|
|
90
|
-
const l =
|
|
91
|
-
const { width: u, height: a } =
|
|
92
|
-
chart:
|
|
91
|
+
const l = Nt(() => {
|
|
92
|
+
const { width: u, height: a } = Ot({
|
|
93
|
+
chart: P.value,
|
|
93
94
|
title: t.value.style.chart.title.text ? be.value : null,
|
|
94
95
|
legend: t.value.style.chart.legend.show ? fe.value : null,
|
|
95
96
|
source: pe.value,
|
|
@@ -99,19 +100,19 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
99
100
|
e.value.height = a, e.value.usableHeight = a - k.value * 2, e.value.width = u, e.value.usableWidth = u - k.value * 2, e.value.top = k.value, e.value.left = k.value, e.value.right = u - k.value, e.value.bottom = a - k.value, e.value.centerX = u / 2, e.value.centerY = a - a / 2, e.value.padding = k.value;
|
|
100
101
|
});
|
|
101
102
|
});
|
|
102
|
-
A.value && (
|
|
103
|
+
A.value && (H.value && A.value.unobserve(H.value), A.value.disconnect()), A.value = new ResizeObserver(l), H.value = P.value.parentNode, A.value.observe(H.value);
|
|
103
104
|
}
|
|
104
105
|
}
|
|
105
|
-
|
|
106
|
+
bt(() => {
|
|
106
107
|
_e();
|
|
107
|
-
}),
|
|
108
|
-
A.value && (
|
|
108
|
+
}), ft(() => {
|
|
109
|
+
A.value && (H.value && A.value.unobserve(H.value), A.value.disconnect());
|
|
109
110
|
});
|
|
110
|
-
const { isPrinting: Se, isImaging: Ce, generatePdf: ze, generateImage: Te } =
|
|
111
|
+
const { isPrinting: Se, isImaging: Ce, generatePdf: ze, generateImage: Te } = Rt({
|
|
111
112
|
elementId: `vue-ui-quadrant_${z.value}`,
|
|
112
113
|
fileName: t.value.style.chart.title.text || "vue-ui-quadrant",
|
|
113
114
|
options: t.value.userOptions.print
|
|
114
|
-
}),
|
|
115
|
+
}), nt = g(() => t.value.userOptions.show && !t.value.style.chart.title.text), Xe = g(() => wt(t.value.customPalette)), $ = y({
|
|
115
116
|
plotLabels: {
|
|
116
117
|
show: t.value.style.chart.layout.labels.plotLabels.show
|
|
117
118
|
},
|
|
@@ -134,14 +135,14 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
134
135
|
startX: 0,
|
|
135
136
|
startY: 0
|
|
136
137
|
});
|
|
137
|
-
|
|
138
|
+
Ee(() => e.value, (l) => {
|
|
138
139
|
l && (v.value = {
|
|
139
140
|
...JSON.parse(JSON.stringify(e.value)),
|
|
140
141
|
startX: 0,
|
|
141
142
|
startY: 0
|
|
142
143
|
});
|
|
143
144
|
}, { deep: !0 });
|
|
144
|
-
const c = y(null),
|
|
145
|
+
const c = y(null), B = g(() => {
|
|
145
146
|
switch (c.value) {
|
|
146
147
|
case "TL":
|
|
147
148
|
return {
|
|
@@ -182,7 +183,7 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
182
183
|
default:
|
|
183
184
|
return { x: 0, y: 0, text: "", fontSize: 0, fill: "none", bold: !1 };
|
|
184
185
|
}
|
|
185
|
-
}),
|
|
186
|
+
}), it = y(null), te = y(!1);
|
|
186
187
|
function Q({ targetX: l, targetY: u, targetW: a, targetH: o, side: n }) {
|
|
187
188
|
c.value && Z(n);
|
|
188
189
|
const b = {
|
|
@@ -192,10 +193,10 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
192
193
|
h: o - v.value.height
|
|
193
194
|
}, p = t.value.zoomAnimationFrames;
|
|
194
195
|
let W = 0;
|
|
195
|
-
function
|
|
196
|
-
te.value = !0, v.value.startX += b.x / p, v.value.startY += b.y / p, v.value.width += b.w / p, v.value.height += b.h / p, W += 1, W < p ?
|
|
196
|
+
function Ie() {
|
|
197
|
+
te.value = !0, v.value.startX += b.x / p, v.value.startY += b.y / p, v.value.width += b.w / p, v.value.height += b.h / p, W += 1, W < p ? it.value = requestAnimationFrame(Ie) : te.value = !1;
|
|
197
198
|
}
|
|
198
|
-
|
|
199
|
+
Ie();
|
|
199
200
|
}
|
|
200
201
|
function M(l) {
|
|
201
202
|
if (!te.value)
|
|
@@ -251,7 +252,7 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
251
252
|
f.value = !0;
|
|
252
253
|
}
|
|
253
254
|
}
|
|
254
|
-
const
|
|
255
|
+
const vt = g(() => {
|
|
255
256
|
const l = t.value.style.chart.layout.grid.graduations.steps, u = e.value.usableWidth / (l * 2), a = e.value.top, o = [];
|
|
256
257
|
for (let n = 0; n < l; n += 1)
|
|
257
258
|
o.push({
|
|
@@ -264,7 +265,7 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
264
265
|
return o;
|
|
265
266
|
}), _ = g(() => {
|
|
266
267
|
let l = t.value.style.chart.layout.grid.xAxis.max, u = t.value.style.chart.layout.grid.xAxis.min, a = t.value.style.chart.layout.grid.yAxis.max, o = t.value.style.chart.layout.grid.yAxis.min;
|
|
267
|
-
return t.value.style.chart.layout.grid.xAxis.auto && (l = Math.max(...
|
|
268
|
+
return t.value.style.chart.layout.grid.xAxis.auto && (l = Math.max(...I.value.flatMap((n) => n.series.map((b) => b.x))), u = Math.min(...I.value.flatMap((n) => n.series.map((b) => b.x)))), t.value.style.chart.layout.grid.yAxis.auto && (a = Math.max(...I.value.flatMap((n) => n.series.map((b) => b.y))), o = Math.min(...I.value.flatMap((n) => n.series.map((b) => b.y)))), {
|
|
268
269
|
x: {
|
|
269
270
|
max: l,
|
|
270
271
|
min: u
|
|
@@ -274,15 +275,15 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
274
275
|
min: o
|
|
275
276
|
}
|
|
276
277
|
};
|
|
277
|
-
}), N = y([]),
|
|
278
|
+
}), N = y([]), I = g(() => X.dataset.map((l, u) => ({
|
|
278
279
|
...l,
|
|
279
|
-
series:
|
|
280
|
+
series: _t({
|
|
280
281
|
data: l.series,
|
|
281
282
|
threshold: t.value.downsample.threshold
|
|
282
283
|
}),
|
|
283
284
|
id: `cat_${u}_${z.value}`,
|
|
284
|
-
color:
|
|
285
|
-
}))),
|
|
285
|
+
color: qt(l.color) || Xe.value[u] || he[u]
|
|
286
|
+
}))), ct = g(() => I.value.filter((l) => !N.value.includes(l.id))), dt = g(() => I.value.map((l, u) => ({
|
|
286
287
|
...l,
|
|
287
288
|
shape: l.shape || "circle",
|
|
288
289
|
series: l.series.map((a) => ({
|
|
@@ -298,13 +299,13 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
298
299
|
}))
|
|
299
300
|
}))), C = g(() => (X.dataset.forEach((l, u) => {
|
|
300
301
|
l.series.forEach((a, o) => {
|
|
301
|
-
[null, void 0].includes(a.x) &&
|
|
302
|
+
[null, void 0].includes(a.x) && G({
|
|
302
303
|
componentName: "VueUiQuadrant",
|
|
303
304
|
type: "datasetSerieAttribute",
|
|
304
305
|
property: "x",
|
|
305
306
|
key: "series",
|
|
306
307
|
index: o
|
|
307
|
-
}), [null, void 0].includes(a.y) &&
|
|
308
|
+
}), [null, void 0].includes(a.y) && G({
|
|
308
309
|
componentName: "VueUiQuadrant",
|
|
309
310
|
type: "datasetSerieAttribute",
|
|
310
311
|
property: "y",
|
|
@@ -312,7 +313,7 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
312
313
|
index: o
|
|
313
314
|
});
|
|
314
315
|
});
|
|
315
|
-
}),
|
|
316
|
+
}), ct.value.map((l, u) => ({
|
|
316
317
|
...l,
|
|
317
318
|
shape: l.shape || "circle",
|
|
318
319
|
color: l.color || Xe.value[u] || he[u],
|
|
@@ -326,7 +327,7 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
326
327
|
categoryName: l.name,
|
|
327
328
|
shape: l.shape,
|
|
328
329
|
color: l.color,
|
|
329
|
-
uid:
|
|
330
|
+
uid: De()
|
|
330
331
|
}))
|
|
331
332
|
}))));
|
|
332
333
|
function We(l) {
|
|
@@ -407,7 +408,7 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
407
408
|
const u = Re();
|
|
408
409
|
se("selectLegend", u);
|
|
409
410
|
}
|
|
410
|
-
const Ae = g(() =>
|
|
411
|
+
const Ae = g(() => dt.value.map((l) => ({
|
|
411
412
|
name: l.name,
|
|
412
413
|
shape: l.shape,
|
|
413
414
|
color: l.color,
|
|
@@ -415,7 +416,7 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
415
416
|
opacity: N.value.includes(l.id) ? 0.5 : 1,
|
|
416
417
|
segregate: () => ie(l.id),
|
|
417
418
|
isSegregated: N.value.includes(l.id)
|
|
418
|
-
}))),
|
|
419
|
+
}))), ht = g(() => ({
|
|
419
420
|
cy: "quadrant-div-legend",
|
|
420
421
|
backgroundColor: t.value.style.chart.legend.backgroundColor,
|
|
421
422
|
color: t.value.style.chart.legend.color,
|
|
@@ -449,7 +450,7 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
449
450
|
config: t.value
|
|
450
451
|
}, ee.value = !0;
|
|
451
452
|
const o = t.value.style.chart.tooltip.customFormat;
|
|
452
|
-
if (
|
|
453
|
+
if (At(o) && Mt(() => o({
|
|
453
454
|
seriesIndex: a,
|
|
454
455
|
datapoint: u,
|
|
455
456
|
series: C.value,
|
|
@@ -629,47 +630,54 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
629
630
|
}));
|
|
630
631
|
}
|
|
631
632
|
function Ve(l = null) {
|
|
632
|
-
|
|
633
|
-
const u = [[t.value.style.chart.title.text], [t.value.style.chart.title.subtitle.text], [""]], a = le.value.head, o = le.value.body, n = u.concat([a]).concat(o), b =
|
|
634
|
-
l ? l(b) :
|
|
633
|
+
mt(() => {
|
|
634
|
+
const u = [[t.value.style.chart.title.text], [t.value.style.chart.title.subtitle.text], [""]], a = le.value.head, o = le.value.body, n = u.concat([a]).concat(o), b = Wt(n);
|
|
635
|
+
l ? l(b) : Yt({ csvContent: b, title: t.value.style.chart.title.text || "vue-ui-quadrant" });
|
|
635
636
|
});
|
|
636
637
|
}
|
|
637
|
-
const
|
|
638
|
-
function
|
|
639
|
-
|
|
638
|
+
const E = y(!1);
|
|
639
|
+
function Pe(l) {
|
|
640
|
+
E.value = l, ye.value += 1;
|
|
640
641
|
}
|
|
641
|
-
function
|
|
642
|
+
function Be() {
|
|
642
643
|
$.value.showTable = !$.value.showTable;
|
|
643
644
|
}
|
|
644
|
-
function
|
|
645
|
+
function Fe() {
|
|
645
646
|
$.value.plotLabels.show = !$.value.plotLabels.show;
|
|
646
647
|
}
|
|
647
|
-
function
|
|
648
|
+
function He() {
|
|
648
649
|
$.value.showTooltip = !$.value.showTooltip;
|
|
649
650
|
}
|
|
650
651
|
const ue = y(!1);
|
|
651
652
|
function ce() {
|
|
652
653
|
ue.value = !ue.value;
|
|
653
654
|
}
|
|
654
|
-
|
|
655
|
+
async function yt({ scale: l = 2 } = {}) {
|
|
656
|
+
if (!P.value) return;
|
|
657
|
+
const { imageUri: u, base64: a } = await Ht({ domElement: P.value, base64: !0, img: !0, scale: l });
|
|
658
|
+
return { imageUri: u, base64: a };
|
|
659
|
+
}
|
|
660
|
+
return je({
|
|
655
661
|
getData: Re,
|
|
662
|
+
getImage: yt,
|
|
656
663
|
generatePdf: ze,
|
|
657
664
|
generateCsv: Ve,
|
|
658
665
|
generateImage: Te,
|
|
659
|
-
toggleTable:
|
|
660
|
-
toggleLabels:
|
|
661
|
-
toggleTooltip:
|
|
662
|
-
toggleAnnotator: ce
|
|
666
|
+
toggleTable: Be,
|
|
667
|
+
toggleLabels: Fe,
|
|
668
|
+
toggleTooltip: He,
|
|
669
|
+
toggleAnnotator: ce,
|
|
670
|
+
toggleFullscreen: Pe
|
|
663
671
|
}), (l, u) => (s(), r("div", {
|
|
664
|
-
class: T(`vue-ui-quadrant ${
|
|
672
|
+
class: T(`vue-ui-quadrant ${E.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${t.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
665
673
|
ref_key: "quadrantChart",
|
|
666
|
-
ref:
|
|
674
|
+
ref: P,
|
|
667
675
|
id: `vue-ui-quadrant_${z.value}`,
|
|
668
676
|
style: q(`font-family:${t.value.style.fontFamily};width:100%; text-align:center;background:${t.value.style.chart.backgroundColor};${t.value.responsive ? "height: 100%" : ""}`),
|
|
669
677
|
onMouseenter: u[16] || (u[16] = () => i(ke)(!0)),
|
|
670
678
|
onMouseleave: u[17] || (u[17] = () => i(ke)(!1))
|
|
671
679
|
}, [
|
|
672
|
-
t.value.userOptions.buttons.annotator ? (s(), O(i(
|
|
680
|
+
t.value.userOptions.buttons.annotator ? (s(), O(i(et), {
|
|
673
681
|
key: 0,
|
|
674
682
|
svgRef: i(we),
|
|
675
683
|
backgroundColor: t.value.style.chart.backgroundColor,
|
|
@@ -677,7 +685,7 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
677
685
|
active: ue.value,
|
|
678
686
|
onClose: ce
|
|
679
687
|
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : h("", !0),
|
|
680
|
-
|
|
688
|
+
nt.value ? (s(), r("div", {
|
|
681
689
|
key: 1,
|
|
682
690
|
ref_key: "noTitle",
|
|
683
691
|
ref: ge,
|
|
@@ -690,7 +698,7 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
690
698
|
ref: be,
|
|
691
699
|
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
692
700
|
}, [
|
|
693
|
-
(s(), O(
|
|
701
|
+
(s(), O(Bt, {
|
|
694
702
|
key: `table_${me.value}`,
|
|
695
703
|
config: {
|
|
696
704
|
title: {
|
|
@@ -704,9 +712,9 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
704
712
|
}
|
|
705
713
|
}, null, 8, ["config"]))
|
|
706
714
|
], 512)) : h("", !0),
|
|
707
|
-
t.value.userOptions.show && K.value && (i(Le) || i(ne)) ? (s(), O(i(
|
|
715
|
+
t.value.userOptions.show && K.value && (i(Le) || i(ne)) ? (s(), O(i(ut), {
|
|
708
716
|
ref_key: "details",
|
|
709
|
-
ref:
|
|
717
|
+
ref: rt,
|
|
710
718
|
key: `user_options_${ye.value}`,
|
|
711
719
|
backgroundColor: t.value.style.chart.backgroundColor,
|
|
712
720
|
color: t.value.style.chart.color,
|
|
@@ -720,31 +728,31 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
720
728
|
hasTable: t.value.userOptions.buttons.table,
|
|
721
729
|
hasLabel: t.value.userOptions.buttons.labels,
|
|
722
730
|
hasFullscreen: t.value.userOptions.buttons.fullscreen,
|
|
723
|
-
isFullscreen:
|
|
731
|
+
isFullscreen: E.value,
|
|
724
732
|
isTooltip: $.value.showTooltip,
|
|
725
733
|
titles: { ...t.value.userOptions.buttonTitles },
|
|
726
|
-
chartElement:
|
|
734
|
+
chartElement: P.value,
|
|
727
735
|
position: t.value.userOptions.position,
|
|
728
736
|
hasAnnotator: t.value.userOptions.buttons.annotator,
|
|
729
737
|
isAnnotation: ue.value,
|
|
730
738
|
callbacks: t.value.userOptions.callbacks,
|
|
731
739
|
printScale: t.value.userOptions.print.scale,
|
|
732
|
-
onToggleFullscreen:
|
|
740
|
+
onToggleFullscreen: Pe,
|
|
733
741
|
onGeneratePdf: i(ze),
|
|
734
742
|
onGenerateCsv: Ve,
|
|
735
743
|
onGenerateImage: i(Te),
|
|
736
|
-
onToggleTable:
|
|
737
|
-
onToggleLabels:
|
|
738
|
-
onToggleTooltip:
|
|
744
|
+
onToggleTable: Be,
|
|
745
|
+
onToggleLabels: Fe,
|
|
746
|
+
onToggleTooltip: He,
|
|
739
747
|
onToggleAnnotator: ce,
|
|
740
748
|
style: q({
|
|
741
749
|
visibility: i(Le) ? i(ne) ? "visible" : "hidden" : "visible"
|
|
742
750
|
})
|
|
743
|
-
},
|
|
751
|
+
}, pt({ _: 2 }, [
|
|
744
752
|
l.$slots.menuIcon ? {
|
|
745
753
|
name: "menuIcon",
|
|
746
754
|
fn: m(({ isOpen: a, color: o }) => [
|
|
747
|
-
x(l.$slots, "menuIcon",
|
|
755
|
+
x(l.$slots, "menuIcon", U(D({ isOpen: a, color: o })), void 0, !0)
|
|
748
756
|
]),
|
|
749
757
|
key: "0"
|
|
750
758
|
} : void 0,
|
|
@@ -793,14 +801,14 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
793
801
|
l.$slots.optionFullscreen ? {
|
|
794
802
|
name: "optionFullscreen",
|
|
795
803
|
fn: m(({ toggleFullscreen: a, isFullscreen: o }) => [
|
|
796
|
-
x(l.$slots, "optionFullscreen",
|
|
804
|
+
x(l.$slots, "optionFullscreen", U(D({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
|
|
797
805
|
]),
|
|
798
806
|
key: "7"
|
|
799
807
|
} : void 0,
|
|
800
808
|
l.$slots.optionAnnotator ? {
|
|
801
809
|
name: "optionAnnotator",
|
|
802
810
|
fn: m(({ toggleAnnotator: a, isAnnotator: o }) => [
|
|
803
|
-
x(l.$slots, "optionAnnotator",
|
|
811
|
+
x(l.$slots, "optionAnnotator", U(D({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
|
|
804
812
|
]),
|
|
805
813
|
key: "8"
|
|
806
814
|
} : void 0
|
|
@@ -809,13 +817,13 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
809
817
|
key: 4,
|
|
810
818
|
ref_key: "svgRef",
|
|
811
819
|
ref: we,
|
|
812
|
-
xmlns: i(
|
|
813
|
-
class: T({ "vue-data-ui-fullscreen--on":
|
|
820
|
+
xmlns: i(St),
|
|
821
|
+
class: T({ "vue-data-ui-fullscreen--on": E.value, "vue-data-ui-fulscreen--off": !E.value }),
|
|
814
822
|
viewBox: `${v.value.startX} ${v.value.startY} ${v.value.width} ${v.value.height}`,
|
|
815
823
|
style: q(`max-width:100%;overflow:${f.value ? "hidden" : "visible"};background:transparent;color:${t.value.style.chart.color}`),
|
|
816
824
|
id: `svg_${z.value}`
|
|
817
825
|
}, [
|
|
818
|
-
de(i(
|
|
826
|
+
de(i(ot)),
|
|
819
827
|
l.$slots["chart-background"] ? (s(), r("foreignObject", {
|
|
820
828
|
key: 0,
|
|
821
829
|
x: v.value.startX,
|
|
@@ -827,7 +835,7 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
827
835
|
}
|
|
828
836
|
}, [
|
|
829
837
|
x(l.$slots, "chart-background", {}, void 0, !0)
|
|
830
|
-
], 8,
|
|
838
|
+
], 8, Dt)) : h("", !0),
|
|
831
839
|
d("defs", null, [
|
|
832
840
|
(s(!0), r(S, null, Y(C.value, (a, o) => (s(), r("radialGradient", {
|
|
833
841
|
cx: "50%",
|
|
@@ -839,16 +847,16 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
839
847
|
}, [
|
|
840
848
|
d("stop", {
|
|
841
849
|
offset: "0%",
|
|
842
|
-
"stop-color": i(oe)(i(
|
|
843
|
-
}, null, 8,
|
|
850
|
+
"stop-color": i(oe)(i(Ct)(a.color, 0.05), t.value.style.chart.layout.areas.opacity)
|
|
851
|
+
}, null, 8, Qt),
|
|
844
852
|
d("stop", {
|
|
845
853
|
offset: "100%",
|
|
846
854
|
"stop-color": i(oe)(a.color, t.value.style.chart.layout.areas.opacity)
|
|
847
|
-
}, null, 8,
|
|
848
|
-
], 8,
|
|
855
|
+
}, null, 8, Jt)
|
|
856
|
+
], 8, Gt))), 256))
|
|
849
857
|
]),
|
|
850
|
-
t.value.style.chart.layout.grid.graduations.show ? (s(), r("g",
|
|
851
|
-
(s(!0), r(S, null, Y(
|
|
858
|
+
t.value.style.chart.layout.grid.graduations.show ? (s(), r("g", jt, [
|
|
859
|
+
(s(!0), r(S, null, Y(vt.value, (a) => (s(), r("rect", {
|
|
852
860
|
fill: t.value.style.chart.layout.grid.graduations.fill ? i(oe)(t.value.style.chart.layout.grid.graduations.color, a.opacity) : "none",
|
|
853
861
|
x: a.x,
|
|
854
862
|
y: a.y,
|
|
@@ -857,7 +865,7 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
857
865
|
"stroke-width": t.value.style.chart.layout.grid.graduations.strokeWidth,
|
|
858
866
|
stroke: t.value.style.chart.layout.grid.graduations.stroke,
|
|
859
867
|
rx: t.value.style.chart.layout.grid.graduations.roundingForce
|
|
860
|
-
}, null, 8,
|
|
868
|
+
}, null, 8, Zt))), 256))
|
|
861
869
|
])) : h("", !0),
|
|
862
870
|
d("line", {
|
|
863
871
|
x1: e.value.left,
|
|
@@ -866,7 +874,7 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
866
874
|
y2: e.value.centerY,
|
|
867
875
|
stroke: t.value.style.chart.layout.grid.stroke,
|
|
868
876
|
"stroke-width": t.value.style.chart.layout.grid.strokeWidth
|
|
869
|
-
}, null, 8,
|
|
877
|
+
}, null, 8, Kt),
|
|
870
878
|
d("line", {
|
|
871
879
|
x1: e.value.centerX,
|
|
872
880
|
y1: e.value.top,
|
|
@@ -874,30 +882,30 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
874
882
|
y2: e.value.bottom,
|
|
875
883
|
stroke: t.value.style.chart.layout.grid.stroke,
|
|
876
884
|
"stroke-width": t.value.style.chart.layout.grid.strokeWidth
|
|
877
|
-
}, null, 8,
|
|
878
|
-
t.value.style.chart.layout.grid.showArrows ? (s(), r("g",
|
|
885
|
+
}, null, 8, el),
|
|
886
|
+
t.value.style.chart.layout.grid.showArrows ? (s(), r("g", tl, [
|
|
879
887
|
d("polygon", {
|
|
880
888
|
points: `${e.value.right - 8},${e.value.centerY - 6} ${e.value.right},${e.value.centerY} ${e.value.right - 8},${e.value.centerY + 6}`,
|
|
881
889
|
fill: t.value.style.chart.layout.grid.stroke,
|
|
882
890
|
stroke: "none"
|
|
883
|
-
}, null, 8,
|
|
891
|
+
}, null, 8, ll),
|
|
884
892
|
d("polygon", {
|
|
885
893
|
points: `${e.value.left + 8},${e.value.centerY - 6} ${e.value.left},${e.value.centerY} ${e.value.left + 8},${e.value.centerY + 6}`,
|
|
886
894
|
fill: t.value.style.chart.layout.grid.stroke,
|
|
887
895
|
stroke: "none"
|
|
888
|
-
}, null, 8,
|
|
896
|
+
}, null, 8, al),
|
|
889
897
|
d("polygon", {
|
|
890
898
|
points: `${e.value.centerX - 6},${e.value.top + 8} ${e.value.centerX},${e.value.top} ${e.value.centerX + 6},${e.value.top + 8}`,
|
|
891
899
|
fill: t.value.style.chart.layout.grid.stroke,
|
|
892
900
|
stroke: "none"
|
|
893
|
-
}, null, 8,
|
|
901
|
+
}, null, 8, ul),
|
|
894
902
|
d("polygon", {
|
|
895
903
|
points: `${e.value.centerX - 6},${e.value.bottom - 8} ${e.value.centerX},${e.value.bottom} ${e.value.centerX + 6},${e.value.bottom - 8}`,
|
|
896
904
|
fill: t.value.style.chart.layout.grid.stroke,
|
|
897
905
|
stroke: "none"
|
|
898
|
-
}, null, 8,
|
|
906
|
+
}, null, 8, ol)
|
|
899
907
|
])) : h("", !0),
|
|
900
|
-
t.value.style.chart.layout.labels.quadrantLabels.show && !f.value ? (s(), r("g",
|
|
908
|
+
t.value.style.chart.layout.labels.quadrantLabels.show && !f.value ? (s(), r("g", sl, [
|
|
901
909
|
t.value.style.chart.layout.labels.quadrantLabels.tl.text ? (s(), r("text", {
|
|
902
910
|
key: 0,
|
|
903
911
|
x: 0,
|
|
@@ -907,7 +915,7 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
907
915
|
"font-size": t.value.style.chart.layout.labels.quadrantLabels.tl.fontSize,
|
|
908
916
|
style: q(`font-weight:${t.value.style.chart.layout.labels.quadrantLabels.tl.bold ? "bold" : ""}`),
|
|
909
917
|
onClick: u[0] || (u[0] = (a) => Z("tl"))
|
|
910
|
-
}, L(t.value.style.chart.layout.labels.quadrantLabels.tl.text), 13,
|
|
918
|
+
}, L(t.value.style.chart.layout.labels.quadrantLabels.tl.text), 13, rl)) : h("", !0),
|
|
911
919
|
t.value.style.chart.layout.labels.quadrantLabels.tr.text ? (s(), r("text", {
|
|
912
920
|
key: 1,
|
|
913
921
|
x: e.value.width,
|
|
@@ -917,7 +925,7 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
917
925
|
"font-size": t.value.style.chart.layout.labels.quadrantLabels.tr.fontSize,
|
|
918
926
|
style: q(`font-weight:${t.value.style.chart.layout.labels.quadrantLabels.tr.bold ? "bold" : ""}`),
|
|
919
927
|
onClick: u[1] || (u[1] = (a) => Z("tr"))
|
|
920
|
-
}, L(t.value.style.chart.layout.labels.quadrantLabels.tr.text), 13,
|
|
928
|
+
}, L(t.value.style.chart.layout.labels.quadrantLabels.tr.text), 13, nl)) : h("", !0),
|
|
921
929
|
t.value.style.chart.layout.labels.quadrantLabels.br.text ? (s(), r("text", {
|
|
922
930
|
key: 2,
|
|
923
931
|
x: e.value.width,
|
|
@@ -927,7 +935,7 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
927
935
|
"font-size": t.value.style.chart.layout.labels.quadrantLabels.br.fontSize,
|
|
928
936
|
style: q(`font-weight:${t.value.style.chart.layout.labels.quadrantLabels.br.bold ? "bold" : ""}`),
|
|
929
937
|
onClick: u[2] || (u[2] = (a) => Z("br"))
|
|
930
|
-
}, L(t.value.style.chart.layout.labels.quadrantLabels.br.text), 13,
|
|
938
|
+
}, L(t.value.style.chart.layout.labels.quadrantLabels.br.text), 13, il)) : h("", !0),
|
|
931
939
|
t.value.style.chart.layout.labels.quadrantLabels.bl.text ? (s(), r("text", {
|
|
932
940
|
key: 3,
|
|
933
941
|
x: 0,
|
|
@@ -937,9 +945,9 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
937
945
|
"font-size": t.value.style.chart.layout.labels.quadrantLabels.bl.fontSize,
|
|
938
946
|
style: q(`font-weight:${t.value.style.chart.layout.labels.quadrantLabels.bl.bold ? "bold" : ""}`),
|
|
939
947
|
onClick: u[3] || (u[3] = (a) => Z("bl"))
|
|
940
|
-
}, L(t.value.style.chart.layout.labels.quadrantLabels.bl.text), 13,
|
|
948
|
+
}, L(t.value.style.chart.layout.labels.quadrantLabels.bl.text), 13, vl)) : h("", !0)
|
|
941
949
|
])) : h("", !0),
|
|
942
|
-
t.value.style.chart.layout.labels.axisLabels.show ? (s(), r("g",
|
|
950
|
+
t.value.style.chart.layout.labels.axisLabels.show ? (s(), r("g", cl, [
|
|
943
951
|
d("text", {
|
|
944
952
|
x: e.value.centerX,
|
|
945
953
|
y: e.value.top - e.value.padding / 6,
|
|
@@ -953,14 +961,14 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
953
961
|
v: _.value.y.max,
|
|
954
962
|
r: t.value.style.chart.layout.labels.plotLabels.rounding
|
|
955
963
|
})
|
|
956
|
-
)), 9,
|
|
964
|
+
)), 9, dl),
|
|
957
965
|
d("text", {
|
|
958
966
|
x: e.value.centerX,
|
|
959
967
|
y: e.value.top - e.value.padding / 2,
|
|
960
968
|
"text-anchor": "middle",
|
|
961
969
|
"font-size": t.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
962
970
|
fill: t.value.style.chart.layout.labels.axisLabels.color.positive
|
|
963
|
-
}, L(t.value.style.chart.layout.grid.yAxis.name), 9,
|
|
971
|
+
}, L(t.value.style.chart.layout.grid.yAxis.name), 9, hl),
|
|
964
972
|
d("text", {
|
|
965
973
|
x: e.value.centerX,
|
|
966
974
|
y: e.value.bottom + e.value.padding * 0.35,
|
|
@@ -974,7 +982,7 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
974
982
|
v: _.value.y.min,
|
|
975
983
|
r: t.value.style.chart.layout.labels.plotLabels.rounding
|
|
976
984
|
})
|
|
977
|
-
)), 9,
|
|
985
|
+
)), 9, yl),
|
|
978
986
|
d("text", {
|
|
979
987
|
id: `xLabelMin_${z.value}`,
|
|
980
988
|
"text-anchor": "middle",
|
|
@@ -988,7 +996,7 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
988
996
|
v: _.value.x.min,
|
|
989
997
|
r: t.value.style.chart.layout.labels.plotLabels.rounding
|
|
990
998
|
})
|
|
991
|
-
)), 9,
|
|
999
|
+
)), 9, bl),
|
|
992
1000
|
d("text", {
|
|
993
1001
|
id: `xLabelMax_${z.value}`,
|
|
994
1002
|
"text-anchor": "middle",
|
|
@@ -1002,23 +1010,23 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
1002
1010
|
v: _.value.x.max,
|
|
1003
1011
|
r: t.value.style.chart.layout.labels.plotLabels.rounding
|
|
1004
1012
|
})
|
|
1005
|
-
)), 9,
|
|
1013
|
+
)), 9, fl),
|
|
1006
1014
|
d("text", {
|
|
1007
1015
|
id: `xLabelMaxName_${z.value}`,
|
|
1008
1016
|
"text-anchor": "middle",
|
|
1009
1017
|
"font-size": t.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
1010
1018
|
transform: `translate(${e.value.width - t.value.style.chart.layout.labels.axisLabels.fontSize}, ${e.value.height / 2}), rotate(90)`,
|
|
1011
1019
|
fill: t.value.style.chart.layout.labels.axisLabels.color.positive
|
|
1012
|
-
}, L(t.value.style.chart.layout.grid.xAxis.name), 9,
|
|
1020
|
+
}, L(t.value.style.chart.layout.grid.xAxis.name), 9, pl)
|
|
1013
1021
|
])) : h("", !0),
|
|
1014
|
-
t.value.style.chart.layout.areas.show ? (s(), r("g",
|
|
1022
|
+
t.value.style.chart.layout.areas.show ? (s(), r("g", gl, [
|
|
1015
1023
|
(s(!0), r(S, null, Y(C.value, (a, o) => (s(), r("g", null, [
|
|
1016
1024
|
a.series.length > 2 ? (s(), r("polygon", {
|
|
1017
1025
|
key: 0,
|
|
1018
1026
|
"data-cy-quadrant-area": "",
|
|
1019
1027
|
fill: t.value.style.chart.layout.areas.useGradient ? `url(#quadrant_gradient_${z.value}_${o})` : i(oe)(a.color, t.value.style.chart.layout.areas.opacity),
|
|
1020
|
-
points: i(
|
|
1021
|
-
}, null, 8,
|
|
1028
|
+
points: i(zt)(a)
|
|
1029
|
+
}, null, 8, ml)) : h("", !0)
|
|
1022
1030
|
]))), 256))
|
|
1023
1031
|
])) : h("", !0),
|
|
1024
1032
|
d("g", null, [
|
|
@@ -1030,7 +1038,7 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
1030
1038
|
height: e.value.usableHeight / 2 <= 0 ? 1e-3 : e.value.usableHeight / 2,
|
|
1031
1039
|
fill: "transparent",
|
|
1032
1040
|
class: T({ "vue-data-ui-zoom-plus": !f.value, "vue-data-ui-zoom-minus": f.value })
|
|
1033
|
-
}, null, 10,
|
|
1041
|
+
}, null, 10, xl),
|
|
1034
1042
|
d("rect", {
|
|
1035
1043
|
onClick: u[5] || (u[5] = (a) => M("TR")),
|
|
1036
1044
|
x: e.value.centerX,
|
|
@@ -1039,7 +1047,7 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
1039
1047
|
height: e.value.usableHeight / 2 <= 0 ? 1e-3 : e.value.usableHeight / 2,
|
|
1040
1048
|
fill: "transparent",
|
|
1041
1049
|
class: T({ "vue-data-ui-zoom-plus": !f.value, "vue-data-ui-zoom-minus": f.value })
|
|
1042
|
-
}, null, 10,
|
|
1050
|
+
}, null, 10, $l),
|
|
1043
1051
|
d("rect", {
|
|
1044
1052
|
onClick: u[6] || (u[6] = (a) => M("BR")),
|
|
1045
1053
|
x: e.value.centerX,
|
|
@@ -1048,7 +1056,7 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
1048
1056
|
height: e.value.usableHeight / 2 <= 0 ? 1e-3 : e.value.usableHeight / 2,
|
|
1049
1057
|
fill: "transparent",
|
|
1050
1058
|
class: T({ "vue-data-ui-zoom-plus": !f.value, "vue-data-ui-zoom-minus": f.value })
|
|
1051
|
-
}, null, 10,
|
|
1059
|
+
}, null, 10, kl),
|
|
1052
1060
|
d("rect", {
|
|
1053
1061
|
onClick: u[7] || (u[7] = (a) => M("BL")),
|
|
1054
1062
|
x: e.value.left,
|
|
@@ -1057,10 +1065,10 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
1057
1065
|
height: e.value.usableHeight / 2 <= 0 ? 1e-3 : e.value.usableHeight / 2,
|
|
1058
1066
|
fill: "transparent",
|
|
1059
1067
|
class: T({ "vue-data-ui-zoom-plus": !f.value, "vue-data-ui-zoom-minus": f.value })
|
|
1060
|
-
}, null, 10,
|
|
1068
|
+
}, null, 10, Ll)
|
|
1061
1069
|
]),
|
|
1062
1070
|
t.value.style.chart.layout.labels.plotLabels.showAsTag ? (s(), r(S, { key: 7 }, [
|
|
1063
|
-
$.value.plotLabels.show ? (s(), r("g",
|
|
1071
|
+
$.value.plotLabels.show ? (s(), r("g", Sl, [
|
|
1064
1072
|
(s(!0), r(S, null, Y(C.value, (a, o) => (s(), r(S, null, [
|
|
1065
1073
|
(s(!0), r(S, null, Y(a.series, (n) => (s(), r("foreignObject", {
|
|
1066
1074
|
style: { overflow: "visible" },
|
|
@@ -1075,14 +1083,14 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
1075
1083
|
onClick: (b) => Oe(a, n)
|
|
1076
1084
|
}, [
|
|
1077
1085
|
d("div", {
|
|
1078
|
-
style: q(`color:${i(
|
|
1086
|
+
style: q(`color:${i(Xt)(a.color)};margin: 0 auto; font-size:${t.value.style.chart.layout.labels.plotLabels.fontSize}px; text-align:center;background:${a.color}; padding: 2px 4px; border-radius: 12px; height: fit-content;`)
|
|
1079
1087
|
}, L(n.name), 5)
|
|
1080
|
-
], 40,
|
|
1088
|
+
], 40, Cl))), 256))
|
|
1081
1089
|
], 64))), 256))
|
|
1082
1090
|
])) : h("", !0)
|
|
1083
1091
|
], 64)) : (s(), r(S, { key: 6 }, [
|
|
1084
1092
|
(s(!0), r(S, null, Y(C.value, (a, o) => (s(), r("g", null, [
|
|
1085
|
-
(s(!0), r(S, null, Y(a.series, (n) => (s(), O(
|
|
1093
|
+
(s(!0), r(S, null, Y(a.series, (n) => (s(), O(Qe, {
|
|
1086
1094
|
color: a.color,
|
|
1087
1095
|
isSelected: J.value && n.uid === J.value,
|
|
1088
1096
|
plot: n,
|
|
@@ -1097,7 +1105,7 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
1097
1105
|
onClick: (b) => Oe(a, n)
|
|
1098
1106
|
}, null, 8, ["color", "isSelected", "plot", "radius", "shape", "stroke", "strokeWidth", "onMouseenter", "onClick"]))), 256))
|
|
1099
1107
|
]))), 256)),
|
|
1100
|
-
$.value.plotLabels.show ? (s(), r("g",
|
|
1108
|
+
$.value.plotLabels.show ? (s(), r("g", wl, [
|
|
1101
1109
|
(s(!0), r(S, null, Y(C.value, (a) => (s(), r("g", null, [
|
|
1102
1110
|
(s(!0), r(S, null, Y(a.series, (o) => (s(), r("g", null, [
|
|
1103
1111
|
String(o.name).includes(`
|
|
@@ -1108,62 +1116,62 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
1108
1116
|
"text-anchor": "middle",
|
|
1109
1117
|
"font-size": t.value.style.chart.layout.labels.plotLabels.fontSize / (f.value ? 1.5 : 1),
|
|
1110
1118
|
fill: t.value.style.chart.layout.labels.plotLabels.color,
|
|
1111
|
-
innerHTML: i(
|
|
1119
|
+
innerHTML: i(Tt)({
|
|
1112
1120
|
content: String(o.name),
|
|
1113
1121
|
fontSize: t.value.style.chart.layout.labels.plotLabels.fontSize / (f.value ? 1.5 : 1),
|
|
1114
1122
|
fill: t.value.style.chart.layout.labels.plotLabels.color,
|
|
1115
1123
|
x: o.x,
|
|
1116
1124
|
y: o.y + t.value.style.chart.layout.labels.plotLabels.offsetY + t.value.style.chart.layout.plots.radius
|
|
1117
1125
|
})
|
|
1118
|
-
}, null, 8,
|
|
1126
|
+
}, null, 8, _l)) : (s(), r("text", {
|
|
1119
1127
|
key: 0,
|
|
1120
1128
|
x: o.x,
|
|
1121
1129
|
y: o.y + t.value.style.chart.layout.labels.plotLabels.offsetY + t.value.style.chart.layout.plots.radius,
|
|
1122
1130
|
"text-anchor": "middle",
|
|
1123
1131
|
"font-size": t.value.style.chart.layout.labels.plotLabels.fontSize / (f.value ? 1.5 : 1),
|
|
1124
1132
|
fill: t.value.style.chart.layout.labels.plotLabels.color
|
|
1125
|
-
}, L(o.name), 9,
|
|
1133
|
+
}, L(o.name), 9, ql))
|
|
1126
1134
|
]))), 256))
|
|
1127
1135
|
]))), 256))
|
|
1128
1136
|
])) : h("", !0)
|
|
1129
1137
|
], 64)),
|
|
1130
|
-
f.value ? (s(), r("g",
|
|
1138
|
+
f.value ? (s(), r("g", zl, [
|
|
1131
1139
|
c.value === "TL" ? (s(), r("polygon", {
|
|
1132
1140
|
key: 0,
|
|
1133
1141
|
points: `${e.value.left - 1},${e.value.centerY} ${e.value.centerX},${e.value.centerY} ${e.value.centerX},${e.value.top - 1} ${e.value.right},${e.value.top - 1} ${e.value.right},${e.value.bottom} ${e.value.left - 1},${e.value.bottom} ${e.value.left - 1},${e.value.centerY}`,
|
|
1134
1142
|
fill: t.value.style.chart.backgroundColor,
|
|
1135
1143
|
style: { opacity: "1" }
|
|
1136
|
-
}, null, 8,
|
|
1144
|
+
}, null, 8, Tl)) : h("", !0),
|
|
1137
1145
|
c.value === "TR" ? (s(), r("polygon", {
|
|
1138
1146
|
key: 1,
|
|
1139
1147
|
points: `${e.value.left},${e.value.top - 1} ${e.value.centerX},${e.value.top - 1} ${e.value.centerX},${e.value.centerY} ${e.value.right + 1},${e.value.centerY} ${e.value.right + 1},${e.value.bottom} ${e.value.left},${e.value.bottom} ${e.value.left},${e.value.top - 1}`,
|
|
1140
1148
|
fill: t.value.style.chart.backgroundColor,
|
|
1141
1149
|
style: { opacity: "1" }
|
|
1142
|
-
}, null, 8,
|
|
1150
|
+
}, null, 8, Xl)) : h("", !0),
|
|
1143
1151
|
c.value === "BR" ? (s(), r("polygon", {
|
|
1144
1152
|
key: 2,
|
|
1145
1153
|
points: `${e.value.left},${e.value.top} ${e.value.right + 1},${e.value.top} ${e.value.right + 1},${e.value.centerY} ${e.value.centerX},${e.value.centerY} ${e.value.centerX},${e.value.bottom + 1} ${e.value.left},${e.value.bottom + 1} ${e.value.left},${e.value.top}`,
|
|
1146
1154
|
fill: t.value.style.chart.backgroundColor,
|
|
1147
1155
|
style: { opacity: "1" }
|
|
1148
|
-
}, null, 8,
|
|
1156
|
+
}, null, 8, Wl)) : h("", !0),
|
|
1149
1157
|
c.value === "BL" ? (s(), r("polygon", {
|
|
1150
1158
|
key: 3,
|
|
1151
1159
|
points: `${e.value.left - 1},${e.value.top} ${e.value.right},${e.value.top} ${e.value.right},${e.value.bottom + 1} ${e.value.centerX},${e.value.bottom + 1} ${e.value.centerX},${e.value.centerY} ${e.value.left - 1},${e.value.centerY} ${e.value.left - 1},${e.value.top}`,
|
|
1152
1160
|
fill: t.value.style.chart.backgroundColor,
|
|
1153
1161
|
style: { opacity: "1" }
|
|
1154
|
-
}, null, 8,
|
|
1162
|
+
}, null, 8, Yl)) : h("", !0)
|
|
1155
1163
|
])) : h("", !0),
|
|
1156
|
-
c.value && !te.value ? (s(), r("g",
|
|
1164
|
+
c.value && !te.value ? (s(), r("g", Al, [
|
|
1157
1165
|
d("text", {
|
|
1158
|
-
x:
|
|
1159
|
-
y:
|
|
1160
|
-
"font-size":
|
|
1161
|
-
fill:
|
|
1166
|
+
x: B.value.x,
|
|
1167
|
+
y: B.value.y - B.value.fontSize / 1.5,
|
|
1168
|
+
"font-size": B.value.fontSize / 1.5,
|
|
1169
|
+
fill: B.value.fill,
|
|
1162
1170
|
"text-anchor": "middle",
|
|
1163
|
-
"font-weight":
|
|
1164
|
-
}, L(
|
|
1171
|
+
"font-weight": B.value.bold ? "bold" : "normal"
|
|
1172
|
+
}, L(B.value.text), 9, Ml)
|
|
1165
1173
|
])) : h("", !0),
|
|
1166
|
-
f.value && c.value ? (s(), r("g",
|
|
1174
|
+
f.value && c.value ? (s(), r("g", Nl, [
|
|
1167
1175
|
d("rect", {
|
|
1168
1176
|
x: w.value[c.value].tl.x,
|
|
1169
1177
|
y: w.value[c.value].tl.y,
|
|
@@ -1173,7 +1181,7 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
1173
1181
|
style: q(`cursor: pointer; opacity: ${c.value === "TL" ? 1 : 0.2}`),
|
|
1174
1182
|
onClick: u[10] || (u[10] = (a) => M("TL")),
|
|
1175
1183
|
class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": c.value !== "TL" })
|
|
1176
|
-
}, null, 14,
|
|
1184
|
+
}, null, 14, Ol),
|
|
1177
1185
|
d("rect", {
|
|
1178
1186
|
x: w.value[c.value].tr.x,
|
|
1179
1187
|
y: w.value[c.value].tr.y,
|
|
@@ -1183,7 +1191,7 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
1183
1191
|
style: q(`cursor: pointer; opacity: ${c.value === "TR" ? 1 : 0.2}`),
|
|
1184
1192
|
onClick: u[11] || (u[11] = (a) => M("TR")),
|
|
1185
1193
|
class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": c.value !== "TR" })
|
|
1186
|
-
}, null, 14,
|
|
1194
|
+
}, null, 14, Rl),
|
|
1187
1195
|
d("rect", {
|
|
1188
1196
|
x: w.value[c.value].br.x,
|
|
1189
1197
|
y: w.value[c.value].br.y,
|
|
@@ -1193,7 +1201,7 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
1193
1201
|
style: q(`cursor: pointer; opacity: ${c.value === "BR" ? 1 : 0.2}`),
|
|
1194
1202
|
onClick: u[12] || (u[12] = (a) => M("BR")),
|
|
1195
1203
|
class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": c.value !== "BR" })
|
|
1196
|
-
}, null, 14,
|
|
1204
|
+
}, null, 14, Vl),
|
|
1197
1205
|
d("rect", {
|
|
1198
1206
|
x: w.value[c.value].bl.x,
|
|
1199
1207
|
y: w.value[c.value].bl.y,
|
|
@@ -1203,26 +1211,26 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
1203
1211
|
style: q(`cursor: pointer; opacity: ${c.value === "BL" ? 1 : 0.2}`),
|
|
1204
1212
|
onClick: u[13] || (u[13] = (a) => M("BL")),
|
|
1205
1213
|
class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": c.value !== "BL" })
|
|
1206
|
-
}, null, 14,
|
|
1214
|
+
}, null, 14, Pl),
|
|
1207
1215
|
d("path", {
|
|
1208
1216
|
class: "vue-ui-quadrant-minimap-crosshairs",
|
|
1209
1217
|
stroke: t.value.style.chart.backgroundColor,
|
|
1210
1218
|
"stroke-width": 1,
|
|
1211
1219
|
d: w.value[c.value].crosshairs.horizontal
|
|
1212
|
-
}, null, 8,
|
|
1220
|
+
}, null, 8, Bl),
|
|
1213
1221
|
d("path", {
|
|
1214
1222
|
class: "vue-ui-quadrant-minimap-crosshairs",
|
|
1215
1223
|
stroke: t.value.style.chart.backgroundColor,
|
|
1216
1224
|
"stroke-width": 1,
|
|
1217
1225
|
d: w.value[c.value].crosshairs.vertical
|
|
1218
|
-
}, null, 8,
|
|
1226
|
+
}, null, 8, Fl)
|
|
1219
1227
|
])) : h("", !0),
|
|
1220
1228
|
x(l.$slots, "svg", { svg: e.value }, void 0, !0)
|
|
1221
|
-
], 14,
|
|
1222
|
-
l.$slots.watermark ? (s(), r("div",
|
|
1223
|
-
x(l.$slots, "watermark",
|
|
1229
|
+
], 14, Ut)) : h("", !0),
|
|
1230
|
+
l.$slots.watermark ? (s(), r("div", Hl, [
|
|
1231
|
+
x(l.$slots, "watermark", U(D({ isPrinting: i(Se) || i(Ce) })), void 0, !0)
|
|
1224
1232
|
])) : h("", !0),
|
|
1225
|
-
K.value ? h("", !0) : (s(), O(i(
|
|
1233
|
+
K.value ? h("", !0) : (s(), O(i(lt), {
|
|
1226
1234
|
key: 6,
|
|
1227
1235
|
config: {
|
|
1228
1236
|
type: "quadrant",
|
|
@@ -1244,17 +1252,17 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
1244
1252
|
ref_key: "chartLegend",
|
|
1245
1253
|
ref: fe
|
|
1246
1254
|
}, [
|
|
1247
|
-
t.value.style.chart.legend.show ? (s(), O(
|
|
1255
|
+
t.value.style.chart.legend.show ? (s(), O(Ft, {
|
|
1248
1256
|
key: `legend_${$e.value}`,
|
|
1249
1257
|
legendSet: Ae.value,
|
|
1250
|
-
config:
|
|
1258
|
+
config: ht.value,
|
|
1251
1259
|
onClickMarker: u[14] || (u[14] = ({ legend: a }) => ie(a.id))
|
|
1252
1260
|
}, {
|
|
1253
1261
|
item: m(({ legend: a }) => [
|
|
1254
1262
|
d("div", {
|
|
1255
1263
|
onClick: (o) => ie(a.id),
|
|
1256
1264
|
style: q(`opacity:${N.value.includes(a.id) ? 0.5 : 1}`)
|
|
1257
|
-
}, L(a.name), 13,
|
|
1265
|
+
}, L(a.name), 13, Il)
|
|
1258
1266
|
]),
|
|
1259
1267
|
_: 1
|
|
1260
1268
|
}, 8, ["legendSet", "config"])) : x(l.$slots, "legend", {
|
|
@@ -1270,7 +1278,7 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
1270
1278
|
}, [
|
|
1271
1279
|
x(l.$slots, "source", {}, void 0, !0)
|
|
1272
1280
|
], 512)) : h("", !0),
|
|
1273
|
-
de(i(
|
|
1281
|
+
de(i(at), {
|
|
1274
1282
|
show: $.value.showTooltip && ee.value,
|
|
1275
1283
|
backgroundColor: t.value.style.chart.tooltip.backgroundColor,
|
|
1276
1284
|
color: t.value.style.chart.tooltip.color,
|
|
@@ -1281,20 +1289,20 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
1281
1289
|
backgroundOpacity: t.value.style.chart.tooltip.backgroundOpacity,
|
|
1282
1290
|
position: t.value.style.chart.tooltip.position,
|
|
1283
1291
|
offsetY: t.value.style.chart.tooltip.offsetY,
|
|
1284
|
-
parent:
|
|
1292
|
+
parent: P.value,
|
|
1285
1293
|
content: re.value,
|
|
1286
|
-
isFullscreen:
|
|
1294
|
+
isFullscreen: E.value,
|
|
1287
1295
|
isCustom: t.value.style.chart.tooltip.customFormat && typeof t.value.style.chart.tooltip.customFormat == "function"
|
|
1288
1296
|
}, {
|
|
1289
1297
|
"tooltip-before": m(() => [
|
|
1290
|
-
x(l.$slots, "tooltip-before",
|
|
1298
|
+
x(l.$slots, "tooltip-before", U(D({ ...ve.value })), void 0, !0)
|
|
1291
1299
|
]),
|
|
1292
1300
|
"tooltip-after": m(() => [
|
|
1293
|
-
x(l.$slots, "tooltip-after",
|
|
1301
|
+
x(l.$slots, "tooltip-after", U(D({ ...ve.value })), void 0, !0)
|
|
1294
1302
|
]),
|
|
1295
1303
|
default: m(() => [
|
|
1296
|
-
t.value.style.chart.tooltip.showShape ? (s(), r("svg",
|
|
1297
|
-
de(
|
|
1304
|
+
t.value.style.chart.tooltip.showShape ? (s(), r("svg", El, [
|
|
1305
|
+
de(Qe, {
|
|
1298
1306
|
plot: { x: 10, y: 10 },
|
|
1299
1307
|
shape: j.value.shape,
|
|
1300
1308
|
color: j.value.color,
|
|
@@ -1306,7 +1314,7 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
1306
1314
|
]),
|
|
1307
1315
|
_: 3
|
|
1308
1316
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
|
|
1309
|
-
K.value ? (s(), O(i(
|
|
1317
|
+
K.value ? (s(), O(i(tt), {
|
|
1310
1318
|
key: 8,
|
|
1311
1319
|
hideDetails: "",
|
|
1312
1320
|
config: {
|
|
@@ -1323,7 +1331,7 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
1323
1331
|
}
|
|
1324
1332
|
}, {
|
|
1325
1333
|
content: m(() => [
|
|
1326
|
-
(s(), O(i(
|
|
1334
|
+
(s(), O(i(Ke), {
|
|
1327
1335
|
key: `table_${xe.value}`,
|
|
1328
1336
|
colNames: ae.value.colNames,
|
|
1329
1337
|
head: ae.value.head,
|
|
@@ -1333,21 +1341,21 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
1333
1341
|
onClose: u[15] || (u[15] = (a) => $.value.showTable = !1)
|
|
1334
1342
|
}, {
|
|
1335
1343
|
th: m(({ th: a }) => [
|
|
1336
|
-
|
|
1344
|
+
gt(L(a), 1)
|
|
1337
1345
|
]),
|
|
1338
1346
|
td: m(({ td: a }) => [
|
|
1339
1347
|
d("div", {
|
|
1340
1348
|
innerHTML: a.name || a
|
|
1341
|
-
}, null, 8,
|
|
1349
|
+
}, null, 8, Ul)
|
|
1342
1350
|
]),
|
|
1343
1351
|
_: 1
|
|
1344
1352
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
1345
1353
|
]),
|
|
1346
1354
|
_: 1
|
|
1347
1355
|
}, 8, ["config"])) : h("", !0)
|
|
1348
|
-
], 46,
|
|
1356
|
+
], 46, Et));
|
|
1349
1357
|
}
|
|
1350
|
-
},
|
|
1358
|
+
}, sa = /* @__PURE__ */ It(Dl, [["__scopeId", "data-v-25644c48"]]);
|
|
1351
1359
|
export {
|
|
1352
|
-
|
|
1360
|
+
sa as default
|
|
1353
1361
|
};
|