vue-data-ui 2.12.6 → 2.12.7-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Arrow-Bd9ZVBnX.js → Arrow-CmqjRRUl.js} +1 -1
- package/dist/BaseDraggableDialog-BMlyvt7E.js +180 -0
- package/dist/{BaseIcon-CNbwMh_-.js → BaseIcon-CZdMutjs.js} +1 -1
- package/dist/{ColorPicker-B_FoQwtO.js → ColorPicker-DvVKgyAl.js} +23 -24
- package/dist/{DataTable-Rajdtaf6.js → DataTable-Cv9CIz-a.js} +11 -11
- package/dist/{Legend-BxtDQCIv.js → Legend-DFunFf8i.js} +8 -8
- package/dist/NonSvgPenAndPaper-pVuHj6_A.js +467 -0
- package/dist/PackageVersion-CLY-udAA.js +10 -0
- package/dist/{PenAndPaper-BkP3J-Ft.js → PenAndPaper-B9na2mbr.js} +8 -10
- package/dist/RecursiveCircles-Dn3TGoL6.js +96 -0
- package/dist/RecursiveLabels-NTMB9w5C.js +49 -0
- package/dist/RecursiveLinks-ld_gDZH4.js +64 -0
- package/dist/{Shape-C69a0f29.js → Shape-D3w9qas1.js} +2 -2
- package/dist/{Slicer-7qFdY-bT.js → Slicer-ncY8krrM.js} +2 -2
- package/dist/SparkTooltip-CwThutH2.js +68 -0
- package/dist/{Title-CzaCeCOm.js → Title-B5qqUI3M.js} +2 -2
- package/dist/Tooltip-C9rxJ-Ru.js +149 -0
- package/dist/{usePrinter-C5bLp34h.js → UserOptions-Ddy6CuLC.js} +172 -231
- package/dist/{dom-to-png-Bm0D0yPL.js → dom-to-png-DDlooC9r.js} +1 -1
- package/dist/{img-BN9AzqUr.js → img-m9g7lR5d.js} +1 -1
- package/dist/{index-BFzQMJda.js → index-BiHmNd1-.js} +21 -21
- package/dist/{pdf-uTbs813M.js → pdf-BqM953uL.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/useChartAccessibility-9icAAmYg.js +12 -0
- package/dist/useMouse-AicQS8Vf.js +13 -0
- package/dist/{useNestedProp-v7KPpwuP.js → useNestedProp-tRqS0ZAM.js} +1 -1
- package/dist/{usePanZoom-CUkkqW81.js → usePanZoom-BQMvRXEQ.js} +16 -17
- package/dist/usePrinter-CRCbl1WG.js +53 -0
- package/dist/vClickOutside-C6WiFswA.js +13 -0
- package/dist/{vue-data-ui-D1k8FeRp.js → vue-data-ui-D9uTDt73.js} +63 -63
- package/dist/vue-data-ui.js +19 -19
- package/dist/{vue-ui-3d-bar-DoklA4DT.js → vue-ui-3d-bar-rtuSc8FS.js} +397 -402
- package/dist/{vue-ui-accordion-BUz4JIIX.js → vue-ui-accordion-CmCs2yR2.js} +3 -3
- package/dist/{vue-ui-age-pyramid-4kyBq-Dy.js → vue-ui-age-pyramid-BrzMSiyu.js} +215 -218
- package/dist/{vue-ui-annotator-Bq1ZeFfb.js → vue-ui-annotator-CYxmTpf6.js} +2 -2
- package/dist/{vue-ui-bullet-DU10avvA.js → vue-ui-bullet-D25qNQfb.js} +137 -140
- package/dist/{vue-ui-candlestick-BI1t3flz.js → vue-ui-candlestick-BuerNa-r.js} +265 -271
- package/dist/{vue-ui-carousel-table-VowLf_oc.js → vue-ui-carousel-table-aN0HLsOO.js} +137 -137
- package/dist/{vue-ui-chestnut-BHjV3d94.js → vue-ui-chestnut-oUj2ocsZ.js} +397 -400
- package/dist/{vue-ui-chord-CPr7r-2_.js → vue-ui-chord-C4evlXYB.js} +356 -365
- package/dist/vue-ui-circle-pack-CWrNiKTY.js +656 -0
- package/dist/{vue-ui-cursor-C9teAbVI.js → vue-ui-cursor-DgpSttlt.js} +2 -2
- package/dist/{vue-ui-dashboard-CwDYB8tP.js → vue-ui-dashboard-BN2ha1Eh.js} +62 -62
- package/dist/{vue-ui-digits-CHmkL0hn.js → vue-ui-digits-BhjAxXgm.js} +2 -2
- package/dist/vue-ui-donut-D3_z61HI.js +1291 -0
- package/dist/vue-ui-donut-evolution-oKtmZPx4.js +864 -0
- package/dist/{vue-ui-dumbbell-DTKLLd1N.js → vue-ui-dumbbell-C8Lokx-F.js} +265 -270
- package/dist/{vue-ui-flow-BLBhsU2n.js → vue-ui-flow-BVRkH0PS.js} +291 -300
- package/dist/{vue-ui-funnel-CIrWdeBk.js → vue-ui-funnel-DFxcmAB5.js} +216 -219
- package/dist/{vue-ui-galaxy-ByhKyIV4.js → vue-ui-galaxy-CGE0hlBC.js} +227 -235
- package/dist/{vue-ui-gauge-BbfBMpng.js → vue-ui-gauge-B48eMvOR.js} +240 -243
- package/dist/{vue-ui-gizmo-BM-_QfHM.js → vue-ui-gizmo-zTKNpjvv.js} +57 -58
- package/dist/{vue-ui-heatmap-BA4z4hsw.js → vue-ui-heatmap-UNfTt8SM.js} +239 -242
- package/dist/{vue-ui-history-plot-8vM_IUy8.js → vue-ui-history-plot-CbCWmvtg.js} +257 -262
- package/dist/{vue-ui-kpi-D57QLK6A.js → vue-ui-kpi-Drf_lrlh.js} +29 -30
- package/dist/{vue-ui-mini-loader-CR4c-xJQ.js → vue-ui-mini-loader-DU3G6BVs.js} +2 -2
- package/dist/vue-ui-molecule-B5MOXYEA.js +580 -0
- package/dist/{vue-ui-mood-radar-Brc9cxoD.js → vue-ui-mood-radar-CC_CVLvn.js} +180 -186
- package/dist/{vue-ui-nested-donuts-W3Z5F--L.js → vue-ui-nested-donuts-D_H962kk.js} +366 -374
- package/dist/{vue-ui-onion-BNBlGNlF.js → vue-ui-onion-P8k6T724.js} +252 -258
- package/dist/{vue-ui-parallel-coordinate-plot-B5G3jyvg.js → vue-ui-parallel-coordinate-plot-B5Los0vX.js} +296 -303
- package/dist/{vue-ui-quadrant-CUy9mVIA.js → vue-ui-quadrant-B3wzCTxK.js} +402 -409
- package/dist/{vue-ui-quick-chart-D4_8mRXU.js → vue-ui-quick-chart-oucj6hXk.js} +611 -616
- package/dist/{vue-ui-radar-BUk56jGL.js → vue-ui-radar-Cjqlyu6d.js} +270 -277
- package/dist/{vue-ui-rating-B9TQl5KP.js → vue-ui-rating-gryk_h_6.js} +2 -2
- package/dist/vue-ui-relation-circle-ielvWC-1.js +525 -0
- package/dist/{vue-ui-ridgeline-Cl06bGom.js → vue-ui-ridgeline-Dydqo68b.js} +321 -326
- package/dist/{vue-ui-rings-B6bpFlFp.js → vue-ui-rings-BRBXektJ.js} +262 -269
- package/dist/{vue-ui-scatter--WUuVw5G.js → vue-ui-scatter-Df-BM7Ts.js} +372 -379
- package/dist/{vue-ui-skeleton-B_YI7Yuc.js → vue-ui-skeleton-CbYQYRvD.js} +19 -19
- package/dist/{vue-ui-smiley-Bbam2fDz.js → vue-ui-smiley-BfHaQMaW.js} +2 -2
- package/dist/{vue-ui-spark-trend-DavXuwGt.js → vue-ui-spark-trend-z3fUChs_.js} +114 -117
- package/dist/{vue-ui-sparkbar-9N1FU9-J.js → vue-ui-sparkbar-ChtFIugH.js} +104 -106
- package/dist/{vue-ui-sparkgauge-_9ntq4EK.js → vue-ui-sparkgauge-DtpODCww.js} +72 -74
- package/dist/{vue-ui-sparkhistogram-BEzOV4HV.js → vue-ui-sparkhistogram-C3XnYiXI.js} +83 -86
- package/dist/vue-ui-sparkline-CoL8jiX8.js +459 -0
- package/dist/{vue-ui-sparkstackbar-BSWcs3v0.js → vue-ui-sparkstackbar-CYk3mZJH.js} +102 -105
- package/dist/{vue-ui-stackbar-gG5BLlAr.js → vue-ui-stackbar-D9LGbuG5.js} +433 -437
- package/dist/{vue-ui-strip-plot-BJouRmxh.js → vue-ui-strip-plot-C5r1Ee2R.js} +245 -252
- package/dist/{vue-ui-table-D9Ry8s4N.js → vue-ui-table-DBaT_TfA.js} +3 -3
- package/dist/{vue-ui-table-heatmap-Bizzpi31.js → vue-ui-table-heatmap-CYW4YfKN.js} +93 -94
- package/dist/{vue-ui-table-sparkline-Dg54Ovs2.js → vue-ui-table-sparkline-Di0MYR4p.js} +212 -212
- package/dist/{vue-ui-thermometer-6MSdF_Gm.js → vue-ui-thermometer-BF1btHY2.js} +154 -157
- package/dist/{vue-ui-timer-ByaKokk8.js → vue-ui-timer-D9FfRWN5.js} +180 -181
- package/dist/vue-ui-tiremarks-CQ0lk8fJ.js +341 -0
- package/dist/vue-ui-treemap-1Lx7YRtc.js +947 -0
- package/dist/{vue-ui-vertical-bar-CE4oBwBv.js → vue-ui-vertical-bar-DdVVQ1ED.js} +397 -403
- package/dist/{vue-ui-waffle-DNEEnY_G.js → vue-ui-waffle-BhnuPiRD.js} +317 -324
- package/dist/vue-ui-wheel-BIjJ0fg8.js +335 -0
- package/dist/vue-ui-word-cloud-3-r8HwO_.js +642 -0
- package/dist/{vue-ui-world-Brhq17TE.js → vue-ui-world-CPIGEswq.js} +430 -442
- package/dist/{vue-ui-xy-K2G7QQxG.js → vue-ui-xy-9e_epIN4.js} +845 -846
- package/dist/vue-ui-xy-canvas-DcGgQ7s4.js +1206 -0
- package/package.json +6 -6
- package/dist/BaseDraggableDialog-Bzwlfmy1.js +0 -186
- package/dist/PackageVersion-BjrblLPQ.js +0 -10
- package/dist/Tooltip-CWmRmhJr.js +0 -158
- package/dist/useChartAccessibility-BWojgys7.js +0 -13
- package/dist/vue-ui-circle-pack-D_jYpsuD.js +0 -659
- package/dist/vue-ui-donut-WRUDvvZa.js +0 -1292
- package/dist/vue-ui-donut-evolution-BQxV5D_L.js +0 -871
- package/dist/vue-ui-molecule-Bq69N7rC.js +0 -782
- package/dist/vue-ui-relation-circle-T6aTibIU.js +0 -528
- package/dist/vue-ui-sparkline-D__GCUAz.js +0 -519
- package/dist/vue-ui-tiremarks-Z8pjUT1g.js +0 -344
- package/dist/vue-ui-treemap-pRJ3be5l.js +0 -956
- package/dist/vue-ui-wheel-DWPYZxdT.js +0 -338
- package/dist/vue-ui-word-cloud-DAR7R8F8.js +0 -648
- package/dist/vue-ui-xy-canvas-ml44sPHS.js +0 -1673
|
@@ -1,35 +1,28 @@
|
|
|
1
|
-
import { computed as g, ref as y, watch as
|
|
2
|
-
import { u as
|
|
3
|
-
import { t as
|
|
4
|
-
import {
|
|
5
|
-
import { u as
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
|
|
12
|
-
import { u as Ue } from "./useNestedProp-v7KPpwuP.js";
|
|
13
|
-
import { _ as At } from "./PackageVersion-BjrblLPQ.js";
|
|
14
|
-
import { _ as Mt } from "./PenAndPaper-BkP3J-Ft.js";
|
|
15
|
-
import { u as Nt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
16
|
-
import { u as Ot } from "./useChartAccessibility-BWojgys7.js";
|
|
17
|
-
import { _ as Rt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
18
|
-
const Vt = ["id"], Bt = ["xmlns", "viewBox", "id"], Ft = ["x", "y", "width", "height"], Pt = ["id"], Ht = ["stop-color"], It = ["stop-color"], Ut = { key: 1 }, Dt = ["fill", "x", "y", "height", "width", "stroke-width", "stroke", "rx"], Et = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Gt = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Qt = { key: 2 }, Jt = ["points", "fill"], jt = ["points", "fill"], Zt = ["points", "fill"], Kt = ["points", "fill"], el = { key: 3 }, tl = ["y", "fill", "font-size"], ll = ["x", "y", "fill", "font-size"], al = ["x", "y", "fill", "font-size"], ul = ["y", "fill", "font-size"], ol = { key: 4 }, sl = ["x", "y", "font-size", "fill"], rl = ["x", "y", "font-size", "fill"], nl = ["x", "y", "font-size", "fill"], il = ["id", "font-size", "transform", "fill"], vl = ["id", "font-size", "transform", "fill"], dl = ["id", "font-size", "transform", "fill"], cl = { key: 5 }, hl = ["fill", "points"], yl = ["x", "y", "width", "height"], bl = ["x", "y", "width", "height"], fl = ["x", "y", "width", "height"], pl = ["x", "y", "width", "height"], gl = {
|
|
1
|
+
import { defineAsyncComponent as O, computed as g, ref as y, watch as Ee, shallowRef as Ue, onMounted as yt, onBeforeUnmount as bt, createElementBlock as n, openBlock as o, unref as i, normalizeStyle as q, normalizeClass as T, createBlock as R, createCommentVNode as h, createElementVNode as c, createVNode as ce, createSlots as ft, withCtx as m, renderSlot as x, normalizeProps as E, guardReactiveProps as U, Fragment as C, renderList as Y, toDisplayString as L, createTextVNode as pt, nextTick as gt } from "vue";
|
|
2
|
+
import { u as mt, c as De, t as xt, p as he, a as $t, o as kt, e as D, b as Lt, d as wt, W as qt, i as V, f as P, X as _t, s as oe, w as Ct, Y as St, G as zt, q as Tt, r as Wt, x as Xt, y as Yt } from "./index-BiHmNd1-.js";
|
|
3
|
+
import { t as At, u as Mt } from "./useResponsive-JZ9xq-JV.js";
|
|
4
|
+
import { u as Ge } from "./useNestedProp-tRqS0ZAM.js";
|
|
5
|
+
import { u as Nt } from "./usePrinter-CRCbl1WG.js";
|
|
6
|
+
import { u as Ot } from "./useUserOptionState-BIvW1Kz7.js";
|
|
7
|
+
import { u as Rt } from "./useChartAccessibility-9icAAmYg.js";
|
|
8
|
+
import Vt from "./Title-B5qqUI3M.js";
|
|
9
|
+
import Pt from "./Legend-DFunFf8i.js";
|
|
10
|
+
import { _ as Bt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
11
|
+
const Ft = ["id"], Ht = ["xmlns", "viewBox", "id"], It = ["x", "y", "width", "height"], Et = ["id"], Ut = ["stop-color"], Dt = ["stop-color"], Gt = { key: 1 }, Qt = ["fill", "x", "y", "height", "width", "stroke-width", "stroke", "rx"], Jt = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], jt = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Zt = { key: 2 }, Kt = ["points", "fill"], el = ["points", "fill"], tl = ["points", "fill"], ll = ["points", "fill"], al = { key: 3 }, ul = ["y", "fill", "font-size"], ol = ["x", "y", "fill", "font-size"], sl = ["x", "y", "fill", "font-size"], rl = ["y", "fill", "font-size"], nl = { key: 4 }, il = ["x", "y", "font-size", "fill"], vl = ["x", "y", "font-size", "fill"], dl = ["x", "y", "font-size", "fill"], cl = ["id", "font-size", "transform", "fill"], hl = ["id", "font-size", "transform", "fill"], yl = ["id", "font-size", "transform", "fill"], bl = { key: 5 }, fl = ["fill", "points"], pl = ["x", "y", "width", "height"], gl = ["x", "y", "width", "height"], ml = ["x", "y", "width", "height"], xl = ["x", "y", "width", "height"], $l = {
|
|
19
12
|
key: 0,
|
|
20
13
|
style: { "pointer-events": "none" }
|
|
21
|
-
},
|
|
14
|
+
}, kl = ["x", "y", "font-size", "fill"], Ll = { key: 0 }, wl = ["x", "y", "onMouseover", "onClick"], ql = {
|
|
22
15
|
key: 8,
|
|
23
16
|
class: "vue-ui-dna"
|
|
24
|
-
},
|
|
17
|
+
}, _l = ["points", "fill"], Cl = ["points", "fill"], Sl = ["points", "fill"], zl = ["points", "fill"], Tl = { key: 9 }, Wl = ["x", "y", "font-size", "fill", "font-weight"], Xl = { key: 10 }, Yl = ["x", "y", "fill"], Al = ["x", "y", "fill"], Ml = ["x", "y", "fill"], Nl = ["x", "y", "fill"], Ol = ["stroke", "d"], Rl = ["stroke", "d"], Vl = {
|
|
25
18
|
key: 5,
|
|
26
19
|
class: "vue-data-ui-watermark"
|
|
27
|
-
},
|
|
20
|
+
}, Pl = ["onClick"], Bl = {
|
|
28
21
|
key: 0,
|
|
29
22
|
height: "14",
|
|
30
23
|
width: "14",
|
|
31
24
|
viewBox: "0 0 20 20"
|
|
32
|
-
},
|
|
25
|
+
}, Fl = ["innerHTML"], Hl = {
|
|
33
26
|
__name: "vue-ui-quadrant",
|
|
34
27
|
props: {
|
|
35
28
|
config: {
|
|
@@ -46,45 +39,45 @@ const Vt = ["id"], Bt = ["xmlns", "viewBox", "id"], Ft = ["x", "y", "width", "he
|
|
|
46
39
|
}
|
|
47
40
|
},
|
|
48
41
|
emits: ["selectPlot", "selectSide", "selectLegend"],
|
|
49
|
-
setup(
|
|
50
|
-
const { vue_ui_quadrant:
|
|
51
|
-
get: () =>
|
|
42
|
+
setup(Qe, { expose: Je, emit: je }) {
|
|
43
|
+
const Ze = O(() => import("./DataTable-Cv9CIz-a.js")), ye = O(() => import("./Shape-D3w9qas1.js")), Ke = O(() => import("./PenAndPaper-B9na2mbr.js")), et = O(() => import("./vue-ui-accordion-CmCs2yR2.js")), tt = O(() => import("./vue-ui-skeleton-CbYQYRvD.js")), lt = O(() => import("./Tooltip-C9rxJ-Ru.js")), at = O(() => import("./UserOptions-Ddy6CuLC.js")), ut = O(() => import("./PackageVersion-CLY-udAA.js")), { vue_ui_quadrant: ot } = mt(), W = Qe, K = g(() => !!W.dataset && W.dataset.length), z = y(De()), se = je, st = y(null), ee = y(!1), re = y(""), be = y(0), p = y(!1), G = y(null), fe = y(null), pe = y(null), ge = y(null), me = y(null), xe = y(0), $e = y(0), ke = y(0), t = g({
|
|
44
|
+
get: () => _e(),
|
|
52
45
|
set: (l) => l
|
|
53
|
-
}), { userOptionsVisible:
|
|
54
|
-
function
|
|
55
|
-
const l =
|
|
46
|
+
}), { userOptionsVisible: ne, setUserOptionsVisibility: Le, keepUserOptionState: we } = Ot({ config: t.value }), { svgRef: qe } = Rt({ config: t.value.style.chart.title });
|
|
47
|
+
function _e() {
|
|
48
|
+
const l = Ge({
|
|
56
49
|
userConfig: W.config,
|
|
57
|
-
defaultConfig:
|
|
50
|
+
defaultConfig: ot
|
|
58
51
|
});
|
|
59
52
|
return l.theme ? {
|
|
60
|
-
...
|
|
61
|
-
userConfig:
|
|
53
|
+
...Ge({
|
|
54
|
+
userConfig: $t.vue_ui_quadrant[l.theme] || W.config,
|
|
62
55
|
defaultConfig: l
|
|
63
56
|
}),
|
|
64
|
-
customPalette:
|
|
57
|
+
customPalette: xt[l.theme] || he
|
|
65
58
|
} : l;
|
|
66
59
|
}
|
|
67
|
-
|
|
68
|
-
t.value =
|
|
60
|
+
Ee(() => W.config, (l) => {
|
|
61
|
+
t.value = _e(), ne.value = !t.value.userOptions.showOnChartHover, Ce(), xe.value += 1, $e.value += 1, ke.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;
|
|
69
62
|
}, { deep: !0 });
|
|
70
|
-
const
|
|
71
|
-
function
|
|
72
|
-
if (
|
|
63
|
+
const A = Ue(null), F = Ue(null);
|
|
64
|
+
function Ce() {
|
|
65
|
+
if (kt(W.dataset) ? D({
|
|
73
66
|
componentName: "VueUiQuadrant",
|
|
74
67
|
type: "dataset"
|
|
75
68
|
}) : W.dataset.forEach((l, u) => {
|
|
76
|
-
[null, void 0].includes(l.name) &&
|
|
69
|
+
[null, void 0].includes(l.name) && D({
|
|
77
70
|
componentName: "VueUiQuadrant",
|
|
78
71
|
type: "datasetSerieAttribute",
|
|
79
72
|
property: "name",
|
|
80
73
|
index: u
|
|
81
|
-
}), [null, void 0].includes(l.series) ?
|
|
74
|
+
}), [null, void 0].includes(l.series) ? D({
|
|
82
75
|
componentName: "VueUiQuadrant",
|
|
83
76
|
type: "datasetSerieAttribute",
|
|
84
77
|
property: "series",
|
|
85
78
|
index: u
|
|
86
79
|
}) : l.series.forEach((a, s) => {
|
|
87
|
-
[null, void 0].includes(a.name) &&
|
|
80
|
+
[null, void 0].includes(a.name) && D({
|
|
88
81
|
componentName: "VueUiQuadrant",
|
|
89
82
|
type: "datasetSerieAttribute",
|
|
90
83
|
property: "name",
|
|
@@ -93,31 +86,31 @@ const Vt = ["id"], Bt = ["xmlns", "viewBox", "id"], Ft = ["x", "y", "width", "he
|
|
|
93
86
|
});
|
|
94
87
|
});
|
|
95
88
|
}), t.value.responsive) {
|
|
96
|
-
const l =
|
|
97
|
-
const { width: u, height: a } =
|
|
98
|
-
chart:
|
|
99
|
-
title: t.value.style.chart.title.text ?
|
|
100
|
-
legend: t.value.style.chart.legend.show ?
|
|
101
|
-
source:
|
|
102
|
-
noTitle:
|
|
89
|
+
const l = At(() => {
|
|
90
|
+
const { width: u, height: a } = Mt({
|
|
91
|
+
chart: G.value,
|
|
92
|
+
title: t.value.style.chart.title.text ? fe.value : null,
|
|
93
|
+
legend: t.value.style.chart.legend.show ? pe.value : null,
|
|
94
|
+
source: ge.value,
|
|
95
|
+
noTitle: me.value
|
|
103
96
|
});
|
|
104
97
|
k.value = 48, requestAnimationFrame(() => {
|
|
105
98
|
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;
|
|
106
99
|
});
|
|
107
100
|
});
|
|
108
|
-
|
|
101
|
+
A.value && (F.value && A.value.unobserve(F.value), A.value.disconnect()), A.value = new ResizeObserver(l), F.value = G.value.parentNode, A.value.observe(F.value);
|
|
109
102
|
}
|
|
110
103
|
}
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
}),
|
|
114
|
-
|
|
104
|
+
yt(() => {
|
|
105
|
+
Ce();
|
|
106
|
+
}), bt(() => {
|
|
107
|
+
A.value && (F.value && A.value.unobserve(F.value), A.value.disconnect());
|
|
115
108
|
});
|
|
116
|
-
const { isPrinting:
|
|
109
|
+
const { isPrinting: Se, isImaging: ze, generatePdf: Te, generateImage: We } = Nt({
|
|
117
110
|
elementId: `vue-ui-quadrant_${z.value}`,
|
|
118
111
|
fileName: t.value.style.chart.title.text || "vue-ui-quadrant",
|
|
119
112
|
options: t.value.userOptions.print
|
|
120
|
-
}),
|
|
113
|
+
}), rt = g(() => t.value.userOptions.show && !t.value.style.chart.title.text), Xe = g(() => Lt(t.value.customPalette)), $ = y({
|
|
121
114
|
plotLabels: {
|
|
122
115
|
show: t.value.style.chart.layout.labels.plotLabels.show
|
|
123
116
|
},
|
|
@@ -135,24 +128,24 @@ const Vt = ["id"], Bt = ["xmlns", "viewBox", "id"], Ft = ["x", "y", "width", "he
|
|
|
135
128
|
centerX: t.value.style.chart.width / 2,
|
|
136
129
|
centerY: t.value.style.chart.height - t.value.style.chart.height / 2,
|
|
137
130
|
padding: k.value
|
|
138
|
-
}),
|
|
131
|
+
}), v = y({
|
|
139
132
|
...JSON.parse(JSON.stringify(e.value)),
|
|
140
133
|
startX: 0,
|
|
141
134
|
startY: 0
|
|
142
135
|
});
|
|
143
|
-
|
|
144
|
-
l && (
|
|
136
|
+
Ee(() => e.value, (l) => {
|
|
137
|
+
l && (v.value = {
|
|
145
138
|
...JSON.parse(JSON.stringify(e.value)),
|
|
146
139
|
startX: 0,
|
|
147
140
|
startY: 0
|
|
148
141
|
});
|
|
149
142
|
}, { deep: !0 });
|
|
150
|
-
const
|
|
151
|
-
switch (
|
|
143
|
+
const d = y(null), B = g(() => {
|
|
144
|
+
switch (d.value) {
|
|
152
145
|
case "TL":
|
|
153
146
|
return {
|
|
154
|
-
x:
|
|
155
|
-
y:
|
|
147
|
+
x: v.value.startX + v.value.width / 2,
|
|
148
|
+
y: v.value.height,
|
|
156
149
|
text: t.value.style.chart.layout.labels.quadrantLabels.tl.text || "Top Left",
|
|
157
150
|
fontSize: t.value.style.chart.layout.labels.quadrantLabels.tl.fontSize,
|
|
158
151
|
fill: t.value.style.chart.layout.labels.quadrantLabels.tl.color,
|
|
@@ -160,8 +153,8 @@ const Vt = ["id"], Bt = ["xmlns", "viewBox", "id"], Ft = ["x", "y", "width", "he
|
|
|
160
153
|
};
|
|
161
154
|
case "TR":
|
|
162
155
|
return {
|
|
163
|
-
x:
|
|
164
|
-
y:
|
|
156
|
+
x: v.value.startX + v.value.width / 2,
|
|
157
|
+
y: v.value.height,
|
|
165
158
|
text: t.value.style.chart.layout.labels.quadrantLabels.tr.text || "Top Right",
|
|
166
159
|
fontSize: t.value.style.chart.layout.labels.quadrantLabels.tr.fontSize,
|
|
167
160
|
fill: t.value.style.chart.layout.labels.quadrantLabels.tr.color,
|
|
@@ -169,8 +162,8 @@ const Vt = ["id"], Bt = ["xmlns", "viewBox", "id"], Ft = ["x", "y", "width", "he
|
|
|
169
162
|
};
|
|
170
163
|
case "BR":
|
|
171
164
|
return {
|
|
172
|
-
x:
|
|
173
|
-
y:
|
|
165
|
+
x: v.value.startX + v.value.width / 2,
|
|
166
|
+
y: v.value.height * 1.678,
|
|
174
167
|
text: t.value.style.chart.layout.labels.quadrantLabels.br.text || "Bottom Right",
|
|
175
168
|
fontSize: t.value.style.chart.layout.labels.quadrantLabels.br.fontSize,
|
|
176
169
|
fill: t.value.style.chart.layout.labels.quadrantLabels.br.color,
|
|
@@ -178,8 +171,8 @@ const Vt = ["id"], Bt = ["xmlns", "viewBox", "id"], Ft = ["x", "y", "width", "he
|
|
|
178
171
|
};
|
|
179
172
|
case "BL":
|
|
180
173
|
return {
|
|
181
|
-
x:
|
|
182
|
-
y:
|
|
174
|
+
x: v.value.startX + v.value.width / 2,
|
|
175
|
+
y: v.value.height * 1.678,
|
|
183
176
|
text: t.value.style.chart.layout.labels.quadrantLabels.bl.text || "Bottom Left",
|
|
184
177
|
fontSize: t.value.style.chart.layout.labels.quadrantLabels.bl.fontSize,
|
|
185
178
|
fill: t.value.style.chart.layout.labels.quadrantLabels.bl.color,
|
|
@@ -188,34 +181,34 @@ const Vt = ["id"], Bt = ["xmlns", "viewBox", "id"], Ft = ["x", "y", "width", "he
|
|
|
188
181
|
default:
|
|
189
182
|
return { x: 0, y: 0, text: "", fontSize: 0, fill: "none", bold: !1 };
|
|
190
183
|
}
|
|
191
|
-
}),
|
|
192
|
-
function
|
|
193
|
-
|
|
184
|
+
}), nt = y(null), te = y(!1);
|
|
185
|
+
function Q({ targetX: l, targetY: u, targetW: a, targetH: s, side: r }) {
|
|
186
|
+
d.value && Z(r);
|
|
194
187
|
const b = {
|
|
195
|
-
x: l -
|
|
196
|
-
y: u -
|
|
197
|
-
w: a -
|
|
198
|
-
h: s -
|
|
188
|
+
x: l - v.value.startX,
|
|
189
|
+
y: u - v.value.startY,
|
|
190
|
+
w: a - v.value.width,
|
|
191
|
+
h: s - v.value.height
|
|
199
192
|
}, f = t.value.zoomAnimationFrames;
|
|
200
193
|
let X = 0;
|
|
201
|
-
function
|
|
202
|
-
|
|
194
|
+
function Ie() {
|
|
195
|
+
te.value = !0, v.value.startX += b.x / f, v.value.startY += b.y / f, v.value.width += b.w / f, v.value.height += b.h / f, X += 1, X < f ? nt.value = requestAnimationFrame(Ie) : te.value = !1;
|
|
203
196
|
}
|
|
204
|
-
|
|
197
|
+
Ie();
|
|
205
198
|
}
|
|
206
|
-
function
|
|
207
|
-
if (!
|
|
208
|
-
if (p.value &&
|
|
209
|
-
|
|
199
|
+
function M(l) {
|
|
200
|
+
if (!te.value)
|
|
201
|
+
if (p.value && d.value === l)
|
|
202
|
+
Q({
|
|
210
203
|
targetX: 0,
|
|
211
204
|
targetY: 0,
|
|
212
205
|
targetW: e.value.width,
|
|
213
206
|
targetH: e.value.height
|
|
214
|
-
}),
|
|
207
|
+
}), d.value = null, p.value = !1;
|
|
215
208
|
else {
|
|
216
|
-
switch (
|
|
209
|
+
switch (d.value = l, l) {
|
|
217
210
|
case "TL":
|
|
218
|
-
|
|
211
|
+
Q({
|
|
219
212
|
targetX: 0,
|
|
220
213
|
targetY: 0,
|
|
221
214
|
targetW: e.value.width / 2 + e.value.left,
|
|
@@ -224,7 +217,7 @@ const Vt = ["id"], Bt = ["xmlns", "viewBox", "id"], Ft = ["x", "y", "width", "he
|
|
|
224
217
|
});
|
|
225
218
|
break;
|
|
226
219
|
case "TR":
|
|
227
|
-
|
|
220
|
+
Q({
|
|
228
221
|
targetX: e.value.width / 2 - e.value.left,
|
|
229
222
|
targetY: 0,
|
|
230
223
|
targetW: e.value.width / 2 + e.value.left,
|
|
@@ -233,7 +226,7 @@ const Vt = ["id"], Bt = ["xmlns", "viewBox", "id"], Ft = ["x", "y", "width", "he
|
|
|
233
226
|
});
|
|
234
227
|
break;
|
|
235
228
|
case "BR":
|
|
236
|
-
|
|
229
|
+
Q({
|
|
237
230
|
targetX: e.value.width / 2 - e.value.left,
|
|
238
231
|
targetY: e.value.height / 2 - e.value.top,
|
|
239
232
|
targetW: e.value.width / 2 + e.value.left,
|
|
@@ -242,7 +235,7 @@ const Vt = ["id"], Bt = ["xmlns", "viewBox", "id"], Ft = ["x", "y", "width", "he
|
|
|
242
235
|
});
|
|
243
236
|
break;
|
|
244
237
|
case "BL":
|
|
245
|
-
|
|
238
|
+
Q({
|
|
246
239
|
targetX: 0,
|
|
247
240
|
targetY: e.value.height / 2 - e.value.top,
|
|
248
241
|
targetW: e.value.width / 2 + e.value.left,
|
|
@@ -251,13 +244,13 @@ const Vt = ["id"], Bt = ["xmlns", "viewBox", "id"], Ft = ["x", "y", "width", "he
|
|
|
251
244
|
});
|
|
252
245
|
break;
|
|
253
246
|
default:
|
|
254
|
-
|
|
247
|
+
v.value.startX = 0, v.value.startY = 0, v.value.width = e.value.width, v.value.height = e.value.height;
|
|
255
248
|
break;
|
|
256
249
|
}
|
|
257
250
|
p.value = !0;
|
|
258
251
|
}
|
|
259
252
|
}
|
|
260
|
-
const
|
|
253
|
+
const it = g(() => {
|
|
261
254
|
const l = t.value.style.chart.layout.grid.graduations.steps, u = e.value.usableWidth / (l * 2), a = e.value.top, s = [];
|
|
262
255
|
for (let r = 0; r < l; r += 1)
|
|
263
256
|
s.push({
|
|
@@ -270,7 +263,7 @@ const Vt = ["id"], Bt = ["xmlns", "viewBox", "id"], Ft = ["x", "y", "width", "he
|
|
|
270
263
|
return s;
|
|
271
264
|
}), _ = g(() => {
|
|
272
265
|
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, s = t.value.style.chart.layout.grid.yAxis.min;
|
|
273
|
-
return t.value.style.chart.layout.grid.xAxis.auto && (l = Math.max(...
|
|
266
|
+
return t.value.style.chart.layout.grid.xAxis.auto && (l = Math.max(...H.value.flatMap((r) => r.series.map((b) => b.x))), u = Math.min(...H.value.flatMap((r) => r.series.map((b) => b.x)))), t.value.style.chart.layout.grid.yAxis.auto && (a = Math.max(...H.value.flatMap((r) => r.series.map((b) => b.y))), s = Math.min(...H.value.flatMap((r) => r.series.map((b) => b.y)))), {
|
|
274
267
|
x: {
|
|
275
268
|
max: l,
|
|
276
269
|
min: u
|
|
@@ -280,37 +273,37 @@ const Vt = ["id"], Bt = ["xmlns", "viewBox", "id"], Ft = ["x", "y", "width", "he
|
|
|
280
273
|
min: s
|
|
281
274
|
}
|
|
282
275
|
};
|
|
283
|
-
}),
|
|
276
|
+
}), N = y([]), H = g(() => W.dataset.map((l, u) => ({
|
|
284
277
|
...l,
|
|
285
|
-
series:
|
|
278
|
+
series: qt({
|
|
286
279
|
data: l.series,
|
|
287
280
|
threshold: t.value.downsample.threshold
|
|
288
281
|
}),
|
|
289
282
|
id: `cat_${u}_${z.value}`,
|
|
290
|
-
color:
|
|
291
|
-
}))),
|
|
283
|
+
color: wt(l.color) || Xe.value[u] || he[u]
|
|
284
|
+
}))), vt = g(() => H.value.filter((l) => !N.value.includes(l.id))), dt = g(() => H.value.map((l, u) => ({
|
|
292
285
|
...l,
|
|
293
286
|
shape: l.shape || "circle",
|
|
294
287
|
series: l.series.map((a) => ({
|
|
295
288
|
...a,
|
|
296
|
-
x:
|
|
297
|
-
y:
|
|
289
|
+
x: Ye(a.x),
|
|
290
|
+
y: Ae(a.y),
|
|
298
291
|
xValue: a.x,
|
|
299
292
|
yValue: a.y,
|
|
300
|
-
quadrantSide:
|
|
293
|
+
quadrantSide: Ne({ x: a.x, y: a.y }),
|
|
301
294
|
categoryName: l.name,
|
|
302
295
|
shape: l.shape,
|
|
303
296
|
color: l.color
|
|
304
297
|
}))
|
|
305
298
|
}))), S = g(() => (W.dataset.forEach((l, u) => {
|
|
306
299
|
l.series.forEach((a, s) => {
|
|
307
|
-
[null, void 0].includes(a.x) &&
|
|
300
|
+
[null, void 0].includes(a.x) && D({
|
|
308
301
|
componentName: "VueUiQuadrant",
|
|
309
302
|
type: "datasetSerieAttribute",
|
|
310
303
|
property: "x",
|
|
311
304
|
key: "series",
|
|
312
305
|
index: s
|
|
313
|
-
}), [null, void 0].includes(a.y) &&
|
|
306
|
+
}), [null, void 0].includes(a.y) && D({
|
|
314
307
|
componentName: "VueUiQuadrant",
|
|
315
308
|
type: "datasetSerieAttribute",
|
|
316
309
|
property: "y",
|
|
@@ -318,24 +311,24 @@ const Vt = ["id"], Bt = ["xmlns", "viewBox", "id"], Ft = ["x", "y", "width", "he
|
|
|
318
311
|
index: s
|
|
319
312
|
});
|
|
320
313
|
});
|
|
321
|
-
}),
|
|
314
|
+
}), vt.value.map((l, u) => ({
|
|
322
315
|
...l,
|
|
323
316
|
shape: l.shape || "circle",
|
|
324
|
-
color: l.color ||
|
|
317
|
+
color: l.color || Xe.value[u] || he[u],
|
|
325
318
|
series: l.series.map((a) => ({
|
|
326
319
|
...a,
|
|
327
|
-
x:
|
|
328
|
-
y:
|
|
320
|
+
x: Ye(a.x),
|
|
321
|
+
y: Ae(a.y),
|
|
329
322
|
xValue: a.x,
|
|
330
323
|
yValue: a.y,
|
|
331
|
-
quadrantSide:
|
|
324
|
+
quadrantSide: Ne({ x: a.x, y: a.y }),
|
|
332
325
|
categoryName: l.name,
|
|
333
326
|
shape: l.shape,
|
|
334
327
|
color: l.color,
|
|
335
|
-
uid:
|
|
328
|
+
uid: De()
|
|
336
329
|
}))
|
|
337
330
|
}))));
|
|
338
|
-
function
|
|
331
|
+
function Ye(l) {
|
|
339
332
|
if (l >= 0) {
|
|
340
333
|
const u = l / _.value.x.max;
|
|
341
334
|
return e.value.centerX + e.value.usableWidth / 2 * u;
|
|
@@ -344,7 +337,7 @@ const Vt = ["id"], Bt = ["xmlns", "viewBox", "id"], Ft = ["x", "y", "width", "he
|
|
|
344
337
|
return e.value.centerX - e.value.usableWidth / 2 * u;
|
|
345
338
|
}
|
|
346
339
|
}
|
|
347
|
-
function
|
|
340
|
+
function Ae(l) {
|
|
348
341
|
if (l >= 0) {
|
|
349
342
|
const u = l / _.value.y.max;
|
|
350
343
|
return e.value.centerY + (1 - e.value.usableHeight / 2 * u);
|
|
@@ -353,7 +346,7 @@ const Vt = ["id"], Bt = ["xmlns", "viewBox", "id"], Ft = ["x", "y", "width", "he
|
|
|
353
346
|
return e.value.centerY - (1 - e.value.usableHeight / 2 * u);
|
|
354
347
|
}
|
|
355
348
|
}
|
|
356
|
-
const
|
|
349
|
+
const le = g(() => {
|
|
357
350
|
const l = S.value.flatMap((f) => f.series.map((X) => ({
|
|
358
351
|
x: X.xValue,
|
|
359
352
|
y: X.yValue,
|
|
@@ -368,26 +361,26 @@ const Vt = ["id"], Bt = ["xmlns", "viewBox", "id"], Ft = ["x", "y", "width", "he
|
|
|
368
361
|
color: f.color
|
|
369
362
|
}));
|
|
370
363
|
return { head: s, body: r, itsShapes: b, tableData: l };
|
|
371
|
-
}),
|
|
372
|
-
const l =
|
|
364
|
+
}), ae = g(() => {
|
|
365
|
+
const l = le.value.head, u = le.value.tableData.map((s) => [
|
|
373
366
|
{
|
|
374
367
|
shape: s.shape,
|
|
375
368
|
color: s.color,
|
|
376
369
|
name: s.category
|
|
377
370
|
},
|
|
378
371
|
s.name,
|
|
379
|
-
|
|
372
|
+
V(
|
|
380
373
|
t.value.style.chart.layout.labels.plotLabels.x.formatter,
|
|
381
374
|
s.x,
|
|
382
|
-
|
|
375
|
+
P({
|
|
383
376
|
v: s.x,
|
|
384
377
|
r: t.value.style.chart.layout.labels.plotLabels.rounding
|
|
385
378
|
})
|
|
386
379
|
),
|
|
387
|
-
|
|
380
|
+
V(
|
|
388
381
|
t.value.style.chart.layout.labels.plotLabels.y.formatter,
|
|
389
382
|
s.y,
|
|
390
|
-
|
|
383
|
+
P({
|
|
391
384
|
v: s.y,
|
|
392
385
|
r: t.value.style.chart.layout.labels.plotLabels.rounding
|
|
393
386
|
})
|
|
@@ -408,20 +401,20 @@ const Vt = ["id"], Bt = ["xmlns", "viewBox", "id"], Ft = ["x", "y", "width", "he
|
|
|
408
401
|
};
|
|
409
402
|
return { head: l, body: u, config: a, colNames: l };
|
|
410
403
|
});
|
|
411
|
-
function
|
|
412
|
-
|
|
413
|
-
const u =
|
|
414
|
-
|
|
404
|
+
function ie(l) {
|
|
405
|
+
N.value.includes(l) ? N.value = N.value.filter((a) => a !== l) : N.value.push(l);
|
|
406
|
+
const u = Ve();
|
|
407
|
+
se("selectLegend", u);
|
|
415
408
|
}
|
|
416
|
-
const
|
|
409
|
+
const Me = g(() => dt.value.map((l) => ({
|
|
417
410
|
name: l.name,
|
|
418
411
|
shape: l.shape,
|
|
419
412
|
color: l.color,
|
|
420
413
|
id: l.id,
|
|
421
|
-
opacity:
|
|
422
|
-
segregate: () =>
|
|
423
|
-
isSegregated:
|
|
424
|
-
}))),
|
|
414
|
+
opacity: N.value.includes(l.id) ? 0.5 : 1,
|
|
415
|
+
segregate: () => ie(l.id),
|
|
416
|
+
isSegregated: N.value.includes(l.id)
|
|
417
|
+
}))), ct = g(() => ({
|
|
425
418
|
cy: "quadrant-div-legend",
|
|
426
419
|
backgroundColor: t.value.style.chart.legend.backgroundColor,
|
|
427
420
|
color: t.value.style.chart.legend.color,
|
|
@@ -429,7 +422,7 @@ const Vt = ["id"], Bt = ["xmlns", "viewBox", "id"], Ft = ["x", "y", "width", "he
|
|
|
429
422
|
paddingBottom: 12,
|
|
430
423
|
fontWeight: t.value.style.chart.legend.bold ? "bold" : ""
|
|
431
424
|
}));
|
|
432
|
-
function
|
|
425
|
+
function Ne(l) {
|
|
433
426
|
switch (!0) {
|
|
434
427
|
case (l.x >= 0 && l.y >= 0):
|
|
435
428
|
return "tr";
|
|
@@ -443,25 +436,25 @@ const Vt = ["id"], Bt = ["xmlns", "viewBox", "id"], Ft = ["x", "y", "width", "he
|
|
|
443
436
|
return "";
|
|
444
437
|
}
|
|
445
438
|
}
|
|
446
|
-
const
|
|
447
|
-
function
|
|
448
|
-
|
|
439
|
+
const J = y(null), j = y(null), ve = y(null);
|
|
440
|
+
function Oe(l, u, a) {
|
|
441
|
+
J.value = u.uid, j.value = {
|
|
449
442
|
color: l.color,
|
|
450
443
|
shape: l.shape
|
|
451
|
-
},
|
|
444
|
+
}, ve.value = {
|
|
452
445
|
datapoint: u,
|
|
453
446
|
seriesIndex: a,
|
|
454
447
|
series: S.value,
|
|
455
448
|
config: t.value
|
|
456
|
-
},
|
|
449
|
+
}, ee.value = !0;
|
|
457
450
|
const s = t.value.style.chart.tooltip.customFormat;
|
|
458
|
-
if (
|
|
451
|
+
if (Xt(s) && Yt(() => s({
|
|
459
452
|
seriesIndex: a,
|
|
460
453
|
datapoint: u,
|
|
461
454
|
series: S.value,
|
|
462
455
|
config: t.value
|
|
463
456
|
})))
|
|
464
|
-
|
|
457
|
+
re.value = s({
|
|
465
458
|
seriesIndex: a,
|
|
466
459
|
datapoint: u,
|
|
467
460
|
series: S.value,
|
|
@@ -469,26 +462,26 @@ const Vt = ["id"], Bt = ["xmlns", "viewBox", "id"], Ft = ["x", "y", "width", "he
|
|
|
469
462
|
});
|
|
470
463
|
else {
|
|
471
464
|
let r = "";
|
|
472
|
-
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>${
|
|
465
|
+
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(
|
|
473
466
|
t.value.style.chart.layout.labels.plotLabels.x.formatter,
|
|
474
467
|
u.xValue,
|
|
475
|
-
|
|
468
|
+
P({
|
|
476
469
|
v: u.xValue,
|
|
477
470
|
r: t.value.style.chart.tooltip.roundingValue
|
|
478
471
|
}),
|
|
479
472
|
{ datapoint: u, category: l, categoryIndex: a }
|
|
480
|
-
)}</b></div>`, r += `<div>${t.value.style.chart.layout.grid.yAxis.name ? t.value.style.chart.layout.grid.yAxis.name : "y"}: <b>${
|
|
473
|
+
)}</b></div>`, r += `<div>${t.value.style.chart.layout.grid.yAxis.name ? t.value.style.chart.layout.grid.yAxis.name : "y"}: <b>${V(
|
|
481
474
|
t.value.style.chart.layout.labels.plotLabels.y.formatter,
|
|
482
475
|
u.yValue,
|
|
483
|
-
|
|
476
|
+
P({
|
|
484
477
|
v: u.yValue,
|
|
485
478
|
r: t.value.style.chart.tooltip.roundingValue
|
|
486
479
|
}),
|
|
487
480
|
{ datapoint: u, category: l, categoryIndex: a }
|
|
488
|
-
)}</b></div>`,
|
|
481
|
+
)}</b></div>`, re.value = `<div style="text-align:left;font-size:${t.value.style.chart.tooltip.fontSize}px">${r}</div>`;
|
|
489
482
|
}
|
|
490
483
|
}
|
|
491
|
-
function
|
|
484
|
+
function Re(l, u) {
|
|
492
485
|
const a = {
|
|
493
486
|
category: l.name,
|
|
494
487
|
shape: l.shape,
|
|
@@ -498,9 +491,9 @@ const Vt = ["id"], Bt = ["xmlns", "viewBox", "id"], Ft = ["x", "y", "width", "he
|
|
|
498
491
|
quadrantSide: u.quadrantSide,
|
|
499
492
|
sideName: t.value.style.chart.layout.labels.quadrantLabels[u.quadrantSide].text
|
|
500
493
|
};
|
|
501
|
-
|
|
494
|
+
se("selectPlot", a);
|
|
502
495
|
}
|
|
503
|
-
function
|
|
496
|
+
function Z(l) {
|
|
504
497
|
if (!l) return;
|
|
505
498
|
const u = S.value.flatMap((s) => s.series.filter((r) => r.quadrantSide === l).map((r) => ({
|
|
506
499
|
category: r.categoryName,
|
|
@@ -512,7 +505,7 @@ const Vt = ["id"], Bt = ["xmlns", "viewBox", "id"], Ft = ["x", "y", "width", "he
|
|
|
512
505
|
sideName: t.value.style.chart.layout.labels.quadrantLabels[l].text,
|
|
513
506
|
items: [...u]
|
|
514
507
|
};
|
|
515
|
-
|
|
508
|
+
se("selectSide", a);
|
|
516
509
|
}
|
|
517
510
|
const w = g(() => ({
|
|
518
511
|
TL: {
|
|
@@ -620,7 +613,7 @@ const Vt = ["id"], Bt = ["xmlns", "viewBox", "id"], Ft = ["x", "y", "width", "he
|
|
|
620
613
|
}
|
|
621
614
|
}
|
|
622
615
|
}));
|
|
623
|
-
function
|
|
616
|
+
function Ve() {
|
|
624
617
|
return S.value.map((l) => ({
|
|
625
618
|
color: l.color,
|
|
626
619
|
name: l.name,
|
|
@@ -634,70 +627,70 @@ const Vt = ["id"], Bt = ["xmlns", "viewBox", "id"], Ft = ["x", "y", "width", "he
|
|
|
634
627
|
}))
|
|
635
628
|
}));
|
|
636
629
|
}
|
|
637
|
-
function
|
|
638
|
-
|
|
639
|
-
const l = [[t.value.style.chart.title.text], [t.value.style.chart.title.subtitle.text], [""]], u =
|
|
640
|
-
|
|
630
|
+
function Pe() {
|
|
631
|
+
gt(() => {
|
|
632
|
+
const l = [[t.value.style.chart.title.text], [t.value.style.chart.title.subtitle.text], [""]], u = le.value.head, a = le.value.body, s = l.concat([u]).concat(a), r = Tt(s);
|
|
633
|
+
Wt({ csvContent: r, title: t.value.style.chart.title.text || "vue-ui-quadrant" });
|
|
641
634
|
});
|
|
642
635
|
}
|
|
643
|
-
const
|
|
644
|
-
function
|
|
645
|
-
|
|
636
|
+
const I = y(!1);
|
|
637
|
+
function ht(l) {
|
|
638
|
+
I.value = l, be.value += 1;
|
|
646
639
|
}
|
|
647
|
-
function
|
|
640
|
+
function Be() {
|
|
648
641
|
$.value.showTable = !$.value.showTable;
|
|
649
642
|
}
|
|
650
|
-
function
|
|
643
|
+
function Fe() {
|
|
651
644
|
$.value.plotLabels.show = !$.value.plotLabels.show;
|
|
652
645
|
}
|
|
653
|
-
function
|
|
646
|
+
function He() {
|
|
654
647
|
$.value.showTooltip = !$.value.showTooltip;
|
|
655
648
|
}
|
|
656
|
-
const
|
|
657
|
-
function
|
|
658
|
-
|
|
649
|
+
const ue = y(!1);
|
|
650
|
+
function de() {
|
|
651
|
+
ue.value = !ue.value;
|
|
659
652
|
}
|
|
660
|
-
return
|
|
661
|
-
getData:
|
|
662
|
-
generatePdf:
|
|
663
|
-
generateCsv:
|
|
664
|
-
generateImage:
|
|
665
|
-
toggleTable:
|
|
666
|
-
toggleLabels:
|
|
667
|
-
toggleTooltip:
|
|
668
|
-
toggleAnnotator:
|
|
653
|
+
return Je({
|
|
654
|
+
getData: Ve,
|
|
655
|
+
generatePdf: Te,
|
|
656
|
+
generateCsv: Pe,
|
|
657
|
+
generateImage: We,
|
|
658
|
+
toggleTable: Be,
|
|
659
|
+
toggleLabels: Fe,
|
|
660
|
+
toggleTooltip: He,
|
|
661
|
+
toggleAnnotator: de
|
|
669
662
|
}), (l, u) => (o(), n("div", {
|
|
670
|
-
class: T(`vue-ui-quadrant ${
|
|
663
|
+
class: T(`vue-ui-quadrant ${I.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${t.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
671
664
|
ref_key: "quadrantChart",
|
|
672
|
-
ref:
|
|
665
|
+
ref: G,
|
|
673
666
|
id: `vue-ui-quadrant_${z.value}`,
|
|
674
667
|
style: q(`font-family:${t.value.style.fontFamily};width:100%; text-align:center;background:${t.value.style.chart.backgroundColor};${t.value.responsive ? "height: 100%" : ""}`),
|
|
675
|
-
onMouseenter: u[16] || (u[16] = () =>
|
|
676
|
-
onMouseleave: u[17] || (u[17] = () =>
|
|
668
|
+
onMouseenter: u[16] || (u[16] = () => i(Le)(!0)),
|
|
669
|
+
onMouseleave: u[17] || (u[17] = () => i(Le)(!1))
|
|
677
670
|
}, [
|
|
678
|
-
t.value.userOptions.buttons.annotator ? (o(),
|
|
671
|
+
t.value.userOptions.buttons.annotator ? (o(), R(i(Ke), {
|
|
679
672
|
key: 0,
|
|
680
|
-
svgRef:
|
|
673
|
+
svgRef: i(qe),
|
|
681
674
|
backgroundColor: t.value.style.chart.backgroundColor,
|
|
682
675
|
color: t.value.style.chart.color,
|
|
683
|
-
active:
|
|
684
|
-
onClose:
|
|
685
|
-
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) :
|
|
686
|
-
|
|
676
|
+
active: ue.value,
|
|
677
|
+
onClose: de
|
|
678
|
+
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : h("", !0),
|
|
679
|
+
rt.value ? (o(), n("div", {
|
|
687
680
|
key: 1,
|
|
688
681
|
ref_key: "noTitle",
|
|
689
|
-
ref:
|
|
682
|
+
ref: me,
|
|
690
683
|
class: "vue-data-ui-no-title-space",
|
|
691
684
|
style: "height:36px; width: 100%;background:transparent"
|
|
692
|
-
}, null, 512)) :
|
|
685
|
+
}, null, 512)) : h("", !0),
|
|
693
686
|
t.value.style.chart.title.text ? (o(), n("div", {
|
|
694
687
|
key: 2,
|
|
695
688
|
ref_key: "chartTitle",
|
|
696
|
-
ref:
|
|
689
|
+
ref: fe,
|
|
697
690
|
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
698
691
|
}, [
|
|
699
|
-
(o(),
|
|
700
|
-
key: `table_${
|
|
692
|
+
(o(), R(Vt, {
|
|
693
|
+
key: `table_${xe.value}`,
|
|
701
694
|
config: {
|
|
702
695
|
title: {
|
|
703
696
|
cy: "quadrant-title",
|
|
@@ -709,15 +702,15 @@ const Vt = ["id"], Bt = ["xmlns", "viewBox", "id"], Ft = ["x", "y", "width", "he
|
|
|
709
702
|
}
|
|
710
703
|
}
|
|
711
704
|
}, null, 8, ["config"]))
|
|
712
|
-
], 512)) :
|
|
713
|
-
t.value.userOptions.show &&
|
|
705
|
+
], 512)) : h("", !0),
|
|
706
|
+
t.value.userOptions.show && K.value && (i(we) || i(ne)) ? (o(), R(i(at), {
|
|
714
707
|
ref_key: "details",
|
|
715
|
-
ref:
|
|
716
|
-
key: `user_options_${
|
|
708
|
+
ref: st,
|
|
709
|
+
key: `user_options_${be.value}`,
|
|
717
710
|
backgroundColor: t.value.style.chart.backgroundColor,
|
|
718
711
|
color: t.value.style.chart.color,
|
|
719
|
-
isImaging:
|
|
720
|
-
isPrinting:
|
|
712
|
+
isImaging: i(ze),
|
|
713
|
+
isPrinting: i(Se),
|
|
721
714
|
uid: z.value,
|
|
722
715
|
hasTooltip: t.value.userOptions.buttons.tooltip && t.value.style.chart.tooltip.show,
|
|
723
716
|
hasPdf: t.value.userOptions.buttons.pdf,
|
|
@@ -726,29 +719,29 @@ const Vt = ["id"], Bt = ["xmlns", "viewBox", "id"], Ft = ["x", "y", "width", "he
|
|
|
726
719
|
hasTable: t.value.userOptions.buttons.table,
|
|
727
720
|
hasLabel: t.value.userOptions.buttons.labels,
|
|
728
721
|
hasFullscreen: t.value.userOptions.buttons.fullscreen,
|
|
729
|
-
isFullscreen:
|
|
722
|
+
isFullscreen: I.value,
|
|
730
723
|
isTooltip: $.value.showTooltip,
|
|
731
724
|
titles: { ...t.value.userOptions.buttonTitles },
|
|
732
|
-
chartElement:
|
|
725
|
+
chartElement: G.value,
|
|
733
726
|
position: t.value.userOptions.position,
|
|
734
727
|
hasAnnotator: t.value.userOptions.buttons.annotator,
|
|
735
|
-
isAnnotation:
|
|
736
|
-
onToggleFullscreen:
|
|
737
|
-
onGeneratePdf:
|
|
738
|
-
onGenerateCsv:
|
|
739
|
-
onGenerateImage:
|
|
740
|
-
onToggleTable:
|
|
741
|
-
onToggleLabels:
|
|
742
|
-
onToggleTooltip:
|
|
743
|
-
onToggleAnnotator:
|
|
728
|
+
isAnnotation: ue.value,
|
|
729
|
+
onToggleFullscreen: ht,
|
|
730
|
+
onGeneratePdf: i(Te),
|
|
731
|
+
onGenerateCsv: Pe,
|
|
732
|
+
onGenerateImage: i(We),
|
|
733
|
+
onToggleTable: Be,
|
|
734
|
+
onToggleLabels: Fe,
|
|
735
|
+
onToggleTooltip: He,
|
|
736
|
+
onToggleAnnotator: de,
|
|
744
737
|
style: q({
|
|
745
|
-
visibility:
|
|
738
|
+
visibility: i(we) ? i(ne) ? "visible" : "hidden" : "visible"
|
|
746
739
|
})
|
|
747
|
-
},
|
|
740
|
+
}, ft({ _: 2 }, [
|
|
748
741
|
l.$slots.menuIcon ? {
|
|
749
742
|
name: "menuIcon",
|
|
750
743
|
fn: m(({ isOpen: a, color: s }) => [
|
|
751
|
-
x(l.$slots, "menuIcon",
|
|
744
|
+
x(l.$slots, "menuIcon", E(U({ isOpen: a, color: s })), void 0, !0)
|
|
752
745
|
]),
|
|
753
746
|
key: "0"
|
|
754
747
|
} : void 0,
|
|
@@ -797,42 +790,42 @@ const Vt = ["id"], Bt = ["xmlns", "viewBox", "id"], Ft = ["x", "y", "width", "he
|
|
|
797
790
|
l.$slots.optionFullscreen ? {
|
|
798
791
|
name: "optionFullscreen",
|
|
799
792
|
fn: m(({ toggleFullscreen: a, isFullscreen: s }) => [
|
|
800
|
-
x(l.$slots, "optionFullscreen",
|
|
793
|
+
x(l.$slots, "optionFullscreen", E(U({ toggleFullscreen: a, isFullscreen: s })), void 0, !0)
|
|
801
794
|
]),
|
|
802
795
|
key: "7"
|
|
803
796
|
} : void 0,
|
|
804
797
|
l.$slots.optionAnnotator ? {
|
|
805
798
|
name: "optionAnnotator",
|
|
806
799
|
fn: m(({ toggleAnnotator: a, isAnnotator: s }) => [
|
|
807
|
-
x(l.$slots, "optionAnnotator",
|
|
800
|
+
x(l.$slots, "optionAnnotator", E(U({ toggleAnnotator: a, isAnnotator: s })), void 0, !0)
|
|
808
801
|
]),
|
|
809
802
|
key: "8"
|
|
810
803
|
} : void 0
|
|
811
|
-
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) :
|
|
812
|
-
|
|
804
|
+
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : h("", !0),
|
|
805
|
+
K.value ? (o(), n("svg", {
|
|
813
806
|
key: 4,
|
|
814
807
|
ref_key: "svgRef",
|
|
815
|
-
ref:
|
|
816
|
-
xmlns:
|
|
817
|
-
class: T({ "vue-data-ui-fullscreen--on":
|
|
818
|
-
viewBox: `${
|
|
808
|
+
ref: qe,
|
|
809
|
+
xmlns: i(_t),
|
|
810
|
+
class: T({ "vue-data-ui-fullscreen--on": I.value, "vue-data-ui-fulscreen--off": !I.value }),
|
|
811
|
+
viewBox: `${v.value.startX} ${v.value.startY} ${v.value.width} ${v.value.height}`,
|
|
819
812
|
style: q(`max-width:100%;overflow:${p.value ? "hidden" : "visible"};background:transparent;color:${t.value.style.chart.color}`),
|
|
820
813
|
id: `svg_${z.value}`
|
|
821
814
|
}, [
|
|
822
|
-
|
|
815
|
+
ce(i(ut)),
|
|
823
816
|
l.$slots["chart-background"] ? (o(), n("foreignObject", {
|
|
824
817
|
key: 0,
|
|
825
|
-
x:
|
|
826
|
-
y:
|
|
827
|
-
width:
|
|
828
|
-
height:
|
|
818
|
+
x: v.value.startX,
|
|
819
|
+
y: v.value.startY,
|
|
820
|
+
width: v.value.width,
|
|
821
|
+
height: v.value.height,
|
|
829
822
|
style: {
|
|
830
823
|
pointerEvents: "none"
|
|
831
824
|
}
|
|
832
825
|
}, [
|
|
833
826
|
x(l.$slots, "chart-background", {}, void 0, !0)
|
|
834
|
-
], 8,
|
|
835
|
-
|
|
827
|
+
], 8, It)) : h("", !0),
|
|
828
|
+
c("defs", null, [
|
|
836
829
|
(o(!0), n(C, null, Y(S.value, (a, s) => (o(), n("radialGradient", {
|
|
837
830
|
cx: "50%",
|
|
838
831
|
cy: "50%",
|
|
@@ -841,19 +834,19 @@ const Vt = ["id"], Bt = ["xmlns", "viewBox", "id"], Ft = ["x", "y", "width", "he
|
|
|
841
834
|
fy: "50%",
|
|
842
835
|
id: `quadrant_gradient_${z.value}_${s}`
|
|
843
836
|
}, [
|
|
844
|
-
|
|
837
|
+
c("stop", {
|
|
845
838
|
offset: "0%",
|
|
846
|
-
"stop-color":
|
|
847
|
-
}, null, 8,
|
|
848
|
-
|
|
839
|
+
"stop-color": i(oe)(i(Ct)(a.color, 0.05), t.value.style.chart.layout.areas.opacity)
|
|
840
|
+
}, null, 8, Ut),
|
|
841
|
+
c("stop", {
|
|
849
842
|
offset: "100%",
|
|
850
|
-
"stop-color":
|
|
851
|
-
}, null, 8,
|
|
852
|
-
], 8,
|
|
843
|
+
"stop-color": i(oe)(a.color, t.value.style.chart.layout.areas.opacity)
|
|
844
|
+
}, null, 8, Dt)
|
|
845
|
+
], 8, Et))), 256))
|
|
853
846
|
]),
|
|
854
|
-
t.value.style.chart.layout.grid.graduations.show ? (o(), n("g",
|
|
855
|
-
(o(!0), n(C, null, Y(
|
|
856
|
-
fill: t.value.style.chart.layout.grid.graduations.fill ?
|
|
847
|
+
t.value.style.chart.layout.grid.graduations.show ? (o(), n("g", Gt, [
|
|
848
|
+
(o(!0), n(C, null, Y(it.value, (a) => (o(), n("rect", {
|
|
849
|
+
fill: t.value.style.chart.layout.grid.graduations.fill ? i(oe)(t.value.style.chart.layout.grid.graduations.color, a.opacity) : "none",
|
|
857
850
|
x: a.x,
|
|
858
851
|
y: a.y,
|
|
859
852
|
height: a.height <= 0 ? 1e-3 : a.height,
|
|
@@ -861,47 +854,47 @@ const Vt = ["id"], Bt = ["xmlns", "viewBox", "id"], Ft = ["x", "y", "width", "he
|
|
|
861
854
|
"stroke-width": t.value.style.chart.layout.grid.graduations.strokeWidth,
|
|
862
855
|
stroke: t.value.style.chart.layout.grid.graduations.stroke,
|
|
863
856
|
rx: t.value.style.chart.layout.grid.graduations.roundingForce
|
|
864
|
-
}, null, 8,
|
|
865
|
-
])) :
|
|
866
|
-
|
|
857
|
+
}, null, 8, Qt))), 256))
|
|
858
|
+
])) : h("", !0),
|
|
859
|
+
c("line", {
|
|
867
860
|
x1: e.value.left,
|
|
868
861
|
y1: e.value.centerY,
|
|
869
862
|
x2: e.value.right,
|
|
870
863
|
y2: e.value.centerY,
|
|
871
864
|
stroke: t.value.style.chart.layout.grid.stroke,
|
|
872
865
|
"stroke-width": t.value.style.chart.layout.grid.strokeWidth
|
|
873
|
-
}, null, 8,
|
|
874
|
-
|
|
866
|
+
}, null, 8, Jt),
|
|
867
|
+
c("line", {
|
|
875
868
|
x1: e.value.centerX,
|
|
876
869
|
y1: e.value.top,
|
|
877
870
|
x2: e.value.centerX,
|
|
878
871
|
y2: e.value.bottom,
|
|
879
872
|
stroke: t.value.style.chart.layout.grid.stroke,
|
|
880
873
|
"stroke-width": t.value.style.chart.layout.grid.strokeWidth
|
|
881
|
-
}, null, 8,
|
|
882
|
-
t.value.style.chart.layout.grid.showArrows ? (o(), n("g",
|
|
883
|
-
|
|
874
|
+
}, null, 8, jt),
|
|
875
|
+
t.value.style.chart.layout.grid.showArrows ? (o(), n("g", Zt, [
|
|
876
|
+
c("polygon", {
|
|
884
877
|
points: `${e.value.right - 8},${e.value.centerY - 6} ${e.value.right},${e.value.centerY} ${e.value.right - 8},${e.value.centerY + 6}`,
|
|
885
878
|
fill: t.value.style.chart.layout.grid.stroke,
|
|
886
879
|
stroke: "none"
|
|
887
|
-
}, null, 8,
|
|
888
|
-
|
|
880
|
+
}, null, 8, Kt),
|
|
881
|
+
c("polygon", {
|
|
889
882
|
points: `${e.value.left + 8},${e.value.centerY - 6} ${e.value.left},${e.value.centerY} ${e.value.left + 8},${e.value.centerY + 6}`,
|
|
890
883
|
fill: t.value.style.chart.layout.grid.stroke,
|
|
891
884
|
stroke: "none"
|
|
892
|
-
}, null, 8,
|
|
893
|
-
|
|
885
|
+
}, null, 8, el),
|
|
886
|
+
c("polygon", {
|
|
894
887
|
points: `${e.value.centerX - 6},${e.value.top + 8} ${e.value.centerX},${e.value.top} ${e.value.centerX + 6},${e.value.top + 8}`,
|
|
895
888
|
fill: t.value.style.chart.layout.grid.stroke,
|
|
896
889
|
stroke: "none"
|
|
897
|
-
}, null, 8,
|
|
898
|
-
|
|
890
|
+
}, null, 8, tl),
|
|
891
|
+
c("polygon", {
|
|
899
892
|
points: `${e.value.centerX - 6},${e.value.bottom - 8} ${e.value.centerX},${e.value.bottom} ${e.value.centerX + 6},${e.value.bottom - 8}`,
|
|
900
893
|
fill: t.value.style.chart.layout.grid.stroke,
|
|
901
894
|
stroke: "none"
|
|
902
|
-
}, null, 8,
|
|
903
|
-
])) :
|
|
904
|
-
t.value.style.chart.layout.labels.quadrantLabels.show && !p.value ? (o(), n("g",
|
|
895
|
+
}, null, 8, ll)
|
|
896
|
+
])) : h("", !0),
|
|
897
|
+
t.value.style.chart.layout.labels.quadrantLabels.show && !p.value ? (o(), n("g", al, [
|
|
905
898
|
t.value.style.chart.layout.labels.quadrantLabels.tl.text ? (o(), n("text", {
|
|
906
899
|
key: 0,
|
|
907
900
|
x: 0,
|
|
@@ -910,8 +903,8 @@ const Vt = ["id"], Bt = ["xmlns", "viewBox", "id"], Ft = ["x", "y", "width", "he
|
|
|
910
903
|
fill: t.value.style.chart.layout.labels.quadrantLabels.tl.color,
|
|
911
904
|
"font-size": t.value.style.chart.layout.labels.quadrantLabels.tl.fontSize,
|
|
912
905
|
style: q(`font-weight:${t.value.style.chart.layout.labels.quadrantLabels.tl.bold ? "bold" : ""}`),
|
|
913
|
-
onClick: u[0] || (u[0] = (a) =>
|
|
914
|
-
}, L(t.value.style.chart.layout.labels.quadrantLabels.tl.text), 13,
|
|
906
|
+
onClick: u[0] || (u[0] = (a) => Z("tl"))
|
|
907
|
+
}, L(t.value.style.chart.layout.labels.quadrantLabels.tl.text), 13, ul)) : h("", !0),
|
|
915
908
|
t.value.style.chart.layout.labels.quadrantLabels.tr.text ? (o(), n("text", {
|
|
916
909
|
key: 1,
|
|
917
910
|
x: e.value.width,
|
|
@@ -920,8 +913,8 @@ const Vt = ["id"], Bt = ["xmlns", "viewBox", "id"], Ft = ["x", "y", "width", "he
|
|
|
920
913
|
fill: t.value.style.chart.layout.labels.quadrantLabels.tr.color,
|
|
921
914
|
"font-size": t.value.style.chart.layout.labels.quadrantLabels.tr.fontSize,
|
|
922
915
|
style: q(`font-weight:${t.value.style.chart.layout.labels.quadrantLabels.tr.bold ? "bold" : ""}`),
|
|
923
|
-
onClick: u[1] || (u[1] = (a) =>
|
|
924
|
-
}, L(t.value.style.chart.layout.labels.quadrantLabels.tr.text), 13,
|
|
916
|
+
onClick: u[1] || (u[1] = (a) => Z("tr"))
|
|
917
|
+
}, L(t.value.style.chart.layout.labels.quadrantLabels.tr.text), 13, ol)) : h("", !0),
|
|
925
918
|
t.value.style.chart.layout.labels.quadrantLabels.br.text ? (o(), n("text", {
|
|
926
919
|
key: 2,
|
|
927
920
|
x: e.value.width,
|
|
@@ -930,8 +923,8 @@ const Vt = ["id"], Bt = ["xmlns", "viewBox", "id"], Ft = ["x", "y", "width", "he
|
|
|
930
923
|
fill: t.value.style.chart.layout.labels.quadrantLabels.br.color,
|
|
931
924
|
"font-size": t.value.style.chart.layout.labels.quadrantLabels.br.fontSize,
|
|
932
925
|
style: q(`font-weight:${t.value.style.chart.layout.labels.quadrantLabels.br.bold ? "bold" : ""}`),
|
|
933
|
-
onClick: u[2] || (u[2] = (a) =>
|
|
934
|
-
}, L(t.value.style.chart.layout.labels.quadrantLabels.br.text), 13,
|
|
926
|
+
onClick: u[2] || (u[2] = (a) => Z("br"))
|
|
927
|
+
}, L(t.value.style.chart.layout.labels.quadrantLabels.br.text), 13, sl)) : h("", !0),
|
|
935
928
|
t.value.style.chart.layout.labels.quadrantLabels.bl.text ? (o(), n("text", {
|
|
936
929
|
key: 3,
|
|
937
930
|
x: 0,
|
|
@@ -940,131 +933,131 @@ const Vt = ["id"], Bt = ["xmlns", "viewBox", "id"], Ft = ["x", "y", "width", "he
|
|
|
940
933
|
fill: t.value.style.chart.layout.labels.quadrantLabels.bl.color,
|
|
941
934
|
"font-size": t.value.style.chart.layout.labels.quadrantLabels.bl.fontSize,
|
|
942
935
|
style: q(`font-weight:${t.value.style.chart.layout.labels.quadrantLabels.bl.bold ? "bold" : ""}`),
|
|
943
|
-
onClick: u[3] || (u[3] = (a) =>
|
|
944
|
-
}, L(t.value.style.chart.layout.labels.quadrantLabels.bl.text), 13,
|
|
945
|
-
])) :
|
|
946
|
-
t.value.style.chart.layout.labels.axisLabels.show ? (o(), n("g",
|
|
947
|
-
|
|
936
|
+
onClick: u[3] || (u[3] = (a) => Z("bl"))
|
|
937
|
+
}, L(t.value.style.chart.layout.labels.quadrantLabels.bl.text), 13, rl)) : h("", !0)
|
|
938
|
+
])) : h("", !0),
|
|
939
|
+
t.value.style.chart.layout.labels.axisLabels.show ? (o(), n("g", nl, [
|
|
940
|
+
c("text", {
|
|
948
941
|
x: e.value.centerX,
|
|
949
942
|
y: e.value.top - e.value.padding / 6,
|
|
950
943
|
"text-anchor": "middle",
|
|
951
944
|
"font-size": t.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
952
945
|
fill: t.value.style.chart.layout.labels.axisLabels.color.positive
|
|
953
|
-
}, L(
|
|
946
|
+
}, L(i(V)(
|
|
954
947
|
t.value.style.chart.layout.labels.plotLabels.y.formatter,
|
|
955
948
|
_.value.y.max,
|
|
956
|
-
|
|
949
|
+
i(P)({
|
|
957
950
|
v: _.value.y.max,
|
|
958
951
|
r: t.value.style.chart.layout.labels.plotLabels.rounding
|
|
959
952
|
})
|
|
960
|
-
)), 9,
|
|
961
|
-
|
|
953
|
+
)), 9, il),
|
|
954
|
+
c("text", {
|
|
962
955
|
x: e.value.centerX,
|
|
963
956
|
y: e.value.top - e.value.padding / 2,
|
|
964
957
|
"text-anchor": "middle",
|
|
965
958
|
"font-size": t.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
966
959
|
fill: t.value.style.chart.layout.labels.axisLabels.color.positive
|
|
967
|
-
}, L(t.value.style.chart.layout.grid.yAxis.name), 9,
|
|
968
|
-
|
|
960
|
+
}, L(t.value.style.chart.layout.grid.yAxis.name), 9, vl),
|
|
961
|
+
c("text", {
|
|
969
962
|
x: e.value.centerX,
|
|
970
963
|
y: e.value.bottom + e.value.padding * 0.35,
|
|
971
964
|
"text-anchor": "middle",
|
|
972
965
|
"font-size": t.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
973
966
|
fill: t.value.style.chart.layout.labels.axisLabels.color.negative
|
|
974
|
-
}, L(
|
|
967
|
+
}, L(i(V)(
|
|
975
968
|
t.value.style.chart.layout.labels.plotLabels.y.formatter,
|
|
976
969
|
_.value.y.min,
|
|
977
|
-
|
|
970
|
+
i(P)({
|
|
978
971
|
v: _.value.y.min,
|
|
979
972
|
r: t.value.style.chart.layout.labels.plotLabels.rounding
|
|
980
973
|
})
|
|
981
|
-
)), 9,
|
|
982
|
-
|
|
974
|
+
)), 9, dl),
|
|
975
|
+
c("text", {
|
|
983
976
|
id: `xLabelMin_${z.value}`,
|
|
984
977
|
"text-anchor": "middle",
|
|
985
978
|
"font-size": t.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
986
979
|
transform: `translate(${e.value.padding - t.value.style.chart.layout.labels.axisLabels.fontSize}, ${e.value.height / 2}), rotate(-90)`,
|
|
987
980
|
fill: t.value.style.chart.layout.labels.axisLabels.color.negative
|
|
988
|
-
}, L(
|
|
981
|
+
}, L(i(V)(
|
|
989
982
|
t.value.style.chart.layout.labels.plotLabels.x.formatter,
|
|
990
983
|
_.value.x.min,
|
|
991
|
-
|
|
984
|
+
i(P)({
|
|
992
985
|
v: _.value.x.min,
|
|
993
986
|
r: t.value.style.chart.layout.labels.plotLabels.rounding
|
|
994
987
|
})
|
|
995
|
-
)), 9,
|
|
996
|
-
|
|
988
|
+
)), 9, cl),
|
|
989
|
+
c("text", {
|
|
997
990
|
id: `xLabelMax_${z.value}`,
|
|
998
991
|
"text-anchor": "middle",
|
|
999
992
|
"font-size": t.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
1000
993
|
transform: `translate(${e.value.width - e.value.padding + t.value.style.chart.layout.labels.axisLabels.fontSize}, ${e.value.height / 2}), rotate(90)`,
|
|
1001
994
|
fill: t.value.style.chart.layout.labels.axisLabels.color.positive
|
|
1002
|
-
}, L(
|
|
995
|
+
}, L(i(V)(
|
|
1003
996
|
t.value.style.chart.layout.labels.plotLabels.x.formatter,
|
|
1004
997
|
_.value.x.max,
|
|
1005
|
-
|
|
998
|
+
i(P)({
|
|
1006
999
|
v: _.value.x.max,
|
|
1007
1000
|
r: t.value.style.chart.layout.labels.plotLabels.rounding
|
|
1008
1001
|
})
|
|
1009
|
-
)), 9,
|
|
1010
|
-
|
|
1002
|
+
)), 9, hl),
|
|
1003
|
+
c("text", {
|
|
1011
1004
|
id: `xLabelMaxName_${z.value}`,
|
|
1012
1005
|
"text-anchor": "middle",
|
|
1013
1006
|
"font-size": t.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
1014
1007
|
transform: `translate(${e.value.width - t.value.style.chart.layout.labels.axisLabels.fontSize}, ${e.value.height / 2}), rotate(90)`,
|
|
1015
1008
|
fill: t.value.style.chart.layout.labels.axisLabels.color.positive
|
|
1016
|
-
}, L(t.value.style.chart.layout.grid.xAxis.name), 9,
|
|
1017
|
-
])) :
|
|
1018
|
-
t.value.style.chart.layout.areas.show ? (o(), n("g",
|
|
1009
|
+
}, L(t.value.style.chart.layout.grid.xAxis.name), 9, yl)
|
|
1010
|
+
])) : h("", !0),
|
|
1011
|
+
t.value.style.chart.layout.areas.show ? (o(), n("g", bl, [
|
|
1019
1012
|
(o(!0), n(C, null, Y(S.value, (a, s) => (o(), n("g", null, [
|
|
1020
1013
|
a.series.length > 2 ? (o(), n("polygon", {
|
|
1021
1014
|
key: 0,
|
|
1022
1015
|
"data-cy-quadrant-area": "",
|
|
1023
|
-
fill: t.value.style.chart.layout.areas.useGradient ? `url(#quadrant_gradient_${z.value}_${s})` :
|
|
1024
|
-
points:
|
|
1025
|
-
}, null, 8,
|
|
1016
|
+
fill: t.value.style.chart.layout.areas.useGradient ? `url(#quadrant_gradient_${z.value}_${s})` : i(oe)(a.color, t.value.style.chart.layout.areas.opacity),
|
|
1017
|
+
points: i(St)(a)
|
|
1018
|
+
}, null, 8, fl)) : h("", !0)
|
|
1026
1019
|
]))), 256))
|
|
1027
|
-
])) :
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
onClick: u[4] || (u[4] = (a) =>
|
|
1020
|
+
])) : h("", !0),
|
|
1021
|
+
c("g", null, [
|
|
1022
|
+
c("rect", {
|
|
1023
|
+
onClick: u[4] || (u[4] = (a) => M("TL")),
|
|
1031
1024
|
x: e.value.left,
|
|
1032
1025
|
y: e.value.top,
|
|
1033
1026
|
width: e.value.usableWidth / 2 <= 0 ? 1e-3 : e.value.usableWidth / 2,
|
|
1034
1027
|
height: e.value.usableHeight / 2 <= 0 ? 1e-3 : e.value.usableHeight / 2,
|
|
1035
1028
|
fill: "transparent",
|
|
1036
1029
|
class: T({ "vue-data-ui-zoom-plus": !p.value, "vue-data-ui-zoom-minus": p.value })
|
|
1037
|
-
}, null, 10,
|
|
1038
|
-
|
|
1039
|
-
onClick: u[5] || (u[5] = (a) =>
|
|
1030
|
+
}, null, 10, pl),
|
|
1031
|
+
c("rect", {
|
|
1032
|
+
onClick: u[5] || (u[5] = (a) => M("TR")),
|
|
1040
1033
|
x: e.value.centerX,
|
|
1041
1034
|
y: e.value.top,
|
|
1042
1035
|
width: e.value.usableWidth / 2 <= 0 ? 1e-3 : e.value.usableWidth / 2,
|
|
1043
1036
|
height: e.value.usableHeight / 2 <= 0 ? 1e-3 : e.value.usableHeight / 2,
|
|
1044
1037
|
fill: "transparent",
|
|
1045
1038
|
class: T({ "vue-data-ui-zoom-plus": !p.value, "vue-data-ui-zoom-minus": p.value })
|
|
1046
|
-
}, null, 10,
|
|
1047
|
-
|
|
1048
|
-
onClick: u[6] || (u[6] = (a) =>
|
|
1039
|
+
}, null, 10, gl),
|
|
1040
|
+
c("rect", {
|
|
1041
|
+
onClick: u[6] || (u[6] = (a) => M("BR")),
|
|
1049
1042
|
x: e.value.centerX,
|
|
1050
1043
|
y: e.value.centerY,
|
|
1051
1044
|
width: e.value.usableWidth / 2 <= 0 ? 1e-3 : e.value.usableWidth / 2,
|
|
1052
1045
|
height: e.value.usableHeight / 2 <= 0 ? 1e-3 : e.value.usableHeight / 2,
|
|
1053
1046
|
fill: "transparent",
|
|
1054
1047
|
class: T({ "vue-data-ui-zoom-plus": !p.value, "vue-data-ui-zoom-minus": p.value })
|
|
1055
|
-
}, null, 10,
|
|
1056
|
-
|
|
1057
|
-
onClick: u[7] || (u[7] = (a) =>
|
|
1048
|
+
}, null, 10, ml),
|
|
1049
|
+
c("rect", {
|
|
1050
|
+
onClick: u[7] || (u[7] = (a) => M("BL")),
|
|
1058
1051
|
x: e.value.left,
|
|
1059
1052
|
y: e.value.centerY,
|
|
1060
1053
|
width: e.value.usableWidth / 2 <= 0 ? 1e-3 : e.value.usableWidth / 2,
|
|
1061
1054
|
height: e.value.usableHeight / 2 <= 0 ? 1e-3 : e.value.usableHeight / 2,
|
|
1062
1055
|
fill: "transparent",
|
|
1063
1056
|
class: T({ "vue-data-ui-zoom-plus": !p.value, "vue-data-ui-zoom-minus": p.value })
|
|
1064
|
-
}, null, 10,
|
|
1057
|
+
}, null, 10, xl)
|
|
1065
1058
|
]),
|
|
1066
1059
|
t.value.style.chart.layout.labels.plotLabels.showAsTag ? (o(), n(C, { key: 7 }, [
|
|
1067
|
-
$.value.plotLabels.show ? (o(), n("g",
|
|
1060
|
+
$.value.plotLabels.show ? (o(), n("g", Ll, [
|
|
1068
1061
|
(o(!0), n(C, null, Y(S.value, (a, s) => (o(), n(C, null, [
|
|
1069
1062
|
(o(!0), n(C, null, Y(a.series, (r) => (o(), n("foreignObject", {
|
|
1070
1063
|
style: { overflow: "visible" },
|
|
@@ -1072,36 +1065,36 @@ const Vt = ["id"], Bt = ["xmlns", "viewBox", "id"], Ft = ["x", "y", "width", "he
|
|
|
1072
1065
|
width: "100",
|
|
1073
1066
|
x: r.x - 50,
|
|
1074
1067
|
y: r.y - t.value.style.chart.layout.labels.plotLabels.fontSize,
|
|
1075
|
-
onMouseover: (b) =>
|
|
1068
|
+
onMouseover: (b) => Oe(a, r, s),
|
|
1076
1069
|
onMouseleave: u[9] || (u[9] = (b) => {
|
|
1077
|
-
|
|
1070
|
+
ee.value = !1, J.value = null, j.value = null;
|
|
1078
1071
|
}),
|
|
1079
|
-
onClick: (b) =>
|
|
1072
|
+
onClick: (b) => Re(a, r)
|
|
1080
1073
|
}, [
|
|
1081
|
-
|
|
1082
|
-
style: q(`color:${
|
|
1074
|
+
c("div", {
|
|
1075
|
+
style: q(`color:${i(zt)(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: ${t.value.style.chart.layout.labels.plotLabels.fontSize * 1.5}px`)
|
|
1083
1076
|
}, L(r.name), 5)
|
|
1084
|
-
], 40,
|
|
1077
|
+
], 40, wl))), 256))
|
|
1085
1078
|
], 64))), 256))
|
|
1086
|
-
])) :
|
|
1079
|
+
])) : h("", !0)
|
|
1087
1080
|
], 64)) : (o(), n(C, { key: 6 }, [
|
|
1088
1081
|
(o(!0), n(C, null, Y(S.value, (a, s) => (o(), n("g", null, [
|
|
1089
|
-
(o(!0), n(C, null, Y(a.series, (r) => (o(),
|
|
1082
|
+
(o(!0), n(C, null, Y(a.series, (r) => (o(), R(i(ye), {
|
|
1090
1083
|
color: a.color,
|
|
1091
|
-
isSelected:
|
|
1084
|
+
isSelected: J.value && r.uid === J.value,
|
|
1092
1085
|
plot: r,
|
|
1093
1086
|
radius: t.value.style.chart.layout.plots.radius / (p.value ? 1.5 : 1),
|
|
1094
1087
|
shape: a.shape,
|
|
1095
1088
|
stroke: t.value.style.chart.layout.plots.outline ? t.value.style.chart.layout.plots.outlineColor : "none",
|
|
1096
1089
|
strokeWidth: t.value.style.chart.layout.plots.outlineWidth,
|
|
1097
|
-
onMouseenter: (b) =>
|
|
1090
|
+
onMouseenter: (b) => Oe(a, r, s),
|
|
1098
1091
|
onMouseleave: u[8] || (u[8] = (b) => {
|
|
1099
|
-
|
|
1092
|
+
ee.value = !1, J.value = null, j.value = null;
|
|
1100
1093
|
}),
|
|
1101
|
-
onClick: (b) =>
|
|
1094
|
+
onClick: (b) => Re(a, r)
|
|
1102
1095
|
}, null, 8, ["color", "isSelected", "plot", "radius", "shape", "stroke", "strokeWidth", "onMouseenter", "onClick"]))), 256))
|
|
1103
1096
|
]))), 256)),
|
|
1104
|
-
$.value.plotLabels.show ? (o(), n("g",
|
|
1097
|
+
$.value.plotLabels.show ? (o(), n("g", $l, [
|
|
1105
1098
|
(o(!0), n(C, null, Y(S.value, (a) => (o(), n("g", null, [
|
|
1106
1099
|
(o(!0), n(C, null, Y(a.series, (s) => (o(), n("text", {
|
|
1107
1100
|
x: s.x,
|
|
@@ -1109,106 +1102,106 @@ const Vt = ["id"], Bt = ["xmlns", "viewBox", "id"], Ft = ["x", "y", "width", "he
|
|
|
1109
1102
|
"text-anchor": "middle",
|
|
1110
1103
|
"font-size": t.value.style.chart.layout.labels.plotLabels.fontSize / (p.value ? 1.5 : 1),
|
|
1111
1104
|
fill: t.value.style.chart.layout.labels.plotLabels.color
|
|
1112
|
-
}, L(s.name), 9,
|
|
1105
|
+
}, L(s.name), 9, kl))), 256))
|
|
1113
1106
|
]))), 256))
|
|
1114
|
-
])) :
|
|
1107
|
+
])) : h("", !0)
|
|
1115
1108
|
], 64)),
|
|
1116
|
-
p.value ? (o(), n("g",
|
|
1117
|
-
|
|
1109
|
+
p.value ? (o(), n("g", ql, [
|
|
1110
|
+
d.value === "TL" ? (o(), n("polygon", {
|
|
1118
1111
|
key: 0,
|
|
1119
1112
|
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}`,
|
|
1120
1113
|
fill: t.value.style.chart.backgroundColor,
|
|
1121
1114
|
style: { opacity: "1" }
|
|
1122
|
-
}, null, 8,
|
|
1123
|
-
|
|
1115
|
+
}, null, 8, _l)) : h("", !0),
|
|
1116
|
+
d.value === "TR" ? (o(), n("polygon", {
|
|
1124
1117
|
key: 1,
|
|
1125
1118
|
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}`,
|
|
1126
1119
|
fill: t.value.style.chart.backgroundColor,
|
|
1127
1120
|
style: { opacity: "1" }
|
|
1128
|
-
}, null, 8,
|
|
1129
|
-
|
|
1121
|
+
}, null, 8, Cl)) : h("", !0),
|
|
1122
|
+
d.value === "BR" ? (o(), n("polygon", {
|
|
1130
1123
|
key: 2,
|
|
1131
1124
|
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}`,
|
|
1132
1125
|
fill: t.value.style.chart.backgroundColor,
|
|
1133
1126
|
style: { opacity: "1" }
|
|
1134
|
-
}, null, 8,
|
|
1135
|
-
|
|
1127
|
+
}, null, 8, Sl)) : h("", !0),
|
|
1128
|
+
d.value === "BL" ? (o(), n("polygon", {
|
|
1136
1129
|
key: 3,
|
|
1137
1130
|
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}`,
|
|
1138
1131
|
fill: t.value.style.chart.backgroundColor,
|
|
1139
1132
|
style: { opacity: "1" }
|
|
1140
|
-
}, null, 8,
|
|
1141
|
-
])) :
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
x:
|
|
1145
|
-
y:
|
|
1146
|
-
"font-size":
|
|
1147
|
-
fill:
|
|
1133
|
+
}, null, 8, zl)) : h("", !0)
|
|
1134
|
+
])) : h("", !0),
|
|
1135
|
+
d.value && !te.value ? (o(), n("g", Tl, [
|
|
1136
|
+
c("text", {
|
|
1137
|
+
x: B.value.x,
|
|
1138
|
+
y: B.value.y - B.value.fontSize / 1.5,
|
|
1139
|
+
"font-size": B.value.fontSize / 1.5,
|
|
1140
|
+
fill: B.value.fill,
|
|
1148
1141
|
"text-anchor": "middle",
|
|
1149
|
-
"font-weight":
|
|
1150
|
-
}, L(
|
|
1151
|
-
])) :
|
|
1152
|
-
p.value &&
|
|
1153
|
-
|
|
1154
|
-
x: w.value[
|
|
1155
|
-
y: w.value[
|
|
1142
|
+
"font-weight": B.value.bold ? "bold" : "normal"
|
|
1143
|
+
}, L(B.value.text), 9, Wl)
|
|
1144
|
+
])) : h("", !0),
|
|
1145
|
+
p.value && d.value ? (o(), n("g", Xl, [
|
|
1146
|
+
c("rect", {
|
|
1147
|
+
x: w.value[d.value].tl.x,
|
|
1148
|
+
y: w.value[d.value].tl.y,
|
|
1156
1149
|
height: "20",
|
|
1157
1150
|
width: "20",
|
|
1158
|
-
fill: w.value[
|
|
1159
|
-
style: q(`cursor: pointer; opacity: ${
|
|
1160
|
-
onClick: u[10] || (u[10] = (a) =>
|
|
1161
|
-
class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable":
|
|
1162
|
-
}, null, 14,
|
|
1163
|
-
|
|
1164
|
-
x: w.value[
|
|
1165
|
-
y: w.value[
|
|
1151
|
+
fill: w.value[d.value].tl.fill,
|
|
1152
|
+
style: q(`cursor: pointer; opacity: ${d.value === "TL" ? 1 : 0.2}`),
|
|
1153
|
+
onClick: u[10] || (u[10] = (a) => M("TL")),
|
|
1154
|
+
class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": d.value !== "TL" })
|
|
1155
|
+
}, null, 14, Yl),
|
|
1156
|
+
c("rect", {
|
|
1157
|
+
x: w.value[d.value].tr.x,
|
|
1158
|
+
y: w.value[d.value].tr.y,
|
|
1166
1159
|
height: "20",
|
|
1167
1160
|
width: "20",
|
|
1168
|
-
fill: w.value[
|
|
1169
|
-
style: q(`cursor: pointer; opacity: ${
|
|
1170
|
-
onClick: u[11] || (u[11] = (a) =>
|
|
1171
|
-
class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable":
|
|
1172
|
-
}, null, 14,
|
|
1173
|
-
|
|
1174
|
-
x: w.value[
|
|
1175
|
-
y: w.value[
|
|
1161
|
+
fill: w.value[d.value].tr.fill,
|
|
1162
|
+
style: q(`cursor: pointer; opacity: ${d.value === "TR" ? 1 : 0.2}`),
|
|
1163
|
+
onClick: u[11] || (u[11] = (a) => M("TR")),
|
|
1164
|
+
class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": d.value !== "TR" })
|
|
1165
|
+
}, null, 14, Al),
|
|
1166
|
+
c("rect", {
|
|
1167
|
+
x: w.value[d.value].br.x,
|
|
1168
|
+
y: w.value[d.value].br.y,
|
|
1176
1169
|
height: "20",
|
|
1177
1170
|
width: "20",
|
|
1178
|
-
fill: w.value[
|
|
1179
|
-
style: q(`cursor: pointer; opacity: ${
|
|
1180
|
-
onClick: u[12] || (u[12] = (a) =>
|
|
1181
|
-
class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable":
|
|
1182
|
-
}, null, 14,
|
|
1183
|
-
|
|
1184
|
-
x: w.value[
|
|
1185
|
-
y: w.value[
|
|
1171
|
+
fill: w.value[d.value].br.fill,
|
|
1172
|
+
style: q(`cursor: pointer; opacity: ${d.value === "BR" ? 1 : 0.2}`),
|
|
1173
|
+
onClick: u[12] || (u[12] = (a) => M("BR")),
|
|
1174
|
+
class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": d.value !== "BR" })
|
|
1175
|
+
}, null, 14, Ml),
|
|
1176
|
+
c("rect", {
|
|
1177
|
+
x: w.value[d.value].bl.x,
|
|
1178
|
+
y: w.value[d.value].bl.y,
|
|
1186
1179
|
height: "20",
|
|
1187
1180
|
width: "20",
|
|
1188
|
-
fill: w.value[
|
|
1189
|
-
style: q(`cursor: pointer; opacity: ${
|
|
1190
|
-
onClick: u[13] || (u[13] = (a) =>
|
|
1191
|
-
class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable":
|
|
1192
|
-
}, null, 14,
|
|
1193
|
-
|
|
1181
|
+
fill: w.value[d.value].bl.fill,
|
|
1182
|
+
style: q(`cursor: pointer; opacity: ${d.value === "BL" ? 1 : 0.2}`),
|
|
1183
|
+
onClick: u[13] || (u[13] = (a) => M("BL")),
|
|
1184
|
+
class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": d.value !== "BL" })
|
|
1185
|
+
}, null, 14, Nl),
|
|
1186
|
+
c("path", {
|
|
1194
1187
|
class: "vue-ui-quadrant-minimap-crosshairs",
|
|
1195
1188
|
stroke: t.value.style.chart.backgroundColor,
|
|
1196
1189
|
"stroke-width": 1,
|
|
1197
|
-
d: w.value[
|
|
1198
|
-
}, null, 8,
|
|
1199
|
-
|
|
1190
|
+
d: w.value[d.value].crosshairs.horizontal
|
|
1191
|
+
}, null, 8, Ol),
|
|
1192
|
+
c("path", {
|
|
1200
1193
|
class: "vue-ui-quadrant-minimap-crosshairs",
|
|
1201
1194
|
stroke: t.value.style.chart.backgroundColor,
|
|
1202
1195
|
"stroke-width": 1,
|
|
1203
|
-
d: w.value[
|
|
1204
|
-
}, null, 8,
|
|
1205
|
-
])) :
|
|
1196
|
+
d: w.value[d.value].crosshairs.vertical
|
|
1197
|
+
}, null, 8, Rl)
|
|
1198
|
+
])) : h("", !0),
|
|
1206
1199
|
x(l.$slots, "svg", { svg: e.value }, void 0, !0)
|
|
1207
|
-
], 14,
|
|
1208
|
-
l.$slots.watermark ? (o(), n("div",
|
|
1209
|
-
x(l.$slots, "watermark",
|
|
1210
|
-
])) :
|
|
1211
|
-
|
|
1200
|
+
], 14, Ht)) : h("", !0),
|
|
1201
|
+
l.$slots.watermark ? (o(), n("div", Vl, [
|
|
1202
|
+
x(l.$slots, "watermark", E(U({ isPrinting: i(Se) || i(ze) })), void 0, !0)
|
|
1203
|
+
])) : h("", !0),
|
|
1204
|
+
K.value ? h("", !0) : (o(), R(i(tt), {
|
|
1212
1205
|
key: 6,
|
|
1213
1206
|
config: {
|
|
1214
1207
|
type: "quadrant",
|
|
@@ -1226,38 +1219,38 @@ const Vt = ["id"], Bt = ["xmlns", "viewBox", "id"], Ft = ["x", "y", "width", "he
|
|
|
1226
1219
|
}
|
|
1227
1220
|
}
|
|
1228
1221
|
}, null, 8, ["config"])),
|
|
1229
|
-
|
|
1222
|
+
c("div", {
|
|
1230
1223
|
ref_key: "chartLegend",
|
|
1231
|
-
ref:
|
|
1224
|
+
ref: pe
|
|
1232
1225
|
}, [
|
|
1233
|
-
t.value.style.chart.legend.show ? (o(),
|
|
1234
|
-
key: `legend_${
|
|
1235
|
-
legendSet:
|
|
1236
|
-
config:
|
|
1237
|
-
onClickMarker: u[14] || (u[14] = ({ legend: a }) =>
|
|
1226
|
+
t.value.style.chart.legend.show ? (o(), R(Pt, {
|
|
1227
|
+
key: `legend_${ke.value}`,
|
|
1228
|
+
legendSet: Me.value,
|
|
1229
|
+
config: ct.value,
|
|
1230
|
+
onClickMarker: u[14] || (u[14] = ({ legend: a }) => ie(a.id))
|
|
1238
1231
|
}, {
|
|
1239
1232
|
item: m(({ legend: a }) => [
|
|
1240
|
-
|
|
1241
|
-
onClick: (s) =>
|
|
1242
|
-
style: q(`opacity:${
|
|
1243
|
-
}, L(a.name), 13,
|
|
1233
|
+
c("div", {
|
|
1234
|
+
onClick: (s) => ie(a.id),
|
|
1235
|
+
style: q(`opacity:${N.value.includes(a.id) ? 0.5 : 1}`)
|
|
1236
|
+
}, L(a.name), 13, Pl)
|
|
1244
1237
|
]),
|
|
1245
1238
|
_: 1
|
|
1246
1239
|
}, 8, ["legendSet", "config"])) : x(l.$slots, "legend", {
|
|
1247
1240
|
key: 1,
|
|
1248
|
-
legend:
|
|
1241
|
+
legend: Me.value
|
|
1249
1242
|
}, void 0, !0)
|
|
1250
1243
|
], 512),
|
|
1251
1244
|
l.$slots.source ? (o(), n("div", {
|
|
1252
1245
|
key: 7,
|
|
1253
1246
|
ref_key: "source",
|
|
1254
|
-
ref:
|
|
1247
|
+
ref: ge,
|
|
1255
1248
|
dir: "auto"
|
|
1256
1249
|
}, [
|
|
1257
1250
|
x(l.$slots, "source", {}, void 0, !0)
|
|
1258
|
-
], 512)) :
|
|
1259
|
-
|
|
1260
|
-
show: $.value.showTooltip &&
|
|
1251
|
+
], 512)) : h("", !0),
|
|
1252
|
+
ce(i(lt), {
|
|
1253
|
+
show: $.value.showTooltip && ee.value,
|
|
1261
1254
|
backgroundColor: t.value.style.chart.tooltip.backgroundColor,
|
|
1262
1255
|
color: t.value.style.chart.tooltip.color,
|
|
1263
1256
|
borderRadius: t.value.style.chart.tooltip.borderRadius,
|
|
@@ -1267,32 +1260,32 @@ const Vt = ["id"], Bt = ["xmlns", "viewBox", "id"], Ft = ["x", "y", "width", "he
|
|
|
1267
1260
|
backgroundOpacity: t.value.style.chart.tooltip.backgroundOpacity,
|
|
1268
1261
|
position: t.value.style.chart.tooltip.position,
|
|
1269
1262
|
offsetY: t.value.style.chart.tooltip.offsetY,
|
|
1270
|
-
parent:
|
|
1271
|
-
content:
|
|
1272
|
-
isFullscreen:
|
|
1263
|
+
parent: G.value,
|
|
1264
|
+
content: re.value,
|
|
1265
|
+
isFullscreen: I.value,
|
|
1273
1266
|
isCustom: t.value.style.chart.tooltip.customFormat && typeof t.value.style.chart.tooltip.customFormat == "function"
|
|
1274
1267
|
}, {
|
|
1275
1268
|
"tooltip-before": m(() => [
|
|
1276
|
-
x(l.$slots, "tooltip-before",
|
|
1269
|
+
x(l.$slots, "tooltip-before", E(U({ ...ve.value })), void 0, !0)
|
|
1277
1270
|
]),
|
|
1278
1271
|
"tooltip-after": m(() => [
|
|
1279
|
-
x(l.$slots, "tooltip-after",
|
|
1272
|
+
x(l.$slots, "tooltip-after", E(U({ ...ve.value })), void 0, !0)
|
|
1280
1273
|
]),
|
|
1281
1274
|
default: m(() => [
|
|
1282
|
-
t.value.style.chart.tooltip.showShape ? (o(), n("svg",
|
|
1283
|
-
|
|
1275
|
+
t.value.style.chart.tooltip.showShape ? (o(), n("svg", Bl, [
|
|
1276
|
+
ce(i(ye), {
|
|
1284
1277
|
plot: { x: 10, y: 10 },
|
|
1285
|
-
shape:
|
|
1286
|
-
color:
|
|
1278
|
+
shape: j.value.shape,
|
|
1279
|
+
color: j.value.color,
|
|
1287
1280
|
radius: 8,
|
|
1288
1281
|
stroke: t.value.style.chart.layout.plots.outline ? t.value.style.chart.layout.plots.outlineColor : "none",
|
|
1289
1282
|
"stroke-width": t.value.style.chart.layout.plots.outlineWidth
|
|
1290
1283
|
}, null, 8, ["shape", "color", "stroke", "stroke-width"])
|
|
1291
|
-
])) :
|
|
1284
|
+
])) : h("", !0)
|
|
1292
1285
|
]),
|
|
1293
1286
|
_: 3
|
|
1294
1287
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
|
|
1295
|
-
|
|
1288
|
+
K.value ? (o(), R(i(et), {
|
|
1296
1289
|
key: 8,
|
|
1297
1290
|
hideDetails: "",
|
|
1298
1291
|
config: {
|
|
@@ -1309,31 +1302,31 @@ const Vt = ["id"], Bt = ["xmlns", "viewBox", "id"], Ft = ["x", "y", "width", "he
|
|
|
1309
1302
|
}
|
|
1310
1303
|
}, {
|
|
1311
1304
|
content: m(() => [
|
|
1312
|
-
(o(),
|
|
1313
|
-
key: `table_${
|
|
1314
|
-
colNames:
|
|
1315
|
-
head:
|
|
1316
|
-
body:
|
|
1317
|
-
config:
|
|
1305
|
+
(o(), R(i(Ze), {
|
|
1306
|
+
key: `table_${$e.value}`,
|
|
1307
|
+
colNames: ae.value.colNames,
|
|
1308
|
+
head: ae.value.head,
|
|
1309
|
+
body: ae.value.body,
|
|
1310
|
+
config: ae.value.config,
|
|
1318
1311
|
title: `${t.value.style.chart.title.text}${t.value.style.chart.title.subtitle.text ? ` : ${t.value.style.chart.title.subtitle.text}` : ""}`,
|
|
1319
1312
|
onClose: u[15] || (u[15] = (a) => $.value.showTable = !1)
|
|
1320
1313
|
}, {
|
|
1321
1314
|
th: m(({ th: a }) => [
|
|
1322
|
-
|
|
1315
|
+
pt(L(a), 1)
|
|
1323
1316
|
]),
|
|
1324
1317
|
td: m(({ td: a }) => [
|
|
1325
|
-
|
|
1318
|
+
c("div", {
|
|
1326
1319
|
innerHTML: a.name || a
|
|
1327
|
-
}, null, 8,
|
|
1320
|
+
}, null, 8, Fl)
|
|
1328
1321
|
]),
|
|
1329
1322
|
_: 1
|
|
1330
1323
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
1331
1324
|
]),
|
|
1332
1325
|
_: 1
|
|
1333
|
-
}, 8, ["config"])) :
|
|
1334
|
-
], 46,
|
|
1326
|
+
}, 8, ["config"])) : h("", !0)
|
|
1327
|
+
], 46, Ft));
|
|
1335
1328
|
}
|
|
1336
|
-
},
|
|
1329
|
+
}, ea = /* @__PURE__ */ Bt(Hl, [["__scopeId", "data-v-e6899631"]]);
|
|
1337
1330
|
export {
|
|
1338
|
-
|
|
1331
|
+
ea as default
|
|
1339
1332
|
};
|