vue-data-ui 3.0.0-next.0 → 3.0.0-next.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +108 -67
- package/dist/{Arrow-CzFtSJ1v.js → Arrow-Dck2Ea5K.js} +1 -1
- package/dist/{BaseDraggableDialog-0S5xhs2P.js → BaseDraggableDialog-CatHZ1ns.js} +2 -2
- package/dist/{BaseIcon-DoDjTdD5.js → BaseIcon-BmZ4MREl.js} +1 -1
- package/dist/{ColorPicker-BGRchgqQ.js → ColorPicker-C1MXyD9Q.js} +2 -2
- package/dist/{DataTable-BBbOgI-a.js → DataTable-CgL0Rz0x.js} +2 -2
- package/dist/{Legend-Q4bOb-Nf.js → Legend-CYbP3Kfg.js} +12 -11
- package/dist/{NonSvgPenAndPaper-DNKRvsBB.js → NonSvgPenAndPaper-CcbcJm_U.js} +3 -3
- package/dist/{PackageVersion-D0VPY8-5.js → PackageVersion-CAkNkiIG.js} +1 -1
- package/dist/{PenAndPaper-DhBJsnob.js → PenAndPaper-Cx1-5zdD.js} +32 -32
- package/dist/{Shape-DbsLJ-SE.js → Shape-DBXkGxKt.js} +1 -1
- package/dist/{Slicer-DZEFp2GU.js → Slicer-nrMi5hzj.js} +2 -2
- package/dist/{SparkTooltip-CoOJR62O.js → SparkTooltip-fNzL4pIU.js} +1 -1
- package/dist/{Title-D29apS4l.js → Title-pVYRzQXY.js} +1 -1
- package/dist/Tooltip-NwATo4ZJ.js +157 -0
- package/dist/{UserOptions-Bdit7AWO.js → UserOptions-DAsRxxrf.js} +137 -129
- package/dist/{dom-to-png-BdPIrHOF.js → dom-to-png-BF_4H_6u.js} +1 -1
- package/dist/img-ku4zevVD.js +33 -0
- package/dist/{index-DMqAxz7R.js → index-BzfnuLnw.js} +1199 -1135
- package/dist/pdf-CguiIsUc.js +58 -0
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +1051 -217
- package/dist/types/vue-data-ui.d.ts +1051 -217
- package/dist/useLoading-Bt5Doa8m.js +28 -0
- package/dist/{useNestedProp-YgN3FV_8.js → useNestedProp-DorElw91.js} +1 -1
- package/dist/{usePrinter-COkTjv6C.js → usePrinter-C9qkgv0r.js} +2 -2
- package/dist/vue-data-ui-DQef_oFO.js +314 -0
- package/dist/vue-data-ui.js +13 -13
- package/dist/{vue-ui-3d-bar-Ojgjl20n.js → vue-ui-3d-bar-DPSamIA-.js} +261 -245
- package/dist/{vue-ui-accordion-P6eFHGQp.js → vue-ui-accordion-DgZK-qDz.js} +3 -3
- package/dist/{vue-ui-age-pyramid-IcMpAhiw.js → vue-ui-age-pyramid-DVeGKvf9.js} +233 -217
- package/dist/{vue-ui-annotator-Bk7d86-x.js → vue-ui-annotator-6ikkK-FK.js} +2 -2
- package/dist/{vue-ui-bullet-DCvWbCPk.js → vue-ui-bullet-Bg4hfFk2.js} +172 -156
- package/dist/{vue-ui-candlestick-DCf-88Yv.js → vue-ui-candlestick-Bi59FGXn.js} +271 -254
- package/dist/{vue-ui-carousel-table-DEsl0XUh.js → vue-ui-carousel-table-DitKhrFT.js} +17 -16
- package/dist/{vue-ui-chestnut-Cg10-3wu.js → vue-ui-chestnut-D8wGAZod.js} +419 -403
- package/dist/{vue-ui-chord-BWYzR6vf.js → vue-ui-chord-C-uTVCDP.js} +256 -240
- package/dist/{vue-ui-circle-pack-CO2Ra2-5.js → vue-ui-circle-pack-CPy6xcxv.js} +230 -214
- package/dist/{vue-ui-cursor-BbYHJDbV.js → vue-ui-cursor-Dd7vUd0q.js} +2 -2
- package/dist/{vue-ui-dashboard-DkCnNuse.js → vue-ui-dashboard-CKurbu8M.js} +62 -62
- package/dist/{vue-ui-digits-DRsphHt2.js → vue-ui-digits-DfdZI11G.js} +2 -2
- package/dist/{vue-ui-donut-evolution-B5F2-0bh.js → vue-ui-donut-evolution-CKbLO8yR.js} +370 -357
- package/dist/vue-ui-donut-tECBFvud.js +1532 -0
- package/dist/{vue-ui-dumbbell-DqqSxoSh.js → vue-ui-dumbbell-DI5Lj3r_.js} +216 -200
- package/dist/{vue-ui-flow-CTIcUJgV.js → vue-ui-flow-CjU48s9z.js} +217 -201
- package/dist/{vue-ui-funnel-k7KD7Xoc.js → vue-ui-funnel-DM_5vHZ4.js} +213 -197
- package/dist/{vue-ui-galaxy-C9EHaP4I.js → vue-ui-galaxy-ocvZgZJx.js} +215 -202
- package/dist/{vue-ui-gauge-CBiM_1-n.js → vue-ui-gauge-DajNoY-D.js} +220 -204
- package/dist/{vue-ui-gizmo-CAc7b2oK.js → vue-ui-gizmo-DTnzeQbm.js} +3 -3
- package/dist/{vue-ui-heatmap-B3ubrP2v.js → vue-ui-heatmap-CfBS8jQe.js} +244 -224
- package/dist/{vue-ui-history-plot-XCqccO3b.js → vue-ui-history-plot-BuOPWQoP.js} +268 -252
- package/dist/{vue-ui-kpi-DTGMDjaZ.js → vue-ui-kpi-DLGHOIRj.js} +3 -3
- package/dist/{vue-ui-mini-loader-Cn_7nvVq.js → vue-ui-mini-loader-CHAHi4c9.js} +2 -2
- package/dist/{vue-ui-molecule-BugMXFAK.js → vue-ui-molecule-R5-oDFeW.js} +204 -188
- package/dist/{vue-ui-mood-radar-Cv4dHZPL.js → vue-ui-mood-radar-Ddf2gaES.js} +206 -190
- package/dist/vue-ui-nested-donuts-CksklV83.js +1177 -0
- package/dist/{vue-ui-onion-Bha2hRAb.js → vue-ui-onion-D2n4zUkV.js} +196 -180
- package/dist/{vue-ui-parallel-coordinate-plot-DWJ2DWx4.js → vue-ui-parallel-coordinate-plot-CNWQqlxf.js} +194 -178
- package/dist/{vue-ui-quadrant-BKHZoTml.js → vue-ui-quadrant-CxNj2FEx.js} +321 -305
- package/dist/{vue-ui-quick-chart-D_k3lbU8.js → vue-ui-quick-chart-Bm_VmhJR.js} +347 -331
- package/dist/{vue-ui-radar-Co4EOjSk.js → vue-ui-radar-DSYMQJ6K.js} +193 -177
- package/dist/{vue-ui-rating-dtNN0EdX.js → vue-ui-rating-BiQpwXnc.js} +2 -2
- package/dist/{vue-ui-relation-circle-CR4UpQzM.js → vue-ui-relation-circle-Cdxe78Bm.js} +188 -172
- package/dist/{vue-ui-ridgeline-BKX97EnR.js → vue-ui-ridgeline-DpeM2hRi.js} +212 -196
- package/dist/{vue-ui-rings-EPTwyt6D.js → vue-ui-rings-BenmQHKv.js} +223 -210
- package/dist/{vue-ui-scatter-BlxzblSR.js → vue-ui-scatter-mDMY1H6U.js} +288 -273
- package/dist/{vue-ui-skeleton-CjN2ZdgT.js → vue-ui-skeleton-Ch_XkFuP.js} +3 -3
- package/dist/{vue-ui-smiley-DdF_ErYG.js → vue-ui-smiley-DTig5lTU.js} +2 -2
- package/dist/{vue-ui-spark-trend-RdOlCuT9.js → vue-ui-spark-trend-BkDsp8E0.js} +3 -3
- package/dist/{vue-ui-sparkbar-DWufRGcN.js → vue-ui-sparkbar-CgqoyBOm.js} +3 -3
- package/dist/{vue-ui-sparkgauge-IP1O3qyT.js → vue-ui-sparkgauge-B4jR_Y62.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-Cnv9xZ8H.js → vue-ui-sparkhistogram-DfxjglLy.js} +4 -4
- package/dist/{vue-ui-sparkline-CYgeD5V3.js → vue-ui-sparkline-M3QR8xJE.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-BCwoK9xd.js → vue-ui-sparkstackbar-B2Ls-Mb8.js} +3 -3
- package/dist/{vue-ui-stackbar-CqFIvfrK.js → vue-ui-stackbar-DIHkn6__.js} +497 -474
- package/dist/{vue-ui-strip-plot-Dq-kDRai.js → vue-ui-strip-plot-B_ZLbu2D.js} +241 -225
- package/dist/{vue-ui-table-vaIdQnPl.js → vue-ui-table-BhymhDOh.js} +3 -3
- package/dist/{vue-ui-table-heatmap-U_Td0cdh.js → vue-ui-table-heatmap-DokRh4dS.js} +26 -25
- package/dist/{vue-ui-table-sparkline-DkOaHx5L.js → vue-ui-table-sparkline-DxBZGKZJ.js} +8 -7
- package/dist/{vue-ui-thermometer-CzckBZgs.js → vue-ui-thermometer-e2L6IdF-.js} +170 -154
- package/dist/{vue-ui-timer-DSdUshUs.js → vue-ui-timer-BG2EwK3o.js} +5 -5
- package/dist/vue-ui-tiremarks-nzQH7woJ.js +358 -0
- package/dist/vue-ui-treemap-CZxyi6fl.js +965 -0
- package/dist/{vue-ui-vertical-bar-Dd4sYeAC.js → vue-ui-vertical-bar-DahdX1Sn.js} +382 -360
- package/dist/{vue-ui-waffle-DusUVY6y.js → vue-ui-waffle-D399D4UE.js} +234 -221
- package/dist/vue-ui-wheel-DtcwtHzJ.js +352 -0
- package/dist/{vue-ui-word-cloud-_7uYjJ5A.js → vue-ui-word-cloud-CTDceQsf.js} +249 -233
- package/dist/{vue-ui-world-COIyBHII.js → vue-ui-world-BjNSbqMZ.js} +239 -223
- package/dist/vue-ui-xy-BkTP-JpK.js +2958 -0
- package/dist/{vue-ui-xy-canvas-CuYRyub2.js → vue-ui-xy-canvas-BKAowbe0.js} +447 -431
- package/package.json +2 -2
- package/dist/Tooltip-hVZUY_s5.js +0 -149
- package/dist/img-BeMVTwmF.js +0 -20
- package/dist/pdf-DPxOdzfi.js +0 -51
- package/dist/useMouse-AicQS8Vf.js +0 -13
- package/dist/vue-data-ui-nceqWRts.js +0 -301
- package/dist/vue-ui-donut-DSE7ubVv.js +0 -1315
- package/dist/vue-ui-nested-donuts-CYe0Are_.js +0 -1154
- package/dist/vue-ui-tiremarks-B2WWklqG.js +0 -342
- package/dist/vue-ui-treemap-D1dgDhjG.js +0 -952
- package/dist/vue-ui-wheel-ClsKBh52.js +0 -336
- package/dist/vue-ui-xy-C_OUyzTC.js +0 -3135
|
@@ -1,29 +1,30 @@
|
|
|
1
|
-
import { defineAsyncComponent as
|
|
2
|
-
import { u as
|
|
3
|
-
import { t as
|
|
4
|
-
import { u as
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as
|
|
7
|
-
import { u as
|
|
8
|
-
import Pt from "./Title-
|
|
9
|
-
import
|
|
10
|
-
import { _ as
|
|
11
|
-
import
|
|
12
|
-
|
|
1
|
+
import { defineAsyncComponent as F, computed as g, ref as y, watch as Ee, shallowRef as Ue, onMounted as bt, onBeforeUnmount as ft, createElementBlock as 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-BzfnuLnw.js";
|
|
3
|
+
import { t as Nt, u as Ot } from "./useResponsive-DfdjqQps.js";
|
|
4
|
+
import { u as Ge } from "./useNestedProp-DorElw91.js";
|
|
5
|
+
import { u as Rt } from "./usePrinter-C9qkgv0r.js";
|
|
6
|
+
import { u as Vt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
7
|
+
import { u as Bt } from "./useChartAccessibility-9icAAmYg.js";
|
|
8
|
+
import Pt from "./Title-pVYRzQXY.js";
|
|
9
|
+
import Ft from "./Legend-CYbP3Kfg.js";
|
|
10
|
+
import { _ as Qe } from "./Shape-DBXkGxKt.js";
|
|
11
|
+
import Ht from "./img-ku4zevVD.js";
|
|
12
|
+
import { _ as It } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
|
+
const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "height"], Gt = ["id"], Qt = ["stop-color"], Jt = ["stop-color"], jt = { key: 1 }, Zt = ["fill", "x", "y", "height", "width", "stroke-width", "stroke", "rx"], Kt = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], el = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], tl = { key: 2 }, ll = ["points", "fill"], al = ["points", "fill"], ul = ["points", "fill"], ol = ["points", "fill"], sl = { key: 3 }, rl = ["y", "fill", "font-size"], nl = ["x", "y", "fill", "font-size"], il = ["x", "y", "fill", "font-size"], vl = ["y", "fill", "font-size"], cl = { key: 4 }, dl = ["x", "y", "font-size", "fill"], hl = ["x", "y", "font-size", "fill"], yl = ["x", "y", "font-size", "fill"], bl = ["id", "font-size", "transform", "fill"], fl = ["id", "font-size", "transform", "fill"], pl = ["id", "font-size", "transform", "fill"], gl = { key: 5 }, ml = ["fill", "points"], xl = ["x", "y", "width", "height"], $l = ["x", "y", "width", "height"], kl = ["x", "y", "width", "height"], Ll = ["x", "y", "width", "height"], wl = {
|
|
13
14
|
key: 0,
|
|
14
15
|
style: { "pointer-events": "none" }
|
|
15
|
-
},
|
|
16
|
+
}, ql = ["x", "y", "font-size", "fill"], _l = ["x", "y", "font-size", "fill", "innerHTML"], Sl = { key: 0 }, Cl = ["x", "y", "onMouseover", "onClick"], zl = {
|
|
16
17
|
key: 8,
|
|
17
18
|
class: "vue-ui-dna"
|
|
18
|
-
},
|
|
19
|
+
}, Tl = ["points", "fill"], Xl = ["points", "fill"], Wl = ["points", "fill"], Yl = ["points", "fill"], Al = { key: 9 }, Ml = ["x", "y", "font-size", "fill", "font-weight"], Nl = { key: 10 }, Ol = ["x", "y", "fill"], Rl = ["x", "y", "fill"], Vl = ["x", "y", "fill"], Bl = ["x", "y", "fill"], Pl = ["stroke", "d"], Fl = ["stroke", "d"], Hl = {
|
|
19
20
|
key: 5,
|
|
20
21
|
class: "vue-data-ui-watermark"
|
|
21
|
-
},
|
|
22
|
+
}, Il = ["onClick"], El = {
|
|
22
23
|
key: 0,
|
|
23
24
|
height: "14",
|
|
24
25
|
width: "14",
|
|
25
26
|
viewBox: "0 0 20 20"
|
|
26
|
-
},
|
|
27
|
+
}, Ul = ["innerHTML"], Dl = {
|
|
27
28
|
__name: "vue-ui-quadrant",
|
|
28
29
|
props: {
|
|
29
30
|
config: {
|
|
@@ -40,45 +41,45 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
40
41
|
}
|
|
41
42
|
},
|
|
42
43
|
emits: ["selectPlot", "selectSide", "selectLegend"],
|
|
43
|
-
setup(
|
|
44
|
-
const
|
|
44
|
+
setup(Je, { expose: je, emit: Ze }) {
|
|
45
|
+
const Ke = F(() => import("./DataTable-CgL0Rz0x.js")), et = F(() => import("./PenAndPaper-Cx1-5zdD.js")), tt = F(() => import("./vue-ui-accordion-DgZK-qDz.js")), lt = F(() => import("./vue-ui-skeleton-Ch_XkFuP.js")), at = F(() => import("./Tooltip-NwATo4ZJ.js")), ut = F(() => import("./UserOptions-DAsRxxrf.js")), ot = F(() => import("./PackageVersion-CAkNkiIG.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({
|
|
45
46
|
get: () => qe(),
|
|
46
47
|
set: (l) => l
|
|
47
|
-
}), { userOptionsVisible: ne, setUserOptionsVisibility: ke, keepUserOptionState: Le } =
|
|
48
|
+
}), { userOptionsVisible: ne, setUserOptionsVisibility: ke, keepUserOptionState: Le } = Vt({ config: t.value }), { svgRef: we } = Bt({ config: t.value.style.chart.title });
|
|
48
49
|
function qe() {
|
|
49
|
-
const l =
|
|
50
|
+
const l = Ge({
|
|
50
51
|
userConfig: X.config,
|
|
51
|
-
defaultConfig:
|
|
52
|
+
defaultConfig: st
|
|
52
53
|
});
|
|
53
54
|
return l.theme ? {
|
|
54
|
-
...
|
|
55
|
-
userConfig:
|
|
55
|
+
...Ge({
|
|
56
|
+
userConfig: kt.vue_ui_quadrant[l.theme] || X.config,
|
|
56
57
|
defaultConfig: l
|
|
57
58
|
}),
|
|
58
|
-
customPalette:
|
|
59
|
+
customPalette: $t[l.theme] || he
|
|
59
60
|
} : l;
|
|
60
61
|
}
|
|
61
|
-
|
|
62
|
+
Ee(() => X.config, (l) => {
|
|
62
63
|
t.value = qe(), ne.value = !t.value.userOptions.showOnChartHover, _e(), me.value += 1, xe.value += 1, $e.value += 1, $.value.plotLabels.show = t.value.style.chart.layout.labels.plotLabels.show, $.value.showTable = t.value.table.show, $.value.showTooltip = t.value.style.chart.tooltip.show;
|
|
63
64
|
}, { deep: !0 });
|
|
64
|
-
const
|
|
65
|
+
const M = Ue(null), H = Ue(null);
|
|
65
66
|
function _e() {
|
|
66
|
-
if (
|
|
67
|
+
if (Lt(X.dataset) ? G({
|
|
67
68
|
componentName: "VueUiQuadrant",
|
|
68
69
|
type: "dataset"
|
|
69
70
|
}) : X.dataset.forEach((l, u) => {
|
|
70
|
-
[null, void 0].includes(l.name) &&
|
|
71
|
+
[null, void 0].includes(l.name) && G({
|
|
71
72
|
componentName: "VueUiQuadrant",
|
|
72
73
|
type: "datasetSerieAttribute",
|
|
73
74
|
property: "name",
|
|
74
75
|
index: u
|
|
75
|
-
}), [null, void 0].includes(l.series) ?
|
|
76
|
+
}), [null, void 0].includes(l.series) ? G({
|
|
76
77
|
componentName: "VueUiQuadrant",
|
|
77
78
|
type: "datasetSerieAttribute",
|
|
78
79
|
property: "series",
|
|
79
80
|
index: u
|
|
80
81
|
}) : l.series.forEach((a, o) => {
|
|
81
|
-
[null, void 0].includes(a.name) &&
|
|
82
|
+
[null, void 0].includes(a.name) && G({
|
|
82
83
|
componentName: "VueUiQuadrant",
|
|
83
84
|
type: "datasetSerieAttribute",
|
|
84
85
|
property: "name",
|
|
@@ -87,9 +88,9 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
87
88
|
});
|
|
88
89
|
});
|
|
89
90
|
}), t.value.responsive) {
|
|
90
|
-
const l =
|
|
91
|
-
const { width: u, height: a } =
|
|
92
|
-
chart:
|
|
91
|
+
const l = Nt(() => {
|
|
92
|
+
const { width: u, height: a } = Ot({
|
|
93
|
+
chart: A.value,
|
|
93
94
|
title: t.value.style.chart.title.text ? be.value : null,
|
|
94
95
|
legend: t.value.style.chart.legend.show ? fe.value : null,
|
|
95
96
|
source: pe.value,
|
|
@@ -99,19 +100,19 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
99
100
|
e.value.height = a, e.value.usableHeight = a - k.value * 2, e.value.width = u, e.value.usableWidth = u - k.value * 2, e.value.top = k.value, e.value.left = k.value, e.value.right = u - k.value, e.value.bottom = a - k.value, e.value.centerX = u / 2, e.value.centerY = a - a / 2, e.value.padding = k.value;
|
|
100
101
|
});
|
|
101
102
|
});
|
|
102
|
-
|
|
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);
|
|
103
104
|
}
|
|
104
105
|
}
|
|
105
|
-
|
|
106
|
+
bt(() => {
|
|
106
107
|
_e();
|
|
107
|
-
}),
|
|
108
|
-
|
|
108
|
+
}), ft(() => {
|
|
109
|
+
M.value && (H.value && M.value.unobserve(H.value), M.value.disconnect());
|
|
109
110
|
});
|
|
110
|
-
const { isPrinting: Se, isImaging: Ce, generatePdf: ze, generateImage: Te } =
|
|
111
|
+
const { isPrinting: Se, isImaging: Ce, generatePdf: ze, generateImage: Te } = Rt({
|
|
111
112
|
elementId: `vue-ui-quadrant_${z.value}`,
|
|
112
113
|
fileName: t.value.style.chart.title.text || "vue-ui-quadrant",
|
|
113
114
|
options: t.value.userOptions.print
|
|
114
|
-
}),
|
|
115
|
+
}), nt = g(() => t.value.userOptions.show && !t.value.style.chart.title.text), Xe = g(() => wt(t.value.customPalette)), $ = y({
|
|
115
116
|
plotLabels: {
|
|
116
117
|
show: t.value.style.chart.layout.labels.plotLabels.show
|
|
117
118
|
},
|
|
@@ -134,15 +135,15 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
134
135
|
startX: 0,
|
|
135
136
|
startY: 0
|
|
136
137
|
});
|
|
137
|
-
|
|
138
|
+
Ee(() => e.value, (l) => {
|
|
138
139
|
l && (v.value = {
|
|
139
140
|
...JSON.parse(JSON.stringify(e.value)),
|
|
140
141
|
startX: 0,
|
|
141
142
|
startY: 0
|
|
142
143
|
});
|
|
143
144
|
}, { deep: !0 });
|
|
144
|
-
const
|
|
145
|
-
switch (
|
|
145
|
+
const c = y(null), P = g(() => {
|
|
146
|
+
switch (c.value) {
|
|
146
147
|
case "TL":
|
|
147
148
|
return {
|
|
148
149
|
x: v.value.startX + v.value.width / 2,
|
|
@@ -182,9 +183,9 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
182
183
|
default:
|
|
183
184
|
return { x: 0, y: 0, text: "", fontSize: 0, fill: "none", bold: !1 };
|
|
184
185
|
}
|
|
185
|
-
}),
|
|
186
|
-
function Q({ targetX: l, targetY: u, targetW: a, targetH: o, side:
|
|
187
|
-
|
|
186
|
+
}), it = y(null), te = y(!1);
|
|
187
|
+
function Q({ targetX: l, targetY: u, targetW: a, targetH: o, side: r }) {
|
|
188
|
+
c.value && Z(r);
|
|
188
189
|
const b = {
|
|
189
190
|
x: l - v.value.startX,
|
|
190
191
|
y: u - v.value.startY,
|
|
@@ -192,22 +193,22 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
192
193
|
h: o - v.value.height
|
|
193
194
|
}, p = t.value.zoomAnimationFrames;
|
|
194
195
|
let W = 0;
|
|
195
|
-
function
|
|
196
|
-
te.value = !0, v.value.startX += b.x / p, v.value.startY += b.y / p, v.value.width += b.w / p, v.value.height += b.h / p, W += 1, W < p ?
|
|
196
|
+
function Ie() {
|
|
197
|
+
te.value = !0, v.value.startX += b.x / p, v.value.startY += b.y / p, v.value.width += b.w / p, v.value.height += b.h / p, W += 1, W < p ? it.value = requestAnimationFrame(Ie) : te.value = !1;
|
|
197
198
|
}
|
|
198
|
-
|
|
199
|
+
Ie();
|
|
199
200
|
}
|
|
200
|
-
function
|
|
201
|
+
function N(l) {
|
|
201
202
|
if (!te.value)
|
|
202
|
-
if (f.value &&
|
|
203
|
+
if (f.value && c.value === l)
|
|
203
204
|
Q({
|
|
204
205
|
targetX: 0,
|
|
205
206
|
targetY: 0,
|
|
206
207
|
targetW: e.value.width,
|
|
207
208
|
targetH: e.value.height
|
|
208
|
-
}),
|
|
209
|
+
}), c.value = null, f.value = !1;
|
|
209
210
|
else {
|
|
210
|
-
switch (
|
|
211
|
+
switch (c.value = l, l) {
|
|
211
212
|
case "TL":
|
|
212
213
|
Q({
|
|
213
214
|
targetX: 0,
|
|
@@ -251,20 +252,20 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
251
252
|
f.value = !0;
|
|
252
253
|
}
|
|
253
254
|
}
|
|
254
|
-
const
|
|
255
|
+
const vt = g(() => {
|
|
255
256
|
const l = t.value.style.chart.layout.grid.graduations.steps, u = e.value.usableWidth / (l * 2), a = e.value.top, o = [];
|
|
256
|
-
for (let
|
|
257
|
+
for (let r = 0; r < l; r += 1)
|
|
257
258
|
o.push({
|
|
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((
|
|
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)
|
|
263
264
|
});
|
|
264
265
|
return o;
|
|
265
266
|
}), _ = g(() => {
|
|
266
267
|
let l = t.value.style.chart.layout.grid.xAxis.max, u = t.value.style.chart.layout.grid.xAxis.min, a = t.value.style.chart.layout.grid.yAxis.max, o = t.value.style.chart.layout.grid.yAxis.min;
|
|
267
|
-
return t.value.style.chart.layout.grid.xAxis.auto && (l = Math.max(...
|
|
268
|
+
return t.value.style.chart.layout.grid.xAxis.auto && (l = Math.max(...I.value.flatMap((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)))), {
|
|
268
269
|
x: {
|
|
269
270
|
max: l,
|
|
270
271
|
min: u
|
|
@@ -274,15 +275,15 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
274
275
|
min: o
|
|
275
276
|
}
|
|
276
277
|
};
|
|
277
|
-
}),
|
|
278
|
+
}), O = y([]), I = g(() => X.dataset.map((l, u) => ({
|
|
278
279
|
...l,
|
|
279
|
-
series:
|
|
280
|
+
series: _t({
|
|
280
281
|
data: l.series,
|
|
281
282
|
threshold: t.value.downsample.threshold
|
|
282
283
|
}),
|
|
283
284
|
id: `cat_${u}_${z.value}`,
|
|
284
|
-
color:
|
|
285
|
-
}))),
|
|
285
|
+
color: qt(l.color) || Xe.value[u] || he[u]
|
|
286
|
+
}))), ct = g(() => I.value.filter((l) => !O.value.includes(l.id))), dt = g(() => I.value.map((l, u) => ({
|
|
286
287
|
...l,
|
|
287
288
|
shape: l.shape || "circle",
|
|
288
289
|
series: l.series.map((a) => ({
|
|
@@ -298,13 +299,13 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
298
299
|
}))
|
|
299
300
|
}))), C = g(() => (X.dataset.forEach((l, u) => {
|
|
300
301
|
l.series.forEach((a, o) => {
|
|
301
|
-
[null, void 0].includes(a.x) &&
|
|
302
|
+
[null, void 0].includes(a.x) && G({
|
|
302
303
|
componentName: "VueUiQuadrant",
|
|
303
304
|
type: "datasetSerieAttribute",
|
|
304
305
|
property: "x",
|
|
305
306
|
key: "series",
|
|
306
307
|
index: o
|
|
307
|
-
}), [null, void 0].includes(a.y) &&
|
|
308
|
+
}), [null, void 0].includes(a.y) && G({
|
|
308
309
|
componentName: "VueUiQuadrant",
|
|
309
310
|
type: "datasetSerieAttribute",
|
|
310
311
|
property: "y",
|
|
@@ -312,7 +313,7 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
312
313
|
index: o
|
|
313
314
|
});
|
|
314
315
|
});
|
|
315
|
-
}),
|
|
316
|
+
}), ct.value.map((l, u) => ({
|
|
316
317
|
...l,
|
|
317
318
|
shape: l.shape || "circle",
|
|
318
319
|
color: l.color || Xe.value[u] || he[u],
|
|
@@ -326,7 +327,7 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
326
327
|
categoryName: l.name,
|
|
327
328
|
shape: l.shape,
|
|
328
329
|
color: l.color,
|
|
329
|
-
uid:
|
|
330
|
+
uid: De()
|
|
330
331
|
}))
|
|
331
332
|
}))));
|
|
332
333
|
function We(l) {
|
|
@@ -357,11 +358,11 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
357
358
|
sideName: t.value.style.chart.layout.labels.quadrantLabels[W.quadrantSide].text,
|
|
358
359
|
color: p.color,
|
|
359
360
|
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],
|
|
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) => ({
|
|
361
362
|
shape: p.shape,
|
|
362
363
|
color: p.color
|
|
363
364
|
}));
|
|
364
|
-
return { head: o, body:
|
|
365
|
+
return { head: o, body: r, itsShapes: b, tableData: l };
|
|
365
366
|
}), ae = g(() => {
|
|
366
367
|
const l = le.value.head, u = le.value.tableData.map((o) => [
|
|
367
368
|
{
|
|
@@ -370,18 +371,18 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
370
371
|
name: o.category
|
|
371
372
|
},
|
|
372
373
|
o.name,
|
|
373
|
-
|
|
374
|
+
V(
|
|
374
375
|
t.value.style.chart.layout.labels.plotLabels.x.formatter,
|
|
375
376
|
o.x,
|
|
376
|
-
|
|
377
|
+
B({
|
|
377
378
|
v: o.x,
|
|
378
379
|
r: t.value.style.chart.layout.labels.plotLabels.rounding
|
|
379
380
|
})
|
|
380
381
|
),
|
|
381
|
-
|
|
382
|
+
V(
|
|
382
383
|
t.value.style.chart.layout.labels.plotLabels.y.formatter,
|
|
383
384
|
o.y,
|
|
384
|
-
|
|
385
|
+
B({
|
|
385
386
|
v: o.y,
|
|
386
387
|
r: t.value.style.chart.layout.labels.plotLabels.rounding
|
|
387
388
|
})
|
|
@@ -403,7 +404,7 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
403
404
|
return { head: l, body: u, config: a, colNames: l };
|
|
404
405
|
});
|
|
405
406
|
function ie(l) {
|
|
406
|
-
|
|
407
|
+
O.value.includes(l) ? O.value = O.value.filter((a) => a !== l) : O.value.push(l);
|
|
407
408
|
const u = Re();
|
|
408
409
|
se("selectLegend", u);
|
|
409
410
|
}
|
|
@@ -412,10 +413,10 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
412
413
|
shape: l.shape,
|
|
413
414
|
color: l.color,
|
|
414
415
|
id: l.id,
|
|
415
|
-
opacity:
|
|
416
|
+
opacity: O.value.includes(l.id) ? 0.5 : 1,
|
|
416
417
|
segregate: () => ie(l.id),
|
|
417
|
-
isSegregated:
|
|
418
|
-
}))),
|
|
418
|
+
isSegregated: O.value.includes(l.id)
|
|
419
|
+
}))), ht = g(() => ({
|
|
419
420
|
cy: "quadrant-div-legend",
|
|
420
421
|
backgroundColor: t.value.style.chart.legend.backgroundColor,
|
|
421
422
|
color: t.value.style.chart.legend.color,
|
|
@@ -449,7 +450,7 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
449
450
|
config: t.value
|
|
450
451
|
}, ee.value = !0;
|
|
451
452
|
const o = t.value.style.chart.tooltip.customFormat;
|
|
452
|
-
if (
|
|
453
|
+
if (At(o) && Mt(() => o({
|
|
453
454
|
seriesIndex: a,
|
|
454
455
|
datapoint: u,
|
|
455
456
|
series: C.value,
|
|
@@ -462,24 +463,24 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
462
463
|
config: t.value
|
|
463
464
|
});
|
|
464
465
|
else {
|
|
465
|
-
let
|
|
466
|
-
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(
|
|
467
468
|
t.value.style.chart.layout.labels.plotLabels.x.formatter,
|
|
468
469
|
u.xValue,
|
|
469
|
-
|
|
470
|
+
B({
|
|
470
471
|
v: u.xValue,
|
|
471
472
|
r: t.value.style.chart.tooltip.roundingValue
|
|
472
473
|
}),
|
|
473
474
|
{ datapoint: u, category: l, categoryIndex: a }
|
|
474
|
-
)}</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(
|
|
475
476
|
t.value.style.chart.layout.labels.plotLabels.y.formatter,
|
|
476
477
|
u.yValue,
|
|
477
|
-
|
|
478
|
+
B({
|
|
478
479
|
v: u.yValue,
|
|
479
480
|
r: t.value.style.chart.tooltip.roundingValue
|
|
480
481
|
}),
|
|
481
482
|
{ 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">${
|
|
483
|
+
)}</b></div>`, re.value = `<div style="text-align:left;font-size:${t.value.style.chart.tooltip.fontSize}px">${r}</div>`;
|
|
483
484
|
}
|
|
484
485
|
}
|
|
485
486
|
function Oe(l, u) {
|
|
@@ -496,11 +497,11 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
496
497
|
}
|
|
497
498
|
function Z(l) {
|
|
498
499
|
if (!l) return;
|
|
499
|
-
const u = C.value.flatMap((o) => o.series.filter((
|
|
500
|
-
category:
|
|
501
|
-
itemName:
|
|
502
|
-
x:
|
|
503
|
-
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
|
|
504
505
|
}))), a = {
|
|
505
506
|
quadrantSide: l,
|
|
506
507
|
sideName: t.value.style.chart.layout.labels.quadrantLabels[l].text,
|
|
@@ -629,68 +630,82 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
629
630
|
}));
|
|
630
631
|
}
|
|
631
632
|
function Ve(l = null) {
|
|
632
|
-
|
|
633
|
-
const u = [[t.value.style.chart.title.text], [t.value.style.chart.title.subtitle.text], [""]], a = le.value.head, o = le.value.body,
|
|
634
|
-
l ? l(b) :
|
|
633
|
+
mt(() => {
|
|
634
|
+
const u = [[t.value.style.chart.title.text], [t.value.style.chart.title.subtitle.text], [""]], a = le.value.head, o = le.value.body, r = u.concat([a]).concat(o), b = Wt(r);
|
|
635
|
+
l ? l(b) : Yt({ csvContent: b, title: t.value.style.chart.title.text || "vue-ui-quadrant" });
|
|
635
636
|
});
|
|
636
637
|
}
|
|
637
|
-
const
|
|
638
|
-
function
|
|
639
|
-
|
|
638
|
+
const E = y(!1);
|
|
639
|
+
function Be(l) {
|
|
640
|
+
E.value = l, ye.value += 1;
|
|
640
641
|
}
|
|
641
642
|
function Pe() {
|
|
642
643
|
$.value.showTable = !$.value.showTable;
|
|
643
644
|
}
|
|
644
|
-
function
|
|
645
|
+
function Fe() {
|
|
645
646
|
$.value.plotLabels.show = !$.value.plotLabels.show;
|
|
646
647
|
}
|
|
647
|
-
function
|
|
648
|
+
function He() {
|
|
648
649
|
$.value.showTooltip = !$.value.showTooltip;
|
|
649
650
|
}
|
|
650
651
|
const ue = y(!1);
|
|
651
|
-
function
|
|
652
|
+
function ce() {
|
|
652
653
|
ue.value = !ue.value;
|
|
653
654
|
}
|
|
654
|
-
|
|
655
|
+
async function yt({ scale: l = 2 } = {}) {
|
|
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
|
+
};
|
|
666
|
+
}
|
|
667
|
+
return je({
|
|
655
668
|
getData: Re,
|
|
669
|
+
getImage: yt,
|
|
656
670
|
generatePdf: ze,
|
|
657
671
|
generateCsv: Ve,
|
|
658
672
|
generateImage: Te,
|
|
659
673
|
toggleTable: Pe,
|
|
660
|
-
toggleLabels:
|
|
661
|
-
toggleTooltip:
|
|
662
|
-
toggleAnnotator:
|
|
663
|
-
|
|
664
|
-
|
|
674
|
+
toggleLabels: Fe,
|
|
675
|
+
toggleTooltip: He,
|
|
676
|
+
toggleAnnotator: ce,
|
|
677
|
+
toggleFullscreen: Be
|
|
678
|
+
}), (l, u) => (s(), n("div", {
|
|
679
|
+
class: T(`vue-ui-quadrant ${E.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${t.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
665
680
|
ref_key: "quadrantChart",
|
|
666
|
-
ref:
|
|
681
|
+
ref: A,
|
|
667
682
|
id: `vue-ui-quadrant_${z.value}`,
|
|
668
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%" : ""}`),
|
|
669
684
|
onMouseenter: u[16] || (u[16] = () => i(ke)(!0)),
|
|
670
685
|
onMouseleave: u[17] || (u[17] = () => i(ke)(!1))
|
|
671
686
|
}, [
|
|
672
|
-
t.value.userOptions.buttons.annotator ? (s(),
|
|
687
|
+
t.value.userOptions.buttons.annotator ? (s(), R(i(et), {
|
|
673
688
|
key: 0,
|
|
674
689
|
svgRef: i(we),
|
|
675
690
|
backgroundColor: t.value.style.chart.backgroundColor,
|
|
676
691
|
color: t.value.style.chart.color,
|
|
677
692
|
active: ue.value,
|
|
678
|
-
onClose:
|
|
693
|
+
onClose: ce
|
|
679
694
|
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : h("", !0),
|
|
680
|
-
|
|
695
|
+
nt.value ? (s(), n("div", {
|
|
681
696
|
key: 1,
|
|
682
697
|
ref_key: "noTitle",
|
|
683
698
|
ref: ge,
|
|
684
699
|
class: "vue-data-ui-no-title-space",
|
|
685
700
|
style: "height:36px; width: 100%;background:transparent"
|
|
686
701
|
}, null, 512)) : h("", !0),
|
|
687
|
-
t.value.style.chart.title.text ? (s(),
|
|
702
|
+
t.value.style.chart.title.text ? (s(), n("div", {
|
|
688
703
|
key: 2,
|
|
689
704
|
ref_key: "chartTitle",
|
|
690
705
|
ref: be,
|
|
691
706
|
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
692
707
|
}, [
|
|
693
|
-
(s(),
|
|
708
|
+
(s(), R(Pt, {
|
|
694
709
|
key: `table_${me.value}`,
|
|
695
710
|
config: {
|
|
696
711
|
title: {
|
|
@@ -704,9 +719,9 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
704
719
|
}
|
|
705
720
|
}, null, 8, ["config"]))
|
|
706
721
|
], 512)) : h("", !0),
|
|
707
|
-
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), {
|
|
708
723
|
ref_key: "details",
|
|
709
|
-
ref:
|
|
724
|
+
ref: rt,
|
|
710
725
|
key: `user_options_${ye.value}`,
|
|
711
726
|
backgroundColor: t.value.style.chart.backgroundColor,
|
|
712
727
|
color: t.value.style.chart.color,
|
|
@@ -720,30 +735,31 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
720
735
|
hasTable: t.value.userOptions.buttons.table,
|
|
721
736
|
hasLabel: t.value.userOptions.buttons.labels,
|
|
722
737
|
hasFullscreen: t.value.userOptions.buttons.fullscreen,
|
|
723
|
-
isFullscreen:
|
|
738
|
+
isFullscreen: E.value,
|
|
724
739
|
isTooltip: $.value.showTooltip,
|
|
725
740
|
titles: { ...t.value.userOptions.buttonTitles },
|
|
726
|
-
chartElement:
|
|
741
|
+
chartElement: A.value,
|
|
727
742
|
position: t.value.userOptions.position,
|
|
728
743
|
hasAnnotator: t.value.userOptions.buttons.annotator,
|
|
729
744
|
isAnnotation: ue.value,
|
|
730
745
|
callbacks: t.value.userOptions.callbacks,
|
|
731
|
-
|
|
746
|
+
printScale: t.value.userOptions.print.scale,
|
|
747
|
+
onToggleFullscreen: Be,
|
|
732
748
|
onGeneratePdf: i(ze),
|
|
733
749
|
onGenerateCsv: Ve,
|
|
734
750
|
onGenerateImage: i(Te),
|
|
735
751
|
onToggleTable: Pe,
|
|
736
|
-
onToggleLabels:
|
|
737
|
-
onToggleTooltip:
|
|
738
|
-
onToggleAnnotator:
|
|
752
|
+
onToggleLabels: Fe,
|
|
753
|
+
onToggleTooltip: He,
|
|
754
|
+
onToggleAnnotator: ce,
|
|
739
755
|
style: q({
|
|
740
756
|
visibility: i(Le) ? i(ne) ? "visible" : "hidden" : "visible"
|
|
741
757
|
})
|
|
742
|
-
},
|
|
758
|
+
}, pt({ _: 2 }, [
|
|
743
759
|
l.$slots.menuIcon ? {
|
|
744
760
|
name: "menuIcon",
|
|
745
761
|
fn: m(({ isOpen: a, color: o }) => [
|
|
746
|
-
x(l.$slots, "menuIcon",
|
|
762
|
+
x(l.$slots, "menuIcon", U(D({ isOpen: a, color: o })), void 0, !0)
|
|
747
763
|
]),
|
|
748
764
|
key: "0"
|
|
749
765
|
} : void 0,
|
|
@@ -792,30 +808,30 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
792
808
|
l.$slots.optionFullscreen ? {
|
|
793
809
|
name: "optionFullscreen",
|
|
794
810
|
fn: m(({ toggleFullscreen: a, isFullscreen: o }) => [
|
|
795
|
-
x(l.$slots, "optionFullscreen",
|
|
811
|
+
x(l.$slots, "optionFullscreen", U(D({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
|
|
796
812
|
]),
|
|
797
813
|
key: "7"
|
|
798
814
|
} : void 0,
|
|
799
815
|
l.$slots.optionAnnotator ? {
|
|
800
816
|
name: "optionAnnotator",
|
|
801
817
|
fn: m(({ toggleAnnotator: a, isAnnotator: o }) => [
|
|
802
|
-
x(l.$slots, "optionAnnotator",
|
|
818
|
+
x(l.$slots, "optionAnnotator", U(D({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
|
|
803
819
|
]),
|
|
804
820
|
key: "8"
|
|
805
821
|
} : void 0
|
|
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 ? (s(),
|
|
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),
|
|
823
|
+
K.value ? (s(), n("svg", {
|
|
808
824
|
key: 4,
|
|
809
825
|
ref_key: "svgRef",
|
|
810
826
|
ref: we,
|
|
811
|
-
xmlns: i(
|
|
812
|
-
class: T({ "vue-data-ui-fullscreen--on":
|
|
827
|
+
xmlns: i(St),
|
|
828
|
+
class: T({ "vue-data-ui-fullscreen--on": E.value, "vue-data-ui-fulscreen--off": !E.value }),
|
|
813
829
|
viewBox: `${v.value.startX} ${v.value.startY} ${v.value.width} ${v.value.height}`,
|
|
814
830
|
style: q(`max-width:100%;overflow:${f.value ? "hidden" : "visible"};background:transparent;color:${t.value.style.chart.color}`),
|
|
815
831
|
id: `svg_${z.value}`
|
|
816
832
|
}, [
|
|
817
|
-
|
|
818
|
-
l.$slots["chart-background"] ? (s(),
|
|
833
|
+
de(i(ot)),
|
|
834
|
+
l.$slots["chart-background"] ? (s(), n("foreignObject", {
|
|
819
835
|
key: 0,
|
|
820
836
|
x: v.value.startX,
|
|
821
837
|
y: v.value.startY,
|
|
@@ -826,9 +842,9 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
826
842
|
}
|
|
827
843
|
}, [
|
|
828
844
|
x(l.$slots, "chart-background", {}, void 0, !0)
|
|
829
|
-
], 8,
|
|
830
|
-
|
|
831
|
-
(s(!0),
|
|
845
|
+
], 8, Dt)) : h("", !0),
|
|
846
|
+
d("defs", null, [
|
|
847
|
+
(s(!0), n(S, null, Y(C.value, (a, o) => (s(), n("radialGradient", {
|
|
832
848
|
cx: "50%",
|
|
833
849
|
cy: "50%",
|
|
834
850
|
r: "50%",
|
|
@@ -836,18 +852,18 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
836
852
|
fy: "50%",
|
|
837
853
|
id: `quadrant_gradient_${z.value}_${o}`
|
|
838
854
|
}, [
|
|
839
|
-
|
|
855
|
+
d("stop", {
|
|
840
856
|
offset: "0%",
|
|
841
|
-
"stop-color": i(oe)(i(
|
|
842
|
-
}, null, 8,
|
|
843
|
-
|
|
857
|
+
"stop-color": i(oe)(i(Ct)(a.color, 0.05), t.value.style.chart.layout.areas.opacity)
|
|
858
|
+
}, null, 8, Qt),
|
|
859
|
+
d("stop", {
|
|
844
860
|
offset: "100%",
|
|
845
861
|
"stop-color": i(oe)(a.color, t.value.style.chart.layout.areas.opacity)
|
|
846
|
-
}, null, 8,
|
|
847
|
-
], 8,
|
|
862
|
+
}, null, 8, Jt)
|
|
863
|
+
], 8, Gt))), 256))
|
|
848
864
|
]),
|
|
849
|
-
t.value.style.chart.layout.grid.graduations.show ? (s(),
|
|
850
|
-
(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", {
|
|
851
867
|
fill: t.value.style.chart.layout.grid.graduations.fill ? i(oe)(t.value.style.chart.layout.grid.graduations.color, a.opacity) : "none",
|
|
852
868
|
x: a.x,
|
|
853
869
|
y: a.y,
|
|
@@ -856,48 +872,48 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
856
872
|
"stroke-width": t.value.style.chart.layout.grid.graduations.strokeWidth,
|
|
857
873
|
stroke: t.value.style.chart.layout.grid.graduations.stroke,
|
|
858
874
|
rx: t.value.style.chart.layout.grid.graduations.roundingForce
|
|
859
|
-
}, null, 8,
|
|
875
|
+
}, null, 8, Zt))), 256))
|
|
860
876
|
])) : h("", !0),
|
|
861
|
-
|
|
877
|
+
d("line", {
|
|
862
878
|
x1: e.value.left,
|
|
863
879
|
y1: e.value.centerY,
|
|
864
880
|
x2: e.value.right,
|
|
865
881
|
y2: e.value.centerY,
|
|
866
882
|
stroke: t.value.style.chart.layout.grid.stroke,
|
|
867
883
|
"stroke-width": t.value.style.chart.layout.grid.strokeWidth
|
|
868
|
-
}, null, 8,
|
|
869
|
-
|
|
884
|
+
}, null, 8, Kt),
|
|
885
|
+
d("line", {
|
|
870
886
|
x1: e.value.centerX,
|
|
871
887
|
y1: e.value.top,
|
|
872
888
|
x2: e.value.centerX,
|
|
873
889
|
y2: e.value.bottom,
|
|
874
890
|
stroke: t.value.style.chart.layout.grid.stroke,
|
|
875
891
|
"stroke-width": t.value.style.chart.layout.grid.strokeWidth
|
|
876
|
-
}, null, 8,
|
|
877
|
-
t.value.style.chart.layout.grid.showArrows ? (s(),
|
|
878
|
-
|
|
892
|
+
}, null, 8, el),
|
|
893
|
+
t.value.style.chart.layout.grid.showArrows ? (s(), n("g", tl, [
|
|
894
|
+
d("polygon", {
|
|
879
895
|
points: `${e.value.right - 8},${e.value.centerY - 6} ${e.value.right},${e.value.centerY} ${e.value.right - 8},${e.value.centerY + 6}`,
|
|
880
896
|
fill: t.value.style.chart.layout.grid.stroke,
|
|
881
897
|
stroke: "none"
|
|
882
|
-
}, null, 8,
|
|
883
|
-
|
|
898
|
+
}, null, 8, ll),
|
|
899
|
+
d("polygon", {
|
|
884
900
|
points: `${e.value.left + 8},${e.value.centerY - 6} ${e.value.left},${e.value.centerY} ${e.value.left + 8},${e.value.centerY + 6}`,
|
|
885
901
|
fill: t.value.style.chart.layout.grid.stroke,
|
|
886
902
|
stroke: "none"
|
|
887
|
-
}, null, 8,
|
|
888
|
-
|
|
903
|
+
}, null, 8, al),
|
|
904
|
+
d("polygon", {
|
|
889
905
|
points: `${e.value.centerX - 6},${e.value.top + 8} ${e.value.centerX},${e.value.top} ${e.value.centerX + 6},${e.value.top + 8}`,
|
|
890
906
|
fill: t.value.style.chart.layout.grid.stroke,
|
|
891
907
|
stroke: "none"
|
|
892
|
-
}, null, 8,
|
|
893
|
-
|
|
908
|
+
}, null, 8, ul),
|
|
909
|
+
d("polygon", {
|
|
894
910
|
points: `${e.value.centerX - 6},${e.value.bottom - 8} ${e.value.centerX},${e.value.bottom} ${e.value.centerX + 6},${e.value.bottom - 8}`,
|
|
895
911
|
fill: t.value.style.chart.layout.grid.stroke,
|
|
896
912
|
stroke: "none"
|
|
897
|
-
}, null, 8,
|
|
913
|
+
}, null, 8, ol)
|
|
898
914
|
])) : h("", !0),
|
|
899
|
-
t.value.style.chart.layout.labels.quadrantLabels.show && !f.value ? (s(),
|
|
900
|
-
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", {
|
|
901
917
|
key: 0,
|
|
902
918
|
x: 0,
|
|
903
919
|
y: e.value.top - e.value.padding / 2,
|
|
@@ -906,8 +922,8 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
906
922
|
"font-size": t.value.style.chart.layout.labels.quadrantLabels.tl.fontSize,
|
|
907
923
|
style: q(`font-weight:${t.value.style.chart.layout.labels.quadrantLabels.tl.bold ? "bold" : ""}`),
|
|
908
924
|
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 ? (s(),
|
|
925
|
+
}, L(t.value.style.chart.layout.labels.quadrantLabels.tl.text), 13, rl)) : h("", !0),
|
|
926
|
+
t.value.style.chart.layout.labels.quadrantLabels.tr.text ? (s(), n("text", {
|
|
911
927
|
key: 1,
|
|
912
928
|
x: e.value.width,
|
|
913
929
|
y: e.value.top - e.value.padding / 2,
|
|
@@ -916,8 +932,8 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
916
932
|
"font-size": t.value.style.chart.layout.labels.quadrantLabels.tr.fontSize,
|
|
917
933
|
style: q(`font-weight:${t.value.style.chart.layout.labels.quadrantLabels.tr.bold ? "bold" : ""}`),
|
|
918
934
|
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 ? (s(),
|
|
935
|
+
}, L(t.value.style.chart.layout.labels.quadrantLabels.tr.text), 13, nl)) : h("", !0),
|
|
936
|
+
t.value.style.chart.layout.labels.quadrantLabels.br.text ? (s(), n("text", {
|
|
921
937
|
key: 2,
|
|
922
938
|
x: e.value.width,
|
|
923
939
|
y: e.value.bottom + e.value.padding * 0.7,
|
|
@@ -926,8 +942,8 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
926
942
|
"font-size": t.value.style.chart.layout.labels.quadrantLabels.br.fontSize,
|
|
927
943
|
style: q(`font-weight:${t.value.style.chart.layout.labels.quadrantLabels.br.bold ? "bold" : ""}`),
|
|
928
944
|
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 ? (s(),
|
|
945
|
+
}, L(t.value.style.chart.layout.labels.quadrantLabels.br.text), 13, il)) : h("", !0),
|
|
946
|
+
t.value.style.chart.layout.labels.quadrantLabels.bl.text ? (s(), n("text", {
|
|
931
947
|
key: 3,
|
|
932
948
|
x: 0,
|
|
933
949
|
y: e.value.bottom + e.value.padding * 0.7,
|
|
@@ -936,292 +952,292 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
936
952
|
"font-size": t.value.style.chart.layout.labels.quadrantLabels.bl.fontSize,
|
|
937
953
|
style: q(`font-weight:${t.value.style.chart.layout.labels.quadrantLabels.bl.bold ? "bold" : ""}`),
|
|
938
954
|
onClick: u[3] || (u[3] = (a) => Z("bl"))
|
|
939
|
-
}, L(t.value.style.chart.layout.labels.quadrantLabels.bl.text), 13,
|
|
955
|
+
}, L(t.value.style.chart.layout.labels.quadrantLabels.bl.text), 13, vl)) : h("", !0)
|
|
940
956
|
])) : h("", !0),
|
|
941
|
-
t.value.style.chart.layout.labels.axisLabels.show ? (s(),
|
|
942
|
-
|
|
957
|
+
t.value.style.chart.layout.labels.axisLabels.show ? (s(), n("g", cl, [
|
|
958
|
+
d("text", {
|
|
943
959
|
x: e.value.centerX,
|
|
944
960
|
y: e.value.top - e.value.padding / 6,
|
|
945
961
|
"text-anchor": "middle",
|
|
946
962
|
"font-size": t.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
947
963
|
fill: t.value.style.chart.layout.labels.axisLabels.color.positive
|
|
948
|
-
}, L(i(
|
|
964
|
+
}, L(i(V)(
|
|
949
965
|
t.value.style.chart.layout.labels.plotLabels.y.formatter,
|
|
950
966
|
_.value.y.max,
|
|
951
|
-
i(
|
|
967
|
+
i(B)({
|
|
952
968
|
v: _.value.y.max,
|
|
953
969
|
r: t.value.style.chart.layout.labels.plotLabels.rounding
|
|
954
970
|
})
|
|
955
|
-
)), 9,
|
|
956
|
-
|
|
971
|
+
)), 9, dl),
|
|
972
|
+
d("text", {
|
|
957
973
|
x: e.value.centerX,
|
|
958
974
|
y: e.value.top - e.value.padding / 2,
|
|
959
975
|
"text-anchor": "middle",
|
|
960
976
|
"font-size": t.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
961
977
|
fill: t.value.style.chart.layout.labels.axisLabels.color.positive
|
|
962
|
-
}, L(t.value.style.chart.layout.grid.yAxis.name), 9,
|
|
963
|
-
|
|
978
|
+
}, L(t.value.style.chart.layout.grid.yAxis.name), 9, hl),
|
|
979
|
+
d("text", {
|
|
964
980
|
x: e.value.centerX,
|
|
965
981
|
y: e.value.bottom + e.value.padding * 0.35,
|
|
966
982
|
"text-anchor": "middle",
|
|
967
983
|
"font-size": t.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
968
984
|
fill: t.value.style.chart.layout.labels.axisLabels.color.negative
|
|
969
|
-
}, L(i(
|
|
985
|
+
}, L(i(V)(
|
|
970
986
|
t.value.style.chart.layout.labels.plotLabels.y.formatter,
|
|
971
987
|
_.value.y.min,
|
|
972
|
-
i(
|
|
988
|
+
i(B)({
|
|
973
989
|
v: _.value.y.min,
|
|
974
990
|
r: t.value.style.chart.layout.labels.plotLabels.rounding
|
|
975
991
|
})
|
|
976
|
-
)), 9,
|
|
977
|
-
|
|
992
|
+
)), 9, yl),
|
|
993
|
+
d("text", {
|
|
978
994
|
id: `xLabelMin_${z.value}`,
|
|
979
995
|
"text-anchor": "middle",
|
|
980
996
|
"font-size": t.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
981
997
|
transform: `translate(${e.value.padding - t.value.style.chart.layout.labels.axisLabels.fontSize}, ${e.value.height / 2}), rotate(-90)`,
|
|
982
998
|
fill: t.value.style.chart.layout.labels.axisLabels.color.negative
|
|
983
|
-
}, L(i(
|
|
999
|
+
}, L(i(V)(
|
|
984
1000
|
t.value.style.chart.layout.labels.plotLabels.x.formatter,
|
|
985
1001
|
_.value.x.min,
|
|
986
|
-
i(
|
|
1002
|
+
i(B)({
|
|
987
1003
|
v: _.value.x.min,
|
|
988
1004
|
r: t.value.style.chart.layout.labels.plotLabels.rounding
|
|
989
1005
|
})
|
|
990
|
-
)), 9,
|
|
991
|
-
|
|
1006
|
+
)), 9, bl),
|
|
1007
|
+
d("text", {
|
|
992
1008
|
id: `xLabelMax_${z.value}`,
|
|
993
1009
|
"text-anchor": "middle",
|
|
994
1010
|
"font-size": t.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
995
1011
|
transform: `translate(${e.value.width - e.value.padding + t.value.style.chart.layout.labels.axisLabels.fontSize}, ${e.value.height / 2}), rotate(90)`,
|
|
996
1012
|
fill: t.value.style.chart.layout.labels.axisLabels.color.positive
|
|
997
|
-
}, L(i(
|
|
1013
|
+
}, L(i(V)(
|
|
998
1014
|
t.value.style.chart.layout.labels.plotLabels.x.formatter,
|
|
999
1015
|
_.value.x.max,
|
|
1000
|
-
i(
|
|
1016
|
+
i(B)({
|
|
1001
1017
|
v: _.value.x.max,
|
|
1002
1018
|
r: t.value.style.chart.layout.labels.plotLabels.rounding
|
|
1003
1019
|
})
|
|
1004
|
-
)), 9,
|
|
1005
|
-
|
|
1020
|
+
)), 9, fl),
|
|
1021
|
+
d("text", {
|
|
1006
1022
|
id: `xLabelMaxName_${z.value}`,
|
|
1007
1023
|
"text-anchor": "middle",
|
|
1008
1024
|
"font-size": t.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
1009
1025
|
transform: `translate(${e.value.width - t.value.style.chart.layout.labels.axisLabels.fontSize}, ${e.value.height / 2}), rotate(90)`,
|
|
1010
1026
|
fill: t.value.style.chart.layout.labels.axisLabels.color.positive
|
|
1011
|
-
}, L(t.value.style.chart.layout.grid.xAxis.name), 9,
|
|
1027
|
+
}, L(t.value.style.chart.layout.grid.xAxis.name), 9, pl)
|
|
1012
1028
|
])) : h("", !0),
|
|
1013
|
-
t.value.style.chart.layout.areas.show ? (s(),
|
|
1014
|
-
(s(!0),
|
|
1015
|
-
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", {
|
|
1016
1032
|
key: 0,
|
|
1017
1033
|
"data-cy-quadrant-area": "",
|
|
1018
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),
|
|
1019
|
-
points: i(
|
|
1020
|
-
}, null, 8,
|
|
1035
|
+
points: i(zt)(a)
|
|
1036
|
+
}, null, 8, ml)) : h("", !0)
|
|
1021
1037
|
]))), 256))
|
|
1022
1038
|
])) : h("", !0),
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
onClick: u[4] || (u[4] = (a) =>
|
|
1039
|
+
d("g", null, [
|
|
1040
|
+
d("rect", {
|
|
1041
|
+
onClick: u[4] || (u[4] = (a) => N("TL")),
|
|
1026
1042
|
x: e.value.left,
|
|
1027
1043
|
y: e.value.top,
|
|
1028
1044
|
width: e.value.usableWidth / 2 <= 0 ? 1e-3 : e.value.usableWidth / 2,
|
|
1029
1045
|
height: e.value.usableHeight / 2 <= 0 ? 1e-3 : e.value.usableHeight / 2,
|
|
1030
1046
|
fill: "transparent",
|
|
1031
1047
|
class: T({ "vue-data-ui-zoom-plus": !f.value, "vue-data-ui-zoom-minus": f.value })
|
|
1032
|
-
}, null, 10,
|
|
1033
|
-
|
|
1034
|
-
onClick: u[5] || (u[5] = (a) =>
|
|
1048
|
+
}, null, 10, xl),
|
|
1049
|
+
d("rect", {
|
|
1050
|
+
onClick: u[5] || (u[5] = (a) => N("TR")),
|
|
1035
1051
|
x: e.value.centerX,
|
|
1036
1052
|
y: e.value.top,
|
|
1037
1053
|
width: e.value.usableWidth / 2 <= 0 ? 1e-3 : e.value.usableWidth / 2,
|
|
1038
1054
|
height: e.value.usableHeight / 2 <= 0 ? 1e-3 : e.value.usableHeight / 2,
|
|
1039
1055
|
fill: "transparent",
|
|
1040
1056
|
class: T({ "vue-data-ui-zoom-plus": !f.value, "vue-data-ui-zoom-minus": f.value })
|
|
1041
|
-
}, null, 10,
|
|
1042
|
-
|
|
1043
|
-
onClick: u[6] || (u[6] = (a) =>
|
|
1057
|
+
}, null, 10, $l),
|
|
1058
|
+
d("rect", {
|
|
1059
|
+
onClick: u[6] || (u[6] = (a) => N("BR")),
|
|
1044
1060
|
x: e.value.centerX,
|
|
1045
1061
|
y: e.value.centerY,
|
|
1046
1062
|
width: e.value.usableWidth / 2 <= 0 ? 1e-3 : e.value.usableWidth / 2,
|
|
1047
1063
|
height: e.value.usableHeight / 2 <= 0 ? 1e-3 : e.value.usableHeight / 2,
|
|
1048
1064
|
fill: "transparent",
|
|
1049
1065
|
class: T({ "vue-data-ui-zoom-plus": !f.value, "vue-data-ui-zoom-minus": f.value })
|
|
1050
|
-
}, null, 10,
|
|
1051
|
-
|
|
1052
|
-
onClick: u[7] || (u[7] = (a) =>
|
|
1066
|
+
}, null, 10, kl),
|
|
1067
|
+
d("rect", {
|
|
1068
|
+
onClick: u[7] || (u[7] = (a) => N("BL")),
|
|
1053
1069
|
x: e.value.left,
|
|
1054
1070
|
y: e.value.centerY,
|
|
1055
1071
|
width: e.value.usableWidth / 2 <= 0 ? 1e-3 : e.value.usableWidth / 2,
|
|
1056
1072
|
height: e.value.usableHeight / 2 <= 0 ? 1e-3 : e.value.usableHeight / 2,
|
|
1057
1073
|
fill: "transparent",
|
|
1058
1074
|
class: T({ "vue-data-ui-zoom-plus": !f.value, "vue-data-ui-zoom-minus": f.value })
|
|
1059
|
-
}, null, 10,
|
|
1075
|
+
}, null, 10, Ll)
|
|
1060
1076
|
]),
|
|
1061
|
-
t.value.style.chart.layout.labels.plotLabels.showAsTag ? (s(),
|
|
1062
|
-
$.value.plotLabels.show ? (s(),
|
|
1063
|
-
(s(!0),
|
|
1064
|
-
(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", {
|
|
1065
1081
|
style: { overflow: "visible" },
|
|
1066
1082
|
height: "10",
|
|
1067
1083
|
width: "100",
|
|
1068
|
-
x:
|
|
1069
|
-
y:
|
|
1070
|
-
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),
|
|
1071
1087
|
onMouseleave: u[9] || (u[9] = (b) => {
|
|
1072
1088
|
ee.value = !1, J.value = null, j.value = null;
|
|
1073
1089
|
}),
|
|
1074
|
-
onClick: (b) => Oe(a,
|
|
1090
|
+
onClick: (b) => Oe(a, r)
|
|
1075
1091
|
}, [
|
|
1076
|
-
|
|
1077
|
-
style: q(`color:${i(
|
|
1078
|
-
}, L(
|
|
1079
|
-
], 40,
|
|
1092
|
+
d("div", {
|
|
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;`)
|
|
1094
|
+
}, L(r.name), 5)
|
|
1095
|
+
], 40, Cl))), 256))
|
|
1080
1096
|
], 64))), 256))
|
|
1081
1097
|
])) : h("", !0)
|
|
1082
|
-
], 64)) : (s(),
|
|
1083
|
-
(s(!0),
|
|
1084
|
-
(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, {
|
|
1085
1101
|
color: a.color,
|
|
1086
|
-
isSelected: J.value &&
|
|
1087
|
-
plot:
|
|
1102
|
+
isSelected: J.value && r.uid === J.value,
|
|
1103
|
+
plot: r,
|
|
1088
1104
|
radius: t.value.style.chart.layout.plots.radius / (f.value ? 1.5 : 1),
|
|
1089
1105
|
shape: a.shape,
|
|
1090
1106
|
stroke: t.value.style.chart.layout.plots.outline ? t.value.style.chart.layout.plots.outlineColor : "none",
|
|
1091
1107
|
strokeWidth: t.value.style.chart.layout.plots.outlineWidth,
|
|
1092
|
-
onMouseenter: (b) => Ne(a,
|
|
1108
|
+
onMouseenter: (b) => Ne(a, r, o),
|
|
1093
1109
|
onMouseleave: u[8] || (u[8] = (b) => {
|
|
1094
1110
|
ee.value = !1, J.value = null, j.value = null;
|
|
1095
1111
|
}),
|
|
1096
|
-
onClick: (b) => Oe(a,
|
|
1112
|
+
onClick: (b) => Oe(a, r)
|
|
1097
1113
|
}, null, 8, ["color", "isSelected", "plot", "radius", "shape", "stroke", "strokeWidth", "onMouseenter", "onClick"]))), 256))
|
|
1098
1114
|
]))), 256)),
|
|
1099
|
-
$.value.plotLabels.show ? (s(),
|
|
1100
|
-
(s(!0),
|
|
1101
|
-
(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, [
|
|
1102
1118
|
String(o.name).includes(`
|
|
1103
|
-
`) ? (s(),
|
|
1119
|
+
`) ? (s(), n("text", {
|
|
1104
1120
|
key: 1,
|
|
1105
1121
|
x: o.x,
|
|
1106
1122
|
y: o.y + t.value.style.chart.layout.labels.plotLabels.offsetY + t.value.style.chart.layout.plots.radius,
|
|
1107
1123
|
"text-anchor": "middle",
|
|
1108
1124
|
"font-size": t.value.style.chart.layout.labels.plotLabels.fontSize / (f.value ? 1.5 : 1),
|
|
1109
1125
|
fill: t.value.style.chart.layout.labels.plotLabels.color,
|
|
1110
|
-
innerHTML: i(
|
|
1126
|
+
innerHTML: i(Tt)({
|
|
1111
1127
|
content: String(o.name),
|
|
1112
1128
|
fontSize: t.value.style.chart.layout.labels.plotLabels.fontSize / (f.value ? 1.5 : 1),
|
|
1113
1129
|
fill: t.value.style.chart.layout.labels.plotLabels.color,
|
|
1114
1130
|
x: o.x,
|
|
1115
1131
|
y: o.y + t.value.style.chart.layout.labels.plotLabels.offsetY + t.value.style.chart.layout.plots.radius
|
|
1116
1132
|
})
|
|
1117
|
-
}, null, 8,
|
|
1133
|
+
}, null, 8, _l)) : (s(), n("text", {
|
|
1118
1134
|
key: 0,
|
|
1119
1135
|
x: o.x,
|
|
1120
1136
|
y: o.y + t.value.style.chart.layout.labels.plotLabels.offsetY + t.value.style.chart.layout.plots.radius,
|
|
1121
1137
|
"text-anchor": "middle",
|
|
1122
1138
|
"font-size": t.value.style.chart.layout.labels.plotLabels.fontSize / (f.value ? 1.5 : 1),
|
|
1123
1139
|
fill: t.value.style.chart.layout.labels.plotLabels.color
|
|
1124
|
-
}, L(o.name), 9,
|
|
1140
|
+
}, L(o.name), 9, ql))
|
|
1125
1141
|
]))), 256))
|
|
1126
1142
|
]))), 256))
|
|
1127
1143
|
])) : h("", !0)
|
|
1128
1144
|
], 64)),
|
|
1129
|
-
f.value ? (s(),
|
|
1130
|
-
|
|
1145
|
+
f.value ? (s(), n("g", zl, [
|
|
1146
|
+
c.value === "TL" ? (s(), n("polygon", {
|
|
1131
1147
|
key: 0,
|
|
1132
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}`,
|
|
1133
1149
|
fill: t.value.style.chart.backgroundColor,
|
|
1134
1150
|
style: { opacity: "1" }
|
|
1135
|
-
}, null, 8,
|
|
1136
|
-
|
|
1151
|
+
}, null, 8, Tl)) : h("", !0),
|
|
1152
|
+
c.value === "TR" ? (s(), n("polygon", {
|
|
1137
1153
|
key: 1,
|
|
1138
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}`,
|
|
1139
1155
|
fill: t.value.style.chart.backgroundColor,
|
|
1140
1156
|
style: { opacity: "1" }
|
|
1141
|
-
}, null, 8,
|
|
1142
|
-
|
|
1157
|
+
}, null, 8, Xl)) : h("", !0),
|
|
1158
|
+
c.value === "BR" ? (s(), n("polygon", {
|
|
1143
1159
|
key: 2,
|
|
1144
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}`,
|
|
1145
1161
|
fill: t.value.style.chart.backgroundColor,
|
|
1146
1162
|
style: { opacity: "1" }
|
|
1147
|
-
}, null, 8,
|
|
1148
|
-
|
|
1163
|
+
}, null, 8, Wl)) : h("", !0),
|
|
1164
|
+
c.value === "BL" ? (s(), n("polygon", {
|
|
1149
1165
|
key: 3,
|
|
1150
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}`,
|
|
1151
1167
|
fill: t.value.style.chart.backgroundColor,
|
|
1152
1168
|
style: { opacity: "1" }
|
|
1153
|
-
}, null, 8,
|
|
1169
|
+
}, null, 8, Yl)) : h("", !0)
|
|
1154
1170
|
])) : h("", !0),
|
|
1155
|
-
|
|
1156
|
-
|
|
1171
|
+
c.value && !te.value ? (s(), n("g", Al, [
|
|
1172
|
+
d("text", {
|
|
1157
1173
|
x: P.value.x,
|
|
1158
1174
|
y: P.value.y - P.value.fontSize / 1.5,
|
|
1159
1175
|
"font-size": P.value.fontSize / 1.5,
|
|
1160
1176
|
fill: P.value.fill,
|
|
1161
1177
|
"text-anchor": "middle",
|
|
1162
1178
|
"font-weight": P.value.bold ? "bold" : "normal"
|
|
1163
|
-
}, L(P.value.text), 9,
|
|
1179
|
+
}, L(P.value.text), 9, Ml)
|
|
1164
1180
|
])) : h("", !0),
|
|
1165
|
-
f.value &&
|
|
1166
|
-
|
|
1167
|
-
x: w.value[
|
|
1168
|
-
y: w.value[
|
|
1181
|
+
f.value && c.value ? (s(), n("g", Nl, [
|
|
1182
|
+
d("rect", {
|
|
1183
|
+
x: w.value[c.value].tl.x,
|
|
1184
|
+
y: w.value[c.value].tl.y,
|
|
1169
1185
|
height: "20",
|
|
1170
1186
|
width: "20",
|
|
1171
|
-
fill: w.value[
|
|
1172
|
-
style: q(`cursor: pointer; opacity: ${
|
|
1173
|
-
onClick: u[10] || (u[10] = (a) =>
|
|
1174
|
-
class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable":
|
|
1175
|
-
}, null, 14,
|
|
1176
|
-
|
|
1177
|
-
x: w.value[
|
|
1178
|
-
y: w.value[
|
|
1187
|
+
fill: w.value[c.value].tl.fill,
|
|
1188
|
+
style: q(`cursor: pointer; opacity: ${c.value === "TL" ? 1 : 0.2}`),
|
|
1189
|
+
onClick: u[10] || (u[10] = (a) => N("TL")),
|
|
1190
|
+
class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": c.value !== "TL" })
|
|
1191
|
+
}, null, 14, Ol),
|
|
1192
|
+
d("rect", {
|
|
1193
|
+
x: w.value[c.value].tr.x,
|
|
1194
|
+
y: w.value[c.value].tr.y,
|
|
1179
1195
|
height: "20",
|
|
1180
1196
|
width: "20",
|
|
1181
|
-
fill: w.value[
|
|
1182
|
-
style: q(`cursor: pointer; opacity: ${
|
|
1183
|
-
onClick: u[11] || (u[11] = (a) =>
|
|
1184
|
-
class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable":
|
|
1185
|
-
}, null, 14,
|
|
1186
|
-
|
|
1187
|
-
x: w.value[
|
|
1188
|
-
y: w.value[
|
|
1197
|
+
fill: w.value[c.value].tr.fill,
|
|
1198
|
+
style: q(`cursor: pointer; opacity: ${c.value === "TR" ? 1 : 0.2}`),
|
|
1199
|
+
onClick: u[11] || (u[11] = (a) => N("TR")),
|
|
1200
|
+
class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": c.value !== "TR" })
|
|
1201
|
+
}, null, 14, Rl),
|
|
1202
|
+
d("rect", {
|
|
1203
|
+
x: w.value[c.value].br.x,
|
|
1204
|
+
y: w.value[c.value].br.y,
|
|
1189
1205
|
height: "20",
|
|
1190
1206
|
width: "20",
|
|
1191
|
-
fill: w.value[
|
|
1192
|
-
style: q(`cursor: pointer; opacity: ${
|
|
1193
|
-
onClick: u[12] || (u[12] = (a) =>
|
|
1194
|
-
class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable":
|
|
1195
|
-
}, null, 14,
|
|
1196
|
-
|
|
1197
|
-
x: w.value[
|
|
1198
|
-
y: w.value[
|
|
1207
|
+
fill: w.value[c.value].br.fill,
|
|
1208
|
+
style: q(`cursor: pointer; opacity: ${c.value === "BR" ? 1 : 0.2}`),
|
|
1209
|
+
onClick: u[12] || (u[12] = (a) => N("BR")),
|
|
1210
|
+
class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": c.value !== "BR" })
|
|
1211
|
+
}, null, 14, Vl),
|
|
1212
|
+
d("rect", {
|
|
1213
|
+
x: w.value[c.value].bl.x,
|
|
1214
|
+
y: w.value[c.value].bl.y,
|
|
1199
1215
|
height: "20",
|
|
1200
1216
|
width: "20",
|
|
1201
|
-
fill: w.value[
|
|
1202
|
-
style: q(`cursor: pointer; opacity: ${
|
|
1203
|
-
onClick: u[13] || (u[13] = (a) =>
|
|
1204
|
-
class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable":
|
|
1205
|
-
}, null, 14,
|
|
1206
|
-
|
|
1217
|
+
fill: w.value[c.value].bl.fill,
|
|
1218
|
+
style: q(`cursor: pointer; opacity: ${c.value === "BL" ? 1 : 0.2}`),
|
|
1219
|
+
onClick: u[13] || (u[13] = (a) => N("BL")),
|
|
1220
|
+
class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": c.value !== "BL" })
|
|
1221
|
+
}, null, 14, Bl),
|
|
1222
|
+
d("path", {
|
|
1207
1223
|
class: "vue-ui-quadrant-minimap-crosshairs",
|
|
1208
1224
|
stroke: t.value.style.chart.backgroundColor,
|
|
1209
1225
|
"stroke-width": 1,
|
|
1210
|
-
d: w.value[
|
|
1211
|
-
}, null, 8,
|
|
1212
|
-
|
|
1226
|
+
d: w.value[c.value].crosshairs.horizontal
|
|
1227
|
+
}, null, 8, Pl),
|
|
1228
|
+
d("path", {
|
|
1213
1229
|
class: "vue-ui-quadrant-minimap-crosshairs",
|
|
1214
1230
|
stroke: t.value.style.chart.backgroundColor,
|
|
1215
1231
|
"stroke-width": 1,
|
|
1216
|
-
d: w.value[
|
|
1217
|
-
}, null, 8,
|
|
1232
|
+
d: w.value[c.value].crosshairs.vertical
|
|
1233
|
+
}, null, 8, Fl)
|
|
1218
1234
|
])) : h("", !0),
|
|
1219
1235
|
x(l.$slots, "svg", { svg: e.value }, void 0, !0)
|
|
1220
|
-
], 14,
|
|
1221
|
-
l.$slots.watermark ? (s(),
|
|
1222
|
-
x(l.$slots, "watermark",
|
|
1236
|
+
], 14, Ut)) : h("", !0),
|
|
1237
|
+
l.$slots.watermark ? (s(), n("div", Hl, [
|
|
1238
|
+
x(l.$slots, "watermark", U(D({ isPrinting: i(Se) || i(Ce) })), void 0, !0)
|
|
1223
1239
|
])) : h("", !0),
|
|
1224
|
-
K.value ? h("", !0) : (s(),
|
|
1240
|
+
K.value ? h("", !0) : (s(), R(i(lt), {
|
|
1225
1241
|
key: 6,
|
|
1226
1242
|
config: {
|
|
1227
1243
|
type: "quadrant",
|
|
@@ -1239,21 +1255,21 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
1239
1255
|
}
|
|
1240
1256
|
}
|
|
1241
1257
|
}, null, 8, ["config"])),
|
|
1242
|
-
|
|
1258
|
+
d("div", {
|
|
1243
1259
|
ref_key: "chartLegend",
|
|
1244
1260
|
ref: fe
|
|
1245
1261
|
}, [
|
|
1246
|
-
t.value.style.chart.legend.show ? (s(),
|
|
1262
|
+
t.value.style.chart.legend.show ? (s(), R(Ft, {
|
|
1247
1263
|
key: `legend_${$e.value}`,
|
|
1248
1264
|
legendSet: Ae.value,
|
|
1249
|
-
config:
|
|
1265
|
+
config: ht.value,
|
|
1250
1266
|
onClickMarker: u[14] || (u[14] = ({ legend: a }) => ie(a.id))
|
|
1251
1267
|
}, {
|
|
1252
1268
|
item: m(({ legend: a }) => [
|
|
1253
|
-
|
|
1269
|
+
d("div", {
|
|
1254
1270
|
onClick: (o) => ie(a.id),
|
|
1255
|
-
style: q(`opacity:${
|
|
1256
|
-
}, L(a.name), 13,
|
|
1271
|
+
style: q(`opacity:${O.value.includes(a.id) ? 0.5 : 1}`)
|
|
1272
|
+
}, L(a.name), 13, Il)
|
|
1257
1273
|
]),
|
|
1258
1274
|
_: 1
|
|
1259
1275
|
}, 8, ["legendSet", "config"])) : x(l.$slots, "legend", {
|
|
@@ -1261,7 +1277,7 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
1261
1277
|
legend: Ae.value
|
|
1262
1278
|
}, void 0, !0)
|
|
1263
1279
|
], 512),
|
|
1264
|
-
l.$slots.source ? (s(),
|
|
1280
|
+
l.$slots.source ? (s(), n("div", {
|
|
1265
1281
|
key: 7,
|
|
1266
1282
|
ref_key: "source",
|
|
1267
1283
|
ref: pe,
|
|
@@ -1269,7 +1285,7 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
1269
1285
|
}, [
|
|
1270
1286
|
x(l.$slots, "source", {}, void 0, !0)
|
|
1271
1287
|
], 512)) : h("", !0),
|
|
1272
|
-
|
|
1288
|
+
de(i(at), {
|
|
1273
1289
|
show: $.value.showTooltip && ee.value,
|
|
1274
1290
|
backgroundColor: t.value.style.chart.tooltip.backgroundColor,
|
|
1275
1291
|
color: t.value.style.chart.tooltip.color,
|
|
@@ -1280,20 +1296,20 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
1280
1296
|
backgroundOpacity: t.value.style.chart.tooltip.backgroundOpacity,
|
|
1281
1297
|
position: t.value.style.chart.tooltip.position,
|
|
1282
1298
|
offsetY: t.value.style.chart.tooltip.offsetY,
|
|
1283
|
-
parent:
|
|
1299
|
+
parent: A.value,
|
|
1284
1300
|
content: re.value,
|
|
1285
|
-
isFullscreen:
|
|
1301
|
+
isFullscreen: E.value,
|
|
1286
1302
|
isCustom: t.value.style.chart.tooltip.customFormat && typeof t.value.style.chart.tooltip.customFormat == "function"
|
|
1287
1303
|
}, {
|
|
1288
1304
|
"tooltip-before": m(() => [
|
|
1289
|
-
x(l.$slots, "tooltip-before",
|
|
1305
|
+
x(l.$slots, "tooltip-before", U(D({ ...ve.value })), void 0, !0)
|
|
1290
1306
|
]),
|
|
1291
1307
|
"tooltip-after": m(() => [
|
|
1292
|
-
x(l.$slots, "tooltip-after",
|
|
1308
|
+
x(l.$slots, "tooltip-after", U(D({ ...ve.value })), void 0, !0)
|
|
1293
1309
|
]),
|
|
1294
1310
|
default: m(() => [
|
|
1295
|
-
t.value.style.chart.tooltip.showShape ? (s(),
|
|
1296
|
-
|
|
1311
|
+
t.value.style.chart.tooltip.showShape ? (s(), n("svg", El, [
|
|
1312
|
+
de(Qe, {
|
|
1297
1313
|
plot: { x: 10, y: 10 },
|
|
1298
1314
|
shape: j.value.shape,
|
|
1299
1315
|
color: j.value.color,
|
|
@@ -1305,7 +1321,7 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
1305
1321
|
]),
|
|
1306
1322
|
_: 3
|
|
1307
1323
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
|
|
1308
|
-
K.value ? (s(),
|
|
1324
|
+
K.value ? (s(), R(i(tt), {
|
|
1309
1325
|
key: 8,
|
|
1310
1326
|
hideDetails: "",
|
|
1311
1327
|
config: {
|
|
@@ -1322,7 +1338,7 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
1322
1338
|
}
|
|
1323
1339
|
}, {
|
|
1324
1340
|
content: m(() => [
|
|
1325
|
-
(s(),
|
|
1341
|
+
(s(), R(i(Ke), {
|
|
1326
1342
|
key: `table_${xe.value}`,
|
|
1327
1343
|
colNames: ae.value.colNames,
|
|
1328
1344
|
head: ae.value.head,
|
|
@@ -1332,21 +1348,21 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
1332
1348
|
onClose: u[15] || (u[15] = (a) => $.value.showTable = !1)
|
|
1333
1349
|
}, {
|
|
1334
1350
|
th: m(({ th: a }) => [
|
|
1335
|
-
|
|
1351
|
+
gt(L(a), 1)
|
|
1336
1352
|
]),
|
|
1337
1353
|
td: m(({ td: a }) => [
|
|
1338
|
-
|
|
1354
|
+
d("div", {
|
|
1339
1355
|
innerHTML: a.name || a
|
|
1340
|
-
}, null, 8,
|
|
1356
|
+
}, null, 8, Ul)
|
|
1341
1357
|
]),
|
|
1342
1358
|
_: 1
|
|
1343
1359
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
1344
1360
|
]),
|
|
1345
1361
|
_: 1
|
|
1346
1362
|
}, 8, ["config"])) : h("", !0)
|
|
1347
|
-
], 46,
|
|
1363
|
+
], 46, Et));
|
|
1348
1364
|
}
|
|
1349
|
-
},
|
|
1365
|
+
}, sa = /* @__PURE__ */ It(Dl, [["__scopeId", "data-v-459edc04"]]);
|
|
1350
1366
|
export {
|
|
1351
|
-
|
|
1367
|
+
sa as default
|
|
1352
1368
|
};
|