vue-data-ui 2.14.2 → 2.14.3-beta.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 +17 -0
- package/dist/{Arrow-DNJvKMao.js → Arrow-CHiKXhrZ.js} +1 -1
- package/dist/{BaseDraggableDialog-XPll8ONG.js → BaseDraggableDialog-C_zNQi8p.js} +2 -2
- package/dist/{BaseIcon-D0Q4E4nY.js → BaseIcon-CjLVVFOF.js} +1 -1
- package/dist/{ColorPicker-CQl1kba_.js → ColorPicker-4qYqEUzw.js} +2 -2
- package/dist/{DataTable-DzCoab4C.js → DataTable-CQHjdD9t.js} +2 -2
- package/dist/{Legend-DLJ9I-cg.js → Legend-XakQeDJw.js} +4 -4
- package/dist/{NonSvgPenAndPaper-B0-XpttN.js → NonSvgPenAndPaper-BVSNCCsg.js} +3 -3
- package/dist/{PackageVersion-DrhYhyQR.js → PackageVersion-mH9eFSdi.js} +2 -2
- package/dist/{PenAndPaper-BdnVqpO9.js → PenAndPaper-C49A3fVl.js} +3 -3
- package/dist/{Shape-DdpwkHh8.js → Shape-D_nY-zV8.js} +1 -1
- package/dist/{Slicer-B6mk6VRe.js → Slicer-DAuA0E6E.js} +14 -14
- package/dist/{SparkTooltip-DvS7F_gk.js → SparkTooltip-BRAWFiKX.js} +1 -1
- package/dist/{Title-xtSGHclp.js → Title-Be-4IBib.js} +1 -1
- package/dist/{Tooltip-D8swCIay.js → Tooltip-B4lRAXc3.js} +1 -1
- package/dist/{UserOptions-BbJkNcCM.js → UserOptions-CZOjPjId.js} +2 -2
- package/dist/{dom-to-png-DrB0WHa5.js → dom-to-png-O95d2xYz.js} +1 -1
- package/dist/{img-CtqhCOnQ.js → img-B5QfWbFM.js} +1 -1
- package/dist/{index-DBYSSUsg.js → index-DpgjO9No.js} +409 -394
- package/dist/{pdf-Cq3bf6D0.js → pdf-C86OOuya.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-Cu77c3W4.js → useNestedProp-BS0-lsm3.js} +1 -1
- package/dist/{usePrinter-xF9W73YL.js → usePrinter-EqGRLYQ_.js} +2 -2
- package/dist/{vue-data-ui-BhsGEgCE.js → vue-data-ui-CkGWUdE5.js} +63 -63
- package/dist/vue-data-ui.js +21 -21
- package/dist/{vue-ui-3d-bar-BiehKQpG.js → vue-ui-3d-bar-BMy6RIsR.js} +5 -5
- package/dist/{vue-ui-accordion-CEZHj_of.js → vue-ui-accordion-B7SuIgFc.js} +3 -3
- package/dist/{vue-ui-age-pyramid-CV3X9UIL.js → vue-ui-age-pyramid-DWAc3Ofk.js} +5 -5
- package/dist/{vue-ui-annotator-C0tRqId7.js → vue-ui-annotator-BjW1IoFR.js} +2 -2
- package/dist/{vue-ui-bullet-Dnzzp7eQ.js → vue-ui-bullet-DfpzNl51.js} +6 -6
- package/dist/{vue-ui-candlestick-HP8z-e20.js → vue-ui-candlestick-BhWpJIxD.js} +6 -6
- package/dist/{vue-ui-carousel-table-CIytKGfB.js → vue-ui-carousel-table-DMSlJoWw.js} +4 -4
- package/dist/{vue-ui-chestnut-jJ5DocEt.js → vue-ui-chestnut-Dby5X8Oy.js} +4 -4
- package/dist/{vue-ui-chord-C2p48bdc.js → vue-ui-chord-BBjEiNoo.js} +7 -7
- package/dist/{vue-ui-circle-pack-Cm42Kre2.js → vue-ui-circle-pack-QR1HniAL.js} +5 -5
- package/dist/{vue-ui-cursor-DYOAowBf.js → vue-ui-cursor-D9HDDbAr.js} +2 -2
- package/dist/{vue-ui-dashboard-CqQ_erdb.js → vue-ui-dashboard-DMgkrLHs.js} +62 -62
- package/dist/{vue-ui-digits-Ckblhu11.js → vue-ui-digits-AxsWsoNG.js} +2 -2
- package/dist/{vue-ui-donut-6ioyEN3H.js → vue-ui-donut-B3cs-HjU.js} +111 -111
- package/dist/{vue-ui-donut-evolution-DcpDJ9Nx.js → vue-ui-donut-evolution-piOrh5of.js} +295 -279
- package/dist/{vue-ui-dumbbell-Bs6C9JZw.js → vue-ui-dumbbell-C_amhKRH.js} +6 -6
- package/dist/{vue-ui-flow-2PtX-g_5.js → vue-ui-flow-kgzJDBYW.js} +26 -26
- package/dist/{vue-ui-funnel-DnjXDXiD.js → vue-ui-funnel-D582UlDY.js} +5 -5
- package/dist/{vue-ui-galaxy-C15I7QgX.js → vue-ui-galaxy-BCPNqux7.js} +4 -4
- package/dist/{vue-ui-gauge-C4ukJ9LH.js → vue-ui-gauge-6YFYdXxG.js} +5 -5
- package/dist/{vue-ui-gizmo-CV03sWPz.js → vue-ui-gizmo-PN0sgIDN.js} +3 -3
- package/dist/{vue-ui-heatmap-C-9U8urH.js → vue-ui-heatmap-bWGrfPpu.js} +6 -6
- package/dist/{vue-ui-history-plot-CctIOnX8.js → vue-ui-history-plot-CNxerxJF.js} +234 -210
- package/dist/{vue-ui-kpi-D8DQ02cm.js → vue-ui-kpi-BXiiCP9f.js} +3 -3
- package/dist/{vue-ui-mini-loader-DpwNHrxl.js → vue-ui-mini-loader-LXae2ars.js} +2 -2
- package/dist/{vue-ui-molecule-je8BUEgl.js → vue-ui-molecule-B2dzn9rQ.js} +16 -16
- package/dist/{vue-ui-mood-radar-DUwpDrKf.js → vue-ui-mood-radar-DIJJhVIZ.js} +19 -19
- package/dist/{vue-ui-nested-donuts-CcIiH5y3.js → vue-ui-nested-donuts-4lqDDJmG.js} +46 -46
- package/dist/{vue-ui-onion-B3ciM-zx.js → vue-ui-onion-BIgfyn7z.js} +6 -6
- package/dist/{vue-ui-parallel-coordinate-plot-C4jC8sCn.js → vue-ui-parallel-coordinate-plot-COW7u6EQ.js} +192 -175
- package/dist/{vue-ui-quadrant--xMPLV7W.js → vue-ui-quadrant-B3HOf0aF.js} +243 -225
- package/dist/{vue-ui-quick-chart-Bce5gdOB.js → vue-ui-quick-chart-Cg7pNkb3.js} +459 -443
- package/dist/{vue-ui-radar-Bs4DRm4L.js → vue-ui-radar-DY7BOmEO.js} +45 -45
- package/dist/{vue-ui-rating-BjP1BHbM.js → vue-ui-rating-C8ubvpA2.js} +8 -8
- package/dist/{vue-ui-relation-circle-D9P-zdmr.js → vue-ui-relation-circle-BSUJrp9v.js} +5 -5
- package/dist/{vue-ui-ridgeline-DmNbKyms.js → vue-ui-ridgeline-CNNfP0Gl.js} +185 -165
- package/dist/{vue-ui-rings-BebupVaJ.js → vue-ui-rings-C0iQMvwp.js} +7 -7
- package/dist/{vue-ui-scatter-cQ-Eu6ff.js → vue-ui-scatter-BaXESoFU.js} +49 -49
- package/dist/{vue-ui-skeleton-BJy7bURO.js → vue-ui-skeleton-C-ca3jum.js} +3 -3
- package/dist/{vue-ui-smiley-D5QHdm68.js → vue-ui-smiley-BPSnI-sv.js} +2 -2
- package/dist/{vue-ui-spark-trend-CP5l6hCt.js → vue-ui-spark-trend-C2p4SwT6.js} +3 -3
- package/dist/{vue-ui-sparkbar-CW95uw6O.js → vue-ui-sparkbar-C_Z7se8R.js} +3 -3
- package/dist/{vue-ui-sparkgauge-a4VbU8l_.js → vue-ui-sparkgauge-BNQP-wru.js} +8 -8
- package/dist/{vue-ui-sparkhistogram-Bu2URfSJ.js → vue-ui-sparkhistogram-S7ZqAbMr.js} +4 -4
- package/dist/{vue-ui-sparkline-TItbUk-X.js → vue-ui-sparkline-BOUcxjBn.js} +11 -11
- package/dist/{vue-ui-sparkstackbar-B7hTZ5lP.js → vue-ui-sparkstackbar-Bcz6Tg5h.js} +3 -3
- package/dist/{vue-ui-stackbar-Dsdwa6lC.js → vue-ui-stackbar-BwY3L4k_.js} +417 -373
- package/dist/{vue-ui-strip-plot-8t8ozRzt.js → vue-ui-strip-plot-BQKMvJ_f.js} +202 -184
- package/dist/{vue-ui-table-CFn0ptr3.js → vue-ui-table-BMFeG4Ll.js} +3 -3
- package/dist/{vue-ui-table-heatmap-By7Epu_x.js → vue-ui-table-heatmap-BMcm8nz5.js} +18 -18
- package/dist/{vue-ui-table-sparkline-CXqoNu29.js → vue-ui-table-sparkline-DvbV5c0E.js} +4 -4
- package/dist/{vue-ui-thermometer-XTsctSeT.js → vue-ui-thermometer-DaUJKwlB.js} +5 -5
- package/dist/{vue-ui-timer-LsMK3baq.js → vue-ui-timer-2lttGgfU.js} +5 -5
- package/dist/{vue-ui-tiremarks-Dmqxy_za.js → vue-ui-tiremarks-Br-K5C0A.js} +5 -5
- package/dist/{vue-ui-treemap-CBK79HgE.js → vue-ui-treemap-BMcITB4q.js} +7 -7
- package/dist/{vue-ui-vertical-bar-s0W_ZvXa.js → vue-ui-vertical-bar-DyHNX6fM.js} +8 -8
- package/dist/{vue-ui-waffle-DYSvsk-v.js → vue-ui-waffle-D2O27EVK.js} +246 -242
- package/dist/{vue-ui-wheel-ffWrYzpO.js → vue-ui-wheel-BJ11Yo4p.js} +5 -5
- package/dist/{vue-ui-word-cloud-DMtRVU6x.js → vue-ui-word-cloud-DoiCiPEX.js} +15 -15
- package/dist/{vue-ui-world-DPT1WnyR.js → vue-ui-world-DnATnNkX.js} +5 -5
- package/dist/{vue-ui-xy-BhuRQnpn.js → vue-ui-xy-DRE6d6PA.js} +591 -570
- package/dist/{vue-ui-xy-canvas-BaqwCoBL.js → vue-ui-xy-canvas-CB8YSoKV.js} +7 -7
- package/package.json +1 -1
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { defineAsyncComponent as B, computed as g, ref as y, watch as Ie, shallowRef as Ee, onMounted as yt, onBeforeUnmount as bt, createElementBlock as
|
|
2
|
-
import { u as mt, c as Ue, t as xt, p as he, a as $t, o as kt, e as D, b as Lt, d as wt,
|
|
3
|
-
import { t as
|
|
4
|
-
import { u as De } from "./useNestedProp-
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as
|
|
7
|
-
import { u as
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import { _ as Ge } from "./Shape-
|
|
11
|
-
import { _ as
|
|
12
|
-
const
|
|
1
|
+
import { defineAsyncComponent as B, computed as g, ref as y, watch as Ie, shallowRef as Ee, onMounted as yt, onBeforeUnmount as bt, createElementBlock as r, openBlock as s, unref as i, normalizeStyle as q, normalizeClass as T, createBlock as O, createCommentVNode as h, createElementVNode as c, createVNode as ce, createSlots as ft, withCtx as m, renderSlot as x, normalizeProps as E, guardReactiveProps as U, Fragment as S, renderList as Y, toDisplayString as L, createTextVNode as pt, nextTick as gt } from "vue";
|
|
2
|
+
import { u as mt, c as Ue, t as xt, p as he, a as $t, o as kt, e as D, b as Lt, d as wt, Y as qt, i as R, f as V, X as _t, s as oe, w as St, Z as Ct, I as zt, G as Tt, q as Xt, r as Wt, x as Yt, y as At } from "./index-DpgjO9No.js";
|
|
3
|
+
import { t as Mt, u as Nt } from "./useResponsive-JZ9xq-JV.js";
|
|
4
|
+
import { u as De } from "./useNestedProp-BS0-lsm3.js";
|
|
5
|
+
import { u as Ot } from "./usePrinter-EqGRLYQ_.js";
|
|
6
|
+
import { u as Rt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
7
|
+
import { u as Vt } from "./useChartAccessibility-9icAAmYg.js";
|
|
8
|
+
import Pt from "./Title-Be-4IBib.js";
|
|
9
|
+
import Bt from "./Legend-XakQeDJw.js";
|
|
10
|
+
import { _ as Ge } from "./Shape-D_nY-zV8.js";
|
|
11
|
+
import { _ as Ft } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
12
|
+
const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "height"], Ut = ["id"], Dt = ["stop-color"], Gt = ["stop-color"], Qt = { key: 1 }, Jt = ["fill", "x", "y", "height", "width", "stroke-width", "stroke", "rx"], jt = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Zt = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Kt = { key: 2 }, el = ["points", "fill"], tl = ["points", "fill"], ll = ["points", "fill"], al = ["points", "fill"], ul = { key: 3 }, ol = ["y", "fill", "font-size"], sl = ["x", "y", "fill", "font-size"], rl = ["x", "y", "fill", "font-size"], nl = ["y", "fill", "font-size"], il = { key: 4 }, vl = ["x", "y", "font-size", "fill"], dl = ["x", "y", "font-size", "fill"], cl = ["x", "y", "font-size", "fill"], hl = ["id", "font-size", "transform", "fill"], yl = ["id", "font-size", "transform", "fill"], bl = ["id", "font-size", "transform", "fill"], fl = { key: 5 }, pl = ["fill", "points"], gl = ["x", "y", "width", "height"], ml = ["x", "y", "width", "height"], xl = ["x", "y", "width", "height"], $l = ["x", "y", "width", "height"], kl = {
|
|
13
13
|
key: 0,
|
|
14
14
|
style: { "pointer-events": "none" }
|
|
15
|
-
},
|
|
15
|
+
}, Ll = ["x", "y", "font-size", "fill"], wl = ["x", "y", "font-size", "fill", "innerHTML"], ql = { key: 0 }, _l = ["x", "y", "onMouseover", "onClick"], Sl = {
|
|
16
16
|
key: 8,
|
|
17
17
|
class: "vue-ui-dna"
|
|
18
|
-
},
|
|
18
|
+
}, Cl = ["points", "fill"], zl = ["points", "fill"], Tl = ["points", "fill"], Xl = ["points", "fill"], Wl = { key: 9 }, Yl = ["x", "y", "font-size", "fill", "font-weight"], Al = { key: 10 }, Ml = ["x", "y", "fill"], Nl = ["x", "y", "fill"], Ol = ["x", "y", "fill"], Rl = ["x", "y", "fill"], Vl = ["stroke", "d"], Pl = ["stroke", "d"], Bl = {
|
|
19
19
|
key: 5,
|
|
20
20
|
class: "vue-data-ui-watermark"
|
|
21
|
-
},
|
|
21
|
+
}, Fl = ["onClick"], Hl = {
|
|
22
22
|
key: 0,
|
|
23
23
|
height: "14",
|
|
24
24
|
width: "14",
|
|
25
25
|
viewBox: "0 0 20 20"
|
|
26
|
-
},
|
|
26
|
+
}, Il = ["innerHTML"], El = {
|
|
27
27
|
__name: "vue-ui-quadrant",
|
|
28
28
|
props: {
|
|
29
29
|
config: {
|
|
@@ -41,32 +41,32 @@ const Ft = ["id"], Ht = ["xmlns", "viewBox", "id"], It = ["x", "y", "width", "he
|
|
|
41
41
|
},
|
|
42
42
|
emits: ["selectPlot", "selectSide", "selectLegend"],
|
|
43
43
|
setup(Qe, { expose: Je, emit: je }) {
|
|
44
|
-
const Ze = B(() => import("./DataTable-
|
|
44
|
+
const Ze = B(() => import("./DataTable-CQHjdD9t.js")), Ke = B(() => import("./PenAndPaper-C49A3fVl.js")), et = B(() => import("./vue-ui-accordion-B7SuIgFc.js")), tt = B(() => import("./vue-ui-skeleton-C-ca3jum.js")), lt = B(() => import("./Tooltip-B4lRAXc3.js")), at = B(() => import("./UserOptions-CZOjPjId.js")), ut = B(() => import("./PackageVersion-mH9eFSdi.js")), { vue_ui_quadrant: ot } = mt(), X = Qe, K = g(() => !!X.dataset && X.dataset.length), z = y(Ue()), se = je, st = y(null), ee = y(!1), re = y(""), ye = y(0), f = y(!1), G = 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
45
|
get: () => qe(),
|
|
46
46
|
set: (l) => l
|
|
47
|
-
}), { userOptionsVisible: ne, setUserOptionsVisibility: ke, keepUserOptionState: Le } =
|
|
47
|
+
}), { userOptionsVisible: ne, setUserOptionsVisibility: ke, keepUserOptionState: Le } = Rt({ config: t.value }), { svgRef: we } = Vt({ config: t.value.style.chart.title });
|
|
48
48
|
function qe() {
|
|
49
49
|
const l = De({
|
|
50
|
-
userConfig:
|
|
50
|
+
userConfig: X.config,
|
|
51
51
|
defaultConfig: ot
|
|
52
52
|
});
|
|
53
53
|
return l.theme ? {
|
|
54
54
|
...De({
|
|
55
|
-
userConfig: $t.vue_ui_quadrant[l.theme] ||
|
|
55
|
+
userConfig: $t.vue_ui_quadrant[l.theme] || X.config,
|
|
56
56
|
defaultConfig: l
|
|
57
57
|
}),
|
|
58
58
|
customPalette: xt[l.theme] || he
|
|
59
59
|
} : l;
|
|
60
60
|
}
|
|
61
|
-
Ie(() =>
|
|
61
|
+
Ie(() => X.config, (l) => {
|
|
62
62
|
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
63
|
}, { deep: !0 });
|
|
64
64
|
const A = Ee(null), F = Ee(null);
|
|
65
65
|
function _e() {
|
|
66
|
-
if (kt(
|
|
66
|
+
if (kt(X.dataset) ? D({
|
|
67
67
|
componentName: "VueUiQuadrant",
|
|
68
68
|
type: "dataset"
|
|
69
|
-
}) :
|
|
69
|
+
}) : X.dataset.forEach((l, u) => {
|
|
70
70
|
[null, void 0].includes(l.name) && D({
|
|
71
71
|
componentName: "VueUiQuadrant",
|
|
72
72
|
type: "datasetSerieAttribute",
|
|
@@ -77,18 +77,18 @@ const Ft = ["id"], Ht = ["xmlns", "viewBox", "id"], It = ["x", "y", "width", "he
|
|
|
77
77
|
type: "datasetSerieAttribute",
|
|
78
78
|
property: "series",
|
|
79
79
|
index: u
|
|
80
|
-
}) : l.series.forEach((a,
|
|
80
|
+
}) : l.series.forEach((a, o) => {
|
|
81
81
|
[null, void 0].includes(a.name) && D({
|
|
82
82
|
componentName: "VueUiQuadrant",
|
|
83
83
|
type: "datasetSerieAttribute",
|
|
84
84
|
property: "name",
|
|
85
85
|
key: "series",
|
|
86
|
-
index:
|
|
86
|
+
index: o
|
|
87
87
|
});
|
|
88
88
|
});
|
|
89
89
|
}), t.value.responsive) {
|
|
90
|
-
const l =
|
|
91
|
-
const { width: u, height: a } =
|
|
90
|
+
const l = Mt(() => {
|
|
91
|
+
const { width: u, height: a } = Nt({
|
|
92
92
|
chart: G.value,
|
|
93
93
|
title: t.value.style.chart.title.text ? be.value : null,
|
|
94
94
|
legend: t.value.style.chart.legend.show ? fe.value : null,
|
|
@@ -107,11 +107,11 @@ const Ft = ["id"], Ht = ["xmlns", "viewBox", "id"], It = ["x", "y", "width", "he
|
|
|
107
107
|
}), bt(() => {
|
|
108
108
|
A.value && (F.value && A.value.unobserve(F.value), A.value.disconnect());
|
|
109
109
|
});
|
|
110
|
-
const { isPrinting:
|
|
110
|
+
const { isPrinting: Se, isImaging: Ce, generatePdf: ze, generateImage: Te } = Ot({
|
|
111
111
|
elementId: `vue-ui-quadrant_${z.value}`,
|
|
112
112
|
fileName: t.value.style.chart.title.text || "vue-ui-quadrant",
|
|
113
113
|
options: t.value.userOptions.print
|
|
114
|
-
}), rt = g(() => t.value.userOptions.show && !t.value.style.chart.title.text),
|
|
114
|
+
}), rt = g(() => t.value.userOptions.show && !t.value.style.chart.title.text), Xe = g(() => Lt(t.value.customPalette)), $ = y({
|
|
115
115
|
plotLabels: {
|
|
116
116
|
show: t.value.style.chart.layout.labels.plotLabels.show
|
|
117
117
|
},
|
|
@@ -183,29 +183,29 @@ const Ft = ["id"], Ht = ["xmlns", "viewBox", "id"], It = ["x", "y", "width", "he
|
|
|
183
183
|
return { x: 0, y: 0, text: "", fontSize: 0, fill: "none", bold: !1 };
|
|
184
184
|
}
|
|
185
185
|
}), nt = y(null), te = y(!1);
|
|
186
|
-
function Q({ targetX: l, targetY: u, targetW: a, targetH:
|
|
187
|
-
d.value && Z(
|
|
186
|
+
function Q({ targetX: l, targetY: u, targetW: a, targetH: o, side: n }) {
|
|
187
|
+
d.value && Z(n);
|
|
188
188
|
const b = {
|
|
189
189
|
x: l - v.value.startX,
|
|
190
190
|
y: u - v.value.startY,
|
|
191
191
|
w: a - v.value.width,
|
|
192
|
-
h:
|
|
193
|
-
},
|
|
194
|
-
let
|
|
192
|
+
h: o - v.value.height
|
|
193
|
+
}, p = t.value.zoomAnimationFrames;
|
|
194
|
+
let W = 0;
|
|
195
195
|
function He() {
|
|
196
|
-
te.value = !0, v.value.startX += b.x /
|
|
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 ? nt.value = requestAnimationFrame(He) : te.value = !1;
|
|
197
197
|
}
|
|
198
198
|
He();
|
|
199
199
|
}
|
|
200
200
|
function M(l) {
|
|
201
201
|
if (!te.value)
|
|
202
|
-
if (
|
|
202
|
+
if (f.value && d.value === l)
|
|
203
203
|
Q({
|
|
204
204
|
targetX: 0,
|
|
205
205
|
targetY: 0,
|
|
206
206
|
targetW: e.value.width,
|
|
207
207
|
targetH: e.value.height
|
|
208
|
-
}), d.value = null,
|
|
208
|
+
}), d.value = null, f.value = !1;
|
|
209
209
|
else {
|
|
210
210
|
switch (d.value = l, l) {
|
|
211
211
|
case "TL":
|
|
@@ -248,46 +248,46 @@ const Ft = ["id"], Ht = ["xmlns", "viewBox", "id"], It = ["x", "y", "width", "he
|
|
|
248
248
|
v.value.startX = 0, v.value.startY = 0, v.value.width = e.value.width, v.value.height = e.value.height;
|
|
249
249
|
break;
|
|
250
250
|
}
|
|
251
|
-
|
|
251
|
+
f.value = !0;
|
|
252
252
|
}
|
|
253
253
|
}
|
|
254
254
|
const it = g(() => {
|
|
255
|
-
const l = t.value.style.chart.layout.grid.graduations.steps, u = e.value.usableWidth / (l * 2), a = e.value.top,
|
|
256
|
-
for (let
|
|
257
|
-
|
|
258
|
-
x: e.value.padding + u *
|
|
259
|
-
y: a + e.value.usableHeight * (
|
|
260
|
-
height: e.value.usableHeight * (1 -
|
|
261
|
-
width: e.value.usableWidth * (1 -
|
|
262
|
-
opacity: Math.round((
|
|
255
|
+
const l = t.value.style.chart.layout.grid.graduations.steps, u = e.value.usableWidth / (l * 2), a = e.value.top, o = [];
|
|
256
|
+
for (let n = 0; n < l; n += 1)
|
|
257
|
+
o.push({
|
|
258
|
+
x: e.value.padding + u * n,
|
|
259
|
+
y: a + e.value.usableHeight * (n / l / 2),
|
|
260
|
+
height: e.value.usableHeight * (1 - n / l),
|
|
261
|
+
width: e.value.usableWidth * (1 - n / l),
|
|
262
|
+
opacity: Math.round((n + 1) / l * 20)
|
|
263
263
|
});
|
|
264
|
-
return
|
|
264
|
+
return o;
|
|
265
265
|
}), _ = g(() => {
|
|
266
|
-
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,
|
|
267
|
-
return t.value.style.chart.layout.grid.xAxis.auto && (l = Math.max(...H.value.flatMap((
|
|
266
|
+
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(...H.value.flatMap((n) => n.series.map((b) => b.x))), u = Math.min(...H.value.flatMap((n) => n.series.map((b) => b.x)))), t.value.style.chart.layout.grid.yAxis.auto && (a = Math.max(...H.value.flatMap((n) => n.series.map((b) => b.y))), o = Math.min(...H.value.flatMap((n) => n.series.map((b) => b.y)))), {
|
|
268
268
|
x: {
|
|
269
269
|
max: l,
|
|
270
270
|
min: u
|
|
271
271
|
},
|
|
272
272
|
y: {
|
|
273
273
|
max: a,
|
|
274
|
-
min:
|
|
274
|
+
min: o
|
|
275
275
|
}
|
|
276
276
|
};
|
|
277
|
-
}), N = y([]), H = g(() =>
|
|
277
|
+
}), N = y([]), H = g(() => X.dataset.map((l, u) => ({
|
|
278
278
|
...l,
|
|
279
279
|
series: qt({
|
|
280
280
|
data: l.series,
|
|
281
281
|
threshold: t.value.downsample.threshold
|
|
282
282
|
}),
|
|
283
283
|
id: `cat_${u}_${z.value}`,
|
|
284
|
-
color: wt(l.color) ||
|
|
284
|
+
color: wt(l.color) || Xe.value[u] || he[u]
|
|
285
285
|
}))), vt = g(() => H.value.filter((l) => !N.value.includes(l.id))), dt = g(() => H.value.map((l, u) => ({
|
|
286
286
|
...l,
|
|
287
287
|
shape: l.shape || "circle",
|
|
288
288
|
series: l.series.map((a) => ({
|
|
289
289
|
...a,
|
|
290
|
-
x:
|
|
290
|
+
x: We(a.x),
|
|
291
291
|
y: Ye(a.y),
|
|
292
292
|
xValue: a.x,
|
|
293
293
|
yValue: a.y,
|
|
@@ -296,29 +296,29 @@ const Ft = ["id"], Ht = ["xmlns", "viewBox", "id"], It = ["x", "y", "width", "he
|
|
|
296
296
|
shape: l.shape,
|
|
297
297
|
color: l.color
|
|
298
298
|
}))
|
|
299
|
-
}))),
|
|
300
|
-
l.series.forEach((a,
|
|
299
|
+
}))), C = g(() => (X.dataset.forEach((l, u) => {
|
|
300
|
+
l.series.forEach((a, o) => {
|
|
301
301
|
[null, void 0].includes(a.x) && D({
|
|
302
302
|
componentName: "VueUiQuadrant",
|
|
303
303
|
type: "datasetSerieAttribute",
|
|
304
304
|
property: "x",
|
|
305
305
|
key: "series",
|
|
306
|
-
index:
|
|
306
|
+
index: o
|
|
307
307
|
}), [null, void 0].includes(a.y) && D({
|
|
308
308
|
componentName: "VueUiQuadrant",
|
|
309
309
|
type: "datasetSerieAttribute",
|
|
310
310
|
property: "y",
|
|
311
311
|
key: "series",
|
|
312
|
-
index:
|
|
312
|
+
index: o
|
|
313
313
|
});
|
|
314
314
|
});
|
|
315
315
|
}), vt.value.map((l, u) => ({
|
|
316
316
|
...l,
|
|
317
317
|
shape: l.shape || "circle",
|
|
318
|
-
color: l.color ||
|
|
318
|
+
color: l.color || Xe.value[u] || he[u],
|
|
319
319
|
series: l.series.map((a) => ({
|
|
320
320
|
...a,
|
|
321
|
-
x:
|
|
321
|
+
x: We(a.x),
|
|
322
322
|
y: Ye(a.y),
|
|
323
323
|
xValue: a.x,
|
|
324
324
|
yValue: a.y,
|
|
@@ -329,7 +329,7 @@ const Ft = ["id"], Ht = ["xmlns", "viewBox", "id"], It = ["x", "y", "width", "he
|
|
|
329
329
|
uid: Ue()
|
|
330
330
|
}))
|
|
331
331
|
}))));
|
|
332
|
-
function
|
|
332
|
+
function We(l) {
|
|
333
333
|
if (l >= 0) {
|
|
334
334
|
const u = l / _.value.x.max;
|
|
335
335
|
return e.value.centerX + e.value.usableWidth / 2 * u;
|
|
@@ -348,45 +348,45 @@ const Ft = ["id"], Ht = ["xmlns", "viewBox", "id"], It = ["x", "y", "width", "he
|
|
|
348
348
|
}
|
|
349
349
|
}
|
|
350
350
|
const le = g(() => {
|
|
351
|
-
const l =
|
|
352
|
-
x:
|
|
353
|
-
y:
|
|
354
|
-
name:
|
|
355
|
-
category:
|
|
356
|
-
quadrantSide:
|
|
357
|
-
sideName: t.value.style.chart.layout.labels.quadrantLabels[
|
|
358
|
-
color:
|
|
359
|
-
shape:
|
|
360
|
-
}))), u = t.value.style.chart.layout.grid.xAxis.name || "x", a = t.value.style.chart.layout.grid.yAxis.name || "y",
|
|
361
|
-
shape:
|
|
362
|
-
color:
|
|
351
|
+
const l = C.value.flatMap((p) => p.series.map((W) => ({
|
|
352
|
+
x: W.xValue,
|
|
353
|
+
y: W.yValue,
|
|
354
|
+
name: W.name,
|
|
355
|
+
category: W.categoryName,
|
|
356
|
+
quadrantSide: W.quadrantSide,
|
|
357
|
+
sideName: t.value.style.chart.layout.labels.quadrantLabels[W.quadrantSide].text,
|
|
358
|
+
color: p.color,
|
|
359
|
+
shape: p.shape
|
|
360
|
+
}))), 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], n = l.map((p) => [p.category, p.name, p.x, p.y, p.sideName || p.quadrantSide]), b = l.map((p) => ({
|
|
361
|
+
shape: p.shape,
|
|
362
|
+
color: p.color
|
|
363
363
|
}));
|
|
364
|
-
return { head:
|
|
364
|
+
return { head: o, body: n, itsShapes: b, tableData: l };
|
|
365
365
|
}), ae = g(() => {
|
|
366
|
-
const l = le.value.head, u = le.value.tableData.map((
|
|
366
|
+
const l = le.value.head, u = le.value.tableData.map((o) => [
|
|
367
367
|
{
|
|
368
|
-
shape:
|
|
369
|
-
color:
|
|
370
|
-
name:
|
|
368
|
+
shape: o.shape,
|
|
369
|
+
color: o.color,
|
|
370
|
+
name: o.category
|
|
371
371
|
},
|
|
372
|
-
|
|
372
|
+
o.name,
|
|
373
373
|
R(
|
|
374
374
|
t.value.style.chart.layout.labels.plotLabels.x.formatter,
|
|
375
|
-
|
|
375
|
+
o.x,
|
|
376
376
|
V({
|
|
377
|
-
v:
|
|
377
|
+
v: o.x,
|
|
378
378
|
r: t.value.style.chart.layout.labels.plotLabels.rounding
|
|
379
379
|
})
|
|
380
380
|
),
|
|
381
381
|
R(
|
|
382
382
|
t.value.style.chart.layout.labels.plotLabels.y.formatter,
|
|
383
|
-
|
|
383
|
+
o.y,
|
|
384
384
|
V({
|
|
385
|
-
v:
|
|
385
|
+
v: o.y,
|
|
386
386
|
r: t.value.style.chart.layout.labels.plotLabels.rounding
|
|
387
387
|
})
|
|
388
388
|
),
|
|
389
|
-
|
|
389
|
+
o.sideName || o.quadrantSide
|
|
390
390
|
]), a = {
|
|
391
391
|
th: {
|
|
392
392
|
backgroundColor: t.value.table.th.backgroundColor,
|
|
@@ -445,25 +445,25 @@ const Ft = ["id"], Ht = ["xmlns", "viewBox", "id"], It = ["x", "y", "width", "he
|
|
|
445
445
|
}, ve.value = {
|
|
446
446
|
datapoint: u,
|
|
447
447
|
seriesIndex: a,
|
|
448
|
-
series:
|
|
448
|
+
series: C.value,
|
|
449
449
|
config: t.value
|
|
450
450
|
}, ee.value = !0;
|
|
451
|
-
const
|
|
452
|
-
if (
|
|
451
|
+
const o = t.value.style.chart.tooltip.customFormat;
|
|
452
|
+
if (Yt(o) && At(() => o({
|
|
453
453
|
seriesIndex: a,
|
|
454
454
|
datapoint: u,
|
|
455
|
-
series:
|
|
455
|
+
series: C.value,
|
|
456
456
|
config: t.value
|
|
457
457
|
})))
|
|
458
|
-
re.value =
|
|
458
|
+
re.value = o({
|
|
459
459
|
seriesIndex: a,
|
|
460
460
|
datapoint: u,
|
|
461
|
-
series:
|
|
461
|
+
series: C.value,
|
|
462
462
|
config: t.value
|
|
463
463
|
});
|
|
464
464
|
else {
|
|
465
|
-
let
|
|
466
|
-
u.quadrantSide && (
|
|
465
|
+
let n = "";
|
|
466
|
+
u.quadrantSide && (n += `<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>`), n += `<div>${l.name}</div>`, n += `<div style="padding-bottom:6px;border-bottom:1px solid ${t.value.style.chart.tooltip.borderColor};margin-bottom:3px">${u.name}</div>`, n += `<div>${t.value.style.chart.layout.grid.xAxis.name ? t.value.style.chart.layout.grid.xAxis.name : "x"}: <b>${R(
|
|
467
467
|
t.value.style.chart.layout.labels.plotLabels.x.formatter,
|
|
468
468
|
u.xValue,
|
|
469
469
|
V({
|
|
@@ -471,7 +471,7 @@ const Ft = ["id"], Ht = ["xmlns", "viewBox", "id"], It = ["x", "y", "width", "he
|
|
|
471
471
|
r: t.value.style.chart.tooltip.roundingValue
|
|
472
472
|
}),
|
|
473
473
|
{ datapoint: u, category: l, categoryIndex: a }
|
|
474
|
-
)}</b></div>`,
|
|
474
|
+
)}</b></div>`, n += `<div>${t.value.style.chart.layout.grid.yAxis.name ? t.value.style.chart.layout.grid.yAxis.name : "y"}: <b>${R(
|
|
475
475
|
t.value.style.chart.layout.labels.plotLabels.y.formatter,
|
|
476
476
|
u.yValue,
|
|
477
477
|
V({
|
|
@@ -479,7 +479,7 @@ const Ft = ["id"], Ht = ["xmlns", "viewBox", "id"], It = ["x", "y", "width", "he
|
|
|
479
479
|
r: t.value.style.chart.tooltip.roundingValue
|
|
480
480
|
}),
|
|
481
481
|
{ datapoint: u, category: l, categoryIndex: a }
|
|
482
|
-
)}</b></div>`, re.value = `<div style="text-align:left;font-size:${t.value.style.chart.tooltip.fontSize}px">${
|
|
482
|
+
)}</b></div>`, re.value = `<div style="text-align:left;font-size:${t.value.style.chart.tooltip.fontSize}px">${n}</div>`;
|
|
483
483
|
}
|
|
484
484
|
}
|
|
485
485
|
function Oe(l, u) {
|
|
@@ -496,11 +496,11 @@ const Ft = ["id"], Ht = ["xmlns", "viewBox", "id"], It = ["x", "y", "width", "he
|
|
|
496
496
|
}
|
|
497
497
|
function Z(l) {
|
|
498
498
|
if (!l) return;
|
|
499
|
-
const u =
|
|
500
|
-
category:
|
|
501
|
-
itemName:
|
|
502
|
-
x:
|
|
503
|
-
y:
|
|
499
|
+
const u = C.value.flatMap((o) => o.series.filter((n) => n.quadrantSide === l).map((n) => ({
|
|
500
|
+
category: n.categoryName,
|
|
501
|
+
itemName: n.name,
|
|
502
|
+
x: n.xValue,
|
|
503
|
+
y: n.yValue
|
|
504
504
|
}))), a = {
|
|
505
505
|
quadrantSide: l,
|
|
506
506
|
sideName: t.value.style.chart.layout.labels.quadrantLabels[l].text,
|
|
@@ -615,7 +615,7 @@ const Ft = ["id"], Ht = ["xmlns", "viewBox", "id"], It = ["x", "y", "width", "he
|
|
|
615
615
|
}
|
|
616
616
|
}));
|
|
617
617
|
function Re() {
|
|
618
|
-
return
|
|
618
|
+
return C.value.map((l) => ({
|
|
619
619
|
color: l.color,
|
|
620
620
|
name: l.name,
|
|
621
621
|
shape: l.shape,
|
|
@@ -630,7 +630,7 @@ const Ft = ["id"], Ht = ["xmlns", "viewBox", "id"], It = ["x", "y", "width", "he
|
|
|
630
630
|
}
|
|
631
631
|
function Ve(l = null) {
|
|
632
632
|
gt(() => {
|
|
633
|
-
const u = [[t.value.style.chart.title.text], [t.value.style.chart.title.subtitle.text], [""]], a = le.value.head,
|
|
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 = Xt(n);
|
|
634
634
|
l ? l(b) : Wt({ csvContent: b, title: t.value.style.chart.title.text || "vue-ui-quadrant" });
|
|
635
635
|
});
|
|
636
636
|
}
|
|
@@ -660,7 +660,7 @@ const Ft = ["id"], Ht = ["xmlns", "viewBox", "id"], It = ["x", "y", "width", "he
|
|
|
660
660
|
toggleLabels: Be,
|
|
661
661
|
toggleTooltip: Fe,
|
|
662
662
|
toggleAnnotator: de
|
|
663
|
-
}), (l, u) => (
|
|
663
|
+
}), (l, u) => (s(), r("div", {
|
|
664
664
|
class: T(`vue-ui-quadrant ${I.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${t.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
665
665
|
ref_key: "quadrantChart",
|
|
666
666
|
ref: G,
|
|
@@ -669,7 +669,7 @@ const Ft = ["id"], Ht = ["xmlns", "viewBox", "id"], It = ["x", "y", "width", "he
|
|
|
669
669
|
onMouseenter: u[16] || (u[16] = () => i(ke)(!0)),
|
|
670
670
|
onMouseleave: u[17] || (u[17] = () => i(ke)(!1))
|
|
671
671
|
}, [
|
|
672
|
-
t.value.userOptions.buttons.annotator ? (
|
|
672
|
+
t.value.userOptions.buttons.annotator ? (s(), O(i(Ke), {
|
|
673
673
|
key: 0,
|
|
674
674
|
svgRef: i(we),
|
|
675
675
|
backgroundColor: t.value.style.chart.backgroundColor,
|
|
@@ -677,20 +677,20 @@ const Ft = ["id"], Ht = ["xmlns", "viewBox", "id"], It = ["x", "y", "width", "he
|
|
|
677
677
|
active: ue.value,
|
|
678
678
|
onClose: de
|
|
679
679
|
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : h("", !0),
|
|
680
|
-
rt.value ? (
|
|
680
|
+
rt.value ? (s(), r("div", {
|
|
681
681
|
key: 1,
|
|
682
682
|
ref_key: "noTitle",
|
|
683
683
|
ref: ge,
|
|
684
684
|
class: "vue-data-ui-no-title-space",
|
|
685
685
|
style: "height:36px; width: 100%;background:transparent"
|
|
686
686
|
}, null, 512)) : h("", !0),
|
|
687
|
-
t.value.style.chart.title.text ? (
|
|
687
|
+
t.value.style.chart.title.text ? (s(), r("div", {
|
|
688
688
|
key: 2,
|
|
689
689
|
ref_key: "chartTitle",
|
|
690
690
|
ref: be,
|
|
691
691
|
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
692
692
|
}, [
|
|
693
|
-
(
|
|
693
|
+
(s(), O(Pt, {
|
|
694
694
|
key: `table_${me.value}`,
|
|
695
695
|
config: {
|
|
696
696
|
title: {
|
|
@@ -704,14 +704,14 @@ const Ft = ["id"], Ht = ["xmlns", "viewBox", "id"], It = ["x", "y", "width", "he
|
|
|
704
704
|
}
|
|
705
705
|
}, null, 8, ["config"]))
|
|
706
706
|
], 512)) : h("", !0),
|
|
707
|
-
t.value.userOptions.show && K.value && (i(Le) || i(ne)) ? (
|
|
707
|
+
t.value.userOptions.show && K.value && (i(Le) || i(ne)) ? (s(), O(i(at), {
|
|
708
708
|
ref_key: "details",
|
|
709
709
|
ref: st,
|
|
710
710
|
key: `user_options_${ye.value}`,
|
|
711
711
|
backgroundColor: t.value.style.chart.backgroundColor,
|
|
712
712
|
color: t.value.style.chart.color,
|
|
713
|
-
isImaging: i(
|
|
714
|
-
isPrinting: i(
|
|
713
|
+
isImaging: i(Ce),
|
|
714
|
+
isPrinting: i(Se),
|
|
715
715
|
uid: z.value,
|
|
716
716
|
hasTooltip: t.value.userOptions.buttons.tooltip && t.value.style.chart.tooltip.show,
|
|
717
717
|
hasPdf: t.value.userOptions.buttons.pdf,
|
|
@@ -742,8 +742,8 @@ const Ft = ["id"], Ht = ["xmlns", "viewBox", "id"], It = ["x", "y", "width", "he
|
|
|
742
742
|
}, ft({ _: 2 }, [
|
|
743
743
|
l.$slots.menuIcon ? {
|
|
744
744
|
name: "menuIcon",
|
|
745
|
-
fn: m(({ isOpen: a, color:
|
|
746
|
-
x(l.$slots, "menuIcon", E(U({ isOpen: a, color:
|
|
745
|
+
fn: m(({ isOpen: a, color: o }) => [
|
|
746
|
+
x(l.$slots, "menuIcon", E(U({ isOpen: a, color: o })), void 0, !0)
|
|
747
747
|
]),
|
|
748
748
|
key: "0"
|
|
749
749
|
} : void 0,
|
|
@@ -791,31 +791,31 @@ const Ft = ["id"], Ht = ["xmlns", "viewBox", "id"], It = ["x", "y", "width", "he
|
|
|
791
791
|
} : void 0,
|
|
792
792
|
l.$slots.optionFullscreen ? {
|
|
793
793
|
name: "optionFullscreen",
|
|
794
|
-
fn: m(({ toggleFullscreen: a, isFullscreen:
|
|
795
|
-
x(l.$slots, "optionFullscreen", E(U({ toggleFullscreen: a, isFullscreen:
|
|
794
|
+
fn: m(({ toggleFullscreen: a, isFullscreen: o }) => [
|
|
795
|
+
x(l.$slots, "optionFullscreen", E(U({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
|
|
796
796
|
]),
|
|
797
797
|
key: "7"
|
|
798
798
|
} : void 0,
|
|
799
799
|
l.$slots.optionAnnotator ? {
|
|
800
800
|
name: "optionAnnotator",
|
|
801
|
-
fn: m(({ toggleAnnotator: a, isAnnotator:
|
|
802
|
-
x(l.$slots, "optionAnnotator", E(U({ toggleAnnotator: a, isAnnotator:
|
|
801
|
+
fn: m(({ toggleAnnotator: a, isAnnotator: o }) => [
|
|
802
|
+
x(l.$slots, "optionAnnotator", E(U({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
|
|
803
803
|
]),
|
|
804
804
|
key: "8"
|
|
805
805
|
} : void 0
|
|
806
806
|
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "onGeneratePdf", "onGenerateImage", "style"])) : h("", !0),
|
|
807
|
-
K.value ? (
|
|
807
|
+
K.value ? (s(), r("svg", {
|
|
808
808
|
key: 4,
|
|
809
809
|
ref_key: "svgRef",
|
|
810
810
|
ref: we,
|
|
811
811
|
xmlns: i(_t),
|
|
812
812
|
class: T({ "vue-data-ui-fullscreen--on": I.value, "vue-data-ui-fulscreen--off": !I.value }),
|
|
813
813
|
viewBox: `${v.value.startX} ${v.value.startY} ${v.value.width} ${v.value.height}`,
|
|
814
|
-
style: q(`max-width:100%;overflow:${
|
|
814
|
+
style: q(`max-width:100%;overflow:${f.value ? "hidden" : "visible"};background:transparent;color:${t.value.style.chart.color}`),
|
|
815
815
|
id: `svg_${z.value}`
|
|
816
816
|
}, [
|
|
817
817
|
ce(i(ut)),
|
|
818
|
-
l.$slots["chart-background"] ? (
|
|
818
|
+
l.$slots["chart-background"] ? (s(), r("foreignObject", {
|
|
819
819
|
key: 0,
|
|
820
820
|
x: v.value.startX,
|
|
821
821
|
y: v.value.startY,
|
|
@@ -826,28 +826,28 @@ const Ft = ["id"], Ht = ["xmlns", "viewBox", "id"], It = ["x", "y", "width", "he
|
|
|
826
826
|
}
|
|
827
827
|
}, [
|
|
828
828
|
x(l.$slots, "chart-background", {}, void 0, !0)
|
|
829
|
-
], 8,
|
|
829
|
+
], 8, Et)) : h("", !0),
|
|
830
830
|
c("defs", null, [
|
|
831
|
-
(
|
|
831
|
+
(s(!0), r(S, null, Y(C.value, (a, o) => (s(), r("radialGradient", {
|
|
832
832
|
cx: "50%",
|
|
833
833
|
cy: "50%",
|
|
834
834
|
r: "50%",
|
|
835
835
|
fx: "50%",
|
|
836
836
|
fy: "50%",
|
|
837
|
-
id: `quadrant_gradient_${z.value}_${
|
|
837
|
+
id: `quadrant_gradient_${z.value}_${o}`
|
|
838
838
|
}, [
|
|
839
839
|
c("stop", {
|
|
840
840
|
offset: "0%",
|
|
841
|
-
"stop-color": i(oe)(i(
|
|
842
|
-
}, null, 8,
|
|
841
|
+
"stop-color": i(oe)(i(St)(a.color, 0.05), t.value.style.chart.layout.areas.opacity)
|
|
842
|
+
}, null, 8, Dt),
|
|
843
843
|
c("stop", {
|
|
844
844
|
offset: "100%",
|
|
845
845
|
"stop-color": i(oe)(a.color, t.value.style.chart.layout.areas.opacity)
|
|
846
|
-
}, null, 8,
|
|
847
|
-
], 8,
|
|
846
|
+
}, null, 8, Gt)
|
|
847
|
+
], 8, Ut))), 256))
|
|
848
848
|
]),
|
|
849
|
-
t.value.style.chart.layout.grid.graduations.show ? (
|
|
850
|
-
(
|
|
849
|
+
t.value.style.chart.layout.grid.graduations.show ? (s(), r("g", Qt, [
|
|
850
|
+
(s(!0), r(S, null, Y(it.value, (a) => (s(), r("rect", {
|
|
851
851
|
fill: t.value.style.chart.layout.grid.graduations.fill ? i(oe)(t.value.style.chart.layout.grid.graduations.color, a.opacity) : "none",
|
|
852
852
|
x: a.x,
|
|
853
853
|
y: a.y,
|
|
@@ -856,7 +856,7 @@ const Ft = ["id"], Ht = ["xmlns", "viewBox", "id"], It = ["x", "y", "width", "he
|
|
|
856
856
|
"stroke-width": t.value.style.chart.layout.grid.graduations.strokeWidth,
|
|
857
857
|
stroke: t.value.style.chart.layout.grid.graduations.stroke,
|
|
858
858
|
rx: t.value.style.chart.layout.grid.graduations.roundingForce
|
|
859
|
-
}, null, 8,
|
|
859
|
+
}, null, 8, Jt))), 256))
|
|
860
860
|
])) : h("", !0),
|
|
861
861
|
c("line", {
|
|
862
862
|
x1: e.value.left,
|
|
@@ -865,7 +865,7 @@ const Ft = ["id"], Ht = ["xmlns", "viewBox", "id"], It = ["x", "y", "width", "he
|
|
|
865
865
|
y2: e.value.centerY,
|
|
866
866
|
stroke: t.value.style.chart.layout.grid.stroke,
|
|
867
867
|
"stroke-width": t.value.style.chart.layout.grid.strokeWidth
|
|
868
|
-
}, null, 8,
|
|
868
|
+
}, null, 8, jt),
|
|
869
869
|
c("line", {
|
|
870
870
|
x1: e.value.centerX,
|
|
871
871
|
y1: e.value.top,
|
|
@@ -873,31 +873,31 @@ const Ft = ["id"], Ht = ["xmlns", "viewBox", "id"], It = ["x", "y", "width", "he
|
|
|
873
873
|
y2: e.value.bottom,
|
|
874
874
|
stroke: t.value.style.chart.layout.grid.stroke,
|
|
875
875
|
"stroke-width": t.value.style.chart.layout.grid.strokeWidth
|
|
876
|
-
}, null, 8,
|
|
877
|
-
t.value.style.chart.layout.grid.showArrows ? (
|
|
876
|
+
}, null, 8, Zt),
|
|
877
|
+
t.value.style.chart.layout.grid.showArrows ? (s(), r("g", Kt, [
|
|
878
878
|
c("polygon", {
|
|
879
879
|
points: `${e.value.right - 8},${e.value.centerY - 6} ${e.value.right},${e.value.centerY} ${e.value.right - 8},${e.value.centerY + 6}`,
|
|
880
880
|
fill: t.value.style.chart.layout.grid.stroke,
|
|
881
881
|
stroke: "none"
|
|
882
|
-
}, null, 8,
|
|
882
|
+
}, null, 8, el),
|
|
883
883
|
c("polygon", {
|
|
884
884
|
points: `${e.value.left + 8},${e.value.centerY - 6} ${e.value.left},${e.value.centerY} ${e.value.left + 8},${e.value.centerY + 6}`,
|
|
885
885
|
fill: t.value.style.chart.layout.grid.stroke,
|
|
886
886
|
stroke: "none"
|
|
887
|
-
}, null, 8,
|
|
887
|
+
}, null, 8, tl),
|
|
888
888
|
c("polygon", {
|
|
889
889
|
points: `${e.value.centerX - 6},${e.value.top + 8} ${e.value.centerX},${e.value.top} ${e.value.centerX + 6},${e.value.top + 8}`,
|
|
890
890
|
fill: t.value.style.chart.layout.grid.stroke,
|
|
891
891
|
stroke: "none"
|
|
892
|
-
}, null, 8,
|
|
892
|
+
}, null, 8, ll),
|
|
893
893
|
c("polygon", {
|
|
894
894
|
points: `${e.value.centerX - 6},${e.value.bottom - 8} ${e.value.centerX},${e.value.bottom} ${e.value.centerX + 6},${e.value.bottom - 8}`,
|
|
895
895
|
fill: t.value.style.chart.layout.grid.stroke,
|
|
896
896
|
stroke: "none"
|
|
897
|
-
}, null, 8,
|
|
897
|
+
}, null, 8, al)
|
|
898
898
|
])) : h("", !0),
|
|
899
|
-
t.value.style.chart.layout.labels.quadrantLabels.show && !
|
|
900
|
-
t.value.style.chart.layout.labels.quadrantLabels.tl.text ? (
|
|
899
|
+
t.value.style.chart.layout.labels.quadrantLabels.show && !f.value ? (s(), r("g", ul, [
|
|
900
|
+
t.value.style.chart.layout.labels.quadrantLabels.tl.text ? (s(), r("text", {
|
|
901
901
|
key: 0,
|
|
902
902
|
x: 0,
|
|
903
903
|
y: e.value.top - e.value.padding / 2,
|
|
@@ -906,8 +906,8 @@ const Ft = ["id"], Ht = ["xmlns", "viewBox", "id"], It = ["x", "y", "width", "he
|
|
|
906
906
|
"font-size": t.value.style.chart.layout.labels.quadrantLabels.tl.fontSize,
|
|
907
907
|
style: q(`font-weight:${t.value.style.chart.layout.labels.quadrantLabels.tl.bold ? "bold" : ""}`),
|
|
908
908
|
onClick: u[0] || (u[0] = (a) => Z("tl"))
|
|
909
|
-
}, L(t.value.style.chart.layout.labels.quadrantLabels.tl.text), 13,
|
|
910
|
-
t.value.style.chart.layout.labels.quadrantLabels.tr.text ? (
|
|
909
|
+
}, L(t.value.style.chart.layout.labels.quadrantLabels.tl.text), 13, ol)) : h("", !0),
|
|
910
|
+
t.value.style.chart.layout.labels.quadrantLabels.tr.text ? (s(), r("text", {
|
|
911
911
|
key: 1,
|
|
912
912
|
x: e.value.width,
|
|
913
913
|
y: e.value.top - e.value.padding / 2,
|
|
@@ -916,8 +916,8 @@ const Ft = ["id"], Ht = ["xmlns", "viewBox", "id"], It = ["x", "y", "width", "he
|
|
|
916
916
|
"font-size": t.value.style.chart.layout.labels.quadrantLabels.tr.fontSize,
|
|
917
917
|
style: q(`font-weight:${t.value.style.chart.layout.labels.quadrantLabels.tr.bold ? "bold" : ""}`),
|
|
918
918
|
onClick: u[1] || (u[1] = (a) => Z("tr"))
|
|
919
|
-
}, L(t.value.style.chart.layout.labels.quadrantLabels.tr.text), 13,
|
|
920
|
-
t.value.style.chart.layout.labels.quadrantLabels.br.text ? (
|
|
919
|
+
}, L(t.value.style.chart.layout.labels.quadrantLabels.tr.text), 13, sl)) : h("", !0),
|
|
920
|
+
t.value.style.chart.layout.labels.quadrantLabels.br.text ? (s(), r("text", {
|
|
921
921
|
key: 2,
|
|
922
922
|
x: e.value.width,
|
|
923
923
|
y: e.value.bottom + e.value.padding * 0.7,
|
|
@@ -926,8 +926,8 @@ const Ft = ["id"], Ht = ["xmlns", "viewBox", "id"], It = ["x", "y", "width", "he
|
|
|
926
926
|
"font-size": t.value.style.chart.layout.labels.quadrantLabels.br.fontSize,
|
|
927
927
|
style: q(`font-weight:${t.value.style.chart.layout.labels.quadrantLabels.br.bold ? "bold" : ""}`),
|
|
928
928
|
onClick: u[2] || (u[2] = (a) => Z("br"))
|
|
929
|
-
}, L(t.value.style.chart.layout.labels.quadrantLabels.br.text), 13,
|
|
930
|
-
t.value.style.chart.layout.labels.quadrantLabels.bl.text ? (
|
|
929
|
+
}, L(t.value.style.chart.layout.labels.quadrantLabels.br.text), 13, rl)) : h("", !0),
|
|
930
|
+
t.value.style.chart.layout.labels.quadrantLabels.bl.text ? (s(), r("text", {
|
|
931
931
|
key: 3,
|
|
932
932
|
x: 0,
|
|
933
933
|
y: e.value.bottom + e.value.padding * 0.7,
|
|
@@ -936,9 +936,9 @@ const Ft = ["id"], Ht = ["xmlns", "viewBox", "id"], It = ["x", "y", "width", "he
|
|
|
936
936
|
"font-size": t.value.style.chart.layout.labels.quadrantLabels.bl.fontSize,
|
|
937
937
|
style: q(`font-weight:${t.value.style.chart.layout.labels.quadrantLabels.bl.bold ? "bold" : ""}`),
|
|
938
938
|
onClick: u[3] || (u[3] = (a) => Z("bl"))
|
|
939
|
-
}, L(t.value.style.chart.layout.labels.quadrantLabels.bl.text), 13,
|
|
939
|
+
}, L(t.value.style.chart.layout.labels.quadrantLabels.bl.text), 13, nl)) : h("", !0)
|
|
940
940
|
])) : h("", !0),
|
|
941
|
-
t.value.style.chart.layout.labels.axisLabels.show ? (
|
|
941
|
+
t.value.style.chart.layout.labels.axisLabels.show ? (s(), r("g", il, [
|
|
942
942
|
c("text", {
|
|
943
943
|
x: e.value.centerX,
|
|
944
944
|
y: e.value.top - e.value.padding / 6,
|
|
@@ -952,14 +952,14 @@ const Ft = ["id"], Ht = ["xmlns", "viewBox", "id"], It = ["x", "y", "width", "he
|
|
|
952
952
|
v: _.value.y.max,
|
|
953
953
|
r: t.value.style.chart.layout.labels.plotLabels.rounding
|
|
954
954
|
})
|
|
955
|
-
)), 9,
|
|
955
|
+
)), 9, vl),
|
|
956
956
|
c("text", {
|
|
957
957
|
x: e.value.centerX,
|
|
958
958
|
y: e.value.top - e.value.padding / 2,
|
|
959
959
|
"text-anchor": "middle",
|
|
960
960
|
"font-size": t.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
961
961
|
fill: t.value.style.chart.layout.labels.axisLabels.color.positive
|
|
962
|
-
}, L(t.value.style.chart.layout.grid.yAxis.name), 9,
|
|
962
|
+
}, L(t.value.style.chart.layout.grid.yAxis.name), 9, dl),
|
|
963
963
|
c("text", {
|
|
964
964
|
x: e.value.centerX,
|
|
965
965
|
y: e.value.bottom + e.value.padding * 0.35,
|
|
@@ -973,7 +973,7 @@ const Ft = ["id"], Ht = ["xmlns", "viewBox", "id"], It = ["x", "y", "width", "he
|
|
|
973
973
|
v: _.value.y.min,
|
|
974
974
|
r: t.value.style.chart.layout.labels.plotLabels.rounding
|
|
975
975
|
})
|
|
976
|
-
)), 9,
|
|
976
|
+
)), 9, cl),
|
|
977
977
|
c("text", {
|
|
978
978
|
id: `xLabelMin_${z.value}`,
|
|
979
979
|
"text-anchor": "middle",
|
|
@@ -987,7 +987,7 @@ const Ft = ["id"], Ht = ["xmlns", "viewBox", "id"], It = ["x", "y", "width", "he
|
|
|
987
987
|
v: _.value.x.min,
|
|
988
988
|
r: t.value.style.chart.layout.labels.plotLabels.rounding
|
|
989
989
|
})
|
|
990
|
-
)), 9,
|
|
990
|
+
)), 9, hl),
|
|
991
991
|
c("text", {
|
|
992
992
|
id: `xLabelMax_${z.value}`,
|
|
993
993
|
"text-anchor": "middle",
|
|
@@ -1001,23 +1001,23 @@ const Ft = ["id"], Ht = ["xmlns", "viewBox", "id"], It = ["x", "y", "width", "he
|
|
|
1001
1001
|
v: _.value.x.max,
|
|
1002
1002
|
r: t.value.style.chart.layout.labels.plotLabels.rounding
|
|
1003
1003
|
})
|
|
1004
|
-
)), 9,
|
|
1004
|
+
)), 9, yl),
|
|
1005
1005
|
c("text", {
|
|
1006
1006
|
id: `xLabelMaxName_${z.value}`,
|
|
1007
1007
|
"text-anchor": "middle",
|
|
1008
1008
|
"font-size": t.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
1009
1009
|
transform: `translate(${e.value.width - t.value.style.chart.layout.labels.axisLabels.fontSize}, ${e.value.height / 2}), rotate(90)`,
|
|
1010
1010
|
fill: t.value.style.chart.layout.labels.axisLabels.color.positive
|
|
1011
|
-
}, L(t.value.style.chart.layout.grid.xAxis.name), 9,
|
|
1011
|
+
}, L(t.value.style.chart.layout.grid.xAxis.name), 9, bl)
|
|
1012
1012
|
])) : h("", !0),
|
|
1013
|
-
t.value.style.chart.layout.areas.show ? (
|
|
1014
|
-
(
|
|
1015
|
-
a.series.length > 2 ? (
|
|
1013
|
+
t.value.style.chart.layout.areas.show ? (s(), r("g", fl, [
|
|
1014
|
+
(s(!0), r(S, null, Y(C.value, (a, o) => (s(), r("g", null, [
|
|
1015
|
+
a.series.length > 2 ? (s(), r("polygon", {
|
|
1016
1016
|
key: 0,
|
|
1017
1017
|
"data-cy-quadrant-area": "",
|
|
1018
|
-
fill: t.value.style.chart.layout.areas.useGradient ? `url(#quadrant_gradient_${z.value}_${
|
|
1019
|
-
points: i(
|
|
1020
|
-
}, null, 8,
|
|
1018
|
+
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),
|
|
1019
|
+
points: i(Ct)(a)
|
|
1020
|
+
}, null, 8, pl)) : h("", !0)
|
|
1021
1021
|
]))), 256))
|
|
1022
1022
|
])) : h("", !0),
|
|
1023
1023
|
c("g", null, [
|
|
@@ -1028,8 +1028,8 @@ const Ft = ["id"], Ht = ["xmlns", "viewBox", "id"], It = ["x", "y", "width", "he
|
|
|
1028
1028
|
width: e.value.usableWidth / 2 <= 0 ? 1e-3 : e.value.usableWidth / 2,
|
|
1029
1029
|
height: e.value.usableHeight / 2 <= 0 ? 1e-3 : e.value.usableHeight / 2,
|
|
1030
1030
|
fill: "transparent",
|
|
1031
|
-
class: T({ "vue-data-ui-zoom-plus": !
|
|
1032
|
-
}, null, 10,
|
|
1031
|
+
class: T({ "vue-data-ui-zoom-plus": !f.value, "vue-data-ui-zoom-minus": f.value })
|
|
1032
|
+
}, null, 10, gl),
|
|
1033
1033
|
c("rect", {
|
|
1034
1034
|
onClick: u[5] || (u[5] = (a) => M("TR")),
|
|
1035
1035
|
x: e.value.centerX,
|
|
@@ -1037,8 +1037,8 @@ const Ft = ["id"], Ht = ["xmlns", "viewBox", "id"], It = ["x", "y", "width", "he
|
|
|
1037
1037
|
width: e.value.usableWidth / 2 <= 0 ? 1e-3 : e.value.usableWidth / 2,
|
|
1038
1038
|
height: e.value.usableHeight / 2 <= 0 ? 1e-3 : e.value.usableHeight / 2,
|
|
1039
1039
|
fill: "transparent",
|
|
1040
|
-
class: T({ "vue-data-ui-zoom-plus": !
|
|
1041
|
-
}, null, 10,
|
|
1040
|
+
class: T({ "vue-data-ui-zoom-plus": !f.value, "vue-data-ui-zoom-minus": f.value })
|
|
1041
|
+
}, null, 10, ml),
|
|
1042
1042
|
c("rect", {
|
|
1043
1043
|
onClick: u[6] || (u[6] = (a) => M("BR")),
|
|
1044
1044
|
x: e.value.centerX,
|
|
@@ -1046,8 +1046,8 @@ const Ft = ["id"], Ht = ["xmlns", "viewBox", "id"], It = ["x", "y", "width", "he
|
|
|
1046
1046
|
width: e.value.usableWidth / 2 <= 0 ? 1e-3 : e.value.usableWidth / 2,
|
|
1047
1047
|
height: e.value.usableHeight / 2 <= 0 ? 1e-3 : e.value.usableHeight / 2,
|
|
1048
1048
|
fill: "transparent",
|
|
1049
|
-
class: T({ "vue-data-ui-zoom-plus": !
|
|
1050
|
-
}, null, 10,
|
|
1049
|
+
class: T({ "vue-data-ui-zoom-plus": !f.value, "vue-data-ui-zoom-minus": f.value })
|
|
1050
|
+
}, null, 10, xl),
|
|
1051
1051
|
c("rect", {
|
|
1052
1052
|
onClick: u[7] || (u[7] = (a) => M("BL")),
|
|
1053
1053
|
x: e.value.left,
|
|
@@ -1055,86 +1055,104 @@ const Ft = ["id"], Ht = ["xmlns", "viewBox", "id"], It = ["x", "y", "width", "he
|
|
|
1055
1055
|
width: e.value.usableWidth / 2 <= 0 ? 1e-3 : e.value.usableWidth / 2,
|
|
1056
1056
|
height: e.value.usableHeight / 2 <= 0 ? 1e-3 : e.value.usableHeight / 2,
|
|
1057
1057
|
fill: "transparent",
|
|
1058
|
-
class: T({ "vue-data-ui-zoom-plus": !
|
|
1059
|
-
}, null, 10,
|
|
1058
|
+
class: T({ "vue-data-ui-zoom-plus": !f.value, "vue-data-ui-zoom-minus": f.value })
|
|
1059
|
+
}, null, 10, $l)
|
|
1060
1060
|
]),
|
|
1061
|
-
t.value.style.chart.layout.labels.plotLabels.showAsTag ? (
|
|
1062
|
-
$.value.plotLabels.show ? (
|
|
1063
|
-
(
|
|
1064
|
-
(
|
|
1061
|
+
t.value.style.chart.layout.labels.plotLabels.showAsTag ? (s(), r(S, { key: 7 }, [
|
|
1062
|
+
$.value.plotLabels.show ? (s(), r("g", ql, [
|
|
1063
|
+
(s(!0), r(S, null, Y(C.value, (a, o) => (s(), r(S, null, [
|
|
1064
|
+
(s(!0), r(S, null, Y(a.series, (n) => (s(), r("foreignObject", {
|
|
1065
1065
|
style: { overflow: "visible" },
|
|
1066
1066
|
height: "10",
|
|
1067
1067
|
width: "100",
|
|
1068
|
-
x:
|
|
1069
|
-
y:
|
|
1070
|
-
onMouseover: (b) => Ne(a,
|
|
1068
|
+
x: n.x - 50,
|
|
1069
|
+
y: n.y - t.value.style.chart.layout.labels.plotLabels.fontSize,
|
|
1070
|
+
onMouseover: (b) => Ne(a, n, o),
|
|
1071
1071
|
onMouseleave: u[9] || (u[9] = (b) => {
|
|
1072
1072
|
ee.value = !1, J.value = null, j.value = null;
|
|
1073
1073
|
}),
|
|
1074
|
-
onClick: (b) => Oe(a,
|
|
1074
|
+
onClick: (b) => Oe(a, n)
|
|
1075
1075
|
}, [
|
|
1076
1076
|
c("div", {
|
|
1077
|
-
style: q(`color:${i(
|
|
1078
|
-
}, L(
|
|
1079
|
-
], 40,
|
|
1077
|
+
style: q(`color:${i(Tt)(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;`)
|
|
1078
|
+
}, L(n.name), 5)
|
|
1079
|
+
], 40, _l))), 256))
|
|
1080
1080
|
], 64))), 256))
|
|
1081
1081
|
])) : h("", !0)
|
|
1082
|
-
], 64)) : (
|
|
1083
|
-
(
|
|
1084
|
-
(
|
|
1082
|
+
], 64)) : (s(), r(S, { key: 6 }, [
|
|
1083
|
+
(s(!0), r(S, null, Y(C.value, (a, o) => (s(), r("g", null, [
|
|
1084
|
+
(s(!0), r(S, null, Y(a.series, (n) => (s(), O(Ge, {
|
|
1085
1085
|
color: a.color,
|
|
1086
|
-
isSelected: J.value &&
|
|
1087
|
-
plot:
|
|
1088
|
-
radius: t.value.style.chart.layout.plots.radius / (
|
|
1086
|
+
isSelected: J.value && n.uid === J.value,
|
|
1087
|
+
plot: n,
|
|
1088
|
+
radius: t.value.style.chart.layout.plots.radius / (f.value ? 1.5 : 1),
|
|
1089
1089
|
shape: a.shape,
|
|
1090
1090
|
stroke: t.value.style.chart.layout.plots.outline ? t.value.style.chart.layout.plots.outlineColor : "none",
|
|
1091
1091
|
strokeWidth: t.value.style.chart.layout.plots.outlineWidth,
|
|
1092
|
-
onMouseenter: (b) => Ne(a,
|
|
1092
|
+
onMouseenter: (b) => Ne(a, n, o),
|
|
1093
1093
|
onMouseleave: u[8] || (u[8] = (b) => {
|
|
1094
1094
|
ee.value = !1, J.value = null, j.value = null;
|
|
1095
1095
|
}),
|
|
1096
|
-
onClick: (b) => Oe(a,
|
|
1096
|
+
onClick: (b) => Oe(a, n)
|
|
1097
1097
|
}, null, 8, ["color", "isSelected", "plot", "radius", "shape", "stroke", "strokeWidth", "onMouseenter", "onClick"]))), 256))
|
|
1098
1098
|
]))), 256)),
|
|
1099
|
-
$.value.plotLabels.show ? (
|
|
1100
|
-
(
|
|
1101
|
-
(
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1099
|
+
$.value.plotLabels.show ? (s(), r("g", kl, [
|
|
1100
|
+
(s(!0), r(S, null, Y(C.value, (a) => (s(), r("g", null, [
|
|
1101
|
+
(s(!0), r(S, null, Y(a.series, (o) => (s(), r("g", null, [
|
|
1102
|
+
String(o.name).includes(`
|
|
1103
|
+
`) ? (s(), r("text", {
|
|
1104
|
+
key: 1,
|
|
1105
|
+
x: o.x,
|
|
1106
|
+
y: o.y + t.value.style.chart.layout.labels.plotLabels.offsetY + t.value.style.chart.layout.plots.radius,
|
|
1107
|
+
"text-anchor": "middle",
|
|
1108
|
+
"font-size": t.value.style.chart.layout.labels.plotLabels.fontSize / (f.value ? 1.5 : 1),
|
|
1109
|
+
fill: t.value.style.chart.layout.labels.plotLabels.color,
|
|
1110
|
+
innerHTML: i(zt)({
|
|
1111
|
+
content: String(o.name),
|
|
1112
|
+
fontSize: t.value.style.chart.layout.labels.plotLabels.fontSize / (f.value ? 1.5 : 1),
|
|
1113
|
+
fill: t.value.style.chart.layout.labels.plotLabels.color,
|
|
1114
|
+
x: o.x,
|
|
1115
|
+
y: o.y + t.value.style.chart.layout.labels.plotLabels.offsetY + t.value.style.chart.layout.plots.radius
|
|
1116
|
+
})
|
|
1117
|
+
}, null, 8, wl)) : (s(), r("text", {
|
|
1118
|
+
key: 0,
|
|
1119
|
+
x: o.x,
|
|
1120
|
+
y: o.y + t.value.style.chart.layout.labels.plotLabels.offsetY + t.value.style.chart.layout.plots.radius,
|
|
1121
|
+
"text-anchor": "middle",
|
|
1122
|
+
"font-size": t.value.style.chart.layout.labels.plotLabels.fontSize / (f.value ? 1.5 : 1),
|
|
1123
|
+
fill: t.value.style.chart.layout.labels.plotLabels.color
|
|
1124
|
+
}, L(o.name), 9, Ll))
|
|
1125
|
+
]))), 256))
|
|
1108
1126
|
]))), 256))
|
|
1109
1127
|
])) : h("", !0)
|
|
1110
1128
|
], 64)),
|
|
1111
|
-
|
|
1112
|
-
d.value === "TL" ? (
|
|
1129
|
+
f.value ? (s(), r("g", Sl, [
|
|
1130
|
+
d.value === "TL" ? (s(), r("polygon", {
|
|
1113
1131
|
key: 0,
|
|
1114
1132
|
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}`,
|
|
1115
1133
|
fill: t.value.style.chart.backgroundColor,
|
|
1116
1134
|
style: { opacity: "1" }
|
|
1117
|
-
}, null, 8,
|
|
1118
|
-
d.value === "TR" ? (
|
|
1135
|
+
}, null, 8, Cl)) : h("", !0),
|
|
1136
|
+
d.value === "TR" ? (s(), r("polygon", {
|
|
1119
1137
|
key: 1,
|
|
1120
1138
|
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}`,
|
|
1121
1139
|
fill: t.value.style.chart.backgroundColor,
|
|
1122
1140
|
style: { opacity: "1" }
|
|
1123
|
-
}, null, 8,
|
|
1124
|
-
d.value === "BR" ? (
|
|
1141
|
+
}, null, 8, zl)) : h("", !0),
|
|
1142
|
+
d.value === "BR" ? (s(), r("polygon", {
|
|
1125
1143
|
key: 2,
|
|
1126
1144
|
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}`,
|
|
1127
1145
|
fill: t.value.style.chart.backgroundColor,
|
|
1128
1146
|
style: { opacity: "1" }
|
|
1129
|
-
}, null, 8,
|
|
1130
|
-
d.value === "BL" ? (
|
|
1147
|
+
}, null, 8, Tl)) : h("", !0),
|
|
1148
|
+
d.value === "BL" ? (s(), r("polygon", {
|
|
1131
1149
|
key: 3,
|
|
1132
1150
|
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}`,
|
|
1133
1151
|
fill: t.value.style.chart.backgroundColor,
|
|
1134
1152
|
style: { opacity: "1" }
|
|
1135
|
-
}, null, 8,
|
|
1153
|
+
}, null, 8, Xl)) : h("", !0)
|
|
1136
1154
|
])) : h("", !0),
|
|
1137
|
-
d.value && !te.value ? (
|
|
1155
|
+
d.value && !te.value ? (s(), r("g", Wl, [
|
|
1138
1156
|
c("text", {
|
|
1139
1157
|
x: P.value.x,
|
|
1140
1158
|
y: P.value.y - P.value.fontSize / 1.5,
|
|
@@ -1142,9 +1160,9 @@ const Ft = ["id"], Ht = ["xmlns", "viewBox", "id"], It = ["x", "y", "width", "he
|
|
|
1142
1160
|
fill: P.value.fill,
|
|
1143
1161
|
"text-anchor": "middle",
|
|
1144
1162
|
"font-weight": P.value.bold ? "bold" : "normal"
|
|
1145
|
-
}, L(P.value.text), 9,
|
|
1163
|
+
}, L(P.value.text), 9, Yl)
|
|
1146
1164
|
])) : h("", !0),
|
|
1147
|
-
|
|
1165
|
+
f.value && d.value ? (s(), r("g", Al, [
|
|
1148
1166
|
c("rect", {
|
|
1149
1167
|
x: w.value[d.value].tl.x,
|
|
1150
1168
|
y: w.value[d.value].tl.y,
|
|
@@ -1154,7 +1172,7 @@ const Ft = ["id"], Ht = ["xmlns", "viewBox", "id"], It = ["x", "y", "width", "he
|
|
|
1154
1172
|
style: q(`cursor: pointer; opacity: ${d.value === "TL" ? 1 : 0.2}`),
|
|
1155
1173
|
onClick: u[10] || (u[10] = (a) => M("TL")),
|
|
1156
1174
|
class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": d.value !== "TL" })
|
|
1157
|
-
}, null, 14,
|
|
1175
|
+
}, null, 14, Ml),
|
|
1158
1176
|
c("rect", {
|
|
1159
1177
|
x: w.value[d.value].tr.x,
|
|
1160
1178
|
y: w.value[d.value].tr.y,
|
|
@@ -1164,7 +1182,7 @@ const Ft = ["id"], Ht = ["xmlns", "viewBox", "id"], It = ["x", "y", "width", "he
|
|
|
1164
1182
|
style: q(`cursor: pointer; opacity: ${d.value === "TR" ? 1 : 0.2}`),
|
|
1165
1183
|
onClick: u[11] || (u[11] = (a) => M("TR")),
|
|
1166
1184
|
class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": d.value !== "TR" })
|
|
1167
|
-
}, null, 14,
|
|
1185
|
+
}, null, 14, Nl),
|
|
1168
1186
|
c("rect", {
|
|
1169
1187
|
x: w.value[d.value].br.x,
|
|
1170
1188
|
y: w.value[d.value].br.y,
|
|
@@ -1174,7 +1192,7 @@ const Ft = ["id"], Ht = ["xmlns", "viewBox", "id"], It = ["x", "y", "width", "he
|
|
|
1174
1192
|
style: q(`cursor: pointer; opacity: ${d.value === "BR" ? 1 : 0.2}`),
|
|
1175
1193
|
onClick: u[12] || (u[12] = (a) => M("BR")),
|
|
1176
1194
|
class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": d.value !== "BR" })
|
|
1177
|
-
}, null, 14,
|
|
1195
|
+
}, null, 14, Ol),
|
|
1178
1196
|
c("rect", {
|
|
1179
1197
|
x: w.value[d.value].bl.x,
|
|
1180
1198
|
y: w.value[d.value].bl.y,
|
|
@@ -1184,26 +1202,26 @@ const Ft = ["id"], Ht = ["xmlns", "viewBox", "id"], It = ["x", "y", "width", "he
|
|
|
1184
1202
|
style: q(`cursor: pointer; opacity: ${d.value === "BL" ? 1 : 0.2}`),
|
|
1185
1203
|
onClick: u[13] || (u[13] = (a) => M("BL")),
|
|
1186
1204
|
class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": d.value !== "BL" })
|
|
1187
|
-
}, null, 14,
|
|
1205
|
+
}, null, 14, Rl),
|
|
1188
1206
|
c("path", {
|
|
1189
1207
|
class: "vue-ui-quadrant-minimap-crosshairs",
|
|
1190
1208
|
stroke: t.value.style.chart.backgroundColor,
|
|
1191
1209
|
"stroke-width": 1,
|
|
1192
1210
|
d: w.value[d.value].crosshairs.horizontal
|
|
1193
|
-
}, null, 8,
|
|
1211
|
+
}, null, 8, Vl),
|
|
1194
1212
|
c("path", {
|
|
1195
1213
|
class: "vue-ui-quadrant-minimap-crosshairs",
|
|
1196
1214
|
stroke: t.value.style.chart.backgroundColor,
|
|
1197
1215
|
"stroke-width": 1,
|
|
1198
1216
|
d: w.value[d.value].crosshairs.vertical
|
|
1199
|
-
}, null, 8,
|
|
1217
|
+
}, null, 8, Pl)
|
|
1200
1218
|
])) : h("", !0),
|
|
1201
1219
|
x(l.$slots, "svg", { svg: e.value }, void 0, !0)
|
|
1202
|
-
], 14,
|
|
1203
|
-
l.$slots.watermark ? (
|
|
1204
|
-
x(l.$slots, "watermark", E(U({ isPrinting: i(
|
|
1220
|
+
], 14, It)) : h("", !0),
|
|
1221
|
+
l.$slots.watermark ? (s(), r("div", Bl, [
|
|
1222
|
+
x(l.$slots, "watermark", E(U({ isPrinting: i(Se) || i(Ce) })), void 0, !0)
|
|
1205
1223
|
])) : h("", !0),
|
|
1206
|
-
K.value ? h("", !0) : (
|
|
1224
|
+
K.value ? h("", !0) : (s(), O(i(tt), {
|
|
1207
1225
|
key: 6,
|
|
1208
1226
|
config: {
|
|
1209
1227
|
type: "quadrant",
|
|
@@ -1225,7 +1243,7 @@ const Ft = ["id"], Ht = ["xmlns", "viewBox", "id"], It = ["x", "y", "width", "he
|
|
|
1225
1243
|
ref_key: "chartLegend",
|
|
1226
1244
|
ref: fe
|
|
1227
1245
|
}, [
|
|
1228
|
-
t.value.style.chart.legend.show ? (
|
|
1246
|
+
t.value.style.chart.legend.show ? (s(), O(Bt, {
|
|
1229
1247
|
key: `legend_${$e.value}`,
|
|
1230
1248
|
legendSet: Ae.value,
|
|
1231
1249
|
config: ct.value,
|
|
@@ -1233,9 +1251,9 @@ const Ft = ["id"], Ht = ["xmlns", "viewBox", "id"], It = ["x", "y", "width", "he
|
|
|
1233
1251
|
}, {
|
|
1234
1252
|
item: m(({ legend: a }) => [
|
|
1235
1253
|
c("div", {
|
|
1236
|
-
onClick: (
|
|
1254
|
+
onClick: (o) => ie(a.id),
|
|
1237
1255
|
style: q(`opacity:${N.value.includes(a.id) ? 0.5 : 1}`)
|
|
1238
|
-
}, L(a.name), 13,
|
|
1256
|
+
}, L(a.name), 13, Fl)
|
|
1239
1257
|
]),
|
|
1240
1258
|
_: 1
|
|
1241
1259
|
}, 8, ["legendSet", "config"])) : x(l.$slots, "legend", {
|
|
@@ -1243,7 +1261,7 @@ const Ft = ["id"], Ht = ["xmlns", "viewBox", "id"], It = ["x", "y", "width", "he
|
|
|
1243
1261
|
legend: Ae.value
|
|
1244
1262
|
}, void 0, !0)
|
|
1245
1263
|
], 512),
|
|
1246
|
-
l.$slots.source ? (
|
|
1264
|
+
l.$slots.source ? (s(), r("div", {
|
|
1247
1265
|
key: 7,
|
|
1248
1266
|
ref_key: "source",
|
|
1249
1267
|
ref: pe,
|
|
@@ -1274,7 +1292,7 @@ const Ft = ["id"], Ht = ["xmlns", "viewBox", "id"], It = ["x", "y", "width", "he
|
|
|
1274
1292
|
x(l.$slots, "tooltip-after", E(U({ ...ve.value })), void 0, !0)
|
|
1275
1293
|
]),
|
|
1276
1294
|
default: m(() => [
|
|
1277
|
-
t.value.style.chart.tooltip.showShape ? (
|
|
1295
|
+
t.value.style.chart.tooltip.showShape ? (s(), r("svg", Hl, [
|
|
1278
1296
|
ce(Ge, {
|
|
1279
1297
|
plot: { x: 10, y: 10 },
|
|
1280
1298
|
shape: j.value.shape,
|
|
@@ -1287,7 +1305,7 @@ const Ft = ["id"], Ht = ["xmlns", "viewBox", "id"], It = ["x", "y", "width", "he
|
|
|
1287
1305
|
]),
|
|
1288
1306
|
_: 3
|
|
1289
1307
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
|
|
1290
|
-
K.value ? (
|
|
1308
|
+
K.value ? (s(), O(i(et), {
|
|
1291
1309
|
key: 8,
|
|
1292
1310
|
hideDetails: "",
|
|
1293
1311
|
config: {
|
|
@@ -1304,7 +1322,7 @@ const Ft = ["id"], Ht = ["xmlns", "viewBox", "id"], It = ["x", "y", "width", "he
|
|
|
1304
1322
|
}
|
|
1305
1323
|
}, {
|
|
1306
1324
|
content: m(() => [
|
|
1307
|
-
(
|
|
1325
|
+
(s(), O(i(Ze), {
|
|
1308
1326
|
key: `table_${xe.value}`,
|
|
1309
1327
|
colNames: ae.value.colNames,
|
|
1310
1328
|
head: ae.value.head,
|
|
@@ -1319,16 +1337,16 @@ const Ft = ["id"], Ht = ["xmlns", "viewBox", "id"], It = ["x", "y", "width", "he
|
|
|
1319
1337
|
td: m(({ td: a }) => [
|
|
1320
1338
|
c("div", {
|
|
1321
1339
|
innerHTML: a.name || a
|
|
1322
|
-
}, null, 8,
|
|
1340
|
+
}, null, 8, Il)
|
|
1323
1341
|
]),
|
|
1324
1342
|
_: 1
|
|
1325
1343
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
1326
1344
|
]),
|
|
1327
1345
|
_: 1
|
|
1328
1346
|
}, 8, ["config"])) : h("", !0)
|
|
1329
|
-
], 46,
|
|
1347
|
+
], 46, Ht));
|
|
1330
1348
|
}
|
|
1331
|
-
},
|
|
1349
|
+
}, aa = /* @__PURE__ */ Ft(El, [["__scopeId", "data-v-02521ee2"]]);
|
|
1332
1350
|
export {
|
|
1333
|
-
|
|
1351
|
+
aa as default
|
|
1334
1352
|
};
|