vue-data-ui 3.17.7 → 3.17.9
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/{PackageVersion-D7UsxIU3.js → PackageVersion-Ov37I8ii.js} +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-bump.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +9 -1
- package/dist/{useConfig-DTHxOX6V.js → useConfig-B70q17MC.js} +5 -2
- package/dist/{useObjectBindings-BjkVidN3.js → useObjectBindings-CIy6RtGn.js} +1 -1
- package/dist/utils.js +1 -1
- package/dist/{vue-data-ui-Du_qkQyu.js → vue-data-ui-C1Z1RCcf.js} +67 -67
- package/dist/vue-data-ui.js +68 -68
- package/dist/{vue-ui-3d-bar-gIc1g60K.js → vue-ui-3d-bar-BqqCv_L2.js} +3 -3
- package/dist/{vue-ui-accordion-BHmfmb_6.js → vue-ui-accordion-_zwPlx0H.js} +1 -1
- package/dist/{vue-ui-age-pyramid-CRxbfWdY.js → vue-ui-age-pyramid-C-2sRuVe.js} +3 -3
- package/dist/{vue-ui-annotator-Db4eooqI.js → vue-ui-annotator-CveKE2KC.js} +2 -2
- package/dist/{vue-ui-bullet-BlEOUwNr.js → vue-ui-bullet-CkBMlG46.js} +2 -2
- package/dist/{vue-ui-bump-Bs3e3KcI.js → vue-ui-bump-DxBzf8_x.js} +3 -3
- package/dist/{vue-ui-candlestick-BEGQhq-W.js → vue-ui-candlestick-CQw6E5XK.js} +3 -3
- package/dist/{vue-ui-carousel-table-CuOUIIbO.js → vue-ui-carousel-table-ehHnnwYQ.js} +2 -2
- package/dist/{vue-ui-chestnut-1gHrx1-s.js → vue-ui-chestnut-CEG1n9Bg.js} +3 -3
- package/dist/{vue-ui-chord-DOPm4RmH.js → vue-ui-chord-Bm8sj1jg.js} +3 -3
- package/dist/{vue-ui-circle-pack-CI76sYNB.js → vue-ui-circle-pack-BhtBzyoU.js} +3 -3
- package/dist/{vue-ui-cursor-CGn-QDX9.js → vue-ui-cursor-KjOp9R9e.js} +2 -2
- package/dist/{vue-ui-dag-LAYMq6km.js → vue-ui-dag-DsBuepaA.js} +2 -2
- package/dist/{vue-ui-dashboard-CPQxEo42.js → vue-ui-dashboard-ClvBMAzA.js} +65 -65
- package/dist/{vue-ui-digits-5t8TjeeS.js → vue-ui-digits-CUN5zijI.js} +2 -2
- package/dist/{vue-ui-donut-BvopByst.js → vue-ui-donut-B1EgAu-L.js} +3 -3
- package/dist/{vue-ui-donut-evolution-BGXBWuKg.js → vue-ui-donut-evolution-5PjaWTvx.js} +4 -4
- package/dist/{vue-ui-dumbbell-C5f56KQI.js → vue-ui-dumbbell-D8hAgMko.js} +3 -3
- package/dist/{vue-ui-flow-BXaXVXas.js → vue-ui-flow-jJLellQk.js} +3 -3
- package/dist/{vue-ui-funnel-CsU05oj2.js → vue-ui-funnel-C4JIWkGm.js} +3 -3
- package/dist/{vue-ui-galaxy-hjPGRUCf.js → vue-ui-galaxy-CuqTB4XR.js} +3 -3
- package/dist/{vue-ui-gauge-CTqZJDCY.js → vue-ui-gauge-B5bJUzMr.js} +2 -2
- package/dist/{vue-ui-geo-BbIgbqV-.js → vue-ui-geo-BJiW5vL1.js} +2 -2
- package/dist/{vue-ui-gizmo-WFwz6fj6.js → vue-ui-gizmo-D5e5T4fu.js} +2 -2
- package/dist/{vue-ui-heatmap-DzrHrimV.js → vue-ui-heatmap-Bsr9R8ek.js} +3 -3
- package/dist/{vue-ui-history-plot-DXQnRjJM.js → vue-ui-history-plot-pXrD1Fm7.js} +3 -3
- package/dist/{vue-ui-horizontal-bar-DG9_Wql8.js → vue-ui-horizontal-bar-7HugQ0dT.js} +3 -3
- package/dist/{vue-ui-kpi-D-WCJhyF.js → vue-ui-kpi-BLVCrWfG.js} +2 -2
- package/dist/{vue-ui-mini-loader-CyDOoarO.js → vue-ui-mini-loader-Ch3pABN3.js} +1 -1
- package/dist/{vue-ui-molecule-DbXKNiG4.js → vue-ui-molecule-DhIWpt07.js} +3 -3
- package/dist/{vue-ui-mood-radar-BQPBN4mA.js → vue-ui-mood-radar-BUpDYe22.js} +3 -3
- package/dist/{vue-ui-nested-donuts-Csuw3C58.js → vue-ui-nested-donuts-JhqmPAhH.js} +3 -3
- package/dist/{vue-ui-onion-CDA_eWqE.js → vue-ui-onion-DUSgz_9-.js} +3 -3
- package/dist/{vue-ui-parallel-coordinate-plot-CjPfE5uv.js → vue-ui-parallel-coordinate-plot-Cbn9N0y0.js} +3 -3
- package/dist/{vue-ui-quadrant-BP91bgJ2.js → vue-ui-quadrant-Foz7WuoD.js} +529 -524
- package/dist/{vue-ui-quick-chart-BECkCQV0.js → vue-ui-quick-chart-DVH6A-Nr.js} +2 -2
- package/dist/{vue-ui-radar-CEjKIwz2.js → vue-ui-radar-CDpMulQa.js} +3 -3
- package/dist/{vue-ui-rating-DKmEn0VK.js → vue-ui-rating-CIXRuv3M.js} +1 -1
- package/dist/{vue-ui-relation-circle-Ds9sdr-h.js → vue-ui-relation-circle-ChtfTtXY.js} +2 -2
- package/dist/{vue-ui-ridgeline-CaNrSWz1.js → vue-ui-ridgeline-DXs-IeYj.js} +3 -3
- package/dist/{vue-ui-rings-LRiAx82U.js → vue-ui-rings-BfhsTTW_.js} +3 -3
- package/dist/{vue-ui-scatter-jY8YHHIr.js → vue-ui-scatter-CYWGf_oA.js} +3 -3
- package/dist/{vue-ui-skeleton-DFCkA9d2.js → vue-ui-skeleton-BPUPkwbA.js} +2 -2
- package/dist/{vue-ui-smiley-BLMl69Ca.js → vue-ui-smiley-D_oAUZR1.js} +1 -1
- package/dist/{vue-ui-spark-trend-DV6s8MY4.js → vue-ui-spark-trend-Cz7B6dw6.js} +2 -2
- package/dist/{vue-ui-sparkbar-6832jVNI.js → vue-ui-sparkbar-Dv89_7Pf.js} +2 -2
- package/dist/{vue-ui-sparkgauge-DkhMo6EH.js → vue-ui-sparkgauge-BOPXQq5e.js} +2 -2
- package/dist/{vue-ui-sparkhistogram-DM2rWusY.js → vue-ui-sparkhistogram-BXYBq4wu.js} +2 -2
- package/dist/{vue-ui-sparkline-xqwvE5D3.js → vue-ui-sparkline-B-CVRLdL.js} +2 -2
- package/dist/{vue-ui-sparkstackbar-DFQ5Cb2h.js → vue-ui-sparkstackbar-Dg3wvlR7.js} +2 -2
- package/dist/{vue-ui-stackbar-OUgzqXk4.js → vue-ui-stackbar-Dojc9vet.js} +3 -3
- package/dist/{vue-ui-stackline-BCXq29Jo.js → vue-ui-stackline-BrZw5IXj.js} +3 -3
- package/dist/{vue-ui-strip-plot-BgztfGLm.js → vue-ui-strip-plot-Jqkr7XWO.js} +3 -3
- package/dist/{vue-ui-table-B0AtIA3B.js → vue-ui-table-B_TE9dWt.js} +3 -3
- package/dist/{vue-ui-table-heatmap-CWp_5d1z.js → vue-ui-table-heatmap-DXuKkXsE.js} +1 -1
- package/dist/{vue-ui-table-sparkline-B1N0kuUe.js → vue-ui-table-sparkline-DtryAFeu.js} +2 -2
- package/dist/{vue-ui-thermometer-7FNwmAOQ.js → vue-ui-thermometer-Cf2u4_lH.js} +2 -2
- package/dist/{vue-ui-timer-CMrWGqdt.js → vue-ui-timer-BCw6IHHQ.js} +2 -2
- package/dist/{vue-ui-tiremarks-Co1Z7Sqt.js → vue-ui-tiremarks-AOLQC2Pm.js} +2 -2
- package/dist/{vue-ui-treemap-CoAbOv9j.js → vue-ui-treemap-C8MtnLLV.js} +3 -3
- package/dist/{vue-ui-waffle-DvDucxEW.js → vue-ui-waffle-DvQ-_joz.js} +3 -3
- package/dist/{vue-ui-wheel-ntU5t4mw.js → vue-ui-wheel-BzBzZw1d.js} +2 -2
- package/dist/{vue-ui-word-cloud-Boqcvs5-.js → vue-ui-word-cloud-LrVTAPzW.js} +3 -3
- package/dist/{vue-ui-world-CSEx_65t.js → vue-ui-world-7DPU6qqx.js} +3 -3
- package/dist/{vue-ui-xy-CVbiS4kX.js → vue-ui-xy-XsqGdS48.js} +4 -4
- package/dist/{vue-ui-xy-canvas-BeHqxTFy.js → vue-ui-xy-canvas--zevqB3i.js} +2 -2
- package/package.json +3 -3
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
import { defineAsyncComponent as
|
|
2
|
-
import { j as
|
|
3
|
-
import { t as
|
|
4
|
-
import { u as
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as
|
|
7
|
-
import { u as
|
|
8
|
-
import { u as
|
|
9
|
-
import { u as
|
|
10
|
-
import { u as
|
|
11
|
-
import { u as
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import { _ as
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import { A as
|
|
18
|
-
import { B as
|
|
19
|
-
import { _ as
|
|
20
|
-
const
|
|
1
|
+
import { defineAsyncComponent as D, computed as m, ref as h, toRefs as nl, watch as Ve, shallowRef as $t, onMounted as rl, onBeforeUnmount as il, openBlock as n, createElementBlock as r, unref as v, normalizeStyle as _, normalizeClass as O, createElementVNode as y, toDisplayString as w, createBlock as B, createCommentVNode as d, withCtx as p, renderSlot as g, normalizeProps as T, guardReactiveProps as q, createSlots as kt, createVNode as ce, Fragment as A, renderList as N, mergeProps as wt, Teleport as vl, resolveDynamicComponent as dl, createTextVNode as Lt, nextTick as _e } from "vue";
|
|
2
|
+
import { j as Ct, t as cl, m as hl, p as Re, o as yl, q as oe, n as bl, s as fl, ak as pl, k as H, l as E, X as gl, u as Te, v as ml, al as xl, Z as $l, W as kl, a0 as wl, a1 as Ll, T as Cl, U as Sl } from "./lib-DMzrGQHK.js";
|
|
3
|
+
import { t as _l, u as Tl } from "./useResponsive-DfdjqQps.js";
|
|
4
|
+
import { u as ql } from "./useConfig-B70q17MC.js";
|
|
5
|
+
import { u as Al, B as zl } from "./BaseScanner-C2j3TsSY.js";
|
|
6
|
+
import { u as Wl } from "./usePrinter-C4t8DdQ-.js";
|
|
7
|
+
import { u as Xl } from "./useSvgExport-BTG4hVPO.js";
|
|
8
|
+
import { u as Pl } from "./useThemeCheck-C9Ccl7U9.js";
|
|
9
|
+
import { u as De } from "./useNestedProp-DH0BEVVS.js";
|
|
10
|
+
import { u as Yl } from "./useUserOptionState-B7Ej974k.js";
|
|
11
|
+
import { u as Ml } from "./useChartAccessibility-cp6XQtqi.js";
|
|
12
|
+
import Ol from "./img-CjTQXS0U.js";
|
|
13
|
+
import Bl from "./Title-BbKoiBk2.js";
|
|
14
|
+
import { _ as St } from "./Shape-CxJ5_Rre.js";
|
|
15
|
+
import Nl from "./vue_ui_quadrant-DjRs--Uz.js";
|
|
16
|
+
import Fl from "./Legend-DGN5lY60.js";
|
|
17
|
+
import { A as Il } from "./A11yDataTable-BpmuNomI.js";
|
|
18
|
+
import { B as Vl } from "./BaseLegendToggle-cMP8M2u0.js";
|
|
19
|
+
import { _ as Rl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
20
|
+
const Dl = ["id"], Hl = ["id"], El = ["id"], Ul = { style: { position: "relative" } }, Ql = ["xmlns", "aria-describedby", "viewBox", "id"], Gl = ["x", "y", "width", "height"], Kl = ["id"], jl = ["stop-color"], Jl = ["stop-color"], Zl = { key: 1 }, ea = ["fill", "x", "y", "height", "width", "stroke-width", "stroke", "rx"], ta = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], la = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], aa = { key: 2 }, oa = ["points", "fill"], ua = ["points", "fill"], sa = ["points", "fill"], na = ["points", "fill"], ra = { key: 3 }, ia = ["y", "fill", "font-size"], va = ["x", "y", "fill", "font-size"], da = ["x", "y", "fill", "font-size"], ca = ["y", "fill", "font-size"], ha = { key: 4 }, ya = ["x", "y", "font-size", "fill"], ba = ["x", "y", "font-size", "fill"], fa = ["x", "y", "font-size", "fill"], pa = ["id", "font-size", "transform", "fill"], ga = ["id", "font-size", "transform", "fill"], ma = ["id", "font-size", "transform", "fill"], xa = { key: 5 }, $a = ["fill", "points"], ka = ["x", "y", "width", "height"], wa = ["x", "y", "width", "height"], La = ["x", "y", "width", "height"], Ca = ["x", "y", "width", "height"], Sa = ["x", "y", "onMouseenter", "onMouseleave", "onClick"], _a = ["data-a11y-plot-id", "cx", "cy", "r"], Ta = ["data-a11y-plot-id", "cx", "cy", "r"], qa = {
|
|
21
21
|
key: 0,
|
|
22
22
|
style: { "pointer-events": "none" }
|
|
23
|
-
},
|
|
23
|
+
}, Aa = ["x", "y", "font-size", "fill"], za = ["x", "y", "font-size", "fill", "innerHTML"], Wa = { key: 0 }, Xa = ["x", "y", "onMouseover", "onMouseleave", "onClick"], Pa = {
|
|
24
24
|
key: 8,
|
|
25
25
|
class: "vue-ui-dna"
|
|
26
|
-
},
|
|
26
|
+
}, Ya = ["points", "fill"], Ma = ["points", "fill"], Oa = ["points", "fill"], Ba = ["points", "fill"], Na = { key: 9 }, Fa = ["x", "y", "font-size", "fill", "font-weight"], Ia = { key: 10 }, Va = ["x", "y", "fill"], Ra = ["x", "y", "fill"], Da = ["x", "y", "fill"], Ha = ["x", "y", "fill"], Ea = ["stroke", "d"], Ua = ["stroke", "d"], Qa = {
|
|
27
27
|
key: 0,
|
|
28
28
|
style: { position: "absolute", top: "100%", left: "0", width: "100%" },
|
|
29
29
|
"data-dom-to-png-ignore": "",
|
|
30
30
|
"aria-hidden": "true"
|
|
31
|
-
},
|
|
31
|
+
}, Ga = {
|
|
32
32
|
key: 5,
|
|
33
33
|
class: "vue-data-ui-watermark"
|
|
34
|
-
},
|
|
34
|
+
}, Ka = ["id"], ja = ["onClick"], Ja = {
|
|
35
35
|
key: 0,
|
|
36
36
|
height: "14",
|
|
37
37
|
width: "14",
|
|
38
38
|
viewBox: "0 0 20 20"
|
|
39
|
-
},
|
|
39
|
+
}, Za = ["innerHTML"], eo = {
|
|
40
40
|
__name: "vue-ui-quadrant",
|
|
41
41
|
props: {
|
|
42
42
|
config: {
|
|
@@ -58,18 +58,18 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
|
|
|
58
58
|
"selectLegend",
|
|
59
59
|
"copyAlt"
|
|
60
60
|
],
|
|
61
|
-
setup(
|
|
62
|
-
const
|
|
61
|
+
setup(_t, { expose: Tt, emit: qt }) {
|
|
62
|
+
const At = D(() => import("./Tooltip-Cvt7Fi0Q.js")), zt = D(() => import("./BaseIcon-DX0hTWa-.js")), Wt = D(() => import("./vue-ui-accordion-_zwPlx0H.js")), Xt = D(() => import("./DataTable-cMnb68Ik.js")), Pt = D(
|
|
63
63
|
() => import("./PenAndPaper-CJDoB5H9.js")
|
|
64
|
-
),
|
|
64
|
+
), Yt = D(
|
|
65
65
|
() => import("./UserOptions-DVduN6X7.js")
|
|
66
|
-
),
|
|
67
|
-
() => import("./PackageVersion-
|
|
68
|
-
),
|
|
66
|
+
), Mt = D(
|
|
67
|
+
() => import("./PackageVersion-Ov37I8ii.js")
|
|
68
|
+
), Ot = D(
|
|
69
69
|
() => import("./BaseDraggableDialog-Di8Hlru3.js")
|
|
70
|
-
), { vue_ui_quadrant:
|
|
70
|
+
), { vue_ui_quadrant: Bt } = ql(), { isThemeValid: Nt, warnInvalidTheme: Ft } = Pl(), M = _t, He = m(() => !!M.dataset && M.dataset.length), $ = h(Ct()), he = qt, ye = h(!1), qe = h(""), Ee = h(0), x = h(!1), F = h(null), Ue = h(null), Qe = h(null), Ge = h(null), Ke = h(null), je = h(0), Je = h(0), Ze = h(0), et = h(!1), ue = h(null), Ae = h(null), be = h(!1), fe = h(!1), J = h(null), pe = h(null), tt = h({ x: 0, y: 0 }), ze = h("pointer"), ge = h(!1), e = h(Xe()), X = m(
|
|
71
71
|
() => e.value.userOptions.useCursorPointer
|
|
72
|
-
),
|
|
72
|
+
), It = m(() => ({
|
|
73
73
|
defaultConfig: {
|
|
74
74
|
userOptions: { show: !1 },
|
|
75
75
|
table: { show: !1 },
|
|
@@ -106,13 +106,13 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
|
|
|
106
106
|
}
|
|
107
107
|
},
|
|
108
108
|
userConfig: e.value.skeletonConfig ?? {}
|
|
109
|
-
})), { loading:
|
|
110
|
-
...
|
|
109
|
+
})), { loading: me, FINAL_DATASET: lt } = Al({
|
|
110
|
+
...nl(M),
|
|
111
111
|
FINAL_CONFIG: e,
|
|
112
|
-
prepareConfig:
|
|
112
|
+
prepareConfig: Xe,
|
|
113
113
|
callback: () => {
|
|
114
114
|
Promise.resolve().then(async () => {
|
|
115
|
-
await
|
|
115
|
+
await _e(), k.value.showTable = e.value.table.show;
|
|
116
116
|
});
|
|
117
117
|
},
|
|
118
118
|
skeletonDataset: M.config?.skeletonDataset ?? [
|
|
@@ -137,95 +137,95 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
|
|
|
137
137
|
]
|
|
138
138
|
}
|
|
139
139
|
],
|
|
140
|
-
skeletonConfig:
|
|
140
|
+
skeletonConfig: cl({
|
|
141
141
|
defaultConfig: e.value,
|
|
142
|
-
userConfig:
|
|
142
|
+
userConfig: It.value
|
|
143
143
|
})
|
|
144
|
-
}), { userOptionsVisible:
|
|
144
|
+
}), { userOptionsVisible: We, setUserOptionsVisibility: at, keepUserOptionState: ot } = Yl({ config: e.value }), { svgRef: U } = Ml({
|
|
145
145
|
config: e.value.style.chart.title
|
|
146
146
|
});
|
|
147
|
-
function
|
|
148
|
-
const l =
|
|
147
|
+
function Xe() {
|
|
148
|
+
const l = De({
|
|
149
149
|
userConfig: M.config,
|
|
150
|
-
defaultConfig:
|
|
150
|
+
defaultConfig: Bt
|
|
151
151
|
}), o = l.theme;
|
|
152
152
|
if (!o) return l;
|
|
153
|
-
if (!
|
|
154
|
-
return
|
|
155
|
-
const a =
|
|
156
|
-
userConfig:
|
|
153
|
+
if (!Nt.value(l))
|
|
154
|
+
return Ft(l), l;
|
|
155
|
+
const a = De({
|
|
156
|
+
userConfig: Nl[o] || M.config,
|
|
157
157
|
defaultConfig: l
|
|
158
|
-
}), s =
|
|
158
|
+
}), s = De({
|
|
159
159
|
userConfig: M.config,
|
|
160
160
|
defaultConfig: a
|
|
161
161
|
});
|
|
162
162
|
return {
|
|
163
163
|
...s,
|
|
164
|
-
customPalette: s.customPalette.length ? s.customPalette :
|
|
164
|
+
customPalette: s.customPalette.length ? s.customPalette : hl[o] || Re
|
|
165
165
|
};
|
|
166
166
|
}
|
|
167
|
-
|
|
167
|
+
Ve(
|
|
168
168
|
() => M.config,
|
|
169
169
|
(l) => {
|
|
170
|
-
e.value =
|
|
170
|
+
e.value = Xe(), We.value = !e.value.userOptions.showOnChartHover, ut(), je.value += 1, Je.value += 1, Ze.value += 1, k.value.plotLabels.show = e.value.style.chart.layout.labels.plotLabels.show, k.value.showTable = e.value.table.show, k.value.showTooltip = e.value.style.chart.tooltip.show;
|
|
171
171
|
},
|
|
172
172
|
{ deep: !0 }
|
|
173
173
|
);
|
|
174
|
-
const
|
|
175
|
-
function
|
|
176
|
-
if (
|
|
174
|
+
const V = $t(null), Z = $t(null), ee = m(() => e.value.debug);
|
|
175
|
+
function ut() {
|
|
176
|
+
if (yl(M.dataset) ? oe({
|
|
177
177
|
componentName: "VueUiQuadrant",
|
|
178
178
|
type: "dataset",
|
|
179
|
-
debug:
|
|
179
|
+
debug: ee.value
|
|
180
180
|
}) : M.dataset.forEach((l, o) => {
|
|
181
|
-
[null, void 0].includes(l.name) &&
|
|
181
|
+
[null, void 0].includes(l.name) && oe({
|
|
182
182
|
componentName: "VueUiQuadrant",
|
|
183
183
|
type: "datasetSerieAttribute",
|
|
184
184
|
property: "name",
|
|
185
185
|
index: o,
|
|
186
|
-
debug:
|
|
187
|
-
}), [null, void 0].includes(l.series) ?
|
|
186
|
+
debug: ee.value
|
|
187
|
+
}), [null, void 0].includes(l.series) ? oe({
|
|
188
188
|
componentName: "VueUiQuadrant",
|
|
189
189
|
type: "datasetSerieAttribute",
|
|
190
190
|
property: "series",
|
|
191
191
|
index: o,
|
|
192
|
-
debug:
|
|
192
|
+
debug: ee.value
|
|
193
193
|
}) : l.series.forEach((a, s) => {
|
|
194
|
-
[null, void 0].includes(a.name) &&
|
|
194
|
+
[null, void 0].includes(a.name) && oe({
|
|
195
195
|
componentName: "VueUiQuadrant",
|
|
196
196
|
type: "datasetSerieAttribute",
|
|
197
197
|
property: "name",
|
|
198
198
|
key: "series",
|
|
199
199
|
index: s,
|
|
200
|
-
debug:
|
|
200
|
+
debug: ee.value
|
|
201
201
|
});
|
|
202
202
|
});
|
|
203
203
|
}), e.value.responsive) {
|
|
204
|
-
const l =
|
|
205
|
-
const { width: o, height: a } =
|
|
206
|
-
chart:
|
|
207
|
-
title: e.value.style.chart.title.text ?
|
|
208
|
-
legend: e.value.style.chart.legend.show ?
|
|
209
|
-
source:
|
|
210
|
-
noTitle:
|
|
204
|
+
const l = _l(() => {
|
|
205
|
+
const { width: o, height: a } = Tl({
|
|
206
|
+
chart: F.value,
|
|
207
|
+
title: e.value.style.chart.title.text ? Ue.value : null,
|
|
208
|
+
legend: e.value.style.chart.legend.show ? Qe.value : null,
|
|
209
|
+
source: Ge.value,
|
|
210
|
+
noTitle: Ke.value
|
|
211
211
|
});
|
|
212
212
|
L.value = 48, requestAnimationFrame(() => {
|
|
213
213
|
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;
|
|
214
214
|
});
|
|
215
215
|
});
|
|
216
|
-
|
|
216
|
+
V.value && (Z.value && V.value.unobserve(Z.value), V.value.disconnect()), V.value = new ResizeObserver(l), Z.value = F.value.parentNode, V.value.observe(Z.value);
|
|
217
217
|
}
|
|
218
218
|
}
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
}),
|
|
222
|
-
|
|
219
|
+
rl(() => {
|
|
220
|
+
et.value = !0, ut();
|
|
221
|
+
}), il(() => {
|
|
222
|
+
V.value && (Z.value && V.value.unobserve(Z.value), V.value.disconnect());
|
|
223
223
|
});
|
|
224
|
-
const { isPrinting:
|
|
224
|
+
const { isPrinting: Pe, isImaging: Ye, generatePdf: st, generateImage: nt } = Wl({
|
|
225
225
|
elementId: `vue-ui-quadrant_${$.value}`,
|
|
226
226
|
fileName: e.value.style.chart.title.text || "vue-ui-quadrant",
|
|
227
227
|
options: e.value.userOptions.print
|
|
228
|
-
}),
|
|
228
|
+
}), Vt = m(() => e.value.userOptions.show && !e.value.style.chart.title.text), rt = m(() => bl(e.value.customPalette)), k = h({
|
|
229
229
|
plotLabels: {
|
|
230
230
|
show: e.value.style.chart.layout.labels.plotLabels.show
|
|
231
231
|
},
|
|
@@ -248,7 +248,7 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
|
|
|
248
248
|
startX: 0,
|
|
249
249
|
startY: 0
|
|
250
250
|
});
|
|
251
|
-
|
|
251
|
+
Ve(
|
|
252
252
|
() => t.value,
|
|
253
253
|
(l) => {
|
|
254
254
|
l && (b.value = {
|
|
@@ -259,7 +259,7 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
|
|
|
259
259
|
},
|
|
260
260
|
{ deep: !0 }
|
|
261
261
|
);
|
|
262
|
-
const f = h(null),
|
|
262
|
+
const f = h(null), Q = m(() => {
|
|
263
263
|
switch (f.value) {
|
|
264
264
|
case "TL":
|
|
265
265
|
return {
|
|
@@ -307,9 +307,9 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
|
|
|
307
307
|
bold: !1
|
|
308
308
|
};
|
|
309
309
|
}
|
|
310
|
-
}),
|
|
311
|
-
function
|
|
312
|
-
f.value &&
|
|
310
|
+
}), Rt = h(null), xe = h(!1);
|
|
311
|
+
function se({ targetX: l, targetY: o, targetW: a, targetH: s, side: u }) {
|
|
312
|
+
f.value && ie(u);
|
|
313
313
|
const i = {
|
|
314
314
|
x: l - b.value.startX,
|
|
315
315
|
y: o - b.value.startY,
|
|
@@ -317,15 +317,16 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
|
|
|
317
317
|
h: s - b.value.height
|
|
318
318
|
}, c = e.value.zoomAnimationFrames;
|
|
319
319
|
let Y = 0;
|
|
320
|
-
function
|
|
321
|
-
|
|
320
|
+
function Ce() {
|
|
321
|
+
xe.value = !0, b.value.startX += i.x / c, b.value.startY += i.y / c, b.value.width += i.w / c, b.value.height += i.h / c, Y += 1, Y < c ? Rt.value = requestAnimationFrame(Ce) : xe.value = !1;
|
|
322
322
|
}
|
|
323
|
-
|
|
323
|
+
Ce();
|
|
324
324
|
}
|
|
325
|
-
|
|
326
|
-
|
|
325
|
+
const I = m(() => e.value.zoomEnabled);
|
|
326
|
+
function R(l) {
|
|
327
|
+
if (I.value && !xe.value)
|
|
327
328
|
if (x.value && f.value === l)
|
|
328
|
-
|
|
329
|
+
se({
|
|
329
330
|
targetX: 0,
|
|
330
331
|
targetY: 0,
|
|
331
332
|
targetW: t.value.width,
|
|
@@ -334,7 +335,7 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
|
|
|
334
335
|
else {
|
|
335
336
|
switch (f.value = l, l) {
|
|
336
337
|
case "TL":
|
|
337
|
-
|
|
338
|
+
se({
|
|
338
339
|
targetX: 0,
|
|
339
340
|
targetY: 0,
|
|
340
341
|
targetW: t.value.width / 2 + t.value.left,
|
|
@@ -343,7 +344,7 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
|
|
|
343
344
|
});
|
|
344
345
|
break;
|
|
345
346
|
case "TR":
|
|
346
|
-
|
|
347
|
+
se({
|
|
347
348
|
targetX: t.value.width / 2 - t.value.left,
|
|
348
349
|
targetY: 0,
|
|
349
350
|
targetW: t.value.width / 2 + t.value.left,
|
|
@@ -352,7 +353,7 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
|
|
|
352
353
|
});
|
|
353
354
|
break;
|
|
354
355
|
case "BR":
|
|
355
|
-
|
|
356
|
+
se({
|
|
356
357
|
targetX: t.value.width / 2 - t.value.left,
|
|
357
358
|
targetY: t.value.height / 2 - t.value.top,
|
|
358
359
|
targetW: t.value.width / 2 + t.value.left,
|
|
@@ -361,7 +362,7 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
|
|
|
361
362
|
});
|
|
362
363
|
break;
|
|
363
364
|
case "BL":
|
|
364
|
-
|
|
365
|
+
se({
|
|
365
366
|
targetX: 0,
|
|
366
367
|
targetY: t.value.height / 2 - t.value.top,
|
|
367
368
|
targetW: t.value.width / 2 + t.value.left,
|
|
@@ -376,7 +377,7 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
|
|
|
376
377
|
x.value = !0;
|
|
377
378
|
}
|
|
378
379
|
}
|
|
379
|
-
const
|
|
380
|
+
const Dt = m(() => {
|
|
380
381
|
const l = e.value.style.chart.layout.grid.graduations.steps, o = t.value.usableWidth / (l * 2), a = t.value.top, s = [];
|
|
381
382
|
for (let u = 0; u < l; u += 1)
|
|
382
383
|
s.push({
|
|
@@ -390,13 +391,13 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
|
|
|
390
391
|
}), z = m(() => {
|
|
391
392
|
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, s = e.value.style.chart.layout.grid.yAxis.min;
|
|
392
393
|
return e.value.style.chart.layout.grid.xAxis.auto && (l = Math.max(
|
|
393
|
-
...
|
|
394
|
+
...te.value.flatMap((u) => u.series.map((i) => i.x))
|
|
394
395
|
), o = Math.min(
|
|
395
|
-
...
|
|
396
|
+
...te.value.flatMap((u) => u.series.map((i) => i.x))
|
|
396
397
|
)), e.value.style.chart.layout.grid.yAxis.auto && (a = Math.max(
|
|
397
|
-
...
|
|
398
|
+
...te.value.flatMap((u) => u.series.map((i) => i.y))
|
|
398
399
|
), s = Math.min(
|
|
399
|
-
...
|
|
400
|
+
...te.value.flatMap((u) => u.series.map((i) => i.y))
|
|
400
401
|
)), {
|
|
401
402
|
x: {
|
|
402
403
|
max: l,
|
|
@@ -407,66 +408,68 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
|
|
|
407
408
|
min: s
|
|
408
409
|
}
|
|
409
410
|
};
|
|
410
|
-
}), C = h([]),
|
|
411
|
-
() =>
|
|
411
|
+
}), C = h([]), te = m(
|
|
412
|
+
() => lt.value.map((l, o) => ({
|
|
412
413
|
...l,
|
|
413
|
-
series:
|
|
414
|
+
series: pl({
|
|
414
415
|
data: l.series,
|
|
415
416
|
threshold: e.value.downsample.threshold
|
|
416
417
|
}),
|
|
417
418
|
id: `cat_${o}_${$.value}`,
|
|
418
|
-
color:
|
|
419
|
+
color: fl(l.color) || rt.value[o] || Re[o]
|
|
419
420
|
}))
|
|
420
|
-
),
|
|
421
|
+
), Me = m(() => te.value.filter((l) => !C.value.includes(l.id))), Ht = m(() => te.value.map((l, o) => ({
|
|
421
422
|
...l,
|
|
422
423
|
shape: l.shape || "circle",
|
|
423
424
|
series: l.series.map((a) => ({
|
|
424
425
|
...a,
|
|
425
|
-
x:
|
|
426
|
-
y:
|
|
426
|
+
x: it(a.x),
|
|
427
|
+
y: vt(a.y),
|
|
427
428
|
xValue: a.x,
|
|
428
429
|
yValue: a.y,
|
|
429
|
-
quadrantSide:
|
|
430
|
+
quadrantSide: ct({ x: a.x, y: a.y }),
|
|
430
431
|
categoryName: l.name,
|
|
432
|
+
category: l,
|
|
431
433
|
shape: l.shape,
|
|
432
434
|
color: l.color
|
|
433
435
|
}))
|
|
434
|
-
}))), W = m(() => (
|
|
436
|
+
}))), W = m(() => (lt.value.forEach((l, o) => {
|
|
435
437
|
l.series.forEach((a, s) => {
|
|
436
|
-
[null, void 0].includes(a.x) &&
|
|
438
|
+
[null, void 0].includes(a.x) && oe({
|
|
437
439
|
componentName: "VueUiQuadrant",
|
|
438
440
|
type: "datasetSerieAttribute",
|
|
439
441
|
property: "x",
|
|
440
442
|
key: "series",
|
|
441
443
|
index: s,
|
|
442
|
-
debug:
|
|
443
|
-
}), [null, void 0].includes(a.y) &&
|
|
444
|
+
debug: ee.value
|
|
445
|
+
}), [null, void 0].includes(a.y) && oe({
|
|
444
446
|
componentName: "VueUiQuadrant",
|
|
445
447
|
type: "datasetSerieAttribute",
|
|
446
448
|
property: "y",
|
|
447
449
|
key: "series",
|
|
448
450
|
index: s,
|
|
449
|
-
debug:
|
|
451
|
+
debug: ee.value
|
|
450
452
|
});
|
|
451
453
|
});
|
|
452
|
-
}),
|
|
454
|
+
}), Me.value.map((l, o) => ({
|
|
453
455
|
...l,
|
|
454
456
|
shape: l.shape || "circle",
|
|
455
|
-
color: l.color ||
|
|
457
|
+
color: l.color || rt.value[o] || Re[o],
|
|
456
458
|
series: l.series.map((a) => ({
|
|
457
459
|
...a,
|
|
458
|
-
|
|
459
|
-
|
|
460
|
+
category: l,
|
|
461
|
+
x: it(a.x),
|
|
462
|
+
y: vt(a.y),
|
|
460
463
|
xValue: a.x,
|
|
461
464
|
yValue: a.y,
|
|
462
|
-
quadrantSide:
|
|
465
|
+
quadrantSide: ct({ x: a.x, y: a.y }),
|
|
463
466
|
categoryName: l.name,
|
|
464
467
|
shape: l.shape,
|
|
465
468
|
color: l.color,
|
|
466
|
-
uid:
|
|
469
|
+
uid: Ct()
|
|
467
470
|
}))
|
|
468
471
|
}))));
|
|
469
|
-
function
|
|
472
|
+
function it(l) {
|
|
470
473
|
if (l >= 0) {
|
|
471
474
|
const o = l / z.value.x.max;
|
|
472
475
|
return t.value.centerX + t.value.usableWidth / 2 * o;
|
|
@@ -475,7 +478,7 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
|
|
|
475
478
|
return t.value.centerX - t.value.usableWidth / 2 * o;
|
|
476
479
|
}
|
|
477
480
|
}
|
|
478
|
-
function
|
|
481
|
+
function vt(l) {
|
|
479
482
|
if (l >= 0) {
|
|
480
483
|
const o = l / z.value.y.max;
|
|
481
484
|
return t.value.centerY + (1 - t.value.usableHeight / 2 * o);
|
|
@@ -484,7 +487,7 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
|
|
|
484
487
|
return t.value.centerY - (1 - t.value.usableHeight / 2 * o);
|
|
485
488
|
}
|
|
486
489
|
}
|
|
487
|
-
const
|
|
490
|
+
const $e = m(() => {
|
|
488
491
|
const l = W.value.flatMap((c) => c.series.map((Y) => ({
|
|
489
492
|
x: Y.xValue,
|
|
490
493
|
y: Y.yValue,
|
|
@@ -511,26 +514,26 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
|
|
|
511
514
|
color: c.color
|
|
512
515
|
}));
|
|
513
516
|
return { head: s, body: u, itsShapes: i, tableData: l };
|
|
514
|
-
}),
|
|
515
|
-
const l =
|
|
517
|
+
}), le = m(() => {
|
|
518
|
+
const l = $e.value.head, o = $e.value.tableData.map((u) => [
|
|
516
519
|
{
|
|
517
520
|
shape: u.shape,
|
|
518
521
|
color: u.color,
|
|
519
522
|
name: u.category
|
|
520
523
|
},
|
|
521
524
|
u.name,
|
|
522
|
-
|
|
525
|
+
H(
|
|
523
526
|
e.value.style.chart.layout.labels.plotLabels.x.formatter,
|
|
524
527
|
u.x,
|
|
525
|
-
|
|
528
|
+
E({
|
|
526
529
|
v: u.x,
|
|
527
530
|
r: e.value.style.chart.layout.labels.plotLabels.rounding
|
|
528
531
|
})
|
|
529
532
|
),
|
|
530
|
-
|
|
533
|
+
H(
|
|
531
534
|
e.value.style.chart.layout.labels.plotLabels.y.formatter,
|
|
532
535
|
u.y,
|
|
533
|
-
|
|
536
|
+
E({
|
|
534
537
|
v: u.y,
|
|
535
538
|
r: e.value.style.chart.layout.labels.plotLabels.rounding
|
|
536
539
|
})
|
|
@@ -551,40 +554,40 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
|
|
|
551
554
|
};
|
|
552
555
|
return { head: l, body: o, a11yBody: a, config: s, colNames: l };
|
|
553
556
|
});
|
|
554
|
-
function
|
|
555
|
-
C.value.length ? C.value = [] :
|
|
557
|
+
function Et() {
|
|
558
|
+
C.value.length ? C.value = [] : G.value.forEach((l) => {
|
|
556
559
|
C.value.push(l.id);
|
|
557
560
|
});
|
|
558
561
|
}
|
|
559
|
-
function
|
|
562
|
+
function ne(l) {
|
|
560
563
|
C.value.includes(l) ? C.value = C.value.filter((a) => a !== l) : C.value.push(l);
|
|
561
|
-
const o =
|
|
562
|
-
|
|
564
|
+
const o = ht();
|
|
565
|
+
he("selectLegend", o);
|
|
563
566
|
}
|
|
564
|
-
const
|
|
567
|
+
const G = m(() => Ht.value.map((l) => ({
|
|
565
568
|
name: l.name,
|
|
566
569
|
shape: l.shape,
|
|
567
570
|
color: l.color,
|
|
568
571
|
id: l.id,
|
|
569
572
|
opacity: C.value.includes(l.id) ? 0.5 : 1,
|
|
570
|
-
segregate: () =>
|
|
573
|
+
segregate: () => ne(l.id),
|
|
571
574
|
isSegregated: C.value.includes(l.id)
|
|
572
575
|
})));
|
|
573
|
-
function
|
|
574
|
-
if (!
|
|
576
|
+
function dt(l) {
|
|
577
|
+
if (!G.value.length)
|
|
575
578
|
return e.value.debug && console.warn("VueUiQuadrant - There are no series to show."), null;
|
|
576
|
-
const o =
|
|
579
|
+
const o = G.value.find((a) => a.name === l);
|
|
577
580
|
return o || (e.value.debug && console.warn(`VueUiQuadrant - Series name not found "${l}"`), null);
|
|
578
581
|
}
|
|
579
|
-
function Et(l) {
|
|
580
|
-
const o = vt(l);
|
|
581
|
-
o !== null && C.value.includes(o.id) && se(o.id);
|
|
582
|
-
}
|
|
583
582
|
function Ut(l) {
|
|
584
|
-
const o =
|
|
585
|
-
o !== null &&
|
|
583
|
+
const o = dt(l);
|
|
584
|
+
o !== null && C.value.includes(o.id) && ne(o.id);
|
|
585
|
+
}
|
|
586
|
+
function Qt(l) {
|
|
587
|
+
const o = dt(l);
|
|
588
|
+
o !== null && (C.value.includes(o.id) || ne(o.id));
|
|
586
589
|
}
|
|
587
|
-
const
|
|
590
|
+
const Gt = m(() => ({
|
|
588
591
|
cy: "quadrant-div-legend",
|
|
589
592
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
590
593
|
color: e.value.style.chart.legend.color,
|
|
@@ -592,7 +595,7 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
|
|
|
592
595
|
paddingBottom: 12,
|
|
593
596
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
594
597
|
}));
|
|
595
|
-
function
|
|
598
|
+
function ct(l) {
|
|
596
599
|
switch (!0) {
|
|
597
600
|
case (l.x >= 0 && l.y >= 0):
|
|
598
601
|
return "tr";
|
|
@@ -606,35 +609,35 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
|
|
|
606
609
|
return "";
|
|
607
610
|
}
|
|
608
611
|
}
|
|
609
|
-
const
|
|
610
|
-
function
|
|
611
|
-
|
|
612
|
+
const K = h(null), re = h(null), ke = h(null);
|
|
613
|
+
function Oe() {
|
|
614
|
+
K.value = null, re.value = null, J.value = null, pe.value = null, ye.value = !1;
|
|
612
615
|
}
|
|
613
|
-
function
|
|
614
|
-
if (!
|
|
615
|
-
const o = `[data-a11y-plot-id="${l}"]`, a =
|
|
616
|
+
function Kt(l) {
|
|
617
|
+
if (!U.value || !l) return;
|
|
618
|
+
const o = `[data-a11y-plot-id="${l}"]`, a = U.value.querySelector(o);
|
|
616
619
|
if (!a) return;
|
|
617
620
|
const s = a.getBoundingClientRect();
|
|
618
|
-
|
|
621
|
+
tt.value = {
|
|
619
622
|
x: s.left + s.width / 2,
|
|
620
623
|
y: s.top + s.height / 2
|
|
621
624
|
};
|
|
622
625
|
}
|
|
623
|
-
function
|
|
626
|
+
function we(l, o, a, s = "pointer", u = null) {
|
|
624
627
|
e.value.events.datapointEnter && e.value.events.datapointEnter({
|
|
625
628
|
datapoint: o,
|
|
626
629
|
seriesIndex: a
|
|
627
|
-
}),
|
|
630
|
+
}), K.value = o.uid, re.value = {
|
|
628
631
|
color: l.color,
|
|
629
632
|
shape: l.shape
|
|
630
|
-
},
|
|
633
|
+
}, ze.value = s, J.value = u, pe.value = o.uid, ke.value = {
|
|
631
634
|
datapoint: o,
|
|
632
635
|
seriesIndex: a,
|
|
633
636
|
series: W.value,
|
|
634
637
|
config: e.value
|
|
635
638
|
};
|
|
636
639
|
const i = e.value.style.chart.tooltip.customFormat;
|
|
637
|
-
if (
|
|
640
|
+
if (Cl(i) && Sl(
|
|
638
641
|
() => i({
|
|
639
642
|
seriesIndex: a,
|
|
640
643
|
datapoint: o,
|
|
@@ -642,7 +645,7 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
|
|
|
642
645
|
config: e.value
|
|
643
646
|
})
|
|
644
647
|
))
|
|
645
|
-
|
|
648
|
+
qe.value = i({
|
|
646
649
|
seriesIndex: a,
|
|
647
650
|
datapoint: o,
|
|
648
651
|
series: W.value,
|
|
@@ -650,35 +653,35 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
|
|
|
650
653
|
});
|
|
651
654
|
else {
|
|
652
655
|
let c = "";
|
|
653
|
-
o.quadrantSide && (c += `<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>`), c += `<div>${l.name}</div>`, c += `<div style="padding-bottom:6px;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};margin-bottom:3px">${o.name}</div>`, c += `<div>${e.value.style.chart.layout.grid.xAxis.name ? e.value.style.chart.layout.grid.xAxis.name : "x"}: <b>${
|
|
656
|
+
o.quadrantSide && (c += `<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>`), c += `<div>${l.name}</div>`, c += `<div style="padding-bottom:6px;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};margin-bottom:3px">${o.name}</div>`, c += `<div>${e.value.style.chart.layout.grid.xAxis.name ? e.value.style.chart.layout.grid.xAxis.name : "x"}: <b>${H(
|
|
654
657
|
e.value.style.chart.layout.labels.plotLabels.x.formatter,
|
|
655
658
|
o.xValue,
|
|
656
|
-
|
|
659
|
+
E({
|
|
657
660
|
v: o.xValue,
|
|
658
661
|
r: e.value.style.chart.tooltip.roundingValue
|
|
659
662
|
}),
|
|
660
663
|
{ datapoint: o, category: l, categoryIndex: a }
|
|
661
|
-
)}</b></div>`, c += `<div>${e.value.style.chart.layout.grid.yAxis.name ? e.value.style.chart.layout.grid.yAxis.name : "y"}: <b>${
|
|
664
|
+
)}</b></div>`, c += `<div>${e.value.style.chart.layout.grid.yAxis.name ? e.value.style.chart.layout.grid.yAxis.name : "y"}: <b>${H(
|
|
662
665
|
e.value.style.chart.layout.labels.plotLabels.y.formatter,
|
|
663
666
|
o.yValue,
|
|
664
|
-
|
|
667
|
+
E({
|
|
665
668
|
v: o.yValue,
|
|
666
669
|
r: e.value.style.chart.tooltip.roundingValue
|
|
667
670
|
}),
|
|
668
671
|
{ datapoint: o, category: l, categoryIndex: a }
|
|
669
|
-
)}</b></div>`,
|
|
672
|
+
)}</b></div>`, qe.value = `<div style="text-align:left;font-size:${e.value.style.chart.tooltip.fontSize}px">${c}</div>`;
|
|
670
673
|
}
|
|
671
|
-
s === "keyboard" &&
|
|
672
|
-
|
|
673
|
-
}),
|
|
674
|
+
s === "keyboard" && _e(() => {
|
|
675
|
+
Kt(o.uid);
|
|
676
|
+
}), ye.value = !0;
|
|
674
677
|
}
|
|
675
|
-
function
|
|
678
|
+
function Be(l, o) {
|
|
676
679
|
e.value.events.datapointLeave && e.value.events.datapointLeave({
|
|
677
680
|
datapoint: l,
|
|
678
681
|
seriesIndex: o
|
|
679
|
-
}), !(
|
|
682
|
+
}), !(pe.value === l.uid && ze.value === "keyboard") && (ye.value = !1, K.value = null, re.value = null);
|
|
680
683
|
}
|
|
681
|
-
function
|
|
684
|
+
function Le(l, o, a) {
|
|
682
685
|
e.value.events.datapointClick && e.value.events.datapointClick({
|
|
683
686
|
datapoint: o,
|
|
684
687
|
seriesIndex: a
|
|
@@ -692,9 +695,9 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
|
|
|
692
695
|
quadrantSide: o.quadrantSide,
|
|
693
696
|
sideName: e.value.style.chart.layout.labels.quadrantLabels[o.quadrantSide].text
|
|
694
697
|
};
|
|
695
|
-
|
|
698
|
+
he("selectPlot", s);
|
|
696
699
|
}
|
|
697
|
-
function
|
|
700
|
+
function ie(l) {
|
|
698
701
|
if (!l) return;
|
|
699
702
|
const o = W.value.flatMap(
|
|
700
703
|
(s) => s.series.filter((u) => u.quadrantSide === l).map((u) => ({
|
|
@@ -708,7 +711,7 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
|
|
|
708
711
|
sideName: e.value.style.chart.layout.labels.quadrantLabels[l].text,
|
|
709
712
|
items: [...o]
|
|
710
713
|
};
|
|
711
|
-
|
|
714
|
+
he("selectSide", a);
|
|
712
715
|
}
|
|
713
716
|
const S = m(() => ({
|
|
714
717
|
TL: {
|
|
@@ -816,7 +819,7 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
|
|
|
816
819
|
}
|
|
817
820
|
}
|
|
818
821
|
}));
|
|
819
|
-
function
|
|
822
|
+
function ht() {
|
|
820
823
|
return W.value.map((l) => ({
|
|
821
824
|
color: l.color,
|
|
822
825
|
name: l.name,
|
|
@@ -830,40 +833,40 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
|
|
|
830
833
|
}))
|
|
831
834
|
}));
|
|
832
835
|
}
|
|
833
|
-
function
|
|
834
|
-
|
|
836
|
+
function Ne(l = null) {
|
|
837
|
+
_e(() => {
|
|
835
838
|
const o = [
|
|
836
839
|
[e.value.style.chart.title.text],
|
|
837
840
|
[e.value.style.chart.title.subtitle.text],
|
|
838
841
|
[""]
|
|
839
|
-
], a =
|
|
840
|
-
l ? l(i) :
|
|
842
|
+
], a = $e.value.head, s = $e.value.body, u = o.concat([a]).concat(s), i = wl(u);
|
|
843
|
+
l ? l(i) : Ll({
|
|
841
844
|
csvContent: i,
|
|
842
845
|
title: e.value.style.chart.title.text || "vue-ui-quadrant"
|
|
843
846
|
});
|
|
844
847
|
});
|
|
845
848
|
}
|
|
846
|
-
const
|
|
847
|
-
function
|
|
848
|
-
|
|
849
|
+
const j = h(!1);
|
|
850
|
+
function yt(l) {
|
|
851
|
+
j.value = l, Ee.value += 1;
|
|
849
852
|
}
|
|
850
|
-
function
|
|
853
|
+
function bt() {
|
|
851
854
|
k.value.showTable = !k.value.showTable;
|
|
852
855
|
}
|
|
853
|
-
function
|
|
856
|
+
function ft() {
|
|
854
857
|
k.value.plotLabels.show = !k.value.plotLabels.show;
|
|
855
858
|
}
|
|
856
|
-
function
|
|
859
|
+
function pt() {
|
|
857
860
|
k.value.showTooltip = !k.value.showTooltip;
|
|
858
861
|
}
|
|
859
|
-
const
|
|
860
|
-
function
|
|
861
|
-
|
|
862
|
+
const ve = h(!1);
|
|
863
|
+
function Fe() {
|
|
864
|
+
ve.value = !ve.value;
|
|
862
865
|
}
|
|
863
|
-
async function
|
|
864
|
-
if (!
|
|
865
|
-
const { width: o, height: a } =
|
|
866
|
-
domElement:
|
|
866
|
+
async function jt({ scale: l = 2 } = {}) {
|
|
867
|
+
if (!F.value) return;
|
|
868
|
+
const { width: o, height: a } = F.value.getBoundingClientRect(), s = o / a, { imageUri: u, base64: i } = await Ol({
|
|
869
|
+
domElement: F.value,
|
|
867
870
|
base64: !0,
|
|
868
871
|
img: !0,
|
|
869
872
|
scale: l
|
|
@@ -877,18 +880,18 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
|
|
|
877
880
|
aspectRatio: s
|
|
878
881
|
};
|
|
879
882
|
}
|
|
880
|
-
const
|
|
883
|
+
const de = m(() => {
|
|
881
884
|
const l = e.value.table.useDialog && !e.value.table.show, o = k.value.showTable;
|
|
882
885
|
return {
|
|
883
|
-
component: l ?
|
|
886
|
+
component: l ? Ot : Wt,
|
|
884
887
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
885
888
|
props: l ? {
|
|
886
889
|
backgroundColor: e.value.table.th.backgroundColor,
|
|
887
890
|
color: e.value.table.th.color,
|
|
888
891
|
headerColor: e.value.table.th.color,
|
|
889
892
|
headerBg: e.value.table.th.backgroundColor,
|
|
890
|
-
isFullscreen:
|
|
891
|
-
fullscreenParent:
|
|
893
|
+
isFullscreen: j.value,
|
|
894
|
+
fullscreenParent: F.value,
|
|
892
895
|
forcedWidth: Math.min(800, window.innerWidth * 0.8),
|
|
893
896
|
isCursorPointer: X.value
|
|
894
897
|
} : {
|
|
@@ -908,27 +911,27 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
|
|
|
908
911
|
}
|
|
909
912
|
};
|
|
910
913
|
});
|
|
911
|
-
|
|
914
|
+
Ve(
|
|
912
915
|
() => k.value.showTable,
|
|
913
916
|
(l) => {
|
|
914
|
-
e.value.table.show || (l && e.value.table.useDialog &&
|
|
917
|
+
e.value.table.show || (l && e.value.table.useDialog && ue.value ? ue.value.open() : "close" in ue.value && ue.value.close());
|
|
915
918
|
}
|
|
916
919
|
);
|
|
917
|
-
function
|
|
918
|
-
k.value.showTable = !1,
|
|
920
|
+
function gt() {
|
|
921
|
+
k.value.showTable = !1, Ae.value && Ae.value.setTableIconState(!1);
|
|
919
922
|
}
|
|
920
|
-
const
|
|
921
|
-
svg:
|
|
922
|
-
title:
|
|
923
|
-
legend:
|
|
924
|
-
legendItems:
|
|
925
|
-
backgroundColor:
|
|
923
|
+
const Jt = m(() => e.value.style.chart.backgroundColor), Zt = m(() => e.value.style.chart.legend), el = m(() => e.value.style.chart.title), { exportSvg: tl, getSvg: ll } = Xl({
|
|
924
|
+
svg: U,
|
|
925
|
+
title: el,
|
|
926
|
+
legend: Zt,
|
|
927
|
+
legendItems: G,
|
|
928
|
+
backgroundColor: Jt
|
|
926
929
|
});
|
|
927
|
-
async function
|
|
928
|
-
|
|
930
|
+
async function mt({ isCb: l }) {
|
|
931
|
+
fe.value = !0, await _e();
|
|
929
932
|
try {
|
|
930
933
|
if (l) {
|
|
931
|
-
const { blob: o, url: a, text: s, dataUrl: u } = await
|
|
934
|
+
const { blob: o, url: a, text: s, dataUrl: u } = await ll();
|
|
932
935
|
await Promise.resolve(
|
|
933
936
|
e.value.userOptions.callbacks.svg({
|
|
934
937
|
blob: o,
|
|
@@ -938,26 +941,26 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
|
|
|
938
941
|
})
|
|
939
942
|
);
|
|
940
943
|
} else
|
|
941
|
-
await Promise.resolve(
|
|
944
|
+
await Promise.resolve(tl());
|
|
942
945
|
} finally {
|
|
943
|
-
|
|
946
|
+
fe.value = !1;
|
|
944
947
|
}
|
|
945
948
|
}
|
|
946
|
-
function
|
|
949
|
+
function al(l) {
|
|
947
950
|
if (l?.stage === "start") {
|
|
948
|
-
|
|
951
|
+
be.value = !0;
|
|
949
952
|
return;
|
|
950
953
|
}
|
|
951
954
|
if (l?.stage === "end") {
|
|
952
|
-
|
|
955
|
+
be.value = !1;
|
|
953
956
|
return;
|
|
954
957
|
}
|
|
955
|
-
|
|
958
|
+
nt();
|
|
956
959
|
}
|
|
957
|
-
async function
|
|
958
|
-
if (
|
|
960
|
+
async function xt() {
|
|
961
|
+
if (he("copyAlt", {
|
|
959
962
|
config: e.value,
|
|
960
|
-
dataset:
|
|
963
|
+
dataset: Me.value
|
|
961
964
|
}), !e.value.userOptions.callbacks.altCopy) {
|
|
962
965
|
console.warn(
|
|
963
966
|
"Vue Data UI - A callback must be set for `altCopy` in userOptions."
|
|
@@ -967,102 +970,102 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
|
|
|
967
970
|
await Promise.resolve(
|
|
968
971
|
e.value.userOptions.callbacks.altCopy({
|
|
969
972
|
config: e.value,
|
|
970
|
-
dataset:
|
|
973
|
+
dataset: Me.value
|
|
971
974
|
})
|
|
972
975
|
);
|
|
973
976
|
}
|
|
974
|
-
function al() {
|
|
975
|
-
j.value = null, fe.value = null, pe.value = !0;
|
|
976
|
-
}
|
|
977
977
|
function ol() {
|
|
978
|
-
|
|
978
|
+
J.value = null, pe.value = null, ge.value = !0;
|
|
979
|
+
}
|
|
980
|
+
function ul() {
|
|
981
|
+
Oe(), ge.value = !1;
|
|
979
982
|
}
|
|
980
|
-
function
|
|
981
|
-
if (!
|
|
983
|
+
function sl(l) {
|
|
984
|
+
if (!U.value || ve.value || document.activeElement !== U.value || !P.value.length) return;
|
|
982
985
|
const o = l.key === "ArrowLeft" || l.key === "ArrowUp", a = l.key === "ArrowRight" || l.key === "ArrowDown", s = l.key === "Enter" || l.key === " ", u = l.key === "Escape";
|
|
983
986
|
if (!o && !a && !s && !u)
|
|
984
987
|
return;
|
|
985
988
|
if (l.preventDefault(), l.stopPropagation(), u) {
|
|
986
|
-
|
|
989
|
+
Oe();
|
|
987
990
|
return;
|
|
988
991
|
}
|
|
989
992
|
if (s) {
|
|
990
|
-
if (
|
|
991
|
-
const
|
|
992
|
-
if (!
|
|
993
|
-
|
|
993
|
+
if (J.value === null) return;
|
|
994
|
+
const ae = P.value[J.value];
|
|
995
|
+
if (!ae) return;
|
|
996
|
+
Le(ae.category, ae.plot, ae.categoryIndex);
|
|
994
997
|
return;
|
|
995
998
|
}
|
|
996
|
-
let i =
|
|
997
|
-
const c =
|
|
998
|
-
(
|
|
999
|
-
) : null, Y = i !== null && i >= 0 && i < P.value.length,
|
|
1000
|
-
Y ? (i += a ? 1 : -1, i < 0 && (i = P.value.length - 1), i >= P.value.length && (i = 0)) :
|
|
1001
|
-
const
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
999
|
+
let i = J.value;
|
|
1000
|
+
const c = K.value ? P.value.findIndex(
|
|
1001
|
+
(ae) => ae.plot.uid === K.value
|
|
1002
|
+
) : null, Y = i !== null && i >= 0 && i < P.value.length, Ce = c !== null && c >= 0 && c < P.value.length;
|
|
1003
|
+
Y ? (i += a ? 1 : -1, i < 0 && (i = P.value.length - 1), i >= P.value.length && (i = 0)) : Ce ? (i = a ? c + 1 : c - 1, i >= P.value.length && (i = 0), i < 0 && (i = P.value.length - 1)) : a ? i = 0 : i = P.value.length - 1;
|
|
1004
|
+
const Se = P.value[i];
|
|
1005
|
+
Se && we(
|
|
1006
|
+
Se.category,
|
|
1007
|
+
Se.plot,
|
|
1008
|
+
Se.categoryIndex,
|
|
1006
1009
|
"keyboard",
|
|
1007
1010
|
i
|
|
1008
1011
|
);
|
|
1009
1012
|
}
|
|
1010
|
-
const
|
|
1011
|
-
const l =
|
|
1013
|
+
const Ie = m(() => {
|
|
1014
|
+
const l = le.value?.colNames ?? [], o = le.value?.a11yBody ?? [];
|
|
1012
1015
|
return { headers: l, rows: o };
|
|
1013
1016
|
}), P = m(() => W.value.flatMap((l, o) => l.series.map((a) => ({
|
|
1014
1017
|
category: l,
|
|
1015
1018
|
plot: a,
|
|
1016
1019
|
categoryIndex: o
|
|
1017
1020
|
}))));
|
|
1018
|
-
return
|
|
1019
|
-
getData:
|
|
1020
|
-
getImage:
|
|
1021
|
-
generatePdf:
|
|
1022
|
-
generateCsv:
|
|
1023
|
-
generateImage:
|
|
1024
|
-
generateSvg:
|
|
1025
|
-
hideSeries:
|
|
1026
|
-
showSeries:
|
|
1027
|
-
toggleTable:
|
|
1028
|
-
toggleLabels:
|
|
1029
|
-
toggleTooltip:
|
|
1030
|
-
toggleAnnotator:
|
|
1031
|
-
toggleFullscreen:
|
|
1032
|
-
copyAlt:
|
|
1021
|
+
return Tt({
|
|
1022
|
+
getData: ht,
|
|
1023
|
+
getImage: jt,
|
|
1024
|
+
generatePdf: st,
|
|
1025
|
+
generateCsv: Ne,
|
|
1026
|
+
generateImage: nt,
|
|
1027
|
+
generateSvg: mt,
|
|
1028
|
+
hideSeries: Qt,
|
|
1029
|
+
showSeries: Ut,
|
|
1030
|
+
toggleTable: bt,
|
|
1031
|
+
toggleLabels: ft,
|
|
1032
|
+
toggleTooltip: pt,
|
|
1033
|
+
toggleAnnotator: Fe,
|
|
1034
|
+
toggleFullscreen: yt,
|
|
1035
|
+
copyAlt: xt
|
|
1033
1036
|
}), (l, o) => (n(), r("div", {
|
|
1034
|
-
class: O(`vue-data-ui-component vue-ui-quadrant ${
|
|
1037
|
+
class: O(`vue-data-ui-component vue-ui-quadrant ${j.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
1035
1038
|
ref_key: "quadrantChart",
|
|
1036
|
-
ref:
|
|
1039
|
+
ref: F,
|
|
1037
1040
|
id: `vue-ui-quadrant_${$.value}`,
|
|
1038
1041
|
style: _(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`),
|
|
1039
|
-
onMouseenter: o[14] || (o[14] = () => v(
|
|
1042
|
+
onMouseenter: o[14] || (o[14] = () => v(at)(!0)),
|
|
1040
1043
|
onMouseleave: o[15] || (o[15] = () => {
|
|
1041
|
-
v(
|
|
1044
|
+
v(at)(!1), ge.value || Oe();
|
|
1042
1045
|
})
|
|
1043
1046
|
}, [
|
|
1044
|
-
|
|
1047
|
+
y("div", {
|
|
1045
1048
|
id: `chart-instructions-${$.value}`,
|
|
1046
1049
|
class: "sr-only"
|
|
1047
1050
|
}, [
|
|
1048
|
-
|
|
1049
|
-
], 8,
|
|
1050
|
-
|
|
1051
|
+
y("p", null, w(e.value.a11y.translations.keyboardNavigation), 1)
|
|
1052
|
+
], 8, Hl),
|
|
1053
|
+
Ie.value?.rows?.length ? (n(), B(Il, {
|
|
1051
1054
|
key: 0,
|
|
1052
1055
|
uid: $.value,
|
|
1053
|
-
head:
|
|
1054
|
-
body:
|
|
1056
|
+
head: Ie.value.headers,
|
|
1057
|
+
body: Ie.value.rows,
|
|
1055
1058
|
notice: e.value.a11y.translations.tableAvailable,
|
|
1056
1059
|
caption: e.value.a11y.translations.tableCaption
|
|
1057
|
-
}, null, 8, ["uid", "head", "body", "notice", "caption"])) :
|
|
1058
|
-
e.value.userOptions.buttons.annotator ? (n(), B(v(
|
|
1060
|
+
}, null, 8, ["uid", "head", "body", "notice", "caption"])) : d("", !0),
|
|
1061
|
+
e.value.userOptions.buttons.annotator ? (n(), B(v(Pt), {
|
|
1059
1062
|
key: 1,
|
|
1060
|
-
svgRef: v(
|
|
1063
|
+
svgRef: v(U),
|
|
1061
1064
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
1062
1065
|
color: e.value.style.chart.color,
|
|
1063
|
-
active:
|
|
1066
|
+
active: ve.value,
|
|
1064
1067
|
isCursorPointer: X.value,
|
|
1065
|
-
onClose:
|
|
1068
|
+
onClose: Fe
|
|
1066
1069
|
}, {
|
|
1067
1070
|
"annotator-action-close": p(() => [
|
|
1068
1071
|
g(l.$slots, "annotator-action-close", {}, void 0, !0)
|
|
@@ -1083,22 +1086,22 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
|
|
|
1083
1086
|
g(l.$slots, "annotator-action-delete", T(q({ disabled: a })), void 0, !0)
|
|
1084
1087
|
]),
|
|
1085
1088
|
_: 3
|
|
1086
|
-
}, 8, ["svgRef", "backgroundColor", "color", "active", "isCursorPointer"])) :
|
|
1087
|
-
|
|
1089
|
+
}, 8, ["svgRef", "backgroundColor", "color", "active", "isCursorPointer"])) : d("", !0),
|
|
1090
|
+
Vt.value ? (n(), r("div", {
|
|
1088
1091
|
key: 2,
|
|
1089
1092
|
ref_key: "noTitle",
|
|
1090
|
-
ref:
|
|
1093
|
+
ref: Ke,
|
|
1091
1094
|
class: "vue-data-ui-no-title-space",
|
|
1092
1095
|
style: "height:36px; width: 100%;background:transparent"
|
|
1093
|
-
}, null, 512)) :
|
|
1096
|
+
}, null, 512)) : d("", !0),
|
|
1094
1097
|
e.value.style.chart.title.text ? (n(), r("div", {
|
|
1095
1098
|
key: 3,
|
|
1096
1099
|
ref_key: "chartTitle",
|
|
1097
|
-
ref:
|
|
1100
|
+
ref: Ue,
|
|
1098
1101
|
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
1099
1102
|
}, [
|
|
1100
|
-
(n(), B(
|
|
1101
|
-
key: `table_${
|
|
1103
|
+
(n(), B(Bl, {
|
|
1104
|
+
key: `table_${je.value}`,
|
|
1102
1105
|
config: {
|
|
1103
1106
|
title: {
|
|
1104
1107
|
cy: "quadrant-title",
|
|
@@ -1110,18 +1113,18 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
|
|
|
1110
1113
|
}
|
|
1111
1114
|
}
|
|
1112
1115
|
}, null, 8, ["config"]))
|
|
1113
|
-
], 512)) :
|
|
1114
|
-
|
|
1116
|
+
], 512)) : d("", !0),
|
|
1117
|
+
y("div", {
|
|
1115
1118
|
id: `legend-top-${$.value}`
|
|
1116
|
-
}, null, 8,
|
|
1117
|
-
e.value.userOptions.show &&
|
|
1119
|
+
}, null, 8, El),
|
|
1120
|
+
e.value.userOptions.show && He.value && (v(ot) || v(We)) ? (n(), B(v(Yt), {
|
|
1118
1121
|
ref_key: "userOptionsRef",
|
|
1119
|
-
ref:
|
|
1120
|
-
key: `user_options_${
|
|
1122
|
+
ref: Ae,
|
|
1123
|
+
key: `user_options_${Ee.value}`,
|
|
1121
1124
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
1122
1125
|
color: e.value.style.chart.color,
|
|
1123
|
-
isImaging: v(
|
|
1124
|
-
isPrinting: v(
|
|
1126
|
+
isImaging: v(Ye),
|
|
1127
|
+
isPrinting: v(Pe),
|
|
1125
1128
|
uid: $.value,
|
|
1126
1129
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
|
|
1127
1130
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
@@ -1132,31 +1135,31 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
|
|
|
1132
1135
|
hasLabel: e.value.userOptions.buttons.labels,
|
|
1133
1136
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
1134
1137
|
hasAltCopy: e.value.userOptions.buttons.altCopy,
|
|
1135
|
-
isFullscreen:
|
|
1138
|
+
isFullscreen: j.value,
|
|
1136
1139
|
isTooltip: k.value.showTooltip,
|
|
1137
1140
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
1138
|
-
chartElement:
|
|
1141
|
+
chartElement: F.value,
|
|
1139
1142
|
position: e.value.userOptions.position,
|
|
1140
1143
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
1141
|
-
isAnnotation:
|
|
1144
|
+
isAnnotation: ve.value,
|
|
1142
1145
|
callbacks: e.value.userOptions.callbacks,
|
|
1143
1146
|
printScale: e.value.userOptions.print.scale,
|
|
1144
1147
|
tableDialog: e.value.table.useDialog,
|
|
1145
1148
|
isCursorPointer: X.value,
|
|
1146
|
-
onToggleFullscreen:
|
|
1147
|
-
onGeneratePdf: v(
|
|
1148
|
-
onGenerateCsv:
|
|
1149
|
-
onGenerateImage:
|
|
1150
|
-
onGenerateSvg:
|
|
1151
|
-
onToggleTable:
|
|
1152
|
-
onToggleLabels:
|
|
1153
|
-
onToggleTooltip:
|
|
1154
|
-
onToggleAnnotator:
|
|
1155
|
-
onCopyAlt:
|
|
1149
|
+
onToggleFullscreen: yt,
|
|
1150
|
+
onGeneratePdf: v(st),
|
|
1151
|
+
onGenerateCsv: Ne,
|
|
1152
|
+
onGenerateImage: al,
|
|
1153
|
+
onGenerateSvg: mt,
|
|
1154
|
+
onToggleTable: bt,
|
|
1155
|
+
onToggleLabels: ft,
|
|
1156
|
+
onToggleTooltip: pt,
|
|
1157
|
+
onToggleAnnotator: Fe,
|
|
1158
|
+
onCopyAlt: xt,
|
|
1156
1159
|
style: _({
|
|
1157
|
-
visibility: v(
|
|
1160
|
+
visibility: v(ot) ? v(We) ? "visible" : "hidden" : "visible"
|
|
1158
1161
|
})
|
|
1159
|
-
},
|
|
1162
|
+
}, kt({ _: 2 }, [
|
|
1160
1163
|
l.$slots.menuIcon ? {
|
|
1161
1164
|
name: "menuIcon",
|
|
1162
1165
|
fn: p(({ isOpen: a, color: s }) => [
|
|
@@ -1234,26 +1237,26 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
|
|
|
1234
1237
|
]),
|
|
1235
1238
|
key: "10"
|
|
1236
1239
|
} : void 0
|
|
1237
|
-
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasSvg", "hasXls", "hasTable", "hasLabel", "hasFullscreen", "hasAltCopy", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "isCursorPointer", "onGeneratePdf", "style"])) :
|
|
1238
|
-
|
|
1240
|
+
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasSvg", "hasXls", "hasTable", "hasLabel", "hasFullscreen", "hasAltCopy", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "isCursorPointer", "onGeneratePdf", "style"])) : d("", !0),
|
|
1241
|
+
y("div", Ul, [
|
|
1239
1242
|
(n(), r("svg", {
|
|
1240
1243
|
ref_key: "svgRef",
|
|
1241
|
-
ref:
|
|
1242
|
-
xmlns: v(
|
|
1244
|
+
ref: U,
|
|
1245
|
+
xmlns: v(gl),
|
|
1243
1246
|
"aria-describedby": `chart-instructions-${$.value}`,
|
|
1244
1247
|
class: O({
|
|
1245
|
-
"vue-data-ui-fullscreen--on":
|
|
1246
|
-
"vue-data-ui-fulscreen--off": !
|
|
1248
|
+
"vue-data-ui-fullscreen--on": j.value,
|
|
1249
|
+
"vue-data-ui-fulscreen--off": !j.value
|
|
1247
1250
|
}),
|
|
1248
1251
|
viewBox: `${b.value.startX} ${b.value.startY} ${b.value.width} ${b.value.height}`,
|
|
1249
1252
|
style: _(`max-width:100%;overflow:hidden;background:transparent;color:${e.value.style.chart.color}`),
|
|
1250
1253
|
id: `svg_${$.value}`,
|
|
1251
1254
|
tabindex: "0",
|
|
1252
|
-
onFocus:
|
|
1253
|
-
onBlur:
|
|
1254
|
-
onKeydown:
|
|
1255
|
+
onFocus: ol,
|
|
1256
|
+
onBlur: ul,
|
|
1257
|
+
onKeydown: sl
|
|
1255
1258
|
}, [
|
|
1256
|
-
|
|
1259
|
+
ce(v(Mt)),
|
|
1257
1260
|
l.$slots["chart-background"] ? (n(), r("foreignObject", {
|
|
1258
1261
|
key: 0,
|
|
1259
1262
|
x: b.value.startX,
|
|
@@ -1265,8 +1268,8 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
|
|
|
1265
1268
|
}
|
|
1266
1269
|
}, [
|
|
1267
1270
|
g(l.$slots, "chart-background", {}, void 0, !0)
|
|
1268
|
-
], 8,
|
|
1269
|
-
|
|
1271
|
+
], 8, Gl)) : d("", !0),
|
|
1272
|
+
y("defs", null, [
|
|
1270
1273
|
(n(!0), r(A, null, N(W.value, (a, s) => (n(), r("radialGradient", {
|
|
1271
1274
|
cx: "50%",
|
|
1272
1275
|
cy: "50%",
|
|
@@ -1275,25 +1278,25 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
|
|
|
1275
1278
|
fy: "50%",
|
|
1276
1279
|
id: `quadrant_gradient_${$.value}_${s}`
|
|
1277
1280
|
}, [
|
|
1278
|
-
|
|
1281
|
+
y("stop", {
|
|
1279
1282
|
offset: "0%",
|
|
1280
|
-
"stop-color": v(
|
|
1281
|
-
v(
|
|
1283
|
+
"stop-color": v(Te)(
|
|
1284
|
+
v(ml)(a.color, 0.05),
|
|
1282
1285
|
e.value.style.chart.layout.areas.opacity
|
|
1283
1286
|
)
|
|
1284
|
-
}, null, 8,
|
|
1285
|
-
|
|
1287
|
+
}, null, 8, jl),
|
|
1288
|
+
y("stop", {
|
|
1286
1289
|
offset: "100%",
|
|
1287
|
-
"stop-color": v(
|
|
1290
|
+
"stop-color": v(Te)(
|
|
1288
1291
|
a.color,
|
|
1289
1292
|
e.value.style.chart.layout.areas.opacity
|
|
1290
1293
|
)
|
|
1291
|
-
}, null, 8,
|
|
1292
|
-
], 8,
|
|
1294
|
+
}, null, 8, Jl)
|
|
1295
|
+
], 8, Kl))), 256))
|
|
1293
1296
|
]),
|
|
1294
|
-
e.value.style.chart.layout.grid.graduations.show ? (n(), r("g",
|
|
1295
|
-
(n(!0), r(A, null, N(
|
|
1296
|
-
fill: e.value.style.chart.layout.grid.graduations.fill ? v(
|
|
1297
|
+
e.value.style.chart.layout.grid.graduations.show ? (n(), r("g", Zl, [
|
|
1298
|
+
(n(!0), r(A, null, N(Dt.value, (a) => (n(), r("rect", {
|
|
1299
|
+
fill: e.value.style.chart.layout.grid.graduations.fill ? v(Te)(
|
|
1297
1300
|
e.value.style.chart.layout.grid.graduations.color,
|
|
1298
1301
|
a.opacity
|
|
1299
1302
|
) : "none",
|
|
@@ -1304,47 +1307,47 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
|
|
|
1304
1307
|
"stroke-width": e.value.style.chart.layout.grid.graduations.strokeWidth,
|
|
1305
1308
|
stroke: e.value.style.chart.layout.grid.graduations.stroke,
|
|
1306
1309
|
rx: e.value.style.chart.layout.grid.graduations.roundingForce
|
|
1307
|
-
}, null, 8,
|
|
1308
|
-
])) :
|
|
1309
|
-
|
|
1310
|
+
}, null, 8, ea))), 256))
|
|
1311
|
+
])) : d("", !0),
|
|
1312
|
+
y("line", {
|
|
1310
1313
|
x1: t.value.left,
|
|
1311
1314
|
y1: t.value.centerY,
|
|
1312
1315
|
x2: t.value.right,
|
|
1313
1316
|
y2: t.value.centerY,
|
|
1314
1317
|
stroke: e.value.style.chart.layout.grid.stroke,
|
|
1315
1318
|
"stroke-width": e.value.style.chart.layout.grid.strokeWidth
|
|
1316
|
-
}, null, 8,
|
|
1317
|
-
|
|
1319
|
+
}, null, 8, ta),
|
|
1320
|
+
y("line", {
|
|
1318
1321
|
x1: t.value.centerX,
|
|
1319
1322
|
y1: t.value.top,
|
|
1320
1323
|
x2: t.value.centerX,
|
|
1321
1324
|
y2: t.value.bottom,
|
|
1322
1325
|
stroke: e.value.style.chart.layout.grid.stroke,
|
|
1323
1326
|
"stroke-width": e.value.style.chart.layout.grid.strokeWidth
|
|
1324
|
-
}, null, 8,
|
|
1325
|
-
e.value.style.chart.layout.grid.showArrows ? (n(), r("g",
|
|
1326
|
-
|
|
1327
|
+
}, null, 8, la),
|
|
1328
|
+
e.value.style.chart.layout.grid.showArrows ? (n(), r("g", aa, [
|
|
1329
|
+
y("polygon", {
|
|
1327
1330
|
points: `${t.value.right - 8},${t.value.centerY - 6} ${t.value.right},${t.value.centerY} ${t.value.right - 8},${t.value.centerY + 6}`,
|
|
1328
1331
|
fill: e.value.style.chart.layout.grid.stroke,
|
|
1329
1332
|
stroke: "none"
|
|
1330
|
-
}, null, 8,
|
|
1331
|
-
|
|
1333
|
+
}, null, 8, oa),
|
|
1334
|
+
y("polygon", {
|
|
1332
1335
|
points: `${t.value.left + 8},${t.value.centerY - 6} ${t.value.left},${t.value.centerY} ${t.value.left + 8},${t.value.centerY + 6}`,
|
|
1333
1336
|
fill: e.value.style.chart.layout.grid.stroke,
|
|
1334
1337
|
stroke: "none"
|
|
1335
|
-
}, null, 8,
|
|
1336
|
-
|
|
1338
|
+
}, null, 8, ua),
|
|
1339
|
+
y("polygon", {
|
|
1337
1340
|
points: `${t.value.centerX - 6},${t.value.top + 8} ${t.value.centerX},${t.value.top} ${t.value.centerX + 6},${t.value.top + 8}`,
|
|
1338
1341
|
fill: e.value.style.chart.layout.grid.stroke,
|
|
1339
1342
|
stroke: "none"
|
|
1340
|
-
}, null, 8,
|
|
1341
|
-
|
|
1343
|
+
}, null, 8, sa),
|
|
1344
|
+
y("polygon", {
|
|
1342
1345
|
points: `${t.value.centerX - 6},${t.value.bottom - 8} ${t.value.centerX},${t.value.bottom} ${t.value.centerX + 6},${t.value.bottom - 8}`,
|
|
1343
1346
|
fill: e.value.style.chart.layout.grid.stroke,
|
|
1344
1347
|
stroke: "none"
|
|
1345
|
-
}, null, 8,
|
|
1346
|
-
])) :
|
|
1347
|
-
e.value.style.chart.layout.labels.quadrantLabels.show && !x.value ? (n(), r("g",
|
|
1348
|
+
}, null, 8, na)
|
|
1349
|
+
])) : d("", !0),
|
|
1350
|
+
e.value.style.chart.layout.labels.quadrantLabels.show && !x.value ? (n(), r("g", ra, [
|
|
1348
1351
|
e.value.style.chart.layout.labels.quadrantLabels.tl.text ? (n(), r("text", {
|
|
1349
1352
|
key: 0,
|
|
1350
1353
|
x: 0,
|
|
@@ -1353,8 +1356,8 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
|
|
|
1353
1356
|
fill: e.value.style.chart.layout.labels.quadrantLabels.tl.color,
|
|
1354
1357
|
"font-size": e.value.style.chart.layout.labels.quadrantLabels.tl.fontSize,
|
|
1355
1358
|
style: _(`font-weight:${e.value.style.chart.layout.labels.quadrantLabels.tl.bold ? "bold" : ""}`),
|
|
1356
|
-
onClick: o[0] || (o[0] = (a) =>
|
|
1357
|
-
}, w(e.value.style.chart.layout.labels.quadrantLabels.tl.text), 13,
|
|
1359
|
+
onClick: o[0] || (o[0] = (a) => ie("tl"))
|
|
1360
|
+
}, w(e.value.style.chart.layout.labels.quadrantLabels.tl.text), 13, ia)) : d("", !0),
|
|
1358
1361
|
e.value.style.chart.layout.labels.quadrantLabels.tr.text ? (n(), r("text", {
|
|
1359
1362
|
key: 1,
|
|
1360
1363
|
x: t.value.width,
|
|
@@ -1363,8 +1366,8 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
|
|
|
1363
1366
|
fill: e.value.style.chart.layout.labels.quadrantLabels.tr.color,
|
|
1364
1367
|
"font-size": e.value.style.chart.layout.labels.quadrantLabels.tr.fontSize,
|
|
1365
1368
|
style: _(`font-weight:${e.value.style.chart.layout.labels.quadrantLabels.tr.bold ? "bold" : ""}`),
|
|
1366
|
-
onClick: o[1] || (o[1] = (a) =>
|
|
1367
|
-
}, w(e.value.style.chart.layout.labels.quadrantLabels.tr.text), 13,
|
|
1369
|
+
onClick: o[1] || (o[1] = (a) => ie("tr"))
|
|
1370
|
+
}, w(e.value.style.chart.layout.labels.quadrantLabels.tr.text), 13, va)) : d("", !0),
|
|
1368
1371
|
e.value.style.chart.layout.labels.quadrantLabels.br.text ? (n(), r("text", {
|
|
1369
1372
|
key: 2,
|
|
1370
1373
|
x: t.value.width,
|
|
@@ -1373,8 +1376,8 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
|
|
|
1373
1376
|
fill: e.value.style.chart.layout.labels.quadrantLabels.br.color,
|
|
1374
1377
|
"font-size": e.value.style.chart.layout.labels.quadrantLabels.br.fontSize,
|
|
1375
1378
|
style: _(`font-weight:${e.value.style.chart.layout.labels.quadrantLabels.br.bold ? "bold" : ""}`),
|
|
1376
|
-
onClick: o[2] || (o[2] = (a) =>
|
|
1377
|
-
}, w(e.value.style.chart.layout.labels.quadrantLabels.br.text), 13,
|
|
1379
|
+
onClick: o[2] || (o[2] = (a) => ie("br"))
|
|
1380
|
+
}, w(e.value.style.chart.layout.labels.quadrantLabels.br.text), 13, da)) : d("", !0),
|
|
1378
1381
|
e.value.style.chart.layout.labels.quadrantLabels.bl.text ? (n(), r("text", {
|
|
1379
1382
|
key: 3,
|
|
1380
1383
|
x: 0,
|
|
@@ -1383,146 +1386,150 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
|
|
|
1383
1386
|
fill: e.value.style.chart.layout.labels.quadrantLabels.bl.color,
|
|
1384
1387
|
"font-size": e.value.style.chart.layout.labels.quadrantLabels.bl.fontSize,
|
|
1385
1388
|
style: _(`font-weight:${e.value.style.chart.layout.labels.quadrantLabels.bl.bold ? "bold" : ""}`),
|
|
1386
|
-
onClick: o[3] || (o[3] = (a) =>
|
|
1387
|
-
}, w(e.value.style.chart.layout.labels.quadrantLabels.bl.text), 13,
|
|
1388
|
-
])) :
|
|
1389
|
-
e.value.style.chart.layout.labels.axisLabels.show ? (n(), r("g",
|
|
1390
|
-
|
|
1389
|
+
onClick: o[3] || (o[3] = (a) => ie("bl"))
|
|
1390
|
+
}, w(e.value.style.chart.layout.labels.quadrantLabels.bl.text), 13, ca)) : d("", !0)
|
|
1391
|
+
])) : d("", !0),
|
|
1392
|
+
e.value.style.chart.layout.labels.axisLabels.show ? (n(), r("g", ha, [
|
|
1393
|
+
e.value.style.chart.layout.grid.yAxis.show ? (n(), r("text", {
|
|
1394
|
+
key: 0,
|
|
1391
1395
|
x: t.value.centerX,
|
|
1392
1396
|
y: t.value.top - t.value.padding / 6,
|
|
1393
1397
|
"text-anchor": "middle",
|
|
1394
1398
|
"font-size": e.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
1395
1399
|
fill: e.value.style.chart.layout.labels.axisLabels.color.positive
|
|
1396
|
-
}, w(v(
|
|
1400
|
+
}, w(v(H)(
|
|
1397
1401
|
e.value.style.chart.layout.labels.plotLabels.y.formatter,
|
|
1398
1402
|
z.value.y.max,
|
|
1399
|
-
v(
|
|
1403
|
+
v(E)({
|
|
1400
1404
|
v: z.value.y.max,
|
|
1401
1405
|
r: e.value.style.chart.layout.labels.plotLabels.rounding
|
|
1402
1406
|
})
|
|
1403
|
-
)), 9,
|
|
1404
|
-
|
|
1407
|
+
)), 9, ya)) : d("", !0),
|
|
1408
|
+
y("text", {
|
|
1405
1409
|
x: t.value.centerX,
|
|
1406
1410
|
y: t.value.top - t.value.padding / 2,
|
|
1407
1411
|
"text-anchor": "middle",
|
|
1408
1412
|
"font-size": e.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
1409
1413
|
fill: e.value.style.chart.layout.labels.axisLabels.color.positive
|
|
1410
|
-
}, w(e.value.style.chart.layout.grid.yAxis.name), 9,
|
|
1411
|
-
|
|
1414
|
+
}, w(e.value.style.chart.layout.grid.yAxis.name), 9, ba),
|
|
1415
|
+
e.value.style.chart.layout.grid.yAxis.show ? (n(), r("text", {
|
|
1416
|
+
key: 1,
|
|
1412
1417
|
x: t.value.centerX,
|
|
1413
1418
|
y: t.value.bottom + t.value.padding * 0.35,
|
|
1414
1419
|
"text-anchor": "middle",
|
|
1415
1420
|
"font-size": e.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
1416
1421
|
fill: e.value.style.chart.layout.labels.axisLabels.color.negative
|
|
1417
|
-
}, w(v(
|
|
1422
|
+
}, w(v(H)(
|
|
1418
1423
|
e.value.style.chart.layout.labels.plotLabels.y.formatter,
|
|
1419
1424
|
z.value.y.min,
|
|
1420
|
-
v(
|
|
1425
|
+
v(E)({
|
|
1421
1426
|
v: z.value.y.min,
|
|
1422
1427
|
r: e.value.style.chart.layout.labels.plotLabels.rounding
|
|
1423
1428
|
})
|
|
1424
|
-
)), 9,
|
|
1425
|
-
|
|
1429
|
+
)), 9, fa)) : d("", !0),
|
|
1430
|
+
e.value.style.chart.layout.grid.xAxis.show ? (n(), r("text", {
|
|
1431
|
+
key: 2,
|
|
1426
1432
|
id: `xLabelMin_${$.value}`,
|
|
1427
1433
|
"text-anchor": "middle",
|
|
1428
1434
|
"font-size": e.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
1429
1435
|
transform: `translate(${t.value.padding - e.value.style.chart.layout.labels.axisLabels.fontSize}, ${t.value.height / 2}), rotate(-90)`,
|
|
1430
1436
|
fill: e.value.style.chart.layout.labels.axisLabels.color.negative
|
|
1431
|
-
}, w(v(
|
|
1437
|
+
}, w(v(H)(
|
|
1432
1438
|
e.value.style.chart.layout.labels.plotLabels.x.formatter,
|
|
1433
1439
|
z.value.x.min,
|
|
1434
|
-
v(
|
|
1440
|
+
v(E)({
|
|
1435
1441
|
v: z.value.x.min,
|
|
1436
1442
|
r: e.value.style.chart.layout.labels.plotLabels.rounding
|
|
1437
1443
|
})
|
|
1438
|
-
)), 9,
|
|
1439
|
-
|
|
1444
|
+
)), 9, pa)) : d("", !0),
|
|
1445
|
+
e.value.style.chart.layout.grid.xAxis.show ? (n(), r("text", {
|
|
1446
|
+
key: 3,
|
|
1440
1447
|
id: `xLabelMax_${$.value}`,
|
|
1441
1448
|
"text-anchor": "middle",
|
|
1442
1449
|
"font-size": e.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
1443
1450
|
transform: `translate(${t.value.width - t.value.padding + e.value.style.chart.layout.labels.axisLabels.fontSize}, ${t.value.height / 2}), rotate(90)`,
|
|
1444
1451
|
fill: e.value.style.chart.layout.labels.axisLabels.color.positive
|
|
1445
|
-
}, w(v(
|
|
1452
|
+
}, w(v(H)(
|
|
1446
1453
|
e.value.style.chart.layout.labels.plotLabels.x.formatter,
|
|
1447
1454
|
z.value.x.max,
|
|
1448
|
-
v(
|
|
1455
|
+
v(E)({
|
|
1449
1456
|
v: z.value.x.max,
|
|
1450
1457
|
r: e.value.style.chart.layout.labels.plotLabels.rounding
|
|
1451
1458
|
})
|
|
1452
|
-
)), 9,
|
|
1453
|
-
|
|
1459
|
+
)), 9, ga)) : d("", !0),
|
|
1460
|
+
y("text", {
|
|
1454
1461
|
id: `xLabelMaxName_${$.value}`,
|
|
1455
1462
|
"text-anchor": "middle",
|
|
1456
1463
|
"font-size": e.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
1457
1464
|
transform: `translate(${t.value.width - e.value.style.chart.layout.labels.axisLabels.fontSize}, ${t.value.height / 2}), rotate(90)`,
|
|
1458
1465
|
fill: e.value.style.chart.layout.labels.axisLabels.color.positive
|
|
1459
|
-
}, w(e.value.style.chart.layout.grid.xAxis.name), 9,
|
|
1460
|
-
])) :
|
|
1461
|
-
e.value.style.chart.layout.areas.show ? (n(), r("g",
|
|
1466
|
+
}, w(e.value.style.chart.layout.grid.xAxis.name), 9, ma)
|
|
1467
|
+
])) : d("", !0),
|
|
1468
|
+
e.value.style.chart.layout.areas.show ? (n(), r("g", xa, [
|
|
1462
1469
|
(n(!0), r(A, null, N(W.value, (a, s) => (n(), r("g", null, [
|
|
1463
1470
|
a.series.length > 2 ? (n(), r("polygon", {
|
|
1464
1471
|
key: 0,
|
|
1465
1472
|
"data-cy-quadrant-area": "",
|
|
1466
|
-
fill: e.value.style.chart.layout.areas.useGradient ? `url(#quadrant_gradient_${$.value}_${s})` : v(
|
|
1473
|
+
fill: e.value.style.chart.layout.areas.useGradient ? `url(#quadrant_gradient_${$.value}_${s})` : v(Te)(
|
|
1467
1474
|
a.color,
|
|
1468
1475
|
e.value.style.chart.layout.areas.opacity
|
|
1469
1476
|
),
|
|
1470
|
-
points: v(
|
|
1471
|
-
}, null, 8,
|
|
1477
|
+
points: v(xl)(a)
|
|
1478
|
+
}, null, 8, $a)) : d("", !0)
|
|
1472
1479
|
]))), 256))
|
|
1473
|
-
])) :
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
onClick: o[4] || (o[4] = (a) =>
|
|
1480
|
+
])) : d("", !0),
|
|
1481
|
+
y("g", null, [
|
|
1482
|
+
y("rect", {
|
|
1483
|
+
onClick: o[4] || (o[4] = (a) => R("TL")),
|
|
1477
1484
|
x: t.value.left,
|
|
1478
1485
|
y: t.value.top,
|
|
1479
1486
|
width: t.value.usableWidth / 2 <= 0 ? 1e-3 : t.value.usableWidth / 2,
|
|
1480
1487
|
height: t.value.usableHeight / 2 <= 0 ? 1e-3 : t.value.usableHeight / 2,
|
|
1481
1488
|
fill: "transparent",
|
|
1482
1489
|
class: O({
|
|
1483
|
-
"vue-data-ui-zoom-plus": !x.value,
|
|
1484
|
-
"vue-data-ui-zoom-minus": x.value
|
|
1490
|
+
"vue-data-ui-zoom-plus": !x.value && I.value,
|
|
1491
|
+
"vue-data-ui-zoom-minus": x.value && I.value
|
|
1485
1492
|
})
|
|
1486
|
-
}, null, 10,
|
|
1487
|
-
|
|
1488
|
-
onClick: o[5] || (o[5] = (a) =>
|
|
1493
|
+
}, null, 10, ka),
|
|
1494
|
+
y("rect", {
|
|
1495
|
+
onClick: o[5] || (o[5] = (a) => R("TR")),
|
|
1489
1496
|
x: t.value.centerX,
|
|
1490
1497
|
y: t.value.top,
|
|
1491
1498
|
width: t.value.usableWidth / 2 <= 0 ? 1e-3 : t.value.usableWidth / 2,
|
|
1492
1499
|
height: t.value.usableHeight / 2 <= 0 ? 1e-3 : t.value.usableHeight / 2,
|
|
1493
1500
|
fill: "transparent",
|
|
1494
1501
|
class: O({
|
|
1495
|
-
"vue-data-ui-zoom-plus": !x.value,
|
|
1496
|
-
"vue-data-ui-zoom-minus": x.value
|
|
1502
|
+
"vue-data-ui-zoom-plus": !x.value && I.value,
|
|
1503
|
+
"vue-data-ui-zoom-minus": x.value && I.value
|
|
1497
1504
|
})
|
|
1498
|
-
}, null, 10,
|
|
1499
|
-
|
|
1500
|
-
onClick: o[6] || (o[6] = (a) =>
|
|
1505
|
+
}, null, 10, wa),
|
|
1506
|
+
y("rect", {
|
|
1507
|
+
onClick: o[6] || (o[6] = (a) => R("BR")),
|
|
1501
1508
|
x: t.value.centerX,
|
|
1502
1509
|
y: t.value.centerY,
|
|
1503
1510
|
width: t.value.usableWidth / 2 <= 0 ? 1e-3 : t.value.usableWidth / 2,
|
|
1504
1511
|
height: t.value.usableHeight / 2 <= 0 ? 1e-3 : t.value.usableHeight / 2,
|
|
1505
1512
|
fill: "transparent",
|
|
1506
1513
|
class: O({
|
|
1507
|
-
"vue-data-ui-zoom-plus": !x.value,
|
|
1508
|
-
"vue-data-ui-zoom-minus": x.value
|
|
1514
|
+
"vue-data-ui-zoom-plus": !x.value && I.value,
|
|
1515
|
+
"vue-data-ui-zoom-minus": x.value && I.value
|
|
1509
1516
|
})
|
|
1510
|
-
}, null, 10,
|
|
1511
|
-
|
|
1512
|
-
onClick: o[7] || (o[7] = (a) =>
|
|
1517
|
+
}, null, 10, La),
|
|
1518
|
+
y("rect", {
|
|
1519
|
+
onClick: o[7] || (o[7] = (a) => R("BL")),
|
|
1513
1520
|
x: t.value.left,
|
|
1514
1521
|
y: t.value.centerY,
|
|
1515
1522
|
width: t.value.usableWidth / 2 <= 0 ? 1e-3 : t.value.usableWidth / 2,
|
|
1516
1523
|
height: t.value.usableHeight / 2 <= 0 ? 1e-3 : t.value.usableHeight / 2,
|
|
1517
1524
|
fill: "transparent",
|
|
1518
1525
|
class: O({
|
|
1519
|
-
"vue-data-ui-zoom-plus": !x.value,
|
|
1520
|
-
"vue-data-ui-zoom-minus": x.value
|
|
1526
|
+
"vue-data-ui-zoom-plus": !x.value && I.value,
|
|
1527
|
+
"vue-data-ui-zoom-minus": x.value && I.value
|
|
1521
1528
|
})
|
|
1522
|
-
}, null, 10,
|
|
1529
|
+
}, null, 10, Ca)
|
|
1523
1530
|
]),
|
|
1524
1531
|
e.value.style.chart.layout.labels.plotLabels.showAsTag ? (n(), r(A, { key: 7 }, [
|
|
1525
|
-
k.value.plotLabels.show ? (n(), r("g",
|
|
1532
|
+
k.value.plotLabels.show ? (n(), r("g", Wa, [
|
|
1526
1533
|
(n(!0), r(A, null, N(W.value, (a, s) => (n(), r(A, null, [
|
|
1527
1534
|
(n(!0), r(A, null, N(a.series, (u) => (n(), r("foreignObject", {
|
|
1528
1535
|
style: { overflow: "visible" },
|
|
@@ -1530,19 +1537,19 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
|
|
|
1530
1537
|
width: "100",
|
|
1531
1538
|
x: u.x - 50,
|
|
1532
1539
|
y: u.y - e.value.style.chart.layout.labels.plotLabels.fontSize,
|
|
1533
|
-
onMouseover: (i) =>
|
|
1534
|
-
onMouseleave: (i) =>
|
|
1535
|
-
onClick: (i) =>
|
|
1540
|
+
onMouseover: (i) => we(a, u, s),
|
|
1541
|
+
onMouseleave: (i) => Be(u, s),
|
|
1542
|
+
onClick: (i) => Le(a, u, s)
|
|
1536
1543
|
}, [
|
|
1537
|
-
|
|
1538
|
-
style: _(`color:${v(
|
|
1544
|
+
y("div", {
|
|
1545
|
+
style: _(`color:${v(kl)(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;`)
|
|
1539
1546
|
}, w(u.name), 5)
|
|
1540
|
-
], 40,
|
|
1547
|
+
], 40, Xa))), 256))
|
|
1541
1548
|
], 64))), 256))
|
|
1542
|
-
])) :
|
|
1549
|
+
])) : d("", !0)
|
|
1543
1550
|
], 64)) : (n(), r(A, { key: 6 }, [
|
|
1544
1551
|
(n(!0), r(A, null, N(W.value, (a, s) => (n(), r("g", null, [
|
|
1545
|
-
l.$slots.datapoint && !v(
|
|
1552
|
+
l.$slots.datapoint && !v(me) ? (n(!0), r(A, { key: 0 }, N(a.series, (u) => (n(), r("g", {
|
|
1546
1553
|
key: u.uid
|
|
1547
1554
|
}, [
|
|
1548
1555
|
(n(), r("foreignObject", {
|
|
@@ -1551,13 +1558,13 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
|
|
|
1551
1558
|
width: "2",
|
|
1552
1559
|
height: "2",
|
|
1553
1560
|
style: { overflow: "visible", "pointer-events": "none" },
|
|
1554
|
-
onMouseenter: (i) =>
|
|
1555
|
-
onMouseleave: (i) =>
|
|
1556
|
-
onClick: (i) =>
|
|
1561
|
+
onMouseenter: (i) => we(a, u, s),
|
|
1562
|
+
onMouseleave: (i) => Be(u, s),
|
|
1563
|
+
onClick: (i) => Le(a, u, s)
|
|
1557
1564
|
}, [
|
|
1558
|
-
g(l.$slots, "datapoint",
|
|
1559
|
-
], 40,
|
|
1560
|
-
|
|
1565
|
+
g(l.$slots, "datapoint", wt({ ref_for: !0 }, { datapoint: u }), void 0, !0)
|
|
1566
|
+
], 40, Sa)),
|
|
1567
|
+
y("circle", {
|
|
1561
1568
|
"data-a11y-plot-id": u.uid,
|
|
1562
1569
|
cx: u.x,
|
|
1563
1570
|
cy: u.y,
|
|
@@ -1566,25 +1573,24 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
|
|
|
1566
1573
|
10
|
|
1567
1574
|
),
|
|
1568
1575
|
fill: "transparent",
|
|
1569
|
-
"aria-label": `${a.name} ${u.name}: ${e.value.style.chart.layout.grid.xAxis.name || "x"} ${u.xValue}, ${e.value.style.chart.layout.grid.yAxis.name || "y"} ${u.yValue}`,
|
|
1570
1576
|
style: { "pointer-events": "none" }
|
|
1571
|
-
}, null, 8,
|
|
1577
|
+
}, null, 8, _a)
|
|
1572
1578
|
]))), 128)) : (n(!0), r(A, { key: 1 }, N(a.series, (u, i) => (n(), r("g", {
|
|
1573
1579
|
key: u.uid
|
|
1574
1580
|
}, [
|
|
1575
|
-
|
|
1581
|
+
ce(St, {
|
|
1576
1582
|
color: a.color,
|
|
1577
|
-
isSelected:
|
|
1583
|
+
isSelected: K.value && u.uid === K.value,
|
|
1578
1584
|
plot: u,
|
|
1579
1585
|
radius: e.value.style.chart.layout.plots.radius / (x.value ? 1.5 : 1),
|
|
1580
1586
|
shape: a.shape,
|
|
1581
1587
|
stroke: e.value.style.chart.layout.plots.outline ? e.value.style.chart.layout.plots.outlineColor : "none",
|
|
1582
1588
|
strokeWidth: e.value.style.chart.layout.plots.outlineWidth,
|
|
1583
|
-
onMouseenter: (c) =>
|
|
1584
|
-
onMouseleave: (c) =>
|
|
1585
|
-
onClick: (c) =>
|
|
1589
|
+
onMouseenter: (c) => we(a, u, s, "pointer"),
|
|
1590
|
+
onMouseleave: (c) => Be(u, s),
|
|
1591
|
+
onClick: (c) => Le(a, u, s)
|
|
1586
1592
|
}, null, 8, ["color", "isSelected", "plot", "radius", "shape", "stroke", "strokeWidth", "onMouseenter", "onMouseleave", "onClick"]),
|
|
1587
|
-
|
|
1593
|
+
y("circle", {
|
|
1588
1594
|
"data-dom-to-png-ignore": "",
|
|
1589
1595
|
"data-a11y-plot-id": u.uid,
|
|
1590
1596
|
cx: u.x,
|
|
@@ -1594,12 +1600,11 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
|
|
|
1594
1600
|
10
|
|
1595
1601
|
),
|
|
1596
1602
|
fill: "transparent",
|
|
1597
|
-
"aria-label": `${a.name} ${u.name}: ${e.value.style.chart.layout.grid.xAxis.name || "x"} ${u.xValue}, ${e.value.style.chart.layout.grid.yAxis.name || "y"} ${u.yValue}`,
|
|
1598
1603
|
style: { "pointer-events": "none" }
|
|
1599
|
-
}, null, 8,
|
|
1604
|
+
}, null, 8, Ta)
|
|
1600
1605
|
]))), 128))
|
|
1601
1606
|
]))), 256)),
|
|
1602
|
-
k.value.plotLabels.show ? (n(), r("g",
|
|
1607
|
+
k.value.plotLabels.show ? (n(), r("g", qa, [
|
|
1603
1608
|
(n(!0), r(A, null, N(W.value, (a) => (n(), r("g", null, [
|
|
1604
1609
|
(n(!0), r(A, null, N(a.series, (s) => (n(), r("g", null, [
|
|
1605
1610
|
String(s.name).includes(`
|
|
@@ -1610,201 +1615,201 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
|
|
|
1610
1615
|
"text-anchor": "middle",
|
|
1611
1616
|
"font-size": e.value.style.chart.layout.labels.plotLabels.fontSize / (x.value ? 1.5 : 1),
|
|
1612
1617
|
fill: e.value.style.chart.layout.labels.plotLabels.color,
|
|
1613
|
-
innerHTML: v(
|
|
1618
|
+
innerHTML: v($l)({
|
|
1614
1619
|
content: String(s.name),
|
|
1615
1620
|
fontSize: e.value.style.chart.layout.labels.plotLabels.fontSize / (x.value ? 1.5 : 1),
|
|
1616
1621
|
fill: e.value.style.chart.layout.labels.plotLabels.color,
|
|
1617
1622
|
x: s.x,
|
|
1618
1623
|
y: s.y + e.value.style.chart.layout.labels.plotLabels.offsetY + e.value.style.chart.layout.plots.radius
|
|
1619
1624
|
})
|
|
1620
|
-
}, null, 8,
|
|
1625
|
+
}, null, 8, za)) : (n(), r("text", {
|
|
1621
1626
|
key: 0,
|
|
1622
1627
|
x: s.x,
|
|
1623
1628
|
y: s.y + e.value.style.chart.layout.labels.plotLabels.offsetY + e.value.style.chart.layout.plots.radius,
|
|
1624
1629
|
"text-anchor": "middle",
|
|
1625
1630
|
"font-size": e.value.style.chart.layout.labels.plotLabels.fontSize / (x.value ? 1.5 : 1),
|
|
1626
1631
|
fill: e.value.style.chart.layout.labels.plotLabels.color
|
|
1627
|
-
}, w(s.name), 9,
|
|
1632
|
+
}, w(s.name), 9, Aa))
|
|
1628
1633
|
]))), 256))
|
|
1629
1634
|
]))), 256))
|
|
1630
|
-
])) :
|
|
1635
|
+
])) : d("", !0)
|
|
1631
1636
|
], 64)),
|
|
1632
|
-
x.value ? (n(), r("g",
|
|
1637
|
+
x.value ? (n(), r("g", Pa, [
|
|
1633
1638
|
f.value === "TL" ? (n(), r("polygon", {
|
|
1634
1639
|
key: 0,
|
|
1635
1640
|
points: `${t.value.left - 1},${t.value.centerY} ${t.value.centerX},${t.value.centerY} ${t.value.centerX},${t.value.top - 1} ${t.value.right},${t.value.top - 1} ${t.value.right},${t.value.bottom} ${t.value.left - 1},${t.value.bottom} ${t.value.left - 1},${t.value.centerY}`,
|
|
1636
1641
|
fill: e.value.style.chart.backgroundColor,
|
|
1637
1642
|
style: { opacity: "1" }
|
|
1638
|
-
}, null, 8,
|
|
1643
|
+
}, null, 8, Ya)) : d("", !0),
|
|
1639
1644
|
f.value === "TR" ? (n(), r("polygon", {
|
|
1640
1645
|
key: 1,
|
|
1641
1646
|
points: `${t.value.left},${t.value.top - 1} ${t.value.centerX},${t.value.top - 1} ${t.value.centerX},${t.value.centerY} ${t.value.right + 1},${t.value.centerY} ${t.value.right + 1},${t.value.bottom} ${t.value.left},${t.value.bottom} ${t.value.left},${t.value.top - 1}`,
|
|
1642
1647
|
fill: e.value.style.chart.backgroundColor,
|
|
1643
1648
|
style: { opacity: "1" }
|
|
1644
|
-
}, null, 8,
|
|
1649
|
+
}, null, 8, Ma)) : d("", !0),
|
|
1645
1650
|
f.value === "BR" ? (n(), r("polygon", {
|
|
1646
1651
|
key: 2,
|
|
1647
1652
|
points: `${t.value.left},${t.value.top} ${t.value.right + 1},${t.value.top} ${t.value.right + 1},${t.value.centerY} ${t.value.centerX},${t.value.centerY} ${t.value.centerX},${t.value.bottom + 1} ${t.value.left},${t.value.bottom + 1} ${t.value.left},${t.value.top}`,
|
|
1648
1653
|
fill: e.value.style.chart.backgroundColor,
|
|
1649
1654
|
style: { opacity: "1" }
|
|
1650
|
-
}, null, 8,
|
|
1655
|
+
}, null, 8, Oa)) : d("", !0),
|
|
1651
1656
|
f.value === "BL" ? (n(), r("polygon", {
|
|
1652
1657
|
key: 3,
|
|
1653
1658
|
points: `${t.value.left - 1},${t.value.top} ${t.value.right},${t.value.top} ${t.value.right},${t.value.bottom + 1} ${t.value.centerX},${t.value.bottom + 1} ${t.value.centerX},${t.value.centerY} ${t.value.left - 1},${t.value.centerY} ${t.value.left - 1},${t.value.top}`,
|
|
1654
1659
|
fill: e.value.style.chart.backgroundColor,
|
|
1655
1660
|
style: { opacity: "1" }
|
|
1656
|
-
}, null, 8,
|
|
1657
|
-
])) :
|
|
1658
|
-
f.value && !
|
|
1659
|
-
|
|
1660
|
-
x:
|
|
1661
|
-
y:
|
|
1662
|
-
"font-size":
|
|
1663
|
-
fill:
|
|
1661
|
+
}, null, 8, Ba)) : d("", !0)
|
|
1662
|
+
])) : d("", !0),
|
|
1663
|
+
f.value && !xe.value ? (n(), r("g", Na, [
|
|
1664
|
+
y("text", {
|
|
1665
|
+
x: Q.value.x,
|
|
1666
|
+
y: Q.value.y - Q.value.fontSize / 1.5,
|
|
1667
|
+
"font-size": Q.value.fontSize / 1.5,
|
|
1668
|
+
fill: Q.value.fill,
|
|
1664
1669
|
"text-anchor": "middle",
|
|
1665
|
-
"font-weight":
|
|
1666
|
-
}, w(
|
|
1667
|
-
])) :
|
|
1668
|
-
x.value && f.value ? (n(), r("g",
|
|
1669
|
-
|
|
1670
|
+
"font-weight": Q.value.bold ? "bold" : "normal"
|
|
1671
|
+
}, w(Q.value.text), 9, Fa)
|
|
1672
|
+
])) : d("", !0),
|
|
1673
|
+
x.value && f.value ? (n(), r("g", Ia, [
|
|
1674
|
+
y("rect", {
|
|
1670
1675
|
x: S.value[f.value].tl.x,
|
|
1671
1676
|
y: S.value[f.value].tl.y,
|
|
1672
1677
|
height: "20",
|
|
1673
1678
|
width: "20",
|
|
1674
1679
|
fill: S.value[f.value].tl.fill,
|
|
1675
1680
|
style: _(`cursor: ${X.value ? "pointer" : "default"}; opacity: ${f.value === "TL" ? 1 : 0.2}`),
|
|
1676
|
-
onClick: o[8] || (o[8] = (a) =>
|
|
1681
|
+
onClick: o[8] || (o[8] = (a) => R("TL")),
|
|
1677
1682
|
class: O({
|
|
1678
1683
|
"vue-ui-quadrant-mini-map-cell": !0,
|
|
1679
1684
|
"vue-ui-quadrant-mini-map-cell-selectable": f.value !== "TL"
|
|
1680
1685
|
})
|
|
1681
|
-
}, null, 14,
|
|
1682
|
-
|
|
1686
|
+
}, null, 14, Va),
|
|
1687
|
+
y("rect", {
|
|
1683
1688
|
x: S.value[f.value].tr.x,
|
|
1684
1689
|
y: S.value[f.value].tr.y,
|
|
1685
1690
|
height: "20",
|
|
1686
1691
|
width: "20",
|
|
1687
1692
|
fill: S.value[f.value].tr.fill,
|
|
1688
1693
|
style: _(`cursor: ${X.value ? "pointer" : "default"}; opacity: ${f.value === "TR" ? 1 : 0.2}`),
|
|
1689
|
-
onClick: o[9] || (o[9] = (a) =>
|
|
1694
|
+
onClick: o[9] || (o[9] = (a) => R("TR")),
|
|
1690
1695
|
class: O({
|
|
1691
1696
|
"vue-ui-quadrant-mini-map-cell": !0,
|
|
1692
1697
|
"vue-ui-quadrant-mini-map-cell-selectable": f.value !== "TR"
|
|
1693
1698
|
})
|
|
1694
|
-
}, null, 14,
|
|
1695
|
-
|
|
1699
|
+
}, null, 14, Ra),
|
|
1700
|
+
y("rect", {
|
|
1696
1701
|
x: S.value[f.value].br.x,
|
|
1697
1702
|
y: S.value[f.value].br.y,
|
|
1698
1703
|
height: "20",
|
|
1699
1704
|
width: "20",
|
|
1700
1705
|
fill: S.value[f.value].br.fill,
|
|
1701
1706
|
style: _(`cursor: ${X.value ? "pointer" : "default"}; opacity: ${f.value === "BR" ? 1 : 0.2}`),
|
|
1702
|
-
onClick: o[10] || (o[10] = (a) =>
|
|
1707
|
+
onClick: o[10] || (o[10] = (a) => R("BR")),
|
|
1703
1708
|
class: O({
|
|
1704
1709
|
"vue-ui-quadrant-mini-map-cell": !0,
|
|
1705
1710
|
"vue-ui-quadrant-mini-map-cell-selectable": f.value !== "BR"
|
|
1706
1711
|
})
|
|
1707
|
-
}, null, 14,
|
|
1708
|
-
|
|
1712
|
+
}, null, 14, Da),
|
|
1713
|
+
y("rect", {
|
|
1709
1714
|
x: S.value[f.value].bl.x,
|
|
1710
1715
|
y: S.value[f.value].bl.y,
|
|
1711
1716
|
height: "20",
|
|
1712
1717
|
width: "20",
|
|
1713
1718
|
fill: S.value[f.value].bl.fill,
|
|
1714
1719
|
style: _(`cursor: ${X.value ? "pointer" : "default"}; opacity: ${f.value === "BL" ? 1 : 0.2}`),
|
|
1715
|
-
onClick: o[11] || (o[11] = (a) =>
|
|
1720
|
+
onClick: o[11] || (o[11] = (a) => R("BL")),
|
|
1716
1721
|
class: O({
|
|
1717
1722
|
"vue-ui-quadrant-mini-map-cell": !0,
|
|
1718
1723
|
"vue-ui-quadrant-mini-map-cell-selectable": f.value !== "BL"
|
|
1719
1724
|
})
|
|
1720
|
-
}, null, 14,
|
|
1721
|
-
|
|
1725
|
+
}, null, 14, Ha),
|
|
1726
|
+
y("path", {
|
|
1722
1727
|
class: "vue-ui-quadrant-minimap-crosshairs",
|
|
1723
1728
|
stroke: e.value.style.chart.backgroundColor,
|
|
1724
1729
|
"stroke-width": 1,
|
|
1725
1730
|
d: S.value[f.value].crosshairs.horizontal
|
|
1726
|
-
}, null, 8,
|
|
1727
|
-
|
|
1731
|
+
}, null, 8, Ea),
|
|
1732
|
+
y("path", {
|
|
1728
1733
|
class: "vue-ui-quadrant-minimap-crosshairs",
|
|
1729
1734
|
stroke: e.value.style.chart.backgroundColor,
|
|
1730
1735
|
"stroke-width": 1,
|
|
1731
1736
|
d: S.value[f.value].crosshairs.vertical
|
|
1732
|
-
}, null, 8,
|
|
1733
|
-
])) :
|
|
1737
|
+
}, null, 8, Ua)
|
|
1738
|
+
])) : d("", !0),
|
|
1734
1739
|
g(l.$slots, "svg", {
|
|
1735
1740
|
svg: {
|
|
1736
1741
|
...t.value,
|
|
1737
|
-
isPrintingImg: v(
|
|
1738
|
-
isPrintingSvg:
|
|
1742
|
+
isPrintingImg: v(Pe) | v(Ye) | be.value,
|
|
1743
|
+
isPrintingSvg: fe.value
|
|
1739
1744
|
}
|
|
1740
1745
|
}, void 0, !0)
|
|
1741
|
-
], 46,
|
|
1742
|
-
l.$slots.hint ? (n(), r("div",
|
|
1746
|
+
], 46, Ql)),
|
|
1747
|
+
l.$slots.hint ? (n(), r("div", Qa, [
|
|
1743
1748
|
g(l.$slots, "hint", T(q({
|
|
1744
1749
|
hint: e.value.a11y.translations.keyboardNavigation,
|
|
1745
|
-
isVisible:
|
|
1750
|
+
isVisible: ge.value
|
|
1746
1751
|
})), void 0, !0)
|
|
1747
|
-
])) :
|
|
1752
|
+
])) : d("", !0)
|
|
1748
1753
|
]),
|
|
1749
|
-
l.$slots.watermark ? (n(), r("div",
|
|
1754
|
+
l.$slots.watermark ? (n(), r("div", Ga, [
|
|
1750
1755
|
g(l.$slots, "watermark", T(q({
|
|
1751
|
-
isPrinting: v(
|
|
1756
|
+
isPrinting: v(Pe) || v(Ye) || be.value || fe.value
|
|
1752
1757
|
})), void 0, !0)
|
|
1753
|
-
])) :
|
|
1754
|
-
|
|
1758
|
+
])) : d("", !0),
|
|
1759
|
+
y("div", {
|
|
1755
1760
|
id: `legend-bottom-${$.value}`
|
|
1756
|
-
}, null, 8,
|
|
1757
|
-
|
|
1761
|
+
}, null, 8, Ka),
|
|
1762
|
+
et.value && e.value.style.chart.legend.show ? (n(), B(vl, {
|
|
1758
1763
|
key: 6,
|
|
1759
1764
|
to: e.value.style.chart.legend.position === "top" ? `#legend-top-${$.value}` : `#legend-bottom-${$.value}`
|
|
1760
1765
|
}, [
|
|
1761
|
-
|
|
1766
|
+
y("div", {
|
|
1762
1767
|
ref_key: "chartLegend",
|
|
1763
|
-
ref:
|
|
1768
|
+
ref: Qe
|
|
1764
1769
|
}, [
|
|
1765
|
-
e.value.style.chart.legend.show ? (n(), B(
|
|
1766
|
-
key: `legend_${
|
|
1767
|
-
legendSet:
|
|
1768
|
-
config:
|
|
1770
|
+
e.value.style.chart.legend.show ? (n(), B(Fl, {
|
|
1771
|
+
key: `legend_${Ze.value}`,
|
|
1772
|
+
legendSet: G.value,
|
|
1773
|
+
config: Gt.value,
|
|
1769
1774
|
isCursorPointer: X.value,
|
|
1770
|
-
onClickMarker: o[12] || (o[12] = ({ legend: a }) =>
|
|
1775
|
+
onClickMarker: o[12] || (o[12] = ({ legend: a }) => ne(a.id))
|
|
1771
1776
|
}, {
|
|
1772
1777
|
item: p(({ legend: a }) => [
|
|
1773
|
-
v(
|
|
1778
|
+
v(me) ? d("", !0) : (n(), r("div", {
|
|
1774
1779
|
key: 0,
|
|
1775
|
-
onClick: (s) =>
|
|
1780
|
+
onClick: (s) => ne(a.id),
|
|
1776
1781
|
style: _(`opacity:${C.value.includes(a.id) ? 0.5 : 1}`)
|
|
1777
|
-
}, w(a.name), 13,
|
|
1782
|
+
}, w(a.name), 13, ja))
|
|
1778
1783
|
]),
|
|
1779
1784
|
legendToggle: p(() => [
|
|
1780
|
-
|
|
1785
|
+
G.value.length > 2 && e.value.style.chart.legend.selectAllToggle.show && !v(me) ? (n(), B(Vl, {
|
|
1781
1786
|
key: 0,
|
|
1782
1787
|
backgroundColor: e.value.style.chart.legend.selectAllToggle.backgroundColor,
|
|
1783
1788
|
color: e.value.style.chart.legend.selectAllToggle.color,
|
|
1784
1789
|
fontSize: e.value.style.chart.legend.fontSize,
|
|
1785
1790
|
checked: C.value.length > 0,
|
|
1786
1791
|
isCursorPointer: X.value,
|
|
1787
|
-
onToggle:
|
|
1788
|
-
}, null, 8, ["backgroundColor", "color", "fontSize", "checked", "isCursorPointer"])) :
|
|
1792
|
+
onToggle: Et
|
|
1793
|
+
}, null, 8, ["backgroundColor", "color", "fontSize", "checked", "isCursorPointer"])) : d("", !0)
|
|
1789
1794
|
]),
|
|
1790
1795
|
_: 1
|
|
1791
1796
|
}, 8, ["legendSet", "config", "isCursorPointer"])) : g(l.$slots, "legend", {
|
|
1792
1797
|
key: 1,
|
|
1793
|
-
legend:
|
|
1798
|
+
legend: G.value
|
|
1794
1799
|
}, void 0, !0)
|
|
1795
1800
|
], 512)
|
|
1796
|
-
], 8, ["to"])) :
|
|
1801
|
+
], 8, ["to"])) : d("", !0),
|
|
1797
1802
|
l.$slots.source ? (n(), r("div", {
|
|
1798
1803
|
key: 7,
|
|
1799
1804
|
ref_key: "source",
|
|
1800
|
-
ref:
|
|
1805
|
+
ref: Ge,
|
|
1801
1806
|
dir: "auto"
|
|
1802
1807
|
}, [
|
|
1803
1808
|
g(l.$slots, "source", {}, void 0, !0)
|
|
1804
|
-
], 512)) :
|
|
1805
|
-
|
|
1809
|
+
], 512)) : d("", !0),
|
|
1810
|
+
ce(v(At), {
|
|
1806
1811
|
teleportTo: e.value.style.chart.tooltip.teleportTo,
|
|
1807
|
-
show: k.value.showTooltip &&
|
|
1812
|
+
show: k.value.showTooltip && ye.value,
|
|
1808
1813
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
1809
1814
|
color: e.value.style.chart.tooltip.color,
|
|
1810
1815
|
borderRadius: e.value.style.chart.tooltip.borderRadius,
|
|
@@ -1814,64 +1819,64 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
|
|
|
1814
1819
|
backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
|
|
1815
1820
|
position: e.value.style.chart.tooltip.position,
|
|
1816
1821
|
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
1817
|
-
parent:
|
|
1818
|
-
content:
|
|
1819
|
-
isFullscreen:
|
|
1822
|
+
parent: F.value,
|
|
1823
|
+
content: qe.value,
|
|
1824
|
+
isFullscreen: j.value,
|
|
1820
1825
|
isCustom: e.value.style.chart.tooltip.customFormat && typeof e.value.style.chart.tooltip.customFormat == "function",
|
|
1821
1826
|
smooth: e.value.style.chart.tooltip.smooth,
|
|
1822
1827
|
backdropFilter: e.value.style.chart.tooltip.backdropFilter,
|
|
1823
1828
|
smoothForce: e.value.style.chart.tooltip.smoothForce,
|
|
1824
1829
|
smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThreshold,
|
|
1825
|
-
isA11yMode:
|
|
1826
|
-
a11yPosition:
|
|
1830
|
+
isA11yMode: ze.value === "keyboard",
|
|
1831
|
+
a11yPosition: tt.value
|
|
1827
1832
|
}, {
|
|
1828
1833
|
"tooltip-before": p(() => [
|
|
1829
|
-
g(l.$slots, "tooltip-before", T(q({
|
|
1834
|
+
g(l.$slots, "tooltip-before", T(q({ ...ke.value })), void 0, !0)
|
|
1830
1835
|
]),
|
|
1831
1836
|
tooltip: p(() => [
|
|
1832
|
-
g(l.$slots, "tooltip", T(q({
|
|
1837
|
+
g(l.$slots, "tooltip", T(q({ ...ke.value })), void 0, !0)
|
|
1833
1838
|
]),
|
|
1834
1839
|
"tooltip-after": p(() => [
|
|
1835
|
-
g(l.$slots, "tooltip-after", T(q({
|
|
1840
|
+
g(l.$slots, "tooltip-after", T(q({ ...ke.value })), void 0, !0)
|
|
1836
1841
|
]),
|
|
1837
1842
|
default: p(() => [
|
|
1838
|
-
e.value.style.chart.tooltip.showShape ? (n(), r("svg",
|
|
1839
|
-
|
|
1843
|
+
e.value.style.chart.tooltip.showShape ? (n(), r("svg", Ja, [
|
|
1844
|
+
ce(St, {
|
|
1840
1845
|
plot: { x: 10, y: 10 },
|
|
1841
|
-
shape:
|
|
1842
|
-
color:
|
|
1846
|
+
shape: re.value.shape,
|
|
1847
|
+
color: re.value.color,
|
|
1843
1848
|
radius: 8,
|
|
1844
1849
|
stroke: e.value.style.chart.layout.plots.outline ? e.value.style.chart.layout.plots.outlineColor : "none",
|
|
1845
1850
|
"stroke-width": e.value.style.chart.layout.plots.outlineWidth
|
|
1846
1851
|
}, null, 8, ["shape", "color", "stroke", "stroke-width"])
|
|
1847
|
-
])) :
|
|
1852
|
+
])) : d("", !0)
|
|
1848
1853
|
]),
|
|
1849
1854
|
_: 3
|
|
1850
1855
|
}, 8, ["teleportTo", "show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold", "isA11yMode", "a11yPosition"]),
|
|
1851
|
-
|
|
1856
|
+
He.value && e.value.userOptions.buttons.table ? (n(), B(dl(de.value.component), wt({ key: 8 }, de.value.props, {
|
|
1852
1857
|
ref_key: "tableUnit",
|
|
1853
|
-
ref:
|
|
1854
|
-
onClose:
|
|
1855
|
-
}),
|
|
1858
|
+
ref: ue,
|
|
1859
|
+
onClose: gt
|
|
1860
|
+
}), kt({
|
|
1856
1861
|
content: p(() => [
|
|
1857
|
-
(n(), B(v(
|
|
1858
|
-
key: `table_${
|
|
1859
|
-
colNames:
|
|
1860
|
-
head:
|
|
1861
|
-
body:
|
|
1862
|
-
config:
|
|
1863
|
-
title: e.value.table.useDialog ? "" :
|
|
1862
|
+
(n(), B(v(Xt), {
|
|
1863
|
+
key: `table_${Je.value}`,
|
|
1864
|
+
colNames: le.value.colNames,
|
|
1865
|
+
head: le.value.head,
|
|
1866
|
+
body: le.value.body,
|
|
1867
|
+
config: le.value.config,
|
|
1868
|
+
title: e.value.table.useDialog ? "" : de.value.title,
|
|
1864
1869
|
withCloseButton: !e.value.table.useDialog,
|
|
1865
1870
|
isCursorPointer: X.value,
|
|
1866
|
-
onClose:
|
|
1871
|
+
onClose: gt
|
|
1867
1872
|
}, {
|
|
1868
1873
|
th: p(({ th: a }) => [
|
|
1869
|
-
|
|
1874
|
+
Lt(w(a), 1)
|
|
1870
1875
|
]),
|
|
1871
1876
|
td: p(({ td: a }) => [
|
|
1872
|
-
|
|
1877
|
+
y("div", {
|
|
1873
1878
|
innerHTML: a.name || a
|
|
1874
|
-
}, null, 8,
|
|
1879
|
+
}, null, 8, Za)
|
|
1875
1880
|
]),
|
|
1876
1881
|
_: 1
|
|
1877
1882
|
}, 8, ["colNames", "head", "body", "config", "title", "withCloseButton", "isCursorPointer"]))
|
|
@@ -1881,34 +1886,34 @@ const Rl = ["id"], Dl = ["id"], Hl = ["id"], El = { style: { position: "relative
|
|
|
1881
1886
|
e.value.table.useDialog ? {
|
|
1882
1887
|
name: "title",
|
|
1883
1888
|
fn: p(() => [
|
|
1884
|
-
|
|
1889
|
+
Lt(w(de.value.title), 1)
|
|
1885
1890
|
]),
|
|
1886
1891
|
key: "0"
|
|
1887
1892
|
} : void 0,
|
|
1888
1893
|
e.value.table.useDialog ? {
|
|
1889
1894
|
name: "actions",
|
|
1890
1895
|
fn: p(() => [
|
|
1891
|
-
|
|
1896
|
+
y("button", {
|
|
1892
1897
|
tabindex: "0",
|
|
1893
1898
|
class: "vue-ui-user-options-button",
|
|
1894
|
-
onClick: o[13] || (o[13] = (a) =>
|
|
1899
|
+
onClick: o[13] || (o[13] = (a) => Ne(e.value.userOptions.callbacks.csv)),
|
|
1895
1900
|
style: _({ cursor: X.value ? "pointer" : "default" })
|
|
1896
1901
|
}, [
|
|
1897
|
-
|
|
1902
|
+
ce(v(zt), {
|
|
1898
1903
|
name: "fileCsv",
|
|
1899
|
-
stroke:
|
|
1904
|
+
stroke: de.value.props.color
|
|
1900
1905
|
}, null, 8, ["stroke"])
|
|
1901
1906
|
], 4)
|
|
1902
1907
|
]),
|
|
1903
1908
|
key: "1"
|
|
1904
1909
|
} : void 0
|
|
1905
|
-
]), 1040)) :
|
|
1910
|
+
]), 1040)) : d("", !0),
|
|
1906
1911
|
g(l.$slots, "skeleton", {}, () => [
|
|
1907
|
-
v(
|
|
1912
|
+
v(me) ? (n(), B(zl, { key: 0 })) : d("", !0)
|
|
1908
1913
|
], !0)
|
|
1909
|
-
], 46,
|
|
1914
|
+
], 46, Dl));
|
|
1910
1915
|
}
|
|
1911
|
-
},
|
|
1916
|
+
}, $o = /* @__PURE__ */ Rl(eo, [["__scopeId", "data-v-c7192b79"]]);
|
|
1912
1917
|
export {
|
|
1913
|
-
|
|
1918
|
+
$o as default
|
|
1914
1919
|
};
|