vue-data-ui 2.17.0 → 2.17.1
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 +2 -1
- package/dist/{Arrow-BAEkZGzL.js → Arrow-BDCVJzQB.js} +1 -1
- package/dist/{BaseDraggableDialog-ChCkcmj_.js → BaseDraggableDialog-BvuWrldK.js} +2 -2
- package/dist/{BaseIcon-naqtCxVi.js → BaseIcon-D9Tz8ARD.js} +1 -1
- package/dist/{ColorPicker-CfIPgxcj.js → ColorPicker-wGf46G2G.js} +2 -2
- package/dist/{DataTable-D0VYDhfx.js → DataTable-Dt-TIOyY.js} +2 -2
- package/dist/{Legend-Bxlv67uY.js → Legend-3LNqqLDg.js} +2 -2
- package/dist/{NonSvgPenAndPaper-b_oVy-Dd.js → NonSvgPenAndPaper-iDdMuUEo.js} +3 -3
- package/dist/{PackageVersion-5TR4ocqp.js → PackageVersion-C-4Ee8BQ.js} +1 -1
- package/dist/{PenAndPaper-D6AqipIO.js → PenAndPaper-Cde-wJ3N.js} +3 -3
- package/dist/{Shape-DtFT5EJa.js → Shape-C75836Jl.js} +1 -1
- package/dist/{Slicer-CL6-MRI6.js → Slicer-CpSu7plp.js} +2 -2
- package/dist/{SparkTooltip-Bcv1aoA5.js → SparkTooltip-B_GXa2tb.js} +1 -1
- package/dist/{Title-B-2bV0SW.js → Title-DpERl1yr.js} +1 -1
- package/dist/{Tooltip-CoQnTnr-.js → Tooltip-DA0bYKFG.js} +1 -1
- package/dist/{UserOptions-Dd34lEKb.js → UserOptions-DTEJ3UM_.js} +2 -2
- package/dist/{dom-to-png-2AA0wHlX.js → dom-to-png-DWDGYXFL.js} +1 -1
- package/dist/{img-Y_hYz-ZC.js → img-utitT2Gd.js} +1 -1
- package/dist/{index-pPGk-uhD.js → index-CobsZUkv.js} +22 -8
- package/dist/{pdf-yfk3d1is.js → pdf-DWZ8IB56.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +63 -160
- package/dist/types/vue-data-ui.d.ts +63 -160
- package/dist/{useNestedProp-DjACxgdZ.js → useNestedProp-BwL5wmVa.js} +1 -1
- package/dist/{usePrinter-DDHcrl0A.js → usePrinter-DPh6U_Qk.js} +2 -2
- package/dist/{vue-data-ui-CIWxgKjd.js → vue-data-ui-D7ZgRDQ_.js} +63 -63
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-D5Wpdqfk.js → vue-ui-3d-bar-ORUAjkg7.js} +41 -34
- package/dist/{vue-ui-accordion-CVnA550V.js → vue-ui-accordion-UewqY6OI.js} +3 -3
- package/dist/{vue-ui-age-pyramid-BuAl-zC5.js → vue-ui-age-pyramid-Yl4aRpNc.js} +134 -127
- package/dist/{vue-ui-annotator-gl2A20m3.js → vue-ui-annotator-B1gqiBqq.js} +2 -2
- package/dist/{vue-ui-bullet-D-VMKpwe.js → vue-ui-bullet-C307lCPt.js} +90 -83
- package/dist/{vue-ui-candlestick-1r6YwiUV.js → vue-ui-candlestick-BE6PcEdh.js} +101 -94
- package/dist/{vue-ui-carousel-table-B6UJoNtP.js → vue-ui-carousel-table-Cpvjr677.js} +4 -4
- package/dist/{vue-ui-chestnut-DnlBYpC5.js → vue-ui-chestnut-CUw74AgC.js} +270 -263
- package/dist/{vue-ui-chord-D3kpzYjp.js → vue-ui-chord-CCPGeAiY.js} +60 -53
- package/dist/{vue-ui-circle-pack-CHgdpoYu.js → vue-ui-circle-pack-dfyPiQmy.js} +121 -114
- package/dist/{vue-ui-cursor-63EAvElT.js → vue-ui-cursor-C2zmfeoD.js} +2 -2
- package/dist/{vue-ui-dashboard-Da6CPET-.js → vue-ui-dashboard-CotAqRbX.js} +62 -62
- package/dist/{vue-ui-digits-CA8pUKej.js → vue-ui-digits-7qJFCuoI.js} +2 -2
- package/dist/{vue-ui-donut-CKa7nFjt.js → vue-ui-donut-D41WeqQU.js} +244 -243
- package/dist/{vue-ui-donut-evolution-qeBEA4W8.js → vue-ui-donut-evolution-Deg0dsYg.js} +215 -211
- package/dist/{vue-ui-dumbbell-Bm0PvAKT.js → vue-ui-dumbbell-DDwNoTPG.js} +117 -110
- package/dist/{vue-ui-flow-C2dqXvrU.js → vue-ui-flow-6oR7IMyi.js} +105 -98
- package/dist/{vue-ui-funnel-Dvy5rRld.js → vue-ui-funnel-BnXtOJmh.js} +138 -131
- package/dist/{vue-ui-galaxy-Y8LYp5n2.js → vue-ui-galaxy-75XC8SpV.js} +150 -146
- package/dist/{vue-ui-gauge-BBo0jWAP.js → vue-ui-gauge-w31j915C.js} +125 -118
- package/dist/{vue-ui-gizmo-DjXfTOWn.js → vue-ui-gizmo-bZqk6oZS.js} +3 -3
- package/dist/{vue-ui-heatmap-BbxRpltP.js → vue-ui-heatmap-BfU62tMW.js} +155 -148
- package/dist/{vue-ui-history-plot-ChYf3Nvc.js → vue-ui-history-plot-CFfco-Yj.js} +141 -134
- package/dist/{vue-ui-kpi-Vfc5-JnE.js → vue-ui-kpi-DaJ1U3wf.js} +3 -3
- package/dist/{vue-ui-mini-loader-C0-Nsz8K.js → vue-ui-mini-loader-CF_2jAI8.js} +2 -2
- package/dist/{vue-ui-molecule-B7Yu7vzF.js → vue-ui-molecule-Tdk3Gd8M.js} +141 -134
- package/dist/{vue-ui-mood-radar-C8JUTwNw.js → vue-ui-mood-radar-Dg5wS7W5.js} +126 -119
- package/dist/{vue-ui-nested-donuts-D0RgFifU.js → vue-ui-nested-donuts-CpRe0sQB.js} +244 -244
- package/dist/{vue-ui-onion-D4U7TL_N.js → vue-ui-onion-B8o4ft2v.js} +88 -81
- package/dist/{vue-ui-parallel-coordinate-plot-CXMT7Rjr.js → vue-ui-parallel-coordinate-plot-zW-CNqWC.js} +123 -116
- package/dist/{vue-ui-quadrant-B13pTVVZ.js → vue-ui-quadrant-DiRtZ16w.js} +151 -144
- package/dist/{vue-ui-quick-chart-C0UL4o63.js → vue-ui-quick-chart-BRlYC_yT.js} +39 -32
- package/dist/{vue-ui-radar-XpdiXnhz.js → vue-ui-radar-DKgX1Ibx.js} +58 -51
- package/dist/{vue-ui-rating-CM8ZrUb1.js → vue-ui-rating-DlklKr-X.js} +2 -2
- package/dist/{vue-ui-relation-circle-CYoFNekk.js → vue-ui-relation-circle-MHiAp8dC.js} +127 -120
- package/dist/{vue-ui-ridgeline-QUquE6ck.js → vue-ui-ridgeline-DA8verAe.js} +98 -91
- package/dist/{vue-ui-rings-DwT0IfOh.js → vue-ui-rings-Dh6lFqun.js} +208 -204
- package/dist/{vue-ui-scatter-zDpy1udm.js → vue-ui-scatter-CLC5sTOi.js} +172 -165
- package/dist/{vue-ui-skeleton-DJPjyNYn.js → vue-ui-skeleton-8s4xts8z.js} +3 -3
- package/dist/{vue-ui-smiley-DoDXl6k0.js → vue-ui-smiley-utuzw8uI.js} +2 -2
- package/dist/{vue-ui-spark-trend-CniV6Cpr.js → vue-ui-spark-trend-BODEqGRr.js} +3 -3
- package/dist/{vue-ui-sparkbar-Ds2ITgwn.js → vue-ui-sparkbar-B8MB-kn9.js} +3 -3
- package/dist/{vue-ui-sparkgauge-CosfK-kw.js → vue-ui-sparkgauge-CuD7kTS3.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-C7O1wPAJ.js → vue-ui-sparkhistogram-BYJszvna.js} +4 -4
- package/dist/{vue-ui-sparkline-B_iUj3F2.js → vue-ui-sparkline-D77GyWzG.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-DBhWrysr.js → vue-ui-sparkstackbar-DNb1yD64.js} +3 -3
- package/dist/{vue-ui-stackbar-C3aV4IcL.js → vue-ui-stackbar-C6rjCYDD.js} +61 -54
- package/dist/{vue-ui-strip-plot-Bvr1GAzH.js → vue-ui-strip-plot-B6cYojHQ.js} +116 -109
- package/dist/{vue-ui-table-DQKKRgyo.js → vue-ui-table-IC7SmWVd.js} +3 -3
- package/dist/{vue-ui-table-heatmap-Dyqj5XJC.js → vue-ui-table-heatmap-DHFpJMpA.js} +5 -5
- package/dist/{vue-ui-table-sparkline-D4RubyLj.js → vue-ui-table-sparkline-D7wz-sCj.js} +4 -4
- package/dist/{vue-ui-thermometer-B0FKI5cG.js → vue-ui-thermometer-D-oiVT3n.js} +88 -81
- package/dist/{vue-ui-timer-DUCBRIl-.js → vue-ui-timer-C9jVyX5l.js} +5 -5
- package/dist/{vue-ui-tiremarks-CRt4UQZD.js → vue-ui-tiremarks-B1bM9Aoo.js} +127 -120
- package/dist/vue-ui-treemap-DX48YlU5.js +965 -0
- package/dist/{vue-ui-vertical-bar-C5fPYltO.js → vue-ui-vertical-bar-6SjKPQWR.js} +233 -226
- package/dist/{vue-ui-waffle-BpWLlfpg.js → vue-ui-waffle-CYao9MMw.js} +183 -179
- package/dist/{vue-ui-wheel-CTzuCroy.js → vue-ui-wheel-USuDhMwW.js} +121 -114
- package/dist/{vue-ui-word-cloud-BPokdaP1.js → vue-ui-word-cloud-TOBTs7yF.js} +152 -145
- package/dist/{vue-ui-world-CS6k-oil.js → vue-ui-world-C2qikqBa.js} +77 -70
- package/dist/{vue-ui-xy-CQ425kLR.js → vue-ui-xy-DxwgKoO-.js} +229 -222
- package/dist/{vue-ui-xy-canvas-D2IFwAr7.js → vue-ui-xy-canvas-N69OpVn8.js} +154 -147
- package/package.json +1 -1
- package/dist/vue-ui-treemap-CWP5nYDx.js +0 -961
|
@@ -1,14 +1,14 @@
|
|
|
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
|
|
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
|
|
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 n, openBlock as s, unref as i, normalizeStyle as q, normalizeClass as T, createBlock as R, 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 V, f as B, 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-CobsZUkv.js";
|
|
3
3
|
import { t as Nt, u as Ot } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as Ge } from "./useNestedProp-
|
|
5
|
-
import { u as Rt } from "./usePrinter-
|
|
4
|
+
import { u as Ge } from "./useNestedProp-BwL5wmVa.js";
|
|
5
|
+
import { u as Rt } from "./usePrinter-DPh6U_Qk.js";
|
|
6
6
|
import { u as Vt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
7
|
-
import { u as
|
|
8
|
-
import
|
|
9
|
-
import Ft from "./Legend-
|
|
10
|
-
import { _ as Qe } from "./Shape-
|
|
11
|
-
import Ht from "./img-
|
|
7
|
+
import { u as Bt } from "./useChartAccessibility-9icAAmYg.js";
|
|
8
|
+
import Pt from "./Title-DpERl1yr.js";
|
|
9
|
+
import Ft from "./Legend-3LNqqLDg.js";
|
|
10
|
+
import { _ as Qe } from "./Shape-C75836Jl.js";
|
|
11
|
+
import Ht from "./img-utitT2Gd.js";
|
|
12
12
|
import { _ as It } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
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 = {
|
|
14
14
|
key: 0,
|
|
@@ -16,7 +16,7 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
|
|
|
16
16
|
}, ql = ["x", "y", "font-size", "fill"], _l = ["x", "y", "font-size", "fill", "innerHTML"], Sl = { key: 0 }, Cl = ["x", "y", "onMouseover", "onClick"], zl = {
|
|
17
17
|
key: 8,
|
|
18
18
|
class: "vue-ui-dna"
|
|
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"],
|
|
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"], Bl = ["x", "y", "fill"], Pl = ["stroke", "d"], Fl = ["stroke", "d"], Hl = {
|
|
20
20
|
key: 5,
|
|
21
21
|
class: "vue-data-ui-watermark"
|
|
22
22
|
}, Il = ["onClick"], El = {
|
|
@@ -42,10 +42,10 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
|
|
|
42
42
|
},
|
|
43
43
|
emits: ["selectPlot", "selectSide", "selectLegend"],
|
|
44
44
|
setup(Je, { expose: je, emit: Ze }) {
|
|
45
|
-
const Ke = F(() => import("./DataTable-
|
|
45
|
+
const Ke = F(() => import("./DataTable-Dt-TIOyY.js")), et = F(() => import("./PenAndPaper-Cde-wJ3N.js")), tt = F(() => import("./vue-ui-accordion-UewqY6OI.js")), lt = F(() => import("./vue-ui-skeleton-8s4xts8z.js")), at = F(() => import("./Tooltip-DA0bYKFG.js")), ut = F(() => import("./UserOptions-DTEJ3UM_.js")), ot = F(() => import("./PackageVersion-C-4Ee8BQ.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), A = 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({
|
|
46
46
|
get: () => qe(),
|
|
47
47
|
set: (l) => l
|
|
48
|
-
}), { userOptionsVisible: ne, setUserOptionsVisibility: ke, keepUserOptionState: Le } = Vt({ config: t.value }), { svgRef: we } =
|
|
48
|
+
}), { userOptionsVisible: ne, setUserOptionsVisibility: ke, keepUserOptionState: Le } = Vt({ config: t.value }), { svgRef: we } = Bt({ config: t.value.style.chart.title });
|
|
49
49
|
function qe() {
|
|
50
50
|
const l = Ge({
|
|
51
51
|
userConfig: X.config,
|
|
@@ -62,7 +62,7 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
|
|
|
62
62
|
Ee(() => X.config, (l) => {
|
|
63
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;
|
|
64
64
|
}, { deep: !0 });
|
|
65
|
-
const
|
|
65
|
+
const M = Ue(null), H = Ue(null);
|
|
66
66
|
function _e() {
|
|
67
67
|
if (Lt(X.dataset) ? G({
|
|
68
68
|
componentName: "VueUiQuadrant",
|
|
@@ -90,7 +90,7 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
|
|
|
90
90
|
}), t.value.responsive) {
|
|
91
91
|
const l = Nt(() => {
|
|
92
92
|
const { width: u, height: a } = Ot({
|
|
93
|
-
chart:
|
|
93
|
+
chart: A.value,
|
|
94
94
|
title: t.value.style.chart.title.text ? be.value : null,
|
|
95
95
|
legend: t.value.style.chart.legend.show ? fe.value : null,
|
|
96
96
|
source: pe.value,
|
|
@@ -100,13 +100,13 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
|
|
|
100
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;
|
|
101
101
|
});
|
|
102
102
|
});
|
|
103
|
-
|
|
103
|
+
M.value && (H.value && M.value.unobserve(H.value), M.value.disconnect()), M.value = new ResizeObserver(l), H.value = A.value.parentNode, M.value.observe(H.value);
|
|
104
104
|
}
|
|
105
105
|
}
|
|
106
106
|
bt(() => {
|
|
107
107
|
_e();
|
|
108
108
|
}), ft(() => {
|
|
109
|
-
|
|
109
|
+
M.value && (H.value && M.value.unobserve(H.value), M.value.disconnect());
|
|
110
110
|
});
|
|
111
111
|
const { isPrinting: Se, isImaging: Ce, generatePdf: ze, generateImage: Te } = Rt({
|
|
112
112
|
elementId: `vue-ui-quadrant_${z.value}`,
|
|
@@ -142,7 +142,7 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
|
|
|
142
142
|
startY: 0
|
|
143
143
|
});
|
|
144
144
|
}, { deep: !0 });
|
|
145
|
-
const c = y(null),
|
|
145
|
+
const c = y(null), P = g(() => {
|
|
146
146
|
switch (c.value) {
|
|
147
147
|
case "TL":
|
|
148
148
|
return {
|
|
@@ -184,8 +184,8 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
|
|
|
184
184
|
return { x: 0, y: 0, text: "", fontSize: 0, fill: "none", bold: !1 };
|
|
185
185
|
}
|
|
186
186
|
}), it = y(null), te = y(!1);
|
|
187
|
-
function Q({ targetX: l, targetY: u, targetW: a, targetH: o, side:
|
|
188
|
-
c.value && Z(
|
|
187
|
+
function Q({ targetX: l, targetY: u, targetW: a, targetH: o, side: r }) {
|
|
188
|
+
c.value && Z(r);
|
|
189
189
|
const b = {
|
|
190
190
|
x: l - v.value.startX,
|
|
191
191
|
y: u - v.value.startY,
|
|
@@ -198,7 +198,7 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
|
|
|
198
198
|
}
|
|
199
199
|
Ie();
|
|
200
200
|
}
|
|
201
|
-
function
|
|
201
|
+
function N(l) {
|
|
202
202
|
if (!te.value)
|
|
203
203
|
if (f.value && c.value === l)
|
|
204
204
|
Q({
|
|
@@ -254,18 +254,18 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
|
|
|
254
254
|
}
|
|
255
255
|
const vt = g(() => {
|
|
256
256
|
const l = t.value.style.chart.layout.grid.graduations.steps, u = e.value.usableWidth / (l * 2), a = e.value.top, o = [];
|
|
257
|
-
for (let
|
|
257
|
+
for (let r = 0; r < l; r += 1)
|
|
258
258
|
o.push({
|
|
259
|
-
x: e.value.padding + u *
|
|
260
|
-
y: a + e.value.usableHeight * (
|
|
261
|
-
height: e.value.usableHeight * (1 -
|
|
262
|
-
width: e.value.usableWidth * (1 -
|
|
263
|
-
opacity: Math.round((
|
|
259
|
+
x: e.value.padding + u * r,
|
|
260
|
+
y: a + e.value.usableHeight * (r / l / 2),
|
|
261
|
+
height: e.value.usableHeight * (1 - r / l),
|
|
262
|
+
width: e.value.usableWidth * (1 - r / l),
|
|
263
|
+
opacity: Math.round((r + 1) / l * 20)
|
|
264
264
|
});
|
|
265
265
|
return o;
|
|
266
266
|
}), _ = g(() => {
|
|
267
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;
|
|
268
|
-
return t.value.style.chart.layout.grid.xAxis.auto && (l = Math.max(...I.value.flatMap((
|
|
268
|
+
return t.value.style.chart.layout.grid.xAxis.auto && (l = Math.max(...I.value.flatMap((r) => r.series.map((b) => b.x))), u = Math.min(...I.value.flatMap((r) => r.series.map((b) => b.x)))), t.value.style.chart.layout.grid.yAxis.auto && (a = Math.max(...I.value.flatMap((r) => r.series.map((b) => b.y))), o = Math.min(...I.value.flatMap((r) => r.series.map((b) => b.y)))), {
|
|
269
269
|
x: {
|
|
270
270
|
max: l,
|
|
271
271
|
min: u
|
|
@@ -275,7 +275,7 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
|
|
|
275
275
|
min: o
|
|
276
276
|
}
|
|
277
277
|
};
|
|
278
|
-
}),
|
|
278
|
+
}), O = y([]), I = g(() => X.dataset.map((l, u) => ({
|
|
279
279
|
...l,
|
|
280
280
|
series: _t({
|
|
281
281
|
data: l.series,
|
|
@@ -283,7 +283,7 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
|
|
|
283
283
|
}),
|
|
284
284
|
id: `cat_${u}_${z.value}`,
|
|
285
285
|
color: qt(l.color) || Xe.value[u] || he[u]
|
|
286
|
-
}))), ct = g(() => I.value.filter((l) => !
|
|
286
|
+
}))), ct = g(() => I.value.filter((l) => !O.value.includes(l.id))), dt = g(() => I.value.map((l, u) => ({
|
|
287
287
|
...l,
|
|
288
288
|
shape: l.shape || "circle",
|
|
289
289
|
series: l.series.map((a) => ({
|
|
@@ -358,11 +358,11 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
|
|
|
358
358
|
sideName: t.value.style.chart.layout.labels.quadrantLabels[W.quadrantSide].text,
|
|
359
359
|
color: p.color,
|
|
360
360
|
shape: p.shape
|
|
361
|
-
}))), u = t.value.style.chart.layout.grid.xAxis.name || "x", a = t.value.style.chart.layout.grid.yAxis.name || "y", o = [t.value.translations.category, t.value.translations.item, u, a, t.value.translations.side],
|
|
361
|
+
}))), u = t.value.style.chart.layout.grid.xAxis.name || "x", a = t.value.style.chart.layout.grid.yAxis.name || "y", o = [t.value.translations.category, t.value.translations.item, u, a, t.value.translations.side], r = l.map((p) => [p.category, p.name, p.x, p.y, p.sideName || p.quadrantSide]), b = l.map((p) => ({
|
|
362
362
|
shape: p.shape,
|
|
363
363
|
color: p.color
|
|
364
364
|
}));
|
|
365
|
-
return { head: o, body:
|
|
365
|
+
return { head: o, body: r, itsShapes: b, tableData: l };
|
|
366
366
|
}), ae = g(() => {
|
|
367
367
|
const l = le.value.head, u = le.value.tableData.map((o) => [
|
|
368
368
|
{
|
|
@@ -371,18 +371,18 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
|
|
|
371
371
|
name: o.category
|
|
372
372
|
},
|
|
373
373
|
o.name,
|
|
374
|
-
|
|
374
|
+
V(
|
|
375
375
|
t.value.style.chart.layout.labels.plotLabels.x.formatter,
|
|
376
376
|
o.x,
|
|
377
|
-
|
|
377
|
+
B({
|
|
378
378
|
v: o.x,
|
|
379
379
|
r: t.value.style.chart.layout.labels.plotLabels.rounding
|
|
380
380
|
})
|
|
381
381
|
),
|
|
382
|
-
|
|
382
|
+
V(
|
|
383
383
|
t.value.style.chart.layout.labels.plotLabels.y.formatter,
|
|
384
384
|
o.y,
|
|
385
|
-
|
|
385
|
+
B({
|
|
386
386
|
v: o.y,
|
|
387
387
|
r: t.value.style.chart.layout.labels.plotLabels.rounding
|
|
388
388
|
})
|
|
@@ -404,7 +404,7 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
|
|
|
404
404
|
return { head: l, body: u, config: a, colNames: l };
|
|
405
405
|
});
|
|
406
406
|
function ie(l) {
|
|
407
|
-
|
|
407
|
+
O.value.includes(l) ? O.value = O.value.filter((a) => a !== l) : O.value.push(l);
|
|
408
408
|
const u = Re();
|
|
409
409
|
se("selectLegend", u);
|
|
410
410
|
}
|
|
@@ -413,9 +413,9 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
|
|
|
413
413
|
shape: l.shape,
|
|
414
414
|
color: l.color,
|
|
415
415
|
id: l.id,
|
|
416
|
-
opacity:
|
|
416
|
+
opacity: O.value.includes(l.id) ? 0.5 : 1,
|
|
417
417
|
segregate: () => ie(l.id),
|
|
418
|
-
isSegregated:
|
|
418
|
+
isSegregated: O.value.includes(l.id)
|
|
419
419
|
}))), ht = g(() => ({
|
|
420
420
|
cy: "quadrant-div-legend",
|
|
421
421
|
backgroundColor: t.value.style.chart.legend.backgroundColor,
|
|
@@ -463,24 +463,24 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
|
|
|
463
463
|
config: t.value
|
|
464
464
|
});
|
|
465
465
|
else {
|
|
466
|
-
let
|
|
467
|
-
u.quadrantSide && (
|
|
466
|
+
let r = "";
|
|
467
|
+
u.quadrantSide && (r += `<div style="color:${t.value.style.chart.layout.labels.quadrantLabels[u.quadrantSide].color};font-weight:${t.value.style.chart.layout.labels.quadrantLabels[u.quadrantSide].bold ? "bold" : "400"}">${t.value.style.chart.layout.labels.quadrantLabels[u.quadrantSide].text}</div>`), r += `<div>${l.name}</div>`, r += `<div style="padding-bottom:6px;border-bottom:1px solid ${t.value.style.chart.tooltip.borderColor};margin-bottom:3px">${u.name}</div>`, r += `<div>${t.value.style.chart.layout.grid.xAxis.name ? t.value.style.chart.layout.grid.xAxis.name : "x"}: <b>${V(
|
|
468
468
|
t.value.style.chart.layout.labels.plotLabels.x.formatter,
|
|
469
469
|
u.xValue,
|
|
470
|
-
|
|
470
|
+
B({
|
|
471
471
|
v: u.xValue,
|
|
472
472
|
r: t.value.style.chart.tooltip.roundingValue
|
|
473
473
|
}),
|
|
474
474
|
{ datapoint: u, category: l, categoryIndex: a }
|
|
475
|
-
)}</b></div>`,
|
|
475
|
+
)}</b></div>`, r += `<div>${t.value.style.chart.layout.grid.yAxis.name ? t.value.style.chart.layout.grid.yAxis.name : "y"}: <b>${V(
|
|
476
476
|
t.value.style.chart.layout.labels.plotLabels.y.formatter,
|
|
477
477
|
u.yValue,
|
|
478
|
-
|
|
478
|
+
B({
|
|
479
479
|
v: u.yValue,
|
|
480
480
|
r: t.value.style.chart.tooltip.roundingValue
|
|
481
481
|
}),
|
|
482
482
|
{ datapoint: u, category: l, categoryIndex: a }
|
|
483
|
-
)}</b></div>`, re.value = `<div style="text-align:left;font-size:${t.value.style.chart.tooltip.fontSize}px">${
|
|
483
|
+
)}</b></div>`, re.value = `<div style="text-align:left;font-size:${t.value.style.chart.tooltip.fontSize}px">${r}</div>`;
|
|
484
484
|
}
|
|
485
485
|
}
|
|
486
486
|
function Oe(l, u) {
|
|
@@ -497,11 +497,11 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
|
|
|
497
497
|
}
|
|
498
498
|
function Z(l) {
|
|
499
499
|
if (!l) return;
|
|
500
|
-
const u = C.value.flatMap((o) => o.series.filter((
|
|
501
|
-
category:
|
|
502
|
-
itemName:
|
|
503
|
-
x:
|
|
504
|
-
y:
|
|
500
|
+
const u = C.value.flatMap((o) => o.series.filter((r) => r.quadrantSide === l).map((r) => ({
|
|
501
|
+
category: r.categoryName,
|
|
502
|
+
itemName: r.name,
|
|
503
|
+
x: r.xValue,
|
|
504
|
+
y: r.yValue
|
|
505
505
|
}))), a = {
|
|
506
506
|
quadrantSide: l,
|
|
507
507
|
sideName: t.value.style.chart.layout.labels.quadrantLabels[l].text,
|
|
@@ -631,15 +631,15 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
|
|
|
631
631
|
}
|
|
632
632
|
function Ve(l = null) {
|
|
633
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,
|
|
634
|
+
const u = [[t.value.style.chart.title.text], [t.value.style.chart.title.subtitle.text], [""]], a = le.value.head, o = le.value.body, r = u.concat([a]).concat(o), b = Wt(r);
|
|
635
635
|
l ? l(b) : Yt({ csvContent: b, title: t.value.style.chart.title.text || "vue-ui-quadrant" });
|
|
636
636
|
});
|
|
637
637
|
}
|
|
638
638
|
const E = y(!1);
|
|
639
|
-
function
|
|
639
|
+
function Be(l) {
|
|
640
640
|
E.value = l, ye.value += 1;
|
|
641
641
|
}
|
|
642
|
-
function
|
|
642
|
+
function Pe() {
|
|
643
643
|
$.value.showTable = !$.value.showTable;
|
|
644
644
|
}
|
|
645
645
|
function Fe() {
|
|
@@ -653,9 +653,16 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
|
|
|
653
653
|
ue.value = !ue.value;
|
|
654
654
|
}
|
|
655
655
|
async function yt({ scale: l = 2 } = {}) {
|
|
656
|
-
if (!
|
|
657
|
-
const {
|
|
658
|
-
return {
|
|
656
|
+
if (!A.value) return;
|
|
657
|
+
const { width: u, height: a } = A.value.getBoundingClientRect(), o = u / a, { imageUri: r, base64: b } = await Ht({ domElement: A.value, base64: !0, img: !0, scale: l });
|
|
658
|
+
return {
|
|
659
|
+
imageUri: r,
|
|
660
|
+
base64: b,
|
|
661
|
+
title: t.value.style.chart.title.text,
|
|
662
|
+
width: u,
|
|
663
|
+
height: a,
|
|
664
|
+
aspectRatio: o
|
|
665
|
+
};
|
|
659
666
|
}
|
|
660
667
|
return je({
|
|
661
668
|
getData: Re,
|
|
@@ -663,21 +670,21 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
|
|
|
663
670
|
generatePdf: ze,
|
|
664
671
|
generateCsv: Ve,
|
|
665
672
|
generateImage: Te,
|
|
666
|
-
toggleTable:
|
|
673
|
+
toggleTable: Pe,
|
|
667
674
|
toggleLabels: Fe,
|
|
668
675
|
toggleTooltip: He,
|
|
669
676
|
toggleAnnotator: ce,
|
|
670
|
-
toggleFullscreen:
|
|
671
|
-
}), (l, u) => (s(),
|
|
677
|
+
toggleFullscreen: Be
|
|
678
|
+
}), (l, u) => (s(), n("div", {
|
|
672
679
|
class: T(`vue-ui-quadrant ${E.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${t.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
673
680
|
ref_key: "quadrantChart",
|
|
674
|
-
ref:
|
|
681
|
+
ref: A,
|
|
675
682
|
id: `vue-ui-quadrant_${z.value}`,
|
|
676
683
|
style: q(`font-family:${t.value.style.fontFamily};width:100%; text-align:center;background:${t.value.style.chart.backgroundColor};${t.value.responsive ? "height: 100%" : ""}`),
|
|
677
684
|
onMouseenter: u[16] || (u[16] = () => i(ke)(!0)),
|
|
678
685
|
onMouseleave: u[17] || (u[17] = () => i(ke)(!1))
|
|
679
686
|
}, [
|
|
680
|
-
t.value.userOptions.buttons.annotator ? (s(),
|
|
687
|
+
t.value.userOptions.buttons.annotator ? (s(), R(i(et), {
|
|
681
688
|
key: 0,
|
|
682
689
|
svgRef: i(we),
|
|
683
690
|
backgroundColor: t.value.style.chart.backgroundColor,
|
|
@@ -685,20 +692,20 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
|
|
|
685
692
|
active: ue.value,
|
|
686
693
|
onClose: ce
|
|
687
694
|
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : h("", !0),
|
|
688
|
-
nt.value ? (s(),
|
|
695
|
+
nt.value ? (s(), n("div", {
|
|
689
696
|
key: 1,
|
|
690
697
|
ref_key: "noTitle",
|
|
691
698
|
ref: ge,
|
|
692
699
|
class: "vue-data-ui-no-title-space",
|
|
693
700
|
style: "height:36px; width: 100%;background:transparent"
|
|
694
701
|
}, null, 512)) : h("", !0),
|
|
695
|
-
t.value.style.chart.title.text ? (s(),
|
|
702
|
+
t.value.style.chart.title.text ? (s(), n("div", {
|
|
696
703
|
key: 2,
|
|
697
704
|
ref_key: "chartTitle",
|
|
698
705
|
ref: be,
|
|
699
706
|
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
700
707
|
}, [
|
|
701
|
-
(s(),
|
|
708
|
+
(s(), R(Pt, {
|
|
702
709
|
key: `table_${me.value}`,
|
|
703
710
|
config: {
|
|
704
711
|
title: {
|
|
@@ -712,7 +719,7 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
|
|
|
712
719
|
}
|
|
713
720
|
}, null, 8, ["config"]))
|
|
714
721
|
], 512)) : h("", !0),
|
|
715
|
-
t.value.userOptions.show && K.value && (i(Le) || i(ne)) ? (s(),
|
|
722
|
+
t.value.userOptions.show && K.value && (i(Le) || i(ne)) ? (s(), R(i(ut), {
|
|
716
723
|
ref_key: "details",
|
|
717
724
|
ref: rt,
|
|
718
725
|
key: `user_options_${ye.value}`,
|
|
@@ -731,17 +738,17 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
|
|
|
731
738
|
isFullscreen: E.value,
|
|
732
739
|
isTooltip: $.value.showTooltip,
|
|
733
740
|
titles: { ...t.value.userOptions.buttonTitles },
|
|
734
|
-
chartElement:
|
|
741
|
+
chartElement: A.value,
|
|
735
742
|
position: t.value.userOptions.position,
|
|
736
743
|
hasAnnotator: t.value.userOptions.buttons.annotator,
|
|
737
744
|
isAnnotation: ue.value,
|
|
738
745
|
callbacks: t.value.userOptions.callbacks,
|
|
739
746
|
printScale: t.value.userOptions.print.scale,
|
|
740
|
-
onToggleFullscreen:
|
|
747
|
+
onToggleFullscreen: Be,
|
|
741
748
|
onGeneratePdf: i(ze),
|
|
742
749
|
onGenerateCsv: Ve,
|
|
743
750
|
onGenerateImage: i(Te),
|
|
744
|
-
onToggleTable:
|
|
751
|
+
onToggleTable: Pe,
|
|
745
752
|
onToggleLabels: Fe,
|
|
746
753
|
onToggleTooltip: He,
|
|
747
754
|
onToggleAnnotator: ce,
|
|
@@ -813,7 +820,7 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
|
|
|
813
820
|
key: "8"
|
|
814
821
|
} : void 0
|
|
815
822
|
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : h("", !0),
|
|
816
|
-
K.value ? (s(),
|
|
823
|
+
K.value ? (s(), n("svg", {
|
|
817
824
|
key: 4,
|
|
818
825
|
ref_key: "svgRef",
|
|
819
826
|
ref: we,
|
|
@@ -824,7 +831,7 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
|
|
|
824
831
|
id: `svg_${z.value}`
|
|
825
832
|
}, [
|
|
826
833
|
de(i(ot)),
|
|
827
|
-
l.$slots["chart-background"] ? (s(),
|
|
834
|
+
l.$slots["chart-background"] ? (s(), n("foreignObject", {
|
|
828
835
|
key: 0,
|
|
829
836
|
x: v.value.startX,
|
|
830
837
|
y: v.value.startY,
|
|
@@ -837,7 +844,7 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
|
|
|
837
844
|
x(l.$slots, "chart-background", {}, void 0, !0)
|
|
838
845
|
], 8, Dt)) : h("", !0),
|
|
839
846
|
d("defs", null, [
|
|
840
|
-
(s(!0),
|
|
847
|
+
(s(!0), n(S, null, Y(C.value, (a, o) => (s(), n("radialGradient", {
|
|
841
848
|
cx: "50%",
|
|
842
849
|
cy: "50%",
|
|
843
850
|
r: "50%",
|
|
@@ -855,8 +862,8 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
|
|
|
855
862
|
}, null, 8, Jt)
|
|
856
863
|
], 8, Gt))), 256))
|
|
857
864
|
]),
|
|
858
|
-
t.value.style.chart.layout.grid.graduations.show ? (s(),
|
|
859
|
-
(s(!0),
|
|
865
|
+
t.value.style.chart.layout.grid.graduations.show ? (s(), n("g", jt, [
|
|
866
|
+
(s(!0), n(S, null, Y(vt.value, (a) => (s(), n("rect", {
|
|
860
867
|
fill: t.value.style.chart.layout.grid.graduations.fill ? i(oe)(t.value.style.chart.layout.grid.graduations.color, a.opacity) : "none",
|
|
861
868
|
x: a.x,
|
|
862
869
|
y: a.y,
|
|
@@ -883,7 +890,7 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
|
|
|
883
890
|
stroke: t.value.style.chart.layout.grid.stroke,
|
|
884
891
|
"stroke-width": t.value.style.chart.layout.grid.strokeWidth
|
|
885
892
|
}, null, 8, el),
|
|
886
|
-
t.value.style.chart.layout.grid.showArrows ? (s(),
|
|
893
|
+
t.value.style.chart.layout.grid.showArrows ? (s(), n("g", tl, [
|
|
887
894
|
d("polygon", {
|
|
888
895
|
points: `${e.value.right - 8},${e.value.centerY - 6} ${e.value.right},${e.value.centerY} ${e.value.right - 8},${e.value.centerY + 6}`,
|
|
889
896
|
fill: t.value.style.chart.layout.grid.stroke,
|
|
@@ -905,8 +912,8 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
|
|
|
905
912
|
stroke: "none"
|
|
906
913
|
}, null, 8, ol)
|
|
907
914
|
])) : h("", !0),
|
|
908
|
-
t.value.style.chart.layout.labels.quadrantLabels.show && !f.value ? (s(),
|
|
909
|
-
t.value.style.chart.layout.labels.quadrantLabels.tl.text ? (s(),
|
|
915
|
+
t.value.style.chart.layout.labels.quadrantLabels.show && !f.value ? (s(), n("g", sl, [
|
|
916
|
+
t.value.style.chart.layout.labels.quadrantLabels.tl.text ? (s(), n("text", {
|
|
910
917
|
key: 0,
|
|
911
918
|
x: 0,
|
|
912
919
|
y: e.value.top - e.value.padding / 2,
|
|
@@ -916,7 +923,7 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
|
|
|
916
923
|
style: q(`font-weight:${t.value.style.chart.layout.labels.quadrantLabels.tl.bold ? "bold" : ""}`),
|
|
917
924
|
onClick: u[0] || (u[0] = (a) => Z("tl"))
|
|
918
925
|
}, L(t.value.style.chart.layout.labels.quadrantLabels.tl.text), 13, rl)) : h("", !0),
|
|
919
|
-
t.value.style.chart.layout.labels.quadrantLabels.tr.text ? (s(),
|
|
926
|
+
t.value.style.chart.layout.labels.quadrantLabels.tr.text ? (s(), n("text", {
|
|
920
927
|
key: 1,
|
|
921
928
|
x: e.value.width,
|
|
922
929
|
y: e.value.top - e.value.padding / 2,
|
|
@@ -926,7 +933,7 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
|
|
|
926
933
|
style: q(`font-weight:${t.value.style.chart.layout.labels.quadrantLabels.tr.bold ? "bold" : ""}`),
|
|
927
934
|
onClick: u[1] || (u[1] = (a) => Z("tr"))
|
|
928
935
|
}, L(t.value.style.chart.layout.labels.quadrantLabels.tr.text), 13, nl)) : h("", !0),
|
|
929
|
-
t.value.style.chart.layout.labels.quadrantLabels.br.text ? (s(),
|
|
936
|
+
t.value.style.chart.layout.labels.quadrantLabels.br.text ? (s(), n("text", {
|
|
930
937
|
key: 2,
|
|
931
938
|
x: e.value.width,
|
|
932
939
|
y: e.value.bottom + e.value.padding * 0.7,
|
|
@@ -936,7 +943,7 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
|
|
|
936
943
|
style: q(`font-weight:${t.value.style.chart.layout.labels.quadrantLabels.br.bold ? "bold" : ""}`),
|
|
937
944
|
onClick: u[2] || (u[2] = (a) => Z("br"))
|
|
938
945
|
}, L(t.value.style.chart.layout.labels.quadrantLabels.br.text), 13, il)) : h("", !0),
|
|
939
|
-
t.value.style.chart.layout.labels.quadrantLabels.bl.text ? (s(),
|
|
946
|
+
t.value.style.chart.layout.labels.quadrantLabels.bl.text ? (s(), n("text", {
|
|
940
947
|
key: 3,
|
|
941
948
|
x: 0,
|
|
942
949
|
y: e.value.bottom + e.value.padding * 0.7,
|
|
@@ -947,17 +954,17 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
|
|
|
947
954
|
onClick: u[3] || (u[3] = (a) => Z("bl"))
|
|
948
955
|
}, L(t.value.style.chart.layout.labels.quadrantLabels.bl.text), 13, vl)) : h("", !0)
|
|
949
956
|
])) : h("", !0),
|
|
950
|
-
t.value.style.chart.layout.labels.axisLabels.show ? (s(),
|
|
957
|
+
t.value.style.chart.layout.labels.axisLabels.show ? (s(), n("g", cl, [
|
|
951
958
|
d("text", {
|
|
952
959
|
x: e.value.centerX,
|
|
953
960
|
y: e.value.top - e.value.padding / 6,
|
|
954
961
|
"text-anchor": "middle",
|
|
955
962
|
"font-size": t.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
956
963
|
fill: t.value.style.chart.layout.labels.axisLabels.color.positive
|
|
957
|
-
}, L(i(
|
|
964
|
+
}, L(i(V)(
|
|
958
965
|
t.value.style.chart.layout.labels.plotLabels.y.formatter,
|
|
959
966
|
_.value.y.max,
|
|
960
|
-
i(
|
|
967
|
+
i(B)({
|
|
961
968
|
v: _.value.y.max,
|
|
962
969
|
r: t.value.style.chart.layout.labels.plotLabels.rounding
|
|
963
970
|
})
|
|
@@ -975,10 +982,10 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
|
|
|
975
982
|
"text-anchor": "middle",
|
|
976
983
|
"font-size": t.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
977
984
|
fill: t.value.style.chart.layout.labels.axisLabels.color.negative
|
|
978
|
-
}, L(i(
|
|
985
|
+
}, L(i(V)(
|
|
979
986
|
t.value.style.chart.layout.labels.plotLabels.y.formatter,
|
|
980
987
|
_.value.y.min,
|
|
981
|
-
i(
|
|
988
|
+
i(B)({
|
|
982
989
|
v: _.value.y.min,
|
|
983
990
|
r: t.value.style.chart.layout.labels.plotLabels.rounding
|
|
984
991
|
})
|
|
@@ -989,10 +996,10 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
|
|
|
989
996
|
"font-size": t.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
990
997
|
transform: `translate(${e.value.padding - t.value.style.chart.layout.labels.axisLabels.fontSize}, ${e.value.height / 2}), rotate(-90)`,
|
|
991
998
|
fill: t.value.style.chart.layout.labels.axisLabels.color.negative
|
|
992
|
-
}, L(i(
|
|
999
|
+
}, L(i(V)(
|
|
993
1000
|
t.value.style.chart.layout.labels.plotLabels.x.formatter,
|
|
994
1001
|
_.value.x.min,
|
|
995
|
-
i(
|
|
1002
|
+
i(B)({
|
|
996
1003
|
v: _.value.x.min,
|
|
997
1004
|
r: t.value.style.chart.layout.labels.plotLabels.rounding
|
|
998
1005
|
})
|
|
@@ -1003,10 +1010,10 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
|
|
|
1003
1010
|
"font-size": t.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
1004
1011
|
transform: `translate(${e.value.width - e.value.padding + t.value.style.chart.layout.labels.axisLabels.fontSize}, ${e.value.height / 2}), rotate(90)`,
|
|
1005
1012
|
fill: t.value.style.chart.layout.labels.axisLabels.color.positive
|
|
1006
|
-
}, L(i(
|
|
1013
|
+
}, L(i(V)(
|
|
1007
1014
|
t.value.style.chart.layout.labels.plotLabels.x.formatter,
|
|
1008
1015
|
_.value.x.max,
|
|
1009
|
-
i(
|
|
1016
|
+
i(B)({
|
|
1010
1017
|
v: _.value.x.max,
|
|
1011
1018
|
r: t.value.style.chart.layout.labels.plotLabels.rounding
|
|
1012
1019
|
})
|
|
@@ -1019,9 +1026,9 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
|
|
|
1019
1026
|
fill: t.value.style.chart.layout.labels.axisLabels.color.positive
|
|
1020
1027
|
}, L(t.value.style.chart.layout.grid.xAxis.name), 9, pl)
|
|
1021
1028
|
])) : h("", !0),
|
|
1022
|
-
t.value.style.chart.layout.areas.show ? (s(),
|
|
1023
|
-
(s(!0),
|
|
1024
|
-
a.series.length > 2 ? (s(),
|
|
1029
|
+
t.value.style.chart.layout.areas.show ? (s(), n("g", gl, [
|
|
1030
|
+
(s(!0), n(S, null, Y(C.value, (a, o) => (s(), n("g", null, [
|
|
1031
|
+
a.series.length > 2 ? (s(), n("polygon", {
|
|
1025
1032
|
key: 0,
|
|
1026
1033
|
"data-cy-quadrant-area": "",
|
|
1027
1034
|
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),
|
|
@@ -1031,7 +1038,7 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
|
|
|
1031
1038
|
])) : h("", !0),
|
|
1032
1039
|
d("g", null, [
|
|
1033
1040
|
d("rect", {
|
|
1034
|
-
onClick: u[4] || (u[4] = (a) =>
|
|
1041
|
+
onClick: u[4] || (u[4] = (a) => N("TL")),
|
|
1035
1042
|
x: e.value.left,
|
|
1036
1043
|
y: e.value.top,
|
|
1037
1044
|
width: e.value.usableWidth / 2 <= 0 ? 1e-3 : e.value.usableWidth / 2,
|
|
@@ -1040,7 +1047,7 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
|
|
|
1040
1047
|
class: T({ "vue-data-ui-zoom-plus": !f.value, "vue-data-ui-zoom-minus": f.value })
|
|
1041
1048
|
}, null, 10, xl),
|
|
1042
1049
|
d("rect", {
|
|
1043
|
-
onClick: u[5] || (u[5] = (a) =>
|
|
1050
|
+
onClick: u[5] || (u[5] = (a) => N("TR")),
|
|
1044
1051
|
x: e.value.centerX,
|
|
1045
1052
|
y: e.value.top,
|
|
1046
1053
|
width: e.value.usableWidth / 2 <= 0 ? 1e-3 : e.value.usableWidth / 2,
|
|
@@ -1049,7 +1056,7 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
|
|
|
1049
1056
|
class: T({ "vue-data-ui-zoom-plus": !f.value, "vue-data-ui-zoom-minus": f.value })
|
|
1050
1057
|
}, null, 10, $l),
|
|
1051
1058
|
d("rect", {
|
|
1052
|
-
onClick: u[6] || (u[6] = (a) =>
|
|
1059
|
+
onClick: u[6] || (u[6] = (a) => N("BR")),
|
|
1053
1060
|
x: e.value.centerX,
|
|
1054
1061
|
y: e.value.centerY,
|
|
1055
1062
|
width: e.value.usableWidth / 2 <= 0 ? 1e-3 : e.value.usableWidth / 2,
|
|
@@ -1058,7 +1065,7 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
|
|
|
1058
1065
|
class: T({ "vue-data-ui-zoom-plus": !f.value, "vue-data-ui-zoom-minus": f.value })
|
|
1059
1066
|
}, null, 10, kl),
|
|
1060
1067
|
d("rect", {
|
|
1061
|
-
onClick: u[7] || (u[7] = (a) =>
|
|
1068
|
+
onClick: u[7] || (u[7] = (a) => N("BL")),
|
|
1062
1069
|
x: e.value.left,
|
|
1063
1070
|
y: e.value.centerY,
|
|
1064
1071
|
width: e.value.usableWidth / 2 <= 0 ? 1e-3 : e.value.usableWidth / 2,
|
|
@@ -1067,49 +1074,49 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
|
|
|
1067
1074
|
class: T({ "vue-data-ui-zoom-plus": !f.value, "vue-data-ui-zoom-minus": f.value })
|
|
1068
1075
|
}, null, 10, Ll)
|
|
1069
1076
|
]),
|
|
1070
|
-
t.value.style.chart.layout.labels.plotLabels.showAsTag ? (s(),
|
|
1071
|
-
$.value.plotLabels.show ? (s(),
|
|
1072
|
-
(s(!0),
|
|
1073
|
-
(s(!0),
|
|
1077
|
+
t.value.style.chart.layout.labels.plotLabels.showAsTag ? (s(), n(S, { key: 7 }, [
|
|
1078
|
+
$.value.plotLabels.show ? (s(), n("g", Sl, [
|
|
1079
|
+
(s(!0), n(S, null, Y(C.value, (a, o) => (s(), n(S, null, [
|
|
1080
|
+
(s(!0), n(S, null, Y(a.series, (r) => (s(), n("foreignObject", {
|
|
1074
1081
|
style: { overflow: "visible" },
|
|
1075
1082
|
height: "10",
|
|
1076
1083
|
width: "100",
|
|
1077
|
-
x:
|
|
1078
|
-
y:
|
|
1079
|
-
onMouseover: (b) => Ne(a,
|
|
1084
|
+
x: r.x - 50,
|
|
1085
|
+
y: r.y - t.value.style.chart.layout.labels.plotLabels.fontSize,
|
|
1086
|
+
onMouseover: (b) => Ne(a, r, o),
|
|
1080
1087
|
onMouseleave: u[9] || (u[9] = (b) => {
|
|
1081
1088
|
ee.value = !1, J.value = null, j.value = null;
|
|
1082
1089
|
}),
|
|
1083
|
-
onClick: (b) => Oe(a,
|
|
1090
|
+
onClick: (b) => Oe(a, r)
|
|
1084
1091
|
}, [
|
|
1085
1092
|
d("div", {
|
|
1086
1093
|
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;`)
|
|
1087
|
-
}, L(
|
|
1094
|
+
}, L(r.name), 5)
|
|
1088
1095
|
], 40, Cl))), 256))
|
|
1089
1096
|
], 64))), 256))
|
|
1090
1097
|
])) : h("", !0)
|
|
1091
|
-
], 64)) : (s(),
|
|
1092
|
-
(s(!0),
|
|
1093
|
-
(s(!0),
|
|
1098
|
+
], 64)) : (s(), n(S, { key: 6 }, [
|
|
1099
|
+
(s(!0), n(S, null, Y(C.value, (a, o) => (s(), n("g", null, [
|
|
1100
|
+
(s(!0), n(S, null, Y(a.series, (r) => (s(), R(Qe, {
|
|
1094
1101
|
color: a.color,
|
|
1095
|
-
isSelected: J.value &&
|
|
1096
|
-
plot:
|
|
1102
|
+
isSelected: J.value && r.uid === J.value,
|
|
1103
|
+
plot: r,
|
|
1097
1104
|
radius: t.value.style.chart.layout.plots.radius / (f.value ? 1.5 : 1),
|
|
1098
1105
|
shape: a.shape,
|
|
1099
1106
|
stroke: t.value.style.chart.layout.plots.outline ? t.value.style.chart.layout.plots.outlineColor : "none",
|
|
1100
1107
|
strokeWidth: t.value.style.chart.layout.plots.outlineWidth,
|
|
1101
|
-
onMouseenter: (b) => Ne(a,
|
|
1108
|
+
onMouseenter: (b) => Ne(a, r, o),
|
|
1102
1109
|
onMouseleave: u[8] || (u[8] = (b) => {
|
|
1103
1110
|
ee.value = !1, J.value = null, j.value = null;
|
|
1104
1111
|
}),
|
|
1105
|
-
onClick: (b) => Oe(a,
|
|
1112
|
+
onClick: (b) => Oe(a, r)
|
|
1106
1113
|
}, null, 8, ["color", "isSelected", "plot", "radius", "shape", "stroke", "strokeWidth", "onMouseenter", "onClick"]))), 256))
|
|
1107
1114
|
]))), 256)),
|
|
1108
|
-
$.value.plotLabels.show ? (s(),
|
|
1109
|
-
(s(!0),
|
|
1110
|
-
(s(!0),
|
|
1115
|
+
$.value.plotLabels.show ? (s(), n("g", wl, [
|
|
1116
|
+
(s(!0), n(S, null, Y(C.value, (a) => (s(), n("g", null, [
|
|
1117
|
+
(s(!0), n(S, null, Y(a.series, (o) => (s(), n("g", null, [
|
|
1111
1118
|
String(o.name).includes(`
|
|
1112
|
-
`) ? (s(),
|
|
1119
|
+
`) ? (s(), n("text", {
|
|
1113
1120
|
key: 1,
|
|
1114
1121
|
x: o.x,
|
|
1115
1122
|
y: o.y + t.value.style.chart.layout.labels.plotLabels.offsetY + t.value.style.chart.layout.plots.radius,
|
|
@@ -1123,7 +1130,7 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
|
|
|
1123
1130
|
x: o.x,
|
|
1124
1131
|
y: o.y + t.value.style.chart.layout.labels.plotLabels.offsetY + t.value.style.chart.layout.plots.radius
|
|
1125
1132
|
})
|
|
1126
|
-
}, null, 8, _l)) : (s(),
|
|
1133
|
+
}, null, 8, _l)) : (s(), n("text", {
|
|
1127
1134
|
key: 0,
|
|
1128
1135
|
x: o.x,
|
|
1129
1136
|
y: o.y + t.value.style.chart.layout.labels.plotLabels.offsetY + t.value.style.chart.layout.plots.radius,
|
|
@@ -1135,43 +1142,43 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
|
|
|
1135
1142
|
]))), 256))
|
|
1136
1143
|
])) : h("", !0)
|
|
1137
1144
|
], 64)),
|
|
1138
|
-
f.value ? (s(),
|
|
1139
|
-
c.value === "TL" ? (s(),
|
|
1145
|
+
f.value ? (s(), n("g", zl, [
|
|
1146
|
+
c.value === "TL" ? (s(), n("polygon", {
|
|
1140
1147
|
key: 0,
|
|
1141
1148
|
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}`,
|
|
1142
1149
|
fill: t.value.style.chart.backgroundColor,
|
|
1143
1150
|
style: { opacity: "1" }
|
|
1144
1151
|
}, null, 8, Tl)) : h("", !0),
|
|
1145
|
-
c.value === "TR" ? (s(),
|
|
1152
|
+
c.value === "TR" ? (s(), n("polygon", {
|
|
1146
1153
|
key: 1,
|
|
1147
1154
|
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}`,
|
|
1148
1155
|
fill: t.value.style.chart.backgroundColor,
|
|
1149
1156
|
style: { opacity: "1" }
|
|
1150
1157
|
}, null, 8, Xl)) : h("", !0),
|
|
1151
|
-
c.value === "BR" ? (s(),
|
|
1158
|
+
c.value === "BR" ? (s(), n("polygon", {
|
|
1152
1159
|
key: 2,
|
|
1153
1160
|
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}`,
|
|
1154
1161
|
fill: t.value.style.chart.backgroundColor,
|
|
1155
1162
|
style: { opacity: "1" }
|
|
1156
1163
|
}, null, 8, Wl)) : h("", !0),
|
|
1157
|
-
c.value === "BL" ? (s(),
|
|
1164
|
+
c.value === "BL" ? (s(), n("polygon", {
|
|
1158
1165
|
key: 3,
|
|
1159
1166
|
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}`,
|
|
1160
1167
|
fill: t.value.style.chart.backgroundColor,
|
|
1161
1168
|
style: { opacity: "1" }
|
|
1162
1169
|
}, null, 8, Yl)) : h("", !0)
|
|
1163
1170
|
])) : h("", !0),
|
|
1164
|
-
c.value && !te.value ? (s(),
|
|
1171
|
+
c.value && !te.value ? (s(), n("g", Al, [
|
|
1165
1172
|
d("text", {
|
|
1166
|
-
x:
|
|
1167
|
-
y:
|
|
1168
|
-
"font-size":
|
|
1169
|
-
fill:
|
|
1173
|
+
x: P.value.x,
|
|
1174
|
+
y: P.value.y - P.value.fontSize / 1.5,
|
|
1175
|
+
"font-size": P.value.fontSize / 1.5,
|
|
1176
|
+
fill: P.value.fill,
|
|
1170
1177
|
"text-anchor": "middle",
|
|
1171
|
-
"font-weight":
|
|
1172
|
-
}, L(
|
|
1178
|
+
"font-weight": P.value.bold ? "bold" : "normal"
|
|
1179
|
+
}, L(P.value.text), 9, Ml)
|
|
1173
1180
|
])) : h("", !0),
|
|
1174
|
-
f.value && c.value ? (s(),
|
|
1181
|
+
f.value && c.value ? (s(), n("g", Nl, [
|
|
1175
1182
|
d("rect", {
|
|
1176
1183
|
x: w.value[c.value].tl.x,
|
|
1177
1184
|
y: w.value[c.value].tl.y,
|
|
@@ -1179,7 +1186,7 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
|
|
|
1179
1186
|
width: "20",
|
|
1180
1187
|
fill: w.value[c.value].tl.fill,
|
|
1181
1188
|
style: q(`cursor: pointer; opacity: ${c.value === "TL" ? 1 : 0.2}`),
|
|
1182
|
-
onClick: u[10] || (u[10] = (a) =>
|
|
1189
|
+
onClick: u[10] || (u[10] = (a) => N("TL")),
|
|
1183
1190
|
class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": c.value !== "TL" })
|
|
1184
1191
|
}, null, 14, Ol),
|
|
1185
1192
|
d("rect", {
|
|
@@ -1189,7 +1196,7 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
|
|
|
1189
1196
|
width: "20",
|
|
1190
1197
|
fill: w.value[c.value].tr.fill,
|
|
1191
1198
|
style: q(`cursor: pointer; opacity: ${c.value === "TR" ? 1 : 0.2}`),
|
|
1192
|
-
onClick: u[11] || (u[11] = (a) =>
|
|
1199
|
+
onClick: u[11] || (u[11] = (a) => N("TR")),
|
|
1193
1200
|
class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": c.value !== "TR" })
|
|
1194
1201
|
}, null, 14, Rl),
|
|
1195
1202
|
d("rect", {
|
|
@@ -1199,7 +1206,7 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
|
|
|
1199
1206
|
width: "20",
|
|
1200
1207
|
fill: w.value[c.value].br.fill,
|
|
1201
1208
|
style: q(`cursor: pointer; opacity: ${c.value === "BR" ? 1 : 0.2}`),
|
|
1202
|
-
onClick: u[12] || (u[12] = (a) =>
|
|
1209
|
+
onClick: u[12] || (u[12] = (a) => N("BR")),
|
|
1203
1210
|
class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": c.value !== "BR" })
|
|
1204
1211
|
}, null, 14, Vl),
|
|
1205
1212
|
d("rect", {
|
|
@@ -1209,15 +1216,15 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
|
|
|
1209
1216
|
width: "20",
|
|
1210
1217
|
fill: w.value[c.value].bl.fill,
|
|
1211
1218
|
style: q(`cursor: pointer; opacity: ${c.value === "BL" ? 1 : 0.2}`),
|
|
1212
|
-
onClick: u[13] || (u[13] = (a) =>
|
|
1219
|
+
onClick: u[13] || (u[13] = (a) => N("BL")),
|
|
1213
1220
|
class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": c.value !== "BL" })
|
|
1214
|
-
}, null, 14,
|
|
1221
|
+
}, null, 14, Bl),
|
|
1215
1222
|
d("path", {
|
|
1216
1223
|
class: "vue-ui-quadrant-minimap-crosshairs",
|
|
1217
1224
|
stroke: t.value.style.chart.backgroundColor,
|
|
1218
1225
|
"stroke-width": 1,
|
|
1219
1226
|
d: w.value[c.value].crosshairs.horizontal
|
|
1220
|
-
}, null, 8,
|
|
1227
|
+
}, null, 8, Pl),
|
|
1221
1228
|
d("path", {
|
|
1222
1229
|
class: "vue-ui-quadrant-minimap-crosshairs",
|
|
1223
1230
|
stroke: t.value.style.chart.backgroundColor,
|
|
@@ -1227,10 +1234,10 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
|
|
|
1227
1234
|
])) : h("", !0),
|
|
1228
1235
|
x(l.$slots, "svg", { svg: e.value }, void 0, !0)
|
|
1229
1236
|
], 14, Ut)) : h("", !0),
|
|
1230
|
-
l.$slots.watermark ? (s(),
|
|
1237
|
+
l.$slots.watermark ? (s(), n("div", Hl, [
|
|
1231
1238
|
x(l.$slots, "watermark", U(D({ isPrinting: i(Se) || i(Ce) })), void 0, !0)
|
|
1232
1239
|
])) : h("", !0),
|
|
1233
|
-
K.value ? h("", !0) : (s(),
|
|
1240
|
+
K.value ? h("", !0) : (s(), R(i(lt), {
|
|
1234
1241
|
key: 6,
|
|
1235
1242
|
config: {
|
|
1236
1243
|
type: "quadrant",
|
|
@@ -1252,7 +1259,7 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
|
|
|
1252
1259
|
ref_key: "chartLegend",
|
|
1253
1260
|
ref: fe
|
|
1254
1261
|
}, [
|
|
1255
|
-
t.value.style.chart.legend.show ? (s(),
|
|
1262
|
+
t.value.style.chart.legend.show ? (s(), R(Ft, {
|
|
1256
1263
|
key: `legend_${$e.value}`,
|
|
1257
1264
|
legendSet: Ae.value,
|
|
1258
1265
|
config: ht.value,
|
|
@@ -1261,7 +1268,7 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
|
|
|
1261
1268
|
item: m(({ legend: a }) => [
|
|
1262
1269
|
d("div", {
|
|
1263
1270
|
onClick: (o) => ie(a.id),
|
|
1264
|
-
style: q(`opacity:${
|
|
1271
|
+
style: q(`opacity:${O.value.includes(a.id) ? 0.5 : 1}`)
|
|
1265
1272
|
}, L(a.name), 13, Il)
|
|
1266
1273
|
]),
|
|
1267
1274
|
_: 1
|
|
@@ -1270,7 +1277,7 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
|
|
|
1270
1277
|
legend: Ae.value
|
|
1271
1278
|
}, void 0, !0)
|
|
1272
1279
|
], 512),
|
|
1273
|
-
l.$slots.source ? (s(),
|
|
1280
|
+
l.$slots.source ? (s(), n("div", {
|
|
1274
1281
|
key: 7,
|
|
1275
1282
|
ref_key: "source",
|
|
1276
1283
|
ref: pe,
|
|
@@ -1289,7 +1296,7 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
|
|
|
1289
1296
|
backgroundOpacity: t.value.style.chart.tooltip.backgroundOpacity,
|
|
1290
1297
|
position: t.value.style.chart.tooltip.position,
|
|
1291
1298
|
offsetY: t.value.style.chart.tooltip.offsetY,
|
|
1292
|
-
parent:
|
|
1299
|
+
parent: A.value,
|
|
1293
1300
|
content: re.value,
|
|
1294
1301
|
isFullscreen: E.value,
|
|
1295
1302
|
isCustom: t.value.style.chart.tooltip.customFormat && typeof t.value.style.chart.tooltip.customFormat == "function"
|
|
@@ -1301,7 +1308,7 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
|
|
|
1301
1308
|
x(l.$slots, "tooltip-after", U(D({ ...ve.value })), void 0, !0)
|
|
1302
1309
|
]),
|
|
1303
1310
|
default: m(() => [
|
|
1304
|
-
t.value.style.chart.tooltip.showShape ? (s(),
|
|
1311
|
+
t.value.style.chart.tooltip.showShape ? (s(), n("svg", El, [
|
|
1305
1312
|
de(Qe, {
|
|
1306
1313
|
plot: { x: 10, y: 10 },
|
|
1307
1314
|
shape: j.value.shape,
|
|
@@ -1314,7 +1321,7 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
|
|
|
1314
1321
|
]),
|
|
1315
1322
|
_: 3
|
|
1316
1323
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
|
|
1317
|
-
K.value ? (s(),
|
|
1324
|
+
K.value ? (s(), R(i(tt), {
|
|
1318
1325
|
key: 8,
|
|
1319
1326
|
hideDetails: "",
|
|
1320
1327
|
config: {
|
|
@@ -1331,7 +1338,7 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
|
|
|
1331
1338
|
}
|
|
1332
1339
|
}, {
|
|
1333
1340
|
content: m(() => [
|
|
1334
|
-
(s(),
|
|
1341
|
+
(s(), R(i(Ke), {
|
|
1335
1342
|
key: `table_${xe.value}`,
|
|
1336
1343
|
colNames: ae.value.colNames,
|
|
1337
1344
|
head: ae.value.head,
|
|
@@ -1355,7 +1362,7 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
|
|
|
1355
1362
|
}, 8, ["config"])) : h("", !0)
|
|
1356
1363
|
], 46, Et));
|
|
1357
1364
|
}
|
|
1358
|
-
}, sa = /* @__PURE__ */ It(Dl, [["__scopeId", "data-v-
|
|
1365
|
+
}, sa = /* @__PURE__ */ It(Dl, [["__scopeId", "data-v-5da3c063"]]);
|
|
1359
1366
|
export {
|
|
1360
1367
|
sa as default
|
|
1361
1368
|
};
|