vue-data-ui 3.1.3 → 3.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Arrow-DBaAWGvq.js → Arrow-BFbcF5Sq.js} +1 -1
- package/dist/{BaseDraggableDialog-BmN9jTP8.js → BaseDraggableDialog-BO4B1Kwa.js} +2 -2
- package/dist/{BaseIcon-BcOSijbz.js → BaseIcon-BQQGRQ2U.js} +1 -1
- package/dist/{ColorPicker-D1yNPt76.js → ColorPicker-d1kmGapq.js} +2 -2
- package/dist/{DataTable-Cm8Tt9PQ.js → DataTable-D6voeZvO.js} +2 -2
- package/dist/{Legend-5qvgVkrY.js → Legend-nPGcCxG_.js} +2 -2
- package/dist/{NonSvgPenAndPaper-D3QGd7vP.js → NonSvgPenAndPaper-xRGRe41H.js} +3 -3
- package/dist/{PackageVersion-0XlRFsI_.js → PackageVersion-BeStrsPr.js} +1 -1
- package/dist/{PenAndPaper-CyH7Ip2i.js → PenAndPaper-C6tiapdo.js} +3 -3
- package/dist/{Shape-DiplSMFy.js → Shape-DBVq0fdK.js} +1 -1
- package/dist/Slicer-Duqm7KZK.js +597 -0
- package/dist/{SparkTooltip-VveQSwlw.js → SparkTooltip-wNGmXZSx.js} +1 -1
- package/dist/{Title-CqYBs02Y.js → Title-ydtId0LC.js} +1 -1
- package/dist/Tooltip-oeu9knGI.js +200 -0
- package/dist/{UserOptions-ZmwlARCV.js → UserOptions-CnJxN2Vo.js} +29 -29
- package/dist/{dom-to-png-DGA4a3xT.js → dom-to-png-CMCYtLrX.js} +1 -1
- package/dist/{img-DSrvx9J6.js → img-Neec0VVb.js} +1 -1
- package/dist/{index-CaxArMHL.js → index-BkfuZCRT.js} +7 -2
- package/dist/{pdf-BG8PiGFH.js → pdf-CpQ-dqJh.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +12 -0
- package/dist/types/vue-data-ui.d.ts +12 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-DmtFf4bt.js → useAutoSizeLabelsInsideViewbox-DR2HExYc.js} +1 -1
- package/dist/{useNestedProp-tWT02_6S.js → useNestedProp-BMzw9VUz.js} +1 -1
- package/dist/{usePrinter-BYtPmEo8.js → usePrinter-CEdg3j8S.js} +2 -2
- package/dist/{vue-data-ui-DVb8r5z7.js → vue-data-ui-D5B7a84o.js} +64 -64
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-BLKyWpz7.js → vue-ui-3d-bar-C8_Qu1rf.js} +6 -6
- package/dist/{vue-ui-accordion-DUlNpLir.js → vue-ui-accordion-DFxAHGEZ.js} +3 -3
- package/dist/{vue-ui-age-pyramid-LLqbXP1m.js → vue-ui-age-pyramid-D_kTImtX.js} +43 -41
- package/dist/{vue-ui-annotator-CcYIlcKF.js → vue-ui-annotator-B1vSlzfu.js} +2 -2
- package/dist/{vue-ui-bullet-BKmts_u4.js → vue-ui-bullet-VPchh2r2.js} +7 -7
- package/dist/{vue-ui-candlestick-C9l_NpXu.js → vue-ui-candlestick-CB3bj7_-.js} +42 -40
- package/dist/{vue-ui-carousel-table-H7xS6aBC.js → vue-ui-carousel-table-CUiSyrTY.js} +4 -4
- package/dist/{vue-ui-chestnut-CAW0IOdY.js → vue-ui-chestnut-BE5ZEt1N.js} +5 -5
- package/dist/{vue-ui-chord-CK5YhCqM.js → vue-ui-chord-DVSBY9ou.js} +8 -8
- package/dist/{vue-ui-circle-pack-NLyZgTGF.js → vue-ui-circle-pack-BfDjZFaF.js} +6 -6
- package/dist/{vue-ui-cursor-CyGUrKWU.js → vue-ui-cursor-BIuc6nds.js} +2 -2
- package/dist/{vue-ui-dashboard-Cf5pvEzD.js → vue-ui-dashboard-C7xIcrvD.js} +79 -80
- package/dist/{vue-ui-digits-BZWwwp7c.js → vue-ui-digits-C3mI-0Fg.js} +2 -2
- package/dist/{vue-ui-donut-g1WHrj6G.js → vue-ui-donut-BApz1ho5.js} +52 -50
- package/dist/{vue-ui-donut-evolution-CaEYMVZj.js → vue-ui-donut-evolution-B2PJiYY9.js} +8 -8
- package/dist/{vue-ui-dumbbell-BArS1nXS.js → vue-ui-dumbbell-DQjVvBH_.js} +7 -7
- package/dist/{vue-ui-flow-BR0CB5qt.js → vue-ui-flow-COtJRNLE.js} +40 -38
- package/dist/{vue-ui-funnel-D2OCItvq.js → vue-ui-funnel-BY2qeg-m.js} +6 -6
- package/dist/{vue-ui-galaxy-qgGF1AAf.js → vue-ui-galaxy-3zec_QLi.js} +58 -56
- package/dist/{vue-ui-gauge-BIXmGyQL.js → vue-ui-gauge-CFUA5ORH.js} +8 -8
- package/dist/{vue-ui-gizmo-DHEoS051.js → vue-ui-gizmo-CUPFU8GE.js} +3 -3
- package/dist/{vue-ui-heatmap-tRzq9BnI.js → vue-ui-heatmap-DakytdCv.js} +68 -66
- package/dist/{vue-ui-history-plot-DmwHhrDk.js → vue-ui-history-plot-DnSB7au4.js} +85 -83
- package/dist/{vue-ui-kpi-C2b2R5i1.js → vue-ui-kpi-UmcKQftv.js} +3 -3
- package/dist/{vue-ui-mini-loader-Bs1Mi1tD.js → vue-ui-mini-loader-Bl8GHasa.js} +2 -2
- package/dist/{vue-ui-molecule-BsUvf2v7.js → vue-ui-molecule-BZrmSVps.js} +63 -61
- package/dist/{vue-ui-mood-radar-D3JIpVvX.js → vue-ui-mood-radar-CVM8vl5N.js} +7 -7
- package/dist/{vue-ui-nested-donuts-dJEgQXTH.js → vue-ui-nested-donuts-LTzijeVK.js} +70 -68
- package/dist/{vue-ui-onion-D8dF1DdA.js → vue-ui-onion-aHCc3r7L.js} +38 -36
- package/dist/{vue-ui-parallel-coordinate-plot-LmFsg7UA.js → vue-ui-parallel-coordinate-plot-0xXe6A-6.js} +54 -52
- package/dist/{vue-ui-quadrant-C4O8ki4N.js → vue-ui-quadrant-BlM9WNN7.js} +203 -201
- package/dist/{vue-ui-quick-chart-6bEtTQBG.js → vue-ui-quick-chart-CJ2Wdln9.js} +152 -150
- package/dist/{vue-ui-radar-CfjGWGk3.js → vue-ui-radar-Cgnooz7-.js} +121 -119
- package/dist/{vue-ui-rating-D3WSs2OD.js → vue-ui-rating-DF71ymNG.js} +2 -2
- package/dist/{vue-ui-relation-circle-DzTfi7Tf.js → vue-ui-relation-circle-DsuEL1gY.js} +7 -7
- package/dist/{vue-ui-ridgeline-NtYOJvDy.js → vue-ui-ridgeline-DxP8uxgx.js} +8 -8
- package/dist/{vue-ui-rings-CYQ4i71V.js → vue-ui-rings-C4hKgrft.js} +162 -160
- package/dist/{vue-ui-scatter-meJEHdAD.js → vue-ui-scatter-B_SzTSE5.js} +157 -155
- package/dist/{vue-ui-skeleton-BtILTxx-.js → vue-ui-skeleton-DCAlHSMV.js} +3 -3
- package/dist/{vue-ui-smiley-B5bELpYD.js → vue-ui-smiley-B_JFtrl6.js} +2 -2
- package/dist/{vue-ui-spark-trend-lixdWq_N.js → vue-ui-spark-trend-CC7q1UbE.js} +3 -3
- package/dist/{vue-ui-sparkbar-CaGPav-J.js → vue-ui-sparkbar-C2YRX4mJ.js} +3 -3
- package/dist/{vue-ui-sparkgauge-BZBGYDjs.js → vue-ui-sparkgauge-BO4c3j-8.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-Bp6KxpjH.js → vue-ui-sparkhistogram-BuGOHT9h.js} +4 -4
- package/dist/{vue-ui-sparkline-CF-EAZa6.js → vue-ui-sparkline-hOyPCIt8.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-Cj1LAYC8.js → vue-ui-sparkstackbar-DhSc-U8u.js} +36 -34
- package/dist/{vue-ui-stackbar-BrzKhqAK.js → vue-ui-stackbar-VdBWv1wm.js} +14 -12
- package/dist/{vue-ui-strip-plot-BfVVaSFn.js → vue-ui-strip-plot-CBj5ntWM.js} +58 -56
- package/dist/{vue-ui-table-CBzNgzVP.js → vue-ui-table-BItmKbvF.js} +156 -121
- package/dist/{vue-ui-table-heatmap-CKz5bA7N.js → vue-ui-table-heatmap-DziHVKba.js} +5 -5
- package/dist/{vue-ui-table-sparkline-O-Z0YH6u.js → vue-ui-table-sparkline-CpWDqm7q.js} +4 -4
- package/dist/{vue-ui-thermometer-DpNyTGNH.js → vue-ui-thermometer-CWt0q_Tu.js} +7 -7
- package/dist/{vue-ui-timer-uvshaRMI.js → vue-ui-timer-BIv2sfQA.js} +5 -5
- package/dist/{vue-ui-tiremarks-A8Akuz-q.js → vue-ui-tiremarks-BE_VWjK-.js} +6 -6
- package/dist/{vue-ui-treemap-Dvmuo3tM.js → vue-ui-treemap-2AIbDpTo.js} +41 -39
- package/dist/{vue-ui-vertical-bar-eMgRMSKN.js → vue-ui-vertical-bar-CP-XFVV5.js} +53 -51
- package/dist/{vue-ui-waffle-Cm8VfnG8.js → vue-ui-waffle-CewP8k-W.js} +67 -65
- package/dist/{vue-ui-wheel-Bhsklf_m.js → vue-ui-wheel-Ik8FoLfz.js} +6 -6
- package/dist/{vue-ui-word-cloud-C9HGLsG4.js → vue-ui-word-cloud-CEEc5ep_.js} +83 -80
- package/dist/{vue-ui-world-B_MrjwGJ.js → vue-ui-world-CuwXMI3D.js} +11 -9
- package/dist/{vue-ui-xy-DnYJw2aS.js → vue-ui-xy-Bsh2OBHp.js} +1326 -1329
- package/dist/{vue-ui-xy-canvas-C0Snw0Dz.js → vue-ui-xy-canvas-CKzjhhNg.js} +46 -44
- package/package.json +1 -1
- package/dist/Slicer-DG99wPTy.js +0 -604
- package/dist/Tooltip-CP0tVHAf.js +0 -161
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { defineAsyncComponent as
|
|
2
|
-
import { u as Xt, c as
|
|
1
|
+
import { defineAsyncComponent as F, computed as x, ref as y, toRefs as qt, watch as ge, shallowRef as tt, onMounted as St, onBeforeUnmount as Tt, createElementBlock as n, openBlock as s, unref as i, normalizeStyle as C, normalizeClass as z, createBlock as X, createCommentVNode as h, createElementVNode as d, createVNode as se, createSlots as lt, withCtx as g, renderSlot as $, normalizeProps as U, guardReactiveProps as G, Fragment as S, renderList as Y, toDisplayString as k, Teleport as zt, resolveDynamicComponent as At, mergeProps as Wt, createTextVNode as at, nextTick as ot } from "vue";
|
|
2
|
+
import { u as Xt, c as ut, t as Yt, a as Mt, p as me, b as Ot, o as Nt, f as Q, d as Bt, e as Ft, Y as Rt, k as R, i as P, X as Pt, s as re, x as Vt, Z as Dt, I as Ht, F as It, v as Et, w as Ut, y as Gt, z as Qt } from "./index-BkfuZCRT.js";
|
|
3
3
|
import { t as Jt, u as jt } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as Zt } from "./usePrinter-
|
|
5
|
-
import { u as st } from "./useNestedProp-
|
|
4
|
+
import { u as Zt } from "./usePrinter-CEdg3j8S.js";
|
|
5
|
+
import { u as st } from "./useNestedProp-BMzw9VUz.js";
|
|
6
6
|
import { u as Kt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
7
7
|
import { u as el } from "./useChartAccessibility-9icAAmYg.js";
|
|
8
|
-
import tl from "./img-
|
|
9
|
-
import ll from "./Title-
|
|
10
|
-
import { _ as rt } from "./Shape-
|
|
11
|
-
import al from "./Legend-
|
|
12
|
-
import { u as
|
|
8
|
+
import tl from "./img-Neec0VVb.js";
|
|
9
|
+
import ll from "./Title-ydtId0LC.js";
|
|
10
|
+
import { _ as rt } from "./Shape-DBVq0fdK.js";
|
|
11
|
+
import al from "./Legend-nPGcCxG_.js";
|
|
12
|
+
import { u as ol, B as ul } from "./BaseScanner-BgWxam9d.js";
|
|
13
13
|
import { _ as sl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
14
|
-
const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y", "width", "height"], cl = ["id"], dl = ["stop-color"], hl = ["stop-color"], yl = { key: 1 }, bl = ["fill", "x", "y", "height", "width", "stroke-width", "stroke", "rx"], fl = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], pl = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], gl = { key: 2 }, ml = ["points", "fill"], xl = ["points", "fill"], $l = ["points", "fill"], kl = ["points", "fill"], Ll = { key: 3 }, wl = ["y", "fill", "font-size"], _l = ["x", "y", "fill", "font-size"], Cl = ["x", "y", "fill", "font-size"], ql = ["y", "fill", "font-size"], Sl = { key: 4 },
|
|
14
|
+
const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y", "width", "height"], cl = ["id"], dl = ["stop-color"], hl = ["stop-color"], yl = { key: 1 }, bl = ["fill", "x", "y", "height", "width", "stroke-width", "stroke", "rx"], fl = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], pl = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], gl = { key: 2 }, ml = ["points", "fill"], xl = ["points", "fill"], $l = ["points", "fill"], kl = ["points", "fill"], Ll = { key: 3 }, wl = ["y", "fill", "font-size"], _l = ["x", "y", "fill", "font-size"], Cl = ["x", "y", "fill", "font-size"], ql = ["y", "fill", "font-size"], Sl = { key: 4 }, Tl = ["x", "y", "font-size", "fill"], zl = ["x", "y", "font-size", "fill"], Al = ["x", "y", "font-size", "fill"], Wl = ["id", "font-size", "transform", "fill"], Xl = ["id", "font-size", "transform", "fill"], Yl = ["id", "font-size", "transform", "fill"], Ml = { key: 5 }, Ol = ["fill", "points"], Nl = ["x", "y", "width", "height"], Bl = ["x", "y", "width", "height"], Fl = ["x", "y", "width", "height"], Rl = ["x", "y", "width", "height"], Pl = {
|
|
15
15
|
key: 0,
|
|
16
16
|
style: { "pointer-events": "none" }
|
|
17
17
|
}, Vl = ["x", "y", "font-size", "fill"], Dl = ["x", "y", "font-size", "fill", "innerHTML"], Hl = { key: 0 }, Il = ["x", "y", "onMouseover", "onMouseleave", "onClick"], El = {
|
|
18
18
|
key: 8,
|
|
19
19
|
class: "vue-ui-dna"
|
|
20
|
-
}, Ul = ["points", "fill"], Gl = ["points", "fill"], Ql = ["points", "fill"], Jl = ["points", "fill"], jl = { key: 9 }, Zl = ["x", "y", "font-size", "fill", "font-weight"], Kl = { key: 10 }, ea = ["x", "y", "fill"], ta = ["x", "y", "fill"], la = ["x", "y", "fill"], aa = ["x", "y", "fill"],
|
|
20
|
+
}, Ul = ["points", "fill"], Gl = ["points", "fill"], Ql = ["points", "fill"], Jl = ["points", "fill"], jl = { key: 9 }, Zl = ["x", "y", "font-size", "fill", "font-weight"], Kl = { key: 10 }, ea = ["x", "y", "fill"], ta = ["x", "y", "fill"], la = ["x", "y", "fill"], aa = ["x", "y", "fill"], oa = ["stroke", "d"], ua = ["stroke", "d"], sa = {
|
|
21
21
|
key: 4,
|
|
22
22
|
class: "vue-data-ui-watermark"
|
|
23
23
|
}, ra = ["id"], na = ["onClick"], ia = {
|
|
@@ -43,13 +43,13 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
43
43
|
},
|
|
44
44
|
emits: ["selectPlot", "selectSide", "selectLegend"],
|
|
45
45
|
setup(nt, { expose: it, emit: vt }) {
|
|
46
|
-
const ct =
|
|
46
|
+
const ct = F(() => import("./Tooltip-oeu9knGI.js")), dt = F(() => import("./BaseIcon-BQQGRQ2U.js")), ht = F(() => import("./vue-ui-accordion-DFxAHGEZ.js")), yt = F(() => import("./DataTable-D6voeZvO.js")), bt = F(() => import("./PenAndPaper-C6tiapdo.js")), ft = F(() => import("./UserOptions-CnJxN2Vo.js")), pt = F(() => import("./PackageVersion-BeStrsPr.js")), gt = F(() => import("./BaseDraggableDialog-BO4B1Kwa.js")), { vue_ui_quadrant: mt } = Xt(), M = nt, xe = x(() => !!M.dataset && M.dataset.length), w = y(ut()), ne = vt, ie = y(!1), ve = y(""), $e = y(0), p = y(!1), A = y(null), ke = y(null), Le = y(null), we = y(null), _e = y(null), Ce = y(0), qe = y(0), Se = y(0), Te = y(!1), J = y(null), ce = y(null), e = y(he()), { loading: ze, FINAL_DATASET: Ae } = ol({
|
|
47
47
|
...qt(M),
|
|
48
48
|
FINAL_CONFIG: e,
|
|
49
49
|
prepareConfig: he,
|
|
50
50
|
callback: () => {
|
|
51
51
|
Promise.resolve().then(async () => {
|
|
52
|
-
await
|
|
52
|
+
await ot(), m.value.showTable = e.value.table.show;
|
|
53
53
|
});
|
|
54
54
|
},
|
|
55
55
|
skeletonDataset: [
|
|
@@ -135,32 +135,32 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
135
135
|
componentName: "VueUiQuadrant",
|
|
136
136
|
type: "dataset",
|
|
137
137
|
debug: I.value
|
|
138
|
-
}) : M.dataset.forEach((l,
|
|
138
|
+
}) : M.dataset.forEach((l, o) => {
|
|
139
139
|
[null, void 0].includes(l.name) && Q({
|
|
140
140
|
componentName: "VueUiQuadrant",
|
|
141
141
|
type: "datasetSerieAttribute",
|
|
142
142
|
property: "name",
|
|
143
|
-
index:
|
|
143
|
+
index: o,
|
|
144
144
|
debug: I.value
|
|
145
145
|
}), [null, void 0].includes(l.series) ? Q({
|
|
146
146
|
componentName: "VueUiQuadrant",
|
|
147
147
|
type: "datasetSerieAttribute",
|
|
148
148
|
property: "series",
|
|
149
|
-
index:
|
|
149
|
+
index: o,
|
|
150
150
|
debug: I.value
|
|
151
|
-
}) : l.series.forEach((a,
|
|
151
|
+
}) : l.series.forEach((a, u) => {
|
|
152
152
|
[null, void 0].includes(a.name) && Q({
|
|
153
153
|
componentName: "VueUiQuadrant",
|
|
154
154
|
type: "datasetSerieAttribute",
|
|
155
155
|
property: "name",
|
|
156
156
|
key: "series",
|
|
157
|
-
index:
|
|
157
|
+
index: u,
|
|
158
158
|
debug: I.value
|
|
159
159
|
});
|
|
160
160
|
});
|
|
161
161
|
}), e.value.responsive) {
|
|
162
162
|
const l = Jt(() => {
|
|
163
|
-
const { width:
|
|
163
|
+
const { width: o, height: a } = jt({
|
|
164
164
|
chart: A.value,
|
|
165
165
|
title: e.value.style.chart.title.text ? ke.value : null,
|
|
166
166
|
legend: e.value.style.chart.legend.show ? Le.value : null,
|
|
@@ -168,22 +168,22 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
168
168
|
noTitle: _e.value
|
|
169
169
|
});
|
|
170
170
|
L.value = 48, requestAnimationFrame(() => {
|
|
171
|
-
t.value.height = a, t.value.usableHeight = a - L.value * 2, t.value.width =
|
|
171
|
+
t.value.height = a, t.value.usableHeight = a - L.value * 2, t.value.width = o, t.value.usableWidth = o - L.value * 2, t.value.top = L.value, t.value.left = L.value, t.value.right = o - L.value, t.value.bottom = a - L.value, t.value.centerX = o / 2, t.value.centerY = a - a / 2, t.value.padding = L.value;
|
|
172
172
|
});
|
|
173
173
|
});
|
|
174
174
|
O.value && (H.value && O.value.unobserve(H.value), O.value.disconnect()), O.value = new ResizeObserver(l), H.value = A.value.parentNode, O.value.observe(H.value);
|
|
175
175
|
}
|
|
176
176
|
}
|
|
177
177
|
St(() => {
|
|
178
|
-
|
|
179
|
-
}),
|
|
178
|
+
Te.value = !0, Me();
|
|
179
|
+
}), Tt(() => {
|
|
180
180
|
O.value && (H.value && O.value.unobserve(H.value), O.value.disconnect());
|
|
181
181
|
});
|
|
182
|
-
const { isPrinting: Oe, isImaging: Ne, generatePdf: Be, generateImage:
|
|
182
|
+
const { isPrinting: Oe, isImaging: Ne, generatePdf: Be, generateImage: Fe } = Zt({
|
|
183
183
|
elementId: `vue-ui-quadrant_${w.value}`,
|
|
184
184
|
fileName: e.value.style.chart.title.text || "vue-ui-quadrant",
|
|
185
185
|
options: e.value.userOptions.print
|
|
186
|
-
}), xt = x(() => e.value.userOptions.show && !e.value.style.chart.title.text),
|
|
186
|
+
}), xt = x(() => e.value.userOptions.show && !e.value.style.chart.title.text), Re = x(() => Bt(e.value.customPalette)), m = y({
|
|
187
187
|
plotLabels: {
|
|
188
188
|
show: e.value.style.chart.layout.labels.plotLabels.show
|
|
189
189
|
},
|
|
@@ -255,13 +255,13 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
255
255
|
return { x: 0, y: 0, text: "", fontSize: 0, fill: "none", bold: !1 };
|
|
256
256
|
}
|
|
257
257
|
}), $t = y(null), ee = y(!1);
|
|
258
|
-
function j({ targetX: l, targetY:
|
|
258
|
+
function j({ targetX: l, targetY: o, targetW: a, targetH: u, side: r }) {
|
|
259
259
|
c.value && Z(r);
|
|
260
260
|
const b = {
|
|
261
261
|
x: l - v.value.startX,
|
|
262
|
-
y:
|
|
262
|
+
y: o - v.value.startY,
|
|
263
263
|
w: a - v.value.width,
|
|
264
|
-
h:
|
|
264
|
+
h: u - v.value.height
|
|
265
265
|
}, f = e.value.zoomAnimationFrames;
|
|
266
266
|
let W = 0;
|
|
267
267
|
function et() {
|
|
@@ -324,37 +324,37 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
324
324
|
}
|
|
325
325
|
}
|
|
326
326
|
const kt = x(() => {
|
|
327
|
-
const l = e.value.style.chart.layout.grid.graduations.steps,
|
|
327
|
+
const l = e.value.style.chart.layout.grid.graduations.steps, o = t.value.usableWidth / (l * 2), a = t.value.top, u = [];
|
|
328
328
|
for (let r = 0; r < l; r += 1)
|
|
329
|
-
|
|
330
|
-
x: t.value.padding +
|
|
329
|
+
u.push({
|
|
330
|
+
x: t.value.padding + o * r,
|
|
331
331
|
y: a + t.value.usableHeight * (r / l / 2),
|
|
332
332
|
height: t.value.usableHeight * (1 - r / l),
|
|
333
333
|
width: t.value.usableWidth * (1 - r / l),
|
|
334
334
|
opacity: Math.round((r + 1) / l * 20)
|
|
335
335
|
});
|
|
336
|
-
return
|
|
336
|
+
return u;
|
|
337
337
|
}), q = x(() => {
|
|
338
|
-
let l = e.value.style.chart.layout.grid.xAxis.max,
|
|
339
|
-
return e.value.style.chart.layout.grid.xAxis.auto && (l = Math.max(...E.value.flatMap((r) => r.series.map((b) => b.x))),
|
|
338
|
+
let l = e.value.style.chart.layout.grid.xAxis.max, o = e.value.style.chart.layout.grid.xAxis.min, a = e.value.style.chart.layout.grid.yAxis.max, u = e.value.style.chart.layout.grid.yAxis.min;
|
|
339
|
+
return e.value.style.chart.layout.grid.xAxis.auto && (l = Math.max(...E.value.flatMap((r) => r.series.map((b) => b.x))), o = Math.min(...E.value.flatMap((r) => r.series.map((b) => b.x)))), e.value.style.chart.layout.grid.yAxis.auto && (a = Math.max(...E.value.flatMap((r) => r.series.map((b) => b.y))), u = Math.min(...E.value.flatMap((r) => r.series.map((b) => b.y)))), {
|
|
340
340
|
x: {
|
|
341
341
|
max: l,
|
|
342
|
-
min:
|
|
342
|
+
min: o
|
|
343
343
|
},
|
|
344
344
|
y: {
|
|
345
345
|
max: a,
|
|
346
|
-
min:
|
|
346
|
+
min: u
|
|
347
347
|
}
|
|
348
348
|
};
|
|
349
|
-
}), B = y([]), E = x(() => Ae.value.map((l,
|
|
349
|
+
}), B = y([]), E = x(() => Ae.value.map((l, o) => ({
|
|
350
350
|
...l,
|
|
351
|
-
series:
|
|
351
|
+
series: Rt({
|
|
352
352
|
data: l.series,
|
|
353
353
|
threshold: e.value.downsample.threshold
|
|
354
354
|
}),
|
|
355
|
-
id: `cat_${
|
|
356
|
-
color:
|
|
357
|
-
}))), Lt = x(() => E.value.filter((l) => !B.value.includes(l.id))), wt = x(() => E.value.map((l,
|
|
355
|
+
id: `cat_${o}_${w.value}`,
|
|
356
|
+
color: Ft(l.color) || Re.value[o] || me[o]
|
|
357
|
+
}))), Lt = x(() => E.value.filter((l) => !B.value.includes(l.id))), wt = x(() => E.value.map((l, o) => ({
|
|
358
358
|
...l,
|
|
359
359
|
shape: l.shape || "circle",
|
|
360
360
|
series: l.series.map((a) => ({
|
|
@@ -368,28 +368,28 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
368
368
|
shape: l.shape,
|
|
369
369
|
color: l.color
|
|
370
370
|
}))
|
|
371
|
-
}))),
|
|
372
|
-
l.series.forEach((a,
|
|
371
|
+
}))), T = x(() => (Ae.value.forEach((l, o) => {
|
|
372
|
+
l.series.forEach((a, u) => {
|
|
373
373
|
[null, void 0].includes(a.x) && Q({
|
|
374
374
|
componentName: "VueUiQuadrant",
|
|
375
375
|
type: "datasetSerieAttribute",
|
|
376
376
|
property: "x",
|
|
377
377
|
key: "series",
|
|
378
|
-
index:
|
|
378
|
+
index: u,
|
|
379
379
|
debug: I.value
|
|
380
380
|
}), [null, void 0].includes(a.y) && Q({
|
|
381
381
|
componentName: "VueUiQuadrant",
|
|
382
382
|
type: "datasetSerieAttribute",
|
|
383
383
|
property: "y",
|
|
384
384
|
key: "series",
|
|
385
|
-
index:
|
|
385
|
+
index: u,
|
|
386
386
|
debug: I.value
|
|
387
387
|
});
|
|
388
388
|
});
|
|
389
|
-
}), Lt.value.map((l,
|
|
389
|
+
}), Lt.value.map((l, o) => ({
|
|
390
390
|
...l,
|
|
391
391
|
shape: l.shape || "circle",
|
|
392
|
-
color: l.color ||
|
|
392
|
+
color: l.color || Re.value[o] || me[o],
|
|
393
393
|
series: l.series.map((a) => ({
|
|
394
394
|
...a,
|
|
395
395
|
x: Pe(a.x),
|
|
@@ -400,29 +400,29 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
400
400
|
categoryName: l.name,
|
|
401
401
|
shape: l.shape,
|
|
402
402
|
color: l.color,
|
|
403
|
-
uid:
|
|
403
|
+
uid: ut()
|
|
404
404
|
}))
|
|
405
405
|
}))));
|
|
406
406
|
function Pe(l) {
|
|
407
407
|
if (l >= 0) {
|
|
408
|
-
const
|
|
409
|
-
return t.value.centerX + t.value.usableWidth / 2 *
|
|
408
|
+
const o = l / q.value.x.max;
|
|
409
|
+
return t.value.centerX + t.value.usableWidth / 2 * o;
|
|
410
410
|
} else {
|
|
411
|
-
const
|
|
412
|
-
return t.value.centerX - t.value.usableWidth / 2 *
|
|
411
|
+
const o = Math.abs(l) / Math.abs(q.value.x.min);
|
|
412
|
+
return t.value.centerX - t.value.usableWidth / 2 * o;
|
|
413
413
|
}
|
|
414
414
|
}
|
|
415
415
|
function Ve(l) {
|
|
416
416
|
if (l >= 0) {
|
|
417
|
-
const
|
|
418
|
-
return t.value.centerY + (1 - t.value.usableHeight / 2 *
|
|
417
|
+
const o = l / q.value.y.max;
|
|
418
|
+
return t.value.centerY + (1 - t.value.usableHeight / 2 * o);
|
|
419
419
|
} else {
|
|
420
|
-
const
|
|
421
|
-
return t.value.centerY - (1 - t.value.usableHeight / 2 *
|
|
420
|
+
const o = Math.abs(l) / Math.abs(q.value.y.min);
|
|
421
|
+
return t.value.centerY - (1 - t.value.usableHeight / 2 * o);
|
|
422
422
|
}
|
|
423
423
|
}
|
|
424
424
|
const te = x(() => {
|
|
425
|
-
const l =
|
|
425
|
+
const l = T.value.flatMap((f) => f.series.map((W) => ({
|
|
426
426
|
x: W.xValue,
|
|
427
427
|
y: W.yValue,
|
|
428
428
|
name: W.name,
|
|
@@ -431,36 +431,36 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
431
431
|
sideName: e.value.style.chart.layout.labels.quadrantLabels[W.quadrantSide].text,
|
|
432
432
|
color: f.color,
|
|
433
433
|
shape: f.shape
|
|
434
|
-
}))),
|
|
434
|
+
}))), o = e.value.style.chart.layout.grid.xAxis.name || "x", a = e.value.style.chart.layout.grid.yAxis.name || "y", u = [e.value.translations.category, e.value.translations.item, o, a, e.value.translations.side], r = l.map((f) => [f.category, f.name, f.x, f.y, f.sideName || f.quadrantSide]), b = l.map((f) => ({
|
|
435
435
|
shape: f.shape,
|
|
436
436
|
color: f.color
|
|
437
437
|
}));
|
|
438
|
-
return { head:
|
|
438
|
+
return { head: u, body: r, itsShapes: b, tableData: l };
|
|
439
439
|
}), le = x(() => {
|
|
440
|
-
const l = te.value.head,
|
|
440
|
+
const l = te.value.head, o = te.value.tableData.map((u) => [
|
|
441
441
|
{
|
|
442
|
-
shape:
|
|
443
|
-
color:
|
|
444
|
-
name:
|
|
442
|
+
shape: u.shape,
|
|
443
|
+
color: u.color,
|
|
444
|
+
name: u.category
|
|
445
445
|
},
|
|
446
|
-
|
|
447
|
-
|
|
446
|
+
u.name,
|
|
447
|
+
R(
|
|
448
448
|
e.value.style.chart.layout.labels.plotLabels.x.formatter,
|
|
449
|
-
|
|
449
|
+
u.x,
|
|
450
450
|
P({
|
|
451
|
-
v:
|
|
451
|
+
v: u.x,
|
|
452
452
|
r: e.value.style.chart.layout.labels.plotLabels.rounding
|
|
453
453
|
})
|
|
454
454
|
),
|
|
455
|
-
|
|
455
|
+
R(
|
|
456
456
|
e.value.style.chart.layout.labels.plotLabels.y.formatter,
|
|
457
|
-
|
|
457
|
+
u.y,
|
|
458
458
|
P({
|
|
459
|
-
v:
|
|
459
|
+
v: u.y,
|
|
460
460
|
r: e.value.style.chart.layout.labels.plotLabels.rounding
|
|
461
461
|
})
|
|
462
462
|
),
|
|
463
|
-
|
|
463
|
+
u.sideName || u.quadrantSide
|
|
464
464
|
]), a = {
|
|
465
465
|
th: {
|
|
466
466
|
backgroundColor: e.value.table.th.backgroundColor,
|
|
@@ -474,12 +474,12 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
474
474
|
},
|
|
475
475
|
breakpoint: e.value.table.responsiveBreakpoint
|
|
476
476
|
};
|
|
477
|
-
return { head: l, body:
|
|
477
|
+
return { head: l, body: o, config: a, colNames: l };
|
|
478
478
|
});
|
|
479
479
|
function ye(l) {
|
|
480
480
|
B.value.includes(l) ? B.value = B.value.filter((a) => a !== l) : B.value.push(l);
|
|
481
|
-
const
|
|
482
|
-
ne("selectLegend",
|
|
481
|
+
const o = Ge();
|
|
482
|
+
ne("selectLegend", o);
|
|
483
483
|
}
|
|
484
484
|
const De = x(() => wt.value.map((l) => ({
|
|
485
485
|
name: l.name,
|
|
@@ -511,70 +511,70 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
511
511
|
return "";
|
|
512
512
|
}
|
|
513
513
|
}
|
|
514
|
-
const ae = y(null),
|
|
515
|
-
function Ie(l,
|
|
516
|
-
e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint:
|
|
514
|
+
const ae = y(null), oe = y(null), be = y(null);
|
|
515
|
+
function Ie(l, o, a) {
|
|
516
|
+
e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: o, seriesIndex: a }), ae.value = o.uid, oe.value = {
|
|
517
517
|
color: l.color,
|
|
518
518
|
shape: l.shape
|
|
519
519
|
}, be.value = {
|
|
520
|
-
datapoint:
|
|
520
|
+
datapoint: o,
|
|
521
521
|
seriesIndex: a,
|
|
522
|
-
series:
|
|
522
|
+
series: T.value,
|
|
523
523
|
config: e.value
|
|
524
524
|
}, ie.value = !0;
|
|
525
|
-
const
|
|
526
|
-
if (Gt(
|
|
525
|
+
const u = e.value.style.chart.tooltip.customFormat;
|
|
526
|
+
if (Gt(u) && Qt(() => u({
|
|
527
527
|
seriesIndex: a,
|
|
528
|
-
datapoint:
|
|
529
|
-
series:
|
|
528
|
+
datapoint: o,
|
|
529
|
+
series: T.value,
|
|
530
530
|
config: e.value
|
|
531
531
|
})))
|
|
532
|
-
ve.value =
|
|
532
|
+
ve.value = u({
|
|
533
533
|
seriesIndex: a,
|
|
534
|
-
datapoint:
|
|
535
|
-
series:
|
|
534
|
+
datapoint: o,
|
|
535
|
+
series: T.value,
|
|
536
536
|
config: e.value
|
|
537
537
|
});
|
|
538
538
|
else {
|
|
539
539
|
let r = "";
|
|
540
|
-
|
|
540
|
+
o.quadrantSide && (r += `<div style="color:${e.value.style.chart.layout.labels.quadrantLabels[o.quadrantSide].color};font-weight:${e.value.style.chart.layout.labels.quadrantLabels[o.quadrantSide].bold ? "bold" : "400"}">${e.value.style.chart.layout.labels.quadrantLabels[o.quadrantSide].text}</div>`), r += `<div>${l.name}</div>`, r += `<div style="padding-bottom:6px;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};margin-bottom:3px">${o.name}</div>`, r += `<div>${e.value.style.chart.layout.grid.xAxis.name ? e.value.style.chart.layout.grid.xAxis.name : "x"}: <b>${R(
|
|
541
541
|
e.value.style.chart.layout.labels.plotLabels.x.formatter,
|
|
542
|
-
|
|
542
|
+
o.xValue,
|
|
543
543
|
P({
|
|
544
|
-
v:
|
|
544
|
+
v: o.xValue,
|
|
545
545
|
r: e.value.style.chart.tooltip.roundingValue
|
|
546
546
|
}),
|
|
547
|
-
{ datapoint:
|
|
548
|
-
)}</b></div>`, r += `<div>${e.value.style.chart.layout.grid.yAxis.name ? e.value.style.chart.layout.grid.yAxis.name : "y"}: <b>${
|
|
547
|
+
{ datapoint: o, category: l, categoryIndex: a }
|
|
548
|
+
)}</b></div>`, r += `<div>${e.value.style.chart.layout.grid.yAxis.name ? e.value.style.chart.layout.grid.yAxis.name : "y"}: <b>${R(
|
|
549
549
|
e.value.style.chart.layout.labels.plotLabels.y.formatter,
|
|
550
|
-
|
|
550
|
+
o.yValue,
|
|
551
551
|
P({
|
|
552
|
-
v:
|
|
552
|
+
v: o.yValue,
|
|
553
553
|
r: e.value.style.chart.tooltip.roundingValue
|
|
554
554
|
}),
|
|
555
|
-
{ datapoint:
|
|
555
|
+
{ datapoint: o, category: l, categoryIndex: a }
|
|
556
556
|
)}</b></div>`, ve.value = `<div style="text-align:left;font-size:${e.value.style.chart.tooltip.fontSize}px">${r}</div>`;
|
|
557
557
|
}
|
|
558
558
|
}
|
|
559
|
-
function Ee(l,
|
|
560
|
-
ie.value = !1, ae.value = null,
|
|
559
|
+
function Ee(l, o) {
|
|
560
|
+
ie.value = !1, ae.value = null, oe.value = null, e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: l, seriesIndex: o });
|
|
561
561
|
}
|
|
562
|
-
function Ue(l,
|
|
563
|
-
e.value.events.datapointClick && e.value.events.datapointClick({ datapoint:
|
|
564
|
-
const
|
|
562
|
+
function Ue(l, o, a) {
|
|
563
|
+
e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: o, seriesIndex: a });
|
|
564
|
+
const u = {
|
|
565
565
|
category: l.name,
|
|
566
566
|
shape: l.shape,
|
|
567
|
-
itemName:
|
|
568
|
-
x:
|
|
569
|
-
y:
|
|
570
|
-
quadrantSide:
|
|
571
|
-
sideName: e.value.style.chart.layout.labels.quadrantLabels[
|
|
567
|
+
itemName: o.name,
|
|
568
|
+
x: o.xValue,
|
|
569
|
+
y: o.yValue,
|
|
570
|
+
quadrantSide: o.quadrantSide,
|
|
571
|
+
sideName: e.value.style.chart.layout.labels.quadrantLabels[o.quadrantSide].text
|
|
572
572
|
};
|
|
573
|
-
ne("selectPlot",
|
|
573
|
+
ne("selectPlot", u);
|
|
574
574
|
}
|
|
575
575
|
function Z(l) {
|
|
576
576
|
if (!l) return;
|
|
577
|
-
const
|
|
577
|
+
const o = T.value.flatMap((u) => u.series.filter((r) => r.quadrantSide === l).map((r) => ({
|
|
578
578
|
category: r.categoryName,
|
|
579
579
|
itemName: r.name,
|
|
580
580
|
x: r.xValue,
|
|
@@ -582,7 +582,7 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
582
582
|
}))), a = {
|
|
583
583
|
quadrantSide: l,
|
|
584
584
|
sideName: e.value.style.chart.layout.labels.quadrantLabels[l].text,
|
|
585
|
-
items: [...
|
|
585
|
+
items: [...o]
|
|
586
586
|
};
|
|
587
587
|
ne("selectSide", a);
|
|
588
588
|
}
|
|
@@ -693,22 +693,22 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
693
693
|
}
|
|
694
694
|
}));
|
|
695
695
|
function Ge() {
|
|
696
|
-
return
|
|
696
|
+
return T.value.map((l) => ({
|
|
697
697
|
color: l.color,
|
|
698
698
|
name: l.name,
|
|
699
699
|
shape: l.shape,
|
|
700
|
-
series: l.series.map((
|
|
701
|
-
name:
|
|
702
|
-
x:
|
|
703
|
-
y:
|
|
704
|
-
quadrantSide:
|
|
705
|
-
sideName: e.value.style.chart.layout.labels.quadrantLabels[
|
|
700
|
+
series: l.series.map((o) => ({
|
|
701
|
+
name: o.name,
|
|
702
|
+
x: o.xValue,
|
|
703
|
+
y: o.yValue,
|
|
704
|
+
quadrantSide: o.quadrantSide,
|
|
705
|
+
sideName: e.value.style.chart.layout.labels.quadrantLabels[o.quadrantSide].text
|
|
706
706
|
}))
|
|
707
707
|
}));
|
|
708
708
|
}
|
|
709
709
|
function fe(l = null) {
|
|
710
|
-
|
|
711
|
-
const
|
|
710
|
+
ot(() => {
|
|
711
|
+
const o = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], a = te.value.head, u = te.value.body, r = o.concat([a]).concat(u), b = Et(r);
|
|
712
712
|
l ? l(b) : Ut({ csvContent: b, title: e.value.style.chart.title.text || "vue-ui-quadrant" });
|
|
713
713
|
});
|
|
714
714
|
}
|
|
@@ -725,24 +725,24 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
725
725
|
function Ze() {
|
|
726
726
|
m.value.showTooltip = !m.value.showTooltip;
|
|
727
727
|
}
|
|
728
|
-
const
|
|
728
|
+
const ue = y(!1);
|
|
729
729
|
function pe() {
|
|
730
|
-
|
|
730
|
+
ue.value = !ue.value;
|
|
731
731
|
}
|
|
732
732
|
async function Ct({ scale: l = 2 } = {}) {
|
|
733
733
|
if (!A.value) return;
|
|
734
|
-
const { width:
|
|
734
|
+
const { width: o, height: a } = A.value.getBoundingClientRect(), u = o / a, { imageUri: r, base64: b } = await tl({ domElement: A.value, base64: !0, img: !0, scale: l });
|
|
735
735
|
return {
|
|
736
736
|
imageUri: r,
|
|
737
737
|
base64: b,
|
|
738
738
|
title: e.value.style.chart.title.text,
|
|
739
|
-
width:
|
|
739
|
+
width: o,
|
|
740
740
|
height: a,
|
|
741
|
-
aspectRatio:
|
|
741
|
+
aspectRatio: u
|
|
742
742
|
};
|
|
743
743
|
}
|
|
744
744
|
const K = x(() => {
|
|
745
|
-
const l = e.value.table.useDialog && !e.value.table.show,
|
|
745
|
+
const l = e.value.table.useDialog && !e.value.table.show, o = m.value.showTable;
|
|
746
746
|
return {
|
|
747
747
|
component: l ? gt : ht,
|
|
748
748
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
@@ -757,7 +757,7 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
757
757
|
} : {
|
|
758
758
|
hideDetails: !0,
|
|
759
759
|
config: {
|
|
760
|
-
open:
|
|
760
|
+
open: o,
|
|
761
761
|
maxHeight: 1e4,
|
|
762
762
|
body: {
|
|
763
763
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -782,27 +782,27 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
782
782
|
getImage: Ct,
|
|
783
783
|
generatePdf: Be,
|
|
784
784
|
generateCsv: fe,
|
|
785
|
-
generateImage:
|
|
785
|
+
generateImage: Fe,
|
|
786
786
|
toggleTable: Je,
|
|
787
787
|
toggleLabels: je,
|
|
788
788
|
toggleTooltip: Ze,
|
|
789
789
|
toggleAnnotator: pe,
|
|
790
790
|
toggleFullscreen: Qe
|
|
791
|
-
}), (l,
|
|
792
|
-
class:
|
|
791
|
+
}), (l, o) => (s(), n("div", {
|
|
792
|
+
class: z(`vue-ui-quadrant ${D.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
793
793
|
ref_key: "quadrantChart",
|
|
794
794
|
ref: A,
|
|
795
795
|
id: `vue-ui-quadrant_${w.value}`,
|
|
796
796
|
style: C(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`),
|
|
797
|
-
onMouseenter:
|
|
798
|
-
onMouseleave:
|
|
797
|
+
onMouseenter: o[14] || (o[14] = () => i(We)(!0)),
|
|
798
|
+
onMouseleave: o[15] || (o[15] = () => i(We)(!1))
|
|
799
799
|
}, [
|
|
800
800
|
e.value.userOptions.buttons.annotator ? (s(), X(i(bt), {
|
|
801
801
|
key: 0,
|
|
802
802
|
svgRef: i(Ye),
|
|
803
803
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
804
804
|
color: e.value.style.chart.color,
|
|
805
|
-
active:
|
|
805
|
+
active: ue.value,
|
|
806
806
|
onClose: pe
|
|
807
807
|
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : h("", !0),
|
|
808
808
|
xt.value ? (s(), n("div", {
|
|
@@ -857,14 +857,14 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
857
857
|
chartElement: A.value,
|
|
858
858
|
position: e.value.userOptions.position,
|
|
859
859
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
860
|
-
isAnnotation:
|
|
860
|
+
isAnnotation: ue.value,
|
|
861
861
|
callbacks: e.value.userOptions.callbacks,
|
|
862
862
|
printScale: e.value.userOptions.print.scale,
|
|
863
863
|
tableDialog: e.value.table.useDialog,
|
|
864
864
|
onToggleFullscreen: Qe,
|
|
865
865
|
onGeneratePdf: i(Be),
|
|
866
866
|
onGenerateCsv: fe,
|
|
867
|
-
onGenerateImage: i(
|
|
867
|
+
onGenerateImage: i(Fe),
|
|
868
868
|
onToggleTable: Je,
|
|
869
869
|
onToggleLabels: je,
|
|
870
870
|
onToggleTooltip: Ze,
|
|
@@ -875,8 +875,8 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
875
875
|
}, lt({ _: 2 }, [
|
|
876
876
|
l.$slots.menuIcon ? {
|
|
877
877
|
name: "menuIcon",
|
|
878
|
-
fn: g(({ isOpen: a, color:
|
|
879
|
-
$(l.$slots, "menuIcon", U(G({ isOpen: a, color:
|
|
878
|
+
fn: g(({ isOpen: a, color: u }) => [
|
|
879
|
+
$(l.$slots, "menuIcon", U(G({ isOpen: a, color: u })), void 0, !0)
|
|
880
880
|
]),
|
|
881
881
|
key: "0"
|
|
882
882
|
} : void 0,
|
|
@@ -924,15 +924,15 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
924
924
|
} : void 0,
|
|
925
925
|
l.$slots.optionFullscreen ? {
|
|
926
926
|
name: "optionFullscreen",
|
|
927
|
-
fn: g(({ toggleFullscreen: a, isFullscreen:
|
|
928
|
-
$(l.$slots, "optionFullscreen", U(G({ toggleFullscreen: a, isFullscreen:
|
|
927
|
+
fn: g(({ toggleFullscreen: a, isFullscreen: u }) => [
|
|
928
|
+
$(l.$slots, "optionFullscreen", U(G({ toggleFullscreen: a, isFullscreen: u })), void 0, !0)
|
|
929
929
|
]),
|
|
930
930
|
key: "7"
|
|
931
931
|
} : void 0,
|
|
932
932
|
l.$slots.optionAnnotator ? {
|
|
933
933
|
name: "optionAnnotator",
|
|
934
|
-
fn: g(({ toggleAnnotator: a, isAnnotator:
|
|
935
|
-
$(l.$slots, "optionAnnotator", U(G({ toggleAnnotator: a, isAnnotator:
|
|
934
|
+
fn: g(({ toggleAnnotator: a, isAnnotator: u }) => [
|
|
935
|
+
$(l.$slots, "optionAnnotator", U(G({ toggleAnnotator: a, isAnnotator: u })), void 0, !0)
|
|
936
936
|
]),
|
|
937
937
|
key: "8"
|
|
938
938
|
} : void 0
|
|
@@ -941,7 +941,7 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
941
941
|
ref_key: "svgRef",
|
|
942
942
|
ref: Ye,
|
|
943
943
|
xmlns: i(Pt),
|
|
944
|
-
class:
|
|
944
|
+
class: z({ "vue-data-ui-fullscreen--on": D.value, "vue-data-ui-fulscreen--off": !D.value }),
|
|
945
945
|
viewBox: `${v.value.startX} ${v.value.startY} ${v.value.width} ${v.value.height}`,
|
|
946
946
|
style: C(`max-width:100%;overflow:hidden;background:transparent;color:${e.value.style.chart.color}`),
|
|
947
947
|
id: `svg_${w.value}`
|
|
@@ -960,13 +960,13 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
960
960
|
$(l.$slots, "chart-background", {}, void 0, !0)
|
|
961
961
|
], 8, vl)) : h("", !0),
|
|
962
962
|
d("defs", null, [
|
|
963
|
-
(s(!0), n(S, null, Y(
|
|
963
|
+
(s(!0), n(S, null, Y(T.value, (a, u) => (s(), n("radialGradient", {
|
|
964
964
|
cx: "50%",
|
|
965
965
|
cy: "50%",
|
|
966
966
|
r: "50%",
|
|
967
967
|
fx: "50%",
|
|
968
968
|
fy: "50%",
|
|
969
|
-
id: `quadrant_gradient_${w.value}_${
|
|
969
|
+
id: `quadrant_gradient_${w.value}_${u}`
|
|
970
970
|
}, [
|
|
971
971
|
d("stop", {
|
|
972
972
|
offset: "0%",
|
|
@@ -1037,7 +1037,7 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
1037
1037
|
fill: e.value.style.chart.layout.labels.quadrantLabels.tl.color,
|
|
1038
1038
|
"font-size": e.value.style.chart.layout.labels.quadrantLabels.tl.fontSize,
|
|
1039
1039
|
style: C(`font-weight:${e.value.style.chart.layout.labels.quadrantLabels.tl.bold ? "bold" : ""}`),
|
|
1040
|
-
onClick:
|
|
1040
|
+
onClick: o[0] || (o[0] = (a) => Z("tl"))
|
|
1041
1041
|
}, k(e.value.style.chart.layout.labels.quadrantLabels.tl.text), 13, wl)) : h("", !0),
|
|
1042
1042
|
e.value.style.chart.layout.labels.quadrantLabels.tr.text ? (s(), n("text", {
|
|
1043
1043
|
key: 1,
|
|
@@ -1047,7 +1047,7 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
1047
1047
|
fill: e.value.style.chart.layout.labels.quadrantLabels.tr.color,
|
|
1048
1048
|
"font-size": e.value.style.chart.layout.labels.quadrantLabels.tr.fontSize,
|
|
1049
1049
|
style: C(`font-weight:${e.value.style.chart.layout.labels.quadrantLabels.tr.bold ? "bold" : ""}`),
|
|
1050
|
-
onClick:
|
|
1050
|
+
onClick: o[1] || (o[1] = (a) => Z("tr"))
|
|
1051
1051
|
}, k(e.value.style.chart.layout.labels.quadrantLabels.tr.text), 13, _l)) : h("", !0),
|
|
1052
1052
|
e.value.style.chart.layout.labels.quadrantLabels.br.text ? (s(), n("text", {
|
|
1053
1053
|
key: 2,
|
|
@@ -1057,7 +1057,7 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
1057
1057
|
fill: e.value.style.chart.layout.labels.quadrantLabels.br.color,
|
|
1058
1058
|
"font-size": e.value.style.chart.layout.labels.quadrantLabels.br.fontSize,
|
|
1059
1059
|
style: C(`font-weight:${e.value.style.chart.layout.labels.quadrantLabels.br.bold ? "bold" : ""}`),
|
|
1060
|
-
onClick:
|
|
1060
|
+
onClick: o[2] || (o[2] = (a) => Z("br"))
|
|
1061
1061
|
}, k(e.value.style.chart.layout.labels.quadrantLabels.br.text), 13, Cl)) : h("", !0),
|
|
1062
1062
|
e.value.style.chart.layout.labels.quadrantLabels.bl.text ? (s(), n("text", {
|
|
1063
1063
|
key: 3,
|
|
@@ -1067,7 +1067,7 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
1067
1067
|
fill: e.value.style.chart.layout.labels.quadrantLabels.bl.color,
|
|
1068
1068
|
"font-size": e.value.style.chart.layout.labels.quadrantLabels.bl.fontSize,
|
|
1069
1069
|
style: C(`font-weight:${e.value.style.chart.layout.labels.quadrantLabels.bl.bold ? "bold" : ""}`),
|
|
1070
|
-
onClick:
|
|
1070
|
+
onClick: o[3] || (o[3] = (a) => Z("bl"))
|
|
1071
1071
|
}, k(e.value.style.chart.layout.labels.quadrantLabels.bl.text), 13, ql)) : h("", !0)
|
|
1072
1072
|
])) : h("", !0),
|
|
1073
1073
|
e.value.style.chart.layout.labels.axisLabels.show ? (s(), n("g", Sl, [
|
|
@@ -1077,28 +1077,28 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
1077
1077
|
"text-anchor": "middle",
|
|
1078
1078
|
"font-size": e.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
1079
1079
|
fill: e.value.style.chart.layout.labels.axisLabels.color.positive
|
|
1080
|
-
}, k(i(
|
|
1080
|
+
}, k(i(R)(
|
|
1081
1081
|
e.value.style.chart.layout.labels.plotLabels.y.formatter,
|
|
1082
1082
|
q.value.y.max,
|
|
1083
1083
|
i(P)({
|
|
1084
1084
|
v: q.value.y.max,
|
|
1085
1085
|
r: e.value.style.chart.layout.labels.plotLabels.rounding
|
|
1086
1086
|
})
|
|
1087
|
-
)), 9,
|
|
1087
|
+
)), 9, Tl),
|
|
1088
1088
|
d("text", {
|
|
1089
1089
|
x: t.value.centerX,
|
|
1090
1090
|
y: t.value.top - t.value.padding / 2,
|
|
1091
1091
|
"text-anchor": "middle",
|
|
1092
1092
|
"font-size": e.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
1093
1093
|
fill: e.value.style.chart.layout.labels.axisLabels.color.positive
|
|
1094
|
-
}, k(e.value.style.chart.layout.grid.yAxis.name), 9,
|
|
1094
|
+
}, k(e.value.style.chart.layout.grid.yAxis.name), 9, zl),
|
|
1095
1095
|
d("text", {
|
|
1096
1096
|
x: t.value.centerX,
|
|
1097
1097
|
y: t.value.bottom + t.value.padding * 0.35,
|
|
1098
1098
|
"text-anchor": "middle",
|
|
1099
1099
|
"font-size": e.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
1100
1100
|
fill: e.value.style.chart.layout.labels.axisLabels.color.negative
|
|
1101
|
-
}, k(i(
|
|
1101
|
+
}, k(i(R)(
|
|
1102
1102
|
e.value.style.chart.layout.labels.plotLabels.y.formatter,
|
|
1103
1103
|
q.value.y.min,
|
|
1104
1104
|
i(P)({
|
|
@@ -1112,7 +1112,7 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
1112
1112
|
"font-size": e.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
1113
1113
|
transform: `translate(${t.value.padding - e.value.style.chart.layout.labels.axisLabels.fontSize}, ${t.value.height / 2}), rotate(-90)`,
|
|
1114
1114
|
fill: e.value.style.chart.layout.labels.axisLabels.color.negative
|
|
1115
|
-
}, k(i(
|
|
1115
|
+
}, k(i(R)(
|
|
1116
1116
|
e.value.style.chart.layout.labels.plotLabels.x.formatter,
|
|
1117
1117
|
q.value.x.min,
|
|
1118
1118
|
i(P)({
|
|
@@ -1126,7 +1126,7 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
1126
1126
|
"font-size": e.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
1127
1127
|
transform: `translate(${t.value.width - t.value.padding + e.value.style.chart.layout.labels.axisLabels.fontSize}, ${t.value.height / 2}), rotate(90)`,
|
|
1128
1128
|
fill: e.value.style.chart.layout.labels.axisLabels.color.positive
|
|
1129
|
-
}, k(i(
|
|
1129
|
+
}, k(i(R)(
|
|
1130
1130
|
e.value.style.chart.layout.labels.plotLabels.x.formatter,
|
|
1131
1131
|
q.value.x.max,
|
|
1132
1132
|
i(P)({
|
|
@@ -1143,65 +1143,65 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
1143
1143
|
}, k(e.value.style.chart.layout.grid.xAxis.name), 9, Yl)
|
|
1144
1144
|
])) : h("", !0),
|
|
1145
1145
|
e.value.style.chart.layout.areas.show ? (s(), n("g", Ml, [
|
|
1146
|
-
(s(!0), n(S, null, Y(
|
|
1146
|
+
(s(!0), n(S, null, Y(T.value, (a, u) => (s(), n("g", null, [
|
|
1147
1147
|
a.series.length > 2 ? (s(), n("polygon", {
|
|
1148
1148
|
key: 0,
|
|
1149
1149
|
"data-cy-quadrant-area": "",
|
|
1150
|
-
fill: e.value.style.chart.layout.areas.useGradient ? `url(#quadrant_gradient_${w.value}_${
|
|
1150
|
+
fill: e.value.style.chart.layout.areas.useGradient ? `url(#quadrant_gradient_${w.value}_${u})` : i(re)(a.color, e.value.style.chart.layout.areas.opacity),
|
|
1151
1151
|
points: i(Dt)(a)
|
|
1152
1152
|
}, null, 8, Ol)) : h("", !0)
|
|
1153
1153
|
]))), 256))
|
|
1154
1154
|
])) : h("", !0),
|
|
1155
1155
|
d("g", null, [
|
|
1156
1156
|
d("rect", {
|
|
1157
|
-
onClick:
|
|
1157
|
+
onClick: o[4] || (o[4] = (a) => N("TL")),
|
|
1158
1158
|
x: t.value.left,
|
|
1159
1159
|
y: t.value.top,
|
|
1160
1160
|
width: t.value.usableWidth / 2 <= 0 ? 1e-3 : t.value.usableWidth / 2,
|
|
1161
1161
|
height: t.value.usableHeight / 2 <= 0 ? 1e-3 : t.value.usableHeight / 2,
|
|
1162
1162
|
fill: "transparent",
|
|
1163
|
-
class:
|
|
1163
|
+
class: z({ "vue-data-ui-zoom-plus": !p.value, "vue-data-ui-zoom-minus": p.value })
|
|
1164
1164
|
}, null, 10, Nl),
|
|
1165
1165
|
d("rect", {
|
|
1166
|
-
onClick:
|
|
1166
|
+
onClick: o[5] || (o[5] = (a) => N("TR")),
|
|
1167
1167
|
x: t.value.centerX,
|
|
1168
1168
|
y: t.value.top,
|
|
1169
1169
|
width: t.value.usableWidth / 2 <= 0 ? 1e-3 : t.value.usableWidth / 2,
|
|
1170
1170
|
height: t.value.usableHeight / 2 <= 0 ? 1e-3 : t.value.usableHeight / 2,
|
|
1171
1171
|
fill: "transparent",
|
|
1172
|
-
class:
|
|
1172
|
+
class: z({ "vue-data-ui-zoom-plus": !p.value, "vue-data-ui-zoom-minus": p.value })
|
|
1173
1173
|
}, null, 10, Bl),
|
|
1174
1174
|
d("rect", {
|
|
1175
|
-
onClick:
|
|
1175
|
+
onClick: o[6] || (o[6] = (a) => N("BR")),
|
|
1176
1176
|
x: t.value.centerX,
|
|
1177
1177
|
y: t.value.centerY,
|
|
1178
1178
|
width: t.value.usableWidth / 2 <= 0 ? 1e-3 : t.value.usableWidth / 2,
|
|
1179
1179
|
height: t.value.usableHeight / 2 <= 0 ? 1e-3 : t.value.usableHeight / 2,
|
|
1180
1180
|
fill: "transparent",
|
|
1181
|
-
class:
|
|
1182
|
-
}, null, 10,
|
|
1181
|
+
class: z({ "vue-data-ui-zoom-plus": !p.value, "vue-data-ui-zoom-minus": p.value })
|
|
1182
|
+
}, null, 10, Fl),
|
|
1183
1183
|
d("rect", {
|
|
1184
|
-
onClick:
|
|
1184
|
+
onClick: o[7] || (o[7] = (a) => N("BL")),
|
|
1185
1185
|
x: t.value.left,
|
|
1186
1186
|
y: t.value.centerY,
|
|
1187
1187
|
width: t.value.usableWidth / 2 <= 0 ? 1e-3 : t.value.usableWidth / 2,
|
|
1188
1188
|
height: t.value.usableHeight / 2 <= 0 ? 1e-3 : t.value.usableHeight / 2,
|
|
1189
1189
|
fill: "transparent",
|
|
1190
|
-
class:
|
|
1191
|
-
}, null, 10,
|
|
1190
|
+
class: z({ "vue-data-ui-zoom-plus": !p.value, "vue-data-ui-zoom-minus": p.value })
|
|
1191
|
+
}, null, 10, Rl)
|
|
1192
1192
|
]),
|
|
1193
1193
|
e.value.style.chart.layout.labels.plotLabels.showAsTag ? (s(), n(S, { key: 7 }, [
|
|
1194
1194
|
m.value.plotLabels.show ? (s(), n("g", Hl, [
|
|
1195
|
-
(s(!0), n(S, null, Y(
|
|
1195
|
+
(s(!0), n(S, null, Y(T.value, (a, u) => (s(), n(S, null, [
|
|
1196
1196
|
(s(!0), n(S, null, Y(a.series, (r) => (s(), n("foreignObject", {
|
|
1197
1197
|
style: { overflow: "visible" },
|
|
1198
1198
|
height: "10",
|
|
1199
1199
|
width: "100",
|
|
1200
1200
|
x: r.x - 50,
|
|
1201
1201
|
y: r.y - e.value.style.chart.layout.labels.plotLabels.fontSize,
|
|
1202
|
-
onMouseover: (b) => Ie(a, r,
|
|
1203
|
-
onMouseleave: (b) => Ee(r,
|
|
1204
|
-
onClick: (b) => Ue(a, r,
|
|
1202
|
+
onMouseover: (b) => Ie(a, r, u),
|
|
1203
|
+
onMouseleave: (b) => Ee(r, u),
|
|
1204
|
+
onClick: (b) => Ue(a, r, u)
|
|
1205
1205
|
}, [
|
|
1206
1206
|
d("div", {
|
|
1207
1207
|
style: C(`color:${i(It)(a.color)};margin: 0 auto; font-size:${e.value.style.chart.layout.labels.plotLabels.fontSize}px; text-align:center;background:${a.color}; padding: 2px 4px; border-radius: 12px; height: fit-content;`)
|
|
@@ -1210,7 +1210,7 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
1210
1210
|
], 64))), 256))
|
|
1211
1211
|
])) : h("", !0)
|
|
1212
1212
|
], 64)) : (s(), n(S, { key: 6 }, [
|
|
1213
|
-
(s(!0), n(S, null, Y(
|
|
1213
|
+
(s(!0), n(S, null, Y(T.value, (a, u) => (s(), n("g", null, [
|
|
1214
1214
|
(s(!0), n(S, null, Y(a.series, (r) => (s(), X(rt, {
|
|
1215
1215
|
color: a.color,
|
|
1216
1216
|
isSelected: ae.value && r.uid === ae.value,
|
|
@@ -1219,37 +1219,37 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
1219
1219
|
shape: a.shape,
|
|
1220
1220
|
stroke: e.value.style.chart.layout.plots.outline ? e.value.style.chart.layout.plots.outlineColor : "none",
|
|
1221
1221
|
strokeWidth: e.value.style.chart.layout.plots.outlineWidth,
|
|
1222
|
-
onMouseenter: (b) => Ie(a, r,
|
|
1223
|
-
onMouseleave: (b) => Ee(r,
|
|
1224
|
-
onClick: (b) => Ue(a, r,
|
|
1222
|
+
onMouseenter: (b) => Ie(a, r, u),
|
|
1223
|
+
onMouseleave: (b) => Ee(r, u),
|
|
1224
|
+
onClick: (b) => Ue(a, r, u)
|
|
1225
1225
|
}, null, 8, ["color", "isSelected", "plot", "radius", "shape", "stroke", "strokeWidth", "onMouseenter", "onMouseleave", "onClick"]))), 256))
|
|
1226
1226
|
]))), 256)),
|
|
1227
1227
|
m.value.plotLabels.show ? (s(), n("g", Pl, [
|
|
1228
|
-
(s(!0), n(S, null, Y(
|
|
1229
|
-
(s(!0), n(S, null, Y(a.series, (
|
|
1230
|
-
String(
|
|
1228
|
+
(s(!0), n(S, null, Y(T.value, (a) => (s(), n("g", null, [
|
|
1229
|
+
(s(!0), n(S, null, Y(a.series, (u) => (s(), n("g", null, [
|
|
1230
|
+
String(u.name).includes(`
|
|
1231
1231
|
`) ? (s(), n("text", {
|
|
1232
1232
|
key: 1,
|
|
1233
|
-
x:
|
|
1234
|
-
y:
|
|
1233
|
+
x: u.x,
|
|
1234
|
+
y: u.y + e.value.style.chart.layout.labels.plotLabels.offsetY + e.value.style.chart.layout.plots.radius,
|
|
1235
1235
|
"text-anchor": "middle",
|
|
1236
1236
|
"font-size": e.value.style.chart.layout.labels.plotLabels.fontSize / (p.value ? 1.5 : 1),
|
|
1237
1237
|
fill: e.value.style.chart.layout.labels.plotLabels.color,
|
|
1238
1238
|
innerHTML: i(Ht)({
|
|
1239
|
-
content: String(
|
|
1239
|
+
content: String(u.name),
|
|
1240
1240
|
fontSize: e.value.style.chart.layout.labels.plotLabels.fontSize / (p.value ? 1.5 : 1),
|
|
1241
1241
|
fill: e.value.style.chart.layout.labels.plotLabels.color,
|
|
1242
|
-
x:
|
|
1243
|
-
y:
|
|
1242
|
+
x: u.x,
|
|
1243
|
+
y: u.y + e.value.style.chart.layout.labels.plotLabels.offsetY + e.value.style.chart.layout.plots.radius
|
|
1244
1244
|
})
|
|
1245
1245
|
}, null, 8, Dl)) : (s(), n("text", {
|
|
1246
1246
|
key: 0,
|
|
1247
|
-
x:
|
|
1248
|
-
y:
|
|
1247
|
+
x: u.x,
|
|
1248
|
+
y: u.y + e.value.style.chart.layout.labels.plotLabels.offsetY + e.value.style.chart.layout.plots.radius,
|
|
1249
1249
|
"text-anchor": "middle",
|
|
1250
1250
|
"font-size": e.value.style.chart.layout.labels.plotLabels.fontSize / (p.value ? 1.5 : 1),
|
|
1251
1251
|
fill: e.value.style.chart.layout.labels.plotLabels.color
|
|
1252
|
-
}, k(
|
|
1252
|
+
}, k(u.name), 9, Vl))
|
|
1253
1253
|
]))), 256))
|
|
1254
1254
|
]))), 256))
|
|
1255
1255
|
])) : h("", !0)
|
|
@@ -1298,8 +1298,8 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
1298
1298
|
width: "20",
|
|
1299
1299
|
fill: _.value[c.value].tl.fill,
|
|
1300
1300
|
style: C(`cursor: pointer; opacity: ${c.value === "TL" ? 1 : 0.2}`),
|
|
1301
|
-
onClick:
|
|
1302
|
-
class:
|
|
1301
|
+
onClick: o[8] || (o[8] = (a) => N("TL")),
|
|
1302
|
+
class: z({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": c.value !== "TL" })
|
|
1303
1303
|
}, null, 14, ea),
|
|
1304
1304
|
d("rect", {
|
|
1305
1305
|
x: _.value[c.value].tr.x,
|
|
@@ -1308,8 +1308,8 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
1308
1308
|
width: "20",
|
|
1309
1309
|
fill: _.value[c.value].tr.fill,
|
|
1310
1310
|
style: C(`cursor: pointer; opacity: ${c.value === "TR" ? 1 : 0.2}`),
|
|
1311
|
-
onClick:
|
|
1312
|
-
class:
|
|
1311
|
+
onClick: o[9] || (o[9] = (a) => N("TR")),
|
|
1312
|
+
class: z({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": c.value !== "TR" })
|
|
1313
1313
|
}, null, 14, ta),
|
|
1314
1314
|
d("rect", {
|
|
1315
1315
|
x: _.value[c.value].br.x,
|
|
@@ -1318,8 +1318,8 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
1318
1318
|
width: "20",
|
|
1319
1319
|
fill: _.value[c.value].br.fill,
|
|
1320
1320
|
style: C(`cursor: pointer; opacity: ${c.value === "BR" ? 1 : 0.2}`),
|
|
1321
|
-
onClick:
|
|
1322
|
-
class:
|
|
1321
|
+
onClick: o[10] || (o[10] = (a) => N("BR")),
|
|
1322
|
+
class: z({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": c.value !== "BR" })
|
|
1323
1323
|
}, null, 14, la),
|
|
1324
1324
|
d("rect", {
|
|
1325
1325
|
x: _.value[c.value].bl.x,
|
|
@@ -1328,21 +1328,21 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
1328
1328
|
width: "20",
|
|
1329
1329
|
fill: _.value[c.value].bl.fill,
|
|
1330
1330
|
style: C(`cursor: pointer; opacity: ${c.value === "BL" ? 1 : 0.2}`),
|
|
1331
|
-
onClick:
|
|
1332
|
-
class:
|
|
1331
|
+
onClick: o[11] || (o[11] = (a) => N("BL")),
|
|
1332
|
+
class: z({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": c.value !== "BL" })
|
|
1333
1333
|
}, null, 14, aa),
|
|
1334
1334
|
d("path", {
|
|
1335
1335
|
class: "vue-ui-quadrant-minimap-crosshairs",
|
|
1336
1336
|
stroke: e.value.style.chart.backgroundColor,
|
|
1337
1337
|
"stroke-width": 1,
|
|
1338
1338
|
d: _.value[c.value].crosshairs.horizontal
|
|
1339
|
-
}, null, 8,
|
|
1339
|
+
}, null, 8, oa),
|
|
1340
1340
|
d("path", {
|
|
1341
1341
|
class: "vue-ui-quadrant-minimap-crosshairs",
|
|
1342
1342
|
stroke: e.value.style.chart.backgroundColor,
|
|
1343
1343
|
"stroke-width": 1,
|
|
1344
1344
|
d: _.value[c.value].crosshairs.vertical
|
|
1345
|
-
}, null, 8,
|
|
1345
|
+
}, null, 8, ua)
|
|
1346
1346
|
])) : h("", !0),
|
|
1347
1347
|
$(l.$slots, "svg", { svg: t.value }, void 0, !0)
|
|
1348
1348
|
], 14, il)),
|
|
@@ -1352,7 +1352,7 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
1352
1352
|
d("div", {
|
|
1353
1353
|
id: `legend-bottom-${w.value}`
|
|
1354
1354
|
}, null, 8, ra),
|
|
1355
|
-
|
|
1355
|
+
Te.value ? (s(), X(zt, {
|
|
1356
1356
|
key: 5,
|
|
1357
1357
|
to: e.value.style.chart.legend.position === "top" ? `#legend-top-${w.value}` : `#legend-bottom-${w.value}`
|
|
1358
1358
|
}, [
|
|
@@ -1364,12 +1364,12 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
1364
1364
|
key: `legend_${Se.value}`,
|
|
1365
1365
|
legendSet: De.value,
|
|
1366
1366
|
config: _t.value,
|
|
1367
|
-
onClickMarker:
|
|
1367
|
+
onClickMarker: o[12] || (o[12] = ({ legend: a }) => ye(a.id))
|
|
1368
1368
|
}, {
|
|
1369
1369
|
item: g(({ legend: a }) => [
|
|
1370
|
-
i(
|
|
1370
|
+
i(ze) ? h("", !0) : (s(), n("div", {
|
|
1371
1371
|
key: 0,
|
|
1372
|
-
onClick: (
|
|
1372
|
+
onClick: (u) => ye(a.id),
|
|
1373
1373
|
style: C(`opacity:${B.value.includes(a.id) ? 0.5 : 1}`)
|
|
1374
1374
|
}, k(a.name), 13, na))
|
|
1375
1375
|
]),
|
|
@@ -1404,7 +1404,9 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
1404
1404
|
isFullscreen: D.value,
|
|
1405
1405
|
isCustom: e.value.style.chart.tooltip.customFormat && typeof e.value.style.chart.tooltip.customFormat == "function",
|
|
1406
1406
|
smooth: e.value.style.chart.tooltip.smooth,
|
|
1407
|
-
backdropFilter: e.value.style.chart.tooltip.backdropFilter
|
|
1407
|
+
backdropFilter: e.value.style.chart.tooltip.backdropFilter,
|
|
1408
|
+
smoothForce: e.value.style.chart.tooltip.smoothForce,
|
|
1409
|
+
smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThreshold
|
|
1408
1410
|
}, {
|
|
1409
1411
|
"tooltip-before": g(() => [
|
|
1410
1412
|
$(l.$slots, "tooltip-before", U(G({ ...be.value })), void 0, !0)
|
|
@@ -1416,8 +1418,8 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
1416
1418
|
e.value.style.chart.tooltip.showShape ? (s(), n("svg", ia, [
|
|
1417
1419
|
se(rt, {
|
|
1418
1420
|
plot: { x: 10, y: 10 },
|
|
1419
|
-
shape:
|
|
1420
|
-
color:
|
|
1421
|
+
shape: oe.value.shape,
|
|
1422
|
+
color: oe.value.color,
|
|
1421
1423
|
radius: 8,
|
|
1422
1424
|
stroke: e.value.style.chart.layout.plots.outline ? e.value.style.chart.layout.plots.outlineColor : "none",
|
|
1423
1425
|
"stroke-width": e.value.style.chart.layout.plots.outlineWidth
|
|
@@ -1425,7 +1427,7 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
1425
1427
|
])) : h("", !0)
|
|
1426
1428
|
]),
|
|
1427
1429
|
_: 3
|
|
1428
|
-
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter"]),
|
|
1430
|
+
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
|
|
1429
1431
|
xe.value ? (s(), X(At(K.value.component), Wt({ key: 7 }, K.value.props, {
|
|
1430
1432
|
ref_key: "tableUnit",
|
|
1431
1433
|
ref: J,
|
|
@@ -1468,7 +1470,7 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
1468
1470
|
d("button", {
|
|
1469
1471
|
tabindex: "0",
|
|
1470
1472
|
class: "vue-ui-user-options-button",
|
|
1471
|
-
onClick:
|
|
1473
|
+
onClick: o[13] || (o[13] = (a) => fe(e.value.userOptions.callbacks.csv))
|
|
1472
1474
|
}, [
|
|
1473
1475
|
se(i(dt), {
|
|
1474
1476
|
name: "excel",
|
|
@@ -1479,10 +1481,10 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
1479
1481
|
key: "1"
|
|
1480
1482
|
} : void 0
|
|
1481
1483
|
]), 1040)) : h("", !0),
|
|
1482
|
-
i(
|
|
1484
|
+
i(ze) ? (s(), X(ul, { key: 8 })) : h("", !0)
|
|
1483
1485
|
], 46, rl));
|
|
1484
1486
|
}
|
|
1485
|
-
}, _a = /* @__PURE__ */ sl(ca, [["__scopeId", "data-v-
|
|
1487
|
+
}, _a = /* @__PURE__ */ sl(ca, [["__scopeId", "data-v-31d78660"]]);
|
|
1486
1488
|
export {
|
|
1487
1489
|
_a as default
|
|
1488
1490
|
};
|